Peach: Local-first video metadata scraper and media manager.
fix(web): 历史与对象式导航归一兼容地址
longmeidao452dbae990fd
diff --git a/frontend/src/history/index.ts b/frontend/src/history/index.tsindex 17013bd8f..05cc400d6 100644--- a/frontend/src/history/index.ts+++ b/frontend/src/history/index.ts@@ -49,6 +49,12 @@ let claiming = false;let onBootEntry = true;browser.listen(({ action, location }) => {+ const path = location.pathname + location.search + location.hash;+ const canonical = canonicalPath(path);+ if (canonical !== path) {+ window.history.replaceState(window.history.state, '', canonical);+ location = browser.location;+ }seq += 1;if (!claiming) openEpoch += 1;if (action !== 'REPLACE') onBootEntry = false;@@ -56,6 +62,15 @@ browser.listen(({ action, location }) => {for (const listener of [...listeners]) listener(current);});+function canonicalTo(to: To): To {+ if (typeof to === 'string') return canonicalPath(new URL(to, window.location.href).href);+ const source = new URL(`${to.pathname ?? window.location.pathname}${to.search || ''}${to.hash || ''}`, window.location.href);+ const canonical = canonicalPath(source.href);+ if (canonical === source.pathname + source.search + source.hash) return to;+ const target = new URL(canonical, window.location.origin);+ return { ...to, pathname: target.pathname, search: target.search, hash: target.hash };+}+export const peachHistory: PeachHistory = {get navigation() { return current },listen(listener) {@@ -66,8 +81,8 @@ export const peachHistory: PeachHistory = {createURL: (to) => browser.createURL(to),encodeLocation: (to) => browser.encodeLocation(to),go: (delta) => browser.go(delta),- push: (to, state) => browser.push(typeof to === 'string' ? canonicalPath(new URL(to, window.location.href).href) : to, state),- replace: (to, state) => browser.replace(typeof to === 'string' ? canonicalPath(new URL(to, window.location.href).href) : to, state),+ push: (to, state) => browser.push(canonicalTo(to), state),+ replace: (to, state) => browser.replace(canonicalTo(to), state),};export interface ShellNavigateOptions {diff --git a/frontend/test/history/history.test.ts b/frontend/test/history/history.test.tsindex d71244b79..3eb1469e6 100644--- a/frontend/test/history/history.test.ts+++ b/frontend/test/history/history.test.ts@@ -81,3 +81,24 @@ it('顶栏换一批的行为登记在路由元数据上:关注页与关注管expect(routeMetaOf('/taste')?.refresh).toBe('reopen');expect(routeMetaOf('/stats')?.refresh).toBeUndefined();});++it('对象式导航使用规范路径并保留查询片段与状态', () => {+ const state = { from: 'react' };+ peachHistory.push({ pathname: '/item/12', search: '?t=93', hash: '#media' }, state);+ expect(location.pathname + location.search + location.hash).toBe('/assets/12?t=93#media');+ expect(peachHistory.navigation.location.state).toEqual(state);+ peachHistory.replace({ pathname: '/configuration', search: '?tab=source' }, state);+ expect(location.pathname + location.search).toBe('/settings/library?tab=source');+});++it('后退前进的兼容地址只通知一次且保留原历史条目', () => {+ const state = { ...window.history.state, usr: { backgroundLocation: { pathname: '/jav', search: '?scope=library' }, overlay: 'item' } };+ const epoch = peachHistory.navigation.openEpoch;+ window.history.replaceState(state, '', '/parts/7/12?t=93#media');+ window.dispatchEvent(new PopStateEvent('popstate', { state }));+ expect(location.pathname + location.search + location.hash).toBe('/assets/12?t=93&parts=7#media');+ expect(window.history.state).toEqual(state);+ expect(seen).toHaveLength(1);+ expect(seen[0]!.action).toBe('POP');+ expect(seen[0]!.openEpoch).toBe(epoch + 1);+});diff --git a/web/dist/peach-app.js b/web/dist/peach-app.jsindex f9a5ca7e9..632b08096 100644--- a/web/dist/peach-app.js+++ b/web/dist/peach-app.js@@ -25157,84 +25157,84 @@ var Ace = {};Ace = { dismiss: "Ignora" };//#endregion//#region node_modules/react-aria/dist/private/intl/overlays/ja-JP.mjs-var jce = {};-jce = { dismiss: "閉じる" };+var Zx = {};+Zx = { dismiss: "閉じる" };//#endregion//#region node_modules/react-aria/dist/private/intl/overlays/ko-KR.mjs-var Zx = {};-Zx = { dismiss: "무시" };+var Qx = {};+Qx = { dismiss: "무시" };//#endregion//#region node_modules/react-aria/dist/private/intl/overlays/lt-LT.mjs-var Qx = {};-Qx = { dismiss: "Atmesti" };+var $x = {};+$x = { dismiss: "Atmesti" };//#endregion//#region node_modules/react-aria/dist/private/intl/overlays/lv-LV.mjs-var $x = {};-$x = { dismiss: "Nerādīt" };+var eS = {};+eS = { dismiss: "Nerādīt" };//#endregion//#region node_modules/react-aria/dist/private/intl/overlays/nb-NO.mjs-var eS = {};-eS = { dismiss: "Lukk" };+var tS = {};+tS = { dismiss: "Lukk" };//#endregion//#region node_modules/react-aria/dist/private/intl/overlays/nl-NL.mjs-var tS = {};-tS = { dismiss: "Negeren" };+var nS = {};+nS = { dismiss: "Negeren" };//#endregion//#region node_modules/react-aria/dist/private/intl/overlays/pl-PL.mjs-var nS = {};-nS = { dismiss: "Zignoruj" };+var rS = {};+rS = { dismiss: "Zignoruj" };//#endregion//#region node_modules/react-aria/dist/private/intl/overlays/pt-BR.mjs-var rS = {};-rS = { dismiss: "Descartar" };+var iS = {};+iS = { dismiss: "Descartar" };//#endregion//#region node_modules/react-aria/dist/private/intl/overlays/pt-PT.mjs-var iS = {};-iS = { dismiss: "Dispensar" };+var aS = {};+aS = { dismiss: "Dispensar" };//#endregion//#region node_modules/react-aria/dist/private/intl/overlays/ro-RO.mjs-var aS = {};-aS = { dismiss: "Revocare" };+var oS = {};+oS = { dismiss: "Revocare" };//#endregion//#region node_modules/react-aria/dist/private/intl/overlays/ru-RU.mjs-var oS = {};-oS = { dismiss: "Пропустить" };+var sS = {};+sS = { dismiss: "Пропустить" };//#endregion//#region node_modules/react-aria/dist/private/intl/overlays/sk-SK.mjs-var sS = {};-sS = { dismiss: "Zrušiť" };+var cS = {};+cS = { dismiss: "Zrušiť" };//#endregion//#region node_modules/react-aria/dist/private/intl/overlays/sl-SI.mjs-var cS = {};-cS = { dismiss: "Opusti" };+var lS = {};+lS = { dismiss: "Opusti" };//#endregion//#region node_modules/react-aria/dist/private/intl/overlays/sr-SP.mjs-var lS = {};-lS = { dismiss: "Odbaci" };+var uS = {};+uS = { dismiss: "Odbaci" };//#endregion//#region node_modules/react-aria/dist/private/intl/overlays/sv-SE.mjs-var uS = {};-uS = { dismiss: "Avvisa" };+var dS = {};+dS = { dismiss: "Avvisa" };//#endregion//#region node_modules/react-aria/dist/private/intl/overlays/tr-TR.mjs-var dS = {};-dS = { dismiss: "Kapat" };+var fS = {};+fS = { dismiss: "Kapat" };//#endregion//#region node_modules/react-aria/dist/private/intl/overlays/uk-UA.mjs-var fS = {};-fS = { dismiss: "Скасувати" };+var pS = {};+pS = { dismiss: "Скасувати" };//#endregion//#region node_modules/react-aria/dist/private/intl/overlays/zh-CN.mjs-var pS = {};-pS = { dismiss: "取消" };+var mS = {};+mS = { dismiss: "取消" };//#endregion//#region node_modules/react-aria/dist/private/intl/overlays/zh-TW.mjs-var mS = {};-mS = { dismiss: "關閉" };+var hS = {};+hS = { dismiss: "關閉" };//#endregion//#region node_modules/react-aria/dist/private/overlays/intlStrings.mjs-var hS = {};-hS = {+var gS = {};+gS = {"ar-AE": Gx,"bg-BG": Kx,"cs-CZ": qx,@@ -25250,33 +25250,33 @@ hS = {"hr-HR": Oce,"hu-HU": kce,"it-IT": Ace,- "ja-JP": jce,- "ko-KR": Zx,- "lt-LT": Qx,- "lv-LV": $x,- "nb-NO": eS,- "nl-NL": tS,- "pl-PL": nS,- "pt-BR": rS,- "pt-PT": iS,- "ro-RO": aS,- "ru-RU": oS,- "sk-SK": sS,- "sl-SI": cS,- "sr-SP": lS,- "sv-SE": uS,- "tr-TR": dS,- "uk-UA": fS,- "zh-CN": pS,- "zh-TW": mS+ "ja-JP": Zx,+ "ko-KR": Qx,+ "lt-LT": $x,+ "lv-LV": eS,+ "nb-NO": tS,+ "nl-NL": nS,+ "pl-PL": rS,+ "pt-BR": iS,+ "pt-PT": aS,+ "ro-RO": oS,+ "ru-RU": sS,+ "sk-SK": cS,+ "sl-SI": lS,+ "sr-SP": uS,+ "sv-SE": dS,+ "tr-TR": fS,+ "uk-UA": pS,+ "zh-CN": mS,+ "zh-TW": hS};//#endregion//#region node_modules/react-aria/dist/private/overlays/DismissButton.mjs-function Mce(e) {+function jce(e) {return e && e.__esModule ? e.default : e;}-function gS(e) {- let { onDismiss: t, ...n } = e, r = tb(n, pb(Mce(hS), "@react-aria/overlays").format("dismiss")), i = () => {+function _S(e) {+ let { onDismiss: t, ...n } = e, r = tb(n, pb(jce(gS), "@react-aria/overlays").format("dismiss")), i = () => {t && t();};return /*#__PURE__*/ b.createElement(yx, null, /*#__PURE__*/ b.createElement("button", {@@ -25291,22 +25291,22 @@ function gS(e) {}//#endregion//#region node_modules/react-aria/dist/private/overlays/useOverlay.mjs-var _S = [];-function vS(e, t) {+var vS = [];+function yS(e, t) {let { onClose: n, shouldCloseOnBlur: r, isOpen: i, isDismissable: a = !1, isKeyboardDismissDisabled: o = !1, shouldCloseOnInteractOutside: s } = e, c = (0, b.useRef)(void 0);(0, b.useEffect)(() => {- if (i && !_S.includes(t)) return _S.push(t), () => {- let e = _S.indexOf(t);- e >= 0 && _S.splice(e, 1);+ if (i && !vS.includes(t)) return vS.push(t), () => {+ let e = vS.indexOf(t);+ e >= 0 && vS.splice(e, 1);};}, [i, t]);let l = () => {- _S[_S.length - 1] === t && n && n();+ vS[vS.length - 1] === t && n && n();}, u = (e) => {- let n = _S[_S.length - 1];+ let n = vS[vS.length - 1];c.current = n, (!s || s(iv(e))) && n === t && e.stopPropagation();}, d = (e) => {- (!s || s(iv(e))) && (_S[_S.length - 1] === t && e.stopPropagation(), c.current === t && l()), c.current = void 0;+ (!s || s(iv(e))) && (vS[vS.length - 1] === t && e.stopPropagation(), c.current === t && l()), c.current = void 0;}, { keyboardProps: f } = xy({ shortcuts: { Escape: () => {if (!o) l();else return !1;@@ -25332,61 +25332,61 @@ function vS(e, t) {}//#endregion//#region node_modules/react-aria/dist/private/utils/runAfterKeyboard.mjs-var Nce = 200, Pce = 50, Fce = 600, yS = /* @__PURE__ */ new WeakMap(), bS = /* @__PURE__ */ new Set(), xS = /* @__PURE__ */ new Set();-function Ice(e, t) {+var Mce = 200, Nce = 50, Pce = 600, bS = /* @__PURE__ */ new WeakMap(), xS = /* @__PURE__ */ new Set(), SS = /* @__PURE__ */ new Set();+function Fce(e, t) {let n = Qy();- if (e !== n || t.aborted) for (let e of xS) e(n), xS.delete(e);- if (!e && n && Cv() && !t.aborted) window.clearInterval(yS.get(window)), yS.set(window, SS(Nce));+ if (e !== n || t.aborted) for (let e of SS) e(n), SS.delete(e);+ if (!e && n && Cv() && !t.aborted) window.clearInterval(bS.get(window)), bS.set(window, CS(Mce));else {- if (e !== n || t.aborted) for (let e of bS) e(n), bS.delete(e);- (xS.size + bS.size <= 0 || t.aborted) && (window.clearInterval(yS.get(window)), yS.delete(window));+ if (e !== n || t.aborted) for (let e of xS) e(n), xS.delete(e);+ (SS.size + xS.size <= 0 || t.aborted) && (window.clearInterval(bS.get(window)), bS.delete(window));}}-function SS(e = Fce) {- return window.setInterval(Ice, Pce, Qy(), AbortSignal.timeout(e));+function CS(e = Pce) {+ return window.setInterval(Fce, Nce, Qy(), AbortSignal.timeout(e));}-function CS(e) {+function wS(e) {if (!Yy()) return e(!1), () => {};let t = window.requestAnimationFrame(() => {t = window.requestAnimationFrame(() => {let t = Xy(document.hasFocus() ? rv() : null);if (Qy() === t || Qy() && !t) return e(t);- xS.add(e), yS.has(window) || yS.set(window, SS());+ SS.add(e), bS.has(window) || bS.set(window, CS());});});return () => {- window.cancelAnimationFrame(t), xS.delete(e);+ window.cancelAnimationFrame(t), SS.delete(e);};}-function Lce(e) {+function Ice(e) {if (!Yy()) return e(!1), () => {};let t = window.requestAnimationFrame(() => {t = window.requestAnimationFrame(() => {let t = Xy(document.hasFocus() ? rv() : null);if (Qy() === t) return e(t);- bS.add(e), yS.has(window) || yS.set(window, SS());+ xS.add(e), bS.has(window) || bS.set(window, CS());});});return () => {- window.cancelAnimationFrame(t), bS.delete(e);+ window.cancelAnimationFrame(t), xS.delete(e);};}//#endregion//#region node_modules/react-aria/dist/private/overlays/usePreventScroll.mjs-var wS = typeof document < "u" && window.visualViewport, TS = 0, Rce;-function zce(e = {}) {+var TS = typeof document < "u" && window.visualViewport, ES = 0, Lce;+function Rce(e = {}) {let { isDisabled: t, UNSTABLE_overrideFocus: n } = e;fv(() => {- if (!t) return TS++, TS === 1 && (Rce = Sv() && Cv() ? Vce() : Bce(n)), () => {- TS--, TS === 0 && Rce();+ if (!t) return ES++, ES === 1 && (Lce = Sv() && Cv() ? Bce() : zce(n)), () => {+ ES--, ES === 0 && Lce();};}, [t, n]);}-function Bce(e) {+function zce(e) {let t = window.innerWidth - document.documentElement.clientWidth;- return oy(t > 0 && ("scrollbarGutter" in document.documentElement.style ? ev(document.documentElement, "scrollbar-gutter", "stable") : ev(document.documentElement, "padding-right", `${t}px`)), ev(document.documentElement, "overflow", "hidden"), e && Uce(), e && Yy() && Hce());+ return oy(t > 0 && ("scrollbarGutter" in document.documentElement.style ? ev(document.documentElement, "scrollbar-gutter", "stable") : ev(document.documentElement, "padding-right", `${t}px`)), ev(document.documentElement, "overflow", "hidden"), e && Hce(), e && Yy() && Vce());}-function Vce() {+function Bce() {let e = ev(document.documentElement, "overflow", "hidden"), t, n = !1, r = (e) => {let r = iv(e);t = Qb(r, !0) ? r : $b(r, !0), n = !1;@@ -25396,24 +25396,24 @@ function Vce() {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 = Uce(), c = oy($_(document, "touchstart", r, {+ }, s = Hce(), c = oy($_(document, "touchstart", r, {passive: !1,capture: !0}), $_(document, "touchmove", o, {passive: !1,capture: !0- }), Hce());+ }), Vce());return () => {e(), c(), i.remove(), s();};}-function Hce() {+function Vce() {return $_(document, "blur", (e) => {let t = iv(e), n = e.relatedTarget;n && Xy(n) ? n.focus() : n || (t.parentElement?.closest("[tabindex]"))?.focus({ preventScroll: !0 });}, !0);}-function Uce() {+function Hce() {let e = HTMLElement.prototype.focus;return Reflect.defineProperty(HTMLElement.prototype, "focus", {configurable: !0,@@ -25424,9 +25424,9 @@ function Uce() {preventScroll: !0}), !t || !t.preventScroll) {let e = () => {- rv() === this && Wce(this);+ rv() === this && Uce(this);};- CS((t) => t ? e() : Lce(() => e()));+ wS((t) => t ? e() : Ice(() => e()));}}}), () => {@@ -25437,7 +25437,7 @@ function Uce() {});};}-function Wce(e) {+function Uce(e) {let t = document.scrollingElement || document.documentElement, n = e;for (; n && n !== t && n.isConnected;) {let e = $b(n);@@ -25445,7 +25445,7 @@ function Wce(e) {let t = e.getBoundingClientRect(), r = n.getBoundingClientRect();if (r.top < t.top || r.bottom > t.top + n.clientHeight) {let n = t.bottom;- wS && (n = Math.min(n, wS.offsetTop + wS.height));+ TS && (n = Math.min(n, TS.offsetTop + TS.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)),@@ -25458,13 +25458,13 @@ function Wce(e) {}//#endregion//#region node_modules/react-aria/dist/private/overlays/useModalOverlay.mjs-function Gce(e, t, n) {- let { overlayProps: r, underlayProps: i } = vS({+function Wce(e, t, n) {+ let { overlayProps: r, underlayProps: i } = yS({...e,isOpen: t.isOpen,onClose: t.close}, n);- zce({+ Rce({isDisabled: !t.isOpen,UNSTABLE_overrideFocus: e.UNSTABLE_overrideFocus}), gse();@@ -25482,32 +25482,32 @@ function Gce(e, t, n) {}//#endregion//#region node_modules/react-aria/dist/private/overlays/calculatePosition.mjs-var ES = {+var DS = {top: "top",bottom: "top",left: "left",right: "left"-}, DS = {+}, OS = {top: "bottom",bottom: "top",left: "right",right: "left"-}, Kce = {+}, Gce = {top: "left",left: "top"-}, OS = {+}, kS = {top: "height",left: "width"-}, qce = {+}, Kce = {width: "totalWidth",height: "totalHeight"-}, kS = {}, Jce = () => typeof document < "u" ? window.visualViewport : null;-function Yce(e, t) {+}, AS = {}, qce = () => typeof document < "u" ? window.visualViewport : null;+function Jce(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} = MS(e, !1)), c.top = e.scrollTop, c.left = e.scrollLeft, i = n, a = r;+ } else ({width: n, height: r, top: o, left: s} = NS(e, !1)), c.top = e.scrollTop, c.left = e.scrollLeft, i = n, a = r;return Cv() && (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,@@ -25518,7 +25518,7 @@ function Yce(e, t) {left: s};}-function Xce(e) {+function Yce(e) {return {top: e.scrollTop,left: e.scrollLeft,@@ -25526,11 +25526,11 @@ function Xce(e) {height: e.scrollHeight};}-function Zce(e, t, n, r, i, a, o) {- let s = i.scroll[e] ?? 0, c = r[OS[e]], l = o[e] + r.scroll[ES[e]] + a, u = o[e] + r.scroll[ES[e]] + c - a, d = t - s + r.scroll[ES[e]] + o[e] - r[ES[e]], f = t - s + n + r.scroll[ES[e]] + o[e] - r[ES[e]];+function Xce(e, t, n, r, i, a, o) {+ let s = i.scroll[e] ?? 0, c = r[kS[e]], l = o[e] + r.scroll[DS[e]] + a, u = o[e] + r.scroll[DS[e]] + c - a, d = t - s + r.scroll[DS[e]] + o[e] - r[DS[e]], f = t - s + n + r.scroll[DS[e]] + o[e] - r[DS[e]];return d < l ? l - d : f > u ? Math.max(u - f, l - d) : 0;}-function Qce(e) {+function Zce(e) {let t = window.getComputedStyle(e);return {top: parseInt(t.marginTop, 10) || 0,@@ -25539,55 +25539,55 @@ function Qce(e) {right: parseInt(t.marginRight, 10) || 0};}-function $ce(e) {- if (kS[e]) return kS[e];- let [t, n] = e.split(" "), r = ES[t] || "right", i = Kce[r];- ES[n] || (n = "center");- let a = OS[r], o = OS[i];- return kS[e] = {+function Qce(e) {+ if (AS[e]) return AS[e];+ let [t, n] = e.split(" "), r = DS[t] || "right", i = Gce[r];+ DS[n] || (n = "center");+ let a = kS[r], o = kS[i];+ return AS[e] = {placement: t,crossPlacement: n,axis: r,crossAxis: i,size: a,crossSize: o- }, kS[e];+ }, AS[e];}-function AS(e, t, n, r, i, a, o, s, c, l, u) {+function jS(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] = _x(_[m], v, y), d === p) {- let t = s ? u[h] : u[qce[h]];- _[DS[p]] = Math.floor(t - e[p] + i);+ let t = s ? u[h] : u[Kce[h]];+ _[OS[p]] = Math.floor(t - e[p] + i);} else _[p] = Math.floor(e[p] + e[h] + i);return _;}-function ele(e, t, n, r, i, a, o, s, c, l, u) {- let d = (e.top == null ? c[qce.height] - (e.bottom ?? 0) - o : e.top) - (c.scroll.top ?? 0), f = l ? n.top : 0, p = {+function $ce(e, t, n, r, i, a, o, s, c, l, u) {+ let d = (e.top == null ? c[Kce.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 tle(e, t, n, r, i, a, o, s) {+function ele(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[DS[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[DS[l]] - i);+ return c === l ? Math.max(0, n[l] - (o.scroll[l] ?? 0) - (e[l] + (s ? t[l] : 0)) - (r[l] ?? 0) - r[OS[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[OS[l]] - i);}-function nle(e, t, n, r, i, a, o, s, c, l, u, d, f, p, m, h, g, _) {- let v = $ce(e), { size: y, crossAxis: b, crossSize: x, placement: S, crossPlacement: C } = v, w = AS(t, s, n, v, u, d, l, f, m, h, c), T = u, E = tle(s, l, t, i, a + u, v, c, g);+function tle(e, t, n, r, i, a, o, s, c, l, u, d, f, p, m, h, g, _) {+ let v = Qce(e), { size: y, crossAxis: b, crossSize: x, placement: S, crossPlacement: C } = v, w = jS(t, s, n, v, u, d, l, f, m, h, c), T = u, E = ele(s, l, t, i, a + u, v, c, g);if (o && n[y] > E) {- let e = $ce(`${DS[S]} ${C}`), r = AS(t, s, n, e, u, d, l, f, m, h, c);- tle(s, l, t, i, a + u, e, c, g) > E && (v = e, w = r, T = u);+ let e = Qce(`${OS[S]} ${C}`), r = jS(t, s, n, e, u, d, l, f, m, h, c);+ ele(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 = Zce(b, w[b], n[x], s, c, a, l);+ let O = Xce(b, w[b], n[x], s, c, a, l);w[b] += O;- let k = ele(w, s, l, f, i, a, n.height, D, c, g, _);- p && p < k && (k = p), n.height = Math.min(n.height, k), w = AS(t, s, n, v, T, d, l, f, m, h, c), O = Zce(b, w[b], n[x], s, c, a, l), w[b] += O;- let A = {}, j = t[b] - w[b] - i[ES[b]], M = j + .5 * t[x], N = m / 2 + h, P = ES[b] === "left" ? (i.left ?? 0) + (i.right ?? 0) : (i.top ?? 0) + (i.bottom ?? 0), ee = n[x] - P - m / 2 - h;- A[b] = _x(_x(M, t[b] + m / 2 - (w[b] + i[ES[b]]), t[b] + t[x] - m / 2 - (w[b] + i[ES[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 = $ce(w, s, l, f, i, a, n.height, D, c, g, _);+ p && p < k && (k = p), n.height = Math.min(n.height, k), w = jS(t, s, n, v, T, d, l, f, m, h, c), O = Xce(b, w[b], n[x], s, c, a, l), w[b] += O;+ let A = {}, j = t[b] - w[b] - i[DS[b]], M = j + .5 * t[x], N = m / 2 + h, P = DS[b] === "left" ? (i.left ?? 0) + (i.right ?? 0) : (i.top ?? 0) + (i.bottom ?? 0), ee = n[x] - P - m / 2 - h;+ A[b] = _x(_x(M, t[b] + m / 2 - (w[b] + i[DS[b]]), t[b] + t[x] - m / 2 - (w[b] + i[DS[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@@ -25601,17 +25601,17 @@ function nle(e, t, n, r, i, a, o, s, c, l, u, d, f, p, m, h, g, _) {triggerAnchorPoint: te};}-function rle(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 = Jce(), h = r instanceof HTMLElement ? ale(r) : document.documentElement, g = h === document.documentElement, _ = window.getComputedStyle(h).position, v = !!_ && _ !== "static", y = g ? MS(n, !1, p) : ile(n, h, !1, p);+function nle(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 = qce(), h = r instanceof HTMLElement ? ile(r) : document.documentElement, g = h === document.documentElement, _ = window.getComputedStyle(h).position, v = !!_ && _ !== "static", y = g ? NS(n, !1, p) : rle(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 = MS(r, !0), x = Qce(r);+ let b = NS(r, !0), x = Zce(r);b.width += (x.left ?? 0) + (x.right ?? 0), b.height += (x.top ?? 0) + (x.bottom ?? 0);- let S = Xce(i), C = Yce(s, m), w = Yce(h, m), T;+ let S = Yce(i), C = Jce(s, m), w = Jce(h, m), T;if ((s.tagName === "BODY" || s.tagName === "HTML") && !g) {- let e = jS(h, !1);+ let e = MS(h, !1);T = {top: -(e.top - C.top),left: -(e.left - C.left),@@ -25623,11 +25623,11 @@ function rle(e) {left: 0,width: 0,height: 0- } : ile(s, h, !1);+ } : rle(s, h, !1);let E = nv(s, h);- return nle(t, y, b, S, x, a, o, C, w, T, c, l, v, u, d, f, E, m);+ return tle(t, y, b, S, x, a, o, C, w, T, c, l, v, u, d, f, E, m);}-function jS(e, t) {+function MS(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,@@ -25636,8 +25636,8 @@ function jS(e, t) {height: a};}-function MS(e, t, n) {- let { top: r, left: i, width: a, height: o } = n || jS(e, t), { scrollTop: s, scrollLeft: c, clientTop: l, clientLeft: u } = document.documentElement;+function NS(e, t, n) {+ let { top: r, left: i, width: a, height: o } = n || MS(e, t), { scrollTop: s, scrollLeft: c, clientTop: l, clientLeft: u } = document.documentElement;return {top: r + s - l,left: i + c - u,@@ -25645,29 +25645,29 @@ function MS(e, t, n) {height: o};}-function ile(e, t, n, r) {+function rle(e, t, n, r) {let i = window.getComputedStyle(e), a;- if (i.position === "fixed") a = r || jS(e, n);+ if (i.position === "fixed") a = r || MS(e, n);else {- a = MS(e, n, r);- let i = MS(t, n), o = window.getComputedStyle(t);+ a = NS(e, n, r);+ let i = NS(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 ale(e) {+function ile(e) {let t = e.offsetParent;- if (t && t === document.body && window.getComputedStyle(t).position === "static" && !ole(t) && (t = document.documentElement), t == null) for (t = e.parentElement; t && !ole(t);) t = t.parentElement;+ if (t && t === document.body && window.getComputedStyle(t).position === "static" && !ale(t) && (t = document.documentElement), t == null) for (t = e.parentElement; t && !ale(t);) t = t.parentElement;return t || document.documentElement;}-function ole(e) {+function ale(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 NS = typeof document < "u" ? window.visualViewport : null;-function sle(e) {+var PS = typeof document < "u" ? window.visualViewport : null;+function ole(e) {let { direction: t } = sb(), { 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, x] = (0, b.useState)(null), S = [p,s,@@ -25685,12 +25685,12 @@ function sle(e) {g,_,n- ], C = (0, b.useRef)(NS?.scale);+ ], C = (0, b.useRef)(PS?.scale);(0, b.useEffect)(() => {- m && (C.current = NS?.scale);+ m && (C.current = PS?.scale);}, [m]);let w = (0, b.useCallback)(() => {- if (p === !1 || !m || !i.current || !r.current || !u || NS?.scale !== C.current) return;+ if (p === !1 || !m || !i.current || !r.current || !u || PS?.scale !== C.current) return;let e = null;if (o.current && ov(o.current)) {let t = rv()?.getBoundingClientRect(), n = o.current.getBoundingClientRect();@@ -25701,8 +25701,8 @@ function sle(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 = rle({- placement: lle(s, t),+ let y = nle({+ placement: cle(s, t),overlayNode: i.current,targetNode: r.current,scrollNode: o.current || i.current,@@ -25712,7 +25712,7 @@ function sle(e) {offset: d,crossOffset: f,maxHeight: g,- arrowSize: n ?? (a?.current ? jS(a.current, !0).width : 0),+ arrowSize: n ?? (a?.current ? MS(a.current, !0).width : 0),arrowBoundaryOffset: _,targetRect: v?.(r.current)});@@ -25725,7 +25725,7 @@ function sle(e) {}x(y);}, S);- fv(w, S), cle(w), Wx({+ fv(w, S), sle(w), Wx({ref: i,onResize: w}), Wx({@@ -25741,10 +25741,10 @@ function sle(e) {}, n = () => {T.current && t();};- NS?.addEventListener("resize", t), NS?.addEventListener("scroll", n);+ PS?.addEventListener("resize", t), PS?.addEventListener("scroll", n);let r = $_(av(window), "scroll", n);return () => {- NS?.removeEventListener("resize", t), NS?.removeEventListener("scroll", n), r();+ PS?.removeEventListener("resize", t), PS?.removeEventListener("scroll", n), r();};}, [w]);let E = (0, b.useCallback)(() => {@@ -25776,25 +25776,25 @@ function sle(e) {updatePosition: w};}-function cle(e) {+function sle(e) {fv(() => (window.addEventListener("resize", e, !1), () => {window.removeEventListener("resize", e, !1);}), [e]);}-function lle(e, t) {+function cle(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 ule(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 } = vS({+function lle(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 } = yS({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 } = sle({+ }, i ?? r), { overlayProps: f, arrowProps: p, placement: m, triggerAnchorPoint: h } = ole({...c,targetRef: n,overlayRef: r,@@ -25802,7 +25802,7 @@ function ule(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)});- zce({ isDisabled: a || !t.isOpen }), (0, b.useEffect)(() => {+ Rce({ isDisabled: a || !t.isOpen }), (0, b.useEffect)(() => {if (t.isOpen && r.current) return a ? loe(i?.current ?? r.current) : coe([i?.current ?? r.current], { shouldUseInert: !0 });}, [a,@@ -25821,10 +25821,10 @@ function ule(e, t) {}//#endregion//#region node_modules/react-aria/dist/private/radio/utils.mjs-var dle = /* @__PURE__ */ new WeakMap();+var ule = /* @__PURE__ */ new WeakMap();//#endregion//#region node_modules/react-aria/dist/private/radio/useRadio.mjs-function fle(e, t, n) {+function dle(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: _ } = Ob({@@ -25847,7 +25847,7 @@ function fle(e, t, n) {}}), { focusableProps: x } = Ty(gy(e, { onFocus: () => t.setLastFocusedValue(r) }), n), S = gy(g, x), C = hb(e, { labelable: !0 }), w = -1;t.selectedValue == null ? (t.lastFocusedValue === r || t.lastFocusedValue == null) && (w = 0) : t.selectedValue === r && (w = 0), p && (w = void 0);- let { name: T, form: E, descriptionId: D, errorMessageId: O, validationBehavior: k } = dle.get(t);+ let { name: T, form: E, descriptionId: D, errorMessageId: O, validationBehavior: k } = ule.get(t);ax(n, t.defaultSelectedValue, t.setSelectedValue), ox({ validationBehavior: k }, t, n);let A = sx();return {@@ -25881,7 +25881,7 @@ function fle(e, t, n) {}//#endregion//#region node_modules/react-aria/dist/private/radio/useRadioGroup.mjs-function ple(e, t) {+function fle(e, t) {let { name: n, form: r, isReadOnly: i, isRequired: a, isDisabled: o, orientation: s = "vertical", validationBehavior: c = "aria" } = e, { direction: l } = sb(), { isInvalid: u, validationErrors: d, validationDetails: f } = t.displayValidation, { labelProps: p, fieldProps: m, descriptionProps: h, errorMessageProps: g } = px({...e,labelElementType: "span",@@ -25910,7 +25910,7 @@ function ple(e, t) {},allowRepeats: !0}), x = uy(n);- return dle.set(t, {+ return ule.set(t, {name: x,form: r,descriptionId: h.id,@@ -25939,8 +25939,8 @@ function ple(e, t) {}//#endregion//#region node_modules/react-aria/dist/private/select/useSelect.mjs-var PS = /* @__PURE__ */ new WeakMap();-function mle(e, t, n) {+var FS = /* @__PURE__ */ new WeakMap();+function ple(e, t, n) {let { keyboardDelegate: r, isDisabled: i, isRequired: a, name: o, form: s, validationBehavior: c = "aria" } = e, l = Fx({usage: "search",sensitivity: "base"@@ -25983,7 +25983,7 @@ function mle(e, t, n) {});t.selectionManager.selectionMode === "multiple" && (m = {});let C = hb(e, { labelable: !0 }), w = gy(m, d, y), T = uy();- return PS.set(t, {+ return FS.set(t, {isDisabled: i,isRequired: a,name: o,@@ -26044,8 +26044,8 @@ function mle(e, t, n) {}//#endregion//#region node_modules/react-aria/dist/private/select/HiddenSelect.mjs-function hle(e, t, n) {- let r = PS.get(t) || {}, { autoComplete: i, name: a = r.name, form: o = r.form, isDisabled: s = r.isDisabled } = e, { validationBehavior: c, isRequired: l } = r, { visuallyHiddenProps: u } = vx({ style: {+function mle(e, t, n) {+ let r = FS.get(t) || {}, { autoComplete: i, name: a = r.name, form: o = r.form, isDisabled: s = r.isDisabled } = e, { validationBehavior: c, isRequired: l } = r, { visuallyHiddenProps: u } = vx({ style: {position: "fixed",top: 0,left: 0@@ -26080,8 +26080,8 @@ function hle(e, t, n) {}};}-function gle(e) {- let { state: t, triggerRef: n, label: r, name: i, form: a, isDisabled: o } = e, s = (0, b.useRef)(null), c = (0, b.useRef)(null), { containerProps: l, selectProps: u } = hle({+function hle(e) {+ let { state: t, triggerRef: n, label: r, name: i, form: a, isDisabled: o } = e, s = (0, b.useRef)(null), c = (0, b.useRef)(null), { containerProps: l, selectProps: u } = mle({...e,selectRef: t.collection.size <= 300 ? s : c}, t, n), d = Array.isArray(t.value) ? t.value : [t.value];@@ -26105,7 +26105,7 @@ function gle(e) {value: e ?? ""})))));if (i) {- let { validationBehavior: e } = PS.get(t) || {};+ let { validationBehavior: e } = FS.get(t) || {};d.length === 0 && (d = [null]);let n = d.map((t, n) => {let r = {@@ -26136,7 +26136,7 @@ function gle(e) {}//#endregion//#region node_modules/react-aria/dist/private/separator/useSeparator.mjs-function _le(e) {+function gle(e) {let t = hb(e, { labelable: !0 }), n;return e.orientation === "vertical" && (n = "vertical"), e.elementType === "hr" ? { separatorProps: t } : { separatorProps: {...t,@@ -26146,7 +26146,7 @@ function _le(e) {}//#endregion//#region node_modules/react-aria/dist/private/switch/useSwitch.mjs-function vle(e, t, n) {+function _le(e, t, n) {let { labelProps: r, inputProps: i, isSelected: a, ...o } = Qae(e, t, n);return {labelProps: r,@@ -26161,10 +26161,10 @@ function vle(e, t, n) {}//#endregion//#region node_modules/react-aria/dist/private/grid/GridKeyboardDelegate.mjs-var yle = class {+var vle = 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 ble(e.layout) : new Tx(e.ref)), this.focusMode = e.focusMode ?? "row";+ this.layoutDelegate = e.layoutDelegate || (e.layout ? new yle(e.layout) : new Tx(e.ref)), this.focusMode = e.focusMode ?? "row";}isCell(e) {return e.type === "cell";@@ -26330,7 +26330,7 @@ var yle = class {}return null;}-}, ble = class {+}, yle = class {constructor(e) {this.layout = e;}@@ -26343,16 +26343,16 @@ var yle = class {getVisibleRect() {return this.layout.virtualizer.visibleRect;}-}, FS = /* @__PURE__ */ new WeakMap();+}, IS = /* @__PURE__ */ new WeakMap();//#endregion//#region node_modules/react-aria/dist/private/grid/useGrid.mjs-function xle(e, t, n) {+function ble(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 = Fx({usage: "search",sensitivity: "base"- }), { direction: g } = sb(), _ = t.selectionManager.disabledBehavior, v = (0, b.useMemo)(() => a || new yle({+ }), { direction: g } = sb(), _ = t.selectionManager.disabledBehavior, v = (0, b.useMemo)(() => a || new vle({collection: t.collection,disabledKeys: t.disabledKeys,disabledBehavior: _,@@ -26378,7 +26378,7 @@ function xle(e, t, n) {disallowTypeAhead: i,escapeKeyBehavior: d}), x = uy(e.id);- FS.set(t, {+ IS.set(t, {keyboardDelegate: v,actions: {onRowAction: l,@@ -26404,27 +26404,27 @@ function xle(e, t, n) {}//#endregion//#region node_modules/react-aria/dist/private/table/utils.mjs-var IS = /* @__PURE__ */ new WeakMap();-function LS(e) {+var LS = /* @__PURE__ */ new WeakMap();+function RS(e) {return typeof e == "string" ? e.replace(/\s*/g, "") : "" + e;}-function Sle(e, t) {- let n = IS.get(e);+function xle(e, t) {+ let n = LS.get(e);if (!n) throw Error("Unknown grid");- return `${n}-${LS(t)}`;+ return `${n}-${RS(t)}`;}-function RS(e, t, n) {- let r = IS.get(e);+function zS(e, t, n) {+ let r = LS.get(e);if (!r) throw Error("Unknown grid");- return `${r}-${LS(t)}-${LS(n)}`;+ return `${r}-${RS(t)}-${RS(n)}`;}-function zS(e, t) {- return [...e.collection.rowHeaderColumnKeys].map((n) => RS(e, t, n)).join(" ");+function BS(e, t) {+ return [...e.collection.rowHeaderColumnKeys].map((n) => zS(e, t, n)).join(" ");}//#endregion//#region node_modules/react-aria/dist/private/intl/table/ar-AE.mjs-var BS = {};-BS = {+var VS = {};+VS = {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: "طي",@@ -26439,8 +26439,8 @@ BS = {};//#endregion//#region node_modules/react-aria/dist/private/intl/table/bg-BG.mjs-var VS = {};-VS = {+var HS = {};+HS = {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: "Свиване",@@ -26455,8 +26455,8 @@ VS = {};//#endregion//#region node_modules/react-aria/dist/private/intl/table/cs-CZ.mjs-var HS = {};-HS = {+var US = {};+US = {ascending: "vzestupně",ascendingSort: (e) => `\u{159}azeno vzestupn\u{11B} podle sloupce ${e.columnName}`,collapse: "Sbalit",@@ -26471,8 +26471,8 @@ HS = {};//#endregion//#region node_modules/react-aria/dist/private/intl/table/da-DK.mjs-var US = {};-US = {+var WS = {};+WS = {ascending: "stigende",ascendingSort: (e) => `sorteret efter kolonne ${e.columnName} i stigende r\xe6kkef\xf8lge`,collapse: "Skjul",@@ -26487,8 +26487,8 @@ US = {};//#endregion//#region node_modules/react-aria/dist/private/intl/table/de-DE.mjs-var WS = {};-WS = {+var GS = {};+GS = {ascending: "aufsteigend",ascendingSort: (e) => `sortiert nach Spalte ${e.columnName} in aufsteigender Reihenfolge`,collapse: "Reduzieren",@@ -26503,8 +26503,8 @@ WS = {};//#endregion//#region node_modules/react-aria/dist/private/intl/table/el-GR.mjs-var GS = {};-GS = {+var KS = {};+KS = {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: "Σύμπτυξη",@@ -26519,8 +26519,8 @@ GS = {};//#endregion//#region node_modules/react-aria/dist/private/intl/table/en-US.mjs-var KS = {};-KS = {+var qS = {};+qS = {select: "Select",selectAll: "Select All",sortable: "sortable column",@@ -26535,8 +26535,8 @@ KS = {};//#endregion//#region node_modules/react-aria/dist/private/intl/table/es-ES.mjs-var qS = {};-qS = {+var JS = {};+JS = {ascending: "ascendente",ascendingSort: (e) => `ordenado por columna ${e.columnName} en sentido ascendente`,collapse: "Contraer",@@ -26551,8 +26551,8 @@ qS = {};//#endregion//#region node_modules/react-aria/dist/private/intl/table/et-EE.mjs-var JS = {};-JS = {+var YS = {};+YS = {ascending: "tõusev järjestus",ascendingSort: (e) => `sorditud veeru j\xe4rgi ${e.columnName} t\xf5usvas j\xe4rjestuses`,collapse: "Ahenda",@@ -26567,8 +26567,8 @@ JS = {};//#endregion//#region node_modules/react-aria/dist/private/intl/table/fi-FI.mjs-var YS = {};-YS = {+var XS = {};+XS = {ascending: "nouseva",ascendingSort: (e) => `lajiteltu sarakkeen ${e.columnName} mukaan nousevassa j\xe4rjestyksess\xe4`,collapse: "Pienennä",@@ -26583,8 +26583,8 @@ YS = {};//#endregion//#region node_modules/react-aria/dist/private/intl/table/fr-FR.mjs-var XS = {};-XS = {+var ZS = {};+ZS = {ascending: "croissant",ascendingSort: (e) => `tri\xe9 en fonction de la colonne\xa0${e.columnName} par ordre croissant`,collapse: "Réduire",@@ -26599,8 +26599,8 @@ XS = {};//#endregion//#region node_modules/react-aria/dist/private/intl/table/he-IL.mjs-var ZS = {};-ZS = {+var QS = {};+QS = {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: "כווץ",@@ -26615,8 +26615,8 @@ ZS = {};//#endregion//#region node_modules/react-aria/dist/private/intl/table/hr-HR.mjs-var QS = {};-QS = {+var $S = {};+$S = {ascending: "rastući",ascendingSort: (e) => `razvrstano po stupcima ${e.columnName} rastu\u{107}em redoslijedom`,collapse: "Sažmi",@@ -26631,8 +26631,8 @@ QS = {};//#endregion//#region node_modules/react-aria/dist/private/intl/table/hu-HU.mjs-var $S = {};-$S = {+var eC = {};+eC = {ascending: "növekvő",ascendingSort: (e) => `rendezve a(z) ${e.columnName} oszlop szerint, n\xf6vekv\u{151} sorrendben`,collapse: "Összecsukás",@@ -26647,8 +26647,8 @@ $S = {};//#endregion//#region node_modules/react-aria/dist/private/intl/table/it-IT.mjs-var eC = {};-eC = {+var tC = {};+tC = {ascending: "crescente",ascendingSort: (e) => `in ordine crescente in base alla colonna ${e.columnName}`,collapse: "Comprimi",@@ -26663,8 +26663,8 @@ eC = {};//#endregion//#region node_modules/react-aria/dist/private/intl/table/ja-JP.mjs-var tC = {};-tC = {+var nC = {};+nC = {ascending: "昇順",ascendingSort: (e) => `\u{5217} ${e.columnName} \u{3092}\u{6607}\u{9806}\u{3067}\u{4E26}\u{3079}\u{66FF}\u{3048}`,collapse: "折りたたむ",@@ -26679,8 +26679,8 @@ tC = {};//#endregion//#region node_modules/react-aria/dist/private/intl/table/ko-KR.mjs-var nC = {};-nC = {+var rC = {};+rC = {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: "접기",@@ -26695,8 +26695,8 @@ nC = {};//#endregion//#region node_modules/react-aria/dist/private/intl/table/lt-LT.mjs-var rC = {};-rC = {+var iC = {};+iC = {ascending: "didėjančia tvarka",ascendingSort: (e) => `surikiuota pagal stulpel\u{12F} ${e.columnName} did\u{117}jan\u{10D}ia tvarka`,collapse: "Sutraukti",@@ -26711,8 +26711,8 @@ rC = {};//#endregion//#region node_modules/react-aria/dist/private/intl/table/lv-LV.mjs-var iC = {};-iC = {+var aC = {};+aC = {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",@@ -26727,8 +26727,8 @@ iC = {};//#endregion//#region node_modules/react-aria/dist/private/intl/table/nb-NO.mjs-var aC = {};-aC = {+var oC = {};+oC = {ascending: "stigende",ascendingSort: (e) => `sortert etter kolonne ${e.columnName} i stigende rekkef\xf8lge`,collapse: "Skjul",@@ -26743,8 +26743,8 @@ aC = {};//#endregion//#region node_modules/react-aria/dist/private/intl/table/nl-NL.mjs-var oC = {};-oC = {+var sC = {};+sC = {ascending: "oplopend",ascendingSort: (e) => `gesorteerd in oplopende volgorde in kolom ${e.columnName}`,collapse: "Samenvouwen",@@ -26759,8 +26759,8 @@ oC = {};//#endregion//#region node_modules/react-aria/dist/private/intl/table/pl-PL.mjs-var sC = {};-sC = {+var cC = {};+cC = {ascending: "rosnąco",ascendingSort: (e) => `posortowano wed\u{142}ug kolumny ${e.columnName} w porz\u{105}dku rosn\u{105}cym`,collapse: "Zwiń",@@ -26775,8 +26775,8 @@ sC = {};//#endregion//#region node_modules/react-aria/dist/private/intl/table/pt-BR.mjs-var cC = {};-cC = {+var lC = {};+lC = {ascending: "crescente",ascendingSort: (e) => `classificado pela coluna ${e.columnName} em ordem crescente`,collapse: "Recolher",@@ -26791,8 +26791,8 @@ cC = {};//#endregion//#region node_modules/react-aria/dist/private/intl/table/pt-PT.mjs-var lC = {};-lC = {+var uC = {};+uC = {ascending: "ascendente",ascendingSort: (e) => `Ordenar por coluna ${e.columnName} em ordem ascendente`,collapse: "Colapsar",@@ -26807,8 +26807,8 @@ lC = {};//#endregion//#region node_modules/react-aria/dist/private/intl/table/ro-RO.mjs-var uC = {};-uC = {+var dC = {};+dC = {ascending: "crescătoare",ascendingSort: (e) => `sortate dup\u{103} coloana ${e.columnName} \xeen ordine cresc\u{103}toare`,collapse: "Restrângeți",@@ -26823,8 +26823,8 @@ uC = {};//#endregion//#region node_modules/react-aria/dist/private/intl/table/ru-RU.mjs-var dC = {};-dC = {+var fC = {};+fC = {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: "Свернуть",@@ -26839,8 +26839,8 @@ dC = {};//#endregion//#region node_modules/react-aria/dist/private/intl/table/sk-SK.mjs-var fC = {};-fC = {+var pC = {};+pC = {ascending: "vzostupne",ascendingSort: (e) => `zoraden\xe9 zostupne pod\u{13E}a st\u{13A}pca ${e.columnName}`,collapse: "Zbaliť",@@ -26855,8 +26855,8 @@ fC = {};//#endregion//#region node_modules/react-aria/dist/private/intl/table/sl-SI.mjs-var pC = {};-pC = {+var mC = {};+mC = {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",@@ -26871,8 +26871,8 @@ pC = {};//#endregion//#region node_modules/react-aria/dist/private/intl/table/sr-SP.mjs-var mC = {};-mC = {+var hC = {};+hC = {ascending: "rastući",ascendingSort: (e) => `sortirano po kolonama ${e.columnName} rastu\u{107}im redosledom`,collapse: "Skupi",@@ -26887,8 +26887,8 @@ mC = {};//#endregion//#region node_modules/react-aria/dist/private/intl/table/sv-SE.mjs-var hC = {};-hC = {+var gC = {};+gC = {ascending: "stigande",ascendingSort: (e) => `sorterat p\xe5 kolumn ${e.columnName} i stigande ordning`,collapse: "Dölj",@@ -26903,8 +26903,8 @@ hC = {};//#endregion//#region node_modules/react-aria/dist/private/intl/table/tr-TR.mjs-var gC = {};-gC = {+var _C = {};+_C = {ascending: "artan sırada",ascendingSort: (e) => `${e.columnName} s\xfctuna g\xf6re artan d\xfczende s\u{131}rala`,collapse: "Daralt",@@ -26919,8 +26919,8 @@ gC = {};//#endregion//#region node_modules/react-aria/dist/private/intl/table/uk-UA.mjs-var _C = {};-_C = {+var vC = {};+vC = {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: "Згорнути",@@ -26935,8 +26935,8 @@ _C = {};//#endregion//#region node_modules/react-aria/dist/private/intl/table/zh-CN.mjs-var vC = {};-vC = {+var yC = {};+yC = {ascending: "升序",ascendingSort: (e) => `\u{6309}\u{5217} ${e.columnName} \u{5347}\u{5E8F}\u{6392}\u{5E8F}`,collapse: "折叠",@@ -26951,8 +26951,8 @@ vC = {};//#endregion//#region node_modules/react-aria/dist/private/intl/table/zh-TW.mjs-var yC = {};-yC = {+var bC = {};+bC = {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: "收合",@@ -26967,46 +26967,46 @@ yC = {};//#endregion//#region node_modules/react-aria/dist/private/table/intlStrings.mjs-var bC = {};-bC = {- "ar-AE": BS,- "bg-BG": VS,- "cs-CZ": HS,- "da-DK": US,- "de-DE": WS,- "el-GR": GS,- "en-US": KS,- "es-ES": qS,- "et-EE": JS,- "fi-FI": YS,- "fr-FR": XS,- "he-IL": ZS,- "hr-HR": QS,- "hu-HU": $S,- "it-IT": eC,- "ja-JP": tC,- "ko-KR": nC,- "lt-LT": rC,- "lv-LV": iC,- "nb-NO": aC,- "nl-NL": oC,- "pl-PL": sC,- "pt-BR": cC,- "pt-PT": lC,- "ro-RO": uC,- "ru-RU": dC,- "sk-SK": fC,- "sl-SI": pC,- "sr-SP": mC,- "sv-SE": hC,- "tr-TR": gC,- "uk-UA": _C,- "zh-CN": vC,- "zh-TW": yC+var xC = {};+xC = {+ "ar-AE": VS,+ "bg-BG": HS,+ "cs-CZ": US,+ "da-DK": WS,+ "de-DE": GS,+ "el-GR": KS,+ "en-US": qS,+ "es-ES": JS,+ "et-EE": YS,+ "fi-FI": XS,+ "fr-FR": ZS,+ "he-IL": QS,+ "hr-HR": $S,+ "hu-HU": eC,+ "it-IT": tC,+ "ja-JP": nC,+ "ko-KR": rC,+ "lt-LT": iC,+ "lv-LV": aC,+ "nb-NO": oC,+ "nl-NL": sC,+ "pl-PL": cC,+ "pt-BR": lC,+ "pt-PT": uC,+ "ro-RO": dC,+ "ru-RU": fC,+ "sk-SK": pC,+ "sl-SI": mC,+ "sr-SP": hC,+ "sv-SE": gC,+ "tr-TR": _C,+ "uk-UA": vC,+ "zh-CN": yC,+ "zh-TW": bC};//#endregion//#region node_modules/react-aria/dist/private/table/TableKeyboardDelegate.mjs-var Cle = class extends yle {+var Sle = class extends vle {isCell(e) {return e.type === "cell" || e.type === "rowheader" || e.type === "column";}@@ -27084,14 +27084,14 @@ var Cle = class extends yle {};//#endregion//#region node_modules/react-aria/dist/private/table/useTable.mjs-function wle(e) {+function Cle(e) {return e && e.__esModule ? e.default : e;}-function Tle(e, t, n) {+function wle(e, t, n) {let { keyboardDelegate: r, isVirtualized: i, layoutDelegate: a, layout: o } = e, s = Fx({usage: "search",sensitivity: "base"- }), { direction: c } = sb(), l = t.selectionManager.disabledBehavior, u = (0, b.useMemo)(() => r || new Cle({+ }), { direction: c } = sb(), l = t.selectionManager.disabledBehavior, u = (0, b.useMemo)(() => r || new Sle({collection: t.collection,disabledKeys: t.disabledKeys,disabledBehavior: l,@@ -27111,14 +27111,14 @@ function Tle(e, t, n) {a,o]), d = uy(e.id);- IS.set(t, d);- let { gridProps: f } = xle({+ LS.set(t, d);+ let { gridProps: f } = ble({...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 = pb(wle(bC), "@react-aria/table"), g = (0, b.useMemo)(() => {+ let { column: p, direction: m } = t.sortDescriptor || {}, h = pb(Cle(xC), "@react-aria/table"), g = (0, b.useMemo)(() => {let e = t.collection.columns.find((e) => e.key === p)?.textValue ?? "";return m && p ? h.format(`${m}Sort`, { columnName: e }) : void 0;}, [@@ -27132,8 +27132,8 @@ function Tle(e, t, n) {}//#endregion//#region node_modules/react-aria/dist/private/grid/useGridCell.mjs-function xC(e, t, n) {- let { node: r, isVirtualized: i, focusMode: a, allowsArrowNavigation: o, shouldSelectOnPressUp: s, onAction: c } = e, { direction: l } = sb(), { keyboardDelegate: u, actions: { onCellAction: d }, keyboardNavigationBehavior: f } = FS.get(t), p = a ?? (f === "tab" ? "cell" : "child"), m = (0, b.useRef)(null), h = (0, b.useRef)(null), g = () => {+function SC(e, t, n) {+ let { node: r, isVirtualized: i, focusMode: a, allowsArrowNavigation: o, shouldSelectOnPressUp: s, onAction: c } = e, { direction: l } = sb(), { keyboardDelegate: u, actions: { onCellAction: d }, keyboardNavigationBehavior: f } = IS.get(t), p = a ?? (f === "tab" ? "cell" : "child"), m = (0, b.useRef)(null), h = (0, b.useRef)(null), g = () => {if (n.current) {let e = qb(n.current);if (p === "child") {@@ -27147,7 +27147,7 @@ function xC(e, t, n) {return;}}- let o = t.selectionManager.childFocusStrategy === "last" ? SC(e) : e.firstChild();+ let o = t.selectionManager.childFocusStrategy === "last" ? CC(e) : e.firstChild();if (o) {ay(o);return;@@ -27179,7 +27179,7 @@ function xC(e, t, n) {n.current.parentElement?.dispatchEvent(new KeyboardEvent(e.nativeEvent.type, e.nativeEvent));break;}- p === "cell" && l === "rtl" ? (ay(n.current), nx(n.current, { containingElement: $b(n.current) })) : (a.currentNode = n.current, t = l === "rtl" ? a.firstChild() : SC(a), t && (ay(t), nx(t, { containingElement: $b(n.current) })));+ p === "cell" && l === "rtl" ? (ay(n.current), nx(n.current, { containingElement: $b(n.current) })) : (a.currentNode = n.current, t = l === "rtl" ? a.firstChild() : CC(a), t && (ay(t), nx(t, { containingElement: $b(n.current) })));}break;}@@ -27191,7 +27191,7 @@ function xC(e, t, n) {n.current.parentElement?.dispatchEvent(new KeyboardEvent(e.nativeEvent.type, e.nativeEvent));break;}- p === "cell" && l === "ltr" ? (ay(n.current), nx(n.current, { containingElement: $b(n.current) })) : (a.currentNode = n.current, t = l === "rtl" ? SC(a) : a.firstChild(), t && (ay(t), nx(t, { containingElement: $b(n.current) })));+ p === "cell" && l === "ltr" ? (ay(n.current), nx(n.current, { containingElement: $b(n.current) })) : (a.currentNode = n.current, t = l === "rtl" ? CC(a) : a.firstChild(), t && (ay(t), nx(t, { containingElement: $b(n.current) })));}break;}@@ -27232,7 +27232,7 @@ function xC(e, t, n) {isPressed: v};}-function SC(e) {+function CC(e) {let t = null, n = null;don = e.lastChild(), n && (t = n);@@ -27241,20 +27241,20 @@ function SC(e) {}//#endregion//#region node_modules/react-aria/dist/private/table/useTableCell.mjs-function Ele(e, t, n) {- let { gridCellProps: r, isPressed: i } = xC(e, t, n), a = e.node.column?.key;- return a != null && t.collection.rowHeaderColumnKeys.has(a) && (r.role = "rowheader", r.id = RS(t, e.node.parentKey, a)), {+function Tle(e, t, n) {+ let { gridCellProps: r, isPressed: i } = SC(e, t, n), a = e.node.column?.key;+ return a != null && t.collection.rowHeaderColumnKeys.has(a) && (r.role = "rowheader", r.id = zS(t, e.node.parentKey, a)), {gridCellProps: r,isPressed: i};}//#endregion//#region node_modules/react-aria/dist/private/table/useTableColumnHeader.mjs-function Dle(e) {+function Ele(e) {return e && e.__esModule ? e.default : e;}-function Ole(e, t, n) {- let { node: r } = e, i = r.props.allowsSorting, { gridCellProps: a } = xC({+function Dle(e, t, n) {+ let { node: r } = e, i = r.props.allowsSorting, { gridCellProps: a } = SC({focusMode: "child",...e}, t, n), o = r.props.isSelectionCell && t.selectionManager.selectionMode === "single", { pressProps: s, isPressed: c } = Ob({@@ -27265,7 +27265,7 @@ function Ole(e, t, n) {ref: n}), { focusableProps: l } = Ty({}, n), u, d = t.sortDescriptor?.column === r.key, f = t.sortDescriptor?.direction;r.props.allowsSorting && !Tv() && (u = d ? f : "none");- let p = pb(Dle(bC), "@react-aria/table"), m;+ let p = pb(Ele(xC), "@react-aria/table"), m;i && (m = `${p.format("sortable")}`, d && f && Tv() && (m = `${m}, ${p.format(f)}`));let h = ix(m), g = t.collection.size === 0;return (0, b.useEffect)(() => {@@ -27278,7 +27278,7 @@ function Ole(e, t, n) {columnHeaderProps: {...gy(l, a, s, h, g ? { tabIndex: -1 } : null),role: "columnheader",- id: Sle(t, r.key),+ id: xle(t, r.key),"aria-colspan": r.colSpan && r.colSpan > 1 ? r.colSpan : void 0,"aria-sort": u},@@ -27287,14 +27287,14 @@ function Ole(e, t, n) {}//#endregion//#region node_modules/react-aria/dist/private/table/useTableHeaderRow.mjs-function kle(e, t, n) {+function Ole(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 Ale(e, t, n) {- let { node: r, isVirtualized: i, shouldSelectOnPressUp: a, onAction: o } = e, { actions: s, shouldSelectOnPressUp: c } = FS.get(t), l = s.onRowAction ? () => s.onRowAction?.(r.key) : o, { itemProps: u, ...d } = Hx({+function kle(e, t, n) {+ let { node: r, isVirtualized: i, shouldSelectOnPressUp: a, onAction: o } = e, { actions: s, shouldSelectOnPressUp: c } = IS.get(t), l = s.onRowAction ? () => s.onRowAction?.(r.key) : o, { itemProps: u, ...d } = Hx({selectionManager: t.selectionManager,key: r.key,ref: n,@@ -27315,10 +27315,10 @@ function Ale(e, t, n) {}//#endregion//#region node_modules/react-aria/dist/private/table/useTableRow.mjs-function jle(e) {+function Ale(e) {return e && e.__esModule ? e.default : e;}-var CC = {+var wC = {expand: {ltr: "ArrowRight",rtl: "ArrowLeft"@@ -27328,21 +27328,21 @@ var CC = {rtl: "ArrowRight"}};-function Mle(e, t, n) {- let { node: r, isVirtualized: i } = e, { rowProps: a, ...o } = Ale(e, t, n), { direction: s } = sb();+function jle(e, t, n) {+ let { node: r, isVirtualized: i } = e, { rowProps: a, ...o } = kle(e, t, n), { direction: s } = sb();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 = pb(jle(bC), "@react-aria/table"), u = tb({+ let c = t.treeColumn != null && (t.expandedKeys === "all" || t.expandedKeys.has(r.key)), l = pb(Ale(xC), "@react-aria/table"), u = tb({"aria-label": c ? l.format("collapse") : l.format("expand"),- "aria-labelledby": zS(t, r.key)+ "aria-labelledby": BS(t, r.key)}), d = {}, f = {};if (t.treeColumn != null) {let e = t.collection.getItem(r.key);if (e != null) {- let n = wC(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 = wC(t.collection, a);+ let n = TC(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 = TC(t.collection, a);for (; l && l.type !== "item" && l.prevKey != null;) l = t.collection.getItem(l.prevKey);d = {onKeyDown: (n) => {- n.key === CC.expand[s] && t.selectionManager.focusedKey === e.key && i && t.expandedKeys !== "all" && !t.expandedKeys.has(e.key) ? (t.toggleKey(e.key), n.stopPropagation()) : n.key === CC.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 === wC.expand[s] && t.selectionManager.focusedKey === e.key && i && t.expandedKeys !== "all" && !t.expandedKeys.has(e.key) ? (t.toggleKey(e.key), n.stopPropagation()) : n.key === wC.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,@@ -27364,41 +27364,41 @@ function Mle(e, t, n) {return {rowProps: {...gy(a, d, m),- "aria-labelledby": zS(t, r.key)+ "aria-labelledby": BS(t, r.key)},expandButtonProps: f,...o};}-function wC(e, t) {+function TC(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 Nle() {+function Mle() {return { rowGroupProps: { role: "rowgroup" } };}//#endregion//#region node_modules/react-aria/dist/private/table/useTableRowGroup.mjs-function TC() {- return Nle();+function EC() {+ return Mle();}//#endregion//#region node_modules/react-aria/dist/private/table/useTableSelectionCheckbox.mjs-function Ple(e) {+function Nle(e) {return e && e.__esModule ? e.default : e;}-function Fle(e, t) {+function Ple(e, t) {let { key: n } = e, { checkboxProps: r } = pce(e, t);return { checkboxProps: {...r,- "aria-labelledby": `${r.id} ${zS(t, n)}`+ "aria-labelledby": `${r.id} ${BS(t, n)}`} };}-function Ile(e) {+function Fle(e) {let { isEmpty: t, isSelectAll: n, selectionMode: r } = e.selectionManager;return { checkboxProps: {- "aria-label": pb(Ple(bC), "@react-aria/table").format(r === "single" ? "select" : "selectAll"),+ "aria-label": pb(Nle(xC), "@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,@@ -27407,13 +27407,13 @@ function Ile(e) {}//#endregion//#region node_modules/react-aria/dist/private/tabs/utils.mjs-var EC = /* @__PURE__ */ new WeakMap();-function DC(e, t, n) {- return e ? (typeof t == "string" && (t = t.replace(/\s+/g, "")), `${EC.get(e)}-${n}-${t}`) : "";+var DC = /* @__PURE__ */ new WeakMap();+function OC(e, t, n) {+ return e ? (typeof t == "string" && (t = t.replace(/\s+/g, "")), `${DC.get(e)}-${n}-${t}`) : "";}//#endregion//#region node_modules/react-aria/dist/private/tabs/useTab.mjs-function Lle(e, t, n) {+function Ile(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 } = Hx({selectionManager: o,key: r,@@ -27421,7 +27421,7 @@ function Lle(e, t, n) {isDisabled: l,shouldSelectOnPressUp: a ?? u?.props.href != null,linkBehavior: "selection"- }), p = DC(t, r, "tab"), m = DC(t, r, "tabpanel"), { tabIndex: h } = d, g = hb(u?.props, { labelable: !0 });+ }), p = OC(t, r, "tab"), m = OC(t, r, "tabpanel"), { tabIndex: h } = d, g = hb(u?.props, { labelable: !0 });delete g.id;let _ = kv(u?.props), { focusableProps: v } = Ty({...u?.props,@@ -27443,7 +27443,7 @@ function Lle(e, t, n) {}//#endregion//#region node_modules/react-aria/dist/private/tabs/TabsKeyboardDelegate.mjs-var Rle = class {+var Lle = class {constructor(e, t, n, r = /* @__PURE__ */ new Set()) {this.collection = e, this.flipDirection = t === "rtl", this.disabledKeys = r, this.tabDirection = n === "horizontal";}@@ -27487,11 +27487,11 @@ var Rle = class {};//#endregion//#region node_modules/react-aria/dist/private/tabs/useTabList.mjs-function zle(e, t, n) {+function Rle(e, t, n) {let { orientation: r = "horizontal", keyboardActivation: i = "automatic" } = e, { collection: a, selectionManager: o, disabledKeys: s } = t, { direction: c } = sb(), { collectionProps: l } = Ox({ref: n,selectionManager: o,- keyboardDelegate: (0, b.useMemo)(() => new Rle(a, c, r, s), [+ keyboardDelegate: (0, b.useMemo)(() => new Lle(a, c, r, s), [a,s,r,@@ -27502,7 +27502,7 @@ function zle(e, t, n) {scrollRef: n,linkBehavior: "selection"}), u = uy();- return EC.set(t, u), { tabListProps: {+ return DC.set(t, u), { tabListProps: {...gy(l, tb({...e,id: u@@ -27514,12 +27514,12 @@ function zle(e, t, n) {}//#endregion//#region node_modules/react-aria/dist/private/tabs/useTabPanel.mjs-function Ble(e, t, n) {- let r = sce(n) ? void 0 : 0, i = DC(t, e.id ?? t?.selectedKey, "tabpanel");+function zle(e, t, n) {+ let r = sce(n) ? void 0 : 0, i = OC(t, e.id ?? t?.selectedKey, "tabpanel");return { tabPanelProps: gy(tb({...e,id: i,- "aria-labelledby": DC(t, t?.selectedKey, "tab")+ "aria-labelledby": OC(t, t?.selectedKey, "tab")}), {tabIndex: r,role: "tabpanel",@@ -27529,12 +27529,12 @@ function Ble(e, t, n) {}//#endregion//#region src/react/components/selection-dock.tsx-var OC = "(prefers-reduced-motion: reduce)", Vle = () => matchMedia(OC).matches, Hle = (e) => {- let t = matchMedia(OC);+var kC = "(prefers-reduced-motion: reduce)", Ble = () => matchMedia(kC).matches, Vle = (e) => {+ let t = matchMedia(kC);return t.addEventListener("change", e), () => t.removeEventListener("change", e);};-function Ule({ children: e, count: t, label: n }) {- let r = lne(), i = (0, b.useSyncExternalStore)(Hle, Vle, () => !1), { isFocusVisible: a } = Zv(), o = i || a, s = {+function Hle({ children: e, count: t, label: n }) {+ let r = lne(), i = (0, b.useSyncExternalStore)(Vle, Ble, () => !1), { isFocusVisible: a } = Zv(), o = i || a, s = {opacity: 0,transform: "translate(-50%, 8px)"};@@ -27570,18 +27570,18 @@ function Ule({ children: e, count: t, label: n }) {}), e]});}-function kC({ visible: e, ...t }) {- return /* @__PURE__ */ (0, x.jsx)(dne, { children: e ? /* @__PURE__ */ (0, x.jsx)(Ule, { ...t }, "selection") : null });+function AC({ visible: e, ...t }) {+ return /* @__PURE__ */ (0, x.jsx)(dne, { children: e ? /* @__PURE__ */ (0, x.jsx)(Hle, { ...t }, "selection") : null });}//#endregion//#region src/react/batch-dock/batch-dock-api.ts-var AC = {+var jC = {group: "clear",operation: "clear",label: "取消",glyph: "x"};-function Wle(e, t = !1) {+function Ule(e, t = !1) {switch (e) {case "trash": return [{@@ -27597,7 +27597,7 @@ function Wle(e, t = !1) {glyph: "trash",danger: !0},- AC+ jC];case "junk": return [t ? {@@ -27618,7 +27618,7 @@ function Wle(e, t = !1) {glyph: "trash",danger: !0},- AC+ jC];case "follow": return [{@@ -27639,7 +27639,7 @@ function Wle(e, t = !1) {label: "忽略",glyph: "eye-off"},- AC+ jC];default: return [{@@ -27673,48 +27673,48 @@ function Wle(e, t = !1) {glyph: "trash",danger: !0},- AC+ jC];}}//#endregion//#region src/react/batch-dock/batch-dock-island.tsx-var jC = null, MC = {+var MC = null, NC = {count: 0,context: "catalog",junkDismissed: !1-}, NC = /* @__PURE__ */ new Set();-function Gle(e) {- return NC.add(e), () => {- NC.delete(e);+}, PC = /* @__PURE__ */ new Set();+function Wle(e) {+ return PC.add(e), () => {+ PC.delete(e);};}-function Kle() {- for (let e of [...NC]) e();+function Gle() {+ for (let e of [...PC]) e();}-var qle = { render(e) {- MC = e, (0, mt.flushSync)(Kle);+var Kle = { render(e) {+ NC = e, (0, mt.flushSync)(Gle);} };-function Jle(e) {- return jC = e, qle;+function qle(e) {+ return MC = e, Kle;}-function Yle() {- let e = (0, b.useSyncExternalStore)(Gle, () => MC);- return jC ? /* @__PURE__ */ (0, x.jsx)(Xle, {- host: jC,+function Jle() {+ let e = (0, b.useSyncExternalStore)(Wle, () => NC);+ return MC ? /* @__PURE__ */ (0, x.jsx)(Yle, {+ host: MC,props: e}) : null;}-function Xle({ host: e, props: t }) {+function Yle({ host: e, props: t }) {return /* @__PURE__ */ (0, x.jsx)("div", {className: "peach-react","data-batch-scope": "","data-context": t.context,- children: /* @__PURE__ */ (0, x.jsx)(kC, {+ children: /* @__PURE__ */ (0, x.jsx)(AC, {label: "所选项目操作",visible: t.count > 0,count: `已选 ${t.count.toLocaleString()} 项`,- children: Wle(t.context, t.junkDismissed).map((t) => /* @__PURE__ */ (0, x.jsxs)("button", {+ children: Ule(t.context, t.junkDismissed).map((t) => /* @__PURE__ */ (0, x.jsxs)("button", {type: "button","data-batch-group": t.group,"data-batch-action": t.operation,@@ -27731,12 +27731,12 @@ function Xle({ host: e, props: t }) {}//#endregion//#region src/number-setting.ts-function PC(e, t, n, r) {+function FC(e, t, n, r) {return Number.isInteger(e) && e >= t && e <= n ? e : r;}//#endregion//#region src/settings-store.ts-function Zle(e, t) {+function Xle(e, t) {let n = /* @__PURE__ */ new Set(), r = 0, i = () => {r += 1, n.forEach((e) => e());};@@ -27756,7 +27756,7 @@ function Zle(e, t) {}//#endregion//#region src/sort-preferences.ts-var FC = [+var IC = [["seed", "随机"],["rating", "评分"],["o", "高潮计数"],@@ -27765,7 +27765,7 @@ var FC = [["size", "体积"],["new", "入库时间"],["played", "观看时间"]-], IC = ["release", "发行时间"], LC = [...FC, IC].map(([e]) => e), RC = {+], LC = ["release", "发行时间"], RC = [...IC, LC].map(([e]) => e), zC = {rating: ["从高到低", "从低到高"],o: ["从多到少", "从少到多"],plays: ["从多到少", "从少到多"],@@ -27774,28 +27774,28 @@ var FC = [new: ["从新到旧", "从旧到新"],played: ["从近到远", "从远到近"],release: ["从新到旧", "从旧到新"]-}, zC = {+}, BC = {big: ["size", "desc"],short: ["dur", "asc"],long: ["dur", "desc"]-}, BC = (e, t, n = RC) => (n[e] || [])[+(t === "asc")] || "", VC = (e, t = RC) => t[e] ? "desc" : "";-function HC(e, t, n, r = RC) {+}, VC = (e, t, n = zC) => (n[e] || [])[+(t === "asc")] || "", HC = (e, t = zC) => t[e] ? "desc" : "";+function UC(e, t, n, r = zC) {return e === t ? r[e] ? {sort: e,dir: n === "asc" ? "desc" : "asc"} : null : {sort: e,- dir: VC(e, r)+ dir: HC(e, r)};}-function UC(e, t, n) {+function WC(e, t, n) {return e === "seed" ? "" : e === t && n === "asc" ? "asc" : "desc";}-function WC(e, t, n, r, i = n) {- let a = e ? zC[e] : void 0, o = a ? a[0] : e, s = o && LC.includes(o) ? o : i;- return RC[s] ? {+function GC(e, t, n, r, i = n) {+ let a = e ? BC[e] : void 0, o = a ? a[0] : e, s = o && RC.includes(o) ? o : i;+ return zC[s] ? {sort: s,- dir: t === "asc" || t === "desc" ? t : a ? a[1] : e ? "desc" : UC(s, n, r)+ dir: t === "asc" || t === "desc" ? t : a ? a[1] : e ? "desc" : WC(s, n, r)} : {sort: s,dir: ""@@ -27803,15 +27803,15 @@ function WC(e, t, n, r, i = n) {}//#endregion//#region src/appearance/home-glow.ts-var GC = [+var KC = ["spot1","spot2","spot3"-], Qle = [+], Zle = ["光晕一","光晕二","光晕三"-], KC = "native", qC = [+], qC = "native", JC = [["ash","灰雾",@@ -28117,7 +28117,7 @@ var GC = ["rose"],[- KC,+ qC,"玻璃原色",{spot1: {@@ -28135,7 +28135,7 @@ var GC = [},"blue"]-], JC = (e) => e === KC, YC = [...qC.map(([e, t]) => [e, t]), ["custom", "自定义"]], $le = (e) => (YC.find(([t]) => t === e) || YC[0])[1], XC = (e) => structuredClone((qC.find(([t]) => t === e) || qC[0])[2]), ZC = [+], YC = (e) => e === qC, XC = [...JC.map(([e, t]) => [e, t]), ["custom", "自定义"]], Qle = (e) => (XC.find(([t]) => t === e) || XC[0])[1], ZC = (e) => structuredClone((JC.find(([t]) => t === e) || JC[0])[2]), QC = [["red", "红"],["orange", "橙"],["amber", "琥珀"],@@ -28148,7 +28148,7 @@ var GC = [["violet", "紫罗兰"],["fuchsia", "品红"],["rose", "玫红"]-], QC = "blue", $C = (e) => ZC.some(([t]) => t === e) ? e : QC, eue = (e) => (qC.find(([t]) => t === e) || [])[3] || "blue", tue = [+], $C = "blue", ew = (e) => QC.some(([t]) => t === e) ? e : $C, $le = (e) => (JC.find(([t]) => t === e) || [])[3] || "blue", eue = [["all", "全部"],["gray", "灰"],["red", "红"],@@ -28158,7 +28158,7 @@ var GC = [["blue", "蓝"],["purple", "紫"],["brown", "棕"]-], nue = [+], tue = [["gray","云灰",@@ -28554,11 +28554,11 @@ var GC = ["霁蓝","#6686b8"]-], ew = (e, t, n, r) => Number.isInteger(e) && e >= t && e <= n ? e : r, tw = (e, t) => /^#[0-9a-f]{6}$/i.test(String(e)) ? String(e).toLowerCase() : t, rue = (e, t) => `rgba(${[+], tw = (e, t, n, r) => Number.isInteger(e) && e >= t && e <= n ? e : r, nw = (e, t) => /^#[0-9a-f]{6}$/i.test(String(e)) ? String(e).toLowerCase() : t, nue = (e, t) => `rgba(${[1,3,5-].map((t) => parseInt(e.slice(t, t + 2), 16)).join(",")},${(t / 100).toFixed(2)})`, iue = {+].map((t) => parseInt(e.slice(t, t + 2), 16)).join(",")},${(t / 100).toFixed(2)})`, rue = {strength: [0,100,@@ -28584,7 +28584,7 @@ var GC = [100,50]-}, nw = {+}, rw = {on: !0,preset: "ash",strength: 100,@@ -28592,57 +28592,57 @@ var GC = [speed: 100,soften: 50,size: 50,- ...XC("ash")+ ...ZC("ash")};-function rw(e) {- let t = e && typeof e == "object" ? e : {}, n = YC.some(([e]) => e === t.preset), r = n ? t.preset : "ash", i = XC(r === "custom" ? "ash" : r), a = {+function iw(e) {+ let t = e && typeof e == "object" ? e : {}, n = XC.some(([e]) => e === t.preset), r = n ? t.preset : "ash", i = ZC(r === "custom" ? "ash" : r), a = {on: t.on !== !1,preset: r};- for (let [e, [n, r, i]] of Object.entries(iue)) a[e] = ew(+t[e], n, r, i);- for (let e of GC) {+ for (let [e, [n, r, i]] of Object.entries(rue)) a[e] = tw(+t[e], n, r, i);+ for (let e of KC) {let r = n && t[e] && typeof t[e] == "object" ? t[e] : {}, o = i[e];a[e] = {- color: tw(r.color, o.color),- alpha: ew(+r.alpha, 0, 100, o.alpha)+ color: nw(r.color, o.color),+ alpha: tw(+r.alpha, 0, 100, o.alpha)};}return a;}-var aue = (e) => `conic-gradient(from -90deg,${e.map((t, n) => `${t} ${(n * 100 / e.length).toFixed(3)}% ${((n + 1) * 100 / e.length).toFixed(3)}%`).join(",")})`, iw = /* @__PURE__ */ new WeakMap();-function oue(e, t) {+var iue = (e) => `conic-gradient(from -90deg,${e.map((t, n) => `${t} ${(n * 100 / e.length).toFixed(3)}% ${((n + 1) * 100 / e.length).toFixed(3)}%`).join(",")})`, aw = /* @__PURE__ */ new WeakMap();+function aue(e, t) {if (!e) return;- let n = iw.get(e);- n || (n = /* @__PURE__ */ new Map(), iw.set(e, n));- let r = t.on && !JC(t.preset), i = (t, r) => {+ let n = aw.get(e);+ n || (n = /* @__PURE__ */ new Map(), aw.set(e, n));+ let r = t.on && !YC(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"), GC.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"), KC.forEach((e, n) => {let r = t[e];- i(`--glow-spot-${n + 1}-color`, rue(r.color, r.alpha));+ i(`--glow-spot-${n + 1}-color`, nue(r.color, r.alpha));});}-function sue(e, t) {+function oue(e, t) {if (!e) return;- let n = !t.on || JC(t.preset);+ let n = !t.on || YC(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 cue = "peach.settings.v1", lue = [+var sue = "peach.settings.v1", cue = ["system","light","dark"-], aw = [+], ow = [0,7,30,90-], uue = [+], lue = ["feedHideGroupCompilations","feedHideSoloCompilations","feedHideExcerpts"-], ow = {+], sw = {batchSize: 60,defaultSort: "seed",sortDefaultsVersion: 3,@@ -28662,46 +28662,46 @@ var cue = "peach.settings.v1", lue = [theme: "system",groupCollapse: !0,sidebarOrder: [...oc],- homeGlow: nw,- accent: QC-}, sw = (e, t, n) => t.includes(e) ? e : n;-function due(e) {+ homeGlow: rw,+ accent: $C+}, cw = (e, t, n) => t.includes(e) ? e : n;+function uue(e) {let t = e && typeof e == "object" ? e : {}, n = {- ...ow,+ ...sw,...t};- n.followInitialDays = aw.includes(+n.followInitialDays) ? +n.followInitialDays : 30, delete n.rotateMinutes;+ n.followInitialDays = ow.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 = zC[n.defaultSort];- return i < 3 && a && (n.defaultSort = a[0], r = !0), n.sortDefaultsVersion = 3, n.batchSize = PC(+n.batchSize, 1, 200, 60), n.defaultSort = sw(n.defaultSort, LC, "seed"), n.hoverDelaySeconds = PC(+n.hoverDelaySeconds, 0, 60, 5), n.seekSeconds = PC(+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 = PC(+n.searchHistoryLimit, 0, 50, 10), n.relatedLimit = PC(+n.relatedLimit, 0, 60, 20), Object.assign(n, Yi(n)), n.theme = sw(n.theme, lue, "system"), n.homeGlow = rw(n.homeGlow), n.accent = $C(n.accent), n.sidebarOrder = uc(n.sidebarOrder), {+ let a = BC[n.defaultSort];+ return i < 3 && a && (n.defaultSort = a[0], r = !0), n.sortDefaultsVersion = 3, n.batchSize = FC(+n.batchSize, 1, 200, 60), n.defaultSort = cw(n.defaultSort, RC, "seed"), n.hoverDelaySeconds = FC(+n.hoverDelaySeconds, 0, 60, 5), n.seekSeconds = FC(+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 = FC(+n.searchHistoryLimit, 0, 50, 10), n.relatedLimit = FC(+n.relatedLimit, 0, 60, 20), Object.assign(n, Yi(n)), n.theme = cw(n.theme, cue, "system"), n.homeGlow = iw(n.homeGlow), n.accent = ew(n.accent), n.sidebarOrder = uc(n.sidebarOrder), {settings: n,migrated: r};}-function fue(e) {+function due(e) {let t = {};try {t = JSON.parse(e.getItem("peach.settings.v1") || "{}");} catch {}- return due(t);+ return uue(t);}-var cw = null;-function lw() {- if (cw) return cw;- let { settings: e, migrated: t } = fue(localStorage);- return cw = Zle(cue, e), t && cw.save(), cw;+var lw = null;+function uw() {+ if (lw) return lw;+ let { settings: e, migrated: t } = due(localStorage);+ return lw = Xle(sue, e), t && lw.save(), lw;}-function uw(e, t, n = lw()) {+function dw(e, t, n = uw()) {let r = n.value, i = e && e.followInitialDays;- aw.includes(i) && (r.followInitialDays = i, n.save());- for (let t of uue) typeof e?.[t] == "boolean" && e[t] !== r[t] && (r[t] = e[t], n.save());+ ow.includes(i) && (r.followInitialDays = i, n.save());+ for (let t of lue) 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 = PC(a, 0, 50, 10), n.save(), t("searchHistoryLimit")) : e && e.searchHistoryLimit === null && r.searchHistoryLimit !== ow.searchHistoryLimit && pue(n);+ Number.isInteger(a) && a >= 0 && a <= 50 ? a !== r.searchHistoryLimit && (r.searchHistoryLimit = FC(a, 0, 50, 10), n.save(), t("searchHistoryLimit")) : e && e.searchHistoryLimit === null && r.searchHistoryLimit !== sw.searchHistoryLimit && fue(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 pue(e = lw()) {+function fue(e = uw()) {return Dt("/api/settings", {method: "POST",body: JSON.stringify({ searchHistoryLimit: e.value.searchHistoryLimit })@@ -28709,7 +28709,7 @@ function pue(e = lw()) {}//#endregion//#region src/appearance/theme.ts-var mue = [+var pue = [["system","跟随系统",@@ -28725,32 +28725,32 @@ var mue = ["深色","moon"]-], hue = null, dw = () => hue ??= matchMedia("(prefers-color-scheme: dark)"), fw = null;-function gue() {- return fw || (fw = document.createElement("style"), fw.textContent = "*:not(.board-theme-thumb),*::before,*::after{transition:none!important}"), fw.isConnected || document.head.append(fw), () => {+], mue = null, fw = () => mue ??= matchMedia("(prefers-color-scheme: dark)"), pw = null;+function hue() {+ return pw || (pw = document.createElement("style"), pw.textContent = "*:not(.board-theme-thumb),*::before,*::after{transition:none!important}"), pw.isConnected || document.head.append(pw), () => {getComputedStyle(document.documentElement).opacity;let e = () => {- cancelAnimationFrame(t), clearTimeout(n), fw?.remove();+ cancelAnimationFrame(t), clearTimeout(n), pw?.remove();}, t = requestAnimationFrame(e), n = setTimeout(e, 100);};}-function pw(e = lw().value.theme) {- let t = gue(), n = document.documentElement;+function mw(e = uw().value.theme) {+ let t = hue(), n = document.documentElement;e === "system" ? delete n.dataset.theme : n.dataset.theme = e;- let r = e === "dark" || e === "system" && dw().matches;+ let r = e === "dark" || e === "system" && fw().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 mw = !1;-function _ue() {- mw || (mw = !0, dw().addEventListener("change", () => {- lw().value.theme === "system" && pw();+var hw = !1;+function gue() {+ hw || (hw = !0, fw().addEventListener("change", () => {+ uw().value.theme === "system" && mw();}));}//#endregion//#region src/appearance/layout.ts-var hw = [[+var gw = [["big","大图","maximize"@@ -28758,7 +28758,7 @@ var hw = [["small","小图","layout-grid"-]], gw = [[+]], _w = [["big","大图","maximize"@@ -28766,7 +28766,7 @@ var hw = [["small","小图","layout-grid"-]], _w = [[+]], vw = [["fixed","固定比例","layout-grid"@@ -28774,121 +28774,121 @@ var hw = [["masonry","瀑布流","columns-2"-]], vw = .75, yw = () => lw().value, bw = (e = yw()) => Ji(e.javLayout), vue = (e = yw()) => Ji(e.homeLayout), yue = (e, t = yw()) => e ? vue(t) : bw(t), bue = gw.map(([e]) => e), xue = _w.map(([e]) => e), xw = (e = yw()) => sw(e.photoSize, bue, "small"), Sw = (e = yw()) => sw(e.photoLayout, xue, "masonry"), Cw = null;-function ww(e, t = yw()) {+]], yw = .75, bw = () => uw().value, xw = (e = bw()) => Ji(e.javLayout), _ue = (e = bw()) => Ji(e.homeLayout), vue = (e, t = bw()) => e ? _ue(t) : xw(t), yue = _w.map(([e]) => e), bue = vw.map(([e]) => e), Sw = (e = bw()) => cw(e.photoSize, yue, "small"), Cw = (e = bw()) => cw(e.photoLayout, bue, "masonry"), ww = null;+function Tw(e, t = bw()) {let n = {active: e.active,- size: yue(e.home, t),+ size: vue(e.home, t),portrait: e.portrait,javImage: t.javImage- }, r = Cw;- return (!r || Object.keys(n).some((e) => n[e] !== r[e])) && (Cw = n), Cw;+ }, r = ww;+ return (!r || Object.keys(n).some((e) => n[e] !== r[e])) && (ww = n), ww;}-function Tw(e) {- return e.portrait ? 9 / 16 : e.active && e.size === "big" ? vw : 16 / 9;+function Ew(e) {+ return e.portrait ? 9 / 16 : e.active && e.size === "big" ? yw : 16 / 9;}-function Sue(e, t = lw()) {+function xue(e, t = uw()) {t.value.homeLayout = Ji(e), t.save();}-function Cue(e, t = lw()) {+function Sue(e, t = uw()) {t.value.javLayout = Ji(e), t.save();}-function wue(e, t = lw()) {+function Cue(e, t = uw()) {t.value.homeLayout = t.value.javLayout = Ji(e), t.save();}-function Tue(e, t = lw()) {- t.value.photoSize = sw(e, bue, "small"), t.save();+function wue(e, t = uw()) {+ t.value.photoSize = cw(e, yue, "small"), t.save();}-function Eue(e, t = lw()) {- t.value.photoLayout = sw(e, xue, "masonry"), t.save();+function Tue(e, t = uw()) {+ t.value.photoLayout = cw(e, bue, "masonry"), t.save();}//#endregion//#region src/appearance/density.ts-var Due = "density", Oue = {+var Eue = "density", Due = {big: "336px",dense: "168px"-}, kue = () => localStorage.getItem(Due) === "dense" ? "dense" : "big";-function Aue(e, t) {- let [n, r] = gw;+}, Oue = () => localStorage.getItem(Eue) === "dense" ? "dense" : "big";+function kue(e, t) {+ let [n, r] = _w;e.querySelector("[data-icon-swap]") ? fo(e, t === r[0] ? "b" : "a") : e.innerHTML = uo(n[2], r[2], t === r[0] ? "b" : "a"), e.setAttribute("aria-label", t === "big" ? "切换为小图" : "切换为大图");}-var jue = () => document.querySelector("#density");-function Ew(e = kue()) {- document.documentElement.style.setProperty("--tile", Oue[e]), document.body.dataset.density = e;- let t = jue();- t && (t.setAttribute("aria-pressed", String(e === "dense")), t.title = "当前:" + (e === "big" ? "大图" : "密集"), Aue(t, e === "big" ? "big" : "small"));+var Aue = () => document.querySelector("#density");+function Dw(e = Oue()) {+ document.documentElement.style.setProperty("--tile", Due[e]), document.body.dataset.density = e;+ let t = Aue();+ t && (t.setAttribute("aria-pressed", String(e === "dense")), t.title = "当前:" + (e === "big" ? "大图" : "密集"), kue(t, e === "big" ? "big" : "small"));}-function Mue() {- let e = kue() === "big" ? "dense" : "big";- localStorage.setItem(Due, e), Ew(e);+function jue() {+ let e = Oue() === "big" ? "dense" : "big";+ localStorage.setItem(Eue, e), Dw(e);}-function Nue(e) {- let t = jue();- t && (t.setAttribute("aria-pressed", String(e === "small")), t.title = "当前:" + (e === "big" ? "大图" : "小图"), Aue(t, e));+function Mue(e) {+ let t = Aue();+ t && (t.setAttribute("aria-pressed", String(e === "small")), t.title = "当前:" + (e === "big" ? "大图" : "小图"), kue(t, e));}//#endregion//#region src/appearance/glow.ts-function Pue(e = lw()) {- oue(document.querySelector(".glowlayer"), e.value.homeGlow);+function Nue(e = uw()) {+ aue(document.querySelector(".glowlayer"), e.value.homeGlow);}-var Fue = 0;-function Dw(e = lw()) {- Fue ||= requestAnimationFrame(() => {- Fue = 0, Pue(e);+var Pue = 0;+function Ow(e = uw()) {+ Pue ||= requestAnimationFrame(() => {+ Pue = 0, Nue(e);});}-function Ow(e = lw()) {- sue(document.documentElement, e.value.homeGlow);+function kw(e = uw()) {+ oue(document.documentElement, e.value.homeGlow);}-function kw(e = lw()) {+function Aw(e = uw()) {document.documentElement.dataset.accent = e.value.accent;}-var Iue = (e, t, n) => ({+var Fue = (e, t, n) => ({key: e,label: t,- native: JC(e),- fill: JC(e) ? "" : aue(n)+ native: YC(e),+ fill: YC(e) ? "" : iue(n)});-function Lue(e) {- let t = qC.map(([e, t, n]) => Iue(e, t, GC.map((e) => n[e].color)));- return e.preset === "custom" && t.push(Iue("custom", "自定义", GC.map((t) => e[t].color))), t;+function Iue(e) {+ let t = JC.map(([e, t, n]) => Fue(e, t, KC.map((e) => n[e].color)));+ return e.preset === "custom" && t.push(Fue("custom", "自定义", KC.map((t) => e[t].color))), t;}-var Rue = ZC;-function zue(e, t = lw()) {+var Lue = QC;+function Rue(e, t = uw()) {if (e === "custom") return;let n = t.value.homeGlow;- n.preset = e, Object.assign(n, XC(e)), t.value.accent = eue(e), t.save(), Dw(t), Ow(t), kw(t);+ n.preset = e, Object.assign(n, ZC(e)), t.value.accent = $le(e), t.save(), Ow(t), kw(t), Aw(t);}-function Bue(e, t = lw()) {- t.value.accent = $C(e), t.save(), kw(t);+function zue(e, t = uw()) {+ t.value.accent = ew(e), t.save(), Aw(t);}-function Vue(e = lw()) {+function Bue(e = uw()) {let t = e.value.homeGlow;- t.preset = nw.preset, Object.assign(t, XC(t.preset)), e.value.accent = QC, e.save(), Dw(e), Ow(e), kw(e);+ t.preset = rw.preset, Object.assign(t, ZC(t.preset)), e.value.accent = $C, e.save(), Ow(e), kw(e), Aw(e);}-function Hue(e, t) {- e.style.setProperty("--glow-swatch", t.on ? t.spot1.color : "var(--color-accent-500)"), e.toggleAttribute("data-glow-native", t.on && JC(t.preset)), e.toggleAttribute("data-glow-off", !t.on);+function Vue(e, t) {+ e.style.setProperty("--glow-swatch", t.on ? t.spot1.color : "var(--color-accent-500)"), e.toggleAttribute("data-glow-native", t.on && YC(t.preset)), e.toggleAttribute("data-glow-off", !t.on);}-function Uue(e, t = lw()) {- return Hue(e, t.value.homeGlow), t.subscribe(() => Hue(e, t.value.homeGlow));+function Hue(e, t = uw()) {+ return Vue(e, t.value.homeGlow), t.subscribe(() => Vue(e, t.value.homeGlow));}//#endregion//#region src/react/components/glow-preset-grid.tsx-function Wue({ store: e, label: t, hidden: n }) {+function Uue({ store: e, label: t, hidden: n }) {let r = e.value.homeGlow;return /* @__PURE__ */ (0, x.jsx)("div", {"data-glow-grid": "",role: "group","aria-label": t,hidden: n,- children: Lue(r).map((t) => /* @__PURE__ */ (0, x.jsx)("button", {+ children: Iue(r).map((t) => /* @__PURE__ */ (0, x.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: () => zue(t.key, e),+ onClick: () => Rue(t.key, e),children: /* @__PURE__ */ (0, x.jsx)("span", {"data-glow-ball": "","aria-hidden": "true",@@ -28900,14 +28900,14 @@ function Wue({ store: e, label: t, hidden: n }) {}//#endregion//#region src/react/glow-picker/glow-picker-island.tsx-var Aw = null;-function Gue(e) {- Aw = e;+var jw = null;+function Wue(e) {+ jw = e;}-function Kue() {- return Aw ? /* @__PURE__ */ (0, x.jsx)(que, { host: Aw }) : null;+function Gue() {+ return jw ? /* @__PURE__ */ (0, x.jsx)(Kue, { host: jw }) : null;}-function que({ host: e }) {+function Kue({ host: e }) {let { store: t } = e;(0, b.useSyncExternalStore)(t.subscribe, t.version);let { homeGlow: n, accent: r } = t.value;@@ -28919,11 +28919,11 @@ function que({ host: e }) {children: [/* @__PURE__ */ (0, x.jsx)("span", { children: "光晕" }), /* @__PURE__ */ (0, x.jsx)("button", {type: "button","data-glow-preset-reset": "",- onClick: () => Vue(t),+ onClick: () => Bue(t),children: "重置"})]}),- /* @__PURE__ */ (0, x.jsx)(Wue, {+ /* @__PURE__ */ (0, x.jsx)(Uue, {store: t,label: "光晕",hidden: !n.on@@ -28937,14 +28937,14 @@ function que({ host: e }) {"data-accent-grid": "",role: "group","aria-label": "强调色",- children: Rue.map(([e, n]) => /* @__PURE__ */ (0, x.jsx)("button", {+ children: Lue.map(([e, n]) => /* @__PURE__ */ (0, x.jsx)("button", {type: "button","data-glow-chip": "","data-accent": e,"aria-pressed": e === r,title: n,"aria-label": n,- onClick: () => Bue(e, t),+ onClick: () => zue(e, t),children: /* @__PURE__ */ (0, x.jsx)("span", {"data-glow-ball": "","aria-hidden": "true",@@ -28963,32 +28963,32 @@ function que({ host: e }) {}//#endregion//#region src/player/host.ts-var jw = null;-function Jue(e) {- jw = e;+var Mw = null;+function que(e) {+ Mw = e;}-function Mw() {- if (!jw) throw Error("播放器还没有接上宿主(configurePlayer)");- return jw;+function Nw() {+ if (!Mw) throw Error("播放器还没有接上宿主(configurePlayer)");+ return Mw;}//#endregion//#region src/player/menu.ts-var Nw = null;-function Yue(e) {- Nw = e;+var Pw = null;+function Jue(e) {+ Pw = e;}-function Xue() {+function Yue() {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 Pw = null, Zue = (e, t) => t ? e.replace("<svg", `<svg ${t}=""`) : e;-function Fw() {+var Fw = null, Xue = (e, t) => t ? e.replace("<svg", `<svg ${t}=""`) : e;+function Iw() {let e = document.getElementById("playerMenu");e?.matches(":popover-open") && e.hidePopover(), e && e.parentElement !== document.body && document.body.append(e), e && qa(e, () => {e.innerHTML = "";- }), Pw &&= (Pw(), null);+ }), Fw &&= (Fw(), null);}-async function Que(e) {+async function Zue(e) {try {return await navigator.clipboard.writeText(e), !0;} catch {@@ -29001,8 +29001,8 @@ async function Que(e) {return t.remove(), n;}}-function $ue(e) {- let t = !!Nw?.inMiniplayer(e), n = e.peachItem, r = Nw?.kind(e) ?? "item", i = (t) => {+function Que(e) {+ let t = !!Pw?.inMiniplayer(e), n = e.peachItem, r = Pw?.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) {let e = new URLSearchParams(location.search);@@ -29018,7 +29018,7 @@ function $ue(e) {}return t && i.searchParams.set("t", String(Math.floor(e.currentTime() || 0))), i.href;}, a = (e, t) => {- Que(i(e)).then((e) => Mw().toast(e ? t : "复制失败,请手动复制地址栏", {+ Zue(i(e)).then((e) => Nw().toast(e ? t : "复制失败,请手动复制地址栏", {timeout: 4e3,warn: !e}));@@ -29030,11 +29030,11 @@ function $ue(e) {}, t ? {icon: "maximize-2",label: "展开",- run: () => Nw?.expand()+ run: () => Pw?.expand()} : {icon: "picture-in-picture-2",label: "迷你播放器",- run: () => Nw?.toMiniplayer()+ run: () => Pw?.toMiniplayer()}];document.pictureInPictureEnabled && o.push({icon: "player-pip",@@ -29057,29 +29057,29 @@ function $ue(e) {run: () => s.click()}), o;}-function ede(e, t, n) {- let r = Xue();- Fw();- let i = Mw().stage();+function $ue(e, t, n) {+ let r = Yue();+ Iw();+ let i = Nw().stage();i instanceof HTMLDialogElement && i.open && i.append(r), r.setAttribute("popover", "manual");- let a = $ue(e);+ let a = Que(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}">${Zue(R(e.icon), e.fill ? "data-player-menu-fill" : "")}<span>${z(e.label)}</span>${n ? Zue(R("check"), "data-player-menu-check") : ""}</button>`;+ return `<button type="button" role="${n ? "menuitemcheckbox" : "menuitem"}"${n ? ` aria-checked="${e.checked}"` : ""} data-player-menu="${t}">${Xue(R(e.icon), e.fill ? "data-player-menu-fill" : "")}<span>${z(e.label)}</span>${n ? Xue(R("check"), "data-player-menu-check") : ""}</button>`;}).join(""), Ka(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)];- Fw(), n?.run();+ Iw(), n?.run();};});let s = (e) => {- r.contains(e.target) || Fw();+ r.contains(e.target) || Iw();}, c = (e) => {if (e.key === "Escape") {- e.preventDefault(), e.stopPropagation(), Fw();+ e.preventDefault(), e.stopPropagation(), Iw();return;}if (e.key !== "ArrowDown" && e.key !== "ArrowUp") return;@@ -29087,51 +29087,51 @@ function ede(e, t, n) {let t = o.indexOf(document.activeElement);o[(t + (e.key === "ArrowDown" ? 1 : -1) + o.length) % o.length]?.focus();}, l = (t) => {- Ya(t, e.el()) && Fw();+ Ya(t, e.el()) && Iw();};setTimeout(() => {document.addEventListener("pointerdown", s, !0), document.addEventListener("keydown", c, !0), window.addEventListener("scroll", l, {capture: !0,passive: !0});- }, 0), Pw = () => {+ }, 0), Fw = () => {document.removeEventListener("pointerdown", s, !0), document.removeEventListener("keydown", c, !0), window.removeEventListener("scroll", l, !0);}, o[0]?.focus();}-function tde(e) {+function ede(e) {e.el().addEventListener("contextmenu", (t) => {- t.target.closest(".vjs-peach-settings-menu") || (t.preventDefault(), ede(e, t.clientX, t.clientY));- }), e.on("dispose", Fw);+ t.target.closest(".vjs-peach-settings-menu") || (t.preventDefault(), $ue(e, t.clientX, t.clientY));+ }), e.on("dispose", Iw);}//#endregion//#region src/player/registry.ts-var nde = null, Iw = () => nde;-function Lw(e) {- nde = e;-}+var tde = null, Lw = () => tde;function Rw(e) {+ tde = e;+}+function zw(e) {e && !e.isDisposed() && requestAnimationFrame(() => {e.isDisposed() || e.trigger("resize");});}//#endregion//#region src/player/stats.ts-function rde(e) {+function nde(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 ide(e) {+function rde(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 ade = 3e3;-function ode(e, t) {+var ide = 3e3;+function ade(e, t) {let n = Number(e) || 0, r = Yt(t) || 0;return n > 0 && r > 0 ? n * 8 / r : 0;}-function sde(e) {+function ode(e) {let t = [], n = null, r = 0, i = 0;return {bitrate: Number(e) || 0,@@ -29146,10 +29146,10 @@ function sde(e) {},sample(e) {if (!e) return i;- let a = performance.now(), o = ide(e), s = e.currentTime || 0;+ let a = performance.now(), o = rde(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 > ade * 2 && (t.length = 0);+ !i && c > 0 && (r += c), e * 1e3 > ide * 2 && (t.length = 0);}for (n = {at: a,@@ -29158,56 +29158,56 @@ function sde(e) {}, t.push({at: a,advanced: r- }); t.length > 2 && a - t[0].at > ade;) t.shift();+ }); t.length > 2 && a - t[0].at > ide;) 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 zw = 24;-function Bw(e, t) {- e.push(Number.isFinite(t) && t > 0 ? t : 0), e.length > zw && e.splice(0, e.length - zw);+var Bw = 24;+function Vw(e, t) {+ e.push(Number.isFinite(t) && t > 0 ? t : 0), e.length > Bw && e.splice(0, e.length - Bw);}-var Vw = "peach-player-panel";-function Hw(e, t, n, r) {- let i = [...Array(Math.max(0, zw - e.length)).fill(null), ...e], a = Math.max(1, n || 0), o = i.map((e) => {+var Hw = "peach-player-panel";+function Uw(e, t, n, r) {+ let i = [...Array(Math.max(0, Bw - 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="${z(r)}">${o}</span>`;}-function cde() {+function sde() {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 lde(e, t = "") {+function cde(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 ude(e, t = "") {- let n = lde(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 lde(e, t = "") {+ let n = cde(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 dde(e, t, n = "", r = null) {+function ude(e, t, n = "", r = null) {let i = 0;try {i = Number(e?.tech({ IWillNotUseThisInPlugins: !0 })?.vhs?.stats?.bandwidth) || 0;} catch {}- return i > 0 ? i : r ? Number(r.bits) || 0 : ude(t, n);+ return i > 0 ? i : r ? Number(r.bits) || 0 : lde(t, n);}-function Uw(e) {+function Ww(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 fde(e, t) {- return e > 0 ? Uw(e) : t > 0 ? `已缓冲 ${Math.round(t)} 秒` : Uw(0);+function dde(e, t) {+ return e > 0 ? Ww(e) : t > 0 ? `已缓冲 ${Math.round(t)} 秒` : Ww(0);}//#endregion//#region src/player/controls.ts-function Ww(e, t, n = "") {+function Gw(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));@@ -29218,27 +29218,27 @@ function Ww(e, t, n = "") {};return o(), o;}-function pde(e, t) {+function fde(e, t) {e?.closest(".video-js")?.querySelector(`.vjs-control-bar ${t}`)?.click();}-function mde(e, t = !0) {- let n = Mw(), r = n.settings();+function pde(e, t = !0) {+ let n = Nw(), 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 hde = /* @__PURE__ */ new WeakMap();-function gde(e) {+var mde = /* @__PURE__ */ new WeakMap();+function hde(e) {if (!e) return;- let t = Mw().settings().theaterMode;- e.setAttribute("aria-pressed", String(t)), e.querySelector("use")?.setAttribute("href", t ? "#i-theater-exit" : "#i-theater-enter"), hde.get(e)?.(t ? "默认视图" : "影院模式");+ let t = Nw().settings().theaterMode;+ e.setAttribute("aria-pressed", String(t)), e.querySelector("use")?.setAttribute("href", t ? "#i-theater-exit" : "#i-theater-enter"), mde.get(e)?.(t ? "默认视图" : "影院模式");}-function _de(e, t = !0) {- let n = Mw(), r = n.settings();+function gde(e, t = !0) {+ let n = Nw(), r = n.settings();r.theaterMode = !!e, t && n.saveSettings();let i = n.stage();- i?.toggleAttribute("data-theater", r.theaterMode), gde(i?.querySelector("[data-player-theater]")), Rw(Iw());+ i?.toggleAttribute("data-theater", r.theaterMode), hde(i?.querySelector("[data-player-theater]")), zw(Lw());}-function vde(e) {- let t = Mw().stage(), n = t?.querySelector("[data-ambient-canvas]");+function _de(e) {+ let t = Nw().stage(), n = t?.querySelector("[data-ambient-canvas]");if (!t || !n) return () => {};let r = n.getContext("2d", { alpha: !1 });if (!r) return () => {};@@ -29261,9 +29261,9 @@ function vde(e) {}, u = (t) => {e.requestVideoFrameCallback ? e.requestVideoFrameCallback((e) => d(t, e)) : requestAnimationFrame((e) => d(t, e));}, d = (t, n) => {- i || t !== o || (Mw().settings().ambientMode ? e.paused || (!document.hidden && n - a > 480 && (a = n, l()), u(t)) : c());+ i || t !== o || (Nw().settings().ambientMode ? e.paused || (!document.hidden && n - a > 480 && (a = n, l()), u(t)) : c());}, f = () => {- !i && Mw().settings().ambientMode && (l(), e.paused || u(++o));+ !i && Nw().settings().ambientMode && (l(), e.paused || u(++o));}, p = (e) => {let n = !!e.detail.enabled;t.toggleAttribute("data-ambient", n), n ? f() : (o++, c());@@ -29272,7 +29272,7 @@ function vde(e) {i = !0, o++, document.removeEventListener("peachambientchange", p), e.removeEventListener("play", f), e.removeEventListener("loadeddata", f), c();};}-function yde(e, t, n = 0, r = null) {+function vde(e, t, n = 0, r = null) {let i = e.getChild("controlBar")?.el();if (!i || i.querySelector("[data-player-quality]")) return;let a = document.createElement("div");@@ -29282,7 +29282,7 @@ function yde(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]");- Ww(s, "设置");+ Gw(s, "设置");let l = a.querySelector(".vjs-peach-settings-menu"), u = typeof e.qualityLevels == "function" ? e.qualityLevels() : null, d = r, f = "auto", p = (e, t) => {let n = [Number(e), Number(t)].filter((e) => e > 0);return n.length ? Math.min(...n) : 0;@@ -29322,11 +29322,11 @@ function yde(e, t, n = 0, r = null) {active: n};}, g = () => l.getAttribute("aria-hidden") !== "true", _ = (e) => {- l.setAttribute("aria-hidden", String(!e)), s.setAttribute("aria-expanded", String(e)), e && document.dispatchEvent(new CustomEvent(Vw, { detail: "settings" }));+ l.setAttribute("aria-hidden", String(!e)), s.setAttribute("aria-expanded", String(e)), e && document.dispatchEvent(new CustomEvent(Hw, { detail: "settings" }));}, v = () => _(!1), y = (e) => {e.detail !== "settings" && v();};- document.addEventListener(Vw, y);+ document.addEventListener(Hw, y);let b = null, x = (e, t) => {let n = l.querySelector(".vjs-peach-panel"), r = document.createElement("div");if (r.className = "vjs-peach-panel", r.innerHTML = e, !n || !t || !g()) return l.replaceChildren(r), l.style.height = "", r;@@ -29341,12 +29341,12 @@ function yde(e, t, n = 0, r = null) {}), r;}, S = (e, t) => e.querySelector(t), C = "main", w = (t = 0) => {C = "main";- let { active: n } = h(), r = Number(e.playbackRate()) || 1, i = x(`<div class="vjs-peach-panel-menu"><button type="button" class="vjs-peach-menu-row" role="menuitemcheckbox" data-player-ambient aria-checked="${Mw().settings().ambientMode}">+ let { active: n } = h(), r = Number(e.playbackRate()) || 1, i = x(`<div class="vjs-peach-panel-menu"><button type="button" class="vjs-peach-menu-row" role="menuitemcheckbox" data-player-ambient aria-checked="${Nw().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-quality-view>${R("player-quality")}<span>清晰度</span><b>${z(n.label)}</b>${R("player-menu-next")}</button></div>`, t);S(i, "[data-player-ambient]").onclick = () => {- mde(!Mw().settings().ambientMode), w();+ pde(!Nw().settings().ambientMode), w();}, S(i, "[data-player-speed]").onclick = () => O(), S(i, "[data-player-quality-view]").onclick = () => A();}, T = .05, E = [1,@@ -29422,22 +29422,22 @@ function yde(e, t, n = 0, r = null) {"removequalitylevel","change"], j), e.on("dispose", () => {- document.removeEventListener("pointerdown", M), document.removeEventListener(Vw, y), b && clearTimeout(b);- }), h(), bde(e, a), xde(e), (e) => {+ document.removeEventListener("pointerdown", M), document.removeEventListener(Hw, y), b && clearTimeout(b);+ }), h(), yde(e, a), bde(e), (e) => {d = e?.length ? e : null, j();};}-function bde(e, t) {+function yde(e, t) {let n = e.getChild("controlBar")?.el();if (!n || n.querySelector("[data-player-theater]")) return;- let r = Mw().settings().theaterMode, i = document.createElement("div");+ let r = Nw().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");- hde.set(a, Ww(a, "影院模式", "T")), gde(a), a.onclick = (e) => {- e.stopPropagation(), _de(!Mw().settings().theaterMode);+ mde.set(a, Gw(a, "影院模式", "T")), hde(a), a.onclick = (e) => {+ e.stopPropagation(), gde(!Nw().settings().theaterMode);};}-function xde(e) {+function bde(e) {let t = e.getChild("controlBar")?.el();if (!t || t.querySelector(".vjs-peach-right-controls")) return;let n = t.querySelector(":scope>.vjs-play-control");@@ -29449,7 +29449,7 @@ function xde(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 = Ww(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 = Gw(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 ? "播放" : "暂停");};@@ -29460,7 +29460,7 @@ function xde(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 = Ww(p, "静音", "M"), g = () => {+ let h = Gw(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 ? "取消静音" : "静音");};@@ -29486,7 +29486,7 @@ function xde(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 = Ww(x, "显示剩余时间"), T = () => {+ let C = x.querySelector(".vjs-peach-time-text"), w = Gw(x, "显示剩余时间"), T = () => {let t = Math.max(0, Number(e.currentTime()) || 0), n = Math.max(0, Number(e.duration()) || 0), r = Zt(Math.max(0, n - t));C.textContent = `${S ? `-${r}` : Zt(t)} / ${Zt(n)}`, x.dataset.remaining = String(S), w(S ? "显示已播放时间" : "显示剩余时间", S ? `剩余 ${r},总时长 ${Zt(n)};点击显示已播放时间` : `已播放 ${Zt(t)},总时长 ${Zt(n)};点击显示剩余时间`);};@@ -29499,11 +29499,11 @@ function xde(e) {], T), T(), f ? f.insertAdjacentElement("afterend", x) : t.append(x);let E = t.querySelector(":scope>.vjs-picture-in-picture-control");r(E, "player-pip");- let D = Ww(E, "画中画");+ let D = Gw(E, "画中画");e.on(["enterpictureinpicture", "leavepictureinpicture"], () => D(document.pictureInPictureElement ? "退出画中画" : "画中画"));- let O = t.querySelector(":scope>.vjs-fullscreen-control"), k = r(O, "player-fullscreen-enter"), A = Ww(O, "全屏", "F"), j = () => {+ let O = t.querySelector(":scope>.vjs-fullscreen-control"), k = r(O, "player-fullscreen-enter"), A = Gw(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 ? "退出全屏" : "全屏"), Rw(e);+ e.el().toggleAttribute("data-peach-fullscreen", t), k?.setAttribute("href", t ? "#i-player-fullscreen-exit" : "#i-player-fullscreen-enter"), A(t ? "退出全屏" : "全屏"), zw(e);};e.on(["fullscreenchange",@@ -29523,7 +29523,7 @@ function xde(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 = Ww(ee, "展开控件"), te = (t) => {+ let ee = P.querySelector("button"), F = Gw(ee, "展开控件"), te = (t) => {e.el().classList.toggle("vjs-peach-right-expanded", t), ee.setAttribute("aria-expanded", String(t)), F(t ? "收起控件" : "展开控件");};ee.onclick = (t) => {@@ -29535,7 +29535,7 @@ function xde(e) {}, ne = new ResizeObserver(I);ne.observe(e.el()), e.on("dispose", () => ne.disconnect()), te(!1), I();}-function Sde(e, t, n = {}) {+function xde(e, t, n = {}) {let r = e.getChild("controlBar")?.el()?.querySelector(".vjs-progress-control");if (!r || r.querySelector("[data-player-seek-preview]")) return;let i = !!t && n.thumbnail !== !1, a = document.createElement("div");@@ -29569,13 +29569,13 @@ function Sde(e, t, n = {}) {r.removeEventListener("pointermove", p), r.removeEventListener("pointerleave", m);});}-function Cde(e, t) {+function Sde(e, t) {let n = navigator.mediaSession;if (!n || typeof n.setActionHandler != "function") return;let r = () => Yt(e.duration()) || Yt(t.duration) || 0, i = (t) => {let n = r();e.currentTime(Math.max(0, n ? Math.min(n, t) : t));- }, a = () => Math.max(1, Number(Mw().settings().seekSeconds) || 10), o = [+ }, a = () => Math.max(1, Number(Nw().settings().seekSeconds) || 10), o = [["play", () => {e.play();}],@@ -29616,11 +29616,11 @@ function Cde(e, t) {} catch {}});}-function wde(e) {+function Cde(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 Tde(e, t) {+function wde(e, t) {Dt(`/api/assets/${t}/subtitles`).then((t) => {e && !e.isDisposed() && (t?.subtitles || []).filter((e) => e.playable).forEach((t) => {e.addRemoteTextTrack({@@ -29635,35 +29635,35 @@ function Tde(e, t) {}//#endregion//#region src/player/progress.ts-var Ede = "peach.playback-position.v1", Gw = /* @__PURE__ */ new WeakMap();-function Kw(e) {- Gw.get(e)?.(), Gw.delete(e);+var Tde = "peach.playback-position.v1", Kw = /* @__PURE__ */ new WeakMap();+function qw(e) {+ Kw.get(e)?.(), Kw.delete(e);}-function Dde(e, t, n = null) {+function Ede(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 Ode(e) {+function Dde(e) {try {- let t = localStorage.getItem(`${Ede}:${e}`), n = t === null || !t.trim() ? NaN : Number(t);+ let t = localStorage.getItem(`${Tde}:${e}`), n = t === null || !t.trim() ? NaN : Number(t);return Number.isFinite(n) && n >= 0 ? n : null;} catch {return null;}}-function kde(e, t) {- let n = Ode(e);+function Ode(e, t) {+ let n = Dde(e);if (n !== null) return n;let r = Number(t.leave_ratio);return r > 0 && r < 1 ? r * Yt(t.duration) : 0;}-function Ade(e, t) {- Kw(t);+function kde(e, t) {+ qw(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(`${Ede}:${e}`, String(r));+ localStorage.setItem(`${Tde}:${e}`, String(r));} catch {}}, i = () => {n = !0;@@ -29677,7 +29677,7 @@ function Ade(e, t) {"pause","ended"]) t.addEventListener(e, r);- window.addEventListener("pagehide", r), document.addEventListener("visibilitychange", r), Gw.set(t, () => {+ window.addEventListener("pagehide", r), document.addEventListener("visibilitychange", r), Kw.set(t, () => {r(), t.removeEventListener("loadedmetadata", i), t.removeEventListener("emptied", a);for (let e of ["timeupdate",@@ -29690,19 +29690,19 @@ function Ade(e, t) {}//#endregion//#region src/player/telemetry.ts-var qw = /* @__PURE__ */ new WeakMap();-function Jw(e) {- qw.get(e)?.(), qw.delete(e);+var Jw = /* @__PURE__ */ new WeakMap();+function Yw(e) {+ Jw.get(e)?.(), Jw.delete(e);}-function Yw(e, t, n, r) {+function Xw(e, t, n, r) {let i = () => t(!1), a = () => {n(), t(!1);};- e.addEventListener("seeking", r), e.addEventListener("emptied", a), window.addEventListener("pagehide", i), qw.set(e, () => {+ e.addEventListener("seeking", r), e.addEventListener("emptied", a), window.addEventListener("pagehide", i), Jw.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 Xw(e, t, n = {}) {+function Zw(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 = Yt(e.duration) || Yt(t.duration);@@ -29743,11 +29743,11 @@ function Xw(e, t, n = {}) {u(), l(!1);}, t.onended = () => {u(), l(!0), n.onEnded?.();- }, Yw(t, l, u, () => {+ }, Xw(t, l, u, () => {a++;}), c();}-function jde(e, t) {+function Ade(e, t) {let n = 0, r = 0, i = !1, a = null, o = (n) => {let i = Yt(e.duration) || Yt(t.duration);(r || n) && (Dt("/api/follow/activity", {@@ -29778,40 +29778,40 @@ function jde(e, t) {s(), o(!1);}, t.onended = () => {s(), o(!0);- }, Yw(t, o, s, () => {});+ }, Xw(t, o, s, () => {});}//#endregion//#region src/player/dispose.ts-function Zw(e) {+function Qw(e) {if (!e || e.isDisposed()) return;let t = e.el()?.querySelector("video");try {e.pause();} catch {}- t && (Kw(t), Jw(t));+ t && (qw(t), Yw(t));try {e.dispose();} catch {}}//#endregion//#region src/player/stream.ts-function Qw() {+function $w() {return globalThis.crypto?.randomUUID?.() || `${Date.now().toString(36)}-${Math.random().toString(36).slice(2)}`;}-function $w(e, t) {+function eT(e, t) {return {src: `/stream?id=${e.id}&session=${encodeURIComponent(t)}`,type: String(e.name || "").toLowerCase().endsWith(".webm") ? "video/webm" : "video/mp4"};}-function Mde(e) {+function jde(e) {return e.location === "online" && e.follow_item_id ? {src: `/follow-stream?id=${e.follow_item_id}`,type: "video/mp4"} : null;}-async function eT(e, t) {- let n = Mde(e);+async function tT(e, t) {+ let n = jde(e);if (n) return n;try {let n = await Dt(`/api/stream-plan?id=${e.id}&session=${encodeURIComponent(t)}`);@@ -29820,9 +29820,9 @@ async function eT(e, t) {type: n.mime_type || "application/vnd.apple.mpegurl"};} catch {}- return $w(e, t);+ return eT(e, t);}-function tT(e) {+function nT(e) {e && fetch(`/api/stream-cancel?session=${encodeURIComponent(e)}`, {method: "POST",credentials: "same-origin",@@ -29831,21 +29831,21 @@ function tT(e) {document.documentElement.dataset.peachStreamCancel = JSON.stringify(e);}).catch(() => {});}-var nT = "";-function rT() {- return nT;-}+var rT = "";function iT() {- return nT ||= Qw(), nT;+ return rT;}-var Nde = (e) => $w(e, iT()), Pde = (e) => eT(e, iT());function aT() {- let e = nT;- e && (nT = "", tT(e));+ return rT ||= $w(), rT;+}+var Mde = (e) => eT(e, aT()), Nde = (e) => tT(e, aT());+function oT() {+ let e = rT;+ e && (rT = "", nT(e));}//#endregion//#region src/player/videojs.ts-var oT = "/vendor/videojs/8.24.1/", Fde = `${oT}video-js.min.css`, sT = (e) => new Promise((t, n) => {+var sT = "/vendor/videojs/8.24.1/", Pde = `${sT}video-js.min.css`, cT = (e) => new Promise((t, n) => {let r = document.head.querySelector(`script[src="${e}"]`);if (r?.dataset.loaded) {t();@@ -29857,7 +29857,7 @@ var oT = "/vendor/videojs/8.24.1/", Fde = `${oT}video-js.min.css`, sT = (e) => n}, { once: !0 }), i.addEventListener("error", () => {i.remove(), n(/* @__PURE__ */ Error(`script unavailable: ${e}`));}, { once: !0 }), r || (i.src = e, document.head.appendChild(i));-}), Ide = (e) => new Promise((t) => {+}), Fde = (e) => new Promise((t) => {let n = document.head.querySelector(`link[rel="stylesheet"][href="${e}"]`);if (n?.sheet) {t();@@ -29867,20 +29867,20 @@ var oT = "/vendor/videojs/8.24.1/", Fde = `${oT}video-js.min.css`, sT = (e) => nr.addEventListener("load", () => t(), { once: !0 }), r.addEventListener("error", () => {r.remove(), t();}, { once: !0 }), n || (r.rel = "stylesheet", r.href = e, document.head.insertBefore(r, document.head.querySelector("link[rel=\"stylesheet\"]")));-}), cT = () => globalThis.videojs, lT = null;-function uT() {- let e = cT();- return e ? Promise.resolve(e) : (lT ??= Promise.all([Ide(Fde), sT(`${oT}video.min.js`).then(() => sT(`${oT}lang/zh-CN.js`))]).then(() => {- let e = cT();+}), lT = () => globalThis.videojs, uT = null;+function dT() {+ let e = lT();+ return e ? Promise.resolve(e) : (uT ??= Promise.all([Fde(Pde), cT(`${sT}video.min.js`).then(() => cT(`${sT}lang/zh-CN.js`))]).then(() => {+ let e = lT();if (!e) throw Error("videojs unavailable");return e;}).catch((e) => {- throw lT = null, e;- }), lT);+ throw uT = null, e;+ }), uT);}//#endregion//#region src/player/immerse-player.ts-var Lde = {+var Ide = {controls: !1,preload: "auto",posterImage: !1,@@ -29892,37 +29892,37 @@ var Lde = {errorDisplay: !1,textTrackSettings: !1};-function Rde(e, t) {+function Lde(e, t) {let { item: n, session: r } = t, i = null, a = !1;- return Promise.all([eT(n, r), uT().catch(() => null)]).then(([o, s]) => {+ return Promise.all([tT(n, r), dT().catch(() => null)]).then(([o, s]) => {if (a) return;- let c = $w(n, r), l = String(o.type || "").includes("mpegurl");+ let c = eT(n, r), l = String(o.type || "").includes("mpegurl");if (!s) e.src = (l ? c : o).src;else {- let t = s(e, Lde);+ let t = s(e, Ide);i = t, l && t.one("error", () => {a || t.src(c);}), t.src(o);}- Xw(n, e, t.onEnded ? { onEnded: t.onEnded } : {}), t.onLoaded?.();+ Zw(n, e, t.onEnded ? { onEnded: t.onEnded } : {}), t.onLoaded?.();}), () => {- a || (a = !0, tT(r), i ? Zw(i) : (e.pause(), Jw(e), e.removeAttribute("src"), e.load()));+ a || (a = !0, nT(r), i ? Qw(i) : (e.pause(), Yw(e), e.removeAttribute("src"), e.load()));};}//#endregion//#region src/player/detail-player.ts-var dT = /* @__PURE__ */ new WeakMap(), fT = null, pT = null, mT = null;-function hT() {- fT &&= (clearInterval(fT), null), pT &&= (clearInterval(pT), null), mT &&= (clearTimeout(mT), null);+var fT = /* @__PURE__ */ new WeakMap(), pT = null, mT = null, hT = null;+function gT() {+ pT &&= (clearInterval(pT), null), mT &&= (clearInterval(mT), null), hT &&= (clearTimeout(hT), null);}-async function zde(e, t, n, r = {}) {- let i = Iw();+async function Rde(e, t, n, r = {}) {+ let i = Lw();if (i && !i.isDisposed()) return i;- let a = Mw(), o = r.resume ?? null;+ let a = Nw(), o = r.resume ?? null;o?.autoplay && (n = !0);- let s = () => r.source ? Promise.resolve(r.source) : Pde(e), c;+ let s = () => r.source ? Promise.resolve(r.source) : Nde(e), c;try {- c = await uT();+ c = await dT();} catch {return t.controls = !0, s().then((e) => {t.addEventListener("loadedmetadata", () => {@@ -29948,7 +29948,7 @@ async function zde(e, t, n, r = {}) {} }}});- Lw(l), l.peachItem = e, tde(l), l.on("loadedmetadata", () => {+ Rw(l), l.peachItem = e, ede(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}`);});@@ -29956,7 +29956,7 @@ async function zde(e, t, n, r = {}) {speed: [],activity: [],buffer: []- }, f = Number(r.size ?? e.size) || 0, p = sde(ode(f, e.duration)), m = 0, h = !1, g = () => Iw() === l && !l.isDisposed(), _ = () => {+ }, f = Number(r.size ?? e.size) || 0, p = ode(ade(f, e.duration)), m = 0, h = !1, g = () => Lw() === 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(() => {@@ -29967,15 +29967,15 @@ async function zde(e, t, n, r = {}) {ready: !1,updateStats: () => {}};- dT.set(l, y), y.updateStats = () => {+ fT.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 = rT(), h = s ? lde(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 = iT(), h = s ? cde(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 = dde(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 = ude(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 = rde(t);- Bw(d.speed, x), Bw(d.activity, C), Bw(d.buffer, w);+ let w = nde(t);+ Vw(d.speed, x), Vw(d.activity, C), Vw(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 ? ["网络活动",`${_ ? Qt(_) : "—"} · ${h.length} 请求`,@@ -29993,17 +29993,17 @@ async function zde(e, t, n, r = {}) {["连接速度",D,- Hw(d.speed, "speed", Math.max(1e7, ...d.speed), `连接速度 ${D === "—" ? "暂无数据" : D}`)+ Uw(d.speed, "speed", Math.max(1e7, ...d.speed), `连接速度 ${D === "—" ? "暂无数据" : D}`)],[k[0],k[1],- Hw(d.activity, "activity", Math.max(1, ...d.activity), k[2])+ Uw(d.activity, "activity", Math.max(1, ...d.activity), k[2])],["缓冲健康",`${w.toFixed(1)} 秒`,- Hw(d.buffer, "buffer", 30, `当前可连续播放 ${w.toFixed(1)} 秒`)+ Uw(d.buffer, "buffer", 30, `当前可连续播放 ${w.toFixed(1)} 秒`)],["播放时间", `${Zt(t.currentTime)} / ${Zt(u || l.duration())}`],["日期", (/* @__PURE__ */ new Date()).toLocaleString()]@@ -30019,15 +30019,15 @@ async function zde(e, t, n, r = {}) {if (!n || l.isDisposed()) return;let r = v();r || p.sample(t);- let i = dde(l, e.id, rT(), r ? null : p), a = r ? Uw(i) : fde(i, rde(t));+ let i = ude(l, e.id, iT(), r ? null : p), a = r ? Ww(i) : dde(i, nde(t));n.innerHTML = `${R("gauge")}<span class="sr-only">加载速度</span><span>${z(a)}</span>`;}, C = () => {let e = y.chrome?.netBadge;- e && e.isConnected && (e.hidden = !1, S(), pT && clearInterval(pT), pT = setInterval(S, 500));+ e && e.isConnected && (e.hidden = !1, S(), mT && clearInterval(mT), mT = setInterval(S, 500));}, w = () => {let e = y.chrome?.netBadge;- e && (mT && clearTimeout(mT), mT = setTimeout(() => {- e.hidden = !0, pT &&= (clearInterval(pT), null);+ e && (hT && clearTimeout(hT), hT = setTimeout(() => {+ e.hidden = !0, mT &&= (clearInterval(mT), null);}, 1400));};return l.on([@@ -30038,7 +30038,7 @@ async function zde(e, t, n, r = {}) {], C), l.on(["canplay", "playing"], () => {S(), w();}), l.on("error", () => {- b && !x && !l.isDisposed() ? (x = !0, b = !1, l.src(Nde(e)), n && l.play()?.catch(() => {})) : r.checkSourceStatus !== !1 && a.loadSourceStatus().then((t) => {+ b && !x && !l.isDisposed() ? (x = !0, b = !1, l.src(Mde(e)), n && l.play()?.catch(() => {})) : r.checkSourceStatus !== !1 && a.loadSourceStatus().then((t) => {t[String(e.location)] !== !1 || l.isDisposed() || l.error({code: 2,message: `脱盘模式 · ${a.offlineReason(String(e.location))}`@@ -30046,13 +30046,13 @@ async function zde(e, t, n, r = {}) {});}), l.ready(() => {_();- let n = yde(l, t, e.height, r.qualities ?? null);+ let n = vde(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 = ode(r, e.duration));- }).catch(() => {}), Sde(l, e, { thumbnail: !r.source }), Cde(l, e), wde(l), r.source || Tde(l, e.id), y.ready = !0, y.chrome?.statsButton && (y.chrome.statsButton.hidden = !1);+ r > 0 && !f && (f = r, p.bitrate = ade(r, e.duration));+ }).catch(() => {}), xde(l, e, { thumbnail: !r.source }), Sde(l, e), Cde(l), r.source || wde(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;@@ -30061,14 +30061,14 @@ async function zde(e, t, n, r = {}) {}), l.src(e), _(), setTimeout(_, 0), setTimeout(_, 250), n && l.play()?.catch(() => {}));}).catch(() => {}), l;}-var Bde = "<canvas data-ambient-canvas=\"\" width=\"32\" height=\"18\"></canvas>";-function gT(e, t = null) {- if (e.querySelector(":scope > [data-ambient-canvas]") || e.insertAdjacentHTML("afterbegin", Bde), e.querySelector(":scope > #playerStatsBtn")) return;+var zde = "<canvas data-ambient-canvas=\"\" width=\"32\" height=\"18\"></canvas>";+function _T(e, t = null) {+ if (e.querySelector(":scope > [data-ambient-canvas]") || e.insertAdjacentHTML("afterbegin", zde), e.querySelector(":scope > #playerStatsBtn")) return;let n = document.createElement("template");- n.innerHTML = cde(), e.insertBefore(n.content, t);+ n.innerHTML = sde(), e.insertBefore(n.content, t);}-function _T(e, t) {- let n = dT.get(e);+function vT(e, t) {+ let n = fT.get(e);if (!n || e.isDisposed()) return () => {};let r = (e) => t.querySelector(`:scope > #${e}`), i = {statsButton: r("playerStatsBtn"),@@ -30080,27 +30080,27 @@ function _T(e, t) {if (a && o) {a.hidden = !n.ready;let e = () => {- o.hidden || (o.hidden = !0, a.setAttribute("aria-pressed", "false"), fT &&= (clearInterval(fT), null));+ o.hidden || (o.hidden = !0, a.setAttribute("aria-pressed", "false"), pT &&= (clearInterval(pT), null));};a.onclick = () => {- o.hidden ? (document.dispatchEvent(new CustomEvent(Vw, { detail: "stats" })), o.hidden = !1, a.setAttribute("aria-pressed", "true"), n.updateStats(), fT && clearInterval(fT), fT = setInterval(n.updateStats, 1e3)) : e();+ o.hidden ? (document.dispatchEvent(new CustomEvent(Hw, { detail: "stats" })), o.hidden = !1, a.setAttribute("aria-pressed", "true"), n.updateStats(), pT && clearInterval(pT), pT = setInterval(n.updateStats, 1e3)) : e();};let t = (t) => {t.detail !== "stats" && e();};- document.addEventListener(Vw, t), s = () => document.removeEventListener(Vw, t);+ document.addEventListener(Hw, t), s = () => document.removeEventListener(Hw, t);}- let c = e.el().querySelector("video"), l = c ? vde(c) : () => {}, u = !0, d = () => {- u && (u = !1, s(), l(), n.chrome === i && (n.chrome = null, hT()));+ let c = e.el().querySelector("video"), l = c ? _de(c) : () => {}, u = !0, d = () => {+ u && (u = !1, s(), l(), n.chrome === i && (n.chrome = null, gT()));};return e.one("dispose", d), d;}-function vT(e, t) {- if (t.kind === "immerse") return Rde(e, t);- let { kind: n, item: r, media: i = null, handedOff: a, onPlayer: o } = t, s = Mw(), c = t.chrome === !1 ? null : e.parentElement;- c && gT(c, e);- let l = Dde(n, r, i?.index ?? null), u = { resume: t.resume ?? {- time: kde(l, r),+function yT(e, t) {+ if (t.kind === "immerse") return Lde(e, t);+ let { kind: n, item: r, media: i = null, handedOff: a, onPlayer: o } = t, s = Nw(), c = t.chrome === !1 ? null : e.parentElement;+ c && _T(c, e);+ let l = Ede(n, r, i?.index ?? null), u = { resume: t.resume ?? {+ time: Ode(l, r),autoplay: !1} };if (n === "follow") u = {@@ -30119,37 +30119,37 @@ function vT(e, t) {t && (e.poster = t);}let d = null, f = !1, p = () => {}, m = e, h = () => {- p(), !(d && a?.(d)) && (Kw(m), d ? (Iw() === d && (Lw(null), hT()), Zw(d)) : Jw(m));+ p(), !(d && a?.(d)) && (qw(m), d ? (Lw() === d && (Rw(null), gT()), Qw(d)) : Yw(m));};- return zde(r, e, t.autoplay ?? s.settings().detailAutoplay, u).then((t) => {- d = t, f ? h() : (m = t?.el().querySelector("video") ?? e, Ade(l, m), n === "follow" ? jde(r, m) : (m.addEventListener("play", () => {+ return Rde(r, e, t.autoplay ?? s.settings().detailAutoplay, u).then((t) => {+ d = t, f ? h() : (m = t?.el().querySelector("video") ?? e, kde(l, m), n === "follow" ? Ade(r, m) : (m.addEventListener("play", () => {Dt("/api/play", {method: "POST",body: JSON.stringify({ id: r.id })}).catch(() => {});- }, { once: !0 }), Xw(r, m, {+ }, { once: !0 }), Zw(r, m, {watched: "#watched",mark: "#mark",ratio: "#ratioTxt"- })), t ? (c && (p = _T(t, c)), o?.(t)) : o?.(null));+ })), t ? (c && (p = vT(t, c)), o?.(t)) : o?.(null));}), () => {f = !0, h();};}//#endregion//#region src/player/playback.ts-function yT(e) {+function bT(e) {e && (e.paused ? e.play()?.catch(() => {}) : e.pause());}-function bT(e, t) {+function xT(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 Vde(e, t, n) {+function Bde(e, t, n) {let r = !1, i = null;- return uT().then((a) => {+ return dT().then((a) => {if (r) return;i = a(e, {controls: !0,@@ -30174,30 +30174,30 @@ function Vde(e, t, n) {o.on("error", () => {r || n();}), o.ready(() => {- r || o.isDisposed() || (yde(o, e), Sde(o, null, { thumbnail: !1 }), wde(o));+ r || o.isDisposed() || (vde(o, e), xde(o, null, { thumbnail: !1 }), Cde(o));}), o.src(t);}).catch(() => {r || n();}), () => {- r = !0, Zw(i), i || (e.pause(), e.removeAttribute("src"), e.load(), e.remove());+ r = !0, Qw(i), i || (e.pause(), e.removeAttribute("src"), e.load(), e.remove());};}-function xT(e, t) {+function ST(e, t) {let n = new URLSearchParams(Object.entries(e).filter(([, e]) => e));return t && n.set("exclude_vertical", "1"), n.toString();}-var Hde = (e, t) => [+var Vde = (e, t) => ["catalog-grid","catalog",e,t-], Ude = (e, t) => [+], Hde = (e, t) => ["catalog-grid","entity",e,t];-async function Wde(e, t, n, r, i) {+async function Ude(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 = {@@ -30207,22 +30207,22 @@ async function Wde(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 Gde = (e) => (t) => (t.offset === 0 ? t.items.length < (t.total || 0) : t.has_more) ? t.offset + e : void 0, Kde = (e, t) => {+var Wde = (e) => (t) => (t.offset === 0 ? t.items.length < (t.total || 0) : t.has_more) ? t.offset + e : void 0, Gde = (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 ST(e) {- let t = xT(e.filters || {}, !!e.excludeVertical), n = e.batchSize || 60, r = e.filters?.state === "trash";+function CT(e) {+ let t = ST(e.filters || {}, !!e.excludeVertical), n = e.batchSize || 60, r = e.filters?.state === "trash";return {- queryKey: Hde(t, e.revision || 0),- queryFn: ({ pageParam: e, signal: i }) => Wde(t, e, n, r, i),+ queryKey: Vde(t, e.revision || 0),+ queryFn: ({ pageParam: e, signal: i }) => Ude(t, e, n, r, i),initialPageParam: 0,- getNextPageParam: Gde(n)+ getNextPageParam: Wde(n)};}-function qde(e) {+function Kde(e) {return {- queryKey: Ude(e.entityKey || "", e.revision || 0),+ queryKey: Hde(e.entityKey || "", e.revision || 0),queryFn: async ({ pageParam: t, signal: n }) => {if (!e.fetchPage) return {items: [],@@ -30237,12 +30237,12 @@ function qde(e) {};},initialPageParam: 0,- getNextPageParam: Kde+ getNextPageParam: Gde};}-async function Jde(e, t) {+async function qde(e, t) {if (e.mode !== "catalog" || e.wall) return;- let n = ST(e);+ let n = CT(e);await U.fetchInfiniteQuery({...n,queryFn: ({ pageParam: e }) => n.queryFn({@@ -30251,11 +30251,11 @@ async function Jde(e, t) {})});}-function Yde(e) {+function Jde(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 Xde(e, t, n) {+function Yde(e, t, n) {return n ? e.filter((e) => {let n = e.part_group?.key;if (n) {@@ -30270,24 +30270,24 @@ function Xde(e, t, n) {return !0;}) : [...e];}-var CT = (e, t) => !!e && !!Zi(e, t);-function Zde(e, t) {- let n = (e) => CT(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) => CT(e, t)) || e[e.length - 1];+var wT = (e, t) => !!e && !!Zi(e, t);+function Xde(e, t) {+ let n = (e) => wT(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) => wT(e, t)) || e[e.length - 1];}-function Qde(e, { collapse: t, mix: n, javImage: r }) {+function Zde(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 = Xde(c.items.filter((e) => !a.has(e.id) && !!a.add(e.id)), i, t), l = e.map((e) => ({+ let e = Yde(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 = Zde(e, r);+ let t = Xde(e, r);t && l.splice(7, 0, {kind: "mix",seed: t@@ -30300,16 +30300,16 @@ function Qde(e, { collapse: t, mix: n, javImage: r }) {pageStarts: s};}-function $de(e, t, n) {+function Qde(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 efe(e, t) {+function $de(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 tfe(e, t) {+function efe(e, t) {let n = [...t].sort((e, t) => e.at - t.at), r = [], i = 0;for (let t of n) r.push({start: i,@@ -30322,10 +30322,10 @@ function tfe(e, t) {strip: null}), r;}-function wT(e, t) {- TT((t) => t.id === e, t);-}function TT(e, t) {+ ET((t) => t.id === e, t);+}+function ET(e, t) {U.setQueriesData({queryKey: ["catalog-grid"],predicate: (e) => Array.isArray(e.state.data?.pages)@@ -30342,31 +30342,31 @@ function TT(e, t) {}//#endregion//#region src/react/item-detail/item-detail.ts-var ET = (e) => ["item", e], DT = (e) => [+var DT = (e) => ["item", e], OT = (e) => ["item-queue",e.kind,e.kind === "playlist" ? e.playlistId : e.seedId-], nfe = (e, t) => [+], tfe = (e, t) => ["item-related",e,t-], rfe = (e) => `/api/item?id=${e}`, ife = (e, t) => `/api/related?id=${e}&limit=${t}`, OT = "/api/playlist", kT = "/api/feedback", AT = "/api/item-tag", jT = "/api/watch-later", MT = "/api/quality-goal", NT = "/api/preference", PT = class extends Error {};-async function FT(e, t) {- let n = await V(rfe(e), t);- if (n.error) throw new PT(n.error);+], nfe = (e) => `/api/item?id=${e}`, rfe = (e, t) => `/api/related?id=${e}&limit=${t}`, kT = "/api/playlist", AT = "/api/feedback", jT = "/api/item-tag", MT = "/api/watch-later", NT = "/api/quality-goal", PT = "/api/preference", FT = class extends Error {};+async function IT(e, t) {+ let n = await V(nfe(e), t);+ if (n.error) throw new FT(n.error);return n;}-async function IT(e, t, n) {+async function LT(e, t, n) {if (e.kind === "mix") {- let r = e.seedId, [i, a] = await Promise.all([FT(r, n), t.mixRelated(r)]);- return U.setQueryData(ET(i.id), i), {+ let r = e.seedId, [i, a] = await Promise.all([IT(r, n), t.mixRelated(r)]);+ return U.setQueryData(DT(i.id), i), {kind: "mix",seedId: r,title: `Mix · ${Ca(i, t.tagLabel)}`,items: [i, ...a.filter((e) => e.id !== i.id)]};}- if (e.kind === "playlist") return LT(await V(`${OT}?id=${e.playlistId}`, n));+ if (e.kind === "playlist") return RT(await V(`${kT}?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 {@@ -30377,19 +30377,19 @@ async function IT(e, t, n) {versionCount: e.kind === "editions" ? r.count : void 0};}-var LT = (e) => ({+var RT = (e) => ({kind: "playlist",playlistId: e.id,title: e.name,items: e.items || [],currentAssetId: e.current_asset_id-}), RT = (e) => e.disposal === "vanished";-function zT(e, t) {+}), zT = (e) => e.disposal === "vanished";+function BT(e, t) {if (e.kind === "mix") return t;- let n = e.kind === "playlist" ? e.items.filter((e) => !RT(e)) : e.items;+ let n = e.kind === "playlist" ? e.items.filter((e) => !zT(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 afe(e, t) {+function ife(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 : {@@ -30397,20 +30397,20 @@ function afe(e, t) {part_label: n};}-function BT(e, t) {+function VT(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 VT(e, t) {+async function HT(e, t) {let { queue: n, actions: r } = e, i = null, a = !1;if (n) {- let o = DT(n);+ let o = OT(n);try {let r = n.fresh ? void 0 : U.getQueryData(o);a = !r && n.kind === "mix", i = r || await U.fetchQuery({queryKey: o,- queryFn: () => IT(n, e.helpers, t),+ queryFn: () => LT(n, e.helpers, t),staleTime: 0});} catch (n) {@@ -30422,20 +30422,20 @@ async function VT(e, t) {return;}}- let o = i ? zT(i, e.id) : e.id;+ let o = i ? BT(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(ET(o)) : void 0;+ let s, c = a && o === i?.seedId ? U.getQueryData(DT(o)) : void 0;try {s = c || await U.fetchQuery({- queryKey: ET(o),- queryFn: () => FT(o, t),+ queryKey: DT(o),+ queryFn: () => IT(o, t),staleTime: 0});} catch (e) {- if (e instanceof PT) {+ if (e instanceof FT) {r.redirect({ kind: "gone" });return;}@@ -30446,7 +30446,7 @@ async function VT(e, t) {id: Number(s.follow_item_id)});}-function ofe(e) {+function afe(e) {let t = e.entity_refs || {}, n = /* @__PURE__ */ new Set(), r = (e) => {let t = Gt(e.name);return !e.name || n.has(t) ? !1 : (n.add(t), !0);@@ -30468,42 +30468,42 @@ function ofe(e) {unowned: !i.length && !c.length && !String(e.creator || "").trim()};}-var HT = (e) => Math.min(Math.max(e || 0, 0), 100), UT = (e) => Math.round(HT(e) / 20), sfe = (e) => {- let t = UT(e);+var UT = (e) => Math.min(Math.max(e || 0, 0), 100), WT = (e) => Math.round(UT(e) / 20), ofe = (e) => {+ let t = WT(e);return t ? `${t} 星` : "未评分";-}, cfe = (e, t) => {+}, sfe = (e, t) => {let n = t * 20;return n === (e || 0) ? 0 : n;};-function lfe(e, t) {+function cfe(e, t) {let n = /* @__PURE__ */ new Map();return (e.tags || []).filter((e) => !t.isDurationTag(e.k)).forEach((e) => {let r = Gt(t.tagLabel(e.k)), i = n.get(r);(!i || Gt(e.k) === r && Gt(i.k) !== r) && n.set(r, e);}), [...n.values()].slice(0, 40);}-var WT = (e, t) => (e.tags || []).some((e) => Gt(e.k) === Gt(t)), GT = (e, t) => ({+var GT = (e, t) => (e.tags || []).some((e) => Gt(e.k) === Gt(t)), KT = (e, t) => ({...e,tags: (e.tags || []).filter((e) => Gt(e.k) !== Gt(t))-}), KT = (e, t) => WT(e, t.k) ? e : {+}), qT = (e, t) => GT(e, t.k) ? e : {...e,tags: [...e.tags || [], t]-}, qT = "peach.recentTags";-function JT() {+}, JT = "peach.recentTags";+function YT() {try {- let e = JSON.parse(localStorage.getItem(qT) || "[]");+ let e = JSON.parse(localStorage.getItem(JT) || "[]");return Array.isArray(e) ? e.map(String) : [];} catch {return [];}}-function ufe(e) {+function lfe(e) {try {- let t = JT().filter((t) => Gt(t) !== Gt(e));- localStorage.setItem(qT, JSON.stringify([e, ...t].slice(0, 12)));+ let t = YT().filter((t) => Gt(t) !== Gt(e));+ localStorage.setItem(JT, JSON.stringify([e, ...t].slice(0, 12)));} catch {}}-function dfe(e, t, n) {+function ufe(e, t, n) {let r = Gt(e), i = new Map(t.map((e) => [Gt(e.k), e])), a = t.filter((e) => !r || Gt(e.k).includes(r)).slice(0, 120), o = r ? [] : n.map((e) => i.get(Gt(e)) || {k: e,n: 0@@ -30514,73 +30514,73 @@ function dfe(e, t, n) {create: r && !s ? e.trim() : ""};}-var ffe = {+var dfe = {中字: "subtitle",无码: "uncensored",无码破解: "cracked",有码: "censored"-}, pfe = {+}, ffe = {mix: "Mix",parts: "分卷",editions: "版本",playlist: "播放列表"};-function mfe(e) {+function pfe(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: pfe[e.kind],+ title: ffe[e.kind],summary: e.kind === "editions" ? n : `${e.title} · ${n}`};}-var YT = (e = "") => /^\d+$/.test(e) ? `第 ${e} 卷` : /^[a-h]$/i.test(e) ? `${e.toUpperCase()} 卷` : e, hfe = (e, t) => (t?.kind === "parts" || t?.kind === "editions") && e.part_label ? `<small class="javedition partlabel">${z(YT(e.part_label))}</small>` : "";-function gfe(e, t, n, r) {+var XT = (e = "") => /^\d+$/.test(e) ? `第 ${e} 卷` : /^[a-h]$/i.test(e) ? `${e.toUpperCase()} 卷` : e, mfe = (e, t) => (t?.kind === "parts" || t?.kind === "editions") && e.part_label ? `<small class="javedition partlabel">${z(XT(e.part_label))}</small>` : "";+function hfe(e, t, n, r) {let i = e.filter((e) => e !== t), a = i.indexOf(n);return i.splice(a + +!!r, 0, t), i;}-var _fe = (e, t) => e.length === t.length && e.every((e, n) => e === t[n]);-function vfe(e, t) {+var gfe = (e, t) => e.length === t.length && e.every((e, n) => e === t[n]);+function _fe(e, t) {return t ? "offline" : e.location === "online" && !e.follow_item_id ? "online" : e.cost === "metered" && e.location !== "online" ? "metered" : "";}-function yfe(e) {+function vfe(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 XT(e, t) {+function ZT(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 bfe = (e, t, n) => [+var yfe = (e, t, n) => ["immerse-list",e,t,n];-function xfe(e) {+function bfe(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 Sfe = (e, t) => e.cost !== "metered" && !!e.duration && !t(String(e.location ?? ""));-function Cfe(e, t = Math.random) {+var xfe = (e, t) => e.cost !== "metered" && !!e.duration && !t(String(e.location ?? ""));+function Sfe(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 wfe(e, t) {- return Cfe(((await V(`/api/items?${e}`)).items || []).filter((e) => Sfe(e, t)));+async function Cfe(e, t) {+ return Sfe(((await V(`/api/items?${e}`)).items || []).filter((e) => xfe(e, t)));}-var ZT = (e) => U.ensureQueryData({- queryKey: ET(e),- queryFn: ({ signal: t }) => FT(e, t)+var QT = (e) => U.ensureQueryData({+ queryKey: DT(e),+ queryFn: ({ signal: t }) => IT(e, t)});-function Tfe(e, t) {+function wfe(e, t) {let n = new Set(e.map((e) => e.id));return e.concat(t.filter((e) => !n.has(e.id)));}-function Efe(e) {+function Tfe(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,@@ -30589,306 +30589,306 @@ function Efe(e) {ref: r && e.entity_refs?.[r]?.[0] || null};}-function Dfe(e, t, n) {+function Efe(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 Ofe(e, t) {+function Dfe(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 kfe = 15e3, QT = {+var Ofe = 15e3, $T = {open: !1,idle: !1,wide: !1,loading: null,shown: null-}, $T = null, eE = null, tE = QT, nE = /* @__PURE__ */ new Set(), rE = 0, iE = 0, aE = 0, oE = "", sE = [], cE = 0, lE = !1, uE = !1, dE = null, fE = /* @__PURE__ */ new Set(), pE = "", mE = null, hE = 0, gE = null, _E = !1;-function vE() {- if (!$T) throw Error("沉浸模式还没有接上宿主(configureImmerse)");- return $T;+}, eE = null, tE = null, nE = $T, rE = /* @__PURE__ */ new Set(), iE = 0, aE = 0, oE = 0, sE = "", cE = [], lE = 0, uE = !1, dE = !1, fE = null, pE = /* @__PURE__ */ new Set(), mE = "", hE = null, gE = 0, _E = null, vE = !1;+function yE() {+ if (!eE) throw Error("沉浸模式还没有接上宿主(configureImmerse)");+ return eE;}-function Afe(e) {- return nE.add(e), () => {- nE.delete(e);+function kfe(e) {+ return rE.add(e), () => {+ rE.delete(e);};}-function jfe() {- for (let e of [...nE]) e();-}-function yE() {- (0, mt.flushSync)(jfe);+function Afe() {+ for (let e of [...rE]) e();}function bE() {- let e = mE ? ude(mE.id) : 0;- return e ? `${pE} · ${Uw(e)}` : pE;+ (0, mt.flushSync)(Afe);+}+function xE() {+ let e = hE ? lde(hE.id) : 0;+ return e ? `${mE} · ${Ww(e)}` : mE;}-function xE(e, t = null) {- clearInterval(hE), hE = 0, e === null ? (tE = {- ...tE,+function SE(e, t = null) {+ clearInterval(gE), gE = 0, e === null ? (nE = {+ ...nE,loading: null- }, yE()) : (pE = e, mE = t, tE = {- ...tE,- loading: bE()- }, yE(), hE = window.setInterval(() => {- mE = sE[cE] ?? null, tE = {- ...tE,- loading: bE()- }, yE();+ }, bE()) : (mE = e, hE = t, nE = {+ ...nE,+ loading: xE()+ }, bE(), gE = window.setInterval(() => {+ hE = cE[lE] ?? null, nE = {+ ...nE,+ loading: xE()+ }, bE();}, 500));}-function Mfe(e) {+function jfe(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), eE.track.append(t);- let r = Qw(), i = () => {}, a = {+ n.className = "video-js", n.playsInline = !0, n.preload = "auto", t.append(n), tE.track.append(t);+ let r = $w(), i = () => {}, a = {el: t,video: n,session: r,- release: () => tT(r),+ release: () => nT(r),disposed: !1,gone: new Promise((e) => {i = e;}),leave: i};- return fE.add(a), a;+ return pE.add(a), a;}-function Nfe(e, t) {+function Mfe(e, t) {return new Promise((n) => {- e.release = vT(e.video, {+ e.release = yT(e.video, {kind: "immerse",item: t,session: e.session,onLoaded: n,onEnded: () => {- tE.open && OE(1);+ nE.open && kE(1);}}), e.gone.then(n);});}-function SE(e) {- e && !e.disposed && (e.disposed = !0, fE.delete(e), e.leave(), e.release(), e.el.remove(), dE === e && (dE = null));+function CE(e) {+ e && !e.disposed && (e.disposed = !0, pE.delete(e), e.leave(), e.release(), e.el.remove(), fE === e && (fE = null));}-var CE = [+var wE = ["loadeddata","canplay","error"];-function Pfe(e) {+function Nfe(e) {let { video: t } = e;return t.readyState >= 3 ? Promise.resolve() : new Promise((n) => {let r = !1, i = () => {- r || (r = !0, clearTimeout(a), CE.forEach((e) => t.removeEventListener(e, i)), n());+ r || (r = !0, clearTimeout(a), wE.forEach((e) => t.removeEventListener(e, i)), n());};- CE.forEach((e) => t.addEventListener(e, i, { once: !0 }));- let a = setTimeout(i, kfe);+ wE.forEach((e) => t.addEventListener(e, i, { once: !0 }));+ let a = setTimeout(i, Ofe);e.gone.then(i);});}-function wE(e) {- let t = e.closest("[data-immerse-track]"), n = t && t.clientWidth && t.clientHeight ? t.clientWidth / t.clientHeight : window.innerWidth / window.innerHeight, r = Dfe(e.videoWidth, e.videoHeight, n);+function TE(e) {+ let t = e.closest("[data-immerse-track]"), n = t && t.clientWidth && t.clientHeight ? t.clientWidth / t.clientHeight : window.innerWidth / window.innerHeight, r = Efe(e.videoWidth, e.videoHeight, n);r === "contain" ? e.dataset.fit = "contain" : r && delete e.dataset.fit;}-var TE = () => eE?.track.querySelectorAll("video").forEach(wE);-function Ffe(e) {- delete e.dataset.fit, e.readyState >= 1 ? wE(e) : e.addEventListener("loadedmetadata", () => wE(e), { once: !0 });+var EE = () => tE?.track.querySelectorAll("video").forEach(TE);+function Pfe(e) {+ delete e.dataset.fit, e.readyState >= 1 ? TE(e) : e.addEventListener("loadedmetadata", () => TE(e), { once: !0 });}-function Ife(e) {- tE = {- ...tE,+function Ffe(e) {+ nE = {+ ...nE,wide: e- }, yE(), TE();+ }, bE(), EE();}-var EE = () => {- let e = oE;+var DE = () => {+ let e = sE;return U.fetchQuery({- queryKey: bfe(e, iE, aE),- queryFn: () => wfe(e, vE().sourceOffline),+ queryKey: yfe(e, aE, oE),+ queryFn: () => Cfe(e, yE().sourceOffline),staleTime: Infinity});};-function Lfe(e, t) {+function Ife(e, t) {let n = () => Yt(e.duration) || Yt(t.duration);e.addEventListener("timeupdate", () => {let t = n();- t && eE && (eE.progress.style.width = `${(e.currentTime / t * 100).toFixed(2)}%`);- }), gE = {+ t && tE && (tE.progress.style.width = `${(e.currentTime / t * 100).toFixed(2)}%`);+ }), _E = {video: e,duration: n};}-async function DE(e = 0) {- let t = sE[cE];- if (!t || lE) return;- let n = rE;- vE().route(t.id), lE = !0, xE(e ? "切换中…" : "加载中…", t);+async function OE(e = 0) {+ let t = cE[lE];+ if (!t || uE) return;+ let n = iE;+ yE().route(t.id), uE = !0, SE(e ? "切换中…" : "加载中…", t);let r = null;try {- if (await ZT(t.id).catch((e) => {- if (!(e instanceof PT)) throw e;- }), n !== rE) return;- let i = dE, a = !!(e && i);- a || SE(i);- let o = Mfe(a ? e > 0 ? 100 : -100 : 0);- if (r = o, Ffe(o.video), await Nfe(o, t), await Pfe(o), o.disposed || (Ife(Ofe(o.video, t)), a && i && (requestAnimationFrame(() => requestAnimationFrame(() => {+ if (await QT(t.id).catch((e) => {+ if (!(e instanceof FT)) throw e;+ }), n !== iE) return;+ let i = fE, a = !!(e && i);+ a || CE(i);+ let o = jfe(a ? e > 0 ? 100 : -100 : 0);+ if (r = o, Pfe(o.video), await Mfe(o, t), await Nfe(o), o.disposed || (Ffe(Dfe(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)), SE(i), o.el.style.transform = ""), o.disposed)) return;- dE = o, r = null, o.video.play()?.catch(() => {}), tE = {- ...tE,+ })), await new Promise((e) => setTimeout(e, 210)), CE(i), o.el.style.transform = ""), o.disposed)) return;+ fE = o, r = null, o.video.play()?.catch(() => {}), nE = {+ ...nE,idle: !1,shown: {item: t,- index: cE,- length: sE.length+ index: lE,+ length: cE.length}- }, Lfe(o.video, t), H("/api/play", { id: t.id }).catch(() => {}), xE(null);+ }, Ife(o.video, t), H("/api/play", { id: t.id }).catch(() => {}), SE(null);} catch {- SE(r), n === rE && xE(null);+ CE(r), n === iE && SE(null);} finally {- n === rE && (lE = !1);+ n === iE && (uE = !1);}}-async function OE(e) {- if (lE || !tE.open) return;- let t = rE;- if (cE += e, xE("切换中…", sE[cE] ?? null), cE >= sE.length - 3 && !uE) {- uE = !0;+async function kE(e) {+ if (uE || !nE.open) return;+ let t = iE;+ if (lE += e, SE("切换中…", cE[lE] ?? null), lE >= cE.length - 3 && !dE) {+ dE = !0;try {- aE += 1;- let e = await EE();- t === rE && (sE = Tfe(sE, e));+ oE += 1;+ let e = await DE();+ t === iE && (cE = wfe(cE, e));} catch {} finally {- uE = !1;+ dE = !1;}}- t === rE && (cE >= sE.length && (cE = 0), cE < 0 && (cE = sE.length - 1), await DE(e));+ t === iE && (lE >= cE.length && (lE = 0), lE < 0 && (lE = cE.length - 1), await OE(e));}-async function Rfe(e) {- let t = ++rE;- kE(), iE += 1, aE = 0, oE = xfe(vE().filters()), U.removeQueries({ queryKey: ["immerse-list"] }), tE = {- ...tE,+async function Lfe(e) {+ let t = ++iE;+ AE(), aE += 1, oE = 0, sE = bfe(yE().filters()), U.removeQueries({ queryKey: ["immerse-list"] }), nE = {+ ...nE,open: !0,idle: !0,shown: null- }, document.body.setAttribute("data-immerse-open", ""), xE("加载内容…");+ }, document.body.setAttribute("data-immerse-open", ""), SE("加载内容…");try {- let n = await EE();+ let n = await DE();if (e && !n.some((t) => t.id === e)) {- let t = await ZT(e).catch((e) => {- if (e instanceof PT) return null;+ let t = await QT(e).catch((e) => {+ if (e instanceof FT) return null;throw e;});t?.id && (n = [t, ...n.filter((t) => t.id !== e)]);}- if (t !== rE) return;- if (sE = n, !sE.length) {- AE(), vE().warn("当前筛选下没有可直接播放的内容");+ if (t !== iE) return;+ if (cE = n, !cE.length) {+ jE(), yE().warn("当前筛选下没有可直接播放的内容");return;}- cE = Math.max(0, sE.findIndex((t) => t.id === e)), await DE();+ lE = Math.max(0, cE.findIndex((t) => t.id === e)), await OE();} catch {- if (t !== rE) return;- xE(null), AE();+ if (t !== iE) return;+ SE(null), jE();}}-function kE() {- clearInterval(hE), hE = 0, IE(), PE = null, gE = null, _E = !1, [...fE].forEach(SE), lE = !1;-}function AE() {- tE.open && (rE++, kE(), tE = QT, document.body.removeAttribute("data-immerse-open"), yE(), vE().closed());+ clearInterval(gE), gE = 0, LE(), FE = null, _E = null, vE = !1, [...pE].forEach(CE), uE = !1;+}+function jE() {+ nE.open && (iE++, AE(), nE = $T, document.body.removeAttribute("data-immerse-open"), bE(), yE().closed());}-var jE = 0, ME = null, NE = 0, PE = null, FE = 0;-function IE() {- clearTimeout(jE), jE = 0, ME = null;+var ME = 0, NE = null, PE = 0, FE = null, IE = 0;+function LE() {+ clearTimeout(ME), ME = 0, NE = null;}-function zfe(e) {- let t = dE?.video;+function Rfe(e) {+ let t = fE?.video;if (!t) return;let n = e < window.innerWidth / 2 ? -1 : 1, r = Date.now();- ME && ME.side === n && r - ME.at <= 280 ? (IE(), bT(t, vE().seekSeconds() * n)) : (jE && (clearTimeout(jE), jE = 0, yT(t)), ME = {+ NE && NE.side === n && r - NE.at <= 280 ? (LE(), xT(t, yE().seekSeconds() * n)) : (ME && (clearTimeout(ME), ME = 0, bT(t)), NE = {side: n,at: r- }, jE = window.setTimeout(() => {- jE = 0, ME = null, tE.open && yT(dE?.video);+ }, ME = window.setTimeout(() => {+ ME = 0, NE = null, nE.open && bT(fE?.video);}, 280));}-function Bfe() {- Date.now() < NE || yT(dE?.video);-}-var LE = (e) => eE?.bar.toggleAttribute("data-scrubbing", e);-function RE(e) {- eE && (eE.progress.style.width = `${(e * 100).toFixed(2)}%`);+function zfe() {+ Date.now() < PE || bT(fE?.video);}+var RE = (e) => tE?.bar.toggleAttribute("data-scrubbing", e);function zE(e) {+ tE && (tE.progress.style.width = `${(e * 100).toFixed(2)}%`);+}+function BE(e) {let t = e.target;if (e.touches.length !== 1 || !t?.closest("[data-immerse-track]")) {- PE = null;+ FE = null;return;}- let n = dE?.video;- PE = {+ let n = fE?.video;+ FE = {x: e.touches[0].clientX,y: e.touches[0].clientY,axis: "",from: n && n.currentTime || 0};}-function BE(e) {- if (!PE || e.touches.length !== 1) return;- let t = e.touches[0].clientX - PE.x, n = e.touches[0].clientY - PE.y;- if (!PE.axis) {+function VE(e) {+ if (!FE || e.touches.length !== 1) return;+ let t = e.touches[0].clientX - FE.x, n = e.touches[0].clientY - FE.y;+ if (!FE.axis) {if (Math.abs(t) < 12 && Math.abs(n) < 12) return;- PE.axis = Math.abs(t) > Math.abs(n) ? "x" : "y", PE.axis === "x" && LE(!0);+ FE.axis = Math.abs(t) > Math.abs(n) ? "x" : "y", FE.axis === "x" && RE(!0);}- if (PE.axis !== "x") return;- let r = dE?.video, i = r && r.duration || 0;- i && (e.preventDefault(), PE.to = Math.min(i, Math.max(0, PE.from + t / window.innerWidth * i)), RE(PE.to / i));+ if (FE.axis !== "x") return;+ let r = fE?.video, i = r && r.duration || 0;+ i && (e.preventDefault(), FE.to = Math.min(i, Math.max(0, FE.from + t / window.innerWidth * i)), zE(FE.to / i));}-function VE(e) {- if (!PE) return;- let t = PE;- if (PE = null, NE = Date.now() + 700, LE(!1), t.axis === "x") {- let e = dE?.video;+function HE(e) {+ if (!FE) return;+ let t = FE;+ if (FE = null, PE = Date.now() + 700, RE(!1), t.axis === "x") {+ let e = fE?.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 ? (IE(), OE(i > 0 ? 1 : -1)) : Math.abs(r) <= 14 && Math.abs(i) <= 14 && (e.preventDefault(), zfe(n.clientX));+ Math.abs(i) > 60 ? (LE(), kE(i > 0 ? 1 : -1)) : Math.abs(r) <= 14 && Math.abs(i) <= 14 && (e.preventDefault(), Rfe(n.clientX));}-function HE() {- PE = null, LE(!1);+function UE() {+ FE = null, RE(!1);}-function UE(e) {+function WE(e) {let t = Date.now();- t - FE < 260 || (FE = t, OE(e.deltaY > 0 ? 1 : -1));+ t - IE < 260 || (IE = t, kE(e.deltaY > 0 ? 1 : -1));}-function WE(e) {- let t = eE.bar.getBoundingClientRect();+function GE(e) {+ let t = tE.bar.getBoundingClientRect();return Math.min(1, Math.max(0, (e.clientX - t.left) / t.width));}+function Bfe(e) {+ _E?.duration() && (vE = !0, RE(!0), e.currentTarget.setPointerCapture(e.pointerId), zE(GE(e)), e.preventDefault());+}function Vfe(e) {- gE?.duration() && (_E = !0, LE(!0), e.currentTarget.setPointerCapture(e.pointerId), RE(WE(e)), e.preventDefault());+ vE && zE(GE(e));}function Hfe(e) {- _E && RE(WE(e));-}-function Ufe(e) {- if (!_E) return;- _E = !1, LE(!1);- let t = gE?.duration();- gE && t && (gE.video.currentTime = t * WE(e));+ if (!vE) return;+ vE = !1, RE(!1);+ let t = _E?.duration();+ _E && t && (_E.video.currentTime = t * GE(e));}-function Wfe() {- _E = !1, LE(!1);+function Ufe() {+ vE = !1, RE(!1);}-async function GE(e, t) {- let n = await H(kT, {+async function KE(e, t) {+ let n = await H(AT, {id: e,kind: t- }), r = U.getQueryData(ET(e));- if (!r) return wT(e, {+ }), r = U.getQueryData(DT(e));+ if (!r) return TT(e, {feedback: n.feedback ?? void 0,o_count: n.o_count}), n;@@ -30897,7 +30897,7 @@ async function GE(e, t) {feedback: n.feedback ?? void 0,o_count: n.o_count};- return U.setQueryData(ET(e), i), wT(e, {+ return U.setQueryData(DT(e), i), TT(e, {feedback: i.feedback,disposal: i.disposal,watch_later: i.watch_later,@@ -30905,7 +30905,7 @@ async function GE(e, t) {o_count: i.o_count}), n;}-var Gfe = [+var Wfe = [{kind: "dislike",glyph: "thumbs-down",@@ -30922,31 +30922,31 @@ var Gfe = [label: "记一次高潮"}];-function KE(e) {+function qE(e) {return dt({- queryKey: ET(e ?? 0),- queryFn: ({ signal: t }) => FT(e, t),+ queryKey: DT(e ?? 0),+ queryFn: ({ signal: t }) => IT(e, t),enabled: e != null,staleTime: Infinity}).data;}-function Kfe({ kind: e, glyph: t, label: n, id: r }) {- let i = KE(r), a = ft({+function Gfe({ kind: e, glyph: t, label: n, id: r }) {+ let i = qE(r), a = ft({mutationFn: async (t) => {- let n = U.getQueryData(ET(t))?.feedback || null;+ let n = U.getQueryData(DT(t))?.feedback || null;return {- result: await GE(t, e),+ result: await KE(t, e),before: n};},onSuccess: ({ result: t, before: n }, r) => {- vE().toast(XT(e, t), { undo: async () => {- e === "o" ? await GE(r, "o-undo") : (t.feedback && await GE(r, t.feedback), n && await GE(r, n));+ yE().toast(ZT(e, t), { undo: async () => {+ e === "o" ? await KE(r, "o-undo") : (t.feedback && await KE(r, t.feedback), n && await KE(r, n));} }), e === "dislike" && t.feedback === "dislike" && setTimeout(() => {- OE(1);+ kE(1);}, 260);},- onError: (e) => vE().failure("更新反馈", e)+ onError: (e) => yE().failure("更新反馈", e)}), o = a.isPending, s = e !== "o" && i ? i.feedback === e ? "true" : "false" : void 0;return /* @__PURE__ */ (0, x.jsxs)("div", {"data-immerse-action": "",@@ -30977,11 +30977,11 @@ function Kfe({ kind: e, glyph: t, label: n, id: r }) {})]});}-function qfe({ shown: e }) {- let t = e?.item ?? null, n = KE(t?.id ?? null), r = n ? Efe(n) : null, i = vE(), a = (e) => {- e.preventDefault(), n && (AE(), n.performers?.[0] ? i.openEntity("performer", n.performers[0]) : n.creator ? i.openEntity("creator", n.creator) : i.openUnowned());+function Kfe({ shown: e }) {+ let t = e?.item ?? null, n = qE(t?.id ?? null), r = n ? Tfe(n) : null, i = yE(), a = (e) => {+ e.preventDefault(), n && (jE(), n.performers?.[0] ? i.openEntity("performer", n.performers[0]) : n.creator ? i.openEntity("creator", n.creator) : i.openUnowned());}, o = () => {- t && (AE(), i.openItem(t.id));+ t && (jE(), i.openItem(t.id));}, s = r ? la(r.name, r.ref, qi(r.name), r.kind || "performer") : "";return /* @__PURE__ */ (0, x.jsxs)("div", {"data-immerse-ui": "",@@ -31010,18 +31010,18 @@ function qfe({ shown: e }) {})]});}-var Jfe = { __html: ao("媒体加载中") };-function Yfe({ view: e }) {+var qfe = { __html: ao("媒体加载中") };+function Jfe({ view: e }) {let t = (0, b.useRef)(null), n = (0, b.useRef)(null), r = (0, b.useRef)(null), i = (0, b.useRef)(null);(0, b.useLayoutEffect)(() => {let e = t.current;- return eE = {+ return tE = {root: e,track: n.current,bar: r.current,progress: i.current- }, e.addEventListener("touchstart", zE, { passive: !0 }), e.addEventListener("touchmove", BE, { passive: !1 }), e.addEventListener("touchend", VE, { passive: !1 }), e.addEventListener("touchcancel", HE, { passive: !0 }), e.addEventListener("wheel", UE, { passive: !0 }), () => {- e.removeEventListener("touchstart", zE), e.removeEventListener("touchmove", BE), e.removeEventListener("touchend", VE), e.removeEventListener("touchcancel", HE), e.removeEventListener("wheel", UE), eE = null;+ }, e.addEventListener("touchstart", BE, { passive: !0 }), e.addEventListener("touchmove", VE, { passive: !1 }), e.addEventListener("touchend", HE, { passive: !1 }), e.addEventListener("touchcancel", UE, { passive: !0 }), e.addEventListener("wheel", WE, { passive: !0 }), () => {+ e.removeEventListener("touchstart", BE), e.removeEventListener("touchmove", VE), e.removeEventListener("touchend", HE), e.removeEventListener("touchcancel", UE), e.removeEventListener("wheel", WE), tE = null;};}, []);let a = e.shown?.item.id ?? null, o = (e) => e ? "" : void 0;@@ -31038,10 +31038,10 @@ function Yfe({ view: e }) {children: [/* @__PURE__ */ (0, x.jsx)("div", {ref: n,"data-immerse-track": "",- onClick: Bfe+ onClick: zfe}), /* @__PURE__ */ (0, x.jsx)("div", {"data-immerse-actions": "",- children: Gfe.map((e) => /* @__PURE__ */ (0, x.jsx)(Kfe, {+ children: Wfe.map((e) => /* @__PURE__ */ (0, x.jsx)(Gfe, {...e,id: a}, e.kind))@@ -31054,7 +31054,7 @@ function Yfe({ view: e }) {hidden: e.loading === null,children: [/* @__PURE__ */ (0, x.jsx)("span", {"data-immerse-spinner": "",- dangerouslySetInnerHTML: Jfe+ dangerouslySetInnerHTML: qfe}), /* @__PURE__ */ (0, x.jsx)("span", { children: e.loading ?? "" })]}),/* @__PURE__ */ (0, x.jsx)("button", {@@ -31062,7 +31062,7 @@ function Yfe({ view: e }) {"data-immerse-close": "",title: "关闭","aria-label": "关闭",- onClick: AE,+ onClick: jE,children: /* @__PURE__ */ (0, x.jsx)("svg", {viewBox: "0 0 24 24",children: /* @__PURE__ */ (0, x.jsx)("use", { href: "#i-x" })@@ -31071,97 +31071,97 @@ function Yfe({ view: e }) {/* @__PURE__ */ (0, x.jsx)("div", {ref: r,"data-immerse-bar": "",- onPointerDown: Vfe,- onPointerMove: Hfe,- onPointerUp: Ufe,- onPointerCancel: Wfe,+ onPointerDown: Bfe,+ onPointerMove: Vfe,+ onPointerUp: Hfe,+ onPointerCancel: Ufe,children: /* @__PURE__ */ (0, x.jsx)("i", { ref: i })}),- /* @__PURE__ */ (0, x.jsx)(qfe, { shown: e.shown })+ /* @__PURE__ */ (0, x.jsx)(Kfe, { shown: e.shown })]});}-var Xfe = {- open: Rfe,- close: AE,- isOpen: () => tE.open,- activeVideo: () => tE.open ? dE?.video ?? null : null+var Yfe = {+ open: Lfe,+ close: jE,+ isOpen: () => nE.open,+ activeVideo: () => nE.open ? fE?.video ?? null : null};-function Zfe(e) {- if (!tE.open) return;+function Xfe(e) {+ if (!nE.open) return;let t = e.target;- (!t || t.tagName !== "INPUT" && t.tagName !== "TEXTAREA" && !t.isContentEditable) && (e.ctrlKey || e.metaKey || e.altKey || (e.key === "ArrowDown" && OE(1), e.key === "ArrowUp" && OE(-1)));+ (!t || t.tagName !== "INPUT" && t.tagName !== "TEXTAREA" && !t.isContentEditable) && (e.ctrlKey || e.metaKey || e.altKey || (e.key === "ArrowDown" && kE(1), e.key === "ArrowUp" && kE(-1)));}-function Qfe(e) {- let t = !$T;- return $T = e, t && (document.addEventListener("keydown", Zfe), addEventListener("resize", () => {- tE.open && TE();+function Zfe(e) {+ let t = !eE;+ return eE = e, t && (document.addEventListener("keydown", Xfe), addEventListener("resize", () => {+ nE.open && EE();}), addEventListener("pagehide", () => {- fE.forEach((e) => tT(e.session));- })), Xfe;+ pE.forEach((e) => nT(e.session));+ })), Yfe;}-function $fe() {- let e = (0, b.useSyncExternalStore)(Afe, () => tE);- return $T ? /* @__PURE__ */ (0, x.jsx)(Yfe, { view: e }) : null;+function Qfe() {+ let e = (0, b.useSyncExternalStore)(kfe, () => nE);+ return eE ? /* @__PURE__ */ (0, x.jsx)(Jfe, { view: e }) : null;}//#endregion//#region src/manage-header.ts-var qE = {+var JE = {"/junk-files": "垃圾文件","/duplicates": "重复文件","/review": "人工复核","/trash": "回收站","/quality-goals": "高清版","/sources": "来源和凭证"-}, epe = /* @__PURE__ */ new Set(["/data-cleanup", "/sources"]);-function tpe(e) {- let t = qE[e.path] ? "cleanup" : e.section;+}, $fe = /* @__PURE__ */ new Set(["/data-cleanup", "/sources"]);+function epe(e) {+ let t = JE[e.path] ? "cleanup" : e.section;return e.menu.some(([e]) => e === t) ? t : "";}-var npe = ({ total: e, shown: t }) => `${e.toLocaleString()} 个符合 · 显示 ${t.toLocaleString()}`;-function JE(e) {+var tpe = ({ total: e, shown: t }) => `${e.toLocaleString()} 个符合 · 显示 ${t.toLocaleString()}`;+function YE(e) {let t = e.sections.find(([t]) => t === e.section);if (!t) return null;- let n = qE[e.path] ?? "";+ let n = JE[e.path] ?? "";return {title: e.path === "/diagnostics" ? "系统诊断" : e.section === "cleanup" && n || t[1],- pressed: tpe(e),+ pressed: epe(e),crumb: n,- compact: epe.has(e.path) || e.section === "configuration",+ compact: $fe.has(e.path) || e.section === "configuration",lede: e.section === "trash" ? e.trash ? {kind: "count",- text: npe(e.trash),+ text: tpe(e.trash),total: e.trash.total} : { kind: "skeleton" } : { kind: "none" }};}-var YE = (e) => e.replace(/[&<>"']/g, (e) => ({+var XE = (e) => e.replace(/[&<>"']/g, (e) => ({"&": "&","<": "<",">": ">","\"": ""","'": "'"-})[e]), XE = (e) => `<svg viewBox="0 0 24 24" aria-hidden="true"><use href="#i-${YE(e)}"/></svg>`, ZE = "<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 rpe(e) {- let t = JE(e);+})[e]), ZE = (e) => `<svg viewBox="0 0 24 24" aria-hidden="true"><use href="#i-${XE(e)}"/></svg>`, QE = "<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 npe(e) {+ let t = YE(e);if (!t) return "";let n = e.menu.map(([e, n, r]) => {let i = e === t.pressed;- return `<button type="button" data-manage="${YE(e)}" aria-pressed="${i}"${i ? " aria-current=\"page\"" : ""}>${XE(r)}<span>${YE(n)}</span></button>`;- }).join(""), r = t.crumb ? `<nav data-manage-crumb="" aria-label="Breadcrumb"><ol><li><a href="/data-cleanup">数据管理</a>${XE("chevron-right")}</li><li aria-current="true"><span>${YE(t.crumb)}</span></li></ol></nav>` : "", i = t.lede.kind === "none" ? "" : `<p class="mono" data-manage-lede="">${t.lede.kind === "skeleton" ? ZE : `<span data-lede-text="">${YE(t.lede.text)}</span>${t.lede.total ? ipe : ""}`}</p>`;- return `<h2 data-manage-title=""${t.compact ? " data-compact=\"\"" : ""}>${YE(t.title)}</h2>` + r + `<nav data-manage-bar="" aria-label="管理"><div data-manage-menu="">${n}</div></nav>` + i;+ return `<button type="button" data-manage="${XE(e)}" aria-pressed="${i}"${i ? " aria-current=\"page\"" : ""}>${ZE(r)}<span>${XE(n)}</span></button>`;+ }).join(""), r = t.crumb ? `<nav data-manage-crumb="" aria-label="Breadcrumb"><ol><li><a href="/data-cleanup">数据管理</a>${ZE("chevron-right")}</li><li aria-current="true"><span>${XE(t.crumb)}</span></li></ol></nav>` : "", i = t.lede.kind === "none" ? "" : `<p class="mono" data-manage-lede="">${t.lede.kind === "skeleton" ? QE : `<span data-lede-text="">${XE(t.lede.text)}</span>${t.lede.total ? rpe : ""}`}</p>`;+ return `<h2 data-manage-title=""${t.compact ? " data-compact=\"\"" : ""}>${XE(t.title)}</h2>` + r + `<nav data-manage-bar="" aria-label="管理"><div data-manage-menu="">${n}</div></nav>` + i;}-var ipe = "<button type=\"button\" data-empty-trash=\"\" title=\"永久删除回收站内容\">清空回收站</button>";+var rpe = "<button type=\"button\" data-empty-trash=\"\" title=\"永久删除回收站内容\">清空回收站</button>";//#endregion//#region src/react/settings-panel/icon.tsx-function QE({ name: e }) {+function $E({ name: e }) {return /* @__PURE__ */ (0, x.jsx)("svg", {viewBox: "0 0 24 24","aria-hidden": "true",children: /* @__PURE__ */ (0, x.jsx)("use", { href: `#i-${e}` })});}-function ape({ name: e }) {+function ipe({ name: e }) {return /* @__PURE__ */ (0, x.jsx)("svg", {viewBox: "0 0 24 24","aria-hidden": "true",@@ -31170,52 +31170,52 @@ function ape({ name: e }) {}//#endregion//#region src/react/manage-header/manage-header-island.tsx-var $E = null, eD = null, tD = /* @__PURE__ */ new Set();-function ope(e) {- return tD.add(e), () => {- tD.delete(e);+var eD = null, tD = null, nD = /* @__PURE__ */ new Set();+function ape(e) {+ return nD.add(e), () => {+ nD.delete(e);};}-function spe() {- for (let e of [...tD]) e();+function ope() {+ for (let e of [...nD]) e();}-var cpe = { render(e) {- eD = e, (0, mt.flushSync)(spe);+var spe = { render(e) {+ tD = e, (0, mt.flushSync)(ope);} };-function lpe(e) {- return $E = e, eD = null, cpe;+function cpe(e) {+ return eD = e, tD = null, spe;}-function upe() {- let e = (0, b.useSyncExternalStore)(ope, () => eD);- return $E && e ? /* @__PURE__ */ (0, x.jsx)(dpe, {- host: $E,+function lpe() {+ let e = (0, b.useSyncExternalStore)(ape, () => tD);+ return eD && e ? /* @__PURE__ */ (0, x.jsx)(upe, {+ host: eD,props: e}) : null;}-function dpe({ host: e, props: t }) {- let n = JE(t);+function upe({ host: e, props: t }) {+ let n = YE(t);return n ? /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)("h2", {"data-manage-title": "","data-compact": n.compact ? "" : void 0,children: n.title}),- n.crumb ? /* @__PURE__ */ (0, x.jsx)(ppe, {+ n.crumb ? /* @__PURE__ */ (0, x.jsx)(fpe, {host: e,label: n.crumb}) : null,- /* @__PURE__ */ (0, x.jsx)(fpe, {+ /* @__PURE__ */ (0, x.jsx)(dpe, {host: e,pressed: n.pressed,menu: t.menu}),- n.lede.kind === "none" ? null : /* @__PURE__ */ (0, x.jsx)(mpe, {+ n.lede.kind === "none" ? null : /* @__PURE__ */ (0, x.jsx)(ppe, {host: e,lede: n.lede})] }) : null;}-function fpe({ host: e, pressed: t, menu: n }) {+function dpe({ host: e, pressed: t, menu: n }) {let r = (0, b.useRef)(null);return (0, b.useLayoutEffect)(() => {let e = r.current, t = e?.querySelector("button[aria-pressed=\"true\"]");@@ -31236,13 +31236,13 @@ function fpe({ host: e, pressed: t, menu: n }) {"aria-pressed": a,"aria-current": a ? "page" : void 0,onClick: () => e.openManage(n),- children: [/* @__PURE__ */ (0, x.jsx)(QE, { name: i }), /* @__PURE__ */ (0, x.jsx)("span", { children: r })]+ children: [/* @__PURE__ */ (0, x.jsx)($E, { name: i }), /* @__PURE__ */ (0, x.jsx)("span", { children: r })]}, n);})})});}-function ppe({ host: e, label: t }) {+function fpe({ host: e, label: t }) {return /* @__PURE__ */ (0, x.jsx)("nav", {"data-manage-crumb": "","aria-label": "Breadcrumb",@@ -31252,20 +31252,20 @@ function ppe({ host: e, label: t }) {t.metaKey || t.ctrlKey || t.shiftKey || t.altKey || t.button || (t.preventDefault(), e.openDataCleanup());},children: "数据管理"- }), /* @__PURE__ */ (0, x.jsx)(QE, { name: "chevron-right" })] }), /* @__PURE__ */ (0, x.jsx)("li", {+ }), /* @__PURE__ */ (0, x.jsx)($E, { name: "chevron-right" })] }), /* @__PURE__ */ (0, x.jsx)("li", {"aria-current": "true",children: /* @__PURE__ */ (0, x.jsx)("span", { children: t })})] })});}-function mpe({ host: e, lede: t }) {+function ppe({ host: e, lede: t }) {return /* @__PURE__ */ (0, x.jsx)("p", {className: "mono","data-manage-lede": "",children: t.kind === "skeleton" ? /* @__PURE__ */ (0, x.jsx)("span", {"data-trash-lede-skeletons": "",- dangerouslySetInnerHTML: { __html: ZE }- }) : /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(hpe, { text: t.text }), t.total ? /* @__PURE__ */ (0, x.jsx)("button", {+ dangerouslySetInnerHTML: { __html: QE }+ }) : /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(mpe, { text: t.text }), t.total ? /* @__PURE__ */ (0, x.jsx)("button", {type: "button","data-empty-trash": "","data-danger": "",@@ -31275,7 +31275,7 @@ function mpe({ host: e, lede: t }) {}) : null] })});}-function hpe({ text: e }) {+function mpe({ text: e }) {let t = (0, b.useRef)(null);return (0, b.useLayoutEffect)(() => {po(t.current, e);@@ -31286,20 +31286,20 @@ function hpe({ text: e }) {}//#endregion//#region node_modules/react-router/dist/production/lib/router/url.js-var gpe = /^(?:[a-z][a-z0-9+.-]*:|[\\/]{2})/i, nD = /^[\\/]{2}/;-function _pe(e, t) {+var hpe = /^(?:[a-z][a-z0-9+.-]*:|[\\/]{2})/i, rD = /^[\\/]{2}/;+function gpe(e, t) {return t + e.replace(/\\/g, "/");}//#endregion//#region node_modules/react-router/dist/production/lib/router/history.js-var rD = "popstate";-function iD(e) {+var iD = "popstate";+function aD(e) {return typeof e == "object" && !!e && "pathname" in e && "search" in e && "hash" in e && "state" in e && "key" in e;}-function vpe(e = {}) {+function _pe(e = {}) {function t(e, t) {let n = t.state?.masked, { pathname: r, search: i, hash: a } = n || e.location;- return cD("", {+ return lD("", {pathname: r,search: i,hash: a@@ -31310,14 +31310,14 @@ function vpe(e = {}) {} : void 0);}function n(e, t) {- return typeof t == "string" ? t : lD(t);+ return typeof t == "string" ? t : uD(t);}- return bpe(t, n, null, e);+ return ype(t, n, null, e);}-function aD(e, t) {+function oD(e, t) {if (e === !1 || e == null) throw Error(t);}-function oD(e, t) {+function sD(e, t) {if (!e) {typeof console < "u" && console.warn(t);try {@@ -31325,10 +31325,10 @@ function oD(e, t) {} catch {}}}-function ype() {+function vpe() {return Math.random().toString(36).substring(2, 10);}-function sD(e, t) {+function cD(e, t) {return {usr: e.state,key: e.key,@@ -31340,21 +31340,21 @@ function sD(e, t) {} : void 0};}-function cD(e, t, n = null, r, i) {+function lD(e, t, n = null, r, i) {return {pathname: typeof e == "string" ? e : e.pathname,search: "",hash: "",- ...typeof t == "string" ? uD(t) : t,+ ...typeof t == "string" ? dD(t) : t,state: n,- key: t && t.key || r || ype(),+ key: t && t.key || r || vpe(),mask: i};}-function lD({ pathname: e = "/", search: t = "", hash: n = "" }) {+function uD({ 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 uD(e) {+function dD(e) {let t = {};if (e) {let n = e.indexOf("#");@@ -31364,7 +31364,7 @@ function uD(e) {}return t;}-function bpe(e, t, n, r = {}) {+function ype(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,@@ -31384,9 +31384,9 @@ function bpe(e, t, n, r = {}) {}function f(e, t) {s = "PUSH";- let r = iD(e) ? e : cD(h.location, e, t);+ let r = aD(e) ? e : lD(h.location, e, t);n && n(r, e), l = u() + 1;- let d = sD(r, l), f = h.createHref(r.mask || r);+ let d = cD(r, l), f = h.createHref(r.mask || r);try {o.pushState(d, "", f);} catch (e) {@@ -31401,9 +31401,9 @@ function bpe(e, t, n, r = {}) {}function p(e, t) {s = "REPLACE";- let r = iD(e) ? e : cD(h.location, e, t);+ let r = aD(e) ? e : lD(h.location, e, t);n && n(r, e), l = u();- let i = sD(r, l), d = h.createHref(r.mask || r);+ let i = cD(r, l), d = h.createHref(r.mask || r);o.replaceState(i, "", d), a && c && c({action: s,location: h.location,@@ -31411,7 +31411,7 @@ function bpe(e, t, n, r = {}) {});}function m(e) {- return xpe(i, e);+ return bpe(i, e);}let h = {get action() {@@ -31422,8 +31422,8 @@ function bpe(e, t, n, r = {}) {},listen(e) {if (c) throw Error("A history only accepts one active listener");- return i.addEventListener(rD, d), c = e, () => {- i.removeEventListener(rD, d), c = null;+ return i.addEventListener(iD, d), c = e, () => {+ i.removeEventListener(iD, d), c = null;};},createHref(e) {@@ -31446,29 +31446,29 @@ function bpe(e, t, n, r = {}) {};return h;}-function xpe(e, t, n = !1) {+function bpe(e, t, n = !1) {let r = "http://localhost";- e && (r = e.location.origin === "null" ? e.location.href : e.location.origin), aD(r, "No window.location.(origin|href) available to create URL");- let i = typeof t == "string" ? t : lD(t);- return i = i.replace(/ $/, "%20"), !n && nD.test(i) && (i = r + i), new URL(i, r);+ e && (r = e.location.origin === "null" ? e.location.href : e.location.origin), oD(r, "No window.location.(origin|href) available to create URL");+ let i = typeof t == "string" ? t : uD(t);+ return i = i.replace(/ $/, "%20"), !n && rD.test(i) && (i = r + i), new URL(i, r);}//#endregion//#region node_modules/react-router/dist/production/lib/router/utils.js-function Spe(e, t, n = "/") {- return Cpe(e, t, n, !1);+function xpe(e, t, n = "/") {+ return Spe(e, t, n, !1);}-function Cpe(e, t, n, r, i) {- let a = _D((typeof t == "string" ? uD(t) : t).pathname || "/", n);+function Spe(e, t, n, r, i) {+ let a = vD((typeof t == "string" ? dD(t) : t).pathname || "/", n);if (a == null) return null;- let o = i ?? wpe(e), s = null, c = Lpe(a);- for (let e = 0; s == null && e < o.length; ++e) s = Ipe(o[e], c, r);+ let o = i ?? Cpe(e), s = null, c = Ipe(a);+ for (let e = 0; s == null && e < o.length; ++e) s = Fpe(o[e], c, r);return s;}-function wpe(e) {- let t = dD(e);- return Tpe(t), t;+function Cpe(e) {+ let t = fD(e);+ return wpe(t), t;}-function dD(e, t = [], n = [], r = "", i = !1) {+function fD(e, t = [], n = [], r = "", i = !1) {let a = (e, a, o = i, s) => {let c = {relativePath: s === void 0 ? e.path || "" : s,@@ -31478,14 +31478,14 @@ function dD(e, t = [], n = [], r = "", i = !1) {};if (c.relativePath.startsWith("/")) {if (!c.relativePath.startsWith(r) && o) return;- aD(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);+ oD(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 = xD([r, c.relativePath]), u = n.concat(c);- e.children && e.children.length > 0 && (aD(e.index !== !0, `Index routes must not have child routes. Please remove all child routes from route path "${l}".`), dD(e.children, t, u, l, o)), (e.path != null || e.index) && t.push({+ let l = SD([r, c.relativePath]), u = n.concat(c);+ e.children && e.children.length > 0 && (oD(e.index !== !0, `Index routes must not have child routes. Please remove all child routes from route path "${l}".`), fD(e.children, t, u, l, o)), (e.path != null || e.index) && t.push({path: l,- score: Ppe(l, e.index),+ score: Npe(l, e.index),routesMeta: u.map((e, t) => {- let [n, r] = gD(e.relativePath, e.caseSensitive, t === u.length - 1);+ let [n, r] = _D(e.relativePath, e.caseSensitive, t === u.length - 1);return {...e,matcher: n,@@ -31496,68 +31496,68 @@ function dD(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 fD(e.path)) a(e, t, !0, n);+ else for (let n of pD(e.path)) a(e, t, !0, n);}), t;}-function fD(e) {+function pD(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 = fD(r.join("/")), s = [];+ let o = pD(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 Tpe(e) {- e.sort((e, t) => e.score === t.score ? Fpe(e.routesMeta.map((e) => e.childrenIndex), t.routesMeta.map((e) => e.childrenIndex)) : t.score - e.score);+function wpe(e) {+ e.sort((e, t) => e.score === t.score ? Ppe(e.routesMeta.map((e) => e.childrenIndex), t.routesMeta.map((e) => e.childrenIndex)) : t.score - e.score);}-var Epe = /^:[\w-]+$/, Dpe = /^:[\w-]+/, Ope = 3.5, kpe = 3, Ape = 2, jpe = 1, Mpe = 10, Npe = -2, pD = (e) => e === "*";-function Ppe(e, t) {+var Tpe = /^:[\w-]+$/, Epe = /^:[\w-]+/, Dpe = 3.5, Ope = 3, kpe = 2, Ape = 1, jpe = 10, Mpe = -2, mD = (e) => e === "*";+function Npe(e, t) {let n = e.split("/"), r = n.length;- return n.some(pD) && (r += Npe), t && (r += Ape), n.filter((e) => !pD(e)).reduce((e, t) => e + (Epe.test(t) ? kpe : Dpe.test(t) ? Ope : t === "" ? jpe : Mpe), r);+ return n.some(mD) && (r += Mpe), t && (r += kpe), n.filter((e) => !mD(e)).reduce((e, t) => e + (Tpe.test(t) ? Ope : Epe.test(t) ? Dpe : t === "" ? Ape : jpe), r);}-function Fpe(e, t) {+function Ppe(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 Ipe(e, t, n = !1) {+function Fpe(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 ? hD(u, l, s.matcher, s.compiledParams) : mD(u, l), f = s.route;- if (!d && c && n && !r[r.length - 1].route.index && (d = mD({+ }, d = s.matcher && s.compiledParams ? gD(u, l, s.matcher, s.compiledParams) : hD(u, l), f = s.route;+ if (!d && c && n && !r[r.length - 1].route.index && (d = hD({path: s.relativePath,caseSensitive: s.caseSensitive,end: !1}, l)), !d) return null;Object.assign(i, d.params), o.push({params: i,- pathname: xD([a, d.pathname]),- pathnameBase: Hpe(xD([a, d.pathnameBase])),+ pathname: SD([a, d.pathname]),+ pathnameBase: Vpe(SD([a, d.pathnameBase])),route: f- }), d.pathnameBase !== "/" && (a = xD([a, d.pathnameBase]));+ }), d.pathnameBase !== "/" && (a = SD([a, d.pathnameBase]));}return o;}-function mD(e, t) {+function hD(e, t) {typeof e == "string" && (e = {path: e,caseSensitive: !1,end: !0});- let [n, r] = gD(e.path, e.caseSensitive, e.end);- return hD(e, t, n, r);+ let [n, r] = _D(e.path, e.caseSensitive, e.end);+ return gD(e, t, n, r);}-function hD(e, t, n, r) {+function gD(e, t, n, r) {let i = t.match(n);if (!i) return null;- let a = i[0], o = SD(a, 1), s = i.slice(1);+ let a = i[0], o = CD(a, 1), s = i.slice(1);return {params: r.reduce((e, { paramName: t, isOptional: n }, r) => {if (t === "*") {let e = s[r] || "";- o = SD(a.slice(0, a.length - e.length), 1);+ o = CD(a.slice(0, a.length - e.length), 1);}let i = s[r];return e[t] = n && !i ? void 0 : (i || "").replace(/%2F/g, "/"), e;@@ -31567,8 +31567,8 @@ function hD(e, t, n, r) {pattern: e};}-function gD(e, t = !1, n = !0) {- oD(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 _D(e, t = !1, n = !0) {+ sD(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,@@ -31581,46 +31581,46 @@ function gD(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 Lpe(e) {+function Ipe(e) {try {return e.split("/").map((e) => decodeURIComponent(e).replace(/\//g, "%2F")).join("/");} catch (t) {- return oD(!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 sD(!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 _D(e, t) {+function vD(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 Rpe(e, t = "/") {- let { pathname: n, search: r = "", hash: i = "" } = typeof e == "string" ? uD(e) : e, a;- return n ? (n = bD(n), a = n.startsWith("/") || n.startsWith("\\") ? vD(n.substring(1), "/") : vD(n, t)) : a = t, {+function Lpe(e, t = "/") {+ let { pathname: n, search: r = "", hash: i = "" } = typeof e == "string" ? dD(e) : e, a;+ return n ? (n = xD(n), a = n.startsWith("/") || n.startsWith("\\") ? yD(n.substring(1), "/") : yD(n, t)) : a = t, {pathname: a,- search: Upe(r),- hash: Wpe(i)+ search: Hpe(r),+ hash: Upe(i)};}-function vD(e, t) {- let n = SD(t).split("/");+function yD(e, t) {+ let n = CD(t).split("/");return e.split("/").forEach((e) => {e === ".." ? n.length > 1 && n.pop() : e !== "." && n.push(e);}), n.length > 1 ? n.join("/") : "/";}-function yD(e, t, n, r) {+function bD(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 zpe(e) {+function Rpe(e) {return e.filter((e, t) => t === 0 || e.route.path && e.route.path.length > 0);}-function Bpe(e) {- let t = zpe(e);+function zpe(e) {+ let t = Rpe(e);return t.map((e, n) => n === t.length - 1 ? e.pathname : e.pathnameBase);}-function Vpe(e, t, n, r = !1) {+function Bpe(e, t, n, r = !1) {let i;- typeof e == "string" ? i = uD(e) : (i = { ...e }, aD(!i.pathname || !i.pathname.includes("?"), yD("?", "pathname", "search", i)), aD(!i.pathname || !i.pathname.includes("#"), yD("#", "pathname", "hash", i)), aD(!i.search || !i.search.includes("#"), yD("#", "search", "hash", i)));+ typeof e == "string" ? i = dD(e) : (i = { ...e }, oD(!i.pathname || !i.pathname.includes("?"), bD("?", "pathname", "search", i)), oD(!i.pathname || !i.pathname.includes("#"), bD("#", "pathname", "hash", i)), oD(!i.search || !i.search.includes("#"), bD("#", "search", "hash", i)));let a = e === "" || i.pathname === "", o = a ? "/" : i.pathname, s;if (o == null) s = n;else {@@ -31632,16 +31632,16 @@ function Vpe(e, t, n, r = !1) {}s = e >= 0 ? t[e] : "/";}- let c = Rpe(i, s), l = o && o !== "/" && o.endsWith("/"), u = (a || o === ".") && n.endsWith("/");+ let c = Lpe(i, s), l = o && o !== "/" && o.endsWith("/"), u = (a || o === ".") && n.endsWith("/");return !c.pathname.endsWith("/") && (l || u) && (c.pathname += "/"), c;}-var bD = (e) => e.replace(/[\\/]{2,}/g, "/"), xD = (e) => bD(e.join("/"));-function SD(e, t = 0) {+var xD = (e) => e.replace(/[\\/]{2,}/g, "/"), SD = (e) => xD(e.join("/"));+function CD(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 Hpe = (e) => SD(e).replace(/^\/*/, "/"), Upe = (e) => !e || e === "?" ? "" : e.startsWith("?") ? e : "?" + e, Wpe = (e) => !e || e === "#" ? "" : e.startsWith("#") ? e : "#" + e, Gpe = class {+var Vpe = (e) => CD(e).replace(/^\/*/, "/"), Hpe = (e) => !e || e === "?" ? "" : e.startsWith("?") ? e : "?" + e, Upe = (e) => !e || e === "#" ? "" : e.startsWith("#") ? e : "#" + e, Wpe = class {status;statusText;data;@@ -31651,26 +31651,26 @@ var Hpe = (e) => SD(e).replace(/^\/*/, "/"), Upe = (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 Kpe(e) {+function Gpe(e) {return e != null && typeof e.status == "number" && typeof e.statusText == "string" && typeof e.internal == "boolean" && "data" in e;}-function qpe(e) {- return xD(e.map((e) => e.route.path).filter(Boolean)) || "/";+function Kpe(e) {+ return SD(e.map((e) => e.route.path).filter(Boolean)) || "/";}-var CD = typeof window < "u" && window.document !== void 0 && window.document.createElement !== void 0;-function Jpe(e, t) {+var wD = typeof window < "u" && window.document !== void 0 && window.document.createElement !== void 0;+function qpe(e, t) {let n = e;- if (typeof n != "string" || !gpe.test(n)) return {+ if (typeof n != "string" || !hpe.test(n)) return {absoluteURL: void 0,isExternal: !1,to: n};let r = n, i = !1;- if (CD) try {- let e = new URL(window.location.href), r = nD.test(n) ? new URL(_pe(n, e.protocol)) : new URL(n), a = _D(r.pathname, t);+ if (wD) try {+ let e = new URL(window.location.href), r = rD.test(n) ? new URL(gpe(n, e.protocol)) : new URL(n), a = vD(r.pathname, t);r.origin === e.origin && a != null ? n = a + r.search + r.hash : i = !0;} catch {- oD(!1, `<Link to="${n}"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.`);+ sD(!1, `<Link to="${n}"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.`);}return {absoluteURL: r,@@ -31680,45 +31680,45 @@ function Jpe(e, t) {}//#endregion//#region node_modules/react-router/dist/production/lib/router/navigation.js-var wD = new URL("http://localhost");-function TD(e) {+var TD = new URL("http://localhost");+function ED(e) {if (e.createURL) return e.createURL("/");try {- return new URL(e.createHref("/"), wD);+ return new URL(e.createHref("/"), TD);} catch {- return wD;+ return TD;}}-function ED(e, t) {+function DD(e, t) {return e.origin === t.origin && (e.origin !== "null" || e.protocol === t.protocol && e.host === t.host);}-function Ype(e, t) {+function Jpe(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 DD(e, t, n, r) {+function OD(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 && !ED(i, n), s = !ED(a, n);+ let a = new URL(t, n), o = i != null && !DD(i, n), s = !DD(a, n);if (r === "reject") {if (o || s) throw Error("External navigation is not allowed");- } else if (s && (i == null || !Ype(e, i) || !ED(i, a))) throw Error("External navigation is not allowed");+ } else if (s && (i == null || !Jpe(e, i) || !DD(i, a))) throw Error("External navigation is not allowed");}//#endregion//#region node_modules/react-router/dist/production/lib/router/router.js-var OD = [+var kD = ["POST","PUT","PATCH","DELETE"];-new Set(OD);-var Xpe = ["GET", ...OD];-new Set(Xpe);-var Zpe = [+new Set(kD);+var Ype = ["GET", ...kD];+new Set(Ype);+var Xpe = ["about:","blob:","chrome:",@@ -31730,85 +31730,85 @@ var Zpe = ["filesystem:","javascript:"];-function Qpe(e) {+function Zpe(e) {try {- return Zpe.includes(new URL(e).protocol);+ return Xpe.includes(new URL(e).protocol);} catch {return !1;}}//#endregion//#region node_modules/react-router/dist/production/lib/context.js-var kD = b.createContext(null);-kD.displayName = "DataRouter";-var $pe = b.createContext(null);-$pe.displayName = "DataRouterState";var AD = b.createContext(null);-AD.displayName = "DataRouterData";-var eme = b.createContext(null);-eme.displayName = "DataRouterNavigation";-var tme = b.createContext(!1), nme = b.createContext({ isTransitioning: !1 });-nme.displayName = "ViewTransition";-var rme = b.createContext(null);-rme.displayName = "Fetchers";-var ime = b.createContext(null);-ime.displayName = "Await";+AD.displayName = "DataRouter";+var Qpe = b.createContext(null);+Qpe.displayName = "DataRouterState";var jD = b.createContext(null);-jD.displayName = "Navigation";+jD.displayName = "DataRouterData";+var $pe = b.createContext(null);+$pe.displayName = "DataRouterNavigation";+var eme = b.createContext(!1), tme = b.createContext({ isTransitioning: !1 });+tme.displayName = "ViewTransition";+var nme = b.createContext(null);+nme.displayName = "Fetchers";+var rme = b.createContext(null);+rme.displayName = "Await";var MD = b.createContext(null);-MD.displayName = "Location";-var ND = b.createContext({+MD.displayName = "Navigation";+var ND = b.createContext(null);+ND.displayName = "Location";+var PD = b.createContext({outlet: null,matches: [],isDataRoute: !1});-ND.displayName = "Route";-var PD = b.createContext(!1);-PD.displayName = "IsDataRoute";-var FD = b.createContext(void 0);-FD.displayName = "RouteId";-var ID = b.createContext(null);-ID.displayName = "RouteError";+PD.displayName = "Route";+var FD = b.createContext(!1);+FD.displayName = "IsDataRoute";+var ID = b.createContext(void 0);+ID.displayName = "RouteId";+var LD = b.createContext(null);+LD.displayName = "RouteError";//#endregion//#region node_modules/react-router/dist/production/lib/errors.js-var LD = "REACT_ROUTER_ERROR", ame = "REDIRECT", ome = "ROUTE_ERROR_RESPONSE";-function sme(e) {- if (e.startsWith(`${LD}:${ame}:{`)) try {+var RD = "REACT_ROUTER_ERROR", ime = "REDIRECT", ame = "ROUTE_ERROR_RESPONSE";+function ome(e) {+ if (e.startsWith(`${RD}:${ime}:{`)) 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 cme(e) {- if (e.startsWith(`${LD}:${ome}:{`)) try {+function sme(e) {+ if (e.startsWith(`${RD}:${ame}:{`)) try {let t = JSON.parse(e.slice(40));- if (typeof t == "object" && t && typeof t.status == "number" && typeof t.statusText == "string") return new Gpe(t.status, t.statusText, t.data);+ if (typeof t == "object" && t && typeof t.status == "number" && typeof t.statusText == "string") return new Wpe(t.status, t.statusText, t.data);} catch {}}//#endregion//#region node_modules/react-router/dist/production/lib/hooks.js-function RD() {- return b.useContext(MD) != null;-}function zD() {- return aD(RD(), "useLocation() may be used only in the context of a <Router> component."), b.useContext(MD).location;+ return b.useContext(ND) != null;}-var BD = "You should call navigate() in a React.useEffect(), not when your component is first rendered.";-function lme() {- return b.useContext(PD) ? xme() : ume();+function BD() {+ return oD(zD(), "useLocation() may be used only in the context of a <Router> component."), b.useContext(ND).location;}-function ume() {- aD(RD(), "useNavigate() may be used only in the context of a <Router> component.");- let e = b.useContext(kD), { basename: t, navigator: n } = b.useContext(jD), { matches: r } = b.useContext(ND), { pathname: i } = zD(), a = JSON.stringify(Bpe(r)), o = b.useRef(!1);+var VD = "You should call navigate() in a React.useEffect(), not when your component is first rendered.";+function cme() {+ return b.useContext(FD) ? bme() : lme();+}+function lme() {+ oD(zD(), "useNavigate() may be used only in the context of a <Router> component.");+ let e = b.useContext(AD), { basename: t, navigator: n } = b.useContext(MD), { matches: r } = b.useContext(PD), { pathname: i } = BD(), a = JSON.stringify(zpe(r)), o = b.useRef(!1);return b.useLayoutEffect(() => {o.current = !0;}), b.useCallback((r, s = {}) => {- if (oD(o.current, BD), !o.current) return;+ if (sD(o.current, VD), !o.current) return;if (typeof r == "number") {n.go(r);return;}- let c = Vpe(r, JSON.parse(a), i, s.relative === "path");- e == null && t !== "/" && (c.pathname = c.pathname === "/" ? t : xD([t, c.pathname])), DD(typeof r == "string" ? r : lD(r), n.createHref(c), TD(n), "reject"), (s.replace ? n.replace : n.push)(c, s.state, s);+ let c = Bpe(r, JSON.parse(a), i, s.relative === "path");+ e == null && t !== "/" && (c.pathname = c.pathname === "/" ? t : SD([t, c.pathname])), OD(typeof r == "string" ? r : uD(r), n.createHref(c), ED(n), "reject"), (s.replace ? n.replace : n.push)(c, s.state, s);}, [t,n,@@ -31818,19 +31818,19 @@ function ume() {]);}b.createContext(null);-function dme(e, t) {- return VD(e, t);+function ume(e, t) {+ return HD(e, t);}-function VD(e, t, n) {- aD(RD(), "useRoutes() may be used only in the context of a <Router> component.");- let { navigator: r } = b.useContext(jD), { matches: i } = b.useContext(ND), a = i[i.length - 1], o = a ? a.params : {};+function HD(e, t, n) {+ oD(zD(), "useRoutes() may be used only in the context of a <Router> component.");+ let { navigator: r } = b.useContext(MD), { matches: i } = b.useContext(PD), a = i[i.length - 1], o = a ? a.params : {};a && a.pathname;let s = a ? a.pathnameBase : "/";a && a.route;- let c = zD(), l;+ let c = BD(), l;if (t) {- let e = typeof t == "string" ? uD(t) : t;- aD(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" ? dD(t) : t;+ oD(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 !== "/") {@@ -31838,13 +31838,13 @@ function VD(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) : Spe(e, { pathname: d });- let p = _me(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) : xpe(e, { pathname: d });+ let p = gme(f && f.map((e) => Object.assign({}, e, {params: Object.assign({}, o, e.params),- pathname: xD([s, r.encodeLocation ? r.encodeLocation(e.pathname.replace(/%/g, "%25").replace(/\?/g, "%3F").replace(/#/g, "%23")).pathname : e.pathname]),- pathnameBase: e.pathnameBase === "/" ? s : xD([s, r.encodeLocation ? r.encodeLocation(e.pathnameBase.replace(/%/g, "%25").replace(/\?/g, "%3F").replace(/#/g, "%23")).pathname : e.pathnameBase])+ pathname: SD([s, r.encodeLocation ? r.encodeLocation(e.pathname.replace(/%/g, "%25").replace(/\?/g, "%3F").replace(/#/g, "%23")).pathname : e.pathname]),+ pathnameBase: e.pathnameBase === "/" ? s : SD([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__ */ b.createElement(MD.Provider, { value: {+ return t && p ? /* @__PURE__ */ b.createElement(ND.Provider, { value: {location: {pathname: "/",search: "",@@ -31857,14 +31857,14 @@ function VD(e, t, n) {navigationType: "POP"} }, p) : p;}-function fme() {- let e = bme(), t = Kpe(e) ? `${e.status} ${e.statusText}` : e instanceof Error ? e.message : JSON.stringify(e), n = e instanceof Error ? e.stack : null;+function dme() {+ let e = yme(), t = Gpe(e) ? `${e.status} ${e.statusText}` : e instanceof Error ? e.message : JSON.stringify(e), n = e instanceof Error ? e.stack : null;return /* @__PURE__ */ b.createElement(b.Fragment, null, /* @__PURE__ */ b.createElement("h2", null, "Unexpected Application Error!"), /* @__PURE__ */ b.createElement("h3", { style: { fontStyle: "italic" } }, t), n ? /* @__PURE__ */ b.createElement("pre", { style: {padding: "0.5rem",backgroundColor: "rgba(200,200,200, 0.5)"} }, n) : null, null);}-var pme = /* @__PURE__ */ b.createElement(fme, null), mme = class extends b.Component {+var fme = /* @__PURE__ */ b.createElement(dme, null), pme = class extends b.Component {constructor(e) {super(e), this.state = {location: e.location,@@ -31872,7 +31872,7 @@ var pme = /* @__PURE__ */ b.createElement(fme, null), mme = class extends b.Comperror: e.error};}- static contextType = tme;+ static contextType = eme;static getDerivedStateFromError(e) {return { error: e };}@@ -31893,30 +31893,30 @@ var pme = /* @__PURE__ */ b.createElement(fme, null), mme = class extends b.Comprender() {let e = this.state.error;if (this.context && typeof e == "object" && e && "digest" in e && typeof e.digest == "string") {- let t = cme(e.digest);+ let t = sme(e.digest);t && (e = t);}- let t = e === void 0 ? this.props.children : /* @__PURE__ */ b.createElement(ND.Provider, { value: this.props.routeContext }, /* @__PURE__ */ b.createElement(PD.Provider, { value: this.props.routeContext.isDataRoute }, /* @__PURE__ */ b.createElement(FD.Provider, { value: this.props.routeContext.matches[this.props.routeContext.matches.length - 1]?.route.id }, /* @__PURE__ */ b.createElement(ID.Provider, {+ let t = e === void 0 ? this.props.children : /* @__PURE__ */ b.createElement(PD.Provider, { value: this.props.routeContext }, /* @__PURE__ */ b.createElement(FD.Provider, { value: this.props.routeContext.isDataRoute }, /* @__PURE__ */ b.createElement(ID.Provider, { value: this.props.routeContext.matches[this.props.routeContext.matches.length - 1]?.route.id }, /* @__PURE__ */ b.createElement(LD.Provider, {value: e,children: this.props.component}))));- return this.context ? /* @__PURE__ */ b.createElement(hme, { error: e }, t) : t;+ return this.context ? /* @__PURE__ */ b.createElement(mme, { error: e }, t) : t;}-}, HD = /* @__PURE__ */ new WeakMap();-function hme({ children: e, error: t }) {- let { basename: n, navigator: r } = b.useContext(jD);+}, UD = /* @__PURE__ */ new WeakMap();+function mme({ children: e, error: t }) {+ let { basename: n, navigator: r } = b.useContext(MD);if (typeof t == "object" && t && "digest" in t && typeof t.digest == "string") {- let e = sme(t.digest);+ let e = ome(t.digest);if (e) {- let i = HD.get(t);+ let i = UD.get(t);if (i) throw i;- let a = Jpe(e.location, n), o = a.absoluteURL || a.to;- if (DD(e.location, o, TD(r), "allow-explicit"), Qpe(o)) throw Error("Invalid redirect location");- if (CD && !HD.get(t)) {+ let a = qpe(e.location, n), o = a.absoluteURL || a.to;+ if (OD(e.location, o, ED(r), "allow-explicit"), Zpe(o)) throw Error("Invalid redirect location");+ if (wD && !UD.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 HD.set(t, n), n;+ throw UD.set(t, n), n;}}return /* @__PURE__ */ b.createElement("meta", {@@ -31927,11 +31927,11 @@ function hme({ children: e, error: t }) {}return e;}-function gme({ routeContext: e, match: t, children: n }) {- let r = b.useContext(kD);- return r && r.static && r.staticContext && (t.route.errorElement || t.route.ErrorBoundary) && (r.staticContext._deepestRenderedBoundaryId = t.route.id), /* @__PURE__ */ b.createElement(ND.Provider, { value: e }, /* @__PURE__ */ b.createElement(PD.Provider, { value: e.isDataRoute }, /* @__PURE__ */ b.createElement(FD.Provider, { value: t.route.id }, n)));+function hme({ routeContext: e, match: t, children: n }) {+ let r = b.useContext(AD);+ return r && r.static && r.staticContext && (t.route.errorElement || t.route.ErrorBoundary) && (r.staticContext._deepestRenderedBoundaryId = t.route.id), /* @__PURE__ */ b.createElement(PD.Provider, { value: e }, /* @__PURE__ */ b.createElement(FD.Provider, { value: e.isDataRoute }, /* @__PURE__ */ b.createElement(ID.Provider, { value: t.route.id }, n)));}-function _me(e, t = [], n) {+function gme(e, t = [], n) {let r = n?.state;if (e == null) {if (!r) return null;@@ -31942,7 +31942,7 @@ function _me(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);- aD(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));+ oD(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) {@@ -31962,16 +31962,16 @@ function _me(e, t = [], n) {c(e, {location: r.location,params: r.matches?.[0]?.params ?? {},- pattern: qpe(r.matches),+ pattern: Kpe(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 || pme, o && (s < 0 && c === 0 ? (Sme("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 || fme, o && (s < 0 && c === 0 ? (xme("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__ */ b.createElement(n.route.Component, null) : n.route.element ? n.route.element : e, /* @__PURE__ */ b.createElement(gme, {+ return t = u ? f : d ? p : n.route.Component ? /* @__PURE__ */ b.createElement(n.route.Component, null) : n.route.element ? n.route.element : e, /* @__PURE__ */ b.createElement(hme, {match: n,routeContext: {outlet: e,@@ -31981,7 +31981,7 @@ function _me(e, t = [], n) {children: t});};- return r && (n.route.ErrorBoundary || n.route.errorElement || c === 0) ? /* @__PURE__ */ b.createElement(mme, {+ return r && (n.route.ErrorBoundary || n.route.errorElement || c === 0) ? /* @__PURE__ */ b.createElement(pme, {location: r.location,revalidation: r.revalidation,component: f,@@ -31996,44 +31996,44 @@ function _me(e, t = [], n) {}) : h();}, null);}-function UD(e) {+function WD(e) {return `${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`;}-function vme(e) {- let t = b.useContext(kD);- return aD(t, UD(e)), t;-}-function yme(e) {+function _me(e) {let t = b.useContext(AD);- return aD(t, UD(e)), t;+ return oD(t, WD(e)), t;}-function WD(e) {- let t = b.useContext(FD);- return aD(t, `${e} can only be used on routes that contain a unique "id"`), t;+function vme(e) {+ let t = b.useContext(jD);+ return oD(t, WD(e)), t;}-function bme() {- let e = b.useContext(ID), t = yme("useRouteError"), n = WD("useRouteError");+function GD(e) {+ let t = b.useContext(ID);+ return oD(t, `${e} can only be used on routes that contain a unique "id"`), t;+}+function yme() {+ let e = b.useContext(LD), t = vme("useRouteError"), n = GD("useRouteError");return e === void 0 ? t.errors?.[n] : e;}-function xme() {- let { router: e } = vme("useNavigate"), t = WD("useNavigate"), n = b.useRef(!1);+function bme() {+ let { router: e } = _me("useNavigate"), t = GD("useNavigate"), n = b.useRef(!1);return b.useLayoutEffect(() => {n.current = !0;}), b.useCallback(async (r, i = {}) => {- oD(n.current, BD), n.current && (typeof r == "number" ? await e.navigate(r) : await e.navigate(r, {+ sD(n.current, VD), n.current && (typeof r == "number" ? await e.navigate(r) : await e.navigate(r, {fromRouteId: t,...i}));}, [e, t]);}-var GD = {};-function Sme(e, t, n) {- !t && !GD[e] && (GD[e] = !0, oD(!1, n));+var KD = {};+function xme(e, t, n) {+ !t && !KD[e] && (KD[e] = !0, sD(!1, n));}-b.memo(Cme);-function Cme({ routes: e, manifest: t, state: n, isStatic: r, onError: i }) {- let a = b.useContext(kD);- return aD(a, "You must render this element inside a <DataRouterContext.Provider> element"), VD(e, void 0, {+b.memo(Sme);+function Sme({ routes: e, manifest: t, state: n, isStatic: r, onError: i }) {+ let a = b.useContext(AD);+ return oD(a, "You must render this element inside a <DataRouterContext.Provider> element"), HD(e, void 0, {router: a.router,manifest: t,state: n,@@ -32041,11 +32041,11 @@ function Cme({ routes: e, manifest: t, state: n, isStatic: r, onError: i }) {onError: i});}-function KD(e) {- aD(!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 qD(e) {+ oD(!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 wme({ basename: e = "/", children: t = null, location: n, navigationType: r = "POP", navigator: i, static: a = !1, useTransitions: o }) {- aD(!RD(), "You cannot render a <Router> inside another <Router>. You should never have more than one in your app.");+function Cme({ basename: e = "/", children: t = null, location: n, navigationType: r = "POP", navigator: i, static: a = !1, useTransitions: o }) {+ oD(!zD(), "You cannot render a <Router> inside another <Router>. You should never have more than one in your app.");let s = e.replace(/^\/*/, "/"), c = b.useMemo(() => ({basename: s,navigator: i,@@ -32058,9 +32058,9 @@ function wme({ basename: e = "/", children: t = null, location: n, navigationTypa,o]);- typeof n == "string" && (n = uD(n));+ typeof n == "string" && (n = dD(n));let { pathname: l = "/", search: u = "", hash: d = "", state: f = null, key: p = "default", mask: m } = n, h = b.useMemo(() => {- let e = _D(l, s);+ let e = vD(l, s);return e == null ? null : {location: {pathname: e,@@ -32082,27 +32082,27 @@ function wme({ basename: e = "/", children: t = null, location: n, navigationTypr,m]);- return oD(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__ */ b.createElement(jD.Provider, { value: c }, /* @__PURE__ */ b.createElement(MD.Provider, {+ return sD(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__ */ b.createElement(MD.Provider, { value: c }, /* @__PURE__ */ b.createElement(ND.Provider, {children: t,value: h}));}-function qD({ children: e, location: t }) {- return dme(JD(e), t);+function JD({ children: e, location: t }) {+ return ume(YD(e), t);}b.Component;-function JD(e, t = []) {+function YD(e, t = []) {let n = [];return b.Children.forEach(e, (e, r) => {if (!b.isValidElement(e)) return;let i = [...t, r];if (e.type === b.Fragment) {- n.push.apply(n, JD(e.props.children, i));+ n.push.apply(n, YD(e.props.children, i));return;}- aD(e.type === KD, `[${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>`);+ oD(e.type === qD, `[${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;- aD(!a.index || !a.children, "An index route cannot have child routes.");+ oD(!a.index || !a.children, "An index route cannot have child routes.");let o = {id: a.id || i.join("-"),caseSensitive: a.caseSensitive,@@ -32121,55 +32121,55 @@ function JD(e, t = []) {handle: a.handle,lazy: a.lazy};- a.children && (o.children = JD(a.children, i)), n.push(o);+ a.children && (o.children = YD(a.children, i)), n.push(o);}), n;}//#endregion//#region src/history/settings-route.ts-var YD = {+var XD = {appearance: "外观与导航",playback: "浏览与播放",jav: "JAV 与新作",search: "搜索与推荐",content: "内容显示"-}, XD = {+}, ZD = {library: "媒体库与入库",subscriptions: "来源与订阅",downloads: "下载渠道",network: "网络与访问",maintenance: "应用与维护"};-function Tme(e) {- return XD[e.split("/")[2]] || XD.library;-}-var ZD = ["/settings", ...Object.keys(YD).map((e) => `/settings/${e}`)], QD = (e) => ZD.includes(e);-function $D(e) {- return YD[e.split("/")[2]] || YD.appearance;+function wme(e) {+ return ZD[e.split("/")[2]] || ZD.library;}+var QD = ["/settings", ...Object.keys(XD).map((e) => `/settings/${e}`)], $D = (e) => QD.includes(e);function eO(e) {+ return XD[e.split("/")[2]] || XD.appearance;+}+function tO(e) {return `/settings/${Object.entries({- ...YD,- ...XD+ ...XD,+ ...ZD}).find(([, t]) => t === e)?.[0] || "appearance"}`;}-var tO = (e) => {+var nO = (e) => {let t = e?.settingsBackground;return t && typeof t.pathname == "string" ? t : null;-}, nO = [+}, rO = ["/assets/:id","/posts/:id","/works/:code"-], Eme = [+], Tme = ["mix","parts","editions","playlist"];-function rO(e, t = "") {+function iO(e, t = "") {let n = new URL(e, "https://peach.invalid");e = n.pathname, t ||= n.search;- for (let n of nO) {- let r = mD(n, e);+ for (let n of rO) {+ let r = hD(n, e);if (!r) continue;if (n === "/works/:code") {let e = r.params.code || "";@@ -32186,7 +32186,7 @@ function rO(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 = Eme.filter((t) => e.has(t));+ let e = new URLSearchParams(t), r = Tme.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 {@@ -32210,42 +32210,42 @@ function rO(e, t = "") {}return null;}-var iO = (e, t = "") => rO(e, t)?.target ?? null, aO = (e) => QD(e.split(/[?#]/)[0]) || nO.some((t) => mD(t, e.split(/[?#]/)[0]) !== null);-function oO(e) {+var aO = (e, t = "") => iO(e, t)?.target ?? null, oO = (e) => $D(e.split(/[?#]/)[0]) || rO.some((t) => hD(t, e.split(/[?#]/)[0]) !== null);+function sO(e) {let t = e?.backgroundLocation;return typeof t?.pathname == "string" ? {pathname: t.pathname,search: typeof t.search == "string" ? t.search : ""} : null;}-var sO = null, cO = null;-function lO() {+var cO = null, lO = null;+function uO() {let { pathname: e, search: t } = window.location;- aO(e) || (sO = {+ oO(e) || (cO = {pathname: e,search: t});}-function uO() {- sO = null, cO = null;+function dO() {+ cO = null, lO = null;}-function Dme(e) {- let t = oO(e);- t && (sO = t, cO = t.pathname + t.search);+function Eme(e) {+ let t = sO(e);+ t && (cO = t, lO = t.pathname + t.search);}-function dO() {- let e = cO;- return cO = null, e;+function fO() {+ let e = lO;+ return lO = null, e;}-function fO(e) {- return sO ? {- backgroundLocation: { ...sO },+function pO(e) {+ return cO ? {+ backgroundLocation: { ...cO },overlay: e} : void 0;}//#endregion//#region src/history/canonical-path.ts-function pO(e) {+function mO(e) {let t = new URL(e, "https://peach.invalid");for (let [e, n] of [[/^\/item\/(\d+)$/, "/assets/"],@@ -32268,16 +32268,16 @@ function pO(e) {}//#endregion//#region src/history/route-meta.ts-var mO = {+var hO = {"/settings": {title: "设置",refresh: "skip"},- ...Object.fromEntries(Object.entries(YD).map(([e, t]) => [`/settings/${e}`, {+ ...Object.fromEntries(Object.entries(XD).map(([e, t]) => [`/settings/${e}`, {title: t,refresh: "skip"}])),- ...Object.fromEntries(Object.entries(XD).map(([e, t]) => [`/settings/${e}`, {+ ...Object.fromEntries(Object.entries(ZD).map(([e, t]) => [`/settings/${e}`, {title: t,section: "configuration",refresh: "reopen"@@ -32413,13 +32413,13 @@ var mO = {title: "播放墙"}};-function hO(e) {- if (Object.hasOwn(mO, e)) return mO[e];- let t = rO(e);- if (t) return mO[t.path];+function gO(e) {+ if (Object.hasOwn(hO, e)) return hO[e];+ let t = iO(e);+ if (t) return hO[t.path];let [n, ...r] = e.split("/").filter(Boolean);if (!n) return null;- if (!r.length) return Object.hasOwn(mO, `/${n}`) ? mO[`/${n}`] : null;+ if (!r.length) return Object.hasOwn(hO, `/${n}`) ? hO[`/${n}`] : null;let i = `/${n}/*`, a = /^\d+$/.test(r.join("/")) ? xt({performers: "performer",studios: "studio",@@ -32428,154 +32428,167 @@ function hO(e) {series: "series",tags: "tag"}[n] || "", Number(r[0])) : r.join("/");- return Object.hasOwn(mO, i) ? {- ...mO[i],+ return Object.hasOwn(hO, i) ? {+ ...hO[i],title: a || "资料"} : null;}//#endregion//#region src/history/managed.ts-var Ome = () => {}, kme = new Promise((e) => {- Ome = e;+var Dme = () => {}, Ome = new Promise((e) => {+ Dme = e;});-kme.catch(() => {});-var Ame = null, gO = /* @__PURE__ */ new Map(), _O = /* @__PURE__ */ new Map(), jme = 0, vO = /* @__PURE__ */ new Set();-function Mme(e) {- Ome(e);-}-function yO(e) {- return gO.get(e) ?? null;+Ome.catch(() => {});+var kme = null, _O = /* @__PURE__ */ new Map(), vO = /* @__PURE__ */ new Map(), Ame = 0, yO = /* @__PURE__ */ new Set();+function jme(e) {+ Dme(e);}function bO(e) {- return !!e && (gO.has(e) || _O.has(e));+ return _O.get(e) ?? null;}-var xO = () => [...gO.values()];-function Nme(e) {- return vO.add(e), () => {- vO.delete(e);+function xO(e) {+ return !!e && (_O.has(e) || vO.has(e));+}+var SO = () => [..._O.values()];+function Mme(e) {+ return yO.add(e), () => {+ yO.delete(e);};}-function SO(e) {- let t = xO();- for (let n of [...vO]) n(t, e);+function CO(e) {+ let t = SO();+ for (let n of [...yO]) n(t, e);}-async function CO(e, t, n) {+async function wO(e, t, n) {let { container: r } = n;- if (TO(r), !n.isCurrent()) return !1;- jme += 1;+ if (EO(r), !n.isCurrent()) return !1;+ Ame += 1;let i = {- revision: jme,+ revision: Ame,controller: new AbortController()};- _O.set(r, i);- let a = Ame;- Ame = null, a?.();- let o = await kme;- if (_O.get(r) !== i) return !1;+ vO.set(r, i);+ let a = kme;+ kme = null, a?.();+ let o = await Ome;+ if (vO.get(r) !== i) return !1;try {await o(e, t, i.controller.signal);} catch {if (i.controller.signal.aborted) return !1;}- if (_O.get(r) !== i || (_O.delete(r), !n.isCurrent())) return !1;- let s = n.place ? n.place(r) : Pme(r);- return gO.set(r, {+ if (vO.get(r) !== i || (vO.delete(r), !n.isCurrent())) return !1;+ let s = n.place ? n.place(r) : Nme(r);+ return _O.set(r, {path: e,props: t,revision: i.revision,container: r,host: s,resident: !!n.resident- }), SO(!0), !0;+ }), CO(!0), !0;}-function Pme(e) {+function Nme(e) {let t = e.ownerDocument.createElement("div");return t.className = "peach-react", e.textContent = "", e.append(t), t;}-function wO(e, t) {- let n = e ? gO.get(e) : void 0;- n && (gO.set(n.container, {+function TO(e, t) {+ let n = e ? _O.get(e) : void 0;+ n && (_O.set(n.container, {...n,props: {...n.props,...t}- }), SO(!1));+ }), CO(!1));}-function TO(e, ...t) {+function EO(e, ...t) {let n = [];for (let r of /* @__PURE__ */ new Set([e, ...t])) {- let e = _O.get(r);- e && (e.controller.abort(), _O.delete(r));- let t = gO.get(r);- t && (gO.delete(r), n.push(t));+ let e = vO.get(r);+ e && (e.controller.abort(), vO.delete(r));+ let t = _O.get(r);+ t && (_O.delete(r), n.push(t));}if (n.length) {- SO(!0);+ CO(!0);for (let e of n) e.resident || e.host.remove();}}-function Fme() {- let [e, ...t] = /* @__PURE__ */ new Set([...gO.keys(), ..._O.keys()]);- e && TO(e, ...t);+function Pme() {+ let [e, ...t] = /* @__PURE__ */ new Set([..._O.keys(), ...vO.keys()]);+ e && EO(e, ...t);}-function Ime(e, t) {- let n = gO.get(e);- n?.revision === t && (gO.delete(e), n.resident || n.host.remove(), queueMicrotask(() => {- SO(!1);+function Fme(e, t) {+ let n = _O.get(e);+ n?.revision === t && (_O.delete(e), n.resident || n.host.remove(), queueMicrotask(() => {+ CO(!1);}));}//#endregion//#region src/history/index.ts-var EO = vpe({ v5Compat: !0 }), DO = 0, OO = 0, kO = {- action: EO.action,- location: EO.location,- seq: DO,- openEpoch: OO,+var DO = _pe({ v5Compat: !0 }), OO = 0, kO = 0, AO = {+ action: DO.action,+ location: DO.location,+ seq: OO,+ openEpoch: kO,claimed: !0-}, AO = /* @__PURE__ */ new Set(), jO = !1, MO = !0;-EO.listen(({ action: e, location: t }) => {- DO += 1, jO || (OO += 1), e !== "REPLACE" && (MO = !1), kO = {+}, jO = /* @__PURE__ */ new Set(), MO = !1, NO = !0;+DO.listen(({ action: e, location: t }) => {+ let n = t.pathname + t.search + t.hash, r = mO(n);+ r !== n && (window.history.replaceState(window.history.state, "", r), t = DO.location), OO += 1, MO || (kO += 1), e !== "REPLACE" && (NO = !1), AO = {action: e,location: t,- seq: DO,- openEpoch: OO,- claimed: jO+ seq: OO,+ openEpoch: kO,+ claimed: MO};- for (let e of [...AO]) e(kO);+ for (let e of [...jO]) e(AO);});-var NO = {+function Ime(e) {+ if (typeof e == "string") return mO(new URL(e, window.location.href).href);+ let t = new URL(`${e.pathname ?? window.location.pathname}${e.search || ""}${e.hash || ""}`, window.location.href), n = mO(t.href);+ if (n === t.pathname + t.search + t.hash) return e;+ let r = new URL(n, window.location.origin);+ return {+ ...e,+ pathname: r.pathname,+ search: r.search,+ hash: r.hash+ };+}+var PO = {get navigation() {- return kO;+ return AO;},listen(e) {- return AO.add(e), () => {- AO.delete(e);+ return jO.add(e), () => {+ jO.delete(e);};},- createHref: (e) => EO.createHref(e),- createURL: (e) => EO.createURL(e),- encodeLocation: (e) => EO.encodeLocation(e),- go: (e) => EO.go(e),- push: (e, t) => EO.push(typeof e == "string" ? pO(new URL(e, window.location.href).href) : e, t),- replace: (e, t) => EO.replace(typeof e == "string" ? pO(new URL(e, window.location.href).href) : e, t)+ createHref: (e) => DO.createHref(e),+ createURL: (e) => DO.createURL(e),+ encodeLocation: (e) => DO.encodeLocation(e),+ go: (e) => DO.go(e),+ push: (e, t) => DO.push(Ime(e), t),+ replace: (e, t) => DO.replace(Ime(e), t)};-function PO(e, { replace: t = !1, state: n } = {}) {- let r = new URL(e, window.location.href), i = pO(`${r.pathname}${r.search}${r.hash}`);- jO = !0;+function FO(e, { replace: t = !1, state: n } = {}) {+ let r = new URL(e, window.location.href), i = mO(`${r.pathname}${r.search}${r.hash}`);+ MO = !0;try {- t ? EO.replace(i, n) : EO.push(i, n);+ t ? DO.replace(i, n) : DO.push(i, n);} finally {- jO = !1;+ MO = !1;}}-var FO = () => MO;-function IO() {- if (QD(kO.location.pathname)) {- let e = MO ? null : tO(kO.location.state);- return e ? oO(e.state) || e : null;+var IO = () => NO;+function LO() {+ if ($D(AO.location.pathname)) {+ let e = NO ? null : nO(AO.location.state);+ return e ? sO(e.state) || e : null;}- return MO ? null : oO(kO.location.state);+ return NO ? null : sO(AO.location.state);}//#endregion//#region src/core/jav-title.ts@@ -32603,7 +32616,7 @@ function Vme(e, t = e?.name) {badges: f};}-var LO = (e, t = e?.name) => {+var RO = (e, t = e?.name) => {let { code: n, title: r, badges: i = [] } = Vme(e, t);return n ? [n,@@ -32611,7 +32624,7 @@ var LO = (e, t = e?.name) => {r].filter(Boolean).join(" ") : r;};-function RO(e, t = e?.name) {+function zO(e, t = e?.name) {let { code: n, title: r, badges: i = [] } = Vme(e, t);if (!n) return z(r);let a = i.map((e) => `<small class="javedition ${e === "中字" ? "subtitle" : e === "无码" ? "uncensored" : e === "无码破解" ? "cracked" : "quality"}">${z(e)}</small>`).join("");@@ -32635,7 +32648,7 @@ var Hme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => bfill: e,...r,className: "remixicon " + (n || "")-}, b.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" })), zO = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {+}, b.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" })), BO = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -32643,7 +32656,7 @@ var Hme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => bfill: e,...r,className: "remixicon " + (n || "")-}, b.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" })), BO = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {+}, b.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" })), VO = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -32651,7 +32664,7 @@ var Hme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => bfill: e,...r,className: "remixicon " + (n || "")-}, b.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" })), VO = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {+}, b.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" })), HO = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -32715,7 +32728,7 @@ var Hme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => bfill: e,...r,className: "remixicon " + (n || "")-}, b.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" })), HO = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {+}, b.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" })), UO = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -32731,7 +32744,7 @@ var Hme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => bfill: e,...r,className: "remixicon " + (n || "")-}, b.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" })), UO = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {+}, b.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" })), WO = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -32739,7 +32752,7 @@ var Hme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => bfill: e,...r,className: "remixicon " + (n || "")-}, b.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" })), WO = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {+}, b.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" })), GO = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -32747,7 +32760,7 @@ var Hme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => bfill: e,...r,className: "remixicon " + (n || "")-}, b.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" })), GO = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {+}, b.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" })), KO = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -32763,7 +32776,7 @@ var Hme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => bfill: e,...r,className: "remixicon " + (n || "")-}, b.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" })), KO = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {+}, b.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" })), qO = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -32819,7 +32832,7 @@ var Hme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => bfill: e,...r,className: "remixicon " + (n || "")-}, b.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" })), qO = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {+}, b.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" })), JO = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -32827,7 +32840,7 @@ var Hme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => bfill: e,...r,className: "remixicon " + (n || "")-}, b.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" })), JO = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {+}, b.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" })), YO = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -32891,7 +32904,7 @@ var Hme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => bfill: e,...r,className: "remixicon " + (n || "")-}, b.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" })), YO = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {+}, b.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" })), XO = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -32899,7 +32912,7 @@ var Hme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => bfill: e,...r,className: "remixicon " + (n || "")-}, b.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" })), XO = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {+}, b.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" })), ZO = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -32915,7 +32928,7 @@ var Hme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => bfill: e,...r,className: "remixicon " + (n || "")-}, b.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" })), ZO = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {+}, b.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" })), QO = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -32999,12 +33012,12 @@ var Hme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => bnextPart: e,validators: t,classGroupId: n-}), QO = "-", whe = [], The = "arbitrary..", Ehe = (e) => {+}), $O = "-", whe = [], The = "arbitrary..", Ehe = (e) => {let t = khe(e), { conflictingClassGroups: n, conflictingClassGroupModifiers: r } = e;return {getClassGroupId: (e) => {if (e.startsWith("[") && e.endsWith("]")) return Ohe(e);- let n = e.split(QO);+ let n = e.split($O);return Dhe(n, +(n[0] === "" && n.length > 1), t);},getConflictingClassGroupIds: (e, t) => {@@ -33024,7 +33037,7 @@ var Hme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b}let a = n.validators;if (a === null) return;- let o = t === 0 ? e.join(QO) : e.slice(t).join(QO), s = a.length;+ let o = t === 0 ? e.join($O) : e.slice(t).join($O), s = a.length;for (let e = 0; e < s; e++) {let t = a[e];if (t.validator(o)) return t.classGroupId;@@ -33039,10 +33052,10 @@ var Hme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => blet n = Che();for (let r in e) {let i = e[r];- $O(i, n, r, t);+ ek(i, n, r, t);}return n;-}, $O = (e, t, n, r) => {+}, ek = (e, t, n, r) => {let i = e.length;for (let a = 0; a < i; a++) {let i = e[a];@@ -33054,15 +33067,15 @@ var Hme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => blet r = e === "" ? t : Fhe(t, e);r.classGroupId = n;}, Nhe = (e, t, n, r) => {- Ihe(e) ? $O(e(r), t, n, r) : (t.validators === null && (t.validators = []), t.validators.push(She(n, e)));+ Ihe(e) ? ek(e(r), t, n, r) : (t.validators === null && (t.validators = []), t.validators.push(She(n, e)));}, Phe = (e, t, n, r) => {let i = Object.entries(e), a = i.length;for (let e = 0; e < a; e++) {let [a, o] = i[e];- $O(o, Fhe(t, a), n, r);+ ek(o, Fhe(t, a), n, r);}}, Fhe = (e, t) => {- let n = e, r = t.split(QO), i = r.length;+ let n = e, r = t.split($O), i = r.length;for (let e = 0; e < i; e++) {let t = r[e], i = n.nextPart.get(t);i || (i = Che(), n.nextPart.set(t, i)), n = i;@@ -33086,7 +33099,7 @@ var Hme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => be in n ? n[e] = t : i(e, t);}};-}, ek = "!", Rhe = ":", zhe = [], Bhe = (e, t, n, r, i) => ({+}, tk = "!", Rhe = ":", zhe = [], Bhe = (e, t, n, r, i) => ({modifiers: e,hasImportantModifier: t,baseClassName: n,@@ -33110,7 +33123,7 @@ var Hme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => bo === "[" ? n++ : o === "]" ? n-- : o === "(" ? r++ : o === ")" && r--;}let s = t.length === 0 ? e : e.slice(i), c = s, l = !1;- s.endsWith(ek) ? (c = s.slice(0, -1), l = !0) : s.startsWith(ek) && (c = s.slice(1), l = !0);+ s.endsWith(tk) ? (c = s.slice(0, -1), l = !0) : s.startsWith(tk) && (c = s.slice(1), l = !0);let u = a && a > i ? a - i : void 0;return Bhe(t, l, c, u);};@@ -33169,7 +33182,7 @@ var Hme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b}h = !1;}- let _ = d.length === 0 ? "" : d.length === 1 ? d[0] : a(d).join(":"), v = f ? _ + ek : _, y = v + g;+ let _ = d.length === 0 ? "" : d.length === 1 ? d[0] : a(d).join(":"), v = f ? _ + tk : _, y = v + g;if (s.indexOf(y) > -1) continue;s.push(y);let b = i(g, h);@@ -33197,17 +33210,17 @@ var Hme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => breturn i(e, a), a;};return a = o, (...e) => a(qhe(...e));-}, Xhe = [], tk = (e) => {+}, Xhe = [], nk = (e) => {let t = (t) => t[e] || Xhe;return t.isThemeGetter = !0, t.themeKey = e, t;-}, Zhe = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, Qhe = /^\((?:(\w[\w-]*):)?(.+)\)$/i, $he = /^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/, ege = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, tge = /\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$/, nge = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix|color|light-dark)\(.+\)$/, rge = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, ige = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, nk = (e) => $he.test(e), rk = (e) => !!e && !Number.isNaN(Number(e)), ik = (e) => !!e && Number.isInteger(Number(e)), ak = (e) => e.endsWith("%") && rk(e.slice(0, -1)), ok = (e) => ege.test(e), age = () => !0, oge = (e) => tge.test(e) && !nge.test(e), sk = () => !1, sge = (e) => rge.test(e), cge = (e) => ige.test(e), lge = (e) => !ck(e) && !dk(e), uge = (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)), dge = (e) => mk(e, wge, sk), ck = (e) => Zhe.test(e), lk = (e) => mk(e, Tge, oge), fge = (e) => mk(e, Ege, rk), pge = (e) => mk(e, Oge, age), mge = (e) => mk(e, Dge, sk), hge = (e) => mk(e, Sge, sk), gge = (e) => mk(e, Cge, cge), uk = (e) => mk(e, kge, sge), dk = (e) => Qhe.test(e), fk = (e) => hk(e, Tge), _ge = (e) => hk(e, Dge), vge = (e) => hk(e, Sge), yge = (e) => hk(e, wge), bge = (e) => hk(e, Cge), pk = (e) => hk(e, kge, !0), xge = (e) => hk(e, Oge, !0), mk = (e, t, n) => {+}, Zhe = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, Qhe = /^\((?:(\w[\w-]*):)?(.+)\)$/i, $he = /^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/, ege = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, tge = /\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$/, nge = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix|color|light-dark)\(.+\)$/, rge = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, ige = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, rk = (e) => $he.test(e), ik = (e) => !!e && !Number.isNaN(Number(e)), ak = (e) => !!e && Number.isInteger(Number(e)), ok = (e) => e.endsWith("%") && ik(e.slice(0, -1)), sk = (e) => ege.test(e), age = () => !0, oge = (e) => tge.test(e) && !nge.test(e), ck = () => !1, sge = (e) => rge.test(e), cge = (e) => ige.test(e), lge = (e) => !lk(e) && !fk(e), uge = (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)), dge = (e) => hk(e, wge, ck), lk = (e) => Zhe.test(e), uk = (e) => hk(e, Tge, oge), fge = (e) => hk(e, Ege, ik), pge = (e) => hk(e, Oge, age), mge = (e) => hk(e, Dge, ck), hge = (e) => hk(e, Sge, ck), gge = (e) => hk(e, Cge, cge), dk = (e) => hk(e, kge, sge), fk = (e) => Qhe.test(e), pk = (e) => gk(e, Tge), _ge = (e) => gk(e, Dge), vge = (e) => gk(e, Sge), yge = (e) => gk(e, wge), bge = (e) => gk(e, Cge), mk = (e) => gk(e, kge, !0), xge = (e) => gk(e, Oge, !0), hk = (e, t, n) => {let r = Zhe.exec(e);return r ? r[1] ? t(r[1]) : n(r[2]) : !1;-}, hk = (e, t, n = !1) => {+}, gk = (e, t, n = !1) => {let r = Qhe.exec(e);return r ? r[1] ? t(r[1]) : n : !1;}, Sge = (e) => e === "position" || e === "percentage", Cge = (e) => e === "image" || e === "url", wge = (e) => e === "length" || e === "size" || e === "bg-size", Tge = (e) => e === "length", Ege = (e) => e === "number", Dge = (e) => e === "family-name", Oge = (e) => e === "number" || e === "weight", kge = (e) => e === "shadow", Age = () => {- let e = tk("color"), t = tk("font"), n = tk("text"), r = tk("font-weight"), i = tk("tracking"), a = tk("leading"), o = tk("breakpoint"), s = tk("container"), c = tk("spacing"), l = tk("radius"), u = tk("shadow"), d = tk("inset-shadow"), f = tk("text-shadow"), p = tk("drop-shadow"), m = tk("blur"), h = tk("perspective"), g = tk("aspect"), _ = tk("ease"), v = tk("animate"), y = () => [+ let e = nk("color"), t = nk("font"), n = nk("text"), r = nk("font-weight"), i = nk("tracking"), a = nk("leading"), o = nk("breakpoint"), s = nk("container"), c = nk("spacing"), l = nk("radius"), u = nk("shadow"), d = nk("inset-shadow"), f = nk("text-shadow"), p = nk("drop-shadow"), m = nk("blur"), h = nk("perspective"), g = nk("aspect"), _ = nk("ease"), v = nk("animate"), y = () => ["auto","avoid","all",@@ -33232,8 +33245,8 @@ var Hme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b"left-bottom"], x = () => [...b(),- dk,- ck+ fk,+ lk], S = () => ["auto","hidden",@@ -33245,43 +33258,43 @@ var Hme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b"contain","none"], w = () => [- dk,- ck,+ fk,+ lk,c], T = () => [- nk,+ rk,"full","auto",...w()], E = () => [- ik,+ ak,"none","subgrid",- dk,- ck+ fk,+ lk], D = () => ["auto",{ span: ["full",- ik,- dk,- ck+ ak,+ fk,+ lk] },- ik,- dk,- ck+ ak,+ fk,+ lk], O = () => [- ik,+ ak,"auto",- dk,- ck+ fk,+ lk], k = () => ["auto","min","max","fr",- dk,- ck+ fk,+ lk], A = () => ["start","end",@@ -33301,7 +33314,7 @@ var Hme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b"center-safe","end-safe"], M = () => ["auto", ...w()], N = () => [- nk,+ rk,"auto","full","dvw",@@ -33316,7 +33329,7 @@ var Hme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b...w()], P = () => [s,- nk,+ rk,"screen","full","dvw",@@ -33327,7 +33340,7 @@ var Hme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b"fit",...w()], ee = () => [- nk,+ rk,"screen","full","lh",@@ -33340,13 +33353,13 @@ var Hme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b...w()], F = () => [e,- dk,- ck+ fk,+ lk], te = () => [...b(),vge,hge,- { position: [dk, ck] }+ { position: [fk, lk] }], I = () => ["no-repeat", { repeat: ["","x",@@ -33359,23 +33372,23 @@ var Hme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b"contain",yge,dge,- { size: [dk, ck] }+ { size: [fk, lk] }], re = () => [- ak,- fk,- lk+ ok,+ pk,+ uk], ie = () => ["","none","full",l,- dk,- ck- ], ae = () => [- "",- rk,fk,lk+ ], ae = () => [+ "",+ ik,+ pk,+ uk], oe = () => ["solid","dashed",@@ -33399,32 +33412,32 @@ var Hme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b"color","luminosity"], ce = () => [- rk,- ak,+ ik,+ ok,vge,hge], le = () => ["","none",m,- dk,- ck+ fk,+ lk], ue = () => ["none",- rk,- dk,- ck+ ik,+ fk,+ lk], de = () => ["none",- rk,- dk,- ck+ ik,+ fk,+ lk], fe = () => [- rk,- dk,- ck+ ik,+ fk,+ lk], pe = () => [- nk,+ rk,"full",...w()];@@ -33438,11 +33451,11 @@ var Hme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b"bounce"],aspect: ["video"],- blur: [ok],- breakpoint: [ok],+ blur: [sk],+ breakpoint: [sk],color: [age],- container: [ok],- "drop-shadow": [ok],+ container: [sk],+ "drop-shadow": [sk],ease: ["in","out",@@ -33460,7 +33473,7 @@ var Hme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b"extrabold","black"],- "inset-shadow": [ok],+ "inset-shadow": [sk],leading: ["none","tight",@@ -33477,11 +33490,11 @@ var Hme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b"distant","none"],- radius: [ok],- shadow: [ok],- spacing: ["px", rk],- text: [ok],- "text-shadow": [ok],+ radius: [sk],+ shadow: [sk],+ spacing: ["px", ik],+ text: [sk],+ "text-shadow": [sk],tracking: ["tighter","tight",@@ -33495,9 +33508,9 @@ var Hme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => baspect: [{ aspect: ["auto","square",- nk,- ck,- dk,+ rk,+ lk,+ fk,g] }],container: ["container"],@@ -33505,15 +33518,15 @@ var Hme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b"","normal","size",- dk,- ck+ fk,+ lk] }],"container-named": [uge],columns: [{ columns: [- rk,+ ik,"auto",- ck,- dk,+ lk,+ fk,s] }],"break-after": [{ "break-after": y() }],@@ -33610,13 +33623,13 @@ var Hme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b"collapse"],z: [{ z: [- ik,+ ak,"auto",- dk,- ck+ fk,+ lk] }],basis: [{ basis: [- nk,+ rk,"full","auto",s,@@ -33634,32 +33647,32 @@ var Hme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b"wrap-reverse"] }],flex: [{ flex: [+ ik,rk,- nk,"auto","initial","none",- ck+ lk] }],grow: [{ grow: ["",- rk,- dk,- ck+ ik,+ fk,+ lk] }],shrink: [{ shrink: ["",- rk,- dk,- ck+ ik,+ fk,+ lk] }],order: [{ order: [- ik,+ ak,"first","last","none",- dk,- ck+ fk,+ lk] }],"grid-cols": [{ "grid-cols": E() }],"col-start-end": [{ col: D() }],@@ -33766,8 +33779,8 @@ var Hme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b"font-size": [{ text: ["base",n,- fk,- lk+ pk,+ uk] }],"font-smoothing": ["antialiased", "subpixel-antialiased"],"font-style": ["italic", "not-italic"],@@ -33786,15 +33799,15 @@ var Hme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b"expanded","extra-expanded","ultra-expanded",- ak,- ck+ ok,+ lk] }],"font-family": [{ font: [_ge,mge,t] }],- "font-features": [{ "font-features": [ck] }],+ "font-features": [{ "font-features": [lk] }],"fvn-normal": ["normal-nums"],"fvn-ordinal": ["ordinal"],"fvn-slashed-zero": ["slashed-zero"],@@ -33803,13 +33816,13 @@ var Hme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b"fvn-fraction": ["diagonal-fractions", "stacked-fractions"],tracking: [{ tracking: [i,- dk,- ck+ fk,+ lk] }],"line-clamp": [{ "line-clamp": [- rk,+ ik,"none",- dk,+ fk,fge] }],leading: [{ leading: [@@ -33819,16 +33832,16 @@ var Hme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b] }],"list-image": [{ "list-image": ["none",- dk,- ck+ fk,+ lk] }],"list-style-position": [{ list: ["inside", "outside"] }],"list-style-type": [{ list: ["disc","decimal","none",- dk,- ck+ fk,+ lk] }],"text-alignment": [{ text: ["left",@@ -33848,18 +33861,18 @@ var Hme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b],"text-decoration-style": [{ decoration: [...oe(), "wavy"] }],"text-decoration-thickness": [{ decoration: [- rk,+ ik,"from-font","auto",- dk,- lk+ fk,+ uk] }],"text-decoration-color": [{ decoration: F() }],"underline-offset": [{ "underline-offset": [- rk,+ ik,"auto",- dk,- ck+ fk,+ lk] }],"text-transform": ["uppercase",@@ -33880,9 +33893,9 @@ var Hme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b] }],indent: [{ indent: w() }],"tab-size": [{ tab: [- ik,- dk,- ck+ ak,+ fk,+ lk] }],"vertical-align": [{ align: ["baseline",@@ -33893,8 +33906,8 @@ var Hme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b"text-bottom","sub","super",- dk,- ck+ fk,+ lk] }],whitespace: [{ whitespace: ["normal",@@ -33922,8 +33935,8 @@ var Hme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b] }],content: [{ content: ["none",- dk,- ck+ fk,+ lk] }],"bg-attachment": [{ bg: ["fixed",@@ -33958,20 +33971,20 @@ var Hme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b"l","tl"] },- ik,- dk,- ck+ ak,+ fk,+ lk],radial: ["",- dk,- ck+ fk,+ lk],conic: ["",- ik,- dk,- ck+ ak,+ fk,+ lk]},bge,@@ -34042,15 +34055,15 @@ var Hme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b"hidden"] }],"outline-offset": [{ "outline-offset": [- rk,- dk,- ck+ ik,+ fk,+ lk] }],"outline-w": [{ outline: ["",- rk,- fk,- lk+ ik,+ pk,+ uk] }],"outline-color": [{ outline: F() }],shadow: [{ shadow: [@@ -34058,35 +34071,35 @@ var Hme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b"inner","none",u,- pk,- uk+ mk,+ dk] }],"shadow-color": [{ shadow: F() }],"inset-shadow": [{ "inset-shadow": ["none",d,- pk,- uk+ mk,+ dk] }],"inset-shadow-color": [{ "inset-shadow": F() }],"ring-w": [{ ring: ae() }],"ring-w-inset": ["ring-inset"],"ring-color": [{ ring: F() }],- "ring-offset-w": [{ "ring-offset": [rk, lk] }],+ "ring-offset-w": [{ "ring-offset": [ik, uk] }],"ring-offset-color": [{ "ring-offset": F() }],"inset-ring-w": [{ "inset-ring": ae() }],"inset-ring-color": [{ "inset-ring": F() }],"text-shadow": [{ "text-shadow": ["none",f,- pk,- uk+ mk,+ dk] }],"text-shadow-color": [{ "text-shadow": F() }],opacity: [{ opacity: [- rk,- dk,- ck+ ik,+ fk,+ lk] }],"mix-blend": [{ "mix-blend": [...se(),@@ -34108,7 +34121,7 @@ var Hme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b"intersect","exclude"] }],- "mask-image-linear-pos": [{ "mask-linear": [rk] }],+ "mask-image-linear-pos": [{ "mask-linear": [ik] }],"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() }],@@ -34137,7 +34150,7 @@ var Hme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b"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": [dk, ck] }],+ "mask-image-radial": [{ "mask-radial": [fk, lk] }],"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() }],@@ -34148,7 +34161,7 @@ var Hme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => bfarthest: ["side", "corner"]}] }],"mask-image-radial-pos": [{ "mask-radial-at": b() }],- "mask-image-conic-pos": [{ "mask-conic": [rk] }],+ "mask-image-conic-pos": [{ "mask-conic": [ik] }],"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() }],@@ -34172,111 +34185,111 @@ var Hme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b"mask-type": [{ "mask-type": ["alpha", "luminance"] }],"mask-image": [{ mask: ["none",- dk,- ck+ fk,+ lk] }],filter: [{ filter: ["","none",- dk,- ck+ fk,+ lk] }],blur: [{ blur: le() }],brightness: [{ brightness: [- rk,- dk,- ck+ ik,+ fk,+ lk] }],contrast: [{ contrast: [- rk,- dk,- ck+ ik,+ fk,+ lk] }],"drop-shadow": [{ "drop-shadow": ["","none",p,- pk,- uk+ mk,+ dk] }],"drop-shadow-color": [{ "drop-shadow": F() }],grayscale: [{ grayscale: ["",- rk,- dk,- ck+ ik,+ fk,+ lk] }],"hue-rotate": [{ "hue-rotate": [- rk,- dk,- ck+ ik,+ fk,+ lk] }],invert: [{ invert: ["",- rk,- dk,- ck+ ik,+ fk,+ lk] }],saturate: [{ saturate: [- rk,- dk,- ck+ ik,+ fk,+ lk] }],sepia: [{ sepia: ["",- rk,- dk,- ck+ ik,+ fk,+ lk] }],"backdrop-filter": [{ "backdrop-filter": ["","none",- dk,- ck+ fk,+ lk] }],"backdrop-blur": [{ "backdrop-blur": le() }],"backdrop-brightness": [{ "backdrop-brightness": [- rk,- dk,- ck+ ik,+ fk,+ lk] }],"backdrop-contrast": [{ "backdrop-contrast": [- rk,- dk,- ck+ ik,+ fk,+ lk] }],"backdrop-grayscale": [{ "backdrop-grayscale": ["",- rk,- dk,- ck+ ik,+ fk,+ lk] }],"backdrop-hue-rotate": [{ "backdrop-hue-rotate": [- rk,- dk,- ck+ ik,+ fk,+ lk] }],"backdrop-invert": [{ "backdrop-invert": ["",- rk,- dk,- ck+ ik,+ fk,+ lk] }],"backdrop-opacity": [{ "backdrop-opacity": [- rk,- dk,- ck+ ik,+ fk,+ lk] }],"backdrop-saturate": [{ "backdrop-saturate": [- rk,- dk,- ck+ ik,+ fk,+ lk] }],"backdrop-sepia": [{ "backdrop-sepia": ["",- rk,- dk,- ck+ ik,+ fk,+ lk] }],"border-collapse": [{ border: ["collapse", "separate"] }],"border-spacing": [{ "border-spacing": w() }],@@ -34292,39 +34305,39 @@ var Hme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b"shadow","transform","none",- dk,- ck+ fk,+ lk] }],"transition-behavior": [{ transition: ["normal", "discrete"] }],duration: [{ duration: [- rk,+ ik,"initial",- dk,- ck+ fk,+ lk] }],ease: [{ ease: ["linear","initial",_,- dk,- ck+ fk,+ lk] }],delay: [{ delay: [- rk,- dk,- ck+ ik,+ fk,+ lk] }],animate: [{ animate: ["none",v,- dk,- ck+ fk,+ lk] }],backface: [{ backface: ["hidden", "visible"] }],perspective: [{ perspective: [h,- dk,- ck+ fk,+ lk] }],"perspective-origin": [{ "perspective-origin": x() }],rotate: [{ rotate: ue() }],@@ -34340,8 +34353,8 @@ var Hme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b"skew-x": [{ "skew-x": fe() }],"skew-y": [{ "skew-y": fe() }],transform: [{ transform: [- dk,- ck,+ fk,+ lk,"","none","gpu",@@ -34355,9 +34368,9 @@ var Hme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b"translate-z": [{ "translate-z": pe() }],"translate-none": ["translate-none"],zoom: [{ zoom: [- ik,- dk,- ck+ ak,+ fk,+ lk] }],accent: [{ accent: F() }],appearance: [{ appearance: ["none", "auto"] }],@@ -34407,8 +34420,8 @@ var Hme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b"nwse-resize","zoom-in","zoom-out",- dk,- ck+ fk,+ lk] }],"field-sizing": [{ "field-sizing": ["fixed", "content"] }],"pointer-events": [{ "pointer-events": ["auto", "none"] }],@@ -34494,14 +34507,14 @@ var Hme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b"scroll","contents","transform",- dk,- ck+ fk,+ lk] }],fill: [{ fill: ["none", ...F()] }],"stroke-w": [{ stroke: [- rk,- fk,- lk,+ ik,+ pk,+ uk,fge] }],stroke: [{ stroke: ["none", ...F()] }],@@ -34760,13 +34773,13 @@ var Hme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b"selection"]};-}, jge = (e, { cacheSize: t, prefix: n, experimentalParseClassName: r, extend: i = {}, override: a = {} }) => (gk(e, "cacheSize", t), gk(e, "prefix", n), gk(e, "experimentalParseClassName", r), _k(e.theme, a.theme), _k(e.classGroups, a.classGroups), _k(e.conflictingClassGroups, a.conflictingClassGroups), _k(e.conflictingClassGroupModifiers, a.conflictingClassGroupModifiers), gk(e, "postfixLookupClassGroups", a.postfixLookupClassGroups), gk(e, "orderSensitiveModifiers", a.orderSensitiveModifiers), vk(e.theme, i.theme), vk(e.classGroups, i.classGroups), vk(e.conflictingClassGroups, i.conflictingClassGroups), vk(e.conflictingClassGroupModifiers, i.conflictingClassGroupModifiers), yk(e, i, "postfixLookupClassGroups"), yk(e, i, "orderSensitiveModifiers"), e), gk = (e, t, n) => {+}, jge = (e, { cacheSize: t, prefix: n, experimentalParseClassName: r, extend: i = {}, override: a = {} }) => (_k(e, "cacheSize", t), _k(e, "prefix", n), _k(e, "experimentalParseClassName", r), vk(e.theme, a.theme), vk(e.classGroups, a.classGroups), vk(e.conflictingClassGroups, a.conflictingClassGroups), vk(e.conflictingClassGroupModifiers, a.conflictingClassGroupModifiers), _k(e, "postfixLookupClassGroups", a.postfixLookupClassGroups), _k(e, "orderSensitiveModifiers", a.orderSensitiveModifiers), yk(e.theme, i.theme), yk(e.classGroups, i.classGroups), yk(e.conflictingClassGroups, i.conflictingClassGroups), yk(e.conflictingClassGroupModifiers, i.conflictingClassGroupModifiers), bk(e, i, "postfixLookupClassGroups"), bk(e, i, "orderSensitiveModifiers"), e), _k = (e, t, n) => {n !== void 0 && (e[t] = n);-}, _k = (e, t) => {- if (t) for (let n in t) gk(e, n, t[n]);}, vk = (e, t) => {- if (t) for (let n in t) yk(e, t, n);-}, yk = (e, t, n) => {+ if (t) for (let n in t) _k(e, n, t[n]);+}, yk = (e, t) => {+ if (t) for (let n in t) bk(e, t, n);+}, bk = (e, t, n) => {let r = t[n];r !== void 0 && (e[n] = e[n] ? e[n].concat(r) : r);}, Mge = (e, ...t) => typeof e == "function" ? Yhe(Age, e, ...t) : Yhe(() => jge(Age(), e), ...t), Nge = [@@ -34788,13 +34801,13 @@ var Hme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b"medium","semibold","bold"-], bk = Mge({ extend: { classGroups: { "font-size": [{ text: Nge.flatMap((e) => Pge.map((t) => `${e}-${t}`)) }] } } });-function xk(e) {+], xk = Mge({ extend: { classGroups: { "font-size": [{ text: Nge.flatMap((e) => Pge.map((t) => `${e}-${t}`)) }] } } });+function Sk(e) {return e;}//#endregion//#region src/react/boardui/components/base/badges/chip.tsx-var Sk = xk({+var Ck = Sk({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",@@ -34813,16 +34826,16 @@ var Sk = xk({soft: "bg-background-secondary-default text-text-secondary"}});-function Ck({ variant: e = "bold", color: t = "neutral", className: n, ref: r, ...i }) {+function wk({ variant: e = "bold", color: t = "neutral", className: n, ref: r, ...i }) {return /* @__PURE__ */ (0, x.jsx)("span", {ref: r,- className: bk(Sk.base, Sk.variant[e], Sk.color[t], n),+ className: xk(Ck.base, Ck.variant[e], Ck.color[t], n),...i});}//#endregion//#region src/react/boardui/components/base/buttons/button.tsx-var wk = xk({+var Tk = Sk({base: ["inline-flex items-center justify-center gap-0.5 whitespace-nowrap overflow-hidden","font-sans select-none cursor-pointer",@@ -34881,40 +34894,40 @@ function G({ variant: e = "primary", size: t = "medium", iconOnly: n = !1, leadireturn /* @__PURE__ */ (0, x.jsxs)("button", {ref: c,type: s,- className: bk(wk.base, wk.size[t], wk.variant[e], n && wk.iconOnlySize[t], o),+ className: xk(Tk.base, Tk.size[t], Tk.variant[e], n && Tk.iconOnlySize[t], o),...l,children: [r ? /* @__PURE__ */ (0, x.jsx)(r, {- className: wk.icon[t],+ className: Tk.icon[t],"aria-hidden": !0}) : null,!n && a != null && /* @__PURE__ */ (0, x.jsx)("span", {- className: wk.label[t],+ className: Tk.label[t],children: a}),!n && i ? /* @__PURE__ */ (0, x.jsx)(i, {- className: wk.icon[t],+ className: Tk.icon[t],"aria-hidden": !0}) : null]});}-function Tk({ variant: e = "primary", size: t = "medium", iconOnly: n = !1, leadingIcon: r, trailingIcon: i, children: a, className: o, ref: s, ...c }) {+function Ek({ variant: e = "primary", size: t = "medium", iconOnly: n = !1, leadingIcon: r, trailingIcon: i, children: a, className: o, ref: s, ...c }) {return /* @__PURE__ */ (0, x.jsxs)("a", {ref: s,- className: bk(wk.base, wk.size[t], wk.variant[e], n && wk.iconOnlySize[t], o),+ className: xk(Tk.base, Tk.size[t], Tk.variant[e], n && Tk.iconOnlySize[t], o),...c,children: [r ? /* @__PURE__ */ (0, x.jsx)(r, {- className: wk.icon[t],+ className: Tk.icon[t],"aria-hidden": !0}) : null,!n && a != null && /* @__PURE__ */ (0, x.jsx)("span", {- className: wk.label[t],+ className: Tk.label[t],children: a}),!n && i ? /* @__PURE__ */ (0, x.jsx)(i, {- className: wk.icon[t],+ className: Tk.icon[t],"aria-hidden": !0}) : null]@@ -34938,7 +34951,7 @@ var Fge = "min-w-0", Ige = {none: "",default: "p-5"}, Bge = "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", Vge = "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 Ek(e = {}) {+function Dk(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 [Fge,@@ -34958,7 +34971,7 @@ var Hge = {plain: "px-6 py-12",inset: "min-h-40 justify-center rounded-xl bg-background-secondary-default px-4 py-4"};-function Dk({ icon: e, title: t, actions: n, children: r, shell: i = "page" }) {+function Ok({ icon: e, title: t, actions: n, children: r, shell: i = "page" }) {let a = i === "page";return /* @__PURE__ */ (0, x.jsxs)("div", {"data-empty-state": "",@@ -34992,7 +35005,7 @@ function Dk({ icon: e, title: t, actions: n, children: r, shell: i = "page" }) {}//#endregion//#region src/react/components/loading-dots.tsx-function Ok({ label: e, inline: t = !1 }) {+function kk({ label: e, inline: t = !1 }) {let n = /* @__PURE__ */ (0, x.jsxs)("span", {"aria-hidden": !0,className: "inline-flex shrink-0 items-center gap-1",@@ -35061,7 +35074,7 @@ function K({ tone: e, title: t, action: n, extra: r, children: i }) {}//#endregion//#region src/react/components/page.tsx-function kk({ children: e }) {+function Ak({ children: e }) {return /* @__PURE__ */ (0, x.jsx)("div", {className: "mx-auto flex w-full max-w-board flex-col gap-8",children: e@@ -35069,21 +35082,21 @@ function kk({ children: e }) {}//#endregion//#region src/react/components/progress.tsx-var Ak = 100, Uge = .4;-function jk({ 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 * Ak;+var jk = 100, Uge = .4;+function Mk({ 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 * jk;return /* @__PURE__ */ (0, x.jsxs)("svg", {role: "progressbar","aria-label": e,"aria-valuemin": 0,"aria-valuemax": i,"aria-valuenow": a(t),- viewBox: `0 0 ${Ak} 1`,+ viewBox: `0 0 ${jk} 1`,preserveAspectRatio: "none",className: "h-1.5 w-full overflow-hidden rounded-full",children: [/* @__PURE__ */ (0, x.jsx)("rect", {- width: Ak,+ width: jk,height: 1,className: "fill-background-tertiary-default"}),@@ -35111,7 +35124,7 @@ function q(e) {}//#endregion//#region src/react/settings/use-action.ts-function Mk(e = "") {+function Nk(e = "") {let t = (0, b.useRef)(null), [n, r] = (0, b.useState)(""), [i, a] = (0, b.useState)(e);(0, b.useEffect)(() => () => t.current?.abort(), []);async function o(e, n, i, o) {@@ -35137,21 +35150,21 @@ function Mk(e = "") {}//#endregion//#region src/react/boardui/components/application/settings/settings-rows.tsx-function Nk({ className: e, children: t }) {+function Pk({ className: e, children: t }) {return /* @__PURE__ */ (0, x.jsx)("div", {- className: bk("flex w-full flex-col rounded-2xl bg-background-secondary-default pl-3", e),+ className: xk("flex w-full flex-col rounded-2xl bg-background-secondary-default pl-3", e),children: t});}-function Pk({ className: e, children: t }) {+function Fk({ className: e, children: t }) {return /* @__PURE__ */ (0, x.jsx)("p", {- className: bk("w-full px-3 text-body-2-medium text-text-secondary", e),+ className: xk("w-full px-3 text-body-2-medium text-text-secondary", e),children: t});}-function Fk({ label: e, description: t, children: n }) {+function Ik({ label: e, description: t, children: n }) {return /* @__PURE__ */ (0, x.jsxs)("div", {- className: bk("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: xk("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, x.jsxs)("div", {className: "flex min-w-0 flex-col",children: [/* @__PURE__ */ (0, x.jsx)("p", {@@ -35166,7 +35179,7 @@ function Fk({ label: e, description: t, children: n }) {}//#endregion//#region src/react/boardui/components/base/buttons/link-button.tsx-var Ik = xk({+var Lk = Sk({base: ["inline-flex items-center justify-center gap-1 whitespace-nowrap","font-sans select-none cursor-pointer rounded-sm",@@ -35190,15 +35203,15 @@ var Ik = xk({secondary: ["text-text-secondary active:text-text-primary", "disabled:text-text-tertiary aria-disabled:text-text-tertiary"].join(" ")}});-function Lk({ variant: e = "primary", size: t = "medium", leadingIcon: n, trailingIcon: r, children: i, className: a, disabled: o = !1, ...s }) {- let c = bk(Ik.base, Ik.size[t], Ik.variant[e], a), l = /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [+function Rk({ variant: e = "primary", size: t = "medium", leadingIcon: n, trailingIcon: r, children: i, className: a, disabled: o = !1, ...s }) {+ let c = xk(Lk.base, Lk.size[t], Lk.variant[e], a), l = /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [n ? /* @__PURE__ */ (0, x.jsx)(n, {- className: Ik.icon[t],+ className: Lk.icon[t],"aria-hidden": !0}) : null,i != null && /* @__PURE__ */ (0, x.jsx)("span", { children: i }),r ? /* @__PURE__ */ (0, x.jsx)(r, {- className: Ik.icon[t],+ className: Lk.icon[t],"aria-hidden": !0}) : null] });@@ -35225,7 +35238,7 @@ function Lk({ variant: e = "primary", size: t = "medium", leadingIcon: n, traili}//#endregion//#region src/react/settings/section.tsx-function Rk({ title: e, icon: t, id: n, aside: r, onSubmit: i, children: a }) {+function zk({ title: e, icon: t, id: n, aside: r, onSubmit: i, children: a }) {let o = t ? /* @__PURE__ */ (0, x.jsxs)("span", {className: "inline-flex items-center gap-1.5",children: [t, e]@@ -35233,12 +35246,12 @@ function Rk({ 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, x.jsx)("div", {className: "min-w-40 flex-1",- children: /* @__PURE__ */ (0, x.jsx)(Pk, { children: o })+ children: /* @__PURE__ */ (0, x.jsx)(Fk, { children: o })}), /* @__PURE__ */ (0, x.jsx)("div", {className: "flex min-w-0 max-w-full",children: r})]- }) : /* @__PURE__ */ (0, x.jsx)(Pk, { children: o }), /* @__PURE__ */ (0, x.jsx)(Nk, { children: a })] });+ }) : /* @__PURE__ */ (0, x.jsx)(Fk, { children: o }), /* @__PURE__ */ (0, x.jsx)(Pk, { children: a })] });return i ? /* @__PURE__ */ (0, x.jsx)("form", {id: n,"aria-label": e,@@ -35253,13 +35266,13 @@ function Rk({ title: e, icon: t, id: n, aside: r, onSubmit: i, children: a }) {children: s});}-function zk({ children: e }) {+function Bk({ children: e }) {return /* @__PURE__ */ (0, x.jsx)("div", {className: "flex flex-col",children: e});}-function Bk({ divided: e = !1, children: t }) {+function Vk({ divided: e = !1, children: t }) {return e ? /* @__PURE__ */ (0, x.jsx)("div", {className: "flex flex-col gap-4 border-t border-separator-border py-4 pr-3",children: t@@ -35268,7 +35281,7 @@ function Bk({ divided: e = !1, children: t }) {children: t});}-function Vk({ status: e, children: t }) {+function Hk({ status: e, children: t }) {return /* @__PURE__ */ (0, x.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",children: [e ? /* @__PURE__ */ (0, x.jsx)("div", {@@ -35277,34 +35290,34 @@ function Vk({ status: e, children: t }) {}) : null, t]});}-function Hk({ role: e, children: t }) {+function Uk({ role: e, children: t }) {return /* @__PURE__ */ (0, x.jsx)("p", {role: e,className: "text-body-2-regular text-text-secondary",children: t});}-function Uk({ children: e }) {+function Wk({ children: e }) {return /* @__PURE__ */ (0, x.jsx)("p", {role: "alert",className: "text-body-2-regular text-text-error-primary",children: e});}-function Wk({ children: e }) {+function Gk({ children: e }) {return /* @__PURE__ */ (0, x.jsx)("p", {className: "text-body-medium text-text-primary",children: e});}-function Gk({ href: e, children: t, leadingIcon: n }) {- return /* @__PURE__ */ (0, x.jsx)(Lk, {+function Kk({ href: e, children: t, leadingIcon: n }) {+ return /* @__PURE__ */ (0, x.jsx)(Rk, {href: e,target: "_blank",rel: "noopener noreferrer",size: "small",leadingIcon: n,- trailingIcon: KO,+ trailingIcon: qO,className: "min-w-0 max-w-full",children: /* @__PURE__ */ (0, x.jsx)("span", {className: "min-w-0 whitespace-normal break-all",@@ -35312,13 +35325,13 @@ function Gk({ href: e, children: t, leadingIcon: n }) {})});}-function Kk({ children: e }) {+function qk({ children: e }) {return /* @__PURE__ */ (0, x.jsx)("dl", {className: "flex flex-col",children: e});}-function qk({ term: e, children: t }) {+function Jk({ term: e, children: t }) {return /* @__PURE__ */ (0, x.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, x.jsx)("dt", {@@ -35330,7 +35343,7 @@ function qk({ term: e, children: t }) {})]});}-function Jk({ summary: e, defaultOpen: t = !1, children: n, trailing: r = !1, onOpenChange: i }) {+function Yk({ summary: e, defaultOpen: t = !1, children: n, trailing: r = !1, onOpenChange: i }) {let a = (0, b.useId)(), o = (0, b.useRef)(null), s = (0, b.useRef)(null), c = (0, b.useRef)(!1), [l, u] = (0, b.useState)(t);return /* @__PURE__ */ (0, x.jsxs)("details", {ref: (e) => {@@ -35344,12 +35357,12 @@ function Jk({ summary: e, defaultOpen: t = !1, children: n, trailing: r = !1, on},className: `${r ? "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: [- r ? null : /* @__PURE__ */ (0, x.jsx)(VO, {+ r ? null : /* @__PURE__ */ (0, x.jsx)(HO, {"aria-hidden": !0,className: l ? "size-4 shrink-0 rotate-90 transition-transform" : "size-4 shrink-0 transition-transform"}),e,- r ? /* @__PURE__ */ (0, x.jsx)(VO, {+ r ? /* @__PURE__ */ (0, x.jsx)(HO, {"aria-hidden": !0,className: l ? "ml-auto size-4 shrink-0 -rotate-90 transition-transform" : "ml-auto size-4 shrink-0 rotate-90 transition-transform"}) : null@@ -35374,7 +35387,7 @@ function Wge({ name: e }) {children: /* @__PURE__ */ (0, x.jsx)("use", { href: `#i-${e}` })});}-function Yk({ mark: e }) {+function Xk({ mark: e }) {return e.startsWith("data:image/png;base64,") ? /* @__PURE__ */ (0, x.jsx)("img", {src: e,alt: "",@@ -35385,11 +35398,11 @@ function Yk({ mark: e }) {}//#endregion//#region src/react/activity/tasks.ts-var Xk = "/api/tasks", Zk = ["tasks"], Gge = (e, t) => V(`${Xk}?${new URLSearchParams({+var Zk = "/api/tasks", Qk = ["tasks"], Gge = (e, t) => V(`${Zk}?${new URLSearchParams({before_finished_at: e.finished_at || "",before_id: String(e.id)})}`, t);-function Qk(...e) {+function $k(...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) => {@@ -35397,14 +35410,14 @@ function Qk(...e) {return n === r ? t.id - e.id : n < r ? 1 : -1;});}-var Kge = 2e3, qge = 1e4, Jge = (e) => e?.running.length ? Kge : qge, $k = (e) => V(Xk, e);+var Kge = 2e3, qge = 1e4, Jge = (e) => e?.running.length ? Kge : qge, eA = (e) => V(Zk, e);async function Yge(e) {await U.fetchQuery({- queryKey: Zk,- queryFn: () => $k(e)+ queryKey: Qk,+ queryFn: () => eA(e)});}-var eA = {+var tA = {manual: "手动",scheduled: "定时",startup: "启动",@@ -35477,12 +35490,12 @@ function e_e(e, t) {}return n;}-var t_e = (e) => e.trigger === "scheduled" && e.status === "succeeded" && !e.error && !(Number(e.result_summary?.added) > 0) && !(Number(e.result_summary?.followups) > 0), tA = (e) => e.status === "pending" || e.status === "running";+var t_e = (e) => e.trigger === "scheduled" && e.status === "succeeded" && !e.error && !(Number(e.result_summary?.added) > 0) && !(Number(e.result_summary?.followups) > 0), nA = (e) => e.status === "pending" || e.status === "running";function n_e(e) {let t = `${e.task_label}:`, n = e.progress_label || "", r = n.startsWith(t) ? n.slice(t.length) : n === e.task_label ? "" : n, i = e.progress_total || 0;- return [r, iA(e.error) || oA(e.result_summary) || (tA(e) && i > 0 ? `${rA(e.progress_current, i)} 项` : "")].filter(Boolean).join(" · ");+ return [r, aA(e.error) || sA(e.result_summary) || (nA(e) && i > 0 ? `${iA(e.progress_current, i)} 项` : "")].filter(Boolean).join(" · ");}-function nA(e) {+function rA(e) {if (typeof e != "number" || !Number.isFinite(e) || e < 0) return "";let t = Math.floor(e);if (t < 60) return `${t} 秒`;@@ -35491,15 +35504,15 @@ function nA(e) {let r = Math.floor(n / 60);return r < 48 ? `${r} 小时 ${n % 60} 分` : `${Math.floor(r / 24).toLocaleString()} 天 ${r % 24} 小时`;}-function rA(e, t) {+function iA(e, t) {let n = Math.max(0, Number(t) || 0);return `${Math.min(n, Math.max(0, Number(e) || 0)).toLocaleString()} / ${n.toLocaleString()}`;}-function iA(e) {+function aA(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 aA(e) {+function oA(e) {if (!e) return "";let t = new Date(e);return Number.isNaN(t.getTime()) ? "" : t.toLocaleString(void 0, {@@ -35518,7 +35531,7 @@ var r_e = /* @__PURE__ */ new Set(["completed_at","finished_at"]);-function oA(e) {+function sA(e) {return Object.entries(e || {}).filter(([e, t]) => !r_e.has(e) && (typeof t == "number" || typeof t == "string") && String(t) !== "").map(([e, t]) => `${Qge[e] || e} ${typeof t == "number" ? t.toLocaleString() : t}`).join(" · ");}//#endregion@@ -35526,38 +35539,38 @@ function oA(e) {function i_e({ className: e }) {return /* @__PURE__ */ (0, x.jsx)("span", {className: e,- children: /* @__PURE__ */ (0, x.jsx)(Yk, { mark: eo[115] })+ children: /* @__PURE__ */ (0, x.jsx)(Xk, { mark: eo[115] })});}function a_e({ className: e }) {return /* @__PURE__ */ (0, x.jsx)("span", {className: e,- children: /* @__PURE__ */ (0, x.jsx)(Yk, { mark: eo.pikpak })+ children: /* @__PURE__ */ (0, x.jsx)(Xk, { mark: eo.pikpak })});}-var sA = {+var cA = {115: i_e,pikpak: a_e};-function cA({ source: e, label: t }) {+function lA({ source: e, label: t }) {return /* @__PURE__ */ (0, x.jsxs)("span", {className: "inline-flex min-w-0 items-center gap-1.5",- children: [/* @__PURE__ */ (0, x.jsx)(Yk, { mark: eo[e] || (e === "local" ? "hard-drive" : "database") }), /* @__PURE__ */ (0, x.jsx)("span", { children: t })]+ children: [/* @__PURE__ */ (0, x.jsx)(Xk, { mark: eo[e] || (e === "local" ? "hard-drive" : "database") }), /* @__PURE__ */ (0, x.jsx)("span", { children: t })]});}//#endregion//#region src/react/activity/downloads-panel.tsx-var lA = "/api/downloads", uA = ["downloads"], o_e = "/api/downloads/cancel", s_e = "/api/downloads/postprocess", dA = (e) => e?.tasks.some((e) => e.cancellable || e.postprocess_active) ? 5e3 : 3e4, c_e = {+var uA = "/api/downloads", dA = ["downloads"], o_e = "/api/downloads/cancel", s_e = "/api/downloads/postprocess", fA = (e) => e?.tasks.some((e) => e.cancellable || e.postprocess_active) ? 5e3 : 3e4, c_e = {ingested: "lime",failed: "rose",cancelled: "yellow",stalled: "yellow"-}, l_e = (e) => e.title || e.display_name || e.remote_name || e.code || `磁力 ${e.info_hash?.slice(0, 8) ?? e.id}`, fA = (e) => e.failure_label ? [e.failure_label, e.failure_detail].filter(Boolean).join(":") : "";+}, l_e = (e) => e.title || e.display_name || e.remote_name || e.code || `磁力 ${e.info_hash?.slice(0, 8) ?? e.id}`, pA = (e) => e.failure_label ? [e.failure_label, e.failure_detail].filter(Boolean).join(":") : "";function u_e() {let e = (0, b.useId)(), t = dt({- queryKey: uA,- queryFn: ({ signal: e }) => V(`${lA}?limit=50`, e),- refetchInterval: (e) => dA(e.state.data)+ queryKey: dA,+ queryFn: ({ signal: e }) => V(`${uA}?limit=50`, e),+ refetchInterval: (e) => fA(e.state.data)}), n = t.data;return !n?.tasks.length && !t.error ? null : /* @__PURE__ */ (0, x.jsxs)("section", {"aria-labelledby": e,@@ -35584,12 +35597,12 @@ function u_e() {});}function d_e({ task: e, writable: t }) {- let n = C(), r = Mk(), [i, a] = (0, b.useState)(!1), o = fA(e), s = e.state === "failed" || e.postprocess_state === "failed", c = [+ let n = C(), r = Nk(), [i, a] = (0, b.useState)(!1), o = pA(e), s = e.state === "failed" || e.postprocess_state === "failed", c = [e.code,e.target,- aA(e.submitted_at)+ oA(e.submitted_at)].filter(Boolean).join(" · "), l = () => {- n.invalidateQueries({ queryKey: uA });+ n.invalidateQueries({ queryKey: dA });}, u = () => {r.run("cancel", (t) => H(o_e, { id: e.id }, "POST", t), l);}, d = () => {@@ -35601,7 +35614,7 @@ function d_e({ task: e, writable: t }) {title: e.title,origin: e.origin};- r.run("resubmit", (e) => H(lA, t, "POST", e), l);+ r.run("resubmit", (e) => H(uA, t, "POST", e), l);}, f = () => {navigator.clipboard.writeText(e.source_uri).then(() => a(!0), () => a(!1));}, p = () => {@@ -35610,7 +35623,7 @@ function d_e({ task: e, writable: t }) {return /* @__PURE__ */ (0, x.jsxs)("li", {"data-download-state": e.state,"data-download-id": e.id,- className: Ek({+ className: Dk({padding: "none",bordered: "line",className: s ? "flex flex-col border-border-error-default" : "flex flex-col"@@ -35625,11 +35638,11 @@ function d_e({ task: e, writable: t }) {className: "min-w-0 break-words text-title-1-medium text-text-primary",children: l_e(e)}),- /* @__PURE__ */ (0, x.jsx)(Ck, {+ /* @__PURE__ */ (0, x.jsx)(wk, {color: c_e[e.state] ?? "neutral",children: e.state_label}),- e.state === "ingested" ? /* @__PURE__ */ (0, x.jsx)(Ck, {+ e.state === "ingested" ? /* @__PURE__ */ (0, x.jsx)(wk, {color: e.postprocess_state === "complete" ? "lime" : e.postprocess_state === "failed" ? "rose" : "yellow",children: e.postprocess_label}) : null@@ -35637,7 +35650,7 @@ function d_e({ task: e, writable: t }) {}),/* @__PURE__ */ (0, x.jsxs)("div", {className: "flex min-w-0 flex-wrap items-center gap-2 text-caption-1-regular text-text-secondary",- children: [/* @__PURE__ */ (0, x.jsx)(cA, {+ children: [/* @__PURE__ */ (0, x.jsx)(lA, {source: e.provider,label: e.provider_label}), /* @__PURE__ */ (0, x.jsx)("span", {@@ -35645,7 +35658,7 @@ function d_e({ task: e, writable: t }) {children: c})]}),- e.state === "remote_running" && e.progress != null ? /* @__PURE__ */ (0, x.jsx)(jk, {+ e.state === "remote_running" && e.progress != null ? /* @__PURE__ */ (0, x.jsx)(Mk, {label: "远端下载进度",value: Math.round(e.progress * 100),max: 100@@ -35654,7 +35667,7 @@ function d_e({ task: e, writable: t }) {className: "min-w-0 break-all text-caption-1-regular text-text-secondary",children: e.ledger_path}) : null,- r.error ? /* @__PURE__ */ (0, x.jsx)(Uk, { children: r.error }) : null,+ r.error ? /* @__PURE__ */ (0, x.jsx)(Wk, { children: r.error }) : null,/* @__PURE__ */ (0, x.jsxs)("div", {className: "flex flex-wrap items-center gap-2 pt-1",children: [@@ -35699,8 +35712,8 @@ function d_e({ task: e, writable: t }) {}//#endregion//#region src/react/activity/error-excerpt.tsx-function pA({ text: e, className: t = "" }) {- let [n, r] = (0, b.useState)(!1), i = (0, b.useId)(), a = String(e || "").trim(), o = iA(a);+function mA({ text: e, className: t = "" }) {+ let [n, r] = (0, b.useState)(!1), i = (0, b.useId)(), a = String(e || "").trim(), o = aA(a);if (!o) return null;let s = o !== a;return /* @__PURE__ */ (0, x.jsxs)("div", {@@ -35732,8 +35745,8 @@ var f_e = {cancelled: "yellow",interrupted: "yellow"};-function mA({ status: e }) {- return /* @__PURE__ */ (0, x.jsx)(Ck, {+function hA({ status: e }) {+ return /* @__PURE__ */ (0, x.jsx)(wk, {color: f_e[e] ?? "neutral",children: Zge(e)});@@ -35752,7 +35765,7 @@ function p_e({ rows: e }) {className: "min-w-0 break-words text-caption-1-regular text-text-primary",children: e.task_label}),- /* @__PURE__ */ (0, x.jsx)(mA, { status: e.status }),+ /* @__PURE__ */ (0, x.jsx)(hA, { status: e.status }),t ? /* @__PURE__ */ (0, x.jsx)("span", {className: "min-w-0 break-words text-caption-1-regular text-text-secondary",children: t@@ -35762,12 +35775,12 @@ function p_e({ rows: e }) {})});}-function hA({ run: e, meta: t, children: n, footer: r, followups: i }) {+function gA({ run: e, meta: t, children: n, footer: r, followups: i }) {return /* @__PURE__ */ (0, x.jsxs)("li", {"data-status": e.status,"data-task-key": e.task_key,"data-run-id": e.id,- className: Ek({+ className: Dk({padding: "none",bordered: "line",className: e.status === "failed" ? "flex flex-col border-border-error-default" : "flex flex-col"@@ -35781,7 +35794,7 @@ function hA({ run: e, meta: t, children: n, footer: r, followups: i }) {children: [/* @__PURE__ */ (0, x.jsx)("strong", {className: "min-w-0 break-words text-title-1-medium text-text-primary",children: e.task_label- }), /* @__PURE__ */ (0, x.jsx)(mA, { status: e.status })]+ }), /* @__PURE__ */ (0, x.jsx)(hA, { status: e.status })]}),/* @__PURE__ */ (0, x.jsx)("p", {className: "text-caption-1-regular text-text-secondary",@@ -35792,15 +35805,15 @@ function hA({ run: e, meta: t, children: n, footer: r, followups: i }) {}),i?.length ? /* @__PURE__ */ (0, x.jsx)("div", {className: "border-t border-separator-border px-5 py-2.5",- children: /* @__PURE__ */ (0, x.jsx)(Jk, {+ children: /* @__PURE__ */ (0, x.jsx)(Yk, {summary: `任务明细 · ${i.length} 项`,- defaultOpen: i.some((e) => tA(e) || e.status === "failed"),+ defaultOpen: i.some((e) => nA(e) || e.status === "failed"),children: /* @__PURE__ */ (0, x.jsx)(p_e, { rows: i })})}) : null,r ? /* @__PURE__ */ (0, x.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, x.jsx)(pA, {+ children: /* @__PURE__ */ (0, x.jsx)(mA, {text: r,className: "text-caption-1-regular text-text-secondary"})@@ -35809,14 +35822,14 @@ function hA({ run: e, meta: t, children: n, footer: r, followups: i }) {});}function m_e({ run: e, followups: t }) {- let n = e.progress_total || 0, r = e.progress_current || 0, i = e.progress_label || "正在进行", a = nA(e.elapsed_seconds), o = [eA[e.trigger] || e.trigger, a && `已跑 ${a}`].filter(Boolean).join(" · ");- return /* @__PURE__ */ (0, x.jsx)(hA, {+ let n = e.progress_total || 0, r = e.progress_current || 0, i = e.progress_label || "正在进行", a = rA(e.elapsed_seconds), o = [tA[e.trigger] || e.trigger, a && `已跑 ${a}`].filter(Boolean).join(" · ");+ return /* @__PURE__ */ (0, x.jsx)(gA, {run: e,meta: o,followups: t,children: n > 0 ? /* @__PURE__ */ (0, x.jsxs)("div", {className: "flex flex-col gap-1.5",- children: [/* @__PURE__ */ (0, x.jsx)(jk, {+ children: [/* @__PURE__ */ (0, x.jsx)(Mk, {label: i,value: Math.min(r, n),max: n@@ -35825,24 +35838,24 @@ function m_e({ run: e, followups: t }) {children: [i," · ",- rA(r, n),+ iA(r, n)," 项"]})]- }) : /* @__PURE__ */ (0, x.jsx)(Ok, { label: i })+ }) : /* @__PURE__ */ (0, x.jsx)(kk, { label: i })});}-function gA({ run: e, followups: t, runs: n }) {- let r = oA(e.result_summary), i = nA(e.elapsed_seconds), a = n && n.length > 1 ? n[n.length - 1] : void 0, o = (a ? [- eA[e.trigger] || e.trigger,+function _A({ run: e, followups: t, runs: n }) {+ let r = sA(e.result_summary), i = rA(e.elapsed_seconds), a = n && n.length > 1 ? n[n.length - 1] : void 0, o = (a ? [+ tA[e.trigger] || e.trigger,`近 ${n.length} 轮`,- `${aA(a.finished_at)} – ${aA(e.finished_at)}`+ `${oA(a.finished_at)} – ${oA(e.finished_at)}`] : [- eA[e.trigger] || e.trigger,- aA(e.finished_at),+ tA[e.trigger] || e.trigger,+ oA(e.finished_at),i && `用时 ${i}`]).filter(Boolean).join(" · ");- return /* @__PURE__ */ (0, x.jsx)(hA, {+ return /* @__PURE__ */ (0, x.jsx)(gA, {run: e,meta: o,footer: e.error,@@ -35853,7 +35866,7 @@ function gA({ run: e, followups: t, runs: n }) {}) : null});}-function _A({ title: e, children: t }) {+function vA({ title: e, children: t }) {let n = (0, b.useId)();return /* @__PURE__ */ (0, x.jsxs)("section", {"aria-labelledby": n,@@ -35865,7 +35878,7 @@ function _A({ title: e, children: t }) {}), t]});}-function vA({ live: e = !1, children: t }) {+function yA({ live: e = !1, children: t }) {return /* @__PURE__ */ (0, x.jsx)("ul", {"aria-live": e ? "polite" : void 0,className: "flex min-w-0 flex-col gap-3",@@ -35874,22 +35887,22 @@ function vA({ live: e = !1, children: t }) {}function h_e() {let e = dt({- queryKey: Zk,- queryFn: ({ signal: e }) => $k(e),+ queryKey: Qk,+ queryFn: ({ signal: e }) => eA(e),refetchInterval: (e) => Jge(e.state.data)}), t = e.data, n = t?.finished, [r, i] = (0, b.useState)([]), [a, o] = (0, b.useState)(!1), [s, c] = (0, b.useState)(n);- n !== s && (c(n), r.length && s && i(Qk(r, s)));+ n !== s && (c(n), r.length && s && i($k(r, s)));let l = ft({mutationFn: ({ oldest: e }) => Gge(e),onSuccess: (e, { shown: t }) => {- i((n) => Qk(n, t, e.finished || [])), o(!!e.finished_has_more);+ i((n) => $k(n, t, e.finished || [])), o(!!e.finished_has_more);}}), u = e.error ? B(e.error) : "";- if (!t) return /* @__PURE__ */ (0, x.jsx)(kk, { children: /* @__PURE__ */ (0, x.jsx)(K, {+ if (!t) return /* @__PURE__ */ (0, x.jsx)(Ak, { children: /* @__PURE__ */ (0, x.jsx)(K, {tone: "error",children: u || "读取任务中心失败"}) });- let d = Qk(t.finished || [], r), f = [+ let d = $k(t.finished || [], r), f = [...t.running || [],...t.skipped || [],...d@@ -35898,8 +35911,8 @@ function h_e() {oldest: _,shown: d});- }, S = g.filter((e) => p.get(e.id)?.some(tA)), C = h(t.running || []), w = h(t.skipped || []), T = g.filter((e) => !S.includes(e) && !w.some((t) => t.id === e.id)), E = e_e(T, (e) => t_e(e) && !p.get(e.id)?.length), D = !C.length && !S.length && !w.length && !T.length;- return /* @__PURE__ */ (0, x.jsxs)(kk, { children: [+ }, S = g.filter((e) => p.get(e.id)?.some(nA)), C = h(t.running || []), w = h(t.skipped || []), T = g.filter((e) => !S.includes(e) && !w.some((t) => t.id === e.id)), E = e_e(T, (e) => t_e(e) && !p.get(e.id)?.length), D = !C.length && !S.length && !w.length && !T.length;+ return /* @__PURE__ */ (0, x.jsxs)(Ak, { children: [u ? /* @__PURE__ */ (0, x.jsx)(K, {tone: "error",children: u@@ -35908,20 +35921,20 @@ function h_e() {tone: "warning",children: t.message || "账本上还没有任务中心的表"}) : null,- D ? /* @__PURE__ */ (0, x.jsx)(Dk, {+ D ? /* @__PURE__ */ (0, x.jsx)(Ok, {shell: "plain",- icon: JO,+ icon: YO,title: "还没有任务记录",children: "扫描、追更检查、批量操作和命令行批处理跑起来之后,这里会显示它们的进度与结果。"}) : /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [- /* @__PURE__ */ (0, x.jsx)(_A, {+ /* @__PURE__ */ (0, x.jsx)(vA, {title: "正在进行",- children: C.length || S.length ? /* @__PURE__ */ (0, x.jsxs)(vA, {+ children: C.length || S.length ? /* @__PURE__ */ (0, x.jsxs)(yA, {live: !0,children: [C.map((e) => /* @__PURE__ */ (0, x.jsx)(m_e, {run: e,followups: p.get(e.id)- }, e.id)), S.map((e) => /* @__PURE__ */ (0, x.jsx)(gA, {+ }, e.id)), S.map((e) => /* @__PURE__ */ (0, x.jsx)(_A, {run: e,followups: p.get(e.id)}, e.id))]@@ -35930,17 +35943,17 @@ function h_e() {children: "没有任务在跑。"})}),- w.length ? /* @__PURE__ */ (0, x.jsx)(_A, {+ w.length ? /* @__PURE__ */ (0, x.jsx)(vA, {title: "被挡下的",- children: /* @__PURE__ */ (0, x.jsx)(vA, { children: w.map((e) => /* @__PURE__ */ (0, x.jsx)(gA, {+ children: /* @__PURE__ */ (0, x.jsx)(yA, { children: w.map((e) => /* @__PURE__ */ (0, x.jsx)(_A, {run: e,followups: p.get(e.id)}, e.id)) })}) : null,- T.length || v ? /* @__PURE__ */ (0, x.jsxs)(_A, {+ T.length || v ? /* @__PURE__ */ (0, x.jsxs)(vA, {title: "最近完成",children: [- T.length ? /* @__PURE__ */ (0, x.jsx)(vA, { children: E.map(({ run: e, runs: t }) => /* @__PURE__ */ (0, x.jsx)(gA, {+ T.length ? /* @__PURE__ */ (0, x.jsx)(yA, { children: E.map(({ run: e, runs: t }) => /* @__PURE__ */ (0, x.jsx)(_A, {run: e,runs: t,followups: p.get(e.id)@@ -35952,7 +35965,7 @@ function h_e() {v ? /* @__PURE__ */ (0, x.jsx)(G, {variant: "secondary",size: "small",- leadingIcon: zO,+ leadingIcon: BO,className: "self-start",...q(l.isPending),onClick: y,@@ -35966,7 +35979,7 @@ function h_e() {}//#endregion//#region src/react/components/use-stuck.ts-function yA(e) {+function bA(e) {(0, b.useEffect)(() => {let t = e.current;if (!t) return;@@ -35986,7 +35999,7 @@ function yA(e) {//#region src/react/components/filter-glass.tsxfunction g_e({ title: e, children: t }) {let n = (0, b.useRef)(null);- return yA(n), /* @__PURE__ */ (0, x.jsxs)("div", {+ return bA(n), /* @__PURE__ */ (0, x.jsxs)("div", {ref: n,role: "group","aria-label": e,@@ -35999,48 +36012,48 @@ function g_e({ title: e, children: t }) {}), t]});}-function bA({ label: e, topLabel: t, top: n, bottom: r, className: i, topClassName: a, bottomClassName: o, panes: s, attrs: c, busy: l, bottomRef: u }) {+function xA({ 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, b.useRef)(null);- return yA(d), /* @__PURE__ */ (0, x.jsxs)("div", {+ return bA(d), /* @__PURE__ */ (0, x.jsxs)("div", {ref: d,role: "group","aria-label": e,"data-filter-glass": !0,"data-glass-pane": "",...c,- className: bk("sticky top-topbar z-10 mb-5.5 flex flex-col", i),+ className: xk("sticky top-topbar z-10 mb-5.5 flex flex-col", i),children: [s,n === null ? null : /* @__PURE__ */ (0, x.jsx)("div", {role: "group","aria-label": t,"data-filter-row": "top",- className: bk("flex h-12 min-w-0 items-center gap-1.75 overflow-x-auto overscroll-x-contain px-3 py-2", a),+ className: xk("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, x.jsx)("div", {ref: u,"data-filter-row": "bottom","aria-busy": l || void 0,- className: bk("flex min-h-11.5 min-w-0 items-center gap-3 px-3 py-2", o),+ className: xk("flex min-h-11.5 min-w-0 items-center gap-3 px-3 py-2", o),children: r})]});}var __e = "flex h-7.5 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 xA({ children: e, pressed: t, onPress: n, className: r, ...i }) {+function SA({ children: e, pressed: t, onPress: n, className: r, ...i }) {return /* @__PURE__ */ (0, x.jsx)("button", {type: "button",...i,"aria-pressed": t,- className: bk(__e, r),+ className: xk(__e, r),onClick: n,children: e});}var v_e = "h-7.5 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 SA({ children: e, onPress: t, busy: n = !1 }) {+function CA({ children: e, onPress: t, busy: n = !1 }) {return /* @__PURE__ */ (0, x.jsx)("button", {type: "button","data-glass-pill": "",@@ -36055,13 +36068,13 @@ function SA({ children: e, onPress: t, busy: n = !1 }) {}//#endregion//#region src/react/components/use-view-glide.ts-var CA = (e, t) => [+var wA = (e, t) => ["x","y","w","h"].every((n) => e[n] === t[n]);-function wA(e, t, n) {+function TA(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;@@ -36085,17 +36098,17 @@ function wA(e, t, n) {h: e.offsetHeight};}-function TA(e, t, n, r, { axis: i = "x" } = {}) {+function EA(e, t, n, r, { axis: i = "x" } = {}) {let a = (0, b.useRef)(null), o = (0, b.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 ? wA(u, l, i) : null;+ let u = c && c.offsetWidth ? r ?? c.querySelector(n) : null, d = u && l ? TA(u, l, i) : null;if (!d || !d.w || !d.h) {s.getAnimations().forEach((e) => e.cancel()), s.hidden = !0, a.current = null;return;}let f = s.hidden ? null : a.current;- s.hidden = !1, a.current = d, !(o && f && CA(f, d)) && Zo(s, o ? f : null, d, i);+ s.hidden = !1, a.current = d, !(o && f && wA(f, d)) && Zo(s, o ? f : null, d, i);}, [e,t,@@ -36116,8 +36129,8 @@ function TA(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 ? wA(o, r, i) : null, l = a.current;- (!s || !l || !CA(s, l)) && c();+ let e = t.current, o = e?.offsetWidth ? e.querySelector(n) : null, s = o && r ? TA(o, r, i) : null, l = a.current;+ (!s || !l || !wA(s, l)) && c();}), u = t.current;if (u && r) {l.observe(u);@@ -36149,12 +36162,12 @@ function TA(e, t, n, r, { axis: i = "x" } = {}) {}//#endregion//#region node_modules/react-aria-components/dist/private/utils.mjs-var EA = Symbol("default");-function DA({ values: e, children: t }) {+var DA = Symbol("default");+function OA({ values: e, children: t }) {for (let [n, r] of e) t = /*#__PURE__*/ b.createElement(n.Provider, { value: r }, t);return t;}-function OA(e) {+function kA(e) {let { className: t, style: n, children: r, defaultClassName: i, defaultChildren: a, defaultStyle: o, values: s, render: c } = e;return (0, b.useMemo)(() => {let e, l, u;@@ -36188,11 +36201,11 @@ function OA(e) {c]);}-function kA(e, t) {+function AA(e, t) {let n = (0, b.useContext)(e);if (t === null) return null;if (n && typeof n == "object" && "slots" in n && n.slots) {- let e = t || EA;+ let e = t || DA;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}.`);@@ -36201,8 +36214,8 @@ function kA(e, t) {}return n;}-function AA(e, t, n) {- let { ref: r, ...i } = kA(n, e.slot) || {}, a = Sy((0, b.useMemo)(() => fy(t, r), [t, r])), o = gy(i, e);+function jA(e, t, n) {+ let { ref: r, ...i } = AA(n, e.slot) || {}, a = Sy((0, b.useMemo)(() => fy(t, r), [t, r])), o = gy(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,@@ -36220,7 +36233,7 @@ function AA(e, t, n) {...e.style}), [o, a];}-function jA(e = !0) {+function MA(e = !0) {let [t, n] = (0, b.useState)(e), r = (0, b.useRef)(!1), i = (0, b.useCallback)((e) => {r.current = !0, n(!!e);}, []);@@ -36228,7 +36241,7 @@ function jA(e = !0) {r.current || n(!1);}, []), [i, t];}-function MA(e) {+function NA(e) {let t = /^(data-.*)$/, n = {};for (let r in e) t.test(r) || (n[r] = e[r]);return n;@@ -36242,19 +36255,19 @@ function y_e(e, t, n) {};return r ? r(s, void 0) : /*#__PURE__*/ b.createElement(e, s);}-var NA = {}, PA = new Proxy({}, { get(e, t) {+var PA = {}, FA = new Proxy({}, { get(e, t) {if (typeof t != "string") return;- let n = NA[t];- return n || (n = /*#__PURE__*/ (0, b.forwardRef)(y_e.bind(null, t)), NA[t] = n), n;-} }), FA = /*#__PURE__*/ (0, b.createContext)(null), IA = /*#__PURE__*/ (0, b.createContext)(null), LA = /*#__PURE__*/ (0, b.createContext)(null), RA = {+ let n = PA[t];+ return n || (n = /*#__PURE__*/ (0, b.forwardRef)(y_e.bind(null, t)), PA[t] = n), n;+} }), IA = /*#__PURE__*/ (0, b.createContext)(null), LA = /*#__PURE__*/ (0, b.createContext)(null), RA = /*#__PURE__*/ (0, b.createContext)(null), zA = {CollectionRoot({ collection: e, renderDropIndicator: t }) {- return zA(e, null, t);+ return BA(e, null, t);},CollectionBranch({ collection: e, parent: t, renderDropIndicator: n }) {- return zA(e, t, n);+ return BA(e, t, n);}};-function zA(e, t, n) {+function BA(e, t, n) {return q_({items: t ? e.getChildren(t.key) : e,dependencies: [n],@@ -36288,22 +36301,22 @@ function b_e(e, t, n) {}return s;}-var BA = /*#__PURE__*/ (0, b.createContext)(RA);-function VA(e) {+var VA = /*#__PURE__*/ (0, b.createContext)(zA);+function HA(e) {return (0, b.useMemo)(() => e == null ? null : /* @__PURE__ */ new Set([e]), [e]);}//#endregion//#region node_modules/react-aria-components/dist/private/Label.mjs-var HA = /*#__PURE__*/ (0, b.createContext)({}), x_e = /*#__PURE__*/ Dy(function(e, t) {- [e, t] = AA(e, t, HA);- let { elementType: n = "label", ...r } = e, i = PA[n];+var UA = /*#__PURE__*/ (0, b.createContext)({}), x_e = /*#__PURE__*/ Dy(function(e, t) {+ [e, t] = jA(e, t, UA);+ let { elementType: n = "label", ...r } = e, i = FA[n];return /*#__PURE__*/ b.createElement(i, {className: "react-aria-Label",...r,ref: t});-}), S_e = /*#__PURE__*/ (0, b.createContext)(null), UA = /*#__PURE__*/ (0, b.createContext)({}), WA = /*#__PURE__*/ Dy(function(e, t) {- [e, t] = AA(e, t, UA);+}), S_e = /*#__PURE__*/ (0, b.createContext)(null), WA = /*#__PURE__*/ (0, b.createContext)({}), GA = /*#__PURE__*/ Dy(function(e, t) {+ [e, t] = jA(e, t, WA);let n = e, { isPending: r } = n, { buttonProps: i, isPressed: a } = Cae(e, t);i = w_e(i, r);let { focusProps: o, isFocused: s, isFocusVisible: c } = Lx(e), { hoverProps: l, isHovered: u } = Bx({@@ -36316,7 +36329,7 @@ var HA = /*#__PURE__*/ (0, b.createContext)({}), x_e = /*#__PURE__*/ Dy(functionisFocusVisible: c,isDisabled: e.isDisabled || !1,isPending: r ?? !1- }, f = OA({+ }, f = kA({...e,values: d,defaultClassName: "react-aria-Button"@@ -36333,7 +36346,7 @@ var HA = /*#__PURE__*/ (0, b.createContext)({}), x_e = /*#__PURE__*/ Dy(functionp]);let _ = hb(e, { global: !0 });- return delete _.onClick, /*#__PURE__*/ b.createElement(PA.button, {+ return delete _.onClick, /*#__PURE__*/ b.createElement(FA.button, {...gy(_, f, i, o, l),type: i.type === "submit" && r ? "button" : i.type,id: p,@@ -36358,26 +36371,26 @@ function w_e(e, t) {}//#endregion//#region node_modules/react-aria-components/dist/private/Heading.mjs-var GA = /*#__PURE__*/ (0, b.createContext)({}), KA = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {- [e, t] = AA(e, t, GA);- let { children: n, level: r = 3, className: i, ...a } = e, o = PA[`h${r}`];+var KA = /*#__PURE__*/ (0, b.createContext)({}), qA = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {+ [e, t] = jA(e, t, KA);+ let { children: n, level: r = 3, className: i, ...a } = e, o = FA[`h${r}`];return /*#__PURE__*/ b.createElement(o, {...a,ref: t,className: i ?? "react-aria-Heading"}, n);-}), qA = /*#__PURE__*/ (0, b.createContext)({}), T_e = /*#__PURE__*/ Dy(function(e, t) {- [e, t] = AA(e, t, qA);- let { elementType: n = "span", ...r } = e, i = PA[n];+}), JA = /*#__PURE__*/ (0, b.createContext)({}), T_e = /*#__PURE__*/ Dy(function(e, t) {+ [e, t] = jA(e, t, JA);+ let { elementType: n = "span", ...r } = e, i = FA[n];return /*#__PURE__*/ b.createElement(i, {className: "react-aria-Text",...r,ref: t});-}), JA = /*#__PURE__*/ (0, b.createContext)(null), YA = /*#__PURE__*/ (0, b.createContext)(null), XA = /*#__PURE__*/ (0, b.createContext)(null), ZA = /*#__PURE__*/ (0, b.createContext)(null), E_e = /*#__PURE__*/ (0, b.createContext)(null), QA = /*#__PURE__*/ (0, b.createContext)(null);+}), YA = /*#__PURE__*/ (0, b.createContext)(null), XA = /*#__PURE__*/ (0, b.createContext)(null), ZA = /*#__PURE__*/ (0, b.createContext)(null), QA = /*#__PURE__*/ (0, b.createContext)(null), E_e = /*#__PURE__*/ (0, b.createContext)(null), $A = /*#__PURE__*/ (0, b.createContext)(null);function D_e(e, t) {- let { validationBehavior: n } = kA(YA) || {}, r = e.validationBehavior ?? n ?? "native", i = (0, b.useContext)(E_e), a = Sy((0, b.useMemo)(() => fy(t, e.inputRef === void 0 ? null : e.inputRef), [t, e.inputRef])), o = {- ...MA(e),+ let { validationBehavior: n } = AA(XA) || {}, r = e.validationBehavior ?? n ?? "native", i = (0, b.useContext)(E_e), a = Sy((0, b.useMemo)(() => fy(t, e.inputRef === void 0 ? null : e.inputRef), [t, e.inputRef])), o = {+ ...NA(e),children: typeof e.children == "function" || e.children,value: e.value,validationBehavior: r@@ -36386,9 +36399,9 @@ function D_e(e, t) {}var O_e = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {let { inputRef: n = null, ...r } = e;- [e, t] = AA(r, t, XA);+ [e, t] = jA(r, t, ZA);let [i, a] = D_e(e, n);- return /*#__PURE__*/ b.createElement(QA.Provider, { value: {+ return /*#__PURE__*/ b.createElement($A.Provider, { value: {...i,inputRef: a,defaultClassName: "react-aria-Checkbox",@@ -36399,10 +36412,10 @@ var O_e = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {ref: t}));}), k_e = /*#__PURE__*/ (0, b.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, b.useContext)(QA), { isFocused: p, isFocusVisible: m, focusProps: h } = Lx(), g = a || o, { hoverProps: _, isHovered: v } = Bx({+ let { labelProps: n, inputProps: r, isSelected: i, isDisabled: a, isReadOnly: o, isPressed: s, isInvalid: c, inputRef: l, defaultClassName: u, isIndeterminate: d, isRequired: f } = (0, b.useContext)($A), { isFocused: p, isFocusVisible: m, focusProps: h } = Lx(), g = a || o, { hoverProps: _, isHovered: v } = Bx({...e,isDisabled: g- }), y = OA({+ }), y = kA({...e,defaultClassName: u,values: {@@ -36418,7 +36431,7 @@ var O_e = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {isRequired: f || !1}}), x = hb(e, { global: !0 });- return delete x.id, delete x.onClick, /*#__PURE__*/ b.createElement(PA.label, {+ return delete x.id, delete x.onClick, /*#__PURE__*/ b.createElement(FA.label, {...gy(x, n, _, y),ref: t,slot: e.slot || void 0,@@ -36436,8 +36449,8 @@ var O_e = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {...gy(r, h),ref: l})), y.children);-}), $A = /*#__PURE__*/ (0, b.createContext)({}), A_e = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {- [e, t] = AA(e, t, $A);+}), ej = /*#__PURE__*/ (0, b.createContext)({}), A_e = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {+ [e, t] = jA(e, t, ej);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 } = Bx({@@ -36445,7 +36458,7 @@ var O_e = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {onHoverChange: o,onHoverEnd: s,isDisabled: n- }), { isFocused: d, isFocusVisible: f, focusProps: p } = Lx({ within: !0 }), m = OA({+ }), { isFocused: d, isFocusVisible: f, focusProps: p } = Lx({ within: !0 }), m = kA({...e,values: {isHovered: u,@@ -36456,7 +36469,7 @@ var O_e = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {},defaultClassName: "react-aria-Group"});- return /*#__PURE__*/ b.createElement(PA.div, {+ return /*#__PURE__*/ b.createElement(FA.div, {...gy(c, p, l),...m,ref: t,@@ -36469,18 +36482,18 @@ var O_e = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {"data-invalid": r || void 0,"data-readonly": i || void 0}, m.children);-}), ej = /*#__PURE__*/ (0, b.createContext)({}), j_e = (e) => {+}), tj = /*#__PURE__*/ (0, b.createContext)({}), j_e = (e) => {let { onHoverStart: t, onHoverChange: n, onHoverEnd: r, ...i } = e;return i;}, M_e = /*#__PURE__*/ Dy(function(e, t) {- [e, t] = AA(e, t, ej);+ [e, t] = jA(e, t, tj);let { hoverProps: n, isHovered: r } = Bx({...e,isDisabled: e.disabled}), { isFocused: i, isFocusVisible: a, focusProps: o } = Lx({isTextInput: !0,autoFocus: e.autoFocus- }), s = !!e["aria-invalid"] && e["aria-invalid"] !== "false", c = OA({+ }), s = !!e["aria-invalid"] && e["aria-invalid"] !== "false", c = kA({...e,values: {isHovered: r,@@ -36491,7 +36504,7 @@ var O_e = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {},defaultClassName: "react-aria-Input"});- return /*#__PURE__*/ b.createElement(PA.input, {+ return /*#__PURE__*/ b.createElement(FA.input, {...gy(j_e(e), o, n),...c,ref: t,@@ -36501,8 +36514,8 @@ var O_e = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {"data-focus-visible": a || void 0,"data-invalid": s || void 0});-}), tj = {};-tj = {+}), nj = {};+nj = {colorSwatchPicker: "تغييرات الألوان",dropzoneLabel: "DropZone",selectPlaceholder: "حدد عنصرًا",@@ -36510,8 +36523,8 @@ tj = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/bg-BG.mjs-var nj = {};-nj = {+var rj = {};+rj = {colorSwatchPicker: "Цветови мостри",dropzoneLabel: "DropZone",selectPlaceholder: "Изберете предмет",@@ -36519,8 +36532,8 @@ nj = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/cs-CZ.mjs-var rj = {};-rj = {+var ij = {};+ij = {colorSwatchPicker: "Vzorky barev",dropzoneLabel: "Místo pro přetažení",selectPlaceholder: "Vyberte položku",@@ -36528,8 +36541,8 @@ rj = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/da-DK.mjs-var ij = {};-ij = {+var aj = {};+aj = {colorSwatchPicker: "Farveprøver",dropzoneLabel: "DropZone",selectPlaceholder: "Vælg et element",@@ -36537,8 +36550,8 @@ ij = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/de-DE.mjs-var aj = {};-aj = {+var oj = {};+oj = {colorSwatchPicker: "Farbfelder",dropzoneLabel: "Ablegebereich",selectPlaceholder: "Element wählen",@@ -36546,8 +36559,8 @@ aj = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/el-GR.mjs-var oj = {};-oj = {+var sj = {};+sj = {colorSwatchPicker: "Χρωματικά δείγματα",dropzoneLabel: "DropZone",selectPlaceholder: "Επιλέξτε ένα αντικείμενο",@@ -36555,8 +36568,8 @@ oj = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/en-US.mjs-var sj = {};-sj = {+var cj = {};+cj = {selectPlaceholder: "Select an item",tableResizer: "Resizer",dropzoneLabel: "DropZone",@@ -36564,8 +36577,8 @@ sj = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/es-ES.mjs-var cj = {};-cj = {+var lj = {};+lj = {colorSwatchPicker: "Muestras de colores",dropzoneLabel: "DropZone",selectPlaceholder: "Seleccionar un artículo",@@ -36573,8 +36586,8 @@ cj = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/et-EE.mjs-var lj = {};-lj = {+var uj = {};+uj = {colorSwatchPicker: "Värvinäidised",dropzoneLabel: "DropZone",selectPlaceholder: "Valige üksus",@@ -36582,8 +36595,8 @@ lj = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/fi-FI.mjs-var uj = {};-uj = {+var dj = {};+dj = {colorSwatchPicker: "Värimallit",dropzoneLabel: "DropZone",selectPlaceholder: "Valitse kohde",@@ -36591,8 +36604,8 @@ uj = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/fr-FR.mjs-var dj = {};-dj = {+var fj = {};+fj = {colorSwatchPicker: "Échantillons de couleurs",dropzoneLabel: "DropZone",selectPlaceholder: "Sélectionner un élément",@@ -36600,8 +36613,8 @@ dj = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/he-IL.mjs-var fj = {};-fj = {+var pj = {};+pj = {colorSwatchPicker: "דוגמיות צבע",dropzoneLabel: "DropZone",selectPlaceholder: "בחר פריט",@@ -36609,8 +36622,8 @@ fj = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/hr-HR.mjs-var pj = {};-pj = {+var mj = {};+mj = {colorSwatchPicker: "Uzorci boja",dropzoneLabel: "Zona spuštanja",selectPlaceholder: "Odaberite stavku",@@ -36618,8 +36631,8 @@ pj = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/hu-HU.mjs-var mj = {};-mj = {+var hj = {};+hj = {colorSwatchPicker: "Színtárak",dropzoneLabel: "DropZone",selectPlaceholder: "Válasszon ki egy elemet",@@ -36627,8 +36640,8 @@ mj = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/it-IT.mjs-var hj = {};-hj = {+var gj = {};+gj = {colorSwatchPicker: "Campioni di colore",dropzoneLabel: "Zona di rilascio",selectPlaceholder: "Seleziona un elemento",@@ -36636,8 +36649,8 @@ hj = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/ja-JP.mjs-var gj = {};-gj = {+var _j = {};+_j = {colorSwatchPicker: "カラースウォッチ",dropzoneLabel: "ドロップゾーン",selectPlaceholder: "項目を選択",@@ -36645,8 +36658,8 @@ gj = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/ko-KR.mjs-var _j = {};-_j = {+var vj = {};+vj = {colorSwatchPicker: "색상 견본",dropzoneLabel: "드롭 영역",selectPlaceholder: "항목 선택",@@ -36654,8 +36667,8 @@ _j = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/lt-LT.mjs-var vj = {};-vj = {+var yj = {};+yj = {colorSwatchPicker: "Spalvų pavyzdžiai",dropzoneLabel: "„DropZone“",selectPlaceholder: "Pasirinkite elementą",@@ -36663,8 +36676,8 @@ vj = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/lv-LV.mjs-var yj = {};-yj = {+var bj = {};+bj = {colorSwatchPicker: "Krāsu paraugi",dropzoneLabel: "DropZone",selectPlaceholder: "Izvēlēties vienumu",@@ -36672,8 +36685,8 @@ yj = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/nb-NO.mjs-var bj = {};-bj = {+var xj = {};+xj = {colorSwatchPicker: "Fargekart",dropzoneLabel: "Droppsone",selectPlaceholder: "Velg et element",@@ -36681,8 +36694,8 @@ bj = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/nl-NL.mjs-var xj = {};-xj = {+var Sj = {};+Sj = {colorSwatchPicker: "kleurstalen",dropzoneLabel: "DropZone",selectPlaceholder: "Selecteer een item",@@ -36690,8 +36703,8 @@ xj = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/pl-PL.mjs-var Sj = {};-Sj = {+var Cj = {};+Cj = {colorSwatchPicker: "Próbki kolorów",dropzoneLabel: "Strefa upuszczania",selectPlaceholder: "Wybierz element",@@ -36699,8 +36712,8 @@ Sj = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/pt-BR.mjs-var Cj = {};-Cj = {+var wj = {};+wj = {colorSwatchPicker: "Amostras de cores",dropzoneLabel: "DropZone",selectPlaceholder: "Selecione um item",@@ -36708,8 +36721,8 @@ Cj = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/pt-PT.mjs-var wj = {};-wj = {+var Tj = {};+Tj = {colorSwatchPicker: "Amostras de cores",dropzoneLabel: "DropZone",selectPlaceholder: "Selecione um item",@@ -36717,8 +36730,8 @@ wj = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/ro-RO.mjs-var Tj = {};-Tj = {+var Ej = {};+Ej = {colorSwatchPicker: "Specimene de culoare",dropzoneLabel: "Zonă de plasare",selectPlaceholder: "Selectați un element",@@ -36726,8 +36739,8 @@ Tj = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/ru-RU.mjs-var Ej = {};-Ej = {+var Dj = {};+Dj = {colorSwatchPicker: "Цветовые образцы",dropzoneLabel: "DropZone",selectPlaceholder: "Выберите элемент",@@ -36735,8 +36748,8 @@ Ej = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/sk-SK.mjs-var Dj = {};-Dj = {+var Oj = {};+Oj = {colorSwatchPicker: "Vzorkovníky farieb",dropzoneLabel: "DropZone",selectPlaceholder: "Vyberte položku",@@ -36744,8 +36757,8 @@ Dj = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/sl-SI.mjs-var Oj = {};-Oj = {+var kj = {};+kj = {colorSwatchPicker: "Barvne palete",dropzoneLabel: "DropZone",selectPlaceholder: "Izberite element",@@ -36753,8 +36766,8 @@ Oj = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/sr-SP.mjs-var kj = {};-kj = {+var Aj = {};+Aj = {colorSwatchPicker: "Uzorci boje",dropzoneLabel: "DropZone",selectPlaceholder: "Izaberite stavku",@@ -36762,8 +36775,8 @@ kj = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/sv-SE.mjs-var Aj = {};-Aj = {+var jj = {};+jj = {colorSwatchPicker: "Färgrutor",dropzoneLabel: "DropZone",selectPlaceholder: "Välj en artikel",@@ -36771,8 +36784,8 @@ Aj = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/tr-TR.mjs-var jj = {};-jj = {+var Mj = {};+Mj = {colorSwatchPicker: "Renk örnekleri",dropzoneLabel: "Bırakma Bölgesi",selectPlaceholder: "Bir öğe seçin",@@ -36780,8 +36793,8 @@ jj = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/uk-UA.mjs-var Mj = {};-Mj = {+var Nj = {};+Nj = {colorSwatchPicker: "Зразки кольорів",dropzoneLabel: "DropZone",selectPlaceholder: "Виберіть елемент",@@ -36789,8 +36802,8 @@ Mj = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/zh-CN.mjs-var Nj = {};-Nj = {+var Pj = {};+Pj = {colorSwatchPicker: "颜色色板",dropzoneLabel: "放置区域",selectPlaceholder: "选择一个项目",@@ -36798,8 +36811,8 @@ Nj = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/zh-TW.mjs-var Pj = {};-Pj = {+var Fj = {};+Fj = {colorSwatchPicker: "色票",dropzoneLabel: "放置區",selectPlaceholder: "選取項目",@@ -36807,50 +36820,50 @@ Pj = {};//#endregion//#region node_modules/react-aria-components/dist/private/intlStrings.mjs-var Fj = {};-Fj = {- "ar-AE": tj,- "bg-BG": nj,- "cs-CZ": rj,- "da-DK": ij,- "de-DE": aj,- "el-GR": oj,- "en-US": sj,- "es-ES": cj,- "et-EE": lj,- "fi-FI": uj,- "fr-FR": dj,- "he-IL": fj,- "hr-HR": pj,- "hu-HU": mj,- "it-IT": hj,- "ja-JP": gj,- "ko-KR": _j,- "lt-LT": vj,- "lv-LV": yj,- "nb-NO": bj,- "nl-NL": xj,- "pl-PL": Sj,- "pt-BR": Cj,- "pt-PT": wj,- "ro-RO": Tj,- "ru-RU": Ej,- "sk-SK": Dj,- "sl-SI": Oj,- "sr-SP": kj,- "sv-SE": Aj,- "tr-TR": jj,- "uk-UA": Mj,- "zh-CN": Nj,- "zh-TW": Pj+var Ij = {};+Ij = {+ "ar-AE": nj,+ "bg-BG": rj,+ "cs-CZ": ij,+ "da-DK": aj,+ "de-DE": oj,+ "el-GR": sj,+ "en-US": cj,+ "es-ES": lj,+ "et-EE": uj,+ "fi-FI": dj,+ "fr-FR": fj,+ "he-IL": pj,+ "hr-HR": mj,+ "hu-HU": hj,+ "it-IT": gj,+ "ja-JP": _j,+ "ko-KR": vj,+ "lt-LT": yj,+ "lv-LV": bj,+ "nb-NO": xj,+ "nl-NL": Sj,+ "pl-PL": Cj,+ "pt-BR": wj,+ "pt-PT": Tj,+ "ro-RO": Ej,+ "ru-RU": Dj,+ "sk-SK": Oj,+ "sl-SI": kj,+ "sr-SP": Aj,+ "sv-SE": jj,+ "tr-TR": Mj,+ "uk-UA": Nj,+ "zh-CN": Pj,+ "zh-TW": Fj};//#endregion//#region node_modules/react-aria-components/dist/private/DragAndDrop.mjs-var Ij = /*#__PURE__*/ (0, b.createContext)({}), Lj = /*#__PURE__*/ (0, b.createContext)(null), N_e = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {- let { render: n } = (0, b.useContext)(Lj);+var Lj = /*#__PURE__*/ (0, b.createContext)({}), Rj = /*#__PURE__*/ (0, b.createContext)(null), N_e = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {+ let { render: n } = (0, b.useContext)(Rj);return /*#__PURE__*/ b.createElement(b.Fragment, null, n(e, t));});-function Rj(e, t) {+function zj(e, t) {let n = e?.renderDropIndicator, r = e?.isVirtualDragging?.(), i = (0, b.useCallback)((e) => {if (r || t?.isDropTarget(e)) return n ? n(e) : /*#__PURE__*/ b.createElement(N_e, { target: e });}, [@@ -36860,7 +36873,7 @@ function Rj(e, t) {]);return e?.useDropIndicator ? i : void 0;}-function zj(e, t, n) {+function Bj(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;@@ -36882,14 +36895,14 @@ function zj(e, t, n) {}//#endregion//#region node_modules/react-aria-components/dist/private/Header.mjs-var Bj = /*#__PURE__*/ (0, b.createContext)({}), P_e = /*#__PURE__*/ (0, b.createContext)(null);-function Vj(e) {+var Vj = /*#__PURE__*/ (0, b.createContext)({}), P_e = /*#__PURE__*/ (0, b.createContext)(null);+function Hj(e) {let t = (0, b.useRef)({});return /*#__PURE__*/ b.createElement(P_e.Provider, { value: t }, e.children);}//#endregion//#region node_modules/react-aria-components/dist/private/SelectionIndicator.mjs-var Hj = /*#__PURE__*/ (0, b.createContext)({ isSelected: !1 }), Uj = /*#__PURE__*/ (0, b.createContext)({}), F_e = /*#__PURE__*/ Fy(class extends z_ {+var Uj = /*#__PURE__*/ (0, b.createContext)({ isSelected: !1 }), Wj = /*#__PURE__*/ (0, b.createContext)({}), F_e = /*#__PURE__*/ Fy(class extends z_ {static {this.type = "separator";}@@ -36902,10 +36915,10 @@ var Hj = /*#__PURE__*/ (0, b.createContext)({ isSelected: !1 }), Uj = /*#__PURE_return null;}}, function(e, t) {- [e, t] = AA(e, t, Uj);+ [e, t] = jA(e, t, Wj);let { elementType: n, orientation: r, style: i, className: a, slot: o, ...s } = e, c = n || "hr";c === "hr" && r === "vertical" && (c = "div");- let l = PA[c], { separatorProps: u } = _le({+ let l = FA[c], { separatorProps: u } = gle({...s,elementType: n,orientation: r@@ -36921,13 +36934,13 @@ var Hj = /*#__PURE__*/ (0, b.createContext)({ isSelected: !1 }), Uj = /*#__PURE_});//#endregion//#region node_modules/react-aria/dist/private/utils/inertValue.mjs-function Wj(e) {+function Gj(e) {let t = b.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 Gj = class {+var Kj = class {constructor(e) {this.keyMap = /* @__PURE__ */ new Map(), this.firstKey = null, this.lastKey = null, this.iterable = e;let t = (e) => {@@ -36971,7 +36984,7 @@ var Gj = class {getChildren(e) {return this.keyMap.get(e)?.childNodes || [];}-}, Kj = class e extends Set {+}, qj = 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);}@@ -36983,8 +36996,8 @@ function I_e(e, t) {for (let n of e) if (!t.has(n)) return !1;return !0;}-function qj(e) {- let { selectionMode: t = "none", disallowEmptySelection: n = !1, allowDuplicateSelectionEvents: r, selectionBehavior: i = "toggle", disabledBehavior: a = "all" } = e, o = (0, b.useRef)(!1), [, s] = (0, b.useState)(!1), c = (0, b.useRef)(null), l = (0, b.useRef)(null), [, u] = (0, b.useState)(null), [d, f] = hx((0, b.useMemo)(() => Jj(e.selectedKeys), [e.selectedKeys]), (0, b.useMemo)(() => Jj(e.defaultSelectedKeys, new Kj()), [e.defaultSelectedKeys]), e.onSelectionChange), p = (0, b.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), [m, h] = (0, b.useState)(i);+function Jj(e) {+ let { selectionMode: t = "none", disallowEmptySelection: n = !1, allowDuplicateSelectionEvents: r, selectionBehavior: i = "toggle", disabledBehavior: a = "all" } = e, o = (0, b.useRef)(!1), [, s] = (0, b.useState)(!1), c = (0, b.useRef)(null), l = (0, b.useRef)(null), [, u] = (0, b.useState)(null), [d, f] = hx((0, b.useMemo)(() => Yj(e.selectedKeys), [e.selectedKeys]), (0, b.useMemo)(() => Yj(e.defaultSelectedKeys, new qj()), [e.defaultSelectedKeys]), e.onSelectionChange), p = (0, b.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), [m, h] = (0, b.useState)(i);i === "replace" && m === "toggle" && typeof d == "object" && d.size === 0 && h("replace");let g = (0, b.useRef)(i);return (0, b.useEffect)(() => {@@ -37017,12 +37030,12 @@ function qj(e) {disabledBehavior: a};}-function Jj(e, t) {- return e ? e === "all" ? "all" : new Kj(e) : t;+function Yj(e, t) {+ return e ? e === "all" ? "all" : new qj(e) : t;}//#endregion//#region node_modules/react-stately/dist/private/selection/SelectionManager.mjs-var Yj = class e {+var Xj = 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;}@@ -37105,10 +37118,10 @@ var Yj = class e {let t = this.getKey(e);if (t == null) return;let n;- if (this.state.selectedKeys === "all") n = new Kj([t], t, t);+ if (this.state.selectedKeys === "all") n = new qj([t], t, t);else {let e = this.state.selectedKeys, r = e.anchorKey ?? t;- n = new Kj(e, r, t);+ n = new qj(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);}@@ -37142,19 +37155,19 @@ var Yj = class e {}let t = this.getKey(e);if (t == null) return;- let n = new Kj(this.state.selectedKeys === "all" ? this.getSelectAllKeys() : this.state.selectedKeys);+ let n = new qj(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 Kj([t], t, t) : new Kj();+ let n = this.canSelectItem(t) ? new qj([t], t, t) : new qj();this.state.setSelectedKeys(n);}setSelectedKeys(e) {if (this.selectionMode === "none") return;- let t = new Kj();+ let t = new qj();for (let n of e) {let e = this.getKey(n);if (e != null && (t.add(e), this.selectionMode === "single")) break;@@ -37177,7 +37190,7 @@ var Yj = 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 Kj());+ !this.disallowEmptySelection && (this.state.selectedKeys === "all" || this.state.selectedKeys.size > 0) && this.state.setSelectedKeys(new qj());}toggleSelectAll() {this.isSelectAll ? this.clearSelection() : this.selectAll();@@ -37220,7 +37233,7 @@ var Yj = class e {}}, L_e = class {build(e, t) {- return this.context = t, Xj(() => this.iterateCollection(e));+ return this.context = t, Zj(() => this.iterateCollection(e));}*iterateCollection(e) {let { children: t, items: n } = e;@@ -37305,7 +37318,7 @@ var Yj = class e {wrapper: R_e(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 <${Zj(t.type)}> in <${Zj(r?.type ?? "unknown parent type")}>. Only <${Zj(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 <${Qj(t.type)}> in <${Qj(r?.type ?? "unknown parent type")}>. Only <${Qj(e.type)}> is supported.`);s++, yield t;}c = o.next(u);@@ -37327,7 +37340,7 @@ var Yj = class e {wrapper: e.wrapper,shouldInvalidate: e.shouldInvalidate,hasChildNodes: e.hasChildNodes || !1,- childNodes: Xj(function* () {+ childNodes: Zj(function* () {if (!e.hasChildNodes || !e.childNodes) return;let n = 0;for (let r of e.childNodes()) {@@ -37346,7 +37359,7 @@ var Yj = class e {this.cache = /* @__PURE__ */ new WeakMap();}};-function Xj(e) {+function Zj(e) {let t = [], n = null;return { *[Symbol.iterator]() {for (let e of t) yield e;@@ -37359,12 +37372,12 @@ function R_e(e, t) {if (e) return e;if (t) return t;}-function Zj(e) {+function Qj(e) {return e[0].toUpperCase() + e.slice(1);}//#endregion//#region node_modules/react-stately/dist/private/collections/useCollection.mjs-function Qj(e, t, n) {+function $j(e, t, n) {let r = (0, b.useMemo)(() => new L_e(), []), { children: i, items: a, collection: o } = e;return (0, b.useMemo)(() => o || t(r.build({children: i,@@ -37380,13 +37393,13 @@ function Qj(e, t, n) {}//#endregion//#region node_modules/react-stately/dist/private/list/useListState.mjs-function $j(e) {- let { filter: t, layoutDelegate: n } = e, r = qj(e), i = (0, b.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), a = Qj(e, (0, b.useCallback)((e) => t ? new Gj(t(e)) : new Gj(e), [t]), (0, b.useMemo)(() => ({ suppressTextValueWarning: e.suppressTextValueWarning }), [e.suppressTextValueWarning])), o = (0, b.useMemo)(() => new Yj(a, r, { layoutDelegate: n }), [+function eM(e) {+ let { filter: t, layoutDelegate: n } = e, r = Jj(e), i = (0, b.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), a = $j(e, (0, b.useCallback)((e) => t ? new Kj(t(e)) : new Kj(e), [t]), (0, b.useMemo)(() => ({ suppressTextValueWarning: e.suppressTextValueWarning }), [e.suppressTextValueWarning])), o = (0, b.useMemo)(() => new Xj(a, r, { layoutDelegate: n }), [a,r,n]);- return eM(a, o), {+ return tM(a, o), {collection: a,disabledKeys: i,selectionManager: o@@ -37394,13 +37407,13 @@ function $j(e) {}function z_e(e, t) {let n = (0, b.useMemo)(() => t ? e.collection.filter(t) : e.collection, [e.collection, t]), r = e.selectionManager.withCollection(n);- return eM(n, r), {+ return tM(n, r), {collection: n,selectionManager: r,disabledKeys: e.disabledKeys};}-function eM(e, t) {+function tM(e, t) {let n = (0, b.useRef)(null);(0, b.useEffect)(() => {if (t.focusedKey != null && !e.getItem(t.focusedKey) && n.current) {@@ -37428,7 +37441,7 @@ function eM(e, t) {}//#endregion//#region node_modules/react-aria/dist/private/utils/useLoadMoreSentinel.mjs-function tM(e, t) {+function nM(e, t) {let { collection: n, onLoadMore: r, scrollOffset: i = 1, direction: a = "end" } = e, o = (0, b.useRef)(null), s = $y((e) => {for (let t of e) t.isIntersecting && r && r();});@@ -37452,10 +37465,10 @@ function tM(e, t) {}//#endregion//#region node_modules/react-aria-components/dist/private/ListBox.mjs-var nM = /*#__PURE__*/ (0, b.createContext)(null), rM = /*#__PURE__*/ (0, b.createContext)(null), B_e = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {- [e, t] = AA(e, t, nM);- let n = (0, b.useContext)(rM);- return n ? /*#__PURE__*/ b.createElement(iM, {+var rM = /*#__PURE__*/ (0, b.createContext)(null), iM = /*#__PURE__*/ (0, b.createContext)(null), B_e = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {+ [e, t] = jA(e, t, rM);+ let n = (0, b.useContext)(iM);+ return n ? /*#__PURE__*/ b.createElement(aM, {state: n,props: e,listBoxRef: t@@ -37472,22 +37485,22 @@ function V_e({ props: e, listBoxRef: t, collection: n }) {children: null,items: null};- let { layoutDelegate: r } = (0, b.useContext)(BA), i = $j({+ let { layoutDelegate: r } = (0, b.useContext)(VA), i = eM({...e,layoutDelegate: r});- return /*#__PURE__*/ b.createElement(iM, {+ return /*#__PURE__*/ b.createElement(aM, {state: i,props: e,listBoxRef: t});}-function iM({ state: e, props: t, listBoxRef: n }) {- [t, n] = AA(t, n, FA);+function aM({ state: e, props: t, listBoxRef: n }) {+ [t, n] = jA(t, n, IA);let { dragAndDropHooks: r, layout: i = "stack", orientation: a = "vertical", filter: o } = t, s = z_e(e, o), { collection: c, selectionManager: l } = s, u = !!r?.useDraggableCollectionState, d = !!r?.useDroppableCollectionState, { direction: f } = sb(), { disabledBehavior: p, disabledKeys: m } = l, h = Fx({usage: "search",sensitivity: "base"- }), { isVirtualized: g, layoutDelegate: _, dropTargetDelegate: v, CollectionRoot: y } = (0, b.useContext)(BA), x = (0, b.useMemo)(() => t.keyboardDelegate || new Ex({+ }), { isVirtualized: g, layoutDelegate: _, dropTargetDelegate: v, CollectionRoot: y } = (0, b.useContext)(VA), x = (0, b.useMemo)(() => t.keyboardDelegate || new Ex({collection: c,collator: h,ref: n,@@ -37548,7 +37561,7 @@ function iM({ state: e, props: t, listBoxRef: n }) {layout: t.layout || "stack",orientation: a,state: s- }, P = OA({+ }, P = kA({...t,children: void 0,defaultClassName: "react-aria-ListBox",@@ -37559,7 +37572,7 @@ function iM({ state: e, props: t, listBoxRef: n }) {style: { display: "contents" }}, t.renderEmptyState(N)));let F = hb(t, { global: !0 });- return /*#__PURE__*/ b.createElement(Rb, null, /*#__PURE__*/ b.createElement(PA.div, {+ return /*#__PURE__*/ b.createElement(Rb, null, /*#__PURE__*/ b.createElement(FA.div, {...gy(F, P, S, k, T?.collectionProps),ref: n,slot: t.slot || void 0,@@ -37570,52 +37583,52 @@ function iM({ state: e, props: t, listBoxRef: n }) {"data-focus-visible": j || void 0,"data-layout": t.layout || "stack","data-orientation": a- }, /*#__PURE__*/ b.createElement(DA, { values: [- [nM, t],- [rM, s],- [Ij, {+ }, /*#__PURE__*/ b.createElement(OA, { values: [+ [rM, t],+ [iM, s],+ [Lj, {dragAndDropHooks: r,dragState: C,dropState: w}],- [Uj, { elementType: "div" }],- [Lj, { render: W_e }],- [LA, {+ [Wj, { elementType: "div" }],+ [Rj, { render: W_e }],+ [RA, {name: "ListBoxSection",render: H_e}]- ] }, /*#__PURE__*/ b.createElement(Vj, null, /*#__PURE__*/ b.createElement(y, {+ ] }, /*#__PURE__*/ b.createElement(Hj, null, /*#__PURE__*/ b.createElement(y, {collection: c,scrollRef: n,- persistedKeys: zj(l, r, w),- renderDropIndicator: Rj(r, w)+ persistedKeys: Bj(l, r, w),+ renderDropIndicator: zj(r, w)}))), ee, D));}function H_e(e, t, n, r = "react-aria-ListBoxSection") {- let i = (0, b.useContext)(rM), { dragAndDropHooks: a, dropState: o } = (0, b.useContext)(Ij), { CollectionBranch: s } = (0, b.useContext)(BA), [c, l] = jA(), { headingProps: u, groupProps: d } = hce({+ let i = (0, b.useContext)(iM), { dragAndDropHooks: a, dropState: o } = (0, b.useContext)(Lj), { CollectionBranch: s } = (0, b.useContext)(VA), [c, l] = MA(), { headingProps: u, groupProps: d } = hce({heading: l,"aria-label": e["aria-label"] ?? void 0- }), f = OA({+ }), f = kA({...e,id: void 0,children: void 0,defaultClassName: r,values: void 0}), p = hb(e, { global: !0 });- return delete p.id, /*#__PURE__*/ b.createElement(PA.section, {+ return delete p.id, /*#__PURE__*/ b.createElement(FA.section, {...gy(p, f, d),ref: t- }, /*#__PURE__*/ b.createElement(Bj.Provider, { value: {+ }, /*#__PURE__*/ b.createElement(Vj.Provider, { value: {...u,ref: c} }, /*#__PURE__*/ b.createElement(s, {collection: i.collection,parent: n,- renderDropIndicator: Rj(a, o)+ renderDropIndicator: zj(a, o)})));}var U_e = /*#__PURE__*/ Fy(H_, function(e, t, n) {- let r = Sy(t), i = (0, b.useContext)(rM), { dragAndDropHooks: a, dragState: o, dropState: s } = (0, b.useContext)(Ij), c = o && !(o.isDisabled || o.selectionManager.isDisabled(n.key)), { optionProps: l, labelProps: u, descriptionProps: d, ...f } = gce({+ let r = Sy(t), i = (0, b.useContext)(iM), { dragAndDropHooks: a, dragState: o, dropState: s } = (0, b.useContext)(Lj), c = o && !(o.isDisabled || o.selectionManager.isDisabled(n.key)), { optionProps: l, labelProps: u, descriptionProps: d, ...f } = gce({key: n.key,"aria-label": e?.["aria-label"]}, i, r), { hoverProps: p, isHovered: m } = Bx({@@ -37634,7 +37647,7 @@ var U_e = /*#__PURE__*/ Fy(H_, function(e, t, n) {key: n.key,dropPosition: "on"} }, s, r));- let y = o && o.isDragging(n.key), x = OA({+ let y = o && o.isDragging(n.key), x = kA({...e,id: void 0,children: e.children,@@ -37652,7 +37665,7 @@ var U_e = /*#__PURE__*/ Fy(H_, function(e, t, n) {(0, b.useEffect)(() => {n.textValue;}, [n.textValue]);- let S = e.href ? PA.a : PA.div, C = hb(e, { global: !0 });+ let S = e.href ? FA.a : FA.div, C = hb(e, { global: !0 });return delete C.id, delete C.onClick, e.href && l.tabIndex == null && (l.tabIndex = -1), /*#__PURE__*/ b.createElement(S, {...gy(C, x, l, p, h, g, _?.dragProps, v?.dropProps),ref: r,@@ -37666,15 +37679,15 @@ var U_e = /*#__PURE__*/ Fy(H_, 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__*/ b.createElement(DA, { values: [[qA, { slots: {- [EA]: u,+ }, /*#__PURE__*/ b.createElement(OA, { values: [[JA, { slots: {+ [DA]: u,label: u,description: d- } }], [Hj, { isSelected: f.isSelected }]] }, x.children));+ } }], [Uj, { isSelected: f.isSelected }]] }, x.children));});function W_e(e, t) {t = Sy(t);- let { dragAndDropHooks: n, dropState: r } = (0, b.useContext)(Ij), { dropIndicatorProps: i, isHidden: a, isDropTarget: o } = n.useDropIndicator(e, r, t);+ let { dragAndDropHooks: n, dropState: r } = (0, b.useContext)(Lj), { dropIndicatorProps: i, isHidden: a, isDropTarget: o } = n.useDropIndicator(e, r, t);return a ? null : /*#__PURE__*/ b.createElement(K_e, {...e,dropIndicatorProps: i,@@ -37683,12 +37696,12 @@ function W_e(e, t) {});}function G_e(e, t) {- let { dropIndicatorProps: n, isDropTarget: r, ...i } = e, a = OA({+ let { dropIndicatorProps: n, isDropTarget: r, ...i } = e, a = kA({...i,defaultClassName: "react-aria-DropIndicator",values: { isDropTarget: r }});- return /*#__PURE__*/ b.createElement(b.Fragment, null, /*#__PURE__*/ b.createElement(PA.div, {+ return /*#__PURE__*/ b.createElement(b.Fragment, null, /*#__PURE__*/ b.createElement(FA.div, {...n,...a,role: "option",@@ -37698,8 +37711,8 @@ function G_e(e, t) {}var K_e = /*#__PURE__*/ (0, b.forwardRef)(G_e);Fy(V_, function(e, t, n) {- let r = (0, b.useContext)(rM), { isLoading: i, onLoadMore: a, scrollOffset: o, ...s } = e, c = (0, b.useRef)(null);- tM((0, b.useMemo)(() => ({+ let r = (0, b.useContext)(iM), { isLoading: i, onLoadMore: a, scrollOffset: o, ...s } = e, c = (0, b.useRef)(null);+ nM((0, b.useMemo)(() => ({onLoadMore: a,collection: r?.collection,sentinelRef: c,@@ -37709,7 +37722,7 @@ Fy(V_, function(e, t, n) {o,r?.collection]), c);- let l = OA({+ let l = kA({...s,id: void 0,children: n.rendered,@@ -37722,7 +37735,7 @@ Fy(V_, function(e, t, n) {width: 0,height: 0},- inert: Wj(!0)+ inert: Gj(!0)}, /*#__PURE__*/ b.createElement("div", {"data-testid": "loadMoreSentinel",ref: c,@@ -37731,7 +37744,7 @@ Fy(V_, function(e, t, n) {height: 1,width: 1}- })), i && l.children && /*#__PURE__*/ b.createElement(b.Fragment, null, /*#__PURE__*/ b.createElement(PA.div, {+ })), i && l.children && /*#__PURE__*/ b.createElement(b.Fragment, null, /*#__PURE__*/ b.createElement(FA.div, {...gy(hb(e, { global: !0 }), { tabIndex: -1 }),...l,role: "option",@@ -37743,7 +37756,7 @@ Fy(V_, function(e, t, n) {var q_e = /*#__PURE__*/ (0, b.createContext)({ placement: "bottom" });//#endregion//#region node_modules/react-stately/dist/private/overlays/useOverlayTriggerState.mjs-function aM(e) {+function oM(e) {let [t, n] = hx(e.isOpen, e.defaultOpen || !1, e.onOpenChange), [r, i] = (0, b.useState)(null);return {isOpen: t,@@ -37763,15 +37776,15 @@ function aM(e) {}//#endregion//#region node_modules/react-aria/dist/private/utils/animation.mjs-function oM(e, t = !0, n) {+function sM(e, t = !0, n) {let [r, i] = (0, b.useState)(!0), a = r && t;return fv(() => {if (!t && e.current) return oy(ev(e.current, "opacity", "0"), ev(e.current, "clip", "rect(0 0 0 0)"), ev(e.current, "clip-path", "inset(50%)"), ev(e.current, "mask-image", "linear-gradient(#0000, #0000)"));}, [e, t]), fv(() => {if (a && e.current && "getAnimations" in e.current) for (let t of e.current.getAnimations()) t instanceof CSSTransition && t.cancel();- }, [e, a]), cM(e, a, n, (0, b.useCallback)(() => i(!1), [])), a;+ }, [e, a]), lM(e, a, n, (0, b.useCallback)(() => i(!1), [])), a;}-function sM(e, t, n) {+function cM(e, t, n) {let [r, i] = (0, b.useState)(t ? "open" : "closed");switch (r) {case "open":@@ -37781,11 +37794,11 @@ function sM(e, t, n) {case "exiting": t && i("open");}let a = r === "exiting";- return cM(e, a, n, (0, b.useCallback)(() => {+ return lM(e, a, n, (0, b.useCallback)(() => {i((e) => e === "exiting" ? "closed" : e);}, [])), a;}-function cM(e, t, n, r) {+function lM(e, t, n, r) {let i = (0, b.useRef)(null), a = $y(n);fv(() => {if (t && e.current && i.current !== t) {@@ -37813,9 +37826,9 @@ function cM(e, t, n, r) {}//#endregion//#region node_modules/react-aria-components/dist/private/Popover.mjs-var lM = /*#__PURE__*/ (0, b.createContext)(null), uM = /*#__PURE__*/ (0, b.createContext)(null), dM = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {- [e, t] = AA(e, t, lM);- let n = (0, b.useContext)(SM), r = aM(e), i = e.isOpen != null || e.defaultOpen != null || !n ? r : n, a = sM(t, i.isOpen), o = e.isExiting || !e.shouldSkipAnimation && a || !1, s = Oy(), { direction: c } = sb();+var uM = /*#__PURE__*/ (0, b.createContext)(null), dM = /*#__PURE__*/ (0, b.createContext)(null), fM = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {+ [e, t] = jA(e, t, uM);+ let n = (0, b.useContext)(CM), r = oM(e), i = e.isOpen != null || e.defaultOpen != null || !n ? r : n, a = cM(t, i.isOpen), o = e.isExiting || !e.shouldSkipAnimation && a || !1, s = Oy(), { direction: c } = sb();if (s) {let t = e.children;return typeof t == "function" && (t = t({@@ -37836,12 +37849,12 @@ var lM = /*#__PURE__*/ (0, b.createContext)(null), uM = /*#__PURE__*/ (0, b.crea});});function J_e({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContexts: r, ...i }) {- let a = (0, b.useRef)(null), o = (0, b.useRef)(null), s = (0, b.useContext)(uM), c = s && i.trigger === "SubmenuTrigger", [l, u] = (0, b.useState)(!1), { popoverProps: d, underlayProps: f, arrowProps: p, placement: m, triggerAnchorPoint: h } = ule({+ let a = (0, b.useRef)(null), o = (0, b.useRef)(null), s = (0, b.useContext)(dM), c = s && i.trigger === "SubmenuTrigger", [l, u] = (0, b.useState)(!1), { popoverProps: d, underlayProps: f, arrowProps: p, placement: m, triggerAnchorPoint: h } = lle({...i,offset: i.offset ?? 8,arrowRef: a,groupRef: c ? s : o- }, e), g = i.popoverRef, _ = oM(g, !!m && l), v = i.isEntering || !i.shouldSkipAnimation && _ || !1, y = OA({+ }, e), g = i.popoverRef, _ = sM(g, !!m && l), v = i.isEntering || !i.shouldSkipAnimation && _ || !1, y = kA({...i,defaultClassName: "react-aria-Popover",values: {@@ -37862,7 +37875,7 @@ function J_e({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContext]);let w = (0, b.useMemo)(() => {let e = y.children;- for (let t of [lM, ...r ?? []]) e = /*#__PURE__*/ b.createElement(t.Provider, { value: null }, e);+ for (let t of [uM, ...r ?? []]) e = /*#__PURE__*/ b.createElement(t.Provider, { value: null }, e);return e;}, [y.children, r]), [T, E] = (0, b.useState)(null), D = (0, b.useCallback)(() => {i.triggerRef.current && E(i.triggerRef.current.getBoundingClientRect().width + "px");@@ -37877,8 +37890,8 @@ function J_e({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContext...y.style,"--trigger-width": y.style?.["--trigger-width"] || T};- fv(() => CS(() => u(!0)), []);- let k = /*#__PURE__*/ b.createElement(PA.div, {+ fv(() => wS(() => u(!0)), []);+ let k = /*#__PURE__*/ b.createElement(FA.div, {...gy(hb(i, { global: !0 }), d),...y,id: S ? i.id : void 0,@@ -37894,11 +37907,11 @@ function J_e({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContext"data-placement": m,"data-entering": v || void 0,"data-exiting": t || void 0- }, !i.isNonModal && /*#__PURE__*/ b.createElement(gS, { onDismiss: e.close }), /*#__PURE__*/ b.createElement(q_e.Provider, { value: {+ }, !i.isNonModal && /*#__PURE__*/ b.createElement(_S, { onDismiss: e.close }), /*#__PURE__*/ b.createElement(q_e.Provider, { value: {...p,placement: m,ref: a- } }, w), /*#__PURE__*/ b.createElement(gS, { onDismiss: e.close }));+ } }, w), /*#__PURE__*/ b.createElement(_S, { onDismiss: e.close }));return c ? /*#__PURE__*/ b.createElement(Ix, {...i,shouldContainFocus: S && i.trigger !== "PreviewTrigger",@@ -37919,15 +37932,15 @@ function J_e({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContext}), /*#__PURE__*/ b.createElement("div", {ref: o,style: { display: "contents" }- }, /*#__PURE__*/ b.createElement(uM.Provider, { value: o }, k)));+ }, /*#__PURE__*/ b.createElement(dM.Provider, { value: o }, k)));}//#endregion//#region node_modules/react-aria-components/dist/private/Keyboard.mjsvar Y_e = /*#__PURE__*/ (0, b.createContext)({});//#endregion//#region node_modules/react-stately/dist/private/menu/useMenuTriggerState.mjs-function fM(e) {- let t = aM(e), [n, r] = (0, b.useState)(null), [i, a] = (0, b.useState)([]), o = () => {+function pM(e) {+ let t = oM(e), [n, r] = (0, b.useState)(null), [i, a] = (0, b.useState)([]), o = () => {a([]), t.close();}, s = (e, t) => {a((n) => t > n.length ? n : [...n.slice(0, t), e]);@@ -37998,7 +38011,7 @@ var X_e = class {//#endregion//#region node_modules/react-stately/dist/private/tree/useTreeState.mjsfunction Z_e(e) {- let { onExpandedChange: t } = e, [n, r] = hx(e.expandedKeys ? new Set(e.expandedKeys) : void 0, e.defaultExpandedKeys ? new Set(e.defaultExpandedKeys) : /* @__PURE__ */ new Set(), t), i = qj(e), a = (0, b.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), o = Qj(e, (0, b.useCallback)((e) => new X_e(e, { expandedKeys: n }), [n]), null);+ let { onExpandedChange: t } = e, [n, r] = hx(e.expandedKeys ? new Set(e.expandedKeys) : void 0, e.defaultExpandedKeys ? new Set(e.defaultExpandedKeys) : /* @__PURE__ */ new Set(), t), i = Jj(e), a = (0, b.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), o = $j(e, (0, b.useCallback)((e) => new X_e(e, { expandedKeys: n }), [n]), null);return (0, b.useEffect)(() => {i.focusedKey != null && !o.getItem(i.focusedKey) && i.setFocusedKey(null);}, [o, i.focusedKey]), {@@ -38009,7 +38022,7 @@ function Z_e(e) {r(Q_e(n, e));},setExpandedKeys: r,- selectionManager: new Yj(o, i)+ selectionManager: new Xj(o, i)};}function Q_e(e, t) {@@ -38018,20 +38031,20 @@ function Q_e(e, t) {}//#endregion//#region node_modules/react-aria-components/dist/private/Menu.mjs-var pM = /*#__PURE__*/ (0, b.createContext)(null), mM = /*#__PURE__*/ (0, b.createContext)(null), hM = /*#__PURE__*/ (0, b.createContext)(null), gM = /*#__PURE__*/ (0, b.createContext)(null);+var mM = /*#__PURE__*/ (0, b.createContext)(null), hM = /*#__PURE__*/ (0, b.createContext)(null), gM = /*#__PURE__*/ (0, b.createContext)(null), _M = /*#__PURE__*/ (0, b.createContext)(null);function $_e(e) {- let t = fM(e), n = (0, b.useRef)(null), { menuTriggerProps: r, menuProps: i } = nse({+ let t = pM(e), n = (0, b.useRef)(null), { menuTriggerProps: r, menuProps: i } = nse({...e,type: "menu"}, t, n), a = (0, b.useRef)(null);- return Oy() ? null : /*#__PURE__*/ b.createElement(DA, { values: [- [pM, {+ return Oy() ? null : /*#__PURE__*/ b.createElement(OA, { values: [+ [mM, {...i,ref: a}],- [SM, t],- [hM, t],- [lM, {+ [CM, t],+ [gM, t],+ [uM, {trigger: "MenuTrigger",triggerRef: n,scrollRef: a,@@ -38060,23 +38073,23 @@ var eve = /*#__PURE__*/ (0, b.createContext)(null);}});var tve = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {- return [e, t] = AA(e, t, pM), /*#__PURE__*/ b.createElement(My, { content: /*#__PURE__*/ b.createElement(zy, e) }, (n) => /*#__PURE__*/ b.createElement(nve, {+ return [e, t] = jA(e, t, mM), /*#__PURE__*/ b.createElement(My, { content: /*#__PURE__*/ b.createElement(zy, e) }, (n) => /*#__PURE__*/ b.createElement(nve, {props: e,collection: n,menuRef: t}));});function nve({ props: e, collection: t, menuRef: n }) {- [e, n] = AA(e, n, FA);+ [e, n] = jA(e, n, IA);let { filter: r, ...i } = e, a = (0, b.useMemo)(() => r ? t.filter(r) : t, [t, r]), o = Z_e({...e,collection: a,children: void 0- }), s = (0, b.useContext)(hM), { isVirtualized: c, CollectionRoot: l } = (0, b.useContext)(BA), { menuProps: u } = vce({+ }), s = (0, b.useContext)(gM), { isVirtualized: c, CollectionRoot: l } = (0, b.useContext)(VA), { menuProps: u } = vce({...e,isVirtualized: c,onClose: e.onClose || s?.close- }, o, n), d = OA({+ }, o, n), d = kA({...e,children: void 0,defaultClassName: "react-aria-Menu",@@ -38087,35 +38100,35 @@ function nve({ props: e, collection: t, menuRef: n }) {style: { display: "contents" }}, e.renderEmptyState()));let p = hb(e, { global: !0 });- return /*#__PURE__*/ b.createElement(Rb, null, /*#__PURE__*/ b.createElement(PA.div, {+ return /*#__PURE__*/ b.createElement(Rb, null, /*#__PURE__*/ b.createElement(FA.div, {...gy(p, d, u),ref: n,slot: e.slot || void 0,"data-empty": o.collection.size === 0 || void 0,onScroll: e.onScroll- }, /*#__PURE__*/ b.createElement(DA, { values: [- [mM, o],- [Uj, { elementType: "div" }],- [LA, {+ }, /*#__PURE__*/ b.createElement(OA, { values: [+ [hM, o],+ [Wj, { elementType: "div" }],+ [RA, {name: "MenuSection",- render: _M+ render: vM}],[eve, {parentMenuRef: n,shouldUseVirtualFocus: i?.shouldUseVirtualFocus}],- [yM, { shouldCloseOnSelect: e.shouldCloseOnSelect }],- [FA, null],+ [bM, { shouldCloseOnSelect: e.shouldCloseOnSelect }],[IA, null],- [gM, o.selectionManager],- [hM, s ?? fM({})]- ] }, /*#__PURE__*/ b.createElement(Vj, null, /*#__PURE__*/ b.createElement(l, {+ [LA, null],+ [_M, o.selectionManager],+ [gM, s ?? pM({})]+ ] }, /*#__PURE__*/ b.createElement(Hj, null, /*#__PURE__*/ b.createElement(l, {collection: o.collection,- persistedKeys: VA(o.selectionManager.focusedKey),+ persistedKeys: HA(o.selectionManager.focusedKey),scrollRef: n}))), f));}-var rve = class extends Yj {+var rve = class extends Xj {constructor(e, t) {super(e.collection, t), this.parent = e;}@@ -38135,11 +38148,11 @@ var rve = class extends Yj {return this.parent.childFocusStrategy;}};-function _M(e, t, n, r = "react-aria-MenuSection") {- let i = (0, b.useContext)(mM), { CollectionBranch: a } = (0, b.useContext)(BA), [o, s] = jA(), { headingProps: c, groupProps: l } = bce({+function vM(e, t, n, r = "react-aria-MenuSection") {+ let i = (0, b.useContext)(hM), { CollectionBranch: a } = (0, b.useContext)(VA), [o, s] = MA(), { headingProps: c, groupProps: l } = bce({heading: s,"aria-label": n.props["aria-label"] ?? void 0- }), u = OA({+ }), u = kA({...e,id: void 0,children: void 0,@@ -38147,31 +38160,31 @@ function _M(e, t, n, r = "react-aria-MenuSection") {className: n.props?.className,style: n.props?.style,values: void 0- }), d = (0, b.useContext)(gM), f = qj(e), p = e.selectionMode == null ? d : new rve(d, f), m = kA(yM)?.shouldCloseOnSelect, h = hb(e, { global: !0 });- return delete h.id, /*#__PURE__*/ b.createElement(PA.section, {+ }), d = (0, b.useContext)(_M), f = Jj(e), p = e.selectionMode == null ? d : new rve(d, f), m = AA(bM)?.shouldCloseOnSelect, h = hb(e, { global: !0 });+ return delete h.id, /*#__PURE__*/ b.createElement(FA.section, {...gy(h, u, l),ref: t- }, /*#__PURE__*/ b.createElement(DA, { values: [- [Bj, {+ }, /*#__PURE__*/ b.createElement(OA, { values: [+ [Vj, {...c,ref: o}],- [gM, p],- [yM, { shouldCloseOnSelect: e.shouldCloseOnSelect ?? m }]+ [_M, p],+ [bM, { shouldCloseOnSelect: e.shouldCloseOnSelect ?? m }]] }, /*#__PURE__*/ b.createElement(a, {collection: i.collection,parent: n})));}-var vM = /*#__PURE__*/ Iy(Bre, _M), yM = /*#__PURE__*/ (0, b.createContext)(null), bM = /*#__PURE__*/ Fy(H_, function(e, t, n) {- [e, t] = AA(e, t, yM);- let r = kA(yM)?.id, i = (0, b.useContext)(mM), a = Sy(t), o = (0, b.useContext)(gM), { isVirtualized: s } = (0, b.useContext)(BA), { menuItemProps: c, labelProps: l, descriptionProps: u, keyboardShortcutProps: d, ...f } = yce({+var yM = /*#__PURE__*/ Iy(Bre, vM), bM = /*#__PURE__*/ (0, b.createContext)(null), xM = /*#__PURE__*/ Fy(H_, function(e, t, n) {+ [e, t] = jA(e, t, bM);+ let r = AA(bM)?.id, i = (0, b.useContext)(hM), a = Sy(t), o = (0, b.useContext)(_M), { isVirtualized: s } = (0, b.useContext)(VA), { menuItemProps: c, labelProps: l, descriptionProps: u, keyboardShortcutProps: d, ...f } = yce({...e,id: r,key: n.key,selectionManager: o,isVirtualized: s- }, i, a), { hoverProps: p, isHovered: m } = Bx({ isDisabled: f.isDisabled }), h = OA({+ }, i, a), { hoverProps: p, isHovered: m } = Bx({ isDisabled: f.isDisabled }), h = kA({...e,id: void 0,children: n.rendered,@@ -38185,7 +38198,7 @@ var vM = /*#__PURE__*/ Iy(Bre, _M), yM = /*#__PURE__*/ (0, b.createContext)(nullhasSubmenu: !!e["aria-haspopup"],isOpen: e["aria-expanded"] === "true"}- }), g = e.href ? PA.a : PA.div, _ = hb(e, { global: !0 });+ }), g = e.href ? FA.a : FA.div, _ = hb(e, { global: !0 });return delete _.id, delete _.onClick, /*#__PURE__*/ b.createElement(g, {...gy(_, h, c, p),ref: a,@@ -38198,19 +38211,19 @@ var vM = /*#__PURE__*/ Iy(Bre, _M), yM = /*#__PURE__*/ (0, b.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__*/ b.createElement(DA, { values: [- [qA, { slots: {- [EA]: l,+ }, /*#__PURE__*/ b.createElement(OA, { values: [+ [JA, { slots: {+ [DA]: l,label: l,description: u} }],[Y_e, d],- [Hj, { isSelected: f.isSelected }]+ [Uj, { isSelected: f.isSelected }]] }, h.children));});Fy(V_, function(e, t, n) {- let r = (0, b.useContext)(mM), { isLoading: i, onLoadMore: a, scrollOffset: o, ...s } = e, c = (0, b.useRef)(null);- tM((0, b.useMemo)(() => ({+ let r = (0, b.useContext)(hM), { isLoading: i, onLoadMore: a, scrollOffset: o, ...s } = e, c = (0, b.useRef)(null);+ nM((0, b.useMemo)(() => ({onLoadMore: a,collection: r?.collection,sentinelRef: c,@@ -38220,7 +38233,7 @@ Fy(V_, function(e, t, n) {o,r?.collection]), c);- let l = OA({+ let l = kA({...s,id: void 0,children: n.rendered,@@ -38233,7 +38246,7 @@ Fy(V_, function(e, t, n) {width: 0,height: 0},- inert: Wj(!0)+ inert: Gj(!0)}, /*#__PURE__*/ b.createElement("div", {"data-testid": "loadMoreSentinel",ref: c,@@ -38242,7 +38255,7 @@ Fy(V_, function(e, t, n) {height: 1,width: 1}- })), i && l.children && /*#__PURE__*/ b.createElement(b.Fragment, null, /*#__PURE__*/ b.createElement(PA.div, {+ })), i && l.children && /*#__PURE__*/ b.createElement(b.Fragment, null, /*#__PURE__*/ b.createElement(FA.div, {...gy(hb(e, { global: !0 }), { tabIndex: -1 }),...l,role: "menuitem",@@ -38251,82 +38264,82 @@ Fy(V_, function(e, t, n) {});//#endregion//#region node_modules/react-aria-components/dist/private/Dialog.mjs-var xM = /*#__PURE__*/ (0, b.createContext)(null), SM = /*#__PURE__*/ (0, b.createContext)(null), CM = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {+var SM = /*#__PURE__*/ (0, b.createContext)(null), CM = /*#__PURE__*/ (0, b.createContext)(null), wM = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {let n = e["aria-labelledby"];- [e, t] = AA(e, t, xM);+ [e, t] = jA(e, t, SM);let { dialogProps: r, titleProps: i, contentProps: a } = _se({...e,"aria-labelledby": n- }, t), o = (0, b.useContext)(SM);+ }, t), o = (0, b.useContext)(CM);!r["aria-label"] && !r["aria-labelledby"] && e["aria-labelledby"] && (r["aria-labelledby"] = e["aria-labelledby"]);- let s = OA({+ let s = kA({defaultClassName: "react-aria-Dialog",className: e.className,style: e.style,children: e.children,values: { close: o?.close || (() => {}) }}), c = hb(e, { global: !0 });- return /*#__PURE__*/ b.createElement(PA.section, {+ return /*#__PURE__*/ b.createElement(FA.section, {...gy(c, s, r),render: e.render,ref: t,slot: e.slot || void 0- }, /*#__PURE__*/ b.createElement(DA, { values: [- [GA, { slots: {- [EA]: {},+ }, /*#__PURE__*/ b.createElement(OA, { values: [+ [KA, { slots: {+ [DA]: {},title: {...i,level: 2}} }],- [qA, { slots: {- [EA]: {},+ [JA, { slots: {+ [DA]: {},description: a} }],- [UA, { slots: {- [EA]: {},+ [WA, { slots: {+ [DA]: {},close: { onPress: () => o?.close() }} }]] }, s.children));-}), wM = typeof document < "u" && window.visualViewport;+}), TM = typeof document < "u" && window.visualViewport;function ive() {let e = Nv(), t = (0, b.useRef)(null), [n, r] = (0, b.useState)(() => e ? {width: 0,height: 0- } : TM());+ } : EM());return (0, b.useEffect)(() => {let e = (e) => {r((t) => e.width === t.width && e.height === t.height ? t : e);}, n = () => {- wM && wM.scale > 1 || e(TM());+ TM && TM.scale > 1 || e(EM());}, i = (n) => {- wM && wM.scale > 1 || Xy(iv(n)) && (t.current = CS((t) => {+ TM && TM.scale > 1 || Xy(iv(n)) && (t.current = wS((t) => {t || e({width: document.documentElement.clientWidth,height: document.documentElement.clientHeight});}));};- return e(TM()), Sv() && Cv() && window.addEventListener("blur", i, !0), wM ? wM.addEventListener("resize", n) : window.addEventListener("resize", n), () => {- t.current?.(), Sv() && Cv() && window.removeEventListener("blur", i, !0), wM ? wM.removeEventListener("resize", n) : window.removeEventListener("resize", n);+ return e(EM()), Sv() && Cv() && window.addEventListener("blur", i, !0), TM ? TM.addEventListener("resize", n) : window.addEventListener("resize", n), () => {+ t.current?.(), Sv() && Cv() && window.removeEventListener("blur", i, !0), TM ? TM.removeEventListener("resize", n) : window.removeEventListener("resize", n);};}, []), n;}-function TM() {+function EM() {return {- width: wM ? Math.min(wM.width * wM.scale, document.documentElement.clientWidth) : document.documentElement.clientWidth,- height: wM ? wM.height * wM.scale : document.documentElement.clientHeight+ width: TM ? Math.min(TM.width * TM.scale, document.documentElement.clientWidth) : document.documentElement.clientWidth,+ height: TM ? TM.height * TM.scale : document.documentElement.clientHeight};}//#endregion//#region node_modules/react-aria-components/dist/private/Modal.mjs-var ave = /*#__PURE__*/ (0, b.createContext)(null), EM = /*#__PURE__*/ (0, b.createContext)(null), ove = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {- if ((0, b.useContext)(EM)) return /*#__PURE__*/ b.createElement(OM, {+var ave = /*#__PURE__*/ (0, b.createContext)(null), DM = /*#__PURE__*/ (0, b.createContext)(null), ove = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {+ if ((0, b.useContext)(DM)) return /*#__PURE__*/ b.createElement(kM, {...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__*/ b.createElement(DM, {+ return /*#__PURE__*/ b.createElement(OM, {isDismissable: n,isKeyboardDismissDisabled: r,isOpen: i,@@ -38336,14 +38349,14 @@ var ave = /*#__PURE__*/ (0, b.createContext)(null), EM = /*#__PURE__*/ (0, b.creisExiting: l,UNSTABLE_portalContainer: u,shouldCloseOnInteractOutside: d- }, /*#__PURE__*/ b.createElement(OM, {+ }, /*#__PURE__*/ b.createElement(kM, {...f,modalRef: t}, s));});function sve(e, t) {- [e, t] = AA(e, t, ave);- let n = (0, b.useContext)(SM), r = aM(e), i = e.isOpen != null || e.defaultOpen != null || !n ? r : n, a = Sy(t), o = (0, b.useRef)(null), s = sM(a, i.isOpen, e.onExit), c = (0, b.useRef)(null), l = sM(o, i.isOpen, (e) => c.current?.(e)), u = s || l || e.isExiting || !1, d = Nv();+ [e, t] = jA(e, t, ave);+ let n = (0, b.useContext)(CM), r = oM(e), i = e.isOpen != null || e.defaultOpen != null || !n ? r : n, a = Sy(t), o = (0, b.useRef)(null), s = cM(a, i.isOpen, e.onExit), c = (0, b.useRef)(null), l = cM(o, i.isOpen, (e) => c.current?.(e)), u = s || l || e.isExiting || !1, d = Nv();return !i.isOpen && !u || d ? null : /*#__PURE__*/ b.createElement(cve, {...e,state: i,@@ -38353,12 +38366,12 @@ function sve(e, t) {onExitRef: c});}-var DM = /*#__PURE__*/ (0, b.forwardRef)(sve);+var OM = /*#__PURE__*/ (0, b.forwardRef)(sve);function cve({ UNSTABLE_portalContainer: e, UNSTABLE_deferUntilEntered: t, ...n }) {- let r = n.modalRef, { state: i } = n, [a, o] = (0, b.useState)(!1), s = oM(n.overlayRef, a, n.onEnter) || n.isEntering || !1, c = !!t && (!a || s), { modalProps: l, underlayProps: u } = Gce({+ let r = n.modalRef, { state: i } = n, [a, o] = (0, b.useState)(!1), s = sM(n.overlayRef, a, n.onEnter) || n.isEntering || !1, c = !!t && (!a || s), { modalProps: l, underlayProps: u } = Wce({...n,isEntering: c- }, i, r), d = (0, b.useContext)(xM), f = t ? lve(d, { isEntering: c }) : d, p = OA({+ }, i, r), d = (0, b.useContext)(SM), f = t ? lve(d, { isEntering: c }) : d, p = kA({...n,defaultClassName: "react-aria-ModalOverlay",values: {@@ -38378,18 +38391,18 @@ function cve({ 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 fv(() => CS(() => o(!0)), []), /*#__PURE__*/ b.createElement(Ix, {+ return fv(() => wS(() => o(!0)), []), /*#__PURE__*/ b.createElement(Ix, {isExiting: n.isExiting,portalContainer: e- }, /*#__PURE__*/ b.createElement(PA.div, {+ }, /*#__PURE__*/ b.createElement(FA.div, {...gy(hb(n, { global: !0 }), u),...p,style: _,ref: n.overlayRef,"data-entering": s || void 0,"data-exiting": n.isExiting || void 0- }, /*#__PURE__*/ b.createElement(DA, { values: [- [EM, {+ }, /*#__PURE__*/ b.createElement(OA, { values: [+ [DM, {modalProps: l,modalRef: r,isExiting: n.isExiting,@@ -38397,8 +38410,8 @@ function cve({ UNSTABLE_portalContainer: e, UNSTABLE_deferUntilEntered: t, ...nisOpen: a,isDismissable: n.isDismissable}],- [SM, i],- [xM, f]+ [CM, i],+ [SM, f]] }, p.children)));}function lve(e, t) {@@ -38418,8 +38431,8 @@ function lve(e, t) {...t};}-function OM(e) {- let { modalProps: t, modalRef: n, isExiting: r, onExitRef: i, isDismissable: a, isOpen: o } = (0, b.useContext)(EM), s = (0, b.useContext)(SM), c = Sy((0, b.useMemo)(() => fy(e.modalRef, n), [e.modalRef, n])), l = oM(c, o, e.onEnter), u = OA({+function kM(e) {+ let { modalProps: t, modalRef: n, isExiting: r, onExitRef: i, isDismissable: a, isOpen: o } = (0, b.useContext)(DM), s = (0, b.useContext)(CM), c = Sy((0, b.useMemo)(() => fy(e.modalRef, n), [e.modalRef, n])), l = sM(c, o, e.onEnter), u = kA({...e,defaultClassName: "react-aria-Modal",values: {@@ -38430,13 +38443,13 @@ function OM(e) {});return fv(() => {i && (i.current = e.onExit);- }), /*#__PURE__*/ b.createElement(PA.div, {+ }), /*#__PURE__*/ b.createElement(FA.div, {...gy(hb(e, { global: !0 }), t),...u,ref: c,"data-entering": l || void 0,"data-exiting": r || void 0- }, a && /*#__PURE__*/ b.createElement(gS, { onDismiss: s.close }), u.children);+ }, a && /*#__PURE__*/ b.createElement(_S, { onDismiss: s.close }), u.children);}//#endregion//#region node_modules/react-stately/dist/private/radio/useRadioGroupState.mjs@@ -38465,16 +38478,16 @@ function fve(e) {}//#endregion//#region node_modules/react-aria-components/dist/private/RadioGroup.mjs-var pve = /*#__PURE__*/ (0, b.createContext)(null), mve = /*#__PURE__*/ (0, b.createContext)(null), kM = /*#__PURE__*/ (0, b.createContext)(null), AM = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {- [e, t] = AA(e, t, pve);- let { validationBehavior: n } = kA(YA) || {}, r = e.validationBehavior ?? n ?? "native", i = fve({+var pve = /*#__PURE__*/ (0, b.createContext)(null), mve = /*#__PURE__*/ (0, b.createContext)(null), AM = /*#__PURE__*/ (0, b.createContext)(null), jM = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {+ [e, t] = jA(e, t, pve);+ let { validationBehavior: n } = AA(XA) || {}, r = e.validationBehavior ?? n ?? "native", i = fve({...e,validationBehavior: r- }), [a, o] = jA(!e["aria-label"] && !e["aria-labelledby"]), { radioGroupProps: s, labelProps: c, descriptionProps: l, errorMessageProps: u, ...d } = ple({+ }), [a, o] = MA(!e["aria-label"] && !e["aria-labelledby"]), { radioGroupProps: s, labelProps: c, descriptionProps: l, errorMessageProps: u, ...d } = fle({...e,label: o,validationBehavior: r- }, i), f = OA({+ }, i), f = kA({...e,values: {orientation: e.orientation || "vertical",@@ -38486,7 +38499,7 @@ var pve = /*#__PURE__*/ (0, b.createContext)(null), mve = /*#__PURE__*/ (0, b.cr},defaultClassName: "react-aria-RadioGroup"}), p = hb(e, { global: !0 });- return /*#__PURE__*/ b.createElement(PA.div, {+ return /*#__PURE__*/ b.createElement(FA.div, {...gy(p, f, s),ref: t,slot: e.slot || void 0,@@ -38495,27 +38508,27 @@ var pve = /*#__PURE__*/ (0, b.createContext)(null), mve = /*#__PURE__*/ (0, b.cr"data-disabled": i.isDisabled || void 0,"data-readonly": i.isReadOnly || void 0,"data-required": i.isRequired || void 0- }, /*#__PURE__*/ b.createElement(DA, { values: [- [kM, i],- [HA, {+ }, /*#__PURE__*/ b.createElement(OA, { values: [+ [AM, i],+ [UA, {...c,ref: a,elementType: "span"}],- [qA, { slots: {+ [JA, { slots: {description: l,errorMessage: u} }],- [JA, d]- ] }, /*#__PURE__*/ b.createElement(Vj, null, f.children)));-}), jM = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {+ [YA, d]+ ] }, /*#__PURE__*/ b.createElement(Hj, null, f.children)));+}), MM = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {let { inputRef: n = null, ...r } = e;- [e, t] = AA(r, t, mve);- let i = b.useContext(kM), a = Sy((0, b.useMemo)(() => fy(n, e.inputRef === void 0 ? null : e.inputRef), [n, e.inputRef])), o = fle({- ...MA(e),+ [e, t] = jA(r, t, mve);+ let i = b.useContext(AM), a = Sy((0, b.useMemo)(() => fy(n, e.inputRef === void 0 ? null : e.inputRef), [n, e.inputRef])), o = dle({+ ...NA(e),children: typeof e.children == "function" || e.children}, i, a);- return /*#__PURE__*/ b.createElement(MM.Provider, { value: {+ return /*#__PURE__*/ b.createElement(NM.Provider, { value: {...o,inputRef: a,defaultClassName: "react-aria-Radio"@@ -38523,11 +38536,11 @@ var pve = /*#__PURE__*/ (0, b.createContext)(null), mve = /*#__PURE__*/ (0, b.cr...e,ref: t}));-}), MM = /*#__PURE__*/ (0, b.createContext)(null), hve = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {- let { labelProps: n, inputProps: r, isSelected: i, isDisabled: a, isPressed: o, defaultClassName: s, inputRef: c } = (0, b.useContext)(MM), l = b.useContext(kM), { isFocused: u, isFocusVisible: d, focusProps: f } = Lx(), p = a || l.isReadOnly, { hoverProps: m, isHovered: h } = Bx({+}), NM = /*#__PURE__*/ (0, b.createContext)(null), hve = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {+ let { labelProps: n, inputProps: r, isSelected: i, isDisabled: a, isPressed: o, defaultClassName: s, inputRef: c } = (0, b.useContext)(NM), l = b.useContext(AM), { isFocused: u, isFocusVisible: d, focusProps: f } = Lx(), p = a || l.isReadOnly, { hoverProps: m, isHovered: h } = Bx({...e,isDisabled: p- }), g = OA({+ }), g = kA({...e,defaultClassName: s,values: {@@ -38542,7 +38555,7 @@ var pve = /*#__PURE__*/ (0, b.createContext)(null), mve = /*#__PURE__*/ (0, b.crisRequired: l.isRequired}}), _ = hb(e, { global: !0 });- return delete _.id, delete _.onClick, /*#__PURE__*/ b.createElement(PA.label, {+ return delete _.id, delete _.onClick, /*#__PURE__*/ b.createElement(FA.label, {...gy(_, n, m, g),ref: t,"data-selected": i || void 0,@@ -38562,7 +38575,7 @@ var pve = /*#__PURE__*/ (0, b.createContext)(null), mve = /*#__PURE__*/ (0, b.cr//#endregion//#region node_modules/react-stately/dist/private/select/useSelectState.mjsfunction gve(e) {- let { selectionMode: t = "single", shouldCloseOnSelect: n = t === "single" } = e, r = aM(e), [i, a] = (0, b.useState)(null), o = (0, b.useMemo)(() => e.defaultValue === void 0 ? t === "single" ? e.defaultSelectedKey ?? null : [] : e.defaultValue, [+ let { selectionMode: t = "single", shouldCloseOnSelect: n = t === "single" } = e, r = oM(e), [i, a] = (0, b.useState)(null), o = (0, b.useMemo)(() => e.defaultValue === void 0 ? t === "single" ? e.defaultSelectedKey ?? null : [] : e.defaultValue, [e.defaultValue,e.defaultSelectedKey,t@@ -38578,7 +38591,7 @@ function gve(e) {let e = [];Array.isArray(n) ? e = n : n != null && (e = [n]), c(e);}- }, d = $j({+ }, d = eM({...e,selectionMode: t,disallowEmptySelection: t === "single",@@ -38628,8 +38641,8 @@ function _ve(e) {function vve(e) {return e && e.__esModule ? e.default : e;}-var NM = /*#__PURE__*/ (0, b.createContext)(null), PM = /*#__PURE__*/ (0, b.createContext)(null), yve = /*#__PURE__*/ Dy(function(e, t) {- [e, t] = AA(e, t, NM);+var PM = /*#__PURE__*/ (0, b.createContext)(null), FM = /*#__PURE__*/ (0, b.createContext)(null), yve = /*#__PURE__*/ Dy(function(e, t) {+ [e, t] = jA(e, t, PM);let { children: n, isDisabled: r = !1, isInvalid: i = !1, isRequired: a = !1 } = e, o = (0, b.useMemo)(() => typeof n == "function" ? n({isOpen: !1,isDisabled: r,@@ -38650,18 +38663,18 @@ var NM = /*#__PURE__*/ (0, b.createContext)(null), PM = /*#__PURE__*/ (0, b.creaselectRef: t}));}), bve = [- HA,UA,- qA+ WA,+ JA];function xve({ props: e, selectRef: t, collection: n }) {- let { validationBehavior: r } = kA(YA) || {}, i = e.validationBehavior ?? r ?? "native", a = gve({+ let { validationBehavior: r } = AA(XA) || {}, i = e.validationBehavior ?? r ?? "native", a = gve({...e,collection: n,children: void 0,validationBehavior: i- }), { isFocusVisible: o, focusProps: s } = Lx({ within: !0 }), c = (0, b.useRef)(null), [l, u] = jA(!e["aria-label"] && !e["aria-labelledby"]), { labelProps: d, triggerProps: f, valueProps: p, menuProps: m, descriptionProps: h, errorMessageProps: g, hiddenSelectProps: _, ...v } = mle({- ...MA(e),+ }), { isFocusVisible: o, focusProps: s } = Lx({ within: !0 }), c = (0, b.useRef)(null), [l, u] = MA(!e["aria-label"] && !e["aria-labelledby"]), { labelProps: d, triggerProps: f, valueProps: p, menuProps: m, descriptionProps: h, errorMessageProps: g, hiddenSelectProps: _, ...v } = ple({+ ...NA(e),label: u,validationBehavior: i}, a, c), y = (0, b.useMemo)(() => ({@@ -38678,30 +38691,30 @@ function xve({ props: e, selectRef: t, collection: n }) {e.isDisabled,v.isInvalid,e.isRequired- ]), x = OA({+ ]), x = kA({...e,values: y,defaultClassName: "react-aria-Select"}), S = hb(e, { global: !0 });delete S.id;let C = (0, b.useRef)(null);- return /*#__PURE__*/ b.createElement(DA, { values: [- [NM, e],- [PM, a],- [FM, p],- [HA, {+ return /*#__PURE__*/ b.createElement(OA, { values: [+ [PM, e],+ [FM, a],+ [IM, p],+ [UA, {...d,ref: l,elementType: "span"}],- [UA, {+ [WA, {...f,ref: c,isPressed: a.isOpen,autoFocus: e.autoFocus}],- [SM, a],- [lM, {+ [CM, a],+ [uM, {trigger: "Select",triggerRef: c,scrollRef: C,@@ -38709,17 +38722,17 @@ function xve({ props: e, selectRef: t, collection: n }) {"aria-labelledby": m["aria-labelledby"],clearContexts: bve}],- [nM, {+ [rM, {...m,ref: C}],- [rM, a],- [qA, { slots: {+ [iM, a],+ [JA, { slots: {description: h,errorMessage: g} }],- [JA, v]- ] }, /*#__PURE__*/ b.createElement(PA.div, {+ [YA, v]+ ] }, /*#__PURE__*/ b.createElement(FA.div, {...gy(S, x, s),ref: t,slot: e.slot || void 0,@@ -38729,14 +38742,14 @@ function xve({ props: e, selectRef: t, collection: n }) {"data-disabled": e.isDisabled || void 0,"data-invalid": v.isInvalid || void 0,"data-required": e.isRequired || void 0- }, x.children, /*#__PURE__*/ b.createElement(gle, {+ }, x.children, /*#__PURE__*/ b.createElement(hle, {..._,autoComplete: e.autoComplete})));}-for (var FM = /*#__PURE__*/ (0, b.createContext)(null), Sve = /*#__PURE__*/ Dy(function(e, t) {- [e, t] = AA(e, t, FM);- let n = (0, b.useContext)(PM), { placeholder: r } = kA(NM), i = n.selectedItems.map((e) => {+for (var IM = /*#__PURE__*/ (0, b.createContext)(null), Sve = /*#__PURE__*/ Dy(function(e, t) {+ [e, t] = jA(e, t, IM);+ let n = (0, b.useContext)(FM), { placeholder: r } = AA(PM), i = n.selectedItems.map((e) => {let t = e.props?.children;return typeof t == "function" && (t = t({isHovered: !1,@@ -38763,7 +38776,7 @@ for (var FM = /*#__PURE__*/ (0, b.createContext)(null), Sve = /*#__PURE__*/ Dy(fa,o,i- ]), u = pb(vve(Fj), "react-aria-components"), d = OA({+ ]), u = pb(vve(Ij), "react-aria-components"), d = kA({...e,defaultChildren: l ?? r ?? u.format("selectPlaceholder"),defaultClassName: "react-aria-SelectValue",@@ -38775,20 +38788,20 @@ for (var FM = /*#__PURE__*/ (0, b.createContext)(null), Sve = /*#__PURE__*/ Dy(fstate: n}}), f = hb(e, { global: !0 });- return /*#__PURE__*/ b.createElement(PA.span, {+ return /*#__PURE__*/ b.createElement(FA.span, {ref: t,...f,...d,"data-placeholder": n.selectedItems.length === 0 || void 0- }, /*#__PURE__*/ b.createElement(qA.Provider, { value: void 0 }, d.children));-}), Cve = /*#__PURE__*/ (0, b.createContext)(null), IM = /*#__PURE__*/ (0, b.createContext)(null), wve = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {+ }, /*#__PURE__*/ b.createElement(JA.Provider, { value: void 0 }, d.children));+}), Cve = /*#__PURE__*/ (0, b.createContext)(null), LM = /*#__PURE__*/ (0, b.createContext)(null), wve = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {let { inputRef: n = null, ...r } = e;- [e, t] = AA(r, t, Cve);- let i = Sy((0, b.useMemo)(() => fy(n, e.inputRef === void 0 ? null : e.inputRef), [n, e.inputRef])), a = gx(e), o = vle({- ...MA(e),+ [e, t] = jA(r, t, Cve);+ let i = Sy((0, b.useMemo)(() => fy(n, e.inputRef === void 0 ? null : e.inputRef), [n, e.inputRef])), a = gx(e), o = _le({+ ...NA(e),children: typeof e.children == "function" || e.children}, a, i);- return /*#__PURE__*/ b.createElement(DA, { values: [[IM, a], [LM, {+ return /*#__PURE__*/ b.createElement(OA, { values: [[LM, a], [RM, {...o,inputRef: i,defaultClassName: "react-aria-Switch"@@ -38796,11 +38809,11 @@ for (var FM = /*#__PURE__*/ (0, b.createContext)(null), Sve = /*#__PURE__*/ Dy(f...e,ref: t}));-}), LM = /*#__PURE__*/ (0, b.createContext)(null), Tve = /*#__PURE__*/ (0, b.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, b.useContext)(LM), { isFocused: f, isFocusVisible: p, focusProps: m } = Lx(), h = a || o, g = (0, b.useContext)(IM), { hoverProps: _, isHovered: v } = Bx({+}), RM = /*#__PURE__*/ (0, b.createContext)(null), Tve = /*#__PURE__*/ (0, b.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, b.useContext)(RM), { isFocused: f, isFocusVisible: p, focusProps: m } = Lx(), h = a || o, g = (0, b.useContext)(LM), { hoverProps: _, isHovered: v } = Bx({...e,isDisabled: h- }), y = OA({+ }), y = kA({...e,defaultClassName: u,values: {@@ -38816,7 +38829,7 @@ for (var FM = /*#__PURE__*/ (0, b.createContext)(null), Sve = /*#__PURE__*/ Dy(fstate: g}}), x = hb(e, { global: !0 });- return delete x.id, delete x.onClick, /*#__PURE__*/ b.createElement(PA.label, {+ return delete x.id, delete x.onClick, /*#__PURE__*/ b.createElement(FA.label, {...gy(x, n, _, y),ref: t,slot: e.slot || void 0,@@ -38833,7 +38846,7 @@ for (var FM = /*#__PURE__*/ (0, b.createContext)(null), Sve = /*#__PURE__*/ Dy(f...gy(r, m),ref: l})), y.children);-}), RM = 10, zM = 5, Eve = class {+}), zM = 10, BM = 5, Eve = class {setup(e, t, n) {this.delegate = e, this.state = t, this.direction = n;}@@ -38843,7 +38856,7 @@ for (var FM = /*#__PURE__*/ (0, b.createContext)(null), Sve = /*#__PURE__*/ Dy(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) > zM && (s = a > 0 ? "down" : "up", i.yDirection = s, i.lastY = n), Math.abs(o) > RM && (c = o > 0 ? "right" : "left", i.xDirection = c, i.lastX = t), e.dropPosition === "before") {+ if (Math.abs(a) > BM && (s = a > 0 ? "down" : "up", i.yDirection = s, i.lastY = n), Math.abs(o) > zM && (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);@@ -38922,11 +38935,11 @@ for (var FM = /*#__PURE__*/ (0, b.createContext)(null), Sve = /*#__PURE__*/ Dy(flastSwitchX: n});let c = o.boundaryContext, l = Math.abs(n - c.lastSwitchX);- if (Math.abs(r - c.lastSwitchY) > zM && i) {+ if (Math.abs(r - c.lastSwitchY) > BM && 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 > RM && a) {+ if (l > zM && 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;}@@ -39011,8 +39024,8 @@ for (var FM = /*#__PURE__*/ (0, b.createContext)(null), Sve = /*#__PURE__*/ Dy(fgetChildren(e) {return this.keyMap.get(e)?.childNodes || [];}-}, BM = "row-header-column-" + Math.random().toString(36).slice(2), VM = "row-header-column-" + Math.random().toString(36).slice(2); BM === VM;) VM = "row-header-column-" + Math.random().toString(36).slice(2);-function HM(e, t) {+}, VM = "row-header-column-" + Math.random().toString(36).slice(2), HM = "row-header-column-" + Math.random().toString(36).slice(2); VM === HM;) HM = "row-header-column-" + Math.random().toString(36).slice(2);+function UM(e, t) {if (t.length === 0) return [];let n = [], r = /* @__PURE__ */ new Map();for (let i of t) {@@ -39102,7 +39115,7 @@ var Ove = class extends Dve {if (n?.showSelectionCheckboxes) {let e = {type: "column",- key: BM,+ key: VM,value: null,textValue: "",level: 0,@@ -39117,7 +39130,7 @@ var Ove = class extends Dve {if (n?.showDragButtons) {let e = {type: "column",- key: VM,+ key: HM,value: null,textValue: "",level: 0,@@ -39144,7 +39157,7 @@ var Ove = class extends Dve {for (let t of e.childNodes) c(t);};for (let t of e) c(t);- let l = HM(s, a);+ let l = UM(s, a);if (l.forEach((e, t) => o.splice(t, 0, e)), super({columnCount: a.length,items: o,@@ -39206,7 +39219,7 @@ var Ove = class extends Dve {//#endregion//#region node_modules/react-stately/dist/private/grid/useGridState.mjsfunction kve(e) {- let { collection: t, focusMode: n } = e, r = e.UNSAFE_selectionState || qj(e), i = (0, b.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), a = r.setFocusedKey;+ let { collection: t, focusMode: n } = e, r = e.UNSAFE_selectionState || Jj(e), i = (0, b.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);@@ -39217,7 +39230,7 @@ function kve(e) {}a(e, r);};- let o = (0, b.useMemo)(() => new Yj(t, r), [t, r]), s = (0, b.useRef)(null);+ let o = (0, b.useMemo)(() => new Xj(t, r), [t, r]), s = (0, b.useRef)(null);return (0, b.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;@@ -39271,7 +39284,7 @@ function jve(e) {i,r,a- ]), c = Qj(e, (0, b.useCallback)((e) => new Ove(e, null, s), [s]), s), { disabledKeys: l, selectionManager: u } = kve({+ ]), c = $j(e, (0, b.useCallback)((e) => new Ove(e, null, s), [s]), s), { disabledKeys: l, selectionManager: u } = kve({...e,collection: c,disabledBehavior: e.disabledBehavior || "selection"@@ -39325,7 +39338,7 @@ var Nve = class extends U_ {}get body() {for (let e of this) if (e.type === "tablebody") return e;- return new YM(-2);+ return new XM(-2);}commit(e, t, n = !1) {this.updateColumns(n), this.firstKey = e, this.lastKey = t, this.rows = [];@@ -39351,7 +39364,7 @@ var Nve = class extends U_ {for (let t of this.getChildren(e.key)) n(t);};for (let e of this.getChildren(this.head.key)) n(e);- if (this.headerRows = HM(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 = UM(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;@@ -39432,11 +39445,11 @@ var Nve = class extends U_ {return r.join(" ");}constructor(...e) {- super(...e), this.headerRows = [], this.columns = [], this.rows = [], this.rowHeaderColumnKeys = /* @__PURE__ */ new Set(), this.head = new KM(-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 qM(-1), this.columnsDirty = !0, this.expandedKeys = /* @__PURE__ */ new Set();}-}, Pve = /*#__PURE__*/ (0, b.createContext)(null), Fve = /*#__PURE__*/ (0, b.createContext)(null), UM = /*#__PURE__*/ (0, b.createContext)(null), WM = /*#__PURE__*/ (0, b.createContext)(null), Ive = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {- [e, t] = AA(e, t, Fve);- let n = qj(e), { selectionBehavior: r, selectionMode: i, disallowEmptySelection: a } = n, o = !!e.dragAndDropHooks?.useDraggableCollectionState, s = (0, b.useMemo)(() => ({+}, Pve = /*#__PURE__*/ (0, b.createContext)(null), Fve = /*#__PURE__*/ (0, b.createContext)(null), WM = /*#__PURE__*/ (0, b.createContext)(null), GM = /*#__PURE__*/ (0, b.createContext)(null), Ive = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {+ [e, t] = jA(e, t, Fve);+ let n = Jj(e), { selectionBehavior: r, selectionMode: i, disallowEmptySelection: a } = n, o = !!e.dragAndDropHooks?.useDraggableCollectionState, s = (0, b.useMemo)(() => ({selectionBehavior: i === "none" ? null : r,selectionMode: i,disallowEmptySelection: a,@@ -39457,15 +39470,15 @@ var Nve = class extends U_ {collection: r}));}), Lve = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {- let { isVirtualized: n } = (0, b.useContext)(BA);- return n ? /*#__PURE__*/ b.createElement(PA.div, {+ let { isVirtualized: n } = (0, b.useContext)(VA);+ return n ? /*#__PURE__*/ b.createElement(FA.div, {...e,ref: t- }) : /*#__PURE__*/ b.createElement(PA.table, {+ }) : /*#__PURE__*/ b.createElement(FA.table, {...e,ref: t});-}), GM = {+}), KM = {expand: {ltr: "ArrowRight",rtl: "ArrowLeft"@@ -39476,7 +39489,7 @@ var Nve = class extends U_ {}};function Rve({ props: e, forwardedRef: t, selectionState: n, collection: r }) {- [e, t] = AA(e, t, FA);+ [e, t] = jA(e, t, IA);let { shouldUseVirtualFocus: i, disallowTypeAhead: a, filter: o, ...s } = e, c = (0, b.useContext)(Pve);t = Sy((0, b.useMemo)(() => fy(t, c?.tableRef), [t, c?.tableRef]));let [l, u] = hx(e.expandedKeys ? new Set(e.expandedKeys) : void 0, e.defaultExpandedKeys ? new Set(e.defaultExpandedKeys) : /* @__PURE__ */ new Set(), e.onExpandedChange);@@ -39488,7 +39501,7 @@ function Rve({ props: e, forwardedRef: t, selectionState: n, collection: r }) {UNSAFE_selectionState: n,expandedKeys: l,onExpandedChange: u- }), f = Mve(d, o), { isVirtualized: p, layoutDelegate: m, dropTargetDelegate: h, CollectionRoot: g } = (0, b.useContext)(BA), { dragAndDropHooks: _ } = e, { gridProps: v } = Tle({+ }), f = Mve(d, o), { isVirtualized: p, layoutDelegate: m, dropTargetDelegate: h, CollectionRoot: g } = (0, b.useContext)(VA), { dragAndDropHooks: _ } = e, { gridProps: v } = wle({...s,layoutDelegate: m,isVirtualized: p@@ -39529,12 +39542,12 @@ function Rve({ props: e, forwardedRef: t, selectionState: n, collection: r }) {let t = w?.target;if (t && t.type === "item" && t.dropPosition === "on") {let n = d.collection.getItem(t.key);- (e.key === GM.expand[k] && n?.hasChildNodes && !d.expandedKeys.has(t.key) || e.key === GM.collapse[k] && n?.hasChildNodes && d.expandedKeys.has(t.key)) && d.toggleKey(t.key);+ (e.key === KM.expand[k] && n?.hasChildNodes && !d.expandedKeys.has(t.key) || e.key === KM.collapse[k] && n?.hasChildNodes && d.expandedKeys.has(t.key)) && d.toggleKey(t.key);}}}, w, t), E = w.isDropTarget({ type: "root" });}- let { focusProps: j, isFocused: M, isFocusVisible: N } = Lx(), P = OA({+ let { focusProps: j, isFocused: M, isFocusVisible: N } = Lx(), P = kA({...e,children: void 0,defaultClassName: "react-aria-Table",@@ -39551,17 +39564,17 @@ function Rve({ props: e, forwardedRef: t, selectionState: n, collection: r }) {width: "min-content"}));let I = hb(e, { global: !0 });- return /*#__PURE__*/ b.createElement(DA, { values: [- [UM, f],- [WM, te],- [Ij, {+ return /*#__PURE__*/ b.createElement(OA, { values: [+ [WM, f],+ [GM, te],+ [Lj, {dragAndDropHooks: _,dragState: C,dropState: w}],- [Lj, { render: Yve }],- [FA, null],- [IA, null]+ [Rj, { render: Yve }],+ [IA, null],+ [LA, null]] }, /*#__PURE__*/ b.createElement(Rb, null, /*#__PURE__*/ b.createElement(Lve, {...gy(I, P, v, j, T?.collectionProps),style: F,@@ -39572,27 +39585,27 @@ function Rve({ props: e, forwardedRef: t, selectionState: n, collection: r }) {"data-drop-target": E || void 0,"data-focused": M || void 0,"data-focus-visible": N || void 0- }, /*#__PURE__*/ b.createElement(Vj, null, /*#__PURE__*/ b.createElement(g, {+ }, /*#__PURE__*/ b.createElement(Hj, null, /*#__PURE__*/ b.createElement(g, {collection: f.collection,scrollRef: c?.scrollRef ?? t,- persistedKeys: zj(y, _, w)+ persistedKeys: Bj(y, _, w)})))), D);}-var zve = /*#__PURE__*/ (0, b.createContext)(null), KM = class extends z_ {+var zve = /*#__PURE__*/ (0, b.createContext)(null), qM = class extends z_ {static {this.type = "tableheader";}}, Bve = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {- let { isVirtualized: n } = (0, b.useContext)(BA);- return n ? /*#__PURE__*/ b.createElement(PA.div, {+ let { isVirtualized: n } = (0, b.useContext)(VA);+ return n ? /*#__PURE__*/ b.createElement(FA.div, {...e,ref: t- }) : /*#__PURE__*/ b.createElement(PA.thead, {+ }) : /*#__PURE__*/ b.createElement(FA.thead, {...e,ref: t});-}), qM = /*#__PURE__*/ Iy(KM, (e, t) => {- let n = (0, b.useContext)(UM).collection, r = q_({+}), JM = /*#__PURE__*/ Iy(qM, (e, t) => {+ let n = (0, b.useContext)(WM).collection, r = q_({items: n.headerRows,children: (0, b.useCallback)((e) => {switch (e.type) {@@ -39600,11 +39613,11 @@ var zve = /*#__PURE__*/ (0, b.createContext)(null), KM = class extends z_ {default: throw Error("Unsupported node type in TableHeader: " + e.type);}}, [])- }), { rowGroupProps: i } = TC(), { hoverProps: a, isHovered: o } = Bx({+ }), { rowGroupProps: i } = EC(), { hoverProps: a, isHovered: o } = Bx({onHoverStart: e.onHoverStart,onHoverChange: e.onHoverChange,onHoverEnd: e.onHoverEnd- }), s = OA({+ }), s = kA({...e,children: void 0,defaultClassName: "react-aria-TableHeader",@@ -39620,7 +39633,7 @@ var zve = /*#__PURE__*/ (0, b.createContext)(null), KM = class extends z_ {dependencies: e.dependencies,items: e.columns}, e.children)), Vve = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {- let { isVirtualized: n } = (0, b.useContext)(BA);+ let { isVirtualized: n } = (0, b.useContext)(VA);return n ? /*#__PURE__*/ b.createElement("div", {...e,ref: t@@ -39630,14 +39643,14 @@ var zve = /*#__PURE__*/ (0, b.createContext)(null), KM = class extends z_ {});});function Hve({ item: e }) {- let t = (0, b.useRef)(null), n = (0, b.useContext)(UM), { isVirtualized: r, CollectionBranch: i } = (0, b.useContext)(BA), { rowProps: a } = kle({+ let t = (0, b.useRef)(null), n = (0, b.useContext)(WM), { isVirtualized: r, CollectionBranch: i } = (0, b.useContext)(VA), { rowProps: a } = Ole({node: e,isVirtualized: r- }, n, t), { checkboxProps: o } = Ile(n);+ }, n, t), { checkboxProps: o } = Fle(n);return /*#__PURE__*/ b.createElement(Vve, {...a,ref: t- }, /*#__PURE__*/ b.createElement(DA, { values: [[XA, { slots: { selection: o } }], [ZA, { slots: { selection: o } }]] }, /*#__PURE__*/ b.createElement(i, {+ }, /*#__PURE__*/ b.createElement(OA, { values: [[ZA, { slots: { selection: o } }], [QA, { slots: { selection: o } }]] }, /*#__PURE__*/ b.createElement(i, {collection: n.collection,parent: e})));@@ -39647,23 +39660,23 @@ var Uve = class extends z_ {this.type = "column";}}, Wve = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {- let { isVirtualized: n } = (0, b.useContext)(BA);- return n ? /*#__PURE__*/ b.createElement(PA.div, {+ let { isVirtualized: n } = (0, b.useContext)(VA);+ return n ? /*#__PURE__*/ b.createElement(FA.div, {...e,ref: t- }) : /*#__PURE__*/ b.createElement(PA.th, {+ }) : /*#__PURE__*/ b.createElement(FA.th, {...e,ref: t});-}), JM = /*#__PURE__*/ Fy(Uve, (e, t, n) => {- let r = Sy(t), i = (0, b.useContext)(UM), { isVirtualized: a } = (0, b.useContext)(BA), { columnHeaderProps: o, isPressed: s } = Ole({+}), YM = /*#__PURE__*/ Fy(Uve, (e, t, n) => {+ let r = Sy(t), i = (0, b.useContext)(WM), { isVirtualized: a } = (0, b.useContext)(VA), { columnHeaderProps: o, isPressed: s } = Dle({node: n,isVirtualized: a,focusMode: e.focusMode,allowsArrowNavigation: e.allowsArrowNavigation- }, i, r), { isFocused: c, isFocusVisible: l, focusProps: u } = Lx(), d = (0, b.useContext)(WM), f = !1;+ }, i, r), { isFocused: c, isFocusVisible: l, focusProps: u } = Lx(), d = (0, b.useContext)(GM), f = !1;d && (f = d.resizingColumn === n.key);- let { hoverProps: p, isHovered: m } = Bx({ isDisabled: !e.allowsSorting }), h = OA({+ let { hoverProps: p, isHovered: m } = Bx({ isDisabled: !e.allowsSorting }), h = kA({...e,id: void 0,children: n.rendered,@@ -39702,28 +39715,28 @@ var Uve = class extends z_ {"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__*/ b.createElement(DA, { values: [[Gve, {+ }, /*#__PURE__*/ b.createElement(OA, { values: [[Gve, {column: n,triggerRef: r- }], [BA, RA]] }, h.children));-}), Gve = /*#__PURE__*/ (0, b.createContext)(null), YM = class extends B_ {+ }], [VA, zA]] }, h.children));+}), Gve = /*#__PURE__*/ (0, b.createContext)(null), XM = class extends B_ {static {this.type = "tablebody";}}, Kve = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {- let { isVirtualized: n } = (0, b.useContext)(BA);- return n ? /*#__PURE__*/ b.createElement(PA.div, {+ let { isVirtualized: n } = (0, b.useContext)(VA);+ return n ? /*#__PURE__*/ b.createElement(FA.div, {...e,ref: t- }) : /*#__PURE__*/ b.createElement(PA.tbody, {+ }) : /*#__PURE__*/ b.createElement(FA.tbody, {...e,ref: t});-}), XM = /*#__PURE__*/ Iy(YM, (e, t, n) => {- let r = (0, b.useContext)(UM), { isVirtualized: i } = (0, b.useContext)(BA), a = r.collection, { CollectionBranch: o } = (0, b.useContext)(BA), { dragAndDropHooks: s, dropState: c } = (0, b.useContext)(Ij), l = !!s?.useDroppableCollectionState && !c?.isDisabled, u = l && !!c && (c.isDropTarget({ type: "root" }) ?? !1), d = a.size === 0, f = {+}), ZM = /*#__PURE__*/ Iy(XM, (e, t, n) => {+ let r = (0, b.useContext)(WM), { isVirtualized: i } = (0, b.useContext)(VA), a = r.collection, { CollectionBranch: o } = (0, b.useContext)(VA), { dragAndDropHooks: s, dropState: c } = (0, b.useContext)(Lj), l = !!s?.useDroppableCollectionState && !c?.isDisabled, u = l && !!c && (c.isDropTarget({ type: "root" }) ?? !1), d = a.size === 0, f = {isDropTarget: u,isEmpty: d- }, p = OA({+ }, p = kA({...e,id: void 0,children: void 0,@@ -39732,17 +39745,17 @@ var Uve = class extends z_ {}), 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__*/ b.createElement(QM, {+ i ? (n["aria-colspan"] = h, r = { display: "contents" }) : n.colSpan = h, m = /*#__PURE__*/ b.createElement($M, {role: "row",...t,style: r- }, /*#__PURE__*/ b.createElement(eN, {+ }, /*#__PURE__*/ b.createElement(tN, {role: "rowheader",...n,style: r}, e.renderEmptyState(f)));}- let { rowGroupProps: g } = TC(), _ = hb(e, { global: !0 });+ let { rowGroupProps: g } = EC(), _ = hb(e, { global: !0 });return /*#__PURE__*/ b.createElement(Kve, {...gy(_, p, g),ref: t,@@ -39750,7 +39763,7 @@ var Uve = class extends z_ {}, l && /*#__PURE__*/ b.createElement(eye, null), /*#__PURE__*/ b.createElement(o, {collection: a,parent: n,- renderDropIndicator: Rj(s, c)+ renderDropIndicator: zj(s, c)}), m);});(class extends B_ {@@ -39758,7 +39771,7 @@ var Uve = class extends z_ {this.type = "tablefooter";}});-var ZM = /*#__PURE__*/ (0, b.createContext)({ isFocusVisibleWithinRow: !1 }), qve = class extends z_ {+var QM = /*#__PURE__*/ (0, b.createContext)({ isFocusVisibleWithinRow: !1 }), qve = class extends z_ {static {this.type = "item";}@@ -39770,17 +39783,17 @@ var ZM = /*#__PURE__*/ (0, b.createContext)({ isFocusVisibleWithinRow: !1 }), qv}return null;}-}, QM = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {- let { isVirtualized: n } = (0, b.useContext)(BA);- return n ? /*#__PURE__*/ b.createElement(PA.div, {+}, $M = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {+ let { isVirtualized: n } = (0, b.useContext)(VA);+ return n ? /*#__PURE__*/ b.createElement(FA.div, {...e,ref: t- }) : /*#__PURE__*/ b.createElement(PA.tr, {+ }) : /*#__PURE__*/ b.createElement(FA.tr, {...e,ref: t});-}), $M = /*#__PURE__*/ Iy(qve, (e, t, n) => {- let r = Sy(t), i = (0, b.useContext)(UM), { dragAndDropHooks: a, dragState: o, dropState: s } = (0, b.useContext)(Ij), { isVirtualized: c, CollectionBranch: l } = (0, b.useContext)(BA), u = o && !(o.isDisabled || o.selectionManager.isDisabled(n.key)), { rowProps: d, expandButtonProps: f, ...p } = Mle({+}), eN = /*#__PURE__*/ Iy(qve, (e, t, n) => {+ let r = Sy(t), i = (0, b.useContext)(WM), { dragAndDropHooks: a, dragState: o, dropState: s } = (0, b.useContext)(Lj), { isVirtualized: c, CollectionBranch: l } = (0, b.useContext)(VA), u = o && !(o.isDisabled || o.selectionManager.isDisabled(n.key)), { rowProps: d, expandButtonProps: f, ...p } = jle({node: n,shouldSelectOnPressUp: !!o,isVirtualized: c@@ -39789,7 +39802,7 @@ var ZM = /*#__PURE__*/ (0, b.createContext)({ isFocusVisibleWithinRow: !1 }), qvonHoverStart: e.onHoverStart,onHoverChange: e.onHoverChange,onHoverEnd: e.onHoverEnd- }), { checkboxProps: S } = Fle({ key: n.key }, i), C;+ }), { checkboxProps: S } = Ple({ key: n.key }, i), C;o && a && (C = a.useDraggableItem({key: n.key,hasDragButton: !0@@ -39804,7 +39817,7 @@ var ZM = /*#__PURE__*/ (0, b.createContext)({ isFocusVisibleWithinRow: !1 }), qv(0, b.useEffect)(() => {o && D.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 = OA({+ 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 = kA({...A,id: void 0,defaultClassName: "react-aria-Row",@@ -39826,10 +39839,10 @@ var ZM = /*#__PURE__*/ (0, b.createContext)({ isFocusVisibleWithinRow: !1 }), qvlevel: n.level + 1}}), P = hb(e, { global: !0 });- return delete P.id, delete P.onClick, /*#__PURE__*/ b.createElement(b.Fragment, null, w && !w.isHidden && /*#__PURE__*/ b.createElement(QM, {+ return delete P.id, delete P.onClick, /*#__PURE__*/ b.createElement(b.Fragment, null, w && !w.isHidden && /*#__PURE__*/ b.createElement($M, {role: "row",style: { height: 0 }- }, /*#__PURE__*/ b.createElement(eN, {+ }, /*#__PURE__*/ b.createElement(tN, {role: "gridcell",colSpan: i.collection.columnCount,style: { padding: 0 }@@ -39838,7 +39851,7 @@ var ZM = /*#__PURE__*/ (0, b.createContext)({ isFocusVisibleWithinRow: !1 }), qv...E,...w.dropIndicatorProps,ref: T- }))), /*#__PURE__*/ b.createElement(QM, {+ }))), /*#__PURE__*/ b.createElement($M, {...gy(P, N, d, g, y, C?.dragProps, v),ref: r,"data-disabled": p.isDisabled || void 0,@@ -39854,17 +39867,17 @@ var ZM = /*#__PURE__*/ (0, b.createContext)({ isFocusVisibleWithinRow: !1 }), qv"data-expanded": M || void 0,"data-has-child-items": j || void 0,"data-level": n.level + 1- }, /*#__PURE__*/ b.createElement(DA, { values: [- [XA, { slots: {- [EA]: {},+ }, /*#__PURE__*/ b.createElement(OA, { values: [+ [ZA, { slots: {+ [DA]: {},selection: S} }],- [ZA, { slots: {- [EA]: {},+ [QA, { slots: {+ [DA]: {},selection: S} }],- [UA, { slots: {- [EA]: {},+ [WA, { slots: {+ [DA]: {},chevron: f,drag: {...C?.dragButtonProps,@@ -39872,8 +39885,8 @@ var ZM = /*#__PURE__*/ (0, b.createContext)({ isFocusVisibleWithinRow: !1 }), qvstyle: { pointerEvents: "none" }}} }],- [Hj, { isSelected: p.isSelected }],- [ZM, { isFocusVisibleWithinRow: _ }]+ [Uj, { isSelected: p.isSelected }],+ [QM, { isFocusVisibleWithinRow: _ }]] }, /*#__PURE__*/ b.createElement(l, {collection: i.collection,parent: n@@ -39890,25 +39903,25 @@ var ZM = /*#__PURE__*/ (0, b.createContext)({ isFocusVisibleWithinRow: !1 }), qvstatic {this.type = "cell";}-}, eN = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {- let { isVirtualized: n } = (0, b.useContext)(BA);- return n ? /*#__PURE__*/ b.createElement(PA.div, {+}, tN = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {+ let { isVirtualized: n } = (0, b.useContext)(VA);+ return n ? /*#__PURE__*/ b.createElement(FA.div, {...e,ref: t- }) : /*#__PURE__*/ b.createElement(PA.td, {+ }) : /*#__PURE__*/ b.createElement(FA.td, {...e,ref: t});-}), tN = /*#__PURE__*/ Fy(Jve, (e, t, n) => {- let r = Sy(t), i = (0, b.useContext)(UM), { dragState: a } = (0, b.useContext)(Ij), { isVirtualized: o } = (0, b.useContext)(BA);+}), nN = /*#__PURE__*/ Fy(Jve, (e, t, n) => {+ let r = Sy(t), i = (0, b.useContext)(WM), { dragState: a } = (0, b.useContext)(Lj), { isVirtualized: o } = (0, b.useContext)(VA);n.column = i.collection.columns[n.index];- let { gridCellProps: s, isPressed: c } = Ele({+ let { gridCellProps: s, isPressed: c } = Tle({node: n,shouldSelectOnPressUp: !!a,isVirtualized: o,focusMode: e.focusMode,allowsArrowNavigation: e.allowsArrowNavigation- }, i, r), { isFocused: l, isFocusVisible: u, focusProps: d } = Lx(), { hoverProps: f, isHovered: p } = Bx({}), { isFocusVisibleWithinRow: m } = (0, b.useContext)(ZM), 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), x = i.selectionManager.isDisabled(n.parentKey), S = OA({+ }, i, r), { isFocused: l, isFocusVisible: u, focusProps: d } = Lx(), { hoverProps: f, isHovered: p } = Bx({}), { isFocusVisibleWithinRow: m } = (0, b.useContext)(QM), 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), x = i.selectionManager.isDisabled(n.parentKey), S = kA({...e,id: void 0,defaultClassName: "react-aria-Cell",@@ -39928,7 +39941,7 @@ var ZM = /*#__PURE__*/ (0, b.createContext)({ isFocusVisibleWithinRow: !1 }), qvisTreeColumn: n.column.key === i.treeColumn}}), C = hb(e, { global: !0 });- return delete C.id, /*#__PURE__*/ b.createElement(eN, {+ return delete C.id, /*#__PURE__*/ b.createElement(tN, {...gy(C, S, s, d, f),ref: r,"data-focused": l || void 0,@@ -39942,11 +39955,11 @@ var ZM = /*#__PURE__*/ (0, b.createContext)({ isFocusVisibleWithinRow: !1 }), qv"data-level": _.level + 1,"data-tree-column": n.column.key === i.treeColumn || void 0,"data-disabled": x || void 0- }, /*#__PURE__*/ b.createElement(BA.Provider, { value: RA }, S.children));+ }, /*#__PURE__*/ b.createElement(VA.Provider, { value: zA }, S.children));});function Yve(e, t) {t = Sy(t);- let { dragAndDropHooks: n, dropState: r } = (0, b.useContext)(Ij), i = (0, b.useRef)(null), { dropIndicatorProps: a, isHidden: o, isDropTarget: s } = n.useDropIndicator(e, r, i);+ let { dragAndDropHooks: n, dropState: r } = (0, b.useContext)(Lj), i = (0, b.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__*/ b.createElement($ve, {@@ -39959,26 +39972,26 @@ function Yve(e, t) {});}var Xve = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {- let { isVirtualized: n } = (0, b.useContext)(BA);- return n ? /*#__PURE__*/ b.createElement(PA.div, {+ let { isVirtualized: n } = (0, b.useContext)(VA);+ return n ? /*#__PURE__*/ b.createElement(FA.div, {...e,ref: t- }) : /*#__PURE__*/ b.createElement(PA.tr, {+ }) : /*#__PURE__*/ b.createElement(FA.tr, {...e,ref: t});}), Zve = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {- let { isVirtualized: n } = (0, b.useContext)(BA);- return n ? /*#__PURE__*/ b.createElement(PA.div, {+ let { isVirtualized: n } = (0, b.useContext)(VA);+ return n ? /*#__PURE__*/ b.createElement(FA.div, {...e,ref: t- }) : /*#__PURE__*/ b.createElement(PA.td, {+ }) : /*#__PURE__*/ b.createElement(FA.td, {...e,ref: t});});function Qve(e, t) {- let { dropIndicatorProps: n, isDropTarget: r, buttonRef: i, level: a, ...o } = e, s = (0, b.useContext)(UM), { visuallyHiddenProps: c } = vx(), l = OA({+ let { dropIndicatorProps: n, isDropTarget: r, buttonRef: i, level: a, ...o } = e, s = (0, b.useContext)(WM), { visuallyHiddenProps: c } = vx(), l = kA({...o,defaultClassName: "react-aria-DropIndicator",defaultStyle: { "--table-row-level": a + 1 },@@ -40004,12 +40017,12 @@ function Qve(e, t) {}var $ve = /*#__PURE__*/ (0, b.forwardRef)(Qve);function eye() {- let e = (0, b.useContext)(UM), { dragAndDropHooks: t, dropState: n } = (0, b.useContext)(Ij), r = (0, b.useRef)(null), { dropIndicatorProps: i } = t.useDropIndicator({ target: { type: "root" } }, n, r), a = n.isDropTarget({ type: "root" }), { visuallyHiddenProps: o } = vx();- return !a && i["aria-hidden"] ? null : /*#__PURE__*/ b.createElement(QM, {+ let e = (0, b.useContext)(WM), { dragAndDropHooks: t, dropState: n } = (0, b.useContext)(Lj), r = (0, b.useRef)(null), { dropIndicatorProps: i } = t.useDropIndicator({ target: { type: "root" } }, n, r), a = n.isDropTarget({ type: "root" }), { visuallyHiddenProps: o } = vx();+ return !a && i["aria-hidden"] ? null : /*#__PURE__*/ b.createElement($M, {role: "row","aria-hidden": i["aria-hidden"],style: { height: 0 }- }, /*#__PURE__*/ b.createElement(eN, {+ }, /*#__PURE__*/ b.createElement(tN, {role: "gridcell",colSpan: e.collection.columnCount,style: { padding: 0 }@@ -40021,8 +40034,8 @@ function eye() {})));}Fy(V_, function(e, t, n) {- let r = (0, b.useContext)(UM), { isVirtualized: i } = (0, b.useContext)(BA), { isLoading: a, onLoadMore: o, scrollOffset: s, ...c } = e, l = r.collection.columns.length, u = (0, b.useRef)(null);- tM((0, b.useMemo)(() => ({+ let r = (0, b.useContext)(WM), { isVirtualized: i } = (0, b.useContext)(VA), { isLoading: a, onLoadMore: o, scrollOffset: s, ...c } = e, l = r.collection.columns.length, u = (0, b.useRef)(null);+ nM((0, b.useMemo)(() => ({onLoadMore: o,collection: r?.collection,sentinelRef: u,@@ -40032,7 +40045,7 @@ Fy(V_, function(e, t, n) {s,r?.collection]), u);- let d = OA({+ let d = kA({...c,id: void 0,children: n.rendered,@@ -40040,10 +40053,10 @@ Fy(V_, 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__*/ b.createElement(b.Fragment, null, /*#__PURE__*/ b.createElement(QM, {+ return i ? (p["aria-colspan"] = l, m = { display: "contents" }) : p.colSpan = l, /*#__PURE__*/ b.createElement(b.Fragment, null, /*#__PURE__*/ b.createElement($M, {style: { height: 0 },- inert: Wj(!0)- }, /*#__PURE__*/ b.createElement(eN, { style: {+ inert: Gj(!0)+ }, /*#__PURE__*/ b.createElement(tN, { style: {padding: 0,border: 0} }, /*#__PURE__*/ b.createElement("div", {@@ -40054,14 +40067,14 @@ Fy(V_, function(e, t, n) {height: 1,width: 1}- }))), a && d.children && /*#__PURE__*/ b.createElement(QM, {+ }))), a && d.children && /*#__PURE__*/ b.createElement($M, {...gy(hb(e, { global: !0 }), f),...d,role: "row",ref: t,"aria-level": n.level + 1,"data-level": n.level + 1- }, /*#__PURE__*/ b.createElement(eN, {+ }, /*#__PURE__*/ b.createElement(tN, {role: "rowheader",...p,style: m@@ -40070,7 +40083,7 @@ Fy(V_, function(e, t, n) {//#endregion//#region node_modules/react-stately/dist/private/list/useSingleSelectListState.mjsfunction tye(e) {- let [t, n] = hx(e.selectedKey, e.defaultSelectedKey ?? null, e.onSelectionChange), r = (0, b.useMemo)(() => t == null ? [] : [t], [t]), { collection: i, disabledKeys: a, selectionManager: o } = $j({+ let [t, n] = hx(e.selectedKey, e.defaultSelectedKey ?? null, e.onSelectionChange), r = (0, b.useMemo)(() => t == null ? [] : [t], [t]), { collection: i, disabledKeys: a, selectionManager: o } = eM({...e,selectionMode: "single",disallowEmptySelection: !0,@@ -40100,17 +40113,17 @@ function nye(e) {t != null && e.onSelectionChange?.(t);} : void 0,suppressTextValueWarning: !0,- defaultSelectedKey: e.defaultSelectedKey ?? nN(e.collection, e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set()) ?? void 0+ defaultSelectedKey: e.defaultSelectedKey ?? rN(e.collection, e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set()) ?? void 0}), { selectionManager: n, collection: r, selectedKey: i } = t, a = (0, b.useRef)(i);return (0, b.useEffect)(() => {let o = i;- e.selectedKey == null && (n.isEmpty || o == null || !r.getItem(o)) && (o = nN(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 = rN(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 nN(e, t) {+function rN(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);@@ -40120,8 +40133,8 @@ function nN(e, t) {}//#endregion//#region node_modules/react-aria-components/dist/private/Tabs.mjs-var rN = /*#__PURE__*/ (0, b.createContext)(null), iN = /*#__PURE__*/ (0, b.createContext)(null), aN = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {- [e, t] = AA(e, t, rN);+var iN = /*#__PURE__*/ (0, b.createContext)(null), aN = /*#__PURE__*/ (0, b.createContext)(null), oN = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {+ [e, t] = jA(e, t, iN);let { children: n, orientation: r = "horizontal" } = e;return n = (0, b.useMemo)(() => typeof n == "function" ? n({orientation: r,@@ -40145,12 +40158,12 @@ function rye({ props: e, tabsRef: t, collection: n }) {r,o,s- ]), l = OA({+ ]), l = kA({...e,defaultClassName: "react-aria-Tabs",values: c}), u = hb(e, { global: !0 });- return /*#__PURE__*/ b.createElement(PA.div, {+ return /*#__PURE__*/ b.createElement(FA.div, {...gy(u, l, a),ref: t,slot: e.slot || void 0,@@ -40158,20 +40171,20 @@ function rye({ props: e, tabsRef: t, collection: n }) {"data-orientation": r,"data-focus-visible": s || void 0,"data-disabled": i.isDisabled || void 0- }, /*#__PURE__*/ b.createElement(DA, { values: [[rN, e], [iN, i]] }, l.children));+ }, /*#__PURE__*/ b.createElement(OA, { values: [[iN, e], [aN, i]] }, l.children));}-var oN = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {- return (0, b.useContext)(iN) ? /*#__PURE__*/ b.createElement(iye, {+var sN = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {+ return (0, b.useContext)(aN) ? /*#__PURE__*/ b.createElement(iye, {props: e,forwardedRef: t}) : /*#__PURE__*/ b.createElement(zy, e);});function iye({ props: e, forwardedRef: t }) {- let n = (0, b.useContext)(iN), { CollectionRoot: r } = (0, b.useContext)(BA), { orientation: i = "horizontal", keyboardActivation: a = "automatic" } = kA(rN), o = Sy(t), { tabListProps: s } = zle({+ let n = (0, b.useContext)(aN), { CollectionRoot: r } = (0, b.useContext)(VA), { orientation: i = "horizontal", keyboardActivation: a = "automatic" } = AA(iN), o = Sy(t), { tabListProps: s } = Rle({...e,orientation: i,keyboardActivation: a- }, n, o), c = OA({+ }, n, o), c = kA({...e,children: null,defaultClassName: "react-aria-TabList",@@ -40180,21 +40193,21 @@ function iye({ props: e, forwardedRef: t }) {state: n}}), l = hb(e, { global: !0 });- return delete l.id, /*#__PURE__*/ b.createElement(PA.div, {+ return delete l.id, /*#__PURE__*/ b.createElement(FA.div, {...gy(l, c, s),ref: o,"data-orientation": i || void 0- }, /*#__PURE__*/ b.createElement(Vj, null, /*#__PURE__*/ b.createElement(r, {+ }, /*#__PURE__*/ b.createElement(Hj, null, /*#__PURE__*/ b.createElement(r, {collection: n.collection,- persistedKeys: VA(n.selectionManager.focusedKey)+ persistedKeys: HA(n.selectionManager.focusedKey)})));}-var sN = /*#__PURE__*/ Fy(class extends z_ {+var cN = /*#__PURE__*/ Fy(class extends z_ {static {this.type = "item";}}, (e, t, n) => {- let r = (0, b.useContext)(iN), i = Sy(t), { tabProps: a, isSelected: o, isDisabled: s, isPressed: c } = Lle({+ let r = (0, b.useContext)(aN), i = Sy(t), { tabProps: a, isSelected: o, isDisabled: s, isPressed: c } = Ile({key: n.key,...e}, r, i), { focusProps: l, isFocused: u, isFocusVisible: d } = Lx(), { hoverProps: f, isHovered: p } = Bx({@@ -40202,7 +40215,7 @@ var sN = /*#__PURE__*/ Fy(class extends z_ {onHoverStart: e.onHoverStart,onHoverEnd: e.onHoverEnd,onHoverChange: e.onHoverChange- }), m = OA({+ }), m = kA({...e,id: void 0,children: n.rendered,@@ -40215,7 +40228,7 @@ var sN = /*#__PURE__*/ Fy(class extends z_ {isPressed: c,isHovered: p}- }), h = n.props.href ? PA.a : PA.div, g = hb(e, { global: !0 });+ }), h = n.props.href ? FA.a : FA.div, g = hb(e, { global: !0 });return delete g.id, delete g.onClick, /*#__PURE__*/ b.createElement(h, {...gy(g, m, a, l, f),ref: i,@@ -40225,11 +40238,11 @@ var sN = /*#__PURE__*/ Fy(class extends z_ {"data-focus-visible": d || void 0,"data-pressed": c || void 0,"data-hovered": p || void 0- }, /*#__PURE__*/ b.createElement(Hj.Provider, { value: { isSelected: o } }, m.children));-}), cN = /*#__PURE__*/ Dy(function(e, t) {- let n = (0, b.useContext)(iN), r = Sy(t), i = n.selectedKey === e.id, [a, o] = (0, b.useState)(n.selectedKey == null ? null : i);+ }, /*#__PURE__*/ b.createElement(Uj.Provider, { value: { isSelected: o } }, m.children));+}), lN = /*#__PURE__*/ Dy(function(e, t) {+ let n = (0, b.useContext)(aN), r = Sy(t), i = n.selectedKey === e.id, [a, o] = (0, b.useState)(n.selectedKey == null ? null : i);a == null && n.selectedKey != null ? o(i) : !i && a && o(!1);- let s = sM(r, i);+ let s = cM(r, i);return !i && !e.shouldForceMount && !s ? null : /*#__PURE__*/ b.createElement(aye, {...e,tabPanelRef: r,@@ -40238,13 +40251,13 @@ var sN = /*#__PURE__*/ Fy(class extends z_ {});});function aye(e) {- let t = (0, b.useContext)(iN), { id: n, tabPanelRef: r, isInitiallySelected: i, isExiting: a, ...o } = e, { tabPanelProps: s } = Ble(e, t, r), { focusProps: c, isFocused: l, isFocusVisible: u } = Lx(), d = t.selectedKey === e.id, f = oM(r) && !i, p = OA({+ let t = (0, b.useContext)(aN), { id: n, tabPanelRef: r, isInitiallySelected: i, isExiting: a, ...o } = e, { tabPanelProps: s } = zle(e, t, r), { focusProps: c, isFocused: l, isFocusVisible: u } = Lx(), d = t.selectedKey === e.id, f = sM(r) && !i, p = kA({...e,defaultClassName: "react-aria-TabPanel",values: {isFocused: l,isFocusVisible: u,- isInert: Wj(!d),+ isInert: Gj(!d),isEntering: f,isExiting: a,state: t@@ -40252,31 +40265,31 @@ function aye(e) {}), m = hb(o, { global: !0 });delete m.id;let h = d ? gy(m, s, c, p) : gy(m, p);- return /*#__PURE__*/ b.createElement(PA.div, {+ return /*#__PURE__*/ b.createElement(FA.div, {...h,ref: r,"data-focused": l || void 0,"data-focus-visible": u || void 0,- inert: Wj(!d || e.inert),+ inert: Gj(!d || e.inert),"data-inert": d ? void 0 : "true","data-entering": f || void 0,"data-exiting": a || void 0- }, /*#__PURE__*/ b.createElement(DA, { values: [[rN, null], [iN, null]] }, /*#__PURE__*/ b.createElement(BA.Provider, { value: RA }, p.children)));+ }, /*#__PURE__*/ b.createElement(OA, { values: [[iN, null], [aN, null]] }, /*#__PURE__*/ b.createElement(VA.Provider, { value: zA }, p.children)));}//#endregion//#region node_modules/react-aria-components/dist/private/TextArea.mjsvar oye = /*#__PURE__*/ (0, b.createContext)({}), sye = /*#__PURE__*/ (0, b.createContext)(null), cye = /*#__PURE__*/ Dy(function(e, t) {- [e, t] = AA(e, t, sye);- let { validationBehavior: n } = kA(YA) || {}, r = e.validationBehavior ?? n ?? "native", i = (0, b.useRef)(null);- [e, i] = AA(e, i, IA);- let [a, o] = jA(!e["aria-label"] && !e["aria-labelledby"]), [s, c] = (0, b.useState)("input"), { labelProps: l, inputProps: u, descriptionProps: d, errorMessageProps: f, ...p } = aoe({- ...MA(e),+ [e, t] = jA(e, t, sye);+ let { validationBehavior: n } = AA(XA) || {}, r = e.validationBehavior ?? n ?? "native", i = (0, b.useRef)(null);+ [e, i] = jA(e, i, LA);+ let [a, o] = MA(!e["aria-label"] && !e["aria-labelledby"]), [s, c] = (0, b.useState)("input"), { labelProps: l, inputProps: u, descriptionProps: d, errorMessageProps: f, ...p } = aoe({+ ...NA(e),inputElementType: s,label: o,validationBehavior: r}, i), m = (0, b.useCallback)((e) => {i.current = e, e && c(e instanceof HTMLTextAreaElement ? "textarea" : "input");- }, [i]), h = OA({+ }, [i]), h = kA({...e,values: {isDisabled: e.isDisabled || !1,@@ -40286,7 +40299,7 @@ var oye = /*#__PURE__*/ (0, b.createContext)({}), sye = /*#__PURE__*/ (0, b.crea},defaultClassName: "react-aria-TextField"}), g = hb(e, { global: !0 });- return delete g.id, /*#__PURE__*/ b.createElement(PA.div, {+ return delete g.id, /*#__PURE__*/ b.createElement(FA.div, {...g,...h,ref: t,@@ -40295,12 +40308,12 @@ var oye = /*#__PURE__*/ (0, b.createContext)({}), sye = /*#__PURE__*/ (0, b.crea"data-invalid": p.isInvalid || void 0,"data-readonly": e.isReadOnly || void 0,"data-required": e.isRequired || void 0- }, /*#__PURE__*/ b.createElement(DA, { values: [- [HA, {+ }, /*#__PURE__*/ b.createElement(OA, { values: [+ [UA, {...l,ref: a}],- [ej, {+ [tj, {...u,ref: m}],@@ -40308,16 +40321,16 @@ var oye = /*#__PURE__*/ (0, b.createContext)({}), sye = /*#__PURE__*/ (0, b.crea...u,ref: m}],- [$A, {+ [ej, {role: "presentation",isInvalid: p.isInvalid,isDisabled: e.isDisabled || !1}],- [qA, { slots: {+ [JA, { slots: {description: d,errorMessage: f} }],- [JA, p]+ [YA, p]] }, h.children));});//#endregion@@ -40326,7 +40339,7 @@ function lye({ isRequired: e = !1, isInvalid: t, tooltip: n, className: r, childreturn /* @__PURE__ */ (0, x.jsxs)(x_e, {"data-label": "true",...a,- className: bk("flex cursor-default items-center gap-0.5", "text-body-medium text-text-primary", r),+ className: xk("flex cursor-default items-center gap-0.5", "text-body-medium text-text-primary", r),children: [i,e && /* @__PURE__ */ (0, x.jsx)("span", {@@ -40347,14 +40360,14 @@ function uye({ isInvalid: e = !1, className: t, ...n }) {return /* @__PURE__ */ (0, x.jsx)(T_e, {slot: e ? "errorMessage" : "description",...n,- className: bk("pt-px text-caption-1-medium text-text-secondary", e && "text-text-error-primary", t)+ className: xk("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 lN = (0, b.createContext)({});-function uN({ size: e = "medium", fieldClassName: t, inputClassName: n, className: r, children: i, ...a }) {- return /* @__PURE__ */ (0, x.jsx)(lN.Provider, {+var uN = (0, b.createContext)({});+function dN({ size: e = "medium", fieldClassName: t, inputClassName: n, className: r, children: i, ...a }) {+ return /* @__PURE__ */ (0, x.jsx)(uN.Provider, {value: {size: e,fieldClassName: t,@@ -40363,13 +40376,13 @@ function uN({ size: e = "medium", fieldClassName: t, inputClassName: n, classNamchildren: /* @__PURE__ */ (0, x.jsx)(cye, {...a,"data-input-size": e,- className: bk("group flex h-max w-full flex-col items-start gap-1", r),+ className: xk("group flex h-max w-full flex-col items-start gap-1", r),children: i})});}-uN.displayName = "TextField";-var dN = xk({+dN.displayName = "TextField";+var fN = Sk({field: ["relative flex w-full items-center","rounded-2lg",@@ -40398,33 +40411,33 @@ var dN = xk({].join(" "),icon: "size-5 shrink-0"});-function fN({ size: e, leadingIcon: t, trailingIcon: n, leadingAddon: r, fieldClassName: i, className: a, ref: o, groupRef: s, ...c }) {- let l = (0, b.useContext)(lN), u = e ?? l.size ?? "medium", d = r != null;+function pN({ size: e, leadingIcon: t, trailingIcon: n, leadingAddon: r, fieldClassName: i, className: a, ref: o, groupRef: s, ...c }) {+ let l = (0, b.useContext)(uN), u = e ?? l.size ?? "medium", d = r != null;return /* @__PURE__ */ (0, x.jsx)(A_e, {ref: s,- className: ({ isFocusWithin: e, isHovered: t, isDisabled: n, isInvalid: r }) => bk(dN.field, d ? dN.fieldWithAddonSize[u] : dN.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 }) => xk(fN.field, d ? fN.fieldWithAddonSize[u] : fN.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, x.jsxs)("div", {- className: dN.content,+ className: fN.content,children: [/* @__PURE__ */ (0, x.jsxs)("div", {- className: dN.leftSection,+ className: fN.leftSection,children: [d ? r : t ? /* @__PURE__ */ (0, x.jsx)(t, {- className: dN.icon,+ className: fN.icon,"aria-hidden": !0}) : null, /* @__PURE__ */ (0, x.jsx)(M_e, {ref: o,...c,- className: bk(dN.input, l.inputClassName, a)+ className: xk(fN.input, l.inputClassName, a)})]}), n ? /* @__PURE__ */ (0, x.jsx)(n, {- className: dN.icon,+ className: fN.icon,"aria-hidden": !0}) : null]})});}-fN.displayName = "InputBase";-function pN({ 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, x.jsx)(uN, {+pN.displayName = "InputBase";+function mN({ 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, x.jsx)(dN, {...d,className: u,"aria-label": d["aria-label"] ?? (!e && typeof r == "string" ? r : void 0),@@ -40435,7 +40448,7 @@ function pN({ label: e, hint: t, tooltip: n, placeholder: r, leadingIcon: i, tratooltip: n,children: e}),- /* @__PURE__ */ (0, x.jsx)(fN, {+ /* @__PURE__ */ (0, x.jsx)(pN, {ref: c,groupRef: l,placeholder: r,@@ -40451,10 +40464,10 @@ function pN({ label: e, hint: t, tooltip: n, placeholder: r, leadingIcon: i, tra] })});}-pN.displayName = "Input";+mN.displayName = "Input";//#endregion//#region src/react/boardui/components/base/avatar/avatar.tsx-var mN = xk({+var hN = Sk({base: "inline-flex shrink-0 select-none items-center justify-center overflow-hidden rounded-full text-center align-middle transition-[width,height,font-size] duration-200 ease",size: {xs: "size-5 text-[10px] leading-[15px] font-semibold",@@ -40472,7 +40485,7 @@ var mN = xk({function dye({ size: e = "md", color: t = "neutral", src: n, alt: r, initials: i, className: a, ref: o, ...s }) {return /* @__PURE__ */ (0, x.jsx)("span", {ref: o,- className: bk(mN.base, mN.size[e], mN.color[t], a),+ className: xk(hN.base, hN.size[e], hN.color[t], a),...s,children: n ? /* @__PURE__ */ (0, x.jsx)("img", {src: n,@@ -40491,9 +40504,9 @@ var fye = {form: "max-w-form-modal",collections: "max-w-4xl"};-function hN({ isOpen: e, onOpenChange: t, width: n, label: r, children: i }) {+function gN({ isOpen: e, onOpenChange: t, width: n, label: r, children: i }) {let { isFocusVisible: a } = Zv();- return /* @__PURE__ */ (0, x.jsx)(DM, {+ return /* @__PURE__ */ (0, x.jsx)(OM, {isOpen: e,onOpenChange: t,isDismissable: !0,@@ -40503,7 +40516,7 @@ function hN({ isOpen: e, onOpenChange: t, width: n, label: r, children: i }) {children: /* @__PURE__ */ (0, x.jsx)(ove, {"data-modal-surface": "",className: `flex max-h-full w-full ${fye[n]} flex-col overflow-hidden rounded-2-5xl border border-separator-border bg-background-full shadow-dropdown`,- children: /* @__PURE__ */ (0, x.jsx)(CM, {+ children: /* @__PURE__ */ (0, x.jsx)(wM, {"aria-label": r,className: "flex min-h-0 flex-col overflow-y-auto overscroll-contain outline-none",children: i@@ -40511,7 +40524,7 @@ function hN({ isOpen: e, onOpenChange: t, width: n, label: r, children: i }) {})});}-function gN({ children: e }) {+function _N({ children: e }) {return /* @__PURE__ */ (0, x.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",@@ -40520,9 +40533,9 @@ function gN({ children: e }) {}//#endregion//#region src/react/components/sprite-glyph.tsx-var pye = { "text-aa": 1.435 }, _N = /* @__PURE__ */ new Map();-function vN(e) {- let t = _N.get(e);+var pye = { "text-aa": 1.435 }, vN = /* @__PURE__ */ new Map();+function yN(e) {+ let t = vN.get(e);if (t) return t;let n = pye[e], r = n ? ({ className: t }) => /* @__PURE__ */ (0, x.jsx)("svg", {"aria-hidden": !0,@@ -40538,29 +40551,29 @@ function vN(e) {className: `shrink-0 stroke-current stroke-2 ${t ?? "size-4"}`,children: /* @__PURE__ */ (0, x.jsx)("use", { href: `#i-${e}` })});- return r.displayName = `SpriteGlyph(${e})`, _N.set(e, r), r;+ return r.displayName = `SpriteGlyph(${e})`, vN.set(e, r), r;}//#endregion//#region src/react/library-shortcuts/library-shortcuts.ts-var yN = ["library-shortcuts"], bN = "/api/library-shortcuts";-function xN(e = !0) {+var bN = ["library-shortcuts"], xN = "/api/library-shortcuts";+function SN(e = !0) {return dt({- queryKey: yN,- queryFn: ({ signal: e }) => V(bN, e),+ queryKey: bN,+ queryFn: ({ signal: e }) => V(xN, e),enabled: e,refetchOnMount: e ? "always" : !1});}-function SN() {+function CN() {return ft({- mutationKey: yN,- mutationFn: (e) => H(bN, e),+ mutationKey: bN,+ mutationFn: (e) => H(xN, e),onSuccess: (e) => {- U.setQueryData(yN, e);+ U.setQueryData(bN, e);}});}-function CN(e, t) {+function wN(e, t) {return e.some((e) => t.entity_id ? e.entity_id === t.entity_id : e.kind === t.kind && e.name === t.name);}function mye(e) {@@ -40568,27 +40581,27 @@ function mye(e) {}//#endregion//#region src/react/library-shortcuts/shortcut-controls.tsx-var wN = vN("star"), TN = {+var TN = yN("star"), EN = {performer: "艺人",creator: "创作者",studio: "片商与厂牌",series: "系列",agency: "事务所",tag: "标签"-}, EN = {- all: vN("star"),- performer: vN("user-round"),- creator: vN("user-round"),- studio: vN("clapperboard"),- series: vN("film"),- agency: vN("briefcase"),- tag: vN("tags")+}, DN = {+ all: yN("star"),+ performer: yN("user-round"),+ creator: yN("user-round"),+ studio: yN("clapperboard"),+ series: yN("film"),+ agency: yN("briefcase"),+ tag: yN("tags")};-function DN({ item: e }) {+function ON({ item: e }) {return /* @__PURE__ */ (0, x.jsx)(hye, { item: e }, `${e.kind}:${e.entity_id}:${e.name}`);}function hye({ item: e }) {- let t = xN(!1), n = (0, b.useRef)(t.data), r = SN(), i = t.data && t.data !== n.current ? CN(t.data.favorites || [], e) : e.favorite ?? (t.data ? CN(t.data.favorites || [], e) : !1);+ let t = SN(!1), n = (0, b.useRef)(t.data), r = CN(), i = t.data && t.data !== n.current ? wN(t.data.favorites || [], e) : e.favorite ?? (t.data ? wN(t.data.favorites || [], e) : !1);return /* @__PURE__ */ (0, x.jsxs)("span", {className: "inline-flex min-w-0 flex-col gap-1",children: [@@ -40609,7 +40622,7 @@ function hye({ item: e }) {children: r.isPending ? /* @__PURE__ */ (0, x.jsx)("span", {"aria-hidden": !0,dangerouslySetInnerHTML: { __html: ao("") }- }) : /* @__PURE__ */ (0, x.jsx)(wN, {})+ }) : /* @__PURE__ */ (0, x.jsx)(TN, {})}),r.isError ? /* @__PURE__ */ (0, x.jsx)(K, {tone: "error",@@ -40624,8 +40637,8 @@ function hye({ item: e }) {]});}-function ON({ currentHref: e, kind: t, glass: n = !1 }) {- let [r, i] = (0, b.useState)(!1), a = (0, b.useRef)(null), o = (0, b.useRef)(null), s = TA(a, o, "[data-shortcuts-trigger]", r);+function kN({ currentHref: e, kind: t, glass: n = !1 }) {+ let [r, i] = (0, b.useState)(!1), a = (0, b.useRef)(null), o = (0, b.useRef)(null), s = EA(a, o, "[data-shortcuts-trigger]", r);return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [n ? /* @__PURE__ */ (0, x.jsxs)("span", {ref: o,"data-shortcuts-entry": "",@@ -40650,7 +40663,7 @@ function ON({ currentHref: e, kind: t, glass: n = !1 }) {"data-shortcuts-trigger": "",onClick: () => i(!0),children: "我的收藏"- }), /* @__PURE__ */ (0, x.jsx)(hN, {+ }), /* @__PURE__ */ (0, x.jsx)(gN, {isOpen: r,onOpenChange: i,width: "collections",@@ -40663,7 +40676,7 @@ function ON({ currentHref: e, kind: t, glass: n = !1 }) {})] });}function gye({ currentHref: e, kind: t, close: n }) {- let r = xN(), i = SN(), [a, o] = (0, b.useState)(""), [s, c] = (0, b.useState)(t || "all"), [l, u] = (0, b.useState)(""), [d, f] = (0, b.useState)(""), p = (t) => {+ let r = SN(), i = CN(), [a, o] = (0, b.useState)(""), [s, c] = (0, b.useState)(t || "all"), [l, u] = (0, b.useState)(""), [d, f] = (0, b.useState)(""), p = (t) => {t.preventDefault(), e && a.trim() && !i.isPending && i.mutate({action: "save_filter",name: a.trim(),@@ -40691,8 +40704,8 @@ function gye({ currentHref: e, kind: t, close: n }) {children: [/* @__PURE__ */ (0, x.jsx)("aside", {"data-shortcuts-categories": "","aria-label": "收藏类型",- children: [["all", "全部"], ...Object.entries(TN)].map(([e, t]) => {- let n = EN[e] || wN, r = (m?.favorites || []).filter((t) => e === "all" || t.kind === e).length;+ children: [["all", "全部"], ...Object.entries(EN)].map(([e, t]) => {+ let n = DN[e] || TN, r = (m?.favorites || []).filter((t) => e === "all" || t.kind === e).length;return /* @__PURE__ */ (0, x.jsxs)("button", {type: "button","aria-label": t,@@ -40718,13 +40731,13 @@ function gye({ currentHref: e, kind: t, close: n }) {/* @__PURE__ */ (0, x.jsxs)("nav", {"aria-label": "收藏作品清单",className: "flex flex-wrap gap-2",- children: [/* @__PURE__ */ (0, x.jsx)(Tk, {+ children: [/* @__PURE__ */ (0, x.jsx)(Ek, {variant: "secondary",size: "small",href: "/flagged",onClick: n,children: "已标记"- }), /* @__PURE__ */ (0, x.jsx)(Tk, {+ }), /* @__PURE__ */ (0, x.jsx)(Ek, {variant: "secondary",size: "small",href: "/watch-later",@@ -40755,16 +40768,16 @@ function gye({ currentHref: e, kind: t, close: n }) {className: "text-body-medium text-text-primary",children: "实体收藏"}),- /* @__PURE__ */ (0, x.jsx)(pN, {+ /* @__PURE__ */ (0, x.jsx)(mN, {"aria-label": "搜索收藏",placeholder: "搜索收藏",- leadingIcon: vN("search"),+ leadingIcon: yN("search"),value: l,onChange: u}),- h.length ? null : /* @__PURE__ */ (0, x.jsx)(Dk, {+ h.length ? null : /* @__PURE__ */ (0, x.jsx)(Ok, {shell: "plain",- icon: wN,+ icon: TN,title: l ? "没有匹配的收藏" : m.favorites.length ? "还没有此类收藏" : "还没有收藏",children: l ? "试试其他名称。" : "在资料页或标签页收藏常用内容。"}),@@ -40785,7 +40798,7 @@ function gye({ currentHref: e, kind: t, close: n }) {children: e.name}), /* @__PURE__ */ (0, x.jsx)("span", {className: "text-caption-1-regular text-text-secondary",- children: TN[e.kind]+ children: EN[e.kind]})]})]}), /* @__PURE__ */ (0, x.jsx)(G, {@@ -40808,9 +40821,9 @@ function gye({ currentHref: e, kind: t, close: n }) {className: "text-body-medium text-text-primary",children: "保存的筛选"}),- m.filters.length ? null : /* @__PURE__ */ (0, x.jsx)(Dk, {+ m.filters.length ? null : /* @__PURE__ */ (0, x.jsx)(Ok, {shell: "plain",- icon: vN("list-filter"),+ icon: yN("list-filter"),title: "还没有保存的筛选",children: "在馆藏页保存当前条件,随时打开。"}),@@ -40841,7 +40854,7 @@ function gye({ currentHref: e, kind: t, close: n }) {className: "flex flex-col gap-3","aria-label": "保存当前筛选",children: [- /* @__PURE__ */ (0, x.jsx)(pN, {+ /* @__PURE__ */ (0, x.jsx)(mN, {label: "筛选名称",value: a,onChange: o,@@ -40867,7 +40880,7 @@ function gye({ currentHref: e, kind: t, close: n }) {});}function _ye({ item: e }) {- let [t, n] = (0, b.useState)(!1), r = EN[e.kind] || wN, i = t ? void 0 : e.image_url;+ let [t, n] = (0, b.useState)(!1), r = DN[e.kind] || TN, i = t ? void 0 : e.image_url;return /* @__PURE__ */ (0, x.jsxs)("span", {"data-shortcuts-avatar": "",title: e.image_label || e.name,@@ -40896,7 +40909,7 @@ var vye = {bounce: 0}};-function kN(e) {+function AN(e) {let [t, n] = (0, b.useState)(null);return (0, b.useLayoutEffect)(() => {if (!t) return;@@ -40954,89 +40967,89 @@ function kN(e) {}//#endregion//#region src/react/components/segmented.tsx-function AN(e) {- let t = kN("selection");- return /* @__PURE__ */ (0, x.jsx)(oN, {+function jN(e) {+ let t = AN("selection");+ return /* @__PURE__ */ (0, x.jsx)(sN, {...e,ref: t});}-function jN(e) {- let t = kN("selection");- return /* @__PURE__ */ (0, x.jsx)(AM, {+function MN(e) {+ let t = AN("selection");+ return /* @__PURE__ */ (0, x.jsx)(jM, {...e,ref: t});}-var MN = "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", NN = "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", yye = "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", PN = "inline-flex w-max max-w-full flex-none items-center gap-0.5 rounded-lg", FN = "relative flex size-7.5 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)", IN = (e) => typeof e == "string" ? e : "", LN = (e) => e.aliases;-function RN(e, t = "") {+var NN = "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", PN = "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", yye = "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", FN = "inline-flex w-max max-w-full flex-none items-center gap-0.5 rounded-lg", IN = "relative flex size-7.5 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)", LN = (e) => typeof e == "string" ? e : "", RN = (e) => e.aliases;+function zN(e, t = "") {let n = Wr(e);return n ? `<img data-follow-site-icon="" src="${n}" alt="${z(t)}"${t ? ` title="${z(t)}"` : ""} loading="lazy" data-drop="self">` : "";}-function zN(e, t = "") {+function BN(e, t = "") {let n = z(ir(t || e)), r = Wr(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 BN = (e) => IN(e.title).trim() || "未命名内容", VN = (e, t) => rr(e, LN(t));-function HN(e) {+var VN = (e) => LN(e.title).trim() || "未命名内容", HN = (e, t) => rr(e, RN(t));+function UN(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 = IN(n.entity_name);+ let n = t[0], r = LN(n.entity_name);return bt("creator", r, n.entity_id), r;}-function UN(e, t) {+function WN(e, t) {let { src: n, fallback: r } = ar(e), i = ir(t);if (!n) return `<span class="favatar none" title="没有可用头像">${z(i)}</span>`;let a = r ? ` data-fallbacks="${z(r)}"` : "";return `<img class="favatar" src="${z(n)}" alt="" loading="lazy" referrerpolicy="no-referrer" data-drop="initial"${a} data-initial="${z(i)}" data-drop-class="favatar none">`;}-function WN(e, t, n) {- let r = LN(n), i = e.credit, a = i?.poster;+function GN(e, t, n) {+ let r = RN(n), i = e.credit, a = i?.poster;if (!a) {let n = rr(t, r);return {- author: n || IN(e.author) || IN(e.source_label) || "创作者未取得",- avatar: UN(t, n),+ author: n || LN(e.author) || LN(e.source_label) || "创作者未取得",+ avatar: WN(t, n),credited: "",- entityName: HN(t)+ entityName: UN(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 && rr(c, r) || a;return {author: l,- avatar: UN(c, l),+ avatar: WN(c, l),credited: i.credited || "",- entityName: HN(c)+ entityName: UN(c)};}-function GN(e, t = e.primary) {+function KN(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 = IN(e.primary.version);+ let i = LN(e.primary.version);i && n.push(r("version", z(i)));- let a = IN(t.audio), o = a === "voiced" ? "配音版" : a === "silent" ? "无声版" : "";+ let a = LN(t.audio), o = a === "voiced" ? "配音版" : a === "silent" ? "无声版" : "";return o && n.push(r(a, o)), n.join("");}-function KN(e, t = e.primary) {+function qN(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]) => RN(e, t) || `<span>${z(t)}</span>`).join("");+ let r = [...n].map(([e, t]) => zN(e, t) || `<span>${z(t)}</span>`).join("");return `<span data-follow-seealso="" title="另见 ${z([...n.values()].join("、"))}"><span data-follow-seealso-label="">另见</span> ${r}</span>`;}-function qN(e, t) {- let n = IN(e.media_error);+function JN(e, t) {+ let n = LN(e.media_error);return n ? `媒体未取得:${n}` : e.media_needs_credential && !t.credentials.has(e.provider) ? e.playable ? "部分媒体未取得:需要 F95 登录会话解析" : "媒体未取得:需要 F95 登录会话解析" : "";}var bye = 864e5, xye = (e, t) => {let n = new Date(/[Zz]|[+-]\d\d:?\d\d$/.test(e) ? e : `${e}Z`).getTime();return Number.isFinite(n) && n - t > bye;};-function JN(e, t) {- let n = IN(e.published_at);+function YN(e, t) {+ let n = LN(e.published_at);if (!n) return null;let r = e.published_precision === "approximate", i = Tn(n);return {@@ -41045,29 +41058,29 @@ function JN(e, t) {suffix: xye(n, t) ? " · 晚于现在" : ""};}-function YN(e, t = Date.now()) {- let n = JN(e, t);+function XN(e, t = Date.now()) {+ let n = YN(e, t);return n ? `${n.prefix}${n.full}${n.suffix}` : "时间未取得";}function Sye(e, t = Date.now()) {- let n = JN(e, t);+ let n = YN(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 XN = /* @__PURE__ */ new Set(), ZN = [], QN = null;-function $N() {- if (QN = null, !ZN.length) return;- let e = ZN.splice(0, 200);+var ZN = /* @__PURE__ */ new Set(), QN = [], $N = null;+function eP() {+ if ($N = null, !QN.length) return;+ let e = QN.splice(0, 200);Dt("/api/follow/image-dims", {method: "POST",body: JSON.stringify({ entries: e })- }).catch(() => {}), ZN.length && (QN = setTimeout($N, 800));+ }).catch(() => {}), QN.length && ($N = setTimeout(eP, 800));}function Cye(e, t, n, r) {let i = `${e}:${t ?? ""}`;- XN.has(i) || (XN.add(i), ZN.push(t === null ? {+ ZN.has(i) || (ZN.add(i), QN.push(t === null ? {item: e,width: n,height: r@@ -41076,11 +41089,11 @@ function Cye(e, t, n, r) {width: n,height: r,media: t- }), QN ||= setTimeout($N, 800));+ }), $N ||= setTimeout(eP, 800));}//#endregion//#region src/react/entity-filter/entity-filter.ts-var wye = (e) => e === "videos", eP = () => /* @__PURE__ */ (0, x.jsx)("span", {+var wye = (e) => e === "videos", tP = () => /* @__PURE__ */ (0, x.jsx)("span", {"data-entity-sep": "","aria-hidden": "true"});@@ -41088,14 +41101,14 @@ function Tye(e) {let { view: t, views: n, state: r, states: i, tags: a, combo: o, actions: s, helpers: c } = e, l = wye(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, b.useRef)(null), h = (0, b.useRef)(null), g = (0, b.useRef)(null), _ = (0, b.useRef)(null), v = (0, b.useRef)(null), y = (0, b.useRef)(null), S = (0, b.useRef)(null), C = TA(m, g, "[data-entity-state][aria-pressed=\"true\"]", `${t}:${f}`), w = TA(h, _, "[data-media-view][aria-pressed=\"true\"]", `${t}:${!!n}`), T = (0, b.useRef)(null), E = (0, b.useRef)(null), D = u?.mediaCounts ? u : null, O = TA(T, E, "[data-media-view][aria-pressed=\"true\"]", `${t}:${u?.media}:${!!D}`);+ })) : i, m = (0, b.useRef)(null), h = (0, b.useRef)(null), g = (0, b.useRef)(null), _ = (0, b.useRef)(null), v = (0, b.useRef)(null), y = (0, b.useRef)(null), S = (0, b.useRef)(null), C = EA(m, g, "[data-entity-state][aria-pressed=\"true\"]", `${t}:${f}`), w = EA(h, _, "[data-media-view][aria-pressed=\"true\"]", `${t}:${!!n}`), T = (0, b.useRef)(null), E = (0, b.useRef)(null), D = u?.mediaCounts ? u : null, O = EA(T, E, "[data-media-view][aria-pressed=\"true\"]", `${t}:${u?.media}:${!!D}`);return (0, b.useEffect)(() => {c.wireDrag(y.current), c.wireScroller(v.current), c.wireDrag(S.current);- }, [c]), /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(tP, {+ }, [c]), /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(nP, {items: o,hidden: !l,actions: s- }), /* @__PURE__ */ (0, x.jsx)(bA, {+ }), /* @__PURE__ */ (0, x.jsx)(xA, {label: "筛选与排序",topLabel: "媒体与标签",attrs: {@@ -41130,13 +41143,13 @@ function Tye(e) {row: _,glide: w,onView: s.setView- }), d ? /* @__PURE__ */ (0, x.jsx)(eP, {}) : null] }) : null,+ }), d ? /* @__PURE__ */ (0, x.jsx)(tP, {}) : null] }) : null,D ? /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(Dye, {head: D,row: E,glide: O,onMedia: s.onlineMedia- }), /* @__PURE__ */ (0, x.jsx)(eP, {})] }) : null,+ }), /* @__PURE__ */ (0, x.jsx)(tP, {})] }) : null,/* @__PURE__ */ (0, x.jsxs)("div", {ref: v,"data-entity-scroll": "",@@ -41157,11 +41170,11 @@ function Tye(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, x.jsx)(eP, {}) : null]+ }, e.k)), !u || u.providers.length || u.tags.length ? /* @__PURE__ */ (0, x.jsx)(tP, {}) : null]}), /* @__PURE__ */ (0, x.jsx)("div", {ref: y,"data-entity-tags": "",- children: l ? a.map((e) => /* @__PURE__ */ (0, x.jsxs)(xA, {+ children: l ? a.map((e) => /* @__PURE__ */ (0, x.jsxs)(SA, {"data-entity-tag": e.k,"data-entity-press": "",pressed: e.selected,@@ -41227,10 +41240,10 @@ function Oye({ head: e, actions: t }) {title: r,"aria-label": `来源:${r}`,onClick: () => t.onlineProvider(n),- dangerouslySetInnerHTML: { __html: RN(n) }+ dangerouslySetInnerHTML: { __html: zN(n) }}, n)),- e.providers.length && e.tags.length ? /* @__PURE__ */ (0, x.jsx)(eP, {}) : null,- e.tags.map((e) => /* @__PURE__ */ (0, x.jsxs)(xA, {+ e.providers.length && e.tags.length ? /* @__PURE__ */ (0, x.jsx)(tP, {}) : null,+ e.tags.map((e) => /* @__PURE__ */ (0, x.jsxs)(SA, {"data-follow-tag": e.k,"data-entity-press": "","data-tag-cat": `r34-${e.cat}`,@@ -41291,7 +41304,7 @@ function kye({ keys: e, view: t, row: n, glide: r, onView: i }) {})});}-function tP({ items: e, hidden: t, actions: n }) {+function nP({ items: e, hidden: t, actions: n }) {return /* @__PURE__ */ (0, x.jsx)("div", {"data-entity-combo": "",hidden: t,@@ -41352,22 +41365,22 @@ function jye({ text: e, busy: t }) {}) : e});}-function nP({ name: e, label: t, value: n, options: r, onChange: i }) {- return /* @__PURE__ */ (0, x.jsx)(AM, {+function rP({ name: e, label: t, value: n, options: r, onChange: i }) {+ return /* @__PURE__ */ (0, x.jsx)(jM, {name: e,"aria-label": t,orientation: "horizontal",value: n,onChange: i,"data-entity-layout": "",- className: PN,+ className: FN,children: r.map(([e, t, n]) => {- let r = vN(n);- return /* @__PURE__ */ (0, x.jsx)(jM, {+ let r = yN(n);+ return /* @__PURE__ */ (0, x.jsx)(MM, {value: e,"aria-label": t,"data-glass-segment": "",- className: FN,+ className: IN,children: /* @__PURE__ */ (0, x.jsx)("span", {title: t,className: "contents",@@ -41377,7 +41390,7 @@ function nP({ name: e, label: t, value: n, options: r, onChange: i }) {})});}-function rP({ onPress: e, busy: t = !1 }) {+function iP({ onPress: e, busy: t = !1 }) {return /* @__PURE__ */ (0, x.jsx)("button", {type: "button","data-entity-batch": "",@@ -41395,23 +41408,23 @@ function Mye({ head: e, actions: t }) {return /* @__PURE__ */ (0, x.jsxs)("span", {"data-entity-sorts": "",children: [- /* @__PURE__ */ (0, x.jsx)(rP, { onPress: () => void t.reshuffle() }),- e.jav ? /* @__PURE__ */ (0, x.jsx)(nP, {+ /* @__PURE__ */ (0, x.jsx)(iP, { onPress: () => void t.reshuffle() }),+ e.jav ? /* @__PURE__ */ (0, x.jsx)(rP, {label: "JAV 卡片版式",value: e.jav.layout,options: e.jav.options,onChange: t.setJavLayout}) : null,- /* @__PURE__ */ (0, x.jsx)(iP, {+ /* @__PURE__ */ (0, x.jsx)(aP, {sorts: e.sorts,onSort: t.setSort})]});}-function iP({ sorts: e, onSort: t }) {+function aP({ sorts: e, onSort: t }) {return /* @__PURE__ */ (0, x.jsx)(x.Fragment, { children: e.map((e) => {- let n = vN(e.dir === "asc" ? "arrow-up" : "arrow-down");+ let n = yN(e.dir === "asc" ? "arrow-up" : "arrow-down");return /* @__PURE__ */ (0, x.jsxs)("button", {type: "button","data-entity-sort": e.key,@@ -41427,8 +41440,8 @@ function Nye({ head: e, actions: t }) {return /* @__PURE__ */ (0, x.jsxs)("span", {"data-entity-sorts": "",children: [- /* @__PURE__ */ (0, x.jsx)(rP, { onPress: t.onlineShuffle }),- e.media === "images" ? /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(nP, {+ /* @__PURE__ */ (0, x.jsx)(iP, { onPress: t.onlineShuffle }),+ e.media === "images" ? /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(rP, {label: "图片布局",value: e.photoLayout,options: e.photoLayouts,@@ -41448,7 +41461,7 @@ function Nye({ head: e, actions: t }) {dangerouslySetInnerHTML: { __html: R("captions-off") }})]})] }) : null,- /* @__PURE__ */ (0, x.jsx)(iP, {+ /* @__PURE__ */ (0, x.jsx)(aP, {sorts: e.sorts,onSort: t.onlineSort})@@ -41462,13 +41475,13 @@ function Pye({ head: e, actions: t, helpers: n }) {}, [n, o]), /* @__PURE__ */ (0, x.jsxs)("span", {"data-entity-sorts": "",children: [- e.shuffle ? /* @__PURE__ */ (0, x.jsx)(rP, {+ e.shuffle ? /* @__PURE__ */ (0, x.jsx)(iP, {onPress: () => {i(!0), t.reshuffle().finally(() => i(!1));},busy: r}) : null,- /* @__PURE__ */ (0, x.jsx)(nP, {+ /* @__PURE__ */ (0, x.jsx)(rP, {label: "图片布局",value: e.layout,options: e.layouts,@@ -41484,7 +41497,7 @@ function Pye({ head: e, actions: t, helpers: n }) {}//#endregion//#region src/react/catalog-filter/catalog-filter-page.tsx-var aP = "";+var oP = "";function Fye(e) {let t = !e.tiers, n = Hye(e.comboHost);return /* @__PURE__ */ (0, x.jsxs)("div", {@@ -41493,7 +41506,7 @@ function Fye(e) {"data-refreshing": e.refreshing || void 0,className: "contents",children: [- n ? (0, mt.createPortal)(/* @__PURE__ */ (0, x.jsx)(tP, {+ n ? (0, mt.createPortal)(/* @__PURE__ */ (0, x.jsx)(nP, {items: e.combo,hidden: e.comboHidden,actions: e.actions@@ -41504,14 +41517,14 @@ function Fye(e) {});}function Iye(e) {- let { actions: t, helpers: n } = e, r = (0, b.useRef)(null), i = (0, b.useRef)(null), a = (0, b.useRef)(null), o = (0, b.useRef)(null), s = (0, b.useRef)(null), c = TA(r, i, "[data-catalog-view][aria-pressed=\"true\"]", e.state);+ let { actions: t, helpers: n } = e, r = (0, b.useRef)(null), i = (0, b.useRef)(null), a = (0, b.useRef)(null), o = (0, b.useRef)(null), s = (0, b.useRef)(null), c = EA(r, i, "[data-catalog-view][aria-pressed=\"true\"]", e.state);(0, b.useEffect)(() => {n.wireDrag(o.current), n.wireScroller(a.current), n.wireDrag(s.current);}, [n]);- let l = !e.tiers, u = sP(o, e.tags, e.tiers?.key ?? "", e.tagFirst);+ let l = !e.tiers, u = cP(o, e.tags, e.tiers?.key ?? "", e.tagFirst);return (0, b.useLayoutEffect)(() => {_o(o.current, "tagbar");- }, [u]), /* @__PURE__ */ (0, x.jsx)(bA, {+ }, [u]), /* @__PURE__ */ (0, x.jsx)(xA, {label: "筛选与排序",topLabel: "视图与标签",attrs: {@@ -41554,7 +41567,7 @@ function Iye(e) {}), /* @__PURE__ */ (0, x.jsxs)("div", {ref: o,"data-catalog-tags": "",- children: [e.empty || l ? /* @__PURE__ */ (0, x.jsx)(oP, { kind: "tag" }) : null, u.map((e) => /* @__PURE__ */ (0, x.jsx)(Lye, {+ children: [e.empty || l ? /* @__PURE__ */ (0, x.jsx)(sP, { kind: "tag" }) : null, u.map((e) => /* @__PURE__ */ (0, x.jsx)(Lye, {tag: e,onPress: t.toggleTag}, e.k))]@@ -41564,7 +41577,7 @@ function Iye(e) {});}function Lye({ tag: e, onPress: t }) {- return /* @__PURE__ */ (0, x.jsxs)(xA, {+ return /* @__PURE__ */ (0, x.jsxs)(SA, {"data-catalog-tag": e.k,"data-entity-press": "",pressed: e.selected,@@ -41580,7 +41593,7 @@ function Rye(e) {key: "",performers: [],studios: []- }, i = e.empty || !e.tiers, a = (0, b.useRef)(null), o = (0, b.useRef)(null), s = (0, b.useCallback)((e) => () => t.moreTops(e), [t]), c = sP(a, r.performers, r.key, 24, i ? void 0 : s("performers")), l = sP(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, b.useRef)(null), o = (0, b.useRef)(null), s = (0, b.useCallback)((e) => () => t.moreTops(e), [t]), c = cP(a, r.performers, r.key, 24, i ? void 0 : s("performers")), l = cP(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, b.useEffect)(() => {n.wireDrag(a.current), n.wireDrag(o.current);}, [@@ -41593,7 +41606,7 @@ function Rye(e) {children: [u ? /* @__PURE__ */ (0, x.jsx)("div", {ref: a,"data-catalog-tier": "performers",- children: i ? /* @__PURE__ */ (0, x.jsx)(oP, { kind: "performer" }) : c.map((e) => /* @__PURE__ */ (0, x.jsxs)("button", {+ children: i ? /* @__PURE__ */ (0, x.jsx)(sP, { kind: "performer" }) : c.map((e) => /* @__PURE__ */ (0, x.jsxs)("button", {type: "button","data-tier-performer": "","data-entity-kind": "performer",@@ -41610,7 +41623,7 @@ function Rye(e) {}) : null, d ? /* @__PURE__ */ (0, x.jsx)("div", {ref: o,"data-catalog-tier": "studios",- children: i ? /* @__PURE__ */ (0, x.jsx)(oP, { kind: "studio" }) : l.map((e) => /* @__PURE__ */ (0, x.jsxs)("button", {+ children: i ? /* @__PURE__ */ (0, x.jsx)(sP, { kind: "studio" }) : l.map((e) => /* @__PURE__ */ (0, x.jsxs)("button", {type: "button","data-tier-studio": "","data-entity-kind": "studio",@@ -41635,7 +41648,7 @@ function zye({ studio: e }) {}) : e.fallback});}-function oP({ kind: e }) {+function sP({ kind: e }) {let t = Array.from({ length: 64 }, (e, t) => t);return e === "tag" ? /* @__PURE__ */ (0, x.jsx)("span", {"data-catalog-placeholder": "tag",@@ -41655,27 +41668,27 @@ function Bye({ count: e, refreshing: t, layout: n, sorts: r, actions: i }) {let [a, o] = (0, b.useState)(!1);return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsxs)("span", {"data-catalog-summary": "",- children: [/* @__PURE__ */ (0, x.jsx)(Vye, { count: e }), /* @__PURE__ */ (0, x.jsx)(ON, {+ children: [/* @__PURE__ */ (0, x.jsx)(Vye, { count: e }), /* @__PURE__ */ (0, x.jsx)(kN, {currentHref: i.currentHref,glass: !0})]}), /* @__PURE__ */ (0, x.jsxs)("span", {"data-entity-sorts": "",children: [- /* @__PURE__ */ (0, x.jsx)(rP, {+ /* @__PURE__ */ (0, x.jsx)(iP, {onPress: () => {o(!0), i.reshuffle().finally(() => o(!1));},busy: a || t}),- n ? /* @__PURE__ */ (0, x.jsx)(nP, {+ n ? /* @__PURE__ */ (0, x.jsx)(rP, {name: n.name,label: n.label,value: n.value,options: n.options,onChange: i.setLayout}, n.name) : null,- /* @__PURE__ */ (0, x.jsx)(iP, {+ /* @__PURE__ */ (0, x.jsx)(aP, {sorts: r,onSort: i.setSort})@@ -41691,7 +41704,7 @@ function Vye({ count: e }) {return;}let i = t.current;- i && (aP && i.dataset.popCount === void 0 && (i.dataset.popCount = aP), aP = r, mo(i, r));+ i && (oP && i.dataset.popCount === void 0 && (i.dataset.popCount = oP), oP = r, mo(i, r));}, [e, r]), e === !1 ? /* @__PURE__ */ (0, x.jsx)("span", { "data-catalog-readout": "" }, "failed") : e ? /* @__PURE__ */ (0, x.jsx)("span", {ref: t,"data-catalog-readout": "",@@ -41717,7 +41730,7 @@ function Hye(e) {};}, [e]), t;}-function sP(e, t, n, r, i) {+function cP(e, t, n, r, i) {let a = () => ({key: n,limit: r,@@ -41757,7 +41770,7 @@ function sP(e, t, n, r, i) {}//#endregion//#region src/react/components/grid-reveal.tsx-function cP(e, t) {+function lP(e, t) {let [n, r] = (0, b.useState)(e ? "skeleton" : "none"), [i] = (0, b.useState)(() => e ? t() : ""), a = (0, b.useRef)(null);return (0, b.useLayoutEffect)(() => {a.current && ko(a.current);@@ -41783,7 +41796,7 @@ function cP(e, t) {fading: n === "fade"};}-function lP({ message: e, onRetry: t }) {+function uP({ message: e, onRetry: t }) {return /* @__PURE__ */ (0, x.jsx)("div", {"data-media-error": "",onClick: (e) => {@@ -41797,7 +41810,7 @@ function lP({ message: e, onRetry: t }) {}//#endregion//#region src/react/components/art-slot.tsx-function uP({ artwork: e, identity: t = e.html, relayout: n }) {+function dP({ artwork: e, identity: t = e.html, relayout: n }) {let [r, i] = (0, b.useState)({identity: t,artwork: e@@ -41830,19 +41843,19 @@ var Uye = ["[role=\"link\"]","[role=\"menu\"]"].join(",");-function dP(e, t) {+function fP(e, t) {let n = e.target;if (!(n instanceof Element) || !t.contains(n)) return !1;let r = n.closest(Uye);return !r || !t.contains(r) || r === t;}-function fP(e) {+function pP(e) {e.shiftKey && e.preventDefault();}//#endregion//#region src/react/components/media-card.tsx-var Wye = 9 / 16, pP = "未命名视频";-function mP({ name: e }) {+var Wye = 9 / 16, mP = "未命名视频";+function hP({ name: e }) {return /* @__PURE__ */ (0, x.jsx)("svg", {viewBox: "0 0 24 24","aria-hidden": "true",@@ -41860,7 +41873,7 @@ var Gye = {duplicate: "重复",missing: "文件缺失"};-function hP({ item: e }) {+function gP({ item: e }) {if (e.disposal !== "trash") return null;let t = e.disposal_reason && Kye[e.disposal_reason] || "原因未记录";return /* @__PURE__ */ (0, x.jsx)("span", {@@ -41869,7 +41882,7 @@ function hP({ item: e }) {children: t});}-function gP({ item: e, actions: t }) {+function _P({ item: e, actions: t }) {let [n, r] = (0, b.useState)(!1), [i, a] = (0, b.useState)(""), o = e.disposal === "trash" ? "restore" : "dispose", s = o === "restore" ? "还原" : "移入回收站";return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)("button", {type: "button",@@ -41888,8 +41901,8 @@ function gP({ item: e, actions: t }) {children: i}) : null] });}-function _P(e, t, n) {- return t === "short" ? Wye : Tw(n);+function vP(e, t, n) {+ return t === "short" ? Wye : Ew(n);}function qye(e) {let { kind: t, name: n, coStarred: r, performers: i, refs: a, total: o } = xa(e), s = i[0] || "", c = sa(e);@@ -41920,7 +41933,7 @@ function qye(e) {"data-media-who": "","data-entity-kind": "performer","data-entity-name": s,- children: [/* @__PURE__ */ (0, x.jsx)(mP, { name: "user-round" }), /* @__PURE__ */ (0, x.jsx)("span", { children: s })]+ children: [/* @__PURE__ */ (0, x.jsx)(hP, { name: "user-round" }), /* @__PURE__ */ (0, x.jsx)("span", { children: s })]}), /* @__PURE__ */ (0, x.jsx)("span", {"data-media-who-more": "",children: `等 ${o} 人`@@ -41929,12 +41942,12 @@ function qye(e) {"data-media-who": "","data-entity-kind": t,"data-entity-name": n,- children: [/* @__PURE__ */ (0, x.jsx)(mP, { name: "user-round" }), /* @__PURE__ */ (0, x.jsx)("span", { children: n })]+ children: [/* @__PURE__ */ (0, x.jsx)(hP, { name: "user-round" }), /* @__PURE__ */ (0, x.jsx)("span", { children: n })]}) : /* @__PURE__ */ (0, x.jsxs)("button", {type: "button","data-media-who": "","data-open-unowned": "",- children: [/* @__PURE__ */ (0, x.jsx)(mP, { name: "user-round" }), /* @__PURE__ */ (0, x.jsx)("span", { children: n })]+ children: [/* @__PURE__ */ (0, x.jsx)(hP, { name: "user-round" }), /* @__PURE__ */ (0, x.jsx)("span", { children: n })]})};}@@ -41975,11 +41988,11 @@ function Yye({ item: e, actions: t }) {},"aria-busy": i || void 0,"aria-disabled": i || void 0,- children: /* @__PURE__ */ (0, x.jsx)(mP, { name: o ? "check" : "bookmark-plus" })+ children: /* @__PURE__ */ (0, x.jsx)(hP, { name: o ? "check" : "bookmark-plus" })})});}-function vP(e, t) {+function yP(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)));}@@ -41989,7 +42002,7 @@ function Xye({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekSlet d = (0, b.useCallback)((e) => {let t = u.current;l.current && l.current !== e && $s(l.current), l.current = e, e && (!t.medium || t.medium === "video") && tc(e, t);- }, []), f = e.part_group || null, p = e.edition_group || null, m = !!(f || p), h = n.active && e.is_jav ? n.size : "small", g = _a(e, h, !1, n.javImage), _ = h === "small" ? g.html : _a(e, "small", !1, n.javImage).html, v = f?.title || e.name || "", y = o.displayName(e, v).trim() || pP, S = o.titleHtml(e, v).trim() || z(pP), C = f?.total_size ?? e.size, w = f?.total_duration ?? e.duration, T = !f && Number(e.play_seconds) > 0 && Number(e.duration) > 0 ? Math.min(Number(e.play_seconds) / Number(e.duration), 1) : 0, { avatar: E, who: D } = qye(e), O = (e.follow_tags || e.tags || []).slice(0, 3), k = [+ }, []), f = e.part_group || null, p = e.edition_group || null, m = !!(f || p), h = n.active && e.is_jav ? n.size : "small", g = _a(e, h, !1, n.javImage), _ = h === "small" ? g.html : _a(e, "small", !1, n.javImage).html, v = f?.title || e.name || "", y = o.displayName(e, v).trim() || mP, S = o.titleHtml(e, v).trim() || z(mP), C = f?.total_size ?? e.size, w = f?.total_duration ?? e.duration, T = !f && Number(e.play_seconds) > 0 && Number(e.duration) > 0 ? Math.min(Number(e.play_seconds) / Number(e.duration), 1) : 0, { avatar: E, who: D } = qye(e), O = (e.follow_tags || e.tags || []).slice(0, 3), k = [e.feedback === "dislike" && "dislike",e.feedback === "seen" && "seen",e.watch_later && "later"@@ -42018,9 +42031,9 @@ function Xye({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekSu && r.contains(u) ? s.toggleTag(u.dataset.tag || "") : c(e, r);}, j = /* @__PURE__ */ (0, x.jsxs)("div", {"data-media-pic": "",- style: { "--card-ratio": String(_P(e, t, n)) },+ style: { "--card-ratio": String(vP(e, t, n)) },children: [- g.html ? /* @__PURE__ */ (0, x.jsx)(uP, {+ g.html ? /* @__PURE__ */ (0, x.jsx)(dP, {artwork: g,identity: _,relayout: (e) => Gs(e, h)@@ -42034,11 +42047,11 @@ function Xye({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekS}),/* @__PURE__ */ (0, x.jsx)("span", {"data-media-check": "",- children: /* @__PURE__ */ (0, x.jsx)(mP, { name: "check" })+ children: /* @__PURE__ */ (0, x.jsx)(hP, { name: "check" })}),/* @__PURE__ */ (0, x.jsxs)("span", {"data-media-trash-mark": "",- children: [/* @__PURE__ */ (0, x.jsx)(mP, { name: "trash" }), /* @__PURE__ */ (0, x.jsx)("b", { children: "回收站" })]+ children: [/* @__PURE__ */ (0, x.jsx)(hP, { name: "trash" }), /* @__PURE__ */ (0, x.jsx)("b", { children: "回收站" })]}),f && !p ? /* @__PURE__ */ (0, x.jsx)("span", {"data-media-group": "",@@ -42053,7 +42066,7 @@ function Xye({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekS"data-media-duration": "",children: Xt(w)}),- e.disposal === "trash" ? /* @__PURE__ */ (0, x.jsx)(gP, {+ e.disposal === "trash" ? /* @__PURE__ */ (0, x.jsx)(_P, {item: e,actions: s}) : null,@@ -42080,27 +42093,27 @@ function Xye({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekS/* @__PURE__ */ (0, x.jsx)("button", {type: "button",onClick: (e) => {- e.stopPropagation(), vP(l.current, -a);+ e.stopPropagation(), yP(l.current, -a);},title: `后退 ${a} 秒`,"aria-label": `后退 ${a} 秒`,- children: /* @__PURE__ */ (0, x.jsx)(mP, { name: "rotate-ccw" })+ children: /* @__PURE__ */ (0, x.jsx)(hP, { name: "rotate-ccw" })}),/* @__PURE__ */ (0, x.jsx)("button", {type: "button",onClick: (e) => {- e.stopPropagation(), vP(l.current, a);+ e.stopPropagation(), yP(l.current, a);},title: `前进 ${a} 秒`,"aria-label": `前进 ${a} 秒`,- children: /* @__PURE__ */ (0, x.jsx)(mP, { name: "rotate-cw" })+ children: /* @__PURE__ */ (0, x.jsx)(hP, { name: "rotate-cw" })}),/* @__PURE__ */ (0, x.jsx)("button", {type: "button","data-open": "",title: "打开详情","aria-label": "打开详情",- children: /* @__PURE__ */ (0, x.jsx)(mP, { name: "expand" })+ children: /* @__PURE__ */ (0, x.jsx)(hP, { name: "expand" })})]})@@ -42117,7 +42130,7 @@ function Xye({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekS"data-pending-delete": e.disposal === "trash" ? "" : void 0,"data-selected": r ? "" : void 0,onClick: A,- onMouseDown: fP,+ onMouseDown: pP,children: [/* @__PURE__ */ (0, x.jsx)("button", {type: "button",@@ -42155,11 +42168,11 @@ function Xye({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekSe.is_jav && e.release_date ? /* @__PURE__ */ (0, x.jsxs)("time", {"data-media-release": "",dateTime: e.release_date,- children: [/* @__PURE__ */ (0, x.jsx)(mP, { name: "calendar" }), e.release_date]+ children: [/* @__PURE__ */ (0, x.jsx)(hP, { name: "calendar" }), e.release_date]}) : null,/* @__PURE__ */ (0, x.jsxs)("span", {"data-media-size": "",- children: [/* @__PURE__ */ (0, x.jsx)(mP, { name: "hard-drive" }), Number(C) > 0 ? Qt(Number(C)) : "大小未知"]+ children: [/* @__PURE__ */ (0, x.jsx)(hP, { name: "hard-drive" }), Number(C) > 0 ? Qt(Number(C)) : "大小未知"]}),e.play_count ? /* @__PURE__ */ (0, x.jsx)("span", {"data-media-watch-count": "",@@ -42181,7 +42194,7 @@ function Xye({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekSchildren: o.tagLabel(t)}, t))}) : null,- /* @__PURE__ */ (0, x.jsx)(hP, { item: e })+ /* @__PURE__ */ (0, x.jsx)(gP, { item: e })]})]})@@ -42201,14 +42214,14 @@ function Zye({ item: e, selected: t, selectMode: n, helpers: r, actions: i, onOponClick: (t) => {o.current && (n || t.shiftKey || t.ctrlKey || t.metaKey ? (t.preventDefault(), i.toggleSelection(e.id, t.shiftKey)) : a(e, o.current));},- onMouseDown: fP,+ onMouseDown: pP,children: [/* @__PURE__ */ (0, x.jsxs)("div", {"data-media-pic": "",style: { "--card-ratio": "1.7777777777777777" },children: [/* @__PURE__ */ (0, x.jsxs)("span", {"data-media-glyph": "",- children: [/* @__PURE__ */ (0, x.jsx)(mP, { name: u }), /* @__PURE__ */ (0, x.jsx)("b", { children: l })]+ children: [/* @__PURE__ */ (0, x.jsx)(hP, { name: u }), /* @__PURE__ */ (0, x.jsx)("b", { children: l })]}),s ? /* @__PURE__ */ (0, x.jsx)("span", {"data-media-art": "thumb",@@ -42220,13 +42233,13 @@ function Zye({ item: e, selected: t, selectMode: n, helpers: r, actions: i, onOp}),/* @__PURE__ */ (0, x.jsx)("span", {"data-media-check": "",- children: /* @__PURE__ */ (0, x.jsx)(mP, { name: "check" })+ children: /* @__PURE__ */ (0, x.jsx)(hP, { name: "check" })}),/* @__PURE__ */ (0, x.jsxs)("span", {"data-media-trash-mark": "",- children: [/* @__PURE__ */ (0, x.jsx)(mP, { name: "trash" }), /* @__PURE__ */ (0, x.jsx)("b", { children: "回收站" })]+ children: [/* @__PURE__ */ (0, x.jsx)(hP, { name: "trash" }), /* @__PURE__ */ (0, x.jsx)("b", { children: "回收站" })]}),- /* @__PURE__ */ (0, x.jsx)(gP, {+ /* @__PURE__ */ (0, x.jsx)(_P, {item: e,actions: i})@@ -42237,7 +42250,7 @@ function Zye({ item: e, selected: t, selectMode: n, helpers: r, actions: i, onOp"data-media-avatar": "","data-media-kind-glyph": "","aria-hidden": "true",- children: /* @__PURE__ */ (0, x.jsx)(mP, { name: u })+ children: /* @__PURE__ */ (0, x.jsx)(hP, { name: u })}), /* @__PURE__ */ (0, x.jsxs)("div", {"data-media-text": "",children: [@@ -42265,7 +42278,7 @@ function Zye({ item: e, selected: t, selectMode: n, helpers: r, actions: i, onOp]}),e.disposal === "trash" ? /* @__PURE__ */ (0, x.jsx)("div", { "data-media-tags": "" }) : null,- /* @__PURE__ */ (0, x.jsx)(hP, { item: e })+ /* @__PURE__ */ (0, x.jsx)(gP, { item: e })]})]})]@@ -42274,7 +42287,7 @@ function Zye({ item: e, selected: t, selectMode: n, helpers: r, actions: i, onOpfunction Qye(e) {return e.variant === "resource" ? /* @__PURE__ */ (0, x.jsx)(Zye, { ...e }) : /* @__PURE__ */ (0, x.jsx)(Xye, { ...e });}-var yP = (0, b.memo)(Qye), $ye = 1100, ebe = 340, tbe = 5e3;+var bP = (0, b.memo)(Qye), $ye = 1100, ebe = 340, tbe = 5e3;function nbe(e, t, n) {return new Promise((r) => {let i = new Image();@@ -42287,7 +42300,7 @@ function nbe(e, t, n) {}, i.src = e;});}-function bP({ load: e, canFlip: t, referrerPolicy: n }) {+function xP({ load: e, canFlip: t, referrerPolicy: n }) {let [r, i] = (0, b.useState)([]), [a, o] = (0, b.useState)(0), [s, c] = (0, b.useState)(null), l = (0, b.useRef)({live: !1,generation: 0,@@ -42353,7 +42366,7 @@ function bP({ load: e, canFlip: t, referrerPolicy: n }) {}//#endregion//#region src/react/components/mix-card.tsx-var xP = vN("play");+var SP = yN("play");function rbe({ src: e }) {let [t, n] = (0, b.useState)(!1);return t ? null : /* @__PURE__ */ (0, x.jsx)("img", {@@ -42367,7 +42380,7 @@ function rbe({ src: e }) {className: "absolute inset-0 block size-full object-contain"});}-var SP = "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";+var CP = "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 ibe({ faces: e, fallback: t, onOpenEntity: n }) {return e.length ? /* @__PURE__ */ (0, x.jsx)("div", {"data-mix-avatars": "",@@ -42376,18 +42389,18 @@ function ibe({ faces: e, fallback: t, onOpenEntity: n }) {title: `打开资料页:${e.name}`,"aria-label": `打开资料页:${e.name}`,onClick: () => n(e.kind, e.name),- className: `${SP} cursor-pointer outline-none`,+ className: `${CP} cursor-pointer outline-none`,dangerouslySetInnerHTML: { __html: la(e.name, e, qi(e.name), e.kind) }}, `${e.kind}:${e.id}`))}) : /* @__PURE__ */ (0, x.jsx)("span", {"data-mix-initial": "","aria-hidden": !0,- className: `${SP} mt-0.5`,+ className: `${CP} mt-0.5`,children: t});}-function CP({ 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 S = bP({+function wP({ 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 S = xP({load: i,canFlip: a}), C = (0, b.useRef)(S.onPointerLeave);@@ -42414,7 +42427,7 @@ function CP({ 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, x.jsx)(uP, {+ f?.html ? /* @__PURE__ */ (0, x.jsx)(dP, {artwork: f,identity: p,relayout: m@@ -42448,7 +42461,7 @@ function CP({ name: e, caption: t, count: n, poster: r, flipImages: i, canFlip:/* @__PURE__ */ (0, x.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, x.jsx)(xP, {+ children: [/* @__PURE__ */ (0, x.jsx)(SP, {"aria-hidden": !0,className: "size-3.75"}), g ?? `${n.toLocaleString()} 个视频`]@@ -42461,7 +42474,7 @@ function CP({ name: e, caption: t, count: n, poster: r, flipImages: i, canFlip:_ ? /* @__PURE__ */ (0, x.jsx)("span", {"data-mix-glyph": "","aria-hidden": !0,- children: /* @__PURE__ */ (0, x.jsx)(xP, {})+ children: /* @__PURE__ */ (0, x.jsx)(SP, {})}) : /* @__PURE__ */ (0, x.jsx)(ibe, {faces: o,fallback: nn(e),@@ -46047,7 +46060,7 @@ var abe = [}]]-], wP = [+], TP = [[{x: 0,@@ -46344,85 +46357,85 @@ var abe = [rows: 2}]-], TP = (e) => e.map((e) => ({+], EP = (e) => e.map((e) => ({...e,x: 12 - e.x - e.cols-})), EP = (e) => e.map((e) => ({+})), DP = (e) => e.map((e) => ({...e,y: 8 - e.y - e.rows-})), DP = [+})), OP = [(e) => e,- TP,EP,- (e) => TP(EP(e))-], OP = wP.flatMap((e) => DP.map((t) => t(e))), obe = abe.flatMap((e) => DP.map((t) => e.map(t)));-OP.length;+ DP,+ (e) => EP(DP(e))+], kP = TP.flatMap((e) => OP.map((t) => t(e))), obe = abe.flatMap((e) => OP.map((t) => e.map(t)));+kP.length;var sbe = (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;-}, kP = (e, t) => {- let n = wP.length;- return ((e + t * 2) % n + n) % n * DP.length + sbe(e, t) % DP.length;-}, cbe = (e, t) => OP[kP(e, t)], lbe = (e, t, n) => n < 0 || n >= 12 ? null : obe[kP(e, t)][n], AP = 103.36, jP = 6.08, MP = 12 * AP, NP = 8 * AP, PP = 12, FP = (e, t) => (e % t + t) % t, ube = (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 IP(e, t) {- let n = Math.max(1, Math.ceil(e / PP)), r = t ? 3 : Math.min(3, n);+}, AP = (e, t) => {+ let n = TP.length;+ return ((e + t * 2) % n + n) % n * OP.length + sbe(e, t) % OP.length;+}, cbe = (e, t) => kP[AP(e, t)], lbe = (e, t, n) => n < 0 || n >= 12 ? null : obe[AP(e, t)][n], jP = 103.36, MP = 6.08, NP = 12 * jP, PP = 8 * jP, FP = 12, IP = (e, t) => (e % t + t) % t, ube = (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 LP(e, t) {+ let n = Math.max(1, Math.ceil(e / FP)), r = t ? 3 : Math.min(3, n);return {columns: r,- width: r * MP,- height: Math.ceil(n / r) * NP+ width: r * NP,+ height: Math.ceil(n / r) * PP};}-function LP(e, t, n) {+function RP(e, t, n) {let { x: r, y: i, cols: a, rows: o } = cbe(e, t)[n];return {- x: e * MP + r * AP,- y: t * NP + i * AP,- width: a * AP - jP,- height: o * AP - jP+ x: e * NP + r * jP,+ y: t * PP + i * jP,+ width: a * jP - MP,+ height: o * jP - MP};}function dbe(e) {return (!e.medium || e.medium === "video") && !!e.has_cover && !!(e.cover_key || e.code);}-function RP(e, t, n) {+function zP(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 >= PP) return null;- let o = IP(e, t), s = o.height / NP;+ ].every(Number.isInteger) || a < 0 || a >= FP) return null;+ let o = LP(e, t), s = o.height / PP;if (t && (r < 0 || r >= o.columns || i < 0 || i >= s)) return null;- let c = t ? r : FP(r, o.columns), l = ((t ? i : FP(i, s)) * o.columns + c) * PP + a;+ let c = t ? r : IP(r, o.columns), l = ((t ? i : IP(i, s)) * o.columns + c) * FP + a;return t && l >= e ? null : {- ...LP(r, i, a),+ ...RP(r, i, a),index: l % e,key: n};}function fbe(e, t) {if (t < 0 || t >= e) return null;- let n = Math.floor(t / PP);- return RP(e, !0, `${n % 3}:${Math.floor(n / 3)}:${t % PP}`);+ let n = Math.floor(t / FP);+ return zP(e, !0, `${n % 3}:${Math.floor(n / 3)}:${t % FP}`);}-function zP(e, t, n) {+function BP(e, t, n) {let [r, i, a] = n.key.split(":").map(Number), o = lbe(r, i, a);return new Map((o || []).map((e, t) => [`${r}:${i}:${t}`, {- x: r * MP + e.x * AP,- y: i * NP + e.y * AP,- width: e.cols * AP - jP,- height: e.rows * AP - jP+ x: r * NP + e.x * jP,+ y: i * PP + e.y * jP,+ width: e.cols * jP - MP,+ height: e.rows * jP - MP}]));}function pbe(e) {let t = 0, n = 0;for (let r = Math.max(0, e - 36); r < e; r += 1) {- let e = Math.floor(r / PP), i = LP(e % 3, Math.floor(e / 3), r % PP);+ let e = Math.floor(r / FP), i = RP(e % 3, Math.floor(e / 3), r % FP);t = Math.max(t, i.x + i.width), n = Math.max(n, i.y + i.height);}return {- width: e >= 36 ? 3 * MP - jP : t,+ width: e >= 36 ? 3 * NP - MP : t,height: n};}@@ -46442,14 +46455,14 @@ function hbe(e, t, n, r) {y: -n.y / n.scale - i,width: r.width / n.scale + i * 2,height: r.height / n.scale + i * 2- }, o = IP(e, t), s = o.height / NP, c = [];- for (let n = Math.floor(a.y / NP); n <= Math.floor((a.y + a.height) / NP); n += 1) for (let r = Math.floor(a.x / MP); r <= Math.floor((a.x + a.width) / MP); r += 1) {+ }, o = LP(e, t), s = o.height / PP, c = [];+ for (let n = Math.floor(a.y / PP); n <= Math.floor((a.y + a.height) / PP); n += 1) for (let r = Math.floor(a.x / NP); r <= Math.floor((a.x + a.width) / NP); r += 1) {if (t && (r < 0 || r >= o.columns || n < 0 || n >= s)) continue;- let i = t ? r : FP(r, o.columns), l = t ? n : FP(n, s);- for (let s = 0; s < PP; s += 1) {- let u = (l * o.columns + i) * PP + s;+ let i = t ? r : IP(r, o.columns), l = t ? n : IP(n, s);+ for (let s = 0; s < FP; s += 1) {+ let u = (l * o.columns + i) * FP + s;if (t && u >= e) continue;- let d = LP(r, n, s);+ let d = RP(r, n, s);ube(d, a) && c.push({...d,index: u % e,@@ -46471,7 +46484,7 @@ var gbe = class {this.cursor = e;}tile(e, t) {- let n = this.positions.get(e), r = n === void 0 ? null : RP(t, !1, e);+ let n = this.positions.get(e), r = n === void 0 ? null : zP(t, !1, e);return r ? {...r,index: n@@ -46501,7 +46514,7 @@ var gbe = class {let e = 0;for (let t of this.positions.keys()) e = Math.max(e, Number(t.split(":")[0]));return {- x: (e + 2) * MP,+ x: (e + 2) * NP,y: 0};}@@ -46514,7 +46527,7 @@ var gbe = class {c < i && (r = s, i = c);}if (r) return r;- let a = this.fresh(), o = `${Math.round(a.x / MP)}:0:0`;+ let a = this.fresh(), o = `${Math.round(a.x / NP)}:0:0`;return this.positions.set(o, t), this.used.add(t), this.tile(o, e);}};@@ -46537,12 +46550,12 @@ function _be(e = {}) {}//#endregion//#region src/react/video-wall/use-wall-camera.ts-var BP = {+var VP = {x: 16,y: 16,scale: 1};-function vbe(e, t, n = BP, r = !1) {+function vbe(e, t, n = VP, r = !1) {let i = (0, b.useRef)(null), a = (0, b.useRef)(null), o = (0, b.useRef)({width: 0,height: 0@@ -46662,7 +46675,7 @@ function vbe(e, t, n = BP, r = !1) {},snapshot: () => ({ ...s.current }),reset: () => {- g(), _({ ...BP }, !0);+ g(), _({ ...VP }, !0);},pan: (e, t) => {g(), _({@@ -46899,7 +46912,7 @@ function Sbe({ item: e, playing: t, frame: n, starting: r, pendingGroup: i, grou}//#endregion//#region src/react/components/mix-queue.tsx-function VP({ kind: e, title: t, summary: n, onClose: r, actions: i, listRef: a, children: o, ...s }) {+function HP({ kind: e, title: t, summary: n, onClose: r, actions: i, listRef: a, children: o, ...s }) {let c = (0, b.useRef)(null), l = (0, b.useCallback)((e) => {c.current = e, typeof a == "function" ? a(e) : a && (a.current = e);}, [a]);@@ -46935,7 +46948,7 @@ function VP({ kind: e, title: t, summary: n, onClose: r, actions: i, listRef: a,})]});}-function HP({ current: e, pic: t, lead: n, after: r, row: i, children: a, ...o }) {+function UP({ current: e, pic: t, lead: n, after: r, row: i, children: a, ...o }) {let s = /* @__PURE__ */ (0, x.jsx)("span", {"data-mix-item-text": "",children: a@@ -46972,24 +46985,24 @@ function wbe({ items: e, activeId: t, kind: n, label: r, choose: i, close: a })return /* @__PURE__ */ (0, x.jsx)("div", {"data-wall-queue": "",id: "wall-queue",- children: /* @__PURE__ */ (0, x.jsx)(VP, {+ children: /* @__PURE__ */ (0, x.jsx)(HP, {kind: n,title: n === "parts" ? "分卷" : n === "editions" ? "版本" : "作品",summary: `${e.length} 个视频`,onClose: a,- children: e.map((e) => /* @__PURE__ */ (0, x.jsxs)(HP, {+ children: e.map((e) => /* @__PURE__ */ (0, x.jsxs)(UP, {current: e.id === t,"data-wall-source": e.id,"aria-label": [e.edition_label,- e.part_label ? YT(e.part_label) : "",+ e.part_label ? XT(e.part_label) : "",r(e)].filter(Boolean).join(" · "),onClick: () => i(e),- pic: /* @__PURE__ */ (0, x.jsx)(uP, { artwork: _a(e, "small", !0, "cover") }),+ pic: /* @__PURE__ */ (0, x.jsx)(dP, { artwork: _a(e, "small", !0, "cover") }),children: [/* @__PURE__ */ (0, x.jsx)("b", { children: r(e) }), /* @__PURE__ */ (0, x.jsx)("span", { children: [e.edition_label,- e.part_label ? YT(e.part_label) : "",+ e.part_label ? XT(e.part_label) : "",Xt(e.duration)].filter(Boolean).join(" · ") })]}, e.id))@@ -47013,13 +47026,13 @@ function Tbe(e = `${location.pathname}${location.search}`, t = {}) {}return s.set("returnTo", `${n.pathname}${n.search}`), `/wall?${s}`;}-function UP() {- let e = new URLSearchParams(NO.navigation.location.search).get("returnTo") || "/";- NO.replace(e.startsWith("/") && !e.startsWith("//") && !e.startsWith("/wall") ? e : "/");+function WP() {+ let e = new URLSearchParams(PO.navigation.location.search).get("returnTo") || "/";+ PO.replace(e.startsWith("/") && !e.startsWith("//") && !e.startsWith("/wall") ? e : "/");}//#endregion//#region src/react/video-wall/video-wall.tsx-var WP = /* @__PURE__ */ new Map(), GP = (0, b.memo)(function({ item: e, image: t, big: n = !1, ratio: r = 1 }) {+var GP = /* @__PURE__ */ new Map(), KP = (0, b.memo)(function({ item: e, image: t, big: n = !1, ratio: r = 1 }) {let i = _a(!e.is_jav && t === "thumbnail" && e.has_thumb ? {...e,has_cover: !1@@ -47032,7 +47045,7 @@ var WP = /* @__PURE__ */ new Map(), GP = (0, b.memo)(function({ item: e, image:ref: a,"data-media-pic": "",style: { "--card-ratio": String(r) },- children: /* @__PURE__ */ (0, x.jsx)(uP, {+ children: /* @__PURE__ */ (0, x.jsx)(dP, {artwork: i,relayout: (e) => e.querySelectorAll("img.cover").forEach((e) => {e.complete && e.naturalWidth && Ms(e);@@ -47042,7 +47055,7 @@ var WP = /* @__PURE__ */ new Map(), GP = (0, b.memo)(function({ item: e, image:});function Ebe({ 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, b.useState)(() => {- let e = WP.get(f);+ let e = GP.get(f);return e && (i || t || e.pool === p) ? e : void 0;}), [h] = (0, b.useState)(() => m?.exploration || new gbe()), g = (0, b.useRef)(!1), [_, v] = (0, b.useState)(null), y = (0, b.useRef)(null), S = (0, b.useRef)(null), C = (0, b.useRef)(null), w = (0, b.useRef)(null), T = (0, b.useRef)(null), [E, D] = (0, b.useState)(() => e.find((e) => e.id === m?.selectedId) || null), [O, k] = (0, b.useState)(m?.selectedKey || ""), [A, j] = (0, b.useState)(m?.sourceId || null), [M, N] = (0, b.useState)(!1), P = E?.edition_group ? {kind: "editions",@@ -47051,16 +47064,16 @@ function Ebe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:kind: "parts",seedId: E.part_group.seed_id} : null, ee = dt({- queryKey: DT(P || {+ queryKey: OT(P || {kind: "parts",seedId: 0}),enabled: !!P,- queryFn: ({ signal: e }) => IT(P, {+ queryFn: ({ signal: e }) => LT(P, {tagLabel: u.tagLabel,mixRelated: async () => []}, e)- }), F = P ? ee.data : void 0, te = F?.items.find((e) => e.id === zT(F, A || E?.id || null)) || E, I = vbe(e.length, t && !!e.length, m?.camera || {+ }), F = P ? ee.data : void 0, te = F?.items.find((e) => e.id === BT(F, A || E?.id || null)) || E, I = vbe(e.length, t && !!e.length, m?.camera || {x: 0,y: 0,scale: innerWidth < 640 ? .68 : 1@@ -47081,7 +47094,7 @@ function Ebe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:(0, b.useLayoutEffect)(() => {document.body.append(Se), I.viewport.current?.focus({ preventScroll: !0 });}, [Se]), (0, b.useEffect)(() => () => Se.remove(), [Se]);- let [Ce, we] = (0, b.useState)(() => aO(NO.navigation.location.pathname)), [Te, Ee] = (0, b.useState)(m?.image || d), De = (0, b.useRef)(null), Oe = (0, b.useRef)(p), ke = (0, b.useRef)(!!e.length);+ let [Ce, we] = (0, b.useState)(() => oO(PO.navigation.location.pathname)), [Te, Ee] = (0, b.useState)(m?.image || d), De = (0, b.useRef)(null), Oe = (0, b.useRef)(p), ke = (0, b.useRef)(!!e.length);ke.current = !!e.length;let Ae = (0, b.useRef)({selectedId: E?.id || null,@@ -47098,17 +47111,17 @@ function Ebe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:pool: p};let je = () => {- ke.current && (WP.delete(f), WP.set(f, {+ ke.current && (GP.delete(f), GP.set(f, {...Ae.current,camera: I.snapshot(),exploration: h- }), WP.size > 8 && WP.delete(WP.keys().next().value));+ }), GP.size > 8 && GP.delete(GP.keys().next().value));};(0, b.useLayoutEffect)(je);let Me = hbe(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 = E && (t ? RP(e.length, !0, O) : h.tile(O, e.length)), Fe = Pe ? zP(e.length, t, Pe) : /* @__PURE__ */ new Map();+ })) : t ? Me : h.assign(Me, e.length, n), Pe = E && (t ? zP(e.length, !0, O) : h.tile(O, e.length)), Fe = Pe ? BP(e.length, t, Pe) : /* @__PURE__ */ new Map();Pe && !Ne.some((e) => e.key === Pe.key) && Ne.push(Pe);let Ie = (e = !1) => {T.current?.abort(), T.current = null, w.current?.(e), w.current = null, se(null), de(!1);@@ -47125,8 +47138,8 @@ function Ebe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:t,p,i- ]), (0, b.useEffect)(() => NO.listen((e) => {- let t = aO(e.location.pathname);+ ]), (0, b.useEffect)(() => PO.listen((e) => {+ let t = oO(e.location.pathname);t && (T.current?.abort(), w.current?.(!0), w.current = null, se(null), de(!1)), we(t);}), []), (0, b.useEffect)(() => () => {T.current?.abort(), w.current?.(!0), je();@@ -47147,7 +47160,7 @@ function Ebe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:E?.id !== n.id && Ie(!1), De.current = {key: r.key,id: n.id- }, pe(""), le(null), D(n), k(r.key), j(null), N(!1), xe(!1), I.reveal(zP(e.length, t, r).get(r.key) || r, i, !0), i || requestAnimationFrame(() => y.current?.querySelector("[data-wall-play]")?.focus({ preventScroll: !0 }));+ }, pe(""), le(null), D(n), k(r.key), j(null), N(!1), xe(!1), I.reveal(BP(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) => {@@ -47169,7 +47182,7 @@ function Ebe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:T.current === t && de(!1);}}, Ve = () => {- let e = BT(F || null, oe || 0);+ let e = VT(F || null, oe || 0);e && (j(e.id), Be(e));};(0, b.useEffect)(() => {@@ -47283,7 +47296,7 @@ function Ebe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:/* @__PURE__ */ (0, x.jsx)("div", {"data-wall-focus-backdrop": "","aria-hidden": "true",- children: /* @__PURE__ */ (0, x.jsx)(GP, {+ children: /* @__PURE__ */ (0, x.jsx)(KP, {item: E,image: Te,big: !0@@ -47291,7 +47304,7 @@ function Ebe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:}),/* @__PURE__ */ (0, x.jsx)("div", {"data-wall-scene": "",- children: /* @__PURE__ */ (0, x.jsx)(GP, {+ children: /* @__PURE__ */ (0, x.jsx)(KP, {item: E,image: Te,big: !0@@ -47320,7 +47333,7 @@ function Ebe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:}),Xe.code ? /* @__PURE__ */ (0, x.jsx)("strong", { children: Ye(Xe).startsWith(Xe.code) ? Ye(Xe).slice(Xe.code.length).trim() : Ye(Xe) }) : null,/* @__PURE__ */ (0, x.jsx)("span", { children: Xe.performers?.join(" · ") || Xe.creator || "未归属" }),- F ? /* @__PURE__ */ (0, x.jsx)("small", { children: [Xe.edition_label, Xe.part_label ? YT(Xe.part_label) : ""].filter(Boolean).join(" · ") }) : null+ F ? /* @__PURE__ */ (0, x.jsx)("small", { children: [Xe.edition_label, Xe.part_label ? XT(Xe.part_label) : ""].filter(Boolean).join(" · ") }) : null]}),/* @__PURE__ */ (0, x.jsx)("button", {@@ -47385,7 +47398,7 @@ function Ebe({ 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) : E ? Le() : be ? xe(!1) : UP());+ e.key !== "Escape" || e.defaultPrevented || (e.preventDefault(), e.stopPropagation(), M ? N(!1) : E ? Le() : be ? xe(!1) : WP());},children: [/* @__PURE__ */ (0, x.jsx)("button", {@@ -47393,7 +47406,7 @@ function Ebe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:"data-wall-back": "","aria-label": "退出播放墙",title: "返回",- onClick: UP,+ onClick: WP,children: /* @__PURE__ */ (0, x.jsx)("svg", {viewBox: "0 0 24 24","aria-hidden": "true",@@ -47408,7 +47421,7 @@ function Ebe({ 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(), NO.push(`/wall?${t}`), xe(!1);+ n ? t.set("q", n) : t.delete("q"), je(), PO.push(`/wall?${t}`), xe(!1);},children: [/* @__PURE__ */ (0, x.jsx)("svg", {viewBox: "0 0 24 24",@@ -47422,18 +47435,18 @@ function Ebe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:defaultValue: new URLSearchParams(location.search).get("q") || ""})]}),- /* @__PURE__ */ (0, x.jsxs)(jN, {+ /* @__PURE__ */ (0, x.jsxs)(MN, {"aria-label": "播放墙图片",value: Te,onChange: Ee,- className: MN,- children: [/* @__PURE__ */ (0, x.jsx)(jM, {+ className: NN,+ children: [/* @__PURE__ */ (0, x.jsx)(MM, {value: "cover",- className: NN,+ className: PN,children: "封面"- }), /* @__PURE__ */ (0, x.jsx)(jM, {+ }), /* @__PURE__ */ (0, x.jsx)(MM, {value: "thumbnail",- className: NN,+ className: PN,children: "缩略图"})]}),@@ -47558,7 +47571,7 @@ function Ebe({ 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, x.jsxs)(x.Fragment, { children: [- /* @__PURE__ */ (0, x.jsx)(GP, {+ /* @__PURE__ */ (0, x.jsx)(KP, {item: n,image: Te,ratio: i.width / i.height@@ -47612,7 +47625,7 @@ function Ebe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:}) : null,!t && (n || e.length > 0) ? /* @__PURE__ */ (0, x.jsx)("div", {"data-wall-refresh": "",- children: /* @__PURE__ */ (0, x.jsx)(rP, {+ children: /* @__PURE__ */ (0, x.jsx)(iP, {busy: r,onPress: () => void qe()})@@ -47659,9 +47672,9 @@ function Ebe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:}//#endregion//#region src/react/catalog-grid/catalog-grid-page.tsx-function KP(e) {+function qP(e) {if (e.mode === "items") return /* @__PURE__ */ (0, x.jsx)(Obe, { ...e });- let t = e.mode === "entity" ? `entity:${e.entityKey || ""}:${e.revision}` : `catalog:${xT(e.filters || {}, !!e.excludeVertical)}:${e.batchSize || 60}:${e.revision}`;+ let t = e.mode === "entity" ? `entity:${e.entityKey || ""}:${e.revision}` : `catalog:${ST(e.filters || {}, !!e.excludeVertical)}:${e.batchSize || 60}:${e.revision}`;return /* @__PURE__ */ (0, x.jsx)(kbe, { ...e }, t);}function Dbe({ name: e }) {@@ -47672,7 +47685,7 @@ function Dbe({ name: e }) {});}function Obe(e) {- let { actions: t } = e, n = (0, b.useCallback)((e, n) => t.open(e, n), [t]), r = e.variant === "next" ? "next" : "grid", i = (e.items || []).map((i) => /* @__PURE__ */ (0, x.jsx)(yP, {+ let { actions: t } = e, n = (0, b.useCallback)((e, n) => t.open(e, n), [t]), r = e.variant === "next" ? "next" : "grid", i = (e.items || []).map((i) => /* @__PURE__ */ (0, x.jsx)(bP, {item: i,variant: r,layout: e.layout,@@ -47693,7 +47706,7 @@ function Obe(e) {});}function kbe(e) {- let { helpers: t, actions: n, layout: r } = e, i = e.mode === "entity", a = !i && e.filters?.state === "trash", o = i ? qde(e) : ST(e), [s] = (0, b.useState)(() => e.wall ? Yde(o.queryKey) : void 0), c = s || (i && e.initial ? {+ let { helpers: t, actions: n, layout: r } = e, i = e.mode === "entity", a = !i && e.filters?.state === "trash", o = i ? Kde(e) : CT(e), [s] = (0, b.useState)(() => e.wall ? Jde(o.queryKey) : void 0), c = s || (i && e.initial ? {pages: [{...e.initial,items: e.initial.items || [],@@ -47714,7 +47727,7 @@ function kbe(e) {(0, b.useEffect)(() => {l.isPending || u.current || (u.current = !0, e.settled?.(e.revision));}, [l.isPending]);- let { tiles: d, pageStarts: f } = (0, b.useMemo)(() => Qde(l.data?.pages || [], {+ let { tiles: d, pageStarts: f } = (0, b.useMemo)(() => Zde(l.data?.pages || [], {collapse: e.groupCollapse !== !1,mix: !!e.mix && !a,javImage: r.javImage@@ -47724,7 +47737,7 @@ function kbe(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 || _be(e.filters), g = !a && !e.selectMode && !!n.wallPlayer && !!n.wallDetails, _ = d.flatMap((e) => e.kind === "card" && dbe(e.item) ? [e.item] : []), v = cP(l.isPending, e.skeletonHtml), y = (0, b.useRef)(null), S = Abe(e, l.data, d, f, y);+ ]), p = d.reduce((e, t) => e + +(t.kind === "card"), 0), m = Number(l.data?.pages[0]?.total || 0), h = i || _be(e.filters), g = !a && !e.selectMode && !!n.wallPlayer && !!n.wallDetails, _ = d.flatMap((e) => e.kind === "card" && dbe(e.item) ? [e.item] : []), v = lP(l.isPending, e.skeletonHtml), y = (0, b.useRef)(null), S = Abe(e, l.data, d, f, y);(0, b.useLayoutEffect)(() => {if (!l.data) return;let t = !0;@@ -47756,7 +47769,7 @@ function kbe(e) {layout: r,helpers: t,actions: n- }, `mix:${i.seed.id}`) : /* @__PURE__ */ (0, x.jsx)(yP, {+ }, `mix:${i.seed.id}`) : /* @__PURE__ */ (0, x.jsx)(bP, {item: i.item,variant: a && i.item.medium && i.item.medium !== "video" ? "resource" : "grid",layout: r,@@ -47773,7 +47786,7 @@ function kbe(e) {"data-grid-reveal": v.fading ? "" : void 0,children: [!e.wall && v.layer, (() => {if (g && e.wall) return /* @__PURE__ */ (0, x.jsx)(Ebe, {- sessionKey: i ? `entity:${e.entityKey || ""}` : `catalog:${xT(e.filters || {}, !!e.excludeVertical)}`,+ sessionKey: i ? `entity:${e.entityKey || ""}` : `catalog:${ST(e.filters || {}, !!e.excludeVertical)}`,items: _,finite: h,hasMore: !!l.hasNextPage,@@ -47791,7 +47804,7 @@ function kbe(e) {javImage: r.javImage}, h ? "finite" : "explore");if (l.isPending) return null;- if (!l.data) return /* @__PURE__ */ (0, x.jsx)(lP, {+ if (!l.data) return /* @__PURE__ */ (0, x.jsx)(uP, {message: Et(l.error),onRetry: () => void l.refetch()});@@ -47808,7 +47821,7 @@ function kbe(e) {return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)("div", {"data-media-sections": "","data-select-mode": e.selectMode ? "" : void 0,- children: tfe(d, S).map((t) => /* @__PURE__ */ (0, x.jsxs)(b.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)("div", {+ children: efe(d, S).map((t) => /* @__PURE__ */ (0, x.jsxs)(b.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)("div", {"data-media-grid": "",children: t.tiles.map(O)}), t.strip ? /* @__PURE__ */ (0, x.jsx)(jbe, {@@ -47816,7 +47829,7 @@ function kbe(e) {props: e,onOpen: E}) : null] }, t.start))- }), l.hasNextPage ? /* @__PURE__ */ (0, x.jsx)(qP, {+ }), l.hasNextPage ? /* @__PURE__ */ (0, x.jsx)(JP, {entity: i,load: D,enabled: () => e.canLoadMore?.() !== !1@@ -47824,7 +47837,7 @@ function kbe(e) {})()]});}-function qP({ entity: e, load: t, enabled: n, children: r }) {+function JP({ entity: e, load: t, enabled: n, children: r }) {let i = (0, b.useRef)(null), a = (0, b.useRef)(!1), o = (0, b.useRef)(!1), [s, c] = (0, b.useState)({busy: !1,error: ""@@ -47886,7 +47899,7 @@ function qP({ entity: e, load: t, enabled: n, children: r }) {hidden: !!s.error,onClick: () => void u(!0),dangerouslySetInnerHTML: { __html: oo("继续载入中…") }- }), s.error ? /* @__PURE__ */ (0, x.jsx)(lP, {+ }), s.error ? /* @__PURE__ */ (0, x.jsx)(uP, {message: s.error,onRetry: () => void u(!0)}) : null] });@@ -47900,7 +47913,7 @@ function Abe(e, t, n, r, i) {let r = new AbortController();d.current.push(r);let i = n - 1;- V(`/api/items?${efe(e.filters || {}, l.current)}`, r.signal).then((e) => {+ V(`/api/items?${$de(e.filters || {}, l.current)}`, r.signal).then((e) => {let t = e.items || [];t.length ? c({page: i,@@ -47912,7 +47925,7 @@ function Abe(e, t, n, r, i) {}, [t]), (0, b.useLayoutEffect)(() => {if (!s) return;c(null);- let e = a.reduce((e, t) => Math.max(e, t.at), 0), t = i.current?.querySelectorAll("[data-media-sections] > [data-media-grid]"), u = t?.[t.length - 1], d = u ? Math.max(1, getComputedStyle(u).gridTemplateColumns.split(" ").length) : 1, f = Math.max(0, (r[s.page] ?? 0) - e), p = $de(n.length - e, f, d);+ let e = a.reduce((e, t) => Math.max(e, t.at), 0), t = i.current?.querySelectorAll("[data-media-sections] > [data-media-grid]"), u = t?.[t.length - 1], d = u ? Math.max(1, getComputedStyle(u).gridTemplateColumns.split(" ").length) : 1, f = Math.max(0, (r[s.page] ?? 0) - e), p = Qde(n.length - e, f, d);if (!p.length) return;let m = e + (p[Math.floor(Math.random() * p.length)] ?? 0);l.current = s.more ? l.current + 18 : 0, o((e) => [...e, {@@ -47943,7 +47956,7 @@ function jbe({ cut: e, props: t, onOpen: n }) {] }), /* @__PURE__ */ (0, x.jsx)("div", {ref: r,"data-shorts-row": "",- children: e.items.map((e) => /* @__PURE__ */ (0, x.jsx)(yP, {+ children: e.items.map((e) => /* @__PURE__ */ (0, x.jsx)(bP, {item: e,variant: "short",layout: t.layout,@@ -47957,17 +47970,17 @@ function jbe({ cut: e, props: t, onOpen: n }) {})]});}-function JP(e, t, n) {+function YP(e, t, n) {return va(e, t.active && e.is_jav ? t.size : "small", n, t.javImage);}function Mbe({ seed: e, layout: t, helpers: n, actions: r }) {let i = (0, b.useRef)(/* @__PURE__ */ new Map()), a = (0, b.useRef)(t);a.current = t;let o = Ca(e, n.tagLabel), s = (0, b.useCallback)(async () => {- let t = a.current, n = [e, ...await r.mixRelated(e.id)].filter((e) => CT(e, t.javImage)).slice(0, 9);- return i.current = new Map(n.map((e) => [String(e.id), JP(e, t, !0).html])), n.map((e) => String(e.id));- }, [e, r]), c = t.active && e.is_jav ? t.size : "small", l = JP(e, t, !1);- return /* @__PURE__ */ (0, x.jsx)(CP, {+ let t = a.current, n = [e, ...await r.mixRelated(e.id)].filter((e) => wT(e, t.javImage)).slice(0, 9);+ return i.current = new Map(n.map((e) => [String(e.id), YP(e, t, !0).html])), n.map((e) => String(e.id));+ }, [e, r]), c = t.active && e.is_jav ? t.size : "small", l = YP(e, t, !1);+ return /* @__PURE__ */ (0, x.jsx)(wP, {"data-mix-seed": String(e.id),name: `Mix · ${o}`,caption: `${n.displayName(e, e.name || "")}及相似作品`,@@ -47977,12 +47990,12 @@ function Mbe({ seed: e, layout: t, helpers: n, actions: r }) {wholeCard: !0,poster: null,artwork: l,- artworkIdentity: c === "small" ? l.html : JP(e, {+ artworkIdentity: c === "small" ? l.html : YP(e, {...t,size: "small"}, !1).html,relayoutArt: (e) => Gs(e, c),- ratio: _P(e, "grid", t),+ ratio: vP(e, "grid", t),flipImages: s,faceHtml: (e) => i.current.get(e) || "",canFlip: r.canFlip,@@ -47994,7 +48007,7 @@ function Mbe({ seed: e, layout: t, helpers: n, actions: r }) {}//#endregion//#region src/react/media-sources.ts-async function YP(e) {+async function XP(e) {await U.fetchQuery({queryKey: xn,queryFn: () => Sn(e)@@ -48004,7 +48017,7 @@ var Nbe = ["local","115","pikpak"-], Pbe = (e) => (e?.sources ?? []).filter((e) => ["115", "pikpak"].includes(e.location) && (e.roots === void 0 || e.roots.length > 0)).map((e) => e.location), Fbe = "/api/duplicates?limit=120", XP = ["duplicates"], ZP = "/api/batch", QP = (e) => V(Fbe, e), Ibe = /[\s\-_.()[\]【】/\\]/;+], Pbe = (e) => (e?.sources ?? []).filter((e) => ["115", "pikpak"].includes(e.location) && (e.roots === void 0 || e.roots.length > 0)).map((e) => e.location), Fbe = "/api/duplicates?limit=120", ZP = ["duplicates"], QP = "/api/batch", $P = (e) => V(Fbe, e), Ibe = /[\s\-_.()[\]【】/\\]/;function Lbe(e) {if (e.length < 2) return "";let t = 0, n = e[0];@@ -48017,17 +48030,17 @@ function Lbe(e) {var Rbe = (e, t) => t && e.startsWith(t) && e.length > t.length ? `…${e.slice(t.length)}` : e;async function zbe(e) {await Promise.all([U.fetchQuery({- queryKey: XP,- queryFn: () => QP(e)- }), YP(e)]);+ queryKey: ZP,+ queryFn: () => $P(e)+ }), XP(e)]);}-var $P = {+var eF = {largest: "最大的一个",longest: "最长的一个",115: "115(没有则留最大)",pikpak: "PikPak(没有则留最大)",all: "零个文件"-}, Bbe = (e, t) => t.filter((t) => e.some((e) => e.location === t)), eF = (e, t) => Bbe(e, t).filter((t) => e.some((e) => e.location !== t)), Vbe = (e, t) => t.filter((t) => e.some((e) => eF(e.files, [t]).length));+}, Bbe = (e, t) => t.filter((t) => e.some((e) => e.location === t)), tF = (e, t) => Bbe(e, t).filter((t) => e.some((e) => e.location !== t)), Vbe = (e, t) => t.filter((t) => e.some((e) => tF(e.files, [t]).length));function Hbe(e, t) {let n = [];for (let r of e) {@@ -48051,8 +48064,8 @@ function Ube(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 tF(e, t) {- for (let n = 0; n < e.length; n += 200) await H(ZP, {+async function nF(e, t) {+ for (let n = 0; n < e.length; n += 200) await H(QP, {ids: e.slice(n, n + 200),operation: t,...t === "dispose" ? { disposal_reason: "duplicate" } : {}@@ -48060,14 +48073,14 @@ async function tF(e, t) {}//#endregion//#region src/react/library-processing/library-processing.ts-var nF = "/api/library-processing", rF = ["library-processing"], iF = (e) => V(nF, e);-async function aF(e) {+var rF = "/api/library-processing", iF = ["library-processing"], aF = (e) => V(rF, e);+async function oF(e) {await U.fetchQuery({- queryKey: rF,- queryFn: () => iF(e)+ queryKey: iF,+ queryFn: () => aF(e)});}-var Wbe = 2e3, Gbe = 1e4, oF = "连接中断,正在重新读取处理进度";+var Wbe = 2e3, Gbe = 1e4, sF = "连接中断,正在重新读取处理进度";function Kbe(e, t) {return e?.status === "running" ? Wbe : t ? Gbe : !1;}@@ -48076,16 +48089,16 @@ var qbe = {querying_metadata: "查询外部资料",fetching_cover: "采集缺失封面",writing_candidates: "保存资料候选"-}, sF = {+}, cF = {querying_metadata: "没有资料",fetching_cover: "没有封面"};function Jbe(e) {- let t = Object.entries(e).filter(([e, t]) => sF[e] && t > 0).map(([e, t]) => `${sF[e]} ${t.toLocaleString()} 部`);+ let t = Object.entries(e).filter(([e, t]) => cF[e] && t > 0).map(([e, t]) => `${cF[e]} ${t.toLocaleString()} 部`);return t.length ? `外部来源${t.join("、")},7 天内不再问。` : "";}-function cF(e) {- let t = qbe[e.current_action || ""] || e.stage || "正在处理", n = e.waited_seconds ? ` · 已等待 ${nA(e.waited_seconds)}` : "";+function lF(e) {+ let t = qbe[e.current_action || ""] || e.stage || "正在处理", n = e.waited_seconds ? ` · 已等待 ${rA(e.waited_seconds)}` : "";return e.current_asset_name ? `当前:${e.current_asset_name} · ${t}${n}` : t + n;}function Ybe(e) {@@ -48102,21 +48115,21 @@ function Ybe(e) {log: e.issues_log || ""} : null;}-var lF = "peach.library-processing.announced", Xbe = 120;+var uF = "peach.library-processing.announced", Xbe = 120;function Zbe(e, t, n) {if (e.status !== "complete") return;let r = !!e.job_id && !!e.completed_at && Date.now() / 1e3 - e.completed_at < Xbe;if (n || r) {try {- if (e.job_id && localStorage.getItem(lF) === e.job_id) return;- e.job_id && localStorage.setItem(lF, e.job_id);+ if (e.job_id && localStorage.getItem(uF) === e.job_id) return;+ e.job_id && localStorage.setItem(uF, e.job_id);} catch {}t(`扫描与资料采集已完成:识别 ${e.identified || 0} 个番号,整理 ${e.candidates || 0} 组资料候选,自动落库 ${e.auto_applied || 0} 条`);}}//#endregion//#region src/react/media-repair/media-repair.ts-var uF = "/api/media-repair", dF = ["media-repair"], fF = ["media-repair", "libraries"], Qbe = {+var dF = "/api/media-repair", fF = ["media-repair"], pF = ["media-repair", "libraries"], Qbe = {status: "idle",library: "",stage: "",@@ -48128,41 +48141,41 @@ var uF = "/api/media-repair", dF = ["media-repair"], fF = ["media-repair", "librmissing_tool: 0,skipped: 0,message: ""-}, pF = (e) => V(uF, e), mF = async (e) => (await V("/api/libraries", e)).libraries || [];+}, mF = (e) => V(dF, e), hF = async (e) => (await V("/api/libraries", e)).libraries || [];async function $be(e) {await Promise.all([U.fetchQuery({- queryKey: dF,- queryFn: () => pF(e)- }), U.fetchQuery({queryKey: fF,queryFn: () => mF(e)+ }), U.fetchQuery({+ queryKey: pF,+ queryFn: () => hF(e)})]);}-var hF = (e) => Number(e).toLocaleString();+var gF = (e) => Number(e).toLocaleString();function exe(e) {if (e.status === "running") {- let t = e.total ? `${hF(Math.min(e.checked || 0, e.total))} / ${hF(e.total)}` : "准备中";+ let t = e.total ? `${gF(Math.min(e.checked || 0, e.total))} / ${gF(e.total)}` : "准备中";return e.stage === "修复" && e.message ? `修复 ${t} · ${e.message}` : `${e.stage || "扫描"} ${t}`;}- return e.status === "complete" && (e.repaired || e.failed) ? e.failed ? `修好 ${hF(e.repaired)} 部,${hF(e.failed)} 部修不了` : `修好 ${hF(e.repaired)} 部` : "";+ return e.status === "complete" && (e.repaired || e.failed) ? e.failed ? `修好 ${gF(e.repaired)} 部,${gF(e.failed)} 部修不了` : `修好 ${gF(e.repaired)} 部` : "";}-var txe = (e) => `${hF(e.missing_tool)} 部缺索引的片子要装上 untrunc 才修得了,下载入口在配置页的「运行信息」里。`, nxe = "/api/quality-goals?limit=200", gF = ["quality-goals"], _F = (e) => V(nxe, e);+var txe = (e) => `${gF(e.missing_tool)} 部缺索引的片子要装上 untrunc 才修得了,下载入口在配置页的「运行信息」里。`, nxe = "/api/quality-goals?limit=200", _F = ["quality-goals"], vF = (e) => V(nxe, e);async function rxe(e) {await U.fetchQuery({- queryKey: gF,- queryFn: () => _F(e)+ queryKey: _F,+ queryFn: () => vF(e)});}-var vF = (e) => e.has_cover ? ia(e) : `/poster?id=${e.id}&c=4`;+var yF = (e) => e.has_cover ? ia(e) : `/poster?id=${e.id}&c=4`;//#endregion//#region src/selection.ts-function yF(e, t, n, r, i, a = i || !e.has(r)) {+function bF(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 ixe = "/api/review", axe = "/api/review/decision", oxe = "/api/review/genre", bF = ["review"], xF = {+var ixe = "/api/review", axe = "/api/review/decision", oxe = "/api/review/genre", xF = ["review"], SF = {metadata_fields: "元数据字段",creator_tags: "创作者标签",studio_logos: "厂牌 Logo",@@ -48172,7 +48185,7 @@ var ixe = "/api/review", axe = "/api/review/decision", oxe = "/api/review/genre"fc2_markings: "FC2 评论标记",fc2_similarity: "FC2 跨号相似",video_endcards: "片尾/出处证据"-}, sxe = Object.keys(xF), cxe = "metadata_fields", SF = (e) => typeof e == "string" && Object.hasOwn(xF, e), lxe = {+}, sxe = Object.keys(SF), cxe = "metadata_fields", CF = (e) => typeof e == "string" && Object.hasOwn(SF, e), lxe = {creator_tags: "creator",western_identity: "creator"};@@ -48180,7 +48193,7 @@ function uxe(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 CF(e, t) {+function wF(e, t) {let n = /* @__PURE__ */ new Map();for (let r of e) {let e, i;@@ -48198,7 +48211,7 @@ function CF(e, t) {return [...n.values()];}function dxe(e, t, n) {- return n && CF(e, t).find((e) => e.key === n)?.rows || e;+ return n && wF(e, t).find((e) => e.key === n)?.rows || e;}function fxe(e, t) {let n = vn(e.length, 20), r = yn(t, n);@@ -48212,17 +48225,17 @@ function pxe(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 mxe(e, t, n, r, i, a) {- return yF(e, t, n, r, i, a);+ return bF(e, t, n, r, i, a);}-function wF(e, t) {+function TF(e, t) {return e === "metadata_fields" ? (t.candidates?.length || 0) > 0 : e !== "creator_tags" || String(t.status || "").trim() === "candidate";}-function TF(e, t) {+function EF(e, t) {return String(e === "metadata_fields" ? t.query || t.code || "" : t.creator || t.studio || t.current_name || t.name || t.item_key);}-var EF = (e, t) => e === "metadata_fields" ? String(t.field_label || t.field || "").trim() : "";+var DF = (e, t) => e === "metadata_fields" ? String(t.field_label || t.field || "").trim() : "";function hxe(e, t) {- let n = TF(e, t), r = EF(e, t);+ let n = EF(e, t), r = DF(e, t);return r ? `${n} · ${r}` : n;}var gxe = (e) => e.reason || e.evidence || e.note || e.decision_note || "", _xe = (e) => String(e.tags || "").split("|").filter(Boolean), vxe = (e) => [...new Set((e.candidates || []).flatMap((e) => e.unmapped_genres || []))];@@ -48233,7 +48246,7 @@ function yxe(e) {assets: (e.preview_assets || []).map((e) => e.id)};}-function DF(e, t, n, r) {+function OF(e, t, n, r) {let i = !!t.asset_path && t.asset_mutation_revision != null;return {category: e,@@ -48249,19 +48262,19 @@ function DF(e, t, n, r) {...i ? { expected_revision: t.asset_mutation_revision } : {}};}-var bxe = (e) => e === "approved" ? "已通过候选" : e === "rejected" ? "已拒绝候选" : "已跳过候选", OF = (e) => V(ixe, e), kF = (e) => H(axe, e), xxe = (e, t) => H(oxe, {+var bxe = (e) => e === "approved" ? "已通过候选" : e === "rejected" ? "已拒绝候选" : "已跳过候选", kF = (e) => V(ixe, e), AF = (e) => H(axe, e), xxe = (e, t) => H(oxe, {genre: e,tag: t});async function Sxe(e) {await U.fetchQuery({- queryKey: bF,- queryFn: () => OF(e)+ queryKey: xF,+ queryFn: () => kF(e)});}-function AF(e, t) {+function jF(e, t) {let n = new Set(t);- n.size && U.setQueryData(bF, (t) => {+ n.size && U.setQueryData(xF, (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 : {@@ -48278,7 +48291,7 @@ function AF(e, t) {});}var Cxe = () => U.invalidateQueries({- queryKey: bF,+ queryKey: xF,exact: !0});function wxe(e, t) {@@ -48286,67 +48299,67 @@ function wxe(e, t) {}//#endregion//#region src/react/data-cleanup/links.ts-var Txe = "/api/links", jF = "/api/links/check", MF = "/api/links/prune", NF = ["links"], PF = ["links", "check"], FF = ["links", "prune"], IF = {+var Txe = "/api/links", MF = "/api/links/check", NF = "/api/links/prune", PF = ["links"], FF = ["links", "check"], IF = ["links", "prune"], LF = {official: "官网/事务所",social: "社交账号",catalog: "作品资料站",source_reference: "资料出处"};-async function LF(e) {+async function RF(e) {let t = await e;if (t.ok === !1) throw Error(t.error || "操作未完成,请重试");return t;}-var RF = (e) => V(Txe, e), zF = (e) => H(jF, { status_only: !0 }, "POST", e), Exe = ({ retry: e, checkId: t }) => LF(H(jF, e ? {+var zF = (e) => V(Txe, e), BF = (e) => H(MF, { status_only: !0 }, "POST", e), Exe = ({ retry: e, checkId: t }) => RF(H(MF, e ? {retry: e,check_id: t-} : { restart: !0 })), BF = (e) => V(MF, e), Dxe = (e) => LF(H(MF, {+} : { restart: !0 })), VF = (e) => V(NF, e), Dxe = (e) => RF(H(NF, {confirm: !0,check_id: e,background: !0-})), VF = (e) => Number(e || 0).toLocaleString(), Oxe = (e) => `已删除 ${VF(e.removed)} 条;${e.marked ? `已隐退女优的 ${VF(e.marked)} 条留作不可点的记录;` : ""}保留 ${VF(e.recovered)} 条未确认失效的链接。`;+})), HF = (e) => Number(e || 0).toLocaleString(), Oxe = (e) => `已删除 ${HF(e.removed)} 条;${e.marked ? `已隐退女优的 ${HF(e.marked)} 条留作不可点的记录;` : ""}保留 ${HF(e.recovered)} 条未确认失效的链接。`;function kxe(e) {let t = e.scope === "retry";- return e.total ? `${t ? "已重验" : "已检查"} ${VF(e.checked)} / ${VF(e.total)} 条链接` : t ? "正在重验链接" : "正在检查链接";+ return e.total ? `${t ? "已重验" : "已检查"} ${HF(e.checked)} / ${HF(e.total)} 条链接` : t ? "正在重验链接" : "正在检查链接";}//#endregion//#region src/react/settings-panel/settings-data.ts-var HF = "/api/settings", UF = "/api/follow/schedule", WF = "/api/thumbnail-jobs", GF = ["settings"], KF = ["follow-schedule"], qF = ["thumbnail-jobs"], JF = (e) => V(HF, e), Axe = (e) => V(UF, e), jxe = (e) => V(WF, e);+var UF = "/api/settings", WF = "/api/follow/schedule", GF = "/api/thumbnail-jobs", KF = ["settings"], qF = ["follow-schedule"], JF = ["thumbnail-jobs"], YF = (e) => V(UF, e), Axe = (e) => V(WF, e), jxe = (e) => V(GF, e);function Mxe(e = U) {return e.fetchQuery({- queryKey: GF,- queryFn: ({ signal: e }) => JF(e),+ queryKey: KF,+ queryFn: ({ signal: e }) => YF(e),staleTime: 0}).catch(() => null);}-function YF() {+function XF() {return ft({- mutationFn: (e) => H(HF, e),- onSuccess: (e) => U.setQueryData(GF, e)+ mutationFn: (e) => H(UF, e),+ onSuccess: (e) => U.setQueryData(KF, e)});}function Nxe() {return ft({- mutationFn: (e) => H(UF, {+ mutationFn: (e) => H(WF, {enabled: e > 0,interval_minutes: e || 60}),- onSuccess: (e) => U.setQueryData(KF, e)+ onSuccess: (e) => U.setQueryData(qF, e)});}function Pxe() {return ft({- mutationFn: (e) => H(WF, { mode: e }),- onSuccess: (e) => U.setQueryData(qF, e)+ mutationFn: (e) => H(GF, { mode: e }),+ onSuccess: (e) => U.setQueryData(JF, e)});}//#endregion//#region src/react/data-cleanup/organize.ts-var Fxe = "/api/organize", Ixe = "/api/organize/preview", Lxe = "/api/organize/apply", Rxe = "/api/organize/rollback", XF = ["organize"], ZF = (e) => V(Fxe, e);+var Fxe = "/api/organize", Ixe = "/api/organize/preview", Lxe = "/api/organize/apply", Rxe = "/api/organize/rollback", ZF = ["organize"], QF = (e) => V(Fxe, e);async function zxe(e) {await U.fetchQuery({- queryKey: XF,- queryFn: () => ZF(e)+ queryKey: ZF,+ queryFn: () => QF(e)});}var Bxe = (e) => H(Ixe, e), Vxe = (e) => e.kind === "apply" ? H(Lxe, {@@ -48354,96 +48367,96 @@ var Bxe = (e) => H(Ixe, e), Vxe = (e) => e.kind === "apply" ? H(Lxe, {confirm: !0}) : H(Rxe, { confirm: !0 });async function Hxe(e) {- U.setQueryData(XF, (t) => t && {+ U.setQueryData(ZF, (t) => t && {...t,templates: e});try {- await H(HF, { organizeTemplates: e });+ await H(UF, { organizeTemplates: e });} catch {}}var Uxe = (e, t) => e && {...e,...t}, Wxe = /目录模板|分隔符|盘符|`\.`/;-function QF(e) {+function $F(e) {let t = String(e || "");return t.slice(Math.max(t.lastIndexOf("\\"), t.lastIndexOf("/")) + 1);}-var $F = (e) => Number(e || 0).toLocaleString();+var eI = (e) => Number(e || 0).toLocaleString();function Gxe(e) {- let t = Object.entries(e.reasons || {}).sort((e, t) => t[1] - e[1]).map(([e, t]) => `${e} ${$F(t)}`).join(" · ");- return Number(e.counts?.change || 0) ? `${$F(e.counts.change)} 个文件会改名或移动,${$F(e.counts.unchanged)} 个已经就是目标名字${t ? `;跳过 ${t}` : ""}。` : `没有要改的文件。${t ? `跳过:${t}。` : ""}`;+ let t = Object.entries(e.reasons || {}).sort((e, t) => t[1] - e[1]).map(([e, t]) => `${e} ${eI(t)}`).join(" · ");+ return Number(e.counts?.change || 0) ? `${eI(e.counts.change)} 个文件会改名或移动,${eI(e.counts.unchanged)} 个已经就是目标名字${t ? `;跳过 ${t}` : ""}。` : `没有要改的文件。${t ? `跳过:${t}。` : ""}`;}-function eI(e) {+function tI(e) {let t = e.restored !== void 0, n = Number(e.failed || 0), r = Number(t ? e.restored : e.moved || 0);return {- text: t ? `已退回 ${$F(r)} 个文件${n ? `,${$F(n)} 行未能退回` : ""}。` : `已整理 ${$F(r)} 个文件${n ? `,${$F(n)} 行未能处理` : ""}。`,+ text: t ? `已退回 ${eI(r)} 个文件${n ? `,${eI(n)} 行未能退回` : ""}。` : `已整理 ${eI(r)} 个文件${n ? `,${eI(n)} 行未能处理` : ""}。`,failed: n,rollback: t};}//#endregion//#region src/react/data-cleanup/resource-sync.ts-var tI = "/api/resource-sync/scan", nI = "/api/resource-sync/apply", rI = ["resource-sync", "scan"], iI = ["resource-sync", "apply"], aI = (e) => H(tI, {+var nI = "/api/resource-sync/scan", rI = "/api/resource-sync/apply", iI = ["resource-sync", "scan"], aI = ["resource-sync", "apply"], oI = (e) => H(nI, {background: !0,status_only: !0-}, "POST", e), Kxe = () => H(tI, {+}, "POST", e), Kxe = () => H(nI, {background: !0,restart: !0-}), oI = (e) => V(nI, e), qxe = (e) => H(nI, {+}), sI = (e) => V(rI, e), qxe = (e) => H(rI, {confirm: !0,clean_cache: !0,scan_id: e,background: !0-}), sI = (e) => (e?.sources ?? []).some((e) => Nbe.includes(e.location) && Array.isArray(e.roots) && e.roots.length > 0);+}), cI = (e) => (e?.sources ?? []).some((e) => Nbe.includes(e.location) && Array.isArray(e.roots) && e.roots.length > 0);async function Jxe(e) {- sI(U.getQueryData(xn)) && await Promise.all([U.fetchQuery({- queryKey: rI,- queryFn: () => aI(e)- }), U.fetchQuery({+ cI(U.getQueryData(xn)) && await Promise.all([U.fetchQuery({queryKey: iI,queryFn: () => oI(e)+ }), U.fetchQuery({+ queryKey: aI,+ queryFn: () => sI(e)})]);}var Yxe = (e) => !!(e?.missing || e?.empty || e?.cache?.files), Xxe = {local: "本地磁盘",115: "115",pikpak: "PikPak"-}, cI = (e) => Number(e || 0).toLocaleString(), Zxe = (e) => e.total_sources ? `已扫描 ${e.completed_sources || 0}/${e.total_sources} 个来源` : "正在扫描来源", lI = (e) => e.purge ?? Number(e.missing || 0) - Number(e.vanish || 0), uI = (e) => e.vanish ? `${cI(e.vanish)} 条带个人记录的标为已消失,记录留着,可在孤儿记录里接到新文件或彻底删除。` : "", dI = (e) => e.vanish ? "这几样不可撤销。" : "这一步不可撤销。", Qxe = (e) => `将永久删除文件已不在盘上的 ${cI(lI(e))} 条记录和 ${cI(e.empty)} 个空文件夹,并清理 ${cI(e.cache?.files)} 个闲置缓存。${dI(e)}${uI(e)}`, $xe = (e) => `将永久删除文件已不在盘上的 ${cI(lI(e))} 条记录(含回收站里的)、${cI(e.empty)} 个空文件夹,并清理 ${cI(e.cache?.files)} 个闲置缓存。来源根目录保留。${dI(e)}${uI(e)}`, eSe = (e) => e.online ? [- `找不到文件 · 共 ${cI(e.total)} 项`,- e.vanish ? `${cI(e.vanish)} 项带个人记录` : "",- e.empty ? `空文件夹 ${cI(e.empty)} 个` : "",- e.unreadable ? `${cI(e.unreadable)} 个目录读取失败,已跳过` : ""-].filter(Boolean).join(" · ") : `馆藏中有 ${cI(e.total)} 项`;-function fI(e) {+}, lI = (e) => Number(e || 0).toLocaleString(), Zxe = (e) => e.total_sources ? `已扫描 ${e.completed_sources || 0}/${e.total_sources} 个来源` : "正在扫描来源", uI = (e) => e.purge ?? Number(e.missing || 0) - Number(e.vanish || 0), dI = (e) => e.vanish ? `${lI(e.vanish)} 条带个人记录的标为已消失,记录留着,可在孤儿记录里接到新文件或彻底删除。` : "", fI = (e) => e.vanish ? "这几样不可撤销。" : "这一步不可撤销。", Qxe = (e) => `将永久删除文件已不在盘上的 ${lI(uI(e))} 条记录和 ${lI(e.empty)} 个空文件夹,并清理 ${lI(e.cache?.files)} 个闲置缓存。${fI(e)}${dI(e)}`, $xe = (e) => `将永久删除文件已不在盘上的 ${lI(uI(e))} 条记录(含回收站里的)、${lI(e.empty)} 个空文件夹,并清理 ${lI(e.cache?.files)} 个闲置缓存。来源根目录保留。${fI(e)}${dI(e)}`, eSe = (e) => e.online ? [+ `找不到文件 · 共 ${lI(e.total)} 项`,+ e.vanish ? `${lI(e.vanish)} 项带个人记录` : "",+ e.empty ? `空文件夹 ${lI(e.empty)} 个` : "",+ e.unreadable ? `${lI(e.unreadable)} 个目录读取失败,已跳过` : ""+].filter(Boolean).join(" · ") : `馆藏中有 ${lI(e.total)} 项`;+function pI(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 ? `${cI(t.length)} 条记录没有删除(${o})` : "",- n ? `${cI(n)} 个文件夹没有删除` : "",- r.length ? `${cI(r.length)} 个缓存没有清理` : ""+ t.length ? `${lI(t.length)} 条记录没有删除(${o})` : "",+ n ? `${lI(n)} 个文件夹没有删除` : "",+ r.length ? `${lI(r.length)} 个缓存没有清理` : ""].filter(Boolean).join(",")};}var tSe = (e, t) => {- let { rest: n } = fI(e), r = `已永久删除 ${cI(e.purged)} 条失效记录和 ${cI(e.dirs_removed)} 个空文件夹,清理 ${cI(e.cache_removed)} 个缓存,释放 ${t(e.bytes_reclaimed || 0)}。` + (e.vanished ? `${cI(e.vanished)} 条带个人记录的已标为已消失,可在孤儿记录里处理。` : "") + (e.reattached ? `${cI(e.reattached)} 条的记录已接到库里的另一个版本。` : "");+ let { rest: n } = pI(e), r = `已永久删除 ${lI(e.purged)} 条失效记录和 ${lI(e.dirs_removed)} 个空文件夹,清理 ${lI(e.cache_removed)} 个缓存,释放 ${t(e.bytes_reclaimed || 0)}。` + (e.vanished ? `${lI(e.vanished)} 条带个人记录的已标为已消失,可在孤儿记录里处理。` : "") + (e.reattached ? `${lI(e.reattached)} 条的记录已接到库里的另一个版本。` : "");return n ? `${r}${n},重新检查后可再试。` : r;-}, nSe = "/api/review?counts=1", pI = ["review", "counts"], rSe = "/api/ads?limit=1", mI = ["junk-summary"], hI = "/api/items?state=trash&limit=1", gI = ["trash-summary"], iSe = [+}, nSe = "/api/review?counts=1", mI = ["review", "counts"], rSe = "/api/ads?limit=1", hI = ["junk-summary"], gI = "/api/items?state=trash&limit=1", _I = ["trash-summary"], iSe = [["video", "视频"],["image", "图片"],["archive", "压缩包"],["audio", "音频"],["url", "网址"],["other", "其它"]-], _I = (e) => V(nSe, e), vI = (e) => V(rSe, e), yI = (e) => {+], vI = (e) => V(nSe, e), yI = (e) => V(rSe, e), bI = (e) => {let t = sessionStorage.getItem("peach.library");- return V(t ? `${hI}&library=${encodeURIComponent(t)}` : hI, e);-}, bI = (e) => Number(e || 0).toLocaleString();+ return V(t ? `${gI}&library=${encodeURIComponent(t)}` : gI, e);+}, xI = (e) => Number(e || 0).toLocaleString();function aSe(e) {- let t = xF, 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);+ let t = SF, 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(" · ")@@ -48451,16 +48464,16 @@ function aSe(e) {}function oSe(e) {if (!e) return "";- let t = iSe.filter(([t]) => Number(e.counts?.[t]) > 0).map(([t, n]) => `${n} ${bI(e.counts[t])}`);- return Number(e.dismissed_total) > 0 && t.push(`已忽略 ${bI(e.dismissed_total)}`), t.join(" · ");+ let t = iSe.filter(([t]) => Number(e.counts?.[t]) > 0).map(([t, n]) => `${n} ${xI(e.counts[t])}`);+ return Number(e.dismissed_total) > 0 && t.push(`已忽略 ${xI(e.dismissed_total)}`), t.join(" · ");}var sSe = [- [pI, ({ signal: e }) => _I(e)],- [gF, ({ signal: e }) => _F(e)],- [gI, ({ signal: e }) => yI(e)],- [NF, ({ signal: e }) => RF(e)],+ [mI, ({ signal: e }) => vI(e)],+ [_F, ({ signal: e }) => vF(e)],+ [_I, ({ signal: e }) => bI(e)],[PF, ({ signal: e }) => zF(e)],- [FF, ({ signal: e }) => BF(e)]+ [FF, ({ signal: e }) => BF(e)],+ [IF, ({ signal: e }) => VF(e)]];async function cSe(e) {let t = location.hash === "#resource-sync", n = sSe.map(([n, r]) => {@@ -48476,15 +48489,15 @@ async function cSe(e) {await Promise.all([...n,U.fetchQuery({- queryKey: mI,- queryFn: () => vI(e)+ queryKey: hI,+ queryFn: () => yI(e)}),U.fetchQuery({- queryKey: XP,- queryFn: () => QP(e)+ queryKey: ZP,+ queryFn: () => $P(e)}),- YP(e).then(() => Jxe(e)),- aF(e),+ XP(e).then(() => Jxe(e)),+ oF(e),$be(e),zxe(e)]);@@ -48502,15 +48515,15 @@ var lSe = ["bg-chart-7/10","bg-chart-8/10"];-function xI(e = {}) {- return `${Ek({+function SI(e = {}) {+ return `${Dk({...e,padding: "none"})} flex flex-col overflow-hidden pt-4 text-left`;}-var SI = "inline-grid w-full grid-cols-2 gap-3 sm:gap-4 lg:grid-cols-4", dSe = "inline-grid w-full grid-cols-2 gap-3 sm:grid-cols-3 sm:gap-4 xl:grid-cols-6";-function CI({ interactive: e = !1 } = {}) {- return Ek({+var CI = "inline-grid w-full grid-cols-2 gap-3 sm:gap-4 lg:grid-cols-4", dSe = "inline-grid w-full grid-cols-2 gap-3 sm:grid-cols-3 sm:gap-4 xl:grid-cols-6";+function wI({ interactive: e = !1 } = {}) {+ return Dk({padding: "none",radius: "plain",interactive: e,@@ -48518,7 +48531,7 @@ function CI({ interactive: e = !1 } = {}) {});}var fSe = "inline-grid w-full grid-cols-5 gap-4 max-plain-stat-pair:grid-cols-2 max-plain-stat-single:grid-cols-1";-function wI({ label: e, icon: t, mark: n, aside: r, figure: i, meta: a, wrapMeta: o = !1 }) {+function TI({ label: e, icon: t, mark: n, aside: r, figure: i, meta: a, wrapMeta: o = !1 }) {return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsxs)("span", {className: "flex min-w-0 items-center gap-2 text-body-medium text-text-secondary",@@ -48551,7 +48564,7 @@ function wI({ label: e, icon: t, mark: n, aside: r, figure: i, meta: a, wrapMeta})] });}-function TI({ label: e, icon: t, accent: n = 0, figure: r, footer: i }) {+function EI({ label: e, icon: t, accent: n = 0, figure: r, footer: i }) {return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsxs)("span", {className: "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",@@ -48579,16 +48592,16 @@ function TI({ label: e, icon: t, accent: n = 0, figure: r, footer: i }) {}//#endregion//#region src/react/components/menu-dialog.tsx-function EI(e) {- let t = kN("hover");- return /* @__PURE__ */ (0, x.jsx)(CM, {+function DI(e) {+ let t = AN("hover");+ return /* @__PURE__ */ (0, x.jsx)(wM, {...e,ref: t});}//#endregion//#region src/react/boardui/components/base/dropdown/menu-styles.ts-var DI = [+var OI = ["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",@@ -48596,11 +48609,11 @@ var DI = ["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(" "), pSe = "w-[266px]", mSe = "flex w-full flex-col gap-1 outline-none", OI = ["flex w-full cursor-pointer items-center gap-2 rounded-2lg p-2 text-left", "text-text-primary outline-none transition-colors"].join(" "), kI = "hover:bg-dropdown-item-hover-background focus-visible:bg-dropdown-item-hover-background", hSe = "inline-flex items-center justify-center gap-0.5 whitespace-nowrap overflow-hidden font-sans", AI = {+].join(" "), pSe = "w-[266px]", mSe = "flex w-full flex-col gap-1 outline-none", kI = ["flex w-full cursor-pointer items-center gap-2 rounded-2lg p-2 text-left", "text-text-primary outline-none transition-colors"].join(" "), AI = "hover:bg-dropdown-item-hover-background focus-visible:bg-dropdown-item-hover-background", hSe = "inline-flex items-center justify-center gap-0.5 whitespace-nowrap overflow-hidden font-sans", jI = {medium: "h-9 rounded-2lg p-2 text-body-medium",small: "h-8 rounded-lg px-2 py-1.5 text-body-medium"}, gSe = {- medium: AI.medium,+ medium: jI.medium,small: "size-8 rounded-lg p-0 text-body-medium"}, _Se = {medium: "size-5 shrink-0",@@ -48612,12 +48625,12 @@ var DI = [primary: "bg-button-primary text-text-white shadow-xs",secondary: "bg-background-primary-default text-text-primary border border-border-button-default shadow-xs",ghost: "bg-button-ghost-background text-button-ghost-foreground"-}, jI = (e, t) => `<svg class="${t}" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><use href="#i-${e}"/></svg>`;-function MI(e, t = "", n = e) {- return `<div data-input-size="medium" class="group flex h-max w-full flex-col items-start gap-1"><div data-rac class="relative flex w-full items-center rounded-2lg bg-background-tertiary-default text-foreground-icon-tertiary ring-2 ring-inset ring-transparent p-2"><div class="flex w-full items-center gap-2 min-w-0"><div class="flex flex-1 items-center gap-0.5 min-w-0">${jI("search", "size-5 shrink-0")}<input type="search" enterkeyhint="search" readonly tabindex="-1" aria-label="${z(n)}" value="${z(t)}" placeholder="${z(e)}" class="min-w-0 flex-1 bg-transparent border-0 outline-none p-0 m-0 font-sans text-body-regular text-text-primary pl-1 placeholder:text-text-tertiary"></div></div></div></div>`;+}, MI = (e, t) => `<svg class="${t}" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><use href="#i-${e}"/></svg>`;+function NI(e, t = "", n = e) {+ return `<div data-input-size="medium" class="group flex h-max w-full flex-col items-start gap-1"><div data-rac class="relative flex w-full items-center rounded-2lg bg-background-tertiary-default text-foreground-icon-tertiary ring-2 ring-inset ring-transparent p-2"><div class="flex w-full items-center gap-2 min-w-0"><div class="flex flex-1 items-center gap-0.5 min-w-0">${MI("search", "size-5 shrink-0")}<input type="search" enterkeyhint="search" readonly tabindex="-1" aria-label="${z(n)}" value="${z(t)}" placeholder="${z(e)}" class="min-w-0 flex-1 bg-transparent border-0 outline-none p-0 m-0 font-sans text-body-regular text-text-primary pl-1 placeholder:text-text-tertiary"></div></div></div></div>`;}-function NI({ variant: e = "primary", size: t = "medium", glyph: n, label: r, attrs: i = "", compact: a = !1 }) {- let o = r ? AI[t] : gSe[t], s = n ? jI(n, _Se[t]) : "", c = r ? `<span class="${vSe[t]}"${a ? " data-compact-label" : ""}>${r}</span>` : "";+function PI({ variant: e = "primary", size: t = "medium", glyph: n, label: r, attrs: i = "", compact: a = !1 }) {+ let o = r ? jI[t] : gSe[t], s = n ? MI(n, _Se[t]) : "", c = r ? `<span class="${vSe[t]}"${a ? " data-compact-label" : ""}>${r}</span>` : "";return `<button type="button" class="${hSe} ${o} ${ySe[e]}"${i ? ` ${i}` : ""}>${s}${c}</button>`;}var bSe = {@@ -48632,58 +48645,58 @@ var bSe = {chevron: "size-3.5"}};-function PI(e, { size: t = "md", className: n = "", attrs: r = "" } = {}) {+function FI(e, { size: t = "md", className: n = "", attrs: r = "" } = {}) {let i = bSe[t];- return `<div class="group flex flex-col${n ? ` ${n}` : ""}"><button type="button" aria-haspopup="listbox"${r ? ` ${r}` : ""} class="flex w-full items-center justify-between rounded-2lg border border-border-button-default bg-background-primary-default shadow-xs text-text-primary ${i.box}"><span class="flex min-w-0 items-center truncate ${i.value}">${e}</span>${jI("chevron-down", `shrink-0 text-text-secondary ${i.chevron}`)}</button></div>`;+ return `<div class="group flex flex-col${n ? ` ${n}` : ""}"><button type="button" aria-haspopup="listbox"${r ? ` ${r}` : ""} class="flex w-full items-center justify-between rounded-2lg border border-border-button-default bg-background-primary-default shadow-xs text-text-primary ${i.box}"><span class="flex min-w-0 items-center truncate ${i.value}">${e}</span>${MI("chevron-down", `shrink-0 text-text-secondary ${i.chevron}`)}</button></div>`;}var xSe = "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", SSe = "flex min-w-0 flex-col gap-2", CSe = "text-body-regular text-text-secondary", wSe = "text-display-4-medium tabular-nums text-text-primary", TSe = "relative inline-block h-8 w-24 rounded-2lg align-middle skeleton-sheen";-function FI(e) {+function II(e) {return `<div data-collection-summary="" class="${xSe}"><div class="${SSe}"><span class="${CSe}">${e}</span><strong class="${wSe}"><span data-skeleton="count" aria-hidden="true" class="${TSe}"></span></strong></div></div>`;}//#endregion//#region src/management.ts-var II = "扫描媒体文件夹,导入已有资料,采集缺失信息。两段也可以分开跑:新盘刚接上时先只扫描,几万个文件登记完就能用;采集被网络拖住时只重跑采集,不必再扫一遍磁盘。", LI = "修缺时间戳表(播放卡顿)和缺索引(打不开)的 MP4。常看的片子先修。", RI = "<span class=\"skeleton skeleton-text\" aria-hidden=\"true\"></span>", zI = "type=\"button\" disabled data-skeleton-action", BI = "disabled data-skeleton-action", ESe = "aria-disabled=\"true\"", VI = (e) => `<div class="peach-react"><div class="flex flex-col gap-4">${e}</div></div>`, HI = (e, t) => `<div data-geist-fieldset-content>+var LI = "扫描媒体文件夹,导入已有资料,采集缺失信息。两段也可以分开跑:新盘刚接上时先只扫描,几万个文件登记完就能用;采集被网络拖住时只重跑采集,不必再扫一遍磁盘。", RI = "修缺时间戳表(播放卡顿)和缺索引(打不开)的 MP4。常看的片子先修。", zI = "<span class=\"skeleton skeleton-text\" aria-hidden=\"true\"></span>", BI = "type=\"button\" disabled data-skeleton-action", VI = "disabled data-skeleton-action", ESe = "aria-disabled=\"true\"", HI = (e) => `<div class="peach-react"><div class="flex flex-col gap-4">${e}</div></div>`, UI = (e, t) => `<div data-geist-fieldset-content><h3 class="text-title-2-medium text-text-primary">${e}</h3><p class="text-body-2-regular text-text-secondary">${t}</p></div>`;function DSe() {- return VI(`<section aria-label="扫描与采集" data-geist-fieldset data-cleanup-task data-cleanup-processing data-fieldset-stack>- ${HI("扫描与采集", II)}- <footer data-geist-fieldset-footer><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>${jI("arrow-up", "size-[18px] shrink-0 rotate-90")}</a><span data-button-group data-split-button data-variant="primary">${NI({+ return HI(`<section aria-label="扫描与采集" data-geist-fieldset data-cleanup-task data-cleanup-processing data-fieldset-stack>+ ${UI("扫描与采集", LI)}+ <footer data-geist-fieldset-footer><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>${MI("arrow-up", "size-[18px] shrink-0 rotate-90")}</a><span data-button-group data-split-button data-variant="primary">${PI({glyph: "database",label: "扫描并补全资料",- attrs: BI- })}${NI({+ attrs: VI+ })}${PI({glyph: "chevron-down",- attrs: `${BI} aria-label="更多扫描与采集方式"`+ attrs: `${VI} aria-label="更多扫描与采集方式"`})}</span></footer></section>`);}function OSe() {- return VI(`<section aria-label="媒体修复" data-geist-fieldset data-cleanup-task data-cleanup-processing>- ${HI("媒体修复", LI)}- <footer data-geist-fieldset-footer>${PI(RI, {+ return HI(`<section aria-label="媒体修复" data-geist-fieldset data-cleanup-task data-cleanup-processing>+ ${UI("媒体修复", RI)}+ <footer data-geist-fieldset-footer>${FI(zI, {className: "w-48",attrs: ESe- })}${NI({+ })}${PI({label: "开始修复",- attrs: BI+ attrs: VI})}</footer></section>`);}-function UI() {+function WI() {let e = [["人工复核", "square-check-big"],["高清版", "sparkles"],["重复文件", "file-stack"],["垃圾文件", "file-archive"],["回收站", "trash"]- ], t = `<span class="geist-button ui-organize-preset-skeleton">${RI}</span>`.repeat(3), n = (e) => `<div class="ui-organizefield"><span>${e}</span>- <span class="geist-input ui-organize-input-skeleton">${RI}</span></div>`;+ ], t = `<span class="geist-button ui-organize-preset-skeleton">${zI}</span>`.repeat(3), n = (e) => `<div class="ui-organizefield"><span>${e}</span>+ <span class="geist-input ui-organize-input-skeleton">${zI}</span></div>`;return `<div class="ui-cleanuppage" data-skeleton="cleanup" aria-busy="true" aria-label="正在读取数据管理状态"><div class="ui-cleanupstats">${e.map(([e, t]) => `<button type="button" class="board-plain-stat" disabled><span class="ui-board-plain-stat-head"><span class="ui-board-stat-tile">${R(t)}</span>${e}</span>- <strong>${RI}</strong><span class="cleanupmeta">${RI}</span></button>`).join("")}</div>+ <strong>${zI}</strong><span class="cleanupmeta">${zI}</span></button>`).join("")}</div><div class="cleanupgrid"><div class="cleanupscraping">${DSe()}</div><div class="cleanupmediarepair">${OSe()}</div>@@ -48691,37 +48704,37 @@ function UI() {<div class="geist-fieldset-content"><h3 class="geist-fieldset-title" id="cleanup-loading-organize">整理</h3><p>按模板给文件改名并归入目录。先预览,确认后执行;执行过的一批可以整批退回。</p><div class="ui-organizefields">- <div class="organizesource"><span class="ui-gselect"><span class="gselectfield organize-source-skeleton">${RI}${R("chevron-down")}</span></span></div>+ <div class="organizesource"><span class="ui-gselect"><span class="gselectfield organize-source-skeleton">${zI}${R("chevron-down")}</span></span></div>${n("文件名模板")}${n("目录模板")}<div class="ui-organizepresets">${t}</div>- <p class="cleanupmeta">${RI}</p>+ <p class="cleanupmeta">${zI}</p></div></div>- <footer class="geist-fieldset-footer" data-geist-fieldset-footer><button class="geist-button primary" ${zI}>预览</button></footer>+ <footer class="geist-fieldset-footer" data-geist-fieldset-footer><button class="geist-button primary" ${BI}>预览</button></footer></section></div><section class="ui-resourcesync" aria-labelledby="cleanup-loading-links"><h2 id="cleanup-loading-links">链接管理</h2><div class="resourcesyncbox" data-geist-fieldset data-cleanup-task data-fieldset-stack><div class="resourcesyncbody geist-fieldset-content"><h3 class="geist-fieldset-title">站外链接</h3>- <div class="linksummary"><div class="ui-linkstats"><div><span>链接总数</span><b>${RI}</b><small>${RI}</small></div>${[+ <div class="linksummary"><div class="ui-linkstats"><div><span>链接总数</span><b>${zI}</b><small>${zI}</small></div>${["官网/事务所","社交账号","作品资料站"- ].map((e) => `<div><span>${e}</span><b>${RI}</b></div>`).join("")}</div>- <div class="ui-linkhosts"><span>主要站点</span><b>${RI}</b></div></div></div>- <div class="resourcesyncfooter geist-fieldset-footer" data-geist-fieldset-footer><button class="resourceaction primary" ${zI}>${R("unlink")}<span>检查死链</span></button></div>+ ].map((e) => `<div><span>${e}</span><b>${zI}</b></div>`).join("")}</div>+ <div class="ui-linkhosts"><span>主要站点</span><b>${zI}</b></div></div></div>+ <div class="resourcesyncfooter geist-fieldset-footer" data-geist-fieldset-footer><button class="resourceaction primary" ${BI}>${R("unlink")}<span>检查死链</span></button></div></div></section><section class="ui-resourcesync" aria-labelledby="cleanup-loading-sync"><h2 id="cleanup-loading-sync">资源同步</h2><div class="resourcesyncbox" data-geist-fieldset data-cleanup-task><div class="resourcesyncbody geist-fieldset-content"><h3 class="geist-fieldset-title">文件与记录核对</h3><p>按馆藏记录逐条查找本地磁盘与网盘上的文件,列出文件已不存在的记录、空文件夹,以及不再被引用的缓存。</p></div>- <div class="resourcesyncfooter geist-fieldset-footer" data-geist-fieldset-footer><button class="resourceaction primary" ${zI}>${R("git-compare")}<span>检查文件</span></button></div>+ <div class="resourcesyncfooter geist-fieldset-footer" data-geist-fieldset-footer><button class="resourceaction primary" ${BI}>${R("git-compare")}<span>检查文件</span></button></div></div></section></div>`;}//#endregion//#region src/react/components/fieldset.tsx-var kSe = Ek({+var kSe = Dk({padding: "none",bordered: "line",className: "overflow-hidden"@@ -48734,13 +48747,13 @@ var kSe = Ek({}, MSe = "flex min-h-14 flex-wrap items-center justify-end gap-2 border-t px-5 py-3", NSe = {neutral: "border-border-button-default bg-card-footer",error: "border-border-error-default bg-background-tertiary-error"-}, PSe = Ek({+}, PSe = Dk({padding: "none",radius: "surface",bordered: "line",className: "overflow-hidden"-}), WI = "border-t border-border-button-default p-4 first:border-t-0";-function GI({ tone: e = "neutral", status: t, children: n }) {+}), GI = "border-t border-border-button-default p-4 first:border-t-0";+function KI({ tone: e = "neutral", status: t, children: n }) {return /* @__PURE__ */ (0, x.jsxs)("div", {className: `${MSe} ${NSe[e]}`,children: [t ? /* @__PURE__ */ (0, x.jsx)("p", {@@ -48749,21 +48762,21 @@ function GI({ tone: e = "neutral", status: t, children: n }) {}) : null, n]});}-function KI({ id: e, children: t }) {+function qI({ id: e, children: t }) {return /* @__PURE__ */ (0, x.jsx)("h2", {id: e,className: "text-title-2-medium! m-0! text-text-primary",children: t});}-function qI({ id: e, gap: t = "none", children: n }) {+function JI({ id: e, gap: t = "none", children: n }) {return /* @__PURE__ */ (0, x.jsx)("h3", {id: e,className: `text-title-2-medium text-text-primary ${t === "medium" ? "mb-3" : t === "small" ? "mb-2" : ""}`,children: n});}-function JI({ layout: e, label: t, labelledBy: n, id: r, footer: i, children: a, attributes: o }) {+function YI({ layout: e, label: t, labelledBy: n, id: r, footer: i, children: a, attributes: o }) {return /* @__PURE__ */ (0, x.jsxs)("section", {id: r,"aria-label": t,@@ -48781,7 +48794,7 @@ function JI({ layout: e, label: t, labelledBy: n, id: r, footer: i, children: a,}//#endregion//#region src/react/components/overlay-scrollbar.ts-function YI() {+function XI() {let e = (0, b.useRef)(null);return (0, b.useEffect)(() => {wa(e.current);@@ -48789,7 +48802,7 @@ function YI() {}//#endregion//#region src/react/boardui/components/base/buttons/icon-button.tsx-var XI = xk({+var ZI = Sk({base: ["relative inline-flex shrink-0 items-center justify-center overflow-visible rounded-2lg","bg-background-primary-default text-foreground-icon-primary",@@ -48810,14 +48823,14 @@ var XI = xk({small: "size-4 shrink-0"}});-function ZI({ icon: e, size: t = "medium", className: n, type: r = "button", ref: i, ...a }) {+function QI({ icon: e, size: t = "medium", className: n, type: r = "button", ref: i, ...a }) {return /* @__PURE__ */ (0, x.jsx)("button", {ref: i,type: r,- className: bk(XI.base, XI.size[t], n),+ className: xk(ZI.base, ZI.size[t], n),...a,children: /* @__PURE__ */ (0, x.jsx)(e, {- className: XI.icon[t],+ className: ZI.icon[t],"aria-hidden": !0})});@@ -48838,7 +48851,7 @@ function FSe({ className: e }) {});}var ISe = "打开文件管理器失败,请重试";-function QI({ path: e, prefix: t, className: n, onRevealed: r }) {+function $I({ path: e, prefix: t, className: n, onRevealed: r }) {let [i, a] = (0, b.useState)(!1), [o, s] = (0, b.useState)(""), c = (0, b.useRef)(!0);(0, b.useEffect)(() => () => {c.current = !1;@@ -48860,9 +48873,9 @@ function QI({ path: e, prefix: t, className: n, onRevealed: r }) {children: [/* @__PURE__ */ (0, x.jsxs)("div", {className: "flex items-center justify-between gap-2",children: [/* @__PURE__ */ (0, x.jsxs)("p", {- className: bk("min-w-0 break-all", n),+ className: xk("min-w-0 break-all", n),children: [t, e]- }), /* @__PURE__ */ (0, x.jsx)(ZI, {+ }), /* @__PURE__ */ (0, x.jsx)(QI, {icon: FSe,size: "small",className: "shrink-0",@@ -48878,30 +48891,30 @@ function QI({ path: e, prefix: t, className: n, onRevealed: r }) {}//#endregion//#region src/react/components/task-progress.tsx-function $I({ label: e, value: t = 0, total: n, embedded: r = !1 }) {+function eL({ label: e, value: t = 0, total: n, embedded: r = !1 }) {return /* @__PURE__ */ (0, x.jsx)("div", {"data-task-progress": !0,- className: r ? "flex flex-col gap-1.5" : Ek({+ className: r ? "flex flex-col gap-1.5" : Dk({variant: "outlined",padding: "none",className: "flex flex-col gap-1.5 px-4 py-3.5"}),- children: n && n > 0 ? /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(jk, {+ children: n && n > 0 ? /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(Mk, {label: e,value: t,max: n}), /* @__PURE__ */ (0, x.jsx)("p", {className: "text-caption-1-regular text-text-secondary wrap-anywhere",children: e- })] }) : /* @__PURE__ */ (0, x.jsx)(Ok, { label: e })+ })] }) : /* @__PURE__ */ (0, x.jsx)(kk, { label: e })});}//#endregion//#region src/react/library-processing/use-library-processing.ts-function eL({ toast: e, mode: t, monitor: n }) {+function tL({ toast: e, mode: t, monitor: n }) {let r = t === "notice" || !!n, i = dt({- queryKey: rF,- queryFn: ({ signal: e }) => iF(e),+ queryKey: iF,+ queryFn: ({ signal: e }) => aF(e),refetchInterval: (e) => Kbe(e.state.data, r)}), [a, o] = (0, b.useState)(null), s = (0, b.useRef)(void 0), c = i.data;return (0, b.useEffect)(() => {@@ -48925,12 +48938,12 @@ function eL({ toast: e, mode: t, monitor: n }) {var LSe = [{label: "扫描并补全资料",- icon: WO,+ icon: GO,command: {}},{label: "只扫描",- icon: qO,+ icon: JO,command: { stage: "scan" }},{@@ -48938,7 +48951,7 @@ var LSe = [icon: ihe,command: { stage: "collect" }}-], RSe = bk(OI, kI, "text-body-2-medium"), zSe = "这一项耗时较长,暂时没有新进展。任务结束后可以重试未完成的部分。", BSe = (e) => {+], RSe = xk(kI, AI, "text-body-2-medium"), zSe = "这一项耗时较长,暂时没有新进展。任务结束后可以重试未完成的部分。", BSe = (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} 张`];@@ -48953,14 +48966,14 @@ function HSe({ busy: e, onRun: t }) {"data-split-button": !0,"data-variant": "primary",children: [/* @__PURE__ */ (0, x.jsx)(G, {- leadingIcon: WO,+ leadingIcon: GO,onClick: () => a({}),...q(e),children: "扫描并补全资料"}), /* @__PURE__ */ (0, x.jsx)(G, {ref: n,iconOnly: !0,- leadingIcon: zO,+ leadingIcon: BO,"aria-label": "更多扫描与采集方式","aria-haspopup": "dialog","aria-expanded": r,@@ -48969,14 +48982,14 @@ function HSe({ busy: e, onRun: t }) {e || i(!0);}})]- }), /* @__PURE__ */ (0, x.jsx)(dM, {+ }), /* @__PURE__ */ (0, x.jsx)(fM, {triggerRef: n,isOpen: r,onOpenChange: i,placement: "bottom end",offset: 4,- className: DI,- children: /* @__PURE__ */ (0, x.jsx)(EI, {+ className: OI,+ children: /* @__PURE__ */ (0, x.jsx)(DI, {"aria-label": "更多扫描与采集方式",className: "flex w-52 flex-col gap-1 outline-none",children: LSe.map(({ label: e, icon: t, command: n }) => /* @__PURE__ */ (0, x.jsxs)("button", {@@ -48992,7 +49005,7 @@ function HSe({ busy: e, onRun: t }) {})] });}function USe({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {- let a = Ybe(e), o = e.status === "failed" && !!e.retryable_asset_ids?.length, s = Jbe(e.notes || {}), c = YI();+ let a = Ybe(e), o = e.status === "failed" && !!e.retryable_asset_ids?.length, s = Jbe(e.notes || {}), c = XI();return /* @__PURE__ */ (0, x.jsxs)("div", {"aria-live": "polite",className: "flex flex-col gap-4 empty:hidden",@@ -49012,7 +49025,7 @@ function USe({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {}) : null,extra: a ? /* @__PURE__ */ (0, x.jsx)("div", {className: "mt-1.5 border-t border-current/20 pt-1.5",- children: /* @__PURE__ */ (0, x.jsxs)(Jk, {+ children: /* @__PURE__ */ (0, x.jsxs)(Yk, {summary: a.label,children: [/* @__PURE__ */ (0, x.jsx)("div", {className: "relative",@@ -49043,7 +49056,7 @@ function USe({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {})}), a.log ? /* @__PURE__ */ (0, x.jsx)("div", {className: "mt-2 border-t border-current/20 pt-2 text-text-secondary",- children: /* @__PURE__ */ (0, x.jsx)(QI, {+ children: /* @__PURE__ */ (0, x.jsx)($I, {path: a.log,prefix: "完整记录:",className: "text-caption-1-regular",@@ -49063,7 +49076,7 @@ function USe({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {tone: "neutral",extra: e.issues_log ? /* @__PURE__ */ (0, x.jsx)("div", {className: "mt-1.5 border-t border-current/20 pt-1.5 text-text-secondary",- children: /* @__PURE__ */ (0, x.jsx)(QI, {+ children: /* @__PURE__ */ (0, x.jsx)($I, {path: e.issues_log,prefix: "完整记录:",className: "text-caption-1-regular",@@ -49075,35 +49088,35 @@ function USe({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {]});}-function tL(e) {- let { toast: t, onComplete: n } = e, { job: r, settled: i, forget: a } = eL(e), o = ft({- mutationFn: (e) => H(nF, e),+function WSe(e) {+ let { toast: t, onComplete: n } = e, { job: r, settled: i, forget: a } = tL(e), o = ft({+ mutationFn: (e) => H(rF, e),onSuccess: (e) => {- a(), U.setQueryData(rF, e), U.invalidateQueries({ queryKey: rF });+ a(), U.setQueryData(iF, e), U.invalidateQueries({ queryKey: iF });}});(0, b.useEffect)(() => {i && n?.();}, [i, n]);- let s = r.data ?? { status: "idle" }, c = o.error ? B(o.error) : r.isError ? r.data ? oF : B(r.error) : "", l = o.isPending || s.status === "running", u = cF(s), d = (e) => {+ let s = r.data ?? { status: "idle" }, c = o.error ? B(o.error) : r.isError ? r.data ? sF : B(r.error) : "", l = o.isPending || s.status === "running", u = lF(s), d = (e) => {l || (o.reset(), o.mutate(e));};return /* @__PURE__ */ (0, x.jsxs)("div", {className: "flex flex-col gap-4",- children: [/* @__PURE__ */ (0, x.jsx)(JI, {+ children: [/* @__PURE__ */ (0, x.jsx)(YI, {layout: "stack",label: "扫描与采集",footer: /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [- /* @__PURE__ */ (0, x.jsx)(Lk, {+ /* @__PURE__ */ (0, x.jsx)(Rk, {href: "/sources",size: "small",- trailingIcon: BO,+ trailingIcon: VO,children: "来源和凭证"}),- s.candidates ? /* @__PURE__ */ (0, x.jsx)(Lk, {+ s.candidates ? /* @__PURE__ */ (0, x.jsx)(Rk, {href: "/review",size: "small",- trailingIcon: BO,+ trailingIcon: VO,children: "复核资料"}) : null,/* @__PURE__ */ (0, x.jsx)(HSe, {@@ -49114,12 +49127,12 @@ function tL(e) {children: /* @__PURE__ */ (0, x.jsxs)("div", {className: "flex flex-col gap-2",children: [- /* @__PURE__ */ (0, x.jsx)(qI, { children: "扫描与采集" }),+ /* @__PURE__ */ (0, x.jsx)(JI, { children: "扫描与采集" }),/* @__PURE__ */ (0, x.jsx)("p", {className: "text-body-2-regular text-text-secondary",- children: II+ children: LI}),- s.status === "running" ? /* @__PURE__ */ (0, x.jsx)($I, {+ s.status === "running" ? /* @__PURE__ */ (0, x.jsx)(eL, {embedded: !0,label: u,value: Math.min(s.checked || 0, s.total || 0),@@ -49143,7 +49156,7 @@ function tL(e) {}//#endregion//#region src/react/boardui/components/foundations/icons/chevrons.tsx-function WSe(e) {+function GSe(e) {return /* @__PURE__ */ (0, x.jsx)("svg", {viewBox: "0 0 16 16",fill: "none",@@ -49157,7 +49170,7 @@ function WSe(e) {})});}-function GSe(e) {+function KSe(e) {return /* @__PURE__ */ (0, x.jsx)("svg", {viewBox: "0 0 24 24",fill: "none",@@ -49171,7 +49184,7 @@ function GSe(e) {}//#endregion//#region src/react/boardui/utils/use-dismiss-on-outside-press.ts-function KSe(e, t, n) {+function qSe(e, t, n) {(0, b.useEffect)(() => {if (!e) return;let r = (e) => {@@ -49185,7 +49198,7 @@ function KSe(e, t, n) {n]);}-function qSe(e, t) {+function JSe(e, t) {let n = (0, b.useRef)(!1);return (0, b.useEffect)(() => {if (!e) return;@@ -49199,33 +49212,33 @@ function qSe(e, t) {}//#endregion//#region src/react/boardui/components/base/select/select.tsx-var JSe = (0, b.createContext)("md");+var YSe = (0, b.createContext)("md");function nL({ className: e, triggerClassName: t, popoverClassName: n, size: r = "md", children: i, items: a, renderValue: o, ref: s, ...c }) {let l = (0, b.useRef)(null), u = (0, b.useRef)(null), [d, f] = (0, b.useState)(!1);- KSe(d, () => f(!1), [l, u]);- let p = qSe(d, l);+ qSe(d, () => f(!1), [l, u]);+ let p = JSe(d, l);return /* @__PURE__ */ (0, x.jsx)(yve, {ref: s,...c,isOpen: d,onOpenChange: (e) => p(e) && f(e),- className: bk("group flex flex-col", e),- children: ({ isOpen: e }) => /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsxs)(WA, {+ className: xk("group flex flex-col", e),+ children: ({ isOpen: e }) => /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsxs)(GA, {ref: l,- className: bk("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),+ className: xk("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, x.jsx)(Sve, {- className: bk("flex min-w-0 items-center truncate", r === "sm" ? "gap-1" : "gap-[5px]"),+ className: xk("flex min-w-0 items-center truncate", r === "sm" ? "gap-1" : "gap-[5px]"),children: o- }), /* @__PURE__ */ (0, x.jsx)(WSe, { className: bk("shrink-0 text-text-secondary transition-transform duration-200 ease", r === "sm" ? "size-3.5" : "size-4", e && "rotate-180") })]- }), /* @__PURE__ */ (0, x.jsx)(dM, {+ }), /* @__PURE__ */ (0, x.jsx)(GSe, { className: xk("shrink-0 text-text-secondary transition-transform duration-200 ease", r === "sm" ? "size-3.5" : "size-4", e && "rotate-180") })]+ }), /* @__PURE__ */ (0, x.jsx)(fM, {ref: u,isNonModal: !0,offset: 4,- className: bk(pSe, DI, "p-2", n),+ className: xk(pSe, OI, "p-2", n),children: /* @__PURE__ */ (0, x.jsx)(B_e, {items: a,- className: bk(mSe, "max-h-[240px] overflow-auto"),- children: /* @__PURE__ */ (0, x.jsx)(JSe.Provider, {+ className: xk(mSe, "max-h-[240px] overflow-auto"),+ children: /* @__PURE__ */ (0, x.jsx)(YSe.Provider, {value: r,children: i})@@ -49234,18 +49247,18 @@ function nL({ className: e, triggerClassName: t, popoverClassName: n, size: r =});}function rL({ className: e, children: t, ...n }) {- let r = (0, b.useContext)(JSe);+ let r = (0, b.useContext)(YSe);return /* @__PURE__ */ (0, x.jsx)(U_e, {...n,- className: (t) => bk(OI, 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) => xk(kI, 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/background-job.ts-var YSe = 2e3, XSe = (e) => e, ZSe = (e, t) => t;+var XSe = 2e3, ZSe = (e) => e, QSe = (e, t) => t;function iL(e) {- let { queryKey: t, jobOf: n = XSe, withJob: r = ZSe, idlePollMs: i } = e, [a, o] = (0, b.useState)(!1), [s, c] = (0, b.useState)(null), l = (0, b.useRef)(e);+ let { queryKey: t, jobOf: n = ZSe, withJob: r = QSe, idlePollMs: i } = e, [a, o] = (0, b.useState)(!1), [s, c] = (0, b.useState)(null), l = (0, b.useRef)(e);(0, b.useEffect)(() => {l.current = e;});@@ -49254,7 +49267,7 @@ function iL(e) {queryFn: ({ signal: e }) => l.current.queryFn({ signal: e }),refetchInterval: (e) => {let t = e.state.data;- return t !== void 0 && n(t)?.status === "running" ? YSe : i ?? !1;+ return t !== void 0 && n(t)?.status === "running" ? XSe : i ?? !1;}}), d = ft({mutationFn: (e) => l.current.start(e),@@ -49279,29 +49292,29 @@ function iL(e) {}//#endregion//#region src/react/media-repair/media-repair-card.tsx-var QSe = (e) => eo[e] || e, $Se = (e) => U.setQueryData(dF, e);-function eCe() {+var $Se = (e) => eo[e] || e, eCe = (e) => U.setQueryData(fF, e);+function tCe() {let e = dt({- queryKey: dF,- queryFn: ({ signal: e }) => pF(e),- refetchInterval: (e) => e.state.data?.status === "running" && YSe- }), t = dt({queryKey: fF,- queryFn: ({ signal: e }) => mF(e)- }), [n, r] = (0, b.useState)(""), i = Mk(), a = e.data ?? Qbe, o = t.data ?? [], s = a.status === "running", c = o.find((e) => e.id === (s ? a.library : n)) ?? o.find((e) => e.id === a.library) ?? o[0], l = () => {+ queryFn: ({ signal: e }) => mF(e),+ refetchInterval: (e) => e.state.data?.status === "running" && XSe+ }), t = dt({+ queryKey: pF,+ queryFn: ({ signal: e }) => hF(e)+ }), [n, r] = (0, b.useState)(""), i = Nk(), a = e.data ?? Qbe, o = t.data ?? [], s = a.status === "running", c = o.find((e) => e.id === (s ? a.library : n)) ?? o.find((e) => e.id === a.library) ?? o[0], l = () => {c && ms({title: `修复媒体库「${c.name}」`,body: "缺时间戳表的片子另存一份修好的头,原文件不动;缺索引的片子重建后替换原文件,坏原件改名成同目录的隐藏文件(.文件名.peach-original)留着。" + (c.metered ? "这个库在计费来源上,每修一部都要把片子完整拉一遍。" : ""),confirmLabel: "修复媒体库",- onConfirm: async () => $Se(await H(uF, {+ onConfirm: async () => eCe(await H(dF, {library: c.id,restart: !0}))});- }, u = () => void i.run("stop", (e) => H(uF, { stop: !0 }, "POST", e), $Se), d = exe(a), f = a.status === "complete", p = i.error || a.error || (e.error ? "读不到媒体修复的状态" : "");+ }, u = () => void i.run("stop", (e) => H(dF, { stop: !0 }, "POST", e), eCe), d = exe(a), f = a.status === "complete", p = i.error || a.error || (e.error ? "读不到媒体修复的状态" : "");return /* @__PURE__ */ (0, x.jsxs)("div", {className: "flex flex-col gap-4",- children: [/* @__PURE__ */ (0, x.jsx)(JI, {+ children: [/* @__PURE__ */ (0, x.jsx)(YI, {layout: "split",label: "媒体修复",footer: /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(nL, {@@ -49315,7 +49328,7 @@ function eCe() {children: o.map((e) => /* @__PURE__ */ (0, x.jsxs)(rL, {id: e.id,textValue: e.name,- children: [/* @__PURE__ */ (0, x.jsx)(Yk, { mark: QSe(e.icon) }), e.name]+ children: [/* @__PURE__ */ (0, x.jsx)(Xk, { mark: $Se(e.icon) }), e.name]}, e.id))}), s ? /* @__PURE__ */ (0, x.jsx)(G, {onClick: u,@@ -49329,12 +49342,12 @@ function eCe() {children: /* @__PURE__ */ (0, x.jsxs)("div", {className: "flex flex-col gap-2",children: [- /* @__PURE__ */ (0, x.jsx)(qI, { children: "媒体修复" }),+ /* @__PURE__ */ (0, x.jsx)(JI, { children: "媒体修复" }),/* @__PURE__ */ (0, x.jsx)("p", {className: "text-body-2-regular text-text-secondary",- children: LI+ children: RI}),- s && a.total ? /* @__PURE__ */ (0, x.jsx)(jk, {+ s && a.total ? /* @__PURE__ */ (0, x.jsx)(Mk, {label: "修复进度",value: a.checked,max: a.total@@ -49370,7 +49383,7 @@ function eCe() {}//#endregion//#region src/react/boardui/components/base/checkbox/checkbox-glyph.tsx-var tCe = {+var nCe = {md: {box: "size-4",glyph: "size-4",@@ -49384,11 +49397,11 @@ var tCe = {gap: "gap-1.5"}};-function nCe({ state: e, size: t = "md" }) {- let { isSelected: n, isIndeterminate: r, isFocusVisible: i, isDisabled: a, isHovered: o } = e, s = tCe[t], c = n || r, l = o && !a;+function rCe({ state: e, size: t = "md" }) {+ let { isSelected: n, isIndeterminate: r, isFocusVisible: i, isDisabled: a, isHovered: o } = e, s = nCe[t], c = n || r, l = o && !a;return /* @__PURE__ */ (0, x.jsx)("span", {"aria-hidden": !0,- className: bk("flex shrink-0 items-center justify-center rounded-sm", "transition-[background-color,border-color,box-shadow] duration-150 ease", s.box, c ? bk("bg-linear-to-b shadow-checkbox-selected", l ? "from-accent-400 to-accent-500" : "from-accent-500 to-accent-600") : bk("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: xk("flex shrink-0 items-center justify-center rounded-sm", "transition-[background-color,border-color,box-shadow] duration-150 ease", s.box, c ? xk("bg-linear-to-b shadow-checkbox-selected", l ? "from-accent-400 to-accent-500" : "from-accent-500 to-accent-600") : xk("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, x.jsx)("svg", {viewBox: "0 0 16 16",fill: "none",@@ -49413,16 +49426,16 @@ function nCe({ state: e, size: t = "md" }) {//#endregion//#region src/react/boardui/components/base/checkbox/checkbox.tsxfunction aL({ className: e, children: t, size: n = "md", ref: r, ...i }) {- let a = tCe[n];+ let a = nCe[n];return /* @__PURE__ */ (0, x.jsx)(O_e, {ref: r,...i,- className: (t) => bk("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, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(nCe, {+ className: (t) => xk("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, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(rCe, {state: e,size: n}), t != null && /* @__PURE__ */ (0, x.jsx)("span", {- className: bk(a.label, "text-text-primary"),+ className: xk(a.label, "text-text-primary"),children: t})] })});@@ -49431,11 +49444,11 @@ function aL({ className: e, children: t, size: n = "md", ref: r, ...i }) {//#region src/react/boardui/components/base/table/table.tsxfunction oL({ size: e = "md", className: t, containerClassName: n, ref: r, ...i }) {return /* @__PURE__ */ (0, x.jsx)("div", {- className: bk("w-full overflow-x-auto", n),+ className: xk("w-full overflow-x-auto", n),children: /* @__PURE__ */ (0, x.jsx)(Ive, {ref: r,...i,- className: bk("bui-table", e === "sm" && "bui-table-sm", t)+ className: xk("bui-table", e === "sm" && "bui-table-sm", t)})});}@@ -49449,15 +49462,15 @@ function sL({ children: e, follow: t = !1, onRowClick: n }) {let t = e.target;if (!(t instanceof Element)) return;let r = t.closest("[role=\"row\"][data-key]");- r && dP(e, r) && n(r.dataset.key);+ r && fP(e, r) && n(r.dataset.key);} : void 0,children: e});}//#endregion//#region src/react/data-cleanup/link-manager.tsx-var rCe = vN("unlink"), iCe = vN("rotate-cw"), aCe = "站点返回 404 或 410,确认这个地址不存在。", oCe = "站点拒绝程序访问或一次临时故障都会落在这里。链接保留,可勾选后单独重试。", sCe = "删除前会逐条重验一次;此操作不可撤销。", cCe = "暂时无法读取进度,正在重新连接…", cL = (e) => Number(e || 0).toLocaleString();-function lCe({ label: e, value: t, note: n }) {+var iCe = yN("unlink"), aCe = yN("rotate-cw"), oCe = "站点返回 404 或 410,确认这个地址不存在。", sCe = "站点拒绝程序访问或一次临时故障都会落在这里。链接保留,可勾选后单独重试。", cCe = "删除前会逐条重验一次;此操作不可撤销。", lCe = "暂时无法读取进度,正在重新连接…", cL = (e) => Number(e || 0).toLocaleString();+function uCe({ label: e, value: t, note: n }) {return /* @__PURE__ */ (0, x.jsxs)("div", {className: "flex min-w-0 flex-col gap-0.5",children: [@@ -49476,12 +49489,12 @@ function lCe({ label: e, value: t, note: n }) {]});}-function uCe({ title: e, items: t, hint: n, picked: r, onPick: i, children: a }) {+function dCe({ title: e, items: t, hint: n, picked: r, onPick: i, children: a }) {let [o, s] = (0, b.useState)(!1);if (!t.length) return null;let c = r ?? [], l = c.length > 0 && c.length === t.length, u = o ? t : t.slice(0, 10), d = t.length > 10;return /* @__PURE__ */ (0, x.jsxs)("div", {- className: WI,+ className: GI,children: [/* @__PURE__ */ (0, x.jsxs)("h4", {className: "mb-1 text-body-semibold text-text-primary",@@ -49497,8 +49510,8 @@ function uCe({ title: e, items: t, hint: n, picked: r, onPick: i, children: a })/* @__PURE__ */ (0, x.jsx)(sL, { children: /* @__PURE__ */ (0, x.jsxs)(oL, {"aria-label": e,size: "sm",- children: [/* @__PURE__ */ (0, x.jsxs)(qM, { children: [- i ? /* @__PURE__ */ (0, x.jsx)(JM, {+ children: [/* @__PURE__ */ (0, x.jsxs)(JM, { children: [+ i ? /* @__PURE__ */ (0, x.jsx)(YM, {id: "pick",children: /* @__PURE__ */ (0, x.jsx)(aL, {slot: null,@@ -49508,53 +49521,53 @@ function uCe({ title: e, items: t, hint: n, picked: r, onPick: i, children: a })onChange: (e) => i(e ? t.map((e) => e.id) : [])})}) : null,- /* @__PURE__ */ (0, x.jsx)(JM, {+ /* @__PURE__ */ (0, x.jsx)(YM, {id: "entity",isRowHeader: !0,children: "所属"}),- /* @__PURE__ */ (0, x.jsx)(JM, {+ /* @__PURE__ */ (0, x.jsx)(YM, {id: "kind",children: "类型"}),- /* @__PURE__ */ (0, x.jsx)(JM, {+ /* @__PURE__ */ (0, x.jsx)(YM, {id: "label",children: "标签"}),- /* @__PURE__ */ (0, x.jsx)(JM, {+ /* @__PURE__ */ (0, x.jsx)(YM, {id: "note",children: "结果"}),- /* @__PURE__ */ (0, x.jsx)(JM, {+ /* @__PURE__ */ (0, x.jsx)(YM, {id: "url",children: "地址"})- ] }), /* @__PURE__ */ (0, x.jsx)(XM, { children: u.map((e) => /* @__PURE__ */ (0, x.jsxs)($M, {+ ] }), /* @__PURE__ */ (0, x.jsx)(ZM, { children: u.map((e) => /* @__PURE__ */ (0, x.jsxs)(eN, {id: e.id,children: [- i ? /* @__PURE__ */ (0, x.jsx)(tN, { children: /* @__PURE__ */ (0, x.jsx)(aL, {+ i ? /* @__PURE__ */ (0, x.jsx)(nN, { children: /* @__PURE__ */ (0, x.jsx)(aL, {slot: null,"aria-label": `选择 ${e.entity} 的${e.label || e.url}`,isSelected: c.includes(e.id),onChange: (t) => i(t ? [...c, e.id] : c.filter((t) => t !== e.id))}) }) : null,- /* @__PURE__ */ (0, x.jsx)(tN, { children: /* @__PURE__ */ (0, x.jsx)("span", {+ /* @__PURE__ */ (0, x.jsx)(nN, { children: /* @__PURE__ */ (0, x.jsx)("span", {className: "block min-w-24 wrap-anywhere",children: e.entity}) }),- /* @__PURE__ */ (0, x.jsx)(tN, { children: IF[e.link_kind] || e.link_kind }),- /* @__PURE__ */ (0, x.jsx)(tN, { children: /* @__PURE__ */ (0, x.jsx)("span", {+ /* @__PURE__ */ (0, x.jsx)(nN, { children: LF[e.link_kind] || e.link_kind }),+ /* @__PURE__ */ (0, x.jsx)(nN, { children: /* @__PURE__ */ (0, x.jsx)("span", {className: "block min-w-24 wrap-anywhere",children: e.label || ""}) }),- /* @__PURE__ */ (0, x.jsx)(tN, { children: /* @__PURE__ */ (0, x.jsx)("div", {+ /* @__PURE__ */ (0, x.jsx)(nN, { children: /* @__PURE__ */ (0, x.jsx)("div", {className: "min-w-40 max-w-80",- children: /* @__PURE__ */ (0, x.jsx)(pA, {+ children: /* @__PURE__ */ (0, x.jsx)(mA, {text: e.note,className: "tabular-nums text-text-error-primary"})}) }),- /* @__PURE__ */ (0, x.jsx)(tN, { children: /* @__PURE__ */ (0, x.jsxs)("a", {+ /* @__PURE__ */ (0, x.jsx)(nN, { children: /* @__PURE__ */ (0, x.jsxs)("a", {href: e.url,target: "_blank",rel: "noreferrer",@@ -49564,7 +49577,7 @@ function uCe({ title: e, items: t, hint: n, picked: r, onPick: i, children: a })"data-middle-truncate": !0,className: "min-w-0 truncate",children: e.url- }), /* @__PURE__ */ (0, x.jsx)(KO, {+ }), /* @__PURE__ */ (0, x.jsx)(qO, {"aria-hidden": !0,className: "size-3.5 shrink-0"})]@@ -49586,26 +49599,26 @@ function uCe({ title: e, items: t, hint: n, picked: r, onPick: i, children: a })]});}-function dCe() {+function fCe() {let e = dt({- queryKey: NF,- queryFn: ({ signal: e }) => RF(e)+ queryKey: PF,+ queryFn: ({ signal: e }) => zF(e)}), [t, n] = (0, b.useState)([]), r = iL({- queryKey: FF,- queryFn: ({ signal: e }) => BF(e),+ queryKey: IF,+ queryFn: ({ signal: e }) => VF(e),start: Dxe,onFinish: () => {U.invalidateQueries({- queryKey: NF,+ queryKey: PF,exact: !0}), U.invalidateQueries({- queryKey: PF,+ queryKey: FF,exact: !0});}}), i = iL({- queryKey: PF,- queryFn: ({ signal: e }) => zF(e),+ queryKey: FF,+ queryFn: ({ signal: e }) => BF(e),start: Exe,onStarted: () => {r.dismiss(), n([]);@@ -49646,7 +49659,7 @@ function dCe() {else if (i.query.isError && a) S = /* @__PURE__ */ (0, x.jsx)(K, {tone: "neutral",title: "任务状态",- children: cCe+ children: lCe});else if (a?.status === "failed") S = /* @__PURE__ */ (0, x.jsx)(K, {tone: "error",@@ -49654,12 +49667,12 @@ function dCe() {children: a.error || "检查失败"});else if (a && a.status !== "idle") {- y = /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [a.status === "running" ? /* @__PURE__ */ (0, x.jsx)($I, {+ y = /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [a.status === "running" ? /* @__PURE__ */ (0, x.jsx)(eL, {embedded: !0,label: kxe(a),value: Math.min(a.checked || 0, a.total || 0),total: a.total- }) : null, c ? /* @__PURE__ */ (0, x.jsx)($I, {+ }) : null, c ? /* @__PURE__ */ (0, x.jsx)(eL, {embedded: !0,label: r.job?.message || "正在重验并删除失效链接…",value: Math.min(r.job?.checked || 0, r.job?.total || 0),@@ -49669,36 +49682,36 @@ function dCe() {S = l || u.length || d.length ? /* @__PURE__ */ (0, x.jsxs)("div", {className: PSe,children: [- /* @__PURE__ */ (0, x.jsx)(uCe, {+ /* @__PURE__ */ (0, x.jsx)(dCe, {title: "地址已失效",items: u,- hint: aCe+ hint: oCe}),- /* @__PURE__ */ (0, x.jsx)(uCe, {+ /* @__PURE__ */ (0, x.jsx)(dCe, {title: "本次未访问成功",items: d,- hint: oCe,+ hint: sCe,picked: f.length ? t : void 0,onPick: f.length ? n : void 0,children: f.length ? /* @__PURE__ */ (0, x.jsx)("div", {className: "-mx-4 mt-3 -mb-4",- children: /* @__PURE__ */ (0, x.jsxs)(GI, { children: [/* @__PURE__ */ (0, x.jsx)(G, {- leadingIcon: iCe,+ children: /* @__PURE__ */ (0, x.jsxs)(KI, { children: [/* @__PURE__ */ (0, x.jsx)(G, {+ leadingIcon: aCe,disabled: !t.length,...q(s),onClick: () => h(t),children: e}), /* @__PURE__ */ (0, x.jsx)(G, {- leadingIcon: iCe,+ leadingIcon: aCe,...q(s),onClick: () => h(f.map((e) => e.id)),children: `全部重试(${f.length})`})] })}) : null}),- l && u.length ? /* @__PURE__ */ (0, x.jsx)(GI, {+ l && u.length ? /* @__PURE__ */ (0, x.jsx)(KI, {tone: "error",- status: sCe,+ status: cCe,children: /* @__PURE__ */ (0, x.jsx)(G, {variant: "danger",...q(c),@@ -49707,7 +49720,7 @@ function dCe() {})}) : null,l && !u.length && !d.length ? /* @__PURE__ */ (0, x.jsx)("p", {- className: `${WI} text-body-regular text-notification-success-foreground`,+ className: `${GI} text-body-regular text-notification-success-foreground`,children: "全部链接均可访问。"}) : null]@@ -49718,21 +49731,21 @@ function dCe() {"aria-labelledby": "link-manager-title",className: "flex scroll-mt-20 flex-col gap-4",children: [- /* @__PURE__ */ (0, x.jsx)(KI, {+ /* @__PURE__ */ (0, x.jsx)(qI, {id: "link-manager-title",children: "链接管理"}),- /* @__PURE__ */ (0, x.jsxs)(JI, {+ /* @__PURE__ */ (0, x.jsxs)(YI, {layout: "stack",labelledBy: "link-manager-box",footer: /* @__PURE__ */ (0, x.jsx)(G, {- leadingIcon: rCe,+ leadingIcon: iCe,...q(s),onClick: () => h(),children: s ? "检查中" : l ? "重新检查" : "检查死链"}),children: [- /* @__PURE__ */ (0, x.jsx)(qI, {+ /* @__PURE__ */ (0, x.jsx)(JI, {id: "link-manager-box",gap: "small",children: "站外链接"@@ -49743,12 +49756,12 @@ function dCe() {children: B(e.error)}) : p ? /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsxs)("div", {className: "link-stat-grid mt-4 gap-x-8 gap-y-3",- children: [/* @__PURE__ */ (0, x.jsx)(lCe, {+ children: [/* @__PURE__ */ (0, x.jsx)(uCe, {label: "链接总数",value: cL(p.total),note: `分布在 ${cL(p.entities)} 个女优、厂牌与系列`- }), Object.entries(p.by_kind ?? {}).map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(lCe, {- label: IF[e] || e,+ }), Object.entries(p.by_kind ?? {}).map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(uCe, {+ label: LF[e] || e,value: cL(t)}, e))]}), m ? /* @__PURE__ */ (0, x.jsxs)("div", {@@ -49778,18 +49791,18 @@ function dCe() {}//#endregion//#region src/react/data-cleanup/organize-card.tsx-var fCe = (e) => `将按这两份模板改动「${e}」上的文件名与目录,目标已存在的行会整行跳过。这一批可以从「回滚上一批」整批退回。`, pCe = "将把上一批整理动过的文件退回整理前的名字与位置,账本路径跟着退回。退回后这一批不再出现在这里。", mCe = 8;-function hCe({ plan: e }) {+var pCe = (e) => `将按这两份模板改动「${e}」上的文件名与目录,目标已存在的行会整行跳过。这一批可以从「回滚上一批」整批退回。`, mCe = "将把上一批整理动过的文件退回整理前的名字与位置,账本路径跟着退回。退回后这一批不再出现在这里。", hCe = 8;+function gCe({ plan: e }) {return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)("ol", {className: "mt-2 flex min-w-0 flex-col gap-1",- children: e.rows.slice(0, mCe).map((e) => /* @__PURE__ */ (0, x.jsxs)("li", {+ children: e.rows.slice(0, hCe).map((e) => /* @__PURE__ */ (0, x.jsxs)("li", {className: "flex min-w-0 items-center gap-2 text-caption-1-regular text-text-secondary",children: [/* @__PURE__ */ (0, x.jsx)("span", {"data-middle-truncate": !0,title: e.current_path,className: "min-w-0 truncate",- children: QF(e.current_path)+ children: $F(e.current_path)}),/* @__PURE__ */ (0, x.jsx)("span", {"aria-hidden": !0,@@ -49799,7 +49812,7 @@ function hCe({ plan: e }) {"data-middle-truncate": !0,title: e.target_path,className: "min-w-0 truncate text-text-primary",- children: QF(e.target_path)+ children: $F(e.target_path)})]}, e.current_path))@@ -49808,10 +49821,10 @@ function hCe({ plan: e }) {children: "只列出前 8 行,完整计划在计划 CSV 里。"}) : null] });}-function gCe({ toast: e, failure: t }) {+function _Ce({ toast: e, failure: t }) {let n = dt({- queryKey: XF,- queryFn: ({ signal: e }) => ZF(e)+ queryKey: ZF,+ queryFn: ({ signal: e }) => QF(e)}), r = n.data, i = r?.locations ?? [], [a, o] = (0, b.useState)(""), s = i.some((e) => e.location === a) ? a : i[0]?.location ?? "", c = r?.templates?.[s], [l, u] = (0, b.useState)(null), d = l?.location === s ? l : {location: s,file: c?.file ?? "",@@ -49830,25 +49843,25 @@ function gCe({ toast: e, failure: t }) {m(t), (t === "dir" ? g : h).current?.focus();}}), y = iL({- queryKey: XF,- queryFn: ({ signal: e }) => ZF(e),+ queryKey: ZF,+ queryFn: ({ signal: e }) => QF(e),start: Vxe,jobOf: (e) => e,withJob: Uxe,onStarted: () => v.reset(),onFinish: (n) => {if (U.invalidateQueries({- queryKey: XF,+ queryKey: ZF,exact: !0}), n.status !== "complete") return;- let { text: r, failed: i } = eI(n);+ let { text: r, failed: i } = tI(n);i ? t("按模板整理", /* @__PURE__ */ Error(`${i} 行未能处理`)) : e(r.replace(/。$/, ""));}}), S = y.running || y.start.isPending, C = v.data, w = Number(C?.counts?.change || 0), T = an[s] || s, E = (r?.placeholders ?? []).map((e) => `{${e.key}} ${e.label}`).join(" · "), D = () => {!v.isPending && s && (m(null), v.mutate(_()));}, O = () => void ms({title: "按模板整理文件",- body: fCe(T),+ body: pCe(T),confirmLabel: "整理文件",onConfirm: async () => {let e = _();@@ -49865,13 +49878,13 @@ function gCe({ toast: e, failure: t }) {}}), k = () => void ms({title: "回滚上一批整理",- body: pCe,+ body: mCe,confirmLabel: "回滚整理",onConfirm: () => y.start.mutateAsync({ kind: "rollback" })}), A = null, j = y.job, M = y.outcome;if (j?.status === "running") {let e = j.message || j.stage || "正在整理文件…";- A = /* @__PURE__ */ (0, x.jsx)($I, {+ A = /* @__PURE__ */ (0, x.jsx)(eL, {embedded: !0,label: e,value: Math.min(j.checked || 0, j.total || 0),@@ -49883,7 +49896,7 @@ function gCe({ toast: e, failure: t }) {children: M.error || "请查看任务记录,核对已处理的文件。"});else if (M) {- let { text: e, failed: t } = eI(M);+ let { text: e, failed: t } = tI(M);A = /* @__PURE__ */ (0, x.jsx)(K, {tone: t ? "warning" : "success",title: t ? "部分完成" : "整理结果",@@ -49893,7 +49906,7 @@ function gCe({ toast: e, failure: t }) {tone: "error",title: "整理失败",children: B(y.start.error)- }) : v.isPending ? A = /* @__PURE__ */ (0, x.jsx)($I, {+ }) : v.isPending ? A = /* @__PURE__ */ (0, x.jsx)(eL, {embedded: !0,label: "正在按模板算计划…"}) : v.isError ? A = /* @__PURE__ */ (0, x.jsx)(K, {@@ -49904,8 +49917,8 @@ function gCe({ toast: e, failure: t }) {tone: "neutral",title: "预览结果",children: Gxe(C)- }), w ? /* @__PURE__ */ (0, x.jsx)(hCe, { plan: C }) : null] }));- return /* @__PURE__ */ (0, x.jsxs)(JI, {+ }), w ? /* @__PURE__ */ (0, x.jsx)(gCe, { plan: C }) : null] }));+ return /* @__PURE__ */ (0, x.jsxs)(YI, {layout: "stack",id: "organize",labelledBy: "cleanup-organize-title",@@ -49929,7 +49942,7 @@ function gCe({ toast: e, failure: t }) {}) : null] }),children: [- /* @__PURE__ */ (0, x.jsx)(qI, {+ /* @__PURE__ */ (0, x.jsx)(JI, {id: "cleanup-organize-title",gap: "medium",children: "整理"@@ -49959,10 +49972,10 @@ function gCe({ toast: e, failure: t }) {children: i.map((e) => /* @__PURE__ */ (0, x.jsxs)(rL, {id: e.location,textValue: an[e.location] || e.location,- children: [/* @__PURE__ */ (0, x.jsx)(Yk, { mark: eo[e.location] || "database" }), an[e.location] || e.location]+ children: [/* @__PURE__ */ (0, x.jsx)(Xk, { mark: eo[e.location] || "database" }), an[e.location] || e.location]}, e.location))}) : null,- /* @__PURE__ */ (0, x.jsx)(pN, {+ /* @__PURE__ */ (0, x.jsx)(mN, {label: "文件名模板",placeholder: "{number}[ {title}]",value: d.file,@@ -49973,7 +49986,7 @@ function gCe({ toast: e, failure: t }) {f({ file: e }), m(null);}}),- /* @__PURE__ */ (0, x.jsx)(pN, {+ /* @__PURE__ */ (0, x.jsx)(mN, {label: "目录模板",placeholder: "留空表示原地改名",value: d.dir,@@ -50018,56 +50031,56 @@ function gCe({ toast: e, failure: t }) {}//#endregion//#region src/react/data-cleanup/orphan-records.ts-var _Ce = "/api/orphan-records", vCe = "/api/orphan-records/attach", yCe = ["orphan-records"], bCe = [+var vCe = "/api/orphan-records", yCe = "/api/orphan-records/attach", bCe = ["orphan-records"], xCe = [["asset_preference", "喜欢与理由"],["watch_queue", "稍后看"],["playlist_item", "播放列表"],["asset_quality_goal", "寻找更好版本"],["activity_event", "观看历史"],["asset_tag_preference", "隐藏标签"]-], xCe = (e) => V(_Ce, e), SCe = (e, t) => H(vCe, {+], SCe = (e) => V(vCe, e), CCe = (e, t) => H(yCe, {id: e,target: t-}), CCe = (e) => H(ZP, {+}), wCe = (e) => H(QP, {ids: [e],operation: "delete"-}), wCe = (e) => [+}), TCe = (e) => [e.rating ? `评分 ${e.rating}` : "",e.play_count ? `播放 ${Number(e.play_count).toLocaleString()} 次` : e.last_played ? "播放过" : "",e.o_count ? `高潮 ${Number(e.o_count).toLocaleString()} 次` : ""-], TCe = (e) => [...bCe.filter(([t]) => e[t]).map(([t, n]) => `${n} ${Number(e[t]).toLocaleString()}`), ...wCe(e)].filter(Boolean).join(" · "), ECe = (e) => e ? `${Math.round(e / 60)} 分钟` : "", DCe = (e) => [e.name, ECe(e.duration)].filter(Boolean).join(" · "), OCe = vN("play"), kCe = () => U.invalidateQueries({- queryKey: yCe,+], ECe = (e) => [...xCe.filter(([t]) => e[t]).map(([t, n]) => `${n} ${Number(e[t]).toLocaleString()}`), ...TCe(e)].filter(Boolean).join(" · "), DCe = (e) => e ? `${Math.round(e / 60)} 分钟` : "", OCe = (e) => [e.name, DCe(e.duration)].filter(Boolean).join(" · "), kCe = yN("play"), ACe = () => U.invalidateQueries({+ queryKey: bCe,exact: !0});-function ACe({ item: e, toast: t }) {+function jCe({ item: e, toast: t }) {let [n, r] = (0, b.useState)(e.candidates[0]?.id ?? null), i = ft({- mutationFn: () => SCe(e.id, Number(n)),+ mutationFn: () => CCe(e.id, Number(n)),onSuccess: (e) => {- t(`记录已接到新文件,批次 ${e.batch}`), kCe();+ t(`记录已接到新文件,批次 ${e.batch}`), ACe();},onError: (e) => t(B(e))}), a = ft({- mutationFn: () => CCe(e.id),+ mutationFn: () => wCe(e.id),onSuccess: (n) => {- t(n.blocked.length ? `${e.name} 的文件又回到盘上,没有删除;下一次扫描会把它接回在库` : `已彻底删除 ${e.name}`), kCe();+ t(n.blocked.length ? `${e.name} 的文件又回到盘上,没有删除;下一次扫描会把它接回在库` : `已彻底删除 ${e.name}`), ACe();}}), o = () => {ms({title: "彻底删除",- body: `将删除「${e.name}」这一条和它带的记录(${TCe(e.records)})。此操作不可撤销。`,+ body: `将删除「${e.name}」这一条和它带的记录(${ECe(e.records)})。此操作不可撤销。`,confirmLabel: "彻底删除",danger: !0,onConfirm: () => a.mutateAsync()});}, s = i.isPending || a.isPending;- return /* @__PURE__ */ (0, x.jsxs)($M, {+ return /* @__PURE__ */ (0, x.jsxs)(eN, {id: e.id,children: [- /* @__PURE__ */ (0, x.jsx)(tN, { children: /* @__PURE__ */ (0, x.jsxs)("span", {+ /* @__PURE__ */ (0, x.jsx)(nN, { children: /* @__PURE__ */ (0, x.jsxs)("span", {className: "flex min-w-0 items-center gap-3",children: [/* @__PURE__ */ (0, x.jsxs)("span", {className: "relative inline-grid aspect-16/10 w-24 flex-none place-items-center max-cleanup-tight:hidden overflow-hidden rounded-lg border border-separator-border bg-background-tertiary-default text-text-tertiary",- children: [/* @__PURE__ */ (0, x.jsx)(OCe, {+ children: [/* @__PURE__ */ (0, x.jsx)(kCe, {"aria-hidden": !0,className: "size-5"}), e.has_thumb ? /* @__PURE__ */ (0, x.jsx)("img", {@@ -50089,11 +50102,11 @@ function ACe({ item: e, toast: t }) {})]})]}) }),- /* @__PURE__ */ (0, x.jsx)(tN, { children: /* @__PURE__ */ (0, x.jsx)("span", {+ /* @__PURE__ */ (0, x.jsx)(nN, { children: /* @__PURE__ */ (0, x.jsx)("span", {className: "block min-w-28",- children: TCe(e.records)+ children: ECe(e.records)}) }),- /* @__PURE__ */ (0, x.jsx)(tN, { children: e.candidates.length ? /* @__PURE__ */ (0, x.jsx)(nL, {+ /* @__PURE__ */ (0, x.jsx)(nN, { children: e.candidates.length ? /* @__PURE__ */ (0, x.jsx)(nL, {"aria-label": `把 ${e.name} 的记录接到哪个文件`,className: "w-52",selectedKey: n,@@ -50102,14 +50115,14 @@ function ACe({ item: e, toast: t }) {},children: e.candidates.map((e) => /* @__PURE__ */ (0, x.jsx)(rL, {id: e.id,- textValue: DCe(e),- children: DCe(e)+ textValue: OCe(e),+ children: OCe(e)}, e.id))}) : /* @__PURE__ */ (0, x.jsx)("span", {className: "text-text-secondary",children: "没有番号或文件名对得上的文件"}) }),- /* @__PURE__ */ (0, x.jsx)(tN, { children: /* @__PURE__ */ (0, x.jsxs)("span", {+ /* @__PURE__ */ (0, x.jsx)(nN, { children: /* @__PURE__ */ (0, x.jsxs)("span", {className: "flex flex-wrap gap-2",children: [e.candidates.length ? /* @__PURE__ */ (0, x.jsx)(G, {size: "small",@@ -50129,23 +50142,23 @@ function ACe({ item: e, toast: t }) {]});}-function jCe({ toast: e }) {+function MCe({ toast: e }) {let t = dt({- queryKey: yCe,- queryFn: ({ signal: e }) => xCe(e)+ queryKey: bCe,+ queryFn: ({ signal: e }) => SCe(e)}), n = t.data?.items ?? [], r = t.data?.total ?? n.length;return !t.isError && !n.length ? null : /* @__PURE__ */ (0, x.jsxs)("section", {id: "orphan-records","aria-labelledby": "orphan-records-title",className: "flex scroll-mt-20 flex-col gap-4",- children: [/* @__PURE__ */ (0, x.jsx)(KI, {+ children: [/* @__PURE__ */ (0, x.jsx)(qI, {id: "orphan-records-title",children: "孤儿记录"- }), /* @__PURE__ */ (0, x.jsxs)(JI, {+ }), /* @__PURE__ */ (0, x.jsxs)(YI, {layout: "stack",labelledBy: "orphan-records-box",children: [- /* @__PURE__ */ (0, x.jsx)(qI, {+ /* @__PURE__ */ (0, x.jsx)(JI, {id: "orphan-records-box",gap: "small",children: "文件已消失的作品"@@ -50161,25 +50174,25 @@ function jCe({ toast: e }) {}) : /* @__PURE__ */ (0, x.jsx)(sL, { children: /* @__PURE__ */ (0, x.jsxs)(oL, {"aria-label": "文件已消失的作品",size: "sm",- children: [/* @__PURE__ */ (0, x.jsxs)(qM, { children: [- /* @__PURE__ */ (0, x.jsx)(JM, {+ children: [/* @__PURE__ */ (0, x.jsxs)(JM, { children: [+ /* @__PURE__ */ (0, x.jsx)(YM, {id: "item",isRowHeader: !0,children: "作品"}),- /* @__PURE__ */ (0, x.jsx)(JM, {+ /* @__PURE__ */ (0, x.jsx)(YM, {id: "records",children: "带的记录"}),- /* @__PURE__ */ (0, x.jsx)(JM, {+ /* @__PURE__ */ (0, x.jsx)(YM, {id: "target",children: "接到"}),- /* @__PURE__ */ (0, x.jsx)(JM, {+ /* @__PURE__ */ (0, x.jsx)(YM, {id: "actions",children: "操作"})- ] }), /* @__PURE__ */ (0, x.jsx)(XM, { children: n.map((t) => /* @__PURE__ */ (0, x.jsx)(ACe, {+ ] }), /* @__PURE__ */ (0, x.jsx)(ZM, { children: n.map((t) => /* @__PURE__ */ (0, x.jsx)(jCe, {item: t,toast: e}, t.id)) })]@@ -50194,19 +50207,19 @@ function jCe({ toast: e }) {}//#endregion//#region src/react/data-cleanup/resource-sync-card.tsx-var MCe = vN("git-compare"), NCe = vN("rotate-cw"), PCe = "暂时无法读取进度,正在重新连接…", lL = "清理失效条目", FCe = "inline-grid w-full grid-flow-col auto-cols-fr gap-4 max-plain-stat-pair:grid-flow-row max-plain-stat-pair:grid-cols-2 max-plain-stat-single:grid-cols-1", uL = (e) => Number(e || 0).toLocaleString();-function ICe({ scan: e }) {+var NCe = yN("git-compare"), PCe = yN("rotate-cw"), FCe = "暂时无法读取进度,正在重新连接…", lL = "清理失效条目", ICe = "inline-grid w-full grid-flow-col auto-cols-fr gap-4 max-plain-stat-pair:grid-flow-row max-plain-stat-pair:grid-cols-2 max-plain-stat-single:grid-cols-1", uL = (e) => Number(e || 0).toLocaleString();+function LCe({ scan: e }) {let t = e.cache ?? {files: 0,bytes: 0};return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)("div", {- className: FCe,+ className: ICe,children: (e.sources ?? []).map((e) => /* @__PURE__ */ (0, x.jsx)("article", {- className: CI(),- children: /* @__PURE__ */ (0, x.jsx)(wI, {+ className: wI(),+ children: /* @__PURE__ */ (0, x.jsx)(TI, {label: Xxe[e.location] || "媒体来源",- mark: /* @__PURE__ */ (0, x.jsx)(Yk, { mark: eo[e.location] ?? "database" }),+ mark: /* @__PURE__ */ (0, x.jsx)(Xk, { mark: eo[e.location] ?? "database" }),aside: /* @__PURE__ */ (0, x.jsx)("span", {className: e.online ? "text-notification-success-foreground" : "text-text-error-primary",children: e.online ? "可访问" : "离线,已跳过"@@ -50217,35 +50230,35 @@ function ICe({ scan: e }) {})}, e.location))}), /* @__PURE__ */ (0, x.jsxs)("div", {- className: FCe,+ className: ICe,children: [/* @__PURE__ */ (0, x.jsx)("article", {- className: CI(),- children: /* @__PURE__ */ (0, x.jsx)(wI, {+ className: wI(),+ children: /* @__PURE__ */ (0, x.jsx)(TI, {label: "待永久删除",- figure: `${uL(lI(e))} 项`,+ figure: `${uL(uI(e))} 项`,meta: "文件已不在盘上,含回收站"})}),/* @__PURE__ */ (0, x.jsx)("article", {- className: CI(),- children: /* @__PURE__ */ (0, x.jsx)(wI, {+ className: wI(),+ children: /* @__PURE__ */ (0, x.jsx)(TI, {label: "将标为已消失",figure: `${uL(e.vanish)} 项`,meta: "带个人记录,记录留着"})}),/* @__PURE__ */ (0, x.jsx)("article", {- className: CI(),- children: /* @__PURE__ */ (0, x.jsx)(wI, {+ className: wI(),+ children: /* @__PURE__ */ (0, x.jsx)(TI, {label: "空文件夹",figure: `${uL(e.empty)} 个`,meta: "保留来源根目录"})}),/* @__PURE__ */ (0, x.jsx)("article", {- className: CI(),- children: /* @__PURE__ */ (0, x.jsx)(wI, {+ className: wI(),+ children: /* @__PURE__ */ (0, x.jsx)(TI, {label: "可清理的缓存",figure: `${uL(t.files)} 个`,meta: t.files ? Qt(t.bytes) : ""@@ -50254,25 +50267,25 @@ function ICe({ scan: e }) {]})] });}-function LCe({ toast: e }) {+function RCe({ toast: e }) {let t = iL({- queryKey: iI,- queryFn: ({ signal: e }) => oI(e),+ queryKey: aI,+ queryFn: ({ signal: e }) => sI(e),start: qxe,onFinish: (t) => {if (U.invalidateQueries({- queryKey: gI,+ queryKey: _I,exact: !0}), U.invalidateQueries({- queryKey: rI,+ queryKey: iI,exact: !0}), t.status !== "complete") return;- let { done: n, left: r } = fI(t);+ let { done: n, left: r } = pI(t);r ? e(`已完成 ${uL(n)} 项,${uL(r)} 项没有处理`, { warning: !0 }) : e("已清理失效条目");}}), n = iL({- queryKey: rI,- queryFn: ({ signal: e }) => aI(e),+ queryKey: iI,+ queryFn: ({ signal: e }) => oI(e),start: Kxe,onStarted: () => t.dismiss()}), r = n.job, i = n.running || n.start.isPending, a = t.running || t.start.isPending, o = r?.status === "complete" || r?.status === "failed", s = i ? "扫描中" : o ? "重新扫描" : "检查文件", c = (e) => void ms({@@ -50282,7 +50295,7 @@ function LCe({ toast: e }) {danger: !0,onConfirm: () => t.start.mutateAsync(e.scan_id || "")}), l = t.outcome, u = (e) => {- let t = fI(e).left > 0;+ let t = pI(e).left > 0;return /* @__PURE__ */ (0, x.jsx)(K, {tone: t ? "warning" : "success",title: t ? "部分完成" : "清理结果",@@ -50295,7 +50308,7 @@ function LCe({ toast: e }) {children: l.error || "请查看任务记录,核对已处理的文件。"});else if (l) f = u(l);- else if (t.running) d = /* @__PURE__ */ (0, x.jsx)($I, {+ else if (t.running) d = /* @__PURE__ */ (0, x.jsx)(eL, {embedded: !0,label: t.job?.message || "正在复核并清理失效条目…"});@@ -50307,11 +50320,11 @@ function LCe({ toast: e }) {else if (n.query.isError && r) f = /* @__PURE__ */ (0, x.jsx)(K, {tone: "neutral",title: "任务状态",- children: PCe+ children: FCe});else if (r?.status === "running") {let e = Zxe(r);- d = /* @__PURE__ */ (0, x.jsx)($I, {+ d = /* @__PURE__ */ (0, x.jsx)(eL, {embedded: !0,label: e,value: r.completed_sources,@@ -50330,7 +50343,7 @@ function LCe({ toast: e }) {else if (r?.status === "complete") {let e = Yxe(r);f = /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [- /* @__PURE__ */ (0, x.jsx)(ICe, { scan: r }),+ /* @__PURE__ */ (0, x.jsx)(LCe, { scan: r }),e ? /* @__PURE__ */ (0, x.jsx)(K, {tone: "neutral",title: "清理内容",@@ -50359,16 +50372,16 @@ function LCe({ toast: e }) {"aria-labelledby": "resource-sync-title",className: "flex scroll-mt-20 flex-col gap-4",children: [- /* @__PURE__ */ (0, x.jsx)(KI, {+ /* @__PURE__ */ (0, x.jsx)(qI, {id: "resource-sync-title",children: "资源同步"}),- /* @__PURE__ */ (0, x.jsxs)(JI, {+ /* @__PURE__ */ (0, x.jsxs)(YI, {layout: "split",labelledBy: "resource-sync-box",footer: /* @__PURE__ */ (0, x.jsx)(G, {"data-resource-scan": !0,- leadingIcon: o && !i ? NCe : MCe,+ leadingIcon: o && !i ? PCe : NCe,...q(i),onClick: () => {i || n.start.mutate();@@ -50376,7 +50389,7 @@ function LCe({ toast: e }) {children: s}),children: [- /* @__PURE__ */ (0, x.jsx)(qI, {+ /* @__PURE__ */ (0, x.jsx)(JI, {id: "resource-sync-box",gap: "small",children: "文件与记录核对"@@ -50408,10 +50421,10 @@ function dL(e, t) {function fL({ section: e, label: t, icon: n, value: r, open: i }) {return /* @__PURE__ */ (0, x.jsx)("button", {type: "button",- className: CI({ interactive: !0 }),+ className: wI({ interactive: !0 }),"data-cleanup-go": e,onClick: () => i(e),- children: /* @__PURE__ */ (0, x.jsx)(wI, {+ children: /* @__PURE__ */ (0, x.jsx)(TI, {label: t,icon: n,figure: r.figure,@@ -50419,58 +50432,58 @@ function fL({ section: e, label: t, icon: n, value: r, open: i }) {})});}-var RCe = vN("square-check-big"), zCe = vN("sparkles"), BCe = vN("file-stack"), VCe = vN("file-archive"), HCe = vN("trash"), UCe = [- pI,- gF,- XP-], WCe = () => {- for (let e of UCe) U.invalidateQueries({+var zCe = yN("square-check-big"), BCe = yN("sparkles"), VCe = yN("file-stack"), HCe = yN("file-archive"), UCe = yN("trash"), WCe = [+ mI,+ _F,+ ZP+], GCe = () => {+ for (let e of WCe) U.invalidateQueries({queryKey: e,exact: !0});};-function GCe({ toast: e, failure: t, open: n }) {+function KCe({ toast: e, failure: t, open: n }) {let r = dt({- queryKey: pI,- queryFn: ({ signal: e }) => _I(e)+ queryKey: mI,+ queryFn: ({ signal: e }) => vI(e)}), i = dt({- queryKey: gF,- queryFn: ({ signal: e }) => _F(e)+ queryKey: _F,+ queryFn: ({ signal: e }) => vF(e)}), a = dt({- queryKey: XP,- queryFn: ({ signal: e }) => QP(e)+ queryKey: ZP,+ queryFn: ({ signal: e }) => $P(e)}), o = dt({- queryKey: mI,- queryFn: ({ signal: e }) => vI(e)- }), s = dt({- queryKey: gI,+ queryKey: hI,queryFn: ({ signal: e }) => yI(e)+ }), s = dt({+ queryKey: _I,+ queryFn: ({ signal: e }) => bI(e)}), c = dt({queryKey: xn,queryFn: ({ signal: e }) => Sn(e)}), l = (t) => e(t);- return /* @__PURE__ */ (0, x.jsxs)(kk, { children: [+ return /* @__PURE__ */ (0, x.jsxs)(Ak, { children: [/* @__PURE__ */ (0, x.jsxs)("div", {className: fSe,children: [/* @__PURE__ */ (0, x.jsx)(fL, {section: "review",label: "人工复核",- icon: RCe,+ icon: zCe,open: n,value: dL(r, aSe)}),/* @__PURE__ */ (0, x.jsx)(fL, {section: "quality",label: "高清版",- icon: zCe,+ icon: BCe,open: n,value: dL(i, (e) => ({ figure: `${Number(e.total || 0).toLocaleString()} 个待升级` }))}),/* @__PURE__ */ (0, x.jsx)(fL, {section: "duplicates",label: "重复文件",- icon: BCe,+ icon: VCe,open: n,value: dL(a, (e) => Number(e.total || 0) ? {figure: `${Number(e.total).toLocaleString()} 组 · ${Number(e.files || 0).toLocaleString()} 个文件`,@@ -50480,7 +50493,7 @@ function GCe({ toast: e, failure: t, open: n }) {/* @__PURE__ */ (0, x.jsx)(fL, {section: "ads",label: "垃圾文件",- icon: VCe,+ icon: HCe,open: n,value: dL(o, (e) => ({figure: `${Number(e.pending_total || 0).toLocaleString()} 个待判断`,@@ -50490,7 +50503,7 @@ function GCe({ toast: e, failure: t, open: n }) {/* @__PURE__ */ (0, x.jsx)(fL, {section: "trash",label: "回收站",- icon: HCe,+ icon: UCe,open: n,value: dL(s, (e) => ({figure: `${Number(e.total || 0).toLocaleString()} 项在回收站`,@@ -50505,31 +50518,31 @@ function GCe({ toast: e, failure: t, open: n }) {/* @__PURE__ */ (0, x.jsx)("div", {id: "libraryProcessing",className: "scroll-mt-20",- children: /* @__PURE__ */ (0, x.jsx)(tL, {+ children: /* @__PURE__ */ (0, x.jsx)(WSe, {toast: l,monitor: !0,- onComplete: WCe+ onComplete: GCe})}),/* @__PURE__ */ (0, x.jsx)("div", {id: "mediaRepair",- children: /* @__PURE__ */ (0, x.jsx)(eCe, {})+ children: /* @__PURE__ */ (0, x.jsx)(tCe, {})}),- /* @__PURE__ */ (0, x.jsx)(gCe, {+ /* @__PURE__ */ (0, x.jsx)(_Ce, {toast: l,failure: t})]}),- /* @__PURE__ */ (0, x.jsx)(dCe, {}),- /* @__PURE__ */ (0, x.jsx)(jCe, { toast: l }),- sI(c.data) ? /* @__PURE__ */ (0, x.jsx)(LCe, { toast: e }) : null+ /* @__PURE__ */ (0, x.jsx)(fCe, {}),+ /* @__PURE__ */ (0, x.jsx)(MCe, { toast: l }),+ cI(c.data) ? /* @__PURE__ */ (0, x.jsx)(RCe, { toast: e }) : null] });}//#endregion//#region src/react/feed-new/feed-new.ts-var pL = (e) => ["feed-new", e ?? "home"], KCe = 8, qCe = 1500;-function JCe(e, t, n) {+var pL = (e) => ["feed-new", e ?? "home"], qCe = 8, JCe = 1500;+function YCe(e, t, n) {let r = document.createElement("template");r.innerHTML = e;let i = [...r.content.querySelectorAll("img[src]")].slice(0, t).map((e) => {@@ -50540,27 +50553,27 @@ function JCe(e, t, n) {setTimeout(e, n);})]);}-async function YCe(e, t, n) {+async function XCe(e, t, n) {let r = new URLSearchParams({ limit: "12" });e && r.set("entity", String(e));let i = await Dt(`/api/feeds/discoveries?${r}`).catch(() => null), a = i && !i.error ? i : null, o = a?.items || [], s = t(a);- return n && o.length && await JCe(s, KCe, qCe), {+ return n && o.length && await YCe(s, qCe, JCe), {items: o,html: s};}var mL = (e, t, n = !1) => ({queryKey: pL(e),- queryFn: () => YCe(e, t, n),+ queryFn: () => XCe(e, t, n),staleTime: Infinity-}), XCe = (e, t) => Dt("/api/feeds/discovery", {+}), ZCe = (e, t) => Dt("/api/feeds/discovery", {method: "POST",body: JSON.stringify({action: t,ids: [e]})}).then(() => void 0, () => void 0);-async function ZCe(e) {+async function QCe(e) {U.removeQueries({ queryKey: pL(null) }), await U.fetchQuery(mL(null, e.helpers.feedRowHtml, e.host.getAttribute("aria-busy") === "true"));}//#endregion@@ -50582,44 +50595,44 @@ var hL = ["entity",e,t-], QCe = (e, t, n, r) => [+], $Ce = (e, t, n, r) => ["entity-items",e,t,n,r-], $Ce = (e, t, n, r) => [+], ewe = (e, t, n, r) => ["entity-photos",e,t,n,r-], vL = (e) => String(e || "").split(",").filter(Boolean), ewe = (e, t) => vL(e).includes(t);-function twe(e, t, n, r, i = 0) {+], vL = (e) => String(e || "").split(",").filter(Boolean), twe = (e, t) => vL(e).includes(t);+function nwe(e, t, n, r, i = 0) {let a = new URLSearchParams();a.set(e, t), e === "tag" && (a.set("tag", [.../* @__PURE__ */ new Set([t, ...vL(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 hL) n[t] && t !== e && t !== "sort" && a.set(t, n[t]);return r.jav && a.set("jav", "1"), a;}-async function nwe(e, t, n, r, i, a) {- return await Dt(`/api/items?${twe(e, t, n, r, i)}`, a ? { signal: a } : {});+async function rwe(e, t, n, r, i, a) {+ return await Dt(`/api/items?${nwe(e, t, n, r, i)}`, a ? { signal: a } : {});}var yL = (e) => {let t = {jav: e.jav,seed: e.seed- }, n = twe(e.kind, e.name, e.filters, t).toString();+ }, n = nwe(e.kind, e.name, e.filters, t).toString();return {- queryKey: QCe(e.kind, e.name, n, e.revision),- queryFn: ({ signal: n }) => nwe(e.kind, e.name, e.filters, t, 0, n),+ queryKey: $Ce(e.kind, e.name, n, e.revision),+ queryFn: ({ signal: n }) => rwe(e.kind, e.name, e.filters, t, 0, n),staleTime: Infinity};-}, rwe = (e, t) => ({+}, iwe = (e, t) => ({queryKey: _L(e, t),queryFn: ({ signal: n }) => Dt(`/api/entity?kind=${encodeURIComponent(e)}&name=${encodeURIComponent(t)}`, { signal: n }),staleTime: Infinity});-function iwe(e, t, n, r, i, a) {+function awe(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)}` : ""}`;@@ -50629,9 +50642,9 @@ function iwe(e, t, n, r, i, a) {return n ? `/api/photo-set?id=${n}&limit=120${s}` : r ? `/api/photos?${o}&limit=120${s}` : `/api/photos?${o}`;}var bL = (e, t, n, r) => ({- queryKey: $Ce(e, t, n, r),+ queryKey: ewe(e, t, n, r),queryFn: async ({ pageParam: i }) => {- let a = await Dt(iwe(e, t, n, r, i?.offset || 0, i?.seed || "")).catch((e) => {+ let a = await Dt(awe(e, t, n, r, i?.offset || 0, i?.seed || "")).catch((e) => {if (i) throw e;return { error: String(e) };});@@ -50645,7 +50658,7 @@ var bL = (e, t, n, r) => ({} : void 0,staleTime: Infinity}), xL = (e) => e && !e.error ? (e.sets || []).filter((e) => e.kind === "code") : [];-async function awe(e) {+async function owe(e) {let { kind: t, name: n } = e;for (let e of ["entity",@@ -50657,7 +50670,7 @@ async function awe(e) {n] });e.resolvedEntity?.id && U.setQueryData(_L(t, n), e.resolvedEntity), await Promise.all([- U.fetchQuery(rwe(t, n)).then((t) => !t || t.error || !t.id ? null : (U.removeQueries({ queryKey: pL(Number(t.id)) }), U.fetchQuery(mL(Number(t.id), e.helpers.feedRowHtml, !0)))),+ U.fetchQuery(iwe(t, n)).then((t) => !t || t.error || !t.id ? null : (U.removeQueries({ queryKey: pL(Number(t.id)) }), U.fetchQuery(mL(Number(t.id), e.helpers.feedRowHtml, !0)))),U.fetchQuery(yL(e)),U.fetchInfiniteQuery(bL(t, n, 0, "")),e.media.media === "photos" && e.media.set ? U.fetchInfiniteQuery(bL(t, n, e.media.set, "")) : null@@ -50672,10 +50685,10 @@ var SL = [["western", "西方"],["blogger", "网黄博主"],["animation", "动画作者"]-], owe = "mb-4 flex flex-wrap gap-2";-function swe(e) {+], swe = "mb-4 flex flex-wrap gap-2";+function cwe(e) {let t = SL.some(([t]) => t === e) ? e : "all";- return `<div class="peach-react"><div aria-label="身份分类" class="${owe}">${SL.map(([e, n]) => NI({+ return `<div class="peach-react"><div aria-label="身份分类" class="${swe}">${SL.map(([e, n]) => PI({variant: e === t ? "primary" : "secondary",size: "small",label: n,@@ -50684,43 +50697,43 @@ function swe(e) {}//#endregion//#region src/react/follow/online-vocab.ts-var cwe = "/api/follow/authors", lwe = "/api/follow/tags", uwe = (e) => [+var lwe = "/api/follow/authors", uwe = "/api/follow/tags", dwe = (e) => ["follow","authors",e-], dwe = (e, t) => [+], fwe = (e, t) => ["follow","tags",e,t];-function fwe(e, t, n) {+function pwe(e, t, n) {let r = new URLSearchParams({limit: String(t),offset: String(n)});- return e && r.set("q", e), `${cwe}?${r}`;+ return e && r.set("q", e), `${lwe}?${r}`;}-function pwe(e, t, n, r) {+function mwe(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), `${lwe}?${i}`;+ return t && t !== "all" && i.set("type", t), e && i.set("q", e), `${uwe}?${i}`;}-var mwe = (e, t, n, r) => V(fwe(e, t, n), r), hwe = (e, t, n, r, i) => V(pwe(e, t, n, r), i), gwe = "/api/index", _we = {+var hwe = (e, t, n, r) => V(pwe(e, t, n), r), gwe = (e, t, n, r, i) => V(mwe(e, t, n, r), i), _we = "/api/index", vwe = {performers: "艺人",creators: "卖家",studios: "厂牌",agencies: "事务所",tags: "标签"-}, vwe = {+}, ywe = {performers: "performer",creators: "creator",studios: "studio",agencies: "agency"-}, ywe = [+}, bwe = [["all", "全部"],["meta", "影片属性"],["relationship", "人物关系"],@@ -50730,7 +50743,7 @@ var mwe = (e, t, n, r) => V(fwe(e, t, n), r), hwe = (e, t, n, r, i) => V(pwe(e,["story", "故事剧情"],["position", "性交体位"],["general", "其他内容"]-], bwe = [+], xwe = [["all", "全部"],["general", "通用"],["artist", "创作者"],@@ -50747,14 +50760,14 @@ function EL(e) {kind: "performers",scope: "local"});- let t = e.kind === "tags" || e.kind === "performers" ? e.scope : "local", n = (e.kind === "tags" ? t === "online" ? bwe : ywe : e.kind === "performers" && t === "local" ? SL : []).some(([t]) => t === e.category);+ let t = e.kind === "tags" || e.kind === "performers" ? e.scope : "local", n = (e.kind === "tags" ? t === "online" ? xwe : bwe : e.kind === "performers" && t === "local" ? SL : []).some(([t]) => t === e.category);return {...e,scope: t,category: n ? e.category : "all"};}-function xwe(e) {+function Swe(e) {let { kind: t, q: n, scope: r, category: i } = e;return t === "tags" ? r === "online" ? {what: "online-tags",@@ -50774,21 +50787,21 @@ function xwe(e) {...i && i !== "all" ? { category: i } : {}};}-var Swe = (e, t, n = "all") => [+var Cwe = (e, t, n = "all") => ["index",e,t,...e === "tags" || n !== "all" ? [n] : []];-function Cwe(e, t, n, r, i) {+function wwe(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), `${gwe}?${a}`;+ return t && a.set("q", t), n !== "all" && a.set("category", n), `${_we}?${a}`;}-function wwe(e) {+function Twe(e) {let t = e.what === "people" || e.what === "online-authors" ? CL.people : CL.tags, n = {initialPageParam: 0,getNextPageParam: (e, t) => e.has_more ? t.reduce((e, t) => e + t.items.length, 0) : void 0@@ -50796,28 +50809,28 @@ function wwe(e) {switch (e.what) {case "people": return {...n,- queryKey: Swe(e.kind, e.q, e.category || "all"),- queryFn: ({ pageParam: n, signal: r }) => V(Cwe(e.kind, e.q, e.category || "all", t, n), r)+ queryKey: Cwe(e.kind, e.q, e.category || "all"),+ queryFn: ({ pageParam: n, signal: r }) => V(wwe(e.kind, e.q, e.category || "all", t, n), r)};case "tags": return {...n,- queryKey: Swe("tags", e.q, e.category),- queryFn: ({ pageParam: n, signal: r }) => V(Cwe("tags", e.q, e.category, t, n), r)+ queryKey: Cwe("tags", e.q, e.category),+ queryFn: ({ pageParam: n, signal: r }) => V(wwe("tags", e.q, e.category, t, n), r)};case "online-authors": return {...n,- queryKey: uwe(e.q),- queryFn: ({ pageParam: n, signal: r }) => mwe(e.q, t, n, r)+ queryKey: dwe(e.q),+ queryFn: ({ pageParam: n, signal: r }) => hwe(e.q, t, n, r)};case "online-tags": return {...n,- queryKey: dwe(e.q, e.category),- queryFn: ({ pageParam: n, signal: r }) => hwe(e.q, e.category, t, n, r)+ queryKey: fwe(e.q, e.category),+ queryFn: ({ pageParam: n, signal: r }) => gwe(e.q, e.category, t, n, r)};}}-async function Twe(e, t) {- let n = wwe(xwe(EL(e)));+async function Ewe(e, t) {+ let n = Twe(Swe(EL(e)));U.removeQueries({queryKey: n.queryKey,exact: !0@@ -50831,13 +50844,13 @@ async function Twe(e, t) {getNextPageParam: n.getNextPageParam});}-var Ewe = (e) => e ? e.pages.flatMap((e) => e.items) : [], Dwe = (e, t) => `${e.toLocaleString()}${t ? "+" : ""} 项`, DL = (e, t) => e ? `r34-${t || "unknown"}` : t || "general", Owe = (e, t) => e === "agencies" ? `${(t.members || 0).toLocaleString()} 人` : `${(t.n || 0).toLocaleString()} 个视频`, kwe = {+var Dwe = (e) => e ? e.pages.flatMap((e) => e.items) : [], Owe = (e, t) => `${e.toLocaleString()}${t ? "+" : ""} 项`, DL = (e, t) => e ? `r34-${t || "unknown"}` : t || "general", kwe = (e, t) => e === "agencies" ? `${(t.members || 0).toLocaleString()} 人` : `${(t.n || 0).toLocaleString()} 个视频`, Awe = {numeric: !0,sensitivity: "base"};-function Awe(e, t) {+function jwe(e, t) {let n = /* @__PURE__ */ new Map();- for (let r of [...e].sort((e, t) => e.k.localeCompare(t.k, "zh-CN", kwe))) {+ for (let r of [...e].sort((e, t) => e.k.localeCompare(t.k, "zh-CN", Awe))) {let e = nn(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]);}@@ -50845,7 +50858,7 @@ function Awe(e, t) {}//#endregion//#region src/react/index/index-people.tsx-function jwe({ html: e, face: t, company: n, big: r }) {+function Mwe({ html: e, face: t, company: n, big: r }) {let i = (0, b.useRef)(null);return (0, b.useLayoutEffect)(() => {t ? i.current?.style.setProperty("--face", t) : i.current?.style.removeProperty("--face");@@ -50857,18 +50870,18 @@ function jwe({ html: e, face: t, company: n, big: r }) {dangerouslySetInnerHTML: { __html: e }});}-var Mwe = "relative flex cursor-pointer flex-col gap-2 p-3 text-inherit", Nwe = vN("rss");-function Pwe({ name: e, readout: t, big: n, children: r, following: i, onPress: a, ...o }) {+var Nwe = "relative flex cursor-pointer flex-col gap-2 p-3 text-inherit", Pwe = yN("rss");+function Fwe({ name: e, readout: t, big: n, children: r, following: i, onPress: a, ...o }) {return /* @__PURE__ */ (0, x.jsxs)("button", {type: "button",...o,"data-index-cell": "",onClick: a,- className: Ek({+ className: Dk({radius: "plain",padding: "none",interactive: !0,- className: `${Mwe} ${n ? "items-stretch text-left" : "items-center text-center"}`+ className: `${Nwe} ${n ? "items-stretch text-left" : "items-center text-center"}`}),children: [r,@@ -50877,10 +50890,10 @@ function Pwe({ name: e, readout: t, big: n, children: r, following: i, onPress:role: "img","aria-label": "已订阅新作",className: "absolute top-4 right-4 z-2 inline-flex",- children: /* @__PURE__ */ (0, x.jsx)(Ck, {+ children: /* @__PURE__ */ (0, x.jsx)(wk, {variant: "caption",color: "blue",- children: /* @__PURE__ */ (0, x.jsx)(Nwe, {})+ children: /* @__PURE__ */ (0, x.jsx)(Pwe, {})})}) : null,/* @__PURE__ */ (0, x.jsx)("span", {@@ -50896,7 +50909,7 @@ function Pwe({ name: e, readout: t, big: n, children: r, following: i, onPress:]});}-function Fwe({ kind: e, items: t, layout: n, props: r }) {+function Iwe({ kind: e, items: t, layout: n, props: r }) {let i = TL(e), a = n === "big";return /* @__PURE__ */ (0, x.jsx)("div", {"data-index-grid": "",@@ -50904,16 +50917,16 @@ function Fwe({ kind: e, items: t, layout: n, props: r }) {"data-cells": i ? "company" : "people",className: `${i ? "index-grid-company" : "index-grid-person"} gap-3`,children: t.map((t) => {- let n = t.entity_kind || vwe[e], o = r.personAvatar(t, n, a);- return /* @__PURE__ */ (0, x.jsx)(Pwe, {+ let n = t.entity_kind || ywe[e], o = r.personAvatar(t, n, a);+ return /* @__PURE__ */ (0, x.jsx)(Fwe, {"data-k": t.k,"data-kind": n,name: t.k,- readout: `${Owe(e, t)}${t.identity_labels?.length ? " · " + t.identity_labels.join(" / ") : ""}`,+ readout: `${kwe(e, t)}${t.identity_labels?.length ? " · " + t.identity_labels.join(" / ") : ""}`,big: a,following: t.following,onPress: () => r.openEntity(n, t.k),- children: /* @__PURE__ */ (0, x.jsx)(jwe, {+ children: /* @__PURE__ */ (0, x.jsx)(Mwe, {html: o.html,face: o.face,company: i,@@ -50923,14 +50936,14 @@ function Fwe({ kind: e, items: t, layout: n, props: r }) {})});}-function Iwe({ items: e, layout: t, props: n }) {+function Lwe({ items: e, layout: t, props: n }) {let r = t === "big";return /* @__PURE__ */ (0, x.jsx)("div", {"data-index-grid": "","data-layout": t,"data-cells": "people",className: "index-grid-person gap-3",- children: e.map((e) => /* @__PURE__ */ (0, x.jsx)(Pwe, {+ children: e.map((e) => /* @__PURE__ */ (0, x.jsx)(Fwe, {"data-follow-author": e.key,"data-kind": "performer",name: e.k,@@ -50939,7 +50952,7 @@ function Iwe({ 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, x.jsx)(jwe, {+ children: /* @__PURE__ */ (0, x.jsx)(Mwe, {html: n.authorAvatar(e),company: !1,big: r@@ -50953,12 +50966,12 @@ function OL(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 Lwe = /* @__PURE__ */ new WeakSet();-function Rwe() {- if (Lwe.has(document)) return;- Lwe.add(document);+var Rwe = /* @__PURE__ */ new WeakSet();+function zwe() {+ if (Rwe.has(document)) return;+ Rwe.add(document);let e = (e) => {- e.querySelectorAll("input[type=range]").forEach(OL), Vwe(e), zwe(e);+ e.querySelectorAll("input[type=range]").forEach(OL), Hwe(e), Bwe(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]") && OL(t), e(t));@@ -50991,7 +51004,7 @@ function Rwe() {n.matches(":focus-visible") && r.bottom > 0 && r.top < innerHeight ? t.matches(":popover-open") && o(n) : s();}, !0), window.addEventListener("resize", s);}-function zwe(e) {+function Bwe(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;@@ -51015,15 +51028,15 @@ function zwe(e) {r.observe(e);});}-var Bwe = /* @__PURE__ */ new Map();-function Vwe(e) {+var Vwe = /* @__PURE__ */ new Map();+function Hwe(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 = Bwe.get(n) ?? null, i = () => {+ let n = e.className + (e.getAttribute("aria-label") ?? ""), r = Vwe.get(n) ?? null, i = () => {let i = e.querySelector("label:has(input:checked),button[aria-selected=true]");if (!i || !i.offsetWidth) return;let a = {@@ -51032,7 +51045,7 @@ function Vwe(e) {w: i.offsetWidth,h: i.offsetHeight};- Zo(t, r, a, "x"), r = a, Bwe.set(n, a);+ Zo(t, r, a, "x"), r = a, Vwe.set(n, a);};e.addEventListener("change", i);let a = new MutationObserver(i);@@ -51049,8 +51062,8 @@ function Vwe(e) {}//#endregion//#region src/react/photo-lightbox/photo-lightbox.ts-var Hwe = "/vendor/swiper/14.3.0/", Uwe = null, Wwe = () => Uwe ??= Promise.all([new Promise((e, t) => {- let n = `${Hwe}swiper-bundle.min.css`, r = document.querySelector(`link[href="${n}"]`);+var Uwe = "/vendor/swiper/14.3.0/", Wwe = null, Gwe = () => Wwe ??= Promise.all([new Promise((e, t) => {+ let n = `${Uwe}swiper-bundle.min.css`, r = document.querySelector(`link[href="${n}"]`);if (r?.sheet) {e();return;@@ -51064,11 +51077,11 @@ var Hwe = "/vendor/swiper/14.3.0/", Uwe = null, Wwe = () => Uwe ??= Promise.all(return;}let r = document.createElement("script");- r.src = `${Hwe}swiper-bundle.min.js`, r.onload = () => e(window.Swiper), r.onerror = () => t(/* @__PURE__ */ Error("swiper unavailable")), document.head.append(r);+ r.src = `${Uwe}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 Uwe = null, e;+ throw Wwe = null, e;});-function Gwe(e, t, n) {+function Kwe(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);@@ -51089,47 +51102,47 @@ function Gwe(e, t, n) {}};}-var Kwe = (e) => {+var qwe = (e) => {let t = Number(e) || 0;return t ? (t < 1048576 ? `${Math.max(1, Math.round(t / 1024))} KB` : Qt(t)).replace(" ", "\xA0") : "大小未知";-}, qwe = (e) => e.asset?.name || e.name || "未命名图片";-function Jwe(e, t) {+}, Jwe = (e) => e.asset?.name || e.name || "未命名图片";+function Ywe(e, t) {let n = e.asset;- if (n) return [an[n.location ?? ""] || n.location || "来源未知", Kwe(n.size)].join(" · ");+ if (n) return [an[n.location ?? ""] || n.location || "来源未知", qwe(n.size)].join(" · ");let r = t?.[0] && t[1] ? `${t[0]} × ${t[1]}` : "";return [e.source || "在线图片",r,- e.size ? Kwe(e.size) : ""+ e.size ? qwe(e.size) : ""].filter(Boolean).join(" · ");}//#endregion//#region src/react/photo-lightbox/photo-lightbox-dialog.tsx-var kL = null, AL = null, Ywe = 0;-function Xwe() {+var kL = null, AL = null, Xwe = 0;+function Zwe() {return (!AL || !kL?.isConnected) && (AL?.unmount(), kL = document.createElement("div"), kL.className = "peach-react", kL.dataset.photoLightboxHost = "", document.body.append(kL), AL = (0, ht.createRoot)(kL)), AL;}-async function Zwe(e, t, n) {+async function Qwe(e, t, n) {if (!t.length || e < 0 || e >= t.length) return;let r;try {- r = await Wwe();+ r = await Gwe();} catch {window.open(t[e].src, "_blank", "noopener");return;}- let i = Xwe();- (0, mt.flushSync)(() => i.render(/* @__PURE__ */ (0, x.jsx)(Qwe, {+ let i = Zwe();+ (0, mt.flushSync)(() => i.render(/* @__PURE__ */ (0, x.jsx)($we, {slides: t,index: e,Swiper: r,host: n ?? null- }, ++Ywe)));+ }, ++Xwe)));}function jL() {AL && (0, mt.flushSync)(() => AL.render(null));}-function Qwe({ slides: e, index: t, Swiper: n, host: r }) {+function $we({ slides: e, index: t, Swiper: n, host: r }) {let i = e.length > 1, a = (0, b.useId)(), o = (0, b.useRef)(null), s = (0, b.useRef)(null), c = (0, b.useRef)(null), l = (0, b.useRef)(null), u = (0, b.useRef)(null), d = (0, b.useRef)(null), f = (0, b.useRef)(null), p = (0, b.useRef)(null), m = (0, b.useRef)(null), h = (0, b.useRef)(null), g = (0, b.useRef)(null), [_, v] = (0, b.useState)(t), [y, S] = (0, b.useState)(100), [C, w] = (0, b.useState)({}), [T, E] = (0, b.useState)(() => /* @__PURE__ */ new Set()), [D, O] = (0, b.useState)(() => /* @__PURE__ */ new Set()), [k, A] = (0, b.useState)(!1), [j, M] = (0, b.useState)({at: t,text: ""@@ -51172,7 +51185,7 @@ function Qwe({ slides: e, index: t, Swiper: n, host: r }) {v(this.activeIndex), i(this.activeIndex);} }});- i(t, 0), h.current = Gwe(e, a, S);+ i(t, 0), h.current = Kwe(e, a, S);let m = ls(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();};@@ -51373,10 +51386,10 @@ function Qwe({ slides: e, index: t, Swiper: n, host: r }) {id: `${a}-title`,"data-middle-truncate": "",tabIndex: -1,- children: qwe(N)+ children: Jwe(N)}, _), /* @__PURE__ */ (0, x.jsx)("span", {"data-photo-detail-meta": "",- children: Jwe(N, C[_])+ children: Ywe(N, C[_])})]}),/* @__PURE__ */ (0, x.jsx)("button", {@@ -51415,40 +51428,40 @@ function Qwe({ slides: e, index: t, Swiper: n, host: r }) {}//#endregion//#region src/react/entity-body/entity-body-page.tsx-function $we(e) {- return e.view === "people" && e.roster ? /* @__PURE__ */ (0, x.jsx)(tTe, {+function eTe(e) {+ return e.view === "people" && e.roster ? /* @__PURE__ */ (0, x.jsx)(nTe, {roster: e.roster,props: e- }) : e.view === "videos" ? /* @__PURE__ */ (0, x.jsx)(nTe, { ...e }, e.revision) : e.view === "photos" && e.photos ? /* @__PURE__ */ (0, x.jsx)(sTe, {+ }) : e.view === "videos" ? /* @__PURE__ */ (0, x.jsx)(rTe, { ...e }, e.revision) : e.view === "photos" && e.photos ? /* @__PURE__ */ (0, x.jsx)(cTe, {photos: e.photos,props: e}, e.photos.revision) : null;}-var eTe = CL.people;-function tTe({ roster: e, props: t }) {+var tTe = CL.people;+function nTe({ roster: e, props: t }) {let { helpers: n, actions: r } = t, i = (0, b.useMemo)(() => ({personAvatar: n.personAvatar,openEntity: r.openEntity- }), [n, r]), [a, o] = (0, b.useState)(eTe), s = (0, b.useMemo)(() => e.people.slice(0, a), [e.people, a]), c = (0, b.useCallback)(async () => {- o((e) => e + eTe);+ }), [n, r]), [a, o] = (0, b.useState)(tTe), s = (0, b.useMemo)(() => e.people.slice(0, a), [e.people, a]), c = (0, b.useCallback)(async () => {+ o((e) => e + tTe);}, []);- return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(Fwe, {+ return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(Iwe, {kind: e.kind,items: s,layout: e.layout,props: i- }), a < e.people.length ? /* @__PURE__ */ (0, x.jsx)(qP, {+ }), a < e.people.length ? /* @__PURE__ */ (0, x.jsx)(JP, {entity: !0,load: c,enabled: () => !0}, a) : null] });}-function nTe(e) {- let t = cP(!e.items, e.skeletonHtml);+function rTe(e) {+ let t = lP(!e.items, e.skeletonHtml);return /* @__PURE__ */ (0, x.jsxs)("div", {"data-entity-grid": "","data-grid-reveal": t.fading ? "" : void 0,- children: [t.layer, e.items ? /* @__PURE__ */ (0, x.jsx)(KP, {+ children: [t.layer, e.items ? /* @__PURE__ */ (0, x.jsx)(qP, {mode: "entity",entityKey: `${e.kind}:${e.name}`,revision: e.revision,@@ -51467,15 +51480,15 @@ function nTe(e) {}) : null]});}-var rTe = (e) => Array.from({ length: e.n }, (t, n) => ({+var iTe = (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 || "官方样张"-})), iTe = (e) => e.sample === !0, aTe = (e) => `code=${encodeURIComponent(e.code)}&n=${e.position}`, ML = (e) => iTe(e) ? `/sample-thumb?${aTe(e)}` : `/photo-thumb?id=${e.id}`, oTe = (e) => iTe(e) ? {- src: `/sample-image?${aTe(e)}`,+})), aTe = (e) => e.sample === !0, oTe = (e) => `code=${encodeURIComponent(e.code)}&n=${e.position}`, ML = (e) => aTe(e) ? `/sample-thumb?${oTe(e)}` : `/photo-thumb?id=${e.id}`, sTe = (e) => aTe(e) ? {+ src: `/sample-image?${oTe(e)}`,thumb: ML(e),name: e.name,asset: null,@@ -51486,14 +51499,14 @@ var rTe = (e) => Array.from({ length: e.n }, (t, n) => ({name: e.name || "",asset: e};-function sTe({ photos: e, props: t }) {- let { photoSize: n, photoLayout: r, actions: i, canLoadMore: a } = t, o = (0, b.useMemo)(() => [...e.codeSets.flatMap(rTe), ...e.items], [e]), [s, c] = (0, b.useState)(() => /* @__PURE__ */ new Set()), l = (0, b.useCallback)((e) => c((t) => {+function cTe({ photos: e, props: t }) {+ let { photoSize: n, photoLayout: r, actions: i, canLoadMore: a } = t, o = (0, b.useMemo)(() => [...e.codeSets.flatMap(iTe), ...e.items], [e]), [s, c] = (0, b.useState)(() => /* @__PURE__ */ new Set()), l = (0, b.useCallback)((e) => c((t) => {if (t.has(e)) return t;let n = new Set(t);return n.add(e), n;}), []), u = (0, b.useCallback)((e) => {- Zwe(e, o.map(oTe), { revealSource: i.revealSource });- }, [i, o]), d = (e, t) => /* @__PURE__ */ (0, x.jsx)(lTe, {+ Qwe(e, o.map(sTe), { revealSource: i.revealSource });+ }, [i, o]), d = (e, t) => /* @__PURE__ */ (0, x.jsx)(uTe, {item: e,index: t,lost: s.has(t),@@ -51511,7 +51524,7 @@ function sTe({ photos: e, props: t }) {};}), h = p;return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [- m.map(({ set: e, from: t }) => /* @__PURE__ */ (0, x.jsxs)(b.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(cTe, {+ m.map(({ set: e, from: t }) => /* @__PURE__ */ (0, x.jsxs)(b.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(lTe, {label: e.code,title: e.name,meta: [@@ -51523,7 +51536,7 @@ function sTe({ 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, x.jsx)(cTe, {+ m.length && e.total ? /* @__PURE__ */ (0, x.jsx)(lTe, {label: "本地图片",meta: `${e.total.toLocaleString()} 张`}) : null,@@ -51532,14 +51545,14 @@ function sTe({ 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, x.jsx)(qP, {+ e.hasMore ? /* @__PURE__ */ (0, x.jsx)(JP, {entity: !0,load: i.loadMorePhotos,enabled: () => a?.() !== !1}, e.items.length) : null] });}-function cTe({ label: e, title: t, meta: n }) {+function lTe({ label: e, title: t, meta: n }) {return /* @__PURE__ */ (0, x.jsxs)("div", {"data-photo-group": "",children: [@@ -51556,7 +51569,7 @@ function cTe({ label: e, title: t, meta: n }) {]});}-function lTe({ item: e, index: t, lost: n, onLose: r, onOpen: i }) {+function uTe({ item: e, index: t, lost: n, onLose: r, onOpen: i }) {let a = e.name ?? "";return /* @__PURE__ */ (0, x.jsx)("button", {type: "button",@@ -51576,7 +51589,7 @@ function lTe({ item: e, index: t, lost: n, onLose: r, onOpen: i }) {}//#endregion//#region src/react/follow-feed/follow-card.tsx-var uTe = (e) => Number(e) > 0;+var dTe = (e) => Number(e) > 0;function NL({ name: e, actions: t, children: n, ...r }) {return /* @__PURE__ */ (0, x.jsx)("a", {...r,@@ -51587,15 +51600,15 @@ function NL({ name: e, actions: t, children: n, ...r }) {children: n});}-var dTe = ({ provider: e }) => /* @__PURE__ */ (0, x.jsx)("span", {+var fTe = ({ provider: e }) => /* @__PURE__ */ (0, x.jsx)("span", {"data-follow-nothumb": "",- dangerouslySetInnerHTML: { __html: zN(e) }+ dangerouslySetInnerHTML: { __html: BN(e) }});-function fTe({ src: e, fallback: t, width: n, height: r, provider: i, onLearn: a, retryKey: o }) {+function pTe({ src: e, fallback: t, width: n, height: r, provider: i, onLearn: a, retryKey: o }) {let [s, c] = (0, b.useState)(!1), [l, u] = (0, b.useState)(!1), [d, f] = (0, b.useState)(null);return (0, b.useEffect)(() => {c(!1);- }, [o]), s ? /* @__PURE__ */ (0, x.jsx)(dTe, { provider: i }) : /* @__PURE__ */ (0, x.jsx)("img", {+ }, [o]), s ? /* @__PURE__ */ (0, x.jsx)(fTe, { provider: i }) : /* @__PURE__ */ (0, x.jsx)("img", {src: l ? t : e,alt: "",loading: "lazy",@@ -51614,7 +51627,7 @@ function fTe({ src: e, fallback: t, width: n, height: r, provider: i, onLearn: a} : void 0});}-function pTe(e) {+function mTe(e) {let { group: t, authorSources: n, media: r, context: i, selected: a, selectMode: o, busy: s, failure: c, actions: l } = e, u = fi(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) => Cye(u.id, h ? h.index : null, e, t) : void 0, y = r === "videos" ? mi(t) : [], S = (u.media_items || []).length > 1 ? u.id : y[0]?.id || u.id, C = gi({cover: p,coverFace: (f?.thumb_url ? f : u).face,@@ -51623,7 +51636,7 @@ function pTe(e) {limit: 9}), w = (0, b.useRef)(C.faces);w.current = C.faces;- let T = bP({+ let T = xP({load: async () => w.current,canFlip: () => w.current.length > 1 && l.canFlip(),referrerPolicy: "no-referrer"@@ -51631,7 +51644,7 @@ function pTe(e) {E.current = T.onPointerLeave;let D = (0, b.useCallback)((e) => {e && (e._stopHover = () => E.current());- }, []), O = WN(u, n, i), k = BN(u), A = u.resource_provider || u.provider, j = (u.tags || []).slice(0, 3), M = qN(u, i), N = KN(t, u), P = u.status === "saved", ee = (e) => {+ }, []), O = GN(u, n, i), k = VN(u), A = u.resource_provider || u.provider, j = (u.tags || []).slice(0, 3), M = JN(u, i), N = qN(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();@@ -51646,7 +51659,7 @@ function pTe(e) {"data-collection": C.isMix ? "" : void 0,"data-selected": a ? "" : void 0,onClick: ee,- onMouseDown: fP,+ onMouseDown: pP,onMouseEnter: T.onPointerEnter,onMouseLeave: T.onPointerLeave,children: [@@ -51660,7 +51673,7 @@ function pTe(e) {}), /* @__PURE__ */ (0, x.jsxs)("div", {"data-media-pic": "",children: [- p ? /* @__PURE__ */ (0, x.jsx)(fTe, {+ p ? /* @__PURE__ */ (0, x.jsx)(pTe, {src: p,fallback: m,width: _?.width,@@ -51668,7 +51681,7 @@ function pTe(e) {provider: A,onLearn: v,retryKey: e.retryKey- }, p) : /* @__PURE__ */ (0, x.jsx)(dTe, { provider: A }),+ }, p) : /* @__PURE__ */ (0, x.jsx)(fTe, { provider: A }),C.faces.length > 1 ? /* @__PURE__ */ (0, x.jsx)("div", {"data-mix-faces": "",hidden: !T.faces.length,@@ -51688,7 +51701,7 @@ function pTe(e) {"data-media-badge": "",title: u.provider_label || u.provider,"aria-label": `来源:${u.provider_label || u.provider}`,- dangerouslySetInnerHTML: { __html: zN(u.provider, u.provider_label) }+ dangerouslySetInnerHTML: { __html: BN(u.provider, u.provider_label) }}), N ? /* @__PURE__ */ (0, x.jsx)("span", {"data-follow-badges": "",dangerouslySetInnerHTML: { __html: N }@@ -51701,7 +51714,7 @@ function pTe(e) {},dangerouslySetInnerHTML: { __html: R("check") }}) : null,- uTe(u.duration) ? /* @__PURE__ */ (0, x.jsx)("span", {+ dTe(u.duration) ? /* @__PURE__ */ (0, x.jsx)("span", {"data-media-duration": "",children: Xt(u.duration)}) : null,@@ -51792,7 +51805,7 @@ function pTe(e) {/* @__PURE__ */ (0, x.jsx)("button", {type: "button","data-media-title": "",- dangerouslySetInnerHTML: { __html: GN(t, u) + z(k) }+ dangerouslySetInnerHTML: { __html: KN(t, u) + z(k) }}),/* @__PURE__ */ (0, x.jsxs)("div", {"data-follow-byline": "",@@ -51810,7 +51823,7 @@ function pTe(e) {}),/* @__PURE__ */ (0, x.jsx)("time", {dateTime: u.published_at || "",- title: YN(u),+ title: XN(u),children: Sye(u)}),O.credited ? /* @__PURE__ */ (0, x.jsx)("span", {@@ -51846,10 +51859,10 @@ function pTe(e) {]});}-var PL = (0, b.memo)(pTe);+var PL = (0, b.memo)(mTe);//#endregion//#region src/react/components/use-masonry-grid.ts-function mTe(e, t) {+function hTe(e, t) {let n = (0, b.useRef)(null);return (0, b.useLayoutEffect)(() => {let t = n.current;@@ -51888,7 +51901,7 @@ function mTe(e, t) {var FL = () => /* @__PURE__ */ (0, x.jsx)("span", {"data-entity-sep": "","aria-hidden": "true"-}), hTe = vN("settings"), gTe = vN("chevron-down"), _Te = vN("history"), vTe = [[+}), gTe = yN("settings"), _Te = yN("chevron-down"), vTe = yN("history"), yTe = [["fixed","固定比例","layout-grid"@@ -51897,7 +51910,7 @@ var FL = () => /* @__PURE__ */ (0, x.jsx)("span", {"瀑布流","columns-2"]];-function yTe(e, t, n) {+function bTe(e, t, n) {return (0, b.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) => {@@ -51945,7 +51958,7 @@ function yTe(e, t, n) {n]);}-function bTe(e) {+function xTe(e) {let { view: t, seed: n, revision: r, actions: i } = e, a = $r(t, r), o = pt(a), s = dt({queryKey: ei,queryFn: ({ signal: e }) => ti(e)@@ -51953,7 +51966,7 @@ function bTe(e) {sources: c?.sources || [],aliases: c?.author_aliases || [],credentials: l- }), [c, l]), d = yTe(c, t, n), f = o.isPending || o.isPlaceholderData, p = !f && !!c, m = (0, b.useMemo)(() => ({+ }), [c, l]), d = bTe(c, t, n), f = o.isPending || o.isPlaceholderData, p = !f && !!c, m = (0, b.useMemo)(() => ({tags: fc(d.visible.flatMap(ai).map((e) => ({ tags: e.tags || [] }))),providers: [...d.providers].map(([e, t]) => [e,@@ -51979,10 +51992,10 @@ function bTe(e) {m,i]);- let h = CTe(e, !!c);+ let h = wTe(e, !!c);if (!c) return o.isError ? /* @__PURE__ */ (0, x.jsxs)("div", {"data-follow-feed": "",- children: [/* @__PURE__ */ (0, x.jsx)(xTe, { onManage: i.openManage }), /* @__PURE__ */ (0, x.jsx)(lP, {+ children: [/* @__PURE__ */ (0, x.jsx)(STe, { onManage: i.openManage }), /* @__PURE__ */ (0, x.jsx)(uP, {message: Et(o.error),onRetry: () => void o.refetch()})]@@ -51995,7 +52008,7 @@ function bTe(e) {author: d.author,provider: d.provider}, {- authors: new Map([...d.authorSources].map(([e, t]) => [e, VN(t, u)])),+ authors: new Map([...d.authorSources].map(([e, t]) => [e, HN(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);@@ -52013,7 +52026,7 @@ function bTe(e) {"data-follow-feed": "","data-select-mode": e.selectMode ? "" : void 0,children: [- /* @__PURE__ */ (0, x.jsx)(xTe, {+ /* @__PURE__ */ (0, x.jsx)(STe, {onManage: i.openManage,children: d.sources.length ? /* @__PURE__ */ (0, x.jsx)(G, {variant: "primary",@@ -52027,20 +52040,20 @@ function bTe(e) {}) : "检查更新"}) : null}),- /* @__PURE__ */ (0, x.jsx)(wTe, {+ /* @__PURE__ */ (0, x.jsx)(TTe, {facets: d,pressed: d.author,context: u,props: e,onPick: (e) => g({ author: d.author === e ? "" : e })}),- /* @__PURE__ */ (0, x.jsx)(TTe, {+ /* @__PURE__ */ (0, x.jsx)(ETe, {rows: d.workRows,pressed: t.work,props: e,onPick: (e) => g({ work: t.work === e ? "" : e })}),- /* @__PURE__ */ (0, x.jsx)(ETe, {+ /* @__PURE__ */ (0, x.jsx)(DTe, {facets: d,view: t,total: v,@@ -52048,7 +52061,7 @@ function bTe(e) {props: e,route: g}),- /* @__PURE__ */ (0, x.jsx)(DTe, {+ /* @__PURE__ */ (0, x.jsx)(OTe, {conditions: _,onDrop: (e) => i.route(Si(t, e)),onClear: () => g({@@ -52060,11 +52073,11 @@ function bTe(e) {durMax: 0})}),- d.broken.length ? /* @__PURE__ */ (0, x.jsx)(OTe, {+ d.broken.length ? /* @__PURE__ */ (0, x.jsx)(kTe, {count: d.broken.length,onManage: i.openManage}) : null,- /* @__PURE__ */ (0, x.jsx)(kTe, {+ /* @__PURE__ */ (0, x.jsx)(ATe, {retryKey: o.dataUpdatedAt,pending: f,facets: d,@@ -52076,14 +52089,14 @@ function bTe(e) {"data-follow-pagination": "",children: [c.has_more ? /* @__PURE__ */ (0, x.jsx)("span", {"data-follow-page-action": "",- children: c.groups.length < 500 ? /* @__PURE__ */ (0, x.jsxs)(qP, {+ children: c.groups.length < 500 ? /* @__PURE__ */ (0, x.jsxs)(JP, {entity: !0,enabled: () => !h.busyRef.current,load: async () => {await o.fetchNextPage({ throwOnError: !0 });},- children: [/* @__PURE__ */ (0, x.jsx)(gTe, { className: "size-3.5" }), "加载更多"]- }, o.data?.pages.length) : /* @__PURE__ */ (0, x.jsx)(STe, {+ children: [/* @__PURE__ */ (0, x.jsx)(_Te, { className: "size-3.5" }), "加载更多"]+ }, o.data?.pages.length) : /* @__PURE__ */ (0, x.jsx)(CTe, {busy: o.isFetchingNextPage,error: o.isFetchNextPageError ? Et(o.error) : "",load: () => {@@ -52094,7 +52107,7 @@ function bTe(e) {"data-follow-page-action": "",children: [/* @__PURE__ */ (0, x.jsx)(G, {variant: "secondary",- leadingIcon: h.olderBusy ? void 0 : _Te,+ leadingIcon: h.olderBusy ? void 0 : vTe,"data-follow-older": "","aria-busy": h.busy || void 0,onClick: () => void h.start(!0),@@ -52112,7 +52125,7 @@ function bTe(e) {})] });}-function xTe({ onManage: e, children: t }) {+function STe({ onManage: e, children: t }) {return /* @__PURE__ */ (0, x.jsxs)("div", {"data-follow-head": "",children: [/* @__PURE__ */ (0, x.jsx)("h2", {@@ -52122,7 +52135,7 @@ function xTe({ onManage: e, children: t }) {"data-follow-head-actions": "",children: [/* @__PURE__ */ (0, x.jsx)(G, {variant: "secondary",- leadingIcon: hTe,+ leadingIcon: gTe,"data-follow-manage": "",onClick: e,children: "管理关注"@@ -52130,20 +52143,20 @@ function xTe({ onManage: e, children: t }) {})]});}-function STe({ busy: e, error: t, load: n }) {+function CTe({ busy: e, error: t, load: n }) {return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsxs)("button", {type: "button","data-entity-more": "","aria-busy": e || void 0,"aria-disabled": e || void 0,onClick: n,- children: [/* @__PURE__ */ (0, x.jsx)(gTe, { className: "size-3.5" }), "加载更多"]- }), t ? /* @__PURE__ */ (0, x.jsx)(lP, {+ children: [/* @__PURE__ */ (0, x.jsx)(_Te, { className: "size-3.5" }), "加载更多"]+ }), t ? /* @__PURE__ */ (0, x.jsx)(uP, {message: t,onRetry: n}) : null] });}-function CTe(e, t) {+function wTe(e, t) {let { helpers: n, actions: r } = e, [i, a] = (0, b.useState)(0), [o, s] = (0, b.useState)(!1), [c, l] = (0, b.useState)(""), [u, d] = (0, b.useState)(""), [f, p] = (0, b.useState)(!1), m = (0, b.useRef)(!1), h = (0, b.useRef)(null), g = (0, b.useRef)({helpers: n,actions: r@@ -52205,12 +52218,12 @@ function CTe(e, t) {olderBusy: c === "older" || f && o};}-function wTe({ facets: e, pressed: t, context: n, props: r, onPick: i }) {+function TTe({ facets: e, pressed: t, context: n, props: r, onPick: i }) {let a = (0, b.useRef)(null);(0, b.useEffect)(() => {r.helpers.wireDrag(a.current);}, [r.helpers]);- let o = (t) => VN(e.authorSources.get(t) || [], n);+ let o = (t) => HN(e.authorSources.get(t) || [], n);return e.authorOrder.length ? /* @__PURE__ */ (0, x.jsx)("div", {"data-follow-authors-bar": "",children: /* @__PURE__ */ (0, x.jsx)("div", {@@ -52218,9 +52231,9 @@ function wTe({ 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 = HN(a), c = /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)("span", {+ let a = e.authorSources.get(n) || [], s = UN(a), c = /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)("span", {"data-follow-ring": "",- dangerouslySetInnerHTML: { __html: UN(a, o(n)) }+ dangerouslySetInnerHTML: { __html: WN(a, o(n)) }}), /* @__PURE__ */ (0, x.jsx)("span", {"data-follow-name": "",children: o(n)@@ -52242,7 +52255,7 @@ function wTe({ facets: e, pressed: t, context: n, props: r, onPick: i }) {})}) : null;}-function TTe({ rows: e, pressed: t, props: n, onPick: r }) {+function ETe({ rows: e, pressed: t, props: n, onPick: r }) {let i = (0, b.useRef)(null);return (0, b.useEffect)(() => {n.helpers.wireDrag(i.current);@@ -52263,13 +52276,13 @@ function TTe({ rows: e, pressed: t, props: n, onPick: r }) {}, e[0]))}) : null;}-function ETe({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {- let { helpers: o, actions: s } = i, c = (0, b.useRef)(null), l = (0, b.useRef)(null), u = (0, b.useRef)(null), d = (0, b.useRef)(null), f = (0, b.useRef)(null), p = (0, b.useRef)(null), m = !!e.mediaCounts.images || t.media === "images", h = TA(c, u, "[data-follow-filter][aria-pressed=\"true\"]", t.status), g = TA(l, d, "[data-media-view][aria-pressed=\"true\"]", `${t.media}:${m}`);+function DTe({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {+ let { helpers: o, actions: s } = i, c = (0, b.useRef)(null), l = (0, b.useRef)(null), u = (0, b.useRef)(null), d = (0, b.useRef)(null), f = (0, b.useRef)(null), p = (0, b.useRef)(null), m = !!e.mediaCounts.images || t.media === "images", h = EA(c, u, "[data-follow-filter][aria-pressed=\"true\"]", t.status), g = EA(l, d, "[data-media-view][aria-pressed=\"true\"]", `${t.media}:${m}`);(0, b.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, x.jsx)(bA, {+ return /* @__PURE__ */ (0, x.jsx)(xA, {label: "筛选与排序",topLabel: m ? "媒体与关注筛选" : "关注筛选",attrs: {@@ -52354,10 +52367,10 @@ function ETe({ 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: zN(t, n) }+ dangerouslySetInnerHTML: { __html: BN(t, n) }}, t)),_.length && e.tagRows.length ? /* @__PURE__ */ (0, x.jsx)(FL, {}) : null,- e.tagRows.map(([n, r]) => /* @__PURE__ */ (0, x.jsxs)(xA, {+ e.tagRows.map(([n, r]) => /* @__PURE__ */ (0, x.jsxs)(SA, {"data-follow-tag": n,"data-entity-press": "","data-tag-cat": `r34-${Ci(e.groups, n)}`,@@ -52378,11 +52391,11 @@ function ETe({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {}), /* @__PURE__ */ (0, x.jsxs)("span", {"data-entity-sorts": "",children: [- /* @__PURE__ */ (0, x.jsx)(rP, { onPress: s.shuffle }),- y ? /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(nP, {+ /* @__PURE__ */ (0, x.jsx)(iP, { onPress: s.shuffle }),+ y ? /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(rP, {label: "图片布局",value: i.photoLayout,- options: vTe,+ options: yTe,onChange: (e) => s.setPhotoLayout(e === "fixed" ? "fixed" : "masonry")}), /* @__PURE__ */ (0, x.jsxs)("button", {type: "button",@@ -52400,7 +52413,7 @@ function ETe({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {})]})] }) : null,Jr.map(([e, n]) => {- let r = t.sort === e, i = vN(t.dir === "asc" ? "arrow-up" : "arrow-down");+ let r = t.sort === e, i = yN(t.dir === "asc" ? "arrow-up" : "arrow-down");return /* @__PURE__ */ (0, x.jsxs)("button", {type: "button","data-entity-sort": e,@@ -52419,7 +52432,7 @@ function ETe({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {})] })});}-function DTe({ conditions: e, onDrop: t, onClear: n }) {+function OTe({ conditions: e, onDrop: t, onClear: n }) {return /* @__PURE__ */ (0, x.jsx)("div", {"data-entity-combo": "","data-follow-combo": "",@@ -52444,7 +52457,7 @@ function DTe({ conditions: e, onDrop: t, onClear: n }) {})] }) : null});}-function OTe({ count: e, onManage: t }) {+function kTe({ count: e, onManage: t }) {return /* @__PURE__ */ (0, x.jsx)("div", {"data-follow-broken": "",onClick: (e) => {@@ -52453,12 +52466,12 @@ function OTe({ count: e, onManage: t }) {dangerouslySetInnerHTML: { __html: `<div class="geist-note geist-note-error fwarn" role="alert">${R("alert")}<span>${e} 个来源上次检查失败,去<button type="button" class="flink" data-follow-manage>管理关注</button>看原因。</span></div>` }});}-function kTe({ pending: e, facets: t, data: n, context: r, props: i, retryKey: a }) {- let { view: o, helpers: s } = i, c = o.media === "images", l = cP(e, () => s.listSkeletonHtml(o.media));+function ATe({ pending: e, facets: t, data: n, context: r, props: i, retryKey: a }) {+ let { view: o, helpers: s } = i, c = o.media === "images", l = lP(e, () => s.listSkeletonHtml(o.media));return /* @__PURE__ */ (0, x.jsxs)("div", {"data-follow-list-body": "","data-grid-reveal": l.fading ? "" : void 0,- children: [l.layer, e ? null : /* @__PURE__ */ (0, x.jsx)(ATe, {+ children: [l.layer, e ? null : /* @__PURE__ */ (0, x.jsx)(jTe, {facets: t,data: n,context: r,@@ -52468,12 +52481,12 @@ function kTe({ pending: e, facets: t, data: n, context: r, props: i, retryKey: a})]});}-function ATe({ facets: e, data: t, context: n, props: r, images: i, retryKey: a }) {- let { view: o, actions: s } = r, c = NTe(r), l = i ? {+function jTe({ facets: e, data: t, context: n, props: r, images: i, retryKey: a }) {+ let { view: o, actions: s } = r, c = PTe(r), l = i ? {"data-size": r.photoSize,"data-layout": r.photoLayout,"data-images-only": String(r.imagesOnly)- } : {}, u = mTe(i && r.photoLayout === "masonry", `${r.photoSize}:${e.visible.map((e) => e.primary.id).join(",")}`), d;+ } : {}, u = hTe(i && r.photoLayout === "masonry", `${r.photoSize}:${e.visible.map((e) => e.primary.id).join(",")}`), d;return d = e.visible.length ? e.visible.map((t) => {let i = e.byId.get(t.primary?.source_id), l = i?.author_key && e.authorSources.get(i.author_key) || [], u = t.primary.id;return /* @__PURE__ */ (0, x.jsx)(PL, {@@ -52490,7 +52503,7 @@ function ATe({ facets: e, data: t, context: n, props: r, images: i, retryKey: aonStatus: c.status,onSave: c.save}, `${u}:${o.media}`);- }) : /* @__PURE__ */ (0, x.jsx)(jTe, {+ }) : /* @__PURE__ */ (0, x.jsx)(MTe, {data: t,filtered: !!(o.status || e.author || e.provider || o.work || o.tags.length)}), /* @__PURE__ */ (0, x.jsx)("div", {@@ -52504,7 +52517,7 @@ function ATe({ facets: e, data: t, context: n, props: r, images: i, retryKey: afunction IL(e, t) {return fi(e, t.media).id;}-function jTe({ data: e, filtered: t }) {+function MTe({ data: e, filtered: t }) {let n = (e.groups || []).length ? co("search-x", "当前筛选下没有更新", "切换媒体类型、创作者、来源、时长或标签后再试。") : (e.sources || []).length ? t ? co("rss", "没有符合条件的更新", "切换状态或来源筛选后再试。") : co("rss", "还没有更新", "点「检查更新」去各个来源取一遍;来源有新内容时会集中显示在这里。") : co("rss", "还没有关注任何来源", "添加创作者或订阅来源后,更新会集中显示在这里。", { actions: "<a class=\"geist-button primary\" href=\"/subscriptions?tab=add\">添加关注</a>" });return /* @__PURE__ */ (0, x.jsx)("div", {"data-follow-empty": "",@@ -52512,12 +52525,12 @@ function jTe({ data: e, filtered: t }) {dangerouslySetInnerHTML: { __html: n }});}-var MTe = {+var NTe = {new: "已恢复未看",seen: "已标记已看",ignored: "已忽略"};-function NTe(e) {+function PTe(e) {let { view: t, revision: n, actions: r } = e, [i, a] = (0, b.useState)(() => /* @__PURE__ */ new Map()), [o, s] = (0, b.useState)(() => /* @__PURE__ */ new Map()), c = $r(t, n).queryKey, l = (e, t, n) => n((n) => {let r = new Map(n);return t ? r.set(e, t) : r.delete(e), r;@@ -52540,7 +52553,7 @@ function NTe(e) {to: t}),onSuccess: (e, { id: t, to: n, was: i }) => {- u(t, n), d(), r.toast(MTe[n] || "已更新关注状态", { undo: i === "saved" ? void 0 : async () => {+ u(t, n), d(), r.toast(NTe[n] || "已更新关注状态", { undo: i === "saved" ? void 0 : async () => {await H(Pn, {item: t,to: i@@ -52586,9 +52599,9 @@ function NTe(e) {}//#endregion//#region src/react/entity-body/entity-online.tsx-function PTe(e) {- let { result: t, data: n, media: r, helpers: i } = e, a = t.isPending || t.isPlaceholderData, o = cP(a, () => i.listSkeletonHtml(r));- return !n && t.isError ? /* @__PURE__ */ (0, x.jsx)(lP, {+function FTe(e) {+ let { result: t, data: n, media: r, helpers: i } = e, a = t.isPending || t.isPlaceholderData, o = lP(a, () => i.listSkeletonHtml(r));+ return !n && t.isError ? /* @__PURE__ */ (0, x.jsx)(uP, {message: Et(t.error),onRetry: () => {t.refetch();@@ -52599,11 +52612,11 @@ function PTe(e) {"data-grid-reveal": o.fading ? "" : void 0,children: [o.layer,- a || !n ? null : /* @__PURE__ */ (0, x.jsx)(FTe, {+ a || !n ? null : /* @__PURE__ */ (0, x.jsx)(ITe, {...e,data: n}),- !a && n?.has_more ? /* @__PURE__ */ (0, x.jsx)(qP, {+ !a && n?.has_more ? /* @__PURE__ */ (0, x.jsx)(JP, {entity: !0,enabled: () => e.canLoadMore?.() !== !1,load: async () => {@@ -52613,8 +52626,8 @@ function PTe(e) {]});}-function FTe({ view: e, media: t, data: n, visible: r, context: i, photoSize: a, photoLayout: o, imagesOnly: s, actions: c }) {- let l = NTe({+function ITe({ view: e, media: t, data: n, visible: r, context: i, photoSize: a, photoLayout: o, imagesOnly: s, actions: c }) {+ let l = PTe({view: e,revision: 0,actions: c@@ -52645,7 +52658,7 @@ function FTe({ view: e, media: t, data: n, visible: r, context: i, photoSize: a,onStatus: l.status,onSave: l.save}, `${e.primary.id}:${t}`);- }) : /* @__PURE__ */ (0, x.jsx)(ITe, { searched: !!(n.groups || []).length || !!(e.status || e.provider || e.tags.length) });+ }) : /* @__PURE__ */ (0, x.jsx)(LTe, { searched: !!(n.groups || []).length || !!(e.status || e.provider || e.tags.length) });return /* @__PURE__ */ (0, x.jsx)("div", {"data-follow-list": "","data-follow-wall": d ? "" : void 0,@@ -52653,7 +52666,7 @@ function FTe({ view: e, media: t, data: n, visible: r, context: i, photoSize: a,children: p});}-function ITe({ searched: e }) {+function LTe({ searched: e }) {let t = e ? co("search-x", "当前筛选下没有更新", "切换媒体类型、状态、来源或标签后再试。") : co("rss", "还没有抓到更新", "关注页检查更新之后,这位创作者的新内容会出现在这里。");return /* @__PURE__ */ (0, x.jsx)("div", {"data-follow-empty": "",@@ -52698,7 +52711,7 @@ function BL(e, t) {y1: a + r});}-function LTe(e, t) {+function RTe(e, t) {if (!zL(e) || !(t > 0)) return LL(e);let n = Math.min(e.width, e.height * t);return RL({@@ -52708,7 +52721,7 @@ function LTe(e, t) {y1: e.height});}-function RTe(e, t, n) {+function zTe(e, t, n) {if (!zL(t) || !(n > 0)) return LL(t);let r = VL(e, t), i = BL({width: r.x1 - r.x0,@@ -52738,7 +52751,7 @@ function VL(e, t, n = null, r = "width") {y1: c + o});}-function zTe(e, t, n, r) {+function BTe(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 RL({x0: o,@@ -52747,7 +52760,7 @@ function zTe(e, t, n, r) {y1: s + a});}-function BTe(e, t, n, r = null) {+function VTe(e, t, n, r = null) {if (!zL(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 VL({@@ -52757,7 +52770,7 @@ function BTe(e, t, n, r = null) {y1: a + s / 2}, n, r);}-function VTe(e, t, n, r, i = null) {+function HTe(e, t, n, r, i = null) {let a = {x0: e.x0,y0: e.y0,@@ -52766,7 +52779,7 @@ function VTe(e, t, n, r, i = null) {};return VL(a, r, i, (a.x1 - a.x0) / Math.max(1, a.y1 - a.y0) > (i ?? 1) ? "height" : "width");}-function HTe(e, t) {+function UTe(e, t) {return zL(t) ? {left: e.x0 / t.width * 100,top: e.y0 / t.height * 100,@@ -52779,7 +52792,7 @@ function HTe(e, t) {height: 0};}-function UTe(e, t) {+function WTe(e, t) {if (!zL(t)) return {size: "cover",position: "50% 50%"@@ -52790,7 +52803,7 @@ function UTe(e, t) {position: `${i(e.x0, t.width, n)}% ${i(e.y0, t.height, r)}%`};}-function WTe(e, t) {+function GTe(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}%`,@@ -52799,16 +52812,16 @@ function WTe(e, t) {height: `${t.height / r * 100}%`};}-function GTe(e, t, n) {+function KTe(e, t, n) {return t > 0 ? e * n / t : 0;}-function KTe(e, t) {+function qTe(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 qTe = .02, HL = 1.08;-function JTe({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: o }) {+var JTe = .02, HL = 1.08;+function YTe({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: o }) {let s = (0, b.useRef)(null), c = (0, b.useRef)(null), [l, u] = (0, b.useState)(!1), [d, f] = (0, b.useState)(null);(0, b.useEffect)(() => {u(!1);@@ -52827,8 +52840,8 @@ function JTe({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: odx: 0,dy: 0} : {- dx: GTe(e, n.clientWidth, r.width),- dy: GTe(t, n.clientHeight, r.height)+ dx: KTe(e, n.clientWidth, r.width),+ dy: KTe(t, n.clientHeight, r.height)};}, [r]);function m(e) {@@ -52845,22 +52858,22 @@ function JTe({ 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(zTe(n.box, o.dx, o.dy, r)) : i(VTe(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(BTe(n.box, o.dx, o.dy, r)) : i(HTe(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) * qTe), o = {+ let a = Math.max(1, (n.x1 - n.x0) * JTe), o = {ArrowLeft: [-a, 0],ArrowRight: [a, 0],ArrowUp: [0, -a],ArrowDown: [0, a]};- o[e.key] ? (e.preventDefault(), i(zTe(n, o[e.key][0], o[e.key][1], r))) : (e.key === "+" || e.key === "=" || e.key === "-") && (e.preventDefault(), i(BTe(n, e.key === "-" ? 1 / HL : HL, r, t)));+ o[e.key] ? (e.preventDefault(), i(BTe(n, o[e.key][0], o[e.key][1], r))) : (e.key === "+" || e.key === "=" || e.key === "-") && (e.preventDefault(), i(VTe(n, e.key === "-" ? 1 / HL : HL, r, t)));}- let v = n && r ? HTe(VL(n, r, t), r) : null, y = v ? KTe(v, d) : !1, S = v ? {+ let v = n && r ? UTe(VL(n, r, t), r) : null, y = v ? qTe(v, d) : !1, S = v ? {"--crop-l": `${v.left}%`,"--crop-t": `${v.top}%`,"--crop-w": `${v.width}%`,@@ -52918,7 +52931,7 @@ function JTe({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: oonPointerCancel: g,onKeyDown: _,onWheel: (e) => {- n && r && i(BTe(n, e.deltaY > 0 ? HL : 1 / HL, r, t));+ n && r && i(VTe(n, e.deltaY > 0 ? HL : 1 / HL, 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, x.jsx)("span", {@@ -52941,12 +52954,12 @@ function JTe({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: o}//#endregion//#region src/react/avatar-picker/avatar-picker.ts-var YTe = "/api/avatar-choices", XTe = "/api/avatar-pick", ZTe = "/api/avatar-code-cover", UL = "/api/avatar-frame", QTe = "/avatar-choice", $Te = (e, t) => [+var XTe = "/api/avatar-choices", ZTe = "/api/avatar-pick", QTe = "/api/avatar-code-cover", UL = "/api/avatar-frame", $Te = "/avatar-choice", eEe = (e, t) => ["avatar-choices",e,t-], WL = (e, t) => `?kind=${encodeURIComponent(e)}&id=${t}`, eEe = (e, t, n, r = "") => `${QTe}${WL(e, t)}&ref=${encodeURIComponent(n)}` + (r ? `&v=${encodeURIComponent(r)}` : ""), tEe = (e, t) => t.startsWith("cover:") || t.endsWith(":cover") ? e.version : "", nEe = (e, t, n) => V(YTe + WL(e, t), n), rEe = (e) => H(ZTe, { code: e });-async function iEe(e, t, n) {+], WL = (e, t) => `?kind=${encodeURIComponent(e)}&id=${t}`, tEe = (e, t, n, r = "") => `${$Te}${WL(e, t)}&ref=${encodeURIComponent(n)}` + (r ? `&v=${encodeURIComponent(r)}` : ""), nEe = (e, t) => t.startsWith("cover:") || t.endsWith(":cover") ? e.version : "", rEe = (e, t, n) => V(XTe + WL(e, t), n), iEe = (e) => H(QTe, { code: e });+async function aEe(e, t, n) {let r = await H(UL, {kind: e,id: t,@@ -52960,12 +52973,12 @@ async function iEe(e, t, n) {bases: r.bases};}-var aEe = (e, t, n) => H(UL, {+var oEe = (e, t, n) => H(UL, {kind: e,id: t,url: n-}), oEe = (e, t, n) => sEe(`${UL}${WL(e, t)}&name=${encodeURIComponent(n.name)}`, n);-async function sEe(e, t) {+}), sEe = (e, t, n) => cEe(`${UL}${WL(e, t)}&name=${encodeURIComponent(n.name)}`, n);+async function cEe(e, t) {let n = await fetch(e, {method: "POST",credentials: "same-origin",@@ -52974,17 +52987,17 @@ async function sEe(e, t) {if (n.ok) return r;throw new un(r?.error || `请求失败(${n.status})`, n.status, r);}-function cEe(e, t, n) {+function lEe(e, t, n) {let r = t.width === e.width && t.height === e.height;- return e.focus && r ? RTe(e.focus, t, n) : BL(t, n);+ return e.focus && r ? zTe(e.focus, t, n) : BL(t, n);}-var lEe = (e) => e.crop && zL({+var uEe = (e) => e.crop && zL({width: e.width,height: e.height});-async function uEe(e, t, n) {+async function dEe(e, t, n) {if (!("file" in n)) {- await H(XTe, {+ await H(ZTe, {kind: e,id: t,...n@@ -52997,19 +53010,19 @@ async function uEe(e, t, n) {i.x1,i.y1].join(",")}` : "";- await sEe(`${XTe}${WL(e, t)}&name=${encodeURIComponent(r.name)}${a}`, r);+ await cEe(`${ZTe}${WL(e, t)}&name=${encodeURIComponent(r.name)}${a}`, r);}-var dEe = 2;-function fEe(e, t) {+var fEe = 2;+function pEe(e, t) {if (!t) return e;let n = t.matched_names.filter((t) => t !== e);- return n.length ? `${e}:图库里按${`「${n.slice(0, dEe).join("」「")}」`}${n.length > dEe ? `等 ${n.length.toLocaleString()} 个名字` : ""}找到的。` : t.choices.length ? `${e}:换上的那张留在本机,随时能换回来。` : `${e}:还没有候选图片,可输入番号、图片地址或从本机选择。`;+ return n.length ? `${e}:图库里按${`「${n.slice(0, fEe).join("」「")}」`}${n.length > fEe ? `等 ${n.length.toLocaleString()} 个名字` : ""}找到的。` : t.choices.length ? `${e}:换上的那张留在本机,随时能换回来。` : `${e}:还没有候选图片,可输入番号、图片地址或从本机选择。`;}-var pEe = (e) => e < 48 ? `${Math.max(1, Math.round(e))} 小时` : `${Math.floor(e / 24)} 天`;-function mEe(e) {- return !e || !e.index_stale || e.choices.some((e) => e.source === "gfriends") ? "" : e.index_age_hours === null ? "图库索引还没取过,只能从用过的图里选。" : `图库索引 ${pEe(e.index_age_hours)}没更新,新收的人像这里还查不到。`;+var mEe = (e) => e < 48 ? `${Math.max(1, Math.round(e))} 小时` : `${Math.floor(e / 24)} 天`;+function hEe(e) {+ return !e || !e.index_stale || e.choices.some((e) => e.source === "gfriends") ? "" : e.index_age_hours === null ? "图库索引还没取过,只能从用过的图里选。" : `图库索引 ${mEe(e.index_age_hours)}没更新,新收的人像这里还查不到。`;}-var GL = (e) => e.cast > 1, hEe = (e) => GL(e) ? `${e.label}:${e.cast.toLocaleString()} 人合演,先找到她自己的脸,再拖动方框选一块。` : `${e.label}:拖动方框选一块,滚轮或角上那枚方块改大小。`, gEe = {+var GL = (e) => e.cast > 1, gEe = (e) => GL(e) ? `${e.label}:${e.cast.toLocaleString()} 人合演,先找到她自己的脸,再拖动方框选一块。` : `${e.label}:拖动方框选一块,滚轮或角上那枚方块改大小。`, _Ee = {gfriends: "图库",history: "用过的",asset: "作品画面",@@ -53019,7 +53032,7 @@ var GL = (e) => e.cast > 1, hEe = (e) => GL(e) ? `${e.label}:${e.cast.toLocalesocial: "社媒头像",online: "在线作品"};-function _Ee(e) {+function vEe(e) {if (e.startsWith("follow:")) {let t = e.split(":")[2];return t === "cover" ? "作品封面" : `内容图片 ${Number(t.replace("image", "") || 0) + 1}`;@@ -53030,19 +53043,19 @@ function _Ee(e) {let n = Number(t.replace("cell", ""));return Number.isFinite(n) ? `第 ${n + 1} 格` : t;}-var vEe = (e) => `${gEe[e.source] || e.source} · ${e.label}` + (e.width ? ` · ${e.width}×${e.height}` : "") + (GL(e) ? ` · ${e.cast.toLocaleString()} 人合演` : "") + (e.found_by ? ` · 按「${e.found_by}」找到` : "") + (e.source === "asset" && e.detail && e.detail !== e.label ? ` · ${e.detail}` : ""), yEe = 8, bEe = 3 / 4;-async function xEe(e, t, n) {+var yEe = (e) => `${_Ee[e.source] || e.source} · ${e.label}` + (e.width ? ` · ${e.width}×${e.height}` : "") + (GL(e) ? ` · ${e.cast.toLocaleString()} 人合演` : "") + (e.found_by ? ` · 按「${e.found_by}」找到` : "") + (e.source === "asset" && e.detail && e.detail !== e.label ? ` · ${e.detail}` : ""), bEe = 8, xEe = 3 / 4;+async function SEe(e, t, n) {switch (n.via) {- case "choice": return { choice: await iEe(e, t, n.choice) };- case "code": return { choice: await rEe(n.code) };- case "url": return { choice: await aEe(e, t, n.url) };+ case "choice": return { choice: await aEe(e, t, n.choice) };+ case "code": return { choice: await iEe(n.code) };+ case "url": return { choice: await oEe(e, t, n.url) };case "file": return {- choice: await oEe(e, t, n.file),+ choice: await sEe(e, t, n.file),file: n.file};}}-function SEe({ kind: e, entityId: t, name: n, onPicked: r }) {+function CEe({ kind: e, entityId: t, name: n, onPicked: r }) {let [i, a] = (0, b.useState)(!1);return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)("span", {className: "absolute right-1 bottom-1 z-10",@@ -53057,12 +53070,12 @@ function SEe({ kind: e, entityId: t, name: n, onPicked: r }) {className: "size-4"})})- }), /* @__PURE__ */ (0, x.jsx)(hN, {+ }), /* @__PURE__ */ (0, x.jsx)(gN, {isOpen: i,onOpenChange: a,width: "avatar-picker",label: "更换头像",- children: /* @__PURE__ */ (0, x.jsx)(CEe, {+ children: /* @__PURE__ */ (0, x.jsx)(wEe, {kind: e,entityId: t,name: n,@@ -53071,22 +53084,22 @@ function SEe({ kind: e, entityId: t, name: n, onPicked: r }) {})})] });}-function CEe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {- let a = (0, b.useRef)(null), o = YI(), [s, c] = (0, b.useState)(""), [l, u] = (0, b.useState)(""), [d, f] = (0, b.useState)(null), p = $Te(e, t), m = (0, b.useRef)(!1), h = dt({+function wEe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {+ let a = (0, b.useRef)(null), o = XI(), [s, c] = (0, b.useState)(""), [l, u] = (0, b.useState)(""), [d, f] = (0, b.useState)(null), p = eEe(e, t), m = (0, b.useRef)(!1), h = dt({queryKey: p,- queryFn: ({ signal: n }) => nEe(e, t, n),+ queryFn: ({ signal: n }) => rEe(e, t, n),retryOnMount: !0});(0, b.useEffect)(() => () => {- m.current && U.removeQueries({ queryKey: $Te(e, t) });+ m.current && U.removeQueries({ queryKey: eEe(e, t) });}, [e, t]);let g = ft({- mutationFn: (n) => uEe(e, t, n),+ mutationFn: (n) => dEe(e, t, n),onSuccess: () => {m.current = !0, i(), r();}}), _ = ft({- mutationFn: (n) => xEe(e, t, n),+ mutationFn: (n) => SEe(e, t, n),onSuccess: f}), v = (e) => _.isPending && _.variables?.via === e;function y(e) {@@ -53104,28 +53117,28 @@ function CEe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {crop: e.crop} : { file: n }) : g.mutate(e ?? { ref: t.ref });}- let C = h.data, w = C?.choices ?? [], T = (g.error ? B(g.error) : "") || (!d && _.error ? B(_.error) : "") || (h.error ? B(h.error) : ""), E = g.isPending || _.isPending, D = d ? "" : mEe(C), O = !!T && !!h.error && T === B(h.error), k = h.isPending || w.length > 0;+ let C = h.data, w = C?.choices ?? [], T = (g.error ? B(g.error) : "") || (!d && _.error ? B(_.error) : "") || (h.error ? B(h.error) : ""), E = g.isPending || _.isPending, D = d ? "" : hEe(C), O = !!T && !!h.error && T === B(h.error), k = h.isPending || w.length > 0;return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsxs)("div", {className: "flex shrink-0 items-start gap-4 p-5",children: [- /* @__PURE__ */ (0, x.jsx)(gN, { children: /* @__PURE__ */ (0, x.jsx)(vhe, { className: "size-6" }) }),+ /* @__PURE__ */ (0, x.jsx)(_N, { children: /* @__PURE__ */ (0, x.jsx)(vhe, { className: "size-6" }) }),/* @__PURE__ */ (0, x.jsxs)("div", {className: "flex min-w-0 flex-1 flex-col gap-2",children: [/* @__PURE__ */ (0, x.jsxs)("div", {className: "flex flex-wrap items-center gap-2",- children: [/* @__PURE__ */ (0, x.jsx)(KA, {+ children: [/* @__PURE__ */ (0, x.jsx)(qA, {slot: "title",className: "text-title-3-semibold text-text-primary",children: d ? "框出头像那一块" : "更换头像"- }), !d && w.length ? /* @__PURE__ */ (0, x.jsxs)(Ck, {+ }), !d && w.length ? /* @__PURE__ */ (0, x.jsxs)(wk, {color: "soft",children: [w.length.toLocaleString(), " 张可选"]}) : null]}),/* @__PURE__ */ (0, x.jsx)("p", {className: "text-body-2-regular text-text-secondary",- children: d ? hEe(d.choice) : fEe(n, C)+ children: d ? gEe(d.choice) : pEe(n, C)}),D ? /* @__PURE__ */ (0, x.jsx)(K, {tone: "neutral",@@ -53146,14 +53159,14 @@ function CEe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {}) : null]}),- /* @__PURE__ */ (0, x.jsx)(ZI, {- icon: HO,+ /* @__PURE__ */ (0, x.jsx)(QI, {+ icon: UO,size: "small","aria-label": "关闭",onClick: i})]- }), d ? /* @__PURE__ */ (0, x.jsx)(EEe, {+ }), d ? /* @__PURE__ */ (0, x.jsx)(DEe, {kind: e,entityId: t,choice: d.choice,@@ -53172,7 +53185,7 @@ function CEe({ 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: yEe }, (e, t) => /* @__PURE__ */ (0, x.jsxs)("span", {+ children: h.isPending ? Array.from({ length: bEe }, (e, t) => /* @__PURE__ */ (0, x.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",@@ -53185,7 +53198,7 @@ function CEe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {role: "option","data-avatar-choice": !0,"aria-selected": n.current,- title: vEe(n),+ title: yEe(n),...q(E),onClick: () => {E || (n.crop ? f({ choice: n }) : _.mutate({@@ -53195,8 +53208,8 @@ function CEe({ 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, x.jsx)(wEe, {- src: eEe(e, t, n.ref, tEe(n, n.ref)),+ /* @__PURE__ */ (0, x.jsx)(TEe, {+ src: tEe(e, t, n.ref, nEe(n, n.ref)),choice: n}),/* @__PURE__ */ (0, x.jsx)("span", {@@ -53205,7 +53218,7 @@ function CEe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {}),n.current ? /* @__PURE__ */ (0, x.jsx)("span", {className: "absolute top-1 left-1",- children: /* @__PURE__ */ (0, x.jsx)(Ck, {+ children: /* @__PURE__ */ (0, x.jsx)(wk, {variant: "caption",color: "gray",children: "在用"@@ -53213,7 +53226,7 @@ function CEe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {}) : null,GL(n) ? /* @__PURE__ */ (0, x.jsx)("span", {className: "absolute top-1 right-1",- children: /* @__PURE__ */ (0, x.jsxs)(Ck, {+ children: /* @__PURE__ */ (0, x.jsxs)(wk, {variant: "caption",color: "gray",children: [n.cast.toLocaleString(), " 人"]@@ -53235,7 +53248,7 @@ function CEe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {},children: [/* @__PURE__ */ (0, x.jsx)("div", {className: "min-w-0 flex-1",- children: /* @__PURE__ */ (0, x.jsx)(pN, {+ children: /* @__PURE__ */ (0, x.jsx)(mN, {"aria-label": "番号",placeholder: "番号,如 ABW-232",value: l,@@ -53270,7 +53283,7 @@ function CEe({ 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, x.jsx)("div", {className: "min-w-0 flex-1",- children: /* @__PURE__ */ (0, x.jsx)(pN, {+ children: /* @__PURE__ */ (0, x.jsx)(mN, {type: "url","aria-label": "图片地址",placeholder: "https://…",@@ -53293,7 +53306,7 @@ function CEe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {})]})] })] });}-function wEe({ src: e, choice: t }) {+function TEe({ src: e, choice: t }) {let n = (0, b.useRef)(null), [r, i] = (0, b.useState)(!1), [a, o] = (0, b.useState)(!1);(0, b.useEffect)(() => {n.current?.complete && n.current.naturalWidth && i(!0);@@ -53301,7 +53314,7 @@ function wEe({ src: e, choice: t }) {let s = {width: t.width,height: t.height- }, c = lEe(t) ? WTe(cEe(t, s, bEe), s) : null, l = r || a ? !0 : void 0;+ }, c = uEe(t) ? GTe(lEe(t, s, xEe), s) : null, l = r || a ? !0 : void 0;return /* @__PURE__ */ (0, x.jsxs)("span", {"data-choice-lost": a || void 0,className: "relative block w-full aspect-avatar-choice overflow-hidden",@@ -53327,7 +53340,7 @@ function wEe({ src: e, choice: t }) {})]});}-function TEe(e) {+function EEe(e) {let [t, n] = (0, b.useState)("");return (0, b.useEffect)(() => {if (!e) return;@@ -53335,23 +53348,23 @@ function TEe(e) {return n(t), () => URL.revokeObjectURL(t);}, [e]), t;}-function EEe({ kind: e, entityId: t, choice: n, file: r, busy: i, back: a, confirm: o }) {- let s = n.bases.length ? n.bases : [n.ref], [c, l] = (0, b.useState)(s[0]), [u, d] = (0, b.useState)(null), [f, p] = (0, b.useState)(null), m = tEe(n, c), h = TEe(r), g = r ? h : eEe(e, t, c, m), _ = YI();+function DEe({ kind: e, entityId: t, choice: n, file: r, busy: i, back: a, confirm: o }) {+ let s = n.bases.length ? n.bases : [n.ref], [c, l] = (0, b.useState)(s[0]), [u, d] = (0, b.useState)(null), [f, p] = (0, b.useState)(null), m = nEe(n, c), h = EEe(r), g = r ? h : tEe(e, t, c, m), _ = XI();function v(e) {l(e), d(null), p(null);}- let y = f && u ? UTe(f, u) : null;+ let y = f && u ? WTe(f, u) : null;return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsxs)("div", {ref: _,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: [g ? /* @__PURE__ */ (0, x.jsx)(JTe, {+ children: [g ? /* @__PURE__ */ (0, x.jsx)(YTe, {src: g,aspect: 1,box: f,size: u,label: `${n.label} 的头像取景框`,onSize: (e) => {- d(e), zL(e) && p(c === n.ref ? cEe(n, e, 1) : BL(e, 1));+ d(e), zL(e) && p(c === n.ref ? lEe(n, e, 1) : BL(e, 1));},onBox: p}) : null, s.length > 1 ? /* @__PURE__ */ (0, x.jsx)("div", {@@ -53365,7 +53378,7 @@ function EEe({ kind: e, entityId: t, choice: n, file: r, busy: i, back: a, confi"data-crop-base": !0,onClick: () => v(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: _Ee(e)+ children: vEe(e)}, e))}) : null]}), /* @__PURE__ */ (0, x.jsxs)("div", {@@ -53415,16 +53428,16 @@ function EEe({ kind: e, entityId: t, choice: n, file: r, busy: i, back: a, confi//#endregion//#region src/react/providers.tsxvar KL = null;-function DEe() {+function OEe() {return KL?.isConnected || (KL = document.createElement("div"), KL.className = "peach-react", KL.dataset.reactOverlays = "", document.body.append(KL)), KL;}-function OEe({ children: e }) {+function kEe({ children: e }) {return /* @__PURE__ */ (0, x.jsx)(w, {client: U,children: /* @__PURE__ */ (0, x.jsx)(mne, {reducedMotion: "user",children: /* @__PURE__ */ (0, x.jsx)(pse, {- getContainer: DEe,+ getContainer: OEe,children: e})})@@ -53432,21 +53445,21 @@ function OEe({ children: e }) {}//#endregion//#region src/react/router/pages/settings.tsx-function kEe() {- let e = (0, b.useContext)(YL), { pathname: t } = zD();+function AEe() {+ let e = (0, b.useContext)(YL), { pathname: t } = BD();return (0, b.useEffect)(() => {- e?.openSettings?.($D(t));+ e?.openSettings?.(eO(t));}, [e, t]), (0, b.useEffect)(() => () => {queueMicrotask(() => {- QD(NO.navigation.location.pathname) || e?.closeSettings?.();+ $D(PO.navigation.location.pathname) || e?.closeSettings?.();});}, [e]), null;}//#endregion//#region src/react/router/pages/overlay.tsx-var AEe = () => Nc, jEe = () => Pc;-function MEe() {- let e = (0, b.useContext)(YL), t = (0, b.useSyncExternalStore)(Wc, jEe), n = (0, b.useSyncExternalStore)(Wc, AEe);+var jEe = () => Nc, MEe = () => Pc;+function NEe() {+ let e = (0, b.useContext)(YL), t = (0, b.useSyncExternalStore)(Wc, MEe), n = (0, b.useSyncExternalStore)(Wc, jEe);return (0, b.useEffect)(() => {if (!t || !n) return;let r = !0;@@ -53462,10 +53475,10 @@ function MEe() {]), null;}function qL(e, t = !1) {- let n = (0, b.useSyncExternalStore)(Wc, AEe), r = (0, b.useRef)(void 0);+ let n = (0, b.useSyncExternalStore)(Wc, jEe), r = (0, b.useRef)(void 0);if (r.current === void 0) {- let { claimed: e } = NO.navigation;- r.current = Nc === 0 || FO() ? "boot" : e && !t ? null : "history";+ let { claimed: e } = PO.navigation;+ r.current = Nc === 0 || IO() ? "boot" : e && !t ? null : "history";}let i = (0, b.useRef)(e);(0, b.useEffect)(() => {@@ -53481,22 +53494,22 @@ function qL(e, t = !1) {}));}, [n]);}-function NEe() {+function PEe() {let e = (0, b.useContext)(YL), t = (0, b.useRef)(e);return (0, b.useLayoutEffect)(() => {t.current = e;}, [e]), qL((t) => {- let n = NO.navigation.location, { pathname: r, search: i } = QD(n.pathname) && tO(n.state) || n, a = iO(r, i);- e && a && (uO(), t || Dme(NO.navigation.location.state), e.openOverlay(a));+ let n = PO.navigation.location, { pathname: r, search: i } = $D(n.pathname) && nO(n.state) || n, a = aO(r, i);+ e && a && (dO(), t || Eme(PO.navigation.location.state), e.openOverlay(a));}, !0), (0, b.useEffect)(() => () => {queueMicrotask(() => {- aO(NO.navigation.location.pathname) || t.current?.closeStage();+ oO(PO.navigation.location.pathname) || t.current?.closeStage();});}, []), null;}-function PEe({ path: e }) {+function FEe({ path: e }) {JL();- let { location: t, seq: n, action: r } = NO.navigation, i = QD(t.pathname) ? tO(t.state) : null, a = (i || t).pathname + (i || t).search, o = (0, b.useRef)({+ let { location: t, seq: n, action: r } = PO.navigation, i = $D(t.pathname) ? nO(t.state) : null, a = (i || t).pathname + (i || t).search, o = (0, b.useRef)({identity: a,seq: i?.seq ?? n,navigationSeq: n,@@ -53507,160 +53520,160 @@ function PEe({ path: e }) {seq: n,navigationSeq: n,settings: !1- }), /* @__PURE__ */ (0, x.jsx)(NEe, {}, `${e} ${o.current.seq}`);+ }), /* @__PURE__ */ (0, x.jsx)(PEe, {}, `${e} ${o.current.seq}`);}-function FEe() {+function IEe() {let e = (0, b.useContext)(YL);return qL(() => {e?.follow?.ground();}), null;}-function IEe() {- return /* @__PURE__ */ (0, x.jsx)(FEe, {}, JL());+function LEe() {+ return /* @__PURE__ */ (0, x.jsx)(IEe, {}, JL());}//#endregion//#region src/react/router/router.tsx-var LEe = (0, b.createContext)(0), JL = () => (0, b.useContext)(LEe), YL = (0, b.createContext)(null);-function REe({ children: e }) {- let [t, n] = (0, b.useState)(() => NO.navigation);- return (0, b.useLayoutEffect)(() => (n(NO.navigation), NO.listen((e) => {+var REe = (0, b.createContext)(0), JL = () => (0, b.useContext)(REe), YL = (0, b.createContext)(null);+function zEe({ children: e }) {+ let [t, n] = (0, b.useState)(() => PO.navigation);+ return (0, b.useLayoutEffect)(() => (n(PO.navigation), PO.listen((e) => {(0, mt.flushSync)(() => n(e));- })), []), /* @__PURE__ */ (0, x.jsx)(LEe.Provider, {+ })), []), /* @__PURE__ */ (0, x.jsx)(REe.Provider, {value: t.openEpoch,- children: /* @__PURE__ */ (0, x.jsx)(wme, {+ children: /* @__PURE__ */ (0, x.jsx)(Cme, {location: t.location,navigationType: t.action,- navigator: NO,+ navigator: PO,children: e})});}-function zEe({ target: e }) {- let t = lme();+function BEe({ target: e }) {+ let t = cme();return (0, b.useLayoutEffect)(() => {e.current = t;}), null;}-function BEe(e, t, n) {+function VEe(e, t, n) {let r = new URL(e, window.location.href);g5(r.pathname) ? n(`${r.pathname}${r.search}${r.hash}`) : t.navigate(e);}-function VEe() {- let e = (0, b.useContext)(YL), [t, n] = (0, b.useState)(xO), r = (0, b.useRef)(null);- (0, b.useLayoutEffect)(() => (n(xO()), Nme((e, t) => {+function HEe() {+ let e = (0, b.useContext)(YL), [t, n] = (0, b.useState)(SO), r = (0, b.useRef)(null);+ (0, b.useLayoutEffect)(() => (n(SO()), Mme((e, t) => {t ? (0, mt.flushSync)(() => n(e)) : n(e);})), []);let i = (0, b.useMemo)(() => (t) => {- e && r.current && BEe(t, e, r.current);+ e && r.current && VEe(t, e, r.current);}, [e]);- return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(zEe, { target: r }), e ? t.map((t) => /* @__PURE__ */ (0, x.jsx)(HEe, {+ return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(BEe, { target: r }), e ? t.map((t) => /* @__PURE__ */ (0, x.jsx)(UEe, {entry: t,- children: /* @__PURE__ */ (0, x.jsx)(UEe, {+ children: /* @__PURE__ */ (0, x.jsx)(WEe, {entry: t,actions: e,go: i})}, t.revision)) : null] });}-var HEe = class extends b.Component {+var UEe = class extends b.Component {state = { failed: !1 };static getDerivedStateFromError() {return { failed: !0 };}componentDidCatch() {- Ime(this.props.entry.container, this.props.entry.revision);+ Fme(this.props.entry.container, this.props.entry.revision);}render() {return this.state.failed ? null : this.props.children;}-}, UEe = (0, b.memo)(function({ entry: e, actions: t, go: n }) {- return Iat(e.path) ? (0, mt.createPortal)(zat(e.path, e.props, t, n), e.host, String(e.revision)) : null;+}, WEe = (0, b.memo)(function({ entry: e, actions: t, go: n }) {+ return Lat(e.path) ? (0, mt.createPortal)(Bat(e.path, e.props, t, n), e.host, String(e.revision)) : null;});-function WEe({ children: e }) {- let t = zD();+function GEe({ children: e }) {+ let t = BD();JL();- let n = IO(), r = QD(t.pathname) && !FO() ? tO(t.state) : null;+ let n = LO(), r = $D(t.pathname) && !IO() ? nO(t.state) : null;return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [- /* @__PURE__ */ (0, x.jsxs)(qD, {+ /* @__PURE__ */ (0, x.jsxs)(JD, {location: n ?? t,children: [- Object.entries(h5).map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(KD, {+ Object.entries(h5).map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(qD, {path: e,element: t.element}, e)),- Object.entries(Eat).map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(KD, {+ Object.entries(Dat).map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(qD, {path: e,element: t.element}, e)),- Object.entries(_5).map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(KD, {+ Object.entries(_5).map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(qD, {path: e,element: t.element}, e)),- Object.entries(y5).map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(KD, {+ Object.entries(y5).map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(qD, {path: e,element: t.element}, e)),- Object.entries(x5).map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(KD, {+ Object.entries(x5).map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(qD, {path: e,element: t.element}, e)),- Fat.map((e) => /* @__PURE__ */ (0, x.jsx)(KD, {+ Iat.map((e) => /* @__PURE__ */ (0, x.jsx)(qD, {path: e,element: S5["/"].element}, e)),- Object.entries(Dat).map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(KD, {+ Object.entries(Oat).map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(qD, {path: e,element: t.element}, e)),- nO.map((e) => /* @__PURE__ */ (0, x.jsx)(KD, {+ rO.map((e) => /* @__PURE__ */ (0, x.jsx)(qD, {path: e,- element: e === "/works/:code" ? null : e === "/posts/:id" ? /* @__PURE__ */ (0, x.jsx)(IEe, {}) : S5["/"].element+ element: e === "/works/:code" ? null : e === "/posts/:id" ? /* @__PURE__ */ (0, x.jsx)(LEe, {}) : S5["/"].element}, e)),- ZD.map((e) => /* @__PURE__ */ (0, x.jsx)(KD, {+ QD.map((e) => /* @__PURE__ */ (0, x.jsx)(qD, {path: e,element: null}, e)),- /* @__PURE__ */ (0, x.jsx)(KD, {+ /* @__PURE__ */ (0, x.jsx)(qD, {path: "*",element: e})]}),- /* @__PURE__ */ (0, x.jsxs)(qD, {+ /* @__PURE__ */ (0, x.jsxs)(JD, {location: r ?? t,- children: [nO.map((e) => /* @__PURE__ */ (0, x.jsx)(KD, {+ children: [rO.map((e) => /* @__PURE__ */ (0, x.jsx)(qD, {path: e,- element: /* @__PURE__ */ (0, x.jsx)(PEe, { path: e })- }, e)), /* @__PURE__ */ (0, x.jsx)(KD, {+ element: /* @__PURE__ */ (0, x.jsx)(FEe, { path: e })+ }, e)), /* @__PURE__ */ (0, x.jsx)(qD, {path: "*",element: null})]}),- /* @__PURE__ */ (0, x.jsxs)(qD, { children: [ZD.map((e) => /* @__PURE__ */ (0, x.jsx)(KD, {+ /* @__PURE__ */ (0, x.jsxs)(JD, { children: [QD.map((e) => /* @__PURE__ */ (0, x.jsx)(qD, {path: e,- element: /* @__PURE__ */ (0, x.jsx)(kEe, {})- }, e)), /* @__PURE__ */ (0, x.jsx)(KD, {+ element: /* @__PURE__ */ (0, x.jsx)(AEe, {})+ }, e)), /* @__PURE__ */ (0, x.jsx)(qD, {path: "*",element: null})] })] });}-function GEe({ children: e, actions: t = null }) {- return /* @__PURE__ */ (0, x.jsx)(OEe, { children: /* @__PURE__ */ (0, x.jsx)(YL.Provider, {+function KEe({ children: e, actions: t = null }) {+ return /* @__PURE__ */ (0, x.jsx)(kEe, { children: /* @__PURE__ */ (0, x.jsx)(YL.Provider, {value: t,- children: /* @__PURE__ */ (0, x.jsxs)(REe, { children: [- /* @__PURE__ */ (0, x.jsx)(VEe, {}),- /* @__PURE__ */ (0, x.jsx)(MEe, {}),- /* @__PURE__ */ (0, x.jsx)(WEe, { children: e })+ children: /* @__PURE__ */ (0, x.jsxs)(zEe, { children: [+ /* @__PURE__ */ (0, x.jsx)(HEe, {}),+ /* @__PURE__ */ (0, x.jsx)(NEe, {}),+ /* @__PURE__ */ (0, x.jsx)(GEe, { children: e })] })}) });}-var KEe = { onCaughtError: (e) => {+var qEe = { onCaughtError: (e) => {globalThis.reportError?.(e);} };//#endregion//#region src/react/feed-new/feed-new-row.tsx-function qEe({ feedNew: e, host: t, wire: n, act: r, settled: i }) {+function JEe({ feedNew: e, host: t, wire: n, act: r, settled: i }) {let a = (0, b.useContext)(YL), o = (0, b.useRef)(null), s = e?.items.length ? e.html : "";(0, b.useLayoutEffect)(() => {t.removeAttribute("aria-busy"), t.hidden = !s, e && i?.(!!s);@@ -53697,12 +53710,12 @@ function qEe({ feedNew: e, host: t, wire: n, act: r, settled: i }) {}//#endregion//#region src/react/entity-hero/glyph.tsx-var JEe = {+var YEe = {"text-aa": 1.435,"mark-javdb": 326 / 111};function XL({ name: e }) {- let t = JEe[e];+ let t = YEe[e];return /* @__PURE__ */ (0, x.jsx)("svg", {viewBox: t ? `0 0 ${(24 * t).toFixed(2)} 24` : "0 0 24 24","aria-hidden": "true",@@ -53720,7 +53733,7 @@ function ZL(e, t) {r.height > c && (t.style.maxHeight = `${c}px`), t.style.top = `${s ? i : n.top - 8 - Math.min(r.height, c)}px`;}var QL = (e) => !!e?.isConnected && e.matches(":popover-open");-function YEe(e, t, n, r) {+function XEe(e, t, n, r) {let i = (0, b.useRef)(r);i.current = r, (0, b.useEffect)(() => {if (!e) return;@@ -53749,7 +53762,7 @@ function $L({ id: e, rest: t, label: n, heading: r, hook: i, children: a }) {!u.current && !o.current?.matches(":hover,:focus-visible") && !s.current?.matches(":hover") && f();}, 150);};- return YEe(c, o, s, f), (0, b.useEffect)(() => {+ return XEe(c, o, s, f), (0, b.useEffect)(() => {if (!c) return;let e = (e) => {let t = e.target;@@ -53793,7 +53806,7 @@ function $L({ id: e, rest: t, label: n, heading: r, hook: i, children: a }) {}), a]})] });}-function XEe({ following: e, busy: t, onToggle: n, tip: r }) {+function ZEe({ following: e, busy: t, onToggle: n, tip: r }) {let i = (0, b.useRef)(null), a = (0, b.useRef)(null), o = (0, b.useRef)(null), [s, c] = (0, b.useState)(!1), l = (0, b.useRef)(!1), u = () => {QL(o.current) && o.current.hidePopover(), c(!1);}, d = () => {@@ -53801,7 +53814,7 @@ function XEe({ following: e, busy: t, onToggle: n, tip: r }) {}, f = () => {l.current = !1, u();};- return YEe(s, i, o, () => c(!1)), (0, b.useEffect)(() => {+ return XEe(s, i, o, () => c(!1)), (0, b.useEffect)(() => {i.current && QL(o.current) && ZL(i.current, o.current);}, [r]), /* @__PURE__ */ (0, x.jsxs)("label", {ref: i,@@ -53846,29 +53859,29 @@ function XEe({ following: e, busy: t, onToggle: n, tip: r }) {}//#endregion//#region src/react/entity-hero/name-picker.tsx-function ZEe({ current: e, choices: t, onChoose: n, onAddAlias: r }) {+function QEe({ current: e, choices: t, onChoose: n, onAddAlias: r }) {let [i, a] = (0, b.useState)(!1), o = (0, b.useRef)(null);return (0, b.useEffect)(() => {o.current?.setAttribute("title", "名字与别名");}, []), /* @__PURE__ */ (0, x.jsxs)($_e, {isOpen: i,onOpenChange: a,- children: [/* @__PURE__ */ (0, x.jsx)(WA, {+ children: [/* @__PURE__ */ (0, x.jsx)(GA, {ref: o,"data-namepick-toggle": "","aria-label": "名字与别名",children: /* @__PURE__ */ (0, x.jsx)(XL, { name: "chevron-down" })- }), /* @__PURE__ */ (0, x.jsx)(dM, {+ }), /* @__PURE__ */ (0, x.jsx)(fM, {placement: "bottom start",offset: 8,containerPadding: 8,- className: DI,+ className: OI,"data-namepick-menu": "",children: /* @__PURE__ */ (0, x.jsxs)(tve, {"aria-label": "名字与别名","data-namepick-list": "",children: [- /* @__PURE__ */ (0, x.jsx)(vM, {+ /* @__PURE__ */ (0, x.jsx)(yM, {selectionMode: "single",disallowEmptySelection: !0,selectedKeys: [e],@@ -53876,7 +53889,7 @@ function ZEe({ current: e, choices: t, onChoose: n, onAddAlias: r }) {let r = [...t][0];r && r !== e && n(r);},- children: t.map((e) => /* @__PURE__ */ (0, x.jsxs)(bM, {+ children: t.map((e) => /* @__PURE__ */ (0, x.jsxs)(xM, {id: e,textValue: e,"data-namepick-name": e,@@ -53884,7 +53897,7 @@ function ZEe({ current: e, choices: t, onChoose: n, onAddAlias: r }) {}, e))}),/* @__PURE__ */ (0, x.jsx)(F_e, { "data-namepick-rule": "" }),- /* @__PURE__ */ (0, x.jsx)(vM, { children: /* @__PURE__ */ (0, x.jsxs)(bM, {+ /* @__PURE__ */ (0, x.jsx)(yM, { children: /* @__PURE__ */ (0, x.jsxs)(xM, {id: "alias",textValue: "添加别名","data-namepick-alias": "",@@ -53896,11 +53909,11 @@ function ZEe({ current: e, choices: t, onChoose: n, onAddAlias: r }) {})]});}-var QEe = (e) => e === "studio" || e === "agency", $Ee = (e) => e === "performer" || e === "creator", eDe = (e) => e ? "已订阅新作,点击取消订阅" : "订阅新作";-function tDe(e) {+var $Ee = (e) => e === "studio" || e === "agency", eDe = (e) => e === "performer" || e === "creator", tDe = (e) => e ? "已订阅新作,点击取消订阅" : "订阅新作";+function nDe(e) {return [e.canonical_name, ...e.aliases || []].filter((e, t, n) => e && n.indexOf(e) === t);}-function nDe(e) {+function rDe(e) {if (e.agency) return {name: e.agency.canonical_name,linked: !0,@@ -53912,13 +53925,13 @@ function nDe(e) {linked: !1} : null;}-function rDe(e, t) {+function iDe(e, t) {let n = Jt(e, "performer"), r = Gt(t);return r && [e.label, n].map(Gt).some((e) => e && (r.includes(e) || e.includes(r))) ? `${t} 官方资料` : n || e.label || "";}var eR = (e) => ({ site: Vt(e) });-function iDe(e, t) {- let n = nDe(e)?.name || "", r = (e.entry_links || []).filter((e) => e.slot === "pill").map((e) => ({+function aDe(e, t) {+ let n = rDe(e)?.name || "", r = (e.entry_links || []).filter((e) => e.slot === "pill").map((e) => ({type: "icon",url: e.url,title: e.label,@@ -53928,7 +53941,7 @@ function iDe(e, t) {let t = e.retired_year ? `已于 ${e.retired_year} 年隐退` : "链接已失效";return {type: "gone",- title: `${rDe(e, n)} · ${t}`+ title: `${iDe(e, n)} · ${t}`};}let r = e.url || "";@@ -53936,10 +53949,10 @@ function iDe(e, t) {type: "private",label: e.label || e.hostname || "已记录"};- if ($Ee(t) && e.link_kind !== "social") return {+ if (eDe(t) && e.link_kind !== "social") return {type: "icon",url: r,- title: rDe(e, n),+ title: iDe(e, n),mark: eR(e)};if (e.link_kind === "social") {@@ -53959,9 +53972,9 @@ function iDe(e, t) {mark: eR(e)};});- return [...r, ...aDe(a)];+ return [...r, ...oDe(a)];}-function aDe(e) {+function oDe(e) {let t = e.filter((e) => e.type === "private");return t.length < 2 ? e : [...e.filter((e) => e.type !== "private"), {type: "private",@@ -53969,8 +53982,8 @@ function aDe(e) {sources: t.map((e) => e.label)}];}-var oDe = (e) => (e.entry_links || []).filter((e) => e.slot === "mark");-function sDe(e) {+var sDe = (e) => (e.entry_links || []).filter((e) => e.slot === "mark");+function cDe(e) {return [["legal_name",@@ -54026,7 +54039,7 @@ function sDe(e) {}]}] : []);}-function cDe(e) {+function lDe(e) {if (!e) return [];let t = [];e.birth_date && t.push({@@ -54083,14 +54096,14 @@ function cDe(e) {tags: e.tags}), t;}-function lDe(e, t = 4) {+function uDe(e, t = 4) {let n = e.length > t + 1 ? t : e.length;return {shown: e.slice(0, n),rest: e.length - n};}-function uDe(e) {+function dDe(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 ? {@@ -54101,7 +54114,7 @@ function uDe(e) {}//#endregion//#region src/react/entity-hero/entity-hero-page.tsx-function dDe(e) {+function fDe(e) {return ca({id: e.id,hasImage: e.has_image,@@ -54112,8 +54125,8 @@ function dDe(e) {standIn: e.avatar_stand_in});}-function fDe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a, helpers: o }) {- let s = $Ee(e), c = QEe(e), l = s ? cDe(n.profile) : c ? sDe(n.company_profile) : [], u = iDe(n, e), d = oDe(n), f = e === "agency" ? [] : n.related_performers || [], p = (0, b.useRef)(null), m = (0, b.useRef)(null);+function pDe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a, helpers: o }) {+ let s = eDe(e), c = $Ee(e), l = s ? lDe(n.profile) : c ? cDe(n.company_profile) : [], u = aDe(n, e), d = sDe(n), f = e === "agency" ? [] : n.related_performers || [], p = (0, b.useRef)(null), m = (0, b.useRef)(null);return (0, b.useEffect)(() => {o.wireScroller(p.current);}, [o, u.length]), (0, b.useEffect)(() => {@@ -54126,7 +54139,7 @@ function fDe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a,children: [/* @__PURE__ */ (0, x.jsxs)("div", {"data-entity-portrait-wrap": "",- children: [/* @__PURE__ */ (0, x.jsx)(pDe, {+ children: [/* @__PURE__ */ (0, x.jsx)(mDe, {kind: e,name: t,helpers: o,@@ -54134,7 +54147,7 @@ function fDe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a,company: c}), s && n.id ? /* @__PURE__ */ (0, x.jsx)("span", {"data-avatar-picker": "",- children: /* @__PURE__ */ (0, x.jsx)(SEe, {+ children: /* @__PURE__ */ (0, x.jsx)(CEe, {kind: e,entityId: Number(n.id),name: n.canonical_name || t,@@ -54149,13 +54162,13 @@ function fDe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a,"data-entity-title": "",children: [/* @__PURE__ */ (0, x.jsx)("h2", { children: n.canonical_name }),- e === "tag" ? null : /* @__PURE__ */ (0, x.jsx)(ZEe, {+ e === "tag" ? null : /* @__PURE__ */ (0, x.jsx)(QEe, {current: n.canonical_name,- choices: tDe(n),+ choices: nDe(n),onChoose: a.chooseName,onAddAlias: a.addAlias}),- n.id ? /* @__PURE__ */ (0, x.jsx)(DN, { item: {+ n.id ? /* @__PURE__ */ (0, x.jsx)(ON, { item: {entity_id: Number(n.id),kind: e,name: n.canonical_name || t,@@ -54163,7 +54176,7 @@ function fDe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a,} }) : null]}),- /* @__PURE__ */ (0, x.jsx)(mDe, {+ /* @__PURE__ */ (0, x.jsx)(hDe, {kind: e,entity: n,actions: a@@ -54184,14 +54197,14 @@ function fDe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a,u.length ? /* @__PURE__ */ (0, x.jsx)("div", {ref: p,"data-entity-links": "",- children: u.map((e, t) => /* @__PURE__ */ (0, x.jsx)(SDe, { link: e }, t))+ children: u.map((e, t) => /* @__PURE__ */ (0, x.jsx)(CDe, { link: e }, t))}) : null,- d.length || n.feed ? /* @__PURE__ */ (0, x.jsx)(CDe, {+ d.length || n.feed ? /* @__PURE__ */ (0, x.jsx)(wDe, {entity: n,actions: a,helpers: o}) : null,- n.follow?.held.length ? /* @__PURE__ */ (0, x.jsx)(_De, {+ n.follow?.held.length ? /* @__PURE__ */ (0, x.jsx)(vDe, {follow: n.follow,entity: n,actions: a@@ -54200,11 +54213,11 @@ function fDe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a,}),l.length ? /* @__PURE__ */ (0, x.jsx)("dl", {"data-entity-facts": "",- children: l.map((e) => /* @__PURE__ */ (0, x.jsx)(bDe, {+ children: l.map((e) => /* @__PURE__ */ (0, x.jsx)(xDe, {glyph: e.glyph,label: e.label,clip: e.clip,- children: e.tags ? /* @__PURE__ */ (0, x.jsx)(xDe, { tags: e.tags }) : e.parts.map((e, t) => /* @__PURE__ */ (0, x.jsxs)("span", {+ children: e.tags ? /* @__PURE__ */ (0, x.jsx)(SDe, { tags: e.tags }) : e.parts.map((e, t) => /* @__PURE__ */ (0, x.jsxs)("span", {"data-fact-tone": e.tone === "plain" ? void 0 : e.tone,children: [t ? " " : "", e.text]}, t))@@ -54223,7 +54236,7 @@ function fDe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a,onClick: () => a.openEntity("performer", e.k),children: [/* @__PURE__ */ (0, x.jsx)("span", {"data-hero-ring": "",- dangerouslySetInnerHTML: { __html: `<span>${z(nn(e.k))}</span>${dDe(e)}` }+ dangerouslySetInnerHTML: { __html: `<span>${z(nn(e.k))}</span>${fDe(e)}` }}), /* @__PURE__ */ (0, x.jsx)("span", {"data-hero-costar-name": "",children: e.k@@ -54231,14 +54244,14 @@ function fDe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a,}, e.k))})}) : null]- }), i ? (0, mt.createPortal)(/* @__PURE__ */ (0, x.jsx)(qEe, {+ }), i ? (0, mt.createPortal)(/* @__PURE__ */ (0, x.jsx)(JEe, {feedNew: r,host: i,wire: o.wireFeedRow,act: (e, t) => a.feedAction(e, t)}), i) : null] });}-function pDe({ kind: e, name: t, helpers: n, people: r, company: i }) {+function mDe({ kind: e, name: t, helpers: n, people: r, company: i }) {let [a] = (0, b.useState)(() => `${n.portraitImg()}<span>${z(nn(t))}</span>`);return /* @__PURE__ */ (0, x.jsx)("div", {"data-entity-portrait": r ? "round" : "square",@@ -54247,8 +54260,8 @@ function pDe({ kind: e, name: t, helpers: n, people: r, company: i }) {dangerouslySetInnerHTML: { __html: a }});}-function mDe({ kind: e, entity: t, actions: n }) {- let r = nDe(t), i = (e, t) => (r) => {+function hDe({ kind: e, entity: t, actions: n }) {+ let r = rDe(t), i = (e, t) => (r) => {r.preventDefault(), n.openEntity(e, t);}, a = r ? r.linked ? /* @__PURE__ */ (0, x.jsx)("a", {href: It("agency", r.name, r.id),@@ -54257,17 +54270,17 @@ function mDe({ kind: e, entity: t, actions: n }) {children: r.name}) : r.name : null, o = /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)("b", { children: t.asset_count.toLocaleString() }), " 个视频"] });if (e === "performer" || e === "creator") {- let e = uDe(t.name_groups);+ let e = dDe(t.name_groups);return /* @__PURE__ */ (0, x.jsxs)("div", {"data-entity-alias": "meta",children: [- /* @__PURE__ */ (0, x.jsx)(vDe, { entity: t }),+ /* @__PURE__ */ (0, x.jsx)(yDe, { entity: t }),/* @__PURE__ */ (0, x.jsxs)("span", {"data-meta-item": "",title: "视频",children: [/* @__PURE__ */ (0, x.jsx)(XL, { name: "film" }), /* @__PURE__ */ (0, x.jsx)("span", { children: o })]}),- t.follow?.key ? /* @__PURE__ */ (0, x.jsx)(gDe, {+ t.follow?.key ? /* @__PURE__ */ (0, x.jsx)(_De, {follow: t.follow,actions: n}) : null,@@ -54291,7 +54304,7 @@ function mDe({ kind: e, entity: t, actions: n }) {rest: e.rest,label: `另外 ${e.rest.toLocaleString()} 个别名`,heading: `${e.total.toLocaleString()} 个别名`,- children: /* @__PURE__ */ (0, x.jsx)("dl", { children: (t.name_groups?.groups || []).map((e, t) => /* @__PURE__ */ (0, x.jsx)(yDe, {+ children: /* @__PURE__ */ (0, x.jsx)("dl", { children: (t.name_groups?.groups || []).map((e, t) => /* @__PURE__ */ (0, x.jsx)(bDe, {label: e.label,names: e.names}, t)) })@@ -54313,7 +54326,7 @@ function mDe({ kind: e, entity: t, actions: n }) {return /* @__PURE__ */ (0, x.jsxs)("div", {"data-entity-alias": "meta",children: [- e === "creator" ? /* @__PURE__ */ (0, x.jsx)(vDe, { entity: t }) : null,+ e === "creator" ? /* @__PURE__ */ (0, x.jsx)(yDe, { entity: t }) : null,/* @__PURE__ */ (0, x.jsxs)("span", {"data-meta-item": "",title: "视频",@@ -54334,12 +54347,12 @@ function mDe({ kind: e, entity: t, actions: n }) {children: l.name})]}) : null,- s.length ? /* @__PURE__ */ (0, x.jsx)(hDe, { aliases: s }) : null+ s.length ? /* @__PURE__ */ (0, x.jsx)(gDe, { aliases: s }) : null]});}-function hDe({ aliases: e }) {- let { shown: t, rest: n } = lDe(e, 3);+function gDe({ aliases: e }) {+ let { shown: t, rest: n } = uDe(e, 3);return /* @__PURE__ */ (0, x.jsxs)("div", {"data-meta-item": "names","data-company-names": "",@@ -54356,12 +54369,12 @@ function hDe({ aliases: e }) {rest: n,label: `另外 ${n.toLocaleString()} 个别名`,heading: `${e.length.toLocaleString()} 个别名`,- children: /* @__PURE__ */ (0, x.jsx)("dl", { children: /* @__PURE__ */ (0, x.jsx)(yDe, { names: e.map((e) => ({ name: e })) }) })+ children: /* @__PURE__ */ (0, x.jsx)("dl", { children: /* @__PURE__ */ (0, x.jsx)(bDe, { names: e.map((e) => ({ name: e })) }) })}) : null]});}-function gDe({ follow: e, actions: t }) {+function _De({ follow: e, actions: t }) {let n = e.providers.join(" · ");return /* @__PURE__ */ (0, x.jsxs)("span", {"data-meta-item": "",@@ -54376,7 +54389,7 @@ function gDe({ follow: e, actions: t }) {})]});}-function _De({ follow: e, entity: t, actions: n }) {+function vDe({ follow: e, entity: t, actions: n }) {let [r, i] = (0, b.useState)(""), a = async (e, t) => {if (!r) {i(e);@@ -54410,14 +54423,14 @@ function _De({ follow: e, entity: t, actions: n }) {}, e.key))});}-function vDe({ entity: e }) {+function yDe({ entity: e }) {return e.identity_labels?.length ? /* @__PURE__ */ (0, x.jsxs)("span", {"data-meta-item": "classification","data-identity-classification": "",children: [/* @__PURE__ */ (0, x.jsx)(XL, { name: "user-round" }), /* @__PURE__ */ (0, x.jsx)("span", { children: e.identity_labels.join(" · ") })]}) : null;}-function yDe({ label: e, names: t }) {+function bDe({ label: e, names: t }) {return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [e ? /* @__PURE__ */ (0, x.jsx)("dt", { children: e }) : null, /* @__PURE__ */ (0, x.jsx)("dd", {"data-wide": e ? void 0 : "",children: t.map((e, t) => /* @__PURE__ */ (0, x.jsxs)("span", {@@ -54426,15 +54439,15 @@ function yDe({ label: e, names: t }) {}, t))})] });}-function bDe({ glyph: e, label: t, clip: n, children: r }) {+function xDe({ glyph: e, label: t, clip: n, children: r }) {return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsxs)("dt", { children: [/* @__PURE__ */ (0, x.jsx)(XL, { name: e }), t] }), /* @__PURE__ */ (0, x.jsx)("dd", {"data-fact": e === "tags" ? "tags" : n ? "clip" : e === "calendar-range" ? "num" : void 0,title: n,children: r})] });}-function xDe({ tags: e }) {- let { shown: t, rest: n } = lDe(e);+function SDe({ tags: e }) {+ let { shown: t, rest: n } = uDe(e);return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [t.map((e) => /* @__PURE__ */ (0, x.jsx)("span", {"data-fact-tag": "",title: e,@@ -54466,7 +54479,7 @@ function tR({ mark: e }) {dangerouslySetInnerHTML: { __html: t }});}-function SDe({ link: e }) {+function CDe({ link: e }) {switch (e.type) {case "icon": return /* @__PURE__ */ (0, x.jsx)("a", {"data-link": "icon",@@ -54505,7 +54518,7 @@ function SDe({ link: e }) {});}}-function CDe({ entity: e, actions: t, helpers: n }) {+function wDe({ entity: e, actions: t, helpers: n }) {let [r, i] = (0, b.useState)(!!e.feed?.following), [a, o] = (0, b.useState)(!1), s = (0, b.useRef)(!1), c = async (e) => {if (s.current) return !1;s.current = !0, o(!0);@@ -54523,7 +54536,7 @@ function CDe({ entity: e, actions: t, helpers: n }) {};return /* @__PURE__ */ (0, x.jsxs)("div", {"data-entry-marks": "",- children: [oDe(e).map((e, t) => /* @__PURE__ */ (0, x.jsxs)("a", {+ children: [sDe(e).map((e, t) => /* @__PURE__ */ (0, x.jsxs)("a", {"data-entry-mark": "",href: e.url,target: "_blank",@@ -54537,20 +54550,20 @@ function CDe({ entity: e, actions: t, helpers: n }) {"data-entry-ordinal": "",children: e.ordinal}) : null]- }, t)), e.feed ? /* @__PURE__ */ (0, x.jsx)(XEe, {+ }, t)), e.feed ? /* @__PURE__ */ (0, x.jsx)(ZEe, {following: r,busy: a,onToggle: (e) => {l(e);},- tip: eDe(r)+ tip: tDe(r)}) : null]});}//#endregion//#region src/react/entity-page/use-entity-online.ts-var wDe = () => ((Date.now() ^ (Math.random() * 1e9 | 0)) >>> 0) % 99991;-function TDe(e, t, n) {+var TDe = () => ((Date.now() ^ (Math.random() * 1e9 | 0)) >>> 0) % 99991;+function EDe(e, t, n) {let [r, i] = (0, b.useState)(() => pi(e));r.author !== e && i(pi(e));let [a, o] = (0, b.useState)({@@ -54629,7 +54642,7 @@ function TDe(e, t, n) {onlineMedia: (e) => c(e),onlineShuffle: () => E({sort: Xr,- seed: wDe()+ seed: TDe()}),onlineImagesOnly: (e) => n.setImagesOnly(e),onlineStatus: (e) => E({ status: e }),@@ -54647,8 +54660,8 @@ function TDe(e, t, n) {}//#endregion//#region src/react/entity-page/entity-page-view.tsx-function EDe(e) {- let { kind: t, name: n } = e, r = dt(rwe(t, n)), i = !!r.data?.error, a = r.data?.canonical_name, o = r.data?.redirect ?? (a && a !== n ? {+function DDe(e) {+ let { kind: t, name: n } = e, r = dt(iwe(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;@@ -54666,17 +54679,17 @@ function EDe(e) {s,o?.kind,o?.name- ]), r.isError ? /* @__PURE__ */ (0, x.jsx)(lP, {+ ]), r.isError ? /* @__PURE__ */ (0, x.jsx)(uP, {message: B(r.error),onRetry: () => {r.refetch();}- }) : !r.data || i || o ? null : /* @__PURE__ */ (0, x.jsx)(ADe, {+ }) : !r.data || i || o ? null : /* @__PURE__ */ (0, x.jsx)(jDe, {...e,entity: r.data});}-function DDe(e) {+function ODe(e) {let [t, n] = (0, b.useState)({key: e,n: 1@@ -54688,22 +54701,22 @@ function DDe(e) {};return n(r), r.n;}-var ODe = () => String(((Date.now() ^ (Math.random() * 1e9 | 0)) >>> 0) % 99991);-function kDe(e, t) {+var kDe = () => String(((Date.now() ^ (Math.random() * 1e9 | 0)) >>> 0) % 99991);+function ADe(e, t) {return `照片 · ${[e.total || !t ? `${(e.total || 0).toLocaleString()} 张` : "", t ? `样张 ${(e.sample_total || 0).toLocaleString()} 张 · ${t.toLocaleString()} 部作品` : ""].filter(Boolean).join(" · ")}`;}-function ADe(e) {+function jDe(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 = pt(bL(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 || xL(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} : gL, [y, S] = (0, b.useState)("people"), C = new URLSearchParams(Object.entries(i).filter(([, e]) => e)).toString(), [w, T] = (0, b.useState)(C);w !== C && (T(C), S("videos"));- let E = l && y === "people" && u.length ? "people" : v.media, D = TDe(g, E === "online", {+ let E = l && y === "people" && u.length ? "people" : v.media, D = EDe(g, E === "online", {photoLayout: e.photoLayout,photoLayouts: e.photoLayouts,imagesOnly: e.followImagesOnly,setImagesOnly: e.follow.actions.setImagesOnly- }), O = E === "photos" || E === "online" && D.media === "images", [k, A] = (0, b.useState)(0), j = yL(e), M = dt(j), N = DDe(JSON.stringify([j.queryKey, k])), [P] = (0, b.useState)(() => (t === "performer" || t === "studio") && (e.jav || (M.data?.items || []).some((e) => e.is_jav)));+ }), O = E === "photos" || E === "online" && D.media === "images", [k, A] = (0, b.useState)(0), j = yL(e), M = dt(j), N = ODe(JSON.stringify([j.queryKey, k])), [P] = (0, b.useState)(() => (t === "performer" || t === "studio") && (e.jav || (M.data?.items || []).some((e) => e.is_jav)));(0, b.useLayoutEffect)(() => {s.javContext(P);}, [s, P]);@@ -54713,10 +54726,10 @@ function ADe(e) {}, [e.layout, P]), F = {jav: e.jav,seed: e.seed- }, te = (0, b.useCallback)((e, r) => nwe(t, n, i, F, e, r), [N]), [I, ne] = (0, b.useState)({}), re = v.set, ie = I[re] || "", ae = pt({+ }, te = (0, b.useCallback)((e, r) => rwe(t, n, i, F, e, r), [N]), [I, ne] = (0, b.useState)({}), re = v.set, ie = I[re] || "", ae = pt({...bL(t, n, re, ie),enabled: E === "photos"- }), oe = ae.data?.pages[0], se = DDe(JSON.stringify($Ce(t, n, re, ie))), ce = (0, b.useMemo)(() => {+ }), oe = ae.data?.pages[0], se = ODe(JSON.stringify(ewe(t, n, re, ie))), ce = (0, b.useMemo)(() => {let e = ae.data?.pages;if (!e?.[0] || e[0].error) return null;let t = e[0];@@ -54842,7 +54855,7 @@ function ADe(e) {me.current && await U.invalidateQueries({ queryKey: pL(d) });})();},- feedAction: XCe,+ feedAction: ZCe,avatarPicked: () => {s.avatarChanged(), he().then(() => {me.current && A((e) => e + 1);@@ -54916,7 +54929,7 @@ function ADe(e) {await U.fetchQuery(a).catch(() => null);return;}- let r = ODe(), a = await U.fetchInfiniteQuery(bL(t, n, re, r)).catch(() => null);+ let r = kDe(), a = await U.fetchInfiniteQuery(bL(t, n, re, r)).catch(() => null);me.current && a?.pages[0] && !a.pages[0].error && ne((e) => ({...e,[re]: r@@ -54951,7 +54964,7 @@ function ADe(e) {k: e.k,label: rc(e.k),n: e.n,- selected: ewe(i.tag, e.k)+ selected: twe(i.tag, e.k)})), Te = [u.length,!_,@@ -54993,7 +55006,7 @@ function ADe(e) {Pe = !M.data;let e = vL(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()} 张` : kDe(oe, xL(oe).length) : Pe = ae.isPending;+ } else oe && !oe.error ? Ne = De ? `${oe.title} · ${(oe.total || 0).toLocaleString()} 张` : ADe(oe, xL(oe).length) : Pe = ae.isPending;let Fe = (0, b.useMemo)(() => ({...e.card.actions,loadMorePhotos: async () => {@@ -55010,7 +55023,7 @@ function ADe(e) {u]);return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [- /* @__PURE__ */ (0, x.jsx)(fDe, {+ /* @__PURE__ */ (0, x.jsx)(pDe, {kind: t,name: n,entity: r,@@ -55037,7 +55050,7 @@ function ADe(e) {actions: Se,helpers: Ce}), c.filter),- (0, mt.createPortal)(E === "online" ? /* @__PURE__ */ (0, x.jsx)(PTe, {+ (0, mt.createPortal)(E === "online" ? /* @__PURE__ */ (0, x.jsx)(FTe, {view: D.view,media: D.media,result: D.result,@@ -55050,15 +55063,15 @@ function ADe(e) {helpers: e.follow.helpers,actions: e.follow.actions,canLoadMore: e.canLoadMore- }, D.key) : E === "videos" && M.isError ? /* @__PURE__ */ (0, x.jsx)(lP, {+ }, D.key) : E === "videos" && M.isError ? /* @__PURE__ */ (0, x.jsx)(uP, {message: B(M.error),onRetry: () => {M.refetch();}- }) : je ? /* @__PURE__ */ (0, x.jsx)(jDe, {+ }) : je ? /* @__PURE__ */ (0, x.jsx)(MDe, {filtered: Ae,onShowAll: Me- }) : /* @__PURE__ */ (0, x.jsx)($we, {+ }) : /* @__PURE__ */ (0, x.jsx)(eTe, {kind: t,name: n,view: E,@@ -55082,9 +55095,9 @@ function ADe(e) {}), c.body)] });}-function jDe({ filtered: e, onShowAll: t }) {- return e ? /* @__PURE__ */ (0, x.jsx)(Dk, {- icon: vN("search"),+function MDe({ filtered: e, onShowAll: t }) {+ return e ? /* @__PURE__ */ (0, x.jsx)(Ok, {+ icon: yN("search"),title: "没有符合条件的视频",actions: /* @__PURE__ */ (0, x.jsx)(G, {variant: "secondary",@@ -55092,8 +55105,8 @@ function jDe({ filtered: e, onShowAll: t }) {children: "查看全部视频"}),children: "清除筛选后查看名下全部视频。"- }) : /* @__PURE__ */ (0, x.jsx)(Dk, {- icon: vN("film"),+ }) : /* @__PURE__ */ (0, x.jsx)(Ok, {+ icon: yN("film"),title: "还没有视频",children: "署上这个名字的视频入库后会显示在这里。"});@@ -55127,20 +55140,20 @@ function nR({ label: e, figure: t, detail: n = "", pending: r = !1, flush: i = !}//#endregion//#region src/react/duplicates/duplicates-page.tsx-var MDe = vN("play"), NDe = vN("file-stack"), PDe = Ek({+var NDe = yN("play"), PDe = yN("file-stack"), FDe = Dk({padding: "none",radius: "surface",className: "mb-6 overflow-hidden dark:bg-background-primary-default"-}), FDe = "rounded-sm px-1.5 py-px text-caption-1-regular leading-5", rR = "rounded-sm px-2 py-0.5 text-caption-1-regular leading-5", iR = "font-mono text-caption-1-regular leading-5 text-text-secondary", IDe = () => {+}), IDe = "rounded-sm px-1.5 py-px text-caption-1-regular leading-5", rR = "rounded-sm px-2 py-0.5 text-caption-1-regular leading-5", iR = "font-mono text-caption-1-regular leading-5 text-text-secondary", LDe = () => {U.invalidateQueries({- queryKey: XP,+ queryKey: ZP,exact: !0}), U.invalidateQueries({- queryKey: gI,+ queryKey: _I,exact: !0});};-function LDe(e) {+function RDe(e) {return e.identical ? /* @__PURE__ */ (0, x.jsx)("span", {className: `${rR} text-(--keep)`,children: "sha1 一致"@@ -55149,7 +55162,7 @@ function LDe(e) {children: e.evidence === "same_code_short_copy" ? "同番号短版本" : "时长推断"});}-function RDe({ file: e, prefix: t, openItem: n }) {+function zDe({ file: e, prefix: t, openItem: n }) {let r = () => n(e.id), i = an[e.location] || e.location || e.drive;return /* @__PURE__ */ (0, x.jsxs)("div", {className: "duplicate-row items-center gap-3 border-t border-separator-border px-5 py-4 max-compact:p-4",@@ -55159,7 +55172,7 @@ function RDe({ file: e, prefix: t, openItem: n }) {onClick: r,"aria-label": `预览 ${e.name}`,className: "relative row-span-2 inline-grid aspect-16/10 w-full cursor-pointer place-items-center overflow-hidden rounded-2lg bg-background-tertiary-default text-text-secondary",- children: [/* @__PURE__ */ (0, x.jsx)(MDe, {+ children: [/* @__PURE__ */ (0, x.jsx)(NDe, {"aria-hidden": !0,className: "size-6"}), /* @__PURE__ */ (0, x.jsx)("img", {@@ -55183,17 +55196,17 @@ function RDe({ file: e, prefix: t, openItem: n }) {}), e.is_largest || e.is_longest ? /* @__PURE__ */ (0, x.jsxs)("span", {className: "flex flex-none gap-1",children: [e.is_largest ? /* @__PURE__ */ (0, x.jsx)("i", {- className: `${FDe} not-italic bg-background-primary-hover text-text-secondary`,+ className: `${IDe} not-italic bg-background-primary-hover text-text-secondary`,children: "最大"}) : null, e.is_longest ? /* @__PURE__ */ (0, x.jsx)("i", {- className: `${FDe} not-italic bg-(--keep)/22 text-(--keep)`,+ className: `${IDe} not-italic bg-(--keep)/22 text-(--keep)`,children: "最长"}) : null]}) : null]}),/* @__PURE__ */ (0, x.jsxs)("span", {className: `${iR} flex min-w-0 items-center gap-1.5`,- children: [/* @__PURE__ */ (0, x.jsx)(Yk, { mark: eo[e.location] || "database" }), /* @__PURE__ */ (0, x.jsx)("span", {+ children: [/* @__PURE__ */ (0, x.jsx)(Xk, { mark: eo[e.location] || "database" }), /* @__PURE__ */ (0, x.jsx)("span", {title: i,className: "min-w-0 truncate",children: i@@ -55214,23 +55227,23 @@ function RDe({ file: e, prefix: t, openItem: n }) {]});}-function zDe({ openItem: e, toast: t, failure: n }) {+function BDe({ openItem: e, toast: t, failure: n }) {let r = dt({- queryKey: XP,- queryFn: ({ signal: e }) => QP(e)+ queryKey: ZP,+ queryFn: ({ signal: e }) => $P(e)}), i = dt({queryKey: xn,queryFn: ({ signal: e }) => Sn(e)}), [a, o] = (0, b.useState)(""), s = ft({- mutationFn: (e) => tF(e, "dispose"),+ mutationFn: (e) => nF(e, "dispose"),onSuccess: (e, r) => {- IDe(), t(`已把 ${r.length} 项移入回收站`, { undo: async () => {+ LDe(), t(`已把 ${r.length} 项移入回收站`, { undo: async () => {try {- await tF(r, "restore");+ await nF(r, "restore");} catch (e) {n("撤销移入回收站", e);} finally {- IDe();+ LDe();}} });},@@ -55249,7 +55262,7 @@ function zDe({ openItem: e, toast: t, failure: n }) {let r = Hbe(e, t);r.length && ms({title: "移入回收站",- body: `将把 ${r.length} 个重复文件的馆藏记录移入回收站,每组保留${$P[t] ?? $P.largest}。文件共 ${Qt(Ube(e, r))},记录可从回收站还原。`,+ body: `将把 ${r.length} 个重复文件的馆藏记录移入回收站,每组保留${eF[t] ?? eF.largest}。文件共 ${Qt(Ube(e, r))},记录可从回收站还原。`,confirmLabel: "移入回收站",onConfirm: () => (o(n), s.mutateAsync(r))});@@ -55265,7 +55278,7 @@ function zDe({ openItem: e, toast: t, failure: n }) {l.length ? /* @__PURE__ */ (0, x.jsxs)(g_e, {title: "批量保留",children: [- /* @__PURE__ */ (0, x.jsx)(SA, {+ /* @__PURE__ */ (0, x.jsx)(CA, {busy: a === "all:largest",onPress: () => d({groups: l,@@ -55274,7 +55287,7 @@ function zDe({ openItem: e, toast: t, failure: n }) {}),children: "全部保留最大"}),- /* @__PURE__ */ (0, x.jsx)(SA, {+ /* @__PURE__ */ (0, x.jsx)(CA, {busy: a === "all:longest",onPress: () => d({groups: l,@@ -55283,14 +55296,14 @@ function zDe({ openItem: e, toast: t, failure: n }) {}),children: "全部保留最长"}),- Vbe(l, u).map((e) => /* @__PURE__ */ (0, x.jsx)(SA, {+ Vbe(l, u).map((e) => /* @__PURE__ */ (0, x.jsx)(CA, {busy: a === `all:${e}`,onPress: () => d({groups: l,keep: e,key: `all:${e}`}),- children: /* @__PURE__ */ (0, x.jsx)(cA, {+ children: /* @__PURE__ */ (0, x.jsx)(lA, {source: e,label: `全部优先 ${an[e] || e}`})@@ -55309,7 +55322,7 @@ function zDe({ openItem: e, toast: t, failure: n }) {let r = [t], i = Lbe(t.files.map((e) => e.name)), a = (e) => `${n}:${e}`;return /* @__PURE__ */ (0, x.jsxs)("section", {"aria-label": t.code,- className: PDe,+ className: FDe,children: [/* @__PURE__ */ (0, x.jsxs)("div", {className: "flex flex-wrap items-center gap-3 bg-background-tertiary-default p-5 max-compact:p-4 dark:bg-background-secondary-default",children: [@@ -55321,7 +55334,7 @@ function zDe({ openItem: e, toast: t, failure: n }) {className: "font-mono text-caption-1-regular leading-5 text-text-primary",children: `${Number(t.count || 0).toLocaleString()} 个 · 可回收 ${Qt(t.reclaimable)}`}),- LDe(t),+ RDe(t),t.cross_drive ? /* @__PURE__ */ (0, x.jsx)("span", {className: `${rR} text-text-secondary`,children: `跨盘 ${t.drives.join(" ")}`@@ -55351,7 +55364,7 @@ function zDe({ openItem: e, toast: t, failure: n }) {}),children: "留最长"}),- eF(t.files, u).map((e) => /* @__PURE__ */ (0, x.jsx)(G, {+ tF(t.files, u).map((e) => /* @__PURE__ */ (0, x.jsx)(G, {variant: "secondary",size: "small",...f(a(e)),@@ -55360,7 +55373,7 @@ function zDe({ openItem: e, toast: t, failure: n }) {keep: e,key: a(e)}),- children: /* @__PURE__ */ (0, x.jsx)(cA, {+ children: /* @__PURE__ */ (0, x.jsx)(lA, {source: e,label: `留 ${an[e] || e}`})@@ -55379,14 +55392,14 @@ function zDe({ openItem: e, toast: t, failure: n }) {]})]- }), /* @__PURE__ */ (0, x.jsx)("div", { children: t.files.map((t) => /* @__PURE__ */ (0, x.jsx)(RDe, {+ }), /* @__PURE__ */ (0, x.jsx)("div", { children: t.files.map((t) => /* @__PURE__ */ (0, x.jsx)(zDe, {file: t,prefix: i,openItem: e}, t.id)) })]}, `${t.code}-${n}`);- }) : /* @__PURE__ */ (0, x.jsx)(Dk, {- icon: NDe,+ }) : /* @__PURE__ */ (0, x.jsx)(Ok, {+ icon: PDe,title: "没有找到重复文件",children: "所有来源之间没有检测到内容相同的文件。扫描新来源后,这里会自动更新。"}),@@ -55399,23 +55412,23 @@ function zDe({ openItem: e, toast: t, failure: n }) {}//#endregion//#region src/react/diagnostics/diagnostics.ts-var BDe = ["diagnostics"], VDe = (e) => V("/api/diagnostics", e);-async function HDe(e) {+var VDe = ["diagnostics"], HDe = (e) => V("/api/diagnostics", e);+async function UDe(e) {await U.fetchQuery({- queryKey: BDe,- queryFn: () => VDe(e),+ queryKey: VDe,+ queryFn: () => HDe(e),staleTime: 1e4});}//#endregion//#region src/react/diagnostics/diagnostics-page.tsx-var UDe = {+var WDe = {ok: "正常",warning: "需检查",failed: "需处理",unknown: "未取得",disabled: "未配置"-}, WDe = [+}, GDe = [["媒体库与挂载", ["media_mounts", "data_root"]],["数据库与迁移", ["database", "schema"]],["工具", ["ffmpeg"]],@@ -55427,7 +55440,7 @@ var UDe = {]],["后台任务", ["tasks"]]], aR = (e) => new Date(e).toLocaleString();-function GDe({ name: e, check: t, navigate: n, configure: r }) {+function KDe({ name: e, check: t, navigate: n, configure: r }) {let i = e === "security" || e === "port" ? "网络与访问" : "媒体库与入库";return /* @__PURE__ */ (0, x.jsxs)("div", {className: "flex flex-col gap-2 border-b border-separator-border py-4 pr-3 last:border-b-0",@@ -55439,7 +55452,7 @@ function GDe({ name: e, check: t, navigate: n, configure: r }) {children: t.label}), /* @__PURE__ */ (0, x.jsx)("span", {className: "text-body-2-regular text-text-secondary",- children: UDe[t.status] ?? "未取得"+ children: WDe[t.status] ?? "未取得"})]}),/* @__PURE__ */ (0, x.jsx)("p", {@@ -55459,14 +55472,14 @@ function GDe({ name: e, check: t, navigate: n, configure: r }) {]});}-function KDe({ group: e, openItem: t, receipt: n }) {- let r = Mk(), i = YI(), a = e.items.map((e) => e.code || `作品 #${e.id}`).join("\n");- return /* @__PURE__ */ (0, x.jsx)(Jk, {+function qDe({ group: e, openItem: t, receipt: n }) {+ let r = Nk(), i = XI(), a = e.items.map((e) => e.code || `作品 #${e.id}`).join("\n");+ return /* @__PURE__ */ (0, x.jsx)(Yk, {summary: `${e.label} · ${e.count === null ? "未取得" : `${e.count.toLocaleString()} 项`}`,children: e.count === null ? /* @__PURE__ */ (0, x.jsx)(K, {tone: "neutral",children: "清单未取得,请重新检查。"- }) : e.items.length ? /* @__PURE__ */ (0, x.jsxs)(Bk, { children: [+ }) : e.items.length ? /* @__PURE__ */ (0, x.jsxs)(Vk, { children: [/* @__PURE__ */ (0, x.jsxs)("div", {className: "flex flex-wrap items-center justify-between gap-2",children: [e.truncated ? /* @__PURE__ */ (0, x.jsxs)("span", {@@ -55501,7 +55514,7 @@ function KDe({ group: e, openItem: t, receipt: n }) {}) }, e.id))})})- ] }) : /* @__PURE__ */ (0, x.jsx)(Dk, {+ ] }) : /* @__PURE__ */ (0, x.jsx)(Ok, {icon: nhe,title: "清单为空",shell: "plain",@@ -55509,12 +55522,12 @@ function KDe({ group: e, openItem: t, receipt: n }) {})});}-function qDe(e) {+function JDe(e) {let t = dt({- queryKey: BDe,- queryFn: ({ signal: e }) => VDe(e),+ queryKey: VDe,+ queryFn: ({ signal: e }) => HDe(e),staleTime: 1e4- }), n = Mk(), [r, i] = (0, b.useState)(""), a = () => void n.run("refresh", async () => {+ }), n = Nk(), [r, i] = (0, b.useState)(""), a = () => void n.run("refresh", async () => {let e = await t.refetch();if (e.error) throw e.error;return e.data;@@ -55535,27 +55548,27 @@ function qDe(e) {tone: "error",children: r}) : null,- /* @__PURE__ */ (0, x.jsx)(Rk, {+ /* @__PURE__ */ (0, x.jsx)(zk, {title: "库健康",- children: /* @__PURE__ */ (0, x.jsxs)(Bk, { children: [o.library.issue_at ? /* @__PURE__ */ (0, x.jsxs)("p", {+ children: /* @__PURE__ */ (0, x.jsxs)(Vk, { children: [o.library.issue_at ? /* @__PURE__ */ (0, x.jsxs)("p", {className: "text-body-2-regular text-text-secondary",children: ["处理记录 · ", aR(o.library.issue_at)]- }) : null, Object.entries(o.library.groups).map(([t, n]) => /* @__PURE__ */ (0, x.jsx)(KDe, {+ }) : null, Object.entries(o.library.groups).map(([t, n]) => /* @__PURE__ */ (0, x.jsx)(qDe, {group: n,...e}, t))] })}),- WDe.map(([t, n]) => /* @__PURE__ */ (0, x.jsx)(Rk, {+ GDe.map(([t, n]) => /* @__PURE__ */ (0, x.jsx)(zk, {title: t,- children: n.map((t) => o.checks[t] ? /* @__PURE__ */ (0, x.jsx)(GDe, {+ children: n.map((t) => o.checks[t] ? /* @__PURE__ */ (0, x.jsx)(KDe, {name: t,check: o.checks[t],...e}, t) : null)}, t)),- /* @__PURE__ */ (0, x.jsx)(Rk, {+ /* @__PURE__ */ (0, x.jsx)(zk, {title: "来源会话",- children: /* @__PURE__ */ (0, x.jsxs)(Bk, { children: [o.sources.map((e) => /* @__PURE__ */ (0, x.jsxs)("div", {+ children: /* @__PURE__ */ (0, x.jsxs)(Vk, { children: [o.sources.map((e) => /* @__PURE__ */ (0, x.jsxs)("div", {className: "flex flex-col gap-2",children: [/* @__PURE__ */ (0, x.jsxs)("h3", {@@ -55563,23 +55576,23 @@ function qDe(e) {children: [e.label," · ",- UDe[e.status] ?? "未取得"+ WDe[e.status] ?? "未取得"]}),- /* @__PURE__ */ (0, x.jsx)(pA, {+ /* @__PURE__ */ (0, x.jsx)(mA, {text: e.reason,className: "text-body-regular text-text-primary"}),- /* @__PURE__ */ (0, x.jsxs)(Kk, { children: [- /* @__PURE__ */ (0, x.jsx)(qk, {+ /* @__PURE__ */ (0, x.jsxs)(qk, { children: [+ /* @__PURE__ */ (0, x.jsx)(Jk, {term: "上次解析成功",children: e.last_success_at ? aR(e.last_success_at) : "未取得"}),- e.last_check_at ? /* @__PURE__ */ (0, x.jsxs)(qk, {+ e.last_check_at ? /* @__PURE__ */ (0, x.jsxs)(Jk, {term: "上次检查",children: [aR(e.last_check_at), e.elapsed_s !== void 0 && e.elapsed_s !== null ? ` · ${e.elapsed_s.toFixed(2)} 秒` : ""]}) : null,- /* @__PURE__ */ (0, x.jsx)(qk, {+ /* @__PURE__ */ (0, x.jsx)(Jk, {term: "冷却截止",children: e.cooldown_until ? aR(e.cooldown_until) : "未在冷却"})@@ -55610,15 +55623,15 @@ function qDe(e) {}//#endregion//#region src/react/feed-new/feed-new-page.tsx-function JDe({ host: e, revision: t, helpers: n, actions: r }) {+function YDe({ host: e, revision: t, helpers: n, actions: r }) {let i = dt(mL(null, n.feedRowHtml)), a = (0, b.useRef)(t);return (0, b.useEffect)(() => {a.current !== t && (a.current = t, U.invalidateQueries({ queryKey: pL(null) }));- }, [t]), (0, mt.createPortal)(/* @__PURE__ */ (0, x.jsx)(qEe, {+ }, [t]), (0, mt.createPortal)(/* @__PURE__ */ (0, x.jsx)(JEe, {feedNew: i.data ?? null,host: e,wire: n.wireFeedRow,- act: XCe,+ act: ZCe,settled: r.settled}), e);}@@ -55653,15 +55666,15 @@ function sR({ group: e, name: t }) {children: ir(t)});}-function YDe({ source: e }) {+function XDe({ source: e }) {let t = Xn(e) ? "rose" : e.enabled && e.last_status === "ok" ? "lime" : e.enabled ? "yellow" : "neutral";- return /* @__PURE__ */ (0, x.jsx)(Ck, {+ return /* @__PURE__ */ (0, x.jsx)(wk, {variant: "caption",color: t,children: Yn(e)});}-function XDe({ source: e }) {+function ZDe({ source: e }) {return /* @__PURE__ */ (0, x.jsx)("a", {href: e.url,target: "_blank",@@ -55702,11 +55715,11 @@ function cR({ text: e, prefix: t = "", tone: n = "error" }) {}//#endregion//#region src/react/follow-manage/add-source.tsx-var ZDe = bk(OI, kI, "text-body-2-medium"), QDe = "粘贴来源链接,或输入创作者名、id…", $De = "查找中…(首次按名字查要下载创作者索引,可能几十秒)", eOe = "识别中…", tOe = "站内没有查到来源", nOe = (e, t) => `${e}:${t.url}`;-function rOe({ field: e, menu: t, options: n, active: r, busy: i, onPick: a, onClose: o }) {+var QDe = xk(kI, AI, "text-body-2-medium"), $De = "粘贴来源链接,或输入创作者名、id…", eOe = "查找中…(首次按名字查要下载创作者索引,可能几十秒)", tOe = "识别中…", nOe = "站内没有查到来源", rOe = (e, t) => `${e}:${t.url}`;+function iOe({ field: e, menu: t, options: n, active: r, busy: i, onPick: a, onClose: o }) {return (0, b.useEffect)(() => {t.current?.querySelector("[aria-current=\"true\"]")?.scrollIntoView({ block: "nearest" });- }, [t, r]), /* @__PURE__ */ (0, x.jsxs)(dM, {+ }, [t, r]), /* @__PURE__ */ (0, x.jsxs)(fM, {ref: t,triggerRef: e,isOpen: !0,@@ -55718,17 +55731,17 @@ function rOe({ field: e, menu: t, options: n, active: r, busy: i, onPick: a, onCplacement: "bottom start",offset: 4,"aria-label": "来源建议",- className: bk(DI, "flex w-(--trigger-width) flex-col gap-1 overscroll-contain"),+ className: xk(OI, "flex w-(--trigger-width) flex-col gap-1 overscroll-contain"),children: [i && !n.length ? /* @__PURE__ */ (0, x.jsx)("div", {className: "px-2 py-1.5",- children: /* @__PURE__ */ (0, x.jsx)(Ok, { label: "正在查找建议" })+ children: /* @__PURE__ */ (0, x.jsx)(kk, { label: "正在查找建议" })}) : null, n.map((e, t) => /* @__PURE__ */ (0, x.jsxs)(b.Fragment, { children: [e.group === n[t - 1]?.group ? null : /* @__PURE__ */ (0, x.jsx)("div", {className: "px-2 pt-1 text-caption-1-regular text-text-tertiary",children: e.group}), /* @__PURE__ */ (0, x.jsxs)("button", {type: "button","aria-current": t === r ? "true" : void 0,- className: t === r ? bk(ZDe, "bg-background-secondary-default") : ZDe,+ className: t === r ? xk(QDe, "bg-background-secondary-default") : QDe,onMouseDown: (e) => e.preventDefault(),onClick: () => a(e.value),children: [@@ -55748,7 +55761,7 @@ function rOe({ field: e, menu: t, options: n, active: r, busy: i, onPick: a, onC})] }, `${e.group}-${e.value}`))]});}-function iOe({ credentials: e, hidden: t, onHidden: n, openCredentials: r }) {+function aOe({ credentials: e, hidden: t, onHidden: n, openCredentials: r }) {let i = (0, b.useRef)(null), [a, o] = (0, b.useState)(!1), s = (e.providers || []).filter((e) => e.followable), c = s.filter((e) => !t.has(e.provider_label)).length, l = c === s.length ? "全部来源" : `${c}/${s.length} 个来源`, u = (e, r) => {let i = new Set(t);r ? i.delete(e) : i.add(e), n(i);@@ -55762,14 +55775,14 @@ function iOe({ credentials: e, hidden: t, onHidden: n, openCredentials: r }) {"aria-label": l,onClick: () => o(!0),children: l- }), /* @__PURE__ */ (0, x.jsx)(dM, {+ }), /* @__PURE__ */ (0, x.jsx)(fM, {triggerRef: i,isOpen: a,onOpenChange: o,placement: "bottom end",offset: 4,- className: DI,- children: /* @__PURE__ */ (0, x.jsxs)(CM, {+ className: OI,+ children: /* @__PURE__ */ (0, x.jsxs)(wM, {"aria-label": "来源筛选",className: "flex w-64 flex-col gap-1 outline-none",children: [s.length ? /* @__PURE__ */ (0, x.jsxs)("div", {@@ -55785,7 +55798,7 @@ function iOe({ credentials: e, hidden: t, onHidden: n, openCredentials: r }) {onClick: () => n(new Set(s.map((e) => e.provider_label))),children: "全不选"})]- }) : /* @__PURE__ */ (0, x.jsx)(Hk, { children: "暂无可用来源" }), s.map((e) => {+ }) : /* @__PURE__ */ (0, x.jsx)(Uk, { children: "暂无可用来源" }), s.map((e) => {let n = e.requirement === "required" && (!e.present || (e.missing || []).length > 0);return /* @__PURE__ */ (0, x.jsxs)("div", {className: "flex items-center gap-2",@@ -55810,7 +55823,7 @@ function iOe({ credentials: e, hidden: t, onHidden: n, openCredentials: r }) {})})] });}-function aOe({ row: e, at: t, hidden: n, unpicked: r, onPick: i }) {+function oOe({ row: e, at: t, hidden: n, unpicked: r, onPick: i }) {if (e.kind === "error") return /* @__PURE__ */ (0, x.jsx)(K, {tone: "error",title: e.line,@@ -55818,7 +55831,7 @@ function aOe({ row: e, at: t, hidden: n, unpicked: r, onPick: i }) {});let a = (e.candidates || []).filter((e) => !n.has(e.provider_label || "")), o = Object.entries(e.failures || {});return /* @__PURE__ */ (0, x.jsxs)("div", {- className: Ek({+ className: Dk({variant: "outlined",padding: "none",className: "flex flex-col gap-2 p-4"@@ -55829,7 +55842,7 @@ function aOe({ row: e, at: t, hidden: n, unpicked: r, onPick: i }) {children: e.line}),a.length ? a.map((e) => {- let n = nOe(t, e);+ let n = rOe(t, e);return /* @__PURE__ */ (0, x.jsx)(aL, {isSelected: !e.known && !r.has(n),isDisabled: e.known,@@ -55853,22 +55866,22 @@ function aOe({ row: e, at: t, hidden: n, unpicked: r, onPick: i }) {]})}, n);- }) : /* @__PURE__ */ (0, x.jsx)(Hk, { children: tOe }),+ }) : /* @__PURE__ */ (0, x.jsx)(Uk, { children: nOe }),(e.external_searches || []).map((e) => /* @__PURE__ */ (0, x.jsxs)("div", {className: "flex flex-wrap items-center gap-2",children: [/* @__PURE__ */ (0, x.jsx)("small", {className: "text-caption-1-regular text-text-secondary",children: e.evidence- }), /* @__PURE__ */ (0, x.jsx)(Gk, {+ }), /* @__PURE__ */ (0, x.jsx)(Kk, {href: e.url,children: `${e.label}:${e.query}`})]}, e.url)),- o.length ? /* @__PURE__ */ (0, x.jsx)(Hk, { children: o.map(([e, t]) => `${e}:${t}`).join(";") }) : null+ o.length ? /* @__PURE__ */ (0, x.jsx)(Uk, { children: o.map(([e, t]) => `${e}:${t}`).join(";") }) : null]});}-function oOe({ data: e, credentials: t, readOnly: n, toast: r, openCredentials: i }) {+function sOe({ data: e, credentials: t, readOnly: n, toast: r, openCredentials: i }) {let [a, o] = (0, b.useState)(""), [s, c] = (0, b.useState)(""), [l, u] = (0, b.useState)(""), [d, f] = (0, b.useState)(!1), [p, m] = (0, b.useState)(null), [h, g] = (0, b.useState)(-1), _ = (0, b.useRef)(null), v = (0, b.useRef)(null), [y, S] = (0, b.useState)(/* @__PURE__ */ new Set()), [C, w] = (0, b.useState)(/* @__PURE__ */ new Set()), [T, E] = (0, b.useState)(""), [D, O] = (0, b.useState)(0);(0, b.useEffect)(() => {let e = a.trim();@@ -55920,7 +55933,7 @@ function oOe({ data: e, credentials: t, readOnly: n, toast: r, openCredentials:}}, ie = N?.results || [], ae = ie.flatMap((e, t) => (e.candidates || []).filter((e) => !e.known && !y.has(e.provider_label || "")).map((e) => ({candidate: e,- key: nOe(t, e)+ key: rOe(t, e)})).filter((e) => !C.has(e.key))), oe = ft({mutationFn: async (e) => {let t = [], n = [];@@ -55950,7 +55963,7 @@ function oOe({ data: e, credentials: t, readOnly: n, toast: r, openCredentials:onError: (e) => E(B(e))}), se = e.suggestions || [], ce = !s.includes("/");return /* @__PURE__ */ (0, x.jsxs)("div", {- className: Ek({+ className: Dk({padding: "none",className: "flex flex-col gap-4 px-6 py-5 max-sm:px-4"}),@@ -55970,16 +55983,16 @@ function oOe({ data: e, credentials: t, readOnly: n, toast: r, openCredentials:let t = e.relatedTarget;!e.currentTarget.contains(t) && !v.current?.contains(t) && f(!1);},- children: [/* @__PURE__ */ (0, x.jsx)(pN, {+ children: [/* @__PURE__ */ (0, x.jsx)(mN, {"aria-label": "来源链接、名字或 id",- placeholder: QDe,+ placeholder: $De,value: a,- leadingIcon: ZO,+ leadingIcon: QO,enterKeyHint: "search",isDisabled: n,onChange: o,onKeyDown: re- }), I ? /* @__PURE__ */ (0, x.jsx)(rOe, {+ }), I ? /* @__PURE__ */ (0, x.jsx)(iOe, {field: _,menu: v,options: A,@@ -55989,7 +56002,7 @@ function oOe({ data: e, credentials: t, readOnly: n, toast: r, openCredentials:onClose: ne}) : null]}),- /* @__PURE__ */ (0, x.jsx)(iOe, {+ /* @__PURE__ */ (0, x.jsx)(aOe, {credentials: t,hidden: y,onHidden: S,@@ -56007,9 +56020,9 @@ function oOe({ data: e, credentials: t, readOnly: n, toast: r, openCredentials:/* @__PURE__ */ (0, x.jsxs)("div", {"aria-live": "polite",className: "flex flex-col gap-3 empty:hidden",- children: [M || P.isPending ? /* @__PURE__ */ (0, x.jsx)($I, {+ children: [M || P.isPending ? /* @__PURE__ */ (0, x.jsx)(eL, {embedded: !0,- label: j?.message || (j?.total ? `查找中:${j.checked || 0}/${j.total}` : ce ? $De : eOe),+ label: j?.message || (j?.total ? `查找中:${j.checked || 0}/${j.total}` : ce ? eOe : tOe),value: j?.checked,total: j?.total}) : null, T ? /* @__PURE__ */ (0, x.jsx)(K, {@@ -56021,8 +56034,8 @@ function oOe({ data: e, credentials: t, readOnly: n, toast: r, openCredentials:ie.length ? /* @__PURE__ */ (0, x.jsxs)("div", {className: "flex flex-col gap-3",children: [- /* @__PURE__ */ (0, x.jsx)(Wk, { children: "查找结果" }),- ie.map((e, t) => /* @__PURE__ */ (0, x.jsx)(aOe, {+ /* @__PURE__ */ (0, x.jsx)(Gk, { children: "查找结果" }),+ ie.map((e, t) => /* @__PURE__ */ (0, x.jsx)(oOe, {row: e,at: t,hidden: y,@@ -56077,16 +56090,16 @@ function oOe({ data: e, credentials: t, readOnly: n, toast: r, openCredentials:}//#endregion//#region src/react/follow-manage/alias-manager.tsx-var sOe = (e) => `将移除别名「${e}」,对应来源恢复为独立创作者组。`, lR = (e) => e.alias;-function cOe(e, t, n) {+var cOe = (e) => `将移除别名「${e}」,对应来源恢复为独立创作者组。`, lR = (e) => e.alias;+function lOe(e, t, n) {let r = n ? `name:${n}` : "", i = r && e.find((e) => e.author_key === r) || e.find((e) => e.author_name === t || e.entity_name === t);return i ? e.filter((e) => e.author_key === i.author_key) : [];}-function lOe({ sources: e, name: t, canonicalKey: n }) {+function uOe({ sources: e, name: t, canonicalKey: n }) {return /* @__PURE__ */ (0, x.jsxs)("span", {className: "flex items-center gap-2",children: [/* @__PURE__ */ (0, x.jsx)(sR, {- group: cOe(e, t, n),+ group: lOe(e, t, n),name: t}), /* @__PURE__ */ (0, x.jsx)("b", {className: "text-body-medium",@@ -56094,7 +56107,7 @@ function lOe({ sources: e, name: t, canonicalKey: n }) {})]});}-function uOe({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i }) {+function dOe({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i }) {let [a, o] = (0, b.useState)(/* @__PURE__ */ new Set()), [s, c] = (0, b.useState)(""), [l, u] = (0, b.useState)(""), [d, f] = (0, b.useState)(""), p = ft({mutationFn: async (e) => {let t = 0;@@ -56136,7 +56149,7 @@ function uOe({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i});}, _ = t.filter((e) => a.has(lR(e))), v = t.length > 0 && _.length === t.length, y = q(p.isPending);return /* @__PURE__ */ (0, x.jsxs)("div", {- className: Ek({+ className: Dk({padding: "none",className: "flex flex-col gap-4 px-6 py-5 max-sm:px-4"}),@@ -56147,10 +56160,10 @@ function uOe({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i}),/* @__PURE__ */ (0, x.jsxs)("div", {className: "flex flex-col gap-2",- children: [/* @__PURE__ */ (0, x.jsx)(Wk, { children: "手动添加别名" }), /* @__PURE__ */ (0, x.jsxs)("div", {+ children: [/* @__PURE__ */ (0, x.jsx)(Gk, { children: "手动添加别名" }), /* @__PURE__ */ (0, x.jsxs)("div", {className: "flex flex-wrap items-end gap-2",children: [- /* @__PURE__ */ (0, x.jsx)(pN, {+ /* @__PURE__ */ (0, x.jsx)(mN, {"aria-label": "规范创作者名",placeholder: "规范创作者名",value: l,@@ -56158,7 +56171,7 @@ function uOe({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: iisDisabled: r,className: "w-56"}),- /* @__PURE__ */ (0, x.jsx)(pN, {+ /* @__PURE__ */ (0, x.jsx)(mN, {"aria-label": "平台别名",placeholder: "平台别名",value: d,@@ -56179,13 +56192,13 @@ function uOe({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i]})]}),- s ? /* @__PURE__ */ (0, x.jsx)(Uk, { children: s }) : null,+ s ? /* @__PURE__ */ (0, x.jsx)(Wk, { children: s }) : null,t.length ? /* @__PURE__ */ (0, x.jsxs)("div", {className: "flex flex-col gap-2",children: [/* @__PURE__ */ (0, x.jsxs)("div", {className: "flex flex-wrap items-center gap-2",children: [- /* @__PURE__ */ (0, x.jsx)(Wk, { children: "待合并" }),+ /* @__PURE__ */ (0, x.jsx)(Gk, { children: "待合并" }),/* @__PURE__ */ (0, x.jsx)("span", {className: "mr-auto text-body-2-regular text-text-secondary",children: `${t.length} 组`@@ -56210,8 +56223,8 @@ function uOe({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i}), /* @__PURE__ */ (0, x.jsx)(sL, { children: /* @__PURE__ */ (0, x.jsxs)(oL, {"aria-label": "待合并创作者别名",size: "sm",- children: [/* @__PURE__ */ (0, x.jsxs)(qM, { children: [- /* @__PURE__ */ (0, x.jsx)(JM, {+ children: [/* @__PURE__ */ (0, x.jsxs)(JM, { children: [+ /* @__PURE__ */ (0, x.jsx)(YM, {id: "select",children: /* @__PURE__ */ (0, x.jsx)(aL, {slot: null,@@ -56221,30 +56234,30 @@ function uOe({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: ionChange: (e) => o(e ? new Set(t.map(lR)) : /* @__PURE__ */ new Set())})}),- /* @__PURE__ */ (0, x.jsx)(JM, {+ /* @__PURE__ */ (0, x.jsx)(YM, {id: "canonical",children: "规范创作者"}),- /* @__PURE__ */ (0, x.jsx)(JM, {+ /* @__PURE__ */ (0, x.jsx)(YM, {id: "alias",isRowHeader: !0,children: "平台别名"}),- /* @__PURE__ */ (0, x.jsx)(JM, {+ /* @__PURE__ */ (0, x.jsx)(YM, {id: "evidence",children: "依据"}),- /* @__PURE__ */ (0, x.jsx)(JM, {+ /* @__PURE__ */ (0, x.jsx)(YM, {id: "actions",children: "操作"})- ] }), /* @__PURE__ */ (0, x.jsx)(XM, { children: t.map((e) => {+ ] }), /* @__PURE__ */ (0, x.jsx)(ZM, { children: t.map((e) => {let t = lR(e);- return /* @__PURE__ */ (0, x.jsxs)($M, {+ return /* @__PURE__ */ (0, x.jsxs)(eN, {id: t,"data-board-selected": a.has(t) || void 0,children: [- /* @__PURE__ */ (0, x.jsx)(tN, { children: /* @__PURE__ */ (0, x.jsx)(aL, {+ /* @__PURE__ */ (0, x.jsx)(nN, { children: /* @__PURE__ */ (0, x.jsx)(aL, {slot: null,isSelected: a.has(t),"aria-label": `选择别名 ${e.alias},归入 ${e.canonical}`,@@ -56253,16 +56266,16 @@ function uOe({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: ie ? n.add(t) : n.delete(t), o(n);}}) }),- /* @__PURE__ */ (0, x.jsx)(tN, { children: /* @__PURE__ */ (0, x.jsx)(lOe, {+ /* @__PURE__ */ (0, x.jsx)(nN, { children: /* @__PURE__ */ (0, x.jsx)(uOe, {sources: n,name: e.canonical}) }),- /* @__PURE__ */ (0, x.jsx)(tN, { children: e.alias }),- /* @__PURE__ */ (0, x.jsx)(tN, { children: /* @__PURE__ */ (0, x.jsx)("span", {+ /* @__PURE__ */ (0, x.jsx)(nN, { children: e.alias }),+ /* @__PURE__ */ (0, x.jsx)(nN, { children: /* @__PURE__ */ (0, x.jsx)("span", {className: "text-body-2-regular text-text-secondary",children: e.evidence}) }),- /* @__PURE__ */ (0, x.jsx)(tN, { children: /* @__PURE__ */ (0, x.jsx)(G, {+ /* @__PURE__ */ (0, x.jsx)(nN, { children: /* @__PURE__ */ (0, x.jsx)(G, {variant: "secondary",size: "small",disabled: r,@@ -56279,27 +56292,27 @@ function uOe({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: iclassName: "flex flex-col gap-2",children: [/* @__PURE__ */ (0, x.jsxs)("div", {className: "flex flex-wrap items-center gap-2",- children: [/* @__PURE__ */ (0, x.jsx)(Wk, { children: "已保存别名" }), /* @__PURE__ */ (0, x.jsx)("span", {+ children: [/* @__PURE__ */ (0, x.jsx)(Gk, { children: "已保存别名" }), /* @__PURE__ */ (0, x.jsx)("span", {className: "text-body-2-regular text-text-secondary",children: `${e.length} 组`})]}), e.length ? /* @__PURE__ */ (0, x.jsx)(sL, { children: /* @__PURE__ */ (0, x.jsxs)(oL, {"aria-label": "已保存创作者别名",size: "sm",- children: [/* @__PURE__ */ (0, x.jsxs)(qM, { children: [/* @__PURE__ */ (0, x.jsx)(JM, {+ children: [/* @__PURE__ */ (0, x.jsxs)(JM, { children: [/* @__PURE__ */ (0, x.jsx)(YM, {id: "canonical",isRowHeader: !0,children: "规范创作者"- }), /* @__PURE__ */ (0, x.jsx)(JM, {+ }), /* @__PURE__ */ (0, x.jsx)(YM, {id: "aliases",children: "平台别名"- })] }), /* @__PURE__ */ (0, x.jsx)(XM, { children: e.map((e) => /* @__PURE__ */ (0, x.jsxs)($M, {+ })] }), /* @__PURE__ */ (0, x.jsx)(ZM, { children: e.map((e) => /* @__PURE__ */ (0, x.jsxs)(eN, {id: e.canonical_key,- children: [/* @__PURE__ */ (0, x.jsx)(tN, { children: /* @__PURE__ */ (0, x.jsx)(lOe, {+ children: [/* @__PURE__ */ (0, x.jsx)(nN, { children: /* @__PURE__ */ (0, x.jsx)(uOe, {sources: n,name: e.canonical_name,canonicalKey: e.canonical_key- }) }), /* @__PURE__ */ (0, x.jsx)(tN, { children: /* @__PURE__ */ (0, x.jsx)("span", {+ }) }), /* @__PURE__ */ (0, x.jsx)(nN, { children: /* @__PURE__ */ (0, x.jsx)("span", {className: "flex flex-wrap items-center gap-1.5",children: e.aliases.map((e) => /* @__PURE__ */ (0, x.jsxs)("span", {className: "inline-flex items-center gap-1 rounded-md bg-background-secondary-default px-1.5 py-1 text-caption-1-medium text-text-secondary",@@ -56307,13 +56320,13 @@ function uOe({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: ivariant: "ghost",size: "xs",iconOnly: !0,- leadingIcon: HO,+ leadingIcon: UO,"aria-label": `移除别名 ${e.name}`,disabled: r,...q(h.isPending),onClick: () => void ms({title: "移除创作者别名",- body: sOe(e.name),+ body: cOe(e.name),confirmLabel: "移除创作者别名",onConfirm: () => h.mutateAsync(e.name)})@@ -56321,7 +56334,7 @@ function uOe({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i}, e.key))}) })]}, e.canonical_key)) })]- }) }) : /* @__PURE__ */ (0, x.jsx)(Dk, {+ }) }) : /* @__PURE__ */ (0, x.jsx)(Ok, {shell: "plain",icon: vhe,title: "还没有保存创作者别名",@@ -56333,7 +56346,7 @@ function uOe({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i}//#endregion//#region node_modules/@tanstack/table-core/build/lib/index.mjs-function dOe() {+function fOe() {return {accessor: (e, t) => typeof e == "function" ? {...t,@@ -56360,10 +56373,10 @@ function dR(e, t) {function fR(e) {return e instanceof Function;}-function fOe(e) {+function pOe(e) {return Array.isArray(e) && e.every((e) => typeof e == "number");}-function pOe(e, t) {+function mOe(e, t) {let n = [], r = (e) => {e.forEach((e) => {n.push(e);@@ -56402,7 +56415,7 @@ function mR(e, t, n, r) {onChange: r};}-function mOe(e, t, n, r) {+function hOe(e, t, n, r) {let i = {id: `${t.id}_${n.id}`,row: t,@@ -56427,7 +56440,7 @@ function mOe(e, t, n, r) {r.createCell == null || r.createCell(i, n, t, e);}, {}), i;}-function hOe(e, t, n, r) {+function gOe(e, t, n, r) {let i = {...e._getDefaultColumnDef(),...t@@ -56454,7 +56467,7 @@ function hOe(e, t, n, r) {return c;}var hR = "debugHeaders";-function gOe(e, t, n) {+function _Oe(e, t, n) {let r = {id: n.id ?? t.id,column: t,@@ -56482,7 +56495,7 @@ function gOe(e, t, n) {t.createHeader == null || t.createHeader(r, e);}), r;}-var _Oe = { createTable: (e) => {+var vOe = { createTable: (e) => {e.getHeaderGroups = pR(() => [e.getAllColumns(),e.getVisibleLeafColumns(),@@ -56545,7 +56558,7 @@ function gR(e, t, n, r) {let o = [...a].reverse()[0], s = e.column.depth === i.depth, c, l = !1;if (s && e.column.parent ? c = e.column.parent : (c = e.column, l = !0), o && o?.column === c) o.subHeaders.push(e);else {- let i = gOe(n, c, {+ let i = _Oe(n, c, {id: [r,t,@@ -56562,7 +56575,7 @@ function gR(e, t, n, r) {i.headers.push(e), e.headerGroup = i;}), o.push(i), t > 0 && s(a, t - 1);};- s(t.map((e, t) => gOe(n, e, {+ s(t.map((e, t) => _Oe(n, e, {depth: i,index: t})), i - 1), o.reverse();@@ -56580,7 +56593,7 @@ function gR(e, t, n, r) {});return c(o[0]?.headers ?? []), o;}-var vOe = (e, t, n, r, i, a, o) => {+var yOe = (e, t, n, r, i, a, o) => {let s = {id: t,index: r,@@ -56601,7 +56614,7 @@ var vOe = (e, t, n, r, i, a, o) => {},renderValue: (t) => s.getValue(t) ?? e.options.renderFallbackValue,subRows: a ?? [],- getLeafRows: () => pOe(s.subRows, (e) => e.subRows),+ getLeafRows: () => mOe(s.subRows, (e) => e.subRows),getParentRow: () => s.parentId ? e.getRow(s.parentId, !0) : void 0,getParentRows: () => {let e = [], t = s;@@ -56612,7 +56625,7 @@ var vOe = (e, t, n, r, i, a, o) => {}return e.reverse();},- getAllCells: pR(() => [e.getAllLeafColumns()], (t) => t.map((t) => mOe(e, s, t, t.id)), mR(e.options, "debugRows", "getAllCells")),+ getAllCells: pR(() => [e.getAllLeafColumns()], (t) => t.map((t) => hOe(e, s, t, t.id)), mR(e.options, "debugRows", "getAllCells")),_getAllCellsByColumnId: pR(() => [s.getAllCells()], (e) => e.reduce((e, t) => (e[t.column.id] = t, e), {}), mR(e.options, "debugRows", "getAllCellsByColumnId"))};for (let t = 0; t < e._features.length; t++) {@@ -56620,39 +56633,39 @@ var vOe = (e, t, n, r, i, a, o) => {n == null || n.createRow == null || n.createRow(s, e);}return s;-}, yOe = { createColumn: (e, t) => {+}, bOe = { createColumn: (e, t) => {e._getFacetedRowModel = t.options.getFacetedRowModel && t.options.getFacetedRowModel(t, e.id), e.getFacetedRowModel = () => e._getFacetedRowModel ? e._getFacetedRowModel() : t.getPreFilteredRowModel(), e._getFacetedUniqueValues = t.options.getFacetedUniqueValues && t.options.getFacetedUniqueValues(t, e.id), e.getFacetedUniqueValues = () => e._getFacetedUniqueValues ? e._getFacetedUniqueValues() : /* @__PURE__ */ new Map(), e._getFacetedMinMaxValues = t.options.getFacetedMinMaxValues && t.options.getFacetedMinMaxValues(t, e.id), e.getFacetedMinMaxValues = () => {if (e._getFacetedMinMaxValues) return e._getFacetedMinMaxValues();};-} }, bOe = (e, t, n) => {+} }, xOe = (e, t, n) => {var r, i;let a = n == null || (r = n.toString()) == null ? void 0 : r.toLowerCase();return !!((i = e.getValue(t)) != null && (i = i.toString()) != null && (i = i.toLowerCase()) != null && i.includes(a));};-bOe.autoRemove = (e) => yR(e);-var xOe = (e, t, n) => {+xOe.autoRemove = (e) => yR(e);+var SOe = (e, t, n) => {var r;return !!((r = e.getValue(t)) != null && (r = r.toString()) != null && r.includes(n));};-xOe.autoRemove = (e) => yR(e);-var SOe = (e, t, n) => {+SOe.autoRemove = (e) => yR(e);+var COe = (e, t, n) => {var r;return ((r = e.getValue(t)) == null || (r = r.toString()) == null ? void 0 : r.toLowerCase()) === n?.toLowerCase();};-SOe.autoRemove = (e) => yR(e);-var COe = (e, t, n) => e.getValue(t)?.includes(n);COe.autoRemove = (e) => yR(e);-var wOe = (e, t, n) => !n.some((n) => {+var wOe = (e, t, n) => e.getValue(t)?.includes(n);+wOe.autoRemove = (e) => yR(e);+var TOe = (e, t, n) => !n.some((n) => {var r;return !((r = e.getValue(t)) != null && r.includes(n));});-wOe.autoRemove = (e) => yR(e) || !(e != null && e.length);-var TOe = (e, t, n) => n.some((n) => e.getValue(t)?.includes(n));TOe.autoRemove = (e) => yR(e) || !(e != null && e.length);-var EOe = (e, t, n) => e.getValue(t) === n;-EOe.autoRemove = (e) => yR(e);-var DOe = (e, t, n) => e.getValue(t) == n;+var EOe = (e, t, n) => n.some((n) => e.getValue(t)?.includes(n));+EOe.autoRemove = (e) => yR(e) || !(e != null && e.length);+var DOe = (e, t, n) => e.getValue(t) === n;DOe.autoRemove = (e) => yR(e);+var OOe = (e, t, n) => e.getValue(t) == n;+OOe.autoRemove = (e) => yR(e);var _R = (e, t, n) => {let [r, i] = n, a = e.getValue(t);return a >= r && a <= i;@@ -56666,20 +56679,20 @@ _R.resolveFilterValue = (e) => {return [a, o];}, _R.autoRemove = (e) => yR(e) || yR(e[0]) && yR(e[1]);var vR = {- includesString: bOe,- includesStringSensitive: xOe,- equalsString: SOe,- arrIncludes: COe,- arrIncludesAll: wOe,- arrIncludesSome: TOe,- equals: EOe,- weakEquals: DOe,+ includesString: xOe,+ includesStringSensitive: SOe,+ equalsString: COe,+ arrIncludes: wOe,+ arrIncludesAll: TOe,+ arrIncludesSome: EOe,+ equals: DOe,+ weakEquals: OOe,inNumberRange: _R};function yR(e) {return e == null || e === "";}-var OOe = {+var kOe = {getDefaultColumnDef: () => ({ filterFn: "auto" }),getInitialState: (e) => ({columnFilters: [],@@ -56700,7 +56713,7 @@ var OOe = {}, e.getFilterIndex = () => t.getState().columnFilters?.findIndex((t) => t.id === e.id) ?? -1, e.setFilterValue = (n) => {t.setColumnFilters((t) => {let r = e.getFilterFn(), i = t?.find((t) => t.id === e.id), a = uR(n, i ? i.value : void 0);- if (kOe(r, a, e)) return t?.filter((t) => t.id !== e.id) ?? [];+ if (AOe(r, a, e)) return t?.filter((t) => t.id !== e.id) ?? [];let o = {id: e.id,value: a@@ -56717,14 +56730,14 @@ var OOe = {let n = e.getAllLeafColumns();e.options.onColumnFiltersChange == null || e.options.onColumnFiltersChange((e) => uR(t, e)?.filter((e) => {let t = n.find((t) => t.id === e.id);- return !(t && kOe(t.getFilterFn(), e.value, t));+ return !(t && AOe(t.getFilterFn(), e.value, t));}));}, e.resetColumnFilters = (t) => {e.setColumnFilters(t ? [] : e.initialState?.columnFilters ?? []);}, e.getPreFilteredRowModel = () => e.getCoreRowModel(), e.getFilteredRowModel = () => (!e._getFilteredRowModel && e.options.getFilteredRowModel && (e._getFilteredRowModel = e.options.getFilteredRowModel(e)), e.options.manualFiltering || !e._getFilteredRowModel ? e.getPreFilteredRowModel() : e._getFilteredRowModel());}};-function kOe(e, t, n) {+function AOe(e, t, n) {return (e && e.autoRemove ? e.autoRemove(t, n) : !1) || t === void 0 || typeof t == "string" && !t;}var bR = {@@ -56763,7 +56776,7 @@ var bR = {median: (e, t) => {if (!t.length) return;let n = t.map((t) => t.getValue(e));- if (!fOe(n)) return;+ if (!pOe(n)) return;if (n.length === 1) return n[0];let r = Math.floor(n.length / 2), i = n.sort((e, t) => e - t);return n.length % 2 == 0 ? (i[r - 1] + i[r]) / 2 : i[r];@@ -56771,7 +56784,7 @@ var bR = {unique: (e, t) => Array.from(new Set(t.map((t) => t.getValue(e))).values()),uniqueCount: (e, t) => new Set(t.map((t) => t.getValue(e))).size,count: (e, t) => t.length-}, AOe = {+}, jOe = {getDefaultColumnDef: () => ({aggregatedCell: (e) => {var t;@@ -56823,12 +56836,12 @@ var bR = {};}};-function jOe(e, t, n) {+function MOe(e, t, n) {if (!(t != null && t.length) || !n) return e;let r = e.filter((e) => !t.includes(e.id));return n === "remove" ? r : [...t.map((t) => e.find((e) => e.id === t)).filter(Boolean), ...r];}-var MOe = {+var NOe = {getInitialState: (e) => ({columnOrder: [],...e@@ -56858,13 +56871,13 @@ var MOe = {}i = [...i, ...n];}- return jOe(i, t, n);+ return MOe(i, t, n);}, mR(e.options, "debugTable", "_getOrderColumnsFn"));}}, xR = () => ({left: [],right: []-}), NOe = {+}), POe = {getInitialState: (e) => ({columnPinning: xR(),...e@@ -56922,7 +56935,7 @@ var MOe = {}, mR(e.options, "debugColumns", "getCenterLeafColumns"));}};-function POe(e) {+function FOe(e) {return e || (typeof document < "u" ? document : null);}var SR = {@@ -56936,7 +56949,7 @@ var SR = {deltaPercentage: null,isResizingColumn: !1,columnSizingStart: []-}), FOe = {+}), IOe = {getDefaultColumnDef: () => SR,getInitialState: (e) => ({columnSizing: {},@@ -57009,7 +57022,7 @@ var SR = {deltaPercentage: null,columnSizingStart: []}));- }, p = POe(n), m = {+ }, p = FOe(n), m = {moveHandler: (e) => d(e.clientX),upHandler: (e) => {p?.removeEventListener("mousemove", m.moveHandler), p?.removeEventListener("mouseup", m.upHandler), f(e.clientX);@@ -57019,7 +57032,7 @@ var SR = {upHandler: (e) => {p?.removeEventListener("touchmove", h.moveHandler), p?.removeEventListener("touchend", h.upHandler), e.cancelable && (e.preventDefault(), e.stopPropagation()), f(e.touches[0]?.clientX);}- }, g = IOe() ? { passive: !1 } : !1;+ }, g = LOe() ? { passive: !1 } : !1;TR(a) ? (p?.addEventListener("touchmove", h.moveHandler, g), p?.addEventListener("touchend", h.upHandler, g)) : (p?.addEventListener("mousemove", m.moveHandler, g), p?.addEventListener("mouseup", m.upHandler, g)), t.setColumnSizingInfo((e) => ({...e,startOffset: c,@@ -57040,7 +57053,7 @@ var SR = {}, e.getTotalSize = () => e.getHeaderGroups()[0]?.headers.reduce((e, t) => e + t.getSize(), 0) ?? 0, e.getLeftTotalSize = () => e.getLeftHeaderGroups()[0]?.headers.reduce((e, t) => e + t.getSize(), 0) ?? 0, e.getCenterTotalSize = () => e.getCenterHeaderGroups()[0]?.headers.reduce((e, t) => e + t.getSize(), 0) ?? 0, e.getRightTotalSize = () => e.getRightHeaderGroups()[0]?.headers.reduce((e, t) => e + t.getSize(), 0) ?? 0;}}, wR = null;-function IOe() {+function LOe() {if (typeof wR == "boolean") return wR;let e = !1;try {@@ -57056,7 +57069,7 @@ function IOe() {function TR(e) {return e.type === "touchstart";}-var LOe = {+var ROe = {getInitialState: (e) => ({columnVisibility: {},...e@@ -57103,11 +57116,11 @@ var LOe = {function ER(e, t) {return t ? t === "center" ? e.getCenterVisibleLeafColumns() : t === "left" ? e.getLeftVisibleLeafColumns() : e.getRightVisibleLeafColumns() : e.getVisibleLeafColumns();}-var ROe = { createTable: (e) => {+var zOe = { createTable: (e) => {e._getGlobalFacetedRowModel = e.options.getFacetedRowModel && e.options.getFacetedRowModel(e, "__global__"), e.getGlobalFacetedRowModel = () => e.options.manualFiltering || !e._getGlobalFacetedRowModel ? e.getPreFilteredRowModel() : e._getGlobalFacetedRowModel(), e._getGlobalFacetedUniqueValues = e.options.getFacetedUniqueValues && e.options.getFacetedUniqueValues(e, "__global__"), e.getGlobalFacetedUniqueValues = () => e._getGlobalFacetedUniqueValues ? e._getGlobalFacetedUniqueValues() : /* @__PURE__ */ new Map(), e._getGlobalFacetedMinMaxValues = e.options.getFacetedMinMaxValues && e.options.getFacetedMinMaxValues(e, "__global__"), e.getGlobalFacetedMinMaxValues = () => {if (e._getGlobalFacetedMinMaxValues) return e._getGlobalFacetedMinMaxValues();};-} }, zOe = {+} }, BOe = {getInitialState: (e) => ({globalFilter: void 0,...e@@ -57134,7 +57147,7 @@ var ROe = { createTable: (e) => {e.setGlobalFilter(t ? void 0 : e.initialState.globalFilter);};}-}, BOe = {+}, VOe = {getInitialState: (e) => ({expanded: {},...e@@ -57211,7 +57224,7 @@ var ROe = { createTable: (e) => {}, DR = 0, OR = 10, kR = () => ({pageIndex: DR,pageSize: OR-}), VOe = {+}), HOe = {getInitialState: (e) => ({...e,pagination: {@@ -57274,7 +57287,7 @@ var ROe = { createTable: (e) => {}, AR = () => ({top: [],bottom: []-}), HOe = {+}), UOe = {getInitialState: (e) => ({rowPinning: AR(),...e@@ -57336,7 +57349,7 @@ var ROe = { createTable: (e) => {return e.filter((e) => !r.has(e.id));}, mR(e.options, "debugRows", "getCenterRows"));}-}, UOe = {+}, WOe = {getInitialState: (e) => ({rowSelection: {},...e@@ -57453,17 +57466,17 @@ function PR(e, t, n) {}}), i ? "all" : a ? "some" : !1;}-var FR = /([0-9]+)/gm, WOe = (e, t, n) => XOe(LR(e.getValue(n)).toLowerCase(), LR(t.getValue(n)).toLowerCase()), GOe = (e, t, n) => XOe(LR(e.getValue(n)), LR(t.getValue(n))), KOe = (e, t, n) => IR(LR(e.getValue(n)).toLowerCase(), LR(t.getValue(n)).toLowerCase()), qOe = (e, t, n) => IR(LR(e.getValue(n)), LR(t.getValue(n))), JOe = (e, t, n) => {+var FR = /([0-9]+)/gm, GOe = (e, t, n) => ZOe(LR(e.getValue(n)).toLowerCase(), LR(t.getValue(n)).toLowerCase()), KOe = (e, t, n) => ZOe(LR(e.getValue(n)), LR(t.getValue(n))), qOe = (e, t, n) => IR(LR(e.getValue(n)).toLowerCase(), LR(t.getValue(n)).toLowerCase()), JOe = (e, t, n) => IR(LR(e.getValue(n)), LR(t.getValue(n))), YOe = (e, t, n) => {let r = e.getValue(n), i = t.getValue(n);return r > i ? 1 : r < i ? -1 : 0;-}, YOe = (e, t, n) => IR(e.getValue(n), t.getValue(n));+}, XOe = (e, t, n) => IR(e.getValue(n), t.getValue(n));function IR(e, t) {return e === t ? 0 : e > t ? 1 : -1;}function LR(e) {return typeof e == "number" ? isNaN(e) || e === Infinity || e === -Infinity ? "" : String(e) : typeof e == "string" ? e : "";}-function XOe(e, t) {+function ZOe(e, t) {let n = e.split(FR).filter(Boolean), r = t.split(FR).filter(Boolean);for (; n.length && r.length;) {let e = n.shift(), t = r.shift(), i = parseInt(e, 10), a = parseInt(t, 10), o = [i, a].sort();@@ -57479,21 +57492,21 @@ function XOe(e, t) {return n.length - r.length;}var RR = {- alphanumeric: WOe,- alphanumericCaseSensitive: GOe,- text: KOe,- textCaseSensitive: qOe,- datetime: JOe,- basic: YOe-}, ZOe = [- _Oe,- LOe,- MOe,- NOe,- yOe,- OOe,+ alphanumeric: GOe,+ alphanumericCaseSensitive: KOe,+ text: qOe,+ textCaseSensitive: JOe,+ datetime: YOe,+ basic: XOe+}, QOe = [+ vOe,ROe,+ NOe,+ POe,+ bOe,+ kOe,zOe,+ BOe,{getInitialState: (e) => ({sorting: [],@@ -57555,15 +57568,15 @@ var RR = {}, e.getPreSortedRowModel = () => e.getGroupedRowModel(), e.getSortedRowModel = () => (!e._getSortedRowModel && e.options.getSortedRowModel && (e._getSortedRowModel = e.options.getSortedRowModel(e)), e.options.manualSorting || !e._getSortedRowModel ? e.getPreSortedRowModel() : e._getSortedRowModel());}},- AOe,- BOe,+ jOe,VOe,HOe,UOe,- FOe+ WOe,+ IOe];-function QOe(e) {- let t = [...ZOe, ...e._features ?? []], n = { _features: t }, r = n._features.reduce((e, t) => Object.assign(e, t.getDefaultOptions == null ? void 0 : t.getDefaultOptions(n)), {}), i = (e) => n.options.mergeOptions ? n.options.mergeOptions(r, e) : {+function $Oe(e) {+ let t = [...QOe, ...e._features ?? []], n = { _features: t }, r = n._features.reduce((e, t) => Object.assign(e, t.getDefaultOptions == null ? void 0 : t.getDefaultOptions(n)), {}), i = (e) => n.options.mergeOptions ? n.options.mergeOptions(r, e) : {...r,...e}, a = { ...e.initialState ?? {} };@@ -57620,7 +57633,7 @@ function QOe(e) {getAllColumns: pR(() => [n._getColumnDefs()], (e) => {let t = function(e, r, i) {return i === void 0 && (i = 0), e.map((e) => {- let a = hOe(n, e, i, r), o = e;+ let a = gOe(n, e, i, r), o = e;return a.columns = o.columns ? t(o.columns, a, i + 1) : [], a;});};@@ -57638,7 +57651,7 @@ function QOe(e) {}return n;}-function $Oe() {+function eke() {return (e) => pR(() => [e.options.data], (t) => {let n = {rows: [],@@ -57648,7 +57661,7 @@ function $Oe() {i === void 0 && (i = 0);let o = [];for (let c = 0; c < t.length; c++) {- let l = vOe(e, e._getRowId(t[c], c, a), t[c], c, i, void 0, a?.id);+ let l = yOe(e, e._getRowId(t[c], c, a), t[c], c, i, void 0, a?.id);if (n.flatRows.push(l), n.rowsById[l.id] = l, o.push(l), e.options.getSubRows) {var s;l.originalSubRows = e.options.getSubRows(t[c], c), (s = l.originalSubRows) != null && s.length && (l.subRows = r(l.originalSubRows, i + 1, l));@@ -57659,7 +57672,7 @@ function $Oe() {return n.rows = r(t), n;}, mR(e.options, "debugTable", "getRowModel", () => e._autoResetPageIndex()));}-function eke(e) {+function tke(e) {let t = [], n = (e) => {var r;t.push(e), (r = e.subRows) != null && r.length && e.getIsExpanded() && e.subRows.forEach(n);@@ -57670,7 +57683,7 @@ function eke(e) {rowsById: e.rowsById};}-function tke(e) {+function nke(e) {return (e) => pR(() => [e.getState().pagination,e.getPrePaginationRowModel(),@@ -57684,7 +57697,7 @@ function tke(e) {rows: a,flatRows: o,rowsById: s- } : eke({+ } : tke({rows: a,flatRows: o,rowsById: s@@ -57698,27 +57711,27 @@ function tke(e) {//#endregion//#region node_modules/@tanstack/react-table/build/lib/index.mjsfunction zR(e, t) {- return e ? nke(e) ? /*#__PURE__*/ b.createElement(e, t) : e : null;-}-function nke(e) {- return rke(e) || typeof e == "function" || ike(e);+ return e ? rke(e) ? /*#__PURE__*/ b.createElement(e, t) : e : null;}function rke(e) {+ return ike(e) || typeof e == "function" || ake(e);+}+function ike(e) {return typeof e == "function" && (() => {let t = Object.getPrototypeOf(e);return t.prototype && t.prototype.isReactComponent;})();}-function ike(e) {+function ake(e) {return typeof e == "object" && typeof e.$$typeof == "symbol" && ["react.memo", "react.forward_ref"].includes(e.$$typeof.description);}-function ake(e) {+function oke(e) {let t = {state: {},onStateChange: () => {},renderFallbackValue: null,...e- }, [n] = b.useState(() => ({ current: QOe(t) })), [r, i] = b.useState(() => n.current.initialState);+ }, [n] = b.useState(() => ({ current: $Oe(t) })), [r, i] = b.useState(() => n.current.initialState);return n.current.setOptions((t) => ({...t,...e,@@ -57733,7 +57746,7 @@ function ake(e) {}//#endregion//#region src/react/boardui/components/base/switch/switch.tsx-var oke = xk({+var ske = Sk({sm: {track: "h-4 w-7",trackRadius: {@@ -57795,14 +57808,14 @@ var oke = xk({}}});-function ske({ state: e, size: t = "md", shape: n = "pill" }) {- let r = oke[t];+function cke({ state: e, size: t = "md", shape: n = "pill" }) {+ let r = ske[t];return /* @__PURE__ */ (0, x.jsx)("span", {"aria-hidden": !0,- className: bk("relative shrink-0 transition-colors duration-200 ease", r.track, r.trackRadius[n], e.isSelected ? bk("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: xk("relative shrink-0 transition-colors duration-200 ease", r.track, r.trackRadius[n], e.isSelected ? xk("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, x.jsx)("span", {- className: bk("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, x.jsx)("span", { className: bk("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: xk("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, x.jsx)("span", { className: xk("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") })})});}@@ -57810,8 +57823,8 @@ function BR({ className: e, children: t, size: n = "md", shape: r = "pill", ref:return /* @__PURE__ */ (0, x.jsx)(wve, {ref: i,...a,- className: (t) => bk("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, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(ske, {+ className: (t) => xk("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, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(cke, {state: e,size: n,shape: r@@ -57823,8 +57836,8 @@ function BR({ className: e, children: t, size: n = "md", shape: r = "pill", ref:}//#endregion//#region src/react/components/legacy-avatar.ts-var VR = "[&_img]:absolute [&_img]:inset-0 [&_img]:size-full [&_img]:max-w-none [&_img]:max-h-none [&_img]:object-cover", cke = "输入女优名,到 JavDB 找她的演员页";-function lke(e, t) {+var VR = "[&_img]:absolute [&_img]:inset-0 [&_img]:size-full [&_img]:max-w-none [&_img]:max-h-none [&_img]:object-cover", lke = "输入女优名,到 JavDB 找她的演员页";+function uke(e, t) {let n = /* @__PURE__ */ new Map();for (let r of e.candidates) t.has(r.id) && r.held_by && n.set(r.held_by.id, r.held_by.name);if (n.size > 1) return {@@ -57843,7 +57856,7 @@ function lke(e, t) {blocked: !1};}-function uke({ card: e, picked: t, onPick: n }) {+function dke({ card: e, picked: t, onPick: n }) {return /* @__PURE__ */ (0, x.jsxs)("div", {className: "flex flex-wrap items-center gap-2",children: [/* @__PURE__ */ (0, x.jsx)(aL, {@@ -57856,7 +57869,7 @@ function uke({ card: e, picked: t, onPick: n }) {className: "min-w-0 break-words",children: e.names.join("、")}),- e.record ? /* @__PURE__ */ (0, x.jsx)(Ck, {+ e.record ? /* @__PURE__ */ (0, x.jsx)(wk, {variant: "caption",color: "neutral",children: e.record@@ -57867,14 +57880,14 @@ function uke({ card: e, picked: t, onPick: n }) {}) : null]})- }), /* @__PURE__ */ (0, x.jsx)(Gk, {+ }), /* @__PURE__ */ (0, x.jsx)(Kk, {href: e.url,children: e.id})]});}-function dke({ readOnly: e, toast: t, onAdded: n }) {- let [r, i] = (0, b.useState)(""), [a, o] = (0, b.useState)(null), [s, c] = (0, b.useState)(/* @__PURE__ */ new Set()), l = Mk(), u = () => {+function fke({ readOnly: e, toast: t, onAdded: n }) {+ let [r, i] = (0, b.useState)(""), [a, o] = (0, b.useState)(null), [s, c] = (0, b.useState)(/* @__PURE__ */ new Set()), l = Nk(), u = () => {let t = r.trim();t && !e && l.run("lookup", (e) => Mr(t, e), (e) => {o(e), c(new Set(e.suggested));@@ -57887,9 +57900,9 @@ function dke({ readOnly: e, toast: t, onAdded: n }) {a && l.run("follow", (e) => Nr(a.q, [...s], e), (e) => {t(e.created ? `已新建「${e.entity_name}」并订阅她的新作` : `已订阅「${e.entity_name}」的新作`), i(""), f(), n();});- }, m = a ? lke(a, s) : null;+ }, m = a ? uke(a, s) : null;return /* @__PURE__ */ (0, x.jsxs)("div", {- className: Ek({+ className: Dk({padding: "none",className: "flex flex-col gap-4 px-6 py-5 max-sm:px-4"}),@@ -57902,11 +57915,11 @@ function dke({ readOnly: e, toast: t, onAdded: n }) {className: "flex flex-wrap items-end gap-2",children: [/* @__PURE__ */ (0, x.jsx)("div", {className: "min-w-64 grow",- children: /* @__PURE__ */ (0, x.jsx)(pN, {+ children: /* @__PURE__ */ (0, x.jsx)(mN, {"aria-label": "女优名",- placeholder: cke,+ placeholder: lke,value: r,- leadingIcon: ZO,+ leadingIcon: QO,enterKeyHint: "search",isDisabled: e,onChange: i,@@ -57928,16 +57941,16 @@ function dke({ readOnly: e, toast: t, onAdded: n }) {a ? /* @__PURE__ */ (0, x.jsxs)("div", {className: "flex flex-col gap-3",children: [- /* @__PURE__ */ (0, x.jsx)(Wk, { children: "JavDB 上的演员卡" }),- a.candidates.length ? a.candidates.map((e) => /* @__PURE__ */ (0, x.jsx)(uke, {+ /* @__PURE__ */ (0, x.jsx)(Gk, { children: "JavDB 上的演员卡" }),+ a.candidates.length ? a.candidates.map((e) => /* @__PURE__ */ (0, x.jsx)(dke, {card: e,picked: s.has(e.id),onPick: (t) => c((n) => {let r = new Set(n);return t ? r.add(e.id) : r.delete(e.id), r;})- }, e.id)) : /* @__PURE__ */ (0, x.jsx)(Hk, { children: "JavDB 上没有搜到这个名字。" }),- a.candidates.length ? /* @__PURE__ */ (0, x.jsx)(Hk, {+ }, e.id)) : /* @__PURE__ */ (0, x.jsx)(Uk, { children: "JavDB 上没有搜到这个名字。" }),+ a.candidates.length ? /* @__PURE__ */ (0, x.jsx)(Uk, {role: "status",children: s.size ? m.text : "勾选她的演员卡;有碼与無碼两条记录都是她的话,两张都勾。"}) : null,@@ -57964,19 +57977,19 @@ function dke({ readOnly: e, toast: t, onAdded: n }) {}//#endregion//#region src/react/follow-manage/source-list.tsx-var HR = (e) => (Number(e) || 0).toLocaleString(), fke = Object.fromEntries(Object.entries(Kn).map(([e, t]) => [t, e])), pke = 740;-function mke() {+var HR = (e) => (Number(e) || 0).toLocaleString(), pke = Object.fromEntries(Object.entries(Kn).map(([e, t]) => [t, e])), mke = 740;+function hke() {let [e, t] = (0, b.useState)(!1), n = (0, b.useRef)(null), r = (0, b.useCallback)((e) => {if (n.current?.disconnect(), !e) {n.current = null;return;}- let r = new ResizeObserver(() => t(e.clientWidth < pke));- r.observe(e), n.current = r, t(e.clientWidth < pke);+ let r = new ResizeObserver(() => t(e.clientWidth < mke));+ r.observe(e), n.current = r, t(e.clientWidth < mke);}, []);return (0, b.useEffect)(() => () => n.current?.disconnect(), []), [r, e];}-var hke = {+var gke = {select: "选择",author: "创作者",source: "来源",@@ -58022,13 +58035,13 @@ function UR({ page: e, pages: t, onPage: n, label: r = "关注列表分页" }) {]});}-function gke({ source: e, selected: t, onToggle: n, handlers: r }) {+function _ke({ source: e, selected: t, onToggle: n, handlers: r }) {return /* @__PURE__ */ (0, x.jsxs)("div", {"data-selected": t || void 0,"data-follow-source-row": "",className: "flex min-h-16 flex-wrap items-center gap-3 px-2 py-3 max-sm:gap-x-2",onClick: (e) => {- dP(e, e.currentTarget) && n(!t);+ fP(e, e.currentTarget) && n(!t);},children: [/* @__PURE__ */ (0, x.jsx)(aL, {@@ -58038,7 +58051,7 @@ function gke({ source: e, selected: t, onToggle: n, handlers: r }) {}),/* @__PURE__ */ (0, x.jsxs)("span", {className: "flex min-w-0 grow basis-0 flex-col gap-0.5",- children: [/* @__PURE__ */ (0, x.jsx)(XDe, { source: e }), e.last_error ? /* @__PURE__ */ (0, x.jsx)(cR, { text: e.last_error }) : null]+ children: [/* @__PURE__ */ (0, x.jsx)(ZDe, { source: e }), e.last_error ? /* @__PURE__ */ (0, x.jsx)(cR, { text: e.last_error }) : null]}),/* @__PURE__ */ (0, x.jsx)("span", {className: "flex shrink-0 items-center gap-1.5 text-body-2-regular text-text-secondary",@@ -58048,7 +58061,7 @@ function gke({ source: e, selected: t, onToggle: n, handlers: r }) {label: e.provider_label})}),- /* @__PURE__ */ (0, x.jsx)(YDe, { source: e }),+ /* @__PURE__ */ (0, x.jsx)(XDe, { source: e }),/* @__PURE__ */ (0, x.jsxs)("span", {"data-follow-source-controls": "",className: "contents max-sm:flex max-sm:w-full max-sm:flex-wrap max-sm:items-center max-sm:gap-1.5",@@ -58069,7 +58082,7 @@ function gke({ source: e, selected: t, onToggle: n, handlers: r }) {variant: "secondary",size: "small",iconOnly: !0,- leadingIcon: XO,+ leadingIcon: ZO,"aria-label": `检查 ${e.label} 的更新`,disabled: !e.enabled || r.readOnly,...q(r.busy),@@ -58078,7 +58091,7 @@ function gke({ source: e, selected: t, onToggle: n, handlers: r }) {variant: "secondary",size: "small",iconOnly: !0,- leadingIcon: GO,+ leadingIcon: KO,"aria-label": `移除 ${e.label}`,disabled: r.readOnly,onClick: () => r.remove(e)@@ -58089,11 +58102,11 @@ function gke({ source: e, selected: t, onToggle: n, handlers: r }) {]});}-function _ke({ group: e, name: t, open: n, selected: r, handlers: i, onOpen: a, onToggleGroup: o, onToggle: s }) {+function vke({ group: e, name: t, open: n, selected: r, handlers: i, onOpen: a, onToggleGroup: o, onToggle: s }) {let c = e.map((e) => e.id), l = e.filter((e) => e.enabled).map((e) => e.id), u = e.filter(Xn).length, d = [...new Set(e.map((e) => e.provider_label || e.provider))].join("、"), f = `follow-author-${e[0].id}`, p = dr(r, c);return /* @__PURE__ */ (0, x.jsxs)("section", {"aria-label": `${t} 的关注来源`,- className: Ek({+ className: Dk({variant: "raised",padding: "none",className: "flex flex-col overflow-hidden p-2"@@ -58115,7 +58128,7 @@ function _ke({ group: e, name: t, open: n, selected: r, handlers: i, onOpen: a,variant: "secondary",size: "small",iconOnly: !0,- leadingIcon: XO,+ leadingIcon: ZO,"aria-label": `检查 ${t} 的全部来源`,disabled: !l.length || i.readOnly,...q(i.busy),@@ -58148,7 +58161,7 @@ function _ke({ group: e, name: t, open: n, selected: r, handlers: i, onOpen: a,size: "small","aria-expanded": n,"aria-controls": f,- leadingIcon: n ? Gme : zO,+ leadingIcon: n ? Gme : BO,"aria-label": `${n ? "收起" : "展开"} ${t} 的来源`,onClick: () => a(!n),children: n ? "收起" : "展开"@@ -58160,7 +58173,7 @@ function _ke({ group: e, name: t, open: n, selected: r, handlers: i, onOpen: a,id: f,hidden: !n,"data-source-divider": !0,- children: e.map((e) => /* @__PURE__ */ (0, x.jsx)(gke, {+ children: e.map((e) => /* @__PURE__ */ (0, x.jsx)(_ke, {source: e,handlers: i,selected: r.has(e.id),@@ -58169,8 +58182,8 @@ function _ke({ group: e, name: t, open: n, selected: r, handlers: i, onOpen: a,})]});}-function vke(e) {- let { data: t, sort: n, dir: r, page: i, layout: a, pageSize: o, selected: s, readOnly: c, onSort: l, onPage: u, onLayout: d, onPageSize: f, onSelected: p, toast: m, openFollow: h } = e, g = t.sources, _ = (0, b.useMemo)(() => t.author_aliases || [], [t.author_aliases]), v = t.counts || {}, [y, S] = (0, b.useState)(/* @__PURE__ */ new Set()), [C, w] = mke(), [T, E] = (0, b.useState)(""), D = (0, b.useMemo)(() => sr(g, n, r, _), [+function yke(e) {+ let { data: t, sort: n, dir: r, page: i, layout: a, pageSize: o, selected: s, readOnly: c, onSort: l, onPage: u, onLayout: d, onPageSize: f, onSelected: p, toast: m, openFollow: h } = e, g = t.sources, _ = (0, b.useMemo)(() => t.author_aliases || [], [t.author_aliases]), v = t.counts || {}, [y, S] = (0, b.useState)(/* @__PURE__ */ new Set()), [C, w] = hke(), [T, E] = (0, b.useState)(""), D = (0, b.useMemo)(() => sr(g, n, r, _), [g,n,r,@@ -58267,7 +58280,7 @@ function vke(e) {readOnly: c};let oe = ae.current, se = (0, b.useMemo)(() => {- let e = dOe(), t = (e) => () => hke[e] || e;+ let e = fOe(), t = (e) => () => gke[e] || e;return [e.display({id: "select",@@ -58298,7 +58311,7 @@ function vke(e) {header: t("source"),cell: (e) => /* @__PURE__ */ (0, x.jsxs)("span", {className: "flex min-w-0 flex-col gap-0.5",- children: [/* @__PURE__ */ (0, x.jsx)(XDe, { source: e.row.original.source }), e.row.original.source.last_error ? /* @__PURE__ */ (0, x.jsx)(cR, { text: e.row.original.source.last_error }) : null]+ children: [/* @__PURE__ */ (0, x.jsx)(ZDe, { source: e.row.original.source }), e.row.original.source.last_error ? /* @__PURE__ */ (0, x.jsx)(cR, { text: e.row.original.source.last_error }) : null]})}),e.accessor((e) => e.source.provider_label, {@@ -58312,7 +58325,7 @@ function vke(e) {e.display({id: "status",header: t("status"),- cell: (e) => /* @__PURE__ */ (0, x.jsx)(YDe, { source: e.row.original.source })+ cell: (e) => /* @__PURE__ */ (0, x.jsx)(XDe, { source: e.row.original.source })}),e.accessor((e) => e.source.last_checked_at || "", {id: "checked",@@ -58335,7 +58348,7 @@ function vke(e) {variant: "secondary",size: "small",iconOnly: !0,- leadingIcon: XO,+ leadingIcon: ZO,"aria-label": `检查 ${e.row.original.source.label} 的更新`,disabled: !e.row.original.source.enabled || oe.readOnly,...q(oe.busy),@@ -58345,7 +58358,7 @@ function vke(e) {variant: "secondary",size: "small",iconOnly: !0,- leadingIcon: GO,+ leadingIcon: KO,"aria-label": `移除 ${e.row.original.source.label}`,disabled: oe.readOnly,onClick: () => ae.current.remove(e.row.original.source)@@ -58355,12 +58368,12 @@ function vke(e) {})];}, [oe]), ce = (0, b.useMemo)(() => {- let e = fke[n];+ let e = pke[n];return e ? [{id: e,desc: r === "desc"}] : [];- }, [n, r]), le = (0, b.useMemo)(() => Object.fromEntries([...s].map((e) => [String(e), !0])), [s]), ue = a === "table", de = lr(ue ? O.length : D.length, o, i), fe = ake({+ }, [n, r]), le = (0, b.useMemo)(() => Object.fromEntries([...s].map((e) => [String(e), !0])), [s]), ue = a === "table", de = lr(ue ? O.length : D.length, o, i), fe = oke({data: O,columns: se,getRowId: (e) => String(e.source.id),@@ -58391,11 +58404,11 @@ function vke(e) {}, n = typeof e == "function" ? e(t) : e;n.pageSize === o ? n.pageIndex !== t.pageIndex && u(n.pageIndex + 1) : f(n.pageSize);},- getCoreRowModel: $Oe(),- getPaginationRowModel: tke()+ getCoreRowModel: eke(),+ getPaginationRowModel: nke()}), pe = fe.getRowModel().rows, me = ue ? pe.map((e) => e.original.source.id) : D.slice(de.start, de.end).flatMap((e) => e.map((e) => e.id)), he = dr(s, me), ge = [...s], _e = Br(j), ve = g.filter((e) => e.enabled && (e.last_status === "error" || e.last_status === "unauthorized")).map((e) => e.id), ye = Vr(j), be = D.length > 0 && y.size >= D.length;return g.length ? /* @__PURE__ */ (0, x.jsxs)("div", {- className: Ek({+ className: Dk({padding: "none",className: "flex flex-col gap-4 px-6 py-5 max-sm:px-4"}),@@ -58417,7 +58430,7 @@ function vke(e) {}),/* @__PURE__ */ (0, x.jsx)(G, {variant: "primary",- leadingIcon: XO,+ leadingIcon: ZO,disabled: c,"aria-label": "检查全部",iconOnly: w,@@ -58479,7 +58492,7 @@ function vke(e) {ue ? null : /* @__PURE__ */ (0, x.jsx)(G, {variant: "secondary",iconOnly: w,- leadingIcon: be ? zO : Gme,+ leadingIcon: be ? BO : Gme,"aria-label": be ? "全部展开" : "全部收起",onClick: () => S(be ? /* @__PURE__ */ new Set() : new Set(D.map((e) => String(e[0].author_key || e[0].id)))),children: be ? "全部展开" : "全部收起"@@ -58492,7 +58505,7 @@ function vke(e) {"aria-live": "polite",className: "flex flex-col gap-3 empty:hidden",children: [- A ? /* @__PURE__ */ (0, x.jsx)($I, {+ A ? /* @__PURE__ */ (0, x.jsx)(eL, {embedded: !0,label: k?.message || (k?.total ? `${k.older ? "抓取历史" : "检查更新"}:已完成 ${k.checked || 0}/${k.total} 个来源` : "正在准备检查任务"),value: k?.checked,@@ -58523,7 +58536,7 @@ function vke(e) {}) : null]}),- /* @__PURE__ */ (0, x.jsxs)(kC, {+ /* @__PURE__ */ (0, x.jsxs)(AC, {label: "关注来源批量操作",visible: ge.length > 0,count: `已选 ${ge.length} 个来源`,@@ -58597,9 +58610,9 @@ function vke(e) {id: String(e.column),desc: e.direction === "descending"}]),- children: [/* @__PURE__ */ (0, x.jsx)(qM, { children: fe.getHeaderGroups()[0].headers.map((e) => {+ children: [/* @__PURE__ */ (0, x.jsx)(JM, { children: fe.getHeaderGroups()[0].headers.map((e) => {let t = e.column.id in Kn, n = zR(e.column.columnDef.header, e.getContext());- return /* @__PURE__ */ (0, x.jsx)(JM, {+ return /* @__PURE__ */ (0, x.jsx)(YM, {id: e.id,allowsSorting: t,isRowHeader: e.column.id === "source",@@ -58608,16 +58621,16 @@ function vke(e) {children: [n, /* @__PURE__ */ (0, x.jsx)("span", {"data-sort-indicator": !0,"data-direction": e || void 0,- children: /* @__PURE__ */ (0, x.jsx)(GSe, {})+ children: /* @__PURE__ */ (0, x.jsx)(KSe, {})})]}) : /* @__PURE__ */ (0, x.jsx)(yx, { children: n })}, e.id);- }) }), /* @__PURE__ */ (0, x.jsx)(XM, {+ }) }), /* @__PURE__ */ (0, x.jsx)(ZM, {renderEmptyState: () => "这一页没有来源",- children: pe.map((e) => /* @__PURE__ */ (0, x.jsx)($M, {+ children: pe.map((e) => /* @__PURE__ */ (0, x.jsx)(eN, {id: e.id,"data-follow-selected": e.getIsSelected() || void 0,- children: e.getVisibleCells().map((e) => /* @__PURE__ */ (0, x.jsx)(tN, { children: zR(e.column.columnDef.cell, e.getContext()) }, e.id))+ children: e.getVisibleCells().map((e) => /* @__PURE__ */ (0, x.jsx)(nN, { children: zR(e.column.columnDef.cell, e.getContext()) }, e.id))}, e.id))})]})@@ -58631,7 +58644,7 @@ function vke(e) {className: "flex flex-col gap-3",children: D.slice(de.start, de.end).map((e) => {let t = String(e[0].author_key || e[0].id);- return /* @__PURE__ */ (0, x.jsx)(_ke, {+ return /* @__PURE__ */ (0, x.jsx)(vke, {group: e,name: rr(e, _),handlers: oe,@@ -58714,11 +58727,11 @@ function vke(e) {]}) : null]- }) : /* @__PURE__ */ (0, x.jsx)(Dk, {+ }) : /* @__PURE__ */ (0, x.jsx)(Ok, {shell: "plain",icon: fhe,title: "还没有关注来源",- actions: /* @__PURE__ */ (0, x.jsx)(Tk, {+ actions: /* @__PURE__ */ (0, x.jsx)(Ek, {variant: "primary",size: "small",href: "/subscriptions?tab=add",@@ -58729,7 +58742,7 @@ function vke(e) {}//#endregion//#region src/react/follow-manage/feed-sources.tsx-var yke = {+var bke = {select: "选择",name: "名称",kind: "类型",@@ -58739,33 +58752,33 @@ var yke = {fetched: "上次拉取",fresh: "上次新增",actions: "操作"-}, bke = /* @__PURE__ */ new Set(["select", "actions"]), WR = () => U.invalidateQueries({+}, xke = /* @__PURE__ */ new Set(["select", "actions"]), WR = () => U.invalidateQueries({queryKey: Hn,exact: !0}), GR = (e) => e.name || e.url;-function xke(e) {+function Ske(e) {try {return new URL(e).hostname.replace(/^www\./, "");} catch {return e;}}-function Ske({ source: e }) {- return e.last_error ? /* @__PURE__ */ (0, x.jsx)(Ck, {+function Cke({ source: e }) {+ return e.last_error ? /* @__PURE__ */ (0, x.jsx)(wk, {variant: "caption",color: "rose",children: "拉取失败"- }) : e.enabled ? /* @__PURE__ */ (0, x.jsx)(Ck, {+ }) : e.enabled ? /* @__PURE__ */ (0, x.jsx)(wk, {variant: "caption",color: "lime",children: "正常"- }) : /* @__PURE__ */ (0, x.jsx)(Ck, {+ }) : /* @__PURE__ */ (0, x.jsx)(wk, {variant: "caption",color: "neutral",children: "已暂停"});}-function Cke({ source: e }) {+function wke({ source: e }) {let t = e.entity_id ? {id: e.entity_id,has_image: !!e.has_image,@@ -58778,13 +58791,13 @@ function Cke({ source: e }) {dangerouslySetInnerHTML: { __html: la(GR(e), t, null, "performer") }});}-var wke = (e, t) => e.entity_id !== null && t.has(e.entity_id) && e.page_name && e.page_name !== e.name ? e.page_name : "";-function Tke(e) {+var Tke = (e, t) => e.entity_id !== null && t.has(e.entity_id) && e.page_name && e.page_name !== e.name ? e.page_name : "";+function Eke(e) {let t = /* @__PURE__ */ new Set(), n = /* @__PURE__ */ new Set();for (let { entity_id: r } of e) r !== null && (t.has(r) ? n.add(r) : t.add(r));return n;}-function Eke(e, t) {+function Dke(e, t) {let n = e.length === 1 ? e[0] : null;return ms({title: n ? "移除订阅源" : `移除 ${e.length} 条订阅源`,@@ -58794,11 +58807,11 @@ function Eke(e, t) {onConfirm: t});}-function Dke({ readOnly: e, toast: t }) {+function Oke({ readOnly: e, toast: t }) {let n = dt({queryKey: Hn,queryFn: ({ signal: e }) => Or(e)- }), r = Mk(), i = n.data, a = (0, b.useMemo)(() => i?.sources ?? [], [i]), [o, s] = (0, b.useState)(/* @__PURE__ */ new Set()), [c, l] = (0, b.useState)(1), [u, d] = (0, b.useState)(20), f = lr(a.length, u, c);+ }), r = Nk(), i = n.data, a = (0, b.useMemo)(() => i?.sources ?? [], [i]), [o, s] = (0, b.useState)(/* @__PURE__ */ new Set()), [c, l] = (0, b.useState)(1), [u, d] = (0, b.useState)(20), f = lr(a.length, u, c);(0, b.useEffect)(() => {l((e) => Math.min(e, f.pages));}, [f.pages]), (0, b.useEffect)(() => {@@ -58825,7 +58838,7 @@ function Dke({ readOnly: e, toast: t }) {}},onError: (e) => r.setError(B(e))- }), m = (0, b.useMemo)(() => Tke(a), [a]), h = (0, b.useRef)({+ }), m = (0, b.useMemo)(() => Eke(a), [a]), h = (0, b.useRef)({readOnly: e,shared: m,busy: null,@@ -58839,12 +58852,12 @@ function Dke({ readOnly: e, toast: t }) {busy: r.busy,toggle: (e, t) => void r.run(`enabled-${e.id}`, (n) => kr(e.id, t, n), () => void WR()),fetch: (e) => void r.run(`check-${e.id}`, (t) => jr(t, [e.id]), () => void WR()),- remove: (e) => void Eke([e], async () => {+ remove: (e) => void Dke([e], async () => {await Ar(e.id), t(`已移除订阅源「${GR(e)}」`), WR();})};let g = (0, b.useMemo)(() => {- let e = dOe(), t = (e) => () => yke[e] || e;+ let e = fOe(), t = (e) => () => bke[e] || e;return [e.display({id: "select",@@ -58860,11 +58873,11 @@ function Dke({ readOnly: e, toast: t }) {id: "name",header: t("name"),cell: (e) => {- let t = wke(e.row.original, h.current.shared);+ let t = Tke(e.row.original, h.current.shared);return /* @__PURE__ */ (0, x.jsxs)("span", {className: "flex items-center gap-2 whitespace-nowrap text-body-medium text-text-primary",children: [- /* @__PURE__ */ (0, x.jsx)(Cke, { source: e.row.original }),+ /* @__PURE__ */ (0, x.jsx)(wke, { source: e.row.original }),e.getValue(),t ? /* @__PURE__ */ (0, x.jsx)("span", {className: "text-body-2-regular text-text-secondary",@@ -58892,13 +58905,13 @@ function Dke({ readOnly: e, toast: t }) {rel: "noreferrer noopener",title: "打开来源页面",className: "text-text-primary underline-offset-2 hover:underline",- children: xke(e.getValue())+ children: Ske(e.getValue())})}),e.display({id: "status",header: t("status"),- cell: (e) => /* @__PURE__ */ (0, x.jsx)(Ske, { source: e.row.original })+ cell: (e) => /* @__PURE__ */ (0, x.jsx)(Cke, { source: e.row.original })}),e.accessor((e) => Zn(e.interval_minutes), {id: "interval",@@ -58940,7 +58953,7 @@ function Dke({ readOnly: e, toast: t }) {variant: "secondary",size: "xs",iconOnly: !0,- leadingIcon: XO,+ leadingIcon: ZO,"aria-label": `拉取 ${GR(e.row.original)}`,disabled: h.current.readOnly,...q(h.current.busy === `check-${e.row.original.id}`),@@ -58950,7 +58963,7 @@ function Dke({ readOnly: e, toast: t }) {variant: "secondary",size: "xs",iconOnly: !0,- leadingIcon: GO,+ leadingIcon: KO,"aria-label": `移除 ${GR(e.row.original)}`,disabled: h.current.readOnly,onClick: () => h.current.remove(e.row.original)@@ -58959,7 +58972,7 @@ function Dke({ readOnly: e, toast: t }) {})})];- }, []), _ = (0, b.useMemo)(() => Object.fromEntries([...o].map((e) => [String(e), !0])), [o]), v = ake({+ }, []), _ = (0, b.useMemo)(() => Object.fromEntries([...o].map((e) => [String(e), !0])), [o]), v = oke({data: a,columns: g,getRowId: (e) => String(e.id),@@ -58975,27 +58988,27 @@ function Dke({ readOnly: e, toast: t }) {let t = typeof e == "function" ? e(_) : e;s(new Set(Object.entries(t).filter(([, e]) => e).map(([e]) => Number(e))));},- getCoreRowModel: $Oe(),- getPaginationRowModel: tke()+ getCoreRowModel: eke(),+ getPaginationRowModel: nke()});if (!i) return n.error ? /* @__PURE__ */ (0, x.jsx)(K, {tone: "error",title: "打不开订阅源",children: B(n.error)- }) : /* @__PURE__ */ (0, x.jsx)(Hk, { children: "正在读订阅源。" });+ }) : /* @__PURE__ */ (0, x.jsx)(Uk, { children: "正在读订阅源。" });let y = () => void r.run("check", (e) => jr(e), () => void WR()), S = (e) => s((t) => {let n = new Set(t);return n.has(e) ? n.delete(e) : n.add(e), n;}), C = a.filter((e) => o.has(e.id)), w = a.filter((e) => e.last_error);return /* @__PURE__ */ (0, x.jsxs)("div", {className: "flex flex-col gap-3",- children: [/* @__PURE__ */ (0, x.jsx)(dke, {+ children: [/* @__PURE__ */ (0, x.jsx)(fke, {readOnly: e,toast: t,onAdded: () => void WR()}), /* @__PURE__ */ (0, x.jsxs)("section", {"aria-label": "JAV 订阅列表",- className: Ek({+ className: Dk({padding: "none",className: "flex flex-col gap-4 px-6 py-5 max-sm:px-4"}),@@ -59033,9 +59046,9 @@ function Dke({ readOnly: e, toast: t }) {}, e.id))}),children: "这些订阅源这一轮没有取到新条目。"- }) : null, r.error ? /* @__PURE__ */ (0, x.jsx)(Uk, { children: r.error }) : null]+ }) : null, r.error ? /* @__PURE__ */ (0, x.jsx)(Wk, { children: r.error }) : null]}) : null,- /* @__PURE__ */ (0, x.jsxs)(kC, {+ /* @__PURE__ */ (0, x.jsxs)(AC, {visible: C.length > 0,label: "订阅源批量操作",count: `已选 ${C.length} 条订阅源`,@@ -59067,7 +59080,7 @@ function Dke({ readOnly: e, toast: t }) {size: "small",disabled: e,...q(p.isPending),- onClick: () => void Eke(C, () => p.mutateAsync({+ onClick: () => void Dke(C, () => p.mutateAsync({ids: C.map((e) => e.id),action: "remove"})),@@ -59086,20 +59099,20 @@ function Dke({ readOnly: e, toast: t }) {children: /* @__PURE__ */ (0, x.jsxs)(oL, {"aria-label": "JAV 订阅源",size: "sm",- children: [/* @__PURE__ */ (0, x.jsx)(qM, { children: v.getHeaderGroups()[0].headers.map((e) => {+ children: [/* @__PURE__ */ (0, x.jsx)(JM, { children: v.getHeaderGroups()[0].headers.map((e) => {let t = zR(e.column.columnDef.header, e.getContext());- return /* @__PURE__ */ (0, x.jsx)(JM, {+ return /* @__PURE__ */ (0, x.jsx)(YM, {id: e.id,isRowHeader: e.column.id === "name",- children: bke.has(e.column.id) ? /* @__PURE__ */ (0, x.jsx)(yx, { children: t }) : t+ children: xke.has(e.column.id) ? /* @__PURE__ */ (0, x.jsx)(yx, { children: t }) : t}, e.id);- }) }), /* @__PURE__ */ (0, x.jsx)(XM, { children: v.getRowModel().rows.map((e) => /* @__PURE__ */ (0, x.jsx)($M, {+ }) }), /* @__PURE__ */ (0, x.jsx)(ZM, { children: v.getRowModel().rows.map((e) => /* @__PURE__ */ (0, x.jsx)(eN, {id: e.id,"data-follow-selected": e.getIsSelected() || void 0,- children: e.getVisibleCells().map((e) => /* @__PURE__ */ (0, x.jsx)(tN, { children: zR(e.column.columnDef.cell, e.getContext()) }, e.id))+ children: e.getVisibleCells().map((e) => /* @__PURE__ */ (0, x.jsx)(nN, { children: zR(e.column.columnDef.cell, e.getContext()) }, e.id))}, e.id)) })]})- }) : /* @__PURE__ */ (0, x.jsx)(Dk, {+ }) : /* @__PURE__ */ (0, x.jsx)(Ok, {icon: fhe,title: "还没有订阅源",shell: "plain",@@ -59146,14 +59159,14 @@ function Dke({ readOnly: e, toast: t }) {}//#endregion//#region src/react/follow-manage/follow-manage-page.tsx-var Oke = [+var kke = [["list", "关注列表"],["add", "添加关注"],["feeds", "JAV 订阅源"]-], kke = (e) => Oke.some(([t]) => t === e);+], Ake = (e) => kke.some(([t]) => t === e);function KR({ term: e, figure: t, unit: n }) {return /* @__PURE__ */ (0, x.jsxs)("div", {- className: Ek({+ className: Dk({padding: "none",className: "flex flex-col gap-3 px-6 py-5 max-sm:gap-2 max-sm:p-4"}),@@ -59173,8 +59186,8 @@ function KR({ term: e, figure: t, unit: n }) {})]});}-function Ake(e) {- let { route: t, savePreference: n, toast: r, openFollow: i, openServiceConfiguration: a, readOnly: o, readOnlyMessage: s, writerUrl: c } = e, [l, u] = (0, b.useState)(kke(e.tab) ? e.tab : "list"), [d, f] = (0, b.useState)(Math.max(1, Math.floor(e.page) || 1)), [p, m] = (0, b.useState)(() => gn(e.sort, e.dir).sort), [h, g] = (0, b.useState)(() => gn(e.sort, e.dir).dir), [_, v] = (0, b.useState)(ree(e.layout) ? e.layout : "default"), [y, S] = (0, b.useState)(iee(e.pageSize)), [C, w] = (0, b.useState)(/* @__PURE__ */ new Set()), T = dt({+function jke(e) {+ let { route: t, savePreference: n, toast: r, openFollow: i, openServiceConfiguration: a, readOnly: o, readOnlyMessage: s, writerUrl: c } = e, [l, u] = (0, b.useState)(Ake(e.tab) ? e.tab : "list"), [d, f] = (0, b.useState)(Math.max(1, Math.floor(e.page) || 1)), [p, m] = (0, b.useState)(() => gn(e.sort, e.dir).sort), [h, g] = (0, b.useState)(() => gn(e.sort, e.dir).dir), [_, v] = (0, b.useState)(ree(e.layout) ? e.layout : "default"), [y, S] = (0, b.useState)(iee(e.pageSize)), [C, w] = (0, b.useState)(/* @__PURE__ */ new Set()), T = dt({queryKey: zn,queryFn: ({ signal: e }) => pr(e)}), E = dt({@@ -59202,7 +59215,7 @@ function Ake(e) {dir: r === mn[n] ? "" : r});}, M = or(A), N = A.filter(Xn).length, P = A.filter((e) => e.enabled).length, ee = (k.providers || []).filter((e) => e.requirement === "required" && !Kr(e)).length, F = new Set((D.data?.sources || []).map((e) => e.entity_id ?? `source-${e.id}`)).size;- return /* @__PURE__ */ (0, x.jsxs)(kk, { children: [+ return /* @__PURE__ */ (0, x.jsxs)(Ak, { children: [o ? /* @__PURE__ */ (0, x.jsx)(K, {tone: "warning",title: "本机只能浏览",@@ -59252,29 +59265,29 @@ function Ake(e) {})]}),- /* @__PURE__ */ (0, x.jsxs)(aN, {+ /* @__PURE__ */ (0, x.jsxs)(oN, {selectedKey: l,onSelectionChange: (e) => {let t = String(e);- kke(t) && (u(t), j({ tab: t }));+ Ake(t) && (u(t), j({ tab: t }));},className: "flex flex-col gap-6",children: [- /* @__PURE__ */ (0, x.jsx)(oN, {+ /* @__PURE__ */ (0, x.jsx)(sN, {"aria-label": "关注管理区域","data-section-nav": !0,"data-section-items": !0,className: "flex max-w-full flex-nowrap overflow-x-auto",- children: Oke.map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(sN, {+ children: kke.map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(cN, {id: e,className: "cursor-pointer whitespace-nowrap",children: t}, e))}),- /* @__PURE__ */ (0, x.jsx)(cN, {+ /* @__PURE__ */ (0, x.jsx)(lN, {id: "list",className: "flex flex-col gap-4",- children: /* @__PURE__ */ (0, x.jsx)(vke, {+ children: /* @__PURE__ */ (0, x.jsx)(yke, {data: O,sort: p,dir: h,@@ -59304,16 +59317,16 @@ function Ake(e) {}})}),- /* @__PURE__ */ (0, x.jsxs)(cN, {+ /* @__PURE__ */ (0, x.jsxs)(lN, {id: "add",className: "flex flex-col gap-8",- children: [/* @__PURE__ */ (0, x.jsx)(oOe, {+ children: [/* @__PURE__ */ (0, x.jsx)(sOe, {data: O,credentials: k,readOnly: o,toast: r,openCredentials: a- }), /* @__PURE__ */ (0, x.jsx)(uOe, {+ }), /* @__PURE__ */ (0, x.jsx)(dOe, {groups: O.author_aliases || [],readOnly: o,toast: r,@@ -59321,10 +59334,10 @@ function Ake(e) {sources: O.sources})]}),- /* @__PURE__ */ (0, x.jsx)(cN, {+ /* @__PURE__ */ (0, x.jsx)(lN, {id: "feeds",className: "flex flex-col gap-4",- children: /* @__PURE__ */ (0, x.jsx)(Dke, {+ children: /* @__PURE__ */ (0, x.jsx)(Oke, {readOnly: o,toast: r})@@ -59340,14 +59353,14 @@ function Ake(e) {}//#endregion//#region src/react/components/board-tabs.tsx-function jke({ value: e }) {+function Mke({ value: e }) {return /* @__PURE__ */ (0, x.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 Mke = "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";+var Nke = "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 qR({ tabs: e, value: t, label: n, onChange: r, className: i = "mb-5.5" }) {let a = (0, b.useRef)(null);return (0, b.useLayoutEffect)(() => {@@ -59372,14 +59385,14 @@ function qR({ 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 ? vN(e.symbol) : null, i = e.value === t;+ let n = e.symbol ? yN(e.symbol) : null, i = e.value === t;return /* @__PURE__ */ (0, x.jsxs)("button", {type: "button",role: "tab","data-tab": e.value,"aria-selected": i,tabIndex: i ? 0 : -1,- className: Mke,+ className: Nke,onClick: () => {i || r(e.value);},@@ -59390,12 +59403,12 @@ function qR({ tabs: e, value: t, label: n, onChange: r, className: i = "mb-5.5"}//#endregion//#region src/react/index/index-tags.tsx-var Nke = () => /* @__PURE__ */ (0, x.jsx)("span", {+var Pke = () => /* @__PURE__ */ (0, x.jsx)("span", {"aria-hidden": !0,"data-tag-dot": "",className: "size-1.75 flex-none rounded-full"});-function Pke({ tag: e, actions: t }) {+function Fke({ tag: e, actions: t }) {let n = t.picked.has(e.k);return /* @__PURE__ */ (0, x.jsxs)("div", {className: "flex min-w-0 items-center gap-1",@@ -59409,7 +59422,7 @@ function Pke({ tag: e, actions: t }) {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, x.jsx)(Nke, {}),+ /* @__PURE__ */ (0, x.jsx)(Pke, {}),/* @__PURE__ */ (0, x.jsx)("span", {className: "min-w-0 flex-1 truncate",children: e.label@@ -59419,7 +59432,7 @@ function Pke({ tag: e, actions: t }) {children: e.n.toLocaleString()})]- }), t.online ? null : /* @__PURE__ */ (0, x.jsx)(DN, { item: {+ }), t.online ? null : /* @__PURE__ */ (0, x.jsx)(ON, { item: {kind: "tag",name: e.k,entity_id: e.entity_id,@@ -59427,23 +59440,23 @@ function Pke({ tag: e, actions: t }) {} })]});}-function Fke({ groups: e, actions: t }) {+function Ike({ groups: e, actions: t }) {return /* @__PURE__ */ (0, x.jsx)("div", {"data-alphabet": "",className: "flex flex-col gap-4",children: e.map(([e, n], r) => /* @__PURE__ */ (0, x.jsxs)("section", {"data-alpha-group": r,- className: Ek({+ className: Dk({radius: "plain",padding: "none",className: "px-5 pt-4 pb-3"}),children: [/* @__PURE__ */ (0, x.jsxs)("h3", {className: "mb-2 flex items-center text-title-2-medium text-text-primary",- children: [e, /* @__PURE__ */ (0, x.jsx)(jke, { value: n.length })]+ children: [e, /* @__PURE__ */ (0, x.jsx)(Mke, { value: n.length })]}), /* @__PURE__ */ (0, x.jsx)("div", {className: "index-tag-list gap-x-4 gap-y-0.5",- children: n.map((e) => /* @__PURE__ */ (0, x.jsx)(Pke, {+ children: n.map((e) => /* @__PURE__ */ (0, x.jsx)(Fke, {tag: e,actions: t}, e.k))@@ -59451,8 +59464,8 @@ function Fke({ groups: e, actions: t }) {}, e))});}-var Ike = "\xA0";-function Lke({ tags: e, actions: t }) {+var Lke = "\xA0";+function Rke({ tags: e, actions: t }) {return /* @__PURE__ */ (0, x.jsx)("div", {"data-tag-cloud": "",className: "flex flex-wrap gap-1.75",@@ -59466,12 +59479,12 @@ function Lke({ tags: e, actions: t }) {"aria-pressed": t.picked.has(e.k),onClick: () => t.press(e.k),className: "inline-flex cursor-pointer items-center rounded-lg border px-3 py-1.25 text-body-2-regular text-text-secondary outline-none focus-visible:ring-2 focus-visible:ring-border-focus-ring",- children: [e.label + Ike, /* @__PURE__ */ (0, x.jsx)("span", {+ children: [e.label + Lke, /* @__PURE__ */ (0, x.jsx)("span", {"data-tag-n": "",className: "text-caption-1-regular opacity-60",children: e.n.toLocaleString()})]- }), t.online ? null : /* @__PURE__ */ (0, x.jsx)(DN, { item: {+ }), t.online ? null : /* @__PURE__ */ (0, x.jsx)(ON, { item: {kind: "tag",name: e.k,entity_id: e.entity_id,@@ -59480,7 +59493,7 @@ function Lke({ tags: e, actions: t }) {}, e.k))});}-var Rke = [[+var zke = [["cloud","标签云","tags"@@ -59489,16 +59502,16 @@ var Rke = [["字母表","text-aa"]];-function zke({ categories: e, category: t, online: n, readout: r, letters: i, view: a, onCategory: o, onJump: s, onView: c }) {- return /* @__PURE__ */ (0, x.jsx)(bA, {+function Bke({ categories: e, category: t, online: n, readout: r, letters: i, view: a, onCategory: o, onJump: s, onView: c }) {+ return /* @__PURE__ */ (0, x.jsx)(xA, {label: "标签筛选",topLabel: "标签类型",- top: e.map(([e, r]) => /* @__PURE__ */ (0, x.jsxs)(xA, {+ top: e.map(([e, r]) => /* @__PURE__ */ (0, x.jsxs)(SA, {"data-tag-pill": "","data-tag-cat": e === "all" ? "all" : DL(n, e),pressed: t === e,onPress: () => o(e),- children: [/* @__PURE__ */ (0, x.jsx)(Nke, {}), r]+ children: [/* @__PURE__ */ (0, x.jsx)(Pke, {}), r]}, e)),bottom: /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)("span", {@@ -59517,19 +59530,19 @@ function zke({ categories: e, category: t, online: n, readout: r, letters: i, vichildren: e}, e))}) : null,- /* @__PURE__ */ (0, x.jsx)(AM, {+ /* @__PURE__ */ (0, x.jsx)(jM, {"aria-label": "标签视图",orientation: "horizontal",value: a,onChange: (e) => c(e),- className: `ml-auto ${PN}`,- children: Rke.map(([e, t, n]) => {- let r = vN(n);- return /* @__PURE__ */ (0, x.jsx)(jM, {+ className: `ml-auto ${FN}`,+ children: zke.map(([e, t, n]) => {+ let r = yN(n);+ return /* @__PURE__ */ (0, x.jsx)(MM, {value: e,"aria-label": t,"data-glass-segment": "",- className: FN,+ className: IN,children: /* @__PURE__ */ (0, x.jsx)("span", {title: t,className: "contents",@@ -59541,8 +59554,8 @@ function zke({ categories: e, category: t, online: n, readout: r, letters: i, vi] })});}-function Bke({ count: e, match: t, onMatch: n, onClear: r, onApply: i }) {- return /* @__PURE__ */ (0, x.jsxs)(kC, {+function Vke({ count: e, match: t, onMatch: n, onClear: r, onApply: i }) {+ return /* @__PURE__ */ (0, x.jsxs)(AC, {visible: e > 0,label: "所选标签操作",count: `已选 ${e.toLocaleString()} 个标签`,@@ -59579,7 +59592,7 @@ function Bke({ count: e, match: t, onMatch: n, onClear: r, onApply: i }) {}//#endregion//#region src/react/index/index-page.tsx-var Vke = [{+var Hke = [{value: "studios",label: "厂牌",symbol: "clapperboard"@@ -59587,7 +59600,7 @@ var Vke = [{value: "agencies",label: "事务所",symbol: "briefcase"-}], Hke = [{+}], Uke = [{value: "local",label: "本地",symbol: "hard-drive"@@ -59595,7 +59608,7 @@ var Vke = [{value: "online",label: "在线",symbol: "rss"-}], Uke = [+}], Wke = [{value: "performers",label: "艺人",@@ -59611,7 +59624,7 @@ var Vke = [{label: "在线",symbol: "rss"}-], Wke = {+], Gke = {people: [["big","大图 · 竖幅头像",@@ -59631,17 +59644,17 @@ var Vke = [{"layout-grid"]]};-function Gke({ kind: e, layout: t, onChange: n }) {- return /* @__PURE__ */ (0, x.jsx)(jN, {- "aria-label": `${_we[e]}索引版式`,+function Kke({ kind: e, layout: t, onChange: n }) {+ return /* @__PURE__ */ (0, x.jsx)(MN, {+ "aria-label": `${vwe[e]}索引版式`,orientation: "horizontal",value: t,onChange: (e) => n(e),"data-index-layout": "",- className: `flex-none max-board-narrow:order-3 ${MN}`,- children: Wke[TL(e) ? "company" : "people"].map(([e, t, n]) => {- let r = vN(n);- return /* @__PURE__ */ (0, x.jsx)(jM, {+ className: `flex-none max-board-narrow:order-3 ${NN}`,+ children: Gke[TL(e) ? "company" : "people"].map(([e, t, n]) => {+ let r = yN(n);+ return /* @__PURE__ */ (0, x.jsx)(MM, {value: e,"aria-label": t,className: yye,@@ -59654,8 +59667,8 @@ function Gke({ kind: e, layout: t, onChange: n }) {})});}-var Kke = vN("search");-function qke({ label: e, value: t, onQuery: n }) {+var qke = yN("search");+function Jke({ label: e, value: t, onQuery: n }) {let [r, i] = (0, b.useState)(t), a = (0, b.useRef)(!1), o = (0, b.useRef)(void 0);(0, b.useEffect)(() => () => clearTimeout(o.current), []);let s = (e) => {@@ -59670,15 +59683,15 @@ function qke({ label: e, value: t, onQuery: n }) {onCompositionEnd: (e) => {a.current = !1, s(e.target.value);},- children: /* @__PURE__ */ (0, x.jsx)(uN, {+ children: /* @__PURE__ */ (0, x.jsx)(dN, {"aria-label": e,value: r,onChange: (e) => {i(e), a.current || s(e);},- children: /* @__PURE__ */ (0, x.jsx)(fN, {+ children: /* @__PURE__ */ (0, x.jsx)(pN, {type: "search",- leadingIcon: Kke,+ leadingIcon: qke,spellCheck: !1,autoComplete: "off",enterKeyHint: "search",@@ -59689,14 +59702,14 @@ function qke({ label: e, value: t, onQuery: n }) {})});}-function Jke(e) {+function Yke(e) {let [t, n] = (0, b.useState)(() => EL({kind: e.kind,q: e.q,scope: e.scope,view: e.view,category: e.category- })), [r, i] = (0, b.useState)(e.layout), [a, o] = (0, b.useState)(/* @__PURE__ */ new Set()), [s, c] = (0, b.useState)("any"), l = (0, b.useRef)(null), { kind: u, q: d, scope: f, view: p, category: m } = t, h = _we[u], g = u === "tags" && f === "online", _ = u === "performers" && f === "online";+ })), [r, i] = (0, b.useState)(e.layout), [a, o] = (0, b.useState)(/* @__PURE__ */ new Set()), [s, c] = (0, b.useState)("any"), l = (0, b.useRef)(null), { kind: u, q: d, scope: f, view: p, category: m } = t, h = vwe[u], g = u === "tags" && f === "online", _ = u === "performers" && f === "online";(0, b.useEffect)(() => {if (t.kind === e.kind && t.scope === e.scope && t.category === e.category) return;let n = !0;@@ -59714,7 +59727,7 @@ function Jke(e) {...r};y(Object.keys(r).every((e) => e === "q")), n(a), e.route(a, { replace: i });- }, C = wwe(xwe(t)), w = pt({+ }, C = Twe(Swe(t)), w = pt({queryKey: C.queryKey,queryFn: ({ pageParam: e, signal: t }) => C.queryFn({pageParam: e,@@ -59723,7 +59736,7 @@ function Jke(e) {initialPageParam: 0,getNextPageParam: C.getNextPageParam,placeholderData: v ? ue : void 0- }), T = Ewe(w.data), E = !!w.hasNextPage && !w.isPlaceholderData, D = Dwe(T.length, !!w.hasNextPage), O = `${u}:${f}:${d}`, k = (0, b.useRef)(null), A = w.data?.pages[0]?.categories;+ }), T = Dwe(w.data), E = !!w.hasNextPage && !w.isPlaceholderData, D = Owe(T.length, !!w.hasNextPage), O = `${u}:${f}:${d}`, k = (0, b.useRef)(null), A = w.data?.pages[0]?.categories;A && !w.isPlaceholderData && (k.current = {key: O,counts: A@@ -59735,14 +59748,14 @@ function Jke(e) {let P = (0, b.useMemo)(() => u === "tags" ? T.map((t) => ({...t,label: e.tagLabel(t.k)- })) : [], [T, u]), ee = (0, b.useMemo)(() => u === "tags" && p === "alphabet" ? Awe(P, (t) => e.tagLabel(t)) : [], [+ })) : [], [T, u]), ee = (0, b.useMemo)(() => u === "tags" && p === "alphabet" ? jwe(P, (t) => e.tagLabel(t)) : [], [P,p,u]), F = (t) => {i(t), e.savePreference({ layout: t });}, te = u === "tags" ? /* @__PURE__ */ (0, x.jsx)(qR, {- tabs: Hke,+ tabs: Uke,value: f,label: "词表",onChange: (e) => {@@ -59753,7 +59766,7 @@ function Jke(e) {});}}) : TL(u) ? /* @__PURE__ */ (0, x.jsx)(qR, {- tabs: Vke,+ tabs: Hke,value: u,label: "公司类型",onChange: (e) => S({ kind: e })@@ -59762,7 +59775,7 @@ function Jke(e) {let n = new Set(e);return n.delete(t) || n.add(t), n;}) : P.find((e) => e.k === t)?.entity_id ? e.openEntity("tag", t) : e.showTags([t], "all");- }, ne = (g ? bwe : ywe).filter(N);+ }, ne = (g ? xwe : bwe).filter(N);return /* @__PURE__ */ (0, x.jsxs)("div", {ref: l,"data-index-page": u,@@ -59782,17 +59795,17 @@ function Jke(e) {className: "text-caption-1-regular leading-5 whitespace-nowrap text-text-secondary tabular-nums",children: w.isPending || w.isError ? "" : D}) : null,- wL(u) ? /* @__PURE__ */ (0, x.jsx)(Gke, {+ wL(u) ? /* @__PURE__ */ (0, x.jsx)(Kke, {kind: u,layout: r,onChange: F}) : null,- /* @__PURE__ */ (0, x.jsx)(ON, { kind: u === "tags" ? "tag" : u === "studios" ? "studio" : u === "agencies" ? "agency" : u === "creators" ? "creator" : "performer" }),+ /* @__PURE__ */ (0, x.jsx)(kN, { kind: u === "tags" ? "tag" : u === "studios" ? "studio" : u === "agencies" ? "agency" : u === "creators" ? "creator" : "performer" }),/* @__PURE__ */ (0, x.jsx)("span", {"aria-hidden": !0,className: "hidden h-0 basis-full max-board-narrow:order-2 max-board-narrow:block"}),- /* @__PURE__ */ (0, x.jsx)(qke, {+ /* @__PURE__ */ (0, x.jsx)(Jke, {label: `过滤${h}`,value: d,onQuery: (e) => {@@ -59802,7 +59815,7 @@ function Jke(e) {]}),u === "performers" || u === "creators" ? /* @__PURE__ */ (0, x.jsx)(qR, {- tabs: Uke,+ tabs: Wke,value: _ ? "online" : u,label: "人物名册",onChange: (t) => {@@ -59816,7 +59829,7 @@ function Jke(e) {te,u === "performers" && f === "local" ? /* @__PURE__ */ (0, x.jsx)("div", {"aria-label": "身份分类",- className: owe,+ className: swe,children: SL.filter((e) => e[0] === m || N(e)).map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(G, {variant: m === e ? "primary" : "secondary",size: "small",@@ -59825,7 +59838,7 @@ function Jke(e) {children: t}, e))}) : null,- u === "tags" ? /* @__PURE__ */ (0, x.jsx)(zke, {+ u === "tags" ? /* @__PURE__ */ (0, x.jsx)(Bke, {categories: ne,category: m,online: g,@@ -59850,8 +59863,8 @@ function Jke(e) {mode: p}) }});- if (w.isError) return /* @__PURE__ */ (0, x.jsx)(Dk, {- icon: vN("alert"),+ if (w.isError) return /* @__PURE__ */ (0, x.jsx)(Ok, {+ icon: yN("alert"),title: `没能读取${h}`,actions: /* @__PURE__ */ (0, x.jsx)(G, {variant: "secondary",@@ -59860,18 +59873,18 @@ function Jke(e) {}),children: Et(w.error)});- if (!T.length) return /* @__PURE__ */ (0, x.jsx)(Xke, {+ if (!T.length) return /* @__PURE__ */ (0, x.jsx)(Zke, {kind: u,filtered: !!d || m !== "all",online: g || _,configurable: e.configurable});- if (_) return /* @__PURE__ */ (0, x.jsx)(Iwe, {+ if (_) return /* @__PURE__ */ (0, x.jsx)(Lwe, {items: T,layout: r,props: e});- if (wL(u)) return /* @__PURE__ */ (0, x.jsx)(Fwe, {+ if (wL(u)) return /* @__PURE__ */ (0, x.jsx)(Iwe, {kind: u,items: T,layout: r,@@ -59882,10 +59895,10 @@ function Jke(e) {picked: a,press: I};- return p === "alphabet" ? /* @__PURE__ */ (0, x.jsx)(Fke, {+ return p === "alphabet" ? /* @__PURE__ */ (0, x.jsx)(Ike, {groups: ee,actions: t- }) : /* @__PURE__ */ (0, x.jsx)(Lke, {+ }) : /* @__PURE__ */ (0, x.jsx)(Rke, {tags: P,actions: t});@@ -59900,13 +59913,13 @@ function Jke(e) {disabled: w.isFetchingNextPage,"aria-busy": w.isFetchingNextPage || void 0,onClick: () => void w.fetchNextPage(),- children: w.isFetchingNextPage ? /* @__PURE__ */ (0, x.jsx)(Ok, {+ children: w.isFetchingNextPage ? /* @__PURE__ */ (0, x.jsx)(kk, {inline: !0,label: "继续载入中…"}) : "载入更多"})}) : null,- u === "tags" && !g && e.selectMode ? /* @__PURE__ */ (0, x.jsx)(Bke, {+ u === "tags" && !g && e.selectMode ? /* @__PURE__ */ (0, x.jsx)(Vke, {count: a.size,match: s,onMatch: c,@@ -59919,31 +59932,31 @@ function Jke(e) {]});}-var Yke = {+var Xke = {tags: "标签",performers: "艺人",creators: "卖家",studios: "厂牌",agencies: "事务所"};-function Xke({ kind: e, filtered: t, online: n, configurable: r }) {- if (t) return /* @__PURE__ */ (0, x.jsx)(Dk, {- icon: vN("search"),+function Zke({ kind: e, filtered: t, online: n, configurable: r }) {+ if (t) return /* @__PURE__ */ (0, x.jsx)(Ok, {+ icon: yN("search"),title: "没有符合条件的内容",- actions: /* @__PURE__ */ (0, x.jsx)(Tk, {+ actions: /* @__PURE__ */ (0, x.jsx)(Ek, {variant: "primary",href: "/?loc=&thumb=0",children: "查看全部内容"}),children: "清除筛选或搜索条件后查看全部内容。"});- let i = n && e === "performers" ? "创作者" : Yke[e], a = /* @__PURE__ */ (0, x.jsx)(Tk, {+ let i = n && e === "performers" ? "创作者" : Xke[e], a = /* @__PURE__ */ (0, x.jsx)(Ek, {variant: !r || n ? "primary" : "secondary",href: "/subscriptions?tab=add",children: "添加关注"});- return /* @__PURE__ */ (0, x.jsx)(Dk, {- icon: vN(e === "tags" ? "tags" : "user-round"),+ return /* @__PURE__ */ (0, x.jsx)(Ok, {+ icon: yN(e === "tags" ? "tags" : "user-round"),title: `还没有${i}`,actions: n ? a : /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [r ? /* @__PURE__ */ (0, x.jsx)(G, {variant: "primary",@@ -59953,15 +59966,15 @@ function Xke({ kind: e, filtered: t, online: n, configurable: r }) {children: n ? `添加关注来源并获取内容后,这里会显示来源上的${i}。` : "添加内容并补充资料后,这里会显示对应信息。"});}-var Zke = {+var Qke = {video: ["视频", "play"],image: ["图片", "pics"],archive: ["压缩包", "file-archive"],audio: ["音频", "file-audio"],url: ["网址快捷方式", "globe"],other: ["其它文件", "hard-drive"]-}, Qke = (e) => Zke[e.junk_kind || "other"] || Zke.other;-function $ke(e) {+}, $ke = (e) => Qke[e.junk_kind || "other"] || Qke.other;+function eAe(e) {return e === "dismissed" ? {operation: "reconsider-junk",label: "重新判断",@@ -59972,21 +59985,21 @@ function $ke(e) {glyph: "check"};}-var eAe = (e, t) => Number((t ? e.counts?.[t] : e.all_total) || 0), tAe = (e, t) => [+var tAe = (e, t) => Number((t ? e.counts?.[t] : e.all_total) || 0), nAe = (e, t) => ["junk-queue",e.view,e.kind,t];-function nAe({ kind: e, view: t }) {+function rAe({ kind: e, view: t }) {let n = new URLSearchParams({limit: "200",status: t});return e && n.set("kind", e), n.toString();}-async function rAe(e, t) {- let n = await V(`/api/ads?${nAe(e)}`, t);+async function iAe(e, t) {+ let n = await V(`/api/ads?${rAe(e)}`, t);return {...n,items: n.items || []@@ -60001,12 +60014,12 @@ function JR({ name: e }) {children: /* @__PURE__ */ (0, x.jsx)("use", { href: `#i-${e}` })});}-var iAe = (e, t) => e || t.shiftKey || t.ctrlKey || t.metaKey;-function aAe({ item: e, view: t, selected: n, selectMode: r, helpers: i, actions: a }) {- let o = (0, b.useRef)(null), [s, c] = (0, b.useState)(""), [l, u] = (0, b.useState)(""), d = e.junk_kind || "other", [f, p] = Qke(e), m = String(e.name || ""), h = $ke(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]") || iAe(r, t) && (t.preventDefault(), a.toggleSelection(e.id, t.shiftKey));+var aAe = (e, t) => e || t.shiftKey || t.ctrlKey || t.metaKey;+function oAe({ item: e, view: t, selected: n, selectMode: r, helpers: i, actions: a }) {+ let o = (0, b.useRef)(null), [s, c] = (0, b.useState)(""), [l, u] = (0, b.useState)(""), d = e.junk_kind || "other", [f, p] = $ke(e), m = String(e.name || ""), h = eAe(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]") || aAe(r, t) && (t.preventDefault(), a.toggleSelection(e.id, t.shiftKey));}, y = (t) => {- t.stopPropagation(), iAe(r, t) ? (t.preventDefault(), a.toggleSelection(e.id, t.shiftKey)) : o.current && a.open(e, o.current);+ t.stopPropagation(), aAe(r, t) ? (t.preventDefault(), a.toggleSelection(e.id, t.shiftKey)) : o.current && a.open(e, o.current);}, S = (t) => {t.preventDefault(), t.stopPropagation(), s !== "reveal" && (c("reveal"), u(""), a.reveal(e).then(u, () => {}).finally(() => c("")));}, C = (t) => (n) => {@@ -60037,7 +60050,7 @@ function aAe({ item: e, view: t, selected: n, selectMode: r, helpers: i, actions"data-junk-kind": d,"data-selected": n ? "" : void 0,onClick: v,- onMouseDown: fP,+ onMouseDown: pP,children: [/* @__PURE__ */ (0, x.jsxs)("div", {"data-media-pic": "",@@ -60133,7 +60146,7 @@ function aAe({ item: e, view: t, selected: n, selectMode: r, helpers: i, actions]});}-var oAe = (0, b.memo)(aAe), YR = [+var sAe = (0, b.memo)(oAe), YR = [["","全部",@@ -60169,11 +60182,11 @@ var oAe = (0, b.memo)(aAe), YR = ["其它","hard-drive"]-], sAe = (e) => YR.find(([t]) => t === e)?.[0] ?? "";+], cAe = (e) => YR.find(([t]) => t === e)?.[0] ?? "";function XR(e) {let t = new URLSearchParams(e);return {- kind: sAe(t.get("type")),+ kind: cAe(t.get("type")),view: t.get("view") === "dismissed" ? "dismissed" : "pending"};}@@ -60183,7 +60196,7 @@ function ZR(e = "", t = "pending") {let r = n.toString();return `/junk-files${r ? `?${r}` : ""}`;}-function cAe(e) {+function lAe(e) {return e === "dismissed" ? {view: "pending",label: "返回待判断",@@ -60196,28 +60209,28 @@ function cAe(e) {href: ZR("", "dismissed")};}-var lAe = (e) => e === "dismissed" ? "已排除" : "待判断", uAe = (e) => `<svg viewBox="0 0 24 24" aria-hidden="true"><use href="#i-${e}"></use></svg>`;-function dAe({ kind: e, view: t }) {- let n = YR.map(([n, r, i]) => `<a href="${ZR(n, t)}" data-junk-kind-link="${n}"${n === e ? " aria-current=\"page\"" : ""}>${uAe(i)}${z(r)}</a>`).join(""), r = cAe(t);- return `<div class="peach-react" data-junk-count-skeleton=""><div data-junk-count=""><div data-junk-summary="" aria-live="polite">${FI(lAe(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\"" : ""}>${uAe(r.glyph)}${r.label}</a></nav></div></div></div>`;+var uAe = (e) => e === "dismissed" ? "已排除" : "待判断", dAe = (e) => `<svg viewBox="0 0 24 24" aria-hidden="true"><use href="#i-${e}"></use></svg>`;+function fAe({ kind: e, view: t }) {+ let n = YR.map(([n, r, i]) => `<a href="${ZR(n, t)}" data-junk-kind-link="${n}"${n === e ? " aria-current=\"page\"" : ""}>${dAe(i)}${z(r)}</a>`).join(""), r = lAe(t);+ return `<div class="peach-react" data-junk-count-skeleton=""><div data-junk-count=""><div data-junk-summary="" aria-live="polite">${II(uAe(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\"" : ""}>${dAe(r.glyph)}${r.label}</a></nav></div></div></div>`;}//#endregion//#region src/react/junk-queue/junk-count.tsx-function fAe({ name: e }) {+function pAe({ name: e }) {return /* @__PURE__ */ (0, x.jsx)("svg", {viewBox: "0 0 24 24","aria-hidden": "true",children: /* @__PURE__ */ (0, x.jsx)("use", { href: `#i-${e}` })});}-function pAe({ scope: e, count: t }) {+function mAe({ scope: e, count: t }) {return t ? /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [" ", /* @__PURE__ */ (0, x.jsx)("span", {"data-count-badge": `junk:${e}`,children: t.toLocaleString()})] }) : null;}-function mAe({ route: e, page: t, failed: n, onNavigate: r }) {- let i = YI(), a = (0, b.useRef)(null), { kind: o, view: s } = e, c = TA(a, i, "[data-junk-kind-link][aria-current=\"page\"]", `${s}:${o}:${t ? YR.map(([e]) => eAe(t, e)).join(",") : ""}`), l = cAe(s), u = (e) => {+function hAe({ route: e, page: t, failed: n, onNavigate: r }) {+ let i = XI(), a = (0, b.useRef)(null), { kind: o, view: s } = e, c = EA(a, i, "[data-junk-kind-link][aria-current=\"page\"]", `${s}:${o}:${t ? YR.map(([e]) => tAe(t, e)).join(",") : ""}`), l = lAe(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") || ZR()));}, d = t ? `${Number(t.total || 0).toLocaleString()} 个` : n ? "—" : "";@@ -60227,7 +60240,7 @@ function mAe({ route: e, page: t, failed: n, onNavigate: r }) {"data-junk-summary": "","aria-live": "polite",children: /* @__PURE__ */ (0, x.jsx)(nR, {- label: lAe(s),+ label: uAe(s),figure: d,pending: !t && !n,flush: !0@@ -60253,11 +60266,11 @@ function mAe({ route: e, page: t, failed: n, onNavigate: r }) {"aria-current": e === o ? "page" : void 0,onPointerEnter: c.hover,children: [- /* @__PURE__ */ (0, x.jsx)(fAe, { name: r }),+ /* @__PURE__ */ (0, x.jsx)(pAe, { name: r }),n,- /* @__PURE__ */ (0, x.jsx)(pAe, {+ /* @__PURE__ */ (0, x.jsx)(mAe, {scope: e,- count: t ? eAe(t, e) : 0+ count: t ? tAe(t, e) : 0})]}, e || "all")),@@ -60271,9 +60284,9 @@ function mAe({ 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, x.jsx)(fAe, { name: l.glyph }),+ /* @__PURE__ */ (0, x.jsx)(pAe, { name: l.glyph }),l.label,- /* @__PURE__ */ (0, x.jsx)(pAe, {+ /* @__PURE__ */ (0, x.jsx)(mAe, {scope: "dismissed",count: Number(t?.dismissed_total || 0)})@@ -60286,33 +60299,33 @@ function mAe({ route: e, page: t, failed: n, onNavigate: r }) {}//#endregion//#region src/react/junk-queue/junk-queue-page.tsx-var hAe = vN("check"), gAe = (e, t) => e[1] === t.view && e[2] === t.kind;-function _Ae(e) {+var gAe = yN("check"), _Ae = (e, t) => e[1] === t.view && e[2] === t.kind;+function vAe(e) {let t = {kind: e.kind,view: e.view}, n = dt({- queryKey: tAe(t, e.revision),- queryFn: ({ signal: e }) => rAe(t, e),- placeholderData: (e, n) => n && gAe(n.queryKey, t) ? e : void 0+ queryKey: nAe(t, e.revision),+ queryFn: ({ signal: e }) => iAe(t, e),+ placeholderData: (e, n) => n && _Ae(n.queryKey, t) ? e : void 0});(0, b.useEffect)(() => {n.isFetching || e.settled?.(e.revision);}, [n.isFetching, e.revision]);- let r = vAe(e.countRow), i = n.isPending;+ let r = yAe(e.countRow), i = n.isPending;(0, b.useLayoutEffect)(() => {let t = e.countRow;t && (i ? t.setAttribute("aria-busy", "true") : t.removeAttribute("aria-busy"));}, [e.countRow, i]), (0, b.useLayoutEffect)(() => {r && n.data && _o(r, "junk");}, [r, n.data]);- let { navigate: a } = e.actions, o = r ? (0, mt.createPortal)(/* @__PURE__ */ (0, x.jsx)(mAe, {+ let { navigate: a } = e.actions, o = r ? (0, mt.createPortal)(/* @__PURE__ */ (0, x.jsx)(hAe, {route: t,page: n.data,failed: n.isError && !n.data,onNavigate: a}), r) : null;- return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [o, /* @__PURE__ */ (0, x.jsx)(yAe, {+ return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [o, /* @__PURE__ */ (0, x.jsx)(bAe, {props: e,data: n.data,pending: i,@@ -60320,7 +60333,7 @@ function _Ae(e) {retry: () => void n.refetch()}, `${t.view}:${t.kind}`)] });}-function vAe(e) {+function yAe(e) {let [t, n] = (0, b.useState)(null);return (0, b.useLayoutEffect)(() => {if (!e) return;@@ -60330,8 +60343,8 @@ function vAe(e) {};}, [e]), t;}-function yAe({ props: e, data: t, pending: n, error: r, retry: i }) {- let a = cP(n, e.skeletonHtml), o = Math.max(1, e.batchSize || 60), [s, c] = (0, b.useState)(1), l = t?.items || [], u = l.slice(0, s * o), { canLoadMore: d } = e, f = (0, b.useCallback)(() => {+function bAe({ props: e, data: t, pending: n, error: r, retry: i }) {+ let a = lP(n, e.skeletonHtml), o = Math.max(1, e.batchSize || 60), [s, c] = (0, b.useState)(1), l = t?.items || [], u = l.slice(0, s * o), { canLoadMore: d } = e, f = (0, b.useCallback)(() => {d?.() !== !1 && c((e) => e + 1);}, [d]);return /* @__PURE__ */ (0, x.jsxs)("div", {@@ -60339,14 +60352,14 @@ function yAe({ 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, x.jsx)(lP, {+ if (!t) return /* @__PURE__ */ (0, x.jsx)(uP, {message: Et(r),onRetry: i});if (!l.length) {let t = e.view === "dismissed";- return /* @__PURE__ */ (0, x.jsx)(Dk, {- icon: hAe,+ return /* @__PURE__ */ (0, x.jsx)(Ok, {+ icon: gAe,title: t ? "没有已排除的文件" : "没有待判断的垃圾文件",children: t ? "点“不是垃圾”的资源会保留在这里,可随时重新判断。" : "当前分类没有候选文件。"});@@ -60356,7 +60369,7 @@ function yAe({ 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, x.jsx)(oAe, {+ children: u.map((t) => /* @__PURE__ */ (0, x.jsx)(sAe, {item: t,view: e.view,selected: e.selected.has(t.id),@@ -60365,7 +60378,7 @@ function yAe({ props: e, data: t, pending: n, error: r, retry: i }) {actions: e.actions}, t.id))}),- u.length < l.length ? /* @__PURE__ */ (0, x.jsx)(bAe, { onMore: f }, s) : null,+ u.length < l.length ? /* @__PURE__ */ (0, x.jsx)(xAe, { onMore: f }, s) : null,u.length >= l.length && Number(t.total || 0) > l.length ? /* @__PURE__ */ (0, x.jsx)("p", {"data-junk-truncated": "",className: "py-6 text-center text-caption-1-regular text-text-secondary",@@ -60375,7 +60388,7 @@ function yAe({ props: e, data: t, pending: n, error: r, retry: i }) {})()]});}-function bAe({ onMore: e }) {+function xAe({ onMore: e }) {let t = (0, b.useRef)(null);return (0, b.useEffect)(() => {let n = t.current;@@ -60393,7 +60406,7 @@ function bAe({ onMore: e }) {}//#endregion//#region src/react/components/source-avatar.tsx-function xAe({ code: e, person: t, detail: n = !1 }) {+function SAe({ code: e, person: t, detail: n = !1 }) {let r = (0, b.useRef)(null), [i, a] = (0, b.useState)(n || typeof IntersectionObserver > "u");(0, b.useEffect)(() => {if (!r.current || i) return;@@ -60427,9 +60440,9 @@ function xAe({ code: e, person: t, detail: n = !1 }) {}//#endregion//#region src/react/jav/discovery-faces.tsx-function SAe({ item: e }) {+function CAe({ item: e }) {let t = e.performer_refs?.length ? e.performer_refs : [...new Set(e.performers.split(/[,,、;/]/).filter(Boolean))].map((e) => ({ name: e })), n = t.slice(0, 5).map((t) => {- let n = t.source_avatar && t.source_actor_id && !t.has_image ? { children: /* @__PURE__ */ (0, x.jsx)(xAe, {+ let n = t.source_avatar && t.source_actor_id && !t.has_image ? { children: /* @__PURE__ */ (0, x.jsx)(SAe, {code: e.code,person: t}) } : { dangerouslySetInnerHTML: { __html: la(t.name, t, null) } };@@ -60455,8 +60468,8 @@ var QR = [["library", "馆藏"],["discover", "发现"],["wants", "想要"]-], $R = (e) => QR.some(([t]) => t === e) ? e : "library", CAe = (e) => $R(e) === "library" ? "/?jav=1" : `/jav?tab=${e}`;-function wAe(e) {+], $R = (e) => QR.some(([t]) => t === e) ? e : "library", wAe = (e) => $R(e) === "library" ? "/?jav=1" : `/jav?tab=${e}`;+function TAe(e) {let t = new URLSearchParams(e);return t.delete("tab"), t.set("jav", "1"), "/?" + t;}@@ -60470,7 +60483,7 @@ var ez = [],["release_date",- IC[1],+ LC[1],"按发行日期排序"],[@@ -60489,10 +60502,10 @@ var ez = ["按番号排序"]];-function TAe(e) {+function EAe(e) {return typeof e == "number" && Number.isFinite(e) ? e.toFixed(3) : "—";}-function EAe(e) {+function DAe(e) {if (typeof e != "number" || !Number.isFinite(e)) return {score: "—",label: "资料未取得",@@ -60518,8 +60531,8 @@ function EAe(e) {}//#endregion//#region src/jav-skeleton.ts-var tz = (e) => `<span data-jav-skeleton-text class="skeleton block rounded-md" style="width:${e}" aria-hidden="true"></span>`, DAe = (e) => `<span data-jav-skeleton-cover class="skeleton ${e}"></span>`, OAe = "w-full min-w-0";-function kAe() {+var tz = (e) => `<span data-jav-skeleton-text class="skeleton block rounded-md" style="width:${e}" aria-hidden="true"></span>`, OAe = (e) => `<span data-jav-skeleton-cover class="skeleton ${e}"></span>`, kAe = "w-full min-w-0";+function AAe() {return ["w-20","w-16",@@ -60529,17 +60542,17 @@ function kAe() {"w-24"].map((e) => `<span data-skeleton="tag" aria-hidden="true" class="skeleton-sheen relative block h-7.5 flex-none rounded-(--tag-radius) ${e}"></span>`).join("");}-function nz(e, t = bw()) {- if (e === "wants") return `<div class="flex w-full flex-col gap-8" data-skeleton="jav-wants">${tz("5em")}${Array.from({ length: 3 }, () => `<div class="flex min-w-0 gap-4 rounded-2lg bg-background-secondary-default p-6">${DAe("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">${tz("80%")}${tz("60%")}${tz("40%")}</div></div>`).join("")}</div>`;- let n = Tw({- ...ww({+function nz(e, t = xw()) {+ if (e === "wants") return `<div class="flex w-full flex-col gap-8" data-skeleton="jav-wants">${tz("5em")}${Array.from({ length: 3 }, () => `<div class="flex min-w-0 gap-4 rounded-2lg bg-background-secondary-default p-6">${OAe("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">${tz("80%")}${tz("60%")}${tz("40%")}</div></div>`).join("")}</div>`;+ let n = Ew({+ ...Tw({active: !0,home: !1,portrait: !1}),size: t});- return `<div data-media-grid class="${OAe}" 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="${kAe}" 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>${tz("85%")}${tz("65%")}</div><div data-media-byline>${tz("55%")}</div>@@ -60548,28 +60561,28 @@ function nz(e, t = bw()) {<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 AAe(e) {+function jAe(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>${NI({+ <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>${PI({variant: "primary",label: "查找资源",attrs: "disabled data-skeleton-action"})}</div><div class="relative flex flex-none gap-1 overflow-x-auto max-board-narrow:gap-0">${QR.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}">${MI("筛选番号、女优或标题", "", 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>${tz("100%")}</div>${nz(e)}` : `<section class="flex min-w-0 flex-col gap-4">${jAe()}${nz(e)}</section>`}</div></div>`;+ <form aria-label="${t}">${NI("筛选番号、女优或标题", "", 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>${tz("100%")}</div>${nz(e)}` : `<section class="flex min-w-0 flex-col gap-4">${MAe()}${nz(e)}</section>`}</div></div>`;}-function jAe() {- let e = (e, t) => `<button type="button" data-entity-tag="${e}" data-entity-press="" aria-pressed="${e === "external"}" class="flex h-7.5 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="" ${bw() === e ? "data-selected=\"true\"" : ""} class="flex size-7.5 flex-none items-center justify-center rounded-lg text-(--glass-text)/62">${jI(t, "size-4")}</span>`;+function MAe() {+ let e = (e, t) => `<button type="button" data-entity-tag="${e}" data-entity-press="" aria-pressed="${e === "external"}" class="flex h-7.5 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="" ${xw() === e ? "data-selected=\"true\"" : ""} class="flex size-7.5 flex-none items-center justify-center rounded-lg text-(--glass-text)/62">${MI(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>${kAe()}</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>${AAe()}</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>- <span data-entity-sorts><button type="button" data-entity-batch data-jav-metadata-update title="更新资料" aria-label="更新资料" disabled>${jI("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>- ${ez.map(([e, t]) => `<button type="button" data-entity-sort="${e}" data-entity-press aria-pressed="${e === "taste"}">${t}${e === "taste" ? jI("arrow-down", "size-3.5") : ""}</button>`).join("")}+ <span data-entity-sorts><button type="button" data-entity-batch data-jav-metadata-update title="更新资料" aria-label="更新资料" disabled>${MI("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>+ ${ez.map(([e, t]) => `<button type="button" data-entity-sort="${e}" data-entity-press aria-pressed="${e === "taste"}">${t}${e === "taste" ? MI("arrow-down", "size-3.5") : ""}</button>`).join("")}</span></div></div>`;@@ -60579,18 +60592,18 @@ function jAe() {var rz = (e) => (e || "").toUpperCase().replace(/[^A-Z0-9]/g, ""), iz = (e, t) => !!rz(e) && rz(e) === rz(t);//#endregion//#region src/react/activity/resource-search.tsx-function MAe({ className: e }) {+function NAe({ className: e }) {return /* @__PURE__ */ (0, x.jsx)("span", {className: e,"aria-hidden": !0,dangerouslySetInnerHTML: { __html: ao("") }});}-function NAe(e) {+function PAe(e) {return ["中字", "中文字幕"].includes(e?.trim() ?? "") ? "chinese" : ["无码", "无码破解"].includes(e?.trim() ?? "") ? "uncensored" : "quality";}-function PAe({ initialCode: e, reason: t, choose: n, onSearch: r, onWork: i }) {- let [a, o] = (0, b.useState)(e), [s, c] = (0, b.useState)(() => NAe(t)), [l, u] = (0, b.useState)(""), [d, f] = (0, b.useState)(""), [p, m] = (0, b.useState)(null), [h, g] = (0, b.useState)(""), [_, v] = (0, b.useState)(""), y = Mk(), S = (0, b.useRef)(null);+function FAe({ initialCode: e, reason: t, choose: n, onSearch: r, onWork: i }) {+ let [a, o] = (0, b.useState)(e), [s, c] = (0, b.useState)(() => PAe(t)), [l, u] = (0, b.useState)(""), [d, f] = (0, b.useState)(""), [p, m] = (0, b.useState)(null), [h, g] = (0, b.useState)(""), [_, v] = (0, b.useState)(""), y = Nk(), S = (0, b.useRef)(null);(0, b.useEffect)(() => () => S.current?.abort(), []);let C = () => {if (!a.trim() || y.busy) return;@@ -60627,18 +60640,18 @@ function PAe({ 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, x.jsxs)(Hk, { children: [+ t ? /* @__PURE__ */ (0, x.jsxs)(Uk, { children: ["版本目标:",t,"。可在下方调整搜索优先项;完整度与水印需要逐条复核。"] }) : null,- /* @__PURE__ */ (0, x.jsx)(pN, {+ /* @__PURE__ */ (0, x.jsx)(mN, {label: "按番号查找资源",value: a,maxLength: 80,placeholder: "输入番号,按回车搜索",enterKeyHint: "search",- leadingIcon: y.busy ? MAe : ZO,+ leadingIcon: y.busy ? NAe : QO,isReadOnly: !!y.busy,"aria-busy": !!y.busy,onChange: o,@@ -60648,7 +60661,7 @@ function PAe({ initialCode: e, reason: t, choose: n, onSearch: r, onWork: i }) {}),/* @__PURE__ */ (0, x.jsxs)("div", {className: "flex flex-col gap-1",- children: [/* @__PURE__ */ (0, x.jsx)(Wk, { children: "优先寻找" }), /* @__PURE__ */ (0, x.jsxs)(nL, {+ children: [/* @__PURE__ */ (0, x.jsx)(Gk, { children: "优先寻找" }), /* @__PURE__ */ (0, x.jsxs)(nL, {"aria-label": "优先寻找",selectedKey: s,isDisabled: !!y.busy,@@ -60673,32 +60686,32 @@ function PAe({ initialCode: e, reason: t, choose: n, onSearch: r, onWork: i }) {}),/* @__PURE__ */ (0, x.jsxs)("div", {className: "flex gap-3 max-sm:flex-col",- children: [/* @__PURE__ */ (0, x.jsx)(pN, {+ children: [/* @__PURE__ */ (0, x.jsx)(mN, {label: "最小体积(GiB)",inputMode: "decimal",value: l,onChange: u- }), /* @__PURE__ */ (0, x.jsx)(pN, {+ }), /* @__PURE__ */ (0, x.jsx)(mN, {label: "最大体积(GiB)",inputMode: "decimal",value: d,onChange: f})]}),- y.busy ? /* @__PURE__ */ (0, x.jsx)(Hk, {+ y.busy ? /* @__PURE__ */ (0, x.jsx)(Uk, {role: "status",children: "正在搜索资源"}) : null,- y.error ? /* @__PURE__ */ (0, x.jsx)(Uk, { children: y.error }) : null,- p?.error ? /* @__PURE__ */ (0, x.jsx)(Hk, {+ y.error ? /* @__PURE__ */ (0, x.jsx)(Wk, { children: y.error }) : null,+ p?.error ? /* @__PURE__ */ (0, x.jsx)(Uk, {role: "status",children: p.error}) : null,- p?.state === "ready" && !p.items.length ? /* @__PURE__ */ (0, x.jsx)(Hk, {+ p?.state === "ready" && !p.items.length ? /* @__PURE__ */ (0, x.jsx)(Uk, {role: "status",children: "没有符合条件的资源。"}) : null,- p?.warnings.map((e) => /* @__PURE__ */ (0, x.jsx)(Hk, { children: e }, e)),+ p?.warnings.map((e) => /* @__PURE__ */ (0, x.jsx)(Uk, { children: e }, e)),p?.items.length ? /* @__PURE__ */ (0, x.jsx)("ul", {className: "flex min-w-0 flex-col gap-4",children: p.items.map((e) => /* @__PURE__ */ (0, x.jsxs)("li", {@@ -60708,7 +60721,7 @@ function PAe({ 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, x.jsx)(Hk, { children: [+ /* @__PURE__ */ (0, x.jsx)(Uk, { children: [e.size > 0 ? `${(e.size / 1024 ** 3).toFixed(2)} GiB` : "体积未取得",e.seeders >= 0 ? `${e.seeders} 个做种` : "做种未取得",e.resolution ? `${e.resolution}p` : "",@@ -60733,19 +60746,19 @@ function PAe({ initialCode: e, reason: t, choose: n, onSearch: r, onWork: i }) {}//#endregion//#region src/react/activity/cloud-download-dialog.tsx-var FAe = {+var IAe = {submitted: "已提交离线下载,进度在任务中心",adopted: "这个磁力已有任务,没有重复提交",adopted_remote: "远端已有同一任务,已接管"};function az({ prefill: e, close: t, receipt: n, provider: r }) {- return /* @__PURE__ */ (0, x.jsx)(hN, {+ return /* @__PURE__ */ (0, x.jsx)(gN, {isOpen: !!e,onOpenChange: (e) => {e || t();},width: "form",- children: e ? /* @__PURE__ */ (0, x.jsx)(IAe, {+ children: e ? /* @__PURE__ */ (0, x.jsx)(LAe, {prefill: e,close: t,receipt: n,@@ -60753,26 +60766,26 @@ function az({ prefill: e, close: t, receipt: n, provider: r }) {}) : null});}-function IAe({ prefill: e, close: t, receipt: n, provider: r }) {+function LAe({ prefill: e, close: t, receipt: n, provider: r }) {let i = dt({- queryKey: uA,- queryFn: ({ signal: e }) => V(`${lA}?limit=50`, e),- refetchInterval: (e) => dA(e.state.data)+ queryKey: dA,+ queryFn: ({ signal: e }) => V(`${uA}?limit=50`, e),+ refetchInterval: (e) => fA(e.state.data)}), a = i.data, o = /* @__PURE__ */ (0, x.jsxs)("div", {className: "flex items-center justify-between gap-4 px-5 pt-5",- children: [/* @__PURE__ */ (0, x.jsx)(KA, {+ children: [/* @__PURE__ */ (0, x.jsx)(qA, {slot: "title",className: "text-title-2-semibold text-text-primary",children: "查找资源"}), /* @__PURE__ */ (0, x.jsx)(G, {variant: "ghost",iconOnly: !0,- leadingIcon: HO,+ leadingIcon: UO,"aria-label": "关闭资源面板",onClick: t})]});- return a ? /* @__PURE__ */ (0, x.jsx)(LAe, {+ return a ? /* @__PURE__ */ (0, x.jsx)(RAe, {header: o,snapshot: a,prefill: e,@@ -60801,8 +60814,8 @@ function IAe({ prefill: e, close: t, receipt: n, provider: r }) {]});}-function LAe({ header: e, snapshot: t, prefill: n, close: r, receipt: i, provider: a }) {- let o = C(), s = t.providers.filter((e) => e.configured), c = s.find((e) => e.key === a) ?? s[0], [l, u] = (0, b.useState)(c?.key || "pikpak"), [d, f] = (0, b.useState)(""), [p, m] = (0, b.useState)(n.code ?? ""), [h, g] = (0, b.useState)(c?.target || ""), [_, v] = (0, b.useState)(n.code ? n : null), [y, S] = (0, b.useState)(""), w = t.available && s.some((e) => e.key === l), T = Mk(), E = (0, b.useRef)(null), D = (e) => {+function RAe({ header: e, snapshot: t, prefill: n, close: r, receipt: i, provider: a }) {+ let o = C(), s = t.providers.filter((e) => e.configured), c = s.find((e) => e.key === a) ?? s[0], [l, u] = (0, b.useState)(c?.key || "pikpak"), [d, f] = (0, b.useState)(""), [p, m] = (0, b.useState)(n.code ?? ""), [h, g] = (0, b.useState)(c?.target || ""), [_, v] = (0, b.useState)(n.code ? n : null), [y, S] = (0, b.useState)(""), w = t.available && s.some((e) => e.key === l), T = Nk(), E = (0, b.useRef)(null), D = (e) => {u(e), g(s.find((t) => t.key === e)?.target ?? "");};return /* @__PURE__ */ (0, x.jsxs)("form", {@@ -60818,14 +60831,14 @@ function LAe({ header: e, snapshot: t, prefill: n, close: r, receipt: i, providetitle: _?.title,origin: _?.origin};- S(""), T.run("submit", (e) => H(lA, t, "POST", e), (e) => {- o.invalidateQueries({ queryKey: uA });- let t = FAe[e.outcome];+ S(""), T.run("submit", (e) => H(uA, t, "POST", e), (e) => {+ o.invalidateQueries({ queryKey: dA });+ let t = IAe[e.outcome];if (e.ok && t) {i(t), r();return;}- let n = fA(e.task);+ let n = pA(e.task);S(e.outcome === "refused" ? "这个资源被判为违规,不再提交。" : n ? `提交没有成功:${n}` : "提交没有成功。");});},@@ -60849,7 +60862,7 @@ function LAe({ header: e, snapshot: t, prefill: n, close: r, receipt: i, providechildren: [/* @__PURE__ */ (0, x.jsx)("p", {className: "break-words text-body-medium text-text-primary",children: _ ? [_.code, _.title].filter(Boolean).join(" · ") : "作品资料未取得"- }), _ ? /* @__PURE__ */ (0, x.jsx)(Hk, { children: [+ }), _ ? /* @__PURE__ */ (0, x.jsx)(Uk, { children: [_.performers,_.studio,_.release_date,@@ -60857,7 +60870,7 @@ function LAe({ header: e, snapshot: t, prefill: n, close: r, receipt: i, provide].filter(Boolean).join(" · ") }) : null]})]}) : null,- /* @__PURE__ */ (0, x.jsx)(PAe, {+ /* @__PURE__ */ (0, x.jsx)(FAe, {initialCode: n.code ?? "",reason: n.searchReason,onSearch: (e) => {@@ -60872,7 +60885,7 @@ function LAe({ header: e, snapshot: t, prefill: n, close: r, receipt: i, providef(e), m(t), E.current?.focus();}}),- /* @__PURE__ */ (0, x.jsx)(pN, {+ /* @__PURE__ */ (0, x.jsx)(mN, {ref: E,label: "磁力链接",placeholder: "magnet:?xt=urn:btih:…",@@ -60884,7 +60897,7 @@ function LAe({ header: e, snapshot: t, prefill: n, close: r, receipt: i, provide/* @__PURE__ */ (0, x.jsxs)("div", {className: "flex flex-col gap-1",children: [- /* @__PURE__ */ (0, x.jsx)(Wk, { children: "下载到" }),+ /* @__PURE__ */ (0, x.jsx)(Gk, { children: "下载到" }),/* @__PURE__ */ (0, x.jsx)(nL, {"aria-label": "下载到",selectedKey: l,@@ -60895,13 +60908,13 @@ function LAe({ header: e, snapshot: t, prefill: n, close: r, receipt: i, providechildren: s.map((e) => /* @__PURE__ */ (0, x.jsx)(rL, {id: e.key,textValue: e.label,- children: /* @__PURE__ */ (0, x.jsx)(cA, {+ children: /* @__PURE__ */ (0, x.jsx)(lA, {source: e.key,label: e.label})}, e.key))}),- l === "115" ? /* @__PURE__ */ (0, x.jsx)(Hk, { children: "每提交一次扣一条离线配额,重新提交也算。" }) : null+ l === "115" ? /* @__PURE__ */ (0, x.jsx)(Uk, { children: "每提交一次扣一条离线配额,重新提交也算。" }) : null]}),t.available ? null : /* @__PURE__ */ (0, x.jsx)(K, {@@ -60915,7 +60928,7 @@ function LAe({ header: e, snapshot: t, prefill: n, close: r, receipt: i, providechildren: "下载渠道设置"})]}),- /* @__PURE__ */ (0, x.jsx)(pN, {+ /* @__PURE__ */ (0, x.jsx)(mN, {label: "目标目录",placeholder: "/云下载",autoComplete: "off",@@ -60923,7 +60936,7 @@ function LAe({ header: e, snapshot: t, prefill: n, close: r, receipt: i, providevalue: h,onChange: g}),- n.code ? null : /* @__PURE__ */ (0, x.jsx)(pN, {+ n.code ? null : /* @__PURE__ */ (0, x.jsx)(mN, {label: "番号",placeholder: "可不填",autoComplete: "off",@@ -60933,7 +60946,7 @@ function LAe({ header: e, snapshot: t, prefill: n, close: r, receipt: i, providem(e), iz(e, _?.code) || v(null);}}),- y || T.error ? /* @__PURE__ */ (0, x.jsx)(Uk, { children: y || T.error }) : null+ y || T.error ? /* @__PURE__ */ (0, x.jsx)(Wk, { children: y || T.error }) : null]}),/* @__PURE__ */ (0, x.jsxs)("div", {@@ -60954,17 +60967,17 @@ function LAe({ header: e, snapshot: t, prefill: n, close: r, receipt: i, provide}//#endregion//#region src/react/wants/wants.ts-var oz = "/api/wants", sz = ["wants"], RAe = (e) => [+var oz = "/api/wants", sz = ["wants"], zAe = (e) => ["wants","follow",e-], zAe = [+], BAe = [["searching", "待找"],["unreleased", "未发售"],["given_up", "暂时放弃"],["acquired", "已入库"]-], BAe = (e) => V(oz, e);-function VAe(e, t) {+], VAe = (e) => V(oz, e);+function HAe(e, t) {U.setQueryData(sz, (n) => n?.items.some((n) => n.id === e && n.has_magnets !== t) ? {...n,items: n.items.map((n) => n.id === e ? {@@ -60973,26 +60986,26 @@ function VAe(e, t) {} : n)} : n);}-var HAe = (e, t) => V(`${oz}?follow=${encodeURIComponent(e)}`, t), cz = (e, t) => H(oz, {+var UAe = (e, t) => V(`${oz}?follow=${encodeURIComponent(e)}`, t), cz = (e, t) => H(oz, {action: "add",...e}, "POST", t), lz = (e, t) => H(oz, {action: "remove",ids: e-}, "POST", t), UAe = (e, t) => H(oz, {+}, "POST", t), WAe = (e, t) => H(oz, {action: "reset",ids: e}, "POST", t), uz = () => U.invalidateQueries({ queryKey: sz }), dz = (e) => e.code || e.title || `关注条目 ${e.follow_item_id ?? e.id}`;-function WAe(e) {+function GAe(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/publication-cache.ts-var GAe = 864e5, KAe = (e) => {+var KAe = 864e5, qAe = (e) => {let t = new Date(e);return Date.UTC(t.getFullYear(), t.getMonth(), t.getDate());};-function qAe(e) {+function JAe(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));@@ -61000,25 +61013,25 @@ function qAe(e) {let o = new Date(Date.UTC(n, r + 2, 0)).getUTCDate();return Date.UTC(n, r + 1, Math.min(i, o));}-function JAe(e, t = Date.now()) {- let n = qAe(e);- return n !== void 0 && KAe(t) > n ? Infinity : GAe;+function YAe(e, t = Date.now()) {+ let n = JAe(e);+ return n !== void 0 && qAe(t) > n ? Infinity : KAe;}function fz(e, t, n = Date.now()) {- return !Number.isFinite(e) || e <= 0 || e > n ? !1 : JAe(t, n) === Infinity ? KAe(e) > qAe(t) : n - e < GAe;+ return !Number.isFinite(e) || e <= 0 || e > n ? !1 : YAe(t, n) === Infinity ? qAe(e) > JAe(t) : n - e < KAe;}//#endregion//#region src/react/wants/resource-cache.ts-var YAe = "peach.want-resources.v1";+var XAe = "peach.want-resources.v1";function pz(e) {return !e.cache_stale && (e.complete === !0 || !e.warnings?.length);}-function XAe(e, t, n) {+function ZAe(e, t, n) {return !!e && !e.cache_stale && (e.state === "error" || !pz(e) ? Date.now() - t < 6e4 : fz(t, n));}function mz() {try {- let e = JSON.parse(localStorage.getItem(YAe) || "[]");+ let e = JSON.parse(localStorage.getItem(XAe) || "[]");return Array.isArray(e) ? e.filter((e) => typeof e?.code == "string" && Number.isFinite(e.saved) && e.result?.state === "ready" && Array.isArray(e.result.items) && pz(e.result) && e.result.items.every((e) => e && ["magnet","ed2k",@@ -61028,11 +61041,11 @@ function mz() {return [];}}-function ZAe(e, t) {+function QAe(e, t) {let n = mz().find((t) => t.code === e);return n && fz(n.saved, t) ? n : void 0;}-function QAe(e) {+function $Ae(e) {let t = new Map(mz().map((e) => [e.code, e])), n = /* @__PURE__ */ new Map();for (let r of e) {if (!r.code) continue;@@ -61041,10 +61054,10 @@ function QAe(e) {}return n;}-function $Ae(e, t) {+function eje(e, t) {if (t.state === "ready" && pz(t)) try {let n = mz().filter((t) => t.code !== e), r = Date.parse(t.checked_at || "");- localStorage.setItem(YAe, JSON.stringify([{+ localStorage.setItem(XAe, JSON.stringify([{code: e,saved: Number.isFinite(r) ? r : Date.now(),result: t@@ -61053,11 +61066,11 @@ function $Ae(e, t) {}//#endregion//#region src/react/wants/resource-display.ts-function eje(e) {+function tje(e) {let t = /^([\d,]+)\s*B$/i.exec(e.trim());return /^[\d,.]+$/.test(e.trim()) ? "大小未知" : t ? Qt(Number(t[1].replaceAll(",", ""))) : e || "大小未知";}-function tje(e) {+function nje(e) {return /^更多评论.*(?:VIP|官方 App)/.test(e) ? "来源只返回了部分评论,资源链接可能不完整。" : e;}//#endregion@@ -61072,8 +61085,8 @@ function hz({ icon: e, children: t, title: n }) {}), t]});}-function nje({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSource: a, queryUrl: o }) {- let s = (0, b.useRef)(null), [c, l] = (0, b.useState)(typeof IntersectionObserver > "u"), [u, d] = (0, b.useState)([]), f = Mk(), p = C(), m = (0, b.useRef)(!1), h = o ? `comment-resources:${o}:${e.code}` : `all-sources:${e.code || ""}`, g = (0, b.useMemo)(() => ZAe(h, e.release_date), [h, e.release_date]);+function rje({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSource: a, queryUrl: o }) {+ let s = (0, b.useRef)(null), [c, l] = (0, b.useState)(typeof IntersectionObserver > "u"), [u, d] = (0, b.useState)([]), f = Nk(), p = C(), m = (0, b.useRef)(!1), h = o ? `comment-resources:${o}:${e.code}` : `all-sources:${e.code || ""}`, g = (0, b.useMemo)(() => QAe(h, e.release_date), [h, e.release_date]);(0, b.useEffect)(() => {if (!s.current || c) return;let e = new IntersectionObserver((t) => {@@ -61093,22 +61106,22 @@ function nje({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSour],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", $Ae(h, i), i;+ return m.current = n && i.state === "busy", eje(h, i), i;},initialData: g?.result,initialDataUpdatedAt: g?.saved,enabled: c,retry: !1,- staleTime: (t) => XAe(t.state.data, Date.parse(t.state.data?.checked_at || "") || t.state.dataUpdatedAt, e.release_date) ? Infinity : 0,+ staleTime: (t) => ZAe(t.state.data, Date.parse(t.state.data?.checked_at || "") || t.state.dataUpdatedAt, e.release_date) ? Infinity : 0,gcTime: 864e5,- refetchOnMount: (t) => !XAe(t.state.data, Date.parse(t.state.data?.checked_at || "") || t.state.dataUpdatedAt, e.release_date) && "always",+ refetchOnMount: (t) => !ZAe(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, b.useEffect)(() => {_.data?.source_url && a?.(_.data.source_url);}, [_.data?.source_url, a]), (0, b.useEffect)(() => {- !o && _.data && (_.data.state === "ready" || _.data.items.length > 0) && VAe(e.id, _.data.items.some((e) => e.protocol === "magnet"));+ !o && _.data && (_.data.state === "ready" || _.data.items.length > 0) && HAe(e.id, _.data.items.some((e) => e.protocol === "magnet"));}, [_.data,o,@@ -61116,7 +61129,7 @@ function nje({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSour]);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(lA, {+ let n = await H(uA, {magnet: r.uri,provider: v.key,target: v.target,@@ -61127,7 +61140,7 @@ function nje({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSourif (!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: uA });+ d((e) => [...e, r.id]), i(e.outcome === "submitted" ? `已添加下载:${r.name}` : `已关联现有下载:${r.name}`), p.invalidateQueries({ queryKey: dA });});}, S = (e) => {f.run(`copy:${e.id}`, () => navigator.clipboard.writeText(e.uri), () => i("已复制链接"));@@ -61145,7 +61158,7 @@ function nje({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSour}), /* @__PURE__ */ (0, x.jsx)(G, {variant: "secondary",size: "small",- leadingIcon: XO,+ leadingIcon: ZO,...q(w),onClick: () => {w || (m.current = !0, _.refetch());@@ -61153,7 +61166,7 @@ function nje({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSourchildren: "重新查询"})]}),- w ? /* @__PURE__ */ (0, x.jsx)(Ok, { label: "正在查找资源链接…" }) : null,+ w ? /* @__PURE__ */ (0, x.jsx)(kk, { label: "正在查找资源链接…" }) : null,T ? /* @__PURE__ */ (0, x.jsx)(K, {tone: "error",title: "资源链接未取得",@@ -61161,13 +61174,13 @@ function nje({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSour}) : null,_.data?.warnings?.map((e) => /* @__PURE__ */ (0, x.jsx)(K, {tone: "neutral",- children: tje(e)+ children: nje(e)}, e)),- _.data?.warnings?.length && _.data.source_url ? /* @__PURE__ */ (0, x.jsx)(Tk, {+ _.data?.warnings?.length && _.data.source_url ? /* @__PURE__ */ (0, x.jsx)(Ek, {variant: "secondary",size: "small",className: "self-start",- trailingIcon: KO,+ trailingIcon: qO,href: _.data.source_url,target: "_blank",rel: "noopener noreferrer",@@ -61192,7 +61205,7 @@ function nje({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSourclassName: "flex min-w-0 flex-col gap-1",children: [/* @__PURE__ */ (0, x.jsxs)("div", {className: "flex min-w-0 flex-wrap items-center gap-2",- children: [/* @__PURE__ */ (0, x.jsx)(Ck, {+ children: [/* @__PURE__ */ (0, x.jsx)(wk, {variant: "caption",color: e.protocol === "magnet" ? "blue" : e.protocol === "ed2k" ? "purple" : "neutral",children: e.protocol === "magnet" ? "磁链" : e.protocol === "ed2k" ? "ED2K" : "网页链接"@@ -61211,9 +61224,9 @@ function nje({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSourchildren: e.source}),/* @__PURE__ */ (0, x.jsx)(hz, {- icon: qO,+ icon: JO,title: `来源大小:${e.size}`,- children: eje(e.size)+ children: tje(e.size)}),e.files ? /* @__PURE__ */ (0, x.jsx)(hz, {icon: the,@@ -61225,7 +61238,7 @@ function nje({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSourchildren: e.date ? e.date.slice(0, 10) : "日期未知"}),e.attributes.filter((e) => e !== "高清").map((e) => /* @__PURE__ */ (0, x.jsx)(hz, {- icon: YO,+ icon: XO,children: e}, e))]@@ -61237,7 +61250,7 @@ function nje({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSoure.protocol === "magnet" ? /* @__PURE__ */ (0, x.jsx)(G, {variant: "primary",size: "small",- leadingIcon: v ? sA[v.key] : Zme,+ leadingIcon: v ? cA[v.key] : Zme,title: v ? `下载到 ${v.label}` : void 0,disabled: t || !n?.available || !v || r,...q(f.busy === e.id),@@ -61252,11 +61265,11 @@ function nje({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSouronClick: () => S(e),children: "复制链接"}),- /* @__PURE__ */ (0, x.jsx)(Tk, {+ /* @__PURE__ */ (0, x.jsx)(Ek, {"data-button-link": "",variant: "secondary",size: "small",- trailingIcon: KO,+ trailingIcon: qO,href: e.source_url,target: "_blank",rel: "noopener noreferrer",@@ -61269,7 +61282,7 @@ function nje({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSourreturn /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)("ul", {className: "flex min-w-0 flex-col gap-4",children: e.slice(0, 3)- }), e.length > 3 ? /* @__PURE__ */ (0, x.jsx)(Jk, {+ }), e.length > 3 ? /* @__PURE__ */ (0, x.jsx)(Yk, {summary: `更多资源(${e.length - 3} 条)`,children: /* @__PURE__ */ (0, x.jsx)("ul", {className: "flex min-w-0 flex-col gap-4",@@ -61282,21 +61295,21 @@ function nje({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSour}//#endregion//#region src/react/wants/want-list.tsx-var rje = {+var ije = {code: "手动添加",feed: "订阅新作",follow: "关注"-}, ije = [+}, aje = [["all", "全部"],["available", "有磁链"],["missing", "没磁链"]-], aje = (e) => [+], oje = (e) => [e.release_date,e.studio,e.performers,- rje[e.origin]+ ije[e.origin]].filter(Boolean).join(" · ");-function oje({ want: e }) {+function sje({ want: e }) {return /* @__PURE__ */ (0, x.jsxs)("span", {className: "relative inline-grid w-card-cover shrink-0 aspect-card-cover place-items-center overflow-hidden rounded-2lg bg-background-tertiary-default max-sm:w-24",children: [/* @__PURE__ */ (0, x.jsx)("span", {@@ -61312,17 +61325,17 @@ function oje({ want: e }) {}) : null]});}-function sje({ want: e, readOnly: t, busy: n, onReset: r, onRemove: i, onCloudDownload: a, downloads: o, provider: s, toast: c }) {+function cje({ want: e, readOnly: t, busy: n, onReset: r, onRemove: i, onCloudDownload: a, downloads: o, provider: s, toast: c }) {let [l, u] = (0, b.useState)(""), d = e.link || l || (e.code ? `https://javdb.com/search?q=${encodeURIComponent(e.code)}&f=all` : "");return /* @__PURE__ */ (0, x.jsxs)("li", {"data-want-id": e.id,- className: Ek({+ className: Dk({bordered: "soft",className: "flex flex-col gap-4 max-sm:p-4"}),children: [/* @__PURE__ */ (0, x.jsxs)("div", {className: "flex min-w-0 items-start gap-4 max-sm:gap-3",- children: [/* @__PURE__ */ (0, x.jsx)(oje, { want: e }), /* @__PURE__ */ (0, x.jsxs)("div", {+ children: [/* @__PURE__ */ (0, x.jsx)(sje, { want: e }), /* @__PURE__ */ (0, x.jsxs)("div", {className: "flex min-w-0 flex-1 flex-col gap-1",children: [/* @__PURE__ */ (0, x.jsxs)("p", {@@ -61335,14 +61348,14 @@ function sje({ want: e, readOnly: t, busy: n, onReset: r, onRemove: i, onCloudDochildren: e.title}) : null]}),- aje(e) ? /* @__PURE__ */ (0, x.jsx)("p", {+ oje(e) ? /* @__PURE__ */ (0, x.jsx)("p", {className: "text-body-2-regular text-text-secondary",- children: aje(e)+ children: oje(e)}) : null,!e.code || e.phase === "unreleased" || e.phase === "acquired" ? /* @__PURE__ */ (0, x.jsx)("p", {"data-want-note": "",className: "text-caption-1-regular text-text-secondary",- children: WAe(e)+ children: GAe(e)}) : null,e.scrape_error ? /* @__PURE__ */ (0, x.jsx)(cR, {text: e.scrape_error,@@ -61369,17 +61382,17 @@ function sje({ want: e, readOnly: t, busy: n, onReset: r, onRemove: i, onCloudDo/* @__PURE__ */ (0, x.jsx)(G, {variant: "secondary",size: "small",- leadingIcon: GO,+ leadingIcon: KO,disabled: t,...q(n === `remove:${e.id}`),onClick: i,children: "移除"}),- d ? /* @__PURE__ */ (0, x.jsx)(Tk, {+ d ? /* @__PURE__ */ (0, x.jsx)(Ek, {"data-button-link": "",variant: "secondary",size: "small",- trailingIcon: KO,+ trailingIcon: qO,href: d,target: "_blank",rel: "noopener noreferrer",@@ -61389,7 +61402,7 @@ function sje({ want: e, readOnly: t, busy: n, onReset: r, onRemove: i, onCloudDo})]})]- }), e.code && (e.phase === "searching" || e.phase === "given_up") ? /* @__PURE__ */ (0, x.jsx)(nje, {+ }), e.code && (e.phase === "searching" || e.phase === "given_up") ? /* @__PURE__ */ (0, x.jsx)(rje, {want: e,readOnly: t,downloads: o,@@ -61399,8 +61412,8 @@ function sje({ want: e, readOnly: t, busy: n, onReset: r, onRemove: i, onCloudDo}) : null]});}-function cje({ phase: e, label: t, rows: n, row: r }) {- let [i, a] = (0, b.useState)(1), [o, s] = (0, b.useState)("all"), c = QAe(n), l = (e) => e.has_magnets ?? c.get(e.code || "") ?? !1, u = n.filter(l), d = e !== "searching" || o === "all" ? n : n.filter((e) => l(e) === (o === "available")), f = lr(d.length, 20, i);+function lje({ phase: e, label: t, rows: n, row: r }) {+ let [i, a] = (0, b.useState)(1), [o, s] = (0, b.useState)("all"), c = $Ae(n), l = (e) => e.has_magnets ?? c.get(e.code || "") ?? !1, u = n.filter(l), d = e !== "searching" || o === "all" ? n : n.filter((e) => l(e) === (o === "available")), f = lr(d.length, 20, i);return /* @__PURE__ */ (0, x.jsxs)("section", {"aria-label": t,"data-want-phase": e,@@ -61414,19 +61427,19 @@ function cje({ phase: e, label: t, rows: n, row: r }) {className: "text-body-2-regular tabular-nums text-text-secondary",children: n.length.toLocaleString()})]- }), e === "searching" ? /* @__PURE__ */ (0, x.jsx)(jN, {+ }), e === "searching" ? /* @__PURE__ */ (0, x.jsx)(MN, {name: "want-magnet-filter","aria-label": "待找磁链筛选",orientation: "horizontal",value: o,- className: MN,+ className: NN,onChange: (e) => {s(e), a(1);},- children: ije.map(([e, t]) => /* @__PURE__ */ (0, x.jsxs)(jM, {+ children: aje.map(([e, t]) => /* @__PURE__ */ (0, x.jsxs)(MM, {value: e,"aria-label": t,- className: NN,+ className: PN,children: [t, /* @__PURE__ */ (0, x.jsx)("span", {className: "text-caption-1-regular tabular-nums text-text-tertiary",children: (e === "all" ? n.length : e === "available" ? u.length : n.length - u.length).toLocaleString()@@ -61434,7 +61447,7 @@ function cje({ phase: e, label: t, rows: n, row: r }) {}, e))}) : null]}),- d.length ? null : /* @__PURE__ */ (0, x.jsx)(Dk, {+ d.length ? null : /* @__PURE__ */ (0, x.jsx)(Ok, {shell: "plain",icon: phe,title: "暂无符合条件的作品",@@ -61460,10 +61473,10 @@ function cje({ phase: e, label: t, rows: n, row: r }) {]});}-function lje({ readOnly: e, toast: t, query: n = "" }) {- let [r, i] = (0, b.useState)(""), [a, o] = (0, b.useState)(null), s = Mk(), c = dt({+function uje({ readOnly: e, toast: t, query: n = "" }) {+ let [r, i] = (0, b.useState)(""), [a, o] = (0, b.useState)(null), s = Nk(), c = dt({queryKey: sz,- queryFn: ({ signal: e }) => BAe(e),+ queryFn: ({ signal: e }) => VAe(e),staleTime: 3e4,refetchInterval: (e) => e.state.data?.scraping ? 3e3 : !1}), l = () => {@@ -61478,7 +61491,7 @@ function lje({ readOnly: e, toast: t, query: n = "" }) {t(`已移除:${dz(e)}`), uz();});}, f = (e) => {- s.run(`reset:${e.id}`, (t) => UAe([e.id], t), () => {+ s.run(`reset:${e.id}`, (t) => WAe([e.id], t), () => {t(`${dz(e)} 回到待找`), uz();});}, p = c.data, m = (p?.items || []).filter((e) => !n || [@@ -61486,8 +61499,8 @@ function lje({ readOnly: e, toast: t, query: n = "" }) {e.title,e.performers].join(" ").toLocaleLowerCase().includes(n.toLocaleLowerCase())), h = dt({- queryKey: uA,- queryFn: ({ signal: e }) => V(`${lA}?limit=100`, e),+ queryKey: dA,+ queryFn: ({ signal: e }) => V(`${uA}?limit=100`, e),enabled: m.some((e) => e.code && (e.phase === "searching" || e.phase === "given_up"))}), g = h.data?.providers.filter((e) => e.configured) || [], _ = g[0]?.key || "";return /* @__PURE__ */ (0, x.jsxs)("div", {@@ -61495,7 +61508,7 @@ function lje({ readOnly: e, toast: t, query: n = "" }) {className: "flex flex-col gap-8",children: [/* @__PURE__ */ (0, x.jsxs)("div", {- className: Ek({+ className: Dk({padding: "none",className: "flex flex-col gap-4 px-6 py-5 max-sm:px-4"}),@@ -61508,7 +61521,7 @@ function lje({ readOnly: e, toast: t, query: n = "" }) {className: "flex flex-wrap items-end gap-2",children: [/* @__PURE__ */ (0, x.jsx)("div", {className: "min-w-64 grow max-sm:min-w-0",- children: /* @__PURE__ */ (0, x.jsx)(pN, {+ children: /* @__PURE__ */ (0, x.jsx)(mN, {"aria-label": "番号",placeholder: "输入番号,例如 SSIS-950",value: r,@@ -61541,7 +61554,7 @@ function lje({ readOnly: e, toast: t, query: n = "" }) {"aria-label": "正在读取想要",dangerouslySetInnerHTML: { __html: nz("wants") }}) : null,- p?.scraping ? /* @__PURE__ */ (0, x.jsx)(Hk, {+ p?.scraping ? /* @__PURE__ */ (0, x.jsx)(Uk, {role: "status",children: "正在给刚加入的番号取资料与封面。"}) : null,@@ -61561,19 +61574,19 @@ function lje({ readOnly: e, toast: t, query: n = "" }) {tone: "neutral",children: "云下载只在账本写入端可用。"}) : null,- p && !m.length ? /* @__PURE__ */ (0, x.jsx)(Dk, {+ p && !m.length ? /* @__PURE__ */ (0, x.jsx)(Ok, {shell: "plain",icon: phe,title: n ? "没有符合条件的作品" : "还没有想要的作品",children: n ? "试试其他番号、女优或标题。" : "输入番号,添加想看的作品。"}) : null,- zAe.map(([n, r]) => {+ BAe.map(([n, r]) => {let i = m.filter((e) => e.phase === n);- return i.length ? /* @__PURE__ */ (0, x.jsx)(cje, {+ return i.length ? /* @__PURE__ */ (0, x.jsx)(lje, {phase: n,label: r,rows: i,- row: (n) => /* @__PURE__ */ (0, x.jsx)(sje, {+ row: (n) => /* @__PURE__ */ (0, x.jsx)(cje, {want: n,readOnly: e,busy: s.busy,@@ -61605,13 +61618,13 @@ function lje({ readOnly: e, toast: t, query: n = "" }) {}//#endregion//#region src/react/jav/jav.ts-var uje = (e, t = "taste", n = "desc") => [+var dje = (e, t = "taste", n = "desc") => ["jav-discoveries",e,t,n];-function dje(e, t, n = {}) {+function fje(e, t, n = {}) {let r = new URLSearchParams({scope: e,limit: "100",@@ -61620,29 +61633,29 @@ function dje(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 fje(e, t, n) {+function pje(e, t, n) {let r = ga({...e,is_jav: !0}, t, !1, n);return r.html || !e.cover_url ? r.html : ma(e, t).replace(/ src="[^"]*"/, ` src="${z(e.cover_url)}" referrerpolicy="no-referrer" data-jav-image="${e.id}" data-jav-cover="${z(e.cover_url)}" data-jav-thumb="" data-jav-image-layout="${t}"${t === "big" ? " data-panel-prior=\"1\"" : ""}`);}-async function pje(e, t) {+async function mje(e, t) {e === "wants" ? await U.ensureQueryData({queryKey: sz,- queryFn: () => BAe(t),+ queryFn: () => VAe(t),staleTime: 3e4,revalidateIfStale: !0}) : e === "discover" && await U.ensureQueryData({- queryKey: uje("external"),- queryFn: () => dje("external", t),+ queryKey: dje("external"),+ queryFn: () => fje("external", t),staleTime: 3e4,revalidateIfStale: !0});}//#endregion//#region src/react/jav/jav-header.tsx-function mje({ tab: e, navigate: t, find: n }) {+function hje({ tab: e, navigate: t, find: n }) {return /* @__PURE__ */ (0, x.jsxs)("div", {className: "flex w-full flex-col gap-4",children: [/* @__PURE__ */ (0, x.jsxs)("div", {@@ -61664,13 +61677,13 @@ function mje({ tab: e, navigate: t, find: n }) {value: e,label: "JAV 分区",className: "",- onChange: (e) => t(CAe(e))+ onChange: (e) => t(wAe(e))})]});}-function hje({ navigate: e, receipt: t }) {+function gje({ navigate: e, receipt: t }) {let [n, r] = (0, b.useState)(null);- return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(mje, {+ return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(hje, {tab: "library",navigate: e,find: () => r({})@@ -61682,23 +61695,23 @@ function hje({ navigate: e, receipt: t }) {}//#endregion//#region src/react/jav/jav-page.tsx-var gje = vN("search");+var _je = yN("search");function gz(e) {let t = new URLSearchParams(location.search);for (let [n, r] of Object.entries(e)) r ? t.set(n, r) : t.delete(n);- PO(location.pathname + (t.size ? `?${t}` : ""), {+ FO(location.pathname + (t.size ? `?${t}` : ""), {replace: !0,- state: NO.navigation.location.state+ state: PO.navigation.location.state});}-function _je({ tab: e, readOnly: t, navigate: n, receipt: r }) {+function vje({ tab: e, readOnly: t, navigate: n, receipt: r }) {let [i, a] = (0, b.useState)(null), [o, s] = (0, b.useState)(() => new URLSearchParams(location.search).get("q") || ""), c = (e) => {s(e), gz({ q: e });};return /* @__PURE__ */ (0, x.jsxs)("div", {className: "flex w-full flex-col gap-6",children: [- /* @__PURE__ */ (0, x.jsx)(mje, {+ /* @__PURE__ */ (0, x.jsx)(hje, {tab: e,navigate: n,find: () => a({})@@ -61708,24 +61721,24 @@ function _je({ tab: e, readOnly: t, navigate: n, receipt: r }) {onSubmit: (e) => {e.preventDefault();},- children: /* @__PURE__ */ (0, x.jsx)(pN, {+ children: /* @__PURE__ */ (0, x.jsx)(mN, {type: "search","aria-label": e === "discover" ? "筛选推荐" : "筛选想要",placeholder: "筛选番号、女优或标题",- leadingIcon: gje,+ leadingIcon: _je,value: o,onChange: c,enterKeyHint: "search"})}),- e === "discover" ? /* @__PURE__ */ (0, x.jsx)(vje, {+ e === "discover" ? /* @__PURE__ */ (0, x.jsx)(yje, {readOnly: t,receipt: r,resource: a,query: o.trim(),navigate: n,clearText: () => c("")- }) : /* @__PURE__ */ (0, x.jsx)(lje, {+ }) : /* @__PURE__ */ (0, x.jsx)(uje, {readOnly: t,toast: r,query: o.trim()@@ -61738,7 +61751,7 @@ function _je({ tab: e, readOnly: t, navigate: n, receipt: r }) {]});}-function vje({ readOnly: e, receipt: t, resource: n, query: r, navigate: i, clearText: a }) {+function yje({ readOnly: e, receipt: t, resource: n, query: r, navigate: i, clearText: a }) {let o = new URLSearchParams(location.search), [s, c] = (0, b.useState)(() => o.get("scope") === "library" ? "library" : "external"), [l, u] = (0, b.useState)(() => o.get("tag") || ""), [d, f] = (0, b.useState)(() => ez.some(([e]) => e === o.get("sort")) ? o.get("sort") : "taste"), [p, m] = (0, b.useState)(() => o.get("dir") === "asc"), h = (e) => {c(e), gz({ scope: e === "external" ? "" : e });}, g = (e) => {@@ -61752,19 +61765,19 @@ function vje({ readOnly: e, receipt: t, resource: n, query: r, navigate: i, clealet e = [...y.current?.querySelectorAll("[data-catalog-scroll],[data-catalog-tags],[data-filter-row=\"bottom\"]") || []].map((e) => Bo(e, { drag: !0 }));return () => e.forEach((e) => e.destroy());}, []);- let S = lw();+ let S = uw();(0, b.useSyncExternalStore)(S.subscribe, S.version, S.version);- let C = bw(), w = Tw(ww({+ let C = xw(), w = Ew(Tw({active: !0,home: !1,portrait: !1})), T = (0, b.useRef)({}), E = (0, b.useRef)(!1), D = (0, b.useRef)(!1), O = p ? "asc" : "desc", k = dt({- queryKey: uje(s, d, O),+ queryKey: dje(s, d, O),retry: !1,refetchOnWindowFocus: !1,queryFn: ({ signal: e }) => {let t = E.current, n = D.current;- return E.current = !1, D.current = !1, dje(s, e, {+ return E.current = !1, D.current = !1, fje(s, e, {sort: d,direction: O,jobId: t ? void 0 : T.current[s],@@ -61777,7 +61790,7 @@ function vje({ readOnly: e, receipt: t, resource: n, query: r, navigate: i, clea(0, b.useEffect)(() => {A?.job_id && (T.current[s] = A.job_id);}, [s, A?.job_id]);- let j = Mk(), M = Mk(), N = (e) => {+ let j = Nk(), M = Nk(), N = (e) => {M.run(e, async () => (D.current = e === "stop", E.current = e !== "stop", k.refetch({cancelRefetch: !0,throwOnError: !0@@ -61796,7 +61809,7 @@ function vje({ readOnly: e, receipt: t, resource: n, query: r, navigate: i, clea"aria-busy": te,className: "flex min-w-0 flex-col gap-4",children: [- /* @__PURE__ */ (0, x.jsx)(bA, {+ /* @__PURE__ */ (0, x.jsx)(xA, {label: "发现筛选与排序",topLabel: "发现范围与标签",attrs: {@@ -61811,7 +61824,7 @@ function vje({ readOnly: e, receipt: t, resource: n, query: r, navigate: i, clea"data-catalog-scroll": "",children: [/* @__PURE__ */ (0, x.jsxs)("div", {"data-catalog-views": "",- children: [[["external", "库外发现"], ["library", "馆藏探索"]].map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(xA, {+ children: [[["external", "库外发现"], ["library", "馆藏探索"]].map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(SA, {"data-entity-tag": e,"data-entity-press": "",pressed: s === e,@@ -61825,8 +61838,8 @@ function vje({ readOnly: e, receipt: t, resource: n, query: r, navigate: i, clea})]}), /* @__PURE__ */ (0, x.jsx)("div", {"data-catalog-tags": "",- dangerouslySetInnerHTML: te ? { __html: kAe() } : void 0,- children: te ? null : ee.map((e) => /* @__PURE__ */ (0, x.jsxs)(xA, {+ dangerouslySetInnerHTML: te ? { __html: AAe() } : void 0,+ children: te ? null : ee.map((e) => /* @__PURE__ */ (0, x.jsxs)(SA, {"data-catalog-tag": e,"data-entity-press": "",pressed: l === e,@@ -61847,7 +61860,7 @@ function vje({ readOnly: e, receipt: t, resource: n, query: r, navigate: i, cleaclassName: "relative inline-block h-3.5 w-37.5 rounded-md align-middle skeleton-sheen"}) : `${F.length} 部`}),- r || l ? /* @__PURE__ */ (0, x.jsx)(SA, {+ r || l ? /* @__PURE__ */ (0, x.jsx)(CA, {onPress: () => {g(""), a();},@@ -61867,13 +61880,13 @@ function vje({ readOnly: e, receipt: t, resource: n, query: r, navigate: i, cleaonClick: () => N(A?.status === "running" ? "stop" : "update"),dangerouslySetInnerHTML: { __html: M.busy ? ao("正在更新资料") : R(A?.status === "running" ? "x" : "refresh-cw") }}) : null,- /* @__PURE__ */ (0, x.jsx)(nP, {+ /* @__PURE__ */ (0, x.jsx)(rP, {label: "JAV 卡片版式",value: C,- options: hw,- onChange: Cue+ options: gw,+ onChange: Sue}),- /* @__PURE__ */ (0, x.jsx)(iP, {+ /* @__PURE__ */ (0, x.jsx)(aP, {sorts: ez.map(([e, t, n]) => ({key: e,label: t,@@ -61902,7 +61915,7 @@ function vje({ readOnly: e, receipt: t, resource: n, query: r, navigate: i, cleas === "external" && A?.status === "running" ? /* @__PURE__ */ (0, x.jsx)("div", {"data-jav-metadata": "",className: "min-w-0",- children: /* @__PURE__ */ (0, x.jsx)($I, {+ children: /* @__PURE__ */ (0, x.jsx)(eL, {embedded: !0,label: `正在读取作品资料 · ${A.completed} / ${A.total} 部`,value: A.completed,@@ -61923,11 +61936,11 @@ function vje({ readOnly: e, receipt: t, resource: n, query: r, navigate: i, cleatone: "error",children: M.error}) : null,- !te && !k.error && !F.length ? /* @__PURE__ */ (0, x.jsx)(Dk, {+ !te && !k.error && !F.length ? /* @__PURE__ */ (0, x.jsx)(Ok, {shell: "plain",- icon: UO,+ icon: WO,title: r || l ? "没有符合条件的推荐" : "暂无匹配口味的作品",- actions: /* @__PURE__ */ (0, x.jsx)(Tk, {+ actions: /* @__PURE__ */ (0, x.jsx)(Ek, {href: "/taste",variant: "secondary",children: "查看口味"@@ -61940,13 +61953,13 @@ function vje({ readOnly: e, receipt: t, resource: n, query: r, navigate: i, clea}) : null,/* @__PURE__ */ (0, x.jsx)("div", {"data-media-grid": "",- className: OAe,+ className: kAe,style: { "--card-ratio": w },children: F.map((r) => {- let a = r.performer_refs?.length ? r.performer_refs.map((e) => e.name).join("、") : r.performers, o = fje(r, C, S.value.javImage), s = EAe(r.taste_score ?? r.score), c = [+ let a = r.performer_refs?.length ? r.performer_refs.map((e) => e.name).join("、") : r.performers, o = pje(r, C, S.value.javImage), s = DAe(r.taste_score ?? r.score), c = [s.label,- `口味 ${TAe(r.taste_score ?? r.score)}`,- k.data?.ranking_method === "mmr" && r.ranking_score != null ? `排序 ${TAe(r.ranking_score)}` : "",+ `口味 ${EAe(r.taste_score ?? r.score)}`,+ k.data?.ranking_method === "mmr" && r.ranking_score != null ? `排序 ${EAe(r.ranking_score)}` : "",r.source_score == null ? "" : `来源评分 ${r.source_score.toFixed(1)} / 5`,...r.reasons || []].filter(Boolean).join(" · ");@@ -61966,12 +61979,12 @@ function vje({ readOnly: e, receipt: t, resource: n, query: r, navigate: i, clea"data-media-pic": "","data-jav-cover-box": "",className: "relative inline-grid place-items-center overflow-hidden rounded-2lg bg-background-tertiary-default",- children: o ? /* @__PURE__ */ (0, x.jsx)(uP, {+ children: o ? /* @__PURE__ */ (0, x.jsx)(dP, {artwork: {kind: "cover",html: o},- identity: fje(r, "small", S.value.javImage),+ identity: pje(r, "small", S.value.javImage),relayout: (e) => Gs(e, C)}) : /* @__PURE__ */ (0, x.jsx)("span", {"data-media-nopic": "",@@ -61980,7 +61993,7 @@ function vje({ readOnly: e, receipt: t, resource: n, query: r, navigate: i, clea}),/* @__PURE__ */ (0, x.jsxs)("div", {"data-media-meta": "",- children: [/* @__PURE__ */ (0, x.jsx)(SAe, { item: r }), /* @__PURE__ */ (0, x.jsxs)("div", {+ children: [/* @__PURE__ */ (0, x.jsx)(CAe, { item: r }), /* @__PURE__ */ (0, x.jsxs)("div", {"data-media-text": "",children: [/* @__PURE__ */ (0, x.jsxs)("h3", {@@ -62042,7 +62055,7 @@ function vje({ readOnly: e, receipt: t, resource: n, query: r, navigate: i, cleatitle: c,"aria-label": `推荐分 ${s.score},${s.label}`,className: "rounded-md outline-none focus-visible:ring-2 focus-visible:ring-border-focus-ring",- children: /* @__PURE__ */ (0, x.jsx)(Ck, {+ children: /* @__PURE__ */ (0, x.jsx)(wk, {color: s.color,children: s.label})@@ -62081,10 +62094,10 @@ function vje({ readOnly: e, receipt: t, resource: n, query: r, navigate: i, clea},children: r.asset_id ? "已入库" : r.wanted ? "已加入想要" : "想要"}),- r.link ? /* @__PURE__ */ (0, x.jsx)(Tk, {+ r.link ? /* @__PURE__ */ (0, x.jsx)(Ek, {"data-button-link": "",variant: "secondary",- trailingIcon: KO,+ trailingIcon: qO,href: r.link,target: "_blank",rel: "noopener noreferrer",@@ -62101,12 +62114,12 @@ function vje({ readOnly: e, receipt: t, resource: n, query: r, navigate: i, clea}//#endregion//#region src/react/library-processing/library-processing-notice.tsx-var _z = "flex min-h-10 flex-wrap items-center justify-center gap-x-4 gap-y-2 border-y px-6 py-2 max-sm:justify-start", yje = {+var _z = "flex min-h-10 flex-wrap items-center justify-center gap-x-4 gap-y-2 border-y px-6 py-2 max-sm:justify-start", bje = {gray: `${_z} border-separator-border bg-background-secondary-default text-text-secondary`,warning: `${_z} border-current/35 bg-status-yellow-background text-status-yellow-text`,error: `${_z} border-current/35 bg-background-tertiary-error text-text-error-primary`};-function bje({ value: e, max: t }) {+function xje({ value: e, max: t }) {let n = Math.max(0, Math.min(100, e / t * 100));return /* @__PURE__ */ (0, x.jsxs)("svg", {role: "progressbar",@@ -62134,16 +62147,16 @@ function bje({ value: e, max: t }) {})]});}-function xje(e) {- let { job: t } = eL(e), n = t.data, r = t.isError ? n ? oF : B(t.error) : "", i = n?.status ?? "idle", a = i === "failed", o = i === "running";+function Sje(e) {+ let { job: t } = tL(e), n = t.data, r = t.isError ? n ? sF : B(t.error) : "", i = n?.status ?? "idle", a = i === "failed", o = i === "running";if (!r && !o && !a) return null;- let s = a ? "error" : r || n?.stalled ? "warning" : "gray", c = n?.total || 0, l = Math.min(n?.checked || 0, c), u = r || (a ? "扫描与资料采集未完成" : cF(n) + (c ? ` · ${rA(l, c)}` : "")), d = s === "gray" ? she : Qme;+ let s = a ? "error" : r || n?.stalled ? "warning" : "gray", c = n?.total || 0, l = Math.min(n?.checked || 0, c), u = r || (a ? "扫描与资料采集未完成" : lF(n) + (c ? ` · ${iA(l, c)}` : "")), d = s === "gray" ? she : Qme;return /* @__PURE__ */ (0, x.jsxs)("aside", {role: a ? "alert" : "status",- className: yje[s],+ className: bje[s],children: [/* @__PURE__ */ (0, x.jsxs)("div", {className: "flex min-w-0 items-center gap-3",- children: [o && c ? /* @__PURE__ */ (0, x.jsx)(bje, {+ children: [o && c ? /* @__PURE__ */ (0, x.jsx)(xje, {value: l,max: c}) : /* @__PURE__ */ (0, x.jsx)(d, {@@ -62153,40 +62166,40 @@ function xje(e) {className: "min-w-0 text-body-2-regular",children: u})]- }), /* @__PURE__ */ (0, x.jsx)(Lk, {+ }), /* @__PURE__ */ (0, x.jsx)(Rk, {href: "/data-cleanup#libraryProcessing",size: "small",- trailingIcon: BO,+ trailingIcon: VO,children: r || a ? "查看并处理" : "查看进度"})]});}//#endregion//#region src/react/playlists/playlists.ts-var Sje = "/api/playlists", vz = "/api/playlist", yz = ["playlists"], Cje = (e) => V(Sje, e);-async function wje(e) {+var Cje = "/api/playlists", vz = "/api/playlist", yz = ["playlists"], wje = (e) => V(Cje, e);+async function Tje(e) {await U.fetchQuery({queryKey: yz,- queryFn: () => Cje(e),+ queryFn: () => wje(e),staleTime: 0});}var bz = () => U.invalidateQueries({queryKey: yz,exact: !0-}), Tje = (e) => e.current_asset_id || e.preview_asset_id || null, Eje = (e) => `/poster?id=${e}&c=4`, Dje = (e) => H(vz, {+}), Eje = (e) => e.current_asset_id || e.preview_asset_id || null, Dje = (e) => `/poster?id=${e}&c=4`, Oje = (e) => H(vz, {action: "create",name: e,asset_ids: []-}), Oje = (e, t) => H(vz, {+}), kje = (e, t) => H(vz, {action: "rename",id: e,name: t-}), kje = (e) => H(vz, {+}), Aje = (e) => H(vz, {action: "delete",id: e-}), Aje = (e) => V(`${vz}?id=${e}`).catch(() => null);-function jje(e) {+}), jje = (e) => V(`${vz}?id=${e}`).catch(() => null);+function Mje(e) {let t = (e.items || []).map((e) => e.id), n = e.source_seed_asset_id;return H(vz, {action: "create",@@ -62198,18 +62211,18 @@ function jje(e) {}//#endregion//#region src/react/playlists/playlists-page.tsx-var Mje = vN("ellipsis"), Nje = vN("pencil"), Pje = vN("trash"), Fje = vN("playlist"), Ije = bk(OI, kI, "text-body-2-medium"), Lje = "播放列表名称不能为空", xz = (e) => async () => {+var Nje = yN("ellipsis"), Pje = yN("pencil"), Fje = yN("trash"), Ije = yN("playlist"), Lje = xk(kI, AI, "text-body-2-medium"), Rje = "播放列表名称不能为空", xz = (e) => async () => {try {await e();} finally {bz();}};-function Rje({ toast: e }) {+function zje({ toast: e }) {let [t, n] = (0, b.useState)(""), [r, i] = (0, b.useState)(""), a = ft({- mutationFn: (e) => Dje(e),+ mutationFn: (e) => Oje(e),onSuccess: (t) => {- n(""), i(""), bz(), e("已新建播放列表", { undo: xz(() => kje(t.playlist.id)) });+ n(""), i(""), bz(), e("已新建播放列表", { undo: xz(() => Aje(t.playlist.id)) });},onError: (e) => i(B(e) || "新建失败")});@@ -62217,12 +62230,12 @@ function Rje({ toast: e }) {"data-playlist-create": "","aria-label": "新建播放列表",onSubmit: (e) => {- e.preventDefault(), !a.isPending && (t.trim() ? a.mutate(t) : i(Lje));+ e.preventDefault(), !a.isPending && (t.trim() ? a.mutate(t) : i(Rje));},className: "flex flex-wrap items-end gap-2",children: [/* @__PURE__ */ (0, x.jsx)("div", {className: "min-w-50 max-w-80 flex-1 basis-50 max-board-narrow:min-w-0 max-board-narrow:max-w-none",- children: /* @__PURE__ */ (0, x.jsx)(pN, {+ children: /* @__PURE__ */ (0, x.jsx)(mN, {label: "新播放列表",placeholder: "输入名称",maxLength: 80,@@ -62241,7 +62254,7 @@ function Rje({ toast: e }) {})]});}-function zje({ target: e, close: t, toast: n }) {+function Bje({ target: e, close: t, toast: n }) {let [r, i] = (0, b.useState)(""), [a, o] = (0, b.useState)(""), s = (0, b.useRef)(null);(0, b.useEffect)(() => {if (!e) return;@@ -62252,13 +62265,13 @@ function zje({ target: e, close: t, toast: n }) {return () => cancelAnimationFrame(t);}, [e]);let c = ft({- mutationFn: ({ row: e, value: t }) => Oje(e.id, t),+ mutationFn: ({ row: e, value: t }) => kje(e.id, t),onSuccess: (e, { row: r }) => {- t(), bz(), n("已重命名播放列表", { undo: xz(() => Oje(r.id, r.name)) });+ t(), bz(), n("已重命名播放列表", { undo: xz(() => kje(r.id, r.name)) });},onError: (e) => o(B(e))});- return /* @__PURE__ */ (0, x.jsx)(hN, {+ return /* @__PURE__ */ (0, x.jsx)(gN, {isOpen: !!e,onOpenChange: (e) => {e || t();@@ -62272,16 +62285,16 @@ function zje({ target: e, close: t, toast: n }) {n ? c.mutate({row: e,value: n- }) : o(Lje);+ }) : o(Rje);},className: "flex min-h-0 flex-col",children: [/* @__PURE__ */ (0, x.jsxs)("div", {className: "flex flex-col gap-4 p-5",- children: [/* @__PURE__ */ (0, x.jsx)(KA, {+ children: [/* @__PURE__ */ (0, x.jsx)(qA, {slot: "title",className: "text-title-2-semibold text-text-primary",children: "编辑名称"- }), /* @__PURE__ */ (0, x.jsx)(pN, {+ }), /* @__PURE__ */ (0, x.jsx)(mN, {ref: s,label: "名称",placeholder: "输入名称",@@ -62309,7 +62322,7 @@ function zje({ target: e, close: t, toast: n }) {})});}-function Bje({ name: e, onRename: t, onDelete: n }) {+function Vje({ name: e, onRename: t, onDelete: n }) {let r = (0, b.useRef)(null), [i, a] = (0, b.useState)(!1), o = (e) => {a(!1), e();};@@ -62323,33 +62336,33 @@ function Bje({ name: e, onRename: t, onDelete: n }) {"data-playlist-menu": "",onClick: () => a(!0),className: "flex size-7.5 flex-none cursor-pointer items-center justify-center rounded-2lg text-foreground-icon-secondary outline-none transition-colors hover:bg-background-primary-hover hover:text-foreground-icon-primary aria-expanded:bg-background-primary-hover aria-expanded:text-foreground-icon-primary focus-visible:ring-2 focus-visible:ring-border-focus-ring",- children: /* @__PURE__ */ (0, x.jsx)(Mje, {+ children: /* @__PURE__ */ (0, x.jsx)(Nje, {"aria-hidden": !0,className: "size-4.5"})- }), /* @__PURE__ */ (0, x.jsx)(dM, {+ }), /* @__PURE__ */ (0, x.jsx)(fM, {triggerRef: r,isOpen: i,onOpenChange: a,placement: "bottom end",offset: 4,- className: DI,- children: /* @__PURE__ */ (0, x.jsxs)(EI, {+ className: OI,+ children: /* @__PURE__ */ (0, x.jsxs)(DI, {"aria-label": `播放列表操作:${e}`,className: "flex w-37.5 flex-col gap-0.5 outline-none",children: [/* @__PURE__ */ (0, x.jsxs)("button", {type: "button",- className: Ije,+ className: Lje,onClick: () => o(t),- children: [/* @__PURE__ */ (0, x.jsx)(Nje, {+ children: [/* @__PURE__ */ (0, x.jsx)(Pje, {"aria-hidden": !0,className: "size-4 shrink-0"}), "编辑名称"]}), /* @__PURE__ */ (0, x.jsxs)("button", {type: "button",- className: Ije,+ className: Lje,onClick: () => o(n),- children: [/* @__PURE__ */ (0, x.jsx)(Pje, {+ children: [/* @__PURE__ */ (0, x.jsx)(Fje, {"aria-hidden": !0,className: "size-4 shrink-0"}), "删除播放列表"]@@ -62357,10 +62370,10 @@ function Bje({ name: e, onRename: t, onDelete: n }) {})})] });}-function Vje({ openPlaylist: e, openEntity: t, canFlip: n, toast: r, revision: i }) {+function Hje({ openPlaylist: e, openEntity: t, canFlip: n, toast: r, revision: i }) {let a = dt({queryKey: yz,- queryFn: ({ signal: e }) => Cje(e)+ queryFn: ({ signal: e }) => wje(e)}), [o, s] = (0, b.useState)(null), c = (0, b.useRef)(i);(0, b.useEffect)(() => {c.current !== i && (c.current = i, bz());@@ -62372,8 +62385,8 @@ function Vje({ openPlaylist: e, openEntity: t, canFlip: n, toast: r, revision: iconfirmLabel: "删除播放列表",danger: !0,onConfirm: async () => {- let t = await Aje(e.id);- await kje(e.id), bz(), r("已删除播放列表", t ? { undo: xz(() => jje(t)) } : void 0);+ let t = await jje(e.id);+ await Aje(e.id), bz(), r("已删除播放列表", t ? { undo: xz(() => Mje(t)) } : void 0);}});};@@ -62388,7 +62401,7 @@ function Vje({ openPlaylist: e, openEntity: t, canFlip: n, toast: r, revision: i}), /* @__PURE__ */ (0, x.jsx)("p", {className: "text-body-2-regular text-text-secondary",children: "保存 Mix,按自己的顺序继续播放。"- })] }), /* @__PURE__ */ (0, x.jsx)(Rje, { toast: r })]+ })] }), /* @__PURE__ */ (0, x.jsx)(zje, { toast: r })]}),/* @__PURE__ */ (0, x.jsx)("div", {className: "mx-auto w-full max-w-board",@@ -62396,36 +62409,36 @@ function Vje({ openPlaylist: e, openEntity: t, canFlip: n, toast: r, revision: i"data-playlist-grid": "",className: "card-grid-cover gap-4.5",children: u.map((r) => {- let i = Tje(r), a = r.name.trim() || "未命名播放列表";- return /* @__PURE__ */ (0, x.jsx)(CP, {+ let i = Eje(r), a = r.name.trim() || "未命名播放列表";+ return /* @__PURE__ */ (0, x.jsx)(wP, {"data-playlist-card": String(r.id),name: a,caption: r.source_kind === "mix" ? "由 Mix 保存" : "手动播放列表",count: r.item_count,- poster: r.preview_asset_id ? Eje(r.preview_asset_id) : null,- flipImages: async () => (r.preview_ids || []).map(Eje),+ poster: r.preview_asset_id ? Dje(r.preview_asset_id) : null,+ flipImages: async () => (r.preview_ids || []).map(Dje),canFlip: n,faces: r.faces || [],onOpenEntity: t,...i ? { onOpen: () => e(r.id, i) } : {},openLabel: `打开播放列表 ${a}`,- menu: /* @__PURE__ */ (0, x.jsx)(Bje, {+ menu: /* @__PURE__ */ (0, x.jsx)(Vje, {name: a,onRename: () => s(r),onDelete: () => d(r)})}, r.id);})- }) : /* @__PURE__ */ (0, x.jsx)(Dk, {- icon: Fje,+ }) : /* @__PURE__ */ (0, x.jsx)(Ok, {+ icon: Ije,title: "还没有播放列表",children: "保存 Mix 或新建列表后,会在这里按自己的顺序继续播放。"- }) : a.isError ? /* @__PURE__ */ (0, x.jsx)(lP, {+ }) : a.isError ? /* @__PURE__ */ (0, x.jsx)(uP, {message: B(a.error) || "播放列表读取失败",onRetry: () => void a.refetch()}) : null}),- /* @__PURE__ */ (0, x.jsx)(zje, {+ /* @__PURE__ */ (0, x.jsx)(Bje, {target: o,close: () => s(null),toast: r@@ -62435,11 +62448,11 @@ function Vje({ openPlaylist: e, openEntity: t, canFlip: n, toast: r, revision: i}//#endregion//#region src/react/quality-goals/quality-goals-page.tsx-function Hje({ item: e, openItem: t, searchResources: n, javTitleHtml: r, javDisplayName: i, srcBadge: a }) {+function Uje({ item: e, openItem: t, searchResources: n, javTitleHtml: r, javDisplayName: i, srcBadge: a }) {let o = () => t(e.id);return /* @__PURE__ */ (0, x.jsxs)("li", {"data-goal-id": e.id,- className: Ek({+ className: Dk({padding: "none",bordered: "soft",className: "flex flex-col gap-3 p-3"@@ -62455,7 +62468,7 @@ function Hje({ item: e, openItem: t, searchResources: n, javTitleHtml: r, javDisclassName: "text-caption-1-regular text-text-secondary",children: "暂无预览"}), /* @__PURE__ */ (0, x.jsx)("img", {- src: vF(e),+ src: yF(e),alt: "",loading: "lazy",onError: (e) => e.currentTarget.remove(),@@ -62503,7 +62516,7 @@ function Hje({ item: e, openItem: t, searchResources: n, javTitleHtml: r, javDisorigin: `asset:${e.id}`,searchReason: e.reason || "",duration: e.duration,- cover: vF(e)+ cover: yF(e)}),children: "查找资源"}) : null, /* @__PURE__ */ (0, x.jsx)(G, {@@ -62515,18 +62528,18 @@ function Hje({ item: e, openItem: t, searchResources: n, javTitleHtml: r, javDis})]});}-function Uje({ toast: e, ...t }) {+function Wje({ toast: e, ...t }) {let [n, r] = (0, b.useState)(null), i = dt({- queryKey: gF,- queryFn: ({ signal: e }) => _F(e)+ queryKey: _F,+ queryFn: ({ signal: e }) => vF(e)}), a = i.data;- if (!a) return /* @__PURE__ */ (0, x.jsx)(kk, { children: /* @__PURE__ */ (0, x.jsx)(K, {+ if (!a) return /* @__PURE__ */ (0, x.jsx)(Ak, { children: /* @__PURE__ */ (0, x.jsx)(K, {tone: "error",title: "高清版目标读取失败",children: i.error ? B(i.error) : "未取得高清版目标,请刷新页面重试。"}) });let o = a.items || [];- return o.length ? /* @__PURE__ */ (0, x.jsxs)(kk, { children: [+ return o.length ? /* @__PURE__ */ (0, x.jsxs)(Ak, { children: [/* @__PURE__ */ (0, x.jsx)(nR, {label: "待升级",figure: `${Number(a.total || 0).toLocaleString()} 部作品`,@@ -62534,7 +62547,7 @@ function Uje({ toast: e, ...t }) {}),/* @__PURE__ */ (0, x.jsx)("ul", {className: "card-grid-cover gap-5",- children: o.map((e) => /* @__PURE__ */ (0, x.jsx)(Hje, {+ children: o.map((e) => /* @__PURE__ */ (0, x.jsx)(Uje, {item: e,...t,searchResources: r@@ -62549,7 +62562,7 @@ function Uje({ toast: e, ...t }) {close: () => r(null),receipt: e})- ] }) : /* @__PURE__ */ (0, x.jsx)(kk, { children: /* @__PURE__ */ (0, x.jsx)(Dk, {+ ] }) : /* @__PURE__ */ (0, x.jsx)(Ak, { children: /* @__PURE__ */ (0, x.jsx)(Ok, {shell: "plain",icon: bhe,title: "没有标记中的高清版目标",@@ -62558,7 +62571,7 @@ function Uje({ toast: e, ...t }) {}//#endregion//#region src/react/review/bulk-toolbar.tsx-function Wje(e) {+function Gje(e) {let { groupOptions: t, groupBy: n, onGroupBy: r, groups: i, filter: a, onFilter: o, pageKeys: s, selected: c, onSelected: l, selectedRows: u, metadata: d, approvable: f, busy: p, feedback: m, onUnifySource: h, onRun: g } = e, _ = s.filter((e) => c.has(e)), v = _.length > 0 && _.length === s.length, y = pxe(u), b = d && u.some((e) => (e.candidates?.length || 0) > 1), S = y.length ? "统一选择来源" : "所选项目无共同来源";return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsxs)("div", {role: "group",@@ -62608,7 +62621,7 @@ function Wje(e) {children: v ? "清空当前选择" : a ? "全选当前分类" : "全选本页"})]- }), /* @__PURE__ */ (0, x.jsxs)(kC, {+ }), /* @__PURE__ */ (0, x.jsxs)(AC, {label: "复核所选项目",visible: c.size > 0,count: `已选 ${c.size} 项`,@@ -62660,7 +62673,7 @@ function Wje(e) {}//#endregion//#region src/react/review/candidate-form.tsx-var Gje = {+var Kje = {title: "标题",original_title: "原标题",runtime: "来源时长",@@ -62670,14 +62683,14 @@ var Gje = {cover_url: "封面",screenshot_urls: "截图",trailer_url: "预告片"-}, Kje = "reviewgenretags";-function qje({ tags: e }) {+}, qje = "reviewgenretags";+function Jje({ tags: e }) {return e.length ? /* @__PURE__ */ (0, x.jsx)("datalist", {- id: Kje,+ id: qje,children: e.map((e) => /* @__PURE__ */ (0, x.jsx)("option", { value: e }, e))}) : null;}-function Jje({ candidate: e, selectable: t = !1 }) {+function Yje({ candidate: e, selectable: t = !1 }) {let n = Object.entries(e.catalog_evidence || {}).filter(([, e]) => e && e.display_value), r = e.content_id || e.provider_id;return /* @__PURE__ */ (0, x.jsxs)("span", {className: "flex min-w-0 flex-1 flex-col",@@ -62714,7 +62727,7 @@ function Jje({ candidate: e, selectable: t = !1 }) {children: [/* @__PURE__ */ (0, x.jsx)("dt", {className: "text-body-2-regular text-text-secondary",- children: Gje[e] || e+ children: Kje[e] || e}),/* @__PURE__ */ (0, x.jsx)("dd", {className: "min-w-0 text-body-2-regular break-words text-text-primary",@@ -62729,28 +62742,28 @@ function Jje({ candidate: e, selectable: t = !1 }) {}) : null]});}-function Yje({ row: e, fieldName: t, value: n, onChange: r, locked: i }) {+function Xje({ row: e, fieldName: t, value: n, onChange: r, locked: i }) {let a = e.candidates || [];return a.length ? a.length === 1 ? /* @__PURE__ */ (0, x.jsx)("div", {className: "flex overflow-hidden rounded-surface border border-separator-border bg-background-secondary-default",- children: /* @__PURE__ */ (0, x.jsx)(Jje, { candidate: a[0] })- }) : /* @__PURE__ */ (0, x.jsx)(AM, {+ children: /* @__PURE__ */ (0, x.jsx)(Yje, { candidate: a[0] })+ }) : /* @__PURE__ */ (0, x.jsx)(jM, {"aria-label": `${t || "候选"}的来源`,value: n,isDisabled: i,onChange: r,className: "flex flex-col gap-2",- children: a.map((e) => /* @__PURE__ */ (0, x.jsx)(jM, {+ children: a.map((e) => /* @__PURE__ */ (0, x.jsx)(MM, {value: e.candidate_key,className: "group flex cursor-pointer items-center gap-2 overflow-hidden rounded-surface border border-separator-border bg-background-secondary-default outline-none focus-visible:ring-2 focus-visible:ring-border-focus-ring data-selected:border-border-button-active data-disabled:cursor-not-allowed",- children: /* @__PURE__ */ (0, x.jsx)(Jje, {+ children: /* @__PURE__ */ (0, x.jsx)(Yje, {candidate: e,selectable: !0})}, e.candidate_key))}) : null;}-function Xje({ genre: e, tags: t, locked: n, toast: r }) {+function Zje({ genre: e, tags: t, locked: n, toast: r }) {let [i, a] = (0, b.useState)(""), [o, s] = (0, b.useState)(""), c = ft({mutationFn: (t) => xxe(e, t),onSuccess: async (t, n) => {@@ -62769,16 +62782,16 @@ function Xje({ genre: e, tags: t, locked: n, toast: r }) {className: "text-body-medium text-text-primary",children: e}),- /* @__PURE__ */ (0, x.jsx)(uN, {+ /* @__PURE__ */ (0, x.jsx)(dN, {"aria-label": `「${e}」收录成的中文标签`,value: i,onChange: a,maxLength: 40,isDisabled: n || c.isPending,className: "min-w-40 flex-1",- children: /* @__PURE__ */ (0, x.jsx)(fN, {+ children: /* @__PURE__ */ (0, x.jsx)(pN, {size: "small",- list: t.length ? Kje : void 0,+ list: t.length ? qje : void 0,autoComplete: "off",placeholder: "中文标签",onKeyDown: (e) => {@@ -62810,7 +62823,7 @@ function Xje({ genre: e, tags: t, locked: n, toast: r }) {]});}-function Zje({ row: e, tags: t, locked: n, toast: r }) {+function Qje({ row: e, tags: t, locked: n, toast: r }) {let i = vxe(e);return i.length ? /* @__PURE__ */ (0, x.jsxs)("div", {role: "group",@@ -62819,7 +62832,7 @@ function Zje({ row: e, tags: t, locked: n, toast: r }) {children: [/* @__PURE__ */ (0, x.jsx)("h5", {className: "text-body-2-medium text-text-secondary",children: `未收录 genre · ${i.length}`- }), i.map((e) => /* @__PURE__ */ (0, x.jsx)(Xje, {+ }), i.map((e) => /* @__PURE__ */ (0, x.jsx)(Zje, {genre: e,tags: t,locked: n,@@ -62829,12 +62842,12 @@ function Zje({ row: e, tags: t, locked: n, toast: r }) {}//#endregion//#region src/react/review/review-evidence.tsx-var Qje = (e = "") => /^https?:\/\//i.test(e) ? e : "", $je = (e = "") => Qje(e) || (e.startsWith("/") && !e.startsWith("//") ? e : "");-function eMe({ url: e }) {- let t = $je(e || "");- return /* @__PURE__ */ (0, x.jsx)(tMe, { source: t }, t);+var $je = (e = "") => /^https?:\/\//i.test(e) ? e : "", eMe = (e = "") => $je(e) || (e.startsWith("/") && !e.startsWith("//") ? e : "");+function tMe({ url: e }) {+ let t = eMe(e || "");+ return /* @__PURE__ */ (0, x.jsx)(nMe, { source: t }, t);}-function tMe({ source: e }) {+function nMe({ source: e }) {let [t, n] = (0, b.useState)("idle");return (0, b.useEffect)(() => {if (t !== "loading") return;@@ -62871,7 +62884,7 @@ function tMe({ source: e }) {})]});}-function nMe({ asset: e, openItem: t }) {+function rMe({ asset: e, openItem: t }) {let n = e.name || "";return /* @__PURE__ */ (0, x.jsxs)("div", {className: "flex min-w-0 items-center gap-2.5 rounded-surface bg-background-secondary-default p-2",@@ -62904,7 +62917,7 @@ function nMe({ asset: e, openItem: t }) {})]});}-function rMe({ kind: e, name: t, works: n, avatar: r, openEntity: i }) {+function iMe({ kind: e, name: t, works: n, avatar: r, openEntity: i }) {return /* @__PURE__ */ (0, x.jsxs)("div", {className: "flex min-w-0 items-center gap-3",children: [/* @__PURE__ */ (0, x.jsx)("button", {@@ -62927,8 +62940,8 @@ function rMe({ kind: e, name: t, works: n, avatar: r, openEntity: i }) {})]});}-function iMe({ row: e, openItem: t, openEntity: n, onReveal: r, revealing: i, note: a }) {- let o = Qje(e.profile_url || ""), s = (e.preview_assets || []).slice(0, 6), c = Math.max(0, Number(e.video_count || e.videos || 0));+function aMe({ row: e, openItem: t, openEntity: n, onReveal: r, revealing: i, note: a }) {+ let o = $je(e.profile_url || ""), s = (e.preview_assets || []).slice(0, 6), c = Math.max(0, Number(e.video_count || e.videos || 0));return /* @__PURE__ */ (0, x.jsxs)("section", {className: "flex flex-col gap-3",children: [@@ -62938,10 +62951,10 @@ function iMe({ row: e, openItem: t, openEntity: n, onReveal: r, revealing: i, no}),/* @__PURE__ */ (0, x.jsxs)("div", {className: "flex flex-wrap items-center gap-2",- children: [o ? /* @__PURE__ */ (0, x.jsx)(Tk, {+ children: [o ? /* @__PURE__ */ (0, x.jsx)(Ek, {variant: "secondary",size: "small",- trailingIcon: KO,+ trailingIcon: qO,href: o,target: "_blank",rel: "noopener noreferrer",@@ -62953,7 +62966,7 @@ function iMe({ row: e, openItem: t, openEntity: n, onReveal: r, revealing: i, nochildren: `查看全部 ${c.toLocaleString()} 部作品`})]}),- /* @__PURE__ */ (0, x.jsx)(eMe, { url: e.preview_url }),+ /* @__PURE__ */ (0, x.jsx)(tMe, { url: e.preview_url }),/* @__PURE__ */ (0, x.jsx)("p", {className: "text-body-2-regular text-text-secondary",children: "通过后记录身份判断。"@@ -62996,7 +63009,7 @@ function iMe({ row: e, openItem: t, openEntity: n, onReveal: r, revealing: i, no]});}-function aMe({ assets: e, picked: t, onPicked: n, locked: r }) {+function oMe({ assets: e, picked: t, onPicked: n, locked: r }) {let [i, a] = (0, b.useState)(null), o = new Set(t), s = (t, s) => {if (r) return;let c = new Set(o);@@ -63052,7 +63065,7 @@ function aMe({ assets: e, picked: t, onPicked: n, locked: r }) {}),/* @__PURE__ */ (0, x.jsx)("span", {className: "absolute top-1 right-1",- children: /* @__PURE__ */ (0, x.jsx)(nCe, {+ children: /* @__PURE__ */ (0, x.jsx)(rCe, {size: "sm",state: {isSelected: n,@@ -63072,22 +63085,22 @@ function aMe({ assets: e, picked: t, onPicked: n, locked: r }) {}//#endregion//#region src/react/review/review-card.tsx-var oMe = Ek({+var sMe = Dk({variant: "outlined",padding: "none",className: "flex flex-col gap-4 px-5 pt-4"-}), Sz = "flex min-h-6 min-w-0 items-center", Cz = 2, sMe = (e) => e === "western_identity" ? "h-review-card-tall" : "h-review-card";-function cMe(e) {- let { category: t, row: n, choice: r, onChoice: i, selected: a, onSelect: o, locked: s, busy: c, problem: l, genreTags: u, onDecide: d, handlers: f } = e, p = (0, b.useRef)(!1), m = YI(), h = YI(), g = t === "metadata_fields", _ = lxe[t] || "", v = String(n.creator || "").trim(), y = !!_ && !!v, S = hxe(t, n), C = EF(t, n), w = TF(t, n), T = gxe(n), E = _xe(n), D = wF(t, n), O = n.comparison_assets || [], k = n.preview_assets || [], A = String(n.decision || "pending") !== "pending", j = O.length > 1 ? /* @__PURE__ */ (0, x.jsxs)("div", {+}), Sz = "flex min-h-6 min-w-0 items-center", Cz = 2, cMe = (e) => e === "western_identity" ? "h-review-card-tall" : "h-review-card";+function lMe(e) {+ let { category: t, row: n, choice: r, onChoice: i, selected: a, onSelect: o, locked: s, busy: c, problem: l, genreTags: u, onDecide: d, handlers: f } = e, p = (0, b.useRef)(!1), m = XI(), h = XI(), g = t === "metadata_fields", _ = lxe[t] || "", v = String(n.creator || "").trim(), y = !!_ && !!v, S = hxe(t, n), C = DF(t, n), w = EF(t, n), T = gxe(n), E = _xe(n), D = TF(t, n), O = n.comparison_assets || [], k = n.preview_assets || [], A = String(n.decision || "pending") !== "pending", j = O.length > 1 ? /* @__PURE__ */ (0, x.jsxs)("div", {className: "flex flex-col gap-3",- children: [O.slice(0, Cz).map((e) => /* @__PURE__ */ (0, x.jsx)(nMe, {+ children: [O.slice(0, Cz).map((e) => /* @__PURE__ */ (0, x.jsx)(rMe, {asset: e,openItem: f.openItem}, e.id)), O.length > Cz ? /* @__PURE__ */ (0, x.jsx)("p", {className: "text-body-2-regular text-text-secondary",children: `另有 ${(O.length - Cz).toLocaleString()} 部对照作品`}) : null]- }) : y ? /* @__PURE__ */ (0, x.jsx)(rMe, {+ }) : y ? /* @__PURE__ */ (0, x.jsx)(iMe, {kind: _,name: v,works: Number(n.video_count || n.videos || 0),@@ -63098,14 +63111,14 @@ function cMe(e) {image_version: n.image_version,avatar_focus: n.avatar_focus} : null, null, _)- }) : n.asset_id ? /* @__PURE__ */ (0, x.jsx)(nMe, {+ }) : n.asset_id ? /* @__PURE__ */ (0, x.jsx)(rMe, {openItem: f.openItem,asset: {id: n.asset_id,name: n.asset_name,preview_url: n.asset_preview_url}- }) : null, M = g ? /* @__PURE__ */ (0, x.jsx)(Yje, {+ }) : null, M = g ? /* @__PURE__ */ (0, x.jsx)(Xje, {row: n,fieldName: C,value: r.candidateKey,@@ -63114,7 +63127,7 @@ function cMe(e) {candidateKey: e}),locked: s- }) : t === "creator_tags" ? k.length ? /* @__PURE__ */ (0, x.jsx)(aMe, {+ }) : t === "creator_tags" ? k.length ? /* @__PURE__ */ (0, x.jsx)(oMe, {assets: k,picked: r.assets,locked: s,@@ -63122,24 +63135,24 @@ function cMe(e) {...r,assets: e})- }) : /* @__PURE__ */ (0, x.jsx)(Dk, {+ }) : /* @__PURE__ */ (0, x.jsx)(Ok, {shell: "inset",icon: ahe,title: "这批作品尚未抽帧",children: `${n.video_count || ""} 条作品还没有可用预览;批准后仍会按候选写入标签。`- }) : t === "fc2_similarity" ? null : t === "western_identity" ? /* @__PURE__ */ (0, x.jsx)(iMe, {+ }) : t === "fc2_similarity" ? null : t === "western_identity" ? /* @__PURE__ */ (0, x.jsx)(aMe, {row: n,openItem: f.openItem,openEntity: f.openEntity,onReveal: f.onReveal,revealing: f.revealing,note: f.revealNote- }) : /* @__PURE__ */ (0, x.jsx)(eMe, { url: n.preview_url }), N = y ? j : C ? /* @__PURE__ */ (0, x.jsxs)("h4", {+ }) : /* @__PURE__ */ (0, x.jsx)(tMe, { url: n.preview_url }), N = y ? j : C ? /* @__PURE__ */ (0, x.jsxs)("h4", {className: `${Sz} flex-wrap gap-2`,children: [/* @__PURE__ */ (0, x.jsx)("span", {title: C,className: "flex max-w-full min-w-0 overflow-hidden rounded-md",- children: /* @__PURE__ */ (0, x.jsx)(Ck, {+ children: /* @__PURE__ */ (0, x.jsx)(wk, {variant: "caption",color: "blue",children: C@@ -63160,7 +63173,7 @@ function cMe(e) {return /* @__PURE__ */ (0, x.jsxs)("section", {"aria-label": S,"data-review-key": n.item_key,- className: `${oMe} ${sMe(t)} overflow-hidden`,+ className: `${sMe} ${cMe(t)} overflow-hidden`,children: [/* @__PURE__ */ (0, x.jsxs)("header", {className: "flex min-w-0 shrink-0 items-start gap-2",@@ -63183,7 +63196,7 @@ function cMe(e) {className: "min-w-0 flex-1",children: N}),- A ? /* @__PURE__ */ (0, x.jsx)(Ck, {+ A ? /* @__PURE__ */ (0, x.jsx)(wk, {variant: "caption",color: "neutral",children: n.decision@@ -63207,7 +63220,7 @@ function cMe(e) {!y && j ? j : null,E.length || t === "creator_tags" ? /* @__PURE__ */ (0, x.jsx)("div", {className: "flex flex-wrap gap-1",- children: E.length ? E.map((e) => /* @__PURE__ */ (0, x.jsx)(Ck, {+ children: E.length ? E.map((e) => /* @__PURE__ */ (0, x.jsx)(wk, {variant: "caption",color: "soft",children: e@@ -63217,7 +63230,7 @@ function cMe(e) {})}) : null,M,- /* @__PURE__ */ (0, x.jsx)(Zje, {+ /* @__PURE__ */ (0, x.jsx)(Qje, {row: n,tags: u,locked: s,@@ -63280,8 +63293,8 @@ function cMe(e) {}//#endregion//#region src/react/review/review-page.tsx-var lMe = "flex cursor-pointer items-center justify-between gap-2";-function uMe({ page: e, pages: t, onPage: n }) {+var uMe = "flex cursor-pointer items-center justify-between gap-2";+function dMe({ page: e, pages: t, onPage: n }) {return t <= 1 ? null : /* @__PURE__ */ (0, x.jsxs)("nav", {"aria-label": "复核分页",className: "flex w-full flex-wrap items-center justify-between gap-2",@@ -63318,23 +63331,23 @@ function uMe({ page: e, pages: t, onPage: n }) {]});}-function dMe(e) {+function fMe(e) {let [t, n] = (0, b.useState)(() => matchMedia("(max-width:900px)").matches);(0, b.useEffect)(() => {let e = matchMedia("(max-width:900px)"), t = () => n(e.matches);return e.addEventListener("change", t), () => e.removeEventListener("change", t);}, []);- let { route: r, openItem: i, openEntity: a, revealSource: o, toast: s, readOnly: c, readOnlyMessage: l, writerUrl: u } = e, [d, f] = (0, b.useState)(SF(e.category) ? e.category : cxe), [p, m] = (0, b.useState)("candidates"), [h, g] = (0, b.useState)(""), [_, v] = (0, b.useState)(1), [y, S] = (0, b.useState)(/* @__PURE__ */ new Set()), [C, w] = (0, b.useState)(/* @__PURE__ */ new Map()), [T, E] = (0, b.useState)(/* @__PURE__ */ new Map()), [D, O] = (0, b.useState)(""), k = (0, b.useRef)(null), [A, j] = (0, b.useState)(0), [M, N] = (0, b.useState)(""), P = (0, b.useRef)(!0);+ let { route: r, openItem: i, openEntity: a, revealSource: o, toast: s, readOnly: c, readOnlyMessage: l, writerUrl: u } = e, [d, f] = (0, b.useState)(CF(e.category) ? e.category : cxe), [p, m] = (0, b.useState)("candidates"), [h, g] = (0, b.useState)(""), [_, v] = (0, b.useState)(1), [y, S] = (0, b.useState)(/* @__PURE__ */ new Set()), [C, w] = (0, b.useState)(/* @__PURE__ */ new Map()), [T, E] = (0, b.useState)(/* @__PURE__ */ new Map()), [D, O] = (0, b.useState)(""), k = (0, b.useRef)(null), [A, j] = (0, b.useState)(0), [M, N] = (0, b.useState)(""), P = (0, b.useRef)(!0);(0, b.useEffect)(() => () => {P.current = !1;}, []);let ee = dt({- queryKey: bF,- queryFn: ({ signal: e }) => OF(e)+ queryKey: xF,+ queryFn: ({ signal: e }) => kF(e)}), F = ee.data || {sections: {},counts: {}- }, te = F.sections[d] || [], I = d === "metadata_fields", ne = c, re = uxe(te, I), ie = re.some(([e]) => e === p) ? p : "candidates", ae = CF(te, ie), oe = ae.some((e) => e.key === h) ? h : "", se = fxe(dxe(te, ie, oe), _), ce = se.rows.map((e) => e.item_key), le = new Set(ce), ue = ae.map((e) => ({+ }, te = F.sections[d] || [], I = d === "metadata_fields", ne = c, re = uxe(te, I), ie = re.some(([e]) => e === p) ? p : "candidates", ae = wF(te, ie), oe = ae.some((e) => e.key === h) ? h : "", se = fxe(dxe(te, ie, oe), _), ce = se.rows.map((e) => e.item_key), le = new Set(ce), ue = ae.map((e) => ({...e,rows: e.rows.filter((e) => le.has(e.item_key))})).filter((e) => e.rows.length), de = (e) => C.get(e.item_key) || yxe(e), fe = te.filter((e) => y.has(e.item_key)), pe = (e) => {@@ -63343,9 +63356,9 @@ function dMe(e) {}, me = (e, t) => E((n) => new Map(n).set(e, t)), he = (e) => {f(e), m("candidates"), g(""), v(1), S(/* @__PURE__ */ new Set()), w(/* @__PURE__ */ new Map()), E(/* @__PURE__ */ new Map()), O(""), k.current = null, r({ category: e === "metadata_fields" ? "" : e });}, ge = ft({- mutationFn: ({ row: e, status: t }) => kF(DF(d, e, t, de(e))),+ mutationFn: ({ row: e, status: t }) => AF(OF(d, e, t, de(e))),onSuccess: (e, { row: t, status: n }) => {- e.ok ? (AF(d, [t.item_key]), pe([t.item_key]), s(bxe(n))) : me(t.item_key, e.error || "服务端拒绝了这次判定");+ e.ok ? (jF(d, [t.item_key]), pe([t.item_key]), s(bxe(n))) : me(t.item_key, e.error || "服务端拒绝了这次判定");},onError: (e, { row: t }) => me(t.item_key, B(e))}), _e = ft({@@ -63355,7 +63368,7 @@ function dMe(e) {if (!P.current) break;O(`正在处理 ${i} / ${t.length}`);try {- let t = await kF(DF(d, a, e, de(a)));+ let t = await AF(OF(d, a, e, de(a)));if (!t.ok) throw Error(t.error || "服务端未采用该项");n.push(a.item_key);} catch (e) {@@ -63369,7 +63382,7 @@ function dMe(e) {};},onSuccess: ({ status: e, done: t, failures: n }) => {- AF(d, t), pe(t), n.forEach(([e, t]) => me(e, t)), O(""), s(`已${e === "approved" ? "通过" : "拒绝"} ${t.length} 项` + (n.length ? `,${n.length} 项未完成` : ""));+ jF(d, t), pe(t), n.forEach(([e, t]) => me(e, t)), O(""), s(`已${e === "approved" ? "通过" : "拒绝"} ${t.length} 项` + (n.length ? `,${n.length} 项未完成` : ""));},onError: (e) => {O(B(e));@@ -63401,7 +63414,7 @@ function dMe(e) {revealNote: M,toast: s};- return /* @__PURE__ */ (0, x.jsx)(kk, { children: /* @__PURE__ */ (0, x.jsxs)("div", {+ return /* @__PURE__ */ (0, x.jsx)(Ak, { children: /* @__PURE__ */ (0, x.jsxs)("div", {className: "flex flex-col gap-5 pb-10",children: [ne ? /* @__PURE__ */ (0, x.jsx)(K, {@@ -63417,13 +63430,13 @@ function dMe(e) {}) : void 0,children: xe}) : null,- /* @__PURE__ */ (0, x.jsx)(qje, { tags: Se }),- /* @__PURE__ */ (0, x.jsxs)(aN, {+ /* @__PURE__ */ (0, x.jsx)(Jje, { tags: Se }),+ /* @__PURE__ */ (0, x.jsxs)(oN, {orientation: t ? "horizontal" : "vertical",selectedKey: d,onSelectionChange: (e) => {let t = String(e);- SF(t) && he(t);+ CF(t) && he(t);},className: "flex flex-col gap-5 review-split:flex-row review-split:items-start review-split:gap-6",children: [/* @__PURE__ */ (0, x.jsxs)("div", {@@ -63432,27 +63445,27 @@ function dMe(e) {children: [/* @__PURE__ */ (0, x.jsx)("h2", {id: "reviewcategories",children: "复核分类"- }), /* @__PURE__ */ (0, x.jsx)(oN, {+ }), /* @__PURE__ */ (0, x.jsx)(sN, {"aria-labelledby": "reviewcategories","data-section-items": !0,className: "flex review-split:flex-col review-split:items-stretch",children: sxe.map((e) => {let t = Number(F.counts[e] || 0);- return /* @__PURE__ */ (0, x.jsxs)(sN, {+ return /* @__PURE__ */ (0, x.jsxs)(cN, {id: e,- className: lMe,- children: [xF[e], t ? /* @__PURE__ */ (0, x.jsx)("span", {+ className: uMe,+ children: [SF[e], t ? /* @__PURE__ */ (0, x.jsx)("span", {className: "tabular-nums text-caption-1-medium text-text-secondary",children: t.toLocaleString()}) : null]}, e);})})]- }), /* @__PURE__ */ (0, x.jsxs)(cN, {+ }), /* @__PURE__ */ (0, x.jsxs)(lN, {id: d,className: "flex min-w-0 flex-1 flex-col gap-5",children: [- te.length && !ne ? /* @__PURE__ */ (0, x.jsx)(Wje, {+ te.length && !ne ? /* @__PURE__ */ (0, x.jsx)(Gje, {groupOptions: re,groupBy: ie,onGroupBy: (e) => {@@ -63468,7 +63481,7 @@ function dMe(e) {onSelected: S,selectedRows: fe,metadata: I,- approvable: fe.every((e) => wF(d, e)),+ approvable: fe.every((e) => TF(d, e)),busy: _e.isPending,feedback: D,onUnifySource: ye,@@ -63493,7 +63506,7 @@ function dMe(e) {})]}) : null, /* @__PURE__ */ (0, x.jsx)("div", {className: "review-grid gap-5",- children: e.rows.map((e) => /* @__PURE__ */ (0, x.jsx)(cMe, {+ children: e.rows.map((e) => /* @__PURE__ */ (0, x.jsx)(lMe, {category: d,row: e,choice: de(e),@@ -63527,12 +63540,12 @@ function dMe(e) {children: "重试"}),children: B(ee.error)- }) : /* @__PURE__ */ (0, x.jsx)(Dk, {+ }) : /* @__PURE__ */ (0, x.jsx)(Ok, {icon: Xme,title: "此分类没有待复核项目",children: "可切换分类查看其他候选。"}),- /* @__PURE__ */ (0, x.jsx)(uMe, {+ /* @__PURE__ */ (0, x.jsx)(dMe, {page: se.page,pages: se.pages,onPage: v@@ -63545,33 +63558,33 @@ function dMe(e) {}//#endregion//#region src/react/scraping/custom-source-data.ts-var wz = "/api/custom-metadata", Tz = ["custom-metadata"], fMe = (e) => V(wz, e), pMe = "/api/scraping", mMe = "/api/scraping/settings", hMe = "/api/scraping/check", gMe = "/api/scraping/cover", _Me = "/api/scraping/amane-bridge", vMe = "/api/scraping/amane-bridge/check", yMe = "/api/scraping/amane-bridge/rebuild", Ez = ["scraping"], bMe = ["scraping", "cover"], xMe = ["scraping", "amane-bridge"], SMe = (e) => V(pMe, e), CMe = (e) => V(gMe, e), wMe = (e) => V(_Me, e);-async function TMe(e) {+var wz = "/api/custom-metadata", Tz = ["custom-metadata"], pMe = (e) => V(wz, e), mMe = "/api/scraping", hMe = "/api/scraping/settings", gMe = "/api/scraping/check", _Me = "/api/scraping/cover", vMe = "/api/scraping/amane-bridge", yMe = "/api/scraping/amane-bridge/check", bMe = "/api/scraping/amane-bridge/rebuild", Ez = ["scraping"], xMe = ["scraping", "cover"], SMe = ["scraping", "amane-bridge"], CMe = (e) => V(mMe, e), wMe = (e) => V(_Me, e), TMe = (e) => V(vMe, e);+async function EMe(e) {await Promise.all([U.fetchQuery({queryKey: Ez,- queryFn: () => SMe(e)- }),- U.fetchQuery({- queryKey: bMe,queryFn: () => CMe(e)}),U.fetchQuery({queryKey: xMe,queryFn: () => wMe(e)}),+ U.fetchQuery({+ queryKey: SMe,+ queryFn: () => TMe(e)+ }),U.fetchQuery({queryKey: Tz,- queryFn: () => fMe(e)+ queryFn: () => pMe(e)})]);}-function EMe(e, t) {+function DMe(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/settings-panel/legacy-controls.tsx-var DMe = (e) => e.map(([e, t, n]) => n ? [+var OMe = (e) => e.map(([e, t, n]) => n ? [e,t,n@@ -63580,7 +63593,7 @@ function Dz({ id: e, name: t, legend: n, options: r, value: i, attr: a, variant:let u = (0, b.useRef)(null), d = (0, b.useRef)(null), f = (0, b.useRef)(l);return f.current = l, (0, b.useLayoutEffect)(() => {let e = u.current;- e && (d.current && d.current.value === i && d.current.epoch === c || (e.innerHTML = is(t, n, DMe(r), i, {+ e && (d.current && d.current.value === i && d.current.epoch === c || (e.innerHTML = is(t, n, OMe(r), i, {attr: a,className: o,text: s@@ -63604,7 +63617,7 @@ function Oz({ id: e, label: t, options: n, value: r, disabled: i = !1, busy: a =let e = d.current;if (!e) return;if (p.current !== c || !f.current) {- e.innerHTML = Qa(DMe(n), r, { label: t });+ e.innerHTML = Qa(OMe(n), r, { label: t });let i = $a(e.firstElementChild);i.addEventListener("change", () => m.current(i.value)), f.current = i, p.current = c;}@@ -63617,7 +63630,7 @@ function Oz({ id: e, label: t, options: n, value: r, disabled: i = !1, busy: a ="aria-describedby": s});}-function OMe({ field: e, label: t, max: n, value: r, hidden: i, onStep: a, onSettle: o }) {+function kMe({ field: e, label: t, max: n, value: r, hidden: i, onStep: a, onSettle: o }) {let s = (0, b.useRef)(null), c = (0, b.useRef)(null), l = (0, b.useRef)({onStep: a,onSettle: o@@ -63652,7 +63665,7 @@ function OMe({ field: e, label: t, max: n, value: r, hidden: i, onStep: a, onSet}//#endregion//#region src/react/scraping/custom-sources.tsx-var kMe = [+var AMe = [["code", "番号"],["title", "标题"],["studio", "厂牌"],@@ -63660,7 +63673,7 @@ var kMe = [["release_date", "发行日期"],["performers", "演员(文本数组)"],["tags", "标签(文本数组)"]-], AMe = [+], jMe = [["censored", "有码"],["amateur", "素人"],["uncensored", "无码"],@@ -63669,7 +63682,7 @@ var kMe = [["other", "其他"],["unsure", "待核番号"],["unknown", "未知"]-], jMe = () => ({+], MMe = () => ({name: "",endpoint: "",enabled: !1,@@ -63679,20 +63692,20 @@ var kMe = [},content_types: ["censored"]});-function MMe({ receipt: e }) {+function NMe({ receipt: e }) {let [t, n] = (0, b.useState)(null), r = dt({queryKey: Tz,- queryFn: ({ signal: e }) => fMe(e)- }), i = Mk(), a = (e) => U.setQueryData(Tz, e);- return /* @__PURE__ */ (0, x.jsx)(Rk, {+ queryFn: ({ signal: e }) => pMe(e)+ }), i = Nk(), a = (e) => U.setQueryData(Tz, e);+ return /* @__PURE__ */ (0, x.jsx)(zk, {title: "自定义元数据来源",- children: /* @__PURE__ */ (0, x.jsxs)(Bk, { children: [+ children: /* @__PURE__ */ (0, x.jsxs)(Vk, { children: [r.isPending ? /* @__PURE__ */ (0, x.jsx)("div", {"aria-busy": "true","data-skeleton": "","aria-label": "读取自定义来源"}) : null,- r.error ? /* @__PURE__ */ (0, x.jsx)(Uk, { children: B(r.error) }) : null,+ r.error ? /* @__PURE__ */ (0, x.jsx)(Wk, { children: B(r.error) }) : null,r.data?.items.map((t) => /* @__PURE__ */ (0, x.jsxs)("div", {className: "flex flex-wrap items-center gap-3",children: [@@ -63737,13 +63750,13 @@ function MMe({ receipt: e }) {})]}, t.id)),- i.error ? /* @__PURE__ */ (0, x.jsx)(Uk, { children: i.error }) : null,+ i.error ? /* @__PURE__ */ (0, x.jsx)(Wk, { children: i.error }) : null,t ? null : /* @__PURE__ */ (0, x.jsx)(G, {variant: "secondary",- onClick: () => n(jMe()),+ onClick: () => n(MMe()),children: "添加来源"}),- t ? /* @__PURE__ */ (0, x.jsx)(NMe, {+ t ? /* @__PURE__ */ (0, x.jsx)(PMe, {initial: t,cancel: () => n(null),saved: (t) => {@@ -63753,8 +63766,8 @@ function MMe({ receipt: e }) {] })});}-function NMe({ initial: e, cancel: t, saved: n }) {- let [r, i] = (0, b.useState)(e), [a, o] = (0, b.useState)(""), [s, c] = (0, b.useState)(""), l = (0, b.useRef)(0), u = Mk(), d = (e) => {+function PMe({ initial: e, cancel: t, saved: n }) {+ let [r, i] = (0, b.useState)(e), [a, o] = (0, b.useState)(""), [s, c] = (0, b.useState)(""), l = (0, b.useRef)(0), u = Nk(), d = (e) => {l.current++, i((t) => ({...t,...e@@ -63766,14 +63779,14 @@ function NMe({ initial: e, cancel: t, saved: n }) {onSubmit: (e) => {e.preventDefault(), u.run("save", (e) => H(wz, r, "POST", e), n);},- children: [/* @__PURE__ */ (0, x.jsxs)(Bk, { children: [- /* @__PURE__ */ (0, x.jsx)(pN, {+ children: [/* @__PURE__ */ (0, x.jsxs)(Vk, { children: [+ /* @__PURE__ */ (0, x.jsx)(mN, {label: "来源名称",value: r.name,maxLength: 80,onChange: (e) => d({ name: e })}),- /* @__PURE__ */ (0, x.jsx)(pN, {+ /* @__PURE__ */ (0, x.jsx)(mN, {label: "JSON 接口地址",value: r.endpoint,maxLength: 2048,@@ -63782,7 +63795,7 @@ function NMe({ initial: e, cancel: t, saved: n }) {}),/* @__PURE__ */ (0, x.jsxs)("div", {className: "flex flex-col gap-2",- children: [/* @__PURE__ */ (0, x.jsx)(Wk, { children: "来源连接方式" }), /* @__PURE__ */ (0, x.jsx)(Oz, {+ children: [/* @__PURE__ */ (0, x.jsx)(Gk, { children: "来源连接方式" }), /* @__PURE__ */ (0, x.jsx)(Oz, {id: "custom-source-network",label: "来源连接方式",epoch: 0,@@ -63793,7 +63806,7 @@ function NMe({ initial: e, cancel: t, saved: n }) {}),/* @__PURE__ */ (0, x.jsxs)("div", {className: "flex flex-col gap-2",- children: [/* @__PURE__ */ (0, x.jsx)(Wk, { children: "接口番号格式" }), /* @__PURE__ */ (0, x.jsx)(Oz, {+ children: [/* @__PURE__ */ (0, x.jsx)(Gk, { children: "接口番号格式" }), /* @__PURE__ */ (0, x.jsx)(Oz, {id: "custom-source-code-format",label: "接口番号格式",epoch: 0,@@ -63807,8 +63820,8 @@ function NMe({ initial: e, cancel: t, saved: n }) {onPick: (e) => d({ code_format: e })})]}),- /* @__PURE__ */ (0, x.jsx)(Hk, { children: "填写公开 JSON 接口和响应字段路径,例如 data.title。番号字段用于核对作品身份。" }),- kMe.map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(pN, {+ /* @__PURE__ */ (0, x.jsx)(Uk, { children: "填写公开 JSON 接口和响应字段路径,例如 data.title。番号字段用于核对作品身份。" }),+ AMe.map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(mN, {label: `${t}字段路径`,value: r.fields[e] || "",onChange: (t) => {@@ -63820,7 +63833,7 @@ function NMe({ initial: e, cancel: t, saved: n }) {className: "flex flex-wrap gap-3",role: "group","aria-label": "适用内容类型",- children: AMe.map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(aL, {+ children: jMe.map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(aL, {isSelected: r.content_types.includes(e),onChange: (t) => d({ content_types: t ? [...r.content_types, e] : r.content_types.filter((t) => t !== e) }),children: t@@ -63831,7 +63844,7 @@ function NMe({ initial: e, cancel: t, saved: n }) {onChange: (e) => d({ enabled: e }),children: "启用来源"}),- /* @__PURE__ */ (0, x.jsx)(pN, {+ /* @__PURE__ */ (0, x.jsx)(mN, {label: "试查番号(回车查询)",value: a,onChange: (e) => {@@ -63852,7 +63865,7 @@ function NMe({ initial: e, cancel: t, saved: n }) {});}}),- u.busy === "preview" ? /* @__PURE__ */ (0, x.jsxs)(Hk, {+ u.busy === "preview" ? /* @__PURE__ */ (0, x.jsxs)(Uk, {role: "status",children: [/* @__PURE__ */ (0, x.jsx)("span", { dangerouslySetInnerHTML: { __html: ao("正在试查来源") } }), "正在试查来源…"]}) : null,@@ -63860,8 +63873,8 @@ function NMe({ initial: e, cancel: t, saved: n }) {className: "whitespace-pre-wrap break-all",children: s}) : null,- u.error ? /* @__PURE__ */ (0, x.jsx)(Uk, { children: u.error }) : null- ] }), /* @__PURE__ */ (0, x.jsxs)(Vk, { children: [/* @__PURE__ */ (0, x.jsx)(G, {+ u.error ? /* @__PURE__ */ (0, x.jsx)(Wk, { children: u.error }) : null+ ] }), /* @__PURE__ */ (0, x.jsxs)(Hk, { children: [/* @__PURE__ */ (0, x.jsx)(G, {variant: "secondary",type: "button",onClick: t,@@ -63876,18 +63889,18 @@ function NMe({ initial: e, cancel: t, saved: n }) {//#endregion//#region src/react/scraping/scraping-page.tsxvar kz = [["peach", "Peach 代理"], ["direct", "直接连接"]];-function PMe(e) {+function FMe(e) {return kz.some(([t]) => t === e) || !e ? [...kz] : [...kz, [e, e]];}-function FMe(e) {+function IMe(e) {try {return new URL(e).host || e;} catch {return e;}}-var IMe = [["paste", "粘贴 Cookie"], ["file", "导入文件"]];-function LMe({ source: e }) {+var LMe = [["paste", "粘贴 Cookie"], ["file", "导入文件"]];+function RMe({ source: e }) {if (e === "makers") return /* @__PURE__ */ (0, x.jsx)(Kme, {"aria-hidden": !0,className: "size-4 shrink-0"@@ -63909,16 +63922,16 @@ function LMe({ source: e }) {className: "size-4 shrink-0 rounded-sm object-contain"});}-function RMe() {- return /* @__PURE__ */ (0, x.jsx)(LMe, { source: "github" });+function zMe() {+ return /* @__PURE__ */ (0, x.jsx)(RMe, { source: "github" });}-function zMe({ source: e, toast: t }) {- let [n, r] = (0, b.useState)(e.network), [i, a] = (0, b.useState)(""), [o, s] = (0, b.useState)(""), [c, l] = (0, b.useState)(IMe[0][0]), [u, d] = (0, b.useState)(""), [f, p] = (0, b.useState)(""), m = (0, b.useRef)(null);+function BMe({ source: e, toast: t }) {+ let [n, r] = (0, b.useState)(e.network), [i, a] = (0, b.useState)(""), [o, s] = (0, b.useState)(""), [c, l] = (0, b.useState)(LMe[0][0]), [u, d] = (0, b.useState)(""), [f, p] = (0, b.useState)(""), m = (0, b.useRef)(null);function h() {a(""), s(""), d(""), p(""), m.current && (m.current.value = "");}let g = ft({- mutationFn: (t) => H(mMe, {+ mutationFn: (t) => H(hMe, {source: e.source,network: n,cookie: i,@@ -63931,7 +63944,7 @@ function zMe({ source: e, toast: t }) {sources: t.sources.map((t) => t.source === e.saved.source ? e.saved : t)}), h(), t(n ? "Cookie 已撤销" : "来源设置已保存");}- }), _ = ft({ mutationFn: () => H(hMe, { source: e.source }) }), v = g.isPending || _.isPending, y = (e) => {+ }), _ = ft({ mutationFn: () => H(gMe, { source: e.source }) }), v = g.isPending || _.isPending, y = (e) => {e.preventDefault(), !v && (_.reset(), g.mutate(!1));}, S = () => {v || (_.reset(), g.mutate(!0));@@ -63950,18 +63963,18 @@ function zMe({ source: e, toast: t }) {}}let T = f || (g.error ? B(g.error) : "") || (_.error ? B(_.error) : ""), E = _.data?.results ?? [], D = n === "peach" || e.accepts_cookie || e.browser || !!T || E.length > 0;- return /* @__PURE__ */ (0, x.jsxs)(Rk, {+ return /* @__PURE__ */ (0, x.jsxs)(zk, {title: e.label,onSubmit: y,aside: /* @__PURE__ */ (0, x.jsxs)("span", {className: "flex min-w-0 items-center gap-1",- children: [/* @__PURE__ */ (0, x.jsx)(LMe, { source: e.source }), e.login ? /* @__PURE__ */ (0, x.jsx)(Gk, {+ children: [/* @__PURE__ */ (0, x.jsx)(RMe, { source: e.source }), e.login ? /* @__PURE__ */ (0, x.jsx)(Kk, {href: e.login,- children: FMe(e.login)+ children: IMe(e.login)}) : null]}),children: [- /* @__PURE__ */ (0, x.jsx)(zk, { children: /* @__PURE__ */ (0, x.jsx)(Fk, {+ /* @__PURE__ */ (0, x.jsx)(Bk, { children: /* @__PURE__ */ (0, x.jsx)(Ik, {label: "连接方式",children: /* @__PURE__ */ (0, x.jsx)(nL, {"aria-label": "连接方式",@@ -63970,7 +63983,7 @@ function zMe({ source: e, toast: t }) {onSelectionChange: (e) => {e !== null && r(String(e));},- children: PMe(n).map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(rL, {+ children: FMe(n).map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(rL, {id: e,children: t}, e))@@ -63980,15 +63993,15 @@ function zMe({ source: e, toast: t }) {tone: "warning",children: ["来源正在冷却,截止 ", (/* @__PURE__ */ new Date(e.cooldown_until * 1e3)).toLocaleString("zh-CN")]}) : null,- D ? /* @__PURE__ */ (0, x.jsxs)(Bk, {+ D ? /* @__PURE__ */ (0, x.jsxs)(Vk, {divided: !0,children: [n === "peach" ? /* @__PURE__ */ (0, x.jsx)("span", {className: "self-start",- children: /* @__PURE__ */ (0, x.jsx)(Lk, {+ children: /* @__PURE__ */ (0, x.jsx)(Rk, {href: "/settings/library#peachProxy",size: "small",- trailingIcon: BO,+ trailingIcon: VO,children: "配置 Peach 代理"})}) : null,@@ -64001,20 +64014,20 @@ function zMe({ source: e, toast: t }) {className: "text-body-2-regular text-text-secondary",children: e.cookie_saved ? "Cookie 已保存;登录是否有效要到抓取时才知道。" : "需要登录时,任选一种方式提供 Cookie。"}),- /* @__PURE__ */ (0, x.jsx)(jN, {+ /* @__PURE__ */ (0, x.jsx)(MN, {"aria-label": "提供 Cookie 的方式(二选一)",value: c,onChange: (e) => {l(e), h();},- className: MN,- children: IMe.map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(jM, {+ className: NN,+ children: LMe.map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(MM, {value: e,- className: NN,+ className: PN,children: t}, e))}),- c === "paste" ? /* @__PURE__ */ (0, x.jsx)(pN, {+ c === "paste" ? /* @__PURE__ */ (0, x.jsx)(mN, {type: "password",label: "Cookie",autoComplete: "off",@@ -64023,7 +64036,7 @@ function zMe({ source: e, toast: t }) {}) : /* @__PURE__ */ (0, x.jsxs)("div", {className: "flex flex-col gap-2",children: [- /* @__PURE__ */ (0, x.jsx)(Wk, { children: "Netscape Cookie 文件(.txt)" }),+ /* @__PURE__ */ (0, x.jsx)(Gk, { children: "Netscape Cookie 文件(.txt)" }),/* @__PURE__ */ (0, x.jsxs)("div", {className: "flex flex-wrap items-center gap-3",children: [/* @__PURE__ */ (0, x.jsx)(G, {@@ -64049,14 +64062,14 @@ function zMe({ source: e, toast: t }) {]})] }) : null,- T ? /* @__PURE__ */ (0, x.jsx)(Uk, { children: T }) : null,+ T ? /* @__PURE__ */ (0, x.jsx)(Wk, { children: T }) : null,E.map((t) => /* @__PURE__ */ (0, x.jsx)(K, {tone: t.ok ? "success" : "error",- children: EMe(t, e.label)+ children: DMe(t, e.label)}, t.label))]}) : null,- /* @__PURE__ */ (0, x.jsxs)(Vk, { children: [+ /* @__PURE__ */ (0, x.jsxs)(Hk, { children: [e.accepts_cookie && e.cookie_saved ? /* @__PURE__ */ (0, x.jsx)(G, {variant: "secondary",onClick: S,@@ -64078,26 +64091,26 @@ function zMe({ source: e, toast: t }) {]});}-function BMe({ toast: e }) {+function VMe({ toast: e }) {let [t, n] = (0, b.useState)(""), { running: r, outcome: i, start: a } = iL({- queryKey: bMe,- queryFn: ({ signal: e }) => CMe(e),- start: () => H(gMe, { code: t }),+ queryKey: xMe,+ queryFn: ({ signal: e }) => wMe(e),+ start: () => H(_Me, { code: t }),onFinish: (t) => {t.status === "complete" && e(t.result || "封面采集完成");}}), o = (e) => {e.preventDefault(), !(r || a.isPending || !t.trim()) && a.mutate();}, s = a.error ? B(a.error) : i?.status === "failed" ? i.error || "采集未取得" : "";- return /* @__PURE__ */ (0, x.jsx)(Rk, {+ return /* @__PURE__ */ (0, x.jsx)(zk, {title: "高清封面",onSubmit: o,- children: /* @__PURE__ */ (0, x.jsxs)(Bk, { children: [+ children: /* @__PURE__ */ (0, x.jsxs)(Vk, { children: [/* @__PURE__ */ (0, x.jsxs)("div", {className: "flex flex-wrap items-end gap-2",children: [/* @__PURE__ */ (0, x.jsx)("div", {className: "min-w-0 flex-1",- children: /* @__PURE__ */ (0, x.jsx)(pN, {+ children: /* @__PURE__ */ (0, x.jsx)(mN, {"aria-label": "馆藏番号",isRequired: !0,isDisabled: r,@@ -64112,7 +64125,7 @@ function BMe({ toast: e }) {children: "抓取封面"})]}),- r ? /* @__PURE__ */ (0, x.jsx)(Ok, { label: "正在抓取封面" }) : null,+ r ? /* @__PURE__ */ (0, x.jsx)(kk, { label: "正在抓取封面" }) : null,s ? /* @__PURE__ */ (0, x.jsx)(K, {tone: "error",children: s@@ -64124,11 +64137,11 @@ function BMe({ toast: e }) {] })});}-function VMe({ toast: e }) {+function HMe({ toast: e }) {let { query: t, running: n, outcome: r, start: i } = iL({- queryKey: xMe,- queryFn: ({ signal: e }) => wMe(e),- start: () => H(yMe, {}),+ queryKey: SMe,+ queryFn: ({ signal: e }) => TMe(e),+ start: () => H(bMe, {}),jobOf: (e) => e.job,withJob: (e, t) => e && {...e,@@ -64137,52 +64150,52 @@ function VMe({ toast: e }) {onFinish: (t) => {t.status === "complete" && e(t.result || "amane 桥已重建");}- }), a = ft({ mutationFn: () => H(vMe, {}) }), o = t.data;- if (!o) return t.error ? /* @__PURE__ */ (0, x.jsx)(Rk, {+ }), a = ft({ mutationFn: () => H(yMe, {}) }), o = t.data;+ if (!o) return t.error ? /* @__PURE__ */ (0, x.jsx)(zk, {title: "amane",- children: /* @__PURE__ */ (0, x.jsx)(Bk, { children: /* @__PURE__ */ (0, x.jsx)(K, {+ children: /* @__PURE__ */ (0, x.jsx)(Vk, { children: /* @__PURE__ */ (0, x.jsx)(K, {tone: "error",children: B(t.error)}) })}) : null;let s = n || i.isPending || a.isPending, c = i.error ? B(i.error) : a.error ? B(a.error) : r?.status === "failed" ? r.error || "重建未完成" : "";- return /* @__PURE__ */ (0, x.jsxs)(Rk, {+ return /* @__PURE__ */ (0, x.jsxs)(zk, {title: "amane",- aside: /* @__PURE__ */ (0, x.jsx)(Gk, {+ aside: /* @__PURE__ */ (0, x.jsx)(Kk, {href: o.repository,- leadingIcon: RMe,+ leadingIcon: zMe,children: o.repository}),children: [- /* @__PURE__ */ (0, x.jsxs)(Kk, { children: [- /* @__PURE__ */ (0, x.jsx)(qk, {+ /* @__PURE__ */ (0, x.jsxs)(qk, { children: [+ /* @__PURE__ */ (0, x.jsx)(Jk, {term: "已安装版本",children: o.installed_version || "未安装"}),- /* @__PURE__ */ (0, x.jsx)(qk, {+ /* @__PURE__ */ (0, x.jsx)(Jk, {term: "上游最新版本",children: a.data?.latest ?? "尚未检查"}),- /* @__PURE__ */ (0, x.jsx)(qk, {+ /* @__PURE__ */ (0, x.jsx)(Jk, {term: "运行环境",children: o.installed ? "已安装" : "未安装"}),- /* @__PURE__ */ (0, x.jsxs)(qk, {+ /* @__PURE__ */ (0, x.jsxs)(Jk, {term: "内置站点",children: [o.sites.length.toLocaleString(), " 个"]})] }),- /* @__PURE__ */ (0, x.jsxs)(Bk, {+ /* @__PURE__ */ (0, x.jsxs)(Vk, {divided: !0,children: [- o.sites.length ? /* @__PURE__ */ (0, x.jsx)(Jk, {+ o.sites.length ? /* @__PURE__ */ (0, x.jsx)(Yk, {summary: "查看内置站点",children: /* @__PURE__ */ (0, x.jsx)("p", {className: "text-body-2-regular text-text-secondary",children: o.sites.map((e) => e.label).join("、")})}) : null,- /* @__PURE__ */ (0, x.jsxs)(Hk, { children: [+ /* @__PURE__ */ (0, x.jsxs)(Uk, { children: ["已安装版本:",o.installed_version || "未安装","。amane(",@@ -64191,7 +64204,7 @@ function VMe({ toast: e }) {o.version," 版本,不随上游自动升级。"] }),- n ? /* @__PURE__ */ (0, x.jsx)(Ok, { label: "正在重建运行环境" }) : null,+ n ? /* @__PURE__ */ (0, x.jsx)(kk, { label: "正在重建运行环境" }) : null,c ? /* @__PURE__ */ (0, x.jsx)(K, {tone: "error",children: c@@ -64202,7 +64215,7 @@ function VMe({ toast: e }) {}) : null]}),- /* @__PURE__ */ (0, x.jsxs)(Vk, { children: [/* @__PURE__ */ (0, x.jsx)(G, {+ /* @__PURE__ */ (0, x.jsxs)(Hk, { children: [/* @__PURE__ */ (0, x.jsx)(G, {variant: "secondary",onClick: () => {s || a.mutate();@@ -64219,24 +64232,24 @@ function VMe({ toast: e }) {]});}-function HMe({ toast: e }) {+function UMe({ toast: e }) {let t = dt({queryKey: Ez,- queryFn: ({ signal: e }) => SMe(e)+ queryFn: ({ signal: e }) => CMe(e)}), n = t.data;- return n ? /* @__PURE__ */ (0, x.jsxs)(kk, { children: [+ return n ? /* @__PURE__ */ (0, x.jsxs)(Ak, { children: [/* @__PURE__ */ (0, x.jsx)("p", {className: "text-body-2-regular text-text-secondary",children: "高清图片可能要经代理才能下载,先检查连接。"}),- /* @__PURE__ */ (0, x.jsx)(BMe, { toast: e }),- /* @__PURE__ */ (0, x.jsx)(MMe, { receipt: e }),- (n.sources || []).map((t) => /* @__PURE__ */ (0, x.jsx)(zMe, {+ /* @__PURE__ */ (0, x.jsx)(VMe, { toast: e }),+ /* @__PURE__ */ (0, x.jsx)(NMe, { receipt: e }),+ (n.sources || []).map((t) => /* @__PURE__ */ (0, x.jsx)(BMe, {source: t,toast: e}, t.source)),- /* @__PURE__ */ (0, x.jsx)(VMe, { toast: e })- ] }) : /* @__PURE__ */ (0, x.jsx)(kk, { children: /* @__PURE__ */ (0, x.jsx)(K, {+ /* @__PURE__ */ (0, x.jsx)(HMe, { toast: e })+ ] }) : /* @__PURE__ */ (0, x.jsx)(Ak, { children: /* @__PURE__ */ (0, x.jsx)(K, {tone: "error",title: "采集来源读取失败",children: t.error ? B(t.error) : "读取采集来源失败"@@ -64244,13 +64257,13 @@ function HMe({ toast: e }) {}//#endregion//#region src/react/search/search.ts-var UMe = /* @__PURE__ */ new Set([+var WMe = /* @__PURE__ */ new Set(["performer","creator","studio","agency","series"-]), WMe = /* @__PURE__ */ new Set(["asset"]), Az = (e) => String(e ?? "").normalize("NFKC").trim().toLocaleLowerCase();+]), Az = /* @__PURE__ */ new Set(["asset"]), jz = (e) => String(e ?? "").normalize("NFKC").trim().toLocaleLowerCase();function GMe({ query: e, history: t, picks: n, suggestFor: r, groups: i, tabs: a, kind: o }) {let s = 0, c = [], l = (e) => {let t = {@@ -64258,7 +64271,7 @@ function GMe({ query: e, history: t, picks: n, suggestFor: r, groups: i, tabs: aindex: s++};return c.push(t), t;- }, u = t.filter((t) => !e || Az(t).includes(Az(e)));+ }, u = t.filter((t) => !e || jz(t).includes(jz(e)));if (!e) {let e = u.length ? {label: "搜索记录",@@ -64305,7 +64318,7 @@ function GMe({ query: e, history: t, picks: n, suggestFor: r, groups: i, tabs: aoptions: n,more: r};- }, h = p.filter((e) => !WMe.has(e.kind)).map(m), g = p.filter((e) => WMe.has(e.kind)).map(m), _ = d && !p.some((e) => e.items.length);+ }, h = p.filter((e) => !Az.has(e.kind)).map(m), g = p.filter((e) => Az.has(e.kind)).map(m), _ = d && !p.some((e) => e.items.length);return {tabs: d && a.length > 1 ? [...a] : null,recent: f,@@ -64321,7 +64334,7 @@ function KMe(e, t, n = Math.random) {let t = Math.floor(n() * (e + 1));[r[e], r[t]] = [r[t], r[e]];}- return r.filter((e) => !t.some((t) => Az(t) === Az(e))).slice(0, 5);+ return r.filter((e) => !t.some((t) => jz(t) === jz(e))).slice(0, 5);}//#endregion//#region src/react/search/search-page.tsx@@ -64341,7 +64354,7 @@ var qMe = () => ({active: -1,reveal: !1,rewind: !1-}), jz = (e) => GMe({+}), Mz = (e) => GMe({query: e.query,history: e.history,picks: e.picks,@@ -64349,7 +64362,7 @@ var qMe = () => ({groups: e.groups,tabs: e.tabs,kind: e.kind-}), JMe = (e) => !!(e.tabs || e.recent || e.left.length || e.right.length || e.empty), Mz = ({ name: e }) => /* @__PURE__ */ (0, x.jsx)("svg", {+}), JMe = (e) => !!(e.tabs || e.recent || e.left.length || e.right.length || e.empty), Nz = ({ name: e }) => /* @__PURE__ */ (0, x.jsx)("svg", {viewBox: "0 0 24 24","aria-hidden": "true",children: /* @__PURE__ */ (0, x.jsx)("use", { href: `#i-${e}` })@@ -64373,7 +64386,7 @@ function YMe(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 = jz(r), l = e.historyLimit, u = (t) => /* @__PURE__ */ (0, x.jsx)(QMe, {+ let c = Mz(r), l = e.historyLimit, u = (t) => /* @__PURE__ */ (0, x.jsx)(QMe, {entry: t,active: t.index === r.active,helpers: e.helpers,@@ -64434,7 +64447,7 @@ function XMe(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) => Az(e) !== Az(t))]), H("/api/search-history", { query: t }).catch(() => null));+ t && e().historyLimit && (s([t, ...o().filter((e) => jz(e) !== jz(t))]), H("/api/search-history", { query: t }).catch(() => null));}, u = async () => {let n = ++t.poolRequest;t.pool = [];@@ -64473,7 +64486,7 @@ function XMe(e, t, n, r) {}, m = () => {t.query = i().value.trim(), t.picks = t.query ? [] : KMe(t.pool, o()), t.active = -1;let a = n();- a && (JMe(jz(t)) ? e().helpers.present(a) : e().helpers.dismiss(a)), r();+ a && (JMe(Mz(t)) ? e().helpers.present(a) : e().helpers.dismiss(a)), r();}, h = () => {t.active = -1, t.kind = "", clearTimeout(t.timer);let e = i().value.trim();@@ -64485,7 +64498,7 @@ function XMe(e, t, n, r) {n && e !== t.kind && (t.kind = e, clearTimeout(t.timer), m(), t.rewind = !0, d(n, e).then(() => {a() && t.kind === e && m();}));- }, _ = () => f() ? jz(t).options : [], v = (e) => {+ }, _ = () => f() ? Mz(t).options : [], v = (e) => {let n = _();return n.length ? (t.active = (t.active + e + n.length) % n.length, t.reveal = !0, r(), !0) : !1;}, y = (t, n) => {@@ -64494,7 +64507,7 @@ function XMe(e, t, n, r) {}, b = (t, n) => {i().blur(), l(n), e().actions.openEntity(t, n);}, x = (t) => {- t.type === "more" ? (y(!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" && UMe.has(t.kind) ? b(t.kind, t.value) : (i().value = t.value, y(!1, !0));+ t.type === "more" ? (y(!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" && WMe.has(t.kind) ? b(t.kind, t.value) : (i().value = t.value, y(!1, !0));};return {input: (t) => {@@ -64538,7 +64551,7 @@ function XMe(e, t, n, r) {await H("/api/search-history", {operation: "remove",query: e- }).catch(() => null), s(o().filter((t) => Az(t) !== Az(e))), t.active = -1, r();+ }).catch(() => null), s(o().filter((t) => jz(t) !== jz(e))), t.active = -1, r();},pickKind: g};@@ -64555,7 +64568,7 @@ function ZMe({ tabs: e, kind: t, onPick: n, wire: r }) {"aria-selected": t === e,onMouseDown: (e) => e.preventDefault(),onClick: () => n(e),- children: [r, i ? /* @__PURE__ */ (0, x.jsx)(jke, { value: i }) : null]+ children: [r, i ? /* @__PURE__ */ (0, x.jsx)(Mke, { value: i }) : null]}, e || "all");return /* @__PURE__ */ (0, x.jsxs)("div", {ref: i,@@ -64565,7 +64578,7 @@ function ZMe({ tabs: e, kind: t, onPick: n, wire: r }) {children: [a("", "全部"), e.map((e) => a(e.kind, e.label, e.total))]});}-var Nz = (e) => e.preventDefault();+var Pz = (e) => e.preventDefault();function QMe({ entry: e, active: t, helpers: n, onPick: r, onPeek: i, onRemove: a }) {let o = {"data-search-value": e.value,@@ -64578,40 +64591,40 @@ function QMe({ entry: e, active: t, helpers: n, onPick: r, onPeek: i, onRemove:type: "button","data-search-option": "more",...o,- onMouseDown: Nz,+ onMouseDown: Pz,children: ["查看全部 ",e.total.toLocaleString()," 个视频",- /* @__PURE__ */ (0, x.jsx)(Mz, { name: "chevron-right" })+ /* @__PURE__ */ (0, x.jsx)(Nz, { name: "chevron-right" })]});if (e.type !== "suggest") return /* @__PURE__ */ (0, x.jsxs)("div", {"data-search-option": "",...o,children: [- /* @__PURE__ */ (0, x.jsx)(Mz, { name: e.type === "history" ? "history" : "sparkles" }),+ /* @__PURE__ */ (0, x.jsx)(Nz, { name: e.type === "history" ? "history" : "sparkles" }),/* @__PURE__ */ (0, x.jsx)("span", { children: e.value }),e.type === "history" ? /* @__PURE__ */ (0, x.jsx)("button", {type: "button","data-remove-history": e.value,"aria-label": `删除历史 ${e.value}`,- onMouseDown: Nz,+ onMouseDown: Pz,onClick: (t) => {t.stopPropagation(), a(e.value);},- children: /* @__PURE__ */ (0, x.jsx)(Mz, { name: "x" })+ children: /* @__PURE__ */ (0, x.jsx)(Nz, { name: "x" })}) : null]});- let { item: s, kind: c } = e, l = UMe.has(c) ? c : void 0;+ let { item: s, kind: c } = e, l = WMe.has(c) ? c : void 0;if (c === "asset") {let e = [s.who, s.code ? s.title : ""].filter(Boolean).join(" · ");return /* @__PURE__ */ (0, x.jsxs)("div", {"data-search-option": "work","data-open-item": s.id,...o,- children: [/* @__PURE__ */ (0, x.jsx)(Pz, {+ children: [/* @__PURE__ */ (0, x.jsx)(Fz, {card: s.card,helpers: n}), /* @__PURE__ */ (0, x.jsxs)("span", {@@ -64637,7 +64650,7 @@ function QMe({ entry: e, active: t, helpers: n, onPick: r, onPeek: i, onRemove:"data-open-entity": l,...o,children: [- /* @__PURE__ */ (0, x.jsx)(Fz, {+ /* @__PURE__ */ (0, x.jsx)(Iz, {item: s,kind: c}),@@ -64657,11 +64670,11 @@ function QMe({ 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: Nz,+ onMouseDown: Pz,onClick: (t) => {t.stopPropagation(), i(e);},- children: /* @__PURE__ */ (0, x.jsx)(Pz, {+ children: /* @__PURE__ */ (0, x.jsx)(Fz, {card: e,helpers: n})@@ -64675,7 +64688,7 @@ function QMe({ entry: e, active: t, helpers: n, onPick: r, onPeek: i, onRemove:"data-open-entity": l,...o,children: [- c === "studio" || c === "agency" ? /* @__PURE__ */ (0, x.jsx)(Fz, {+ c === "studio" || c === "agency" ? /* @__PURE__ */ (0, x.jsx)(Iz, {item: s,kind: c}) : null,@@ -64688,13 +64701,13 @@ function QMe({ entry: e, active: t, helpers: n, onPick: r, onPeek: i, onRemove:]});}-function Pz({ card: e, helpers: t }) {+function Fz({ card: e, helpers: t }) {return /* @__PURE__ */ (0, x.jsx)("span", {"data-search-pic": "",dangerouslySetInnerHTML: { __html: t.coverHtml(e) }});}-function Fz({ item: e, kind: t }) {+function Iz({ item: e, kind: t }) {let n = {id: e.entity_id,has_image: e.has_image,@@ -64710,31 +64723,31 @@ function Fz({ item: e, kind: t }) {}//#endregion//#region src/configuration-endpoints.ts-var Iz = "/api/configuration", $Me = "/api/pick-folder", Lz = ["configuration"], Rz = (e) => V(Iz, e);+var Lz = "/api/configuration", $Me = "/api/pick-folder", Rz = ["configuration"], zz = (e) => V(Lz, e);async function eNe(e) {await U.fetchQuery({- queryKey: Lz,- queryFn: () => Rz(e)+ queryKey: Rz,+ queryFn: () => zz(e)});}//#endregion//#region src/react/settings/configuration-panel.ts-var zz = "flex flex-col gap-6";-function Bz(e) {+var Bz = "flex flex-col gap-6";+function Vz(e) {return e ? {- className: e.active ? `${zz} ui-board-group-active` : zz,+ className: e.active ? `${Bz} ui-board-group-active` : Bz,"data-board-group": String(e.index),id: e.id,role: "tabpanel","aria-labelledby": e.labelledBy- } : { className: zz };+ } : { className: Bz };}//#endregion//#region src/react/settings/download-settings.tsx-var tNe = "/api/configuration/downloads", Vz = "/api/configuration/downloads/check", nNe = "/api/configuration/downloads/folder", rNe = "/api/configuration/downloads/pikpak/login", iNe = "/api/configuration/downloads/pikpak/logout", Hz = "/api/configuration/downloads/pikpak/browser-login", Uz = 2e3;+var tNe = "/api/configuration/downloads", Hz = "/api/configuration/downloads/check", nNe = "/api/configuration/downloads/folder", rNe = "/api/configuration/downloads/pikpak/login", iNe = "/api/configuration/downloads/pikpak/logout", Uz = "/api/configuration/downloads/pikpak/browser-login", Wz = 2e3;function aNe({ initial: e, receipt: t, panel: n }) {return /* @__PURE__ */ (0, x.jsx)("div", {- ...Bz(n),+ ...Vz(n),children: /* @__PURE__ */ (0, x.jsx)(oNe, {initial: e,receipt: t@@ -64757,7 +64770,7 @@ function oNe({ initial: e, receipt: t }) {})] });}function sNe({ state: e, settle: t, receipt: n, pikpakAccount: r }) {- let [i, a] = (0, b.useState)(e.config), [o, s] = (0, b.useState)(""), [c, l] = (0, b.useState)(String(e.config.wait_hours)), [u, d] = (0, b.useState)(null), [f, p] = (0, b.useState)(""), [m, h] = (0, b.useState)(Wz), [g, _] = (0, b.useState)(""), [v, y] = (0, b.useState)(!1), S = Mk(), C = (e) => i.targets[e] ?? "", w = (e, t) => a({+ let [i, a] = (0, b.useState)(e.config), [o, s] = (0, b.useState)(""), [c, l] = (0, b.useState)(String(e.config.wait_hours)), [u, d] = (0, b.useState)(null), [f, p] = (0, b.useState)(""), [m, h] = (0, b.useState)(Gz), [g, _] = (0, b.useState)(""), [v, y] = (0, b.useState)(!1), S = Nk(), C = (e) => i.targets[e] ?? "", w = (e, t) => a({...i,targets: {...i.targets,@@ -64786,8 +64799,8 @@ function sNe({ state: e, settle: t, receipt: n, pikpakAccount: r }) {target: !e.config.targets[115],root: !e.config.pikpak_root};- S.run("auto", (e) => V(Vz, e), (e) => E(e, t), (e) => _(B(e)));- }, []), /* @__PURE__ */ (0, x.jsxs)(Rk, {+ S.run("auto", (e) => V(Hz, e), (e) => E(e, t), (e) => _(B(e)));+ }, []), /* @__PURE__ */ (0, x.jsxs)(zk, {title: "云下载",onSubmit: (e) => {if (e.preventDefault(), T) {@@ -64806,12 +64819,12 @@ function sNe({ state: e, settle: t, receipt: n, pikpakAccount: r }) {address: !i.config.clouddrive_address,target: u,root: !i.config.pikpak_root- }, i.config.targets[115] ?? "") : (d(null), p(""), h(Wz), y(!1), _("")), n("已保存配置");+ }, i.config.targets[115] ?? "") : (d(null), p(""), h(Gz), y(!1), _("")), n("已保存配置");}, (e) => _(B(e)));},children: [- /* @__PURE__ */ (0, x.jsxs)(Bk, { children: [- /* @__PURE__ */ (0, x.jsx)(pN, {+ /* @__PURE__ */ (0, x.jsxs)(Vk, { children: [+ /* @__PURE__ */ (0, x.jsx)(mN, {label: "CloudDrive2 地址",placeholder: "留空自动查找",autoComplete: "off",@@ -64823,7 +64836,7 @@ function sNe({ state: e, settle: t, receipt: n, pikpakAccount: r }) {clouddrive_address: e})}),- /* @__PURE__ */ (0, x.jsx)(pN, {+ /* @__PURE__ */ (0, x.jsx)(mN, {label: "CloudDrive2 API 令牌",type: "password",autoComplete: "off",@@ -64834,8 +64847,8 @@ function sNe({ state: e, settle: t, receipt: n, pikpakAccount: r }) {isDisabled: !e.available,onChange: s}),- /* @__PURE__ */ (0, x.jsx)(pN, {- label: /* @__PURE__ */ (0, x.jsx)(cA, {+ /* @__PURE__ */ (0, x.jsx)(mN, {+ label: /* @__PURE__ */ (0, x.jsx)(lA, {source: "115",label: "115 目标目录"}),@@ -64849,8 +64862,8 @@ function sNe({ state: e, settle: t, receipt: n, pikpakAccount: r }) {isDisabled: !e.available,onChange: (e) => w("115", e)}),- /* @__PURE__ */ (0, x.jsx)(pN, {- label: /* @__PURE__ */ (0, x.jsx)(cA, {+ /* @__PURE__ */ (0, x.jsx)(mN, {+ label: /* @__PURE__ */ (0, x.jsx)(lA, {source: "pikpak",label: "PikPak 目标目录"}),@@ -64864,7 +64877,7 @@ function sNe({ state: e, settle: t, receipt: n, pikpakAccount: r }) {}),/* @__PURE__ */ (0, x.jsxs)("div", {className: "flex flex-col gap-1",- children: [/* @__PURE__ */ (0, x.jsx)(Wk, { children: /* @__PURE__ */ (0, x.jsx)(cA, {+ children: [/* @__PURE__ */ (0, x.jsx)(Gk, { children: /* @__PURE__ */ (0, x.jsx)(lA, {source: "pikpak",label: "PikPak 根目录对应的媒体文件夹"}) }), e.pikpak_roots.length ? /* @__PURE__ */ (0, x.jsx)(nL, {@@ -64880,9 +64893,9 @@ function sNe({ state: e, settle: t, receipt: n, pikpakAccount: r }) {id: e,children: e}, e))- }) : /* @__PURE__ */ (0, x.jsx)(Hk, { children: "先在「媒体库与入库」添加 PikPak 挂载文件夹。" })]+ }) : /* @__PURE__ */ (0, x.jsx)(Uk, { children: "先在「媒体库与入库」添加 PikPak 挂载文件夹。" })]}),- /* @__PURE__ */ (0, x.jsx)(pN, {+ /* @__PURE__ */ (0, x.jsx)(mN, {label: "等待上限(小时)",type: "number",inputMode: "numeric",@@ -64893,9 +64906,9 @@ function sNe({ state: e, settle: t, receipt: n, pikpakAccount: r }) {onChange: l})] }),- S.busy === "auto" ? /* @__PURE__ */ (0, x.jsx)(Bk, {+ S.busy === "auto" ? /* @__PURE__ */ (0, x.jsx)(Vk, {divided: !0,- children: /* @__PURE__ */ (0, x.jsx)(Ok, { label: "正在检查 CloudDrive2" })+ children: /* @__PURE__ */ (0, x.jsx)(kk, { label: "正在检查 CloudDrive2" })}) : null,u ? /* @__PURE__ */ (0, x.jsx)(cNe, {report: u,@@ -64921,11 +64934,11 @@ function sNe({ state: e, settle: t, receipt: n, pikpakAccount: r }) {} : void 0,creating: S.busy === "folder"}) : null,- g || S.error ? /* @__PURE__ */ (0, x.jsx)(Bk, {+ g || S.error ? /* @__PURE__ */ (0, x.jsx)(Vk, {divided: !0,- children: /* @__PURE__ */ (0, x.jsx)(Uk, { children: g || S.error })+ children: /* @__PURE__ */ (0, x.jsx)(Wk, { children: g || S.error })}) : null,- /* @__PURE__ */ (0, x.jsxs)(Vk, {+ /* @__PURE__ */ (0, x.jsxs)(Hk, {status: e.available ? void 0 : "云下载只在账本写入端可用。",children: [/* @__PURE__ */ (0, x.jsx)(G, {variant: "secondary",@@ -64941,7 +64954,7 @@ function sNe({ state: e, settle: t, receipt: n, pikpakAccount: r }) {pikpak_root: i.pikpak_root,pikpak_account: r};- S.run("check", (e) => H(Vz, t, "POST", e), (t) => E(t, e), (e) => _(B(e)));+ S.run("check", (e) => H(Hz, t, "POST", e), (t) => E(t, e), (e) => _(B(e)));},disabled: !e.available,...q(S.busy === "check"),@@ -64956,29 +64969,29 @@ function sNe({ state: e, settle: t, receipt: n, pikpakAccount: r }) {]});}-var Wz = {+var Gz = {target: null,root: "",saved: !1};function cNe({ report: e, detected: t, suggested: n, create: r, creating: i }) {let a = n.target;- return /* @__PURE__ */ (0, x.jsxs)(Bk, {+ return /* @__PURE__ */ (0, x.jsxs)(Vk, {divided: !0,- children: [/* @__PURE__ */ (0, x.jsxs)(Kk, { children: [- t ? /* @__PURE__ */ (0, x.jsx)(qk, {+ children: [/* @__PURE__ */ (0, x.jsxs)(qk, { children: [+ t ? /* @__PURE__ */ (0, x.jsx)(Jk, {term: "CloudDrive2 地址",children: `探测到 ${t},保存配置后生效`}) : null,- a?.exists ? /* @__PURE__ */ (0, x.jsx)(qk, {- term: /* @__PURE__ */ (0, x.jsx)(cA, {+ a?.exists ? /* @__PURE__ */ (0, x.jsx)(Jk, {+ term: /* @__PURE__ */ (0, x.jsx)(lA, {source: "115",label: "115 目标目录"}),children: n.saved ? `已按推送发现填入 ${a.path}` : `按推送发现填入 ${a.path},保存配置后生效`}) : null,- a && !a.exists ? /* @__PURE__ */ (0, x.jsxs)(qk, {- term: /* @__PURE__ */ (0, x.jsx)(cA, {+ a && !a.exists ? /* @__PURE__ */ (0, x.jsxs)(Jk, {+ term: /* @__PURE__ */ (0, x.jsx)(lA, {source: "115",label: "115 目标目录"}),@@ -64990,55 +65003,55 @@ function cNe({ report: e, detected: t, suggested: n, create: r, creating: i }) {children: "新建这个目录"}) : null]}) : null,- n.root ? /* @__PURE__ */ (0, x.jsx)(qk, {- term: /* @__PURE__ */ (0, x.jsx)(cA, {+ n.root ? /* @__PURE__ */ (0, x.jsx)(Jk, {+ term: /* @__PURE__ */ (0, x.jsx)(lA, {source: "pikpak",label: "PikPak 根目录"}),children: `按推送发现填入 ${n.root},保存配置后生效`}) : null,- e.permissions.length ? /* @__PURE__ */ (0, x.jsx)(qk, {+ e.permissions.length ? /* @__PURE__ */ (0, x.jsx)(Jk, {term: "离线权限",children: e.missing.length ? `缺少:${e.missing.join("、")}` : "齐全"}) : null,- e.folder ? /* @__PURE__ */ (0, x.jsx)(qk, {+ e.folder ? /* @__PURE__ */ (0, x.jsx)(Jk, {term: "目标目录",children: e.folder.can_offline ? `${e.folder.path} 可以离线下载` : `${e.folder.path} 不支持离线下载`}) : null,- e.quota ? /* @__PURE__ */ (0, x.jsx)(qk, {- term: /* @__PURE__ */ (0, x.jsx)(cA, {+ e.quota ? /* @__PURE__ */ (0, x.jsx)(Jk, {+ term: /* @__PURE__ */ (0, x.jsx)(lA, {source: "115",label: "115 离线配额"}),children: `本月还剩 ${e.quota.left} 条,共 ${e.quota.total} 条`}) : null- ] }), e.problems.map((e) => /* @__PURE__ */ (0, x.jsx)(Uk, { children: e }, e))]+ ] }), e.problems.map((e) => /* @__PURE__ */ (0, x.jsx)(Wk, { children: e }, e))]});}function lNe({ state: e, settle: t, receipt: n, username: r, setUsername: i }) {- let [a, o] = (0, b.useState)(""), [s, c] = (0, b.useState)(!1), [l, u] = (0, b.useState)(""), [d, f] = (0, b.useState)(""), [p, m] = (0, b.useState)(""), h = Mk(), g = e.pikpak, _ = e.pikpak_browser, v = _.state === "waiting";+ let [a, o] = (0, b.useState)(""), [s, c] = (0, b.useState)(!1), [l, u] = (0, b.useState)(""), [d, f] = (0, b.useState)(""), [p, m] = (0, b.useState)(""), h = Nk(), g = e.pikpak, _ = e.pikpak_browser, v = _.state === "waiting";(0, b.useEffect)(() => {if (!v) return;let e = new AbortController(), r, i = async () => {try {- let r = await V(Hz, e.signal);+ let r = await V(Uz, e.signal);if (e.signal.aborted || (t(r), r.pikpak_browser.state === "done" ? n("已登录 PikPak") : r.pikpak_browser.state !== "waiting" && m(r.pikpak_browser.message), r.pikpak_browser.state !== "waiting")) return;} catch (t) {if (e.signal.aborted) return;f(B(t));}- r = setTimeout(i, Uz);+ r = setTimeout(i, Wz);};- return r = setTimeout(i, Uz), () => {+ return r = setTimeout(i, Wz), () => {e.abort(), clearTimeout(r);};}, [v]);let y = () => {- m(""), h.run("browser", (e) => H(Hz, {}, "POST", e), (e) => {+ m(""), h.run("browser", (e) => H(Uz, {}, "POST", e), (e) => {t(e), f("");}, (e) => f(B(e)));}, S = () => {- h.run("cancel", (e) => H(`${Hz}/cancel`, {}, "POST", e), (e) => {+ h.run("cancel", (e) => H(`${Uz}/cancel`, {}, "POST", e), (e) => {t(e), f(""), m(e.pikpak_browser.message);}, (e) => f(B(e)));}, C = (e) => {@@ -65056,7 +65069,7 @@ function lNe({ state: e, settle: t, receipt: n, username: r, setUsername: i }) {t(e), f(""), n("已登出 PikPak");}, (e) => f(B(e)));}, T = /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [- /* @__PURE__ */ (0, x.jsx)(pN, {+ /* @__PURE__ */ (0, x.jsx)(mN, {label: "账号",placeholder: "邮箱或手机号",autoComplete: "username",@@ -65065,7 +65078,7 @@ function lNe({ state: e, settle: t, receipt: n, username: r, setUsername: i }) {isDisabled: !e.available,onChange: i}),- /* @__PURE__ */ (0, x.jsx)(pN, {+ /* @__PURE__ */ (0, x.jsx)(mN, {label: "密码",type: "password",autoComplete: "current-password",@@ -65085,7 +65098,7 @@ function lNe({ state: e, settle: t, receipt: n, username: r, setUsername: i }) {title: "需要人机验证",extra: /* @__PURE__ */ (0, x.jsx)("div", {className: "pt-2",- children: /* @__PURE__ */ (0, x.jsx)(Gk, {+ children: /* @__PURE__ */ (0, x.jsx)(Kk, {href: l,children: "打开 PikPak 验证页"})@@ -65098,24 +65111,24 @@ function lNe({ state: e, settle: t, receipt: n, username: r, setUsername: i }) {...q(h.busy === "login"),children: "登录"}), D = _.state === "timeout" || _.state === "failed";- return /* @__PURE__ */ (0, x.jsxs)(Rk, {+ return /* @__PURE__ */ (0, x.jsxs)(zk, {title: "PikPak 账号",- icon: /* @__PURE__ */ (0, x.jsx)(sA.pikpak, {}),+ icon: /* @__PURE__ */ (0, x.jsx)(cA.pikpak, {}),onSubmit: C,children: [- g.logged_in ? /* @__PURE__ */ (0, x.jsxs)(Kk, { children: [/* @__PURE__ */ (0, x.jsx)(qk, {+ g.logged_in ? /* @__PURE__ */ (0, x.jsxs)(qk, { children: [/* @__PURE__ */ (0, x.jsx)(Jk, {term: "账号",children: g.username || "已登录"- }), g.method === "browser" ? /* @__PURE__ */ (0, x.jsx)(qk, {+ }), g.method === "browser" ? /* @__PURE__ */ (0, x.jsx)(Jk, {term: "登录方式",children: "浏览器登录,由 Peach 续期"- }) : /* @__PURE__ */ (0, x.jsx)(qk, {+ }) : /* @__PURE__ */ (0, x.jsx)(Jk, {term: "密码",children: g.remember ? "已保存,登录过期时自动重新登录" : "未保存,登录过期后需要回到这里重新登录"- })] }) : _.available ? /* @__PURE__ */ (0, x.jsxs)(Bk, { children: [p ? D ? /* @__PURE__ */ (0, x.jsx)(Uk, { children: p }) : /* @__PURE__ */ (0, x.jsx)(Hk, {+ })] }) : _.available ? /* @__PURE__ */ (0, x.jsxs)(Vk, { children: [p ? D ? /* @__PURE__ */ (0, x.jsx)(Wk, { children: p }) : /* @__PURE__ */ (0, x.jsx)(Uk, {role: "status",children: p- }) : null, /* @__PURE__ */ (0, x.jsx)(Jk, {+ }) : null, /* @__PURE__ */ (0, x.jsx)(Yk, {summary: "用账号密码登录",children: /* @__PURE__ */ (0, x.jsxs)("div", {className: "flex flex-col gap-4",@@ -65124,13 +65137,13 @@ function lNe({ state: e, settle: t, receipt: n, username: r, setUsername: i }) {children: E})]})- })] }) : /* @__PURE__ */ (0, x.jsx)(Bk, { children: T }),- d || h.error ? /* @__PURE__ */ (0, x.jsx)(Bk, {+ })] }) : /* @__PURE__ */ (0, x.jsx)(Vk, { children: T }),+ d || h.error ? /* @__PURE__ */ (0, x.jsx)(Vk, {divided: !0,- children: /* @__PURE__ */ (0, x.jsx)(Uk, { children: d || h.error })+ children: /* @__PURE__ */ (0, x.jsx)(Wk, { children: d || h.error })}) : null,- /* @__PURE__ */ (0, x.jsx)(Vk, {- status: !g.logged_in && v ? /* @__PURE__ */ (0, x.jsx)(Ok, { label: _.message || "等你在浏览器窗口里登录 PikPak" }) : null,+ /* @__PURE__ */ (0, x.jsx)(Hk, {+ status: !g.logged_in && v ? /* @__PURE__ */ (0, x.jsx)(kk, { label: _.message || "等你在浏览器窗口里登录 PikPak" }) : null,children: g.logged_in ? /* @__PURE__ */ (0, x.jsx)(G, {variant: "secondary",onClick: w,@@ -65163,7 +65176,7 @@ var uNe = [];function dNe({ data: e, receipt: t, reopenTutorial: n, panel: r }) {return /* @__PURE__ */ (0, x.jsxs)("div", {- ...Bz(r),+ ...Vz(r),children: [/* @__PURE__ */ (0, x.jsx)(mNe, { facts: e.facts }),/* @__PURE__ */ (0, x.jsx)(fNe, {@@ -65178,11 +65191,11 @@ function dNe({ data: e, receipt: t, reopenTutorial: n, panel: r }) {});}function fNe({ receipt: e, reopenTutorial: t }) {- let n = Mk();+ let n = Nk();return /* @__PURE__ */ (0, x.jsx)("section", {"aria-label": "安装教程",className: "w-full",- children: /* @__PURE__ */ (0, x.jsxs)(Nk, { children: [/* @__PURE__ */ (0, x.jsx)(zk, { children: /* @__PURE__ */ (0, x.jsx)(Fk, {+ children: /* @__PURE__ */ (0, x.jsxs)(Pk, { children: [/* @__PURE__ */ (0, x.jsx)(Bk, { children: /* @__PURE__ */ (0, x.jsx)(Ik, {label: "安装教程",children: /* @__PURE__ */ (0, x.jsx)(G, {variant: "secondary",@@ -65190,22 +65203,22 @@ function fNe({ receipt: e, reopenTutorial: t }) {...q(n.busy === "reopen"),children: "重新打开教程"})- }) }), n.error ? /* @__PURE__ */ (0, x.jsx)(Bk, { children: /* @__PURE__ */ (0, x.jsx)(Uk, { children: n.error }) }) : null] })+ }) }), n.error ? /* @__PURE__ */ (0, x.jsx)(Vk, { children: /* @__PURE__ */ (0, x.jsx)(Wk, { children: n.error }) }) : null] })});}function pNe({ initial: e, receipt: t }) {- let [n, r] = (0, b.useState)(e.mode), [i, a] = (0, b.useState)(e.interval_hours), o = Mk(e.error), s = (r) => {+ let [n, r] = (0, b.useState)(e.mode), [i, a] = (0, b.useState)(e.interval_hours), o = Nk(e.error), s = (r) => {r.preventDefault(), e.available && o.run("save", (e) => H("/api/configuration/automatic-updates", {mode: n,interval_hours: i}, "POST", e), () => t("已保存配置"));}, c = e.available ? e.download_available ? "下载完成后在这里确认重启安装。" : void 0 : "自动更新需要由托盘管理的服务。";- return /* @__PURE__ */ (0, x.jsxs)(Rk, {+ return /* @__PURE__ */ (0, x.jsxs)(zk, {title: "自动更新",onSubmit: s,children: [- /* @__PURE__ */ (0, x.jsxs)(zk, { children: [- /* @__PURE__ */ (0, x.jsx)(Fk, {+ /* @__PURE__ */ (0, x.jsxs)(Bk, { children: [+ /* @__PURE__ */ (0, x.jsx)(Ik, {label: "自动检查新版本",children: /* @__PURE__ */ (0, x.jsx)(BR, {"aria-label": "自动检查新版本",@@ -65214,7 +65227,7 @@ function pNe({ initial: e, receipt: t }) {onChange: (e) => r(e ? "check" : "off")})}),- /* @__PURE__ */ (0, x.jsx)(Fk, {+ /* @__PURE__ */ (0, x.jsx)(Ik, {label: "自动下载更新",children: /* @__PURE__ */ (0, x.jsx)(BR, {"aria-label": "自动下载更新",@@ -65223,7 +65236,7 @@ function pNe({ initial: e, receipt: t }) {onChange: (e) => r(e ? "download" : "check")})}),- /* @__PURE__ */ (0, x.jsx)(Fk, {+ /* @__PURE__ */ (0, x.jsx)(Ik, {label: "检查频率",description: c,children: /* @__PURE__ */ (0, x.jsx)(nL, {@@ -65240,11 +65253,11 @@ function pNe({ initial: e, receipt: t }) {})})] }),- o.error ? /* @__PURE__ */ (0, x.jsx)(Bk, {+ o.error ? /* @__PURE__ */ (0, x.jsx)(Vk, {divided: !0,- children: /* @__PURE__ */ (0, x.jsx)(Uk, { children: o.error })+ children: /* @__PURE__ */ (0, x.jsx)(Wk, { children: o.error })}) : null,- /* @__PURE__ */ (0, x.jsx)(Vk, { children: /* @__PURE__ */ (0, x.jsx)(G, {+ /* @__PURE__ */ (0, x.jsx)(Hk, { children: /* @__PURE__ */ (0, x.jsx)(G, {type: "submit",disabled: !e.available,...q(o.busy === "save"),@@ -65254,17 +65267,17 @@ function pNe({ initial: e, receipt: t }) {});}function mNe({ facts: e }) {- return /* @__PURE__ */ (0, x.jsxs)(Rk, {+ return /* @__PURE__ */ (0, x.jsxs)(zk, {title: "运行信息",- children: [/* @__PURE__ */ (0, x.jsx)(Kk, { children: e.map((e) => /* @__PURE__ */ (0, x.jsxs)(qk, {+ children: [/* @__PURE__ */ (0, x.jsx)(qk, { children: e.map((e) => /* @__PURE__ */ (0, x.jsxs)(Jk, {term: e.term,- children: [e.value, e.download_url ? /* @__PURE__ */ (0, x.jsx)(Gk, {+ children: [e.value, e.download_url ? /* @__PURE__ */ (0, x.jsx)(Kk, {href: e.download_url,children: e.download_label}) : null]- }, e.term)) }), /* @__PURE__ */ (0, x.jsx)(zk, { children: /* @__PURE__ */ (0, x.jsx)(Fk, {+ }, e.term)) }), /* @__PURE__ */ (0, x.jsx)(Bk, { children: /* @__PURE__ */ (0, x.jsx)(Ik, {label: "系统诊断",- children: /* @__PURE__ */ (0, x.jsx)(Tk, {+ children: /* @__PURE__ */ (0, x.jsx)(Ek, {variant: "secondary",href: "/diagnostics",children: "打开系统诊断"@@ -65286,12 +65299,12 @@ function hNe({ uninstall: e, receipt: t }) {a(e.message);}}), s = i || e.message, c = [.../* @__PURE__ */ new Set([e.data_root, ...e.directories])];- return /* @__PURE__ */ (0, x.jsxs)(Rk, {+ return /* @__PURE__ */ (0, x.jsxs)(zk, {id: "uninstallPeach",title: "卸载 Peach",- children: [/* @__PURE__ */ (0, x.jsxs)(Bk, { children: [- e.available ? /* @__PURE__ */ (0, x.jsx)(Hk, { children: "卸载移除 Peach 程序本身,原始媒体文件保留。" }) : null,- /* @__PURE__ */ (0, x.jsx)(Fk, {+ children: [/* @__PURE__ */ (0, x.jsxs)(Vk, { children: [+ e.available ? /* @__PURE__ */ (0, x.jsx)(Uk, { children: "卸载移除 Peach 程序本身,原始媒体文件保留。" }) : null,+ /* @__PURE__ */ (0, x.jsx)(Ik, {label: "完全卸载",description: "同时删除设置、本地数据库、观看记录、凭据和缓存",children: /* @__PURE__ */ (0, x.jsx)(BR, {@@ -65301,15 +65314,15 @@ function hNe({ uninstall: e, receipt: t }) {onChange: r})}),- /* @__PURE__ */ (0, x.jsx)(Jk, {+ /* @__PURE__ */ (0, x.jsx)(Yk, {summary: "数据目录",- children: c.map((e) => /* @__PURE__ */ (0, x.jsx)(QI, {+ children: c.map((e) => /* @__PURE__ */ (0, x.jsx)($I, {path: e,className: "text-body-2-regular text-text-secondary",onRevealed: t}, e))})- ] }), /* @__PURE__ */ (0, x.jsx)(Vk, {+ ] }), /* @__PURE__ */ (0, x.jsx)(Hk, {status: s ? /* @__PURE__ */ (0, x.jsx)("p", {role: i ? "status" : void 0,children: s@@ -65325,7 +65338,7 @@ function hNe({ uninstall: e, receipt: t }) {}//#endregion//#region src/react/settings/release-updates.tsx-var Gz = /* @__PURE__ */ new Set([+var Kz = /* @__PURE__ */ new Set(["downloading","verifying","extracting",@@ -65336,12 +65349,12 @@ var Gz = /* @__PURE__ */ new Set([65,67,90-], Kz = 120;+], qz = 120;function _Ne({ initial: e, initialJob: t }) {let [n, r] = (0, b.useState)(e), [i, a] = (0, b.useState)(t || {state: "idle",progress: 0- }), [o, s] = (0, b.useState)(""), c = Mk(), l = (0, b.useRef)(!1), u = (0, b.useRef)(!0), d = Gz.has(i.state);+ }), [o, s] = (0, b.useState)(""), c = Nk(), l = (0, b.useRef)(!1), u = (0, b.useRef)(!0), d = Kz.has(i.state);(0, b.useEffect)(() => (u.current = !0, () => {u.current = !1;}), []);@@ -65358,7 +65371,7 @@ function _Ne({ initial: e, initialJob: t }) {(0, b.useEffect)(() => {i.state !== "ready" || l.current || (l.current = !0, p());}, [i.state]), (0, b.useEffect)(() => {- let e = new AbortController(), t = Gz.has(i.state) ? 1e3 : 3e4, n, o = 0, c = async () => {+ let e = new AbortController(), t = Kz.has(i.state) ? 1e3 : 3e4, n, o = 0, c = async () => {try {let t = await V("/api/configuration/update-status", e.signal);if (e.signal.aborted) return;@@ -65371,9 +65384,9 @@ function _Ne({ initial: e, initialJob: t }) {let n = await V("/api/configuration/automatic-updates", e.signal);!e.signal.aborted && n.result && r(n.result);} catch {- o += 1, o >= Kz && !e.signal.aborted && s("尚未连接到 Peach,请检查托盘后刷新页面。");+ o += 1, o >= qz && !e.signal.aborted && s("尚未连接到 Peach,请检查托盘后刷新页面。");}- !e.signal.aborted && o < Kz && (n = setTimeout(c, t));+ !e.signal.aborted && o < qz && (n = setTimeout(c, t));};return n = setTimeout(c, t), () => {e.abort(), clearTimeout(n);@@ -65387,57 +65400,57 @@ function _Ne({ initial: e, initialJob: t }) {state: "error"}), c.setError(B(t));}), g = c.error || o, _ = i.state === "downloading" && i.total ? `${((i.downloaded || 0) / 1048576).toFixed(1)} / ${(i.total / 1048576).toFixed(1)} MB` : `${i.progress}%`;- return /* @__PURE__ */ (0, x.jsxs)(Rk, {+ return /* @__PURE__ */ (0, x.jsxs)(zk, {title: "检查更新",children: [- /* @__PURE__ */ (0, x.jsxs)(Kk, { children: [- /* @__PURE__ */ (0, x.jsx)(qk, {+ /* @__PURE__ */ (0, x.jsxs)(qk, { children: [+ /* @__PURE__ */ (0, x.jsx)(Jk, {term: "当前版本",children: n.current_version}),- /* @__PURE__ */ (0, x.jsx)(qk, {+ /* @__PURE__ */ (0, x.jsx)(Jk, {term: "安装方式",children: n.installation}),- /* @__PURE__ */ (0, x.jsx)(qk, {+ /* @__PURE__ */ (0, x.jsx)(Jk, {term: "更新通道",children: n.channel}),- /* @__PURE__ */ (0, x.jsx)(qk, {+ /* @__PURE__ */ (0, x.jsx)(Jk, {term: "最新版本",children: n.latest_version || (n.state === "unchecked" ? "尚未检查" : "未取得")})] }),- n.state === "unchecked" && !n.checked_at && !g && i.state === "idle" ? null : /* @__PURE__ */ (0, x.jsxs)(Bk, {+ n.state === "unchecked" && !n.checked_at && !g && i.state === "idle" ? null : /* @__PURE__ */ (0, x.jsxs)(Vk, {divided: !0,children: [- n.checked_at ? /* @__PURE__ */ (0, x.jsxs)(Hk, { children: ["检查于 ", (/* @__PURE__ */ new Date(n.checked_at * 1e3)).toLocaleString()] }) : null,+ n.checked_at ? /* @__PURE__ */ (0, x.jsxs)(Uk, { children: ["检查于 ", (/* @__PURE__ */ new Date(n.checked_at * 1e3)).toLocaleString()] }) : null,n.state === "available" && !g ? /* @__PURE__ */ (0, x.jsx)(K, {tone: "info",title: "有可用更新",children: n.message- }) : g || n.state === "error" ? /* @__PURE__ */ (0, x.jsx)(Uk, { children: g || n.message }) : n.state === "unchecked" ? null : /* @__PURE__ */ (0, x.jsx)(Hk, {+ }) : g || n.state === "error" ? /* @__PURE__ */ (0, x.jsx)(Wk, { children: g || n.message }) : n.state === "unchecked" ? null : /* @__PURE__ */ (0, x.jsx)(Uk, {role: "status",children: n.message}),- i.state === "error" ? /* @__PURE__ */ (0, x.jsx)(Uk, { children: i.message }) : null,+ i.state === "error" ? /* @__PURE__ */ (0, x.jsx)(Wk, { children: i.message }) : null,i.state !== "idle" && i.state !== "error" ? /* @__PURE__ */ (0, x.jsxs)("div", {"aria-live": "polite",className: "flex flex-col gap-2",children: [- /* @__PURE__ */ (0, x.jsx)(jk, {+ /* @__PURE__ */ (0, x.jsx)(Mk, {label: "更新准备进度",value: i.progress,stops: gNe}),- /* @__PURE__ */ (0, x.jsxs)(Hk, { children: ["下载 → 校验 → 解压 → 准备安装 · ", i.message] }),- /* @__PURE__ */ (0, x.jsx)(Hk, { children: _ })+ /* @__PURE__ */ (0, x.jsxs)(Uk, { children: ["下载 → 校验 → 解压 → 准备安装 · ", i.message] }),+ /* @__PURE__ */ (0, x.jsx)(Uk, { children: _ })]}) : null]}),- /* @__PURE__ */ (0, x.jsxs)(Vk, {- status: /* @__PURE__ */ (0, x.jsx)(Gk, {+ /* @__PURE__ */ (0, x.jsxs)(Hk, {+ status: /* @__PURE__ */ (0, x.jsx)(Kk, {href: n.release_url,children: "查看发布页"}),@@ -65467,7 +65480,7 @@ function _Ne({ initial: e, initialJob: t }) {//#region src/react/settings/general-settings.tsxfunction vNe({ data: e, receipt: t, panel: n }) {return /* @__PURE__ */ (0, x.jsxs)("div", {- ...Bz(n),+ ...Vz(n),children: [e.startup ? /* @__PURE__ */ (0, x.jsx)(yNe, {startup: e.startup,@@ -65485,8 +65498,8 @@ function vNe({ data: e, receipt: t, panel: n }) {});}function yNe({ startup: e, receipt: t }) {- let [n, r] = (0, b.useState)(e.enabled), [i, a] = (0, b.useState)(e.silent), [o, s] = (0, b.useState)(e.desktop), c = Mk(), l = e.available && !e.desktop_message;- return /* @__PURE__ */ (0, x.jsxs)(Rk, {+ let [n, r] = (0, b.useState)(e.enabled), [i, a] = (0, b.useState)(e.silent), [o, s] = (0, b.useState)(e.desktop), c = Nk(), l = e.available && !e.desktop_message;+ return /* @__PURE__ */ (0, x.jsxs)(zk, {title: "开机自启",onSubmit: (r) => {r.preventDefault(), e.available && c.run("save", (e) => H("/api/configuration/startup", {@@ -65496,8 +65509,8 @@ function yNe({ startup: e, receipt: t }) {}, "POST", e), () => t("已保存配置"));},children: [- /* @__PURE__ */ (0, x.jsxs)(zk, { children: [- /* @__PURE__ */ (0, x.jsx)(Fk, {+ /* @__PURE__ */ (0, x.jsxs)(Bk, { children: [+ /* @__PURE__ */ (0, x.jsx)(Ik, {label: "开机后启动 Peach",children: /* @__PURE__ */ (0, x.jsx)(BR, {"aria-label": "开机后启动 Peach",@@ -65506,7 +65519,7 @@ function yNe({ startup: e, receipt: t }) {onChange: r})}),- /* @__PURE__ */ (0, x.jsx)(Fk, {+ /* @__PURE__ */ (0, x.jsx)(Ik, {label: "只启动托盘,不打开网页",children: /* @__PURE__ */ (0, x.jsx)(BR, {"aria-label": "只启动托盘,不打开网页",@@ -65515,7 +65528,7 @@ function yNe({ startup: e, receipt: t }) {onChange: a})}),- /* @__PURE__ */ (0, x.jsx)(Fk, {+ /* @__PURE__ */ (0, x.jsx)(Ik, {label: "在桌面创建快捷方式",description: e.desktop_message || void 0,children: /* @__PURE__ */ (0, x.jsx)(BR, {@@ -65526,11 +65539,11 @@ function yNe({ startup: e, receipt: t }) {})})] }),- e.message || c.error ? /* @__PURE__ */ (0, x.jsxs)(Bk, {+ e.message || c.error ? /* @__PURE__ */ (0, x.jsxs)(Vk, {divided: !0,- children: [e.message ? /* @__PURE__ */ (0, x.jsx)(Hk, { children: e.message }) : null, c.error ? /* @__PURE__ */ (0, x.jsx)(Uk, { children: c.error }) : null]+ children: [e.message ? /* @__PURE__ */ (0, x.jsx)(Uk, { children: e.message }) : null, c.error ? /* @__PURE__ */ (0, x.jsx)(Wk, { children: c.error }) : null]}) : null,- /* @__PURE__ */ (0, x.jsx)(Vk, { children: /* @__PURE__ */ (0, x.jsx)(G, {+ /* @__PURE__ */ (0, x.jsx)(Hk, { children: /* @__PURE__ */ (0, x.jsx)(G, {type: "submit",disabled: !e.available,...q(c.busy === "save"),@@ -65541,7 +65554,7 @@ function yNe({ startup: e, receipt: t }) {}//#endregion//#region src/react/restart-redirect.ts-var qz = 8e3, bNe = [+var Jz = 8e3, bNe = [{name: "机械硬盘,或内存 8 GB 以内",cache: "10–20 GiB",@@ -65568,14 +65581,14 @@ var qz = 8e3, bNe = [function SNe() {return /* @__PURE__ */ (0, x.jsx)("div", {className: "@container flex flex-col gap-3",- children: /* @__PURE__ */ (0, x.jsxs)(Jk, {+ children: /* @__PURE__ */ (0, x.jsxs)(Yk, {summary: "CloudDrive 设置帮助",children: [- /* @__PURE__ */ (0, x.jsxs)(Hk, { children: ["先在 CloudDrive 登录网盘并挂载,开启「启动时自动挂载」。", /* @__PURE__ */ (0, x.jsx)(Gk, {+ /* @__PURE__ */ (0, x.jsxs)(Uk, { children: ["先在 CloudDrive 登录网盘并挂载,开启「启动时自动挂载」。", /* @__PURE__ */ (0, x.jsx)(Kk, {href: "https://www.clouddrive2.com/help.html",children: "挂载帮助"})] }),- /* @__PURE__ */ (0, x.jsx)(Hk, { children: "缓存按所在硬盘和可用内存选起步值,再根据播放表现调整。" }),+ /* @__PURE__ */ (0, x.jsx)(Uk, { children: "缓存按所在硬盘和可用内存选起步值,再根据播放表现调整。" }),/* @__PURE__ */ (0, x.jsx)("ul", {"aria-label": "按缓存所在硬盘分档",className: "flex flex-col gap-2",@@ -65607,7 +65620,7 @@ function SNe() {/* @__PURE__ */ (0, x.jsx)("li", { children: "Buffer Cache 占内存,磁盘缓存和文件夹缓存占硬盘,改一个管不住另外两个。" })]}),- /* @__PURE__ */ (0, x.jsx)(Hk, { children: /* @__PURE__ */ (0, x.jsx)(Gk, {+ /* @__PURE__ */ (0, x.jsx)(Uk, { children: /* @__PURE__ */ (0, x.jsx)(Kk, {href: "https://github.com/peach-mitao/peach/blob/master/docs/CLOUDDRIVE.md",children: "完整配置与调优说明"}) })@@ -65630,11 +65643,11 @@ function CNe({ className: e }) {children: /* @__PURE__ */ (0, x.jsx)("use", { href: "#i-folder-search" })});}-var Jz = [+var Yz = [["local", "本地磁盘"],["115", "CloudDrive · 115"],["pikpak", "CloudDrive · PikPak"]-], Yz = (e) => eo[e] || "database", wNe = (e) => e === "115" || e === "pikpak";+], Xz = (e) => eo[e] || "database", wNe = (e) => e === "115" || e === "pikpak";function TNe({ initial: e, blank: t, pickFolder: n, describe: r, focusAfterPick: i = !1 }) {let [a, o] = (0, b.useState)(e), [s, c] = (0, b.useState)([]), [l, u] = (0, b.useState)(null), [d, f] = (0, b.useState)(null), p = (0, b.useRef)(!1), m = (0, b.useRef)([]);(0, b.useLayoutEffect)(() => {@@ -65691,7 +65704,7 @@ function ENe({ label: e, path: t, onPath: n, error: r, inputRef: i, picking: a,children: [/* @__PURE__ */ (0, x.jsxs)("div", {className: "flex items-start gap-2",children: [- /* @__PURE__ */ (0, x.jsx)(pN, {+ /* @__PURE__ */ (0, x.jsx)(mN, {className: "min-w-0 flex-1","aria-label": e,placeholder: "本机文件夹路径",@@ -65709,7 +65722,7 @@ function ENe({ label: e, path: t, onPath: n, error: r, inputRef: i, picking: a,className: "flex h-9 shrink-0 items-center",children: c}) : null,- /* @__PURE__ */ (0, x.jsx)(ZI, {+ /* @__PURE__ */ (0, x.jsx)(QI, {icon: CNe,"aria-label": "选择文件夹",onClick: o,@@ -65718,7 +65731,7 @@ function ENe({ label: e, path: t, onPath: n, error: r, inputRef: i, picking: a,s ? /* @__PURE__ */ (0, x.jsx)(G, {variant: "danger",iconOnly: !0,- leadingIcon: GO,+ leadingIcon: KO,"aria-label": "移除这个文件夹",onClick: s}) : null@@ -65729,7 +65742,7 @@ function ENe({ label: e, path: t, onPath: n, error: r, inputRef: i, picking: a,})]});}-function DNe({ index: e, value: t, onChange: n, options: r = Jz }) {+function DNe({ index: e, value: t, onChange: n, options: r = Yz }) {return /* @__PURE__ */ (0, x.jsx)(nL, {className: "w-full @lg:w-60","aria-label": `媒体来源 ${e + 1}`,@@ -65740,12 +65753,12 @@ function DNe({ index: e, value: t, onChange: n, options: r = Jz }) {children: r.map(([e, t]) => /* @__PURE__ */ (0, x.jsxs)(rL, {id: e,textValue: t,- children: [/* @__PURE__ */ (0, x.jsx)(Yk, { mark: Yz(e) }), t]+ children: [/* @__PURE__ */ (0, x.jsx)(Xk, { mark: Xz(e) }), t]}, e))});}function ONe({ value: e, onChange: t, label: n = "Windows 中的对应路径", placeholder: r = "例如 B:\\" }) {- return /* @__PURE__ */ (0, x.jsx)(pN, {+ return /* @__PURE__ */ (0, x.jsx)(mN, {label: n,placeholder: r,value: e,@@ -65754,7 +65767,7 @@ function ONe({ value: e, onChange: t, label: n = "Windows 中的对应路径", p}//#endregion//#region src/react/settings/library-icon-picker.tsx-var Xz = [+var Zz = [["", "自动识别"],["hard-drive", "磁盘"],["database", "资料库"],@@ -65802,7 +65815,7 @@ function kNe(e) {let t = e === "local" ? "" : eo[e];return t ? [t, "自动识别"] : ["hard-drive", "默认"];}-var Zz = "auto";+var Qz = "auto";function ANe({ value: e, label: t, kind: n = "local", onChange: r }) {let i = (0, b.useRef)(null), [a, o] = (0, b.useState)(!1), [s, c] = (0, b.useState)(e), [l, u] = kNe(n);return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(G, {@@ -65818,35 +65831,35 @@ function ANe({ value: e, label: t, kind: n = "local", onChange: r }) {children: /* @__PURE__ */ (0, x.jsxs)("span", {"data-icon-choice": !0,className: "flex items-center gap-2",- children: [/* @__PURE__ */ (0, x.jsx)(Yk, { mark: e || l }), ((e) => e && Xz.find(([t]) => t === e)?.[1] || u)(e)]+ children: [/* @__PURE__ */ (0, x.jsx)(Xk, { mark: e || l }), ((e) => e && Zz.find(([t]) => t === e)?.[1] || u)(e)]})- }), /* @__PURE__ */ (0, x.jsx)(dM, {+ }), /* @__PURE__ */ (0, x.jsx)(fM, {triggerRef: i,isOpen: a,onOpenChange: o,placement: "bottom start",offset: 4,- className: DI,- children: /* @__PURE__ */ (0, x.jsxs)(CM, {+ className: OI,+ children: /* @__PURE__ */ (0, x.jsxs)(wM, {"aria-label": `${t}候选`,className: "flex w-72 flex-col gap-3 outline-none",children: [- /* @__PURE__ */ (0, x.jsx)(KA, {+ /* @__PURE__ */ (0, x.jsx)(qA, {slot: "title",className: "px-1 text-body-medium text-text-primary",children: "选择媒体库图标"}),- /* @__PURE__ */ (0, x.jsx)(AM, {+ /* @__PURE__ */ (0, x.jsx)(jM, {"aria-label": "候选图标",- value: s || Zz,- onChange: (e) => c(e === Zz ? "" : e),+ value: s || Qz,+ onChange: (e) => c(e === Qz ? "" : e),className: "inline-grid grid-cols-7 gap-1",- children: Xz.map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(jM, {- value: e || Zz,+ children: Zz.map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(MM, {+ value: e || Qz,"aria-label": e ? t : u,className: "flex h-10 cursor-pointer items-center justify-center rounded-lg text-foreground-icon-secondary outline-none hover:bg-dropdown-item-hover-background focus-visible:ring-2 focus-visible:ring-border-focus-ring data-selected:bg-dropdown-item-hover-background data-selected:text-text-primary",- children: /* @__PURE__ */ (0, x.jsx)(Yk, { mark: e || l })- }, e || Zz))+ children: /* @__PURE__ */ (0, x.jsx)(Xk, { mark: e || l })+ }, e || Qz))}),/* @__PURE__ */ (0, x.jsxs)("div", {className: "flex justify-end gap-2 border-t border-separator-border pt-2.5",@@ -65870,7 +65883,7 @@ function ANe({ value: e, label: t, kind: n = "local", onChange: r }) {//#region src/react/settings/push-discovery-settings.tsxvar jNe = "/api/configuration/push-discovery", MNe = "/api/configuration/push-discovery/secret";function NNe({ initial: e, receipt: t }) {- let [n, r] = (0, b.useState)(e), [i, a] = (0, b.useState)(e.prefixes), [o, s] = (0, b.useState)(""), c = Mk(), l = YI(), u = n.media_roots, [d, f] = (0, b.useState)(e), p = (e, n) => {+ let [n, r] = (0, b.useState)(e), [i, a] = (0, b.useState)(e.prefixes), [o, s] = (0, b.useState)(""), c = Nk(), l = XI(), u = n.media_roots, [d, f] = (0, b.useState)(e), p = (e, n) => {r(e), f(e), a(e.prefixes), s(""), t(n);}, m = (e, t) => a((n) => n.map((n, r) => r === e ? {...n,@@ -65889,12 +65902,12 @@ function NNe({ initial: e, receipt: t }) {}, _ = () => {navigator.clipboard.writeText(d.config_toml).then(() => t("已复制 CloudDrive2 配置"), () => s("浏览器没让这一页写剪贴板,展开「查看配置」选中自己复制。"));}, v = `已入库 ${d.queue.ingested} 个文件` + (d.queue.pending ? `,队列里还有 ${d.queue.pending} 条` : ""), y = d.local_running ? `正在监视 ${d.local_roots.join("、")}` : d.local_message || "没有运行";- return /* @__PURE__ */ (0, x.jsxs)(Rk, {+ return /* @__PURE__ */ (0, x.jsxs)(zk, {title: "推送发现",onSubmit: h,children: [- /* @__PURE__ */ (0, x.jsxs)(zk, { children: [- /* @__PURE__ */ (0, x.jsx)(Fk, {+ /* @__PURE__ */ (0, x.jsxs)(Bk, { children: [+ /* @__PURE__ */ (0, x.jsx)(Ik, {label: "新文件落地就入库",description: d.enabled ? v : void 0,children: /* @__PURE__ */ (0, x.jsx)(BR, {@@ -65907,7 +65920,7 @@ function NNe({ initial: e, receipt: t }) {})})}),- /* @__PURE__ */ (0, x.jsx)(Fk, {+ /* @__PURE__ */ (0, x.jsx)(Ik, {label: "监视本机文件夹",description: d.enabled && d.watch_local ? y : void 0,children: /* @__PURE__ */ (0, x.jsx)(BR, {@@ -65920,7 +65933,7 @@ function NNe({ initial: e, receipt: t }) {})})}),- /* @__PURE__ */ (0, x.jsx)(Fk, {+ /* @__PURE__ */ (0, x.jsx)(Ik, {label: "接收 CloudDrive2 通知",children: /* @__PURE__ */ (0, x.jsx)(BR, {"aria-label": "接收 CloudDrive2 通知",@@ -65932,7 +65945,7 @@ function NNe({ initial: e, receipt: t }) {})})}),- d.enabled && d.cloud ? /* @__PURE__ */ (0, x.jsx)(Fk, {+ d.enabled && d.cloud ? /* @__PURE__ */ (0, x.jsx)(Ik, {label: "Webhook 配置",description: d.config_toml ? "贴进 CloudDrive2「设置 → Webhooks」,需要会员;更换密钥后要重贴。" : d.origin ? "还没有共享密钥,保存配置后生成。" : "要先有 CloudDrive2 能访问的 HTTPS 地址才能生成。",children: d.config_toml ? /* @__PURE__ */ (0, x.jsx)(G, {@@ -65943,11 +65956,11 @@ function NNe({ initial: e, receipt: t }) {}) : null}) : null] }),- d.enabled && d.cloud && d.config_toml ? /* @__PURE__ */ (0, x.jsx)(Bk, {+ d.enabled && d.cloud && d.config_toml ? /* @__PURE__ */ (0, x.jsx)(Vk, {divided: !0,children: /* @__PURE__ */ (0, x.jsx)("div", {className: "flex flex-col gap-3",- children: /* @__PURE__ */ (0, x.jsxs)(Jk, {+ children: /* @__PURE__ */ (0, x.jsxs)(Yk, {summary: "查看配置",children: [/* @__PURE__ */ (0, x.jsx)("div", {className: "relative",@@ -65957,16 +65970,16 @@ function NNe({ initial: e, receipt: t }) {className: "overflow-x-auto rounded-2xl bg-background-tertiary-default p-3 text-caption-1-regular whitespace-pre text-text-primary",children: d.config_toml})- }), /* @__PURE__ */ (0, x.jsx)(Hk, { children: "Windows 桌面版粘贴后显示「无效」时,把这段存成 .toml 文件,放进 %LOCALAPPDATA%\\CloudDrive.WinUI\\webhooks\\ 目录。" })]+ }), /* @__PURE__ */ (0, x.jsx)(Uk, { children: "Windows 桌面版粘贴后显示「无效」时,把这段存成 .toml 文件,放进 %LOCALAPPDATA%\\CloudDrive.WinUI\\webhooks\\ 目录。" })]})})}) : null,- n.enabled && n.cloud ? /* @__PURE__ */ (0, x.jsx)(Bk, {+ n.enabled && n.cloud ? /* @__PURE__ */ (0, x.jsx)(Vk, {divided: !0,children: /* @__PURE__ */ (0, x.jsxs)("div", {className: "flex flex-col gap-3",children: [- /* @__PURE__ */ (0, x.jsx)(Wk, { children: "云端路径前缀" }),+ /* @__PURE__ */ (0, x.jsx)(Gk, { children: "云端路径前缀" }),/* @__PURE__ */ (0, x.jsx)("div", {role: "group","aria-label": "云端路径前缀",@@ -65974,7 +65987,7 @@ function NNe({ initial: e, receipt: t }) {children: i.map((e, t) => /* @__PURE__ */ (0, x.jsxs)("div", {className: "flex items-start gap-2",children: [- /* @__PURE__ */ (0, x.jsx)(pN, {+ /* @__PURE__ */ (0, x.jsx)(mN, {className: "min-w-0 flex-1","aria-label": `云端路径前缀 ${t + 1}`,placeholder: "/115",@@ -65997,7 +66010,7 @@ function NNe({ initial: e, receipt: t }) {/* @__PURE__ */ (0, x.jsx)(G, {variant: "danger",iconOnly: !0,- leadingIcon: GO,+ leadingIcon: KO,"aria-label": "移除这一条",onClick: () => a((e) => e.filter((e, n) => n !== t))})@@ -66016,11 +66029,11 @@ function NNe({ initial: e, receipt: t }) {]})}) : null,- o || c.error ? /* @__PURE__ */ (0, x.jsx)(Bk, {+ o || c.error ? /* @__PURE__ */ (0, x.jsx)(Vk, {divided: !0,- children: /* @__PURE__ */ (0, x.jsx)(Uk, { children: o || c.error })+ children: /* @__PURE__ */ (0, x.jsx)(Wk, { children: o || c.error })}) : null,- /* @__PURE__ */ (0, x.jsxs)(Vk, { children: [d.enabled && d.cloud && d.config_toml ? /* @__PURE__ */ (0, x.jsx)(G, {+ /* @__PURE__ */ (0, x.jsxs)(Hk, { children: [d.enabled && d.cloud && d.config_toml ? /* @__PURE__ */ (0, x.jsx)(G, {variant: "secondary",onClick: g,disabled: !n.available,@@ -66037,7 +66050,7 @@ function NNe({ initial: e, receipt: t }) {}//#endregion//#region src/application/initial-follow-ranges.ts-var Qz = [+var $z = [["0", "不限时间"],["7", "最近 7 天"],["30", "最近 30 天"],@@ -66049,7 +66062,7 @@ var Qz = [];function FNe({ epoch: e = 0 }) {let t = dt({- queryKey: qF,+ queryKey: JF,queryFn: ({ signal: e }) => jxe(e),refetchOnMount: "always"}), n = Pxe(), r = n.reset;@@ -66057,10 +66070,10 @@ function FNe({ epoch: e = 0 }) {r();}, [e, r]);let i = t.data, a = n.error || t.error;- return /* @__PURE__ */ (0, x.jsxs)(Rk, {+ return /* @__PURE__ */ (0, x.jsxs)(zk, {title: "时间轴缩略图",children: [- /* @__PURE__ */ (0, x.jsx)(zk, { children: /* @__PURE__ */ (0, x.jsx)(Fk, {+ /* @__PURE__ */ (0, x.jsx)(Bk, { children: /* @__PURE__ */ (0, x.jsx)(Ik, {label: "采集间隔",description: "仅采集本机磁盘上的视频。",children: /* @__PURE__ */ (0, x.jsx)("div", {@@ -66079,33 +66092,33 @@ function FNe({ epoch: e = 0 }) {})})}) }),- n.isPending || i?.status === "running" ? /* @__PURE__ */ (0, x.jsx)(Bk, {+ n.isPending || i?.status === "running" ? /* @__PURE__ */ (0, x.jsx)(Vk, {divided: !0,- children: /* @__PURE__ */ (0, x.jsx)(Hk, {+ children: /* @__PURE__ */ (0, x.jsx)(Uk, {role: "status",children: n.isPending ? "正在保存…" : "正在采集,进度在活动页查看。"})}) : null,- a ? /* @__PURE__ */ (0, x.jsx)(Bk, {+ a ? /* @__PURE__ */ (0, x.jsx)(Vk, {divided: !0,- children: /* @__PURE__ */ (0, x.jsx)(Uk, { children: B(a) })+ children: /* @__PURE__ */ (0, x.jsx)(Wk, { children: B(a) })}) : null]});}function INe({ receipt: e }) {- let t = lw();+ let t = uw();(0, b.useSyncExternalStore)(t.subscribe, t.version);let n = dt({- queryKey: GF,- queryFn: ({ signal: e }) => JF(e),+ queryKey: KF,+ queryFn: ({ signal: e }) => YF(e),refetchOnMount: "always"- }), r = YF(), i = n.data?.followInitialDays ?? t.value.followInitialDays, a = r.error || n.error;- return /* @__PURE__ */ (0, x.jsxs)(Rk, {+ }), r = XF(), i = n.data?.followInitialDays ?? t.value.followInitialDays, a = r.error || n.error;+ return /* @__PURE__ */ (0, x.jsxs)(zk, {title: "关注采集",- children: [/* @__PURE__ */ (0, x.jsxs)(zk, { children: [+ children: [/* @__PURE__ */ (0, x.jsxs)(Bk, { children: [/* @__PURE__ */ (0, x.jsx)(LNe, {}),- /* @__PURE__ */ (0, x.jsx)(Fk, {+ /* @__PURE__ */ (0, x.jsx)(Ik, {label: "首次采集范围",children: /* @__PURE__ */ (0, x.jsx)("div", {id: "followInitialDaysSetting",@@ -66118,33 +66131,33 @@ function INe({ receipt: e }) {typeof n.followInitialDays == "number" && (t.value.followInitialDays = n.followInitialDays), t.save(), e("已保存首次采集范围");} });},- children: Qz.map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(rL, {+ children: $z.map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(rL, {id: e,children: t}, e))})})}),- /* @__PURE__ */ (0, x.jsx)(Fk, {+ /* @__PURE__ */ (0, x.jsx)(Ik, {label: "头像刷新",children: "每 3 个月"}),- /* @__PURE__ */ (0, x.jsx)(Fk, {+ /* @__PURE__ */ (0, x.jsx)(Ik, {label: "favicon 刷新",children: "每年"})- ] }), a ? /* @__PURE__ */ (0, x.jsx)(Bk, {+ ] }), a ? /* @__PURE__ */ (0, x.jsx)(Vk, {divided: !0,- children: /* @__PURE__ */ (0, x.jsx)(Uk, { children: B(a) })+ children: /* @__PURE__ */ (0, x.jsx)(Wk, { children: B(a) })}) : null]});}function LNe() {let e = dt({- queryKey: KF,+ queryKey: qF,queryFn: ({ signal: e }) => Axe(e),refetchOnMount: "always"- }), t = Nxe(), n = e.data, r = (0, b.useRef)(PC(Number(localStorage.getItem("peach.number.followScheduleSetting")), 15, 10080, 60)), [i, a] = (0, b.useState)("60"), [o, s] = (0, b.useState)(!1);+ }), t = Nxe(), n = e.data, r = (0, b.useRef)(FC(Number(localStorage.getItem("peach.number.followScheduleSetting")), 15, 10080, 60)), [i, a] = (0, b.useState)("60"), [o, s] = (0, b.useState)(!1);(0, b.useEffect)(() => {n?.enabled && (r.current = n.interval_minutes, a(String(n.interval_minutes)));}, [n]);@@ -66153,7 +66166,7 @@ function LNe() {!Number.isInteger(e) || e < 15 || e > 10080 ? s(!0) : (s(!1), n?.enabled && !c && e !== n.interval_minutes && (r.current = e, localStorage.setItem("peach.number.followScheduleSetting", String(e)), t.mutate(e)));}, u = t.error || e.error;return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [- /* @__PURE__ */ (0, x.jsx)(Fk, {+ /* @__PURE__ */ (0, x.jsx)(Ik, {label: "自动检查更新",children: /* @__PURE__ */ (0, x.jsxs)("div", {id: "followScheduleSetting",@@ -66167,7 +66180,7 @@ function LNe() {}}), n?.enabled ? /* @__PURE__ */ (0, x.jsxs)("div", {className: "flex items-center gap-2",- children: [/* @__PURE__ */ (0, x.jsx)(pN, {+ children: [/* @__PURE__ */ (0, x.jsx)(mN, {type: "number",inputMode: "numeric",name: "follow-interval",@@ -66192,17 +66205,17 @@ function LNe() {}) : null]})}),- o ? /* @__PURE__ */ (0, x.jsx)(Bk, { children: /* @__PURE__ */ (0, x.jsx)(Uk, { children: "请输入 15–10080 的整数(分钟)。" }) }) : null,- t.isPending || n?.running ? /* @__PURE__ */ (0, x.jsx)(Bk, { children: /* @__PURE__ */ (0, x.jsx)(Hk, {+ o ? /* @__PURE__ */ (0, x.jsx)(Vk, { children: /* @__PURE__ */ (0, x.jsx)(Wk, { children: "请输入 15–10080 的整数(分钟)。" }) }) : null,+ t.isPending || n?.running ? /* @__PURE__ */ (0, x.jsx)(Vk, { children: /* @__PURE__ */ (0, x.jsx)(Uk, {role: "status",children: t.isPending ? "正在保存…" : "正在检查来源更新…"}) }) : null,- u ? /* @__PURE__ */ (0, x.jsx)(Bk, { children: /* @__PURE__ */ (0, x.jsx)(Uk, { children: B(u) }) }) : null+ u ? /* @__PURE__ */ (0, x.jsx)(Vk, { children: /* @__PURE__ */ (0, x.jsx)(Wk, { children: B(u) }) }) : null] });}//#endregion//#region src/react/settings/media-settings.tsx-var RNe = (e) => Jz.find(([t]) => t === e)?.[1] ?? e, zNe = async (e) => (await H($Me, { initial: e })).path, $z = (e = "") => ({+var RNe = (e) => Yz.find(([t]) => t === e)?.[1] ?? e, zNe = async (e) => (await H($Me, { initial: e })).path, eB = (e = "") => ({path: e,location: "local",root: "",@@ -66210,19 +66223,19 @@ var RNe = (e) => Jz.find(([t]) => t === e)?.[1] ?? e, zNe = async (e) => (awaitlibrary_icon: ""});function BNe(e) {- let t = e.media_sources?.filter((e) => Jz.some(([t]) => t === e.location));+ let t = e.media_sources?.filter((e) => Yz.some(([t]) => t === e.location));return t?.length ? t.map((e) => ({path: e.path,location: e.location,root: e.root,library: e.library || "",library_icon: e.library_icon || ""- })) : (e.media_dirs.length ? e.media_dirs : [""]).map((e) => $z(e));+ })) : (e.media_dirs.length ? e.media_dirs : [""]).map((e) => eB(e));}var VNe = (e) => !(e instanceof un) || e.status !== 400 ? null : e.body?.errors ?? null;function HNe({ data: e, receipt: t, panel: n }) {return /* @__PURE__ */ (0, x.jsxs)("div", {- ...Bz(n),+ ...Vz(n),children: [e.editable ? /* @__PURE__ */ (0, x.jsx)(UNe, {data: e,@@ -66244,17 +66257,17 @@ function HNe({ data: e, receipt: t, panel: n }) {function UNe({ data: e, receipt: t }) {let { rows: n, edit: r, add: i, remove: a, errors: o, setErrors: s, picking: c, pick: l, inputRef: u } = TNe({initial: () => BNe(e),- blank: () => $z(),+ blank: () => eB(),pickFolder: zNe,describe: B- }), [d, f] = (0, b.useState)(!1), [p, m] = (0, b.useState)(""), [h, g] = (0, b.useState)(null), _ = (0, b.useRef)(e.revision), v = Mk();+ }), [d, f] = (0, b.useState)(!1), [p, m] = (0, b.useState)(""), [h, g] = (0, b.useState)(null), _ = (0, b.useRef)(e.revision), v = Nk();(0, b.useEffect)(() => {if (!h) return;- let e = setTimeout(() => location.assign(h.url), qz);+ let e = setTimeout(() => location.assign(h.url), Jz);return () => clearTimeout(e);}, [h]);let y = (r) => {- r.preventDefault(), m(""), v.run("save", (t) => H(Iz, {+ r.preventDefault(), m(""), v.run("save", (t) => H(Lz, {revision: _.current,media_dirs: n.map((e) => e.path),...e.media_sources ? { media_sources: n } : {},@@ -66267,14 +66280,14 @@ function UNe({ data: e, receipt: t }) {s(t?.media_dirs ?? []), (!t || t.port) && m(t?.port || B(e));});};- if (h) return /* @__PURE__ */ (0, x.jsx)(Rk, {+ if (h) return /* @__PURE__ */ (0, x.jsx)(zk, {title: "媒体文件夹",- children: /* @__PURE__ */ (0, x.jsx)(Bk, { children: /* @__PURE__ */ (0, x.jsxs)(K, {+ children: /* @__PURE__ */ (0, x.jsx)(Vk, { children: /* @__PURE__ */ (0, x.jsxs)(K, {tone: "success",title: "配置已保存",children: ["Peach 正在重新启动。稍后自动跳转,或点击",- /* @__PURE__ */ (0, x.jsx)(Lk, {+ /* @__PURE__ */ (0, x.jsx)(Rk, {href: h.url,size: "small",children: "进入馆藏"@@ -66284,14 +66297,14 @@ function UNe({ data: e, receipt: t }) {}) })});let S = (t) => t ? e.media_sources?.find((e) => e.path === t) : void 0, C = n.some((e) => wNe(e.location)), w = C ? (e.mount_dependencies ?? []).filter((e) => !e.available) : [];- return /* @__PURE__ */ (0, x.jsxs)(Rk, {+ return /* @__PURE__ */ (0, x.jsxs)(zk, {title: "媒体文件夹",onSubmit: y,- children: [/* @__PURE__ */ (0, x.jsxs)(Bk, { children: [+ children: [/* @__PURE__ */ (0, x.jsxs)(Vk, { children: [/* @__PURE__ */ (0, x.jsxs)("div", {className: "flex flex-col gap-3",children: [- /* @__PURE__ */ (0, x.jsx)(Wk, { children: "媒体文件夹" }),+ /* @__PURE__ */ (0, x.jsx)(Gk, { children: "媒体文件夹" }),/* @__PURE__ */ (0, x.jsx)("div", {role: "group","aria-label": "媒体文件夹",@@ -66305,14 +66318,14 @@ function UNe({ data: e, receipt: t }) {picking: c === i,onPick: () => void l(i),onRemove: n.length > 1 ? () => a(i) : void 0,- status: S(t.path) ? /* @__PURE__ */ (0, x.jsx)(eB, { online: S(t.path)?.online }) : null,+ status: S(t.path) ? /* @__PURE__ */ (0, x.jsx)(tB, { online: S(t.path)?.online }) : null,children: [/* @__PURE__ */ (0, x.jsx)(DNe, {index: i,value: t.location,onChange: (e) => r(i, { location: e })}),- /* @__PURE__ */ (0, x.jsx)(pN, {+ /* @__PURE__ */ (0, x.jsx)(mN, {className: "min-w-40 flex-1","aria-label": `媒体库名称 ${i + 1}`,maxLength: 80,@@ -66342,16 +66355,16 @@ function UNe({ data: e, receipt: t }) {]}),C ? /* @__PURE__ */ (0, x.jsx)(SNe, {}) : null,- w.map((e) => /* @__PURE__ */ (0, x.jsxs)(Hk, { children: [+ w.map((e) => /* @__PURE__ */ (0, x.jsxs)(Uk, { children: ["未检测到 ",e.name,"。",- /* @__PURE__ */ (0, x.jsxs)(Gk, {+ /* @__PURE__ */ (0, x.jsxs)(Kk, {href: e.download_url,children: ["下载 ", e.name]})] }, e.name)),- e.windows === !1 ? /* @__PURE__ */ (0, x.jsx)(Hk, { children: "Windows 对应路径应与馆藏中记录的路径一致。" }) : null,+ e.windows === !1 ? /* @__PURE__ */ (0, x.jsx)(Uk, { children: "Windows 对应路径应与馆藏中记录的路径一致。" }) : null,/* @__PURE__ */ (0, x.jsx)(aL, {isSelected: d,onChange: f,@@ -66362,7 +66375,7 @@ function UNe({ data: e, receipt: t }) {title: "没有保存",children: p}) : null- ] }), /* @__PURE__ */ (0, x.jsx)(Vk, {+ ] }), /* @__PURE__ */ (0, x.jsx)(Hk, {status: "保存后 Peach 会重新启动。",children: /* @__PURE__ */ (0, x.jsx)(G, {type: "submit",@@ -66372,7 +66385,7 @@ function UNe({ data: e, receipt: t }) {})]});}-function eB({ online: e }) {+function tB({ online: e }) {return e === !0 ? /* @__PURE__ */ (0, x.jsxs)("span", {"data-mount": "online",className: "inline-flex items-center gap-1.5 text-body-2-medium text-notification-success-foreground",@@ -66397,21 +66410,21 @@ function eB({ online: e }) {});}function WNe({ data: e }) {- let t = e.media_sources, n = Mk();- return t ? /* @__PURE__ */ (0, x.jsxs)(Rk, {+ let t = e.media_sources, n = Nk();+ return t ? /* @__PURE__ */ (0, x.jsxs)(zk, {title: "挂载状态",children: [- /* @__PURE__ */ (0, x.jsx)(Kk, { children: t.map((e, t) => /* @__PURE__ */ (0, x.jsxs)(qk, {- term: /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(Yk, { mark: Yz(e.location) }), RNe(e.location)] }),- children: [e.path || "未配置挂载点", /* @__PURE__ */ (0, x.jsx)(eB, { online: e.online })]+ /* @__PURE__ */ (0, x.jsx)(qk, { children: t.map((e, t) => /* @__PURE__ */ (0, x.jsxs)(Jk, {+ term: /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(Xk, { mark: Xz(e.location) }), RNe(e.location)] }),+ children: [e.path || "未配置挂载点", /* @__PURE__ */ (0, x.jsx)(tB, { online: e.online })]}, t)) }),- n.error ? /* @__PURE__ */ (0, x.jsx)(Bk, {+ n.error ? /* @__PURE__ */ (0, x.jsx)(Vk, {divided: !0,- children: /* @__PURE__ */ (0, x.jsx)(Uk, { children: n.error })+ children: /* @__PURE__ */ (0, x.jsx)(Wk, { children: n.error })}) : null,- /* @__PURE__ */ (0, x.jsx)(Vk, { children: /* @__PURE__ */ (0, x.jsx)(G, {+ /* @__PURE__ */ (0, x.jsx)(Hk, { children: /* @__PURE__ */ (0, x.jsx)(G, {variant: "secondary",- onClick: () => void n.run("refresh", (e) => Rz(e), (e) => U.setQueryData(Lz, e)),+ onClick: () => void n.run("refresh", (e) => zz(e), (e) => U.setQueryData(Rz, e)),...q(n.busy === "refresh"),children: "刷新挂载状态"}) })@@ -66421,7 +66434,7 @@ function WNe({ data: e }) {//#endregion//#region src/react/settings/password-pair.tsxfunction GNe({ label: e, password: t, confirmation: n, onPassword: r, onConfirmation: i, disabled: a = !1, passwordError: o, passwordHint: s, confirmationError: c, confirmationInvalid: l = !1 }) {- return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(pN, {+ return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(mN, {id: "access-password",type: "password",label: e,@@ -66434,7 +66447,7 @@ function GNe({ label: e, password: t, confirmation: n, onPassword: r, onConfirmavalidationBehavior: "aria",isInvalid: !a && !!o,hint: a ? s : o || s- }), /* @__PURE__ */ (0, x.jsx)(pN, {+ }), /* @__PURE__ */ (0, x.jsx)(mN, {id: "access-confirm",type: "password",label: "确认访问密码",@@ -66457,7 +66470,7 @@ var KNe = {password: "已设置密码。新设备需要登录,登录时勾选「保持登录」可保持 30 天。"};function qNe({ initial: e, receipt: t }) {- let [n, r] = (0, b.useState)(e), [i, a] = (0, b.useState)(""), [o, s] = (0, b.useState)(""), [c, l] = (0, b.useState)(""), [u, d] = (0, b.useState)(!1), [f, p] = (0, b.useState)({}), m = (0, b.useRef)(null), h = Mk(), g = (e) => {+ let [n, r] = (0, b.useState)(e), [i, a] = (0, b.useState)(""), [o, s] = (0, b.useState)(""), [c, l] = (0, b.useState)(""), [u, d] = (0, b.useState)(!1), [f, p] = (0, b.useState)({}), m = (0, b.useRef)(null), h = Nk(), g = (e) => {e.preventDefault();let f = {};n.mode === "password" && !i && (f.current_password = "请输入当前访问密码"), u || ((o.length < 8 || o.length > 256) && (f.password = "访问密码需为 8–256 个字符"), o !== c && (f.confirmation = "两次输入的密码不一致")), p(f), Object.keys(f).length ? requestAnimationFrame(() => m.current?.querySelector("input[aria-invalid=\"true\"]")?.focus()) : h.run("save", (e) => H("/api/configuration/access", {@@ -66474,13 +66487,13 @@ function qNe({ initial: e, receipt: t }) {n ? p(n) : h.setError(B(e));});}, _ = KNe[n.mode], v = n.mode !== "locked";- return /* @__PURE__ */ (0, x.jsxs)(Rk, {+ return /* @__PURE__ */ (0, x.jsxs)(zk, {title: "访问密码",onSubmit: g,children: [/* @__PURE__ */ (0, x.jsx)("div", {ref: m,- children: /* @__PURE__ */ (0, x.jsxs)(Bk, { children: [- _ ? /* @__PURE__ */ (0, x.jsx)(Hk, { children: _ }) : null,+ children: /* @__PURE__ */ (0, x.jsxs)(Vk, { children: [+ _ ? /* @__PURE__ */ (0, x.jsx)(Uk, { children: _ }) : null,n.mode === "open" ? /* @__PURE__ */ (0, x.jsx)(K, {tone: "warning",title: "未设置访问密码",@@ -66491,7 +66504,7 @@ function qNe({ initial: e, receipt: t }) {onChange: d,children: "关闭访问密码"}) : null,- n.mode === "password" ? /* @__PURE__ */ (0, x.jsx)(pN, {+ n.mode === "password" ? /* @__PURE__ */ (0, x.jsx)(mN, {id: "access-current",type: "password",label: "当前访问密码",@@ -66520,9 +66533,9 @@ function qNe({ initial: e, receipt: t }) {title: "访问范围",children: "保存后,能连接到 Peach 的设备将直接访问馆藏。"}) : null,- h.error ? /* @__PURE__ */ (0, x.jsx)(Uk, { children: h.error }) : null+ h.error ? /* @__PURE__ */ (0, x.jsx)(Wk, { children: h.error }) : null] })- }), v ? /* @__PURE__ */ (0, x.jsx)(Vk, { children: /* @__PURE__ */ (0, x.jsx)(G, {+ }), v ? /* @__PURE__ */ (0, x.jsx)(Hk, { children: /* @__PURE__ */ (0, x.jsx)(G, {type: "submit",...q(h.busy === "save"),children: "保存配置"@@ -66532,26 +66545,26 @@ function qNe({ initial: e, receipt: t }) {//#endregion//#region src/react/settings/port-settings.tsxfunction JNe({ data: e, receipt: t }) {- let [n, r] = (0, b.useState)(String(e.port)), [i, a] = (0, b.useState)(""), [o, s] = (0, b.useState)(null), c = Mk();+ let [n, r] = (0, b.useState)(String(e.port)), [i, a] = (0, b.useState)(""), [o, s] = (0, b.useState)(null), c = Nk();return (0, b.useEffect)(() => {if (!o) return;- let e = setTimeout(() => location.assign(o.url), qz);+ let e = setTimeout(() => location.assign(o.url), Jz);return () => clearTimeout(e);- }, [o]), o ? /* @__PURE__ */ (0, x.jsx)(Rk, {+ }, [o]), o ? /* @__PURE__ */ (0, x.jsx)(zk, {title: "本机访问端口",- children: /* @__PURE__ */ (0, x.jsx)(Bk, { children: /* @__PURE__ */ (0, x.jsxs)(K, {+ children: /* @__PURE__ */ (0, x.jsx)(Vk, { children: /* @__PURE__ */ (0, x.jsxs)(K, {tone: "success",title: "配置已保存",- children: ["Peach 正在重新启动。", /* @__PURE__ */ (0, x.jsx)(Lk, {+ children: ["Peach 正在重新启动。", /* @__PURE__ */ (0, x.jsx)(Rk, {href: o.url,size: "small",children: "进入馆藏"})]}) })- }) : /* @__PURE__ */ (0, x.jsxs)(Rk, {+ }) : /* @__PURE__ */ (0, x.jsxs)(zk, {title: "本机访问端口",onSubmit: (r) => {- r.preventDefault(), a(""), c.run("save", (t) => H(Iz, {+ r.preventDefault(), a(""), c.run("save", (t) => H(Lz, {revision: e.revision,media_dirs: e.media_dirs,...e.media_sources ? { media_sources: e.media_sources } : {},@@ -66564,7 +66577,7 @@ function JNe({ data: e, receipt: t }) {t?.port ? a(t.port) : c.setError(B(e));});},- children: [/* @__PURE__ */ (0, x.jsxs)(Bk, { children: [/* @__PURE__ */ (0, x.jsx)(pN, {+ children: [/* @__PURE__ */ (0, x.jsxs)(Vk, { children: [/* @__PURE__ */ (0, x.jsx)(mN, {id: "configPort",label: "端口",inputMode: "numeric",@@ -66577,7 +66590,7 @@ function JNe({ data: e, receipt: t }) {tone: "error",title: "没有保存",children: c.error- }) : null] }), /* @__PURE__ */ (0, x.jsx)(Vk, {+ }) : null] }), /* @__PURE__ */ (0, x.jsx)(Hk, {status: "保存后 Peach 会重启,并跳转到新地址。",children: /* @__PURE__ */ (0, x.jsx)(G, {type: "submit",@@ -66594,12 +66607,12 @@ var YNe = 2e3, XNe = [["quick", "临时链接"], ["named", "命名隧道"]], ZNenamed: "使用你在 Cloudflare 绑定的固定域名。启动前要先设置访问密码。"};function QNe({ revision: e, initial: t, receipt: n }) {- let [r, i] = (0, b.useState)(t), [a, o] = (0, b.useState)(e), [s, c] = (0, b.useState)(t.mode), [l, u] = (0, b.useState)(t.hostname), [d, f] = (0, b.useState)(""), [p, m] = (0, b.useState)({}), h = Mk(), g = r.state === "starting" || r.state === "running", _ = r.named_available && s === "named";+ let [r, i] = (0, b.useState)(t), [a, o] = (0, b.useState)(e), [s, c] = (0, b.useState)(t.mode), [l, u] = (0, b.useState)(t.hostname), [d, f] = (0, b.useState)(""), [p, m] = (0, b.useState)({}), h = Nk(), g = r.state === "starting" || r.state === "running", _ = r.named_available && s === "named";(0, b.useEffect)(() => {if (r.state !== "starting") return;let e = new AbortController(), t = window.setInterval(() => {- Rz(e.signal).then((t) => {- !e.signal.aborted && t.tunnel && (U.setQueryData(Lz, t), i(t.tunnel), o(t.revision));+ zz(e.signal).then((t) => {+ !e.signal.aborted && t.tunnel && (U.setQueryData(Rz, t), i(t.tunnel), o(t.revision));}).catch(() => void 0);}, YNe);return () => {@@ -66620,26 +66633,26 @@ function QNe({ revision: e, initial: t, receipt: n }) {n ? m(n) : h.setError(B(e));});};- return /* @__PURE__ */ (0, x.jsxs)(Rk, {+ return /* @__PURE__ */ (0, x.jsxs)(zk, {title: "Cloudflare 公网入口",onSubmit: (e) => {e.preventDefault(), v("save", g, () => n("已保存配置"));},- children: [/* @__PURE__ */ (0, x.jsxs)(Bk, { children: [- r.named_available ? /* @__PURE__ */ (0, x.jsx)(jN, {+ children: [/* @__PURE__ */ (0, x.jsxs)(Vk, { children: [+ r.named_available ? /* @__PURE__ */ (0, x.jsx)(MN, {"aria-label": "公网入口的形态(二选一)",value: s,isDisabled: g,onChange: (e) => c(e),- className: MN,- children: XNe.map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(jM, {+ className: NN,+ children: XNe.map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(MM, {value: e,- className: NN,+ className: PN,children: t}, e))}) : null,- /* @__PURE__ */ (0, x.jsx)(Hk, { children: ZNe[_ ? "named" : "quick"] }),- _ ? /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(pN, {+ /* @__PURE__ */ (0, x.jsx)(Uk, { children: ZNe[_ ? "named" : "quick"] }),+ _ ? /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(mN, {id: "tunnel-hostname",label: "公开主机名",autoComplete: "off",@@ -66650,7 +66663,7 @@ function QNe({ revision: e, initial: t, receipt: n }) {validationBehavior: "aria",isInvalid: !!p.hostname,hint: p.hostname || "Cloudflare Zero Trust 里指向这台电脑的主机名。"- }), /* @__PURE__ */ (0, x.jsx)(pN, {+ }), /* @__PURE__ */ (0, x.jsx)(mN, {id: "tunnel-token",type: "password",label: "隧道令牌",@@ -66670,7 +66683,7 @@ function QNe({ revision: e, initial: t, receipt: n }) {r.state === "running" && r.url ? /* @__PURE__ */ (0, x.jsx)(K, {tone: "info",title: "公网地址",- children: /* @__PURE__ */ (0, x.jsx)(Gk, {+ children: /* @__PURE__ */ (0, x.jsx)(Kk, {href: r.url,children: r.url})@@ -66680,9 +66693,9 @@ function QNe({ revision: e, initial: t, receipt: n }) {title: "正在连接",children: "正在等待 cloudflared 连上 Cloudflare 边缘。"}) : null,- r.error ? /* @__PURE__ */ (0, x.jsx)(Uk, { children: r.error }) : null,- h.error ? /* @__PURE__ */ (0, x.jsx)(Uk, { children: h.error }) : null- ] }), /* @__PURE__ */ (0, x.jsxs)(Vk, {+ r.error ? /* @__PURE__ */ (0, x.jsx)(Wk, { children: r.error }) : null,+ h.error ? /* @__PURE__ */ (0, x.jsx)(Wk, { children: h.error }) : null+ ] }), /* @__PURE__ */ (0, x.jsxs)(Hk, {status: r.enabled ? "Peach 重启后自动恢复。" : void 0,children: [/* @__PURE__ */ (0, x.jsx)(G, {variant: r.named_available ? "secondary" : "primary",@@ -66706,7 +66719,7 @@ var $Ne = [];function ePe({ data: e, receipt: t, panel: n }) {return /* @__PURE__ */ (0, x.jsxs)("div", {- ...Bz(n),+ ...Vz(n),children: [e.editable && e.port_editable !== !1 ? /* @__PURE__ */ (0, x.jsx)(JNe, {data: e,@@ -66729,8 +66742,8 @@ function ePe({ data: e, receipt: t, panel: n }) {});}function tPe({ initial: e, receipt: t }) {- let [n, r] = (0, b.useState)(e), [i, a] = (0, b.useState)(e.mode), [o, s] = (0, b.useState)(""), c = Mk();- return /* @__PURE__ */ (0, x.jsxs)(Rk, {+ let [n, r] = (0, b.useState)(e), [i, a] = (0, b.useState)(e.mode), [o, s] = (0, b.useState)(""), c = Nk();+ return /* @__PURE__ */ (0, x.jsxs)(zk, {id: "peachProxy",title: "Peach 代理",onSubmit: (e) => {@@ -66742,7 +66755,7 @@ function tPe({ initial: e, receipt: t }) {});},children: [- /* @__PURE__ */ (0, x.jsx)(zk, { children: /* @__PURE__ */ (0, x.jsx)(Fk, {+ /* @__PURE__ */ (0, x.jsx)(Bk, { children: /* @__PURE__ */ (0, x.jsx)(Ik, {label: "连接方式",children: /* @__PURE__ */ (0, x.jsx)(nL, {"aria-label": "连接方式",@@ -66756,10 +66769,10 @@ function tPe({ initial: e, receipt: t }) {}, e))})}) }),- i === "proxy" || n.needs_selection || c.error ? /* @__PURE__ */ (0, x.jsxs)(Bk, {+ i === "proxy" || n.needs_selection || c.error ? /* @__PURE__ */ (0, x.jsxs)(Vk, {divided: !0,children: [- i === "proxy" ? /* @__PURE__ */ (0, x.jsx)(pN, {+ i === "proxy" ? /* @__PURE__ */ (0, x.jsx)(mN, {id: "peachProxyAddress",type: "password",label: "代理地址",@@ -66773,10 +66786,10 @@ function tPe({ initial: e, receipt: t }) {title: "需要选择连接方式",children: "已有来源的代理地址不同,请选择公共连接方式。"}) : null,- c.error ? /* @__PURE__ */ (0, x.jsx)(Uk, { children: c.error }) : null+ c.error ? /* @__PURE__ */ (0, x.jsx)(Wk, { children: c.error }) : null]}) : null,- /* @__PURE__ */ (0, x.jsx)(Vk, { children: /* @__PURE__ */ (0, x.jsx)(G, {+ /* @__PURE__ */ (0, x.jsx)(Hk, { children: /* @__PURE__ */ (0, x.jsx)(G, {type: "submit",...q(c.busy === "save"),children: "保存配置"@@ -66791,13 +66804,13 @@ function iPe(e, t) {return (e.shared_fields || []).includes(t) ? "来自共享,留空表示不改" : e.fields.includes(t) ? "已保存,留空表示不改" : "未填写";}function aPe({ row: e }) {- if (Kr(e)) return /* @__PURE__ */ (0, x.jsx)(Ck, {+ if (Kr(e)) return /* @__PURE__ */ (0, x.jsx)(wk, {variant: "caption",color: "lime",children: "已配置"});let t = e.requirement === "required" ? "yellow" : e.requirement === "blocked" ? "rose" : "neutral";- return /* @__PURE__ */ (0, x.jsx)(Ck, {+ return /* @__PURE__ */ (0, x.jsx)(wk, {variant: "caption",color: t,children: Gr[e.requirement] || ""@@ -66820,14 +66833,14 @@ function oPe({ row: e, readOnly: t, toast: n }) {return /* @__PURE__ */ (0, x.jsxs)("div", {className: "flex flex-col gap-3",children: [- /* @__PURE__ */ (0, x.jsxs)(Hk, { children: [e.why, e.where ? /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [" ", /* @__PURE__ */ (0, x.jsx)(Gk, {+ /* @__PURE__ */ (0, x.jsxs)(Uk, { children: [e.why, e.where ? /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [" ", /* @__PURE__ */ (0, x.jsx)(Kk, {href: e.where,children: "获取凭据"})] }) : null] }),- e.howto ? /* @__PURE__ */ (0, x.jsx)(Hk, { children: e.howto }) : null,+ e.howto ? /* @__PURE__ */ (0, x.jsx)(Uk, { children: e.howto }) : null,/* @__PURE__ */ (0, x.jsx)("div", {className: "flex w-full flex-col gap-3",- children: (e.needs || []).map((n) => /* @__PURE__ */ (0, x.jsx)(pN, {+ children: (e.needs || []).map((n) => /* @__PURE__ */ (0, x.jsx)(mN, {type: "password",label: n,placeholder: iPe(e, n),@@ -66866,11 +66879,11 @@ function oPe({ row: e, readOnly: t, toast: n }) {children: "清除"}) : null]}),- a ? /* @__PURE__ */ (0, x.jsx)(Uk, { children: a }) : null,- (e.shared_fields || []).length ? /* @__PURE__ */ (0, x.jsx)(Hk, { children: `${e.shared_fields.join("、")} 是从共享副本回填的,本机没有单独存。清除会把两边一起删。` }) : null,- e.path ? /* @__PURE__ */ (0, x.jsx)(Jk, {+ a ? /* @__PURE__ */ (0, x.jsx)(Wk, { children: a }) : null,+ (e.shared_fields || []).length ? /* @__PURE__ */ (0, x.jsx)(Uk, { children: `${e.shared_fields.join("、")} 是从共享副本回填的,本机没有单独存。清除会把两边一起删。` }) : null,+ e.path ? /* @__PURE__ */ (0, x.jsx)(Yk, {summary: "凭据文件",- children: /* @__PURE__ */ (0, x.jsx)(QI, {+ children: /* @__PURE__ */ (0, x.jsx)($I, {path: e.path,className: "font-mono text-caption-1-regular text-text-tertiary",onRevealed: n@@ -66892,7 +66905,7 @@ function sPe({ row: e, readOnly: t, toast: n }) {children: e.provider_label}),/* @__PURE__ */ (0, x.jsx)(aPe, { row: e }),- e.missing.length ? /* @__PURE__ */ (0, x.jsx)(Ck, {+ e.missing.length ? /* @__PURE__ */ (0, x.jsx)(wk, {variant: "caption",color: "rose",children: `缺 ${e.missing.join("、")}`@@ -66901,12 +66914,12 @@ function sPe({ row: e, readOnly: t, toast: n }) {});return e.requirement === "none" || e.requirement === "blocked" ? /* @__PURE__ */ (0, x.jsxs)("div", {className: "flex flex-wrap items-center gap-3 border-b border-separator-border px-6 py-5 last:border-b-0 max-sm:px-4",- children: [r, e.requirement === "blocked" ? /* @__PURE__ */ (0, x.jsx)(Hk, { children: e.why }) : null]+ children: [r, e.requirement === "blocked" ? /* @__PURE__ */ (0, x.jsx)(Uk, { children: e.why }) : null]}) : /* @__PURE__ */ (0, x.jsxs)("div", {className: "flex flex-col gap-2 border-b border-separator-border px-6 py-5 last:border-b-0 max-sm:px-4",children: [r,- /* @__PURE__ */ (0, x.jsx)(Jk, {+ /* @__PURE__ */ (0, x.jsx)(Yk, {summary: Kr(e) ? "修改凭据" : "填写凭据",defaultOpen: e.requirement === "required" && !Kr(e),children: /* @__PURE__ */ (0, x.jsx)(oPe, {@@ -66926,7 +66939,7 @@ function sPe({ row: e, readOnly: t, toast: n }) {function cPe({ data: e, readOnly: t, toast: n }) {let r = e.providers || [], i = r.filter((e) => e.requirement === "required" && !Kr(e));return r.length ? /* @__PURE__ */ (0, x.jsxs)("div", {- className: Ek({+ className: Dk({padding: "none",className: "flex flex-col gap-4 px-6 py-5 max-sm:px-4"}),@@ -66959,7 +66972,7 @@ function cPe({ data: e, readOnly: t, toast: n }) {className: "text-body-medium text-text-secondary",children: e.title}), /* @__PURE__ */ (0, x.jsx)("div", {- className: Ek({+ className: Dk({variant: "outlined",padding: "none",className: "flex flex-col overflow-hidden"@@ -66971,7 +66984,7 @@ function cPe({ data: e, readOnly: t, toast: n }) {}, e.provider))})]}, e.title))]- }) : /* @__PURE__ */ (0, x.jsx)(Dk, {+ }) : /* @__PURE__ */ (0, x.jsx)(Ok, {shell: "plain",icon: che,title: "没有可配置的来源",@@ -66984,11 +66997,11 @@ var lPe = "JavDB 或 MISSAV 打不开时,填一个能打开的镜像域名。"//#endregion//#region src/react/settings/entry-links-settings.tsxfunction dPe({ initial: e, receipt: t }) {- let [n, r] = (0, b.useState)(e.sites), i = Mk(), a = (e, t) => r((n) => n.map((n) => n.key === e ? {+ let [n, r] = (0, b.useState)(e.sites), i = Nk(), a = (e, t) => r((n) => n.map((n) => n.key === e ? {...n,host: t} : n));- return /* @__PURE__ */ (0, x.jsxs)(Rk, {+ return /* @__PURE__ */ (0, x.jsxs)(zk, {title: "作品资料站点",onSubmit: (e) => {e.preventDefault();@@ -66997,9 +67010,9 @@ function dPe({ initial: e, receipt: t }) {r(e.sites), t("已保存配置");});},- children: [/* @__PURE__ */ (0, x.jsxs)(Bk, { children: [- /* @__PURE__ */ (0, x.jsx)(Hk, { children: lPe }),- n.map((e) => /* @__PURE__ */ (0, x.jsx)(pN, {+ children: [/* @__PURE__ */ (0, x.jsxs)(Vk, { children: [+ /* @__PURE__ */ (0, x.jsx)(Uk, { children: lPe }),+ n.map((e) => /* @__PURE__ */ (0, x.jsx)(mN, {id: `entry-link-${e.key}`,label: `${e.label} 地址`,autoComplete: "off",@@ -67010,8 +67023,8 @@ function dPe({ initial: e, receipt: t }) {validationBehavior: "aria",hint: uPe}, e.key)),- i.error ? /* @__PURE__ */ (0, x.jsx)(Uk, { children: i.error }) : null- ] }), /* @__PURE__ */ (0, x.jsx)(Vk, { children: /* @__PURE__ */ (0, x.jsx)(G, {+ i.error ? /* @__PURE__ */ (0, x.jsx)(Wk, { children: i.error }) : null+ ] }), /* @__PURE__ */ (0, x.jsx)(Hk, { children: /* @__PURE__ */ (0, x.jsx)(G, {type: "submit",...q(i.busy === "save"),children: "保存配置"@@ -67020,46 +67033,46 @@ function dPe({ initial: e, receipt: t }) {}//#endregion//#region src/react/settings/indexer-settings.tsx-var tB = "/api/configuration/indexers";+var nB = "/api/configuration/indexers";function fPe({ receipt: e }) {let t = dt({queryKey: ["indexers"],- queryFn: ({ signal: e }) => V(tB, e),+ queryFn: ({ signal: e }) => V(nB, e),refetchOnMount: "always"});- return t.error ? /* @__PURE__ */ (0, x.jsx)(Uk, { children: B(t.error) }) : t.isFetching ? /* @__PURE__ */ (0, x.jsx)(Ok, { label: "正在读取资源搜索设置" }) : t.data ? /* @__PURE__ */ (0, x.jsx)(pPe, {+ return t.error ? /* @__PURE__ */ (0, x.jsx)(Wk, { children: B(t.error) }) : t.isFetching ? /* @__PURE__ */ (0, x.jsx)(kk, { label: "正在读取资源搜索设置" }) : t.data ? /* @__PURE__ */ (0, x.jsx)(pPe, {initial: t.data,receipt: e}) : null;}function pPe({ initial: e, receipt: t }) {- let [n, r] = (0, b.useState)(e.indexers), i = Mk(), a = (e, t) => r((n) => n.map((n) => n.key === e ? {+ let [n, r] = (0, b.useState)(e.indexers), i = Nk(), a = (e, t) => r((n) => n.map((n) => n.key === e ? {...n,...t} : n));- return /* @__PURE__ */ (0, x.jsxs)(Rk, {+ return /* @__PURE__ */ (0, x.jsxs)(zk, {title: "资源搜索",onSubmit: (e) => {- e.preventDefault(), i.run("save", (e) => H(tB, { indexers: n }, "POST", e), (e) => {+ e.preventDefault(), i.run("save", (e) => H(nB, { indexers: n }, "POST", e), (e) => {r(e.indexers), t("已保存索引器");});},- children: [/* @__PURE__ */ (0, x.jsxs)(Bk, { children: [- /* @__PURE__ */ (0, x.jsx)(Jk, {+ children: [/* @__PURE__ */ (0, x.jsxs)(Vk, { children: [+ /* @__PURE__ */ (0, x.jsx)(Yk, {summary: "索引器连接帮助",- children: /* @__PURE__ */ (0, x.jsx)(Hk, { children: "填写 Prowlarr 或 Jackett 提供的 Torznab 地址和 API key。" })+ children: /* @__PURE__ */ (0, x.jsx)(Uk, { children: "填写 Prowlarr 或 Jackett 提供的 Torznab 地址和 API key。" })}),n.map((e, t) => /* @__PURE__ */ (0, x.jsxs)("div", {className: "flex min-w-0 flex-col gap-4 border-t border-separator-border pt-4",children: [- /* @__PURE__ */ (0, x.jsx)(pN, {+ /* @__PURE__ */ (0, x.jsx)(mN, {label: `索引器 ${t + 1} 名称`,value: e.name,maxLength: 80,isDisabled: !!i.busy,onChange: (t) => a(e.key, { name: t })}),- /* @__PURE__ */ (0, x.jsx)(pN, {+ /* @__PURE__ */ (0, x.jsx)(mN, {label: `索引器 ${t + 1} Torznab 地址`,value: e.url,type: "url",@@ -67068,7 +67081,7 @@ function pPe({ initial: e, receipt: t }) {isDisabled: !!i.busy,onChange: (t) => a(e.key, { url: t })}),- /* @__PURE__ */ (0, x.jsx)(pN, {+ /* @__PURE__ */ (0, x.jsx)(mN, {label: `索引器 ${t + 1} API key`,type: "password",autoComplete: "new-password",@@ -67098,8 +67111,8 @@ function pPe({ initial: e, receipt: t }) {}) })]}, e.key)),- i.error ? /* @__PURE__ */ (0, x.jsx)(Uk, { children: i.error }) : null- ] }), /* @__PURE__ */ (0, x.jsxs)(Vk, { children: [/* @__PURE__ */ (0, x.jsx)(G, {+ i.error ? /* @__PURE__ */ (0, x.jsx)(Wk, { children: i.error }) : null+ ] }), /* @__PURE__ */ (0, x.jsxs)(Hk, { children: [/* @__PURE__ */ (0, x.jsx)(G, {variant: "secondary",type: "button",disabled: !!i.busy || n.length >= e.max_indexers,@@ -67128,9 +67141,9 @@ function mPe({ data: e, receipt: t, panel: n }) {refetchOnMount: "always"});return /* @__PURE__ */ (0, x.jsxs)("div", {- ...Bz(n),+ ...Vz(n),children: [- /* @__PURE__ */ (0, x.jsx)("div", { children: /* @__PURE__ */ (0, x.jsx)(Tk, {+ /* @__PURE__ */ (0, x.jsx)("div", { children: /* @__PURE__ */ (0, x.jsx)(Ek, {href: "/sources",variant: "secondary",children: "采集来源与登录状态"@@ -67143,7 +67156,7 @@ function mPe({ data: e, receipt: t, panel: n }) {tone: "error",title: "来源凭据未取得",children: B(r.error)- }) : n?.active === !1 ? null : /* @__PURE__ */ (0, x.jsx)(Ok, { label: "正在读取来源凭据" }),+ }) : n?.active === !1 ? null : /* @__PURE__ */ (0, x.jsx)(kk, { label: "正在读取来源凭据" }),e.entry_links ? /* @__PURE__ */ (0, x.jsx)(dPe, {initial: e.entry_links,receipt: t@@ -67157,8 +67170,8 @@ function mPe({ data: e, receipt: t, panel: n }) {//#region src/react/settings/configuration-page.tsxfunction hPe({ receipt: e, reopenTutorial: t, section: n = "" }) {let r = dt({- queryKey: Lz,- queryFn: ({ signal: e }) => Rz(e)+ queryKey: Rz,+ queryFn: ({ signal: e }) => zz(e)}), i = r.data;return i ? /* @__PURE__ */ (0, x.jsx)(_Pe, {data: i,@@ -67177,9 +67190,9 @@ function hPe({ receipt: e, reopenTutorial: t, section: n = "" }) {var gPe = 0;function _Pe({ data: e, receipt: t, reopenTutorial: n, section: r }) {let [i] = (0, b.useState)(() => `board-tabs-${++gPe}`), [a, o] = (0, b.useState)(r), s = (e) => {- o(e), PO(eO(e), {+ o(e), FO(tO(e), {replace: !0,- state: NO.navigation.location.state+ state: PO.navigation.location.state});}, [c, l] = (0, b.useState)(() => matchMedia("(max-width:900px)").matches);(0, b.useEffect)(() => {@@ -67222,7 +67235,7 @@ function _Pe({ data: e, receipt: t, reopenTutorial: n, section: r }) {{title: "应用与维护",body: (e) => /* @__PURE__ */ (0, x.jsxs)("div", {- ...Bz(e),+ ...Vz(e),children: [/* @__PURE__ */ (0, x.jsx)(vNe, { ...d }), /* @__PURE__ */ (0, x.jsx)(dNe, {...d,reopenTutorial: n@@ -67302,7 +67315,7 @@ var vPe = []];function yPe({ host: e, spot: t, index: n, glow: r }) {- let i = Qle[n], a = (0, b.useRef)(null), o = (0, b.useRef)(null), s = (0, b.useRef)(null), [c, l] = (0, b.useState)("all");+ let i = Zle[n], a = (0, b.useRef)(null), o = (0, b.useRef)(null), s = (0, b.useRef)(null), [c, l] = (0, b.useState)("all");(0, b.useLayoutEffect)(() => {let [e, t, n] = [a.current,@@ -67315,7 +67328,7 @@ function yPe({ host: e, spot: t, index: n, glow: r }) {}, []);let u = r[t].color, d = (n) => {let r = e.store.value.homeGlow;- r[t].color = tw(n, r[t].color), r.preset = "custom", e.store.save(), e.changed("glow"), Wa(), o.current?.focus();+ r[t].color = nw(n, r[t].color), r.preset = "custom", e.store.save(), e.changed("glow"), Wa(), o.current?.focus();};return /* @__PURE__ */ (0, x.jsxs)("div", {"data-glow-stop": t,@@ -67340,7 +67353,7 @@ function yPe({ host: e, spot: t, index: n, glow: r }) {children: u})]}),- /* @__PURE__ */ (0, x.jsx)(QE, { name: "chevron-down" })+ /* @__PURE__ */ (0, x.jsx)($E, { name: "chevron-down" })]}), /* @__PURE__ */ (0, x.jsxs)("div", {className: "popmenu",@@ -67352,7 +67365,7 @@ function yPe({ host: e, spot: t, index: n, glow: r }) {"data-glow-pills": "",role: "group","aria-label": "色系",- children: tue.map(([e, t]) => /* @__PURE__ */ (0, x.jsx)("button", {+ children: eue.map(([e, t]) => /* @__PURE__ */ (0, x.jsx)("button", {type: "button","data-glow-pill": e,"aria-pressed": e === c,@@ -67363,7 +67376,7 @@ function yPe({ host: e, spot: t, index: n, glow: r }) {"data-glow-palette": "",role: "radiogroup","aria-label": `${i}颜色`,- children: nue.map(([e, t, n]) => /* @__PURE__ */ (0, x.jsx)("button", {+ children: tue.map(([e, t, n]) => /* @__PURE__ */ (0, x.jsx)("button", {type: "button",role: "radio","aria-checked": n === u,@@ -67380,7 +67393,7 @@ function yPe({ host: e, spot: t, index: n, glow: r }) {});}function bPe({ host: e }) {- let t = e.store.value.homeGlow, n = JC(t.preset);+ let t = e.store.value.homeGlow, n = YC(t.preset);return /* @__PURE__ */ (0, x.jsxs)("section", {"data-glow-setting": "",id: "homeGlowControls",@@ -67395,10 +67408,10 @@ function bPe({ host: e }) {"data-glow-current": "",children: ["当前配色", /* @__PURE__ */ (0, x.jsx)("b", {"data-glow-preset-name": "",- children: $le(t.preset)+ children: Qle(t.preset)})]}),- /* @__PURE__ */ (0, x.jsx)(Wue, {+ /* @__PURE__ */ (0, x.jsx)(Uue, {store: e.store,label: "光晕配色"}),@@ -67409,7 +67422,7 @@ function bPe({ host: e }) {}),/* @__PURE__ */ (0, x.jsx)("div", {"data-glow-fields": "",- children: vPe.map(([r, i, a]) => /* @__PURE__ */ (0, x.jsx)(OMe, {+ children: vPe.map(([r, i, a]) => /* @__PURE__ */ (0, x.jsx)(kMe, {field: r,label: i,max: a,@@ -67431,7 +67444,7 @@ function bPe({ host: e }) {hidden: n,children: [/* @__PURE__ */ (0, x.jsx)("h4", { children: "颜色" }), /* @__PURE__ */ (0, x.jsx)("div", {"data-glow-stops": "",- children: GC.map((n, r) => /* @__PURE__ */ (0, x.jsx)(yPe, {+ children: KC.map((n, r) => /* @__PURE__ */ (0, x.jsx)(yPe, {host: e,spot: n,index: r,@@ -67446,7 +67459,7 @@ function bPe({ host: e }) {className: "geist-button","data-glow-reset": "",onClick: () => {- e.store.value.homeGlow = rw(null), e.store.save(), e.changed("glow");+ e.store.value.homeGlow = iw(null), e.store.save(), e.changed("glow");},children: "恢复默认"})@@ -67497,22 +67510,22 @@ var xPe = {optional: !0,fallback: 60}-}, nB = (e) => `peach.number.${e}`;-function rB(e, t) {+}, rB = (e) => `peach.number.${e}`;+function iB(e, t) {if (t !== "分钟" || !Number.isInteger(e) || e < 1440) return "";let n = e / 1440;return Number.isInteger(n) ? `${n.toLocaleString()} 天` : `约 ${n.toFixed(1)} 天`;}-function iB({ id: e, label: t, value: n, disabled: r = !1, onApply: i }) {+function aB({ id: e, label: t, value: n, disabled: r = !1, onApply: i }) {let a = xPe[e], { min: o, max: s, unit: c, fallback: l } = a, u = a.optional === !0, d = (0, b.useRef)(0);- d.current ||= PC(Number(localStorage.getItem(nB(e))), o, s, n && n > 0 ? n : l);+ d.current ||= FC(Number(localStorage.getItem(rB(e))), o, s, n && n > 0 ? n : l);let [f, p] = (0, b.useState)(n ?? 0), [m, h] = (0, b.useState)(String(n && n > 0 ? n : d.current)), [g, _] = (0, b.useState)(""), v = (0, b.useRef)(null), y = (0, b.useRef)(i);y.current = i, (0, b.useLayoutEffect)(() => {n !== null && (p(n), n > 0 && h(String(n)));}, [n]);let S = () => {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(nB(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(rB(e), String(d.current)), y.current(d.current)));}, C = (0, b.useRef)(S);C.current = S, (0, b.useEffect)(() => {let e = v.current;@@ -67522,7 +67535,7 @@ function iB({ id: e, label: t, value: n, disabled: r = !1, onApply: i }) {}, []);let w = f > 0, T = () => {let t = v.current;- t?.removeAttribute("aria-invalid"), _(""), w ? (t && t.value && t.checkValidity() && (d.current = Number(t.value)), localStorage.setItem(nB(e), String(d.current)), p(0), y.current(0)) : (p(d.current), h(String(d.current)), y.current(d.current));+ t?.removeAttribute("aria-invalid"), _(""), w ? (t && t.value && t.checkValidity() && (d.current = Number(t.value)), localStorage.setItem(rB(e), String(d.current)), p(0), y.current(0)) : (p(d.current), h(String(d.current)), y.current(d.current));}, E = r || n === null;return /* @__PURE__ */ (0, x.jsxs)("div", {"data-number-setting": "",@@ -67559,7 +67572,7 @@ function iB({ id: e, label: t, value: n, disabled: r = !1, onApply: i }) {}}), /* @__PURE__ */ (0, x.jsxs)("span", {"aria-hidden": "true",- children: [c, rB(Number(m), c) ? ` · ${rB(Number(m), c)}` : ""]+ children: [c, iB(Number(m), c) ? ` · ${iB(Number(m), c)}` : ""]})]}), /* @__PURE__ */ (0, x.jsx)("small", {id: `${e}-error`,@@ -67573,13 +67586,13 @@ function iB({ id: e, label: t, value: n, disabled: r = !1, onApply: i }) {}//#endregion//#region src/react/sidebar/sidebar-order.ts-function aB(e) {- let { mutate: t } = YF();+function oB(e) {+ let { mutate: t } = XF();return (0, b.useCallback)((n) => {e.value.sidebarOrder = n, e.save(), t({ sidebarOrder: n }, { onError: () => {} });}, [e, t]);}-function oB(e, t, n, r) {+function sB(e, t, n, r) {if (t === n) return null;let i = [...e], a = i.indexOf(t);if (a < 0) return null;@@ -67589,17 +67602,17 @@ function oB(e, t, n, r) {}//#endregion//#region src/react/settings-panel/sidebar-order.tsx-var SPe = "__home__", sB = (e) => e === "" ? SPe : e;+var SPe = "__home__", cB = (e) => e === "" ? SPe : e;function CPe({ host: e }) {- let t = aB(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, b.useState)(null), [c, l] = (0, b.useState)(!1), [u, d] = (0, b.useState)(null), [f, p] = (0, b.useState)(null), m = (0, b.useRef)(null), h = (0, b.useRef)(null), g = (e, r, i) => {- let a = oB(n, e, r, i);+ let t = oB(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, b.useState)(null), [c, l] = (0, b.useState)(!1), [u, d] = (0, b.useState)(null), [f, p] = (0, b.useState)(null), m = (0, b.useRef)(null), h = (0, b.useRef)(null), g = (e, r, i) => {+ let a = sB(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]) => sB(e) === o) ?? a[0], y = () => {+ }, v = a.find(([e]) => cB(e) === o) ?? a[0], y = () => {h.current && qa(h.current), l(!1);}, S = () => {let e = h.current;@@ -67620,7 +67633,7 @@ function CPe({ host: e }) {}, T = (e) => ({draggable: !0,onDragStart: (t) => {- d(e), t.dataTransfer.effectAllowed = "move", t.dataTransfer.setData("text/plain", sB(e));+ d(e), t.dataTransfer.effectAllowed = "move", t.dataTransfer.setData("text/plain", cB(e));},onDragOver: (t) => {if (u === null || u === e) return;@@ -67652,9 +67665,9 @@ function CPe({ host: e }) {/* @__PURE__ */ (0, x.jsx)("i", {"data-sidebar-grip": "","aria-hidden": "true",- children: /* @__PURE__ */ (0, x.jsx)(QE, { name: "grip-vertical" })+ children: /* @__PURE__ */ (0, x.jsx)($E, { name: "grip-vertical" })}),- /* @__PURE__ */ (0, x.jsx)(QE, { name: a ?? "" }),+ /* @__PURE__ */ (0, x.jsx)($E, { name: a ?? "" }),/* @__PURE__ */ (0, x.jsx)("b", { children: r })]}), /* @__PURE__ */ (0, x.jsxs)("span", {@@ -67668,7 +67681,7 @@ function CPe({ host: e }) {title: "上移",disabled: o === 0,onClick: () => _(e, -1),- children: /* @__PURE__ */ (0, x.jsx)(QE, { name: "chevron-up" })+ children: /* @__PURE__ */ (0, x.jsx)($E, { name: "chevron-up" })}),/* @__PURE__ */ (0, x.jsx)("button", {type: "button",@@ -67678,7 +67691,7 @@ function CPe({ host: e }) {title: "下移",disabled: o === i.length - 1,onClick: () => _(e, 1),- children: /* @__PURE__ */ (0, x.jsx)(QE, { name: "chevron-down" })+ children: /* @__PURE__ */ (0, x.jsx)($E, { name: "chevron-down" })}),/* @__PURE__ */ (0, x.jsx)("button", {type: "button",@@ -67690,11 +67703,11 @@ function CPe({ host: e }) {onClick: () => {n.length > 1 && t(n.filter((t) => t !== e));},- children: /* @__PURE__ */ (0, x.jsx)(QE, { name: "eye-off" })+ children: /* @__PURE__ */ (0, x.jsx)($E, { name: "eye-off" })})]})]- }, sB(e))), /* @__PURE__ */ (0, x.jsxs)("div", {+ }, cB(e))), /* @__PURE__ */ (0, x.jsxs)("div", {"data-sidebar-add-row": "",children: [/* @__PURE__ */ (0, x.jsxs)("div", {"data-sidebar-add-picker": "",@@ -67710,13 +67723,13 @@ function CPe({ host: e }) {ref: m,onClick: S,children: v ? /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [- /* @__PURE__ */ (0, x.jsx)(QE, { name: v[2] ?? "" }),+ /* @__PURE__ */ (0, x.jsx)($E, { name: v[2] ?? "" }),/* @__PURE__ */ (0, x.jsx)("span", {"data-sidebar-add-label": "",children: v[1]}),- /* @__PURE__ */ (0, x.jsx)(QE, { name: "chevron-down" })- ] }) : /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(QE, { name: "check" }), /* @__PURE__ */ (0, x.jsx)("span", { children: "全部页面都已显示" })] })+ /* @__PURE__ */ (0, x.jsx)($E, { name: "chevron-down" })+ ] }) : /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)($E, { name: "check" }), /* @__PURE__ */ (0, x.jsx)("span", { children: "全部页面都已显示" })] })}), a.length ? /* @__PURE__ */ (0, x.jsx)("div", {className: "popmenu","data-sidebar-add-menu": "",@@ -67727,15 +67740,15 @@ function CPe({ host: e }) {children: a.map(([e, t, n]) => /* @__PURE__ */ (0, x.jsxs)("button", {type: "button",role: "option",- "data-sidebar-add-option": sB(e),+ "data-sidebar-add-option": cB(e),"aria-selected": v?.[0] === e,tabIndex: v?.[0] === e ? 0 : -1,onKeyDown: C,onClick: () => {- s(sB(e)), y(), m.current?.focus();+ s(cB(e)), y(), m.current?.focus();},- children: [/* @__PURE__ */ (0, x.jsx)(QE, { name: n ?? "" }), /* @__PURE__ */ (0, x.jsx)("span", { children: t })]- }, sB(e)))+ children: [/* @__PURE__ */ (0, x.jsx)($E, { name: n ?? "" }), /* @__PURE__ */ (0, x.jsx)("span", { children: t })]+ }, cB(e)))}) : null]}), /* @__PURE__ */ (0, x.jsx)("button", {type: "button",@@ -67752,7 +67765,7 @@ function CPe({ host: e }) {}//#endregion//#region src/react/settings-panel/settings-panel.tsx-var cB = [+var lB = [["外观与导航", "ri-palette-line"],["浏览与播放", "ri-play-circle-line"],["JAV 与新作", "jav"],@@ -67794,76 +67807,76 @@ var cB = ["切片","隐藏切片"]-], OPe = "button:not([disabled]),input:not([disabled]),textarea:not([disabled]),a[href]", lB = null, uB = {+], OPe = "button:not([disabled]),input:not([disabled]),textarea:not([disabled]),a[href]", uB = null, dB = {open: !1,closing: !1,epoch: 0,tab: 0,configurable: null-}, dB = 0, fB = null, pB = /* @__PURE__ */ new Set();+}, fB = 0, pB = null, mB = /* @__PURE__ */ new Set();function kPe(e) {- return pB.add(e), () => {- pB.delete(e);+ return mB.add(e), () => {+ mB.delete(e);};}function APe() {- for (let e of [...pB]) e();+ for (let e of [...mB]) e();}-function mB(e) {- uB = {- ...uB,+function hB(e) {+ dB = {+ ...dB,...e}, (0, mt.flushSync)(APe);}async function jPe(e) {- let t = uB.epoch, n = await e.configurable();- uB.open && uB.epoch === t && mB({ configurable: n });+ let t = dB.epoch, n = await e.configurable();+ dB.open && dB.epoch === t && hB({ configurable: n });}function MPe(e = "") {- let t = lB;+ let t = uB;if (!t) return;- let n = cB.findIndex(([t]) => t === e);- if (uB.open && !uB.closing) {- n >= 0 && n !== uB.tab && mB({ tab: n });+ let n = lB.findIndex(([t]) => t === e);+ if (dB.open && !dB.closing) {+ n >= 0 && n !== dB.tab && hB({ tab: n });return;}- Wa(), dB += 1, fB ||= document.activeElement, t.sound("whoosh"), document.documentElement.style.overflow = "hidden", document.body.classList.add("settings-open");+ Wa(), fB += 1, pB ||= document.activeElement, t.sound("whoosh"), document.documentElement.style.overflow = "hidden", document.body.classList.add("settings-open");let r = Mxe();- mB({+ hB({open: !0,closing: !1,configurable: null,- epoch: uB.epoch + 1,- tab: n >= 0 ? n : uB.tab+ epoch: dB.epoch + 1,+ tab: n >= 0 ? n : dB.tab}), r.then((e) => {e && t.syncRemote(e);}), jPe(t), queueMicrotask(() => document.getElementById("settingsClose")?.focus());}-function hB(e = !0) {- if (!uB.open || uB.closing) return;- let t = ++dB;- e && lB?.closed?.(), mB({ closing: !0 });+function gB(e = !0) {+ if (!dB.open || dB.closing) return;+ let t = ++fB;+ e && uB?.closed?.(), hB({ closing: !0 });let n = () => {- t === dB && uB.closing && (mB({+ t === fB && dB.closing && (hB({open: !1,closing: !1- }), document.documentElement.style.overflow = "", document.body.classList.remove("settings-open"), fB instanceof HTMLElement && document.contains(fB) && fB.focus(), fB = null);+ }), document.documentElement.style.overflow = "", document.body.classList.remove("settings-open"), pB instanceof HTMLElement && document.contains(pB) && pB.focus(), pB = null);};matchMedia("(prefers-reduced-motion: reduce)").matches ? queueMicrotask(n) : (document.querySelector("#settingsPanel > [data-settings-card]")?.addEventListener("animationend", n, { once: !0 }), setTimeout(n, 380));}var NPe = {open: MPe,- close: hB,- isOpen: () => uB.open,+ close: gB,+ isOpen: () => dB.open,reveal: (e) => queueMicrotask(() => document.querySelector(e)?.scrollIntoView({ block: "nearest" }))};function PPe(e) {- return lB = e, NPe;+ return uB = e, NPe;}function FPe() {- let e = (0, b.useSyncExternalStore)(kPe, () => uB);- return lB ? /* @__PURE__ */ (0, x.jsx)(RPe, {- host: lB,+ let e = (0, b.useSyncExternalStore)(kPe, () => dB);+ return uB ? /* @__PURE__ */ (0, x.jsx)(RPe, {+ host: uB,view: e}) : null;}@@ -67874,7 +67887,7 @@ function IPe(e) {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 gB = (e) => `settings-tab-${e}`, _B = (e) => `settings-group-${e}`;+var _B = (e) => `settings-tab-${e}`, vB = (e) => `settings-group-${e}`;function LPe({ tab: e, epoch: t, configurable: n, openConfiguration: r, onSelect: i }) {let a = (0, b.useRef)(null), o = (0, b.useRef)(null), s = (0, b.useRef)(null), c = (0, b.useRef)(e), l = (0, b.useRef)([]), u = (e, t) => {let n = o.current;@@ -67903,7 +67916,7 @@ function LPe({ 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 = cB.length, r = t;+ let n = lB.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;@@ -67932,11 +67945,11 @@ function LPe({ tab: e, epoch: t, configurable: n, openConfiguration: r, onSelectrole: "presentation",children: "设置"}),- cB.map(([t, n], r) => /* @__PURE__ */ (0, x.jsxs)("button", {+ lB.map(([t, n], r) => /* @__PURE__ */ (0, x.jsxs)("button", {type: "button",role: "tab",- id: gB(r),- "aria-controls": _B(r),+ id: _B(r),+ "aria-controls": vB(r),"aria-selected": r === e,tabIndex: r === e ? 0 : -1,ref: (e) => {@@ -67947,7 +67960,7 @@ function LPe({ tab: e, epoch: t, configurable: n, openConfiguration: r, onSelectonPointerEnter: (e) => {e.pointerType !== "touch" && u(e.currentTarget, !0);},- children: [n === "jav" ? /* @__PURE__ */ (0, x.jsx)(QE, { name: n }) : /* @__PURE__ */ (0, x.jsx)(ape, { name: n }), t]+ children: [n === "jav" ? /* @__PURE__ */ (0, x.jsx)($E, { name: n }) : /* @__PURE__ */ (0, x.jsx)(ipe, { name: n }), t]}, t)),/* @__PURE__ */ (0, x.jsx)("div", {"data-settings-service": "",@@ -67958,26 +67971,26 @@ function LPe({ tab: e, epoch: t, configurable: n, openConfiguration: r, onSelectonClick: r,title: n === !1 ? "请在运行 Peach 的设备上打开 Peach 配置" : void 0,children: [- /* @__PURE__ */ (0, x.jsx)(QE, { name: "folder-cog" }),+ /* @__PURE__ */ (0, x.jsx)($E, { name: "folder-cog" }),"Peach 配置",- /* @__PURE__ */ (0, x.jsx)(QE, { name: "chevron-right" })+ /* @__PURE__ */ (0, x.jsx)($E, { name: "chevron-right" })]})})]});}-function vB({ index: e, tab: t, children: n }) {+function yB({ index: e, tab: t, children: n }) {return /* @__PURE__ */ (0, x.jsxs)("section", {"data-setting-group": "",- id: _B(e),+ id: vB(e),role: "tabpanel",- "aria-labelledby": gB(e),+ "aria-labelledby": _B(e),hidden: e !== t,- children: [/* @__PURE__ */ (0, x.jsx)("h3", { children: cB[e][0] }), n]+ children: [/* @__PURE__ */ (0, x.jsx)("h3", { children: lB[e][0] }), n]});}-function yB({ id: e, title: t, description: n, describedBy: r = `${e.replace(/Setting$/, "")}Description`, checked: i, onToggle: a }) {+function bB({ id: e, title: t, description: n, describedBy: r = `${e.replace(/Setting$/, "")}Description`, checked: i, onToggle: a }) {return /* @__PURE__ */ (0, x.jsxs)("label", {"data-setting-row": "",children: [/* @__PURE__ */ (0, x.jsxs)("span", { children: [/* @__PURE__ */ (0, x.jsx)("b", { children: t }), n ? /* @__PURE__ */ (0, x.jsx)("small", {@@ -67994,7 +68007,7 @@ function yB({ id: e, title: t, description: n, describedBy: r = `${e.replace(/Se})]});}-function bB({ title: e, description: t, kind: n, children: r }) {+function xB({ title: e, description: t, kind: n, children: r }) {return /* @__PURE__ */ (0, x.jsxs)("div", {"data-setting-row": "","data-setting-sort": n === "sort" ? "" : void 0,@@ -68023,7 +68036,7 @@ function RPe({ host: e, view: t }) {s.current?.();});let d = t.epoch, f = (t) => {- t !== uB.tab && (mB({ tab: t }), e.selectSection?.(cB[t][0]));+ t !== dB.tab && (hB({ tab: t }), e.selectSection?.(lB[t][0]));}, p = () => e.store.save();return /* @__PURE__ */ (0, x.jsx)("section", {"data-settings-panel": "",@@ -68036,7 +68049,7 @@ function RPe({ host: e, view: t }) {ref: r,onKeyDown: IPe,onClick: (e) => {- e.target === e.currentTarget && hB();+ e.target === e.currentTarget && gB();},children: /* @__PURE__ */ (0, x.jsxs)("div", {"data-settings-card": "",@@ -68047,12 +68060,12 @@ function RPe({ host: e, view: t }) {ref: a,children: [/* @__PURE__ */ (0, x.jsx)("h2", {id: "settingsTitle",- children: cB[t.tab][0]+ children: lB[t.tab][0]}), /* @__PURE__ */ (0, x.jsx)("button", {type: "button",id: "settingsClose","aria-label": "关闭设置",- onClick: () => hB(),+ onClick: () => gB(),children: /* @__PURE__ */ (0, x.jsx)("svg", {viewBox: "0 0 24 24",children: /* @__PURE__ */ (0, x.jsx)("use", { href: "#i-x" })@@ -68065,18 +68078,18 @@ function RPe({ host: e, view: t }) {configurable: t.configurable,onSelect: f,openConfiguration: () => {- hB(!1), e.openConfiguration();+ gB(!1), e.openConfiguration();}}),/* @__PURE__ */ (0, x.jsxs)("div", {"data-settings-scroll": "",ref: o,children: [- /* @__PURE__ */ (0, x.jsxs)(vB, {+ /* @__PURE__ */ (0, x.jsxs)(yB, {index: 0,tab: t.tab,children: [- /* @__PURE__ */ (0, x.jsx)(bB, {+ /* @__PURE__ */ (0, x.jsx)(xB, {title: "主题",children: /* @__PURE__ */ (0, x.jsx)(Dz, {id: "themeSetting",@@ -68106,7 +68119,7 @@ function RPe({ host: e, view: t }) {onChange: (t) => e.setHighContrast(t.target.checked)})]}),- /* @__PURE__ */ (0, x.jsx)(yB, {+ /* @__PURE__ */ (0, x.jsx)(bB, {id: "uiSoundsSetting",title: "界面音效",checked: n.uiSounds,@@ -68114,7 +68127,7 @@ function RPe({ host: e, view: t }) {n.uiSounds = t, p(), e.changed("uiSounds");}}),- /* @__PURE__ */ (0, x.jsx)(yB, {+ /* @__PURE__ */ (0, x.jsx)(bB, {id: "homeGlowSetting",title: "侧栏光晕",checked: n.homeGlow.on,@@ -68143,7 +68156,7 @@ function RPe({ host: e, view: t }) {tab: t.tab,epoch: d}),- /* @__PURE__ */ (0, x.jsxs)(vB, {+ /* @__PURE__ */ (0, x.jsxs)(yB, {index: 3,tab: t.tab,children: [@@ -68151,11 +68164,11 @@ function RPe({ host: e, view: t }) {host: e,epoch: d}),- /* @__PURE__ */ (0, x.jsx)(bB, {+ /* @__PURE__ */ (0, x.jsx)(xB, {title: "相关推荐数量",children: /* @__PURE__ */ (0, x.jsx)("div", {id: "relatedLimitSetting",- children: /* @__PURE__ */ (0, x.jsx)(iB, {+ children: /* @__PURE__ */ (0, x.jsx)(aB, {id: "relatedLimitSetting",label: "相关推荐数量",value: n.relatedLimit,@@ -68165,24 +68178,24 @@ function RPe({ host: e, view: t }) {}, d)})}),- /* @__PURE__ */ (0, x.jsx)(bB, {+ /* @__PURE__ */ (0, x.jsx)(xB, {title: "口味与记录",children: /* @__PURE__ */ (0, x.jsx)("div", {className: "peach-react",- children: /* @__PURE__ */ (0, x.jsx)(Tk, {+ children: /* @__PURE__ */ (0, x.jsx)(Ek, {variant: "secondary",href: "/taste",- onClick: () => hB(!1),+ onClick: () => gB(!1),children: "打开口味与记录"})})})]}),- /* @__PURE__ */ (0, x.jsx)(vB, {+ /* @__PURE__ */ (0, x.jsx)(yB, {index: 4,tab: t.tab,- children: /* @__PURE__ */ (0, x.jsx)(yB, {+ children: /* @__PURE__ */ (0, x.jsx)(bB, {id: "censorSetting",title: "SFW 模式",describedBy: "sfwDescription",@@ -68209,15 +68222,15 @@ function zPe(e, t) {}function BPe({ 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, x.jsxs)(vB, {+ return /* @__PURE__ */ (0, x.jsxs)(yB, {index: 1,tab: t,children: [- /* @__PURE__ */ (0, x.jsx)(bB, {+ /* @__PURE__ */ (0, x.jsx)(xB, {title: "每批加载作品",children: /* @__PURE__ */ (0, x.jsx)("div", {id: "batchSizeSetting",- children: /* @__PURE__ */ (0, x.jsx)(iB, {+ children: /* @__PURE__ */ (0, x.jsx)(aB, {id: "batchSizeSetting",label: "每批作品",value: r.batchSize,@@ -68227,7 +68240,7 @@ function BPe({ host: e, tab: t, epoch: n }) {}, n)})}),- /* @__PURE__ */ (0, x.jsx)(bB, {+ /* @__PURE__ */ (0, x.jsx)(xB, {title: "默认排序",kind: "sort",children: /* @__PURE__ */ (0, x.jsxs)("div", {@@ -68256,7 +68269,7 @@ function BPe({ host: e, tab: t, epoch: n }) {})]})}),- /* @__PURE__ */ (0, x.jsx)(bB, {+ /* @__PURE__ */ (0, x.jsx)(xB, {title: "视频卡片大小",children: /* @__PURE__ */ (0, x.jsx)(Dz, {id: "javSizeSetting",@@ -68280,7 +68293,7 @@ function BPe({ host: e, tab: t, epoch: n }) {}function VPe({ host: e, tab: t, epoch: n }) {let r = e.store.value, i = () => e.store.save();- return /* @__PURE__ */ (0, x.jsxs)(vB, {+ return /* @__PURE__ */ (0, x.jsxs)(yB, {index: 2,tab: t,children: [@@ -68288,7 +68301,7 @@ function VPe({ host: e, tab: t, epoch: n }) {"data-settings-subheading": "",children: "作品显示"}),- /* @__PURE__ */ (0, x.jsx)(bB, {+ /* @__PURE__ */ (0, x.jsx)(xB, {title: "默认图片",children: /* @__PURE__ */ (0, x.jsx)(Dz, {id: "javImageSetting",@@ -68322,7 +68335,7 @@ function VPe({ host: e, tab: t, epoch: n }) {"data-settings-subheading": "",children: "新作显示"}),- /* @__PURE__ */ (0, x.jsx)(yB, {+ /* @__PURE__ */ (0, x.jsx)(bB, {id: "feedAutoScrollSetting",title: "新作自动滚动",checked: r.feedAutoScroll,@@ -68341,7 +68354,7 @@ function VPe({ host: e, tab: t, epoch: n }) {});}function HPe({ host: e, id: t, settingKey: n, label: r, title: i }) {- let a = YF(), [o, s] = (0, b.useState)(null), c = (0, b.useRef)(null), l = e.store.value, u = (t) => {+ let a = XF(), [o, s] = (0, b.useState)(null), c = (0, b.useRef)(null), l = e.store.value, u = (t) => {s(t), ts(c.current), a.mutate({ [n]: t }, {onSuccess: (i) => {l[n] = i[n] === !0, e.store.save(), e.changed("feedCompilations"), e.receipt(t ? `新作已收起${r}` : `新作已列出${r}`);@@ -68368,21 +68381,21 @@ function HPe({ host: e, id: t, settingKey: n, label: r, title: i }) {function UPe({ host: e, epoch: t }) {let n = e.store.value, r = () => e.store.save();return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [- /* @__PURE__ */ (0, x.jsx)(bB, {+ /* @__PURE__ */ (0, x.jsx)(xB, {title: "悬停预览延迟",children: /* @__PURE__ */ (0, x.jsx)("div", {id: "hoverDelaySetting",- children: /* @__PURE__ */ (0, x.jsx)(iB, {+ children: /* @__PURE__ */ (0, x.jsx)(aB, {id: "hoverDelaySetting",label: "悬停预览延迟",value: n.hoverDelaySeconds,onApply: (t) => {- n.hoverDelaySeconds = PC(t, 0, 60, 5), r(), e.changed("hoverDelay");+ n.hoverDelaySeconds = FC(t, 0, 60, 5), r(), e.changed("hoverDelay");}}, t)})}),- /* @__PURE__ */ (0, x.jsx)(yB, {+ /* @__PURE__ */ (0, x.jsx)(bB, {id: "detailAutoplaySetting",title: "打开详情自动播放",checked: n.detailAutoplay,@@ -68390,7 +68403,7 @@ function UPe({ host: e, epoch: t }) {n.detailAutoplay = e, r();}}),- /* @__PURE__ */ (0, x.jsx)(yB, {+ /* @__PURE__ */ (0, x.jsx)(bB, {id: "miniplayerSetting",title: "离开详情后小窗播放",checked: n.miniplayer,@@ -68398,11 +68411,11 @@ function UPe({ host: e, epoch: t }) {n.miniplayer = t, r(), e.changed("miniplayer");}}),- /* @__PURE__ */ (0, x.jsx)(bB, {+ /* @__PURE__ */ (0, x.jsx)(xB, {title: "快进 / 快退步长",children: /* @__PURE__ */ (0, x.jsx)("div", {id: "seekSecondsSetting",- children: /* @__PURE__ */ (0, x.jsx)(iB, {+ children: /* @__PURE__ */ (0, x.jsx)(aB, {id: "seekSecondsSetting",label: "快进 / 快退",value: n.seekSeconds,@@ -68415,17 +68428,17 @@ function UPe({ host: e, epoch: t }) {] });}function WPe({ host: e, epoch: t }) {- let n = e.store.value, r = YF();- return /* @__PURE__ */ (0, x.jsx)(bB, {+ let n = e.store.value, r = XF();+ return /* @__PURE__ */ (0, x.jsx)(xB, {title: "搜索记录数量",children: /* @__PURE__ */ (0, x.jsx)("div", {id: "searchHistoryLimitSetting",- children: /* @__PURE__ */ (0, x.jsx)(iB, {+ children: /* @__PURE__ */ (0, x.jsx)(aB, {id: "searchHistoryLimitSetting",label: "搜索记录",value: n.searchHistoryLimit,onApply: (t) => {- n.searchHistoryLimit = PC(t, 0, 50, 10), e.store.save(), e.changed("searchHistoryLimit"), r.mutate({ searchHistoryLimit: n.searchHistoryLimit }, { onError: () => {} });+ n.searchHistoryLimit = FC(t, 0, 50, 10), e.store.save(), e.changed("searchHistoryLimit"), r.mutate({ searchHistoryLimit: n.searchHistoryLimit }, { onError: () => {} });}}, t)})@@ -68433,43 +68446,43 @@ function WPe({ host: e, epoch: t }) {}//#endregion//#region src/react/sidebar/sidebar-island.tsx-var xB = "__home__", GPe = {+var SB = "__home__", GPe = {creator: 26,tag: 30,tech: 16-}, SB = 180, CB = null, wB = {+}, CB = 180, wB = null, TB = {props: {content: null,filters: {},latest: null},epoch: 0-}, TB = /* @__PURE__ */ new Set();+}, EB = /* @__PURE__ */ new Set();function KPe(e) {- return TB.add(e), () => {- TB.delete(e);+ return EB.add(e), () => {+ EB.delete(e);};}-function EB() {- for (let e of [...TB]) e();+function DB() {+ for (let e of [...EB]) e();}var qPe = {render(e) {- wB = {- ...wB,+ TB = {+ ...TB,props: e- }, (0, mt.flushSync)(EB);+ }, (0, mt.flushSync)(DB);},navChanged() {- wB = {- ...wB,- epoch: wB.epoch + 1- }, (0, mt.flushSync)(EB);+ TB = {+ ...TB,+ epoch: TB.epoch + 1+ }, (0, mt.flushSync)(DB);}};function JPe(e) {- return CB = e, wB = {- ...wB,+ return wB = e, TB = {+ ...TB,props: {content: null,filters: {},@@ -68478,9 +68491,9 @@ function JPe(e) {}, qPe;}function YPe() {- let e = (0, b.useSyncExternalStore)(KPe, () => wB);- return CB ? /* @__PURE__ */ (0, x.jsx)(XPe, {- host: CB,+ let e = (0, b.useSyncExternalStore)(KPe, () => TB);+ return wB ? /* @__PURE__ */ (0, x.jsx)(XPe, {+ host: wB,props: e.props,epoch: e.epoch}) : null;@@ -68503,7 +68516,7 @@ function XPe({ host: e, props: t, epoch: n }) {] });}function ZPe({ host: e, epoch: t, version: n }) {- let r = aB(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, b.useRef)(null), l = (0, b.useRef)(null), u = TA(l, c, "[data-nav][aria-pressed=\"true\"]", `${t}:${n}:${o.map(([e], t) => s[t] ? e || xB : "").join(",")}`, { axis: "y" }), { sync: d } = u;+ let r = oB(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, b.useRef)(null), l = (0, b.useRef)(null), u = EA(l, c, "[data-nav][aria-pressed=\"true\"]", `${t}:${n}:${o.map(([e], t) => s[t] ? e || SB : "").join(",")}`, { axis: "y" }), { sync: d } = u;(0, b.useEffect)(() => {let t = e.scroll, n = t.parentElement, r = t.querySelector(":scope > [data-sidebar-head]"), i = new ResizeObserver(() => d());return [@@ -68521,7 +68534,7 @@ function ZPe({ host: e, epoch: t, version: n }) {}, _ = (e) => ({draggable: !0,onDragStart: (t) => {- p(e), t.dataTransfer.effectAllowed = "move", t.dataTransfer.setData("text/plain", e || xB);+ p(e), t.dataTransfer.effectAllowed = "move", t.dataTransfer.setData("text/plain", e || SB);},onDragOver: (t) => {if (f === null || f === e) return;@@ -68536,7 +68549,7 @@ function ZPe({ host: e, epoch: t, version: n }) {t.preventDefault();let n = f, a = m?.key === e && m.after;g();- let o = n === null ? null : oB(i, n, e, a);+ let o = n === null ? null : sB(i, n, e, a);o && r(o);},onDragEnd: g@@ -68559,15 +68572,15 @@ function ZPe({ host: e, epoch: t, version: n }) {"data-sidebar-home-logo": "",src: "/peach-logo.png",alt: ""- }) : /* @__PURE__ */ (0, x.jsx)(QE, { name: r }), /* @__PURE__ */ (0, x.jsx)("span", { children: n })]- }, t || xB))+ }) : /* @__PURE__ */ (0, x.jsx)($E, { name: r }), /* @__PURE__ */ (0, x.jsx)("span", { children: n })]+ }, t || SB))}), v ? (0, mt.createPortal)(/* @__PURE__ */ (0, x.jsx)("span", {"data-sidebar-glide": "","aria-hidden": "true",ref: l}), v) : null] });}-var DB = (e, t) => String(e[t] ?? "").split(",").filter(Boolean);+var OB = (e, t) => String(e[t] ?? "").split(",").filter(Boolean);function QPe(e) {if (!e) return null;let t = /* @__PURE__ */ new Map(), n = [@@ -68603,8 +68616,8 @@ function $Pe({ host: e, content: t, filters: n, latest: r }) {function eFe(e, t, n, r, i) {let a = QPe(r), o = (t, r, i) => {if (!t.length) return null;- let o = DB(n, r);- return /* @__PURE__ */ (0, x.jsx)(AB, {+ let o = OB(n, r);+ return /* @__PURE__ */ (0, x.jsx)(jB, {rows: t,filterKey: r,multi: i,@@ -68614,7 +68627,7 @@ function eFe(e, t, n, r, i) {});}, s = (t, s, c, l, u, d) => {if (!c.length) return null;- let f = DB(n, l), p = c.some((e) => f.includes(e.value));+ let f = OB(n, l), p = c.some((e) => f.includes(e.value));if (!d) return {title: t,kind: s,@@ -68646,7 +68659,7 @@ function eFe(e, t, n, r, i) {title: "时长",kind: "meta",active: !1,- body: /* @__PURE__ */ (0, x.jsx)(NB, {+ body: /* @__PURE__ */ (0, x.jsx)(PB, {host: e,filters: n})@@ -68660,7 +68673,7 @@ function eFe(e, t, n, r, i) {title: "关注标签",kind: "online",active: !1,- body: /* @__PURE__ */ (0, x.jsx)(jB, {+ body: /* @__PURE__ */ (0, x.jsx)(MB, {rows: t.followTags,host: e,selected: null,@@ -68670,13 +68683,13 @@ function eFe(e, t, n, r, i) {];}function tFe(e, t, n) {- let r = t.providers || [], i = DB(n, "provider"), a = new Set(t.selected);+ let r = t.providers || [], i = OB(n, "provider"), a = new Set(t.selected);return [r.length ? {title: "来源",kind: "src",active: r.some((e) => i.includes(e.value)),- body: /* @__PURE__ */ (0, x.jsx)(AB, {+ body: /* @__PURE__ */ (0, x.jsx)(jB, {rows: r,filterKey: "provider",multi: !1,@@ -68690,7 +68703,7 @@ function tFe(e, t, n) {title: "时长",kind: "meta",active: !1,- body: /* @__PURE__ */ (0, x.jsx)(NB, {+ body: /* @__PURE__ */ (0, x.jsx)(PB, {host: e,filters: n,commit: e.setFollowDuration@@ -68700,7 +68713,7 @@ function tFe(e, t, n) {title: "内容标签",kind: "online",active: t.tags.some((e) => a.has(e.value)),- body: /* @__PURE__ */ (0, x.jsx)(jB, {+ body: /* @__PURE__ */ (0, x.jsx)(MB, {rows: t.tags,host: e,selected: a,@@ -68709,7 +68722,7 @@ function tFe(e, t, n) {} : null];}-function OB(e, t) {+function kB(e, t) {let n = null;try {n = sessionStorage.getItem(`peach.sidebar.group.${e}`);@@ -68717,11 +68730,11 @@ function OB(e, t) {return n === null ? t : n === "open";}function nFe({ title: e, kind: t, active: n, index: r, epoch: i, children: a }) {- let o = (0, b.useRef)(null), s = (0, b.useRef)(null), [c, l] = (0, b.useState)(() => OB(e, n)), u = (0, b.useRef)(!1);+ let o = (0, b.useRef)(null), s = (0, b.useRef)(null), [c, l] = (0, b.useState)(() => kB(e, n)), u = (0, b.useRef)(!1);(0, b.useLayoutEffect)(() => {let t = o.current, r = s.current;if (!t || !r) return;- let i = u.current ? OB(e, n) : c;+ let i = u.current ? kB(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) => {@@ -68742,7 +68755,7 @@ function nFe({ title: e, kind: t, active: n, index: r, epoch: i, children: a })"aria-expanded": c,"aria-controls": f,onClick: d,- children: [/* @__PURE__ */ (0, x.jsx)(QE, { name: "chevron-right" }), /* @__PURE__ */ (0, x.jsx)("span", { children: e })]+ children: [/* @__PURE__ */ (0, x.jsx)($E, { name: "chevron-right" }), /* @__PURE__ */ (0, x.jsx)("span", { children: e })]}), /* @__PURE__ */ (0, x.jsx)("div", {ref: s,"data-sidebar-collapse": "",@@ -68753,7 +68766,7 @@ function nFe({ title: e, kind: t, active: n, index: r, epoch: i, children: a })children: /* @__PURE__ */ (0, x.jsx)("div", {"data-sidebar-body": "",id: `sidebar-group-${encodeURIComponent(e)}`,- children: /* @__PURE__ */ (0, x.jsx)(kB.Provider, {+ children: /* @__PURE__ */ (0, x.jsx)(AB.Provider, {value: d,children: a})@@ -68762,15 +68775,15 @@ function nFe({ title: e, kind: t, active: n, index: r, epoch: i, children: a })})]});}-var kB = (0, b.createContext)(() => {});+var AB = (0, b.createContext)(() => {});function rFe({ dot: e }) {- return e ? e.kind === "glyph" ? /* @__PURE__ */ (0, x.jsx)(QE, { name: e.name }) : e.kind === "image" ? /* @__PURE__ */ (0, x.jsx)("img", {+ return e ? e.kind === "glyph" ? /* @__PURE__ */ (0, x.jsx)($E, { name: e.name }) : e.kind === "image" ? /* @__PURE__ */ (0, x.jsx)("img", {"data-sidebar-source-icon": "",src: e.src,alt: ""}) : /* @__PURE__ */ (0, x.jsx)("i", { "data-sidebar-cost": e.cost }) : null;}-function AB({ rows: e, filterKey: t, multi: n, selected: r, counts: i, host: a, onToggle: o = a.toggleChip }) {+function jB({ rows: e, filterKey: t, multi: n, selected: r, counts: i, host: a, onToggle: o = a.toggleChip }) {return /* @__PURE__ */ (0, x.jsx)("div", {"data-sidebar-chips": "",children: e.map((e) => {@@ -68803,7 +68816,7 @@ function AB({ rows: e, filterKey: t, multi: n, selected: r, counts: i, host: a,});}function iFe({ epoch: e, title: t, rows: n, latest: r, limit: i, filterKey: a, selected: o, counts: s, host: c, expandable: l }) {- let u = (0, b.useContext)(kB), [d, f] = (0, b.useState)(null), [p, m] = (0, b.useState)(e);+ let u = (0, b.useContext)(AB), [d, f] = (0, b.useState)(null), [p, m] = (0, b.useState)(e);p !== e && (m(e), f(null));let h = (0, b.useRef)(null), g = (0, b.useRef)(null), _ = !!d?.all, v = d ? d.rows : n;return (0, b.useLayoutEffect)(() => {@@ -68818,7 +68831,7 @@ function iFe({ epoch: e, title: t, rows: n, latest: r, limit: i, filterKey: a, se.body.classList.add("ui-fcollapse"), Oa(e.body, e.before, () => !!t?.open && !e.body.inert);}t(), requestAnimationFrame(t);- }, [d, _]), /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(AB, {+ }, [d, _]), /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(jB, {rows: _ ? v : v.slice(0, i),filterKey: a,multi: !1,@@ -68843,10 +68856,10 @@ function iFe({ epoch: e, title: t, rows: n, latest: r, limit: i, filterKey: a, sall: !_}), _ && u());},- children: /* @__PURE__ */ (0, x.jsx)(QE, { name: "chevron-down" })+ children: /* @__PURE__ */ (0, x.jsx)($E, { name: "chevron-down" })}) : null] });}-function jB({ rows: e, host: t, selected: n, badges: r }) {+function MB({ rows: e, host: t, selected: n, badges: r }) {return /* @__PURE__ */ (0, x.jsx)("div", {"data-sidebar-chips": "",children: e.map((e) => /* @__PURE__ */ (0, x.jsxs)("button", {@@ -68868,10 +68881,10 @@ function jB({ rows: e, host: t, selected: n, badges: r }) {}, e.value))});}-var MB = (e, t) => e ? Math.min(SB, Number(e) / 60) : t;-function NB({ host: e, filters: t, commit: n = e.setDuration }) {- let r = `${t.dur_min ?? ""}:${t.dur_max ?? ""}`, [i, a] = (0, b.useState)(r), [o, s] = (0, b.useState)(() => [MB(t.dur_min, 0), MB(t.dur_max, SB)]), [c, l] = (0, b.useState)("max");- i !== r && (a(r), s([MB(t.dur_min, 0), MB(t.dur_max, SB)]));+var NB = (e, t) => e ? Math.min(CB, Number(e) / 60) : t;+function PB({ host: e, filters: t, commit: n = e.setDuration }) {+ let r = `${t.dur_min ?? ""}:${t.dur_max ?? ""}`, [i, a] = (0, b.useState)(r), [o, s] = (0, b.useState)(() => [NB(t.dur_min, 0), NB(t.dur_max, CB)]), [c, l] = (0, b.useState)("max");+ i !== r && (a(r), s([NB(t.dur_min, 0), NB(t.dur_max, CB)]));let [u, d] = o, f = (0, b.useRef)(null), p = (0, b.useRef)(null), m = (0, b.useRef)(null), h = (0, b.useRef)(o);h.current = o;let g = (e, t) => {@@ -68884,11 +68897,11 @@ function NB({ host: e, filters: t, commit: n = e.setDuration }) {}, [n]), (0, b.useLayoutEffect)(() => {let e = f.current;if (!e) return;- e.style.setProperty("--lo", `${u / SB * 100}%`), e.style.setProperty("--hi", `${d / SB * 100}%`);+ e.style.setProperty("--lo", `${u / CB * 100}%`), e.style.setProperty("--hi", `${d / CB * 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 / SB * 100}%`, e.style.setProperty("--range-tip-shift", "0px");+ e.style.left = `${n / CB * 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`);});@@ -68898,7 +68911,7 @@ function NB({ 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 >= SB ? "不限" : `${t} 分钟`+ children: e === "max" && t >= CB ? "不限" : `${t} 分钟`});return /* @__PURE__ */ (0, x.jsx)("div", {"data-sidebar-duration": "",@@ -68913,7 +68926,7 @@ function NB({ host: e, filters: t, commit: n = e.setDuration }) {id: "durMin",type: "range",min: "0",- max: SB,+ max: CB,step: "5",value: u,"aria-label": "最短时长(分钟)",@@ -68924,7 +68937,7 @@ function NB({ host: e, filters: t, commit: n = e.setDuration }) {id: "durMax",type: "range",min: "0",- max: SB,+ max: CB,step: "5",value: d,"aria-label": "最长时长(分钟)",@@ -68939,10 +68952,10 @@ function NB({ host: e, filters: t, commit: n = e.setDuration }) {}//#endregion//#region src/configuration-skeleton.ts-var aFe = (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><div class="flex w-full flex-col rounded-2xl bg-background-secondary-default pl-3">${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">${NI({+var aFe = (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><div class="flex w-full flex-col rounded-2xl bg-background-secondary-default pl-3">${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">${PI({label: "保存配置",attrs: "disabled data-skeleton-action"-})}</div></div></section>`, PB = (e, t = "", n = "ui-configuration-skeleton-toggle") => `<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><span class="skeleton ${n}"></span></div>`;+})}</div></div></section>`, FB = (e, t = "", n = "ui-configuration-skeleton-toggle") => `<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><span class="skeleton ${n}"></span></div>`;function oFe() {return `<div class="peach-react"><div class="ui-configpage">${`<div class="ui-board-local-nav" data-section-nav data-section-items>${["媒体库与入库",@@ -68950,11 +68963,11 @@ function oFe() {"下载渠道","网络与访问","应用与维护"- ].map((e, t) => `<button type="button" tabindex="-1" aria-selected="${t === 0}">${e}</button>`).join("")}</div>`}<div class="flex flex-col gap-6">${aFe("媒体文件夹", `<div class="flex flex-col gap-3 py-4 pr-3">${PB("媒体文件夹", "", "ui-configuration-skeleton-select")}${PB("媒体库名称", "", "ui-configuration-skeleton-select")}</div>`)}</div></div></div>`;+ ].map((e, t) => `<button type="button" tabindex="-1" aria-selected="${t === 0}">${e}</button>`).join("")}</div>`}<div class="flex flex-col gap-6">${aFe("媒体文件夹", `<div class="flex flex-col gap-3 py-4 pr-3">${FB("媒体文件夹", "", "ui-configuration-skeleton-select")}${FB("媒体库名称", "", "ui-configuration-skeleton-select")}</div>`)}</div></div></div>`;}//#endregion//#region src/management-skeletons.ts-var FB = "relative overflow-hidden skeleton-sheen bg-background-tertiary-default rounded-lg", IB = (e = "60%") => `<span class="${FB} inline-block max-w-full align-middle" style="width:${e};height:1em"></span>`, LB = "disabled data-skeleton-action", RB = "min-w-0 rounded-2-5xl bg-background-secondary-default p-5 flex flex-col gap-4 max-sm:p-4";+var IB = "relative overflow-hidden skeleton-sheen bg-background-tertiary-default rounded-lg", LB = (e = "60%") => `<span class="${IB} inline-block max-w-full align-middle" style="width:${e};height:1em"></span>`, RB = "disabled data-skeleton-action", zB = "min-w-0 rounded-2-5xl bg-background-secondary-default p-5 flex flex-col gap-4 max-sm:p-4";function sFe() {let e = ["馆藏视频",@@ -68963,27 +68976,27 @@ function sFe() {"使用空间"].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="${FB} 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">${IB("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">${IB("6em")}</small>- </div>`).join(""), t = (e) => `<section class="${RB}" 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">${IB("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="${IB} 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">${LB("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">${LB("6em")}</small>+ </div>`).join(""), t = (e) => `<section class="${zB}" 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">${LB("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">${IB()}</span><b class="text-title-2-medium">${IB("3em")}</b><small class="text-caption-1-regular">${IB()}</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">${LB()}</span><b class="text-title-2-medium">${LB("3em")}</b><small class="text-caption-1-regular">${LB()}</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">账本当前快照 · ${IB("12em")}</p>+ <p class="text-caption-1-regular text-text-secondary">账本当前快照 · ${LB("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="${RB}"><h3 class="text-title-2-medium">${e}</h3><div class="${FB} h-64"></div></section>`).join("")}</div>+ ].map((e) => `<section class="${zB}"><h3 class="text-title-2-medium">${e}</h3><div class="${IB} h-64"></div></section>`).join("")}</div></div></div><section class="rounded-surface bg-background-secondary-default dark:bg-background-primary-default">@@ -68992,7 +69005,7 @@ function sFe() {"最近看过","标签来源"].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="${FB} 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="${IB} h-7"></div>`).join("")}</div></section></div></div>`;}@@ -69004,20 +69017,20 @@ function cFe() {"私有导出"].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="${FB} 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">${IB("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">${IB("6em")}</small>- </div>`).join(""), n = Array.from({ length: 6 }, () => `<div class="${FB} h-6"></div>`).join(""), r = (e) => `<section class="${RB}"><h3 class="text-title-2-medium text-text-primary">${e}</h3><div class="${FB} 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="${IB} 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">${LB("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">${LB("6em")}</small>+ </div>`).join(""), n = Array.from({ length: 6 }, () => `<div class="${IB} h-6"></div>`).join(""), r = (e) => `<section class="${zB}"><h3 class="text-title-2-medium text-text-primary">${e}</h3><div class="${IB} 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">${PI("全部时间")}<span data-button-group data-split-button data-variant="primary">${NI({+ <div class="flex flex-wrap items-center gap-2">${FI("全部时间")}<span data-button-group data-split-button data-variant="primary">${PI({glyph: "compass",label: "读取浏览器历史",- attrs: LB- })}${NI({+ attrs: RB+ })}${PI({glyph: "chevron-down",- attrs: LB+ attrs: RB})}</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>@@ -69035,11 +69048,11 @@ function cFe() {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">${IB("8em")}</small></div>+ <small class="text-caption-1-regular">${LB("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="${RB}"><h3 class="text-title-2-medium text-text-primary">创作者线索来源</h3><div class="${FB} h-72 max-sm:h-48"></div></section>+ <section class="${zB}"><h3 class="text-title-2-medium text-text-primary">创作者线索来源</h3><div class="${IB} 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(["标签",@@ -69047,122 +69060,122 @@ function cFe() {"常访问网站","浏览候选"])}</div>- <div class="flex flex-col gap-3 px-4 pt-3.5 pb-4">${Array.from({ length: 5 }, () => `<div class="${FB} 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="${IB} h-7"></div>`).join("")}</div></section></div></div></div>`;}function lFe() {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="${FB} 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">${IB("70%")}</span>- ${Array.from({ length: 3 }, () => `<span class="font-mono text-caption-1-regular leading-5">${IB("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">${IB("75%")}</span>+ <span class="${IB} 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">${LB("70%")}</span>+ ${Array.from({ length: 3 }, () => `<span class="font-mono text-caption-1-regular leading-5">${LB("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">${LB("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">${IB("5em")}</b><span class="font-mono text-caption-1-regular leading-5">${IB("8em")}</span>+ <b class="text-title-2-medium">${LB("5em")}</b><span class="font-mono text-caption-1-regular leading-5">${LB("8em")}</span><span class="ml-auto flex flex-wrap gap-2 max-compact:ml-0 max-compact:w-full">${["留最大","留最长","整组回收"- ].map((e) => NI({+ ].map((e) => PI({variant: "secondary",size: "small",label: e,- attrs: LB+ attrs: RB})).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">${IB("4em")}</strong></div><p class="text-body-regular text-text-secondary">${IB("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">${LB("4em")}</strong></div><p class="text-body-regular text-text-secondary">${LB("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 ${LB} class="h-7.5 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 ${RB} class="h-7.5 rounded-full border border-separator-border px-3 text-body-2-medium">${e}</button>`).join("")}</div>${t.repeat(2)}</div></div>`;}function uFe() {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="${FB} 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">${IB("80%")}</h3><p class="text-body-2-regular">${IB("60%")}</p></div>+ <div class="flex min-w-0 gap-4"><span class="${IB} 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">${LB("80%")}</h3><p class="text-body-2-regular">${LB("60%")}</p></div></div>- <footer class="flex justify-end">${NI({+ <footer class="flex justify-end">${PI({variant: "secondary",size: "small",label: "查看版本",- attrs: LB+ attrs: RB})}</footer></li>`;return `<div class="peach-react"><div class="mx-auto flex w-full max-w-board flex-col gap-8">- ${FI("待升级")}+ ${II("待升级")}<ul class="card-grid-cover gap-5">${e.repeat(6)}</ul></div></div>`;}//#endregion//#region src/board-skeleton.ts-var zB = (e = "60%") => `<span class="skeleton" style="width:${e}"></span>`, BB = () => `${zB("80%")}${zB("48%")}`, VB = (e, t) => e.repeat(t), HB = "disabled data-skeleton-action", UB = (e) => `<span class="skeleton skeleton-text" style="width:${e}"></span>`, WB = (e, t, n = !1) => `<span class="skeleton" style="width:${e}px;height:${t}px;flex:none${n ? ";border-radius:50%" : ""}"></span>`, dFe = "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", GB = () => `<div class="inline-grid w-full grid-cols-2 gap-3 sm:grid-cols-3 sm:gap-4 xl:grid-cols-6">${[+var BB = (e = "60%") => `<span class="skeleton" style="width:${e}"></span>`, VB = () => `${BB("80%")}${BB("48%")}`, HB = (e, t) => e.repeat(t), UB = "disabled data-skeleton-action", WB = (e) => `<span class="skeleton skeleton-text" style="width:${e}"></span>`, GB = (e, t, n = !1) => `<span class="skeleton" style="width:${e}px;height:${t}px;flex:none${n ? ";border-radius:50%" : ""}"></span>`, dFe = "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", KB = () => `<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="${dFe}"><span class="text-body-medium text-text-secondary">${e}</span><b class="text-title-1-medium tabular-nums text-text-primary">${UB("3em")}</b></div>`).join("")}</div>`, KB = [+].map((e) => `<div class="${dFe}"><span class="text-body-medium text-text-secondary">${e}</span><b class="text-title-1-medium tabular-nums text-text-primary">${WB("3em")}</b></div>`).join("")}</div>`, qB = [["list", "关注列表"],["add", "添加关注"],["feeds", "JAV 订阅源"]-], fFe = (e = "") => KB.some(([t]) => t === e) ? e : "list", qB = (e) => `<div data-section-nav data-section-items class="flex max-w-full flex-nowrap overflow-x-auto">${KB.map(([t, n]) => `<span class="whitespace-nowrap" aria-selected="${t === e}">${n}</span>`).join("")}</div>`, JB = (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>`, pFe = ({ table: e, sort: t, dir: n }) => {+], fFe = (e = "") => qB.some(([t]) => t === e) ? e : "list", JB = (e) => `<div data-section-nav data-section-items class="flex max-w-full flex-nowrap overflow-x-auto">${qB.map(([t, n]) => `<span class="whitespace-nowrap" aria-selected="${t === e}">${n}</span>`).join("")}</div>`, YB = (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>`, pFe = ({ table: e, sort: t, dir: n }) => {let r = fn.find(([e]) => e === t)[1];- return `<div class="flex flex-wrap items-center gap-2 ui-follow-skeleton-toolbar"><span class="contents max-sm:flex max-sm:min-w-0 max-sm:flex-1 max-sm:flex-col"><h3 class="mr-auto text-title-2-medium text-text-primary">关注列表</h3><span class="text-body-2-regular text-text-secondary">${UB("132px")}</span></span>${NI({+ return `<div class="flex flex-wrap items-center gap-2 ui-follow-skeleton-toolbar"><span class="contents max-sm:flex max-sm:min-w-0 max-sm:flex-1 max-sm:flex-col"><h3 class="mr-auto text-title-2-medium text-text-primary">关注列表</h3><span class="text-body-2-regular text-text-secondary">${WB("132px")}</span></span>${PI({glyph: "refresh-cw",label: "检查全部",compact: !0,- attrs: HB- })}<span data-follow-toolbar-controls class="contents max-sm:flex max-sm:w-full max-sm:items-center max-sm:gap-2"><span data-button-group role="group">${NI({+ attrs: UB+ })}<span data-follow-toolbar-controls class="contents max-sm:flex max-sm:w-full max-sm:items-center max-sm:gap-2"><span data-button-group role="group">${PI({variant: "ghost",glyph: "layout-grid",attrs: `aria-pressed="${!e}"`- })}${NI({+ })}${PI({variant: "ghost",glyph: "table",attrs: `aria-pressed="${e}"`- })}</span>${PI(r)}${NI({+ })}</span>${FI(r)}${PI({variant: "secondary",glyph: n === "asc" ? "arrow-up" : "arrow-down"- })}${e ? "" : NI({+ })}${e ? "" : PI({variant: "secondary",glyph: "chevron-up",label: "全部收起",compact: !0,- attrs: HB+ attrs: UB})}</span></div>`;-}, YB = () => `<span class="flex shrink-0 items-center gap-1">${NI({+}, XB = () => `<span class="flex shrink-0 items-center gap-1">${PI({variant: "secondary",size: "small",glyph: "refresh-cw",- attrs: HB-})}${NI({+ attrs: UB+})}${PI({variant: "secondary",size: "small",glyph: "trash",- attrs: HB-})}</span>`, mFe = () => `<div class="flex min-h-16 flex-wrap items-center gap-3 px-2 py-3 max-sm:gap-x-2 follow-skeleton-source">${JB()}<span class="flex min-w-0 grow basis-0 flex-col gap-0.5"><span class="text-body-medium">${UB("8em")}</span></span><span class="flex shrink-0 items-center gap-1.5">${WB(14, 14)}</span>${WB(48, 24)}<span data-follow-source-controls class="contents max-sm:flex max-sm:w-full max-sm:flex-wrap max-sm:items-center max-sm:gap-1.5"><span class="shrink-0 text-body-2-regular whitespace-nowrap text-text-secondary max-sm:mr-auto max-sm:text-caption-1-regular">${UB("113px")}</span>${YB()}</span></div>`, XB = (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>${WB(32, 32, !0)}<b class="min-w-0 grow text-body-medium wrap-anywhere text-text-primary max-sm:basis-0">${UB("92px")}</b>${NI({+ attrs: UB+})}</span>`, mFe = () => `<div class="flex min-h-16 flex-wrap items-center gap-3 px-2 py-3 max-sm:gap-x-2 follow-skeleton-source">${YB()}<span class="flex min-w-0 grow basis-0 flex-col gap-0.5"><span class="text-body-medium">${WB("8em")}</span></span><span class="flex shrink-0 items-center gap-1.5">${GB(14, 14)}</span>${GB(48, 24)}<span data-follow-source-controls class="contents max-sm:flex max-sm:w-full max-sm:flex-wrap max-sm:items-center max-sm:gap-1.5"><span class="shrink-0 text-body-2-regular whitespace-nowrap text-text-secondary max-sm:mr-auto max-sm:text-caption-1-regular">${WB("113px")}</span>${XB()}</span></div>`, ZB = (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>${GB(32, 32, !0)}<b class="min-w-0 grow text-body-medium wrap-anywhere text-text-primary max-sm:basis-0">${WB("92px")}</b>${PI({variant: "secondary",size: "small",glyph: "refresh-cw",- attrs: HB-})}<span data-follow-author-controls class="contents max-sm:flex max-sm:w-full max-sm:items-center max-sm:gap-2"><span class="flex shrink-0 items-center gap-1 max-sm:mr-auto">${WB(14, 14)}${WB(14, 14)}</span>${NI({+ attrs: UB+})}<span data-follow-author-controls class="contents max-sm:flex max-sm:w-full max-sm:items-center max-sm:gap-2"><span class="flex shrink-0 items-center gap-1 max-sm:mr-auto">${GB(14, 14)}${GB(14, 14)}</span>${PI({variant: "secondary",size: "small",glyph: "check-check",label: "全选",- attrs: HB-})}${NI({+ attrs: UB+})}${PI({variant: "secondary",size: "small",glyph: "chevron-up",label: "收起",- attrs: HB-})}</span></div><div data-source-divider>${VB(mFe(), e)}</div></section>`, hFe = () => {+ attrs: UB+})}</span></div><div data-source-divider>${HB(mFe(), e)}</div></section>`, hFe = () => {try {return Number(JSON.parse(localStorage.getItem("peach.settings.v1") || "{}").followPageSize) || 20;} catch {@@ -69182,35 +69195,35 @@ var zB = (e = "60%") => `<span class="skeleton" style="width:${e}"></span>`, BBprovider: "provider",status: "status",checked: "checked"-}, vFe = "<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>", yFe = (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>${gFe.map(([e, r]) => r ? `<th><span class="flex items-center gap-0.5">${r}<span data-sort-indicator${_Fe[t] === e ? ` data-direction="${n === "asc" ? "ascending" : "descending"}"` : ""}>${vFe}</span></span></th>` : "<th></th>").join("")}</tr></thead><tbody>${VB(`<tr>${[- JB(),- `<span class="flex min-w-0 items-center gap-2">${WB(32, 32, !0)}${UB("5em")}</span>`,- UB("10em"),- `<span class="flex items-center gap-1.5">${WB(14, 14)}${UB("4em")}</span>`,- WB(48, 24),- UB("113px"),- YB()-].map((e) => `<td>${e}</td>`).join("")}</tr>`, e)}</tbody></table></div></div>`, bFe = (e, t) => `<div class="flex flex-wrap items-center justify-between gap-3"><span class="text-body-2-regular text-text-secondary">${UB("111px")}</span>${PI(`每页 ${t} ${e ? "条" : "位"}`, { size: "sm" })}${WB(204, 32)}</div>`, xFe = () => `<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">${UB("120px")}</h3>${[+}, vFe = "<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>", yFe = (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>${gFe.map(([e, r]) => r ? `<th><span class="flex items-center gap-0.5">${r}<span data-sort-indicator${_Fe[t] === e ? ` data-direction="${n === "asc" ? "ascending" : "descending"}"` : ""}>${vFe}</span></span></th>` : "<th></th>").join("")}</tr></thead><tbody>${HB(`<tr>${[+ YB(),+ `<span class="flex min-w-0 items-center gap-2">${GB(32, 32, !0)}${WB("5em")}</span>`,+ WB("10em"),+ `<span class="flex items-center gap-1.5">${GB(14, 14)}${WB("4em")}</span>`,+ GB(48, 24),+ WB("113px"),+ XB()+].map((e) => `<td>${e}</td>`).join("")}</tr>`, e)}</tbody></table></div></div>`, bFe = (e, t) => `<div class="flex flex-wrap items-center justify-between gap-3"><span class="text-body-2-regular text-text-secondary">${WB("111px")}</span>${FI(`每页 ${t} ${e ? "条" : "位"}`, { size: "sm" })}${GB(204, 32)}</div>`, xFe = () => `<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">${WB("120px")}</h3>${["72%","56%","64%","40%"-].map((e) => `<span class="text-body-medium">${UB(e)}</span>`).join("")}</div>`, SFe = (e) => {+].map((e) => `<span class="text-body-medium">${WB(e)}</span>`).join("")}</div>`, SFe = (e) => {let t = fFe(e.followTab);- if (t !== "list") return `<div class="peach-react"><div class="mx-auto flex w-full max-w-board flex-col gap-8">${GB()}<div class="flex flex-col gap-6">${qB(t)}<div class="flex flex-col gap-4">${xFe()}</div></div></div></div>`;- let n = e.followLayout === "table", r = gn(e.followSort, e.followDir), i = e.followPageSize || hFe(), a = n ? yFe(i, r) : `${JB("全选本页")}<div class="flex flex-col gap-3">${XB(3)}${XB(4)}${XB(3)}</div>`;- return `<div class="peach-react"><div class="mx-auto flex w-full max-w-board flex-col gap-8">${GB()}<div class="flex flex-col gap-6">${qB(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"}">${pFe({+ if (t !== "list") return `<div class="peach-react"><div class="mx-auto flex w-full max-w-board flex-col gap-8">${KB()}<div class="flex flex-col gap-6">${JB(t)}<div class="flex flex-col gap-4">${xFe()}</div></div></div></div>`;+ let n = e.followLayout === "table", r = gn(e.followSort, e.followDir), i = e.followPageSize || hFe(), a = n ? yFe(i, r) : `${YB("全选本页")}<div class="flex flex-col gap-3">${ZB(3)}${ZB(4)}${ZB(3)}</div>`;+ return `<div class="peach-react"><div class="mx-auto flex w-full max-w-board flex-col gap-8">${KB()}<div class="flex flex-col gap-6">${JB(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"}">${pFe({table: n,...r})}${a}${bFe(n, i)}</div></div></div></div></div>`;};function CFe() {- 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">${zB("85%")}${zB("65%")}${VB(BB(), 4)}</div></aside></div>`;+ 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">${BB("85%")}${BB("65%")}${HB(VB(), 4)}</div></aside></div>`;}function wFe(e, t = {}) {let n = "";if (e === "/stats") n = sFe();- else if (e === "/jav") n = AAe(new URLSearchParams(location.search).get("tab") === "wants" ? "wants" : "discover");+ else if (e === "/jav") n = jAe(new URLSearchParams(location.search).get("tab") === "wants" ? "wants" : "discover");else if (e === "/taste") n = cFe();else if (e === "/subscriptions") n = SFe(t);else if (e === "/settings/library") n = oFe();@@ -69218,21 +69231,21 @@ function wFe(e, t = {}) {"正在进行","被挡下的","最近完成"- ].map((e) => `<section class="activitysection"><h3 class="geist-fieldset-title">${e}</h3><div class="ui-activity-runs"><article class="cleanupfieldset activity-run"><div class="geist-fieldset-content ui-skeleton-lines">${zB("35%")}${BB()}</div></article></div></section>`).join("")}</div>`;+ ].map((e) => `<section class="activitysection"><h3 class="geist-fieldset-title">${e}</h3><div class="ui-activity-runs"><article class="cleanupfieldset activity-run"><div class="geist-fieldset-content ui-skeleton-lines">${BB("35%")}${VB()}</div></article></div></section>`).join("")}</div>`;else if (e === "/duplicates") n = lFe();else if (e === "/quality-goals") n = uFe();- else if (e === "/playlists") n = `<section class="ui-playlistpage"><header><div><h2>播放列表</h2><p>保存 Mix,按自己的顺序继续播放。</p></div><div class="playlistcreate ui-skeleton-lines"><span>新播放列表</span>${zB("200px")}</div></header><div class="ui-playlistcards">${VB(`<article class="card playlistcard"><div class="mixstack"><div class="pic skeleton"></div></div><div class="mixmeta"><span class="mav skeleton"></span><div class="mixcopy ui-skeleton-lines">${BB()}</div></div></article>`, 6)}</div></section>`;+ else if (e === "/playlists") n = `<section class="ui-playlistpage"><header><div><h2>播放列表</h2><p>保存 Mix,按自己的顺序继续播放。</p></div><div class="playlistcreate ui-skeleton-lines"><span>新播放列表</span>${BB("200px")}</div></header><div class="ui-playlistcards">${HB(`<article class="card playlistcard"><div class="mixstack"><div class="pic skeleton"></div></div><div class="mixmeta"><span class="mav skeleton"></span><div class="mixcopy ui-skeleton-lines">${VB()}</div></div></article>`, 6)}</div></section>`;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/follow-detail/follow-detail.ts-var ZB = (e) => ["follow-item", e], TFe = (e) => `/api/follow?item=${encodeURIComponent(e)}`, EFe = "/api/follow/save", DFe = "/api/follow/media/hide", QB = class extends Error {+var QB = (e) => ["follow-item", e], TFe = (e) => `/api/follow?item=${encodeURIComponent(e)}`, EFe = "/api/follow/save", DFe = "/api/follow/media/hide", $B = class extends Error {constructor() {super("这条关注内容已不存在");}};-async function $B(e, t) {+async function eV(e, t) {let n = await V(TFe(e), t);for (let t of n.groups || []) {let r = ai(t).find((t) => t.id === e);@@ -69243,7 +69256,7 @@ async function $B(e, t) {aliases: n.author_aliases || []};}- throw new QB();+ throw new $B();}function OFe(e) {for (let [, t] of U.getQueriesData({ queryKey: ["follow-item"] })) {@@ -69256,8 +69269,8 @@ function OFe(e) {}return null;}-async function eV(e, t) {- let n = ZB(e.id), r = oi(e.id), i = U.getQueryData(ei) ? null : U.fetchQuery({+async function tV(e, t) {+ let n = QB(e.id), r = oi(e.id), i = U.getQueryData(ei) ? null : U.fetchQuery({queryKey: ei,queryFn: () => ti(t)}), a = r ? {@@ -69266,7 +69279,7 @@ async function eV(e, t) {} : U.getQueryData(n) ?? OFe(e.id);a ? U.setQueryData(n, a) : await U.fetchQuery({queryKey: n,- queryFn: () => $B(e.id, t)+ queryFn: () => eV(e.id, t)}), await i;}function kFe(e, t, n, r) {@@ -69306,7 +69319,7 @@ function NFe(e) {return "外部文件页";}}-function tV(e, t) {+function nV(e, t) {return MFe[e?.resource_provider || ""] || t.provider_label || t.provider || "在线图片";}function PFe(e, t, n = "") {@@ -69318,7 +69331,7 @@ function PFe(e, t, n = "") {title: e.is_release && t.author ? `${t.author}:${i}` : i};}-var FFe = (e) => String(e.name || "").trim(), nV = (e, t) => e.tag_types?.[t] || "unknown", IFe = /* @__PURE__ */ new Set([+var FFe = (e) => String(e.name || "").trim(), rV = (e, t) => e.tag_types?.[t] || "unknown", IFe = /* @__PURE__ */ new Set(["artist","character","copyright",@@ -69326,10 +69339,10 @@ var FFe = (e) => String(e.name || "").trim(), nV = (e, t) => e.tag_types?.[t] ||"unknown"]);function LFe(e, t) {- let n = nV(e, t);+ let n = rV(e, t);return `r34-${IFe.has(n) ? n : "general"}`;}-var rV = [+var iV = ["copyright","character","artist",@@ -69338,12 +69351,12 @@ var rV = [];function RFe(e, t) {let n = e.detail_tags || e.tags || [], r = (t) => {- let n = rV.indexOf(nV(e, t));- return n < 0 ? rV.length : n;+ let n = iV.indexOf(rV(e, t));+ return n < 0 ? iV.length : n;};return [...n].sort((e, n) => r(e) - r(n) || t(e).localeCompare(t(n)));}-function iV(e, t) {+function aV(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;}@@ -69351,21 +69364,21 @@ var zFe = (e, t) => ({sources: e.sources,aliases: e.aliases,credentials: t-}), aV = (e) => e?.size ? { size: e.size } : {};+}), oV = (e) => e?.size ? { size: e.size } : {};function BFe(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: tV(t, e),- ...aV(t)+ source: nV(t, e),+ ...oV(t)})) : r === "image" && i ? [{src: i,thumb: e.thumb_url || i,name: e.title,- source: tV(a, e),- ...aV(a)+ source: nV(a, e),+ ...oV(a)}] : e.thumb_url ? [{src: e.thumb_url,thumb: e.thumb_url,@@ -69373,7 +69386,7 @@ function BFe(e, t) {source: e.provider_label || e.provider || "在线图片"}] : [];}-var VFe = (e) => e === "seen" ? "已标记看过" : "已更新关注状态", oV = (e, { cards: t = !1, className: n = "", variant: r = "", count: i, fill: a, cardRatio: o, gridClass: s = "", gridSize: c = "" } = {}) => xo(e, {+var VFe = (e) => e === "seen" ? "已标记看过" : "已更新关注状态", sV = (e, { cards: t = !1, className: n = "", variant: r = "", count: i, fill: a, cardRatio: o, gridClass: s = "", gridSize: c = "" } = {}) => xo(e, {variant: r || (t ? "cards" : "panel"),className: n,gridClass: s,@@ -69396,36 +69409,36 @@ var VFe = (e) => e === "seen" ? "已标记看过" : "已更新关注状态", oV<div class="reviewtabs" data-section-items>${HFe.map((e, t) => `<button type="button" disabled aria-selected="${t === 0}">${z(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>`, WFe = {- ...Object.fromEntries(Object.keys(XD).map((e) => [`/settings/${e}`, () => bo()])),- "/data-cleanup": () => UI(),- "/resource-sync": () => UI(),+ ...Object.fromEntries(Object.keys(ZD).map((e) => [`/settings/${e}`, () => bo()])),+ "/data-cleanup": () => WI(),+ "/resource-sync": () => WI(),"/review": () => UFe(),"/diagnostics": () => bo(),"/sources": () => `<div class="scraping-page"><p>高清图片可能要经代理才能下载,先检查连接。</p>- ${oV("正在读取采集来源", {+ ${sV("正在读取采集来源", {cards: !0,count: 4,fill: !1,className: "cleanup-skeleton"})}</div>`};-function sV(e, { followLayout: t, followSort: n, followDir: r }) {+function cV(e, { followLayout: t, followSort: n, followDir: r }) {return wFe(e, {followLayout: t,...e === "/subscriptions" ? {followSort: n,followDir: r} : {}- }) || (WFe[e] ?? (() => oV("正在读取页面")))();+ }) || (WFe[e] ?? (() => sV("正在读取页面")))();}-var cV = (e) => String(e).match(/data-skeleton="([^"]*)"/)?.[1] || "";-function lV(e, t) {- let n = e.querySelector("[data-skeleton]")?.dataset.skeleton || "", r = cV(t);+var lV = (e) => String(e).match(/data-skeleton="([^"]*)"/)?.[1] || "";+function uV(e, t) {+ let n = e.querySelector("[data-skeleton]")?.dataset.skeleton || "", r = lV(t);(!r || r !== n) && (e.innerHTML = t, ko(e));}//#endregion//#region src/react/components/related-section.tsx-function uV({ children: e, wireDrag: t, busy: n, empty: r, error: i, onRetry: a, ...o }) {+function dV({ children: e, wireDrag: t, busy: n, empty: r, error: i, onRetry: a, ...o }) {let s = (0, b.useCallback)((e) => {e && (ko(e), t(e));}, [t]);@@ -69438,13 +69451,13 @@ function uV({ children: e, wireDrag: t, busy: n, empty: r, error: i, onRetry: a,children: "接着看"}), i ? /* @__PURE__ */ (0, x.jsx)("div", {"data-related-state": "",- children: /* @__PURE__ */ (0, x.jsx)(lP, {+ children: /* @__PURE__ */ (0, x.jsx)(uP, {message: i,onRetry: a || (() => {})})}) : r && !n ? /* @__PURE__ */ (0, x.jsx)("div", {"data-related-state": "",- children: /* @__PURE__ */ (0, x.jsx)(Dk, {+ children: /* @__PURE__ */ (0, x.jsx)(Ok, {shell: "plain",icon: yhe,title: "暂无接着看的内容",@@ -69460,14 +69473,14 @@ function uV({ children: e, wireDrag: t, busy: n, empty: r, error: i, onRetry: a,}//#endregion//#region src/react/components/detail-continuation.tsx-function dV({ queue: e, children: t, editionCards: n }) {+function fV({ queue: e, children: t, editionCards: n }) {return /* @__PURE__ */ (0, x.jsxs)("div", {"data-detail-continuation": "","data-edition-cards": n == null ? void 0 : Math.min(3, n),children: [e, t]});}-function fV({ items: e, position: t, onSelect: n, below: r = !1, renderThumbnail: i }) {+function pV({ items: e, position: t, onSelect: n, below: r = !1, renderThumbnail: i }) {let a = (0, b.useRef)(null), [o, s] = (0, b.useState)(!0), c = e.some((e) => e.video), l = !!i;if ((0, b.useEffect)(() => {let e = a.current?.querySelector("[data-media-thumbnails]"), t = Bo(e, { fade: !1 });@@ -69587,7 +69600,7 @@ var KFe = (e, t, n) => [t,n];-function pV(e, t, n, r) {+function mV(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);@@ -69616,21 +69629,21 @@ async function qFe(e, t, n, r) {}, t), r);return o.push(n), n;}, c = await s(i, 0);- return pV(o, e, t, n).length < n && c.has_more && await s(i, (c.offset || 0) + 100), i && pV(o, e, t, n).length < n && await s("", 0), {+ return mV(o, e, t, n).length < n && c.has_more && await s(i, (c.offset || 0) + 100), i && mV(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 mV = (e) => Number(e) > 0, JFe = ({ name: e }) => /* @__PURE__ */ (0, x.jsx)("span", {+var hV = (e) => Number(e) > 0, JFe = ({ name: e }) => /* @__PURE__ */ (0, x.jsx)("span", {className: "contents",dangerouslySetInnerHTML: { __html: R(e) }-}), hV = R("external-link", "ui-externalmark");+}), gV = R("external-link", "ui-externalmark");function YFe(e) {let { id: t, actions: n } = e, r = dt({- queryKey: ZB(t),- queryFn: ({ signal: e }) => $B(t, e)+ queryKey: QB(t),+ queryFn: ({ signal: e }) => eV(t, e)}), i = dt({queryKey: ei,queryFn: ({ signal: e }) => ti(e)@@ -69647,9 +69660,9 @@ function YFe(e) {children: /* @__PURE__ */ (0, x.jsxs)("div", {"data-stage-media": "","data-follow-detail-media": "none",- children: [/* @__PURE__ */ (0, x.jsx)(gV, { onClose: n.close }), /* @__PURE__ */ (0, x.jsx)("div", {+ children: [/* @__PURE__ */ (0, x.jsx)(_V, { onClose: n.close }), /* @__PURE__ */ (0, x.jsx)("div", {"data-follow-detail-placeholder": "",- children: r.isError ? XFe(r.error) ? /* @__PURE__ */ (0, x.jsx)(ZFe, { onBack: n.close }) : /* @__PURE__ */ (0, x.jsx)(lP, {+ children: r.isError ? XFe(r.error) ? /* @__PURE__ */ (0, x.jsx)(ZFe, { onBack: n.close }) : /* @__PURE__ */ (0, x.jsx)(uP, {message: Et(r.error),onRetry: () => void r.refetch()}) : null@@ -69657,7 +69670,7 @@ function YFe(e) {})});}-var XFe = (e) => e instanceof QB || e instanceof un && e.status === 404;+var XFe = (e) => e instanceof $B || e instanceof un && e.status === 404;function ZFe({ onBack: e }) {return /* @__PURE__ */ (0, x.jsx)("div", {"data-follow-detail-gone": "",@@ -69667,7 +69680,7 @@ function ZFe({ onBack: e }) {dangerouslySetInnerHTML: { __html: io("这条关注内容已不存在,可能已被来源删除或已清理。", { actionLabel: "回到关注" }) }});}-var gV = ({ onClose: e }) => /* @__PURE__ */ (0, x.jsx)("button", {+var _V = ({ onClose: e }) => /* @__PURE__ */ (0, x.jsx)("button", {type: "button","data-stage-close": "",id: "closeStage",@@ -69697,13 +69710,13 @@ function QFe({ data: e, context: t, mediaIndex: n, onMedia: r, mediaView: i, relc,u.kind]);- let g = !u.embedded.length && u.collection ? AFe(u.collection) : void 0, _ = u.embeddedQueue ? /* @__PURE__ */ (0, x.jsx)(bV, {+ let g = !u.embedded.length && u.collection ? AFe(u.collection) : void 0, _ = u.embeddedQueue ? /* @__PURE__ */ (0, x.jsx)(xV, {item: c,current: u.selected.index,helpers: o,actions: s,onMedia: r- }) : u.collection ? g ? /* @__PURE__ */ (0, x.jsx)(bV, {+ }) : u.collection ? g ? /* @__PURE__ */ (0, x.jsx)(xV, {item: g,current: null,helpers: o,@@ -69737,7 +69750,7 @@ function QFe({ data: e, context: t, mediaIndex: n, onMedia: r, mediaView: i, relhelpers: o,actions: s})]- }), /* @__PURE__ */ (0, x.jsx)(dV, {+ }), /* @__PURE__ */ (0, x.jsx)(fV, {queue: _,children: a > 0 ? /* @__PURE__ */ (0, x.jsx)($Fe, {data: e,@@ -69753,19 +69766,19 @@ function $Fe({ data: e, media: t, limit: n, context: r, helpers: i, actions: a }let o = dt({queryKey: KFe(e.item.id, t, n),queryFn: ({ signal: r }) => qFe(e, t, n, r)- }), [s] = (0, b.useState)(() => oV("正在读取推荐", {+ }), [s] = (0, b.useState)(() => sV("正在读取推荐", {cards: !0,className: "related-skeleton"})), c = (0, b.useMemo)(() => ({openDetail: a.openItem,openAuthor: a.openAuthor,canFlip: () => !1- }), [a]), l = pV(o.data?.pages || [], e, t, n), u = o.data?.pages.at(-1)?.sources || e.sources, d = {+ }), [a]), l = mV(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, x.jsx)(uV, {+ return /* @__PURE__ */ (0, x.jsx)(dV, {"data-follow-related": "",wireDrag: i.wireDrag,busy: o.isPending,@@ -69778,7 +69791,7 @@ function $Fe({ data: e, media: t, limit: n, context: r, helpers: i, actions: a }variant: "next",group: e,media: t,- authorSources: iV(e.primary, u),+ authorSources: aV(e.primary, u),context: d,selected: !1,selectMode: !1,@@ -69806,14 +69819,14 @@ function eIe({ 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, x.jsx)(gV, { onClose: n.close }),+ /* @__PURE__ */ (0, x.jsx)(_V, { onClose: n.close }),h ? null : g ? /* @__PURE__ */ (0, x.jsx)("img", {"data-follow-detail-poster": "","data-zoomable": p.length ? "" : void 0,src: v,alt: e.title,referrerPolicy: "no-referrer",- onClick: p.length ? () => void Zwe(Math.max(0, l), p) : void 0,+ onClick: p.length ? () => void Qwe(Math.max(0, l), p) : void 0,onError: () => {_ && v !== _ ? (y(_), i.thumbFallback()) : i.failed();}@@ -69821,10 +69834,10 @@ function eIe({ item: e, media: t, actions: n, onMedia: r, issues: i }) {"data-follow-detail-placeholder": "",children: [/* @__PURE__ */ (0, x.jsx)("span", {className: "contents",- dangerouslySetInnerHTML: { __html: RN(e.resource_provider || e.provider) }+ dangerouslySetInnerHTML: { __html: zN(e.resource_provider || e.provider) }}), /* @__PURE__ */ (0, x.jsx)("span", { children: "没有可用预览" })]}),- u ? /* @__PURE__ */ (0, x.jsx)(fV, {+ u ? /* @__PURE__ */ (0, x.jsx)(pV, {items: c,position: l,onSelect: r@@ -69832,11 +69845,11 @@ function eIe({ item: e, media: t, actions: n, onMedia: r, issues: i }) {]});}-var _V = ({ kind: e }) => /* @__PURE__ */ (0, x.jsx)("span", {+var vV = ({ kind: e }) => /* @__PURE__ */ (0, x.jsx)("span", {"data-follow-nothumb": "",dangerouslySetInnerHTML: { __html: R(e === "image" ? "image-off" : "play") }});-function vV({ src: e }) {+function yV({ src: e }) {let [t, n] = (0, b.useState)(!1);return t ? null : /* @__PURE__ */ (0, x.jsx)("img", {src: e,@@ -69846,27 +69859,27 @@ function vV({ src: e }) {onError: () => n(!0)});}-function yV(e) {+function bV(e) {return (0, b.useCallback)((t) => {t && e.wireDrag(t);}, [e]);}function tIe({ group: e, itemId: t, helpers: n, actions: r }) {- let i = mi(e), a = yV(n);- return /* @__PURE__ */ (0, x.jsx)(VP, {+ let i = mi(e), a = bV(n);+ return /* @__PURE__ */ (0, x.jsx)(HP, {kind: "collection","data-follow-queue": "",title: "视频合集",onClose: r.close,listRef: a,- summary: `${BN(e.primary)} · ${i.length} 个视频`,+ summary: `${VN(e.primary)} · ${i.length} 个视频`,children: i.map((n) => {- let i = e.duplicates.includes(n), a = PFe(e, n, i ? n.provider_label : ""), o = i ? RN(n.provider, n.provider_label) : "";- return /* @__PURE__ */ (0, x.jsxs)(HP, {+ let i = e.duplicates.includes(n), a = PFe(e, n, i ? n.provider_label : ""), o = i ? zN(n.provider, n.provider_label) : "";+ return /* @__PURE__ */ (0, x.jsxs)(UP, {current: n.id === t,"data-follow-queue-item": n.id,onClick: () => r.openItem(n.id),- pic: /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [n.thumb_url ? /* @__PURE__ */ (0, x.jsx)(vV, { src: n.thumb_url }) : /* @__PURE__ */ (0, x.jsx)(_V, { kind: "video" }), mV(n.duration) ? /* @__PURE__ */ (0, x.jsx)("i", {+ pic: /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [n.thumb_url ? /* @__PURE__ */ (0, x.jsx)(yV, { src: n.thumb_url }) : /* @__PURE__ */ (0, x.jsx)(vV, { kind: "video" }), hV(n.duration) ? /* @__PURE__ */ (0, x.jsx)("i", {className: "mono","data-mix-item-duration": "",children: Xt(n.duration)@@ -69884,15 +69897,15 @@ function tIe({ group: e, itemId: t, helpers: n, actions: r }) {children: a.label}), /* @__PURE__ */ (0, x.jsx)("time", {dateTime: n.published_at || "",- children: YN(n)+ children: XN(n)})]})]}, n.id);})});}-function bV({ item: e, current: t, currentId: n = e.id, helpers: r, actions: i, onMedia: a }) {- let o = e.media_items || [], s = yV(r), c = [];+function xV({ item: e, current: t, currentId: n = e.id, helpers: r, actions: i, onMedia: a }) {+ let o = e.media_items || [], s = bV(r), c = [];o.forEach((e) => {let t = e.resource_group || "ungrouped", n = c.find((e) => e.key === t);n || (n = {@@ -69902,23 +69915,23 @@ function bV({ 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, x.jsx)(VP, {+ return /* @__PURE__ */ (0, x.jsx)(HP, {kind: "media","data-follow-queue": "",title: "多媒体",onClose: i.close,listRef: s,- summary: `${BN(e)} · ${o.length} 个媒体`,+ summary: `${VN(e)} · ${o.length} 个媒体`,children: c.map((n) => [n.label ? /* @__PURE__ */ (0, x.jsx)(Cbe, {label: n.label,count: n.items.length- }, `label:${n.key}`) : null, ...n.items.map((n) => /* @__PURE__ */ (0, x.jsxs)(HP, {+ }, `label:${n.key}`) : null, ...n.items.map((n) => /* @__PURE__ */ (0, x.jsxs)(UP, {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, x.jsx)(vV, { src: n.thumb_url }) : /* @__PURE__ */ (0, x.jsx)(_V, { kind: n.media_kind || "" }),+ pic: n.thumb_url ? /* @__PURE__ */ (0, x.jsx)(yV, { src: n.thumb_url }) : /* @__PURE__ */ (0, x.jsx)(vV, { kind: n.media_kind || "" }),children: [/* @__PURE__ */ (0, x.jsx)("b", {"data-middle-truncate": "",children: FFe(n)@@ -69935,7 +69948,7 @@ function nIe({ item: e, data: t, context: n, media: r, write: i, issue: a, helpevariants: [],duplicates: [],has_wip: e.variant_kind === "wip"- }, f = KN(d, e), p = WN(e, iV(e, t.sources), n), m = p.credited ? "" : e.author && Gt(e.author) !== Gt(p.author) ? e.author : "", h = qN(e, n), g = RFe(e, o.tagLabel), _ = e.status === "saved", { busy: v } = i, y = (e) => v.has(e) ? {+ }, f = qN(d, e), p = GN(e, aV(e, t.sources), n), m = p.credited ? "" : e.author && Gt(e.author) !== Gt(p.author) ? e.author : "", h = JN(e, n), g = RFe(e, o.tagLabel), _ = e.status === "saved", { busy: v } = i, y = (e) => v.has(e) ? {"aria-busy": !0,"aria-disabled": !0} : {};@@ -69951,7 +69964,7 @@ function nIe({ 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: GN(d, e) + z(BN(e)) }+ dangerouslySetInnerHTML: { __html: KN(d, e) + z(VN(e)) }}), e.url ? /* @__PURE__ */ (0, x.jsx)("a", {"data-follow-origin": "",href: e.url,@@ -69959,7 +69972,7 @@ function nIe({ item: e, data: t, context: n, media: r, write: i, issue: a, helperel: "noreferrer noopener",title: "打开来源页面","aria-label": "打开来源页面",- dangerouslySetInnerHTML: { __html: hV }+ dangerouslySetInnerHTML: { __html: gV }}) : null]}),/* @__PURE__ */ (0, x.jsxs)("div", {@@ -69967,8 +69980,8 @@ function nIe({ item: e, data: t, context: n, media: r, write: i, issue: a, helpe"data-stage-meta": "","data-reveal-line": "",children: [- /* @__PURE__ */ (0, x.jsx)("span", { children: YN(e) }),- mV(e.duration) ? /* @__PURE__ */ (0, x.jsx)("span", { children: Xt(e.duration) }) : null,+ /* @__PURE__ */ (0, x.jsx)("span", { children: XN(e) }),+ hV(e.duration) ? /* @__PURE__ */ (0, x.jsx)("span", { children: Xt(e.duration) }) : null,f ? /* @__PURE__ */ (0, x.jsx)("span", {"data-follow-badges": "",dangerouslySetInnerHTML: { __html: f }@@ -70042,7 +70055,7 @@ function nIe({ item: e, data: t, context: n, media: r, write: i, issue: a, helperel: "noreferrer noopener",children: [NFe(e), /* @__PURE__ */ (0, x.jsx)("span", {className: "contents",- dangerouslySetInnerHTML: { __html: hV }+ dangerouslySetInnerHTML: { __html: gV }})]}, e))}) : null,@@ -70142,7 +70155,7 @@ function nIe({ 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, x.jsx)(vV, { src: e.thumb_url }) : /* @__PURE__ */ (0, x.jsx)(JFe, { name: "image-off" }), /* @__PURE__ */ (0, x.jsx)("i", { dangerouslySetInnerHTML: { __html: R("rotate-ccw") } })]+ children: [e.thumb_url ? /* @__PURE__ */ (0, x.jsx)(yV, { src: e.thumb_url }) : /* @__PURE__ */ (0, x.jsx)(JFe, { name: "image-off" }), /* @__PURE__ */ (0, x.jsx)("i", { dangerouslySetInnerHTML: { __html: R("rotate-ccw") } })]}, e.index))})]}) : null,@@ -70190,7 +70203,7 @@ function rIe({ text: e }) {}) : null] });}function iIe(e, t, n) {- let r = e.id, i = ZB(r), [a, o] = (0, b.useState)(() => /* @__PURE__ */ new Set()), [s, c] = (0, b.useState)(""), l = (e, t) => o((n) => {+ let r = e.id, i = QB(r), [a, o] = (0, b.useState)(() => /* @__PURE__ */ new Set()), [s, c] = (0, b.useState)(""), l = (e, t) => o((n) => {let r = new Set(n);return t ? r.add(e) : r.delete(e), r;}), u = (e) => {@@ -70243,8 +70256,8 @@ function iIe(e, t, n) {onError: d,onSettled: (e, t, { index: n, hidden: r }) => l(`${r ? "hide" : "restore"}:${n}`, !1)}), h = dt({- queryKey: RAe(r),- queryFn: ({ signal: e }) => HAe(r, e)+ queryKey: zAe(r),+ queryFn: ({ signal: e }) => UAe(r, e)}).data?.want ?? null, g = ft({mutationFn: async (e) => (e ? await lz([e.id]) : await cz({ follow: r }), !e),onSuccess: (e) => {@@ -70288,7 +70301,7 @@ function iIe(e, t, n) {}//#endregion//#region src/react/components/identity-cell.tsx-function xV({ kind: e, person: t, onOpen: n, hidden: r, overflow: i, face: a }) {+function SV({ kind: e, person: t, onOpen: n, hidden: r, overflow: i, face: a }) {let o = e === "performer" || e === "creator" ? /* @__PURE__ */ (0, x.jsx)("span", {"data-id-face": "",dangerouslySetInnerHTML: { __html: `<span>${z(nn(t.name))}</span>` + ca({@@ -70331,7 +70344,7 @@ function xV({ kind: e, person: t, onOpen: n, hidden: r, overflow: i, face: a })children: s});}-function SV({ people: e, onOpen: t }) {+function CV({ people: e, onOpen: t }) {if (!e.length) return null;let n = (e) => /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)("span", {className: "contents",@@ -70365,7 +70378,7 @@ function SV({ people: e, onOpen: t }) {}//#endregion//#region src/react/components/folded-title.ts-function CV(e) {+function wV(e) {let t = (0, b.useRef)(null), [n, r] = (0, b.useState)(!1), [i, a] = (0, b.useState)(!1);return (0, b.useLayoutEffect)(() => {let e = t.current;@@ -70383,7 +70396,7 @@ function CV(e) {}//#endregion//#region src/react/components/source-picture.tsx-function wV({ item: e, image: t, thumbnail: n = !1 }) {+function TV({ item: e, image: t, thumbnail: n = !1 }) {let r = t === "cover" && e.has_cover, i = !r && (t !== "cover" || e.source_image), a = dt({queryKey: ["jav-image",@@ -70426,9 +70439,9 @@ function wV({ item: e, image: t, thumbnail: n = !1 }) {}//#endregion//#region src/react/item-detail/catalog-picture.tsx-function TV({ item: e, image: t, thumbnail: n = !1, source: r = !1 }) {+function EV({ item: e, image: t, thumbnail: n = !1, source: r = !1 }) {let [i, a] = (0, b.useState)(!1), [o, s] = (0, b.useState)(0);- if (r && t > 0 && e.code) return /* @__PURE__ */ (0, x.jsx)(wV, {+ if (r && t > 0 && e.code) return /* @__PURE__ */ (0, x.jsx)(TV, {item: {code: e.code,has_cover: !1,@@ -70457,9 +70470,9 @@ function TV({ item: e, image: t, thumbnail: n = !1, source: r = !1 }) {}//#endregion//#region src/react/jav-detail/jav-detail.ts-var EV = (e) => ["jav-detail", e], DV = (e, t, n = !1) => V(`/api/jav/detail?code=${encodeURIComponent(e)}${n ? "&refresh=1" : ""}`, t), aIe = (e, t, n, r = !1) => V(`/api/jav/reviews?code=${encodeURIComponent(e)}&page=${t}${r ? "&refresh=1" : ""}`, n), OV = (e, t) => U.ensureQueryData({- queryKey: EV(e.code),- queryFn: () => DV(e.code, t),+var DV = (e) => ["jav-detail", e], OV = (e, t, n = !1) => V(`/api/jav/detail?code=${encodeURIComponent(e)}${n ? "&refresh=1" : ""}`, t), aIe = (e, t, n, r = !1) => V(`/api/jav/reviews?code=${encodeURIComponent(e)}&page=${t}${r ? "&refresh=1" : ""}`, n), kV = (e, t) => U.ensureQueryData({+ queryKey: DV(e.code),+ queryFn: () => OV(e.code, t),staleTime: 216e5,revalidateIfStale: !0});@@ -70470,7 +70483,7 @@ function oIe(e, t) {}//#endregion//#region src/react/item-detail/external-playback.tsx-var kV = "peach.external-player.v1", AV = [+var AV = "peach.external-player.v1", jV = [["m3u", "M3U 播放列表"],["vlc-ios", "VLC(iPhone / iPad)"],["iina", "IINA(Mac)"]@@ -70481,23 +70494,23 @@ function sIe(e, t, n) {function cIe({ id: e }) {let [t, n] = (0, b.useState)(() => {try {- return AV.find(([e]) => e === localStorage.getItem(kV))?.[0] || "m3u";+ return jV.find(([e]) => e === localStorage.getItem(AV))?.[0] || "m3u";} catch {return "m3u";}- }), [r, i] = (0, b.useState)(null), a = Mk();- return /* @__PURE__ */ (0, x.jsxs)("details", { children: [/* @__PURE__ */ (0, x.jsx)("summary", { children: "外部播放器 / VR" }), /* @__PURE__ */ (0, x.jsxs)(Bk, { children: [+ }), [r, i] = (0, b.useState)(null), a = Nk();+ return /* @__PURE__ */ (0, x.jsxs)("details", { children: [/* @__PURE__ */ (0, x.jsx)("summary", { children: "外部播放器 / VR" }), /* @__PURE__ */ (0, x.jsxs)(Vk, { children: [/* @__PURE__ */ (0, x.jsx)(Oz, {id: `external-player-${e}`,label: "此设备的外部播放器",- options: AV,+ options: jV,value: t,epoch: 0,onPick: (e) => {- let t = AV.find(([t]) => t === e)?.[0] || "m3u";+ let t = jV.find(([t]) => t === e)?.[0] || "m3u";n(t);try {- localStorage.setItem(kV, t);+ localStorage.setItem(AV, t);} catch {}}}),@@ -70510,19 +70523,19 @@ function cIe({ id: e }) {})),children: "生成播放链接"}),- a.error ? /* @__PURE__ */ (0, x.jsx)(Uk, { children: a.error }) : null,+ a.error ? /* @__PURE__ */ (0, x.jsx)(Wk, { children: a.error }) : null,r ? /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)("a", {href: sIe(t, r.url, r.playlist),rel: "noreferrer",- children: t === "m3u" ? "下载 M3U 播放列表" : `打开 ${AV.find(([e]) => e === t)?.[1]}`+ children: t === "m3u" ? "下载 M3U 播放列表" : `打开 ${jV.find(([e]) => e === t)?.[1]}`}),- /* @__PURE__ */ (0, x.jsx)(pN, {+ /* @__PURE__ */ (0, x.jsx)(mN, {label: "网络播放地址",value: r.url,isReadOnly: !0}),- /* @__PURE__ */ (0, x.jsx)(Hk, { children: "链接有效期为 6 小时。VR 播放器可使用网络播放地址;另一台设备需要能访问当前 Peach 地址。" })+ /* @__PURE__ */ (0, x.jsx)(Uk, { children: "链接有效期为 6 小时。VR 播放器可使用网络播放地址;另一台设备需要能访问当前 Peach 地址。" })] }) : null] })] }, e);}@@ -70546,7 +70559,7 @@ var dIe = "/api/cover-crop", fIe = (e, t) => H(dIe, {});//#endregion//#region src/react/cover-crop/cover-crop-page.tsx-function jV({ className: e }) {+function MV({ className: e }) {return /* @__PURE__ */ (0, x.jsx)("svg", {"aria-hidden": !0,viewBox: "0 0 24 24",@@ -70570,10 +70583,10 @@ function pIe({ 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, x.jsx)(jV, { className: "size-3.75" })+ children: /* @__PURE__ */ (0, x.jsx)(MV, { className: "size-3.75" })}), /* @__PURE__ */ (0, x.jsx)(pse, {getContainer: () => uIe(o.current),- children: /* @__PURE__ */ (0, x.jsx)(hN, {+ children: /* @__PURE__ */ (0, x.jsx)(gN, {isOpen: i,onOpenChange: a,width: "cover-crop",@@ -70589,7 +70602,7 @@ function pIe({ code: e, coverUrl: t, box: n, onSaved: r }) {})] });}function mIe({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {- let [a, o] = (0, b.useState)(null), [s, c] = (0, b.useState)(null), [l, u] = (0, b.useState)(!0), d = YI(), f = ft({+ let [a, o] = (0, b.useState)(null), [s, c] = (0, b.useState)(null), [l, u] = (0, b.useState)(!0), d = XI(), f = ft({mutationFn: (t) => fIe(e, t),onSuccess: (e) => {i(), r(e.poster_box);@@ -70602,7 +70615,7 @@ function mIe({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {y0: n.y0,x1: n.x1,y1: n.y1- } : LTe(e, Qi);+ } : RTe(e, Qi);c(VL(t, e, null));}let m = f.isPending;@@ -70610,11 +70623,11 @@ function mIe({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {/* @__PURE__ */ (0, x.jsxs)("div", {className: "flex shrink-0 items-start gap-4 p-5",children: [- /* @__PURE__ */ (0, x.jsx)(gN, { children: /* @__PURE__ */ (0, x.jsx)(jV, { className: "size-6" }) }),+ /* @__PURE__ */ (0, x.jsx)(_N, { children: /* @__PURE__ */ (0, x.jsx)(MV, { className: "size-6" }) }),/* @__PURE__ */ (0, x.jsxs)("div", {className: "flex min-w-0 flex-1 flex-col gap-2",children: [- /* @__PURE__ */ (0, x.jsx)(KA, {+ /* @__PURE__ */ (0, x.jsx)(qA, {slot: "title",className: "text-title-3-semibold text-text-primary",children: "裁剪封面"@@ -70629,8 +70642,8 @@ function mIe({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {}) : null]}),- /* @__PURE__ */ (0, x.jsx)(ZI, {- icon: HO,+ /* @__PURE__ */ (0, x.jsx)(QI, {+ icon: UO,size: "small","aria-label": "关闭",onClick: i@@ -70640,7 +70653,7 @@ function mIe({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {/* @__PURE__ */ (0, x.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, x.jsx)(JTe, {+ children: /* @__PURE__ */ (0, x.jsx)(YTe, {src: t,aspect: l ? Qi : null,box: s,@@ -70686,21 +70699,21 @@ function mIe({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {}//#endregion//#region src/react/item-detail/item-detail-page.tsx-var MV = ({ name: e }) => /* @__PURE__ */ (0, x.jsx)("span", {+var NV = ({ name: e }) => /* @__PURE__ */ (0, x.jsx)("span", {className: "contents",dangerouslySetInnerHTML: { __html: R(e) }-}), NV = ({ html: e }) => /* @__PURE__ */ (0, x.jsx)("span", {+}), PV = ({ html: e }) => /* @__PURE__ */ (0, x.jsx)("span", {className: "contents",dangerouslySetInnerHTML: { __html: e }-}), PV = (e) => Number(e) > 0 ? Qt(Number(e)) : "大小未知";+}), FV = (e) => Number(e) > 0 ? Qt(Number(e)) : "大小未知";function hIe(e) {let { queue: t, actions: n } = e, r = dt({- queryKey: t ? DT(t) : ["item-queue", "none"],- queryFn: ({ signal: n }) => IT(t, e.helpers, n),+ queryKey: t ? OT(t) : ["item-queue", "none"],+ queryFn: ({ signal: n }) => LT(t, e.helpers, n),enabled: !!t- }), i = t && r.data || null, a = i ? zT(i, e.id) : t ? null : e.id, o = dt({- queryKey: ET(a ?? 0),- queryFn: ({ signal: e }) => FT(a, e),+ }), i = t && r.data || null, a = i ? BT(i, e.id) : t ? null : e.id, o = dt({+ queryKey: DT(a ?? 0),+ queryFn: ({ signal: e }) => IT(a, e),enabled: a != null});if (!o.data || t && !i) {@@ -70711,9 +70724,9 @@ function hIe(e) {children: /* @__PURE__ */ (0, x.jsxs)("div", {"data-stage-media": "","data-item-media": "none",- children: [/* @__PURE__ */ (0, x.jsx)(FV, { onClose: n.close }), /* @__PURE__ */ (0, x.jsx)("div", {+ children: [/* @__PURE__ */ (0, x.jsx)(IV, { onClose: n.close }), /* @__PURE__ */ (0, x.jsx)("div", {"data-item-placeholder": "",- children: e ? /* @__PURE__ */ (0, x.jsx)(lP, {+ children: e ? /* @__PURE__ */ (0, x.jsx)(uP, {message: Et(e),onRetry: () => {r.error && r.refetch(), o.error && o.refetch();@@ -70725,11 +70738,11 @@ function hIe(e) {}return /* @__PURE__ */ (0, x.jsx)(gIe, {...e,- item: afe(o.data, i),+ item: ife(o.data, i),queue: i}, o.data.id);}-var FV = ({ onClose: e }) => /* @__PURE__ */ (0, x.jsx)("button", {+var IV = ({ onClose: e }) => /* @__PURE__ */ (0, x.jsx)("button", {type: "button","data-stage-close": "",id: "closeStage",@@ -70743,13 +70756,13 @@ function gIe(e) {(0, b.useLayoutEffect)(() => {r.present(o.current, n);}, [r]), (0, b.useEffect)(() => {- n?.kind === "playlist" && H(OT, {+ n?.kind === "playlist" && H(kT, {action: "progress",id: n.playlistId,asset_id: t.id}).catch(() => {});}, []);- let s = vfe(t, i.sourceOffline(t.location || "")), c = BT(n, t.id);+ let s = _fe(t, i.sourceOffline(t.location || "")), c = VT(n, t.id);return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsxs)("div", {"data-stage-grid": "","data-with-queue": n ? "" : void 0,@@ -70774,7 +70787,7 @@ function gIe(e) {helpers: i,actions: r})]- }), /* @__PURE__ */ (0, x.jsx)(dV, {+ }), /* @__PURE__ */ (0, x.jsx)(fV, {editionCards: n?.kind === "editions" ? n.items.length : void 0,queue: n ? /* @__PURE__ */ (0, x.jsx)(yIe, {queue: n,@@ -70793,10 +70806,10 @@ function gIe(e) {}function _Ie({ item: e, gate: t, helpers: n, actions: r, autoplay: i, onEnded: a }) {let [o, s] = (0, b.useState)(t ? "" : "auto"), c = (0, b.useRef)(null), [l, u] = (0, b.useState)(-2), d = (0, b.useRef)(!1), f = dt({- queryKey: EV(e.code || ""),+ queryKey: DV(e.code || ""),queryFn: ({ signal: t }) => {let n = d.current;- return d.current = !1, DV(e.code, t, n);+ return d.current = !1, OV(e.code, t, n);},staleTime: 216e5,enabled: !!e.is_jav && !!e.code && !e.sample_images?.length@@ -70841,26 +70854,26 @@ function _Ie({ 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, x.jsx)(FV, { onClose: r.close }),+ /* @__PURE__ */ (0, x.jsx)(IV, { onClose: r.close }),h ? /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsxs)("button", {type: "button","data-jav-preview-toggle": "","aria-pressed": l !== -2,onClick: () => g(l === -2 ? m[0].index : -2),- children: [/* @__PURE__ */ (0, x.jsx)(MV, { name: l === -2 ? "image" : "play" }), l === -2 ? "查看图片" : "播放正片"]+ children: [/* @__PURE__ */ (0, x.jsx)(NV, { name: l === -2 ? "image" : "play" }), l === -2 ? "查看图片" : "播放正片"]}),- l === -2 ? null : /* @__PURE__ */ (0, x.jsx)(TV, {+ l === -2 ? null : /* @__PURE__ */ (0, x.jsx)(EV, {item: e,image: l,source: p.find((e) => e.index === l)?.source}, l),- /* @__PURE__ */ (0, x.jsx)(fV, {+ /* @__PURE__ */ (0, x.jsx)(pV, {items: m,position: Math.max(0, m.findIndex((e) => e.index === l)),onSelect: g,below: !0,- renderThumbnail: (t) => /* @__PURE__ */ (0, x.jsx)(TV, {+ renderThumbnail: (t) => /* @__PURE__ */ (0, x.jsx)(EV, {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,@@ -70895,7 +70908,7 @@ function _Ie({ item: e, gate: t, helpers: n, actions: r, autoplay: i, onEnded: arole: "status","data-item-gate": "online",children: [- /* @__PURE__ */ (0, x.jsx)(NV, { html: y }),+ /* @__PURE__ */ (0, x.jsx)(PV, { html: y }),/* @__PURE__ */ (0, x.jsx)("b", { children: "在线资产" }),/* @__PURE__ */ (0, x.jsx)("span", { children: "这条没有对应的关注条目,媒体地址无从解析。" }),/* @__PURE__ */ (0, x.jsx)("button", {@@ -70910,7 +70923,7 @@ function _Ie({ item: e, gate: t, helpers: n, actions: r, autoplay: i, onEnded: aid: "gate","data-item-gate": "metered",onClick: () => s("clicked"),- children: [/* @__PURE__ */ (0, x.jsx)(NV, { html: y }), /* @__PURE__ */ (0, x.jsxs)("span", { children: ["点此开始拉流 · ", PV(e.size)] })]+ children: [/* @__PURE__ */ (0, x.jsx)(PV, { html: y }), /* @__PURE__ */ (0, x.jsxs)("span", { children: ["点此开始拉流 · ", FV(e.size)] })]}) : null]});@@ -70926,7 +70939,7 @@ function vIe({ item: e, badge: t, helpers: n, actions: r }) {role: "status","data-item-gate": "offline",children: [- /* @__PURE__ */ (0, x.jsx)(NV, { html: t }),+ /* @__PURE__ */ (0, x.jsx)(PV, { html: t }),/* @__PURE__ */ (0, x.jsx)("b", { children: "脱盘模式" }),/* @__PURE__ */ (0, x.jsx)("span", { children: n.offlineReason(e.location || "") }),/* @__PURE__ */ (0, x.jsx)("button", {@@ -70941,7 +70954,7 @@ function vIe({ item: e, badge: t, helpers: n, actions: r }) {});}function yIe({ queue: e, itemId: t, helpers: n, actions: r }) {- let i = mfe(e), a = (0, b.useRef)(null), o = xIe(e, t, r), s = (0, b.useRef)(o);+ let i = pfe(e), a = (0, b.useRef)(null), o = xIe(e, t, r), s = (0, b.useRef)(o);s.current = o;let c = (0, b.useCallback)((t) => {a.current = t, t && (n.wireDrag(t), e.kind === "playlist" && n.wireDragReorder(t, {@@ -70968,7 +70981,7 @@ function yIe({ queue: e, itemId: t, helpers: n, actions: r }) {seedId: e.seedId,playlistId: e.playlistId};- return /* @__PURE__ */ (0, x.jsx)(VP, {+ return /* @__PURE__ */ (0, x.jsx)(HP, {kind: e.kind,title: i.title,summary: i.summary,@@ -70977,11 +70990,11 @@ function yIe({ 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, x.jsx)("i", {- className: `javedition ${ffe[i.edition_label] || "censored"}`,+ className: `javedition ${dfe[i.edition_label] || "censored"}`,"data-queue-edition": "",children: i.edition_label- }) : null, s = e.kind === "playlist" && RT(i);- return /* @__PURE__ */ (0, x.jsxs)(HP, {+ }) : null, s = e.kind === "playlist" && zT(i);+ return /* @__PURE__ */ (0, x.jsxs)(UP, {current: i.id === t,"data-queue-item": i.id,row: { "data-queue-row": i.id },@@ -70991,25 +71004,25 @@ function yIe({ queue: e, itemId: t, helpers: n, actions: r }) {onClick: () => {s || r.openQueueItem(d, i.id);},- pic: /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(NV, { html: ya(i, n.javImage()) }), /* @__PURE__ */ (0, x.jsx)("i", {+ pic: /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(PV, { html: ya(i, n.javImage()) }), /* @__PURE__ */ (0, x.jsx)("i", {className: "mono","data-mix-item-duration": "",children: Xt(i.duration)})] }),- lead: /* @__PURE__ */ (0, x.jsx)(NV, { html: Sa(i) }),+ lead: /* @__PURE__ */ (0, x.jsx)(PV, { html: Sa(i) }),after: e.kind === "playlist" ? /* @__PURE__ */ (0, x.jsxs)("span", {"data-queue-edit": "",children: [/* @__PURE__ */ (0, x.jsx)("i", {"data-queue-grip": "","aria-hidden": "true",- children: /* @__PURE__ */ (0, x.jsx)(MV, { name: "grip-vertical" })+ children: /* @__PURE__ */ (0, x.jsx)(NV, { name: "grip-vertical" })}), /* @__PURE__ */ (0, x.jsx)("button", {type: "button","data-queue-remove": i.id,title: "移出播放列表","aria-label": "移出播放列表",onClick: () => o.remove(i.id),- children: /* @__PURE__ */ (0, x.jsx)(MV, { name: "x" })+ children: /* @__PURE__ */ (0, x.jsx)(NV, { name: "x" })})]}) : null,children: [/* @__PURE__ */ (0, x.jsxs)("span", {@@ -71020,14 +71033,14 @@ function yIe({ queue: e, itemId: t, helpers: n, actions: r }) {})]}), /* @__PURE__ */ (0, x.jsx)("span", {"data-truncate-end": "",- children: s ? "已消失 · 文件已不在盘上" : e.kind === "parts" || e.kind === "editions" && i.part_label ? YT(i.part_label) : Ca(i, n.tagLabel)+ children: s ? "已消失 · 文件已不在盘上" : e.kind === "parts" || e.kind === "editions" && i.part_label ? XT(i.part_label) : Ca(i, n.tagLabel)})]}, i.id);})});}function bIe(e, t) {- let n = ft({ mutationFn: (t) => H(OT, {+ let n = ft({ mutationFn: (t) => H(kT, {action: "create",name: t,asset_ids: e.items.map((e) => e.id),@@ -71041,10 +71054,10 @@ function bIe(e, t) {});}function xIe(e, t, n) {- let r = DT({+ let r = OT({kind: "playlist",playlistId: e.playlistId- }), i = (e) => (U.setQueryData(r, LT(e)), e), a = (t) => H(OT, {+ }), i = (e) => (U.setQueryData(r, RT(e)), e), a = (t) => H(kT, {id: e.playlistId,...t}).then((e) => e.playlist), o = ft({@@ -71060,8 +71073,8 @@ function xIe(e, t, n) {return {move: async (t, r, c) => {if (e.kind !== "playlist") return;- let l = gfe(s, t, r, c);- if (_fe(l, s)) return;+ let l = hfe(s, t, r, c);+ if (gfe(l, s)) return;let u = s;await o.mutateAsync(l), n.toast("已调整播放顺序", { undo: async () => {i(await a({@@ -71134,7 +71147,7 @@ function SIe({ item: e, queue: t, write: n, helpers: r, actions: i }) {children: [e.width && e.height ? /* @__PURE__ */ (0, x.jsxs)("span", {"data-spec-item": "",- children: [/* @__PURE__ */ (0, x.jsx)(MV, { name: "monitor" }), /* @__PURE__ */ (0, x.jsxs)("span", { children: [+ children: [/* @__PURE__ */ (0, x.jsx)(NV, { name: "monitor" }), /* @__PURE__ */ (0, x.jsxs)("span", { children: [e.width,"×",e.height@@ -71142,11 +71155,11 @@ function SIe({ item: e, queue: t, write: n, helpers: r, actions: i }) {}) : null,/* @__PURE__ */ (0, x.jsxs)("span", {"data-spec-item": "",- children: [/* @__PURE__ */ (0, x.jsx)(MV, { name: "hard-drive" }), /* @__PURE__ */ (0, x.jsx)("span", { children: PV(e.size) })]+ children: [/* @__PURE__ */ (0, x.jsx)(NV, { name: "hard-drive" }), /* @__PURE__ */ (0, x.jsx)("span", { children: FV(e.size) })]}),e.release_date ? /* @__PURE__ */ (0, x.jsxs)("span", {"data-spec-item": "",- children: [/* @__PURE__ */ (0, x.jsx)(MV, { name: "calendar" }), /* @__PURE__ */ (0, x.jsx)("span", { children: e.release_date })]+ children: [/* @__PURE__ */ (0, x.jsx)(NV, { name: "calendar" }), /* @__PURE__ */ (0, x.jsx)("span", { children: e.release_date })]}) : null,e.region_label ? /* @__PURE__ */ (0, x.jsxs)("button", {type: "button",@@ -71154,7 +71167,7 @@ function SIe({ 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, x.jsx)(MV, { name: "globe" }), /* @__PURE__ */ (0, x.jsxs)("span", { children: [e.region_label, e.region_settled ? "" : "(推断)"] })]+ children: [/* @__PURE__ */ (0, x.jsx)(NV, { name: "globe" }), /* @__PURE__ */ (0, x.jsxs)("span", { children: [e.region_label, e.region_settled ? "" : "(推断)"] })]}) : null]}),@@ -71184,7 +71197,7 @@ function SIe({ 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, x.jsx)(MV, { name: "thumbs-up" })+ children: /* @__PURE__ */ (0, x.jsx)(NV, { name: "thumbs-up" })}),/* @__PURE__ */ (0, x.jsx)("button", {type: "button",@@ -71196,7 +71209,7 @@ function SIe({ 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, x.jsx)(MV, { name: "notebook-pen" })+ children: /* @__PURE__ */ (0, x.jsx)(NV, { name: "notebook-pen" })}),/* @__PURE__ */ (0, x.jsx)("button", {type: "button",@@ -71207,7 +71220,7 @@ function SIe({ item: e, queue: t, write: n, helpers: r, actions: i }) {"aria-pressed": e.feedback === "dislike",...o("dislike"),onClick: () => n.feedback("dislike"),- children: /* @__PURE__ */ (0, x.jsx)(MV, { name: "thumbs-down" })+ children: /* @__PURE__ */ (0, x.jsx)(NV, { name: "thumbs-down" })}),/* @__PURE__ */ (0, x.jsx)("button", {type: "button",@@ -71218,7 +71231,7 @@ function SIe({ item: e, queue: t, write: n, helpers: r, actions: i }) {"aria-pressed": e.feedback === "seen",...o("seen"),onClick: () => n.feedback("seen"),- children: /* @__PURE__ */ (0, x.jsx)(MV, { name: "eye" })+ children: /* @__PURE__ */ (0, x.jsx)(NV, { name: "eye" })}),/* @__PURE__ */ (0, x.jsx)("button", {type: "button",@@ -71229,7 +71242,7 @@ function SIe({ item: e, queue: t, write: n, helpers: r, actions: i }) {"aria-pressed": !!e.watch_later,...o("later"),onClick: n.later,- children: /* @__PURE__ */ (0, x.jsx)(MV, { name: e.watch_later ? "check" : "bookmark-plus" })+ children: /* @__PURE__ */ (0, x.jsx)(NV, { name: e.watch_later ? "check" : "bookmark-plus" })}),/* @__PURE__ */ (0, x.jsx)("button", {type: "button",@@ -71238,7 +71251,7 @@ function SIe({ item: e, queue: t, write: n, helpers: r, actions: i }) {"aria-label": "加入播放列表",title: "加入播放列表",onClick: () => i.addToPlaylist(e),- children: /* @__PURE__ */ (0, x.jsx)(MV, { name: "playlist" })+ children: /* @__PURE__ */ (0, x.jsx)(NV, { name: "playlist" })}),/* @__PURE__ */ (0, x.jsx)("button", {type: "button",@@ -71249,7 +71262,7 @@ function SIe({ item: e, queue: t, write: n, helpers: r, actions: i }) {"aria-pressed": !!e.better_version,...o("quality"),onClick: n.quality,- children: /* @__PURE__ */ (0, x.jsx)(MV, { name: "sparkles" })+ children: /* @__PURE__ */ (0, x.jsx)(NV, { name: "sparkles" })}),/* @__PURE__ */ (0, x.jsx)("button", {type: "button",@@ -71260,7 +71273,7 @@ function SIe({ item: e, queue: t, write: n, helpers: r, actions: i }) {"aria-pressed": e.disposal === "trash",...o("dispose"),onClick: () => n.feedback("dispose"),- children: /* @__PURE__ */ (0, x.jsx)(MV, { name: "trash" })+ children: /* @__PURE__ */ (0, x.jsx)(NV, { name: "trash" })})]}),@@ -71275,7 +71288,7 @@ function SIe({ item: e, queue: t, write: n, helpers: r, actions: i }) {...o("o"),onClick: () => n.feedback("o"),children: [- /* @__PURE__ */ (0, x.jsx)(MV, { name: "sperm" }),+ /* @__PURE__ */ (0, x.jsx)(NV, { name: "sperm" }),/* @__PURE__ */ (0, x.jsx)("span", { children: "记一次高潮" }),/* @__PURE__ */ (0, x.jsx)("b", {className: "mono",@@ -71289,7 +71302,7 @@ function SIe({ item: e, queue: t, write: n, helpers: r, actions: i }) {});}function CIe({ item: e, queue: t, helpers: n, actions: r, onStatus: i }) {- let { text: a, expanded: o, foldable: s, toggle: c } = CV(String(e.title || e.name || "")), l = n.badgeHtml(e.location || "", e.cost || "", "srcbig") + n.titleHtml(e) + hfe(e, t);+ let { text: a, expanded: o, foldable: s, toggle: c } = wV(String(e.title || e.name || "")), l = n.badgeHtml(e.location || "", e.cost || "", "srcbig") + n.titleHtml(e) + mfe(e, t);return /* @__PURE__ */ (0, x.jsx)("div", {"data-item-title": "",children: /* @__PURE__ */ (0, x.jsxs)("div", {@@ -71316,7 +71329,7 @@ function CIe({ item: e, queue: t, helpers: n, actions: r, onStatus: i }) {"aria-label": o ? "收起标题" : "展开标题",title: o ? "收起标题" : "展开完整标题",onClick: c,- children: /* @__PURE__ */ (0, x.jsx)(MV, { name: o ? "chevron-up" : "chevron-down" })+ children: /* @__PURE__ */ (0, x.jsx)(NV, { name: o ? "chevron-up" : "chevron-down" })}),e.has_cover && (e.cover_key || e.code) ? /* @__PURE__ */ (0, x.jsx)("span", {"data-cover-crop-host": "",@@ -71326,9 +71339,9 @@ function CIe({ item: e, queue: t, helpers: n, actions: r, onStatus: i }) {box: e.poster_box || null,onSaved: (t) => {U.invalidateQueries({- queryKey: ET(e.id),+ queryKey: DT(e.id),exact: !0- }), TT((t) => (t.cover_key || t.code) === (e.cover_key || e.code), { poster_box: t });+ }), ET((t) => (t.cover_key || t.code) === (e.cover_key || e.code), { poster_box: t });}})}) : null,@@ -71372,17 +71385,17 @@ function wIe({ id: e, actions: t, onStatus: n }) {"aria-disabled": !0} : {},onClick: () => void o(),- children: /* @__PURE__ */ (0, x.jsx)(MV, { name: "folder-sync" })+ children: /* @__PURE__ */ (0, x.jsx)(NV, { name: "folder-sync" })})] });}function TIe({ item: e, write: t }) {- let n = UT(e.rating);+ let n = WT(e.rating);return /* @__PURE__ */ (0, x.jsxs)("div", {id: "detailRating",role: "group","data-item-rating": "","aria-label": "评分",- "data-value": HT(e.rating),+ "data-value": UT(e.rating),children: [/* @__PURE__ */ (0, x.jsx)("div", {"data-rating-stars": "",children: [@@ -71399,19 +71412,19 @@ function TIe({ item: e, write: t }) {"aria-label": e === n ? `取消评分(当前 ${e} 星)` : `评为 ${e} 星`,...t.busyAttrs(`rate:${e}`),onClick: () => t.rate(e),- children: /* @__PURE__ */ (0, x.jsx)(MV, { name: "star" })+ children: /* @__PURE__ */ (0, x.jsx)(NV, { name: "star" })}, e))}), /* @__PURE__ */ (0, x.jsx)("span", {"data-rating-value": "","aria-live": "polite",- children: sfe(e.rating)+ children: ofe(e.rating)})]});}function EIe({ item: e, actions: t }) {- let n = (0, b.useMemo)(() => ofe(e), [e]), [r, i] = (0, b.useState)(!1), a = Math.max(0, n.cast.length - 8), o = (e, n, i) => {+ let n = (0, b.useMemo)(() => afe(e), [e]), [r, i] = (0, b.useState)(!1), a = Math.max(0, n.cast.length - 8), o = (e, n, i) => {let a = e === "performer" && i >= 8 && !r;- return /* @__PURE__ */ (0, x.jsx)(xV, {+ return /* @__PURE__ */ (0, x.jsx)(SV, {kind: e,person: n,onOpen: t.openEntity,@@ -71443,7 +71456,7 @@ function EIe({ item: e, actions: t }) {onClick: t.openUnowned,children: [/* @__PURE__ */ (0, x.jsx)("span", {"data-id-face": "",- children: /* @__PURE__ */ (0, x.jsx)(MV, { name: "user-round" })+ children: /* @__PURE__ */ (0, x.jsx)(NV, { name: "user-round" })}), /* @__PURE__ */ (0, x.jsx)("span", {"data-id-name": "",children: "未归属"@@ -71455,7 +71468,7 @@ function EIe({ item: e, actions: t }) {size: "small",id: "castMore","data-cast-more": "",- trailingIcon: zO,+ trailingIcon: BO,"aria-expanded": !1,onClick: () => i(!0),children: [@@ -71474,14 +71487,14 @@ function EIe({ item: e, actions: t }) {children: [c.length ? /* @__PURE__ */ (0, x.jsx)("div", {"data-identity-primary": "",children: c- }) : null, /* @__PURE__ */ (0, x.jsx)(SV, {+ }) : null, /* @__PURE__ */ (0, x.jsx)(CV, {people: n.series,onOpen: t.openEntity})]});}function DIe({ item: e, write: t, helpers: n, actions: r }) {- let i = lfe(e, n);+ let i = cfe(e, n);return /* @__PURE__ */ (0, x.jsxs)("div", {"data-stage-tags": "",id: "detailTags",@@ -71501,7 +71514,7 @@ function DIe({ 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, x.jsx)(MV, { name: "x" })+ children: /* @__PURE__ */ (0, x.jsx)(NV, { name: "x" })})]}, e.k)), /* @__PURE__ */ (0, x.jsx)(OIe, {item: e,@@ -71524,7 +71537,7 @@ function OIe({ item: e, write: t, helpers: n }) {clearTimeout(t), document.removeEventListener("pointerdown", e, !0);};}, [s, h]);- let g = s ? dfe(d, n.tagCandidates(), JT()) : {+ let g = s ? ufe(d, n.tagCandidates(), YT()) : {recent: [],results: [],create: ""@@ -71547,12 +71560,12 @@ function OIe({ 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 && WT(e, r.k)) : l.trim() && (h(), t.addTag(l.trim()));+ r ? v(r, r.n !== -1 && GT(e, r.k)) : l.trim() && (h(), t.addTag(l.trim()));}}}, S = -1, C = (t) => {S += 1;- let r = S, i = WT(e, t.k);+ let r = S, i = GT(e, t.k);return /* @__PURE__ */ (0, x.jsxs)("button", {type: "button","data-pick": t.k,@@ -71560,7 +71573,7 @@ function OIe({ item: e, write: t, helpers: n }) {"aria-pressed": i,onClick: () => v(t, i),children: [- /* @__PURE__ */ (0, x.jsx)(MV, { name: i ? "check" : "tags" }),+ /* @__PURE__ */ (0, x.jsx)(NV, { name: i ? "check" : "tags" }),/* @__PURE__ */ (0, x.jsx)("span", {"data-pick-name": "",children: n.tagLabel(t.k)@@ -71583,7 +71596,7 @@ function OIe({ item: e, write: t, helpers: n }) {onClick: () => {i.current && (Ka(i.current), c(!0), u(""), f(""), m(-1), requestAnimationFrame(() => a.current?.focus()));},- children: /* @__PURE__ */ (0, x.jsx)(MV, { name: "plus" })+ children: /* @__PURE__ */ (0, x.jsx)(NV, { name: "plus" })}), /* @__PURE__ */ (0, x.jsxs)("div", {ref: i,id: "tagPicker",@@ -71593,7 +71606,7 @@ function OIe({ item: e, write: t, helpers: n }) {hidden: !0,children: [/* @__PURE__ */ (0, x.jsxs)("label", {"data-tag-search": "",- children: [/* @__PURE__ */ (0, x.jsx)(MV, { name: "search" }), /* @__PURE__ */ (0, x.jsx)("input", {+ children: [/* @__PURE__ */ (0, x.jsx)(NV, { name: "search" }), /* @__PURE__ */ (0, x.jsx)("input", {ref: a,id: "tagPickSearch",maxLength: 80,@@ -71634,7 +71647,7 @@ function OIe({ item: e, write: t, helpers: n }) {onClick: () => {h(), t.addTag(g.create);},- children: [/* @__PURE__ */ (0, x.jsx)(MV, { name: "plus" }), /* @__PURE__ */ (0, x.jsxs)("span", {+ children: [/* @__PURE__ */ (0, x.jsx)(NV, { name: "plus" }), /* @__PURE__ */ (0, x.jsxs)("span", {"data-pick-name": "",children: ["新建“",@@ -71650,7 +71663,7 @@ function OIe({ item: e, write: t, helpers: n }) {})] });}function kIe({ item: e }) {- let t = yfe(e);+ let t = vfe(e);return /* @__PURE__ */ (0, x.jsxs)("div", {"data-item-trace": "",children: [/* @__PURE__ */ (0, x.jsxs)("div", {@@ -71725,10 +71738,10 @@ function AIe({ item: e, open: t, write: n }) {}function jIe(e) {let { item: t, relatedLimit: n, helpers: r, grid: i } = e, a = dt({- queryKey: nfe(t.id, n),- queryFn: async ({ signal: e }) => (await V(ife(t.id, n), e)).items || []+ queryKey: tfe(t.id, n),+ queryFn: async ({ signal: e }) => (await V(rfe(t.id, n), e)).items || []}), [o] = (0, b.useState)(() => r.relatedSkeletonHtml());- return /* @__PURE__ */ (0, x.jsx)(uV, {+ return /* @__PURE__ */ (0, x.jsx)(dV, {wireDrag: r.wireDrag,busy: a.isPending,empty: a.data?.length === 0,@@ -71736,7 +71749,7 @@ function jIe(e) {onRetry: () => {a.refetch();},- children: a.data ? /* @__PURE__ */ (0, x.jsx)(KP, {+ children: a.data ? /* @__PURE__ */ (0, x.jsx)(qP, {mode: "items",variant: "next",items: a.data,@@ -71749,11 +71762,11 @@ function jIe(e) {revision: 0,wireDrag: r.wireDrag,skeletonHtml: () => ""- }) : /* @__PURE__ */ (0, x.jsx)(NV, { html: o })+ }) : /* @__PURE__ */ (0, x.jsx)(PV, { html: o })});}function MIe(e, t, n) {- let r = e.id, i = ET(r), [a, o] = (0, b.useState)(() => /* @__PURE__ */ new Set()), [s, c] = (0, b.useState)(""), [l, u] = (0, b.useState)(""), d = (e, t) => o((n) => {+ let r = e.id, i = DT(r), [a, o] = (0, b.useState)(() => /* @__PURE__ */ new Set()), [s, c] = (0, b.useState)(""), [l, u] = (0, b.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) => {@@ -71769,7 +71782,7 @@ function MIe(e, t, n) {rating: t.rating,o_count: t.o_count};- return wT(r, n), t;+ return TT(r, n), t;}, m = (e, t) => H(e, {id: r,...t@@ -71784,7 +71797,7 @@ function MIe(e, t, n) {run: n}));}, _ = async (e, t) => {- let n = await m(kT, t === void 0 ? { kind: e } : {+ let n = await m(AT, t === void 0 ? { kind: e } : {kind: e,value: t});@@ -71804,21 +71817,21 @@ function MIe(e, t, n) {"aria-disabled": !0} : {},rate: (e) => g(`rate:${e}`, "评分", async () => {- let n = f().rating || 0, r = cfe(n, e);- await _("rate", r), t.toast(r ? `已评 ${UT(r)} 星` : "已取消评分", { undo: async () => {+ let n = f().rating || 0, r = sfe(n, e);+ await _("rate", r), t.toast(r ? `已评 ${WT(r)} 星` : "已取消评分", { undo: async () => {await _("rate", n);} });}),feedback: (e) => g(e, "操作", async () => {let n = { feedback: f().feedback || null }, r = await _(e);- t.toast(XT(e, r), { undo: async () => {+ t.toast(ZT(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(jT, {});+ let e = await m(MT, {});p({ watch_later: e.watch_later }), t.toast(e.watch_later ? "已加入稍后看" : "已移出稍后看", { undo: async () => {- p({ watch_later: (await m(jT, {})).watch_later });+ p({ watch_later: (await m(MT, {})).watch_later });} });}),quality: () => g("quality", "更新版本需求", async () => {@@ -71828,9 +71841,9 @@ function MIe(e, t, n) {}, n = (e) => p({better_version: e.better_version,better_version_reason: e.better_version_reason || ""- }), r = await m(MT, { wanted: !e.wanted });+ }), r = await m(NT, { wanted: !e.wanted });n(r), t.toast(r.better_version ? "已标记寻找更好版本" : "已取消寻找更好版本", { undo: async () => {- n(await m(MT, e));+ n(await m(NT, e));} });}),preference: ({ liked: e, reason: n }) => {@@ -71844,7 +71857,7 @@ function MIe(e, t, n) {});u("保存中…");try {- o(await m(NT, {+ o(await m(PT, {liked: a,reason: i}));@@ -71854,7 +71867,7 @@ function MIe(e, t, n) {u("已保存"), setTimeout(() => u((e) => e === "已保存" ? "" : e), 1400);let s = f();t.toast(s.liked ? "已保存喜欢偏好" : "已取消喜欢", { undo: async () => {- o(await m(NT, r));+ o(await m(PT, r));} });});},@@ -71863,30 +71876,30 @@ function MIe(e, t, n) {operation: "remove",tag: e.k})).ok) throw Error("标签未删除");- p((t) => GT(t, e.k)), t.toast(`已删除标签「${n(e.k)}」`, { undo: async () => {- await m(AT, {+ p((t) => KT(t, e.k)), t.toast(`已删除标签「${n(e.k)}」`, { undo: async () => {+ await m(jT, {operation: "add",tag: e.k- }), p((t) => KT(t, e));+ }), p((t) => qT(t, e));} });}),addTag: (e) => {let r = e.trim();r && g(`add:${r}`, "添加标签", async () => {- let e = await m(AT, {+ let e = await m(jT, {operation: "add",tag: r});if (!e.ok) return;let i = e.tag || r;- WT(f(), i) ? t.toast(`标签「${n(i)}」已存在`) : (p((e) => KT(e, {+ GT(f(), i) ? t.toast(`标签「${n(i)}」已存在`) : (p((e) => qT(e, {k: i,cat: "general"- })), ufe(i), t.toast(`已添加标签「${n(i)}」`, { undo: async () => {- await m(AT, {+ })), lfe(i), t.toast(`已添加标签「${n(i)}」`, { undo: async () => {+ await m(jT, {operation: "remove",tag: i- }), p((e) => GT(e, i));+ }), p((e) => KT(e, i));} }));});}@@ -71894,10 +71907,10 @@ function MIe(e, t, n) {}//#endregion//#region src/react/jav-detail/review-cache.ts-var IV = "peach.jav-reviews.v1";-function LV() {+var LV = "peach.jav-reviews.v1";+function RV() {try {- let e = localStorage.getItem(IV) || "[]";+ let e = localStorage.getItem(LV) || "[]";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")) : [];@@ -71911,12 +71924,12 @@ function NIe(e, t) {code: e,saved: Number.isFinite(n) ? n : Date.now(),result: t- }, ...LV().filter((n) => n.code !== e || n.result.page !== t.page)].slice(0, 128), i = JSON.stringify(r);- i.length <= 2e6 && localStorage.setItem(IV, i);+ }, ...RV().filter((n) => n.code !== e || n.result.page !== t.page)].slice(0, 128), i = JSON.stringify(r);+ i.length <= 2e6 && localStorage.setItem(LV, i);} catch {}}function PIe(e, t) {- let n = LV(), r = [], i = Infinity;+ let n = RV(), r = [], i = Infinity;for (let a = 1; a <= 8; a++) {let o = n.find((t) => t.code === e && t.result.page === a);if (!o || !fz(o.saved, t) || (r.push(o.result), i = Math.min(i, o.saved), !o.result.more)) break;@@ -71934,10 +71947,10 @@ function FIe(e, t, n) {//#region src/react/jav-detail/jav-detail-page.tsxfunction IIe(e) {let t = (0, b.useRef)(!1), n = dt({- queryKey: EV(e.code),+ queryKey: DV(e.code),queryFn: ({ signal: n }) => {let r = t.current;- return t.current = !1, DV(e.code, n, r);+ return t.current = !1, OV(e.code, n, r);},staleTime: 216e5}), r = () => {@@ -71954,14 +71967,14 @@ function IIe(e) {retrying: n.isFetching}, e.code) : /* @__PURE__ */ (0, x.jsxs)("div", {"data-jav-failure": "",- children: [/* @__PURE__ */ (0, x.jsx)(RV, { close: e.actions.close }), n.error ? /* @__PURE__ */ (0, x.jsx)(lP, {+ children: [/* @__PURE__ */ (0, x.jsx)(zV, { close: e.actions.close }), n.error ? /* @__PURE__ */ (0, x.jsx)(uP, {message: B(n.error),onRetry: r}) : null]})});}-var RV = ({ close: e }) => /* @__PURE__ */ (0, x.jsx)("button", {+var zV = ({ close: e }) => /* @__PURE__ */ (0, x.jsx)("button", {type: "button","data-stage-close": "",id: "closeStage",@@ -71990,9 +72003,9 @@ function LIe({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: alabel: "视频预览",video: !0}] : []- ], [l, u] = (0, b.useState)(null), [d, f] = (0, b.useState)(t.want_id), p = Mk(), m = () => {+ ], [l, u] = (0, b.useState)(null), [d, f] = (0, b.useState)(t.want_id), p = Nk(), m = () => {p.run("want", async (e) => d ? (await lz([d], e), null) : (await cz({ code: t.code }, e)).want.id, (t) => {- f(t), U.setQueryData(EV(e), (e) => e && {+ f(t), U.setQueryData(DV(e), (e) => e && {...e,wanted: !!t,want_id: t@@ -72005,24 +72018,24 @@ function LIe({ 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, x.jsx)(RV, { close: n.close }),+ /* @__PURE__ */ (0, x.jsx)(zV, { close: n.close }),t.preview_video_url ? /* @__PURE__ */ (0, x.jsxs)("button", {type: "button","data-jav-preview-toggle": "","aria-pressed": o === -2,onClick: () => s(o === -2 ? -1 : -2),- children: [/* @__PURE__ */ (0, x.jsx)(zV, { name: o === -2 ? "image" : "play" }), o === -2 ? "查看图片" : "视频预览"]+ children: [/* @__PURE__ */ (0, x.jsx)(BV, { name: o === -2 ? "image" : "play" }), o === -2 ? "查看图片" : "视频预览"]}) : null,- o === -2 && t.preview_video_url ? /* @__PURE__ */ (0, x.jsx)(BIe, { src: t.preview_video_url }, t.preview_video_url) : /* @__PURE__ */ (0, x.jsx)(wV, {+ o === -2 && t.preview_video_url ? /* @__PURE__ */ (0, x.jsx)(BIe, { src: t.preview_video_url }, t.preview_video_url) : /* @__PURE__ */ (0, x.jsx)(TV, {item: t,image: o === -1 ? "cover" : String(o)}, o),- /* @__PURE__ */ (0, x.jsx)(fV, {+ /* @__PURE__ */ (0, x.jsx)(pV, {items: c,position: Math.max(0, c.findIndex((e) => e.index === o)),onSelect: s,below: !0,- renderThumbnail: (e) => /* @__PURE__ */ (0, x.jsx)(wV, {+ renderThumbnail: (e) => /* @__PURE__ */ (0, x.jsx)(TV, {item: t,image: e.index < 0 ? "cover" : String(e.index),thumbnail: !0@@ -72037,15 +72050,15 @@ function LIe({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: a"data-jav-info": "",children: [/* @__PURE__ */ (0, x.jsx)(RIe, { item: t }),- Number(t.score) > 0 ? /* @__PURE__ */ (0, x.jsx)(VV, { score: Number(t.score) }) : null,+ Number(t.score) > 0 ? /* @__PURE__ */ (0, x.jsx)(HV, { score: Number(t.score) }) : null,/* @__PURE__ */ (0, x.jsxs)("div", {className: "mono","data-stage-meta": "",- children: [/* @__PURE__ */ (0, x.jsx)(BV, {+ children: [/* @__PURE__ */ (0, x.jsx)(VV, {glyph: "calendar",label: "发行日期",value: t.release_date- }), /* @__PURE__ */ (0, x.jsx)(BV, {+ }), /* @__PURE__ */ (0, x.jsx)(VV, {glyph: "clock",label: "时长",value: t.duration ? `${t.duration} 分钟` : void 0@@ -72057,11 +72070,11 @@ function LIe({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: a}),/* @__PURE__ */ (0, x.jsxs)("div", {"data-jav-facts": "",- children: [/* @__PURE__ */ (0, x.jsx)(BV, {+ children: [/* @__PURE__ */ (0, x.jsx)(VV, {glyph: "briefcase",label: "发行商",value: t.publisher- }), /* @__PURE__ */ (0, x.jsx)(BV, {+ }), /* @__PURE__ */ (0, x.jsx)(VV, {glyph: "clapperboard",label: "导演",value: t.director@@ -72125,7 +72138,7 @@ function LIe({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: a}),t.source_url ? /* @__PURE__ */ (0, x.jsx)(G, {variant: "secondary",- trailingIcon: KO,+ trailingIcon: qO,onClick: () => window.open(t.source_url, "_blank", "noopener,noreferrer"),children: "作品来源"}) : null@@ -72155,17 +72168,17 @@ function LIe({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: a})] });}-var zV = ({ name: e }) => /* @__PURE__ */ (0, x.jsx)("span", {+var BV = ({ name: e }) => /* @__PURE__ */ (0, x.jsx)("span", {className: "contents","aria-hidden": "true",dangerouslySetInnerHTML: { __html: R(e) }-}), BV = ({ glyph: e, label: t, value: n }) => n ? /* @__PURE__ */ (0, x.jsxs)("span", {+}), VV = ({ glyph: e, label: t, value: n }) => n ? /* @__PURE__ */ (0, x.jsxs)("span", {"data-spec-item": "",title: t,- children: [/* @__PURE__ */ (0, x.jsx)(zV, { name: e }), /* @__PURE__ */ (0, x.jsx)("span", { children: n })]+ children: [/* @__PURE__ */ (0, x.jsx)(BV, { name: e }), /* @__PURE__ */ (0, x.jsx)("span", { children: n })]}) : null;function RIe({ item: e }) {- let { text: t, expanded: n, foldable: r, toggle: i } = CV(e.title), a = e.title === e.code ? "" : e.title;+ let { text: t, expanded: n, foldable: r, toggle: i } = wV(e.title), a = e.title === e.code ? "" : e.title;return /* @__PURE__ */ (0, x.jsxs)("div", {"data-item-title": "",children: [/* @__PURE__ */ (0, x.jsx)("h1", {@@ -72191,12 +72204,12 @@ function RIe({ item: e }) {"aria-label": n ? "收起标题" : "展开标题",title: n ? "收起标题" : "展开完整标题",onClick: i,- children: /* @__PURE__ */ (0, x.jsx)(zV, { name: n ? "chevron-up" : "chevron-down" })+ children: /* @__PURE__ */ (0, x.jsx)(BV, { name: n ? "chevron-up" : "chevron-down" })})})]});}-function VV({ score: e, review: t = !1 }) {+function HV({ score: e, review: t = !1 }) {let n = Math.max(0, Math.min(5, e));return /* @__PURE__ */ (0, x.jsxs)("div", {"data-item-rating": "",@@ -72220,10 +72233,10 @@ function VV({ score: e, review: t = !1 }) {"data-on": String(t === 1),children: /* @__PURE__ */ (0, x.jsxs)("span", {"data-rating-icon": "",- children: [/* @__PURE__ */ (0, x.jsx)(zV, { name: "star" }), /* @__PURE__ */ (0, x.jsx)("span", {+ children: [/* @__PURE__ */ (0, x.jsx)(BV, { name: "star" }), /* @__PURE__ */ (0, x.jsx)("span", {"data-rating-fill": "",style: { width: `${t * 100}%` },- children: /* @__PURE__ */ (0, x.jsx)(zV, { name: "star" })+ children: /* @__PURE__ */ (0, x.jsx)(BV, { name: "star" })})]})}, e);@@ -72243,14 +72256,14 @@ function zIe({ item: e, navigate: t }) {children: r}), /* @__PURE__ */ (0, x.jsx)("div", {"data-id-row": "",- children: i.map((r) => /* @__PURE__ */ (0, x.jsx)(xV, {+ children: i.map((r) => /* @__PURE__ */ (0, x.jsx)(SV, {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, x.jsx)(xAe, {+ face: t === "performer" && !r.has_image && !r.has_avatar && r.source_avatar && r.source_actor_id ? /* @__PURE__ */ (0, x.jsx)(SAe, {code: e.code,person: r,detail: !0@@ -72267,7 +72280,7 @@ function zIe({ item: e, navigate: t }) {r("performer", "出演者", e.performer_refs.filter((e) => !e.gender || e.gender === "unknown"), "unknown"),r("studio", "厂牌", e.studio_refs)]- }), /* @__PURE__ */ (0, x.jsx)(SV, {+ }), /* @__PURE__ */ (0, x.jsx)(CV, {people: e.series_refs.map((e) => ({...e,id: e.id ?? null@@ -72280,7 +72293,7 @@ function BIe({ src: e }) {let t = (0, b.useRef)(null), [n, r] = (0, b.useState)(!1), [i, a] = (0, b.useState)(0);return (0, b.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), Vde(i, {+ return i.className = "video-js vjs-big-play-centered", i.controls = !0, i.setAttribute("playsinline", ""), i.setAttribute("aria-label", "视频预览"), n.append(i), Bde(i, {src: e,type: /\.m3u8(?:\?|$)/i.test(e) ? "application/x-mpegURL" : "video/mp4"}, () => r(!0));@@ -72333,7 +72346,7 @@ function VIe({ 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 ? B(c.error) : l.find((e) => !e.ok || e.cache_stale)?.message;return /* @__PURE__ */ (0, x.jsx)("section", {"data-jav-reviews": "",- children: /* @__PURE__ */ (0, x.jsxs)(Jk, {+ children: /* @__PURE__ */ (0, x.jsxs)(Yk, {trailing: !0,summary: /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(Jme, { "aria-hidden": !0 }),@@ -72353,7 +72366,7 @@ function VIe({ code: e, count: t, released: n }) {"data-jav-review-meta": "",children: [/* @__PURE__ */ (0, x.jsx)("b", { children: e.username }),- Number(e.score) > 0 ? /* @__PURE__ */ (0, x.jsx)(VV, {+ Number(e.score) > 0 ? /* @__PURE__ */ (0, x.jsx)(HV, {score: Number(e.score),review: !0}) : null,@@ -72410,19 +72423,19 @@ function VIe({ code: e, count: t, released: n }) {}function HIe({ item: e, actions: t, readOnly: n }) {let [r, i] = (0, b.useState)(!1), a = dt({- queryKey: uA,+ queryKey: dA,enabled: r,- queryFn: ({ signal: e }) => V(`${lA}?limit=50`, e)+ queryFn: ({ signal: e }) => V(`${uA}?limit=50`, e)}), o = a.data?.providers.find((e) => e.configured)?.key || "", [s, c] = (0, b.useState)(!1);return /* @__PURE__ */ (0, x.jsx)("section", {"data-jav-resources": "",- children: /* @__PURE__ */ (0, x.jsx)(Jk, {+ children: /* @__PURE__ */ (0, x.jsx)(Yk, {trailing: !0,- summary: /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(zV, { name: "link" }), "资源"] }),+ summary: /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(BV, { name: "link" }), "资源"] }),onOpenChange: (e) => {i(e), e && c(!0);},- children: s ? /* @__PURE__ */ (0, x.jsx)(nje, {+ children: s ? /* @__PURE__ */ (0, x.jsx)(rje, {want: {id: 0,code: e.code,@@ -72440,31 +72453,31 @@ function HIe({ item: e, actions: t, readOnly: n }) {}//#endregion//#region src/react/stage/stage-player.ts-var HV = null, UV = null, WV = null, GV = null, KV = null, qV = !1, JV = 0, YV = null, XV = () => !1, ZV = (e, t, n) => `${e}:${t}:${n ?? ""}`;+var UV = null, WV = null, GV = null, KV = null, qV = null, JV = !1, YV = 0, XV = null, ZV = () => !1, QV = (e, t, n) => `${e}:${t}:${n ?? ""}`;function UIe(e, t) {- HV = e, XV = () => t.isOpen(), YV = () => t.requestClose(), Jue({+ UV = e, ZV = () => t.isOpen(), XV = () => t.requestClose(), que({...e.player,stage: () => document.getElementById("stage")- }), Yue({- inMiniplayer: (e) => UV?.player === e,- kind: (e) => UV?.player === e ? UV.kind : WV?.kind ?? GV?.kind ?? "item",- expand: () => _H(),- toMiniplayer: () => vH()- }), QV || (QV = !0, addEventListener("pagehide", () => aT()));-}-var QV = !1;-function $V() {- if (!HV) throw Error("舞台播放器还没有接上宿主(configureStagePlayer)");- return HV;-}-function eH(e) {- GV = e;-}-var WIe = () => GV;-function tH(e, t) {- let { kind: n, item: r, media: i = null } = t, a = ZV(n, r.id, i?.index ?? null);- if (UV && UV.key === a) return KIe(e, UV);- UV && gH();+ }), Jue({+ inMiniplayer: (e) => WV?.player === e,+ kind: (e) => WV?.player === e ? WV.kind : GV?.kind ?? KV?.kind ?? "item",+ expand: () => vH(),+ toMiniplayer: () => yH()+ }), $V || ($V = !0, addEventListener("pagehide", () => oT()));+}+var $V = !1;+function eH() {+ if (!UV) throw Error("舞台播放器还没有接上宿主(configureStagePlayer)");+ return UV;+}+function tH(e) {+ KV = e;+}+var WIe = () => KV;+function nH(e, t) {+ let { kind: n, item: r, media: i = null } = t, a = QV(n, r.id, i?.index ?? null);+ if (WV && WV.key === a) return KIe(e, WV);+ WV && _H();let o = {player: null,kind: n,@@ -72472,23 +72485,23 @@ function tH(e, t) {mediaIndex: i?.index ?? null,key: a};- WV = o;+ GV = o;let s = document.createElement("video");t.id && (s.id = t.id), s.className = "video-js vjs-big-play-centered", s.controls = !0, s.setAttribute("playsinline", ""), s.preload = "metadata", t.poster && (s.poster = t.poster), t.onError && s.addEventListener("error", t.onError), e.append(s);- let c = vT(s, {+ let c = yT(s, {kind: n,item: r,media: i,autoplay: t.autoplay,resume: t.resume ?? null,onPlayer: (e) => {- WV === o && (o.player = e);+ GV === o && (o.player = e);},- handedOff: (e) => UV?.player === e+ handedOff: (e) => WV?.player === e});return () => {- let e = !!o.player && UV?.player === o.player;- WV === o && (WV = null), c(), !e && (o.player || (s.pause(), s.removeAttribute("src"), s.load()), aT());+ let e = !!o.player && WV?.player === o.player;+ GV === o && (GV = null), c(), !e && (o.player || (s.pause(), s.removeAttribute("src"), s.load()), oT());};}async function GIe(e, t, n) {@@ -72497,27 +72510,27 @@ async function GIe(e, t, n) {if (r.medium && r.medium !== "video") throw Error("这条作品没有可播放的视频");if (r.location === "online") throw Error("请打开详情播放在线作品");if (r.cost === "metered") throw Error("请打开详情确认计费来源");- let i = await $V().player.loadSourceStatus();- if (n.throwIfAborted(), i[String(r.location || "")] === !1) throw Error($V().player.offlineReason(String(r.location || "")));+ let i = await eH().player.loadSourceStatus();+ if (n.throwIfAborted(), i[String(r.location || "")] === !1) throw Error(eH().player.offlineReason(String(r.location || "")));let a = {kind: "item",item: r,title: String(r.title || r.name || ""),sub: String(r.performers?.[0] || r.creator || "未归属")};- eH(a);- let o = tH(t, {+ tH(a);+ let o = nH(t, {kind: "item",item: r,autoplay: !0}), s = !1;return (e = !1) => {- s || (s = !0, e && GV === a && rH(!0), o(), GV === a && eH(null));+ s || (s = !0, e && KV === a && iH(!0), o(), KV === a && tH(null));};}function KIe(e, t) {let { player: n } = t;- mH(t), UV = null, hH(), n.el().classList.remove("vjs-peach-mini"), gT(e), e.append(n.el()), Lw(n);+ hH(t), WV = null, gH(), n.el().classList.remove("vjs-peach-mini"), _T(e), e.append(n.el()), Rw(n);let r = {player: n,kind: t.kind,@@ -72525,22 +72538,22 @@ function KIe(e, t) {mediaIndex: t.mediaIndex,key: t.key};- WV = r;- let i = _T(n, e);- return Rw(n), () => {- WV === r && (WV = null), i(), UV?.player !== n && (Iw() === n && Lw(null), Zw(n), aT());+ GV = r;+ let i = vT(n, e);+ return zw(n), () => {+ GV === r && (GV = null), i(), WV?.player !== n && (Lw() === n && Rw(null), Qw(n), oT());};}-var nH = () => {- let e = WV?.player;+var rH = () => {+ let e = GV?.player;return e && !e.isDisposed() ? e : null;};-function rH(e) {- let t = qV;- qV = !1, UV?.pending && gH();- let n = WV, r = n?.player, i = GV;- if (!n || !r || r.isDisposed() || !i || !KV) return;- let a = $V().player.settings();+function iH(e) {+ let t = JV;+ JV = !1, WV?.pending && _H();+ let n = GV, r = n?.player, i = KV;+ if (!n || !r || r.isDisposed() || !i || !qV) return;+ let a = eH().player.settings();(t || e && a.miniplayer && !r.paused() && !r.ended() && !r.error()) && XIe({player: r,kind: n.kind,@@ -72549,46 +72562,46 @@ function rH(e) {key: n.key}, i);}-function iH(e, t) {- qV = !1, UV && (UV.kind === e && UV.item.id === t ? (UV.pending = !0, hH()) : gH());+function aH(e, t) {+ JV = !1, WV && (WV.kind === e && WV.item.id === t ? (WV.pending = !0, gH()) : _H());}-function aH(e) {- KV = e, KV && fH();+function oH(e) {+ qV = e, qV && pH();}-var oH = () => !!UV && !UV.pending && !UV.player.isDisposed();+var sH = () => !!WV && !WV.pending && !WV.player.isDisposed();function qIe() {- return oH() ? KV?.frame.querySelector("video") ?? null : null;+ return sH() ? qV?.frame.querySelector("video") ?? null : null;}function JIe() {- return XV() ? document.getElementById("stage")?.querySelector("video") ?? null : nH()?.el().querySelector("video") ?? qIe();+ return ZV() ? document.getElementById("stage")?.querySelector("video") ?? null : rH()?.el().querySelector("video") ?? qIe();}-function sH(e) {- KV && (KV.title.textContent = e.title || "", KV.sub.textContent = e.sub || "", KV.info.setAttribute("aria-label", e.title ? `展开到详情:${e.title}` : "展开到详情"));+function cH(e) {+ qV && (qV.title.textContent = e.title || "", qV.sub.textContent = e.sub || "", qV.info.setAttribute("aria-label", e.title ? `展开到详情:${e.title}` : "展开到详情"));}-function cH(e = UV?.item) {- if (!KV) return;- let t = KV.frame.querySelector("video"), n = t?.videoWidth || Number(e?.width) || 16, r = t?.videoHeight || Number(e?.height) || 9;- KV.frame.style.setProperty("--miniplayer-aspect", `${Math.max(n, r)}/${r}`);+function lH(e = WV?.item) {+ if (!qV) return;+ let t = qV.frame.querySelector("video"), n = t?.videoWidth || Number(e?.width) || 16, r = t?.videoHeight || Number(e?.height) || 9;+ qV.frame.style.setProperty("--miniplayer-aspect", `${Math.max(n, r)}/${r}`);}-function lH() {- let e = UV?.player;- if (!e || e.isDisposed() || !KV) return;+function uH() {+ let e = WV?.player;+ if (!e || e.isDisposed() || !qV) return;let t = e.paused();- KV.play.setAttribute("aria-label", t ? "播放" : "暂停"), KV.play.querySelector("[data-icon-swap]") || (KV.play.innerHTML = uo("player-pause", "player-play", t ? "b" : "a")), fo(KV.play, t ? "b" : "a");+ qV.play.setAttribute("aria-label", t ? "播放" : "暂停"), qV.play.querySelector("[data-icon-swap]") || (qV.play.innerHTML = uo("player-pause", "player-play", t ? "b" : "a")), fo(qV.play, t ? "b" : "a");}-function uH() {- let e = UV?.player;- if (!e || e.isDisposed() || !KV) return;- let t = Yt(UV?.item.duration) || Yt(e.duration());- KV.time.textContent = `${Zt(e.currentTime())} / ${t ? Zt(t) : "0:00"}`;-}-var dH = () => Math.max(1, Number($V().player.settings().seekSeconds) || 10);-function fH() {- if (!KV || !HV) return;- let e = dH();- for (let [t, n] of [[KV.back, `后退 ${e} 秒`], [KV.ahead, `前进 ${e} 秒`]]) t.setAttribute("aria-label", n), t.title = n;-}-function pH(e) {+function dH() {+ let e = WV?.player;+ if (!e || e.isDisposed() || !qV) return;+ let t = Yt(WV?.item.duration) || Yt(e.duration());+ qV.time.textContent = `${Zt(e.currentTime())} / ${t ? Zt(t) : "0:00"}`;+}+var fH = () => Math.max(1, Number(eH().player.settings().seekSeconds) || 10);+function pH() {+ if (!qV || !UV) return;+ let e = fH();+ for (let [t, n] of [[qV.back, `后退 ${e} 秒`], [qV.ahead, `前进 ${e} 秒`]]) t.setAttribute("aria-label", n), t.title = n;+}+function mH(e) {let t = (t, n) => {e.player.on(t, n), e.off.push(() => {try {@@ -72600,17 +72613,17 @@ function pH(e) {"play","pause","ended"- ], lH), t([+ ], uH), t(["timeupdate","durationchange","loadedmetadata"- ], uH), t("loadedmetadata", () => cH()), lH(), uH(), cH(), fH();+ ], dH), t("loadedmetadata", () => lH()), uH(), dH(), lH(), pH();}-function mH(e) {+function hH(e) {e.off.forEach((e) => e()), e.off = [];}function YIe() {- let e = KV?.root;+ let e = qV?.root;if (!e) return;let t = e.hidden;if (e.hidden = !1, !t) return;@@ -72618,8 +72631,8 @@ function YIe() {let n = () => e.removeAttribute("data-miniplayer-enter");e.addEventListener("animationend", n, { once: !0 }), setTimeout(n, 500);}-function hH() {- let e = KV?.root;+function gH() {+ let e = qV?.root;if (e) {e.hidden = !0;for (let t of [@@ -72631,72 +72644,72 @@ function hH() {}}function XIe(e, t) {- if (!KV) return;+ if (!qV) return;let n = {...e,meta: t,off: [],pending: !1};- UV = n, JV++, e.player.el().classList.add("vjs-peach-mini"), KV.frame.prepend(e.player.el()), sH(t), pH(n), YIe(), Rw(e.player);-}-function gH() {- let e = UV;- e && mH(e), UV = null, JV++;- let t = e?.player ?? null;- t && Iw() === t && Lw(null), Zw(t), t && aT(), KV?.frame.querySelectorAll(".video-js,video").forEach((e) => e.remove()), Fw(), hH();+ WV = n, YV++, e.player.el().classList.add("vjs-peach-mini"), qV.frame.prepend(e.player.el()), cH(t), mH(n), YIe(), zw(e.player);}function _H() {- if (!oH() || !UV) return;- let { kind: e, item: t, mediaIndex: n } = UV;- $V().expand(e, t.id, n);+ let e = WV;+ e && hH(e), WV = null, YV++;+ let t = e?.player ?? null;+ t && Lw() === t && Rw(null), Qw(t), t && oT(), qV?.frame.querySelectorAll(".video-js,video").forEach((e) => e.remove()), Iw(), gH();}function vH() {- oH() && !XV() ? _H() : XV() && nH() && YV && (qV = !0, YV());+ if (!sH() || !WV) return;+ let { kind: e, item: t, mediaIndex: n } = WV;+ eH().expand(e, t.id, n);+}+function yH() {+ sH() && !ZV() ? vH() : ZV() && rH() && XV && (JV = !0, XV());}function ZIe() {- let e = UV?.player;+ let e = WV?.player;e && !e.isDisposed() && (e.paused() ? e.play()?.catch(() => {}) : e.pause());}-function yH(e) {- let t = UV?.player;+function bH(e) {+ let t = WV?.player;if (!t || t.isDisposed()) return;- let n = Yt(t.duration()) || Yt(UV?.item.duration) || 0, r = Math.max(0, (Number(t.currentTime()) || 0) + dH() * e);+ let n = Yt(t.duration()) || Yt(WV?.item.duration) || 0, r = Math.max(0, (Number(t.currentTime()) || 0) + fH() * e);t.currentTime(n ? Math.min(n, r) : r);}-function bH(e) {- return !(!oH() || !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 || $V().sourceOffline(String(e.location ?? "")));+function xH(e) {+ return !(!sH() || !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 || eH().sourceOffline(String(e.location ?? "")));}async function QIe(e) {- if (!oH() || !UV || !KV) return;- let t = ++JV, n = await Dt(`/api/item?id=${e}`).catch(() => null);- if (t !== JV || !oH() || !UV || !KV || !n || n.error) return;- if (!bH(n)) {- $V().openItem(e);+ if (!sH() || !WV || !qV) return;+ let t = ++YV, n = await Dt(`/api/item?id=${e}`).catch(() => null);+ if (t !== YV || !sH() || !WV || !qV || !n || n.error) return;+ if (!xH(n)) {+ eH().openItem(e);return;}- let r = UV;- mH(r), Iw() === r.player && Lw(null), Zw(r.player), aT(), KV.frame.querySelectorAll(".video-js,video").forEach((e) => e.remove());+ let r = WV;+ hH(r), Lw() === r.player && Rw(null), Qw(r.player), oT(), qV.frame.querySelectorAll(".video-js,video").forEach((e) => e.remove());let i = document.createElement("video");- i.className = "video-js", i.setAttribute("playsinline", ""), i.preload = "metadata", KV.frame.prepend(i);+ i.className = "video-js", i.setAttribute("playsinline", ""), i.preload = "metadata", qV.frame.prepend(i);let a = {kind: "item",item: n,title: String(n.title || n.name || ""),sub: String(n.performers?.[0] || n.creator || "未归属")};- sH(a), vT(i, {+ cH(a), yT(i, {kind: "item",item: n,autoplay: !0,chrome: !1,onPlayer: (r) => {- if (t !== JV) {- r && Iw() === r && Lw(null), Zw(r);+ if (t !== YV) {+ r && Lw() === r && Rw(null), Qw(r);return;}if (!r) {- gH(), $V().openItem(e);+ _H(), eH().openItem(e);return;}r.el().classList.add("vjs-peach-mini");@@ -72705,26 +72718,26 @@ async function QIe(e) {kind: "item",item: n,mediaIndex: null,- key: ZV("item", n.id, null),+ key: QV("item", n.id, null),meta: a,off: [],pending: !1};- UV = i, pH(i);+ WV = i, mH(i);}- }), cH(n);+ }), lH(n);}//#endregion//#region src/react/stage/miniplayer.tsx-var xH = ({ name: e }) => /* @__PURE__ */ (0, x.jsx)("svg", {+var SH = ({ name: e }) => /* @__PURE__ */ (0, x.jsx)("svg", {viewBox: "0 0 24 24","aria-hidden": "true",children: /* @__PURE__ */ (0, x.jsx)("use", { href: `#i-${e}` })-}), $Ie = { __html: "<svg viewBox=\"0 0 24 24\" aria-hidden=\"true\"><use href=\"#i-player-pause\"/></svg>" }, SH = (e) => (t) => {+}), $Ie = { __html: "<svg viewBox=\"0 0 24 24\" aria-hidden=\"true\"><use href=\"#i-player-pause\"/></svg>" }, CH = (e) => (t) => {t.stopPropagation(), e();}, eLe = (0, b.memo)(function() {let e = (0, b.useRef)(null), t = (0, b.useRef)(null), n = (0, b.useRef)(null), r = (0, b.useRef)(null), i = (0, b.useRef)(null), a = (0, b.useRef)(null), o = (0, b.useRef)(null), s = (0, b.useRef)(null), c = (0, b.useRef)(null), l = (0, b.useRef)(null);- return (0, b.useLayoutEffect)(() => (aH({+ return (0, b.useLayoutEffect)(() => (oH({root: e.current,frame: n.current,play: r.current,@@ -72734,7 +72747,7 @@ var xH = ({ name: e }) => /* @__PURE__ */ (0, x.jsx)("svg", {title: s.current,sub: c.current,info: l.current- }), () => aH(null)), []), (0, b.useEffect)(() => nLe(e.current, t.current), []), /* @__PURE__ */ (0, x.jsx)("aside", {+ }), () => oH(null)), []), (0, b.useEffect)(() => nLe(e.current, t.current), []), /* @__PURE__ */ (0, x.jsx)("aside", {ref: e,"data-miniplayer": "",id: "miniplayer",@@ -72758,24 +72771,24 @@ var xH = ({ name: e }) => /* @__PURE__ */ (0, x.jsx)("svg", {id: "miniplayerExpand","aria-label": "展开到详情","aria-keyshortcuts": "i",- onClick: SH(_H),- children: /* @__PURE__ */ (0, x.jsx)(xH, { name: "maximize-2" })+ onClick: CH(vH),+ children: /* @__PURE__ */ (0, x.jsx)(SH, { name: "maximize-2" })}),/* @__PURE__ */ (0, x.jsx)("button", {type: "button","data-miniplayer-button": "close",id: "miniplayerClose","aria-label": "关闭小窗",- onClick: SH(gH),- children: /* @__PURE__ */ (0, x.jsx)(xH, { name: "x" })+ onClick: CH(_H),+ children: /* @__PURE__ */ (0, x.jsx)(SH, { name: "x" })}),/* @__PURE__ */ (0, x.jsx)("button", {ref: a,type: "button","data-miniplayer-seek": "",id: "miniplayerBack",- onClick: SH(() => yH(-1)),- children: /* @__PURE__ */ (0, x.jsx)(xH, { name: "rotate-ccw" })+ onClick: CH(() => bH(-1)),+ children: /* @__PURE__ */ (0, x.jsx)(SH, { name: "rotate-ccw" })}),/* @__PURE__ */ (0, x.jsx)("button", {ref: r,@@ -72784,7 +72797,7 @@ var xH = ({ name: e }) => /* @__PURE__ */ (0, x.jsx)("svg", {id: "miniplayerPlay","aria-label": "暂停","aria-keyshortcuts": "k",- onClick: SH(ZIe),+ onClick: CH(ZIe),dangerouslySetInnerHTML: $Ie}),/* @__PURE__ */ (0, x.jsx)("button", {@@ -72792,8 +72805,8 @@ var xH = ({ name: e }) => /* @__PURE__ */ (0, x.jsx)("svg", {type: "button","data-miniplayer-seek": "",id: "miniplayerAhead",- onClick: SH(() => yH(1)),- children: /* @__PURE__ */ (0, x.jsx)(xH, { name: "rotate-cw" })+ onClick: CH(() => bH(1)),+ children: /* @__PURE__ */ (0, x.jsx)(SH, { name: "rotate-cw" })}),/* @__PURE__ */ (0, x.jsx)("span", {ref: i,@@ -72810,7 +72823,7 @@ var xH = ({ name: e }) => /* @__PURE__ */ (0, x.jsx)("svg", {"data-miniplayer-info": "",id: "miniplayerInfo","aria-label": "展开到详情",- onClick: () => _H(),+ onClick: () => vH(),children: [/* @__PURE__ */ (0, x.jsx)("span", {ref: s,"data-miniplayer-title": "",@@ -72884,35 +72897,35 @@ function nLe(e, t) {}//#endregion//#region src/react/stage/stage.tsx-var CH = null, wH = null, TH = /* @__PURE__ */ new Set(), EH = 0, DH = null, OH = !1, kH = !1, AH = () => {+var wH = null, TH = null, EH = /* @__PURE__ */ new Set(), DH = 0, OH = null, kH = !1, AH = !1, jH = () => {let e = document.getElementById("stage");return e instanceof HTMLDialogElement ? e : null;};-function jH() {- if (!CH) throw Error("舞台还没有接上宿主(configureStage)");- return CH;+function MH() {+ if (!wH) throw Error("舞台还没有接上宿主(configureStage)");+ return wH;}function rLe(e) {- return TH.add(e), () => {- TH.delete(e);+ return EH.add(e), () => {+ EH.delete(e);};}function iLe() {- for (let e of [...TH]) e();+ for (let e of [...EH]) e();}-function MH() {+function NH() {(0, mt.flushSync)(iLe);}function aLe({ view: e }) {return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [e ? /* @__PURE__ */ (0, x.jsx)(oLe, { view: e }, e.generation) : null, /* @__PURE__ */ (0, x.jsx)(eLe, {})] });}-var NH = () => /* @__PURE__ */ (0, x.jsx)("div", {+var PH = () => /* @__PURE__ */ (0, x.jsx)("div", {"data-skeleton": "detail",role: "status","aria-label": "正在读取作品详情",dangerouslySetInnerHTML: { __html: CFe() }});-function PH(e) {+function FH(e) {let t = e.currentTarget;if (e.target !== t) return !1;let n = t.getBoundingClientRect();@@ -72922,7 +72935,7 @@ function oLe({ view: e }) {let t = (0, b.useRef)(null);(0, b.useLayoutEffect)(() => {let e = t.current, n = (e) => {- e.preventDefault(), FH();+ e.preventDefault(), IH();};return e.addEventListener("cancel", n), () => e.removeEventListener("cancel", n);}, []);@@ -72934,20 +72947,20 @@ function oLe({ view: e }) {"data-stage-kind": r.kind,"aria-label": "作品详情",onKeyDown: (e) => {- e.key !== "Escape" || e.defaultPrevented || (e.preventDefault(), FH());+ e.key !== "Escape" || e.defaultPrevented || (e.preventDefault(), IH());},onPointerDown: (e) => {- kH = PH(e);+ AH = FH(e);},onClick: (e) => {- kH && PH(e) && FH();+ AH && FH(e) && IH();},children: [- n === "skeleton" ? /* @__PURE__ */ (0, x.jsx)(NH, {}, "skeleton") : null,+ n === "skeleton" ? /* @__PURE__ */ (0, x.jsx)(PH, {}, "skeleton") : null,n === "reveal" ? /* @__PURE__ */ (0, x.jsx)("div", {"data-stage-fade": "","aria-hidden": "true",- children: /* @__PURE__ */ (0, x.jsx)(NH, {})+ children: /* @__PURE__ */ (0, x.jsx)(PH, {})}, "fade") : null,n === "skeleton" ? null : /* @__PURE__ */ (0, x.jsx)("div", {"data-stage-scroll": "",@@ -72959,14 +72972,14 @@ function oLe({ view: e }) {]});}-function FH() {- wH && !OH && (OH = !0, wH.request.actions.close());+function IH() {+ TH && !kH && (kH = !0, TH.request.actions.close());}-function IH(e, t) {- let n = AH();+function LH(e, t) {+ let n = jH();n?.toggleAttribute("data-ambient", e), n?.toggleAttribute("data-theater", t);}-function LH(e) {+function RH(e) {if (e.kind === "jav") return {kind: "jav",props: {@@ -72974,30 +72987,30 @@ function LH(e) {readOnly: e.readOnly,actions: {...e.actions,- close: FH+ close: IH}}};let t = e.resume ?? null, n = (n) => {let r = t && (e.id == null || e.id === n) ? t : null;return t = null, r;- }, r = () => jH().player.settings(), i = () => wH?.request === e;+ }, r = () => MH().player.settings(), i = () => TH?.request === e;if (e.kind === "item") {let { kind: t, resume: a, actions: o, ...s } = e, c = {...o,- close: FH,+ close: IH,present: (e, t) => {let n = e.performers;- eH({+ tH({kind: "item",item: e,title: String(e.title || e.name || ""),sub: String(n?.[0] || e.creator || "未归属")- }), IH(r().ambientMode, r().theaterMode), queueMicrotask(() => {+ }), LH(r().ambientMode, r().theaterMode), queueMicrotask(() => {i() && o.present(e, t);});},- mountPlayer: (e, t, r, i) => tH(e, {+ mountPlayer: (e, t, r, i) => nH(e, {kind: "item",item: t,autoplay: i?.autoplay,@@ -73015,18 +73028,18 @@ function LH(e) {}let { kind: a, resume: o, actions: s, ...c } = e, l = {...s,- close: FH,+ close: IH,present: (e, t) => {- eH({+ tH({kind: "follow",item: e,title: e.title || "",sub: e.author || e.source_label || ""- }), IH(t === "video" && r().ambientMode, t === "video" && r().theaterMode), queueMicrotask(() => {+ }), LH(t === "video" && r().ambientMode, t === "video" && r().theaterMode), queueMicrotask(() => {i() && s.present(e, t);});},- mountPlayer: (e, t, r, i) => tH(e, {+ mountPlayer: (e, t, r, i) => nH(e, {kind: "follow",item: t,media: r,@@ -73047,74 +73060,74 @@ function sLe(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"), wH?.generation === t && wH.phase === "reveal" && (wH = {- ...wH,+ clearTimeout(r), n?.removeEventListener("transitionend", a), e.removeAttribute("data-stage-reveal"), e.removeAttribute("data-stage-revealing"), TH?.generation === t && TH.phase === "reveal" && (TH = {+ ...TH,phase: "content"- }, MH());+ }, NH());}, a = (e) => {e.target === n && i();};n?.addEventListener("transitionend", a), r = window.setTimeout(i, 1e3);}-function RH(e) {- let t = AH();- return !wH || wH.content.kind !== e || OH || !t?.open || t.hasAttribute("data-closing") ? null : t;+function zH(e) {+ let t = jH();+ return !TH || TH.content.kind !== e || kH || !t?.open || t.hasAttribute("data-closing") ? null : t;}async function cLe(e) {- let t = RH(e.kind);+ let t = zH(e.kind);if (t) {await lLe(e, t);return;}- wH && zH({ miniplayer: !1 });- let n = ++EH, r = new AbortController();- DH = r, OH = !1, kH = !1, e.kind === "jav" ? gH() : iH(e.kind, e.id ?? NaN), wH = {+ TH && BH({ miniplayer: !1 });+ let n = ++DH, r = new AbortController();+ OH = r, kH = !1, AH = !1, e.kind === "jav" ? _H() : aH(e.kind, e.id ?? NaN), TH = {generation: n,request: e,- content: LH(e),+ content: RH(e),phase: "skeleton"- }, MH();- let i = AH();+ }, NH();+ let i = jH();if (!i) return;ko(i), document.body.setAttribute("data-detail-open", ""), i.open || i.showModal();- let a = wH.content;+ let a = TH.content;try {- a.kind === "item" ? await VT(a.props, r.signal) : a.kind === "jav" ? await OV(a.props, r.signal) : await eV(a.props, r.signal);+ a.kind === "item" ? await HT(a.props, r.signal) : a.kind === "jav" ? await kV(a.props, r.signal) : await tV(a.props, r.signal);} catch {if (r.signal.aborted) return;}- if (n !== EH || !wH) return;+ if (n !== DH || !TH) return;let o = !!i.querySelector(".skeleton-awaiting");- wH = {- ...wH,+ TH = {+ ...TH,phase: o ? "content" : "reveal"- }, MH(), o || sLe(i, n), vo(i, ":scope>:not([data-stage-fade]) [data-reveal-line]");+ }, NH(), o || sLe(i, n), vo(i, ":scope>:not([data-stage-fade]) [data-reveal-line]");let s = document.activeElement;(s === i || !i.contains(s)) && i.querySelector("#closeStage")?.focus();}async function lLe(e, t) {- let n = ++EH;- DH?.abort();+ let n = ++DH;+ OH?.abort();let r = new AbortController();- DH = r, kH = !1;- let i = LH(e);+ OH = r, AH = !1;+ let i = RH(e);try {- i.kind === "item" ? await VT(i.props, r.signal) : i.kind === "jav" ? await OV(i.props, r.signal) : await eV(i.props, r.signal);+ i.kind === "item" ? await HT(i.props, r.signal) : i.kind === "jav" ? await kV(i.props, r.signal) : await tV(i.props, r.signal);} catch {if (r.signal.aborted) return;}- if (n !== EH || !wH || RH(e.kind) !== t) return;- e.kind === "jav" ? gH() : iH(e.kind, e.id ?? NaN), Qs(t), Fw(), wH = {- ...wH,+ if (n !== DH || !TH || zH(e.kind) !== t) return;+ e.kind === "jav" ? _H() : aH(e.kind, e.id ?? NaN), Qs(t), Iw(), TH = {+ ...TH,request: e,content: i,phase: "content"- }, MH(), t.removeAttribute("data-stage-reveal"), t.removeAttribute("data-stage-revealing"), t.querySelector(":scope > [data-stage-scroll]")?.scrollTo({ top: 0 }), vo(t, ":scope>:not([data-stage-fade]) [data-reveal-line]");+ }, NH(), t.removeAttribute("data-stage-reveal"), t.removeAttribute("data-stage-revealing"), t.querySelector(":scope > [data-stage-scroll]")?.scrollTo({ top: 0 }), vo(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 uLe() {- let e = AH();+ let e = jH();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();@@ -73124,84 +73137,84 @@ function uLe() {e.addEventListener("animationend", i), n = window.setTimeout(r, 380);}));}-function zH({ miniplayer: e = !0 } = {}) {- if (EH++, DH?.abort(), DH = null, rH(e), !wH) return;- let t = AH();- t && Qs(t), Fw(), t?.open && t.close(), wH = null, OH = !1, kH = !1, MH(), eH(null), document.body.removeAttribute("data-detail-open");+function BH({ miniplayer: e = !0 } = {}) {+ if (DH++, OH?.abort(), OH = null, iH(e), !TH) return;+ let t = jH();+ t && Qs(t), Iw(), t?.open && t.close(), TH = null, kH = !1, AH = !1, NH(), tH(null), document.body.removeAttribute("data-detail-open");}function dLe(e) {- wH && (wH = {- ...wH,- content: wH.content.kind === "item" ? {+ TH && (TH = {+ ...TH,+ content: TH.content.kind === "item" ? {kind: "item",props: {- ...wH.content.props,+ ...TH.content.props,...e}- } : wH.content.kind === "jav" ? wH.content : {+ } : TH.content.kind === "jav" ? TH.content : {kind: "follow",props: {- ...wH.content.props,+ ...TH.content.props,...e.relatedLimit === void 0 ? {} : { relatedLimit: e.relatedLimit }}}- }, MH());+ }, NH());}function fLe() {- let e = WIe(), t = e?.kind === "item" ? e.item : null, n = t ? ba(t, jH().player.settings().javImage) : "";+ let e = WIe(), t = e?.kind === "item" ? e.item : null, n = t ? ba(t, MH().player.settings().javImage) : "";if (!n) return;- let r = nH();+ let r = rH();r ? r.poster(n) : document.getElementById("vid")?.setAttribute("poster", n);}var pLe = {open: cLe,update: dLe,exit: uLe,- dispose: zH,- requestClose: FH,+ dispose: BH,+ requestClose: IH,repaintPoster: fLe,- isOpen: () => !!wH,- showing: () => wH && RH(wH.content.kind) ? wH.content.kind : null,+ isOpen: () => !!TH,+ showing: () => TH && zH(TH.content.kind) ? TH.content.kind : null,activeVideo: () => JIe(),mountWallPlayer: GIe,toggleTheater: () => {- wH && _de(!jH().player.settings().theaterMode);+ TH && gde(!MH().player.settings().theaterMode);},- toggleMiniplayer: () => vH(),- closeMiniplayer: () => gH(),- miniplayerActive: () => oH(),- miniplayerTakesCard: (e) => bH(e),+ toggleMiniplayer: () => yH(),+ closeMiniplayer: () => _H(),+ miniplayerActive: () => sH(),+ miniplayerTakesCard: (e) => xH(e),miniplayerPlay: (e) => {QIe(e);}};function mLe(e) {- return CH = e, UIe(e, {- isOpen: () => !!wH,- requestClose: FH+ return wH = e, UIe(e, {+ isOpen: () => !!TH,+ requestClose: IH}), pLe;}function hLe() {- let e = (0, b.useSyncExternalStore)(rLe, () => wH);- return CH ? /* @__PURE__ */ (0, x.jsx)(aLe, { view: e }) : null;+ let e = (0, b.useSyncExternalStore)(rLe, () => TH);+ return wH ? /* @__PURE__ */ (0, x.jsx)(aLe, { view: e }) : null;}//#endregion//#region src/react/stats/stats.ts-var gLe = "/api/stats", BH = ["stats"], VH = (e) => V(gLe, e);+var gLe = "/api/stats", VH = ["stats"], HH = (e) => V(gLe, e);async function _Le(e) {await U.fetchQuery({- queryKey: BH,- queryFn: () => VH(e)+ queryKey: VH,+ queryFn: () => HH(e)});}-var HH = (e) => e != null && Number.isFinite(e), UH = (e) => HH(e) ? e.toLocaleString() : "未取得", vLe = (e, t) => HH(e) && HH(t) && t > 0 ? Math.min(100, Math.max(0, Math.round(e / t * 100))) : 0, WH = (e, t) => {+var UH = (e) => e != null && Number.isFinite(e), WH = (e) => UH(e) ? e.toLocaleString() : "未取得", vLe = (e, t) => UH(e) && UH(t) && t > 0 ? Math.min(100, Math.max(0, Math.round(e / t * 100))) : 0, GH = (e, t) => {let n = vLe(e, t);- return !n && HH(e) && e > 0 && HH(t) && t > 0 ? "<1%" : `${n}%`;-}, GH = (e) => {- if (!HH(e)) return "未取得";+ return !n && UH(e) && e > 0 && UH(t) && t > 0 ? "<1%" : `${n}%`;+}, KH = (e) => {+ if (!UH(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)} 分钟`;-}, KH = (e) => e.duration ? Math.min(e.play_seconds / e.duration, 1) * 100 : 0, qH = (e) => (e.max_reached || 0) * 100, yLe = (e) => e.kind === "online" ? "在线直接观看" : KH(e) < qH(e) - 25 ? "快进扫过" : e.o_count ? `高潮 ${e.o_count}` : "正常观看", bLe = (e) => `${e.kind === "online" ? "/posts/" : "/assets/"}${e.id}`;+}, qH = (e) => e.duration ? Math.min(e.play_seconds / e.duration, 1) * 100 : 0, JH = (e) => (e.max_reached || 0) * 100, yLe = (e) => e.kind === "online" ? "在线直接观看" : qH(e) < JH(e) - 25 ? "快进扫过" : e.o_count ? `高潮 ${e.o_count}` : "正常观看", bLe = (e) => `${e.kind === "online" ? "/posts/" : "/assets/"}${e.id}`;function xLe(e, t = 6) {let n = e.filter((e) => Number.isFinite(e.value) && e.value >= 0);if (n.length <= t) return n;@@ -73228,10 +73241,10 @@ var SLe = (e) => Math.max(1, ...e) * 1.1, CLe = (e, t) => e > 0 ? Math.max(e, t短: "5–15 分钟",中: "15–40 分钟",长: ">40 分钟"-}, JH = (e, t = {}) => e.map((e) => ({+}, YH = (e, t = {}) => e.map((e) => ({name: t[e.k] ?? e.k,value: e.n-})), OLe = (e) => JH(e, DLe), kLe = [+})), OLe = (e) => YH(e, DLe), kLe = [[1,1,@@ -73271,41 +73284,41 @@ var SLe = (e) => Math.max(1, ...e) * 1.1, CLe = (e, t) => e > 0 ? Math.max(e, tname: r,value: e.filter((e) => e.k >= t && e.k <= n).reduce((e, t) => e + t.n, 0)})), jLe = /* @__PURE__ */ "dangerouslySetInnerHTML.onCopy.onCopyCapture.onCut.onCutCapture.onPaste.onPasteCapture.onCompositionEnd.onCompositionEndCapture.onCompositionStart.onCompositionStartCapture.onCompositionUpdate.onCompositionUpdateCapture.onFocus.onFocusCapture.onBlur.onBlurCapture.onChange.onChangeCapture.onBeforeInput.onBeforeInputCapture.onInput.onInputCapture.onReset.onResetCapture.onSubmit.onSubmitCapture.onInvalid.onInvalidCapture.onLoad.onLoadCapture.onError.onErrorCapture.onKeyDown.onKeyDownCapture.onKeyPress.onKeyPressCapture.onKeyUp.onKeyUpCapture.onAbort.onAbortCapture.onCanPlay.onCanPlayCapture.onCanPlayThrough.onCanPlayThroughCapture.onDurationChange.onDurationChangeCapture.onEmptied.onEmptiedCapture.onEncrypted.onEncryptedCapture.onEnded.onEndedCapture.onLoadedData.onLoadedDataCapture.onLoadedMetadata.onLoadedMetadataCapture.onLoadStart.onLoadStartCapture.onPause.onPauseCapture.onPlay.onPlayCapture.onPlaying.onPlayingCapture.onProgress.onProgressCapture.onRateChange.onRateChangeCapture.onSeeked.onSeekedCapture.onSeeking.onSeekingCapture.onStalled.onStalledCapture.onSuspend.onSuspendCapture.onTimeUpdate.onTimeUpdateCapture.onVolumeChange.onVolumeChangeCapture.onWaiting.onWaitingCapture.onAuxClick.onAuxClickCapture.onClick.onClickCapture.onContextMenu.onContextMenuCapture.onDoubleClick.onDoubleClickCapture.onDrag.onDragCapture.onDragEnd.onDragEndCapture.onDragEnter.onDragEnterCapture.onDragExit.onDragExitCapture.onDragLeave.onDragLeaveCapture.onDragOver.onDragOverCapture.onDragStart.onDragStartCapture.onDrop.onDropCapture.onMouseDown.onMouseDownCapture.onMouseEnter.onMouseLeave.onMouseMove.onMouseMoveCapture.onMouseOut.onMouseOutCapture.onMouseOver.onMouseOverCapture.onMouseUp.onMouseUpCapture.onSelect.onSelectCapture.onTouchCancel.onTouchCancelCapture.onTouchEnd.onTouchEndCapture.onTouchMove.onTouchMoveCapture.onTouchStart.onTouchStartCapture.onPointerDown.onPointerDownCapture.onPointerMove.onPointerMoveCapture.onPointerUp.onPointerUpCapture.onPointerCancel.onPointerCancelCapture.onPointerEnter.onPointerEnterCapture.onPointerLeave.onPointerLeaveCapture.onPointerOver.onPointerOverCapture.onPointerOut.onPointerOutCapture.onGotPointerCapture.onGotPointerCaptureCapture.onLostPointerCapture.onLostPointerCaptureCapture.onScroll.onScrollCapture.onWheel.onWheelCapture.onAnimationStart.onAnimationStartCapture.onAnimationEnd.onAnimationEndCapture.onAnimationIteration.onAnimationIterationCapture.onTransitionEnd.onTransitionEndCapture".split(".");-function YH(e) {+function XH(e) {return typeof e == "string" && jLe.includes(e);}//#endregion//#region node_modules/recharts/es6/util/svgPropertiesNoEvents.jsvar MLe = /* @__PURE__ */ new Set(/* @__PURE__ */ "aria-activedescendant.aria-atomic.aria-autocomplete.aria-busy.aria-checked.aria-colcount.aria-colindex.aria-colspan.aria-controls.aria-current.aria-describedby.aria-details.aria-disabled.aria-errormessage.aria-expanded.aria-flowto.aria-haspopup.aria-hidden.aria-invalid.aria-keyshortcuts.aria-label.aria-labelledby.aria-level.aria-live.aria-modal.aria-multiline.aria-multiselectable.aria-orientation.aria-owns.aria-placeholder.aria-posinset.aria-pressed.aria-readonly.aria-relevant.aria-required.aria-roledescription.aria-rowcount.aria-rowindex.aria-rowspan.aria-selected.aria-setsize.aria-sort.aria-valuemax.aria-valuemin.aria-valuenow.aria-valuetext.className.color.height.id.lang.max.media.method.min.name.style.target.width.role.tabIndex.accentHeight.accumulate.additive.alignmentBaseline.allowReorder.alphabetic.amplitude.arabicForm.ascent.attributeName.attributeType.autoReverse.azimuth.baseFrequency.baselineShift.baseProfile.bbox.begin.bias.by.calcMode.capHeight.clip.clipPath.clipPathUnits.clipRule.colorInterpolation.colorInterpolationFilters.colorProfile.colorRendering.contentScriptType.contentStyleType.cursor.cx.cy.d.decelerate.descent.diffuseConstant.direction.display.divisor.dominantBaseline.dur.dx.dy.edgeMode.elevation.enableBackground.end.exponent.externalResourcesRequired.fill.fillOpacity.fillRule.filter.filterRes.filterUnits.floodColor.floodOpacity.focusable.fontFamily.fontSize.fontSizeAdjust.fontStretch.fontStyle.fontVariant.fontWeight.format.from.fx.fy.g1.g2.glyphName.glyphOrientationHorizontal.glyphOrientationVertical.glyphRef.gradientTransform.gradientUnits.hanging.horizAdvX.horizOriginX.href.ideographic.imageRendering.in2.in.intercept.k1.k2.k3.k4.k.kernelMatrix.kernelUnitLength.kerning.keyPoints.keySplines.keyTimes.lengthAdjust.letterSpacing.lightingColor.limitingConeAngle.local.markerEnd.markerHeight.markerMid.markerStart.markerUnits.markerWidth.mask.maskContentUnits.maskUnits.mathematical.mode.numOctaves.offset.opacity.operator.order.orient.orientation.origin.overflow.overlinePosition.overlineThickness.paintOrder.panose1.pathLength.patternContentUnits.patternTransform.patternUnits.pointerEvents.pointsAtX.pointsAtY.pointsAtZ.preserveAlpha.preserveAspectRatio.primitiveUnits.r.radius.refX.refY.renderingIntent.repeatCount.repeatDur.requiredExtensions.requiredFeatures.restart.result.rotate.rx.ry.seed.shapeRendering.slope.spacing.specularConstant.specularExponent.speed.spreadMethod.startOffset.stdDeviation.stemh.stemv.stitchTiles.stopColor.stopOpacity.strikethroughPosition.strikethroughThickness.string.stroke.strokeDasharray.strokeDashoffset.strokeLinecap.strokeLinejoin.strokeMiterlimit.strokeOpacity.strokeWidth.surfaceScale.systemLanguage.tableValues.targetX.targetY.textAnchor.textDecoration.textLength.textRendering.to.transform.u1.u2.underlinePosition.underlineThickness.unicode.unicodeBidi.unicodeRange.unitsPerEm.vAlphabetic.values.vectorEffect.version.vertAdvY.vertOriginX.vertOriginY.vHanging.vIdeographic.viewTarget.visibility.vMathematical.widths.wordSpacing.writingMode.x1.x2.x.xChannelSelector.xHeight.xlinkActuate.xlinkArcrole.xlinkHref.xlinkRole.xlinkShow.xlinkTitle.xlinkType.xmlBase.xmlLang.xmlns.xmlnsXlink.xmlSpace.y1.y2.y.yChannelSelector.z.zoomAndPan.ref.key.angle".split("."));-function XH(e) {+function ZH(e) {return typeof e == "string" && MLe.has(e);}-function ZH(e) {+function QH(e) {return typeof e == "string" && e.startsWith("data-");}-function QH(e) {+function $H(e) {if (typeof e != "object" || !e) return {};var t = {};- for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && (XH(n) || ZH(n)) && (t[n] = e[n]);+ for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && (ZH(n) || QH(n)) && (t[n] = e[n]);return t;}-function $H(e) {+function eU(e) {if (e == null) return null;if (/*#__PURE__*/ (0, b.isValidElement)(e) && typeof e.props == "object" && e.props !== null) {var t = e.props;- return QH(t);+ return $H(t);}- return typeof e == "object" && !Array.isArray(e) ? QH(e) : null;+ return typeof e == "object" && !Array.isArray(e) ? $H(e) : null;}//#endregion//#region node_modules/recharts/es6/util/svgPropertiesAndEvents.js-function eU(e) {+function tU(e) {var t = {};- for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && (XH(n) || ZH(n) || YH(n)) && (t[n] = e[n]);+ for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && (ZH(n) || QH(n) || XH(n)) && (t[n] = e[n]);return t;}function NLe(e) {- return e == null ? null : /*#__PURE__*/ (0, b.isValidElement)(e) ? eU(e.props) : typeof e == "object" && !Array.isArray(e) ? eU(e) : null;+ return e == null ? null : /*#__PURE__*/ (0, b.isValidElement)(e) ? tU(e.props) : typeof e == "object" && !Array.isArray(e) ? tU(e) : null;}//#endregion//#region node_modules/recharts/es6/container/Surface.js@@ -73319,14 +73332,14 @@ var PLe = ["title","desc"];-function tU() {- return tU = Object.assign ? Object.assign.bind() : function(e) {+function nU() {+ return nU = Object.assign ? Object.assign.bind() : function(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t];for (var r in n) ({}).hasOwnProperty.call(n, r) && (e[r] = n[r]);}return e;- }, tU.apply(null, arguments);+ }, nU.apply(null, arguments);}function FLe(e, t) {if (e == null) return {};@@ -73346,14 +73359,14 @@ function ILe(e, t) {}return n;}-var nU = /*#__PURE__*/ (0, b.forwardRef)((e, t) => {+var rU = /*#__PURE__*/ (0, b.forwardRef)((e, t) => {var n = e.children, r = e.width, i = e.height, a = e.viewBox, o = e.className, s = e.style, c = e.title, l = e.desc, u = FLe(e, PLe), d = a || {width: r,height: i,x: 0,y: 0}, f = hy("recharts-surface", o);- return /*#__PURE__*/ b.createElement("svg", tU({}, eU(u), {+ return /*#__PURE__*/ b.createElement("svg", nU({}, tU(u), {className: f,width: r,height: i,@@ -73362,14 +73375,14 @@ var nU = /*#__PURE__*/ (0, b.forwardRef)((e, t) => {ref: t}), /*#__PURE__*/ b.createElement("title", null, c), /*#__PURE__*/ b.createElement("desc", null, l), n);}), LLe = ["children", "className"];-function rU() {- return rU = Object.assign ? Object.assign.bind() : function(e) {+function iU() {+ return iU = Object.assign ? Object.assign.bind() : function(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t];for (var r in n) ({}).hasOwnProperty.call(n, r) && (e[r] = n[r]);}return e;- }, rU.apply(null, arguments);+ }, iU.apply(null, arguments);}function RLe(e, t) {if (e == null) return {};@@ -73389,19 +73402,19 @@ function zLe(e, t) {}return n;}-var iU = /*#__PURE__*/ b.forwardRef((e, t) => {+var aU = /*#__PURE__*/ b.forwardRef((e, t) => {var n = e.children, r = e.className, i = RLe(e, LLe), a = hy("recharts-layer", r);- return /*#__PURE__*/ b.createElement("g", rU({ className: a }, eU(i), { ref: t }), n);+ return /*#__PURE__*/ b.createElement("g", iU({ className: a }, tU(i), { ref: t }), n);});//#endregion//#region node_modules/es-toolkit/dist/_internal/isUnsafeProperty.mjs-function aU(e) {+function oU(e) {return e === "__proto__";}//#endregion//#region node_modules/es-toolkit/dist/compat/_internal/isDeepKey.mjsvar BLe = /\.|(\[(?:[^[\]]*|(["'])(?:(?!\2)[^\\]|\\.)*?\2)\])/;-function oU(e) {+function sU(e) {switch (typeof e) {case "number":case "symbol": return !1;@@ -73411,30 +73424,30 @@ function oU(e) {}//#endregion//#region node_modules/es-toolkit/dist/compat/_internal/toKey.mjs-function sU(e) {+function cU(e) {return typeof e == "string" || typeof e == "symbol" ? e : Object.is(e?.valueOf?.(), -0) ? "-0" : String(e);}//#endregion//#region node_modules/es-toolkit/dist/compat/predicate/isSymbol.mjs-function cU(e) {+function lU(e) {return typeof e == "symbol" || e instanceof Symbol;}//#endregion//#region node_modules/es-toolkit/dist/compat/util/toString.mjsfunction VLe(e) {- return e == null ? "" : lU(e);+ return e == null ? "" : uU(e);}-function lU(e) {+function uU(e) {if (typeof e == "string") return e;- if (Array.isArray(e)) return e.map(lU).join(",");- if (cU(e)) return e.toString();+ if (Array.isArray(e)) return e.map(uU).join(",");+ if (lU(e)) return e.toString();let t = e + "";return t === "0" && Object.is(Number(e), -0) ? "-0" : t;}//#endregion//#region node_modules/es-toolkit/dist/compat/util/toPath.mjs-function uU(e) {- if (Array.isArray(e)) return e.map(sU);+function dU(e) {+ if (Array.isArray(e)) return e.map(cU);if (typeof e == "symbol") return [e];e = VLe(e);let t = [], n = e.length;@@ -73464,23 +73477,23 @@ function uU(e) {}//#endregion//#region node_modules/es-toolkit/dist/compat/object/get.mjs-function dU(e, t, n) {+function fU(e, t, n) {if (e == null) return n;switch (typeof t) {case "string": {- if (aU(t)) return n;+ if (oU(t)) return n;let r = e[t];- return r === void 0 ? oU(t) && !Object.hasOwn(e, t) ? dU(e, uU(t), n) : n : r;+ return r === void 0 ? sU(t) && !Object.hasOwn(e, t) ? fU(e, dU(t), n) : n : r;}case "number":case "symbol": {- typeof t == "number" && (t = sU(t));+ typeof t == "number" && (t = cU(t));let r = e[t];return r === void 0 ? n : r;}default: {if (Array.isArray(t)) return HLe(e, t, n);- if (t = Object.is(t?.valueOf(), -0) ? "-0" : String(t), aU(t)) return n;+ if (t = Object.is(t?.valueOf(), -0) ? "-0" : String(t), oU(t)) return n;let r = e[t];return r === void 0 ? n : r;}@@ -73490,7 +73503,7 @@ function HLe(e, t, n) {if (t.length === 0) return n;let r = e;for (let e = 0; e < t.length; e++) {- if (r == null || aU(t[e])) return n;+ if (r == null || oU(t[e])) return n;r = r[t[e]];}return r === void 0 ? n : r;@@ -73498,52 +73511,52 @@ function HLe(e, t, n) {//#endregion//#region node_modules/recharts/es6/util/round.jsvar ULe = 4;-function fU(e) {+function pU(e) {var t = 10 ** (arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : ULe), n = Math.round(e * t) / t;return Object.is(n, -0) ? 0 : n;}-function pU(e) {+function mU(e) {var t = [...arguments].slice(1);return e.reduce((e, n, r) => {var i = t[r - 1];- return typeof i == "string" ? e + i + n : i === void 0 ? e + n : e + fU(i) + n;+ return typeof i == "string" ? e + i + n : i === void 0 ? e + n : e + pU(i) + n;}, "");}//#endregion//#region node_modules/recharts/es6/util/DataUtils.js-var mU = (e) => e === 0 ? 0 : e > 0 ? 1 : -1, hU = (e) => typeof e == "number" && e != +e, gU = (e) => typeof e == "string" && e.length > 1 && e.indexOf("%") === e.length - 1, _U = (e) => (typeof e == "number" || e instanceof Number) && !hU(e), vU = (e) => _U(e) || typeof e == "string", WLe = 0, yU = (e) => {+var hU = (e) => e === 0 ? 0 : e > 0 ? 1 : -1, gU = (e) => typeof e == "number" && e != +e, _U = (e) => typeof e == "string" && e.length > 1 && e.indexOf("%") === e.length - 1, vU = (e) => (typeof e == "number" || e instanceof Number) && !gU(e), yU = (e) => vU(e) || typeof e == "string", WLe = 0, bU = (e) => {var t = ++WLe;return `${e || ""}${t}`;-}, bU = function(e, t) {+}, xU = function(e, t) {var n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : 0, r = arguments.length > 3 && arguments[3] !== void 0 && arguments[3];- if (!_U(e) && typeof e != "string") return n;+ if (!vU(e) && typeof e != "string") return n;var i;- if (gU(e)) {+ if (_U(e)) {if (t == null) return n;var a = e.indexOf("%");i = t * parseFloat(e.slice(0, a)) / 100;} else i = +e;- return hU(i) && (i = n), r && t != null && i > t && (i = t), i;-}, xU = (e) => {+ return gU(i) && (i = n), r && t != null && i > t && (i = t), i;+}, SU = (e) => {if (!Array.isArray(e)) return !1;for (var t = e.length, n = {}, r = 0; r < t; r++) if (!n[String(e[r])]) n[String(e[r])] = !0;else return !0;return !1;};-function SU(e, t, n) {- return _U(e) && _U(t) ? fU(e + n * (t - e)) : t;-}function CU(e, t, n) {- if (e && e.length) return e.find((e) => e && (typeof t == "function" ? t(e) : dU(e, t)) === n);+ return vU(e) && vU(t) ? pU(e + n * (t - e)) : t;}-var wU = (e) => e == null, TU = (e) => wU(e) ? e : `${e.charAt(0).toUpperCase()}${e.slice(1)}`;-function EU(e) {+function wU(e, t, n) {+ if (e && e.length) return e.find((e) => e && (typeof t == "function" ? t(e) : fU(e, t)) === n);+}+var TU = (e) => e == null, EU = (e) => TU(e) ? e : `${e.charAt(0).toUpperCase()}${e.slice(1)}`;+function DU(e) {return e != null;}-function DU() {}+function OU() {}//#endregion//#region node_modules/recharts/es6/cartesian/cartesianViewBoxToTrapezoid.js-function OU(e) {+function kU(e) {if (e) return {x: e.x,y: e.y,@@ -73555,7 +73568,7 @@ function OU(e) {}//#endregion//#region node_modules/recharts/es6/cartesian/getCartesianPosition.js-function kU(e, t) {+function AU(e, t) {var n = Object.keys(e);if (Object.getOwnPropertySymbols) {var r = Object.getOwnPropertySymbols(e);@@ -73565,12 +73578,12 @@ function kU(e, t) {}return n;}-function AU(e) {+function jU(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t] == null ? {} : arguments[t];- t % 2 ? kU(Object(n), !0).forEach(function(t) {+ t % 2 ? AU(Object(n), !0).forEach(function(t) {GLe(e, t, n[t]);- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : kU(Object(n)).forEach(function(t) {+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : AU(Object(n)).forEach(function(t) {Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));});}@@ -73598,8 +73611,8 @@ function qLe(e, t) {}return (t === "string" ? String : Number)(e);}-var jU = (e) => {- var t = e.viewBox, n = e.position, r = e.offset, i = r === void 0 ? 0 : r, a = e.parentViewBox, o = e.clamp, s = OU(t), c = s.x, l = s.y, u = s.height, d = s.upperWidth, f = s.lowerWidth, p = c, m = c + (d - f) / 2, h = (p + m) / 2, g = (d + f) / 2, _ = p + d / 2, v = u >= 0 ? 1 : -1, y = v * i, b = v > 0 ? "end" : "start", x = v > 0 ? "start" : "end", S = d >= 0 ? 1 : -1, C = S * i, w = S > 0 ? "end" : "start", T = S > 0 ? "start" : "end", E = a;+var MU = (e) => {+ var t = e.viewBox, n = e.position, r = e.offset, i = r === void 0 ? 0 : r, a = e.parentViewBox, o = e.clamp, s = kU(t), c = s.x, l = s.y, u = s.height, d = s.upperWidth, f = s.lowerWidth, p = c, m = c + (d - f) / 2, h = (p + m) / 2, g = (d + f) / 2, _ = p + d / 2, v = u >= 0 ? 1 : -1, y = v * i, b = v > 0 ? "end" : "start", x = v > 0 ? "start" : "end", S = d >= 0 ? 1 : -1, C = S * i, w = S > 0 ? "end" : "start", T = S > 0 ? "start" : "end", E = a;if (n === "top") {var D = {x: p + d / 2,@@ -73640,52 +73653,52 @@ var jU = (e) => {width: g,height: u} : {};- return n === "insideLeft" ? AU({+ return n === "insideLeft" ? jU({x: h + C,y: l + u / 2,horizontalAnchor: T,verticalAnchor: "middle"- }, j) : n === "insideRight" ? AU({+ }, j) : n === "insideRight" ? jU({x: h + g - C,y: l + u / 2,horizontalAnchor: w,verticalAnchor: "middle"- }, j) : n === "insideTop" ? AU({+ }, j) : n === "insideTop" ? jU({x: p + d / 2,y: l + y,horizontalAnchor: "middle",verticalAnchor: x- }, j) : n === "insideBottom" ? AU({+ }, j) : n === "insideBottom" ? jU({x: m + f / 2,y: l + u - y,horizontalAnchor: "middle",verticalAnchor: b- }, j) : n === "insideTopLeft" ? AU({+ }, j) : n === "insideTopLeft" ? jU({x: p + C,y: l + y,horizontalAnchor: T,verticalAnchor: x- }, j) : n === "insideTopRight" ? AU({+ }, j) : n === "insideTopRight" ? jU({x: p + d - C,y: l + y,horizontalAnchor: w,verticalAnchor: x- }, j) : n === "insideBottomLeft" ? AU({+ }, j) : n === "insideBottomLeft" ? jU({x: m + C,y: l + u - y,horizontalAnchor: T,verticalAnchor: b- }, j) : n === "insideBottomRight" ? AU({+ }, j) : n === "insideBottomRight" ? jU({x: m + f - C,y: l + u - y,horizontalAnchor: w,verticalAnchor: b- }, j) : n && typeof n == "object" && (_U(n.x) || gU(n.x)) && (_U(n.y) || gU(n.y)) ? AU({- x: c + bU(n.x, g),- y: l + bU(n.y, u),+ }, j) : n && typeof n == "object" && (vU(n.x) || _U(n.x)) && (vU(n.y) || _U(n.y)) ? jU({+ x: c + xU(n.x, g),+ y: l + xU(n.y, u),horizontalAnchor: "end",verticalAnchor: "end"- }, j) : AU({+ }, j) : jU({x: _,y: l + u / 2,horizontalAnchor: "middle",@@ -73697,41 +73710,41 @@ var jU = (e) => {"right","bottom"];-function MU(e) {+function NU(e) {return e == null ? !1 : typeof e == "object" || JLe.includes(e);}//#endregion//#region node_modules/recharts/es6/context/legendPortalContext.js-var NU = /*#__PURE__*/ (0, b.createContext)(null), YLe = () => (0, b.useContext)(NU);+var PU = /*#__PURE__*/ (0, b.createContext)(null), YLe = () => (0, b.useContext)(PU);//#endregion//#region node_modules/victory-vendor/node_modules/d3-shape/src/constant.js-function PU(e) {+function FU(e) {return function() {return e;};}//#endregion//#region node_modules/victory-vendor/node_modules/d3-shape/src/math.js-var FU = Math.cos, IU = Math.sin, LU = Math.sqrt, RU = Math.PI;-RU / 2;-var zU = 2 * RU, BU = Math.PI, VU = 2 * BU, HU = 1e-6, XLe = VU - HU;-function UU(e) {+var IU = Math.cos, LU = Math.sin, RU = Math.sqrt, zU = Math.PI;+zU / 2;+var BU = 2 * zU, VU = Math.PI, HU = 2 * VU, UU = 1e-6, XLe = HU - UU;+function WU(e) {this._ += e[0];for (let t = 1, n = e.length; t < n; ++t) this._ += arguments[t] + e[t];}function ZLe(e) {let t = Math.floor(e);if (!(t >= 0)) throw Error(`invalid digits: ${e}`);- if (t > 15) return UU;+ if (t > 15) return WU;let n = 10 ** t;return function(e) {this._ += e[0];for (let t = 1, r = e.length; t < r; ++t) this._ += Math.round(arguments[t] * n) / n + e[t];};}-var WU = class {+var GU = class {constructor(e) {- this._x0 = this._y0 = this._x1 = this._y1 = null, this._ = "", this._append = e == null ? UU : ZLe(e);+ this._x0 = this._y0 = this._x1 = this._y1 = null, this._ = "", this._append = e == null ? WU : ZLe(e);}moveTo(e, t) {this._append`M${this._x0 = this._x1 = +e},${this._y0 = this._y1 = +t}`;@@ -73752,18 +73765,18 @@ var WU = class {if (e = +e, t = +t, n = +n, r = +r, i = +i, i < 0) throw Error(`negative radius: ${i}`);let a = this._x1, o = this._y1, s = n - e, c = r - t, l = a - e, u = o - t, d = l * l + u * u;if (this._x1 === null) this._append`M${this._x1 = e},${this._y1 = t}`;- else if (d > HU) {- if (!(Math.abs(u * s - c * l) > HU) || !i) this._append`L${this._x1 = e},${this._y1 = t}`;+ else if (d > UU) {+ if (!(Math.abs(u * s - c * l) > UU) || !i) this._append`L${this._x1 = e},${this._y1 = t}`;else {- let 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((BU - Math.acos((m + d - h) / (2 * g * _))) / 2), y = v / _, b = v / g;- Math.abs(y - 1) > HU && this._append`L${e + y * l},${t + y * u}`, this._append`A${i},${i},0,0,${+(u * f > l * p)},${this._x1 = e + b * s},${this._y1 = t + b * c}`;+ let 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((VU - Math.acos((m + d - h) / (2 * g * _))) / 2), y = v / _, b = v / g;+ Math.abs(y - 1) > UU && this._append`L${e + y * l},${t + y * u}`, this._append`A${i},${i},0,0,${+(u * f > l * p)},${this._x1 = e + b * s},${this._y1 = t + b * c}`;}}}arc(e, t, n, r, i, a) {if (e = +e, t = +t, n = +n, a = !!a, n < 0) throw Error(`negative radius: ${n}`);let 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;- this._x1 === null ? this._append`M${c},${l}` : (Math.abs(this._x1 - c) > HU || Math.abs(this._y1 - l) > HU) && this._append`L${c},${l}`, n && (d < 0 && (d = d % VU + VU), d > XLe ? this._append`A${n},${n},0,1,${u},${e - o},${t - s}A${n},${n},0,1,${u},${this._x1 = c},${this._y1 = l}` : d > HU && this._append`A${n},${n},0,${+(d >= BU)},${u},${this._x1 = e + n * Math.cos(i)},${this._y1 = t + n * Math.sin(i)}`);+ this._x1 === null ? this._append`M${c},${l}` : (Math.abs(this._x1 - c) > UU || Math.abs(this._y1 - l) > UU) && this._append`L${c},${l}`, n && (d < 0 && (d = d % HU + HU), d > XLe ? this._append`A${n},${n},0,1,${u},${e - o},${t - s}A${n},${n},0,1,${u},${this._x1 = c},${this._y1 = l}` : d > UU && this._append`A${n},${n},0,${+(d >= VU)},${u},${this._x1 = e + n * Math.cos(i)},${this._y1 = t + n * Math.sin(i)}`);}rect(e, t, n, r) {this._append`M${this._x0 = this._x1 = +e},${this._y0 = this._y1 = +t}h${n = +n}v${+r}h${-n}Z`;@@ -73772,10 +73785,10 @@ var WU = class {return this._;}};-WU.prototype;+GU.prototype;//#endregion//#region node_modules/victory-vendor/node_modules/d3-shape/src/path.js-function GU(e) {+function KU(e) {let t = 3;return e.digits = function(n) {if (!arguments.length) return t;@@ -73786,18 +73799,18 @@ function GU(e) {t = e;}return e;- }, () => new WU(t);+ }, () => new GU(t);}Array.prototype.slice;-function KU(e) {+function qU(e) {return typeof e == "object" && "length" in e ? e : Array.from(e);}//#endregion//#region node_modules/victory-vendor/node_modules/d3-shape/src/curve/linear.js-function qU(e) {+function JU(e) {this._context = e;}-qU.prototype = {+JU.prototype = {areaStart: function() {this._line = 0;},@@ -73820,33 +73833,33 @@ qU.prototype = {}}};-function JU(e) {- return new qU(e);+function YU(e) {+ return new JU(e);}//#endregion//#region node_modules/victory-vendor/node_modules/d3-shape/src/point.js-function YU(e) {+function XU(e) {return e[0];}-function XU(e) {+function ZU(e) {return e[1];}//#endregion//#region node_modules/victory-vendor/node_modules/d3-shape/src/line.js-function ZU(e, t) {- var n = PU(!0), r = null, i = JU, a = null, o = GU(s);- e = typeof e == "function" ? e : e === void 0 ? YU : PU(e), t = typeof t == "function" ? t : t === void 0 ? XU : PU(t);+function QU(e, t) {+ var n = FU(!0), r = null, i = YU, a = null, o = KU(s);+ e = typeof e == "function" ? e : e === void 0 ? XU : FU(e), t = typeof t == "function" ? t : t === void 0 ? ZU : FU(t);function s(s) {- var c, l = (s = KU(s)).length, u, d = !1, f;+ var c, l = (s = qU(s)).length, u, d = !1, f;for (r ?? (a = i(f = o())), c = 0; c <= l; ++c) !(c < l && n(u = s[c], c, s)) === d && ((d = !d) ? a.lineStart() : a.lineEnd()), d && a.point(+e(u, c, s), +t(u, c, s));if (f) return a = null, f + "" || null;}return s.x = function(t) {- return arguments.length ? (e = typeof t == "function" ? t : PU(+t), s) : e;+ return arguments.length ? (e = typeof t == "function" ? t : FU(+t), s) : e;}, s.y = function(e) {- return arguments.length ? (t = typeof e == "function" ? e : PU(+e), s) : t;+ return arguments.length ? (t = typeof e == "function" ? e : FU(+e), s) : t;}, s.defined = function(e) {- return arguments.length ? (n = typeof e == "function" ? e : PU(!!e), s) : n;+ return arguments.length ? (n = typeof e == "function" ? e : FU(!!e), s) : n;}, s.curve = function(e) {return arguments.length ? (i = e, r != null && (a = i(r)), s) : i;}, s.context = function(e) {@@ -73855,11 +73868,11 @@ function ZU(e, t) {}//#endregion//#region node_modules/victory-vendor/node_modules/d3-shape/src/area.js-function QU(e, t, n) {- var r = null, i = PU(!0), a = null, o = JU, s = null, c = GU(l);- e = typeof e == "function" ? e : e === void 0 ? YU : PU(+e), t = typeof t == "function" ? t : PU(t === void 0 ? 0 : +t), n = typeof n == "function" ? n : n === void 0 ? XU : PU(+n);+function $U(e, t, n) {+ var r = null, i = FU(!0), a = null, o = YU, s = null, c = KU(l);+ e = typeof e == "function" ? e : e === void 0 ? XU : FU(+e), t = typeof t == "function" ? t : FU(t === void 0 ? 0 : +t), n = typeof n == "function" ? n : n === void 0 ? ZU : FU(+n);function l(l) {- var u, d, f, p = (l = KU(l)).length, m, h = !1, g, _ = Array(p), v = Array(p);+ var u, d, f, p = (l = qU(l)).length, m, h = !1, g, _ = Array(p), v = Array(p);for (a ?? (s = o(g = c())), u = 0; u <= p; ++u) {if (!(u < p && i(m = l[u], u, l)) === h) {if (h = !h) d = u, s.areaStart(), s.lineStart();@@ -73873,20 +73886,20 @@ function QU(e, t, n) {if (g) return s = null, g + "" || null;}function u() {- return ZU().defined(i).curve(o).context(a);+ return QU().defined(i).curve(o).context(a);}return l.x = function(t) {- return arguments.length ? (e = typeof t == "function" ? t : PU(+t), r = null, l) : e;+ return arguments.length ? (e = typeof t == "function" ? t : FU(+t), r = null, l) : e;}, l.x0 = function(t) {- return arguments.length ? (e = typeof t == "function" ? t : PU(+t), l) : e;+ return arguments.length ? (e = typeof t == "function" ? t : FU(+t), l) : e;}, l.x1 = function(e) {- return arguments.length ? (r = e == null ? null : typeof e == "function" ? e : PU(+e), l) : r;+ return arguments.length ? (r = e == null ? null : typeof e == "function" ? e : FU(+e), l) : r;}, l.y = function(e) {- return arguments.length ? (t = typeof e == "function" ? e : PU(+e), n = null, l) : t;+ return arguments.length ? (t = typeof e == "function" ? e : FU(+e), n = null, l) : t;}, l.y0 = function(e) {- return arguments.length ? (t = typeof e == "function" ? e : PU(+e), l) : t;+ return arguments.length ? (t = typeof e == "function" ? e : FU(+e), l) : t;}, l.y1 = function(e) {- return arguments.length ? (n = e == null ? null : typeof e == "function" ? e : PU(+e), l) : n;+ return arguments.length ? (n = e == null ? null : typeof e == "function" ? e : FU(+e), l) : n;}, l.lineX0 = l.lineY0 = function() {return u().x(e).y(t);}, l.lineY1 = function() {@@ -73894,7 +73907,7 @@ function QU(e, t, n) {}, l.lineX1 = function() {return u().x(r).y(t);}, l.defined = function(e) {- return arguments.length ? (i = typeof e == "function" ? e : PU(!!e), l) : i;+ return arguments.length ? (i = typeof e == "function" ? e : FU(!!e), l) : i;}, l.curve = function(e) {return arguments.length ? (o = e, a != null && (s = o(a)), l) : o;}, l.context = function(e) {@@ -73903,7 +73916,7 @@ function QU(e, t, n) {}//#endregion//#region node_modules/victory-vendor/node_modules/d3-shape/src/curve/bump.js-var $U = class {+var eW = class {constructor(e, t) {this._context = e, this._x = t;}@@ -73931,69 +73944,69 @@ var $U = class {}};function QLe(e) {- return new $U(e, !0);+ return new eW(e, !0);}function $Le(e) {- return new $U(e, !1);+ return new eW(e, !1);}//#endregion//#region node_modules/victory-vendor/node_modules/d3-shape/src/symbol/circle.js-var eW = { draw(e, t) {- let n = LU(t / RU);- e.moveTo(n, 0), e.arc(0, 0, n, 0, zU);+var tW = { draw(e, t) {+ let n = RU(t / zU);+ e.moveTo(n, 0), e.arc(0, 0, n, 0, BU);} }, eRe = { draw(e, t) {- let n = LU(t / 5) / 2;+ let n = RU(t / 5) / 2;e.moveTo(-3 * n, -n), e.lineTo(-n, -n), e.lineTo(-n, -3 * n), e.lineTo(n, -3 * n), e.lineTo(n, -n), e.lineTo(3 * n, -n), e.lineTo(3 * n, n), e.lineTo(n, n), e.lineTo(n, 3 * n), e.lineTo(-n, 3 * n), e.lineTo(-n, n), e.lineTo(-3 * n, n), e.closePath();-} }, tW = LU(1 / 3), tRe = tW * 2, nRe = { draw(e, t) {- let n = LU(t / tRe), r = n * tW;+} }, nW = RU(1 / 3), tRe = nW * 2, nRe = { draw(e, t) {+ let n = RU(t / tRe), r = n * nW;e.moveTo(0, -n), e.lineTo(r, 0), e.lineTo(0, n), e.lineTo(-r, 0), e.closePath();} }, rRe = { draw(e, t) {- let n = LU(t), r = -n / 2;+ let n = RU(t), r = -n / 2;e.rect(r, r, n, n);-} }, iRe = .8908130915292852, nW = IU(RU / 10) / IU(7 * RU / 10), aRe = IU(zU / 10) * nW, oRe = -FU(zU / 10) * nW, sRe = { draw(e, t) {- let n = LU(t * iRe), r = aRe * n, i = oRe * n;+} }, iRe = .8908130915292852, rW = LU(zU / 10) / LU(7 * zU / 10), aRe = LU(BU / 10) * rW, oRe = -IU(BU / 10) * rW, sRe = { draw(e, t) {+ let n = RU(t * iRe), r = aRe * n, i = oRe * n;e.moveTo(0, -n), e.lineTo(r, i);for (let t = 1; t < 5; ++t) {- let a = zU * t / 5, o = FU(a), s = IU(a);+ let a = BU * t / 5, o = IU(a), s = LU(a);e.lineTo(s * n, -o * n), e.lineTo(o * r - s * i, s * r + o * i);}e.closePath();-} }, rW = LU(3), cRe = { draw(e, t) {- let n = -LU(t / (rW * 3));- e.moveTo(0, n * 2), e.lineTo(-rW * n, -n), e.lineTo(rW * n, -n), e.closePath();-} }, iW = -.5, aW = LU(3) / 2, oW = 1 / LU(12), lRe = (oW / 2 + 1) * 3, uRe = { draw(e, t) {- let n = LU(t / lRe), r = n / 2, i = n * oW, a = r, o = n * oW + n, s = -a, c = o;- e.moveTo(r, i), e.lineTo(a, o), e.lineTo(s, c), e.lineTo(iW * r - aW * i, aW * r + iW * i), e.lineTo(iW * a - aW * o, aW * a + iW * o), e.lineTo(iW * s - aW * c, aW * s + iW * c), e.lineTo(iW * r + aW * i, iW * i - aW * r), e.lineTo(iW * a + aW * o, iW * o - aW * a), e.lineTo(iW * s + aW * c, iW * c - aW * s), e.closePath();+} }, iW = RU(3), cRe = { draw(e, t) {+ let n = -RU(t / (iW * 3));+ e.moveTo(0, n * 2), e.lineTo(-iW * n, -n), e.lineTo(iW * n, -n), e.closePath();+} }, aW = -.5, oW = RU(3) / 2, sW = 1 / RU(12), lRe = (sW / 2 + 1) * 3, uRe = { draw(e, t) {+ let n = RU(t / lRe), r = n / 2, i = n * sW, a = r, o = n * sW + n, s = -a, c = o;+ e.moveTo(r, i), e.lineTo(a, o), e.lineTo(s, c), e.lineTo(aW * r - oW * i, oW * r + aW * i), e.lineTo(aW * a - oW * o, oW * a + aW * o), e.lineTo(aW * s - oW * c, oW * s + aW * c), e.lineTo(aW * r + oW * i, aW * i - oW * r), e.lineTo(aW * a + oW * o, aW * o - oW * a), e.lineTo(aW * s + oW * c, aW * c - oW * s), e.closePath();} };//#endregion//#region node_modules/victory-vendor/node_modules/d3-shape/src/symbol.jsfunction dRe(e, t) {- let n = null, r = GU(i);- e = typeof e == "function" ? e : PU(e || eW), t = typeof t == "function" ? t : PU(t === void 0 ? 64 : +t);+ let n = null, r = KU(i);+ e = typeof e == "function" ? e : FU(e || tW), t = typeof t == "function" ? t : FU(t === void 0 ? 64 : +t);function i() {let i;if (n ||= i = r(), e.apply(this, arguments).draw(n, +t.apply(this, arguments)), i) return n = null, i + "" || null;}return i.type = function(t) {- return arguments.length ? (e = typeof t == "function" ? t : PU(t), i) : e;+ return arguments.length ? (e = typeof t == "function" ? t : FU(t), i) : e;}, i.size = function(e) {- return arguments.length ? (t = typeof e == "function" ? e : PU(+e), i) : t;+ return arguments.length ? (t = typeof e == "function" ? e : FU(+e), i) : t;}, i.context = function(e) {return arguments.length ? (n = e ?? null, i) : n;}, i;}//#endregion//#region node_modules/victory-vendor/node_modules/d3-shape/src/noop.js-function sW() {}+function cW() {}//#endregion//#region node_modules/victory-vendor/node_modules/d3-shape/src/curve/basis.js-function cW(e, t, n) {+function lW(e, t, n) {e._context.bezierCurveTo((2 * e._x0 + e._x1) / 3, (2 * e._y0 + e._y1) / 3, (e._x0 + 2 * e._x1) / 3, (e._y0 + 2 * e._y1) / 3, (e._x0 + 4 * e._x1 + t) / 6, (e._y0 + 4 * e._y1 + n) / 6);}-function lW(e) {+function uW(e) {this._context = e;}-lW.prototype = {+uW.prototype = {areaStart: function() {this._line = 0;},@@ -74005,7 +74018,7 @@ lW.prototype = {},lineEnd: function() {switch (this._point) {- case 3: cW(this, this._x1, this._y1);+ case 3: lW(this, this._x1, this._y1);case 2: this._context.lineTo(this._x1, this._y1);}(this._line || this._line !== 0 && this._point === 1) && this._context.closePath(), this._line = 1 - this._line;@@ -74019,22 +74032,22 @@ lW.prototype = {this._point = 2;break;case 2: this._point = 3, this._context.lineTo((5 * this._x0 + this._x1) / 6, (5 * this._y0 + this._y1) / 6);- default: cW(this, e, t);+ default: lW(this, e, t);}this._x0 = this._x1, this._x1 = e, this._y0 = this._y1, this._y1 = t;}};function fRe(e) {- return new lW(e);+ return new uW(e);}//#endregion//#region node_modules/victory-vendor/node_modules/d3-shape/src/curve/basisClosed.js-function uW(e) {+function dW(e) {this._context = e;}-uW.prototype = {- areaStart: sW,- areaEnd: sW,+dW.prototype = {+ areaStart: cW,+ areaEnd: cW,lineStart: function() {this._x0 = this._x1 = this._x2 = this._x3 = this._x4 = this._y0 = this._y1 = this._y2 = this._y3 = this._y4 = NaN, this._point = 0;},@@ -74060,20 +74073,20 @@ uW.prototype = {case 2:this._point = 3, this._x4 = e, this._y4 = t, this._context.moveTo((this._x0 + 4 * this._x1 + e) / 6, (this._y0 + 4 * this._y1 + t) / 6);break;- default: cW(this, e, t);+ default: lW(this, e, t);}this._x0 = this._x1, this._x1 = e, this._y0 = this._y1, this._y1 = t;}};function pRe(e) {- return new uW(e);+ return new dW(e);}//#endregion//#region node_modules/victory-vendor/node_modules/d3-shape/src/curve/basisOpen.js-function dW(e) {+function fW(e) {this._context = e;}-dW.prototype = {+fW.prototype = {areaStart: function() {this._line = 0;},@@ -74100,22 +74113,22 @@ dW.prototype = {this._line ? this._context.lineTo(n, r) : this._context.moveTo(n, r);break;case 3: this._point = 4;- default: cW(this, e, t);+ default: lW(this, e, t);}this._x0 = this._x1, this._x1 = e, this._y0 = this._y1, this._y1 = t;}};function mRe(e) {- return new dW(e);+ return new fW(e);}//#endregion//#region node_modules/victory-vendor/node_modules/d3-shape/src/curve/linearClosed.js-function fW(e) {+function pW(e) {this._context = e;}-fW.prototype = {- areaStart: sW,- areaEnd: sW,+pW.prototype = {+ areaStart: cW,+ areaEnd: cW,lineStart: function() {this._point = 0;},@@ -74127,29 +74140,29 @@ fW.prototype = {}};function hRe(e) {- return new fW(e);+ return new pW(e);}//#endregion//#region node_modules/victory-vendor/node_modules/d3-shape/src/curve/monotone.js-function pW(e) {+function mW(e) {return e < 0 ? -1 : 1;}-function mW(e, t, n) {+function hW(e, t, n) {var r = e._x1 - e._x0, i = t - e._x1, a = (e._y1 - e._y0) / (r || i < 0 && -0), o = (n - e._y1) / (i || r < 0 && -0), s = (a * i + o * r) / (r + i);- return (pW(a) + pW(o)) * Math.min(Math.abs(a), Math.abs(o), .5 * Math.abs(s)) || 0;+ return (mW(a) + mW(o)) * Math.min(Math.abs(a), Math.abs(o), .5 * Math.abs(s)) || 0;}-function hW(e, t) {+function gW(e, t) {var n = e._x1 - e._x0;return n ? (3 * (e._y1 - e._y0) / n - t) / 2 : t;}-function gW(e, t, n) {+function _W(e, t, n) {var r = e._x0, i = e._y0, a = e._x1, o = e._y1, s = (a - r) / 3;e._context.bezierCurveTo(r + s, i + s * t, a - s, o - s * n, a, o);}-function _W(e) {+function vW(e) {this._context = e;}-_W.prototype = {+vW.prototype = {areaStart: function() {this._line = 0;},@@ -74164,7 +74177,7 @@ _W.prototype = {case 2:this._context.lineTo(this._x1, this._y1);break;- case 3: gW(this, this._t0, hW(this, this._t0));+ case 3: _W(this, this._t0, gW(this, this._t0));}(this._line || this._line !== 0 && this._point === 1) && this._context.closePath(), this._line = 1 - this._line;},@@ -74179,24 +74192,24 @@ _W.prototype = {this._point = 2;break;case 2:- this._point = 3, gW(this, hW(this, n = mW(this, e, t)), n);+ this._point = 3, _W(this, gW(this, n = hW(this, e, t)), n);break;- default: gW(this, this._t0, n = mW(this, e, t));+ default: _W(this, this._t0, n = hW(this, e, t));}this._x0 = this._x1, this._x1 = e, this._y0 = this._y1, this._y1 = t, this._t0 = n;}}};-function vW(e) {- this._context = new yW(e);+function yW(e) {+ this._context = new bW(e);}-(vW.prototype = Object.create(_W.prototype)).point = function(e, t) {- _W.prototype.point.call(this, t, e);+(yW.prototype = Object.create(vW.prototype)).point = function(e, t) {+ vW.prototype.point.call(this, t, e);};-function yW(e) {+function bW(e) {this._context = e;}-yW.prototype = {+bW.prototype = {moveTo: function(e, t) {this._context.moveTo(t, e);},@@ -74211,17 +74224,17 @@ yW.prototype = {}};function gRe(e) {- return new _W(e);+ return new vW(e);}function _Re(e) {- return new vW(e);+ return new yW(e);}//#endregion//#region node_modules/victory-vendor/node_modules/d3-shape/src/curve/natural.js-function bW(e) {+function xW(e) {this._context = e;}-bW.prototype = {+xW.prototype = {areaStart: function() {this._line = 0;},@@ -74235,7 +74248,7 @@ bW.prototype = {var e = this._x, t = this._y, n = e.length;if (n) {if (this._line ? this._context.lineTo(e[0], t[0]) : this._context.moveTo(e[0], t[0]), n === 2) this._context.lineTo(e[1], t[1]);- else for (var r = xW(e), i = xW(t), a = 0, o = 1; o < n; ++a, ++o) this._context.bezierCurveTo(r[0][a], i[0][a], r[1][a], i[1][a], e[o], t[o]);+ else for (var r = SW(e), i = SW(t), a = 0, o = 1; o < n; ++a, ++o) this._context.bezierCurveTo(r[0][a], i[0][a], r[1][a], i[1][a], e[o], t[o]);}(this._line || this._line !== 0 && n === 1) && this._context.closePath(), this._line = 1 - this._line, this._x = this._y = null;},@@ -74243,7 +74256,7 @@ bW.prototype = {this._x.push(+e), this._y.push(+t);}};-function xW(e) {+function SW(e) {var t, n = e.length - 1, r, i = Array(n), a = Array(n), o = Array(n);for (i[0] = 0, a[0] = 2, o[0] = e[0] + 2 * e[1], t = 1; t < n - 1; ++t) i[t] = 1, a[t] = 4, o[t] = 4 * e[t] + 2 * e[t + 1];for (i[n - 1] = 2, a[n - 1] = 7, o[n - 1] = 8 * e[n - 1] + e[n], t = 1; t < n; ++t) r = i[t] / a[t - 1], a[t] -= r, o[t] -= r * o[t - 1];@@ -74252,14 +74265,14 @@ function xW(e) {return [i, a];}function vRe(e) {- return new bW(e);+ return new xW(e);}//#endregion//#region node_modules/victory-vendor/node_modules/d3-shape/src/curve/step.js-function SW(e, t) {+function CW(e, t) {this._context = e, this._t = t;}-SW.prototype = {+CW.prototype = {areaStart: function() {this._line = 0;},@@ -74288,22 +74301,22 @@ SW.prototype = {}};function yRe(e) {- return new SW(e, .5);+ return new CW(e, .5);}function bRe(e) {- return new SW(e, 0);+ return new CW(e, 0);}function xRe(e) {- return new SW(e, 1);+ return new CW(e, 1);}//#endregion//#region node_modules/victory-vendor/node_modules/d3-shape/src/offset/none.js-function CW(e, t) {+function wW(e, t) {if ((o = e.length) > 1) for (var n = 1, r, i, a = e[t[0]], o, s = a.length; n < o; ++n) for (i = a, a = e[t[n]], r = 0; r < s; ++r) a[r][1] += a[r][0] = isNaN(i[r][1]) ? i[r][0] : i[r][1];}//#endregion//#region node_modules/victory-vendor/node_modules/d3-shape/src/order/none.js-function wW(e) {+function TW(e) {for (var t = e.length, n = Array(t); --t >= 0;) n[t] = t;return n;}@@ -74317,21 +74330,21 @@ function CRe(e) {return t.key = e, t;}function wRe() {- var e = PU([]), t = wW, n = CW, r = SRe;+ var e = FU([]), t = TW, n = wW, r = SRe;function i(i) {var a = Array.from(e.apply(this, arguments), CRe), o, s = a.length, c = -1, l;for (let e of i) for (o = 0, ++c; o < s; ++o) (a[o][c] = [0, +r(e, a[o].key, c, i)]).data = e;- for (o = 0, l = KU(t(a)); o < s; ++o) a[l[o]].index = o;+ for (o = 0, l = qU(t(a)); o < s; ++o) a[l[o]].index = o;return n(a, l), a;}return i.keys = function(t) {- return arguments.length ? (e = typeof t == "function" ? t : PU(Array.from(t)), i) : e;+ return arguments.length ? (e = typeof t == "function" ? t : FU(Array.from(t)), i) : e;}, i.value = function(e) {- return arguments.length ? (r = typeof e == "function" ? e : PU(+e), i) : r;+ return arguments.length ? (r = typeof e == "function" ? e : FU(+e), i) : r;}, i.order = function(e) {- return arguments.length ? (t = e == null ? wW : typeof e == "function" ? e : PU(Array.from(e)), i) : t;+ return arguments.length ? (t = e == null ? TW : typeof e == "function" ? e : FU(Array.from(e)), i) : t;}, i.offset = function(e) {- return arguments.length ? (n = e ?? CW, i) : n;+ return arguments.length ? (n = e ?? wW, i) : n;}, i;}//#endregion@@ -74342,7 +74355,7 @@ function TRe(e, t) {for (o = n = 0; n < r; ++n) o += e[n][i][1] || 0;if (o) for (n = 0; n < r; ++n) e[n][i][1] /= o;}- CW(e, t);+ wW(e, t);}}//#endregion@@ -74353,7 +74366,7 @@ function ERe(e, t) {for (var o = 0, s = 0; o < i; ++o) s += e[o][n][1] || 0;r[n][1] += r[n][0] = -s / 2;}- CW(e, t);+ wW(e, t);}}//#endregion@@ -74370,7 +74383,7 @@ function DRe(e, t) {}i[r - 1][1] += i[r - 1][0] = n, c && (n -= l / c);}- i[r - 1][1] += i[r - 1][0] = n, CW(e, t);+ i[r - 1][1] += i[r - 1][0] = n, wW(e, t);}}//#endregion@@ -74380,16 +74393,16 @@ var ORe = ["size","sizeType"];-function TW() {- return TW = Object.assign ? Object.assign.bind() : function(e) {+function EW() {+ return EW = Object.assign ? Object.assign.bind() : function(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t];for (var r in n) ({}).hasOwnProperty.call(n, r) && (e[r] = n[r]);}return e;- }, TW.apply(null, arguments);+ }, EW.apply(null, arguments);}-function EW(e, t) {+function DW(e, t) {var n = Object.keys(e);if (Object.getOwnPropertySymbols) {var r = Object.getOwnPropertySymbols(e);@@ -74399,12 +74412,12 @@ function EW(e, t) {}return n;}-function DW(e) {+function OW(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t] == null ? {} : arguments[t];- t % 2 ? EW(Object(n), !0).forEach(function(t) {+ t % 2 ? DW(Object(n), !0).forEach(function(t) {kRe(e, t, n[t]);- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : EW(Object(n)).forEach(function(t) {+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : DW(Object(n)).forEach(function(t) {Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));});}@@ -74450,15 +74463,15 @@ function NRe(e, t) {}return n;}-var OW = {- symbolCircle: eW,+var kW = {+ symbolCircle: tW,symbolCross: eRe,symbolDiamond: nRe,symbolSquare: rRe,symbolStar: sRe,symbolTriangle: cRe,symbolWye: uRe-}, PRe = Math.PI / 180, FRe = (e) => OW[`symbol${TU(e)}`] || eW, IRe = (e, t, n) => {+}, PRe = Math.PI / 180, FRe = (e) => kW[`symbol${EU(e)}`] || tW, IRe = (e, t, n) => {if (t === "area") return e;switch (n) {case "cross": return 5 * e * e / 9;@@ -74472,9 +74485,9 @@ var OW = {default: return Math.PI * e * e / 4;}}, LRe = (e, t) => {- OW[`symbol${TU(e)}`] = t;-}, kW = (e) => {- var t = e.type, n = t === void 0 ? "circle" : t, r = e.size, i = r === void 0 ? 64 : r, a = e.sizeType, o = a === void 0 ? "area" : a, s = DW(DW({}, MRe(e, ORe)), {}, {+ kW[`symbol${EU(e)}`] = t;+}, AW = (e) => {+ var t = e.type, n = t === void 0 ? "circle" : t, r = e.size, i = r === void 0 ? 64 : r, a = e.sizeType, o = a === void 0 ? "area" : a, s = OW(OW({}, MRe(e, ORe)), {}, {type: n,size: i,sizeType: o@@ -74483,35 +74496,35 @@ var OW = {var l = () => {var e = FRe(c), t = dRe().type(e).size(IRe(i, o, c))();if (t !== null) return t;- }, u = s.className, d = s.cx, f = s.cy, p = eU(s);- return _U(d) && _U(f) && _U(i) ? /*#__PURE__*/ b.createElement("path", TW({}, p, {+ }, u = s.className, d = s.cx, f = s.cy, p = tU(s);+ return vU(d) && vU(f) && vU(i) ? /*#__PURE__*/ b.createElement("path", EW({}, p, {className: hy("recharts-symbols", u),transform: `translate(${d}, ${f})`,d: l()})) : null;};-kW.registerSymbol = LRe;+AW.registerSymbol = LRe;//#endregion//#region node_modules/recharts/es6/util/types.js-var AW = (e) => "radius" in e && "startAngle" in e && "endAngle" in e, jW = (e, t) => {+var jW = (e) => "radius" in e && "startAngle" in e && "endAngle" in e, MW = (e, t) => {if (!e || typeof e == "function" || typeof e == "boolean") return null;var n = e;if (/*#__PURE__*/ (0, b.isValidElement)(e) && (n = e.props), typeof n != "object" && typeof n != "function") return null;var r = {};return Object.keys(n).forEach((e) => {- YH(e) && typeof n[e] == "function" && (r[e] = t || ((t) => n[e](n, t)));+ XH(e) && typeof n[e] == "function" && (r[e] = t || ((t) => n[e](n, t)));}), r;-}, RRe = (e, t, n) => (r) => (e(t, n, r), null), MW = (e, t, n) => {+}, RRe = (e, t, n) => (r) => (e(t, n, r), null), NW = (e, t, n) => {if (e === null || typeof e != "object" && typeof e != "function") return null;var r = null;return Object.keys(e).forEach((i) => {var a = e[i];- YH(i) && typeof a == "function" && (r ||= {}, r[i] = RRe(a, t, n));+ XH(i) && typeof a == "function" && (r ||= {}, r[i] = RRe(a, t, n));}), r;};//#endregion//#region node_modules/recharts/es6/util/resolveDefaultProps.js-function NW(e, t) {+function PW(e, t) {var n = Object.keys(e);if (Object.getOwnPropertySymbols) {var r = Object.getOwnPropertySymbols(e);@@ -74524,9 +74537,9 @@ function NW(e, t) {function zRe(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t] == null ? {} : arguments[t];- t % 2 ? NW(Object(n), !0).forEach(function(t) {+ t % 2 ? PW(Object(n), !0).forEach(function(t) {BRe(e, t, n[t]);- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : NW(Object(n)).forEach(function(t) {+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : PW(Object(n)).forEach(function(t) {Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));});}@@ -74554,22 +74567,22 @@ function HRe(e, t) {}return (t === "string" ? String : Number)(e);}-function PW(e, t) {+function FW(e, t) {var n = zRe({}, e), r = t;return Object.keys(t).reduce((e, t) => (e[t] === void 0 && r[t] !== void 0 && (e[t] = r[t]), e), n);}//#endregion//#region node_modules/recharts/es6/component/DefaultLegendContent.js-function FW() {- return FW = Object.assign ? Object.assign.bind() : function(e) {+function IW() {+ return IW = Object.assign ? Object.assign.bind() : function(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t];for (var r in n) ({}).hasOwnProperty.call(n, r) && (e[r] = n[r]);}return e;- }, FW.apply(null, arguments);+ }, IW.apply(null, arguments);}-function IW(e, t) {+function LW(e, t) {var n = Object.keys(e);if (Object.getOwnPropertySymbols) {var r = Object.getOwnPropertySymbols(e);@@ -74579,12 +74592,12 @@ function IW(e, t) {}return n;}-function LW(e) {+function RW(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t] == null ? {} : arguments[t];- t % 2 ? IW(Object(n), !0).forEach(function(t) {+ t % 2 ? LW(Object(n), !0).forEach(function(t) {URe(e, t, n[t]);- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : IW(Object(n)).forEach(function(t) {+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : LW(Object(n)).forEach(function(t) {Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));});}@@ -74612,7 +74625,7 @@ function GRe(e, t) {}return (t === "string" ? String : Number)(e);}-var RW = 32, KRe = {+var zW = 32, KRe = {align: "center",iconSize: 14,inactiveColor: "#ccc",@@ -74624,7 +74637,7 @@ function qRe(e) {if (typeof e == "object" && e && "strokeDasharray" in e) return String(e.strokeDasharray);}function JRe(e) {- var t = e.data, n = e.iconType, r = e.inactiveColor, i = RW / 2, a = RW / 6, o = RW / 3, s = t.inactive ? r : t.color, c = n ?? t.type;+ var t = e.data, n = e.iconType, r = e.inactiveColor, i = zW / 2, a = zW / 6, o = zW / 3, s = t.inactive ? r : t.color, c = n ?? t.type;if (c === "none") return null;if (c === "plainline") return /*#__PURE__*/ b.createElement("line", {strokeWidth: 4,@@ -74633,7 +74646,7 @@ function JRe(e) {strokeDasharray: qRe(t.payload),x1: 0,y1: i,- x2: RW,+ x2: zW,y2: i,className: "recharts-legend-icon"});@@ -74643,25 +74656,25 @@ function JRe(e) {stroke: s,d: `M0,${i}h${o}A${a},${a},0,1,1,${2 * o},${i}- H${RW}M${2 * o},${i}+ H${zW}M${2 * o},${i}A${a},${a},0,1,1,${o},${i}`,className: "recharts-legend-icon"});if (c === "rect") return /*#__PURE__*/ b.createElement("path", {stroke: "none",fill: s,- d: `M0,${RW / 8}h${RW}v${RW * 3 / 4}h${-RW}z`,+ d: `M0,${zW / 8}h${zW}v${zW * 3 / 4}h${-zW}z`,className: "recharts-legend-icon"});if (/*#__PURE__*/ b.isValidElement(t.legendIcon)) {- var l = LW({}, t);+ var l = RW({}, t);return delete l.legendIcon, /*#__PURE__*/ b.cloneElement(t.legendIcon, l);}- return /*#__PURE__*/ b.createElement(kW, {+ return /*#__PURE__*/ b.createElement(AW, {fill: s,cx: i,cy: i,- size: RW,+ size: zW,sizeType: "diameter",type: c});@@ -74670,8 +74683,8 @@ function YRe(e) {var t = e.payload, n = e.iconSize, r = e.layout, i = e.formatter, a = e.inactiveColor, o = e.iconType, s = e.labelStyle, c = {x: 0,y: 0,- width: RW,- height: RW+ width: zW,+ height: zW}, l = {display: r === "horizontal" ? "inline-block" : "block",marginRight: 10,@@ -74688,14 +74701,14 @@ function YRe(e) {inactive: t.inactive});if (t.type === "none") return null;- var p = typeof s == "object" ? LW({}, s) : {};+ var p = typeof s == "object" ? RW({}, s) : {};p.color = t.inactive ? a : p.color || t.color, p.whiteSpace ??= "normal", p.overflowWrap ??= "break-word";var m = d ? d(t.value, t, r) : t.value;- return /*#__PURE__*/ b.createElement("li", FW({+ return /*#__PURE__*/ b.createElement("li", IW({className: f,style: l,key: `legend-item-${r}`- }, MW(e, t, r)), /*#__PURE__*/ b.createElement(nU, {+ }, NW(e, t, r)), /*#__PURE__*/ b.createElement(rU, {width: n,height: n,viewBox: c,@@ -74712,7 +74725,7 @@ function YRe(e) {});}var XRe = (e) => {- var t = PW(e, KRe), n = t.payload, r = t.layout, i = t.align;+ var t = FW(e, KRe), n = t.payload, r = t.layout, i = t.align;if (!n || !n.length) return null;var a = {padding: 0,@@ -74722,7 +74735,7 @@ var XRe = (e) => {return /*#__PURE__*/ b.createElement("ul", {className: "recharts-default-legend",style: a- }, /*#__PURE__*/ b.createElement(YRe, FW({}, t, { payload: n })));+ }, /*#__PURE__*/ b.createElement(YRe, IW({}, t, { payload: n })));};//#endregion//#region node_modules/es-toolkit/dist/array/uniqBy.mjs@@ -74743,7 +74756,7 @@ function QRe(e, t) {}//#endregion//#region node_modules/es-toolkit/dist/function/identity.mjs-function zW(e) {+function BW(e) {return e;}//#endregion@@ -74753,19 +74766,19 @@ function $Re(e) {}//#endregion//#region node_modules/es-toolkit/dist/compat/predicate/isArrayLike.mjs-function BW(e) {+function VW(e) {return e != null && typeof e != "function" && $Re(e.length);}//#endregion//#region node_modules/es-toolkit/dist/compat/object/property.mjsfunction eze(e) {return function(t) {- return dU(t, e);+ return fU(t, e);};}//#endregion//#region node_modules/es-toolkit/dist/predicate/isPrimitive.mjs-function VW(e) {+function HW(e) {return e == null || typeof e != "object" && typeof e != "function";}//#endregion@@ -74775,38 +74788,38 @@ function tze(e) {}//#endregion//#region node_modules/es-toolkit/dist/compat/_internal/getSymbols.mjs-function HW(e) {+function UW(e) {return Object.getOwnPropertySymbols(e).filter((t) => Object.prototype.propertyIsEnumerable.call(e, t));}//#endregion//#region node_modules/es-toolkit/dist/compat/_internal/getTag.mjs-function UW(e) {+function WW(e) {return e == null ? e === void 0 ? "[object Undefined]" : "[object Null]" : Object.prototype.toString.call(e);}//#endregion//#region node_modules/es-toolkit/dist/compat/_internal/tags.mjs-var WW = "[object RegExp]", GW = "[object String]", KW = "[object Number]", qW = "[object Boolean]", JW = "[object Arguments]", YW = "[object Symbol]", XW = "[object Date]", ZW = "[object Map]", QW = "[object Set]", $W = "[object Array]", nze = "[object Function]", eG = "[object ArrayBuffer]", tG = "[object Object]", rze = "[object Error]", nG = "[object DataView]", rG = "[object Uint8Array]", iG = "[object Uint8ClampedArray]", aG = "[object Uint16Array]", oG = "[object Uint32Array]", ize = "[object BigUint64Array]", sG = "[object Int8Array]", cG = "[object Int16Array]", lG = "[object Int32Array]", aze = "[object BigInt64Array]", uG = "[object Float32Array]", dG = "[object Float64Array]", fG = typeof globalThis == "object" && globalThis || typeof window == "object" && window || typeof self == "object" && self || typeof global == "object" && global || (function() {+var GW = "[object RegExp]", KW = "[object String]", qW = "[object Number]", JW = "[object Boolean]", YW = "[object Arguments]", XW = "[object Symbol]", ZW = "[object Date]", QW = "[object Map]", $W = "[object Set]", eG = "[object Array]", nze = "[object Function]", tG = "[object ArrayBuffer]", nG = "[object Object]", rze = "[object Error]", rG = "[object DataView]", iG = "[object Uint8Array]", aG = "[object Uint8ClampedArray]", oG = "[object Uint16Array]", sG = "[object Uint32Array]", ize = "[object BigUint64Array]", cG = "[object Int8Array]", lG = "[object Int16Array]", uG = "[object Int32Array]", aze = "[object BigInt64Array]", dG = "[object Float32Array]", fG = "[object Float64Array]", pG = typeof globalThis == "object" && globalThis || typeof window == "object" && window || typeof self == "object" && self || typeof global == "object" && global || (function() {return this;})();//#endregion//#region node_modules/es-toolkit/dist/predicate/isBuffer.mjs-function pG(e) {- return fG.Buffer !== void 0 && fG.Buffer.isBuffer(e);+function mG(e) {+ return pG.Buffer !== void 0 && pG.Buffer.isBuffer(e);}//#endregion//#region node_modules/es-toolkit/dist/object/cloneDeepWith.mjsfunction oze(e, t) {- return mG(e, void 0, e, /* @__PURE__ */ new Map(), t);+ return hG(e, void 0, e, /* @__PURE__ */ new Map(), t);}-function mG(e, t, n, r = /* @__PURE__ */ new Map(), i = void 0) {+function hG(e, t, n, r = /* @__PURE__ */ new Map(), i = void 0) {let a = i?.(e, t, n, r);if (a !== void 0) return a;- if (VW(e)) return e;+ if (HW(e)) return e;if (r.has(e)) return r.get(e);if (Array.isArray(e)) {let t = Array(e.length);r.set(e, t);- for (let a = 0; a < e.length; a++) t[a] = mG(e[a], a, n, r, i);+ for (let a = 0; a < e.length; a++) t[a] = hG(e[a], a, n, r, i);return Object.hasOwn(e, "index") && (t.index = e.index), Object.hasOwn(e, "input") && (t.input = e.input), t;}if (e instanceof Date) return new Date(e.getTime());@@ -74817,132 +74830,132 @@ function mG(e, t, n, r = /* @__PURE__ */ new Map(), i = void 0) {if (e instanceof Map) {let t = /* @__PURE__ */ new Map();r.set(e, t);- for (let [a, o] of e) t.set(a, mG(o, a, n, r, i));+ for (let [a, o] of e) t.set(a, hG(o, a, n, r, i));return t;}if (e instanceof Set) {let t = /* @__PURE__ */ new Set();r.set(e, t);- for (let a of e) t.add(mG(a, void 0, n, r, i));+ for (let a of e) t.add(hG(a, void 0, n, r, i));return t;}- if (pG(e)) return e.subarray();+ if (mG(e)) return e.subarray();if (tze(e)) {let t = new (Object.getPrototypeOf(e)).constructor(e.length);r.set(e, t);- for (let a = 0; a < e.length; a++) t[a] = mG(e[a], a, n, r, i);+ for (let a = 0; a < e.length; a++) t[a] = hG(e[a], a, n, r, i);return t;}if (e instanceof ArrayBuffer || typeof SharedArrayBuffer < "u" && e instanceof SharedArrayBuffer) return e.slice(0);if (e instanceof DataView) {let t = new DataView(e.buffer.slice(0), e.byteOffset, e.byteLength);- return r.set(e, t), hG(t, e, n, r, i), t;+ return r.set(e, t), gG(t, e, n, r, i), t;}if (typeof File < "u" && e instanceof File) {let t = new File([e], e.name, { type: e.type });- return r.set(e, t), hG(t, e, n, r, i), t;+ return r.set(e, t), gG(t, e, n, r, i), t;}if (typeof Blob < "u" && e instanceof Blob) {let t = new Blob([e], { type: e.type });- return r.set(e, t), hG(t, e, n, r, i), t;+ return r.set(e, t), gG(t, e, n, r, i), t;}if (e instanceof Error) {let t = structuredClone(e);- return r.set(e, t), t.message = e.message, t.name = e.name, t.stack = e.stack, t.cause = e.cause, t.constructor = e.constructor, hG(t, e, n, r, i), t;+ return r.set(e, t), t.message = e.message, t.name = e.name, t.stack = e.stack, t.cause = e.cause, t.constructor = e.constructor, gG(t, e, n, r, i), t;}if (e instanceof Boolean) {let t = new Boolean(e.valueOf());- return r.set(e, t), hG(t, e, n, r, i), t;+ return r.set(e, t), gG(t, e, n, r, i), t;}if (e instanceof Number) {let t = new Number(e.valueOf());- return r.set(e, t), hG(t, e, n, r, i), t;+ return r.set(e, t), gG(t, e, n, r, i), t;}if (e instanceof String) {let t = new String(e.valueOf());- return r.set(e, t), hG(t, e, n, r, i), t;+ return r.set(e, t), gG(t, e, n, r, i), t;}if (typeof e == "object" && sze(e)) {let t = Object.create(Object.getPrototypeOf(e));- return r.set(e, t), hG(t, e, n, r, i), t;+ return r.set(e, t), gG(t, e, n, r, i), t;}return e;}-function hG(e, t, n = e, r, i) {- let a = [...Object.keys(t), ...HW(t)];+function gG(e, t, n = e, r, i) {+ let a = [...Object.keys(t), ...UW(t)];for (let o = 0; o < a.length; o++) {let s = a[o], c = Object.getOwnPropertyDescriptor(e, s);- (c == null || c.writable) && (e[s] = mG(t[s], s, n, r, i));+ (c == null || c.writable) && (e[s] = hG(t[s], s, n, r, i));}}function sze(e) {- switch (UW(e)) {- case JW:- case $W:+ switch (WW(e)) {+ case YW:case eG:- case nG:- case qW:- case XW:- case uG:+ case tG:+ case rG:+ case JW:+ case ZW:case dG:- case sG:+ case fG:case cG:case lG:- case ZW:- case KW:- case tG:- case WW:+ case uG:case QW:+ case qW:+ case nG:case GW:- case YW:- case rG:+ case $W:+ case KW:+ case XW:case iG:case aG:- case oG: return !0;+ case oG:+ case sG: return !0;default: return !1;}}//#endregion//#region node_modules/es-toolkit/dist/object/cloneDeep.mjsfunction cze(e) {- return mG(e, void 0, e, /* @__PURE__ */ new Map(), void 0);+ return hG(e, void 0, e, /* @__PURE__ */ new Map(), void 0);}//#endregion//#region node_modules/es-toolkit/dist/compat/util/eq.mjs-function gG(e, t) {+function _G(e, t) {return e === t || Number.isNaN(e) && Number.isNaN(t);}//#endregion//#region node_modules/es-toolkit/dist/compat/predicate/isObject.mjs-function _G(e) {+function vG(e) {return e !== null && (typeof e == "object" || typeof e == "function");}//#endregion//#region node_modules/es-toolkit/dist/compat/predicate/isMatchWith.mjs-function vG(e, t, n) {- return typeof n == "function" ? yG(e, t, function e(t, r, i, a, o, s) {+function yG(e, t, n) {+ return typeof n == "function" ? bG(e, t, function e(t, r, i, a, o, s) {let c = n(t, r, i, a, o, s);- return c === void 0 ? yG(t, r, e, s, !1) : !!c;- }, /* @__PURE__ */ new Map(), !0) : vG(e, t, () => void 0);+ return c === void 0 ? bG(t, r, e, s, !1) : !!c;+ }, /* @__PURE__ */ new Map(), !0) : yG(e, t, () => void 0);}-function yG(e, t, n, r, i = !1) {+function bG(e, t, n, r, i = !1) {if (t === e) return !0;switch (typeof t) {case "object": return lze(e, t, n, r, i);- case "function": return Object.keys(t).length > 0 ? yG(e, { ...t }, n, r, i) : gG(e, t);- default: return _G(e) && i ? typeof t != "string" || t === "" : gG(e, t);+ case "function": return Object.keys(t).length > 0 ? bG(e, { ...t }, n, r, i) : _G(e, t);+ default: return vG(e) && i ? typeof t != "string" || t === "" : _G(e, t);}}function lze(e, t, n, r, i = !1) {if (t == null) return !0;- if (Array.isArray(t)) return bG(e, t, n, r);+ if (Array.isArray(t)) return xG(e, t, n, r);if (t instanceof Map) return uze(e, t, n, r);if (t instanceof Set) return dze(e, t, n, r);let a = Object.keys(t);if (e == null) return i && a.length === 0;- if (i) VW(e) && (e = Object(e));+ if (i) HW(e) && (e = Object(e));else {- let t = UW(e);+ let t = WW(e);if (t !== "[object Object]" && t !== "[object Arguments]") return !1;}if (a.length === 0) return !0;@@ -74964,7 +74977,7 @@ function uze(e, t, n, r) {for (let [i, a] of t.entries()) if (n(e.get(i), a, i, e, t, r) === !1) return !1;return !0;}-function bG(e, t, n, r) {+function xG(e, t, n, r) {if (t.length === 0) return !0;if (!Array.isArray(e)) return !1;let i = /* @__PURE__ */ new Set();@@ -74983,17 +74996,17 @@ function bG(e, t, n, r) {return !0;}function dze(e, t, n, r) {- return t.size === 0 || e instanceof Set && bG([...e], [...t], n, r);+ return t.size === 0 || e instanceof Set && xG([...e], [...t], n, r);}//#endregion//#region node_modules/es-toolkit/dist/compat/predicate/isMatch.mjs-function xG(e, t) {- return vG(e, t, () => void 0);+function SG(e, t) {+ return yG(e, t, () => void 0);}//#endregion//#region node_modules/es-toolkit/dist/compat/predicate/matches.mjsfunction fze(e) {- return e = cze(e), (t) => xG(t, e);+ return e = cze(e), (t) => SG(t, e);}//#endregion//#region node_modules/es-toolkit/dist/compat/object/cloneDeepWith.mjs@@ -75002,20 +75015,20 @@ function pze(e, t) {let o = t?.(n, r, i, a);if (o !== void 0) return o;if (typeof e == "object") {- if (UW(e) === "[object Object]" && typeof e.constructor != "function") {+ if (WW(e) === "[object Object]" && typeof e.constructor != "function") {let t = {};- return a.set(e, t), hG(t, e, i, a), t;+ return a.set(e, t), gG(t, e, i, a), t;}switch (Object.prototype.toString.call(e)) {+ case qW:case KW:- case GW:- case qW: {+ case JW: {let t = new e.constructor(e?.valueOf());- return hG(t, e), t;+ return gG(t, e), t;}- case JW: {+ case YW: {let t = {};- return hG(t, e), t.length = e.length, t[Symbol.iterator] = e[Symbol.iterator], t;+ return gG(t, e), t.length = e.length, t[Symbol.iterator] = e[Symbol.iterator], t;}default: return;}@@ -75030,7 +75043,7 @@ function mze(e) {//#endregion//#region node_modules/es-toolkit/dist/compat/_internal/isIndex.mjsvar hze = /^(?:0|[1-9]\d*)$/;-function SG(e, t = 2 ** 53 - 1) {+function CG(e, t = 2 ** 53 - 1) {switch (typeof e) {case "number": return Number.isInteger(e) && e >= 0 && e < t;case "symbol": return !1;@@ -75040,17 +75053,17 @@ function SG(e, t = 2 ** 53 - 1) {//#endregion//#region node_modules/es-toolkit/dist/compat/predicate/isArguments.mjsfunction gze(e) {- return typeof e == "object" && !!e && UW(e) === "[object Arguments]";+ return typeof e == "object" && !!e && WW(e) === "[object Arguments]";}//#endregion//#region node_modules/es-toolkit/dist/compat/object/has.mjsfunction _ze(e, t) {let n;- if (n = Array.isArray(t) ? t : typeof t == "string" && oU(t) && !(t in Object(e)) ? uU(t) : [t], n.length === 0) return !1;+ if (n = Array.isArray(t) ? t : typeof t == "string" && sU(t) && !(t in Object(e)) ? dU(t) : [t], n.length === 0) return !1;let r = e;for (let e = 0; e < n.length; e++) {- let t = sU(n[e]);- if ((r == null || !Object.hasOwn(r, t)) && !((Array.isArray(r) || gze(r)) && SG(t) && Number(t) < r.length)) return !1;+ let t = cU(n[e]);+ if ((r == null || !Object.hasOwn(r, t)) && !((Array.isArray(r) || gze(r)) && CG(t) && Number(t) < r.length)) return !1;r = r[t];}return !0;@@ -75062,17 +75075,17 @@ function vze(e, t) {case "object":Object.is(e?.valueOf(), -0) && (e = "-0");break;- case "number": e = sU(e);+ case "number": e = cU(e);}return t = mze(t), function(n) {- let r = dU(n, e);- return r === void 0 ? _ze(n, e) : t === void 0 ? r === void 0 : xG(r, t);+ let r = fU(n, e);+ return r === void 0 ? _ze(n, e) : t === void 0 ? r === void 0 : SG(r, t);};}//#endregion//#region node_modules/es-toolkit/dist/compat/util/iteratee.mjs-function CG(e) {- if (e == null) return zW;+function wG(e) {+ if (e == null) return BW;switch (typeof e) {case "function": return e;case "object": return Array.isArray(e) && e.length === 2 ? vze(e[0], e[1]) : fze(e);@@ -75086,13 +75099,13 @@ function yze(e) {}//#endregion//#region node_modules/es-toolkit/dist/compat/array/uniqBy.mjs-function wG(e, t = zW) {- return BW(e) ? ZRe(Array.from(e), QRe(CG(t), 1)).map(yze) : [];+function TG(e, t = BW) {+ return VW(e) ? ZRe(Array.from(e), QRe(wG(t), 1)).map(yze) : [];}//#endregion//#region node_modules/recharts/es6/util/payload/getUniqPayload.js-function TG(e, t, n) {- return t === !0 ? wG(e, n) : typeof t == "function" ? wG(e, t) : e;+function EG(e, t, n) {+ return t === !0 ? TG(e, n) : typeof t == "function" ? TG(e, t) : e;}//#endregion//#region node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.production.js@@ -75143,15 +75156,15 @@ var bze = /* @__PURE__ */ o(((e) => {};})), xze = /* @__PURE__ */ o(((e, t) => {t.exports = bze();-})), EG = /*#__PURE__*/ (0, b.createContext)(null), Sze = xze(), Cze = (e) => e, DG = () => {- var e = (0, b.useContext)(EG);+})), DG = /*#__PURE__*/ (0, b.createContext)(null), Sze = xze(), Cze = (e) => e, OG = () => {+ var e = (0, b.useContext)(DG);return e ? e.store.dispatch : Cze;-}, OG = () => {}, wze = () => OG, Tze = (e, t) => e === t;+}, kG = () => {}, wze = () => kG, Tze = (e, t) => e === t;function J(e) {- var t = (0, b.useContext)(EG), n = (0, b.useMemo)(() => t ? (t) => {+ var t = (0, b.useContext)(DG), n = (0, b.useMemo)(() => t ? (t) => {if (t != null) return e(t);- } : OG, [t, e]);- return (0, Sze.useSyncExternalStoreWithSelector)(t ? t.subscription.addNestedSub : wze, t ? t.store.getState : OG, t ? t.store.getState : OG, n, Tze);+ } : kG, [t, e]);+ return (0, Sze.useSyncExternalStoreWithSelector)(t ? t.subscription.addNestedSub : wze, t ? t.store.getState : kG, t ? t.store.getState : kG, n, Tze);}//#endregion//#region node_modules/reselect/dist/reselect.mjs@@ -75164,7 +75177,7 @@ function Dze(e, t = "expected all items to be functions, instead received the fothrow TypeError(`${t}[${n}]`);}}-var kG = (e) => Array.isArray(e) ? e : [e];+var AG = (e) => Array.isArray(e) ? e : [e];function Oze(e) {let t = Array.isArray(e[0]) ? e[0] : e;return Dze(t, "createSelector expects all input-selectors to be functions, but received the following types: "), t;@@ -75181,8 +75194,8 @@ var Aze = class {deref() {return this.value;}-}, AG = typeof WeakRef > "u" ? Aze : WeakRef, jze = 0, jG = 1;-function MG() {+}, jG = typeof WeakRef > "u" ? Aze : WeakRef, jze = 0, MG = 1;+function NG() {return {s: jze,v: void 0,@@ -75191,10 +75204,10 @@ function MG() {};}function Mze(e) {- return e instanceof AG ? e.deref() : e;+ return e instanceof jG ? e.deref() : e;}-function NG(e, t = {}) {- let n = MG(), { resultEqualityCheck: r } = t, i, a = 0;+function PG(e, t = {}) {+ let n = NG(), { resultEqualityCheck: r } = t, i, a = 0;function o() {let t = n, { length: o } = arguments;for (let e = 0, n = o; e < n; e++) {@@ -75203,24 +75216,24 @@ function NG(e, t = {}) {let e = t.o;e === null && (t.o = e = /* @__PURE__ */ new WeakMap());let r = e.get(n);- r === void 0 ? (t = MG(), e.set(n, t)) : t = r;+ r === void 0 ? (t = NG(), e.set(n, t)) : t = r;} else {let e = t.p;e === null && (t.p = e = /* @__PURE__ */ new Map());let r = e.get(n);- r === void 0 ? (t = MG(), e.set(n, t)) : t = r;+ r === void 0 ? (t = NG(), e.set(n, t)) : t = r;}}let s = t, c;- if (t.s === jG) c = t.v;+ if (t.s === MG) c = t.v;else if (c = e.apply(null, arguments), a++, r) {let e = Mze(i);- e != null && r(e, c) && (c = e, a !== 0 && a--), i = typeof c == "object" && c || typeof c == "function" ? /* @__PURE__ */ new AG(c) : c;+ e != null && r(e, c) && (c = e, a !== 0 && a--), i = typeof c == "object" && c || typeof c == "function" ? /* @__PURE__ */ new jG(c) : c;}- return s.s = jG, s.v = c, c;+ return s.s = MG, s.v = c, c;}return o.clearCache = () => {- n = MG(), o.resetResultsCount();+ n = NG(), o.resetResultsCount();}, o.resultsCount = () => a, o.resetResultsCount = () => {a = 0;}, o;@@ -75232,10 +75245,10 @@ function Nze(e, ...t) {} : e, r = (...e) => {let t = 0, r = 0, i, a = {}, o = e.pop();typeof o == "object" && (a = o, o = e.pop()), Eze(o, `createSelector expects an output function after the inputs, but received: [${typeof o}]`);- let { memoize: s, memoizeOptions: c = [], argsMemoize: l = NG, argsMemoizeOptions: u = [] } = {+ let { memoize: s, memoizeOptions: c = [], argsMemoize: l = PG, argsMemoizeOptions: u = [] } = {...n,...a- }, d = kG(c), f = kG(u), p = Oze(e), m = s(function() {+ }, d = AG(c), f = AG(u), p = Oze(e), m = s(function() {return t++, o.apply(null, arguments);}, ...d), h = l(function() {r++;@@ -75261,7 +75274,7 @@ function Nze(e, ...t) {};return Object.assign(r, { withTypes: () => r }), r;}-var Y = /* @__PURE__ */ Nze(NG);+var Y = /* @__PURE__ */ Nze(PG);//#endregion//#region node_modules/es-toolkit/dist/array/flatten.mjsfunction Pze(e, t = 1) {@@ -75275,17 +75288,17 @@ function Pze(e, t = 1) {}//#endregion//#region node_modules/es-toolkit/dist/compat/_internal/isIterateeCall.mjs-function PG(e, t, n) {- return _G(n) && (typeof t == "number" && BW(n) && SG(t) && t < n.length || typeof t == "string" && t in n) ? gG(n[t], e) : !1;+function FG(e, t, n) {+ return vG(n) && (typeof t == "number" && VW(n) && CG(t) && t < n.length || typeof t == "string" && t in n) ? _G(n[t], e) : !1;}//#endregion//#region node_modules/es-toolkit/dist/compat/_internal/compareValues.mjs-function FG(e) {+function IG(e) {return typeof e == "symbol" ? 1 : e === null ? 2 : e === void 0 ? 3 : e === e ? 0 : 4;}var Fze = (e, t, n) => {if (e !== t) {- let r = FG(e), i = FG(t);+ let r = IG(e), i = IG(t);if (r === i && r === 0) {if (e < t) return n === "desc" ? 1 : -1;if (e > t) return n === "desc" ? -1 : 1;@@ -75295,13 +75308,13 @@ var Fze = (e, t, n) => {return 0;}, Ize = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, Lze = /^\w*$/;function Rze(e, t) {- return Array.isArray(e) ? !1 : typeof e == "number" || typeof e == "boolean" || e == null || cU(e) ? !0 : typeof e == "string" && (Lze.test(e) || !Ize.test(e)) || t != null && Object.hasOwn(t, e);+ return Array.isArray(e) ? !1 : typeof e == "number" || typeof e == "boolean" || e == null || lU(e) ? !0 : typeof e == "string" && (Lze.test(e) || !Ize.test(e)) || t != null && Object.hasOwn(t, e);}//#endregion//#region node_modules/es-toolkit/dist/compat/array/orderBy.mjsfunction zze(e, t, n, r) {if (e == null) return [];- n = r ? void 0 : n, Array.isArray(e) || (e = BW(e) ? Array.from(e) : Object.values(e)), Array.isArray(t) || (t = t == null ? [null] : [t]), t.length === 0 && (t = [null]), Array.isArray(n) || (n = n == null ? [] : [n]), n = n.map((e) => String(e));+ n = r ? void 0 : n, Array.isArray(e) || (e = VW(e) ? Array.from(e) : Object.values(e)), Array.isArray(t) || (t = t == null ? [null] : [t]), t.length === 0 && (t = [null]), Array.isArray(n) || (n = n == null ? [] : [n]), n = n.map((e) => String(e));let i = (e, t) => {let n = e, r = 0;for (; r < t.length && n != null; ++r) n = n[t[r]];@@ -75311,7 +75324,7 @@ function zze(e, t, n, r) {if (t != null) return typeof e == "object" && "key" in e ? Object.hasOwn(t, e.key) ? t[e.key] : i(t, e.path) : typeof e == "function" ? e(t) : Array.isArray(e) ? i(t, e) : t[e];}, o = t.map((e) => (Array.isArray(e) && e.length === 1 && (e = e[0]), e == null || typeof e == "function" || Array.isArray(e) || Rze(e) ? e : {key: e,- path: uU(e)+ path: dU(e)}));return e.map((e) => ({original: e,@@ -75326,15 +75339,15 @@ function zze(e, t, n, r) {}//#endregion//#region node_modules/es-toolkit/dist/compat/array/sortBy.mjs-function IG(e, ...t) {+function LG(e, ...t) {let n = t.length;- return n > 1 && PG(e, t[0], t[1]) ? t = [] : n > 2 && PG(t[0], t[1], t[2]) && (t = [t[0]]), zze(e, Pze(t), ["asc"]);+ return n > 1 && FG(e, t[0], t[1]) ? t = [] : n > 2 && FG(t[0], t[1], t[2]) && (t = [t[0]]), zze(e, Pze(t), ["asc"]);}//#endregion//#region node_modules/recharts/es6/state/selectors/legendSelectors.js-var LG = (e) => e.legend.settings, Bze = (e) => e.legend.size, Vze = Y([(e) => e.legend.payload, LG], (e, t) => {+var RG = (e) => e.legend.settings, Bze = (e) => e.legend.size, Vze = Y([(e) => e.legend.payload, RG], (e, t) => {var n = t.itemSorter, r = e.flat(1);- return n ? IG(r, n) : r;+ return n ? LG(r, n) : r;});//#endregion//#region node_modules/recharts/es6/context/legendPayloadContext.js@@ -75351,12 +75364,12 @@ function Wze() {}function Gze(e, t) {if (e) {- if (typeof e == "string") return RG(e, t);+ if (typeof e == "string") return zG(e, t);var n = {}.toString.call(e).slice(8, -1);- return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? RG(e, t) : void 0;+ return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? zG(e, t) : void 0;}}-function RG(e, t) {+function zG(e, t) {(t == null || t > e.length) && (t = e.length);for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];return r;@@ -75385,11 +75398,11 @@ function Kze(e, t) {function qze(e) {if (Array.isArray(e)) return e;}-var zG = 1;-function BG(e, t) {- return Math.abs(e.height - t.height) > zG || Math.abs(e.left - t.left) > zG || Math.abs(e.top - t.top) > zG || Math.abs(e.width - t.width) > zG;+var BG = 1;+function VG(e, t) {+ return Math.abs(e.height - t.height) > BG || Math.abs(e.left - t.left) > BG || Math.abs(e.top - t.top) > BG || Math.abs(e.width - t.width) > BG;}-function VG(e) {+function HG(e) {var t = e.getBoundingClientRect();return {height: t.height,@@ -75398,7 +75411,7 @@ function VG(e) {width: t.width};}-function HG() {+function UG() {var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : [], t = Uze((0, b.useState)({height: 0,left: 0,@@ -75408,11 +75421,11 @@ function HG() {a.current = n;var o = (0, b.useCallback)((e) => {if (i.current != null && (i.current.disconnect(), i.current = null), e != null) {- var t = VG(e);- if (BG(t, a.current) && r(t), typeof ResizeObserver < "u") {+ var t = HG(e);+ if (VG(t, a.current) && r(t), typeof ResizeObserver < "u") {var n = new ResizeObserver(() => {- var t = VG(e);- BG(t, a.current) && r(t);+ var t = HG(e);+ VG(t, a.current) && r(t);});n.observe(e), i.current = n;}@@ -75425,26 +75438,26 @@ function HG() {}//#endregion//#region node_modules/redux/dist/redux.mjs-function UG(e) {+function WG(e) {return `Minified Redux error #${e}; visit https://redux.js.org/Errors?code=${e} for the full message or use the non-minified dev environment for full errors. `;}-var WG = typeof Symbol == "function" && Symbol.observable || "@@observable", GG = () => Math.random().toString(36).substring(7).split("").join("."), KG = {- INIT: `@@redux/INIT${/* @__PURE__ */ GG()}`,- REPLACE: `@@redux/REPLACE${/* @__PURE__ */ GG()}`,- PROBE_UNKNOWN_ACTION: () => `@@redux/PROBE_UNKNOWN_ACTION${GG()}`+var GG = typeof Symbol == "function" && Symbol.observable || "@@observable", KG = () => Math.random().toString(36).substring(7).split("").join("."), qG = {+ INIT: `@@redux/INIT${/* @__PURE__ */ KG()}`,+ REPLACE: `@@redux/REPLACE${/* @__PURE__ */ KG()}`,+ PROBE_UNKNOWN_ACTION: () => `@@redux/PROBE_UNKNOWN_ACTION${KG()}`};-function qG(e) {+function JG(e) {if (typeof e != "object" || !e) return !1;let t = e;for (; Object.getPrototypeOf(t) !== null;) t = Object.getPrototypeOf(t);return Object.getPrototypeOf(e) === t || Object.getPrototypeOf(e) === null;}-function JG(e, t, n) {- if (typeof e != "function") throw Error(UG(2));- if (typeof t == "function" && typeof n == "function" || typeof n == "function" && typeof arguments[3] == "function") throw Error(UG(0));+function YG(e, t, n) {+ if (typeof e != "function") throw Error(WG(2));+ if (typeof t == "function" && typeof n == "function" || typeof n == "function" && typeof arguments[3] == "function") throw Error(WG(0));if (typeof t == "function" && n === void 0 && (n = t, t = void 0), n !== void 0) {- if (typeof n != "function") throw Error(UG(1));- return n(JG)(e, t);+ if (typeof n != "function") throw Error(WG(1));+ return n(YG)(e, t);}let r = e, i = t, a = /* @__PURE__ */ new Map(), o = a, s = 0, c = !1;function l() {@@ -75453,27 +75466,27 @@ function JG(e, t, n) {}));}function u() {- if (c) throw Error(UG(3));+ if (c) throw Error(WG(3));return i;}function d(e) {- if (typeof e != "function") throw Error(UG(4));- if (c) throw Error(UG(5));+ if (typeof e != "function") throw Error(WG(4));+ if (c) throw Error(WG(5));let t = !0;l();let n = s++;return o.set(n, e), function() {if (t) {- if (c) throw Error(UG(6));+ if (c) throw Error(WG(6));t = !1, l(), o.delete(n), a = null;}};}function f(e) {- if (!qG(e)) throw Error(UG(7));- if (e.type === void 0) throw Error(UG(8));- if (typeof e.type != "string") throw Error(UG(17));- if (c) throw Error(UG(9));+ if (!JG(e)) throw Error(WG(7));+ if (e.type === void 0) throw Error(WG(8));+ if (typeof e.type != "string") throw Error(WG(17));+ if (c) throw Error(WG(9));try {c = !0, i = r(i, e);} finally {@@ -75484,41 +75497,41 @@ function JG(e, t, n) {}), e;}function p(e) {- if (typeof e != "function") throw Error(UG(10));- r = e, f({ type: KG.REPLACE });+ if (typeof e != "function") throw Error(WG(10));+ r = e, f({ type: qG.REPLACE });}function m() {let e = d;return {subscribe(t) {- if (typeof t != "object" || !t) throw Error(UG(11));+ if (typeof t != "object" || !t) throw Error(WG(11));function n() {let e = t;e.next && e.next(u());}return n(), { unsubscribe: e(n) };},- [WG]() {+ [GG]() {return this;}};}- return f({ type: KG.INIT }), {+ return f({ type: qG.INIT }), {dispatch: f,subscribe: d,getState: u,replaceReducer: p,- [WG]: m+ [GG]: m};}function Jze(e) {Object.keys(e).forEach((t) => {let n = e[t];- if (n(void 0, { type: KG.INIT }) === void 0) throw Error(UG(12));- if (n(void 0, { type: KG.PROBE_UNKNOWN_ACTION() }) === void 0) throw Error(UG(13));+ if (n(void 0, { type: qG.INIT }) === void 0) throw Error(WG(12));+ if (n(void 0, { type: qG.PROBE_UNKNOWN_ACTION() }) === void 0) throw Error(WG(13));});}-function YG(e) {+function XG(e) {let t = Object.keys(e), n = {};for (let r = 0; r < t.length; r++) {let i = t[r];@@ -75535,124 +75548,124 @@ function YG(e) {let a = !1, o = {};for (let i = 0; i < r.length; i++) {let s = r[i], c = n[s], l = e[s], u = c(l, t);- if (u === void 0) throw t && t.type, Error(UG(14));+ if (u === void 0) throw t && t.type, Error(WG(14));o[s] = u, a ||= u !== l;}return a ||= r.length !== Object.keys(e).length, a ? o : e;};}-function XG(...e) {+function ZG(...e) {return e.length === 0 ? (e) => e : e.length === 1 ? e[0] : e.reduce((e, t) => (...n) => e(t(...n)));}function Yze(...e) {return (t) => (n, r) => {let i = t(n, r), a = () => {- throw Error(UG(15));+ throw Error(WG(15));}, o = {getState: i.getState,dispatch: (e, ...t) => a(e, ...t)};- return a = XG(...e.map((e) => e(o)))(i.dispatch), {+ return a = ZG(...e.map((e) => e(o)))(i.dispatch), {...i,dispatch: a};};}-function ZG(e) {- return qG(e) && "type" in e && typeof e.type == "string";+function QG(e) {+ return JG(e) && "type" in e && typeof e.type == "string";}//#endregion//#region node_modules/immer/dist/immer.mjs-var QG = Symbol.for("immer-nothing"), $G = Symbol.for("immer-draftable"), eK = Symbol.for("immer-state");-function tK(e, ...t) {+var $G = Symbol.for("immer-nothing"), eK = Symbol.for("immer-draftable"), tK = Symbol.for("immer-state");+function nK(e, ...t) {throw Error(`[Immer] minified error nr: ${e}. Full error at: https://bit.ly/3cXEKWf`);}-var nK = Object, rK = nK.getPrototypeOf, iK = "constructor", aK = "prototype", oK = "configurable", sK = "enumerable", cK = "writable", lK = "value", uK = (e) => !!e && !!e[eK];-function dK(e) {- return e ? pK(e) || yK(e) || !!e[$G] || !!e[iK]?.[$G] || bK(e) || xK(e) : !1;+var rK = Object, iK = rK.getPrototypeOf, aK = "constructor", oK = "prototype", sK = "configurable", cK = "enumerable", lK = "writable", uK = "value", dK = (e) => !!e && !!e[tK];+function fK(e) {+ return e ? mK(e) || bK(e) || !!e[eK] || !!e[aK]?.[eK] || xK(e) || SK(e) : !1;}-var Xze = nK[aK][iK].toString(), fK = /* @__PURE__ */ new WeakMap();-function pK(e) {- if (!e || !SK(e)) return !1;- let t = rK(e);- if (t === null || t === nK[aK]) return !0;- let n = nK.hasOwnProperty.call(t, iK) && t[iK];+var Xze = rK[oK][aK].toString(), pK = /* @__PURE__ */ new WeakMap();+function mK(e) {+ if (!e || !CK(e)) return !1;+ let t = iK(e);+ if (t === null || t === rK[oK]) return !0;+ let n = rK.hasOwnProperty.call(t, aK) && t[aK];if (n === Object) return !0;- if (!CK(n)) return !1;- let r = fK.get(n);- return r === void 0 && (r = Function.toString.call(n), fK.set(n, r)), r === Xze;+ if (!wK(n)) return !1;+ let r = pK.get(n);+ return r === void 0 && (r = Function.toString.call(n), pK.set(n, r)), r === Xze;}-function mK(e, t, n = !0) {- hK(e) === 0 ? (n ? Reflect.ownKeys(e) : nK.keys(e)).forEach((n) => {+function hK(e, t, n = !0) {+ gK(e) === 0 ? (n ? Reflect.ownKeys(e) : rK.keys(e)).forEach((n) => {t(n, e[n], e);}) : e.forEach((n, r) => t(r, n, e));}-function hK(e) {- let t = e[eK];- return t ? t.type_ : yK(e) ? 1 : bK(e) ? 2 : xK(e) ? 3 : 0;+function gK(e) {+ let t = e[tK];+ return t ? t.type_ : bK(e) ? 1 : xK(e) ? 2 : SK(e) ? 3 : 0;}-var gK = (e, t, n = hK(e)) => n === 2 ? e.has(t) : nK[aK].hasOwnProperty.call(e, t), _K = (e, t, n = hK(e)) => n === 2 ? e.get(t) : e[t], vK = (e, t, n, r = hK(e)) => {+var _K = (e, t, n = gK(e)) => n === 2 ? e.has(t) : rK[oK].hasOwnProperty.call(e, t), vK = (e, t, n = gK(e)) => n === 2 ? e.get(t) : e[t], yK = (e, t, n, r = gK(e)) => {r === 2 ? e.set(t, n) : r === 3 ? e.add(n) : e[t] = n;};function Zze(e, t) {return e === t ? e !== 0 || 1 / e == 1 / t : e !== e && t !== t;}-var yK = Array.isArray, bK = (e) => e instanceof Map, xK = (e) => e instanceof Set, SK = (e) => typeof e == "object", CK = (e) => typeof e == "function", wK = (e) => typeof e == "boolean";+var bK = Array.isArray, xK = (e) => e instanceof Map, SK = (e) => e instanceof Set, CK = (e) => typeof e == "object", wK = (e) => typeof e == "function", TK = (e) => typeof e == "boolean";function Qze(e) {let t = +e;return Number.isInteger(t) && String(t) === e;}-var TK = (e) => e.copy_ || e.base_, EK = (e) => e.modified_ ? e.copy_ : e.base_;-function DK(e, t) {- if (bK(e)) return new Map(e);- if (xK(e)) return new Set(e);- if (yK(e)) return Array[aK].slice.call(e);- let n = pK(e);+var EK = (e) => e.copy_ || e.base_, DK = (e) => e.modified_ ? e.copy_ : e.base_;+function OK(e, t) {+ if (xK(e)) return new Map(e);+ if (SK(e)) return new Set(e);+ if (bK(e)) return Array[oK].slice.call(e);+ let n = mK(e);if (t === !0 || t === "class_only" && !n) {- let t = nK.getOwnPropertyDescriptors(e);- delete t[eK];+ let t = rK.getOwnPropertyDescriptors(e);+ delete t[tK];let n = Reflect.ownKeys(t);for (let r = 0; r < n.length; r++) {let i = n[r], a = t[i];- a[cK] === !1 && (a[cK] = !0, a[oK] = !0), (a.get || a.set) && (t[i] = {- [oK]: !0,- [cK]: !0,- [sK]: a[sK],- [lK]: e[i]+ a[lK] === !1 && (a[lK] = !0, a[sK] = !0), (a.get || a.set) && (t[i] = {+ [sK]: !0,+ [lK]: !0,+ [cK]: a[cK],+ [uK]: e[i]});}- return nK.create(rK(e), t);+ return rK.create(iK(e), t);}{- let t = rK(e);+ let t = iK(e);if (t !== null && n) return { ...e };- let r = nK.create(t);- return nK.assign(r, e);- }-}-function OK(e, t = !1) {- return AK(e) || uK(e) || !dK(e) || (hK(e) > 1 && nK.defineProperties(e, {- set: kK,- add: kK,- clear: kK,- delete: kK- }), nK.freeze(e), t && mK(e, (e, t) => {- OK(t, !0);+ let r = rK.create(t);+ return rK.assign(r, e);+ }+}+function kK(e, t = !1) {+ return jK(e) || dK(e) || !fK(e) || (gK(e) > 1 && rK.defineProperties(e, {+ set: AK,+ add: AK,+ clear: AK,+ delete: AK+ }), rK.freeze(e), t && hK(e, (e, t) => {+ kK(t, !0);}, !1)), e;}function $ze() {- tK(2);+ nK(2);}-var kK = { [lK]: $ze };-function AK(e) {- return e === null || !SK(e) || nK.isFrozen(e);+var AK = { [uK]: $ze };+function jK(e) {+ return e === null || !CK(e) || rK.isFrozen(e);}-var jK = "MapSet", MK = "Patches", NK = "ArrayMethods", PK = {};-function FK(e) {- let t = PK[e];- return t || tK(0, e), t;+var MK = "MapSet", NK = "Patches", PK = "ArrayMethods", FK = {};+function IK(e) {+ let t = FK[e];+ return t || nK(0, e), t;}-var IK = (e) => !!PK[e], LK, RK = () => LK, eBe = (e, t) => ({+var LK = (e) => !!FK[e], RK, zK = () => RK, eBe = (e, t) => ({drafts_: [],parent_: e,immer_: t,@@ -75660,114 +75673,114 @@ var IK = (e) => !!PK[e], LK, RK = () => LK, eBe = (e, t) => ({unfinalizedDrafts_: 0,handledSet_: /* @__PURE__ */ new Set(),processedForPatches_: /* @__PURE__ */ new Set(),- mapSetPlugin_: IK(jK) ? FK(jK) : void 0,- arrayMethodsPlugin_: IK(NK) ? FK(NK) : void 0+ mapSetPlugin_: LK(MK) ? IK(MK) : void 0,+ arrayMethodsPlugin_: LK(PK) ? IK(PK) : void 0});-function zK(e, t) {- t && (e.patchPlugin_ = FK(MK), e.patches_ = [], e.inversePatches_ = [], e.patchListener_ = t);-}-function BK(e) {- VK(e), e.drafts_.forEach(tBe), e.drafts_ = null;+function BK(e, t) {+ t && (e.patchPlugin_ = IK(NK), e.patches_ = [], e.inversePatches_ = [], e.patchListener_ = t);}function VK(e) {- e === LK && (LK = e.parent_);+ HK(e), e.drafts_.forEach(tBe), e.drafts_ = null;}-var HK = (e) => LK = eBe(LK, e);+function HK(e) {+ e === RK && (RK = e.parent_);+}+var UK = (e) => RK = eBe(RK, e);function tBe(e) {- let t = e[eK];+ let t = e[tK];t.type_ === 0 || t.type_ === 1 ? t.revoke_() : t.revoked_ = !0;}-function UK(e, t) {+function WK(e, t) {t.unfinalizedDrafts_ = t.drafts_.length;let n = t.drafts_[0];if (e !== void 0 && e !== n) {- n[eK].modified_ && (BK(t), tK(4)), dK(e) && (e = WK(t, e));+ n[tK].modified_ && (VK(t), nK(4)), fK(e) && (e = GK(t, e));let { patchPlugin_: r } = t;- r && r.generateReplacementPatches_(n[eK].base_, e, t);- } else e = WK(t, n);- return nBe(t, e, !0), BK(t), t.patches_ && t.patchListener_(t.patches_, t.inversePatches_), e === QG ? void 0 : e;-}-function WK(e, t) {- if (AK(t)) return t;- let n = t[eK];- if (!n) return YK(t, e.handledSet_, e);- if (!KK(n, e)) return t;+ r && r.generateReplacementPatches_(n[tK].base_, e, t);+ } else e = GK(t, n);+ return nBe(t, e, !0), VK(t), t.patches_ && t.patchListener_(t.patches_, t.inversePatches_), e === $G ? void 0 : e;+}+function GK(e, t) {+ if (jK(t)) return t;+ let n = t[tK];+ if (!n) return XK(t, e.handledSet_, e);+ if (!qK(n, e)) return t;if (!n.modified_) return n.base_;if (!n.finalized_) {let { callbacks_: t } = n;if (t) for (; t.length > 0;) t.pop()(e);- JK(n, e);+ YK(n, e);}return n.copy_;}function nBe(e, t, n = !1) {- !e.parent_ && e.immer_.autoFreeze_ && e.canAutoFreeze_ && OK(t, n);+ !e.parent_ && e.immer_.autoFreeze_ && e.canAutoFreeze_ && kK(t, n);}-function GK(e) {+function KK(e) {e.finalized_ = !0, e.scope_.unfinalizedDrafts_--;}-var KK = (e, t) => e.scope_ === t, rBe = [];-function qK(e, t, n, r) {- let i = TK(e), a = e.type_;- if (r !== void 0 && _K(i, r, a) === t) {- vK(i, r, n, a);+var qK = (e, t) => e.scope_ === t, rBe = [];+function JK(e, t, n, r) {+ let i = EK(e), a = e.type_;+ if (r !== void 0 && vK(i, r, a) === t) {+ yK(i, r, n, a);return;}if (!e.draftLocations_) {let t = e.draftLocations_ = /* @__PURE__ */ new Map();- mK(i, (e, n) => {- if (uK(n)) {+ hK(i, (e, n) => {+ if (dK(n)) {let r = t.get(n) || [];r.push(e), t.set(n, r);}});}let o = e.draftLocations_.get(t) ?? rBe;- for (let e of o) vK(i, e, n, a);+ for (let e of o) yK(i, e, n, a);}function iBe(e, t, n) {e.callbacks_.push(function(r) {let i = t;- if (!i || !KK(i, r)) return;+ if (!i || !qK(i, r)) return;r.mapSetPlugin_?.fixSetContents(i);- let a = EK(i);- qK(e, i.draft_ ?? i, a, n), JK(i, r);+ let a = DK(i);+ JK(e, i.draft_ ?? i, a, n), YK(i, r);});}-function JK(e, t) {+function YK(e, t) {if (e.modified_ && !e.finalized_ && (e.type_ === 3 || e.type_ === 1 && e.allIndicesReassigned_ || (e.assigned_?.size ?? 0) > 0)) {let { patchPlugin_: n } = t;if (n) {let r = n.getPath(e);r && n.generatePatches_(e, r, t);}- GK(e);+ KK(e);}}function aBe(e, t, n) {let { scope_: r } = e;- if (uK(n)) {- let i = n[eK];- KK(i, r) && i.callbacks_.push(function() {- tq(e), qK(e, n, EK(i), t);+ if (dK(n)) {+ let i = n[tK];+ qK(i, r) && i.callbacks_.push(function() {+ nq(e), JK(e, n, DK(i), t);});- } else dK(n) && e.callbacks_.push(function() {- let i = TK(e);- e.type_ === 3 ? i.has(n) && YK(n, r.handledSet_, r) : _K(i, t, e.type_) === n && r.drafts_.length > 1 && (e.assigned_.get(t) ?? !1) === !0 && e.copy_ && YK(_K(e.copy_, t, e.type_), r.handledSet_, r);+ } else fK(n) && e.callbacks_.push(function() {+ let i = EK(e);+ e.type_ === 3 ? i.has(n) && XK(n, r.handledSet_, r) : vK(i, t, e.type_) === n && r.drafts_.length > 1 && (e.assigned_.get(t) ?? !1) === !0 && e.copy_ && XK(vK(e.copy_, t, e.type_), r.handledSet_, r);});}-function YK(e, t, n) {- return !n.immer_.autoFreeze_ && n.unfinalizedDrafts_ < 1 || uK(e) || t.has(e) || !dK(e) || AK(e) || (t.add(e), mK(e, (r, i) => {- if (uK(i)) {- let t = i[eK];- KK(t, n) && (vK(e, r, EK(t), e.type_), GK(t));- } else dK(i) && YK(i, t, n);+function XK(e, t, n) {+ return !n.immer_.autoFreeze_ && n.unfinalizedDrafts_ < 1 || dK(e) || t.has(e) || !fK(e) || jK(e) || (t.add(e), hK(e, (r, i) => {+ if (dK(i)) {+ let t = i[tK];+ qK(t, n) && (yK(e, r, DK(t), e.type_), KK(t));+ } else fK(i) && XK(i, t, n);})), e;}function oBe(e, t) {- let n = yK(e), r = {+ let n = bK(e), r = {type_: +!!n,- scope_: t ? t.scope_ : RK(),+ scope_: t ? t.scope_ : zK(),modified_: !1,finalized_: !1,assigned_: void 0,@@ -75778,108 +75791,108 @@ function oBe(e, t) {revoke_: null,isManual_: !1,callbacks_: void 0- }, i = r, a = XK;- n && (i = [r], a = ZK);+ }, i = r, a = ZK;+ n && (i = [r], a = QK);let { revoke: o, proxy: s } = Proxy.revocable(i, a);return r.draft_ = s, r.revoke_ = o, [s, r];}-var XK = {+var ZK = {get(e, t) {- if (t === eK) return e;+ if (t === tK) return e;let n = e.scope_.arrayMethodsPlugin_, r = e.type_ === 1 && typeof t == "string";if (r && n?.isArrayOperationMethod(t)) return n.createMethodInterceptor(e, t);- let i = TK(e);- if (!gK(i, t, e.type_)) return cBe(e, i, t);+ let i = EK(e);+ if (!_K(i, t, e.type_)) return cBe(e, i, t);let a = i[t];- if (e.finalized_ || !dK(a) || r && e.operationMethod && n?.isMutatingArrayMethod(e.operationMethod) && Qze(t)) return a;- if (a === QK(e.base_, t) || sBe(e, t, a)) {- tq(e);- let n = e.type_ === 1 ? +t : t, r = nq(e.scope_, a, e, n);+ if (e.finalized_ || !fK(a) || r && e.operationMethod && n?.isMutatingArrayMethod(e.operationMethod) && Qze(t)) return a;+ if (a === $K(e.base_, t) || sBe(e, t, a)) {+ nq(e);+ let n = e.type_ === 1 ? +t : t, r = rq(e.scope_, a, e, n);return e.copy_[n] = r;}return a;},has(e, t) {- return t in TK(e);+ return t in EK(e);},ownKeys(e) {- return Reflect.ownKeys(TK(e));+ return Reflect.ownKeys(EK(e));},set(e, t, n) {- let r = $K(TK(e), t);+ let r = eq(EK(e), t);if (r?.set) return r.set.call(e.draft_, n), !0;if (!e.modified_) {- let r = QK(TK(e), t), i = r?.[eK];+ let r = $K(EK(e), t), i = r?.[tK];if (i && i.base_ === n) return e.copy_[t] = n, e.assigned_.delete(t), !0;- if (Zze(n, r) && (n !== void 0 || gK(e.base_, t, e.type_))) return !0;- tq(e), eq(e);+ if (Zze(n, r) && (n !== void 0 || _K(e.base_, t, e.type_))) return !0;+ nq(e), tq(e);}- return e.copy_[t] === n && (n !== void 0 || gK(e.copy_, t, e.type_)) || Number.isNaN(n) && Number.isNaN(e.copy_[t]) || (e.copy_[t] = n, e.assigned_.set(t, !0), aBe(e, t, n)), !0;+ return e.copy_[t] === n && (n !== void 0 || _K(e.copy_, t, e.type_)) || Number.isNaN(n) && Number.isNaN(e.copy_[t]) || (e.copy_[t] = n, e.assigned_.set(t, !0), aBe(e, t, n)), !0;},deleteProperty(e, t) {- return tq(e), QK(e.base_, t) !== void 0 || t in e.base_ ? (e.assigned_.set(t, !1), eq(e)) : e.assigned_.delete(t), e.copy_ && delete e.copy_[t], !0;+ return nq(e), $K(e.base_, t) !== void 0 || t in e.base_ ? (e.assigned_.set(t, !1), tq(e)) : e.assigned_.delete(t), e.copy_ && delete e.copy_[t], !0;},getOwnPropertyDescriptor(e, t) {- let n = TK(e), r = Reflect.getOwnPropertyDescriptor(n, t);+ let n = EK(e), r = Reflect.getOwnPropertyDescriptor(n, t);return r && {- [cK]: !0,- [oK]: e.type_ !== 1 || t !== "length",- [sK]: r[sK],- [lK]: n[t]+ [lK]: !0,+ [sK]: e.type_ !== 1 || t !== "length",+ [cK]: r[cK],+ [uK]: n[t]};},defineProperty() {- tK(11);+ nK(11);},getPrototypeOf(e) {- return rK(e.base_);+ return iK(e.base_);},setPrototypeOf() {- tK(12);+ nK(12);}-}, ZK = {};-for (let e in XK) {- let t = XK[e];- ZK[e] = function() {+}, QK = {};+for (let e in ZK) {+ let t = ZK[e];+ QK[e] = function() {let e = arguments;return e[0] = e[0][0], t.apply(this, e);};}-ZK.deleteProperty = function(e, t) {- return ZK.set.call(this, e, t, void 0);-}, ZK.set = function(e, t, n) {- return XK.set.call(this, e[0], t, n, e[0]);+QK.deleteProperty = function(e, t) {+ return QK.set.call(this, e, t, void 0);+}, QK.set = function(e, t, n) {+ return ZK.set.call(this, e[0], t, n, e[0]);};-function QK(e, t) {- let n = e[eK];- return (n ? TK(n) : e)[t];+function $K(e, t) {+ let n = e[tK];+ return (n ? EK(n) : e)[t];}function sBe(e, t, n) {- return e.type_ !== 1 || !e.allIndicesReassigned_ || e.assigned_?.get(t) || !dK(n) || n[eK] ? !1 : e.baseRefs_.has(n);+ return e.type_ !== 1 || !e.allIndicesReassigned_ || e.assigned_?.get(t) || !fK(n) || n[tK] ? !1 : e.baseRefs_.has(n);}function cBe(e, t, n) {- let r = $K(t, n);- return r ? lK in r ? r[lK] : r.get?.call(e.draft_) : void 0;+ let r = eq(t, n);+ return r ? uK in r ? r[uK] : r.get?.call(e.draft_) : void 0;}-function $K(e, t) {+function eq(e, t) {if (!(t in e)) return;- let n = rK(e);+ let n = iK(e);for (; n;) {let e = Object.getOwnPropertyDescriptor(n, t);if (e) return e;- n = rK(n);+ n = iK(n);}}-function eq(e) {- e.modified_ || (e.modified_ = !0, e.parent_ && eq(e.parent_));-}function tq(e) {- e.copy_ ||= (e.assigned_ = /* @__PURE__ */ new Map(), DK(e.base_, e.scope_.immer_.useStrictShallowCopy_));+ e.modified_ || (e.modified_ = !0, e.parent_ && tq(e.parent_));+}+function nq(e) {+ e.copy_ ||= (e.assigned_ = /* @__PURE__ */ new Map(), OK(e.base_, e.scope_.immer_.useStrictShallowCopy_));}var lBe = class {constructor(e) {this.autoFreeze_ = !0, this.useStrictShallowCopy_ = !1, this.useStrictIteration_ = !1, this.produce = (e, t, n) => {- if (CK(e) && !CK(t)) {+ if (wK(e) && !wK(t)) {let n = t;t = e;let r = this;@@ -75887,30 +75900,30 @@ var lBe = class {return r.produce(e, (e) => t.call(this, e, ...i));};}- CK(t) || tK(6), n !== void 0 && !CK(n) && tK(7);+ wK(t) || nK(6), n !== void 0 && !wK(n) && nK(7);let r;- if (dK(e)) {- let i = HK(this), a = nq(i, e, void 0), o = !0;+ if (fK(e)) {+ let i = UK(this), a = rq(i, e, void 0), o = !0;try {r = t(a), o = !1;} finally {- o ? BK(i) : VK(i);+ o ? VK(i) : HK(i);}- return zK(i, n), UK(r, i);+ return BK(i, n), WK(r, i);}- if (!e || !SK(e)) {- if (r = t(e), r === void 0 && (r = e), r === QG && (r = void 0), this.autoFreeze_ && OK(r, !0), n) {+ if (!e || !CK(e)) {+ if (r = t(e), r === void 0 && (r = e), r === $G && (r = void 0), this.autoFreeze_ && kK(r, !0), n) {let t = [], i = [];- FK(MK).generateReplacementPatches_(e, r, {+ IK(NK).generateReplacementPatches_(e, r, {patches_: t,inversePatches_: i}), n(t, i);}return r;}- tK(1, e);+ nK(1, e);}, this.produceWithPatches = (e, t) => {- if (CK(e)) return (t, ...n) => this.produceWithPatches(t, (t) => e(t, ...n));+ if (wK(e)) return (t, ...n) => this.produceWithPatches(t, (t) => e(t, ...n));let n, r;return [this.produce(e, t, (e, t) => {@@ -75919,18 +75932,18 @@ var lBe = class {n,r];- }, wK(e?.autoFreeze) && this.setAutoFreeze(e.autoFreeze), wK(e?.useStrictShallowCopy) && this.setUseStrictShallowCopy(e.useStrictShallowCopy), wK(e?.useStrictIteration) && this.setUseStrictIteration(e.useStrictIteration);+ }, TK(e?.autoFreeze) && this.setAutoFreeze(e.autoFreeze), TK(e?.useStrictShallowCopy) && this.setUseStrictShallowCopy(e.useStrictShallowCopy), TK(e?.useStrictIteration) && this.setUseStrictIteration(e.useStrictIteration);}createDraft(e) {- dK(e) || tK(8), uK(e) && (e = rq(e));- let t = HK(this), n = nq(t, e, void 0);- return n[eK].isManual_ = !0, VK(t), n;+ fK(e) || nK(8), dK(e) && (e = iq(e));+ let t = UK(this), n = rq(t, e, void 0);+ return n[tK].isManual_ = !0, HK(t), n;}finishDraft(e, t) {- let n = e && e[eK];- (!n || !n.isManual_) && tK(9);+ let n = e && e[tK];+ (!n || !n.isManual_) && nK(9);let { scope_: r } = n;- return zK(r, t), UK(void 0, r);+ return BK(r, t), WK(void 0, r);}setAutoFreeze(e) {this.autoFreeze_ = e;@@ -75954,48 +75967,48 @@ var lBe = class {}}n > -1 && (t = t.slice(n + 1));- let r = FK(MK).applyPatches_;- return uK(e) ? r(e, t) : this.produce(e, (e) => r(e, t));+ let r = IK(NK).applyPatches_;+ return dK(e) ? r(e, t) : this.produce(e, (e) => r(e, t));}};-function nq(e, t, n, r) {- let [i, a] = bK(t) ? FK(jK).proxyMap_(t, n) : xK(t) ? FK(jK).proxySet_(t, n) : oBe(t, n);- return (n?.scope_ ?? RK()).drafts_.push(i), a.callbacks_ = n?.callbacks_ ?? [], a.key_ = r, n && r !== void 0 ? iBe(n, a, r) : a.callbacks_.push(function(e) {+function rq(e, t, n, r) {+ let [i, a] = xK(t) ? IK(MK).proxyMap_(t, n) : SK(t) ? IK(MK).proxySet_(t, n) : oBe(t, n);+ return (n?.scope_ ?? zK()).drafts_.push(i), a.callbacks_ = n?.callbacks_ ?? [], a.key_ = r, n && r !== void 0 ? iBe(n, a, r) : a.callbacks_.push(function(e) {e.mapSetPlugin_?.fixSetContents(a);let { patchPlugin_: t } = e;a.modified_ && t && t.generatePatches_(a, [], e);}), i;}-function rq(e) {- return uK(e) || tK(10, e), iq(e);-}function iq(e) {- if (!dK(e) || AK(e)) return e;- let t = e[eK], n, r = !0;+ return dK(e) || nK(10, e), aq(e);+}+function aq(e) {+ if (!fK(e) || jK(e)) return e;+ let t = e[tK], n, r = !0;if (t) {if (!t.modified_) return t.base_;- t.finalized_ = !0, n = DK(e, t.scope_.immer_.useStrictShallowCopy_), r = t.scope_.immer_.shouldUseStrictIteration();- } else n = DK(e, !0);- return mK(n, (e, t) => {- vK(n, e, iq(t));+ t.finalized_ = !0, n = OK(e, t.scope_.immer_.useStrictShallowCopy_), r = t.scope_.immer_.shouldUseStrictIteration();+ } else n = OK(e, !0);+ return hK(n, (e, t) => {+ yK(n, e, aq(t));}, r), t && (t.finalized_ = !1), n;}globalThis.Iterator?.from;-var aq = new lBe().produce, oq = (e) => e;+var oq = new lBe().produce, sq = (e) => e;//#endregion//#region node_modules/redux-thunk/dist/redux-thunk.mjs-function sq(e) {+function cq(e) {return ({ dispatch: t, getState: n }) => (r) => (i) => typeof i == "function" ? i(t, n, e) : r(i);}-var uBe = sq(), dBe = sq, fBe = typeof window < "u" && window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ ? window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ : function() {- if (arguments.length !== 0) return typeof arguments[0] == "object" ? XG : XG.apply(null, arguments);+var uBe = cq(), dBe = cq, fBe = typeof window < "u" && window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ ? window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ : function() {+ if (arguments.length !== 0) return typeof arguments[0] == "object" ? ZG : ZG.apply(null, arguments);};typeof window < "u" && window.__REDUX_DEVTOOLS_EXTENSION__ && window.__REDUX_DEVTOOLS_EXTENSION__;-function cq(e, t) {+function lq(e, t) {function n(...n) {if (t) {let r = t(...n);- if (!r) throw Error(Uq(0));+ if (!r) throw Error(Wq(0));return {type: e,payload: r.payload,@@ -76008,9 +76021,9 @@ function cq(e, t) {payload: n[0]};}- return n.toString = () => `${e}`, n.type = e, n.match = (t) => ZG(t) && t.type === e, n;+ return n.toString = () => `${e}`, n.type = e, n.match = (t) => QG(t) && t.type === e, n;}-var lq = class e extends Array {+var uq = class e extends Array {constructor(...t) {super(...t), Object.setPrototypeOf(this, e.prototype);}@@ -76024,29 +76037,29 @@ var lq = class e extends Array {return t.length === 1 && Array.isArray(t[0]) ? new e(...t[0].concat(this)) : new e(...t.concat(this));}};-function uq(e) {- return dK(e) ? aq(e, () => {}) : e;+function dq(e) {+ return fK(e) ? oq(e, () => {}) : e;}-function dq(e, t, n) {+function fq(e, t, n) {return e.has(t) ? e.get(t) : e.set(t, n(t)).get(t);}function pBe(e) {return typeof e == "boolean";}var mBe = () => function(e) {- let { thunk: t = !0, immutableCheck: n = !0, serializableCheck: r = !0, actionCreatorCheck: i = !0 } = e ?? {}, a = new lq();+ let { thunk: t = !0, immutableCheck: n = !0, serializableCheck: r = !0, actionCreatorCheck: i = !0 } = e ?? {}, a = new uq();return t && (pBe(t) ? a.push(uBe) : a.push(dBe(t.extraArgument))), a;-}, fq = "RTK_autoBatch", pq = () => (e) => ({+}, pq = "RTK_autoBatch", mq = () => (e) => ({payload: e,- meta: { [fq]: !0 }-}), mq = (e) => (t) => {+ meta: { [pq]: !0 }+}), hq = (e) => (t) => {setTimeout(t, e);}, hBe = (e, t) => (n) => {let r = !1, i = () => {r || (r = !0, cancelAnimationFrame(a), clearTimeout(o), n());}, a = e(i), o = setTimeout(i, t);-}, hq = (e = { type: "raf" }) => (t) => (...n) => {- let r = t(...n), i = !0, a = !1, o = !1, s = /* @__PURE__ */ new Set(), c = e.type === "tick" ? queueMicrotask : e.type === "raf" ? typeof window < "u" && window.requestAnimationFrame ? hBe(window.requestAnimationFrame, 100) : mq(10) : e.type === "callback" ? e.queueNotification : mq(e.timeout), l = () => {+}, gq = (e = { type: "raf" }) => (t) => (...n) => {+ let r = t(...n), i = !0, a = !1, o = !1, s = /* @__PURE__ */ new Set(), c = e.type === "tick" ? queueMicrotask : e.type === "raf" ? typeof window < "u" && window.requestAnimationFrame ? hBe(window.requestAnimationFrame, 100) : hq(10) : e.type === "callback" ? e.queueNotification : hq(e.timeout), l = () => {o = !1, a && (a = !1, s.forEach((e) => e()));};return Object.assign({}, r, {@@ -76058,37 +76071,37 @@ var mBe = () => function(e) {},dispatch(e) {try {- return i = !e?.meta?.[fq], a = !i, a && (o || (o = !0, c(l))), r.dispatch(e);+ return i = !e?.meta?.[pq], a = !i, a && (o || (o = !0, c(l))), r.dispatch(e);} finally {i = !0;}}});}, gBe = (e) => function(t) {- let { autoBatch: n = !0 } = t ?? {}, r = new lq(e);- return n && r.push(hq(typeof n == "object" ? n : void 0)), r;+ let { autoBatch: n = !0 } = t ?? {}, r = new uq(e);+ return n && r.push(gq(typeof n == "object" ? n : void 0)), r;};function _Be(e) {let t = mBe(), { reducer: n = void 0, middleware: r, devTools: i = !0, duplicateMiddlewareCheck: a = !0, preloadedState: o = void 0, enhancers: s = void 0 } = e || {}, c;if (typeof n == "function") c = n;- else if (qG(n)) c = YG(n);- else throw Error(Uq(1));+ else if (JG(n)) c = XG(n);+ else throw Error(Wq(1));let l;l = typeof r == "function" ? r(t) : t();- let u = XG;+ let u = ZG;i && (u = fBe({trace: !1,...typeof i == "object" && i}));let d = gBe(Yze(...l)), f = typeof s == "function" ? s(d) : d(), p = u(...f);- return JG(c, o, p);+ return YG(c, o, p);}-function gq(e) {+function _q(e) {let t = {}, n = [], r, i = {addCase(e, n) {let r = typeof e == "string" ? e : e.type;- if (!r) throw Error(Uq(28));- if (r in t) throw Error(Uq(29));+ if (!r) throw Error(Wq(28));+ if (r in t) throw Error(Wq(29));return t[r] = n, i;},addAsyncThunk(e, r) {@@ -76117,21 +76130,21 @@ function vBe(e) {return typeof e == "function";}function yBe(e, t) {- let [n, r, i] = gq(t), a;- if (vBe(e)) a = () => uq(e());+ let [n, r, i] = _q(t), a;+ if (vBe(e)) a = () => dq(e());else {- let t = uq(e);+ let t = dq(e);a = () => t;}function o(e = a(), t) {let o = [n[t.type], ...r.filter(({ matcher: e }) => e(t)).map(({ reducer: e }) => e)];return o.filter((e) => !!e).length === 0 && (o = [i]), o.reduce((e, n) => {if (n) {- if (uK(e)) {+ if (dK(e)) {let r = n(e, t);return r === void 0 ? e : r;}- if (dK(e)) return aq(e, (e) => n(e, t));+ if (fK(e)) return oq(e, (e) => n(e, t));{let r = n(e, t);if (r === void 0) {@@ -76158,7 +76171,7 @@ function wBe({ creators: e } = {}) {let t = e?.asyncThunk?.[SBe];return function(e) {let { name: n, reducerPath: r = n } = e;- if (!n) throw Error(Uq(11));+ if (!n) throw Error(Wq(11));let i = (typeof e.reducers == "function" ? e.reducers(EBe()) : e.reducers) || {}, a = Object.keys(i), o = {sliceCaseReducersByName: {},sliceCaseReducersByType: {},@@ -76167,8 +76180,8 @@ function wBe({ creators: e } = {}) {}, s = {addCase(e, t) {let n = typeof e == "string" ? e : e.type;- if (!n) throw Error(Uq(12));- if (n in o.sliceCaseReducersByType) throw Error(Uq(13));+ if (!n) throw Error(Wq(12));+ if (n in o.sliceCaseReducersByType) throw Error(Wq(13));return o.sliceCaseReducersByType[n] = t, s;},addMatcher(e, t) {@@ -76193,7 +76206,7 @@ function wBe({ creators: e } = {}) {OBe(a) ? ABe(o, a, s, t) : DBe(o, a, s);});function c() {- let [t = {}, n = [], r = void 0] = typeof e.extraReducers == "function" ? gq(e.extraReducers) : [e.extraReducers], i = {+ let [t = {}, n = [], r = void 0] = typeof e.extraReducers == "function" ? _q(e.extraReducers) : [e.extraReducers], i = {...t,...o.sliceCaseReducersByType};@@ -76214,12 +76227,12 @@ function wBe({ creators: e } = {}) {function h(t, n = !1) {function r(e) {let i = e[t];- return i === void 0 && n && (i = dq(d, r, m)), i;+ return i === void 0 && n && (i = fq(d, r, m)), i;}function i(t = l) {- return dq(dq(u, n, () => /* @__PURE__ */ new WeakMap()), t, () => {+ return fq(fq(u, n, () => /* @__PURE__ */ new WeakMap()), t, () => {let r = {};- for (let [i, a] of Object.entries(e.selectors ?? {})) r[i] = TBe(a, t, () => dq(d, t, m), n);+ for (let [i, a] of Object.entries(e.selectors ?? {})) r[i] = TBe(a, t, () => fq(d, t, m), n);return r;});}@@ -76260,7 +76273,7 @@ function TBe(e, t, n, r) {}return i.unwrapped = e, i;}-var _q = /* @__PURE__ */ wBe();+var vq = /* @__PURE__ */ wBe();function EBe() {function e(e, t) {return {@@ -76288,10 +76301,10 @@ function EBe() {function DBe({ type: e, reducerName: t, createNotation: n }, r, i) {let a, o;if ("reducer" in r) {- if (n && !kBe(r)) throw Error(Uq(17));+ if (n && !kBe(r)) throw Error(Wq(17));a = r.reducer, o = r.prepare;} else a = r;- i.addCase(e, a).exposeCaseReducer(t, a).exposeAction(t, o ? cq(e, o) : cq(e));+ i.addCase(e, a).exposeCaseReducer(t, a).exposeAction(t, o ? lq(e, o) : lq(e));}function OBe(e) {return e._reducerDefinitionType === "asyncThunk";@@ -76300,35 +76313,35 @@ function kBe(e) {return e._reducerDefinitionType === "reducerWithPrepare";}function ABe({ type: e, reducerName: t }, n, r, i) {- if (!i) throw Error(Uq(18));+ if (!i) throw Error(Wq(18));let { payloadCreator: a, fulfilled: o, pending: s, rejected: c, settled: l, options: u } = n, d = i(e, a, u);r.exposeAction(t, d), o && r.addCase(d.fulfilled, o), s && r.addCase(d.pending, s), c && r.addCase(d.rejected, c), l && r.addMatcher(d.settled, l), r.exposeCaseReducer(t, {- fulfilled: o || vq,- pending: s || vq,- rejected: c || vq,- settled: l || vq+ fulfilled: o || yq,+ pending: s || yq,+ rejected: c || yq,+ settled: l || yq});}-function vq() {}-var jBe = "task", yq = "listener", bq = "completed", xq = "cancelled", MBe = `task-${xq}`, NBe = `task-${bq}`, Sq = `${yq}-${xq}`, PBe = `${yq}-${bq}`, Cq = class {+function yq() {}+var jBe = "task", bq = "listener", xq = "completed", Sq = "cancelled", MBe = `task-${Sq}`, NBe = `task-${xq}`, Cq = `${bq}-${Sq}`, PBe = `${bq}-${xq}`, wq = class {constructor(e) {- this.code = e, this.message = `${jBe} ${xq} (reason: ${e})`;+ this.code = e, this.message = `${jBe} ${Sq} (reason: ${e})`;}code;name = "TaskAbortError";message;-}, wq = (e, t) => {- if (typeof e != "function") throw TypeError(Uq(32));-}, Tq = () => {}, Eq = (e, t = Tq) => (e.catch(t), e), Dq = (e, t) => (e.addEventListener("abort", t, { once: !0 }), () => e.removeEventListener("abort", t)), Oq = (e) => {- if (e.aborted) throw new Cq(e.reason);+}, Tq = (e, t) => {+ if (typeof e != "function") throw TypeError(Wq(32));+}, Eq = () => {}, Dq = (e, t = Eq) => (e.catch(t), e), Oq = (e, t) => (e.addEventListener("abort", t, { once: !0 }), () => e.removeEventListener("abort", t)), kq = (e) => {+ if (e.aborted) throw new wq(e.reason);};-function kq(e, t) {- let n = Tq;+function Aq(e, t) {+ let n = Eq;return new Promise((r, i) => {- let a = () => i(new Cq(e.reason));- e.aborted ? a() : (n = Dq(e, a), t.finally(() => n()).then(r, i));+ let a = () => i(new wq(e.reason));+ e.aborted ? a() : (n = Oq(e, a), t.finally(() => n()).then(r, i));}).finally(() => {- n = Tq;+ n = Eq;});}var FBe = async (e, t) => {@@ -76339,32 +76352,32 @@ var FBe = async (e, t) => {};} catch (e) {return {- status: e instanceof Cq ? "cancelled" : "rejected",+ status: e instanceof wq ? "cancelled" : "rejected",error: e};} finally {t?.();}-}, Aq = (e) => (t) => Eq(kq(e, t).then((t) => (Oq(e), t))), jq = (e) => {- let t = Aq(e);+}, jq = (e) => (t) => Dq(Aq(e, t).then((t) => (kq(e), t))), Mq = (e) => {+ let t = jq(e);return (e) => t(new Promise((t) => setTimeout(t, e)));-}, { assign: Mq } = Object, Nq = {}, Pq = "listenerMiddleware", IBe = (e, t) => {- let n = (t) => Dq(e, () => t.abort(e.reason));+}, { assign: Nq } = Object, Pq = {}, Fq = "listenerMiddleware", IBe = (e, t) => {+ let n = (t) => Oq(e, () => t.abort(e.reason));return (r, i) => {- wq(r, "taskExecutor");+ Tq(r, "taskExecutor");let a = new AbortController();n(a);let o = FBe(async () => {- Oq(e), Oq(a.signal);+ kq(e), kq(a.signal);let t = await r({- pause: Aq(a.signal),- delay: jq(a.signal),+ pause: jq(a.signal),+ delay: Mq(a.signal),signal: a.signal});- return Oq(a.signal), t;+ return kq(a.signal), t;}, () => a.abort(NBe));- return i?.autoJoin && t.push(o.catch(Tq)), {- result: Aq(e)(o),+ return i?.autoJoin && t.push(o.catch(Eq)), {+ result: jq(e)(o),cancel() {a.abort(MBe);}@@ -76372,7 +76385,7 @@ var FBe = async (e, t) => {};}, LBe = (e, t) => {let n = async (n, r) => {- Oq(t);+ kq(t);let i = () => {}, a = [new Promise((t, r) => {let a = e({predicate: n,@@ -76390,26 +76403,26 @@ var FBe = async (e, t) => {})];r != null && a.push(new Promise((e) => setTimeout(e, r, null)));try {- let e = await kq(t, Promise.race(a));- return Oq(t), e;+ let e = await Aq(t, Promise.race(a));+ return kq(t), e;} finally {i();}};- return ((e, t) => Eq(n(e, t)));-}, Fq = (e) => {+ return ((e, t) => Dq(n(e, t)));+}, Iq = (e) => {let { type: t, actionCreator: n, matcher: r, predicate: i, effect: a } = e;- if (t) i = cq(t).match;+ if (t) i = lq(t).match;else if (n) t = n.type, i = n.match;else if (r) i = r;- else if (!i) throw Error(Uq(21));- return wq(a, "options.listener"), {+ else if (!i) throw Error(Wq(21));+ return Tq(a, "options.listener"), {predicate: i,type: t,effect: a};-}, Iq = /* @__PURE__ */ Mq((e) => {- let { type: t, predicate: n, effect: r } = Fq(e);+}, Lq = /* @__PURE__ */ Nq((e) => {+ let { type: t, predicate: n, effect: r } = Iq(e);return {id: xBe(),effect: r,@@ -76417,20 +76430,20 @@ var FBe = async (e, t) => {predicate: n,pending: /* @__PURE__ */ new Set(),unsubscribe: () => {- throw Error(Uq(22));+ throw Error(Wq(22));}};-}, { withTypes: () => Iq }), Lq = (e, t) => {- let { type: n, effect: r, predicate: i } = Fq(t);+}, { withTypes: () => Lq }), Rq = (e, t) => {+ let { type: n, effect: r, predicate: i } = Iq(t);return Array.from(e.values()).find((e) => (typeof n == "string" ? e.type === n : e.predicate === i) && e.effect === r);-}, Rq = (e) => {+}, zq = (e) => {e.pending.forEach((e) => {- e.abort(Sq);+ e.abort(Cq);});}, RBe = (e, t) => () => {- for (let e of t.keys()) Rq(e);+ for (let e of t.keys()) zq(e);e.clear();-}, zq = (e, t, n) => {+}, Bq = (e, t, n) => {try {e(t, n);} catch (e) {@@ -76438,9 +76451,9 @@ var FBe = async (e, t) => {throw e;}, 0);}-}, Bq = /* @__PURE__ */ Mq(/* @__PURE__ */ cq(`${Pq}/add`), { withTypes: () => Bq }), zBe = /* @__PURE__ */ cq(`${Pq}/removeAll`), Vq = /* @__PURE__ */ Mq(/* @__PURE__ */ cq(`${Pq}/remove`), { withTypes: () => Vq }), BBe = (...e) => {- console.error(`${Pq}/error`, ...e);-}, Hq = (e = {}) => {+}, Vq = /* @__PURE__ */ Nq(/* @__PURE__ */ lq(`${Fq}/add`), { withTypes: () => Vq }), zBe = /* @__PURE__ */ lq(`${Fq}/removeAll`), Hq = /* @__PURE__ */ Nq(/* @__PURE__ */ lq(`${Fq}/remove`), { withTypes: () => Hq }), BBe = (...e) => {+ console.error(`${Fq}/error`, ...e);+}, Uq = (e = {}) => {let t = /* @__PURE__ */ new Map(), n = /* @__PURE__ */ new Map(), r = (e) => {let t = n.get(e) ?? 0;n.set(e, t + 1);@@ -76448,28 +76461,28 @@ var FBe = async (e, t) => {let t = n.get(e) ?? 1;t === 1 ? n.delete(e) : n.set(e, t - 1);}, { extra: a, onError: o = BBe } = e;- wq(o, "onError");+ Tq(o, "onError");let s = (e) => (e.unsubscribe = () => t.delete(e.id), t.set(e.id, e), (t) => {- e.unsubscribe(), t?.cancelActive && Rq(e);+ e.unsubscribe(), t?.cancelActive && zq(e);}), c = ((e) => {- let n = Lq(t, e) ?? Iq(e);+ let n = Rq(t, e) ?? Lq(e);return s(n);});- Mq(c, { withTypes: () => c });+ Nq(c, { withTypes: () => c });let l = (e) => {- let n = Lq(t, e);- return n && (n.unsubscribe(), e.cancelActive && Rq(n)), !!n;+ let n = Rq(t, e);+ return n && (n.unsubscribe(), e.cancelActive && zq(n)), !!n;};- Mq(l, { withTypes: () => l });+ Nq(l, { withTypes: () => l });let u = async (e, n, s, l) => {let u = new AbortController(), d = LBe(c, u.signal), f = [];try {- e.pending.add(u), r(e), await Promise.resolve(e.effect(n, Mq({}, s, {+ e.pending.add(u), r(e), await Promise.resolve(e.effect(n, Nq({}, s, {getOriginalState: l,condition: (e, t) => d(e, t).then(Boolean),take: d,- delay: jq(u.signal),- pause: Aq(u.signal),+ delay: Mq(u.signal),+ pause: jq(u.signal),extra: a,signal: u.signal,fork: IBe(u.signal, f),@@ -76479,33 +76492,33 @@ var FBe = async (e, t) => {},cancelActiveListeners: () => {e.pending.forEach((e, t, n) => {- e !== u && (e.abort(Sq), n.delete(e));+ e !== u && (e.abort(Cq), n.delete(e));});},cancel: () => {- u.abort(Sq), e.pending.delete(u);+ u.abort(Cq), e.pending.delete(u);},throwIfCancelled: () => {- Oq(u.signal);+ kq(u.signal);}})));} catch (e) {- e instanceof Cq || zq(o, e, { raisedBy: "effect" });+ e instanceof wq || Bq(o, e, { raisedBy: "effect" });} finally {await Promise.all(f), u.abort(PBe), i(e), e.pending.delete(u);}}, d = RBe(t, n);return {middleware: (e) => (n) => (r) => {- if (!ZG(r)) return n(r);- if (Bq.match(r)) return c(r.payload);+ if (!QG(r)) return n(r);+ if (Vq.match(r)) return c(r.payload);if (zBe.match(r)) {d();return;}- if (Vq.match(r)) return l(r.payload);+ if (Hq.match(r)) return l(r.payload);let i = e.getState(), a = () => {- if (i === Nq) throw Error(Uq(23));+ if (i === Pq) throw Error(Wq(23));return i;}, s;try {@@ -76516,13 +76529,13 @@ var FBe = async (e, t) => {try {s = t.predicate(r, n, i);} catch (e) {- s = !1, zq(o, e, { raisedBy: "predicate" });+ s = !1, Bq(o, e, { raisedBy: "predicate" });}s && u(t, r, e, a);}}} finally {- i = Nq;+ i = Pq;}return s;},@@ -76531,12 +76544,12 @@ var FBe = async (e, t) => {clearListeners: d};};-function Uq(e) {+function Wq(e) {return `Minified Redux Toolkit error #${e}; visit https://redux-toolkit.js.org/Errors?code=${e} for the full message or use the non-minified dev environment for full errors. `;}//#endregion//#region node_modules/recharts/es6/state/layoutSlice.js-var Wq = _q({+var Gq = vq({name: "chartLayout",initialState: {layoutType: "horizontal",@@ -76564,23 +76577,23 @@ var Wq = _q({e.scale = t.payload;}}-}), Gq = Wq.actions, VBe = Gq.setMargin, HBe = Gq.setLayout, UBe = Gq.setChartSize, WBe = Gq.setScale, GBe = Wq.reducer;+}), Kq = Gq.actions, VBe = Kq.setMargin, HBe = Kq.setLayout, UBe = Kq.setChartSize, WBe = Kq.setScale, GBe = Gq.reducer;//#endregion//#region node_modules/recharts/es6/util/getSliced.js-function Kq(e, t, n) {+function qq(e, t, n) {return Array.isArray(e) && e && t + n !== 0 ? e.slice(t, n + 1) : e;}//#endregion//#region node_modules/recharts/es6/util/isWellBehavedNumber.js-function qq(e) {+function Jq(e) {return Number.isFinite(e);}-function Jq(e) {+function Yq(e) {return typeof e == "number" && e > 0 && Number.isFinite(e);}//#endregion//#region node_modules/recharts/es6/util/ChartUtils.js-function Yq(e, t) {+function Xq(e, t) {var n = Object.keys(e);if (Object.getOwnPropertySymbols) {var r = Object.getOwnPropertySymbols(e);@@ -76590,12 +76603,12 @@ function Yq(e, t) {}return n;}-function Xq(e) {+function Zq(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t] == null ? {} : arguments[t];- t % 2 ? Yq(Object(n), !0).forEach(function(t) {+ t % 2 ? Xq(Object(n), !0).forEach(function(t) {KBe(e, t, n[t]);- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Yq(Object(n)).forEach(function(t) {+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Xq(Object(n)).forEach(function(t) {Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));});}@@ -76623,71 +76636,71 @@ function JBe(e, t) {}return (t === "string" ? String : Number)(e);}-function Zq(e, t, n) {- return wU(e) || wU(t) ? n : vU(t) ? dU(e, t, n) : typeof t == "function" ? t(e) : n;+function Qq(e, t, n) {+ return TU(e) || TU(t) ? n : yU(t) ? fU(e, t, n) : typeof t == "function" ? t(e) : n;}var YBe = (e, t, n) => {if (t && n) {var r = n.width, i = n.height, a = t.align, o = t.verticalAlign, s = t.layout, c = t.position, l = t.offset, u = l === void 0 ? 0 : l;if (c != null) {- if (MU(c)) {- if (c === "top" && _U(e.top)) return Xq(Xq({}, e), {}, { top: e.top + (i || 0) + u });- if (c === "bottom" && _U(e.bottom)) return Xq(Xq({}, e), {}, { bottom: e.bottom + (i || 0) + u });- if (c === "left" && _U(e.left)) return Xq(Xq({}, e), {}, { left: e.left + (r || 0) + u });- if (c === "right" && _U(e.right)) return Xq(Xq({}, e), {}, { right: e.right + (r || 0) + u });+ if (NU(c)) {+ if (c === "top" && vU(e.top)) return Zq(Zq({}, e), {}, { top: e.top + (i || 0) + u });+ if (c === "bottom" && vU(e.bottom)) return Zq(Zq({}, e), {}, { bottom: e.bottom + (i || 0) + u });+ if (c === "left" && vU(e.left)) return Zq(Zq({}, e), {}, { left: e.left + (r || 0) + u });+ if (c === "right" && vU(e.right)) return Zq(Zq({}, e), {}, { right: e.right + (r || 0) + u });}return e;}- if ((s === "vertical" || s === "horizontal" && o === "middle") && a !== "center" && _U(e[a])) return Xq(Xq({}, e), {}, { [a]: e[a] + (r || 0) });- if ((s === "horizontal" || s === "vertical" && a === "center") && o !== "middle" && _U(e[o])) return Xq(Xq({}, e), {}, { [o]: e[o] + (i || 0) });+ if ((s === "vertical" || s === "horizontal" && o === "middle") && a !== "center" && vU(e[a])) return Zq(Zq({}, e), {}, { [a]: e[a] + (r || 0) });+ if ((s === "horizontal" || s === "vertical" && a === "center") && o !== "middle" && vU(e[o])) return Zq(Zq({}, e), {}, { [o]: e[o] + (i || 0) });}return e;-}, Qq = (e, t) => e === "horizontal" && t === "xAxis" || e === "vertical" && t === "yAxis" || e === "centric" && t === "angleAxis" || e === "radial" && t === "radiusAxis", $q = (e, t, n, r) => {+}, $q = (e, t) => e === "horizontal" && t === "xAxis" || e === "vertical" && t === "yAxis" || e === "centric" && t === "angleAxis" || e === "radial" && t === "radiusAxis", eJ = (e, t, n, r) => {if (r) return e.map((e) => e.coordinate);var i, a, o = e.map((e) => (e.coordinate === t && (i = !0), e.coordinate === n && (a = !0), e.coordinate));return i || o.push(t), a || o.push(n), o;-}, eJ = (e, t, n) => {+}, tJ = (e, t, n) => {if (!e) return null;var r = e.duplicateDomain, i = e.type, a = e.range, o = e.scale, s = e.realScaleType, c = e.isCategorical, l = e.categoricalDomain, u = e.tickCount, d = e.ticks, f = e.niceTicks, p = e.axisType;if (!o) return null;var m = s === "scaleBand" && o.bandwidth ? o.bandwidth() / 2 : 2, h = (t || n) && i === "category" && o.bandwidth ? o.bandwidth() / m : 0;- return h = p === "angleAxis" && a && a.length >= 2 ? mU(a[0] - a[1]) * 2 * h : h, t && (d || f) ? (d || f || []).map((e, t) => {+ return h = p === "angleAxis" && a && a.length >= 2 ? hU(a[0] - a[1]) * 2 * h : h, t && (d || f) ? (d || f || []).map((e, t) => {var n = r ? r.indexOf(e) : e, i = o.map(n);- return qq(i) ? {+ return Jq(i) ? {coordinate: i + h,value: e,offset: h,index: t} : null;- }).filter(EU) : c && l ? l.map((e, t) => {+ }).filter(DU) : c && l ? l.map((e, t) => {var n = o.map(e);- return qq(n) ? {+ return Jq(n) ? {coordinate: n + h,value: e,index: t,offset: h} : null;- }).filter(EU) : o.ticks && !n && u != null ? o.ticks(u).map((e, t) => {+ }).filter(DU) : o.ticks && !n && u != null ? o.ticks(u).map((e, t) => {var n = o.map(e);- return qq(n) ? {+ return Jq(n) ? {coordinate: n + h,value: e,index: t,offset: h} : null;- }).filter(EU) : o.domain().map((e, t) => {+ }).filter(DU) : o.domain().map((e, t) => {var n = o.map(e);- return qq(n) ? {+ return Jq(n) ? {coordinate: n + h,value: r ? r[e] : e,index: t,offset: h} : null;- }).filter(EU);-}, tJ = (e, t) => {- if (!t || t.length !== 2 || !_U(t[0]) || !_U(t[1])) return e;+ }).filter(DU);+}, nJ = (e, t) => {+ if (!t || t.length !== 2 || !vU(t[0]) || !vU(t[1])) return e;var n = Math.min(t[0], t[1]), r = Math.max(t[0], t[1]), i = [e[0], e[1]];- return (!_U(e[0]) || e[0] < n) && (i[0] = n), (!_U(e[1]) || e[1] > r) && (i[1] = r), i[0] > r && (i[0] = r), i[1] < n && (i[1] = n), i;+ return (!vU(e[0]) || e[0] < n) && (i[0] = n), (!vU(e[1]) || e[1] > r) && (i[1] = r), i[0] > r && (i[0] = r), i[1] < n && (i[1] = n), i;}, XBe = {sign: (e) => {var t = e.length;@@ -76696,14 +76709,14 @@ var YBe = (e, t, n) => {if (!(n == null || n <= 0)) for (var r = 0; r < n; ++r) for (var i = 0, a = 0, o = 0; o < t; ++o) {var s = e[o]?.[r];if (s != null) {- var c = s[1], l = s[0], u = hU(c) ? l : c;+ var c = s[1], l = s[0], u = gU(c) ? l : c;u >= 0 ? (s[0] = i, i += u, s[1] = i) : (s[0] = a, a += u, s[1] = a);}}}},expand: TRe,- none: CW,+ none: wW,silhouette: ERe,wiggle: DRe,positive: (e) => {@@ -76713,44 +76726,44 @@ var YBe = (e, t, n) => {if (!(n == null || n <= 0)) for (var r = 0; r < n; ++r) for (var i = 0, a = 0; a < t; ++a) {var o = e[a]?.[r];if (o != null) {- var s = hU(o[1]) ? o[0] : o[1];+ var s = gU(o[1]) ? o[0] : o[1];s >= 0 ? (o[0] = i, i += s, o[1] = i) : (o[0] = 0, o[1] = 0);}}}}}, ZBe = (e, t, n) => {- var r = XBe[n] ?? CW, i = wRe().keys(t).value((e, t) => Number(Zq(e, t, 0))).order(wW).offset(r)(e);+ var r = XBe[n] ?? wW, i = wRe().keys(t).value((e, t) => Number(Qq(e, t, 0))).order(TW).offset(r)(e);return i.forEach((n, r) => {n.forEach((n, i) => {- var a = Zq(e[i], t[r], 0);- Array.isArray(a) && a.length === 2 && _U(a[0]) && _U(a[1]) && (n[0] = a[0], n[1] = a[1]);+ var a = Qq(e[i], t[r], 0);+ Array.isArray(a) && a.length === 2 && vU(a[0]) && vU(a[1]) && (n[0] = a[0], n[1] = a[1]);});}), i;};-function nJ(e) {+function rJ(e) {return e == null ? void 0 : String(e);}-function rJ(e) {+function iJ(e) {var t = e.axis, n = e.ticks, r = e.bandSize, i = e.entry, a = e.index, o = e.dataKey;if (t.type === "category") {- if (!t.allowDuplicatedCategory && t.dataKey && !wU(i[t.dataKey])) {- var s = CU(n, "value", i[t.dataKey]);+ if (!t.allowDuplicatedCategory && t.dataKey && !TU(i[t.dataKey])) {+ var s = wU(n, "value", i[t.dataKey]);if (s) return s.coordinate + r / 2;}return n != null && n[a] ? n[a].coordinate + r / 2 : null;}- var c = Zq(i, wU(o) ? t.dataKey : o), l = t.scale.map(c);- return _U(l) ? l : null;+ var c = Qq(i, TU(o) ? t.dataKey : o), l = t.scale.map(c);+ return vU(l) ? l : null;}-var iJ = (e) => {+var aJ = (e) => {var t = e.axis, n = e.ticks, r = e.offset, i = e.bandSize, a = e.entry, o = e.index;if (t.type === "category") return n[o] ? n[o].coordinate + r : null;- var s = Zq(a, t.dataKey, t.scale.domain()[o]);- if (wU(s)) return null;+ var s = Qq(a, t.dataKey, t.scale.domain()[o]);+ if (TU(s)) return null;var c = t.scale.map(s);- return _U(c) ? c - i / 2 + r : null;-}, aJ = (e) => {+ return vU(c) ? c - i / 2 + r : null;+}, oJ = (e) => {var t = e.numericAxis, n = t.scale.domain();if (t.type === "number") {var r = Math.min(n[0], n[1]), i = Math.max(n[0], n[1]);@@ -76758,25 +76771,25 @@ var iJ = (e) => {}return n[0];}, QBe = (e) => {- var t = e.flat(2).filter(_U);+ var t = e.flat(2).filter(vU);return [Math.min(...t), Math.max(...t)];}, $Be = (e) => [e[0] === Infinity ? 0 : e[0], e[1] === -Infinity ? 0 : e[1]], eVe = (e, t, n) => {if (e != null && Object.keys(e).length !== 0) return $Be(Object.keys(e).reduce((r, i) => {var a = e[i];if (!a) return r;var o = a.stackedData.reduce((e, r) => {- var i = QBe(Kq(r, t, n));- return !qq(i[0]) || !qq(i[1]) ? e : [Math.min(e[0], i[0]), Math.max(e[1], i[1])];+ var i = QBe(qq(r, t, n));+ return !Jq(i[0]) || !Jq(i[1]) ? e : [Math.min(e[0], i[0]), Math.max(e[1], i[1])];}, [Infinity, -Infinity]);return [Math.min(o[0], r[0]), Math.max(o[1], r[1])];}, [Infinity, -Infinity]));-}, oJ = /^dataMin[\s]*-[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/, sJ = /^dataMax[\s]*\+[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/, cJ = (e, t, n) => {+}, sJ = /^dataMin[\s]*-[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/, cJ = /^dataMax[\s]*\+[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/, lJ = (e, t, n) => {if (e && e.scale && e.scale.bandwidth) {var r = e.scale.bandwidth();if (!n || r > 0) return r;}if (e && t && t.length >= 2) {- for (var i = IG(t, (e) => e.coordinate), a = [], o = 0, s = 1, c = i.length; s < c; s++) {+ for (var i = LG(t, (e) => e.coordinate), a = [], o = 0, s = 1, c = i.length; s < c; s++) {var l = (i[s]?.coordinate || 0) - (i[s - 1]?.coordinate || 0);a.push(l), o = Math.max(l, o);}@@ -76786,26 +76799,26 @@ var iJ = (e) => {}return n ? void 0 : 0;};-function lJ(e) {+function uJ(e) {var t = e.tooltipEntrySettings, n = e.dataKey, r = e.payload, i = e.value, a = e.name;- return Xq(Xq({}, t), {}, {+ return Zq(Zq({}, t), {}, {dataKey: n,payload: r,value: i,name: a});}-function uJ(e, t) {+function dJ(e, t) {if (e != null) return String(e);if (typeof t == "string") return t;}var tVe = (e, t) => {if (t === "horizontal") return e.relativeX;if (t === "vertical") return e.relativeY;-}, nVe = (e, t) => t === "centric" ? e.angle : e.radius, dJ = (e) => e.layout.width, fJ = (e) => e.layout.height, rVe = (e) => e.layout.scale, pJ = (e) => e.layout.margin, mJ = Y((e) => e.cartesianAxis.xAxis, (e) => Object.values(e)), hJ = Y((e) => e.cartesianAxis.yAxis, (e) => Object.values(e)), iVe = "data-recharts-item-index";+}, nVe = (e, t) => t === "centric" ? e.angle : e.radius, fJ = (e) => e.layout.width, pJ = (e) => e.layout.height, rVe = (e) => e.layout.scale, mJ = (e) => e.layout.margin, hJ = Y((e) => e.cartesianAxis.xAxis, (e) => Object.values(e)), gJ = Y((e) => e.cartesianAxis.yAxis, (e) => Object.values(e)), iVe = "data-recharts-item-index";//#endregion//#region node_modules/recharts/es6/state/selectors/selectChartOffsetInternal.js-function gJ(e, t) {+function _J(e, t) {var n = Object.keys(e);if (Object.getOwnPropertySymbols) {var r = Object.getOwnPropertySymbols(e);@@ -76815,12 +76828,12 @@ function gJ(e, t) {}return n;}-function _J(e) {+function vJ(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t] == null ? {} : arguments[t];- t % 2 ? gJ(Object(n), !0).forEach(function(t) {+ t % 2 ? _J(Object(n), !0).forEach(function(t) {aVe(e, t, n[t]);- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : gJ(Object(n)).forEach(function(t) {+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : _J(Object(n)).forEach(function(t) {Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));});}@@ -76850,61 +76863,61 @@ function sVe(e, t) {}var cVe = (e) => e.brush.height;function lVe(e) {- return hJ(e).reduce((e, t) => t.orientation === "left" && !t.mirror && !t.hide ? e + (typeof t.width == "number" ? t.width : 60) : e, 0);+ return gJ(e).reduce((e, t) => t.orientation === "left" && !t.mirror && !t.hide ? e + (typeof t.width == "number" ? t.width : 60) : e, 0);}function uVe(e) {- return hJ(e).reduce((e, t) => t.orientation === "right" && !t.mirror && !t.hide ? e + (typeof t.width == "number" ? t.width : 60) : e, 0);+ return gJ(e).reduce((e, t) => t.orientation === "right" && !t.mirror && !t.hide ? e + (typeof t.width == "number" ? t.width : 60) : e, 0);}function dVe(e) {- return mJ(e).reduce((e, t) => t.orientation === "top" && !t.mirror && !t.hide ? e + (typeof t.height == "number" ? t.height : 30) : e, 0);+ return hJ(e).reduce((e, t) => t.orientation === "top" && !t.mirror && !t.hide ? e + (typeof t.height == "number" ? t.height : 30) : e, 0);}function fVe(e) {- return mJ(e).reduce((e, t) => t.orientation === "bottom" && !t.mirror && !t.hide ? e + (typeof t.height == "number" ? t.height : 30) : e, 0);+ return hJ(e).reduce((e, t) => t.orientation === "bottom" && !t.mirror && !t.hide ? e + (typeof t.height == "number" ? t.height : 30) : e, 0);}-var vJ = Y([- dJ,+var yJ = Y([fJ,pJ,+ mJ,cVe,lVe,uVe,dVe,fVe,- LG,+ RG,Bze], (e, t, n, r, i, a, o, s, c, l) => {var u = {left: (n.left || 0) + i,right: (n.right || 0) + a- }, d = _J(_J({}, {+ }, d = vJ(vJ({}, {top: (n.top || 0) + o,bottom: (n.bottom || 0) + s}), u), f = d.bottom;d.bottom += r, d = YBe(d, c, l);var p = e - d.left - d.right, m = t - d.top - d.bottom;- return _J(_J({ brushBottom: f }, d), {}, {+ return vJ(vJ({ brushBottom: f }, d), {}, {width: Math.max(p, 0),height: Math.max(m, 0)});-}), yJ = Y(vJ, (e) => ({+}), bJ = Y(yJ, (e) => ({x: e.left,y: e.top,width: e.width,height: e.height-})), bJ = Y(dJ, fJ, (e, t) => ({+})), xJ = Y(fJ, pJ, (e, t) => ({x: 0,y: 0,width: e,height: t-})), pVe = /*#__PURE__*/ (0, b.createContext)(null), xJ = () => (0, b.useContext)(pVe) != null, SJ = (e) => e.brush, CJ = Y([- SJ,- vJ,- pJ+})), pVe = /*#__PURE__*/ (0, b.createContext)(null), SJ = () => (0, b.useContext)(pVe) != null, CJ = (e) => e.brush, wJ = Y([+ CJ,+ yJ,+ mJ], (e, t, n) => ({height: e.height,- x: _U(e.x) ? e.x : t.left,- y: _U(e.y) ? e.y : t.top + t.height + t.brushBottom - (n?.bottom || 0),- width: _U(e.width) ? e.width : t.width+ x: vU(e.x) ? e.x : t.left,+ y: vU(e.y) ? e.y : t.top + t.height + t.brushBottom - (n?.bottom || 0),+ width: vU(e.width) ? e.width : t.width}));//#endregion//#region node_modules/es-toolkit/dist/function/debounce.mjs@@ -76956,7 +76969,7 @@ function gVe(e, t = 0, n = {}) {}//#endregion//#region node_modules/recharts/es6/util/LogUtils.js-var wJ = function(e, t) {+var TJ = function(e, t) {var n = [...arguments].slice(2);if (typeof console < "u" && console.warn && (t === void 0 && console.warn("LogUtils requires an error message argument"), !e)) {if (t === void 0) console.warn("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");@@ -76965,7 +76978,7 @@ var wJ = function(e, t) {console.warn(t.replace(/%s/g, () => n[r++]));}}-}, TJ = {+}, EJ = {width: "100%",height: "100%",debounce: 0,@@ -76974,8 +76987,8 @@ var wJ = function(e, t) {width: -1,height: -1}-}, EJ = (e, t, n) => {- var r = n.width, i = r === void 0 ? TJ.width : r, a = n.height, o = a === void 0 ? TJ.height : a, s = n.aspect, c = n.maxHeight, l = gU(i) ? e : Number(i), u = gU(o) ? t : Number(o);+}, DJ = (e, t, n) => {+ var r = n.width, i = r === void 0 ? EJ.width : r, a = n.height, o = a === void 0 ? EJ.height : a, s = n.aspect, c = n.maxHeight, l = _U(i) ? e : Number(i), u = _U(o) ? t : Number(o);return s && s > 0 && (l ? u = l / s : u && (l = u * s), c && u != null && u > c && (u = c)), {calculatedWidth: l,calculatedHeight: u@@ -76991,12 +77004,12 @@ var wJ = function(e, t) {height: 0,overflowY: "visible"}, bVe = {}, xVe = (e) => {- var t = e.width, n = e.height, r = gU(t), i = gU(n);+ var t = e.width, n = e.height, r = _U(t), i = _U(n);return r && i ? _Ve : r ? vVe : i ? yVe : bVe;};function SVe(e) {var t = e.width, n = e.height, r = e.aspect, i = t, a = n;- return i === void 0 && a === void 0 ? (i = TJ.width, a = TJ.height) : i === void 0 ? i = r && r > 0 ? void 0 : TJ.width : a === void 0 && (a = r && r > 0 ? void 0 : TJ.height), {+ return i === void 0 && a === void 0 ? (i = EJ.width, a = EJ.height) : i === void 0 ? i = r && r > 0 ? void 0 : EJ.width : a === void 0 && (a = r && r > 0 ? void 0 : EJ.height), {width: i,height: a};@@ -77018,16 +77031,16 @@ var CVe = ["onResize","style"];-function DJ() {- return DJ = Object.assign ? Object.assign.bind() : function(e) {+function OJ() {+ return OJ = Object.assign ? Object.assign.bind() : function(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t];for (var r in n) ({}).hasOwnProperty.call(n, r) && (e[r] = n[r]);}return e;- }, DJ.apply(null, arguments);+ }, OJ.apply(null, arguments);}-function OJ(e, t) {+function kJ(e, t) {var n = Object.keys(e);if (Object.getOwnPropertySymbols) {var r = Object.getOwnPropertySymbols(e);@@ -77037,12 +77050,12 @@ function OJ(e, t) {}return n;}-function kJ(e) {+function AJ(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t] == null ? {} : arguments[t];- t % 2 ? OJ(Object(n), !0).forEach(function(t) {+ t % 2 ? kJ(Object(n), !0).forEach(function(t) {wVe(e, t, n[t]);- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : OJ(Object(n)).forEach(function(t) {+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : kJ(Object(n)).forEach(function(t) {Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));});}@@ -77078,12 +77091,12 @@ function OVe() {}function kVe(e, t) {if (e) {- if (typeof e == "string") return AJ(e, t);+ if (typeof e == "string") return jJ(e, t);var n = {}.toString.call(e).slice(8, -1);- return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? AJ(e, t) : void 0;+ return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? jJ(e, t) : void 0;}}-function AJ(e, t) {+function jJ(e, t) {(t == null || t > e.length) && (t = e.length);for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];return r;@@ -77130,19 +77143,19 @@ function NVe(e, t) {}return n;}-var jJ = /*#__PURE__*/ (0, b.createContext)(TJ.initialDimension);+var MJ = /*#__PURE__*/ (0, b.createContext)(EJ.initialDimension);function PVe(e) {- return Jq(e.width) && Jq(e.height);+ return Yq(e.width) && Yq(e.height);}-function MJ(e) {+function NJ(e) {var t = e.children, n = e.width, r = e.height, i = (0, b.useMemo)(() => ({width: n,height: r}), [n, r]);- return PVe(i) ? /*#__PURE__*/ b.createElement(jJ.Provider, { value: i }, t) : null;+ return PVe(i) ? /*#__PURE__*/ b.createElement(MJ.Provider, { value: i }, t) : null;}-var NJ = () => (0, b.useContext)(jJ), FVe = /*#__PURE__*/ (0, b.forwardRef)((e, t) => {- var n = e.aspect, r = e.initialDimension, i = r === void 0 ? TJ.initialDimension : r, a = e.width, o = e.height, s = e.minWidth, c = s === void 0 ? TJ.minWidth : s, l = e.minHeight, u = e.maxHeight, d = e.children, f = e.debounce, p = f === void 0 ? TJ.debounce : f, m = e.id, h = e.className, g = e.onResize, _ = e.style, v = _ === void 0 ? {} : _, y = MVe(e, CVe), x = (0, b.useRef)(null), S = (0, b.useRef)();+var PJ = () => (0, b.useContext)(MJ), FVe = /*#__PURE__*/ (0, b.forwardRef)((e, t) => {+ var n = e.aspect, r = e.initialDimension, i = r === void 0 ? EJ.initialDimension : r, a = e.width, o = e.height, s = e.minWidth, c = s === void 0 ? EJ.minWidth : s, l = e.minHeight, u = e.maxHeight, d = e.children, f = e.debounce, p = f === void 0 ? EJ.debounce : f, m = e.id, h = e.className, g = e.onResize, _ = e.style, v = _ === void 0 ? {} : _, y = MVe(e, CVe), x = (0, b.useRef)(null), S = (0, b.useRef)();S.current = g, (0, b.useImperativeHandle)(t, () => x.current);var C = DVe((0, b.useState)({containerWidth: i.width,@@ -77157,7 +77170,7 @@ var NJ = () => (0, b.useContext)(jJ), FVe = /*#__PURE__*/ (0, b.forwardRef)((e,});}, []);(0, b.useEffect)(() => {- if (x.current == null || typeof ResizeObserver > "u") return DU;+ if (x.current == null || typeof ResizeObserver > "u") return OU;var e = (e) => {var t, n = e[0];if (n != null) {@@ -77175,17 +77188,17 @@ var NJ = () => (0, b.useContext)(jJ), FVe = /*#__PURE__*/ (0, b.forwardRef)((e,};}, [E, p]);var D = w.containerWidth, O = w.containerHeight;- wJ(!n || n > 0, "The aspect(%s) must be greater than zero.", n);- var k = EJ(D, O, {+ TJ(!n || n > 0, "The aspect(%s) must be greater than zero.", n);+ var k = DJ(D, O, {width: a,height: o,aspect: n,maxHeight: u}), A = k.calculatedWidth, j = k.calculatedHeight;- return wJ(D < 0 || O < 0 || A != null && A > 0 || j != null && j > 0, "The width(%s) and height(%s) of chart should be greater than 0,\n please check the style of container, or the props width(%s) and height(%s),\n or add a minWidth(%s) or minHeight(%s) or use aspect(%s) to control the\n height and width.", A, j, a, o, c, l, n), /*#__PURE__*/ b.createElement("div", DJ({+ return TJ(D < 0 || O < 0 || A != null && A > 0 || j != null && j > 0, "The width(%s) and height(%s) of chart should be greater than 0,\n please check the style of container, or the props width(%s) and height(%s),\n or add a minWidth(%s) or minHeight(%s) or use aspect(%s) to control the\n height and width.", A, j, a, o, c, l, n), /*#__PURE__*/ b.createElement("div", OJ({id: m ? `${m}` : void 0,className: hy("recharts-responsive-container", h),- style: kJ(kJ({}, v), {}, {+ style: AJ(AJ({}, v), {}, {width: a,height: o,minWidth: c,@@ -77196,33 +77209,33 @@ var NJ = () => (0, b.useContext)(jJ), FVe = /*#__PURE__*/ (0, b.forwardRef)((e,}, y), /*#__PURE__*/ b.createElement("div", { style: xVe({width: a,height: o- }) }, /*#__PURE__*/ b.createElement(MJ, {+ }) }, /*#__PURE__*/ b.createElement(NJ, {width: A,height: j}, d)));-}), PJ = /*#__PURE__*/ (0, b.forwardRef)((e, t) => {- var n = NJ();- if (Jq(n.width) && Jq(n.height)) return e.children;+}), FJ = /*#__PURE__*/ (0, b.forwardRef)((e, t) => {+ var n = PJ();+ if (Yq(n.width) && Yq(n.height)) return e.children;var r = SVe({width: e.width,height: e.height,aspect: e.aspect- }), i = r.width, a = r.height, o = EJ(void 0, void 0, {+ }), i = r.width, a = r.height, o = DJ(void 0, void 0, {width: i,height: a,aspect: e.aspect,maxHeight: e.maxHeight}), s = o.calculatedWidth, c = o.calculatedHeight;- return _U(s) && _U(c) ? /*#__PURE__*/ b.createElement(MJ, {+ return vU(s) && vU(c) ? /*#__PURE__*/ b.createElement(NJ, {width: s,height: c- }, e.children) : /*#__PURE__*/ b.createElement(FVe, DJ({}, e, {+ }, e.children) : /*#__PURE__*/ b.createElement(FVe, OJ({}, e, {width: i,height: a,ref: t}));-}), FJ = () => {- var e = xJ(), t = J(yJ), n = J(CJ), r = J(SJ)?.padding;+}), IJ = () => {+ var e = SJ(), t = J(bJ), n = J(wJ), r = J(CJ)?.padding;return !e || !n || !r ? t : {width: n.width - r.left - r.right,height: n.height - r.top - r.bottom,@@ -77237,16 +77250,16 @@ var NJ = () => (0, b.useContext)(jJ), FVe = /*#__PURE__*/ (0, b.forwardRef)((e,width: 0,height: 0,brushBottom: 0-}, IJ = () => J(vJ) ?? IVe, LJ = () => J(dJ), RJ = () => J(fJ), LVe = () => J((e) => e.layout.margin), zJ = (e) => e.layout.layoutType, BJ = () => J(zJ), VJ = () => {- var e = BJ();+}, LJ = () => J(yJ) ?? IVe, RJ = () => J(fJ), zJ = () => J(pJ), LVe = () => J((e) => e.layout.margin), BJ = (e) => e.layout.layoutType, VJ = () => J(BJ), HJ = () => {+ var e = VJ();if (e === "horizontal" || e === "vertical") return e;-}, HJ = (e) => {+}, UJ = (e) => {var t = e.layout.layoutType;if (t === "centric" || t === "radial") return t;-}, UJ = () => J(HJ), RVe = () => BJ() !== void 0, WJ = (e) => {- var t = DG(), n = xJ(), r = e.width, i = e.height, a = NJ(), o = r, s = i;+}, WJ = () => J(UJ), RVe = () => VJ() !== void 0, GJ = (e) => {+ var t = OG(), n = SJ(), r = e.width, i = e.height, a = PJ(), o = r, s = i;return a && (o = a.width > 0 ? a.width : r, s = a.height > 0 ? a.height : i), (0, b.useEffect)(() => {- !n && Jq(o) && Jq(s) && t(UBe({+ !n && Yq(o) && Yq(s) && t(UBe({width: o,height: s}));@@ -77256,7 +77269,7 @@ var NJ = () => (0, b.useContext)(jJ), FVe = /*#__PURE__*/ (0, b.forwardRef)((e,o,s]), null;-}, GJ = _q({+}, KJ = vq({name: "legend",initialState: {settings: {@@ -77282,26 +77295,26 @@ var NJ = () => (0, b.useContext)(jJ), FVe = /*#__PURE__*/ (0, b.forwardRef)((e,},addLegendPayload: {reducer(e, t) {- e.payload.push(oq(t.payload));+ e.payload.push(sq(t.payload));},- prepare: pq()+ prepare: mq()},replaceLegendPayload: {reducer(e, t) {- var n = t.payload, r = n.prev, i = n.next, a = rq(e).payload.indexOf(oq(r));- a > -1 && (e.payload[a] = oq(i));+ var n = t.payload, r = n.prev, i = n.next, a = iq(e).payload.indexOf(sq(r));+ a > -1 && (e.payload[a] = sq(i));},- prepare: pq()+ prepare: mq()},removeLegendPayload: {reducer(e, t) {- var n = rq(e).payload.indexOf(oq(t.payload));+ var n = iq(e).payload.indexOf(sq(t.payload));n > -1 && e.payload.splice(n, 1);},- prepare: pq()+ prepare: mq()}}-}), KJ = GJ.actions, qJ = KJ.setLegendSize, zVe = KJ.setLegendSettings, JJ = KJ.addLegendPayload, YJ = KJ.replaceLegendPayload, XJ = KJ.removeLegendPayload, BVe = GJ.reducer, VVe = /* @__PURE__ */ o(((e) => {+}), qJ = KJ.actions, JJ = qJ.setLegendSize, zVe = qJ.setLegendSettings, YJ = qJ.addLegendPayload, XJ = qJ.replaceLegendPayload, ZJ = qJ.removeLegendPayload, BVe = KJ.reducer, VVe = /* @__PURE__ */ o(((e) => {var t = d();t.useSyncExternalStore, t.useRef, t.useEffect, t.useMemo, t.useDebugValue;}));@@ -77340,12 +77353,12 @@ function UVe() {}};}-var ZJ = {+var QJ = {notify() {},get: () => []};function WVe(e, t) {- let n, r = ZJ, i = 0, a = !1;+ let n, r = QJ, i = 0, a = !1;function o(e) {u();let t = r.subscribe(e), n = !1;@@ -77366,7 +77379,7 @@ function WVe(e, t) {i++, n || (n = t ? t.addNestedSub(c) : e.subscribe(c), r = UVe());}function d() {- i--, n && i === 0 && (n(), n = void 0, r.clear(), r = ZJ);+ i--, n && i === 0 && (n(), n = void 0, r.clear(), r = QJ);}function f() {a || (a = !0, u());@@ -77386,15 +77399,15 @@ function WVe(e, t) {return m;}var GVe = typeof window < "u" && window.document !== void 0 && window.document.createElement !== void 0, KVe = typeof navigator < "u" && navigator.product === "ReactNative", qVe = GVe || KVe ? b.useLayoutEffect : b.useEffect;-function QJ(e, t) {+function $J(e, t) {return e === t ? e !== 0 || t !== 0 || 1 / e == 1 / t : e !== e && t !== t;}function JVe(e, t) {- if (QJ(e, t)) return !0;+ if ($J(e, t)) return !0;if (typeof e != "object" || !e || typeof t != "object" || !t) return !1;let n = Object.keys(e), r = Object.keys(t);if (n.length !== r.length) return !1;- for (let r = 0; r < n.length; r++) if (!Object.prototype.hasOwnProperty.call(t, n[r]) || !QJ(e[n[r]], t[n[r]])) return !1;+ for (let r = 0; r < n.length; r++) if (!Object.prototype.hasOwnProperty.call(t, n[r]) || !$J(e[n[r]], t[n[r]])) return !1;return !0;}var YVe = /* @__PURE__ */ Symbol.for("react-redux-context"), XVe = typeof globalThis < "u" ? globalThis : {};@@ -77448,7 +77461,7 @@ var eHe = $Ve, tHe = /* @__PURE__ */ new Set([function nHe(e, t) {return e == null && t == null ? !0 : typeof e == "number" && typeof t == "number" ? e === t || e !== e && t !== t : e === t;}-function $J(e, t) {+function eY(e, t) {for (var n of /* @__PURE__ */ new Set([...Object.keys(e), ...Object.keys(t)])) if (tHe.has(n)) {if (e[n] == null && t[n] == null) continue;if (!JVe(e[n], t[n])) return !1;@@ -77458,9 +77471,9 @@ function $J(e, t) {//#endregion//#region node_modules/recharts/es6/state/selectors/selectLegendArea.jsvar rHe = Y([- dJ,fJ,- pJ+ pJ,+ mJ], (e, t, n) => ({x: n.left || 0,y: n.top || 0,@@ -77483,14 +77496,14 @@ function iHe(e, t) {//#endregion//#region node_modules/recharts/es6/component/Legend.jsvar aHe = ["contextPayload"];-function eY() {- return eY = Object.assign ? Object.assign.bind() : function(e) {+function tY() {+ return tY = Object.assign ? Object.assign.bind() : function(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t];for (var r in n) ({}).hasOwnProperty.call(n, r) && (e[r] = n[r]);}return e;- }, eY.apply(null, arguments);+ }, tY.apply(null, arguments);}function oHe(e, t) {return uHe(e) || lHe(e, t) || cHe(e, t) || sHe();@@ -77500,12 +77513,12 @@ function sHe() {}function cHe(e, t) {if (e) {- if (typeof e == "string") return tY(e, t);+ if (typeof e == "string") return nY(e, t);var n = {}.toString.call(e).slice(8, -1);- return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? tY(e, t) : void 0;+ return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? nY(e, t) : void 0;}}-function tY(e, t) {+function nY(e, t) {(t == null || t > e.length) && (t = e.length);for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];return r;@@ -77534,7 +77547,7 @@ function lHe(e, t) {function uHe(e) {if (Array.isArray(e)) return e;}-function nY(e, t) {+function rY(e, t) {var n = Object.keys(e);if (Object.getOwnPropertySymbols) {var r = Object.getOwnPropertySymbols(e);@@ -77544,12 +77557,12 @@ function nY(e, t) {}return n;}-function rY(e) {+function iY(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t] == null ? {} : arguments[t];- t % 2 ? nY(Object(n), !0).forEach(function(t) {+ t % 2 ? rY(Object(n), !0).forEach(function(t) {dHe(e, t, n[t]);- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : nY(Object(n)).forEach(function(t) {+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : rY(Object(n)).forEach(function(t) {Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));});}@@ -77599,24 +77612,24 @@ function gHe(e) {return e.value;}function _He(e) {- var t = e.contextPayload, n = mHe(e, aHe), r = TG(t, e.payloadUniqBy, gHe), i = rY(rY({}, n), {}, { payload: r });+ var t = e.contextPayload, n = mHe(e, aHe), r = EG(t, e.payloadUniqBy, gHe), i = iY(iY({}, n), {}, { payload: r });return /*#__PURE__*/ b.isValidElement(e.content) ? /*#__PURE__*/ b.cloneElement(e.content, i) : typeof e.content == "function" ? /*#__PURE__*/ b.createElement(e.content, i) : /*#__PURE__*/ b.createElement(XRe, i);}function vHe(e) {return e === "left" || e === "right" || e === "insideLeft" || e === "insideRight" ? "vertical" : "horizontal";}function yHe(e, t) {- return t == null ? null : MU(t) ? rHe(e) : yJ(e);+ return t == null ? null : NU(t) ? rHe(e) : bJ(e);}function bHe(e, t, n) {return e === "top" ? { top: n.height + t } : e === "bottom" ? { top: -n.height - t } : e === "left" ? { left: n.width + t } : e === "right" ? { left: -n.width - t } : {};}function xHe(e, t, n, r, i, a) {var o = t.layout, s = t.align, c = t.verticalAlign, l, u;- return (!e || (e.left === void 0 || e.left === null) && (e.right === void 0 || e.right === null)) && (l = s === "center" && o === "vertical" ? { left: ((r || 0) - a.width) / 2 } : s === "right" ? { right: n && n.right || 0 } : { left: n && n.left || 0 }), (!e || (e.top === void 0 || e.top === null) && (e.bottom === void 0 || e.bottom === null)) && (u = c === "middle" ? { top: ((i || 0) - a.height) / 2 } : c === "bottom" ? { bottom: n && n.bottom || 0 } : { top: n && n.top || 0 }), rY(rY({}, l), u);+ return (!e || (e.left === void 0 || e.left === null) && (e.right === void 0 || e.right === null)) && (l = s === "center" && o === "vertical" ? { left: ((r || 0) - a.width) / 2 } : s === "right" ? { right: n && n.right || 0 } : { left: n && n.left || 0 }), (!e || (e.top === void 0 || e.top === null) && (e.bottom === void 0 || e.bottom === null)) && (u = c === "middle" ? { top: ((i || 0) - a.height) / 2 } : c === "bottom" ? { bottom: n && n.bottom || 0 } : { top: n && n.top || 0 }), iY(iY({}, l), u);}function SHe(e) {- var t = e.align, n = e.layout, r = e.verticalAlign, i = e.itemSorter, a = e.position, o = e.offset, s = DG();+ var t = e.align, n = e.layout, r = e.verticalAlign, i = e.itemSorter, a = e.position, o = e.offset, s = OG();return (0, b.useLayoutEffect)(() => {s(zVe({align: t,@@ -77637,9 +77650,9 @@ function SHe(e) {]), null;}function CHe(e) {- var t = e.width, n = e.height, r = DG();+ var t = e.width, n = e.height, r = OG();return (0, b.useLayoutEffect)(() => {- r(qJ({+ r(JJ({width: t,height: n}));@@ -77648,7 +77661,7 @@ function CHe(e) {t,n]), (0, b.useLayoutEffect)(() => () => {- r(qJ({+ r(JJ({width: 0,height: 0}));@@ -77668,9 +77681,9 @@ var THe = {offset: 0};function EHe(e) {- var t = PW(e, THe), n = e.layout && e.layout !== "auto" ? e.layout : vHe(t.position), r = Hze(), i = YLe(), a = LVe(), o = J((e) => yHe(e, t.position)), s = t.width, c = t.height, l = t.wrapperStyle, u = t.portal, d = u == null && (t.position == null || MU(t.position)), f = oHe(HG([r]), 2), p = f[0], m = f[1], h = LJ(), g = RJ();+ var t = FW(e, THe), n = e.layout && e.layout !== "auto" ? e.layout : vHe(t.position), r = Hze(), i = YLe(), a = LVe(), o = J((e) => yHe(e, t.position)), s = t.width, c = t.height, l = t.wrapperStyle, u = t.portal, d = u == null && (t.position == null || NU(t.position)), f = oHe(UG([r]), 2), p = f[0], m = f[1], h = RJ(), g = zJ();if (h == null || g == null || t.position != null && o == null) return null;- var _ = wHe(n, c, s, h - (a?.left || 0) - (a?.right || 0)), v = t.position == null ? null : jU({+ var _ = wHe(n, c, s, h - (a?.left || 0) - (a?.right || 0)), v = t.position == null ? null : MU({viewBox: o ?? {x: 0,y: 0,@@ -77688,7 +77701,7 @@ function EHe(e) {top: v.y + (y.top ?? 0),left: v.x + (y.left ?? 0),transform: iHe(v.horizontalAnchor, v.verticalAnchor)- } : xHe(l, t, a, h, g, p), w = u ? l : rY(rY({+ } : xHe(l, t, a, h, g, p), w = u ? l : iY(iY({position: "absolute",width: _?.width || s || "auto",height: _?.height || c || "auto"@@ -77705,7 +77718,7 @@ function EHe(e) {itemSorter: t.itemSorter,position: t.position,offset: t.offset- }), d && /*#__PURE__*/ b.createElement(CHe, p), /*#__PURE__*/ b.createElement(_He, eY({}, t, { layout: n }, _, {+ }), d && /*#__PURE__*/ b.createElement(CHe, p), /*#__PURE__*/ b.createElement(_He, tY({}, t, { layout: n }, _, {margin: a,chartWidth: h,chartHeight: g,@@ -77713,20 +77726,20 @@ function EHe(e) {})));return /*#__PURE__*/ (0, mt.createPortal)(E, T);}-var iY = /*#__PURE__*/ b.memo(EHe, $J);-iY.displayName = "Legend";+var aY = /*#__PURE__*/ b.memo(EHe, eY);+aY.displayName = "Legend";//#endregion//#region node_modules/recharts/es6/component/DefaultTooltipContent.js-function aY() {- return aY = Object.assign ? Object.assign.bind() : function(e) {+function oY() {+ return oY = Object.assign ? Object.assign.bind() : function(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t];for (var r in n) ({}).hasOwnProperty.call(n, r) && (e[r] = n[r]);}return e;- }, aY.apply(null, arguments);+ }, oY.apply(null, arguments);}-function oY(e, t) {+function sY(e, t) {var n = Object.keys(e);if (Object.getOwnPropertySymbols) {var r = Object.getOwnPropertySymbols(e);@@ -77736,12 +77749,12 @@ function oY(e, t) {}return n;}-function sY(e) {+function cY(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t] == null ? {} : arguments[t];- t % 2 ? oY(Object(n), !0).forEach(function(t) {+ t % 2 ? sY(Object(n), !0).forEach(function(t) {DHe(e, t, n[t]);- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : oY(Object(n)).forEach(function(t) {+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : sY(Object(n)).forEach(function(t) {Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));});}@@ -77777,12 +77790,12 @@ function jHe() {}function MHe(e, t) {if (e) {- if (typeof e == "string") return cY(e, t);+ if (typeof e == "string") return lY(e, t);var n = {}.toString.call(e).slice(8, -1);- return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? cY(e, t) : void 0;+ return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? lY(e, t) : void 0;}}-function cY(e, t) {+function lY(e, t) {(t == null || t > e.length) && (t = e.length);for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];return r;@@ -77812,9 +77825,9 @@ function PHe(e) {if (Array.isArray(e)) return e;}function FHe(e) {- return Array.isArray(e) && vU(e[0]) && vU(e[1]) ? e.join(" ~ ") : e;+ return Array.isArray(e) && yU(e[0]) && yU(e[1]) ? e.join(" ~ ") : e;}-var lY = {+var uY = {separator: " : ",contentStyle: {margin: 0,@@ -77833,10 +77846,10 @@ var lY = {accessibilityLayer: !1};function IHe(e, t) {- return t == null ? e : IG(e, t);+ return t == null ? e : LG(e, t);}var LHe = (e) => {- var t = e.separator, n = t === void 0 ? lY.separator : t, r = e.contentStyle, i = e.itemStyle, a = e.labelStyle, o = a === void 0 ? lY.labelStyle : a, s = e.payload, c = e.formatter, l = e.itemSorter, u = e.wrapperClassName, d = e.labelClassName, f = e.label, p = e.labelFormatter, m = e.accessibilityLayer, h = m === void 0 ? lY.accessibilityLayer : m, g = () => {+ var t = e.separator, n = t === void 0 ? uY.separator : t, r = e.contentStyle, i = e.itemStyle, a = e.labelStyle, o = a === void 0 ? uY.labelStyle : a, s = e.payload, c = e.formatter, l = e.itemSorter, u = e.wrapperClassName, d = e.labelClassName, f = e.label, p = e.labelFormatter, m = e.accessibilityLayer, h = m === void 0 ? uY.accessibilityLayer : m, g = () => {if (s && s.length) {var e = {padding: 0,@@ -77852,12 +77865,12 @@ var LHe = (e) => {} else if (d != null) l = d;else return null;}- var p = sY(sY({}, lY.itemStyle), {}, { color: e.color || lY.itemStyle.color }, i);+ var p = cY(cY({}, uY.itemStyle), {}, { color: e.color || uY.itemStyle.color }, i);return /*#__PURE__*/ b.createElement("li", {className: "recharts-tooltip-item",key: `tooltip-item-${t}`,style: p- }, vU(u) ? /*#__PURE__*/ b.createElement("span", { className: "recharts-tooltip-item-name" }, u) : null, vU(u) ? /*#__PURE__*/ b.createElement("span", { className: "recharts-tooltip-item-separator" }, n) : null, /*#__PURE__*/ b.createElement("span", { className: "recharts-tooltip-item-value" }, l), /*#__PURE__*/ b.createElement("span", { className: "recharts-tooltip-item-unit" }, e.unit || ""));+ }, yU(u) ? /*#__PURE__*/ b.createElement("span", { className: "recharts-tooltip-item-name" }, u) : null, yU(u) ? /*#__PURE__*/ b.createElement("span", { className: "recharts-tooltip-item-separator" }, n) : null, /*#__PURE__*/ b.createElement("span", { className: "recharts-tooltip-item-value" }, l), /*#__PURE__*/ b.createElement("span", { className: "recharts-tooltip-item-unit" }, e.unit || ""));});return /*#__PURE__*/ b.createElement("ul", {className: "recharts-tooltip-item-list",@@ -77865,32 +77878,32 @@ var LHe = (e) => {}, t);}return null;- }, _ = sY(sY({}, lY.contentStyle), r), v = sY({ margin: 0 }, o), y = !wU(f), x = y ? f : "", S = hy("recharts-default-tooltip", u), C = hy("recharts-tooltip-label", d);+ }, _ = cY(cY({}, uY.contentStyle), r), v = cY({ margin: 0 }, o), y = !TU(f), x = y ? f : "", S = hy("recharts-default-tooltip", u), C = hy("recharts-tooltip-label", d);y && p && s != null && (x = p(f, s));var w = h ? {role: "status","aria-live": "assertive"} : {};- return /*#__PURE__*/ b.createElement("div", aY({+ return /*#__PURE__*/ b.createElement("div", oY({className: S,style: _}, w), /*#__PURE__*/ b.createElement("p", {className: C,style: v}, /*#__PURE__*/ b.isValidElement(x) ? x : `${x}`), g());-}, uY = "recharts-tooltip-wrapper", RHe = { visibility: "hidden" };+}, dY = "recharts-tooltip-wrapper", RHe = { visibility: "hidden" };function zHe(e) {var t = e.coordinate, n = e.translateX, r = e.translateY;- return hy(uY, {- [`${uY}-right`]: _U(n) && t && _U(t.x) && n >= t.x,- [`${uY}-left`]: _U(n) && t && _U(t.x) && n < t.x,- [`${uY}-bottom`]: _U(r) && t && _U(t.y) && r >= t.y,- [`${uY}-top`]: _U(r) && t && _U(t.y) && r < t.y+ return hy(dY, {+ [`${dY}-right`]: vU(n) && t && vU(t.x) && n >= t.x,+ [`${dY}-left`]: vU(n) && t && vU(t.x) && n < t.x,+ [`${dY}-bottom`]: vU(r) && t && vU(t.y) && r >= t.y,+ [`${dY}-top`]: vU(r) && t && vU(t.y) && r < t.y});}-function dY(e) {+function fY(e) {var t = e.allowEscapeViewBox, n = e.coordinate, r = e.key, i = e.offset, a = e.position, o = e.reverseDirection, s = e.tooltipDimension, c = e.viewBox, l = e.viewBoxDimension;- if (a && _U(a[r])) return a[r];+ if (a && vU(a[r])) return a[r];var u = n[r] - s - (i > 0 ? i : 0), d = n[r] + i;if (t[r]) return o[r] ? u : d;var f = c[r];@@ -77902,7 +77915,7 @@ function BHe(e) {}function VHe(e) {var t = e.allowEscapeViewBox, n = e.coordinate, r = e.offsetTop, i = e.offsetLeft, a = e.position, o = e.reverseDirection, s = e.tooltipBox, c = e.useTranslate3d, l = e.viewBox, u, d, f;- return s && s.height > 0 && s.width > 0 && n ? (d = dY({+ return s && s.height > 0 && s.width > 0 && n ? (d = fY({allowEscapeViewBox: t,coordinate: n,key: "x",@@ -77912,7 +77925,7 @@ function VHe(e) {tooltipDimension: s.width,viewBox: l,viewBoxDimension: l.width- }), f = dY({+ }), f = fY({allowEscapeViewBox: t,coordinate: n,key: "y",@@ -77935,7 +77948,7 @@ function VHe(e) {})};}-var fY = {+var pY = {devToolsEnabled: !0,isSsr: !(typeof window < "u" && window.document && window.document.createElement && window.setTimeout)};@@ -77949,12 +77962,12 @@ function UHe() {}function WHe(e, t) {if (e) {- if (typeof e == "string") return pY(e, t);+ if (typeof e == "string") return mY(e, t);var n = {}.toString.call(e).slice(8, -1);- return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? pY(e, t) : void 0;+ return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? mY(e, t) : void 0;}}-function pY(e, t) {+function mY(e, t) {(t == null || t > e.length) && (t = e.length);for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];return r;@@ -77983,8 +77996,8 @@ function GHe(e, t) {function KHe(e) {if (Array.isArray(e)) return e;}-function mY() {- var e = HHe((0, b.useState)(() => fY.isSsr || !window.matchMedia ? !1 : window.matchMedia("(prefers-reduced-motion: reduce)").matches), 2), t = e[0], n = e[1];+function hY() {+ var e = HHe((0, b.useState)(() => pY.isSsr || !window.matchMedia ? !1 : window.matchMedia("(prefers-reduced-motion: reduce)").matches), 2), t = e[0], n = e[1];return (0, b.useEffect)(() => {if (window.matchMedia) {var e = window.matchMedia("(prefers-reduced-motion: reduce)"), t = () => {@@ -77998,7 +78011,7 @@ function mY() {}//#endregion//#region node_modules/recharts/es6/component/TooltipBoundingBox.js-function hY(e, t) {+function gY(e, t) {var n = Object.keys(e);if (Object.getOwnPropertySymbols) {var r = Object.getOwnPropertySymbols(e);@@ -78008,12 +78021,12 @@ function hY(e, t) {}return n;}-function gY(e) {+function _Y(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t] == null ? {} : arguments[t];- t % 2 ? hY(Object(n), !0).forEach(function(t) {+ t % 2 ? gY(Object(n), !0).forEach(function(t) {qHe(e, t, n[t]);- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : hY(Object(n)).forEach(function(t) {+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : gY(Object(n)).forEach(function(t) {Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));});}@@ -78049,12 +78062,12 @@ function ZHe() {}function QHe(e, t) {if (e) {- if (typeof e == "string") return _Y(e, t);+ if (typeof e == "string") return vY(e, t);var n = {}.toString.call(e).slice(8, -1);- return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? _Y(e, t) : void 0;+ return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? vY(e, t) : void 0;}}-function _Y(e, t) {+function vY(e, t) {(t == null || t > e.length) && (t = e.length);for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];return r;@@ -78090,7 +78103,7 @@ function tUe(e) {}}function nUe(e) {- var t = mY(), n = XHe(b.useState(() => ({+ var t = hY(), n = XHe(b.useState(() => ({dismissed: !1,dismissedAtCoordinate: {x: 0,@@ -78110,7 +78123,7 @@ function nUe(e) {return document.addEventListener("keydown", t), () => {document.removeEventListener("keydown", t);};- }, [e.coordinate?.x, e.coordinate?.y]), r.dismissed && ((e.coordinate?.x ?? 0) !== r.dismissedAtCoordinate.x || (e.coordinate?.y ?? 0) !== r.dismissedAtCoordinate.y) && i(gY(gY({}, r), {}, { dismissed: !1 }));+ }, [e.coordinate?.x, e.coordinate?.y]), r.dismissed && ((e.coordinate?.x ?? 0) !== r.dismissedAtCoordinate.x || (e.coordinate?.y ?? 0) !== r.dismissedAtCoordinate.y) && i(_Y(_Y({}, r), {}, { dismissed: !1 }));var a = VHe({allowEscapeViewBox: e.allowEscapeViewBox,coordinate: e.coordinate,@@ -78121,7 +78134,7 @@ function nUe(e) {tooltipBox: e.lastBoundingBox,useTranslate3d: e.useTranslate3d,viewBox: e.viewBox- }), o = a.cssClasses, s = a.cssProperties, c = gY(gY({}, e.hasPortalFromProps ? {} : gY(gY({ transition: tUe({+ }), o = a.cssClasses, s = a.cssProperties, c = _Y(_Y({}, e.hasPortalFromProps ? {} : _Y(_Y({ transition: tUe({prefersReducedMotion: t,isAnimationActive: e.isAnimationActive,active: e.active,@@ -78141,19 +78154,19 @@ function nUe(e) {ref: e.innerRef}, e.children);}-var rUe = /*#__PURE__*/ b.memo(nUe), vY = () => J((e) => e.rootProps.accessibilityLayer) ?? !0;+var rUe = /*#__PURE__*/ b.memo(nUe), yY = () => J((e) => e.rootProps.accessibilityLayer) ?? !0;//#endregion//#region node_modules/recharts/es6/shape/Curve.js-function yY() {- return yY = Object.assign ? Object.assign.bind() : function(e) {+function bY() {+ return bY = Object.assign ? Object.assign.bind() : function(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t];for (var r in n) ({}).hasOwnProperty.call(n, r) && (e[r] = n[r]);}return e;- }, yY.apply(null, arguments);+ }, bY.apply(null, arguments);}-function bY(e, t) {+function xY(e, t) {var n = Object.keys(e);if (Object.getOwnPropertySymbols) {var r = Object.getOwnPropertySymbols(e);@@ -78163,12 +78176,12 @@ function bY(e, t) {}return n;}-function xY(e) {+function SY(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t] == null ? {} : arguments[t];- t % 2 ? bY(Object(n), !0).forEach(function(t) {+ t % 2 ? xY(Object(n), !0).forEach(function(t) {iUe(e, t, n[t]);- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : bY(Object(n)).forEach(function(t) {+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : xY(Object(n)).forEach(function(t) {Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));});}@@ -78196,40 +78209,40 @@ function oUe(e, t) {}return (t === "string" ? String : Number)(e);}-var SY = {+var CY = {curveBasisClosed: pRe,curveBasisOpen: mRe,curveBasis: fRe,curveBumpX: QLe,curveBumpY: $Le,curveLinearClosed: hRe,- curveLinear: JU,+ curveLinear: YU,curveMonotoneX: gRe,curveMonotoneY: _Re,curveNatural: vRe,curveStep: yRe,curveStepAfter: xRe,curveStepBefore: bRe-}, CY = (e) => qq(e.x) && qq(e.y), wY = (e) => e.base != null && CY(e.base) && CY(e), TY = (e) => e.x, EY = (e) => e.y, sUe = (e, t) => {+}, wY = (e) => Jq(e.x) && Jq(e.y), TY = (e) => e.base != null && wY(e.base) && wY(e), EY = (e) => e.x, DY = (e) => e.y, sUe = (e, t) => {if (typeof e == "function") return e;- var n = `curve${TU(e)}`;+ var n = `curve${EU(e)}`;if ((n === "curveMonotone" || n === "curveBump") && t) {- var r = SY[`${n}${t === "vertical" ? "Y" : "X"}`];+ var r = CY[`${n}${t === "vertical" ? "Y" : "X"}`];if (r) return r;}- return SY[n] || JU;-}, DY = {+ return CY[n] || YU;+}, OY = {connectNulls: !1,type: "linear"}, cUe = (e) => {- var t = e.type, n = t === void 0 ? DY.type : t, r = e.points, i = r === void 0 ? [] : r, a = e.baseLine, o = e.layout, s = e.connectNulls, c = s === void 0 ? DY.connectNulls : s, l = sUe(n, o), u = c ? i.filter(CY) : i;+ var t = e.type, n = t === void 0 ? OY.type : t, r = e.points, i = r === void 0 ? [] : r, a = e.baseLine, o = e.layout, s = e.connectNulls, c = s === void 0 ? OY.connectNulls : s, l = sUe(n, o), u = c ? i.filter(wY) : i;if (Array.isArray(a)) {- var d, f = i.map((e, t) => xY(xY({}, e), {}, { base: a[t] }));- return d = o === "vertical" ? QU().y(EY).x1(TY).x0((e) => e.base.x) : QU().x(TY).y1(EY).y0((e) => e.base.y), d.defined(wY).curve(l)(c ? f.filter(wY) : f);+ var d, f = i.map((e, t) => SY(SY({}, e), {}, { base: a[t] }));+ return d = o === "vertical" ? $U().y(DY).x1(EY).x0((e) => e.base.x) : $U().x(EY).y1(DY).y0((e) => e.base.y), d.defined(TY).curve(l)(c ? f.filter(TY) : f);}- return (o === "vertical" && _U(a) ? QU().y(EY).x1(TY).x0(a) : _U(a) ? QU().x(TY).y1(EY).y0(a) : ZU().x(TY).y(EY)).defined(CY).curve(l)(u);-}, OY = (e) => {- var t = e.className, n = e.points, r = e.path, i = e.pathRef, a = BJ();+ return (o === "vertical" && vU(a) ? $U().y(DY).x1(EY).x0(a) : vU(a) ? $U().x(EY).y1(DY).y0(a) : QU().x(EY).y(DY)).defined(wY).curve(l)(u);+}, kY = (e) => {+ var t = e.className, n = e.points, r = e.path, i = e.pathRef, a = VJ();if ((!n || !n.length) && !r) return null;var o = {type: e.type,@@ -78238,7 +78251,7 @@ var SY = {layout: e.layout || a,connectNulls: e.connectNulls}, s = n && n.length ? cUe(o) : r;- return /*#__PURE__*/ b.createElement("path", yY({}, QH(e), jW(e), {+ return /*#__PURE__*/ b.createElement("path", bY({}, $H(e), MW(e), {className: hy("recharts-curve", t),d: s === null ? void 0 : s,ref: i@@ -78252,16 +78265,16 @@ var SY = {"height","className"];-function kY() {- return kY = Object.assign ? Object.assign.bind() : function(e) {+function AY() {+ return AY = Object.assign ? Object.assign.bind() : function(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t];for (var r in n) ({}).hasOwnProperty.call(n, r) && (e[r] = n[r]);}return e;- }, kY.apply(null, arguments);+ }, AY.apply(null, arguments);}-function AY(e, t) {+function jY(e, t) {var n = Object.keys(e);if (Object.getOwnPropertySymbols) {var r = Object.getOwnPropertySymbols(e);@@ -78274,9 +78287,9 @@ function AY(e, t) {function uUe(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t] == null ? {} : arguments[t];- t % 2 ? AY(Object(n), !0).forEach(function(t) {+ t % 2 ? jY(Object(n), !0).forEach(function(t) {dUe(e, t, n[t]);- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : AY(Object(n)).forEach(function(t) {+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : jY(Object(n)).forEach(function(t) {Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));});}@@ -78331,7 +78344,7 @@ var gUe = (e, t, n, r, i, a) => `M${e},${i}v${r}M${a},${t}h${n}`, _Ue = (e) => {width: u,height: f}, m);- return !_U(n) || !_U(i) || !_U(u) || !_U(f) || !_U(o) || !_U(c) ? null : /*#__PURE__*/ b.createElement("path", kY({}, eU(h), {+ return !vU(n) || !vU(i) || !vU(u) || !vU(f) || !vU(o) || !vU(c) ? null : /*#__PURE__*/ b.createElement("path", AY({}, tU(h), {className: hy("recharts-cross", p),d: gUe(n, i, u, f, o, c)}));@@ -78349,12 +78362,12 @@ function vUe(e, t, n, r) {height: e === "horizontal" ? n.height - 1 : r};}-var jY = (e, t) => [+var MY = (e, t) => [0,3 * e,3 * t - 6 * e,3 * e - 3 * t + 1-], MY = (e, t) => e.map((e, n) => e * t ** n).reduce((e, t) => e + t), NY = (e, t) => (n) => MY(jY(e, t), n), yUe = (e, t) => (n) => MY([...jY(e, t).map((e, t) => e * t).slice(1), 0], n), bUe = (e) => {+], NY = (e, t) => e.map((e, n) => e * t ** n).reduce((e, t) => e + t), PY = (e, t) => (n) => NY(MY(e, t), n), yUe = (e, t) => (n) => NY([...MY(e, t).map((e, t) => e * t).slice(1), 0], n), bUe = (e) => {var t, n = e.split("(");if (n.length !== 2 || n[0] !== "cubic-bezier") return null;var r = (t = n[1]) == null || (t = t.split(")")[0]) == null ? void 0 : t.split(",");@@ -78410,7 +78423,7 @@ var jY = (e, t) => [1];}, SUe = (e, t, n, r) => {- var i = NY(e, n), a = NY(t, r), o = yUe(e, n), s = (e) => e > 1 ? 1 : e < 0 ? 0 : e, c = (e) => {+ var i = PY(e, n), a = PY(t, r), o = yUe(e, n), s = (e) => e > 1 ? 1 : e < 0 ? 0 : e, c = (e) => {for (var t = e > 1 ? 1 : e, n = t, r = 0; r < 8; ++r) {var c = i(n) - t, l = o(n);if (Math.abs(c - t) < 1e-4 || l < 1e-4) return a(n);@@ -78419,7 +78432,7 @@ var jY = (e, t) => [return a(n);};return c.isStepper = !1, c;-}, PY = function() {+}, FY = function() {return SUe(...xUe(...arguments));}, CUe = function() {for (var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = e.stiff, n = t === void 0 ? 100 : t, r = e.damping, i = r === void 0 ? 8 : r, a = e.dt, o = a === void 0 ? 16.67 : a, s = 1, c = [0], l = 0, u = 0, d = 1e4, f = 0; f < d;) {@@ -78441,12 +78454,12 @@ var jY = (e, t) => [case "ease-in-out":case "ease-out":case "ease-in":- case "linear": return PY(e);+ case "linear": return FY(e);case "spring": return CUe();- default: if (e.split("(")[0] === "cubic-bezier") return PY(e);+ default: if (e.split("(")[0] === "cubic-bezier") return FY(e);}return typeof e == "function" ? e : null;-}, FY = /*#__PURE__*/ (0, b.createContext)((e, t, n) => {+}, IY = /*#__PURE__*/ (0, b.createContext)((e, t, n) => {var r, i = (a) => {var o = t.tick(a);if (t.getState() === "active") {@@ -78459,9 +78472,9 @@ var jY = (e, t) => [};return r = e.setTimeout(i, 0), () => r?.();});-FY.Provider;+IY.Provider;function TUe(e) {- var t = (0, b.useContext)(FY);+ var t = (0, b.useContext)(IY);return (0, b.useMemo)(() => e ?? t, [e, t]);}//#endregion@@ -78488,8 +78501,8 @@ function OUe(e, t) {}return (t === "string" ? String : Number)(e);}-var IY = "init", LY = "pending", RY = "active", kUe = "completed";-function zY(e) {+var LY = "init", RY = "pending", zY = "active", kUe = "completed";+function BY(e) {return Math.max(0, e);}var AUe = class {@@ -78501,7 +78514,7 @@ var AUe = class {}constructor(e) {var t;- EUe(this, "state", IY), this.animationId = e.animationId, this.onAnimationEnd = e.onAnimationEnd, this.animationDuration = zY(e.animationDuration), this.animationBegin = zY(e.animationBegin), this.progress = 0, this.from = e.from, this.to = e.to, this.easing = e.easing, (t = e.onAnimationStart) == null || t.call(e);+ EUe(this, "state", LY), this.animationId = e.animationId, this.onAnimationEnd = e.onAnimationEnd, this.animationDuration = BY(e.animationDuration), this.animationBegin = BY(e.animationBegin), this.progress = 0, this.from = e.from, this.to = e.to, this.easing = e.easing, (t = e.onAnimationStart) == null || t.call(e);}getState() {return this.state;@@ -78513,13 +78526,13 @@ var AUe = class {return this.animationDuration;}tick(e) {- if (this.getState() === IY) return this.state = LY, this.beginStartedTime = e, this.animationBegin;- if (this.getState() === LY) {+ if (this.getState() === LY) return this.state = RY, this.beginStartedTime = e, this.animationBegin;+ if (this.getState() === RY) {if (this.beginStartedTime == null) throw Error();var t = e - this.beginStartedTime;- return t >= this.animationBegin ? (this.state = RY, this.animationStartedTime = e, this.nextAnimationUpdate(0)) : zY(this.animationBegin - t);+ return t >= this.animationBegin ? (this.state = zY, this.animationStartedTime = e, this.nextAnimationUpdate(0)) : BY(this.animationBegin - t);}- if (this.getState() === RY) {+ if (this.getState() === zY) {if (this.animationStartedTime == null) throw Error();var n = e - this.animationStartedTime;return this.setProgress(n / this.animationDuration), this.nextAnimationUpdate(n);@@ -78556,7 +78569,7 @@ var AUe = class {return 0;}getInterpolated() {- return this.easing(SU(this.getFrom(), this.getTo(), this.getProgress()));+ return this.easing(CU(this.getFrom(), this.getTo(), this.getProgress()));}}, MUe = class {setTimeout(e) {@@ -78578,12 +78591,12 @@ function PUe() {}function FUe(e, t) {if (e) {- if (typeof e == "string") return BY(e, t);+ if (typeof e == "string") return VY(e, t);var n = {}.toString.call(e).slice(8, -1);- return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? BY(e, t) : void 0;+ return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? VY(e, t) : void 0;}}-function BY(e, t) {+function VY(e, t) {(t == null || t > e.length) && (t = e.length);for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];return r;@@ -78620,22 +78633,22 @@ var RUe = {canBegin: !0,onAnimationEnd: () => {},onAnimationStart: () => {}-}, VY = 0, HY = 1;-function UY(e) {- var t = PW(e, RUe), n = t.animationId, r = t.isActive, i = t.canBegin, a = t.duration, o = t.easing, s = t.begin, c = t.onAnimationEnd, l = t.onAnimationStart, u = t.children, d = mY(), f = r === "auto" ? !fY.isSsr && !d : r, p = TUe(t.animationController), m = NUe((0, b.useState)(f ? VY : HY), 2), h = m[0], g = m[1];+}, HY = 0, UY = 1;+function WY(e) {+ var t = FW(e, RUe), n = t.animationId, r = t.isActive, i = t.canBegin, a = t.duration, o = t.easing, s = t.begin, c = t.onAnimationEnd, l = t.onAnimationStart, u = t.children, d = hY(), f = r === "auto" ? !pY.isSsr && !d : r, p = TUe(t.animationController), m = NUe((0, b.useState)(f ? HY : UY), 2), h = m[0], g = m[1];return (0, b.useEffect)(() => {- f || g(HY);+ f || g(UY);}, [f]), (0, b.useEffect)(() => {var e = wUe(o);- return !f || !i || e == null ? DU : p(new MUe(), new jUe({+ return !f || !i || e == null ? OU : p(new MUe(), new jUe({animationId: n,easing: e,animationDuration: a,animationBegin: s,onAnimationStart: l,onAnimationEnd: c,- from: VY,- to: HY+ from: HY,+ to: UY}), g);}, [p,@@ -78651,14 +78664,14 @@ function UY(e) {}//#endregion//#region node_modules/recharts/es6/util/useAnimationId.js-function WY(e) {- var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "animation-", n = (0, b.useRef)(yU(t)), r = (0, b.useRef)(e);- return r.current !== e && (n.current = yU(t), r.current = e), n.current;+function GY(e) {+ var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "animation-", n = (0, b.useRef)(bU(t)), r = (0, b.useRef)(e);+ return r.current !== e && (n.current = bU(t), r.current = e), n.current;}//#endregion//#region node_modules/recharts/es6/animation/util.jsvar zUe = (e) => e.replace(/([A-Z])/g, (e) => `-${e.toLowerCase()}`), BUe = (e, t, n) => e.map((e) => `${zUe(e)} ${t}ms ${n}`).join(","), VUe = ["radius"], HUe = ["radius"], UUe, WUe, GUe, KUe, qUe, JUe, YUe, XUe, ZUe, QUe;-function GY(e, t) {+function KY(e, t) {var n = Object.keys(e);if (Object.getOwnPropertySymbols) {var r = Object.getOwnPropertySymbols(e);@@ -78668,12 +78681,12 @@ function GY(e, t) {}return n;}-function KY(e) {+function qY(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t] == null ? {} : arguments[t];- t % 2 ? GY(Object(n), !0).forEach(function(t) {+ t % 2 ? KY(Object(n), !0).forEach(function(t) {$Ue(e, t, n[t]);- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : GY(Object(n)).forEach(function(t) {+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : KY(Object(n)).forEach(function(t) {Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));});}@@ -78701,16 +78714,16 @@ function tWe(e, t) {}return (t === "string" ? String : Number)(e);}-function qY() {- return qY = Object.assign ? Object.assign.bind() : function(e) {+function JY() {+ return JY = Object.assign ? Object.assign.bind() : function(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t];for (var r in n) ({}).hasOwnProperty.call(n, r) && (e[r] = n[r]);}return e;- }, qY.apply(null, arguments);+ }, JY.apply(null, arguments);}-function JY(e, t) {+function YY(e, t) {if (e == null) return {};var n, r, i = nWe(e, t);if (Object.getOwnPropertySymbols) {@@ -78736,12 +78749,12 @@ function iWe() {}function aWe(e, t) {if (e) {- if (typeof e == "string") return YY(e, t);+ if (typeof e == "string") return XY(e, t);var n = {}.toString.call(e).slice(8, -1);- return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? YY(e, t) : void 0;+ return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? XY(e, t) : void 0;}}-function YY(e, t) {+function XY(e, t) {(t == null || t > e.length) && (t = e.length);for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];return r;@@ -78770,11 +78783,11 @@ function oWe(e, t) {function sWe(e) {if (Array.isArray(e)) return e;}-function XY(e, t) {+function ZY(e, t) {return t ||= e.slice(0), Object.freeze(Object.defineProperties(e, { raw: { value: Object.freeze(t) } }));}-var ZY = (e, t, n, r, i) => {- var a = fU(n), o = fU(r), s = Math.min(Math.abs(a) / 2, Math.abs(o) / 2), c = o >= 0 ? 1 : -1, l = a >= 0 ? 1 : -1, u = +(o >= 0 && a >= 0 || o < 0 && a < 0), d;+var QY = (e, t, n, r, i) => {+ var a = pU(n), o = pU(r), s = Math.min(Math.abs(a) / 2, Math.abs(o) / 2), c = o >= 0 ? 1 : -1, l = a >= 0 ? 1 : -1, u = +(o >= 0 && a >= 0 || o < 0 && a < 0), d;if (s > 0 && Array.isArray(i)) {for (var f = [0,@@ -78785,44 +78798,44 @@ var ZY = (e, t, n, r, i) => {var h = i[p] ?? 0;f[p] = h > s ? s : h;}- d = pU(UUe ||= XY([+ d = mU(UUe ||= ZY(["M",",",""- ]), e, t + c * f[0]), f[0] > 0 && (d += pU(WUe ||= XY([+ ]), e, t + c * f[0]), f[0] > 0 && (d += mU(WUe ||= ZY(["A ",",",",0,0,",",",",",""- ]), f[0], f[0], u, e + l * f[0], t)), d += pU(GUe ||= XY([+ ]), f[0], f[0], u, e + l * f[0], t)), d += mU(GUe ||= ZY(["L ",",",""- ]), e + n - l * f[1], t), f[1] > 0 && (d += pU(KUe ||= XY([+ ]), e + n - l * f[1], t), f[1] > 0 && (d += mU(KUe ||= ZY(["A ",",",",0,0,",",\n ",",",""- ]), f[1], f[1], u, e + n, t + c * f[1])), d += pU(qUe ||= XY([+ ]), f[1], f[1], u, e + n, t + c * f[1])), d += mU(qUe ||= ZY(["L ",",",""- ]), e + n, t + r - c * f[2]), f[2] > 0 && (d += pU(JUe ||= XY([+ ]), e + n, t + r - c * f[2]), f[2] > 0 && (d += mU(JUe ||= ZY(["A ",",",",0,0,",",\n ",",",""- ]), f[2], f[2], u, e + n - l * f[2], t + r)), d += pU(YUe ||= XY([+ ]), f[2], f[2], u, e + n - l * f[2], t + r)), d += mU(YUe ||= ZY(["L ",",",""- ]), e + l * f[3], t + r), f[3] > 0 && (d += pU(XUe ||= XY([+ ]), e + l * f[3], t + r), f[3] > 0 && (d += mU(XUe ||= ZY(["A ",",",",0,0,",@@ -78832,8 +78845,8 @@ var ZY = (e, t, n, r, i) => {]), f[3], f[3], u, e, t + r - c * f[3])), d += "Z";} else if (s > 0 && i === +i && i > 0) {var g = Math.min(s, i);- d = pU(ZUe ||= XY(/* @__PURE__ */ "M .,.\n A .,.,0,0,.,.,.\n L .,.\n A .,.,0,0,.,.,.\n L .,.\n A .,.,0,0,.,.,.\n L .,.\n A .,.,0,0,.,.,. Z".split(".")), e, t + c * g, g, g, u, e + l * g, t, e + n - l * g, t, g, g, u, e + n, t + c * g, e + n, t + r - c * g, g, g, u, e + n - l * g, t + r, e + l * g, t + r, g, g, u, e, t + r - c * g);- } else d = pU(QUe ||= XY([+ d = mU(ZUe ||= ZY(/* @__PURE__ */ "M .,.\n A .,.,0,0,.,.,.\n L .,.\n A .,.,0,0,.,.,.\n L .,.\n A .,.,0,0,.,.,.\n L .,.\n A .,.,0,0,.,.,. Z".split(".")), e, t + c * g, g, g, u, e + l * g, t, e + n - l * g, t, g, g, u, e + n, t + c * g, e + n, t + r - c * g, g, g, u, e + n - l * g, t + r, e + l * g, t + r, g, g, u, e, t + r - c * g);+ } else d = mU(QUe ||= ZY(["M ",","," h ",@@ -78842,7 +78855,7 @@ var ZY = (e, t, n, r, i) => {" Z"]), e, t, n, r, -n);return d;-}, QY = {+}, $Y = {x: 0,y: 0,width: 0,@@ -78853,15 +78866,15 @@ var ZY = (e, t, n, r, i) => {animationBegin: 0,animationDuration: 1500,animationEasing: "ease"-}, $Y = (e) => {- var t = PW(e, QY), n = (0, b.useRef)(null), r = rWe((0, b.useState)(-1), 2), i = r[0], a = r[1];+}, eX = (e) => {+ var t = FW(e, $Y), n = (0, b.useRef)(null), r = rWe((0, b.useState)(-1), 2), i = r[0], a = r[1];(0, b.useEffect)(() => {if (n.current && n.current.getTotalLength) try {var e = n.current.getTotalLength();e && a(e);} catch {}}, []);- var o = t.x, s = t.y, c = t.width, l = t.height, u = t.radius, d = t.className, f = t.animationEasing, p = t.animationDuration, m = t.animationBegin, h = t.isAnimationActive, g = t.isUpdateAnimationActive, _ = (0, b.useRef)(c), v = (0, b.useRef)(l), y = (0, b.useRef)(o), x = (0, b.useRef)(s), S = WY((0, b.useMemo)(() => ({+ var o = t.x, s = t.y, c = t.width, l = t.height, u = t.radius, d = t.className, f = t.animationEasing, p = t.animationDuration, m = t.animationBegin, h = t.isAnimationActive, g = t.isUpdateAnimationActive, _ = (0, b.useRef)(c), v = (0, b.useRef)(l), y = (0, b.useRef)(o), x = (0, b.useRef)(s), S = GY((0, b.useMemo)(() => ({x: o,y: s,width: c,@@ -78877,21 +78890,21 @@ var ZY = (e, t, n, r, i) => {if (o !== +o || s !== +s || c !== +c || l !== +l || c === 0 || l === 0) return null;var C = hy("recharts-rectangle", d);if (!g) {- var w = eU(t);+ var w = tU(t);w.radius;- var T = JY(w, VUe);- return /*#__PURE__*/ b.createElement("path", qY({}, T, {- x: fU(o),- y: fU(s),- width: fU(c),- height: fU(l),+ var T = YY(w, VUe);+ return /*#__PURE__*/ b.createElement("path", JY({}, T, {+ x: pU(o),+ y: pU(s),+ width: pU(c),+ height: pU(l),radius: typeof u == "number" ? u : void 0,className: C,- d: ZY(o, s, c, l, u)+ d: QY(o, s, c, l, u)}));}- var E = _.current, D = v.current, O = y.current, k = x.current, A = `0px ${i === -1 ? 1 : i}px`, j = `${i}px ${i}px`, M = BUe(["strokeDasharray"], p, typeof f == "string" ? f : QY.animationEasing);- return /*#__PURE__*/ b.createElement(UY, {+ var E = _.current, D = v.current, O = y.current, k = x.current, A = `0px ${i === -1 ? 1 : i}px`, j = `${i}px ${i}px`, M = BUe(["strokeDasharray"], p, typeof f == "string" ? f : $Y.animationEasing);+ return /*#__PURE__*/ b.createElement(WY, {animationId: S,key: S,canBegin: i > 0,@@ -78900,26 +78913,26 @@ var ZY = (e, t, n, r, i) => {isActive: g,begin: m}, (e) => {- var r = SU(E, c, e), i = SU(D, l, e), a = SU(O, o, e), d = SU(k, s, e);+ var r = CU(E, c, e), i = CU(D, l, e), a = CU(O, o, e), d = CU(k, s, e);n.current && (_.current = r, v.current = i, y.current = a, x.current = d);var f = h ? e > 0 ? {transition: M,strokeDasharray: j- } : { strokeDasharray: A } : { strokeDasharray: j }, p = eU(t);+ } : { strokeDasharray: A } : { strokeDasharray: j }, p = tU(t);p.radius;- var m = JY(p, HUe);- return /*#__PURE__*/ b.createElement("path", qY({}, m, {+ var m = YY(p, HUe);+ return /*#__PURE__*/ b.createElement("path", JY({}, m, {radius: typeof u == "number" ? u : void 0,className: C,- d: ZY(a, d, r, i, u),+ d: QY(a, d, r, i, u),ref: n,- style: KY(KY({}, f), t.style)+ style: qY(qY({}, f), t.style)}));});};//#endregion//#region node_modules/recharts/es6/util/PolarUtils.js-function eX(e, t) {+function tX(e, t) {var n = Object.keys(e);if (Object.getOwnPropertySymbols) {var r = Object.getOwnPropertySymbols(e);@@ -78929,12 +78942,12 @@ function eX(e, t) {}return n;}-function tX(e) {+function nX(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t] == null ? {} : arguments[t];- t % 2 ? eX(Object(n), !0).forEach(function(t) {+ t % 2 ? tX(Object(n), !0).forEach(function(t) {cWe(e, t, n[t]);- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : eX(Object(n)).forEach(function(t) {+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : tX(Object(n)).forEach(function(t) {Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));});}@@ -78962,9 +78975,9 @@ function uWe(e, t) {}return (t === "string" ? String : Number)(e);}-var nX = Math.PI / 180, rX = (e) => e * Math.PI / 180, dWe = (e) => e * 180 / Math.PI, iX = (e, t, n, r) => ({- x: e + Math.cos(-nX * r) * n,- y: t + Math.sin(-nX * r) * n+var rX = Math.PI / 180, iX = (e) => e * Math.PI / 180, dWe = (e) => e * 180 / Math.PI, aX = (e, t, n, r) => ({+ x: e + Math.cos(-rX * r) * n,+ y: t + Math.sin(-rX * r) * n}), fWe = function(e, t) {var n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {top: 0,@@ -79022,17 +79035,17 @@ var nX = Math.PI / 180, rX = (e) => e * Math.PI / 180, dWe = (e) => e * 180 / Mafor (; f < d;) f += 360;p = f >= d && f <= u;}- return p ? tX(tX({}, t), {}, {+ return p ? nX(nX({}, t), {}, {radius: a,angle: gWe(f, t)}) : null;};//#endregion//#region node_modules/recharts/es6/util/cursor/getRadialCursorPoints.js-function aX(e) {+function oX(e) {var t = e.cx, n = e.cy, r = e.radius, i = e.startAngle, a = e.endAngle;return {- points: [iX(t, n, r, i), iX(t, n, r, a)],+ points: [aX(t, n, r, i), aX(t, n, r, a)],cx: t,cy: n,radius: r,@@ -79043,28 +79056,28 @@ function aX(e) {//#endregion//#region node_modules/recharts/es6/shape/Sector.jsvar vWe, yWe, bWe, xWe, SWe, CWe, wWe;-function oX() {- return oX = Object.assign ? Object.assign.bind() : function(e) {+function sX() {+ return sX = Object.assign ? Object.assign.bind() : function(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t];for (var r in n) ({}).hasOwnProperty.call(n, r) && (e[r] = n[r]);}return e;- }, oX.apply(null, arguments);+ }, sX.apply(null, arguments);}-function sX(e, t) {+function cX(e, t) {return t ||= e.slice(0), Object.freeze(Object.defineProperties(e, { raw: { value: Object.freeze(t) } }));}-var TWe = (e, t) => mU(t - e) * Math.min(Math.abs(t - e), 359.999), cX = (e) => {- var t = e.cx, n = e.cy, r = e.radius, i = e.angle, a = e.sign, o = e.isExternal, s = e.cornerRadius, c = e.cornerIsExternal, l = s * (o ? 1 : -1) + r, u = Math.asin(s / l) / nX, d = c ? i : i + a * u, f = iX(t, n, l, d), p = iX(t, n, r, d), m = c ? i - a * u : i;+var TWe = (e, t) => hU(t - e) * Math.min(Math.abs(t - e), 359.999), lX = (e) => {+ var t = e.cx, n = e.cy, r = e.radius, i = e.angle, a = e.sign, o = e.isExternal, s = e.cornerRadius, c = e.cornerIsExternal, l = s * (o ? 1 : -1) + r, u = Math.asin(s / l) / rX, d = c ? i : i + a * u, f = aX(t, n, l, d), p = aX(t, n, r, d), m = c ? i - a * u : i;return {center: f,circleTangency: p,- lineTangency: iX(t, n, l * Math.cos(u * nX), m),+ lineTangency: aX(t, n, l * Math.cos(u * rX), m),theta: u};-}, lX = (e) => {- var t = e.cx, n = e.cy, r = e.innerRadius, i = e.outerRadius, a = e.startAngle, o = e.endAngle, s = TWe(a, o), c = a + s, l = iX(t, n, i, a), u = iX(t, n, i, c), d = pU(vWe ||= sX([+}, uX = (e) => {+ var t = e.cx, n = e.cy, r = e.innerRadius, i = e.outerRadius, a = e.startAngle, o = e.endAngle, s = TWe(a, o), c = a + s, l = aX(t, n, i, a), u = aX(t, n, i, c), d = mU(vWe ||= cX(["M ",",","\n A ",@@ -79076,8 +79089,8 @@ var TWe = (e, t) => mU(t - e) * Math.min(Math.abs(t - e), 359.999), cX = (e) =>"\n "]), l.x, l.y, i, i, +(Math.abs(s) > 180), +(a > c), u.x, u.y);if (r > 0) {- var f = iX(t, n, r, a), p = iX(t, n, r, c);- d += pU(yWe ||= sX([+ var f = aX(t, n, r, a), p = aX(t, n, r, c);+ d += mU(yWe ||= cX(["L ",",","\n A ",@@ -79088,14 +79101,14 @@ var TWe = (e, t) => mU(t - e) * Math.min(Math.abs(t - e), 359.999), cX = (e) =>","," Z"]), p.x, p.y, r, r, +(Math.abs(s) > 180), +(a <= c), f.x, f.y);- } else d += pU(bWe ||= sX([+ } else d += mU(bWe ||= cX(["L ",","," Z"]), t, n);return d;}, EWe = (e) => {- var t = e.cx, n = e.cy, r = e.innerRadius, i = e.outerRadius, a = e.cornerRadius, o = e.forceCornerRadius, s = e.cornerIsExternal, c = e.startAngle, l = e.endAngle, u = mU(l - c), d = cX({+ var t = e.cx, n = e.cy, r = e.innerRadius, i = e.outerRadius, a = e.cornerRadius, o = e.forceCornerRadius, s = e.cornerIsExternal, c = e.startAngle, l = e.endAngle, u = hU(l - c), d = lX({cx: t,cy: n,radius: i,@@ -79103,7 +79116,7 @@ var TWe = (e, t) => mU(t - e) * Math.min(Math.abs(t - e), 359.999), cX = (e) =>sign: u,cornerRadius: a,cornerIsExternal: s- }), f = d.circleTangency, p = d.lineTangency, m = d.theta, h = cX({+ }), f = d.circleTangency, p = d.lineTangency, m = d.theta, h = lX({cx: t,cy: n,radius: i,@@ -79112,7 +79125,7 @@ var TWe = (e, t) => mU(t - e) * Math.min(Math.abs(t - e), 359.999), cX = (e) =>cornerRadius: a,cornerIsExternal: s}), g = h.circleTangency, _ = h.lineTangency, v = h.theta, y = s ? Math.abs(c - l) : Math.abs(c - l) - m - v;- if (y < 0) return o ? pU(xWe ||= sX([+ if (y < 0) return o ? mU(xWe ||= cX(["M ",",","\n a",@@ -79122,7 +79135,7 @@ var TWe = (e, t) => mU(t - e) * Math.min(Math.abs(t - e), 359.999), cX = (e) =>",",",0,0,1,",",0\n "- ]), p.x, p.y, a, a, a * 2, a, a, -a * 2) : lX({+ ]), p.x, p.y, a, a, a * 2, a, a, -a * 2) : uX({cx: t,cy: n,innerRadius: r,@@ -79130,7 +79143,7 @@ var TWe = (e, t) => mU(t - e) * Math.min(Math.abs(t - e), 359.999), cX = (e) =>startAngle: c,endAngle: l});- var b = pU(SWe ||= sX([+ var b = mU(SWe ||= cX(["M ",",","\n A",@@ -79152,7 +79165,7 @@ var TWe = (e, t) => mU(t - e) * Math.min(Math.abs(t - e), 359.999), cX = (e) =>"\n "]), p.x, p.y, a, a, +(u < 0), f.x, f.y, i, i, +(y > 180), +(u < 0), g.x, g.y, a, a, +(u < 0), _.x, _.y);if (r > 0) {- var x = cX({+ var x = lX({cx: t,cy: n,radius: r,@@ -79161,7 +79174,7 @@ var TWe = (e, t) => mU(t - e) * Math.min(Math.abs(t - e), 359.999), cX = (e) =>isExternal: !0,cornerRadius: a,cornerIsExternal: s- }), S = x.circleTangency, C = x.lineTangency, w = x.theta, T = cX({+ }), S = x.circleTangency, C = x.lineTangency, w = x.theta, T = lX({cx: t,cy: n,radius: r,@@ -79172,7 +79185,7 @@ var TWe = (e, t) => mU(t - e) * Math.min(Math.abs(t - e), 359.999), cX = (e) =>cornerIsExternal: s}), E = T.circleTangency, D = T.lineTangency, O = T.theta, k = s ? Math.abs(c - l) : Math.abs(c - l) - w - O;if (k < 0 && a === 0) return `${b}L${t},${n}Z`;- b += pU(CWe ||= sX([+ b += mU(CWe ||= cX(["L",",","\n A",@@ -79193,7 +79206,7 @@ var TWe = (e, t) => mU(t - e) * Math.min(Math.abs(t - e), 359.999), cX = (e) =>",","Z"]), D.x, D.y, a, a, +(u < 0), E.x, E.y, r, r, +(k > 180), +(u > 0), S.x, S.y, a, a, +(u < 0), C.x, C.y);- } else b += pU(wWe ||= sX([+ } else b += mU(wWe ||= cX(["L",",","Z"@@ -79209,10 +79222,10 @@ var TWe = (e, t) => mU(t - e) * Math.min(Math.abs(t - e), 359.999), cX = (e) =>cornerRadius: 0,forceCornerRadius: !1,cornerIsExternal: !1-}, uX = (e) => {- var t = PW(e, DWe), n = t.cx, r = t.cy, i = t.innerRadius, a = t.outerRadius, o = t.cornerRadius, s = t.forceCornerRadius, c = t.cornerIsExternal, l = t.startAngle, u = t.endAngle, d = t.className;+}, dX = (e) => {+ var t = FW(e, DWe), n = t.cx, r = t.cy, i = t.innerRadius, a = t.outerRadius, o = t.cornerRadius, s = t.forceCornerRadius, c = t.cornerIsExternal, l = t.startAngle, u = t.endAngle, d = t.className;if (a < i || l === u) return null;- var f = hy("recharts-sector", d), p = a - i, m = bU(o, p, 0, !0), h = m > 0 && Math.abs(l - u) < 360 ? EWe({+ var f = hy("recharts-sector", d), p = a - i, m = xU(o, p, 0, !0), h = m > 0 && Math.abs(l - u) < 360 ? EWe({cx: n,cy: r,innerRadius: i,@@ -79222,7 +79235,7 @@ var TWe = (e, t) => mU(t - e) * Math.min(Math.abs(t - e), 359.999), cX = (e) =>cornerIsExternal: c,startAngle: l,endAngle: u- }) : lX({+ }) : uX({cx: n,cy: r,innerRadius: i,@@ -79230,7 +79243,7 @@ var TWe = (e, t) => mU(t - e) * Math.min(Math.abs(t - e), 359.999), cX = (e) =>startAngle: l,endAngle: u});- return /*#__PURE__*/ b.createElement("path", oX({}, eU(t), {+ return /*#__PURE__*/ b.createElement("path", sX({}, tU(t), {className: f,d: h}));@@ -79252,9 +79265,9 @@ function OWe(e, t, n) {x: n.left + n.width,y: t.y}];- if (AW(t)) {+ if (jW(t)) {if (e === "centric") {- var r = t.cx, i = t.cy, a = t.innerRadius, o = t.outerRadius, s = t.angle, c = iX(r, i, a, s), l = iX(r, i, o, s);+ var r = t.cx, i = t.cy, a = t.innerRadius, o = t.outerRadius, s = t.angle, c = aX(r, i, a, s), l = aX(r, i, o, s);return [{x: c.x,y: c.y@@ -79263,30 +79276,30 @@ function OWe(e, t, n) {y: l.y}];}- return aX(t);+ return oX(t);}}//#endregion//#region node_modules/es-toolkit/dist/compat/util/toNumber.mjsfunction kWe(e) {- return cU(e) ? NaN : Number(e);+ return lU(e) ? NaN : Number(e);}//#endregion//#region node_modules/es-toolkit/dist/compat/util/toFinite.mjs-function dX(e) {+function fX(e) {return e ? (e = kWe(e), e === Infinity || e === -Infinity ? (e < 0 ? -1 : 1) * Number.MAX_VALUE : e === e ? e : 0) : e === 0 ? e : 0;}//#endregion//#region node_modules/es-toolkit/dist/compat/math/range.mjs-function fX(e, t, n) {- n && typeof n != "number" && PG(e, t, n) && (t = n = void 0), e = dX(e), t === void 0 ? (t = e, e = 0) : t = dX(t), n = n === void 0 ? e < t ? 1 : -1 : dX(n);+function pX(e, t, n) {+ n && typeof n != "number" && FG(e, t, n) && (t = n = void 0), e = fX(e), t === void 0 ? (t = e, e = 0) : t = fX(t), n = n === void 0 ? e < t ? 1 : -1 : fX(n);let r = Math.max(Math.ceil((t - e) / (n || 1)), 0), i = Array(r);for (let t = 0; t < r; t++) i[t] = e, e += n;return i;}//#endregion//#region node_modules/recharts/es6/state/selectors/dataSelectors.js-var pX = (e) => e.chartData, mX = Y([pX], (e) => {+var mX = (e) => e.chartData, hX = Y([mX], (e) => {var t = e.chartData == null ? 0 : e.chartData.length - 1;return {chartData: e.chartData,@@ -79294,19 +79307,19 @@ var pX = (e) => e.chartData, mX = Y([pX], (e) => {dataEndIndex: t,dataStartIndex: 0};-}), hX = (e, t, n, r) => r ? mX(e) : pX(e), gX = (e, t, n) => n ? mX(e) : pX(e), AWe = Y([hX], (e) => {+}), gX = (e, t, n, r) => r ? hX(e) : mX(e), _X = (e, t, n) => n ? hX(e) : mX(e), AWe = Y([gX], (e) => {var t = e.chartData, n = e.dataStartIndex, r = e.dataEndIndex;return t == null ? [] : t.slice(n, r + 1);-}), jWe = Y([mX], (e) => {+}), jWe = Y([hX], (e) => {var t = e.chartData, n = e.dataStartIndex, r = e.dataEndIndex;return t == null ? [] : t.slice(n, r + 1);-}), MWe = Y([pX], (e) => {+}), MWe = Y([mX], (e) => {var t = e.chartData, n = e.dataStartIndex, r = e.dataEndIndex;return t == null ? [] : t.slice(n, r + 1);});//#endregion//#region node_modules/recharts/es6/util/isDomainSpecifiedByUser.js-function _X(e, t) {+function vX(e, t) {return IWe(e) || FWe(e, t) || PWe(e, t) || NWe();}function NWe() {@@ -79314,12 +79327,12 @@ function NWe() {}function PWe(e, t) {if (e) {- if (typeof e == "string") return vX(e, t);+ if (typeof e == "string") return yX(e, t);var n = {}.toString.call(e).slice(8, -1);- return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? vX(e, t) : void 0;+ return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? yX(e, t) : void 0;}}-function vX(e, t) {+function yX(e, t) {(t == null || t > e.length) && (t = e.length);for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];return r;@@ -79348,42 +79361,42 @@ function FWe(e, t) {function IWe(e) {if (Array.isArray(e)) return e;}-function yX(e) {+function bX(e) {if (Array.isArray(e) && e.length === 2) {- var t = _X(e, 2), n = t[0], r = t[1];- if (qq(n) && qq(r)) return !0;+ var t = vX(e, 2), n = t[0], r = t[1];+ if (Jq(n) && Jq(r)) return !0;}return !1;}-function bX(e, t, n) {+function xX(e, t, n) {return n ? e : [Math.min(e[0], t[0]), Math.max(e[1], t[1])];}-function xX(e, t) {+function SX(e, t) {if (t && typeof e != "function" && Array.isArray(e) && e.length === 2) {- var n = _X(e, 2), r = n[0], i = n[1], a, o;- if (qq(r)) a = r;+ var n = vX(e, 2), r = n[0], i = n[1], a, o;+ if (Jq(r)) a = r;else if (typeof r == "function") return;- if (qq(i)) o = i;+ if (Jq(i)) o = i;else if (typeof i == "function") return;var s = [a, o];- if (yX(s)) return s;+ if (bX(s)) return s;}}function LWe(e, t, n) {if (n || t != null) {if (typeof e == "function" && t != null) try {var r = e(t, n);- if (yX(r)) return bX(r, t, n);+ if (bX(r)) return xX(r, t, n);} catch {}if (Array.isArray(e) && e.length === 2) {- var i = _X(e, 2), a = i[0], o = i[1], s, c;+ var i = vX(e, 2), a = i[0], o = i[1], s, c;if (a === "auto") t != null && (s = Math.min(...t));- else if (_U(a)) s = a;+ else if (vU(a)) s = a;else if (typeof a == "function") try {t != null && (s = a(t?.[0]));} catch {}- else if (typeof a == "string" && oJ.test(a)) {- var l = oJ.exec(a);+ else if (typeof a == "string" && sJ.test(a)) {+ var l = sJ.exec(a);if (l == null || l[1] == null || t == null) s = void 0;else {var u = +l[1];@@ -79391,12 +79404,12 @@ function LWe(e, t, n) {}} else s = t?.[0];if (o === "auto") t != null && (c = Math.max(...t));- else if (_U(o)) c = o;+ else if (vU(o)) c = o;else if (typeof o == "function") try {t != null && (c = o(t?.[1]));} catch {}- else if (typeof o == "string" && sJ.test(o)) {- var d = sJ.exec(o);+ else if (typeof o == "string" && cJ.test(o)) {+ var d = cJ.exec(o);if (d == null || d[1] == null || t == null) c = void 0;else {var f = +d[1];@@ -79404,13 +79417,13 @@ function LWe(e, t, n) {}} else c = t?.[1];var p = [s, c];- if (yX(p)) return t == null ? p : bX(p, t, n);+ if (bX(p)) return t == null ? p : xX(p, t, n);}}}//#endregion//#region node_modules/recharts/es6/util/scale/util/arithmetic.js-var SX = /* @__PURE__ */ l((/* @__PURE__ */ o(((e, t) => {+var CX = /* @__PURE__ */ l((/* @__PURE__ */ o(((e, t) => {(function(e) {var n = 1e9, r = {precision: 20,@@ -79785,16 +79798,16 @@ var SX = /* @__PURE__ */ l((/* @__PURE__ */ o(((e, t) => {}) : t !== void 0 && t.exports ? t.exports = r : (e ||= typeof self < "u" && self && self.self == self ? self : Function("return this")(), e.Decimal = r);})(e);})))());-function CX(e) {- return e === 0 ? 1 : Math.floor(new SX.default(e).abs().log(10).toNumber()) + 1;+function wX(e) {+ return e === 0 ? 1 : Math.floor(new CX.default(e).abs().log(10).toNumber()) + 1;}-function wX(e, t, n) {- for (var r = new SX.default(e), i = 0, a = []; r.lt(t) && i < 1e5;) a.push(r.toNumber()), r = r.add(n), i++;+function TX(e, t, n) {+ for (var r = new CX.default(e), i = 0, a = []; r.lt(t) && i < 1e5;) a.push(r.toNumber()), r = r.add(n), i++;return a;}//#endregion//#region node_modules/recharts/es6/util/scale/getNiceTickValues.js-function TX(e, t) {+function EX(e, t) {return VWe(e) || BWe(e, t) || zWe(e, t) || RWe();}function RWe() {@@ -79802,12 +79815,12 @@ function RWe() {}function zWe(e, t) {if (e) {- if (typeof e == "string") return EX(e, t);+ if (typeof e == "string") return DX(e, t);var n = {}.toString.call(e).slice(8, -1);- return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? EX(e, t) : void 0;+ return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? DX(e, t) : void 0;}}-function EX(e, t) {+function DX(e, t) {(t == null || t > e.length) && (t = e.length);for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];return r;@@ -79836,71 +79849,71 @@ function BWe(e, t) {function VWe(e) {if (Array.isArray(e)) return e;}-var DX = (e) => {- var t = TX(e, 2), n = t[0], r = t[1], i = n, a = r;+var OX = (e) => {+ var t = EX(e, 2), n = t[0], r = t[1], i = n, a = r;return n > r && (i = r, a = n), [i, a];-}, OX = (e, t, n) => {- if (e.lte(0)) return new SX.default(0);- var r = CX(e.toNumber()), i = new SX.default(10).pow(r), a = e.div(i), o = r === 1 ? .1 : .05, s = new SX.default(Math.ceil(a.div(o).toNumber())).add(n).mul(o).mul(i);- return t ? new SX.default(s.toNumber()) : new SX.default(Math.ceil(s.toNumber()));}, kX = (e, t, n) => {- if (e.lte(0)) return new SX.default(0);+ if (e.lte(0)) return new CX.default(0);+ var r = wX(e.toNumber()), i = new CX.default(10).pow(r), a = e.div(i), o = r === 1 ? .1 : .05, s = new CX.default(Math.ceil(a.div(o).toNumber())).add(n).mul(o).mul(i);+ return t ? new CX.default(s.toNumber()) : new CX.default(Math.ceil(s.toNumber()));+}, AX = (e, t, n) => {+ if (e.lte(0)) return new CX.default(0);var r = [1,2,2.5,5- ], i = e.toNumber(), a = Math.floor(new SX.default(i).abs().log(10).toNumber()), o = new SX.default(10).pow(a), s = e.div(o).toNumber(), c = r.findIndex((e) => e >= s - 1e-10);+ ], i = e.toNumber(), a = Math.floor(new CX.default(i).abs().log(10).toNumber()), o = new CX.default(10).pow(a), s = e.div(o).toNumber(), c = r.findIndex((e) => e >= s - 1e-10);if (c === -1 && (o = o.mul(10), c = 0), c += n, c >= r.length) {var l = Math.floor(c / r.length);- c %= r.length, o = o.mul(new SX.default(10).pow(l));+ c %= r.length, o = o.mul(new CX.default(10).pow(l));}- var u = r[c] ?? 1, d = new SX.default(u).mul(o);- return t ? d : new SX.default(Math.ceil(d.toNumber()));+ var u = r[c] ?? 1, d = new CX.default(u).mul(o);+ return t ? d : new CX.default(Math.ceil(d.toNumber()));}, HWe = (e, t, n) => {- var r = new SX.default(1), i = new SX.default(e);+ var r = new CX.default(1), i = new CX.default(e);if (!i.isint() && n) {var a = Math.abs(e);- a < 1 ? (r = new SX.default(10).pow(CX(e) - 1), i = new SX.default(Math.floor(i.div(r).toNumber())).mul(r)) : a > 1 && (i = new SX.default(Math.floor(e)));- } else e === 0 ? i = new SX.default(Math.floor((t - 1) / 2)) : n || (i = new SX.default(Math.floor(e)));- for (var o = Math.floor((t - 1) / 2), s = [], c = 0; c < t; c++) s.push(i.add(new SX.default(c - o).mul(r)).toNumber());+ a < 1 ? (r = new CX.default(10).pow(wX(e) - 1), i = new CX.default(Math.floor(i.div(r).toNumber())).mul(r)) : a > 1 && (i = new CX.default(Math.floor(e)));+ } else e === 0 ? i = new CX.default(Math.floor((t - 1) / 2)) : n || (i = new CX.default(Math.floor(e)));+ for (var o = Math.floor((t - 1) / 2), s = [], c = 0; c < t; c++) s.push(i.add(new CX.default(c - o).mul(r)).toNumber());return s;-}, AX = function(e, t, n, r) {- var i = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : 0, a = arguments.length > 5 && arguments[5] !== void 0 ? arguments[5] : OX;+}, jX = function(e, t, n, r) {+ var i = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : 0, a = arguments.length > 5 && arguments[5] !== void 0 ? arguments[5] : kX;if (!Number.isFinite((t - e) / (n - 1))) return {- step: new SX.default(0),- tickMin: new SX.default(0),- tickMax: new SX.default(0)- };- var o = a(new SX.default(t).sub(e).div(n - 1), r, i), s;- e <= 0 && t >= 0 ? s = new SX.default(0) : (s = new SX.default(e).add(t).div(2), s = s.sub(new SX.default(s).mod(o)));- var c = Math.ceil(s.sub(e).div(o).toNumber()), l = Math.ceil(new SX.default(t).sub(s).div(o).toNumber()), u = c + l + 1;- return u > n ? AX(e, t, n, r, i + 1, a) : (u < n && (l = t > 0 ? l + (n - u) : l, c = t > 0 ? c : c + (n - u)), {+ step: new CX.default(0),+ tickMin: new CX.default(0),+ tickMax: new CX.default(0)+ };+ var o = a(new CX.default(t).sub(e).div(n - 1), r, i), s;+ e <= 0 && t >= 0 ? s = new CX.default(0) : (s = new CX.default(e).add(t).div(2), s = s.sub(new CX.default(s).mod(o)));+ var c = Math.ceil(s.sub(e).div(o).toNumber()), l = Math.ceil(new CX.default(t).sub(s).div(o).toNumber()), u = c + l + 1;+ return u > n ? jX(e, t, n, r, i + 1, a) : (u < n && (l = t > 0 ? l + (n - u) : l, c = t > 0 ? c : c + (n - u)), {step: o,- tickMin: s.sub(new SX.default(c).mul(o)),- tickMax: s.add(new SX.default(l).mul(o))+ tickMin: s.sub(new CX.default(c).mul(o)),+ tickMax: s.add(new CX.default(l).mul(o))});-}, jX = function(e) {- var t = TX(e, 2), n = t[0], r = t[1], i = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 6, a = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : !0, o = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : "auto", s = Math.max(i, 2), c = TX(DX([n, r]), 2), l = c[0], u = c[1];+}, MX = function(e) {+ var t = EX(e, 2), n = t[0], r = t[1], i = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 6, a = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : !0, o = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : "auto", s = Math.max(i, 2), c = EX(OX([n, r]), 2), l = c[0], u = c[1];if (l === -Infinity || u === Infinity) {var d = u === Infinity ? [l, ...Array(i - 1).fill(Infinity)] : [...Array(i - 1).fill(-Infinity), u];return n > r ? d.reverse() : d;}if (l === u) return HWe(l, i, a);- var f = AX(l, u, s, a, 0, o === "snap125" ? kX : OX), p = f.step, m = f.tickMin, h = f.tickMax, g = wX(m, h.add(new SX.default(.1).mul(p)), p);+ var f = jX(l, u, s, a, 0, o === "snap125" ? AX : kX), p = f.step, m = f.tickMin, h = f.tickMax, g = TX(m, h.add(new CX.default(.1).mul(p)), p);return n > r ? g.reverse() : g;-}, MX = function(e, t) {- var n = TX(e, 2), r = n[0], i = n[1], a = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : !0, o = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : "auto", s = TX(DX([r, i]), 2), c = s[0], l = s[1];+}, NX = function(e, t) {+ var n = EX(e, 2), r = n[0], i = n[1], a = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : !0, o = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : "auto", s = EX(OX([r, i]), 2), c = s[0], l = s[1];if (c === -Infinity || l === Infinity) return [r, i];if (c === l) return [c];- var u = o === "snap125" ? kX : OX, d = Math.max(t, 2), f = u(new SX.default(l).sub(c).div(d - 1), a, 0), p = [...wX(new SX.default(c), new SX.default(l), f), l];+ var u = o === "snap125" ? AX : kX, d = Math.max(t, 2), f = u(new CX.default(l).sub(c).div(d - 1), a, 0), p = [...TX(new CX.default(c), new CX.default(l), f), l];if (a === !1) {p = p.map((e) => Math.round(e));var m = p.length - 1;m > 0 && p[m] === p[m - 1] && (p = p.slice(0, m));}return r > i ? p.reverse() : p;-}, NX = (e) => e.rootProps.maxBarSize, PX = (e) => e.rootProps.barGap, FX = (e) => e.rootProps.barCategoryGap, IX = (e) => e.rootProps.barSize, LX = (e) => e.rootProps.stackOffset, RX = (e) => e.rootProps.reverseStackOrder, zX = (e) => e.options.chartName, BX = (e) => e.rootProps.syncId, VX = (e) => e.rootProps.syncMethod, HX = (e) => e.options.eventEmitter, UWe = (e) => e.rootProps.baseValue, UX = {+}, PX = (e) => e.rootProps.maxBarSize, FX = (e) => e.rootProps.barGap, IX = (e) => e.rootProps.barCategoryGap, LX = (e) => e.rootProps.barSize, RX = (e) => e.rootProps.stackOffset, zX = (e) => e.rootProps.reverseStackOrder, BX = (e) => e.options.chartName, VX = (e) => e.rootProps.syncId, HX = (e) => e.rootProps.syncMethod, UX = (e) => e.options.eventEmitter, UWe = (e) => e.rootProps.baseValue, WX = {grid: -100,barBackground: -50,area: 100,@@ -79913,7 +79926,7 @@ var DX = (e) => {cursorLine: 1100,activeDot: 1200,label: 2e3-}, WX = {+}, GX = {allowDecimals: !1,allowDuplicatedCategory: !0,allowDataOverflow: !1,@@ -79934,8 +79947,8 @@ var DX = (e) => {tickLine: !0,tickSize: 8,type: "auto",- zIndex: UX.axis-}, GX = {+ zIndex: WX.axis+}, KX = {allowDataOverflow: !1,allowDecimals: !1,allowDuplicatedCategory: !0,@@ -79954,19 +79967,19 @@ var DX = (e) => {tickCount: 5,tickLine: !0,type: "auto",- zIndex: UX.axis-}, KX = (e, t) => {+ zIndex: WX.axis+}, qX = (e, t) => {if (e && t) return e != null && e.reversed ? [t[1], t[0]] : t;};//#endregion//#region node_modules/recharts/es6/util/getAxisTypeBasedOnLayout.js-function qX(e, t, n) {+function JX(e, t, n) {if (n !== "auto") return n;- if (e != null) return Qq(e, t) ? "category" : "number";+ if (e != null) return $q(e, t) ? "category" : "number";}//#endregion//#region node_modules/recharts/es6/state/selectors/polarAxisSelectors.js-function JX(e, t) {+function YX(e, t) {var n = Object.keys(e);if (Object.getOwnPropertySymbols) {var r = Object.getOwnPropertySymbols(e);@@ -79976,12 +79989,12 @@ function JX(e, t) {}return n;}-function YX(e) {+function XX(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t] == null ? {} : arguments[t];- t % 2 ? JX(Object(n), !0).forEach(function(t) {+ t % 2 ? YX(Object(n), !0).forEach(function(t) {WWe(e, t, n[t]);- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : JX(Object(n)).forEach(function(t) {+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : YX(Object(n)).forEach(function(t) {Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));});}@@ -80009,77 +80022,77 @@ function KWe(e, t) {}return (t === "string" ? String : Number)(e);}-var XX = {- allowDataOverflow: WX.allowDataOverflow,- allowDecimals: WX.allowDecimals,+var ZX = {+ allowDataOverflow: GX.allowDataOverflow,+ allowDecimals: GX.allowDecimals,allowDuplicatedCategory: !1,dataKey: void 0,domain: void 0,- id: WX.angleAxisId,+ id: GX.angleAxisId,includeHidden: !1,name: void 0,- reversed: WX.reversed,- scale: WX.scale,- tick: WX.tick,+ reversed: GX.reversed,+ scale: GX.scale,+ tick: GX.tick,tickCount: void 0,ticks: void 0,- type: WX.type,+ type: GX.type,unit: void 0,niceTicks: "auto"-}, ZX = {- allowDataOverflow: GX.allowDataOverflow,- allowDecimals: GX.allowDecimals,- allowDuplicatedCategory: GX.allowDuplicatedCategory,+}, QX = {+ allowDataOverflow: KX.allowDataOverflow,+ allowDecimals: KX.allowDecimals,+ allowDuplicatedCategory: KX.allowDuplicatedCategory,dataKey: void 0,domain: void 0,- id: GX.radiusAxisId,- includeHidden: GX.includeHidden,+ id: KX.radiusAxisId,+ includeHidden: KX.includeHidden,name: void 0,- reversed: GX.reversed,- scale: GX.scale,- tick: GX.tick,- tickCount: GX.tickCount,+ reversed: KX.reversed,+ scale: KX.scale,+ tick: KX.tick,+ tickCount: KX.tickCount,ticks: void 0,- type: GX.type,+ type: KX.type,unit: void 0,niceTicks: "auto"-}, QX = Y([(e, t) => {+}, $X = Y([(e, t) => {if (t != null) return e.polarAxis.angleAxis[t];-}, HJ], (e, t) => {+}, UJ], (e, t) => {if (e != null) return e;- var n = qX(t, "angleAxis", XX.type) ?? "category";- return YX(YX({}, XX), {}, { type: n });-}), $X = Y([(e, t) => e.polarAxis.radiusAxis[t], HJ], (e, t) => {+ var n = JX(t, "angleAxis", ZX.type) ?? "category";+ return XX(XX({}, ZX), {}, { type: n });+}), eZ = Y([(e, t) => e.polarAxis.radiusAxis[t], UJ], (e, t) => {if (e != null) return e;- var n = qX(t, "radiusAxis", ZX.type) ?? "category";- return YX(YX({}, ZX), {}, { type: n });-}), eZ = (e) => e.polarOptions, tZ = Y([- dJ,+ var n = JX(t, "radiusAxis", QX.type) ?? "category";+ return XX(XX({}, QX), {}, { type: n });+}), tZ = (e) => e.polarOptions, nZ = Y([fJ,- vJ-], fWe), nZ = Y([eZ, tZ], (e, t) => {- if (e != null) return bU(e.innerRadius, t, 0);-}), rZ = Y([eZ, tZ], (e, t) => {- if (e != null) return bU(e.outerRadius, t, t * .8);-}), iZ = Y([eZ], (e) => e == null ? [0, 0] : [e.startAngle, e.endAngle]), qWe = Y([QX, iZ], KX), aZ = Y([- tZ,+ pJ,+ yJ+], fWe), rZ = Y([tZ, nZ], (e, t) => {+ if (e != null) return xU(e.innerRadius, t, 0);+}), iZ = Y([tZ, nZ], (e, t) => {+ if (e != null) return xU(e.outerRadius, t, t * .8);+}), aZ = Y([tZ], (e) => e == null ? [0, 0] : [e.startAngle, e.endAngle]), qWe = Y([$X, aZ], qX), oZ = Y([nZ,- rZ+ rZ,+ iZ], (e, t, n) => {if (e != null && t != null && n != null) return [t, n];-}), JWe = Y([$X, aZ], KX), oZ = Y([- zJ,- eZ,- nZ,+}), JWe = Y([eZ, oZ], qX), sZ = Y([+ BJ,+ tZ,rZ,- dJ,- fJ+ iZ,+ fJ,+ pJ], (e, t, n, r, i, a) => {if (!(e !== "centric" && e !== "radial" || t == null || n == null || r == null)) {var o = t.cx, s = t.cy, c = t.startAngle, l = t.endAngle;return {- cx: bU(o, i, i / 2),- cy: bU(s, a, a / 2),+ cx: xU(o, i, i / 2),+ cy: xU(s, a, a / 2),innerRadius: n,outerRadius: r,startAngle: c,@@ -80087,22 +80100,22 @@ var XX = {clockWise: !1};}-}), sZ = (e, t) => t, cZ = (e, t, n) => n;+}), cZ = (e, t) => t, lZ = (e, t, n) => n;//#endregion//#region node_modules/recharts/es6/util/stacks/getStackSeriesIdentifier.js-function lZ(e) {+function uZ(e) {return e?.id;}//#endregion//#region node_modules/recharts/es6/state/selectors/combiners/combineDisplayedStackedData.js-function uZ(e, t, n) {+function dZ(e, t, n) {var r = t.chartData, i = r === void 0 ? [] : r, a = n.allowDuplicatedCategory, o = n.dataKey, s = /* @__PURE__ */ new Map();return e.forEach((e) => {var t = e.data ?? i;if (t != null && t.length !== 0) {- var n = lZ(e);+ var n = uZ(e);t.forEach((t, r) => {- var i = o == null || a ? r : String(Zq(t, o, null)), c = Zq(t, e.dataKey, 0), l = s.has(i) ? s.get(i) : {};+ var i = o == null || a ? r : String(Qq(t, o, null)), c = Qq(t, e.dataKey, 0), l = s.has(i) ? s.get(i) : {};Object.assign(l, { [n]: c }), s.set(i, l);});}@@ -80110,15 +80123,15 @@ function uZ(e, t, n) {}//#endregion//#region node_modules/recharts/es6/state/types/StackedGraphicalItem.js-function dZ(e) {+function fZ(e) {return "stackId" in e && e.stackId != null && e.dataKey != null;}//#endregion//#region node_modules/recharts/es6/state/selectors/numberDomainEqualityCheck.js-var fZ = (e, t) => e === t ? !0 : e == null || t == null ? !1 : e[0] === t[0] && e[1] === t[1];+var pZ = (e, t) => e === t ? !0 : e == null || t == null ? !1 : e[0] === t[0] && e[1] === t[1];//#endregion//#region node_modules/recharts/es6/state/selectors/arrayEqualityCheck.js-function pZ(e, t) {+function mZ(e, t) {return Array.isArray(e) && Array.isArray(t) && e.length === 0 && t.length === 0 ? !0 : e === t;}function YWe(e, t) {@@ -80130,13 +80143,13 @@ function YWe(e, t) {}//#endregion//#region node_modules/recharts/es6/state/selectors/selectTooltipAxisType.js-var mZ = (e) => {- var t = zJ(e);+var hZ = (e) => {+ var t = BJ(e);return t === "horizontal" ? "xAxis" : t === "vertical" ? "yAxis" : t === "centric" ? "angleAxis" : "radiusAxis";-}, hZ = (e) => e.tooltip.settings.axisId;+}, gZ = (e) => e.tooltip.settings.axisId;//#endregion//#region node_modules/recharts/es6/util/scale/RechartsScale.js-function gZ(e) {+function _Z(e) {if (e != null) {var t = e.ticks, n = e.bandwidth, r = e.range(), i = [Math.min(...r), Math.max(...r)];return {@@ -80177,13 +80190,13 @@ function gZ(e) {}//#endregion//#region node_modules/recharts/es6/state/selectors/combiners/combineCheckedDomain.js-var _Z = (e, t) => {+var vZ = (e, t) => {if (t != null) switch (e) {case "linear":- if (!yX(t)) {+ if (!bX(t)) {for (var n, r, i = 0; i < t.length; i++) {var a = t[i];- qq(a) && ((n === void 0 || a < n) && (n = a), (r === void 0 || a > r) && (r = a));+ Jq(a) && ((n === void 0 || a < n) && (n = a), (r === void 0 || a > r) && (r = a));}return n !== void 0 && r !== void 0 ? [n, r] : void 0;}@@ -80193,12 +80206,12 @@ var _Z = (e, t) => {};//#endregion//#region node_modules/d3-array/src/ascending.js-function vZ(e, t) {+function yZ(e, t) {return e < t ? -1 : e > t ? 1 : e >= t ? 0 : NaN;}//#endregion//#region node_modules/d3-array/src/bisector.js-function yZ(e) {+function bZ(e) {let t = e, n = e;e.length === 1 && (t = (t, n) => e(t) - n, n = XWe(e));function r(e, t, r, i) {@@ -80227,11 +80240,11 @@ function yZ(e) {};}function XWe(e) {- return (t, n) => vZ(e(t), n);+ return (t, n) => yZ(e(t), n);}//#endregion//#region node_modules/d3-array/src/number.js-function bZ(e) {+function xZ(e) {return e === null ? NaN : +e;}function* ZWe(e, t) {@@ -80243,11 +80256,11 @@ function* ZWe(e, t) {}//#endregion//#region node_modules/d3-array/src/bisect.js-var xZ = yZ(vZ), SZ = xZ.right;-xZ.left, yZ(bZ).center;+var SZ = bZ(yZ), CZ = SZ.right;+SZ.left, bZ(xZ).center;//#endregion//#region node_modules/internmap/src/index.js-var CZ = class extends Map {+var wZ = class extends Map {constructor(e, t = eGe) {if (super(), Object.defineProperties(this, {_intern: { value: /* @__PURE__ */ new Map() },@@ -80255,10 +80268,10 @@ var CZ = class extends Map {}), e != null) for (let [t, n] of e) this.set(t, n);}get(e) {- return super.get(wZ(this, e));+ return super.get(TZ(this, e));}has(e) {- return super.has(wZ(this, e));+ return super.has(TZ(this, e));}set(e, t) {return super.set(QWe(this, e), t);@@ -80267,7 +80280,7 @@ var CZ = class extends Map {return super.delete($We(this, e));}};-function wZ({ _intern: e, _key: t }, n) {+function TZ({ _intern: e, _key: t }, n) {let r = t(n);return e.has(r) ? e.get(r) : n;}@@ -80284,11 +80297,11 @@ function eGe(e) {}//#endregion//#region node_modules/d3-array/src/ticks.js-var TZ = Math.sqrt(50), EZ = Math.sqrt(10), DZ = Math.sqrt(2);-function OZ(e, t, n) {+var EZ = Math.sqrt(50), DZ = Math.sqrt(10), OZ = Math.sqrt(2);+function kZ(e, t, n) {var r, i = -1, a, o, s;if (t = +t, e = +e, n = +n, e === t && n > 0) return [e];- if ((r = t < e) && (a = e, e = t, t = a), (s = kZ(e, t, n)) === 0 || !isFinite(s)) return [];+ if ((r = t < e) && (a = e, e = t, t = a), (s = AZ(e, t, n)) === 0 || !isFinite(s)) return [];if (s > 0) {let n = Math.round(e / s), r = Math.round(t / s);for (n * s < e && ++n, r * s > t && --r, o = Array(a = r - n + 1); ++i < a;) o[i] = (n + i) * s;@@ -80299,17 +80312,17 @@ function OZ(e, t, n) {}return r && o.reverse(), o;}-function kZ(e, t, n) {+function AZ(e, t, n) {var r = (t - e) / Math.max(0, n), i = Math.floor(Math.log(r) / Math.LN10), a = r / 10 ** i;- return i >= 0 ? (a >= TZ ? 10 : a >= EZ ? 5 : a >= DZ ? 2 : 1) * 10 ** i : -(10 ** -i) / (a >= TZ ? 10 : a >= EZ ? 5 : a >= DZ ? 2 : 1);+ return i >= 0 ? (a >= EZ ? 10 : a >= DZ ? 5 : a >= OZ ? 2 : 1) * 10 ** i : -(10 ** -i) / (a >= EZ ? 10 : a >= DZ ? 5 : a >= OZ ? 2 : 1);}-function AZ(e, t, n) {+function jZ(e, t, n) {var r = Math.abs(t - e) / Math.max(0, n), i = 10 ** Math.floor(Math.log(r) / Math.LN10), a = r / i;- return a >= TZ ? i *= 10 : a >= EZ ? i *= 5 : a >= DZ && (i *= 2), t < e ? -i : i;+ return a >= EZ ? i *= 10 : a >= DZ ? i *= 5 : a >= OZ && (i *= 2), t < e ? -i : i;}//#endregion//#region node_modules/d3-array/src/max.js-function jZ(e, t) {+function MZ(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 {@@ -80320,7 +80333,7 @@ function jZ(e, t) {}//#endregion//#region node_modules/d3-array/src/min.js-function MZ(e, t) {+function NZ(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 {@@ -80331,22 +80344,22 @@ function MZ(e, t) {}//#endregion//#region node_modules/d3-array/src/quickselect.js-function NZ(e, t, n = 0, r = e.length - 1, i = vZ) {+function PZ(e, t, n = 0, r = e.length - 1, i = yZ) {for (; r > n;) {if (r - n > 600) {let a = r - n + 1, o = t - n + 1, s = Math.log(a), c = .5 * Math.exp(2 * s / 3), l = .5 * Math.sqrt(s * c * (a - c) / a) * (o - a / 2 < 0 ? -1 : 1);- NZ(e, t, Math.max(n, Math.floor(t - o * c / a + l)), Math.min(r, Math.floor(t + (a - o) * c / a + l)), i);+ PZ(e, t, Math.max(n, Math.floor(t - o * c / a + l)), Math.min(r, Math.floor(t + (a - o) * c / a + l)), i);}let a = e[t], o = n, s = r;- for (PZ(e, n, t), i(e[r], a) > 0 && PZ(e, n, r); o < s;) {- for (PZ(e, o, s), ++o, --s; i(e[o], a) < 0;) ++o;+ for (FZ(e, n, t), i(e[r], a) > 0 && FZ(e, n, r); o < s;) {+ for (FZ(e, o, s), ++o, --s; i(e[o], a) < 0;) ++o;for (; i(e[s], a) > 0;) --s;}- i(e[n], a) === 0 ? PZ(e, n, s) : (++s, PZ(e, s, r)), s <= t && (n = s + 1), t <= s && (r = s - 1);+ i(e[n], a) === 0 ? FZ(e, n, s) : (++s, FZ(e, s, r)), s <= t && (n = s + 1), t <= s && (r = s - 1);}return e;}-function PZ(e, t, n) {+function FZ(e, t, n) {let r = e[t];e[t] = e[n], e[n] = r;}@@ -80354,13 +80367,13 @@ function PZ(e, t, n) {//#region node_modules/d3-array/src/quantile.jsfunction tGe(e, t, n) {if (e = Float64Array.from(ZWe(e, n)), r = e.length) {- if ((t = +t) <= 0 || r < 2) return MZ(e);- if (t >= 1) return jZ(e);- var r, i = (r - 1) * t, a = Math.floor(i), o = jZ(NZ(e, a).subarray(0, a + 1));- return o + (MZ(e.subarray(a + 1)) - o) * (i - a);+ if ((t = +t) <= 0 || r < 2) return NZ(e);+ if (t >= 1) return MZ(e);+ var r, i = (r - 1) * t, a = Math.floor(i), o = MZ(PZ(e, a).subarray(0, a + 1));+ return o + (NZ(e.subarray(a + 1)) - o) * (i - a);}}-function nGe(e, t, n = bZ) {+function nGe(e, t, n = xZ) {if (r = e.length) {if ((t = +t) <= 0 || r < 2) return +n(e[0], 0, e);if (t >= 1) return +n(e[r - 1], r - 1, e);@@ -80377,7 +80390,7 @@ function rGe(e, t, n) {}//#endregion//#region node_modules/d3-array/src/sum.js-function FZ(e, t) {+function IZ(e, t) {let n = 0;if (t === void 0) for (let t of e) (t = +t) && (n += t);else {@@ -80388,7 +80401,7 @@ function FZ(e, t) {}//#endregion//#region node_modules/d3-scale/src/init.js-function IZ(e, t) {+function LZ(e, t) {switch (arguments.length) {case 0: break;case 1:@@ -80398,7 +80411,7 @@ function IZ(e, t) {}return this;}-function LZ(e, t) {+function RZ(e, t) {switch (arguments.length) {case 0: break;case 1:@@ -80410,20 +80423,20 @@ function LZ(e, t) {}//#endregion//#region node_modules/d3-scale/src/ordinal.js-var RZ = Symbol("implicit");-function zZ() {- var e = new CZ(), t = [], n = [], r = RZ;+var zZ = Symbol("implicit");+function BZ() {+ var e = new wZ(), t = [], n = [], r = zZ;function i(i) {let a = e.get(i);if (a === void 0) {- if (r !== RZ) return r;+ if (r !== zZ) return r;e.set(i, a = t.push(i) - 1);}return n[a % n.length];}return i.domain = function(n) {if (!arguments.length) return t.slice();- t = [], e = new CZ();+ t = [], e = new wZ();for (let r of n) e.has(r) || e.set(r, t.push(r) - 1);return i;}, i.range = function(e) {@@ -80431,13 +80444,13 @@ function zZ() {}, i.unknown = function(e) {return arguments.length ? (r = e, i) : r;}, i.copy = function() {- return zZ(t, n).unknown(r);- }, IZ.apply(i, arguments), i;+ return BZ(t, n).unknown(r);+ }, LZ.apply(i, arguments), i;}//#endregion//#region node_modules/d3-scale/src/band.js-function BZ() {- var e = zZ().unknown(void 0), t = e.domain, n = e.range, r = 0, i = 1, a, o, s = !1, c = 0, l = 0, u = .5;+function VZ() {+ var e = BZ().unknown(void 0), t = e.domain, n = e.range, r = 0, i = 1, a, o, s = !1, c = 0, l = 0, u = .5;delete e.unknown;function d() {var e = t().length, d = i < r, f = d ? i : r, p = d ? r : i;@@ -80468,32 +80481,32 @@ function BZ() {}, e.align = function(e) {return arguments.length ? (u = Math.max(0, Math.min(1, e)), d()) : u;}, e.copy = function() {- return BZ(t(), [r, i]).round(s).paddingInner(c).paddingOuter(l).align(u);- }, IZ.apply(d(), arguments);+ return VZ(t(), [r, i]).round(s).paddingInner(c).paddingOuter(l).align(u);+ }, LZ.apply(d(), arguments);}-function VZ(e) {+function HZ(e) {var t = e.copy;return e.padding = e.paddingOuter, delete e.paddingInner, delete e.paddingOuter, e.copy = function() {- return VZ(t());+ return HZ(t());}, e;}function iGe() {- return VZ(BZ.apply(null, arguments).paddingInner(1));+ return HZ(VZ.apply(null, arguments).paddingInner(1));}//#endregion//#region node_modules/d3-color/src/define.js-function HZ(e, t, n) {+function UZ(e, t, n) {e.prototype = t.prototype = n, n.constructor = e;}-function UZ(e, t) {+function WZ(e, t) {var n = Object.create(e.prototype);for (var r in t) n[r] = t[r];return n;}//#endregion//#region node_modules/d3-color/src/color.js-function WZ() {}-var GZ = .7, KZ = 1 / GZ, qZ = "\\s*([+-]?\\d+)\\s*", JZ = "\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*", YZ = "\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*", aGe = /^#([0-9a-f]{3,8})$/, oGe = RegExp(`^rgb\\(${qZ},${qZ},${qZ}\\)$`), sGe = RegExp(`^rgb\\(${YZ},${YZ},${YZ}\\)$`), cGe = RegExp(`^rgba\\(${qZ},${qZ},${qZ},${JZ}\\)$`), lGe = RegExp(`^rgba\\(${YZ},${YZ},${YZ},${JZ}\\)$`), uGe = RegExp(`^hsl\\(${JZ},${YZ},${YZ}\\)$`), dGe = RegExp(`^hsla\\(${JZ},${YZ},${YZ},${JZ}\\)$`), XZ = {+function GZ() {}+var KZ = .7, qZ = 1 / KZ, JZ = "\\s*([+-]?\\d+)\\s*", YZ = "\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*", XZ = "\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*", aGe = /^#([0-9a-f]{3,8})$/, oGe = RegExp(`^rgb\\(${JZ},${JZ},${JZ}\\)$`), sGe = RegExp(`^rgb\\(${XZ},${XZ},${XZ}\\)$`), cGe = RegExp(`^rgba\\(${JZ},${JZ},${JZ},${YZ}\\)$`), lGe = RegExp(`^rgba\\(${XZ},${XZ},${XZ},${YZ}\\)$`), uGe = RegExp(`^hsl\\(${YZ},${XZ},${XZ}\\)$`), dGe = RegExp(`^hsla\\(${YZ},${XZ},${XZ},${YZ}\\)$`), ZZ = {aliceblue: 15792383,antiquewhite: 16444375,aqua: 65535,@@ -80643,143 +80656,143 @@ var GZ = .7, KZ = 1 / GZ, qZ = "\\s*([+-]?\\d+)\\s*", JZ = "\\s*([+-]?(?:\\d*\\.yellow: 16776960,yellowgreen: 10145074};-HZ(WZ, $Z, {+UZ(GZ, eQ, {copy(e) {return Object.assign(new this.constructor(), this, e);},displayable() {return this.rgb().displayable();},- hex: ZZ,- formatHex: ZZ,+ hex: QZ,+ formatHex: QZ,formatHex8: fGe,formatHsl: pGe,- formatRgb: QZ,- toString: QZ+ formatRgb: $Z,+ toString: $Z});-function ZZ() {+function QZ() {return this.rgb().formatHex();}function fGe() {return this.rgb().formatHex8();}function pGe() {- return uQ(this).formatHsl();+ return dQ(this).formatHsl();}-function QZ() {+function $Z() {return this.rgb().formatRgb();}-function $Z(e) {+function eQ(e) {var t, n;- return e = (e + "").trim().toLowerCase(), (t = aGe.exec(e)) ? (n = t[1].length, t = parseInt(t[1], 16), n === 6 ? eQ(t) : n === 3 ? new rQ(t >> 8 & 15 | t >> 4 & 240, t >> 4 & 15 | t & 240, (t & 15) << 4 | t & 15, 1) : n === 8 ? tQ(t >> 24 & 255, t >> 16 & 255, t >> 8 & 255, (t & 255) / 255) : n === 4 ? tQ(t >> 12 & 15 | t >> 8 & 240, t >> 8 & 15 | t >> 4 & 240, t >> 4 & 15 | t & 240, ((t & 15) << 4 | t & 15) / 255) : null) : (t = oGe.exec(e)) ? new rQ(t[1], t[2], t[3], 1) : (t = sGe.exec(e)) ? new rQ(t[1] * 255 / 100, t[2] * 255 / 100, t[3] * 255 / 100, 1) : (t = cGe.exec(e)) ? tQ(t[1], t[2], t[3], t[4]) : (t = lGe.exec(e)) ? tQ(t[1] * 255 / 100, t[2] * 255 / 100, t[3] * 255 / 100, t[4]) : (t = uGe.exec(e)) ? lQ(t[1], t[2] / 100, t[3] / 100, 1) : (t = dGe.exec(e)) ? lQ(t[1], t[2] / 100, t[3] / 100, t[4]) : XZ.hasOwnProperty(e) ? eQ(XZ[e]) : e === "transparent" ? new rQ(NaN, NaN, NaN, 0) : null;+ return e = (e + "").trim().toLowerCase(), (t = aGe.exec(e)) ? (n = t[1].length, t = parseInt(t[1], 16), n === 6 ? tQ(t) : n === 3 ? new iQ(t >> 8 & 15 | t >> 4 & 240, t >> 4 & 15 | t & 240, (t & 15) << 4 | t & 15, 1) : n === 8 ? nQ(t >> 24 & 255, t >> 16 & 255, t >> 8 & 255, (t & 255) / 255) : n === 4 ? nQ(t >> 12 & 15 | t >> 8 & 240, t >> 8 & 15 | t >> 4 & 240, t >> 4 & 15 | t & 240, ((t & 15) << 4 | t & 15) / 255) : null) : (t = oGe.exec(e)) ? new iQ(t[1], t[2], t[3], 1) : (t = sGe.exec(e)) ? new iQ(t[1] * 255 / 100, t[2] * 255 / 100, t[3] * 255 / 100, 1) : (t = cGe.exec(e)) ? nQ(t[1], t[2], t[3], t[4]) : (t = lGe.exec(e)) ? nQ(t[1] * 255 / 100, t[2] * 255 / 100, t[3] * 255 / 100, t[4]) : (t = uGe.exec(e)) ? uQ(t[1], t[2] / 100, t[3] / 100, 1) : (t = dGe.exec(e)) ? uQ(t[1], t[2] / 100, t[3] / 100, t[4]) : ZZ.hasOwnProperty(e) ? tQ(ZZ[e]) : e === "transparent" ? new iQ(NaN, NaN, NaN, 0) : null;}-function eQ(e) {- return new rQ(e >> 16 & 255, e >> 8 & 255, e & 255, 1);+function tQ(e) {+ return new iQ(e >> 16 & 255, e >> 8 & 255, e & 255, 1);}-function tQ(e, t, n, r) {- return r <= 0 && (e = t = n = NaN), new rQ(e, t, n, r);+function nQ(e, t, n, r) {+ return r <= 0 && (e = t = n = NaN), new iQ(e, t, n, r);}function mGe(e) {- return e instanceof WZ || (e = $Z(e)), e ? (e = e.rgb(), new rQ(e.r, e.g, e.b, e.opacity)) : new rQ();-}-function nQ(e, t, n, r) {- return arguments.length === 1 ? mGe(e) : new rQ(e, t, n, r ?? 1);+ return e instanceof GZ || (e = eQ(e)), e ? (e = e.rgb(), new iQ(e.r, e.g, e.b, e.opacity)) : new iQ();}function rQ(e, t, n, r) {+ return arguments.length === 1 ? mGe(e) : new iQ(e, t, n, r ?? 1);+}+function iQ(e, t, n, r) {this.r = +e, this.g = +t, this.b = +n, this.opacity = +r;}-HZ(rQ, nQ, UZ(WZ, {+UZ(iQ, rQ, WZ(GZ, {brighter(e) {- return e = e == null ? KZ : KZ ** +e, new rQ(this.r * e, this.g * e, this.b * e, this.opacity);+ return e = e == null ? qZ : qZ ** +e, new iQ(this.r * e, this.g * e, this.b * e, this.opacity);},darker(e) {- return e = e == null ? GZ : GZ ** +e, new rQ(this.r * e, this.g * e, this.b * e, this.opacity);+ return e = e == null ? KZ : KZ ** +e, new iQ(this.r * e, this.g * e, this.b * e, this.opacity);},rgb() {return this;},clamp() {- return new rQ(sQ(this.r), sQ(this.g), sQ(this.b), oQ(this.opacity));+ return new iQ(cQ(this.r), cQ(this.g), cQ(this.b), sQ(this.opacity));},displayable() {return -.5 <= this.r && this.r < 255.5 && -.5 <= this.g && this.g < 255.5 && -.5 <= this.b && this.b < 255.5 && 0 <= this.opacity && this.opacity <= 1;},- hex: iQ,- formatHex: iQ,+ hex: aQ,+ formatHex: aQ,formatHex8: hGe,- formatRgb: aQ,- toString: aQ+ formatRgb: oQ,+ toString: oQ}));-function iQ() {- return `#${cQ(this.r)}${cQ(this.g)}${cQ(this.b)}`;+function aQ() {+ return `#${lQ(this.r)}${lQ(this.g)}${lQ(this.b)}`;}function hGe() {- return `#${cQ(this.r)}${cQ(this.g)}${cQ(this.b)}${cQ((isNaN(this.opacity) ? 1 : this.opacity) * 255)}`;+ return `#${lQ(this.r)}${lQ(this.g)}${lQ(this.b)}${lQ((isNaN(this.opacity) ? 1 : this.opacity) * 255)}`;}-function aQ() {- let e = oQ(this.opacity);- return `${e === 1 ? "rgb(" : "rgba("}${sQ(this.r)}, ${sQ(this.g)}, ${sQ(this.b)}${e === 1 ? ")" : `, ${e})`}`;+function oQ() {+ let e = sQ(this.opacity);+ return `${e === 1 ? "rgb(" : "rgba("}${cQ(this.r)}, ${cQ(this.g)}, ${cQ(this.b)}${e === 1 ? ")" : `, ${e})`}`;}-function oQ(e) {+function sQ(e) {return isNaN(e) ? 1 : Math.max(0, Math.min(1, e));}-function sQ(e) {+function cQ(e) {return Math.max(0, Math.min(255, Math.round(e) || 0));}-function cQ(e) {- return e = sQ(e), (e < 16 ? "0" : "") + e.toString(16);+function lQ(e) {+ return e = cQ(e), (e < 16 ? "0" : "") + e.toString(16);}-function lQ(e, t, n, r) {- return r <= 0 ? e = t = n = NaN : n <= 0 || n >= 1 ? e = t = NaN : t <= 0 && (e = NaN), new dQ(e, t, n, r);+function uQ(e, t, n, r) {+ return r <= 0 ? e = t = n = NaN : n <= 0 || n >= 1 ? e = t = NaN : t <= 0 && (e = NaN), new fQ(e, t, n, r);}-function uQ(e) {- if (e instanceof dQ) return new dQ(e.h, e.s, e.l, e.opacity);- if (e instanceof WZ || (e = $Z(e)), !e) return new dQ();- if (e instanceof dQ) return e;+function dQ(e) {+ if (e instanceof fQ) return new fQ(e.h, e.s, e.l, e.opacity);+ if (e instanceof GZ || (e = eQ(e)), !e) return new fQ();+ if (e instanceof fQ) return e;e = e.rgb();var t = e.r / 255, n = e.g / 255, r = e.b / 255, i = Math.min(t, n, r), a = Math.max(t, n, r), o = NaN, s = a - i, c = (a + i) / 2;- return s ? (o = t === a ? (n - r) / s + (n < r) * 6 : n === a ? (r - t) / s + 2 : (t - n) / s + 4, s /= c < .5 ? a + i : 2 - a - i, o *= 60) : s = c > 0 && c < 1 ? 0 : o, new dQ(o, s, c, e.opacity);+ return s ? (o = t === a ? (n - r) / s + (n < r) * 6 : n === a ? (r - t) / s + 2 : (t - n) / s + 4, s /= c < .5 ? a + i : 2 - a - i, o *= 60) : s = c > 0 && c < 1 ? 0 : o, new fQ(o, s, c, e.opacity);}function gGe(e, t, n, r) {- return arguments.length === 1 ? uQ(e) : new dQ(e, t, n, r ?? 1);+ return arguments.length === 1 ? dQ(e) : new fQ(e, t, n, r ?? 1);}-function dQ(e, t, n, r) {+function fQ(e, t, n, r) {this.h = +e, this.s = +t, this.l = +n, this.opacity = +r;}-HZ(dQ, gGe, UZ(WZ, {+UZ(fQ, gGe, WZ(GZ, {brighter(e) {- return e = e == null ? KZ : KZ ** +e, new dQ(this.h, this.s, this.l * e, this.opacity);+ return e = e == null ? qZ : qZ ** +e, new fQ(this.h, this.s, this.l * e, this.opacity);},darker(e) {- return e = e == null ? GZ : GZ ** +e, new dQ(this.h, this.s, this.l * e, this.opacity);+ return e = e == null ? KZ : KZ ** +e, new fQ(this.h, this.s, this.l * e, this.opacity);},rgb() {var e = this.h % 360 + (this.h < 0) * 360, t = isNaN(e) || isNaN(this.s) ? 0 : this.s, n = this.l, r = n + (n < .5 ? n : 1 - n) * t, i = 2 * n - r;- return new rQ(mQ(e >= 240 ? e - 240 : e + 120, i, r), mQ(e, i, r), mQ(e < 120 ? e + 240 : e - 120, i, r), this.opacity);+ return new iQ(hQ(e >= 240 ? e - 240 : e + 120, i, r), hQ(e, i, r), hQ(e < 120 ? e + 240 : e - 120, i, r), this.opacity);},clamp() {- return new dQ(fQ(this.h), pQ(this.s), pQ(this.l), oQ(this.opacity));+ return new fQ(pQ(this.h), mQ(this.s), mQ(this.l), sQ(this.opacity));},displayable() {return (0 <= this.s && this.s <= 1 || isNaN(this.s)) && 0 <= this.l && this.l <= 1 && 0 <= this.opacity && this.opacity <= 1;},formatHsl() {- let e = oQ(this.opacity);- return `${e === 1 ? "hsl(" : "hsla("}${fQ(this.h)}, ${pQ(this.s) * 100}%, ${pQ(this.l) * 100}%${e === 1 ? ")" : `, ${e})`}`;+ let e = sQ(this.opacity);+ return `${e === 1 ? "hsl(" : "hsla("}${pQ(this.h)}, ${mQ(this.s) * 100}%, ${mQ(this.l) * 100}%${e === 1 ? ")" : `, ${e})`}`;}}));-function fQ(e) {+function pQ(e) {return e = (e || 0) % 360, e < 0 ? e + 360 : e;}-function pQ(e) {+function mQ(e) {return Math.max(0, Math.min(1, e || 0));}-function mQ(e, t, n) {+function hQ(e, t, n) {return (e < 60 ? t + (n - t) * e / 60 : e < 180 ? n : e < 240 ? t + (n - t) * (240 - e) / 60 : t) * 255;}//#endregion//#region node_modules/d3-interpolate/src/constant.js-var hQ = (e) => () => e;+var gQ = (e) => () => e;//#endregion//#region node_modules/d3-interpolate/src/color.jsfunction _Ge(e, t) {@@ -80793,20 +80806,20 @@ function vGe(e, t, n) {};}function yGe(e) {- return (e = +e) == 1 ? gQ : function(t, n) {- return n - t ? vGe(t, n, e) : hQ(isNaN(t) ? n : t);+ return (e = +e) == 1 ? _Q : function(t, n) {+ return n - t ? vGe(t, n, e) : gQ(isNaN(t) ? n : t);};}-function gQ(e, t) {+function _Q(e, t) {var n = t - e;- return n ? _Ge(e, n) : hQ(isNaN(e) ? t : e);+ return n ? _Ge(e, n) : gQ(isNaN(e) ? t : e);}//#endregion//#region node_modules/d3-interpolate/src/rgb.js-var _Q = (function e(t) {+var vQ = (function e(t) {var n = yGe(t);function r(e, t) {- var r = n((e = nQ(e)).r, (t = nQ(t)).r), i = n(e.g, t.g), a = n(e.b, t.b), o = gQ(e.opacity, t.opacity);+ var r = n((e = rQ(e)).r, (t = rQ(t)).r), i = n(e.g, t.g), a = n(e.b, t.b), o = _Q(e.opacity, t.opacity);return function(t) {return e.r = r(t), e.g = i(t), e.b = a(t), e.opacity = o(t), e + "";};@@ -80829,7 +80842,7 @@ function xGe(e) {//#endregion//#region node_modules/d3-interpolate/src/array.jsfunction SGe(e, t) {- for (var n = t ? t.length : 0, r = e ? Math.min(n, e.length) : 0, i = Array(r), a = Array(n), o = 0; o < r; ++o) i[o] = xQ(e[o], t[o]);+ for (var n = t ? t.length : 0, r = e ? Math.min(n, e.length) : 0, i = Array(r), a = Array(n), o = 0; o < r; ++o) i[o] = SQ(e[o], t[o]);for (; o < n; ++o) a[o] = t[o];return function(e) {for (o = 0; o < r; ++o) a[o] = i[o](e);@@ -80846,7 +80859,7 @@ function CGe(e, t) {}//#endregion//#region node_modules/d3-interpolate/src/number.js-function vQ(e, t) {+function yQ(e, t) {return e = +e, t = +t, function(n) {return e * (1 - n) + t * n;};@@ -80855,7 +80868,7 @@ function vQ(e, t) {//#region node_modules/d3-interpolate/src/object.jsfunction wGe(e, t) {var n = {}, r = {}, i;- for (i in (typeof e != "object" || !e) && (e = {}), (typeof t != "object" || !t) && (t = {}), t) i in e ? n[i] = xQ(e[i], t[i]) : r[i] = t[i];+ for (i in (typeof e != "object" || !e) && (e = {}), (typeof t != "object" || !t) && (t = {}), t) i in e ? n[i] = SQ(e[i], t[i]) : r[i] = t[i];return function(e) {for (i in n) r[i] = n[i](e);return r;@@ -80863,7 +80876,7 @@ function wGe(e, t) {}//#endregion//#region node_modules/d3-interpolate/src/string.js-var yQ = /[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g, bQ = new RegExp(yQ.source, "g");+var bQ = /[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g, xQ = new RegExp(bQ.source, "g");function TGe(e) {return function() {return e;@@ -80875,11 +80888,11 @@ function EGe(e) {};}function DGe(e, t) {- var n = yQ.lastIndex = bQ.lastIndex = 0, r, i, a, o = -1, s = [], c = [];- for (e += "", t += ""; (r = yQ.exec(e)) && (i = bQ.exec(t));) (a = i.index) > n && (a = t.slice(n, a), s[o] ? s[o] += a : s[++o] = a), (r = r[0]) === (i = i[0]) ? s[o] ? s[o] += i : s[++o] = i : (s[++o] = null, c.push({+ var n = bQ.lastIndex = xQ.lastIndex = 0, r, i, a, o = -1, s = [], c = [];+ for (e += "", t += ""; (r = bQ.exec(e)) && (i = xQ.exec(t));) (a = i.index) > n && (a = t.slice(n, a), s[o] ? s[o] += a : s[++o] = a), (r = r[0]) === (i = i[0]) ? s[o] ? s[o] += i : s[++o] = i : (s[++o] = null, c.push({i: o,- x: vQ(r, i)- })), n = bQ.lastIndex;+ x: yQ(r, i)+ })), n = xQ.lastIndex;return n < t.length && (a = t.slice(n), s[o] ? s[o] += a : s[++o] = a), s.length < 2 ? c[0] ? EGe(c[0].x) : TGe(t) : (t = c.length, function(e) {for (var n = 0, r; n < t; ++n) s[(r = c[n]).i] = r.x(e);return s.join("");@@ -80887,13 +80900,13 @@ function DGe(e, t) {}//#endregion//#region node_modules/d3-interpolate/src/value.js-function xQ(e, t) {+function SQ(e, t) {var n = typeof t, r;- return t == null || n === "boolean" ? hQ(t) : (n === "number" ? vQ : n === "string" ? (r = $Z(t)) ? (t = r, _Q) : DGe : t instanceof $Z ? _Q : t instanceof Date ? CGe : xGe(t) ? bGe : Array.isArray(t) ? SGe : typeof t.valueOf != "function" && typeof t.toString != "function" || isNaN(t) ? wGe : vQ)(e, t);+ return t == null || n === "boolean" ? gQ(t) : (n === "number" ? yQ : n === "string" ? (r = eQ(t)) ? (t = r, vQ) : DGe : t instanceof eQ ? vQ : t instanceof Date ? CGe : xGe(t) ? bGe : Array.isArray(t) ? SGe : typeof t.valueOf != "function" && typeof t.toString != "function" || isNaN(t) ? wGe : yQ)(e, t);}//#endregion//#region node_modules/d3-interpolate/src/round.js-function SQ(e, t) {+function CQ(e, t) {return e = +e, t = +t, function(n) {return Math.round(e * (1 - n) + t * n);};@@ -80901,7 +80914,7 @@ function SQ(e, t) {//#endregion//#region node_modules/d3-interpolate/src/piecewise.jsfunction OGe(e, t) {- t === void 0 && (t = e, e = xQ);+ t === void 0 && (t = e, e = SQ);for (var n = 0, r = t.length - 1, i = t[0], a = Array(r < 0 ? 0 : r); n < r;) a[n] = e(i, i = t[++n]);return function(e) {var t = Math.max(0, Math.min(r - 1, Math.floor(e *= r)));@@ -80917,16 +80930,16 @@ function kGe(e) {}//#endregion//#region node_modules/d3-scale/src/number.js-function CQ(e) {+function wQ(e) {return +e;}//#endregion//#region node_modules/d3-scale/src/continuous.js-var wQ = [0, 1];-function TQ(e) {+var TQ = [0, 1];+function EQ(e) {return e;}-function EQ(e, t) {+function DQ(e, t) {return (t -= e = +e) ? function(n) {return (n - e) / t;} : kGe(isNaN(t) ? NaN : .5);@@ -80939,40 +80952,40 @@ function AGe(e, t) {}function jGe(e, t, n) {var r = e[0], i = e[1], a = t[0], o = t[1];- return i < r ? (r = EQ(i, r), a = n(o, a)) : (r = EQ(r, i), a = n(a, o)), function(e) {+ return i < r ? (r = DQ(i, r), a = n(o, a)) : (r = DQ(r, i), a = n(a, o)), function(e) {return a(r(e));};}function MGe(e, t, n) {var r = Math.min(e.length, t.length) - 1, i = Array(r), a = Array(r), o = -1;- for (e[r] < e[0] && (e = e.slice().reverse(), t = t.slice().reverse()); ++o < r;) i[o] = EQ(e[o], e[o + 1]), a[o] = n(t[o], t[o + 1]);+ for (e[r] < e[0] && (e = e.slice().reverse(), t = t.slice().reverse()); ++o < r;) i[o] = DQ(e[o], e[o + 1]), a[o] = n(t[o], t[o + 1]);return function(t) {- var n = SZ(e, t, 1, r) - 1;+ var n = CZ(e, t, 1, r) - 1;return a[n](i[n](t));};}-function DQ(e, t) {+function OQ(e, t) {return t.domain(e.domain()).range(e.range()).interpolate(e.interpolate()).clamp(e.clamp()).unknown(e.unknown());}-function OQ() {- var e = wQ, t = wQ, n = xQ, r, i, a, o = TQ, s, c, l;+function kQ() {+ var e = TQ, t = TQ, n = SQ, r, i, a, o = EQ, s, c, l;function u() {var n = Math.min(e.length, t.length);- return o !== TQ && (o = AGe(e[0], e[n - 1])), s = n > 2 ? MGe : jGe, c = l = null, d;+ return o !== EQ && (o = AGe(e[0], e[n - 1])), s = n > 2 ? MGe : jGe, c = l = null, d;}function d(i) {return i == null || isNaN(i = +i) ? a : (c ||= s(e.map(r), t, n))(r(o(i)));}return d.invert = function(n) {- return o(i((l ||= s(t, e.map(r), vQ))(n)));+ return o(i((l ||= s(t, e.map(r), yQ))(n)));}, d.domain = function(t) {- return arguments.length ? (e = Array.from(t, CQ), u()) : e.slice();+ return arguments.length ? (e = Array.from(t, wQ), u()) : e.slice();}, d.range = function(e) {return arguments.length ? (t = Array.from(e), u()) : t.slice();}, d.rangeRound = function(e) {- return t = Array.from(e), n = SQ, u();+ return t = Array.from(e), n = CQ, u();}, d.clamp = function(e) {- return arguments.length ? (o = e ? !0 : TQ, u()) : o !== TQ;+ return arguments.length ? (o = e ? !0 : EQ, u()) : o !== EQ;}, d.interpolate = function(e) {return arguments.length ? (n = e, u()) : n;}, d.unknown = function(e) {@@ -80981,23 +80994,23 @@ function OQ() {return r = e, i = t, u();};}-function kQ() {- return OQ()(TQ, TQ);+function AQ() {+ return kQ()(EQ, EQ);}//#endregion//#region node_modules/d3-format/src/formatDecimal.jsfunction NGe(e) {return Math.abs(e = Math.round(e)) >= 1e21 ? e.toLocaleString("en").replace(/,/g, "") : e.toString(10);}-function AQ(e, t) {+function jQ(e, t) {if (!isFinite(e) || e === 0) return null;var n = (e = t ? e.toExponential(t - 1) : e.toExponential()).indexOf("e"), r = e.slice(0, n);return [r.length > 1 ? r[0] + r.slice(2) : r, +e.slice(n + 1)];}//#endregion//#region node_modules/d3-format/src/exponent.js-function jQ(e) {- return e = AQ(Math.abs(e)), e ? e[1] : NaN;+function MQ(e) {+ return e = jQ(Math.abs(e)), e ? e[1] : NaN;}//#endregion//#region node_modules/d3-format/src/formatGroup.js@@ -81019,10 +81032,10 @@ function FGe(e) {//#endregion//#region node_modules/d3-format/src/formatSpecifier.jsvar IGe = /^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;-function MQ(e) {+function NQ(e) {if (!(t = IGe.exec(e))) throw Error("invalid format: " + e);var t;- return new NQ({+ return new PQ({fill: t[1],align: t[2],sign: t[3],@@ -81035,11 +81048,11 @@ function MQ(e) {type: t[10]});}-MQ.prototype = NQ.prototype;-function NQ(e) {+NQ.prototype = PQ.prototype;+function PQ(e) {this.fill = e.fill === void 0 ? " " : e.fill + "", this.align = e.align === void 0 ? ">" : e.align + "", this.sign = e.sign === void 0 ? "-" : e.sign + "", this.symbol = e.symbol === void 0 ? "" : e.symbol + "", this.zero = !!e.zero, this.width = e.width === void 0 ? void 0 : +e.width, this.comma = !!e.comma, this.precision = e.precision === void 0 ? void 0 : +e.precision, this.trim = !!e.trim, this.type = e.type === void 0 ? "" : e.type + "";}-NQ.prototype.toString = function() {+PQ.prototype.toString = function() {return this.fill + this.align + this.sign + this.symbol + (this.zero ? "0" : "") + (this.width === void 0 ? "" : Math.max(1, this.width | 0)) + (this.comma ? "," : "") + (this.precision === void 0 ? "" : "." + Math.max(0, this.precision | 0)) + (this.trim ? "~" : "") + this.type;};//#endregion@@ -81060,24 +81073,24 @@ function LGe(e) {}//#endregion//#region node_modules/d3-format/src/formatPrefixAuto.js-var PQ;+var FQ;function RGe(e, t) {- var n = AQ(e, t);- if (!n) return PQ = void 0, e.toPrecision(t);- var r = n[0], i = n[1], a = i - (PQ = Math.max(-8, Math.min(8, Math.floor(i / 3))) * 3) + 1, o = r.length;- return a === o ? r : a > o ? r + Array(a - o + 1).join("0") : a > 0 ? r.slice(0, a) + "." + r.slice(a) : "0." + Array(1 - a).join("0") + AQ(e, Math.max(0, t + a - 1))[0];+ var n = jQ(e, t);+ if (!n) return FQ = void 0, e.toPrecision(t);+ var r = n[0], i = n[1], a = i - (FQ = Math.max(-8, Math.min(8, Math.floor(i / 3))) * 3) + 1, o = r.length;+ return a === o ? r : a > o ? r + Array(a - o + 1).join("0") : a > 0 ? r.slice(0, a) + "." + r.slice(a) : "0." + Array(1 - a).join("0") + jQ(e, Math.max(0, t + a - 1))[0];}//#endregion//#region node_modules/d3-format/src/formatRounded.js-function FQ(e, t) {- var n = AQ(e, t);+function IQ(e, t) {+ var n = jQ(e, t);if (!n) return e + "";var r = n[0], i = n[1];return i < 0 ? "0." + Array(-i).join("0") + r : r.length > i + 1 ? r.slice(0, i + 1) + "." + r.slice(i + 1) : r + Array(i - r.length + 2).join("0");}//#endregion//#region node_modules/d3-format/src/formatTypes.js-var IQ = {+var LQ = {"%": (e, t) => (e * 100).toFixed(t),b: (e) => Math.round(e).toString(2),c: (e) => e + "",@@ -81086,20 +81099,20 @@ var IQ = {f: (e, t) => e.toFixed(t),g: (e, t) => e.toPrecision(t),o: (e) => Math.round(e).toString(8),- p: (e, t) => FQ(e * 100, t),- r: FQ,+ p: (e, t) => IQ(e * 100, t),+ r: IQ,s: RGe,X: (e) => Math.round(e).toString(16).toUpperCase(),x: (e) => Math.round(e).toString(16)};//#endregion//#region node_modules/d3-format/src/identity.js-function LQ(e) {+function RQ(e) {return e;}//#endregion//#region node_modules/d3-format/src/locale.js-var RQ = Array.prototype.map, zQ = [+var zQ = Array.prototype.map, BQ = ["y","z","a",@@ -81119,12 +81132,12 @@ var RQ = Array.prototype.map, zQ = ["Y"];function zGe(e) {- var t = e.grouping === void 0 || e.thousands === void 0 ? LQ : PGe(RQ.call(e.grouping, Number), e.thousands + ""), n = e.currency === void 0 ? "" : e.currency[0] + "", r = e.currency === void 0 ? "" : e.currency[1] + "", i = e.decimal === void 0 ? "." : e.decimal + "", a = e.numerals === void 0 ? LQ : FGe(RQ.call(e.numerals, String)), o = e.percent === void 0 ? "%" : e.percent + "", s = e.minus === void 0 ? "−" : e.minus + "", c = e.nan === void 0 ? "NaN" : e.nan + "";+ var t = e.grouping === void 0 || e.thousands === void 0 ? RQ : PGe(zQ.call(e.grouping, Number), e.thousands + ""), n = e.currency === void 0 ? "" : e.currency[0] + "", r = e.currency === void 0 ? "" : e.currency[1] + "", i = e.decimal === void 0 ? "." : e.decimal + "", a = e.numerals === void 0 ? RQ : FGe(zQ.call(e.numerals, String)), o = e.percent === void 0 ? "%" : e.percent + "", s = e.minus === void 0 ? "−" : e.minus + "", c = e.nan === void 0 ? "NaN" : e.nan + "";function l(e, l) {- e = MQ(e);+ e = NQ(e);var u = e.fill, d = e.align, f = e.sign, p = e.symbol, m = e.zero, h = e.width, g = e.comma, _ = e.precision, v = e.trim, y = e.type;- y === "n" ? (g = !0, y = "g") : IQ[y] || (_ === void 0 && (_ = 12), v = !0, y = "g"), (m || u === "0" && d === "=") && (m = !0, u = "0", d = "=");- var b = (l && l.prefix !== void 0 ? l.prefix : "") + (p === "$" ? n : p === "#" && /[boxX]/.test(y) ? "0" + y.toLowerCase() : ""), x = (p === "$" ? r : /[%p]/.test(y) ? o : "") + (l && l.suffix !== void 0 ? l.suffix : ""), S = IQ[y], C = /[defgprs%]/.test(y);+ y === "n" ? (g = !0, y = "g") : LQ[y] || (_ === void 0 && (_ = 12), v = !0, y = "g"), (m || u === "0" && d === "=") && (m = !0, u = "0", d = "=");+ var b = (l && l.prefix !== void 0 ? l.prefix : "") + (p === "$" ? n : p === "#" && /[boxX]/.test(y) ? "0" + y.toLowerCase() : ""), x = (p === "$" ? r : /[%p]/.test(y) ? o : "") + (l && l.suffix !== void 0 ? l.suffix : ""), S = LQ[y], C = /[defgprs%]/.test(y);_ = _ === void 0 ? 6 : /[gprs]/.test(y) ? Math.max(1, Math.min(21, _)) : Math.max(0, Math.min(20, _));function w(e) {var n = b, r = x, o, l, p;@@ -81132,7 +81145,7 @@ function zGe(e) {else {e = +e;var w = e < 0 || 1 / e < 0;- if (e = isNaN(e) ? c : S(Math.abs(e), _), v && (e = LGe(e)), w && +e == 0 && f !== "+" && (w = !1), n = (w ? f === "(" ? f : s : f === "-" || f === "(" ? "" : f) + n, r = (y === "s" && !isNaN(e) && PQ !== void 0 ? zQ[8 + PQ / 3] : "") + r + (w && f === "(" ? ")" : ""), C) {+ if (e = isNaN(e) ? c : S(Math.abs(e), _), v && (e = LGe(e)), w && +e == 0 && f !== "+" && (w = !1), n = (w ? f === "(" ? f : s : f === "-" || f === "(" ? "" : f) + n, r = (y === "s" && !isNaN(e) && FQ !== void 0 ? BQ[8 + FQ / 3] : "") + r + (w && f === "(" ? ")" : ""), C) {for (o = -1, l = e.length; ++o < l;) if (p = e.charCodeAt(o), 48 > p || p > 57) {r = (p === 46 ? i + e.slice(o + 1) : e.slice(o)) + r, e = e.slice(0, o);break;@@ -81160,7 +81173,7 @@ function zGe(e) {}, w;}function u(e, t) {- var n = Math.max(-8, Math.min(8, Math.floor(jQ(t) / 3))) * 3, r = 10 ** -n, i = l((e = MQ(e), e.type = "f", e), { suffix: zQ[8 + n / 3] });+ var n = Math.max(-8, Math.min(8, Math.floor(MQ(t) / 3))) * 3, r = 10 ** -n, i = l((e = NQ(e), e.type = "f", e), { suffix: BQ[8 + n / 3] });return function(e) {return i(r * e);};@@ -81172,38 +81185,38 @@ function zGe(e) {}//#endregion//#region node_modules/d3-format/src/defaultLocale.js-var BQ, VQ, HQ;+var VQ, HQ, UQ;BGe({thousands: ",",grouping: [3],currency: ["$", ""]});function BGe(e) {- return BQ = zGe(e), VQ = BQ.format, HQ = BQ.formatPrefix, BQ;+ return VQ = zGe(e), HQ = VQ.format, UQ = VQ.formatPrefix, VQ;}//#endregion//#region node_modules/d3-format/src/precisionFixed.jsfunction VGe(e) {- return Math.max(0, -jQ(Math.abs(e)));+ return Math.max(0, -MQ(Math.abs(e)));}//#endregion//#region node_modules/d3-format/src/precisionPrefix.jsfunction HGe(e, t) {- return Math.max(0, Math.max(-8, Math.min(8, Math.floor(jQ(t) / 3))) * 3 - jQ(Math.abs(e)));+ return Math.max(0, Math.max(-8, Math.min(8, Math.floor(MQ(t) / 3))) * 3 - MQ(Math.abs(e)));}//#endregion//#region node_modules/d3-format/src/precisionRound.jsfunction UGe(e, t) {- return e = Math.abs(e), t = Math.abs(t) - e, Math.max(0, jQ(t) - jQ(e)) + 1;+ return e = Math.abs(e), t = Math.abs(t) - e, Math.max(0, MQ(t) - MQ(e)) + 1;}//#endregion//#region node_modules/d3-scale/src/tickFormat.js-function UQ(e, t, n, r) {- var i = AZ(e, t, n), a;- switch (r = MQ(r ?? ",f"), r.type) {+function WQ(e, t, n, r) {+ var i = jZ(e, t, n), a;+ switch (r = NQ(r ?? ",f"), r.type) {case "s":var o = Math.max(Math.abs(e), Math.abs(t));- return r.precision == null && !isNaN(a = HGe(i, o)) && (r.precision = a), HQ(r, o);+ return r.precision == null && !isNaN(a = HGe(i, o)) && (r.precision = a), UQ(r, o);case "":case "e":case "g":@@ -81214,23 +81227,23 @@ function UQ(e, t, n, r) {case "f":case "%": r.precision == null && !isNaN(a = VGe(i)) && (r.precision = a - (r.type === "%") * 2);}- return VQ(r);+ return HQ(r);}//#endregion//#region node_modules/d3-scale/src/linear.js-function WQ(e) {+function GQ(e) {var t = e.domain;return e.ticks = function(e) {var n = t();- return OZ(n[0], n[n.length - 1], e ?? 10);+ return kZ(n[0], n[n.length - 1], e ?? 10);}, e.tickFormat = function(e, n) {var r = t();- return UQ(r[0], r[r.length - 1], e ?? 10, n);+ return WQ(r[0], r[r.length - 1], e ?? 10, n);}, e.nice = function(n) {n ??= 10;var r = t(), i = 0, a = r.length - 1, o = r[i], s = r[a], c, l, u = 10;for (s < o && (l = o, o = s, s = l, l = i, i = a, a = l); u-- > 0;) {- if (l = kZ(o, s, n), l === c) return r[i] = o, r[a] = s, t(r);+ if (l = AZ(o, s, n), l === c) return r[i] = o, r[a] = s, t(r);if (l > 0) o = Math.floor(o / l) * l, s = Math.ceil(s / l) * l;else if (l < 0) o = Math.ceil(o * l) / l, s = Math.floor(s * l) / l;else break;@@ -81239,40 +81252,40 @@ function WQ(e) {return e;}, e;}-function GQ() {- var e = kQ();+function KQ() {+ var e = AQ();return e.copy = function() {- return DQ(e, GQ());- }, IZ.apply(e, arguments), WQ(e);+ return OQ(e, KQ());+ }, LZ.apply(e, arguments), GQ(e);}//#endregion//#region node_modules/d3-scale/src/identity.js-function KQ(e) {+function qQ(e) {var t;function n(e) {return e == null || isNaN(e = +e) ? t : e;}return n.invert = n, n.domain = n.range = function(t) {- return arguments.length ? (e = Array.from(t, CQ), n) : e.slice();+ return arguments.length ? (e = Array.from(t, wQ), n) : e.slice();}, n.unknown = function(e) {return arguments.length ? (t = e, n) : t;}, n.copy = function() {- return KQ(e).unknown(t);- }, e = arguments.length ? Array.from(e, CQ) : [0, 1], WQ(n);+ return qQ(e).unknown(t);+ }, e = arguments.length ? Array.from(e, wQ) : [0, 1], GQ(n);}//#endregion//#region node_modules/d3-scale/src/nice.js-function qQ(e, t) {+function JQ(e, t) {e = e.slice();var n = 0, r = e.length - 1, i = e[n], a = e[r], o;return a < i && (o = n, n = r, r = o, o = i, i = a, a = o), e[n] = t.floor(i), e[r] = t.ceil(a), e;}//#endregion//#region node_modules/d3-scale/src/log.js-function JQ(e) {+function YQ(e) {return Math.log(e);}-function YQ(e) {+function XQ(e) {return Math.exp(e);}function WGe(e) {@@ -81290,13 +81303,13 @@ function qGe(e) {function JGe(e) {return e === Math.E ? Math.log : e === 10 && Math.log10 || e === 2 && Math.log2 || (e = Math.log(e), (t) => Math.log(t) / e);}-function XQ(e) {+function ZQ(e) {return (t, n) => -e(-t, n);}-function ZQ(e) {- let t = e(JQ, YQ), n = t.domain, r = 10, i, a;+function QQ(e) {+ let t = e(YQ, XQ), n = t.domain, r = 10, i, a;function o() {- return i = JGe(r), a = qGe(r), n()[0] < 0 ? (i = XQ(i), a = XQ(a), e(WGe, GGe)) : e(JQ, YQ), t;+ return i = JGe(r), a = qGe(r), n()[0] < 0 ? (i = ZQ(i), a = ZQ(a), e(WGe, GGe)) : e(YQ, XQ), t;}return t.base = function(e) {return arguments.length ? (r = +e, o()) : r;@@ -81316,52 +81329,52 @@ function ZQ(e) {if (f > s) break;m.push(f);}- m.length * 2 < p && (m = OZ(o, s, p));- } else m = OZ(l, u, Math.min(u - l, p)).map(a);+ m.length * 2 < p && (m = kZ(o, s, p));+ } else m = kZ(l, u, Math.min(u - l, p)).map(a);return c ? m.reverse() : m;}, t.tickFormat = (e, n) => {- if (e ??= 10, n ??= r === 10 ? "s" : ",", typeof n != "function" && (!(r % 1) && (n = MQ(n)).precision == null && (n.trim = !0), n = VQ(n)), e === Infinity) return n;+ if (e ??= 10, n ??= r === 10 ? "s" : ",", typeof n != "function" && (!(r % 1) && (n = NQ(n)).precision == null && (n.trim = !0), n = HQ(n)), e === Infinity) return n;let o = Math.max(1, r * e / t.ticks().length);return (e) => {let t = e / a(Math.round(i(e)));return t * r < r - .5 && (t *= r), t <= o ? n(e) : "";};- }, t.nice = () => n(qQ(n(), {+ }, t.nice = () => n(JQ(n(), {floor: (e) => a(Math.floor(i(e))),ceil: (e) => a(Math.ceil(i(e)))})), t;}-function QQ() {- let e = ZQ(OQ()).domain([1, 10]);- return e.copy = () => DQ(e, QQ()).base(e.base()), IZ.apply(e, arguments), e;+function $Q() {+ let e = QQ(kQ()).domain([1, 10]);+ return e.copy = () => OQ(e, $Q()).base(e.base()), LZ.apply(e, arguments), e;}//#endregion//#region node_modules/d3-scale/src/symlog.js-function $Q(e) {+function e$(e) {return function(t) {return Math.sign(t) * Math.log1p(Math.abs(t / e));};}-function e$(e) {+function t$(e) {return function(t) {return Math.sign(t) * Math.expm1(Math.abs(t)) * e;};}-function t$(e) {- var t = 1, n = e($Q(t), e$(t));+function n$(e) {+ var t = 1, n = e(e$(t), t$(t));return n.constant = function(n) {- return arguments.length ? e($Q(t = +n), e$(t)) : t;- }, WQ(n);+ return arguments.length ? e(e$(t = +n), t$(t)) : t;+ }, GQ(n);}-function n$() {- var e = t$(OQ());+function r$() {+ var e = n$(kQ());return e.copy = function() {- return DQ(e, n$()).constant(e.constant());- }, IZ.apply(e, arguments);+ return OQ(e, r$()).constant(e.constant());+ }, LZ.apply(e, arguments);}//#endregion//#region node_modules/d3-scale/src/pow.js-function r$(e) {+function i$(e) {return function(t) {return t < 0 ? -((-t) ** +e) : t ** +e;};@@ -81372,44 +81385,44 @@ function YGe(e) {function XGe(e) {return e < 0 ? -e * e : e * e;}-function i$(e) {- var t = e(TQ, TQ), n = 1;+function a$(e) {+ var t = e(EQ, EQ), n = 1;function r() {- return n === 1 ? e(TQ, TQ) : n === .5 ? e(YGe, XGe) : e(r$(n), r$(1 / n));+ return n === 1 ? e(EQ, EQ) : n === .5 ? e(YGe, XGe) : e(i$(n), i$(1 / n));}return t.exponent = function(e) {return arguments.length ? (n = +e, r()) : n;- }, WQ(t);+ }, GQ(t);}-function a$() {- var e = i$(OQ());+function o$() {+ var e = a$(kQ());return e.copy = function() {- return DQ(e, a$()).exponent(e.exponent());- }, IZ.apply(e, arguments), e;+ return OQ(e, o$()).exponent(e.exponent());+ }, LZ.apply(e, arguments), e;}function ZGe() {- return a$.apply(null, arguments).exponent(.5);+ return o$.apply(null, arguments).exponent(.5);}//#endregion//#region node_modules/d3-scale/src/radial.js-function o$(e) {+function s$(e) {return Math.sign(e) * e * e;}function QGe(e) {return Math.sign(e) * Math.sqrt(Math.abs(e));}-function s$() {- var e = kQ(), t = [0, 1], n = !1, r;+function c$() {+ var e = AQ(), t = [0, 1], n = !1, r;function i(t) {var i = QGe(e(t));return isNaN(i) ? r : n ? Math.round(i) : i;}return i.invert = function(t) {- return e.invert(o$(t));+ return e.invert(s$(t));}, i.domain = function(t) {return arguments.length ? (e.domain(t), i) : e.domain();}, i.range = function(n) {- return arguments.length ? (e.range((t = Array.from(n, CQ)).map(o$)), i) : t.slice();+ return arguments.length ? (e.range((t = Array.from(n, wQ)).map(s$)), i) : t.slice();}, i.rangeRound = function(e) {return i.range(e).round(!0);}, i.round = function(e) {@@ -81419,12 +81432,12 @@ function s$() {}, i.unknown = function(e) {return arguments.length ? (r = e, i) : r;}, i.copy = function() {- return s$(e.domain(), t).round(n).clamp(e.clamp()).unknown(r);- }, IZ.apply(i, arguments), WQ(i);+ return c$(e.domain(), t).round(n).clamp(e.clamp()).unknown(r);+ }, LZ.apply(i, arguments), GQ(i);}//#endregion//#region node_modules/d3-scale/src/quantile.js-function c$() {+function l$() {var e = [], t = [], n = [], r;function i() {var r = 0, i = Math.max(1, t.length);@@ -81432,7 +81445,7 @@ function c$() {return a;}function a(e) {- return e == null || isNaN(e = +e) ? r : t[SZ(n, e)];+ return e == null || isNaN(e = +e) ? r : t[CZ(n, e)];}return a.invertExtent = function(r) {var i = t.indexOf(r);@@ -81441,7 +81454,7 @@ function c$() {if (!arguments.length) return e.slice();e = [];for (let n of t) n != null && !isNaN(n = +n) && e.push(n);- return e.sort(vZ), i();+ return e.sort(yZ), i();}, a.range = function(e) {return arguments.length ? (t = Array.from(e), i()) : t.slice();}, a.unknown = function(e) {@@ -81449,15 +81462,15 @@ function c$() {}, a.quantiles = function() {return n.slice();}, a.copy = function() {- return c$().domain(e).range(t).unknown(r);- }, IZ.apply(a, arguments);+ return l$().domain(e).range(t).unknown(r);+ }, LZ.apply(a, arguments);}//#endregion//#region node_modules/d3-scale/src/quantize.js-function l$() {+function u$() {var e = 0, t = 1, n = 1, r = [.5], i = [0, 1], a;function o(e) {- return e != null && e <= e ? i[SZ(r, e, 0, n)] : a;+ return e != null && e <= e ? i[CZ(r, e, 0, n)] : a;}function s() {var i = -1;@@ -81476,15 +81489,15 @@ function l$() {}, o.thresholds = function() {return r.slice();}, o.copy = function() {- return l$().domain([e, t]).range(i).unknown(a);- }, IZ.apply(WQ(o), arguments);+ return u$().domain([e, t]).range(i).unknown(a);+ }, LZ.apply(GQ(o), arguments);}//#endregion//#region node_modules/d3-scale/src/threshold.js-function u$() {+function d$() {var e = [.5], t = [0, 1], n, r = 1;function i(i) {- return i != null && i <= i ? t[SZ(e, i, 0, r)] : n;+ return i != null && i <= i ? t[CZ(e, i, 0, r)] : n;}return i.domain = function(n) {return arguments.length ? (e = Array.from(n), r = Math.min(e.length, t.length - 1), i) : e.slice();@@ -81496,13 +81509,13 @@ function u$() {}, i.unknown = function(e) {return arguments.length ? (n = e, i) : n;}, i.copy = function() {- return u$().domain(e).range(t).unknown(n);- }, IZ.apply(i, arguments);+ return d$().domain(e).range(t).unknown(n);+ }, LZ.apply(i, arguments);}//#endregion//#region node_modules/d3-time/src/interval.js-var d$ = /* @__PURE__ */ new Date(), f$ = /* @__PURE__ */ new Date();-function p$(e, t, n, r) {+var f$ = /* @__PURE__ */ new Date(), p$ = /* @__PURE__ */ new Date();+function m$(e, t, n, r) {function i(t) {return e(t = arguments.length === 0 ? /* @__PURE__ */ new Date() : /* @__PURE__ */ new Date(+t)), t;}@@ -81517,226 +81530,226 @@ function p$(e, t, n, r) {o.push(s = /* @__PURE__ */ new Date(+n)), t(n, a), e(n);while (s < n && n < r);return o;- }, i.filter = (n) => p$((t) => {+ }, i.filter = (n) => m$((t) => {if (t >= t) for (; e(t), !n(t);) t.setTime(t - 1);}, (e, r) => {if (e >= e) {if (r < 0) for (; ++r <= 0;) for (; t(e, -1), !n(e););else for (; --r >= 0;) for (; t(e, 1), !n(e););}- }), n && (i.count = (t, r) => (d$.setTime(+t), f$.setTime(+r), e(d$), e(f$), Math.floor(n(d$, f$))), i.every = (e) => (e = Math.floor(e), !isFinite(e) || !(e > 0) ? null : e > 1 ? i.filter(r ? (t) => r(t) % e === 0 : (t) => i.count(0, t) % e === 0) : i)), i;+ }), n && (i.count = (t, r) => (f$.setTime(+t), p$.setTime(+r), e(f$), e(p$), Math.floor(n(f$, p$))), i.every = (e) => (e = Math.floor(e), !isFinite(e) || !(e > 0) ? null : e > 1 ? i.filter(r ? (t) => r(t) % e === 0 : (t) => i.count(0, t) % e === 0) : i)), i;}//#endregion//#region node_modules/d3-time/src/millisecond.js-var m$ = p$(() => {}, (e, t) => {+var h$ = m$(() => {}, (e, t) => {e.setTime(+e + t);}, (e, t) => t - e);-m$.every = (e) => (e = Math.floor(e), !isFinite(e) || !(e > 0) ? null : e > 1 ? p$((t) => {+h$.every = (e) => (e = Math.floor(e), !isFinite(e) || !(e > 0) ? null : e > 1 ? m$((t) => {t.setTime(Math.floor(t / e) * e);}, (t, n) => {t.setTime(+t + n * e);-}, (t, n) => (n - t) / e) : m$), m$.range;+}, (t, n) => (n - t) / e) : h$), h$.range;//#endregion//#region node_modules/d3-time/src/duration.js-var h$ = 1e3, g$ = h$ * 60, _$ = g$ * 60, v$ = _$ * 24, y$ = v$ * 7, b$ = v$ * 30, x$ = v$ * 365, S$ = p$((e) => {+var g$ = 1e3, _$ = g$ * 60, v$ = _$ * 60, y$ = v$ * 24, b$ = y$ * 7, x$ = y$ * 30, S$ = y$ * 365, C$ = m$((e) => {e.setTime(e - e.getMilliseconds());}, (e, t) => {- e.setTime(+e + t * h$);-}, (e, t) => (t - e) / h$, (e) => e.getUTCSeconds());-S$.range;+ e.setTime(+e + t * g$);+}, (e, t) => (t - e) / g$, (e) => e.getUTCSeconds());+C$.range;//#endregion//#region node_modules/d3-time/src/minute.js-var C$ = p$((e) => {- e.setTime(e - e.getMilliseconds() - e.getSeconds() * h$);+var w$ = m$((e) => {+ e.setTime(e - e.getMilliseconds() - e.getSeconds() * g$);}, (e, t) => {- e.setTime(+e + t * g$);-}, (e, t) => (t - e) / g$, (e) => e.getMinutes());-C$.range;-var w$ = p$((e) => {+ e.setTime(+e + t * _$);+}, (e, t) => (t - e) / _$, (e) => e.getMinutes());+w$.range;+var T$ = m$((e) => {e.setUTCSeconds(0, 0);}, (e, t) => {- e.setTime(+e + t * g$);-}, (e, t) => (t - e) / g$, (e) => e.getUTCMinutes());-w$.range;+ e.setTime(+e + t * _$);+}, (e, t) => (t - e) / _$, (e) => e.getUTCMinutes());+T$.range;//#endregion//#region node_modules/d3-time/src/hour.js-var T$ = p$((e) => {- e.setTime(e - e.getMilliseconds() - e.getSeconds() * h$ - e.getMinutes() * g$);+var E$ = m$((e) => {+ e.setTime(e - e.getMilliseconds() - e.getSeconds() * g$ - e.getMinutes() * _$);}, (e, t) => {- e.setTime(+e + t * _$);-}, (e, t) => (t - e) / _$, (e) => e.getHours());-T$.range;-var E$ = p$((e) => {+ e.setTime(+e + t * v$);+}, (e, t) => (t - e) / v$, (e) => e.getHours());+E$.range;+var D$ = m$((e) => {e.setUTCMinutes(0, 0, 0);}, (e, t) => {- e.setTime(+e + t * _$);-}, (e, t) => (t - e) / _$, (e) => e.getUTCHours());-E$.range;+ e.setTime(+e + t * v$);+}, (e, t) => (t - e) / v$, (e) => e.getUTCHours());+D$.range;//#endregion//#region node_modules/d3-time/src/day.js-var D$ = p$((e) => e.setHours(0, 0, 0, 0), (e, t) => e.setDate(e.getDate() + t), (e, t) => (t - e - (t.getTimezoneOffset() - e.getTimezoneOffset()) * g$) / v$, (e) => e.getDate() - 1);-D$.range;-var O$ = p$((e) => {+var O$ = m$((e) => e.setHours(0, 0, 0, 0), (e, t) => e.setDate(e.getDate() + t), (e, t) => (t - e - (t.getTimezoneOffset() - e.getTimezoneOffset()) * _$) / y$, (e) => e.getDate() - 1);+O$.range;+var k$ = m$((e) => {e.setUTCHours(0, 0, 0, 0);}, (e, t) => {e.setUTCDate(e.getUTCDate() + t);-}, (e, t) => (t - e) / v$, (e) => e.getUTCDate() - 1);-O$.range;-var k$ = p$((e) => {+}, (e, t) => (t - e) / y$, (e) => e.getUTCDate() - 1);+k$.range;+var A$ = m$((e) => {e.setUTCHours(0, 0, 0, 0);}, (e, t) => {e.setUTCDate(e.getUTCDate() + t);-}, (e, t) => (t - e) / v$, (e) => Math.floor(e / v$));-k$.range;+}, (e, t) => (t - e) / y$, (e) => Math.floor(e / y$));+A$.range;//#endregion//#region node_modules/d3-time/src/week.js-function A$(e) {- return p$((t) => {+function j$(e) {+ return m$((t) => {t.setDate(t.getDate() - (t.getDay() + 7 - e) % 7), t.setHours(0, 0, 0, 0);}, (e, t) => {e.setDate(e.getDate() + t * 7);- }, (e, t) => (t - e - (t.getTimezoneOffset() - e.getTimezoneOffset()) * g$) / y$);+ }, (e, t) => (t - e - (t.getTimezoneOffset() - e.getTimezoneOffset()) * _$) / b$);}-var j$ = A$(0), M$ = A$(1), $Ge = A$(2), eKe = A$(3), N$ = A$(4), tKe = A$(5), nKe = A$(6);-j$.range, M$.range, $Ge.range, eKe.range, N$.range, tKe.range, nKe.range;-function P$(e) {- return p$((t) => {+var M$ = j$(0), N$ = j$(1), $Ge = j$(2), eKe = j$(3), P$ = j$(4), tKe = j$(5), nKe = j$(6);+M$.range, N$.range, $Ge.range, eKe.range, P$.range, tKe.range, nKe.range;+function F$(e) {+ return m$((t) => {t.setUTCDate(t.getUTCDate() - (t.getUTCDay() + 7 - e) % 7), t.setUTCHours(0, 0, 0, 0);}, (e, t) => {e.setUTCDate(e.getUTCDate() + t * 7);- }, (e, t) => (t - e) / y$);+ }, (e, t) => (t - e) / b$);}-var F$ = P$(0), I$ = P$(1), rKe = P$(2), iKe = P$(3), L$ = P$(4), aKe = P$(5), oKe = P$(6);-F$.range, I$.range, rKe.range, iKe.range, L$.range, aKe.range, oKe.range;+var I$ = F$(0), L$ = F$(1), rKe = F$(2), iKe = F$(3), R$ = F$(4), aKe = F$(5), oKe = F$(6);+I$.range, L$.range, rKe.range, iKe.range, R$.range, aKe.range, oKe.range;//#endregion//#region node_modules/d3-time/src/month.js-var R$ = p$((e) => {+var z$ = m$((e) => {e.setDate(1), e.setHours(0, 0, 0, 0);}, (e, t) => {e.setMonth(e.getMonth() + t);}, (e, t) => t.getMonth() - e.getMonth() + (t.getFullYear() - e.getFullYear()) * 12, (e) => e.getMonth());-R$.range;-var z$ = p$((e) => {+z$.range;+var B$ = m$((e) => {e.setUTCDate(1), e.setUTCHours(0, 0, 0, 0);}, (e, t) => {e.setUTCMonth(e.getUTCMonth() + t);}, (e, t) => t.getUTCMonth() - e.getUTCMonth() + (t.getUTCFullYear() - e.getUTCFullYear()) * 12, (e) => e.getUTCMonth());-z$.range;+B$.range;//#endregion//#region node_modules/d3-time/src/year.js-var B$ = p$((e) => {+var V$ = m$((e) => {e.setMonth(0, 1), e.setHours(0, 0, 0, 0);}, (e, t) => {e.setFullYear(e.getFullYear() + t);}, (e, t) => t.getFullYear() - e.getFullYear(), (e) => e.getFullYear());-B$.every = (e) => !isFinite(e = Math.floor(e)) || !(e > 0) ? null : p$((t) => {+V$.every = (e) => !isFinite(e = Math.floor(e)) || !(e > 0) ? null : m$((t) => {t.setFullYear(Math.floor(t.getFullYear() / e) * e), t.setMonth(0, 1), t.setHours(0, 0, 0, 0);}, (t, n) => {t.setFullYear(t.getFullYear() + n * e);-}), B$.range;-var V$ = p$((e) => {+}), V$.range;+var H$ = m$((e) => {e.setUTCMonth(0, 1), e.setUTCHours(0, 0, 0, 0);}, (e, t) => {e.setUTCFullYear(e.getUTCFullYear() + t);}, (e, t) => t.getUTCFullYear() - e.getUTCFullYear(), (e) => e.getUTCFullYear());-V$.every = (e) => !isFinite(e = Math.floor(e)) || !(e > 0) ? null : p$((t) => {+H$.every = (e) => !isFinite(e = Math.floor(e)) || !(e > 0) ? null : m$((t) => {t.setUTCFullYear(Math.floor(t.getUTCFullYear() / e) * e), t.setUTCMonth(0, 1), t.setUTCHours(0, 0, 0, 0);}, (t, n) => {t.setUTCFullYear(t.getUTCFullYear() + n * e);-}), V$.range;+}), H$.range;//#endregion//#region node_modules/d3-time/src/ticks.js-function H$(e, t, n, r, i, a) {+function U$(e, t, n, r, i, a) {let o = [[- S$,+ C$,1,- h$+ g$],[- S$,+ C$,5,- 5 * h$+ 5 * g$],[- S$,+ C$,15,- 15 * h$+ 15 * g$],[- S$,+ C$,30,- 30 * h$+ 30 * g$],[a,1,- g$+ _$],[a,5,- 5 * g$+ 5 * _$],[a,15,- 15 * g$+ 15 * _$],[a,30,- 30 * g$+ 30 * _$],[i,1,- _$+ v$],[i,3,- 3 * _$+ 3 * v$],[i,6,- 6 * _$+ 6 * v$],[i,12,- 12 * _$+ 12 * v$],[r,1,- v$+ y$],[r,2,- 2 * v$+ 2 * y$],[n,1,- y$+ b$],[t,1,- b$+ x$],[t,3,- 3 * b$+ 3 * x$],[e,1,- x$+ S$]];function s(e, t, n) {@@ -81746,32 +81759,32 @@ function H$(e, t, n, r, i, a) {return r ? a.reverse() : a;}function c(t, n, r) {- let i = Math.abs(n - t) / r, a = yZ(([, , e]) => e).right(o, i);- if (a === o.length) return e.every(AZ(t / x$, n / x$, r));- if (a === 0) return m$.every(Math.max(AZ(t, n, r), 1));+ let i = Math.abs(n - t) / r, a = bZ(([, , e]) => e).right(o, i);+ if (a === o.length) return e.every(jZ(t / S$, n / S$, r));+ if (a === 0) return h$.every(Math.max(jZ(t, n, r), 1));let [s, c] = o[i / o[a - 1][2] < o[a][2] / i ? a - 1 : a];return s.every(c);}return [s, c];}-var [sKe, cKe] = H$(V$, z$, F$, k$, E$, w$), [lKe, uKe] = H$(B$, R$, j$, D$, T$, C$);+var [sKe, cKe] = U$(H$, B$, I$, A$, D$, T$), [lKe, uKe] = U$(V$, z$, M$, O$, E$, w$);//#endregion//#region node_modules/d3-time-format/src/locale.js-function U$(e) {+function W$(e) {if (0 <= e.y && e.y < 100) {var t = new Date(-1, e.m, e.d, e.H, e.M, e.S, e.L);return t.setFullYear(e.y), t;}return new Date(e.y, e.m, e.d, e.H, e.M, e.S, e.L);}-function W$(e) {+function G$(e) {if (0 <= e.y && e.y < 100) {var t = new Date(Date.UTC(-1, e.m, e.d, e.H, e.M, e.S, e.L));return t.setUTCFullYear(e.y), t;}return new Date(Date.UTC(e.y, e.m, e.d, e.H, e.M, e.S, e.L));}-function G$(e, t, n) {+function K$(e, t, n) {return {y: e,m: t,@@ -81783,27 +81796,27 @@ function G$(e, t, n) {};}function dKe(e) {- var t = e.dateTime, n = e.date, r = e.time, i = e.periods, a = e.days, o = e.shortDays, s = e.months, c = e.shortMonths, l = Y$(i), u = X$(i), d = Y$(a), f = X$(a), p = Y$(o), m = X$(o), h = Y$(s), g = X$(s), _ = Y$(c), v = X$(c), y = {+ var t = e.dateTime, n = e.date, r = e.time, i = e.periods, a = e.days, o = e.shortDays, s = e.months, c = e.shortMonths, l = X$(i), u = Z$(i), d = X$(a), f = Z$(a), p = X$(o), m = Z$(o), h = X$(s), g = Z$(s), _ = X$(c), v = Z$(c), y = {a: N,A: P,b: ee,B: F,c: null,- d: t1,- e: t1,+ d: n1,+ e: n1,f: PKe,g: WKe,G: KKe,H: jKe,I: MKe,j: NKe,- L: n1,+ L: r1,m: FKe,M: IKe,p: te,q: I,- Q: c1,- s: l1,+ Q: l1,+ s: u1,S: LKe,u: RKe,U: zKe,@@ -81815,28 +81828,28 @@ function dKe(e) {y: UKe,Y: GKe,Z: qKe,- "%": s1+ "%": c1}, b = {a: ne,A: re,b: ie,B: ae,c: null,- d: i1,- e: i1,+ d: a1,+ e: a1,f: ZKe,g: sqe,G: lqe,H: JKe,I: YKe,j: XKe,- L: a1,+ L: o1,m: QKe,M: $Ke,p: oe,q: se,- Q: c1,- s: l1,+ Q: l1,+ s: u1,S: eqe,u: tqe,U: nqe,@@ -81848,20 +81861,20 @@ function dKe(e) {y: oqe,Y: cqe,Z: uqe,- "%": s1+ "%": c1}, x = {a: E,A: D,b: O,B: k,c: A,- d: $$,- e: $$,+ d: e1,+ e: e1,f: DKe,- g: Q$,- G: Z$,- H: e1,- I: e1,+ g: $$,+ G: Q$,+ H: t1,+ I: t1,j: CKe,L: EKe,m: SKe,@@ -81878,8 +81891,8 @@ function dKe(e) {W: yKe,x: j,X: M,- y: Q$,- Y: Z$,+ y: $$,+ Y: Q$,Z: bKe,"%": OKe};@@ -81887,28 +81900,28 @@ function dKe(e) {function S(e, t) {return function(n) {var r = [], i = -1, a = 0, o = e.length, s, c, l;- for (n instanceof Date || (n = /* @__PURE__ */ new Date(+n)); ++i < o;) e.charCodeAt(i) === 37 && (r.push(e.slice(a, i)), (c = K$[s = e.charAt(++i)]) == null ? c = s === "e" ? " " : "0" : s = e.charAt(++i), (l = t[s]) && (s = l(n, c)), r.push(s), a = i + 1);+ for (n instanceof Date || (n = /* @__PURE__ */ new Date(+n)); ++i < o;) e.charCodeAt(i) === 37 && (r.push(e.slice(a, i)), (c = q$[s = e.charAt(++i)]) == null ? c = s === "e" ? " " : "0" : s = e.charAt(++i), (l = t[s]) && (s = l(n, c)), r.push(s), a = i + 1);return r.push(e.slice(a, i)), r.join("");};}function C(e, t) {return function(n) {- var r = G$(1900, void 0, 1), i = w(r, e, n += "", 0), a, o;+ var r = K$(1900, void 0, 1), i = w(r, e, n += "", 0), a, o;if (i != n.length) return null;if ("Q" in r) return new Date(r.Q);if ("s" in r) return new Date(r.s * 1e3 + ("L" in r ? r.L : 0));if (t && !("Z" in r) && (r.Z = 0), "p" in r && (r.H = r.H % 12 + r.p * 12), r.m === void 0 && (r.m = "q" in r ? r.q : 0), "V" in r) {if (r.V < 1 || r.V > 53) return null;- "w" in r || (r.w = 1), "Z" in r ? (a = W$(G$(r.y, 0, 1)), o = a.getUTCDay(), a = o > 4 || o === 0 ? I$.ceil(a) : I$(a), a = O$.offset(a, (r.V - 1) * 7), r.y = a.getUTCFullYear(), r.m = a.getUTCMonth(), r.d = a.getUTCDate() + (r.w + 6) % 7) : (a = U$(G$(r.y, 0, 1)), o = a.getDay(), a = o > 4 || o === 0 ? M$.ceil(a) : M$(a), a = D$.offset(a, (r.V - 1) * 7), r.y = a.getFullYear(), r.m = a.getMonth(), r.d = a.getDate() + (r.w + 6) % 7);- } else ("W" in r || "U" in r) && ("w" in r || (r.w = "u" in r ? r.u % 7 : +("W" in r)), o = "Z" in r ? W$(G$(r.y, 0, 1)).getUTCDay() : U$(G$(r.y, 0, 1)).getDay(), r.m = 0, r.d = "W" in r ? (r.w + 6) % 7 + r.W * 7 - (o + 5) % 7 : r.w + r.U * 7 - (o + 6) % 7);- return "Z" in r ? (r.H += r.Z / 100 | 0, r.M += r.Z % 100, W$(r)) : U$(r);+ "w" in r || (r.w = 1), "Z" in r ? (a = G$(K$(r.y, 0, 1)), o = a.getUTCDay(), a = o > 4 || o === 0 ? L$.ceil(a) : L$(a), a = k$.offset(a, (r.V - 1) * 7), r.y = a.getUTCFullYear(), r.m = a.getUTCMonth(), r.d = a.getUTCDate() + (r.w + 6) % 7) : (a = W$(K$(r.y, 0, 1)), o = a.getDay(), a = o > 4 || o === 0 ? N$.ceil(a) : N$(a), a = O$.offset(a, (r.V - 1) * 7), r.y = a.getFullYear(), r.m = a.getMonth(), r.d = a.getDate() + (r.w + 6) % 7);+ } else ("W" in r || "U" in r) && ("w" in r || (r.w = "u" in r ? r.u % 7 : +("W" in r)), o = "Z" in r ? G$(K$(r.y, 0, 1)).getUTCDay() : W$(K$(r.y, 0, 1)).getDay(), r.m = 0, r.d = "W" in r ? (r.w + 6) % 7 + r.W * 7 - (o + 5) % 7 : r.w + r.U * 7 - (o + 6) % 7);+ return "Z" in r ? (r.H += r.Z / 100 | 0, r.M += r.Z % 100, G$(r)) : W$(r);};}function w(e, t, n, r) {for (var i = 0, a = t.length, o = n.length, s, c; i < a;) {if (r >= o) return -1;if (s = t.charCodeAt(i++), s === 37) {- if (s = t.charAt(i++), c = x[s in K$ ? t.charAt(i++) : s], !c || (r = c(e, n, r)) < 0) return -1;+ if (s = t.charAt(i++), c = x[s in q$ ? t.charAt(i++) : s], !c || (r = c(e, n, r)) < 0) return -1;} else if (s != n.charCodeAt(r++)) return -1;}return r;@@ -82005,50 +82018,50 @@ function dKe(e) {}};}-var K$ = {+var q$ = {"-": "",_: " ",0: "0"-}, q$ = /^\s*\d+/, fKe = /^%/, pKe = /[\\^$*+?|[\]().{}]/g;-function J$(e, t, n) {+}, J$ = /^\s*\d+/, fKe = /^%/, pKe = /[\\^$*+?|[\]().{}]/g;+function Y$(e, t, n) {var r = e < 0 ? "-" : "", i = (r ? -e : e) + "", a = i.length;return r + (a < n ? Array(n - a + 1).join(t) + i : i);}function mKe(e) {return e.replace(pKe, "\\$&");}-function Y$(e) {+function X$(e) {return RegExp("^(?:" + e.map(mKe).join("|") + ")", "i");}-function X$(e) {+function Z$(e) {return new Map(e.map((e, t) => [e.toLowerCase(), t]));}function hKe(e, t, n) {- var r = q$.exec(t.slice(n, n + 1));+ var r = J$.exec(t.slice(n, n + 1));return r ? (e.w = +r[0], n + r[0].length) : -1;}function gKe(e, t, n) {- var r = q$.exec(t.slice(n, n + 1));+ var r = J$.exec(t.slice(n, n + 1));return r ? (e.u = +r[0], n + r[0].length) : -1;}function _Ke(e, t, n) {- var r = q$.exec(t.slice(n, n + 2));+ var r = J$.exec(t.slice(n, n + 2));return r ? (e.U = +r[0], n + r[0].length) : -1;}function vKe(e, t, n) {- var r = q$.exec(t.slice(n, n + 2));+ var r = J$.exec(t.slice(n, n + 2));return r ? (e.V = +r[0], n + r[0].length) : -1;}function yKe(e, t, n) {- var r = q$.exec(t.slice(n, n + 2));+ var r = J$.exec(t.slice(n, n + 2));return r ? (e.W = +r[0], n + r[0].length) : -1;}-function Z$(e, t, n) {- var r = q$.exec(t.slice(n, n + 4));+function Q$(e, t, n) {+ var r = J$.exec(t.slice(n, n + 4));return r ? (e.y = +r[0], n + r[0].length) : -1;}-function Q$(e, t, n) {- var r = q$.exec(t.slice(n, n + 2));+function $$(e, t, n) {+ var r = J$.exec(t.slice(n, n + 2));return r ? (e.y = +r[0] + (+r[0] > 68 ? 1900 : 2e3), n + r[0].length) : -1;}function bKe(e, t, n) {@@ -82056,39 +82069,39 @@ function bKe(e, t, n) {return r ? (e.Z = r[1] ? 0 : -(r[2] + (r[3] || "00")), n + r[0].length) : -1;}function xKe(e, t, n) {- var r = q$.exec(t.slice(n, n + 1));+ var r = J$.exec(t.slice(n, n + 1));return r ? (e.q = r[0] * 3 - 3, n + r[0].length) : -1;}function SKe(e, t, n) {- var r = q$.exec(t.slice(n, n + 2));+ var r = J$.exec(t.slice(n, n + 2));return r ? (e.m = r[0] - 1, n + r[0].length) : -1;}-function $$(e, t, n) {- var r = q$.exec(t.slice(n, n + 2));+function e1(e, t, n) {+ var r = J$.exec(t.slice(n, n + 2));return r ? (e.d = +r[0], n + r[0].length) : -1;}function CKe(e, t, n) {- var r = q$.exec(t.slice(n, n + 3));+ var r = J$.exec(t.slice(n, n + 3));return r ? (e.m = 0, e.d = +r[0], n + r[0].length) : -1;}-function e1(e, t, n) {- var r = q$.exec(t.slice(n, n + 2));+function t1(e, t, n) {+ var r = J$.exec(t.slice(n, n + 2));return r ? (e.H = +r[0], n + r[0].length) : -1;}function wKe(e, t, n) {- var r = q$.exec(t.slice(n, n + 2));+ var r = J$.exec(t.slice(n, n + 2));return r ? (e.M = +r[0], n + r[0].length) : -1;}function TKe(e, t, n) {- var r = q$.exec(t.slice(n, n + 2));+ var r = J$.exec(t.slice(n, n + 2));return r ? (e.S = +r[0], n + r[0].length) : -1;}function EKe(e, t, n) {- var r = q$.exec(t.slice(n, n + 3));+ var r = J$.exec(t.slice(n, n + 3));return r ? (e.L = +r[0], n + r[0].length) : -1;}function DKe(e, t, n) {- var r = q$.exec(t.slice(n, n + 6));+ var r = J$.exec(t.slice(n, n + 6));return r ? (e.L = Math.floor(r[0] / 1e3), n + r[0].length) : -1;}function OKe(e, t, n) {@@ -82096,152 +82109,152 @@ function OKe(e, t, n) {return r ? n + r[0].length : -1;}function kKe(e, t, n) {- var r = q$.exec(t.slice(n));+ var r = J$.exec(t.slice(n));return r ? (e.Q = +r[0], n + r[0].length) : -1;}function AKe(e, t, n) {- var r = q$.exec(t.slice(n));+ var r = J$.exec(t.slice(n));return r ? (e.s = +r[0], n + r[0].length) : -1;}-function t1(e, t) {- return J$(e.getDate(), t, 2);+function n1(e, t) {+ return Y$(e.getDate(), t, 2);}function jKe(e, t) {- return J$(e.getHours(), t, 2);+ return Y$(e.getHours(), t, 2);}function MKe(e, t) {- return J$(e.getHours() % 12 || 12, t, 2);+ return Y$(e.getHours() % 12 || 12, t, 2);}function NKe(e, t) {- return J$(1 + D$.count(B$(e), e), t, 3);+ return Y$(1 + O$.count(V$(e), e), t, 3);}-function n1(e, t) {- return J$(e.getMilliseconds(), t, 3);+function r1(e, t) {+ return Y$(e.getMilliseconds(), t, 3);}function PKe(e, t) {- return n1(e, t) + "000";+ return r1(e, t) + "000";}function FKe(e, t) {- return J$(e.getMonth() + 1, t, 2);+ return Y$(e.getMonth() + 1, t, 2);}function IKe(e, t) {- return J$(e.getMinutes(), t, 2);+ return Y$(e.getMinutes(), t, 2);}function LKe(e, t) {- return J$(e.getSeconds(), t, 2);+ return Y$(e.getSeconds(), t, 2);}function RKe(e) {var t = e.getDay();return t === 0 ? 7 : t;}function zKe(e, t) {- return J$(j$.count(B$(e) - 1, e), t, 2);+ return Y$(M$.count(V$(e) - 1, e), t, 2);}-function r1(e) {+function i1(e) {var t = e.getDay();- return t >= 4 || t === 0 ? N$(e) : N$.ceil(e);+ return t >= 4 || t === 0 ? P$(e) : P$.ceil(e);}function BKe(e, t) {- return e = r1(e), J$(N$.count(B$(e), e) + (B$(e).getDay() === 4), t, 2);+ return e = i1(e), Y$(P$.count(V$(e), e) + (V$(e).getDay() === 4), t, 2);}function VKe(e) {return e.getDay();}function HKe(e, t) {- return J$(M$.count(B$(e) - 1, e), t, 2);+ return Y$(N$.count(V$(e) - 1, e), t, 2);}function UKe(e, t) {- return J$(e.getFullYear() % 100, t, 2);+ return Y$(e.getFullYear() % 100, t, 2);}function WKe(e, t) {- return e = r1(e), J$(e.getFullYear() % 100, t, 2);+ return e = i1(e), Y$(e.getFullYear() % 100, t, 2);}function GKe(e, t) {- return J$(e.getFullYear() % 1e4, t, 4);+ return Y$(e.getFullYear() % 1e4, t, 4);}function KKe(e, t) {var n = e.getDay();- return e = n >= 4 || n === 0 ? N$(e) : N$.ceil(e), J$(e.getFullYear() % 1e4, t, 4);+ return e = n >= 4 || n === 0 ? P$(e) : P$.ceil(e), Y$(e.getFullYear() % 1e4, t, 4);}function qKe(e) {var t = e.getTimezoneOffset();- return (t > 0 ? "-" : (t *= -1, "+")) + J$(t / 60 | 0, "0", 2) + J$(t % 60, "0", 2);+ return (t > 0 ? "-" : (t *= -1, "+")) + Y$(t / 60 | 0, "0", 2) + Y$(t % 60, "0", 2);}-function i1(e, t) {- return J$(e.getUTCDate(), t, 2);+function a1(e, t) {+ return Y$(e.getUTCDate(), t, 2);}function JKe(e, t) {- return J$(e.getUTCHours(), t, 2);+ return Y$(e.getUTCHours(), t, 2);}function YKe(e, t) {- return J$(e.getUTCHours() % 12 || 12, t, 2);+ return Y$(e.getUTCHours() % 12 || 12, t, 2);}function XKe(e, t) {- return J$(1 + O$.count(V$(e), e), t, 3);+ return Y$(1 + k$.count(H$(e), e), t, 3);}-function a1(e, t) {- return J$(e.getUTCMilliseconds(), t, 3);+function o1(e, t) {+ return Y$(e.getUTCMilliseconds(), t, 3);}function ZKe(e, t) {- return a1(e, t) + "000";+ return o1(e, t) + "000";}function QKe(e, t) {- return J$(e.getUTCMonth() + 1, t, 2);+ return Y$(e.getUTCMonth() + 1, t, 2);}function $Ke(e, t) {- return J$(e.getUTCMinutes(), t, 2);+ return Y$(e.getUTCMinutes(), t, 2);}function eqe(e, t) {- return J$(e.getUTCSeconds(), t, 2);+ return Y$(e.getUTCSeconds(), t, 2);}function tqe(e) {var t = e.getUTCDay();return t === 0 ? 7 : t;}function nqe(e, t) {- return J$(F$.count(V$(e) - 1, e), t, 2);+ return Y$(I$.count(H$(e) - 1, e), t, 2);}-function o1(e) {+function s1(e) {var t = e.getUTCDay();- return t >= 4 || t === 0 ? L$(e) : L$.ceil(e);+ return t >= 4 || t === 0 ? R$(e) : R$.ceil(e);}function rqe(e, t) {- return e = o1(e), J$(L$.count(V$(e), e) + (V$(e).getUTCDay() === 4), t, 2);+ return e = s1(e), Y$(R$.count(H$(e), e) + (H$(e).getUTCDay() === 4), t, 2);}function iqe(e) {return e.getUTCDay();}function aqe(e, t) {- return J$(I$.count(V$(e) - 1, e), t, 2);+ return Y$(L$.count(H$(e) - 1, e), t, 2);}function oqe(e, t) {- return J$(e.getUTCFullYear() % 100, t, 2);+ return Y$(e.getUTCFullYear() % 100, t, 2);}function sqe(e, t) {- return e = o1(e), J$(e.getUTCFullYear() % 100, t, 2);+ return e = s1(e), Y$(e.getUTCFullYear() % 100, t, 2);}function cqe(e, t) {- return J$(e.getUTCFullYear() % 1e4, t, 4);+ return Y$(e.getUTCFullYear() % 1e4, t, 4);}function lqe(e, t) {var n = e.getUTCDay();- return e = n >= 4 || n === 0 ? L$(e) : L$.ceil(e), J$(e.getUTCFullYear() % 1e4, t, 4);+ return e = n >= 4 || n === 0 ? R$(e) : R$.ceil(e), Y$(e.getUTCFullYear() % 1e4, t, 4);}function uqe() {return "+0000";}-function s1() {+function c1() {return "%";}-function c1(e) {+function l1(e) {return +e;}-function l1(e) {+function u1(e) {return Math.floor(e / 1e3);}//#endregion//#region node_modules/d3-time-format/src/defaultLocale.js-var u1, d1, f1;+var d1, f1, p1;dqe({dateTime: "%x, %X",date: "%-m/%-d/%Y",@@ -82295,7 +82308,7 @@ dqe({]});function dqe(e) {- return u1 = dKe(e), d1 = u1.format, u1.parse, f1 = u1.utcFormat, u1.utcParse, u1;+ return d1 = dKe(e), f1 = d1.format, d1.parse, p1 = d1.utcFormat, d1.utcParse, d1;}//#endregion//#region node_modules/d3-scale/src/time.js@@ -82305,8 +82318,8 @@ function fqe(e) {function pqe(e) {return e instanceof Date ? +e : +/* @__PURE__ */ new Date(+e);}-function p1(e, t, n, r, i, a, o, s, c, l) {- var u = kQ(), d = u.invert, f = u.domain, p = l(".%L"), m = l(":%S"), h = l("%I:%M"), g = l("%I %p"), _ = l("%a %d"), v = l("%b %d"), y = l("%B"), b = l("%Y");+function m1(e, t, n, r, i, a, o, s, c, l) {+ var u = AQ(), d = u.invert, f = u.domain, p = l(".%L"), m = l(":%S"), h = l("%I:%M"), g = l("%I %p"), _ = l("%a %d"), v = l("%b %d"), y = l("%B"), b = l("%Y");function x(e) {return (c(e) < e ? p : s(e) < e ? m : o(e) < e ? h : a(e) < e ? g : r(e) < e ? i(e) < e ? _ : v : n(e) < e ? y : b)(e);}@@ -82321,23 +82334,23 @@ function p1(e, t, n, r, i, a, o, s, c, l) {return t == null ? x : l(t);}, u.nice = function(e) {var n = f();- return (!e || typeof e.range != "function") && (e = t(n[0], n[n.length - 1], e ?? 10)), e ? f(qQ(n, e)) : u;+ return (!e || typeof e.range != "function") && (e = t(n[0], n[n.length - 1], e ?? 10)), e ? f(JQ(n, e)) : u;}, u.copy = function() {- return DQ(u, p1(e, t, n, r, i, a, o, s, c, l));+ return OQ(u, m1(e, t, n, r, i, a, o, s, c, l));}, u;}function mqe() {- return IZ.apply(p1(lKe, uKe, B$, R$, j$, D$, T$, C$, S$, d1).domain([new Date(2e3, 0, 1), new Date(2e3, 0, 2)]), arguments);+ return LZ.apply(m1(lKe, uKe, V$, z$, M$, O$, E$, w$, C$, f1).domain([new Date(2e3, 0, 1), new Date(2e3, 0, 2)]), arguments);}//#endregion//#region node_modules/d3-scale/src/utcTime.jsfunction hqe() {- return IZ.apply(p1(sKe, cKe, V$, z$, F$, O$, E$, w$, S$, f1).domain([Date.UTC(2e3, 0, 1), Date.UTC(2e3, 0, 2)]), arguments);+ return LZ.apply(m1(sKe, cKe, H$, B$, I$, k$, D$, T$, C$, p1).domain([Date.UTC(2e3, 0, 1), Date.UTC(2e3, 0, 2)]), arguments);}//#endregion//#region node_modules/d3-scale/src/sequential.js-function m1() {- var e = 0, t = 1, n, r, i, a, o = TQ, s = !1, c;+function h1() {+ var e = 0, t = 1, n, r, i, a, o = EQ, s = !1, c;function l(e) {return e == null || isNaN(e = +e) ? c : o(i === 0 ? .5 : (e = (a(e) - n) * i, s ? Math.max(0, Math.min(1, e)) : e));}@@ -82354,54 +82367,54 @@ function m1() {return arguments.length ? ([n, r] = t, o = e(n, r), l) : [o(0), o(1)];};}- return l.range = u(xQ), l.rangeRound = u(SQ), l.unknown = function(e) {+ return l.range = u(SQ), l.rangeRound = u(CQ), l.unknown = function(e) {return arguments.length ? (c = e, l) : c;}, function(o) {return a = o, n = o(e), r = o(t), i = n === r ? 0 : 1 / (r - n), l;};}-function h1(e, t) {+function g1(e, t) {return t.domain(e.domain()).interpolator(e.interpolator()).clamp(e.clamp()).unknown(e.unknown());}-function g1() {- var e = WQ(m1()(TQ));- return e.copy = function() {- return h1(e, g1());- }, LZ.apply(e, arguments);-}function _1() {- var e = ZQ(m1()).domain([1, 10]);+ var e = GQ(h1()(EQ));return e.copy = function() {- return h1(e, _1()).base(e.base());- }, LZ.apply(e, arguments);+ return g1(e, _1());+ }, RZ.apply(e, arguments);}function v1() {- var e = t$(m1());+ var e = QQ(h1()).domain([1, 10]);return e.copy = function() {- return h1(e, v1()).constant(e.constant());- }, LZ.apply(e, arguments);+ return g1(e, v1()).base(e.base());+ }, RZ.apply(e, arguments);}function y1() {- var e = i$(m1());+ var e = n$(h1());return e.copy = function() {- return h1(e, y1()).exponent(e.exponent());- }, LZ.apply(e, arguments);+ return g1(e, y1()).constant(e.constant());+ }, RZ.apply(e, arguments);+}+function b1() {+ var e = a$(h1());+ return e.copy = function() {+ return g1(e, b1()).exponent(e.exponent());+ }, RZ.apply(e, arguments);}function gqe() {- return y1.apply(null, arguments).exponent(.5);+ return b1.apply(null, arguments).exponent(.5);}//#endregion//#region node_modules/d3-scale/src/sequentialQuantile.js-function b1() {- var e = [], t = TQ;+function x1() {+ var e = [], t = EQ;function n(n) {- if (n != null && !isNaN(n = +n)) return t((SZ(e, n, 1) - 1) / (e.length - 1));+ if (n != null && !isNaN(n = +n)) return t((CZ(e, n, 1) - 1) / (e.length - 1));}return n.domain = function(t) {if (!arguments.length) return e.slice();e = [];for (let n of t) n != null && !isNaN(n = +n) && e.push(n);- return e.sort(vZ), n;+ return e.sort(yZ), n;}, n.interpolator = function(e) {return arguments.length ? (t = e, n) : t;}, n.range = function() {@@ -82409,13 +82422,13 @@ function b1() {}, n.quantiles = function(t) {return Array.from({ length: t + 1 }, (n, r) => tGe(e, r / t));}, n.copy = function() {- return b1(t).domain(e);- }, LZ.apply(n, arguments);+ return x1(t).domain(e);+ }, RZ.apply(n, arguments);}//#endregion//#region node_modules/d3-scale/src/diverging.js-function x1() {- var e = 0, t = .5, n = 1, r = 1, i, a, o, s, c, l = TQ, u, d = !1, f;+function S1() {+ var e = 0, t = .5, n = 1, r = 1, i, a, o, s, c, l = EQ, u, d = !1, f;function p(e) {return isNaN(e = +e) ? f : (e = .5 + ((e = +u(e)) - a) * (r * e < r * a ? s : c), l(d ? Math.max(0, Math.min(1, e)) : e));}@@ -82444,102 +82457,102 @@ function x1() {];};}- return p.range = m(xQ), p.rangeRound = m(SQ), p.unknown = function(e) {+ return p.range = m(SQ), p.rangeRound = m(CQ), p.unknown = function(e) {return arguments.length ? (f = e, p) : f;}, function(l) {return u = l, i = l(e), a = l(t), o = l(n), s = i === a ? 0 : .5 / (a - i), c = a === o ? 0 : .5 / (o - a), r = a < i ? -1 : 1, p;};}-function S1() {- var e = WQ(x1()(TQ));+function C1() {+ var e = GQ(S1()(EQ));return e.copy = function() {- return h1(e, S1());- }, LZ.apply(e, arguments);+ return g1(e, C1());+ }, RZ.apply(e, arguments);}-function C1() {- var e = ZQ(x1()).domain([+function w1() {+ var e = QQ(S1()).domain([.1,1,10]);return e.copy = function() {- return h1(e, C1()).base(e.base());- }, LZ.apply(e, arguments);+ return g1(e, w1()).base(e.base());+ }, RZ.apply(e, arguments);}-function w1() {- var e = t$(x1());+function T1() {+ var e = n$(S1());return e.copy = function() {- return h1(e, w1()).constant(e.constant());- }, LZ.apply(e, arguments);+ return g1(e, T1()).constant(e.constant());+ }, RZ.apply(e, arguments);}-function T1() {- var e = i$(x1());+function E1() {+ var e = a$(S1());return e.copy = function() {- return h1(e, T1()).exponent(e.exponent());- }, LZ.apply(e, arguments);+ return g1(e, E1()).exponent(e.exponent());+ }, RZ.apply(e, arguments);}function _qe() {- return T1.apply(null, arguments).exponent(.5);+ return E1.apply(null, arguments).exponent(.5);}//#endregion//#region node_modules/victory-vendor/es/d3-scale.js-var E1 = /* @__PURE__ */ s({- scaleBand: () => BZ,- scaleDiverging: () => S1,- scaleDivergingLog: () => C1,- scaleDivergingPow: () => T1,+var D1 = /* @__PURE__ */ s({+ scaleBand: () => VZ,+ scaleDiverging: () => C1,+ scaleDivergingLog: () => w1,+ scaleDivergingPow: () => E1,scaleDivergingSqrt: () => _qe,- scaleDivergingSymlog: () => w1,- scaleIdentity: () => KQ,- scaleImplicit: () => RZ,- scaleLinear: () => GQ,- scaleLog: () => QQ,- scaleOrdinal: () => zZ,+ scaleDivergingSymlog: () => T1,+ scaleIdentity: () => qQ,+ scaleImplicit: () => zZ,+ scaleLinear: () => KQ,+ scaleLog: () => $Q,+ scaleOrdinal: () => BZ,scalePoint: () => iGe,- scalePow: () => a$,- scaleQuantile: () => c$,- scaleQuantize: () => l$,- scaleRadial: () => s$,- scaleSequential: () => g1,- scaleSequentialLog: () => _1,- scaleSequentialPow: () => y1,- scaleSequentialQuantile: () => b1,+ scalePow: () => o$,+ scaleQuantile: () => l$,+ scaleQuantize: () => u$,+ scaleRadial: () => c$,+ scaleSequential: () => _1,+ scaleSequentialLog: () => v1,+ scaleSequentialPow: () => b1,+ scaleSequentialQuantile: () => x1,scaleSequentialSqrt: () => gqe,- scaleSequentialSymlog: () => v1,+ scaleSequentialSymlog: () => y1,scaleSqrt: () => ZGe,- scaleSymlog: () => n$,- scaleThreshold: () => u$,+ scaleSymlog: () => r$,+ scaleThreshold: () => d$,scaleTime: () => mqe,scaleUtc: () => hqe,- tickFormat: () => UQ+ tickFormat: () => WQ});//#endregion//#region node_modules/recharts/es6/state/selectors/combiners/combineConfiguredScale.jsfunction vqe(e) {- var t = E1;+ var t = D1;if (e in t && typeof t[e] == "function") return t[e]();- var n = `scale${TU(e)}`;+ var n = `scale${EU(e)}`;if (n in t && typeof t[n] == "function") return t[n]();}-function D1(e, t, n) {+function O1(e, t, n) {if (typeof e == "function") return e.copy().domain(t).range(n);if (e != null) {var r = vqe(e);if (r != null) return r.domain(t).range(n), r;}}-function O1(e, t, n, r) {- if (n != null && r != null) return typeof e.scale == "function" ? D1(e.scale, n, r) : D1(t, n, r);+function k1(e, t, n, r) {+ if (n != null && r != null) return typeof e.scale == "function" ? O1(e.scale, n, r) : O1(t, n, r);}//#endregion//#region node_modules/recharts/es6/state/selectors/combiners/combineRealScaleType.jsfunction yqe(e) {- return `scale${TU(e)}`;+ return `scale${EU(e)}`;}function bqe(e) {- return yqe(e) in E1;+ return yqe(e) in D1;}-var k1 = (e, t, n) => {+var A1 = (e, t, n) => {if (e != null) {var r = e.scale, i = e.type;if (r === "auto") return i === "category" && n && (n.indexOf("LineChart") >= 0 || n.indexOf("AreaChart") >= 0 || n.indexOf("ComposedChart") >= 0 && !t) ? "point" : i === "category" ? "band" : "linear";@@ -82555,7 +82568,7 @@ function xqe(e, t) {}return n;}-function A1(e, t) {+function j1(e, t) {if (e) {var n = t ?? e.domain(), r = n.map((t) => e(t) ?? 0), i = e.range();if (!(n.length === 0 || i.length < 2)) return (e) => {@@ -82570,11 +82583,11 @@ function A1(e, t) {//#endregion//#region node_modules/recharts/es6/state/selectors/combiners/combineInverseScaleFunction.jsfunction Sqe(e) {- if (e != null) return "invert" in e && typeof e.invert == "function" ? e.invert.bind(e) : A1(e, void 0);+ if (e != null) return "invert" in e && typeof e.invert == "function" ? e.invert.bind(e) : j1(e, void 0);}//#endregion//#region node_modules/recharts/es6/state/selectors/axisSelectors.js-function j1(e, t) {+function M1(e, t) {var n = Object.keys(e);if (Object.getOwnPropertySymbols) {var r = Object.getOwnPropertySymbols(e);@@ -82584,12 +82597,12 @@ function j1(e, t) {}return n;}-function M1(e) {+function N1(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t] == null ? {} : arguments[t];- t % 2 ? j1(Object(n), !0).forEach(function(t) {+ t % 2 ? M1(Object(n), !0).forEach(function(t) {Cqe(e, t, n[t]);- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : j1(Object(n)).forEach(function(t) {+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : M1(Object(n)).forEach(function(t) {Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));});}@@ -82617,7 +82630,7 @@ function Tqe(e, t) {}return (t === "string" ? String : Number)(e);}-function N1(e, t) {+function P1(e, t) {return kqe(e) || Oqe(e, t) || Dqe(e, t) || Eqe();}function Eqe() {@@ -82625,12 +82638,12 @@ function Eqe() {}function Dqe(e, t) {if (e) {- if (typeof e == "string") return P1(e, t);+ if (typeof e == "string") return F1(e, t);var n = {}.toString.call(e).slice(8, -1);- return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? P1(e, t) : void 0;+ return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? F1(e, t) : void 0;}}-function P1(e, t) {+function F1(e, t) {(t == null || t > e.length) && (t = e.length);for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];return r;@@ -82659,7 +82672,7 @@ function Oqe(e, t) {function kqe(e) {if (Array.isArray(e)) return e;}-var F1 = [0, "auto"], I1 = {+var I1 = [0, "auto"], L1 = {allowDataOverflow: !1,allowDecimals: !0,allowDuplicatedCategory: !0,@@ -82688,13 +82701,13 @@ var F1 = [0, "auto"], I1 = {type: "category",unit: void 0,niceTicks: "auto"-}, L1 = (e, t) => e.cartesianAxis.xAxis[t], R1 = (e, t) => L1(e, t) ?? I1, z1 = {+}, R1 = (e, t) => e.cartesianAxis.xAxis[t], z1 = (e, t) => R1(e, t) ?? L1, B1 = {allowDataOverflow: !1,allowDecimals: !0,allowDuplicatedCategory: !0,angle: 0,dataKey: void 0,- domain: F1,+ domain: I1,hide: !0,id: 0,includeHidden: !1,@@ -82717,7 +82730,7 @@ var F1 = [0, "auto"], I1 = {unit: void 0,niceTicks: "auto",width: 60-}, B1 = (e, t) => e.cartesianAxis.yAxis[t], V1 = (e, t) => B1(e, t) ?? z1, Aqe = {+}, V1 = (e, t) => e.cartesianAxis.yAxis[t], H1 = (e, t) => V1(e, t) ?? B1, Aqe = {domain: [0, "auto"],includeHidden: !1,reversed: !1,@@ -82730,31 +82743,31 @@ var F1 = [0, "auto"], I1 = {scale: "auto",type: "number",unit: ""-}, H1 = (e, t) => e.cartesianAxis.zAxis[t] ?? Aqe, U1 = (e, t, n) => {+}, U1 = (e, t) => e.cartesianAxis.zAxis[t] ?? Aqe, W1 = (e, t, n) => {switch (t) {- case "xAxis": return R1(e, n);- case "yAxis": return V1(e, n);- case "zAxis": return H1(e, n);- case "angleAxis": return QX(e, n);- case "radiusAxis": return $X(e, n);+ case "xAxis": return z1(e, n);+ case "yAxis": return H1(e, n);+ case "zAxis": return U1(e, n);+ case "angleAxis": return $X(e, n);+ case "radiusAxis": return eZ(e, n);default: throw Error(`Unexpected axis type: ${t}`);}}, jqe = (e, t, n) => {switch (t) {- case "xAxis": return R1(e, n);- case "yAxis": return V1(e, n);+ case "xAxis": return z1(e, n);+ case "yAxis": return H1(e, n);default: throw Error(`Unexpected axis type: ${t}`);}-}, W1 = (e, t, n) => {+}, G1 = (e, t, n) => {switch (t) {- case "xAxis": return R1(e, n);- case "yAxis": return V1(e, n);- case "angleAxis": return QX(e, n);- case "radiusAxis": return $X(e, n);+ case "xAxis": return z1(e, n);+ case "yAxis": return H1(e, n);+ case "angleAxis": return $X(e, n);+ case "radiusAxis": return eZ(e, n);default: throw Error(`Unexpected axis type: ${t}`);}-}, G1 = (e) => e.graphicalItems.cartesianItems.some((e) => e.type === "bar") || e.graphicalItems.polarItems.some((e) => e.type === "radialBar");-function K1(e, t) {+}, K1 = (e) => e.graphicalItems.cartesianItems.some((e) => e.type === "bar") || e.graphicalItems.polarItems.some((e) => e.type === "radialBar");+function q1(e, t) {return (n) => {switch (e) {case "xAxis": return "xAxisId" in n && n.xAxisId === t;@@ -82766,47 +82779,47 @@ function K1(e, t) {}};}-var q1 = (e) => e.graphicalItems.cartesianItems, Mqe = Y([sZ, cZ], K1), J1 = (e, t, n) => e.filter(n).filter((e) => t?.includeHidden === !0 || !e.hide), Y1 = Y([- q1,- U1,+var J1 = (e) => e.graphicalItems.cartesianItems, Mqe = Y([cZ, lZ], q1), Y1 = (e, t, n) => e.filter(n).filter((e) => t?.includeHidden === !0 || !e.hide), X1 = Y([+ J1,+ W1,Mqe-], J1, { memoizeOptions: { resultEqualityCheck: pZ } }), X1 = Y([Y1], (e) => e.filter((e) => e.type === "area" || e.type === "bar").filter(dZ)), Z1 = (e) => e.filter((e) => !("stackId" in e) || e.stackId === void 0), Nqe = Y([Y1], Z1), Q1 = (e) => e.map((e) => e.data).filter(Boolean).flat(1), Pqe = Y([Y1], (e) => e.some((e) => !e.data)), $1 = Y([Y1], Q1, { memoizeOptions: { resultEqualityCheck: pZ } }), e0 = (e, t) => {+], Y1, { memoizeOptions: { resultEqualityCheck: mZ } }), Z1 = Y([X1], (e) => e.filter((e) => e.type === "area" || e.type === "bar").filter(fZ)), Q1 = (e) => e.filter((e) => !("stackId" in e) || e.stackId === void 0), Nqe = Y([X1], Q1), $1 = (e) => e.map((e) => e.data).filter(Boolean).flat(1), Pqe = Y([X1], (e) => e.some((e) => !e.data)), e0 = Y([X1], $1, { memoizeOptions: { resultEqualityCheck: mZ } }), t0 = (e, t) => {var n = t.chartData, r = n === void 0 ? [] : n, i = t.dataStartIndex, a = t.dataEndIndex;return e.length > 0 ? e : r.slice(i, a + 1);-}, t0 = Y([$1, hX], e0), n0 = (e, t, n) => t?.dataKey == null ? n.length > 0 ? n.map((e) => e.dataKey).flatMap((t) => e.map((e) => ({ value: Zq(e, t) }))) : e.map((e) => ({ value: e })) : e.map((e) => ({ value: Zq(e, t.dataKey) })), r0 = (e, t, n, r, i, a) => {- var o = r.chartData, s = o === void 0 ? [] : o, c = r.dataStartIndex, l = r.dataEndIndex, u = n0(e, t, n);- return i && t?.dataKey != null && a.length > 0 ? [...s.slice(c, l + 1).map((e) => ({ value: Zq(e, t.dataKey) })).filter((e) => e.value != null), ...u] : u;-}, i0 = Y([- t0,- U1,- Y1,- hX,+}, n0 = Y([e0, gX], t0), r0 = (e, t, n) => t?.dataKey == null ? n.length > 0 ? n.map((e) => e.dataKey).flatMap((t) => e.map((e) => ({ value: Qq(e, t) }))) : e.map((e) => ({ value: e })) : e.map((e) => ({ value: Qq(e, t.dataKey) })), i0 = (e, t, n, r, i, a) => {+ var o = r.chartData, s = o === void 0 ? [] : o, c = r.dataStartIndex, l = r.dataEndIndex, u = r0(e, t, n);+ return i && t?.dataKey != null && a.length > 0 ? [...s.slice(c, l + 1).map((e) => ({ value: Qq(e, t.dataKey) })).filter((e) => e.value != null), ...u] : u;+}, a0 = Y([+ n0,+ W1,+ X1,+ gX,Pqe,- $1-], r0);-function a0(e) {- if (vU(e) || e instanceof Date) {+ e0+], i0);+function o0(e) {+ if (yU(e) || e instanceof Date) {var t = Number(e);- if (qq(t)) return t;+ if (Jq(t)) return t;}}-function o0(e) {+function s0(e) {if (Array.isArray(e)) {- var t = [a0(e[0]), a0(e[1])];- return yX(t) ? t : void 0;+ var t = [o0(e[0]), o0(e[1])];+ return bX(t) ? t : void 0;}- var n = a0(e);+ var n = o0(e);if (n != null) return [n, n];}-function s0(e) {- return e.map(a0).filter(EU);+function c0(e) {+ return e.map(o0).filter(DU);}function Fqe(e, t) {- var n = a0(e), r = a0(t);+ var n = o0(e), r = o0(t);return n == null && r == null ? 0 : n == null ? -1 : r == null ? 1 : n - r;}-var Iqe = Y([i0], (e) => e?.map((e) => e.value).sort(Fqe));-function c0(e, t) {+var Iqe = Y([a0], (e) => e?.map((e) => e.value).sort(Fqe));+function l0(e, t) {switch (e) {case "xAxis": return t.direction === "x";case "yAxis": return t.direction === "y";@@ -82816,204 +82829,204 @@ function c0(e, t) {function Lqe(e, t, n) {if (!n || !n.length) return [];var r;- if (typeof t == "number" && !hU(t)) r = t;+ if (typeof t == "number" && !gU(t)) r = t;else if (Array.isArray(t)) {- var i = s0(t);+ var i = c0(t);i.length > 0 && (r = Math.max(...i));}- return r == null ? [] : s0(n.flatMap((t) => {- var n = Zq(e, t.dataKey), i, a;+ return r == null ? [] : c0(n.flatMap((t) => {+ var n = Qq(e, t.dataKey), i, a;if (Array.isArray(n)) {- var o = N1(n, 2);+ var o = P1(n, 2);i = o[0], a = o[1];} else i = a = n;- if (qq(i) && qq(a)) return [r - i, r + a];+ if (Jq(i) && Jq(a)) return [r - i, r + a];}));}-var l0 = (e) => W1(e, mZ(e), hZ(e)), u0 = Y([l0], (e) => e?.dataKey), Rqe = Y([- X1,- hX,- l0-], uZ), d0 = (e, t, n, r) => {+var u0 = (e) => G1(e, hZ(e), gZ(e)), d0 = Y([u0], (e) => e?.dataKey), Rqe = Y([+ Z1,+ gX,+ u0+], dZ), f0 = (e, t, n, r) => {var i = t.reduce((e, t) => {if (t.stackId == null) return e;var n = e[t.stackId];return n ??= [], n.push(t), e[t.stackId] = n, e;}, {});return Object.fromEntries(Object.entries(i).map((t) => {- var i = N1(t, 2), a = i[0], o = i[1], s = r ? [...o].reverse() : o;+ var i = P1(t, 2), a = i[0], o = i[1], s = r ? [...o].reverse() : o;return [a, {- stackedData: ZBe(e, s.map(lZ), n),+ stackedData: ZBe(e, s.map(uZ), n),graphicalItems: s}];}));-}, f0 = Y([+}, p0 = Y([Rqe,- X1,- LX,- RX-], d0), p0 = (e, t, n, r) => {+ Z1,+ RX,+ zX+], f0), m0 = (e, t, n, r) => {var i = t.dataStartIndex, a = t.dataEndIndex;if (r == null && n !== "zAxis") return eVe(e, i, a);-}, zqe = Y([U1], (e) => e.allowDataOverflow), m0 = (e) => {- if (e == null || !("domain" in e)) return F1;+}, zqe = Y([W1], (e) => e.allowDataOverflow), h0 = (e) => {+ if (e == null || !("domain" in e)) return I1;if (e.domain != null) return e.domain;if ("ticks" in e && e.ticks != null) {if (e.type === "number") {- var t = s0(e.ticks);+ var t = c0(e.ticks);return [Math.min(...t), Math.max(...t)];}if (e.type === "category") return e.ticks.map(String);}- return e?.domain ?? F1;-}, h0 = Y([U1], m0), g0 = Y([h0, zqe], xX), Bqe = Y([- f0,- pX,- sZ,- g0-], p0, { memoizeOptions: { resultEqualityCheck: fZ } }), _0 = (e) => e.errorBars, Vqe = (e, t, n) => e.flatMap((e) => t[e.id]).filter(Boolean).filter((e) => c0(n, e)), v0 = function() {+ return e?.domain ?? I1;+}, g0 = Y([W1], h0), _0 = Y([g0, zqe], SX), Bqe = Y([+ p0,+ mX,+ cZ,+ _0+], m0, { memoizeOptions: { resultEqualityCheck: pZ } }), v0 = (e) => e.errorBars, Vqe = (e, t, n) => e.flatMap((e) => t[e.id]).filter(Boolean).filter((e) => l0(n, e)), y0 = function() {var e = [...arguments].filter(Boolean);if (e.length !== 0) {var t = e.flat();return [Math.min(...t), Math.max(...t)];}-}, y0 = function(e, t, n, r, i) {+}, b0 = function(e, t, n, r, i) {var a = arguments.length > 5 && arguments[5] !== void 0 ? arguments[5] : [], o, s;if (n.length > 0 && n.forEach((e) => {- var n = e.data == null ? a : [...e.data], c = r[e.id]?.filter((e) => c0(i, e));+ var n = e.data == null ? a : [...e.data], c = r[e.id]?.filter((e) => l0(i, e));n.forEach((n) => {- var r = Zq(n, t.dataKey ?? e.dataKey), i = Lqe(n, r, c);+ var r = Qq(n, t.dataKey ?? e.dataKey), i = Lqe(n, r, c);if (i.length >= 2) {var a = Math.min(...i), l = Math.max(...i);(o == null || a < o) && (o = a), (s == null || l > s) && (s = l);}- var u = o0(r);+ var u = s0(r);u != null && (o = o == null ? u[0] : Math.min(o, u[0]), s = s == null ? u[1] : Math.max(s, u[1]));});}), t?.dataKey != null && n.length === 0 && e.forEach((e) => {- var n = o0(Zq(e, t.dataKey));+ var n = s0(Qq(e, t.dataKey));n != null && (o = o == null ? n[0] : Math.min(o, n[0]), s = s == null ? n[1] : Math.max(s, n[1]));- }), qq(o) && qq(s)) return [o, s];+ }), Jq(o) && Jq(s)) return [o, s];}, Hqe = Y([- t0,- U1,+ n0,+ W1,Nqe,- _0,- sZ,+ v0,+ cZ,AWe-], y0, { memoizeOptions: { resultEqualityCheck: fZ } });+], b0, { memoizeOptions: { resultEqualityCheck: pZ } });function Uqe(e) {var t = e.value;- if (vU(t) || t instanceof Date) return t;+ if (yU(t) || t instanceof Date) return t;}var Wqe = (e, t, n) => {var r = e.map(Uqe).filter((e) => e != null);- return n && (t.dataKey == null || t.allowDuplicatedCategory && xU(r)) ? fX(0, e.length) : t.allowDuplicatedCategory ? r : Array.from(new Set(r));-}, b0 = (e) => e.referenceElements.dots, x0 = (e, t, n) => e.filter((e) => e.ifOverflow === "extendDomain").filter((e) => t === "xAxis" ? e.xAxisId === n : e.yAxisId === n), Gqe = Y([- b0,- sZ,- cZ-], x0), S0 = (e) => e.referenceElements.areas, Kqe = Y([- S0,- sZ,- cZ-], x0), C0 = (e) => e.referenceElements.lines, qqe = Y([+ return n && (t.dataKey == null || t.allowDuplicatedCategory && SU(r)) ? pX(0, e.length) : t.allowDuplicatedCategory ? r : Array.from(new Set(r));+}, x0 = (e) => e.referenceElements.dots, S0 = (e, t, n) => e.filter((e) => e.ifOverflow === "extendDomain").filter((e) => t === "xAxis" ? e.xAxisId === n : e.yAxisId === n), Gqe = Y([+ x0,+ cZ,+ lZ+], S0), C0 = (e) => e.referenceElements.areas, Kqe = Y([C0,- sZ,- cZ-], x0), w0 = (e, t) => {+ cZ,+ lZ+], S0), w0 = (e) => e.referenceElements.lines, qqe = Y([+ w0,+ cZ,+ lZ+], S0), T0 = (e, t) => {if (e != null) {- var n = s0(e.map((e) => t === "xAxis" ? e.x : e.y));+ var n = c0(e.map((e) => t === "xAxis" ? e.x : e.y));if (n.length !== 0) return [Math.min(...n), Math.max(...n)];}-}, Jqe = Y(Gqe, sZ, w0), T0 = (e, t) => {+}, Jqe = Y(Gqe, cZ, T0), E0 = (e, t) => {if (e != null) {- var n = s0(e.flatMap((e) => [t === "xAxis" ? e.x1 : e.y1, t === "xAxis" ? e.x2 : e.y2]));+ var n = c0(e.flatMap((e) => [t === "xAxis" ? e.x1 : e.y1, t === "xAxis" ? e.x2 : e.y2]));if (n.length !== 0) return [Math.min(...n), Math.max(...n)];}-}, Yqe = Y([Kqe, sZ], T0);+}, Yqe = Y([Kqe, cZ], E0);function Xqe(e) {- if (e.x != null) return s0([e.x]);+ if (e.x != null) return c0([e.x]);var t = e.segment?.map((e) => e.x);- return t == null || t.length === 0 ? [] : s0(t);+ return t == null || t.length === 0 ? [] : c0(t);}function Zqe(e) {- if (e.y != null) return s0([e.y]);+ if (e.y != null) return c0([e.y]);var t = e.segment?.map((e) => e.y);- return t == null || t.length === 0 ? [] : s0(t);+ return t == null || t.length === 0 ? [] : c0(t);}-var E0 = (e, t) => {+var D0 = (e, t) => {if (e != null) {var n = e.flatMap((e) => t === "xAxis" ? Xqe(e) : Zqe(e));if (n.length !== 0) return [Math.min(...n), Math.max(...n)];}-}, Qqe = Y(Jqe, Y([qqe, sZ], E0), Yqe, (e, t, n) => v0(e, n, t)), D0 = (e, t, n, r, i, a, o, s, c) => {+}, Qqe = Y(Jqe, Y([qqe, cZ], D0), Yqe, (e, t, n) => y0(e, n, t)), O0 = (e, t, n, r, i, a, o, s, c) => {if (n != null) return n;- var l = o === "vertical" && s === "xAxis" || o === "horizontal" && s === "yAxis" ? v0(r, a, i) : v0(a, i), u = LWe(t, l, e.allowDataOverflow);+ var l = o === "vertical" && s === "xAxis" || o === "horizontal" && s === "yAxis" ? y0(r, a, i) : y0(a, i), u = LWe(t, l, e.allowDataOverflow);return u == null && e.allowDataOverflow && l == null && c != null ? c : u;}, $qe = Y([- U1,- h0,+ W1,g0,+ _0,Bqe,Hqe,Qqe,- zJ,- sZ,- Y([U1], (e) => {+ BJ,+ cZ,+ Y([W1], (e) => {if (e != null && e.type === "number" && "ticks" in e && e.ticks != null) {- var t = s0(e.ticks);+ var t = c0(e.ticks);if (t.length !== 0) return [Math.min(...t), Math.max(...t)];}- }, { memoizeOptions: { resultEqualityCheck: fZ } })-], D0, { memoizeOptions: { resultEqualityCheck: fZ } }), eJe = [0, 1], O0 = (e, t, n, r, i, a, o) => {+ }, { memoizeOptions: { resultEqualityCheck: pZ } })+], O0, { memoizeOptions: { resultEqualityCheck: pZ } }), eJe = [0, 1], k0 = (e, t, n, r, i, a, o) => {if (e != null && n != null && n.length !== 0 || o !== void 0) {- var s = e.dataKey, c = e.type, l = Qq(t, a);- return l && s == null ? fX(0, n?.length ?? 0) : c === "category" ? Wqe(r, e, l) : i === "expand" && !l ? eJe : o;- }-}, k0 = Y([- U1,- zJ,- t0,- i0,- LX,- sZ,+ var s = e.dataKey, c = e.type, l = $q(t, a);+ return l && s == null ? pX(0, n?.length ?? 0) : c === "category" ? Wqe(r, e, l) : i === "expand" && !l ? eJe : o;+ }+}, A0 = Y([+ W1,+ BJ,+ n0,+ a0,+ RX,+ cZ,$qe-], O0), A0 = Y([- U1,- G1,- zX-], k1), j0 = (e, t, n) => {+], k0), j0 = Y([+ W1,+ K1,+ BX+], A1), M0 = (e, t, n) => {var r = t.niceTicks;if (r !== "none") {- var i = m0(t), a = Array.isArray(i) && (i[0] === "auto" || i[1] === "auto");- if ((r === "snap125" || r === "adaptive") && t != null && t.tickCount && yX(e)) {- if (a) return jX(e, t.tickCount, t.allowDecimals, r);- if (t.type === "number") return MX(e, t.tickCount, t.allowDecimals, r);+ var i = h0(t), a = Array.isArray(i) && (i[0] === "auto" || i[1] === "auto");+ if ((r === "snap125" || r === "adaptive") && t != null && t.tickCount && bX(e)) {+ if (a) return MX(e, t.tickCount, t.allowDecimals, r);+ if (t.type === "number") return NX(e, t.tickCount, t.allowDecimals, r);}if (r === "auto" && n === "linear" && t != null && t.tickCount) {- if (a && yX(e)) return jX(e, t.tickCount, t.allowDecimals, "adaptive");- if (t.type === "number" && yX(e)) return MX(e, t.tickCount, t.allowDecimals, "adaptive");+ if (a && bX(e)) return MX(e, t.tickCount, t.allowDecimals, "adaptive");+ if (t.type === "number" && bX(e)) return NX(e, t.tickCount, t.allowDecimals, "adaptive");}}-}, M0 = Y([- k0,- W1,- A0-], j0), N0 = (e, t, n, r) => {- if (r !== "angleAxis" && e?.type === "number" && yX(t) && Array.isArray(n) && n.length > 0) {+}, N0 = Y([+ A0,+ G1,+ j0+], M0), P0 = (e, t, n, r) => {+ if (r !== "angleAxis" && e?.type === "number" && bX(t) && Array.isArray(n) && n.length > 0) {var i = t[0], a = n[0] ?? 0, o = t[1], s = n[n.length - 1] ?? 0;return [Math.min(i, a), Math.max(o, s)];}return t;}, tJe = Y([- U1,- k0,- M0,- sZ-], N0), P0 = Y(Y(i0, U1, (e, t) => {+ W1,+ A0,+ N0,+ cZ+], P0), F0 = Y(Y(a0, W1, (e, t) => {if (t && t.type === "number") {- var n = Infinity, r = Array.from(s0(e.map((e) => e.value))).sort((e, t) => e - t), i = r[0], a = r[r.length - 1];+ var n = Infinity, r = Array.from(c0(e.map((e) => e.value))).sort((e, t) => e - t), i = r[0], a = r[r.length - 1];if (i == null || a == null) return Infinity;var o = a - i;if (o === 0) return Infinity;@@ -83026,22 +83039,22 @@ var E0 = (e, t) => {}return n / o;}-}), zJ, FX, vJ, (e, t, n, r, i) => i, (e, t, n, r, i) => {- if (!qq(e)) return 0;+}), BJ, IX, yJ, (e, t, n, r, i) => i, (e, t, n, r, i) => {+ if (!Jq(e)) return 0;var a = t === "vertical" ? r.height : r.width;if (i === "gap") return e * a / 2;if (i === "no-gap") {- var o = bU(n, e * a), s = e * a / 2;+ var o = xU(n, e * a), s = e * a / 2;return s - o - (s - o) / a * o;}return 0;}), nJe = (e, t, n) => {- var r = R1(e, t);- return r == null || typeof r.padding != "string" ? 0 : P0(e, "xAxis", t, n, r.padding);+ var r = z1(e, t);+ return r == null || typeof r.padding != "string" ? 0 : F0(e, "xAxis", t, n, r.padding);}, rJe = (e, t, n) => {- var r = V1(e, t);- return r == null || typeof r.padding != "string" ? 0 : P0(e, "yAxis", t, n, r.padding);-}, iJe = Y(R1, nJe, (e, t) => {+ var r = H1(e, t);+ return r == null || typeof r.padding != "string" ? 0 : F0(e, "yAxis", t, n, r.padding);+}, iJe = Y(z1, nJe, (e, t) => {if (e == null) return {left: 0,right: 0@@ -83054,7 +83067,7 @@ var E0 = (e, t) => {left: (n.left ?? 0) + t,right: (n.right ?? 0) + t};-}), aJe = Y(V1, rJe, (e, t) => {+}), aJe = Y(H1, rJe, (e, t) => {if (e == null) return {top: 0,bottom: 0@@ -83067,59 +83080,59 @@ var E0 = (e, t) => {top: (n.top ?? 0) + t,bottom: (n.bottom ?? 0) + t};-}), F0 = Y([- vJ,+}), I0 = Y([+ yJ,iJe,+ wJ,CJ,- SJ,(e, t, n) => n], (e, t, n, r, i) => {var a = r.padding;return i ? [a.left, n.width - a.right] : [e.left + t.left, e.left + e.width - t.right];-}), I0 = Y([- vJ,- zJ,+}), L0 = Y([+ yJ,+ BJ,aJe,+ wJ,CJ,- SJ,(e, t, n) => n], (e, t, n, r, i, a) => {var o = i.padding;return a ? [r.height - o.bottom, o.top] : t === "horizontal" ? [e.top + e.height - n.bottom, e.top + n.top] : [e.top + n.top, e.top + e.height - n.bottom];-}), L0 = (e, t, n, r) => {+}), R0 = (e, t, n, r) => {switch (t) {- case "xAxis": return F0(e, n, r);- case "yAxis": return I0(e, n, r);- case "zAxis": return H1(e, n)?.range;- case "angleAxis": return iZ(e);- case "radiusAxis": return aZ(e, n);+ case "xAxis": return I0(e, n, r);+ case "yAxis": return L0(e, n, r);+ case "zAxis": return U1(e, n)?.range;+ case "angleAxis": return aZ(e);+ case "radiusAxis": return oZ(e, n);default: return;}-}, R0 = Y([U1, L0], KX), z0 = Y([- U1,- A0,- Y([A0, tJe], _Z),- R0-], O1), B0 = (e, t, n, r) => {+}, z0 = Y([W1, R0], qX), B0 = Y([+ W1,+ j0,+ Y([j0, tJe], vZ),+ z0+], k1), V0 = (e, t, n, r) => {if (n != null && n.dataKey != null) {var i = n.type, a = n.scale;- if (Qq(e, r) && (i === "number" || a !== "auto")) return t.map((e) => e.value);+ if ($q(e, r) && (i === "number" || a !== "auto")) return t.map((e) => e.value);}-}, V0 = Y([- zJ,- i0,- W1,- sZ-], B0), H0 = Y([z0], gZ);-Y([z0], Sqe), Y([z0, Iqe], A1), Y([- Y1,- _0,- sZ+}, H0 = Y([+ BJ,+ a0,+ G1,+ cZ+], V0), U0 = Y([B0], _Z);+Y([B0], Sqe), Y([B0, Iqe], j1), Y([+ X1,+ v0,+ cZ], Vqe);-function U0(e, t) {+function W0(e, t) {return e.id < t.id ? -1 : +(e.id > t.id);}-var W0 = (e, t) => t, G0 = (e, t, n) => n, oJe = Y(mJ, W0, G0, (e, t, n) => e.filter((e) => e.orientation === t).filter((e) => e.mirror === n).sort(U0)), sJe = Y(hJ, W0, G0, (e, t, n) => e.filter((e) => e.orientation === t).filter((e) => e.mirror === n).sort(U0)), K0 = (e, t) => {+var G0 = (e, t) => t, K0 = (e, t, n) => n, oJe = Y(hJ, G0, K0, (e, t, n) => e.filter((e) => e.orientation === t).filter((e) => e.mirror === n).sort(W0)), sJe = Y(gJ, G0, K0, (e, t, n) => e.filter((e) => e.orientation === t).filter((e) => e.mirror === n).sort(W0)), q0 = (e, t) => {var n = typeof t.height == "number" ? t.height : 30;return {width: e.width,@@ -83128,7 +83141,7 @@ var W0 = (e, t) => t, G0 = (e, t, n) => n, oJe = Y(mJ, W0, G0, (e, t, n) => e.fi}, cJe = (e, t) => ({width: typeof t.width == "number" ? t.width : 60,height: e.height-}), q0 = Y(vJ, R1, K0), lJe = (e, t, n) => {+}), J0 = Y(yJ, z1, q0), lJe = (e, t, n) => {switch (t) {case "top": return e.top;case "bottom": return n - e.bottom;@@ -83140,15 +83153,15 @@ var W0 = (e, t) => t, G0 = (e, t, n) => n, oJe = Y(mJ, W0, G0, (e, t, n) => e.ficase "right": return n - e.right;default: return 0;}-}, dJe = Y(fJ, vJ, oJe, W0, G0, (e, t, n, r, i) => {+}, dJe = Y(pJ, yJ, oJe, G0, K0, (e, t, n, r, i) => {var a = {}, o;return n.forEach((n) => {- var s = K0(t, n);+ var s = q0(t, n);o ??= lJe(t, r, e);var c = r === "top" && !i || r === "bottom" && i;a[n.id] = o - Number(c) * s.height, o += (c ? -1 : 1) * s.height;}), a;-}), fJe = Y(dJ, vJ, sJe, W0, G0, (e, t, n, r, i) => {+}), fJe = Y(fJ, yJ, sJe, G0, K0, (e, t, n, r, i) => {var a = {}, o;return n.forEach((n) => {var s = cJe(t, n);@@ -83157,10 +83170,10 @@ var W0 = (e, t) => t, G0 = (e, t, n) => n, oJe = Y(mJ, W0, G0, (e, t, n) => e.fia[n.id] = o - Number(c) * s.width, o += (c ? -1 : 1) * s.width;}), a;}), pJe = Y([- vJ,- R1,+ yJ,+ z1,(e, t) => {- var n = R1(e, t);+ var n = z1(e, t);if (n != null) return dJe(e, n.orientation, n.mirror);},(e, t) => t@@ -83176,10 +83189,10 @@ var W0 = (e, t) => t, G0 = (e, t, n) => n, oJe = Y(mJ, W0, G0, (e, t, n) => e.fi};}}), mJe = Y([- vJ,- V1,+ yJ,+ H1,(e, t) => {- var n = V1(e, t);+ var n = H1(e, t);if (n != null) return fJe(e, n.orientation, n.mirror);},(e, t) => t@@ -83194,38 +83207,38 @@ var W0 = (e, t) => t, G0 = (e, t, n) => n, oJe = Y(mJ, W0, G0, (e, t, n) => e.fiy: e.top};}-}), J0 = Y(vJ, V1, (e, t) => ({+}), Y0 = Y(yJ, H1, (e, t) => ({width: typeof t.width == "number" ? t.width : 60,height: e.height-})), Y0 = (e, t, n) => {+})), X0 = (e, t, n) => {switch (t) {- case "xAxis": return q0(e, n).width;- case "yAxis": return J0(e, n).height;+ case "xAxis": return J0(e, n).width;+ case "yAxis": return Y0(e, n).height;default: return;}-}, X0 = (e, t, n, r) => {+}, Z0 = (e, t, n, r) => {if (n != null) {- var i = n.allowDuplicatedCategory, a = n.type, o = n.dataKey, s = Qq(e, r), c = t.map((e) => e.value), l = c.filter((e) => e != null);- if (o && s && a === "category" && i && xU(l)) return c;+ var i = n.allowDuplicatedCategory, a = n.type, o = n.dataKey, s = $q(e, r), c = t.map((e) => e.value), l = c.filter((e) => e != null);+ if (o && s && a === "category" && i && SU(l)) return c;}-}, Z0 = Y([- zJ,- i0,- U1,- sZ-], X0), Q0 = Y([- zJ,+}, Q0 = Y([+ BJ,+ a0,+ W1,+ cZ+], Z0), $0 = Y([+ BJ,jqe,- A0,+ j0,+ U0,+ Q0,H0,- Z0,- V0,- L0,- M0,- sZ+ R0,+ N0,+ cZ], (e, t, n, r, i, a, o, s, c) => {if (t != null) {- var l = Qq(e, c);+ var l = $q(e, c);return {angle: t.angle,interval: t.interval,@@ -83247,107 +83260,107 @@ var W0 = (e, t) => t, G0 = (e, t, n) => n, oJe = Y(mJ, W0, G0, (e, t, n) => e.fiscale: r};}-}), $0 = (e, t, n, r, i, a, o, s, c) => {+}), e2 = (e, t, n, r, i, a, o, s, c) => {if (t != null && r != null) {- var l = Qq(e, c), u = t.type, d = t.ticks, f = t.tickCount, p = n === "scaleBand" && typeof r.bandwidth == "function" ? r.bandwidth() / 2 : 2, m = u === "category" && r.bandwidth ? r.bandwidth() / p : 0;- m = c === "angleAxis" && a != null && a.length >= 2 ? mU(a[0] - a[1]) * 2 * m : m;+ var l = $q(e, c), u = t.type, d = t.ticks, f = t.tickCount, p = n === "scaleBand" && typeof r.bandwidth == "function" ? r.bandwidth() / 2 : 2, m = u === "category" && r.bandwidth ? r.bandwidth() / p : 0;+ m = c === "angleAxis" && a != null && a.length >= 2 ? hU(a[0] - a[1]) * 2 * m : m;var h = d || i;return h ? h.map((e, t) => {var n = o ? o.indexOf(e) : e, i = r.map(n);- return qq(i) ? {+ return Jq(i) ? {index: t,coordinate: i + m,value: e,offset: m} : null;- }).filter(EU) : l && s ? s.map((e, t) => {+ }).filter(DU) : l && s ? s.map((e, t) => {var n = r.map(e);- return qq(n) ? {+ return Jq(n) ? {coordinate: n + m,value: e,index: t,offset: m} : null;- }).filter(EU) : r.ticks ? r.ticks(f).map((e, t) => {+ }).filter(DU) : r.ticks ? r.ticks(f).map((e, t) => {var n = r.map(e);- return qq(n) ? {+ return Jq(n) ? {coordinate: n + m,value: e,index: t,offset: m} : null;- }).filter(EU) : r.domain().map((e, t) => {+ }).filter(DU) : r.domain().map((e, t) => {var n = r.map(e);- return qq(n) ? {+ return Jq(n) ? {coordinate: n + m,value: o ? o[e] : e,index: t,offset: m} : null;- }).filter(EU);+ }).filter(DU);}-}, e2 = Y([- zJ,- W1,- A0,+}, t2 = Y([+ BJ,+ G1,+ j0,+ U0,+ N0,+ R0,+ Q0,H0,- M0,- L0,- Z0,- V0,- sZ-], $0), t2 = (e, t, n, r, i, a, o) => {+ cZ+], e2), n2 = (e, t, n, r, i, a, o) => {if (t != null && n != null && r != null && r[0] !== r[1]) {- var s = Qq(e, o), c = t.tickCount, l = 0;- return l = o === "angleAxis" && r?.length >= 2 ? mU(r[0] - r[1]) * 2 * l : l, s && a ? a.map((e, t) => {+ var s = $q(e, o), c = t.tickCount, l = 0;+ return l = o === "angleAxis" && r?.length >= 2 ? hU(r[0] - r[1]) * 2 * l : l, s && a ? a.map((e, t) => {var r = n.map(e);- return qq(r) ? {+ return Jq(r) ? {coordinate: r + l,value: e,index: t,offset: l} : null;- }).filter(EU) : n.ticks ? n.ticks(c).map((e, t) => {+ }).filter(DU) : n.ticks ? n.ticks(c).map((e, t) => {var r = n.map(e);- return qq(r) ? {+ return Jq(r) ? {coordinate: r + l,value: e,index: t,offset: l} : null;- }).filter(EU) : n.domain().map((e, t) => {+ }).filter(DU) : n.domain().map((e, t) => {var r = n.map(e);- return qq(r) ? {+ return Jq(r) ? {coordinate: r + l,value: i ? i[e] : e,index: t,offset: l} : null;- }).filter(EU);+ }).filter(DU);}-}, n2 = Y([- zJ,- W1,+}, r2 = Y([+ BJ,+ G1,+ U0,+ R0,+ Q0,H0,- L0,- Z0,- V0,- sZ-], t2), r2 = Y(U1, H0, (e, t) => {- if (e != null && t != null) return M1(M1({}, e), {}, { scale: t });+ cZ+], n2), i2 = Y(W1, U0, (e, t) => {+ if (e != null && t != null) return N1(N1({}, e), {}, { scale: t });});-Y((e, t, n) => H1(e, n), Y([Y([- U1,+Y((e, t, n) => U1(e, n), Y([Y([+ W1,+ j0,A0,- k0,- R0-], O1)], gZ), (e, t) => {- if (e != null && t != null) return M1(M1({}, e), {}, { scale: t });+ z0+], k1)], _Z), (e, t) => {+ if (e != null && t != null) return N1(N1({}, e), {}, { scale: t });});var hJe = Y([- zJ,- mJ,- hJ+ BJ,+ hJ,+ gJ], (e, t, n) => {switch (e) {case "horizontal": return t.some((e) => e.reversed) ? "right-to-left" : "left-to-right";@@ -83369,41 +83382,41 @@ Y([(e, t, n) => e.renderedTicks[t]?.[n]], (e) => {});//#endregion//#region node_modules/recharts/es6/state/selectors/selectTooltipEventType.js-var i2 = (e) => e.options.defaultTooltipEventType, a2 = (e) => e.options.validateTooltipEventTypes;-function o2(e, t, n) {+var a2 = (e) => e.options.defaultTooltipEventType, o2 = (e) => e.options.validateTooltipEventTypes;+function s2(e, t, n) {if (e == null) return t;var r = e ? "axis" : "item";return n == null ? t : n.includes(r) ? r : t;}-function s2(e, t) {- return o2(t, i2(e), a2(e));+function c2(e, t) {+ return s2(t, a2(e), o2(e));}function gJe(e) {- return J((t) => s2(t, e));+ return J((t) => c2(t, e));}//#endregion//#region node_modules/recharts/es6/state/selectors/combiners/combineActiveLabel.js-var c2 = (e, t) => {+var l2 = (e, t) => {var n, r = Number(t);- if (!(hU(r) || t == null)) return r >= 0 ? e == null || (n = e[r]) == null ? void 0 : n.value : void 0;-}, _Je = (e) => e.tooltip.settings, l2 = {+ if (!(gU(r) || t == null)) return r >= 0 ? e == null || (n = e[r]) == null ? void 0 : n.value : void 0;+}, _Je = (e) => e.tooltip.settings, u2 = {active: !1,index: null,dataKey: void 0,graphicalItemId: void 0,coordinate: void 0-}, u2 = _q({+}, d2 = vq({name: "tooltip",initialState: {itemInteraction: {- click: l2,- hover: l2+ click: u2,+ hover: u2},axisInteraction: {- click: l2,- hover: l2+ click: u2,+ hover: u2},- keyboardInteraction: l2,+ keyboardInteraction: u2,syncInteraction: {active: !1,index: null,@@ -83425,23 +83438,23 @@ var c2 = (e, t) => {reducers: {addTooltipEntrySettings: {reducer(e, t) {- e.tooltipItemPayloads.push(oq(t.payload));+ e.tooltipItemPayloads.push(sq(t.payload));},- prepare: pq()+ prepare: mq()},replaceTooltipEntrySettings: {reducer(e, t) {- var n = t.payload, r = n.prev, i = n.next, a = rq(e).tooltipItemPayloads.indexOf(oq(r));- a > -1 && (e.tooltipItemPayloads[a] = oq(i));+ var n = t.payload, r = n.prev, i = n.next, a = iq(e).tooltipItemPayloads.indexOf(sq(r));+ a > -1 && (e.tooltipItemPayloads[a] = sq(i));},- prepare: pq()+ prepare: mq()},removeTooltipEntrySettings: {reducer(e, t) {- var n = rq(e).tooltipItemPayloads.indexOf(oq(t.payload));+ var n = iq(e).tooltipItemPayloads.indexOf(sq(t.payload));n > -1 && e.tooltipItemPayloads.splice(n, 1);},- prepare: pq()+ prepare: mq()},setTooltipSettingsState(e, t) {e.settings = t.payload;@@ -83471,10 +83484,10 @@ var c2 = (e, t) => {e.keyboardInteraction.active = t.payload.active, e.keyboardInteraction.index = t.payload.activeIndex, e.keyboardInteraction.coordinate = t.payload.activeCoordinate;}}-}), d2 = u2.actions, vJe = d2.addTooltipEntrySettings, yJe = d2.replaceTooltipEntrySettings, bJe = d2.removeTooltipEntrySettings, xJe = d2.setTooltipSettingsState, f2 = d2.setActiveMouseOverItemIndex, SJe = d2.mouseLeaveItem, p2 = d2.mouseLeaveChart, CJe = d2.setActiveClickItemIndex, m2 = d2.setMouseOverAxisIndex, wJe = d2.setMouseClickAxisIndex, h2 = d2.setSyncInteraction, g2 = d2.setKeyboardInteraction, TJe = u2.reducer;+}), f2 = d2.actions, vJe = f2.addTooltipEntrySettings, yJe = f2.replaceTooltipEntrySettings, bJe = f2.removeTooltipEntrySettings, xJe = f2.setTooltipSettingsState, p2 = f2.setActiveMouseOverItemIndex, SJe = f2.mouseLeaveItem, m2 = f2.mouseLeaveChart, CJe = f2.setActiveClickItemIndex, h2 = f2.setMouseOverAxisIndex, wJe = f2.setMouseClickAxisIndex, g2 = f2.setSyncInteraction, _2 = f2.setKeyboardInteraction, TJe = d2.reducer;//#endregion//#region node_modules/recharts/es6/state/selectors/combiners/combineTooltipInteractionState.js-function _2(e, t) {+function v2(e, t) {var n = Object.keys(e);if (Object.getOwnPropertySymbols) {var r = Object.getOwnPropertySymbols(e);@@ -83484,12 +83497,12 @@ function _2(e, t) {}return n;}-function v2(e) {+function y2(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t] == null ? {} : arguments[t];- t % 2 ? _2(Object(n), !0).forEach(function(t) {+ t % 2 ? v2(Object(n), !0).forEach(function(t) {EJe(e, t, n[t]);- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : _2(Object(n)).forEach(function(t) {+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : v2(Object(n)).forEach(function(t) {Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));});}@@ -83523,16 +83536,16 @@ function kJe(e, t, n) {function AJe(e) {return e.index != null;}-var y2 = (e, t, n, r) => {- if (t == null) return l2;+var b2 = (e, t, n, r) => {+ if (t == null) return u2;var i = kJe(e, t, n);- if (i == null) return l2;+ if (i == null) return u2;if (i.active) return i;if (e.keyboardInteraction.active) return e.keyboardInteraction;if (e.syncInteraction.active && e.syncInteraction.index != null) return e.syncInteraction;var a = e.settings.active === !0;if (AJe(i)) {- if (a) return v2(v2({}, i), {}, { active: !0 });+ if (a) return y2(y2({}, i), {}, { active: !0 });} else if (r != null) return {active: !0,coordinate: void 0,@@ -83540,7 +83553,7 @@ var y2 = (e, t, n, r) => {index: r,graphicalItemId: void 0};- return v2(v2({}, l2), {}, { coordinate: i.coordinate });+ return y2(y2({}, u2), {}, { coordinate: i.coordinate });};//#endregion//#region node_modules/recharts/es6/state/selectors/combiners/combineActiveTooltipIndex.js@@ -83559,19 +83572,19 @@ function MJe(e, t) {}function NJe(e, t, n) {if (n == null || t == null) return !0;- var r = Zq(e, t);- return r == null || !yX(n) || MJe(r, n);+ var r = Qq(e, t);+ return r == null || !bX(n) || MJe(r, n);}-var b2 = (e, t, n, r) => {+var x2 = (e, t, n, r) => {var i = e?.index;if (i == null) return null;var a = Number(i);- if (!qq(a)) return i;+ if (!Jq(a)) return i;var o = 0, s = Infinity;t.length > 0 && (s = t.length - 1);var c = Math.max(o, Math.min(a, s)), l = t[c];return l == null || NJe(l, n, r) ? String(c) : null;-}, x2 = (e, t, n, r, i, a, o) => {+}, S2 = (e, t, n, r, i, a, o) => {if (a != null) {var s = o[0]?.getPosition(a);if (s != null) return s;@@ -83587,7 +83600,7 @@ var b2 = (e, t, n, r) => {};}}-}, S2 = (e, t, n, r) => {+}, C2 = (e, t, n, r) => {if (t === "axis") return e.tooltipItemPayloads;if (e.tooltipItemPayloads.length === 0) return [];var i = n === "hover" ? e.itemInteraction.hover.graphicalItemId : e.itemInteraction.click.graphicalItemId;@@ -83597,10 +83610,10 @@ var b2 = (e, t, n, r) => {return a == null ? [] : [a];}return e.tooltipItemPayloads.filter((e) => e.settings?.graphicalItemId === i);-}, C2 = (e) => e.options.tooltipPayloadSearcher, w2 = (e) => e.tooltip;+}, w2 = (e) => e.options.tooltipPayloadSearcher, T2 = (e) => e.tooltip;//#endregion//#region node_modules/recharts/es6/state/selectors/combiners/combineTooltipPayload.js-function T2(e, t) {+function E2(e, t) {var n = Object.keys(e);if (Object.getOwnPropertySymbols) {var r = Object.getOwnPropertySymbols(e);@@ -83610,12 +83623,12 @@ function T2(e, t) {}return n;}-function E2(e) {+function D2(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t] == null ? {} : arguments[t];- t % 2 ? T2(Object(n), !0).forEach(function(t) {+ t % 2 ? E2(Object(n), !0).forEach(function(t) {PJe(e, t, n[t]);- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : T2(Object(n)).forEach(function(t) {+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : E2(Object(n)).forEach(function(t) {Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));});}@@ -83653,7 +83666,7 @@ function zJe(e) {if (typeof e == "string" || typeof e == "number") return e;if (typeof e == "function") return (t) => e(t);}-function D2(e) {+function O2(e) {if (typeof e == "string") return e;}function BJe(e) {@@ -83662,207 +83675,207 @@ function BJe(e) {unit: "unit" in e ? RJe(e.unit) : void 0,dataKey: "dataKey" in e ? zJe(e.dataKey) : void 0,payload: "payload" in e ? e.payload : void 0,- color: "color" in e ? D2(e.color) : void 0,- fill: "fill" in e ? D2(e.fill) : void 0+ color: "color" in e ? O2(e.color) : void 0,+ fill: "fill" in e ? O2(e.fill) : void 0};}function VJe(e, t) {return e ?? t;}-var O2 = (e, t, n, r, i, a, o) => {+var k2 = (e, t, n, r, i, a, o) => {if (t != null && a != null) {var s = n.chartData, c = n.computedData, l = n.dataStartIndex, u = n.dataEndIndex;return e.reduce((e, n) => {- var d = n.dataDefinedOnItem, f = n.settings, p = VJe(d, s), m = Array.isArray(p) ? Kq(p, l, u) : p, h = f?.dataKey ?? r, g = f?.nameKey, _;- return r && Array.isArray(m) && !Array.isArray(m[0]) && o === "axis" ? (_ = CU(m, r, i), _ ??= a(m, t, c, g)) : _ = a(m, t, c, g), Array.isArray(_) ? _.forEach((t) => {- var n = BJe(t), r = n?.name, i = n?.dataKey, a = n?.payload, o = E2(E2({}, f), {}, {+ var d = n.dataDefinedOnItem, f = n.settings, p = VJe(d, s), m = Array.isArray(p) ? qq(p, l, u) : p, h = f?.dataKey ?? r, g = f?.nameKey, _;+ return r && Array.isArray(m) && !Array.isArray(m[0]) && o === "axis" ? (_ = wU(m, r, i), _ ??= a(m, t, c, g)) : _ = a(m, t, c, g), Array.isArray(_) ? _.forEach((t) => {+ var n = BJe(t), r = n?.name, i = n?.dataKey, a = n?.payload, o = D2(D2({}, f), {}, {name: r,unit: n?.unit,color: n?.color ?? f?.color,fill: n?.fill ?? f?.fill});- e.push(lJ({+ e.push(uJ({tooltipEntrySettings: o,dataKey: i,payload: a,- value: Zq(a, i),+ value: Qq(a, i),name: r == null ? void 0 : String(r)}));- }) : e.push(lJ({+ }) : e.push(uJ({tooltipEntrySettings: f,dataKey: h,payload: _,- value: Zq(_, h),- name: Zq(_, g) ?? f?.name+ value: Qq(_, h),+ name: Qq(_, g) ?? f?.name})), e;}, []);}-}, k2 = Y([- l0,- G1,- zX-], k1), A2 = Y([+}, A2 = Y([+ u0,+ K1,+ BX+], A1), j2 = Y([Y([(e) => e.graphicalItems.cartesianItems, (e) => e.graphicalItems.polarItems], (e, t) => [...e, ...t]),- l0,- Y([mZ, hZ], K1)-], J1, { memoizeOptions: { resultEqualityCheck: pZ } }), HJe = Y([A2], (e) => e.filter(dZ)), j2 = Y([A2], Q1, { memoizeOptions: { resultEqualityCheck: pZ } }), UJe = Y([A2], (e) => e.some((e) => !e.data)), M2 = Y([j2, pX], e0), WJe = Y([+ u0,+ Y([hZ, gZ], q1)+], Y1, { memoizeOptions: { resultEqualityCheck: mZ } }), HJe = Y([j2], (e) => e.filter(fZ)), M2 = Y([j2], $1, { memoizeOptions: { resultEqualityCheck: mZ } }), UJe = Y([j2], (e) => e.some((e) => !e.data)), N2 = Y([M2, mX], t0), WJe = Y([HJe,- pX,- l0-], uZ), N2 = Y([- M2,- l0,- A2,- pX,+ mX,+ u0+], dZ), P2 = Y([+ N2,+ u0,+ j2,+ mX,UJe,- j2-], r0), P2 = Y([l0], m0), F2 = Y([P2, Y([l0], (e) => e.allowDataOverflow)], xX), GJe = Y([+ M2+], i0), F2 = Y([u0], h0), I2 = Y([F2, Y([u0], (e) => e.allowDataOverflow)], SX), GJe = Y([Y([WJe,- Y([A2], (e) => e.filter(dZ)),- LX,- RX- ], d0),- pX,- mZ,- F2-], p0), KJe = Y([- M2,- l0,- Y([A2], Z1),- _0,- mZ,+ Y([j2], (e) => e.filter(fZ)),+ RX,+ zX+ ], f0),+ mX,+ hZ,+ I2+], m0), KJe = Y([+ N2,+ u0,+ Y([j2], Q1),+ v0,+ hZ,MWe-], y0, { memoizeOptions: { resultEqualityCheck: fZ } }), qJe = Y([Y([- b0,- mZ,- hZ-], x0), mZ], w0), JJe = Y([Y([- S0,- mZ,- hZ-], x0), mZ], T0), I2 = Y([- l0,- zJ,- M2,+], b0, { memoizeOptions: { resultEqualityCheck: pZ } }), qJe = Y([Y([+ x0,+ hZ,+ gZ+], S0), hZ], T0), JJe = Y([Y([+ C0,+ hZ,+ gZ+], S0), hZ], E0), L2 = Y([+ u0,+ BJ,N2,- LX,- mZ,+ P2,+ RX,+ hZ,Y([- l0,- P2,+ u0,F2,+ I2,GJe,KJe,Y([qJe,Y([Y([- C0,- mZ,- hZ- ], x0), mZ], E0),+ w0,+ hZ,+ gZ+ ], S0), hZ], D0),JJe- ], v0),- zJ,- mZ- ], D0)-], O0), YJe = Y([- l0,- I2,+ ], y0),+ BJ,+ hZ+ ], O0)+], k0), YJe = Y([+ u0,+ L2,Y([- I2,- l0,- k2- ], j0),- mZ-], N0), L2 = (e) => L0(e, mZ(e), hZ(e), !1), R2 = Y([l0, L2], KX), z2 = Y([Y([- l0,- k2,+ L2,+ u0,+ A2+ ], M0),+ hZ+], P0), R2 = (e) => R0(e, hZ(e), gZ(e), !1), z2 = Y([u0, R2], qX), B2 = Y([Y([+ u0,+ A2,YJe,- R2-], O1)], gZ), B2 = Y([- zJ,- l0,- k2,- z2,- L2,+ z2+], k1)], _Z), V2 = Y([+ BJ,+ u0,+ A2,+ B2,+ R2,Y([- zJ,- N2,- l0,- mZ- ], X0),+ BJ,+ P2,+ u0,+ hZ+ ], Z0),Y([- zJ,- N2,- l0,- mZ- ], B0),- mZ+ BJ,+ P2,+ u0,+ hZ+ ], V0),+ hZ], (e, t, n, r, i, a, o, s) => {if (t) {- var c = t.type, l = Qq(e, s);+ var c = t.type, l = $q(e, s);if (r) {var u = n === "scaleBand" && r.bandwidth ? r.bandwidth() / 2 : 2, d = c === "category" && r.bandwidth ? r.bandwidth() / u : 0;- return d = s === "angleAxis" && i != null && i?.length >= 2 ? mU(i[0] - i[1]) * 2 * d : d, l && o ? o.map((e, t) => {+ return d = s === "angleAxis" && i != null && i?.length >= 2 ? hU(i[0] - i[1]) * 2 * d : d, l && o ? o.map((e, t) => {var n = r.map(e);- return qq(n) ? {+ return Jq(n) ? {coordinate: n + d,value: e,index: t,offset: d} : null;- }).filter(EU) : r.domain().map((e, t) => {+ }).filter(DU) : r.domain().map((e, t) => {var n = r.map(e);- return qq(n) ? {+ return Jq(n) ? {coordinate: n + d,value: a ? a[e] : e,index: t,offset: d} : null;- }).filter(EU);+ }).filter(DU);}}-}), V2 = Y([- i2,+}), H2 = Y([a2,+ o2,_Je-], (e, t, n) => o2(n.shared, e, t)), H2 = (e) => e.tooltip.settings.trigger, U2 = (e) => e.tooltip.settings.defaultIndex, W2 = Y([- w2,- V2,+], (e, t, n) => s2(n.shared, e, t)), U2 = (e) => e.tooltip.settings.trigger, W2 = (e) => e.tooltip.settings.defaultIndex, G2 = Y([+ T2,H2,- U2-], y2), G2 = Y([- W2,- M2,- u0,- I2-], b2), K2 = Y([B2, G2], c2), q2 = Y([W2], (e) => {+ U2,+ W2+], b2), K2 = Y([+ G2,+ N2,+ d0,+ L2+], x2), q2 = Y([V2, K2], l2), J2 = Y([G2], (e) => {if (e) return e.dataKey;-}), XJe = Y([W2], (e) => {+}), XJe = Y([G2], (e) => {if (e) return e.graphicalItemId;-}), J2 = Y([- w2,- V2,+}), Y2 = Y([+ T2,H2,- U2-], S2), ZJe = Y([W2, Y([- dJ,- fJ,- zJ,- vJ,- B2,U2,- J2-], x2)], (e, t) => e != null && e.coordinate ? e.coordinate : t), QJe = Y([W2], (e) => e?.active ?? !1), $Je = Y([Y([- J2,- G2,- pX,- u0,+ W2+], C2), ZJe = Y([G2, Y([+ fJ,+ pJ,+ BJ,+ yJ,+ V2,+ W2,+ Y2+], S2)], (e, t) => e != null && e.coordinate ? e.coordinate : t), QJe = Y([G2], (e) => e?.active ?? !1), $Je = Y([Y([+ Y2,K2,- C2,- V2-], O2)], (e) => {+ mX,+ d0,+ q2,+ w2,+ H2+], k2)], (e) => {if (e != null) {var t = e.map((e) => e.payload).filter((e) => e != null);return Array.from(new Set(t));@@ -83870,7 +83883,7 @@ var O2 = (e, t, n, r, i, a, o) => {});//#endregion//#region node_modules/recharts/es6/context/useTooltipAxis.js-function Y2(e, t) {+function X2(e, t) {var n = Object.keys(e);if (Object.getOwnPropertySymbols) {var r = Object.getOwnPropertySymbols(e);@@ -83880,30 +83893,30 @@ function Y2(e, t) {}return n;}-function X2(e) {+function eYe(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t] == null ? {} : arguments[t];- t % 2 ? Y2(Object(n), !0).forEach(function(t) {- eYe(e, t, n[t]);- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Y2(Object(n)).forEach(function(t) {+ t % 2 ? X2(Object(n), !0).forEach(function(t) {+ tYe(e, t, n[t]);+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : X2(Object(n)).forEach(function(t) {Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));});}return e;}-function eYe(e, t, n) {- return (t = tYe(t)) in e ? Object.defineProperty(e, t, {+function tYe(e, t, n) {+ return (t = nYe(t)) in e ? Object.defineProperty(e, t, {value: n,enumerable: !0,configurable: !0,writable: !0}) : e[t] = n, e;}-function tYe(e) {- var t = nYe(e, "string");+function nYe(e) {+ var t = rYe(e, "string");return typeof t == "symbol" ? t : t + "";}-function nYe(e, t) {+function rYe(e, t) {if (typeof e != "object" || !e) return e;var n = e[Symbol.toPrimitive];if (n !== void 0) {@@ -83913,13 +83926,13 @@ function nYe(e, t) {}return (t === "string" ? String : Number)(e);}-var rYe = () => J(l0), iYe = () => {- var e = rYe(), t = J(B2), n = J(z2);- return cJ(!e || !n ? void 0 : X2(X2({}, e), {}, { scale: n }), t);+var iYe = () => J(u0), aYe = () => {+ var e = iYe(), t = J(V2), n = J(B2);+ return lJ(!e || !n ? void 0 : eYe(eYe({}, e), {}, { scale: n }), t);};//#endregion//#region node_modules/recharts/es6/util/getActiveCoordinate.js-function aYe(e, t) {+function oYe(e, t) {var n = Object.keys(e);if (Object.getOwnPropertySymbols) {var r = Object.getOwnPropertySymbols(e);@@ -83932,27 +83945,27 @@ function aYe(e, t) {function Z2(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t] == null ? {} : arguments[t];- t % 2 ? aYe(Object(n), !0).forEach(function(t) {- oYe(e, t, n[t]);- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : aYe(Object(n)).forEach(function(t) {+ t % 2 ? oYe(Object(n), !0).forEach(function(t) {+ sYe(e, t, n[t]);+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : oYe(Object(n)).forEach(function(t) {Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));});}return e;}-function oYe(e, t, n) {- return (t = sYe(t)) in e ? Object.defineProperty(e, t, {+function sYe(e, t, n) {+ return (t = cYe(t)) in e ? Object.defineProperty(e, t, {value: n,enumerable: !0,configurable: !0,writable: !0}) : e[t] = n, e;}-function sYe(e) {- var t = cYe(e, "string");+function cYe(e) {+ var t = lYe(e, "string");return typeof t == "symbol" ? t : t + "";}-function cYe(e, t) {+function lYe(e, t) {if (typeof e != "object" || !e) return e;var n = e[Symbol.toPrimitive];if (n !== void 0) {@@ -83962,7 +83975,7 @@ function cYe(e, t) {}return (t === "string" ? String : Number)(e);}-var lYe = (e, t, n, r) => {+var uYe = (e, t, n, r) => {var i = t.find((e) => e && e.index === n);if (i) {if (e === "horizontal") return {@@ -83978,18 +83991,18 @@ var lYe = (e, t, n, r) => {x: 0,y: 0};-}, uYe = (e, t, n, r) => {+}, dYe = (e, t, n, r) => {var i = t.find((e) => e && e.index === n);if (i) {if (e === "centric") {var a = i.coordinate, o = r.radius;- return Z2(Z2(Z2({}, r), iX(r.cx, r.cy, o, a)), {}, {+ return Z2(Z2(Z2({}, r), aX(r.cx, r.cy, o, a)), {}, {angle: a,radius: o});}var s = i.coordinate, c = r.angle;- return Z2(Z2(Z2({}, r), iX(r.cx, r.cy, s, c)), {}, {+ return Z2(Z2(Z2({}, r), aX(r.cx, r.cy, s, c)), {}, {angle: c,radius: s});@@ -84008,11 +84021,11 @@ var lYe = (e, t, n, r) => {y: 0};};-function dYe(e, t) {+function fYe(e, t) {var n = e.relativeX, r = e.relativeY;return n >= t.left && n <= t.left + t.width && r >= t.top && r <= t.top + t.height;}-var fYe = (e, t, n, r, i) => {+var pYe = (e, t, n, r, i) => {var a = t?.length ?? 0;if (a <= 1 || e == null) return 0;if (r === "angleAxis" && i != null && Math.abs(Math.abs(i[1] - i[0]) - 360) <= 1e-6) for (var o = i[1] - i[0], s = (t, n, r) => [@@ -84022,9 +84035,9 @@ var fYe = (e, t, n, r, i) => {].some((e) => (r ? e >= t : e > t) && e <= n), c = 0; c < a; c++) {var l = c > 0 ? n[c - 1]?.coordinate : n[a - 1]?.coordinate, u = n[c]?.coordinate, d = c >= a - 1 ? n[0]?.coordinate : n[c + 1]?.coordinate, f = void 0;if (l != null && u != null && d != null) {- if (mU(u - l) !== mU(d - u)) {+ if (hU(u - l) !== hU(d - u)) {var p = [];- if (mU(d - u) === mU(i[1] - i[0])) {+ if (hU(d - u) === hU(i[1] - i[0])) {f = d;var m = u + i[1] - i[0];p[0] = Math.min(m, (m + l) / 2), p[1] = Math.max(m, (m + l) / 2);@@ -84049,78 +84062,78 @@ var fYe = (e, t, n, r, i) => {}}return -1;-}, pYe = () => J(zX), Q2 = (e, t) => t, mYe = (e, t, n) => n, $2 = (e, t, n, r) => r, hYe = Y(B2, (e) => IG(e, (e) => e.coordinate)), e4 = Y([- w2,+}, mYe = () => J(BX), Q2 = (e, t) => t, hYe = (e, t, n) => n, $2 = (e, t, n, r) => r, gYe = Y(V2, (e) => LG(e, (e) => e.coordinate)), e4 = Y([+ T2,Q2,- mYe,+ hYe,$2-], y2), t4 = Y([+], b2), t4 = Y([e4,- M2,- u0,- I2-], b2), gYe = (e, t, n) => {+ N2,+ d0,+ L2+], x2), _Ye = (e, t, n) => {if (t != null) {- var r = w2(e);+ var r = T2(e);return t === "axis" ? n === "hover" ? r.axisInteraction.hover.dataKey : r.axisInteraction.click.dataKey : n === "hover" ? r.itemInteraction.hover.dataKey : r.itemInteraction.click.dataKey;}-}, _Ye = Y([- w2,+}, vYe = Y([+ T2,Q2,- mYe,+ hYe,$2-], S2), n4 = Y([- dJ,+], C2), n4 = Y([fJ,- zJ,- vJ,- B2,+ pJ,+ BJ,+ yJ,+ V2,$2,- _Ye-], x2), vYe = Y([e4, n4], (e, t) => e.coordinate ?? t), yYe = Y([B2, t4], c2), bYe = Y([- _Ye,+ vYe+], S2), yYe = Y([e4, n4], (e, t) => e.coordinate ?? t), bYe = Y([V2, t4], l2), xYe = Y([+ vYe,t4,- pX,- u0,- yYe,- C2,+ mX,+ d0,+ bYe,+ w2,Q2-], O2), xYe = Y([e4, t4], (e, t) => ({+], k2), SYe = Y([e4, t4], (e, t) => ({isActive: e.active && t != null,activeIndex: t-})), SYe = (e, t, n, r, i, a, o) => {- if (e && n && r && i && dYe(e, o)) {- var s = fYe(tVe(e, t), a, i, n, r), c = lYe(t, i, s, e);+})), CYe = (e, t, n, r, i, a, o) => {+ if (e && n && r && i && fYe(e, o)) {+ var s = pYe(tVe(e, t), a, i, n, r), c = uYe(t, i, s, e);return {activeIndex: String(s),activeCoordinate: c};}-}, CYe = (e, t, n, r, i, a, o) => {+}, wYe = (e, t, n, r, i, a, o) => {if (e && r && i && a && n) {var s = _We(e, n);if (s) {- var c = fYe(nVe(s, t), o, a, r, i), l = uYe(t, a, c, s);+ var c = pYe(nVe(s, t), o, a, r, i), l = dYe(t, a, c, s);return {activeIndex: String(c),activeCoordinate: l};}}-}, wYe = (e, t, n, r, i, a, o, s) => {- if (e && t && r && i && a) return t === "horizontal" || t === "vertical" ? SYe(e, t, r, i, a, o, s) : CYe(e, t, n, r, i, a, o);-}, TYe = Y((e) => e.zIndex.zIndexMap, (e, t) => t, (e, t, n) => n, (e, t, n) => {+}, TYe = (e, t, n, r, i, a, o, s) => {+ if (e && t && r && i && a) return t === "horizontal" || t === "vertical" ? CYe(e, t, r, i, a, o, s) : wYe(e, t, n, r, i, a, o);+}, EYe = Y((e) => e.zIndex.zIndexMap, (e, t) => t, (e, t, n) => n, (e, t, n) => {if (t != null) {var r = e[t];if (r != null) return n ? r.panoramaElement : r.element;}-}), EYe = Y((e) => e.zIndex.zIndexMap, (e) => {- var t = Object.keys(e).map((e) => parseInt(e, 10)).concat(Object.values(UX));+}), DYe = Y((e) => e.zIndex.zIndexMap, (e) => {+ var t = Object.keys(e).map((e) => parseInt(e, 10)).concat(Object.values(WX));return Array.from(new Set(t)).sort((e, t) => e - t);}, { memoizeOptions: { resultEqualityCheck: YWe } });//#endregion//#region node_modules/recharts/es6/state/zIndexSlice.js-function DYe(e, t) {+function OYe(e, t) {var n = Object.keys(e);if (Object.getOwnPropertySymbols) {var r = Object.getOwnPropertySymbols(e);@@ -84130,30 +84143,30 @@ function DYe(e, t) {}return n;}-function OYe(e) {+function kYe(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t] == null ? {} : arguments[t];- t % 2 ? DYe(Object(n), !0).forEach(function(t) {- kYe(e, t, n[t]);- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : DYe(Object(n)).forEach(function(t) {+ t % 2 ? OYe(Object(n), !0).forEach(function(t) {+ AYe(e, t, n[t]);+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : OYe(Object(n)).forEach(function(t) {Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));});}return e;}-function kYe(e, t, n) {- return (t = AYe(t)) in e ? Object.defineProperty(e, t, {+function AYe(e, t, n) {+ return (t = jYe(t)) in e ? Object.defineProperty(e, t, {value: n,enumerable: !0,configurable: !0,writable: !0}) : e[t] = n, e;}-function AYe(e) {- var t = jYe(e, "string");+function jYe(e) {+ var t = MYe(e, "string");return typeof t == "symbol" ? t : t + "";}-function jYe(e, t) {+function MYe(e, t) {if (typeof e != "object" || !e) return e;var n = e[Symbol.toPrimitive];if (n !== void 0) {@@ -84163,17 +84176,17 @@ function jYe(e, t) {}return (t === "string" ? String : Number)(e);}-var MYe = { zIndexMap: Object.values(UX).reduce((e, t) => OYe(OYe({}, e), {}, { [t]: {+var NYe = { zIndexMap: Object.values(WX).reduce((e, t) => kYe(kYe({}, e), {}, { [t]: {element: void 0,panoramaElement: void 0,consumers: 0-} }), {}) }, NYe = new Set(Object.values(UX));-function PYe(e) {- return NYe.has(e);+} }), {}) }, PYe = new Set(Object.values(WX));+function FYe(e) {+ return PYe.has(e);}-var FYe = _q({+var IYe = vq({name: "zIndex",- initialState: MYe,+ initialState: NYe,reducers: {registerZIndexPortal: {reducer: (e, t) => {@@ -84184,46 +84197,46 @@ var FYe = _q({panoramaElement: void 0};},- prepare: pq()+ prepare: mq()},unregisterZIndexPortal: {reducer: (e, t) => {var n = t.payload.zIndex;- e.zIndexMap[n] && (--e.zIndexMap[n].consumers, e.zIndexMap[n].consumers <= 0 && !PYe(n) && delete e.zIndexMap[n]);+ e.zIndexMap[n] && (--e.zIndexMap[n].consumers, e.zIndexMap[n].consumers <= 0 && !FYe(n) && delete e.zIndexMap[n]);},- prepare: pq()+ prepare: mq()},registerZIndexPortalElement: {reducer: (e, t) => {var n = t.payload, r = n.zIndex, i = n.element, a = n.isPanorama;- e.zIndexMap[r] ? a ? e.zIndexMap[r].panoramaElement = oq(i) : e.zIndexMap[r].element = oq(i) : e.zIndexMap[r] = {+ e.zIndexMap[r] ? a ? e.zIndexMap[r].panoramaElement = sq(i) : e.zIndexMap[r].element = sq(i) : e.zIndexMap[r] = {consumers: 0,- element: a ? void 0 : oq(i),- panoramaElement: a ? oq(i) : void 0+ element: a ? void 0 : sq(i),+ panoramaElement: a ? sq(i) : void 0};},- prepare: pq()+ prepare: mq()},unregisterZIndexPortalElement: {reducer: (e, t) => {var n = t.payload.zIndex;e.zIndexMap[n] && (t.payload.isPanorama ? e.zIndexMap[n].panoramaElement = void 0 : e.zIndexMap[n].element = void 0);},- prepare: pq()+ prepare: mq()}}-}), r4 = FYe.actions, IYe = r4.registerZIndexPortal, i4 = r4.unregisterZIndexPortal, LYe = r4.registerZIndexPortalElement, RYe = r4.unregisterZIndexPortalElement, zYe = FYe.reducer;+}), r4 = IYe.actions, LYe = r4.registerZIndexPortal, i4 = r4.unregisterZIndexPortal, RYe = r4.registerZIndexPortalElement, zYe = r4.unregisterZIndexPortalElement, BYe = IYe.reducer;//#endregion//#region node_modules/recharts/es6/zIndex/ZIndexLayer.jsfunction a4(e) {- var t = e.zIndex, n = e.children, r = RVe() && t !== void 0 && t !== 0, i = xJ(), a = (0, b.useRef)(void 0), o = (0, b.useRef)(/* @__PURE__ */ new Set()), s = DG(), c = J((e) => TYe(e, t, i));+ var t = e.zIndex, n = e.children, r = RVe() && t !== void 0 && t !== 0, i = SJ(), a = (0, b.useRef)(void 0), o = (0, b.useRef)(/* @__PURE__ */ new Set()), s = OG(), c = J((e) => EYe(e, t, i));if ((0, b.useLayoutEffect)(() => {if (!r) {var e = o.current;e.forEach((e) => {s(i4({ zIndex: e }));}), e.clear(), a.current = void 0;- } else if (o.current.has(t) || (s(IYe({ zIndex: t })), o.current.add(t)), c) {+ } else if (o.current.has(t) || (s(LYe({ zIndex: t })), o.current.add(t)), c) {a.current = c;var n = o.current;n.forEach((e) => {@@ -84257,7 +84270,7 @@ function o4() {return e;}, o4.apply(null, arguments);}-function BYe(e, t) {+function VYe(e, t) {var n = Object.keys(e);if (Object.getOwnPropertySymbols) {var r = Object.getOwnPropertySymbols(e);@@ -84270,27 +84283,27 @@ function BYe(e, t) {function s4(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t] == null ? {} : arguments[t];- t % 2 ? BYe(Object(n), !0).forEach(function(t) {- VYe(e, t, n[t]);- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : BYe(Object(n)).forEach(function(t) {+ t % 2 ? VYe(Object(n), !0).forEach(function(t) {+ HYe(e, t, n[t]);+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : VYe(Object(n)).forEach(function(t) {Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));});}return e;}-function VYe(e, t, n) {- return (t = HYe(t)) in e ? Object.defineProperty(e, t, {+function HYe(e, t, n) {+ return (t = UYe(t)) in e ? Object.defineProperty(e, t, {value: n,enumerable: !0,configurable: !0,writable: !0}) : e[t] = n, e;}-function HYe(e) {- var t = UYe(e, "string");+function UYe(e) {+ var t = WYe(e, "string");return typeof t == "symbol" ? t : t + "";}-function UYe(e, t) {+function WYe(e, t) {if (typeof e != "object" || !e) return e;var n = e[Symbol.toPrimitive];if (n !== void 0) {@@ -84300,18 +84313,18 @@ function UYe(e, t) {}return (t === "string" ? String : Number)(e);}-function WYe(e) {+function GYe(e) {var t = e.cursor, n = e.cursorComp, r = e.cursorProps;return /*#__PURE__*/ (0, b.isValidElement)(t) ? /*#__PURE__*/ (0, b.cloneElement)(t, r) : /*#__PURE__*/ (0, b.createElement)(n, r);}-function GYe(e) {+function KYe(e) {var t = e.coordinate, n = e.payload, r = e.index, i = e.offset, a = e.tooltipAxisBandSize, o = e.layout, s = e.cursor, c = e.tooltipEventType, l = e.chartName, u = t, d = n, f = r;if (!s || !u || l !== "ScatterChart" && c !== "axis") return null;var p, m, h;- if (l === "ScatterChart") p = u, m = _Ue, h = UX.cursorLine;- else if (l === "BarChart") p = vUe(o, u, i, a), m = $Y, h = UX.cursorRectangle;- else if (o === "radial" && AW(u)) {- var g = aX(u), _ = g.cx, v = g.cy, y = g.radius;+ if (l === "ScatterChart") p = u, m = _Ue, h = WX.cursorLine;+ else if (l === "BarChart") p = vUe(o, u, i, a), m = eX, h = WX.cursorRectangle;+ else if (o === "radial" && jW(u)) {+ var g = oX(u), _ = g.cx, v = g.cy, y = g.radius;p = {cx: _,cy: v,@@ -84319,25 +84332,25 @@ function GYe(e) {endAngle: g.endAngle,innerRadius: y,outerRadius: y- }, m = uX, h = UX.cursorLine;- } else p = { points: OWe(o, u, i) }, m = OY, h = UX.cursorLine;+ }, m = dX, h = WX.cursorLine;+ } else p = { points: OWe(o, u, i) }, m = kY, h = WX.cursorLine;var x = typeof s == "object" && "className" in s ? s.className : void 0, S = s4(s4(s4(s4({stroke: "#ccc",pointerEvents: "none"- }, i), p), $H(s)), {}, {+ }, i), p), eU(s)), {}, {payload: d,payloadIndex: f,className: hy("recharts-tooltip-cursor", x)});- return /*#__PURE__*/ b.createElement(a4, { zIndex: e.zIndex ?? h }, /*#__PURE__*/ b.createElement(WYe, {+ return /*#__PURE__*/ b.createElement(a4, { zIndex: e.zIndex ?? h }, /*#__PURE__*/ b.createElement(GYe, {cursor: s,cursorComp: m,cursorProps: S}));}-function KYe(e) {- var t = iYe(), n = IJ(), r = BJ(), i = pYe();- return t == null || n == null || r == null || i == null ? null : /*#__PURE__*/ b.createElement(GYe, o4({}, e, {+function qYe(e) {+ var t = aYe(), n = LJ(), r = VJ(), i = mYe();+ return t == null || n == null || r == null || i == null ? null : /*#__PURE__*/ b.createElement(KYe, o4({}, e, {offset: n,layout: r,tooltipAxisBandSize: t,@@ -84346,7 +84359,7 @@ function KYe(e) {}//#endregion//#region node_modules/recharts/es6/context/tooltipPortalContext.js-var qYe = /*#__PURE__*/ (0, b.createContext)(null), JYe = () => (0, b.useContext)(qYe), YYe = (/* @__PURE__ */ l((/* @__PURE__ */ o(((e, t) => {+var JYe = /*#__PURE__*/ (0, b.createContext)(null), YYe = () => (0, b.useContext)(JYe), XYe = (/* @__PURE__ */ l((/* @__PURE__ */ o(((e, t) => {var n = Object.prototype.hasOwnProperty, r = "~";function i() {}Object.create && (i.prototype = Object.create(null), new i().__proto__ || (r = !1));@@ -84433,12 +84446,12 @@ var qYe = /*#__PURE__*/ (0, b.createContext)(null), JYe = () => (0, b.useContextvar t;return e ? (t = r ? r + e : e, this._events[t] && s(this, t)) : (this._events = new i(), this._eventsCount = 0), this;}, c.prototype.off = c.prototype.removeListener, c.prototype.addListener = c.prototype.on, c.prefixed = r, c.EventEmitter = c, t !== void 0 && (t.exports = c);-})))(), 1)).default, c4 = new YYe(), l4 = "recharts.syncEvent.tooltip", XYe = "recharts.syncEvent.brush", u4 = (e, t) => {+})))(), 1)).default, c4 = new XYe(), l4 = "recharts.syncEvent.tooltip", ZYe = "recharts.syncEvent.brush", u4 = (e, t) => {if (t && Array.isArray(e)) {var n = Number.parseInt(t, 10);- if (!hU(n)) return e[n];+ if (!gU(n)) return e[n];}-}, ZYe = _q({+}, QYe = vq({name: "options",initialState: {chartName: "",@@ -84449,13 +84462,13 @@ var qYe = /*#__PURE__*/ (0, b.createContext)(null), JYe = () => (0, b.useContextreducers: { createEventEmitter: (e) => {e.eventEmitter ??= Symbol("rechartsEventEmitter");} }-}), QYe = ZYe.reducer, $Ye = ZYe.actions.createEventEmitter;+}), $Ye = QYe.reducer, eXe = QYe.actions.createEventEmitter;//#endregion//#region node_modules/recharts/es6/synchronisation/syncSelectors.js-function eXe(e) {+function tXe(e) {return e.tooltip.syncInteraction;}-var tXe = _q({+var nXe = vq({name: "chartData",initialState: {chartData: void 0,@@ -84465,7 +84478,7 @@ var tXe = _q({},reducers: {setChartData(e, t) {- e.chartData = oq(t.payload), t.payload == null ? (e.dataStartIndex = 0, e.dataEndIndex = 0) : t.payload.length > 0 && e.dataEndIndex !== t.payload.length - 1 && (e.dataEndIndex = t.payload.length - 1);+ e.chartData = sq(t.payload), t.payload == null ? (e.dataStartIndex = 0, e.dataEndIndex = 0) : t.payload.length > 0 && e.dataEndIndex !== t.payload.length - 1 && (e.dataEndIndex = t.payload.length - 1);},setComputedData(e, t) {e.computedData = t.payload;@@ -84475,10 +84488,10 @@ var tXe = _q({r != null && (e.dataStartIndex = r), i != null && (e.dataEndIndex = i);}}-}), d4 = tXe.actions, nXe = d4.setChartData, rXe = d4.setDataStartEndIndexes;+}), d4 = nXe.actions, rXe = d4.setChartData, iXe = d4.setDataStartEndIndexes;d4.setComputedData;-var iXe = tXe.reducer, aXe = ["x", "y"];-function oXe(e, t) {+var aXe = nXe.reducer, oXe = ["x", "y"];+function sXe(e, t) {var n = Object.keys(e);if (Object.getOwnPropertySymbols) {var r = Object.getOwnPropertySymbols(e);@@ -84491,27 +84504,27 @@ function oXe(e, t) {function f4(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t] == null ? {} : arguments[t];- t % 2 ? oXe(Object(n), !0).forEach(function(t) {- sXe(e, t, n[t]);- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : oXe(Object(n)).forEach(function(t) {+ t % 2 ? sXe(Object(n), !0).forEach(function(t) {+ cXe(e, t, n[t]);+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : sXe(Object(n)).forEach(function(t) {Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));});}return e;}-function sXe(e, t, n) {- return (t = cXe(t)) in e ? Object.defineProperty(e, t, {+function cXe(e, t, n) {+ return (t = lXe(t)) in e ? Object.defineProperty(e, t, {value: n,enumerable: !0,configurable: !0,writable: !0}) : e[t] = n, e;}-function cXe(e) {- var t = lXe(e, "string");+function lXe(e) {+ var t = uXe(e, "string");return typeof t == "symbol" ? t : t + "";}-function lXe(e, t) {+function uXe(e, t) {if (typeof e != "object" || !e) return e;var n = e[Symbol.toPrimitive];if (n !== void 0) {@@ -84521,16 +84534,16 @@ function lXe(e, t) {}return (t === "string" ? String : Number)(e);}-function uXe(e, t) {+function dXe(e, t) {if (e == null) return {};- var n, r, i = dXe(e, t);+ var n, r, i = fXe(e, t);if (Object.getOwnPropertySymbols) {var a = Object.getOwnPropertySymbols(e);for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);}return i;}-function dXe(e, t) {+function fXe(e, t) {if (e == null) return {};var n = {};for (var r in e) if ({}.hasOwnProperty.call(e, r)) {@@ -84539,13 +84552,13 @@ function dXe(e, t) {}return n;}-function fXe() {- var e = J(BX), t = J(HX), n = DG(), r = J(VX), i = J(B2), a = BJ(), o = FJ(), s = J((e) => e.rootProps.className);+function pXe() {+ var e = J(VX), t = J(UX), n = OG(), r = J(HX), i = J(V2), a = VJ(), o = IJ(), s = J((e) => e.rootProps.className);(0, b.useEffect)(() => {- if (e == null) return DU;+ if (e == null) return OU;var s = (s, c, l) => {if (t !== l && e === s) {- if (c.payload.active === !1) n(h2({+ if (c.payload.active === !1) n(g2({active: !1,coordinate: void 0,dataKey: void 0,@@ -84557,7 +84570,7 @@ function fXe() {else if (r === "index") {var u;if (o && c != null && (u = c.payload) != null && u.coordinate && c.payload.sourceViewBox) {- var d = c.payload.coordinate, f = d.x, p = d.y, m = uXe(d, aXe), h = c.payload.sourceViewBox, g = h.x, _ = h.y, v = h.width, y = h.height, b = f4(f4({}, m), {}, {+ var d = c.payload.coordinate, f = d.x, p = d.y, m = dXe(d, oXe), h = c.payload.sourceViewBox, g = h.x, _ = h.y, v = h.width, y = h.height, b = f4(f4({}, m), {}, {x: o.x + (v ? (f - g) / v : 0) * o.width,y: o.y + (y ? (p - _) / y : 0) * o.height});@@ -84574,7 +84587,7 @@ function fXe() {activeCoordinate: c.payload.coordinate})] : r === "value" && (x = i.find((e) => String(e.value) === c.payload.label));var S = c.payload.coordinate;- if (S == null || o == null) n(h2({+ if (S == null || o == null) n(g2({active: !1,coordinate: void 0,dataKey: void 0,@@ -84583,7 +84596,7 @@ function fXe() {sourceViewBox: void 0,graphicalItemId: void 0}));- else if (x == null) n(h2({+ else if (x == null) n(g2({active: !1,coordinate: void 0,dataKey: void 0,@@ -84597,7 +84610,7 @@ function fXe() {x: a === "horizontal" ? x.coordinate : T,y: a === "horizontal" ? E : x.coordinate};- n(h2({+ n(g2({active: c.payload.active,coordinate: D,dataKey: c.payload.dataKey,@@ -84624,15 +84637,15 @@ function fXe() {o]);}-function pXe() {- var e = J(BX), t = J(HX), n = DG();+function mXe() {+ var e = J(VX), t = J(UX), n = OG();(0, b.useEffect)(() => {- if (e == null) return DU;+ if (e == null) return OU;var r = (r, i, a) => {- t !== a && e === r && n(rXe(i));+ t !== a && e === r && n(iXe(i));};- return c4.on(XYe, r), () => {- c4.off(XYe, r);+ return c4.on(ZYe, r), () => {+ c4.off(ZYe, r);};}, [n,@@ -84640,17 +84653,17 @@ function pXe() {e]);}-function mXe() {- var e = DG();+function hXe() {+ var e = OG();(0, b.useEffect)(() => {- e($Ye());- }, [e]), fXe(), pXe();+ e(eXe());+ }, [e]), pXe(), mXe();}-function hXe(e, t, n, r, i, a) {- var o = J((n) => gYe(n, e, t)), s = J(XJe), c = J(HX), l = J(BX), u = J(VX), d = J(eXe)?.sourceViewBox != null, f = FJ();+function gXe(e, t, n, r, i, a) {+ var o = J((n) => _Ye(n, e, t)), s = J(XJe), c = J(UX), l = J(VX), u = J(HX), d = J(tXe)?.sourceViewBox != null, f = IJ();(0, b.useEffect)(() => {if (!d && l != null && c != null) {- var e = h2({+ var e = g2({active: a,coordinate: n,dataKey: o,@@ -84677,7 +84690,7 @@ function hXe(e, t, n, r, i, a) {}//#endregion//#region node_modules/recharts/es6/component/Tooltip.js-function gXe(e, t) {+function _Xe(e, t) {var n = Object.keys(e);if (Object.getOwnPropertySymbols) {var r = Object.getOwnPropertySymbols(e);@@ -84687,30 +84700,30 @@ function gXe(e, t) {}return n;}-function _Xe(e) {+function vXe(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t] == null ? {} : arguments[t];- t % 2 ? gXe(Object(n), !0).forEach(function(t) {- vXe(e, t, n[t]);- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : gXe(Object(n)).forEach(function(t) {+ t % 2 ? _Xe(Object(n), !0).forEach(function(t) {+ yXe(e, t, n[t]);+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : _Xe(Object(n)).forEach(function(t) {Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));});}return e;}-function vXe(e, t, n) {- return (t = yXe(t)) in e ? Object.defineProperty(e, t, {+function yXe(e, t, n) {+ return (t = bXe(t)) in e ? Object.defineProperty(e, t, {value: n,enumerable: !0,configurable: !0,writable: !0}) : e[t] = n, e;}-function yXe(e) {- var t = bXe(e, "string");+function bXe(e) {+ var t = xXe(e, "string");return typeof t == "symbol" ? t : t + "";}-function bXe(e, t) {+function xXe(e, t) {if (typeof e != "object" || !e) return e;var n = e[Symbol.toPrimitive];if (n !== void 0) {@@ -84720,25 +84733,25 @@ function bXe(e, t) {}return (t === "string" ? String : Number)(e);}-function xXe(e, t) {- return EXe(e) || TXe(e, t) || CXe(e, t) || SXe();+function SXe(e, t) {+ return DXe(e) || EXe(e, t) || wXe(e, t) || CXe();}-function SXe() {+function CXe() {throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}-function CXe(e, t) {+function wXe(e, t) {if (e) {- if (typeof e == "string") return wXe(e, t);+ if (typeof e == "string") return TXe(e, t);var n = {}.toString.call(e).slice(8, -1);- return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? wXe(e, t) : void 0;+ return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? TXe(e, t) : void 0;}}-function wXe(e, t) {+function TXe(e, t) {(t == null || t > e.length) && (t = e.length);for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];return r;}-function TXe(e, t) {+function EXe(e, t) {var n = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];if (n != null) {var r, i, a, o, s = [], c = !0, l = !1;@@ -84759,16 +84772,16 @@ function TXe(e, t) {return s;}}-function EXe(e) {+function DXe(e) {if (Array.isArray(e)) return e;}-function DXe(e) {+function OXe(e) {return e.dataKey;}-function OXe(e, t) {+function kXe(e, t) {return /*#__PURE__*/ b.isValidElement(e) ? /*#__PURE__*/ b.cloneElement(e, t) : typeof e == "function" ? /*#__PURE__*/ b.createElement(e, t) : /*#__PURE__*/ b.createElement(LHe, t);}-var kXe = [], AXe = {+var AXe = [], jXe = {allowEscapeViewBox: {x: !1,y: !1@@ -84794,8 +84807,8 @@ var kXe = [], AXe = {useTranslate3d: !1,wrapperStyle: {}};-function jXe(e) {- var t = PW(e, AXe), n = t.active, r = t.allowEscapeViewBox, i = t.animationDuration, a = t.animationEasing, o = t.content, s = t.filterNull, c = t.isAnimationActive, l = t.offset, u = t.payloadUniqBy, d = t.position, f = t.reverseDirection, p = t.useTranslate3d, m = t.wrapperStyle, h = t.cursor, g = t.shared, _ = t.trigger, v = t.defaultIndex, y = t.portal, x = t.axisId, S = DG(), C = typeof v == "number" ? String(v) : v;+function MXe(e) {+ var t = FW(e, jXe), n = t.active, r = t.allowEscapeViewBox, i = t.animationDuration, a = t.animationEasing, o = t.content, s = t.filterNull, c = t.isAnimationActive, l = t.offset, u = t.payloadUniqBy, d = t.position, f = t.reverseDirection, p = t.useTranslate3d, m = t.wrapperStyle, h = t.cursor, g = t.shared, _ = t.trigger, v = t.defaultIndex, y = t.portal, x = t.axisId, S = OG(), C = typeof v == "number" ? String(v) : v;(0, b.useEffect)(() => {S(xJe({shared: g,@@ -84812,13 +84825,13 @@ function jXe(e) {n,C]);- var w = FJ(), T = vY(), E = gJe(g), D = J((e) => xYe(e, E, _, C)) ?? {}, O = D.activeIndex, k = D.isActive, A = J((e) => bYe(e, E, _, C)), j = J((e) => yYe(e, E, _, C)), M = J((e) => vYe(e, E, _, C)), N = A, P = JYe(), ee = n ?? k ?? !1, F = xXe(HG([N, ee]), 2), te = F[0], I = F[1], ne = E === "axis" ? j : void 0;- hXe(E, _, M, ne, O, ee);+ var w = IJ(), T = yY(), E = gJe(g), D = J((e) => SYe(e, E, _, C)) ?? {}, O = D.activeIndex, k = D.isActive, A = J((e) => xYe(e, E, _, C)), j = J((e) => bYe(e, E, _, C)), M = J((e) => yYe(e, E, _, C)), N = A, P = YYe(), ee = n ?? k ?? !1, F = SXe(UG([N, ee]), 2), te = F[0], I = F[1], ne = E === "axis" ? j : void 0;+ gXe(E, _, M, ne, O, ee);var re = y ?? P;if (re == null || w == null || E == null) return null;- var ie = N ?? kXe;- ee || (ie = kXe), s && ie.length && (ie = TG(ie.filter((e) => e.value != null && (e.hide !== !0 || t.includeHidden)), u, DXe));- var ae = ie.length > 0, oe = _Xe(_Xe({}, t), {}, {+ var ie = N ?? AXe;+ ee || (ie = AXe), s && ie.length && (ie = EG(ie.filter((e) => e.value != null && (e.hide !== !0 || t.includeHidden)), u, OXe));+ var ae = ie.length > 0, oe = vXe(vXe({}, t), {}, {payload: ie,label: ne,active: ee,@@ -84842,8 +84855,8 @@ function jXe(e) {lastBoundingBox: te,innerRef: I,hasPortalFromProps: !!y- }, OXe(o, oe));- return /*#__PURE__*/ b.createElement(b.Fragment, null, /*#__PURE__*/ (0, mt.createPortal)(se, re), ee && /*#__PURE__*/ b.createElement(KYe, {+ }, kXe(o, oe));+ return /*#__PURE__*/ b.createElement(b.Fragment, null, /*#__PURE__*/ (0, mt.createPortal)(se, re), ee && /*#__PURE__*/ b.createElement(qYe, {cursor: h,tooltipEventType: E,coordinate: M,@@ -84857,19 +84870,19 @@ var p4 = (e) => null;p4.displayName = "Cell";//#endregion//#region node_modules/recharts/es6/util/LRUCache.js-function MXe(e, t, n) {- return (t = NXe(t)) in e ? Object.defineProperty(e, t, {+function NXe(e, t, n) {+ return (t = PXe(t)) in e ? Object.defineProperty(e, t, {value: n,enumerable: !0,configurable: !0,writable: !0}) : e[t] = n, e;}-function NXe(e) {- var t = PXe(e, "string");+function PXe(e) {+ var t = FXe(e, "string");return typeof t == "symbol" ? t : t + "";}-function PXe(e, t) {+function FXe(e, t) {if (typeof e != "object" || !e) return e;var n = e[Symbol.toPrimitive];if (n !== void 0) {@@ -84879,9 +84892,9 @@ function PXe(e, t) {}return (t === "string" ? String : Number)(e);}-var FXe = class {+var IXe = class {constructor(e) {- MXe(this, "cache", /* @__PURE__ */ new Map()), this.maxSize = e;+ NXe(this, "cache", /* @__PURE__ */ new Map()), this.maxSize = e;}get(e) {var t = this.cache.get(e);@@ -84904,7 +84917,7 @@ var FXe = class {};//#endregion//#region node_modules/recharts/es6/util/DOMUtils.js-function IXe(e, t) {+function LXe(e, t) {var n = Object.keys(e);if (Object.getOwnPropertySymbols) {var r = Object.getOwnPropertySymbols(e);@@ -84914,30 +84927,30 @@ function IXe(e, t) {}return n;}-function LXe(e) {+function RXe(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t] == null ? {} : arguments[t];- t % 2 ? IXe(Object(n), !0).forEach(function(t) {- RXe(e, t, n[t]);- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : IXe(Object(n)).forEach(function(t) {+ t % 2 ? LXe(Object(n), !0).forEach(function(t) {+ zXe(e, t, n[t]);+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : LXe(Object(n)).forEach(function(t) {Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));});}return e;}-function RXe(e, t, n) {- return (t = zXe(t)) in e ? Object.defineProperty(e, t, {+function zXe(e, t, n) {+ return (t = BXe(t)) in e ? Object.defineProperty(e, t, {value: n,enumerable: !0,configurable: !0,writable: !0}) : e[t] = n, e;}-function zXe(e) {- var t = BXe(e, "string");+function BXe(e) {+ var t = VXe(e, "string");return typeof t == "symbol" ? t : t + "";}-function BXe(e, t) {+function VXe(e, t) {if (typeof e != "object" || !e) return e;var n = e[Symbol.toPrimitive];if (n !== void 0) {@@ -84947,10 +84960,10 @@ function BXe(e, t) {}return (t === "string" ? String : Number)(e);}-var VXe = LXe({}, {+var HXe = RXe({}, {cacheSize: 2e3,enableCache: !0-}), HXe = new FXe(VXe.cacheSize), UXe = {+}), UXe = new IXe(HXe.cacheSize), WXe = {position: "absolute",top: "-20000px",left: 0,@@ -84958,14 +84971,14 @@ var VXe = LXe({}, {margin: 0,border: "none",whiteSpace: "pre"-}, WXe = "recharts_measurement_span";-function GXe(e, t) {+}, GXe = "recharts_measurement_span";+function KXe(e, t) {return `${e}|${t.fontSize || ""}|${t.fontFamily || ""}|${t.fontWeight || ""}|${t.fontStyle || ""}|${t.letterSpacing || ""}|${t.textTransform || ""}`;}-var KXe = (e, t) => {+var qXe = (e, t) => {try {- var n = document.getElementById(WXe);- n || (n = document.createElement("span"), n.setAttribute("id", WXe), n.setAttribute("aria-hidden", "true"), document.body.appendChild(n)), Object.assign(n.style, UXe, t), n.textContent = `${e}`;+ var n = document.getElementById(GXe);+ n || (n = document.createElement("span"), n.setAttribute("id", GXe), n.setAttribute("aria-hidden", "true"), document.body.appendChild(n)), Object.assign(n.style, WXe, t), n.textContent = `${e}`;var r = n.getBoundingClientRect();return {width: r.width,@@ -84979,35 +84992,35 @@ var KXe = (e, t) => {}}, m4 = function(e) {var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};- if (e == null || fY.isSsr) return {+ if (e == null || pY.isSsr) return {width: 0,height: 0};- if (!VXe.enableCache) return KXe(e, t);- var n = GXe(e, t), r = HXe.get(n);+ if (!HXe.enableCache) return qXe(e, t);+ var n = KXe(e, t), r = UXe.get(n);if (r) return r;- var i = KXe(e, t);- return HXe.set(n, i), i;-}, qXe;+ var i = qXe(e, t);+ return UXe.set(n, i), i;+}, JXe;function h4(e, t) {- return QXe(e) || ZXe(e, t) || YXe(e, t) || JXe();+ return $Xe(e) || QXe(e, t) || XXe(e, t) || YXe();}-function JXe() {+function YXe() {throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}-function YXe(e, t) {+function XXe(e, t) {if (e) {- if (typeof e == "string") return XXe(e, t);+ if (typeof e == "string") return ZXe(e, t);var n = {}.toString.call(e).slice(8, -1);- return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? XXe(e, t) : void 0;+ return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? ZXe(e, t) : void 0;}}-function XXe(e, t) {+function ZXe(e, t) {(t == null || t > e.length) && (t = e.length);for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];return r;}-function ZXe(e, t) {+function QXe(e, t) {var n = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];if (n != null) {var r, i, a, o, s = [], c = !0, l = !1;@@ -85028,22 +85041,22 @@ function ZXe(e, t) {return s;}}-function QXe(e) {+function $Xe(e) {if (Array.isArray(e)) return e;}-function $Xe(e, t, n) {- return (t = eZe(t)) in e ? Object.defineProperty(e, t, {+function eZe(e, t, n) {+ return (t = tZe(t)) in e ? Object.defineProperty(e, t, {value: n,enumerable: !0,configurable: !0,writable: !0}) : e[t] = n, e;}-function eZe(e) {- var t = tZe(e, "string");+function tZe(e) {+ var t = nZe(e, "string");return typeof t == "symbol" ? t : t + "";}-function tZe(e, t) {+function nZe(e, t) {if (typeof e != "object" || !e) return e;var n = e[Symbol.toPrimitive];if (n !== void 0) {@@ -85053,7 +85066,7 @@ function tZe(e, t) {}return (t === "string" ? String : Number)(e);}-var nZe = /(-?\d+(?:\.\d+)?[a-zA-Z%]*)([*/])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/, rZe = /(-?\d+(?:\.\d+)?[a-zA-Z%]*)([+-])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/, iZe = /^(px|cm|vh|vw|em|rem|%|mm|in|pt|pc|ex|ch|vmin|vmax|Q)$/, aZe = /(-?\d+(?:\.\d+)?)([a-zA-Z%]+)?/, oZe = {+var rZe = /(-?\d+(?:\.\d+)?[a-zA-Z%]*)([*/])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/, iZe = /(-?\d+(?:\.\d+)?[a-zA-Z%]*)([+-])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/, aZe = /^(px|cm|vh|vw|em|rem|%|mm|in|pt|pc|ex|ch|vmin|vmax|Q)$/, oZe = /(-?\d+(?:\.\d+)?)([a-zA-Z%]+)?/, sZe = {cm: 96 / 2.54,mm: 96 / 25.4,pt: 96 / 72,@@ -85061,7 +85074,7 @@ var nZe = /(-?\d+(?:\.\d+)?[a-zA-Z%]*)([*/])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/, rZe =in: 96,Q: 96 / 101.6,px: 1-}, sZe = [+}, cZe = ["cm","mm","pt",@@ -85070,20 +85083,20 @@ var nZe = /(-?\d+(?:\.\d+)?[a-zA-Z%]*)([*/])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/, rZe ="Q","px"];-function cZe(e) {- return sZe.includes(e);+function lZe(e) {+ return cZe.includes(e);}var g4 = "NaN";-function lZe(e, t) {- return e * oZe[t];+function uZe(e, t) {+ return e * sZe[t];}var _4 = class e {static parse(t) {- var n = h4(aZe.exec(t) ?? [], 3), r = n[1], i = n[2];+ var n = h4(oZe.exec(t) ?? [], 3), r = n[1], i = n[2];return r == null ? e.NaN : new e(parseFloat(r), i ?? "");}constructor(e, t) {- this.num = e, this.unit = t, this.num = e, this.unit = t, hU(e) && (this.unit = ""), t !== "" && !iZe.test(t) && (this.num = NaN, this.unit = ""), cZe(t) && (this.num = lZe(e, t), this.unit = "px");+ this.num = e, this.unit = t, this.num = e, this.unit = t, gU(e) && (this.unit = ""), t !== "" && !aZe.test(t) && (this.num = NaN, this.unit = ""), lZe(t) && (this.num = uZe(e, t), this.unit = "px");}add(t) {return this.unit === t.unit ? new e(this.num + t.num, this.unit) : new e(NaN, "");@@ -85101,50 +85114,50 @@ var _4 = class e {return `${this.num}${this.unit}`;}isNaN() {- return hU(this.num);+ return gU(this.num);}};-qXe = _4, $Xe(_4, "NaN", new qXe(NaN, ""));-function uZe(e) {+JXe = _4, eZe(_4, "NaN", new JXe(NaN, ""));+function dZe(e) {if (e == null || e.includes(g4)) return g4;for (var t = e; t.includes("*") || t.includes("/");) {- var n = h4(nZe.exec(t) ?? [], 4), r = n[1], i = n[2], a = n[3], o = _4.parse(r ?? ""), s = _4.parse(a ?? ""), c = i === "*" ? o.multiply(s) : o.divide(s);+ var n = h4(rZe.exec(t) ?? [], 4), r = n[1], i = n[2], a = n[3], o = _4.parse(r ?? ""), s = _4.parse(a ?? ""), c = i === "*" ? o.multiply(s) : o.divide(s);if (c.isNaN()) return g4;- t = t.replace(nZe, c.toString());+ t = t.replace(rZe, c.toString());}for (; t.includes("+") || /.-\d+(?:\.\d+)?/.test(t);) {- var l = h4(rZe.exec(t) ?? [], 4), u = l[1], d = l[2], f = l[3], p = _4.parse(u ?? ""), m = _4.parse(f ?? ""), h = d === "+" ? p.add(m) : p.subtract(m);+ var l = h4(iZe.exec(t) ?? [], 4), u = l[1], d = l[2], f = l[3], p = _4.parse(u ?? ""), m = _4.parse(f ?? ""), h = d === "+" ? p.add(m) : p.subtract(m);if (h.isNaN()) return g4;- t = t.replace(rZe, h.toString());+ t = t.replace(iZe, h.toString());}return t;}-var dZe = /\(([^()]*)\)/;-function fZe(e) {- for (var t = e, n; (n = dZe.exec(t)) != null;) {+var fZe = /\(([^()]*)\)/;+function pZe(e) {+ for (var t = e, n; (n = fZe.exec(t)) != null;) {var r = h4(n, 2)[1];- t = t.replace(dZe, uZe(r));+ t = t.replace(fZe, dZe(r));}return t;}-function pZe(e) {+function mZe(e) {var t = e.replace(/\s+/g, "");- return t = fZe(t), t = uZe(t), t;+ return t = pZe(t), t = dZe(t), t;}-function mZe(e) {+function hZe(e) {try {- return pZe(e);+ return mZe(e);} catch {return g4;}}function v4(e) {- var t = mZe(e.slice(5, -1));+ var t = hZe(e.slice(5, -1));return t === g4 ? "" : t;}//#endregion//#region node_modules/recharts/es6/component/Text.js-var hZe = [+var gZe = ["x","y","lineHeight",@@ -85153,7 +85166,7 @@ var hZe = ["scaleToFit","textAnchor","verticalAnchor"-], gZe = [+], _Ze = ["dx","dy","angle",@@ -85169,16 +85182,16 @@ function y4() {return e;}, y4.apply(null, arguments);}-function _Ze(e, t) {+function vZe(e, t) {if (e == null) return {};- var n, r, i = vZe(e, t);+ var n, r, i = yZe(e, t);if (Object.getOwnPropertySymbols) {var a = Object.getOwnPropertySymbols(e);for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);}return i;}-function vZe(e, t) {+function yZe(e, t) {if (e == null) return {};var n = {};for (var r in e) if ({}.hasOwnProperty.call(e, r)) {@@ -85187,25 +85200,25 @@ function vZe(e, t) {}return n;}-function yZe(e, t) {- return wZe(e) || CZe(e, t) || xZe(e, t) || bZe();+function bZe(e, t) {+ return TZe(e) || wZe(e, t) || SZe(e, t) || xZe();}-function bZe() {+function xZe() {throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}-function xZe(e, t) {+function SZe(e, t) {if (e) {- if (typeof e == "string") return SZe(e, t);+ if (typeof e == "string") return CZe(e, t);var n = {}.toString.call(e).slice(8, -1);- return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? SZe(e, t) : void 0;+ return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? CZe(e, t) : void 0;}}-function SZe(e, t) {+function CZe(e, t) {(t == null || t > e.length) && (t = e.length);for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];return r;}-function CZe(e, t) {+function wZe(e, t) {var n = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];if (n != null) {var r, i, a, o, s = [], c = !0, l = !1;@@ -85226,14 +85239,14 @@ function CZe(e, t) {return s;}}-function wZe(e) {+function TZe(e) {if (Array.isArray(e)) return e;}-var TZe = /[ \f\n\r\t\v\u2028\u2029]+/, EZe = (e) => {+var EZe = /[ \f\n\r\t\v\u2028\u2029]+/, DZe = (e) => {var t = e.children, n = e.breakAll, r = e.style;try {var i = [];- return wU(t) || (i = n ? t.toString().split("") : t.toString().split(TZe)), {+ return TU(t) || (i = n ? t.toString().split("") : t.toString().split(EZe)), {wordsWithComputedWidth: i.map((e) => ({word: e,width: m4(e, r).width@@ -85244,13 +85257,13 @@ var TZe = /[ \f\n\r\t\v\u2028\u2029]+/, EZe = (e) => {return null;}};-function DZe(e) {+function OZe(e) {return e === "start" || e === "middle" || e === "end" || e === "inherit";}-function OZe(e) {- return wU(e) || typeof e == "string" || typeof e == "number" || typeof e == "boolean";+function kZe(e) {+ return TU(e) || typeof e == "string" || typeof e == "number" || typeof e == "boolean";}-var kZe = (e, t, n, r) => e.reduce((e, i) => {+var AZe = (e, t, n, r) => e.reduce((e, i) => {var a = i.word, o = i.width, s = e[e.length - 1];if (s && o != null && (t == null || r || s.width + o + n < Number(t))) s.words.push(a), s.width += o + n;else {@@ -85261,20 +85274,20 @@ var kZe = (e, t, n, r) => e.reduce((e, i) => {e.push(c);}return e;-}, []), AZe = (e) => e.reduce((e, t) => e.width > t.width ? e : t), jZe = "…", MZe = (e, t, n, r, i, a, o, s) => {- var c = EZe({+}, []), jZe = (e) => e.reduce((e, t) => e.width > t.width ? e : t), MZe = "…", NZe = (e, t, n, r, i, a, o, s) => {+ var c = DZe({breakAll: n,style: r,- children: e.slice(0, t) + jZe+ children: e.slice(0, t) + MZe});if (!c) return [!1, []];- var l = kZe(c.wordsWithComputedWidth, a, o, s);- return [l.length > i || AZe(l).width > Number(a), l];-}, NZe = (e, t, n, r, i) => {- var a = e.maxLines, o = e.children, s = e.style, c = e.breakAll, l = _U(a), u = String(o), d = kZe(t, r, n, i);- if (!l || i || !(d.length > a || AZe(d).width > Number(r))) return d;+ var l = AZe(c.wordsWithComputedWidth, a, o, s);+ return [l.length > i || jZe(l).width > Number(a), l];+}, PZe = (e, t, n, r, i) => {+ var a = e.maxLines, o = e.children, s = e.style, c = e.breakAll, l = vU(a), u = String(o), d = AZe(t, r, n, i);+ if (!l || i || !(d.length > a || jZe(d).width > Number(r))) return d;for (var f = 0, p = u.length - 1, m = 0, h; f <= p && m <= u.length - 1;) {- var g = Math.floor((f + p) / 2), _ = yZe(MZe(u, g - 1, c, s, a, r, n, i), 2), v = _[0], y = _[1], b = yZe(MZe(u, g, c, s, a, r, n, i), 1)[0];+ var g = Math.floor((f + p) / 2), _ = bZe(NZe(u, g - 1, c, s, a, r, n, i), 2), v = _[0], y = _[1], b = bZe(NZe(u, g, c, s, a, r, n, i), 1)[0];if (!v && !b && (f = g + 1), v && b && (p = g - 1), !v && b) {h = y;break;@@ -85282,13 +85295,13 @@ var kZe = (e, t, n, r) => e.reduce((e, i) => {m++;}return h || d;-}, PZe = (e) => [{- words: wU(e) ? [] : e.toString().split(TZe),+}, FZe = (e) => [{+ words: TU(e) ? [] : e.toString().split(EZe),width: void 0-}], FZe = (e) => {+}], IZe = (e) => {var t = e.width, n = e.scaleToFit, r = e.children, i = e.style, a = e.breakAll, o = e.maxLines;- if ((t || n) && !fY.isSsr) {- var s, c, l = EZe({+ if ((t || n) && !pY.isSsr) {+ var s, c, l = DZe({breakAll: a,children: r,style: i@@ -85296,20 +85309,20 @@ var kZe = (e, t, n, r) => e.reduce((e, i) => {if (l) {var u = l.wordsWithComputedWidth, d = l.spaceWidth;s = u, c = d;- } else return PZe(r);- return NZe({+ } else return FZe(r);+ return PZe({breakAll: a,children: r,maxLines: o,style: i}, s, c, t, !!n);}- return PZe(r);-}, IZe = "#808080", LZe = {+ return FZe(r);+}, LZe = "#808080", RZe = {angle: 0,breakAll: !1,capHeight: "0.71em",- fill: IZe,+ fill: LZe,lineHeight: "1em",scaleToFit: !1,textAnchor: "start",@@ -85317,7 +85330,7 @@ var kZe = (e, t, n, r) => e.reduce((e, i) => {x: 0,y: 0}, b4 = /*#__PURE__*/ (0, b.forwardRef)((e, t) => {- var n = PW(e, LZe), r = n.x, i = n.y, a = n.lineHeight, o = n.capHeight, s = n.fill, c = n.scaleToFit, l = n.textAnchor, u = n.verticalAnchor, d = _Ze(n, hZe), f = (0, b.useMemo)(() => FZe({+ var n = FW(e, RZe), r = n.x, i = n.y, a = n.lineHeight, o = n.capHeight, s = n.fill, c = n.scaleToFit, l = n.textAnchor, u = n.verticalAnchor, d = vZe(n, gZe), f = (0, b.useMemo)(() => IZe({breakAll: d.breakAll,children: d.children,maxLines: d.maxLines,@@ -85331,10 +85344,10 @@ var kZe = (e, t, n, r) => e.reduce((e, i) => {c,d.style,d.width- ]), p = d.dx, m = d.dy, h = d.angle, g = d.className, _ = d.breakAll, v = _Ze(d, gZe);- if (!vU(r) || !vU(i) || f.length === 0) return null;- var y = Number(r) + (_U(p) ? p : 0), x = Number(i) + (_U(m) ? m : 0);- if (!qq(y) || !qq(x)) return null;+ ]), p = d.dx, m = d.dy, h = d.angle, g = d.className, _ = d.breakAll, v = vZe(d, _Ze);+ if (!yU(r) || !yU(i) || f.length === 0) return null;+ var y = Number(r) + (vU(p) ? p : 0), x = Number(i) + (vU(m) ? m : 0);+ if (!Jq(y) || !Jq(x)) return null;var S;switch (u) {case "start":@@ -85348,15 +85361,15 @@ var kZe = (e, t, n, r) => e.reduce((e, i) => {var C = [], w = f[0];if (c && w != null) {var T = w.width, E = d.width;- C.push(`scale(${_U(E) && _U(T) ? E / T : 1})`);+ C.push(`scale(${vU(E) && vU(T) ? E / T : 1})`);}- return h && C.push(`rotate(${h}, ${y}, ${x})`), C.length && (v.transform = C.join(" ")), /*#__PURE__*/ b.createElement("text", y4({}, eU(v), {+ return h && C.push(`rotate(${h}, ${y}, ${x})`), C.length && (v.transform = C.join(" ")), /*#__PURE__*/ b.createElement("text", y4({}, tU(v), {ref: t,x: y,y: x,className: hy("recharts-text", g),textAnchor: l,- fill: s.includes("url") ? IZe : s+ fill: s.includes("url") ? LZe : s}), f.map((e, t) => {var n = e.words.join(_ ? "" : " ");return /*#__PURE__*/ b.createElement("tspan", {@@ -85369,17 +85382,17 @@ var kZe = (e, t, n, r) => e.reduce((e, i) => {b4.displayName = "Text";//#endregion//#region node_modules/recharts/es6/component/Label.js-var RZe = ["labelRef"], zZe = ["content"];-function BZe(e, t) {+var zZe = ["labelRef"], BZe = ["content"];+function VZe(e, t) {if (e == null) return {};- var n, r, i = VZe(e, t);+ var n, r, i = HZe(e, t);if (Object.getOwnPropertySymbols) {var a = Object.getOwnPropertySymbols(e);for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);}return i;}-function VZe(e, t) {+function HZe(e, t) {if (e == null) return {};var n = {};for (var r in e) if ({}.hasOwnProperty.call(e, r)) {@@ -85388,7 +85401,7 @@ function VZe(e, t) {}return n;}-function HZe(e, t) {+function UZe(e, t) {var n = Object.keys(e);if (Object.getOwnPropertySymbols) {var r = Object.getOwnPropertySymbols(e);@@ -85401,27 +85414,27 @@ function HZe(e, t) {function x4(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t] == null ? {} : arguments[t];- t % 2 ? HZe(Object(n), !0).forEach(function(t) {- UZe(e, t, n[t]);- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : HZe(Object(n)).forEach(function(t) {+ t % 2 ? UZe(Object(n), !0).forEach(function(t) {+ WZe(e, t, n[t]);+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : UZe(Object(n)).forEach(function(t) {Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));});}return e;}-function UZe(e, t, n) {- return (t = WZe(t)) in e ? Object.defineProperty(e, t, {+function WZe(e, t, n) {+ return (t = GZe(t)) in e ? Object.defineProperty(e, t, {value: n,enumerable: !0,configurable: !0,writable: !0}) : e[t] = n, e;}-function WZe(e) {- var t = GZe(e, "string");+function GZe(e) {+ var t = KZe(e, "string");return typeof t == "symbol" ? t : t + "";}-function GZe(e, t) {+function KZe(e, t) {if (typeof e != "object" || !e) return e;var n = e[Symbol.toPrimitive];if (n !== void 0) {@@ -85440,7 +85453,7 @@ function S4() {return e;}, S4.apply(null, arguments);}-var KZe = /*#__PURE__*/ (0, b.createContext)(null), qZe = (e) => {+var qZe = /*#__PURE__*/ (0, b.createContext)(null), JZe = (e) => {var t = e.x, n = e.y, r = e.upperWidth, i = e.lowerWidth, a = e.width, o = e.height, s = e.children, c = (0, b.useMemo)(() => ({x: t,y: n,@@ -85456,11 +85469,11 @@ var KZe = /*#__PURE__*/ (0, b.createContext)(null), qZe = (e) => {a,o]);- return /*#__PURE__*/ b.createElement(KZe.Provider, { value: c }, s);-}, JZe = () => {- var e = (0, b.useContext)(KZe), t = FJ();- return e || (t ? OU(t) : void 0);-}, YZe = /*#__PURE__*/ (0, b.createContext)(null), XZe = (e) => {+ return /*#__PURE__*/ b.createElement(qZe.Provider, { value: c }, s);+}, YZe = () => {+ var e = (0, b.useContext)(qZe), t = IJ();+ return e || (t ? kU(t) : void 0);+}, XZe = /*#__PURE__*/ (0, b.createContext)(null), ZZe = (e) => {var t = e.cx, n = e.cy, r = e.innerRadius, i = e.outerRadius, a = e.startAngle, o = e.endAngle, s = e.clockWise, c = e.children, l = (0, b.useMemo)(() => ({cx: t,cy: n,@@ -85478,15 +85491,15 @@ var KZe = /*#__PURE__*/ (0, b.createContext)(null), qZe = (e) => {o,s]);- return /*#__PURE__*/ b.createElement(YZe.Provider, { value: l }, c);-}, ZZe = () => {- var e = (0, b.useContext)(YZe), t = J(oZ);+ return /*#__PURE__*/ b.createElement(XZe.Provider, { value: l }, c);+}, QZe = () => {+ var e = (0, b.useContext)(XZe), t = J(sZ);return e || t;-}, QZe = (e) => {- var t = e.value, n = e.formatter, r = wU(e.children) ? t : e.children;+}, $Ze = (e) => {+ var t = e.value, n = e.formatter, r = TU(e.children) ? t : e.children;return typeof n == "function" ? n(r) : r;-}, C4 = (e) => e != null && typeof e == "function", $Ze = (e, t) => mU(t - e) * Math.min(Math.abs(t - e), 360), eQe = (e, t, n, r, i) => {- var a = e.offset, o = e.className, s = i.cx, c = i.cy, l = i.innerRadius, u = i.outerRadius, d = i.startAngle, f = i.endAngle, p = i.clockWise, m = (l + u) / 2, h = $Ze(d, f), g = h >= 0 ? 1 : -1, _, v;+}, C4 = (e) => e != null && typeof e == "function", eQe = (e, t) => hU(t - e) * Math.min(Math.abs(t - e), 360), tQe = (e, t, n, r, i) => {+ var a = e.offset, o = e.className, s = i.cx, c = i.cy, l = i.innerRadius, u = i.outerRadius, d = i.startAngle, f = i.endAngle, p = i.clockWise, m = (l + u) / 2, h = eQe(d, f), g = h >= 0 ? 1 : -1, _, v;switch (t) {case "insideStart":_ = d + g * a, v = p;@@ -85500,9 +85513,9 @@ var KZe = /*#__PURE__*/ (0, b.createContext)(null), qZe = (e) => {default: throw Error(`Unsupported position ${t}`);}v = h <= 0 ? v : !v;- var y = iX(s, c, m, _), x = iX(s, c, m, _ + (v ? 1 : -1) * 359), S = `M${y.x},${y.y}+ var y = aX(s, c, m, _), x = aX(s, c, m, _ + (v ? 1 : -1) * 359), S = `M${y.x},${y.y}A${m},${m},0,1,${+!v},- ${x.x},${x.y}`, C = wU(e.id) ? yU("recharts-radial-line-") : e.id;+ ${x.x},${x.y}`, C = TU(e.id) ? bU("recharts-radial-line-") : e.id;return /*#__PURE__*/ b.createElement("text", S4({}, r, {dominantBaseline: "central",className: hy("recharts-radial-bar-label", o)@@ -85510,10 +85523,10 @@ var KZe = /*#__PURE__*/ (0, b.createContext)(null), qZe = (e) => {id: C,d: S})), /*#__PURE__*/ b.createElement("textPath", { xlinkHref: `#${C}` }, n));-}, tQe = (e, t, n) => {+}, nQe = (e, t, n) => {var r = e.cx, i = e.cy, a = e.innerRadius, o = e.outerRadius, s = (e.startAngle + e.endAngle) / 2;if (n === "outside") {- var c = iX(r, i, o + t, s), l = c.x;+ var c = aX(r, i, o + t, s), l = c.x;return {x: l,y: c.y,@@ -85539,21 +85552,21 @@ var KZe = /*#__PURE__*/ (0, b.createContext)(null), qZe = (e) => {textAnchor: "middle",verticalAnchor: "end"};- var u = iX(r, i, (a + o) / 2, s);+ var u = aX(r, i, (a + o) / 2, s);return {x: u.x,y: u.y,textAnchor: "middle",verticalAnchor: "middle"};-}, w4 = (e) => e != null && "cx" in e && _U(e.cx), nQe = {+}, w4 = (e) => e != null && "cx" in e && vU(e.cx), rQe = {angle: 0,offset: 5,- zIndex: UX.label,+ zIndex: WX.label,position: "middle",textBreakAll: !1};-function rQe(e) {+function iQe(e) {if (!w4(e)) return e;var t = e.cx, n = e.cy, r = e.outerRadius, i = r * 2;return {@@ -85566,12 +85579,12 @@ function rQe(e) {};}function T4(e) {- var t = PW(e, nQe), n = t.viewBox, r = t.parentViewBox, i = t.position, a = t.value, o = t.children, s = t.content, c = t.className, l = c === void 0 ? "" : c, u = t.textBreakAll, d = t.labelRef, f = ZZe(), p = JZe(), m = n == null ? i === "center" ? p : f ?? p : w4(n) ? n : OU(n), h, g, _ = rQe(m);- if (!m || wU(a) && wU(o) && !/*#__PURE__*/ (0, b.isValidElement)(s) && typeof s != "function") return null;+ var t = FW(e, rQe), n = t.viewBox, r = t.parentViewBox, i = t.position, a = t.value, o = t.children, s = t.content, c = t.className, l = c === void 0 ? "" : c, u = t.textBreakAll, d = t.labelRef, f = QZe(), p = YZe(), m = n == null ? i === "center" ? p : f ?? p : w4(n) ? n : kU(n), h, g, _ = iQe(m);+ if (!m || TU(a) && TU(o) && !/*#__PURE__*/ (0, b.isValidElement)(s) && typeof s != "function") return null;var v = w4(m) && (i === "insideStart" || i === "insideEnd" || i === "end");- if (w4(m)) v || (g = tQe(m, t.offset, t.position));+ if (w4(m)) v || (g = nQe(m, t.offset, t.position));else if (_) {- var y = jU({+ var y = MU({viewBox: _,position: i,offset: t.offset,@@ -85588,31 +85601,31 @@ function T4(e) {var x = x4(x4(x4(x4({}, g?.x === void 0 ? {} : { x: g.x }), g?.y === void 0 ? {} : { y: g.y }), t), {}, { viewBox: m });if (/*#__PURE__*/ (0, b.isValidElement)(s)) {x.labelRef;- var S = BZe(x, RZe);+ var S = VZe(x, zZe);return /*#__PURE__*/ (0, b.cloneElement)(s, S);}if (typeof s == "function") {x.content;- var C = BZe(x, zZe);+ var C = VZe(x, BZe);if (h = /*#__PURE__*/ (0, b.createElement)(s, C), /*#__PURE__*/ (0, b.isValidElement)(h)) return h;- } else h = QZe(t);- var w = eU(t);- return v && w4(m) ? eQe(t, i, h, w, m) : g == null ? null : /*#__PURE__*/ b.createElement(a4, { zIndex: t.zIndex }, /*#__PURE__*/ b.createElement(b4, S4({+ } else h = $Ze(t);+ var w = tU(t);+ return v && w4(m) ? tQe(t, i, h, w, m) : g == null ? null : /*#__PURE__*/ b.createElement(a4, { zIndex: t.zIndex }, /*#__PURE__*/ b.createElement(b4, S4({ref: d,className: hy("recharts-label", l)}, w, g, {- textAnchor: DZe(w.textAnchor) ? w.textAnchor : g.textAnchor,+ textAnchor: OZe(w.textAnchor) ? w.textAnchor : g.textAnchor,breakAll: u}), h));}T4.displayName = "Label";-var iQe = (e, t, n) => {+var aQe = (e, t, n) => {if (!e) return null;var r = {viewBox: t,labelRef: n};- return e === !0 ? /*#__PURE__*/ b.createElement(T4, S4({ key: "label-implicit" }, r)) : vU(e) ? /*#__PURE__*/ b.createElement(T4, S4({+ return e === !0 ? /*#__PURE__*/ b.createElement(T4, S4({ key: "label-implicit" }, r)) : yU(e) ? /*#__PURE__*/ b.createElement(T4, S4({key: "label-implicit",value: e}, r)) : /*#__PURE__*/ (0, b.isValidElement)(e) ? e.type === T4 ? /*#__PURE__*/ (0, b.cloneElement)(e, x4({ key: "label-implicit" }, r)) : /*#__PURE__*/ b.createElement(T4, S4({@@ -85623,17 +85636,17 @@ var iQe = (e, t, n) => {content: e}, r)) : e && typeof e == "object" ? /*#__PURE__*/ b.createElement(T4, S4({}, e, { key: "label-implicit" }, r)) : null;};-function aQe(e) {+function oQe(e) {var t = e.label, n = e.labelRef;- return iQe(t, JZe(), n) || null;+ return aQe(t, YZe(), n) || null;}-function oQe(e) {+function sQe(e) {var t = e.label;- return iQe(t, ZZe()) || null;+ return aQe(t, QZe()) || null;}//#endregion//#region node_modules/recharts/es6/component/LabelList.js-var sQe = ["valueAccessor"], cQe = [+var cQe = ["valueAccessor"], lQe = ["dataKey","clockWise","id",@@ -85649,16 +85662,16 @@ function E4() {return e;}, E4.apply(null, arguments);}-function lQe(e, t) {+function uQe(e, t) {if (e == null) return {};- var n, r, i = uQe(e, t);+ var n, r, i = dQe(e, t);if (Object.getOwnPropertySymbols) {var a = Object.getOwnPropertySymbols(e);for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);}return i;}-function uQe(e, t) {+function dQe(e, t) {if (e == null) return {};var n = {};for (var r in e) if ({}.hasOwnProperty.call(e, r)) {@@ -85667,23 +85680,23 @@ function uQe(e, t) {}return n;}-var dQe = (e) => {+var fQe = (e) => {var t = Array.isArray(e.value) ? e.value[e.value.length - 1] : e.value;- if (OZe(t)) return t;-}, fQe = /*#__PURE__*/ (0, b.createContext)(void 0), D4 = fQe.Provider, pQe = /*#__PURE__*/ (0, b.createContext)(void 0), mQe = pQe.Provider;-function hQe() {- return (0, b.useContext)(fQe);-}+ if (kZe(t)) return t;+}, pQe = /*#__PURE__*/ (0, b.createContext)(void 0), D4 = pQe.Provider, mQe = /*#__PURE__*/ (0, b.createContext)(void 0), hQe = mQe.Provider;function gQe() {return (0, b.useContext)(pQe);}+function _Qe() {+ return (0, b.useContext)(mQe);+}function O4(e) {- var t = e.valueAccessor, n = t === void 0 ? dQe : t, r = lQe(e, sQe), i = r.dataKey;+ var t = e.valueAccessor, n = t === void 0 ? fQe : t, r = uQe(e, cQe), i = r.dataKey;r.clockWise;- var a = r.id, o = r.textBreakAll, s = r.zIndex, c = lQe(r, cQe), l = hQe(), u = gQe(), d = l || u;- return !d || !d.length ? null : /*#__PURE__*/ b.createElement(a4, { zIndex: s ?? UX.label }, /*#__PURE__*/ b.createElement(iU, { className: "recharts-label-list" }, d.map((e, t) => {- var s = wU(i) ? n(e, t) : Zq(e.payload, i), l = wU(a) ? {} : { id: `${a}-${t}` };- return /*#__PURE__*/ b.createElement(T4, E4({ key: `label-${t}` }, eU(e), c, l, {+ var a = r.id, o = r.textBreakAll, s = r.zIndex, c = uQe(r, lQe), l = gQe(), u = _Qe(), d = l || u;+ return !d || !d.length ? null : /*#__PURE__*/ b.createElement(a4, { zIndex: s ?? WX.label }, /*#__PURE__*/ b.createElement(aU, { className: "recharts-label-list" }, d.map((e, t) => {+ var s = TU(i) ? n(e, t) : Qq(e.payload, i), l = TU(a) ? {} : { id: `${a}-${t}` };+ return /*#__PURE__*/ b.createElement(T4, E4({ key: `label-${t}` }, tU(e), c, l, {fill: r.fill ?? e.fill,parentViewBox: e.parentViewBox,value: s,@@ -85704,12 +85717,12 @@ function k4(e) {}//#endregion//#region node_modules/recharts/es6/shape/Polygon.js-var _Qe = [+var vQe = ["points","className","baseLinePoints","connectNulls"-], vQe;+], yQe;function A4() {return A4 = Object.assign ? Object.assign.bind() : function(e) {for (var t = 1; t < arguments.length; t++) {@@ -85719,16 +85732,16 @@ function A4() {return e;}, A4.apply(null, arguments);}-function yQe(e, t) {+function bQe(e, t) {if (e == null) return {};- var n, r, i = bQe(e, t);+ var n, r, i = xQe(e, t);if (Object.getOwnPropertySymbols) {var a = Object.getOwnPropertySymbols(e);for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);}return i;}-function bQe(e, t) {+function xQe(e, t) {if (e == null) return {};var n = {};for (var r in e) if ({}.hasOwnProperty.call(e, r)) {@@ -85737,23 +85750,23 @@ function bQe(e, t) {}return n;}-function xQe(e, t) {+function SQe(e, t) {return t ||= e.slice(0), Object.freeze(Object.defineProperties(e, { raw: { value: Object.freeze(t) } }));}-var SQe = (e) => e != null && e.x === +e.x && e.y === +e.y, CQe = function() {+var CQe = (e) => e != null && e.x === +e.x && e.y === +e.y, wQe = function() {var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : [], t = [[]];e.forEach((e) => {var n = t[t.length - 1];- SQe(e) ? n && n.push(e) : n && n.length > 0 && t.push([]);+ CQe(e) ? n && n.push(e) : n && n.length > 0 && t.push([]);});var n = e[0], r = t[t.length - 1];- SQe(n) && r && r.push(n);+ CQe(n) && r && r.push(n);var i = t[t.length - 1];return i && i.length <= 0 && (t = t.slice(0, -1)), t;}, j4 = (e, t) => {- var n = CQe(e);+ var n = wQe(e);t && (n = [n.reduce((e, t) => [...e, ...t], [])]);- var r = n.map((e) => e.reduce((e, t, n) => pU(vQe ||= xQe([+ var r = n.map((e) => e.reduce((e, t, n) => mU(yQe ||= SQe(["","","",@@ -85761,29 +85774,29 @@ var SQe = (e) => e != null && e.x === +e.x && e.y === +e.y, CQe = function() {""]), e, n === 0 ? "M" : "L", t.x, t.y), "")).join("");return n.length === 1 ? `${r}Z` : r;-}, wQe = (e, t, n) => {+}, TQe = (e, t, n) => {var r = j4(e, n);return `${r.slice(-1) === "Z" ? r.slice(0, -1) : r}L${j4(Array.from(t).reverse(), n).slice(1)}`;-}, TQe = (e) => {- var t = e.points, n = e.className, r = e.baseLinePoints, i = e.connectNulls, a = yQe(e, _Qe);+}, EQe = (e) => {+ var t = e.points, n = e.className, r = e.baseLinePoints, i = e.connectNulls, a = bQe(e, vQe);if (!t || !t.length) return null;var o = hy("recharts-polygon", n);if (r && r.length) {- var s = a.stroke && a.stroke !== "none", c = wQe(t, r, i);- return /*#__PURE__*/ b.createElement("g", { className: o }, /*#__PURE__*/ b.createElement("path", A4({}, eU(a), {+ var s = a.stroke && a.stroke !== "none", c = TQe(t, r, i);+ return /*#__PURE__*/ b.createElement("g", { className: o }, /*#__PURE__*/ b.createElement("path", A4({}, tU(a), {fill: c.slice(-1) === "Z" ? a.fill : "none",stroke: "none",d: c- })), s ? /*#__PURE__*/ b.createElement("path", A4({}, eU(a), {+ })), s ? /*#__PURE__*/ b.createElement("path", A4({}, tU(a), {fill: "none",d: j4(t, i)- })) : null, s ? /*#__PURE__*/ b.createElement("path", A4({}, eU(a), {+ })) : null, s ? /*#__PURE__*/ b.createElement("path", A4({}, tU(a), {fill: "none",d: j4(r, i)})) : null);}var l = j4(t, i);- return /*#__PURE__*/ b.createElement("path", A4({}, eU(a), {+ return /*#__PURE__*/ b.createElement("path", A4({}, tU(a), {fill: l.slice(-1) === "Z" ? a.fill : "none",className: o,d: l@@ -85802,7 +85815,7 @@ function M4() {}var N4 = (e) => {var t = e.cx, n = e.cy, r = e.r, i = e.className, a = hy("recharts-dot", i);- return _U(t) && _U(n) && _U(r) ? /*#__PURE__*/ b.createElement("circle", M4({}, QH(e), jW(e), {+ return vU(t) && vU(n) && vU(r) ? /*#__PURE__*/ b.createElement("circle", M4({}, $H(e), MW(e), {className: a,cx: t,cy: n,@@ -85810,64 +85823,64 @@ var N4 = (e) => {})) : null;}, P4 = (e) => e.graphicalItems.polarItems, F4 = Y([P4,- U1,- Y([sZ, cZ], K1)-], J1), I4 = Y([Y([F4], Q1), mX], e0), EQe = Y([+ W1,+ Y([cZ, lZ], q1)+], Y1), I4 = Y([Y([F4], $1), hX], t0), DQe = Y([I4,- U1,+ W1,F4-], n0);+], r0);Y([I4,- U1,+ W1,F4], (e, t, n) => n.length > 0 ? e.flatMap((e) => n.flatMap((n) => ({- value: Zq(e, t.dataKey ?? n.dataKey),+ value: Qq(e, t.dataKey ?? n.dataKey),errorDomain: []}))).filter(Boolean) : t?.dataKey == null ? e.map((e) => ({value: e,errorDomain: []})) : e.map((e) => ({- value: Zq(e, t.dataKey),+ value: Qq(e, t.dataKey),errorDomain: []})));-var DQe = () => void 0, OQe = Y([- U1,- zJ,+var OQe = () => void 0, kQe = Y([+ W1,+ BJ,I4,- EQe,- LX,- sZ,+ DQe,+ RX,+ cZ,Y([- U1,- h0,+ W1,g0,- DQe,+ _0,+ OQe,Y([I4,- U1,+ W1,F4,- _0,- sZ,+ v0,+ cZ,jWe- ], y0),- DQe,- zJ,- sZ- ], D0)-], O0), kQe = Y([- OQe,+ ], b0),+ OQe,+ BJ,+ cZ+ ], O0)+], k0), AQe = Y([+ kQe,+ G1,+ j0+], M0), jQe = Y([j0, Y([W1,- A0-], j0), AQe = Y([A0, Y([- U1,- OQe,kQe,- sZ-], N0)], _Z), L4 = (e, t, n) => {+ AQe,+ cZ+], P0)], vZ), L4 = (e, t, n) => {switch (t) {- case "angleAxis": return QX(e, n);- case "radiusAxis": return $X(e, n);+ case "angleAxis": return $X(e, n);+ case "radiusAxis": return eZ(e, n);default: throw Error(`Unexpected axis type: ${t}`);}}, R4 = (e, t, n) => {@@ -85878,25 +85891,25 @@ var DQe = () => void 0, OQe = Y([}}, z4 = Y([Y([L4,- A0,- AQe,+ j0,+ jQe,R4-], O1)], gZ), jQe = Y([- zJ,- EQe,- W1,- sZ-], B0), B4 = Y([- zJ,+], k1)], _Z), MQe = Y([+ BJ,+ DQe,+ G1,+ cZ+], V0), B4 = Y([+ BJ,L4,- A0,+ j0,z4,- kQe,+ AQe,R4,- Z0,- jQe,- sZ-], $0), MQe = Y([B4], (e) => {+ Q0,+ MQe,+ cZ+], e2), NQe = Y([B4], (e) => {if (e) {var t = /* @__PURE__ */ new Map();return e.forEach((e) => {@@ -85904,19 +85917,19 @@ var DQe = () => void 0, OQe = Y([t.has(n) || t.set(n, e);}), Array.from(t.values());}-}), NQe = Y([- zJ,+}), PQe = Y([+ BJ,L4,z4,R4,- Z0,- jQe,- sZ-], t2), PQe = Y([(e, t) => B4(e, "angleAxis", t, !1)], (e) => {+ Q0,+ MQe,+ cZ+], n2), FQe = Y([(e, t) => B4(e, "angleAxis", t, !1)], (e) => {if (e) return e.map((e) => e.coordinate);-}), FQe = Y([(e, t) => B4(e, "radiusAxis", t, !1)], (e) => {+}), IQe = Y([(e, t) => B4(e, "radiusAxis", t, !1)], (e) => {if (e) return e.map((e) => e.coordinate);-}), IQe = [+}), LQe = ["gridType","radialLines","angleAxisId",@@ -85929,16 +85942,16 @@ var DQe = () => void 0, OQe = Y(["polarRadius","zIndex"];-function LQe(e, t) {+function RQe(e, t) {if (e == null) return {};- var n, r, i = RQe(e, t);+ var n, r, i = zQe(e, t);if (Object.getOwnPropertySymbols) {var a = Object.getOwnPropertySymbols(e);for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);}return i;}-function RQe(e, t) {+function zQe(e, t) {if (e == null) return {};var n = {};for (var r in e) if ({}.hasOwnProperty.call(e, r)) {@@ -85956,7 +85969,7 @@ function V4() {return e;}, V4.apply(null, arguments);}-function zQe(e, t) {+function BQe(e, t) {var n = Object.keys(e);if (Object.getOwnPropertySymbols) {var r = Object.getOwnPropertySymbols(e);@@ -85969,27 +85982,27 @@ function zQe(e, t) {function H4(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t] == null ? {} : arguments[t];- t % 2 ? zQe(Object(n), !0).forEach(function(t) {- BQe(e, t, n[t]);- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : zQe(Object(n)).forEach(function(t) {+ t % 2 ? BQe(Object(n), !0).forEach(function(t) {+ VQe(e, t, n[t]);+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : BQe(Object(n)).forEach(function(t) {Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));});}return e;}-function BQe(e, t, n) {- return (t = VQe(t)) in e ? Object.defineProperty(e, t, {+function VQe(e, t, n) {+ return (t = HQe(t)) in e ? Object.defineProperty(e, t, {value: n,enumerable: !0,configurable: !0,writable: !0}) : e[t] = n, e;}-function VQe(e) {- var t = HQe(e, "string");+function HQe(e) {+ var t = UQe(e, "string");return typeof t == "symbol" ? t : t + "";}-function HQe(e, t) {+function UQe(e, t) {if (typeof e != "object" || !e) return e;var n = e[Symbol.toPrimitive];if (n !== void 0) {@@ -85999,18 +86012,18 @@ function HQe(e, t) {}return (t === "string" ? String : Number)(e);}-var UQe = (e, t, n, r) => {+var WQe = (e, t, n, r) => {var i = "";return r.forEach((r, a) => {- var o = iX(t, n, e, r);+ var o = aX(t, n, e, r);i += a ? `L ${o.x},${o.y}` : `M ${o.x},${o.y}`;}), i += "Z", i;-}, WQe = (e) => {+}, GQe = (e) => {var t = e.cx, n = e.cy, r = e.innerRadius, i = e.outerRadius, a = e.polarAngles, o = e.radialLines;if (!a || !a.length || !o) return null;- var s = H4({}, QH(e));+ var s = H4({}, $H(e));return /*#__PURE__*/ b.createElement("g", { className: "recharts-polar-grid-angle" }, a.map((e) => {- var a = iX(t, n, r, e), o = iX(t, n, i, e);+ var a = aX(t, n, r, e), o = aX(t, n, i, e);return /*#__PURE__*/ b.createElement("line", V4({ key: `line-${e}` }, s, {x1: a.x,y1: a.y,@@ -86018,45 +86031,45 @@ var UQe = (e, t, n, r) => {y2: o.y}));}));-}, GQe = (e) => {- var t = e.cx, n = e.cy, r = e.radius, i = H4({}, QH(e));+}, KQe = (e) => {+ var t = e.cx, n = e.cy, r = e.radius, i = H4({}, $H(e));return /*#__PURE__*/ b.createElement("circle", V4({}, i, {className: hy("recharts-polar-grid-concentric-circle", e.className),cx: t,cy: n,r}));-}, KQe = (e) => {- var t = e.radius, n = H4({}, QH(e));+}, qQe = (e) => {+ var t = e.radius, n = H4({}, $H(e));return /*#__PURE__*/ b.createElement("path", V4({}, n, {className: hy("recharts-polar-grid-concentric-polygon", e.className),- d: UQe(t, e.cx, e.cy, e.polarAngles)+ d: WQe(t, e.cx, e.cy, e.polarAngles)}));-}, qQe = (e) => {+}, JQe = (e) => {var t = e.polarRadius, n = e.gridType;if (!t || !t.length) return null;var r = Math.max(...t), i = e.fill && e.fill !== "none";- return /*#__PURE__*/ b.createElement("g", { className: "recharts-polar-grid-concentric" }, i && n === "circle" && /*#__PURE__*/ b.createElement(GQe, V4({}, e, { radius: r })), i && n !== "circle" && /*#__PURE__*/ b.createElement(KQe, V4({}, e, { radius: r })), t.map((t, r) => {+ return /*#__PURE__*/ b.createElement("g", { className: "recharts-polar-grid-concentric" }, i && n === "circle" && /*#__PURE__*/ b.createElement(KQe, V4({}, e, { radius: r })), i && n !== "circle" && /*#__PURE__*/ b.createElement(qQe, V4({}, e, { radius: r })), t.map((t, r) => {var i = r;- return n === "circle" ? /*#__PURE__*/ b.createElement(GQe, V4({ key: i }, e, {+ return n === "circle" ? /*#__PURE__*/ b.createElement(KQe, V4({ key: i }, e, {fill: "none",radius: t- })) : /*#__PURE__*/ b.createElement(KQe, V4({ key: i }, e, {+ })) : /*#__PURE__*/ b.createElement(qQe, V4({ key: i }, e, {fill: "none",radius: t}));}));-}, JQe = {+}, YQe = {angleAxisId: 0,radiusAxisId: 0,gridType: "polygon",radialLines: !0,- zIndex: UX.grid,+ zIndex: WX.grid,stroke: "#ccc",strokeWidth: 1,fill: "none"-}, YQe = (e) => {- var t = PW(e, JQe), n = t.gridType, r = t.radialLines, i = t.angleAxisId, a = t.radiusAxisId, o = t.cx, s = t.cy, c = t.innerRadius, l = t.outerRadius, u = t.polarAngles, d = t.polarRadius, f = t.zIndex, p = LQe(t, IQe), m = J(oZ), h = J((e) => PQe(e, i)), g = J((e) => FQe(e, a)), _ = Array.isArray(u) ? u : h, v = Array.isArray(d) ? d : g;+}, XQe = (e) => {+ var t = FW(e, YQe), n = t.gridType, r = t.radialLines, i = t.angleAxisId, a = t.radiusAxisId, o = t.cx, s = t.cy, c = t.innerRadius, l = t.outerRadius, u = t.polarAngles, d = t.polarRadius, f = t.zIndex, p = RQe(t, LQe), m = J(sZ), h = J((e) => FQe(e, i)), g = J((e) => IQe(e, a)), _ = Array.isArray(u) ? u : h, v = Array.isArray(d) ? d : g;if (_ == null || v == null) return null;var y = H4({cx: m?.cx ?? o ?? 0,@@ -86067,13 +86080,13 @@ var UQe = (e, t, n, r) => {polarRadius: v,zIndex: f}, p);- return y.outerRadius <= 0 ? null : /*#__PURE__*/ b.createElement(a4, { zIndex: y.zIndex }, /*#__PURE__*/ b.createElement("g", { className: "recharts-polar-grid" }, /*#__PURE__*/ b.createElement(qQe, V4({+ return y.outerRadius <= 0 ? null : /*#__PURE__*/ b.createElement(a4, { zIndex: y.zIndex }, /*#__PURE__*/ b.createElement("g", { className: "recharts-polar-grid" }, /*#__PURE__*/ b.createElement(JQe, V4({gridType: n,radialLines: r}, y, {polarAngles: _,polarRadius: v- })), /*#__PURE__*/ b.createElement(WQe, V4({+ })), /*#__PURE__*/ b.createElement(GQe, V4({gridType: n,radialLines: r}, y, {@@ -86081,7 +86094,7 @@ var UQe = (e, t, n, r) => {polarRadius: v}))));};-YQe.displayName = "PolarGrid";+XQe.displayName = "PolarGrid";//#endregion//#region node_modules/es-toolkit/dist/compat/_internal/toArray.mjsfunction U4(e) {@@ -86089,11 +86102,11 @@ function U4(e) {}//#endregion//#region node_modules/es-toolkit/dist/compat/math/maxBy.mjs-function XQe(e, t = zW) {+function ZQe(e, t = BW) {if (e == null) return;let n = U4(e);if (n.length === 0) return;- let r = CG(t), i, a;+ let r = wG(t), i, a;for (let e = 0; e < n.length; e++) {let t = n[e], o = r(t, e, n);o == null || Number.isNaN(o) || typeof o == "symbol" || (a === void 0 || o > a) && (a = o, i = t);@@ -86102,11 +86115,11 @@ function XQe(e, t = zW) {}//#endregion//#region node_modules/es-toolkit/dist/compat/math/minBy.mjs-function ZQe(e, t = zW) {+function QQe(e, t = BW) {if (e == null) return;let n = U4(e);if (n.length === 0) return;- let r = CG(t), i, a;+ let r = wG(t), i, a;for (let e = 0; e < n.length; e++) {let t = n[e], o = r(t, e, n);o == null || Number.isNaN(o) || typeof o == "symbol" || (a === void 0 || o < a) && (a = o, i = t);@@ -86115,7 +86128,7 @@ function ZQe(e, t = zW) {}//#endregion//#region node_modules/recharts/es6/state/polarAxisSlice.js-var QQe = _q({+var $Qe = vq({name: "polarAxis",initialState: {radiusAxis: {},@@ -86123,19 +86136,19 @@ var QQe = _q({},reducers: {addRadiusAxis(e, t) {- e.radiusAxis[t.payload.id] = oq(t.payload);+ e.radiusAxis[t.payload.id] = sq(t.payload);},removeRadiusAxis(e, t) {delete e.radiusAxis[t.payload.id];},addAngleAxis(e, t) {- e.angleAxis[t.payload.id] = oq(t.payload);+ e.angleAxis[t.payload.id] = sq(t.payload);},removeAngleAxis(e, t) {delete e.angleAxis[t.payload.id];}}-}), W4 = QQe.actions, $Qe = W4.addRadiusAxis, e$e = W4.removeRadiusAxis, t$e = W4.addAngleAxis, n$e = W4.removeAngleAxis, r$e = QQe.reducer;+}), W4 = $Qe.actions, e$e = W4.addRadiusAxis, t$e = W4.removeRadiusAxis, n$e = W4.addAngleAxis, r$e = W4.removeAngleAxis, i$e = $Qe.reducer;//#endregion//#region node_modules/recharts/es6/util/getClassNameFromUnknown.jsfunction G4(e) {@@ -86143,12 +86156,12 @@ function G4(e) {}//#endregion//#region node_modules/recharts/es6/polar/PolarRadiusAxis.js-var i$e = ["type"], a$e = [+var a$e = ["type"], o$e = ["cx","cy","angle","axisLine"-], o$e = [+], s$e = ["angle","tickFormatter","stroke",@@ -86163,7 +86176,7 @@ function K4() {return e;}, K4.apply(null, arguments);}-function s$e(e, t) {+function c$e(e, t) {var n = Object.keys(e);if (Object.getOwnPropertySymbols) {var r = Object.getOwnPropertySymbols(e);@@ -86176,27 +86189,27 @@ function s$e(e, t) {function q4(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t] == null ? {} : arguments[t];- t % 2 ? s$e(Object(n), !0).forEach(function(t) {- c$e(e, t, n[t]);- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : s$e(Object(n)).forEach(function(t) {+ t % 2 ? c$e(Object(n), !0).forEach(function(t) {+ l$e(e, t, n[t]);+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : c$e(Object(n)).forEach(function(t) {Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));});}return e;}-function c$e(e, t, n) {- return (t = l$e(t)) in e ? Object.defineProperty(e, t, {+function l$e(e, t, n) {+ return (t = u$e(t)) in e ? Object.defineProperty(e, t, {value: n,enumerable: !0,configurable: !0,writable: !0}) : e[t] = n, e;}-function l$e(e) {- var t = u$e(e, "string");+function u$e(e) {+ var t = d$e(e, "string");return typeof t == "symbol" ? t : t + "";}-function u$e(e, t) {+function d$e(e, t) {if (typeof e != "object" || !e) return e;var n = e[Symbol.toPrimitive];if (n !== void 0) {@@ -86208,14 +86221,14 @@ function u$e(e, t) {}function J4(e, t) {if (e == null) return {};- var n, r, i = d$e(e, t);+ var n, r, i = f$e(e, t);if (Object.getOwnPropertySymbols) {var a = Object.getOwnPropertySymbols(e);for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);}return i;}-function d$e(e, t) {+function f$e(e, t) {if (e == null) return {};var n = {};for (var r in e) if ({}.hasOwnProperty.call(e, r)) {@@ -86224,20 +86237,20 @@ function d$e(e, t) {}return n;}-var f$e = "radiusAxis";-function p$e(e) {- var t = DG(), n = UJ(), r = (0, b.useMemo)(() => {- var t = e.type, r = J4(e, i$e), i = qX(n, "radiusAxis", t);+var p$e = "radiusAxis";+function m$e(e) {+ var t = OG(), n = WJ(), r = (0, b.useMemo)(() => {+ var t = e.type, r = J4(e, a$e), i = JX(n, "radiusAxis", t);if (i != null) return q4(q4({}, r), {}, { type: i });}, [e, n]);- return (0, b.useEffect)(() => r == null ? DU : (t($Qe(r)), () => {- t(e$e(r));+ return (0, b.useEffect)(() => r == null ? OU : (t(e$e(r)), () => {+ t(t$e(r));}), [t, r]), null;}-var m$e = (e, t, n, r) => {+var h$e = (e, t, n, r) => {var i = e.coordinate;- return iX(n, r, i, t);-}, h$e = (e) => {+ return aX(n, r, i, t);+}, g$e = (e) => {var t;switch (e) {case "left":@@ -86249,49 +86262,49 @@ var m$e = (e, t, n, r) => {default: t = "middle";}return t;-}, g$e = (e, t, n, r) => {- var i = XQe(r, (e) => e.coordinate || 0);+}, _$e = (e, t, n, r) => {+ var i = ZQe(r, (e) => e.coordinate || 0);return {cx: t,cy: n,startAngle: e,endAngle: e,- innerRadius: ZQe(r, (e) => e.coordinate || 0)?.coordinate || 0,+ innerRadius: QQe(r, (e) => e.coordinate || 0)?.coordinate || 0,outerRadius: i?.coordinate || 0,clockWise: !1};-}, _$e = (e, t) => {- var n = e.cx, r = e.cy, i = e.angle, a = e.axisLine, o = J4(e, a$e), s = t.reduce((e, t) => [Math.min(e[0], t.coordinate), Math.max(e[1], t.coordinate)], [Infinity, -Infinity]), c = iX(n, r, s[0], i), l = iX(n, r, s[1], i), u = q4(q4(q4({}, QH(o)), {}, { fill: "none" }, QH(a)), {}, {+}, v$e = (e, t) => {+ var n = e.cx, r = e.cy, i = e.angle, a = e.axisLine, o = J4(e, o$e), s = t.reduce((e, t) => [Math.min(e[0], t.coordinate), Math.max(e[1], t.coordinate)], [Infinity, -Infinity]), c = aX(n, r, s[0], i), l = aX(n, r, s[1], i), u = q4(q4(q4({}, $H(o)), {}, { fill: "none" }, $H(a)), {}, {x1: c.x,y1: c.y,x2: l.x,y2: l.y});return /*#__PURE__*/ b.createElement("line", K4({ className: "recharts-polar-radius-axis-line" }, u));-}, v$e = (e, t, n) => /*#__PURE__*/ b.isValidElement(e) ? /*#__PURE__*/ b.cloneElement(e, t) : typeof e == "function" ? e(t) : /*#__PURE__*/ b.createElement(b4, K4({}, t, { className: "recharts-polar-radius-axis-tick-value" }), n), y$e = (e, t) => {- var n = e.angle, r = e.tickFormatter, i = e.stroke, a = e.tick, o = J4(e, o$e), s = h$e(e.orientation), c = QH(o), l = $H(a), u = t.map((t, o) => {- var u = m$e(t, e.angle, e.cx, e.cy), d = q4(q4(q4(q4({+}, y$e = (e, t, n) => /*#__PURE__*/ b.isValidElement(e) ? /*#__PURE__*/ b.cloneElement(e, t) : typeof e == "function" ? e(t) : /*#__PURE__*/ b.createElement(b4, K4({}, t, { className: "recharts-polar-radius-axis-tick-value" }), n), b$e = (e, t) => {+ var n = e.angle, r = e.tickFormatter, i = e.stroke, a = e.tick, o = J4(e, s$e), s = g$e(e.orientation), c = $H(o), l = eU(a), u = t.map((t, o) => {+ var u = h$e(t, e.angle, e.cx, e.cy), d = q4(q4(q4(q4({textAnchor: s,transform: `rotate(${90 - n}, ${u.x}, ${u.y})`}, c), {}, {stroke: "none",fill: i}, l), {}, { index: o }, u), {}, { payload: t });- return /*#__PURE__*/ b.createElement(iU, K4({+ return /*#__PURE__*/ b.createElement(aU, K4({className: hy("recharts-polar-radius-axis-tick", G4(a)),key: `tick-${t.coordinate}`- }, MW(e, t, o)), v$e(a, d, r ? r(t.value, o) : t.value));+ }, NW(e, t, o)), y$e(a, d, r ? r(t.value, o) : t.value));});- return /*#__PURE__*/ b.createElement(iU, { className: "recharts-polar-radius-axis-ticks" }, u);-}, b$e = (e) => {- var t = e.radiusAxisId, n = J(oZ), r = J((e) => z4(e, "radiusAxis", t)), i = J((e) => B4(e, "radiusAxis", t, !1));+ return /*#__PURE__*/ b.createElement(aU, { className: "recharts-polar-radius-axis-ticks" }, u);+}, x$e = (e) => {+ var t = e.radiusAxisId, n = J(sZ), r = J((e) => z4(e, "radiusAxis", t)), i = J((e) => B4(e, "radiusAxis", t, !1));if (n == null || !i || !i.length || r == null) return null;var a = q4(q4({}, e), {}, { scale: r }, n), o = a.tick, s = a.axisLine;- return /*#__PURE__*/ b.createElement(a4, { zIndex: a.zIndex }, /*#__PURE__*/ b.createElement(iU, { className: hy("recharts-polar-radius-axis", f$e, a.className) }, s && _$e(a, i), o && y$e(a, i), /*#__PURE__*/ b.createElement(XZe, g$e(a.angle, a.cx, a.cy, i), /*#__PURE__*/ b.createElement(oQe, { label: a.label }), a.children)));+ return /*#__PURE__*/ b.createElement(a4, { zIndex: a.zIndex }, /*#__PURE__*/ b.createElement(aU, { className: hy("recharts-polar-radius-axis", p$e, a.className) }, s && v$e(a, i), o && b$e(a, i), /*#__PURE__*/ b.createElement(ZZe, _$e(a.angle, a.cx, a.cy, i), /*#__PURE__*/ b.createElement(sQe, { label: a.label }), a.children)));};-function x$e(e) {- var t = PW(e, GX);- return /*#__PURE__*/ b.createElement(b.Fragment, null, /*#__PURE__*/ b.createElement(p$e, {+function S$e(e) {+ var t = FW(e, KX);+ return /*#__PURE__*/ b.createElement(b.Fragment, null, /*#__PURE__*/ b.createElement(m$e, {domain: t.domain,id: t.radiusAxisId,scale: t.scale,@@ -86308,12 +86321,12 @@ function x$e(e) {ticks: t.ticks,tickCount: t.tickCount,tick: t.tick- }), /*#__PURE__*/ b.createElement(b$e, t));+ }), /*#__PURE__*/ b.createElement(x$e, t));}-x$e.displayName = "PolarRadiusAxis";+S$e.displayName = "PolarRadiusAxis";//#endregion//#region node_modules/recharts/es6/polar/PolarAngleAxis.js-var S$e = ["children", "type"], C$e = ["ref"];+var C$e = ["children", "type"], w$e = ["ref"];function Y4() {return Y4 = Object.assign ? Object.assign.bind() : function(e) {for (var t = 1; t < arguments.length; t++) {@@ -86323,7 +86336,7 @@ function Y4() {return e;}, Y4.apply(null, arguments);}-function w$e(e, t) {+function T$e(e, t) {var n = Object.keys(e);if (Object.getOwnPropertySymbols) {var r = Object.getOwnPropertySymbols(e);@@ -86336,27 +86349,27 @@ function w$e(e, t) {function X4(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t] == null ? {} : arguments[t];- t % 2 ? w$e(Object(n), !0).forEach(function(t) {- T$e(e, t, n[t]);- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : w$e(Object(n)).forEach(function(t) {+ t % 2 ? T$e(Object(n), !0).forEach(function(t) {+ E$e(e, t, n[t]);+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : T$e(Object(n)).forEach(function(t) {Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));});}return e;}-function T$e(e, t, n) {- return (t = E$e(t)) in e ? Object.defineProperty(e, t, {+function E$e(e, t, n) {+ return (t = D$e(t)) in e ? Object.defineProperty(e, t, {value: n,enumerable: !0,configurable: !0,writable: !0}) : e[t] = n, e;}-function E$e(e) {- var t = D$e(e, "string");+function D$e(e) {+ var t = O$e(e, "string");return typeof t == "symbol" ? t : t + "";}-function D$e(e, t) {+function O$e(e, t) {if (typeof e != "object" || !e) return e;var n = e[Symbol.toPrimitive];if (n !== void 0) {@@ -86366,16 +86379,16 @@ function D$e(e, t) {}return (t === "string" ? String : Number)(e);}-function O$e(e, t) {+function k$e(e, t) {if (e == null) return {};- var n, r, i = k$e(e, t);+ var n, r, i = A$e(e, t);if (Object.getOwnPropertySymbols) {var a = Object.getOwnPropertySymbols(e);for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);}return i;}-function k$e(e, t) {+function A$e(e, t) {if (e == null) return {};var n = {};for (var r in e) if ({}.hasOwnProperty.call(e, r)) {@@ -86384,50 +86397,50 @@ function k$e(e, t) {}return n;}-var A$e = 1e-5, j$e = Math.cos(rX(45)), M$e = "angleAxis";-function N$e(e) {- var t = DG(), n = UJ(), r = (0, b.useMemo)(() => {+var j$e = 1e-5, M$e = Math.cos(iX(45)), N$e = "angleAxis";+function P$e(e) {+ var t = OG(), n = WJ(), r = (0, b.useMemo)(() => {e.children;- var t = e.type, r = O$e(e, S$e), i = qX(n, "angleAxis", t);+ var t = e.type, r = k$e(e, C$e), i = JX(n, "angleAxis", t);if (i != null) return X4(X4({}, r), {}, { type: i });- }, [e, n]), i = r === J((e) => QX(e, r?.id));- return (0, b.useEffect)(() => r == null ? DU : (t(t$e(r)), () => {- t(n$e(r));+ }, [e, n]), i = r === J((e) => $X(e, r?.id));+ return (0, b.useEffect)(() => r == null ? OU : (t(n$e(r)), () => {+ t(r$e(r));}), [t, r]), i ? e.children : null;}-var P$e = (e, t) => {- var n = t.cx, r = t.cy, i = t.radius, a = t.orientation, o = t.tickSize || 8, s = iX(n, r, i, e.coordinate), c = iX(n, r, i + (a === "inner" ? -1 : 1) * o, e.coordinate);+var F$e = (e, t) => {+ var n = t.cx, r = t.cy, i = t.radius, a = t.orientation, o = t.tickSize || 8, s = aX(n, r, i, e.coordinate), c = aX(n, r, i + (a === "inner" ? -1 : 1) * o, e.coordinate);return {x1: s.x,y1: s.y,x2: c.x,y2: c.y};-}, F$e = (e, t) => {- var n = Math.cos(rX(-e.coordinate));- return n > A$e ? t === "outer" ? "start" : "end" : n < -A$e ? t === "outer" ? "end" : "start" : "middle";-}, I$e = (e) => {- var t = Math.cos(rX(-e.coordinate)), n = Math.sin(rX(-e.coordinate));- return Math.abs(t) <= j$e ? n > 0 ? "start" : "end" : "middle";+}, I$e = (e, t) => {+ var n = Math.cos(iX(-e.coordinate));+ return n > j$e ? t === "outer" ? "start" : "end" : n < -j$e ? t === "outer" ? "end" : "start" : "middle";}, L$e = (e) => {+ var t = Math.cos(iX(-e.coordinate)), n = Math.sin(iX(-e.coordinate));+ return Math.abs(t) <= M$e ? n > 0 ? "start" : "end" : "middle";+}, R$e = (e) => {var t = e.cx, n = e.cy, r = e.radius, i = e.axisLineType, a = e.axisLine, o = e.ticks;if (!a) return null;- var s = X4(X4({}, QH(e)), {}, { fill: "none" }, QH(a));+ var s = X4(X4({}, $H(e)), {}, { fill: "none" }, $H(a));if (i === "circle") return /*#__PURE__*/ b.createElement(N4, Y4({ className: "recharts-polar-angle-axis-line" }, s, {cx: t,cy: n,r}));- var c = o.map((e) => iX(t, n, r, e.coordinate));- return /*#__PURE__*/ b.createElement(TQe, Y4({ className: "recharts-polar-angle-axis-line" }, s, { points: c }));-}, R$e = (e) => {+ var c = o.map((e) => aX(t, n, r, e.coordinate));+ return /*#__PURE__*/ b.createElement(EQe, Y4({ className: "recharts-polar-angle-axis-line" }, s, { points: c }));+}, z$e = (e) => {var t = e.tick, n = e.tickProps, r = e.value;return t ? /*#__PURE__*/ b.isValidElement(t) ? /*#__PURE__*/ b.cloneElement(t, n) : typeof t == "function" ? t(n) : /*#__PURE__*/ b.createElement(b4, Y4({}, n, { className: "recharts-polar-angle-axis-tick-value" }), r) : null;-}, z$e = (e) => {- var t = e.tick, n = e.tickLine, r = e.tickFormatter, i = e.stroke, a = e.ticks, o = QH(e);+}, B$e = (e) => {+ var t = e.tick, n = e.tickLine, r = e.tickFormatter, i = e.stroke, a = e.ticks, o = $H(e);o.ref;- var s = O$e(o, C$e), c = $H(t), l = X4(X4({}, s), {}, { fill: "none" }, QH(n)), u = a.map((a, o) => {- var u = P$e(a, e), d = F$e(a, e.orientation), f = I$e(a), p = X4(X4(X4({}, s), {}, {+ var s = k$e(o, w$e), c = eU(t), l = X4(X4({}, s), {}, { fill: "none" }, $H(n)), u = a.map((a, o) => {+ var u = F$e(a, e), d = I$e(a, e.orientation), f = L$e(a), p = X4(X4(X4({}, s), {}, {textAnchor: d,verticalAnchor: f,stroke: "none",@@ -86438,28 +86451,28 @@ var P$e = (e, t) => {x: u.x2,y: u.y2});- return /*#__PURE__*/ b.createElement(iU, Y4({+ return /*#__PURE__*/ b.createElement(aU, Y4({className: hy("recharts-polar-angle-axis-tick", G4(t)),key: `tick-${a.coordinate}`- }, MW(e, a, o)), n && /*#__PURE__*/ b.createElement("line", Y4({ className: "recharts-polar-angle-axis-tick-line" }, l, u)), /*#__PURE__*/ b.createElement(R$e, {+ }, NW(e, a, o)), n && /*#__PURE__*/ b.createElement("line", Y4({ className: "recharts-polar-angle-axis-tick-line" }, l, u)), /*#__PURE__*/ b.createElement(z$e, {tick: t,tickProps: p,value: r ? r(a.value, o) : a.value}));});- return /*#__PURE__*/ b.createElement(iU, { className: "recharts-polar-angle-axis-ticks" }, u);-}, B$e = (e) => {- var t = e.angleAxisId, n = J(oZ), r = J((e) => z4(e, "angleAxis", t)), i = xJ(), a = J((e) => MQe(e, "angleAxis", t, i));+ return /*#__PURE__*/ b.createElement(aU, { className: "recharts-polar-angle-axis-ticks" }, u);+}, V$e = (e) => {+ var t = e.angleAxisId, n = J(sZ), r = J((e) => z4(e, "angleAxis", t)), i = SJ(), a = J((e) => NQe(e, "angleAxis", t, i));if (n == null || !a || !a.length || r == null) return null;var o = X4(X4(X4({}, e), {}, { scale: r }, n), {}, {radius: n.outerRadius,ticks: a});- return /*#__PURE__*/ b.createElement(a4, { zIndex: o.zIndex }, /*#__PURE__*/ b.createElement(iU, { className: hy("recharts-polar-angle-axis", M$e, o.className) }, /*#__PURE__*/ b.createElement(L$e, o), /*#__PURE__*/ b.createElement(z$e, o)));+ return /*#__PURE__*/ b.createElement(a4, { zIndex: o.zIndex }, /*#__PURE__*/ b.createElement(aU, { className: hy("recharts-polar-angle-axis", N$e, o.className) }, /*#__PURE__*/ b.createElement(R$e, o), /*#__PURE__*/ b.createElement(B$e, o)));};function Z4(e) {- var t = PW(e, WX);- return /*#__PURE__*/ b.createElement(N$e, {+ var t = FW(e, GX);+ return /*#__PURE__*/ b.createElement(P$e, {id: t.angleAxisId,scale: t.scale,type: t.type,@@ -86476,12 +86489,12 @@ function Z4(e) {ticks: t.ticks,tick: t.tick,domain: t.domain- }, /*#__PURE__*/ b.createElement(B$e, t));+ }, /*#__PURE__*/ b.createElement(V$e, t));}Z4.displayName = "PolarAngleAxis";//#endregion//#region node_modules/react-is/cjs/react-is.production.js-var V$e = /* @__PURE__ */ o(((e) => {+var H$e = /* @__PURE__ */ o(((e) => {var t = Symbol.for("react.transitional.element"), n = Symbol.for("react.portal"), r = Symbol.for("react.fragment"), i = Symbol.for("react.strict_mode"), a = Symbol.for("react.profiler"), o = Symbol.for("react.consumer"), s = Symbol.for("react.context"), c = Symbol.for("react.forward_ref"), l = Symbol.for("react.suspense"), u = Symbol.for("react.suspense_list"), d = Symbol.for("react.memo"), f = Symbol.for("react.lazy"), p = Symbol.for("react.view_transition");function m(e) {if (typeof e == "object" && e) {@@ -86510,26 +86523,26 @@ var V$e = /* @__PURE__ */ o(((e) => {e.isFragment = function(e) {return m(e) === r;};-})), H$e = (/* @__PURE__ */ o(((e, t) => {- t.exports = V$e();-})))(), U$e = (e) => typeof e == "string" ? e : e ? e.displayName || e.name || "Component" : "", W$e = null, Q4 = null, G$e = (e) => {- if (e === W$e && Array.isArray(Q4)) return Q4;+})), U$e = (/* @__PURE__ */ o(((e, t) => {+ t.exports = H$e();+})))(), W$e = (e) => typeof e == "string" ? e : e ? e.displayName || e.name || "Component" : "", G$e = null, Q4 = null, K$e = (e) => {+ if (e === G$e && Array.isArray(Q4)) return Q4;var t = [];return b.Children.forEach(e, (e) => {- wU(e) || ((0, H$e.isFragment)(e) ? t = t.concat(G$e(e.props.children)) : t.push(e));- }), Q4 = t, W$e = e, t;+ TU(e) || ((0, U$e.isFragment)(e) ? t = t.concat(K$e(e.props.children)) : t.push(e));+ }), Q4 = t, G$e = e, t;};-function K$e(e, t) {+function q$e(e, t) {var n = [], r = [];- return r = Array.isArray(t) ? t.map((e) => U$e(e)) : [U$e(t)], G$e(e).forEach((e) => {- var t = dU(e, "type.displayName") || dU(e, "type.name");+ return r = Array.isArray(t) ? t.map((e) => W$e(e)) : [W$e(t)], K$e(e).forEach((e) => {+ var t = fU(e, "type.displayName") || fU(e, "type.name");t && r.indexOf(t) !== -1 && n.push(e);}), n;}var $4 = (e) => e && typeof e == "object" && "clipDot" in e ? !!e.clipDot : !0;//#endregion//#region node_modules/recharts/es6/util/ActiveShapeUtils.js-function q$e(e, t) {+function J$e(e, t) {var n = Object.keys(e);if (Object.getOwnPropertySymbols) {var r = Object.getOwnPropertySymbols(e);@@ -86539,30 +86552,30 @@ function q$e(e, t) {}return n;}-function J$e(e) {+function Y$e(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t] == null ? {} : arguments[t];- t % 2 ? q$e(Object(n), !0).forEach(function(t) {- Y$e(e, t, n[t]);- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : q$e(Object(n)).forEach(function(t) {+ t % 2 ? J$e(Object(n), !0).forEach(function(t) {+ X$e(e, t, n[t]);+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : J$e(Object(n)).forEach(function(t) {Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));});}return e;}-function Y$e(e, t, n) {- return (t = X$e(t)) in e ? Object.defineProperty(e, t, {+function X$e(e, t, n) {+ return (t = Z$e(t)) in e ? Object.defineProperty(e, t, {value: n,enumerable: !0,configurable: !0,writable: !0}) : e[t] = n, e;}-function X$e(e) {- var t = Z$e(e, "string");+function Z$e(e) {+ var t = Q$e(e, "string");return typeof t == "symbol" ? t : t + "";}-function Z$e(e, t) {+function Q$e(e, t) {if (typeof e != "object" || !e) return e;var n = e[Symbol.toPrimitive];if (n !== void 0) {@@ -86572,34 +86585,34 @@ function Z$e(e, t) {}return (t === "string" ? String : Number)(e);}-function Q$e(e, t) {- return J$e(J$e({}, t), e);+function $$e(e, t) {+ return Y$e(Y$e({}, t), e);}-function $$e(e) {+function e1e(e) {return /*#__PURE__*/ (0, b.isValidElement)(e) ? e.props : e;}-function e1e(e, t) {- return /*#__PURE__*/ (0, b.cloneElement)(e, Q$e($$e(e), t));+function t1e(e, t) {+ return /*#__PURE__*/ (0, b.cloneElement)(e, $$e(e1e(e), t));}-function t1e(e) {+function n1e(e) {if ("index" in e) {var t = e.index;return typeof t == "number" || typeof t == "string" ? t : void 0;}}-function n1e(e) {+function r1e(e) {return "isActive" in e && e.isActive === !0;}function e3(e) {- var t = e.option, n = e.DefaultShape, r = e.shapeProps, i = e.activeClassName, a = i === void 0 ? "recharts-active-shape" : i, o = e.inActiveClassName, s = o === void 0 ? "recharts-shape" : o, c = t1e(r), l = /*#__PURE__*/ (0, b.isValidElement)(t) ? e1e(t, r) : t === n ? /*#__PURE__*/ b.createElement(n, r) : typeof t == "function" ? t(r, c) : typeof t == "object" ? /*#__PURE__*/ b.createElement(n, Q$e(t, r)) : /*#__PURE__*/ b.createElement(n, r);- return n1e(r) ? /*#__PURE__*/ b.createElement(iU, { className: a }, l) : /*#__PURE__*/ b.createElement(iU, { className: s }, l);+ var t = e.option, n = e.DefaultShape, r = e.shapeProps, i = e.activeClassName, a = i === void 0 ? "recharts-active-shape" : i, o = e.inActiveClassName, s = o === void 0 ? "recharts-shape" : o, c = n1e(r), l = /*#__PURE__*/ (0, b.isValidElement)(t) ? t1e(t, r) : t === n ? /*#__PURE__*/ b.createElement(n, r) : typeof t == "function" ? t(r, c) : typeof t == "object" ? /*#__PURE__*/ b.createElement(n, $$e(t, r)) : /*#__PURE__*/ b.createElement(n, r);+ return r1e(r) ? /*#__PURE__*/ b.createElement(aU, { className: a }, l) : /*#__PURE__*/ b.createElement(aU, { className: s }, l);}//#endregion//#region node_modules/recharts/es6/context/tooltipContext.jsvar t3 = (e, t, n) => {- var r = DG();+ var r = OG();return (i, a) => (o) => {- e?.(i, a, o), r(f2({+ e?.(i, a, o), r(p2({activeIndex: String(a),activeDataKey: t,activeCoordinate: i.tooltipPosition,@@ -86607,12 +86620,12 @@ var t3 = (e, t, n) => {}));};}, n3 = (e) => {- var t = DG();+ var t = OG();return (n, r) => (i) => {e?.(n, r, i), t(SJe());};}, r3 = (e, t, n) => {- var r = DG();+ var r = OG();return (i, a) => (o) => {e?.(i, a, o), r(CJe({activeIndex: String(a),@@ -86625,7 +86638,7 @@ var t3 = (e, t, n) => {//#endregion//#region node_modules/recharts/es6/state/SetTooltipEntrySettings.jsfunction i3(e) {- var t = e.tooltipEntrySettings, n = DG(), r = xJ(), i = (0, b.useRef)(null);+ var t = e.tooltipEntrySettings, n = OG(), r = SJ(), i = (0, b.useRef)(null);return (0, b.useLayoutEffect)(() => {r || (i.current === null ? n(vJe(t)) : i.current !== t && n(yJe({prev: i.current,@@ -86642,9 +86655,9 @@ function i3(e) {//#endregion//#region node_modules/recharts/es6/state/SetLegendPayload.jsfunction a3(e) {- var t = e.legendPayload, n = DG(), r = xJ(), i = (0, b.useRef)(null);+ var t = e.legendPayload, n = OG(), r = SJ(), i = (0, b.useRef)(null);return (0, b.useLayoutEffect)(() => {- r || (i.current === null ? n(JJ(t)) : i.current !== t && n(YJ({+ r || (i.current === null ? n(YJ(t)) : i.current !== t && n(XJ({prev: i.current,next: t})), i.current = t);@@ -86653,13 +86666,13 @@ function a3(e) {r,t]), (0, b.useLayoutEffect)(() => () => {- i.current &&= (n(XJ(i.current)), null);+ i.current &&= (n(ZJ(i.current)), null);}, [n]), null;}-function r1e(e) {- var t = e.legendPayload, n = DG(), r = J(zJ), i = (0, b.useRef)(null);+function i1e(e) {+ var t = e.legendPayload, n = OG(), r = J(BJ), i = (0, b.useRef)(null);return (0, b.useLayoutEffect)(() => {- (r === "centric" || r === "radial") && (i.current === null ? n(JJ(t)) : i.current !== t && n(YJ({+ (r === "centric" || r === "radial") && (i.current === null ? n(YJ(t)) : i.current !== t && n(XJ({prev: i.current,next: t})), i.current = t);@@ -86668,30 +86681,30 @@ function r1e(e) {r,t]), (0, b.useLayoutEffect)(() => () => {- i.current &&= (n(XJ(i.current)), null);+ i.current &&= (n(ZJ(i.current)), null);}, [n]), null;}//#endregion//#region node_modules/recharts/es6/animation/matchBy.js-function i1e(e, t) {- return l1e(e) || c1e(e, t) || o1e(e, t) || a1e();+function a1e(e, t) {+ return u1e(e) || l1e(e, t) || s1e(e, t) || o1e();}-function a1e() {+function o1e() {throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}-function o1e(e, t) {+function s1e(e, t) {if (e) {- if (typeof e == "string") return s1e(e, t);+ if (typeof e == "string") return c1e(e, t);var n = {}.toString.call(e).slice(8, -1);- return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? s1e(e, t) : void 0;+ return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? c1e(e, t) : void 0;}}-function s1e(e, t) {+function c1e(e, t) {(t == null || t > e.length) && (t = e.length);for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];return r;}-function c1e(e, t) {+function l1e(e, t) {var n = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];if (n != null) {var r, i, a, o, s = [], c = !0, l = !1;@@ -86712,10 +86725,10 @@ function c1e(e, t) {return s;}}-function l1e(e) {+function u1e(e) {if (Array.isArray(e)) return e;}-var o3 = "index", u1e = "append";+var o3 = "index", d1e = "append";function s3(e, t) {var n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : [], r = [];for (var i of n) r.push({@@ -86735,14 +86748,14 @@ function s3(e, t) {}return r;}-function d1e(e, t) {+function f1e(e, t) {var n = e.length / t.length;return s3(t.map((t, r) => e[Math.floor(r * n)]), t);}-function f1e(e, t) {+function p1e(e, t) {return s3(t.map((t, n) => e[n]), t);}-function p1e(e, t) {+function m1e(e, t) {for (var n = /* @__PURE__ */ new Map(), r = 0; r < e.length; r++) {var i = e[r];if (i != null) {@@ -86752,8 +86765,8 @@ function p1e(e, t) {}return n;}-function m1e(e, t, n) {- var r = p1e(e, n), i = /* @__PURE__ */ new Set(), a = t.map((e, t) => {+function h1e(e, t, n) {+ var r = m1e(e, n), i = /* @__PURE__ */ new Set(), a = t.map((e, t) => {var a = n(e, t);if (a != null) {var o = r.get(a);@@ -86761,7 +86774,7 @@ function m1e(e, t, n) {}}), o = [];for (var s of r) {- var c = i1e(s, 2), l = c[0], u = c[1];+ var c = a1e(s, 2), l = c[0], u = c[1];i.has(l) || o.push(u);}return s3(a, t, o);@@ -86770,7 +86783,7 @@ function c3(e, t, n) {return t == null ? null : e == null ? t.map((e) => ({status: "added",next: e- })) : n === "index" ? d1e(e, t) : n === "append" ? f1e(e, t) : m1e(e, t, n);+ })) : n === "index" ? f1e(e, t) : n === "append" ? p1e(e, t) : h1e(e, t, n);}//#endregion//#region node_modules/recharts/es6/animation/useAnimationStartSnapshot.js@@ -86788,25 +86801,25 @@ function l3(e, t) {}//#endregion//#region node_modules/recharts/es6/animation/AnimatedItems.js-function h1e(e, t) {- return b1e(e) || y1e(e, t) || _1e(e, t) || g1e();+function g1e(e, t) {+ return x1e(e) || b1e(e, t) || v1e(e, t) || _1e();}-function g1e() {+function _1e() {throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}-function _1e(e, t) {+function v1e(e, t) {if (e) {- if (typeof e == "string") return v1e(e, t);+ if (typeof e == "string") return y1e(e, t);var n = {}.toString.call(e).slice(8, -1);- return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? v1e(e, t) : void 0;+ return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? y1e(e, t) : void 0;}}-function v1e(e, t) {+function y1e(e, t) {(t == null || t > e.length) && (t = e.length);for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];return r;}-function y1e(e, t) {+function b1e(e, t) {var n = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];if (n != null) {var r, i, a, o, s = [], c = !0, l = !1;@@ -86827,11 +86840,11 @@ function y1e(e, t) {return s;}}-function b1e(e) {+function x1e(e) {if (Array.isArray(e)) return e;}function u3(e, t) {- var n = h1e((0, b.useState)(!1), 2), r = n[0], i = n[1];+ var n = g1e((0, b.useState)(!1), 2), r = n[0], i = n[1];return {isAnimating: r,handleAnimationStart: (0, b.useCallback)(() => {@@ -86843,8 +86856,8 @@ function u3(e, t) {};}function d3(e) {- var t = e.animationInput, n = e.animationIdPrefix, r = e.items, i = e.previousItemsRef, a = e.isAnimationActive, o = e.animationBegin, s = e.animationDuration, c = e.animationEasing, l = e.onAnimationStart, u = e.onAnimationEnd, d = e.animationInterpolateFn, f = e.animationMatchBy, p = e.shouldUpdatePreviousRef, m = e.children, h = e.layout, g = WY(t, n), _ = l3(g, i), v = _.startValue ?? null, y = c3(v, r, f ?? o3);- return /*#__PURE__*/ b.createElement(UY, {+ var t = e.animationInput, n = e.animationIdPrefix, r = e.items, i = e.previousItemsRef, a = e.isAnimationActive, o = e.animationBegin, s = e.animationDuration, c = e.animationEasing, l = e.onAnimationStart, u = e.onAnimationEnd, d = e.animationInterpolateFn, f = e.animationMatchBy, p = e.shouldUpdatePreviousRef, m = e.children, h = e.layout, g = GY(t, n), _ = l3(g, i), v = _.startValue ?? null, y = c3(v, r, f ?? o3);+ return /*#__PURE__*/ b.createElement(WY, {animationId: g,begin: o,duration: s,@@ -86858,25 +86871,25 @@ function d3(e) {return _.syncStepValue(n, e, i), n == null ? null : m(n, e, t);});}-function x1e(e, t) {- return E1e(e) || T1e(e, t) || C1e(e, t) || S1e();+function S1e(e, t) {+ return D1e(e) || E1e(e, t) || w1e(e, t) || C1e();}-function S1e() {+function C1e() {throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}-function C1e(e, t) {+function w1e(e, t) {if (e) {- if (typeof e == "string") return w1e(e, t);+ if (typeof e == "string") return T1e(e, t);var n = {}.toString.call(e).slice(8, -1);- return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? w1e(e, t) : void 0;+ return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? T1e(e, t) : void 0;}}-function w1e(e, t) {+function T1e(e, t) {(t == null || t > e.length) && (t = e.length);for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];return r;}-function T1e(e, t) {+function E1e(e, t) {var n = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];if (n != null) {var r, i, a, o, s = [], c = !0, l = !1;@@ -86897,22 +86910,22 @@ function T1e(e, t) {return s;}}-function E1e(e) {+function D1e(e) {if (Array.isArray(e)) return e;}-var D1e = b.useId ?? (() => x1e(b.useState(() => yU("uid-")), 1)[0]);+var O1e = b.useId ?? (() => S1e(b.useState(() => bU("uid-")), 1)[0]);//#endregion//#region node_modules/recharts/es6/util/useUniqueId.js-function O1e(e, t) {- var n = D1e();+function k1e(e, t) {+ var n = O1e();return t || (e ? `${e}-${n}` : n);}//#endregion//#region node_modules/recharts/es6/context/RegisterGraphicalItemId.js-var k1e = /*#__PURE__*/ (0, b.createContext)(void 0), f3 = (e) => {- var t = e.id, n = e.type, r = e.children, i = O1e(`recharts-${n}`, t);- return /*#__PURE__*/ b.createElement(k1e.Provider, { value: i }, r(i));-}, A1e = _q({+var A1e = /*#__PURE__*/ (0, b.createContext)(void 0), f3 = (e) => {+ var t = e.id, n = e.type, r = e.children, i = k1e(`recharts-${n}`, t);+ return /*#__PURE__*/ b.createElement(A1e.Provider, { value: i }, r(i));+}, j1e = vq({name: "graphicalItems",initialState: {cartesianItems: [],@@ -86921,80 +86934,80 @@ var k1e = /*#__PURE__*/ (0, b.createContext)(void 0), f3 = (e) => {reducers: {addCartesianGraphicalItem: {reducer(e, t) {- e.cartesianItems.push(oq(t.payload));+ e.cartesianItems.push(sq(t.payload));},- prepare: pq()+ prepare: mq()},replaceCartesianGraphicalItem: {reducer(e, t) {- var n = t.payload, r = n.prev, i = n.next, a = rq(e).cartesianItems.indexOf(oq(r));- a > -1 && (e.cartesianItems[a] = oq(i));+ var n = t.payload, r = n.prev, i = n.next, a = iq(e).cartesianItems.indexOf(sq(r));+ a > -1 && (e.cartesianItems[a] = sq(i));},- prepare: pq()+ prepare: mq()},removeCartesianGraphicalItem: {reducer(e, t) {- var n = rq(e).cartesianItems.indexOf(oq(t.payload));+ var n = iq(e).cartesianItems.indexOf(sq(t.payload));n > -1 && e.cartesianItems.splice(n, 1);},- prepare: pq()+ prepare: mq()},addPolarGraphicalItem: {reducer(e, t) {- e.polarItems.push(oq(t.payload));+ e.polarItems.push(sq(t.payload));},- prepare: pq()+ prepare: mq()},removePolarGraphicalItem: {reducer(e, t) {- var n = rq(e).polarItems.indexOf(oq(t.payload));+ var n = iq(e).polarItems.indexOf(sq(t.payload));n > -1 && e.polarItems.splice(n, 1);},- prepare: pq()+ prepare: mq()},replacePolarGraphicalItem: {reducer(e, t) {- var n = t.payload, r = n.prev, i = n.next, a = rq(e).polarItems.indexOf(oq(r));- a > -1 && (e.polarItems[a] = oq(i));+ var n = t.payload, r = n.prev, i = n.next, a = iq(e).polarItems.indexOf(sq(r));+ a > -1 && (e.polarItems[a] = sq(i));},- prepare: pq()+ prepare: mq()}}-}), p3 = A1e.actions, j1e = p3.addCartesianGraphicalItem, M1e = p3.replaceCartesianGraphicalItem, N1e = p3.removeCartesianGraphicalItem, P1e = p3.addPolarGraphicalItem, F1e = p3.removePolarGraphicalItem, I1e = p3.replacePolarGraphicalItem, L1e = A1e.reducer, m3 = /*#__PURE__*/ (0, b.memo)((e) => {- var t = DG(), n = (0, b.useRef)(null);+}), p3 = j1e.actions, M1e = p3.addCartesianGraphicalItem, N1e = p3.replaceCartesianGraphicalItem, P1e = p3.removeCartesianGraphicalItem, F1e = p3.addPolarGraphicalItem, I1e = p3.removePolarGraphicalItem, L1e = p3.replacePolarGraphicalItem, R1e = j1e.reducer, m3 = /*#__PURE__*/ (0, b.memo)((e) => {+ var t = OG(), n = (0, b.useRef)(null);return (0, b.useLayoutEffect)(() => {- n.current === null ? t(j1e(e)) : n.current !== e && t(M1e({+ n.current === null ? t(M1e(e)) : n.current !== e && t(N1e({prev: n.current,next: e})), n.current = e;}, [t, e]), (0, b.useLayoutEffect)(() => () => {- n.current &&= (t(N1e(n.current)), null);+ n.current &&= (t(P1e(n.current)), null);}, [t]), null;-}), R1e = /*#__PURE__*/ (0, b.memo)((e) => {- var t = DG(), n = (0, b.useRef)(null);+}), z1e = /*#__PURE__*/ (0, b.memo)((e) => {+ var t = OG(), n = (0, b.useRef)(null);return (0, b.useLayoutEffect)(() => {- n.current === null ? t(P1e(e)) : n.current !== e && t(I1e({+ n.current === null ? t(F1e(e)) : n.current !== e && t(L1e({prev: n.current,next: e})), n.current = e;}, [t, e]), (0, b.useLayoutEffect)(() => () => {- n.current &&= (t(F1e(n.current)), null);+ n.current &&= (t(I1e(n.current)), null);}, [t]), null;});//#endregion//#region node_modules/es-toolkit/dist/array/last.mjs-function z1e(e) {+function B1e(e) {return e[e.length - 1];}//#endregion//#region node_modules/es-toolkit/dist/compat/array/last.mjs-function B1e(e) {- if (BW(e) && e.length !== 0) return z1e(U4(e));+function V1e(e) {+ if (VW(e) && e.length !== 0) return B1e(U4(e));}//#endregion//#region node_modules/recharts/es6/component/Dots.js-var V1e = ["points"];-function H1e(e, t) {+var H1e = ["points"];+function U1e(e, t) {var n = Object.keys(e);if (Object.getOwnPropertySymbols) {var r = Object.getOwnPropertySymbols(e);@@ -87007,27 +87020,27 @@ function H1e(e, t) {function h3(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t] == null ? {} : arguments[t];- t % 2 ? H1e(Object(n), !0).forEach(function(t) {- U1e(e, t, n[t]);- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : H1e(Object(n)).forEach(function(t) {+ t % 2 ? U1e(Object(n), !0).forEach(function(t) {+ W1e(e, t, n[t]);+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : U1e(Object(n)).forEach(function(t) {Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));});}return e;}-function U1e(e, t, n) {- return (t = W1e(t)) in e ? Object.defineProperty(e, t, {+function W1e(e, t, n) {+ return (t = G1e(t)) in e ? Object.defineProperty(e, t, {value: n,enumerable: !0,configurable: !0,writable: !0}) : e[t] = n, e;}-function W1e(e) {- var t = G1e(e, "string");+function G1e(e) {+ var t = K1e(e, "string");return typeof t == "symbol" ? t : t + "";}-function G1e(e, t) {+function K1e(e, t) {if (typeof e != "object" || !e) return e;var n = e[Symbol.toPrimitive];if (n !== void 0) {@@ -87046,16 +87059,16 @@ function g3() {return e;}, g3.apply(null, arguments);}-function K1e(e, t) {+function q1e(e, t) {if (e == null) return {};- var n, r, i = q1e(e, t);+ var n, r, i = J1e(e, t);if (Object.getOwnPropertySymbols) {var a = Object.getOwnPropertySymbols(e);for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);}return i;}-function q1e(e, t) {+function J1e(e, t) {if (e == null) return {};var n = {};for (var r in e) if ({}.hasOwnProperty.call(e, r)) {@@ -87064,21 +87077,21 @@ function q1e(e, t) {}return n;}-function J1e(e) {+function Y1e(e) {var t = e.option, n = e.dotProps, r = e.className;if (/*#__PURE__*/ (0, b.isValidElement)(t)) return /*#__PURE__*/ (0, b.cloneElement)(t, n);if (typeof t == "function") return t(n);var i = hy(r, typeof t == "boolean" ? "" : t.className), a = n ?? {};a.points;- var o = K1e(a, V1e);+ var o = q1e(a, H1e);return /*#__PURE__*/ b.createElement(N4, g3({}, o, { className: i }));}-function Y1e(e, t) {+function X1e(e, t) {return e == null ? !1 : t ? !0 : e.length === 1;}function _3(e) {- var t = e.points, n = e.dot, r = e.className, i = e.dotClassName, a = e.dataKey, o = e.baseProps, s = e.needClip, c = e.clipPathId, l = e.zIndex, u = l === void 0 ? UX.scatter : l;- if (!Y1e(t, n)) return null;+ var t = e.points, n = e.dot, r = e.className, i = e.dotClassName, a = e.dataKey, o = e.baseProps, s = e.needClip, c = e.clipPathId, l = e.zIndex, u = l === void 0 ? WX.scatter : l;+ if (!X1e(t, n)) return null;var d = $4(n), f = NLe(n), p = t.map((e, r) => {var s = h3(h3(h3({ r: 3 }, o), f), {}, {index: r,@@ -87089,18 +87102,18 @@ function _3(e) {payload: e.payload,points: t});- return /*#__PURE__*/ b.createElement(J1e, {+ return /*#__PURE__*/ b.createElement(Y1e, {key: `dot-${r}`,option: n,dotProps: s,className: i});}), m = {};- return s && c != null && (m.clipPath = `url(#clipPath-${d ? "" : "dots-"}${c})`), /*#__PURE__*/ b.createElement(a4, { zIndex: u }, /*#__PURE__*/ b.createElement(iU, g3({ className: r }, m), p));+ return s && c != null && (m.clipPath = `url(#clipPath-${d ? "" : "dots-"}${c})`), /*#__PURE__*/ b.createElement(a4, { zIndex: u }, /*#__PURE__*/ b.createElement(aU, g3({ className: r }, m), p));}//#endregion//#region node_modules/recharts/es6/state/cartesianAxisSlice.js-function X1e(e, t) {+function Z1e(e, t) {var n = Object.keys(e);if (Object.getOwnPropertySymbols) {var r = Object.getOwnPropertySymbols(e);@@ -87113,27 +87126,27 @@ function X1e(e, t) {function v3(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t] == null ? {} : arguments[t];- t % 2 ? X1e(Object(n), !0).forEach(function(t) {- Z1e(e, t, n[t]);- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : X1e(Object(n)).forEach(function(t) {+ t % 2 ? Z1e(Object(n), !0).forEach(function(t) {+ Q1e(e, t, n[t]);+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Z1e(Object(n)).forEach(function(t) {Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));});}return e;}-function Z1e(e, t, n) {- return (t = Q1e(t)) in e ? Object.defineProperty(e, t, {+function Q1e(e, t, n) {+ return (t = $1e(t)) in e ? Object.defineProperty(e, t, {value: n,enumerable: !0,configurable: !0,writable: !0}) : e[t] = n, e;}-function Q1e(e) {- var t = $1e(e, "string");+function $1e(e) {+ var t = e0e(e, "string");return typeof t == "symbol" ? t : t + "";}-function $1e(e, t) {+function e0e(e, t) {if (typeof e != "object" || !e) return e;var n = e[Symbol.toPrimitive];if (n !== void 0) {@@ -87143,7 +87156,7 @@ function $1e(e, t) {}return (t === "string" ? String : Number)(e);}-var e0e = _q({+var t0e = vq({name: "cartesianAxis",initialState: {xAxis: {},@@ -87153,60 +87166,60 @@ var e0e = _q({reducers: {addXAxis: {reducer(e, t) {- e.xAxis[t.payload.id] = oq(t.payload);+ e.xAxis[t.payload.id] = sq(t.payload);},- prepare: pq()+ prepare: mq()},replaceXAxis: {reducer(e, t) {var n = t.payload, r = n.prev, i = n.next;- e.xAxis[r.id] !== void 0 && (r.id !== i.id && delete e.xAxis[r.id], e.xAxis[i.id] = oq(i));+ e.xAxis[r.id] !== void 0 && (r.id !== i.id && delete e.xAxis[r.id], e.xAxis[i.id] = sq(i));},- prepare: pq()+ prepare: mq()},removeXAxis: {reducer(e, t) {delete e.xAxis[t.payload.id];},- prepare: pq()+ prepare: mq()},addYAxis: {reducer(e, t) {- e.yAxis[t.payload.id] = oq(t.payload);+ e.yAxis[t.payload.id] = sq(t.payload);},- prepare: pq()+ prepare: mq()},replaceYAxis: {reducer(e, t) {var n = t.payload, r = n.prev, i = n.next;- e.yAxis[r.id] !== void 0 && (r.id !== i.id && delete e.yAxis[r.id], e.yAxis[i.id] = oq(i));+ e.yAxis[r.id] !== void 0 && (r.id !== i.id && delete e.yAxis[r.id], e.yAxis[i.id] = sq(i));},- prepare: pq()+ prepare: mq()},removeYAxis: {reducer(e, t) {delete e.yAxis[t.payload.id];},- prepare: pq()+ prepare: mq()},addZAxis: {reducer(e, t) {- e.zAxis[t.payload.id] = oq(t.payload);+ e.zAxis[t.payload.id] = sq(t.payload);},- prepare: pq()+ prepare: mq()},replaceZAxis: {reducer(e, t) {var n = t.payload, r = n.prev, i = n.next;- e.zAxis[r.id] !== void 0 && (r.id !== i.id && delete e.zAxis[r.id], e.zAxis[i.id] = oq(i));+ e.zAxis[r.id] !== void 0 && (r.id !== i.id && delete e.zAxis[r.id], e.zAxis[i.id] = sq(i));},- prepare: pq()+ prepare: mq()},removeZAxis: {reducer(e, t) {delete e.zAxis[t.payload.id];},- prepare: pq()+ prepare: mq()},updateYAxisWidth(e, t) {var n = t.payload, r = n.id, i = n.width, a = e.yAxis[r];@@ -87233,17 +87246,17 @@ var e0e = _q({}}}-}), y3 = e0e.actions, t0e = y3.addXAxis, n0e = y3.replaceXAxis, r0e = y3.removeXAxis, i0e = y3.addYAxis, a0e = y3.replaceYAxis, o0e = y3.removeYAxis;+}), y3 = t0e.actions, n0e = y3.addXAxis, r0e = y3.replaceXAxis, i0e = y3.removeXAxis, a0e = y3.addYAxis, o0e = y3.replaceYAxis, s0e = y3.removeYAxis;y3.addZAxis, y3.replaceZAxis, y3.removeZAxis;-var s0e = y3.updateYAxisWidth, c0e = y3.updateXAxisHeight, l0e = e0e.reducer, u0e = Y([- Y([vJ], (e) => ({+var c0e = y3.updateYAxisWidth, l0e = y3.updateXAxisHeight, u0e = t0e.reducer, d0e = Y([+ Y([yJ], (e) => ({top: e.top,bottom: e.bottom,left: e.left,right: e.right})),- dJ,- fJ+ fJ,+ pJ], (e, t, n) => {if (e && t != null && n != null) return {x: e.left,@@ -87251,10 +87264,10 @@ var s0e = y3.updateYAxisWidth, c0e = y3.updateXAxisHeight, l0e = e0e.reducer, u0width: Math.max(0, t - e.left - e.right),height: Math.max(0, n - e.top - e.bottom)};-}), b3 = () => J(u0e), d0e = () => J($Je);+}), b3 = () => J(d0e), f0e = () => J($Je);//#endregion//#region node_modules/recharts/es6/component/ActivePoints.js-function f0e(e, t) {+function p0e(e, t) {var n = Object.keys(e);if (Object.getOwnPropertySymbols) {var r = Object.getOwnPropertySymbols(e);@@ -87267,27 +87280,27 @@ function f0e(e, t) {function x3(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t] == null ? {} : arguments[t];- t % 2 ? f0e(Object(n), !0).forEach(function(t) {- p0e(e, t, n[t]);- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : f0e(Object(n)).forEach(function(t) {+ t % 2 ? p0e(Object(n), !0).forEach(function(t) {+ m0e(e, t, n[t]);+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : p0e(Object(n)).forEach(function(t) {Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));});}return e;}-function p0e(e, t, n) {- return (t = m0e(t)) in e ? Object.defineProperty(e, t, {+function m0e(e, t, n) {+ return (t = h0e(t)) in e ? Object.defineProperty(e, t, {value: n,enumerable: !0,configurable: !0,writable: !0}) : e[t] = n, e;}-function m0e(e) {- var t = h0e(e, "string");+function h0e(e) {+ var t = g0e(e, "string");return typeof t == "symbol" ? t : t + "";}-function h0e(e, t) {+function g0e(e, t) {if (typeof e != "object" || !e) return e;var n = e[Symbol.toPrimitive];if (n !== void 0) {@@ -87297,7 +87310,7 @@ function h0e(e, t) {}return (t === "string" ? String : Number)(e);}-var g0e = (e) => {+var _0e = (e) => {var t = e.point, n = e.childIndex, r = e.mainColor, i = e.activeDot, a = e.dataKey, o = e.clipPath;if (i === !1 || t.x == null || t.y == null) return null;var s = x3(x3(x3({}, {@@ -87311,17 +87324,17 @@ var g0e = (e) => {stroke: "#fff",payload: t.payload,value: t.value- }), $H(i)), jW(i)), c = /*#__PURE__*/ (0, b.isValidElement)(i) ? /*#__PURE__*/ (0, b.cloneElement)(i, s) : typeof i == "function" ? i(s) : /*#__PURE__*/ b.createElement(N4, s);- return /*#__PURE__*/ b.createElement(iU, {+ }), eU(i)), MW(i)), c = /*#__PURE__*/ (0, b.isValidElement)(i) ? /*#__PURE__*/ (0, b.cloneElement)(i, s) : typeof i == "function" ? i(s) : /*#__PURE__*/ b.createElement(N4, s);+ return /*#__PURE__*/ b.createElement(aU, {className: "recharts-active-dot",clipPath: o}, c);};function S3(e) {- var t = e.points, n = e.mainColor, r = e.activeDot, i = e.itemDataKey, a = e.clipPath, o = e.zIndex, s = o === void 0 ? UX.activeDot : o, c = J(G2), l = d0e();+ var t = e.points, n = e.mainColor, r = e.activeDot, i = e.itemDataKey, a = e.clipPath, o = e.zIndex, s = o === void 0 ? WX.activeDot : o, c = J(K2), l = f0e();if (t == null || l == null) return null;var u = t.find((e) => l.includes(e.payload));- return wU(u) ? null : /*#__PURE__*/ b.createElement(a4, { zIndex: s }, /*#__PURE__*/ b.createElement(g0e, {+ return TU(u) ? null : /*#__PURE__*/ b.createElement(a4, { zIndex: s }, /*#__PURE__*/ b.createElement(_0e, {point: u,childIndex: Number(c),mainColor: n,@@ -87332,7 +87345,7 @@ function S3(e) {}//#endregion//#region node_modules/recharts/es6/state/selectors/radarSelectors.js-function _0e(e, t) {+function v0e(e, t) {var n = Object.keys(e);if (Object.getOwnPropertySymbols) {var r = Object.getOwnPropertySymbols(e);@@ -87345,27 +87358,27 @@ function _0e(e, t) {function C3(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t] == null ? {} : arguments[t];- t % 2 ? _0e(Object(n), !0).forEach(function(t) {- v0e(e, t, n[t]);- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : _0e(Object(n)).forEach(function(t) {+ t % 2 ? v0e(Object(n), !0).forEach(function(t) {+ y0e(e, t, n[t]);+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : v0e(Object(n)).forEach(function(t) {Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));});}return e;}-function v0e(e, t, n) {- return (t = y0e(t)) in e ? Object.defineProperty(e, t, {+function y0e(e, t, n) {+ return (t = b0e(t)) in e ? Object.defineProperty(e, t, {value: n,enumerable: !0,configurable: !0,writable: !0}) : e[t] = n, e;}-function y0e(e) {- var t = b0e(e, "string");+function b0e(e) {+ var t = x0e(e, "string");return typeof t == "symbol" ? t : t + "";}-function b0e(e, t) {+function x0e(e, t) {if (typeof e != "object" || !e) return e;var n = e[Symbol.toPrimitive];if (n !== void 0) {@@ -87375,16 +87388,16 @@ function b0e(e, t) {}return (t === "string" ? String : Number)(e);}-var x0e = (e, t) => z4(e, "radiusAxis", t), S0e = Y([x0e], (e) => {+var S0e = (e, t) => z4(e, "radiusAxis", t), C0e = Y([S0e], (e) => {if (e != null) return { scale: e };-}), C0e = Y([$X, x0e], (e, t) => {+}), w0e = Y([eZ, S0e], (e, t) => {if (e != null && t != null) return C3(C3({}, e), {}, { scale: t });-}), w0e = (e, t, n, r) => B4(e, "radiusAxis", t, r), T0e = (e, t, n) => QX(e, n), E0e = (e, t, n) => z4(e, "angleAxis", n), D0e = Y([T0e, E0e], (e, t) => {+}), T0e = (e, t, n, r) => B4(e, "radiusAxis", t, r), E0e = (e, t, n) => $X(e, n), D0e = (e, t, n) => z4(e, "angleAxis", n), O0e = Y([E0e, D0e], (e, t) => {if (e != null && t != null) return C3(C3({}, e), {}, { scale: t });-}), O0e = (e, t, n, r) => B4(e, "angleAxis", n, r), k0e = Y([- T0e,+}), k0e = (e, t, n, r) => B4(e, "angleAxis", n, r), A0e = Y([E0e,- oZ+ D0e,+ sZ], (e, t, n) => {if (n != null && t != null) return {scale: t,@@ -87393,30 +87406,30 @@ var x0e = (e, t) => z4(e, "radiusAxis", t), S0e = Y([x0e], (e) => {cx: n.cx,cy: n.cy};-}), A0e = (e, t, n, r, i) => i, j0e = Y([- zJ,- C0e,+}), j0e = (e, t, n, r, i) => i, M0e = Y([+ BJ,w0e,- D0e,- O0e-], (e, t, n, r, i) => Qq(e, "radiusAxis") ? cJ(t, n, !1) : cJ(r, i, !1)), M0e = Y([- S0e,- k0e,- mX,- Y([P4, A0e], (e, t) => {+ T0e,+ O0e,+ k0e+], (e, t, n, r, i) => $q(e, "radiusAxis") ? lJ(t, n, !1) : lJ(r, i, !1)), N0e = Y([+ C0e,+ A0e,+ hX,+ Y([P4, j0e], (e, t) => {if (e != null) return e.find((e) => e.type === "radar" && t === e.id)?.dataKey;}),- j0e+ M0e], (e, t, n, r, i) => {var a = n.chartData, o = n.dataStartIndex, s = n.dataEndIndex;- if (e != null && t != null && a != null && i != null && r != null) return U0e({+ if (e != null && t != null && a != null && i != null && r != null) return W0e({radiusAxis: e,angleAxis: t,displayedData: a.slice(o, s + 1),dataKey: r,bandSize: i});-}), N0e = ["id"];+}), P0e = ["id"];function w3() {return w3 = Object.assign ? Object.assign.bind() : function(e) {for (var t = 1; t < arguments.length; t++) {@@ -87426,7 +87439,7 @@ function w3() {return e;}, w3.apply(null, arguments);}-function P0e(e, t) {+function F0e(e, t) {var n = Object.keys(e);if (Object.getOwnPropertySymbols) {var r = Object.getOwnPropertySymbols(e);@@ -87439,27 +87452,27 @@ function P0e(e, t) {function T3(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t] == null ? {} : arguments[t];- t % 2 ? P0e(Object(n), !0).forEach(function(t) {- F0e(e, t, n[t]);- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : P0e(Object(n)).forEach(function(t) {+ t % 2 ? F0e(Object(n), !0).forEach(function(t) {+ I0e(e, t, n[t]);+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : F0e(Object(n)).forEach(function(t) {Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));});}return e;}-function F0e(e, t, n) {- return (t = I0e(t)) in e ? Object.defineProperty(e, t, {+function I0e(e, t, n) {+ return (t = L0e(t)) in e ? Object.defineProperty(e, t, {value: n,enumerable: !0,configurable: !0,writable: !0}) : e[t] = n, e;}-function I0e(e) {- var t = L0e(e, "string");+function L0e(e) {+ var t = R0e(e, "string");return typeof t == "symbol" ? t : t + "";}-function L0e(e, t) {+function R0e(e, t) {if (typeof e != "object" || !e) return e;var n = e[Symbol.toPrimitive];if (n !== void 0) {@@ -87469,16 +87482,16 @@ function L0e(e, t) {}return (t === "string" ? String : Number)(e);}-function R0e(e, t) {+function z0e(e, t) {if (e == null) return {};- var n, r, i = z0e(e, t);+ var n, r, i = B0e(e, t);if (Object.getOwnPropertySymbols) {var a = Object.getOwnPropertySymbols(e);for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);}return i;}-function z0e(e, t) {+function B0e(e, t) {if (e == null) return {};var n = {};for (var r in e) if ({}.hasOwnProperty.call(e, r)) {@@ -87490,27 +87503,27 @@ function z0e(e, t) {function E3(e, t) {return e && e !== "none" ? e : t;}-var B0e = (e) => {+var V0e = (e) => {var t = e.dataKey, n = e.name, r = e.stroke, i = e.fill, a = e.legendType;return [{inactive: e.hide,dataKey: t,type: a,color: E3(r, i),- value: uJ(n, t),+ value: dJ(n, t),payload: e}];-}, V0e = /*#__PURE__*/ b.memo((e) => {+}, H0e = /*#__PURE__*/ b.memo((e) => {var t = e.dataKey, n = e.stroke, r = e.strokeWidth, i = e.fill, a = e.name, o = e.hide, s = e.tooltipType, c = e.id, l = {dataDefinedOnItem: void 0,- getPosition: DU,+ getPosition: OU,settings: {stroke: n,strokeWidth: r,fill: i,nameKey: void 0,dataKey: t,- name: uJ(a, t),+ name: dJ(a, t),hide: o,type: s,color: E3(n, i),@@ -87520,10 +87533,10 @@ var B0e = (e) => {};return /*#__PURE__*/ b.createElement(i3, { tooltipEntrySettings: l });});-function H0e(e) {+function U0e(e) {var t = e.points, n = e.props, r = n.dot, i = n.dataKey;n.id;- var a = QH(R0e(n, N0e));+ var a = $H(z0e(n, P0e));return /*#__PURE__*/ b.createElement(_3, {points: t,dot: r,@@ -87533,11 +87546,11 @@ function H0e(e) {baseProps: a});}-function U0e(e) {+function W0e(e) {var t = e.radiusAxis, n = e.angleAxis, r = e.displayedData, i = e.dataKey, a = e.bandSize, o = n.cx, s = n.cy, c = !1, l = [], u = n.type === "number" ? 0 : a ?? 0;r.forEach((e, r) => {- var a = Zq(e, n.dataKey, r), d = Zq(e, i), f = (n.scale.map(a) ?? 0) + u, p = Array.isArray(d) ? B1e(d) : d, m = wU(p) ? 0 : t.scale.map(p) ?? 0;- Array.isArray(d) && d.length >= 2 && (c = !0), l.push(T3(T3({}, iX(o, s, m, f)), {}, {+ var a = Qq(e, n.dataKey, r), d = Qq(e, i), f = (n.scale.map(a) ?? 0) + u, p = Array.isArray(d) ? V1e(d) : d, m = TU(p) ? 0 : t.scale.map(p) ?? 0;+ Array.isArray(d) && d.length >= 2 && (c = !0), l.push(T3(T3({}, aX(o, s, m, f)), {}, {name: a,value: d,cx: o,@@ -87550,8 +87563,8 @@ function U0e(e) {var d = [];return c && l.forEach((e) => {if (Array.isArray(e.value)) {- var n = e.value[0], r = wU(n) ? 0 : t.scale.map(n) ?? 0;- d.push(T3(T3({}, e), {}, { radius: r }, iX(o, s, r, e.angle)));+ var n = e.value[0], r = TU(n) ? 0 : t.scale.map(n) ?? 0;+ d.push(T3(T3({}, e), {}, { radius: r }, aX(o, s, r, e.angle)));} else d.push(e);}), {points: l,@@ -87559,7 +87572,7 @@ function U0e(e) {baseLinePoints: d};}-function W0e(e) {+function G0e(e) {var t = e.showLabels, n = e.points, r = e.children, i = n.map((e) => {var t = {x: e.x,@@ -87579,10 +87592,10 @@ function W0e(e) {});return /*#__PURE__*/ b.createElement(D4, { value: t ? i : void 0 }, r);}-function G0e(e) {+function K0e(e) {var t = e.points, n = e.baseLinePoints, r = e.props;if (t == null) return null;- var i = r.shape, a = r.isRange, o = r.connectNulls, s = /*#__PURE__*/ b.isValidElement(i) ? /*#__PURE__*/ b.cloneElement(i, T3(T3({}, r), {}, { points: t })) : typeof i == "function" ? i(T3(T3({}, r), {}, { points: t })) : /*#__PURE__*/ b.createElement(TQe, w3({}, eU(r), {+ var i = r.shape, a = r.isRange, o = r.connectNulls, s = /*#__PURE__*/ b.isValidElement(i) ? /*#__PURE__*/ b.cloneElement(i, T3(T3({}, r), {}, { points: t })) : typeof i == "function" ? i(T3(T3({}, r), {}, { points: t })) : /*#__PURE__*/ b.createElement(EQe, w3({}, tU(r), {onMouseEnter: (e) => {var t = r.onMouseEnter;t && t(r, e);@@ -87595,21 +87608,21 @@ function G0e(e) {baseLinePoints: a ? n : void 0,connectNulls: o}));- return /*#__PURE__*/ b.createElement(iU, { className: "recharts-radar-polygon" }, s, /*#__PURE__*/ b.createElement(H0e, {+ return /*#__PURE__*/ b.createElement(aU, { className: "recharts-radar-polygon" }, s, /*#__PURE__*/ b.createElement(U0e, {props: r,points: t}));}-var K0e = (e, t) => e == null ? [] : t === 1 ? e.flatMap((e) => e.status === "removed" ? [] : [e.next]) : e.flatMap((e) => e.status === "removed" ? [] : e.status === "matched" ? [T3(T3({}, e.next), {}, {- x: SU(e.prev.x, e.next.x, t),- y: SU(e.prev.y, e.next.y, t)+var q0e = (e, t) => e == null ? [] : t === 1 ? e.flatMap((e) => e.status === "removed" ? [] : [e.next]) : e.flatMap((e) => e.status === "removed" ? [] : e.status === "matched" ? [T3(T3({}, e.next), {}, {+ x: CU(e.prev.x, e.next.x, t),+ y: CU(e.prev.y, e.next.y, t)})] : [T3(T3({}, e.next), {}, {- x: SU(e.next.cx, e.next.x, t),- y: SU(e.next.cy, e.next.y, t)+ x: CU(e.next.cx, e.next.x, t),+ y: CU(e.next.cy, e.next.y, t)})]);-function q0e(e) {- var t = e.props, n = e.previousPointsRef, r = e.previousBaseLinePointsRef, i = t.points, a = t.baseLinePoints, o = t.isAnimationActive, s = t.animationBegin, c = t.animationDuration, l = t.animationEasing, u = t.animationMatchBy, d = t.animationInterpolateFn, f = t.onAnimationStart, p = t.onAnimationEnd, m = l3(t, r), h = m.startValue, g = c3(h ?? null, a, u), _ = u3(f, p), v = _.isAnimating, y = _.handleAnimationStart, x = _.handleAnimationEnd, S = UJ();- return S == null ? null : /*#__PURE__*/ b.createElement(W0e, {+function J0e(e) {+ var t = e.props, n = e.previousPointsRef, r = e.previousBaseLinePointsRef, i = t.points, a = t.baseLinePoints, o = t.isAnimationActive, s = t.animationBegin, c = t.animationDuration, l = t.animationEasing, u = t.animationMatchBy, d = t.animationInterpolateFn, f = t.onAnimationStart, p = t.onAnimationEnd, m = l3(t, r), h = m.startValue, g = c3(h ?? null, a, u), _ = u3(f, p), v = _.isAnimating, y = _.handleAnimationStart, x = _.handleAnimationEnd, S = WJ();+ return S == null ? null : /*#__PURE__*/ b.createElement(G0e, {showLabels: !v,points: i}, /*#__PURE__*/ b.createElement(d3, {@@ -87628,62 +87641,62 @@ function q0e(e) {layout: S}, (e, n) => {var r = n === 1 ? a : d(g, n, S);- return m.syncStepValue(r, n), /*#__PURE__*/ b.createElement(G0e, {+ return m.syncStepValue(r, n), /*#__PURE__*/ b.createElement(K0e, {points: e,baseLinePoints: r,props: t});}), /*#__PURE__*/ b.createElement(k4, { label: t.label }), t.children);}-function J0e(e) {+function Y0e(e) {var t = (0, b.useRef)(void 0), n = (0, b.useRef)(void 0);- return /*#__PURE__*/ b.createElement(q0e, {+ return /*#__PURE__*/ b.createElement(J0e, {props: e,previousPointsRef: t,previousBaseLinePointsRef: n});}-var Y0e = {+var X0e = {activeDot: !0,angleAxisId: 0,animationBegin: 0,animationDuration: 1500,animationEasing: "ease",animationMatchBy: o3,- animationInterpolateFn: K0e,+ animationInterpolateFn: q0e,dot: !1,hide: !1,isAnimationActive: "auto",label: !1,legendType: "rect",radiusAxisId: 0,- zIndex: UX.area+ zIndex: WX.area};-function X0e(e) {+function Z0e(e) {var t = e.hide, n = e.className, r = e.points;if (t) return null;var i = hy("recharts-radar", n);- return /*#__PURE__*/ b.createElement(a4, { zIndex: e.zIndex }, /*#__PURE__*/ b.createElement(iU, { className: i }, /*#__PURE__*/ b.createElement(J0e, e)), /*#__PURE__*/ b.createElement(S3, {+ return /*#__PURE__*/ b.createElement(a4, { zIndex: e.zIndex }, /*#__PURE__*/ b.createElement(aU, { className: i }, /*#__PURE__*/ b.createElement(Y0e, e)), /*#__PURE__*/ b.createElement(S3, {points: r,mainColor: E3(e.stroke, e.fill),itemDataKey: e.dataKey,activeDot: e.activeDot}));}-function Z0e(e) {- var t = xJ(), n = J((n) => M0e(n, e.radiusAxisId, e.angleAxisId, t, e.id));- return n?.points == null ? null : /*#__PURE__*/ b.createElement(X0e, w3({}, e, {+function Q0e(e) {+ var t = SJ(), n = J((n) => N0e(n, e.radiusAxisId, e.angleAxisId, t, e.id));+ return n?.points == null ? null : /*#__PURE__*/ b.createElement(Z0e, w3({}, e, {points: n?.points,baseLinePoints: n?.baseLinePoints,isRange: n?.isRange}));}function D3(e) {- var t = PW(e, Y0e);+ var t = FW(e, X0e);return /*#__PURE__*/ b.createElement(f3, {id: t.id,type: "radar"- }, (e) => /*#__PURE__*/ b.createElement(b.Fragment, null, /*#__PURE__*/ b.createElement(R1e, {+ }, (e) => /*#__PURE__*/ b.createElement(b.Fragment, null, /*#__PURE__*/ b.createElement(z1e, {type: "radar",id: e,data: void 0,@@ -87691,7 +87704,7 @@ function D3(e) {hide: t.hide,angleAxisId: t.angleAxisId,radiusAxisId: t.radiusAxisId- }), /*#__PURE__*/ b.createElement(r1e, { legendPayload: B0e(t) }), /*#__PURE__*/ b.createElement(V0e, {+ }), /*#__PURE__*/ b.createElement(i1e, { legendPayload: V0e(t) }), /*#__PURE__*/ b.createElement(H0e, {dataKey: t.dataKey,stroke: t.stroke,strokeWidth: t.strokeWidth,@@ -87700,22 +87713,22 @@ function D3(e) {hide: t.hide,tooltipType: t.tooltipType,id: e- }), /*#__PURE__*/ b.createElement(Z0e, w3({}, t, { id: e }))));+ }), /*#__PURE__*/ b.createElement(Q0e, w3({}, t, { id: e }))));}D3.displayName = "Radar";//#endregion//#region node_modules/recharts/es6/util/RadialBarUtils.js-var Q0e = ["option"];-function $0e(e, t) {+var $0e = ["option"];+function e2e(e, t) {if (e == null) return {};- var n, r, i = e2e(e, t);+ var n, r, i = t2e(e, t);if (Object.getOwnPropertySymbols) {var a = Object.getOwnPropertySymbols(e);for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);}return i;}-function e2e(e, t) {+function t2e(e, t) {if (e == null) return {};var n = {};for (var r in e) if ({}.hasOwnProperty.call(e, r)) {@@ -87724,39 +87737,39 @@ function e2e(e, t) {}return n;}-var t2e = uX;-function n2e(e) {+var n2e = dX;+function r2e(e) {return typeof e == "string" ? parseInt(e, 10) : e;}function O3(e) {- var t = e.option, n = $0e(e, Q0e);+ var t = e.option, n = e2e(e, $0e);return /*#__PURE__*/ b.createElement(e3, {option: t,- DefaultShape: t2e,+ DefaultShape: n2e,shapeProps: n});}//#endregion//#region node_modules/recharts/es6/state/selectors/combiners/combineBarSizeList.js-function r2e(e, t) {- return c2e(e) || s2e(e, t) || a2e(e, t) || i2e();+function i2e(e, t) {+ return l2e(e) || c2e(e, t) || o2e(e, t) || a2e();}-function i2e() {+function a2e() {throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}-function a2e(e, t) {+function o2e(e, t) {if (e) {- if (typeof e == "string") return o2e(e, t);+ if (typeof e == "string") return s2e(e, t);var n = {}.toString.call(e).slice(8, -1);- return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? o2e(e, t) : void 0;+ return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? s2e(e, t) : void 0;}}-function o2e(e, t) {+function s2e(e, t) {(t == null || t > e.length) && (t = e.length);for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];return r;}-function s2e(e, t) {+function c2e(e, t) {var n = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];if (n != null) {var r, i, a, o, s = [], c = !0, l = !1;@@ -87777,33 +87790,33 @@ function s2e(e, t) {return s;}}-function c2e(e) {+function l2e(e) {if (Array.isArray(e)) return e;}-var l2e = (e, t, n) => {+var u2e = (e, t, n) => {var r = n ?? e;- if (!wU(r)) return bU(r, t, 0);-}, u2e = (e, t, n) => {- var r = {}, i = e.filter(dZ), a = e.filter((e) => e.stackId == null), o = i.reduce((e, t) => {+ if (!TU(r)) return xU(r, t, 0);+}, d2e = (e, t, n) => {+ var r = {}, i = e.filter(fZ), a = e.filter((e) => e.stackId == null), o = i.reduce((e, t) => {var n = e[t.stackId];return n ??= [], n.push(t), e[t.stackId] = n, e;}, r), s = Object.entries(o).map((e) => {- var r = r2e(e, 2), i = r[0], a = r[1];+ var r = i2e(e, 2), i = r[0], a = r[1];return {stackId: i,dataKeys: a.map((e) => e.dataKey),- barSize: l2e(t, n, a[0]?.barSize)+ barSize: u2e(t, n, a[0]?.barSize)};}), c = a.map((e) => ({stackId: void 0,dataKeys: [e.dataKey].filter((e) => e != null),- barSize: l2e(t, n, e.barSize)+ barSize: u2e(t, n, e.barSize)}));return [...s, ...c];};//#endregion//#region node_modules/recharts/es6/state/selectors/combiners/combineAllBarPositions.js-function d2e(e, t) {+function f2e(e, t) {var n = Object.keys(e);if (Object.getOwnPropertySymbols) {var r = Object.getOwnPropertySymbols(e);@@ -87816,27 +87829,27 @@ function d2e(e, t) {function k3(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t] == null ? {} : arguments[t];- t % 2 ? d2e(Object(n), !0).forEach(function(t) {- f2e(e, t, n[t]);- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : d2e(Object(n)).forEach(function(t) {+ t % 2 ? f2e(Object(n), !0).forEach(function(t) {+ p2e(e, t, n[t]);+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : f2e(Object(n)).forEach(function(t) {Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));});}return e;}-function f2e(e, t, n) {- return (t = p2e(t)) in e ? Object.defineProperty(e, t, {+function p2e(e, t, n) {+ return (t = m2e(t)) in e ? Object.defineProperty(e, t, {value: n,enumerable: !0,configurable: !0,writable: !0}) : e[t] = n, e;}-function p2e(e) {- var t = m2e(e, "string");+function m2e(e) {+ var t = h2e(e, "string");return typeof t == "symbol" ? t : t + "";}-function m2e(e, t) {+function h2e(e, t) {if (typeof e != "object" || !e) return e;var n = e[Symbol.toPrimitive];if (n !== void 0) {@@ -87846,11 +87859,11 @@ function m2e(e, t) {}return (t === "string" ? String : Number)(e);}-function h2e(e, t, n, r, i) {+function g2e(e, t, n, r, i) {var a = r.length;if (!(a < 1)) {- var o = bU(e, n, 0, !0), s, c = [];- if (qq(r[0]?.barSize)) {+ var o = xU(e, n, 0, !0), s, c = [];+ if (Jq(r[0]?.barSize)) {var l = !1, u = n / a, d = r.reduce((e, t) => e + (t.barSize || 0), 0);d += (a - 1) * o, d >= n && (d -= (a - 1) * o, o = 0), d >= n && u > 0 && (l = !0, u *= .9, d = a * u);var f = {@@ -87869,11 +87882,11 @@ function h2e(e, t, n, r, i) {return f = n.position, r;}, c);} else {- var p = bU(t, n, 0, !0);+ var p = xU(t, n, 0, !0);n - 2 * p - (a - 1) * o <= 0 && (o = 0);var m = (n - 2 * p - (a - 1) * o) / a;m > 1 && (m = Math.round(m));- var h = qq(i) ? Math.min(m, i) : m;+ var h = Jq(i) ? Math.min(m, i) : m;s = r.reduce((e, t, n) => [...e, {stackId: t.stackId,dataKeys: t.dataKeys,@@ -87886,11 +87899,11 @@ function h2e(e, t, n, r, i) {return s;}}-var g2e = (e, t, n, r, i, a, o) => {- var s = wU(o) ? t : o, c = h2e(n, r, i === a ? a : i, e, s);+var _2e = (e, t, n, r, i, a, o) => {+ var s = TU(o) ? t : o, c = g2e(n, r, i === a ? a : i, e, s);return i !== a && c != null && (c = c.map((e) => k3(k3({}, e), {}, { position: k3(k3({}, e.position), {}, { offset: e.position.offset - i / 2 }) }))), c;-}, _2e = (e, t) => {- var n = lZ(t);+}, v2e = (e, t) => {+ var n = uZ(t);if (e && n != null && t != null) {var r = t.stackId;if (r != null) {@@ -87901,7 +87914,7 @@ var g2e = (e, t, n, r, i, a, o) => {}}}-}, v2e = (e, t) => {+}, y2e = (e, t) => {if (e != null && t != null) {var n = e.find((e) => e.stackId === t.stackId && t.dataKey != null && e.dataKeys.includes(t.dataKey));if (n != null) return n.position;@@ -87909,7 +87922,7 @@ var g2e = (e, t, n, r, i, a, o) => {};//#endregion//#region node_modules/recharts/es6/state/selectors/radialBarSelectors.js-function y2e(e, t) {+function b2e(e, t) {var n = Object.keys(e);if (Object.getOwnPropertySymbols) {var r = Object.getOwnPropertySymbols(e);@@ -87922,27 +87935,27 @@ function y2e(e, t) {function A3(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t] == null ? {} : arguments[t];- t % 2 ? y2e(Object(n), !0).forEach(function(t) {- b2e(e, t, n[t]);- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : y2e(Object(n)).forEach(function(t) {+ t % 2 ? b2e(Object(n), !0).forEach(function(t) {+ x2e(e, t, n[t]);+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : b2e(Object(n)).forEach(function(t) {Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));});}return e;}-function b2e(e, t, n) {- return (t = x2e(t)) in e ? Object.defineProperty(e, t, {+function x2e(e, t, n) {+ return (t = S2e(t)) in e ? Object.defineProperty(e, t, {value: n,enumerable: !0,configurable: !0,writable: !0}) : e[t] = n, e;}-function x2e(e) {- var t = S2e(e, "string");+function S2e(e) {+ var t = C2e(e, "string");return typeof t == "symbol" ? t : t + "";}-function S2e(e, t) {+function C2e(e, t) {if (typeof e != "object" || !e) return e;var n = e[Symbol.toPrimitive];if (n !== void 0) {@@ -87952,81 +87965,81 @@ function S2e(e, t) {}return (t === "string" ? String : Number)(e);}-var j3 = Y([(e, t) => $X(e, t), (e, t) => z4(e, "radiusAxis", t)], (e, t) => {+var j3 = Y([(e, t) => eZ(e, t), (e, t) => z4(e, "radiusAxis", t)], (e, t) => {if (e != null && t != null) return A3(A3({}, e), {}, { scale: t });-}), M3 = (e, t) => NQe(e, "radiusAxis", t, !1), N3 = Y([(e, t, n) => QX(e, n), (e, t, n) => z4(e, "angleAxis", n)], (e, t) => {+}), M3 = (e, t) => PQe(e, "radiusAxis", t, !1), N3 = Y([(e, t, n) => $X(e, n), (e, t, n) => z4(e, "angleAxis", n)], (e, t) => {if (e != null && t != null) return A3(A3({}, e), {}, { scale: t });}), P3 = (e, t, n) => B4(e, "angleAxis", n, !1), F3 = Y([P4, (e, t, n, r) => r], (e, t) => {if (e.some((e) => e.type === "radialBar" && t.dataKey === e.dataKey && t.stackId === e.stackId)) return t;-}), C2e = Y([- zJ,+}), w2e = Y([+ BJ,j3,M3,N3,P3-], (e, t, n, r, i) => Qq(e, "radiusAxis") ? cJ(t, n, !1) : cJ(r, i, !1)), w2e = Y([+], (e, t, n, r, i) => $q(e, "radiusAxis") ? lJ(t, n, !1) : lJ(r, i, !1)), T2e = Y([N3,j3,- zJ+ BJ], (e, t, n) => {var r = n === "radial" ? e : t;- if (r != null && r.scale != null) return aJ({ numericAxis: r });-}), T2e = (e, t, n, r, i) => i, E2e = (e, t, n, r, i) => n, D2e = (e, t, n, r, i) => t, O2e = (e, t, n, r, i) => r.maxBarSize, k2e = (e) => e.type === "radialBar", A2e = Y([Y([+ if (r != null && r.scale != null) return oJ({ numericAxis: r });+}), E2e = (e, t, n, r, i) => i, D2e = (e, t, n, r, i) => n, O2e = (e, t, n, r, i) => t, k2e = (e, t, n, r, i) => r.maxBarSize, A2e = (e) => e.type === "radialBar", j2e = Y([Y([Y([Y([- zJ,+ BJ,P4,- E2e,- D2e- ], (e, t, n, r) => t.filter((t) => e === "centric" ? t.angleAxisId === n : t.radiusAxisId === r).filter((e) => e.hide === !1).filter(k2e)),- IX,+ D2e,+ O2e+ ], (e, t, n, r) => t.filter((t) => e === "centric" ? t.angleAxisId === n : t.radiusAxisId === r).filter((e) => e.hide === !1).filter(A2e)),+ LX,() => void 0- ], u2e),- NX,+ ], d2e),PX,FX,+ IX,Y([- zJ,- NX,+ BJ,+ PX,N3,P3,j3,M3,- O2e+ k2e], (e, t, n, r, i, a, o) => {- var s = wU(o) ? t : o;- return e === "centric" ? cJ(n, r, !0) ?? s ?? 0 : cJ(i, a, !0) ?? s ?? 0;+ var s = TU(o) ? t : o;+ return e === "centric" ? lJ(n, r, !0) ?? s ?? 0 : lJ(i, a, !0) ?? s ?? 0;}),- C2e,- O2e-], g2e), F3], v2e), j2e = Y([F4], (e) => e.filter(k2e).filter(dZ)), M2e = Y([+ w2e,+ k2e+], _2e), F3], y2e), M2e = Y([F4], (e) => e.filter(A2e).filter(fZ)), N2e = Y([Y([- j2e,- mX,- l0- ], uZ),- j2e,- LX,- RX-], d0), N2e = Y([+ M2e,+ hX,+ u0+ ], dZ),+ M2e,+ RX,+ zX+], f0), P2e = Y([N3,P3,j3,M3,- pX,+ mX,F3,- C2e,- zJ,w2e,- oZ,+ BJ,T2e,- A2e,- Y([(e, t, n) => zJ(e) === "centric" ? M2e(e, "radiusAxis", t) : M2e(e, "angleAxis", n), F3], _2e)+ sZ,+ E2e,+ j2e,+ Y([(e, t, n) => BJ(e) === "centric" ? N2e(e, "radiusAxis", t) : N2e(e, "angleAxis", n), F3], v2e)], (e, t, n, r, i, a, o, s, c, l, u, d, f) => {var p = i.chartData, m = i.dataStartIndex, h = i.dataEndIndex;if (a == null || n == null || e == null || p == null || o == null || d == null || s !== "centric" && s !== "radial" || r == null || l == null) return [];var g = a.dataKey, _ = a.minPointSize, v = l.cx, y = l.cy, b = l.startAngle, x = l.endAngle;- return e4e({+ return t4e({angleAxis: e,angleAxisTicks: t,bandSize: o,@@ -88047,7 +88060,7 @@ var j3 = Y([(e, t) => $X(e, t), (e, t) => z4(e, "radiusAxis", t)], (e, t) => {stackedDomain: f ? (s === "centric" ? n : e).scale.domain() : null,startAngle: b});-}), P2e = Y([mX, (e, t) => t], (e, t) => {+}), F2e = Y([hX, (e, t) => t], (e, t) => {var n = e.chartData, r = e.dataStartIndex, i = e.dataEndIndex;if (n == null) return [];var a = n.slice(r, i + 1);@@ -88060,21 +88073,21 @@ var j3 = Y([(e, t) => $X(e, t), (e, t) => z4(e, "radiusAxis", t)], (e, t) => {});//#endregion//#region node_modules/recharts/es6/zIndex/getZIndexFromUnknown.js-function F2e(e, t) {- return e && typeof e == "object" && "zIndex" in e && typeof e.zIndex == "number" && qq(e.zIndex) ? e.zIndex : t;+function I2e(e, t) {+ return e && typeof e == "object" && "zIndex" in e && typeof e.zIndex == "number" && Jq(e.zIndex) ? e.zIndex : t;}//#endregion//#region node_modules/recharts/es6/polar/RadialBar.js-var I2e = [+var L2e = ["shape","activeShape","cornerRadius","id"-], L2e = [+], R2e = ["onMouseEnter","onClick","onMouseLeave"-], R2e = ["value", "background"];+], z2e = ["value", "background"];function I3() {return I3 = Object.assign ? Object.assign.bind() : function(e) {for (var t = 1; t < arguments.length; t++) {@@ -88084,7 +88097,7 @@ function I3() {return e;}, I3.apply(null, arguments);}-function z2e(e, t) {+function B2e(e, t) {var n = Object.keys(e);if (Object.getOwnPropertySymbols) {var r = Object.getOwnPropertySymbols(e);@@ -88097,27 +88110,27 @@ function z2e(e, t) {function L3(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t] == null ? {} : arguments[t];- t % 2 ? z2e(Object(n), !0).forEach(function(t) {- B2e(e, t, n[t]);- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : z2e(Object(n)).forEach(function(t) {+ t % 2 ? B2e(Object(n), !0).forEach(function(t) {+ V2e(e, t, n[t]);+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : B2e(Object(n)).forEach(function(t) {Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));});}return e;}-function B2e(e, t, n) {- return (t = V2e(t)) in e ? Object.defineProperty(e, t, {+function V2e(e, t, n) {+ return (t = H2e(t)) in e ? Object.defineProperty(e, t, {value: n,enumerable: !0,configurable: !0,writable: !0}) : e[t] = n, e;}-function V2e(e) {- var t = H2e(e, "string");+function H2e(e) {+ var t = U2e(e, "string");return typeof t == "symbol" ? t : t + "";}-function H2e(e, t) {+function U2e(e, t) {if (typeof e != "object" || !e) return e;var n = e[Symbol.toPrimitive];if (n !== void 0) {@@ -88129,14 +88142,14 @@ function H2e(e, t) {}function R3(e, t) {if (e == null) return {};- var n, r, i = U2e(e, t);+ var n, r, i = W2e(e, t);if (Object.getOwnPropertySymbols) {var a = Object.getOwnPropertySymbols(e);for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);}return i;}-function U2e(e, t) {+function W2e(e, t) {if (e == null) return {};var n = {};for (var r in e) if ({}.hasOwnProperty.call(e, r)) {@@ -88145,8 +88158,8 @@ function U2e(e, t) {}return n;}-var W2e = [];-function G2e(e) {+var G2e = [];+function K2e(e) {var t = e.showLabels, n = e.sectors, r = e.children, i = n.map((e) => ({value: e.value,payload: e.payload,@@ -88163,15 +88176,15 @@ function G2e(e) {},fill: e.fill}));- return /*#__PURE__*/ b.createElement(mQe, { value: t ? i : void 0 }, r);+ return /*#__PURE__*/ b.createElement(hQe, { value: t ? i : void 0 }, r);}-function K2e(e) {- var t = e.sectors, n = e.allOtherRadialBarProps, r = e.showLabels, i = e.animationElapsedTime, a = e.isAnimating, o = e.isEntrance, s = n.shape, c = n.activeShape, l = n.cornerRadius, u = n.id, d = R3(n, I2e), f = QH(d), p = J(G2), m = n.onMouseEnter, h = n.onClick, g = n.onMouseLeave, _ = R3(n, L2e), v = t3(m, n.dataKey, u), y = n3(g), x = r3(h, n.dataKey, u);- return t == null ? null : /*#__PURE__*/ b.createElement(G2e, {+function q2e(e) {+ var t = e.sectors, n = e.allOtherRadialBarProps, r = e.showLabels, i = e.animationElapsedTime, a = e.isAnimating, o = e.isEntrance, s = n.shape, c = n.activeShape, l = n.cornerRadius, u = n.id, d = R3(n, L2e), f = $H(d), p = J(K2), m = n.onMouseEnter, h = n.onClick, g = n.onMouseLeave, _ = R3(n, R2e), v = t3(m, n.dataKey, u), y = n3(g), x = r3(h, n.dataKey, u);+ return t == null ? null : /*#__PURE__*/ b.createElement(K2e, {showLabels: r,sectors: t}, t.map((e, t) => {- var n = !!(c && p === String(t)), r = v(e, t), u = y(e, t), m = x(e, t), h = L3(L3(L3(L3({}, f), {}, { cornerRadius: n2e(l) }, e), MW(_, e, t)), {}, {+ var n = !!(c && p === String(t)), r = v(e, t), u = y(e, t), m = x(e, t), h = L3(L3(L3(L3({}, f), {}, { cornerRadius: r2e(l) }, e), NW(_, e, t)), {}, {onMouseEnter: r,onMouseLeave: u,onClick: m,@@ -88186,17 +88199,17 @@ function K2e(e) {index: t});return n ? /*#__PURE__*/ b.createElement(a4, {- zIndex: UX.activeBar,+ zIndex: WX.activeBar,key: `sector-${e.cx}-${e.cy}-${e.innerRadius}-${e.outerRadius}-${e.startAngle}-${e.endAngle}-${t}`}, /*#__PURE__*/ b.createElement(O3, h)) : /*#__PURE__*/ b.createElement(O3, I3({ key: `sector-${e.cx}-${e.cy}-${e.innerRadius}-${e.outerRadius}-${e.startAngle}-${e.endAngle}-${t}` }, h));}), /*#__PURE__*/ b.createElement(k4, { label: n.label }), n.children);}-var q2e = (e, t) => e == null ? [] : t === 1 ? e.flatMap((e) => e.status === "removed" ? [] : [e.next]) : e.flatMap((e) => e.status === "removed" ? [] : e.status === "matched" ? [L3(L3({}, e.next), {}, {- startAngle: SU(e.prev.startAngle, e.next.startAngle, t),- endAngle: SU(e.prev.endAngle, e.next.endAngle, t)-})] : [L3(L3({}, e.next), {}, { endAngle: SU(e.next.startAngle, e.next.endAngle, t) })]);-function J2e(e) {- var t = e.props, n = e.previousSectorsRef, r = t.sectors, i = t.isAnimationActive, a = t.animationBegin, o = t.animationDuration, s = t.animationEasing, c = t.onAnimationStart, l = t.onAnimationEnd, u = u3(c, l), d = u.isAnimating, f = u.handleAnimationStart, p = u.handleAnimationEnd, m = UJ();+var J2e = (e, t) => e == null ? [] : t === 1 ? e.flatMap((e) => e.status === "removed" ? [] : [e.next]) : e.flatMap((e) => e.status === "removed" ? [] : e.status === "matched" ? [L3(L3({}, e.next), {}, {+ startAngle: CU(e.prev.startAngle, e.next.startAngle, t),+ endAngle: CU(e.prev.endAngle, e.next.endAngle, t)+})] : [L3(L3({}, e.next), {}, { endAngle: CU(e.next.startAngle, e.next.endAngle, t) })]);+function Y2e(e) {+ var t = e.props, n = e.previousSectorsRef, r = t.sectors, i = t.isAnimationActive, a = t.animationBegin, o = t.animationDuration, s = t.animationEasing, c = t.onAnimationStart, l = t.onAnimationEnd, u = u3(c, l), d = u.isAnimating, f = u.handleAnimationStart, p = u.handleAnimationEnd, m = WJ();return m == null ? null : /*#__PURE__*/ b.createElement(d3, {animationInput: t,animationIdPrefix: "recharts-radialbar-",@@ -88211,7 +88224,7 @@ function J2e(e) {animationInterpolateFn: t.animationInterpolateFn,animationMatchBy: t.animationMatchBy,layout: m- }, (e, n, r) => /*#__PURE__*/ b.createElement(K2e, {+ }, (e, n, r) => /*#__PURE__*/ b.createElement(q2e, {sectors: e,allOtherRadialBarProps: t,showLabels: !d,@@ -88220,21 +88233,21 @@ function J2e(e) {isEntrance: r}));}-function Y2e(e) {+function X2e(e) {var t = (0, b.useRef)(null);- return /*#__PURE__*/ b.createElement(J2e, {+ return /*#__PURE__*/ b.createElement(Y2e, {props: e,previousSectorsRef: t});}-function X2e(e) {- var t = J((t) => P2e(t, e.legendType));- return /*#__PURE__*/ b.createElement(r1e, { legendPayload: t ?? [] });+function Z2e(e) {+ var t = J((t) => F2e(t, e.legendType));+ return /*#__PURE__*/ b.createElement(i1e, { legendPayload: t ?? [] });}-var Z2e = /*#__PURE__*/ b.memo((e) => {+var Q2e = /*#__PURE__*/ b.memo((e) => {var t = e.dataKey, n = e.sectors, r = e.stroke, i = e.strokeWidth, a = e.name, o = e.hide, s = e.fill, c = e.tooltipType, l = e.formatter, u = {dataDefinedOnItem: n,- getPosition: DU,+ getPosition: OU,settings: {graphicalItemId: e.id,stroke: r,@@ -88242,7 +88255,7 @@ var Z2e = /*#__PURE__*/ b.memo((e) => {fill: s,nameKey: void 0,dataKey: t,- name: uJ(a, t),+ name: dJ(a, t),hide: o,type: c,color: s,@@ -88251,15 +88264,15 @@ var Z2e = /*#__PURE__*/ b.memo((e) => {}};return /*#__PURE__*/ b.createElement(i3, { tooltipEntrySettings: u });-}), Q2e = class extends b.PureComponent {+}), $2e = class extends b.PureComponent {renderBackground(e) {if (e == null) return null;- var t = this.props.cornerRadius, n = $H(this.props.background);- return /*#__PURE__*/ b.createElement(a4, { zIndex: F2e(this.props.background, UX.barBackground) }, e.map((e, r) => {+ var t = this.props.cornerRadius, n = eU(this.props.background);+ return /*#__PURE__*/ b.createElement(a4, { zIndex: I2e(this.props.background, WX.barBackground) }, e.map((e, r) => {e.value;- var i = e.background, a = R3(e, R2e);+ var i = e.background, a = R3(e, z2e);if (!i) return null;- var o = L3(L3(L3(L3(L3({ cornerRadius: n2e(t) }, a), {}, { fill: "#eee" }, i), n), MW(this.props, e, r)), {}, {+ var o = L3(L3(L3(L3(L3({ cornerRadius: r2e(t) }, a), {}, { fill: "#eee" }, i), n), NW(this.props, e, r)), {}, {index: r,className: hy("recharts-radial-bar-background-sector", String(n?.className)),option: i,@@ -88272,17 +88285,17 @@ var Z2e = /*#__PURE__*/ b.memo((e) => {var e = this.props, t = e.hide, n = e.sectors, r = e.className, i = e.background;if (t) return null;var a = hy("recharts-area", r);- return /*#__PURE__*/ b.createElement(a4, { zIndex: this.props.zIndex }, /*#__PURE__*/ b.createElement(iU, { className: a }, i && /*#__PURE__*/ b.createElement(iU, { className: "recharts-radial-bar-background" }, this.renderBackground(n)), /*#__PURE__*/ b.createElement(iU, { className: "recharts-radial-bar-sectors" }, /*#__PURE__*/ b.createElement(Y2e, this.props))));+ return /*#__PURE__*/ b.createElement(a4, { zIndex: this.props.zIndex }, /*#__PURE__*/ b.createElement(aU, { className: a }, i && /*#__PURE__*/ b.createElement(aU, { className: "recharts-radial-bar-background" }, this.renderBackground(n)), /*#__PURE__*/ b.createElement(aU, { className: "recharts-radial-bar-sectors" }, /*#__PURE__*/ b.createElement(X2e, this.props))));}};-function $2e(e) {- var t = b.useMemo(() => K$e(e.children, p4), [e.children]), n = b.useMemo(() => ({+function e4e(e) {+ var t = b.useMemo(() => q$e(e.children, p4), [e.children]), n = b.useMemo(() => ({data: void 0,hide: !1,id: e.id,dataKey: e.dataKey,minPointSize: e.minPointSize,- stackId: nJ(e.stackId),+ stackId: rJ(e.stackId),maxBarSize: e.maxBarSize,barSize: e.barSize,type: "radialBar",@@ -88297,8 +88310,8 @@ function $2e(e) {e.barSize,e.angleAxisId,e.radiusAxisId- ]), r = J((r) => N2e(r, e.radiusAxisId, e.angleAxisId, n, t)) ?? W2e;- return /*#__PURE__*/ b.createElement(b.Fragment, null, /*#__PURE__*/ b.createElement(Z2e, {+ ]), r = J((r) => P2e(r, e.radiusAxisId, e.angleAxisId, n, t)) ?? G2e;+ return /*#__PURE__*/ b.createElement(b.Fragment, null, /*#__PURE__*/ b.createElement(Q2e, {dataKey: e.dataKey,sectors: r,stroke: e.stroke,@@ -88309,15 +88322,15 @@ function $2e(e) {tooltipType: e.tooltipType,formatter: e.formatter,id: e.id- }), /*#__PURE__*/ b.createElement(Q2e, I3({}, e, { sectors: r })));+ }), /*#__PURE__*/ b.createElement($2e, I3({}, e, { sectors: r })));}var z3 = {angleAxisId: 0,animationBegin: 0,animationDuration: 1500,animationEasing: "ease",- animationMatchBy: u1e,- animationInterpolateFn: q2e,+ animationMatchBy: d1e,+ animationInterpolateFn: J2e,background: !1,cornerIsExternal: !1,cornerRadius: 0,@@ -88328,15 +88341,15 @@ var z3 = {legendType: "rect",minPointSize: 0,radiusAxisId: 0,- shape: t2e,- zIndex: UX.bar+ shape: n2e,+ zIndex: WX.bar};-function e4e(e) {+function t4e(e) {var t = e.displayedData, n = e.stackedData, r = e.dataStartIndex, i = e.stackedDomain, a = e.dataKey, o = e.baseValue, s = e.layout, c = e.radiusAxis, l = e.radiusAxisTicks, u = e.bandSize, d = e.pos, f = e.angleAxis, p = e.minPointSize, m = e.cx, h = e.cy, g = e.angleAxisTicks, _ = e.cells, v = e.startAngle, y = e.endAngle;- return g == null || l == null ? W2e : (t ?? []).map((e, t) => {+ return g == null || l == null ? G2e : (t ?? []).map((e, t) => {var b, x, S, C, w, T;- if (n ? b = tJ(n[r + t], i) : (b = Zq(e, a), Array.isArray(b) || (b = [o, b])), s === "radial") {- if (C = f.scale.map(b[0]) ?? v, w = f.scale.map(b[1]) ?? y, x = iJ({+ if (n ? b = nJ(n[r + t], i) : (b = Qq(e, a), Array.isArray(b) || (b = [o, b])), s === "radial") {+ if (C = f.scale.map(b[0]) ?? v, w = f.scale.map(b[1]) ?? y, x = aJ({axis: c,ticks: l,bandSize: u,@@ -88347,7 +88360,7 @@ function e4e(e) {S = x + d.size;var E = w - C;if (Math.abs(p) > 0 && Math.abs(E) < Math.abs(p)) {- var D = mU(E || p) * (Math.abs(p) - Math.abs(E));+ var D = hU(E || p) * (Math.abs(p) - Math.abs(E));w += D;}T = { background: {@@ -88359,7 +88372,7 @@ function e4e(e) {endAngle: y} };}- } else if (x = c.scale.map(b[0]), S = c.scale.map(b[1]), C = iJ({+ } else if (x = c.scale.map(b[0]), S = c.scale.map(b[1]), C = aJ({axis: f,ticks: g,bandSize: u,@@ -88370,7 +88383,7 @@ function e4e(e) {w = C + d.size;var O = S - x;if (Math.abs(p) > 0 && Math.abs(O) < Math.abs(p)) {- var k = mU(O || p) * (Math.abs(p) - Math.abs(O));+ var k = hU(O || p) * (Math.abs(p) - Math.abs(O));S += k;}}@@ -88387,11 +88400,11 @@ function e4e(e) {});}function B3(e) {- var t = PW(e, z3);+ var t = FW(e, z3);return /*#__PURE__*/ b.createElement(f3, {id: t.id,type: "radialBar"- }, (e) => /*#__PURE__*/ b.createElement(b.Fragment, null, /*#__PURE__*/ b.createElement(R1e, {+ }, (e) => /*#__PURE__*/ b.createElement(b.Fragment, null, /*#__PURE__*/ b.createElement(z1e, {type: "radialBar",id: e,data: void 0,@@ -88399,25 +88412,25 @@ function B3(e) {hide: t.hide ?? z3.hide,angleAxisId: t.angleAxisId ?? z3.angleAxisId,radiusAxisId: t.radiusAxisId ?? z3.radiusAxisId,- stackId: nJ(t.stackId),+ stackId: rJ(t.stackId),barSize: t.barSize,minPointSize: t.minPointSize,maxBarSize: t.maxBarSize- }), /*#__PURE__*/ b.createElement(X2e, t), /*#__PURE__*/ b.createElement($2e, I3({}, t, { id: e }))));+ }), /*#__PURE__*/ b.createElement(Z2e, t), /*#__PURE__*/ b.createElement(e4e, I3({}, t, { id: e }))));}B3.displayName = "RadialBar";//#endregion//#region node_modules/recharts/es6/context/chartDataContext.js-var t4e = (e) => {- var t = e.chartData, n = DG(), r = xJ();- return (0, b.useEffect)(() => r ? () => {} : (n(nXe(t)), () => {- n(nXe(void 0));+var n4e = (e) => {+ var t = e.chartData, n = OG(), r = SJ();+ return (0, b.useEffect)(() => r ? () => {} : (n(rXe(t)), () => {+ n(rXe(void 0));}), [t,n,r]), null;-}, n4e = {+}, r4e = {x: 0,y: 0,width: 0,@@ -88428,15 +88441,15 @@ var t4e = (e) => {bottom: 0,left: 0}-}, r4e = _q({+}, i4e = vq({name: "brush",- initialState: n4e,+ initialState: r4e,reducers: { setBrushSettings(e, t) {- return t.payload == null ? n4e : t.payload;+ return t.payload == null ? r4e : t.payload;} }});-r4e.actions.setBrushSettings;-var i4e = r4e.reducer, a4e = (e, t) => {+i4e.actions.setBrushSettings;+var a4e = i4e.reducer, o4e = (e, t) => {var n = e.x, r = e.y, i = t.x, a = t.y;return {x: Math.min(n, i),@@ -88444,9 +88457,9 @@ var i4e = r4e.reducer, a4e = (e, t) => {width: Math.abs(i - n),height: Math.abs(a - r)};-}, o4e = (e) => {+}, s4e = (e) => {var t = e.x1, n = e.y1, r = e.x2, i = e.y2;- return a4e({+ return o4e({x: t,y: n}, {@@ -88454,13 +88467,13 @@ var i4e = r4e.reducer, a4e = (e, t) => {y: i});};-function s4e(e) {+function c4e(e) {return (e % 180 + 180) % 180;}-var c4e = function(e) {- var t = e.width, n = e.height, r = s4e(arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 0) * Math.PI / 180, i = Math.atan(n / t), a = r > i && r < Math.PI - i ? n / Math.sin(r) : t / Math.cos(r);+var l4e = function(e) {+ var t = e.width, n = e.height, r = c4e(arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 0) * Math.PI / 180, i = Math.atan(n / t), a = r > i && r < Math.PI - i ? n / Math.sin(r) : t / Math.cos(r);return Math.abs(a);-}, l4e = _q({+}, u4e = vq({name: "referenceElements",initialState: {dots: [],@@ -88472,48 +88485,48 @@ var c4e = function(e) {e.dots.push(t.payload);},removeDot: (e, t) => {- var n = rq(e).dots.findIndex((e) => e === t.payload);+ var n = iq(e).dots.findIndex((e) => e === t.payload);n !== -1 && e.dots.splice(n, 1);},addArea: (e, t) => {e.areas.push(t.payload);},removeArea: (e, t) => {- var n = rq(e).areas.findIndex((e) => e === t.payload);+ var n = iq(e).areas.findIndex((e) => e === t.payload);n !== -1 && e.areas.splice(n, 1);},addLine: (e, t) => {- e.lines.push(oq(t.payload));+ e.lines.push(sq(t.payload));},removeLine: (e, t) => {- var n = rq(e).lines.findIndex((e) => e === t.payload);+ var n = iq(e).lines.findIndex((e) => e === t.payload);n !== -1 && e.lines.splice(n, 1);}}-}), V3 = l4e.actions;+}), V3 = u4e.actions;V3.addDot, V3.removeDot, V3.addArea, V3.removeArea;-var u4e = V3.addLine, d4e = V3.removeLine, f4e = l4e.reducer;+var d4e = V3.addLine, f4e = V3.removeLine, p4e = u4e.reducer;//#endregion//#region node_modules/recharts/es6/container/ClipPathProvider.js-function p4e(e, t) {- return v4e(e) || _4e(e, t) || h4e(e, t) || m4e();+function m4e(e, t) {+ return y4e(e) || v4e(e, t) || g4e(e, t) || h4e();}-function m4e() {+function h4e() {throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}-function h4e(e, t) {+function g4e(e, t) {if (e) {- if (typeof e == "string") return g4e(e, t);+ if (typeof e == "string") return _4e(e, t);var n = {}.toString.call(e).slice(8, -1);- return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? g4e(e, t) : void 0;+ return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? _4e(e, t) : void 0;}}-function g4e(e, t) {+function _4e(e, t) {(t == null || t > e.length) && (t = e.length);for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];return r;}-function _4e(e, t) {+function v4e(e, t) {var n = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];if (n != null) {var r, i, a, o, s = [], c = !0, l = !1;@@ -88534,20 +88547,20 @@ function _4e(e, t) {return s;}}-function v4e(e) {+function y4e(e) {if (Array.isArray(e)) return e;}-var y4e = /*#__PURE__*/ (0, b.createContext)(void 0), b4e = (e) => {- var t = e.children, n = p4e((0, b.useState)(`${yU("recharts")}-clip`), 1)[0], r = b3();+var b4e = /*#__PURE__*/ (0, b.createContext)(void 0), x4e = (e) => {+ var t = e.children, n = m4e((0, b.useState)(`${bU("recharts")}-clip`), 1)[0], r = b3();if (r == null) return null;var i = r.x, a = r.y, o = r.width, s = r.height;- return /*#__PURE__*/ b.createElement(y4e.Provider, { value: n }, /*#__PURE__*/ b.createElement("defs", null, /*#__PURE__*/ b.createElement("clipPath", { id: n }, /*#__PURE__*/ b.createElement("rect", {+ return /*#__PURE__*/ b.createElement(b4e.Provider, { value: n }, /*#__PURE__*/ b.createElement("defs", null, /*#__PURE__*/ b.createElement("clipPath", { id: n }, /*#__PURE__*/ b.createElement("rect", {x: i,y: a,height: s,width: o}))), t);-}, x4e = () => (0, b.useContext)(y4e), S4e = class {+}, S4e = () => (0, b.useContext)(b4e), C4e = class {constructor(e) {var t = e.x, n = e.y;this.xAxisScale = t, this.yAxisScale = n;@@ -88573,7 +88586,7 @@ var y4e = /*#__PURE__*/ (0, b.createContext)(void 0), b4e = (e) => {};//#endregion//#region node_modules/recharts/es6/cartesian/ReferenceLine.js-function C4e(e, t) {+function w4e(e, t) {var n = Object.keys(e);if (Object.getOwnPropertySymbols) {var r = Object.getOwnPropertySymbols(e);@@ -88583,30 +88596,30 @@ function C4e(e, t) {}return n;}-function w4e(e) {+function T4e(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t] == null ? {} : arguments[t];- t % 2 ? C4e(Object(n), !0).forEach(function(t) {- T4e(e, t, n[t]);- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : C4e(Object(n)).forEach(function(t) {+ t % 2 ? w4e(Object(n), !0).forEach(function(t) {+ E4e(e, t, n[t]);+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : w4e(Object(n)).forEach(function(t) {Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));});}return e;}-function T4e(e, t, n) {- return (t = E4e(t)) in e ? Object.defineProperty(e, t, {+function E4e(e, t, n) {+ return (t = D4e(t)) in e ? Object.defineProperty(e, t, {value: n,enumerable: !0,configurable: !0,writable: !0}) : e[t] = n, e;}-function E4e(e) {- var t = D4e(e, "string");+function D4e(e) {+ var t = O4e(e, "string");return typeof t == "symbol" ? t : t + "";}-function D4e(e, t) {+function O4e(e, t) {if (typeof e != "object" || !e) return e;var n = e[Symbol.toPrimitive];if (n !== void 0) {@@ -88625,18 +88638,18 @@ function H3() {return e;}, H3.apply(null, arguments);}-var O4e = (e, t) => {+var k4e = (e, t) => {var n;if (/*#__PURE__*/ b.isValidElement(e)) n = /*#__PURE__*/ b.cloneElement(e, t);else if (typeof e == "function") n = e(t);else {- if (!qq(t.x1) || !qq(t.y1) || !qq(t.x2) || !qq(t.y2)) return null;+ if (!Jq(t.x1) || !Jq(t.y1) || !Jq(t.x2) || !Jq(t.y2)) return null;n = /*#__PURE__*/ b.createElement("line", H3({}, t, { className: "recharts-reference-line-line" }));}return n;-}, k4e = (e, t, n, r, i, a) => {+}, A4e = (e, t, n, r, i, a) => {var o = a.x, s = a.width, c = i.map(e, { position: n });- if (!qq(c) || t === "discard" && !i.isInRange(c)) return null;+ if (!Jq(c) || t === "discard" && !i.isInRange(c)) return null;var l = [{x: o + s,y: c@@ -88645,9 +88658,9 @@ var O4e = (e, t) => {y: c}];return r === "left" ? l.reverse() : l;-}, A4e = (e, t, n, r, i, a) => {+}, j4e = (e, t, n, r, i, a) => {var o = a.y, s = a.height, c = i.map(e, { position: n });- if (!qq(c) || t === "discard" && !i.isInRange(c)) return null;+ if (!Jq(c) || t === "discard" && !i.isInRange(c)) return null;var l = [{x: c,y: o + s@@ -88656,7 +88669,7 @@ var O4e = (e, t) => {y: o}];return r === "top" ? l.reverse() : l;-}, j4e = (e, t, n, r) => {+}, M4e = (e, t, n, r) => {var i = [r.mapWithFallback(e[0], {position: n,fallback: "rangeMin"@@ -88665,43 +88678,43 @@ var O4e = (e, t) => {fallback: "rangeMax"})];return t === "discard" && i.some((e) => !r.isInRange(e)) ? null : i;-}, M4e = (e, t, n, r, i, a, o) => {- var s = o.x, c = o.y, l = o.segment, u = o.ifOverflow, d = vU(s);- return vU(c) ? k4e(c, u, r, a, t, n) : d ? A4e(s, u, r, i, e, n) : l != null && l.length === 2 ? j4e(l, u, r, new S4e({+}, N4e = (e, t, n, r, i, a, o) => {+ var s = o.x, c = o.y, l = o.segment, u = o.ifOverflow, d = yU(s);+ return yU(c) ? A4e(c, u, r, a, t, n) : d ? j4e(s, u, r, i, e, n) : l != null && l.length === 2 ? M4e(l, u, r, new C4e({x: e,y: t})) : null;};-function N4e(e) {- var t = DG();- return (0, b.useEffect)(() => (t(u4e(e)), () => {- t(d4e(e));+function P4e(e) {+ var t = OG();+ return (0, b.useEffect)(() => (t(d4e(e)), () => {+ t(f4e(e));})), null;}-function P4e(e) {- var t = e.xAxisId, n = e.yAxisId, r = e.shape, i = e.className, a = e.ifOverflow, o = xJ(), s = x4e(), c = J((e) => R1(e, t)), l = J((e) => V1(e, n)), u = J((e) => H0(e, "xAxis", t, o)), d = J((e) => H0(e, "yAxis", n, o)), f = FJ();+function F4e(e) {+ var t = e.xAxisId, n = e.yAxisId, r = e.shape, i = e.className, a = e.ifOverflow, o = SJ(), s = S4e(), c = J((e) => z1(e, t)), l = J((e) => H1(e, n)), u = J((e) => U0(e, "xAxis", t, o)), d = J((e) => U0(e, "yAxis", n, o)), f = IJ();if (!s || !f || c == null || l == null || u == null || d == null) return null;- var p = M4e(u, d, f, e.position, c.orientation, l.orientation, e);+ var p = N4e(u, d, f, e.position, c.orientation, l.orientation, e);if (!p) return null;var m = p[0], h = p[1];if (m == null || h == null) return null;- var g = m.x, _ = m.y, v = h.x, y = h.y, x = w4e(w4e({ clipPath: a === "hidden" ? `url(#${s})` : void 0 }, eU(e)), {}, {+ var g = m.x, _ = m.y, v = h.x, y = h.y, x = T4e(T4e({ clipPath: a === "hidden" ? `url(#${s})` : void 0 }, tU(e)), {}, {x1: g,y1: _,x2: v,y2: y- }), S = o4e({+ }), S = s4e({x1: g,y1: _,x2: v,y2: y});- return /*#__PURE__*/ b.createElement(a4, { zIndex: e.zIndex }, /*#__PURE__*/ b.createElement(iU, { className: hy("recharts-reference-line", i) }, O4e(r, x), /*#__PURE__*/ b.createElement(qZe, H3({}, S, {+ return /*#__PURE__*/ b.createElement(a4, { zIndex: e.zIndex }, /*#__PURE__*/ b.createElement(aU, { className: hy("recharts-reference-line", i) }, k4e(r, x), /*#__PURE__*/ b.createElement(JZe, H3({}, S, {lowerWidth: S.width,upperWidth: S.width- }), /*#__PURE__*/ b.createElement(aQe, { label: e.label }), e.children)));+ }), /*#__PURE__*/ b.createElement(oQe, { label: e.label }), e.children)));}-var F4e = {+var I4e = {ifOverflow: "discard",xAxisId: 0,yAxisId: 0,@@ -88711,33 +88724,33 @@ var F4e = {fillOpacity: 1,strokeWidth: 1,position: "middle",- zIndex: UX.line+ zIndex: WX.line};-function I4e(e) {- var t = PW(e, F4e);- return /*#__PURE__*/ b.createElement(b.Fragment, null, /*#__PURE__*/ b.createElement(N4e, {+function L4e(e) {+ var t = FW(e, I4e);+ return /*#__PURE__*/ b.createElement(b.Fragment, null, /*#__PURE__*/ b.createElement(P4e, {yAxisId: t.yAxisId,xAxisId: t.xAxisId,ifOverflow: t.ifOverflow,x: t.x,y: t.y,segment: t.segment- }), /*#__PURE__*/ b.createElement(P4e, t));+ }), /*#__PURE__*/ b.createElement(F4e, t));}-I4e.displayName = "ReferenceLine";+L4e.displayName = "ReferenceLine";//#endregion//#region node_modules/es-toolkit/dist/function/noop.mjs-function L4e() {}+function R4e() {}//#endregion//#region node_modules/es-toolkit/dist/predicate/isPlainObject.mjs-function R4e(e) {+function z4e(e) {if (!e || typeof e != "object") return !1;let t = Object.getPrototypeOf(e);return t !== null && t !== Object.prototype && Object.getPrototypeOf(t) !== null ? !1 : Object.prototype.toString.call(e) === "[object Object]";}//#endregion//#region node_modules/es-toolkit/dist/predicate/isEqualWith.mjs-function z4e(e, t, n) {+function B4e(e, t, n) {return U3(e, t, void 0, void 0, void 0, void 0, n);}function U3(e, t, n, r, i, a, o) {@@ -88757,15 +88770,15 @@ function U3(e, t, n, r, i, a, o) {}function W3(e, t, n, r) {if (Object.is(e, t)) return !0;- let i = UW(e), a = UW(t);- if (i === "[object Arguments]" && (i = tG), a === "[object Arguments]" && (a = tG), i !== a) return !1;+ let i = WW(e), a = WW(t);+ if (i === "[object Arguments]" && (i = nG), a === "[object Arguments]" && (a = nG), i !== a) return !1;switch (i) {- case GW: return e.toString() === t.toString();- case KW: return gG(e.valueOf(), t.valueOf());- case qW:- case XW:- case YW: return Object.is(e.valueOf(), t.valueOf());- case WW: return e.source === t.source && e.flags === t.flags;+ case KW: return e.toString() === t.toString();+ case qW: return _G(e.valueOf(), t.valueOf());+ case JW:+ case ZW:+ case XW: return Object.is(e.valueOf(), t.valueOf());+ case GW: return e.source === t.source && e.flags === t.flags;case nze: return e === t;}n ??= /* @__PURE__ */ new Map();@@ -88774,11 +88787,11 @@ function W3(e, t, n, r) {n.set(e, t), n.set(t, e);try {switch (i) {- case ZW:+ case QW:if (e.size !== t.size) return !1;for (let [i, a] of e.entries()) if (!t.has(i) || !U3(a, t.get(i), i, e, t, n, r)) return !1;return !0;- case QW: {+ case $W: {if (e.size !== t.size) return !1;let i = Array.from(e.values()), a = Array.from(t.values());for (let o = 0; o < i.length; o++) {@@ -88788,27 +88801,27 @@ function W3(e, t, n, r) {}return !0;}- case $W:- case rG:+ case eG:case iG:case aG:case oG:- case ize:case sG:+ case ize:case cG:case lG:- case aze:case uG:+ case aze:case dG:- if (pG(e) !== pG(t) || e.length !== t.length) return !1;+ case fG:+ if (mG(e) !== mG(t) || e.length !== t.length) return !1;for (let i = 0; i < e.length; i++) if (!U3(e[i], t[i], i, e, t, n, r)) return !1;return !0;- case eG: return e.byteLength === t.byteLength && W3(new Uint8Array(e), new Uint8Array(t), n, r);- case nG: return e.byteLength !== t.byteLength || e.byteOffset !== t.byteOffset ? !1 : W3(new Uint8Array(e), new Uint8Array(t), n, r);+ case tG: return e.byteLength === t.byteLength && W3(new Uint8Array(e), new Uint8Array(t), n, r);+ case rG: return e.byteLength !== t.byteLength || e.byteOffset !== t.byteOffset ? !1 : W3(new Uint8Array(e), new Uint8Array(t), n, r);case rze: return e.name === t.name && e.message === t.message;- case tG: {- if (!(W3(e.constructor, t.constructor, n, r) || R4e(e) && R4e(t))) return !1;- let i = [...Object.keys(e), ...HW(e)], a = [...Object.keys(t), ...HW(t)];+ case nG: {+ if (!(W3(e.constructor, t.constructor, n, r) || z4e(e) && z4e(t))) return !1;+ let i = [...Object.keys(e), ...UW(e)], a = [...Object.keys(t), ...UW(t)];if (i.length !== a.length) return !1;for (let a = 0; a < i.length; a++) {let o = i[a], s = e[o];@@ -88826,12 +88839,12 @@ function W3(e, t, n, r) {}//#endregion//#region node_modules/es-toolkit/dist/predicate/isEqual.mjs-function B4e(e, t) {- return z4e(e, t, L4e);+function V4e(e, t) {+ return B4e(e, t, R4e);}//#endregion//#region node_modules/recharts/es6/util/getEveryNth.js-function V4e(e, t) {+function H4e(e, t) {if (t < 1) return [];if (t === 1) return e;for (var n = [], r = 0; r < e.length; r += t) {@@ -88842,13 +88855,13 @@ function V4e(e, t) {}//#endregion//#region node_modules/recharts/es6/util/TickUtils.js-function H4e(e, t, n) {- return c4e({+function U4e(e, t, n) {+ return l4e({width: e.width + t.width,height: e.height + t.height}, n);}-function U4e(e, t, n) {+function W4e(e, t, n) {var r = n === "width", i = e.x, a = e.y, o = e.width, s = e.height;return t === 1 ? {start: r ? i : a,@@ -88863,21 +88876,21 @@ function G3(e, t, n, r, i) {var a = n();return e * (t - e * a / 2 - r) >= 0 && e * (t + e * a / 2 - i) <= 0;}-function W4e(e, t) {- return V4e(e, t + 1);+function G4e(e, t) {+ return H4e(e, t + 1);}//#endregion//#region node_modules/recharts/es6/cartesian/getEquidistantTicks.js-function G4e(e, t, n, r, i) {+function K4e(e, t, n, r, i) {for (var a = (r || []).slice(), o = t.start, s = t.end, c = 0, l = 1, u = o, d = function() {var t = r?.[c];- if (t === void 0) return { v: V4e(r, l) };+ if (t === void 0) return { v: H4e(r, l) };var a = c, d, f = () => (d === void 0 && (d = n(t, a)), d), p = t.coordinate, m = c === 0 || G3(e, p, f, u, s);m || (c = 0, u = o, l += 1), m && (u = p + e * (f() / 2 + i), c += l);}, f; l <= a.length;) if (f = d(), f) return f.v;return [];}-function K4e(e, t, n, r, i) {+function q4e(e, t, n, r, i) {var a = (r || []).slice().length;if (a === 0) return [];for (var o = t.start, s = t.end, c = 1; c <= a; c++) {@@ -88900,7 +88913,7 @@ function K4e(e, t, n, r, i) {}//#endregion//#region node_modules/recharts/es6/cartesian/getTicks.js-function q4e(e, t) {+function J4e(e, t) {var n = Object.keys(e);if (Object.getOwnPropertySymbols) {var r = Object.getOwnPropertySymbols(e);@@ -88913,27 +88926,27 @@ function q4e(e, t) {function K3(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t] == null ? {} : arguments[t];- t % 2 ? q4e(Object(n), !0).forEach(function(t) {- J4e(e, t, n[t]);- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : q4e(Object(n)).forEach(function(t) {+ t % 2 ? J4e(Object(n), !0).forEach(function(t) {+ Y4e(e, t, n[t]);+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : J4e(Object(n)).forEach(function(t) {Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));});}return e;}-function J4e(e, t, n) {- return (t = Y4e(t)) in e ? Object.defineProperty(e, t, {+function Y4e(e, t, n) {+ return (t = X4e(t)) in e ? Object.defineProperty(e, t, {value: n,enumerable: !0,configurable: !0,writable: !0}) : e[t] = n, e;}-function Y4e(e) {- var t = X4e(e, "string");+function X4e(e) {+ var t = Z4e(e, "string");return typeof t == "symbol" ? t : t + "";}-function X4e(e, t) {+function Z4e(e, t) {if (typeof e != "object" || !e) return e;var n = e[Symbol.toPrimitive];if (n !== void 0) {@@ -88943,7 +88956,7 @@ function X4e(e, t) {}return (t === "string" ? String : Number)(e);}-function Z4e(e, t, n, r, i) {+function Q4e(e, t, n, r, i) {for (var a = (r || []).slice(), o = a.length, s = t.start, c = t.end, l = function(t) {var r = a[t];if (r == null) return 1;@@ -88956,7 +88969,7 @@ function Z4e(e, t, n, r, i) {}, u = o - 1; u >= 0; u--) if (l(u)) continue;return a;}-function Q4e(e, t, n, r, i, a) {+function $4e(e, t, n, r, i, a) {var o = (r || []).slice(), s = o.length, c = t.start, l = t.end;if (a) {var u = r[s - 1];@@ -88980,7 +88993,7 @@ function Q4e(e, t, n, r, i, a) {function q3(e, t, n) {var r = e.tick, i = e.ticks, a = e.viewBox, o = e.minTickGap, s = e.orientation, c = e.interval, l = e.tickFormatter, u = e.unit, d = e.angle;if (!i || !i.length || !r) return [];- if (_U(c) || fY.isSsr) return W4e(i, _U(c) ? c : 0) ?? [];+ if (vU(c) || pY.isSsr) return G4e(i, vU(c) ? c : 0) ?? [];var f = [], p = s === "top" || s === "bottom" ? "width" : "height", m = u && p === "width" ? m4(u, {fontSize: t,letterSpacing: n@@ -88989,19 +89002,19 @@ function q3(e, t, n) {height: 0}, h = (e, r) => {var i = typeof l == "function" ? l(e.value, r) : e.value;- return p === "width" ? H4e(m4(i, {+ return p === "width" ? U4e(m4(i, {fontSize: t,letterSpacing: n}), m, d) : m4(i, {fontSize: t,letterSpacing: n})[p];- }, g = i[0], _ = i[1], v = i.length >= 2 && g != null && _ != null ? mU(_.coordinate - g.coordinate) : 1, y = U4e(a, v, p);- return c === "equidistantPreserveStart" ? G4e(v, y, h, i, o) : c === "equidistantPreserveEnd" ? K4e(v, y, h, i, o) : (f = c === "preserveStart" || c === "preserveStartEnd" ? Q4e(v, y, h, i, o, c === "preserveStartEnd") : Z4e(v, y, h, i, o), f.filter((e) => e.isShow));+ }, g = i[0], _ = i[1], v = i.length >= 2 && g != null && _ != null ? hU(_.coordinate - g.coordinate) : 1, y = W4e(a, v, p);+ return c === "equidistantPreserveStart" ? K4e(v, y, h, i, o) : c === "equidistantPreserveEnd" ? q4e(v, y, h, i, o) : (f = c === "preserveStart" || c === "preserveStartEnd" ? $4e(v, y, h, i, o, c === "preserveStartEnd") : Q4e(v, y, h, i, o), f.filter((e) => e.isShow));}//#endregion//#region node_modules/recharts/es6/util/YAxisUtils.js-var $4e = (e) => {+var e3e = (e) => {var t = e.ticks, n = e.label, r = e.labelGapWithTick, i = r === void 0 ? 5 : r, a = e.tickSize, o = a === void 0 ? 0 : a, s = e.tickMargin, c = s === void 0 ? 0 : s, l = 0;if (t) {Array.from(t).forEach((e) => {@@ -89014,7 +89027,7 @@ var $4e = (e) => {return Math.round(f);}return 0;-}, e3e = (e) => {+}, t3e = (e) => {var t = e.ticks, n = e.label, r = e.labelGapWithTick, i = r === void 0 ? 5 : r, a = e.tickSize, o = a === void 0 ? 0 : a, s = e.tickMargin, c = s === void 0 ? 0 : s, l = 0;if (t) {Array.from(t).forEach((e) => {@@ -89027,7 +89040,7 @@ var $4e = (e) => {return Math.round(f);}return 0;-}, t3e = _q({+}, n3e = vq({name: "renderedTicks",initialState: {xAxis: {},@@ -89036,14 +89049,14 @@ var $4e = (e) => {reducers: {setRenderedTicks: (e, t) => {var n = t.payload, r = n.axisType, i = n.axisId, a = n.ticks;- e[r][i] = oq(a);+ e[r][i] = sq(a);},removeRenderedTicks: (e, t) => {var n = t.payload, r = n.axisType, i = n.axisId;delete e[r][i];}}-}), n3e = t3e.actions, r3e = n3e.setRenderedTicks, i3e = n3e.removeRenderedTicks, a3e = t3e.reducer, o3e = [+}), r3e = n3e.actions, i3e = r3e.setRenderedTicks, a3e = r3e.removeRenderedTicks, o3e = n3e.reducer, s3e = ["axisLine","width","height",@@ -89053,25 +89066,25 @@ var $4e = (e) => {"axisType","axisId"];-function s3e(e, t) {- return f3e(e) || d3e(e, t) || l3e(e, t) || c3e();+function c3e(e, t) {+ return p3e(e) || f3e(e, t) || u3e(e, t) || l3e();}-function c3e() {+function l3e() {throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}-function l3e(e, t) {+function u3e(e, t) {if (e) {- if (typeof e == "string") return u3e(e, t);+ if (typeof e == "string") return d3e(e, t);var n = {}.toString.call(e).slice(8, -1);- return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? u3e(e, t) : void 0;+ return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? d3e(e, t) : void 0;}}-function u3e(e, t) {+function d3e(e, t) {(t == null || t > e.length) && (t = e.length);for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];return r;}-function d3e(e, t) {+function f3e(e, t) {var n = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];if (n != null) {var r, i, a, o, s = [], c = !0, l = !1;@@ -89092,19 +89105,19 @@ function d3e(e, t) {return s;}}-function f3e(e) {+function p3e(e) {if (Array.isArray(e)) return e;}-function p3e(e, t) {+function m3e(e, t) {if (e == null) return {};- var n, r, i = m3e(e, t);+ var n, r, i = h3e(e, t);if (Object.getOwnPropertySymbols) {var a = Object.getOwnPropertySymbols(e);for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);}return i;}-function m3e(e, t) {+function h3e(e, t) {if (e == null) return {};var n = {};for (var r in e) if ({}.hasOwnProperty.call(e, r)) {@@ -89122,7 +89135,7 @@ function J3() {return e;}, J3.apply(null, arguments);}-function h3e(e, t) {+function g3e(e, t) {var n = Object.keys(e);if (Object.getOwnPropertySymbols) {var r = Object.getOwnPropertySymbols(e);@@ -89135,27 +89148,27 @@ function h3e(e, t) {function Y3(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t] == null ? {} : arguments[t];- t % 2 ? h3e(Object(n), !0).forEach(function(t) {- g3e(e, t, n[t]);- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : h3e(Object(n)).forEach(function(t) {+ t % 2 ? g3e(Object(n), !0).forEach(function(t) {+ _3e(e, t, n[t]);+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : g3e(Object(n)).forEach(function(t) {Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));});}return e;}-function g3e(e, t, n) {- return (t = _3e(t)) in e ? Object.defineProperty(e, t, {+function _3e(e, t, n) {+ return (t = v3e(t)) in e ? Object.defineProperty(e, t, {value: n,enumerable: !0,configurable: !0,writable: !0}) : e[t] = n, e;}-function _3e(e) {- var t = v3e(e, "string");+function v3e(e) {+ var t = y3e(e, "string");return typeof t == "symbol" ? t : t + "";}-function v3e(e, t) {+function y3e(e, t) {if (typeof e != "object" || !e) return e;var n = e[Symbol.toPrimitive];if (n !== void 0) {@@ -89187,12 +89200,12 @@ var X3 = {tickSize: 6,tickMargin: 2,interval: "preserveEnd",- zIndex: UX.axis+ zIndex: WX.axis};-function y3e(e) {+function b3e(e) {var t = e.x, n = e.y, r = e.width, i = e.height, a = e.orientation, o = e.mirror, s = e.axisLine, c = e.otherSvgProps;if (!s) return null;- var l = Y3(Y3(Y3({}, c), QH(s)), {}, { fill: "none" });+ var l = Y3(Y3(Y3({}, c), $H(s)), {}, { fill: "none" });if (a === "top" || a === "bottom") {var u = +(a === "top" && !o || a === "bottom" && o);l = Y3(Y3({}, l), {}, {@@ -89210,10 +89223,10 @@ function y3e(e) {y2: n + i});}- return /*#__PURE__*/ b.createElement("line", J3({}, l, { className: hy("recharts-cartesian-axis-line", dU(s, "className")) }));+ return /*#__PURE__*/ b.createElement("line", J3({}, l, { className: hy("recharts-cartesian-axis-line", fU(s, "className")) }));}-function b3e(e, t, n, r, i, a, o, s, c) {- var l, u, d, f, p, m, h = s ? -1 : 1, g = e.tickSize || o, _ = _U(e.tickCoord) ? e.tickCoord : e.coordinate;+function x3e(e, t, n, r, i, a, o, s, c) {+ var l, u, d, f, p, m, h = s ? -1 : 1, g = e.tickSize || o, _ = vU(e.tickCoord) ? e.tickCoord : e.coordinate;switch (a) {case "top":l = u = e.coordinate, f = n + +!s * i, d = f - h * g, m = d - h * c, p = _;@@ -89239,14 +89252,14 @@ function b3e(e, t, n, r, i, a, o, s, c) {}};}-function x3e(e, t) {+function S3e(e, t) {switch (e) {case "left": return t ? "start" : "end";case "right": return t ? "end" : "start";default: return "middle";}}-function S3e(e, t) {+function C3e(e, t) {switch (e) {case "left":case "right": return "middle";@@ -89254,7 +89267,7 @@ function S3e(e, t) {default: return t ? "end" : "start";}}-function C3e(e) {+function w3e(e) {var t = e.option, n = e.tickProps, r = e.value, i, a = hy(n.className, "recharts-cartesian-axis-tick-value");if (/*#__PURE__*/ b.isValidElement(t)) i = /*#__PURE__*/ b.cloneElement(t, Y3(Y3({}, n), {}, { className: a }));else if (typeof t == "function") i = t(Y3(Y3({}, n), {}, { className: a }));@@ -89264,8 +89277,8 @@ function C3e(e) {}return i;}-function w3e(e) {- var t = e.ticks, n = e.axisType, r = e.axisId, i = DG(), a = (0, b.useRef)(null);+function T3e(e) {+ var t = e.ticks, n = e.axisType, r = e.axisId, i = OG(), a = (0, b.useRef)(null);return (0, b.useEffect)(() => {if (r != null && n != null) {var e = t.map((e) => ({@@ -89274,11 +89287,11 @@ function w3e(e) {offset: e.offset,index: e.index})), o = a.current;- o != null && o.axisId === r && o.axisType === n && B4e(o.ticks, e) || (a.current = {+ o != null && o.axisId === r && o.axisType === n && V4e(o.ticks, e) || (a.current = {ticks: e,axisId: r,axisType: n- }, i(r3e({+ }, i(i3e({ticks: e,axisId: r,axisType: n@@ -89289,8 +89302,8 @@ function w3e(e) {t,r,n- ]), (0, b.useEffect)(() => r == null || n == null ? DU : () => {- i(i3e({+ ]), (0, b.useEffect)(() => r == null || n == null ? OU : () => {+ i(a3e({axisId: r,axisType: n}));@@ -89300,15 +89313,15 @@ function w3e(e) {n]), null;}-var T3e = /*#__PURE__*/ (0, b.forwardRef)((e, t) => {- var n = e.ticks, r = n === void 0 ? [] : n, i = e.tick, a = e.tickLine, o = e.stroke, s = e.tickFormatter, c = e.unit, l = e.padding, u = e.tickTextProps, d = e.orientation, f = e.mirror, p = e.x, m = e.y, h = e.width, g = e.height, _ = e.tickSize, v = e.tickMargin, y = e.fontSize, x = e.letterSpacing, S = e.getTicksConfig, C = e.events, w = e.axisType, T = e.axisId, E = q3(Y3(Y3({}, S), {}, { ticks: r }), y, x), D = QH(S), O = $H(i), k = DZe(D.textAnchor) ? D.textAnchor : x3e(d, f), A = S3e(d, f), j = {};+var E3e = /*#__PURE__*/ (0, b.forwardRef)((e, t) => {+ var n = e.ticks, r = n === void 0 ? [] : n, i = e.tick, a = e.tickLine, o = e.stroke, s = e.tickFormatter, c = e.unit, l = e.padding, u = e.tickTextProps, d = e.orientation, f = e.mirror, p = e.x, m = e.y, h = e.width, g = e.height, _ = e.tickSize, v = e.tickMargin, y = e.fontSize, x = e.letterSpacing, S = e.getTicksConfig, C = e.events, w = e.axisType, T = e.axisId, E = q3(Y3(Y3({}, S), {}, { ticks: r }), y, x), D = $H(S), O = eU(i), k = OZe(D.textAnchor) ? D.textAnchor : S3e(d, f), A = C3e(d, f), j = {};typeof a == "object" && (j = a);- var M = Y3(Y3({}, D), {}, { fill: "none" }, j), N = E.map((e) => Y3({ entry: e }, b3e(e, p, m, h, g, d, _, f, v))), P = N.map((e) => {+ var M = Y3(Y3({}, D), {}, { fill: "none" }, j), N = E.map((e) => Y3({ entry: e }, x3e(e, p, m, h, g, d, _, f, v))), P = N.map((e) => {var t = e.entry, n = e.line;- return /*#__PURE__*/ b.createElement(iU, {+ return /*#__PURE__*/ b.createElement(aU, {className: "recharts-cartesian-axis-tick",key: `tick-${t.value}-${t.coordinate}-${t.tickCoord}`- }, a && /*#__PURE__*/ b.createElement("line", J3({}, M, n, { className: hy("recharts-cartesian-axis-tick-line", dU(a, "className")) })));+ }, a && /*#__PURE__*/ b.createElement("line", J3({}, M, n, { className: hy("recharts-cartesian-axis-tick-line", fU(a, "className")) })));}), ee = N.map((e, t) => {var n = e.entry, r = e.tick, a = Y3(Y3({}, Y3(Y3(Y3(Y3({ verticalAnchor: A }, D), {}, {textAnchor: k,@@ -89321,34 +89334,34 @@ var T3e = /*#__PURE__*/ (0, b.forwardRef)((e, t) => {tickFormatter: s,padding: l}, u), {}, { angle: u?.angle ?? D.angle ?? 0 })), O);- return /*#__PURE__*/ b.createElement(iU, J3({+ return /*#__PURE__*/ b.createElement(aU, J3({className: "recharts-cartesian-axis-tick-label",key: `tick-label-${n.value}-${n.coordinate}-${n.tickCoord}`- }, MW(C, n, t)), i && /*#__PURE__*/ b.createElement(C3e, {+ }, NW(C, n, t)), i && /*#__PURE__*/ b.createElement(w3e, {option: i,tickProps: a,value: `${typeof s == "function" ? s(n.value, t) : n.value}${c || ""}`}));});- return /*#__PURE__*/ b.createElement("g", { className: `recharts-cartesian-axis-ticks recharts-${w}-ticks` }, /*#__PURE__*/ b.createElement(w3e, {+ return /*#__PURE__*/ b.createElement("g", { className: `recharts-cartesian-axis-ticks recharts-${w}-ticks` }, /*#__PURE__*/ b.createElement(T3e, {ticks: E,axisId: T,axisType: w- }), ee.length > 0 && /*#__PURE__*/ b.createElement(a4, { zIndex: UX.label }, /*#__PURE__*/ b.createElement("g", {+ }), ee.length > 0 && /*#__PURE__*/ b.createElement(a4, { zIndex: WX.label }, /*#__PURE__*/ b.createElement("g", {className: `recharts-cartesian-axis-tick-labels recharts-${w}-tick-labels`,ref: t}, ee)), P.length > 0 && /*#__PURE__*/ b.createElement("g", { className: `recharts-cartesian-axis-tick-lines recharts-${w}-tick-lines` }, P));-}), E3e = /*#__PURE__*/ (0, b.forwardRef)((e, t) => {- var n = e.axisLine, r = e.width, i = e.height, a = e.className, o = e.hide, s = e.ticks, c = e.axisType, l = e.axisId, u = p3e(e, o3e), d = s3e((0, b.useState)(""), 2), f = d[0], p = d[1], m = s3e((0, b.useState)(""), 2), h = m[0], g = m[1], _ = (0, b.useRef)(null);+}), D3e = /*#__PURE__*/ (0, b.forwardRef)((e, t) => {+ var n = e.axisLine, r = e.width, i = e.height, a = e.className, o = e.hide, s = e.ticks, c = e.axisType, l = e.axisId, u = m3e(e, s3e), d = c3e((0, b.useState)(""), 2), f = d[0], p = d[1], m = c3e((0, b.useState)(""), 2), h = m[0], g = m[1], _ = (0, b.useRef)(null);(0, b.useImperativeHandle)(t, () => ({- getCalculatedWidth: () => $4e({+ getCalculatedWidth: () => e3e({ticks: _.current,label: e.labelRef?.current,labelGapWithTick: 5,tickSize: e.tickSize,tickMargin: e.tickMargin}),- getCalculatedHeight: () => e3e({+ getCalculatedHeight: () => t3e({ticks: _.current,label: e.labelRef?.current,labelGapWithTick: 5,@@ -89367,7 +89380,7 @@ var T3e = /*#__PURE__*/ (0, b.forwardRef)((e, t) => {}}}, [f, h]);- return o || r != null && r <= 0 || i != null && i <= 0 ? null : /*#__PURE__*/ b.createElement(a4, { zIndex: e.zIndex }, /*#__PURE__*/ b.createElement(iU, { className: hy("recharts-cartesian-axis", a) }, /*#__PURE__*/ b.createElement(y3e, {+ return o || r != null && r <= 0 || i != null && i <= 0 ? null : /*#__PURE__*/ b.createElement(a4, { zIndex: e.zIndex }, /*#__PURE__*/ b.createElement(aU, { className: hy("recharts-cartesian-axis", a) }, /*#__PURE__*/ b.createElement(b3e, {x: e.x,y: e.y,width: r,@@ -89375,8 +89388,8 @@ var T3e = /*#__PURE__*/ (0, b.forwardRef)((e, t) => {orientation: e.orientation,mirror: e.mirror,axisLine: n,- otherSvgProps: QH(e)- }), /*#__PURE__*/ b.createElement(T3e, {+ otherSvgProps: $H(e)+ }), /*#__PURE__*/ b.createElement(E3e, {ref: v,axisType: c,events: u,@@ -89400,37 +89413,37 @@ var T3e = /*#__PURE__*/ (0, b.forwardRef)((e, t) => {x: e.x,y: e.y,axisId: l- }), /*#__PURE__*/ b.createElement(qZe, {+ }), /*#__PURE__*/ b.createElement(JZe, {x: e.x,y: e.y,width: e.width,height: e.height,lowerWidth: e.width,upperWidth: e.width- }, /*#__PURE__*/ b.createElement(aQe, {+ }, /*#__PURE__*/ b.createElement(oQe, {label: e.label,labelRef: e.labelRef}), e.children)));}), Z3 = /*#__PURE__*/ b.forwardRef((e, t) => {- var n = PW(e, X3);- return /*#__PURE__*/ b.createElement(E3e, J3({}, n, { ref: t }));+ var n = FW(e, X3);+ return /*#__PURE__*/ b.createElement(D3e, J3({}, n, { ref: t }));});Z3.displayName = "CartesianAxis";//#endregion//#region node_modules/recharts/es6/theme/RechartsThemeContext.js-var D3e = /*#__PURE__*/ (0, b.createContext)({ grid: {+var O3e = /*#__PURE__*/ (0, b.createContext)({ grid: {stroke: "#ccc",fill: "none"} });-D3e.Provider;-var O3e = () => (0, b.useContext)(D3e), k3e = [+O3e.Provider;+var k3e = () => (0, b.useContext)(O3e), A3e = ["x1","y1","x2","y2","key"-], A3e = ["offset"], j3e = ["xAxisId", "yAxisId"], M3e = ["xAxisId", "yAxisId"];-function N3e(e, t) {+], j3e = ["offset"], M3e = ["xAxisId", "yAxisId"], N3e = ["xAxisId", "yAxisId"];+function P3e(e, t) {var n = Object.keys(e);if (Object.getOwnPropertySymbols) {var r = Object.getOwnPropertySymbols(e);@@ -89443,27 +89456,27 @@ function N3e(e, t) {function Q3(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t] == null ? {} : arguments[t];- t % 2 ? N3e(Object(n), !0).forEach(function(t) {- P3e(e, t, n[t]);- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : N3e(Object(n)).forEach(function(t) {+ t % 2 ? P3e(Object(n), !0).forEach(function(t) {+ F3e(e, t, n[t]);+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : P3e(Object(n)).forEach(function(t) {Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));});}return e;}-function P3e(e, t, n) {- return (t = F3e(t)) in e ? Object.defineProperty(e, t, {+function F3e(e, t, n) {+ return (t = I3e(t)) in e ? Object.defineProperty(e, t, {value: n,enumerable: !0,configurable: !0,writable: !0}) : e[t] = n, e;}-function F3e(e) {- var t = I3e(e, "string");+function I3e(e) {+ var t = L3e(e, "string");return typeof t == "symbol" ? t : t + "";}-function I3e(e, t) {+function L3e(e, t) {if (typeof e != "object" || !e) return e;var n = e[Symbol.toPrimitive];if (n !== void 0) {@@ -89484,14 +89497,14 @@ function $3() {}function e6(e, t) {if (e == null) return {};- var n, r, i = L3e(e, t);+ var n, r, i = R3e(e, t);if (Object.getOwnPropertySymbols) {var a = Object.getOwnPropertySymbols(e);for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);}return i;}-function L3e(e, t) {+function R3e(e, t) {if (e == null) return {};var n = {};for (var r in e) if ({}.hasOwnProperty.call(e, r)) {@@ -89500,7 +89513,7 @@ function L3e(e, t) {}return n;}-var R3e = (e) => {+var z3e = (e) => {var t = e.fill;if (!t || t === "none") return null;var n = e.fillOpacity, r = e.x, i = e.y, a = e.width, o = e.height, s = e.ry;@@ -89516,14 +89529,14 @@ var R3e = (e) => {className: "recharts-cartesian-grid-bg"});};-function z3e(e) {+function B3e(e) {var t = e.option, n = e.lineItemProps, r;if (/*#__PURE__*/ b.isValidElement(t)) r = /*#__PURE__*/ b.cloneElement(t, n);else if (typeof t == "function") r = t(n);else {- var i = n.x1, a = n.y1, o = n.x2, s = n.y2, c = n.key, l = QH(e6(n, k3e)) ?? {};+ var i = n.x1, a = n.y1, o = n.x2, s = n.y2, c = n.key, l = $H(e6(n, A3e)) ?? {};l.offset;- var u = e6(l, A3e), d = Array.isArray(u.strokeDasharray) ? u.strokeDasharray.join(",") : u.strokeDasharray;+ var u = e6(l, j3e), d = Array.isArray(u.strokeDasharray) ? u.strokeDasharray.join(",") : u.strokeDasharray;r = /*#__PURE__*/ b.createElement("line", $3({}, u, {strokeDasharray: d,x1: i,@@ -89536,11 +89549,11 @@ function z3e(e) {}return r;}-function B3e(e) {+function V3e(e) {var t = e.x, n = e.width, r = e.horizontal, i = r === void 0 || r, a = e.horizontalPoints;if (!i || !a || !a.length) return null;e.xAxisId, e.yAxisId;- var o = e6(e, j3e), s = a.map((e, r) => {+ var o = e6(e, M3e), s = a.map((e, r) => {var a = Q3(Q3({}, o), {}, {x1: t,y1: e,@@ -89549,7 +89562,7 @@ function B3e(e) {key: `line-${r}`,index: r});- return /*#__PURE__*/ b.createElement(z3e, {+ return /*#__PURE__*/ b.createElement(B3e, {key: `line-${r}`,option: i,lineItemProps: a@@ -89557,11 +89570,11 @@ function B3e(e) {});return /*#__PURE__*/ b.createElement("g", { className: "recharts-cartesian-grid-horizontal" }, s);}-function V3e(e) {+function H3e(e) {var t = e.y, n = e.height, r = e.vertical, i = r === void 0 || r, a = e.verticalPoints;if (!i || !a || !a.length) return null;e.xAxisId, e.yAxisId;- var o = e6(e, M3e), s = a.map((e, r) => {+ var o = e6(e, N3e), s = a.map((e, r) => {var a = Q3(Q3({}, o), {}, {x1: e,y1: t,@@ -89570,7 +89583,7 @@ function V3e(e) {key: `line-${r}`,index: r});- return /*#__PURE__*/ b.createElement(z3e, {+ return /*#__PURE__*/ b.createElement(B3e, {option: i,lineItemProps: a,key: `line-${r}`@@ -89578,7 +89591,7 @@ function V3e(e) {});return /*#__PURE__*/ b.createElement("g", { className: "recharts-cartesian-grid-vertical" }, s);}-function H3e(e) {+function U3e(e) {var t = e.horizontalFill, n = e.fillOpacity, r = e.x, i = e.y, a = e.width, o = e.height, s = e.horizontalPoints, c = e.horizontal;if (!(c === void 0 || c) || !t || !t.length || s == null) return null;var l = s.map((e) => Math.round(e + i - i)).sort((e, t) => e - t);@@ -89601,7 +89614,7 @@ function H3e(e) {});return /*#__PURE__*/ b.createElement("g", { className: "recharts-cartesian-gridstripes-horizontal" }, u);}-function U3e(e) {+function W3e(e) {var t = e.vertical, n = t === void 0 || t, r = e.verticalFill, i = e.fillOpacity, a = e.x, o = e.y, s = e.width, c = e.height, l = e.verticalPoints;if (!n || !r || !r.length) return null;var u = l.map((e) => Math.round(e + a - a)).sort((e, t) => e - t);@@ -89624,10 +89637,10 @@ function U3e(e) {});return /*#__PURE__*/ b.createElement("g", { className: "recharts-cartesian-gridstripes-vertical" }, d);}-var W3e = (e, t) => {+var G3e = (e, t) => {var n = e.xAxis, r = e.width, i = e.height, a = e.offset;- return $q(q3(Q3(Q3(Q3({}, X3), n), {}, {- ticks: eJ(n, !0),+ return eJ(q3(Q3(Q3(Q3({}, X3), n), {}, {+ ticks: tJ(n, !0),viewBox: {x: 0,y: 0,@@ -89635,10 +89648,10 @@ var W3e = (e, t) => {height: i}})), a.left, a.left + a.width, t);-}, G3e = (e, t) => {+}, K3e = (e, t) => {var n = e.yAxis, r = e.width, i = e.height, a = e.offset;- return $q(q3(Q3(Q3(Q3({}, X3), n), {}, {- ticks: eJ(n, !0),+ return eJ(q3(Q3(Q3(Q3({}, X3), n), {}, {+ ticks: tJ(n, !0),viewBox: {x: 0,y: 0,@@ -89646,7 +89659,7 @@ var W3e = (e, t) => {height: i}})), a.top, a.top + a.height, t);-}, K3e = {+}, q3e = {horizontal: !0,vertical: !0,horizontalPoints: [],@@ -89656,22 +89669,22 @@ var W3e = (e, t) => {xAxisId: 0,yAxisId: 0,syncWithTicks: !1,- zIndex: UX.grid+ zIndex: WX.grid};-function q3e(e) {- var t = LJ(), n = RJ(), r = IJ(), i = Q3(Q3({}, PW(e, K3e)), {}, {- x: _U(e.x) ? e.x : r.left,- y: _U(e.y) ? e.y : r.top,- width: _U(e.width) ? e.width : r.width,- height: _U(e.height) ? e.height : r.height- }), a = i.xAxisId, o = i.yAxisId, s = i.x, c = i.y, l = i.width, u = i.height, d = i.syncWithTicks, f = i.horizontalValues, p = i.verticalValues, m = xJ(), h = J((e) => Q0(e, "xAxis", a, m)), g = J((e) => Q0(e, "yAxis", o, m)), _ = O3e(), v = {+function J3e(e) {+ var t = RJ(), n = zJ(), r = LJ(), i = Q3(Q3({}, FW(e, q3e)), {}, {+ x: vU(e.x) ? e.x : r.left,+ y: vU(e.y) ? e.y : r.top,+ width: vU(e.width) ? e.width : r.width,+ height: vU(e.height) ? e.height : r.height+ }), a = i.xAxisId, o = i.yAxisId, s = i.x, c = i.y, l = i.width, u = i.height, d = i.syncWithTicks, f = i.horizontalValues, p = i.verticalValues, m = SJ(), h = J((e) => $0(e, "xAxis", a, m)), g = J((e) => $0(e, "yAxis", o, m)), _ = k3e(), v = {stroke: i.stroke ?? _.grid.stroke,strokeWidth: i.strokeWidth ?? _.grid.strokeWidth,strokeOpacity: i.strokeOpacity ?? _.grid.strokeOpacity,strokeDasharray: i.strokeDasharray ?? _.grid.strokeDasharray};- if (!Jq(l) || !Jq(u) || !_U(s) || !_U(c)) return null;- var y = i.verticalCoordinatesGenerator || W3e, x = i.horizontalCoordinatesGenerator || G3e, S = i.horizontalPoints, C = i.verticalPoints;+ if (!Yq(l) || !Yq(u) || !vU(s) || !vU(c)) return null;+ var y = i.verticalCoordinatesGenerator || G3e, x = i.horizontalCoordinatesGenerator || K3e, S = i.horizontalPoints, C = i.verticalPoints;if ((!S || !S.length) && typeof x == "function") {var w = f && f.length, T = x({yAxis: g ? Q3(Q3({}, g), {}, { ticks: w ? f : g.ticks }) : void 0,@@ -89679,7 +89692,7 @@ function q3e(e) {height: n ?? u,offset: r}, w ? !0 : d);- wJ(Array.isArray(T), `horizontalCoordinatesGenerator should return Array but instead it returned [${typeof T}]`), Array.isArray(T) && (S = T);+ TJ(Array.isArray(T), `horizontalCoordinatesGenerator should return Array but instead it returned [${typeof T}]`), Array.isArray(T) && (S = T);}if ((!C || !C.length) && typeof y == "function") {var E = p && p.length, D = y({@@ -89688,9 +89701,9 @@ function q3e(e) {height: n ?? u,offset: r}, E ? !0 : d);- wJ(Array.isArray(D), `verticalCoordinatesGenerator should return Array but instead it returned [${typeof D}]`), Array.isArray(D) && (C = D);+ TJ(Array.isArray(D), `verticalCoordinatesGenerator should return Array but instead it returned [${typeof D}]`), Array.isArray(D) && (C = D);}- return /*#__PURE__*/ b.createElement(a4, { zIndex: i.zIndex }, /*#__PURE__*/ b.createElement("g", { className: "recharts-cartesian-grid" }, /*#__PURE__*/ b.createElement(R3e, {+ return /*#__PURE__*/ b.createElement(a4, { zIndex: i.zIndex }, /*#__PURE__*/ b.createElement("g", { className: "recharts-cartesian-grid" }, /*#__PURE__*/ b.createElement(z3e, {fill: i.fill ?? _.grid.fill,fillOpacity: i.fillOpacity ?? _.grid.fillOpacity,x: i.x,@@ -89698,22 +89711,22 @@ function q3e(e) {width: i.width,height: i.height,ry: i.ry- }), /*#__PURE__*/ b.createElement(H3e, $3({}, i, { horizontalPoints: S })), /*#__PURE__*/ b.createElement(U3e, $3({}, i, { verticalPoints: C })), /*#__PURE__*/ b.createElement(B3e, $3({}, i, v, {+ }), /*#__PURE__*/ b.createElement(U3e, $3({}, i, { horizontalPoints: S })), /*#__PURE__*/ b.createElement(W3e, $3({}, i, { verticalPoints: C })), /*#__PURE__*/ b.createElement(V3e, $3({}, i, v, {offset: r,horizontalPoints: S,xAxis: h,yAxis: g- })), /*#__PURE__*/ b.createElement(V3e, $3({}, i, v, {+ })), /*#__PURE__*/ b.createElement(H3e, $3({}, i, v, {offset: r,verticalPoints: C,xAxis: h,yAxis: g}))));}-q3e.displayName = "CartesianGrid";+J3e.displayName = "CartesianGrid";//#endregion//#region node_modules/recharts/es6/cartesian/LineDrawShape.js-var J3e = [+var Y3e = ["animationElapsedTime","isAnimating","isEntrance",@@ -89730,16 +89743,16 @@ function t6() {return e;}, t6.apply(null, arguments);}-function Y3e(e, t) {+function X3e(e, t) {if (e == null) return {};- var n, r, i = X3e(e, t);+ var n, r, i = Z3e(e, t);if (Object.getOwnPropertySymbols) {var a = Object.getOwnPropertySymbols(e);for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);}return i;}-function X3e(e, t) {+function Z3e(e, t) {if (e == null) return {};var n = {};for (var r in e) if ({}.hasOwnProperty.call(e, r)) {@@ -89748,26 +89761,26 @@ function X3e(e, t) {}return n;}-function Z3e(e) {+function Q3e(e) {try {return e && e.getTotalLength && e.getTotalLength() || 0;} catch {return 0;}}-function Q3e(e, t) {+function $3e(e, t) {return `${t}px ${e}px`;}-function $3e(e) {+function e6e(e) {return e.length % 2 == 0 ? e : [...e, ...e];}-function e6e(e, t) {+function t6e(e, t) {for (var n = [], r = 0; r < t; ++r) n.push(...e);return n;}-function t6e(e, t, n) {- var r = $3e(n), i = r.reduce((e, t) => e + t, 0);- if (!i) return Q3e(t, e);+function n6e(e, t, n) {+ var r = e6e(n), i = r.reduce((e, t) => e + t, 0);+ if (!i) return $3e(t, e);for (var a = Math.floor(e / i), o = e % i, s = [], c = 0, l = 0; c < r.length; l += (u = r[c]) ?? 0, ++c) {var u, d = r[c];if (d != null && l + d > o) {@@ -89777,39 +89790,39 @@ function t6e(e, t, n) {}var f = s.length % 2 == 0 ? [0, t] : [t];return [- ...e6e(r, a),+ ...t6e(r, a),...s,...f].map((e) => `${e}px`).join(", ");}-function n6e(e, t, n) {- return e ? t6e(n, t, `${e}`.split(/[,\s]+/gim).map((e) => parseFloat(e))) : Q3e(t, n);+function r6e(e, t, n) {+ return e ? n6e(n, t, `${e}`.split(/[,\s]+/gim).map((e) => parseFloat(e))) : $3e(t, n);}-function r6e(e) {+function i6e(e) {e.animationElapsedTime, e.isAnimating, e.isEntrance;- var t = e.visibleLength, n = e.strokeDasharray, r = e.connectNulls, i = Y3e(e, J3e), a = r ?? !1, o;+ var t = e.visibleLength, n = e.strokeDasharray, r = e.connectNulls, i = X3e(e, Y3e), a = r ?? !1, o;if (t != null) {var s = i.pathRef;- o = n6e(n, Z3e(s?.current ?? null), t);+ o = r6e(n, Q3e(s?.current ?? null), t);} else n != null && (o = String(n));- return /*#__PURE__*/ b.createElement(OY, t6({}, i, {+ return /*#__PURE__*/ b.createElement(kY, t6({}, i, {connectNulls: a,strokeDasharray: o}));}//#endregion//#region node_modules/recharts/es6/cartesian/useAnimatedLineLength.js-function i6e(e) {+function a6e(e) {var t = (0, b.useRef)(0), n = (0, b.useRef)(0), r = (0, b.useRef)(!1), i = (0, b.useRef)(e);return i.current !== e && (t.current = n.current, i.current = e), (0, b.useCallback)((e, i) => {if (r.current) return null;- var a = Math.min(fU(t.current + e * i), i);+ var a = Math.min(pU(t.current + e * i), i);return e > 0 && i > 0 && (n.current = Math.max(n.current, a), a >= i) ? (r.current = !0, null) : a;}, []);}//#endregion//#region node_modules/recharts/es6/state/errorBarSlice.js-var a6e = _q({+var o6e = vq({name: "errorBars",initialState: {},reducers: {@@ -89826,19 +89839,19 @@ var a6e = _q({e[r] && (e[r] = e[r].filter((e) => e.dataKey !== i.dataKey || e.direction !== i.direction));}}-}), n6 = a6e.actions;+}), n6 = o6e.actions;n6.addErrorBar, n6.replaceErrorBar, n6.removeErrorBar;-var o6e = a6e.reducer, s6e = ["children"];-function c6e(e, t) {+var s6e = o6e.reducer, c6e = ["children"];+function l6e(e, t) {if (e == null) return {};- var n, r, i = l6e(e, t);+ var n, r, i = u6e(e, t);if (Object.getOwnPropertySymbols) {var a = Object.getOwnPropertySymbols(e);for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);}return i;}-function l6e(e, t) {+function u6e(e, t) {if (e == null) return {};var n = {};for (var r in e) if ({}.hasOwnProperty.call(e, r)) {@@ -89847,7 +89860,7 @@ function l6e(e, t) {}return n;}-var u6e = /*#__PURE__*/ (0, b.createContext)({+var d6e = /*#__PURE__*/ (0, b.createContext)({data: [],xAxisId: "xAxis-0",yAxisId: "yAxis-0",@@ -89858,14 +89871,14 @@ var u6e = /*#__PURE__*/ (0, b.createContext)({}),errorBarOffset: 0});-function d6e(e) {- var t = e.children, n = c6e(e, s6e);- return /*#__PURE__*/ b.createElement(u6e.Provider, { value: n }, t);+function f6e(e) {+ var t = e.children, n = l6e(e, c6e);+ return /*#__PURE__*/ b.createElement(d6e.Provider, { value: n }, t);}//#endregion//#region node_modules/recharts/es6/cartesian/GraphicalItemClipPath.jsfunction r6(e, t) {- var n = J((t) => R1(t, e)), r = J((e) => V1(e, t)), i = n?.allowDataOverflow ?? I1.allowDataOverflow, a = r?.allowDataOverflow ?? z1.allowDataOverflow;+ var n = J((t) => z1(t, e)), r = J((e) => H1(e, t)), i = n?.allowDataOverflow ?? L1.allowDataOverflow, a = r?.allowDataOverflow ?? B1.allowDataOverflow;return {needClip: i || a,needClipX: i,@@ -89873,7 +89886,7 @@ function r6(e, t) {};}function i6(e) {- var t = e.xAxisId, n = e.yAxisId, r = e.clipPathId, i = b3(), a = r6(t, n), o = a.needClipX, s = a.needClipY, c = a.needClip, l = J((e) => F0(e, t, !1)), u = J((e) => I0(e, n, !1));+ var t = e.xAxisId, n = e.yAxisId, r = e.clipPathId, i = b3(), a = r6(t, n), o = a.needClipX, s = a.needClipY, c = a.needClip, l = J((e) => I0(e, t, !1)), u = J((e) => L0(e, n, !1));if (!c || !i) return null;var d = i.x, f = i.y, p = i.width, m = i.height, h = o && l ? Math.min(l[0], l[1]) : d - p / 2, g = s && u ? Math.min(u[0], u[1]) : f - m / 2, _ = o && l ? Math.abs(l[1] - l[0]) : p * 2, v = s && u ? Math.abs(u[1] - u[0]) : m * 2;return /*#__PURE__*/ b.createElement("clipPath", { id: `clipPath-${r}` }, /*#__PURE__*/ b.createElement("rect", {@@ -89885,30 +89898,30 @@ function i6(e) {}//#endregion//#region node_modules/recharts/es6/state/selectors/lineSelectors.js-var f6e = (e, t, n, r) => r2(e, "xAxis", t, r), p6e = (e, t, n, r) => n2(e, "xAxis", t, r), m6e = (e, t, n, r) => r2(e, "yAxis", n, r), h6e = (e, t, n, r) => n2(e, "yAxis", n, r), g6e = Y([- zJ,- f6e,- m6e,+var p6e = (e, t, n, r) => i2(e, "xAxis", t, r), m6e = (e, t, n, r) => r2(e, "xAxis", t, r), h6e = (e, t, n, r) => i2(e, "yAxis", n, r), g6e = (e, t, n, r) => r2(e, "yAxis", n, r), _6e = Y([+ BJ,p6e,- h6e-], (e, t, n, r, i) => Qq(e, "xAxis") ? cJ(t, r, !1) : cJ(n, i, !1)), _6e = (e, t, n, r, i) => i;-function v6e(e) {+ h6e,+ m6e,+ g6e+], (e, t, n, r, i) => $q(e, "xAxis") ? lJ(t, r, !1) : lJ(n, i, !1)), v6e = (e, t, n, r, i) => i;+function y6e(e) {return e.type === "line";}-var y6e = Y([- zJ,- f6e,- m6e,+var b6e = Y([+ BJ,p6e,h6e,- Y([q1, _6e], (e, t) => e.filter(v6e).find((e) => e.id === t)),+ m6e,g6e,- hX+ Y([J1, v6e], (e, t) => e.filter(y6e).find((e) => e.id === t)),+ _6e,+ gX], (e, t, n, r, i, a, o, s) => {var c = s.chartData, l = s.dataStartIndex, u = s.dataEndIndex;if (!(a == null || t == null || n == null || r == null || i == null || r.length === 0 || i.length === 0 || o == null || e !== "horizontal" && e !== "vertical")) {var d = a.dataKey, f = a.data, p = f != null && f.length > 0 ? f : c?.slice(l, u + 1);- if (p != null) return V6e({+ if (p != null) return H6e({layout: e,xAxis: t,yAxis: n,@@ -89922,8 +89935,8 @@ var y6e = Y([});//#endregion//#region node_modules/recharts/es6/util/getRadiusAndStrokeWidthFromDot.js-function b6e(e) {- var t = $H(e), n = 3, r = 2;+function x6e(e) {+ var t = eU(e), n = 3, r = 2;if (t != null) {var i = t.r, a = t.strokeWidth, o = Number(i), s = Number(a);return (Number.isNaN(o) || o < 0) && (o = n), (Number.isNaN(s) || s < 0) && (s = r), {@@ -89938,14 +89951,14 @@ function b6e(e) {}//#endregion//#region node_modules/recharts/es6/cartesian/Line.js-var x6e = ["id"], S6e = [+var S6e = ["id"], C6e = ["type","layout","connectNulls","needClip","shape","strokeDasharray"-], C6e = [+], w6e = ["activeDot","animateNewValues","animationBegin",@@ -89972,14 +89985,14 @@ function a6() {}function o6(e, t) {if (e == null) return {};- var n, r, i = w6e(e, t);+ var n, r, i = T6e(e, t);if (Object.getOwnPropertySymbols) {var a = Object.getOwnPropertySymbols(e);for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);}return i;}-function w6e(e, t) {+function T6e(e, t) {if (e == null) return {};var n = {};for (var r in e) if ({}.hasOwnProperty.call(e, r)) {@@ -89988,7 +90001,7 @@ function w6e(e, t) {}return n;}-function T6e(e, t) {+function E6e(e, t) {var n = Object.keys(e);if (Object.getOwnPropertySymbols) {var r = Object.getOwnPropertySymbols(e);@@ -90001,27 +90014,27 @@ function T6e(e, t) {function s6(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t] == null ? {} : arguments[t];- t % 2 ? T6e(Object(n), !0).forEach(function(t) {- E6e(e, t, n[t]);- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : T6e(Object(n)).forEach(function(t) {+ t % 2 ? E6e(Object(n), !0).forEach(function(t) {+ D6e(e, t, n[t]);+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : E6e(Object(n)).forEach(function(t) {Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));});}return e;}-function E6e(e, t, n) {- return (t = D6e(t)) in e ? Object.defineProperty(e, t, {+function D6e(e, t, n) {+ return (t = O6e(t)) in e ? Object.defineProperty(e, t, {value: n,enumerable: !0,configurable: !0,writable: !0}) : e[t] = n, e;}-function D6e(e) {- var t = O6e(e, "string");+function O6e(e) {+ var t = k6e(e, "string");return typeof t == "symbol" ? t : t + "";}-function O6e(e, t) {+function k6e(e, t) {if (typeof e != "object" || !e) return e;var n = e[Symbol.toPrimitive];if (n !== void 0) {@@ -90031,14 +90044,14 @@ function O6e(e, t) {}return (t === "string" ? String : Number)(e);}-function k6e(e) {+function A6e(e) {try {return e && e.getTotalLength && e.getTotalLength() || 0;} catch {return 0;}}-function A6e(e) {+function j6e(e) {var t = 0, n = 0;for (var r of e) r.status === "matched" && r.prev.x != null && r.next.x != null && (t += r.next.x - r.prev.x, n++);return n > 0 ? t / n : 0;@@ -90052,23 +90065,23 @@ var c6 = {animationInterpolateFn: (e, t) => {if (e == null) return [];if (t === 1) return e.flatMap((e) => e.status === "removed" ? [] : [e.next]);- var n = A6e(e), r = [];+ var n = j6e(e), r = [];for (var i of e) if (i.status === "matched") r.push(s6(s6({}, i.next), {}, {- x: SU(i.prev.x, i.next.x, t),- y: SU(i.prev.y, i.next.y, t)+ x: CU(i.prev.x, i.next.x, t),+ y: CU(i.prev.y, i.next.y, t)}));else if (i.status === "added") {if (i.next.x != null) {var a = i.next.x - n;r.push(s6(s6({}, i.next), {}, {- x: SU(a, i.next.x, t),+ x: CU(a, i.next.x, t),y: i.next.y}));} else r.push(i.next);} else if (i.status === "removed" && i.prev.x != null) {var o = i.prev.x + n;r.push(s6(s6({}, i.prev), {}, {- x: SU(i.prev.x, o, t),+ x: CU(i.prev.x, o, t),y: i.prev.y}));}@@ -90082,34 +90095,34 @@ var c6 = {isAnimationActive: "auto",label: !1,legendType: "line",- shape: r6e,+ shape: i6e,stroke: "#3182bd",strokeWidth: 1,xAxisId: 0,yAxisId: 0,- zIndex: UX.line,+ zIndex: WX.line,type: "linear"-}, j6e = (e) => {+}, M6e = (e) => {var t = e.dataKey, n = e.name, r = e.stroke, i = e.legendType;return [{inactive: e.hide,dataKey: t,type: i,color: r,- value: uJ(n, t),+ value: dJ(n, t),payload: e}];-}, M6e = /*#__PURE__*/ b.memo((e) => {+}, N6e = /*#__PURE__*/ b.memo((e) => {var t = e.dataKey, n = e.data, r = e.stroke, i = e.strokeWidth, a = e.fill, o = e.name, s = e.hide, c = e.unit, l = e.formatter, u = e.tooltipType, d = e.id, f = {dataDefinedOnItem: n,- getPosition: DU,+ getPosition: OU,settings: {stroke: r,strokeWidth: i,fill: a,dataKey: t,nameKey: void 0,- name: uJ(o, t),+ name: dJ(o, t),hide: s,type: u,color: r,@@ -90120,10 +90133,10 @@ var c6 = {};return /*#__PURE__*/ b.createElement(i3, { tooltipEntrySettings: f });});-function N6e(e) {+function P6e(e) {var t = e.clipPathId, n = e.points, r = e.props, i = r.dot, a = r.dataKey, o = r.needClip;r.id;- var s = QH(o6(r, x6e));+ var s = $H(o6(r, S6e));return /*#__PURE__*/ b.createElement(_3, {points: n,dot: i,@@ -90135,7 +90148,7 @@ function N6e(e) {clipPathId: t});}-function P6e(e) {+function F6e(e) {var t = e.showLabels, n = e.children, r = e.points, i = (0, b.useMemo)(() => r?.map((e) => {var t = {x: e.x ?? 0,@@ -90155,8 +90168,8 @@ function P6e(e) {}), [r]);return /*#__PURE__*/ b.createElement(D4, { value: t ? i : void 0 }, n);}-function F6e(e) {- var t = e.clipPathId, n = e.pathRef, r = e.points, i = e.props, a = e.animationElapsedTime, o = e.isAnimating, s = e.isEntrance, c = e.visibleLength, l = i.type, u = i.layout, d = i.connectNulls, f = i.needClip, p = i.shape, m = i.strokeDasharray, h = s6(s6({}, eU(o6(i, S6e))), {}, {+function I6e(e) {+ var t = e.clipPathId, n = e.pathRef, r = e.points, i = e.props, a = e.animationElapsedTime, o = e.isAnimating, s = e.isEntrance, c = e.visibleLength, l = i.type, u = i.layout, d = i.connectNulls, f = i.needClip, p = i.shape, m = i.strokeDasharray, h = s6(s6({}, tU(o6(i, C6e))), {}, {fill: "none",className: "recharts-line-curve",clipPath: f ? `url(#clipPath-${t})` : void 0,@@ -90175,15 +90188,15 @@ function F6e(e) {option: p,DefaultShape: c6.shape,shapeProps: h- }), /*#__PURE__*/ b.createElement(N6e, {+ }), /*#__PURE__*/ b.createElement(P6e, {points: r,clipPathId: t,props: i}));}-function I6e(e) {- var t = e.clipPathId, n = e.props, r = e.pathRef, i = e.previousPointsRef, a = n.points, o = n.isAnimationActive, s = n.animationBegin, c = n.animationDuration, l = n.animationEasing, u = n.animationMatchBy, d = n.animationInterpolateFn, f = n.layout, p = k6e(r.current), m = u3(n.onAnimationStart, n.onAnimationEnd), h = m.isAnimating, g = m.handleAnimationStart, _ = m.handleAnimationEnd, v = !h, y = i6e(a), x = (0, b.useCallback)((e) => e > 0 && p > 0, [p]);- return /*#__PURE__*/ b.createElement(P6e, {+function L6e(e) {+ var t = e.clipPathId, n = e.props, r = e.pathRef, i = e.previousPointsRef, a = n.points, o = n.isAnimationActive, s = n.animationBegin, c = n.animationDuration, l = n.animationEasing, u = n.animationMatchBy, d = n.animationInterpolateFn, f = n.layout, p = A6e(r.current), m = u3(n.onAnimationStart, n.onAnimationEnd), h = m.isAnimating, g = m.handleAnimationStart, _ = m.handleAnimationEnd, v = !h, y = a6e(a), x = (0, b.useCallback)((e) => e > 0 && p > 0, [p]);+ return /*#__PURE__*/ b.createElement(F6e, {points: a,showLabels: v}, n.children, /*#__PURE__*/ b.createElement(d3, {@@ -90203,7 +90216,7 @@ function I6e(e) {layout: f}, (e, i, a) => {var o = h || i < 1, s = o ? y(i, p) : null;- return /*#__PURE__*/ b.createElement(F6e, {+ return /*#__PURE__*/ b.createElement(I6e, {props: n,points: e,clipPathId: t,@@ -90215,26 +90228,26 @@ function I6e(e) {});}), /*#__PURE__*/ b.createElement(k4, { label: n.label }));}-function L6e(e) {+function R6e(e) {var t = e.clipPathId, n = e.props, r = (0, b.useRef)(null), i = (0, b.useRef)(null);- return /*#__PURE__*/ b.createElement(I6e, {+ return /*#__PURE__*/ b.createElement(L6e, {props: n,clipPathId: t,previousPointsRef: r,pathRef: i});}-var R6e = (e, t) => ({+var z6e = (e, t) => ({x: e.x ?? void 0,y: e.y ?? void 0,value: e.value,- errorVal: Zq(e.payload, t)-}), z6e = class extends b.Component {+ errorVal: Qq(e.payload, t)+}), B6e = class extends b.Component {render() {var e = this.props, t = e.hide, n = e.dot, r = e.points, i = e.className, a = e.xAxisId, o = e.yAxisId, s = e.top, c = e.left, l = e.width, u = e.height, d = e.id, f = e.needClip, p = e.zIndex;if (t) return null;- var m = hy("recharts-line", i), h = d, g = b6e(n), _ = g.r, v = g.strokeWidth, y = $4(n), x = _ * 2 + v, S = f ? `url(#clipPath-${y ? "" : "dots-"}${h})` : void 0;- return /*#__PURE__*/ b.createElement(a4, { zIndex: p }, /*#__PURE__*/ b.createElement(iU, { className: m }, f && /*#__PURE__*/ b.createElement("defs", null, /*#__PURE__*/ b.createElement(i6, {+ var m = hy("recharts-line", i), h = d, g = x6e(n), _ = g.r, v = g.strokeWidth, y = $4(n), x = _ * 2 + v, S = f ? `url(#clipPath-${y ? "" : "dots-"}${h})` : void 0;+ return /*#__PURE__*/ b.createElement(a4, { zIndex: p }, /*#__PURE__*/ b.createElement(aU, { className: m }, f && /*#__PURE__*/ b.createElement("defs", null, /*#__PURE__*/ b.createElement(i6, {clipPathId: h,xAxisId: a,yAxisId: o@@ -90243,13 +90256,13 @@ var R6e = (e, t) => ({y: s - x / 2,width: l + x,height: u + x- }))), /*#__PURE__*/ b.createElement(d6e, {+ }))), /*#__PURE__*/ b.createElement(f6e, {xAxisId: a,yAxisId: o,data: r,- dataPointFormatter: R6e,+ dataPointFormatter: z6e,errorBarOffset: 0- }, /*#__PURE__*/ b.createElement(L6e, {+ }, /*#__PURE__*/ b.createElement(R6e, {props: this.props,clipPathId: h}))), /*#__PURE__*/ b.createElement(S3, {@@ -90261,11 +90274,11 @@ var R6e = (e, t) => ({}));}};-function B6e(e) {- var t = PW(e, c6), n = t.activeDot, r = t.animateNewValues, i = t.animationBegin, a = t.animationDuration, o = t.animationEasing, s = t.connectNulls, c = t.dot, l = t.hide, u = t.isAnimationActive, d = t.label, f = t.legendType, p = t.xAxisId, m = t.yAxisId, h = t.id, g = o6(t, C6e), _ = r6(p, m).needClip, v = b3(), y = BJ(), x = xJ(), S = J((e) => y6e(e, p, m, x, h));+function V6e(e) {+ var t = FW(e, c6), n = t.activeDot, r = t.animateNewValues, i = t.animationBegin, a = t.animationDuration, o = t.animationEasing, s = t.connectNulls, c = t.dot, l = t.hide, u = t.isAnimationActive, d = t.label, f = t.legendType, p = t.xAxisId, m = t.yAxisId, h = t.id, g = o6(t, w6e), _ = r6(p, m).needClip, v = b3(), y = VJ(), x = SJ(), S = J((e) => b6e(e, p, m, x, h));if (y !== "horizontal" && y !== "vertical" || S == null || v == null) return null;var C = v.height, w = v.width, T = v.x, E = v.y;- return /*#__PURE__*/ b.createElement(z6e, a6({}, g, {+ return /*#__PURE__*/ b.createElement(B6e, a6({}, g, {id: h,connectNulls: s,dot: c,@@ -90289,23 +90302,23 @@ function B6e(e) {needClip: _}));}-function V6e(e) {+function H6e(e) {var t = e.layout, n = e.xAxis, r = e.yAxis, i = e.xAxisTicks, a = e.yAxisTicks, o = e.dataKey, s = e.bandSize;return e.displayedData.map((e, c) => {- var l = Zq(e, o);+ var l = Qq(e, o);if (t === "horizontal") return {- x: rJ({+ x: iJ({axis: n,ticks: i,bandSize: s,entry: e,index: c}),- y: (wU(l) ? null : r.scale.map(l)) ?? null,+ y: (TU(l) ? null : r.scale.map(l)) ?? null,value: l,payload: e};- var u = wU(l) ? null : n.scale.map(l), d = rJ({+ var u = TU(l) ? null : n.scale.map(l), d = iJ({axis: r,ticks: a,bandSize: s,@@ -90320,12 +90333,12 @@ function V6e(e) {};}).filter(Boolean);}-function H6e(e) {- var t = PW(e, c6), n = xJ();+function U6e(e) {+ var t = FW(e, c6), n = SJ();return /*#__PURE__*/ b.createElement(f3, {id: t.id,type: "line"- }, (e) => /*#__PURE__*/ b.createElement(b.Fragment, null, /*#__PURE__*/ b.createElement(a3, { legendPayload: j6e(t) }), /*#__PURE__*/ b.createElement(M6e, {+ }, (e) => /*#__PURE__*/ b.createElement(b.Fragment, null, /*#__PURE__*/ b.createElement(a3, { legendPayload: M6e(t) }), /*#__PURE__*/ b.createElement(N6e, {dataKey: t.dataKey,data: t.data,stroke: t.stroke,@@ -90347,10 +90360,10 @@ function H6e(e) {dataKey: t.dataKey,hide: t.hide,isPanorama: n- }), /*#__PURE__*/ b.createElement(B6e, a6({}, t, { id: e }))));+ }), /*#__PURE__*/ b.createElement(V6e, a6({}, t, { id: e }))));}-var U6e = /*#__PURE__*/ b.memo(H6e, $J);-U6e.displayName = "Line";+var W6e = /*#__PURE__*/ b.memo(U6e, eY);+W6e.displayName = "Line";//#endregion//#region node_modules/recharts/es6/state/selectors/graphicalItemSelectors.jsfunction l6(e, t) {@@ -90361,42 +90374,42 @@ function u6(e, t) {}//#endregion//#region node_modules/recharts/es6/state/selectors/areaSelectors.js-var W6e = (e, t, n) => r2(e, "xAxis", l6(e, t), n), G6e = (e, t, n) => n2(e, "xAxis", l6(e, t), n), K6e = (e, t, n) => r2(e, "yAxis", u6(e, t), n), q6e = (e, t, n) => n2(e, "yAxis", u6(e, t), n), J6e = Y([- zJ,- W6e,- K6e,+var G6e = (e, t, n) => i2(e, "xAxis", l6(e, t), n), K6e = (e, t, n) => r2(e, "xAxis", l6(e, t), n), q6e = (e, t, n) => i2(e, "yAxis", u6(e, t), n), J6e = (e, t, n) => r2(e, "yAxis", u6(e, t), n), Y6e = Y([+ BJ,G6e,- q6e-], (e, t, n, r, i) => Qq(e, "xAxis") ? cJ(t, r, !1) : cJ(n, i, !1)), d6 = Y([q1, (e, t) => t], (e, t) => e.filter((e) => e.type === "area").find((e) => e.id === t)), Y6e = (e) => Qq(zJ(e), "xAxis") ? "yAxis" : "xAxis", X6e = (e, t) => Y6e(e) === "yAxis" ? u6(e, t) : l6(e, t), Z6e = (e, t, n) => f0(e, Y6e(e), X6e(e, t), n), Q6e = Y([- zJ,- W6e,+ q6e,K6e,+ J6e+], (e, t, n, r, i) => $q(e, "xAxis") ? lJ(t, r, !1) : lJ(n, i, !1)), d6 = Y([J1, (e, t) => t], (e, t) => e.filter((e) => e.type === "area").find((e) => e.id === t)), X6e = (e) => $q(BJ(e), "xAxis") ? "yAxis" : "xAxis", Z6e = (e, t) => X6e(e) === "yAxis" ? u6(e, t) : l6(e, t), Q6e = (e, t, n) => p0(e, X6e(e), Z6e(e, t), n), $6e = Y([+ BJ,G6e,q6e,- Y([d6, Z6e], (e, t) => {+ K6e,+ J6e,+ Y([d6, Q6e], (e, t) => {if (e != null && t != null) {- var n = e.stackId, r = lZ(e);+ var n = e.stackId, r = uZ(e);if (n != null && r != null) {var i = (t[n]?.stackedData)?.find((e) => e.key === r);if (i != null) return i.map((e) => [e[0], e[1]]);}}}),- gX,- J6e,+ _X,+ Y6e,d6,UWe,- Y([d6, Z6e], (e, t) => {+ Y([d6, Q6e], (e, t) => {if (e != null && e.stackId != null && t != null) {var n = t[e.stackId];- if (n != null) return n.graphicalItems.map((e) => e.dataKey).filter(EU);+ if (n != null) return n.graphicalItems.map((e) => e.dataKey).filter(DU);}})], (e, t, n, r, i, a, o, s, c, l, u) => {var d = o.chartData, f = o.dataStartIndex, p = o.dataEndIndex;if (!(c == null || e !== "horizontal" && e !== "vertical" || t == null || n == null || r == null || i == null || r.length === 0 || i.length === 0 || s == null)) {var m = c.data, h = m && m.length > 0 ? m : d?.slice(f, p + 1);- if (h != null) return D8e({+ if (h != null) return O8e({layout: e,xAxis: t,yAxis: n,@@ -90411,7 +90424,7 @@ var W6e = (e, t, n) => r2(e, "xAxis", l6(e, t), n), G6e = (e, t, n) => n2(e, "xAstackDataKeys: u});}-}), $6e = [+}), e8e = ["animationElapsedTime","isAnimating","isEntrance",@@ -90419,7 +90432,7 @@ var W6e = (e, t, n) => r2(e, "xAxis", l6(e, t), n), G6e = (e, t, n) => n2(e, "xA"isRange","stroke","connectNulls"-], e8e = ["id", "baseLine"];+], t8e = ["id", "baseLine"];function f6() {return f6 = Object.assign ? Object.assign.bind() : function(e) {for (var t = 1; t < arguments.length; t++) {@@ -90429,16 +90442,16 @@ function f6() {return e;}, f6.apply(null, arguments);}-function t8e(e, t) {+function n8e(e, t) {if (e == null) return {};- var n, r, i = n8e(e, t);+ var n, r, i = r8e(e, t);if (Object.getOwnPropertySymbols) {var a = Object.getOwnPropertySymbols(e);for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);}return i;}-function n8e(e, t) {+function r8e(e, t) {if (e == null) return {};var n = {};for (var r in e) if ({}.hasOwnProperty.call(e, r)) {@@ -90447,51 +90460,51 @@ function n8e(e, t) {}return n;}-function r8e(e) {+function i8e(e) {var t = e.alpha, n = e.baseLine, r = e.points, i = e.strokeWidth, a = r[0]?.x, o = r[r.length - 1]?.x;- if (!qq(a) || !qq(o)) return null;+ if (!Jq(a) || !Jq(o)) return null;var s = t * Math.abs(a - o), c = Math.max(...r.map((e) => e.y || 0));- return _U(n) ? c = Math.max(n, c) : n && Array.isArray(n) && n.length && (c = Math.max(...n.map((e) => e.y || 0), c)), _U(c) ? /*#__PURE__*/ b.createElement("rect", {+ return vU(n) ? c = Math.max(n, c) : n && Array.isArray(n) && n.length && (c = Math.max(...n.map((e) => e.y || 0), c)), vU(c) ? /*#__PURE__*/ b.createElement("rect", {x: a < o ? a : a - s,y: 0,width: s,height: Math.floor(c + (i ? parseInt(`${i}`, 10) : 1))}) : null;}-function i8e(e) {+function a8e(e) {var t = e.alpha, n = e.baseLine, r = e.points, i = e.strokeWidth, a = r[0]?.y, o = r[r.length - 1]?.y;- if (!qq(a) || !qq(o)) return null;+ if (!Jq(a) || !Jq(o)) return null;var s = t * Math.abs(a - o), c = Math.max(...r.map((e) => e.x || 0));- return _U(n) ? c = Math.max(n, c) : n && Array.isArray(n) && n.length && (c = Math.max(...n.map((e) => e.x || 0), c)), _U(c) ? /*#__PURE__*/ b.createElement("rect", {+ return vU(n) ? c = Math.max(n, c) : n && Array.isArray(n) && n.length && (c = Math.max(...n.map((e) => e.x || 0), c)), vU(c) ? /*#__PURE__*/ b.createElement("rect", {x: 0,y: a < o ? a : a - s,width: c + (i ? parseInt(`${i}`, 10) : 1),height: Math.floor(s)}) : null;}-function a8e(e) {+function o8e(e) {var t = e.alpha, n = e.layout, r = e.points, i = e.baseLine, a = e.strokeWidth;- return n === "vertical" ? /*#__PURE__*/ b.createElement(i8e, {+ return n === "vertical" ? /*#__PURE__*/ b.createElement(a8e, {alpha: t,points: r,baseLine: i,strokeWidth: a- }) : /*#__PURE__*/ b.createElement(r8e, {+ }) : /*#__PURE__*/ b.createElement(i8e, {alpha: t,points: r,baseLine: i,strokeWidth: a});}-function o8e(e) {- var t = e.animationElapsedTime, n = t === void 0 ? 1 : t, r = e.isAnimating, i = r !== void 0 && r, a = e.isEntrance, o = a !== void 0 && a, s = e.layout, c = e.isRange, l = e.stroke, u = e.connectNulls, d = t8e(e, $6e), f = s === "vertical" ? "vertical" : "horizontal", p = u ?? !1, m = D1e(), h = d.id, g = d.baseLine, _ = QH(t8e(d, e8e)), v = /*#__PURE__*/ b.createElement(OY, f6({}, d, {+function s8e(e) {+ var t = e.animationElapsedTime, n = t === void 0 ? 1 : t, r = e.isAnimating, i = r !== void 0 && r, a = e.isEntrance, o = a !== void 0 && a, s = e.layout, c = e.isRange, l = e.stroke, u = e.connectNulls, d = n8e(e, e8e), f = s === "vertical" ? "vertical" : "horizontal", p = u ?? !1, m = O1e(), h = d.id, g = d.baseLine, _ = $H(n8e(d, t8e)), v = /*#__PURE__*/ b.createElement(kY, f6({}, d, {id: h,baseLine: g,connectNulls: p,stroke: "none",className: "recharts-area-area",layout: f- })), y = l !== "none" && /*#__PURE__*/ b.createElement(OY, f6({}, _, {+ })), y = l !== "none" && /*#__PURE__*/ b.createElement(kY, f6({}, _, {className: "recharts-area-curve",layout: f,type: d.type,@@ -90499,7 +90512,7 @@ function o8e(e) {fill: "none",stroke: l,points: d.points- })), x = l !== "none" && c && Array.isArray(g) && /*#__PURE__*/ b.createElement(OY, f6({}, _, {+ })), x = l !== "none" && c && Array.isArray(g) && /*#__PURE__*/ b.createElement(kY, f6({}, _, {className: "recharts-area-curve",layout: f,type: d.type,@@ -90508,17 +90521,17 @@ function o8e(e) {stroke: l,points: g}));- return o && (i || n < 1) ? /*#__PURE__*/ b.createElement(iU, null, /*#__PURE__*/ b.createElement("defs", null, /*#__PURE__*/ b.createElement("clipPath", { id: m }, /*#__PURE__*/ b.createElement(a8e, {+ return o && (i || n < 1) ? /*#__PURE__*/ b.createElement(aU, null, /*#__PURE__*/ b.createElement("defs", null, /*#__PURE__*/ b.createElement("clipPath", { id: m }, /*#__PURE__*/ b.createElement(o8e, {alpha: n,points: d.points ?? [],baseLine: g,layout: f,strokeWidth: d.strokeWidth- }))), /*#__PURE__*/ b.createElement(iU, { clipPath: `url(#${m})` }, v, y, x)) : /*#__PURE__*/ b.createElement(b.Fragment, null, v, y, x);+ }))), /*#__PURE__*/ b.createElement(aU, { clipPath: `url(#${m})` }, v, y, x)) : /*#__PURE__*/ b.createElement(b.Fragment, null, v, y, x);}//#endregion//#region node_modules/recharts/es6/cartesian/Area.js-var s8e = ["id"], c8e = [+var c8e = ["id"], l8e = ["activeDot","animationBegin","animationDuration",@@ -90543,16 +90556,16 @@ function p6() {return e;}, p6.apply(null, arguments);}-function l8e(e, t) {+function u8e(e, t) {if (e == null) return {};- var n, r, i = u8e(e, t);+ var n, r, i = d8e(e, t);if (Object.getOwnPropertySymbols) {var a = Object.getOwnPropertySymbols(e);for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);}return i;}-function u8e(e, t) {+function d8e(e, t) {if (e == null) return {};var n = {};for (var r in e) if ({}.hasOwnProperty.call(e, r)) {@@ -90561,7 +90574,7 @@ function u8e(e, t) {}return n;}-function d8e(e, t) {+function f8e(e, t) {var n = Object.keys(e);if (Object.getOwnPropertySymbols) {var r = Object.getOwnPropertySymbols(e);@@ -90574,27 +90587,27 @@ function d8e(e, t) {function m6(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t] == null ? {} : arguments[t];- t % 2 ? d8e(Object(n), !0).forEach(function(t) {- f8e(e, t, n[t]);- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : d8e(Object(n)).forEach(function(t) {+ t % 2 ? f8e(Object(n), !0).forEach(function(t) {+ p8e(e, t, n[t]);+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : f8e(Object(n)).forEach(function(t) {Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));});}return e;}-function f8e(e, t, n) {- return (t = p8e(t)) in e ? Object.defineProperty(e, t, {+function p8e(e, t, n) {+ return (t = m8e(t)) in e ? Object.defineProperty(e, t, {value: n,enumerable: !0,configurable: !0,writable: !0}) : e[t] = n, e;}-function p8e(e) {- var t = m8e(e, "string");+function m8e(e) {+ var t = h8e(e, "string");return typeof t == "symbol" ? t : t + "";}-function m8e(e, t) {+function h8e(e, t) {if (typeof e != "object" || !e) return e;var n = e[Symbol.toPrimitive];if (n !== void 0) {@@ -90604,15 +90617,15 @@ function m8e(e, t) {}return (t === "string" ? String : Number)(e);}-var h8e = {+var g8e = {activeDot: !0,animationBegin: 0,animationDuration: 1500,animationEasing: "ease",animationMatchBy: o3,animationInterpolateFn: (e, t) => e == null ? [] : t === 1 ? e.flatMap((e) => e.status === "removed" ? [] : [e.next]) : e.flatMap((e) => e.status === "matched" ? [m6(m6({}, e.next), {}, {- x: SU(e.prev.x, e.next.x, t),- y: SU(e.prev.y, e.next.y, t)+ x: CU(e.prev.x, e.next.x, t),+ y: CU(e.prev.y, e.next.y, t)})] : e.status === "added" ? [e.next] : []),connectNulls: !1,dot: !1,@@ -90625,35 +90638,35 @@ var h8e = {strokeWidth: 1,type: "linear",label: !1,- shape: o8e,+ shape: s8e,xAxisId: 0,yAxisId: 0,- zIndex: UX.area+ zIndex: WX.area};function h6(e, t) {return e && e !== "none" ? e : t;}-var g8e = (e) => {+var _8e = (e) => {var t = e.dataKey, n = e.name, r = e.stroke, i = e.fill, a = e.legendType;return [{inactive: e.hide,dataKey: t,type: a,color: h6(r, i),- value: uJ(n, t),+ value: dJ(n, t),payload: e}];-}, _8e = /*#__PURE__*/ b.memo((e) => {+}, v8e = /*#__PURE__*/ b.memo((e) => {var t = e.dataKey, n = e.data, r = e.stroke, i = e.strokeWidth, a = e.fill, o = e.name, s = e.hide, c = e.unit, l = e.formatter, u = e.tooltipType, d = e.id, f = {dataDefinedOnItem: n,- getPosition: DU,+ getPosition: OU,settings: {stroke: r,strokeWidth: i,fill: a,dataKey: t,nameKey: void 0,- name: uJ(o, t),+ name: dJ(o, t),hide: s,type: u,color: h6(r, a),@@ -90664,8 +90677,8 @@ var g8e = (e) => {};return /*#__PURE__*/ b.createElement(i3, { tooltipEntrySettings: f });});-function v8e(e) {- var t = e.clipPathId, n = e.points, r = e.props, i = r.needClip, a = r.dot, o = r.dataKey, s = QH(r);+function y8e(e) {+ var t = e.clipPathId, n = e.points, r = e.props, i = r.needClip, a = r.dot, o = r.dataKey, s = $H(r);return /*#__PURE__*/ b.createElement(_3, {points: n,dot: a,@@ -90677,7 +90690,7 @@ function v8e(e) {clipPathId: t});}-function y8e(e) {+function b8e(e) {var t = e.showLabels, n = e.children, r = e.points.map((e) => {var t = {x: e.x ?? 0,@@ -90697,8 +90710,8 @@ function y8e(e) {});return /*#__PURE__*/ b.createElement(D4, { value: t ? r : void 0 }, n);}-function b8e(e) {- var t = e.points, n = e.baseLine, r = e.needClip, i = e.clipPathId, a = e.props, o = e.animationElapsedTime, s = e.isAnimating, c = e.isEntrance, l = a.layout, u = a.type, d = a.stroke, f = a.connectNulls, p = a.isRange, m = a.shape, h = a.id, g = l8e(a, s8e), _ = m6(m6({}, eU(g)), {}, {+function x8e(e) {+ var t = e.points, n = e.baseLine, r = e.needClip, i = e.clipPathId, a = e.props, o = e.animationElapsedTime, s = e.isAnimating, c = e.isEntrance, l = a.layout, u = a.type, d = a.stroke, f = a.connectNulls, p = a.isRange, m = a.shape, h = a.id, g = u8e(a, c8e), _ = m6(m6({}, tU(g)), {}, {id: h,points: t,connectNulls: f,@@ -90711,24 +90724,24 @@ function b8e(e) {isAnimating: s,isEntrance: c});- return /*#__PURE__*/ b.createElement(b.Fragment, null, t?.length > 1 && /*#__PURE__*/ b.createElement(iU, { clipPath: r ? `url(#clipPath-${i})` : void 0 }, /*#__PURE__*/ b.createElement(e3, {+ return /*#__PURE__*/ b.createElement(b.Fragment, null, t?.length > 1 && /*#__PURE__*/ b.createElement(aU, { clipPath: r ? `url(#clipPath-${i})` : void 0 }, /*#__PURE__*/ b.createElement(e3, {option: m,- DefaultShape: h8e.shape,+ DefaultShape: g8e.shape,shapeProps: _- })), /*#__PURE__*/ b.createElement(v8e, {+ })), /*#__PURE__*/ b.createElement(y8e, {points: t,props: g,clipPathId: i}));}-function x8e(e, t, n) {- return _U(e) ? SU(_U(t) ? t : void 0, e, n) : wU(e) || hU(e) ? SU(_U(t) ? t : void 0, 0, n) : e;+function S8e(e, t, n) {+ return vU(e) ? CU(vU(t) ? t : void 0, e, n) : TU(e) || gU(e) ? CU(vU(t) ? t : void 0, 0, n) : e;}-function S8e(e) {+function C8e(e) {var t = e.needClip, n = e.clipPathId, r = e.props, i = e.previousPointsRef, a = e.previousBaselineRef, o = r.points, s = r.baseLine, c = r.isAnimationActive, l = r.animationBegin, u = r.animationDuration, d = r.animationEasing, f = r.animationMatchBy, p = r.animationInterpolateFn, m = (0, b.useMemo)(() => ({points: o,baseLine: s- }), [o, s]), h = l3(m, a), g = VJ(), _ = u3(r.onAnimationStart, r.onAnimationEnd), v = _.isAnimating, y = _.handleAnimationStart, x = _.handleAnimationEnd, S = h.startValue;+ }), [o, s]), h = l3(m, a), g = HJ(), _ = u3(r.onAnimationStart, r.onAnimationEnd), v = _.isAnimating, y = _.handleAnimationStart, x = _.handleAnimationEnd, S = h.startValue;if (g == null) return null;var C = Array.isArray(s) && Array.isArray(S) ? c3(S, s, f) : Array.isArray(s) ? c3(null, s, f) : null;return /*#__PURE__*/ b.createElement(d3, {@@ -90746,11 +90759,11 @@ function S8e(e) {animationMatchBy: f,layout: g}, (e, i, a) => {- var c = i === 1 ? s : Array.isArray(s) ? p(C, i, g) : a ? s : x8e(s, S, i);- return h.syncStepValue(c, i), /*#__PURE__*/ b.createElement(y8e, {+ var c = i === 1 ? s : Array.isArray(s) ? p(C, i, g) : a ? s : S8e(s, S, i);+ return h.syncStepValue(c, i), /*#__PURE__*/ b.createElement(b8e, {showLabels: !v,points: o- }, r.children, /*#__PURE__*/ b.createElement(b8e, {+ }, r.children, /*#__PURE__*/ b.createElement(x8e, {points: e,baseLine: c,needClip: t,@@ -90762,9 +90775,9 @@ function S8e(e) {}), /*#__PURE__*/ b.createElement(k4, { label: r.label }));});}-function C8e(e) {+function w8e(e) {var t = e.needClip, n = e.clipPathId, r = e.props, i = (0, b.useRef)(null), a = (0, b.useRef)();- return /*#__PURE__*/ b.createElement(S8e, {+ return /*#__PURE__*/ b.createElement(C8e, {needClip: t,clipPathId: n,props: r,@@ -90772,12 +90785,12 @@ function C8e(e) {previousBaselineRef: a});}-var w8e = class extends b.PureComponent {+var T8e = class extends b.PureComponent {render() {var e = this.props, t = e.hide, n = e.dot, r = e.points, i = e.className, a = e.top, o = e.left, s = e.needClip, c = e.xAxisId, l = e.yAxisId, u = e.width, d = e.height, f = e.id, p = e.baseLine, m = e.zIndex;if (t) return null;- var h = hy("recharts-area", i), g = f, _ = b6e(n), v = _.r, y = _.strokeWidth, x = $4(n), S = v * 2 + y, C = s ? `url(#clipPath-${x ? "" : "dots-"}${g})` : void 0;- return /*#__PURE__*/ b.createElement(a4, { zIndex: m }, /*#__PURE__*/ b.createElement(iU, { className: h }, s && /*#__PURE__*/ b.createElement("defs", null, /*#__PURE__*/ b.createElement(i6, {+ var h = hy("recharts-area", i), g = f, _ = x6e(n), v = _.r, y = _.strokeWidth, x = $4(n), S = v * 2 + y, C = s ? `url(#clipPath-${x ? "" : "dots-"}${g})` : void 0;+ return /*#__PURE__*/ b.createElement(a4, { zIndex: m }, /*#__PURE__*/ b.createElement(aU, { className: h }, s && /*#__PURE__*/ b.createElement("defs", null, /*#__PURE__*/ b.createElement(i6, {clipPathId: g,xAxisId: c,yAxisId: l@@ -90786,7 +90799,7 @@ var w8e = class extends b.PureComponent {y: a - S / 2,width: u + S,height: d + S- }))), /*#__PURE__*/ b.createElement(C8e, {+ }))), /*#__PURE__*/ b.createElement(w8e, {needClip: s,clipPathId: g,props: this.props@@ -90805,11 +90818,11 @@ var w8e = class extends b.PureComponent {}));}};-function T8e(e) {- var t = e.activeDot, n = e.animationBegin, r = e.animationDuration, i = e.animationEasing, a = e.connectNulls, o = e.dot, s = e.fill, c = e.fillOpacity, l = e.hide, u = e.isAnimationActive, d = e.legendType, f = e.stroke, p = e.xAxisId, m = e.yAxisId, h = l8e(e, c8e), g = BJ(), _ = pYe(), v = r6(p, m).needClip, y = xJ(), x = J((t) => Q6e(t, e.id, y)) ?? {}, S = x.points, C = x.isRange, w = x.baseLine, T = b3();+function E8e(e) {+ var t = e.activeDot, n = e.animationBegin, r = e.animationDuration, i = e.animationEasing, a = e.connectNulls, o = e.dot, s = e.fill, c = e.fillOpacity, l = e.hide, u = e.isAnimationActive, d = e.legendType, f = e.stroke, p = e.xAxisId, m = e.yAxisId, h = u8e(e, l8e), g = VJ(), _ = mYe(), v = r6(p, m).needClip, y = SJ(), x = J((t) => $6e(t, e.id, y)) ?? {}, S = x.points, C = x.isRange, w = x.baseLine, T = b3();if (g !== "horizontal" && g !== "vertical" || T == null || _ !== "AreaChart" && _ !== "ComposedChart") return null;var E = T.height, D = T.width, O = T.x, k = T.y;- return !S || !S.length ? null : /*#__PURE__*/ b.createElement(w8e, p6({}, h, {+ return !S || !S.length ? null : /*#__PURE__*/ b.createElement(T8e, p6({}, h, {activeDot: t,animationBegin: n,animationDuration: r,@@ -90835,9 +90848,9 @@ function T8e(e) {yAxisId: m}));}-var E8e = (e, t, n, r, i) => {+var D8e = (e, t, n, r, i) => {var a = n ?? t;- if (_U(a)) return a;+ if (vU(a)) return a;var o = e === "horizontal" ? i : r, s = o.scale.domain();if (o.type === "number") {var c = Math.max(s[0], s[1]), l = Math.min(s[0], s[1]);@@ -90845,17 +90858,17 @@ var E8e = (e, t, n, r, i) => {}return a === "dataMin" ? s[0] : a === "dataMax" ? s[1] : s[0];};-function D8e(e) {- var t = e.areaSettings, n = t.connectNulls, r = t.baseValue, i = t.dataKey, a = e.stackedData, o = e.layout, s = e.chartBaseValue, c = e.xAxis, l = e.yAxis, u = e.displayedData, d = e.dataStartIndex, f = e.xAxisTicks, p = e.yAxisTicks, m = e.bandSize, h = e.stackDataKeys, g = a && a.length, _ = E8e(o, s, r, c, l), v = o === "horizontal", y = !1, b = u.map((e, t) => {+function O8e(e) {+ var t = e.areaSettings, n = t.connectNulls, r = t.baseValue, i = t.dataKey, a = e.stackedData, o = e.layout, s = e.chartBaseValue, c = e.xAxis, l = e.yAxis, u = e.displayedData, d = e.dataStartIndex, f = e.xAxisTicks, p = e.yAxisTicks, m = e.bandSize, h = e.stackDataKeys, g = a && a.length, _ = D8e(o, s, r, c, l), v = o === "horizontal", y = !1, b = u.map((e, t) => {var r;if (g) r = a[d + t];else {- var o = Zq(e, i);+ var o = Qq(e, i);Array.isArray(o) ? (r = o, y = !0) : r = [_, o];}- var s = r?.[1] ?? null, u = Zq(e, i), b = g && u == null && h != null && h.length > 0 && h.every((t) => Zq(e, t) == null), x = s == null || g && !n && u == null || b;+ var s = r?.[1] ?? null, u = Qq(e, i), b = g && u == null && h != null && h.length > 0 && h.every((t) => Qq(e, t) == null), x = s == null || g && !n && u == null || b;return v ? {- x: rJ({+ x: iJ({axis: c,ticks: f,bandSize: m,@@ -90867,7 +90880,7 @@ function D8e(e) {payload: e} : {x: x ? null : c.scale.map(s) ?? null,- y: rJ({+ y: iJ({axis: l,ticks: p,bandSize: m,@@ -90895,12 +90908,12 @@ function D8e(e) {isRange: y};}-function O8e(e) {- var t = PW(e, h8e), n = xJ();+function k8e(e) {+ var t = FW(e, g8e), n = SJ();return /*#__PURE__*/ b.createElement(f3, {id: t.id,type: "area"- }, (e) => /*#__PURE__*/ b.createElement(b.Fragment, null, /*#__PURE__*/ b.createElement(a3, { legendPayload: g8e(t) }), /*#__PURE__*/ b.createElement(_8e, {+ }, (e) => /*#__PURE__*/ b.createElement(b.Fragment, null, /*#__PURE__*/ b.createElement(a3, { legendPayload: _8e(t) }), /*#__PURE__*/ b.createElement(v8e, {dataKey: t.dataKey,data: t.data,stroke: t.stroke,@@ -90920,35 +90933,35 @@ function O8e(e) {xAxisId: t.xAxisId,yAxisId: t.yAxisId,zAxisId: 0,- stackId: nJ(t.stackId),+ stackId: rJ(t.stackId),hide: t.hide,barSize: void 0,baseValue: t.baseValue,isPanorama: n,connectNulls: t.connectNulls- }), /*#__PURE__*/ b.createElement(T8e, p6({}, t, { id: e }))));+ }), /*#__PURE__*/ b.createElement(E8e, p6({}, t, { id: e }))));}-var k8e = /*#__PURE__*/ b.memo(O8e, $J);-k8e.displayName = "Area";+var A8e = /*#__PURE__*/ b.memo(k8e, eY);+A8e.displayName = "Area";//#endregion//#region node_modules/tiny-invariant/dist/esm/tiny-invariant.js-var A8e = "Invariant failed";-function j8e(e, t) {- if (!e) throw Error(A8e);+var j8e = "Invariant failed";+function M8e(e, t) {+ if (!e) throw Error(j8e);}//#endregion//#region node_modules/recharts/es6/util/BarUtils.js-var M8e = ["option"];-function N8e(e, t) {+var N8e = ["option"];+function P8e(e, t) {if (e == null) return {};- var n, r, i = P8e(e, t);+ var n, r, i = F8e(e, t);if (Object.getOwnPropertySymbols) {var a = Object.getOwnPropertySymbols(e);for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);}return i;}-function P8e(e, t) {+function F8e(e, t) {if (e == null) return {};var n = {};for (var r in e) if ({}.hasOwnProperty.call(e, r)) {@@ -90957,9 +90970,9 @@ function P8e(e, t) {}return n;}-var g6 = $Y;+var g6 = eX;function _6(e) {- var t = e.option, n = N8e(e, M8e);+ var t = e.option, n = P8e(e, N8e);return /*#__PURE__*/ b.createElement(e3, {option: t,DefaultShape: g6,@@ -90968,81 +90981,81 @@ function _6(e) {inActiveClassName: "recharts-inactive-bar"});}-var F8e = function(e) {+var I8e = function(e) {var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 0;return (n, r) => {- if (_U(e)) return e;- var i = _U(n) || wU(n);- return i ? e(n, r) : (!i && j8e(!1, `minPointSize callback function received a value with type of ${typeof n}. Currently only numbers or null/undefined are supported.`), t);+ if (vU(e)) return e;+ var i = vU(n) || TU(n);+ return i ? e(n, r) : (!i && M8e(!1, `minPointSize callback function received a value with type of ${typeof n}. Currently only numbers or null/undefined are supported.`), t);};-}, I8e = (e, t, n) => n, v6 = Y([q1, (e, t) => t], (e, t) => e.filter((e) => e.type === "bar").find((e) => e.id === t)), L8e = Y([v6], (e) => e?.maxBarSize), R8e = (e, t, n, r) => r, z8e = Y([- zJ,- q1,+}, L8e = (e, t, n) => n, v6 = Y([J1, (e, t) => t], (e, t) => e.filter((e) => e.type === "bar").find((e) => e.id === t)), R8e = Y([v6], (e) => e?.maxBarSize), z8e = (e, t, n, r) => r, B8e = Y([+ BJ,+ J1,l6,u6,- I8e-], (e, t, n, r, i) => t.filter((t) => e === "horizontal" ? t.xAxisId === n : t.yAxisId === r).filter((e) => e.isPanorama === i).filter((e) => e.hide === !1).filter((e) => e.type === "bar")), B8e = (e, t, n) => {- var r = zJ(e), i = l6(e, t), a = u6(e, t);- if (i != null && a != null) return r === "horizontal" ? f0(e, "yAxis", a, n) : f0(e, "xAxis", i, n);-}, V8e = Y([- z8e,- IX,+ L8e+], (e, t, n, r, i) => t.filter((t) => e === "horizontal" ? t.xAxisId === n : t.yAxisId === r).filter((e) => e.isPanorama === i).filter((e) => e.hide === !1).filter((e) => e.type === "bar")), V8e = (e, t, n) => {+ var r = BJ(e), i = l6(e, t), a = u6(e, t);+ if (i != null && a != null) return r === "horizontal" ? p0(e, "yAxis", a, n) : p0(e, "xAxis", i, n);+}, H8e = Y([+ B8e,+ LX,(e, t) => {- var n = zJ(e), r = l6(e, t), i = u6(e, t);- if (r != null && i != null) return n === "horizontal" ? Y0(e, "xAxis", r) : Y0(e, "yAxis", i);+ var n = BJ(e), r = l6(e, t), i = u6(e, t);+ if (r != null && i != null) return n === "horizontal" ? X0(e, "xAxis", r) : X0(e, "yAxis", i);}-], u2e), H8e = (e, t, n) => {+], d2e), U8e = (e, t, n) => {var r = v6(e, t);if (r == null) return 0;var i = l6(e, t), a = u6(e, t);if (i == null || a == null) return 0;- var o = zJ(e), s = NX(e), c = r.maxBarSize, l = wU(c) ? s : c, u, d;- return o === "horizontal" ? (u = r2(e, "xAxis", i, n), d = n2(e, "xAxis", i, n)) : (u = r2(e, "yAxis", a, n), d = n2(e, "yAxis", a, n)), cJ(u, d, !0) ?? l ?? 0;-}, U8e = (e, t, n) => {- var r = zJ(e), i = l6(e, t), a = u6(e, t);+ var o = BJ(e), s = PX(e), c = r.maxBarSize, l = TU(c) ? s : c, u, d;+ return o === "horizontal" ? (u = i2(e, "xAxis", i, n), d = r2(e, "xAxis", i, n)) : (u = i2(e, "yAxis", a, n), d = r2(e, "yAxis", a, n)), lJ(u, d, !0) ?? l ?? 0;+}, W8e = (e, t, n) => {+ var r = BJ(e), i = l6(e, t), a = u6(e, t);if (i != null && a != null) {var o, s;- return r === "horizontal" ? (o = r2(e, "xAxis", i, n), s = n2(e, "xAxis", i, n)) : (o = r2(e, "yAxis", a, n), s = n2(e, "yAxis", a, n)), cJ(o, s);+ return r === "horizontal" ? (o = i2(e, "xAxis", i, n), s = r2(e, "xAxis", i, n)) : (o = i2(e, "yAxis", a, n), s = r2(e, "yAxis", a, n)), lJ(o, s);}-}, W8e = Y([- vJ,- bJ,+}, G8e = Y([+ yJ,+ xJ,(e, t, n) => {var r = l6(e, t);- if (r != null) return r2(e, "xAxis", r, n);+ if (r != null) return i2(e, "xAxis", r, n);},(e, t, n) => {var r = u6(e, t);- if (r != null) return r2(e, "yAxis", r, n);+ if (r != null) return i2(e, "yAxis", r, n);},(e, t, n) => {var r = l6(e, t);- if (r != null) return n2(e, "xAxis", r, n);+ if (r != null) return r2(e, "xAxis", r, n);},(e, t, n) => {var r = u6(e, t);- if (r != null) return n2(e, "yAxis", r, n);+ if (r != null) return r2(e, "yAxis", r, n);},Y([Y([- V8e,- NX,+ H8e,PX,FX,- H8e,+ IX,U8e,- L8e- ], g2e), v6], v2e),- zJ,- gX,- U8e,- Y([B8e, v6], _2e),+ W8e,+ R8e+ ], _2e), v6], y2e),+ BJ,+ _X,+ W8e,+ Y([V8e, v6], v2e),v6,- R8e+ z8e], (e, t, n, r, i, a, o, s, c, l, u, d, f) => {var p = c.chartData, m = c.dataStartIndex, h = c.dataEndIndex;if (!(d == null || o == null || t == null || s !== "horizontal" && s !== "vertical" || n == null || r == null || i == null || a == null || l == null)) {var g = d.data, _ = g != null && g.length > 0 ? g : p?.slice(m, h + 1);- if (_ != null) return k5e({+ if (_ != null) return A5e({layout: s,barSettings: d,pos: o,@@ -91059,7 +91072,7 @@ var F8e = function(e) {dataStartIndex: m});}-}), G8e = ["index"];+}), K8e = ["index"];function y6() {return y6 = Object.assign ? Object.assign.bind() : function(e) {for (var t = 1; t < arguments.length; t++) {@@ -91069,16 +91082,16 @@ function y6() {return e;}, y6.apply(null, arguments);}-function K8e(e, t) {+function q8e(e, t) {if (e == null) return {};- var n, r, i = q8e(e, t);+ var n, r, i = J8e(e, t);if (Object.getOwnPropertySymbols) {var a = Object.getOwnPropertySymbols(e);for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);}return i;}-function q8e(e, t) {+function J8e(e, t) {if (e == null) return {};var n = {};for (var r in e) if ({}.hasOwnProperty.call(e, r)) {@@ -91087,54 +91100,54 @@ function q8e(e, t) {}return n;}-var J8e = /*#__PURE__*/ (0, b.createContext)(void 0), Y8e = (e) => {- var t = (0, b.useContext)(J8e);+var Y8e = /*#__PURE__*/ (0, b.createContext)(void 0), X8e = (e) => {+ var t = (0, b.useContext)(Y8e);if (t != null) return t.stackId;- if (e != null) return nJ(e);-}, X8e = (e, t) => `recharts-bar-stack-clip-path-${e}-${t}`, Z8e = (e) => {- var t = (0, b.useContext)(J8e);+ if (e != null) return rJ(e);+}, Z8e = (e, t) => `recharts-bar-stack-clip-path-${e}-${t}`, Q8e = (e) => {+ var t = (0, b.useContext)(Y8e);if (t != null) {var n = t.stackId;- return `url(#${X8e(n, e)})`;+ return `url(#${Z8e(n, e)})`;}-}, Q8e = (e) => {- var t = e.index, n = K8e(e, G8e), r = Z8e(t);- return /*#__PURE__*/ b.createElement(iU, y6({+}, $8e = (e) => {+ var t = e.index, n = q8e(e, K8e), r = Q8e(t);+ return /*#__PURE__*/ b.createElement(aU, y6({className: "recharts-bar-stack-layer",clipPath: r}, n));-}, $8e = [+}, e5e = ["onMouseEnter","onMouseLeave","onClick"-], e5e = [+], t5e = ["value","background","tooltipPosition"-], t5e = ["id"], n5e = [+], n5e = ["id"], r5e = ["onMouseEnter","onClick","onMouseLeave"];-function r5e(e, t) {- return c5e(e) || s5e(e, t) || a5e(e, t) || i5e();+function i5e(e, t) {+ return l5e(e) || c5e(e, t) || o5e(e, t) || a5e();}-function i5e() {+function a5e() {throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}-function a5e(e, t) {+function o5e(e, t) {if (e) {- if (typeof e == "string") return o5e(e, t);+ if (typeof e == "string") return s5e(e, t);var n = {}.toString.call(e).slice(8, -1);- return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? o5e(e, t) : void 0;+ return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? s5e(e, t) : void 0;}}-function o5e(e, t) {+function s5e(e, t) {(t == null || t > e.length) && (t = e.length);for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];return r;}-function s5e(e, t) {+function c5e(e, t) {var n = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];if (n != null) {var r, i, a, o, s = [], c = !0, l = !1;@@ -91155,7 +91168,7 @@ function s5e(e, t) {return s;}}-function c5e(e) {+function l5e(e) {if (Array.isArray(e)) return e;}function b6() {@@ -91167,7 +91180,7 @@ function b6() {return e;}, b6.apply(null, arguments);}-function l5e(e, t) {+function u5e(e, t) {var n = Object.keys(e);if (Object.getOwnPropertySymbols) {var r = Object.getOwnPropertySymbols(e);@@ -91180,27 +91193,27 @@ function l5e(e, t) {function x6(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t] == null ? {} : arguments[t];- t % 2 ? l5e(Object(n), !0).forEach(function(t) {- u5e(e, t, n[t]);- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : l5e(Object(n)).forEach(function(t) {+ t % 2 ? u5e(Object(n), !0).forEach(function(t) {+ d5e(e, t, n[t]);+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : u5e(Object(n)).forEach(function(t) {Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));});}return e;}-function u5e(e, t, n) {- return (t = d5e(t)) in e ? Object.defineProperty(e, t, {+function d5e(e, t, n) {+ return (t = f5e(t)) in e ? Object.defineProperty(e, t, {value: n,enumerable: !0,configurable: !0,writable: !0}) : e[t] = n, e;}-function d5e(e) {- var t = f5e(e, "string");+function f5e(e) {+ var t = p5e(e, "string");return typeof t == "symbol" ? t : t + "";}-function f5e(e, t) {+function p5e(e, t) {if (typeof e != "object" || !e) return e;var n = e[Symbol.toPrimitive];if (n !== void 0) {@@ -91212,14 +91225,14 @@ function f5e(e, t) {}function S6(e, t) {if (e == null) return {};- var n, r, i = p5e(e, t);+ var n, r, i = m5e(e, t);if (Object.getOwnPropertySymbols) {var a = Object.getOwnPropertySymbols(e);for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);}return i;}-function p5e(e, t) {+function m5e(e, t) {if (e == null) return {};var n = {};for (var r in e) if ({}.hasOwnProperty.call(e, r)) {@@ -91228,27 +91241,27 @@ function p5e(e, t) {}return n;}-var m5e = (e) => {+var h5e = (e) => {var t = e.dataKey, n = e.name, r = e.fill, i = e.legendType;return [{inactive: e.hide,dataKey: t,type: i,color: r,- value: uJ(n, t),+ value: dJ(n, t),payload: e}];-}, h5e = /*#__PURE__*/ b.memo((e) => {+}, g5e = /*#__PURE__*/ b.memo((e) => {var t = e.dataKey, n = e.stroke, r = e.strokeWidth, i = e.fill, a = e.name, o = e.hide, s = e.unit, c = e.formatter, l = e.tooltipType, u = e.id, d = {dataDefinedOnItem: void 0,- getPosition: DU,+ getPosition: OU,settings: {stroke: n,strokeWidth: r,fill: i,dataKey: t,nameKey: void 0,- name: uJ(a, t),+ name: dJ(a, t),hide: o,type: l,color: i,@@ -91259,20 +91272,20 @@ var m5e = (e) => {};return /*#__PURE__*/ b.createElement(i3, { tooltipEntrySettings: d });});-function g5e(e) {- var t = J(G2), n = e.data, r = e.dataKey, i = e.background, a = e.allOtherBarProps, o = a.onMouseEnter, s = a.onMouseLeave, c = a.onClick, l = S6(a, $8e), u = t3(o, r, a.id), d = n3(s), f = r3(c, r, a.id);+function _5e(e) {+ var t = J(K2), n = e.data, r = e.dataKey, i = e.background, a = e.allOtherBarProps, o = a.onMouseEnter, s = a.onMouseLeave, c = a.onClick, l = S6(a, e5e), u = t3(o, r, a.id), d = n3(s), f = r3(c, r, a.id);if (!i || n == null) return null;- var p = $H(i);- return /*#__PURE__*/ b.createElement(a4, { zIndex: F2e(i, UX.barBackground) }, n.map((e, n) => {+ var p = eU(i);+ return /*#__PURE__*/ b.createElement(a4, { zIndex: I2e(i, WX.barBackground) }, n.map((e, n) => {e.value;var a = e.background;e.tooltipPosition;- var o = S6(e, e5e);+ var o = S6(e, t5e);if (!a) return null;var s = u(e, e.originalDataIndex), c = d(e, e.originalDataIndex), m = f(e, e.originalDataIndex), h = x6(x6(x6(x6(x6({option: i,isActive: String(e.originalDataIndex) === t- }, o), {}, { fill: "#eee" }, a), p), MW(l, e, n)), {}, {+ }, o), {}, { fill: "#eee" }, a), p), NW(l, e, n)), {}, {onMouseEnter: s,onMouseLeave: c,onClick: m,@@ -91283,7 +91296,7 @@ function g5e(e) {return /*#__PURE__*/ b.createElement(_6, b6({ key: `background-bar-${n}` }, h));}));}-function _5e(e) {+function v5e(e) {var t = e.showLabels, n = e.children, r = e.rects?.map((e) => {var t = {x: e.x,@@ -91303,8 +91316,8 @@ function _5e(e) {});return /*#__PURE__*/ b.createElement(D4, { value: t ? r : void 0 }, n);}-function v5e(e) {- var t = e.shape, n = e.activeBar, r = e.baseProps, i = e.entry, a = e.index, o = e.dataKey, s = J(G2), c = J(q2), l = n && String(i.originalDataIndex) === s && (c == null || o === c), u = s != null && (String(i.originalDataIndex) !== s || c != null && o !== c), d = r5e((0, b.useState)(!1), 2), f = d[0], p = d[1], m = r5e((0, b.useState)(!1), 2), h = m[0], g = m[1];+function y5e(e) {+ var t = e.shape, n = e.activeBar, r = e.baseProps, i = e.entry, a = e.index, o = e.dataKey, s = J(K2), c = J(J2), l = n && String(i.originalDataIndex) === s && (c == null || o === c), u = s != null && (String(i.originalDataIndex) !== s || c != null && o !== c), d = i5e((0, b.useState)(!1), 2), f = d[0], p = d[1], m = i5e((0, b.useState)(!1), 2), h = m[0], g = m[1];(0, b.useEffect)(() => {var e;return l ? (p(!0), e = requestAnimationFrame(() => {@@ -91325,9 +91338,9 @@ function v5e(e) {isEntrance: e.isEntrance,onTransitionEnd: _}));- return y ? /*#__PURE__*/ b.createElement(a4, { zIndex: UX.activeBar }, /*#__PURE__*/ b.createElement(Q8e, { index: i.originalDataIndex }, S)) : S;+ return y ? /*#__PURE__*/ b.createElement(a4, { zIndex: WX.activeBar }, /*#__PURE__*/ b.createElement($8e, { index: i.originalDataIndex }, S)) : S;}-function y5e(e) {+function b5e(e) {var t = e.shape, n = e.baseProps, r = e.entry, i = e.index, a = e.dataKey;return /*#__PURE__*/ b.createElement(_6, b6({}, n, { name: String(n.name) }, r, {isActive: !1,@@ -91339,17 +91352,17 @@ function y5e(e) {isEntrance: e.isEntrance}));}-function b5e(e) {- var t = e.data, n = e.props, r = e.animationElapsedTime, i = e.isAnimating, a = e.isEntrance, o = QH(n) ?? {}, s = o.id, c = S6(o, t5e), l = n.shape, u = n.dataKey, d = n.activeBar, f = n.onMouseEnter, p = n.onClick, m = n.onMouseLeave, h = S6(n, n5e), g = t3(f, u, s), _ = n3(m), v = r3(p, u, s);- return t ? /*#__PURE__*/ b.createElement(b.Fragment, null, t.map((e, t) => /*#__PURE__*/ b.createElement(Q8e, b6({+function x5e(e) {+ var t = e.data, n = e.props, r = e.animationElapsedTime, i = e.isAnimating, a = e.isEntrance, o = $H(n) ?? {}, s = o.id, c = S6(o, n5e), l = n.shape, u = n.dataKey, d = n.activeBar, f = n.onMouseEnter, p = n.onClick, m = n.onMouseLeave, h = S6(n, r5e), g = t3(f, u, s), _ = n3(m), v = r3(p, u, s);+ return t ? /*#__PURE__*/ b.createElement(b.Fragment, null, t.map((e, t) => /*#__PURE__*/ b.createElement($8e, b6({index: e.originalDataIndex,key: `rectangle-${e?.x}-${e?.y}-${e?.value}-${t}`,className: "recharts-bar-rectangle"- }, MW(h, e, t), {+ }, NW(h, e, t), {onMouseEnter: g(e, e.originalDataIndex),onMouseLeave: _(e, e.originalDataIndex),onClick: v(e, e.originalDataIndex)- }), d ? /*#__PURE__*/ b.createElement(v5e, {+ }), d ? /*#__PURE__*/ b.createElement(y5e, {shape: l,activeBar: d,baseProps: c,@@ -91359,7 +91372,7 @@ function b5e(e) {animationElapsedTime: r,isAnimating: i,isEntrance: a- }) : /*#__PURE__*/ b.createElement(y5e, {+ }) : /*#__PURE__*/ b.createElement(b5e, {shape: l,baseProps: c,entry: e,@@ -91370,29 +91383,29 @@ function b5e(e) {isEntrance: a})))) : null;}-var x5e = (e, t, n) => e == null ? [] : t === 1 ? e.flatMap((e) => e.status === "removed" ? [] : [e.next]) : e.flatMap((e) => {+var S5e = (e, t, n) => e == null ? [] : t === 1 ? e.flatMap((e) => e.status === "removed" ? [] : [e.next]) : e.flatMap((e) => {if (e.status === "removed") return n === "horizontal" ? [x6(x6({}, e.prev), {}, {- height: SU(e.prev.height, 0, t),- y: SU(e.prev.y, e.prev.y + e.prev.height, t)- })] : [x6(x6({}, e.prev), {}, { width: SU(e.prev.width, 0, t) })];+ height: CU(e.prev.height, 0, t),+ y: CU(e.prev.y, e.prev.y + e.prev.height, t)+ })] : [x6(x6({}, e.prev), {}, { width: CU(e.prev.width, 0, t) })];if (e.status === "matched") return [x6(x6({}, e.next), {}, {- x: SU(e.prev.x, e.next.x, t),- y: SU(e.prev.y, e.next.y, t),- width: SU(e.prev.width, e.next.width, t),- height: SU(e.prev.height, e.next.height, t)+ x: CU(e.prev.x, e.next.x, t),+ y: CU(e.prev.y, e.next.y, t),+ width: CU(e.prev.width, e.next.width, t),+ height: CU(e.prev.height, e.next.height, t)})];var r = e.next;return n === "horizontal" ? [x6(x6({}, r), {}, {- height: SU(0, r.height, t),- y: SU(r.stackedBarStart, r.y, t)+ height: CU(0, r.height, t),+ y: CU(r.stackedBarStart, r.y, t)})] : [x6(x6({}, r), {}, {- width: SU(0, r.width, t),- x: SU(r.stackedBarStart, r.x, t)+ width: CU(0, r.width, t),+ x: CU(r.stackedBarStart, r.x, t)})];});-function S5e(e) {+function C5e(e) {var t = e.props, n = e.previousRectanglesRef, r = t.data, i = t.isAnimationActive, a = t.animationBegin, o = t.animationDuration, s = t.animationEasing, c = t.animationInterpolateFn, l = t.layout, u = u3(t.onAnimationStart, t.onAnimationEnd), d = u.isAnimating, f = u.handleAnimationStart, p = u.handleAnimationEnd;- return /*#__PURE__*/ b.createElement(_5e, {+ return /*#__PURE__*/ b.createElement(v5e, {showLabels: !d,rects: r}, /*#__PURE__*/ b.createElement(d3, {@@ -91409,7 +91422,7 @@ function S5e(e) {animationInterpolateFn: c,animationMatchBy: t.animationMatchBy,layout: l- }, (e, n, r) => /*#__PURE__*/ b.createElement(iU, null, /*#__PURE__*/ b.createElement(b5e, {+ }, (e, n, r) => /*#__PURE__*/ b.createElement(aU, null, /*#__PURE__*/ b.createElement(x5e, {props: t,data: e,animationElapsedTime: n,@@ -91417,72 +91430,72 @@ function S5e(e) {isEntrance: r}))), /*#__PURE__*/ b.createElement(k4, { label: t.label }), t.children);}-function C5e(e) {+function w5e(e) {var t = (0, b.useRef)(null);- return /*#__PURE__*/ b.createElement(S5e, {+ return /*#__PURE__*/ b.createElement(C5e, {previousRectanglesRef: t,props: e});}-var w5e = 0, T5e = (e, t) => {+var T5e = 0, E5e = (e, t) => {var n = Array.isArray(e.value) ? e.value[1] : e.value;return {x: e.x,y: e.y,value: n,- errorVal: Zq(e, t)+ errorVal: Qq(e, t)};-}, E5e = class extends b.PureComponent {+}, D5e = class extends b.PureComponent {render() {var e = this.props, t = e.hide, n = e.data, r = e.dataKey, i = e.className, a = e.xAxisId, o = e.yAxisId, s = e.needClip, c = e.background, l = e.id;if (t || n == null) return null;var u = hy("recharts-bar", i), d = l;- return /*#__PURE__*/ b.createElement(iU, {+ return /*#__PURE__*/ b.createElement(aU, {className: u,id: l}, s && /*#__PURE__*/ b.createElement("defs", null, /*#__PURE__*/ b.createElement(i6, {clipPathId: d,xAxisId: a,yAxisId: o- })), /*#__PURE__*/ b.createElement(iU, {+ })), /*#__PURE__*/ b.createElement(aU, {className: "recharts-bar-rectangles",clipPath: s ? `url(#clipPath-${d})` : void 0- }, /*#__PURE__*/ b.createElement(g5e, {+ }, /*#__PURE__*/ b.createElement(_5e, {data: n,dataKey: r,background: c,allOtherBarProps: this.props- }), /*#__PURE__*/ b.createElement(C5e, this.props)));+ }), /*#__PURE__*/ b.createElement(w5e, this.props)));}-}, D5e = {+}, O5e = {activeBar: !1,animationBegin: 0,animationDuration: 400,animationEasing: "ease",- animationInterpolateFn: x5e,- animationMatchBy: u1e,+ animationInterpolateFn: S5e,+ animationMatchBy: d1e,background: !1,hide: !1,isAnimationActive: "auto",label: !1,legendType: "rect",- minPointSize: w5e,+ minPointSize: T5e,shape: g6,xAxisId: 0,yAxisId: 0,- zIndex: UX.bar+ zIndex: WX.bar};-function O5e(e) {- var t = e.xAxisId, n = e.yAxisId, r = e.hide, i = e.legendType, a = e.minPointSize, o = e.activeBar, s = e.animationBegin, c = e.animationDuration, l = e.animationEasing, u = e.isAnimationActive, d = r6(t, n).needClip, f = BJ(), p = xJ(), m = K$e(e.children, p4), h = J((t) => W8e(t, e.id, p, m));+function k5e(e) {+ var t = e.xAxisId, n = e.yAxisId, r = e.hide, i = e.legendType, a = e.minPointSize, o = e.activeBar, s = e.animationBegin, c = e.animationDuration, l = e.animationEasing, u = e.isAnimationActive, d = r6(t, n).needClip, f = VJ(), p = SJ(), m = q$e(e.children, p4), h = J((t) => G8e(t, e.id, p, m));if (f !== "vertical" && f !== "horizontal") return null;var g, _ = h?.[0];- return g = _ == null || _.height == null || _.width == null ? 0 : f === "vertical" ? _.height / 2 : _.width / 2, /*#__PURE__*/ b.createElement(d6e, {+ return g = _ == null || _.height == null || _.width == null ? 0 : f === "vertical" ? _.height / 2 : _.width / 2, /*#__PURE__*/ b.createElement(f6e, {xAxisId: t,yAxisId: n,data: h,- dataPointFormatter: T5e,+ dataPointFormatter: E5e,errorBarOffset: g- }, /*#__PURE__*/ b.createElement(E5e, b6({}, e, {+ }, /*#__PURE__*/ b.createElement(D5e, b6({}, e, {layout: f,needClip: d,data: h,@@ -91498,20 +91511,20 @@ function O5e(e) {isAnimationActive: u})));}-function k5e(e) {- var t = e.layout, n = e.barSettings, r = n.dataKey, i = n.minPointSize, a = n.hasCustomShape, o = e.pos, s = e.bandSize, c = e.xAxis, l = e.yAxis, u = e.xAxisTicks, d = e.yAxisTicks, f = e.stackedData, p = e.displayedData, m = e.offset, h = e.cells, g = e.parentViewBox, _ = e.dataStartIndex, v = t === "horizontal" ? l : c, y = f ? v.scale.domain() : null, b = aJ({ numericAxis: v }), x = v.scale.map(b);+function A5e(e) {+ var t = e.layout, n = e.barSettings, r = n.dataKey, i = n.minPointSize, a = n.hasCustomShape, o = e.pos, s = e.bandSize, c = e.xAxis, l = e.yAxis, u = e.xAxisTicks, d = e.yAxisTicks, f = e.stackedData, p = e.displayedData, m = e.offset, h = e.cells, g = e.parentViewBox, _ = e.dataStartIndex, v = t === "horizontal" ? l : c, y = f ? v.scale.domain() : null, b = oJ({ numericAxis: v }), x = v.scale.map(b);return p.map((e, n) => {var p, v, S, C, w, T;if (f) {var E = f[n + _];if (E == null) return null;- p = tJ(E, y);- } else p = Zq(e, r), Array.isArray(p) || (p = [b, p]);- var D = F8e(i, w5e)(p[1], n);+ p = nJ(E, y);+ } else p = Qq(e, r), Array.isArray(p) || (p = [b, p]);+ var D = I8e(i, T5e)(p[1], n);if (t === "horizontal") {var O = l.scale.map(p[0]), k = l.scale.map(p[1]);if (O == null || k == null) return null;- v = iJ({+ v = aJ({axis: c,ticks: u,bandSize: s,@@ -91520,19 +91533,19 @@ function k5e(e) {index: n}), S = k ?? O ?? void 0, C = o.size;var A = O - k;- if (w = hU(A) ? 0 : A, T = {+ if (w = gU(A) ? 0 : A, T = {x: v,y: m.top,width: C,height: m.height}, Math.abs(D) > 0 && Math.abs(w) < Math.abs(D)) {- var j = mU(w || D) * (Math.abs(D) - Math.abs(w));+ var j = hU(w || D) * (Math.abs(D) - Math.abs(w));S -= j, w += j;}} else {var M = c.scale.map(p[0]), N = c.scale.map(p[1]);if (M == null || N == null) return null;- if (v = M, S = iJ({+ if (v = M, S = aJ({axis: l,ticks: d,bandSize: s,@@ -91545,7 +91558,7 @@ function k5e(e) {width: m.width,height: w}, Math.abs(D) > 0 && Math.abs(C) < Math.abs(D)) {- var P = mU(C || D) * (Math.abs(D) - Math.abs(C));+ var P = hU(C || D) * (Math.abs(D) - Math.abs(C));C += P;}}@@ -91567,12 +91580,12 @@ function k5e(e) {}, h && h[n] && h[n].props);}).filter(Boolean);}-function A5e(e) {- var t = PW(e, D5e), n = Y8e(t.stackId), r = xJ();+function j5e(e) {+ var t = FW(e, O5e), n = X8e(t.stackId), r = SJ();return /*#__PURE__*/ b.createElement(f3, {id: t.id,type: "bar"- }, (e) => /*#__PURE__*/ b.createElement(b.Fragment, null, /*#__PURE__*/ b.createElement(a3, { legendPayload: m5e(t) }), /*#__PURE__*/ b.createElement(h5e, {+ }, (e) => /*#__PURE__*/ b.createElement(b.Fragment, null, /*#__PURE__*/ b.createElement(a3, { legendPayload: h5e(t) }), /*#__PURE__*/ b.createElement(g5e, {dataKey: t.dataKey,stroke: t.stroke,strokeWidth: t.strokeWidth,@@ -91598,23 +91611,23 @@ function A5e(e) {maxBarSize: t.maxBarSize,isPanorama: r,hasCustomShape: t.shape != null && t.shape !== g6- }), /*#__PURE__*/ b.createElement(a4, { zIndex: t.zIndex }, /*#__PURE__*/ b.createElement(O5e, b6({}, t, { id: e })))));+ }), /*#__PURE__*/ b.createElement(a4, { zIndex: t.zIndex }, /*#__PURE__*/ b.createElement(k5e, b6({}, t, { id: e })))));}-var C6 = /*#__PURE__*/ b.memo(A5e, $J);+var C6 = /*#__PURE__*/ b.memo(j5e, eY);C6.displayName = "Bar";//#endregion//#region node_modules/recharts/es6/util/axisPropsAreEqual.js-var j5e = ["domain", "range"], M5e = ["domain", "range"];-function N5e(e, t) {+var M5e = ["domain", "range"], N5e = ["domain", "range"];+function P5e(e, t) {if (e == null) return {};- var n, r, i = P5e(e, t);+ var n, r, i = F5e(e, t);if (Object.getOwnPropertySymbols) {var a = Object.getOwnPropertySymbols(e);for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);}return i;}-function P5e(e, t) {+function F5e(e, t) {if (e == null) return {};var n = {};for (var r in e) if ({}.hasOwnProperty.call(e, r)) {@@ -91623,21 +91636,21 @@ function P5e(e, t) {}return n;}-function F5e(e, t) {+function I5e(e, t) {return e === t ? !0 : Array.isArray(e) && e.length === 2 && Array.isArray(t) && t.length === 2 ? e[0] === t[0] && e[1] === t[1] : !1;}-function I5e(e, t) {+function L5e(e, t) {if (e === t) return !0;- var n = e.domain, r = e.range, i = N5e(e, j5e), a = t.domain, o = t.range, s = N5e(t, M5e);- return !F5e(n, a) || !F5e(r, o) ? !1 : $J(i, s);+ var n = e.domain, r = e.range, i = P5e(e, M5e), a = t.domain, o = t.range, s = P5e(t, N5e);+ return !I5e(n, a) || !I5e(r, o) ? !1 : eY(i, s);}//#endregion//#region node_modules/recharts/es6/cartesian/XAxis.js-var L5e = ["type"], R5e = [+var R5e = ["type"], z5e = ["dangerouslySetInnerHTML","ticks","scale"-], z5e = ["id", "scale"];+], B5e = ["id", "scale"];function w6() {return w6 = Object.assign ? Object.assign.bind() : function(e) {for (var t = 1; t < arguments.length; t++) {@@ -91647,7 +91660,7 @@ function w6() {return e;}, w6.apply(null, arguments);}-function B5e(e, t) {+function V5e(e, t) {var n = Object.keys(e);if (Object.getOwnPropertySymbols) {var r = Object.getOwnPropertySymbols(e);@@ -91657,30 +91670,30 @@ function B5e(e, t) {}return n;}-function V5e(e) {+function H5e(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t] == null ? {} : arguments[t];- t % 2 ? B5e(Object(n), !0).forEach(function(t) {- H5e(e, t, n[t]);- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : B5e(Object(n)).forEach(function(t) {+ t % 2 ? V5e(Object(n), !0).forEach(function(t) {+ U5e(e, t, n[t]);+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : V5e(Object(n)).forEach(function(t) {Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));});}return e;}-function H5e(e, t, n) {- return (t = U5e(t)) in e ? Object.defineProperty(e, t, {+function U5e(e, t, n) {+ return (t = W5e(t)) in e ? Object.defineProperty(e, t, {value: n,enumerable: !0,configurable: !0,writable: !0}) : e[t] = n, e;}-function U5e(e) {- var t = W5e(e, "string");+function W5e(e) {+ var t = G5e(e, "string");return typeof t == "symbol" ? t : t + "";}-function W5e(e, t) {+function G5e(e, t) {if (typeof e != "object" || !e) return e;var n = e[Symbol.toPrimitive];if (n !== void 0) {@@ -91692,14 +91705,14 @@ function W5e(e, t) {}function T6(e, t) {if (e == null) return {};- var n, r, i = G5e(e, t);+ var n, r, i = K5e(e, t);if (Object.getOwnPropertySymbols) {var a = Object.getOwnPropertySymbols(e);for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);}return i;}-function G5e(e, t) {+function K5e(e, t) {if (e == null) return {};var n = {};for (var r in e) if ({}.hasOwnProperty.call(e, r)) {@@ -91708,27 +91721,27 @@ function G5e(e, t) {}return n;}-function K5e(e) {- var t = DG(), n = (0, b.useRef)(null), r = VJ(), i = e.type, a = T6(e, L5e), o = qX(r, "xAxis", i), s = (0, b.useMemo)(() => {- if (o != null) return V5e(V5e({}, a), {}, { type: o });+function q5e(e) {+ var t = OG(), n = (0, b.useRef)(null), r = HJ(), i = e.type, a = T6(e, R5e), o = JX(r, "xAxis", i), s = (0, b.useMemo)(() => {+ if (o != null) return H5e(H5e({}, a), {}, { type: o });}, [a, o]);return (0, b.useLayoutEffect)(() => {- s != null && (n.current === null ? t(t0e(s)) : n.current !== s && t(n0e({+ s != null && (n.current === null ? t(n0e(s)) : n.current !== s && t(r0e({prev: n.current,next: s})), n.current = s);}, [s, t]), (0, b.useLayoutEffect)(() => () => {- n.current &&= (t(r0e(n.current)), null);+ n.current &&= (t(i0e(n.current)), null);}, [t]), null;}-var q5e = (e) => {- var t = e.xAxisId, n = e.className, r = e.height, i = e.label, a = (0, b.useRef)(null), o = (0, b.useRef)(null), s = J(bJ), c = xJ(), l = DG(), u = "xAxis", d = J((e) => e2(e, u, t, c)), f = J((e) => q0(e, t)), p = J((e) => pJe(e, t)), m = J((e) => L1(e, t));+var J5e = (e) => {+ var t = e.xAxisId, n = e.className, r = e.height, i = e.label, a = (0, b.useRef)(null), o = (0, b.useRef)(null), s = J(xJ), c = SJ(), l = OG(), u = "xAxis", d = J((e) => t2(e, u, t, c)), f = J((e) => J0(e, t)), p = J((e) => pJe(e, t)), m = J((e) => R1(e, t));if ((0, b.useLayoutEffect)(() => {if (!(r !== "auto" || !f || C4(i) || /*#__PURE__*/ (0, b.isValidElement)(i) || m == null)) {var e = a.current;if (e) {var n = e.getCalculatedHeight();- Math.round(f.height) !== Math.round(n) && l(c0e({+ Math.round(f.height) !== Math.round(n) && l(l0e({id: t,height: n}));@@ -91744,9 +91757,9 @@ var q5e = (e) => {m]), f == null || p == null || m == null) return null;e.dangerouslySetInnerHTML, e.ticks, e.scale;- var h = T6(e, R5e);+ var h = T6(e, z5e);m.id, m.scale;- var g = T6(m, z5e);+ var g = T6(m, B5e);return /*#__PURE__*/ b.createElement(Z3, w6({}, h, g, {ref: a,labelRef: o,@@ -91760,33 +91773,33 @@ var q5e = (e) => {axisType: u,axisId: t}));-}, J5e = {- allowDataOverflow: I1.allowDataOverflow,- allowDecimals: I1.allowDecimals,- allowDuplicatedCategory: I1.allowDuplicatedCategory,- angle: I1.angle,+}, Y5e = {+ allowDataOverflow: L1.allowDataOverflow,+ allowDecimals: L1.allowDecimals,+ allowDuplicatedCategory: L1.allowDuplicatedCategory,+ angle: L1.angle,axisLine: X3.axisLine,- height: I1.height,+ height: L1.height,hide: !1,- includeHidden: I1.includeHidden,- interval: I1.interval,+ includeHidden: L1.includeHidden,+ interval: L1.interval,label: !1,- minTickGap: I1.minTickGap,- mirror: I1.mirror,- orientation: I1.orientation,- padding: I1.padding,- reversed: I1.reversed,- scale: I1.scale,- tick: I1.tick,- tickCount: I1.tickCount,+ minTickGap: L1.minTickGap,+ mirror: L1.mirror,+ orientation: L1.orientation,+ padding: L1.padding,+ reversed: L1.reversed,+ scale: L1.scale,+ tick: L1.tick,+ tickCount: L1.tickCount,tickLine: X3.tickLine,tickSize: X3.tickSize,- type: I1.type,- niceTicks: I1.niceTicks,+ type: L1.type,+ niceTicks: L1.niceTicks,xAxisId: 0-}, Y5e = /*#__PURE__*/ b.memo((e) => {- var t = PW(e, J5e);- return /*#__PURE__*/ b.createElement(b.Fragment, null, /*#__PURE__*/ b.createElement(K5e, {+}, X5e = /*#__PURE__*/ b.memo((e) => {+ var t = FW(e, Y5e);+ return /*#__PURE__*/ b.createElement(b.Fragment, null, /*#__PURE__*/ b.createElement(q5e, {allowDataOverflow: t.allowDataOverflow,allowDecimals: t.allowDecimals,allowDuplicatedCategory: t.allowDuplicatedCategory,@@ -91812,16 +91825,16 @@ var q5e = (e) => {type: t.type,unit: t.unit,niceTicks: t.niceTicks- }), /*#__PURE__*/ b.createElement(q5e, t));-}, I5e);-Y5e.displayName = "XAxis";+ }), /*#__PURE__*/ b.createElement(J5e, t));+}, L5e);+X5e.displayName = "XAxis";//#endregion//#region node_modules/recharts/es6/cartesian/YAxis.js-var X5e = ["type"], Z5e = [+var Z5e = ["type"], Q5e = ["dangerouslySetInnerHTML","ticks","scale"-], Q5e = ["id", "scale"];+], $5e = ["id", "scale"];function E6() {return E6 = Object.assign ? Object.assign.bind() : function(e) {for (var t = 1; t < arguments.length; t++) {@@ -91831,7 +91844,7 @@ function E6() {return e;}, E6.apply(null, arguments);}-function $5e(e, t) {+function e7e(e, t) {var n = Object.keys(e);if (Object.getOwnPropertySymbols) {var r = Object.getOwnPropertySymbols(e);@@ -91841,30 +91854,30 @@ function $5e(e, t) {}return n;}-function e7e(e) {+function t7e(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t] == null ? {} : arguments[t];- t % 2 ? $5e(Object(n), !0).forEach(function(t) {- t7e(e, t, n[t]);- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : $5e(Object(n)).forEach(function(t) {+ t % 2 ? e7e(Object(n), !0).forEach(function(t) {+ n7e(e, t, n[t]);+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : e7e(Object(n)).forEach(function(t) {Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));});}return e;}-function t7e(e, t, n) {- return (t = n7e(t)) in e ? Object.defineProperty(e, t, {+function n7e(e, t, n) {+ return (t = r7e(t)) in e ? Object.defineProperty(e, t, {value: n,enumerable: !0,configurable: !0,writable: !0}) : e[t] = n, e;}-function n7e(e) {- var t = r7e(e, "string");+function r7e(e) {+ var t = i7e(e, "string");return typeof t == "symbol" ? t : t + "";}-function r7e(e, t) {+function i7e(e, t) {if (typeof e != "object" || !e) return e;var n = e[Symbol.toPrimitive];if (n !== void 0) {@@ -91876,14 +91889,14 @@ function r7e(e, t) {}function D6(e, t) {if (e == null) return {};- var n, r, i = i7e(e, t);+ var n, r, i = a7e(e, t);if (Object.getOwnPropertySymbols) {var a = Object.getOwnPropertySymbols(e);for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);}return i;}-function i7e(e, t) {+function a7e(e, t) {if (e == null) return {};var n = {};for (var r in e) if ({}.hasOwnProperty.call(e, r)) {@@ -91892,27 +91905,27 @@ function i7e(e, t) {}return n;}-function a7e(e) {- var t = DG(), n = (0, b.useRef)(null), r = VJ(), i = e.type, a = D6(e, X5e), o = qX(r, "yAxis", i), s = (0, b.useMemo)(() => {- if (o != null) return e7e(e7e({}, a), {}, { type: o });+function o7e(e) {+ var t = OG(), n = (0, b.useRef)(null), r = HJ(), i = e.type, a = D6(e, Z5e), o = JX(r, "yAxis", i), s = (0, b.useMemo)(() => {+ if (o != null) return t7e(t7e({}, a), {}, { type: o });}, [o, a]);return (0, b.useLayoutEffect)(() => {- s != null && (n.current === null ? t(i0e(s)) : n.current !== s && t(a0e({+ s != null && (n.current === null ? t(a0e(s)) : n.current !== s && t(o0e({prev: n.current,next: s})), n.current = s);}, [s, t]), (0, b.useLayoutEffect)(() => () => {- n.current &&= (t(o0e(n.current)), null);+ n.current &&= (t(s0e(n.current)), null);}, [t]), null;}-function o7e(e) {- var t = e.yAxisId, n = e.className, r = e.width, i = e.label, a = (0, b.useRef)(null), o = (0, b.useRef)(null), s = J(bJ), c = xJ(), l = DG(), u = "yAxis", d = J((e) => J0(e, t)), f = J((e) => mJe(e, t)), p = J((e) => e2(e, u, t, c)), m = J((e) => B1(e, t));+function s7e(e) {+ var t = e.yAxisId, n = e.className, r = e.width, i = e.label, a = (0, b.useRef)(null), o = (0, b.useRef)(null), s = J(xJ), c = SJ(), l = OG(), u = "yAxis", d = J((e) => Y0(e, t)), f = J((e) => mJe(e, t)), p = J((e) => t2(e, u, t, c)), m = J((e) => V1(e, t));if ((0, b.useLayoutEffect)(() => {if (!(r !== "auto" || !d || C4(i) || /*#__PURE__*/ (0, b.isValidElement)(i) || m == null)) {var e = a.current;if (e) {var n = e.getCalculatedWidth();- Math.round(d.width) !== Math.round(n) && l(s0e({+ Math.round(d.width) !== Math.round(n) && l(c0e({id: t,width: n}));@@ -91928,9 +91941,9 @@ function o7e(e) {m]), d == null || f == null || m == null) return null;e.dangerouslySetInnerHTML, e.ticks, e.scale;- var h = D6(e, Z5e);+ var h = D6(e, Q5e);m.id, m.scale;- var g = D6(m, Q5e);+ var g = D6(m, $5e);return /*#__PURE__*/ b.createElement(Z3, E6({}, h, g, {ref: a,labelRef: o,@@ -91946,33 +91959,33 @@ function o7e(e) {axisId: t}));}-var s7e = {- allowDataOverflow: z1.allowDataOverflow,- allowDecimals: z1.allowDecimals,- allowDuplicatedCategory: z1.allowDuplicatedCategory,- angle: z1.angle,+var c7e = {+ allowDataOverflow: B1.allowDataOverflow,+ allowDecimals: B1.allowDecimals,+ allowDuplicatedCategory: B1.allowDuplicatedCategory,+ angle: B1.angle,axisLine: X3.axisLine,hide: !1,- includeHidden: z1.includeHidden,- interval: z1.interval,+ includeHidden: B1.includeHidden,+ interval: B1.interval,label: !1,- minTickGap: z1.minTickGap,- mirror: z1.mirror,- orientation: z1.orientation,- padding: z1.padding,- reversed: z1.reversed,- scale: z1.scale,- tick: z1.tick,- tickCount: z1.tickCount,+ minTickGap: B1.minTickGap,+ mirror: B1.mirror,+ orientation: B1.orientation,+ padding: B1.padding,+ reversed: B1.reversed,+ scale: B1.scale,+ tick: B1.tick,+ tickCount: B1.tickCount,tickLine: X3.tickLine,tickSize: X3.tickSize,- type: z1.type,- niceTicks: z1.niceTicks,- width: z1.width,+ type: B1.type,+ niceTicks: B1.niceTicks,+ width: B1.width,yAxisId: 0-}, c7e = /*#__PURE__*/ b.memo((e) => {- var t = PW(e, s7e);- return /*#__PURE__*/ b.createElement(b.Fragment, null, /*#__PURE__*/ b.createElement(a7e, {+}, l7e = /*#__PURE__*/ b.memo((e) => {+ var t = FW(e, c7e);+ return /*#__PURE__*/ b.createElement(b.Fragment, null, /*#__PURE__*/ b.createElement(o7e, {interval: t.interval,id: t.yAxisId,scale: t.scale,@@ -91998,27 +92011,27 @@ var s7e = {tick: t.tick,tickFormatter: t.tickFormatter,niceTicks: t.niceTicks- }), /*#__PURE__*/ b.createElement(o7e, t));-}, I5e);-c7e.displayName = "YAxis";+ }), /*#__PURE__*/ b.createElement(s7e, t));+}, L5e);+l7e.displayName = "YAxis";var O6 = Y([(e, t) => t,- zJ,- oZ,- mZ,- R2,- B2,- hYe,- vJ-], wYe);+ BJ,+ sZ,+ hZ,+ z2,+ V2,+ gYe,+ yJ+], TYe);//#endregion//#region node_modules/recharts/es6/util/getRelativeCoordinate.js-function l7e(e) {+function u7e(e) {return "getBBox" in e.currentTarget && typeof e.currentTarget.getBBox == "function";}function k6(e) {var t = e.currentTarget.getBoundingClientRect(), n, r;- if (l7e(e)) {+ if (u7e(e)) {var i = e.currentTarget.getBBox();n = i.width > 0 ? t.width / i.width : 1, r = i.height > 0 ? t.height / i.height : 1;} else {@@ -92033,9 +92046,9 @@ function k6(e) {}//#endregion//#region node_modules/recharts/es6/state/mouseEventsMiddleware.js-var u7e = cq("mouseClick"), d7e = Hq();-d7e.startListening({- actionCreator: u7e,+var d7e = lq("mouseClick"), f7e = Uq();+f7e.startListening({+ actionCreator: d7e,effect: (e, t) => {var n = e.payload, r = O6(t.getState(), k6(n));r?.activeIndex != null && t.dispatch(wJe({@@ -92045,19 +92058,19 @@ d7e.startListening({}));}});-var A6 = cq("mouseMove"), f7e = Hq(), j6 = null, M6 = null, N6 = null;-f7e.startListening({+var A6 = lq("mouseMove"), p7e = Uq(), j6 = null, M6 = null, N6 = null;+p7e.startListening({actionCreator: A6,effect: (e, t) => {var n = e.payload, r = t.getState().eventSettings, i = r.throttleDelay, a = r.throttledEvents, o = a === "all" || a?.includes("mousemove");j6 !== null && (cancelAnimationFrame(j6), j6 = null), M6 !== null && (typeof i != "number" || !o) && (clearTimeout(M6), M6 = null), N6 = k6(n);var s = () => {- var e = t.getState(), n = s2(e, e.tooltip.settings.shared);+ var e = t.getState(), n = c2(e, e.tooltip.settings.shared);if (!N6) j6 = null, M6 = null;else {if (n === "axis") {var r = O6(e, N6);- r?.activeIndex == null ? t.dispatch(p2()) : t.dispatch(m2({+ r?.activeIndex == null ? t.dispatch(m2()) : t.dispatch(h2({activeIndex: r.activeIndex,activeDataKey: void 0,activeCoordinate: r.activeCoordinate@@ -92071,12 +92084,12 @@ f7e.startListening({});//#endregion//#region node_modules/recharts/es6/state/reduxDevtoolsJsonStringifyReplacer.js-function p7e(e, t) {+function m7e(e, t) {return t instanceof HTMLElement ? `HTMLElement <${t.tagName} class="${t.className}">` : t === window ? "global.window" : e === "children" && typeof t == "object" && t ? "<<CHILDREN>>" : t;}//#endregion//#region node_modules/recharts/es6/state/rootPropsSlice.js-var m7e = {+var h7e = {accessibilityLayer: !0,barCategoryGap: "10%",barGap: 4,@@ -92088,19 +92101,19 @@ var m7e = {syncMethod: "index",baseValue: void 0,reverseStackOrder: !1-}, h7e = _q({+}, g7e = vq({name: "rootProps",- initialState: m7e,+ initialState: h7e,reducers: { updateOptions: (e, t) => {- e.accessibilityLayer = t.payload.accessibilityLayer, e.barCategoryGap = t.payload.barCategoryGap, e.barGap = t.payload.barGap ?? m7e.barGap, e.barSize = t.payload.barSize, e.maxBarSize = t.payload.maxBarSize, e.stackOffset = t.payload.stackOffset, e.syncId = t.payload.syncId, e.syncMethod = t.payload.syncMethod, e.className = t.payload.className, e.baseValue = t.payload.baseValue, e.reverseStackOrder = t.payload.reverseStackOrder;+ e.accessibilityLayer = t.payload.accessibilityLayer, e.barCategoryGap = t.payload.barCategoryGap, e.barGap = t.payload.barGap ?? h7e.barGap, e.barSize = t.payload.barSize, e.maxBarSize = t.payload.maxBarSize, e.stackOffset = t.payload.stackOffset, e.syncId = t.payload.syncId, e.syncMethod = t.payload.syncMethod, e.className = t.payload.className, e.baseValue = t.payload.baseValue, e.reverseStackOrder = t.payload.reverseStackOrder;} }-}), g7e = h7e.reducer, _7e = h7e.actions.updateOptions, v7e = _q({+}), _7e = g7e.reducer, v7e = g7e.actions.updateOptions, y7e = vq({name: "polarOptions",initialState: null,reducers: { updatePolarOptions: (e, t) => e === null ? t.payload : (e.startAngle = t.payload.startAngle, e.endAngle = t.payload.endAngle, e.cx = t.payload.cx, e.cy = t.payload.cy, e.innerRadius = t.payload.innerRadius, e.outerRadius = t.payload.outerRadius, e) }-}), y7e = v7e.actions.updatePolarOptions, b7e = v7e.reducer, x7e = cq("keyDown"), S7e = cq("focus"), C7e = cq("blur"), P6 = Hq(), F6 = null, I6 = null, L6 = null;+}), b7e = y7e.actions.updatePolarOptions, x7e = y7e.reducer, S7e = lq("keyDown"), C7e = lq("focus"), w7e = lq("blur"), P6 = Uq(), F6 = null, I6 = null, L6 = null;P6.startListening({- actionCreator: x7e,+ actionCreator: S7e,effect: (e, t) => {L6 = e.payload, F6 !== null && (cancelAnimationFrame(F6), F6 = null);var n = t.getState().eventSettings, r = n.throttleDelay, i = n.throttledEvents, a = i === "all" || i.includes("keydown");@@ -92111,11 +92124,11 @@ P6.startListening({if (e.rootProps.accessibilityLayer === !1) return;var n = e.tooltip.keyboardInteraction, r = L6;if (r !== "ArrowRight" && r !== "ArrowLeft" && r !== "Enter") return;- var i = b2(n, M2(e), u0(e), I2(e)), a = i == null ? -1 : Number(i), o = !Number.isFinite(a) || a < 0, s = B2(e), c = M2(e), l = s2(e, e.tooltip.settings.shared);+ var i = x2(n, N2(e), d0(e), L2(e)), a = i == null ? -1 : Number(i), o = !Number.isFinite(a) || a < 0, s = V2(e), c = N2(e), l = c2(e, e.tooltip.settings.shared);if (r === "Enter") {if (o) return;var u = n4(e, l, "hover", String(n.index));- t.dispatch(g2({+ t.dispatch(_2({active: !n.active,activeIndex: n.index,activeCoordinate: u@@ -92124,7 +92137,7 @@ P6.startListening({}var d = hJe(e) === "left-to-right" ? 1 : -1, f = r === "ArrowRight" ? 1 : -1, p;if (o) {- var m = u0(e), h = I2(e), g = f * d, _ = (e) => ({+ var m = d0(e), h = L2(e), g = f * d, _ = (e) => ({active: !1,index: String(e),dataKey: void 0,@@ -92132,11 +92145,11 @@ P6.startListening({coordinate: void 0});if (p = -1, g > 0) {- for (var v = 0; v < c.length; v++) if (b2(_(v), c, m, h) != null) {+ for (var v = 0; v < c.length; v++) if (x2(_(v), c, m, h) != null) {p = v;break;}- } else for (var y = c.length - 1; y >= 0; y--) if (b2(_(y), c, m, h) != null) {+ } else for (var y = c.length - 1; y >= 0; y--) if (x2(_(y), c, m, h) != null) {p = y;break;}@@ -92147,7 +92160,7 @@ P6.startListening({if (b === 0 || p >= b || p < 0) return;}var x = n4(e, l, "hover", String(p));- t.dispatch(g2({+ t.dispatch(_2({active: !0,activeIndex: p.toString(),activeCoordinate: x@@ -92161,14 +92174,14 @@ P6.startListening({}, r)) : o();}}), P6.startListening({- actionCreator: S7e,+ actionCreator: C7e,effect: (e, t) => {var n = t.getState();if (n.rootProps.accessibilityLayer !== !1) {var r = n.tooltip.keyboardInteraction;if (!r.active && r.index == null) {- var i = "0", a = n4(n, s2(n, n.tooltip.settings.shared), "hover", String(i));- t.dispatch(g2({+ var i = "0", a = n4(n, c2(n, n.tooltip.settings.shared), "hover", String(i));+ t.dispatch(_2({active: !0,activeIndex: i,activeCoordinate: a@@ -92177,12 +92190,12 @@ P6.startListening({}}}), P6.startListening({- actionCreator: C7e,+ actionCreator: w7e,effect: (e, t) => {var n = t.getState();if (n.rootProps.accessibilityLayer !== !1) {var r = n.tooltip.keyboardInteraction;- r.active && t.dispatch(g2({+ r.active && t.dispatch(_2({active: !1,activeIndex: r.index,activeCoordinate: r.coordinate@@ -92192,7 +92205,7 @@ P6.startListening({});//#endregion//#region node_modules/recharts/es6/util/createEventProxy.js-function w7e(e) {+function T7e(e) {e.persist();var t = e.currentTarget;return new Proxy(e, { get: (e, n) => {@@ -92203,13 +92216,13 @@ function w7e(e) {}//#endregion//#region node_modules/recharts/es6/state/externalEventsMiddleware.js-var R6 = cq("externalEvent"), T7e = Hq(), z6 = /* @__PURE__ */ new Map(), B6 = /* @__PURE__ */ new Map(), V6 = /* @__PURE__ */ new Map();-T7e.startListening({+var R6 = lq("externalEvent"), E7e = Uq(), z6 = /* @__PURE__ */ new Map(), B6 = /* @__PURE__ */ new Map(), V6 = /* @__PURE__ */ new Map();+E7e.startListening({actionCreator: R6,effect: (e, t) => {var n = e.payload, r = n.handler, i = n.reactEvent;if (r != null) {- var a = i.type, o = w7e(i);+ var a = i.type, o = T7e(i);V6.set(a, {handler: r,reactEvent: o@@ -92224,10 +92237,10 @@ T7e.startListening({if (!e) return;var n = e.handler, r = e.reactEvent, i = t.getState(), o = {activeCoordinate: ZJe(i),- activeDataKey: q2(i),- activeIndex: G2(i),- activeLabel: K2(i),- activeTooltipIndex: G2(i),+ activeDataKey: J2(i),+ activeIndex: K2(i),+ activeLabel: q2(i),+ activeTooltipIndex: K2(i),isTooltipActive: QJe(i)};n && n(o, r);@@ -92249,8 +92262,8 @@ T7e.startListening({}}});-var E7e = Y([- Y([w2], (e) => e.tooltipItemPayloads),+var D7e = Y([+ Y([T2], (e) => e.tooltipItemPayloads),(e, t) => t,(e, t, n) => n], (e, t, n) => {@@ -92261,30 +92274,30 @@ var E7e = Y([if (i != null) return i(t);}}-}), D7e = cq("touchMove"), O7e = Hq(), H6 = null, U6 = null, k7e = null, W6 = null;-O7e.startListening({- actionCreator: D7e,+}), O7e = lq("touchMove"), k7e = Uq(), H6 = null, U6 = null, A7e = null, W6 = null;+k7e.startListening({+ actionCreator: O7e,effect: (e, t) => {var n = e.payload;if (n.touches != null && n.touches.length !== 0) {- W6 = w7e(n);+ W6 = T7e(n);var r = t.getState().eventSettings, i = r.throttleDelay, a = r.throttledEvents, o = a === "all" || a.includes("touchmove");- H6 !== null && (cancelAnimationFrame(H6), H6 = null), U6 !== null && (typeof i != "number" || !o) && (clearTimeout(U6), U6 = null), k7e = Array.from(n.touches).map((e) => k6({+ H6 !== null && (cancelAnimationFrame(H6), H6 = null), U6 !== null && (typeof i != "number" || !o) && (clearTimeout(U6), U6 = null), A7e = Array.from(n.touches).map((e) => k6({clientX: e.clientX,clientY: e.clientY,currentTarget: n.currentTarget}));var s = () => {if (W6 != null) {- var e = t.getState(), n = s2(e, e.tooltip.settings.shared);+ var e = t.getState(), n = c2(e, e.tooltip.settings.shared);if (n === "axis") {- var r = k7e?.[0];+ var r = A7e?.[0];if (r == null) {H6 = null, U6 = null;return;}var i = O6(e, r);- i?.activeIndex != null && t.dispatch(m2({+ i?.activeIndex != null && t.dispatch(h2({activeIndex: i.activeIndex,activeDataKey: void 0,activeCoordinate: i.activeCoordinate@@ -92294,10 +92307,10 @@ O7e.startListening({if (document.elementFromPoint == null || a == null) return;var o = document.elementFromPoint(a.clientX, a.clientY);if (!o || !o.getAttribute) return;- var s = o.getAttribute(iVe), c = o.getAttribute("data-recharts-item-id") ?? void 0, l = A2(e).find((e) => e.id === c);+ var s = o.getAttribute(iVe), c = o.getAttribute("data-recharts-item-id") ?? void 0, l = j2(e).find((e) => e.id === c);if (s == null || l == null || c == null) return;- var u = l.dataKey, d = E7e(e, s, c);- t.dispatch(f2({+ var u = l.dataKey, d = D7e(e, s, c);+ t.dispatch(p2({activeDataKey: u,activeIndex: s,activeCoordinate: d,@@ -92324,33 +92337,33 @@ var G6 = {"scroll","wheel"]-}, A7e = _q({+}, j7e = vq({name: "eventSettings",initialState: G6,reducers: { setEventSettings: (e, t) => {- t.payload.throttleDelay != null && (e.throttleDelay = t.payload.throttleDelay), t.payload.throttledEvents != null && (e.throttledEvents = oq(t.payload.throttledEvents));+ t.payload.throttleDelay != null && (e.throttleDelay = t.payload.throttleDelay), t.payload.throttledEvents != null && (e.throttledEvents = sq(t.payload.throttledEvents));} }-}), j7e = A7e.actions.setEventSettings, M7e = A7e.reducer, N7e = YG({- brush: i4e,- cartesianAxis: l0e,- chartData: iXe,- errorBars: o6e,- eventSettings: M7e,- graphicalItems: L1e,+}), M7e = j7e.actions.setEventSettings, N7e = j7e.reducer, P7e = XG({+ brush: a4e,+ cartesianAxis: u0e,+ chartData: aXe,+ errorBars: s6e,+ eventSettings: N7e,+ graphicalItems: R1e,layout: GBe,legend: BVe,- options: QYe,- polarAxis: r$e,- polarOptions: b7e,- referenceElements: f4e,- renderedTicks: a3e,- rootProps: g7e,+ options: $Ye,+ polarAxis: i$e,+ polarOptions: x7e,+ referenceElements: p4e,+ renderedTicks: o3e,+ rootProps: _7e,tooltip: TJe,- zIndex: zYe-}), P7e = function(e) {+ zIndex: BYe+}), F7e = function(e) {var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "Chart";return _Be({- reducer: N7e,+ reducer: P7e,preloadedState: e,middleware: (e) => e({serializableCheck: !1,@@ -92360,29 +92373,29 @@ var G6 = {"production"].includes("es6")}).concat([- d7e.middleware,f7e.middleware,+ p7e.middleware,P6.middleware,- T7e.middleware,- O7e.middleware+ E7e.middleware,+ k7e.middleware]),enhancers: (e) => {var t = e;- return typeof e == "function" && (t = e()), t.concat(hq({ type: "raf" }));+ return typeof e == "function" && (t = e()), t.concat(gq({ type: "raf" }));},- devTools: fY.devToolsEnabled && {- serialize: { replacer: p7e },+ devTools: pY.devToolsEnabled && {+ serialize: { replacer: m7e },name: `recharts-${t}`}});};//#endregion//#region node_modules/recharts/es6/state/RechartsStoreProvider.js-function F7e(e) {- var t = e.preloadedState, n = e.children, r = e.reduxStoreName, i = xJ(), a = (0, b.useRef)(null);+function I7e(e) {+ var t = e.preloadedState, n = e.children, r = e.reduxStoreName, i = SJ(), a = (0, b.useRef)(null);if (i) return n;- a.current ??= P7e(t, r);- var o = EG;+ a.current ??= F7e(t, r);+ var o = DG;return /*#__PURE__*/ b.createElement(eHe, {context: o,store: a.current@@ -92390,8 +92403,8 @@ function F7e(e) {}//#endregion//#region node_modules/recharts/es6/state/ReportMainChartProps.js-function I7e(e) {- var t = e.layout, n = e.margin, r = DG(), i = xJ();+function L7e(e) {+ var t = e.layout, n = e.margin, r = OG(), i = SJ();return (0, b.useEffect)(() => {i || (r(HBe(t)), r(VBe(n)));}, [@@ -92401,31 +92414,31 @@ function I7e(e) {n]), null;}-var L7e = /*#__PURE__*/ (0, b.memo)(I7e, $J);+var R7e = /*#__PURE__*/ (0, b.memo)(L7e, eY);//#endregion//#region node_modules/recharts/es6/state/ReportChartProps.js-function R7e(e) {- var t = DG();+function z7e(e) {+ var t = OG();return (0, b.useEffect)(() => {- t(_7e(e));+ t(v7e(e));}, [t, e]), null;}-var z7e = /*#__PURE__*/ (0, b.memo)((e) => {- var t = DG();+var B7e = /*#__PURE__*/ (0, b.memo)((e) => {+ var t = OG();return (0, b.useEffect)(() => {- t(j7e(e));+ t(M7e(e));}, [t, e]), null;-}, $J);+}, eY);//#endregion//#region node_modules/recharts/es6/zIndex/ZIndexPortal.js-function B7e(e) {- var t = e.zIndex, n = e.isPanorama, r = (0, b.useRef)(null), i = DG();- return (0, b.useLayoutEffect)(() => (r.current && i(LYe({+function V7e(e) {+ var t = e.zIndex, n = e.isPanorama, r = (0, b.useRef)(null), i = OG();+ return (0, b.useLayoutEffect)(() => (r.current && i(RYe({zIndex: t,element: r.current,isPanorama: n})), () => {- i(RYe({+ i(zYe({zIndex: t,isPanorama: n}));@@ -92439,15 +92452,15 @@ function B7e(e) {className: `recharts-zIndex-layer_${t}`});}-function V7e(e) {- var t = e.children, n = e.isPanorama, r = J(EYe);+function H7e(e) {+ var t = e.children, n = e.isPanorama, r = J(DYe);if (!r || r.length === 0) return t;var i = r.filter((e) => e < 0), a = r.filter((e) => e > 0);- return /*#__PURE__*/ b.createElement(b.Fragment, null, i.map((e) => /*#__PURE__*/ b.createElement(B7e, {+ return /*#__PURE__*/ b.createElement(b.Fragment, null, i.map((e) => /*#__PURE__*/ b.createElement(V7e, {key: e,zIndex: e,isPanorama: n- })), t, a.map((e) => /*#__PURE__*/ b.createElement(B7e, {+ })), t, a.map((e) => /*#__PURE__*/ b.createElement(V7e, {key: e,zIndex: e,isPanorama: n@@ -92455,17 +92468,17 @@ function V7e(e) {}//#endregion//#region node_modules/recharts/es6/container/RootSurface.js-var H7e = ["children"];-function U7e(e, t) {+var U7e = ["children"];+function W7e(e, t) {if (e == null) return {};- var n, r, i = W7e(e, t);+ var n, r, i = G7e(e, t);if (Object.getOwnPropertySymbols) {var a = Object.getOwnPropertySymbols(e);for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);}return i;}-function W7e(e, t) {+function G7e(e, t) {if (e == null) return {};var n = {};for (var r in e) if ({}.hasOwnProperty.call(e, r)) {@@ -92483,59 +92496,59 @@ function K6() {return e;}, K6.apply(null, arguments);}-var G7e = {+var K7e = {width: "100%",height: "100%",display: "block"-}, K7e = /*#__PURE__*/ (0, b.forwardRef)((e, t) => {- var n = LJ(), r = RJ(), i = vY();- if (!Jq(n) || !Jq(r)) return null;+}, q7e = /*#__PURE__*/ (0, b.forwardRef)((e, t) => {+ var n = RJ(), r = zJ(), i = yY();+ if (!Yq(n) || !Yq(r)) return null;var a = e.children, o = e.otherAttributes, s = e.title, c = e.desc, l, u;- return o != null && (l = typeof o.tabIndex == "number" ? o.tabIndex : i ? 0 : void 0, u = typeof o.role == "string" ? o.role : i ? "application" : void 0), /*#__PURE__*/ b.createElement(nU, K6({}, o, {+ return o != null && (l = typeof o.tabIndex == "number" ? o.tabIndex : i ? 0 : void 0, u = typeof o.role == "string" ? o.role : i ? "application" : void 0), /*#__PURE__*/ b.createElement(rU, K6({}, o, {title: s,desc: c,role: u,tabIndex: l,width: n,height: r,- style: G7e,+ style: K7e,ref: t}), a);-}), q7e = (e) => {- var t = e.children, n = J(CJ);+}), J7e = (e) => {+ var t = e.children, n = J(wJ);if (!n) return null;var r = n.width, i = n.height, a = n.y, o = n.x;- return /*#__PURE__*/ b.createElement(nU, {+ return /*#__PURE__*/ b.createElement(rU, {width: r,height: i,x: o,y: a}, t);-}, J7e = /*#__PURE__*/ (0, b.forwardRef)((e, t) => {- var n = e.children, r = U7e(e, H7e);- return xJ() ? /*#__PURE__*/ b.createElement(q7e, null, /*#__PURE__*/ b.createElement(V7e, { isPanorama: !0 }, n)) : /*#__PURE__*/ b.createElement(K7e, K6({ ref: t }, r), /*#__PURE__*/ b.createElement(V7e, { isPanorama: !1 }, n));+}, Y7e = /*#__PURE__*/ (0, b.forwardRef)((e, t) => {+ var n = e.children, r = W7e(e, U7e);+ return SJ() ? /*#__PURE__*/ b.createElement(J7e, null, /*#__PURE__*/ b.createElement(H7e, { isPanorama: !0 }, n)) : /*#__PURE__*/ b.createElement(q7e, K6({ ref: t }, r), /*#__PURE__*/ b.createElement(H7e, { isPanorama: !1 }, n));});//#endregion//#region node_modules/recharts/es6/util/useReportScale.js-function Y7e(e, t) {- return e9e(e) || $7e(e, t) || Z7e(e, t) || X7e();+function X7e(e, t) {+ return t9e(e) || e9e(e, t) || Q7e(e, t) || Z7e();}-function X7e() {+function Z7e() {throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}-function Z7e(e, t) {+function Q7e(e, t) {if (e) {- if (typeof e == "string") return Q7e(e, t);+ if (typeof e == "string") return $7e(e, t);var n = {}.toString.call(e).slice(8, -1);- return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? Q7e(e, t) : void 0;+ return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? $7e(e, t) : void 0;}}-function Q7e(e, t) {+function $7e(e, t) {(t == null || t > e.length) && (t = e.length);for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];return r;}-function $7e(e, t) {+function e9e(e, t) {var n = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];if (n != null) {var r, i, a, o, s = [], c = !0, l = !1;@@ -92556,15 +92569,15 @@ function $7e(e, t) {return s;}}-function e9e(e) {+function t9e(e) {if (Array.isArray(e)) return e;}-function t9e() {- var e = DG(), t = Y7e((0, b.useState)(null), 2), n = t[0], r = t[1], i = J(rVe);+function n9e() {+ var e = OG(), t = X7e((0, b.useState)(null), 2), n = t[0], r = t[1], i = J(rVe);return (0, b.useEffect)(() => {if (n != null) {var t = n.getBoundingClientRect().width / n.offsetWidth;- qq(t) && t !== i && e(WBe(t));+ Jq(t) && t !== i && e(WBe(t));}}, [n,@@ -92574,7 +92587,7 @@ function t9e() {}//#endregion//#region node_modules/recharts/es6/chart/RechartsWrapper.js-function n9e(e, t) {+function r9e(e, t) {var n = Object.keys(e);if (Object.getOwnPropertySymbols) {var r = Object.getOwnPropertySymbols(e);@@ -92584,30 +92597,30 @@ function n9e(e, t) {}return n;}-function r9e(e) {+function i9e(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t] == null ? {} : arguments[t];- t % 2 ? n9e(Object(n), !0).forEach(function(t) {- i9e(e, t, n[t]);- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : n9e(Object(n)).forEach(function(t) {+ t % 2 ? r9e(Object(n), !0).forEach(function(t) {+ a9e(e, t, n[t]);+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : r9e(Object(n)).forEach(function(t) {Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));});}return e;}-function i9e(e, t, n) {- return (t = a9e(t)) in e ? Object.defineProperty(e, t, {+function a9e(e, t, n) {+ return (t = o9e(t)) in e ? Object.defineProperty(e, t, {value: n,enumerable: !0,configurable: !0,writable: !0}) : e[t] = n, e;}-function a9e(e) {- var t = o9e(e, "string");+function o9e(e) {+ var t = s9e(e, "string");return typeof t == "symbol" ? t : t + "";}-function o9e(e, t) {+function s9e(e, t) {if (typeof e != "object" || !e) return e;var n = e[Symbol.toPrimitive];if (n !== void 0) {@@ -92627,24 +92640,24 @@ function q6() {}, q6.apply(null, arguments);}function J6(e, t) {- return d9e(e) || u9e(e, t) || c9e(e, t) || s9e();+ return f9e(e) || d9e(e, t) || l9e(e, t) || c9e();}-function s9e() {+function c9e() {throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}-function c9e(e, t) {+function l9e(e, t) {if (e) {- if (typeof e == "string") return l9e(e, t);+ if (typeof e == "string") return u9e(e, t);var n = {}.toString.call(e).slice(8, -1);- return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? l9e(e, t) : void 0;+ return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? u9e(e, t) : void 0;}}-function l9e(e, t) {+function u9e(e, t) {(t == null || t > e.length) && (t = e.length);for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];return r;}-function u9e(e, t) {+function d9e(e, t) {var n = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];if (n != null) {var r, i, a, o, s = [], c = !0, l = !1;@@ -92665,10 +92678,10 @@ function u9e(e, t) {return s;}}-function d9e(e) {+function f9e(e) {if (Array.isArray(e)) return e;}-var f9e = () => (mXe(), null);+var p9e = () => (hXe(), null);function Y6(e) {if (typeof e == "number") return e;if (typeof e == "string") {@@ -92677,7 +92690,7 @@ function Y6(e) {}return 0;}-var p9e = /*#__PURE__*/ (0, b.forwardRef)((e, t) => {+var m9e = /*#__PURE__*/ (0, b.forwardRef)((e, t) => {var n = (0, b.useRef)(null), r = J6((0, b.useState)({containerWidth: Y6(e.style?.width),containerHeight: Y6(e.style?.height)@@ -92705,11 +92718,11 @@ var p9e = /*#__PURE__*/ (0, b.forwardRef)((e, t) => {}, [t, o]);return (0, b.useEffect)(() => () => {n.current?.disconnect();- }, [o]), /*#__PURE__*/ b.createElement(b.Fragment, null, /*#__PURE__*/ b.createElement(WJ, {+ }, [o]), /*#__PURE__*/ b.createElement(b.Fragment, null, /*#__PURE__*/ b.createElement(GJ, {width: i.containerWidth,height: i.containerHeight}), /*#__PURE__*/ b.createElement("div", q6({ ref: s }, e)));-}), m9e = /*#__PURE__*/ (0, b.forwardRef)((e, t) => {+}), h9e = /*#__PURE__*/ (0, b.forwardRef)((e, t) => {var n = e.width, r = e.height, i = J6((0, b.useState)({containerWidth: Y6(n),containerHeight: Y6(r)@@ -92727,32 +92740,32 @@ var p9e = /*#__PURE__*/ (0, b.forwardRef)((e, t) => {s(r, i);}}, [t, s]);- return /*#__PURE__*/ b.createElement(b.Fragment, null, /*#__PURE__*/ b.createElement(WJ, {+ return /*#__PURE__*/ b.createElement(b.Fragment, null, /*#__PURE__*/ b.createElement(GJ, {width: a.containerWidth,height: a.containerHeight}), /*#__PURE__*/ b.createElement("div", q6({ ref: c }, e)));-}), h9e = /*#__PURE__*/ (0, b.forwardRef)((e, t) => {+}), g9e = /*#__PURE__*/ (0, b.forwardRef)((e, t) => {var n = e.width, r = e.height;- return /*#__PURE__*/ b.createElement(b.Fragment, null, /*#__PURE__*/ b.createElement(WJ, {+ return /*#__PURE__*/ b.createElement(b.Fragment, null, /*#__PURE__*/ b.createElement(GJ, {width: n,height: r}), /*#__PURE__*/ b.createElement("div", q6({ ref: t }, e)));-}), g9e = /*#__PURE__*/ (0, b.forwardRef)((e, t) => {+}), _9e = /*#__PURE__*/ (0, b.forwardRef)((e, t) => {var n = e.width, r = e.height;- return typeof n == "string" || typeof r == "string" ? /*#__PURE__*/ b.createElement(m9e, q6({}, e, { ref: t })) : typeof n == "number" && typeof r == "number" ? /*#__PURE__*/ b.createElement(h9e, q6({}, e, {+ return typeof n == "string" || typeof r == "string" ? /*#__PURE__*/ b.createElement(h9e, q6({}, e, { ref: t })) : typeof n == "number" && typeof r == "number" ? /*#__PURE__*/ b.createElement(g9e, q6({}, e, {width: n,height: r,ref: t- })) : /*#__PURE__*/ b.createElement(b.Fragment, null, /*#__PURE__*/ b.createElement(WJ, {+ })) : /*#__PURE__*/ b.createElement(b.Fragment, null, /*#__PURE__*/ b.createElement(GJ, {width: n,height: r}), /*#__PURE__*/ b.createElement("div", q6({ ref: t }, e)));});-function _9e(e) {- return e ? p9e : g9e;+function v9e(e) {+ return e ? m9e : _9e;}-var v9e = /*#__PURE__*/ (0, b.forwardRef)((e, t) => {- var n = e.children, r = e.className, i = e.height, a = e.onClick, o = e.onContextMenu, s = e.onDoubleClick, c = e.onMouseDown, l = e.onMouseEnter, u = e.onMouseLeave, d = e.onMouseMove, f = e.onMouseUp, p = e.onTouchEnd, m = e.onTouchMove, h = e.onTouchStart, g = e.style, _ = e.width, v = e.responsive, y = e.dispatchTouchEvents, x = y === void 0 || y, S = (0, b.useRef)(null), C = DG(), w = J6((0, b.useState)(null), 2), T = w[0], E = w[1], D = J6((0, b.useState)(null), 2), O = D[0], k = D[1], A = t9e(), j = NJ(), M = j?.width > 0 ? j.width : _, N = j?.height > 0 ? j.height : i, P = (0, b.useCallback)((e) => {+var y9e = /*#__PURE__*/ (0, b.forwardRef)((e, t) => {+ var n = e.children, r = e.className, i = e.height, a = e.onClick, o = e.onContextMenu, s = e.onDoubleClick, c = e.onMouseDown, l = e.onMouseEnter, u = e.onMouseLeave, d = e.onMouseMove, f = e.onMouseUp, p = e.onTouchEnd, m = e.onTouchMove, h = e.onTouchStart, g = e.style, _ = e.width, v = e.responsive, y = e.dispatchTouchEvents, x = y === void 0 || y, S = (0, b.useRef)(null), C = OG(), w = J6((0, b.useState)(null), 2), T = w[0], E = w[1], D = J6((0, b.useState)(null), 2), O = D[0], k = D[1], A = n9e(), j = PJ(), M = j?.width > 0 ? j.width : _, N = j?.height > 0 ? j.height : i, P = (0, b.useCallback)((e) => {A(e), typeof t == "function" && t(e), E(e), k(e), e != null && (S.current = e);}, [A,@@ -92760,7 +92773,7 @@ var v9e = /*#__PURE__*/ (0, b.forwardRef)((e, t) => {E,k]), ee = (0, b.useCallback)((e) => {- C(u7e(e)), C(R6({+ C(d7e(e)), C(R6({handler: a,reactEvent: e}));@@ -92770,7 +92783,7 @@ var v9e = /*#__PURE__*/ (0, b.forwardRef)((e, t) => {reactEvent: e}));}, [C, l]), te = (0, b.useCallback)((e) => {- C(p2()), C(R6({+ C(m2()), C(R6({handler: u,reactEvent: e}));@@ -92780,11 +92793,11 @@ var v9e = /*#__PURE__*/ (0, b.forwardRef)((e, t) => {reactEvent: e}));}, [C, d]), ne = (0, b.useCallback)(() => {- C(S7e());- }, [C]), re = (0, b.useCallback)(() => {C(C7e());+ }, [C]), re = (0, b.useCallback)(() => {+ C(w7e());}, [C]), ie = (0, b.useCallback)((e) => {- C(x7e(e.key));+ C(S7e(e.key));}, [C]), ae = (0, b.useCallback)((e) => {C(R6({handler: o,@@ -92811,7 +92824,7 @@ var v9e = /*#__PURE__*/ (0, b.forwardRef)((e, t) => {reactEvent: e}));}, [C, h]), ue = (0, b.useCallback)((e) => {- x && C(D7e(e)), C(R6({+ x && C(O7e(e)), C(R6({handler: m,reactEvent: e}));@@ -92824,12 +92837,12 @@ var v9e = /*#__PURE__*/ (0, b.forwardRef)((e, t) => {handler: p,reactEvent: e}));- }, [C, p]), fe = _9e(v);- return /*#__PURE__*/ b.createElement(qYe.Provider, { value: T }, /*#__PURE__*/ b.createElement(NU.Provider, { value: O }, /*#__PURE__*/ b.createElement(fe, {+ }, [C, p]), fe = v9e(v);+ return /*#__PURE__*/ b.createElement(JYe.Provider, { value: T }, /*#__PURE__*/ b.createElement(PU.Provider, { value: O }, /*#__PURE__*/ b.createElement(fe, {width: M ?? g?.width,height: N ?? g?.height,className: hy("recharts-wrapper", r),- style: r9e({+ style: i9e({position: "relative",cursor: "default",width: M,@@ -92850,8 +92863,8 @@ var v9e = /*#__PURE__*/ (0, b.forwardRef)((e, t) => {onTouchMove: ue,onTouchStart: le,ref: P- }, /*#__PURE__*/ b.createElement(f9e, null), n)));-}), y9e = [+ }, /*#__PURE__*/ b.createElement(p9e, null), n)));+}), b9e = ["width","height","responsive",@@ -92862,16 +92875,16 @@ var v9e = /*#__PURE__*/ (0, b.forwardRef)((e, t) => {"title","desc"];-function b9e(e, t) {+function x9e(e, t) {if (e == null) return {};- var n, r, i = x9e(e, t);+ var n, r, i = S9e(e, t);if (Object.getOwnPropertySymbols) {var a = Object.getOwnPropertySymbols(e);for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);}return i;}-function x9e(e, t) {+function S9e(e, t) {if (e == null) return {};var n = {};for (var r in e) if ({}.hasOwnProperty.call(e, r)) {@@ -92880,16 +92893,16 @@ function x9e(e, t) {}return n;}-var S9e = /*#__PURE__*/ (0, b.forwardRef)((e, t) => {- var n = e.width, r = e.height, i = e.responsive, a = e.children, o = e.className, s = e.style, c = e.compact, l = e.title, u = e.desc, d = QH(b9e(e, y9e));- return c ? /*#__PURE__*/ b.createElement(b.Fragment, null, /*#__PURE__*/ b.createElement(WJ, {+var C9e = /*#__PURE__*/ (0, b.forwardRef)((e, t) => {+ var n = e.width, r = e.height, i = e.responsive, a = e.children, o = e.className, s = e.style, c = e.compact, l = e.title, u = e.desc, d = $H(x9e(e, b9e));+ return c ? /*#__PURE__*/ b.createElement(b.Fragment, null, /*#__PURE__*/ b.createElement(GJ, {width: n,height: r- }), /*#__PURE__*/ b.createElement(J7e, {+ }), /*#__PURE__*/ b.createElement(Y7e, {otherAttributes: d,title: l,desc: u- }, a)) : /*#__PURE__*/ b.createElement(v9e, {+ }, a)) : /*#__PURE__*/ b.createElement(y9e, {className: o,style: s,width: n,@@ -92906,12 +92919,12 @@ var S9e = /*#__PURE__*/ (0, b.forwardRef)((e, t) => {onTouchStart: e.onTouchStart,onTouchMove: e.onTouchMove,onTouchEnd: e.onTouchEnd- }, /*#__PURE__*/ b.createElement(J7e, {+ }, /*#__PURE__*/ b.createElement(Y7e, {otherAttributes: d,title: l,desc: u,ref: t- }, /*#__PURE__*/ b.createElement(b4e, null, a)));+ }, /*#__PURE__*/ b.createElement(x4e, null, a)));});//#endregion//#region node_modules/recharts/es6/chart/CartesianChart.js@@ -92924,7 +92937,7 @@ function X6() {return e;}, X6.apply(null, arguments);}-function C9e(e, t) {+function w9e(e, t) {var n = Object.keys(e);if (Object.getOwnPropertySymbols) {var r = Object.getOwnPropertySymbols(e);@@ -92934,30 +92947,30 @@ function C9e(e, t) {}return n;}-function w9e(e) {+function T9e(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t] == null ? {} : arguments[t];- t % 2 ? C9e(Object(n), !0).forEach(function(t) {- T9e(e, t, n[t]);- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : C9e(Object(n)).forEach(function(t) {+ t % 2 ? w9e(Object(n), !0).forEach(function(t) {+ E9e(e, t, n[t]);+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : w9e(Object(n)).forEach(function(t) {Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));});}return e;}-function T9e(e, t, n) {- return (t = E9e(t)) in e ? Object.defineProperty(e, t, {+function E9e(e, t, n) {+ return (t = D9e(t)) in e ? Object.defineProperty(e, t, {value: n,enumerable: !0,configurable: !0,writable: !0}) : e[t] = n, e;}-function E9e(e) {- var t = D9e(e, "string");+function D9e(e) {+ var t = O9e(e, "string");return typeof t == "symbol" ? t : t + "";}-function D9e(e, t) {+function O9e(e, t) {if (typeof e != "object" || !e) return e;var n = e[Symbol.toPrimitive];if (n !== void 0) {@@ -92967,7 +92980,7 @@ function D9e(e, t) {}return (t === "string" ? String : Number)(e);}-var O9e = w9e({+var k9e = T9e({accessibilityLayer: !0,barCategoryGap: "10%",barGap: 4,@@ -92983,23 +92996,23 @@ var O9e = w9e({stackOffset: "none",syncMethod: "index"}, G6), Z6 = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {- var n = PW(e.categoricalChartProps, O9e), r = e.chartName, i = e.defaultTooltipEventType, a = e.validateTooltipEventTypes, o = e.tooltipPayloadSearcher, s = e.categoricalChartProps, c = {+ var n = FW(e.categoricalChartProps, k9e), r = e.chartName, i = e.defaultTooltipEventType, a = e.validateTooltipEventTypes, o = e.tooltipPayloadSearcher, s = e.categoricalChartProps, c = {chartName: r,defaultTooltipEventType: i,validateTooltipEventTypes: a,tooltipPayloadSearcher: o,eventEmitter: void 0};- return /*#__PURE__*/ b.createElement(F7e, {+ return /*#__PURE__*/ b.createElement(I7e, {preloadedState: { options: c },reduxStoreName: s.id ?? r- }, /*#__PURE__*/ b.createElement(t4e, { chartData: s.data }), /*#__PURE__*/ b.createElement(L7e, {+ }, /*#__PURE__*/ b.createElement(n4e, { chartData: s.data }), /*#__PURE__*/ b.createElement(R7e, {layout: n.layout,margin: n.margin- }), /*#__PURE__*/ b.createElement(z7e, {+ }), /*#__PURE__*/ b.createElement(B7e, {throttleDelay: n.throttleDelay,throttledEvents: n.throttledEvents- }), /*#__PURE__*/ b.createElement(R7e, {+ }), /*#__PURE__*/ b.createElement(z7e, {baseValue: n.baseValue,accessibilityLayer: n.accessibilityLayer,barCategoryGap: n.barCategoryGap,@@ -93011,33 +93024,33 @@ var O9e = w9e({syncMethod: n.syncMethod,className: n.className,reverseStackOrder: n.reverseStackOrder- }), /*#__PURE__*/ b.createElement(S9e, X6({}, n, { ref: t })));-}), k9e = ["axis"], A9e = /*#__PURE__*/ (0, b.forwardRef)((e, t) => /*#__PURE__*/ b.createElement(Z6, {+ }), /*#__PURE__*/ b.createElement(C9e, X6({}, n, { ref: t })));+}), A9e = ["axis"], j9e = /*#__PURE__*/ (0, b.forwardRef)((e, t) => /*#__PURE__*/ b.createElement(Z6, {chartName: "LineChart",defaultTooltipEventType: "axis",- validateTooltipEventTypes: k9e,+ validateTooltipEventTypes: A9e,tooltipPayloadSearcher: u4,categoricalChartProps: e,ref: t-})), j9e = ["axis", "item"], M9e = /*#__PURE__*/ (0, b.forwardRef)((e, t) => /*#__PURE__*/ b.createElement(Z6, {+})), M9e = ["axis", "item"], N9e = /*#__PURE__*/ (0, b.forwardRef)((e, t) => /*#__PURE__*/ b.createElement(Z6, {chartName: "BarChart",defaultTooltipEventType: "axis",- validateTooltipEventTypes: j9e,+ validateTooltipEventTypes: M9e,tooltipPayloadSearcher: u4,categoricalChartProps: e,ref: t}));//#endregion//#region node_modules/recharts/es6/state/ReportPolarOptions.js-function N9e(e) {- var t = DG();+function P9e(e) {+ var t = OG();return (0, b.useEffect)(() => {- t(y7e(e));+ t(b7e(e));}, [t, e]), null;}//#endregion//#region node_modules/recharts/es6/chart/PolarChart.js-var P9e = ["layout"];+var F9e = ["layout"];function Q6() {return Q6 = Object.assign ? Object.assign.bind() : function(e) {for (var t = 1; t < arguments.length; t++) {@@ -93047,16 +93060,16 @@ function Q6() {return e;}, Q6.apply(null, arguments);}-function F9e(e, t) {+function I9e(e, t) {if (e == null) return {};- var n, r, i = I9e(e, t);+ var n, r, i = L9e(e, t);if (Object.getOwnPropertySymbols) {var a = Object.getOwnPropertySymbols(e);for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);}return i;}-function I9e(e, t) {+function L9e(e, t) {if (e == null) return {};var n = {};for (var r in e) if ({}.hasOwnProperty.call(e, r)) {@@ -93065,7 +93078,7 @@ function I9e(e, t) {}return n;}-function L9e(e, t) {+function R9e(e, t) {var n = Object.keys(e);if (Object.getOwnPropertySymbols) {var r = Object.getOwnPropertySymbols(e);@@ -93075,30 +93088,30 @@ function L9e(e, t) {}return n;}-function R9e(e) {+function z9e(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t] == null ? {} : arguments[t];- t % 2 ? L9e(Object(n), !0).forEach(function(t) {- z9e(e, t, n[t]);- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : L9e(Object(n)).forEach(function(t) {+ t % 2 ? R9e(Object(n), !0).forEach(function(t) {+ B9e(e, t, n[t]);+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : R9e(Object(n)).forEach(function(t) {Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));});}return e;}-function z9e(e, t, n) {- return (t = B9e(t)) in e ? Object.defineProperty(e, t, {+function B9e(e, t, n) {+ return (t = V9e(t)) in e ? Object.defineProperty(e, t, {value: n,enumerable: !0,configurable: !0,writable: !0}) : e[t] = n, e;}-function B9e(e) {- var t = V9e(e, "string");+function V9e(e) {+ var t = H9e(e, "string");return typeof t == "symbol" ? t : t + "";}-function V9e(e, t) {+function H9e(e, t) {if (typeof e != "object" || !e) return e;var n = e[Symbol.toPrimitive];if (n !== void 0) {@@ -93108,7 +93121,7 @@ function V9e(e, t) {}return (t === "string" ? String : Number)(e);}-var $6 = R9e({+var $6 = z9e({accessibilityLayer: !0,stackOffset: "none",barCategoryGap: "10%",@@ -93127,24 +93140,24 @@ var $6 = R9e({cy: "50%",innerRadius: 0,outerRadius: "80%"-}, G6), H9e = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {- var n = PW(e.categoricalChartProps, $6), r = n.layout, i = F9e(n, P9e), a = e.chartName, o = {+}, G6), U9e = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {+ var n = FW(e.categoricalChartProps, $6), r = n.layout, i = I9e(n, F9e), a = e.chartName, o = {chartName: a,defaultTooltipEventType: e.defaultTooltipEventType,validateTooltipEventTypes: e.validateTooltipEventTypes,tooltipPayloadSearcher: e.tooltipPayloadSearcher,eventEmitter: void 0};- return /*#__PURE__*/ b.createElement(F7e, {+ return /*#__PURE__*/ b.createElement(I7e, {preloadedState: { options: o },reduxStoreName: n.id ?? a- }, /*#__PURE__*/ b.createElement(t4e, { chartData: n.data }), /*#__PURE__*/ b.createElement(L7e, {+ }, /*#__PURE__*/ b.createElement(n4e, { chartData: n.data }), /*#__PURE__*/ b.createElement(R7e, {layout: r,margin: n.margin- }), /*#__PURE__*/ b.createElement(z7e, {+ }), /*#__PURE__*/ b.createElement(B7e, {throttleDelay: n.throttleDelay,throttledEvents: n.throttledEvents- }), /*#__PURE__*/ b.createElement(R7e, {+ }), /*#__PURE__*/ b.createElement(z7e, {baseValue: void 0,accessibilityLayer: n.accessibilityLayer,barCategoryGap: n.barCategoryGap,@@ -93156,18 +93169,18 @@ var $6 = R9e({syncMethod: n.syncMethod,className: n.className,reverseStackOrder: n.reverseStackOrder- }), /*#__PURE__*/ b.createElement(N9e, {+ }), /*#__PURE__*/ b.createElement(P9e, {cx: n.cx,cy: n.cy,startAngle: n.startAngle,endAngle: n.endAngle,innerRadius: n.innerRadius,outerRadius: n.outerRadius- }), /*#__PURE__*/ b.createElement(S9e, Q6({}, i, { ref: t })));+ }), /*#__PURE__*/ b.createElement(C9e, Q6({}, i, { ref: t })));});//#endregion//#region node_modules/recharts/es6/chart/RadarChart.js-function U9e(e, t) {+function W9e(e, t) {var n = Object.keys(e);if (Object.getOwnPropertySymbols) {var r = Object.getOwnPropertySymbols(e);@@ -93177,30 +93190,30 @@ function U9e(e, t) {}return n;}-function W9e(e) {+function G9e(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t] == null ? {} : arguments[t];- t % 2 ? U9e(Object(n), !0).forEach(function(t) {- G9e(e, t, n[t]);- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : U9e(Object(n)).forEach(function(t) {+ t % 2 ? W9e(Object(n), !0).forEach(function(t) {+ K9e(e, t, n[t]);+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : W9e(Object(n)).forEach(function(t) {Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));});}return e;}-function G9e(e, t, n) {- return (t = K9e(t)) in e ? Object.defineProperty(e, t, {+function K9e(e, t, n) {+ return (t = q9e(t)) in e ? Object.defineProperty(e, t, {value: n,enumerable: !0,configurable: !0,writable: !0}) : e[t] = n, e;}-function K9e(e) {- var t = q9e(e, "string");+function q9e(e) {+ var t = J9e(e, "string");return typeof t == "symbol" ? t : t + "";}-function q9e(e, t) {+function J9e(e, t) {if (typeof e != "object" || !e) return e;var n = e[Symbol.toPrimitive];if (n !== void 0) {@@ -93210,31 +93223,31 @@ function q9e(e, t) {}return (t === "string" ? String : Number)(e);}-var J9e = ["axis"], Y9e = W9e(W9e({}, $6), {}, {+var Y9e = ["axis"], X9e = G9e(G9e({}, $6), {}, {layout: "centric",startAngle: 90,endAngle: -270-}), X9e = /*#__PURE__*/ (0, b.forwardRef)((e, t) => {- var n = PW(e, Y9e);- return /*#__PURE__*/ b.createElement(H9e, {+}), Z9e = /*#__PURE__*/ (0, b.forwardRef)((e, t) => {+ var n = FW(e, X9e);+ return /*#__PURE__*/ b.createElement(U9e, {chartName: "RadarChart",defaultTooltipEventType: "axis",- validateTooltipEventTypes: J9e,+ validateTooltipEventTypes: Y9e,tooltipPayloadSearcher: u4,categoricalChartProps: n,ref: t});-}), Z9e = ["axis"], Q9e = /*#__PURE__*/ (0, b.forwardRef)((e, t) => /*#__PURE__*/ b.createElement(Z6, {+}), Q9e = ["axis"], $9e = /*#__PURE__*/ (0, b.forwardRef)((e, t) => /*#__PURE__*/ b.createElement(Z6, {chartName: "AreaChart",defaultTooltipEventType: "axis",- validateTooltipEventTypes: Z9e,+ validateTooltipEventTypes: Q9e,tooltipPayloadSearcher: u4,categoricalChartProps: e,ref: t}));//#endregion//#region node_modules/recharts/es6/chart/RadialBarChart.js-function $9e(e, t) {+function eet(e, t) {var n = Object.keys(e);if (Object.getOwnPropertySymbols) {var r = Object.getOwnPropertySymbols(e);@@ -93244,30 +93257,30 @@ function $9e(e, t) {}return n;}-function eet(e) {+function tet(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t] == null ? {} : arguments[t];- t % 2 ? $9e(Object(n), !0).forEach(function(t) {- tet(e, t, n[t]);- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : $9e(Object(n)).forEach(function(t) {+ t % 2 ? eet(Object(n), !0).forEach(function(t) {+ net(e, t, n[t]);+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : eet(Object(n)).forEach(function(t) {Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));});}return e;}-function tet(e, t, n) {- return (t = net(t)) in e ? Object.defineProperty(e, t, {+function net(e, t, n) {+ return (t = ret(t)) in e ? Object.defineProperty(e, t, {value: n,enumerable: !0,configurable: !0,writable: !0}) : e[t] = n, e;}-function net(e) {- var t = ret(e, "string");+function ret(e) {+ var t = iet(e, "string");return typeof t == "symbol" ? t : t + "";}-function ret(e, t) {+function iet(e, t) {if (typeof e != "object" || !e) return e;var n = e[Symbol.toPrimitive];if (n !== void 0) {@@ -93277,16 +93290,16 @@ function ret(e, t) {}return (t === "string" ? String : Number)(e);}-var iet = ["axis", "item"], aet = eet(eet({}, $6), {}, {+var aet = ["axis", "item"], oet = tet(tet({}, $6), {}, {layout: "radial",startAngle: 0,endAngle: 360-}), oet = /*#__PURE__*/ (0, b.forwardRef)((e, t) => {- var n = PW(e, aet);- return /*#__PURE__*/ b.createElement(H9e, {+}), set = /*#__PURE__*/ (0, b.forwardRef)((e, t) => {+ var n = FW(e, oet);+ return /*#__PURE__*/ b.createElement(U9e, {chartName: "RadialBarChart",defaultTooltipEventType: "axis",- validateTooltipEventTypes: iet,+ validateTooltipEventTypes: aet,tooltipPayloadSearcher: u4,categoricalChartProps: n,ref: t@@ -93295,20 +93308,20 @@ var iet = ["axis", "item"], aet = eet(eet({}, $6), {}, {//#endregion//#region src/react/charts/cn.tsfunction e8(...e) {- return bk(hy(e));+ return xk(hy(e));}//#endregion//#region src/react/evilcharts/registry/ui/recharts-chart.tsx-var set = {+var cet = {light: "",dark: ".dark"-}, t8 = Object.keys(set);-function cet(e) {+}, t8 = Object.keys(cet);+function uet(e) {for (let [t, n] of Object.entries(e)) if (n.colors && !t8.some((e) => n.colors?.[e] !== void 0)) throw Error(`[EvilCharts] Invalid chart config for "${t}": colors object must have at least one theme key (${t8.join(", ")}). Received empty object or invalid keys.`);}-var uet = b.createContext(null);+var det = b.createContext(null);function n8() {- let e = b.useContext(uet);+ let e = b.useContext(det);if (!e) throw Error("useChart must be used within a <ChartContainer />");return e;}@@ -93317,7 +93330,7 @@ function r8({ id: e, config: t, initialDimension: n = {height: 200}, className: r, children: i, footer: a, ...o }) {let s = b.useId(), c = `chart-${e ?? s.replace(/:/g, "")}`;- return cet(t), /* @__PURE__ */ (0, x.jsx)(uet.Provider, {+ return uet(t), /* @__PURE__ */ (0, x.jsx)(det.Provider, {value: { config: t },children: /* @__PURE__ */ (0, x.jsxs)("div", {"data-slot": "chart",@@ -93325,11 +93338,11 @@ function r8({ id: e, config: t, initialDimension: n = {className: e8("min-h-0 w-full flex-1", "[&_.recharts-cartesian-axis-tick_text]:fill-muted-foreground [&_.recharts-cartesian-grid_line[stroke='#ccc']]:stroke-border/50 [&_.recharts-curve.recharts-tooltip-cursor]:stroke-border [&_.recharts-polar-grid_[stroke='#ccc']]:stroke-border [&_.recharts-radial-bar-background-sector]:fill-muted [&_.recharts-rectangle.recharts-tooltip-cursor]:fill-muted [&_.recharts-reference-line_[stroke='#ccc']]:stroke-border relative flex flex-col justify-center text-xs [&_.recharts-dot[stroke='#fff']]:stroke-transparent [&_.recharts-layer]:outline-hidden [&_.recharts-sector]:outline-hidden [&_.recharts-sector[stroke='#fff']]:stroke-transparent [&_.recharts-surface]:outline-hidden", !a && "aspect-video", r),...o,children: [- /* @__PURE__ */ (0, x.jsx)(fet, {+ /* @__PURE__ */ (0, x.jsx)(pet, {id: c,config: t}),- /* @__PURE__ */ (0, x.jsx)(PJ, {+ /* @__PURE__ */ (0, x.jsx)(FJ, {className: "min-h-0 w-full flex-1",initialDimension: n,children: i@@ -93348,7 +93361,7 @@ function i8({ isLoading: e }) {})}) : null;}-function det(e, t) {+function fet(e, t) {let n = e.length;if (n >= t) return e.slice(0, t);let r = [], i = Math.floor(t / n), a = t % n;@@ -93358,13 +93371,13 @@ function det(e, t) {}return r;}-var fet = ({ id: e, config: t }) => {+var pet = ({ id: e, config: t }) => {let n = Object.entries(t).filter(([, e]) => e.colors);if (!n.length) return null;let r = (e) => n.flatMap(([t, n]) => {let r = n.colors?.[e];- return !r || !Array.isArray(r) || r.length === 0 ? [] : det(r, o8(n)).map((e, n) => ` --color-${t}-${n}: ${e};`);- }).filter(Boolean).join("\n"), i = Object.entries(set).map(([t, n]) => `${n} [data-chart=${e}] {\n${r(t)}\n}`).join("\n");+ return !r || !Array.isArray(r) || r.length === 0 ? [] : fet(r, o8(n)).map((e, n) => ` --color-${t}-${n}: ${e};`);+ }).filter(Boolean).join("\n"), i = Object.entries(cet).map(([t, n]) => `${n} [data-chart=${e}] {\n${r(t)}\n}`).join("\n");return /* @__PURE__ */ (0, x.jsx)("style", { dangerouslySetInnerHTML: { __html: i } });};function a8(e, t, n) {@@ -93377,15 +93390,15 @@ function o8(e) {let t = t8.map((t) => e.colors?.[t]?.length ?? 0);return Math.max(...t, 1);}-var pet = (e = 10, t = 0, n = 70) => {+var met = (e = 10, t = 0, n = 70) => {let r = n - t;return Array.from({ length: e }, () => ({ loading: Math.floor(Math.random() * r) + t }));-}, met = {+}, het = {sm: "rounded-sm",md: "rounded-md",lg: "rounded-lg",xl: "rounded-xl"-}, het = {+}, get = {default: "bg-background","frosted-glass": "bg-background/70 backdrop-blur-sm"};@@ -93412,7 +93425,7 @@ function s8({ active: e, payload: t, className: n, indicator: r = "dot", hideLabif (!e || !t?.length) return /* @__PURE__ */ (0, x.jsx)("span", { className: "p-4" });let _ = t.length === 1 && r !== "dot";return /* @__PURE__ */ (0, x.jsxs)("div", {- className: e8("border-border/50 grid min-w-32 items-start gap-1.5 border px-2.5 py-1.5 text-xs shadow-xl", met[p], het[m], n),+ className: e8("border-border/50 grid min-w-32 items-start gap-1.5 border px-2.5 py-1.5 text-xs shadow-xl", het[p], get[m], n),children: [_ ? null : g, /* @__PURE__ */ (0, x.jsx)("div", {className: "grid gap-1.5",children: t.filter((e) => e.type !== "none").map((e, t) => {@@ -93426,7 +93439,7 @@ function s8({ active: e, payload: t, className: n, indicator: r = "dot", hideLab"w-0 border-[1.5px] border-dashed bg-transparent!": r === "dashed","my-0.5": _ && r === "dashed"}),- style: get(n, o)+ style: _et(n, o)}), /* @__PURE__ */ (0, x.jsxs)("div", {className: e8("flex flex-1 justify-between gap-4 leading-none", _ ? "items-end" : "items-center"),children: [/* @__PURE__ */ (0, x.jsxs)("div", {@@ -93445,10 +93458,10 @@ function s8({ active: e, payload: t, className: n, indicator: r = "dot", hideLab})]});}-function get(e, t) {+function _et(e, t) {return t <= 1 ? { background: `var(--color-${e}-0)` } : { background: `linear-gradient(to right, ${Array.from({ length: t }, (n, r) => `var(--color-${e}-${r}) ${r / (t - 1) * 100}%`).join(", ")})` };}-var c8 = ({ animationDuration: e = 200, ...t }) => /* @__PURE__ */ (0, x.jsx)(jXe, {+var c8 = ({ animationDuration: e = 200, ...t }) => /* @__PURE__ */ (0, x.jsx)(MXe, {animationDuration: e,...t});@@ -93465,7 +93478,7 @@ function l8({ className: e, hideIcon: t = !1, nameKey: n, payload: r, verticalAlonClick: () => {c && s?.(o === r ? null : r);},- children: [i?.icon && !t ? /* @__PURE__ */ (0, x.jsx)(i.icon, {}) : /* @__PURE__ */ (0, x.jsx)(_et, {+ children: [i?.icon && !t ? /* @__PURE__ */ (0, x.jsx)(i.icon, {}) : /* @__PURE__ */ (0, x.jsx)(vet, {variant: l,dataKey: r,colorsCount: d@@ -93474,8 +93487,8 @@ function l8({ className: e, hideIcon: t = !1, nameKey: n, payload: r, verticalAl})}) : null;}-function _et({ variant: e, dataKey: t, colorsCount: n }) {- let r = vet(t, n), i = yet(t, n);+function vet({ variant: e, dataKey: t, colorsCount: n }) {+ let r = yet(t, n), i = bet(t, n);switch (e) {case "square": return /* @__PURE__ */ (0, x.jsx)("div", {className: "h-2 w-2 shrink-0",@@ -93507,10 +93520,10 @@ function _et({ variant: e, dataKey: t, colorsCount: n }) {});}}-function vet(e, t) {+function yet(e, t) {return t <= 1 ? { backgroundColor: `var(--color-${e}-0)` } : { background: `linear-gradient(to right, ${Array.from({ length: t }, (n, r) => `var(--color-${e}-${r}) ${r / (t - 1) * 100}%`).join(", ")})` };}-function yet(e, t) {+function bet(e, t) {let n = {WebkitMask: "linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0)",WebkitMaskComposite: "xor",@@ -93525,12 +93538,12 @@ function yet(e, t) {...n};}-var u8 = iY, d8 = () => null, bet = {+var u8 = aY, d8 = () => null, xet = {stiffness: 300,damping: 35,mass: .8};-function xet({ range: e, totalPoints: t, containerRef: n, commit: r }) {+function Cet({ range: e, totalPoints: t, containerRef: n, commit: r }) {let i = b.useRef(null), [a, o] = b.useState(!1), s = (0, b.useCallback)((e) => !n.current || t <= 1 ? 0 : Math.round(e / n.current.getBoundingClientRect().width * (t - 1)), [t, n]), c = (0, b.useCallback)((t, n) => {t.preventDefault(), t.target.setPointerCapture(t.pointerId), i.current = {type: n,@@ -93576,7 +93589,7 @@ function xet({ range: e, totalPoints: t, containerRef: n, commit: r }) {])};}-function Cet({ data: e, chartConfig: t, dataKeys: n, xDataKey: r, variant: i = "area", height: a = 56, className: o, stacked: s = !1, strokeVariant: c = "solid", connectNulls: l = !1, barRadius: u, startIndex: d, endIndex: f, defaultStartIndex: p = 0, defaultEndIndex: m, onChange: h, formatLabel: g, curveType: _ = "monotone", minSpan: v = 2, showLabels: y = !0, skipStyle: S = !1 }) {+function wet({ data: e, chartConfig: t, dataKeys: n, xDataKey: r, variant: i = "area", height: a = 56, className: o, stacked: s = !1, strokeVariant: c = "solid", connectNulls: l = !1, barRadius: u, startIndex: d, endIndex: f, defaultStartIndex: p = 0, defaultEndIndex: m, onChange: h, formatLabel: g, curveType: _ = "monotone", minSpan: v = 2, showLabels: y = !0, skipStyle: S = !1 }) {let C = b.useRef(null), w = b.useMemo(() => n ?? Object.keys(t), [n, t]), T = e.length, E = b.useId().replace(/:/g, ""), D = d !== void 0 && f !== void 0, [O, k] = b.useState(() => ({startIndex: Math.max(0, Math.min(p, T - 1)),endIndex: Math.max(0, Math.min(m ?? T - 1, T - 1))@@ -93610,7 +93623,7 @@ function Cet({ data: e, chartConfig: t, dataKeys: n, xDataKey: r, variant: i = "startIndex: n,endIndex: r};- }, [T, v]), { isDragging: M, bind: N } = xet({+ }, [T, v]), { isDragging: M, bind: N } = Cet({range: O,totalPoints: T,containerRef: C,@@ -93637,7 +93650,7 @@ function Cet({ data: e, chartConfig: t, dataKeys: n, xDataKey: r, variant: i = "]);let ee = T > 1 ? P.startIndex / (T - 1) * 100 : 0, F = T > 1 ? P.endIndex / (T - 1) * 100 : 100, te = T_(ee), I = T_(F);te.get() !== ee && te.set(ee), I.get() !== F && I.set(F);- let ne = k_(te, bet), re = k_(I, bet), ie = D_(ne, (e) => `${e}%`), ae = D_(re, (e) => `${e}%`), oe = D_(ne, (e) => `${e}%`), se = D_(re, (e) => `${Math.max(0, 100 - e)}%`), ce = T_(`${Math.max(0, F - ee)}%`), le = (0, b.useCallback)(() => {+ let ne = k_(te, xet), re = k_(I, xet), ie = D_(ne, (e) => `${e}%`), ae = D_(re, (e) => `${e}%`), oe = D_(ne, (e) => `${e}%`), se = D_(re, (e) => `${Math.max(0, 100 - e)}%`), ce = T_(`${Math.max(0, F - ee)}%`), le = (0, b.useCallback)(() => {ce.set(`${Math.max(0, re.get() - ne.get())}%`);}, [ne,@@ -93660,13 +93673,13 @@ function Cet({ data: e, chartConfig: t, dataKeys: n, xDataKey: r, variant: i = "className: e8("group relative select-none", o),style: { height: a },children: [- !S && /* @__PURE__ */ (0, x.jsx)(fet, {+ !S && /* @__PURE__ */ (0, x.jsx)(pet, {id: E,config: t}),/* @__PURE__ */ (0, x.jsx)("div", {className: "absolute inset-0 overflow-hidden rounded-md",- children: /* @__PURE__ */ (0, x.jsx)(Tet, {+ children: /* @__PURE__ */ (0, x.jsx)(Eet, {data: e,keys: w,chartConfig: t,@@ -93695,13 +93708,13 @@ function Cet({ data: e, chartConfig: t, dataKeys: n, xDataKey: r, variant: i = "},...N("middle")}),- /* @__PURE__ */ (0, x.jsx)(wet, {+ /* @__PURE__ */ (0, x.jsx)(Tet, {side: "left",position: ie,label: y ? ue(P.startIndex) : void 0,bind: N("left")}),- /* @__PURE__ */ (0, x.jsx)(wet, {+ /* @__PURE__ */ (0, x.jsx)(Tet, {side: "right",position: ae,label: y ? ue(P.endIndex) : void 0,@@ -93710,7 +93723,7 @@ function Cet({ data: e, chartConfig: t, dataKeys: n, xDataKey: r, variant: i = "]});}-function wet({ side: e, position: t, label: n, bind: r }) {+function Tet({ side: e, position: t, label: n, bind: r }) {let i = e === "left";return /* @__PURE__ */ (0, x.jsxs)(R_.div, {className: "absolute inset-y-0 z-10",@@ -93735,7 +93748,7 @@ function wet({ side: e, position: t, label: n, bind: r }) {})]});}-function Tet({ data: e, keys: t, chartConfig: n, variant: r, curveType: i, chartId: a, stacked: o, strokeVariant: s = "solid", connectNulls: c = !1, barRadius: l }) {+function Eet({ data: e, keys: t, chartConfig: n, variant: r, curveType: i, chartId: a, stacked: o, strokeVariant: s = "solid", connectNulls: c = !1, barRadius: l }) {let u = b.useMemo(() => Object.entries(n).filter(([e]) => t.includes(e)).map(([e, t]) => ({dataKey: e,colorsCount: o8(t)@@ -93792,10 +93805,10 @@ function Tet({ data: e, keys: t, chartConfig: n, variant: r, curveType: i, chart})})] })] }, e);})] });- if (r === "line") return /* @__PURE__ */ (0, x.jsx)(PJ, {+ if (r === "line") return /* @__PURE__ */ (0, x.jsx)(FJ, {width: "100%",height: "100%",- children: /* @__PURE__ */ (0, x.jsxs)(A9e, {+ children: /* @__PURE__ */ (0, x.jsxs)(j9e, {data: e,margin: {top: 4,@@ -93803,7 +93816,7 @@ function Tet({ data: e, keys: t, chartConfig: n, variant: r, curveType: i, chartbottom: 0,left: 0},- children: [/* @__PURE__ */ (0, x.jsx)("defs", { children: f }), t.map((e) => /* @__PURE__ */ (0, x.jsx)(U6e, {+ children: [/* @__PURE__ */ (0, x.jsx)("defs", { children: f }), t.map((e) => /* @__PURE__ */ (0, x.jsx)(W6e, {type: i,dataKey: e,stroke: `url(#${a}-zm-${e})`,@@ -93819,10 +93832,10 @@ function Tet({ data: e, keys: t, chartConfig: n, variant: r, curveType: i, chart});if (r === "bar") {let n = l ?? 3;- return /* @__PURE__ */ (0, x.jsx)(PJ, {+ return /* @__PURE__ */ (0, x.jsx)(FJ, {width: "100%",height: "100%",- children: /* @__PURE__ */ (0, x.jsxs)(M9e, {+ children: /* @__PURE__ */ (0, x.jsxs)(N9e, {data: e,margin: {top: 2,@@ -93848,10 +93861,10 @@ function Tet({ data: e, keys: t, chartConfig: n, variant: r, curveType: i, chart})});}- return /* @__PURE__ */ (0, x.jsx)(PJ, {+ return /* @__PURE__ */ (0, x.jsx)(FJ, {width: "100%",height: "100%",- children: /* @__PURE__ */ (0, x.jsxs)(Q9e, {+ children: /* @__PURE__ */ (0, x.jsxs)($9e, {data: e,margin: {top: 4,@@ -93859,7 +93872,7 @@ function Tet({ data: e, keys: t, chartConfig: n, variant: r, curveType: i, chartbottom: 0,left: 0},- children: [/* @__PURE__ */ (0, x.jsx)("defs", { children: f }), t.map((e) => /* @__PURE__ */ (0, x.jsx)(k8e, {+ children: [/* @__PURE__ */ (0, x.jsx)("defs", { children: f }), t.map((e) => /* @__PURE__ */ (0, x.jsx)(A8e, {type: i,dataKey: e,stroke: `url(#${a}-zm-${e})`,@@ -93877,7 +93890,7 @@ function Tet({ data: e, keys: t, chartConfig: n, variant: r, curveType: i, chart})});}-function Eet({ data: e, defaultStartIndex: t = 0, defaultEndIndex: n }) {+function Det({ data: e, defaultStartIndex: t = 0, defaultEndIndex: n }) {let [r, i] = b.useState({startIndex: t,endIndex: n ?? Math.max(0, e.length - 1)@@ -93901,7 +93914,7 @@ function Eet({ data: e, defaultStartIndex: t = 0, defaultEndIndex: n }) {}};}-var Det = {+var Oet = {dots: ({ id: e }) => /* @__PURE__ */ (0, x.jsx)("pattern", {id: e,x: "0",@@ -94074,7 +94087,7 @@ var Det = {})};function f8({ variant: e }) {- let t = (0, b.useId)().replace(/:/g, ""), n = `${t}-bg-${e}`, r = `${t}-bg-edge-fade`, i = `${t}-bg-blur`, a = Det[e];+ let t = (0, b.useId)().replace(/:/g, ""), n = `${t}-bg-${e}`, r = `${t}-bg-edge-fade`, i = `${t}-bg-blur`, a = Oet[e];return /* @__PURE__ */ (0, x.jsxs)(a4, {zIndex: -1,children: [/* @__PURE__ */ (0, x.jsxs)("defs", { children: [@@ -94105,19 +94118,19 @@ function f8({ variant: e }) {}//#endregion//#region src/react/evilcharts/registry/charts/recharts-bar-chart.tsx-var Oet = 2, ket = "loading", Aet = 2e3, jet = "evil-stacked", Met = .5, Net = .05, Pet = [+var ket = 2, Aet = "loading", jet = 2e3, Met = "evil-stacked", Net = .5, Pet = .05, Fet = [0,.7,.5,1-], Fet = (0, b.createContext)(null);+], Iet = (0, b.createContext)(null);function p8() {- let e = (0, b.use)(Fet);+ let e = (0, b.use)(Iet);if (!e) throw Error("Bar chart parts (<Bar />, <XAxis />, …) must be used within <EvilBarChart />");return e;}-function m8({ config: e, data: t, children: n, className: r, chartProps: i, stackType: a = "default", layout: o = "vertical", barRadius: s = Oet, animationType: c = "left-to-right", barGap: l, barCategoryGap: u, backgroundVariant: d, defaultSelectedDataKey: f = null, onSelectionChange: p, isLoading: m = !1, loadingBars: h, xDataKey: g }) {- let _ = (0, b.useId)().replace(/:/g, ""), [v] = (0, b.useState)(() => Date.now()), [y, S] = (0, b.useState)(f), [C, w] = (0, b.useState)(!1), { loadingData: T, onShimmerExit: E } = ttt(m, h), { visibleData: D, brushProps: O } = Eet({ data: t }), k = (0, b.useMemo)(() => {+function m8({ config: e, data: t, children: n, className: r, chartProps: i, stackType: a = "default", layout: o = "vertical", barRadius: s = ket, animationType: c = "left-to-right", barGap: l, barCategoryGap: u, backgroundVariant: d, defaultSelectedDataKey: f = null, onSelectionChange: p, isLoading: m = !1, loadingBars: h, xDataKey: g }) {+ let _ = (0, b.useId)().replace(/:/g, ""), [v] = (0, b.useState)(() => Date.now()), [y, S] = (0, b.useState)(f), [C, w] = (0, b.useState)(!1), { loadingData: T, onShimmerExit: E } = ntt(m, h), { visibleData: D, brushProps: O } = Det({ data: t }), k = (0, b.useMemo)(() => {let e = b.Children.toArray(n), t = e.find((e) => (0, b.isValidElement)(e) && e.type === d8), r = (0, b.isValidElement)(t) ? t.props : {};return {slot: {@@ -94155,12 +94168,12 @@ function m8({ config: e, data: t, children: n, className: r, chartProps: i, stacP,C]);- return /* @__PURE__ */ (0, x.jsx)(Fet, {+ return /* @__PURE__ */ (0, x.jsx)(Iet, {value: ee,children: /* @__PURE__ */ (0, x.jsxs)(r8, {className: r,config: e,- footer: A && !m && /* @__PURE__ */ (0, x.jsx)(Cet, {+ footer: A && !m && /* @__PURE__ */ (0, x.jsx)(wet, {data: t,chartConfig: e,xDataKey: g,@@ -94176,7 +94189,7 @@ function m8({ config: e, data: t, children: n, className: r, chartProps: i, stacO.onChange(e), k.slot.onChange?.(e);}}),- children: [/* @__PURE__ */ (0, x.jsx)(i8, { isLoading: m }), /* @__PURE__ */ (0, x.jsxs)(M9e, {+ children: [/* @__PURE__ */ (0, x.jsx)(i8, { isLoading: m }), /* @__PURE__ */ (0, x.jsxs)(N9e, {id: _,accessibilityLayer: !0,layout: M ? "vertical" : "horizontal",@@ -94189,9 +94202,9 @@ function m8({ config: e, data: t, children: n, className: r, chartProps: i, stac...i,children: [d && /* @__PURE__ */ (0, x.jsx)(f8, { variant: d }),- /* @__PURE__ */ (0, x.jsx)(I4e, { color: "white" }),+ /* @__PURE__ */ (0, x.jsx)(L4e, { color: "white" }),k.chartChildren,- m && /* @__PURE__ */ (0, x.jsx)(ntt, {+ m && /* @__PURE__ */ (0, x.jsx)(rtt, {chartId: _,onShimmerExit: E})@@ -94200,7 +94213,7 @@ function m8({ config: e, data: t, children: n, className: r, chartProps: i, stac})});}-function Iet({ dataKey: e, variant: t = "default", radius: n, animationType: r, isClickable: i = !1, enableHoverHighlight: a = !1, glowing: o = !1, bufferBar: s = !1, barProps: c }) {+function Let({ dataKey: e, variant: t = "default", radius: n, animationType: r, isClickable: i = !1, enableHoverHighlight: a = !1, glowing: o = !1, bufferBar: s = !1, barProps: c }) {let { config: l, isStacked: u, isHorizontal: d, isLoading: f, barRadius: p, animationType: m, introStartedAt: h, dataLength: g, selectedDataKey: _, selectDataKey: v, isMouseInChart: y } = p8(), S = (0, b.useId)().replace(/:/g, ""), C = A_();if (f) return null;let w = n ?? p, T = _ === e, E = C ? "none" : r ?? m, D = {@@ -94223,63 +94236,63 @@ function Iet({ dataKey: e, variant: t = "default", radius: n, animationType: r,};return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(C6, {dataKey: e,- stackId: u ? jet : void 0,+ stackId: u ? Met : void 0,fill: `url(#${S}-colors-${e})`,radius: w,isAnimationActive: !1,style: i || a ? { cursor: "pointer" } : void 0,- shape: (e) => /* @__PURE__ */ (0, x.jsx)(Het, {+ shape: (e) => /* @__PURE__ */ (0, x.jsx)(Uet, {...e,...D,animationType: E}),- activeBar: (e) => /* @__PURE__ */ (0, x.jsx)(Het, {+ activeBar: (e) => /* @__PURE__ */ (0, x.jsx)(Uet, {...e,...D,animationType: "none"}),...c}), /* @__PURE__ */ (0, x.jsxs)("defs", { children: [- /* @__PURE__ */ (0, x.jsx)(Ket, {+ /* @__PURE__ */ (0, x.jsx)(qet, {id: S,dataKey: e,config: l}),- t === "hatched" && /* @__PURE__ */ (0, x.jsx)(qet, {+ t === "hatched" && /* @__PURE__ */ (0, x.jsx)(Jet, {id: S,dataKey: e}),- t === "duotone" && /* @__PURE__ */ (0, x.jsx)(Yet, {+ t === "duotone" && /* @__PURE__ */ (0, x.jsx)(Xet, {id: S,dataKey: e,config: l}),- t === "duotone-reverse" && /* @__PURE__ */ (0, x.jsx)(Xet, {+ t === "duotone-reverse" && /* @__PURE__ */ (0, x.jsx)(Zet, {id: S,dataKey: e,config: l}),- t === "gradient" && /* @__PURE__ */ (0, x.jsx)(Zet, {+ t === "gradient" && /* @__PURE__ */ (0, x.jsx)(Qet, {id: S,dataKey: e}),- t === "stripped" && /* @__PURE__ */ (0, x.jsx)(Qet, {+ t === "stripped" && /* @__PURE__ */ (0, x.jsx)($et, {id: S,dataKey: e}),- s && /* @__PURE__ */ (0, x.jsx)(Jet, {+ s && /* @__PURE__ */ (0, x.jsx)(Yet, {id: S,dataKey: e}),- o && /* @__PURE__ */ (0, x.jsx)($et, {+ o && /* @__PURE__ */ (0, x.jsx)(ett, {id: S,dataKey: e})] })] });}-function Let({ tickLine: e = !1, axisLine: t = !1, tickMargin: n = 8, minTickGap: r = 8, type: i, ...a }) {+function Ret({ tickLine: e = !1, axisLine: t = !1, tickMargin: n = 8, minTickGap: r = 8, type: i, ...a }) {let { isLoading: o, isHorizontal: s } = p8();- return o ? null : /* @__PURE__ */ (0, x.jsx)(Y5e, {+ return o ? null : /* @__PURE__ */ (0, x.jsx)(X5e, {tickLine: e,axisLine: t,tickMargin: n,@@ -94288,9 +94301,9 @@ function Let({ tickLine: e = !1, axisLine: t = !1, tickMargin: n = 8, minTickGap...a});}-function Ret({ tickLine: e = !1, axisLine: t = !1, tickMargin: n = 8, minTickGap: r = 8, width: i = "auto", type: a, ...o }) {+function zet({ tickLine: e = !1, axisLine: t = !1, tickMargin: n = 8, minTickGap: r = 8, width: i = "auto", type: a, ...o }) {let { isLoading: s, isHorizontal: c } = p8();- return s ? null : /* @__PURE__ */ (0, x.jsx)(c7e, {+ return s ? null : /* @__PURE__ */ (0, x.jsx)(l7e, {tickLine: e,axisLine: t,tickMargin: n,@@ -94300,16 +94313,16 @@ function Ret({ tickLine: e = !1, axisLine: t = !1, tickMargin: n = 8, minTickGap...o});}-function zet({ strokeDasharray: e = "3 3", vertical: t, horizontal: n, ...r }) {+function Bet({ strokeDasharray: e = "3 3", vertical: t, horizontal: n, ...r }) {let { isHorizontal: i } = p8();- return /* @__PURE__ */ (0, x.jsx)(q3e, {+ return /* @__PURE__ */ (0, x.jsx)(J3e, {strokeDasharray: e,vertical: t ?? i,horizontal: n ?? !i,...r});}-function Bet({ variant: e, roundness: t, defaultIndex: n }) {+function Vet({ variant: e, roundness: t, defaultIndex: n }) {let { isLoading: r, selectedDataKey: i } = p8();return r ? null : /* @__PURE__ */ (0, x.jsx)(c8, {cursor: !1,@@ -94321,7 +94334,7 @@ function Bet({ variant: e, roundness: t, defaultIndex: n }) {})});}-function Vet({ variant: e, align: t = "right", verticalAlign: n = "top", isClickable: r = !1 }) {+function Het({ variant: e, align: t = "right", verticalAlign: n = "top", isClickable: r = !1 }) {let { selectedDataKey: i, selectDataKey: a } = p8();return /* @__PURE__ */ (0, x.jsx)(u8, {verticalAlign: n,@@ -94334,8 +94347,8 @@ function Vet({ variant: e, align: t = "right", verticalAlign: n = "top", isClick})});}-var Het = (e) => {- let { x: t = 0, y: n = 0, width: r = 0, height: i = 0, id: a, dataKey: o, variant: s, barRadius: c, glowing: l, bufferBar: u, isClickable: d, enableHoverHighlight: f, isMouseInChart: p, isHorizontal: m = !1, animationType: h = "none", introStartedAt: g = 0, selectedDataKey: _, isActive: v, dataLength: y = 0, onClick: b } = e, S = typeof e.index == "number" ? e.index : -1, C = u && y > 0 && S === y - 1, w = s === "stripped", T = Uet(h, S, y, m, g), E = C ? `url(#${a}-buffer-hatched-${o})` : Wet(s, a, o), D = l ? `url(#${a}-bar-glow-${o})` : void 0, O = Get({+var Uet = (e) => {+ let { x: t = 0, y: n = 0, width: r = 0, height: i = 0, id: a, dataKey: o, variant: s, barRadius: c, glowing: l, bufferBar: u, isClickable: d, enableHoverHighlight: f, isMouseInChart: p, isHorizontal: m = !1, animationType: h = "none", introStartedAt: g = 0, selectedDataKey: _, isActive: v, dataLength: y = 0, onClick: b } = e, S = typeof e.index == "number" ? e.index : -1, C = u && y > 0 && S === y - 1, w = s === "stripped", T = Wet(h, S, y, m, g), E = C ? `url(#${a}-buffer-hatched-${o})` : Get(s, a, o), D = l ? `url(#${a}-bar-glow-${o})` : void 0, O = Ket({isClickable: d,selectedDataKey: _,dataKey: o,@@ -94347,7 +94360,7 @@ var Het = (e) => {c,0,0- ] : c, j = /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)($Y, {+ ] : c, j = /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(eX, {x: t,y: n,width: r,@@ -94358,7 +94371,7 @@ var Het = (e) => {filter: D,stroke: C ? `url(#${a}-colors-${o})` : void 0,strokeWidth: C ? 1 : void 0- }), w && /* @__PURE__ */ (0, x.jsx)($Y, {+ }), w && /* @__PURE__ */ (0, x.jsx)(eX, {x: t,y: n - 4,width: r,@@ -94369,7 +94382,7 @@ var Het = (e) => {return /* @__PURE__ */ (0, x.jsxs)("g", {style: k,onClick: b,- children: [/* @__PURE__ */ (0, x.jsx)($Y, {+ children: [/* @__PURE__ */ (0, x.jsx)(eX, {...e,fill: "transparent"}), T ? /* @__PURE__ */ (0, x.jsx)(R_.g, {@@ -94380,7 +94393,7 @@ var Het = (e) => {children: j}) : j]});-}, Uet = (e, t, n, r, i) => {+}, Wet = (e, t, n, r, i) => {if (e === "none" || t < 0 || n <= 0) return null;let a = n - 1, o = a / 2, s;switch (e) {@@ -94395,11 +94408,11 @@ var Het = (e) => {break;default: s = t;}- let c = s * Net * 1e3, l = Met * 1e3, u = c + l, d = Date.now() - i;+ let c = s * Pet * 1e3, l = Net * 1e3, u = c + l, d = Date.now() - i;if (d >= u) return null;let f = d <= c ? 0 : (d - c) / l, p = {duration: (u - Math.max(d, c)) / 1e3,- ease: Pet,+ ease: Fet,delay: Math.max(0, c - d) / 1e3};return r ? {@@ -94413,7 +94426,7 @@ var Het = (e) => {transition: p,style: { originY: 1 }};-}, Wet = (e, t, n) => {+}, Get = (e, t, n) => {switch (e) {case "hatched": return `url(#${t}-hatched-${n})`;case "duotone": return `url(#${t}-duotone-${n})`;@@ -94422,10 +94435,10 @@ var Het = (e) => {case "stripped": return `url(#${t}-stripped-${n})`;default: return `url(#${t}-colors-${n})`;}-}, Get = ({ isClickable: e, selectedDataKey: t, dataKey: n, enableHoverHighlight: r, isMouseInChart: i, isActive: a }) => {+}, Ket = ({ isClickable: e, selectedDataKey: t, dataKey: n, enableHoverHighlight: r, isMouseInChart: i, isActive: a }) => {let o = e && t !== null ? t === null || t === n ? 1 : .15 : 1;return r && i ? a ? o : o * .3 : o;-}, Ket = ({ id: e, dataKey: t, config: n }) => {+}, qet = ({ id: e, dataKey: t, config: n }) => {let r = o8(n[t] ?? {});return /* @__PURE__ */ (0, x.jsx)("linearGradient", {id: `${e}-colors-${t}`,@@ -94447,7 +94460,7 @@ var Het = (e) => {}, i);})});-}, qet = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [+}, Jet = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsxs)("pattern", {id: `${e}-hatched-mask-pattern`,x: "0",@@ -94488,7 +94501,7 @@ var Het = (e) => {mask: `url(#${e}-hatched-mask-${t})`})})-] }), Jet = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [+] }), Yet = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsxs)("pattern", {id: `${e}-buffer-hatched-mask-pattern`,x: "0",@@ -94529,7 +94542,7 @@ var Het = (e) => {mask: `url(#${e}-buffer-hatched-mask-${t})`})})-] }), Yet = ({ id: e, dataKey: t, config: n }) => {+] }), Xet = ({ id: e, dataKey: t, config: n }) => {let r = o8(n[t] ?? {});return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsxs)("linearGradient", {@@ -94597,7 +94610,7 @@ var Het = (e) => {})})] });-}, Xet = ({ id: e, dataKey: t, config: n }) => {+}, Zet = ({ id: e, dataKey: t, config: n }) => {let r = o8(n[t] ?? {});return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsxs)("linearGradient", {@@ -94665,7 +94678,7 @@ var Het = (e) => {})})] });-}, Zet = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [+}, Qet = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsxs)("linearGradient", {id: `${e}-gradient-mask-gradient`,x1: "0",@@ -94702,7 +94715,7 @@ var Het = (e) => {mask: `url(#${e}-gradient-mask-${t})`})})-] }), Qet = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [+] }), $et = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsxs)("linearGradient", {id: `${e}-stripped-mask-gradient`,x1: "0",@@ -94739,7 +94752,7 @@ var Het = (e) => {mask: `url(#${e}-stripped-mask-${t})`})})-] }), $et = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, x.jsxs)("filter", {+] }), ett = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, x.jsxs)("filter", {id: `${e}-bar-glow-${t}`,x: "-100%",y: "-100%",@@ -94759,35 +94772,35 @@ var Het = (e) => {}),/* @__PURE__ */ (0, x.jsxs)("feMerge", { children: [/* @__PURE__ */ (0, x.jsx)("feMergeNode", { in: "glow" }), /* @__PURE__ */ (0, x.jsx)("feMergeNode", { in: "SourceGraphic" })] })]-}), ett = (e = 17, t = .05, n = .9) => Array.from({ length: e }, (r, i) => {+}), ttt = (e = 17, t = .05, n = .9) => Array.from({ length: e }, (r, i) => {let a = i / (e - 1), o = t + Math.sin(a * Math.PI) ** 2 * (n - t);return {offset: `${(a * 100).toFixed(0)}%`,opacity: Number(o.toFixed(3))};});-function ttt(e, t = 12) {+function ntt(e, t = 12) {let [n, r] = (0, b.useState)(!1), i = (0, b.useCallback)(() => {e && r((e) => !e);}, [e]);return {- loadingData: (0, b.useMemo)(() => pet(t, 20, 80), [t, n]),+ loadingData: (0, b.useMemo)(() => met(t, 20, 80), [t, n]),onShimmerExit: i};}-var ntt = ({ chartId: e, onShimmerExit: t }) => /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(C6, {- dataKey: ket,+var rtt = ({ chartId: e, onShimmerExit: t }) => /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(C6, {+ dataKey: Aet,fill: "currentColor",fillOpacity: .15,- radius: Oet,+ radius: ket,isAnimationActive: !1,legendType: "none",style: { mask: `url(#${e}-loading-mask)` }-}), /* @__PURE__ */ (0, x.jsx)("defs", { children: /* @__PURE__ */ (0, x.jsx)(rtt, {+}), /* @__PURE__ */ (0, x.jsx)("defs", { children: /* @__PURE__ */ (0, x.jsx)(itt, {chartId: e,onShimmerExit: t-}) })] }), rtt = ({ chartId: e, onShimmerExit: t }) => {- let n = ett(), r = (0, b.useRef)(-1);+}) })] }), itt = ({ chartId: e, onShimmerExit: t }) => {+ let n = ttt(), r = (0, b.useRef)(-1);return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)("linearGradient", {id: `${e}-loading-mask-gradient`,@@ -94818,7 +94831,7 @@ var ntt = ({ chartId: e, onShimmerExit: t }) => /* @__PURE__ */ (0, x.jsxs)(x.Frinitial: { x: -1 },animate: { x: 2 },transition: {- duration: Aet / 1e3,+ duration: jet / 1e3,ease: "linear",repeat: Infinity,repeatType: "loop"@@ -94840,10 +94853,10 @@ var ntt = ({ chartId: e, onShimmerExit: t }) => /* @__PURE__ */ (0, x.jsxs)(x.Fr})] });};-m8.Bar = Iet, m8.XAxis = Let, m8.YAxis = Ret, m8.Grid = zet, m8.Tooltip = Bet, m8.Legend = Vet, m8.Brush = d8;+m8.Bar = Let, m8.XAxis = Ret, m8.YAxis = zet, m8.Grid = Bet, m8.Tooltip = Vet, m8.Legend = Het, m8.Brush = d8;//#endregion//#region src/react/charts/chart-card.tsx-var h8 = `${Ek({ radius: "chart" })} flex flex-col gap-4 max-sm:p-4`;+var h8 = `${Dk({ radius: "chart" })} flex flex-col gap-4 max-sm:p-4`;function g8({ title: e, children: t }) {return /* @__PURE__ */ (0, x.jsxs)("section", {className: h8,@@ -94857,8 +94870,8 @@ function g8({ title: e, children: t }) {})]});}-var itt = (e) => (e.codePointAt(0) ?? 0) > 11903 ? 13 : 7, att = (e) => [...new Intl.Segmenter(void 0, { granularity: "grapheme" }).segment(e)].map((e) => e.segment), _8;-function ott(e) {+var att = (e) => (e.codePointAt(0) ?? 0) > 11903 ? 13 : 7, ott = (e) => [...new Intl.Segmenter(void 0, { granularity: "grapheme" }).segment(e)].map((e) => e.segment), _8;+function stt(e) {if (_8 === void 0) try {_8 = document.createElement("canvas").getContext("2d"), _8 && (_8.font = `12px ${getComputedStyle(document.body).fontFamily || "sans-serif"}`);} catch {@@ -94866,19 +94879,19 @@ function ott(e) {}return _8 ? _8.measureText(e).width : null;}-var v8 = (e) => ott(e) ?? att(e).reduce((e, t) => e + itt(t), 0);-function stt(e, t) {+var v8 = (e) => stt(e) ?? ott(e).reduce((e, t) => e + att(t), 0);+function ctt(e, t) {if (v8(e) <= t) return e;- let n = att(e), r = 0;+ let n = ott(e), r = 0;for (; r < n.length && v8(`${n.slice(0, r + 1).join("")}…`) <= t;) r += 1;return `${n.slice(0, r).join("")}…`;}-var ctt = (e, t = 104) => Math.min(t, Math.max(24, ...e.map(v8)) + 12);+var ltt = (e, t = 104) => Math.min(t, Math.max(24, ...e.map(v8)) + 12);function y8(e) {let { along: t, payload: n, width: r = 0, visibleTicksCount: i = 1, ...a } = e, o = String(n?.value ?? ""), s = t === "x" ? r / Math.max(1, i) - 2 : r - 8;return /* @__PURE__ */ (0, x.jsxs)("g", { children: [/* @__PURE__ */ (0, x.jsx)("title", { children: o }), /* @__PURE__ */ (0, x.jsx)(b4, {...a,- children: stt(o, s)+ children: ctt(o, s)})] });}function b8({ title: e, figure: t, note: n }) {@@ -94907,7 +94920,7 @@ var x8 = ["var(--color-chart-5)","var(--color-chart-6)"], S8 = (e) => ({ light: [e] }), C8 = (e) => `s${e}`;-function ltt(e) {+function utt(e) {return Object.fromEntries(e.map((e, t) => [C8(t), {label: e,colors: S8(x8[t % x8.length])@@ -94915,8 +94928,8 @@ function ltt(e) {}//#endregion//#region src/react/charts/chart-tip.tsx-var utt = "flex min-w-32 flex-col gap-1.5 rounded-lg border border-border/50 bg-background px-2.5 py-1.5 text-xs shadow-xl";-function dtt({ swatch: e, name: t, value: n }) {+var dtt = "flex min-w-32 flex-col gap-1.5 rounded-lg border border-border/50 bg-background px-2.5 py-1.5 text-xs shadow-xl";+function ftt({ swatch: e, name: t, value: n }) {return /* @__PURE__ */ (0, x.jsxs)("div", {className: "flex w-full items-center gap-2",children: [e, /* @__PURE__ */ (0, x.jsxs)("div", {@@ -94931,23 +94944,23 @@ function dtt({ swatch: e, name: t, value: n }) {})]});}-var ftt = "size-2.5 shrink-0 rounded-xs";-function ptt({ active: e, payload: t, label: n, nameKey: r, valueKey: i, hideLabel: a }) {+var ptt = "size-2.5 shrink-0 rounded-xs";+function mtt({ active: e, payload: t, label: n, nameKey: r, valueKey: i, hideLabel: a }) {let { config: o } = n8(), s = (t ?? []).filter((e) => e.type !== "none");if (!e || !s.length) return /* @__PURE__ */ (0, x.jsx)("span", { className: "p-4" });let c = a || typeof n != "string" ? null : o[n]?.label ?? n;return /* @__PURE__ */ (0, x.jsxs)("div", {- className: utt,+ className: dtt,children: [c ? /* @__PURE__ */ (0, x.jsx)("div", {className: "font-medium text-foreground",children: c}) : null, s.map((e, t) => {let n = e.payload ?? {}, a = `${(r ? n[r] : void 0) ?? e.name ?? e.dataKey ?? "value"}`, s = a8(o, e, a), c = i ? n[i] : e.value;- return /* @__PURE__ */ (0, x.jsx)(dtt, {+ return /* @__PURE__ */ (0, x.jsx)(ftt, {name: s?.label ?? e.name,value: Number(c ?? 0),swatch: /* @__PURE__ */ (0, x.jsx)("i", {- className: ftt,+ className: ptt,style: { background: `var(--color-${a}-0)` }})}, a + t);@@ -94957,7 +94970,7 @@ function ptt({ active: e, payload: t, label: n, nameKey: r, valueKey: i, hideLabfunction w8({ nameKey: e, valueKey: t, hideLabel: n }) {return /* @__PURE__ */ (0, x.jsx)(c8, {cursor: !1,- content: /* @__PURE__ */ (0, x.jsx)(ptt, {+ content: /* @__PURE__ */ (0, x.jsx)(mtt, {nameKey: e,valueKey: t,hideLabel: n@@ -94967,17 +94980,17 @@ function w8({ nameKey: e, valueKey: t, hideLabel: n }) {//#endregion//#region src/react/charts/bar-card.tsxvar T8 = [0, (e) => e * 1.2];-function mtt(e) {+function htt(e) {let t = Math.abs(e), n = (t, n) => {let r = e / t;return `${r.toLocaleString(void 0, { maximumFractionDigits: +(Math.abs(r) < 100) })}${n}`;};return t >= 1e8 ? n(1e8, "亿") : t >= 1e5 ? n(1e4, "万") : e.toLocaleString();}-var htt = (e) => ({+var gtt = (e) => ({position: e,className: "fill-text-secondary",- formatter: (e) => mtt(Number(e))+ formatter: (e) => htt(Number(e))});function E8({ title: e, unit: t, series: n, rows: r, color: i, empty: a, layout: o = "vertical" }) {let s = r.filter((e) => Number.isFinite(e.value) && e.value >= 0).map((e) => ({@@ -95017,7 +95030,7 @@ function E8({ title: e, unit: t, series: n, rows: r, color: i, empty: a, layout:dataKey: "name",interval: 0,tick: /* @__PURE__ */ (0, x.jsx)(y8, { along: "y" }),- width: ctt(s.map((e) => e.name))+ width: ltt(s.map((e) => e.name))}) : /* @__PURE__ */ (0, x.jsx)(m8.XAxis, {dataKey: "name",interval: 0,@@ -95035,7 +95048,7 @@ function E8({ title: e, unit: t, series: n, rows: r, color: i, empty: a, layout:enableHoverHighlight: !0,barProps: {dataKey: "value",- label: htt(l ? "right" : "top")+ label: gtt(l ? "right" : "top")}}),/* @__PURE__ */ (0, x.jsx)(w8, {})@@ -95045,7 +95058,7 @@ function E8({ title: e, unit: t, series: n, rows: r, color: i, empty: a, layout:}//#endregion//#region src/react/charts/heat.ts-var gtt = [+var _tt = ["周一","周二","周三",@@ -95053,8 +95066,8 @@ var gtt = ["周五","周六","周日"-], _tt = (e, t) => e ? Math.max(.12, e / t) : 0;-function vtt(e) {+], vtt = (e, t) => e ? Math.max(.12, e / t) : 0;+function ytt(e) {let t = Array.from({ length: 7 }, () => Array(24).fill(0));for (let n of e?.hours || []) {let { weekday: e, hour: r, count: i } = n;@@ -95064,14 +95077,14 @@ function vtt(e) {return {cells: t.flatMap((e, t) => e.map((e, n) => ({key: `${t}-${n}`,- label: `${gtt[t]} ${n}:00`,+ label: `${_tt[t]} ${n}:00`,count: e,- share: _tt(e, r)+ share: vtt(e, r)}))),total: n.reduce((e, t) => e + t, 0)};}-function ytt(e) {+function btt(e) {let t = (e?.days || []).filter((e) => /^\d{4}-\d{2}-\d{2}$/.test(e.date) && Number.isFinite(e.count) && e.count >= 0).slice().sort((e, t) => e.date.localeCompare(t.date)), n = {cells: [],total: 0,@@ -95089,7 +95102,7 @@ function ytt(e) {key: r,label: r,count: s,- share: _tt(s, o)+ share: vtt(s, o)};});return {@@ -95101,7 +95114,7 @@ function ytt(e) {}//#endregion//#region src/react/charts/heat-card.tsx-var D8 = 14, O8 = 17, btt = {+var D8 = 14, O8 = 17, xtt = {4: {fill: "fill-chart-4",dot: "bg-chart-4"@@ -95110,30 +95123,30 @@ var D8 = 14, O8 = 17, btt = {fill: "fill-chart-5",dot: "bg-chart-5"}-}, xtt = {+}, Stt = {start: "translate-x-0",center: "-translate-x-1/2",end: "-translate-x-full"};-function Stt({ cell: e, series: t, tone: n, left: r, top: i, anchor: a }) {+function Ctt({ cell: e, series: t, tone: n, left: r, top: i, anchor: a }) {return /* @__PURE__ */ (0, x.jsxs)("div", {"aria-hidden": !0,style: {left: `${r}%`,top: `${i}%`},- className: `pointer-events-none absolute z-10 -mt-2 -translate-y-full ${utt} ${xtt[a]}`,+ className: `pointer-events-none absolute z-10 -mt-2 -translate-y-full ${dtt} ${Stt[a]}`,children: [/* @__PURE__ */ (0, x.jsx)("div", {className: "font-medium text-foreground",children: e.label- }), /* @__PURE__ */ (0, x.jsx)(dtt, {+ }), /* @__PURE__ */ (0, x.jsx)(ftt, {name: t,value: e.count,- swatch: /* @__PURE__ */ (0, x.jsx)("i", { className: `${ftt} ${btt[n].dot}` })+ swatch: /* @__PURE__ */ (0, x.jsx)("i", { className: `${ptt} ${xtt[n].dot}` })})]});}-function Ctt({ title: e, words: t, cells: n, total: r, columns: i, rows: a, axis: o, footer: s, tone: c }) {+function wtt({ title: e, words: t, cells: n, total: r, columns: i, rows: a, axis: o, footer: s, tone: c }) {let [l, u] = (0, b.useState)(-1), d = o ? 30 : 0, f = o ? 18 : 0, p = d + i * O8, m = f + a * O8, h = (e) => ({x: d + e % i * O8,y: f + Math.floor(e / i) * O8@@ -95173,14 +95186,14 @@ function Ctt({ title: e, words: t, cells: n, total: r, columns: i, rows: a, axisrx: 3,fillOpacity: e.share || 1,opacity: l >= 0 && l !== n ? .4 : 1,- className: e.share ? `outline-none transition-opacity duration-200 focus-visible:stroke-border-focus-ring ${btt[c].fill}` : "fill-chart-track outline-none transition-opacity duration-200 focus-visible:stroke-border-focus-ring",+ className: e.share ? `outline-none transition-opacity duration-200 focus-visible:stroke-border-focus-ring ${xtt[c].fill}` : "fill-chart-track outline-none transition-opacity duration-200 focus-visible:stroke-border-focus-ring",onPointerEnter: () => u(n),onFocus: () => u(n),onBlur: () => u(-1)}, e.key);})]})- }), g && _ ? /* @__PURE__ */ (0, x.jsx)(Stt, {+ }), g && _ ? /* @__PURE__ */ (0, x.jsx)(Ctt, {cell: g,series: t.series,tone: c,@@ -95196,7 +95209,7 @@ function Ctt({ title: e, words: t, cells: n, total: r, columns: i, rows: a, axis]});}-var wtt = /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [gtt.map((e, t) => /* @__PURE__ */ (0, x.jsx)("text", {+var Ttt = /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [_tt.map((e, t) => /* @__PURE__ */ (0, x.jsx)("text", {x: 0,y: 18 + t * O8 + 7,dominantBaseline: "middle",@@ -95209,11 +95222,11 @@ var wtt = /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [gtt.map((e, t) =>className: "fill-text-secondary text-caption-1-regular",children: t}, t))] });-function Ttt({ activity: e, title: t, dailyTitle: n, words: r, tone: i, empty: a }) {- let o = vtt(e), s = ytt(e);+function Ett({ activity: e, title: t, dailyTitle: n, words: r, tone: i, empty: a }) {+ let o = ytt(e), s = btt(e);return s.cells.length ? /* @__PURE__ */ (0, x.jsxs)("div", {className: "inline-grid w-full items-start gap-5 lg:grid-cols-2",- children: [/* @__PURE__ */ (0, x.jsx)(Ctt, {+ children: [/* @__PURE__ */ (0, x.jsx)(wtt, {title: t,words: r,tone: i,@@ -95221,9 +95234,9 @@ function Ttt({ activity: e, title: t, dailyTitle: n, words: r, tone: i, empty: atotal: o.total,columns: 24,rows: 7,- axis: wtt,+ axis: Ttt,footer: /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)("span", { children: "星期 × 小时" }), /* @__PURE__ */ (0, x.jsx)("span", { children: e?.timezone || "UTC+08:00" })] })- }), /* @__PURE__ */ (0, x.jsx)(Ctt, {+ }), /* @__PURE__ */ (0, x.jsx)(wtt, {title: n,words: r,tone: i,@@ -95240,7 +95253,7 @@ function Ttt({ activity: e, title: t, dailyTitle: n, words: r, tone: i, empty: a}//#endregion//#region src/react/components/expandable-ranking.tsx-function Ett({ children: e, className: t = "", previewCount: n = 10 }) {+function Dtt({ children: e, className: t = "", previewCount: n = 10 }) {let r = (0, b.useId)(), i = (0, b.useRef)(null), [a, o] = (0, b.useState)(!1), [s, c] = (0, b.useState)(!1), l = b.Children.toArray(e), u = l.length > n;(0, b.useLayoutEffect)(() => {let e = i.current;@@ -95281,20 +95294,20 @@ function Ett({ children: e, className: t = "", previewCount: n = 10 }) {onClick: () => {c(!0), o((e) => !e);},- children: /* @__PURE__ */ (0, x.jsx)(zO, { "aria-hidden": !0 })+ children: /* @__PURE__ */ (0, x.jsx)(BO, { "aria-hidden": !0 })}) : null]});}//#endregion//#region src/react/evilcharts/registry/charts/recharts-radial-chart.tsx-var Dtt = "30%", Ott = "100%", ktt = 5, Att = 14, jtt = 5, Mtt = 1500, Ntt = (0, b.createContext)(null);+var Ott = "30%", ktt = "100%", Att = 5, jtt = 14, Mtt = 5, Ntt = 1500, Ptt = (0, b.createContext)(null);function k8() {- let e = (0, b.use)(Ntt);+ let e = (0, b.use)(Ptt);if (!e) throw Error("Radial chart parts (<RadialBar />, <Tooltip />, …) must be used within <EvilRadialChart />");return e;}-function A8({ config: e, data: t, nameKey: n, children: r, className: i, chartProps: a, variant: o = "full", max: s, innerRadius: c = Dtt, outerRadius: l = Ott, defaultSelectedDataKey: u = null, onSelectionChange: d, isLoading: f = !1, backgroundVariant: p }) {- let m = (0, b.useId)().replace(/:/g, ""), [h, g] = (0, b.useState)(u), _ = Btt(f), v = Ltt(o), y = (0, b.useCallback)((e, t) => {+function A8({ config: e, data: t, nameKey: n, children: r, className: i, chartProps: a, variant: o = "full", max: s, innerRadius: c = Ott, outerRadius: l = ktt, defaultSelectedDataKey: u = null, onSelectionChange: d, isLoading: f = !1, backgroundVariant: p }) {+ let m = (0, b.useId)().replace(/:/g, ""), [h, g] = (0, b.useState)(u), _ = Vtt(f), v = Rtt(o), y = (0, b.useCallback)((e, t) => {g(e), d?.(e === null ? null : {dataKey: e,value: t ?? 0@@ -95321,12 +95334,12 @@ function A8({ config: e, data: t, nameKey: n, children: r, className: i, chartPrh,y]);- return /* @__PURE__ */ (0, x.jsx)(Ntt, {+ return /* @__PURE__ */ (0, x.jsx)(Ptt, {value: C,children: /* @__PURE__ */ (0, x.jsxs)(r8, {className: i,config: e,- children: [/* @__PURE__ */ (0, x.jsx)(i8, { isLoading: f }), /* @__PURE__ */ (0, x.jsxs)(oet, {+ children: [/* @__PURE__ */ (0, x.jsx)(i8, { isLoading: f }), /* @__PURE__ */ (0, x.jsxs)(set, {id: m,data: f ? _ : S,innerRadius: c,@@ -95345,8 +95358,8 @@ function A8({ config: e, data: t, nameKey: n, children: r, className: i, chartPr}),p && /* @__PURE__ */ (0, x.jsx)(f8, { variant: p }),r,- f && /* @__PURE__ */ (0, x.jsx)(Vtt, {}),- /* @__PURE__ */ (0, x.jsx)("defs", { children: /* @__PURE__ */ (0, x.jsx)(Rtt, {+ f && /* @__PURE__ */ (0, x.jsx)(Htt, {}),+ /* @__PURE__ */ (0, x.jsx)("defs", { children: /* @__PURE__ */ (0, x.jsx)(ztt, {config: e,chartId: m}) })@@ -95355,7 +95368,7 @@ function A8({ config: e, data: t, nameKey: n, children: r, className: i, chartPr})});}-function Ptt({ dataKey: e, cornerRadius: t = ktt, barSize: n = Att, showBackground: r = !0, isClickable: i = !1, radialBarProps: a }) {+function Ftt({ dataKey: e, cornerRadius: t = Att, barSize: n = jtt, showBackground: r = !0, isClickable: i = !1, radialBarProps: a }) {let { nameKey: o, isLoading: s, selectedBar: c, selectBar: l } = k8();return s ? null : /* @__PURE__ */ (0, x.jsx)(B3, {dataKey: e,@@ -95371,7 +95384,7 @@ function Ptt({ dataKey: e, cornerRadius: t = ktt, barSize: n = Att, showBackgrou},shape: (e) => {let t = e[o], n = c === null || c === t;- return /* @__PURE__ */ (0, x.jsx)(uX, {+ return /* @__PURE__ */ (0, x.jsx)(dX, {...e,opacity: i && !n ? .15 : 1,className: "transition-opacity duration-200"@@ -95380,7 +95393,7 @@ function Ptt({ dataKey: e, cornerRadius: t = ktt, barSize: n = Att, showBackgrou...a});}-function Ftt({ variant: e, roundness: t, defaultIndex: n }) {+function Itt({ variant: e, roundness: t, defaultIndex: n }) {let { nameKey: r, isLoading: i } = k8();return i ? null : /* @__PURE__ */ (0, x.jsx)(c8, {defaultIndex: n,@@ -95393,7 +95406,7 @@ function Ftt({ variant: e, roundness: t, defaultIndex: n }) {})});}-function Itt({ variant: e, align: t = "center", verticalAlign: n = "bottom", isClickable: r = !1 }) {+function Ltt({ variant: e, align: t = "center", verticalAlign: n = "bottom", isClickable: r = !1 }) {let { nameKey: i, isLoading: a, selectedBar: o, selectBar: s } = k8();return a ? null : /* @__PURE__ */ (0, x.jsx)(u8, {verticalAlign: n,@@ -95407,7 +95420,7 @@ function Itt({ variant: e, align: t = "center", verticalAlign: n = "bottom", isC})});}-function Ltt(e) {+function Rtt(e) {switch (e) {case "semi": return {startAngle: 180,@@ -95423,7 +95436,7 @@ function Ltt(e) {};}}-var Rtt = ({ config: e, chartId: t }) => /* @__PURE__ */ (0, x.jsx)(x.Fragment, { children: Object.entries(e).map(([e, n]) => {+var ztt = ({ config: e, chartId: t }) => /* @__PURE__ */ (0, x.jsx)(x.Fragment, { children: Object.entries(e).map(([e, n]) => {let r = o8(n);return /* @__PURE__ */ (0, x.jsx)("linearGradient", {id: `${t}-radial-colors-${e}`,@@ -95446,47 +95459,47 @@ var Rtt = ({ config: e, chartId: t }) => /* @__PURE__ */ (0, x.jsx)(x.Fragment,})}, `${t}-radial-colors-${e}`);}) });-function ztt() {- return Array.from({ length: jtt }, (e, t) => ({+function Btt() {+ return Array.from({ length: Mtt }, (e, t) => ({name: `loading${t}`,value: 40 + Math.random() * 60}));}-function Btt(e) {+function Vtt(e) {let [t, n] = (0, b.useState)(0);return (0, b.useEffect)(() => {if (!e) return;let t = setInterval(() => {n((e) => e + 1);- }, Mtt);+ }, Ntt);return () => clearInterval(t);- }, [e]), (0, b.useMemo)(() => ztt(), [t]);+ }, [e]), (0, b.useMemo)(() => Btt(), [t]);}-var Vtt = () => /* @__PURE__ */ (0, x.jsx)(B3, {+var Htt = () => /* @__PURE__ */ (0, x.jsx)(B3, {dataKey: "value",- cornerRadius: ktt,- barSize: Att,+ cornerRadius: Att,+ barSize: jtt,background: !0,isAnimationActive: !0,- animationDuration: Mtt,+ animationDuration: Ntt,animationEasing: "ease-in-out",- shape: (e) => /* @__PURE__ */ (0, x.jsx)(uX, {+ shape: (e) => /* @__PURE__ */ (0, x.jsx)(dX, {...e,fill: "currentColor",fillOpacity: .25})});-A8.RadialBar = Ptt, A8.Tooltip = Ftt, A8.Legend = Itt;+A8.RadialBar = Ftt, A8.Tooltip = Itt, A8.Legend = Ltt;//#endregion//#region src/react/stats/radial-card.tsx-var Htt = [+var Utt = ["bg-chart-1","bg-chart-2","bg-chart-3","bg-chart-4","bg-chart-5","bg-chart-6"-], Utt = [+], Wtt = ["aria-pressed:bg-chart-1/10 aria-pressed:ring-chart-1","aria-pressed:bg-chart-2/10 aria-pressed:ring-chart-2","aria-pressed:bg-chart-3/10 aria-pressed:ring-chart-3",@@ -95494,7 +95507,7 @@ var Htt = ["aria-pressed:bg-chart-5/10 aria-pressed:ring-chart-5","aria-pressed:bg-chart-6/10 aria-pressed:ring-chart-6"];-function Wtt({ title: e, rows: t, empty: n, unit: r = "个视频" }) {+function Gtt({ title: e, rows: t, empty: n, unit: r = "个视频" }) {let [i, a] = (0, b.useState)(-1), [o, s] = (0, b.useState)(-1), c = xLe(t);if (!c.length) return /* @__PURE__ */ (0, x.jsx)(g8, {title: e,@@ -95514,7 +95527,7 @@ function Wtt({ title: e, rows: t, empty: n, unit: r = "个视频" }) {className: "flex min-w-0 flex-col gap-1",children: [/* @__PURE__ */ (0, x.jsxs)("h3", {className: "flex items-center gap-1.5 text-title-2-medium wrap-anywhere text-text-primary",- children: [d?.mark ? /* @__PURE__ */ (0, x.jsx)(Yk, { mark: d.mark }) : null, d ? d.name : e]+ children: [d?.mark ? /* @__PURE__ */ (0, x.jsx)(Xk, { mark: d.mark }) : null, d ? d.name : e]}), /* @__PURE__ */ (0, x.jsx)("b", {className: "text-display-4-medium tabular-nums text-text-primary",children: (d ? d.value : u).toLocaleString()@@ -95531,7 +95544,7 @@ function Wtt({ title: e, rows: t, empty: n, unit: r = "个视频" }) {children: /* @__PURE__ */ (0, x.jsxs)(A8, {data: m,nameKey: "slice",- config: ltt(c.map((e) => e.name)),+ config: utt(c.map((e) => e.name)),max: p,innerRadius: "22%",className: "aspect-auto h-75 max-sm:h-65",@@ -95539,7 +95552,7 @@ function Wtt({ title: e, rows: t, empty: n, unit: r = "个视频" }) {dataKey: "arc",barSize: wLe(c.length),radialBarProps: {- shape: (e) => /* @__PURE__ */ (0, x.jsx)(uX, {+ shape: (e) => /* @__PURE__ */ (0, x.jsx)(dX, {...e,opacity: l >= 0 && l !== e.index ? .3 : 1,className: "cursor-pointer transition-opacity duration-200"@@ -95564,16 +95577,16 @@ function Wtt({ title: e, rows: t, empty: n, unit: r = "个视频" }) {onPointerLeave: () => s(-1),onFocus: () => s(t),onBlur: () => s(-1),- className: `flex min-w-0 cursor-pointer flex-col items-start gap-1 rounded-xl bg-background-tertiary-default p-2.5 text-left outline-none aria-pressed:ring-1 aria-pressed:ring-inset focus-visible:ring-2 focus-visible:ring-border-focus-ring ${Utt[t % 6]}`,+ className: `flex min-w-0 cursor-pointer flex-col items-start gap-1 rounded-xl bg-background-tertiary-default p-2.5 text-left outline-none aria-pressed:ring-1 aria-pressed:ring-inset focus-visible:ring-2 focus-visible:ring-border-focus-ring ${Wtt[t % 6]}`,children: [/* @__PURE__ */ (0, x.jsxs)("span", {className: "flex min-w-0 max-w-full items-start gap-1.5 text-caption-1-regular text-text-secondary",children: [/* @__PURE__ */ (0, x.jsx)("i", {"aria-hidden": !0,- className: `mt-0.5 size-3 shrink-0 rounded-sm ${Htt[t % 6]}`+ className: `mt-0.5 size-3 shrink-0 rounded-sm ${Utt[t % 6]}`}), /* @__PURE__ */ (0, x.jsxs)("span", {className: "inline-flex min-w-0 items-start gap-1.5 wrap-anywhere",- children: [e.mark ? /* @__PURE__ */ (0, x.jsx)(Yk, { mark: e.mark }) : null, e.name]+ children: [e.mark ? /* @__PURE__ */ (0, x.jsx)(Xk, { mark: e.mark }) : null, e.name]})]}),/* @__PURE__ */ (0, x.jsx)("b", {@@ -95592,7 +95605,7 @@ function Wtt({ title: e, rows: t, empty: n, unit: r = "个视频" }) {}//#endregion//#region src/react/stats/stats-page.tsx-var Gtt = 10, j8 = x8[5], Ktt = x8[4], qtt = `${Ek()} flex flex-col gap-4`, M8 = "添加媒体文件夹或关注来源后,这里会显示馆藏统计。", Jtt = "补全资料或添加标签后,这里会显示馆藏中的内容标签。", Ytt = "开始播放后,这里会显示最近的真实观看证据。", Xtt = "刮削或手动打标之后,这里会显示每个来源覆盖了多少视频。", Ztt = "添加媒体文件夹后,这里会显示存储空间。", Qtt = "把媒体文件夹归进媒体库后,这里会按库显示视频数。", $tt = "探测时长后,这里会显示时长分布。", ent = "探测画质后,这里会显示画质分布。", tnt = "开始播放后,这里会显示播放落在一周的哪些时段。", nnt = "开始播放后,这里会显示每个作品播了几次。", N8 = (e, t) => Math.min(Math.max(e, 0), t);+var Ktt = 10, j8 = x8[5], qtt = x8[4], Jtt = `${Dk()} flex flex-col gap-4`, M8 = "添加媒体文件夹或关注来源后,这里会显示馆藏统计。", Ytt = "补全资料或添加标签后,这里会显示馆藏中的内容标签。", Xtt = "开始播放后,这里会显示最近的真实观看证据。", Ztt = "刮削或手动打标之后,这里会显示每个来源覆盖了多少视频。", Qtt = "添加媒体文件夹后,这里会显示存储空间。", $tt = "把媒体文件夹归进媒体库后,这里会按库显示视频数。", ent = "探测时长后,这里会显示时长分布。", tnt = "探测画质后,这里会显示画质分布。", nnt = "开始播放后,这里会显示播放落在一周的哪些时段。", rnt = "开始播放后,这里会显示每个作品播了几次。", N8 = (e, t) => Math.min(Math.max(e, 0), t);function P8({ term: e, value: t }) {return /* @__PURE__ */ (0, x.jsxs)("div", {className: "flex min-h-16 min-w-0 flex-col gap-1.5 rounded-2lg bg-background-primary-default p-3",@@ -95601,7 +95614,7 @@ function P8({ term: e, value: t }) {children: e}), /* @__PURE__ */ (0, x.jsx)("b", {className: "text-title-3-medium tabular-nums text-text-primary",- children: UH(t)+ children: WH(t)})]});}@@ -95613,14 +95626,14 @@ function F8({ term: e, value: t, total: n }) {className: "flex items-baseline justify-between gap-3 text-body-2-regular text-text-primary",children: [/* @__PURE__ */ (0, x.jsx)("span", { children: e }), /* @__PURE__ */ (0, x.jsxs)("b", {className: "tabular-nums",- children: [UH(t), HH(t) ? /* @__PURE__ */ (0, x.jsx)("span", {+ children: [WH(t), UH(t) ? /* @__PURE__ */ (0, x.jsx)("span", {className: "ml-1.5 text-caption-1-regular text-text-secondary",- children: WH(t, n)+ children: GH(t, n)}) : null]})]- }), /* @__PURE__ */ (0, x.jsx)(jk, {- label: `${e}:${UH(t)} / ${n.toLocaleString()}`,- value: HH(t) ? N8(t, r) : 0,+ }), /* @__PURE__ */ (0, x.jsx)(Mk, {+ label: `${e}:${WH(t)} / ${n.toLocaleString()}`,+ value: UH(t) ? N8(t, r) : 0,max: r})]});@@ -95646,19 +95659,19 @@ function I8({ term: e, figure: t, unit: n }) {}function L8({ headline: e, children: t }) {return /* @__PURE__ */ (0, x.jsxs)("div", {- className: `${qtt} md:flex-row md:gap-6`,+ className: `${Jtt} md:flex-row md:gap-6`,children: [e, /* @__PURE__ */ (0, x.jsx)("div", {className: "min-w-0 grow",children: t})]});}-function rnt({ data: e, configurable: t, openMediaSettings: n }) {+function int({ data: e, configurable: t, openMediaSettings: n }) {return e.by_loc.reduce((e, t) => e + t.videos, 0) ? /* @__PURE__ */ (0, x.jsxs)("div", {className: "flex flex-col gap-5",children: [/* @__PURE__ */ (0, x.jsxs)("div", {className: "inline-grid w-full gap-5 md:grid-cols-2",- children: [/* @__PURE__ */ (0, x.jsx)(Wtt, {+ children: [/* @__PURE__ */ (0, x.jsx)(Gtt, {title: "网盘与本地",empty: M8,rows: e.by_loc.map((e) => ({@@ -95667,9 +95680,9 @@ function rnt({ data: e, configurable: t, openMediaSettings: n }) {bytes: e.bytes,mark: eo[e.k] || "database"}))- }), /* @__PURE__ */ (0, x.jsx)(Wtt, {+ }), /* @__PURE__ */ (0, x.jsx)(Gtt, {title: "媒体库",- empty: Qtt,+ empty: $tt,rows: e.by_library.map((e) => ({name: e.name,value: e.videos,@@ -95686,15 +95699,15 @@ function rnt({ data: e, configurable: t, openMediaSettings: n }) {series: "视频",color: j8,rows: OLe(e.by_length),- empty: $tt+ empty: ent}),/* @__PURE__ */ (0, x.jsx)(E8, {title: "画质",unit: "个视频",series: "视频",color: j8,- rows: JH(e.by_quality),- empty: ent+ rows: YH(e.by_quality),+ empty: tnt}),/* @__PURE__ */ (0, x.jsx)(E8, {title: "文件类型",@@ -95707,7 +95720,7 @@ function rnt({ data: e, configurable: t, openMediaSettings: n }) {})]})]- }) : /* @__PURE__ */ (0, x.jsx)(Dk, {+ }) : /* @__PURE__ */ (0, x.jsx)(Ok, {shell: "plain",icon: yhe,title: "还没有视频",@@ -95715,7 +95728,7 @@ function rnt({ data: e, configurable: t, openMediaSettings: n }) {size: "small",onClick: n,children: "添加媒体文件夹"- }) : null, /* @__PURE__ */ (0, x.jsx)(Tk, {+ }) : null, /* @__PURE__ */ (0, x.jsx)(Ek, {variant: "secondary",href: "/subscriptions?tab=add",size: "small",@@ -95724,8 +95737,8 @@ function rnt({ data: e, configurable: t, openMediaSettings: n }) {children: M8});}-function int({ data: e }) {- return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(Ttt, {+function ant({ data: e }) {+ return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(Ett, {activity: e.play_activity,title: "播放时间",dailyTitle: "每日播放",@@ -95735,17 +95748,17 @@ function int({ data: e }) {cellUnit: "个作品"},tone: 5,- empty: tnt+ empty: nnt}), /* @__PURE__ */ (0, x.jsx)(E8, {title: "播放次数",unit: "个作品",series: "作品",- color: Ktt,+ color: qtt,rows: ALe(e.replays),- empty: nnt+ empty: rnt})] });}-function ant({ attribution: e }) {+function ont({ attribution: e }) {let t = e.videos;return /* @__PURE__ */ (0, x.jsxs)("div", {className: "flex flex-col",@@ -95778,7 +95791,7 @@ function ant({ attribution: e }) {]});}-function ont({ volume: e }) {+function snt({ volume: e }) {let t = e.total, n = e.used ?? 0;return /* @__PURE__ */ (0, x.jsxs)("article", {className: "flex min-w-0 flex-col gap-1.5 border-b border-separator-border py-3 last:border-b-0",@@ -95795,11 +95808,11 @@ function ont({ volume: e }) {className: "whitespace-nowrap tabular-nums",children: [Qt(n), /* @__PURE__ */ (0, x.jsx)("span", {className: "ml-1.5 text-caption-1-regular text-text-secondary",- children: WH(n, t)+ children: GH(n, t)})]})]}),- t == null ? null : /* @__PURE__ */ (0, x.jsx)(jk, {+ t == null ? null : /* @__PURE__ */ (0, x.jsx)(Mk, {label: `${e.label}空间使用率`,value: N8(n, Math.max(t, 1)),max: Math.max(t, 1)@@ -95817,25 +95830,25 @@ function ont({ volume: e }) {]});}-function snt({ volumes: e, configurable: t, openMediaSettings: n }) {+function cnt({ volumes: e, configurable: t, openMediaSettings: n }) {return e.length ? /* @__PURE__ */ (0, x.jsx)("div", {className: "flex flex-col",- children: e.map((e) => /* @__PURE__ */ (0, x.jsx)(ont, { volume: e }, `${e.kind}:${e.label}`))- }) : /* @__PURE__ */ (0, x.jsx)(Dk, {+ children: e.map((e) => /* @__PURE__ */ (0, x.jsx)(snt, { volume: e }, `${e.kind}:${e.label}`))+ }) : /* @__PURE__ */ (0, x.jsx)(Ok, {shell: "plain",- icon: qO,+ icon: JO,title: "还没有存储来源",actions: t ? /* @__PURE__ */ (0, x.jsx)(G, {size: "small",onClick: n,children: "添加媒体文件夹"}) : void 0,- children: Ztt+ children: Qtt});}-function cnt({ tags: e, tagLabel: t, onTag: n }) {- return e.length ? /* @__PURE__ */ (0, x.jsx)(Ett, {- previewCount: Gtt,+function lnt({ tags: e, tagLabel: t, onTag: n }) {+ return e.length ? /* @__PURE__ */ (0, x.jsx)(Dtt, {+ previewCount: Ktt,className: "inline-grid w-full gap-x-6 gap-y-1 sm:grid-cols-2",children: e.map((e, r) => /* @__PURE__ */ (0, x.jsx)("li", {className: "min-w-0",@@ -95859,24 +95872,24 @@ function cnt({ tags: e, tagLabel: t, onTag: n }) {]})}, `${e.k}:${r}`))- }) : /* @__PURE__ */ (0, x.jsx)(Dk, {+ }) : /* @__PURE__ */ (0, x.jsx)(Ok, {shell: "plain",- icon: YO,+ icon: XO,title: "还没有内容标签",- actions: /* @__PURE__ */ (0, x.jsx)(Tk, {+ actions: /* @__PURE__ */ (0, x.jsx)(Ek, {variant: "secondary",href: "/data-cleanup",size: "small",children: "补全资料"}),- children: Jtt+ children: Ytt});}-function lnt({ rows: e }) {+function unt({ rows: e }) {return e.length ? /* @__PURE__ */ (0, x.jsx)("div", {className: "flex flex-col gap-5",children: e.map((e) => {- let t = KH(e);+ let t = qH(e);return /* @__PURE__ */ (0, x.jsxs)("article", {className: "flex flex-wrap items-center gap-x-6 gap-y-2",children: [/* @__PURE__ */ (0, x.jsxs)("div", {@@ -95898,30 +95911,30 @@ function lnt({ rows: e }) {})]}), /* @__PURE__ */ (0, x.jsxs)("div", {className: "min-w-0 basis-40",- children: [/* @__PURE__ */ (0, x.jsx)(jk, {+ children: [/* @__PURE__ */ (0, x.jsx)(Mk, {label: `真实观看 ${t.toFixed(0)}%`,value: t}), /* @__PURE__ */ (0, x.jsx)("small", {className: "mt-1.5 block text-caption-1-regular text-text-secondary",- children: `真实 ${t.toFixed(0)}% · 到达 ${qH(e).toFixed(0)}%`+ children: `真实 ${t.toFixed(0)}% · 到达 ${JH(e).toFixed(0)}%`})]})]}, `${e.kind}:${e.id}`);})- }) : /* @__PURE__ */ (0, x.jsx)(Dk, {+ }) : /* @__PURE__ */ (0, x.jsx)(Ok, {shell: "plain",- icon: JO,+ icon: YO,title: "还没有观看记录",- actions: /* @__PURE__ */ (0, x.jsx)(Tk, {+ actions: /* @__PURE__ */ (0, x.jsx)(Ek, {variant: "secondary",href: "/",size: "small",children: "浏览馆藏"}),- children: Ytt+ children: Xtt});}-function unt({ sources: e, videos: t }) {+function dnt({ sources: e, videos: t }) {return e.length ? /* @__PURE__ */ (0, x.jsx)("div", {className: "inline-grid w-full gap-x-8 gap-y-6 sm:grid-cols-2",children: e.map((e) => /* @__PURE__ */ (0, x.jsxs)("article", {@@ -95940,7 +95953,7 @@ function unt({ sources: e, videos: t }) {})]})]}),- /* @__PURE__ */ (0, x.jsx)(jk, {+ /* @__PURE__ */ (0, x.jsx)(Mk, {label: `${e.k} 覆盖视频`,value: N8(e.assets, Math.max(t, 1)),max: Math.max(t, 1)@@ -95951,27 +95964,27 @@ function unt({ sources: e, videos: t }) {})]}, e.k))- }) : /* @__PURE__ */ (0, x.jsx)(Dk, {+ }) : /* @__PURE__ */ (0, x.jsx)(Ok, {shell: "plain",- icon: YO,+ icon: XO,title: "还没有标签来源",- actions: /* @__PURE__ */ (0, x.jsx)(Tk, {+ actions: /* @__PURE__ */ (0, x.jsx)(Ek, {variant: "secondary",href: "/data-cleanup",size: "small",children: "补全资料"}),- children: Xtt+ children: Ztt});}function R8({ id: e, label: t, figure: n, detail: r, icon: i, accent: a }) {- return /* @__PURE__ */ (0, x.jsx)(sN, {+ return /* @__PURE__ */ (0, x.jsx)(cN, {id: e,- className: xI({+ className: SI({interactive: !0,selectable: !0}),- children: /* @__PURE__ */ (0, x.jsx)(TI, {+ children: /* @__PURE__ */ (0, x.jsx)(EI, {label: t,icon: i,accent: a,@@ -95980,34 +95993,34 @@ function R8({ id: e, label: t, figure: n, detail: r, icon: i, accent: a }) {})});}-function dnt(e) {+function fnt(e) {let t = dt({- queryKey: BH,- queryFn: ({ signal: e }) => VH(e)+ queryKey: VH,+ queryFn: ({ signal: e }) => HH(e)}), n = t.data;- if (!n) return /* @__PURE__ */ (0, x.jsx)(kk, { children: /* @__PURE__ */ (0, x.jsx)(K, {+ if (!n) return /* @__PURE__ */ (0, x.jsx)(Ak, { children: /* @__PURE__ */ (0, x.jsx)(K, {tone: "error",title: "馆藏统计读取失败",children: t.error ? B(t.error) : "未取得统计数据,请刷新页面重试。"}) });- let r = n.consumption, i = n.storage_summary, a = n.by_loc.reduce((e, t) => e + t.videos, 0), o = n.by_loc.reduce((e, t) => e + t.bytes, 0), s = HH(n.tag_cov) ? WH(n.tag_cov, n.attribution.videos) : "未取得", c = `${UH(n.tag_cov)} / ${n.attribution.videos.toLocaleString()}`;- return /* @__PURE__ */ (0, x.jsxs)(kk, { children: [+ let r = n.consumption, i = n.storage_summary, a = n.by_loc.reduce((e, t) => e + t.videos, 0), o = n.by_loc.reduce((e, t) => e + t.bytes, 0), s = UH(n.tag_cov) ? GH(n.tag_cov, n.attribution.videos) : "未取得", c = `${WH(n.tag_cov)} / ${n.attribution.videos.toLocaleString()}`;+ return /* @__PURE__ */ (0, x.jsxs)(Ak, { children: [/* @__PURE__ */ (0, x.jsx)("p", {className: "text-caption-1-regular text-text-secondary",children: `账本当前快照 · ${a.toLocaleString()} 个视频 · ${Qt(o)}`}),- /* @__PURE__ */ (0, x.jsxs)(aN, {+ /* @__PURE__ */ (0, x.jsxs)(oN, {defaultSelectedKey: "inventory",className: "flex flex-col gap-4",children: [- /* @__PURE__ */ (0, x.jsxs)(oN, {+ /* @__PURE__ */ (0, x.jsxs)(sN, {"aria-label": "统计视图",- className: SI,+ className: CI,children: [/* @__PURE__ */ (0, x.jsx)(R8, {id: "inventory",label: "馆藏视频",- icon: WO,+ icon: GO,accent: 0,figure: a.toLocaleString(),detail: Qt(o)@@ -96017,13 +96030,13 @@ function dnt(e) {label: "看过",icon: $me,accent: 1,- figure: UH(r.played),- detail: GH(r.play_seconds)+ figure: WH(r.played),+ detail: KH(r.play_seconds)}),/* @__PURE__ */ (0, x.jsx)(R8, {id: "coverage",label: "内容标签",- icon: YO,+ icon: XO,accent: 2,figure: s,detail: c@@ -96031,27 +96044,27 @@ function dnt(e) {/* @__PURE__ */ (0, x.jsx)(R8, {id: "storage",label: "使用空间",- icon: qO,+ icon: JO,accent: 3,figure: `${i.online.toLocaleString()} 个卷`,detail: i.measured ? `已用 ${Qt(i.used)}` : "容量未取得"})]}),- /* @__PURE__ */ (0, x.jsx)(cN, {+ /* @__PURE__ */ (0, x.jsx)(lN, {id: "inventory",- children: /* @__PURE__ */ (0, x.jsx)(rnt, {+ children: /* @__PURE__ */ (0, x.jsx)(int, {data: n,...e})}),- /* @__PURE__ */ (0, x.jsxs)(cN, {+ /* @__PURE__ */ (0, x.jsxs)(lN, {id: "viewing",className: "flex flex-col gap-5",children: [/* @__PURE__ */ (0, x.jsx)(L8, {headline: /* @__PURE__ */ (0, x.jsx)(I8, {term: "观看",- figure: UH(r.played),+ figure: WH(r.played),unit: "个作品有播放记录"}),children: /* @__PURE__ */ (0, x.jsxs)("div", {@@ -96091,9 +96104,9 @@ function dnt(e) {})]})- }), /* @__PURE__ */ (0, x.jsx)(int, { data: n })]+ }), /* @__PURE__ */ (0, x.jsx)(ant, { data: n })]}),- /* @__PURE__ */ (0, x.jsx)(cN, {+ /* @__PURE__ */ (0, x.jsx)(lN, {id: "coverage",children: /* @__PURE__ */ (0, x.jsx)(L8, {headline: /* @__PURE__ */ (0, x.jsx)(I8, {@@ -96101,10 +96114,10 @@ function dnt(e) {figure: s,unit: c}),- children: /* @__PURE__ */ (0, x.jsx)(ant, { attribution: n.attribution })+ children: /* @__PURE__ */ (0, x.jsx)(ont, { attribution: n.attribution })})}),- /* @__PURE__ */ (0, x.jsx)(cN, {+ /* @__PURE__ */ (0, x.jsx)(lN, {id: "storage",children: /* @__PURE__ */ (0, x.jsx)(L8, {headline: /* @__PURE__ */ (0, x.jsx)(I8, {@@ -96112,7 +96125,7 @@ function dnt(e) {figure: i.measured.toLocaleString(),unit: "个卷已取得容量"}),- children: /* @__PURE__ */ (0, x.jsx)(snt, {+ children: /* @__PURE__ */ (0, x.jsx)(cnt, {volumes: n.storage_volumes,...e})@@ -96120,51 +96133,51 @@ function dnt(e) {})]}),- /* @__PURE__ */ (0, x.jsxs)(aN, {+ /* @__PURE__ */ (0, x.jsxs)(oN, {defaultSelectedKey: "tags",- className: `${Ek({ padding: "none" })} flex flex-col`,+ className: `${Dk({ padding: "none" })} flex flex-col`,children: [/* @__PURE__ */ (0, x.jsx)("div", {className: "px-4 pt-3",- children: /* @__PURE__ */ (0, x.jsxs)(AN, {+ children: /* @__PURE__ */ (0, x.jsxs)(jN, {"aria-label": "统计维度",- className: MN,+ className: NN,children: [- /* @__PURE__ */ (0, x.jsx)(sN, {+ /* @__PURE__ */ (0, x.jsx)(cN, {id: "tags",- className: NN,+ className: PN,children: "内容标签"}),- /* @__PURE__ */ (0, x.jsx)(sN, {+ /* @__PURE__ */ (0, x.jsx)(cN, {id: "recent",- className: NN,+ className: PN,children: "最近看过"}),- /* @__PURE__ */ (0, x.jsx)(sN, {+ /* @__PURE__ */ (0, x.jsx)(cN, {id: "sources",- className: NN,+ className: PN,children: "标签来源"})]})}),- /* @__PURE__ */ (0, x.jsx)(cN, {+ /* @__PURE__ */ (0, x.jsx)(lN, {id: "tags",className: "px-4 pt-3.5 pb-4",- children: /* @__PURE__ */ (0, x.jsx)(cnt, {+ children: /* @__PURE__ */ (0, x.jsx)(lnt, {tags: n.top_tags,...e})}),- /* @__PURE__ */ (0, x.jsx)(cN, {+ /* @__PURE__ */ (0, x.jsx)(lN, {id: "recent",className: "px-4 pt-3.5 pb-4",- children: /* @__PURE__ */ (0, x.jsx)(lnt, { rows: n.recent })+ children: /* @__PURE__ */ (0, x.jsx)(unt, { rows: n.recent })}),- /* @__PURE__ */ (0, x.jsx)(cN, {+ /* @__PURE__ */ (0, x.jsx)(lN, {id: "sources",className: "px-4 pt-3.5 pb-4",- children: /* @__PURE__ */ (0, x.jsx)(unt, {+ children: /* @__PURE__ */ (0, x.jsx)(dnt, {sources: n.tag_source,videos: n.attribution.videos})@@ -96175,7 +96188,7 @@ function dnt(e) {}//#endregion//#region node_modules/d3-sankey/src/align.js-function fnt(e, t) {+function pnt(e, t) {return e.sourceLinks.length ? e.depth : t - 1;}//#endregion@@ -96187,10 +96200,10 @@ function z8(e) {}//#endregion//#region node_modules/d3-sankey/src/sankey.js-function pnt(e, t) {+function mnt(e, t) {return B8(e.source, t.source) || e.index - t.index;}-function mnt(e, t) {+function hnt(e, t) {return B8(e.target, t.target) || e.index - t.index;}function B8(e, t) {@@ -96199,38 +96212,38 @@ function B8(e, t) {function V8(e) {return e.value;}-function hnt(e) {+function gnt(e) {return e.index;}-function gnt(e) {+function _nt(e) {return e.nodes;}-function _nt(e) {+function vnt(e) {return e.links;}-function vnt(e, t) {+function ynt(e, t) {let n = e.get(t);if (!n) throw Error("missing: " + t);return n;}-function ynt({ nodes: e }) {+function bnt({ 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 bnt() {- let e = 0, t = 0, n = 1, r = 1, i = 24, a = 8, o, s = hnt, c = fnt, l, u, d = gnt, f = _nt, p = 6;+function xnt() {+ let e = 0, t = 0, n = 1, r = 1, i = 24, a = 8, o, s = gnt, c = pnt, l, u, d = _nt, f = vnt, 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), ynt(e), e;+ return h(e), g(e), _(e), v(e), x(e), bnt(e), e;}m.update = function(e) {- return ynt(e), e;+ return bnt(e), e;}, m.nodeId = function(e) {return arguments.length ? (s = typeof e == "function" ? e : z8(e), m) : s;}, m.nodeAlign = function(e) {@@ -96260,12 +96273,12 @@ function bnt() {for (let [e, r] of t.entries()) {r.index = e;let { source: t, target: i } = r;- typeof t != "object" && (t = r.source = vnt(n, t)), typeof i != "object" && (i = r.target = vnt(n, i)), t.sourceLinks.push(r), i.targetLinks.push(r);+ typeof t != "object" && (t = r.source = ynt(n, t)), typeof i != "object" && (i = r.target = ynt(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(FZ(t.sourceLinks, V8), FZ(t.targetLinks, V8)) : t.fixedValue;+ for (let t of e) t.value = t.fixedValue === void 0 ? Math.max(IZ(t.sourceLinks, V8), IZ(t.targetLinks, V8)) : t.fixedValue;}function _({ nodes: e }) {let t = e.length, n = new Set(e), r = /* @__PURE__ */ new Set(), i = 0;@@ -96290,7 +96303,7 @@ function bnt() {}}function y({ nodes: t }) {- let r = jZ(t, (e) => e.depth) + 1, a = (n - e - i) / (r - 1), o = Array(r);+ let r = MZ(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];@@ -96299,7 +96312,7 @@ function bnt() {return o;}function b(e) {- let n = MZ(e, (e) => (r - t - (e.length - 1) * o) / FZ(e, V8));+ let n = NZ(e, (e) => (r - t - (e.length - 1) * o) / IZ(e, V8));for (let i of e) {let e = t;for (let t of i) {@@ -96316,7 +96329,7 @@ function bnt() {}function x(e) {let n = y(e);- o = Math.min(a, (r - t) / (jZ(n, (e) => e.length) - 1)), b(n);+ o = Math.min(a, (r - t) / (MZ(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);@@ -96372,12 +96385,12 @@ function bnt() {}function D({ sourceLinks: e, targetLinks: t }) {if (u === void 0) {- for (let { source: { sourceLinks: e } } of t) e.sort(mnt);- for (let { target: { targetLinks: t } } of e) t.sort(pnt);+ for (let { source: { sourceLinks: e } } of t) e.sort(hnt);+ for (let { target: { targetLinks: t } } of e) t.sort(mnt);}}function O(e) {- if (u === void 0) for (let { sourceLinks: t, targetLinks: n } of e) t.sort(mnt), n.sort(pnt);+ if (u === void 0) for (let { sourceLinks: t, targetLinks: n } of e) t.sort(hnt), n.sort(mnt);}function k(e, t) {let n = e.y0 - (e.sourceLinks.length - 1) * o / 2;@@ -96407,14 +96420,14 @@ function bnt() {}//#endregion//#region node_modules/d3-path/src/path.js-var H8 = Math.PI, U8 = 2 * H8, W8 = 1e-6, xnt = U8 - W8;+var H8 = Math.PI, U8 = 2 * H8, W8 = 1e-6, Snt = U8 - W8;function G8() {this._x0 = this._y0 = this._x1 = this._y1 = null, this._ = "";}-function Snt() {+function Cnt() {return new G8();}-G8.prototype = Snt.prototype = {+G8.prototype = Cnt.prototype = {constructor: G8,moveTo: function(e, t) {this._ += "M" + (this._x0 = this._x1 = +e) + "," + (this._y0 = this._y1 = +t);@@ -96448,7 +96461,7 @@ G8.prototype = Snt.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) > W8 || Math.abs(this._y1 - l) > W8) && (this._ += "L" + c + "," + l), n && (d < 0 && (d = d % U8 + U8), d > xnt ? this._ += "A" + n + "," + n + ",0,1," + u + "," + (e - o) + "," + (t - s) + "A" + n + "," + n + ",0,1," + u + "," + (this._x1 = c) + "," + (this._y1 = l) : d > W8 && (this._ += "A" + n + "," + n + ",0," + +(d >= H8) + "," + 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) > W8 || Math.abs(this._y1 - l) > W8) && (this._ += "L" + c + "," + l), n && (d < 0 && (d = d % U8 + U8), d > Snt ? this._ += "A" + n + "," + n + ",0,1," + u + "," + (e - o) + "," + (t - s) + "A" + n + "," + n + ",0,1," + u + "," + (this._x1 = c) + "," + (this._y1 = l) : d > W8 && (this._ += "A" + n + "," + n + ",0," + +(d >= H8) + "," + 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";@@ -96459,93 +96472,93 @@ G8.prototype = Snt.prototype = {};//#endregion//#region node_modules/d3-shape/src/constant.js-function Cnt(e) {+function wnt(e) {return function() {return e;};}//#endregion//#region node_modules/d3-shape/src/point.js-function wnt(e) {+function Tnt(e) {return e[0];}-function Tnt(e) {+function Ent(e) {return e[1];}//#endregion//#region node_modules/d3-shape/src/array.js-var Ent = Array.prototype.slice;+var Dnt = Array.prototype.slice;//#endregion//#region node_modules/d3-shape/src/link/index.js-function Dnt(e) {+function Ont(e) {return e.source;}-function Ont(e) {+function knt(e) {return e.target;}-function knt(e) {- var t = Dnt, n = Ont, r = wnt, i = Tnt, a = null;+function Ant(e) {+ var t = Ont, n = knt, r = Tnt, i = Ent, a = null;function o() {- var o, s = Ent.call(arguments), c = t.apply(this, s), l = n.apply(this, s);- if (a ||= o = Snt(), 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 = Dnt.call(arguments), c = t.apply(this, s), l = n.apply(this, s);+ if (a ||= o = Cnt(), 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 : Cnt(+e), o) : r;+ return arguments.length ? (r = typeof e == "function" ? e : wnt(+e), o) : r;}, o.y = function(e) {- return arguments.length ? (i = typeof e == "function" ? e : Cnt(+e), o) : i;+ return arguments.length ? (i = typeof e == "function" ? e : wnt(+e), o) : i;}, o.context = function(e) {return arguments.length ? (a = e ?? null, o) : a;}, o;}-function Ant(e, t, n, r, i) {+function jnt(e, t, n, r, i) {e.moveTo(t, n), e.bezierCurveTo(t = (t + r) / 2, n, t, i, r, i);}-function jnt() {- return knt(Ant);+function Mnt() {+ return Ant(jnt);}//#endregion//#region node_modules/d3-sankey/src/sankeyLinkHorizontal.js-function Mnt(e) {+function Nnt(e) {return [e.source.x1, e.y0];}-function Nnt(e) {+function Pnt(e) {return [e.target.x0, e.y1];}-function Pnt() {- return jnt().source(Mnt).target(Nnt);+function Fnt() {+ return Mnt().source(Nnt).target(Pnt);}//#endregion//#region src/react/taste/taste.ts-var Fnt = "/api/taste", Int = "/api/taste/refresh", Lnt = "/api/taste/import", Rnt = "/api/taste/source", K8 = (e) => ["taste", e], znt = ["taste", "refresh"], Bnt = [+var Int = "/api/taste", Lnt = "/api/taste/refresh", Rnt = "/api/taste/import", znt = "/api/taste/source", K8 = (e) => ["taste", e], Bnt = ["taste", "refresh"], Vnt = [["7d", "最近 7 天"],["30d", "最近 30 天"],["90d", "最近 90 天"],["365d", "最近一年"],["all", "全部时间"]-], Vnt = (e, t) => H(Rnt, {+], Hnt = (e, t) => H(znt, {...e,window: t-}), Hnt = (e, t) => V(`${Fnt}?window=${e}`, t), Unt = (e) => V(Int, e);-async function Wnt(e, t) {+}), Unt = (e, t) => V(`${Int}?window=${e}`, t), Wnt = (e) => V(Lnt, e);+async function Gnt(e, t) {await U.fetchQuery({queryKey: K8(e),- queryFn: () => Hnt(e, t)+ queryFn: () => Unt(e, t)});}-var Gnt = (e) => H(Int, {+var Knt = (e) => H(Lnt, {window: e,background: !0-}), Knt = (e, t) => H(Rnt, {+}), qnt = (e, t) => H(znt, {operation: "remove",source_key: e,window: t});-async function qnt(e) {- let t = await fetch(Lnt, {+async function Jnt(e) {+ let t = await fetch(Rnt, {method: "POST",credentials: "same-origin",headers: {@@ -96563,47 +96576,47 @@ async function qnt(e) {}return n;}-var Jnt = 1e4, q8 = (e) => e ? new Date(e).toLocaleDateString("zh-CN") : "—";-function Ynt(e) {+var Ynt = 1e4, q8 = (e) => e ? new Date(e).toLocaleDateString("zh-CN") : "—";+function Xnt(e) {let t = `${Number(e.history_sources || 0).toLocaleString()} 个数据源`;return !e.range_start && !e.range_end ? t : `${t} · ${q8(e.range_start)}—${q8(e.range_end)}`;}-var Xnt = GH, Znt = (e) => e.filter((e) => Number.isFinite(Number(e.score)) && Number(e.score) > 0).sort((e, t) => Number(t.score) - Number(e.score)), Qnt = (e) => Number(e.web_visits ?? e.score ?? e.visits ?? e.peach_items ?? 0);-function $nt(e) {+var Znt = KH, Qnt = (e) => e.filter((e) => Number.isFinite(Number(e.score)) && Number(e.score) > 0).sort((e, t) => Number(t.score) - Number(e.score)), $nt = (e) => Number(e.web_visits ?? e.score ?? e.visits ?? e.peach_items ?? 0);+function ert(e) {if (e.web_visits == null) return Number(e.score || e.visits || 0).toLocaleString();let t = [];return e.web_visits && t.push(`浏览 ${Number(e.web_visits).toLocaleString()}`), e.peach_items && t.push(`Peach ${Number(e.peach_items).toLocaleString()}`), t.join(" · ");}-function ert(e) {- let t = e.map(Qnt), n = Math.max(1, ...t);+function trt(e) {+ let t = e.map($nt), n = Math.max(1, ...t);return t.map((e) => Math.max(0, Math.min(100, e / n * 100)));}-var trt = (e, t) => e.filter((e) => Number.isFinite(Number(e.score)) && Number(e.score) > 0).map((e) => ({+var nrt = (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 nrt(e) {- let t = trt(e, 6);+function rrt(e) {+ let t = nrt(e, 6);return t.length < 3 ? [] : t;}-var rrt = {+var irt = {width: 720,height: 435-}, irt = {+}, art = {source: 145,target: 545-}, art = 30, ort = 240;-function srt(e, t, n) {+}, ort = 30, srt = 240;+function crt(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 crt(e = []) {+function lrt(e = []) {let t = e.filter((e) => e.source && e.target && Number.isFinite(e.value) && e.value > 0);if (!t.length) return null;- let n = srt(t, "source", (e) => `其余 ${e.toLocaleString()} 个网站`), r = srt(t, "target", (e) => `其余 ${e.toLocaleString()} 位创作者`), i = /* @__PURE__ */ new Map();+ let n = crt(t, "source", (e) => `其余 ${e.toLocaleString()} 个网站`), r = crt(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, {@@ -96612,7 +96625,7 @@ function crt(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) * art + ort), u = bnt().nodeId((e) => e.id).nodeWidth(10).nodePadding(art).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) * ort + srt), u = xnt().nodeId((e) => e.id).nodeWidth(10).nodePadding(ort).extent([[155, 16], [535, l]])({nodes: [...o.map((e) => ({id: `source:${e}`,name: e,@@ -96627,7 +96640,7 @@ function crt(e = []) {target: `target:${e.target}`,value: e.value}))- }), d = a.reduce((e, t) => e + t.value, 0), f = Pnt();+ }), d = a.reduce((e, t) => e + t.value, 0), f = Fnt();return {nodes: u.nodes.map((e) => ({id: e.id,@@ -96655,14 +96668,14 @@ function crt(e = []) {};}),total: d,- height: l + rrt.height - 404+ height: l + irt.height - 404};}-var lrt = (e) => rn(e, 17), urt = b.memo(function({ cx: e, cy: t, dataKey: n, chartId: r, className: i, fillOpacity: a = 1, type: o = "default", maskId: s }) {+var urt = (e) => rn(e, 17), drt = b.memo(function({ cx: e, cy: t, dataKey: n, chartId: r, className: i, fillOpacity: a = 1, type: o = "default", maskId: s }) {let c = b.useId().replace(/:/g, ""), l = `url(#${r}-colors-${String(n)})`;if (e === void 0 || t === void 0) return null;switch (o) {- case "border": return /* @__PURE__ */ (0, x.jsx)(frt, {+ case "border": return /* @__PURE__ */ (0, x.jsx)(prt, {cx: e,cy: t,dotId: c,@@ -96671,7 +96684,7 @@ var lrt = (e) => rn(e, 17), urt = b.memo(function({ cx: e, cy: t, dataKey: n, chclassName: i,maskId: s});- case "colored-border": return /* @__PURE__ */ (0, x.jsx)(prt, {+ case "colored-border": return /* @__PURE__ */ (0, x.jsx)(mrt, {cx: e,cy: t,dotId: c,@@ -96680,7 +96693,7 @@ var lrt = (e) => rn(e, 17), urt = b.memo(function({ cx: e, cy: t, dataKey: n, chclassName: i,maskId: s});- default: return /* @__PURE__ */ (0, x.jsx)(drt, {+ default: return /* @__PURE__ */ (0, x.jsx)(frt, {cx: e,cy: t,dotId: c,@@ -96690,7 +96703,7 @@ var lrt = (e) => rn(e, 17), urt = b.memo(function({ cx: e, cy: t, dataKey: n, chmaskId: s});}-}), drt = b.memo(({ cx: e, cy: t, dotId: n, fillOpacity: r, gradientUrl: i, className: a, maskId: o }) => /* @__PURE__ */ (0, x.jsxs)("g", {+}), frt = b.memo(({ cx: e, cy: t, dotId: n, fillOpacity: r, gradientUrl: i, className: a, maskId: o }) => /* @__PURE__ */ (0, x.jsxs)("g", {className: a,mask: o ? `url(#${o})` : void 0,children: [/* @__PURE__ */ (0, x.jsx)("defs", { children: /* @__PURE__ */ (0, x.jsx)("clipPath", {@@ -96710,8 +96723,8 @@ var lrt = (e) => rn(e, 17), urt = b.memo(function({ cx: e, cy: t, dataKey: n, chclipPath: `url(#dot-clip-${n})`})]}));-drt.displayName = "DefaultDot";-var frt = b.memo(({ cx: e, cy: t, dotId: n, fillOpacity: r, gradientUrl: i, className: a, maskId: o }) => /* @__PURE__ */ (0, x.jsxs)("g", {+frt.displayName = "DefaultDot";+var prt = b.memo(({ cx: e, cy: t, dotId: n, fillOpacity: r, gradientUrl: i, className: a, maskId: o }) => /* @__PURE__ */ (0, x.jsxs)("g", {className: e8(a, "text-background"),mask: o ? `url(#${o})` : void 0,children: [@@ -96748,8 +96761,8 @@ var frt = b.memo(({ cx: e, cy: t, dotId: n, fillOpacity: r, gradientUrl: i, clas}) })]}));-frt.displayName = "PrimaryBorderDot";-var prt = b.memo(({ cx: e, cy: t, dotId: n, fillOpacity: r, gradientUrl: i, className: a, maskId: o }) => /* @__PURE__ */ (0, x.jsxs)("g", {+prt.displayName = "PrimaryBorderDot";+var mrt = b.memo(({ cx: e, cy: t, dotId: n, fillOpacity: r, gradientUrl: i, className: a, maskId: o }) => /* @__PURE__ */ (0, x.jsxs)("g", {className: e8(a, "text-background"),mask: o ? `url(#${o})` : void 0,children: [@@ -96778,17 +96791,17 @@ var prt = b.memo(({ cx: e, cy: t, dotId: n, fillOpacity: r, gradientUrl: i, clas})]}));-prt.displayName = "ColoredBorderDot";+mrt.displayName = "ColoredBorderDot";//#endregion//#region src/react/evilcharts/registry/charts/recharts-radar-chart.tsx-var mrt = 1, hrt = .3, grt = 6, _rt = 1500, vrt = "value", yrt = (0, b.createContext)(null);+var hrt = 1, grt = .3, _rt = 6, vrt = 1500, yrt = "value", brt = (0, b.createContext)(null);function J8() {- let e = (0, b.use)(yrt);+ let e = (0, b.use)(brt);if (!e) throw Error("Radar chart parts (<Radar />, <PolarAngleAxis />, …) must be used within <EvilRadarChart />");return e;}function Y8({ config: e, data: t, children: n, className: r, chartProps: i, backgroundVariant: a, defaultSelectedDataKey: o = null, onSelectionChange: s, isLoading: c = !1, loadingPoints: l }) {- let u = (0, b.useId)().replace(/:/g, ""), [d, f] = (0, b.useState)(o), p = Prt(c, l), m = (0, b.useCallback)((e) => {+ let u = (0, b.useId)().replace(/:/g, ""), [d, f] = (0, b.useState)(o), p = Frt(c, l), m = (0, b.useCallback)((e) => {f(e), s?.(e);}, [s]), h = (0, b.useMemo)(() => ({config: e,@@ -96801,37 +96814,37 @@ function Y8({ config: e, data: t, children: n, className: r, chartProps: i, backd,m]);- return /* @__PURE__ */ (0, x.jsx)(yrt, {+ return /* @__PURE__ */ (0, x.jsx)(brt, {value: h,children: /* @__PURE__ */ (0, x.jsxs)(r8, {className: r,config: e,- children: [/* @__PURE__ */ (0, x.jsx)(i8, { isLoading: c }), /* @__PURE__ */ (0, x.jsxs)(X9e, {+ children: [/* @__PURE__ */ (0, x.jsx)(i8, { isLoading: c }), /* @__PURE__ */ (0, x.jsxs)(Z9e, {id: u,data: c ? p : t,...i,children: [a && /* @__PURE__ */ (0, x.jsx)(f8, { variant: a }),n,- c && /* @__PURE__ */ (0, x.jsx)(Frt, {})+ c && /* @__PURE__ */ (0, x.jsx)(Irt, {})]})]})});}-function brt({ dataKey: e, variant: t = "filled", fillOpacity: n = hrt, isGlowing: r = !1, isClickable: i = !1, children: a, radarProps: o }) {+function xrt({ dataKey: e, variant: t = "filled", fillOpacity: n = grt, isGlowing: r = !1, isClickable: i = !1, children: a, radarProps: o }) {let { config: s, isLoading: c, selectedDataKey: l, selectDataKey: u } = J8(), d = (0, b.useId)().replace(/:/g, "");if (c) return null;let f = i && l !== null && l !== e, p = {stroke: f ? .2 : 1,fill: f ? .1 : 1,dot: f ? .2 : 1- }, m = t === "filled", { dot: h, activeDot: g } = Ort(a, d, e, p.dot);+ }, m = t === "filled", { dot: h, activeDot: g } = krt(a, d, e, p.dot);return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(D3, {dataKey: e,stroke: `url(#${d}-radar-stroke-${e})`,strokeOpacity: p.stroke,- strokeWidth: mrt,+ strokeWidth: hrt,fill: m ? `url(#${d}-radar-fill-${e})` : "none",fillOpacity: m ? n * p.fill : 0,dot: h,@@ -96844,30 +96857,30 @@ function brt({ dataKey: e, variant: t = "filled", fillOpacity: n = hrt, isGlowin},...o}), /* @__PURE__ */ (0, x.jsxs)("defs", { children: [- /* @__PURE__ */ (0, x.jsx)(krt, {+ /* @__PURE__ */ (0, x.jsx)(Art, {id: d,dataKey: e,config: s}),- /* @__PURE__ */ (0, x.jsx)(Art, {+ /* @__PURE__ */ (0, x.jsx)(jrt, {id: d,dataKey: e,config: s}),- m && /* @__PURE__ */ (0, x.jsx)(jrt, {+ m && /* @__PURE__ */ (0, x.jsx)(Mrt, {id: d,dataKey: e,config: s}),- r && /* @__PURE__ */ (0, x.jsx)(Mrt, {+ r && /* @__PURE__ */ (0, x.jsx)(Nrt, {id: d,dataKey: e})] })] });}-var xrt = () => null, Srt = () => null;-function Crt({ gridType: e = "polygon", stroke: t = "currentColor", strokeOpacity: n = .2, strokeDasharray: r = "3 4", ...i }) {- return /* @__PURE__ */ (0, x.jsx)(YQe, {+var Srt = () => null, Crt = () => null;+function wrt({ gridType: e = "polygon", stroke: t = "currentColor", strokeOpacity: n = .2, strokeDasharray: r = "3 4", ...i }) {+ return /* @__PURE__ */ (0, x.jsx)(XQe, {gridType: e,stroke: t,strokeOpacity: n,@@ -96875,7 +96888,7 @@ function Crt({ gridType: e = "polygon", stroke: t = "currentColor", strokeOpacit...i});}-function wrt({ tick: e = {+function Trt({ tick: e = {fill: "currentColor",fontSize: 12}, tickLine: t = !1, ...n }) {@@ -96886,19 +96899,19 @@ function wrt({ tick: e = {...n});}-function Trt({ tick: e = {+function Ert({ tick: e = {fill: "currentColor",fontSize: 10}, tickLine: t = !1, axisLine: n = !1, ...r }) {let { isLoading: i } = J8();- return i ? null : /* @__PURE__ */ (0, x.jsx)(x$e, {+ return i ? null : /* @__PURE__ */ (0, x.jsx)(S$e, {tick: e,tickLine: t,axisLine: n,...r});}-function Ert({ variant: e, roundness: t, defaultIndex: n }) {+function Drt({ variant: e, roundness: t, defaultIndex: n }) {let { isLoading: r, selectedDataKey: i } = J8();return r ? null : /* @__PURE__ */ (0, x.jsx)(c8, {defaultIndex: n,@@ -96910,7 +96923,7 @@ function Ert({ variant: e, roundness: t, defaultIndex: n }) {})});}-function Drt({ variant: e, align: t = "center", verticalAlign: n = "bottom", isClickable: r = !1 }) {+function Ort({ variant: e, align: t = "center", verticalAlign: n = "bottom", isClickable: r = !1 }) {let { isLoading: i, selectedDataKey: a, selectDataKey: o } = J8();return i ? null : /* @__PURE__ */ (0, x.jsx)(u8, {verticalAlign: n,@@ -96923,22 +96936,22 @@ function Drt({ variant: e, align: t = "center", verticalAlign: n = "bottom", isC})});}-var Ort = (e, t, n, r) => {+var krt = (e, t, n, r) => {let i = !1, a = !1;return b.Children.forEach(e, (e) => {if ((0, b.isValidElement)(e)) {- if (e.type === xrt) {+ if (e.type === Srt) {let { variant: a } = e.props;- i = /* @__PURE__ */ (0, x.jsx)(urt, {+ i = /* @__PURE__ */ (0, x.jsx)(drt, {type: a,dataKey: n,chartId: t,fillOpacity: r});}- if (e.type === Srt) {+ if (e.type === Crt) {let { variant: i } = e.props;- a = /* @__PURE__ */ (0, x.jsx)(urt, {+ a = /* @__PURE__ */ (0, x.jsx)(drt, {type: i,dataKey: n,chartId: t,@@ -96965,7 +96978,7 @@ var Ort = (e, t, n, r) => {stopColor: `var(--color-${e}-${i}, var(--color-${e}-0))`,stopOpacity: n?.[i]}, a);-}) }), krt = ({ id: e, dataKey: t, config: n }) => {+}) }), Art = ({ id: e, dataKey: t, config: n }) => {let r = o8(n[t] ?? {});return /* @__PURE__ */ (0, x.jsx)("linearGradient", {id: `${e}-colors-${t}`,@@ -96978,7 +96991,7 @@ var Ort = (e, t, n, r) => {colorsCount: r})});-}, Art = ({ id: e, dataKey: t, config: n }) => {+}, jrt = ({ id: e, dataKey: t, config: n }) => {let r = o8(n[t] ?? {});return /* @__PURE__ */ (0, x.jsx)("linearGradient", {id: `${e}-radar-stroke-${t}`,@@ -96991,7 +97004,7 @@ var Ort = (e, t, n, r) => {colorsCount: r})});-}, jrt = ({ id: e, dataKey: t, config: n }) => {+}, Mrt = ({ id: e, dataKey: t, config: n }) => {let r = o8(n[t] ?? {}), i = r === 1 ? [.8, .3] : Array.from({ length: r }, (e, t) => t === 0 ? .8 : .3);return /* @__PURE__ */ (0, x.jsx)("radialGradient", {id: `${e}-radar-fill-${t}`,@@ -97004,7 +97017,7 @@ var Ort = (e, t, n, r) => {opacities: i})});-}, Mrt = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, x.jsxs)("filter", {+}, Nrt = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, x.jsxs)("filter", {id: `${e}-radar-glow-${t}`,x: "-50%",y: "-50%",@@ -97024,7 +97037,7 @@ var Ort = (e, t, n, r) => {}),/* @__PURE__ */ (0, x.jsxs)("feMerge", { children: [/* @__PURE__ */ (0, x.jsx)("feMergeNode", { in: "glow" }), /* @__PURE__ */ (0, x.jsx)("feMergeNode", { in: "SourceGraphic" })] })]-}), Nrt = (e) => [+}), Prt = (e) => ["A","B","C",@@ -97033,20 +97046,20 @@ var Ort = (e, t, n, r) => {"F"].slice(0, e).map((e) => ({skill: e,- [vrt]: 30 + Math.random() * 70+ [yrt]: 30 + Math.random() * 70}));-function Prt(e, t = grt) {+function Frt(e, t = _rt) {let [n, r] = (0, b.useState)(0);return (0, b.useEffect)(() => {if (!e) return;let t = setInterval(() => {r((e) => e + 1);- }, _rt);+ }, vrt);return () => clearInterval(t);- }, [e]), (0, b.useMemo)(() => Nrt(t), [t, n]);+ }, [e]), (0, b.useMemo)(() => Prt(t), [t, n]);}-var Frt = () => /* @__PURE__ */ (0, x.jsx)(D3, {- dataKey: vrt,+var Irt = () => /* @__PURE__ */ (0, x.jsx)(D3, {+ dataKey: yrt,stroke: "currentColor",strokeOpacity: .3,strokeWidth: 2,@@ -97054,13 +97067,13 @@ var Frt = () => /* @__PURE__ */ (0, x.jsx)(D3, {fillOpacity: .1,dot: !1,isAnimationActive: !0,- animationDuration: _rt,+ animationDuration: vrt,animationEasing: "ease-in-out"});-Y8.Radar = brt, Y8.Dot = xrt, Y8.ActiveDot = Srt, Y8.PolarGrid = Crt, Y8.PolarAngleAxis = wrt, Y8.PolarRadiusAxis = Trt, Y8.Tooltip = Ert, Y8.Legend = Drt;+Y8.Radar = xrt, Y8.Dot = Srt, Y8.ActiveDot = Crt, Y8.PolarGrid = wrt, Y8.PolarAngleAxis = Trt, Y8.PolarRadiusAxis = Ert, Y8.Tooltip = Drt, Y8.Legend = Ort;//#endregion//#region src/react/taste/charts.tsx-function Irt(e) {+function Lrt(e) {let { x: t = 0, cx: n, textAnchor: r, payload: i, ...a } = e, o = String(i?.value ?? ""), s = typeof n == "number" ? n * 2 : 0, c = s ? r === "start" ? s - t : r === "end" ? t : 2 * Math.min(t, s - t) : 56;return /* @__PURE__ */ (0, x.jsxs)("g", { children: [/* @__PURE__ */ (0, x.jsx)("title", { children: o }), /* @__PURE__ */ (0, x.jsx)(b4, {...a,@@ -97068,27 +97081,27 @@ function Irt(e) {textAnchor: r,fill: "currentColor",fontSize: 12,- children: stt(o, c - 4)+ children: ctt(o, c - 4)})] });}-var Lrt = [+var Rrt = ["stroke-chart-1","stroke-chart-2","stroke-chart-3","stroke-chart-4","stroke-chart-5","stroke-chart-6"-], Rrt = [+], zrt = ["fill-chart-1","fill-chart-2","fill-chart-3","fill-chart-4","fill-chart-5","fill-chart-6"-], zrt = { value: {+], Brt = { value: {label: "标签命中",colors: S8(x8[3])-} }, Brt = [+} }, Vrt = ["min-h-24","min-h-24","min-h-24",@@ -97098,27 +97111,27 @@ var Lrt = ["min-h-52","min-h-60","min-h-64"-], Vrt = 26, Hrt = { radius: zrt.value }, Urt = (e, t) => Math.sqrt(e / t);-function Wrt({ rows: e, label: t }) {- let n = nrt(e);+], Hrt = 26, Urt = { radius: Brt.value }, Wrt = (e, t) => Math.sqrt(e / t);+function Grt({ rows: e, label: t }) {+ let n = rrt(e);if (!n.length) return null;let r = n[0].value, i = n.map((e) => ({...e,- radius: Urt(e.value, r)+ radius: Wrt(e.value, r)}));return /* @__PURE__ */ (0, x.jsx)("div", {role: "img","aria-label": `${t}:${i.map((e) => e.name).join(",")}`,children: /* @__PURE__ */ (0, x.jsxs)(Y8, {data: i,- config: Hrt,+ config: Urt,chartProps: { outerRadius: "58%" },className: "aspect-auto h-70 text-text-secondary",children: [/* @__PURE__ */ (0, x.jsx)(Y8.PolarGrid, {}),/* @__PURE__ */ (0, x.jsx)(Y8.PolarAngleAxis, {dataKey: "name",- tick: /* @__PURE__ */ (0, x.jsx)(Irt, {})+ tick: /* @__PURE__ */ (0, x.jsx)(Lrt, {})}),/* @__PURE__ */ (0, x.jsx)(Y8.PolarRadiusAxis, {domain: [0, 1],@@ -97131,18 +97144,18 @@ function Wrt({ rows: e, label: t }) {})});}-function Grt({ rows: e, label: t }) {- let n = trt(e, 8);+function Krt({ rows: e, label: t }) {+ let n = nrt(e, 8);return n.length ? /* @__PURE__ */ (0, x.jsx)("section", {"aria-label": t,- className: `flex grow flex-col ${Brt[n.length]}`,+ className: `flex grow flex-col ${Vrt[n.length]}`,children: /* @__PURE__ */ (0, x.jsxs)(m8, {data: n,- config: zrt,+ config: Brt,layout: "horizontal",barRadius: 4,chartProps: {- maxBarSize: Vrt,+ maxBarSize: Hrt,margin: {top: 5,right: 56,@@ -97156,7 +97169,7 @@ function Grt({ rows: e, label: t }) {dataKey: "name",interval: 0,tick: /* @__PURE__ */ (0, x.jsx)(y8, { along: "y" }),- width: ctt(n.map((e) => e.name))+ width: ltt(n.map((e) => e.name))}),/* @__PURE__ */ (0, x.jsx)(m8.XAxis, {hide: !0,@@ -97167,7 +97180,7 @@ function Grt({ rows: e, label: t }) {enableHoverHighlight: !0,barProps: {dataKey: "value",- label: htt("right")+ label: gtt("right")}}),/* @__PURE__ */ (0, x.jsx)(w8, {})@@ -97175,8 +97188,8 @@ function Grt({ rows: e, label: t }) {})}) : null;}-function Krt({ flows: e }) {- let [t, n] = (0, b.useState)(null), r = crt(e);+function qrt({ flows: e }) {+ let [t, n] = (0, b.useState)(null), r = lrt(e);if (!r) return null;let i = t?.node ?? null, a = (e, n) => t ? i === null ? t.label === n : e.source === i || e.target === i : !0;return /* @__PURE__ */ (0, x.jsxs)("section", {@@ -97204,7 +97217,7 @@ function Krt({ flows: e }) {/* @__PURE__ */ (0, x.jsx)("div", {className: "min-w-0 max-sm:hidden",children: /* @__PURE__ */ (0, x.jsxs)("svg", {- viewBox: `0 0 ${rrt.width} ${r.height}`,+ viewBox: `0 0 ${irt.width} ${r.height}`,fill: "none",role: "img","aria-label": "来源网站与创作者线索",@@ -97218,7 +97231,7 @@ function Krt({ flows: e }) {"aria-label": `${e.label}:${e.value} 条线索`,fillOpacity: 0,strokeOpacity: a(e, e.label) ? .55 : .08,- className: `outline-none transition-opacity ${Lrt[e.color]}`,+ className: `outline-none transition-opacity ${Rrt[e.color]}`,onPointerEnter: () => n({value: e.value,label: e.label,@@ -97252,15 +97265,15 @@ function Krt({ flows: e }) {width: 10,height: e.height,rx: 5,- className: e.side === "source" ? Rrt[e.color] : "fill-text-secondary"+ className: e.side === "source" ? zrt[e.color] : "fill-text-secondary"}), /* @__PURE__ */ (0, x.jsxs)("text", {- x: irt[e.side],+ x: art[e.side],y: e.y + e.height / 2,textAnchor: e.side === "source" ? "end" : "start",dominantBaseline: "middle",className: "fill-text-secondary text-caption-1-regular",- children: [lrt(e.name), /* @__PURE__ */ (0, x.jsx)("tspan", {- x: irt[e.side],+ children: [urt(e.name), /* @__PURE__ */ (0, x.jsx)("tspan", {+ x: art[e.side],dy: 15,children: e.side === "source" ? e.value.toLocaleString() : `${e.share.toFixed(1)}%`})]@@ -97277,15 +97290,15 @@ function Krt({ flows: e }) {}//#endregion//#region src/react/taste/browser-sources.tsx-function qrt({ browsers: e, range: t }) {+function Jrt({ browsers: e, range: t }) {let [n, r] = (0, b.useState)(!1), [i, a] = (0, b.useState)(""), [o, s] = (0, b.useState)(""), c = ft({- mutationFn: (e) => Vnt(e, t),+ mutationFn: (e) => Hnt(e, t),onSuccess: (e) => {U.setQueryData(K8(t), e.dashboard), r(!1), a(""), s("");}});return /* @__PURE__ */ (0, x.jsxs)("section", {- className: `${Ek()} flex flex-col gap-4`,+ className: `${Dk()} flex flex-col gap-4`,"aria-label": "浏览器同步",children: [/* @__PURE__ */ (0, x.jsxs)("div", {@@ -97319,7 +97332,7 @@ function qrt({ browsers: e, range: t }) {});},children: [- /* @__PURE__ */ (0, x.jsx)(pN, {+ /* @__PURE__ */ (0, x.jsx)(mN, {label: "浏览器名称",value: i,onChange: a,@@ -97327,7 +97340,7 @@ function qrt({ browsers: e, range: t }) {isRequired: !0,isDisabled: c.isPending}),- /* @__PURE__ */ (0, x.jsx)(pN, {+ /* @__PURE__ */ (0, x.jsx)(mN, {label: "资料目录或历史文件",value: o,onChange: s,@@ -97404,11 +97417,11 @@ function qrt({ browsers: e, range: t }) {}//#endregion//#region src/react/taste/taste-page.tsx-var Jrt = 10, Yrt = bk(OI, kI, "text-body-2-medium"), Z8 = `${Ek()} flex flex-col gap-4`, Q8 = "rounded-xl bg-background-primary-default p-3", Xrt = "读取运行 Peach 的这台电脑上的浏览记录", Zrt = "导入或读取浏览记录后,这里会列出已采集设备。", Qrt = "馆藏里暂时没有对得上浏览信号的标签。", $rt = "采集浏览记录后,这里会显示聚合后的口味证据。", eit = "这些词在浏览记录中出现,但 Peach 观看记录还没有对应证据", tit = "采集浏览记录后,这里会列出浏览过的标签。", nit = "采集浏览记录后,这里会列出浏览过的创作者。", rit = "采集浏览记录后,这里会列出常访问的网站。", iit = "在 Peach 里播放或评价作品后,这里会列出对应的标签。", ait = "在 Peach 里播放或评价作品后,这里会列出对应的创作者。", oit = "在 Peach 里播放或评价作品后,这里会列出对应的女优。", sit = "在运行 Peach 的电脑上使用浏览器:点上面的「读取浏览器历史」。", cit = "记录在其他设备上:导出文件后,点上面的「导入历史文件」。多台设备的文件分别导入。", lit = "需要刷新时再次读取或导入;数据源可在页面底部移除。", uit = "删除这个来源的已导入记录,原始文件保留。若浏览器仍启用,下次读取会再次导入。", dit = "peach-taste-guide-dismissed";+var Yrt = 10, Xrt = xk(kI, AI, "text-body-2-medium"), Z8 = `${Dk()} flex flex-col gap-4`, Q8 = "rounded-xl bg-background-primary-default p-3", Zrt = "读取运行 Peach 的这台电脑上的浏览记录", Qrt = "导入或读取浏览记录后,这里会列出已采集设备。", $rt = "馆藏里暂时没有对得上浏览信号的标签。", eit = "采集浏览记录后,这里会显示聚合后的口味证据。", tit = "这些词在浏览记录中出现,但 Peach 观看记录还没有对应证据", nit = "采集浏览记录后,这里会列出浏览过的标签。", rit = "采集浏览记录后,这里会列出浏览过的创作者。", iit = "采集浏览记录后,这里会列出常访问的网站。", ait = "在 Peach 里播放或评价作品后,这里会列出对应的标签。", oit = "在 Peach 里播放或评价作品后,这里会列出对应的创作者。", sit = "在 Peach 里播放或评价作品后,这里会列出对应的女优。", cit = "在运行 Peach 的电脑上使用浏览器:点上面的「读取浏览器历史」。", lit = "记录在其他设备上:导出文件后,点上面的「导入历史文件」。多台设备的文件分别导入。", uit = "需要刷新时再次读取或导入;数据源可在页面底部移除。", dit = "删除这个来源的已导入记录,原始文件保留。若浏览器仍启用,下次读取会再次导入。", fit = "peach-taste-guide-dismissed";function $8({ icon: e, term: t, figure: n, detail: r, accent: i }) {return /* @__PURE__ */ (0, x.jsx)("div", {- className: xI(),- children: /* @__PURE__ */ (0, x.jsx)(TI, {+ className: SI(),+ children: /* @__PURE__ */ (0, x.jsx)(EI, {label: t,icon: e,accent: i,@@ -97417,7 +97430,7 @@ function $8({ icon: e, term: t, figure: n, detail: r, accent: i }) {})});}-function fit({ name: e, domain: t }) {+function pit({ name: e, domain: t }) {return /* @__PURE__ */ (0, x.jsxs)("span", {className: "relative inline-grid size-8 shrink-0 place-items-center overflow-hidden rounded-lg bg-background-tertiary-default text-caption-1-medium text-text-secondary",children: [nn(e).toUpperCase(), /* @__PURE__ */ (0, x.jsx)("img", {@@ -97431,22 +97444,22 @@ function fit({ name: e, domain: t }) {})]});}-function pit({ html: e }) {+function mit({ html: e }) {return /* @__PURE__ */ (0, x.jsx)("span", {className: `relative inline-grid size-8 shrink-0 place-items-center overflow-hidden rounded-full bg-background-tertiary-default text-caption-1-medium text-text-secondary ${VR}`,dangerouslySetInnerHTML: { __html: e }});}-function mit({ rows: e, kind: t, visual: n, empty: r, onSignal: i }) {- if (!e.length) return /* @__PURE__ */ (0, x.jsx)(Dk, {+function hit({ rows: e, kind: t, visual: n, empty: r, onSignal: i }) {+ if (!e.length) return /* @__PURE__ */ (0, x.jsx)(Ok, {shell: "plain",- icon: ZO,+ icon: QO,title: "暂无足够证据",children: r});- let a = ert(e);- return /* @__PURE__ */ (0, x.jsx)(Ett, {- previewCount: Jrt,+ let a = trt(e);+ return /* @__PURE__ */ (0, x.jsx)(Dtt, {+ previewCount: Yrt,className: "inline-grid w-full gap-x-7 gap-y-2 sm:grid-cols-2",children: e.map((e, r) => {let o = !!t && !!e.peach_items, s = String(e.source_domain || ""), c = /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [@@ -97465,15 +97478,15 @@ function mit({ rows: e, kind: t, visual: n, empty: r, onSignal: i }) {className: "w-6 shrink-0 text-caption-1-regular tabular-nums text-text-secondary",children: r + 1}),- n === "domain" ? /* @__PURE__ */ (0, x.jsx)(fit, {+ n === "domain" ? /* @__PURE__ */ (0, x.jsx)(pit, {name: e.name,domain: e.name}) : null,- n === "creator" && !e.entity_id && !e.has_avatar && s ? /* @__PURE__ */ (0, x.jsx)(fit, {+ n === "creator" && !e.entity_id && !e.has_avatar && s ? /* @__PURE__ */ (0, x.jsx)(pit, {name: e.name,domain: s}) : null,- n !== "none" && n !== "domain" && (e.entity_id || e.has_avatar || !s) ? /* @__PURE__ */ (0, x.jsx)(pit, { html: la(e.name, e.entity_id ? {+ n !== "none" && n !== "domain" && (e.entity_id || e.has_avatar || !s) ? /* @__PURE__ */ (0, x.jsx)(mit, { html: la(e.name, e.entity_id ? {id: e.entity_id,has_image: !!e.has_image,image_version: e.image_version,@@ -97487,10 +97500,10 @@ function mit({ rows: e, kind: t, visual: n, empty: r, onSignal: i }) {children: e.name}), /* @__PURE__ */ (0, x.jsx)("small", {className: "text-caption-1-regular text-text-secondary",- children: $nt(e)+ children: ert(e)})]}),- o ? /* @__PURE__ */ (0, x.jsx)(VO, {+ o ? /* @__PURE__ */ (0, x.jsx)(HO, {"aria-hidden": !0,className: "size-4 shrink-0 text-text-tertiary"}) : null@@ -97510,31 +97523,31 @@ function mit({ rows: e, kind: t, visual: n, empty: r, onSignal: i }) {})});}-function hit({ label: e, panels: t, onSignal: n }) {- return /* @__PURE__ */ (0, x.jsxs)(aN, {- className: `${Ek({ padding: "none" })} flex flex-col`,+function git({ label: e, panels: t, onSignal: n }) {+ return /* @__PURE__ */ (0, x.jsxs)(oN, {+ className: `${Dk({ padding: "none" })} flex flex-col`,children: [/* @__PURE__ */ (0, x.jsx)("div", {className: "px-4 pt-3",- children: /* @__PURE__ */ (0, x.jsx)(AN, {+ children: /* @__PURE__ */ (0, x.jsx)(jN, {"aria-label": e,- className: MN,- children: t.map((e) => /* @__PURE__ */ (0, x.jsx)(sN, {+ className: NN,+ children: t.map((e) => /* @__PURE__ */ (0, x.jsx)(cN, {id: e.id,- className: NN,+ className: PN,children: e.name}, e.id))})- }), t.map((e) => /* @__PURE__ */ (0, x.jsx)(cN, {+ }), t.map((e) => /* @__PURE__ */ (0, x.jsx)(lN, {id: e.id,className: "px-4 pt-3.5 pb-4",- children: /* @__PURE__ */ (0, x.jsx)(mit, {+ children: /* @__PURE__ */ (0, x.jsx)(hit, {...e.props,onSignal: n})}, e.id))]});}-function git({ data: e, onSignal: t, navigate: n }) {+function _it({ data: e, onSignal: t, navigate: n }) {let r = e.analysis;if (!r?.headline) return null;let i = r.confidence || {}, a = [...(r.explore || []).map((e) => ({@@ -97603,44 +97616,44 @@ function git({ data: e, onSignal: t, navigate: n }) {className: "text-caption-1-regular wrap-anywhere text-text-secondary",children: e.detail})]- }), /* @__PURE__ */ (0, x.jsx)(VO, {+ }), /* @__PURE__ */ (0, x.jsx)(HO, {"aria-hidden": !0,className: "size-4 shrink-0 text-text-tertiary"})]}, e.key))- }) : /* @__PURE__ */ (0, x.jsx)(Dk, {+ }) : /* @__PURE__ */ (0, x.jsx)(Ok, {shell: "plain",- icon: ZO,+ icon: QO,title: "还没有可探索的入口",- children: Qrt+ children: $rt})]});}-function _it({ onboarding: e, done: t }) {+function vit({ onboarding: e, done: t }) {let [n, r] = (0, b.useState)(() => {try {- return localStorage.getItem(dit) === "1";+ return localStorage.getItem(fit) === "1";} catch {return !1;}});return t || n ? null : /* @__PURE__ */ (0, x.jsx)("div", {- className: Ek({+ className: Dk({padding: "none",className: "p-4"}),- children: /* @__PURE__ */ (0, x.jsxs)(Jk, {+ children: /* @__PURE__ */ (0, x.jsxs)(Yk, {summary: "浏览器历史记录导入指南",defaultOpen: e,children: [/* @__PURE__ */ (0, x.jsx)("p", {className: "text-body-2-regular text-text-secondary",- children: sit+ children: cit}),/* @__PURE__ */ (0, x.jsx)("p", {className: "text-body-2-regular text-text-secondary",- children: cit+ children: lit}),/* @__PURE__ */ (0, x.jsxs)("ul", {className: "flex list-disc flex-col gap-1 pl-5 text-body-2-regular text-text-secondary",@@ -97670,7 +97683,7 @@ function _it({ onboarding: e, done: t }) {}),/* @__PURE__ */ (0, x.jsx)("p", {className: "text-body-2-regular text-text-secondary",- children: lit+ children: uit}),/* @__PURE__ */ (0, x.jsx)("span", {className: "self-start",@@ -97679,7 +97692,7 @@ function _it({ onboarding: e, done: t }) {size: "small",onClick: () => {try {- localStorage.setItem(dit, "1");+ localStorage.setItem(fit, "1");} catch {}r(!0);},@@ -97690,7 +97703,7 @@ function _it({ onboarding: e, done: t }) {})});}-function vit({ busy: e, onRefresh: t, onImport: n }) {+function yit({ busy: e, onRefresh: t, onImport: n }) {let r = (0, b.useRef)(null), [i, a] = (0, b.useState)(!1), o = (e) => {a(!1), e();};@@ -97699,15 +97712,15 @@ function vit({ busy: e, onRefresh: t, onImport: n }) {"data-split-button": !0,"data-variant": "primary",children: [/* @__PURE__ */ (0, x.jsx)(G, {- leadingIcon: UO,- title: Xrt,+ leadingIcon: WO,+ title: Zrt,onClick: t,...q(e),children: "读取浏览器历史"}), /* @__PURE__ */ (0, x.jsx)(G, {ref: r,iconOnly: !0,- leadingIcon: zO,+ leadingIcon: BO,"aria-label": "更多取得浏览记录的方式","aria-haspopup": "dialog","aria-expanded": i,@@ -97716,27 +97729,27 @@ function vit({ busy: e, onRefresh: t, onImport: n }) {e || a(!0);}})]- }), /* @__PURE__ */ (0, x.jsx)(dM, {+ }), /* @__PURE__ */ (0, x.jsx)(fM, {triggerRef: r,isOpen: i,onOpenChange: a,placement: "bottom end",offset: 4,- className: DI,- children: /* @__PURE__ */ (0, x.jsxs)(EI, {+ className: OI,+ children: /* @__PURE__ */ (0, x.jsxs)(DI, {"aria-label": "更多取得浏览记录的方式",className: "flex w-52 flex-col gap-1 outline-none",children: [/* @__PURE__ */ (0, x.jsxs)("button", {type: "button",- className: Yrt,+ className: Xrt,onClick: () => o(t),- children: [/* @__PURE__ */ (0, x.jsx)(UO, {+ children: [/* @__PURE__ */ (0, x.jsx)(WO, {"aria-hidden": !0,className: "size-4 shrink-0"}), "读取浏览器历史"]}), /* @__PURE__ */ (0, x.jsxs)("button", {type: "button",- className: Yrt,+ className: Xrt,onClick: () => o(n),children: [/* @__PURE__ */ (0, x.jsx)(_he, {"aria-hidden": !0,@@ -97746,9 +97759,9 @@ function vit({ busy: e, onRefresh: t, onImport: n }) {})})] });}-function yit({ sources: e, window: t, toast: n }) {+function bit({ sources: e, window: t, toast: n }) {let r = ft({- mutationFn: (e) => Knt(e, t),+ mutationFn: (e) => qnt(e, t),onSuccess: (e) => {U.setQueryData(K8(t), e.dashboard), n("已移除口味数据源");}@@ -97775,7 +97788,7 @@ function yit({ sources: e, window: t, toast: n }) {children: e.browser === "browserexport" ? /* @__PURE__ */ (0, x.jsx)(_he, {"aria-hidden": !0,className: "size-4"- }) : /* @__PURE__ */ (0, x.jsx)(WO, {+ }) : /* @__PURE__ */ (0, x.jsx)(GO, {"aria-hidden": !0,className: "size-4"})@@ -97796,12 +97809,12 @@ function yit({ sources: e, window: t, toast: n }) {"aria-label": `移除 ${e.profile}`,className: "shrink-0",iconOnly: !0,- leadingIcon: GO,+ leadingIcon: KO,...q(r.isPending),onClick: () => {r.isPending || ms({title: "移除口味数据源",- body: uit,+ body: dit,confirmLabel: "移除口味数据源",onConfirm: () => r.mutateAsync(e.source_key)});@@ -97809,30 +97822,30 @@ function yit({ sources: e, window: t, toast: n }) {})]}, e.source_key))- }) : /* @__PURE__ */ (0, x.jsx)(Dk, {+ }) : /* @__PURE__ */ (0, x.jsx)(Ok, {shell: "plain",- icon: WO,+ icon: GO,title: "还没有数据源",- children: Zrt+ children: Qrt})]});}-function bit(e) {+function xit(e) {let { onSignal: t, navigate: n, toast: r, onboarding: i } = e, [a, o] = (0, b.useState)("all"), [s, c] = (0, b.useState)("browser"), l = (0, b.useRef)(null), u = dt({queryKey: K8(a),- queryFn: ({ signal: e }) => Hnt(a, e),+ queryFn: ({ signal: e }) => Unt(a, e),placeholderData: ue}), { job: d, running: f, outcome: p, start: m } = iL({- queryKey: znt,- queryFn: ({ signal: e }) => Unt(e),- start: () => Gnt(a),- idlePollMs: Jnt,+ queryKey: Bnt,+ queryFn: ({ signal: e }) => Wnt(e),+ start: () => Knt(a),+ idlePollMs: Ynt,onFinish: (e) => {e.status !== "failed" && (U.invalidateQueries({ queryKey: ["taste"] }), r(e.warnings?.length ? "部分浏览记录未取得" : "已更新口味分析"));}}), h = ft({- mutationFn: (e) => qnt(e),+ mutationFn: (e) => Jnt(e),onSuccess: (e) => {U.setQueryData(K8("all"), e.dashboard), o("all"), r("已导入口味数据");}@@ -97842,30 +97855,30 @@ function bit(e) {}, _ = () => {f || m.isPending || (m.reset(), m.mutate());}, v = u.data;- if (!v) return /* @__PURE__ */ (0, x.jsx)(kk, { children: /* @__PURE__ */ (0, x.jsx)(K, {+ if (!v) return /* @__PURE__ */ (0, x.jsx)(Ak, { children: /* @__PURE__ */ (0, x.jsx)(K, {tone: "error",title: "口味分析读取失败",children: u.error ? B(u.error) : "读取口味分析失败"}) });- let y = v.summary || {}, S = v.coverage || {}, C = v.rankings || {}, w = v.storage || {}, T = Znt(C.browser_categories || []), E = nrt(T).length > 0, D = v.gaps || [], O = S.tagged || 0, k = S.identified || 0, A = m.error ? B(m.error) : h.error ? B(h.error) : p?.status === "failed" ? p.error || "读取未取得" : "";- return /* @__PURE__ */ (0, x.jsxs)(kk, { children: [- /* @__PURE__ */ (0, x.jsxs)(aN, {+ let y = v.summary || {}, S = v.coverage || {}, C = v.rankings || {}, w = v.storage || {}, T = Qnt(C.browser_categories || []), E = rrt(T).length > 0, D = v.gaps || [], O = S.tagged || 0, k = S.identified || 0, A = m.error ? B(m.error) : h.error ? B(h.error) : p?.status === "failed" ? p.error || "读取未取得" : "";+ return /* @__PURE__ */ (0, x.jsxs)(Ak, { children: [+ /* @__PURE__ */ (0, x.jsxs)(oN, {selectedKey: s,onSelectionChange: (e) => c(String(e)),className: "flex flex-col gap-5",children: [/* @__PURE__ */ (0, x.jsxs)("div", {className: "flex flex-wrap items-center justify-between gap-3",- children: [/* @__PURE__ */ (0, x.jsxs)(AN, {+ children: [/* @__PURE__ */ (0, x.jsxs)(jN, {"aria-label": "口味证据来源",- className: MN,- children: [/* @__PURE__ */ (0, x.jsx)(sN, {+ className: NN,+ children: [/* @__PURE__ */ (0, x.jsx)(cN, {id: "browser",- className: NN,+ className: PN,children: "浏览器记录"- }), /* @__PURE__ */ (0, x.jsx)(sN, {+ }), /* @__PURE__ */ (0, x.jsx)(cN, {id: "peach",- className: NN,+ className: PN,children: "Peach 内部"})]}), /* @__PURE__ */ (0, x.jsxs)("div", {@@ -97877,12 +97890,12 @@ function bit(e) {onSelectionChange: (e) => {e !== null && o(String(e));},- children: Bnt.map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(rL, {+ children: Vnt.map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(rL, {id: e,children: t}, e))}),- /* @__PURE__ */ (0, x.jsx)(vit, {+ /* @__PURE__ */ (0, x.jsx)(yit, {busy: f || m.isPending || h.isPending,onRefresh: _,onImport: () => l.current?.click()@@ -97898,7 +97911,7 @@ function bit(e) {]})]}),- /* @__PURE__ */ (0, x.jsx)(_it, {+ /* @__PURE__ */ (0, x.jsx)(vit, {onboarding: i,done: !!(y.history_sources || v.updated_at)}),@@ -97906,12 +97919,12 @@ function bit(e) {"aria-live": "polite",className: "flex flex-col gap-3 empty:hidden",children: [- f ? /* @__PURE__ */ (0, x.jsx)($I, {+ f ? /* @__PURE__ */ (0, x.jsx)(eL, {label: d?.message || "正在读取浏览记录并更新口味分析",value: d?.checked,total: d?.total}) : null,- h.isPending ? /* @__PURE__ */ (0, x.jsx)($I, { label: "正在导入历史文件" }) : null,+ h.isPending ? /* @__PURE__ */ (0, x.jsx)(eL, { label: "正在导入历史文件" }) : null,A ? /* @__PURE__ */ (0, x.jsx)(K, {tone: "error",children: A@@ -97922,36 +97935,36 @@ function bit(e) {}) : null]}),- /* @__PURE__ */ (0, x.jsxs)(cN, {+ /* @__PURE__ */ (0, x.jsxs)(lN, {id: "browser",className: "flex flex-col gap-5",children: [/* @__PURE__ */ (0, x.jsxs)("div", {- className: SI,+ className: CI,children: [/* @__PURE__ */ (0, x.jsx)($8, {accent: 0,- icon: JO,+ icon: YO,term: "浏览记录",figure: Number(y.history_visits || 0).toLocaleString(),- detail: Ynt(y)+ detail: Xnt(y)}),/* @__PURE__ */ (0, x.jsx)($8, {accent: 1,- icon: YO,+ icon: XO,term: "口味维度",figure: T.length.toLocaleString(),detail: T[0]?.name || "尚无主维度"}),/* @__PURE__ */ (0, x.jsx)($8, {accent: 2,- icon: ZO,+ icon: QO,term: "浏览候选",figure: D.length.toLocaleString()}),/* @__PURE__ */ (0, x.jsx)($8, {accent: 3,- icon: WO,+ icon: GO,term: "私有导出",figure: Number(w.exports || 0).toLocaleString(),detail: Qt(w.bytes || 0)@@ -97968,7 +97981,7 @@ function bit(e) {className: "text-caption-1-regular text-text-secondary",children: "浏览器画像"}),- E ? /* @__PURE__ */ (0, x.jsx)(Wrt, {+ E ? /* @__PURE__ */ (0, x.jsx)(Grt, {rows: T,label: "主要口味维度"}) : null,@@ -97979,18 +97992,18 @@ function bit(e) {]}), /* @__PURE__ */ (0, x.jsx)("div", {className: "flex min-w-0 grow flex-col",- children: T.length ? /* @__PURE__ */ (0, x.jsx)(Grt, {+ children: T.length ? /* @__PURE__ */ (0, x.jsx)(Krt, {rows: T,label: "口味维度排名"- }) : /* @__PURE__ */ (0, x.jsx)(Dk, {+ }) : /* @__PURE__ */ (0, x.jsx)(Ok, {shell: "plain",- icon: ZO,+ icon: QO,title: "暂无口味维度",- children: $rt+ children: eit})})]}),- /* @__PURE__ */ (0, x.jsx)(Ttt, {+ /* @__PURE__ */ (0, x.jsx)(Ett, {activity: v.activity,title: "浏览活跃时间",dailyTitle: "每日活跃",@@ -98002,8 +98015,8 @@ function bit(e) {tone: 4,empty: "还没有可用于分析的口味网站访问记录。"}),- /* @__PURE__ */ (0, x.jsx)(Krt, { flows: v.creator_flows }),- /* @__PURE__ */ (0, x.jsx)(hit, {+ /* @__PURE__ */ (0, x.jsx)(qrt, { flows: v.creator_flows }),+ /* @__PURE__ */ (0, x.jsx)(git, {label: "浏览器口味维度",onSignal: t,panels: [@@ -98014,7 +98027,7 @@ function bit(e) {rows: C.browser_tags || [],kind: "tag",visual: "none",- empty: tit+ empty: nit}},{@@ -98024,7 +98037,7 @@ function bit(e) {rows: C.browser_creators || [],kind: "creator",visual: "creator",- empty: nit+ empty: rit}},{@@ -98044,7 +98057,7 @@ function bit(e) {rows: C.domains || [],kind: "",visual: "domain",- empty: rit+ empty: iit}},{@@ -98054,26 +98067,26 @@ function bit(e) {rows: D,kind: "",visual: "none",- empty: eit+ empty: tit}}]})]}),- /* @__PURE__ */ (0, x.jsxs)(cN, {+ /* @__PURE__ */ (0, x.jsxs)(lN, {id: "peach",className: "flex flex-col gap-5",children: [/* @__PURE__ */ (0, x.jsxs)("div", {- className: SI,+ className: CI,children: [/* @__PURE__ */ (0, x.jsx)($8, {accent: 0,icon: $me,term: "Peach 看过",figure: Number(y.peach_items || 0).toLocaleString(),- detail: Xnt(y.peach_seconds || 0)+ detail: Znt(y.peach_seconds || 0)}),/* @__PURE__ */ (0, x.jsx)($8, {accent: 1,@@ -98089,7 +98102,7 @@ function bit(e) {}),/* @__PURE__ */ (0, x.jsx)($8, {accent: 3,- icon: YO,+ icon: XO,term: "有标签",figure: O.toLocaleString()})@@ -98116,18 +98129,18 @@ function bit(e) {]}), /* @__PURE__ */ (0, x.jsxs)("div", {className: "flex min-w-0 grow flex-col",- children: [/* @__PURE__ */ (0, x.jsx)(xit, {+ children: [/* @__PURE__ */ (0, x.jsx)(Sit, {term: "有标签",value: O,rest: S.untagged || 0- }), /* @__PURE__ */ (0, x.jsx)(xit, {+ }), /* @__PURE__ */ (0, x.jsx)(Sit, {term: "有身份",value: k,rest: S.unidentified || 0})]})]}),- /* @__PURE__ */ (0, x.jsx)(hit, {+ /* @__PURE__ */ (0, x.jsx)(git, {label: "Peach 口味维度",onSignal: t,panels: [@@ -98138,7 +98151,7 @@ function bit(e) {rows: C.peach_tags || [],kind: "tag",visual: "none",- empty: iit+ empty: ait}},{@@ -98148,7 +98161,7 @@ function bit(e) {rows: C.peach_creators || [],kind: "creator",visual: "creator",- empty: ait+ empty: oit}},{@@ -98158,7 +98171,7 @@ function bit(e) {rows: C.peach_performers || [],kind: "performer",visual: "entity",- empty: oit+ empty: sit}}]@@ -98167,23 +98180,23 @@ function bit(e) {})]}),- /* @__PURE__ */ (0, x.jsx)(git, {+ /* @__PURE__ */ (0, x.jsx)(_it, {data: v,onSignal: t,navigate: n}),- /* @__PURE__ */ (0, x.jsx)(yit, {+ /* @__PURE__ */ (0, x.jsx)(bit, {sources: v.sources || [],window: a,toast: r}),- /* @__PURE__ */ (0, x.jsx)(qrt, {+ /* @__PURE__ */ (0, x.jsx)(Jrt, {browsers: v.browsers || [],range: a})] });}-function xit({ term: e, value: t, rest: n }) {+function Sit({ term: e, value: t, rest: n }) {let r = Math.max(t + n, 1);return /* @__PURE__ */ (0, x.jsxs)("div", {className: "flex flex-col gap-1.5 border-b border-separator-border py-3 last:border-b-0",@@ -98196,7 +98209,7 @@ function xit({ term: e, value: t, rest: n }) {children: `${n.toLocaleString()} 项待补`})]})]- }), /* @__PURE__ */ (0, x.jsx)(jk, {+ }), /* @__PURE__ */ (0, x.jsx)(Mk, {label: `${e}:${t.toLocaleString()} / ${r.toLocaleString()}`,value: t,max: r@@ -98211,7 +98224,7 @@ var e5 = {studios: "厂牌",agencies: "事务所",tags: "标签"-}, Sit = [[+}, Cit = [["big","大图 · 竖幅头像","maximize"@@ -98219,7 +98232,7 @@ var e5 = {"compact","紧凑 · 圆形头像","layout-grid"-]], Cit = [[+]], wit = [["big","大图 · 完整标识","maximize"@@ -98227,7 +98240,7 @@ var e5 = {"compact","紧凑 · 圆形标识","layout-grid"-]], wit = [[+]], Tit = [["studios","厂牌","clapperboard"@@ -98235,7 +98248,7 @@ var e5 = {"agencies","事务所","briefcase"-]], Tit = [[+]], Eit = [["local","本地","hard-drive"@@ -98243,7 +98256,7 @@ var e5 = {"online","在线","rss"-]], Eit = [+]], Dit = [["performers","艺人",@@ -98259,7 +98272,7 @@ var e5 = {"在线","rss"]-], Dit = [[+], Oit = [["cloud","标签云","tags"@@ -98267,8 +98280,8 @@ var e5 = {"alphabet","字母表","text-aa"-]], Oit = (e) => e === "compact" ? "compact" : "big";-function kit(e, t) {+]], kit = (e) => e === "compact" ? "compact" : "big";+function Ait(e, t) {let n = new URLSearchParams(t);return {kind: e,@@ -98286,44 +98299,44 @@ var t5 = (e, t, n) => so(e.map(([e, t, n]) => ({active: t,label: n,className: "indextabs"-}), Ait = (e) => `<div class="board-filter-frame" data-filter-frame>+}), jit = (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>- ${is("tag-view", "标签视图", Dit, e)}</div></div>`;-function jit({ kind: e, q: t, scope: n, view: r, category: i }, a) {- let o = e5[e] || "标签", s = e !== "tags", c = e === "studios" || e === "agencies", l = s ? is("people-layout", o + "索引版式", c ? Cit : Sit, a) : "";+ ${is("tag-view", "标签视图", Oit, e)}</div></div>`;+function Mit({ kind: e, q: t, scope: n, view: r, category: i }, a) {+ let o = e5[e] || "标签", s = e !== "tags", c = e === "studios" || e === "agencies", l = s ? is("people-layout", o + "索引版式", c ? wit : Cit, 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}- ${NI({+ ${PI({variant: "secondary",size: "small",label: "我的收藏",attrs: "data-shortcuts-trigger aria-disabled=\"true\" tabindex=\"-1\""})}- <div data-index-search class="ml-auto min-w-35 max-w-80 flex-1 max-board-narrow:order-1 max-board-narrow:basis-40">${MI("", t, "过滤" + o)}</div>+ <div data-index-search class="ml-auto min-w-35 max-w-80 flex-1 max-board-narrow:order-1 max-board-narrow:basis-40">${NI("", t, "过滤" + o)}</div></div>- ${e === "tags" ? t5(Tit, n, "词表") : e === "performers" || e === "creators" ? t5(Eit, e === "performers" && n === "online" ? "online" : e, "人物名册") : c ? t5(wit, e, "公司类型") : ""}- ${e === "tags" ? Ait(r) : ""}- ${e === "performers" && n !== "online" ? swe(i) : ""}+ ${e === "tags" ? t5(Eit, n, "词表") : e === "performers" || e === "creators" ? t5(Dit, e === "performers" && n === "online" ? "online" : e, "人物名册") : c ? t5(Tit, e, "公司类型") : ""}+ ${e === "tags" ? jit(r) : ""}+ ${e === "performers" && n !== "online" ? cwe(i) : ""}${So({kind: e,layout: a,mode: r})}`;}-var Mit = (e) => e.match(/data-skeleton="([^"]*)"/)?.[1] || "";-function Nit(e, t, n) {- let r = jit(t, n);- e.querySelector("[data-skeleton]")?.dataset.skeleton !== Mit(r) && (e.innerHTML = r, ko(e));+var Nit = (e) => e.match(/data-skeleton="([^"]*)"/)?.[1] || "";+function Pit(e, t, n) {+ let r = Mit(t, n);+ e.querySelector("[data-skeleton]")?.dataset.skeleton !== Nit(r) && (e.innerHTML = r, ko(e));}//#endregion//#region src/react/router/pages/index-entity.tsx-var Pit = () => Nc, Fit = () => vc, n5 = () => document.getElementById("index");+var Fit = () => Nc, Iit = () => vc, n5 = () => document.getElementById("index");function r5(e, t, n = {}) {- let r = (0, b.useSyncExternalStore)(Wc, Pit);- zD();- let i = aO(NO.navigation.location.pathname), a = (0, b.useRef)({+ let r = (0, b.useSyncExternalStore)(Wc, Fit);+ BD();+ let i = oO(PO.navigation.location.pathname), a = (0, b.useRef)({mounted: !0,epoch: -1,opens: -1,@@ -98348,7 +98361,7 @@ function r5(e, t, n = {}) {let t = a.current;if (!t.mounted) return;let n = t.epoch !== e || t.opens !== Nc, r = t.opens !== Nc;- if (t.epoch = e, t.opens = Nc, aO(NO.navigation.location.pathname)) {+ if (t.epoch = e, t.opens = Nc, oO(PO.navigation.location.pathname)) {n && o.current.options.onCovered?.();return;}@@ -98369,13 +98382,13 @@ function r5(e, t, n = {}) {i]);}-async function Iit(e, t, n, r) {+async function Lit(e, t, n, r) {let i = n5();if (!i) return;let a = `/${t}`;e.surfaceChanged("index", a);- let o = kit(t, n), s = Oit(lw().value.peopleLayout);- Nit(i, o, s), await CO(a, {+ let o = Ait(t, n), s = kit(uw().value.peopleLayout);+ Pit(i, o, s), await wO(a, {...o,layout: s,selectMode: vc,@@ -98385,23 +98398,23 @@ async function Iit(e, t, n, r) {isCurrent: r}) && r() && e.surfaceShown?.("index", a);}-function Lit(e) {- let t = n5(), n = t ? yO(t) : null;+function Rit(e) {+ let t = n5(), n = t ? bO(t) : null;return !!t && !t.hidden && !!n && n.path === e && n.host.isConnected;}-function Rit({ epoch: e }) {- let t = (0, b.useContext)(YL), n = zD(), r = n.pathname.split("/").filter(Boolean)[0];+function zit({ epoch: e }) {+ let t = (0, b.useContext)(YL), n = BD(), r = n.pathname.split("/").filter(Boolean)[0];return r5(e, (e, i) => {- t && Iit(t, r, n.search, i);- }, { shown: () => Lit(`/${r}`) }), null;+ t && Lit(t, r, n.search, i);+ }, { shown: () => Rit(`/${r}`) }), null;}-function zit() {- let e = JL(), t = (0, b.useSyncExternalStore)(Wc, Fit), n = (0, b.useRef)(t);+function Bit() {+ let e = JL(), t = (0, b.useSyncExternalStore)(Wc, Iit), n = (0, b.useRef)(t);return (0, b.useEffect)(() => {- n.current !== t && (n.current = t, window.location.pathname === "/tags" && wO(n5(), { selectMode: t }));- }, [t]), /* @__PURE__ */ (0, x.jsx)(Rit, { epoch: e }, e);+ n.current !== t && (n.current = t, window.location.pathname === "/tags" && TO(n5(), { selectMode: t }));+ }, [t]), /* @__PURE__ */ (0, x.jsx)(zit, { epoch: e }, e);}-function Bit(e) {+function Vit(e) {let t;try {t = decodeURIComponent(e);@@ -98415,9 +98428,9 @@ function Bit(e) {name: a} : null;}-var Vit = /* @__PURE__ */ new WeakMap();-function Hit(e) {- let t = Vit.get(e);+var Hit = /* @__PURE__ */ new WeakMap();+function Uit(e) {+ let t = Hit.get(e);return t || (t = {helpers: {...e.grid.helpers,@@ -98427,13 +98440,13 @@ function Hit(e) {...e.grid.actions,revealSource: e.revealSource}- }, Vit.set(e, t)), t;+ }, Hit.set(e, t)), t;}-function Uit() {- let e = n5(), t = e ? yO(e) : null;+function Wit() {+ let e = n5(), t = e ? bO(e) : null;return !!t && t.path.endsWith("/*") && t.host.isConnected;}-async function Wit(e, t, n, r, i, a, o) {+async function Git(e, t, n, r, i, a, o) {let s = n5();if (!s) return;let { segment: c, kind: l, name: u } = n;@@ -98448,7 +98461,7 @@ async function Wit(e, t, n, r, i, a, o) {}, h = t.props(l, u, i), g = {...h,hosts: m,- card: Hit(e),+ card: Uit(e),resolvedEntity: o,actions: {...h.actions,@@ -98457,17 +98470,17 @@ async function Wit(e, t, n, r, i, a, o) {}}};- await CO(`/${c}/*`, g, {+ await wO(`/${c}/*`, g, {container: s,isCurrent: a,place: (e) => (e.replaceChildren(...f), p.firstElementChild)- }) && a() && Uit() && (e.surfaceShown?.("entity", r), window.scrollTo({+ }) && a() && Wit() && (e.surfaceShown?.("entity", r), window.scrollTo({top: 0,behavior: "smooth"}));}-function Git({ target: e }) {- let t = (0, b.useContext)(YL), n = JL(), r = zD();+function Kit({ target: e }) {+ let t = (0, b.useContext)(YL), n = JL(), r = BD();return r5(n, (n, i) => {let a = t?.entity;t && a && (async () => {@@ -98484,9 +98497,9 @@ function Git({ target: e }) {}).catch(() => null);if (!i()) return;if (s?.redirect) {- PO(It(s.redirect.kind, s.redirect.name, s.redirect.id) + r.search + r.hash, {+ FO(It(s.redirect.kind, s.redirect.name, s.redirect.id) + r.search + r.hash, {replace: !0,- state: NO.navigation.location.state+ state: PO.navigation.location.state});return;}@@ -98495,37 +98508,37 @@ function Git({ target: e }) {return;}let c = String(s.canonical_name || e.name), l = It(e.kind, c, Number(s.id));- l === r.pathname ? (n || !a.refresh(e.kind, c, r.search)) && Wit(t, a, {+ l === r.pathname ? (n || !a.refresh(e.kind, c, r.search)) && Git(t, a, {...e,name: c- }, r.pathname, r.search, i, s) : PO(l + r.search + r.hash, {+ }, r.pathname, r.search, i, s) : FO(l + r.search + r.hash, {replace: !0,- state: NO.navigation.location.state+ state: PO.navigation.location.state});})();- }, { shown: () => Uit() && !n5()?.hidden }), null;+ }, { shown: () => Wit() && !n5()?.hidden }), null;}-function Kit() {- let e = Bit(zD().pathname);- return e ? /* @__PURE__ */ (0, x.jsx)(Git, { target: e }, JSON.stringify([e.kind, e.name])) : null;+function qit() {+ let e = Vit(BD().pathname);+ return e ? /* @__PURE__ */ (0, x.jsx)(Kit, { target: e }, JSON.stringify([e.kind, e.name])) : null;}//#endregion//#region src/react/router/pages/catalog.tsx-var qit = () => Nc, Jit = NO.navigation.seq, Yit = NO.navigation.openEpoch, i5 = NO.navigation.location.pathname, a5 = {- seq: Jit,+var Jit = () => Nc, Yit = PO.navigation.seq, Xit = PO.navigation.openEpoch, i5 = PO.navigation.location.pathname, a5 = {+ seq: Yit,claimed: !0,from: i5};-NO.listen((e) => {+PO.listen((e) => {a5 = {seq: e.seq,- claimed: e.openEpoch === Yit,+ claimed: e.openEpoch === Xit,from: i5- }, Yit = e.openEpoch, i5 = e.location.pathname;+ }, Xit = e.openEpoch, i5 = e.location.pathname;});var o5 = !1;-function Xit(e) {- let { seq: t, openEpoch: n, location: r } = NO.navigation, i = aO(r.pathname), a = IO() ?? r, o = W ?? {};+function Zit(e) {+ let { seq: t, openEpoch: n, location: r } = PO.navigation, i = oO(r.pathname), a = LO() ?? r, o = W ?? {};return {seq: t,epoch: n,@@ -98536,7 +98549,7 @@ function Xit(e) {opened: e};}-function Zit(e, t, n, r) {+function Qit(e, t, n, r) {let i = { ...W };if (e === "/trash") return {...i,@@ -98547,7 +98560,7 @@ function Zit(e, t, n, r) {state: "trash",q: ""};- let a = new URLSearchParams(t), { defaultSort: o, defaultSortDirection: s } = lw().value;+ let a = new URLSearchParams(t), { defaultSort: o, defaultSortDirection: s } = uw().value;return {...i,loc: a.get("loc") ?? r.defaultLoc(),@@ -98561,7 +98574,7 @@ function Zit(e, t, n, r) {dur_max: a.get("dur_max") || "",orient: a.get("orient") || "",state: jt[e] || a.get("state") || "",- ...WC(a.get("sort"), a.get("dir"), o, s),+ ...GC(a.get("sort"), a.get("dir"), o, s),seed: a.get("seed") || (n ? sn() : i.seed || sn()),q: a.get("q") || "",jav: a.get("jav") || "",@@ -98569,13 +98582,13 @@ function Zit(e, t, n, r) {series: a.get("series") || ""};}-function Qit(e, t) {- let n = { ...e }, r = Xit(n.opened);+function $it(e, t) {+ let n = { ...e }, r = Zit(n.opened);Object.assign(e, r);let i = t.catalog;if (!i || r.opens === 0) return;if (r.covered) {- IO() || i.fill();+ LO() || i.fill();return;}let a = !1;@@ -98585,41 +98598,41 @@ function Qit(e, t) {i.load();return;}- r.epoch !== n.epoch && (a = NO.navigation.action === "POP" && a5.from !== "/");+ r.epoch !== n.epoch && (a = PO.navigation.action === "POP" && a5.from !== "/");}- let { pathname: o, search: s } = NO.navigation.location;+ let { pathname: o, search: s } = PO.navigation.location;if (o === "/" && new URLSearchParams(s).get("state") === "ads") {let { kind: e, view: t } = XR(s);- o5 = !0, PO(ZR(e, t), { replace: !0 });+ o5 = !0, FO(ZR(e, t), { replace: !0 });return;}let c = o5;- o5 = !1, a &&= o === "/", e.opened = !0, Hc({ state: Zit(o, s, a, i) }), i.open(o, {+ o5 = !1, a &&= o === "/", e.opened = !0, Hc({ state: Qit(o, s, a, i) }), i.open(o, {entering: a,retitle: c});}-function $it(e) {- return Nt(e) || e === "/trash" || aO(e) || e === "/immerse" || !!Bit(e);+function eat(e) {+ return Nt(e) || e === "/trash" || oO(e) || e === "/immerse" || !!Vit(e);}-function eat() {- let e = (0, b.useContext)(YL), t = JL(), n = (0, b.useSyncExternalStore)(Wc, qit), r = zD(), i = (0, b.useRef)(null), a = (0, b.useRef)({+function tat() {+ let e = (0, b.useContext)(YL), t = JL(), n = (0, b.useSyncExternalStore)(Wc, Jit), r = BD(), i = (0, b.useRef)(null), a = (0, b.useRef)({mounted: !0,queued: !1});return (0, b.useEffect)(() => {let t = a.current;t.mounted = !0;- let n = Xit(!aO(NO.navigation.location.pathname));- return !n.covered && n.opens > 0 && (o5 || a5.seq === Jit ? n.opens = -1 : a5.claimed ? n.seq = -1 : n.epoch = -1), i.current = n, () => {+ let n = Zit(!oO(PO.navigation.location.pathname));+ return !n.covered && n.opens > 0 && (o5 || a5.seq === Yit ? n.opens = -1 : a5.claimed ? n.seq = -1 : n.epoch = -1), i.current = n, () => {t.mounted = !1, queueMicrotask(() => {- e?.catalog && !$it(NO.navigation.location.pathname) && e.catalog.release();+ e?.catalog && !eat(PO.navigation.location.pathname) && e.catalog.release();});};}, []), (0, b.useEffect)(() => {let t = a.current;!t.queued && e && (t.queued = !0, queueMicrotask(() => {- t.queued = !1, t.mounted && i.current && Qit(i.current, e);+ t.queued = !1, t.mounted && i.current && $it(i.current, e);}));}, [t,@@ -98628,8 +98641,8 @@ function eat() {e]), null;}-function tat() {- let { pathname: e, search: t } = zD();+function nat() {+ let { pathname: e, search: t } = BD();(0, b.useLayoutEffect)(() => {if (e !== "/wall") return;document.body.setAttribute("data-wall-open", ""), document.documentElement.removeAttribute("data-wall-entry");@@ -98647,28 +98660,28 @@ function tat() {if (r) return r.hidden = !i, () => {r.hidden = !0;};- }, [r, i]), aO(e) && !iO(e) ? null : /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(eat, {}, e === "/junk-files" ? "/junk-files" : "/"), i && r && n ? (0, mt.createPortal)(/* @__PURE__ */ (0, x.jsx)(hje, {+ }, [r, i]), oO(e) && !aO(e) ? null : /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(tat, {}, e === "/junk-files" ? "/junk-files" : "/"), i && r && n ? (0, mt.createPortal)(/* @__PURE__ */ (0, x.jsx)(gje, {navigate: n.navigate,receipt: (e) => n.receipt(e)}), r) : null] });}//#endregion//#region src/react/router/pages/follow.tsx-var s5 = () => document.getElementById("stats"), nat = () => zc;-function rat(e) {+var s5 = () => document.getElementById("stats"), rat = () => zc;+function iat(e) {let t = document.createElement("div");return t.className = "peach-react", yo(e, () => {e.textContent = "", e.append(t);}), t;}-async function iat(e, t) {+async function aat(e, t) {let n = s5(), r = e.follow;if (!n || !r || r.refresh()) return;let i = Rc;- e.surfaceChanged("follow", "/follow"), lV(n, r.skeleton()), await CO("/follow", r.props(), {+ e.surfaceChanged("follow", "/follow"), uV(n, r.skeleton()), await wO("/follow", r.props(), {container: n,isCurrent: t,- place: rat+ place: iat}), t() && window.scrollTo(i ? {top: i,behavior: "instant"@@ -98677,32 +98690,32 @@ async function iat(e, t) {behavior: "smooth"});}-function aat() {- let e = s5(), t = e ? yO(e) : null;+function oat() {+ let e = s5(), t = e ? bO(e) : null;return !!e && !e.hidden && !!t && t.path === "/follow" && t.host.isConnected;}-function oat() {+function sat() {let e = (0, b.useContext)(YL);return r5(JL(), (t, n) => {- e && iat(e, n);+ e && aat(e, n);}, {- shown: aat,+ shown: oat,onCovered: () => {- NO.navigation.location.pathname.startsWith("/posts/") && e?.follow?.ground();+ PO.navigation.location.pathname.startsWith("/posts/") && e?.follow?.ground();}}), null;}-function sat(e) {- let t = e ? yO(e) : null;+function cat(e) {+ let t = e ? bO(e) : null;return !!t && t.path === "/playlists" && t.host.isConnected;}-async function cat(e, t) {+async function lat(e, t) {let n = s5();- n && (e.surfaceChanged("playlists", "/playlists"), lV(n, sV("/playlists", {+ n && (e.surfaceChanged("playlists", "/playlists"), uV(n, cV("/playlists", {followLayout: "",followSort: "",followDir: ""- })), await CO("/playlists", { revision: zc }, {+ })), await wO("/playlists", { revision: zc }, {container: n,isCurrent: t}), t() && window.scrollTo({@@ -98710,46 +98723,46 @@ async function cat(e, t) {behavior: "smooth"}));}-function lat() {- let e = (0, b.useContext)(YL), t = (0, b.useSyncExternalStore)(Wc, nat), n = (0, b.useRef)(t);+function uat() {+ let e = (0, b.useContext)(YL), t = (0, b.useSyncExternalStore)(Wc, rat), n = (0, b.useRef)(t);return (0, b.useEffect)(() => {if (n.current === t) return;n.current = t;let e = s5();- sat(e) && wO(e, { revision: t });+ cat(e) && TO(e, { revision: t });}, [t]), r5(JL(), (t, n) => {- e && cat(e, n);+ e && lat(e, n);}, { shown: () => {let e = s5();- return sat(e) && !e.hidden;+ return cat(e) && !e.hidden;} }), null;}//#endregion//#region src/react/router/pages/immerse.tsx-function uat() {- let e = new URLSearchParams(NO.navigation.location.search).get("id");+function dat() {+ let e = new URLSearchParams(PO.navigation.location.search).get("id");return /^\d+$/.test(e || "") ? Number(e) : void 0;}-function dat() {+function fat() {let e = (0, b.useContext)(YL);return qL(() => {- e?.openImmerse(uat());+ e?.openImmerse(dat());}, !0), null;}-function fat() {- return /* @__PURE__ */ (0, x.jsx)(dat, {}, JL());+function pat() {+ return /* @__PURE__ */ (0, x.jsx)(fat, {}, JL());}//#endregion//#region src/react/router/pages/managed.tsx-var pat = [+var mat = ["list","add","feeds"-], mat = () => Nc > 0, hat = () => (0, b.useSyncExternalStore)(Wc, mat), c5 = !1, gat = () => lw().value.followLayout === "table" ? "table" : "default", l5 = () => new URLSearchParams(window.location.search);-function _at(e) {+], hat = () => Nc > 0, gat = () => (0, b.useSyncExternalStore)(Wc, hat), c5 = !1, _at = () => uw().value.followLayout === "table" ? "table" : "default", l5 = () => new URLSearchParams(window.location.search);+function vat(e) {let t = l5();- return sV(e, {- followLayout: gat(),+ return cV(e, {+ followLayout: _at(),followSort: t.get("sort") || "",followDir: t.get("dir") || ""});@@ -98760,14 +98773,14 @@ function u5(e) {throw e;});}-function vat(e, t) {+function yat(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 yat(e, t) {+async function bat(e, t) {if (e === "/jav") {let e = await u5(t);return t.live ? {@@ -98782,30 +98795,30 @@ async function yat(e, t) {}if (e.startsWith("/settings/")) {window.location.hash === "#peachProxy" && Hc({ configurationRequestedSection: "网络与访问" });- let t = l5().get("section") || Ac || Tme(e);+ let t = l5().get("section") || Ac || wme(e);return t ? { section: t } : {};}if (e === "/review") {let e = l5().get("category") || "", n = await u5(t);return t.live ? {- category: SF(e) ? e : "",- ...vat(n, "/review")+ category: CF(e) ? e : "",+ ...yat(n, "/review")} : null;}if (e === "/subscriptions") {let e = l5(), n = e.get("tab") || "", r = {- tab: pat.includes(n) ? n : "list",+ tab: mat.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 u5(t);if (!t.live) return null;- let a = lw().value;+ let a = uw().value;return {...r,pageSize: Number(a.followPageSize) || 20,- layout: gat(),- ...vat(i, "/subscriptions")+ layout: _at(),+ ...yat(i, "/subscriptions")};}return {};@@ -98817,23 +98830,23 @@ var d5 = () => {});}, f5 = (e) => {document.getElementById(e)?.scrollIntoView({ block: "start" });-}, bat = /* @__PURE__ */ new Set(["/stats", "/taste"]), xat = /* @__PURE__ */ new Set([+}, xat = /* @__PURE__ */ new Set(["/stats", "/taste"]), Sat = /* @__PURE__ */ new Set(["/review","/quality-goals","/tasks","/subscriptions"]);-async function Sat(e, t, n) {+async function Cat(e, t, n) {if (e === "/jav" && $R(l5().get("tab")) === "library") {- NO.replace(wAe(window.location.search));+ PO.replace(TAe(window.location.search));return;}if (e === "/subscriptions" && l5().get("tab") === "wants") {- PO("/jav?tab=wants", { replace: !0 });+ FO("/jav?tab=wants", { replace: !0 });return;}if (e === "/subscriptions" && l5().get("tab") === "source") {- PO("/settings/subscriptions", { replace: !0 });+ FO("/settings/subscriptions", { replace: !0 });return;}let r = document.getElementById("stats");@@ -98857,17 +98870,17 @@ async function Sat(e, t, n) {jav: ""} }), t.clearSearch());let i = e === "/data-cleanup" && c5;- i && (c5 = !1), lV(r, _at(e));- let a = await yat(e, n);+ i && (c5 = !1), uV(r, vat(e));+ let a = await bat(e, n);if (!a) return;- let o = await CO(e, a, {+ let o = await wO(e, a, {container: r,isCurrent: () => n.live});- if (o && (n.revision = yO(r)?.revision ?? 0), e.startsWith("/settings/") && o && Hc({ configurationRequestedSection: "" }), bat.has(e) && d5(), n.live) {+ if (o && (n.revision = bO(r)?.revision ?? 0), e.startsWith("/settings/") && o && Hc({ configurationRequestedSection: "" }), xat.has(e) && d5(), n.live) {let { hash: t } = window.location;- xat.has(e) && d5(), e === "/settings/library" && (t === "#libraryProcessing" ? queueMicrotask(() => {- n.live && PO("/data-cleanup#libraryProcessing", {+ Sat.has(e) && d5(), e === "/settings/library" && (t === "#libraryProcessing" ? queueMicrotask(() => {+ n.live && FO("/data-cleanup#libraryProcessing", {replace: !0,state: null});@@ -98877,15 +98890,15 @@ async function Sat(e, t, n) {}function p5({ path: e }) {let t = JL();- zD();- let n = aO(NO.navigation.location.pathname), r = (0, b.useRef)(n ? null : t), i = (0, b.useRef)(n);- return !n && (!i.current || r.current === null) && (r.current = t), i.current = n, /* @__PURE__ */ (0, x.jsx)(Cat, {+ BD();+ let n = oO(PO.navigation.location.pathname), r = (0, b.useRef)(n ? null : t), i = (0, b.useRef)(n);+ return !n && (!i.current || r.current === null) && (r.current = t), i.current = n, /* @__PURE__ */ (0, x.jsx)(wat, {path: e,covered: r.current === null}, `${e} ${r.current ?? "covered"}`);}-function Cat({ path: e, covered: t }) {- let n = (0, b.useContext)(YL), r = hat(), i = (0, b.useRef)(null);+function wat({ path: e, covered: t }) {+ let n = (0, b.useContext)(YL), r = gat(), i = (0, b.useRef)(null);return (0, b.useEffect)(() => {if (t || !n || !r || i.current) return;let a = {@@ -98894,7 +98907,7 @@ function Cat({ path: e, covered: t }) {controller: new AbortController()};i.current = a, queueMicrotask(() => {- a.live && Sat(e, n, a);+ a.live && Cat(e, n, a);});}, [r]), (0, b.useEffect)(() => () => {let e = i.current;@@ -98902,18 +98915,18 @@ function Cat({ path: e, covered: t }) {e.live = !1, e.controller.abort();let t = document.getElementById("stats");queueMicrotask(() => {- t && e.revision && !t.hidden && yO(t)?.revision === e.revision && TO(t);+ t && e.revision && !t.hidden && bO(t)?.revision === e.revision && EO(t);});}, []), null;}-function wat() {- let e = hat(), t = (0, b.useRef)(!1);+function Tat() {+ let e = gat(), t = (0, b.useRef)(!1);return (0, b.useEffect)(() => {- if (!e || t.current || aO(NO.navigation.location.pathname)) return;+ if (!e || t.current || oO(PO.navigation.location.pathname)) return;t.current = !0;let n = !0;return queueMicrotask(() => {- n && (c5 = !0, PO("/data-cleanup#resource-sync", { replace: !0 }));+ n && (c5 = !0, FO("/data-cleanup#resource-sync", { replace: !0 }));}), () => {n = !1;};@@ -98921,7 +98934,7 @@ function wat() {}//#endregion//#region src/react/router/managed-routes.tsx-function Tat(e, t, n) {+function Eat(e, t, n) {if (e === "duplicates") {n("/duplicates");return;@@ -98940,8 +98953,8 @@ var m5 = (e) => ({}), h5 = {"/jav": {element: /* @__PURE__ */ (0, x.jsx)(p5, { path: "/jav" }),- prefetch: (e, t) => pje(e.tab, t),- page: (e, t) => /* @__PURE__ */ (0, x.jsx)(_je, {+ prefetch: (e, t) => mje(e.tab, t),+ page: (e, t) => /* @__PURE__ */ (0, x.jsx)(vje, {...e,navigate: t.navigate,receipt: (e) => t.receipt(e)@@ -98950,7 +98963,7 @@ var m5 = (e) => ({"/stats": {element: /* @__PURE__ */ (0, x.jsx)(p5, { path: "/stats" }),prefetch: (e, t) => _Le(t),- page: (e, t, n) => /* @__PURE__ */ (0, x.jsx)(dnt, {+ page: (e, t, n) => /* @__PURE__ */ (0, x.jsx)(fnt, {tagLabel: rc,onTag: t.openTag,configurable: e.configurable,@@ -98961,8 +98974,8 @@ var m5 = (e) => ({},"/taste": {element: /* @__PURE__ */ (0, x.jsx)(p5, { path: "/taste" }),- prefetch: (e, t) => Wnt("all", t),- page: (e, t, n) => /* @__PURE__ */ (0, x.jsx)(bit, {+ prefetch: (e, t) => Gnt("all", t),+ page: (e, t, n) => /* @__PURE__ */ (0, x.jsx)(xit, {onSignal: t.openTasteSignal,navigate: n,toast: (e) => t.receipt(e),@@ -98972,7 +98985,7 @@ var m5 = (e) => ({"/review": {element: /* @__PURE__ */ (0, x.jsx)(p5, { path: "/review" }),prefetch: (e, t) => Sxe(t),- page: (e, t) => /* @__PURE__ */ (0, x.jsx)(dMe, {+ page: (e, t) => /* @__PURE__ */ (0, x.jsx)(fMe, {...e,route: t.routeReview,openItem: t.openItem,@@ -98984,16 +98997,16 @@ var m5 = (e) => ({"/data-cleanup": {element: /* @__PURE__ */ (0, x.jsx)(p5, { path: "/data-cleanup" }),prefetch: (e, t) => cSe(t),- page: (e, t, n) => /* @__PURE__ */ (0, x.jsx)(GCe, {+ page: (e, t, n) => /* @__PURE__ */ (0, x.jsx)(KCe, {failure: t.failure,- open: (e) => Tat(e, t, n),+ open: (e) => Eat(e, t, n),toast: (e, { warning: n = !1 } = {}) => n ? t.toast({ text: e }, { sound: "warning" }) : t.receipt(e)})},"/duplicates": {element: /* @__PURE__ */ (0, x.jsx)(p5, { path: "/duplicates" }),prefetch: (e, t) => zbe(t),- page: (e, t) => /* @__PURE__ */ (0, x.jsx)(zDe, {+ page: (e, t) => /* @__PURE__ */ (0, x.jsx)(BDe, {openItem: t.openItem,failure: t.failure,toast: (e, { undo: n } = {}) => t.receipt(e, n ? { undo: n } : {})@@ -99002,18 +99015,18 @@ var m5 = (e) => ({"/quality-goals": {element: /* @__PURE__ */ (0, x.jsx)(p5, { path: "/quality-goals" }),prefetch: (e, t) => rxe(t),- page: (e, t) => /* @__PURE__ */ (0, x.jsx)(Uje, {+ page: (e, t) => /* @__PURE__ */ (0, x.jsx)(Wje, {openItem: t.openItem,- javTitleHtml: RO,- javDisplayName: LO,+ javTitleHtml: zO,+ javDisplayName: RO,toast: (e) => t.receipt(e),srcBadge: t.srcBadge})},"/sources": {element: /* @__PURE__ */ (0, x.jsx)(p5, { path: "/sources" }),- prefetch: (e, t) => TMe(t),- page: (e, t) => /* @__PURE__ */ (0, x.jsx)(HMe, { toast: (e) => t.toast(e) })+ prefetch: (e, t) => EMe(t),+ page: (e, t) => /* @__PURE__ */ (0, x.jsx)(UMe, { toast: (e) => t.toast(e) })},"/settings/library": m5("/settings/library"),"/settings/subscriptions": m5("/settings/subscriptions"),@@ -99022,13 +99035,13 @@ var m5 = (e) => ({"/settings/maintenance": m5("/settings/maintenance"),"/diagnostics": {element: /* @__PURE__ */ (0, x.jsx)(p5, { path: "/diagnostics" }),- prefetch: (e, t) => HDe(t),- page: (e, t, n) => /* @__PURE__ */ (0, x.jsx)(qDe, {+ prefetch: (e, t) => UDe(t),+ page: (e, t, n) => /* @__PURE__ */ (0, x.jsx)(JDe, {navigate: n,openItem: t.openItem,receipt: (e) => t.receipt(e),configure: (e) => {- t.requestConfigurationSection(e), n(eO(e));+ t.requestConfigurationSection(e), n(tO(e));}})},@@ -99040,7 +99053,7 @@ var m5 = (e) => ({"/subscriptions": {element: /* @__PURE__ */ (0, x.jsx)(p5, { path: "/subscriptions" }),prefetch: (e, t) => Pr(t, e.tab),- page: (e, t) => /* @__PURE__ */ (0, x.jsx)(Ake, {+ page: (e, t) => /* @__PURE__ */ (0, x.jsx)(jke, {...e,route: t.routeFollowManage,savePreference: t.saveFollowPreference,@@ -99049,11 +99062,11 @@ var m5 = (e) => ({openServiceConfiguration: () => t.navigate("/settings/subscriptions")})}-}, g5 = (e) => Object.hasOwn(h5, e), Eat = { "/resource-sync": { element: /* @__PURE__ */ (0, x.jsx)(wat, {}) } }, Dat = { "/immerse": { element: /* @__PURE__ */ (0, x.jsx)(fat, {}) } }, _5 = {+}, g5 = (e) => Object.hasOwn(h5, e), Dat = { "/resource-sync": { element: /* @__PURE__ */ (0, x.jsx)(Tat, {}) } }, Oat = { "/immerse": { element: /* @__PURE__ */ (0, x.jsx)(pat, {}) } }, _5 = {"/playlists": {- element: /* @__PURE__ */ (0, x.jsx)(lat, {}),- prefetch: (e, t) => wje(t),- page: (e, t) => /* @__PURE__ */ (0, x.jsx)(Vje, {+ element: /* @__PURE__ */ (0, x.jsx)(uat, {}),+ prefetch: (e, t) => Tje(t),+ page: (e, t) => /* @__PURE__ */ (0, x.jsx)(Hje, {revision: e.revision,openPlaylist: t.openPlaylist,openEntity: t.openEntity,@@ -99062,14 +99075,14 @@ var m5 = (e) => ({})},"/follow": {- element: /* @__PURE__ */ (0, x.jsx)(oat, {}),+ element: /* @__PURE__ */ (0, x.jsx)(sat, {}),prefetch: (e, t) => ni(e, t),- page: (e) => /* @__PURE__ */ (0, x.jsx)(bTe, { ...e })+ page: (e) => /* @__PURE__ */ (0, x.jsx)(xTe, { ...e })}-}, Oat = (e) => Object.hasOwn(_5, e), v5 = {- element: /* @__PURE__ */ (0, x.jsx)(zit, {}),- prefetch: (e, t) => Twe(e, t),- page: (e, t) => /* @__PURE__ */ (0, x.jsx)(Jke, {+}, kat = (e) => Object.hasOwn(_5, e), v5 = {+ element: /* @__PURE__ */ (0, x.jsx)(Bit, {}),+ prefetch: (e, t) => Ewe(e, t),+ page: (e, t) => /* @__PURE__ */ (0, x.jsx)(Yke, {...e,route: t.routeIndex,savePreference: t.savePeopleLayout,@@ -99089,9 +99102,9 @@ var m5 = (e) => ({"/agencies": v5,"/tags": v5}, b5 = {- element: /* @__PURE__ */ (0, x.jsx)(Kit, {}),- prefetch: (e) => awe(e),- page: (e) => /* @__PURE__ */ (0, x.jsx)(EDe, { ...e })+ element: /* @__PURE__ */ (0, x.jsx)(qit, {}),+ prefetch: (e) => owe(e),+ page: (e) => /* @__PURE__ */ (0, x.jsx)(DDe, { ...e })}, x5 = {"/performers/*": b5,"/studios/*": b5,@@ -99101,48 +99114,48 @@ var m5 = (e) => ({"/tags/*": b5}, S5 = {"/": {- element: /* @__PURE__ */ (0, x.jsx)(tat, {}),- prefetch: (e, t) => Jde(e, t),- page: (e) => /* @__PURE__ */ (0, x.jsx)(KP, { ...e })+ element: /* @__PURE__ */ (0, x.jsx)(nat, {}),+ prefetch: (e, t) => qde(e, t),+ page: (e) => /* @__PURE__ */ (0, x.jsx)(qP, { ...e })},"/junk-files": {- element: /* @__PURE__ */ (0, x.jsx)(tat, {}),+ element: /* @__PURE__ */ (0, x.jsx)(nat, {}),prefetch: async () => {},- page: (e) => /* @__PURE__ */ (0, x.jsx)(_Ae, { ...e })+ page: (e) => /* @__PURE__ */ (0, x.jsx)(vAe, { ...e })}-}, kat = (e) => Object.hasOwn(S5, e), Aat = (e) => e.mode === "notice" ? /* @__PURE__ */ (0, x.jsx)(xje, { ...e }) : /* @__PURE__ */ (0, x.jsx)(tL, { ...e }), jat = {+}, Aat = (e) => Object.hasOwn(S5, e), jat = (e) => e.mode === "notice" ? /* @__PURE__ */ (0, x.jsx)(Sje, { ...e }) : /* @__PURE__ */ (0, x.jsx)(WSe, { ...e }), Mat = {"catalog-filter": {prefetch: async () => {},page: (e) => /* @__PURE__ */ (0, x.jsx)(Fye, { ...e })},"feed-new": {- prefetch: (e) => ZCe(e),- page: (e) => /* @__PURE__ */ (0, x.jsx)(JDe, { ...e })+ prefetch: (e) => QCe(e),+ page: (e) => /* @__PURE__ */ (0, x.jsx)(YDe, { ...e })},"library-processing": {- prefetch: (e, t) => aF(t),- page: (e) => /* @__PURE__ */ (0, x.jsx)(Aat, { ...e })+ prefetch: (e, t) => oF(t),+ page: (e) => /* @__PURE__ */ (0, x.jsx)(jat, { ...e })},search: {prefetch: async () => {},page: (e) => /* @__PURE__ */ (0, x.jsx)(YMe, { ...e })}-}, Mat = (e) => Object.hasOwn(jat, e), Nat = {+}, Nat = (e) => Object.hasOwn(Mat, e), Pat = {"batch-dock": {prefetch: async () => {},- page: () => /* @__PURE__ */ (0, x.jsx)(Yle, {})+ page: () => /* @__PURE__ */ (0, x.jsx)(Jle, {})},"glow-picker": {prefetch: async () => {},- page: () => /* @__PURE__ */ (0, x.jsx)(Kue, {})+ page: () => /* @__PURE__ */ (0, x.jsx)(Gue, {})},"manage-header": {prefetch: async () => {},- page: () => /* @__PURE__ */ (0, x.jsx)(upe, {})+ page: () => /* @__PURE__ */ (0, x.jsx)(lpe, {})},immerse: {prefetch: async () => {},- page: () => /* @__PURE__ */ (0, x.jsx)($fe, {})+ page: () => /* @__PURE__ */ (0, x.jsx)(Qfe, {})},"settings-panel": {prefetch: async () => {},@@ -99156,7 +99169,7 @@ var m5 = (e) => ({prefetch: async () => {},page: () => /* @__PURE__ */ (0, x.jsx)(hLe, {})}-}, Pat = (e) => Object.hasOwn(Nat, e), Fat = [+}, Fat = (e) => Object.hasOwn(Pat, e), Iat = ["/","/wall","/unseen",@@ -99170,40 +99183,40 @@ var m5 = (e) => ({...Object.keys(_5),...Object.keys(y5),...Object.keys(x5),- ...Fat+ ...Iat];-var Iat = (e) => g5(e) || Oat(e) || Object.hasOwn(y5, e) || Object.hasOwn(x5, e) || kat(e) || Mat(e) || Pat(e);-function Lat(e) {- return g5(e) ? h5[e] : Oat(e) ? _5[e] : kat(e) ? S5[e] : Mat(e) ? jat[e] : Pat(e) ? Nat[e] : Object.hasOwn(y5, e) ? y5[e] : x5[e];+var Lat = (e) => g5(e) || kat(e) || Object.hasOwn(y5, e) || Object.hasOwn(x5, e) || Aat(e) || Nat(e) || Fat(e);+function Rat(e) {+ return g5(e) ? h5[e] : kat(e) ? _5[e] : Aat(e) ? S5[e] : Nat(e) ? Mat[e] : Fat(e) ? Pat[e] : Object.hasOwn(y5, e) ? y5[e] : x5[e];}-function Rat(e, t, n) {- return Iat(e) ? Lat(e).prefetch(t, n) : Promise.reject(/* @__PURE__ */ Error(`路由树里没有这一页:${e}`));+function zat(e, t, n) {+ return Lat(e) ? Rat(e).prefetch(t, n) : Promise.reject(/* @__PURE__ */ Error(`路由树里没有这一页:${e}`));}-function zat(e, t, n, r) {- return Lat(e).page(t, n, r);+function Bat(e, t, n, r) {+ return Rat(e).page(t, n, r);}//#endregion//#region node_modules/sonner/dist/index.mjs-function Bat(e) {+function Vat(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 Vat = (e) => {+var Hat = (e) => {switch (e) {- case "success": return Wat;- case "info": return Kat;- case "warning": return Gat;- case "error": return qat;+ case "success": return Gat;+ case "info": return qat;+ case "warning": return Kat;+ case "error": return Jat;default: return null;}-}, Hat = Array(12).fill(0), Uat = ({ visible: e, className: t }) => /*#__PURE__*/ b.createElement("div", {+}, Uat = Array(12).fill(0), Wat = ({ visible: e, className: t }) => /*#__PURE__*/ b.createElement("div", {className: ["sonner-loading-wrapper", t].filter(Boolean).join(" "),"data-visible": e-}, /*#__PURE__*/ b.createElement("div", { className: "sonner-spinner" }, Hat.map((e, t) => /*#__PURE__*/ b.createElement("div", {+}, /*#__PURE__*/ b.createElement("div", { className: "sonner-spinner" }, Uat.map((e, t) => /*#__PURE__*/ b.createElement("div", {className: "sonner-loading-bar",key: `spinner-bar-${t}`-})))), Wat = /*#__PURE__*/ b.createElement("svg", {+})))), Gat = /*#__PURE__*/ b.createElement("svg", {xmlns: "http://www.w3.org/2000/svg",viewBox: "0 0 20 20",fill: "currentColor",@@ -99214,7 +99227,7 @@ var Vat = (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"-})), Gat = /*#__PURE__*/ b.createElement("svg", {+})), Kat = /*#__PURE__*/ b.createElement("svg", {xmlns: "http://www.w3.org/2000/svg",viewBox: "0 0 24 24",fill: "currentColor",@@ -99225,7 +99238,7 @@ var Vat = (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"-})), Kat = /*#__PURE__*/ b.createElement("svg", {+})), qat = /*#__PURE__*/ b.createElement("svg", {xmlns: "http://www.w3.org/2000/svg",viewBox: "0 0 20 20",fill: "currentColor",@@ -99236,7 +99249,7 @@ var Vat = (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"-})), qat = /*#__PURE__*/ b.createElement("svg", {+})), Jat = /*#__PURE__*/ b.createElement("svg", {xmlns: "http://www.w3.org/2000/svg",viewBox: "0 0 20 20",fill: "currentColor",@@ -99247,7 +99260,7 @@ var Vat = (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"-})), Jat = /*#__PURE__*/ b.createElement("svg", {+})), Yat = /*#__PURE__*/ b.createElement("svg", {xmlns: "http://www.w3.org/2000/svg",width: "12",height: "12",@@ -99268,7 +99281,7 @@ var Vat = (e) => {y1: "6",x2: "18",y2: "18"-})), Yat = () => {+})), Xat = () => {let [e, t] = b.useState(document.hidden);return b.useEffect(() => {let e = () => {@@ -99276,7 +99289,7 @@ var Vat = (e) => {};return document.addEventListener("visibilitychange", e), () => document.removeEventListener("visibilitychange", e);}, []), e;-}, Xat = 1, Zat = 100, Qat = (e) => typeof e?.id == "number" || e?.id?.length > 0 ? e.id : Xat++, C5 = new class {+}, Zat = 1, Qat = 100, $at = (e) => typeof e?.id == "number" || e?.id?.length > 0 ? e.id : Zat++, C5 = new class {constructor() {this.subscribe = (e) => (this.subscribers.push(e), this.getActiveToasts().forEach((t) => e(t)), () => {let t = this.subscribers.indexOf(e);@@ -99286,10 +99299,10 @@ var Vat = (e) => {}, this.addToast = (e) => {this.publish(e), this.toasts = [...this.toasts, e], this.trimHistory();}, this.trimHistory = () => {- let e = this.toasts.length - Zat;+ let e = this.toasts.length - Qat;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 = Qat(e), i = this.pendingDismissals.get(r);+ let { message: t, ...n } = e, r = $at(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({@@ -99364,7 +99377,7 @@ var Vat = (e) => {type: "default",message: e});- else if (eot(e) && !e.ok) {+ else if (tot(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" && !b.isValidElement(r) ? r : { message: r };this.create({@@ -99408,7 +99421,7 @@ var Vat = (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 = Qat(t);+ let n = $at(t);return this.create({...t,jsx: e(n),@@ -99417,7 +99430,7 @@ var Vat = (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();}-}(), $at = (e, t) => C5.message(e, t), eot = (e) => e && typeof e == "object" && "ok" in e && typeof e.ok == "boolean" && "status" in e && typeof e.status == "number", tot = Object.assign($at, {+}(), eot = (e, t) => C5.message(e, t), tot = (e) => e && typeof e == "object" && "ok" in e && typeof e.ok == "boolean" && "status" in e && typeof e.status == "number", not = Object.assign(eot, {success: C5.success,info: C5.info,warning: C5.warning,@@ -99431,20 +99444,20 @@ var Vat = (e) => {getHistory: () => C5.toasts,getToasts: () => C5.getActiveToasts()});-Bat("[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%)}");+Vat("[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 w5(e) {return e.label !== void 0;}-var not = 3, rot = "24px", iot = "16px", aot = 4e3, oot = 356, sot = 14, cot = 45, lot = 200;+var rot = 3, iot = "24px", aot = "16px", oot = 4e3, sot = 356, cot = 14, lot = 45, uot = 200;function T5(...e) {return e.filter(Boolean).join(" ");}-function uot(e) {+function dot(e) {let [t, n] = e.split("-"), r = [];return t && r.push(t), n && r.push(n), r;}-var dot = (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: x, gap: S, expandByDefault: C, classNames: w, icons: T, closeButtonAriaLabel: E = "Close toast" } = e, [D, O] = b.useState(null), [k, A] = b.useState(null), [j, M] = b.useState(!1), [N, P] = b.useState(!1), [ee, F] = b.useState(!1), [te, I] = b.useState(!1), [ne, re] = b.useState(!1), [ie, ae] = b.useState(0), [oe, se] = b.useState(0), ce = b.useRef(n.duration || y || aot), le = b.useRef(null), ue = b.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 = b.useMemo(() => s.findIndex((e) => e.toastId === n.id) || 0, [s, n.id]), ye = b.useMemo(() => n.closeButton ?? p, [n.closeButton, p]), be = b.useMemo(() => n.duration || y || aot, [n.duration, y]), xe = b.useRef(0), Se = b.useRef(0), Ce = b.useRef(0), we = b.useRef(null), [Te, Ee] = x.split("-"), De = b.useMemo(() => s.reduce((e, t, n) => n >= ve ? e : e + t.height, 0), [s, ve]), Oe = Yat(), ke = b.useMemo(() => e.swipeDirections ?? uot(x), [e.swipeDirections, x]), Ae = n.invert || t, je = pe === "loading";+var fot = (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: x, gap: S, expandByDefault: C, classNames: w, icons: T, closeButtonAriaLabel: E = "Close toast" } = e, [D, O] = b.useState(null), [k, A] = b.useState(null), [j, M] = b.useState(!1), [N, P] = b.useState(!1), [ee, F] = b.useState(!1), [te, I] = b.useState(!1), [ne, re] = b.useState(!1), [ie, ae] = b.useState(0), [oe, se] = b.useState(0), ce = b.useRef(n.duration || y || oot), le = b.useRef(null), ue = b.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 = b.useMemo(() => s.findIndex((e) => e.toastId === n.id) || 0, [s, n.id]), ye = b.useMemo(() => n.closeButton ?? p, [n.closeButton, p]), be = b.useMemo(() => n.duration || y || oot, [n.duration, y]), xe = b.useRef(0), Se = b.useRef(0), Ce = b.useRef(0), we = b.useRef(null), [Te, Ee] = x.split("-"), De = b.useMemo(() => s.reduce((e, t, n) => n >= ve ? e : e + t.height, 0), [s, ve]), Oe = Xat(), ke = b.useMemo(() => e.swipeDirections ?? dot(x), [e.swipeDirections, x]), Ae = n.invert || t, je = pe === "loading";Se.current = b.useMemo(() => ve * S + De, [ve, De]), b.useEffect(() => {ce.current = be;}, [be]), b.useEffect(() => {@@ -99485,7 +99498,7 @@ var dot = (e) => {let Me = b.useCallback(() => {P(!0), ae(Se.current), a((e) => e.filter((e) => e.toastId !== n.id)), setTimeout(() => {d(n);- }, lot);+ }, uot);}, [n,d,@@ -99518,12 +99531,12 @@ var dot = (e) => {return T?.loading ? /*#__PURE__*/ b.createElement("div", {className: T5(w?.loader, n?.classNames?.loader, "sonner-loader"),"data-visible": pe === "loading"- }, T.loading) : /*#__PURE__*/ b.createElement(Uat, {+ }, T.loading) : /*#__PURE__*/ b.createElement(Wat, {className: T5(w?.loader, n?.classNames?.loader),visible: pe === "loading"});}- let Pe = n.icon || T?.[pe] || Vat(pe);+ let Pe = n.icon || T?.[pe] || Hat(pe);return /*#__PURE__*/ b.createElement("li", {tabIndex: 0,ref: ue,@@ -99570,7 +99583,7 @@ var dot = (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 = D === "x" ? e : t, a = Math.abs(i) / r;- if ((D === "x" ? ke.includes(e > 0 ? "right" : "left") : ke.includes(t > 0 ? "bottom" : "top")) && (Math.abs(i) >= cot || a > .11)) ae(Se.current), n.onDismiss == null || n.onDismiss.call(n, n), A(D === "x" ? e > 0 ? "right" : "left" : t > 0 ? "down" : "up"), Me(), I(!0);+ if ((D === "x" ? ke.includes(e > 0 ? "right" : "left") : ke.includes(t > 0 ? "bottom" : "top")) && (Math.abs(i) >= lot || a > .11)) ae(Se.current), n.onDismiss == null || n.onDismiss.call(n, n), A(D === "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);@@ -99610,7 +99623,7 @@ var dot = (e) => {Me(), n.onDismiss == null || n.onDismiss.call(n, n);},className: T5(w?.closeButton, n?.classNames?.closeButton)- }, T?.close ?? Jat) : null, (pe || n.icon || n.promise) && n.icon !== null && (T?.[pe] !== null || n.icon) ? /*#__PURE__*/ b.createElement("div", {+ }, T?.close ?? Yat) : null, (pe || n.icon || n.promise) && n.icon !== null && (T?.[pe] !== null || n.icon) ? /*#__PURE__*/ b.createElement("div", {"data-icon": "",className: T5(w?.icon, n?.classNames?.icon)}, pe === "loading" ? n.icon || Ne() : n.promise ? Ne() : null, pe === "loading" ? null : Pe) : null, /*#__PURE__*/ b.createElement("div", {@@ -99640,15 +99653,15 @@ var dot = (e) => {className: T5(w?.actionButton, n?.classNames?.actionButton)}, n.action.label) : null);};-function fot() {+function pot() {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 pot(e, t) {+function mot(e, t) {let n = {};return [e, t].forEach((e, t) => {- let r = t === 1, i = r ? "--mobile-offset" : "--offset", a = r ? iot : rot;+ let r = t === 1, i = r ? "--mobile-offset" : "--offset", a = r ? aot : iot;function o(e) {["top",@@ -99669,8 +99682,8 @@ function pot(e, t) {}) : o(a);}), n;}-var mot = /*#__PURE__*/ b.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 = not, toastOptions: g, dir: _ = fot(), gap: v = sot, icons: y, customAriaLabel: x, containerAriaLabel: S = "Notifications" } = e, [C, w] = b.useState([]), T = b.useMemo(() => n ? C.filter((e) => e.toasterId === n) : C.filter((e) => !e.toasterId), [C, n]), E = b.useMemo(() => Array.from(new Set([i].concat(T.filter((e) => e.position).map((e) => e.position)))), [T, i]), [D, O] = b.useState([]), [k, A] = b.useState(!1), [j, M] = b.useState(!1), [N, P] = b.useState(d === "system" ? typeof window < "u" && window.matchMedia && window.matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "light" : d), ee = b.useRef(null), F = a.join("+").replace(/Key/g, "").replace(/Digit/g, ""), te = b.useRef(null), I = b.useRef(!1), ne = b.useCallback((e) => {+var hot = /*#__PURE__*/ b.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 = rot, toastOptions: g, dir: _ = pot(), gap: v = cot, icons: y, customAriaLabel: x, containerAriaLabel: S = "Notifications" } = e, [C, w] = b.useState([]), T = b.useMemo(() => n ? C.filter((e) => e.toasterId === n) : C.filter((e) => !e.toasterId), [C, n]), E = b.useMemo(() => Array.from(new Set([i].concat(T.filter((e) => e.position).map((e) => e.position)))), [T, i]), [D, O] = b.useState([]), [k, A] = b.useState(!1), [j, M] = b.useState(!1), [N, P] = b.useState(d === "system" ? typeof window < "u" && window.matchMedia && window.matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "light" : d), ee = b.useRef(null), F = a.join("+").replace(/Key/g, "").replace(/Digit/g, ""), te = b.useRef(null), I = b.useRef(!1), ne = b.useCallback((e) => {w((t) => (t.find((t) => t.id === e.id)?.delete || C5.dismiss(e.id), t.filter(({ id: t }) => t !== e.id)));}, []);return b.useEffect(() => C5.subscribe((e) => {@@ -99742,7 +99755,7 @@ var mot = /*#__PURE__*/ b.forwardRef(function(e, t) {let [i, a] = t.split("-");return T.length ? /*#__PURE__*/ b.createElement("ol", {key: t,- dir: _ === "auto" ? fot() : _,+ dir: _ === "auto" ? pot() : _,tabIndex: -1,ref: ee,className: c,@@ -99752,10 +99765,10 @@ var mot = /*#__PURE__*/ b.forwardRef(function(e, t) {"data-x-position": a,style: {"--front-toast-height": `${D[0]?.height || 0}px`,- "--width": `${oot}px`,+ "--width": `${sot}px`,"--gap": `${v}px`,...m,- ...pot(l, u)+ ...mot(l, u)},onBlur: (e) => {I.current && !e.currentTarget.contains(e.relatedTarget) && (I.current = !1, te.current &&= (te.current.focus({ preventScroll: !0 }), null));@@ -99773,7 +99786,7 @@ var mot = /*#__PURE__*/ b.forwardRef(function(e, t) {e.target instanceof HTMLElement && e.target.dataset.dismissible === "false" || M(!0);},onPointerUp: () => M(!1)- }, T.filter((e) => !e.position && n === 0 || e.position === t).map((n, i) => /*#__PURE__*/ b.createElement(dot, {+ }, T.filter((e) => !e.position && n === 0 || e.position === t).map((n, i) => /*#__PURE__*/ b.createElement(fot, {key: n.id,icons: y,index: i,@@ -99803,23 +99816,23 @@ var mot = /*#__PURE__*/ b.forwardRef(function(e, t) {swipeDirections: e.swipeDirections}))) : null;}));-}), hot = (e, t) => /* @__PURE__ */ (0, x.jsx)("span", {+}), got = (e, t) => /* @__PURE__ */ (0, x.jsx)("span", {"data-toast-glyph": t ? "draw" : "still","aria-hidden": "true",dangerouslySetInnerHTML: { __html: e }}), E5 = null;-function got() {+function _ot() {let e = E5;E5 = null, e?.root.unmount();}-var _ot = (e, t) => {+var vot = (e, t) => {if (E5?.host === e) return;- got();+ _ot();let n = (0, ht.createRoot)(e);E5 = {host: e,root: n- }, n.render(/* @__PURE__ */ (0, x.jsx)(mot, {+ }, n.render(/* @__PURE__ */ (0, x.jsx)(hot, {position: "bottom-right",closeButton: !0,gap: 8,@@ -99836,16 +99849,16 @@ var _ot = (e, t) => {toastOptions: { closeButtonAriaLabel: "关闭提示" },containerAriaLabel: "通知",icons: {- success: hot(t.success, !0),- error: hot(t.error, !1)+ success: got(t.success, !0),+ error: got(t.error, !1)}}));-}, vot = 6e3, yot = (e, t) => {+}, yot = 6e3, bot = (e, t) => {if (!String(t.html ?? "").trim()) return;- let n = t.alert ? tot.error : tot.success, r = t.action;+ let n = t.alert ? not.error : not.success, r = t.action;n(/* @__PURE__ */ (0, x.jsx)("span", { dangerouslySetInnerHTML: { __html: t.html } }), {id: e,- duration: t.timeout > 0 ? t.timeout : vot,+ duration: t.timeout > 0 ? t.timeout : yot,action: r ? {label: r.label,onClick: (e) => {@@ -99854,27 +99867,27 @@ var _ot = (e, t) => {} : void 0});}, D5 = null, O5 = null, k5 = 0, A5 = /* @__PURE__ */ new Set();-function bot(e) {+function xot(e) {return D5 = e, O5 && e(O5), () => {D5 === e && (D5 = null);};}-function xot(e) {- return D5 && (O5 = e, D5(e), Mme(Promise.resolve(Rat))), Promise.resolve();+function Sot(e) {+ return D5 && (O5 = e, D5(e), jme(Promise.resolve(zat))), Promise.resolve();}async function j5(e, t, n = (e) => e) {let r = k5;- if (t.isConnected || A5.add(t), !await CO(e, {}, {+ if (t.isConnected || A5.add(t), !await wO(e, {}, {container: t,resident: !0,isCurrent: () => !!D5 && r === k5,place: () => n(t)}) || r !== k5 || !D5) throw new DOMException("应用已卸载", "AbortError");}-function Sot() {+function Cot() {k5 += 1, D5 = null, O5 = null, M5 = null, N5 = null, I5 = null, L5 = null, z5 = null, B5 = null, V5 = null, H5 = null, W5 = null, G5 = null, K5 = null, q5 = null, J5 = null;for (let e of A5) e.remove();- A5.clear(), got();+ A5.clear(), _ot();}var M5 = null, N5 = null;function P5(e) {@@ -99884,52 +99897,52 @@ function P5(e) {})(), M5;}var F5 = () => N5, I5 = null, L5 = null;-function Cot(e) {+function wot(e) {return I5 ??= (async () => {- let t = Qfe(e), n = document.createElement("div");+ let t = Zfe(e), n = document.createElement("div");return n.dataset.immerseHost = "", await j5("immerse", n, (e) => (document.body.append(e), e)), L5 = t, t;})(), I5;}var R5 = () => L5, z5 = null, B5 = null;-function wot(e) {+function Tot(e) {return z5 ??= (async () => {let t = PPe(e), n = document.createElement("div");return n.dataset.settingsHost = "", await j5("settings-panel", n, (e) => (document.body.append(e), e)), B5 = t, t;})(), z5;}-var Tot = () => B5, V5 = null, H5 = null;-function Eot(e) {+var Eot = () => B5, V5 = null, H5 = null;+function Dot(e) {return V5 ??= (async () => {let t = JPe(e);return await j5("sidebar", e.scroll, (e) => (e.replaceChildren(), e)), e.attached(), H5 = t, t;})(), V5;}var U5 = () => H5, W5 = null, G5 = null;-function Dot(e) {+function Oot(e) {return W5 ??= (async () => {- let t = lpe(e);+ let t = cpe(e);return await j5("manage-header", e.root, (e) => (e.replaceChildren(), e)), G5 = t, t;})(), W5;}-var Oot = () => G5, K5 = null, q5 = null;-function kot(e) {+var kot = () => G5, K5 = null, q5 = null;+function Aot(e) {return K5 ??= (async () => {- let t = Jle(e);+ let t = qle(e);return await j5("batch-dock", e.root), q5 = t, t;})(), K5;}-var Aot = () => q5, J5 = null;-function jot(e) {+var jot = () => q5, J5 = null;+function Mot(e) {return J5 ??= (async () => {- Gue(e), await j5("glow-picker", e.root);+ Wue(e), await j5("glow-picker", e.root);})(), J5;}-function Mot(e, t, n, r) {- _ot(e, t), yot(n, r);+function Not(e, t, n, r) {+ vot(e, t), bot(n, r);}//#endregion//#region src/application/effects.ts-var Not = class {+var Pot = class {cleanups = /* @__PURE__ */ new Set();active = !0;disposed = !1;@@ -100010,9 +100023,9 @@ var Not = class {}if (e.length) throw AggregateError(e, "应用资源清理未全部完成");}-}, Y5 = new Not();-function Pot() {- return Y5.dispose(), Y5 = new Not(), Y5;+}, Y5 = new Pot();+function Fot() {+ return Y5.dispose(), Y5 = new Pot(), Y5;}//#endregion//#region src/application/receipts.js@@ -100026,10 +100039,10 @@ var X5 = {rollSeed: void 0,seededSample: void 0};-function Fot() {+function Iot() {X5.toastBody = (e) => e && typeof e == "object" && "html" in e ? String(e.html) : z(e && typeof e == "object" ? e.text ?? "" : e ?? ""), X5.toastSeq = 0, X5.toast = (e, { timeout: t = 6e3, warn: n = !1, action: r = null, sound: i = null } = {}) => {let a = `toast-${++X5.toastSeq}`, o = (e, t, n, r) => {- Ia(i || (t ? "error" : "success")), Mot(L("#toasts"), {+ Ia(i || (t ? "error" : "success")), Not(L("#toasts"), {success: R("check"),error: R("circle-alert")}, a, {@@ -100071,7 +100084,7 @@ function Fot() {}//#endregion//#region src/react/catalog-grid/catalog-state.ts-var Iot = [+var Lot = ["loc","creator","studio",@@ -100088,10 +100101,10 @@ var Iot = ["q","jav"];-function Lot(e, t, n, r = n.defaultSort) {- return WC(e, t, n.defaultSort, n.defaultSortDirection, r);+function Rot(e, t, n, r = n.defaultSort) {+ return GC(e, t, n.defaultSort, n.defaultSortDirection, r);}-function Rot(e, t, n) {+function zot(e, t, n) {let r = decodeURIComponent(e.pathname), i = new URLSearchParams(e.search), a = Nt(r) || r === "/trash", o = (e) => a ? i.get(e) : null;return {loc: i.get("loc") ?? "local,115",@@ -100106,25 +100119,25 @@ function Rot(e, t, n) {orient: o("orient") || "",region: o("region") || "",state: jt[r] || o("state") || "",- ...Lot(o("sort"), o("dir"), t),+ ...Rot(o("sort"), o("dir"), t),seed: o("seed") || n(),q: o("q") || "",jav: o("jav") || "",thumb: o("thumb") || "0"};}-function zot(e, t) {+function Bot(e, t) {return e.split(",").filter(Boolean).filter((e) => t[e] !== !1).join(",") || e;}-function Bot(e) {+function Vot(e) {let t = At[e.state ?? ""] || "/", n = new URLSearchParams();- for (let t of Iot) {+ for (let t of Lot) {let r = e[t];- r && (t !== "tag_match" || r !== "all") && (t !== "dir" || r !== VC(e.sort ?? "")) && n.set(t, r);+ r && (t !== "tag_match" || r !== "all") && (t !== "dir" || r !== HC(e.sort ?? "")) && n.set(t, r);}return !At[e.state ?? ""] && e.state && n.set("state", e.state), t + (n.size ? `?${n}` : "");}-function Vot(e, t, n) {+function Hot(e, t, n) {return {loc: e.loc ?? "",creator: "",@@ -100139,14 +100152,14 @@ function Vot(e, t, n) {region: "",state: "",sort: t.defaultSort,- dir: UC(t.defaultSort, t.defaultSort, t.defaultSortDirection),+ dir: WC(t.defaultSort, t.defaultSort, t.defaultSortDirection),seed: n(),q: "",jav: "",thumb: "0"};}-function Hot(e) {+function Uot(e) {return {state: e,barsContext: {@@ -100158,7 +100171,7 @@ function Hot(e) {}//#endregion//#region src/react/catalog-grid/catalog-controller.ts-var Uot = class {+var Wot = class {currentRevision = 0;currentPage = "";painting = null;@@ -100203,39 +100216,39 @@ var Uot = class {let e = [...this.waiters.values()];this.waiters.clear(), e.forEach((e) => e());}-}, Z5 = 3e4, Q5 = 0, Wot = (e, t = Q5) => [+}, Z5 = 3e4, Q5 = 0, Got = (e, t = Q5) => ["facets",e,t-], Got = (e, t, n = Q5) => [+], Kot = (e, t, n = Q5) => ["tops",e,t,n-], Kot = (e, t = Q5) => [+], qot = (e, t = Q5) => ["tops",e,t];-async function qot(e) {+async function Jot(e) {let t = String(e), n = await Dt(`/api/tops?${t}`), r = new URLSearchParams(t);return n.performers.length || n.studios.length || !r.has("state") ? n : (r.delete("state"), await Dt(`/api/tops?${r}`));}-function Jot(e, t) {+function Yot(e, t) {return Promise.all([U.fetchQuery({- queryKey: Wot(e),+ queryKey: Got(e),queryFn: () => Dt(`/api/facets${e ? `?${e}` : ""}`),staleTime: Z5}), U.fetchQuery({- queryKey: Got(t, e),- queryFn: () => qot(t),+ queryKey: Kot(t, e),+ queryFn: () => Jot(t),staleTime: Z5})]);}-function Yot(e) {+function Xot(e) {return U.fetchQuery({- queryKey: Kot(e),- queryFn: () => qot(e),+ queryKey: qot(e),+ queryFn: () => Jot(e),staleTime: Z5});}@@ -100252,7 +100265,7 @@ function $5() {}//#endregion//#region src/application/navigation-items.ts-var Xot = [+var Zot = [["","首页",@@ -100349,18 +100362,18 @@ var Xot = ["Peach 配置","folder-cog"]-], Zot = [+], Qot = ["stats","taste","cleanup","follow","activity","configuration"-], Qot = (e) => e7.filter(([t]) => Zot.includes(t) && (t !== "configuration" || e)), $ot = e7.flatMap(([e, t, n]) => e === "configuration" ? [] : [[+], $ot = (e) => e7.filter(([t]) => Qot.includes(t) && (t !== "configuration" || e)), est = e7.flatMap(([e, t, n]) => e === "configuration" ? [] : [[e === "follow" ? "follow-manage" : e === "cleanup" ? "data-cleanup" : e,t,n-]]), est = [...Xot, ...$ot], tst = {+]]), tst = [...Zot, ...est], nst = {stats: "stats",review: "review","data-cleanup": "cleanup",@@ -100371,11 +100384,11 @@ var Xot = [};//#endregion//#region src/react/index/index-controller.ts-function nst({ kind: e, q: t, scope: n, view: r, category: i }) {+function rst({ 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 rst(e, t, n) {+function ist(e, t, n) {let r = e.entity_id || e.id, i = t === "studio" || t === "agency";return {html: la(e.k, r ? {@@ -100388,20 +100401,20 @@ function rst(e, t, n) {face: da(e.avatar_focus)};}-function ist(e) {+function ast(e) {let t = String(e.k || ""), n = (t.match(/[A-Za-z0-9]/)?.[0] || Array.from(t)[0] || "?").toUpperCase(), r = e.avatar ? `<img src="${z(e.avatar)}" alt="" loading="lazy" referrerpolicy="no-referrer" ${Li({ fallbacks: [e.avatar_fallback || ""] })}>` : "";return `<span class="ini">${z(n)}</span>${r}`;}-function ast(e) {+function ost(e) {let t = (t) => {e.adoptFollowView(t), e.hideIndex(), e.openPage(Ti(t));};return {route(t, { replace: n = !1 } = {}) {- e.route(nst(t), n);+ e.route(rst(t), n);},- personAvatar: rst,- authorAvatar: ist,+ personAvatar: ist,+ authorAvatar: ast,openFollowAuthor(n) {t(Ei(e.followView(), n));},@@ -100412,27 +100425,27 @@ function ast(e) {}//#endregion//#region src/react/follow-manage/manage-route.ts-var ost = [+var sst = ["list","add","feeds"];-function sst(e) {+function cst(e) {let t = new URLSearchParams(e), n = t.get("tab");return {- tab: ost.find((e) => e === n) || "list",+ tab: sst.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 cst(e) {+function lst(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 lst(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" : cst({- tab: t || sst(e).tab,+function ust(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" : lst({+ tab: t || cst(e).tab,page: 1,sort: "",dir: ""@@ -100440,7 +100453,7 @@ function lst(e, t) {}//#endregion//#region src/application/source-action.ts-function ust(e) {+function dst(e) {return async (t, n, { button: r = null } = {}) => {if (r?.getAttribute("aria-busy") === "true") return;let i = r?.innerHTML ?? "", a = r?.textContent?.trim() ?? "";@@ -100457,35 +100470,35 @@ function ust(e) {//#endregion//#region src/react/entity-page/entity-route.tsvar t7 = () => Object.fromEntries(hL.map((e) => [e, e === "sort" ? "new" : e === "dir" ? "desc" : ""]));-function dst(e, t) {+function fst(e, t) {let n = new URLSearchParams(e), r = t7();for (let e of hL) e !== "sort" && e !== "dir" && (r[e] = n.get(e) || "");return {...r,- ...WC(n.get("sort"), n.get("dir"), t.sort, t.dir, "new")+ ...GC(n.get("sort"), n.get("dir"), t.sort, t.dir, "new")};}-function fst(e) {+function pst(e) {let t = new URLSearchParams();- for (let n of hL) e[n] && (n !== "sort" || e[n] !== "new") && (n !== "dir" || e[n] !== VC(e.sort || "")) && t.set(n, e[n]);+ for (let n of hL) e[n] && (n !== "sort" || e[n] !== "new") && (n !== "dir" || e[n] !== HC(e.sort || "")) && t.set(n, e[n]);return t.toString();}-function pst(e) {+function mst(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 mst(e, t) {- let n = new URLSearchParams(fst(e));+function hst(e, t) {+ let n = new URLSearchParams(pst(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 hst(e, t, n, r) {- let i = mst(n, r);+function gst(e, t, n, r) {+ let i = hst(n, r);return It(e, t) + (i ? `?${i}` : "");}-function gst() {+function _st() {let e = "";return {fresh(t, n) {@@ -100494,23 +100507,23 @@ function gst() {read(t, n, r, i) {let a = e === It(t, n) && !r;e = "";- let o = a ? t7() : { ...dst(r, i) };+ let o = a ? t7() : { ...fst(r, i) };return t === "creator" && (o.creator = ""), {filters: o,media: a ? {media: "videos",set: 0- } : pst(r)+ } : mst(r)};}};}//#endregion//#region src/react/entity-page/photo-surface.ts-function _st(e, t) {+function vst(e, t) {return e.entityWall && e.entityCurrent && e.indexVisible || e.pathname === "/follow" && e.followMedia === "images" && e.statsVisible ? !0 : t();}-function vst(e) {+function yst(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);@@ -100533,12 +100546,12 @@ function vst(e) {}//#endregion//#region src/react/entity-page/entity-controller.ts-function yst(e, t, n) {+function bst(e, t, n) {let r = (t, n, r, i = {media: "videos",set: 0}, { push: a = !0 } = {}) => {- if (a && e.route(hst(t, n, r, i)), e.restoreHomeContext(), !e.live(t, n)) return !1;+ if (a && e.route(gst(t, n, r, i)), e.restoreHomeContext(), !e.live(t, n)) return !1;e.releaseBodyPreviews();let o = e.state();return e.push({@@ -100565,7 +100578,7 @@ function yst(e, t, n) {e.tag = "", e.creator = "", e.studio = "", e.owner = "";}),setSort: (e) => {- let n = c(), i = HC(e, n.sort || "new", n.dir || "");+ let n = c(), i = UC(e, n.sort || "new", n.dir || "");i && r(t, a, {...n,...i@@ -100617,7 +100630,7 @@ function yst(e, t, n) {}//#endregion//#region src/react/entity-page/entity-loading.ts-function bst(e) {+function xst(e) {return async (t, n, r) => {!e.shapesReady() && (await e.waitShapes(), !r()) || (e.paintSkeleton(t, n), e.resetView(), e.loadShapes().then(() => {r() && e.syncParts(t, n);@@ -100626,7 +100639,7 @@ function bst(e) {}//#endregion//#region src/react/entity-page/entity-portrait.ts-function xst(e, t) {+function Sst(e, t) {let n = e === "studio" || e === "agency", r = t.id ? ca({kind: e,id: t.id,@@ -100648,11 +100661,11 @@ function xst(e, t) {}//#endregion//#region src/react/entity-page/entity-application.ts-function Sst(e) {- let t = gst(), n = {+function Cst(e) {+ let t = _st(), n = {...e.helpers,- portraitImg: xst- }, r = yst(e.controller, n, e.actions);+ portraitImg: Sst+ }, r = bst(e.controller, n, e.actions);return {...r,helpers: n,@@ -100661,13 +100674,13 @@ function Sst(e) {let { filters: o, media: s } = t.read(n, i, a, e.sortPreference());return r.props(n, i, o, s);},- loading: bst(e.loading),- photos: vst(e.photos)+ loading: xst(e.loading),+ photos: yst(e.photos)};}//#endregion//#region src/card-art/feed-identity.ts-function Cst(e) {+function wst(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((e) => {let t = la(e.name, e, null);return "id" in e && e.id ? `<a class="mav" href="${z(It("performer", e.name, e.id))}" aria-label="打开女优页:${z(e.name)}">${t}</a>` : `<span class="mav" title="${z(e.name)}">${t}</span>`;@@ -100690,33 +100703,33 @@ var n7 = {feedNewActions: void 0,HERO_WIDE_PX: void 0};-function wst(e) {+function Tst(e) {return e.has_cover ? ma(e, "big") : e.cover_url ? ma({ code: e.code }, "big").replace(/ src="[^"]*"/, ` src="${z(e.cover_url)}" referrerpolicy="no-referrer" data-panel-prior="1"`) : "<span class=\"nopic\">无封面</span>";}-function Tst(e) {- let t = [e.performers && `<span class="feednewperformers" title="${z(e.performers)}">${z(e.performers)}</span>`, e.release_date && `<span>${z(e.release_date)}</span>`].filter(Boolean).join(""), n = wst(e), r = e.code || String(e.title || "").trim() || "未命名新作", i = e.code ? RO({+function Est(e) {+ let t = [e.performers && `<span class="feednewperformers" title="${z(e.performers)}">${z(e.performers)}</span>`, e.release_date && `<span>${z(e.release_date)}</span>`].filter(Boolean).join(""), n = Tst(e), r = e.code || String(e.title || "").trim() || "未命名新作", i = e.code ? zO({is_jav: !0,code: e.code,name: e.code,display_title: e.title || ""}) : z(r), a = e.code ? `<a class="feednewopen" href="/works/${encodeURIComponent(e.code)}" aria-label="打开 ${z(r)} 的作品详情"></a>` : "";return `<article class="card feednewcard${e.read ? " isread" : ""}" data-feed-id="${e.id}">- ${a}<div class="pic" style="--card-ratio:${vw}">${n}+ ${a}<div class="pic" style="--card-ratio:${yw}">${n}<div class="hovertools feednewtools"><button type="button" data-feed-action="${e.wanted ? "unwant" : "want"}" aria-pressed="${!!e.wanted}" title="${e.wanted ? "取消想要" : "想要"}" aria-label="想要 ${z(r)}">${R("star")}</button><button type="button" data-feed-action="ignore" title="不想看" aria-label="不想看 ${z(r)}">${R("x")}</button><button type="button" data-feed-action="read" title="标为已看过" aria-label="标为已看过 ${z(r)}">${R("check")}</button></div></div>- <div class="meta">${Cst(e)}<div class="mtext"><span class="t">${i}</span>+ <div class="meta">${wst(e)}<div class="mtext"><span class="t">${i}</span><div class="s mono">${t || (e.title ? "" : "资料还没取到")}</div></div></div></article>`;}async function r7() {let e = Y5, t = await Dt("/api/entity/shapes", { signal: e.signal }).catch(() => null);- return e.isActive && t && !t.error && (n7.entityShapes = new Map((t.entities || []).flatMap((e) => e.names.map((t) => [`${e.kind}/${Gt(t)}`, e.parts]))), typeof t.home?.feed == "boolean" && (X.homeHasFeed = t.home.feed), i7(location.pathname) && Est(L("#feedNew"))), n7.entityShapes;+ return e.isActive && t && !t.error && (n7.entityShapes = new Map((t.entities || []).flatMap((e) => e.names.map((t) => [`${e.kind}/${Gt(t)}`, e.parts]))), typeof t.home?.feed == "boolean" && (X.homeHasFeed = t.home.feed), i7(location.pathname) && Dst(L("#feedNew"))), n7.entityShapes;}-function Est(e) {- !e || bO(e) || e.querySelector("[data-feed-id]") || (e.hidden = X.homeHasFeed !== !0, X.homeHasFeed === !0 && (e.setAttribute("aria-busy", "true"), e.querySelector(".feednewskeleton") || (e.innerHTML = n7.feedNewSkeletonHtml())));+function Dst(e) {+ !e || xO(e) || e.querySelector("[data-feed-id]") || (e.hidden = X.homeHasFeed !== !0, X.homeHasFeed === !0 && (e.setAttribute("aria-busy", "true"), e.querySelector(".feednewskeleton") || (e.innerHTML = n7.feedNewSkeletonHtml())));}-function Dst(e, t) {+function Ost(e, t) {return !(e > 0) || !t.some((e) => !e.has_cover) ? "" : io(`${e} 部新作的封面连不上 DMM 图片主机,中国移动宽带常见。把 DMM / FANZA 的连接方式设成 Peach 代理,下一轮会自动重取。`, {variant: "warning",className: "feednetwork",@@ -100724,22 +100737,22 @@ function Dst(e, t) {actionHref: "/sources"});}-function Ost(e) {+function kst(e) {let t = e && !e.error && e.items || [];- return Dst(e?.cover_network, t) + `<div class="feednewrow srow">${t.map(Tst).join("")}</div>`;+ return Ost(e?.cover_network, t) + `<div class="feednewrow srow">${t.map(Est).join("")}</div>`;}-function kst(e) {+function Ast(e) {e && (_9(e), Z.appSettings.feedAutoScroll && qo(e));}function i7(e) {return Nt(e) && e !== "/junk-files";}-function Ast(e) {+function jst(e) {return Nt(e) && e !== "/junk-files";}-function jst() {+function Mst() {let e = L("#feedNew");- bO(e) ? wO(e, { revision: ++n7.feedRevision }) : (Est(e), CO("feed-new", {+ xO(e) ? TO(e, { revision: ++n7.feedRevision }) : (Dst(e), wO("feed-new", {host: e,revision: n7.feedRevision,helpers: n7.feedNewHelpers,@@ -100751,30 +100764,30 @@ function jst() {}function a7() {let e = L("#feedNew");- e.querySelectorAll(".feednewrow").forEach(Jo), TO(e), e.hidden = !0, e.innerHTML = "", e.removeAttribute("aria-busy");-}-function Mst() {- n7.feedRevision += 1, wO(L("#feedNew"), { revision: n7.feedRevision }), c7({ feedRevision: n7.feedRevision });+ e.querySelectorAll(".feednewrow").forEach(Jo), EO(e), e.hidden = !0, e.innerHTML = "", e.removeAttribute("aria-busy");}function Nst() {+ n7.feedRevision += 1, TO(L("#feedNew"), { revision: n7.feedRevision }), c7({ feedRevision: n7.feedRevision });+}+function Pst() {document.querySelectorAll(".feednewrow").forEach((e) => Z.appSettings.feedAutoScroll ? qo(e) : Jo(e));}-function Pst([e]) {+function Fst([e]) {L("#index").toggleAttribute("data-hero-wide", e.contentRect.width >= n7.HERO_WIDE_PX);}-function Fst() {- n7.FEED_SKELETON_CARDS = 8, n7.feedNewSkeletonHtml = () => `<div class="feednewrow srow" aria-hidden="true">${`<article class="card feednewcard feednewskeleton"><div class="pic imgwait" style="--card-ratio:${vw}"></div>+function Ist() {+ n7.FEED_SKELETON_CARDS = 8, n7.feedNewSkeletonHtml = () => `<div class="feednewrow srow" aria-hidden="true">${`<article class="card feednewcard feednewskeleton"><div class="pic imgwait" style="--card-ratio:${yw}"></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(n7.FEED_SKELETON_CARDS)}</div>`, n7.entityShapes = null, n7.hasEntityPart = (e, t, n) => !!t && !!n7.entityShapes?.get(`${e}/${Gt(t)}`)?.includes(n), n7.feedNewSkeletonSection = () => `<section class="feednew">${n7.feedNewSkeletonHtml()}</section>`, n7.COSTAR_SKELETON_PEOPLE = 12, n7.costarSkeletonFoot = () => `<div class="entityfoot"><div class="relatedpeople">${"<span class=\"av avskeleton\"><span class=\"ring\"></span><span class=\"nm\">​</span></span>".repeat(n7.COSTAR_SKELETON_PEOPLE)}</div></div>`, n7.factsSkeleton = () => `<dl class="entityfacts">${"<dt><span class=\"skeleton\"></span></dt><dd><span class=\"skeleton\"></span></dd>".repeat(5)}</dl>`, n7.feedRevision = 0, n7.feedNewHelpers = {- feedRowHtml: Ost,- wireFeedRow: (e) => kst(e)+ feedRowHtml: kst,+ wireFeedRow: (e) => Ast(e)}, n7.feedNewActions = { settled: (e) => {X.homeHasFeed = e;- } }, n7.HERO_WIDE_PX = 900, Y5.resize(Pst).observe(L("#index"));+ } }, n7.HERO_WIDE_PX = 900, Y5.resize(Fst).observe(L("#index"));}//#endregion//#region src/entity-skeleton.ts-function Ist(e, t, n) {+function Lst(e, t, n) {return `<section data-skeleton="entity/${e}" role="status" aria-label="正在读取资料"><span class="sr-only">正在读取资料</span><div aria-hidden="true"><section class="entityhero"><div class="entityprofile"><div class="entityportrait ${e === "studio" || e === "agency" ? "square " : ""}skeleton"></div>@@ -100814,11 +100827,11 @@ var o7 = {application: void 0};function s7() {- let e = yO(L("#index"));+ let e = bO(L("#index"));return e && e.path.endsWith("/*") && e.host.isConnected ? e : null;}function c7(e) {- o7.entityPageCurrent() && wO(L("#index"), e);+ o7.entityPageCurrent() && TO(L("#index"), e);}function l7() {if (mc.type === "item") return mc;@@ -100834,15 +100847,15 @@ function l7() {}return mc;}-function Lst(e, t, n = V7()) {- return Kct(n).map(([n, r]) => {- let i = e === n, a = HC(n, e, t);+function Rst(e, t, n = V7()) {+ return qct(n).map(([n, r]) => {+ let i = e === n, a = UC(n, e, t);return {key: n,label: r,pressed: i,- dir: i && BC(n, t) ? t === "asc" ? "asc" : "desc" : "",- ariaLabel: a ? `按${r}${a.dir ? BC(a.sort, a.dir) : ""}排序` : ""+ dir: i && VC(n, t) ? t === "asc" ? "asc" : "desc" : "",+ ariaLabel: a ? `按${r}${a.dir ? VC(a.sort, a.dir) : ""}排序` : ""};});}@@ -100850,7 +100863,7 @@ function u7(e, t, n, r = o7.EMPTY_ENTITY_MEDIA, i = {}) {return o7.application.route(e, t, n, r, i);}function d7() {- return _st({+ return vst({entityWall: o7.entityPageWall,entityCurrent: o7.entityPageCurrent(),indexVisible: !L("#index").hidden,@@ -100862,13 +100875,13 @@ function d7() {function f7() {o7.photos.sync();}-function Rst() {- d7() ? Nue(xw()) : Ew();+function zst() {+ d7() ? Mue(Sw()) : Dw();}-function zst(e) {+function Bst(e) {o7.photos.setSize(e);}-var Bst = ust({+var Vst = dst({request: (e) => Dt("/api/reveal", {method: "POST",body: JSON.stringify({ id: e })@@ -100876,20 +100889,20 @@ var Bst = ust({success: () => X5.toast({ text: "已在资源管理器中显示" }),failureText: (e) => o7.sourceHint(e instanceof Error ? e.message : String(e))});-async function Vst(e) {+async function Hst(e) {let t = { textContent: "" };- return await Bst(e, t), t.textContent;+ return await Vst(e, t), t.textContent;}-async function Hst(e) {+async function Ust(e) {let t = { textContent: "" }, n = [];- return await Ust(e, t, (e) => {+ return await Wst(e, t, (e) => {e.items && (n = e.items.map((e) => e.id));}), {text: t.textContent,removed: n};}-async function Ust(e, t, n) {+async function Wst(e, t, n) {t.textContent = "正在核对目录…";try {let r = await Dt("/api/purge-missing", {@@ -100919,17 +100932,17 @@ async function Ust(e, t, n) {t.textContent = o7.sourceHint(e.message), X5.actionFailure("核对目录", e);}}-function Wst(e) {+function Gst(e) {return `<div class="srctools">${o7.sourceToolButtons(e)}<span class="srcstate" aria-live="polite"></span></div>`;}-function Gst(e, t) {+function Kst(e, t) {let n = e.querySelector(".srcstate");if (!n) return;let r = e.querySelector("[data-reveal]"), i = e.querySelector("[data-sync]");- r && Y5.handler(r, "onclick", () => Bst(Number(r.dataset.reveal), n, { button: r })), i && Y5.handler(i, "onclick", () => Ust(Number(i.dataset.sync), n, t));+ r && Y5.handler(r, "onclick", () => Vst(Number(r.dataset.reveal), n, { button: r })), i && Y5.handler(i, "onclick", () => Wst(Number(i.dataset.sync), n, t));}-async function Kst(e, t) {+async function qst(e, t) {let n = fs({title: "添加别名",description: "图库按名字存图,多记一个写法就多一批候选;这里添的名字也能提为统称。",@@ -100967,8 +100980,8 @@ async function Kst(e, t) {});} }) : X5.actionReceipt(`${a?.alias} 已经是这条实体的名字`));}-function qst(e, t) {- let n = Ist(e, no({+function Jst(e, t) {+ let n = Lst(e, no({readout: " ",loading: !0,filterRow: "bottom"@@ -100986,14 +100999,14 @@ function p7(e, t) {};r(n.querySelector(".entityfoot"), e !== "agency" && n7.hasEntityPart(e, t, "costars"), () => n.querySelector(".entityhero")?.insertAdjacentHTML("beforeend", n7.costarSkeletonFoot())), r(n.querySelector(".feednew"), n7.hasEntityPart(e, t, "feed"), () => n.querySelector(".entitysection")?.insertAdjacentHTML("beforebegin", n7.feedNewSkeletonSection())), r(n.querySelector(".entityfacts"), e === "performer" && n7.hasEntityPart(e, t, "facts"), () => n.querySelector(".entityprofile")?.insertAdjacentHTML("beforeend", n7.factsSkeleton()));}-function Jst(e) {+function Yst(e) {let t = Pt[e] || e, n = e5[t] || "条目", r = e5[t] ? `<a class="geist-button primary" href="/${t}">返回${n}列表</a>` : "";L("#index").innerHTML = Z.emptyState("search-x", `找不到这个${n}`, "名字可能拼错了,或者已经合并到别的名字下;回列表里重新找。", { actions: r });}function m7(e, t) {j9(o7.application.fresh(e, t));}-function Yst() {+function Xst() {o7.ENTITY_FILTER_KEYS = ["loc","creator",@@ -101004,10 +101017,10 @@ function Yst() {"orient","sort","dir"- ], o7.emptyEntityFilters = t7, o7.parseEntityFilters = (e) => dst(e, {+ ], o7.emptyEntityFilters = t7, o7.parseEntityFilters = (e) => fst(e, {sort: Z.appSettings.defaultSort,dir: Z.appSettings.defaultSortDirection- }), o7.entityFilterSearch = fst, o7.cloneBarsContext = (e) => e && e.type === "entity" ? {+ }), o7.entityFilterSearch = pst, o7.cloneBarsContext = (e) => e && e.type === "entity" ? {...e,filters: { ...e.filters }} : e, o7.activeFilterState = () => {@@ -101015,29 +101028,29 @@ function Yst() {return e.type === "home" ? W : e.filters;}, L("#q").value = W.q, X.rememberSearchValue();}-function Xst() {+function Zst() {o7.entityPageView = "", o7.entityPageWall = !1, o7.entityPageRevision = 0, o7.entityPageCurrent = () => !!s7(), o7.entityPageLive = (e, t) => {let n = s7();return !!n && !L("#index").hidden && n.props.kind === e && n.props.name === t;}, o7.EMPTY_ENTITY_MEDIA = {media: "videos",set: 0- }, o7.parseMediaView = pst, o7.entityViewSearch = mst, o7.entityBodyCanLoadMore = () => !L("#index").hidden && L("#stats").hidden, o7.entityBodySkeleton = () => f9(), o7.entityPageHelpers = {+ }, o7.parseMediaView = mst, o7.entityViewSearch = hst, o7.entityBodyCanLoadMore = () => !L("#index").hidden && L("#stats").hidden, o7.entityBodySkeleton = () => f9(), o7.entityPageHelpers = {wireDrag: (e) => {e && _9(e);},wireScroller: (e) => {e && Bo(e);},- wireFeedRow: (e) => kst(e),- feedRowHtml: Ost,+ wireFeedRow: (e) => Ast(e),+ feedRowHtml: kst,receipt: (e, t) => X5.actionReceipt(e, t),failure: (e, t) => X5.actionFailure(e, t),- aliasForm: (e, t) => Kst(e, t),- sourceToolsHtml: (e) => Wst(e),- wireSourceTools: (e, t) => Gst(e, t),- comboItems: (e) => Olt(e),- sortKeys: (e, t, n) => Lst(e, t, n)+ aliasForm: (e, t) => qst(e, t),+ sourceToolsHtml: (e) => Gst(e),+ wireSourceTools: (e, t) => Kst(e, t),+ comboItems: (e) => klt(e),+ sortKeys: (e, t, n) => Rst(e, t, n)}, o7.entityFollowActions = {...$.followFeedActions,route: () => {},@@ -101060,8 +101073,8 @@ function Xst() {<button type="button" data-sync="${e}" title="核对该目录:磁盘上已删除的移入 Peach 回收站,带个人记录的标为已消失"aria-label="同步删除">${R("folder-sync")}</button>`;}-function Zst() {- o7.application = Sst({+function Qst() {+ o7.application = Cst({controller: {context: () => {let e = l7();@@ -101084,12 +101097,12 @@ function Zst() {preferences: () => ({revision: o7.entityPageRevision,feedRevision: n7.feedRevision,- photoSize: xw(),- photoLayout: Sw(),- photoLayouts: _w,+ photoSize: Sw(),+ photoLayout: Cw(),+ photoLayouts: vw,followImagesOnly: !!Z.appSettings.followImagesOnly,- javLayout: bw(),- javLayouts: hw,+ javLayout: xw(),+ javLayouts: gw,states: X.VIEW_PILLS,peopleLayout: S7.peopleIndexLayout(),layout: d9(),@@ -101110,25 +101123,25 @@ function Zst() {writeSeed: (e) => {W.seed = e, Uc();},- setJavLayout: Jct,- javLayout: bw,- setPhotoLayout: Eue,+ setJavLayout: Yct,+ javLayout: xw,+ setPhotoLayout: Tue,syncPhotoWalls: f7,openEntity: m7,photoViewActive: d7,recordPainted: (e, t) => {o7.entityPageView = e, o7.entityPageWall = t;},- syncDensity: Rst,+ syncDensity: zst,scheduleSticky: J7,- releasePage: () => TO(L("#index")),- showMissing: Jst,+ releasePage: () => EO(L("#index")),+ showMissing: Yst,dropBars: $5},loading: {shapesReady: () => !!n7.entityShapes,- waitShapes: Act,- paintSkeleton: qst,+ waitShapes: jct,+ paintSkeleton: Jst,resetView: () => {Hc({ detailReturnBarsContext: null }), o7.entityPageView = "", o7.entityPageWall = !1;},@@ -101137,20 +101150,20 @@ function Zst() {},photos: {preferences: () => ({- size: xw(),- layout: Sw(),+ size: Sw(),+ layout: Cw(),imagesOnly: !!Z.appSettings.followImagesOnly}),walls: () => document.querySelectorAll(".followphotowall"),pushEntity: c7,pushFollow: I9,- syncDensity: Rst,- storeSize: Tue+ syncDensity: zst,+ storeSize: wue},helpers: o7.entityPageHelpers,actions: {toggleTag: i9,- openFollowAuthor: Ect,+ openFollowAuthor: Dct,javContext: (e) => Hc({ entityJavLayout: !!e })},sortPreference: () => ({@@ -101162,7 +101175,7 @@ function Zst() {//#endregion//#region src/application/playlists.jsvar h7 = { playlistWrite: void 0 };-function Qst(e, t) {+function $st(e, t) {e === "tag" ? (Hc({ state: {...W,tag: t,@@ -101174,15 +101187,15 @@ function Qst(e, t) {orient: ""} }), X.clearSearchField(), Q.route(X7()), M7(), r9()) : m7(e, t);}-function $st(e = "") {+function ect(e = "") {return `<label class="modalfield"><span>名称</span><input class="geist-input" name="name"maxlength="80" placeholder="输入名称" value="${z(e)}"></label>`;}-async function ect({ title: e, count: t, save: n }) {+async function tct({ title: e, count: t, save: n }) {let r = fs({title: "保存为播放列表",description: `这个 Mix 的 ${t} 个视频会存成一份可以继续播放的列表。`,- body: $st(e),+ body: ect(e),confirmLabel: "保存为播放列表",onConfirm: () => {let e = r.dialog.querySelector("[name=\"name\"]").value.trim();@@ -101192,19 +101205,19 @@ async function ect({ title: e, count: t, save: n }) {});r.dialog.querySelector("[name=\"name\"]").select();let { confirmed: i, result: a } = await r.done;- i && (await rut(a.id, a.current_asset_id, !0), X5.actionReceipt("已保存为播放列表", { undo: async () => {+ i && (await iut(a.id, a.current_asset_id, !0), X5.actionReceipt("已保存为播放列表", { undo: async () => {await h7.playlistWrite({action: "delete",id: a.id}), j9("/playlists");} }));}-async function tct(e) {+async function nct(e) {let t = ((await Dt("/api/playlists")).items || []).map((e) => `<label class="pickrow">${lo(`data-pick-playlist="${e.id}"`)}<span class="pickrowtext"><b>${z(e.name)}</b><small>${e.item_count} 个视频</small></span></label>`).join(""), n = fs({title: "加入播放列表",description: "勾选要加入的列表,或者填个名称新建一份。",- body: $st() + (t ? `<div class="picklist" role="group" aria-label="已有播放列表">${t}</div>` : io("还没有播放列表,填个名称就能新建一份。", { size: "small" })),+ body: ect() + (t ? `<div class="picklist" role="group" aria-label="已有播放列表">${t}</div>` : io("还没有播放列表,填个名称就能新建一份。", { size: "small" })),confirmLabel: "保存",confirmDisabled: !0,onConfirm: async () => {@@ -101243,18 +101256,18 @@ async function tct(e) {});} });}-function nct() {+function rct() {Qs(), y9(!1), j7();- let e = yO(L("#stats"));+ let e = bO(L("#stats"));e?.path !== "/playlists" || !e.host.isConnected ? Hc({ pageOpens: Nc + 1 }) : (A7({ manage: !1 }), Hc({ playlistsRevision: zc + 1 }));}-function rct(e) {+function ict(e) {Q.route("/review" + (e.category ? "?category=" + encodeURIComponent(e.category) : ""));}-function ict(e) {- Hc({ configurationRequestedSection: e }), Q.navigatePath(eO(e));+function act(e) {+ Hc({ configurationRequestedSection: e }), Q.navigatePath(tO(e));}-function act() {+function oct() {h7.playlistWrite = (e) => Dt("/api/playlist", {method: "POST",body: JSON.stringify(e)@@ -101265,7 +101278,7 @@ function act() {function g7(e) {return e === "/follow" ? "follow" : e === "/junk-files" ? "junk" : "catalog";}-function oct(e, t, n, r, i = !1) {+function sct(e, t, n, r, i = !1) {return i && (e.selected.clear(), e.followSelected.clear()), {selectMode: r,selectSurface: r ? t.selectMode ? t.selectSurface : n : "",@@ -101273,14 +101286,14 @@ function oct(e, t, n, r, i = !1) {followLastSelectedId: i ? null : t.followLastSelectedId};}-function sct(e, t, n, r, i, a = !1) {- let o = n === "follow", s = yF(o ? e.followSelected : e.selected, r, o ? t.followLastSelectedId : t.lastSelectedId, i, a);+function cct(e, t, n, r, i, a = !1) {+ let o = n === "follow", s = bF(o ? e.followSelected : e.selected, r, o ? t.followLastSelectedId : t.lastSelectedId, i, a);return {- ...oct(e, t, n, !0),+ ...sct(e, t, n, !0),...o ? { followLastSelectedId: s } : { lastSelectedId: s }};}-function cct(e, t, n, r) {+function lct(e, t, n, r) {let i = g7(t);return {count: (i === "follow" ? e.followSelected : e.selected).size,@@ -101308,33 +101321,33 @@ function v7() {}), I9({selected: new Set(_c),selectMode: vc- }), _7.batchDockProps = vct(), Aot() && (Aot().render(_7.batchDockProps), Z.syncGlassOptics());+ }), _7.batchDockProps = yct(), jot() && (jot().render(_7.batchDockProps), Z.syncGlassOptics());}function y7(e, t = !1) {- Hc(oct({+ Hc(sct({selected: gc,followSelected: _c}, x7(), g7(location.pathname), !!e, t)), document.body.classList.toggle("select-mode", vc), vc && Qs(), L("#selectMode").setAttribute("aria-pressed", String(vc)), v7();}-function lct() {+function uct() {return [...T7.gridCards()].map((e) => +e.dataset.id);}function b7(e, t = !1) {- Hc(sct({+ Hc(cct({selected: gc,followSelected: _c- }, x7(), g7(location.pathname), lct(), e, t)), y7(!0);+ }, x7(), g7(location.pathname), uct(), e, t)), y7(!0);}-function uct() {+function dct() {return [...document.querySelectorAll("[data-follow-list] > [data-follow-item]")].map((e) => +e.dataset.followItem);}-function dct(e, t = !1) {- Hc(sct({+function fct(e, t = !1) {+ Hc(cct({selected: gc,followSelected: _c- }, x7(), "follow", uct(), e, t)), y7(!0);+ }, x7(), "follow", dct(), e, t)), y7(!0);}-async function fct(e, t) {+async function pct(e, t) {let n = {like: "喜欢",seen: "标为看过",@@ -101403,7 +101416,7 @@ async function fct(e, t) {}});}-async function pct() {+async function mct() {let e = [...gc];if (!e.length) return;let t = fs({@@ -101435,7 +101448,7 @@ async function pct() {let { confirmed: n, result: r } = await t.done;n && (y7(!1, !0), await G7(), X5.actionReceipt(r.region === "none" ? `已撤回 ${e.length} 项的产地判定` : `已判为${r.label}:${e.length} 项`));}-async function mct(e, t) {+async function hct(e, t) {let n = [..._c];if (!n.length) return;let r = {@@ -101470,7 +101483,7 @@ async function mct(e, t) {}});}-async function hct(e, t) {+async function gct(e, t) {let n = [...gc];if (!n.length) return;let r = {@@ -101516,8 +101529,8 @@ async function hct(e, t) {}});}-function gct() {- kot({+function _ct() {+ Aot({root: L("[data-batch-dock]"),run: (e, t, n) => {_7.BATCH_RUNNERS[e]?.(t, n);@@ -101526,7 +101539,7 @@ function gct() {e.render(_7.batchDockProps), Z.syncGlassOptics();}).catch(() => {});}-function _ct() {+function vct() {_7.batchDockProps = {count: 0,context: "catalog",@@ -101539,14 +101552,14 @@ function _ct() {["other", "其他"],["none", "撤回判定"]], _7.BATCH_RUNNERS = {- batch: fct,- region: pct,- follow: mct,- junk: hct,+ batch: pct,+ region: mct,+ follow: hct,+ junk: gct,clear: () => y7(!1, !0)}, Y5.handler(L("#density"), "onclick", () => {- d7() ? zst(xw() === "big" ? "small" : "big") : Mue();- }), Ew(), Xs({+ d7() ? Bst(Sw() === "big" ? "small" : "big") : jue();+ }), Dw(), Xs({selecting: () => vc,censored: () => g9(),delaySeconds: () => Z.appSettings.hoverDelaySeconds@@ -101566,8 +101579,8 @@ function x7() {followLastSelectedId: bc};}-function vct() {- return cct({+function yct() {+ return lct({selected: gc,followSelected: _c}, location.pathname, location.search, W.state);@@ -101578,31 +101591,31 @@ var S7 = {peopleIndexLayout: void 0,personAvatar: void 0};-function yct() {- return Z.appSettings.followLayout === "table" ? "table" : "default";-}function bct() {- return sst(location.search);+ return Z.appSettings.followLayout === "table" ? "table" : "default";}-function xct(e) {- return cst(e);+function xct() {+ return cst(location.search);}function Sct(e) {- Q.route(xct(e));-}-function C7(e = "") {- return lst(location.search, e);+ return lst(e);}function Cct(e) {- return ist(e);+ Q.route(Sct(e));+}+function C7(e = "") {+ return ust(location.search, e);}function wct(e) {- return nst(e);+ return ast(e);+}+function Tct(e) {+ return rst(e);}function w7() {L("#stats").hidden = !0, L("#index").hidden = !1, s9(), X.hideCatalogCombo(), L("#count").textContent = "", L("#loadSentinel").hidden = !0;}-function Tct(e, t) {+function Ect(e, t) {Hc({ state: {...W,state: "",@@ -101610,23 +101623,23 @@ function Tct(e, t) {tag_match: t} }), y7(!1, !1), Q.route(X7()), M7(), D9(), r9();}-function Ect(e) {+function Dct(e) {S7.controller.openFollowAuthor(e);}-function Dct(e) {+function Oct(e) {S7.controller.openFollowTag(e);}-function Oct() {+function kct() {$.FOLLOW_MANAGE_TABS = ["list","add","feeds"], Y5.listen(document, "click", (e) => {- e.target.closest?.("[data-empty-settings]") ? ict("媒体库与入库") : !e.target.closest?.("a[href=\"/subscriptions?tab=add\"]") || e.defaultPrevented || e.button || e.metaKey || e.ctrlKey || e.shiftKey || e.altKey || (e.preventDefault(), Q.navigatePath(C7("add")));- }), S7.peopleIndexLayout = () => Oit(Z.appSettings.peopleLayout), S7.personAvatar = rst;+ e.target.closest?.("[data-empty-settings]") ? act("媒体库与入库") : !e.target.closest?.("a[href=\"/subscriptions?tab=add\"]") || e.defaultPrevented || e.button || e.metaKey || e.ctrlKey || e.shiftKey || e.altKey || (e.preventDefault(), Q.navigatePath(C7("add")));+ }), S7.peopleIndexLayout = () => kit(Z.appSettings.peopleLayout), S7.personAvatar = ist;}-function kct() {- S7.controller = ast({+function Act() {+ S7.controller = ost({route: Q.route,followView: N9,adoptFollowView: P9,@@ -101653,17 +101666,17 @@ function E7(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 = dAe(XR(location.search)), ko(t)) : (t.removeAttribute("aria-busy"), t.removeAttribute("aria-label"), t.textContent = "", W && n9({+ 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 = fAe(XR(location.search)), ko(t)) : (t.removeAttribute("aria-busy"), t.removeAttribute("aria-label"), t.textContent = "", W && n9({count: null,- ...xlt()+ ...Slt()})), L("#loadSentinel").hidden = !0, l9()) return;let r = L("#grid"), i = f9(e), a = r.querySelector(".catalog-skeleton");- (a?.dataset.skeleton !== cV(i) || Number(a.querySelector("[style]")?.style.getPropertyValue("--skeleton-card-ratio")) !== Nlt()) && (a ? r.innerHTML = `<div class="grid">${i}</div>` : T7.setGridCards(i), ko(L("#grid")));+ (a?.dataset.skeleton !== lV(i) || Number(a.querySelector("[style]")?.style.getPropertyValue("--skeleton-card-ratio")) !== Plt()) && (a ? r.innerHTML = `<div class="grid">${i}</div>` : T7.setGridCards(i), ko(L("#grid")));}function D7() {L("#catalogFilter").style.display = "none", t9();}-function Act() {+function jct() {let e = new Promise((e) => {let t = T7.ENTITY_SHAPES_WAIT, n = performance.now(), r = () => {let i = performance.now();@@ -101673,7 +101686,7 @@ function Act() {});return Promise.race([T7.entityShapesReady ||= r7(), e]);}-function jct() {+function Mct() {let e = decodeURIComponent(location.pathname);if (document.body.dataset.surface = location.pathname, e === "/wall") document.body.setAttribute("data-wall-open", ""), D7();else if (/^\/assets\/\d+$/.test(e)) D7();@@ -101684,21 +101697,21 @@ function jct() {D7();let t = L("#stats");t.hidden = !1, s9(), t.innerHTML = e.startsWith("/follow") && e !== "/subscriptions" ? $.followSkeletonHtml("正在读取关注内容") : T7.managementPlaceholder(e), ko(t);- } else if (/^\/(performers|creators|studios|agencies|tags)$/.test(e)) D7(), w7(), Nit(L("#index"), kit(e.slice(1), location.search), S7.peopleIndexLayout());+ } else if (/^\/(performers|creators|studios|agencies|tags)$/.test(e)) D7(), w7(), Pit(L("#index"), Ait(e.slice(1), location.search), S7.peopleIndexLayout());else if (/^\/(?:performers|creators|studios|agencies|series|tags)\//.test(e)) {D7(), L("#index").hidden = !1, s9();let t = Ft[e.split("/")[1]], n = e.split("/").slice(2).join("/");- Act().then(() => {- L("#index").firstElementChild || decodeURIComponent(location.pathname) !== e || (qst(t, n), ko(L("#index")));+ jct().then(() => {+ L("#index").firstElementChild || decodeURIComponent(location.pathname) !== e || (Jst(t, n), ko(L("#index")));});} else Q.routeMeta(e) ? E7() : (s9(), L("#count").textContent = "", L("#loadSentinel").hidden = !0);}-function Mct() {- $.followContentSkeletonHtml = (e = new URLSearchParams(location.search).get("media") === "images" ? "images" : "videos", t = "正在读取关注内容") => oV(t, {+function Nct() {+ $.followContentSkeletonHtml = (e = new URLSearchParams(location.search).get("media") === "images" ? "images" : "videos", t = "正在读取关注内容") => sV(t, {cards: !0,className: "follow-content-skeleton postercard-skeleton",gridClass: e === "images" ? "followlist followphotowall" : "",- gridSize: xw()+ gridSize: Sw()}), $.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>@@ -101708,16 +101721,16 @@ function Mct() {<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 = oo("继续载入中…"), T7.setGridCards = (e) => yo(L("#grid"), () => {L("#grid").innerHTML = `<div class="grid">${e}</div>`;- }), T7.gridCards = () => document.querySelectorAll(":is(#grid,#index [data-entity-grid]) [data-media-grid] > [data-media-card][data-id]"), T7.managementPlaceholder = (e) => sV(e, {- followLayout: yct(),+ }), T7.gridCards = () => document.querySelectorAll(":is(#grid,#index [data-entity-grid]) [data-media-grid] > [data-media-card][data-id]"), T7.managementPlaceholder = (e) => cV(e, {+ followLayout: bct(),...(({ sort: e, dir: t, tab: n }) => ({followSort: e,followDir: t,followTab: n- }))(bct())+ }))(xct())}), T7.wantsDiscoveryBars = () => L("#catalogFilter").style.display !== "none", T7.entityShapesReady = null, T7.ENTITY_SHAPES_WAIT = 400, T7.syncPageTitle = (e) => {- let t = new URL(e, location.origin), n = hO(decodeURIComponent(t.pathname))?.title;- document.title = n ? `${n} · Peach` : "Peach · 蜜桃", document.body.dataset.surface = t.pathname, uut();+ let t = new URL(e, location.origin), n = gO(decodeURIComponent(t.pathname))?.title;+ document.title = n ? `${n} · Peach` : "Peach · 蜜桃", document.body.dataset.surface = t.pathname, dut();};}//#endregion@@ -101729,7 +101742,7 @@ var O7 = (e) => e.replace(/[&<>"']/g, (e) => ({"\"": ""","'": "'"})[e]);-function Nct(e, t, n) {+function Pct(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.png\" alt=\"\">" : `<svg viewBox="0 0 24 24" aria-hidden="true"><use href="#i-${O7(r)}"/></svg>`;@@ -101738,7 +101751,7 @@ function Nct(e, t, n) {}//#endregion//#region src/application/filter-scroll.js-function Pct(e, t, n, r = !1) {+function Fct(e, t, n, r = !1) {if (t = Math.max(0, t), !e || !n || r || t <= 8) return {y: t,origin: t,@@ -101780,18 +101793,18 @@ var k7 = {mobileFilterPath: void 0};function A7({ manage: e = !0, placeholder: t = "" } = {}) {- L("#stats").hidden = !1, L("#index").hidden = !0, s9(), L("#count").textContent = "", L("#loadSentinel").hidden = !0, e ? L7() : (R7(""), D9()), t && lV(L("#stats"), t);+ L("#stats").hidden = !1, L("#index").hidden = !0, s9(), L("#count").textContent = "", L("#loadSentinel").hidden = !0, e ? L7() : (R7(""), D9()), t && uV(L("#stats"), t);}function j7() {X.hideCatalogCombo(), D7(), document.body.classList.remove("entity-open", "index-open");}function M7() {- document.body.classList.remove("entity-open", "index-open"), TO(L("#index")), L("#stats").hidden = !0, L("#index").hidden = !0, i7(location.pathname) || (L("#feedNew").hidden = !0), L("#catalogFilter").style.display = "", t9(), L7(), z7();+ document.body.classList.remove("entity-open", "index-open"), EO(L("#index")), L("#stats").hidden = !0, L("#index").hidden = !0, i7(location.pathname) || (L("#feedNew").hidden = !0), L("#catalogFilter").style.display = "", t9(), L7(), z7();}-function Fct() {+function Ict() {Q.route("/"), M7();}-function Ict({ tags: e = [], providers: t = [], duration: n = !1 }) {+function Lct({ tags: e = [], providers: t = [], duration: n = !1 }) {E9({content: e.length || t.length || n ? {kind: "follow",@@ -101815,8 +101828,8 @@ function Ict({ tags: e = [], providers: t = [], duration: n = !1 }) {filters: $.followSidebarFilters()});}-function Lct(e) {- but({+function Rct(e) {+ xut({...N9(),...e}), E9({ filters: $.followSidebarFilters() });@@ -101828,39 +101841,39 @@ function P7(e) {let t = L("#drawer"), n = !e && t.contains(document.activeElement);t.inert = !e && N7(), 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 Rct() {+function zct() {N7() && P7(!1);}-function zct() {+function Bct() {jc === null && (Hc({ runtimeConfigurable: !1 }), Dt("/healthz").then((e) => {Hc({ runtimeConfigurable: !!e.configurable }), jc && I7() && L7();}).catch(() => {}));}function F7(e = "", t = !1) {- if (!t && !QD(location.pathname)) {- let t = NO.navigation;- NO.push(eO(e), { settingsBackground: {+ if (!t && !$D(location.pathname)) {+ let t = PO.navigation;+ PO.push(tO(e), { settingsBackground: {pathname: location.pathname,search: location.search,state: t.location.state,seq: t.seq} });- } else !t && e && PO(eO(e), {+ } else !t && e && FO(tO(e), {replace: !0,- state: NO.navigation.location.state+ state: PO.navigation.location.state});- return e ||= $D(location.pathname), wot(k7.settingsHost()).then((t) => (t.open(e), t));-}-function Bct() {- QD(location.pathname) && (tO(NO.navigation.location.state) ? NO.go(-1) : Q.navigatePath("/", !0));+ return e ||= eO(location.pathname), Tot(k7.settingsHost()).then((t) => (t.open(e), t));}function Vct() {+ $D(location.pathname) && (nO(PO.navigation.location.state) ? PO.go(-1) : Q.navigatePath("/", !0));+}+function Hct() {return {scroll: L("#drawerScroll"),store: Z.settingsStore,navCatalog: k7.NAV_CATALOG,navOn: K7,- navTo: Zct,+ navTo: Qct,toggleChip: (e, t, n) => e9((r) => {if (n) {let n = String(r[e] || "").split(",").filter(Boolean), i = n.indexOf(t);@@ -101876,8 +101889,8 @@ function Vct() {selectFollowTag: (e) => {$.followTags = /* @__PURE__ */ new Set([e]), P7(!1), j9(M9());},- selectFollowProvider: (e) => Lct({ provider: $.followProviders.has(e) ? "" : e }),- setFollowDuration: (e, t) => Lct({+ selectFollowProvider: (e) => Rct({ provider: $.followProviders.has(e) ? "" : e }),+ setFollowDuration: (e, t) => Rct({durMin: e ? e * 60 : 0,durMax: t < 180 ? t * 60 : 0}),@@ -101886,31 +101899,31 @@ function Vct() {}};}-function Hct() {+function Uct() {let e = L("#drawerScroll");- e.innerHTML = Nct(Z.appSettings.sidebarOrder, k7.NAV_CATALOG, K7), Y5.listen(e, "click", (e) => {+ e.innerHTML = Pct(Z.appSettings.sidebarOrder, k7.NAV_CATALOG, K7), Y5.listen(e, "click", (e) => {if (U5()) return;let t = e.target.closest?.("[data-nav]");- t && Zct(t.dataset.nav);- }), Eot(Vct()).then((e) => e.render(k7.sidebarProps)).catch(() => {});+ t && Qct(t.dataset.nav);+ }), Dot(Hct()).then((e) => e.render(k7.sidebarProps)).catch(() => {});}-async function Uct() {+async function Wct() {let e = Y5, t = null;try {t = await Dt("/api/settings", { signal: e.signal });} catch {return;}- e.isActive && uw(t, (e) => Z.settingsEffects[e]?.());+ e.isActive && dw(t, (e) => Z.settingsEffects[e]?.());}function I7() {return Q.routeMeta(decodeURIComponent(location.pathname))?.route.section || (W.state === "ads" ? "cleanup" : "");}function L7() {let e = I7();- zct(), e && D7(), L("#count").classList.toggle("no-tagbar", !!e), D9(), e !== "trash" && (_7.trashCount = null), R7(e);+ Bct(), e && D7(), L("#count").classList.toggle("no-tagbar", !!e), D9(), e !== "trash" && (_7.trashCount = null), R7(e);}-function Wct(e) {+function Gct(e) {return {section: e,path: decodeURIComponent(location.pathname),@@ -101921,30 +101934,30 @@ function Wct(e) {}function R7(e = I7()) {z7();- let t = Wct(e), n = Oot();+ let t = Gct(e), n = kot();if (n) n.render(t);else {- let e = rpe(t);+ let e = npe(t);e !== k7.manageHeaderSkeleton && (k7.manageHeaderSkeleton = e, k7.manageHeaderRoot().innerHTML = e);}- let r = JE(t)?.title || "";+ let r = YE(t)?.title || "";r !== k7.lastManagePageLabel && (k7.lastManagePageLabel = r, r && vo(k7.manageHeaderRoot(), "[data-manage-title],[data-manage-lede]"));}-function Gct() {+function Kct() {let e = k7.manageHeaderRoot();Y5.listen(e, "click", (e) => {- if (Oot()) return;+ if (kot()) return;let t = e.target.closest?.("[data-manage]");if (t) B7(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]") && Dlt();- }), Dot({+ } else e.target.closest?.("[data-empty-trash]") && Olt();+ }), Oot({root: e,openManage: B7,openDataCleanup: () => Q.navigatePath("/data-cleanup"),- emptyTrash: Dlt+ emptyTrash: Olt}).then(() => R7()).catch(() => {});}function z7() {@@ -101961,40 +101974,40 @@ function V7() {let e = decodeURIComponent(location.pathname);return e === "/" ? W.jav === "1" : e.startsWith("/performers/") || e.startsWith("/studios/") ? W.jav === "1" || Fc : !1;}-function Kct(e = V7()) {- let t = FC.filter(([e]) => e !== "seed");- return e ? [IC, ...t] : t;+function qct(e = V7()) {+ let t = IC.filter(([e]) => e !== "seed");+ return e ? [LC, ...t] : t;}function H7() {return decodeURIComponent(location.pathname) === "/" && W.jav !== "1";}function U7() {- return yue(H7());-}-function qct(e) {- Sue(e), W7(), L("#grid").hidden || p9();+ return vue(H7());}function Jct(e) {- Cue(e), W7(), p9();+ xue(e), W7(), L("#grid").hidden || p9();+}+function Yct(e) {+ Sue(e), W7(), p9();}function W7() {document.querySelectorAll("[data-video-layout]").forEach((e) => {e.checked = e.value === U7();- }), X.catalogFilterProps && n9({ layout: blt() });+ }), X.catalogFilterProps && n9({ layout: xlt() });}-function Yct(e) {- wue(e), W7(), p9();+function Xct(e) {+ Cue(e), W7(), p9();}async function G7() {- $5(), X.mixRelatedCache.clear(), await Promise.all([Xct(), r9()]);+ $5(), X.mixRelatedCache.clear(), await Promise.all([Zct(), r9()]);}-async function Xct() {+async function Zct() {if (o7.entityPageCurrent() && !L("#index").hidden) {c7({ revision: ++o7.entityPageRevision });return;}let e = decodeURIComponent(location.pathname);- if (hO(e)?.reload === "reopen" || e === "/follow") {+ if (gO(e)?.reload === "reopen" || e === "/follow") {Hc({ pageOpens: Nc + 1 });return;}@@ -102010,8 +102023,8 @@ function K7(e) {}return e === "jav" ? t === "/jav" || V7() : e === "shorts" ? W.orient === "竖屏" : e === "" ? t === "/" && !I7() && !W.state && !V7() && W.orient !== "竖屏" : At[e] ? n === e && W.orient !== "竖屏" : n ? n === e : t === "/" && W.state === e && W.orient !== "竖屏";}-function Zct(e) {- if (Rct(), k7.DIRECT_MANAGE_NAV[e]) {+function Qct(e) {+ if (zct(), k7.DIRECT_MANAGE_NAV[e]) {B7(k7.DIRECT_MANAGE_NAV[e]);return;}@@ -102036,11 +102049,11 @@ function q7() {let n = t.length > 1 && Object.prototype.hasOwnProperty.call(Ft, t[0]), r = Nt(e) || e === "/trash", i = r || n || e === "/tags" || e === "/follow", a = r || n || e === "/follow";L("#selectMode").hidden = !i, L("#density").hidden = !a, f7(), !i && vc && y7(!1, !0);}-function Qct() {+function $ct() {let e = [...document.querySelectorAll("[data-filter-frame]")], t = e.find((e) => e.offsetParent !== null);(t !== k7.mobileFilterHost || location.pathname !== k7.mobileFilterPath) && (k7.mobileFilterScroll = null), k7.mobileFilterHost = t, k7.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\"]");- k7.mobileFilterScroll = Pct(k7.mobileFilterScroll, n, innerWidth <= 760, r);+ k7.mobileFilterScroll = Fct(k7.mobileFilterScroll, n, innerWidth <= 760, r);for (let n of e) {let e = n === t && k7.mobileFilterScroll.free;if (e && n.style.setProperty("--filter-free-top", `${-n.offsetHeight - 12}px`), e === n.hasAttribute("data-filter-free")) continue;@@ -102054,44 +102067,44 @@ function Qct() {});}}-function $ct() {- Qct(), [".board-filter-frame", "#count"].forEach((e) => {+function elt() {+ $ct(), [".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 J7() {k7.stickyFrame ||= Y5.frame(() => {- k7.stickyFrame = 0, $ct();+ k7.stickyFrame = 0, elt();});}-function elt() {+function tlt() {$.followSidebarFilters = () => ({provider: [...$.followProviders][0] || "",dur_min: $.followDurMin || "",dur_max: $.followDurMax || ""- }), Y5.handler(L("#filterBtn"), "onclick", () => P7(!L("#drawer").classList.contains("open"))), k7.SIDEBAR_ITEMS = Xot, k7.MANAGE_SECTIONS = e7, k7.MANAGE_MENU_SECTIONS = Zot, k7.manageMenuSections = () => Qot(jc === !0), k7.OPTIONAL_SIDEBAR_ITEMS = $ot, k7.NAV_CATALOG = est, k7.DIRECT_MANAGE_NAV = tst, k7.settingsHost = () => ({- selectSection: (e) => PO(eO(e), {+ }), Y5.handler(L("#filterBtn"), "onclick", () => P7(!L("#drawer").classList.contains("open"))), k7.SIDEBAR_ITEMS = Zot, k7.MANAGE_SECTIONS = e7, k7.MANAGE_MENU_SECTIONS = Qot, k7.manageMenuSections = () => $ot(jc === !0), k7.OPTIONAL_SIDEBAR_ITEMS = est, k7.NAV_CATALOG = tst, k7.DIRECT_MANAGE_NAV = nst, k7.settingsHost = () => ({+ selectSection: (e) => FO(tO(e), {replace: !0,- state: NO.navigation.location.state+ state: PO.navigation.location.state}),- closed: Bct,+ closed: Vct,store: Z.settingsStore,changed: (e) => Z.settingsEffects[e]?.(),sound: (e) => Ia(e),navCatalog: k7.NAV_CATALOG,- themeOptions: mue,- videoLayouts: hw,- followInitialRanges: Qz,+ themeOptions: pue,+ videoLayouts: gw,+ followInitialRanges: $z,videoLayout: () => U7(),- setVideoLayout: Yct,+ setVideoLayout: Xct,censored: g9,- setCensored: Glt,+ setCensored: Klt,highContrast: () => document.documentElement.classList.contains("board-high-contrast"),- setHighContrast: Klt,+ setHighContrast: qlt,receipt: (e) => X5.actionReceipt(e),failure: X5.actionFailure,- syncRemote: (e) => uw(e, (e) => Z.settingsEffects[e]?.()),+ syncRemote: (e) => dw(e, (e) => Z.settingsEffects[e]?.()),openConfiguration: () => Q.navigatePath("/settings/library"),attached: () => Z.syncGlassOptics(),configurable: () => Dt("/healthz").then((e) => (Hc({ runtimeConfigurable: !!e.configurable }), jc)).catch(() => null)@@ -102103,19 +102116,19 @@ function elt() {}//#endregion//#region src/catalog-filter-skeleton.ts-var tlt = 64, Y7 = (e) => e.replace(/[&<>"]/g, (e) => ({+var nlt = 64, Y7 = (e) => e.replace(/[&<>"]/g, (e) => ({"&": "&","<": "<",">": ">","\"": """-})[e]), nlt = (e) => e.repeat(tlt);-function rlt(e, t) {+})[e]), rlt = (e) => e.repeat(nlt);+function ilt(e, t) {let n = e.map((e) => `<a href="${Y7(e.href)}" data-catalog-view="${Y7(e.k)}" data-entity-press="" aria-pressed="${t === e.k}">${Y7(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\">" + nlt("<span data-catalog-placeholder=\"performer\" aria-hidden=\"true\"><span></span><span> </span></span>") + "</div><div data-catalog-tier=\"studios\">" + nlt("<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="">${n}<span data-entity-sep="" aria-hidden="true"></span></div><div data-catalog-tags=""><span data-catalog-placeholder="tag" aria-hidden="true">` + "<span></span>".repeat(tlt) + "</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-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></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\">" + rlt("<span data-catalog-placeholder=\"performer\" aria-hidden=\"true\"><span></span><span> </span></span>") + "</div><div data-catalog-tier=\"studios\">" + rlt("<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="">${n}<span data-entity-sep="" aria-hidden="true"></span></div><div data-catalog-tags=""><span data-catalog-placeholder="tag" aria-hidden="true">` + "<span></span>".repeat(nlt) + "</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-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></div></div></div></div>";}//#endregion//#region src/catalog-onboarding.ts-var ilt = [+var alt = ["loc","creator","performer",@@ -102133,9 +102146,9 @@ var ilt = ["jav","thumb"];-async function alt(e, t) {+async function olt(e, t) {let n = new URLSearchParams();- for (let t of ilt) e[t] && n.set(t, e[t]);+ for (let t of alt) 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 || [],@@ -102146,7 +102159,7 @@ async function alt(e, t) {return r.set("q", e), r.set("limit", "1"), (await t("/api/items?" + r)).total > 0 ? e : "";}))).filter(Boolean);}-function olt({ kind: e = "catalog", filtered: t = !1, jav: n = !1, configurable: r = !1, online: i = !1 } = {}) {+function slt({ kind: e = "catalog", filtered: t = !1, jav: n = !1, configurable: r = !1, online: i = !1 } = {}) {let a = r ? "<button class=\"geist-button primary\" data-empty-settings>添加内容</button>" : "", o = "<a class=\"geist-button" + (!r || i ? " primary" : "") + "\" href=\"/subscriptions?tab=add\">添加关注</a>";if (t || n) return co("search", n ? "还没有符合条件的 JAV 作品" : "没有符合条件的内容", n ? "已扫描但尚未补充发行资料的视频可在全部内容中查看。" : "清除筛选或搜索条件后查看全部内容。", { actions: "<a class=\"geist-button primary\" href=\"/?loc=&thumb=0\">查看全部内容</a>" });if (e !== "catalog") {@@ -102202,40 +102215,40 @@ var X = {junkQueueHelpers: void 0,junkQueueActions: void 0};-function slt() {- X.initialParams.has("loc") || (W.loc = clt(W.loc), Uc());+function clt() {+ X.initialParams.has("loc") || (W.loc = llt(W.loc), Uc());}-function clt(e) {- return zot(e, Z.sourceOnline);+function llt(e) {+ return Bot(e, Z.sourceOnline);}function X7(e = W) {- return Bot(e);+ return Vot(e);}-function llt() {- Hc(Hot(Vot(W, Z.appSettings, X5.rollSeed))), $5();+function ult() {+ Hc(Uot(Hot(W, Z.appSettings, X5.rollSeed))), $5();}function Z7(e = null, t = !1) {- llt(), e && (Object.assign(W, e), Uc()), Q.route(e ? X7() : "/"), X.clearSearchField(), y9(!1), M7(), D9(), r9(), t && window.scrollTo({+ ult(), e && (Object.assign(W, e), Uc()), Q.route(e ? X7() : "/"), X.clearSearchField(), y9(!1), M7(), D9(), r9(), t && window.scrollTo({top: 0,behavior: "smooth"});}-function ult(e, t = null) {+function dlt(e, t = null) {let n = e.id;!e.medium || e.medium === "video" ? x9(n, !0, null, t) : e.medium === "image" && e.location !== "online" ? window.open("/photo?id=" + n, "_blank", "noopener") : b7(n);}-function dlt(e) {+function flt(e) {return X.mixRelatedCache.has(e) || X.mixRelatedCache.set(e, Dt("/api/related?id=" + e + "&limit=28").then((t) => (t.items || []).filter((t) => t.id !== e)).catch((t) => {throw X.mixRelatedCache.delete(e), t;})), X.mixRelatedCache.get(e);}-function flt(e, t) {- F5()?.miniplayerTakesCard(e) ? F5().miniplayerPlay(e.id) : plt(e, t);-}function plt(e, t) {- e.edition_group ? tut(e.edition_group.seed_id, e.id, !0, t) : e.part_group ? nut(e.part_group.seed_id, e.id, !0, t) : x9(e.id, !0, null, t);+ F5()?.miniplayerTakesCard(e) ? F5().miniplayerPlay(e.id) : mlt(e, t);}-async function mlt(e, t) {+function mlt(e, t) {+ e.edition_group ? nut(e.edition_group.seed_id, e.id, !0, t) : e.part_group ? rut(e.part_group.seed_id, e.id, !0, t) : x9(e.id, !0, null, t);+}+async function hlt(e, t) {try {let n = await Dt("/api/watch-later", {method: "POST",@@ -102252,7 +102265,7 @@ async function mlt(e, t) {X5.actionFailure("更新稍后看", e);}}-async function hlt(e, t) {+async function glt(e, t) {try {await Dt("/api/batch", {method: "POST",@@ -102276,7 +102289,7 @@ async function hlt(e, t) {throw X5.actionFailure("操作", e), e;}}-async function glt(e) {+async function _lt(e) {let t = new URLSearchParams();if (V7() && 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 = o7.activeFilterState();@@ -102297,9 +102310,9 @@ async function glt(e) {e[n] && t.set(n, e[n]);});}- return Jot(t.toString(), X.topsQueryParams(e).toString());+ return Yot(t.toString(), X.topsQueryParams(e).toString());}-function _lt() {+function vlt() {if (scrollY <= 0) return;let e = document.documentElement;e.classList.add("refiltering");@@ -102312,14 +102325,14 @@ function _lt() {});}function Q7(e) {- l7().type !== "entity" && n9({ tags: Slt(e) }), E9({ filters: { ...e } }), a9();+ l7().type !== "entity" && n9({ tags: Clt(e) }), E9({ filters: { ...e } }), a9();}async function $7(e) {- let t = ++X.facetCountsSeq, [n] = await glt(e);- t === X.facetCountsSeq && (e.type === "home" && (v9.facets = n), E9({ latest: Hlt(n, e) }));+ let t = ++X.facetCountsSeq, [n] = await _lt(e);+ t === X.facetCountsSeq && (e.type === "home" && (v9.facets = n), E9({ latest: Ult(n, e) }));}function e9(e) {- _lt();+ vlt();let t = l7();if (t.type === "entity") {let n = { ...t.filters };@@ -102336,7 +102349,7 @@ function e9(e) {} }), Q.route(X7()), M7(), r9();} else e(W), Uc(), Q.route(X7()), Q7(W), $7(mc);}-function vlt() {+function ylt() {return {tiers: null,empty: !1,@@ -102353,7 +102366,7 @@ function vlt() {combo: [],comboHidden: !0,comboHost: L("#combo"),- actions: ylt(),+ actions: blt(),helpers: {wireDrag: _9,wireScroller: (e) => {@@ -102371,16 +102384,16 @@ function n9(e) {...e,offscreen: n}, X.catalogFilterProps = {- ...X.catalogFilterProps || vlt(),+ ...X.catalogFilterProps || ylt(),...e- }, !X.catalogFilterMounting && (bO(t) ? wO(t, e) : (!t.firstChild && !n && (t.innerHTML = rlt(X.catalogViews(), X.catalogFilterProps.state), ko(t)), X.catalogFilterMounting = CO("catalog-filter", X.catalogFilterProps, {+ }, !X.catalogFilterMounting && (xO(t) ? TO(t, e) : (!t.firstChild && !n && (t.innerHTML = ilt(X.catalogViews(), X.catalogFilterProps.state), ko(t)), X.catalogFilterMounting = wO("catalog-filter", X.catalogFilterProps, {container: t,isCurrent: () => !0- }).then(() => wO(t, X.catalogFilterProps)).finally(() => {+ }).then(() => TO(t, X.catalogFilterProps)).finally(() => {X.catalogFilterMounting = null;})));}-function ylt() {+function blt() {return {currentHref: () => {let e = new URL(X7(), location.origin);@@ -102398,49 +102411,49 @@ function ylt() {e.tag = "", e.creator = "", e.studio = "", e.owner = "";}),setSort: (e) => {- let t = HC(e, W.sort, W.dir);+ let t = UC(e, W.sort, W.dir);t && (W.sort = t.sort, W.dir = t.dir, Uc(), h9());},- reshuffle: () => Ult(),+ reshuffle: () => Wlt(),setLayout: (e) => {- V7() ? Jct(e) : qct(e);+ V7() ? Yct(e) : Jct(e);},moreTops: async (e) => {let t = X.catalogTopsPages;if (!t) return [];- let n = (await Yot(X.topsQueryParams(t.context, ++t[e]).toString()))[e] || [];- return e === "performers" ? n.map(Clt) : n.map(wlt);+ let n = (await Xot(X.topsQueryParams(t.context, ++t[e]).toString()))[e] || [];+ return e === "performers" ? n.map(wlt) : n.map(Tlt);}};}-function blt() {+function xlt() {return V7() ? {name: "jav-layout",label: "JAV 卡片版式",- value: bw(),- options: hw+ value: xw(),+ options: gw} : H7() ? {name: "home-layout",label: "首页卡片版式",value: U7(),- options: hw+ options: gw} : null;}-function xlt() {+function Slt() {return {- sorts: Lst(W.sort, W.dir),- layout: blt(),+ sorts: Rst(W.sort, W.dir),+ layout: xlt(),state: W.state || "",trash: W.state === "trash"};}-function Slt(e) {+function Clt(e) {return X.catalogTagRows.map((t) => ({...t,selected: X.tagPressed(e.tag, t.k)}));}-function Clt(e) {+function wlt(e) {return {name: e.k,ringHtml: `<span data-tier-initial>${z(nn(e.k))}</span>${ca({@@ -102454,14 +102467,14 @@ function Clt(e) {})}`};}-function wlt(e) {+function Tlt(e) {return {name: e.k,fallback: tn(e.k, 2),logo: e.has_logo ? aa(e.k, "icon", e.logo_version) : ""};}-function Tlt(e) {+function Elt(e) {X.catalogFilterProps?.tiers || (X.barsRendered = "", n9({tiers: null,state: e.state || ""@@ -102477,8 +102490,8 @@ async function r9() {W.seed || "",V7()]);- Tlt(n);- let [i, a] = await glt(t);+ Elt(n);+ let [i, a] = await _lt(t);if (e !== X.barsRequestSeq) return;let o = r + "\n" + JSON.stringify([i, a]);if (o === X.barsRendered) {@@ -102505,25 +102518,25 @@ async function r9() {})), n9({tiers: {key: String(X.barsRequestSeq),- performers: a.performers.map(Clt),- studios: a.studios.map(wlt)+ performers: a.performers.map(wlt),+ studios: a.studios.map(Tlt)},empty: c,- tags: Slt(n),+ tags: Clt(n),tagFirst: d.length + p.length,views: X.catalogViews(),state: n.state || ""}), a9(), k7.sidebarCatalog = {kind: "catalog",key: String(++k7.sidebarContentSeq),- facets: Hlt(i, t)+ facets: Ult(i, t)}, E9({content: k7.sidebarCatalog,filters: { ...n },latest: null});}-function Elt(e, t) {+function Dlt(e, t) {v9.total = e, W.state === "trash" && (_7.trashCount = {total: v9.total,shown: t@@ -102532,7 +102545,7 @@ function Elt(e, t) {shown: t} });}-function Dlt() {+function Olt() {return ms({title: "清空回收站",body: "回收站中的全部文件和馆藏记录将永久删除,无法恢复。",@@ -102554,7 +102567,7 @@ function i9(e) {t.tag = e ? X.withTagToggled(t.tag, e) : "";});}-function Olt(e) {+function klt(e) {let t = [];return e.creator && t.push({kind: "clear",@@ -102576,13 +102589,13 @@ function Olt(e) {}function a9() {n9({- combo: Olt(W),+ combo: klt(W),comboHidden: !X.catalogOnScreen()});}async function o9() {let e = Q.claimSurface(Q.surfacePath());- if (Ast(location.pathname) && !bO(L("#libraryProcessingNotice")) && CO("library-processing", {+ if (jst(location.pathname) && !xO(L("#libraryProcessingNotice")) && wO("library-processing", {toast: X5.toast,mode: "notice"}, {@@ -102594,43 +102607,43 @@ async function o9() {filters: W},detailReturnBarsContext: null- }), y9(!1), W.state === "ads") return Flt(e);+ }), y9(!1), W.state === "ads") return Ilt(e);if (X.controller.page === "/junk-files" && s9(), E7(), M7(), i7(location.pathname)) {if (await T7.entityShapesReady, !Q.surfaceCurrent(e)) return;- jst();+ Mst();} else a7();- return a9(), L("#count").classList.remove("manage-static", "junkcount"), Alt(e);+ return a9(), L("#count").classList.remove("manage-static", "junkcount"), jlt(e);}-function klt(e) {+function Alt(e) {X.controller.settle(e);}function s9() {let e = L("#grid");- Qs(e), TO(e), X.controller.clear(), e.innerHTML = "";-}-function Alt(e) {- return Mlt("/", Plt, e, { place: Sut });+ Qs(e), EO(e), X.controller.clear(), e.innerHTML = "";}function jlt(e) {- return Mlt("/junk-files", Llt, e);+ return Nlt("/", Flt, e, { place: Cut });+}+function Mlt(e) {+ return Nlt("/junk-files", Rlt, e);}function c9() {- return !!yO(L("#grid"));+ return !!bO(L("#grid"));}function l9() {return X.controller.taken(c9());}function u9(e) {- wO(L("#grid"), e);+ TO(L("#grid"), e);}-function Mlt(e, t, n, r = {}) {+function Nlt(e, t, n, r = {}) {let i = L("#grid");X.controller.page && X.controller.page !== e && s9();let a = X.controller.begin(e, c9()), o = t();if (!a.mount) return u9(o), a.settled;Qs(i);- let s = () => TO(i);- return a.signal.addEventListener("abort", s, { once: !0 }), CO(e, o, {+ let s = () => EO(i);+ return a.signal.addEventListener("abort", s, { once: !0 }), wO(e, o, {...r,container: i,isCurrent: () => Q.surfaceCurrent(n) && a.isCurrent()@@ -102640,21 +102653,21 @@ function Mlt(e, t, n, r = {}) {}function d9() {let e = H7();- return ww({+ return Tw({active: V7() || e,home: e,portrait: W.orient === "竖屏"});}function f9(e = "正在读取作品") {- return oV(e, {+ return sV(e, {cards: !0,className: "catalog-skeleton postercard-skeleton",- cardRatio: Nlt()+ cardRatio: Plt()});}-function Nlt() {- return W ? Tw(d9()) : 16 / 9;+function Plt() {+ return W ? Ew(d9()) : 16 / 9;}function p9() {l9() && (Qs(L("#grid")), u9({@@ -102665,7 +102678,7 @@ function p9() {seekSeconds: Z.appSettings.seekSeconds}));}-function Plt() {+function Flt() {let e = decodeURIComponent(location.pathname), t = Nt(e), n = W.state === "trash";return {mode: "catalog",@@ -102678,7 +102691,7 @@ function Plt() {seekSeconds: Z.appSettings.seekSeconds,revision: X.controller.revision,wireDrag: _9,- settled: klt,+ settled: Alt,skeletonHtml: () => f9(),filters: { ...W },batchSize: Z.appSettings.batchSize,@@ -102687,9 +102700,9 @@ function Plt() {mix: t && e !== "/wall" && !n,shorts: t && e !== "/wall" && !V7() && W.orient !== "竖屏" && !n,countRow: L("#count"),- onCount: Elt,+ onCount: Dlt,onCountFailed: () => n9({ count: !1 }),- emptyHtml: ({ trash: e, libraryEmpty: t }) => e ? Z.emptyState("trash", "回收站是空的", "删掉的内容会先到这里;确认不再需要后再清空。") : olt({+ emptyHtml: ({ trash: e, libraryEmpty: t }) => e ? Z.emptyState("trash", "回收站是空的", "删掉的内容会先到这里;确认不再需要后再清空。") : slt({jav: V7() && !t,configurable: jc,filtered: !t@@ -102697,11 +102710,11 @@ function Plt() {canLoadMore: () => L("#stats").hidden && L("#index").hidden};}-function Flt(e) {+function Ilt(e) {let t = L("#count");- return X.controller.page === "/junk-files" && c9() && !X.controller.pending && t.querySelector(":scope > .peach-react:not([data-junk-count-skeleton])") || (s9(), E7("正在读取垃圾文件")), M7(), a9(), t.classList.add("manage-static", "junkcount"), t.classList.remove("is-stuck"), jlt(e);+ return X.controller.page === "/junk-files" && c9() && !X.controller.pending && t.querySelector(":scope > .peach-react:not([data-junk-count-skeleton])") || (s9(), E7("正在读取垃圾文件")), M7(), a9(), t.classList.add("manage-static", "junkcount"), t.classList.remove("is-stuck"), Mlt(e);}-async function Ilt(e, t) {+async function Llt(e, t) {let n = [e.id], r = t === "dispose", i = t === "reconsider-junk";try {await Dt("/api/batch", {@@ -102726,7 +102739,7 @@ async function Ilt(e, t) {throw X5.actionFailure("操作", e), e;}}-function Llt() {+function Rlt() {return {...XR(location.search),helpers: X.junkQueueHelpers,@@ -102736,16 +102749,16 @@ function Llt() {selectMode: vc,selected: new Set(gc),countRow: L("#count"),- settled: klt,- skeletonHtml: () => oV("正在读取垃圾文件", {+ settled: Alt,+ skeletonHtml: () => sV("正在读取垃圾文件", {cards: !0,className: "catalog-skeleton postercard-skeleton"}),canLoadMore: () => L("#stats").hidden && L("#index").hidden};}-function Rlt() {- X.initialParams = new URLSearchParams(location.search), X.resolveSort = (e, t, n = Z.appSettings.defaultSort) => Lot(e, t, Z.appSettings, n), Hc(Hot(Rot(location, Z.appSettings, X5.rollSeed))), X.searchValueSnapshot = {+function zlt() {+ X.initialParams = new URLSearchParams(location.search), X.resolveSort = (e, t, n = Z.appSettings.defaultSort) => Rot(e, t, Z.appSettings, n), Hc(Uot(zot(location, Z.appSettings, X5.rollSeed))), X.searchValueSnapshot = {text: "",scrollLeft: 0}, X.cancelSearchDissolve = () => {}, X.rememberSearchValue = (e = L("#q")) => {@@ -102766,7 +102779,7 @@ function Rlt() {};};}-function zlt() {+function Blt() {Y5.handler(L("#wallBtn"), "onclick", () => {y7(!1, !0);let e = l7(), t = {@@ -102779,20 +102792,20 @@ function zlt() {return r >= 0 ? n.splice(r, 1) : n.push(t), n.join(",");}, X.gridHelpers = {badgeHtml: (e, t) => Z.srcBadge(e, t),- titleHtml: (e, t) => RO(e, t),- displayName: (e, t) => LO(e, t),+ titleHtml: (e, t) => zO(e, t),+ displayName: (e, t) => RO(e, t),tagLabel: (e) => rc(e)}, X.gridActions = {wallPlayer: async (e, t, n) => {let r = await P5(v9.stageHost);return n.throwIfAborted(), r.mountWallPlayer(e, t, n);},- wallDetails: plt,- open: (e, t) => flt(e, t),- openResource: (e, t) => F5()?.miniplayerTakesCard(e) ? F5().miniplayerPlay(e.id) : ult(e, t),+ wallDetails: mlt,+ open: (e, t) => plt(e, t),+ openResource: (e, t) => F5()?.miniplayerTakesCard(e) ? F5().miniplayerPlay(e.id) : dlt(e, t),openShort: (e) => F5()?.miniplayerTakesCard(e) ? F5().miniplayerPlay(e.id) : C9(e.id),openShorts: () => C9(),- openMix: (e, t) => eut(e, e, !0, t),+ openMix: (e, t) => tut(e, e, !0, t),openEntity: (e, t) => m7(e, t),openUnowned: () => Z7({ owner: "none" }, !0),toggleTag: (e) => {@@ -102804,9 +102817,9 @@ function zlt() {});},toggleSelection: (e, t) => b7(e, t),- watchLater: (e, t) => mlt(e, t),- resourceOperation: (e, t) => hlt(e, t),- mixRelated: (e) => dlt(e),+ watchLater: (e, t) => hlt(e, t),+ resourceOperation: (e, t) => glt(e, t),+ mixRelated: (e) => flt(e),canFlip: () => !vc && !g9() && !window.__scrolling && !X.reduceMotion()}, X.topsQueryParams = (e, t = 0) => {let n = new URLSearchParams({@@ -102836,7 +102849,7 @@ function zlt() {href: e.k ? At[e.k] : "/"})), X.TAGS_FIRST = 26, Y5.listen(L("#catalogFilter"), "click", (e) => {let t = e.target.closest?.("[data-catalog-view]");- t && !e.defaultPrevented && (e.preventDefault(), ylt().setView(t.dataset.catalogView));+ t && !e.defaultPrevented && (e.preventDefault(), blt().setView(t.dataset.catalogView));}), X.catalogOnScreen = () => L("#index").hidden && L("#stats").hidden, X.COMBO_LABELS = {creator: "创作者",studio: "厂牌",@@ -102845,7 +102858,7 @@ function zlt() {X.catalogFilterProps && n9({ comboHidden: !0 });};}-function Blt() {+function Vlt() {X.junkQueueHelpers = { badgeHtml: (e, t) => Z.srcBadge(e, t) }, X.junkQueueActions = {navigate: (e) => {vc && y7(!1, !0), Q.route(e);@@ -102862,10 +102875,10 @@ function Blt() {return o7.sourceHint(e.message);}},- operate: (e, t) => Ilt(e, t)+ operate: (e, t) => Llt(e, t)};}-X.controller = new Uot();+X.controller = new Wot();//#endregion//#region src/application/preferences.jsvar Z = {@@ -102899,18 +102912,18 @@ async function m9() {if (!e.isActive) return Z.sourceOnline;Z.sourceOnline = {}, Z.sourceProblems = {};}- return document.body.classList.toggle("offline-source", Object.values(Z.sourceOnline).includes(!1)), slt(), Z.sourceOnline;+ return document.body.classList.toggle("offline-source", Object.values(Z.sourceOnline).includes(!1)), clt(), Z.sourceOnline;}function h9() {let e = Q.surfacePath();if (!Nt(e) || e === "/junk-files") return o9();let t = Z.nextCatalogLoad();- return PO(X7(), {+ return FO(X7(), {replace: !0,- state: NO.navigation.location.state+ state: PO.navigation.location.state}), t;}-function Vlt(e) {+function Hlt(e) {return e === "local" ? {kind: "glyph",name: "hard-drive"@@ -102925,7 +102938,7 @@ function Vlt(e) {cost: "free"};}-function Hlt(e, t) {+function Ult(e, t) {let n = (e, t = (e) => e.label || rc(e.k)) => (e || []).map((e) => ({value: String(e.k),label: t(e),@@ -102936,7 +102949,7 @@ function Hlt(e, t) {value: e.k,label: an[e.k] || e.k,n: e.n ?? null,- dot: Vlt(e.k),+ dot: Hlt(e.k),...Z.sourceOffline(e.k) ? { offline: Z.OFFLINE_HINT } : {}})),regions: n(e.regions),@@ -102948,17 +102961,17 @@ function Hlt(e, t) {duration: !!e.stats?.duration};}-async function Ult(e = !1) {+async function Wlt(e = !1) {if (e && (document.hidden || !Nt(decodeURIComponent(location.pathname)) || v9.stageOpen() || v9.immerseOpen() || vc || gc.size || document.activeElement === L("#q"))) return !1;if (!L("#stats").hidden) {let e = decodeURIComponent(location.pathname), t = Q.routeMeta(e)?.route.refresh;if (t === "skip") return;if (e === "/playlists") {- nct();+ rct();return;}let n = t === "reopen" ? e : "/stats";- n === e ? Q.navigatePath(location.pathname + location.search + location.hash, !0, NO.navigation.location.state) : Q.navigatePath(n);+ n === e ? Q.navigatePath(location.pathname + location.search + location.hash, !0, PO.navigation.location.state) : Q.navigatePath(n);} else if (L("#index").hidden) {W.sort = "seed", W.dir = "", W.seed = X5.rollSeed(), Uc(), $5(), n9({ refreshing: !0 });try {@@ -102976,47 +102989,47 @@ async function Ult(e = !1) {function g9() {return document.body.classList.contains("censor");}-function Wlt(e) {- document.body.classList.toggle("censor", e), Z.settingsStore.notify();-}function Glt(e) {- localStorage.setItem(Z.CENSOR_KEY, e ? "1" : "0"), Wlt(e), e && Qs();+ document.body.classList.toggle("censor", e), Z.settingsStore.notify();}function Klt(e) {+ localStorage.setItem(Z.CENSOR_KEY, e ? "1" : "0"), Glt(e), e && Qs();+}+function qlt(e) {localStorage.setItem("peach.high-contrast", String(e)), document.documentElement.classList.toggle("board-high-contrast", e), Z.settingsStore.notify();}function _9(e) {return Bo(e, { drag: !0 });}-function qlt() {+function Jlt() {["#nrow", "#count"].forEach((e) => _9(L(e))), document.querySelectorAll(".tier,.srow").forEach(_9);}-function Jlt() {+function Ylt() {let e = new URLSearchParams(location.search).get("id");return /^\d+$/.test(e || "") ? Number(e) : void 0;}-function Ylt() {+function Xlt() {Z.sourceOnline = {}, Z.sourceProblems = {}, Z.sourceOffline = (e) => Z.sourceOnline[e] === !1, Z.OFFLINE_HINT = "脱盘模式:这个来源当前没有挂载", Z.OFFLINE_REASON = {local: "本地硬盘没有挂载,接上后点重新检测即可播放。",115: "115 网盘没有挂载,检查 CloudDrive 是否在运行。",pikpak: "PikPak 没有挂载,检查 CloudDrive 是否在运行。"- }, Z.offlineReason = (e) => Z.sourceProblems[e] || Z.OFFLINE_REASON[e] || "这个来源当前没有挂载。", Z.settingsStore = lw(), Z.appSettings = Z.settingsStore.value, Z.saveSettings = () => Z.settingsStore.save(), document.documentElement.style.setProperty("--hover-delay", `${Z.appSettings.hoverDelaySeconds}s`), Fa(Z.appSettings.uiSounds), Va(), pw(), _ue(), Pue(), Ow(), kw(), 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: () => pw(),+ }, Z.offlineReason = (e) => Z.sourceProblems[e] || Z.OFFLINE_REASON[e] || "这个来源当前没有挂载。", Z.settingsStore = uw(), Z.appSettings = Z.settingsStore.value, Z.saveSettings = () => Z.settingsStore.save(), document.documentElement.style.setProperty("--hover-delay", `${Z.appSettings.hoverDelaySeconds}s`), Fa(Z.appSettings.uiSounds), Va(), mw(), gue(), Nue(), kw(), Aw(), 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: () => mw(),uiSounds: () => {Fa(Z.appSettings.uiSounds), Z.appSettings.uiSounds && Ia("toggle-on");},- glowFrame: () => Dw(),+ glowFrame: () => Ow(),glow: () => {- Dw(), Ow();+ Ow(), kw();},batchSize: () => {location.pathname === "/" && o9();},defaultSort: () => {- W.sort = Z.appSettings.defaultSort, W.dir = UC(W.sort, Z.appSettings.defaultSort, Z.appSettings.defaultSortDirection), Uc(), location.pathname === "/" && h9();+ W.sort = Z.appSettings.defaultSort, W.dir = WC(W.sort, Z.appSettings.defaultSort, Z.appSettings.defaultSortDirection), Uc(), location.pathname === "/" && h9();},sortDirection: () => {- W.dir = UC(W.sort, Z.appSettings.defaultSort, Z.appSettings.defaultSortDirection), Uc(), location.pathname === "/" && h9();+ W.dir = WC(W.sort, Z.appSettings.defaultSort, Z.appSettings.defaultSortDirection), Uc(), location.pathname === "/" && h9();},hoverDelay: () => {Z.appSettings.hoverDelaySeconds || document.querySelectorAll("[data-previewing],[data-longhover]").forEach((e) => {@@ -103024,16 +103037,16 @@ function Ylt() {}), document.documentElement.style.setProperty("--hover-delay", `${Z.appSettings.hoverDelaySeconds}s`);},seekSeconds: () => p9(),- groupCollapse: () => Xct(),- feedAutoScroll: () => Nst(),- feedCompilations: () => Mst(),+ groupCollapse: () => Zct(),+ feedAutoScroll: () => Pst(),+ feedCompilations: () => Nst(),miniplayer: () => {Z.appSettings.miniplayer || F5()?.closeMiniplayer();},javImage: () => {- ea(document, Z.appSettings.javImage), p9(), document.querySelectorAll("img[data-jav-image].cover").forEach(Ms), $lt();+ ea(document, Z.appSettings.javImage), p9(), document.querySelectorAll("img[data-jav-image].cover").forEach(Ms), eut();},- searchHistoryLimit: () => wO(L("#searchMenu"), { historyLimit: Z.appSettings.searchHistoryLimit })+ searchHistoryLimit: () => TO(L("#searchMenu"), { historyLimit: Z.appSettings.searchHistoryLimit })}, Z.syncGlassOptics = () => {}, Z.placeSidebarHead = () => {}, Z.SRCICON = {local: R("hard-drive"),115: `<img class="source-icon" src="${eo[115]}" alt="">`,@@ -103044,8 +103057,8 @@ function Ylt() {return `<span class="${n || "src"} ${t === "metered" ? "metered" : "free"}" title="${z(r)}" aria-label="${z(r)}">` + (Z.SRCICON[e] || "") + "</span>";}, Z.emptyState = co;}-function Xlt() {- Z.CENSOR_KEY = "peach-censor", Wlt(localStorage.getItem(Z.CENSOR_KEY) === "1");+function Zlt() {+ Z.CENSOR_KEY = "peach-censor", Glt(localStorage.getItem(Z.CENSOR_KEY) === "1");}//#endregion//#region src/application/media.js@@ -103060,14 +103073,14 @@ var v9 = {immerseOpen: void 0,requestedImmerseId: void 0};-function Zlt() {+function Qlt() {let e = Number(new URLSearchParams(location.search).get("t"));return Number.isFinite(e) && e > 0 ? {time: e,autoplay: !1} : null;}-function Qlt() {+function $lt() {return F5()?.exit() || Promise.resolve();}function y9(e = !1, t = !1, { miniplayer: n = !0, preserveQueueRequest: r = null } = {}) {@@ -103081,13 +103094,13 @@ function y9(e = !1, t = !1, { miniplayer: n = !0, preserveQueueRequest: r = nulldetailReturnNeedsRestore: !1}), J7(), e && Q.route(Sc || "/");}-function $lt() {+function eut() {F5()?.repaintPoster();}function b9(e, t, n, r, i = null, a = {}) {t = +t;let o = Ec?.kind === e && (e === "playlist" ? Ec.playlistId : Ec.seedId) === t;- r && !o && Hc({ detailReturnPath: location.pathname + location.search }), r && lO();+ r && !o && Hc({ detailReturnPath: location.pathname + location.search }), r && uO();let s = e === "playlist" ? {kind: e,playlistId: t,@@ -103100,25 +103113,25 @@ function b9(e, t, n, r, i = null, a = {}) {if (a.autoplay && (s.autoplay = !0), r) {O9();let e = Q.queueOpenRequest = {- seq: NO.navigation.seq,+ seq: PO.navigation.seq,cancelled: !1};Q.requestedQueue = () => x9(n == null ? null : +n, !1, s, i, !0, e), Hc({ queueOpens: Pc + 1 });} else return x9(n == null ? null : +n, !1, s, i, r);}-function eut(e, t = e, n = !0, r = null) {+function tut(e, t = e, n = !0, r = null) {return b9("mix", e, t, n, r);}-function tut(e, t = e, n = !0, r = null) {+function nut(e, t = e, n = !0, r = null) {return b9("editions", e, t, n, r);}-function nut(e, t = e, n = !0, r = null) {+function rut(e, t = e, n = !0, r = null) {return b9("parts", e, t, n, r);}-function rut(e, t = null, n = !0) {+function iut(e, t = null, n = !0) {return b9("playlist", e, t, n);}-function iut() {+function aut() {return !!L("#grid").querySelector("[data-id],[data-mix-seed]") || !L("#index").hidden || !L("#stats").hidden;}async function x9(e, t = !0, n = null, r = null, i = !1, a = null) {@@ -103128,8 +103141,8 @@ async function x9(e, t = !0, n = null, r = null, i = !1, a = null) {return;}Qs(), e = e == null ? null : +e;- let o = r?.isConnected ? r : Cc?.isConnected ? Cc : null, s = r?.isConnected ? r.getBoundingClientRect().top + r.getBoundingClientRect().height / 2 > window.innerHeight / 2 : wc, c = iut(), l = Tc || !t && !c, u = mc.type === "item" ? hc : o7.cloneBarsContext(l7());- t ? Hc({ detailReturnPath: location.pathname + location.search }) : i || Hc({ detailReturnPath: dO() || Sc }), t && lO(), F5()?.showing() !== "item" && y9(!1, !0, {+ let o = r?.isConnected ? r : Cc?.isConnected ? Cc : null, s = r?.isConnected ? r.getBoundingClientRect().top + r.getBoundingClientRect().height / 2 > window.innerHeight / 2 : wc, c = aut(), l = Tc || !t && !c, u = mc.type === "item" ? hc : o7.cloneBarsContext(l7());+ t ? Hc({ detailReturnPath: location.pathname + location.search }) : i || Hc({ detailReturnPath: fO() || Sc }), t && uO(), F5()?.showing() !== "item" && y9(!1, !0, {miniplayer: !1,preserveQueueRequest: a}), Hc({@@ -103140,7 +103153,7 @@ async function x9(e, t = !0, n = null, r = null, i = !1, a = null) {kind: n.kind,seedId: n.seedId,playlistId: n.playlistId- } }), Hc({ pendingQueueRoute: n && i ? `${n.kind}=${n.kind === "playlist" ? n.playlistId : n.seedId}` : null }), t && !n && Q.route("/assets/" + e, !1, fO("item"));+ } }), Hc({ pendingQueueRoute: n && i ? `${n.kind}=${n.kind === "playlist" ? n.playlistId : n.seedId}` : null }), t && !n && Q.route("/assets/" + e, !1, pO("item"));let d = await P5(v9.stageHost);if (a?.cancelled) return;let f = a ? {@@ -103167,12 +103180,12 @@ async function x9(e, t = !0, n = null, r = null, i = !1, a = null) {selectMode: vc,selected: new Set(gc),seekSeconds: Z.appSettings.seekSeconds,- resume: t || e == null ? null : Zlt()+ resume: t || e == null ? null : Qlt()}), J7();}-async function aut() {+async function out() {let e = o7.cloneBarsContext(hc), t = Sc || "/", n = Tc;- await Qlt(), y9(!1, !1, { miniplayer: !1 }), Hc({ detailReturnBarsContext: null }), uO(), Hc({ barsContext: e || {+ await $lt(), y9(!1, !1, { miniplayer: !1 }), Hc({ detailReturnBarsContext: null }), dO(), Hc({ barsContext: e || {type: "home",filters: W} }), n && Q.managedPagePath(new URL(t, location.href).pathname) ? Q.navigatePath(t) : (Q.route(t), n ? Hc({ pageOpens: Nc + 1 }) : (r9(), location.pathname === "/playlists" && Hc({ pageOpens: Nc + 1 })));@@ -103182,24 +103195,24 @@ async function S9(e, t = !0) {Hc({ detailReturnPath: location.pathname + location.search }), k9("/works/" + encodeURIComponent(e), "jav", () => S9(e, !1));return;}- let n = NO.navigation.seq, r = o7.cloneBarsContext(l7()), i = !iut(), a = dO() || (i ? "/jav?tab=discover" : Sc) || "/jav?tab=discover";+ let n = PO.navigation.seq, r = o7.cloneBarsContext(l7()), i = !aut(), a = fO() || (i ? "/jav?tab=discover" : Sc) || "/jav?tab=discover";F5()?.showing() !== "jav" && y9(!1, !0, { miniplayer: !1 }), Hc({detailReturnPath: a,detailReturnBarsContext: r,detailReturnNeedsRestore: i}), Qs();let [o, s] = await Promise.all([P5(v9.stageHost), V("/healthz")]);- NO.navigation.seq === n && (await o.open({+ PO.navigation.seq === n && (await o.open({kind: "jav",code: e,readOnly: !!s.ledger_read_only,actions: {- close: () => void aut(),+ close: () => void out(),navigate: (e) => Q.navigatePath(e),canonicalCode: (t) => {- NO.navigation.seq === n && t && t !== e && PO("/works/" + encodeURIComponent(t) + location.search + location.hash, {+ PO.navigation.seq === n && t && t !== e && FO("/works/" + encodeURIComponent(t) + location.search + location.hash, {replace: !0,- state: NO.navigation.location.state+ state: PO.navigation.location.state});},openTag: (e) => {@@ -103215,9 +103228,9 @@ async function S9(e, t = !0) {}), J7());}async function C9(e = null, t = !0) {- t ? (v9.requestedImmerseId = e, Q.route("/immerse")) : (F5()?.closeMiniplayer(), await (await Cot(v9.immerseHost)).open(e));+ t ? (v9.requestedImmerseId = e, Q.route("/immerse")) : (F5()?.closeMiniplayer(), await (await wot(v9.immerseHost)).open(e));}-function out() {+function sut() {v9.total = 0, v9.facets = null, v9.stageHost = {player: {settings: () => Z.appSettings,@@ -103233,26 +103246,26 @@ function out() {openItem: (e) => void x9(e)}, v9.stageOpen = () => !!F5()?.isOpen();}-function sut() {+function cut() {v9.itemDetailHelpers = {badgeHtml: (e, t, n) => Z.srcBadge(e, t, n),- titleHtml: (e) => RO(e),- displayName: (e) => LO(e),+ titleHtml: (e) => zO(e),+ displayName: (e) => RO(e),javImage: () => Z.appSettings.javImage,tagLabel: (e) => rc(e),isDurationTag: (e) => cn.has(e),tagCandidates: () => v9.facets && v9.facets.tags || [],sourceOffline: (e) => Z.sourceOffline(e),offlineReason: (e) => Z.offlineReason(e),- relatedSkeletonHtml: () => oV("正在读取推荐", {+ relatedSkeletonHtml: () => sV("正在读取推荐", {cards: !0,className: "related-skeleton"}),- mixRelated: (e) => dlt(e),+ mixRelated: (e) => flt(e),wireDrag: (e) => _9(e),wireDragReorder: (e, t) => us(e, t)}, v9.itemDetailActions = {- close: () => aut(),+ close: () => out(),present: (e) => {Hc({ presentedItem: e });let t = hc;@@ -103260,14 +103273,14 @@ function sut() {type: "item",id: e.id,filters: t?.type === "entity" ? { ...t.filters } : o7.emptyEntityFilters()- } }), Dc && (Q.queueOpenRequest = null, Q.route(`/assets/${e.id}?${Dc}`, !1, fO("item")), Hc({ pendingQueueRoute: null })), r9();+ } }), Dc && (Q.queueOpenRequest = null, Q.route(`/assets/${e.id}?${Dc}`, !1, pO("item")), Hc({ pendingQueueRoute: null })), r9();},redirect: (e) => {let t = !!Dc;e.kind === "follow" ? (Q.queueOpenRequest = null, Hc({pendingQueueRoute: null,followDetailReturnPath: Sc || "/"- }), Q.route(`/posts/${e.id}`, !t, fO("follow")), R9(e.id, !1, null, !0)) : e.kind === "item" ? x9(e.id, !0) : e.kind === "playlists" ? t || location.pathname !== "/playlists" ? j9("/playlists") : nct() : y9(!1);+ }), Q.route(`/posts/${e.id}`, !t, pO("follow")), R9(e.id, !1, null, !0)) : e.kind === "item" ? x9(e.id, !0) : e.kind === "playlists" ? t || location.pathname !== "/playlists" ? j9("/playlists") : rct() : y9(!1);},openQueueItem: (e, t, n = !0) => void b9(e.kind, e.kind === "playlist" ? e.playlistId : e.seedId, t, n, null, { autoplay: e.autoplay }),reopen: () => {@@ -103291,14 +103304,14 @@ function sut() {behavior: "smooth"});},- addToPlaylist: (e) => tct(e),- saveMix: (e) => ect(e),+ addToPlaylist: (e) => nct(e),+ saveMix: (e) => tct(e),editPlaylist: () => j9("/playlists"),openPlaylists: () => j9("/playlists"),- reveal: (e) => Vst(e),- sync: (e) => Hst(e),+ reveal: (e) => Hst(e),+ sync: (e) => Ust(e),trashChanged: async (e, t) => {- W.state === "ads" && (t || e === "trash") && (t || (uO(), y9(!0, !1, { miniplayer: !1 })), await o9());+ W.state === "ads" && (t || e === "trash") && (t || (dO(), y9(!0, !1, { miniplayer: !1 })), await o9());},toast: (e, { undo: t } = {}) => X5.actionReceipt(e, { undo: t }),failure: (e, t) => X5.actionFailure(e, t)@@ -103306,7 +103319,7 @@ function sut() {filters: () => W,seekSeconds: () => Z.appSettings.seekSeconds,sourceOffline: (e) => Z.sourceOffline(e),- displayName: (e) => LO(e),+ displayName: (e) => RO(e),route: (e) => Q.route("/immerse?id=" + e, !0),closed: () => Z7(),openItem: (e) => void x9(e),@@ -103328,7 +103341,7 @@ var w9 = {readPostSetupTutorialDone: void 0,openTutorialTarget: void 0};-async function cut() {+async function lut() {ks(), await w9.writePostSetupTutorialDone(!1), await T9();}async function T9() {@@ -103385,20 +103398,20 @@ async function T9() {}), Y5.handler(e.querySelector("[data-tutorial-dismiss]"), "onclick", t);}}-function lut() {+function uut() {if (Hc({ cameFromSetup: new URLSearchParams(location.search).get("onboarding") === "1" }), w9.postSetupTutorialDone = null, w9.postSetupTutorialNeedsReopen = !1, Mc) {bs("pending"), w9.postSetupTutorialDone = !1, w9.postSetupTutorialNeedsReopen = !0;let e = new URL(location.href);- e.searchParams.delete("onboarding"), PO(e, {+ e.searchParams.delete("onboarding"), FO(e, {replace: !0,- state: NO.navigation.location.state+ state: PO.navigation.location.state});}{let e = new URL(location.href), t = e.searchParams.get("agentation");- t === "on" && localStorage.setItem("peach.agentation", "on"), t === "off" && localStorage.removeItem("peach.agentation"), t !== null && (e.searchParams.delete("agentation"), PO(e, {+ t === "on" && localStorage.setItem("peach.agentation", "on"), t === "off" && localStorage.removeItem("peach.agentation"), t !== null && (e.searchParams.delete("agentation"), FO(e, {replace: !0,- state: NO.navigation.location.state+ state: PO.navigation.location.state})), localStorage.getItem("peach.agentation") === "on" && import("/dev/agentation.js").catch(() => {});}w9.postSetupTutorialTasks = async () => {@@ -103510,7 +103523,7 @@ var Q = {queueOpenRequest: void 0,initialOverlayOpened: void 0};-function uut() {+function dut() {let e = U5();e ? e.navChanged() : L("#drawerScroll")?.querySelectorAll("[data-nav]").forEach((e) => e.setAttribute("aria-pressed", String(K7(e.dataset.nav))));}@@ -103526,32 +103539,32 @@ function E9(e = {}) {}, U5()?.render(k7.sidebarProps);}function D9() {- E9(), uut(), q7();+ E9(), dut(), q7();}function O9() {Q.queueOpenRequest && (Q.queueOpenRequest.cancelled = !0), Q.queueOpenRequest = null, Q.requestedQueue = null, Hc({ pendingQueueRoute: null });}function k9(e, t, n) {- O9(), lO(), Q.requestedOverlay = {+ O9(), uO(), Q.requestedOverlay = {path: e,open: n- }, Q.route(e, !1, fO(t));+ }, Q.route(e, !1, pO(t));}function A9() {- Q.surfaceEpoch++, X.barsRequestSeq++, T7.syncPageTitle(location.href), E9(), uO(), T9();+ Q.surfaceEpoch++, X.barsRequestSeq++, T7.syncPageTitle(location.href), E9(), dO(), T9();}function j9(e) {Q.route(e), Hc({ pageOpens: Nc + 1 });}-function dut() {+function fut() {Q.routeMeta = (e) => {- let t = hO(e);+ let t = gO(e);return t ? { route: t } : null;- }, Q.routePathOf = (e, t) => Object.keys(mO).find((n) => mO[n][e] === t), Q.catalogPage = (e) => Nt(e) || e === "/trash", Q.managedPagePath = (e) => {- let t = hO(e);- return !!t && t.reload !== "reopen" && !Q.catalogPage(e) && !aO(e) && e !== "/immerse";+ }, Q.routePathOf = (e, t) => Object.keys(hO).find((n) => hO[n][e] === t), Q.catalogPage = (e) => Nt(e) || e === "/trash", Q.managedPagePath = (e) => {+ let t = gO(e);+ return !!t && t.reload !== "reopen" && !Q.catalogPage(e) && !oO(e) && e !== "/immerse";}, Q.openRoutePath = (e) => {- e === "/immerse" ? C9(Jlt()) : e === "/follow" ? L9() : e === "/playlists" || Q.catalogPage(e) ? j9(e) : Q.managedPagePath(e) ? Q.navigatePath(e === "/subscriptions" ? C7() : e) : (y7(!1, !0), j9(wct({+ e === "/immerse" ? C9(Ylt()) : e === "/follow" ? L9() : e === "/playlists" || Q.catalogPage(e) ? j9(e) : Q.managedPagePath(e) ? Q.navigatePath(e === "/subscriptions" ? C7() : e) : (y7(!1, !0), j9(Tct({kind: e.slice(1),q: "",scope: "local",@@ -103560,35 +103573,35 @@ function dut() {})));};}-function fut() {+function put() {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) => (Ast(e) || TO(L("#libraryProcessingNotice")), i7(e) || a7(), TO(L("#stats"), L("#index")), !Nt(e) && e !== "/trash" && s9(), Q.surfaceRequests?.abort(), Q.surfaceRequests = new AbortController(), Q.surfaceEpoch++, Q.surfaceToken(e)), Q.route = (e, t = !1, n) => {- Q.surfaceEpoch++, X.barsRequestSeq++, PO(e, {+ }), Q.surfaceCurrent = (e) => e.epoch === Q.surfaceEpoch && Q.surfacePath() === e.path, Q.claimSurface = (e) => (jst(e) || EO(L("#libraryProcessingNotice")), i7(e) || a7(), EO(L("#stats"), L("#index")), !Nt(e) && e !== "/trash" && s9(), Q.surfaceRequests?.abort(), Q.surfaceRequests = new AbortController(), Q.surfaceEpoch++, Q.surfaceToken(e)), Q.route = (e, t = !1, n) => {+ Q.surfaceEpoch++, X.barsRequestSeq++, FO(e, {replace: t,state: n}), T7.syncPageTitle(e), queueMicrotask(() => {q7(), z7(), E9(), T9();});}, Q.navigatePath = (e, t = !1, n) => {- t ? NO.replace(e, n) : NO.push(e, n), queueMicrotask(() => {+ t ? PO.replace(e, n) : PO.push(e, n), queueMicrotask(() => {q7(), z7();});}, Q.requestedOverlay = null, Q.requestedQueue = null, Q.queueOpenRequest = null, Q.initialOverlayOpened = !1;}//#endregion//#region src/jobs.ts-function put(e, t, n) {+function mut(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="${z(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>${z(e)}<small>${Math.round(i)}%</small></span></div>`;}-function mut(e, t = 0, n = 0) {- return n > 0 ? put(e, t, n) : oo(e);+function hut(e, t = 0, n = 0) {+ return n > 0 ? mut(e, t, n) : oo(e);}-async function hut(e) {+async function gut(e) {let t = e.pause || ((e) => new Promise((t) => setTimeout(t, e))), n = 0;for (; e.active();) {let r;@@ -103603,14 +103616,14 @@ async function hut(e) {await t(2e3);}}-function gut(e) {+function _ut(e) {let t = e.note || ((e) => io(e, {label: "任务状态",variant: "error"- })), n = e.loading || oo, r = e.progress || ((e, t, n) => mut(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 || oo, r = e.progress || ((e, t, n) => hut(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;- hut({+ gut({read: e.read,active: () => !c && e.active() && a.isConnected,keepWatching: e.watchIdle !== !1,@@ -103660,7 +103673,7 @@ var $ = {FOLLOW_MANAGE_TABS: void 0,followSidebarFilters: void 0};-function _ut(e) {+function vut(e) {let t = (e.results || []).filter((e) => !e.ok).length;X5.toast({ text: Rr(e) }, {warn: !!t,@@ -103675,7 +103688,7 @@ function _ut(e) {function M9() {return Ti(N9());}-function vut() {+function yut() {return $.controller.read();}function N9() {@@ -103696,17 +103709,17 @@ function N9() {function P9(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 yut() {- let e = yO(L("#stats"));+function but() {+ let e = bO(L("#stats"));return e && e.path === "/follow" && e.host.isConnected ? e : null;}function F9() {- return !!yut();+ return !!but();}function I9(e) {- F9() && wO(L("#stats"), e);+ F9() && TO(L("#stats"), e);}-function but(e, t = {}) {+function xut(e, t = {}) {return $.controller.route(e, t);}function L9(e = !1) {@@ -103719,7 +103732,7 @@ async function R9(e, t = !0, n = null, r = !1) {}Qs(), e = +e;let i = !location.pathname.startsWith("/posts/");- t && i && !r && Hc({ followDetailReturnPath: location.pathname + location.search }), !t && !r && Hc({ followDetailReturnPath: dO() || "/follow" }), t && lO(), F5()?.showing() !== "follow" && y9(!1, !1, { miniplayer: !1 }), t && Q.route(`/posts/${e}`, !1, fO("follow")), await (await P5(v9.stageHost)).open({+ t && i && !r && Hc({ followDetailReturnPath: location.pathname + location.search }), !t && !r && Hc({ followDetailReturnPath: fO() || "/follow" }), t && uO(), F5()?.showing() !== "follow" && y9(!1, !1, { miniplayer: !1 }), t && Q.route(`/posts/${e}`, !1, pO("follow")), await (await P5(v9.stageHost)).open({kind: "follow",id: e,mediaIndex: n,@@ -103727,19 +103740,19 @@ async function R9(e, t = !0, n = null, r = !1) {relatedLimit: Z.appSettings.relatedLimit > 0 ? +Z.appSettings.relatedLimit : 0,helpers: $.followFeedHelpers,actions: $.followDetailActions,- resume: t ? null : Zlt()+ resume: t ? null : Qlt()}), J7();}-async function xut() {- await Qlt(), y9(!1, !1, { miniplayer: !1 }), uO(), Q.route(kc || "/follow"), !(o7.entityPageView && o7.entityPageCurrent() && !L("#index").hidden) && (location.pathname === "/follow" && F9() ? (vut(), I9({ view: N9() })) : Hc({ pageOpens: Nc + 1 }));+async function Sut() {+ await $lt(), y9(!1, !1, { miniplayer: !1 }), dO(), Q.route(kc || "/follow"), !(o7.entityPageView && o7.entityPageCurrent() && !L("#index").hidden) && (location.pathname === "/follow" && F9() ? (yut(), I9({ view: N9() })) : Hc({ pageOpens: Nc + 1 }));}-function Sut(e) {+function Cut(e) {let t = document.createElement("div");return t.className = "peach-react", yo(e, () => {e.textContent = "", e.append(t);}), t;}-function Cut() {+function wut() {$.followFeedHelpers = ac({wireDrag: (e) => {e && _9(e);@@ -103748,42 +103761,42 @@ function Cut() {e && Bo(e);},listSkeletonHtml: (e) => $.followContentSkeletonHtml(e),- jobProgress: gut+ jobProgress: _ut}), $.followFeedActions = {- loaded: (e) => Ict(e),+ loaded: (e) => Lct(e),openDetail: (e) => R9(e),openAuthor: (e) => Q.navigatePath(It("creator", e)),openManage: () => Q.navigatePath(C7()),- toggleSelection: (e, t) => dct(e, t),+ toggleSelection: (e, t) => fct(e, t),setImagesOnly: (e) => {Z.appSettings.followImagesOnly = !!e, Z.saveSettings(), f7();},setPhotoLayout: (e) => {- Eue(e), f7();+ Tue(e), f7();},canFlip: () => !vc && !g9() && !window.__scrolling && !X.reduceMotion(),toast: (e, { undo: t } = {}) => X5.actionReceipt(e, { undo: t }),failure: (e, t) => X5.actionFailure(e, t),- checkReport: (e) => _ut(e)+ checkReport: (e) => vut(e)}, $.followFeedShell = {skeleton: () => $.followSkeletonHtml("正在读取关注内容"),ground: () => {- F5()?.showing() !== "follow" && (Qs(), y9(!1), j7(), !F9() && (Q.claimSurface(Q.surfacePath()), A7({ manage: !1 }), L("#stats").querySelector(".peach-react") && TO(L("#stats")), L("#stats").replaceChildren()));+ F5()?.showing() !== "follow" && (Qs(), y9(!1), j7(), !F9() && (Q.claimSurface(Q.surfacePath()), A7({ manage: !1 }), L("#stats").querySelector(".peach-react") && EO(L("#stats")), L("#stats").replaceChildren()));}}, $.followDetailActions = pc({view: N9,adoptView: P9,rememberReturn: (e) => Hc({ followDetailReturnPath: e }),- close: () => void xut(),+ close: () => void Sut(),open: (e, t, n) => void R9(e, !0, t, n),- drawer: Ict,+ drawer: Lct,openAuthor: (e) => Q.navigatePath(It("creator", e))}, {toast: (e, { undo: t } = {}) => X5.actionReceipt(e, { undo: t }),failure: X5.actionFailure});}-function wut() {+function Tut() {$.controller = Oi({location: () => location,view: N9,@@ -103801,8 +103814,8 @@ function wut() {preferences: () => ({selectMode: vc,selected: _c,- photoSize: xw(),- photoLayout: Sw(),+ photoSize: Sw(),+ photoLayout: Cw(),imagesOnly: !!Z.appSettings.followImagesOnly}),live: F9,@@ -103824,8 +103837,8 @@ function wut() {//#endregion//#region src/application/lifecycle.jsvar z9 = { overlayScan: void 0 };-function Tut() {- Rwe(), rs(document), wa(document.documentElement, { variant: "page" }), wa(L("#drawerScroll")), z9.overlayScan = 0, Y5.mutation(() => {+function Eut() {+ zwe(), rs(document), wa(document.documentElement, { variant: "page" }), wa(L("#drawerScroll")), z9.overlayScan = 0, Y5.mutation(() => {z9.overlayScan ||= Y5.delay(() => {z9.overlayScan = 0, es();});@@ -103844,7 +103857,7 @@ function Tut() {}//#endregion//#region src/application/search-morph.js-function Eut(e, t, n, r, i, a, o) {+function Dut(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);@@ -103870,7 +103883,7 @@ var B9 = {function V9() {B9.searchControl?.close();}-function Dut(e) {+function Out(e) {let t = e ? Zi({...e,is_jav: !!e.code@@ -103889,7 +103902,7 @@ function U9(e) {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 = Xo();t.classList.add("search-morphing");- let h = t.animate(Eut(f, p, s, r ? a : e ? d : l, e ? l : d, m.easing, innerWidth), {+ let h = t.animate(Dut(f, p, s, r ? a : e ? d : l, e ? l : d, m.easing, innerWidth), {duration: m.duration,easing: "linear",fill: "both"@@ -103898,13 +103911,13 @@ function U9(e) {B9.searchMorph === h && H9();});}-function Out() {+function kut() {return v9.immerseOpen() ? R5().activeVideo() : F5()?.activeVideo() || null;}-function kut(e) {+function Aut(e) {return !!e && (e.tagName === "INPUT" || e.tagName === "TEXTAREA" || e.isContentEditable);}-function Aut() {+function jut() {B9.searchControl = null, B9.searchActions = {search: (e) => {X.rememberSearchValue(), y9(!1), W.q = e, Uc(), Q.route(W.jav === "1" ? X7() : W.q ? "/?q=" + encodeURIComponent(W.q) : "/", !0);@@ -103912,8 +103925,8 @@ function Aut() {openItem: (e) => x9(e),openEntity: (e, t) => m7(e, t)}, B9.searchHelpers = {- pool: () => alt(W, Dt),- coverHtml: (e) => `<span class="pic">${Dut(e)}</span>`,+ pool: () => olt(W, Dt),+ coverHtml: (e) => `<span class="pic">${Out(e)}</span>`,present: (e) => Ka(e),dismiss: (e) => qa(e),wireScroller: (e) => Bo(e),@@ -103928,7 +103941,7 @@ function Aut() {text: e.value,scrollLeft: e.scrollLeft || X.searchValueSnapshot.scrollLeft})- }, CO("search", {+ }, wO("search", {input: L("#q"),historyLimit: Z.appSettings.searchHistoryLimit,actions: B9.searchActions,@@ -103947,7 +103960,7 @@ function Aut() {e.currentTarget.value && X.rememberSearchValue(e.currentTarget);});}-function jut() {+function Mut() {B9.searchMorph = null, B9.searchMorphViewport = innerWidth, Y5.listen.bind(Y5, window)("resize", () => {innerWidth !== B9.searchMorphViewport && (B9.searchMorphViewport = innerWidth, H9());}, { passive: !0 }), Y5.listen(matchMedia("(prefers-reduced-motion:reduce)"), "change", H9), Y5.handler(L("#searchBtn"), "onclick", () => {@@ -103962,7 +103975,7 @@ function jut() {e.preventDefault(), Z7(null, !0);}), Y5.listen(document, "keydown", (e) => {if (e.key === "Escape") {- let t = Tot();+ let t = Eot();if (t?.isOpen()) {t.close();return;@@ -103989,7 +104002,7 @@ function jut() {}return;}- if (kut(e.target) || e.ctrlKey || e.metaKey || e.altKey) return;+ if (Aut(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) {@@ -103997,26 +104010,26 @@ function jut() {return;}}- let t = Out();+ let t = kut();if (t) {if (e.key === "t" || e.key === "T") {e.preventDefault(), F5()?.toggleTheater();return;}if (e.key === "ArrowLeft" || e.key === "ArrowRight") {- e.preventDefault(), bT(t, Z.appSettings.seekSeconds * (e.key === "ArrowRight" ? 1 : -1));+ e.preventDefault(), xT(t, Z.appSettings.seekSeconds * (e.key === "ArrowRight" ? 1 : -1));return;}if (e.key === " " || e.key === "k" || e.key === "K") {- e.preventDefault(), yT(t);+ e.preventDefault(), bT(t);return;}if (e.key === "m" || e.key === "M") {- e.preventDefault(), pde(t, ".vjs-mute-control");+ e.preventDefault(), fde(t, ".vjs-mute-control");return;}if (e.key === "f" || e.key === "F") {- e.preventDefault(), pde(t, ".vjs-fullscreen-control");+ e.preventDefault(), fde(t, ".vjs-fullscreen-control");return;}if (e.key === "i" || e.key === "I") {@@ -104032,17 +104045,17 @@ var W9 = {shellActions: void 0,routing: void 0};-function Mut() {+function Nut() {let e = Y5;- T7.entityShapesReady = r7(), jct(), Hct(), W9.shellActions = {+ T7.entityShapesReady = r7(), Mct(), Uct(), W9.shellActions = {openSettings: (e) => F7(e, !0),- closeSettings: () => Tot()?.close(!1),+ closeSettings: () => Eot()?.close(!1),openItem: (e) => void x9(e),openEntity: (e, t) => void m7(e, t),openTag: (e) => {- Fct(), i9(e);+ Ict(), i9(e);},- openTasteSignal: Qst,+ openTasteSignal: $st,navigate: (e) => {let t = /^\/works\/([A-Za-z0-9_-]{2,64})$/.exec(e), n = /^\/assets\/(\d+)$/.exec(e);t ? S9(t[1]) : n ? x9(+n[1]) : Q.navigatePath(e);@@ -104053,28 +104066,28 @@ function Mut() {receipt: (e, t) => X5.actionReceipt(e, t),toast: (e, t) => X5.toast(e, t),failure: X5.actionFailure,- revealSource: Vst,- reopenTutorial: cut,+ revealSource: Hst,+ reopenTutorial: lut,requestConfigurationSection: (e) => {Hc({ configurationRequestedSection: e });},- routeReview: rct,- routeFollowManage: Sct,+ routeReview: ict,+ routeFollowManage: Cct,saveFollowPreference: (e) => {e.pageSize !== void 0 && (Z.appSettings.followPageSize = e.pageSize), e.layout !== void 0 && (Z.appSettings.followLayout = e.layout), Z.saveSettings();},srcBadge: (e, t) => Z.srcBadge(e, t),- routeIndex: (e, { replace: t = !1 } = {}) => Q.route(wct(e), t),+ routeIndex: (e, { replace: t = !1 } = {}) => Q.route(Tct(e), t),savePeopleLayout: ({ layout: e }) => {Z.appSettings.peopleLayout = e, Z.saveSettings();},exitSelectMode: () => y7(!1, !1),personAvatar: (e, t, n) => S7.personAvatar(e, t, n),- authorAvatar: (e) => Cct(e),- showIndexTags: Tct,- openFollowAuthor: Ect,- openFollowTag: Dct,- openPlaylist: (e, t) => void rut(e, t, !0),+ authorAvatar: (e) => wct(e),+ showIndexTags: Ect,+ openFollowAuthor: Dct,+ openFollowTag: Oct,+ openPlaylist: (e, t) => void iut(e, t, !0),canFlip: () => !vc && !g9() && !window.__scrolling && !X.reduceMotion(),surfaceChanged: (e, t) => {e === "entity" ? (Qs(), Hc({ barsContext: {@@ -104093,7 +104106,7 @@ function Mut() {},openOverlay: (e) => {let t = Q.requestedOverlay;- Q.requestedOverlay = null, NO.navigation.claimed && (!FO() || Q.initialOverlayOpened) ? t?.path === location.pathname && t.open() : (FO() && (Q.initialOverlayOpened = !0), e.kind === "item" ? x9(e.id, !1) : e.kind === "jav" ? S9(e.code, !1) : e.kind === "follow" ? R9(e.id, !1) : b9(e.queue, e.key, e.item, !1));+ Q.requestedOverlay = null, PO.navigation.claimed && (!IO() || Q.initialOverlayOpened) ? t?.path === location.pathname && t.open() : (IO() && (Q.initialOverlayOpened = !0), e.kind === "item" ? x9(e.id, !1) : e.kind === "jav" ? S9(e.code, !1) : e.kind === "follow" ? R9(e.id, !1) : b9(e.queue, e.key, e.item, !1));},closeStage: () => {v9.stageOpen() && y9(!1);@@ -104108,7 +104121,7 @@ function Mut() {},entity: {missing: (e) => {- W9.shellActions.surfaceChanged("entity", location.pathname), Jst(e);+ W9.shellActions.surfaceChanged("entity", location.pathname), Yst(e);},loading: (e, t, n) => o7.application.loading(e, t, n),props: (e, t, n) => o7.application.addressProps(e, t, n),@@ -104121,7 +104134,7 @@ function Mut() {},follow: $.followFeedShell,catalog: {- defaultLoc: () => clt("local,115"),+ defaultLoc: () => llt("local,115"),open: (e, { entering: t = !1, retitle: n = !1 } = {}) => {n && (A9(), q7(), z7()), t && $5(), e === "/trash" ? (X.clearSearchField(), M7()) : (L("#q").value = W.q, X.rememberSearchValue()), D9(), r9(), Z.handOff(o9());},@@ -104129,22 +104142,22 @@ function Mut() {Z.handOff(o9());},fill: () => {- if (l9() || !FO() && !L("#grid").querySelector(".catalog-skeleton")) return;+ if (l9() || !IO() && !L("#grid").querySelector(".catalog-skeleton")) return;let e = L("#count");- e.removeAttribute("aria-busy"), e.removeAttribute("aria-label"), Alt(Q.surfaceToken(Q.surfacePath()));+ e.removeAttribute("aria-busy"), e.removeAttribute("aria-label"), jlt(Q.surfaceToken(Q.surfacePath()));},release: () => {- s9(), a7(), TO(L("#libraryProcessingNotice"));+ s9(), a7(), EO(L("#libraryProcessingNotice"));}}- }, W9.routing = !1, Y5.own(NO.listen((e) => {- Q.queueOpenRequest && e.seq !== Q.queueOpenRequest.seq && !aO(e.location.pathname) && y9(!1), W9.routing && !e.claimed && A9();- })), xot(W9.shellActions).catch((e) => console.error("客户端导航装载失败", e)), Gct(), gct(), L7(), Promise.all([+ }, W9.routing = !1, Y5.own(PO.listen((e) => {+ Q.queueOpenRequest && e.seq !== Q.queueOpenRequest.seq && !oO(e.location.pathname) && y9(!1), W9.routing && !e.claimed && A9();+ })), Sot(W9.shellActions).catch((e) => console.error("客户端导航装载失败", e)), Kct(), _ct(), L7(), Promise.all([m9(),- Uct(),+ Wct(),T7.entityShapesReady]).then(() => e.isActive && T7.wantsDiscoveryBars() ? r9() : null).then(() => {- e.isActive && (D9(), qlt(), W9.routing = !0, Hc({ pageOpens: 1 }), A9(), J7());+ e.isActive && (D9(), Jlt(), W9.routing = !0, Hc({ pageOpens: 1 }), A9(), J7());}).catch((t) => {e.isActive && console.error("应用启动失败", t);});@@ -104152,7 +104165,7 @@ function Mut() {//#endregion//#region src/theme-transition.tsvar G9 = !1;-async function Nut(e, t) {+async function Put(e, t) {if (G9) return;if (!document.startViewTransition || matchMedia("(prefers-reduced-motion: reduce)").matches) {t();@@ -104175,7 +104188,7 @@ async function Nut(e, t) {}//#endregion//#region src/application/chrome.js-function Put() {+function Fut() {(() => {let e = Y5, t = ["#brandHome",@@ -104250,7 +104263,7 @@ function Put() {o.className = "mark", o.setAttribute("aria-hidden", "true"), o.innerHTML = a(n.find((e) => e[0] === i)?.[2] || "database"), c.querySelector(".mark").replaceWith(o), l.innerHTML = `<p>媒体库</p><div class="board-library-rows">${n.map(([e, t, n]) => `<button type="button" data-library="${z(e)}" aria-pressed="${e === i}"><span class="board-library-avatar">${a(n)}</span><span>${z(t)}</span></button>`).join("")}</div><footer><button type="button" class="geist-button primary" data-library-manage>管理媒体库</button></footer>`, l.querySelectorAll("[data-library]").forEach((t) => e.handler(t, "onclick", () => {sessionStorage.setItem("peach.library", t.dataset.library), location.assign("/");})), e.handler(l.querySelector("[data-library-manage]"), "onclick", () => {- d.setOpen(!1), P7(!1), ict("媒体库与入库");+ d.setOpen(!1), P7(!1), act("媒体库与入库");});let s = l.querySelector(".board-library-rows");e.listen(s, "pointerover", (e) => {@@ -104267,14 +104280,14 @@ function Put() {h.before(g), e.own(() => g.remove());let _ = document.createElement("div");_.className = "board-sidebar-foot", e.own(() => _.remove()), _.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>`, _.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>"), _.querySelector(".board-foot-actions").append(document.querySelector("#settingsBtn")), document.querySelector("#drawer").append(_), _.querySelectorAll("[data-board-theme]").forEach((t) => e.handler(t, "onclick", () => {- t.getAttribute("aria-pressed") !== "true" && Nut(t, () => {- Z.appSettings.theme = t.dataset.boardTheme, Z.saveSettings(), pw();+ t.getAttribute("aria-pressed") !== "true" && Put(t, () => {+ Z.appSettings.theme = t.dataset.boardTheme, Z.saveSettings(), mw();});- })), pw();+ })), mw();let v = document.createElement("div");v.className = "popmenu board-glow-menu", v.id = "boardGlowMenu", v.hidden = !0, v.setAttribute("popover", "manual"), v.setAttribute("role", "dialog"), v.setAttribute("aria-label", "配色"), document.body.append(v), e.own(() => v.remove());let y = _.querySelector("#boardGlowBtn"), b = Xa(_, y, v);- e.own(b.dispose), e.own(Uue(y)), jot({+ e.own(b.dispose), e.own(Hue(y)), Mot({root: v,store: Z.settingsStore,openDetails: () => {@@ -104379,31 +104392,31 @@ function Put() {}//#endregion//#region src/application/initialize.js-function Fut() {- Tut(), dut(), Mct(), fut(), Ylt(), Fot(), Rlt(), lut(), Yst(), out(), _ct(), zlt(), Fst(), act(), Cut(), Oct(), Xst(), wut(), kct(), Zst(), elt(), Blt(), Aut(), sut(), jut(), Xlt(), Mut(), Put(), Y5.own(s9), Y5.own(O9);+function Iut() {+ Eut(), fut(), Nct(), put(), Xlt(), Iot(), zlt(), uut(), Xst(), sut(), vct(), Blt(), Ist(), oct(), wut(), kct(), Zst(), Tut(), Act(), Qst(), tlt(), Vlt(), jut(), cut(), Mut(), Zlt(), Nut(), Fut(), Y5.own(s9), Y5.own(O9);}//#endregion//#region src/ui-kit/middle-truncate.ts-var Iut = "…", Lut = typeof Intl.Segmenter == "function" ? new Intl.Segmenter(void 0, { granularity: "grapheme" }) : null, K9 = /* @__PURE__ */ new WeakMap(), q9 = /* @__PURE__ */ new WeakSet(), J9 = null, Y9 = null, X9 = /* @__PURE__ */ new Set(), Rut = (e) => Lut ? [...Lut.segment(String(e ?? ""))].map((e) => e.segment) : Array.from(String(e ?? ""));-function zut(e, t) {- let n = Rut(e);+var Lut = "…", Rut = typeof Intl.Segmenter == "function" ? new Intl.Segmenter(void 0, { granularity: "grapheme" }) : null, K9 = /* @__PURE__ */ new WeakMap(), q9 = /* @__PURE__ */ new WeakSet(), J9 = null, Y9 = null, X9 = /* @__PURE__ */ new Set(), zut = (e) => Rut ? [...Rut.segment(String(e ?? ""))].map((e) => e.segment) : Array.from(String(e ?? ""));+function But(e, t) {+ let n = zut(e);if (!n.length || t(e)) return String(e ?? "");- let r = 0, i = Math.max(0, n.length - 1), a = Iut;+ let r = 0, i = Math.max(0, n.length - 1), a = Lut;for (; r <= i;) {- let e = r + i >> 1, o = Math.ceil(e / 2), s = Math.floor(e / 2), c = n.slice(0, o).join("") + Iut + (s ? n.slice(-s).join("") : "");+ let e = r + i >> 1, o = Math.ceil(e / 2), s = Math.floor(e / 2), c = n.slice(0, o).join("") + Lut + (s ? n.slice(-s).join("") : "");t(c) ? (a = c, r = e + 1) : i = e - 1;}return a;}-var But = Object.assign((e, t) => {- let n = getComputedStyle(e), r = (But.canvas ||= document.createElement("canvas")).getContext("2d");+var Vut = Object.assign((e, t) => {+ let n = getComputedStyle(e), r = (Vut.canvas ||= document.createElement("canvas")).getContext("2d");if (!r) return Infinity;r.font = n.font || `${n.fontStyle} ${n.fontWeight} ${n.fontSize} ${n.fontFamily}`;let i = r.measureText(t).width, a = parseFloat(n.letterSpacing);- Number.isFinite(a) && (i += Math.max(0, Rut(t).length - 1) * a);+ Number.isFinite(a) && (i += Math.max(0, zut(t).length - 1) * a);let o = parseFloat(n.wordSpacing);return Number.isFinite(o) && (i += (t.match(/\s/g) || []).length * o), i;-}, { canvas: null }), Vut = (e) => {+}, { canvas: null }), Hut = (e) => {if (e.dataset.middleTruncateWithin === void 0) return e.clientWidth;let t = e.parentElement;if (!t) return e.clientWidth;@@ -104413,40 +104426,40 @@ var But = 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);-}, Hut = (e) => {+}, Uut = (e) => {let t = K9.get(e);if (!t || !e.isConnected) return;- let n = Vut(e), r = n > 0 ? zut(t.full, (t) => But(e, t) <= n) : t.full;+ let n = Hut(e), r = n > 0 ? But(t.full, (t) => Vut(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");}, Z9 = (e) => {let t = K9.get(e);t && !t.raf && (t.raf = requestAnimationFrame(() => {- t.raf = 0, Hut(e);+ t.raf = 0, Uut(e);}));-}, Uut = (e) => {+}, Wut = (e) => {e instanceof HTMLElement && (K9.has(e) || K9.set(e, {full: e.textContent || "",rendered: e.textContent || "",raf: 0}), q9.has(e) || (q9.add(e), X9.add(e), e.dataset.middleTruncateWithin !== void 0 && e.parentElement ? J9?.observe(e.parentElement) : J9?.observe(e)), Z9(e));-}, Wut = (e) => {+}, Gut = (e) => {if (e.nodeType !== Node.ELEMENT_NODE) return;let t = e;- t.matches("[data-middle-truncate]") && Uut(t), t.querySelectorAll("[data-middle-truncate]").forEach(Uut);+ t.matches("[data-middle-truncate]") && Wut(t), t.querySelectorAll("[data-middle-truncate]").forEach(Wut);};-function Gut(e = document) {+function Kut(e = document) {Y9?.(), q9 = /* @__PURE__ */ new WeakSet(), X9 = /* @__PURE__ */ new Set();let t = X9, n = !0;J9 = new ResizeObserver((e) => e.forEach((e) => {n && (Z9(e.target), e.target.querySelectorAll?.(":scope>[data-middle-truncate-within]").forEach(Z9));}));let r = J9;- Wut(e.documentElement || e);+ Gut(e.documentElement || e);let i = new MutationObserver((e) => e.forEach((e) => {if (!n) return;- e.addedNodes.forEach(Wut);+ e.addedNodes.forEach(Gut);let t = (e.target.nodeType === Node.TEXT_NODE ? e.target.parentElement : e.target)?.closest?.("[data-middle-truncate]");if (!t) return;let r = K9.get(t);@@ -104481,50 +104494,50 @@ function Gut(e = document) {//#endregion//#region src/react/application.tsxvar Q9 = null;-function Kut(e) {+function qut(e) {Q9 !== e || e.owners || (Q9 = null, e.effects.dispose());}-function qut() {+function Jut() {if (!Q9) {- let e = Pot();+ let e = Fot();Q9 = {effects: e,owners: 0- }, e.own(Gut(document)), e.own(() => {+ }, e.own(Kut(document)), e.own(() => {Qs(), U.cancelQueries();- }), e.own(Sot), e.own(Fme), e.own(Wa);+ }), e.own(Cot), e.own(Pme), e.own(Wa);}return Q9.owners += 1, Q9.effects.resume(), Q9;}-function Jut() {+function Yut() {let [e, t] = (0, b.useState)(null);return (0, b.useLayoutEffect)(() => {- let e = Q9 === null, n = qut(), r = bot(t);+ let e = Q9 === null, n = Jut(), r = xot(t);if (e) try {- Fut();+ Iut();} catch (e) {throw r(), n.effects.dispose(), Q9 = null, e;}return () => {- r(), --n.owners, !n.owners && (n.effects.pause(), queueMicrotask(() => Kut(n)));+ r(), --n.owners, !n.owners && (n.effects.pause(), queueMicrotask(() => qut(n)));};- }, []), /* @__PURE__ */ (0, x.jsx)(GEe, { actions: e });+ }, []), /* @__PURE__ */ (0, x.jsx)(KEe, { actions: e });}var $9 = /* @__PURE__ */ new WeakMap();-function Yut(e) {+function Xut(e) {let t = $9.get(e);if (t) return t;- let n = (0, ht.createRoot)(e, KEe);+ let n = (0, ht.createRoot)(e, qEe);$9.set(e, n);let r = n.unmount.bind(n);return n.unmount = () => {- $9.get(e) === n && ($9.delete(e), r(), Q9 && Kut(Q9));- }, (0, mt.flushSync)(() => n.render(/* @__PURE__ */ (0, x.jsx)(Jut, {}))), n;+ $9.get(e) === n && ($9.delete(e), r(), Q9 && qut(Q9));+ }, (0, mt.flushSync)(() => n.render(/* @__PURE__ */ (0, x.jsx)(Yut, {}))), n;}//#endregion//#region src/react/bootstrap.tsx-var Xut = document.getElementById("appRoot");-if (!Xut) throw Error("主界面宿主缺失");-Yut(Xut);+var Zut = document.getElementById("appRoot");+if (!Zut) throw Error("主界面宿主缺失");+Xut(Zut);//#endregion-export { pw as applyTheme, NO as peachHistory, mo as popCount, Mot as showToast };+export { mw as applyTheme, PO as peachHistory, mo as popCount, Not as showToast };