Peach: Local-first video metadata scraper and media manager.
feat(ui): Shift+S 随时开关 SFW 模式
longmeidao4d07ef911601
diff --git a/frontend/e2e/settings-panel.test.ts b/frontend/e2e/settings-panel.test.tsindex 28506dd5d..21659484c 100644--- a/frontend/e2e/settings-panel.test.ts+++ b/frontend/e2e/settings-panel.test.ts@@ -156,6 +156,24 @@ describe('设置面板', () => {}});+ it('Shift+S 在页面上切换 SFW 并记住,在输入框里不切换', { timeout: 60_000 }, async () => {+ const opened = await openHome(browser);+ try {+ const page = opened.page;+ const censored = () => page.evaluate(() => document.body.classList.contains('censor'));+ await page.locator('body').click({ position: { x: 1, y: 1 } });+ await page.keyboard.press('Shift+S');+ assert.equal(await censored(), true);+ assert.equal(await page.evaluate(() => localStorage.getItem('peach-censor')), '1');+ await page.keyboard.press('Shift+S');+ assert.equal(await censored(), false);+ await page.locator('#q').focus();+ await page.keyboard.press('Shift+S');+ assert.equal(await censored(), false, '在搜索框里打大写 S 不该切换 SFW');+ assert.deepEqual(opened.problems, []);+ } finally { await opened.close() }+ });+it('界面音效关掉后点按不再出声,打开后又出声', { timeout: 60_000 }, async () => {const opened = await visit(browser, '/', DESKTOP);const { page } = opened;diff --git a/frontend/src/application/search.js b/frontend/src/application/search.jsindex 5b639df39..699b58b17 100644--- a/frontend/src/application/search.js+++ b/frontend/src/application/search.js@@ -1,6 +1,6 @@/* search 域控制器:本域状态与动作,启动由 Application 的生命周期统一安装。 */import { javImageKind } from './../jav-artwork';-import { preferencesState } from './preferences.js';+import { censorOn, preferencesState, setCensored } from './preferences.js';import { coverImage } from './../card-art/markup';import { catalogState, goHome, homePath } from './catalog.js';import { disposeStage, mediaState, openItem } from './media.js';@@ -156,6 +156,9 @@ applicationEffects.listen(document, 'keydown', e=>{}// 输入态不抢键:搜索框、标签弹窗和任何可编辑区域里的按键归它们自己处理。if(isTypingTarget(e.target)||e.ctrlKey||e.metaKey||e.altKey)return;+ // Shift+S 一键切换 SFW:有人走近时不必先打开设置(同 javm 的老板键 `2304ab2`)。只认 Shift,+ // 和单字母的播放器快捷键分开;输入态已在上一行放过。+ if(e.shiftKey&&(e.key==='S'||e.key==='s')){e.preventDefault();setCensored(!censorOn());return}if(e.key==='ArrowLeft'||e.key==='ArrowRight'){const imageStep=document.querySelector(`#stage[open] [data-media-carousel]:not([data-carousel-video-active]) [data-follow-image-step="${e.key==='ArrowRight'?1:-1}"]`);if(imageStep){e.preventDefault();imageStep.click();return}diff --git a/frontend/src/react/settings-panel/settings-panel.tsx b/frontend/src/react/settings-panel/settings-panel.tsxindex 859c085e2..e15a8db3d 100644--- a/frontend/src/react/settings-panel/settings-panel.tsx+++ b/frontend/src/react/settings-panel/settings-panel.tsx@@ -381,7 +381,7 @@ function SettingsPanel({ host: current, view: shown }: { host: SettingsPanelHost</Group><Group index={4} tab={shown.tab}><ToggleRow id="censorSetting" title="SFW 模式" describedBy="sfwDescription" checked={current.censored()}- description="隐藏敏感画面,停止悬停预览。"+ description="隐藏敏感画面,停止悬停预览。不在输入时按 Shift+S 随时开关。"onToggle={(on) => current.setCensored(on)} /></Group></div>diff --git a/web/dist/peach-app.js b/web/dist/peach-app.jsindex 973996106..58775e96e 100644--- a/web/dist/peach-app.js+++ b/web/dist/peach-app.js@@ -2,7 +2,7 @@(function() {try {var e = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, t = new e.Error().stack;- t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "6ac720ac-5b6d-4b44-8e09-b880517462b4", e._sentryDebugIdIdentifier = "sentry-dbid-6ac720ac-5b6d-4b44-8e09-b880517462b4");+ t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "27c5cade-5d65-4e36-96f2-f36f4120d452", e._sentryDebugIdIdentifier = "sentry-dbid-27c5cade-5d65-4e36-96f2-f36f4120d452");} catch {}})();var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescriptor, r = Object.getOwnPropertyNames, i = Object.getPrototypeOf, a = Object.prototype.hasOwnProperty, o = (e, t) => () => (t || (e((t = { exports: {} }).exports, t, t.exports), e = null), t.exports), s = (e, n) => {@@ -16312,44 +16312,44 @@ function bg(e, t = 100, n) {};}// node_modules/motion-dom/dist/es/animation/generators/spring.mjs-var xg = 100, Sg = 10, uee = 1, dee = 800, Cg = .3, fee = .3, pee = .01, mee = 2, wg = .005, hee = .5, gee = .01, _ee = 10, Tg = .05, Eg = (e) => e < 0 ? 1 / Math.max(1 + e, Tg) : Math.max(1 - e, Tg);-function Dg(e, t) {+var xg = 100, Sg = 10, uee = 1, dee = 800, Cg = .3, fee = .3, pee = .01, mee = 2, hee = .005, gee = .5, _ee = .01, vee = 10, wg = .05, Tg = (e) => e < 0 ? 1 / Math.max(1 + e, wg) : Math.max(1 - e, wg);+function Eg(e, t) {if (!(e > 1)) return 1;let n = Math.sqrt(e * e - 1), r = e - n, i = e + n, a = 2 * n * Math.exp(-t) * (1 + t);- return kg((e) => i * Math.exp(-r * e) - r * Math.exp(-i * e) - a, (e) => Math.exp(-i * e) - Math.exp(-r * e), t) / t;+ return Og((e) => i * Math.exp(-r * e) - r * Math.exp(-i * e) - a, (e) => Math.exp(-i * e) - Math.exp(-r * e), t) / t;}-function Og(e, t) {+function Dg(e, t) {return e * Math.sqrt(1 - t * t);}-var vee = 12;-function kg(e, t, n) {+var yee = 12;+function Og(e, t, n) {let r = n;- for (let n = 1; n < vee; n++) r -= e(r) / t(r);+ for (let n = 1; n < yee; n++) r -= e(r) / t(r);return r;}-var Ag = .001;-function yee({ duration: e = dee, bounce: t = Cg }) {- let n, r, i = Eg(t);- e = bm(gee, _ee, /* @__PURE__ */ jm(e)), i < 1 ? (n = (t) => {- let n = t * i, r = n * e, a = Og(t, i), o = Math.exp(-r);- return Ag - n / a * o;+var kg = .001;+function bee({ duration: e = dee, bounce: t = Cg }) {+ let n, r, i = Tg(t);+ e = bm(_ee, vee, /* @__PURE__ */ jm(e)), i < 1 ? (n = (t) => {+ let n = t * i, r = n * e, a = Dg(t, i), o = Math.exp(-r);+ return kg - n / a * o;}, r = (t) => {- let r = t * i * e, a = i * i * t * t * e, o = Math.exp(-r), s = Og(t * t, i);- return (-n(t) + Ag > 0 ? -1 : 1) * -a * o / s;+ let r = t * i * e, a = i * i * t * t * e, o = Math.exp(-r), s = Dg(t * t, i);+ return (-n(t) + kg > 0 ? -1 : 1) * -a * o / s;}) : (n = (t) => -.001 + Math.exp(-t * e) * (t * e + 1), r = (t) => Math.exp(-t * e) * (-t * (e * e)));- let a = 5 / e, o = kg(n, r, a), s = o * Dg(i, o * e), c = s * s;+ let a = 5 / e, o = Og(n, r, a), s = o * Eg(i, o * e), c = s * s;return {stiffness: c,damping: i * 2 * Math.sqrt(c),duration: /* @__PURE__ */ Am(e)};}-var jg = (e, t) => (t ? e >= 0 : e > 0) && e < Infinity;-function Mg(e, t) {- if (jg(e, t)) return e;+var Ag = (e, t) => (t ? e >= 0 : e > 0) && e < Infinity;+function jg(e, t) {+ if (Ag(e, t)) return e;}-function bee(e) {- let t = Mg(e.stiffness), n = Mg(e.damping, !0), r = Mg(e.mass), i = {+function xee(e) {+ let t = jg(e.stiffness), n = jg(e.damping, !0), r = jg(e.mass), i = {...e,stiffness: t ?? xg,damping: n ?? Sg,@@ -16359,14 +16359,14 @@ function bee(e) {};if (i.isTimeDefined) {if (e.visualDuration) {- let t = Eg(e.bounce || 0), n = 2 * Math.PI / (e.visualDuration * 1.2) * Dg(t, 2 * Math.PI / 1.2);+ let t = Tg(e.bounce || 0), n = 2 * Math.PI / (e.visualDuration * 1.2) * Eg(t, 2 * Math.PI / 1.2);i.stiffness = n * n, i.damping = 2 * t * Math.sqrt(i.stiffness);- } else Object.assign(i, yee(i)), i.isResolvedFromDuration = !0;- jg(i.stiffness) && jg(i.damping, !0) || (i.stiffness = xg, i.damping = Sg);+ } else Object.assign(i, bee(i)), i.isResolvedFromDuration = !0;+ Ag(i.stiffness) && Ag(i.damping, !0) || (i.stiffness = xg, i.damping = Sg);}return i;}-function Ng(e = fee, t = Cg) {+function Mg(e = fee, t = Cg) {let n = typeof e == "object" ? e : {visualDuration: e,keyframes: [0, 1],@@ -16374,7 +16374,7 @@ function Ng(e = fee, t = Cg) {}, r = n.keyframes[0], i = n.keyframes[n.keyframes.length - 1], a = {done: !1,value: r- }, { stiffness: o, damping: s, mass: c, duration: l, isResolvedFromDuration: u, isTimeDefined: d } = bee({ ...n }), f = (e) => d ? 0 : -/* @__PURE__ */ jm(e), p = s / (2 * Math.sqrt(o * c)), m = /* @__PURE__ */ jm(Math.sqrt(o / c)), h = p * m, g = {+ }, { stiffness: o, damping: s, mass: c, duration: l, isResolvedFromDuration: u, isTimeDefined: d } = xee({ ...n }), f = (e) => d ? 0 : -/* @__PURE__ */ jm(e), p = s / (2 * Math.sqrt(o * c)), m = /* @__PURE__ */ jm(Math.sqrt(o / c)), h = p * m, g = {target: i,delta: i - r,velocity: f(n.velocity || 0) || 0,@@ -16382,12 +16382,12 @@ function Ng(e = fee, t = Cg) {restDelta: 0}, _ = () => {let e = Math.abs(g.delta) < 5;- g.restSpeed = n.restSpeed || (e ? pee : mee), g.restDelta = n.restDelta || (e ? wg : hee);+ g.restSpeed = n.restSpeed || (e ? pee : mee), g.restDelta = n.restDelta || (e ? hee : gee);};_();let v, y, b;if (p < 1) {- let e = Og(m, p), t = {+ let e = Dg(m, p), t = {A: 0,sinC: 0,cosC: 0,@@ -16443,12 +16443,12 @@ function Ng(e = fee, t = Cg) {};return S;}-var Pg = /* @__PURE__ */ Object.assign(Ng, { applyToOptions: (e) => {- let t = bg(e, 100, Ng);+var Ng = /* @__PURE__ */ Object.assign(Mg, { applyToOptions: (e) => {+ let t = bg(e, 100, Mg);return e.ease = t.ease, e.duration = /* @__PURE__ */ Am(t.duration), e.type = "keyframes", e;} });// node_modules/motion-dom/dist/es/animation/generators/inertia.mjs-function Fg({ keyframes: e, velocity: t = 0, power: n = .8, timeConstant: r = 325, bounceDamping: i = 10, bounceStiffness: a = 500, modifyTarget: o, min: s, max: c, restDelta: l = .5, restSpeed: u }) {+function Pg({ keyframes: e, velocity: t = 0, power: n = .8, timeConstant: r = 325, bounceDamping: i = 10, bounceStiffness: a = 500, modifyTarget: o, min: s, max: c, restDelta: l = .5, restSpeed: u }) {let d = e[0], f = {done: !1,value: d@@ -16458,7 +16458,7 @@ function Fg({ keyframes: e, velocity: t = 0, power: n = .8, timeConstant: r = 32let t = v(e);f.done = Math.abs(t) <= l, f.value = f.done ? _ : e ? _ + t : d;}, b, x, S = (e) => {- p(f.value) && (b = e, x = Pg({+ p(f.value) && (b = e, x = Ng({keyframes: [f.value, m(f.value)],velocity: -v(e) / r * 1e3,damping: i,@@ -16476,7 +16476,7 @@ function Fg({ keyframes: e, velocity: t = 0, power: n = .8, timeConstant: r = 32};}// node_modules/motion-dom/dist/es/utils/interpolate.mjs-function xee(e, t, n) {+function See(e, t, n) {let r = [], i = xm.mix || ug, a = e.length - 1;for (let o = 0; o < a; o++) {let a = n?.(e[o], e[o + 1]) || i(e[o], e[o + 1]);@@ -16484,13 +16484,13 @@ function xee(e, t, n) {}return r;}-function Ig(e, t, { clamp: n = !0, ease: r, mixer: i } = {}) {+function Fg(e, t, { clamp: n = !0, ease: r, mixer: i } = {}) {let a = e.length;if (a === 1) return () => t[0];if (a === 2 && t[0] === t[1]) return () => t[1];let o = e[0] === e[1];e[0] > e[a - 1] && (e = [...e].reverse(), t = [...t].reverse());- let s = xee(t, r, i), c = s.length, l = (n) => {+ let s = See(t, r, i), c = s.length, l = (n) => {if (o && n < e[0]) return t[0];let r = 0;if (c > 1) for (; r < e.length - 2 && !(n < e[r + 1]); r++);@@ -16500,7 +16500,7 @@ function Ig(e, t, { clamp: n = !0, ease: r, mixer: i } = {}) {return n ? (t) => l(bm(e[0], e[a - 1], t)) : l;}// node_modules/motion-dom/dist/es/animation/keyframes/offsets/fill.mjs-function Lg(e, t) {+function Ig(e, t) {let n = e[e.length - 1];for (let r = 1; r <= t; r++) {let i = /* @__PURE__ */ Om(0, t, r);@@ -16508,19 +16508,19 @@ function Lg(e, t) {}}// node_modules/motion-dom/dist/es/animation/keyframes/offsets/default.mjs-function Rg(e) {+function Lg(e) {let t = [0];- return Lg(t, e.length - 1), t;+ return Ig(t, e.length - 1), t;}// node_modules/motion-dom/dist/es/animation/keyframes/offsets/time.mjs-function See(e, t) {+function Cee(e, t) {return e.map((e) => e * t);}// node_modules/motion-dom/dist/es/animation/generators/keyframes.mjs-function Cee(e, t) {+function wee(e, t) {return e.map(() => t || qm).splice(0, e.length - 1);}-function zg({ duration: e = 300, keyframes: t, times: n, ease: r = "easeInOut", mixer: i }) {+function Rg({ duration: e = 300, keyframes: t, times: n, ease: r = "easeInOut", mixer: i }) {let a = typeof t[0] == "number" ? void 0 : i, o = /* @__PURE__ */ Jm(r) ? r.map($m) : $m(r) || qm, s = {done: !1,value: t[0]@@ -16532,8 +16532,8 @@ function zg({ duration: e = 300, keyframes: t, times: n, ease: r = "easeInOut",next: (t) => (s.value = i ? i(o(e > 0 ? bm(0, 1, t / e) : 1)) : r, s.done = t >= e, s)};}- let c = Ig(See(n && n.length === t.length ? n : Rg(t), e), t, {- ease: Array.isArray(o) ? o : Cee(t, o),+ let c = Fg(Cee(n && n.length === t.length ? n : Lg(t), e), t, {+ ease: Array.isArray(o) ? o : wee(t, o),mixer: a});return {@@ -16542,35 +16542,35 @@ function zg({ duration: e = 300, keyframes: t, times: n, ease: r = "easeInOut",};}// node_modules/motion-dom/dist/es/animation/generators/utils/velocity.mjs-var wee = 5;-function Tee(e, t, n) {- let r = Math.max(t - wee, 0);+var Tee = 5;+function Eee(e, t, n) {+ let r = Math.max(t - Tee, 0);return /* @__PURE__ */ Mm(n - e(r), t - r);}-function Bg(e, t, n = 0) {- return t <= 0 ? n : e.velocity ? e.velocity(t) : Tee((t) => e.next(t).value, t, e.next(t).value);+function zg(e, t, n = 0) {+ return t <= 0 ? n : e.velocity ? e.velocity(t) : Eee((t) => e.next(t).value, t, e.next(t).value);}// node_modules/motion-dom/dist/es/animation/keyframes/get-final.mjs-var Eee = (e) => e !== null;-function Vg(e, { repeat: t, repeatType: n = "loop" }, r, i = 1) {- let a = e.filter(Eee), o = i < 0 || t && n !== "loop" && t % 2 == 1 ? 0 : a.length - 1;+var Dee = (e) => e !== null;+function Bg(e, { repeat: t, repeatType: n = "loop" }, r, i = 1) {+ let a = e.filter(Dee), o = i < 0 || t && n !== "loop" && t % 2 == 1 ? 0 : a.length - 1;return !o || r === void 0 ? a[o] : r;}// node_modules/motion-dom/dist/es/animation/utils/replace-transition-type.mjs-var Dee = {- decay: Fg,- inertia: Fg,- tween: zg,- keyframes: zg,- spring: Pg+var Oee = {+ decay: Pg,+ inertia: Pg,+ tween: Rg,+ keyframes: Rg,+ spring: Ng};-function Hg(e) {- typeof e.type == "string" && (e.type = Dee[e.type]);+function Vg(e) {+ typeof e.type == "string" && (e.type = Oee[e.type]);}// node_modules/motion-dom/dist/es/animation/utils/resolve-start-time.mjs-var Oee = 40, Ug = (e, t) => t - e > Oee && !xm.useManualTiming ? t : e;+var kee = 40, Hg = (e, t) => t - e > kee && !xm.useManualTiming ? t : e;// node_modules/motion-dom/dist/es/animation/utils/notify-inspector.mjs-function Wg(e, t) {+function Ug(e, t) {return {kind: e,animation: t,@@ -16579,11 +16579,11 @@ function Wg(e, t) {frameIsProcessing: eh.isProcessing};}-function Gg(e, t, n) {+function Wg(e, t, n) {let r = globalThis.__MOTION_INSPECT__;if (r) try {r({- ...Wg("animation-start", e),+ ...Ug("animation-start", e),options: n ? {...t,...n@@ -16591,17 +16591,17 @@ function Gg(e, t, n) {});} catch {}}-function kee(e, t) {+function Aee(e, t) {let n = globalThis.__MOTION_INSPECT__;if (n) try {n({- ...Wg("layout-animation-start", e),+ ...Ug("layout-animation-start", e),node: t});} catch {}}// node_modules/motion-dom/dist/es/animation/utils/WithPromise.mjs-var Kg = class {+var Gg = class {constructor() {this.isResolved = !1;}@@ -16619,7 +16619,7 @@ var Kg = class {then(e, t) {return this.finished.then(e, t);}-}, Aee = (e) => e / 100, qg = (e) => Math.round(e * 1e4) / 1e4, Jg = class extends Kg {+}, jee = (e) => e / 100, Kg = (e) => Math.round(e * 1e4) / 1e4, qg = class extends Gg {constructor(e) {super(), this.state = "idle", this.startTime = null, this.isStopped = !1, this.currentTime = 0, this.holdTime = null, this.playbackSpeed = 1, this.delayState = {done: !1,@@ -16627,13 +16627,13 @@ var Kg = class {}, this.stop = () => {let { motionValue: e } = this.options;e && e.updatedAt !== rh.now() && this.tick(rh.now()), this.isStopped = !0, this.state !== "idle" && (this.teardown(), this.options.onStop?.());- }, this.options = e, this.initAnimation(), this.play(), e.autoplay === !1 && this.pause(), Gg(this, this.options);+ }, this.options = e, this.initAnimation(), this.play(), e.autoplay === !1 && this.pause(), Wg(this, this.options);}initAnimation() {let { options: e } = this;- Hg(e);- let { type: t = zg, repeat: n = 0, repeatDelay: r = 0, repeatType: i, velocity: a = 0 } = e, { keyframes: o } = e, s = t || zg;- this.mixKeyframes = void 0, s !== zg && typeof o[0] != "number" && (this.mixKeyframes = Dm(Aee, e.mixer?.(o[0], o[1]) || ug(o[0], o[1])), o = [0, 100]);+ Vg(e);+ let { type: t = Rg, repeat: n = 0, repeatDelay: r = 0, repeatType: i, velocity: a = 0 } = e, { keyframes: o } = e, s = t || Rg;+ this.mixKeyframes = void 0, s !== Rg && typeof o[0] != "number" && (this.mixKeyframes = Dm(jee, e.mixer?.(o[0], o[1]) || ug(o[0], o[1])), o = [0, 100]);let c = s(o === e.keyframes ? e : {...e,keyframes: o@@ -16653,20 +16653,20 @@ var Kg = class {let { generator: n, totalDuration: r, calculatedDuration: i } = this;if (this.startTime === null) return n.next(0);let { delay: a = 0, keyframes: o, type: s, onUpdate: c, finalKeyframe: l } = this.options;- this.startTime === this.pendingStartTime && (this.startTime = Ug(this.startTime, e)), this.pendingStartTime = void 0, this.speed > 0 ? this.startTime = Math.min(this.startTime, e) : this.speed < 0 && (this.startTime = Math.min(e - r / this.speed, this.startTime)), t ? this.currentTime = e : this.updateTime(e);+ this.startTime === this.pendingStartTime && (this.startTime = Hg(this.startTime, e)), this.pendingStartTime = void 0, this.speed > 0 ? this.startTime = Math.min(this.startTime, e) : this.speed < 0 && (this.startTime = Math.min(e - r / this.speed, this.startTime)), t ? this.currentTime = e : this.updateTime(e);let u = this.currentTime - a * (this.playbackSpeed >= 0 ? 1 : -1), d = this.playbackSpeed >= 0 ? u < 0 : u > r;this.currentTime = Math.max(u, 0), this.state === "finished" && this.holdTime === null && (this.currentTime = r);let f = this.generate(this.currentTime, d), { done: p } = f;d || (p = this.playbackSpeed >= 0 ? i < Infinity ? this.currentTime >= r : p : this.currentTime <= 0);let m = this.holdTime === null && (this.state === "finished" || this.state === "running" && p);- return m && s !== Fg && (f.value = Vg(o, this.options, l, this.speed)), c && c(f.value), m && this.finish(), f;+ return m && s !== Pg && (f.value = Bg(o, this.options, l, this.speed)), c && c(f.value), m && this.finish(), f;}at(e) {- return this.holdTime ?? qg((e - this.startTime) * this.playbackSpeed);+ return this.holdTime ?? Kg((e - this.startTime) * this.playbackSpeed);}sampleAt(e, t) {let { options: n, totalDuration: r } = this, i = this.at(e) - (n.delay || 0);- return i >= r && n.type !== Fg ? Vg(n.keyframes, n, t ? void 0 : n.finalKeyframe) : this.generate(Math.max(i, 0), i < 0).value;+ return i >= r && n.type !== Pg ? Bg(n.keyframes, n, t ? void 0 : n.finalKeyframe) : this.generate(Math.max(i, 0), i < 0).value;}generate(e, t) {let { generator: n, totalDuration: r, mixKeyframes: i, mirroredGenerator: a, resolvedDuration: o } = this, { keyframes: s, repeat: c, repeatType: l, repeatDelay: u } = this.options, d = e, f = n;@@ -16690,7 +16690,7 @@ var Kg = class {e = /* @__PURE__ */ Am(e), this.currentTime = e, this.startTime === null || this.holdTime !== null || this.playbackSpeed === 0 ? this.holdTime = e : this.driver && (this.startTime = this.driver.now() - e / this.playbackSpeed), this.driver ? this.driver.start(!1) : (this.startTime = 0, this.state = "paused", this.holdTime = e, this.tick(e));}getGeneratorVelocity() {- return Bg(this.generator, this.currentTime, this.options.velocity);+ return zg(this.generator, this.currentTime, this.options.velocity);}get speed() {return this.playbackSpeed;@@ -16727,27 +16727,27 @@ var Kg = class {attachTimeline(e) {return this.options.allowFlatten && (this.options.type = "keyframes", this.options.ease = "linear", this.initAnimation()), this.driver?.stop(), e.observe(this);}-}, jee = /* @__PURE__ */ new Set([+}, Mee = /* @__PURE__ */ new Set(["brightness","contrast","saturate","opacity"]);-function Mee(e) {+function Nee(e) {let [t, n] = e.slice(0, -1).split("(");if (t === "drop-shadow") return e;let [r] = n.match(mh) || [];if (!r) return e;- let i = n.replace(r, ""), a = +!!jee.has(t);+ let i = n.replace(r, ""), a = +!!Mee.has(t);return r !== n && (a *= 100), t + "(" + a + i + ")";}-var Nee = /\b([a-z-]*)\(.*?\)/gu, Yg = {+var Pee = /\b([a-z-]*)\(.*?\)/gu, Jg = {...Qh,getAnimatableNone: (e) => {- let t = e.match(Nee);- return t ? t.map(Mee).join(" ") : e;+ let t = e.match(Pee);+ return t ? t.map(Nee).join(" ") : e;}-}, Xg = {+}, Yg = {...Qh,getAnimatableNone: (e) => {let t = Qh.parse(e);@@ -16756,10 +16756,10 @@ var Nee = /\b([a-z-]*)\(.*?\)/gu, Yg = {alpha: 1} : e));}-}, Zg = {+}, Xg = {...dh,transform: Math.round-}, Qg = {+}, Zg = {rotate: Eh,pathRotation: Eh,rotateX: Eh,@@ -16785,7 +16785,7 @@ var Nee = /\b([a-z-]*)\(.*?\)/gu, Yg = {originX: jh,originY: jh,originZ: Oh-}, $g = {+}, Qg = {borderWidth: Oh,borderTopWidth: Oh,borderRightWidth: Oh,@@ -16836,13 +16836,13 @@ var Nee = /\b([a-z-]*)\(.*?\)/gu, Yg = {fontSize: Oh,backgroundPositionX: Oh,backgroundPositionY: Oh,- ...Qg,- zIndex: Zg,+ ...Zg,+ zIndex: Xg,fillOpacity: fh,strokeOpacity: fh,- numOctaves: Zg-}, Pee = {- ...$g,+ numOctaves: Xg+}, Fee = {+ ...Qg,color: Nh,backgroundColor: Nh,outlineColor: Nh,@@ -16853,21 +16853,21 @@ var Nee = /\b([a-z-]*)\(.*?\)/gu, Yg = {borderRightColor: Nh,borderBottomColor: Nh,borderLeftColor: Nh,- filter: Yg,- WebkitFilter: Yg,- mask: Xg,- WebkitMask: Xg-}, e_ = (e) => Pee[e], Fee = /*@__PURE__*/ new Set([Yg, Xg]);-function t_(e, t) {- let n = e_(e);- return Fee.has(n) || (n = Qh), n.getAnimatableNone ? n.getAnimatableNone(t) : void 0;+ filter: Jg,+ WebkitFilter: Jg,+ mask: Yg,+ WebkitMask: Yg+}, $g = (e) => Fee[e], Iee = /*@__PURE__*/ new Set([Jg, Yg]);+function e_(e, t) {+ let n = $g(e);+ return Iee.has(n) || (n = Qh), n.getAnimatableNone ? n.getAnimatableNone(t) : void 0;}// node_modules/motion-dom/dist/es/animation/keyframes/utils/fill-wildcards.mjs-function n_(e) {+function t_(e) {for (let t = 1; t < e.length; t++) e[t] ?? (e[t] = e[t - 1]);}// node_modules/motion-dom/dist/es/render/dom/parse-transform.mjs-var r_ = (e) => e * 180 / Math.PI, i_ = (e) => a_(r_(Math.atan2(e[1], e[0]))), Iee = {+var n_ = (e) => e * 180 / Math.PI, r_ = (e) => i_(n_(Math.atan2(e[1], e[0]))), Lee = {x: 4,y: 5,translateX: 4,@@ -16876,44 +16876,44 @@ var r_ = (e) => e * 180 / Math.PI, i_ = (e) => a_(r_(Math.atan2(e[1], e[0]))), IscaleY: 3,scaleZ: () => 1,scale: (e) => (Math.abs(e[0]) + Math.abs(e[3])) / 2,- rotate: i_,- rotateZ: i_,- skewX: (e) => r_(Math.atan(e[1])),- skewY: (e) => r_(Math.atan(e[2])),+ rotate: r_,+ rotateZ: r_,+ skewX: (e) => n_(Math.atan(e[1])),+ skewY: (e) => n_(Math.atan(e[2])),skew: (e) => (Math.abs(e[1]) + Math.abs(e[2])) / 2-}, a_ = (e) => (e %= 360, e < 0 && (e += 360), e), o_ = i_, s_ = (e) => Math.hypot(e[0], e[1]), c_ = (e) => Math.hypot(e[4], e[5]), Lee = {+}, i_ = (e) => (e %= 360, e < 0 && (e += 360), e), a_ = r_, o_ = (e) => Math.hypot(e[0], e[1]), s_ = (e) => Math.hypot(e[4], e[5]), Ree = {x: 12,y: 13,z: 14,translateX: 12,translateY: 13,translateZ: 14,- scaleX: s_,- scaleY: c_,+ scaleX: o_,+ scaleY: s_,scaleZ: (e) => Math.hypot(e[8], e[9], e[10]),- scale: (e) => (s_(e) + c_(e)) / 2,- rotateX: (e) => a_(r_(Math.atan2(e[6], e[5]))),- rotateY: (e) => a_(r_(Math.atan2(-e[2], e[0]))),- rotateZ: o_,- rotate: o_,- skewX: (e) => r_(Math.atan(e[4])),- skewY: (e) => r_(Math.atan(e[1])),+ scale: (e) => (o_(e) + s_(e)) / 2,+ rotateX: (e) => i_(n_(Math.atan2(e[6], e[5]))),+ rotateY: (e) => i_(n_(Math.atan2(-e[2], e[0]))),+ rotateZ: a_,+ rotate: a_,+ skewX: (e) => n_(Math.atan(e[4])),+ skewY: (e) => n_(Math.atan(e[1])),skew: (e) => (Math.abs(e[1]) + Math.abs(e[4])) / 2};-function l_(e) {+function c_(e) {return +!!e.includes("scale");}-function u_(e, t) {- if (!e || e === "none") return l_(t);+function l_(e, t) {+ if (!e || e === "none") return c_(t);let n = e.match(/^matrix(3d)?\(([-\d.e\s,]+)\)$/u);- if (!n) return l_(t);- let r = (n[1] ? Lee : Iee)[t], i = n[2].split(",").map((e) => parseFloat(e));+ if (!n) return c_(t);+ let r = (n[1] ? Ree : Lee)[t], i = n[2].split(",").map((e) => parseFloat(e));return typeof r == "function" ? r(i) : i[r];}-var d_ = (e, t) => {+var u_ = (e, t) => {let { transform: n = "none" } = getComputedStyle(e);- return u_(n, t);-}, f_ = [+ return l_(n, t);+}, d_ = ["transformPerspective","x","y",@@ -16932,14 +16932,14 @@ var d_ = (e, t) => {"skew","skewX","skewY"-], p_ = /* @__PURE__ */ new Set([...f_, "pathRotation"]), m_ = (e) => e === dh || e === Oh, Ree = /* @__PURE__ */ new Set([+], f_ = /* @__PURE__ */ new Set([...d_, "pathRotation"]), p_ = (e) => e === dh || e === Oh, zee = /* @__PURE__ */ new Set(["x","y","z"-]), zee = /* @__PURE__ */ f_.filter((e) => !Ree.has(e));-function Bee(e) {+]), Bee = /* @__PURE__ */ d_.filter((e) => !zee.has(e));+function Vee(e) {let t = [];- return zee.forEach((n) => {+ return Bee.forEach((n) => {let r = e.getValue(n);if (r !== void 0) {let e = r.get(), i = +!!n.startsWith("scale");@@ -16948,16 +16948,16 @@ function Bee(e) {}}), t;}-var Vee = /* @__PURE__ */ new Set(["bottom", "right"]);-function h_(e, t, n, r, i, a) {+var Hee = /* @__PURE__ */ new Set(["bottom", "right"]);+function m_(e, t, n, r, i, a) {let o = parseFloat(e);if (!isNaN(o)) return o;let { min: s, max: c } = t()[n], l = c - s;return a === "border-box" ? l : l - parseFloat(r) - parseFloat(i);}-var g_ = ({ transform: e }) => u_(e, "x"), __ = ({ transform: e }) => u_(e, "y"), v_ = {- width: ({ width: e, paddingLeft: t = "0", paddingRight: n = "0", boxSizing: r }, i) => h_(e, i, "x", t, n, r),- height: ({ height: e, paddingTop: t = "0", paddingBottom: n = "0", boxSizing: r }, i) => h_(e, i, "y", t, n, r),+var h_ = ({ transform: e }) => l_(e, "x"), g_ = ({ transform: e }) => l_(e, "y"), __ = {+ width: ({ width: e, paddingLeft: t = "0", paddingRight: n = "0", boxSizing: r }, i) => m_(e, i, "x", t, n, r),+ height: ({ height: e, paddingTop: t = "0", paddingBottom: n = "0", boxSizing: r }, i) => m_(e, i, "y", t, n, r),top: ({ top: e }) => parseFloat(e),left: ({ left: e }) => parseFloat(e),bottom: ({ top: e }, t) => {@@ -16968,20 +16968,20 @@ var g_ = ({ transform: e }) => u_(e, "x"), __ = ({ transform: e }) => u_(e, "y")let { x: n } = t();return parseFloat(e) + (n.max - n.min);},- x: g_,- y: __,- translateX: g_,- translateY: __-}, y_ = /* @__PURE__ */ new Set(), b_ = !1, x_ = !1, S_ = !1;-function C_() {- if (x_) {+ x: h_,+ y: g_,+ translateX: h_,+ translateY: g_+}, v_ = /* @__PURE__ */ new Set(), y_ = !1, b_ = !1, x_ = !1;+function S_() {+ if (b_) {let e = [], t = /* @__PURE__ */ new Set(), n = /* @__PURE__ */ new Set();- y_.forEach((r) => {- r.needsMeasurement && (e.push(r), t.add(r.element), Vee.has(r.name) && n.add(r.element));+ v_.forEach((r) => {+ r.needsMeasurement && (e.push(r), t.add(r.element), Hee.has(r.name) && n.add(r.element));});let r = /* @__PURE__ */ new Map();n.forEach((e) => {- let t = Bee(e);+ let t = Vee(e);t.length && (r.set(e, t), e.render());}), e.forEach((e) => e.measureInitialState()), t.forEach((e) => {e.render();@@ -16993,29 +16993,29 @@ function C_() {e.suspendedScrollY !== void 0 && window.scrollTo(0, e.suspendedScrollY);});}- x_ = !1, b_ = !1, y_.forEach((e) => e.complete(S_)), y_.clear();+ b_ = !1, y_ = !1, v_.forEach((e) => e.complete(x_)), v_.clear();}-function w_() {- y_.forEach((e) => {- e.readKeyframes(), e.needsMeasurement && (x_ = !0);+function C_() {+ v_.forEach((e) => {+ e.readKeyframes(), e.needsMeasurement && (b_ = !0);});}-function Hee() {- S_ = !0, w_(), C_(), S_ = !1;+function Uee() {+ x_ = !0, C_(), S_(), x_ = !1;}-function Uee(e, t, n) {+function Wee(e, t, n) {if (typeof e == "string") {if (Sm(e) || wm(e)) return parseFloat(e);- if (!Qh.test(e) && Qh.test(n)) return t_(t, n);+ if (!Qh.test(e) && Qh.test(n)) return e_(t, n);}return e ?? void 0;}-var T_ = class {+var w_ = class {constructor(e, t, n, r, i, a = !1) {this.state = "pending", this.isAsync = !1, this.needsMeasurement = !1, this.unresolvedKeyframes = [...e], this.onComplete = t, this.name = n, this.motionValue = r, this.element = i, this.isAsync = a;}scheduleResolve() {- this.state = "scheduled", this.isAsync ? (y_.add(this), b_ || (b_ = !0, pg.read(w_), pg.resolveKeyframes(C_))) : (this.readKeyframes(), this.complete());+ this.state = "scheduled", this.isAsync ? (v_.add(this), y_ || (y_ = !0, pg.read(C_), pg.resolveKeyframes(S_))) : (this.readKeyframes(), this.complete());}readKeyframes() {let { unresolvedKeyframes: e, name: t, element: n, motionValue: r } = this;@@ -17023,71 +17023,71 @@ var T_ = class {let i = r?.get(), a = e[e.length - 1];if (i !== void 0) e[0] = i;else if (n && t) {- let r = Uee(n.readValue(t, a), t, a);+ let r = Wee(n.readValue(t, a), t, a);r !== void 0 && (e[0] = r);}e[0] === void 0 && (e[0] = a), r && i === void 0 && r.set(e[0]);}- n_(e);+ t_(e);}setFinalKeyframe() {}measureInitialState() {}renderEndStyles() {}measureEndState() {}complete(e = !1) {- this.state = "complete", this.onComplete(this.unresolvedKeyframes, this.finalKeyframe, e), y_.delete(this);+ this.state = "complete", this.onComplete(this.unresolvedKeyframes, this.finalKeyframe, e), v_.delete(this);}cancel() {- this.state === "scheduled" && (y_.delete(this), this.state = "pending");+ this.state === "scheduled" && (v_.delete(this), this.state = "pending");}resume() {this.state === "pending" && this.scheduleResolve();}-}, E_ = (e) => e.startsWith("--");+}, T_ = (e) => e.startsWith("--");// node_modules/motion-dom/dist/es/render/dom/style-set.mjs-function D_(e, t, n) {- E_(t) ? e.style.setProperty(t, n) : e.style[t] = n;+function E_(e, t, n) {+ T_(t) ? e.style.setProperty(t, n) : e.style[t] = n;}// node_modules/motion-dom/dist/es/utils/supports/flags.mjs-var Wee = {};+var Gee = {};// node_modules/motion-dom/dist/es/utils/supports/memo.mjs-function O_(e, t) {+function D_(e, t) {let n = /* @__PURE__ */ Tm(e);- return () => Wee[t] ?? n();+ return () => Gee[t] ?? n();}// node_modules/motion-dom/dist/es/utils/supports/scroll-timeline.mjs-var Gee = /* @__PURE__ */ O_(() => window.ScrollTimeline !== void 0, "scrollTimeline"), k_ = /*@__PURE__*/ O_(() => {+var Kee = /* @__PURE__ */ D_(() => window.ScrollTimeline !== void 0, "scrollTimeline"), O_ = /*@__PURE__*/ D_(() => {try {document.createElement("div").animate({ opacity: 0 }, { easing: "linear(0, 1)" });} catch {return !1;}return !0;-}, "linearEasing"), A_ = ([e, t, n, r]) => `cubic-bezier(${e}, ${t}, ${n}, ${r})`, j_ = {+}, "linearEasing"), k_ = ([e, t, n, r]) => `cubic-bezier(${e}, ${t}, ${n}, ${r})`, A_ = {linear: "linear",ease: "ease",easeIn: "ease-in",easeOut: "ease-out",easeInOut: "ease-in-out",- circIn: /*@__PURE__*/ A_([+ circIn: /*@__PURE__*/ k_([0,.65,.55,1]),- circOut: /*@__PURE__*/ A_([+ circOut: /*@__PURE__*/ k_([.55,0,1,.45]),- backIn: /*@__PURE__*/ A_([+ backIn: /*@__PURE__*/ k_([.31,.01,.66,-.59]),- backOut: /*@__PURE__*/ A_([+ backOut: /*@__PURE__*/ k_([.33,1.53,.69,@@ -17095,14 +17095,14 @@ var Gee = /* @__PURE__ */ O_(() => window.ScrollTimeline !== void 0, "scrollTime])};// node_modules/motion-dom/dist/es/animation/waapi/easing/map-easing.mjs-function M_(e, t) {- if (e) return typeof e == "function" ? k_() ? _g(e, t) : "ease-out" : /* @__PURE__ */ Xm(e) ? A_(e) : Array.isArray(e) ? e.map((e) => M_(e, t) || j_.easeOut) : j_[e];+function j_(e, t) {+ if (e) return typeof e == "function" ? O_() ? _g(e, t) : "ease-out" : /* @__PURE__ */ Xm(e) ? k_(e) : Array.isArray(e) ? e.map((e) => j_(e, t) || A_.easeOut) : A_[e];}// node_modules/motion-dom/dist/es/animation/waapi/start-waapi-animation.mjs-function Kee(e, t, n, { delay: r = 0, duration: i = 300, repeat: a = 0, repeatType: o = "loop", ease: s = "easeOut", times: c } = {}, l = void 0) {+function qee(e, t, n, { delay: r = 0, duration: i = 300, repeat: a = 0, repeatType: o = "loop", ease: s = "easeOut", times: c } = {}, l = void 0) {let u = { [t]: n };c && (u.offset = c);- let d = M_(s, i);+ let d = j_(s, i);Array.isArray(d) && (u.easing = d);let f = {delay: r,@@ -17115,27 +17115,27 @@ function Kee(e, t, n, { delay: r = 0, duration: i = 300, repeat: a = 0, repeatTyreturn l && (f.pseudoElement = l), e.animate(u, f);}// node_modules/motion-dom/dist/es/animation/generators/utils/is-generator.mjs-function N_(e) {+function M_(e) {return typeof e == "function" && "applyToOptions" in e;}// node_modules/motion-dom/dist/es/animation/waapi/utils/apply-generator.mjs-function qee({ type: e, ...t }) {- return N_(e) && k_() ? e.applyToOptions(t) : (t.duration ??= 300, t.ease ??= "easeOut", t);+function Jee({ type: e, ...t }) {+ return M_(e) && O_() ? e.applyToOptions(t) : (t.duration ??= 300, t.ease ??= "easeOut", t);}// node_modules/motion-dom/dist/es/animation/NativeAnimation.mjs-var P_ = class extends Kg {+var N_ = class extends Gg {constructor(e) {if (super(), this.finishedTime = null, this.isStopped = !1, this.manualStartTime = null, !e) return;let { element: t, name: n, keyframes: r, pseudoElement: i, allowFlatten: a = !1, finalKeyframe: o, onComplete: s } = e;this.isPseudoElement = !!i, this.allowFlatten = a, this.options = e;- let c = qee(e);- this.animation = Kee(t, n, r, c, i), c.autoplay === !1 && this.animation.pause(), this.animation.onfinish = () => {+ let c = Jee(e);+ this.animation = qee(t, n, r, c, i), c.autoplay === !1 && this.animation.pause(), this.animation.onfinish = () => {if (this.finishedTime = this.time, !i) {- let e = Vg(r, this.options, o, this.speed);- this.updateMotionValue?.(e), D_(t, n, e), this.animation.cancel();+ let e = Bg(r, this.options, o, this.speed);+ this.updateMotionValue?.(e), E_(t, n, e), this.animation.cancel();}s?.(), this.notifyFinished();- }, Gg(this, e, c);+ }, Wg(this, e, c);}play() {this.isStopped || (this.manualStartTime = null, this.animation.play(), this.state === "finished" && this.updateFinished());@@ -17189,22 +17189,22 @@ var P_ = class extends Kg {this.manualStartTime = this.animation.startTime = e;}attachTimeline({ timeline: e, onAttach: t, observe: n }) {- return this.allowFlatten && this.animation.effect?.updateTiming({ easing: "linear" }), this.animation.onfinish = null, e && Gee() ? (this.animation.timeline = e, t?.(this.animation), Em) : n(this);+ return this.allowFlatten && this.animation.effect?.updateTiming({ easing: "linear" }), this.animation.onfinish = null, e && Kee() ? (this.animation.timeline = e, t?.(this.animation), Em) : n(this);}-}, F_ = {+}, P_ = {anticipate: Vm,backInOut: Bm,circInOut: Wm};-function Jee(e) {- return e in F_;-}function Yee(e) {- typeof e.ease == "string" && Jee(e.ease) && (e.ease = F_[e.ease]);+ return e in P_;}-var Xee = class extends P_ {+function Xee(e) {+ typeof e.ease == "string" && Yee(e.ease) && (e.ease = P_[e.ease]);+}+var Zee = class extends N_ {constructor(e) {- Yee(e), Hg(e), super(e), e.startTime !== void 0 && e.autoplay !== !1 && (this.startTime = e.startTime), this.options = e;+ Xee(e), Vg(e), super(e), e.startTime !== void 0 && e.autoplay !== !1 && (this.startTime = e.startTime), this.options = e;}elapsed() {return this.state === "running" ? (rh.now() - this.startTime) * this.speed : this.time * 1e3;@@ -17212,7 +17212,7 @@ var Xee = class extends P_ {sample(e) {if (!this.sampler) {let { motionValue: e, onUpdate: t, onComplete: n, onPlay: r, onStop: i, element: a, ...o } = this.options;- this.sampler = new Jg({+ this.sampler = new qg({...o,autoplay: !1}), this.sampler.stop();@@ -17231,39 +17231,39 @@ var Xee = class extends P_ {return;}let { speed: i } = this, a = this.elapsed(), o = this.state === "running" && i ? bm(0, 10, a) : 0, s = this.sample(a);- n && r && D_(n, r, s), t.setWithVelocity(this.sample(a - o * Math.sign(i)), s, o / Math.abs(i || 1));+ n && r && E_(n, r, s), t.setWithVelocity(this.sample(a - o * Math.sign(i)), s, o / Math.abs(i || 1));}-}, I_ = (e, t) => t !== "zIndex" && !!(typeof e == "number" || Array.isArray(e) || typeof e == "string" && (Qh.test(e) || e === "0") && !e.startsWith("url("));+}, F_ = (e, t) => t !== "zIndex" && !!(typeof e == "number" || Array.isArray(e) || typeof e == "string" && (Qh.test(e) || e === "0") && !e.startsWith("url("));// node_modules/motion-dom/dist/es/animation/utils/can-animate.mjs-function Zee(e) {+function Qee(e) {let t = e[0];if (e.length === 1) return !0;for (let n = 0; n < e.length; n++) if (e[n] !== t) return !0;}-function Qee(e, t, n, r) {+function $ee(e, t, n, r) {let i = e[0];if (i === null) return !1;if (t === "display" || t === "visibility") return !0;- let a = e[e.length - 1], o = I_(i, t), s = I_(a, t);- return !o || !s ? !1 : Zee(e) || (n === "spring" || N_(n)) && r;+ let a = e[e.length - 1], o = F_(i, t), s = F_(a, t);+ return !o || !s ? !1 : Qee(e) || (n === "spring" || M_(n)) && r;}// node_modules/motion-dom/dist/es/animation/utils/make-animation-instant.mjs-function L_(e) {+function I_(e) {e.duration = 0, e.type = "keyframes";}// node_modules/motion-dom/dist/es/animation/waapi/utils/accelerated-values.mjs-var R_ = /* @__PURE__ */ new Set([+var L_ = /* @__PURE__ */ new Set(["opacity","clipPath","filter","transform"-]), $ee = /^(?:oklch|oklab|lab|lch|color|color-mix|light-dark)\(/;-function z_(e) {- for (let t = 0; t < e.length; t++) if (typeof e[t] == "string" && $ee.test(e[t])) return !0;+]), ete = /^(?:oklch|oklab|lab|lch|color|color-mix|light-dark)\(/;+function R_(e) {+ for (let t = 0; t < e.length; t++) if (typeof e[t] == "string" && ete.test(e[t])) return !0;return !1;}// node_modules/motion-dom/dist/es/animation/waapi/utils/needs-mixer.mjs-var B_ = ({ mixer: e, keyframes: t }) => e && typeof t[0] != "number" && t.some((n, r) => r && e(t[r - 1], n)), V_ = /* @__PURE__ */ new Set([+var z_ = ({ mixer: e, keyframes: t }) => e && typeof t[0] != "number" && t.some((n, r) => r && e(t[r - 1], n)), B_ = /* @__PURE__ */ new Set(["color","backgroundColor","outlineColor",@@ -17274,54 +17274,54 @@ var B_ = ({ mixer: e, keyframes: t }) => e && typeof t[0] != "number" && t.some("borderRightColor","borderBottomColor","borderLeftColor"-]), H_ = () => !xm.useManualTiming && Object.hasOwnProperty.call(Element.prototype, "animate");-function ete(e) {+]), V_ = () => !xm.useManualTiming && Object.hasOwnProperty.call(Element.prototype, "animate");+function tte(e) {let { motionValue: t, name: n, repeatDelay: r, repeatType: i, damping: a, type: o, keyframes: s } = e;- if (!n || !(R_.has(n) || V_.has(n))) return !1;+ if (!n || !(L_.has(n) || B_.has(n))) return !1;let c = t?.owner?.current;if (!(c instanceof HTMLElement) && !(c instanceof SVGElement)) return !1;let { onUpdate: l, transformTemplate: u } = t.owner.getProps();- return H_() && (R_.has(n) || V_.has(n) && z_(s)) && (n !== "transform" || !u) && !l && !r && i !== "mirror" && a !== 0 && o !== "inertia" && !B_(e);+ return V_() && (L_.has(n) || B_.has(n) && R_(s)) && (n !== "transform" || !u) && !l && !r && i !== "mirror" && a !== 0 && o !== "inertia" && !z_(e);}// node_modules/motion-dom/dist/es/value/types/utils/get-as-type.mjs-var U_ = (e, t) => t && typeof e == "number" ? t.transform(e) : e, tte = {+var H_ = (e, t) => t && typeof e == "number" ? t.transform(e) : e, nte = {x: "translateX",y: "translateY",z: "translateZ",transformPerspective: "perspective"-}, nte = f_.length, W_ = {}, G_ = (e, t, n = U_(t, Qg[e])) => (W_[e] || (W_[e] = (tte[e] || e) + "(")) + n + ")", K_ = (e, t) => (typeof t == "number" ? t : parseFloat(t)) === +!!e.startsWith("scale");-function rte(e, t, n) {+}, rte = d_.length, U_ = {}, W_ = (e, t, n = H_(t, Zg[e])) => (U_[e] || (U_[e] = (nte[e] || e) + "(")) + n + ")", G_ = (e, t) => (typeof t == "number" ? t : parseFloat(t)) === +!!e.startsWith("scale");+function ite(e, t, n) {let r = "";- for (let i = 0; i < nte; i++) {- let a = f_[i], o = e[a];+ for (let i = 0; i < rte; i++) {+ let a = d_[i], o = e[a];if (o === void 0) continue;- let s = n && (t[a] = U_(o, $g[a]));- K_(a, o) || (r += G_(a, o, s || void 0) + " ");+ let s = n && (t[a] = H_(o, Qg[a]));+ G_(a, o) || (r += W_(a, o, s || void 0) + " ");}let i = e.pathRotation;- return i && (r += G_("rotate", i)), r = r.trim(), n ? n(t, r) : r || "none";+ return i && (r += W_("rotate", i)), r = r.trim(), n ? n(t, r) : r || "none";}// node_modules/motion-dom/dist/es/animation/waapi/transforms/groups.mjs-var q_ = /* @__PURE__ */ new WeakMap(), ite = 200, J_ = .001, ate = .1, ote = .001, ste = 100, cte = (e) => /^(linear|ease(In|Out|InOut))$/.test(e), Y_ = (e, t) => Math.abs(e - t) <= J_, X_ = (e, t) => e - t, Z_ = (e, t, n) => Rg(Array(n + 1)).map((n) => ng(e, t, n)), Q_ = (e) => e.motionValue.owner, $_ = (e) => q_.get(e), ev = ({ state: e }) => e === "idle" || e === "finished", tv = (e, t) => e.latestValues ? e.latestValues[t] : e.getValue(t)?.get(), lte = ({ name: e, motionValue: t }) => e && f_.includes(e) && t?.owner?.current instanceof HTMLElement && H_() && k_();-function ute(e) {- let t = Q_(e), { onUpdate: n, transformTemplate: r } = t.getProps();- return !e.isHandoff && !n && !e.hasOnUpdate && !r && e.type !== "inertia" && (tv(t, "transform") || "none") === "none" && !tv(t, "pathRotation") && !t.projection?.isProjecting() && !B_(e);+var K_ = /* @__PURE__ */ new WeakMap(), ate = 200, q_ = .001, ote = .1, ste = .001, cte = 100, lte = (e) => /^(linear|ease(In|Out|InOut))$/.test(e), J_ = (e, t) => Math.abs(e - t) <= q_, Y_ = (e, t) => e - t, X_ = (e, t, n) => Lg(Array(n + 1)).map((n) => ng(e, t, n)), Z_ = (e) => e.motionValue.owner, Q_ = (e) => K_.get(e), $_ = ({ state: e }) => e === "idle" || e === "finished", ev = (e, t) => e.latestValues ? e.latestValues[t] : e.getValue(t)?.get(), ute = ({ name: e, motionValue: t }) => e && d_.includes(e) && t?.owner?.current instanceof HTMLElement && V_() && O_();+function dte(e) {+ let t = Z_(e), { onUpdate: n, transformTemplate: r } = t.getProps();+ return !e.isHandoff && !n && !e.hasOnUpdate && !r && e.type !== "inertia" && (ev(t, "transform") || "none") === "none" && !ev(t, "pathRotation") && !t.projection?.isProjecting() && !z_(e);}-var dte = class extends Jg {+var fte = class extends qg {constructor(e) {- let t = Q_(e).current, { driver: n = gg } = e, r, i = ute(e);+ let t = Z_(e).current, { driver: n = gg } = e, r, i = dte(e);e.driver = (e) => {let i = n(e);return {js: i,now: i.now,start: (e = !0) => {- let n = $_(t);+ let n = Q_(t);!n || n.isJS ? i.start(e) : n.schedule(!1, !e);},stop: () => {i.stop();- let e = $_(t);+ let e = Q_(t);e && !e.isFinishing && e.release(r);}};@@ -17332,7 +17332,7 @@ var dte = class extends Jg {};}get group() {- return $_(Q_(this.options).current);+ return Q_(Z_(this.options).current);}get js() {return this.driver?.js;@@ -17352,8 +17352,8 @@ var dte = class extends Jg {return this.isAccelerated() ? this.sampleAt(rh.now()) : void 0;}tween() {- let { keyframes: e, type: t, ease: n, times: r, repeat: i, delay: a = 0 } = this.options, o = /* @__PURE__ */ Xm(n) ? A_(n) : cte(n) && j_[n];- if (o && !i && !r && e.length === 2 && t === zg && this.holdTime === null) {+ let { keyframes: e, type: t, ease: n, times: r, repeat: i, delay: a = 0 } = this.options, o = /* @__PURE__ */ Xm(n) ? k_(n) : lte(n) && A_[n];+ if (o && !i && !r && e.length === 2 && t === Rg && this.holdTime === null) {let e = this.startTime + a / this.speed;return [e,@@ -17363,7 +17363,7 @@ var dte = class extends Jg {}}boundaries(e, t) {- let { startTime: n, speed: r, resolvedDuration: i, options: a } = this, { delay: o = 0, repeat: s = 0, repeatDelay: c = 0, repeatType: l, times: u, keyframes: d, type: f } = a, p = (f || zg) === zg ? u || Rg(d) : [0, 1], m = n + o / r, h = [];+ let { startTime: n, speed: r, resolvedDuration: i, options: a } = this, { delay: o = 0, repeat: s = 0, repeatDelay: c = 0, repeatType: l, times: u, keyframes: d, type: f } = a, p = (f || Rg) === Rg ? u || Lg(d) : [0, 1], m = n + o / r, h = [];if (this.holdTime !== null || !(i > 0)) return h;for (let n = Math.max(0, Math.floor((e - m) * r / i)); n <= s; n++) {let a = m + n * i / r;@@ -17383,7 +17383,7 @@ var dte = class extends Jg {this.options.motionValue.setWithVelocity(this.sampleAt(e - 10, !0), this.sampleAt(e, !0), 10);}play() {- this.isStopped || ((this.group || fte(Q_(this.options))).tracks.add(this), super.play());+ this.isStopped || ((this.group || pte(Z_(this.options))).tracks.add(this), super.play());}pause() {super.pause(), this.isAccelerated() && (this.sync(), this.group.schedule(!1));@@ -17403,13 +17403,13 @@ var dte = class extends Jg {return this.canAccelerate = !1, this.group?.demote(!0), super.attachTimeline(e);}};-function fte(e) {+function pte(e) {let t = e.current, n = /* @__PURE__ */ new Set(), r = /* @__PURE__ */ new Map(), i = {}, a = [], o = /* @__PURE__ */ new Map(), s = [], c = !1, l = !1, u = !1, d = !1, f = -Infinity, p = (e) => {for (let t of n) if (t.name === e) return !0;}, m = (t, n) => {let o = {};- for (let s of t === void 0 ? f_ : a) {- let a = r.get(s), c = t === void 0 ? tv(e, s) : a ? a.sampleAt(n > t && !a.timing()[1] ? n : t) : i[s];+ for (let s of t === void 0 ? d_ : a) {+ let a = r.get(s), c = t === void 0 ? ev(e, s) : a ? a.sampleAt(n > t && !a.timing()[1] ? n : t) : i[s];c !== void 0 && (o[s] = c);}return o;@@ -17417,7 +17417,7 @@ function fte(e) {let n = "";for (let r in e) {let i = e[r];- t && K_(r, i) || (n += G_(r, i) + " ");+ t && G_(r, i) || (n += W_(r, i) + " ");}return (t ? n.trim() : n) || "none";}, g = (e, t) => h(m(e, t)), _ = (e = m()) => {@@ -17441,32 +17441,32 @@ function fte(e) {}return r(t, n) > i / 2 ? [t, n] : [];}, S = (e, t, n, r) => {- let i = Math.min(ite, Math.max(2, Math.ceil((n - t) / 10)));+ let i = Math.min(ate, Math.max(2, Math.ceil((n - t) / 10)));if (r.length * 4 > i) return;- let a = Z_(t, n, i).concat(r).sort(X_), o = (e) => /* @__PURE__ */ Om(t, n, e), s, c;+ let a = X_(t, n, i).concat(r).sort(Y_), o = (e) => /* @__PURE__ */ Om(t, n, e), s, c;for (let n of e) {- let e = n.numberAt(t), r = a.map((t) => n.numberAt(t) - e), i = r[r.length - 1], o = r.some((e) => Math.abs(e) * J_ > Math.abs(i)) ? 0 : i, l = r.map((e) => o ? e / o : e);+ let e = n.numberAt(t), r = a.map((t) => n.numberAt(t) - e), i = r[r.length - 1], o = r.some((e) => Math.abs(e) * q_ > Math.abs(i)) ? 0 : i, l = r.map((e) => o ? e / o : e);if (o && !s) s = l, c = (t) => (n.numberAt(t) - e) / o;- else if (l.some((e, t) => !Y_(e, o && s[t]))) return;+ else if (l.some((e, t) => !J_(e, o && s[t]))) return;}- if (!s || s.every((e, t) => Y_(e, o(a[t])))) return "linear";- let l = [], u = (e, t = c(e)) => l.push(qg(t) + " " + qg(o(e) * 100) + "%");+ if (!s || s.every((e, t) => J_(e, o(a[t])))) return "linear";+ let l = [], u = (e, t = c(e)) => l.push(Kg(t) + " " + Kg(o(e) * 100) + "%");return s.forEach((e, t) => {t && Math.abs(e - s[t - 1]) > .2 && x(c, a[t - 1], a[t]).forEach((e) => u(e)), u(a[t], e);}), "linear(" + l + ")";}, C = (e, t, n, r) => {- let i = [t], a = (t, n) => e.every((e) => !(Math.abs(e.numberAt((t + n) / 2) - (e.numberAt(t) + e.numberAt(n)) / 2) > (e.name.startsWith("scale") ? ote : ate))), o = (t, n, r) => {+ let i = [t], a = (t, n) => e.every((e) => !(Math.abs(e.numberAt((t + n) / 2) - (e.numberAt(t) + e.numberAt(n)) / 2) > (e.name.startsWith("scale") ? ste : ote))), o = (t, n, r) => {if (n - t < 1 || a(t, n)) i.push(n);else if (r < 4) o(t, (t + n) / 2, r + 1), o((t + n) / 2, n, r + 1);else {for (let r of e) i.push(...x((e) => r.numberAt(e), t, n));i.push(n);}- }, s = Z_(t, n, Math.ceil((n - t) / 100));+ }, s = X_(t, n, Math.ceil((n - t) / 100));for (let e of r) s.push(e, Math.min(e + .01, n));let c = t;- for (let e of s.sort(X_)) e > c && o(c, e, 0), c = e;- return i.sort(X_);+ for (let e of s.sort(Y_)) e > c && o(c, e, 0), c = e;+ return i.sort(Y_);}, w = (e) => {let t;for (let n of e) {@@ -17505,10 +17505,10 @@ function fte(e) {d.push(e), c = Math.max(c, n);}}- i = {}, a = f_.filter((t) => {+ i = {}, a = d_.filter((t) => {if (r.has(t)) return !0;- let n = i[t] = tv(e, t);- return n !== void 0 && !K_(t, n);+ let n = i[t] = ev(e, t);+ return n !== void 0 && !G_(t, n);}), v(!1);let m = !l && w(d);try {@@ -17554,18 +17554,18 @@ function fte(e) {r && n.updatePlaybackRate && n.playState === "running" && Math.abs(Number(n.currentTime) - o) < 20 ? n.playbackRate !== r && n.updatePlaybackRate(r) : r ? (n.playbackRate = r, n.startTime = e - o / r) : (n.startTime = null, n.currentTime = o);}return !0;- }, O = () => !n.size && (u = !0, $_(t) === A && q_.delete(t), A.isJS || v(), !0), k = () => {+ }, O = () => !n.size && (u = !0, Q_(t) === A && K_.delete(t), A.isJS || v(), !0), k = () => {let t = rh.now();if (A.isJS || (A.isFinishing = !0, n.forEach((n) => {let [r, a] = n.timing();- n.state === "running" && n.speed > 0 && !a && r <= t + 1 && (n.complete(), i[n.name] = tv(e, n.name), o.has(n) || (c = !0));- }), A.isFinishing = !1), l = !1, u || (n.forEach((e) => ev(e) && n.delete(e)), O())) return;+ n.state === "running" && n.speed > 0 && !a && r <= t + 1 && (n.complete(), i[n.name] = ev(e, n.name), o.has(n) || (c = !0));+ }), A.isFinishing = !1), l = !1, u || (n.forEach((e) => $_(e) && n.delete(e)), O())) return;for (let e of n) if (!e.canAccelerate) return A.demote(!0);A.isJS && (A.isJS = !1, c = !0, n.forEach((e) => e.js?.stop()));let r = c, a = d;if (c = d = !1, r || !D(t)) {if (a) {- if (t - f < ste) return A.demote();+ if (t - f < cte) return A.demote();f = t;}if (!E(t)) return A.demote();@@ -17578,11 +17578,11 @@ function fte(e) {u || (c ||= e, d ||= !!t, l || (l = !0, eh.isProcessing ? pg.render(k, !1, !0) : queueMicrotask(k)));},release(e) {- ev(e) && n.delete(e), O() || A.schedule(!0);+ $_(e) && n.delete(e), O() || A.schedule(!0);},check() {if (!A.isJS) {- for (let t in i) if (tv(e, t) !== i[t] && !p(t)) return A.schedule(!0, !0);+ for (let t in i) if (ev(e, t) !== i[t] && !p(t)) return A.schedule(!0, !0);}},demote(e) {@@ -17591,40 +17591,40 @@ function fte(e) {}), A.isJS = !0, o = /* @__PURE__ */ new Map(), v(), n.forEach((e) => e.state === "running" && e.js?.start()), !0;}};- return q_.set(t, A), A;+ return K_.set(t, A), A;}// node_modules/motion-dom/dist/es/animation/AsyncMotionValueAnimation.mjs-var pte = class extends Kg {+var mte = class extends Gg {constructor(e) {super(), this.stop = () => {this._animation && (this._animation.stop(), this.stopTimeline?.()), this.keyframeResolver?.cancel();}, this.createdAt = rh.now();let { keyframes: t, name: n, motionValue: r, element: i } = e, a = e;a.autoplay ??= !0, a.delay ??= 0, a.type ??= "keyframes", a.repeat ??= 0, a.repeatDelay ??= 0, a.repeatType ??= "loop";- let o = i?.KeyframeResolver || T_;+ let o = i?.KeyframeResolver || w_;this.keyframeResolver = new o(t, (e, t, n) => this.onKeyframesResolved(e, t, a, !n), n, r, i), this.keyframeResolver?.scheduleResolve();}onKeyframesResolved(e, t, n, r) {this.keyframeResolver = void 0;let { name: i, type: a, velocity: o, delay: s, isHandoff: c, onUpdate: l } = n;this.resolvedAt = rh.now();- let u = Qee(e, i, a, o);- u || ((xm.instantAnimations || !s) && l?.(Vg(e, n, t)), e[0] = e[e.length - 1], L_(n), n.repeat = 0);+ let u = $ee(e, i, a, o);+ u || ((xm.instantAnimations || !s) && l?.(Bg(e, n, t)), e[0] = e[e.length - 1], I_(n), n.repeat = 0);let { onComplete: d } = n;n.finalKeyframe = t, n.keyframes = e, n.onComplete = () => {d?.(), this.notifyFinished();};- let f = u && !c && ete(n), p = !f && lte(n);- r && (f || p || this.resolvedAt !== this.createdAt) && (n.startTime ??= Ug(this.createdAt, this.resolvedAt));+ let f = u && !c && tte(n), p = !f && ute(n);+ r && (f || p || this.resolvedAt !== this.createdAt) && (n.startTime ??= Hg(this.createdAt, this.resolvedAt));let m;if (f) {n.element = n.motionValue?.owner?.current;try {- m = new Xee(n);+ m = new Zee(n);} catch {- m = new Jg(n);+ m = new qg(n);}- } else m = p ? new dte(n) : new Jg(n);+ } else m = p ? new fte(n) : new qg(n);this.pendingTimeline &&= (this.stopTimeline = m.attachTimeline(this.pendingTimeline), void 0), this._animation = m;}get finished() {@@ -17637,7 +17637,7 @@ var pte = class extends Kg {return this._animation?.liveValue?.();}get animation() {- return this._animation || (this.keyframeResolver?.resume(), Hee()), this._animation;+ return this._animation || (this.keyframeResolver?.resume(), Uee()), this._animation;}get duration() {return this.animation.duration;@@ -17678,7 +17678,7 @@ var pte = class extends Kg {cancel() {this._animation?.cancel(), this.keyframeResolver?.cancel();}-}, mte = class {+}, hte = class {constructor(e) {this.stop = () => this.runAll("stop"), this.animations = e.filter(Boolean);}@@ -17718,10 +17718,10 @@ var pte = class extends Kg {return this.getAll("startTime");}get duration() {- return nv(this.animations, "duration");+ return tv(this.animations, "duration");}get iterationDuration() {- return nv(this.animations, "iterationDuration");+ return tv(this.animations, "iterationDuration");}runAll(e) {this.animations.forEach((t) => t[e]());@@ -17739,7 +17739,7 @@ var pte = class extends Kg {this.runAll("complete");}};-function nv(e, t) {+function tv(e, t) {let n = 0;for (let r = 0; r < e.length; r++) {let i = e[r][t];@@ -17748,22 +17748,22 @@ function nv(e, t) {return n;}// node_modules/motion-dom/dist/es/animation/GroupAnimationWithThen.mjs-var rv = class extends mte {+var nv = class extends hte {then(e, t) {return this.finished.finally(e).then(() => {});}-}, iv = /* @__PURE__ */ new WeakMap(), hte = (e, t = "") => `${e}:${t}`;-function gte(e) {- let t = iv.get(e);- return t || (t = /* @__PURE__ */ new Map(), iv.set(e, t)), t;+}, rv = /* @__PURE__ */ new WeakMap(), gte = (e, t = "") => `${e}:${t}`;+function _te(e) {+ let t = rv.get(e);+ return t || (t = /* @__PURE__ */ new Map(), rv.set(e, t)), t;}// node_modules/motion-dom/dist/es/animation/utils/calc-child-stagger.mjs-function av(e, t, n, r = 0, i = 1) {+function iv(e, t, n, r = 0, i = 1) {let a = Array.from(e).sort((e, t) => e.sortNodePosition(t)).indexOf(t), o = e.size, s = (o - 1) * r;return typeof n == "function" ? n(a, o) : i === 1 ? a * r : s - a * r;}// node_modules/motion-dom/dist/es/value/index.mjs-var ov = 30, _te = (e) => !isNaN(parseFloat(e)), sv = { current: void 0 }, cv = class {+var av = 30, vte = (e) => !isNaN(parseFloat(e)), ov = { current: void 0 }, sv = class {constructor(e, t = {}) {this.canTrackVelocity = null, this.events = {}, this.updateAndNotify = (e) => {let t = rh.now();@@ -17771,7 +17771,7 @@ var ov = 30, _te = (e) => !isNaN(parseFloat(e)), sv = { current: void 0 }, cv =}, this.hasAnimated = !1, this.setCurrent(e), this.owner = t.owner;}setCurrent(e) {- this.current = e, this.updatedAt = rh.now(), this.canTrackVelocity === null && e !== void 0 && (this.canTrackVelocity = _te(this.current));+ this.current = e, this.updatedAt = rh.now(), this.canTrackVelocity === null && e !== void 0 && (this.canTrackVelocity = vte(this.current));}setPrevFrameValue(e = this.current) {this.prevFrameValue = e, this.prevUpdatedAt = this.updatedAt;@@ -17821,7 +17821,7 @@ var ov = 30, _te = (e) => !isNaN(parseFloat(e)), sv = { current: void 0 }, cv =this.dependents?.delete(e);}get() {- sv.current?.push(this);+ ov.current?.push(this);let e = this.animation?.liveValue?.();return e === void 0 ? this.current : e;}@@ -17833,8 +17833,8 @@ var ov = 30, _te = (e) => !isNaN(parseFloat(e)), sv = { current: void 0 }, cv =}getVelocity() {let e = rh.now();- if (!this.canTrackVelocity || this.prevFrameValue === void 0 || e - this.updatedAt > ov) return 0;- let t = Math.min(this.updatedAt - this.prevUpdatedAt, ov);+ if (!this.canTrackVelocity || this.prevFrameValue === void 0 || e - this.updatedAt > av) return 0;+ let t = Math.min(this.updatedAt - this.prevUpdatedAt, av);return /* @__PURE__ */ Mm(parseFloat(this.current) - parseFloat(this.prevFrameValue), t);}start(e) {@@ -17856,11 +17856,11 @@ var ov = 30, _te = (e) => !isNaN(parseFloat(e)), sv = { current: void 0 }, cv =this.dependents?.clear(), this.events.destroy?.notify(), this.clearListeners(), this.stop(), this.stopPassiveEffect?.();}};-function lv(e, t) {- return new cv(e, t);+function cv(e, t) {+ return new sv(e, t);}// node_modules/motion-dom/dist/es/animation/utils/resolve-transition.mjs-function uv(e, t) {+function lv(e, t) {if (e?.inherit && t) {let { inherit: n, ...r } = e;return {@@ -17871,25 +17871,25 @@ function uv(e, t) {return e;}// node_modules/motion-dom/dist/es/animation/utils/get-value-transition.mjs-function dv(e, t) {+function uv(e, t) {let n = e?.[t] ?? e?.default ?? e;- return n === e ? n : uv(n, e);+ return n === e ? n : lv(n, e);}// node_modules/motion-dom/dist/es/animation/utils/default-transitions.mjs-var vte = {+var yte = {type: "spring",stiffness: 500,damping: 25,restSpeed: 10-}, yte = (e) => ({+}, bte = (e) => ({type: "spring",stiffness: 550,damping: e === 0 ? 2 * Math.sqrt(550) : 30,restSpeed: 10-}), bte = {+}), xte = {type: "keyframes",duration: .8-}, xte = {+}, Ste = {type: "keyframes",ease: [.25,@@ -17898,7 +17898,7 @@ var vte = {1],duration: .3-}, Ste = (e, { keyframes: t }) => t.length > 2 ? bte : p_.has(e) ? e.startsWith("scale") ? yte(t[1]) : vte : xte, Cte = /* @__PURE__ */ new Set([+}, Cte = (e, { keyframes: t }) => t.length > 2 ? xte : f_.has(e) ? e.startsWith("scale") ? bte(t[1]) : yte : Ste, wte = /* @__PURE__ */ new Set(["when","delay","delayChildren",@@ -17912,13 +17912,13 @@ var vte = {"out","mixer"]);-function wte(e) {- for (let t in e) if (!Cte.has(t)) return !0;+function Tte(e) {+ for (let t in e) if (!wte.has(t)) return !0;return !1;}// node_modules/motion-dom/dist/es/animation/interfaces/motion-value.mjs-var fv = (e, t, n, r = {}, i, a) => (o) => {- let s = dv(r, e) || {}, c = s.delay || r.delay || 0, { elapsed: l = 0 } = r;+var dv = (e, t, n, r = {}, i, a) => (o) => {+ let s = uv(r, e) || {}, c = s.delay || r.delay || 0, { elapsed: l = 0 } = r;l -= /* @__PURE__ */ Am(c);let u = {keyframes: Array.isArray(n) ? n : [null, n],@@ -17937,10 +17937,10 @@ var fv = (e, t, n, r = {}, i, a) => (o) => {element: a ? void 0 : i,hasOnUpdate: !!s.onUpdate};- wte(s) || Object.assign(u, Ste(e, u)), u.duration &&= /* @__PURE__ */ Am(u.duration), u.repeatDelay &&= /* @__PURE__ */ Am(u.repeatDelay), u.from !== void 0 && (u.keyframes[0] = u.from);+ Tte(s) || Object.assign(u, Cte(e, u)), u.duration &&= /* @__PURE__ */ Am(u.duration), u.repeatDelay &&= /* @__PURE__ */ Am(u.repeatDelay), u.from !== void 0 && (u.keyframes[0] = u.from);let d = !1;- if ((u.type === !1 || u.duration === 0 && !u.repeatDelay) && (L_(u), u.delay === 0 && (d = !0)), (xm.instantAnimations || xm.skipAnimations || i?.shouldSkipAnimations || s.skipAnimations) && (d = !0, L_(u), u.delay = 0), u.allowFlatten = !s.type && !s.ease, d && !a && t.get() !== void 0) {- let e = Vg(u.keyframes, s);+ if ((u.type === !1 || u.duration === 0 && !u.repeatDelay) && (I_(u), u.delay === 0 && (d = !0)), (xm.instantAnimations || xm.skipAnimations || i?.shouldSkipAnimations || s.skipAnimations) && (d = !0, I_(u), u.delay = 0), u.allowFlatten = !s.type && !s.ease, d && !a && t.get() !== void 0) {+ let e = Bg(u.keyframes, s);if (e !== void 0) {pg.update(() => {u.onUpdate(e), u.onComplete();@@ -17948,103 +17948,103 @@ var fv = (e, t, n, r = {}, i, a) => (o) => {return;}}- return s.isSync ? new Jg(u) : new pte(u);-}, Tte = /^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;-function Ete(e) {- let t = Tte.exec(e);+ return s.isSync ? new qg(u) : new mte(u);+}, Ete = /^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;+function Dte(e) {+ let t = Ete.exec(e);if (!t) return [,];let [, n, r, i] = t;return [`--${n ?? r}`, i];}-function pv(e, t, n = 1) {- let [r, i] = Ete(e);+function fv(e, t, n = 1) {+ let [r, i] = Dte(e);if (!r) return;let a = window.getComputedStyle(t).getPropertyValue(r);if (a) {let e = a.trim();return Sm(e) ? parseFloat(e) : e;}- return ch(i) ? pv(i, t, n + 1) : i;+ return ch(i) ? fv(i, t, n + 1) : i;}// node_modules/motion-dom/dist/es/render/utils/resolve-variants.mjs-function Dte(e) {+function Ote(e) {let t = [{}, {}];return e?.values.forEach((e, n) => {t[0][n] = e.get(), t[1][n] = e.getVelocity();}), t;}-function mv(e, t, n, r) {- let i = (t) => typeof t == "function" ? t(n === void 0 ? e.custom : n, ...Dte(r)) : t;+function pv(e, t, n, r) {+ let i = (t) => typeof t == "function" ? t(n === void 0 ? e.custom : n, ...Ote(r)) : t;return t = i(t), typeof t == "string" && (t = e.variants && e.variants[t]), i(t);}// node_modules/motion-dom/dist/es/render/utils/resolve-dynamic-variants.mjs-function hv(e, t, n) {- return mv(e.getProps(), t, n, e);+function mv(e, t, n) {+ return pv(e.getProps(), t, n, e);}-var gv = (e, t) => t === "exit" ? e.presenceContext?.custom : void 0, _v = /* @__PURE__ */ new Set([+var hv = (e, t) => t === "exit" ? e.presenceContext?.custom : void 0, gv = /* @__PURE__ */ new Set(["width","height","top","left","right","bottom",- ...f_-]), Ote = (e) => Array.isArray(e);+ ...d_+]), kte = (e) => Array.isArray(e);// node_modules/motion-dom/dist/es/render/utils/setters.mjs-function kte(e, t, n) {- e.hasValue(t) ? e.getValue(t).set(n) : e.addValue(t, lv(n));+function Ate(e, t, n) {+ e.hasValue(t) ? e.getValue(t).set(n) : e.addValue(t, cv(n));}-function Ate(e) {- return Ote(e) ? e[e.length - 1] || 0 : e;+function jte(e) {+ return kte(e) ? e[e.length - 1] || 0 : e;}-function jte(e, t) {- let { transitionEnd: n = {}, transition: r = {}, ...i } = hv(e, t) || {};+function Mte(e, t) {+ let { transitionEnd: n = {}, transition: r = {}, ...i } = mv(e, t) || {};i = {...i,...n};- for (let t in i) kte(e, t, Ate(i[t]));+ for (let t in i) Ate(e, t, jte(i[t]));}// node_modules/motion-dom/dist/es/value/utils/is-motion-value.mjs-var vv = (e) => !!(e && e.getVelocity);+var _v = (e) => !!(e && e.getVelocity);// node_modules/motion-dom/dist/es/value/will-change/is.mjs-function Mte(e) {- return !!(vv(e) && e.add);+function Nte(e) {+ return !!(_v(e) && e.add);}// node_modules/motion-dom/dist/es/value/will-change/add-will-change.mjs-function yv(e, t) {+function vv(e, t) {let n = e.getValue("willChange");- if (Mte(n)) return n.add(t);+ if (Nte(n)) return n.add(t);if (!n && xm.WillChange) {let n = new xm.WillChange("auto");e.addValue("willChange", n), n.add(t);}}// node_modules/motion-dom/dist/es/animation/optimized-appear/data-id.mjs-var bv = "data-framer-appear-id";+var yv = "data-framer-appear-id";// node_modules/motion-dom/dist/es/animation/optimized-appear/get-appear-id.mjs-function xv(e) {- return e.props[bv];+function bv(e) {+ return e.props[yv];}// node_modules/motion-dom/dist/es/animation/interfaces/visual-element-target.mjs-var Nte = typeof window < "u";-function Pte({ protectedKeys: e, needsAnimating: t }, n) {+var Pte = typeof window < "u";+function Fte({ protectedKeys: e, needsAnimating: t }, n) {let r = n in e && !t[n];return t[n] = !1, r;}-function Sv(e, t, { delay: n = 0, transitionOverride: r, type: i } = {}) {+function xv(e, t, { delay: n = 0, transitionOverride: r, type: i } = {}) {let { transition: a, transitionEnd: o, ...s } = t, c = e.getDefaultTransition();- a = a ? uv(a, c) : c;+ a = a ? lv(a, c) : c;let l = a?.reduceMotion, u = a?.skipAnimations;r && (a = r);let d = [], f = i && e.animationState?.getState()[i], p = a?.path;p && (p.animateValues ? p.animateValues((t) => e.getValue(t, e.latestValues[t] ?? 0), s, a, n, d) : p.animateVisualElement?.(e, s, a, n, d));for (let t in s) {let r = e.getValue(t, e.latestValues[t] ?? null), i = s[t];- if (i === void 0 || f && Pte(f, t)) continue;+ if (i === void 0 || f && Fte(f, t)) continue;let o = {delay: n,- ...dv(f?.out[t] || a || {}, t)+ ...uv(f?.out[t] || a || {}, t)};u && (o.skipAnimations = !0);let c = r.get();@@ -18053,79 +18053,79 @@ function Sv(e, t, { delay: n = 0, transitionOverride: r, type: i } = {}) {continue;}let p = !1;- if (Nte && window.MotionHandoffAnimation) {- let n = xv(e);+ if (Pte && window.MotionHandoffAnimation) {+ let n = bv(e);if (n) {let e = window.MotionHandoffAnimation(n, t, pg);e !== null && (o.startTime = e, p = !0);}}- yv(e, t);+ vv(e, t);let m = l ?? e.shouldReduceMotion;- r.start(fv(t, r, i, m && _v.has(t) ? { type: !1 } : o, e, p));+ r.start(dv(t, r, i, m && gv.has(t) ? { type: !1 } : o, e, p));let h = r.animation;h && d.push(h);}if (o) {let t = () => pg.update(() => {- o && jte(e, o);+ o && Mte(e, o);});d.length ? Promise.all(d).then(t) : t();}return d;}// node_modules/motion-dom/dist/es/animation/interfaces/visual-element-variant.mjs-function Cv(e, t, n = {}) {- let r = hv(e, t, gv(e, n.type)), i = n.transitionOverride || (r?.transition ?? (e.getDefaultTransition() || {})), a = () => Promise.all(r ? Sv(e, r, n) : []), o = (r = 0) => {+function Sv(e, t, n = {}) {+ let r = mv(e, t, hv(e, n.type)), i = n.transitionOverride || (r?.transition ?? (e.getDefaultTransition() || {})), a = () => Promise.all(r ? xv(e, r, n) : []), o = (r = 0) => {let { variantChildren: a } = e, { delayChildren: o = 0, staggerChildren: s, staggerDirection: c } = i, l = [];return a?.forEach((e) => {- e.notify("AnimationStart", t), l.push(Cv(e, t, {+ e.notify("AnimationStart", t), l.push(Sv(e, t, {...n,- delay: r + (typeof o == "function" ? 0 : o) + av(a, e, o, s, c)+ delay: r + (typeof o == "function" ? 0 : o) + iv(a, e, o, s, c)}).then(() => e.notify("AnimationComplete", t)));}), Promise.all(l);}, { when: s } = i;return s ? s === "beforeChildren" ? a().then(() => o()) : o().then(a) : Promise.all([a(), o(n.delay)]);}// node_modules/motion-dom/dist/es/animation/interfaces/visual-element.mjs-function Fte(e, t, n = {}) {- return e.notify("AnimationStart", t), (Array.isArray(t) ? Promise.all(t.map((t) => Cv(e, t, n))) : typeof t == "string" ? Cv(e, t, n) : Promise.all(Sv(e, hv(e, t, n.custom), n))).then(() => {+function Ite(e, t, n = {}) {+ return e.notify("AnimationStart", t), (Array.isArray(t) ? Promise.all(t.map((t) => Sv(e, t, n))) : typeof t == "string" ? Sv(e, t, n) : Promise.all(xv(e, mv(e, t, n.custom), n))).then(() => {e.notify("AnimationComplete", t);});}// node_modules/motion-dom/dist/es/value/types/auto.mjs-var Ite = {+var Lte = {test: (e) => e === "auto",parse: (e) => e-}, Lte = (e) => (t) => t.test(e), Rte = [+}, Rte = (e) => (t) => t.test(e), zte = [dh,Oh,Dh,Eh,Ah,kh,- Ite-], wv = (e) => Rte.find(Lte(e));+ Lte+], Cv = (e) => zte.find(Rte(e));// node_modules/motion-dom/dist/es/animation/keyframes/utils/is-none.mjs-function zte(e) {+function Bte(e) {return typeof e == "number" ? e === 0 : e === null || e === "none" || e === "0" || wm(e);}// node_modules/motion-dom/dist/es/animation/keyframes/utils/make-none-animatable.mjs-var Bte = /* @__PURE__ */ new Set([+var Vte = /* @__PURE__ */ new Set(["auto","none","0"]);-function Vte(e, t, n) {+function Hte(e, t, n) {let r = 0, i;for (; r < e.length && !i;) {let t = e[r];- typeof t == "string" && !Bte.has(t) && Wh(t) && (i = e[r]), r++;+ typeof t == "string" && !Vte.has(t) && Wh(t) && (i = e[r]), r++;}- if (i && n) for (let r of t) e[r] !== i && (e[r] = t_(n, i));+ if (i && n) for (let r of t) e[r] !== i && (e[r] = e_(n, i));}// node_modules/motion-dom/dist/es/animation/keyframes/DOMKeyframesResolver.mjs-var Tv = class extends T_ {+var wv = class extends w_ {constructor() {super(...arguments), this.isAsync = !0;}@@ -18146,31 +18146,31 @@ var Tv = class extends T_ {for (let n = 0; n < e.length; n++) {let r = e[n];if (typeof r == "string" && (r = r.trim(), ch(r))) {- let i = pv(r, t.current);+ let i = fv(r, t.current);i !== void 0 && (e[n] = i), n === e.length - 1 && (this.finalKeyframe = r);}}- if (this.resolveNoneKeyframes(), !_v.has(n) || e.length !== 2) return;+ if (this.resolveNoneKeyframes(), !gv.has(n) || e.length !== 2) return;let [r, i] = e;if (typeof r == "number" && typeof i == "number") return;- let a = wv(r), o = wv(i);- if (uh(r) !== uh(i) && v_[n]) this.needsMeasurement = !0;+ let a = Cv(r), o = Cv(i);+ if (uh(r) !== uh(i) && __[n]) this.needsMeasurement = !0;else if (a !== o) {- if (m_(a) && m_(o)) for (let t = 0; t < e.length; t++) {+ if (p_(a) && p_(o)) for (let t = 0; t < e.length; t++) {let n = e[t];typeof n == "string" && (e[t] = parseFloat(n));}- else v_[n] && (this.needsMeasurement = !0);+ else __[n] && (this.needsMeasurement = !0);}}resolveNoneKeyframes() {let { unresolvedKeyframes: e, name: t } = this, n = [];- for (let t = 0; t < e.length; t++) (e[t] === null || zte(e[t])) && n.push(t);- n.length && Vte(e, n, t);+ for (let t = 0; t < e.length; t++) (e[t] === null || Bte(e[t])) && n.push(t);+ n.length && Hte(e, n, t);}measure() {let { element: e, name: t } = this;- return v_[t](window.getComputedStyle(e.current), () => e.measureViewportBox());+ return __[t](window.getComputedStyle(e.current), () => e.measureViewportBox());}measureInitialState() {let { element: e, unresolvedKeyframes: t, name: n } = this;@@ -18186,19 +18186,19 @@ var Tv = class extends T_ {let n = t.length - 1, r = t[n];t[n] = this.measure(), r !== null && this.finalKeyframe === void 0 && (this.finalKeyframe = r), this.resolveNoneKeyframes();}-}, Ev = [+}, Tv = ["borderTopLeftRadius","borderTopRightRadius","borderBottomRightRadius","borderBottomLeftRadius"-], Hte = /* @__PURE__ */ new Set([+], Ute = /* @__PURE__ */ new Set(["borderWidth","borderTopWidth","borderRightWidth","borderBottomWidth","borderLeftWidth","borderRadius",- ...Ev,+ ...Tv,"width","maxWidth","height",@@ -18241,21 +18241,21 @@ var Tv = class extends T_ {"backgroundPositionY"]);// node_modules/motion-dom/dist/es/animation/keyframes/utils/apply-px-defaults.mjs-function Ute(e, t) {- for (let n = 0; n < e.length; n++) typeof e[n] == "number" && Hte.has(t) && (e[n] = e[n] + "px");+function Wte(e, t) {+ for (let n = 0; n < e.length; n++) typeof e[n] == "number" && Ute.has(t) && (e[n] = e[n] + "px");}// node_modules/motion-dom/dist/es/animation/animate/effects.mjs-var Dv = [];-function Wte(e) {- Ov(e), Dv.unshift(e);+var Ev = [];+function Gte(e) {+ Dv(e), Ev.unshift(e);}-function Ov(e) {- ym(Dv, e);+function Dv(e) {+ ym(Ev, e);}-function Gte(e) {- return Dv.find((t) => t.test(e));+function Kte(e) {+ return Ev.find((t) => t.test(e));}-function kv(e, t, n = {}, r) {+function Ov(e, t, n = {}, r) {let i = [], { velocity: a, path: o } = n, s = n.reduceMotion ?? r?.shouldReduceMotion;o?.animateValues && r && (t = { ...t }, o.animateValues(e, t, n, 0, i));for (let o in t) {@@ -18263,7 +18263,7 @@ function kv(e, t, n = {}, r) {let c = t[o];if (c === void 0) continue;let l = e(o), u = l.get();- u !== void 0 && !l.isAnimating() && !Array.isArray(c) && c === u && !a ? pg.update(() => l.set(c)) : (l.start(fv(o, l, c, s && _v.has(o) ? { type: !1 } : n, r)), l.animation && i.push(l.animation));+ u !== void 0 && !l.isAnimating() && !Array.isArray(c) && c === u && !a ? pg.update(() => l.set(c)) : (l.start(dv(o, l, c, s && gv.has(o) ? { type: !1 } : n, r)), l.animation && i.push(l.animation));}let { transitionEnd: c } = t;if (c) {@@ -18274,50 +18274,50 @@ function kv(e, t, n = {}, r) {}return i;}-function Av(e, t, n, r, i) {- return kv((r) => {+function kv(e, t, n, r, i) {+ return Ov((r) => {let a = e.get(t, r);if (!a) {let o;if (!i) {let i = n[r];- o = Kte(i) ?? e.read(t, r, i);+ o = qte(i) ?? e.read(t, r, i);}- a = lv(o, { owner: i }), e(t, { [r]: a });+ a = cv(o, { owner: i }), e(t, { [r]: a });}return a;}, n, r, i);}-function Kte(e) {+function qte(e) {let t = Array.isArray(e) ? e[0] : void 0;return t === null ? void 0 : t;}// node_modules/motion-dom/dist/es/utils/is-html-element.mjs-function jv(e) {+function Av(e) {return Cm(e) && "offsetHeight" in e && !("ownerSVGElement" in e);}// node_modules/motion-dom/dist/es/utils/is-svg-element.mjs-function Mv(e) {+function jv(e) {return Cm(e) && "ownerSVGElement" in e;}// node_modules/motion-dom/dist/es/scope/active.mjs-var Nv = {};-function Pv(e) {- return Nv.current?.add(e), e;+var Mv = {};+function Nv(e) {+ return Mv.current?.add(e), e;}-var Fv = (e) => Nv.current ? Nv.current.bind(e) : e;+var Pv = (e) => Mv.current ? Mv.current.bind(e) : e;// node_modules/motion-dom/dist/es/utils/resolve-elements.mjs-function Iv(e, t, n) {+function Fv(e, t, n) {if (e == null) return [];if (e instanceof EventTarget) return [e];if (typeof e == "string") {- let r = t ? t.current : Nv.current?.root || document, i = n?.[e] ?? r.querySelectorAll(e);+ let r = t ? t.current : Mv.current?.root || document, i = n?.[e] ?? r.querySelectorAll(e);return i ? Array.from(i) : [];}return Array.from(e).filter((e) => e != null);}// node_modules/motion-dom/dist/es/effects/MotionValueState.mjs-var qte = class {+var Jte = class {constructor(e = pg.render) {this.step = e, this.values = /* @__PURE__ */ new Map(), this.pending = [], this.numPending = 0, this.flush = () => {let { pending: e, numPending: t } = this;@@ -18361,10 +18361,10 @@ var qte = class {}};// node_modules/motion-dom/dist/es/effects/utils/create-effect.mjs-function Lv(e, { step: t, ...n } = {}) {+function Iv(e, { step: t, ...n } = {}) {let r = /* @__PURE__ */ new WeakMap();return Object.assign((n, i) => {- let a = r.get(n) ?? new qte(t);+ let a = r.get(n) ?? new Jte(t);r.set(n, a);let o = [];for (let t in i) {@@ -18381,83 +18381,83 @@ function Lv(e, { step: t, ...n } = {}) {});}// node_modules/motion-dom/dist/es/effects/style/transform.mjs-function Jte(e) {+function Yte(e) {let t = "", { transformKeys: n = [], transformValues: r = {} } = e;for (let e = 0; e < n.length; e++) {let i = n[e], a = r[i].getCurrent();- a !== void 0 && (K_(i, a) || (t += (t && " ") + G_(i, a)));+ a !== void 0 && (G_(i, a) || (t += (t && " ") + W_(i, a)));}let i = e.get("pathRotation")?.get();- return i && (t += (t && " ") + G_("rotate", i)), t || "none";+ return i && (t += (t && " ") + W_("rotate", i)), t || "none";}// node_modules/motion-dom/dist/es/effects/style/index.mjs-var Rv = /* @__PURE__ */ new Set([+var Lv = /* @__PURE__ */ new Set(["originX","originY","originZ"-]), zv = (e, t) => U_(e.get(t)?.get(), $g[t]), Bv = (e, t, n, r) => {+]), Rv = (e, t) => H_(e.get(t)?.get(), Qg[t]), zv = (e, t, n, r) => {let i, a;- if (p_.has(n)) {+ if (f_.has(n)) {if (n !== "pathRotation") {let e = t.transformKeys ??= [];- (t.transformValues ??= {})[n] = r, e.includes(n) || (e.push(n), e.sort((e, t) => f_.indexOf(e) - f_.indexOf(t)));+ (t.transformValues ??= {})[n] = r, e.includes(n) || (e.push(n), e.sort((e, t) => d_.indexOf(e) - d_.indexOf(t)));}- t.get("transform") || (!jv(e) && !t.get("transformBox") && Bv(e, t, "transformBox", new cv("fill-box")), t.set("transform", new cv("none"), () => {- q_.get(e)?.check(), e.style.transform = Jte(t);+ t.get("transform") || (!Av(e) && !t.get("transformBox") && zv(e, t, "transformBox", new sv("fill-box")), t.set("transform", new sv("none"), () => {+ K_.get(e)?.check(), e.style.transform = Yte(t);})), a = t.get("transform");- } else Rv.has(n) ? (t.get("transformOrigin") || t.set("transformOrigin", new cv(""), () => {- let n = zv(t, "originX") ?? "50%", r = zv(t, "originY") ?? "50%", i = zv(t, "originZ") ?? 0;+ } else Lv.has(n) ? (t.get("transformOrigin") || t.set("transformOrigin", new sv(""), () => {+ let n = Rv(t, "originX") ?? "50%", r = Rv(t, "originY") ?? "50%", i = Rv(t, "originZ") ?? 0;e.style.transformOrigin = `${n} ${r} ${i}`;- }), a = t.get("transformOrigin")) : i = E_(n) ? () => {+ }), a = t.get("transformOrigin")) : i = T_(n) ? () => {e.style.setProperty(n, r.getCurrent());} : () => {- e.style[n] = U_(r.getCurrent(), $g[n]);+ e.style[n] = H_(r.getCurrent(), Qg[n]);};return t.set(n, r, i, a);-}, Yte = (e) => jv(e) || Mv(e), Vv = (e, t) => {- if (p_.has(t)) return d_(e, t);- let n = getComputedStyle(e), r = E_(t) ? n.getPropertyValue(t) : n[t];+}, Xte = (e) => Av(e) || jv(e), Bv = (e, t) => {+ if (f_.has(t)) return u_(e, t);+ let n = getComputedStyle(e), r = T_(t) ? n.getPropertyValue(t) : n[t];return typeof r == "string" && r.trim() || 0;-}, Xte = /*@__PURE__*/ Lv(Bv, {- test: Yte,- read: Vv+}, Zte = /*@__PURE__*/ Iv(zv, {+ test: Xte,+ read: Bv});// node_modules/motion-dom/dist/es/render/dom/utils/camel-to-dash.mjs-function Hv(e) {+function Vv(e) {return e.replace(/([A-Z])/g, (e) => `-${e.toLowerCase()}`);}// node_modules/motion-dom/dist/es/render/html/utils/build-styles.mjs-function Uv(e, t, n) {+function Hv(e, t, n) {let { style: r, vars: i, transformOrigin: a } = e, o = !1, s = !1;for (let e in t) {let n = t[e];- if (p_.has(e)) o = !0;+ if (f_.has(e)) o = !0;else if (oh(e)) i[e] = n;else {- let t = U_(n, $g[e]);+ let t = H_(n, Qg[e]);e.startsWith("origin") ? (s = !0, a[e] = t) : r[e] = t;}}- if (t.transform || (o || n ? r.transform = rte(t, e.transform, n) : r.transform &&= "none"), s) {+ if (t.transform || (o || n ? r.transform = ite(t, e.transform, n) : r.transform &&= "none"), s) {let { originX: e = "50%", originY: t = "50%", originZ: n = 0 } = a;r.transformOrigin = `${e} ${t} ${n}`;}}// node_modules/motion-dom/dist/es/render/svg/utils/path.mjs-var Zte = {+var Qte = {offset: "stroke-dashoffset",array: "stroke-dasharray"-}, Qte = {+}, $te = {offset: "strokeDashoffset",array: "strokeDasharray"};-function $te(e, t, n = 1, r = 0, i = !0) {+function ene(e, t, n = 1, r = 0, i = !0) {e.pathLength = 1;- let a = i ? Zte : Qte;+ let a = i ? Qte : $te;e[a.offset] = `${-r}`, e[a.array] = `${t} ${n}`;}// node_modules/motion-dom/dist/es/render/svg/utils/build-attrs.mjs-var Wv = [+var Uv = ["transform","opacity","clipPath",@@ -18467,55 +18467,55 @@ var Wv = ["offsetRotate","offsetAnchor"];-function Gv(e, { attrX: t, attrY: n, attrScale: r, pathLength: i, pathSpacing: a = 1, pathOffset: o = 0, ...s }, c, l, u) {- if (Uv(e, s, l), c) {+function Wv(e, { attrX: t, attrY: n, attrScale: r, pathLength: i, pathSpacing: a = 1, pathOffset: o = 0, ...s }, c, l, u) {+ if (Hv(e, s, l), c) {e.style.viewBox && (e.attrs.viewBox = e.style.viewBox);return;}e.attrs = e.style, e.style = {};let { attrs: d, style: f } = e;- for (let e of Wv) d[e] !== void 0 && (f[e] = d[e], delete d[e]);- (f.transform || d.transformOrigin) && (f.transformOrigin = d.transformOrigin ?? "50% 50%", delete d.transformOrigin), f.transform && (f.transformBox = u?.transformBox ?? "fill-box", delete d.transformBox), t !== void 0 && (d.x = t), n !== void 0 && (d.y = n), r !== void 0 && (d.scale = r), i !== void 0 && $te(d, i, a, o, !1);+ for (let e of Uv) d[e] !== void 0 && (f[e] = d[e], delete d[e]);+ (f.transform || d.transformOrigin) && (f.transformOrigin = d.transformOrigin ?? "50% 50%", delete d.transformOrigin), f.transform && (f.transformBox = u?.transformBox ?? "fill-box", delete d.transformBox), t !== void 0 && (d.x = t), n !== void 0 && (d.y = n), r !== void 0 && (d.scale = r), i !== void 0 && ene(d, i, a, o, !1);}// node_modules/motion-dom/dist/es/effects/attr/index.mjs-function ene(e, t) {+function tne(e, t) {if (!(t in e)) return !1;let n = Object.getOwnPropertyDescriptor(Object.getPrototypeOf(e), t) || Object.getOwnPropertyDescriptor(e, t);return n && typeof n.set == "function";}-var Kv = (e, t, n, r, i = n) => {- let a = ene(e, i);- !a && (i.startsWith("data") || i.startsWith("aria")) && (i = Hv(i));- let o = $g[n] || $g[i], s = a ? () => {- e[i] = U_(r.get(), $g[n]);+var Gv = (e, t, n, r, i = n) => {+ let a = tne(e, i);+ !a && (i.startsWith("data") || i.startsWith("aria")) && (i = Vv(i));+ let o = Qg[n] || Qg[i], s = a ? () => {+ e[i] = H_(r.get(), Qg[n]);} : () => {- let t = U_(r.get(), o);+ let t = H_(r.get(), o);t == null ? e.removeAttribute(i) : e.setAttribute(i, String(t));};return t.set(n, r, s);};// node_modules/motion-dom/dist/es/effects/svg/index.mjs-function tne(e, t, n, r) {+function nne(e, t, n, r) {return pg.render(() => e.setAttribute("pathLength", "1")), n === "pathOffset" ? t.set(n, r, () => {let t = r.get();e.setAttribute("stroke-dashoffset", `${-t}`);- }) : (t.get("stroke-dasharray") || t.set("stroke-dasharray", new cv("1 1"), () => {+ }) : (t.get("stroke-dasharray") || t.set("stroke-dasharray", new sv("1 1"), () => {let n = t.get("pathLength")?.get() ?? 1, r = t.get("pathSpacing")?.get();e.setAttribute("stroke-dasharray", `${n} ${r ?? 1 - Number(n)}`);}), t.set(n, r, void 0, t.get("stroke-dasharray")));}-var nne = /*@__PURE__*/ Lv((e, t, n, r) => n.startsWith("path") && !p_.has(n) ? tne(e, t, n, r) : n.startsWith("attr") ? Kv(e, t, n, r, qv(n)) : n === "d" ? t.set(n, r, () => {+var rne = /*@__PURE__*/ Iv((e, t, n, r) => n.startsWith("path") && !f_.has(n) ? nne(e, t, n, r) : n.startsWith("attr") ? Gv(e, t, n, r, Kv(n)) : n === "d" ? t.set(n, r, () => {let t = r.get()?.replace(/path\(|["')]/g, "");t === void 0 ? e.removeAttribute(n) : e.setAttribute(n, t);-}) : (p_.has(n) || Rv.has(n) || E_(n) || n in e.style ? Bv : Kv)(e, t, n, r), {- test: Mv,- read: (e, t) => p_.has(t) ? $g[t]?.default || 0 : E_(t) || Wv.includes(t) ? Vv(e, t) || e.getAttribute(Hv(t)) || 0 : (t = qv(t), e.getAttribute(Hv(t)) ?? e.getAttribute(t) ?? void 0)+}) : (f_.has(n) || Lv.has(n) || T_(n) || n in e.style ? zv : Gv)(e, t, n, r), {+ test: jv,+ read: (e, t) => f_.has(t) ? Qg[t]?.default || 0 : T_(t) || Uv.includes(t) ? Bv(e, t) || e.getAttribute(Vv(t)) || 0 : (t = Kv(t), e.getAttribute(Vv(t)) ?? e.getAttribute(t) ?? void 0)});-function qv(e) {+function Kv(e) {return e.replace(/^attr([A-Z])/, (e, t) => t.toLowerCase());}// node_modules/motion-dom/dist/es/projection/geometry/conversion.mjs-function Jv({ top: e, left: t, right: n, bottom: r }) {+function qv({ top: e, left: t, right: n, bottom: r }) {return {x: {min: t,@@ -18527,7 +18527,7 @@ function Jv({ top: e, left: t, right: n, bottom: r }) {}};}-function rne({ x: e, y: t }) {+function ine({ x: e, y: t }) {return {top: t.min,right: e.max,@@ -18535,7 +18535,7 @@ function rne({ x: e, y: t }) {left: e.min};}-function ine(e, t) {+function ane(e, t) {if (!t) return e;let n = t({x: e.left,@@ -18552,13 +18552,13 @@ function ine(e, t) {};}// node_modules/motion-dom/dist/es/projection/utils/has-transform.mjs-function Yv(e) {+function Jv(e) {return e === void 0 || e === 1;}-function Xv({ scale: e, scaleX: t, scaleY: n }) {- return !Yv(e) || !Yv(t) || !Yv(n);+function Yv({ scale: e, scaleX: t, scaleY: n }) {+ return !Jv(e) || !Jv(t) || !Jv(n);}-var Zv = [+var Xv = ["rotate","rotateX","rotateY",@@ -18566,67 +18566,67 @@ var Zv = ["skewX","skewY"];+function Zv(e) {+ return Yv(e) || $v(e) || Qv(e);+}function Qv(e) {- return Xv(e) || ey(e) || $v(e);+ return e.z || e.rotate || e.rotateX || e.rotateY || e.rotateZ || e.skewX || e.skewY;}function $v(e) {- return e.z || e.rotate || e.rotateX || e.rotateY || e.rotateZ || e.skewX || e.skewY;+ return ey(e.x) || ey(e.y);}function ey(e) {- return ty(e.x) || ty(e.y);-}-function ty(e) {return e && e !== "0%";}// node_modules/motion-dom/dist/es/projection/geometry/delta-apply.mjs-function ny(e, t, n) {+function ty(e, t, n) {return n + t * (e - n);}-function ry(e, t, n, r, i) {- return i !== void 0 && (e = ny(e, i, r)), ny(e, n, r) + t;+function ny(e, t, n, r, i) {+ return i !== void 0 && (e = ty(e, i, r)), ty(e, n, r) + t;}-function iy(e, t = 0, n = 1, r, i) {- e.min = ry(e.min, t, n, r, i), e.max = ry(e.max, t, n, r, i);+function ry(e, t = 0, n = 1, r, i) {+ e.min = ny(e.min, t, n, r, i), e.max = ny(e.max, t, n, r, i);}-function ay(e, { x: t, y: n }) {- iy(e.x, t.translate, t.scale, t.originPoint), iy(e.y, n.translate, n.scale, n.originPoint);+function iy(e, { x: t, y: n }) {+ ry(e.x, t.translate, t.scale, t.originPoint), ry(e.y, n.translate, n.scale, n.originPoint);}-var oy = .999999999999, sy = 1.0000000000001;-function ane(e, t, n, r = !1) {+var ay = .999999999999, oy = 1.0000000000001;+function one(e, t, n, r = !1) {let i = n.length;if (!i) return;t.x = t.y = 1;let a, o;- for (let s = 0; s < i; s++) a = n[s], o = a.projectionDelta, a.options.visualElement?.props.style?.display !== "contents" && (r === !0 && a.options.layoutScroll && a.scroll && a !== a.root && (cy(e.x, -a.scroll.offset.x), cy(e.y, -a.scroll.offset.y)), o && (t.x *= o.x.scale, t.y *= o.y.scale, ay(e, o)), r && (r.path?.[s] || r) !== a && Qv(a.latestValues) && dy(e, a.latestValues, a.layout?.layoutBox));- t.x < sy && t.x > oy && (t.x = 1), t.y < sy && t.y > oy && (t.y = 1);+ for (let s = 0; s < i; s++) a = n[s], o = a.projectionDelta, a.options.visualElement?.props.style?.display !== "contents" && (r === !0 && a.options.layoutScroll && a.scroll && a !== a.root && (sy(e.x, -a.scroll.offset.x), sy(e.y, -a.scroll.offset.y)), o && (t.x *= o.x.scale, t.y *= o.y.scale, iy(e, o)), r && (r.path?.[s] || r) !== a && Zv(a.latestValues) && uy(e, a.latestValues, a.layout?.layoutBox));+ t.x < oy && t.x > ay && (t.x = 1), t.y < oy && t.y > ay && (t.y = 1);}-function cy(e, t) {+function sy(e, t) {e.min += t, e.max += t;}-function ly(e, t, n, r, i = .5) {- iy(e, t, n, ng(e.min, e.max, i), r);+function cy(e, t, n, r, i = .5) {+ ry(e, t, n, ng(e.min, e.max, i), r);}-function uy(e, t) {+function ly(e, t) {return typeof e == "string" ? parseFloat(e) / 100 * (t.max - t.min) : e;}-function dy(e, t, n) {+function uy(e, t, n) {let r = n ?? e;- ly(e.x, uy(t.x, r.x), t.scaleX, t.scale, t.originX), ly(e.y, uy(t.y, r.y), t.scaleY, t.scale, t.originY);+ cy(e.x, ly(t.x, r.x), t.scaleX, t.scale, t.originX), cy(e.y, ly(t.y, r.y), t.scaleY, t.scale, t.originY);}// node_modules/motion-dom/dist/es/projection/utils/measure.mjs-function fy(e, t) {- return Jv(ine(e.getBoundingClientRect(), t));+function dy(e, t) {+ return qv(ane(e.getBoundingClientRect(), t));}-function one(e, t, n) {- let r = fy(e, n), { scroll: i } = t;- return i && (cy(r.x, i.offset.x), cy(r.y, i.offset.y)), r;+function sne(e, t, n) {+ let r = dy(e, n), { scroll: i } = t;+ return i && (sy(r.x, i.offset.x), sy(r.y, i.offset.y)), r;}-var sne = () => ({+var cne = () => ({x: document.documentElement.scrollLeft || document.body?.scrollLeft || 0,y: document.documentElement.scrollTop || document.body?.scrollTop || 0-}), cne = {}, lne = (e) => Mv(e) ? nne : Xte, une = class {+}), lne = {}, une = (e) => jv(e) ? rne : Zte, dne = class {constructor(e, t) {- this.effect = e, this.current = t, this.KeyframeResolver = Tv;+ this.effect = e, this.current = t, this.KeyframeResolver = wv;}getValue(e) {return this.effect.get(this.current, e);@@ -18638,19 +18638,19 @@ var sne = () => ({this.effect.flush(this.current);}measureViewportBox() {- return fy(this.current);+ return dy(this.current);}getProps() {- return cne;+ return lne;}};-function dne(e, t, n, r) {- if (Nv.current?.track(e), r) return kv((e) => r.getValue(e, null), t, n, r);- let i = lne(e);- return Av(i, e, t, n, new une(i, e));+function fne(e, t, n, r) {+ if (Mv.current?.track(e), r) return Ov((e) => r.getValue(e, null), t, n, r);+ let i = une(e);+ return kv(i, e, t, n, new dne(i, e));}// node_modules/motion-dom/dist/es/effects/prop/index.mjs-var fne = /*@__PURE__*/ Lv((e, t, n, r) => t.set(n, r, () => {+var pne = /*@__PURE__*/ Iv((e, t, n, r) => t.set(n, r, () => {e[n] = r.get();}), {test: (e) => Cm(e),@@ -18658,172 +18658,172 @@ var fne = /*@__PURE__*/ Lv((e, t, n, r) => t.set(n, r, () => {let n = e[t];return typeof n == "string" || typeof n == "number" ? n : void 0;}-}), { schedule: py, cancel: pne } = /* @__PURE__ */ fg(queueMicrotask, !1);+}), { schedule: fy, cancel: mne } = /* @__PURE__ */ fg(queueMicrotask, !1);// node_modules/motion-dom/dist/es/animation/animate/single-value.mjs-function my(e, t, n) {- let r = vv(e) ? e : lv(e);- return r.start(fv("", r, t, n)), r.animation;+function py(e, t, n) {+ let r = _v(e) ? e : cv(e);+ return r.start(dv("", r, t, n)), r.animation;}// node_modules/motion-dom/dist/es/projection/styles/scale-correction.mjs-var hy = {}, gy = {+var my = {}, hy = {value: null,addProjectionMetrics: null,countProjection: void 0};// node_modules/motion-dom/dist/es/utils/delay.mjs-function mne(e, t) {+function hne(e, t) {let n = rh.now();- e = Fv(e);+ e = Pv(e);let r = ({ timestamp: i }) => {let a = i - n;a >= t && (mg(r), e(a - t));};- return pg.setup(r, !0), Pv(() => mg(r));+ return pg.setup(r, !0), Nv(() => mg(r));}// node_modules/motion-dom/dist/es/utils/is-ref-object.mjs-function hne(e) {+function gne(e) {return e && typeof e == "object" && Object.prototype.hasOwnProperty.call(e, "current");}// node_modules/motion-dom/dist/es/utils/is-svg-svg-element.mjs-function gne(e) {- return Mv(e) && e.tagName === "svg";+function _ne(e) {+ return jv(e) && e.tagName === "svg";}// node_modules/motion-dom/dist/es/value/utils/resolve-motion-value.mjs-function _y(e) {- return vv(e) ? e.get() : e;+function gy(e) {+ return _v(e) ? e.get() : e;}// node_modules/motion-dom/dist/es/value/utils/as-number.mjs-var vy = (e) => typeof e == "number" ? e : parseFloat(e), _ne = Ev.length, yy = (e) => typeof e == "number" || Oh.test(e);-function vne(e, t, n, r, i, a) {- i ? (e.opacity = ng(0, n.opacity ?? 1, yne(r)), e.opacityExit = ng(t.opacity ?? 1, 0, bne(r))) : a && (e.opacity = ng(t.opacity ?? 1, n.opacity ?? 1, r));- for (let i = 0; i < _ne; i++) {- let a = Ev[i], o = by(t, a), s = by(n, a);- (o !== void 0 || s !== void 0) && (o ||= 0, s ||= 0, o === 0 || s === 0 || yy(o) === yy(s) ? (e[a] = Math.max(ng(vy(o), vy(s), r), 0), (Dh.test(s) || Dh.test(o)) && (e[a] += "%")) : e[a] = s);- }- for (let i = 0; i < Zv.length; i++) {- let a = Zv[i];+var _y = (e) => typeof e == "number" ? e : parseFloat(e), vne = Tv.length, vy = (e) => typeof e == "number" || Oh.test(e);+function yne(e, t, n, r, i, a) {+ i ? (e.opacity = ng(0, n.opacity ?? 1, bne(r)), e.opacityExit = ng(t.opacity ?? 1, 0, xne(r))) : a && (e.opacity = ng(t.opacity ?? 1, n.opacity ?? 1, r));+ for (let i = 0; i < vne; i++) {+ let a = Tv[i], o = yy(t, a), s = yy(n, a);+ (o !== void 0 || s !== void 0) && (o ||= 0, s ||= 0, o === 0 || s === 0 || vy(o) === vy(s) ? (e[a] = Math.max(ng(_y(o), _y(s), r), 0), (Dh.test(s) || Dh.test(o)) && (e[a] += "%")) : e[a] = s);+ }+ for (let i = 0; i < Xv.length; i++) {+ let a = Xv[i];(t[a] || n[a]) && (e[a] = ng(t[a] || 0, n[a] || 0, r));}}-function by(e, t) {+function yy(e, t) {return e[t] === void 0 ? e.borderRadius : e[t];}-var yne = /*@__PURE__*/ xy(0, .5, Um), bne = /*@__PURE__*/ xy(.5, .95, Em);-function xy(e, t, n) {+var bne = /*@__PURE__*/ by(0, .5, Um), xne = /*@__PURE__*/ by(.5, .95, Em);+function by(e, t, n) {return (r) => r < e ? 0 : r > t ? 1 : n(/* @__PURE__ */ Om(e, t, r));}// node_modules/motion-dom/dist/es/projection/geometry/copy.mjs-function Sy(e, t) {+function xy(e, t) {e.min = t.min, e.max = t.max;}-function Cy(e, t) {- Sy(e.x, t.x), Sy(e.y, t.y);+function Sy(e, t) {+ xy(e.x, t.x), xy(e.y, t.y);}-function wy(e, t) {+function Cy(e, t) {e.translate = t.translate, e.scale = t.scale, e.originPoint = t.originPoint, e.origin = t.origin;}// node_modules/motion-dom/dist/es/projection/geometry/delta-calc.mjs-var xne = .9999, Sne = 1.0001, Cne = -.01, wne = .01;-function Ty(e) {+var Sne = .9999, Cne = 1.0001, wne = -.01, Tne = .01;+function wy(e) {return e.max - e.min;}-function Tne(e, t, n) {+function Ene(e, t, n) {return Math.abs(e - t) <= n;}-function Ey(e, t, n, r = .5) {- e.origin = r, e.originPoint = ng(t.min, t.max, e.origin), e.scale = Ty(n) / Ty(t), e.translate = ng(n.min, n.max, e.origin) - e.originPoint, (e.scale >= xne && e.scale <= Sne || isNaN(e.scale)) && (e.scale = 1), (e.translate >= Cne && e.translate <= wne || isNaN(e.translate)) && (e.translate = 0);+function Ty(e, t, n, r = .5) {+ e.origin = r, e.originPoint = ng(t.min, t.max, e.origin), e.scale = wy(n) / wy(t), e.translate = ng(n.min, n.max, e.origin) - e.originPoint, (e.scale >= Sne && e.scale <= Cne || isNaN(e.scale)) && (e.scale = 1), (e.translate >= wne && e.translate <= Tne || isNaN(e.translate)) && (e.translate = 0);}-function Dy(e, t, n, r) {- Ey(e.x, t.x, n.x, r?.originX), Ey(e.y, t.y, n.y, r?.originY);+function Ey(e, t, n, r) {+ Ty(e.x, t.x, n.x, r?.originX), Ty(e.y, t.y, n.y, r?.originY);}-function Oy(e, t, n, r = 0) {- e.min = (r ? ng(n.min, n.max, r) : n.min) + t.min, e.max = e.min + Ty(t);+function Dy(e, t, n, r = 0) {+ e.min = (r ? ng(n.min, n.max, r) : n.min) + t.min, e.max = e.min + wy(t);}-function Ene(e, t, n, r) {- Oy(e.x, t.x, n.x, r?.x), Oy(e.y, t.y, n.y, r?.y);+function Dne(e, t, n, r) {+ Dy(e.x, t.x, n.x, r?.x), Dy(e.y, t.y, n.y, r?.y);}-function ky(e, t, n, r = 0) {+function Oy(e, t, n, r = 0) {let i = r ? ng(n.min, n.max, r) : n.min;- e.min = t.min - i, e.max = e.min + Ty(t);+ e.min = t.min - i, e.max = e.min + wy(t);}-function Ay(e, t, n, r) {- ky(e.x, t.x, n.x, r?.x), ky(e.y, t.y, n.y, r?.y);+function ky(e, t, n, r) {+ Oy(e.x, t.x, n.x, r?.x), Oy(e.y, t.y, n.y, r?.y);}// node_modules/motion-dom/dist/es/projection/geometry/delta-remove.mjs-function jy(e, t, n, r, i) {- return e -= t, e = ny(e, 1 / n, r), i !== void 0 && (e = ny(e, 1 / i, r)), e;+function Ay(e, t, n, r, i) {+ return e -= t, e = ty(e, 1 / n, r), i !== void 0 && (e = ty(e, 1 / i, r)), e;}-function Dne(e, t = 0, n = 1, r = .5, i, a = e, o = e) {+function One(e, t = 0, n = 1, r = .5, i, a = e, o = e) {if (Dh.test(t) && (t = parseFloat(t), t = ng(o.min, o.max, t / 100) - o.min), typeof t != "number") return;let s = ng(a.min, a.max, r);- e === a && (s -= t), e.min = jy(e.min, t, n, s, i), e.max = jy(e.max, t, n, s, i);+ e === a && (s -= t), e.min = Ay(e.min, t, n, s, i), e.max = Ay(e.max, t, n, s, i);}-function My(e, t, [n, r, i], a, o) {- Dne(e, t[n], t[r], t[i], t.scale, a, o);+function jy(e, t, [n, r, i], a, o) {+ One(e, t[n], t[r], t[i], t.scale, a, o);}-var One = [+var kne = ["x","scaleX","originX"-], kne = [+], Ane = ["y","scaleY","originY"];-function Ny(e, t, n, r) {- My(e.x, t, One, n?.x, r?.x), My(e.y, t, kne, n?.y, r?.y);+function My(e, t, n, r) {+ jy(e.x, t, kne, n?.x, r?.x), jy(e.y, t, Ane, n?.y, r?.y);}// node_modules/motion-dom/dist/es/projection/geometry/round.mjs-var Py = (e) => typeof navigator < "u" && navigator.userAgent && navigator.userAgent.toLowerCase().includes(e), Fy = Py("applewebkit/") && !Py("chrome/") ? Math.round : Em;-function Iy(e) {- e.min = Fy(e.min), e.max = Fy(e.max);+var Ny = (e) => typeof navigator < "u" && navigator.userAgent && navigator.userAgent.toLowerCase().includes(e), Py = Ny("applewebkit/") && !Ny("chrome/") ? Math.round : Em;+function Fy(e) {+ e.min = Py(e.min), e.max = Py(e.max);}-function Ane(e) {- Iy(e.x), Iy(e.y);+function jne(e) {+ Fy(e.x), Fy(e.y);}// node_modules/motion-dom/dist/es/projection/geometry/models.mjs-var Ly = () => ({+var Iy = () => ({translate: 0,scale: 1,origin: 0,originPoint: 0+}), Ly = () => ({+ x: Iy(),+ y: Iy()}), Ry = () => ({- x: Ly(),- y: Ly()-}), zy = () => ({min: 0,max: 0-}), By = () => ({- x: zy(),- y: zy()+}), zy = () => ({+ x: Ry(),+ y: Ry()});// node_modules/motion-dom/dist/es/projection/geometry/utils.mjs-function Vy(e) {+function By(e) {return e.translate === 0 && e.scale === 1;}-function Hy(e) {- return Vy(e.x) && Vy(e.y);+function Vy(e) {+ return By(e.x) && By(e.y);}-function Uy(e, t) {+function Hy(e, t) {return e.min === t.min && e.max === t.max;}-function jne(e, t) {- return Uy(e.x, t.x) && Uy(e.y, t.y);+function Mne(e, t) {+ return Hy(e.x, t.x) && Hy(e.y, t.y);}-function Wy(e, t) {+function Uy(e, t) {return Math.round(e.min) === Math.round(t.min) && Math.round(e.max) === Math.round(t.max);}-function Gy(e, t) {- return Wy(e.x, t.x) && Wy(e.y, t.y);+function Wy(e, t) {+ return Uy(e.x, t.x) && Uy(e.y, t.y);}-function Ky(e) {- return Ty(e.x) / Ty(e.y);+function Gy(e) {+ return wy(e.x) / wy(e.y);}-function qy(e, t) {+function Ky(e, t) {return e.translate === t.translate && e.scale === t.scale && e.originPoint === t.originPoint;}// node_modules/motion-dom/dist/es/projection/shared/stack.mjs-var Mne = class {+var Nne = class {constructor() {this.members = [];}@@ -18871,22 +18871,22 @@ var Mne = class {}};// node_modules/motion-dom/dist/es/projection/styles/scale-border-radius.mjs-function Jy(e, t) {+function qy(e, t) {return t.max === t.min ? 0 : e / (t.max - t.min) * 100;}-var Yy = { correct: (e, t) => {+var Jy = { correct: (e, t) => {if (!t.target) return e;if (typeof e == "string") {if (Oh.test(e)) e = parseFloat(e);else return e;}- return `${Jy(e, t.target.x)}% ${Jy(e, t.target.y)}%`;-} }, Nne = {- borderRadius: /* @__PURE__ */ Object.assign({}, Yy, { applyTo: /* @__PURE__ */ Ev.slice() }),- borderTopLeftRadius: Yy,- borderTopRightRadius: Yy,- borderBottomLeftRadius: Yy,- borderBottomRightRadius: Yy,+ return `${qy(e, t.target.x)}% ${qy(e, t.target.y)}%`;+} }, Pne = {+ borderRadius: /* @__PURE__ */ Object.assign({}, Jy, { applyTo: /* @__PURE__ */ Tv.slice() }),+ borderTopLeftRadius: Jy,+ borderTopRightRadius: Jy,+ borderBottomLeftRadius: Jy,+ borderBottomRightRadius: Jy,boxShadow: { correct: (e, { treeScale: t, projectionDelta: n }) => {let r = e, i = Qh.parse(e);if (i.length > 5) return r;@@ -18897,13 +18897,13 @@ var Yy = { correct: (e, t) => {} }};// node_modules/motion-dom/dist/es/projection/styles/transform.mjs-function Pne(e, t, n) {+function Fne(e, t, n) {let r = "", i = e.x.translate / t.x, a = e.y.translate / t.y, o = n?.z || 0;if ((i || a || o) && (r = `translate3d(${i}px, ${a}px, ${o}px) `), (t.x !== 1 || t.y !== 1) && (r += `scale(${1 / t.x}, ${1 / t.y}) `), n) {let { transformPerspective: e } = n;e && (r = `perspective(${e}px) ${r}`);- for (let e = 0; e < Zv.length; e++) {- let t = Zv[e], i = n[t];+ for (let e = 0; e < Xv.length; e++) {+ let t = Xv[e], i = n[t];i && (r += `${t}(${i}deg) `), !e && n.pathRotation && (r += `rotate(${n.pathRotation}deg) `);}}@@ -18911,11 +18911,11 @@ function Pne(e, t, n) {return (s !== 1 || c !== 1) && (r += `scale(${s}, ${c})`), r || "none";}// node_modules/motion-dom/dist/es/projection/utils/each-axis.mjs-function Xy(e) {+function Yy(e) {return [e("x"), e("y")];}// node_modules/motion-dom/dist/es/projection/utils/compare-by-depth.mjs-var Fne = (e, t) => e.depth - t.depth, Ine = class {+var Ine = (e, t) => e.depth - t.depth, Lne = class {constructor() {this.children = [], this.isDirty = !1;}@@ -18926,47 +18926,47 @@ var Fne = (e, t) => e.depth - t.depth, Ine = class {ym(this.children, e), this.isDirty = !0;}forEach(e) {- this.isDirty && this.children.sort(Fne), this.isDirty = !1, this.children.forEach(e);+ this.isDirty && this.children.sort(Ine), this.isDirty = !1, this.children.forEach(e);}-}, Zy = {+}, Xy = {hasAnimatedSinceResize: !0,hasEverUpdated: !1-}, Qy = [+}, Zy = ["z","skew","skewZ"-], Lne = 1e3, Rne = 0;-function $y(e, t, n, r) {+], Rne = 1e3, zne = 0;+function Qy(e, t, n, r) {let { latestValues: i } = t;i[e] && (n[e] = i[e], t.setStaticValue(e, 0), r && (r[e] = 0));}-var eb = (e) => e.instance && q_.get(e.instance)?.demote() && e.resetSkewAndRotation();-function tb(e) {+var $y = (e) => e.instance && K_.get(e.instance)?.demote() && e.resetSkewAndRotation();+function eb(e) {if (e.hasCheckedOptimisedAppear = !0, e.root === e) return;let { visualElement: t } = e.options;if (!t) return;- let n = xv(t);+ let n = bv(t);if (window.MotionHasOptimisedAnimation(n, "transform")) {let { layout: t, layoutId: r } = e.options;window.MotionCancelOptimisedAnimation(n, "transform", pg, !(t || r));}let { parent: r } = e;- r && !r.hasCheckedOptimisedAppear && tb(r);+ r && !r.hasCheckedOptimisedAppear && eb(r);}-function nb(e) {- if (e) return e.options.allowProjection === !1 ? nb(e.parent) : e.projection;+function tb(e) {+ if (e) return e.options.allowProjection === !1 ? tb(e.parent) : e.projection;}-function rb({ attachResizeListener: e, defaultParent: t, measureScroll: n, checkIsScrollRoot: r, resetTransform: i }) {- return Object.assign(hy, {- ...Nne,- ...hy+function nb({ attachResizeListener: e, defaultParent: t, measureScroll: n, checkIsScrollRoot: r, resetTransform: i }) {+ return Object.assign(my, {+ ...Pne,+ ...my}), class {static create(e, t, n) {- let { layoutId: r, layout: i, drag: a, dragConstraints: o, layoutScroll: s, layoutRoot: c, layoutAnchor: l, layoutCrossfade: u } = t, d = e.projection = new this(e.latestValues, t["data-framer-portal-id"] ? void 0 : nb(e.parent));+ let { layoutId: r, layout: i, drag: a, dragConstraints: o, layoutScroll: s, layoutRoot: c, layoutAnchor: l, layoutCrossfade: u } = t, d = e.projection = new this(e.latestValues, t["data-framer-portal-id"] ? void 0 : tb(e.parent));d.setOptions({layoutId: r,layout: i,- alwaysMeasureLayout: !!a || o && hne(o),+ alwaysMeasureLayout: !!a || o && gne(o),visualElement: e,animationType: typeof i == "string" ? i : "both",initialPromotionConfig: n,@@ -18979,16 +18979,16 @@ function rb({ attachResizeListener: e, defaultParent: t, measureScroll: n, checkf && !d.root.isUpdateBlocked() && (f.willUpdate(), f.scheduleCheckAfterUnmount());}constructor(e = {}, n = t?.()) {- this.id = Rne++, this.animationId = 0, this.animationCommitId = 0, this.children = /* @__PURE__ */ new Set(), this.options = {}, this.isTreeAnimating = !1, this.isAnimationBlocked = !1, this.isLayoutDirty = !1, this.isProjectionDirty = !1, this.isSharedProjectionDirty = !1, this.isTransformDirty = !1, this.updateManuallyBlocked = !1, this.updateBlockedByResize = !1, this.isUpdating = !1, this.isSVG = !1, this.needsReset = !1, this.shouldResetTransform = !1, this.hasCheckedOptimisedAppear = !1, this.treeScale = {+ this.id = zne++, this.animationId = 0, this.animationCommitId = 0, this.children = /* @__PURE__ */ new Set(), this.options = {}, this.isTreeAnimating = !1, this.isAnimationBlocked = !1, this.isLayoutDirty = !1, this.isProjectionDirty = !1, this.isSharedProjectionDirty = !1, this.isTransformDirty = !1, this.updateManuallyBlocked = !1, this.updateBlockedByResize = !1, this.isUpdating = !1, this.isSVG = !1, this.needsReset = !1, this.shouldResetTransform = !1, this.hasCheckedOptimisedAppear = !1, this.treeScale = {x: 1,y: 1}, this.eventHandlers = /* @__PURE__ */ new Map(), this.hasTreeAnimated = !1, this.updateScheduled = !1, this.scheduleUpdate = () => this.update(), this.projectionUpdateScheduled = !1, this.checkUpdateFailed = () => {this.isUpdating && (this.isUpdating = !1, this.clearAllSnapshots());}, this.updateProjection = () => {- this.projectionUpdateScheduled = !1, this.nodes.forEach(Vne), this.nodes.forEach(Yne), this.nodes.forEach(Xne), this.nodes.forEach(Hne), gy.countProjection?.();+ this.projectionUpdateScheduled = !1, this.nodes.forEach(Hne), this.nodes.forEach(Xne), this.nodes.forEach(Zne), this.nodes.forEach(Une), hy.countProjection?.();}, this.resolvedRelativeTargetAt = 0, this.hasProjected = !1, this.isVisible = !0, this.animationProgress = 0, this.sharedNodes = /* @__PURE__ */ new Map(), this.latestValues = e, this.root = n ? n.root || n : this, this.path = n ? [...n.path, n] : [], this.parent = n, this.depth = n ? n.depth + 1 : 0;for (let e = 0; e < this.path.length; e++) this.path[e].shouldResetTransform = !0;- this.root === this && (this.nodes = new Ine());+ this.root === this && (this.nodes = new Lne());}addEventListener(e, t) {return this.eventHandlers.has(e) || this.eventHandlers.set(e, new km()), this.eventHandlers.get(e).add(t);@@ -19001,7 +19001,7 @@ function rb({ attachResizeListener: e, defaultParent: t, measureScroll: n, check}mount(t) {if (this.instance) return;- this.isSVG = Mv(t) && !gne(t), this.instance = t;+ this.isSVG = jv(t) && !_ne(t), this.instance = t;let { layoutId: n, layout: r, visualElement: i } = this.options;if (i && !i.current && i.mount(t), this.root.nodes.add(this), this.parent?.children.add(this), this.root.hasTreeAnimated && (r || n) && (this.isLayoutDirty = !0), e) {let n, r = 0, i = () => this.root.updateBlockedByResize = !1;@@ -19009,7 +19009,7 @@ function rb({ attachResizeListener: e, defaultParent: t, measureScroll: n, checkr = window.innerWidth;}), e(t, () => {let e = window.innerWidth;- e !== r && (r = e, this.root.updateBlockedByResize = !0, n?.(), n = mne(i, 250), Zy.hasAnimatedSinceResize && (Zy.hasAnimatedSinceResize = !1, this.nodes.forEach(ob)));+ e !== r && (r = e, this.root.updateBlockedByResize = !0, n?.(), n = hne(i, 250), Xy.hasAnimatedSinceResize && (Xy.hasAnimatedSinceResize = !1, this.nodes.forEach(ab)));});}n && this.root.registerSharedNode(n, this), this.addLayoutListener();@@ -19021,16 +19021,16 @@ function rb({ attachResizeListener: e, defaultParent: t, measureScroll: n, checkthis.target = void 0, this.relativeTarget = void 0;return;}- let a = this.options.transition || n.getDefaultTransition() || ere, { onLayoutAnimationStart: o, onLayoutAnimationComplete: s } = n.getProps(), c = !this.targetLayout || !Gy(this.targetLayout, i), l = !t && r;+ let a = this.options.transition || n.getDefaultTransition() || tre, { onLayoutAnimationStart: o, onLayoutAnimationComplete: s } = n.getProps(), c = !this.targetLayout || !Wy(this.targetLayout, i), l = !t && r;if (this.options.layoutRoot || this.resumeFrom || l || t && (c || !this.currentAnimation)) {this.resumeFrom && (this.resumingFrom = this.resumeFrom, this.resumingFrom.resumingFrom = void 0);let t = {- ...dv(a, "layout"),+ ...uv(a, "layout"),onPlay: o,onComplete: s};(n.shouldReduceMotion || this.options.layoutRoot) && (t.delay = 0, t.type = !1), this.startAnimation(t), this.setAnimationOrigin(e, l, t.path);- } else t || ob(this), this.isLead() && this.options.onExitComplete?.();+ } else t || ab(this), this.isLead() && this.options.onExitComplete?.();this.targetLayout = i;}));}@@ -19047,7 +19047,7 @@ function rb({ attachResizeListener: e, defaultParent: t, measureScroll: n, checkreturn this.updateManuallyBlocked || this.updateBlockedByResize;}startUpdate() {- this.isUpdateBlocked() || (this.isUpdating = !0, this.nodes?.forEach(Zne), this.animationId++);+ this.isUpdateBlocked() || (this.isUpdating = !0, this.nodes?.forEach(Qne), this.animationId++);}getTransformTemplate() {let { visualElement: e } = this.options;@@ -19058,11 +19058,11 @@ function rb({ attachResizeListener: e, defaultParent: t, measureScroll: n, checkthis.options.onExitComplete?.();return;}- if (window.MotionCancelOptimisedAnimation && !this.hasCheckedOptimisedAppear && tb(this), !this.root.isUpdating && this.root.startUpdate(), this.isLayoutDirty) return;- eb(this), this.isLayoutDirty = !0;+ if (window.MotionCancelOptimisedAnimation && !this.hasCheckedOptimisedAppear && eb(this), !this.root.isUpdating && this.root.startUpdate(), this.isLayoutDirty) return;+ $y(this), this.isLayoutDirty = !0;for (let e = 0; e < this.path.length; e++) {let t = this.path[e];- t.shouldResetTransform = !0, eb(t), (typeof t.latestValues.x == "string" || typeof t.latestValues.y == "string") && (t.isLayoutDirty = !0), t.updateScroll("snapshot"), t.options.layoutRoot && t.willUpdate(!1), t.isAnimationBlocked && (t.dragSnapshot ||= t.measure(), this.dragAncestor = t);+ t.shouldResetTransform = !0, $y(t), (typeof t.latestValues.x == "string" || typeof t.latestValues.y == "string") && (t.isLayoutDirty = !0), t.updateScroll("snapshot"), t.options.layoutRoot && t.willUpdate(!1), t.isAnimationBlocked && (t.dragSnapshot ||= t.measure(), this.dragAncestor = t);}let { layoutId: t, layout: n } = this.options;if (t === void 0 && !n) return;@@ -19072,22 +19072,22 @@ function rb({ attachResizeListener: e, defaultParent: t, measureScroll: n, checkupdate() {if (this.updateScheduled = !1, this.isUpdateBlocked()) {let e = this.updateBlockedByResize;- this.unblockUpdate(), this.updateBlockedByResize = !1, this.clearAllSnapshots(), e && this.nodes.forEach(Wne), this.nodes.forEach(ib);+ this.unblockUpdate(), this.updateBlockedByResize = !1, this.clearAllSnapshots(), e && this.nodes.forEach(Gne), this.nodes.forEach(rb);return;}if (this.animationId <= this.animationCommitId) {- this.nodes.forEach(ab);+ this.nodes.forEach(ib);return;}- this.animationCommitId = this.animationId, this.isUpdating ? (this.isUpdating = !1, this.nodes.forEach(Kne), this.nodes.forEach(qne), this.nodes.forEach(Jne), this.nodes.forEach(zne), this.nodes.forEach(Bne)) : this.nodes.forEach(ab), this.clearAllSnapshots();+ this.animationCommitId = this.animationId, this.isUpdating ? (this.isUpdating = !1, this.nodes.forEach(qne), this.nodes.forEach(Jne), this.nodes.forEach(Yne), this.nodes.forEach(Bne), this.nodes.forEach(Vne)) : this.nodes.forEach(ib), this.clearAllSnapshots();let e = rh.now();eh.delta = bm(0, 1e3 / 60, e - eh.timestamp), eh.timestamp = e, eh.isProcessing = !0, hg.update.process(eh), hg.preRender.process(eh), hg.render.process(eh), eh.isProcessing = !1;}didUpdate() {- this.updateScheduled || (this.updateScheduled = !0, py.read(this.scheduleUpdate));+ this.updateScheduled || (this.updateScheduled = !0, fy.read(this.scheduleUpdate));}clearAllSnapshots() {- this.nodes.forEach(Une), this.sharedNodes.forEach((e, t) => e.members.length ? e.removeLeadSnapshot() : this.sharedNodes.delete(t));+ this.nodes.forEach(Wne), this.sharedNodes.forEach((e, t) => e.members.length ? e.removeLeadSnapshot() : this.sharedNodes.delete(t));}scheduleUpdateProjection() {this.projectionUpdateScheduled || (this.projectionUpdateScheduled = !0, pg.preRender(this.updateProjection, !1, !0));@@ -19098,13 +19098,13 @@ function rb({ attachResizeListener: e, defaultParent: t, measureScroll: n, check});}updateSnapshot() {- !this.snapshot && this.instance && (this.snapshot = this.measure(), this.snapshot && !Ty(this.snapshot.measuredBox.x) && !Ty(this.snapshot.measuredBox.y) && (this.snapshot = void 0));+ !this.snapshot && this.instance && (this.snapshot = this.measure(), this.snapshot && !wy(this.snapshot.measuredBox.x) && !wy(this.snapshot.measuredBox.y) && (this.snapshot = void 0));}updateLayout() {if (!this.instance || (this.updateScroll(), !(this.options.alwaysMeasureLayout && this.isLead()) && !this.isLayoutDirty)) return;if (this.resumeFrom && !this.resumeFrom.instance) for (let e = 0; e < this.path.length; e++) this.path[e].updateScroll();let e = this.layout;- this.layout = this.measure(!1), this.layoutCorrected ||= By(), this.isLayoutDirty = !1, this.projectionDelta = void 0, this.notifyListeners("measure", this.layout.layoutBox);+ this.layout = this.measure(!1), this.layoutCorrected ||= zy(), this.isLayoutDirty = !1, this.projectionDelta = void 0, this.notifyListeners("measure", this.layout.layoutBox);let { visualElement: t } = this.options;t?.notify("LayoutMeasure", this.layout.layoutBox, e?.layoutBox);}@@ -19124,13 +19124,13 @@ function rb({ attachResizeListener: e, defaultParent: t, measureScroll: n, checkresetTransform() {if (!i) return;let e = this.isLayoutDirty || this.shouldResetTransform || this.options.alwaysMeasureLayout;- e && eb(this);- let t = this.projectionDelta && !Hy(this.projectionDelta), n = this.getTransformTemplate(), r = n ? n(this.latestValues, "") : void 0, a = r !== this.prevTransformTemplateValue;- e && this.instance && (t || Qv(this.latestValues) || a) && (i(this.instance, r), this.shouldResetTransform = !1, this.scheduleRender());+ e && $y(this);+ let t = this.projectionDelta && !Vy(this.projectionDelta), n = this.getTransformTemplate(), r = n ? n(this.latestValues, "") : void 0, a = r !== this.prevTransformTemplateValue;+ e && this.instance && (t || Zv(this.latestValues) || a) && (i(this.instance, r), this.shouldResetTransform = !1, this.scheduleRender());}measure(e = !0) {let t = this.measurePageBox(), n = this.removeElementScroll(t);- return e && (n = this.removeTransform(n)), Ane(n), {+ return e && (n = this.removeTransform(n)), jne(n), {animationId: this.root.animationId,measuredBox: t,layoutBox: n,@@ -19140,42 +19140,42 @@ function rb({ attachResizeListener: e, defaultParent: t, measureScroll: n, check}measurePageBox() {let { visualElement: e } = this.options;- if (!e) return By();+ if (!e) return zy();let t = e.measureViewportBox();- if (!(this.scroll?.wasRoot || this.path.some(tre))) {+ if (!(this.scroll?.wasRoot || this.path.some(nre))) {let { scroll: e } = this.root;- e && (cy(t.x, e.offset.x), cy(t.y, e.offset.y));+ e && (sy(t.x, e.offset.x), sy(t.y, e.offset.y));}return t;}removeElementScroll(e) {- let t = By();- if (Cy(t, e), this.scroll?.wasRoot) return t;+ let t = zy();+ if (Sy(t, e), this.scroll?.wasRoot) return t;for (let n = 0; n < this.path.length; n++) {let r = this.path[n], { scroll: i, options: a } = r;- r !== this.root && i && a.layoutScroll && (i.wasRoot && Cy(t, e), cy(t.x, i.offset.x), cy(t.y, i.offset.y));+ r !== this.root && i && a.layoutScroll && (i.wasRoot && Sy(t, e), sy(t.x, i.offset.x), sy(t.y, i.offset.y));}return t;}applyTransform(e, t = !1, n, r, i = 0) {- let a = n || By();- Cy(a, e);+ let a = n || zy();+ Sy(a, e);for (let e = i; e < this.path.length; e++) {let n = this.path[e];- !t && n.options.layoutScroll && n.scroll && n !== n.root && (cy(a.x, -n.scroll.offset.x), cy(a.y, -n.scroll.offset.y)), Qv(n.latestValues) && dy(a, n.latestValues, n.layout?.layoutBox);+ !t && n.options.layoutScroll && n.scroll && n !== n.root && (sy(a.x, -n.scroll.offset.x), sy(a.y, -n.scroll.offset.y)), Zv(n.latestValues) && uy(a, n.latestValues, n.layout?.layoutBox);}- return !r && Qv(this.latestValues) && dy(a, this.latestValues, this.layout?.layoutBox), a;+ return !r && Zv(this.latestValues) && uy(a, this.latestValues, this.layout?.layoutBox), a;}removeTransform(e) {- let t = By();- Cy(t, e);+ let t = zy();+ Sy(t, e);for (let e = 0; e < this.path.length; e++) {let n = this.path[e];- if (!Qv(n.latestValues)) continue;+ if (!Zv(n.latestValues)) continue;let r;- n.instance && (Xv(n.latestValues) && n.updateSnapshot(), r = By(), Cy(r, n.measurePageBox())), Ny(t, n.latestValues, n.snapshot?.layoutBox, r);+ n.instance && (Yv(n.latestValues) && n.updateSnapshot(), r = zy(), Sy(r, n.measurePageBox())), My(t, n.latestValues, n.snapshot?.layoutBox, r);}- return Qv(this.latestValues) && Ny(t, this.latestValues), t;+ return Zv(this.latestValues) && My(t, this.latestValues), t;}setTargetDelta(e) {this.targetDelta = e, this.root.scheduleUpdateProjection(), this.isProjectionDirty = !0;@@ -19202,16 +19202,16 @@ function rb({ attachResizeListener: e, defaultParent: t, measureScroll: n, checkif (!this.layout || !(r || i)) return;this.resolvedRelativeTargetAt = eh.timestamp;let a = this.getClosestProjectingParent();- !this.targetDelta && !this.relativeTarget && (this.options.layoutAnchor !== !1 && a && a.layout ? this.createRelativeTarget(a, this.layout.layoutBox, a.layout.layoutBox) : this.removeRelativeTarget()), (this.relativeTarget || this.targetDelta) && (this.target || (this.target = By(), this.targetWithTransforms = By()), this.relativeTarget && this.relativeTargetOrigin && this.relativeParent && this.relativeParent.target ? (this.forceRelativeParentToResolveTarget(), Ene(this.target, this.relativeTarget, this.relativeParent.target, this.options.layoutAnchor || void 0)) : this.targetDelta ? (this.resumingFrom ? this.applyTransform(this.layout.layoutBox, !1, this.target, !0) : Cy(this.target, this.layout.layoutBox), ay(this.target, this.targetDelta)) : Cy(this.target, this.layout.layoutBox), this.attemptToResolveRelativeTarget && (this.attemptToResolveRelativeTarget = !1, this.options.layoutAnchor !== !1 && a && (!a.resumingFrom == !this.resumingFrom || a.options.layoutRoot && !a.resumingFrom) && !a.options.layoutScroll && a.target && this.animationProgress !== 1 ? this.createRelativeTarget(a, this.target, a.target) : this.relativeParent = this.relativeTarget = void 0), gy.countProjection?.(1));+ !this.targetDelta && !this.relativeTarget && (this.options.layoutAnchor !== !1 && a && a.layout ? this.createRelativeTarget(a, this.layout.layoutBox, a.layout.layoutBox) : this.removeRelativeTarget()), (this.relativeTarget || this.targetDelta) && (this.target || (this.target = zy(), this.targetWithTransforms = zy()), this.relativeTarget && this.relativeTargetOrigin && this.relativeParent && this.relativeParent.target ? (this.forceRelativeParentToResolveTarget(), Dne(this.target, this.relativeTarget, this.relativeParent.target, this.options.layoutAnchor || void 0)) : this.targetDelta ? (this.resumingFrom ? this.applyTransform(this.layout.layoutBox, !1, this.target, !0) : Sy(this.target, this.layout.layoutBox), iy(this.target, this.targetDelta)) : Sy(this.target, this.layout.layoutBox), this.attemptToResolveRelativeTarget && (this.attemptToResolveRelativeTarget = !1, this.options.layoutAnchor !== !1 && a && (!a.resumingFrom == !this.resumingFrom || a.options.layoutRoot && !a.resumingFrom) && !a.options.layoutScroll && a.target && this.animationProgress !== 1 ? this.createRelativeTarget(a, this.target, a.target) : this.relativeParent = this.relativeTarget = void 0), hy.countProjection?.(1));}getClosestProjectingParent() {- if (!(!this.parent || Xv(this.parent.latestValues) || ey(this.parent.latestValues))) return this.parent.isProjecting() ? this.parent : this.parent.getClosestProjectingParent();+ if (!(!this.parent || Yv(this.parent.latestValues) || $v(this.parent.latestValues))) return this.parent.isProjecting() ? this.parent : this.parent.getClosestProjectingParent();}isProjecting() {return !!((this.relativeTarget || this.targetDelta || this.options.layoutRoot) && this.layout);}createRelativeTarget(e, t, n) {- this.relativeParent = e, this.forceRelativeParentToResolveTarget(), this.relativeTarget = By(), this.relativeTargetOrigin = By(), Ay(this.relativeTargetOrigin, t, n, this.options.layoutAnchor || void 0), Cy(this.relativeTarget, this.relativeTargetOrigin);+ this.relativeParent = e, this.forceRelativeParentToResolveTarget(), this.relativeTarget = zy(), this.relativeTargetOrigin = zy(), ky(this.relativeTargetOrigin, t, n, this.options.layoutAnchor || void 0), Sy(this.relativeTarget, this.relativeTargetOrigin);}removeRelativeTarget() {this.relativeParent = this.relativeTarget = void 0;@@ -19221,11 +19221,11 @@ function rb({ attachResizeListener: e, defaultParent: t, measureScroll: n, checkif ((this.isProjectionDirty || this.parent?.isProjectionDirty) && (n = !1), t && (this.isSharedProjectionDirty || this.isTransformDirty) && (n = !1), this.resolvedRelativeTargetAt === eh.timestamp && (n = !1), n) return;let { layout: r, layoutId: i } = this.options;if (this.isTreeAnimating = !!(this.parent?.isTreeAnimating || this.currentAnimation || this.pendingAnimation), this.isTreeAnimating || (this.targetDelta = this.relativeTarget = void 0), !this.layout || !(r || i)) return;- Cy(this.layoutCorrected, this.layout.layoutBox);+ Sy(this.layoutCorrected, this.layout.layoutBox);let a = this.treeScale.x, o = this.treeScale.y;- ane(this.layoutCorrected, this.treeScale, this.path, t && (e.relativeTarget && !e.relativeParent.resumingFrom ? e.relativeParent : !0)), e.layout && !e.target && (this.treeScale.x !== 1 || this.treeScale.y !== 1) && (e.target = e.layout.layoutBox, e.targetWithTransforms = By());+ one(this.layoutCorrected, this.treeScale, this.path, t && (e.relativeTarget && !e.relativeParent.resumingFrom ? e.relativeParent : !0)), e.layout && !e.target && (this.treeScale.x !== 1 || this.treeScale.y !== 1) && (e.target = e.layout.layoutBox, e.targetWithTransforms = zy());let { target: s } = e;- s ? (!this.projectionDelta || !this.prevProjectionDelta ? this.createProjectionDeltas() : (wy(this.prevProjectionDelta.x, this.projectionDelta.x), wy(this.prevProjectionDelta.y, this.projectionDelta.y)), Dy(this.projectionDelta, this.layoutCorrected, s, this.latestValues), this.treeScale.x === a && this.treeScale.y === o && qy(this.projectionDelta.x, this.prevProjectionDelta.x) && qy(this.projectionDelta.y, this.prevProjectionDelta.y) || (this.hasProjected = !0, this.scheduleRender(), this.notifyListeners("projectionUpdate", s)), gy.countProjection?.(2)) : this.prevProjectionDelta && (this.createProjectionDeltas(), this.scheduleRender());+ s ? (!this.projectionDelta || !this.prevProjectionDelta ? this.createProjectionDeltas() : (Cy(this.prevProjectionDelta.x, this.projectionDelta.x), Cy(this.prevProjectionDelta.y, this.projectionDelta.y)), Ey(this.projectionDelta, this.layoutCorrected, s, this.latestValues), this.treeScale.x === a && this.treeScale.y === o && Ky(this.projectionDelta.x, this.prevProjectionDelta.x) && Ky(this.projectionDelta.y, this.prevProjectionDelta.y) || (this.hasProjected = !0, this.scheduleRender(), this.notifyListeners("projectionUpdate", s)), hy.countProjection?.(2)) : this.prevProjectionDelta && (this.createProjectionDeltas(), this.scheduleRender());}hide() {this.isVisible = !1;@@ -19237,22 +19237,22 @@ function rb({ attachResizeListener: e, defaultParent: t, measureScroll: n, checkthis.options.visualElement?.scheduleRender(), e && this.getStack()?.scheduleRender(), this.resumingFrom && !this.resumingFrom.instance && (this.resumingFrom = void 0);}createProjectionDeltas() {- this.prevProjectionDelta = Ry(), this.projectionDelta = Ry(), this.projectionDeltaWithTransform = Ry();+ this.prevProjectionDelta = Ly(), this.projectionDelta = Ly(), this.projectionDeltaWithTransform = Ly();}setAnimationOrigin(e, t = !1, n) {- let r = this.snapshot, i = r ? r.latestValues : {}, a = { ...this.latestValues }, o = Ry();+ let r = this.snapshot, i = r ? r.latestValues : {}, a = { ...this.latestValues }, o = Ly();this.relativeParent && this.relativeParent.options.layoutRoot || (this.relativeTarget = this.relativeTargetOrigin = void 0), this.attemptToResolveRelativeTarget = !t;- let s = By(), c = r?.source !== this.layout?.source, l = this.getStack(), u = !l || l.members.length <= 1, d = !(!c || u || this.options.crossfade !== !0 || this.path.some($ne));+ let s = zy(), c = r?.source !== this.layout?.source, l = this.getStack(), u = !l || l.members.length <= 1, d = !(!c || u || this.options.crossfade !== !0 || this.path.some(ere));this.animationProgress = 0;let f, p = n?.interpolateProjection(e);this.mixTargetDelta = (t) => {let n = t / 1e3, r = p?.(n);- sb(o.x, e.x, n), sb(o.y, e.y, n), r && (o.x.translate = r.x, o.y.translate = r.y), this.setTargetDelta(o), this.relativeTarget && this.relativeTargetOrigin && this.layout && this.relativeParent && this.relativeParent.layout && (Ay(s, this.layout.layoutBox, this.relativeParent.layout.layoutBox, this.options.layoutAnchor || void 0), Qne(this.relativeTarget, this.relativeTargetOrigin, s, n), f && jne(this.relativeTarget, f) && (this.isProjectionDirty = !1), f ||= By(), Cy(f, this.relativeTarget)), c && (this.animationValues = a, vne(a, i, this.latestValues, n, d, u)), r?.rotate !== void 0 && (this.animationValues ||= a, this.animationValues.pathRotation = r.rotate), this.root.scheduleUpdateProjection(), this.scheduleRender(), this.animationProgress = n;+ ob(o.x, e.x, n), ob(o.y, e.y, n), r && (o.x.translate = r.x, o.y.translate = r.y), this.setTargetDelta(o), this.relativeTarget && this.relativeTargetOrigin && this.layout && this.relativeParent && this.relativeParent.layout && (ky(s, this.layout.layoutBox, this.relativeParent.layout.layoutBox, this.options.layoutAnchor || void 0), $ne(this.relativeTarget, this.relativeTargetOrigin, s, n), f && Mne(this.relativeTarget, f) && (this.isProjectionDirty = !1), f ||= zy(), Sy(f, this.relativeTarget)), c && (this.animationValues = a, yne(a, i, this.latestValues, n, d, u)), r?.rotate !== void 0 && (this.animationValues ||= a, this.animationValues.pathRotation = r.rotate), this.root.scheduleUpdateProjection(), this.scheduleRender(), this.animationProgress = n;}, this.mixTargetDelta(this.options.layoutRoot ? 1e3 : 0);}startAnimation(e) {this.notifyListeners("animationStart"), this.currentAnimation?.stop(), this.resumingFrom?.currentAnimation?.stop(), this.pendingAnimation &&= (mg(this.pendingAnimation), void 0), this.pendingAnimation = pg.update(() => {- Zy.hasAnimatedSinceResize = !0, this.motionValue ||= lv(0), this.motionValue.jump(0, !1), this.currentAnimation = my(this.motionValue, [0, 1e3], {+ Xy.hasAnimatedSinceResize = !0, this.motionValue ||= cv(0), this.motionValue.jump(0, !1), this.currentAnimation = py(this.motionValue, [0, 1e3], {...e,velocity: 0,isSync: !0,@@ -19262,7 +19262,7 @@ function rb({ attachResizeListener: e, defaultParent: t, measureScroll: n, checkonComplete: () => {e.onComplete && e.onComplete(), this.completeAnimation();}- }), kee(this.currentAnimation, this), this.resumingFrom && (this.resumingFrom.currentAnimation = this.currentAnimation), this.pendingAnimation = void 0;+ }), Aee(this.currentAnimation, this), this.resumingFrom && (this.resumingFrom.currentAnimation = this.currentAnimation), this.pendingAnimation = void 0;});}completeAnimation() {@@ -19271,20 +19271,20 @@ function rb({ attachResizeListener: e, defaultParent: t, measureScroll: n, checke && e.exitAnimationComplete(), this.resumingFrom = this.currentAnimation = this.animationValues = void 0, this.notifyListeners("animationComplete");}finishAnimation() {- this.currentAnimation && (this.mixTargetDelta?.(Lne), this.currentAnimation.stop()), this.completeAnimation();+ this.currentAnimation && (this.mixTargetDelta?.(Rne), this.currentAnimation.stop()), this.completeAnimation();}applyTransformsToTarget() {let e = this.getLead(), { targetWithTransforms: t, layout: n, latestValues: r } = e, { target: i } = e;if (t && i && n) {- if (this !== e && this.layout && n && ub(this.options.animationType, this.layout.layoutBox, n.layoutBox)) {+ if (this !== e && this.layout && n && lb(this.options.animationType, this.layout.layoutBox, n.layoutBox)) {let { layoutBox: e } = this.layout, t = i;- i = this.target || By(), lb(i.x, t.x, e.x), lb(i.y, t.y, e.y);+ i = this.target || zy(), cb(i.x, t.x, e.x), cb(i.y, t.y, e.y);}- Cy(t, i), dy(t, r), Dy(this.projectionDeltaWithTransform, this.layoutCorrected, t, r);+ Sy(t, i), uy(t, r), Ey(this.projectionDeltaWithTransform, this.layoutCorrected, t, r);}}registerSharedNode(e, t) {- this.sharedNodes.has(e) || this.sharedNodes.set(e, new Mne()), this.sharedNodes.get(e).add(t);+ this.sharedNodes.has(e) || this.sharedNodes.set(e, new Nne()), this.sharedNodes.get(e).add(t);let n = t.options.initialPromotionConfig;t.promote({transition: n?.transition,@@ -19317,10 +19317,10 @@ function rb({ attachResizeListener: e, defaultParent: t, measureScroll: n, checklet { visualElement: e } = this.options;if (!e) return;let { latestValues: t } = e;- if (!$v(t)) return;+ if (!Qv(t)) return;let n = {};- for (let t = 0; t < Qy.length; t++) $y(Qy[t], e, n, this.animationValues);- for (let t = 0; t < Zv.length; t++) $y(Zv[t], e, n, this.animationValues);+ for (let t = 0; t < Zy.length; t++) Qy(Zy[t], e, n, this.animationValues);+ for (let t = 0; t < Xv.length; t++) Qy(Xv[t], e, n, this.animationValues);e.render();for (let t in n) e.setStaticValue(t, n[t]), this.animationValues && (this.animationValues[t] = n[t]);e.scheduleRender();@@ -19334,70 +19334,70 @@ function rb({ attachResizeListener: e, defaultParent: t, measureScroll: n, check}let r = this.getTransformTemplate();if (this.needsReset) {- this.needsReset = !1, e.visibility = "", e.opacity = "", e.pointerEvents = _y(t?.pointerEvents) || "", e.transform = r ? r(this.latestValues, "") : "none";+ this.needsReset = !1, e.visibility = "", e.opacity = "", e.pointerEvents = gy(t?.pointerEvents) || "", e.transform = r ? r(this.latestValues, "") : "none";return;}if (!this.projectionDelta || !this.layout || !n.target) {- (this.options.layoutId || this.needsShow) && (this.needsShow = !1, e.visibility = "", e.opacity = this.latestValues.opacity === void 0 ? 1 : this.latestValues.opacity, e.pointerEvents = _y(t?.pointerEvents) || ""), this.hasProjected && !Qv(this.latestValues) && (e.transform = r ? r({}, "") : "none", this.hasProjected = !1);+ (this.options.layoutId || this.needsShow) && (this.needsShow = !1, e.visibility = "", e.opacity = this.latestValues.opacity === void 0 ? 1 : this.latestValues.opacity, e.pointerEvents = gy(t?.pointerEvents) || ""), this.hasProjected && !Zv(this.latestValues) && (e.transform = r ? r({}, "") : "none", this.hasProjected = !1);return;}e.visibility = "";let i = n.animationValues || n.latestValues;this.applyTransformsToTarget();- let a = Pne(this.projectionDeltaWithTransform, this.treeScale, i);+ let a = Fne(this.projectionDeltaWithTransform, this.treeScale, i);r && (a = r(i, a)), e.transform = a;let { x: o, y: s } = this.projectionDelta;e.transformOrigin = `${o.origin * 100}% ${s.origin * 100}% 0`, e.opacity = n.animationValues ? n === this ? i.opacity ?? this.latestValues.opacity ?? 1 : this.preserveOpacity ? this.latestValues.opacity : i.opacityExit : n === this ? i.opacity === void 0 ? "" : i.opacity : i.opacityExit === void 0 ? 0 : i.opacityExit;- for (let t in hy) {+ for (let t in my) {if (i[t] === void 0) continue;- let { correct: r, applyTo: o, isCSSVariable: s } = hy[t], c = a === "none" ? i[t] : r(i[t], n);+ let { correct: r, applyTo: o, isCSSVariable: s } = my[t], c = a === "none" ? i[t] : r(i[t], n);if (o) {let t = o.length;for (let n = 0; n < t; n++) e[o[n]] = c;} else s ? this.options.visualElement.renderState.vars[t] = c : e[t] = c;}- this.options.layoutId && (e.pointerEvents = n === this ? _y(t?.pointerEvents) || "" : "none");+ this.options.layoutId && (e.pointerEvents = n === this ? gy(t?.pointerEvents) || "" : "none");}clearSnapshot() {this.resumeFrom = this.snapshot = this.dragSnapshot = this.dragAncestor = void 0;}resetTree() {- this.root.nodes.forEach((e) => e.currentAnimation?.stop()), this.root.nodes.forEach(ib), this.root.sharedNodes.clear();+ this.root.nodes.forEach((e) => e.currentAnimation?.stop()), this.root.nodes.forEach(rb), this.root.sharedNodes.clear();}};}-function zne(e) {- e.updateLayout(), Gne(e);-}function Bne(e) {+ e.updateLayout(), Kne(e);+}+function Vne(e) {let t = e.resumeFrom?.snapshot || e.snapshot;if (e.isLead() && e.layout && t && e.hasListeners("didUpdate")) {let { layoutBox: n, measuredBox: r } = e.layout, { animationType: i } = e.options, a = t.source !== e.layout.source, o = (r, a) => {- if (i === "size") Xy((e) => {- let t = Ty(r[e]);+ if (i === "size") Yy((e) => {+ let t = wy(r[e]);r[e].min = a[e].min, r[e].max = r[e].min + t;});else if (i === "x" || i === "y") {let e = i === "x" ? "y" : "x";- Sy(r[e], a[e]);- } else ub(i, t.layoutBox, n) && Xy((t) => {- let n = Ty(a[t]);+ xy(r[e], a[e]);+ } else lb(i, t.layoutBox, n) && Yy((t) => {+ let n = wy(a[t]);r[t].max = r[t].min + n, e.relativeTarget && !e.currentAnimation && (e.isProjectionDirty = !0, e.relativeTarget[t].max = e.relativeTarget[t].min + n);});}, s = a ? t.measuredBox : t.layoutBox;o(s, n);- let c = Ry();- Dy(c, n, t.layoutBox);- let l = Ry();- Dy(l, a ? e.applyTransform(r, !0) : n, s);- let u = !Hy(c), d = !1, f = e.getClosestProjectingParent();+ let c = Ly();+ Ey(c, n, t.layoutBox);+ let l = Ly();+ Ey(l, a ? e.applyTransform(r, !0) : n, s);+ let u = !Vy(c), d = !1, f = e.getClosestProjectingParent();if ((!e.resumeFrom || f?.options.layoutRoot && e.resumeFrom.path.includes(f)) && f && !f.resumeFrom) {let { snapshot: r, layout: i } = f;if (r && i) {- let s = e.options.layoutAnchor || void 0, c = By();- Ay(c, a ? e.resumeFrom.applyTransform(t.layoutBox, !0, void 0, !0, f.depth + 1) : t.layoutBox, r.layoutBox, s);- let l = By();- Ay(l, n, i.layoutBox, s), a && o(c, l), Gy(c, l) || (d = !0), f.options.layoutRoot && (e.relativeTarget = l, e.relativeTargetOrigin = c, e.relativeParent = f);+ let s = e.options.layoutAnchor || void 0, c = zy();+ ky(c, a ? e.resumeFrom.applyTransform(t.layoutBox, !0, void 0, !0, f.depth + 1) : t.layoutBox, r.layoutBox, s);+ let l = zy();+ ky(l, n, i.layoutBox, s), a && o(c, l), Wy(c, l) || (d = !0), f.options.layoutRoot && (e.relativeTarget = l, e.relativeTargetOrigin = c, e.relativeParent = f);}}e.notifyListeners("didUpdate", {@@ -19411,65 +19411,65 @@ function Bne(e) {} else e.isLead() && e.options.onExitComplete?.();e.options.transition = void 0;}-function Vne(e) {- gy.countProjection?.(0), e.parent && (e.isProjecting() || (e.isProjectionDirty = e.parent.isProjectionDirty), e.isSharedProjectionDirty ||= !!(e.isProjectionDirty || e.parent.isProjectionDirty || e.parent.isSharedProjectionDirty), e.isTransformDirty ||= e.parent.isTransformDirty);-}function Hne(e) {- e.isProjectionDirty = e.isSharedProjectionDirty = e.isTransformDirty = !1;+ hy.countProjection?.(0), e.parent && (e.isProjecting() || (e.isProjectionDirty = e.parent.isProjectionDirty), e.isSharedProjectionDirty ||= !!(e.isProjectionDirty || e.parent.isProjectionDirty || e.parent.isSharedProjectionDirty), e.isTransformDirty ||= e.parent.isTransformDirty);}function Une(e) {+ e.isProjectionDirty = e.isSharedProjectionDirty = e.isTransformDirty = !1;+}+function Wne(e) {e.clearSnapshot();}-function ib(e) {+function rb(e) {e.clearMeasurements();}-function Wne(e) {+function Gne(e) {e.isLayoutDirty = !0, e.updateLayout();}-function ab(e) {+function ib(e) {e.isLayoutDirty = !1;}-function Gne(e) {+function Kne(e) {let { snapshot: t, dragAncestor: n } = e, r = n?.isAnimationBlocked && n.layout;if (!t || !r || e.resumeFrom || e.isAnimationBlocked) return;let i = n.dragSnapshot;- Xy((e) => cy(t.layoutBox[e], r.layoutBox[e].min - i.layoutBox[e].min));+ Yy((e) => sy(t.layoutBox[e], r.layoutBox[e].min - i.layoutBox[e].min));}-function Kne(e) {+function qne(e) {e.isAnimationBlocked && e.layout && !e.isLayoutDirty && (e.snapshot = e.dragSnapshot || e.layout, e.isLayoutDirty = !0);}-function qne(e) {+function Jne(e) {e.relativeTarget && e.relativeParent?.isLayoutDirty && (e.currentAnimation ? e.isLayoutDirty = !0 : (e.targetDelta = void 0, e.removeRelativeTarget()));}-function Jne(e) {+function Yne(e) {let { visualElement: t } = e.options;t?.getProps().onBeforeLayoutMeasure && t.notify("BeforeLayoutMeasure"), e.resetTransform();}-function ob(e) {+function ab(e) {e.finishAnimation(), e.targetDelta = e.relativeTarget = e.target = void 0, e.isProjectionDirty = !0;}-function Yne(e) {+function Xne(e) {e.resolveTargetDelta();}-function Xne(e) {+function Zne(e) {e.calcProjection();}-function Zne(e) {+function Qne(e) {e.resetSkewAndRotation();}-function sb(e, t, n) {+function ob(e, t, n) {e.translate = ng(t.translate, 0, n), e.scale = ng(t.scale, 1, n), e.origin = t.origin, e.originPoint = t.originPoint;}-function cb(e, t, n, r) {+function sb(e, t, n, r) {e.min = ng(t.min, n.min, r), e.max = ng(t.max, n.max, r);}-function Qne(e, t, n, r) {- cb(e.x, t.x, n.x, r), cb(e.y, t.y, n.y, r);+function $ne(e, t, n, r) {+ sb(e.x, t.x, n.x, r), sb(e.y, t.y, n.y, r);}-function $ne(e) {+function ere(e) {return e.animationValues?.opacityExit !== void 0;}-var ere = {+var tre = {duration: .45,ease: [.4,@@ -19478,51 +19478,51 @@ var ere = {1]};-function lb(e, t, n) {- e.max = Ty(n) + (e.min = t.min);+function cb(e, t, n) {+ e.max = wy(n) + (e.min = t.min);}-function ub(e, t, n) {- return e === "position" || e === "preserve-aspect" && !Tne(Ky(t), Ky(n), .2);+function lb(e, t, n) {+ return e === "position" || e === "preserve-aspect" && !Ene(Gy(t), Gy(n), .2);}-function tre(e) {+function nre(e) {return e !== e.root && e.scroll?.wasRoot;}// node_modules/motion-dom/dist/es/events/add-dom-event.mjs-function db(e, t, n, r = { passive: !0 }) {+function ub(e, t, n, r = { passive: !0 }) {return e.addEventListener(t, n, r), () => e.removeEventListener(t, n, r);}// node_modules/motion-dom/dist/es/projection/node/DocumentProjectionNode.mjs-var nre = /* @__PURE__ */ rb({- attachResizeListener: (e, t) => db(e, "resize", t),- measureScroll: sne,+var rre = /* @__PURE__ */ nb({+ attachResizeListener: (e, t) => ub(e, "resize", t),+ measureScroll: cne,checkIsScrollRoot: () => !0-}), fb = { current: void 0 }, pb = /* @__PURE__ */ rb({+}), db = { current: void 0 }, fb = /* @__PURE__ */ nb({measureScroll: (e) => ({x: e.scrollLeft,y: e.scrollTop}),defaultParent: () => {- if (!fb.current) {- let e = new nre({});- e.mount(window), e.setOptions({ layoutScroll: !0 }), fb.current = e;+ if (!db.current) {+ let e = new rre({});+ e.mount(window), e.setOptions({ layoutScroll: !0 }), db.current = e;}- return fb.current;+ return db.current;},resetTransform: (e, t) => {e.style.transform = t === void 0 ? "none" : t;},checkIsScrollRoot: (e) => window.getComputedStyle(e).position === "fixed"-}), mb = /* @__PURE__ */ new WeakMap();+}), pb = /* @__PURE__ */ new WeakMap();// node_modules/motion-dom/dist/es/render/utils/is-animation-controls.mjs-function hb(e) {+function mb(e) {return typeof e == "object" && !!e && typeof e.start == "function";}// node_modules/motion-dom/dist/es/render/utils/is-variant-label.mjs-function gb(e) {+function hb(e) {return typeof e == "string" || Array.isArray(e);}// node_modules/motion-dom/dist/es/render/utils/variant-props.mjs-var _b = [+var gb = ["animate","whileInView","whileFocus",@@ -19530,29 +19530,29 @@ var _b = ["whileTap","whileDrag","exit"-], vb = /* @__PURE__ */ ["initial"].concat(_b);+], _b = /* @__PURE__ */ ["initial"].concat(gb);// node_modules/motion-dom/dist/es/render/utils/is-controlling-variants.mjs-function yb(e) {- if (hb(e.animate)) return !0;- for (let t = 0; t < vb.length; t++) if (gb(e[vb[t]])) return !0;+function vb(e) {+ if (mb(e.animate)) return !0;+ for (let t = 0; t < _b.length; t++) if (hb(e[_b[t]])) return !0;return !1;}-function bb(e) {- return !!(yb(e) || e.variants);+function yb(e) {+ return !!(vb(e) || e.variants);}// node_modules/motion-dom/dist/es/render/utils/motion-values.mjs-function rre(e, t, n) {+function ire(e, t, n) {for (let r in t) {let i = t[r], a = n[r];- if (vv(i)) e.addValue(r, i);- else if (vv(a)) e.addValue(r, lv(i, { owner: e }));+ if (_v(i)) e.addValue(r, i);+ else if (_v(a)) e.addValue(r, cv(i, { owner: e }));else if (a !== i) {if (e.hasValue(r)) {let t = e.getValue(r);t.liveStyle === !0 ? t.jump(i) : t.hasAnimated || t.set(i);} else {let t = e.getStaticValue(r);- e.addValue(r, lv(t === void 0 ? i : t, { owner: e }));+ e.addValue(r, cv(t === void 0 ? i : t, { owner: e }));}}}@@ -19560,17 +19560,17 @@ function rre(e, t, n) {return t;}// node_modules/motion-dom/dist/es/render/utils/reduced-motion/state.mjs-var xb = { current: null }, Sb = { current: !1 }, ire = typeof window < "u";-function Cb() {- if (Sb.current = !0, ire) {+var bb = { current: null }, xb = { current: !1 }, are = typeof window < "u";+function Sb() {+ if (xb.current = !0, are) {if (window.matchMedia) {- let e = window.matchMedia("(prefers-reduced-motion)"), t = () => xb.current = e.matches;+ let e = window.matchMedia("(prefers-reduced-motion)"), t = () => bb.current = e.matches;e.addEventListener("change", t), t();- } else xb.current = !1;+ } else bb.current = !1;}}// node_modules/motion-dom/dist/es/render/VisualElement.mjs-var wb = [+var Cb = ["AnimationStart","AnimationComplete","Update",@@ -19578,35 +19578,35 @@ var wb = ["LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"-], Tb = {};-function Eb(e) {- Tb = e;+], wb = {};+function Tb(e) {+ wb = e;}-function are() {- return Tb;+function ore() {+ return wb;}-var ore = class {+var sre = class {scrapeMotionValuesFromProps(e, t, n) {return {};}constructor({ parent: e, props: t, presenceContext: n, reducedMotionConfig: r, skipAnimations: i, blockInitialAnimation: a, visualState: o }, s = {}) {- this.current = null, this.children = /* @__PURE__ */ new Set(), this.isVariantNode = !1, this.isControllingVariants = !1, this.shouldReduceMotion = null, this.shouldSkipAnimations = !1, this.values = /* @__PURE__ */ new Map(), this.KeyframeResolver = T_, this.features = {}, this.valueSubscriptions = /* @__PURE__ */ new Map(), this.prevMotionValues = {}, this.hasBeenMounted = !1, this.events = {}, this.propEventSubscriptions = {}, this.notifyUpdate = () => this.notify("Update", this.latestValues), this.render = () => {+ this.current = null, this.children = /* @__PURE__ */ new Set(), this.isVariantNode = !1, this.isControllingVariants = !1, this.shouldReduceMotion = null, this.shouldSkipAnimations = !1, this.values = /* @__PURE__ */ new Map(), this.KeyframeResolver = w_, this.features = {}, this.valueSubscriptions = /* @__PURE__ */ new Map(), this.prevMotionValues = {}, this.hasBeenMounted = !1, this.events = {}, this.propEventSubscriptions = {}, this.notifyUpdate = () => this.notify("Update", this.latestValues), this.render = () => {this.current && (this.triggerBuild(), this.renderInstance(this.current, this.renderState, this.props.style, this.projection));}, this.renderScheduledAt = 0, this.scheduleRender = () => {let e = rh.now();this.renderScheduledAt < e && (this.renderScheduledAt = e, pg.render(this.render, !1, !0));};let { latestValues: c, renderState: l } = o;- this.latestValues = c, this.baseTarget = { ...c }, this.initialValues = t.initial ? { ...c } : {}, this.renderState = l, this.parent = e, this.props = t, this.presenceContext = n, this.depth = e ? e.depth + 1 : 0, this.reducedMotionConfig = r, this.skipAnimationsConfig = i, this.options = s, this.blockInitialAnimation = !!a, this.isControllingVariants = yb(t), this.isVariantNode = bb(t), this.isVariantNode && (this.variantChildren = /* @__PURE__ */ new Set()), this.manuallyAnimateOnMount = !!(e && e.current);+ this.latestValues = c, this.baseTarget = { ...c }, this.initialValues = t.initial ? { ...c } : {}, this.renderState = l, this.parent = e, this.props = t, this.presenceContext = n, this.depth = e ? e.depth + 1 : 0, this.reducedMotionConfig = r, this.skipAnimationsConfig = i, this.options = s, this.blockInitialAnimation = !!a, this.isControllingVariants = vb(t), this.isVariantNode = yb(t), this.isVariantNode && (this.variantChildren = /* @__PURE__ */ new Set()), this.manuallyAnimateOnMount = !!(e && e.current);let { willChange: u, ...d } = this.scrapeMotionValuesFromProps(t, {}, this);for (let e in d) {let t = d[e];- c[e] !== void 0 && vv(t) && t.set(c[e]);+ c[e] !== void 0 && _v(t) && t.set(c[e]);}}mount(e) {if (this.hasBeenMounted && !this.presenceContext?.keepValuesOnRemount) for (let e in this.initialValues) this.values.get(e)?.jump(this.initialValues[e]), this.latestValues[e] = this.initialValues[e];- if (this.current = e, mb.set(e, this), this.projection?.instance || this.projection?.mount(e), this.isVariantNode && !this.isControllingVariants) {+ if (this.current = e, pb.set(e, this), this.projection?.instance || this.projection?.mount(e), this.isVariantNode && !this.isControllingVariants) {let e = this;doe = e.props.inherit !== !1 && e.parent;@@ -19616,7 +19616,7 @@ var ore = class {t.add(this), this.removeFromVariantTree = () => t.delete(this);}}- this.values.forEach((e, t) => this.bindToMotionValue(t, e)), this.reducedMotionConfig === "never" ? this.shouldReduceMotion = !1 : this.reducedMotionConfig === "always" ? this.shouldReduceMotion = !0 : (Sb.current || Cb(), this.shouldReduceMotion = xb.current), this.shouldSkipAnimations = this.skipAnimationsConfig ?? !1, this.parent?.addChild(this), this.update(this.props, this.presenceContext), this.hasBeenMounted = !0;+ this.values.forEach((e, t) => this.bindToMotionValue(t, e)), this.reducedMotionConfig === "never" ? this.shouldReduceMotion = !1 : this.reducedMotionConfig === "always" ? this.shouldReduceMotion = !0 : (xb.current || Sb(), this.shouldReduceMotion = bb.current), this.shouldSkipAnimations = this.skipAnimationsConfig ?? !1, this.parent?.addChild(this), this.update(this.props, this.presenceContext), this.hasBeenMounted = !0;}unmount() {this.projection?.unmount(), mg(this.notifyUpdate), mg(this.render), this.valueSubscriptions.forEach((e) => e()), this.valueSubscriptions.clear(), this.removeFromVariantTree?.(), this.parent?.removeChild(this);@@ -19634,8 +19634,8 @@ var ore = class {this.children.delete(e), this.enteringChildren?.delete(e);}bindToMotionValue(e, t) {- if (this.valueSubscriptions.get(e)?.(), t.accelerate && R_.has(e) && this.current instanceof HTMLElement) {- let { factory: n, keyframes: r, times: i, ease: a, duration: o } = t.accelerate, s = new P_({+ if (this.valueSubscriptions.get(e)?.(), t.accelerate && L_.has(e) && this.current instanceof HTMLElement) {+ let { factory: n, keyframes: r, times: i, ease: a, duration: o } = t.accelerate, s = new N_({element: this.current,name: e,keyframes: r,@@ -19648,10 +19648,10 @@ var ore = class {});return;}- let n = p_.has(e);+ let n = f_.has(e);n && this.onBindTransform && this.onBindTransform();let r = t.on("change", (t) => {- this.latestValues[e] = t, this.props.onUpdate && pg.preRender(this.notifyUpdate), n && (this.projection && (this.projection.isTransformDirty = !0), q_.get(this.current)?.check()), this.scheduleRender();+ this.latestValues[e] = t, this.props.onUpdate && pg.preRender(this.notifyUpdate), n && (this.projection && (this.projection.isTransformDirty = !0), K_.get(this.current)?.check()), this.scheduleRender();}), i;typeof window < "u" && window.MotionCheckAppearSync && (i = window.MotionCheckAppearSync(this, e, t)), this.valueSubscriptions.set(e, () => {r(), i?.();@@ -19662,8 +19662,8 @@ var ore = class {}updateFeatures() {let e = "animation";- for (e in Tb) {- let t = Tb[e];+ for (e in wb) {+ let t = wb[e];if (!t) continue;let { isEnabled: n, Feature: r } = t;if (!this.features[e] && r && n(this.props) && (this.features[e] = new r(this)), this.features[e]) {@@ -19676,7 +19676,7 @@ var ore = class {this.build(this.renderState, this.latestValues, this.props);}measureViewportBox() {- return this.current ? this.measureInstanceViewportBox(this.current, this.props) : By();+ return this.current ? this.measureInstanceViewportBox(this.current, this.props) : zy();}getStaticValue(e) {return this.latestValues[e];@@ -19686,14 +19686,14 @@ var ore = class {}update(e, t) {let { transformTemplate: n, onUpdate: r } = this.props;- (e.transformTemplate || n) && this.scheduleRender(), (e.transformTemplate && !n || e.onUpdate && !r) && q_.get(this.current)?.demote(), this.prevProps = this.props, this.props = e, this.prevPresenceContext = this.presenceContext, this.presenceContext = t;- for (let t = 0; t < wb.length; t++) {- let n = wb[t];+ (e.transformTemplate || n) && this.scheduleRender(), (e.transformTemplate && !n || e.onUpdate && !r) && K_.get(this.current)?.demote(), this.prevProps = this.props, this.props = e, this.prevPresenceContext = this.presenceContext, this.presenceContext = t;+ for (let t = 0; t < Cb.length; t++) {+ let n = Cb[t];this.propEventSubscriptions[n]?.(), delete this.propEventSubscriptions[n];let r = e["on" + n];r && (this.propEventSubscriptions[n] = this.on(n, r));}- this.prevMotionValues = rre(this, this.scrapeMotionValuesFromProps(e, this.prevProps || {}, this), this.prevMotionValues), this.handleChildMotionValue?.();+ this.prevMotionValues = ire(this, this.scrapeMotionValuesFromProps(e, this.prevProps || {}, this), this.prevMotionValues), this.handleChildMotionValue?.();}getProps() {return this.props;@@ -19723,11 +19723,11 @@ var ore = class {}getValue(e, t) {let n = this.props.values?.[e];- return n || (n = this.values.get(e), n === void 0 && t !== void 0 && (n = lv(t ?? this.getDefaultValue?.(e), { owner: this }), this.addValue(e, n)), n);+ return n || (n = this.values.get(e), n === void 0 && t !== void 0 && (n = cv(t ?? this.getDefaultValue?.(e), { owner: this }), this.addValue(e, n)), n);}readValue(e, t) {let n = this.latestValues[e] !== void 0 || !this.current ? this.latestValues[e] : this.getBaseTargetFromProps(this.props, e) ?? this.readValueFromInstance(this.current, e, this.options);- return n != null && (typeof n == "string" && (Sm(n) || wm(n)) ? n = parseFloat(n) : typeof n != "number" && !Qh.test(n) && Qh.test(t) && (n = t_(e, t)), this.setBaseTarget(e, vv(n) ? n.get() : n)), vv(n) ? n.get() : n;+ return n != null && (typeof n == "string" && (Sm(n) || wm(n)) ? n = parseFloat(n) : typeof n != "number" && !Qh.test(n) && Qh.test(t) && (n = e_(e, t)), this.setBaseTarget(e, _v(n) ? n.get() : n)), _v(n) ? n.get() : n;}setBaseTarget(e, t) {this.baseTarget[e] = t;@@ -19739,11 +19739,11 @@ var ore = class {this.events[e]?.notify(...t);}scheduleRenderMicrotask() {- py.render(this.render);+ fy.render(this.render);}-}, Db = class extends ore {+}, Eb = class extends sre {constructor() {- super(...arguments), this.KeyframeResolver = Tv;+ super(...arguments), this.KeyframeResolver = wv;}sortInstanceNodePosition(e, t) {return e.compareDocumentPosition(t) & 2 ? 1 : -1;@@ -19758,105 +19758,105 @@ var ore = class {handleChildMotionValue() {this.childSubscription && (this.childSubscription(), delete this.childSubscription);let { children: e } = this.props;- vv(e) && (this.childSubscription = e.on("change", (e) => {+ _v(e) && (this.childSubscription = e.on("change", (e) => {this.current && (this.current.textContent = `${e}`);}));}};// node_modules/motion-dom/dist/es/render/html/utils/render.mjs-function Ob(e, { style: t, vars: n }, r, i) {+function Db(e, { style: t, vars: n }, r, i) {let a = e.style, o;for (o in t) a[o] = t[o];for (o in i?.applyProjectionStyles(a, r), n) a.setProperty(o, n[o]);}// node_modules/motion-dom/dist/es/render/utils/is-forced-motion-value.mjs-function kb(e, { layout: t, layoutId: n }) {- return p_.has(e) || e.startsWith("origin") || (t || n !== void 0) && (!!hy[e] || e === "opacity");+function Ob(e, { layout: t, layoutId: n }) {+ return f_.has(e) || e.startsWith("origin") || (t || n !== void 0) && (!!my[e] || e === "opacity");}// node_modules/motion-dom/dist/es/render/html/utils/scrape-motion-values.mjs-function Ab(e, t, n) {+function kb(e, t, n) {let r = e.style, i = t?.style, a = {};if (!r) return a;- for (let t in r) (vv(r[t]) || i && vv(i[t]) || kb(t, e) || n?.getValue(t)?.liveStyle !== void 0) && (a[t] = r[t]);+ for (let t in r) (_v(r[t]) || i && _v(i[t]) || Ob(t, e) || n?.getValue(t)?.liveStyle !== void 0) && (a[t] = r[t]);return a;}// node_modules/motion-dom/dist/es/render/html/HTMLVisualElement.mjs-function sre(e) {+function cre(e) {return window.getComputedStyle(e);}-var cre = class extends Db {+var lre = class extends Eb {constructor() {- super(...arguments), this.type = "html", this.renderInstance = Ob;+ super(...arguments), this.type = "html", this.renderInstance = Db;}mount(e) {super.mount(e);}readValueFromInstance(e, t) {- if (p_.has(t)) return this.projection?.isProjecting ? l_(t) : d_(e, t);+ if (f_.has(t)) return this.projection?.isProjecting ? c_(t) : u_(e, t);{- let n = sre(e), r = (oh(t) ? n.getPropertyValue(t) : n[t]) || 0;+ let n = cre(e), r = (oh(t) ? n.getPropertyValue(t) : n[t]) || 0;return typeof r == "string" ? r.trim() : r;}}measureInstanceViewportBox(e, { transformPagePoint: t }) {- return fy(e, t);+ return dy(e, t);}build(e, t, n) {- Uv(e, t, n.transformTemplate);+ Hv(e, t, n.transformTemplate);}scrapeMotionValuesFromProps(e, t, n) {- return Ab(e, t, n);+ return kb(e, t, n);}-}, jb = (e) => e.pointerType === "mouse" ? typeof e.button != "number" || e.button <= 0 : e.isPrimary !== !1;+}, Ab = (e) => e.pointerType === "mouse" ? typeof e.button != "number" || e.button <= 0 : e.isPrimary !== !1;// node_modules/motion-dom/dist/es/events/event-info.mjs-function Mb(e) {+function jb(e) {return { point: {x: e.pageX,y: e.pageY} };}-var lre = (e) => (t) => jb(t) && e(t, Mb(t));+var ure = (e) => (t) => Ab(t) && e(t, jb(t));// node_modules/motion-dom/dist/es/events/add-pointer-event.mjs-function Nb(e, t, n, r) {- return db(e, t, lre(n), r);+function Mb(e, t, n, r) {+ return ub(e, t, ure(n), r);}// node_modules/motion-dom/dist/es/resize/handle-element.mjs-var Pb = /* @__PURE__ */ new WeakMap(), Fb, Ib = (e, t, n) => (r, i) => i && i[0] ? i[0][e + "Size"] : Mv(r) && "getBBox" in r ? r.getBBox()[t] : r[n], ure = /*@__PURE__*/ Ib("inline", "width", "offsetWidth"), dre = /*@__PURE__*/ Ib("block", "height", "offsetHeight");-function fre({ target: e, borderBoxSize: t }) {- Pb.get(e)?.forEach((n) => {+var Nb = /* @__PURE__ */ new WeakMap(), Pb, Fb = (e, t, n) => (r, i) => i && i[0] ? i[0][e + "Size"] : jv(r) && "getBBox" in r ? r.getBBox()[t] : r[n], dre = /*@__PURE__*/ Fb("inline", "width", "offsetWidth"), fre = /*@__PURE__*/ Fb("block", "height", "offsetHeight");+function pre({ target: e, borderBoxSize: t }) {+ Nb.get(e)?.forEach((n) => {n(e, {get width() {- return ure(e, t);+ return dre(e, t);},get height() {- return dre(e, t);+ return fre(e, t);}});});}-function pre(e) {- e.forEach(fre);+function mre(e) {+ e.forEach(pre);}-function mre() {- typeof ResizeObserver < "u" && (Fb = new ResizeObserver(pre));+function hre() {+ typeof ResizeObserver < "u" && (Pb = new ResizeObserver(mre));}-function hre(e, t) {- Fb || mre();- let n = Iv(e);+function gre(e, t) {+ Pb || hre();+ let n = Fv(e);return n.forEach((e) => {- let n = Pb.get(e);- n || (n = /* @__PURE__ */ new Set(), Pb.set(e, n)), n.add(t), Fb?.observe(e);+ let n = Nb.get(e);+ n || (n = /* @__PURE__ */ new Set(), Nb.set(e, n)), n.add(t), Pb?.observe(e);}), () => {n.forEach((e) => {- let n = Pb.get(e);- n?.delete(t), n?.size || Fb?.unobserve(e);+ let n = Nb.get(e);+ n?.delete(t), n?.size || Pb?.unobserve(e);});};}// node_modules/motion-dom/dist/es/resize/handle-window.mjs-var Lb = /* @__PURE__ */ new Set(), Rb;-function gre() {- Rb = () => {+var Ib = /* @__PURE__ */ new Set(), Lb;+function _re() {+ Lb = () => {let e = {get width() {return window.innerWidth;@@ -19865,26 +19865,26 @@ function gre() {return window.innerHeight;}};- Lb.forEach((t) => t(e));- }, window.addEventListener("resize", Rb);+ Ib.forEach((t) => t(e));+ }, window.addEventListener("resize", Lb);}-function _re(e) {- return Lb.add(e), Rb || gre(), () => {- Lb.delete(e), !Lb.size && typeof Rb == "function" && (window.removeEventListener("resize", Rb), Rb = void 0);+function vre(e) {+ return Ib.add(e), Lb || _re(), () => {+ Ib.delete(e), !Ib.size && typeof Lb == "function" && (window.removeEventListener("resize", Lb), Lb = void 0);};}// node_modules/motion-dom/dist/es/resize/index.mjs-function zb(e, t) {- return Pv(typeof e == "function" ? _re(e) : hre(e, t));+function Rb(e, t) {+ return Nv(typeof e == "function" ? vre(e) : gre(e, t));}// node_modules/motion-dom/dist/es/utils/distance.mjs-var Bb = (e, t) => Math.abs(e - t);-function vre(e, t) {- let n = Bb(e.x, t.x), r = Bb(e.y, t.y);+var zb = (e, t) => Math.abs(e - t);+function yre(e, t) {+ let n = zb(e.x, t.x), r = zb(e.y, t.y);return Math.sqrt(n ** 2 + r ** 2);}// node_modules/motion-dom/dist/es/gestures/pan/PanSession.mjs-var Vb = /*#__PURE__*/ new Set(["auto", "scroll"]), Hb = class {+var Bb = /*#__PURE__*/ new Set(["auto", "scroll"]), Vb = class {constructor(e, t, { transformPagePoint: n, contextWindow: r = window, dragSnapToOrigin: i = !1, distanceThreshold: a = 3, element: o } = {}) {if (this.startEvent = null, this.lastMoveEvent = null, this.lastMoveEventInfo = null, this.lastRawMoveEventInfo = null, this.handlers = {}, this.contextWindow = window, this.scrollPositions = /* @__PURE__ */ new Map(), this.onElementScroll = (e) => {this.handleScroll(e.target);@@ -19892,8 +19892,8 @@ var Vb = /*#__PURE__*/ new Set(["auto", "scroll"]), Hb = class {this.handleScroll(window);}, this.updatePoint = () => {if (!(this.lastMoveEvent && this.lastMoveEventInfo)) return;- this.hasPendingMove = !1, this.lastRawMoveEventInfo && (this.lastMoveEventInfo = Wb(this.lastRawMoveEventInfo, this.transformPagePoint));- let e = Kb(this.lastMoveEventInfo, this.history), t = this.startEvent !== null, n = vre(e.offset, {+ this.hasPendingMove = !1, this.lastRawMoveEventInfo && (this.lastMoveEventInfo = Ub(this.lastRawMoveEventInfo, this.transformPagePoint));+ let e = Gb(this.lastMoveEventInfo, this.history), t = this.startEvent !== null, n = yre(e.offset, {x: 0,y: 0}) >= this.distanceThreshold;@@ -19906,40 +19906,40 @@ var Vb = /*#__PURE__*/ new Set(["auto", "scroll"]), Hb = class {let { onStart: i, onMove: a } = this.handlers;t || (i?.(this.lastMoveEvent, e), this.startEvent = this.lastMoveEvent), a?.(this.lastMoveEvent, e);}, this.handlePointerMove = (e, t) => {- this.handleScroll(window), this.lastMoveEvent = e, this.lastRawMoveEventInfo = t, this.lastMoveEventInfo = Wb(t, this.transformPagePoint), this.hasPendingMove = !0, pg.update(this.updatePoint, !0);+ this.handleScroll(window), this.lastMoveEvent = e, this.lastRawMoveEventInfo = t, this.lastMoveEventInfo = Ub(t, this.transformPagePoint), this.hasPendingMove = !0, pg.update(this.updatePoint, !0);}, this.handlePointerUp = (e, t) => {this.hasPendingMove && this.updatePoint(), this.end();let { onEnd: n, onSessionEnd: r, resumeAnimation: i } = this.handlers;if ((this.dragSnapToOrigin || !this.startEvent) && i?.(), !(this.lastMoveEvent && this.lastMoveEventInfo)) return;- let a = Kb(e.type === "pointercancel" ? this.lastMoveEventInfo : Wb(t, this.transformPagePoint), this.history);+ let a = Gb(e.type === "pointercancel" ? this.lastMoveEventInfo : Ub(t, this.transformPagePoint), this.history);this.startEvent && n?.(e, a), r?.(e, a);- }, !jb(e)) return;+ }, !Ab(e)) return;this.dragSnapToOrigin = i, this.handlers = t, this.transformPagePoint = n, this.distanceThreshold = a, this.contextWindow = r || window;- let s = Wb(Mb(e), this.transformPagePoint), { point: c } = s;+ let s = Ub(jb(e), this.transformPagePoint), { point: c } = s;this.history = [{...c,timestamp: rh.now()}];let { onSessionStart: l } = t;- l && l(e, Kb(s, this.history));+ l && l(e, Gb(s, this.history));let u = {passive: !0,capture: !0};- this.removeListeners = Dm(Nb(this.contextWindow, "pointermove", this.handlePointerMove, u), Nb(this.contextWindow, "pointerup", this.handlePointerUp, u), Nb(this.contextWindow, "pointercancel", this.handlePointerUp, u)), o && this.startScrollTracking(o);+ this.removeListeners = Dm(Mb(this.contextWindow, "pointermove", this.handlePointerMove, u), Mb(this.contextWindow, "pointerup", this.handlePointerUp, u), Mb(this.contextWindow, "pointercancel", this.handlePointerUp, u)), o && this.startScrollTracking(o);}startScrollTracking(e) {let t = e.parentElement;for (; t;) {let e = getComputedStyle(t);- (Vb.has(e.overflowX) || Vb.has(e.overflowY)) && this.scrollPositions.set(t, Ub(t)), t = t.parentElement;+ (Bb.has(e.overflowX) || Bb.has(e.overflowY)) && this.scrollPositions.set(t, Hb(t)), t = t.parentElement;}- this.scrollPositions.set(window, Ub(window)), this.removeScrollListeners = Dm(db(window, "scroll", this.onElementScroll, { capture: !0 }), db(window, "scroll", this.onWindowScroll, {}));+ this.scrollPositions.set(window, Hb(window)), this.removeScrollListeners = Dm(ub(window, "scroll", this.onElementScroll, { capture: !0 }), ub(window, "scroll", this.onWindowScroll, {}));}handleScroll(e) {let t = this.scrollPositions.get(e);if (!t) return;- let n = e === window, r = Ub(e), i = {+ let n = e === window, r = Hb(e), i = {x: r.x - t.x,y: r.y - t.y};@@ -19951,42 +19951,42 @@ var Vb = /*#__PURE__*/ new Set(["auto", "scroll"]), Hb = class {end() {this.removeListeners?.(), this.removeScrollListeners?.(), this.scrollPositions.clear(), mg(this.updatePoint);}-}, Ub = (e) => e === window ? {+}, Hb = (e) => e === window ? {x: window.scrollX,y: window.scrollY} : {x: e.scrollLeft,y: e.scrollTop};-function Wb(e, t) {+function Ub(e, t) {return t ? { point: t(e.point) } : e;}-function Gb(e, t) {+function Wb(e, t) {return {x: e.x - t.x,y: e.y - t.y};}-function Kb({ point: e }, t) {+function Gb({ point: e }, t) {return {point: e,- delta: Gb(e, qb(t)),- offset: Gb(e, yre(t)),- velocity: bre(t, .1)+ delta: Wb(e, Kb(t)),+ offset: Wb(e, bre(t)),+ velocity: xre(t, .1)};}-function yre(e) {+function bre(e) {return e[0];}-function qb(e) {+function Kb(e) {return e[e.length - 1];}-function bre(e, t) {+function xre(e, t) {if (e.length < 2) return {x: 0,y: 0};- let n = e.length - 1, r = null, i = qb(e);+ let n = e.length - 1, r = null, i = Kb(e);for (; n >= 0 && (r = e[n], !(i.timestamp - r.timestamp > /* @__PURE__ */ Am(t)));) n--;if (!r) return {x: 0,@@ -20005,95 +20005,95 @@ function bre(e, t) {return o.x === Infinity && (o.x = 0), o.y === Infinity && (o.y = 0), o;}// node_modules/motion-dom/dist/es/gestures/press/utils/is-keyboard-accessible.mjs-var xre = /* @__PURE__ */ new Set([+var Sre = /* @__PURE__ */ new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);-function Sre(e) {- return xre.has(e.tagName) || e.isContentEditable === !0;+function Cre(e) {+ return Sre.has(e.tagName) || e.isContentEditable === !0;}-var Cre = /* @__PURE__ */ new Set([+var wre = /* @__PURE__ */ new Set(["INPUT","SELECT","TEXTAREA"]);-function wre(e) {- return Cre.has(e.tagName) || e.isContentEditable === !0;+function Tre(e) {+ return wre.has(e.tagName) || e.isContentEditable === !0;}// node_modules/motion-dom/dist/es/gestures/drag/state/is-active.mjs-var Jb = {+var qb = {x: !1,y: !1};-function Yb() {- return Jb.x || Jb.y;+function Jb() {+ return qb.x || qb.y;}// node_modules/motion-dom/dist/es/gestures/drag/state/set-active.mjs-function Tre(e) {- return e === "x" || e === "y" ? Jb[e] ? null : (Jb[e] = !0, () => {- Jb[e] = !1;- }) : Jb.x || Jb.y ? null : (Jb.x = Jb.y = !0, () => {- Jb.x = Jb.y = !1;+function Ere(e) {+ return e === "x" || e === "y" ? qb[e] ? null : (qb[e] = !0, () => {+ qb[e] = !1;+ }) : qb.x || qb.y ? null : (qb.x = qb.y = !0, () => {+ qb.x = qb.y = !1;});}// node_modules/motion-dom/dist/es/gestures/drag/utils/constraints.mjs-function Ere(e, { min: t, max: n }, r) {+function Dre(e, { min: t, max: n }, r) {return t !== void 0 && e < t ? e = r ? ng(t, e, r.min) : Math.max(e, t) : n !== void 0 && e > n && (e = r ? ng(n, e, r.max) : Math.min(e, n)), e;}-function Xb(e, t, n) {+function Yb(e, t, n) {return {min: t === void 0 ? void 0 : e.min + t,max: n === void 0 ? void 0 : e.max + n - (e.max - e.min)};}-function Dre(e, { top: t, left: n, bottom: r, right: i }) {+function Ore(e, { top: t, left: n, bottom: r, right: i }) {return {- x: Xb(e.x, n, i),- y: Xb(e.y, t, r)+ x: Yb(e.x, n, i),+ y: Yb(e.y, t, r)};}-function Zb(e, t) {+function Xb(e, t) {let n = t.min - e.min, r = t.max - e.max;return t.max - t.min < e.max - e.min && ([n, r] = [r, n]), {min: n,max: r};}-function Ore(e, t) {+function kre(e, t) {return {- x: Zb(e.x, t.x),- y: Zb(e.y, t.y)+ x: Xb(e.x, t.x),+ y: Xb(e.y, t.y)};}-function kre(e, t) {- let n = .5, r = Ty(e), i = Ty(t);+function Are(e, t) {+ let n = .5, r = wy(e), i = wy(t);return i > r ? n = /* @__PURE__ */ Om(t.min, t.max - r, e.min) : r > i && (n = /* @__PURE__ */ Om(e.min, e.max - i, t.min)), bm(0, 1, n);}-function Are(e, t) {+function jre(e, t) {let n = {};return t.min !== void 0 && (n.min = t.min - e.min), t.max !== void 0 && (n.max = t.max - e.min), n;}-var Qb = .35;-function jre(e = Qb) {- return e === !1 ? e = 0 : e === !0 && (e = Qb), {- x: $b(e, "left", "right"),- y: $b(e, "top", "bottom")+var Zb = .35;+function Mre(e = Zb) {+ return e === !1 ? e = 0 : e === !0 && (e = Zb), {+ x: Qb(e, "left", "right"),+ y: Qb(e, "top", "bottom")};}-function $b(e, t, n) {+function Qb(e, t, n) {return {- min: ex(e, t),- max: ex(e, n)+ min: $b(e, t),+ max: $b(e, n)};}-function ex(e, t) {+function $b(e, t) {return typeof e == "number" ? e : e[t] || 0;}// node_modules/motion-dom/dist/es/gestures/drag/VisualElementDragControls.mjs-function tx(e) {+function ex(e) {let t = "";for (let n of e.path) {n.scroll = void 0, n.updateScroll();@@ -20102,12 +20102,12 @@ function tx(e) {}return t;}-var Mre = /* @__PURE__ */ new WeakMap(), Nre = class {+var Nre = /* @__PURE__ */ new WeakMap(), Pre = class {constructor(e, t = () => e.getProps()) {this.openDragLock = null, this.isDragging = !1, this.currentDirection = null, this.originPoint = {x: 0,y: 0- }, this.constraints = !1, this.hasMutatedConstraints = !1, this.elastic = By(), this.latestPointerEvent = null, this.latestPanInfo = null, this.visualElement = e, this.readProps = t;+ }, this.constraints = !1, this.hasMutatedConstraints = !1, this.elastic = zy(), this.latestPointerEvent = null, this.latestPanInfo = null, this.visualElement = e, this.readProps = t;}start(e, { snapToCursor: t = !1, distanceThreshold: n } = {}) {if (this.visualElement.presenceContext?.isPresent === !1) return;@@ -20115,25 +20115,25 @@ var Mre = /* @__PURE__ */ new WeakMap(), Nre = class {t && this.snapToCursor(e), this.stopAnimation();}, i = (e, t) => {let { drag: n, dragConstraints: r, dragPropagation: i, onDragStart: a } = this.getProps();- if (n && !i && (this.openDragLock?.(), this.openDragLock = Tre(n), !this.openDragLock)) return;+ if (n && !i && (this.openDragLock?.(), this.openDragLock = Ere(n), !this.openDragLock)) return;this.latestPointerEvent = e, this.latestPanInfo = t, this.isDragging = !0, this.currentDirection = null, this.resolveConstraints();let { projection: o } = this.visualElement;- o && (o.isAnimationBlocked = !0, o.target = void 0), Xy((e) => {+ o && (o.isAnimationBlocked = !0, o.target = void 0), Yy((e) => {let t = this.getAxisMotionValue(e).get() || 0;- if (ch(t) && (t = pv(t, this.visualElement.current) || 0), Oh.test(t)) t = parseFloat(t);+ if (ch(t) && (t = fv(t, this.visualElement.current) || 0), Oh.test(t)) t = parseFloat(t);else if (Dh.test(t)) {let n = o?.layout?.layoutBox[e];- n && (t = Ty(n) * (parseFloat(t) / 100));+ n && (t = wy(n) * (parseFloat(t) / 100));}this.originPoint[e] = t;- }), this.point = typeof r == "function" && r(this), a && pg.update(() => a(e, t), !1, !0), yv(this.visualElement, "transform"), this.visualElement.animationState?.setActive("whileDrag", !0);+ }), this.point = typeof r == "function" && r(this), a && pg.update(() => a(e, t), !1, !0), vv(this.visualElement, "transform"), this.visualElement.animationState?.setActive("whileDrag", !0);}, a = (e, t) => {this.latestPointerEvent = e, this.latestPanInfo = t;let { dragPropagation: n, dragDirectionLock: r, onDirectionLock: i, onDrag: a } = this.getProps();if (!n && !this.openDragLock) return;let { offset: o } = t;if (r && this.currentDirection === null) {- if (this.currentDirection = Fre(o), this.currentDirection === null) return;+ if (this.currentDirection = Ire(o), this.currentDirection === null) return;i && i(this.currentDirection);}this.updateAxis("x", o), this.updateAxis("y", o), this.point && this.point.move(), this.visualElement.render(), a && pg.update(() => a(e, t), !1, !0);@@ -20146,7 +20146,7 @@ var Mre = /* @__PURE__ */ new WeakMap(), Nre = class {y: 0});}, { dragSnapToOrigin: c } = this.getProps();- this.panSession = new Hb(e, {+ this.panSession = new Vb(e, {onSessionStart: r,onStart: i,onMove: a,@@ -20178,26 +20178,26 @@ var Mre = /* @__PURE__ */ new WeakMap(), Nre = class {}updateAxis(e, t) {let { drag: n } = this.readProps();- if (!t || !ax(e, n, this.currentDirection)) return;+ if (!t || !ix(e, n, this.currentDirection)) return;let r = this.getAxisMotionValue(e), i = this.originPoint[e] + t[e], a = this.constraints && this.constraints[e];- a && (i = Ere(i, a, this.elastic[e])), this.point ? this.point[e] = i : r.set(i);+ a && (i = Dre(i, a, this.elastic[e])), this.point ? this.point[e] = i : r.set(i);}resolveConstraints() {let { dragConstraints: e, dragElastic: t } = this.getProps(), { projection: n } = this.visualElement, r = n && (n.layout || n.measure(!1)), i = this.constraints;- nx(e) ? this.constraints && this.scroll === tx(n) || (this.constraints = this.resolveRefConstraints()) : this.constraints = e && r && typeof e == "object" ? Dre(r.layoutBox, e) : !1, this.elastic = jre(t), i !== this.constraints && !nx(e) && r && this.constraints && !this.hasMutatedConstraints && Xy((e) => {- this.constraints !== !1 && this.getAxisMotionValue(e) && (this.constraints[e] = Are(r.layoutBox[e], this.constraints[e]));+ tx(e) ? this.constraints && this.scroll === ex(n) || (this.constraints = this.resolveRefConstraints()) : this.constraints = e && r && typeof e == "object" ? Ore(r.layoutBox, e) : !1, this.elastic = Mre(t), i !== this.constraints && !tx(e) && r && this.constraints && !this.hasMutatedConstraints && Yy((e) => {+ this.constraints !== !1 && this.getAxisMotionValue(e) && (this.constraints[e] = jre(r.layoutBox[e], this.constraints[e]));});}resolveRefConstraints() {let { dragConstraints: e, onMeasureDragConstraints: t } = this.getProps();- if (!nx(e)) return !1;- let n = rx(e), { projection: r } = this.visualElement;+ if (!tx(e)) return !1;+ let n = nx(e), { projection: r } = this.visualElement;if (!r || !r.layout) return !1;- this.scroll = tx(r);- let i = one(n, r.root, this.visualElement.getTransformPagePoint()), a = Ore(r.layout.layoutBox, r.removeElementScroll(i));+ this.scroll = ex(r);+ let i = sne(n, r.root, this.visualElement.getTransformPagePoint()), a = kre(r.layout.layoutBox, r.removeElementScroll(i));if (t) {- let e = t(rne(a));- this.hasMutatedConstraints = !!e, e && (a = Jv(e));+ let e = t(ine(a));+ this.hasMutatedConstraints = !!e, e && (a = qv(e));}return a;}@@ -20209,13 +20209,13 @@ var Mre = /* @__PURE__ */ new WeakMap(), Nre = class {restDelta: 1,restSpeed: 10,...a- }, l = (i) => r && !(this.point && o) && ax(i, t || n, this.currentDirection) ? e[i] : 0;+ }, l = (i) => r && !(this.point && o) && ix(i, t || n, this.currentDirection) ? e[i] : 0;if (this.point && !o) return this.point.release({x: l("x"),y: l("y")}, c).then(s);- let u = this.constraints || {}, d = Xy((e) => {- if (!ax(e, t || n, this.currentDirection)) return;+ let u = this.constraints || {}, d = Yy((e) => {+ if (!ix(e, t || n, this.currentDirection)) return;let r = u[e] || {};(o === !0 || o === e) && (r = {min: 0,@@ -20233,10 +20233,10 @@ var Mre = /* @__PURE__ */ new WeakMap(), Nre = class {}startAxisValueAnimation(e, t) {let n = this.getAxisMotionValue(e);- return yv(this.visualElement, e), n.start(fv(e, n, 0, t, this.visualElement, !1));+ return vv(this.visualElement, e), n.start(dv(e, n, 0, t, this.visualElement, !1));}stopAnimation() {- Xy((e) => this.getAxisMotionValue(e).stop());+ Yy((e) => this.getAxisMotionValue(e).stop());}getAxisMotionValue(e) {let t = `_drag${e.toUpperCase()}`;@@ -20247,8 +20247,8 @@ var Mre = /* @__PURE__ */ new WeakMap(), Nre = class {x: e,y: t}, i = this.visualElement.getTransformPagePoint()?.(r) || r, a = this.visualElement.measureViewportBox();- Xy((e) => {- if (!ax(e, n, this.currentDirection)) return;+ Yy((e) => {+ if (!ix(e, n, this.currentDirection)) return;let t = this.getAxisMotionValue(e), { min: r, max: o } = a[e];t.set((t.get() || 0) + i[e] - ng(r, o, .5));});@@ -20256,41 +20256,41 @@ var Mre = /* @__PURE__ */ new WeakMap(), Nre = class {scalePositionWithinConstraints() {if (!this.visualElement.current) return;let { drag: e, dragConstraints: t } = this.getProps(), { projection: n } = this.visualElement;- if (!nx(t) || !n || !this.constraints) return;+ if (!tx(t) || !n || !this.constraints) return;this.stopAnimation();let r = this.constraints, i = {x: 0,y: 0};- Xy((e) => {+ Yy((e) => {let t = this.getAxisMotionValue(e).get();- i[e] = kre({+ i[e] = Are({min: t,max: t}, r[e]);});let { transformTemplate: a } = this.visualElement.getProps();- this.visualElement.current.style.transform = a ? a({}, "") : "none", n.root?.updateScroll(), n.updateLayout(), this.constraints = !1, this.resolveConstraints(), Xy((t) => {+ this.visualElement.current.style.transform = a ? a({}, "") : "none", n.root?.updateScroll(), n.updateLayout(), this.constraints = !1, this.resolveConstraints(), Yy((t) => {let n = this.getAxisMotionValue(t);- if (!ax(t, e, null) || !n.get()) return;+ if (!ix(t, e, null) || !n.get()) return;let { min: r, max: a } = this.constraints[t];n.set(ng(r, a, i[t]));}), this.visualElement.render();}addListeners() {if (!this.visualElement.current) return;- Mre.set(this.visualElement, this);- let e = this.visualElement.current, t = Nb(e, "pointerdown", (t) => {- let { drag: n, dragListener: r = !0 } = this.getProps(), i = t.target, a = i !== e && wre(i);+ Nre.set(this.visualElement, this);+ let e = this.visualElement.current, t = Mb(e, "pointerdown", (t) => {+ let { drag: n, dragListener: r = !0 } = this.getProps(), i = t.target, a = i !== e && Tre(i);n && r && !a && this.start(t);}), n, r = () => {- let { dragConstraints: t } = this.getProps(), r = nx(t) && rx(t);- r && (this.constraints = this.resolveRefConstraints(), n ||= Pre(e, r, () => this.scalePositionWithinConstraints()));+ let { dragConstraints: t } = this.getProps(), r = tx(t) && nx(t);+ r && (this.constraints = this.resolveRefConstraints(), n ||= Fre(e, r, () => this.scalePositionWithinConstraints()));}, { projection: i } = this.visualElement, a = i.addEventListener("measure", r);i.layout || (i.root?.updateScroll(), i.updateLayout()), pg.read(r);- let o = db(window, "resize", () => this.scalePositionWithinConstraints()), s = i.addEventListener("didUpdate", (({ delta: e, hasLayoutChanged: t }) => {- this.isDragging && t && (Xy((t) => {- if (!ax(t, this.getProps().drag, this.currentDirection)) return;+ let o = ub(window, "resize", () => this.scalePositionWithinConstraints()), s = i.addEventListener("didUpdate", (({ delta: e, hasLayoutChanged: t }) => {+ this.isDragging && t && (Yy((t) => {+ if (!ix(t, this.getProps().drag, this.currentDirection)) return;let n = this.getAxisMotionValue(t);this.originPoint[t] += e[t].translate, n.set(n.get() + e[t].translate);}), this.visualElement.render());@@ -20300,7 +20300,7 @@ var Mre = /* @__PURE__ */ new WeakMap(), Nre = class {};}getProps() {- let e = this.readProps(), { dragElastic: t = Qb, dragMomentum: n = !0 } = e;+ let e = this.readProps(), { dragElastic: t = Zb, dragMomentum: n = !0 } = e;return {...e,dragElastic: t,@@ -20308,32 +20308,32 @@ var Mre = /* @__PURE__ */ new WeakMap(), Nre = class {};}};-function nx(e) {+function tx(e) {return !!e && typeof e == "object" && ("current" in e || "nodeType" in e);}-var rx = (e) => "current" in e ? e.current : e;-function ix(e) {+var nx = (e) => "current" in e ? e.current : e;+function rx(e) {let t = !0;return () => {t ? t = !1 : e();};}-function Pre(e, t, n) {- let r = zb(e, ix(n)), i = zb(t, ix(n));+function Fre(e, t, n) {+ let r = Rb(e, rx(n)), i = Rb(t, rx(n));return () => {r(), i();};}-function ax(e, t, n) {+function ix(e, t, n) {return (t === !0 || t === e) && (n === null || n === e);}-function Fre(e, t = 10) {+function Ire(e, t = 10) {let n = null;return Math.abs(e.y) > t ? n = "y" : Math.abs(e.x) > t && (n = "x"), n;}// node_modules/motion-dom/dist/es/gestures/utils/setup.mjs-function ox(e, t) {- let n = Iv(e), r = new AbortController();+function ax(e, t) {+ let n = Fv(e), r = new AbortController();return [n,{@@ -20341,16 +20341,16 @@ function ox(e, t) {...t,signal: r.signal},- Pv(() => r.abort())+ Nv(() => r.abort())];}// node_modules/motion-dom/dist/es/gestures/hover.mjs-function Ire(e) {- return !(e.pointerType === "touch" || Yb());+function Lre(e) {+ return !(e.pointerType === "touch" || Jb());}-function Lre(e, t, n = {}) {- t = Fv(t);- let [r, i, a] = ox(e, n);+function Rre(e, t, n = {}) {+ t = Pv(t);+ let [r, i, a] = ax(e, n);return r.forEach((e) => {let n = !1, r = !1, a, o = () => {e.removeEventListener("pointerleave", u);@@ -20364,7 +20364,7 @@ function Lre(e, t, n = {}) {e.pointerType !== "touch" && (n ? r = !0 : s(e));};e.addEventListener("pointerenter", (n) => {- if (!Ire(n)) return;+ if (!Lre(n)) return;r = !1;let o = t(e, n);typeof o == "function" && (a = o, e.addEventListener("pointerleave", u, i));@@ -20372,71 +20372,71 @@ function Lre(e, t, n = {}) {}), a;}// node_modules/motion-dom/dist/es/gestures/utils/is-node-or-child.mjs-var sx = (e, t) => t ? e === t || sx(e, t.parentElement) : !1, cx = /* @__PURE__ */ new WeakSet();+var ox = (e, t) => t ? e === t || ox(e, t.parentElement) : !1, sx = /* @__PURE__ */ new WeakSet();// node_modules/motion-dom/dist/es/gestures/press/utils/keyboard.mjs-function lx(e) {+function cx(e) {return (t) => {t.key === "Enter" && e(t);};}-function ux(e, t) {+function lx(e, t) {e.dispatchEvent(new PointerEvent("pointer" + t, {isPrimary: !0,bubbles: !0}));}-var Rre = (e, t) => {- let n = !1, r = lx(() => {- cx.has(e) || (n = !0, ux(e, "down"));- }), i = lx(() => {- n && (n = !1, ux(e, "up"));+var zre = (e, t) => {+ let n = !1, r = cx(() => {+ sx.has(e) || (n = !0, lx(e, "down"));+ }), i = cx(() => {+ n && (n = !1, lx(e, "up"));});e.addEventListener("keydown", r, t), e.addEventListener("keyup", i, t), e.addEventListener("blur", () => {- e.removeEventListener("keydown", r), e.removeEventListener("keyup", i), n && ux(e, "cancel");+ e.removeEventListener("keydown", r), e.removeEventListener("keyup", i), n && lx(e, "cancel");}, {...t,once: !0});};// node_modules/motion-dom/dist/es/gestures/press/index.mjs-function dx(e) {- return jb(e) && !Yb();+function ux(e) {+ return Ab(e) && !Jb();}-var fx = /* @__PURE__ */ new WeakSet();-function zre(e, t, n = {}) {- t = Fv(t);- let [r, i, a] = ox(e, n), o = (e) => {+var dx = /* @__PURE__ */ new WeakSet();+function Bre(e, t, n = {}) {+ t = Pv(t);+ let [r, i, a] = ax(e, n), o = (e) => {let r = e.currentTarget;- if (!dx(e) || fx.has(e)) return;- cx.add(r), n.stopPropagation && fx.add(e);+ if (!ux(e) || dx.has(e)) return;+ sx.add(r), n.stopPropagation && dx.add(e);let a = t(r, e), o = {...i,capture: !0}, s = (e, t) => {- window.removeEventListener("pointerup", c, o), window.removeEventListener("pointercancel", l, o), cx.has(r) && cx.delete(r), dx(e) && typeof a == "function" && a(e, { success: t });+ window.removeEventListener("pointerup", c, o), window.removeEventListener("pointercancel", l, o), sx.has(r) && sx.delete(r), ux(e) && typeof a == "function" && a(e, { success: t });}, c = (e) => {- s(e, r === window || r === document || n.useGlobalTarget || sx(r, e.target));+ s(e, r === window || r === document || n.useGlobalTarget || ox(r, e.target));}, l = (e) => {s(e, !1);};window.addEventListener("pointerup", c, o), window.addEventListener("pointercancel", l, o);};return r.forEach((e) => {- (n.useGlobalTarget ? window : e).addEventListener("pointerdown", o, i), jv(e) && (e.addEventListener("focus", () => Rre(e, i), i), !Sre(e) && !e.hasAttribute("tabindex") && (e.tabIndex = 0));+ (n.useGlobalTarget ? window : e).addEventListener("pointerdown", o, i), Av(e) && (e.addEventListener("focus", () => zre(e, i), i), !Cre(e) && !e.hasAttribute("tabindex") && (e.tabIndex = 0));}), a;}// node_modules/motion-dom/dist/es/render/dom/style-computed.mjs-function px(e, t) {+function fx(e, t) {let n = window.getComputedStyle(e);- return E_(t) ? n.getPropertyValue(t) : n[t];+ return T_(t) ? n.getPropertyValue(t) : n[t];}// node_modules/motion-dom/dist/es/render/Feature.mjs-var mx = class {+var px = class {constructor(e) {this.isMounted = !1, this.node = e;}update() {}-}, hx = /* @__PURE__ */ new Set([+}, mx = /* @__PURE__ */ new Set(["baseFrequency","diffuseConstant","kernelMatrix",@@ -20460,58 +20460,58 @@ var mx = class {"startOffset","textLength","lengthAdjust"-]), gx = (e) => typeof e == "string" && e.toLowerCase() === "svg";+]), hx = (e) => typeof e == "string" && e.toLowerCase() === "svg";// node_modules/motion-dom/dist/es/render/svg/utils/render.mjs-function Bre(e, t, n, r) {- Ob(e, t, void 0, r);- for (let n in t.attrs) e.setAttribute(hx.has(n) ? n : Hv(n), t.attrs[n]);+function Vre(e, t, n, r) {+ Db(e, t, void 0, r);+ for (let n in t.attrs) e.setAttribute(mx.has(n) ? n : Vv(n), t.attrs[n]);}// node_modules/motion-dom/dist/es/render/svg/utils/scrape-motion-values.mjs-function _x(e, t, n) {- let r = Ab(e, t, n);- for (let n in e) if (n !== "children" && (vv(e[n]) || vv(t[n]))) {- let t = f_.indexOf(n) === -1 ? n : "attr" + n.charAt(0).toUpperCase() + n.substring(1);+function gx(e, t, n) {+ let r = kb(e, t, n);+ for (let n in e) if (n !== "children" && (_v(e[n]) || _v(t[n]))) {+ let t = d_.indexOf(n) === -1 ? n : "attr" + n.charAt(0).toUpperCase() + n.substring(1);r[t] = e[n];}return r;}// node_modules/motion-dom/dist/es/render/svg/SVGVisualElement.mjs-var Vre = class extends Db {+var Hre = class extends Eb {constructor() {- super(...arguments), this.type = "svg", this.isSVGTag = !1, this.measureInstanceViewportBox = By;+ super(...arguments), this.type = "svg", this.isSVGTag = !1, this.measureInstanceViewportBox = zy;}getBaseTargetFromProps(e, t) {- return p_.has(t) ? super.getBaseTargetFromProps(e, t) ?? l_(t) : e[t];+ return f_.has(t) ? super.getBaseTargetFromProps(e, t) ?? c_(t) : e[t];}getDefaultValue(e) {- return p_.has(e) ? this.latestValues[e] ?? l_(e) : void 0;+ return f_.has(e) ? this.latestValues[e] ?? c_(e) : void 0;}readValueFromInstance(e, t) {- if (p_.has(t)) {- let e = e_(t);+ if (f_.has(t)) {+ let e = $g(t);return e && e.default || 0;}- if (Wv.includes(t)) {+ if (Uv.includes(t)) {let n = getComputedStyle(e)[t];if (typeof n == "string" && n) return n.trim();}- return t = hx.has(t) ? t : Hv(t), e.getAttribute(t);+ return t = mx.has(t) ? t : Vv(t), e.getAttribute(t);}scrapeMotionValuesFromProps(e, t, n) {- return _x(e, t, n);+ return gx(e, t, n);}build(e, t, n) {- Gv(e, t, this.isSVGTag, n.transformTemplate, n.style);+ Wv(e, t, this.isSVGTag, n.transformTemplate, n.style);}renderInstance(e, t, n, r) {- Bre(e, t, n, r);+ Vre(e, t, n, r);}mount(e) {- this.isSVGTag = gx(e.tagName), super.mount(e);+ this.isSVGTag = hx(e.tagName), super.mount(e);}};// node_modules/motion-dom/dist/es/render/utils/shallow-compare.mjs-function vx(e, t) {+function _x(e, t) {if (!Array.isArray(t)) return !1;let n = t.length;if (n !== e.length) return !1;@@ -20519,18 +20519,18 @@ function vx(e, t) {return !0;}// node_modules/motion-dom/dist/es/render/utils/animation-state.mjs-var Hre = [..._b].reverse(), yx = (e) => e?.out === !0 ? e : e?.out;-function Ure(e) {- let t = (t) => Promise.all(t.map(({ animation: t, options: n }) => Fte(e, t, n))), n = bx(), r = !0, i = !1;+var Ure = [...gb].reverse(), vx = (e) => e?.out === !0 ? e : e?.out;+function Wre(e) {+ let t = (t) => Promise.all(t.map(({ animation: t, options: n }) => Ite(e, t, n))), n = yx(), r = !0, i = !1;function a(a) {- let { props: o, parent: s, manuallyAnimateOnMount: c } = e, { initial: l } = o, u = r || i, d = [], f = (t = l) => typeof t != "boolean" && hv(e, Array.isArray(t) ? t[0] : t, e.presenceContext?.custom) || void 0, p = /* @__PURE__ */ new Map(), m = {}, h = Infinity, g = e;+ let { props: o, parent: s, manuallyAnimateOnMount: c } = e, { initial: l } = o, u = r || i, d = [], f = (t = l) => typeof t != "boolean" && mv(e, Array.isArray(t) ? t[0] : t, e.presenceContext?.custom) || void 0, p = /* @__PURE__ */ new Map(), m = {}, h = Infinity, g = e;dog = g.props.inherit !== !1 && g.parent;while (g && !g.isControllingVariants);- let _ = u && yx(f(l ?? (g && g.props.initial))?.transition);- if (Hre.forEach((t, r) => {- let i = n[t], l = o[t], f = g && g.props[t], v = l === void 0 ? gb(f) || f === !1 ? f : void 0 : l, y = gb(v), b = t === a ? i.isActive : null, x = y && l === void 0 && !(u && c);- if (i.protectedKeys = { ...m }, !i.isActive && b === null || !v && !i.prevProp || hb(v) || typeof v == "boolean") return;+ let _ = u && vx(f(l ?? (g && g.props.initial))?.transition);+ if (Ure.forEach((t, r) => {+ let i = n[t], l = o[t], f = g && g.props[t], v = l === void 0 ? hb(f) || f === !1 ? f : void 0 : l, y = hb(v), b = t === a ? i.isActive : null, x = y && l === void 0 && !(u && c);+ if (i.protectedKeys = { ...m }, !i.isActive && b === null || !v && !i.prevProp || mb(v) || typeof v == "boolean") return;if (b === !1 && (h = r), t === "exit" && i.isActive && b !== !0) {m = {...m,@@ -20538,14 +20538,14 @@ function Ure(e) {};return;}- let S = Wre(i.prevProp, v), C = S || y && (b && !x || r > h), w = !1, T = Array.isArray(v) ? v : [v], E = {}, D;+ let S = Gre(i.prevProp, v), C = S || y && (b && !x || r > h), w = !1, T = Array.isArray(v) ? v : [v], E = {}, D;if (b !== !1) for (let n of T) {- let { transition: r, transitionEnd: i, ...a } = hv(e, n, gv(e, t)) || {};+ let { transition: r, transitionEnd: i, ...a } = mv(e, n, hv(e, t)) || {};E = {...E,...a,...i- }, D = yx(r) || D;+ }, D = vx(r) || D;}let { prevResolvedValues: O } = i;for (let t in {@@ -20553,7 +20553,7 @@ function Ure(e) {...E}) {if (t in m) continue;- let n = E[t], r = O[t], a = Array.isArray(n) && Array.isArray(r) ? !vx(n, r) || S : n !== r, o;+ let n = E[t], r = O[t], a = Array.isArray(n) && Array.isArray(r) ? !_x(n, r) || S : n !== r, o;if (a && n == null) p.has(t) || p.set(t, i.prevOut);else if (a || n !== void 0 && p.has(t)) {C = !0, o = p.get(t) || _, p.delete(t) && (w = !0), i.needsAnimating[t] = !0;@@ -20568,8 +20568,8 @@ function Ure(e) {}), C && (!(x && S) || w)) for (let n of T) {let r = { type: t };if (typeof n == "string" && u && c && s?.enteringChildren) {- let t = hv(s, n)?.transition?.delayChildren;- r.delay = av(s.enteringChildren, e, t);+ let t = mv(s, n)?.transition?.delayChildren;+ r.delay = iv(s.enteringChildren, e, t);}d.push({animation: n,@@ -20586,7 +20586,7 @@ function Ure(e) {let s = e.getValue(a);s && (s.liveStyle = !0);let c = n && !Array.isArray(l) ? n[a] : void 0, u = e.getBaseTargetFromProps(o, a);- t[a] = (c === void 0 ? u !== void 0 && !vv(u) ? u : e.initialValues[a] === void 0 ? e.baseTarget[a] : void 0 : c) ?? null;+ t[a] = (c === void 0 ? u !== void 0 && !_v(u) ? u : e.initialValues[a] === void 0 ? e.baseTarget[a] : void 0 : c) ?? null;}), r && (t.transition = r), d.push({ animation: t });}let v = u && e.blockInitialAnimation || r && !c && (o.initial === !1 || o.initial === o.animate);@@ -20607,16 +20607,16 @@ function Ure(e) {},getState: () => n,reset: () => {- n = bx(), i = !0;+ n = yx(), i = !0;}};}-function Wre(e, t) {- return typeof t == "string" ? t !== e : Array.isArray(t) ? !vx(t, e) : !1;+function Gre(e, t) {+ return typeof t == "string" ? t !== e : Array.isArray(t) ? !_x(t, e) : !1;}-function bx() {+function yx() {let e = {};- for (let t of _b) e[t] = {+ for (let t of gb) e[t] = {isActive: t === "animate",protectedKeys: {},needsAnimating: {},@@ -20626,55 +20626,55 @@ function bx() {return e;}// node_modules/framer-motion/dist/es/context/MotionConfigContext.mjs-var xx = /* @__PURE__ */ (0, F.createContext)({+var bx = /* @__PURE__ */ (0, F.createContext)({transformPagePoint: (e) => e,isStatic: !1,reducedMotion: "never"});// node_modules/framer-motion/dist/es/utils/use-composed-ref.mjs-function Sx(e, t) {+function xx(e, t) {if (typeof e == "function") return e(t);e != null && (e.current = t);}-function Gre(...e) {+function Kre(...e) {return (t) => {let n = !1, r = e.map((e) => {- let r = Sx(e, t);+ let r = xx(e, t);return !n && typeof r == "function" && (n = !0), r;});if (n) return () => {for (let t = 0; t < r.length; t++) {let n = r[t];- typeof n == "function" ? n() : Sx(e[t], null);+ typeof n == "function" ? n() : xx(e[t], null);}};};}-function Kre(...e) {- return F.useCallback(Gre(...e), e);+function qre(...e) {+ return F.useCallback(Kre(...e), e);}// node_modules/framer-motion/dist/es/components/AnimatePresence/PopChild.mjs-var Cx = (e) => {+var Sx = (e) => {let { width: t, height: n } = e?.getBoundingClientRect() || {};return [t / e?.offsetWidth || 1, n / e?.offsetHeight || 1];-}, wx = (e) => {+}, Cx = (e) => {let { left: t, top: n } = e.getBoundingClientRect(), r = e;for (; r = r.parentElement || r.parentNode?.host;) {let { scrollLeft: e, scrollTop: i } = r;if (e || i) {- let [a, o] = Cx(r);+ let [a, o] = Sx(r);t += e * a, n += i * o;}if (getComputedStyle(r).position === "fixed") break;}- let [i, a] = Cx(e.offsetParent);+ let [i, a] = Sx(e.offsetParent);return [t / i, n / a];-}, qre = class extends F.Component {+}, Jre = class extends F.Component {getSnapshotBeforeUpdate(e) {let t = this.props.getElement();- if (jv(t) && e.isPresent && !this.props.isPresent && this.props.pop !== !1) {- let e = t.offsetParent, n = jv(e) && e.offsetWidth || 0, r = jv(e) && e.offsetHeight || 0, i = getComputedStyle(t), a = this.props.sizeRef.current;- a.height = parseFloat(i.height), a.width = parseFloat(i.width), a.top = t.offsetTop, a.left = t.offsetLeft, a.right = n - a.width - a.left, a.bottom = r - a.height - a.top, a.direction = i.direction, a.point = wx(t);+ if (Av(t) && e.isPresent && !this.props.isPresent && this.props.pop !== !1) {+ let e = t.offsetParent, n = Av(e) && e.offsetWidth || 0, r = Av(e) && e.offsetHeight || 0, i = getComputedStyle(t), a = this.props.sizeRef.current;+ a.height = parseFloat(i.height), a.width = parseFloat(i.width), a.top = t.offsetTop, a.left = t.offsetLeft, a.right = n - a.width - a.left, a.bottom = r - a.height - a.top, a.direction = i.direction, a.point = Cx(t);}return null;}@@ -20683,7 +20683,7 @@ var Cx = (e) => {return this.props.children;}};-function Jre({ children: e, isPresent: t, anchorX: n, anchorY: r, root: i, pop: a, popNode: o }) {+function Yre({ children: e, isPresent: t, anchorX: n, anchorY: r, root: i, pop: a, popNode: o }) {let s = (0, F.useId)(), c = (0, F.useRef)(null), l = (0, F.useRef)({width: 0,height: 0,@@ -20692,7 +20692,7 @@ function Jre({ children: e, isPresent: t, anchorX: n, anchorY: r, root: i, pop:right: 0,bottom: 0,direction: "ltr"- }), { nonce: u } = (0, F.useContext)(xx), d = Kre(c, a === !1 ? void 0 : e.props?.ref ?? e?.ref), f = () => c.current || o?.current?.current, p = (e) => {+ }), { nonce: u } = (0, F.useContext)(bx), d = qre(c, a === !1 ? void 0 : e.props?.ref ?? e?.ref), f = () => c.current || o?.current?.current, p = (e) => {let { width: t, height: i, top: a, left: o, right: c, bottom: u, direction: d } = l.current, f = d === "rtl", p = n === "left" ? f ? `right:${c}` : `left:${o}` : f ? `left:${o}` : `right:${c}`, m = r === "bottom" ? `bottom:${u}` : `top:${a}`;e?.insertRule(`[data-motion-pop-id="${s}"]{position:absolute!important;width:${t}px!important;height:${i}px!important;${p}px!important;${m}px!important}`);};@@ -20705,10 +20705,10 @@ function Jre({ children: e, isPresent: t, anchorX: n, anchorY: r, root: i, pop:let d = i ?? o.head;d.appendChild(c), p(c.sheet);let m = 0, h = 0;- return py.setup(() => {- let [e, t] = wx(r);+ return fy.setup(() => {+ let [e, t] = Cx(r);m = l.current.point[0] - e, h = l.current.point[1] - t;- }), py.read(() => {+ }), fy.read(() => {let { sheet: e } = c;if (!e || !m && !h) return;let t = l.current;@@ -20716,7 +20716,7 @@ function Jre({ children: e, isPresent: t, anchorX: n, anchorY: r, root: i, pop:}), () => {r.removeAttribute("data-motion-pop-id"), d.contains(c) && d.removeChild(c);};- }, [t]), (0, I.jsx)(qre, {+ }, [t]), (0, I.jsx)(Jre, {isPresent: t,getElement: f,sizeRef: l,@@ -20725,8 +20725,8 @@ function Jre({ children: e, isPresent: t, anchorX: n, anchorY: r, root: i, pop:});}// node_modules/framer-motion/dist/es/components/AnimatePresence/PresenceChild.mjs-var Yre = ({ children: e, initial: t, isPresent: n, onExitComplete: r, custom: i, presenceAffectsLayout: a, mode: o, anchorX: s, anchorY: c, root: l }) => {- let u = hm(Xre), d = (0, F.useId)(), f = (0, F.useRef)(), p = (0, F.useRef)(n), m = (0, F.useRef)(r);+var Xre = ({ children: e, initial: t, isPresent: n, onExitComplete: r, custom: i, presenceAffectsLayout: a, mode: o, anchorX: s, anchorY: c, root: l }) => {+ let u = hm(Zre), d = (0, F.useId)(), f = (0, F.useRef)(), p = (0, F.useRef)(n), m = (0, F.useRef)(r);gm(() => {p.current = n, m.current = r;});@@ -20752,7 +20752,7 @@ var Yre = ({ children: e, initial: t, isPresent: n, onExitComplete: r, custom: iu.forEach((e, t) => u.set(t, !1));}, [n]), F.useEffect(() => {!n && !u.size && r && r();- }, [n]), e = (0, I.jsx)(Jre, {+ }, [n]), e = (0, I.jsx)(Yre, {pop: o === "popLayout",isPresent: n,anchorX: s,@@ -20765,11 +20765,11 @@ var Yre = ({ children: e, initial: t, isPresent: n, onExitComplete: r, custom: ichildren: e});};-function Xre() {+function Zre() {return /* @__PURE__ */ new Map();}// node_modules/framer-motion/dist/es/components/AnimatePresence/use-presence.mjs-function Tx(e = !0) {+function wx(e = !0) {let t = (0, F.useContext)(_m);if (t === null) return [!0, null];let { isPresent: n, onExitComplete: r, register: i } = t, a = (0, F.useId)();@@ -20783,23 +20783,23 @@ function Tx(e = !0) {]);return !n && r ? [!1, o] : [!0];}-function Ex() {- return Zre((0, F.useContext)(_m));+function Tx() {+ return Qre((0, F.useContext)(_m));}-function Zre(e) {+function Qre(e) {return e === null || e.isPresent;}// node_modules/framer-motion/dist/es/components/AnimatePresence/utils.mjs-var Dx = (e) => e.key || "";-function Ox(e) {+var Ex = (e) => e.key || "";+function Dx(e) {let t = [];return F.Children.forEach(e, (e) => {(0, F.isValidElement)(e) && t.push(e);}), t;}// node_modules/framer-motion/dist/es/components/AnimatePresence/index.mjs-var kx = ({ children: e, custom: t, initial: n = !0, onExitComplete: r, presenceAffectsLayout: i = !0, mode: a = "sync", propagate: o = !1, anchorX: s = "left", anchorY: c = "top", root: l }) => {- let [u, d] = Tx(o), f = (0, F.useMemo)(() => Ox(e), [e]), p = o && !u ? [] : f.map(Dx), m = (0, F.useRef)(!0), h = hm(() => /* @__PURE__ */ new Map()), g = (0, F.useRef)(/* @__PURE__ */ new Set()), [_, v] = (0, F.useState)(f), [y, b] = (0, F.useState)(f);+var Ox = ({ children: e, custom: t, initial: n = !0, onExitComplete: r, presenceAffectsLayout: i = !0, mode: a = "sync", propagate: o = !1, anchorX: s = "left", anchorY: c = "top", root: l }) => {+ let [u, d] = wx(o), f = (0, F.useMemo)(() => Dx(e), [e]), p = o && !u ? [] : f.map(Ex), m = (0, F.useRef)(!0), h = hm(() => /* @__PURE__ */ new Map()), g = (0, F.useRef)(/* @__PURE__ */ new Set()), [_, v] = (0, F.useState)(f), [y, b] = (0, F.useState)(f);gm(() => {o && !u && !y.length && d?.();}, [@@ -20815,7 +20815,7 @@ var kx = ({ children: e, custom: t, initial: n = !0, onExitComplete: r, presence}, [y]), gm(() => {m.current = !1;for (let e = 0; e < y.length; e++) {- let t = Dx(y[e]);+ let t = Ex(y[e]);p.includes(t) ? (h.delete(t), g.current.delete(t)) : h.get(t) !== !0 && h.set(t, !1);}}, [@@ -20827,15 +20827,15 @@ var kx = ({ children: e, custom: t, initial: n = !0, onExitComplete: r, presenceif (f !== _) {let e = [...f], t = 0;for (let n of y) {- let r = p.indexOf(Dx(n));+ let r = p.indexOf(Ex(n));r === -1 ? (e.splice(t++, 0, n), S.push(n)) : t = r + S.length + 1;}- return S.every((e) => h.get(Dx(e))) ? e = f : a === "wait" && (e = S), b(Ox(e)), v(f), null;+ return S.every((e) => h.get(Ex(e))) ? e = f : a === "wait" && (e = S), b(Dx(e)), v(f), null;}let { forceRender: C } = (0, F.useContext)(mm);return (0, I.jsx)(I.Fragment, { children: y.map((e) => {- let _ = Dx(e), b = o && !u ? !1 : f === y || p.includes(_);- return (0, I.jsx)(Yre, {+ let _ = Ex(e), b = o && !u ? !1 : f === y || p.includes(_);+ return (0, I.jsx)(Xre, {isPresent: b,initial: !m.current || n ? void 0 : !1,custom: t,@@ -20856,8 +20856,8 @@ var kx = ({ children: e, custom: t, initial: n = !0, onExitComplete: r, presencechildren: e}, _);}) });-}, Ax = /* @__PURE__ */ (0, F.createContext)({ strict: !1 }), jx = {- animation: ["variants", ..._b],+}, kx = /* @__PURE__ */ (0, F.createContext)({ strict: !1 }), Ax = {+ animation: ["variants", ...gb],exit: ["exit"],drag: ["drag", "dragControls"],focus: ["whileFocus"],@@ -20884,32 +20884,32 @@ var kx = ({ children: e, custom: t, initial: n = !0, onExitComplete: r, presence"onViewportLeave"],layout: ["layout", "layoutId"]-}, Mx = !1;-function Qre() {- if (Mx) return;+}, jx = !1;+function $re() {+ if (jx) return;let e = {};- for (let t in jx) e[t] = { isEnabled: (e) => jx[t].some((t) => !!e[t]) };- Eb(e), Mx = !0;+ for (let t in Ax) e[t] = { isEnabled: (e) => Ax[t].some((t) => !!e[t]) };+ Tb(e), jx = !0;}-function Nx() {- return Qre(), are();+function Mx() {+ return $re(), ore();}// node_modules/framer-motion/dist/es/motion/features/load-features.mjs-function $re(e) {- let t = Nx();+function eie(e) {+ let t = Mx();for (let n in e) t[n] = {...t[n],...e[n]};- Eb(t);+ Tb(t);}// node_modules/framer-motion/dist/es/components/MotionConfig/index.mjs-function eie({ children: e, ...t }) {- let n = (0, F.useContext)(xx);+function tie({ children: e, ...t }) {+ let n = (0, F.useContext)(bx);t = {...n,...t- }, t.transition = uv(t.transition, n.transition), t.isStatic = hm(() => t.isStatic);+ }, t.transition = lv(t.transition, n.transition), t.isStatic = hm(() => t.isStatic);let r = (0, F.useMemo)(() => t, [JSON.stringify(t.transition),t.transformPagePoint,@@ -20917,77 +20917,77 @@ function eie({ children: e, ...t }) {t.skipAnimations,t.isValidProp]);- return (0, I.jsx)(xx.Provider, {+ return (0, I.jsx)(bx.Provider, {value: r,children: e});}// node_modules/framer-motion/dist/es/context/MotionContext/index.mjs-var Px = /* @__PURE__ */ (0, F.createContext)({});+var Nx = /* @__PURE__ */ (0, F.createContext)({});// node_modules/framer-motion/dist/es/context/MotionContext/utils.mjs-function tie(e, t) {- if (yb(e)) {+function nie(e, t) {+ if (vb(e)) {let { initial: t, animate: n } = e;return {- initial: t === !1 || gb(t) ? t : void 0,- animate: gb(n) ? n : void 0+ initial: t === !1 || hb(t) ? t : void 0,+ animate: hb(n) ? n : void 0};}return e.inherit === !1 ? {} : t;}// node_modules/framer-motion/dist/es/context/MotionContext/create.mjs-function nie(e) {- let { initial: t, animate: n } = tie(e, (0, F.useContext)(Px));+function rie(e) {+ let { initial: t, animate: n } = nie(e, (0, F.useContext)(Nx));return (0, F.useMemo)(() => ({initial: t,animate: n- }), [Fx(t), Fx(n)]);+ }), [Px(t), Px(n)]);}-function Fx(e) {+function Px(e) {return Array.isArray(e) ? e.join(" ") : e;}// node_modules/framer-motion/dist/es/render/html/utils/create-render-state.mjs-var Ix = () => ({+var Fx = () => ({style: {},transform: {},transformOrigin: {},vars: {}});// node_modules/framer-motion/dist/es/render/html/use-props.mjs-function Lx(e, t, n) {- for (let r in t) !vv(t[r]) && !kb(r, n) && (e[r] = t[r]);+function Ix(e, t, n) {+ for (let r in t) !_v(t[r]) && !Ob(r, n) && (e[r] = t[r]);}-function rie({ transformTemplate: e }, t) {+function iie({ transformTemplate: e }, t) {return (0, F.useMemo)(() => {- let n = Ix();- return Uv(n, t, e), Object.assign({}, n.vars, n.style);+ let n = Fx();+ return Hv(n, t, e), Object.assign({}, n.vars, n.style);}, [t]);}-function iie(e, t) {+function aie(e, t) {let n = e.style || {}, r = {};- return Lx(r, n, e), Object.assign(r, rie(e, t)), r;+ return Ix(r, n, e), Object.assign(r, iie(e, t)), r;}-function aie(e, t) {- let n = {}, r = iie(e, t);+function oie(e, t) {+ let n = {}, r = aie(e, t);return e.drag && e.dragListener !== !1 && (n.draggable = !1, r.userSelect = r.WebkitUserSelect = r.WebkitTouchCallout = "none", r.touchAction = e.drag === !0 ? "none" : `pan-${e.drag === "x" ? "y" : "x"}`), e.tabIndex === void 0 && (e.onTap || e.onTapStart || e.whileTap) && (n.tabIndex = 0), n.style = r, n;}// node_modules/framer-motion/dist/es/render/svg/utils/create-render-state.mjs-var Rx = () => ({- ...Ix(),+var Lx = () => ({+ ...Fx(),attrs: {}});// node_modules/framer-motion/dist/es/render/svg/use-props.mjs-function oie(e, t, n, r) {+function sie(e, t, n, r) {let i = (0, F.useMemo)(() => {- let n = Rx();- return Gv(n, t, gx(r), e.transformTemplate, e.style), {+ let n = Lx();+ return Wv(n, t, hx(r), e.transformTemplate, e.style), {...n.attrs,style: { ...n.style }};}, [t]);if (e.style) {let t = {};- return Lx(t, e.style, e), {+ return Ix(t, e.style, e), {...i,style: {...t,@@ -20998,21 +20998,21 @@ function oie(e, t, n, r) {return i;}// node_modules/framer-motion/dist/es/motion/utils/valid-prop.mjs-var sie = /* @__PURE__ */ new Set(/* @__PURE__ */ "animate.exit.variants.initial.style.values.transition.transformTemplate.custom.inherit.onBeforeLayoutMeasure.onAnimationStart.onAnimationComplete.onUpdate.onDragStart.onDrag.onDragEnd.onMeasureDragConstraints.onDirectionLock.onDragTransitionEnd._dragX._dragY.onHoverStart.onHoverEnd.onViewportEnter.onViewportLeave.globalTapTarget.propagate.ignoreStrict.viewport".split("."));-function zx(e) {- return e.startsWith("while") || e.startsWith("drag") && e !== "draggable" || e.startsWith("layout") || e.startsWith("onTap") || e.startsWith("onPan") || e.startsWith("onLayout") || sie.has(e);+var cie = /* @__PURE__ */ new Set(/* @__PURE__ */ "animate.exit.variants.initial.style.values.transition.transformTemplate.custom.inherit.onBeforeLayoutMeasure.onAnimationStart.onAnimationComplete.onUpdate.onDragStart.onDrag.onDragEnd.onMeasureDragConstraints.onDirectionLock.onDragTransitionEnd._dragX._dragY.onHoverStart.onHoverEnd.onViewportEnter.onViewportLeave.globalTapTarget.propagate.ignoreStrict.viewport".split("."));+function Rx(e) {+ return e.startsWith("while") || e.startsWith("drag") && e !== "draggable" || e.startsWith("layout") || e.startsWith("onTap") || e.startsWith("onPan") || e.startsWith("onLayout") || cie.has(e);}// node_modules/framer-motion/dist/es/render/dom/utils/filter-props.mjs-function cie(e, t) {- return e.startsWith("on") ? !zx(e) : t?.(e) ?? !zx(e);+function lie(e, t) {+ return e.startsWith("on") ? !Rx(e) : t?.(e) ?? !Rx(e);}-function lie(e, t, n, r) {+function uie(e, t, n, r) {let i = {};- for (let a in e) a === "values" && typeof e.values == "object" || vv(e[a]) || (cie(a, r) || n === !0 && zx(a) || !t && !zx(a) || e.draggable && a.startsWith("onDrag")) && (i[a] = e[a]);+ for (let a in e) a === "values" && typeof e.values == "object" || _v(e[a]) || (lie(a, r) || n === !0 && Rx(a) || !t && !Rx(a) || e.draggable && a.startsWith("onDrag")) && (i[a] = e[a]);return i;}// node_modules/framer-motion/dist/es/render/svg/lowercase-elements.mjs-var uie = [+var die = ["animate","circle","defs",@@ -21040,40 +21040,40 @@ var uie = ["view"];// node_modules/framer-motion/dist/es/render/dom/utils/is-svg-component.mjs-function Bx(e) {- return typeof e != "string" || e.includes("-") ? !1 : !!(uie.indexOf(e) > -1 || /[A-Z]/u.test(e));+function zx(e) {+ return typeof e != "string" || e.includes("-") ? !1 : !!(die.indexOf(e) > -1 || /[A-Z]/u.test(e));}// node_modules/framer-motion/dist/es/render/dom/use-render.mjs-function die(e, t, n, { latestValues: r }, i, a = !1, o, s) {- let c = (o ?? Bx(e) ? oie : aie)(t, r, i, e), l = lie(t, typeof e == "string", a, s), u = e === F.Fragment ? {} : {+function fie(e, t, n, { latestValues: r }, i, a = !1, o, s) {+ let c = (o ?? zx(e) ? sie : oie)(t, r, i, e), l = uie(t, typeof e == "string", a, s), u = e === F.Fragment ? {} : {...l,...c,ref: n- }, { children: d } = t, f = (0, F.useMemo)(() => vv(d) ? d.get() : d, [d]);+ }, { children: d } = t, f = (0, F.useMemo)(() => _v(d) ? d.get() : d, [d]);return (0, F.createElement)(e, {...u,children: f});}// node_modules/framer-motion/dist/es/motion/utils/use-visual-state.mjs-function fie({ scrapeMotionValuesFromProps: e, createRenderState: t }, n, r, i) {+function pie({ scrapeMotionValuesFromProps: e, createRenderState: t }, n, r, i) {return {- latestValues: pie(n, r, i, e),+ latestValues: mie(n, r, i, e),renderState: t()};}-function pie(e, t, n, r) {+function mie(e, t, n, r) {let i = {}, a = r(e, {});- for (let e in a) i[e] = _y(a[e]);- let { initial: o, animate: s } = e, c = yb(e), l = bb(e);+ for (let e in a) i[e] = gy(a[e]);+ let { initial: o, animate: s } = e, c = vb(e), l = yb(e);t && l && !c && e.inherit !== !1 && (o === void 0 && (o = t.initial), s === void 0 && (s = t.animate));let u = n ? n.initial === !1 : !1;u ||= o === !1;let d = u ? s : o;- if (d && typeof d != "boolean" && !hb(d)) {+ if (d && typeof d != "boolean" && !mb(d)) {let t = Array.isArray(d) ? d : [d];for (let n = 0; n < t.length; n++) {- let r = mv(e, t[n]);+ let r = pv(e, t[n]);if (r) {let { transitionEnd: e, transition: t, ...n } = r;for (let e in n) {@@ -21090,18 +21090,18 @@ function pie(e, t, n, r) {}return i;}-var Vx = (e) => (t, n) => {- let r = (0, F.useContext)(Px), i = (0, F.useContext)(_m), a = () => fie(e, t, r, i);+var Bx = (e) => (t, n) => {+ let r = (0, F.useContext)(Nx), i = (0, F.useContext)(_m), a = () => pie(e, t, r, i);return n ? a() : hm(a);-}, mie = /*@__PURE__*/ Vx({- scrapeMotionValuesFromProps: Ab,- createRenderState: Ix-}), hie = /*@__PURE__*/ Vx({- scrapeMotionValuesFromProps: _x,- createRenderState: Rx-}), gie = /* @__PURE__ */ Symbol.for("motionComponentSymbol");+}, hie = /*@__PURE__*/ Bx({+ scrapeMotionValuesFromProps: kb,+ createRenderState: Fx+}), gie = /*@__PURE__*/ Bx({+ scrapeMotionValuesFromProps: gx,+ createRenderState: Lx+}), _ie = /* @__PURE__ */ Symbol.for("motionComponentSymbol");// node_modules/framer-motion/dist/es/motion/utils/use-motion-ref.mjs-function _ie(e, t, n) {+function vie(e, t, n) {let r = (0, F.useRef)(n);(0, F.useInsertionEffect)(() => {r.current = n;@@ -21119,10 +21119,10 @@ function _ie(e, t, n) {}, [t]);}// node_modules/framer-motion/dist/es/context/SwitchLayoutGroupContext.mjs-var Hx = /* @__PURE__ */ (0, F.createContext)({});+var Vx = /* @__PURE__ */ (0, F.createContext)({});// node_modules/framer-motion/dist/es/motion/utils/use-visual-element.mjs-function vie(e, t, n, r, i, a) {- let { visualElement: o } = (0, F.useContext)(Px), s = (0, F.useContext)(Ax), c = (0, F.useContext)(_m), l = (0, F.useContext)(xx), u = l.reducedMotion, d = l.skipAnimations, f = (0, F.useRef)(null), p = (0, F.useRef)(!1);+function yie(e, t, n, r, i, a) {+ let { visualElement: o } = (0, F.useContext)(Nx), s = (0, F.useContext)(kx), c = (0, F.useContext)(_m), l = (0, F.useContext)(bx), u = l.reducedMotion, d = l.skipAnimations, f = (0, F.useRef)(null), p = (0, F.useRef)(!1);r ||= s.renderer, !f.current && r && (f.current = r(e, {visualState: t,parent: o,@@ -21133,11 +21133,11 @@ function vie(e, t, n, r, i, a) {skipAnimations: d,isSVG: a}), p.current && f.current && (f.current.manuallyAnimateOnMount = !0));- let m = f.current, h = (0, F.useContext)(Hx);+ let m = f.current, h = (0, F.useContext)(Vx);m && !m.projection && i && (m.type === "html" || m.type === "svg") && i.create(m, n, h), (0, F.useInsertionEffect)(() => {m && m.props !== n && m.update(n, c);});- let g = n[bv], _ = (0, F.useRef)(!!g && typeof window < "u" && !window.MotionHandoffIsComplete?.(g) && window.MotionHasOptimisedAnimation?.(g));+ let g = n[yv], _ = (0, F.useRef)(!!g && typeof window < "u" && !window.MotionHandoffIsComplete?.(g) && window.MotionHasOptimisedAnimation?.(g));return gm(() => {p.current && m && (m.animationState?.animateChanges(), m.enteringChildren = void 0);}, []), gm(() => {@@ -21149,46 +21149,46 @@ function vie(e, t, n, r, i, a) {}), m;}// node_modules/framer-motion/dist/es/motion/index.mjs-function Ux(e, { forwardMotionProps: t = !1, type: n } = {}, r, i) {- r && $re(r);- let a = n ? n === "svg" : Bx(e), o = a ? hie : mie;+function Hx(e, { forwardMotionProps: t = !1, type: n } = {}, r, i) {+ r && eie(r);+ let a = n ? n === "svg" : zx(e), o = a ? gie : hie;function s(n, s) {- let c, l = yie(n);- hm(() => !!fb.current?.sharedNodes.get(l)?.lead && n.initial) && (n = {+ let c, l = bie(n);+ hm(() => !!db.current?.sharedNodes.get(l)?.lead && n.initial) && (n = {...n,initial: !1});let u = {- ...(0, F.useContext)(xx),+ ...(0, F.useContext)(bx),...n,layoutId: l- }, { isStatic: d, isValidProp: f } = u, p = nie(n), m = o(n, d);+ }, { isStatic: d, isValidProp: f } = u, p = rie(n), m = o(n, d);if (!d && typeof window < "u") {- bie(u, r);- let t = xie(u);- p.visualElement = vie(e, m, u, i, t.ProjectionNode, a), (t.isEnabled || p.visualElement?.projection?.options.layoutId) && (c = t.MeasureLayout);+ xie(u, r);+ let t = Sie(u);+ p.visualElement = yie(e, m, u, i, t.ProjectionNode, a), (t.isEnabled || p.visualElement?.projection?.options.layoutId) && (c = t.MeasureLayout);}- return (0, I.jsxs)(Px.Provider, {+ return (0, I.jsxs)(Nx.Provider, {value: p,children: [c && p.visualElement ? (0, I.jsx)(c, {visualElement: p.visualElement,...u- }) : null, die(e, n, _ie(m, p.visualElement, s), m, d, t, a, f)]+ }) : null, fie(e, n, vie(m, p.visualElement, s), m, d, t, a, f)]});}s.displayName = `motion.${typeof e == "string" ? e : `create(${e.displayName ?? e.name ?? ""})`}`;let c = (0, F.forwardRef)(s);- return c[gie] = e, c;+ return c[_ie] = e, c;}-function yie({ layoutId: e }) {+function bie({ layoutId: e }) {let t = (0, F.useContext)(mm).id;return t && e !== void 0 ? t + "-" + e : e;}-function bie(e, t) {- (0, F.useContext)(Ax).strict;+function xie(e, t) {+ (0, F.useContext)(kx).strict;}-function xie(e) {- let { drag: t, layout: n } = Nx();+function Sie(e) {+ let { drag: t, layout: n } = Mx();if (!t && !n) return {};let r = {...t,@@ -21201,19 +21201,19 @@ function xie(e) {};}// node_modules/framer-motion/dist/es/render/components/create-proxy.mjs-function Sie(e, t) {- if (typeof Proxy > "u") return Ux;- let n = /* @__PURE__ */ new Map(), r = (n, r) => Ux(n, r, e, t);- return new Proxy((e, t) => r(e, t), { get: (i, a) => a === "create" ? r : (n.has(a) || n.set(a, Ux(a, void 0, e, t)), n.get(a)) });+function Cie(e, t) {+ if (typeof Proxy > "u") return Hx;+ let n = /* @__PURE__ */ new Map(), r = (n, r) => Hx(n, r, e, t);+ return new Proxy((e, t) => r(e, t), { get: (i, a) => a === "create" ? r : (n.has(a) || n.set(a, Hx(a, void 0, e, t)), n.get(a)) });}// node_modules/framer-motion/dist/es/render/dom/create-visual-element.mjs-var Cie = (e, t) => t.isSVG ?? Bx(e) ? new Vre(t) : new cre(t, { allowProjection: e !== F.Fragment }), wie = class extends mx {+var wie = (e, t) => t.isSVG ?? zx(e) ? new Hre(t) : new lre(t, { allowProjection: e !== F.Fragment }), Tie = class extends px {constructor(e) {- super(e), e.animationState ||= Ure(e);+ super(e), e.animationState ||= Wre(e);}updateAnimationControlsSubscription() {let { animate: e } = this.node.getProps();- hb(e) && (this.unmountControls = e.subscribe(this.node));+ mb(e) && (this.unmountControls = e.subscribe(this.node));}mount() {this.updateAnimationControlsSubscription();@@ -21224,11 +21224,11 @@ var Cie = (e, t) => t.isSVG ?? Bx(e) ? new Vre(t) : new cre(t, { allowProjectionunmount() {this.node.animationState.reset(), this.unmountControls?.();}-}, Tie = 0, Eie = {- animation: { Feature: wie },- exit: { Feature: class extends mx {+}, Eie = 0, Die = {+ animation: { Feature: Tie },+ exit: { Feature: class extends px {constructor() {- super(...arguments), this.id = Tie++;+ super(...arguments), this.id = Eie++;}update() {let { presenceContext: e, prevPresenceContext: t, animationState: n } = this.node;@@ -21239,7 +21239,7 @@ var Cie = (e, t) => t.isSVG ?? Bx(e) ? new Vre(t) : new cre(t, { allowProjectionif (this.exit === !0) {let { initial: e } = this.node.getProps();if (e && !Array.isArray(e)) {- let { transition: t, transitionEnd: n, ...r } = hv(this.node, e) || {};+ let { transition: t, transitionEnd: n, ...r } = mv(this.node, e) || {};for (let e in r) this.node.getValue(e)?.jump(r[e]);}this.node.blockInitialAnimation = !1, n.reset(), n.animateChanges();@@ -21258,9 +21258,9 @@ var Cie = (e, t) => t.isSVG ?? Bx(e) ? new Vre(t) : new cre(t, { allowProjection}unmount() {}} }-}, Die = class extends mx {+}, Oie = class extends px {constructor(e) {- super(e), this.removeGroupControls = Em, this.removeListeners = Em, this.controls = new Nre(e);+ super(e), this.removeGroupControls = Em, this.removeListeners = Em, this.controls = new Pre(e);}mount() {let { dragControls: e } = this.node.getProps();@@ -21273,14 +21273,14 @@ var Cie = (e, t) => t.isSVG ?? Bx(e) ? new Vre(t) : new cre(t, { allowProjectionunmount() {this.removeGroupControls(), this.removeListeners(), this.controls.isDragging || this.controls.endPanSession();}-}, Wx = (e) => (t, n) => {+}, Ux = (e) => (t, n) => {e && pg.update(() => e(t, n), !1, !0);-}, Oie = class extends mx {+}, kie = class extends px {constructor() {super(...arguments), this.removePointerDownListener = Em;}onPointerDown(e) {- this.session = new Hb(e, this.createPanHandlers(), {+ this.session = new Vb(e, this.createPanHandlers(), {transformPagePoint: this.node.getTransformPagePoint(),contextWindow: this.node.current?.ownerDocument.defaultView});@@ -21288,16 +21288,16 @@ var Cie = (e, t) => t.isSVG ?? Bx(e) ? new Vre(t) : new cre(t, { allowProjectioncreatePanHandlers() {let { onPanSessionStart: e, onPanStart: t, onPan: n, onPanEnd: r } = this.node.getProps();return {- onSessionStart: Wx(e),- onStart: Wx(t),- onMove: Wx(n),+ onSessionStart: Ux(e),+ onStart: Ux(t),+ onMove: Ux(n),onEnd: (e, t) => {delete this.session, r && pg.postRender(() => r(e, t));}};}mount() {- this.removePointerDownListener = Nb(this.node.current, "pointerdown", (e) => this.onPointerDown(e));+ this.removePointerDownListener = Mb(this.node.current, "pointerdown", (e) => this.onPointerDown(e));}update() {this.session?.updateHandlers(this.createPanHandlers());@@ -21305,12 +21305,12 @@ var Cie = (e, t) => t.isSVG ?? Bx(e) ? new Vre(t) : new cre(t, { allowProjectionunmount() {this.removePointerDownListener(), this.session?.end();}-}, Gx = !1, Kx = ({ layout: e, layoutDependency: t, layoutAnchor: n }) => ({+}, Wx = !1, Gx = ({ layout: e, layoutDependency: t, layoutAnchor: n }) => ({layout: e,layoutDependency: t,layoutAnchor: n,animationType: typeof e == "string" ? e : "both"-}), qx = (e, t) => {+}), Kx = (e, t) => {let { snapshot: n } = e, r = e.getStack();r?.remove(e);let i = r?.lead;@@ -21319,33 +21319,33 @@ var Cie = (e, t) => t.isSVG ?? Bx(e) ? new Vre(t) : new cre(t, { allowProjectionlet { resumeFrom: t } = e;t?.isPresent !== !1 && e.getStack().members.includes(t) && (t.hide(), e.resumeFrom = void 0, e.snapshot = n);};-}, kie = class extends F.Component {+}, Aie = class extends F.Component {componentDidMount() {let { visualElement: e, layoutGroup: t, switchLayoutGroup: n, layoutId: r } = this.props, { projection: i } = e;- i && (t.group?.add(i), r && n?.register?.(i), Gx && i.root.didUpdate(), i.options.layoutId !== r && qx(i, r)?.(), i.addEventListener("animationComplete", () => this.safeToRemove()), i.setOptions({+ i && (t.group?.add(i), r && n?.register?.(i), Wx && i.root.didUpdate(), i.options.layoutId !== r && Kx(i, r)?.(), i.addEventListener("animationComplete", () => this.safeToRemove()), i.setOptions({...i.options,- ...Kx(this.props),+ ...Gx(this.props),onExitComplete: () => this.safeToRemove()- })), Zy.hasEverUpdated = !0;+ })), Xy.hasEverUpdated = !0;}getSnapshotBeforeUpdate(e) {let { layoutDependency: t, layoutId: n, visualElement: r, drag: i, isPresent: a } = this.props, { projection: o } = r;- return o && (o.isPresent = a, this.takeOver = e.layoutId === n ? void 0 : (o.willUpdate(), qx(o, n)), o.setOptions({+ return o && (o.isPresent = a, this.takeOver = e.layoutId === n ? void 0 : (o.willUpdate(), Kx(o, n)), o.setOptions({...o.options,- ...Kx(this.props)- }), Gx = !0, i || e.layoutDependency !== t || t === void 0 || e.isPresent !== a ? o.willUpdate() : this.safeToRemove(), e.isPresent !== a && (a ? o.promote() : o.relegate() || pg.postRender(() => {+ ...Gx(this.props)+ }), Wx = !0, i || e.layoutDependency !== t || t === void 0 || e.isPresent !== a ? o.willUpdate() : this.safeToRemove(), e.isPresent !== a && (a ? o.promote() : o.relegate() || pg.postRender(() => {o.getStack()?.members.length || this.safeToRemove();}))), null;}componentDidUpdate() {let { projection: e } = this.props.visualElement;- e && (this.takeOver?.(), e.root.didUpdate(), py.postRender(() => {+ e && (this.takeOver?.(), e.root.didUpdate(), fy.postRender(() => {!e.currentAnimation && e.isLead() && this.safeToRemove();}));}componentWillUnmount() {let { visualElement: e, layoutGroup: t, switchLayoutGroup: n } = this.props, { projection: r } = e;- Gx = !0, r && (r.scheduleCheckAfterUnmount(), t.group?.remove(r), n?.deregister?.(r));+ Wx = !0, r && (r.scheduleCheckAfterUnmount(), t.group?.remove(r), n?.deregister?.(r));}safeToRemove() {this.props.safeToRemove?.();@@ -21354,39 +21354,39 @@ var Cie = (e, t) => t.isSVG ?? Bx(e) ? new Vre(t) : new cre(t, { allowProjectionreturn null;}};-function Jx(e) {- let [t, n] = Tx(), r = (0, F.useContext)(mm);- return (0, I.jsx)(kie, {+function qx(e) {+ let [t, n] = wx(), r = (0, F.useContext)(mm);+ return (0, I.jsx)(Aie, {...e,layoutGroup: r,- switchLayoutGroup: (0, F.useContext)(Hx),+ switchLayoutGroup: (0, F.useContext)(Vx),isPresent: t,safeToRemove: n});}// node_modules/framer-motion/dist/es/motion/features/drag.mjs-var Aie = {- pan: { Feature: Oie },+var jie = {+ pan: { Feature: kie },drag: {- Feature: Die,- ProjectionNode: pb,- MeasureLayout: Jx+ Feature: Oie,+ ProjectionNode: fb,+ MeasureLayout: qx}};// node_modules/framer-motion/dist/es/gestures/hover.mjs-function Yx(e, t, n, r) {+function Jx(e, t, n, r) {let { props: i } = e, a = "while" + n;e.animationState && i[a] && e.animationState.setActive(a, r === "Start");let o = i["on" + n + r];- o && pg.postRender(() => o(t, Mb(t)));+ o && pg.postRender(() => o(t, jb(t)));}-var jie = class extends mx {+var Mie = class extends px {mount() {let { current: e } = this.node;- e && (this.unmount = Lre(e, (e, t) => (Yx(this.node, t, "Hover", "Start"), (e) => Yx(this.node, e, "Hover", "End"))));+ e && (this.unmount = Rre(e, (e, t) => (Jx(this.node, t, "Hover", "Start"), (e) => Jx(this.node, e, "Hover", "End"))));}unmount() {}-}, Mie = class extends mx {+}, Nie = class extends px {constructor() {super(...arguments), this.isActive = !1;}@@ -21403,51 +21403,51 @@ var jie = class extends mx {this.isActive && this.node.animationState && (this.node.animationState.setActive("whileFocus", !1), this.isActive = !1);}mount() {- this.unmount = Dm(db(this.node.current, "focus", () => this.onFocus()), db(this.node.current, "blur", () => this.onBlur()));+ this.unmount = Dm(ub(this.node.current, "focus", () => this.onFocus()), ub(this.node.current, "blur", () => this.onBlur()));}unmount() {}};// node_modules/framer-motion/dist/es/gestures/press.mjs-function Xx(e, t, n) {- e.current instanceof HTMLButtonElement && e.current.disabled || Yx(e, t, "Tap", n);+function Yx(e, t, n) {+ e.current instanceof HTMLButtonElement && e.current.disabled || Jx(e, t, "Tap", n);}-var Nie = class extends mx {+var Pie = class extends px {mount() {let { current: e } = this.node;if (!e) return;let { globalTapTarget: t, propagate: n } = this.node.props;- this.unmount = zre(e, (e, t) => (Xx(this.node, t, "Start"), (e, { success: t }) => Xx(this.node, e, t ? "" : "Cancel")), {+ this.unmount = Bre(e, (e, t) => (Yx(this.node, t, "Start"), (e, { success: t }) => Yx(this.node, e, t ? "" : "Cancel")), {useGlobalTarget: t,stopPropagation: n?.tap === !1});}unmount() {}-}, Zx = /* @__PURE__ */ new WeakMap(), Qx = /* @__PURE__ */ new WeakMap(), Pie = (e) => {- let t = Zx.get(e.target);+}, Xx = /* @__PURE__ */ new WeakMap(), Zx = /* @__PURE__ */ new WeakMap(), Fie = (e) => {+ let t = Xx.get(e.target);t && t(e);-}, Fie = (e) => {- e.forEach(Pie);+}, Iie = (e) => {+ e.forEach(Fie);};-function Iie({ root: e, ...t }) {+function Lie({ root: e, ...t }) {let n = e || document;- Qx.has(n) || Qx.set(n, {});- let r = Qx.get(n), i = JSON.stringify(t);- return r[i] || (r[i] = new IntersectionObserver(Fie, {+ Zx.has(n) || Zx.set(n, {});+ let r = Zx.get(n), i = JSON.stringify(t);+ return r[i] || (r[i] = new IntersectionObserver(Iie, {root: e,...t})), r[i];}-function Lie(e, t, n) {- let r = Iie(t);- return Zx.set(e, n), r.observe(e), () => {- Zx.delete(e), r.unobserve(e);+function Rie(e, t, n) {+ let r = Lie(t);+ return Xx.set(e, n), r.observe(e), () => {+ Xx.delete(e), r.unobserve(e);};}// node_modules/framer-motion/dist/es/motion/features/viewport/index.mjs-var Rie = {+var zie = {some: 0,all: 1-}, zie = class extends mx {+}, Bie = class extends px {constructor() {super(...arguments), this.hasEnteredView = !1, this.isInView = !1;}@@ -21456,7 +21456,7 @@ var Rie = {let { viewport: e = {} } = this.node.getProps(), { root: t, margin: n, amount: r = "some", once: i } = e, a = {root: t ? t.current : void 0,rootMargin: n,- threshold: typeof r == "number" ? r : Rie[r]+ threshold: typeof r == "number" ? r : zie[r]}, o = (e) => {let { isIntersecting: t } = e;if (this.isInView === t || (this.isInView = t, i && !t && this.hasEnteredView)) return;@@ -21464,7 +21464,7 @@ var Rie = {let { onViewportEnter: n, onViewportLeave: r } = this.node.getProps(), a = t ? n : r;a && a(e);};- this.stopObserver = Lie(this.node.current, a, o);+ this.stopObserver = Rie(this.node.current, a, o);}mount() {this.startObserver();@@ -21476,61 +21476,61 @@ var Rie = {"amount","margin","root"- ].some(Bie(e, t)) && this.startObserver();+ ].some(Vie(e, t)) && this.startObserver();}unmount() {this.stopObserver?.(), this.hasEnteredView = !1, this.isInView = !1;}};-function Bie({ viewport: e = {} }, { viewport: t = {} } = {}) {+function Vie({ viewport: e = {} }, { viewport: t = {} } = {}) {return (n) => e[n] !== t[n];}// node_modules/framer-motion/dist/es/render/components/motion/proxy.mjs-var Vie = /*@__PURE__*/ Sie(/* @__PURE__ */ Object.assign({}, Eie, {- inView: { Feature: zie },- tap: { Feature: Nie },- focus: { Feature: Mie },- hover: { Feature: jie }-}, Aie, { layout: {- ProjectionNode: pb,- MeasureLayout: Jx-} }), Cie);+var Hie = /*@__PURE__*/ Cie(/* @__PURE__ */ Object.assign({}, Die, {+ inView: { Feature: Bie },+ tap: { Feature: Pie },+ focus: { Feature: Nie },+ hover: { Feature: Mie }+}, jie, { layout: {+ ProjectionNode: fb,+ MeasureLayout: qx+} }), wie);// node_modules/framer-motion/dist/es/utils/reduced-motion/use-reduced-motion.mjs-function $x() {- !Sb.current && Cb();- let [e] = (0, F.useState)(xb.current);+function Qx() {+ !xb.current && Sb();+ let [e] = (0, F.useState)(bb.current);return e;}// node_modules/framer-motion/dist/es/animation/utils/is-dom-keyframes.mjs-function eS(e) {+function $x(e) {return typeof e == "object" && !Array.isArray(e);}// node_modules/framer-motion/dist/es/animation/animate/resolve-subjects.mjs-function tS(e, t, n, r) {- return e == null ? [] : typeof e == "string" && eS(t) ? Iv(e, n, r) : e instanceof NodeList ? Array.from(e) : Array.isArray(e) ? e.filter((e) => e != null) : [e];+function eS(e, t, n, r) {+ return e == null ? [] : typeof e == "string" && $x(t) ? Fv(e, n, r) : e instanceof NodeList ? Array.from(e) : Array.isArray(e) ? e.filter((e) => e != null) : [e];}// node_modules/framer-motion/dist/es/animation/sequence/utils/calc-repeat-duration.mjs-function Hie(e, t, n) {+function Uie(e, t, n) {return e * (t + 1) + n * t;}// node_modules/framer-motion/dist/es/animation/sequence/utils/calc-time.mjs-function nS(e, t) {+function tS(e, t) {if (t.has(e)) return t.get(e);let [, n, r] = e.match(/^(.+?)([+-][\d.]+)$/) || [];return t.has(n) ? Math.max(0, t.get(n) + parseFloat(r)) : void 0;}-function Uie(e, t, n, r) {- return typeof t == "number" ? t : t.startsWith("-") || t.startsWith("+") ? Math.max(0, e + parseFloat(t)) : t === "<" ? n : t.startsWith("<") ? Math.max(0, n + parseFloat(t.slice(1))) : nS(t, r) ?? e;+function Wie(e, t, n, r) {+ return typeof t == "number" ? t : t.startsWith("-") || t.startsWith("+") ? Math.max(0, e + parseFloat(t)) : t === "<" ? n : t.startsWith("<") ? Math.max(0, n + parseFloat(t.slice(1))) : tS(t, r) ?? e;}// node_modules/framer-motion/dist/es/animation/sequence/utils/edit.mjs-function Wie(e, t, n) {+function Gie(e, t, n) {for (let r = 0; r < e.length; r++) {let i = e[r];i.at > t && i.at < n && (ym(e, i), r--);}}-function Gie(e, t, n, r, i, a) {- Wie(e, i, a);+function Kie(e, t, n, r, i, a) {+ Gie(e, i, a);for (let o = 0; o < t.length; o++) e.push({value: t[o],at: ng(i, a, r[o]),@@ -21538,19 +21538,19 @@ function Gie(e, t, n, r, i, a) {});}// node_modules/framer-motion/dist/es/animation/sequence/utils/normalize-times.mjs-function Kie(e, t, n = 0) {+function qie(e, t, n = 0) {let r = t + 1 + t * n;for (let t = 0; t < e.length; t++) e[t] = e[t] / r;}// node_modules/framer-motion/dist/es/animation/sequence/utils/sort.mjs-function qie(e, t) {+function Jie(e, t) {return e.at === t.at ? e.value === null ? 1 : t.value === null ? -1 : 0 : e.at - t.at;}// node_modules/framer-motion/dist/es/animation/sequence/create.mjs-var Jie = "easeInOut", Yie = 20;-function Xie(e, { defaultTransition: t = {}, ...n } = {}, r, i, a) {+var Yie = "easeInOut", Xie = 20;+function Zie(e, { defaultTransition: t = {}, ...n } = {}, r, i, a) {let o = t.duration || .3, s = /* @__PURE__ */ new Map(), c = /* @__PURE__ */ new Map(), l = {}, u = /* @__PURE__ */ new Map(), d = 0, f = 0, p = 0, m = (e, n) => {- let a = n, s = (e) => typeof e == "number" ? n + e : Uie(f, e, d, u);+ let a = n, s = (e) => typeof e == "number" ? n + e : Wie(f, e, d, u);for (let n = 0; n < e.length; n++) {let h = e[n];if (typeof h == "string") {@@ -21565,12 +21565,12 @@ function Xie(e, { defaultTransition: t = {}, ...n } = {}, r, i, a) {let [g, _, v = {}] = h;v.at !== void 0 && (f = s(v.at));let y = 0, b = (e, n, r, a = 0, s = 0) => {- let c = Zie(e), { delay: l = 0, times: u = Rg(c), type: d = t.type || "keyframes", repeat: m, repeatType: h, repeatDelay: g = 0, ..._ } = n, { ease: v = t.ease || "easeOut", duration: b } = n;+ let c = Qie(e), { delay: l = 0, times: u = Lg(c), type: d = t.type || "keyframes", repeat: m, repeatType: h, repeatDelay: g = 0, ..._ } = n, { ease: v = t.ease || "easeOut", duration: b } = n;r.mixer ||= n.mixer;- let x = typeof l == "function" ? l(a, s) : l, S = c.length, C = N_(d) ? d : i?.[d || "keyframes"];+ let x = typeof l == "function" ? l(a, s) : l, S = c.length, C = M_(d) ? d : i?.[d || "keyframes"];if (S <= 2 && C) {let e = 100;- if (S === 2 && eae(c)) {+ if (S === 2 && tae(c)) {let t = c[1] - c[0];e = Math.abs(t);}@@ -21586,9 +21586,9 @@ function Xie(e, { defaultTransition: t = {}, ...n } = {}, r, i, a) {let w = f + x;u.length === 1 && u[0] === 0 && (u[1] = 1);let T = u.length - c.length;- if (T > 0 && Lg(u, T), c.length === 1 && c.unshift(null), m && m < Yie) {+ if (T > 0 && Ig(u, T), c.length === 1 && c.unshift(null), m && m < Xie) {let e = b > 0 ? g / b : 0;- b = Hie(b, m, g);+ b = Uie(b, m, g);let t = [...c], n = [...u];v = Array.isArray(v) ? [...v] : [v];let r = [...v], i = h === "reverse" || h === "mirror", a = t, o = r;@@ -21598,20 +21598,20 @@ function Xie(e, { defaultTransition: t = {}, ...n } = {}, r, i, a) {e > 0 && (c.push(c[c.length - 1]), u.push(p), v.push("linear")), c.push(...d);for (let e = 0; e < d.length; e++) u.push(n[e] + p), v.push(e === 0 ? "linear" : /* @__PURE__ */ Ym(f, e - 1));}- Kie(u, m, e);+ qie(u, m, e);}let E = w + b;- Gie(r, c, v, u, w, E), y = Math.max(x + b, y), p = Math.max(E, p);+ Kie(r, c, v, u, w, E), y = Math.max(x + b, y), p = Math.max(E, p);};- if (vv(g)) {- let e = rS(g, c);- b(_, v, iS("default", e));+ if (_v(g)) {+ let e = nS(g, c);+ b(_, v, rS("default", e));} else {- let e = tS(g, _, r, l), t = e.length;+ let e = eS(g, _, r, l), t = e.length;for (let n = 0; n < t; n++) {_ = _, v = v;- let r = e[n], i = rS(r, c);- for (let e in _) b(_[e], Qie(v, e), iS(e, i), n, t);+ let r = e[n], i = nS(r, c);+ for (let e in _) b(_[e], $ie(v, e), rS(e, i), n, t);}}d = f, f += y, a = Math.max(a, f);@@ -21621,13 +21621,13 @@ function Xie(e, { defaultTransition: t = {}, ...n } = {}, r, i, a) {return m(e, 0), a && (a.duration = p, a.labels = u), c.forEach((e, r) => {for (let i in e) {let a = e[i];- a.sort(qie);+ a.sort(Jie);let o = [], c = [], l = [];for (let e = 0; e < a.length; e++) {let { at: t, value: n, easing: r } = a[e];o.push(n), c.push(/* @__PURE__ */ Om(0, p, t)), l.push(r || "easeOut");}- c[0] !== 0 && (c.unshift(0), o.unshift(o[0]), l.unshift(Jie)), c[c.length - 1] !== 1 && (c.push(1), o.push(null)), s.has(r) || s.set(r, {+ c[0] !== 0 && (c.unshift(0), o.unshift(o[0]), l.unshift(Yie)), c[c.length - 1] !== 1 && (c.push(1), o.push(null)), s.has(r) || s.set(r, {keyframes: {},transition: {}});@@ -21645,45 +21645,45 @@ function Xie(e, { defaultTransition: t = {}, ...n } = {}, r, i, a) {}}), s;}-function rS(e, t) {+function nS(e, t) {return !t.has(e) && t.set(e, {}), t.get(e);}-function iS(e, t) {+function rS(e, t) {return t[e] || (t[e] = []), t[e];}-function Zie(e) {+function Qie(e) {return Array.isArray(e) ? e : [e];}-function Qie(e, t) {+function $ie(e, t) {return e && e[t] ? {...e,...e[t]} : { ...e };}-var $ie = (e) => typeof e == "number", eae = (e) => e.every($ie);+var eae = (e) => typeof e == "number", tae = (e) => e.every(eae);// node_modules/framer-motion/dist/es/animation/animate/subject.mjs-function tae(e, t) {- return vv(e) || typeof e == "number" || typeof e == "string" && !eS(t);+function nae(e, t) {+ return _v(e) || typeof e == "number" || typeof e == "string" && !$x(t);}-function aS(e, t, n, r) {+function iS(e, t, n, r) {let i = [];- if (tae(e, t)) i.push(my(e, eS(t) && t.default || t, n && (n.default || n)));+ if (nae(e, t)) i.push(py(e, $x(t) && t.default || t, n && (n.default || n)));else {if (e == null) return i;- let a = tS(e, t, r), o = a.length;+ let a = eS(e, t, r), o = a.length;for (let e = 0; e < o; e++) {let r = a[e], s = { ...n };- "delay" in s && typeof s.delay == "function" && (s.delay = s.delay(e, o)), r instanceof Element ? i.push(...dne(r, t, s, mb.get(r))) : i.push(...Av(Gte(r) ?? fne, r, t, s));+ "delay" in s && typeof s.delay == "function" && (s.delay = s.delay(e, o)), r instanceof Element ? i.push(...fne(r, t, s, pb.get(r))) : i.push(...kv(Kte(r) ?? pne, r, t, s));}}return i;}// node_modules/framer-motion/dist/es/animation/animate/sequence.mjs-function nae(e, t, n, r) {+function rae(e, t, n, r) {let i = [];- return Xie(e.map((e) => {+ return Zie(e.map((e) => {if (Array.isArray(e) && typeof e[0] == "function") {- let t = e[0], n = lv(0);+ let t = e[0], n = cv(0);return n.on("change", t), e.length === 1 ? [n, [0, 1]] : e.length === 2 ? [n,[0, 1],@@ -21695,31 +21695,31 @@ function nae(e, t, n, r) {];}return e;- }), t, n, { spring: Pg }, r).forEach(({ keyframes: e, transition: t }, n) => {- i.push(...aS(n, e, t));+ }), t, n, { spring: Ng }, r).forEach(({ keyframes: e, transition: t }, n) => {+ i.push(...iS(n, e, t));}), i;}// node_modules/framer-motion/dist/es/animation/timeline/index.mjs-var oS = 0;-function rae(e, t) {+var aS = 0;+function iae(e, t) {let n = [...e], r = typeof n[0] == "function" ? Math.max(1, n.length - 1) : 2;return n[r] = {...n[r],at: t}, n;}-var sS = (e, t) => t === void 0 ? e : {+var oS = (e, t) => t === void 0 ? e : {name: e,at: t};-function cS(e) {+function sS(e) {e.pause(), e.time = 0, e.stop();}-var lS = class e {+var cS = class e {constructor(e = [], t = {}, n) {- this.options = t, this.entries = [], this.repeatIndex = 0, this.prevTime = 0, this.markers = [], this.labels = /* @__PURE__ */ new Map(), this.totalDuration = 0, this.isDirty = !1, this.isDone = !1, this.isRebuilding = !1, this.playbackSpeed = 1, this.motionScope = Nv.current, this.isKilled = !1, this.isWrapped = !1, this.stop = () => {+ this.options = t, this.entries = [], this.repeatIndex = 0, this.prevTime = 0, this.markers = [], this.labels = /* @__PURE__ */ new Map(), this.totalDuration = 0, this.isDirty = !1, this.isDone = !1, this.isRebuilding = !1, this.playbackSpeed = 1, this.motionScope = Mv.current, this.isKilled = !1, this.isWrapped = !1, this.stop = () => {this.flush(), this.group?.stop();- }, this.isPaused = t.autoplay === !1, this.newFinished(), e.forEach((e) => this.add(e)), n ? (this.isDirty = !1, this.isWrapped = !0, this.group = new rv(n), this.watch()) : (this.invalidate(), this.flush());+ }, this.isPaused = t.autoplay === !1, this.newFinished(), e.forEach((e) => this.add(e)), n ? (this.isDirty = !1, this.isWrapped = !0, this.group = new nv(n), this.watch()) : (this.invalidate(), this.flush());let { scope: r } = t;r && (r.animations.push(this), this.finished.then(() => ym(r.animations, this)));}@@ -21734,7 +21734,7 @@ var lS = class e {item: e,at: t,marker: {- name: "_m" + oS++,+ name: "_m" + aS++,time: 0,callback: e}@@ -21745,7 +21745,7 @@ var lS = class e {item: t || {},at: e,marker: {- name: "_m" + oS++,+ name: "_m" + aS++,time: 0,callback: t,pause: !0@@ -21839,50 +21839,50 @@ var lS = class e {this.isDirty && !this.parent && !this.isKilled && this.build();}adopt(e) {- this.group &&= (cS(this.group), void 0), this.isDirty = !1, this.parent = e;+ this.group &&= (sS(this.group), void 0), this.isDirty = !1, this.parent = e;}build() {this.isDirty = !1, this.isWrapped = !1;let e = this.group, t = 0;- e && (this.isRebuilding = !0, this.scrollTimeline ? (this.detachScroll?.(), e.cancel()) : (t = e.animations.length ? e.time : 0, cS(e)), this.isRebuilding = !1);+ e && (this.isRebuilding = !0, this.scrollTimeline ? (this.detachScroll?.(), e.cancel()) : (t = e.animations.length ? e.time : 0, sS(e)), this.isRebuilding = !1);let { defaultTransition: n, onComplete: r, onUpdate: i, onRepeat: a, onReverseComplete: o, autoplay: s, scope: c, ...l } = this.options, u = {};c?.reduceMotion !== void 0 && (u.reduceMotion = c.reduceMotion), c?.skipAnimations !== void 0 && (u.skipAnimations = c.skipAnimations), Object.assign(u, l);- let d = /* @__PURE__ */ new Map(), f = {}, p = Nv.current;- Nv.current = this.motionScope;+ let d = /* @__PURE__ */ new Map(), f = {}, p = Mv.current;+ Mv.current = this.motionScope;let m;try {- m = nae(this.toSequence(d), {+ m = rae(this.toSequence(d), {defaultTransition: n,...u}, c, f);} finally {- Nv.current = p;+ Mv.current = p;}let h = f.labels, g = u.duration ?? f.duration, _ = f.duration ? g / f.duration : 1;if (h.forEach((e, t) => h.set(t, e * _)), this.markers = [], d.forEach((e, t) => {e.time = h.get(t), h.delete(t), g = Math.max(g, e.time), this.markers.push(e);}), this.markers.sort((e, t) => e.time - t.time), this.labels = h, this.totalDuration = g, this.clock = this.clockAnimation = void 0, this.markers.length || this.stopAt !== void 0 || i || a) {- let e = this.clock = lv(0);- e.on("change", (t) => e === this.clock && this.onClock(t)), m.unshift(this.clockAnimation = my(e, [0, g], {+ let e = this.clock = cv(0);+ e.on("change", (t) => e === this.clock && this.onClock(t)), m.unshift(this.clockAnimation = py(e, [0, g], {...u,duration: g,ease: "linear"}));}- let v = this.group = new rv(m);+ let v = this.group = new nv(m);t = Math.min(t, g), this.isDone && t < g && this.newFinished(), this.scrollTimeline ? this.detachScroll = v.attachTimeline(this.scrollTimeline) : (v.speed = this.playbackSpeed, this.isPaused && v.pause(), t && (v.time = t)), this.repeatIndex = this.currentRepeat(), this.prevTime = t || -1, this.watch();}toSequence(t) {- return this.entries.map(({ item: n, at: r, marker: i }) => i ? (t.set(i.name, i), sS(i.name, r)) : n instanceof e ? {+ return this.entries.map(({ item: n, at: r, marker: i }) => i ? (t.set(i.name, i), oS(i.name, r)) : n instanceof e ? {sequence: n.toSequence(t),at: r- } : typeof n == "string" ? sS(n, r) : r === void 0 ? n : Array.isArray(n) ? rae(n, r) : {+ } : typeof n == "string" ? oS(n, r) : r === void 0 ? n : Array.isArray(n) ? iae(n, r) : {...n,at: r});}resolve(e) {- return this.flush(), typeof e == "number" ? e : nS(e, this.labels) ?? this.time;+ return this.flush(), typeof e == "number" ? e : tS(e, this.labels) ?? this.time;}currentRepeat() {let { repeat: e = 0, repeatDelay: t = 0, delay: n = 0 } = this.options, r = this.totalDuration + t, i = (this.clockAnimation?.time ?? 0) - n;@@ -21930,16 +21930,16 @@ var lS = class e {}};// node_modules/framer-motion/dist/es/animation/animate/index.mjs-function iae(e) {+function aae(e) {return Array.isArray(e) && e.some(Array.isArray);}-function aae(e = {}) {+function oae(e = {}) {let { scope: t, reduceMotion: n, skipAnimations: r } = e;function i(e, i, a) {- let o = Nv.current?.transition, s = {};+ let o = Mv.current?.transition, s = {};n !== void 0 && (s.reduceMotion = n), r !== void 0 && (s.skipAnimations = r);let c;- if (iae(e)) {+ if (aae(e)) {let n = {...s,...i,@@ -21948,14 +21948,14 @@ function aae(e = {}) {o && (n.defaultTransition = {...o,...n.defaultTransition- }), c = new lS(e, n);+ }), c = new cS(e, n);} else {let { onComplete: n, ...r } = a || {}, l = {...s,...o,...r}, { onUpdate: u } = r;- c = new lS([typeof e == "number" || typeof e == "string" && (typeof i == "string" || Array.isArray(i)) ? [+ c = new cS([typeof e == "number" || typeof e == "string" && (typeof i == "string" || Array.isArray(i)) ? [u || (() => {}),Array.isArray(i) ? i : [e, i],{@@ -21970,29 +21970,29 @@ function aae(e = {}) {...s,onComplete: n,scope: t- }, aS(e, i, l, t));+ }, iS(e, i, l, t));}return c;}return i;}-var uS = /* @__PURE__ */ Object.assign(/* @__PURE__ */ aae(), {- addEffect: Wte,- removeEffect: Ov+var lS = /* @__PURE__ */ Object.assign(/* @__PURE__ */ oae(), {+ addEffect: Gte,+ removeEffect: Dv});// node_modules/framer-motion/dist/es/animation/animators/waapi/animate-elements.mjs-function oae(e, t, n, r) {+function sae(e, t, n, r) {if (e == null) return [];- let i = Iv(e, r), a = i.length, o = [];+ let i = Fv(e, r), a = i.length, o = [];for (let e = 0; e < a; e++) {let r = i[e], s = { ...n };typeof s.delay == "function" && (s.delay = s.delay(e, a));for (let e in t) {let n = t[e];Array.isArray(n) || (n = [n]);- let i = { ...dv(s, e) };+ let i = { ...uv(s, e) };i.duration &&= /* @__PURE__ */ Am(i.duration), i.delay &&= /* @__PURE__ */ Am(i.delay);- let a = gte(r), c = hte(e, i.pseudoElement || ""), l = a.get(c);+ let a = _te(r), c = gte(e, i.pseudoElement || ""), l = a.get(c);l && l.stop(), o.push({map: a,key: c,@@ -22008,21 +22008,21 @@ function oae(e, t, n, r) {}for (let e = 0; e < o.length; e++) {let { unresolvedKeyframes: t, options: n } = o[e], { element: r, name: i, pseudoElement: a } = n;- !a && t[0] === null && (t[0] = px(r, i)), n_(t), Ute(t, i), !a && t.length < 2 && t.unshift(px(r, i)), n.keyframes = t;+ !a && t[0] === null && (t[0] = fx(r, i)), t_(t), Wte(t, i), !a && t.length < 2 && t.unshift(fx(r, i)), n.keyframes = t;}let s = [];for (let e = 0; e < o.length; e++) {- let { map: t, key: n, options: r } = o[e], i = new P_(r);+ let { map: t, key: n, options: r } = o[e], i = new N_(r);t.set(n, i), i.finished.finally(() => t.delete(n)), s.push(i);}return s;}-var sae = /*@__PURE__*/ ((e) => {+var cae = /*@__PURE__*/ ((e) => {function t(t, n, r) {- return new rv(oae(t, n, r, e));+ return new nv(sae(t, n, r, e));}return t;-})(), dS = Vie, fS = class {+})(), uS = Hie, dS = class {constructor(e) {this.value = null, this.level = 0, this.hasChildNodes = !1, this.rendered = null, this.textValue = "", this["aria-label"] = void 0, this.index = 0, this.parentKey = null, this.prevKey = null, this.nextKey = null, this.firstChildKey = null, this.lastChildKey = null, this.props = {}, this.colSpan = null, this.colIndex = null, this.type = this.constructor.type, this.key = e;}@@ -22037,22 +22037,22 @@ var sae = /*@__PURE__*/ ((e) => {let r = this.clone();return t.addDescendants(r, e), r;}-}, pS = class extends fS {+}, fS = class extends dS {filter(e, t, n) {- let [r, i] = _S(e, t, this.firstChildKey, n), a = this.clone();+ let [r, i] = gS(e, t, this.firstChildKey, n), a = this.clone();return a.firstChildKey = r, a.lastChildKey = i, a;}};-(class extends fS {+(class extends dS {static {this.type = "header";}});-var mS = class extends fS {+var pS = class extends dS {static {this.type = "loader";}-}, hS = class extends pS {+}, mS = class extends fS {static {this.type = "item";}@@ -22063,7 +22063,7 @@ var mS = class extends fS {}return null;}-}, cae = class extends pS {+}, lae = class extends fS {static {this.type = "section";}@@ -22075,7 +22075,7 @@ var mS = class extends fS {}return null;}-}, gS = class {+}, hS = class {get size() {return this.itemCount;}@@ -22150,14 +22150,14 @@ var mS = class extends fS {this.firstKey = e, this.lastKey = t, this.frozen = !n;}filter(e) {- let t = new this.constructor(), [n, r] = _S(this, t, this.firstKey, e);+ let t = new this.constructor(), [n, r] = gS(this, t, this.firstKey, e);return t?.commit(n, r), t;}constructor() {this.keyMap = /* @__PURE__ */ new Map(), this.firstKey = null, this.lastKey = null, this.frozen = !1, this.itemCount = 0;}};-function _S(e, t, n, r) {+function gS(e, t, n, r) {if (n == null) return [null, null];let i = null, a = null, o = e.getItem(n);for (; o != null;) {@@ -22171,7 +22171,7 @@ function _S(e, t, n, r) {return [i?.key ?? null, a?.key ?? null];}// node_modules/react-aria/dist/private/collections/Document.mjs-var vS = class {+var _S = class {constructor(e) {this._firstChild = null, this._lastChild = null, this._previousSibling = null, this._nextSibling = null, this._parentNode = null, this._minInvalidChildIndex = null, this.ownerDocument = e;}@@ -22252,7 +22252,7 @@ var vS = class {for (; e && e.isHidden;) e = e.previousSibling;return e;}-}, yS = class e extends vS {+}, vS = class e extends _S {constructor(e, t) {super(t), this.nodeType = 8, this.isMutated = !0, this._index = 0, this.isHidden = !1, this.node = null;}@@ -22303,7 +22303,7 @@ var vS = class {setAttribute() {}setAttributeNS() {}removeAttribute() {}-}, lae = class extends vS {+}, uae = class extends _S {constructor(e) {super(null), this.nodeType = 11, this.ownerDocument = this, this.dirtyNodes = /* @__PURE__ */ new Set(), this.isSSR = !1, this.nodeId = 0, this.nodesByProps = /* @__PURE__ */ new WeakMap(), this.keyOwners = /* @__PURE__ */ new Map(), this.nextCollection = null, this.subscriptions = /* @__PURE__ */ new Set(), this.queuedRender = !1, this.inSubscription = !1, this.collection = e, this.nextCollection = e;}@@ -22311,7 +22311,7 @@ var vS = class {return !0;}createElement(e) {- return new yS(e, this);+ return new vS(e, this);}getMutableCollection() {return this.nextCollection ||= this.collection.clone(), this.nextCollection;@@ -22333,8 +22333,8 @@ var vS = class {return this.inSubscription || (this.queuedRender = !1, this.updateCollection()), this.collection;}updateCollection() {- for (let e of this.dirtyNodes) e instanceof yS && (!e.isConnected || e.isHidden) ? this.removeNode(e) : e.updateChildIndices();- for (let e of this.dirtyNodes) e instanceof yS ? (e.isConnected && !e.isHidden && (e.updateNode(), this.addNode(e)), e.node && this.dirtyNodes.delete(e), e.isMutated = !1) : this.dirtyNodes.delete(e);+ for (let e of this.dirtyNodes) e instanceof vS && (!e.isConnected || e.isHidden) ? this.removeNode(e) : e.updateChildIndices();+ for (let e of this.dirtyNodes) e instanceof vS ? (e.isConnected && !e.isHidden && (e.updateNode(), this.addNode(e)), e.node && this.dirtyNodes.delete(e), e.isMutated = !1) : this.dirtyNodes.delete(e);this.nextCollection && (this.nextCollection.commit(this.firstVisibleChild?.node?.key ?? null, this.lastVisibleChild?.node?.key ?? null, this.isSSR), this.isSSR || (this.collection = this.nextCollection, this.nextCollection = null));}queueUpdate() {@@ -22352,13 +22352,13 @@ var vS = class {}};// node_modules/react-aria/dist/private/collections/useCachedChildren.mjs-function bS(e) {+function yS(e) {let { children: t, items: n, idScope: r, addIdAndValue: i, dependencies: a = [] } = e, o = (0, F.useMemo)(() => void 0, [t]), s = (0, F.useMemo)(() => /* @__PURE__ */ new WeakMap(), [...a, o]);return (0, F.useMemo)(() => {if (n && typeof t == "function") {let e = [];for (let a of n) {- let n = uae(a) ? a : null, o = n ? s.get(n) : null;+ let n = dae(a) ? a : null, o = n ? s.get(n) : null;if (!o) {o = t(a);let c = o.props.id ?? a?.key ?? a?.id;@@ -22383,7 +22383,7 @@ function bS(e) {i]);}-function uae(e) {+function dae(e) {switch (typeof e) {case "object": return e != null;case "function":@@ -22392,24 +22392,24 @@ function uae(e) {}}// node_modules/react-aria/dist/private/utils/focusWithoutScrolling.mjs-function xS(e) {+function bS(e) {e.focus({ preventScroll: !0 });}// node_modules/react-aria/dist/private/utils/domHelpers.mjs-var SS = (e) => dae(e) ? e.document : fae(e) ? e : e?.ownerDocument ?? (typeof document < "u" ? document : void 0), CS = (e) => SS(e)?.defaultView ?? (typeof window < "u" ? window : void 0);-function wS(e) {+var xS = (e) => fae(e) ? e.document : pae(e) ? e : e?.ownerDocument ?? (typeof document < "u" ? document : void 0), SS = (e) => xS(e)?.defaultView ?? (typeof window < "u" ? window : void 0);+function CS(e) {return typeof e == "object" && !!e && "nodeType" in e && typeof e.nodeType == "number";}-function dae(e) {+function fae(e) {return typeof e == "object" && !!e && "window" in e && e.window === e;}-function fae(e) {- return wS(e) && e.nodeType === 9;+function pae(e) {+ return CS(e) && e.nodeType === 9;}-function TS(e) {- return wS(e) && e.nodeType === 11 && "host" in e;+function wS(e) {+ return CS(e) && e.nodeType === 11 && "host" in e;}-function ES(e, t, n, r) {+function TS(e, t, n, r) {if (n == null || e == null) return () => {};let i = Array.isArray(e) ? e : [e];for (let e of i) e.addEventListener(t, n, r);@@ -22417,7 +22417,7 @@ function ES(e, t, n, r) {for (let e of i) e.removeEventListener(t, n, r);};}-function DS(e, t, n, r) {+function ES(e, t, n, r) {if (e == null) return () => {};let i = [], a = Array.isArray(e) ? e : [e];for (let e of a) {@@ -22431,70 +22431,70 @@ function DS(e, t, n, r) {};}// node_modules/react-stately/dist/private/flags/flags.mjs-var pae = !1;-function OS() {- return pae;+var mae = !1;+function DS() {+ return mae;}// node_modules/react-aria/dist/private/utils/shadowdom/DOMFunctions.mjs-function kS(e, t) {- if (!OS()) return t && e ? e.contains(t) : !1;+function OS(e, t) {+ if (!DS()) return t && e ? e.contains(t) : !1;if (!e || !t) return !1;let n = t;for (; n != null;) {if (n === e) return !0;- n = typeof n.assignedElements != "function" && n.assignedSlot?.parentNode ? n.assignedSlot.parentNode : TS(n) ? n.host : n.parentNode;+ n = typeof n.assignedElements != "function" && n.assignedSlot?.parentNode ? n.assignedSlot.parentNode : wS(n) ? n.host : n.parentNode;}return !1;}-var AS = (e = document) => {- if (!OS()) return e.activeElement;+var kS = (e = document) => {+ if (!DS()) return e.activeElement;let t = e.activeElement;for (; t && "shadowRoot" in t && t.shadowRoot?.activeElement;) t = t.shadowRoot.activeElement;return t;};function G(e) {- if (OS() && e.target instanceof Element && e.target.shadowRoot) {+ if (DS() && e.target instanceof Element && e.target.shadowRoot) {if ("composedPath" in e) return e.composedPath()[0] ?? null;if ("composedPath" in e.nativeEvent) return e.nativeEvent.composedPath()[0] ?? null;}return e.target;}-function jS(e, t) {+function AS(e, t) {if (t === null) return [];- t ??= CS(e);+ t ??= SS(e);let n = [t];- if (!OS() || !e || e === t) return n;+ if (!DS() || !e || e === t) return n;let r = "getRootNode" in t ? t.getRootNode() : null, i = e.getRootNode() ?? null;- for (; TS(i) && i !== r;) n.push(i), i = i.host.getRootNode();+ for (; wS(i) && i !== r;) n.push(i), i = i.host.getRootNode();return n;}-function MS(e) {+function jS(e) {if (!e) return !1;- let t = e.getRootNode(), n = CS(e);+ let t = e.getRootNode(), n = SS(e);if (!(t instanceof n.Document || t instanceof n.ShadowRoot)) return !1;let r = t.activeElement;return r != null && e.contains(r);}// node_modules/react-aria/dist/private/utils/isElementVisible.mjs-var mae = typeof Element < "u" && "checkVisibility" in Element.prototype;-function hae(e) {- let t = CS(e);+var hae = typeof Element < "u" && "checkVisibility" in Element.prototype;+function gae(e) {+ let t = SS(e);if (!(e instanceof t.HTMLElement) && !(e instanceof t.SVGElement)) return !1;let { display: n, visibility: r } = e.style, i = n !== "none" && r !== "hidden" && r !== "collapse";if (i) {- let { getComputedStyle: t } = CS(e), { display: n, visibility: r } = t(e);+ let { getComputedStyle: t } = SS(e), { display: n, visibility: r } = t(e);i = n !== "none" && r !== "hidden" && r !== "collapse";}return i;}-function gae(e, t) {+function _ae(e, t) {return !e.hasAttribute("hidden") && !e.hasAttribute("data-react-aria-prevent-focus") && (e.nodeName === "DETAILS" && t && t.nodeName !== "SUMMARY" ? e.hasAttribute("open") : !0);}-function NS(e, t) {- return mae ? e.checkVisibility({ visibilityProperty: !0 }) && !e.closest("[data-react-aria-prevent-focus]") : e.nodeName !== "#comment" && hae(e) && gae(e, t) && (!e.parentElement || NS(e.parentElement, e));+function MS(e, t) {+ return hae ? e.checkVisibility({ visibilityProperty: !0 }) && !e.closest("[data-react-aria-prevent-focus]") : e.nodeName !== "#comment" && gae(e) && _ae(e, t) && (!e.parentElement || MS(e.parentElement, e));}// node_modules/react-aria/dist/private/utils/isFocusable.mjs-var PS = [+var NS = ["input:not([disabled]):not([type=hidden])","select:not([disabled])","textarea:not([disabled])",@@ -22509,39 +22509,39 @@ var PS = ["video[controls]","[contenteditable]:not([contenteditable^=\"false\"])","permission"-], _ae = PS.join(":not([hidden]),") + ",[tabindex]:not([disabled]):not([hidden])";-PS.push("[tabindex]:not([tabindex=\"-1\"]):not([disabled])");-var vae = PS.join(":not([hidden]):not([tabindex=\"-1\"]),");-function FS(e, t) {- return e.matches(_ae) && !LS(e) && (t?.skipVisibilityCheck || NS(e));+], vae = NS.join(":not([hidden]),") + ",[tabindex]:not([disabled]):not([hidden])";+NS.push("[tabindex]:not([tabindex=\"-1\"]):not([disabled])");+var yae = NS.join(":not([hidden]):not([tabindex=\"-1\"]),");+function PS(e, t) {+ return e.matches(vae) && !IS(e) && (t?.skipVisibilityCheck || MS(e));}-function IS(e) {- return e.matches(vae) && NS(e) && !LS(e);+function FS(e) {+ return e.matches(yae) && MS(e) && !IS(e);}-function LS(e) {+function IS(e) {let t = e;for (; t != null;) {- if (t instanceof CS(t).HTMLElement && t.inert) return !0;+ if (t instanceof SS(t).HTMLElement && t.inert) return !0;t = t.parentElement;}return !1;}// node_modules/react-aria/dist/private/utils/useLayoutEffect.mjs-var RS = typeof document < "u" ? F.useLayoutEffect : () => {};+var LS = typeof document < "u" ? F.useLayoutEffect : () => {};// node_modules/react-aria/dist/private/interactions/utils.mjs-function zS(e) {+function RS(e) {let t = e;return t.nativeEvent = e, t.isDefaultPrevented = () => t.defaultPrevented, t.isPropagationStopped = () => t.cancelBubble, t.persist = () => {}, t;}-function BS(e, t) {+function zS(e, t) {Object.defineProperty(e, "target", { value: t }), Object.defineProperty(e, "currentTarget", { value: t });}-function VS(e) {+function BS(e) {let t = (0, F.useRef)({isFocused: !1,observer: null});- return RS(() => {+ return LS(() => {let e = t.current;return () => {e.observer &&= (e.observer.disconnect(), null);@@ -22553,14 +22553,14 @@ function VS(e) {let n = r;n.addEventListener("focusout", (r) => {if (t.current.isFocused = !1, n.disabled) {- let t = zS(r);+ let t = RS(r);e?.(t);}t.current.observer && (t.current.observer.disconnect(), t.current.observer = null);}, { once: !0 }), t.current.observer = new MutationObserver(() => {if (t.current.isFocused && n.disabled) {t.current.observer?.disconnect();- let e = n === AS() ? null : AS();+ let e = n === kS() ? null : kS();n.dispatchEvent(new FocusEvent("blur", { relatedTarget: e })), n.dispatchEvent(new FocusEvent("focusout", {bubbles: !0,relatedTarget: e@@ -22573,80 +22573,80 @@ function VS(e) {}}, [e]);}-var HS = !1;-function yae(e) {- for (; e && !FS(e, { skipVisibilityCheck: !0 });) e = e.parentElement;- let t = AS(CS(e).document);+var VS = !1;+function bae(e) {+ for (; e && !PS(e, { skipVisibilityCheck: !0 });) e = e.parentElement;+ let t = kS(SS(e).document);if (!t || t === e) return;- let n = e?.getRootNode(), r = n != null && TS(n) ? n : CS(e), i = (t) => t === e || wS(t) && kS(e, t), a = (e) => e === t || t != null && wS(e) && kS(t, e);- HS = !0;+ let n = e?.getRootNode(), r = n != null && wS(n) ? n : SS(e), i = (t) => t === e || CS(t) && OS(e, t), a = (e) => e === t || t != null && CS(e) && OS(t, e);+ VS = !0;let o = !1, s = (e) => {(a(G(e)) || o) && e.stopImmediatePropagation();}, c = (n) => {- (a(G(n)) || o) && (n.stopImmediatePropagation(), !e && !o && (o = !0, xS(t), d()));+ (a(G(n)) || o) && (n.stopImmediatePropagation(), !e && !o && (o = !0, bS(t), d()));}, l = (e) => {(i(G(e)) || o) && e.stopImmediatePropagation();}, u = (e) => {- (i(G(e)) || o) && (e.stopImmediatePropagation(), o || (o = !0, xS(t), d()));+ (i(G(e)) || o) && (e.stopImmediatePropagation(), o || (o = !0, bS(t), d()));};r.addEventListener("blur", s, !0), r.addEventListener("focusout", c, !0), r.addEventListener("focusin", u, !0), r.addEventListener("focus", l, !0);let d = () => {- cancelAnimationFrame(f), r.removeEventListener("blur", s, !0), r.removeEventListener("focusout", c, !0), r.removeEventListener("focusin", u, !0), r.removeEventListener("focus", l, !0), HS = !1, o = !1;+ cancelAnimationFrame(f), r.removeEventListener("blur", s, !0), r.removeEventListener("focusout", c, !0), r.removeEventListener("focusin", u, !0), r.removeEventListener("focus", l, !0), VS = !1, o = !1;}, f = requestAnimationFrame(d);return d;}// node_modules/react-aria/dist/private/utils/platform.mjs-function US(e) {+function HS(e) {if (typeof window > "u" || window.navigator == null) return !1;let t = window.navigator.userAgentData?.brands;return Array.isArray(t) && t.some((t) => e.test(t.brand)) || e.test(window.navigator.userAgent);}-function WS(e) {+function US(e) {return typeof window < "u" && window.navigator != null && e.test(window.navigator.userAgentData?.platform || window.navigator.platform);}-function GS(e) {+function WS(e) {let t = null;return () => (t ??= e(), t);}-var KS = GS(function() {- return WS(/^Mac/i);-}), bae = GS(function() {- return WS(/^iPhone/i);-}), qS = GS(function() {- return WS(/^iPad/i) || KS() && navigator.maxTouchPoints > 1;-}), JS = GS(function() {- return bae() || qS();-}), xae = GS(function() {- return KS() || JS();-}), YS = GS(function() {- return US(/AppleWebKit/i) && (JS() || !XS());-}), XS = GS(function() {- return US(/Chrome|CriOS|CrMo/i);-}), ZS = GS(function() {- return US(/Android/i);+var GS = WS(function() {+ return US(/^Mac/i);+}), xae = WS(function() {+ return US(/^iPhone/i);+}), KS = WS(function() {+ return US(/^iPad/i) || GS() && navigator.maxTouchPoints > 1;+}), qS = WS(function() {+ return xae() || KS();+}), Sae = WS(function() {+ return GS() || qS();+}), JS = WS(function() {+ return HS(/AppleWebKit/i) && (qS() || !YS());+}), YS = WS(function() {+ return HS(/Chrome|CriOS|CrMo/i);+}), XS = WS(function() {+ return HS(/Android/i);});// node_modules/react-aria/dist/private/utils/isVirtualEvent.mjs-function QS(e) {- return e.pointerType === "" && e.isTrusted ? !0 : ZS() && e.pointerType ? e.type === "click" && e.buttons === 1 : e.detail === 0 && !e.pointerType;+function ZS(e) {+ return e.pointerType === "" && e.isTrusted ? !0 : XS() && e.pointerType ? e.type === "click" && e.buttons === 1 : e.detail === 0 && !e.pointerType;}-function Sae(e) {- return !ZS() && e.width === 0 && e.height === 0 || ZS() && e.width === 1 && e.height === 1 && e.pressure === 0 && e.detail === 0 && e.pointerType === "mouse";+function Cae(e) {+ return !XS() && e.width === 0 && e.height === 0 || XS() && e.width === 1 && e.height === 1 && e.pressure === 0 && e.detail === 0 && e.pointerType === "mouse";}// node_modules/react-aria/dist/private/utils/openLink.mjs-var Cae = /*#__PURE__*/ (0, F.createContext)({+var wae = /*#__PURE__*/ (0, F.createContext)({isNative: !0,- open: Eae,+ open: Dae,useHref: (e) => e});-function $S() {- return (0, F.useContext)(Cae);+function QS() {+ return (0, F.useContext)(wae);}-function wae(e, t) {+function Tae(e, t) {let n = e.getAttribute("target");return (!n || n === "_self") && e.origin === location.origin && !e.hasAttribute("download") && !t.metaKey && !t.ctrlKey && !t.altKey && !t.shiftKey;}-function eC(e, t, n = !0) {- let { metaKey: r, ctrlKey: i, altKey: a, shiftKey: o } = t, s = YS() && KS() && !qS() ? new KeyboardEvent("keydown", {+function $S(e, t, n = !0) {+ let { metaKey: r, ctrlKey: i, altKey: a, shiftKey: o } = t, s = JS() && GS() && !KS() ? new KeyboardEvent("keydown", {keyIdentifier: "Enter",metaKey: r,ctrlKey: i,@@ -22661,21 +22661,21 @@ function eC(e, t, n = !0) {bubbles: !0,cancelable: !0});- eC.isOpening = n, xS(e), e.dispatchEvent(s), eC.isOpening = !1;+ $S.isOpening = n, bS(e), e.dispatchEvent(s), $S.isOpening = !1;}-eC.isOpening = !1;-function Tae(e, t) {+$S.isOpening = !1;+function Eae(e, t) {if (e instanceof HTMLAnchorElement) t(e);else if (e.hasAttribute("data-href")) {let n = document.createElement("a");n.href = e.getAttribute("data-href"), e.hasAttribute("data-target") && (n.target = e.getAttribute("data-target")), e.hasAttribute("data-rel") && (n.rel = e.getAttribute("data-rel")), e.hasAttribute("data-download") && (n.download = e.getAttribute("data-download")), e.hasAttribute("data-ping") && (n.ping = e.getAttribute("data-ping")), e.hasAttribute("data-referrer-policy") && (n.referrerPolicy = e.getAttribute("data-referrer-policy")), e.appendChild(n), t(n), e.removeChild(n);}}-function Eae(e, t) {- Tae(e, (e) => eC(e, t));+function Dae(e, t) {+ Eae(e, (e) => $S(e, t));}-function tC(e) {- let t = $S().useHref(e.href ?? "");+function eC(e) {+ let t = QS().useHref(e.href ?? "");return {"data-href": e.href ? t : void 0,"data-target": e.target,@@ -22685,8 +22685,8 @@ function tC(e) {"data-referrer-policy": e.referrerPolicy};}-function nC(e) {- let t = $S().useHref(e?.href ?? ""), n = {};+function tC(e) {+ let t = QS().useHref(e?.href ?? ""), n = {};if (e) for (let r of ["href","target",@@ -22697,138 +22697,138 @@ function nC(e) {]) r in e && e[r] !== void 0 && (n[r] = r === "href" ? t : e[r]);return n;}-function Dae(e, t, n, r) {- !t.isNative && e.currentTarget instanceof HTMLAnchorElement && e.currentTarget.href && !e.isDefaultPrevented() && wae(e.currentTarget, e) && n && (e.preventDefault(), t.open(e.currentTarget, e, n, r));+function Oae(e, t, n, r) {+ !t.isNative && e.currentTarget instanceof HTMLAnchorElement && e.currentTarget.href && !e.isDefaultPrevented() && Tae(e.currentTarget, e) && n && (e.preventDefault(), t.open(e.currentTarget, e, n, r));}// node_modules/react-aria/dist/private/ssr/SSRProvider.mjs-var rC = {+var nC = {prefix: String(Math.round(Math.random() * 1e10)),current: 0-}, iC = /*#__PURE__*/ F.createContext(rC), Oae = /*#__PURE__*/ F.createContext(!1);+}, rC = /*#__PURE__*/ F.createContext(nC), kae = /*#__PURE__*/ F.createContext(!1);typeof window < "u" && window.document && window.document.createElement;-var aC = /* @__PURE__ */ new WeakMap();-function kae(e = !1) {- let t = (0, F.useContext)(iC), n = (0, F.useRef)(null);+var iC = /* @__PURE__ */ new WeakMap();+function Aae(e = !1) {+ let t = (0, F.useContext)(rC), n = (0, F.useRef)(null);if (n.current === null && !e) {let e = F.default.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED?.ReactCurrentOwner?.current;if (e) {- let n = aC.get(e);- n == null ? aC.set(e, {+ let n = iC.get(e);+ n == null ? iC.set(e, {id: t.current,state: e.memoizedState- }) : e.memoizedState !== n.state && (t.current = n.id, aC.delete(e));+ }) : e.memoizedState !== n.state && (t.current = n.id, iC.delete(e));}n.current = ++t.current;}return n.current;}-function Aae(e) {- let t = (0, F.useContext)(iC), n = kae(!!e), r = `react-aria${t.prefix}`;+function jae(e) {+ let t = (0, F.useContext)(rC), n = Aae(!!e), r = `react-aria${t.prefix}`;return e || `${r}-${n}`;}-function jae(e) {- let t = F.useId(), [n] = (0, F.useState)(sC()), r = n ? "react-aria" : `react-aria${rC.prefix}`;+function Mae(e) {+ let t = F.useId(), [n] = (0, F.useState)(oC()), r = n ? "react-aria" : `react-aria${nC.prefix}`;return e || `${r}-${t}`;}-var Mae = typeof F.useId == "function" ? jae : Aae;-function Nae() {+var Nae = typeof F.useId == "function" ? Mae : jae;+function Pae() {return !1;}-function Pae() {+function Fae() {return !0;}-function oC(e) {+function aC(e) {return () => {};}-function sC() {- return typeof F.useSyncExternalStore == "function" ? F.useSyncExternalStore(oC, Nae, Pae) : (0, F.useContext)(Oae);+function oC() {+ return typeof F.useSyncExternalStore == "function" ? F.useSyncExternalStore(aC, Pae, Fae) : (0, F.useContext)(kae);}// node_modules/react-aria/dist/private/interactions/useFocusVisible.mjs-var cC = null, lC = /* @__PURE__ */ new Set(), uC = /* @__PURE__ */ new Map(), dC = !1, fC = !1, Fae = {+var sC = null, cC = /* @__PURE__ */ new Set(), lC = /* @__PURE__ */ new Map(), uC = !1, dC = !1, Iae = {Tab: !0,Escape: !0};-function pC(e, t) {- for (let n of lC) n(e, t);+function fC(e, t) {+ for (let n of cC) n(e, t);}-function Iae(e) {- return !(e.metaKey || !KS() && e.altKey || e.ctrlKey || e.key === "Control" || e.key === "Shift" || e.key === "Meta");+function Lae(e) {+ return !(e.metaKey || !GS() && e.altKey || e.ctrlKey || e.key === "Control" || e.key === "Shift" || e.key === "Meta");+}+function pC(e) {+ uC = !0, !$S.isOpening && Lae(e) && (sC = "keyboard", fC("keyboard", e));}function mC(e) {- dC = !0, !eC.isOpening && Iae(e) && (cC = "keyboard", pC("keyboard", e));+ sC = "pointer", "pointerType" in e && e.pointerType, (e.type === "mousedown" || e.type === "pointerdown") && (uC = !0, fC("pointer", e));}function hC(e) {- cC = "pointer", "pointerType" in e && e.pointerType, (e.type === "mousedown" || e.type === "pointerdown") && (dC = !0, pC("pointer", e));+ !$S.isOpening && ZS(e) && (uC = !0, sC = "virtual");}function gC(e) {- !eC.isOpening && QS(e) && (dC = !0, cC = "virtual");-}-function _C(e) {- if (HS) return;- let t = G(e), n = CS(t), r = SS(t);- t === n ? fC = !0 : t !== r && e.isTrusted && (!dC && !fC && (cC = "virtual", pC("virtual", e)), dC = !1, fC = !1);+ if (VS) return;+ let t = G(e), n = SS(t), r = xS(t);+ t === n ? dC = !0 : t !== r && e.isTrusted && (!uC && !dC && (sC = "virtual", fC("virtual", e)), uC = !1, dC = !1);}-function vC() {- HS || (dC = !1, fC = !0);+function _C() {+ VS || (uC = !1, dC = !0);}-function yC(e) {- let t = AS(SS(G(e)));+function vC(e) {+ let t = kS(xS(G(e)));queueMicrotask(() => {- AS(SS(G(e))) !== t && wC("keyboard");+ kS(xS(G(e))) !== t && CC("keyboard");});}-function bC(e) {+function yC(e) {if (typeof window > "u" || typeof document > "u") return;- let t = CS(e), n = SS(e);- if (uC.get(t)) return;+ let t = SS(e), n = xS(e);+ if (lC.get(t)) return;let r = t.HTMLElement.prototype.focus;Reflect.defineProperty(t.HTMLElement.prototype, "focus", {configurable: !0,writable: !0,value: function() {- dC = !0, r.apply(this, arguments);+ uC = !0, r.apply(this, arguments);}- }), n.addEventListener("keydown", mC, !0), n.addEventListener("keyup", mC, !0), n.addEventListener("click", gC, !0), n.addEventListener("invalid", yC, !0), t.addEventListener("focus", _C, !0), t.addEventListener("blur", vC, !1), typeof PointerEvent < "u" && (n.addEventListener("pointerdown", hC, !0), n.addEventListener("pointermove", hC, !0), n.addEventListener("pointerup", hC, !0)), t.addEventListener("beforeunload", () => {- xC(e);- }, { once: !0 }), uC.set(t, { focus: r });+ }), n.addEventListener("keydown", pC, !0), n.addEventListener("keyup", pC, !0), n.addEventListener("click", hC, !0), n.addEventListener("invalid", vC, !0), t.addEventListener("focus", gC, !0), t.addEventListener("blur", _C, !1), typeof PointerEvent < "u" && (n.addEventListener("pointerdown", mC, !0), n.addEventListener("pointermove", mC, !0), n.addEventListener("pointerup", mC, !0)), t.addEventListener("beforeunload", () => {+ bC(e);+ }, { once: !0 }), lC.set(t, { focus: r });}-var xC = (e, t) => {- let n = CS(e), r = SS(e);- t && r.removeEventListener("DOMContentLoaded", t), uC.has(n) && (Reflect.defineProperty(n.HTMLElement.prototype, "focus", {+var bC = (e, t) => {+ let n = SS(e), r = xS(e);+ t && r.removeEventListener("DOMContentLoaded", t), lC.has(n) && (Reflect.defineProperty(n.HTMLElement.prototype, "focus", {configurable: !0,writable: !0,- value: uC.get(n).focus- }), r.removeEventListener("keydown", mC, !0), r.removeEventListener("keyup", mC, !0), r.removeEventListener("click", gC, !0), r.removeEventListener("invalid", yC, !0), n.removeEventListener("focus", _C, !0), n.removeEventListener("blur", vC, !1), typeof PointerEvent < "u" && (r.removeEventListener("pointerdown", hC, !0), r.removeEventListener("pointermove", hC, !0), r.removeEventListener("pointerup", hC, !0)), uC.delete(n));+ value: lC.get(n).focus+ }), r.removeEventListener("keydown", pC, !0), r.removeEventListener("keyup", pC, !0), r.removeEventListener("click", hC, !0), r.removeEventListener("invalid", vC, !0), n.removeEventListener("focus", gC, !0), n.removeEventListener("blur", _C, !1), typeof PointerEvent < "u" && (r.removeEventListener("pointerdown", mC, !0), r.removeEventListener("pointermove", mC, !0), r.removeEventListener("pointerup", mC, !0)), lC.delete(n));};-function Lae(e) {- let t = SS(e), n;+function Rae(e) {+ let t = xS(e), n;return t.readyState === "loading" ? (n = () => {- bC(e);- }, t.addEventListener("DOMContentLoaded", n)) : bC(e), () => xC(e, n);+ yC(e);+ }, t.addEventListener("DOMContentLoaded", n)) : yC(e), () => bC(e, n);}-typeof document < "u" && Lae();-function SC() {- return cC !== "pointer";+typeof document < "u" && Rae();+function xC() {+ return sC !== "pointer";}-function CC() {- return cC;+function SC() {+ return sC;}-function wC(e) {- cC = e, pC(e, null);+function CC(e) {+ sC = e, fC(e, null);}-function TC() {- bC();- let [e, t] = (0, F.useState)(cC);+function wC() {+ yC();+ let [e, t] = (0, F.useState)(sC);return (0, F.useEffect)(() => {let e = () => {- t(cC);+ t(sC);};- return lC.add(e), () => {- lC.delete(e);+ return cC.add(e), () => {+ cC.delete(e);};- }, []), sC() ? null : e;+ }, []), oC() ? null : e;}-var Rae = /* @__PURE__ */ new Set([+var zae = /* @__PURE__ */ new Set(["checkbox","radio","range",@@ -22839,107 +22839,107 @@ var Rae = /* @__PURE__ */ new Set(["submit","reset"]);-function zae(e, t, n) {- let r = n ? G(n) : void 0, i = SS(r), a = CS(r), o = a === void 0 ? HTMLInputElement : a.HTMLInputElement, s = a === void 0 ? HTMLTextAreaElement : a.HTMLTextAreaElement, c = a === void 0 ? HTMLElement : a.HTMLElement, l = a === void 0 ? KeyboardEvent : a.KeyboardEvent, u = AS(i);- return e = e || u instanceof o && !Rae.has(u.type) || u instanceof s || u instanceof c && u.isContentEditable, !(e && t === "keyboard" && n instanceof l && !Fae[n.key]);+function Bae(e, t, n) {+ let r = n ? G(n) : void 0, i = xS(r), a = SS(r), o = a === void 0 ? HTMLInputElement : a.HTMLInputElement, s = a === void 0 ? HTMLTextAreaElement : a.HTMLTextAreaElement, c = a === void 0 ? HTMLElement : a.HTMLElement, l = a === void 0 ? KeyboardEvent : a.KeyboardEvent, u = kS(i);+ return e = e || u instanceof o && !zae.has(u.type) || u instanceof s || u instanceof c && u.isContentEditable, !(e && t === "keyboard" && n instanceof l && !Iae[n.key]);}-function EC(e = {}) {- let { isTextInput: t, autoFocus: n } = e, [r, i] = (0, F.useState)(n || SC());- return DC((e) => {+function TC(e = {}) {+ let { isTextInput: t, autoFocus: n } = e, [r, i] = (0, F.useState)(n || xC());+ return EC((e) => {i(e);}, [t], { isTextInput: t }), { isFocusVisible: r };}-function DC(e, t, n) {- bC(), (0, F.useEffect)(() => {+function EC(e, t, n) {+ yC(), (0, F.useEffect)(() => {if (n?.enabled === !1) return;let t = (t, r) => {- zae(!!n?.isTextInput, t, r) && e(SC());+ Bae(!!n?.isTextInput, t, r) && e(xC());};- return lC.add(t), () => {- lC.delete(t);+ return cC.add(t), () => {+ cC.delete(t);};}, t);}// node_modules/react-aria/dist/private/utils/runAfterTransition.mjs-var OC = /* @__PURE__ */ new Map(), kC = /* @__PURE__ */ new Set();-function AC(e) {+var DC = /* @__PURE__ */ new Map(), OC = /* @__PURE__ */ new Set();+function kC(e) {return "propertyName" in e;}-function Bae(e) {+function Vae(e) {let t = G(e);- if (!AC(e) || !t) return;- let n = OC.get(t);- n || (n = /* @__PURE__ */ new Set(), OC.set(t, n), t.addEventListener("transitioncancel", jC, { once: !0 })), n.add(e.propertyName);+ if (!kC(e) || !t) return;+ let n = DC.get(t);+ n || (n = /* @__PURE__ */ new Set(), DC.set(t, n), t.addEventListener("transitioncancel", AC, { once: !0 })), n.add(e.propertyName);}-function jC(e) {+function AC(e) {let t = G(e);- if (!AC(e) || !t) return;- let n = OC.get(t);- if (n && (n.delete(e.propertyName), n.size === 0 && (t.removeEventListener("transitioncancel", jC), OC.delete(t)), OC.size === 0)) for (let e of kC) e(!0), kC.delete(e);+ if (!kC(e) || !t) return;+ let n = DC.get(t);+ if (n && (n.delete(e.propertyName), n.size === 0 && (t.removeEventListener("transitioncancel", AC), DC.delete(t)), DC.size === 0)) for (let e of OC) e(!0), OC.delete(e);}-function MC() {- ES(document, "transitionrun", Bae), ES(document, "transitionend", jC);+function jC() {+ TS(document, "transitionrun", Vae), TS(document, "transitionend", AC);}-function Vae() {- for (let [e] of OC) "isConnected" in e && !e.isConnected && OC.delete(e);+function Hae() {+ for (let [e] of DC) "isConnected" in e && !e.isConnected && DC.delete(e);}-typeof document < "u" && (document.readyState === "loading" ? ES(document, "DOMContentLoaded", MC) : MC());-function NC(e) {+typeof document < "u" && (document.readyState === "loading" ? TS(document, "DOMContentLoaded", jC) : jC());+function MC(e) {let t = window.requestAnimationFrame(() => {- if (Vae(), OC.size === 0) return e(!1);- kC.add(e);+ if (Hae(), DC.size === 0) return e(!1);+ OC.add(e);});return () => {- window.cancelAnimationFrame(t), kC.delete(e);+ window.cancelAnimationFrame(t), OC.delete(e);};}// node_modules/react-aria/dist/private/interactions/focusSafely.mjs-function PC(e) {+function NC(e) {if (!e.isConnected) return;- let t = SS(e);- if (CC() === "virtual") {- let n = AS(t);- NC(() => {- let r = AS(t);- (r === n || r === t.body) && e.isConnected && xS(e);+ let t = xS(e);+ if (SC() === "virtual") {+ let n = kS(t);+ MC(() => {+ let r = kS(t);+ (r === n || r === t.body) && e.isConnected && bS(e);});- } else xS(e);+ } else bS(e);}// node_modules/react-aria/dist/private/utils/chain.mjs-function FC(...e) {+function PC(...e) {return (...t) => {for (let n of e) typeof n == "function" && n(...t);};}// node_modules/react-aria/dist/private/utils/useValueEffect.mjs-function Hae(e) {+function Uae(e) {let [t, n] = (0, F.useState)(e), r = (0, F.useRef)(t), i = (0, F.useRef)(null), a = (0, F.useRef)(() => {if (!i.current) return;let e = i.current.next();e.done ? i.current = null : r.current === e.value ? a.current() : n(e.value);});- return RS(() => {+ return LS(() => {r.current = t, i.current && a.current();}), [t, (0, F.useCallback)((e) => {i.current = e(r.current), a.current();}, [a])];}// node_modules/react-aria/dist/private/utils/useId.mjs-var Uae = !!(typeof window < "u" && window.document && window.document.createElement), IC = /* @__PURE__ */ new Map(), LC;-typeof FinalizationRegistry < "u" && (LC = new FinalizationRegistry((e) => {- IC.delete(e);+var Wae = !!(typeof window < "u" && window.document && window.document.createElement), FC = /* @__PURE__ */ new Map(), IC;+typeof FinalizationRegistry < "u" && (IC = new FinalizationRegistry((e) => {+ FC.delete(e);}));-var RC = /* @__PURE__ */ new WeakMap();-function zC(e) {- let [t, n] = (0, F.useState)(e), r = (0, F.useRef)(null), i = Mae(t), a = (0, F.useRef)(null), o = RC.get(a);- if (LC && o !== i && (o != null && LC.unregister(a), LC.register(a, i, a), RC.set(a, i)), Uae) {- let e = IC.get(i);- e && !e.includes(r) ? e.push(r) : IC.set(i, [r]);- }- return RS(() => {+var LC = /* @__PURE__ */ new WeakMap();+function RC(e) {+ let [t, n] = (0, F.useState)(e), r = (0, F.useRef)(null), i = Nae(t), a = (0, F.useRef)(null), o = LC.get(a);+ if (IC && o !== i && (o != null && IC.unregister(a), IC.register(a, i, a), LC.set(a, i)), Wae) {+ let e = FC.get(i);+ e && !e.includes(r) ? e.push(r) : FC.set(i, [r]);+ }+ return LS(() => {let e = i;return () => {- LC && (LC.unregister(a), RC.delete(a)), IC.delete(e);+ IC && (IC.unregister(a), LC.delete(a)), FC.delete(e);};}, [i]), (0, F.useEffect)(() => {let e = r.current;@@ -22948,57 +22948,57 @@ function zC(e) {};}), i;}-function Wae(e, t) {+function Gae(e, t) {if (e === t) return e;- let n = IC.get(e);+ let n = FC.get(e);if (n) return n.forEach((e) => e.current = t), t;- let r = IC.get(t);+ let r = FC.get(t);return r ? (r.forEach((t) => t.current = e), e) : t;}-function BC(e = []) {- let t = zC(), [n, r] = Hae(t), i = (0, F.useCallback)(() => {+function zC(e = []) {+ let t = RC(), [n, r] = Uae(t), i = (0, F.useCallback)(() => {r(function* () {yield t, yield document.getElementById(t) ? t : void 0;});}, [t, r]);- return RS(i, [+ return LS(i, [t,i,...e]), n;}// node_modules/react-aria/dist/private/utils/mergeRefs.mjs-function VC(...e) {+function BC(...e) {return e.length === 1 && e[0] ? e[0] : (t) => {let n = !1, r = e.map((e) => {- let r = HC(e, t);+ let r = VC(e, t);return n ||= typeof r == "function", r;});if (n) return () => {r.forEach((t, n) => {- typeof t == "function" ? t() : HC(e[n], null);+ typeof t == "function" ? t() : VC(e[n], null);});};};}-function HC(e, t) {+function VC(e, t) {if (typeof e == "function") return e(t);e != null && (e.current = t);}// node_modules/clsx/dist/clsx.mjs-function UC(e) {+function HC(e) {var t, n, r = "";if (typeof e == "string" || typeof e == "number") r += e;else if (typeof e == "object") {if (Array.isArray(e)) {var i = e.length;- for (t = 0; t < i; t++) e[t] && (n = UC(e[t])) && (r && (r += " "), r += n);+ for (t = 0; t < i; t++) e[t] && (n = HC(e[t])) && (r && (r += " "), r += n);} else for (n in e) e[n] && (r && (r += " "), r += n);}return r;}-function WC() {- for (var e, t, n = 0, r = "", i = arguments.length; n < i; n++) (e = arguments[n]) && (t = UC(e)) && (r && (r += " "), r += t);+function UC() {+ for (var e, t, n = 0, r = "", i = arguments.length; n < i; n++) (e = arguments[n]) && (t = HC(e)) && (r && (r += " "), r += t);return r;}// node_modules/react-aria/dist/private/utils/mergeProps.mjs@@ -23008,17 +23008,17 @@ function K(...e) {let r = e[n];for (let e in r) {let n = t[e], i = r[e];- typeof n == "function" && typeof i == "function" && e[0] === "o" && e[1] === "n" && e.charCodeAt(2) >= 65 && e.charCodeAt(2) <= 90 ? t[e] = FC(n, i) : (e === "className" || e === "UNSAFE_className") && typeof n == "string" && typeof i == "string" ? t[e] = WC(n, i) : e === "id" && n && i ? t.id = Wae(n, i) : e === "ref" && n && i ? t.ref = VC(n, i) : t[e] = i === void 0 ? n : i;+ typeof n == "function" && typeof i == "function" && e[0] === "o" && e[1] === "n" && e.charCodeAt(2) >= 65 && e.charCodeAt(2) <= 90 ? t[e] = PC(n, i) : (e === "className" || e === "UNSAFE_className") && typeof n == "string" && typeof i == "string" ? t[e] = UC(n, i) : e === "id" && n && i ? t.id = Gae(n, i) : e === "ref" && n && i ? t.ref = BC(n, i) : t[e] = i === void 0 ? n : i;}}return t;}// node_modules/react-aria/dist/private/interactions/useFocus.mjs-function GC(e) {+function WC(e) {let { isDisabled: t, onFocus: n, onBlur: r, onFocusChange: i } = e, a = (0, F.useCallback)((e) => {if (G(e) === e.currentTarget) return r && r(e), i && i(!1), !0;- }, [r, i]), o = VS(a), s = (0, F.useCallback)((e) => {- let t = G(e), r = SS(t), a = r ? AS(r) : AS();+ }, [r, i]), o = BS(a), s = (0, F.useCallback)((e) => {+ let t = G(e), r = xS(t), a = r ? kS(r) : kS();t === e.currentTarget && t === a && (n && n(e), i && i(!0), o(e));}, [i,@@ -23031,7 +23031,7 @@ function GC(e) {} };}// node_modules/react-aria/dist/private/interactions/createEventHandler.mjs-function KC(e) {+function GC(e) {if (e) return (t) => {let n = !0;e({@@ -23055,33 +23055,33 @@ function KC(e) {};}// node_modules/react-aria/dist/private/interactions/createKeyboardShortcutHandler.mjs-var Gae = /* @__PURE__ */ new Set([+var Kae = /* @__PURE__ */ new Set(["shift","alt","control","meta","mod"-]), Kae = [+]), qae = ["Alt","Control","Meta","Shift"];-function qae(e) {+function Jae(e) {let t = /* @__PURE__ */ new Set();- return e.alt && t.add("Alt"), e.shift && t.add("Shift"), e.ctrl && t.add("Control"), e.meta && t.add("Meta"), e.mod && t.add(KS() ? "Meta" : "Control"), t;+ return e.alt && t.add("Alt"), e.shift && t.add("Shift"), e.ctrl && t.add("Control"), e.meta && t.add("Meta"), e.mod && t.add(GS() ? "Meta" : "Control"), t;}-function Jae(e) {+function Yae(e) {let t = /* @__PURE__ */ new Set();return e.altKey && t.add("Alt"), e.ctrlKey && t.add("Control"), e.metaKey && t.add("Meta"), e.shiftKey && t.add("Shift"), t;}-function qC(e) {- return Kae.filter((t) => e.has(t));+function KC(e) {+ return qae.filter((t) => e.has(t));}-function Yae(e) {+function Xae(e) {let t = e.split("+").reduce((e, t) => {let n = t.toLowerCase();- return Gae.has(n) ? n === "shift" ? e.shift = !0 : n === "alt" ? e.alt = !0 : n === "control" ? e.ctrl = !0 : n === "meta" ? e.meta = !0 : n === "mod" && (e.mod = !0) : e.key = t, e;+ return Kae.has(n) ? n === "shift" ? e.shift = !0 : n === "alt" ? e.alt = !0 : n === "control" ? e.ctrl = !0 : n === "meta" ? e.meta = !0 : n === "mod" && (e.mod = !0) : e.key = t, e;}, {shift: !1,alt: !1,@@ -23093,10 +23093,10 @@ function Yae(e) {if (t.key === "") throw Error(`Invalid keyboard shortcut: "${e}". Must include exactly one non-modifier key (e.g. "a", "Enter", "ArrowDown"). Combine any of Shift, Alt, Ctrl, Meta, and Mod.`);return t;}-function JC(e) {+function qC(e) {return e.toLowerCase();}-var Xae = {+var Zae = {space: " ",esc: "escape",del: "delete",@@ -23108,26 +23108,26 @@ var Xae = {pageup: "pageup",pagedown: "pagedown"};-function Zae(e) {- let t = JC(e);- return Xae[t] ?? t;-}function Qae(e) {- let t = qC(qae(e)), n = Zae(e.key);- return t.length > 0 ? `${t.join("+")}+${n}` : n;+ let t = qC(e);+ return Zae[t] ?? t;}function $ae(e) {- let t = qC(Jae(e)), n = JC(e.key);- return (t.length > 0 ? `${t.join("+")}+` : "") + n;+ let t = KC(Jae(e)), n = Qae(e.key);+ return t.length > 0 ? `${t.join("+")}+${n}` : n;}function eoe(e) {+ let t = KC(Yae(e)), n = qC(e.key);+ return (t.length > 0 ? `${t.join("+")}+` : "") + n;+}+function toe(e) {let t = /* @__PURE__ */ new Map();for (let [n, r] of Object.entries(e)) {- let e = Yae(n);- t.set(Qae(e), r);+ let e = Xae(n);+ t.set($ae(e), r);}return (e) => {- let n = $ae(e), r = t.get(n), i = r?.(e);+ let n = eoe(e), r = t.get(n), i = r?.(e);i === void 0 && r !== void 0 ? i = {shouldContinuePropagation: !1,shouldPreventDefault: !0@@ -23138,23 +23138,23 @@ function eoe(e) {};}// node_modules/react-aria/dist/private/interactions/useKeyboard.mjs-function YC(e) {+function JC(e) {let { shortcuts: t, allowRepeats: n = !1, allowComposing: r = !1 } = e, i, a;if (t) {- let o = eoe(t), s = KC((e) => {- kS(e.currentTarget, G(e)) ? e.nativeEvent?.repeat && !n || e.nativeEvent?.isComposing && !r ? e.continuePropagation() : o(e) : e.continuePropagation();- }), c = KC((e) => {- kS(e.currentTarget, G(e)) && (e.nativeEvent?.repeat && !n || e.nativeEvent?.isComposing), e.continuePropagation();+ let o = toe(t), s = GC((e) => {+ OS(e.currentTarget, G(e)) ? e.nativeEvent?.repeat && !n || e.nativeEvent?.isComposing && !r ? e.continuePropagation() : o(e) : e.continuePropagation();+ }), c = GC((e) => {+ OS(e.currentTarget, G(e)) && (e.nativeEvent?.repeat && !n || e.nativeEvent?.isComposing), e.continuePropagation();});- i = e.onKeyDown ? FC(e.onKeyDown, s) : s, a = e.onKeyUp ? FC(e.onKeyUp, c) : c;- } else i = KC(e.onKeyDown), a = KC(e.onKeyUp);+ i = e.onKeyDown ? PC(e.onKeyDown, s) : s, a = e.onKeyUp ? PC(e.onKeyUp, c) : c;+ } else i = GC(e.onKeyDown), a = GC(e.onKeyUp);return { keyboardProps: e.isDisabled ? {} : {onKeyDown: i,onKeyUp: a} };}// node_modules/react-aria/dist/private/utils/useObjectRef.mjs-function XC(e) {+function YC(e) {let t = (0, F.useRef)(null), n = (0, F.useRef)(void 0), r = (0, F.useCallback)((t) => {if (typeof e == "function") {let n = e, r = n(t);@@ -23176,25 +23176,25 @@ function XC(e) {}), [r]);}// node_modules/react-aria/dist/private/utils/useSyncRef.mjs-function ZC(e, t) {- RS(() => {+function XC(e, t) {+ LS(() => {if (e && e.ref && t) return e.ref.current = t.current, () => {e.ref && (e.ref.current = null);};});}// node_modules/react-aria/dist/private/interactions/useFocusable.mjs-var QC = /*#__PURE__*/ F.createContext(null);-function toe(e) {- let t = (0, F.useContext)(QC) || {};- ZC(t, e);+var ZC = /*#__PURE__*/ F.createContext(null);+function noe(e) {+ let t = (0, F.useContext)(ZC) || {};+ XC(t, e);let { ref: n, ...r } = t;return r;}-function $C(e, t) {- let { focusProps: n } = GC(e), { keyboardProps: r } = YC(e), i = K(n, r), a = toe(t), o = e.isDisabled ? {} : a, s = (0, F.useRef)(e.autoFocus);+function QC(e, t) {+ let { focusProps: n } = WC(e), { keyboardProps: r } = JC(e), i = K(n, r), a = noe(t), o = e.isDisabled ? {} : a, s = (0, F.useRef)(e.autoFocus);(0, F.useEffect)(() => {- s.current && t.current && PC(t.current), s.current = !1;+ s.current && t.current && NC(t.current), s.current = !1;}, [t]);let c = e.excludeFromTabOrder ? -1 : 0;return e.isDisabled && (c = void 0), { focusableProps: K({@@ -23228,21 +23228,21 @@ typeof HTMLTemplateElement < "u" && (Object.defineProperty(HTMLTemplateElement.preturn this.content.insertBefore(e, t);}}));-var ew = /*#__PURE__*/ (0, F.createContext)(!1);-function noe(e) {- if ((0, F.useContext)(ew)) return /*#__PURE__*/ F.createElement(F.Fragment, null, e.children);- let t = /*#__PURE__*/ F.createElement(ew.Provider, { value: !0 }, e.children);+var $C = /*#__PURE__*/ (0, F.createContext)(!1);+function roe(e) {+ if ((0, F.useContext)($C)) return /*#__PURE__*/ F.createElement(F.Fragment, null, e.children);+ let t = /*#__PURE__*/ F.createElement($C.Provider, { value: !0 }, e.children);return /*#__PURE__*/ F.createElement("template", null, t);}-function tw(e) {- let t = (t, n) => (0, F.useContext)(ew) ? null : e(t, n);+function ew(e) {+ let t = (t, n) => (0, F.useContext)($C) ? null : e(t, n);return t.displayName = e.displayName || e.name, (0, F.forwardRef)(t);}-function nw() {- return (0, F.useContext)(ew);+function tw() {+ return (0, F.useContext)($C);}// node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.production.js-var roe = /* @__PURE__ */ o(((e) => {+var ioe = /* @__PURE__ */ o(((e) => {var t = A();function n(e, t) {return e === t && (e !== 0 || 1 / e == 1 / t) || e !== e && t !== t;@@ -23280,47 +23280,47 @@ var roe = /* @__PURE__ */ o(((e) => {}var d = typeof window > "u" || window.document === void 0 || window.document.createElement === void 0 ? u : c;e.useSyncExternalStore = t.useSyncExternalStore === void 0 ? d : t.useSyncExternalStore;-})), rw = /* @__PURE__ */ o(((e, t) => {- t.exports = roe();-})), ioe = rw(), iw = /*#__PURE__*/ (0, F.createContext)(!1), aw = /*#__PURE__*/ (0, F.createContext)(null);-function ow(e) {- if ((0, F.useContext)(aw)) return e.content;- let { collection: t, document: n } = coe(e.createCollection);- return /*#__PURE__*/ F.createElement(F.Fragment, null, /*#__PURE__*/ F.createElement(noe, null, /*#__PURE__*/ F.createElement(aw.Provider, { value: n }, e.content)), /*#__PURE__*/ F.createElement(aoe, {+})), nw = /* @__PURE__ */ o(((e, t) => {+ t.exports = ioe();+})), aoe = nw(), rw = /*#__PURE__*/ (0, F.createContext)(!1), iw = /*#__PURE__*/ (0, F.createContext)(null);+function aw(e) {+ if ((0, F.useContext)(iw)) return e.content;+ let { collection: t, document: n } = loe(e.createCollection);+ return /*#__PURE__*/ F.createElement(F.Fragment, null, /*#__PURE__*/ F.createElement(roe, null, /*#__PURE__*/ F.createElement(iw.Provider, { value: n }, e.content)), /*#__PURE__*/ F.createElement(ooe, {render: e.children,collection: t}));}-function aoe({ collection: e, render: t }) {+function ooe({ collection: e, render: t }) {return t(e);}-function ooe(e, t, n) {- let r = sC(), i = (0, F.useRef)(r);+function soe(e, t, n) {+ let r = oC(), i = (0, F.useRef)(r);i.current = r;let a = (0, F.useCallback)(() => i.current ? n() : t(), [t, n]);- return (0, ioe.useSyncExternalStore)(e, a);+ return (0, aoe.useSyncExternalStore)(e, a);}-var soe = typeof F.useSyncExternalStore == "function" ? F.useSyncExternalStore : ooe;-function coe(e) {- let [t] = (0, F.useState)(() => new lae(e?.() || new gS()));+var coe = typeof F.useSyncExternalStore == "function" ? F.useSyncExternalStore : soe;+function loe(e) {+ let [t] = (0, F.useState)(() => new uae(e?.() || new hS()));return {- collection: soe((0, F.useCallback)((e) => t.subscribe(e), [t]), (0, F.useCallback)(() => {+ collection: coe((0, F.useCallback)((e) => t.subscribe(e), [t]), (0, F.useCallback)(() => {let e = t.getCollection();return t.isSSR && t.resetAfterSSR(), e;}, [t]), (0, F.useCallback)(() => (t.isSSR = !0, t.getCollection()), [t])),document: t};}-var sw = /*#__PURE__*/ (0, F.createContext)(null);-function loe(e) {- return class extends fS {+var ow = /*#__PURE__*/ (0, F.createContext)(null);+function uoe(e) {+ return class extends dS {static {this.type = e;}};}-function cw(e, t, n, r, i, a) {- typeof e == "string" && (e = loe(e));+function sw(e, t, n, r, i, a) {+ typeof e == "string" && (e = uoe(e));let o = (0, F.useCallback)((i) => {i?.setProps(t, n, e, r, a);}, [@@ -23329,82 +23329,82 @@ function cw(e, t, n, r, i, a) {r,a,e- ]), s = (0, F.useContext)(sw);+ ]), s = (0, F.useContext)(ow);if (s) {let o = s.ownerDocument.nodesByProps.get(t);- return o || (o = s.ownerDocument.createElement(e.type), o.setProps(t, n, e, r, a), s.appendChild(o), s.ownerDocument.updateCollection(), s.ownerDocument.nodesByProps.set(t, o)), i ? /*#__PURE__*/ F.createElement(sw.Provider, { value: o }, i) : null;+ return o || (o = s.ownerDocument.createElement(e.type), o.setProps(t, n, e, r, a), s.appendChild(o), s.ownerDocument.updateCollection(), s.ownerDocument.nodesByProps.set(t, o)), i ? /*#__PURE__*/ F.createElement(ow.Provider, { value: o }, i) : null;}return /*#__PURE__*/ F.createElement(e.type, { ref: o }, i);}-function lw(e, t) {+function cw(e, t) {let n = ({ node: e }) => t(e.props, e.props.ref, e), r = (0, F.forwardRef)((r, i) => {- let a = (0, F.useContext)(QC);- if (!(0, F.useContext)(iw)) {+ let a = (0, F.useContext)(ZC);+ if (!(0, F.useContext)(rw)) {if (t.length >= 3) throw Error(t.name + " cannot be rendered outside a collection.");return t(r, i);}- return cw(e, r, i, "children" in r ? r.children : null, null, (e) => /*#__PURE__*/ F.createElement(QC.Provider, { value: a }, /*#__PURE__*/ F.createElement(n, { node: e })));+ return sw(e, r, i, "children" in r ? r.children : null, null, (e) => /*#__PURE__*/ F.createElement(ZC.Provider, { value: a }, /*#__PURE__*/ F.createElement(n, { node: e })));});return r.displayName = t.name, r;}-function uw(e, t, n = dw) {- let r = ({ node: e }) => t(e.props, e.props.ref, e), i = (0, F.forwardRef)((t, i) => cw(e, t, i, null, n(t), (e) => /*#__PURE__*/ F.createElement(r, { node: e })) ?? /*#__PURE__*/ F.createElement(F.Fragment, null));+function lw(e, t, n = uw) {+ let r = ({ node: e }) => t(e.props, e.props.ref, e), i = (0, F.forwardRef)((t, i) => sw(e, t, i, null, n(t), (e) => /*#__PURE__*/ F.createElement(r, { node: e })) ?? /*#__PURE__*/ F.createElement(F.Fragment, null));return i.displayName = t.name, i;}-function dw(e) {- return bS({+function uw(e) {+ return yS({...e,addIdAndValue: !0});}-var fw = /*#__PURE__*/ (0, F.createContext)(null);-function pw(e) {- let t = (0, F.useContext)(fw), n = (t?.dependencies || []).concat(e.dependencies), r = e.idScope ?? t?.idScope, i = dw({+var dw = /*#__PURE__*/ (0, F.createContext)(null);+function fw(e) {+ let t = (0, F.useContext)(dw), n = (t?.dependencies || []).concat(e.dependencies), r = e.idScope ?? t?.idScope, i = uw({...e,idScope: r,dependencies: n});- return (0, F.useContext)(aw) && (i = /*#__PURE__*/ F.createElement(uoe, null, i)), t = (0, F.useMemo)(() => ({+ return (0, F.useContext)(iw) && (i = /*#__PURE__*/ F.createElement(doe, null, i)), t = (0, F.useMemo)(() => ({dependencies: n,idScope: r- }), [r, ...n]), /*#__PURE__*/ F.createElement(fw.Provider, { value: t }, i);+ }), [r, ...n]), /*#__PURE__*/ F.createElement(dw.Provider, { value: t }, i);}-function uoe({ children: e }) {- let t = (0, F.useContext)(aw), n = (0, F.useMemo)(() => /*#__PURE__*/ F.createElement(aw.Provider, { value: null }, /*#__PURE__*/ F.createElement(iw.Provider, { value: !0 }, e)), [e]);- return sC() ? /*#__PURE__*/ F.createElement(sw.Provider, { value: t }, n) : /*#__PURE__*/ (0, Rt.createPortal)(n, t);+function doe({ children: e }) {+ let t = (0, F.useContext)(iw), n = (0, F.useMemo)(() => /*#__PURE__*/ F.createElement(iw.Provider, { value: null }, /*#__PURE__*/ F.createElement(rw.Provider, { value: !0 }, e)), [e]);+ return oC() ? /*#__PURE__*/ F.createElement(ow.Provider, { value: t }, n) : /*#__PURE__*/ (0, Rt.createPortal)(n, t);}// node_modules/react-aria/dist/private/utils/constants.mjs-var doe = "react-aria-clear-focus", foe = "react-aria-focus";+var foe = "react-aria-clear-focus", poe = "react-aria-focus";// node_modules/react-aria/dist/private/focus/virtualFocus.mjs-function mw(e) {- let t = moe(SS(e));- t !== e && (t && poe(t, e), e && hw(e, t));+function pw(e) {+ let t = hoe(xS(e));+ t !== e && (t && moe(t, e), e && mw(e, t));}-function poe(e, t) {+function moe(e, t) {e.dispatchEvent(new FocusEvent("blur", { relatedTarget: t })), e.dispatchEvent(new FocusEvent("focusout", {bubbles: !0,relatedTarget: t}));}-function hw(e, t) {+function mw(e, t) {e.dispatchEvent(new FocusEvent("focus", { relatedTarget: t })), e.dispatchEvent(new FocusEvent("focusin", {bubbles: !0,relatedTarget: t}));}-function moe(e) {- let t = AS(e), n = t?.getAttribute("aria-activedescendant");+function hoe(e) {+ let t = kS(e), n = t?.getAttribute("aria-activedescendant");return n && e.getElementById(n) || t;}// node_modules/react-aria/dist/private/utils/getMetaValue.mjs-function gw(e, t) {- let n = CS(t), r = SS(t);+function hw(e, t) {+ let n = SS(t), r = xS(t);if (r == null || n == null) return;let i, a = `meta[name="${CSS.escape(e)}"], meta[property="${CSS.escape(e)}"]`, o = r.querySelector(a);return o && o instanceof n.HTMLMetaElement && (e === "csp-nonce" && o.nonce && (i ??= o.nonce || void 0), o.content && (i ??= o.content || void 0)), e === "csp-nonce" && (i ??= n.__webpack_nonce__ || globalThis.__webpack_nonce__ || void 0), i;}// node_modules/react-aria/dist/private/utils/keyboard.mjs-var _w = 100, vw = 600, yw = {+var gw = 100, _w = 600, vw = {isOpen: !1,screenWidth: 0,screenHeight: 0,@@ -23414,7 +23414,7 @@ var _w = 100, vw = 600, yw = {endTimeStamp: 0,resizeTimeStamp: 0,resizeTimeout: 0-}, hoe = /* @__PURE__ */ new Set([+}, goe = /* @__PURE__ */ new Set(["checkbox","radio","range",@@ -23425,7 +23425,7 @@ var _w = 100, vw = 600, yw = {"submit","reset"]);-function bw() {+function yw() {let e = Number(window.visualViewport?.width ?? window.innerWidth), t = Number(window.visualViewport?.height ?? window.innerHeight), n = Number(window.visualViewport?.scale ?? 1);return {width: e * n,@@ -23433,58 +23433,58 @@ function bw() {angle: window.screen.orientation?.angle ?? 0};}-function goe(e) {- yw.resizeTimeStamp <= e.timeStamp + 50 && (yw.resizeTimeStamp = e.timeStamp + 150, window.clearTimeout(yw.resizeTimeout), yw.resizeTimeout = window.setTimeout(xw, 150));+function _oe(e) {+ vw.resizeTimeStamp <= e.timeStamp + 50 && (vw.resizeTimeStamp = e.timeStamp + 150, window.clearTimeout(vw.resizeTimeout), vw.resizeTimeout = window.setTimeout(bw, 150));}-function xw() {- let e = gw("viewport");- if (ZS() && e?.includes("overlays-content")) return;- let t = performance.now(), n = bw(), r = t - yw.startTimeStamp, i = yw.screenHeight - n.height, a = yw.screenAngle - n.angle;- Math.abs(a) % 180 && yw.screenWidth - n.height < _w && (yw.screenWidth = n.width, yw.screenHeight = n.height, yw.screenAngle = n.angle, i = 0), r > vw && (window.clearTimeout(yw.screenTimeout), yw.screenTimeout = window.setTimeout(() => {- let e = ww(document.hasFocus() ? AS() : null), t = bw();- Math.abs(yw.screenAngle - t.angle) % 180 || yw.isOpen && e || (yw.screenWidth = t.width, yw.screenHeight = t.height, yw.screenAngle = t.angle, yw.isOpen = !1);- }, vw)), r <= vw && i >= _w && (yw.endTimeStamp = t), yw.isOpen = i >= _w;-}-function _oe() {- let e = bw(), t = yw.screenAngle - e.angle;- if (Math.abs(t) % 180 && !yw.isOpen) {- let e = yw.screenWidth;- yw.screenWidth = yw.screenHeight, yw.screenHeight = e;- }- yw.isOpen || (yw.screenAngle = e.angle);-}-function voe(e) {- let t = ww(G(e)), n = performance.now(), r = bw(), i = yw.screenHeight - r.height;- i < _w && t && (yw.screenWidth = r.width, yw.screenHeight = r.height, yw.screenAngle = r.angle, yw.startTimeStamp = n), t && window.clearTimeout(yw.screenTimeout), i >= _w && t && (yw.endTimeStamp = n);+function bw() {+ let e = hw("viewport");+ if (XS() && e?.includes("overlays-content")) return;+ let t = performance.now(), n = yw(), r = t - vw.startTimeStamp, i = vw.screenHeight - n.height, a = vw.screenAngle - n.angle;+ Math.abs(a) % 180 && vw.screenWidth - n.height < gw && (vw.screenWidth = n.width, vw.screenHeight = n.height, vw.screenAngle = n.angle, i = 0), r > _w && (window.clearTimeout(vw.screenTimeout), vw.screenTimeout = window.setTimeout(() => {+ let e = Cw(document.hasFocus() ? kS() : null), t = yw();+ Math.abs(vw.screenAngle - t.angle) % 180 || vw.isOpen && e || (vw.screenWidth = t.width, vw.screenHeight = t.height, vw.screenAngle = t.angle, vw.isOpen = !1);+ }, _w)), r <= _w && i >= gw && (vw.endTimeStamp = t), vw.isOpen = i >= gw;+}+function voe() {+ let e = yw(), t = vw.screenAngle - e.angle;+ if (Math.abs(t) % 180 && !vw.isOpen) {+ let e = vw.screenWidth;+ vw.screenWidth = vw.screenHeight, vw.screenHeight = e;+ }+ vw.isOpen || (vw.screenAngle = e.angle);+}+function yoe(e) {+ let t = Cw(G(e)), n = performance.now(), r = yw(), i = vw.screenHeight - r.height;+ i < gw && t && (vw.screenWidth = r.width, vw.screenHeight = r.height, vw.screenAngle = r.angle, vw.startTimeStamp = n), t && window.clearTimeout(vw.screenTimeout), i >= gw && t && (vw.endTimeStamp = n);}-function Sw() {- let e = bw();- ES(window.visualViewport, "resize", YS() ? xw : goe), ES(window.screen.orientation, "change", _oe), ES(window, "focus", voe, {+function xw() {+ let e = yw();+ TS(window.visualViewport, "resize", JS() ? bw : _oe), TS(window.screen.orientation, "change", voe), TS(window, "focus", yoe, {capture: !0,passive: !0- }), yw.screenWidth = e.width, yw.screenHeight = e.height, yw.screenAngle = e.angle;+ }), vw.screenWidth = e.width, vw.screenHeight = e.height, vw.screenAngle = e.angle;}-typeof document < "u" && (document.readyState === "loading" ? ES(document, "DOMContentLoaded", Sw) : Sw());-function Cw() {- let e = gw("viewport");- return ZS() && e?.includes("overlays-content") ? !1 : yw.isOpen ? !0 : yw.startTimeStamp ? yw.endTimeStamp >= yw.startTimeStamp ? !0 : performance.now() - yw.startTimeStamp <= vw ? yw.endTimeStamp > 0 || window.navigator.maxTouchPoints > 0 : !1 : window.navigator.maxTouchPoints > 0;+typeof document < "u" && (document.readyState === "loading" ? TS(document, "DOMContentLoaded", xw) : xw());+function Sw() {+ let e = hw("viewport");+ return XS() && e?.includes("overlays-content") ? !1 : vw.isOpen ? !0 : vw.startTimeStamp ? vw.endTimeStamp >= vw.startTimeStamp ? !0 : performance.now() - vw.startTimeStamp <= _w ? vw.endTimeStamp > 0 || window.navigator.maxTouchPoints > 0 : !1 : window.navigator.maxTouchPoints > 0;}-function ww(e) {- if (!(e instanceof Element) || !FS(e)) return !1;- let t = e instanceof HTMLTextAreaElement, n = e instanceof HTMLElement && e.isContentEditable, r = e instanceof HTMLInputElement && !hoe.has(e.type);+function Cw(e) {+ if (!(e instanceof Element) || !PS(e)) return !1;+ let t = e instanceof HTMLTextAreaElement, n = e instanceof HTMLElement && e.isContentEditable, r = e instanceof HTMLInputElement && !goe.has(e.type);return t || n || r;}-function Tw(e) {- return KS() ? e.metaKey : e.ctrlKey;+function ww(e) {+ return GS() ? e.metaKey : e.ctrlKey;}-function Ew() {- return yw.isOpen;+function Tw() {+ return vw.isOpen;}// node_modules/react-aria/dist/private/utils/useEffectEvent.mjs-var yoe = F.useInsertionEffect ?? RS;-function Dw(e) {+var boe = F.useInsertionEffect ?? LS;+function Ew(e) {let t = (0, F.useRef)(null);- return yoe(() => {+ return boe(() => {t.current = e;}, [e]), (0, F.useCallback)((...e) => {let n = t.current;@@ -23492,10 +23492,10 @@ function Dw(e) {}, []);}// node_modules/react-aria/dist/private/utils/useEvent.mjs-function Ow(e, t, n, r) {- let i = Dw(n), a = n == null;+function Dw(e, t, n, r) {+ let i = Ew(n), a = n == null;(0, F.useEffect)(() => {- if (!(a || e.current == null)) return ES(e.current, t, i, r);+ if (!(a || e.current == null)) return TS(e.current, t, i, r);}, [e,t,@@ -23504,16 +23504,16 @@ function Ow(e, t, n, r) {]);}// node_modules/react-aria/dist/private/utils/useLabels.mjs-function kw(e, t) {+function Ow(e, t) {let { id: n, "aria-label": r, "aria-labelledby": i } = e;- return n = zC(n), i && r ? i = [.../* @__PURE__ */ new Set([n, ...i.trim().split(/\s+/)])].join(" ") : i &&= i.trim().split(/\s+/).join(" "), !r && !i && t && (r = t), {+ return n = RC(n), i && r ? i = [.../* @__PURE__ */ new Set([n, ...i.trim().split(/\s+/)])].join(" ") : i &&= i.trim().split(/\s+/).join(" "), !r && !i && t && (r = t), {id: n,"aria-label": r,"aria-labelledby": i};}// node_modules/react-aria/dist/private/i18n/utils.mjs-var boe = /* @__PURE__ */ new Set([+var xoe = /* @__PURE__ */ new Set(["Arab","Syrc","Samr",@@ -23524,7 +23524,7 @@ var boe = /* @__PURE__ */ new Set(["Adlm","Rohg","Hebr"-]), xoe = /* @__PURE__ */ new Set([+]), Soe = /* @__PURE__ */ new Set(["ae","ar","arc",@@ -23545,19 +23545,19 @@ var boe = /* @__PURE__ */ new Set(["ur","yi"]);-function Soe(e) {+function Coe(e) {if (Intl.Locale) {let t = new Intl.Locale(e).maximize(), n = typeof t.getTextInfo == "function" ? t.getTextInfo() : t.textInfo;if (n) return n.direction === "rtl";- if (t.script) return boe.has(t.script);+ if (t.script) return xoe.has(t.script);}let t = e.split("-")[0];- return xoe.has(t);+ return Soe.has(t);}// node_modules/react-aria/dist/private/i18n/useDefaultLocale.mjs-var Aw = Symbol.for("react-aria.i18n.locale");-function jw() {- let e = typeof window < "u" && window[Aw] || typeof navigator < "u" && (navigator.language || navigator.userLanguage) || "en-US";+var kw = Symbol.for("react-aria.i18n.locale");+function Aw() {+ let e = typeof window < "u" && window[kw] || typeof navigator < "u" && (navigator.language || navigator.userLanguage) || "en-US";try {Intl.DateTimeFormat.supportedLocalesOf([e]);} catch {@@ -23565,31 +23565,31 @@ function jw() {}return {locale: e,- direction: Soe(e) ? "rtl" : "ltr"+ direction: Coe(e) ? "rtl" : "ltr"};}-var Mw = jw(), Nw = /* @__PURE__ */ new Set();-function Pw() {- Mw = jw();- for (let e of Nw) e(Mw);+var jw = Aw(), Mw = /* @__PURE__ */ new Set();+function Nw() {+ jw = Aw();+ for (let e of Mw) e(jw);}-function Coe() {- let e = sC(), [t, n] = (0, F.useState)(Mw);- return (0, F.useEffect)(() => (Nw.size === 0 && window.addEventListener("languagechange", Pw), Nw.add(n), () => {- Nw.delete(n), Nw.size === 0 && window.removeEventListener("languagechange", Pw);+function woe() {+ let e = oC(), [t, n] = (0, F.useState)(jw);+ return (0, F.useEffect)(() => (Mw.size === 0 && window.addEventListener("languagechange", Nw), Mw.add(n), () => {+ Mw.delete(n), Mw.size === 0 && window.removeEventListener("languagechange", Nw);}), []), e ? {- locale: typeof window < "u" && window[Aw] || "en-US",+ locale: typeof window < "u" && window[kw] || "en-US",direction: "ltr"} : t;}// node_modules/react-aria/dist/private/i18n/I18nProvider.mjs-var woe = /*#__PURE__*/ F.createContext(null);-function Fw() {- let e = Coe();- return (0, F.useContext)(woe) || e;+var Toe = /*#__PURE__*/ F.createContext(null);+function Pw() {+ let e = woe();+ return (0, F.useContext)(Toe) || e;}// node_modules/@internationalized/string/dist/private/LocalizedStringDictionary.mjs-var Toe = Symbol.for("react-aria.i18n.locale"), Eoe = Symbol.for("react-aria.i18n.strings"), Iw = void 0, Lw = class e {+var Eoe = Symbol.for("react-aria.i18n.locale"), Doe = Symbol.for("react-aria.i18n.strings"), Fw = void 0, Iw = class e {constructor(e, t = "en-US") {this.strings = Object.fromEntries(Object.entries(e).filter(([, e]) => e)), this.defaultLocale = t;}@@ -23600,38 +23600,38 @@ var Toe = Symbol.for("react-aria.i18n.locale"), Eoe = Symbol.for("react-aria.i18}getStringsForLocale(e) {let t = this.strings[e];- return t || (t = Doe(e, this.strings, this.defaultLocale), this.strings[e] = t), t;+ return t || (t = Ooe(e, this.strings, this.defaultLocale), this.strings[e] = t), t;}static getGlobalDictionaryForPackage(t) {if (typeof window > "u") return null;- let n = window[Toe];- if (Iw === void 0) {- let t = window[Eoe];+ let n = window[Eoe];+ if (Fw === void 0) {+ let t = window[Doe];if (!t) return null;- Iw = {};- for (let r in t) Iw[r] = new e({ [n]: t[r] }, n);+ Fw = {};+ for (let r in t) Fw[r] = new e({ [n]: t[r] }, n);}- let r = Iw?.[t];+ let r = Fw?.[t];if (!r) throw Error(`Strings for package "${t}" were not included by LocalizedStringProvider. Please add it to the list passed to createLocalizedStringDictionary.`);return r;}};-function Doe(e, t, n = "en-US") {+function Ooe(e, t, n = "en-US") {if (t[e]) return t[e];- let r = Ooe(e), i = koe(e);+ let r = koe(e), i = Aoe(e);if (i && t[`${r}-${i}`]) return t[`${r}-${i}`];if (t[r]) return t[r];for (let e in t) if (e.startsWith(r + "-")) return t[e];return t[n];}-function Ooe(e) {+function koe(e) {return Intl.Locale ? new Intl.Locale(e).language : e.split("-")[0];}-function koe(e) {+function Aoe(e) {if (Intl.Locale) return new Intl.Locale(e).script;}// node_modules/@internationalized/string/dist/private/LocalizedStringFormatter.mjs-var Rw = /* @__PURE__ */ new Map(), zw = /* @__PURE__ */ new Map(), Aoe = class {+var Lw = /* @__PURE__ */ new Map(), Rw = /* @__PURE__ */ new Map(), joe = class {constructor(e, t) {this.locale = e, this.strings = t;}@@ -23642,36 +23642,36 @@ var Rw = /* @__PURE__ */ new Map(), zw = /* @__PURE__ */ new Map(), Aoe = classplural(e, t, n = "cardinal") {let r = t["=" + e];if (r) return typeof r == "function" ? r() : r;- let i = this.locale + ":" + n, a = Rw.get(i);- return a || (a = new Intl.PluralRules(this.locale, { type: n }), Rw.set(i, a)), r = t[a.select(e)] || t.other, typeof r == "function" ? r() : r;+ let i = this.locale + ":" + n, a = Lw.get(i);+ return a || (a = new Intl.PluralRules(this.locale, { type: n }), Lw.set(i, a)), r = t[a.select(e)] || t.other, typeof r == "function" ? r() : r;}number(e) {- let t = zw.get(this.locale);- return t || (t = new Intl.NumberFormat(this.locale), zw.set(this.locale, t)), t.format(e);+ let t = Rw.get(this.locale);+ return t || (t = new Intl.NumberFormat(this.locale), Rw.set(this.locale, t)), t.format(e);}select(e, t) {let n = e[t] || e.other;return typeof n == "function" ? n() : n;}-}, Bw = /* @__PURE__ */ new WeakMap();-function joe(e) {- let t = Bw.get(e);- return t || (t = new Lw(e), Bw.set(e, t)), t;+}, zw = /* @__PURE__ */ new WeakMap();+function Moe(e) {+ let t = zw.get(e);+ return t || (t = new Iw(e), zw.set(e, t)), t;}-function Moe(e, t) {- return t && Lw.getGlobalDictionaryForPackage(t) || joe(e);+function Noe(e, t) {+ return t && Iw.getGlobalDictionaryForPackage(t) || Moe(e);}-function Vw(e, t) {- let { locale: n } = Fw(), r = Moe(e, t);- return (0, F.useMemo)(() => new Aoe(n, r), [n, r]);+function Bw(e, t) {+ let { locale: n } = Pw(), r = Noe(e, t);+ return (0, F.useMemo)(() => new joe(n, r), [n, r]);}// node_modules/react-aria/dist/private/utils/filterDOMProps.mjs-var Noe = /* @__PURE__ */ new Set(["id"]), Poe = /* @__PURE__ */ new Set([+var Poe = /* @__PURE__ */ new Set(["id"]), Foe = /* @__PURE__ */ new Set(["aria-label","aria-labelledby","aria-describedby","aria-details"-]), Foe = /* @__PURE__ */ new Set([+]), Ioe = /* @__PURE__ */ new Set(["href","hrefLang","target",@@ -23679,60 +23679,60 @@ var Noe = /* @__PURE__ */ new Set(["id"]), Poe = /* @__PURE__ */ new Set(["download","ping","referrerPolicy"-]), Ioe = /* @__PURE__ */ new Set([+]), Loe = /* @__PURE__ */ new Set(["dir","lang","hidden","inert","translate","suppressHydrationWarning"-]), Hw = /* @__PURE__ */ new Set(/* @__PURE__ */ "onClick.onAuxClick.onContextMenu.onDoubleClick.onMouseDown.onMouseEnter.onMouseLeave.onMouseMove.onMouseOut.onMouseOver.onMouseUp.onTouchCancel.onTouchEnd.onTouchMove.onTouchStart.onPointerDown.onPointerMove.onPointerUp.onPointerCancel.onPointerEnter.onPointerLeave.onPointerOver.onPointerOut.onGotPointerCapture.onLostPointerCapture.onScroll.onWheel.onAnimationStart.onAnimationEnd.onAnimationIteration.onTransitionCancel.onTransitionEnd.onTransitionRun.onTransitionStart".split(".")), Loe = /^(data-.*)$/;-function Uw(e, t = {}) {+]), Vw = /* @__PURE__ */ new Set(/* @__PURE__ */ "onClick.onAuxClick.onContextMenu.onDoubleClick.onMouseDown.onMouseEnter.onMouseLeave.onMouseMove.onMouseOut.onMouseOver.onMouseUp.onTouchCancel.onTouchEnd.onTouchMove.onTouchStart.onPointerDown.onPointerMove.onPointerUp.onPointerCancel.onPointerEnter.onPointerLeave.onPointerOver.onPointerOut.onGotPointerCapture.onLostPointerCapture.onScroll.onWheel.onAnimationStart.onAnimationEnd.onAnimationIteration.onTransitionCancel.onTransitionEnd.onTransitionRun.onTransitionStart".split(".")), Roe = /^(data-.*)$/;+function Hw(e, t = {}) {let { labelable: n, isLink: r, global: i, events: a = i, propNames: o } = t, s = {};- for (let t in e) Object.prototype.hasOwnProperty.call(e, t) && (Noe.has(t) || n && Poe.has(t) || r && Foe.has(t) || i && Ioe.has(t) || a && (Hw.has(t) || t.endsWith("Capture") && Hw.has(t.slice(0, -7))) || o?.has(t) || Loe.test(t)) && (s[t] = e[t]);+ for (let t in e) Object.prototype.hasOwnProperty.call(e, t) && (Poe.has(t) || n && Foe.has(t) || r && Ioe.has(t) || i && Loe.has(t) || a && (Vw.has(t) || t.endsWith("Capture") && Vw.has(t.slice(0, -7))) || o?.has(t) || Roe.test(t)) && (s[t] = e[t]);return s;}// node_modules/react-aria/dist/private/interactions/textSelection.mjs-var Ww = "default", Gw = "", Kw = /* @__PURE__ */ new WeakMap();-function qw(e) {- if (JS() && YS()) {- if (Ww === "default") {- let t = SS(e);- Gw = t.documentElement.style.webkitUserSelect, t.documentElement.style.webkitUserSelect = "none";- }- Ww = "disabled";+var Uw = "default", Ww = "", Gw = /* @__PURE__ */ new WeakMap();+function Kw(e) {+ if (qS() && JS()) {+ if (Uw === "default") {+ let t = xS(e);+ Ww = t.documentElement.style.webkitUserSelect, t.documentElement.style.webkitUserSelect = "none";+ }+ Uw = "disabled";} else if (e instanceof HTMLElement || e instanceof SVGElement) {let t = "userSelect" in e.style ? "userSelect" : "webkitUserSelect";- Kw.set(e, e.style[t]), e.style[t] = "none";+ Gw.set(e, e.style[t]), e.style[t] = "none";}}-function Jw(e) {- if (JS() && YS()) {- if (Ww !== "disabled") return;- Ww = "restoring", setTimeout(() => {- NC(() => {- if (Ww === "restoring") {- let t = SS(e);- t.documentElement.style.webkitUserSelect === "none" && (t.documentElement.style.webkitUserSelect = Gw || ""), Gw = "", Ww = "default";+function qw(e) {+ if (qS() && JS()) {+ if (Uw !== "disabled") return;+ Uw = "restoring", setTimeout(() => {+ MC(() => {+ if (Uw === "restoring") {+ let t = xS(e);+ t.documentElement.style.webkitUserSelect === "none" && (t.documentElement.style.webkitUserSelect = Ww || ""), Ww = "", Uw = "default";}});}, 300);- } else if ((e instanceof HTMLElement || e instanceof SVGElement) && e && Kw.has(e)) {- let t = Kw.get(e), n = "userSelect" in e.style ? "userSelect" : "webkitUserSelect";- e.style[n] === "none" && (e.style[n] = t), e.getAttribute("style") === "" && e.removeAttribute("style"), Kw.delete(e);+ } else if ((e instanceof HTMLElement || e instanceof SVGElement) && e && Gw.has(e)) {+ let t = Gw.get(e), n = "userSelect" in e.style ? "userSelect" : "webkitUserSelect";+ e.style[n] === "none" && (e.style[n] = t), e.getAttribute("style") === "" && e.removeAttribute("style"), Gw.delete(e);}}// node_modules/react-aria/dist/private/utils/getNonce.mjs-var Yw = /* @__PURE__ */ new WeakMap();-function Xw(e) {- let t = SS(e), n = Yw.get(t);- return n ??= gw("csp-nonce", t), n !== void 0 && Yw.set(t, n), n;+var Jw = /* @__PURE__ */ new WeakMap();+function Yw(e) {+ let t = xS(e), n = Jw.get(t);+ return n ??= hw("csp-nonce", t), n !== void 0 && Jw.set(t, n), n;}// node_modules/react-aria/dist/private/interactions/context.mjs-var Zw = F.createContext({ register: () => {} });-Zw.displayName = "PressResponderContext";+var Xw = F.createContext({ register: () => {} });+Xw.displayName = "PressResponderContext";// node_modules/react-aria/dist/private/utils/useGlobalListeners.mjs-function Qw() {+function Zw() {let e = (0, F.useRef)(/* @__PURE__ */ new Map()), t = (0, F.useCallback)((t, n, r, i) => {let a = i?.once ? (...t) => {e.current.delete(r), r(...t);@@ -23758,15 +23758,15 @@ function Qw() {};}// node_modules/react-aria/dist/private/interactions/usePress.mjs-function Roe(e) {- let t = (0, F.useContext)(Zw);+function zoe(e) {+ let t = (0, F.useContext)(Xw);if (t) {let { register: n, ref: r, ...i } = t;e = K(i, e), n();}- return ZC(t, e.ref), e;+ return XC(t, e.ref), e;}-var $w = class {+var Qw = class {#e;constructor(e, t, n, r) {this.#e = !0;@@ -23779,9 +23779,9 @@ var $w = class {get shouldStopPropagation() {return this.#e;}-}, eT = Symbol("linkClicked"), tT = "react-aria-pressable-style", nT = "data-react-aria-pressable";-function rT(e) {- let { onPress: t, onPressChange: n, onPressStart: r, onPressEnd: i, onPressUp: a, onClick: o, isDisabled: s, isPressed: c, preventFocusOnPress: l, shouldCancelOnPointerExit: u, allowTextSelectionOnPress: d, ref: f, ...p } = Roe(e), [m, h] = (0, F.useState)(!1), g = (0, F.useRef)({+}, $w = Symbol("linkClicked"), eT = "react-aria-pressable-style", tT = "data-react-aria-pressable";+function nT(e) {+ let { onPress: t, onPressChange: n, onPressStart: r, onPressEnd: i, onPressUp: a, onClick: o, isDisabled: s, isPressed: c, preventFocusOnPress: l, shouldCancelOnPointerExit: u, allowTextSelectionOnPress: d, ref: f, ...p } = zoe(e), [m, h] = (0, F.useState)(!1), g = (0, F.useRef)({isPressed: !1,ignoreEmulatedMouseEvents: !1,didFirePressStart: !1,@@ -23791,12 +23791,12 @@ function rT(e) {isOverTarget: !1,pointerType: null,disposables: []- }), { addGlobalListener: _, removeAllGlobalListeners: v } = Qw(), y = (0, F.useCallback)((e, t) => {+ }), { addGlobalListener: _, removeAllGlobalListeners: v } = Zw(), y = (0, F.useCallback)((e, t) => {let i = g.current;if (s || i.didFirePressStart) return !1;let a = !0;if (i.isTriggeringEvent = !0, r) {- let n = new $w("pressstart", t, e);+ let n = new Qw("pressstart", t, e);r(n), a = n.shouldStopPropagation;}return n && n(!0), i.isTriggeringEvent = !1, i.didFirePressStart = !0, h(!0), a;@@ -23810,11 +23810,11 @@ function rT(e) {o.didFirePressStart = !1, o.isTriggeringEvent = !0;let c = !0;if (i) {- let t = new $w("pressend", r, e);+ let t = new Qw("pressend", r, e);i(t), c = t.shouldStopPropagation;}if (n && n(!1), h(!1), t && a && !s) {- let n = new $w("press", r, e);+ let n = new Qw("press", r, e);t(n), c &&= n.shouldStopPropagation;}return o.isTriggeringEvent = !1, c;@@ -23823,19 +23823,19 @@ function rT(e) {i,n,t- ]), x = Dw(b), S = Dw((0, F.useCallback)((e, t) => {+ ]), x = Ew(b), S = Ew((0, F.useCallback)((e, t) => {let n = g.current;if (s) return !1;if (a) {n.isTriggeringEvent = !0;- let r = new $w("pressup", t, e);+ let r = new Qw("pressup", t, e);return a(r), n.isTriggeringEvent = !1, r.shouldStopPropagation;}return !0;}, [s, a])), C = (0, F.useCallback)((e) => {let t = g.current;if (t.isPressed && t.target) {- t.didFirePressStart && t.pointerType != null && b(oT(t.target, e), t.pointerType, !1), t.isPressed = !1, t.isOverTarget = !1, t.activePointerId = null, t.pointerType = null, v(), d || Jw(t.target);+ t.didFirePressStart && t.pointerType != null && b(aT(t.target, e), t.pointerType, !1), t.isPressed = !1, t.isOverTarget = !1, t.activePointerId = null, t.pointerType = null, v(), d || qw(t.target);for (let e of t.disposables) e();t.disposables = [];}@@ -23843,7 +23843,7 @@ function rT(e) {d,v,b- ]), w = Dw(C);+ ]), w = Ew(C);(0, F.useEffect)(() => {s && g.current.isPressed && w({currentTarget: g.current.target,@@ -23860,39 +23860,39 @@ function rT(e) {}, [s, o]), D = (0, F.useCallback)((e, t) => {if (!s && o) {let n = new MouseEvent("click", e);- BS(n, t), o(zS(n));+ zS(n, t), o(RS(n));}}, [s, o]), O = (0, F.useMemo)(() => {let e = g.current, t = {onKeyDown(t) {- if (aT(t.nativeEvent, t.currentTarget) && kS(t.currentTarget, G(t))) {- sT(G(t), t.key) && t.preventDefault();+ if (iT(t.nativeEvent, t.currentTarget) && OS(t.currentTarget, G(t))) {+ oT(G(t), t.key) && t.preventDefault();let r = !0;!e.isPressed && !t.repeat && (e.target = t.currentTarget, e.isPressed = !0, e.pointerType = "keyboard", r = y(t, "keyboard"));let i = t.currentTarget;- _(SS(t.currentTarget), "keyup", FC((t) => {- aT(t, i) && !t.repeat && kS(i, G(t)) && e.target && S(oT(e.target, t), "keyboard");- }, n), !0), r && t.stopPropagation(), t.metaKey && KS() && e.metaKeyEvents?.set(t.key, t.nativeEvent);+ _(xS(t.currentTarget), "keyup", PC((t) => {+ iT(t, i) && !t.repeat && OS(i, G(t)) && e.target && S(aT(e.target, t), "keyboard");+ }, n), !0), r && t.stopPropagation(), t.metaKey && GS() && e.metaKeyEvents?.set(t.key, t.nativeEvent);} else t.key === "Meta" && (e.metaKeyEvents = /* @__PURE__ */ new Map());},onClick(t) {- if ((!t || kS(t.currentTarget, G(t))) && t && t.button === 0 && !e.isTriggeringEvent && !eC.isOpening) {+ if ((!t || OS(t.currentTarget, G(t))) && t && t.button === 0 && !e.isTriggeringEvent && !$S.isOpening) {let n = !0;- if (s && t.preventDefault(), !e.ignoreEmulatedMouseEvents && !e.isPressed && (e.pointerType === "virtual" || QS(t.nativeEvent))) {+ if (s && t.preventDefault(), !e.ignoreEmulatedMouseEvents && !e.isPressed && (e.pointerType === "virtual" || ZS(t.nativeEvent))) {let e = y(t, "virtual"), r = S(t, "virtual"), i = x(t, "virtual");E(t), n = e && r && i;} else if (e.isPressed && e.pointerType !== "keyboard") {- let r = e.pointerType || t.nativeEvent.pointerType || "virtual", i = S(oT(t.currentTarget, t), r), a = x(oT(t.currentTarget, t), r, !0);+ let r = e.pointerType || t.nativeEvent.pointerType || "virtual", i = S(aT(t.currentTarget, t), r), a = x(aT(t.currentTarget, t), r, !0);n = i && a, e.isOverTarget = !1, E(t), w(t);}e.ignoreEmulatedMouseEvents = !1, n && t.stopPropagation();}}}, n = (t) => {- if (e.isPressed && e.target && aT(t, e.target)) {- sT(G(t), t.key) && t.preventDefault();- let n = G(t), r = kS(e.target, n);- x(oT(e.target, t), "keyboard", r), r && D(t, e.target), v(), t.key !== "Enter" && iT(e.target) && kS(e.target, n) && !t[eT] && (t[eT] = !0, eC(e.target, t, !1)), e.isPressed = !1, e.metaKeyEvents?.delete(t.key);+ if (e.isPressed && e.target && iT(t, e.target)) {+ oT(G(t), t.key) && t.preventDefault();+ let n = G(t), r = OS(e.target, n);+ x(aT(e.target, t), "keyboard", r), r && D(t, e.target), v(), t.key !== "Enter" && rT(e.target) && OS(e.target, n) && !t[$w] && (t[$w] = !0, $S(e.target, t, !1)), e.isPressed = !1, e.metaKeyEvents?.delete(t.key);} else if (t.key === "Meta" && e.metaKeyEvents?.size) {let t = e.metaKeyEvents;e.metaKeyEvents = void 0;@@ -23901,39 +23901,39 @@ function rT(e) {};if (typeof PointerEvent < "u") {t.onPointerDown = (t) => {- if (t.button !== 0 || !kS(t.currentTarget, G(t))) return;- if (Sae(t.nativeEvent)) {+ if (t.button !== 0 || !OS(t.currentTarget, G(t))) return;+ if (Cae(t.nativeEvent)) {e.pointerType = "virtual";return;}e.pointerType = t.pointerType;let i = !0;if (!e.isPressed) {- e.isPressed = !0, e.isOverTarget = !0, e.activePointerId = t.pointerId, e.target = t.currentTarget, d || qw(e.target), i = y(t, e.pointerType);+ e.isPressed = !0, e.isOverTarget = !0, e.activePointerId = t.pointerId, e.target = t.currentTarget, d || Kw(e.target), i = y(t, e.pointerType);let a = G(t);- "releasePointerCapture" in a && ("hasPointerCapture" in a ? a.hasPointerCapture(t.pointerId) && a.releasePointerCapture(t.pointerId) : a.releasePointerCapture(t.pointerId)), _(SS(t.currentTarget), "pointerup", n, !1), _(SS(t.currentTarget), "pointercancel", r, !1);+ "releasePointerCapture" in a && ("hasPointerCapture" in a ? a.hasPointerCapture(t.pointerId) && a.releasePointerCapture(t.pointerId) : a.releasePointerCapture(t.pointerId)), _(xS(t.currentTarget), "pointerup", n, !1), _(xS(t.currentTarget), "pointercancel", r, !1);}i && t.stopPropagation();}, t.onMouseDown = (t) => {- if (kS(t.currentTarget, G(t)) && t.button === 0) {+ if (OS(t.currentTarget, G(t)) && t.button === 0) {if (l) {- let n = yae(t.target);+ let n = bae(t.target);n && e.disposables.push(n);}t.stopPropagation();}}, t.onPointerUp = (t) => {- kS(t.currentTarget, G(t)) && e.pointerType !== "virtual" && t.button === 0 && !e.isPressed && S(t, e.pointerType || t.pointerType);+ OS(t.currentTarget, G(t)) && e.pointerType !== "virtual" && t.button === 0 && !e.isPressed && S(t, e.pointerType || t.pointerType);}, t.onPointerEnter = (t) => {- t.pointerId === e.activePointerId && e.target && !e.isOverTarget && e.pointerType != null && (e.isOverTarget = !0, y(oT(e.target, t), e.pointerType));+ t.pointerId === e.activePointerId && e.target && !e.isOverTarget && e.pointerType != null && (e.isOverTarget = !0, y(aT(e.target, t), e.pointerType));}, t.onPointerLeave = (t) => {- t.pointerId === e.activePointerId && e.target && e.isOverTarget && e.pointerType != null && (e.isOverTarget = !1, x(oT(e.target, t), e.pointerType, !1), T(t));+ t.pointerId === e.activePointerId && e.target && e.isOverTarget && e.pointerType != null && (e.isOverTarget = !1, x(aT(e.target, t), e.pointerType, !1), T(t));};let n = (t) => {if (t.pointerId === e.activePointerId && e.isPressed && t.button === 0 && e.target) {- if (kS(e.target, G(t)) && e.pointerType != null) {+ if (OS(e.target, G(t)) && e.pointerType != null) {let n = !1, r = setTimeout(() => {- e.isPressed && e.target instanceof HTMLElement && (n ? w(t) : (xS(e.target), e.target.click()));+ e.isPressed && e.target instanceof HTMLElement && (n ? w(t) : (bS(e.target), e.target.click()));}, 80);_(t.currentTarget, "click", () => n = !0, !0), e.disposables.push(() => clearTimeout(r));} else w(t);@@ -23943,7 +23943,7 @@ function rT(e) {w(e);};t.onDragStart = (e) => {- kS(e.currentTarget, G(e)) && w(e);+ OS(e.currentTarget, G(e)) && w(e);};}return t;@@ -23960,14 +23960,14 @@ function rT(e) {]);return (0, F.useEffect)(() => {if (!f) return;- let e = SS(f.current);- if (!e || !e.head || e.getElementById(tT)) return;+ let e = xS(f.current);+ if (!e || !e.head || e.getElementById(eT)) return;let t = e.createElement("style");- t.id = tT;- let n = Xw(e);+ t.id = eT;+ let n = Yw(e);n && (t.nonce = n), t.textContent = `@layer {- [${nT}] {+ [${tT}] {touch-action: pan-x pan-y pinch-zoom;}}@@ -23975,23 +23975,23 @@ function rT(e) {}, [f]), (0, F.useEffect)(() => {let e = g.current;return () => {- d || Jw(e.target ?? void 0);+ d || qw(e.target ?? void 0);for (let t of e.disposables) t();e.disposables = [];};}, [d]), {isPressed: c || m,- pressProps: K(p, O, { [nT]: !0 })+ pressProps: K(p, O, { [tT]: !0 })};}-function iT(e) {+function rT(e) {return e.tagName === "A" && e.hasAttribute("href");}-function aT(e, t) {+function iT(e, t) {let { key: n, code: r } = e, i = t, a = i.getAttribute("role");- return (n === "Enter" || n === " " || n === "Spacebar" || r === "Space") && !(i instanceof CS(i).HTMLInputElement && !cT(i, n) || i instanceof CS(i).HTMLTextAreaElement || i.isContentEditable) && !((a === "link" || !a && iT(i)) && n !== "Enter");+ return (n === "Enter" || n === " " || n === "Spacebar" || r === "Space") && !(i instanceof SS(i).HTMLInputElement && !sT(i, n) || i instanceof SS(i).HTMLTextAreaElement || i.isContentEditable) && !((a === "link" || !a && rT(i)) && n !== "Enter");}-function oT(e, t) {+function aT(e, t) {let n = t.clientX, r = t.clientY;return {currentTarget: e,@@ -24004,13 +24004,13 @@ function oT(e, t) {key: t.key};}-function zoe(e) {- return e instanceof HTMLInputElement ? !1 : e instanceof HTMLButtonElement ? e.type !== "submit" && e.type !== "reset" : !iT(e);+function Boe(e) {+ return e instanceof HTMLInputElement ? !1 : e instanceof HTMLButtonElement ? e.type !== "submit" && e.type !== "reset" : !rT(e);}-function sT(e, t) {- return KS() && t === "Enter" ? !1 : e instanceof HTMLInputElement ? t === "Enter" && (e.type === "checkbox" || e.type === "radio") ? !1 : !cT(e, t) : zoe(e);+function oT(e, t) {+ return GS() && t === "Enter" ? !1 : e instanceof HTMLInputElement ? t === "Enter" && (e.type === "checkbox" || e.type === "radio") ? !1 : !sT(e, t) : Boe(e);}-var Boe = /* @__PURE__ */ new Set([+var Voe = /* @__PURE__ */ new Set(["checkbox","radio","range",@@ -24021,11 +24021,11 @@ var Boe = /* @__PURE__ */ new Set(["submit","reset"]);-function cT(e, t) {- return e.type === "checkbox" || e.type === "radio" ? t === " " : Boe.has(e.type);+function sT(e, t) {+ return e.type === "checkbox" || e.type === "radio" ? t === " " : Voe.has(e.type);}// node_modules/react-aria/dist/private/button/useButton.mjs-function Voe(e, t) {+function Hoe(e, t) {let { elementType: n = "button", isDisabled: r, onPress: i, onPressStart: a, onPressEnd: o, onPressUp: s, onPressChange: c, preventFocusOnPress: l, allowFocusWhenDisabled: u, onClick: d, href: f, target: p, rel: m, type: h = "button" } = e, g;g = n === "button" ? {type: h,@@ -24047,7 +24047,7 @@ function Voe(e, t) {"aria-disabled": !r || n === "input" ? void 0 : r,rel: n === "a" ? m : void 0};- let { pressProps: _, isPressed: v } = rT({+ let { pressProps: _, isPressed: v } = nT({onPressStart: a,onPressEnd: o,onPressChange: c,@@ -24057,9 +24057,9 @@ function Voe(e, t) {isDisabled: r,preventFocusOnPress: l,ref: t- }), { focusableProps: y } = $C(e, t);+ }), { focusableProps: y } = QC(e, t);u && (y.tabIndex = r ? -1 : y.tabIndex);- let b = K(y, _, Uw(e, { labelable: !0 }));+ let b = K(y, _, Hw(e, { labelable: !0 }));return {isPressed: v,buttonProps: K(g, b, {@@ -24073,7 +24073,7 @@ function Voe(e, t) {};}// node_modules/react-aria/dist/private/utils/shadowdom/ShadowTreeWalker.mjs-var Hoe = class {+var Uoe = class {constructor(e, t, n, r) {this._walkerStack = [], this._currentSetFor = /* @__PURE__ */ new Set(), this._acceptNode = (e) => {if (e.nodeType === Node.ELEMENT_NODE) {@@ -24098,7 +24098,7 @@ var Hoe = class {return this._currentNode;}set currentNode(e) {- if (!kS(this.root, e)) throw Error("Cannot set currentNode to a node that is not contained by the root node.");+ if (!OS(this.root, e)) throw Error("Cannot set currentNode to a node that is not contained by the root node.");let t = [], n = e, r = e;for (this._currentNode = e; n && n !== this.root;) if (n.nodeType === Node.DOCUMENT_FRAGMENT_NODE) {let e = n, i = this._doc.createTreeWalker(e, this.whatToShow, { acceptNode: this._acceptNode });@@ -24112,7 +24112,7 @@ var Hoe = class {}firstChild() {let e = this.currentNode, t = this.nextNode();- return kS(e, t) ? (t && (this.currentNode = t), t) : (this.currentNode = e, null);+ return OS(e, t) ? (t && (this.currentNode = t), t) : (this.currentNode = e, null);}lastChild() {let e = this._walkerStack[0].lastChild();@@ -24176,44 +24176,44 @@ var Hoe = class {return null;}};-function lT(e, t, n, r) {- return OS() ? new Hoe(e, t, n, r) : e.createTreeWalker(t, n, r);+function cT(e, t, n, r) {+ return DS() ? new Uoe(e, t, n, r) : e.createTreeWalker(t, n, r);}// node_modules/react-aria/dist/private/focus/FocusScope.mjs-var uT = /*#__PURE__*/ F.createContext(null), dT = "react-aria-focus-scope-restore", fT = null;-function pT(e) {- let { children: t, contain: n, restoreFocus: r, autoFocus: i } = e, a = (0, F.useRef)(null), o = (0, F.useRef)(null), s = (0, F.useRef)([]), { parentNode: c } = (0, F.useContext)(uT) || {}, l = (0, F.useMemo)(() => new ET({ scopeRef: s }), [s]);- RS(() => {- let e = c || DT.root;- if (DT.getTreeNode(e.scopeRef) && fT && !yT(fT, e.scopeRef)) {- let t = DT.getTreeNode(fT);+var lT = /*#__PURE__*/ F.createContext(null), uT = "react-aria-focus-scope-restore", dT = null;+function fT(e) {+ let { children: t, contain: n, restoreFocus: r, autoFocus: i } = e, a = (0, F.useRef)(null), o = (0, F.useRef)(null), s = (0, F.useRef)([]), { parentNode: c } = (0, F.useContext)(lT) || {}, l = (0, F.useMemo)(() => new TT({ scopeRef: s }), [s]);+ LS(() => {+ let e = c || ET.root;+ if (ET.getTreeNode(e.scopeRef) && dT && !vT(dT, e.scopeRef)) {+ let t = ET.getTreeNode(dT);t && (e = t);}- e.addChild(l), DT.addNode(l);- }, [l, c]), RS(() => {- let e = DT.getTreeNode(s);+ e.addChild(l), ET.addNode(l);+ }, [l, c]), LS(() => {+ let e = ET.getTreeNode(s);e && (e.contain = !!n);- }, [n]), RS(() => {+ }, [n]), LS(() => {let e = a.current?.nextSibling, t = [], n = (e) => e.stopPropagation();- for (; e && e !== o.current;) t.push(e), e.addEventListener(dT, n), e = e.nextSibling;+ for (; e && e !== o.current;) t.push(e), e.addEventListener(uT, n), e = e.nextSibling;return s.current = t, () => {- for (let e of t) e.removeEventListener(dT, n);+ for (let e of t) e.removeEventListener(uT, n);};- }, [t]), Yoe(s, r, n), Koe(s, n), Xoe(s, r, n), Joe(s, i), (0, F.useEffect)(() => {- let e = AS(SS(s.current ? s.current[0] : void 0)), t = null;- if (_T(e, s.current)) {- for (let n of DT.traverse()) n.scopeRef && _T(e, n.scopeRef.current) && (t = n);- t === DT.getTreeNode(s) && (fT = t.scopeRef);- }- }, [s]), RS(() => () => {- let e = DT.getTreeNode(s)?.parent?.scopeRef ?? null;- s !== fT && !yT(s, fT) || e && !DT.getTreeNode(e) || (fT = e), DT.removeTreeNode(s);+ }, [t]), Xoe(s, r, n), qoe(s, n), Zoe(s, r, n), Yoe(s, i), (0, F.useEffect)(() => {+ let e = kS(xS(s.current ? s.current[0] : void 0)), t = null;+ if (gT(e, s.current)) {+ for (let n of ET.traverse()) n.scopeRef && gT(e, n.scopeRef.current) && (t = n);+ t === ET.getTreeNode(s) && (dT = t.scopeRef);+ }+ }, [s]), LS(() => () => {+ let e = ET.getTreeNode(s)?.parent?.scopeRef ?? null;+ s !== dT && !vT(s, dT) || e && !ET.getTreeNode(e) || (dT = e), ET.removeTreeNode(s);}, [s]);- let u = (0, F.useMemo)(() => Uoe(s), []), d = (0, F.useMemo)(() => ({+ let u = (0, F.useMemo)(() => Woe(s), []), d = (0, F.useMemo)(() => ({focusManager: u,parentNode: l}), [l, u]);- return /*#__PURE__*/ F.createElement(uT.Provider, { value: d }, /*#__PURE__*/ F.createElement("span", {+ return /*#__PURE__*/ F.createElement(lT.Provider, { value: d }, /*#__PURE__*/ F.createElement("span", {"data-focus-scope-start": !0,hidden: !0,ref: a@@ -24223,154 +24223,154 @@ function pT(e) {ref: o}));}-function Uoe(e) {+function Woe(e) {return {focusNext(t = {}) {- let n = e.current, { from: r, tabbable: i, wrap: a, accept: o } = t, s = r || AS(SS(n[0] ?? void 0)), c = n[0].previousElementSibling, l = TT(mT(n), {+ let n = e.current, { from: r, tabbable: i, wrap: a, accept: o } = t, s = r || kS(xS(n[0] ?? void 0)), c = n[0].previousElementSibling, l = wT(pT(n), {tabbable: i,accept: o}, n);- l.currentNode = _T(s, n) ? s : c;+ l.currentNode = gT(s, n) ? s : c;let u = l.nextNode();- return !u && a && (l.currentNode = c, u = l.nextNode()), u && bT(u, !0), u;+ return !u && a && (l.currentNode = c, u = l.nextNode()), u && yT(u, !0), u;},focusPrevious(t = {}) {- let n = e.current, { from: r, tabbable: i, wrap: a, accept: o } = t, s = r || AS(SS(n[0] ?? void 0)), c = n[n.length - 1].nextElementSibling, l = TT(mT(n), {+ let n = e.current, { from: r, tabbable: i, wrap: a, accept: o } = t, s = r || kS(xS(n[0] ?? void 0)), c = n[n.length - 1].nextElementSibling, l = wT(pT(n), {tabbable: i,accept: o}, n);- l.currentNode = _T(s, n) ? s : c;+ l.currentNode = gT(s, n) ? s : c;let u = l.previousNode();- return !u && a && (l.currentNode = c, u = l.previousNode()), u && bT(u, !0), u;+ return !u && a && (l.currentNode = c, u = l.previousNode()), u && yT(u, !0), u;},focusFirst(t = {}) {- let n = e.current, { tabbable: r, accept: i } = t, a = TT(mT(n), {+ let n = e.current, { tabbable: r, accept: i } = t, a = wT(pT(n), {tabbable: r,accept: i}, n);a.currentNode = n[0].previousElementSibling;let o = a.nextNode();- return o && bT(o, !0), o;+ return o && yT(o, !0), o;},focusLast(t = {}) {- let n = e.current, { tabbable: r, accept: i } = t, a = TT(mT(n), {+ let n = e.current, { tabbable: r, accept: i } = t, a = wT(pT(n), {tabbable: r,accept: i}, n);a.currentNode = n[n.length - 1].nextElementSibling;let o = a.previousNode();- return o && bT(o, !0), o;+ return o && yT(o, !0), o;}};}-function mT(e) {+function pT(e) {return e[0].parentElement;}-function hT(e) {- let t = DT.getTreeNode(fT);+function mT(e) {+ let t = ET.getTreeNode(dT);for (; t && t.scopeRef !== e;) {if (t.contain) return !1;t = t.parent;}return !0;}-function Woe(e) {- if (!e.form) return Array.from(SS(e).querySelectorAll(`input[type="radio"][name="${CSS.escape(e.name)}"]`)).filter((e) => !e.form);- let t = e.form.elements.namedItem(e.name), n = CS(e);+function Goe(e) {+ if (!e.form) return Array.from(xS(e).querySelectorAll(`input[type="radio"][name="${CSS.escape(e.name)}"]`)).filter((e) => !e.form);+ let t = e.form.elements.namedItem(e.name), n = SS(e);return t instanceof n.RadioNodeList ? Array.from(t).filter((e) => e instanceof n.HTMLInputElement) : t instanceof n.HTMLInputElement ? [t] : [];}-function Goe(e) {+function Koe(e) {if (e.checked) return !0;- let t = Woe(e);+ let t = Goe(e);return t.length > 0 && !t.some((e) => e.checked);}-function Koe(e, t) {+function qoe(e, t) {let n = (0, F.useRef)(void 0), r = (0, F.useRef)(void 0);- RS(() => {+ LS(() => {let i = e.current;if (!t) {r.current &&= (cancelAnimationFrame(r.current), void 0);return;}- let a = SS(i ? i[0] : void 0), o = (t) => {- if (t.key !== "Tab" || t.altKey || t.ctrlKey || t.metaKey || !hT(e) || t.isComposing) return;- let n = AS(a), r = e.current;- if (!r || !_T(n, r)) return;- let i = TT(mT(r), { tabbable: !0 }, r);+ let a = xS(i ? i[0] : void 0), o = (t) => {+ if (t.key !== "Tab" || t.altKey || t.ctrlKey || t.metaKey || !mT(e) || t.isComposing) return;+ let n = kS(a), r = e.current;+ if (!r || !gT(n, r)) return;+ let i = wT(pT(r), { tabbable: !0 }, r);if (!n) return;i.currentNode = n;let o = t.shiftKey ? i.previousNode() : i.nextNode();- o ||= (i.currentNode = t.shiftKey ? r[r.length - 1].nextElementSibling : r[0].previousElementSibling, t.shiftKey ? i.previousNode() : i.nextNode()), t.preventDefault(), o && (bT(o, !0), o instanceof CS(o).HTMLInputElement && o.select());+ o ||= (i.currentNode = t.shiftKey ? r[r.length - 1].nextElementSibling : r[0].previousElementSibling, t.shiftKey ? i.previousNode() : i.nextNode()), t.preventDefault(), o && (yT(o, !0), o instanceof SS(o).HTMLInputElement && o.select());}, s = (t) => {- (!fT || yT(fT, e)) && _T(G(t), e.current) ? (fT = e, n.current = G(t)) : hT(e) && !vT(G(t), e) ? n.current ? bT(n.current) : fT && fT.current && ST(fT.current) : hT(e) && (n.current = G(t));+ (!dT || vT(dT, e)) && gT(G(t), e.current) ? (dT = e, n.current = G(t)) : mT(e) && !_T(G(t), e) ? n.current ? yT(n.current) : dT && dT.current && xT(dT.current) : mT(e) && (n.current = G(t));}, c = (t) => {r.current && cancelAnimationFrame(r.current), r.current = requestAnimationFrame(() => {- let r = CC(), i = (r === "virtual" || r === null) && ZS() && XS(), o = AS(a);- if (!i && o && hT(e) && !vT(o, e)) {- fT = e;+ let r = SC(), i = (r === "virtual" || r === null) && XS() && YS(), o = kS(a);+ if (!i && o && mT(e) && !_T(o, e)) {+ dT = e;let r = G(t);- r && r.isConnected ? (n.current = r, bT(n.current)) : fT.current && ST(fT.current);+ r && r.isConnected ? (n.current = r, yT(n.current)) : dT.current && xT(dT.current);}});};return a.addEventListener("keydown", o, !1), a.addEventListener("focusin", s, !1), i?.forEach((e) => e.addEventListener("focusin", s, !1)), i?.forEach((e) => e.addEventListener("focusout", c, !1)), () => {a.removeEventListener("keydown", o, !1), a.removeEventListener("focusin", s, !1), i?.forEach((e) => e.removeEventListener("focusin", s, !1)), i?.forEach((e) => e.removeEventListener("focusout", c, !1));};- }, [e, t]), RS(() => () => {+ }, [e, t]), LS(() => () => {r.current && cancelAnimationFrame(r.current);}, [r]);}-function gT(e) {- return vT(e);+function hT(e) {+ return _T(e);}-function _T(e, t) {- return !e || !t ? !1 : t.some((t) => kS(t, e));+function gT(e, t) {+ return !e || !t ? !1 : t.some((t) => OS(t, e));}-function vT(e, t = null) {+function _T(e, t = null) {if (e instanceof Element && e.closest("[data-react-aria-top-layer]")) return !0;- for (let { scopeRef: n } of DT.traverse(DT.getTreeNode(t))) if (n && _T(e, n.current)) return !0;+ for (let { scopeRef: n } of ET.traverse(ET.getTreeNode(t))) if (n && gT(e, n.current)) return !0;return !1;}-function qoe(e) {- return vT(e, fT);+function Joe(e) {+ return _T(e, dT);}-function yT(e, t) {- let n = DT.getTreeNode(t)?.parent;+function vT(e, t) {+ let n = ET.getTreeNode(t)?.parent;for (; n;) {if (n.scopeRef === e) return !0;n = n.parent;}return !1;}-function bT(e, t = !1) {+function yT(e, t = !1) {if (e != null && !t) try {- PC(e);+ NC(e);} catch {}else if (e != null) try {e.focus();} catch {}}-function xT(e, t = !0) {- let n = e[0].previousElementSibling, r = mT(e), i = TT(r, { tabbable: t }, e);+function bT(e, t = !0) {+ let n = e[0].previousElementSibling, r = pT(e), i = wT(r, { tabbable: t }, e);i.currentNode = n;let a = i.nextNode();- return t && !a && (r = mT(e), i = TT(r, { tabbable: !1 }, e), i.currentNode = n, a = i.nextNode()), a;+ return t && !a && (r = pT(e), i = wT(r, { tabbable: !1 }, e), i.currentNode = n, a = i.nextNode()), a;}-function ST(e, t = !0) {- bT(xT(e, t));+function xT(e, t = !0) {+ yT(bT(e, t));}-function Joe(e, t) {+function Yoe(e, t) {let n = F.useRef(t);(0, F.useEffect)(() => {- n.current && (fT = e, !_T(AS(SS(e.current ? e.current[0] : void 0)), fT.current) && e.current && ST(e.current)), n.current = !1;+ n.current && (dT = e, !gT(kS(xS(e.current ? e.current[0] : void 0)), dT.current) && e.current && xT(e.current)), n.current = !1;}, [e]);}-function Yoe(e, t, n) {- RS(() => {+function Xoe(e, t, n) {+ LS(() => {if (t || n) return;- let r = e.current, i = SS(r ? r[0] : void 0), a = (t) => {+ let r = e.current, i = xS(r ? r[0] : void 0), a = (t) => {let n = G(t);- _T(n, e.current) ? fT = e : gT(n) || (fT = null);+ gT(n, e.current) ? dT = e : hT(n) || (dT = null);};return i.addEventListener("focusin", a, !1), r?.forEach((e) => e.addEventListener("focusin", a, !1)), () => {i.removeEventListener("focusin", a, !1), r?.forEach((e) => e.removeEventListener("focusin", a, !1));@@ -24381,43 +24381,43 @@ function Yoe(e, t, n) {n]);}-function CT(e) {- let t = DT.getTreeNode(fT);+function ST(e) {+ let t = ET.getTreeNode(dT);for (; t && t.scopeRef !== e;) {if (t.nodeToRestore) return !1;t = t.parent;}return t?.scopeRef === e;}-function Xoe(e, t, n) {- let r = (0, F.useRef)(typeof document < "u" ? AS(SS(e.current ? e.current[0] : void 0)) : null);- RS(() => {- let r = e.current, i = SS(r ? r[0] : void 0);+function Zoe(e, t, n) {+ let r = (0, F.useRef)(typeof document < "u" ? kS(xS(e.current ? e.current[0] : void 0)) : null);+ LS(() => {+ let r = e.current, i = xS(r ? r[0] : void 0);if (!t || n) return;let a = () => {- (!fT || yT(fT, e)) && _T(AS(i), e.current) && (fT = e);+ (!dT || vT(dT, e)) && gT(kS(i), e.current) && (dT = e);};return i.addEventListener("focusin", a, !1), r?.forEach((e) => e.addEventListener("focusin", a, !1)), () => {i.removeEventListener("focusin", a, !1), r?.forEach((e) => e.removeEventListener("focusin", a, !1));};- }, [e, n]), RS(() => {- let r = SS(e.current ? e.current[0] : void 0);+ }, [e, n]), LS(() => {+ let r = xS(e.current ? e.current[0] : void 0);if (!t) return;let i = (t) => {- if (t.key !== "Tab" || t.altKey || t.ctrlKey || t.metaKey || !hT(e) || t.isComposing) return;+ if (t.key !== "Tab" || t.altKey || t.ctrlKey || t.metaKey || !mT(e) || t.isComposing) return;let n = r.activeElement;- if (!vT(n, e) || !CT(e)) return;- let i = DT.getTreeNode(e);+ if (!_T(n, e) || !ST(e)) return;+ let i = ET.getTreeNode(e);if (!i) return;- let a = i.nodeToRestore, o = TT(r.body, { tabbable: !0 });+ let a = i.nodeToRestore, o = wT(r.body, { tabbable: !0 });o.currentNode = n;let s = t.shiftKey ? o.previousNode() : o.nextNode();- if (a && a.isConnected && a !== r.body || (a = void 0, i.nodeToRestore = void 0), (!s || !vT(s, e)) && a) {+ if (a && a.isConnected && a !== r.body || (a = void 0, i.nodeToRestore = void 0), (!s || !_T(s, e)) && a) {o.currentNode = a;dos = t.shiftKey ? o.previousNode() : o.nextNode();- while (vT(s, e));- t.preventDefault(), t.stopPropagation(), s ? bT(s, !0) : gT(a) ? bT(a, !0) : n.blur();+ while (_T(s, e));+ t.preventDefault(), t.stopPropagation(), s ? yT(s, !0) : hT(a) ? yT(a, !0) : n.blur();}};return n || r.addEventListener("keydown", i, !0), () => {@@ -24427,31 +24427,31 @@ function Xoe(e, t, n) {e,t,n- ]), RS(() => {- let n = SS(e.current ? e.current[0] : void 0);+ ]), LS(() => {+ let n = xS(e.current ? e.current[0] : void 0);if (!t) return;- let i = DT.getTreeNode(e);+ let i = ET.getTreeNode(e);if (i) return i.nodeToRestore = r.current ?? void 0, () => {- let r = DT.getTreeNode(e);+ let r = ET.getTreeNode(e);if (!r) return;- let i = r.nodeToRestore, a = AS(n);- if (t && i && (a && vT(a, e) || a === n.body && CT(e))) {- let t = DT.clone();+ let i = r.nodeToRestore, a = kS(n);+ if (t && i && (a && _T(a, e) || a === n.body && ST(e))) {+ let t = ET.clone();requestAnimationFrame(() => {if (n.activeElement === n.body) {let n = t.getTreeNode(e);for (; n;) {if (n.nodeToRestore && n.nodeToRestore.isConnected) {- wT(n.nodeToRestore);+ CT(n.nodeToRestore);return;}n = n.parent;}for (n = t.getTreeNode(e); n;) {- if (n.scopeRef && n.scopeRef.current && DT.getTreeNode(n.scopeRef)) {- let e = xT(n.scopeRef.current, !0);+ if (n.scopeRef && n.scopeRef.current && ET.getTreeNode(n.scopeRef)) {+ let e = bT(n.scopeRef.current, !0);if (e) {- wT(e);+ CT(e);return;}}@@ -24463,21 +24463,21 @@ function Xoe(e, t, n) {};}, [e, t]);}-function wT(e) {- e.dispatchEvent(new CustomEvent(dT, {+function CT(e) {+ e.dispatchEvent(new CustomEvent(uT, {bubbles: !0,cancelable: !0- })) && bT(e);+ })) && yT(e);}-function TT(e, t, n) {- let r = t?.tabbable ? IS : FS, i = SS(e?.nodeType === Node.ELEMENT_NODE ? e : null), a = lT(i, e || i, NodeFilter.SHOW_ELEMENT, { acceptNode(e) {- return kS(t?.from, e) || t?.tabbable && e.tagName === "INPUT" && e.getAttribute("type") === "radio" && (!Goe(e) || a.currentNode.tagName === "INPUT" && a.currentNode.type === "radio" && a.currentNode.name === e.name) ? NodeFilter.FILTER_REJECT : r(e) && (!n || _T(e, n)) && (!t?.accept || t.accept(e)) ? NodeFilter.FILTER_ACCEPT : NodeFilter.FILTER_SKIP;+function wT(e, t, n) {+ let r = t?.tabbable ? FS : PS, i = xS(e?.nodeType === Node.ELEMENT_NODE ? e : null), a = cT(i, e || i, NodeFilter.SHOW_ELEMENT, { acceptNode(e) {+ return OS(t?.from, e) || t?.tabbable && e.tagName === "INPUT" && e.getAttribute("type") === "radio" && (!Koe(e) || a.currentNode.tagName === "INPUT" && a.currentNode.type === "radio" && a.currentNode.name === e.name) ? NodeFilter.FILTER_REJECT : r(e) && (!n || gT(e, n)) && (!t?.accept || t.accept(e)) ? NodeFilter.FILTER_ACCEPT : NodeFilter.FILTER_SKIP;} });return t?.from && (a.currentNode = t.from), a;}-var Zoe = class e {+var Qoe = class e {constructor() {- this.fastMap = /* @__PURE__ */ new Map(), this.root = new ET({ scopeRef: null }), this.fastMap.set(null, this.root);+ this.fastMap = /* @__PURE__ */ new Map(), this.root = new TT({ scopeRef: null }), this.fastMap.set(null, this.root);}get size() {return this.fastMap.size;@@ -24488,7 +24488,7 @@ var Zoe = class e {addTreeNode(e, t, n) {let r = this.fastMap.get(t ?? null);if (!r) return;- let i = new ET({ scopeRef: e });+ let i = new TT({ scopeRef: e });r.addChild(i), i.parent = r, this.fastMap.set(e, i), n && (i.nodeToRestore = n);}addNode(e) {@@ -24499,7 +24499,7 @@ var Zoe = class e {let t = this.fastMap.get(e);if (!t) return;let n = t.parent;- for (let e of this.traverse()) e !== t && t.nodeToRestore && e.nodeToRestore && t.scopeRef && t.scopeRef.current && _T(e.nodeToRestore, t.scopeRef.current) && (e.nodeToRestore = t.nodeToRestore);+ for (let e of this.traverse()) e !== t && t.nodeToRestore && e.nodeToRestore && t.scopeRef && t.scopeRef.current && gT(e.nodeToRestore, t.scopeRef.current) && (e.nodeToRestore = t.nodeToRestore);let r = t.children;n && (n.removeChild(t), r.size > 0 && r.forEach((e) => n && n.addChild(e))), this.fastMap.delete(t.scopeRef);}@@ -24511,7 +24511,7 @@ var Zoe = class e {for (let e of this.traverse()) t.addTreeNode(e.scopeRef, e.parent?.scopeRef ?? null, e.nodeToRestore);return t;}-}, ET = class {+}, TT = class {constructor(e) {this.children = /* @__PURE__ */ new Set(), this.contain = !1, this.scopeRef = e.scopeRef;}@@ -24521,13 +24521,13 @@ var Zoe = class e {removeChild(e) {this.children.delete(e), e.parent = void 0;}-}, DT = new Zoe(), OT = 7e3, kT = null;-function AT(e, t = "assertive", n = OT) {- kT ? kT.announce(e, t, n) : (kT = new Qoe(), (typeof IS_REACT_ACT_ENVIRONMENT == "boolean" ? IS_REACT_ACT_ENVIRONMENT : typeof jest < "u") ? kT.announce(e, t, n) : setTimeout(() => {- kT?.isAttached() && kT?.announce(e, t, n);+}, ET = new Qoe(), DT = 7e3, OT = null;+function kT(e, t = "assertive", n = DT) {+ OT ? OT.announce(e, t, n) : (OT = new $oe(), (typeof IS_REACT_ACT_ENVIRONMENT == "boolean" ? IS_REACT_ACT_ENVIRONMENT : typeof jest < "u") ? OT.announce(e, t, n) : setTimeout(() => {+ OT?.isAttached() && OT?.announce(e, t, n);}, 100));}-var Qoe = class {+var $oe = class {constructor() {this.node = null, this.assertiveLog = null, this.politeLog = null, typeof document < "u" && (this.node = document.createElement("div"), this.node.dataset.liveAnnouncer = "true", Object.assign(this.node.style, {border: 0,@@ -24552,7 +24552,7 @@ var Qoe = class {destroy() {this.node &&= (document.body.removeChild(this.node), null);}- announce(e, t = "assertive", n = OT) {+ announce(e, t = "assertive", n = DT) {if (!this.node) return;let r = document.createElement("div");typeof e == "object" ? (r.setAttribute("role", "img"), r.setAttribute("aria-labelledby", e["aria-labelledby"])) : r.textContent = e, t === "assertive" ? this.assertiveLog?.appendChild(r) : this.politeLog?.appendChild(r), e !== "" && setTimeout(() => {@@ -24564,8 +24564,8 @@ var Qoe = class {}};// node_modules/react-aria/dist/private/utils/useUpdateEffect.mjs-function jT(e, t) {- let n = (0, F.useRef)(!0), r = (0, F.useRef)(null), i = Dw(e);+function AT(e, t) {+ let n = (0, F.useRef)(!0), r = (0, F.useRef)(null), i = Ew(e);(0, F.useEffect)(() => (n.current = !0, () => {n.current = !1;}), []), (0, F.useEffect)(() => {@@ -24574,30 +24574,30 @@ function jT(e, t) {}, t);}// node_modules/react-aria/dist/private/utils/isScrollable.mjs-function MT(e, t) {+function jT(e, t) {if (!e) return !1;let n = window.getComputedStyle(e), r = document.scrollingElement || document.documentElement, i = /(auto|scroll)/.test(n.overflow + n.overflowX + n.overflowY);return e === r && n.overflow !== "hidden" && (i = !0), i && t && (i = e.scrollHeight !== e.clientHeight || e.scrollWidth !== e.clientWidth), i;}// node_modules/react-aria/dist/private/utils/getScrollParent.mjs-function NT(e, t) {+function MT(e, t) {let n = e;- for (MT(n, t) && (n = n.parentElement); n && !MT(n, t);) n = n.parentElement;+ for (jT(n, t) && (n = n.parentElement); n && !jT(n, t);) n = n.parentElement;return n || document.scrollingElement || document.documentElement;}// node_modules/react-aria/dist/private/utils/getScrollParents.mjs-function PT(e, t) {+function NT(e, t) {let n = [], r = document.scrollingElement || document.documentElement;- for (; e && (MT(e, t) && n.push(e), e !== r);) e = e.parentElement;+ for (; e && (jT(e, t) && n.push(e), e !== r);) e = e.parentElement;return n;}// node_modules/react-aria/dist/private/utils/scrollIntoView.mjs-function FT(e, t, n = {}) {- e !== t && $oe(e, t, t.getBoundingClientRect(), n);+function PT(e, t, n = {}) {+ e !== t && ese(e, t, t.getBoundingClientRect(), n);}-function $oe(e, t, n, r = {}) {+function ese(e, t, n, r = {}) {let { block: i = "nearest", inline: a = "nearest" } = r, o = e.scrollTop, s = e.scrollLeft, c = e.getBoundingClientRect(), l = window.getComputedStyle(t), u = window.getComputedStyle(e), d = document.scrollingElement || document.documentElement, f = e === d, p = e === d ? 0 : c.top, m = e === d ? e.clientHeight : c.bottom, h = e === d ? 0 : c.left, g = e === d ? e.clientWidth : c.right, _ = parseFloat(l.scrollMarginTop) || 0, v = parseFloat(l.scrollMarginBottom) || 0, y = parseFloat(l.scrollMarginLeft) || 0, b = parseFloat(l.scrollMarginRight) || 0, x = parseFloat(u.scrollPaddingTop) || 0, S = parseFloat(u.scrollPaddingBottom) || 0, C = parseFloat(u.scrollPaddingLeft) || 0, w = parseFloat(u.scrollPaddingRight) || 0, T = parseFloat(u.borderTopWidth) || 0, E = parseFloat(u.borderBottomWidth) || 0, D = parseFloat(u.borderLeftWidth) || 0, O = parseFloat(u.borderRightWidth) || 0, k = n.top - _, A = n.bottom + v, j = n.left - y, M = n.right + b, ee = e === d ? 0 : D + O, N = e === d ? 0 : T + E, te = e === d ? 0 : e.offsetWidth - e.clientWidth - ee, P = e === d ? 0 : e.offsetHeight - e.clientHeight - N, ne = p + (f ? 0 : T) + x, re = m - (f ? 0 : E) - S - P, F = h + (f ? 0 : D) + C, I = g - (f ? 0 : O) - w;- JS() && YS() || u.direction === "ltr" ? I -= te : u.direction === "rtl" && (F += te);+ qS() && JS() || u.direction === "ltr" ? I -= te : u.direction === "rtl" && (F += te);let ie = k < ne || A > re, ae = j < F || M > I;if (ie && i === "start") o += k - ne;else if (ie && i === "center") o += (k + A) / 2 - (ne + re) / 2;@@ -24618,7 +24618,7 @@ function $oe(e, t, n, r = {}) {top: o});}-function IT(e, t = {}) {+function FT(e, t = {}) {let { containingElement: n } = t;if (e && e.isConnected) {let t = document.scrollingElement || document.documentElement;@@ -24631,45 +24631,45 @@ function IT(e, t = {}) {inline: "center"}), e.scrollIntoView?.({ block: "nearest" }));} else {- let { left: t, top: r } = e.getBoundingClientRect(), i = PT(e, !0);- for (let t of i) FT(t, e);+ let { left: t, top: r } = e.getBoundingClientRect(), i = NT(e, !0);+ for (let t of i) PT(t, e);let { left: a, top: o } = e.getBoundingClientRect();if (Math.abs(t - a) > 1 || Math.abs(r - o) > 1) {- i = n ? PT(n, !0) : [];- for (let e of i) FT(e, n, {+ i = n ? NT(n, !0) : [];+ for (let e of i) PT(e, n, {block: "center",inline: "center"});- for (let t of PT(e, !0)) FT(t, e);+ for (let t of NT(e, !0)) PT(t, e);}}}}// node_modules/react-aria/dist/private/utils/useDescription.mjs-var ese = 0, LT = /* @__PURE__ */ new Map();-function RT(e) {+var tse = 0, IT = /* @__PURE__ */ new Map();+function LT(e) {let [t, n] = (0, F.useState)();- return RS(() => {+ return LS(() => {if (!e) return;- let t = LT.get(e);+ let t = IT.get(e);if (t) n(t.element.id);else {- let r = `react-aria-description-${ese++}`;+ let r = `react-aria-description-${tse++}`;n(r);let i = document.createElement("div");i.id = r, i.style.display = "none", i.textContent = e, document.body.appendChild(i), t = {refCount: 0,element: i- }, LT.set(e, t);+ }, IT.set(e, t);}return t.refCount++, () => {- t && --t.refCount === 0 && (t.element.remove(), LT.delete(e));+ t && --t.refCount === 0 && (t.element.remove(), IT.delete(e));};}, [e]), { "aria-describedby": e ? t : void 0 };}// node_modules/react-aria/dist/private/utils/useFormReset.mjs-function zT(e, t, n) {- let r = Dw((e) => {+function RT(e, t, n) {+ let r = Ew((e) => {n && !e.defaultPrevented && n(t);});(0, F.useEffect)(() => {@@ -24680,21 +24680,21 @@ function zT(e, t, n) {}, [e]);}// node_modules/react-aria/dist/private/form/useFormValidation.mjs-function BT(e, t, n) {+function zT(e, t, n) {let { validationBehavior: r, focus: i } = e;- RS(() => {+ LS(() => {if (r === "native" && n?.current && "setCustomValidity" in n.current && !n.current.disabled) {let e = t.realtimeValidation.isInvalid ? t.realtimeValidation.validationErrors.join(" ") || "Invalid value." : "";- n.current.setCustomValidity(e), n.current.hasAttribute("title") || (n.current.title = ""), t.realtimeValidation.isInvalid || t.updateValidation(nse(n.current));+ n.current.setCustomValidity(e), n.current.hasAttribute("title") || (n.current.title = ""), t.realtimeValidation.isInvalid || t.updateValidation(rse(n.current));}});- let a = (0, F.useRef)(!1), o = Dw(() => {+ let a = (0, F.useRef)(!1), o = Ew(() => {a.current || t.resetValidation();- }), s = Dw((e) => {+ }), s = Ew((e) => {t.displayValidation.isInvalid || t.commitValidation();let r = n?.current?.form;- !e.defaultPrevented && n && r && rse(r) === n.current && (i ? i() : n.current?.focus(), wC("keyboard")), e.preventDefault();- }), c = Dw(() => {+ !e.defaultPrevented && n && r && ise(r) === n.current && (i ? i() : n.current?.focus(), CC("keyboard")), e.preventDefault();+ }), c = Ew(() => {t.commitValidation();});(0, F.useEffect)(() => {@@ -24708,7 +24708,7 @@ function BT(e, t, n) {};}, [n, r]);}-function tse(e) {+function nse(e) {let t = e.validity;return {badInput: t.badInput,@@ -24724,14 +24724,14 @@ function tse(e) {valid: t.valid};}-function nse(e) {+function rse(e) {return {isInvalid: !e.validity.valid,- validationDetails: tse(e),+ validationDetails: nse(e),validationErrors: e.validationMessage ? [e.validationMessage] : []};}-function rse(e) {+function ise(e) {for (let t = 0; t < e.elements.length; t++) {let n = e.elements[t];if (n.validity?.valid === !1) return n;@@ -24739,23 +24739,23 @@ function rse(e) {return null;}// node_modules/react-aria/dist/private/utils/useSlot.mjs-function ise(e = !0) {+function ase(e = !0) {let [t, n] = (0, F.useState)(e), r = (0, F.useRef)(!1), i = (0, F.useCallback)((e) => {r.current = !0, n(!!e);}, []);- return RS(() => {+ return LS(() => {r.current || n(!1);}, []), [i, t];}-function VT(e = !0) {- let t = zC(), [n, r] = ise(e);+function BT(e = !0) {+ let t = RC(), [n, r] = ase(e);return {id: r ? t : void 0,ref: n};}// node_modules/react-stately/dist/private/form/useFormValidationState.mjs-var HT = {+var VT = {badInput: !1,customError: !1,patternMismatch: !1,@@ -24767,18 +24767,18 @@ var HT = {typeMismatch: !1,valueMissing: !1,valid: !0-}, UT = {- ...HT,+}, HT = {+ ...VT,customError: !0,valid: !1-}, WT = {+}, UT = {isInvalid: !1,- validationDetails: HT,+ validationDetails: VT,validationErrors: []-}, ase = (0, F.createContext)({}), GT = "__reactAriaFormValidationState";-function KT(e) {+}, ose = (0, F.createContext)({}), WT = "__reactAriaFormValidationState";+function GT(e) {if (e.__reactAriaFormValidationState) {- let { realtimeValidation: t, displayValidation: n, updateValidation: r, resetValidation: i, commitValidation: a } = e[GT];+ let { realtimeValidation: t, displayValidation: n, updateValidation: r, resetValidation: i, commitValidation: a } = e[WT];return {realtimeValidation: t,displayValidation: n,@@ -24787,70 +24787,70 @@ function KT(e) {commitValidation: a};}- return ose(e);+ return sse(e);}-function ose(e) {+function sse(e) {let { isInvalid: t, validationState: n, name: r, value: i, builtinValidation: a, validate: o, validationBehavior: s = "aria" } = e;n && (t ||= n === "invalid");let c = t === void 0 ? null : {isInvalid: t,validationErrors: [],- validationDetails: UT- }, l = (0, F.useMemo)(() => !o || i == null ? null : JT(sse(o, i)), [o, i]);+ validationDetails: HT+ }, l = (0, F.useMemo)(() => !o || i == null ? null : qT(cse(o, i)), [o, i]);a?.validationDetails.valid && (a = void 0);- let u = (0, F.useContext)(ase), d = (0, F.useMemo)(() => r ? Array.isArray(r) ? r.flatMap((e) => qT(u[e])) : qT(u[r]) : [], [u, r]), [f, p] = (0, F.useState)(u), [m, h] = (0, F.useState)(!1);+ let u = (0, F.useContext)(ose), d = (0, F.useMemo)(() => r ? Array.isArray(r) ? r.flatMap((e) => KT(u[e])) : KT(u[r]) : [], [u, r]), [f, p] = (0, F.useState)(u), [m, h] = (0, F.useState)(!1);u !== f && (p(u), h(!1));- let g = (0, F.useMemo)(() => JT(m ? [] : d), [m, d]), _ = (0, F.useRef)(WT), [v, y] = (0, F.useState)(WT), b = (0, F.useRef)(WT), x = () => {+ let g = (0, F.useMemo)(() => qT(m ? [] : d), [m, d]), _ = (0, F.useRef)(UT), [v, y] = (0, F.useState)(UT), b = (0, F.useRef)(UT), x = () => {if (!S) return;C(!1);let e = l || a || _.current;- YT(e, b.current) || (b.current = e, y(e));+ JT(e, b.current) || (b.current = e, y(e));}, [S, C] = (0, F.useState)(!1);return (0, F.useEffect)(x), {- realtimeValidation: c || g || l || a || WT,+ realtimeValidation: c || g || l || a || UT,displayValidation: s === "native" ? c || g || v : c || g || l || a || v,updateValidation(e) {- s === "aria" && !YT(v, e) ? y(e) : _.current = e;+ s === "aria" && !JT(v, e) ? y(e) : _.current = e;},resetValidation() {- let e = WT;- YT(e, b.current) || (b.current = e, y(e)), s === "native" && C(!1), h(!0);+ let e = UT;+ JT(e, b.current) || (b.current = e, y(e)), s === "native" && C(!1), h(!0);},commitValidation() {s === "native" && C(!0), h(!0);}};}-function qT(e) {+function KT(e) {return e ? Array.isArray(e) ? e : [e] : [];}-function sse(e, t) {+function cse(e, t) {if (typeof e == "function") {let n = e(t);- if (n && typeof n != "boolean") return qT(n);+ if (n && typeof n != "boolean") return KT(n);}return [];}-function JT(e) {+function qT(e) {return e.length ? {isInvalid: !0,validationErrors: e,- validationDetails: UT+ validationDetails: HT} : null;}-function YT(e, t) {+function JT(e, t) {return e === t || !!e && !!t && e.isInvalid === t.isInvalid && e.validationErrors.length === t.validationErrors.length && e.validationErrors.every((e, n) => e === t.validationErrors[n]) && Object.entries(e.validationDetails).every(([e, n]) => t.validationDetails[e] === n);}// node_modules/react-aria/dist/private/toggle/useToggle.mjs-function XT(e, t, n) {- let { isDisabled: r = !1, isReadOnly: i = !1, value: a, name: o, form: s, children: c, isRequired: l, validationBehavior: u = "aria", "aria-label": d, "aria-labelledby": f, "aria-describedby": p, onPressStart: m, onPressEnd: h, onPressChange: g, onPress: _, onPressUp: v, onClick: y } = e, b = KT({+function YT(e, t, n) {+ let { isDisabled: r = !1, isReadOnly: i = !1, value: a, name: o, form: s, children: c, isRequired: l, validationBehavior: u = "aria", "aria-label": d, "aria-labelledby": f, "aria-describedby": p, onPressStart: m, onPressEnd: h, onPressChange: g, onPress: _, onPressUp: v, onClick: y } = e, b = GT({...e,value: t.isSelected}), { isInvalid: x, validationErrors: S, validationDetails: C } = b.displayValidation;- BT(e, b, n);+ zT(e, b, n);let w = (e) => {e.stopPropagation(), t.setSelected(G(e).checked);- }, { pressProps: T, isPressed: E } = rT({+ }, { pressProps: T, isPressed: E } = nT({onPressStart: m,onPressEnd: h,onPressChange: g,@@ -24858,7 +24858,7 @@ function XT(e, t, n) {onPressUp: v,onClick: y,isDisabled: r- }), [D, O] = (0, F.useState)(!1), { pressProps: k } = rT({+ }), [D, O] = (0, F.useState)(!1), { pressProps: k } = nT({onPressStart(e) {e.pointerType === "keyboard" || e.pointerType === "virtual" ? e.continuePropagation() : (m?.(e), g?.(!0), O(!0));},@@ -24875,13 +24875,13 @@ function XT(e, t, n) {return;}_?.(r), t.toggle(), n.current?.focus();- let { [GT]: i } = e, { commitValidation: a } = i || b;+ let { [WT]: i } = e, { commitValidation: a } = i || b;a();},isDisabled: r || i- }), { focusableProps: A } = $C(e, n), j = K(T, A), M = Uw(e, { labelable: !0 });- zT(n, t.defaultSelected, t.setSelected);- let ee = VT(), N = VT();+ }), { focusableProps: A } = QC(e, n), j = K(T, A), M = Hw(e, { labelable: !0 });+ RT(n, t.defaultSelected, t.setSelected);+ let ee = BT(), N = BT();return {labelProps: K(k, { onClick: (e) => e.preventDefault() }),inputProps: K(M, {@@ -24917,8 +24917,8 @@ function XT(e, t, n) {};}// node_modules/react-aria/dist/private/checkbox/useCheckbox.mjs-function ZT(e, t, n) {- let { labelProps: r, inputProps: i, descriptionProps: a, errorMessageProps: o, isSelected: s, isPressed: c, isDisabled: l, isReadOnly: u, isInvalid: d, validationErrors: f, validationDetails: p } = XT(e, t, n), { isIndeterminate: m } = e;+function XT(e, t, n) {+ let { labelProps: r, inputProps: i, descriptionProps: a, errorMessageProps: o, isSelected: s, isPressed: c, isDisabled: l, isReadOnly: u, isInvalid: d, validationErrors: f, validationDetails: p } = YT(e, t, n), { isIndeterminate: m } = e;return (0, F.useEffect)(() => {n.current && (n.current.indeterminate = !!m);}), {@@ -24936,17 +24936,17 @@ function ZT(e, t, n) {};}// node_modules/react-aria/dist/private/checkbox/utils.mjs-var cse = /* @__PURE__ */ new WeakMap();+var lse = /* @__PURE__ */ new WeakMap();// node_modules/react-aria/dist/private/label/useLabel.mjs-function QT(e) {+function ZT(e) {let { id: t, label: n, "aria-labelledby": r, "aria-label": i, labelElementType: a = "label" } = e;- t = zC(t);- let o = zC(), s = {};+ t = RC(t);+ let o = RC(), s = {};n && (r = r ? `${o} ${r}` : o, s = {id: o,htmlFor: a === "label" ? t : void 0});- let c = kw({+ let c = Ow({id: t,"aria-label": i,"aria-labelledby": r@@ -24957,13 +24957,13 @@ function QT(e) {};}// node_modules/react-aria/dist/private/label/useField.mjs-function $T(e) {- let { description: t, errorMessage: n, isInvalid: r, validationState: i } = e, { labelProps: a, fieldProps: o } = QT(e), s = BC([+function QT(e) {+ let { description: t, errorMessage: n, isInvalid: r, validationState: i } = e, { labelProps: a, fieldProps: o } = ZT(e), s = zC([!!t,!!n,r,i- ]), c = BC([+ ]), c = zC([!!t,!!n,r,@@ -24981,26 +24981,26 @@ function $T(e) {};}// node_modules/react-aria/dist/private/interactions/useFocusWithin.mjs-function eE(e) {- let { isDisabled: t, onBlurWithin: n, onFocusWithin: r, onFocusWithinChange: i } = e, a = (0, F.useRef)({ isFocusWithin: !1 }), { addGlobalListener: o, removeAllGlobalListeners: s } = Qw(), c = (0, F.useCallback)((e) => {- kS(e.currentTarget, G(e)) && a.current.isFocusWithin && !kS(e.currentTarget, e.relatedTarget) && (a.current.isFocusWithin = !1, s(), n && n(e), i && i(!1));+function $T(e) {+ let { isDisabled: t, onBlurWithin: n, onFocusWithin: r, onFocusWithinChange: i } = e, a = (0, F.useRef)({ isFocusWithin: !1 }), { addGlobalListener: o, removeAllGlobalListeners: s } = Zw(), c = (0, F.useCallback)((e) => {+ OS(e.currentTarget, G(e)) && a.current.isFocusWithin && !OS(e.currentTarget, e.relatedTarget) && (a.current.isFocusWithin = !1, s(), n && n(e), i && i(!1));}, [n,i,a,s- ]), l = VS(c), u = (0, F.useCallback)((e) => {- if (!kS(e.currentTarget, G(e))) return;- let t = G(e), n = SS(t), s = AS(n);+ ]), l = BS(c), u = (0, F.useCallback)((e) => {+ if (!OS(e.currentTarget, G(e))) return;+ let t = G(e), n = xS(t), s = kS(n);if (!a.current.isFocusWithin && s === t) {r && r(e), i && i(!0), a.current.isFocusWithin = !0, l(e);let t = e.currentTarget;o(n, "focus", (e) => {let r = G(e);- if (a.current.isFocusWithin && !kS(t, r)) {+ if (a.current.isFocusWithin && !OS(t, r)) {let e = new n.defaultView.FocusEvent("blur", { relatedTarget: r });- BS(e, t);- let i = zS(e);+ zS(e, t);+ let i = RS(e);c(i);}}, { capture: !0 });@@ -25021,14 +25021,14 @@ function eE(e) {} };}// node_modules/react-stately/dist/private/utils/useControlledState.mjs-var lse = F.useInsertionEffect ?? F.useLayoutEffect;-function tE(e, t, n) {+var use = F.useInsertionEffect ?? F.useLayoutEffect;+function eE(e, t, n) {let [r, i] = (0, F.useState)(e || t), a = (0, F.useRef)(r), o = (0, F.useRef)(e !== void 0), s = e !== void 0;(0, F.useEffect)(() => {o.current, o.current = s;}, [s]);let c = s ? e : r;- lse(() => {+ use(() => {a.current = c;});let [, l] = (0, F.useReducer)(() => ({}), {});@@ -25038,8 +25038,8 @@ function tE(e, t, n) {}, [n])];}// node_modules/react-stately/dist/private/toggle/useToggleState.mjs-function nE(e = {}) {- let { isReadOnly: t } = e, [n, r] = tE(e.isSelected, e.defaultSelected || !1, e.onChange), [i] = (0, F.useState)(n);+function tE(e = {}) {+ let { isReadOnly: t } = e, [n, r] = eE(e.isSelected, e.defaultSelected || !1, e.onChange), [i] = (0, F.useState)(n);function a(e) {t || r(e);}@@ -25054,26 +25054,26 @@ function nE(e = {}) {};}// node_modules/react-aria/dist/private/checkbox/useCheckboxGroupItem.mjs-function use(e, t, n) {- let r = nE({+function dse(e, t, n) {+ let r = tE({isReadOnly: e.isReadOnly || t.isReadOnly,isSelected: t.isSelected(e.value),defaultSelected: t.defaultValue.includes(e.value),onChange(n) {n ? t.addValue(e.value) : t.removeValue(e.value), e.onChange && e.onChange(n);}- }), { name: i, form: a, descriptionId: o, errorMessageId: s, validationBehavior: c } = cse.get(t);+ }), { name: i, form: a, descriptionId: o, errorMessageId: s, validationBehavior: c } = lse.get(t);c = e.validationBehavior ?? c;- let { realtimeValidation: l } = KT({+ let { realtimeValidation: l } = GT({...e,value: r.isSelected,name: void 0,validationBehavior: "aria"- }), u = (0, F.useRef)(WT), d = () => {+ }), u = (0, F.useRef)(UT), d = () => {t.setInvalid(e.value, l.isInvalid ? l : u.current);};(0, F.useEffect)(d);- let f = t.realtimeValidation.isInvalid ? t.realtimeValidation : l, p = c === "native" ? t.displayValidation : f, m = ZT({+ let f = t.realtimeValidation.isInvalid ? t.realtimeValidation : l, p = c === "native" ? t.displayValidation : f, m = XT({...e,isReadOnly: e.isReadOnly || t.isReadOnly,isDisabled: e.isDisabled || t.isDisabled,@@ -25081,7 +25081,7 @@ function use(e, t, n) {form: e.form || a,isRequired: e.isRequired ?? t.isRequired,validationBehavior: c,- [GT]: {+ [WT]: {realtimeValidation: f,displayValidation: p,resetValidation: t.resetValidation,@@ -25104,10 +25104,10 @@ function use(e, t, n) {};}// node_modules/react-stately/dist/private/utils/number.mjs-function rE(e, t = -Infinity, n = Infinity) {+function nE(e, t = -Infinity, n = Infinity) {return Math.min(Math.max(e, t), n);}-function iE(e, t) {+function rE(e, t) {let n = e, r = 0, i = t.toString(), a = i.toLowerCase().indexOf("e-");if (a > 0) r = Math.abs(Math.floor(Math.log10(Math.abs(t)))) + a;else {@@ -25120,23 +25120,23 @@ function iE(e, t) {}return n;}-function aE(e, t, n, r) {+function iE(e, t, n, r) {t = Number(t), n = Number(n);- let i = (e - (isNaN(t) ? 0 : t)) % r, a = iE(Math.abs(i) * 2 >= r ? e + Math.sign(i) * (r - Math.abs(i)) : e - i, r);- return isNaN(t) ? !isNaN(n) && a > n && (a = Math.floor(iE(n / r, r)) * r) : a < t ? a = t : !isNaN(n) && a > n && (a = t + Math.floor(iE((n - t) / r, r)) * r), a = iE(a, r), a;+ let i = (e - (isNaN(t) ? 0 : t)) % r, a = rE(Math.abs(i) * 2 >= r ? e + Math.sign(i) * (r - Math.abs(i)) : e - i, r);+ return isNaN(t) ? !isNaN(n) && a > n && (a = Math.floor(rE(n / r, r)) * r) : a < t ? a = t : !isNaN(n) && a > n && (a = t + Math.floor(rE((n - t) / r, r)) * r), a = rE(a, r), a;}// node_modules/@internationalized/number/dist/private/NumberFormatter.mjs-var oE = /* @__PURE__ */ new Map(), sE = !1;+var aE = /* @__PURE__ */ new Map(), oE = !1;try {- sE = new Intl.NumberFormat("de-DE", { signDisplay: "exceptZero" }).resolvedOptions().signDisplay === "exceptZero";+ oE = new Intl.NumberFormat("de-DE", { signDisplay: "exceptZero" }).resolvedOptions().signDisplay === "exceptZero";} catch {}-var dse = class {+var fse = class {constructor(e, t = {}) {- this.numberFormatter = fse(e, t), this.options = t;+ this.numberFormatter = pse(e, t), this.options = t;}format(e) {let t = "";- return t = !sE && this.options.signDisplay != null ? pse(this.numberFormatter, this.options.signDisplay, e) : this.numberFormatter.format(e), t;+ return t = !oE && this.options.signDisplay != null ? mse(this.numberFormatter, this.options.signDisplay, e) : this.numberFormatter.format(e), t;}formatToParts(e) {return this.numberFormatter.formatToParts(e);@@ -25168,21 +25168,21 @@ var dse = class {}resolvedOptions() {let e = this.numberFormatter.resolvedOptions();- return !sE && this.options.signDisplay != null && (e = {+ return !oE && this.options.signDisplay != null && (e = {...e,signDisplay: this.options.signDisplay}), e;}};-function fse(e, t = {}) {+function pse(e, t = {}) {let { numberingSystem: n } = t;n && e.includes("-nu-") && (e.includes("-u-") || (e += "-u-"), e += `-nu-${n}`);let r = e + (t ? Object.entries(t).sort((e, t) => e[0] < t[0] ? -1 : 1).join() : "");- if (oE.has(r)) return oE.get(r);+ if (aE.has(r)) return aE.get(r);let i = new Intl.NumberFormat(e, t);- return oE.set(r, i), i;+ return aE.set(r, i), i;}-function pse(e, t, n) {+function mse(e, t, n) {if (t === "auto") return e.format(n);if (t === "never") return e.format(Math.abs(n));{@@ -25195,12 +25195,12 @@ function pse(e, t, n) {}}// node_modules/react-aria/dist/private/interactions/useMove.mjs-function cE(e) {+function sE(e) {let { onMoveStart: t, onMove: n, onMoveEnd: r } = e, i = (0, F.useRef)({didMove: !1,lastPosition: null,id: null- }), { addGlobalListener: a, removeGlobalListener: o } = Qw(), s = Dw((0, F.useCallback)((e, r, a, o) => {+ }), { addGlobalListener: a, removeGlobalListener: o } = Zw(), s = Ew((0, F.useCallback)((e, r, a, o) => {(a !== 0 || o !== 0) && (i.current.didMove || (i.current.didMove = !0, t?.({type: "movestart",pointerType: r,@@ -25222,8 +25222,8 @@ function cE(e) {t,n,i- ])), c = Dw((0, F.useCallback)((e, t) => {- Jw(), i.current.didMove && r?.({+ ])), c = Ew((0, F.useCallback)((e, t) => {+ qw(), i.current.didMove && r?.({type: "moveend",pointerType: t,shiftKey: e.shiftKey,@@ -25234,7 +25234,7 @@ function cE(e) {}, [r, i]));return { moveProps: (0, F.useMemo)(() => {let e = {}, t = () => {- qw(), i.current.didMove = !1;+ Kw(), i.current.didMove = !1;};{let n = (e) => {@@ -25249,7 +25249,7 @@ function cE(e) {if (e.pointerId === i.current.id) {let t = e.pointerType || "mouse";c(e, t), i.current.id = null;- let a = CS(G(e));+ let a = SS(G(e));o(a, "pointermove", n, !1), o(a, "pointerup", r, !1), o(a, "pointercancel", r, !1);}};@@ -25259,7 +25259,7 @@ function cE(e) {pageX: e.pageX,pageY: e.pageY}, i.current.id = e.pointerId;- let o = CS(G(e));+ let o = SS(G(e));a(o, "pointermove", n, !1), a(o, "pointerup", r, !1), a(o, "pointercancel", r, !1);}};@@ -25292,7 +25292,7 @@ function cE(e) {]) };}// node_modules/react-aria/dist/private/visually-hidden/VisuallyHidden.mjs-var lE = {+var cE = {border: 0,clip: "rect(0 0 0 0)",clipPath: "inset(50%)",@@ -25304,37 +25304,37 @@ var lE = {width: "1px",whiteSpace: "nowrap"};-function uE(e = {}) {- let { style: t, isFocusable: n } = e, [r, i] = (0, F.useState)(!1), { focusWithinProps: a } = eE({+function lE(e = {}) {+ let { style: t, isFocusable: n } = e, [r, i] = (0, F.useState)(!1), { focusWithinProps: a } = $T({isDisabled: !n,onFocusWithinChange: (e) => i(e)}), o = (0, F.useMemo)(() => r ? t : t ? {- ...lE,+ ...cE,...t- } : lE, [r]);+ } : cE, [r]);return { visuallyHiddenProps: {...a,style: o} };}-function dE(e) {- let { children: t, elementType: n = "div", isFocusable: r, style: i, ...a } = e, { visuallyHiddenProps: o } = uE(e);+function uE(e) {+ let { children: t, elementType: n = "div", isFocusable: r, style: i, ...a } = e, { visuallyHiddenProps: o } = lE(e);return /*#__PURE__*/ F.createElement(n, K(a, o), t);}// node_modules/react-aria/dist/private/textfield/useTextField.mjs-function mse(e, t) {- let { inputElementType: n = "input", isDisabled: r = !1, isRequired: i = !1, isReadOnly: a = !1, type: o = "text", validationBehavior: s = "aria" } = e, [c, l] = tE(e.value, e.defaultValue || "", e.onChange), { focusableProps: u } = $C(e, t), d = KT({+function hse(e, t) {+ let { inputElementType: n = "input", isDisabled: r = !1, isRequired: i = !1, isReadOnly: a = !1, type: o = "text", validationBehavior: s = "aria" } = e, [c, l] = eE(e.value, e.defaultValue || "", e.onChange), { focusableProps: u } = QC(e, t), d = GT({...e,value: c- }), { isInvalid: f, validationErrors: p, validationDetails: m } = d.displayValidation, { labelProps: h, fieldProps: g, descriptionProps: _, errorMessageProps: v } = $T({+ }), { isInvalid: f, validationErrors: p, validationDetails: m } = d.displayValidation, { labelProps: h, fieldProps: g, descriptionProps: _, errorMessageProps: v } = QT({...e,isInvalid: f,errorMessage: e.errorMessage || p- }), y = Uw(e, { labelable: !0 }), b = {+ }), y = Hw(e, { labelable: !0 }), b = {type: o,pattern: e.pattern}, [x] = (0, F.useState)(c);- return zT(t, e.defaultValue ?? x, l), BT(e, d, t), {+ return RT(t, e.defaultValue ?? x, l), zT(e, d, t), {labelProps: h,inputProps: K(y, n === "input" ? b : void 0, {disabled: r,@@ -25380,26 +25380,26 @@ function mse(e, t) {};}// node_modules/react-aria/dist/private/i18n/useNumberFormatter.mjs-function hse(e = {}) {- let { locale: t } = Fw();- return (0, F.useMemo)(() => new dse(t, e), [t, e]);+function gse(e = {}) {+ let { locale: t } = Pw();+ return (0, F.useMemo)(() => new fse(t, e), [t, e]);}// node_modules/react-aria/dist/private/slider/utils.mjs-var fE = /* @__PURE__ */ new WeakMap();-function pE(e, t) {- let n = fE.get(e);+var dE = /* @__PURE__ */ new WeakMap();+function fE(e, t) {+ let n = dE.get(e);if (!n) throw Error("Unknown slider state");return `${n.id}-${t}`;}// node_modules/react-aria/dist/private/slider/useSlider.mjs-function gse(e, t, n) {- let { labelProps: r, fieldProps: i } = QT(e), a = e.orientation === "vertical";- fE.set(t, {+function _se(e, t, n) {+ let { labelProps: r, fieldProps: i } = ZT(e), a = e.orientation === "vertical";+ dE.set(t, {id: r.id ?? i.id,"aria-describedby": e["aria-describedby"],"aria-details": e["aria-details"]});- let { direction: o } = Fw(), { addGlobalListener: s, removeGlobalListener: c } = Qw(), l = (0, F.useRef)(null), u = o === "rtl", d = (0, F.useRef)(null), { moveProps: f } = cE({+ let { direction: o } = Pw(), { addGlobalListener: s, removeGlobalListener: c } = Zw(), l = (0, F.useRef)(null), u = o === "rtl", d = (0, F.useRef)(null), { moveProps: f } = sE({onMoveStart() {d.current = null;},@@ -25409,7 +25409,7 @@ function gse(e, t, n) {d.current == null && l.current != null && (d.current = t.getThumbPercent(l.current) * s);let c = a ? r : e;if ((a || u) && (c = -c), d.current += c, l.current != null && n.current) {- let e = rE(d.current / s, 0, 1);+ let e = nE(d.current / s, 0, 1);t.setThumbPercent(l.current, e);}},@@ -25433,7 +25433,7 @@ function gse(e, t, n) {(e.pointerId ?? e.changedTouches?.[0].identifier) === p.current && (l.current != null && (t.setThumbDragging(l.current, !1), l.current = null), c(window, "mouseup", h, !1), c(window, "touchend", h, !1), c(window, "pointerup", h, !1));};return "htmlFor" in r && r.htmlFor && (delete r.htmlFor, r.onClick = () => {- document.getElementById(pE(t, 0))?.focus(), wC("keyboard");+ document.getElementById(fE(t, 0))?.focus(), CC("keyboard");}), {labelProps: r,groupProps: {@@ -25456,26 +25456,26 @@ function gse(e, t, n) {}}, f),outputProps: {- htmlFor: t.values.map((e, n) => pE(t, n)).join(" "),+ htmlFor: t.values.map((e, n) => fE(t, n)).join(" "),"aria-live": "off"}};}// node_modules/react-aria/dist/private/slider/useSliderThumb.mjs-function _se(e, t) {- let { index: n = 0, isRequired: r, validationState: i, isInvalid: a, trackRef: o, inputRef: s, orientation: c = t.orientation, name: l, form: u } = e, d = e.isDisabled || t.isDisabled, f = c === "vertical", { direction: p } = Fw(), { addGlobalListener: m, removeGlobalListener: h } = Qw(), g = fE.get(t), { labelProps: _, fieldProps: v } = QT({+function vse(e, t) {+ let { index: n = 0, isRequired: r, validationState: i, isInvalid: a, trackRef: o, inputRef: s, orientation: c = t.orientation, name: l, form: u } = e, d = e.isDisabled || t.isDisabled, f = c === "vertical", { direction: p } = Pw(), { addGlobalListener: m, removeGlobalListener: h } = Zw(), g = dE.get(t), { labelProps: _, fieldProps: v } = ZT({...e,- id: pE(t, n),+ id: fE(t, n),"aria-labelledby": `${g.id} ${e["aria-labelledby"] ?? ""}`.trim()}), y = t.values[n], b = (0, F.useCallback)(() => {- s.current && xS(s.current);+ s.current && bS(s.current);}, [s]), x = t.focusedThumb === n;(0, F.useEffect)(() => {x && b();}, [x, b]);let S = p === "rtl", C = (0, F.useRef)(null), w = (e) => {t.setThumbDragging(n, !0), e(), t.setThumbDragging(n, !1);- }, { keyboardProps: T } = YC({+ }, { keyboardProps: T } = JC({shortcuts: {PageUp: () => w(() => {t.incrementThumb(n, t.pageSize);@@ -25491,7 +25491,7 @@ function _se(e, t) {})},allowRepeats: !0- }), { moveProps: E } = cE({+ }), { moveProps: E } = sE({onMoveStart() {C.current = null, t.setThumbDragging(n, !0);},@@ -25502,7 +25502,7 @@ function _se(e, t) {if (C.current ??= s(n) * g, i === "keyboard") e > 0 && S || e < 0 && !S || r > 0 ? l(n, a ? p : d) : u(n, a ? p : d);else {let t = f ? r : e;- (f || S) && (t = -t), C.current += t, c(n, rE(C.current / g, 0, 1));+ (f || S) && (t = -t), C.current += t, c(n, nE(C.current / g, 0, 1));}},onMoveEnd() {@@ -25510,7 +25510,7 @@ function _se(e, t) {}});t.setThumbEditable(n, !d);- let { focusableProps: D } = $C(K(e, {+ let { focusableProps: D } = QC(K(e, {onFocus: () => t.setFocusedThumb(n),onBlur: () => t.setFocusedThumb(void 0)}), s), O = (0, F.useRef)(void 0), k = (e) => {@@ -25530,7 +25530,7 @@ function _se(e, t) {k(e.changedTouches[0].identifier);}});- return zT(s, t.defaultValues[n], (e) => {+ return RT(s, t.defaultValues[n], (e) => {t.setThumbValue(n, e);}), {inputProps: K(D, v, {@@ -25570,42 +25570,42 @@ function _se(e, t) {};}// node_modules/react-aria/dist/private/overlays/ariaHideOutside.mjs-var vse = typeof HTMLElement < "u" && "inert" in HTMLElement.prototype;-function mE(e) {+var yse = typeof HTMLElement < "u" && "inert" in HTMLElement.prototype;+function pE(e) {return e.dataset.liveAnnouncer === "true" || e.dataset.reactAriaTopLayer !== void 0;}-var hE = /* @__PURE__ */ new WeakMap(), gE = [];-function _E(e, t) {- let n = CS(e?.[0]), r = t instanceof n.Element ? { root: t } : t, i = r?.root ?? document.body, a = r?.shouldUseInert && vse, o = new Set(e), s = /* @__PURE__ */ new Set(), c = (e) => a && e instanceof n.HTMLElement ? e.inert : e.getAttribute("aria-hidden") === "true", l = (e, t) => {+var mE = /* @__PURE__ */ new WeakMap(), hE = [];+function gE(e, t) {+ let n = SS(e?.[0]), r = t instanceof n.Element ? { root: t } : t, i = r?.root ?? document.body, a = r?.shouldUseInert && yse, o = new Set(e), s = /* @__PURE__ */ new Set(), c = (e) => a && e instanceof n.HTMLElement ? e.inert : e.getAttribute("aria-hidden") === "true", l = (e, t) => {a && e instanceof n.HTMLElement ? e.inert = t : t ? e.setAttribute("aria-hidden", "true") : (e.removeAttribute("aria-hidden"), e instanceof n.HTMLElement && (e.inert = !1));}, u = /* @__PURE__ */ new Set();- if (OS()) {+ if (DS()) {let t = i.getRootNode();for (let n of e) {let e = n.getRootNode();- for (; TS(e) && e !== t;) u.add(e), e = e.host.getRootNode();+ for (; wS(e) && e !== t;) u.add(e), e = e.host.getRootNode();}}let d = (e) => {for (let t of e.querySelectorAll("[data-live-announcer], [data-react-aria-top-layer]")) o.add(t);let t = (e) => {if (s.has(e) || o.has(e) || e.parentElement && s.has(e.parentElement) && e.parentElement.getAttribute("role") !== "row") return NodeFilter.FILTER_REJECT;- for (let t of o) if (kS(e, t)) return NodeFilter.FILTER_SKIP;+ for (let t of o) if (OS(e, t)) return NodeFilter.FILTER_SKIP;return NodeFilter.FILTER_ACCEPT;- }, n = lT(SS(e), e, NodeFilter.SHOW_ELEMENT, { acceptNode: t }), r = t(e);+ }, n = cT(xS(e), e, NodeFilter.SHOW_ELEMENT, { acceptNode: t }), r = t(e);if (r === NodeFilter.FILTER_ACCEPT && f(e), r !== NodeFilter.FILTER_REJECT) {let e = n.nextNode();for (; e != null;) f(e), e = n.nextNode();}}, f = (e) => {- let t = hE.get(e) ?? 0;- c(e) && t === 0 || (t === 0 && l(e, !0), s.add(e), hE.set(e, t + 1));+ let t = mE.get(e) ?? 0;+ c(e) && t === 0 || (t === 0 && l(e, !0), s.add(e), mE.set(e, t + 1));};- gE.length && gE[gE.length - 1].disconnect(), d(i);+ hE.length && hE[hE.length - 1].disconnect(), d(i);let p = new MutationObserver((e) => {for (let t of e) if (t.type === "childList") {- if (t.target.isConnected && ![...o, ...s].some((e) => kS(e, t.target))) for (let e of t.addedNodes) (e instanceof HTMLElement || e instanceof SVGElement) && mE(e) ? o.add(e) : e instanceof Element && d(e);- if (OS()) {+ if (t.target.isConnected && ![...o, ...s].some((e) => OS(e, t.target))) for (let e of t.addedNodes) (e instanceof HTMLElement || e instanceof SVGElement) && pE(e) ? o.add(e) : e instanceof Element && d(e);+ if (DS()) {for (let e of u) if (!e.isConnected) {p.disconnect();break;@@ -25618,11 +25618,11 @@ function _E(e, t) {subtree: !0});let m = /* @__PURE__ */ new Set();- if (OS()) for (let e of u) {+ if (DS()) for (let e of u) {let t = new MutationObserver((e) => {for (let t of e) if (t.type === "childList") {- if (t.target.isConnected && ![...o, ...s].some((e) => kS(e, t.target))) for (let e of t.addedNodes) (e instanceof HTMLElement || e instanceof SVGElement) && mE(e) ? o.add(e) : e instanceof Element && d(e);- if (OS()) {+ if (t.target.isConnected && ![...o, ...s].some((e) => OS(e, t.target))) for (let e of t.addedNodes) (e instanceof HTMLElement || e instanceof SVGElement) && pE(e) ? o.add(e) : e instanceof Element && d(e);+ if (DS()) {for (let e of u) if (!e.isConnected) {p.disconnect();break;@@ -25648,56 +25648,56 @@ function _E(e, t) {p.disconnect();}};- return gE.push(h), () => {- if (p.disconnect(), OS()) for (let e of m) e.disconnect();+ return hE.push(h), () => {+ if (p.disconnect(), DS()) for (let e of m) e.disconnect();for (let e of s) {- let t = hE.get(e);- t != null && (t === 1 ? (l(e, !1), hE.delete(e)) : hE.set(e, t - 1));+ let t = mE.get(e);+ t != null && (t === 1 ? (l(e, !1), mE.delete(e)) : mE.set(e, t - 1));}- h === gE[gE.length - 1] ? (gE.pop(), gE.length && gE[gE.length - 1].observe()) : gE.splice(gE.indexOf(h), 1);+ h === hE[hE.length - 1] ? (hE.pop(), hE.length && hE[hE.length - 1].observe()) : hE.splice(hE.indexOf(h), 1);};}-function vE(e) {- let t = gE[gE.length - 1];+function _E(e) {+ let t = hE[hE.length - 1];if (t && !t.visibleNodes.has(e)) return t.visibleNodes.add(e), () => {t.visibleNodes.delete(e);};}// node_modules/react-aria/dist/private/listbox/utils.mjs-var yE = /* @__PURE__ */ new WeakMap();-function yse(e) {+var vE = /* @__PURE__ */ new WeakMap();+function bse(e) {return typeof e == "string" ? e.replace(/\s*/g, "") : "" + e;}-function bse(e, t) {- let n = yE.get(e);+function xse(e, t) {+ let n = vE.get(e);if (!n) throw Error("Unknown list");- return `${n.id}-option-${yse(t)}`;+ return `${n.id}-option-${bse(t)}`;}// node_modules/react-aria/dist/private/selection/utils.mjs-function bE(e) {- return xae() ? e.altKey : e.ctrlKey;+function yE(e) {+ return Sae() ? e.altKey : e.ctrlKey;}-function xE(e, t) {+function bE(e, t) {let n = `[data-key="${CSS.escape(String(t))}"]`, r = e.current?.dataset.collection;return r && (n = `[data-collection="${CSS.escape(r)}"]${n}`), e.current?.querySelector(n);}-var SE = /* @__PURE__ */ new WeakMap();-function xse(e) {- let t = zC();- return SE.set(e, t), t;-}+var xE = /* @__PURE__ */ new WeakMap();function Sse(e) {- return SE.get(e);+ let t = RC();+ return xE.set(e, t), t;+}+function Cse(e) {+ return xE.get(e);}// node_modules/react-aria/dist/private/selection/DOMLayoutDelegate.mjs-var CE = class {+var SE = class {constructor(e) {this.ref = e;}getItemRect(e) {let t = this.ref.current;if (!t) return null;- let n = e == null ? null : xE(this.ref, e);+ let n = e == null ? null : bE(this.ref, e);if (!n) return null;let r = t.getBoundingClientRect(), i = n.getBoundingClientRect();return {@@ -25723,12 +25723,12 @@ var CE = class {height: e?.clientHeight ?? 0};}-}, wE = class {+}, CE = class {constructor(...e) {if (e.length === 1) {let t = e[0];- this.collection = t.collection, this.ref = t.ref, this.collator = t.collator, this.disabledKeys = t.disabledKeys || /* @__PURE__ */ new Set(), this.disabledBehavior = t.disabledBehavior || "all", this.orientation = t.orientation || "vertical", this.direction = t.direction, this.layout = t.layout || "stack", this.layoutDelegate = t.layoutDelegate || new CE(t.ref);- } else this.collection = e[0], this.disabledKeys = e[1], this.ref = e[2], this.collator = e[3], this.layout = "stack", this.orientation = "vertical", this.disabledBehavior = "all", this.layoutDelegate = new CE(this.ref);+ this.collection = t.collection, this.ref = t.ref, this.collator = t.collator, this.disabledKeys = t.disabledKeys || /* @__PURE__ */ new Set(), this.disabledBehavior = t.disabledBehavior || "all", this.orientation = t.orientation || "vertical", this.direction = t.direction, this.layout = t.layout || "stack", this.layoutDelegate = t.layoutDelegate || new SE(t.ref);+ } else this.collection = e[0], this.disabledKeys = e[1], this.ref = e[2], this.collator = e[3], this.layout = "stack", this.orientation = "vertical", this.disabledBehavior = "all", this.layoutDelegate = new SE(this.ref);this.layout === "stack" && this.orientation === "vertical" && (this.getKeyLeftOf = void 0, this.getKeyRightOf = void 0);}isDisabled(e) {@@ -25768,14 +25768,14 @@ var CE = class {return e.x === t.x || e.y !== t.y;}isReversed(e) {- let t = this.getNextKey(e), n = xE(this.ref, e);+ let t = this.getNextKey(e), n = bE(this.ref, e);if (t != null) {- let e = xE(this.ref, t);+ let e = bE(this.ref, t);return !n || !e ? !1 : n.getBoundingClientRect().top > e.getBoundingClientRect().top;}let r = this.getPreviousKey(e);if (r != null) {- let e = xE(this.ref, r);+ let e = bE(this.ref, r);return !n || !e ? !1 : e.getBoundingClientRect().top > n.getBoundingClientRect().top;}return !1;@@ -25809,7 +25809,7 @@ var CE = class {let t = this.ref.current, n = this.layoutDelegate.getItemRect(e);if (!n) return null;let r = this.isReversed(e);- if (t && !MT(t)) return this.getFirstKey();+ if (t && !jT(t)) return this.getFirstKey();let i = e;if (this.orientation === "horizontal") {let e = Math.max(0, n.x + n.width - this.layoutDelegate.getVisibleRect().width);@@ -25824,7 +25824,7 @@ var CE = class {let t = this.ref.current, n = this.layoutDelegate.getItemRect(e);if (!n) return null;let r = this.isReversed(e);- if (t && !MT(t)) return this.getLastKey();+ if (t && !jT(t)) return this.getLastKey();let i = e;if (this.orientation === "horizontal") {let e = Math.min(this.layoutDelegate.getContentSize().width, n.x - n.width + this.layoutDelegate.getVisibleRect().width);@@ -25847,149 +25847,149 @@ var CE = class {}return null;}-}, TE = {};-TE = { longPressMessage: "اضغط مطولاً أو اضغط على Alt + السهم لأسفل لفتح القائمة" };+}, wE = {};+wE = { longPressMessage: "اضغط مطولاً أو اضغط على Alt + السهم لأسفل لفتح القائمة" };// node_modules/react-aria/dist/private/intl/menu/bg-BG.mjs-var EE = {};-EE = { longPressMessage: "Натиснете продължително или натиснете Alt+ стрелка надолу, за да отворите менюто" };+var TE = {};+TE = { longPressMessage: "Натиснете продължително или натиснете Alt+ стрелка надолу, за да отворите менюто" };// node_modules/react-aria/dist/private/intl/menu/cs-CZ.mjs-var DE = {};-DE = { longPressMessage: "Dlouhým stiskem nebo stisknutím kláves Alt + šipka dolů otevřete nabídku" };+var EE = {};+EE = { longPressMessage: "Dlouhým stiskem nebo stisknutím kláves Alt + šipka dolů otevřete nabídku" };// node_modules/react-aria/dist/private/intl/menu/da-DK.mjs-var OE = {};-OE = { longPressMessage: "Langt tryk eller tryk på Alt + pil ned for at åbne menuen" };+var DE = {};+DE = { longPressMessage: "Langt tryk eller tryk på Alt + pil ned for at åbne menuen" };// node_modules/react-aria/dist/private/intl/menu/de-DE.mjs-var kE = {};-kE = { longPressMessage: "Drücken Sie lange oder drücken Sie Alt + Nach-unten, um das Menü zu öffnen" };+var OE = {};+OE = { longPressMessage: "Drücken Sie lange oder drücken Sie Alt + Nach-unten, um das Menü zu öffnen" };// node_modules/react-aria/dist/private/intl/menu/el-GR.mjs-var AE = {};-AE = { longPressMessage: "Πιέστε παρατεταμένα ή πατήστε Alt + κάτω βέλος για να ανοίξετε το μενού" };+var kE = {};+kE = { longPressMessage: "Πιέστε παρατεταμένα ή πατήστε Alt + κάτω βέλος για να ανοίξετε το μενού" };// node_modules/react-aria/dist/private/intl/menu/en-US.mjs-var jE = {};-jE = { longPressMessage: "Long press or press Alt + ArrowDown to open menu" };+var AE = {};+AE = { longPressMessage: "Long press or press Alt + ArrowDown to open menu" };// node_modules/react-aria/dist/private/intl/menu/es-ES.mjs-var ME = {};-ME = { longPressMessage: "Mantenga pulsado o pulse Alt + flecha abajo para abrir el menú" };+var jE = {};+jE = { longPressMessage: "Mantenga pulsado o pulse Alt + flecha abajo para abrir el menú" };// node_modules/react-aria/dist/private/intl/menu/et-EE.mjs-var NE = {};-NE = { longPressMessage: "Menüü avamiseks vajutage pikalt või vajutage klahve Alt + allanool" };+var ME = {};+ME = { longPressMessage: "Menüü avamiseks vajutage pikalt või vajutage klahve Alt + allanool" };// node_modules/react-aria/dist/private/intl/menu/fi-FI.mjs-var PE = {};-PE = { longPressMessage: "Avaa valikko painamalla pohjassa tai näppäinyhdistelmällä Alt + Alanuoli" };+var NE = {};+NE = { longPressMessage: "Avaa valikko painamalla pohjassa tai näppäinyhdistelmällä Alt + Alanuoli" };// node_modules/react-aria/dist/private/intl/menu/fr-FR.mjs-var FE = {};-FE = { longPressMessage: "Appuyez de manière prolongée ou appuyez sur Alt\xA0+\xA0Flèche vers le bas pour ouvrir le menu." };+var PE = {};+PE = { longPressMessage: "Appuyez de manière prolongée ou appuyez sur Alt\xA0+\xA0Flèche vers le bas pour ouvrir le menu." };// node_modules/react-aria/dist/private/intl/menu/he-IL.mjs-var IE = {};-IE = { longPressMessage: "לחץ לחיצה ארוכה או הקש Alt + ArrowDown כדי לפתוח את התפריט" };+var FE = {};+FE = { longPressMessage: "לחץ לחיצה ארוכה או הקש Alt + ArrowDown כדי לפתוח את התפריט" };// node_modules/react-aria/dist/private/intl/menu/hr-HR.mjs-var LE = {};-LE = { longPressMessage: "Dugo pritisnite ili pritisnite Alt + strelicu prema dolje za otvaranje izbornika" };+var IE = {};+IE = { longPressMessage: "Dugo pritisnite ili pritisnite Alt + strelicu prema dolje za otvaranje izbornika" };// node_modules/react-aria/dist/private/intl/menu/hu-HU.mjs-var RE = {};-RE = { longPressMessage: "Nyomja meg hosszan, vagy nyomja meg az Alt + lefele nyíl gombot a menü megnyitásához" };+var LE = {};+LE = { longPressMessage: "Nyomja meg hosszan, vagy nyomja meg az Alt + lefele nyíl gombot a menü megnyitásához" };// node_modules/react-aria/dist/private/intl/menu/it-IT.mjs-var zE = {};-zE = { longPressMessage: "Premi a lungo o premi Alt + Freccia giù per aprire il menu" };+var RE = {};+RE = { longPressMessage: "Premi a lungo o premi Alt + Freccia giù per aprire il menu" };// node_modules/react-aria/dist/private/intl/menu/ja-JP.mjs-var BE = {};-BE = { longPressMessage: "長押しまたは Alt+下矢印キーでメニューを開く" };+var zE = {};+zE = { longPressMessage: "長押しまたは Alt+下矢印キーでメニューを開く" };// node_modules/react-aria/dist/private/intl/menu/ko-KR.mjs-var VE = {};-VE = { longPressMessage: "길게 누르거나 Alt + 아래쪽 화살표를 눌러 메뉴 열기" };+var BE = {};+BE = { longPressMessage: "길게 누르거나 Alt + 아래쪽 화살표를 눌러 메뉴 열기" };// node_modules/react-aria/dist/private/intl/menu/lt-LT.mjs-var HE = {};-HE = { longPressMessage: "Norėdami atidaryti meniu, nuspaudę palaikykite arba paspauskite „Alt + ArrowDown“." };+var VE = {};+VE = { longPressMessage: "Norėdami atidaryti meniu, nuspaudę palaikykite arba paspauskite „Alt + ArrowDown“." };// node_modules/react-aria/dist/private/intl/menu/lv-LV.mjs-var UE = {};-UE = { longPressMessage: "Lai atvērtu izvēlni, turiet nospiestu vai nospiediet taustiņu kombināciju Alt + lejupvērstā bultiņa" };+var HE = {};+HE = { longPressMessage: "Lai atvērtu izvēlni, turiet nospiestu vai nospiediet taustiņu kombināciju Alt + lejupvērstā bultiņa" };// node_modules/react-aria/dist/private/intl/menu/nb-NO.mjs-var WE = {};-WE = { longPressMessage: "Langt trykk eller trykk Alt + PilNed for å åpne menyen" };+var UE = {};+UE = { longPressMessage: "Langt trykk eller trykk Alt + PilNed for å åpne menyen" };// node_modules/react-aria/dist/private/intl/menu/nl-NL.mjs-var GE = {};-GE = { longPressMessage: "Druk lang op Alt + pijl-omlaag of druk op Alt om het menu te openen" };+var WE = {};+WE = { longPressMessage: "Druk lang op Alt + pijl-omlaag of druk op Alt om het menu te openen" };// node_modules/react-aria/dist/private/intl/menu/pl-PL.mjs-var KE = {};-KE = { longPressMessage: "Naciśnij i przytrzymaj lub naciśnij klawisze Alt + Strzałka w dół, aby otworzyć menu" };+var GE = {};+GE = { longPressMessage: "Naciśnij i przytrzymaj lub naciśnij klawisze Alt + Strzałka w dół, aby otworzyć menu" };// node_modules/react-aria/dist/private/intl/menu/pt-BR.mjs-var qE = {};-qE = { longPressMessage: "Pressione e segure ou pressione Alt + Seta para baixo para abrir o menu" };+var KE = {};+KE = { longPressMessage: "Pressione e segure ou pressione Alt + Seta para baixo para abrir o menu" };// node_modules/react-aria/dist/private/intl/menu/pt-PT.mjs-var JE = {};-JE = { longPressMessage: "Prima continuamente ou prima Alt + Seta Para Baixo para abrir o menu" };+var qE = {};+qE = { longPressMessage: "Prima continuamente ou prima Alt + Seta Para Baixo para abrir o menu" };// node_modules/react-aria/dist/private/intl/menu/ro-RO.mjs-var YE = {};-YE = { longPressMessage: "Apăsați lung sau apăsați pe Alt + săgeată în jos pentru a deschide meniul" };+var JE = {};+JE = { longPressMessage: "Apăsați lung sau apăsați pe Alt + săgeată în jos pentru a deschide meniul" };// node_modules/react-aria/dist/private/intl/menu/ru-RU.mjs-var XE = {};-XE = { longPressMessage: "Нажмите и удерживайте или нажмите Alt + Стрелка вниз, чтобы открыть меню" };+var YE = {};+YE = { longPressMessage: "Нажмите и удерживайте или нажмите Alt + Стрелка вниз, чтобы открыть меню" };// node_modules/react-aria/dist/private/intl/menu/sk-SK.mjs-var ZE = {};-ZE = { longPressMessage: "Ponuku otvoríte dlhým stlačením alebo stlačením klávesu Alt + klávesu so šípkou nadol" };+var XE = {};+XE = { longPressMessage: "Ponuku otvoríte dlhým stlačením alebo stlačením klávesu Alt + klávesu so šípkou nadol" };// node_modules/react-aria/dist/private/intl/menu/sl-SI.mjs-var QE = {};-QE = { longPressMessage: "Za odprtje menija pritisnite in držite gumb ali pritisnite Alt+puščica navzdol" };+var ZE = {};+ZE = { longPressMessage: "Za odprtje menija pritisnite in držite gumb ali pritisnite Alt+puščica navzdol" };// node_modules/react-aria/dist/private/intl/menu/sr-SP.mjs-var $E = {};-$E = { longPressMessage: "Dugo pritisnite ili pritisnite Alt + strelicu prema dole da otvorite meni" };+var QE = {};+QE = { longPressMessage: "Dugo pritisnite ili pritisnite Alt + strelicu prema dole da otvorite meni" };// node_modules/react-aria/dist/private/intl/menu/sv-SE.mjs-var eD = {};-eD = { longPressMessage: "Håll nedtryckt eller tryck på Alt + pil nedåt för att öppna menyn" };+var $E = {};+$E = { longPressMessage: "Håll nedtryckt eller tryck på Alt + pil nedåt för att öppna menyn" };// node_modules/react-aria/dist/private/intl/menu/tr-TR.mjs-var tD = {};-tD = { longPressMessage: "Menüyü açmak için uzun basın veya Alt + Aşağı Ok tuşuna basın" };+var eD = {};+eD = { longPressMessage: "Menüyü açmak için uzun basın veya Alt + Aşağı Ok tuşuna basın" };// node_modules/react-aria/dist/private/intl/menu/uk-UA.mjs-var nD = {};-nD = { longPressMessage: "Довго або звичайно натисніть комбінацію клавіш Alt і стрілка вниз, щоб відкрити меню" };+var tD = {};+tD = { longPressMessage: "Довго або звичайно натисніть комбінацію клавіш Alt і стрілка вниз, щоб відкрити меню" };// node_modules/react-aria/dist/private/intl/menu/zh-CN.mjs-var rD = {};-rD = { longPressMessage: "长按或按 Alt + 向下方向键以打开菜单" };+var nD = {};+nD = { longPressMessage: "长按或按 Alt + 向下方向键以打开菜单" };// node_modules/react-aria/dist/private/intl/menu/zh-TW.mjs-var iD = {};-iD = { longPressMessage: "長按或按 Alt+向下鍵以開啟功能表" };+var rD = {};+rD = { longPressMessage: "長按或按 Alt+向下鍵以開啟功能表" };// node_modules/react-aria/dist/private/menu/intlStrings.mjs-var aD = {};-aD = {- "ar-AE": TE,- "bg-BG": EE,- "cs-CZ": DE,- "da-DK": OE,- "de-DE": kE,- "el-GR": AE,- "en-US": jE,- "es-ES": ME,- "et-EE": NE,- "fi-FI": PE,- "fr-FR": FE,- "he-IL": IE,- "hr-HR": LE,- "hu-HU": RE,- "it-IT": zE,- "ja-JP": BE,- "ko-KR": VE,- "lt-LT": HE,- "lv-LV": UE,- "nb-NO": WE,- "nl-NL": GE,- "pl-PL": KE,- "pt-BR": qE,- "pt-PT": JE,- "ro-RO": YE,- "ru-RU": XE,- "sk-SK": ZE,- "sl-SI": QE,- "sr-SP": $E,- "sv-SE": eD,- "tr-TR": tD,- "uk-UA": nD,- "zh-CN": rD,- "zh-TW": iD+var iD = {};+iD = {+ "ar-AE": wE,+ "bg-BG": TE,+ "cs-CZ": EE,+ "da-DK": DE,+ "de-DE": OE,+ "el-GR": kE,+ "en-US": AE,+ "es-ES": jE,+ "et-EE": ME,+ "fi-FI": NE,+ "fr-FR": PE,+ "he-IL": FE,+ "hr-HR": IE,+ "hu-HU": LE,+ "it-IT": RE,+ "ja-JP": zE,+ "ko-KR": BE,+ "lt-LT": VE,+ "lv-LV": HE,+ "nb-NO": UE,+ "nl-NL": WE,+ "pl-PL": GE,+ "pt-BR": KE,+ "pt-PT": qE,+ "ro-RO": JE,+ "ru-RU": YE,+ "sk-SK": XE,+ "sl-SI": ZE,+ "sr-SP": QE,+ "sv-SE": $E,+ "tr-TR": eD,+ "uk-UA": tD,+ "zh-CN": nD,+ "zh-TW": rD};// node_modules/react-aria/dist/private/interactions/useLongPress.mjs-var Cse = 500;-function oD(e) {- let { isDisabled: t, pointerType: n, onLongPressStart: r, onLongPressEnd: i, onLongPress: a, threshold: o = Cse, accessibilityDescription: s } = e, c = (0, F.useRef)(void 0), { addGlobalListener: l, removeAllGlobalListeners: u } = Qw(), d = (e) => n ? e.pointerType === n : e.pointerType === "mouse" || e.pointerType === "touch", { pressProps: f } = rT({+var wse = 500;+function aD(e) {+ let { isDisabled: t, pointerType: n, onLongPressStart: r, onLongPressEnd: i, onLongPress: a, threshold: o = wse, accessibilityDescription: s } = e, c = (0, F.useRef)(void 0), { addGlobalListener: l, removeAllGlobalListeners: u } = Zw(), d = (e) => n ? e.pointerType === n : e.pointerType === "mouse" || e.pointerType === "touch", { pressProps: f } = nT({isDisabled: t,onPressStart(e) {if (e.continuePropagation(), d(e)) {@@ -25997,12 +25997,12 @@ function oD(e) {...e,type: "longpressstart"}), c.current = setTimeout(() => {- e.target.dispatchEvent(new PointerEvent("pointercancel", { bubbles: !0 })), l(e.target, "click", (e) => e.preventDefault(), { once: !0 }), SS(e.target).activeElement !== e.target && xS(e.target), a && a({+ e.target.dispatchEvent(new PointerEvent("pointercancel", { bubbles: !0 })), l(e.target, "click", (e) => e.preventDefault(), { once: !0 }), xS(e.target).activeElement !== e.target && bS(e.target), a && a({...e,type: "longpress"}), c.current = void 0;}, o), e.pointerType === "touch" && l(e.target, "contextmenu", (e) => e.preventDefault(), { once: !0 });- let t = CS(e.target);+ let t = SS(e.target);l(t, "pointerup", () => {setTimeout(() => {u();@@ -26017,11 +26017,11 @@ function oD(e) {});}});- return { longPressProps: K(f, RT(a && !t ? s : void 0)) };+ return { longPressProps: K(f, LT(a && !t ? s : void 0)) };}// node_modules/react-aria/dist/private/interactions/useContextMenu.mjs-function wse(e) {- let { onContextMenu: t } = e, n = (0, F.useRef)(!1), { longPressProps: r } = oD({+function Tse(e) {+ let { onContextMenu: t } = e, n = (0, F.useRef)(!1), { longPressProps: r } = aD({onLongPressStart() {n.current = !1;},@@ -26033,7 +26033,7 @@ function wse(e) {});}});- return t ? { contextMenuProps: K(JS() ? r : {}, {+ return t ? { contextMenuProps: K(qS() ? r : {}, {onContextMenu(e) {e.stopPropagation(), e.preventDefault(), n.current = !0;let r = e.currentTarget.getBoundingClientRect();@@ -26044,7 +26044,7 @@ function wse(e) {});},onKeyDown(e) {- if (KS() && e.ctrlKey && e.key === "Enter") {+ if (GS() && e.ctrlKey && e.key === "Enter") {n.current = !1;let r = e.currentTarget;e.stopPropagation(), setTimeout(() => {@@ -26063,13 +26063,13 @@ function wse(e) {}) } : { contextMenuProps: {} };}// node_modules/react-aria/dist/private/overlays/useCloseOnScroll.mjs-var sD = /* @__PURE__ */ new WeakMap();-function Tse(e) {+var oD = /* @__PURE__ */ new WeakMap();+function Ese(e) {let { triggerRef: t, isOpen: n, onClose: r } = e;- (0, F.useEffect)(() => !n || r === null ? void 0 : ES(jS(t.current), "scroll", (e) => {+ (0, F.useEffect)(() => !n || r === null ? void 0 : TS(AS(t.current), "scroll", (e) => {let n = G(e);- if (!t.current || n instanceof Node && !kS(n, t.current) || n instanceof HTMLInputElement || n instanceof HTMLTextAreaElement) return;- let i = r || sD.get(t.current);+ if (!t.current || n instanceof Node && !OS(n, t.current) || n instanceof HTMLInputElement || n instanceof HTMLTextAreaElement) return;+ let i = r || oD.get(t.current);i && i();}, !0), [n,@@ -26078,14 +26078,14 @@ function Tse(e) {]);}// node_modules/react-aria/dist/private/overlays/useOverlayTrigger.mjs-function Ese(e, t, n) {+function Dse(e, t, n) {let { type: r } = e, { isOpen: i } = t;(0, F.useEffect)(() => {- n && n.current && sD.set(n.current, t.close);+ n && n.current && oD.set(n.current, t.close);});let a;r === "menu" ? a = !0 : r === "listbox" && (a = "listbox");- let o = zC();+ let o = RC();return {triggerProps: {"aria-haspopup": a,@@ -26097,14 +26097,14 @@ function Ese(e, t, n) {};}// node_modules/react-aria/dist/private/menu/useMenuTrigger.mjs-function Dse(e) {+function Ose(e) {return e && e.__esModule ? e.default : e;}-function cD(e, t, n) {- let { type: r = "menu", isDisabled: i, trigger: a = "press" } = e, o = zC(), { triggerProps: s, overlayProps: c } = Ese({ type: r }, t, n), l = (e, n, r = "first") => {+function sD(e, t, n) {+ let { type: r = "menu", isDisabled: i, trigger: a = "press" } = e, o = RC(), { triggerProps: s, overlayProps: c } = Dse({ type: r }, t, n), l = (e, n, r = "first") => {if (!e || n.isDefaultPrevented()) return !1;t.toggle(r);- }, { keyboardProps: u } = YC({+ }, { keyboardProps: u } = JC({isDisabled: i,shortcuts: {Enter: (e) => l(a !== "longPress", e, "first"),@@ -26116,7 +26116,7 @@ function cD(e, t, n) {"Alt+ArrowDown": (e) => l(!0, e, "first"),"Alt+ArrowUp": (e) => l(!0, e, "last")}- }), d = Vw(Dse(aD), "@react-aria/menu"), { longPressProps: f } = oD({+ }), d = Bw(Ose(iD), "@react-aria/menu"), { longPressProps: f } = aD({isDisabled: i || a !== "longPress",accessibilityDescription: d.format("longPressMessage"),onLongPressStart() {@@ -26128,14 +26128,14 @@ function cD(e, t, n) {}), p = {preventFocusOnPress: !0,onPressStart(e) {- e.pointerType !== "touch" && e.pointerType !== "keyboard" && !i && (xS(e.target), t.open(e.pointerType === "virtual" ? "first" : null));+ e.pointerType !== "touch" && e.pointerType !== "keyboard" && !i && (bS(e.target), t.open(e.pointerType === "virtual" ? "first" : null));},onPress(e) {- e.pointerType === "touch" && !i && (xS(e.target), t.toggle());+ e.pointerType === "touch" && !i && (bS(e.target), t.toggle());}};delete s.onPress;- let { contextMenuProps: m } = wse({ onContextMenu(e) {+ let { contextMenuProps: m } = Tse({ onContextMenu(e) {let n = e.target.getBoundingClientRect();t.setPoint({x: n.x + e.x,@@ -26179,8 +26179,8 @@ function cD(e, t, n) {};}// node_modules/react-aria/dist/private/selection/useTypeSelect.mjs-var lD = 1e3;-function uD(e) {+var cD = 1e3;+function lD(e) {let { keyboardDelegate: t, selectionManager: n, onTypeSelect: r } = e, i = (0, F.useRef)({search: "",timeout: void 0@@ -26199,12 +26199,12 @@ function uD(e) {}clearTimeout(i.current.timeout), i.current.timeout = setTimeout(() => {i.current.search = "";- }, lD);+ }, cD);}} : void 0,onKeyDown: t.getKeyForSearch ? (e) => {- let a = Ose(e.key);- if (!(!a || e.ctrlKey || e.metaKey || e.altKey || !kS(e.currentTarget, G(e)) || i.current.search.length === 0 && a === " ")) {+ let a = kse(e.key);+ if (!(!a || e.ctrlKey || e.metaKey || e.altKey || !OS(e.currentTarget, G(e)) || i.current.search.length === 0 && a === " ")) {if (i.current.search += a, t.getKeyForSearch != null) {let a = t.getKeyForSearch(i.current.search, n.focusedKey);if (a ??= t.getKeyForSearch(i.current.search), a != null) n.setFocusedKey(a), r && r(a), e.preventDefault(), "continuePropagation" in e || e.stopPropagation();@@ -26215,32 +26215,32 @@ function uD(e) {}clearTimeout(i.current.timeout), i.current.timeout = setTimeout(() => {i.current.search = "";- }, lD);+ }, cD);}} : void 0} };}-function Ose(e) {+function kse(e) {return e.length === 1 || !/^[A-Z]/i.test(e) ? e : "";}// node_modules/react-aria/dist/private/utils/useUpdateLayoutEffect.mjs-function dD(e, t) {+function uD(e, t) {let n = (0, F.useRef)(!0), r = (0, F.useRef)(null);- RS(() => (n.current = !0, () => {+ LS(() => (n.current = !0, () => {n.current = !1;- }), []), RS(() => {+ }), []), LS(() => {n.current ? n.current = !1 : (!r.current || t.some((e, t) => !Object.is(e, r[t]))) && e(), r.current = t;}, t);}// node_modules/react-aria/dist/private/selection/useSelectableCollection.mjs-function fD(e) {- let { selectionManager: t, keyboardDelegate: n, ref: r, autoFocus: i = !1, shouldFocusWrap: a = !1, disallowEmptySelection: o = !1, disallowSelectAll: s = !1, escapeKeyBehavior: c = "clearSelection", selectOnFocus: l = t.selectionBehavior === "replace", disallowTypeAhead: u = !1, shouldUseVirtualFocus: d, allowsTabNavigation: f = !1, scrollRef: p = r, linkBehavior: m = "action", UNSTABLE_focusOnEntry: h } = e, { direction: g } = Fw(), _ = $S(), v = (e, n, i) => {+function dD(e) {+ let { selectionManager: t, keyboardDelegate: n, ref: r, autoFocus: i = !1, shouldFocusWrap: a = !1, disallowEmptySelection: o = !1, disallowSelectAll: s = !1, escapeKeyBehavior: c = "clearSelection", selectOnFocus: l = t.selectionBehavior === "replace", disallowTypeAhead: u = !1, shouldUseVirtualFocus: d, allowsTabNavigation: f = !1, scrollRef: p = r, linkBehavior: m = "action", UNSTABLE_focusOnEntry: h } = e, { direction: g } = Pw(), _ = QS(), v = (e, n, i) => {if (n != null) {- if (t.isLink(n) && m === "selection" && l && !bE(e)) {+ if (t.isLink(n) && m === "selection" && l && !yE(e)) {(0, Rt.flushSync)(() => {t.setFocusedKey(n, i);});- let a = xE(r, n), o = t.getItemProps(n);+ let a = bE(r, n), o = t.getItemProps(n);if (a) {_.open(a, e, o.href, o.routerOptions);return;@@ -26252,7 +26252,7 @@ function fD(e) {t.extendSelection(n);return;}- if (l && !bE(e)) {+ if (l && !yE(e)) {t.replaceSelection(n);return;}@@ -26279,9 +26279,9 @@ function fD(e) {}, x = (e) => {if (n.getFirstKey) {if (t.focusedKey === null && e.shiftKey) return !1;- let r = n.getFirstKey(t.focusedKey, Tw(e));+ let r = n.getFirstKey(t.focusedKey, ww(e));if (t.setFocusedKey(r), r != null) {- if (Tw(e) && e.shiftKey && t.selectionMode === "multiple") {+ if (ww(e) && e.shiftKey && t.selectionMode === "multiple") {t.extendSelection(r);return;}@@ -26313,9 +26313,9 @@ function fD(e) {}, w = (e) => {if (n.getLastKey) {if (t.focusedKey === null && e.shiftKey) return !1;- let r = n.getLastKey(t.focusedKey, Tw(e));+ let r = n.getLastKey(t.focusedKey, ww(e));if (t.setFocusedKey(r), r != null) {- if (Tw(e) && e.shiftKey && t.selectionMode === "multiple") {+ if (ww(e) && e.shiftKey && t.selectionMode === "multiple") {t.extendSelection(r);return;}@@ -26346,12 +26346,12 @@ function fD(e) {else return !1;}, k = () => {if (!f && r.current) {- let e = TT(r.current, { tabbable: !0 }), t, n;+ let e = wT(r.current, { tabbable: !0 }), t, n;don = e.lastChild(), n && (t = n);while (n);- let i = AS();- t && (!MS(t) || i && !IS(i)) && xS(t);+ let i = kS();+ t && (!jS(t) || i && !FS(i)) && bS(t);}return {shouldContinuePropagation: !0,@@ -26361,11 +26361,11 @@ function fD(e) {shouldContinuePropagation: !0,shouldPreventDefault: !1}), j = (e, t) => ({- [KS() ? e + "+Shift+Alt" : e + "+Shift+Control"]: t,+ [GS() ? e + "+Shift+Alt" : e + "+Shift+Control"]: t,[e + "+Shift"]: t,- [KS() ? e + "+Alt" : e + "+Control"]: t,+ [GS() ? e + "+Alt" : e + "+Control"]: t,[e]: t- }), { keyboardProps: M } = YC({+ }), { keyboardProps: M } = JC({shortcuts: {...j("ArrowDown", y),...j("ArrowUp", b),@@ -26375,7 +26375,7 @@ function fD(e) {...j("PageUp", E)},allowRepeats: !0- }), { keyboardProps: ee } = YC({ shortcuts: {+ }), { keyboardProps: ee } = JC({ shortcuts: {...j("Home", x),...j("End", w),"Mod+A": D,@@ -26386,7 +26386,7 @@ function fD(e) {top: 0,left: 0});- Ow(p, "scroll", () => {+ Dw(p, "scroll", () => {N.current = {top: p.current?.scrollTop ?? 0,left: p.current?.scrollLeft ?? 0@@ -26394,11 +26394,11 @@ function fD(e) {});let te = (e) => {if (t.isFocused) {- kS(e.currentTarget, G(e)) || t.setFocused(!1);+ OS(e.currentTarget, G(e)) || t.setFocused(!1);return;}- if (!kS(e.currentTarget, G(e))) return;- let i = CC();+ if (!OS(e.currentTarget, G(e))) return;+ let i = SC();t.setFocused(!0);let a = (e) => {e != null && (t.setFocusedKey(e), l && !t.isSelected(e) && t.replaceSelection(e));@@ -26409,27 +26409,27 @@ function fD(e) {r && e.currentTarget.compareDocumentPosition(r) & Node.DOCUMENT_POSITION_FOLLOWING ? a(t.lastSelectedKey ?? n.getLastKey?.()) : a(t.firstSelectedKey ?? n.getFirstKey?.());} else p.current && (p.current.scrollTop = N.current.top, p.current.scrollLeft = N.current.left);if (t.focusedKey != null && p.current) {- let e = xE(r, t.focusedKey);- e instanceof HTMLElement && (!MS(e) && !d && xS(e), (i === "keyboard" || h && i === "virtual") && IT(e, { containingElement: r.current }));+ let e = bE(r, t.focusedKey);+ e instanceof HTMLElement && (!jS(e) && !d && bS(e), (i === "keyboard" || h && i === "virtual") && FT(e, { containingElement: r.current }));}}, P = (e) => {- kS(e.currentTarget, e.relatedTarget) || t.setFocused(!1);+ OS(e.currentTarget, e.relatedTarget) || t.setFocused(!1);}, ne = (0, F.useRef)(!1);- Ow(r, foe, d ? (e) => {+ Dw(r, poe, d ? (e) => {let { detail: n } = e;e.stopPropagation(), t.setFocused(!0), n?.focusStrategy === "first" && (ne.current = !0);} : void 0);let re = n.getFirstKey?.() ?? null;- dD(() => {+ uD(() => {if (ne.current) {if (re == null) {- let e = AS();- mw(r.current), hw(e, null), t.collection.size > 0 && (ne.current = !1);+ let e = kS();+ pw(r.current), mw(e, null), t.collection.size > 0 && (ne.current = !1);} else t.setFocusedKey(re), ne.current = !1;}- }, [re, t.collection.size]), dD(() => {+ }, [re, t.collection.size]), uD(() => {t.collection.size > 0 && (ne.current = !1);- }, [t.focusedKey]), Ow(r, doe, d ? (e) => {+ }, [t.focusedKey]), Dw(r, foe, d ? (e) => {e.stopPropagation(), t.setFocused(!1), e.detail?.clearFocusKey && t.setFocusedKey(null);} : void 0);let I = (0, F.useRef)(i), ie = (0, F.useRef)(!1);@@ -26444,22 +26444,22 @@ function fD(e) {break;}}- t.setFocused(!0), t.setFocusedKey(e), e != null && l && !a.size && t.canSelectItem(e) && t.replaceSelection(e), e == null && !d && r.current && PC(r.current), t.collection.size > 0 && (I.current = !1, ie.current = !0);+ t.setFocused(!0), t.setFocusedKey(e), e != null && l && !a.size && t.canSelectItem(e) && t.replaceSelection(e), e == null && !d && r.current && NC(r.current), t.collection.size > 0 && (I.current = !1, ie.current = !0);}});let ae = (0, F.useRef)(t.focusedKey), oe = (0, F.useRef)(null);(0, F.useEffect)(() => {if (t.isFocused && t.focusedKey != null && (t.focusedKey !== ae.current || ie.current) && p.current && r.current) {- let e = CC(), n = xE(r, t.focusedKey);+ let e = SC(), n = bE(r, t.focusedKey);if (!(n instanceof HTMLElement)) return;(e === "keyboard" || ie.current) && (oe.current && cancelAnimationFrame(oe.current), oe.current = requestAnimationFrame(() => {- p.current && (FT(p.current, n), e !== "virtual" && IT(n, { containingElement: r.current }));+ p.current && (PT(p.current, n), e !== "virtual" && FT(n, { containingElement: r.current }));}));}- !d && t.isFocused && t.focusedKey == null && ae.current != null && r.current && PC(r.current), ae.current = t.focusedKey, ie.current = !1;+ !d && t.isFocused && t.focusedKey == null && ae.current != null && r.current && NC(r.current), ae.current = t.focusedKey, ie.current = !1;}), (0, F.useEffect)(() => () => {oe.current && cancelAnimationFrame(oe.current);- }, []), Ow(r, "react-aria-focus-scope-restore", (e) => {+ }, []), Dw(r, "react-aria-focus-scope-restore", (e) => {e.preventDefault(), t.setFocused(!0);});let se = {@@ -26469,27 +26469,27 @@ function fD(e) {onMouseDown(e) {p.current === G(e) && e.preventDefault();}- }, { typeSelectProps: ce } = uD({+ }, { typeSelectProps: ce } = lD({keyboardDelegate: n,selectionManager: t});u || (se = K(ce, se));let le;d || (le = t.focusedKey == null ? 0 : -1);- let ue = xse(t.collection);+ let ue = Sse(t.collection);return { collectionProps: K(se, {tabIndex: le,"data-collection": ue}) };}// node_modules/react-stately/dist/private/collections/getChildNodes.mjs-function pD(e, t) {+function fD(e, t) {return typeof t.getChildren == "function" ? t.getChildren(e.key) : e.childNodes;}-function mD(e) {- return hD(e, 0);+function pD(e) {+ return mD(e, 0);}-function hD(e, t) {+function mD(e, t) {if (t < 0) return;let n = 0;for (let r of e) {@@ -26497,106 +26497,106 @@ function hD(e, t) {n++;}}-function gD(e) {+function hD(e) {let t;for (let n of e) t = n;return t;}-function _D(e, t, n) {+function gD(e, t, n) {if (t.parentKey === n.parentKey) return t.index - n.index;- let r = [...vD(e, t), t], i = [...vD(e, n), n], a = r.slice(0, i.length).findIndex((e, t) => e !== i[t]);+ let r = [..._D(e, t), t], i = [..._D(e, n), n], a = r.slice(0, i.length).findIndex((e, t) => e !== i[t]);return a === -1 ? r.findIndex((e) => e === n) >= 0 ? 1 : (i.findIndex((e) => e === t), -1) : (t = r[a], n = i[a], t.index - n.index);}-function vD(e, t) {+function _D(e, t) {let n = [], r = t;for (; r?.parentKey != null;) r = e.getItem(r.parentKey), r && n.unshift(r);return n;}// node_modules/react-stately/dist/private/collections/getItemCount.mjs-var yD = /* @__PURE__ */ new WeakMap();-function bD(e) {- let t = yD.get(e);+var vD = /* @__PURE__ */ new WeakMap();+function yD(e) {+ let t = vD.get(e);if (t != null) return t;let n = 0, r = (t) => {- for (let i of t) i.type === "section" ? r(pD(i, e)) : i.type === "item" && n++;+ for (let i of t) i.type === "section" ? r(fD(i, e)) : i.type === "item" && n++;};- return r(e), yD.set(e, n), n;+ return r(e), vD.set(e, n), n;}// node_modules/react-aria/dist/private/i18n/useCollator.mjs-var xD = /* @__PURE__ */ new Map();-function SD(e) {- let { locale: t } = Fw(), n = t + (e ? Object.entries(e).sort((e, t) => e[0] < t[0] ? -1 : 1).join() : "");- if (xD.has(n)) return xD.get(n);+var bD = /* @__PURE__ */ new Map();+function xD(e) {+ let { locale: t } = Pw(), n = t + (e ? Object.entries(e).sort((e, t) => e[0] < t[0] ? -1 : 1).join() : "");+ if (bD.has(n)) return bD.get(n);let r = new Intl.Collator(t, e);- return xD.set(n, r), r;+ return bD.set(n, r), r;}// node_modules/react-aria/dist/private/interactions/PressResponder.mjs-var kse = /*#__PURE__*/ F.forwardRef(({ children: e, ...t }, n) => {- let r = (0, F.useRef)(!1), i = (0, F.useContext)(Zw), a = K(i || {}, {+var Ase = /*#__PURE__*/ F.forwardRef(({ children: e, ...t }, n) => {+ let r = (0, F.useRef)(!1), i = (0, F.useContext)(Xw), a = K(i || {}, {...t,register() {r.current = !0, i && i.register();}});- return a.ref = XC(n || i?.ref), ZC(i, a.ref), (0, F.useEffect)(() => {+ return a.ref = YC(n || i?.ref), XC(i, a.ref), (0, F.useEffect)(() => {r.current ||= !0;- }, []), /*#__PURE__*/ F.createElement(Zw.Provider, { value: a }, e);+ }, []), /*#__PURE__*/ F.createElement(Xw.Provider, { value: a }, e);});-function Ase({ children: e }) {+function jse({ children: e }) {let t = (0, F.useMemo)(() => ({ register: () => {} }), []);- return /*#__PURE__*/ F.createElement(Zw.Provider, { value: t }, e);+ return /*#__PURE__*/ F.createElement(Xw.Provider, { value: t }, e);}// node_modules/react-aria/dist/private/overlays/PortalProvider.mjs-var CD = /*#__PURE__*/ (0, F.createContext)({});-function wD(e) {- let { getContainer: t } = e, { getContainer: n } = TD();- return /*#__PURE__*/ F.createElement(CD.Provider, { value: { getContainer: t === null ? void 0 : t ?? n } }, e.children);+var SD = /*#__PURE__*/ (0, F.createContext)({});+function CD(e) {+ let { getContainer: t } = e, { getContainer: n } = wD();+ return /*#__PURE__*/ F.createElement(SD.Provider, { value: { getContainer: t === null ? void 0 : t ?? n } }, e.children);}-function TD() {- return (0, F.useContext)(CD) ?? {};+function wD() {+ return (0, F.useContext)(SD) ?? {};}// node_modules/react-aria/dist/private/overlays/Overlay.mjs-var ED = /*#__PURE__*/ F.createContext(null);-function DD(e) {- let t = sC(), { portalContainer: n = t ? null : document.body, isExiting: r } = e, [i, a] = (0, F.useState)(!1), o = (0, F.useMemo)(() => ({+var TD = /*#__PURE__*/ F.createContext(null);+function ED(e) {+ let t = oC(), { portalContainer: n = t ? null : document.body, isExiting: r } = e, [i, a] = (0, F.useState)(!1), o = (0, F.useMemo)(() => ({contain: i,setContain: a- }), [i, a]), { getContainer: s } = TD();+ }), [i, a]), { getContainer: s } = wD();if (!e.portalContainer && s && (n = s()), !n) return null;let c = e.children;- return e.disableFocusManagement || (c = /*#__PURE__*/ F.createElement(pT, {+ return e.disableFocusManagement || (c = /*#__PURE__*/ F.createElement(fT, {restoreFocus: !0,contain: (e.shouldContainFocus || i) && !r- }, c)), c = /*#__PURE__*/ F.createElement(ED.Provider, { value: o }, /*#__PURE__*/ F.createElement(Ase, null, /*#__PURE__*/ F.createElement(QC.Provider, { value: null }, c))), /*#__PURE__*/ Rt.createPortal(c, n);+ }, c)), c = /*#__PURE__*/ F.createElement(TD.Provider, { value: o }, /*#__PURE__*/ F.createElement(jse, null, /*#__PURE__*/ F.createElement(ZC.Provider, { value: null }, c))), /*#__PURE__*/ Rt.createPortal(c, n);}-function OD() {- let e = (0, F.useContext)(ED)?.setContain;- RS(() => {+function DD() {+ let e = (0, F.useContext)(TD)?.setContain;+ LS(() => {e?.(!0);}, [e]);}// node_modules/react-aria/dist/private/dialog/useDialog.mjs-function jse(e, t) {- let { role: n = "dialog", isEntering: r } = e, i = BC();+function Mse(e, t) {+ let { role: n = "dialog", isEntering: r } = e, i = zC();i = e["aria-label"] ? void 0 : i;- let a = BC();+ let a = zC();a = n === "alertdialog" && !e["aria-describedby"] ? a : void 0;let o = (0, F.useRef)(!1);(0, F.useEffect)(() => {- if (!r && t.current && !MS(t.current)) {- PC(t.current);+ if (!r && t.current && !jS(t.current)) {+ NC(t.current);let e = setTimeout(() => {- (AS() === t.current || AS() === document.body) && (o.current = !0, t.current && (t.current.blur(), PC(t.current)), o.current = !1);+ (kS() === t.current || kS() === document.body) && (o.current = !0, t.current && (t.current.blur(), NC(t.current)), o.current = !1);}, 500);return () => {clearTimeout(e);};}- }, [t, r]), OD(), (0, F.useRef)(!1), (0, F.useEffect)(() => {});+ }, [t, r]), DD(), (0, F.useRef)(!1), (0, F.useEffect)(() => {});let s = e["aria-describedby"] ?? a;return {dialogProps: {- ...Uw(e, { labelable: !0 }),+ ...Hw(e, { labelable: !0 }),role: n,tabIndex: -1,"aria-labelledby": e["aria-labelledby"] ?? i,@@ -26610,23 +26610,23 @@ function jse(e, t) {};}// node_modules/react-aria/dist/private/focus/useFocusRing.mjs-function kD(e = {}) {+function OD(e = {}) {let { autoFocus: t = !1, isTextInput: n, within: r } = e, i = (0, F.useRef)({isFocused: !1,- isFocusVisible: t || SC()+ isFocusVisible: t || xC()}), [a, o] = (0, F.useState)(!1), [s, c] = (0, F.useState)(() => i.current.isFocused && i.current.isFocusVisible), l = (0, F.useCallback)(() => c(i.current.isFocused && i.current.isFocusVisible), []), u = (0, F.useCallback)((e) => {- i.current.isFocused = e, i.current.isFocusVisible = SC(), o(e), l();+ i.current.isFocused = e, i.current.isFocusVisible = xC(), o(e), l();}, [l]);- DC((e) => {+ EC((e) => {i.current.isFocusVisible = e, l();}, [n, a], {enabled: a,isTextInput: n});- let { focusProps: d } = GC({+ let { focusProps: d } = WC({isDisabled: r,onFocusChange: u- }), { focusWithinProps: f } = eE({+ }), { focusWithinProps: f } = $T({isDisabled: !r,onFocusWithinChange: u});@@ -26637,41 +26637,41 @@ function kD(e = {}) {};}// node_modules/react-aria/dist/private/i18n/useListFormatter.mjs-function Mse(e = {}) {- let { locale: t } = Fw();+function Nse(e = {}) {+ let { locale: t } = Pw();return (0, F.useMemo)(() => new Intl.ListFormat(t, e), [t, e]);}// node_modules/react-aria/dist/private/interactions/useHover.mjs-var AD = !1, jD = 0;-function Nse() {- AD = !0, setTimeout(() => {- AD = !1;+var kD = !1, AD = 0;+function Pse() {+ kD = !0, setTimeout(() => {+ kD = !1;}, 500);}-function MD(e) {- e.pointerType === "touch" && Nse();+function jD(e) {+ e.pointerType === "touch" && Pse();}-function Pse() {- let e = SS(null);- if (e !== void 0) return jD === 0 && typeof PointerEvent < "u" && e.addEventListener("pointerup", MD), jD++, () => {- jD--, !(jD > 0) && typeof PointerEvent < "u" && e.removeEventListener("pointerup", MD);+function Fse() {+ let e = xS(null);+ if (e !== void 0) return AD === 0 && typeof PointerEvent < "u" && e.addEventListener("pointerup", jD), AD++, () => {+ AD--, !(AD > 0) && typeof PointerEvent < "u" && e.removeEventListener("pointerup", jD);};}-function ND(e) {+function MD(e) {let { onHoverStart: t, onHoverChange: n, onHoverEnd: r, isDisabled: i } = e, [a, o] = (0, F.useState)(!1), s = (0, F.useRef)({isHovered: !1,ignoreEmulatedMouseEvents: !1,pointerType: "",target: null}).current;- (0, F.useEffect)(Pse, []);- let { addGlobalListener: c, removeAllGlobalListeners: l } = Qw(), { hoverProps: u, triggerHoverEnd: d } = (0, F.useMemo)(() => {+ (0, F.useEffect)(Fse, []);+ let { addGlobalListener: c, removeAllGlobalListeners: l } = Zw(), { hoverProps: u, triggerHoverEnd: d } = (0, F.useMemo)(() => {let e = (e, r) => {- if (s.pointerType = r, i || r === "touch" || s.isHovered || !kS(e.currentTarget, G(e))) return;+ if (s.pointerType = r, i || r === "touch" || s.isHovered || !OS(e.currentTarget, G(e))) return;s.isHovered = !0;let l = e.currentTarget;- s.target = l, c(SS(G(e)), "pointerover", (e) => {- s.isHovered && s.target && !kS(s.target, G(e)) && a(e, e.pointerType);+ s.target = l, c(xS(G(e)), "pointerover", (e) => {+ s.isHovered && s.target && !OS(s.target, G(e)) && a(e, e.pointerType);}, { capture: !0 }), t && t({type: "hoverstart",target: l,@@ -26686,9 +26686,9 @@ function ND(e) {}), n && n(!1), o(!1));}, u = {};return typeof PointerEvent < "u" && (u.onPointerEnter = (t) => {- AD && t.pointerType === "mouse" || e(t, t.pointerType);+ kD && t.pointerType === "mouse" || e(t, t.pointerType);}, u.onPointerLeave = (e) => {- !i && kS(e.currentTarget, G(e)) && a(e, e.pointerType);+ !i && OS(e.currentTarget, G(e)) && a(e, e.pointerType);}), {hoverProps: u,triggerHoverEnd: a@@ -26710,22 +26710,22 @@ function ND(e) {};}// node_modules/react-aria/dist/private/interactions/useInteractOutside.mjs-function Fse(e) {+function Ise(e) {let { ref: t, onInteractOutside: n, isDisabled: r, onInteractOutsideStart: i } = e, a = (0, F.useRef)({isPointerDown: !1,ignoreEmulatedMouseEvents: !1- }), o = Dw((e) => {- n && PD(e, t) && (i && i(e), a.current.isPointerDown = !0);- }), s = Dw((e) => {+ }), o = Ew((e) => {+ n && ND(e, t) && (i && i(e), a.current.isPointerDown = !0);+ }), s = Ew((e) => {n && n(e);});(0, F.useEffect)(() => {let e = a.current;if (r) return;- let n = t.current, i = SS(n);+ let n = t.current, i = xS(n);if (typeof PointerEvent < "u") {let n = (n) => {- e.isPointerDown && PD(n, t) && s(n), e.isPointerDown = !1;+ e.isPointerDown && ND(n, t) && s(n), e.isPointerDown = !1;};return i.addEventListener("pointerdown", o, !0), i.addEventListener("click", n, !0), () => {i.removeEventListener("pointerdown", o, !0), i.removeEventListener("click", n, !0);@@ -26733,28 +26733,28 @@ function Fse(e) {}}, [t, r]);}-function PD(e, t) {+function ND(e, t) {if (e.button > 0) return !1;let n = G(e);if (n) {let e = n.ownerDocument;- if (!e || !kS(e.documentElement, n) || n.closest("[data-react-aria-top-layer]")) return !1;+ if (!e || !OS(e.documentElement, n) || n.closest("[data-react-aria-top-layer]")) return !1;}return t.current ? !e.composedPath().includes(t.current) : !1;}// node_modules/react-aria/dist/private/gridlist/utils.mjs-var FD = /* @__PURE__ */ new WeakMap();-function ID(e, t) {- let { id: n } = FD.get(e) ?? {};+var PD = /* @__PURE__ */ new WeakMap();+function FD(e, t) {+ let { id: n } = PD.get(e) ?? {};if (!n) throw Error("Unknown list");- return `${n}-${Ise(t)}`;+ return `${n}-${Lse(t)}`;}-function Ise(e) {+function Lse(e) {return typeof e == "string" ? e.replace(/\s*/g, "") : "" + e;}// node_modules/react-aria/dist/private/intl/grid/ar-AE.mjs-var LD = {};-LD = {+var ID = {};+ID = {deselectedItem: (e) => `${e.item} \u{63A}\u{64A}\u{631} \u{627}\u{644}\u{645}\u{62D}\u{62F}\u{62F}`,longPressToSelect: "اضغط مطولًا للدخول إلى وضع التحديد.",select: "تحديد",@@ -26767,8 +26767,8 @@ LD = {selectedItem: (e) => `${e.item} \u{627}\u{644}\u{645}\u{62D}\u{62F}\u{62F}`};// node_modules/react-aria/dist/private/intl/grid/bg-BG.mjs-var RD = {};-RD = {+var LD = {};+LD = {deselectedItem: (e) => `${e.item} \u{43D}\u{435} \u{435} \u{438}\u{437}\u{431}\u{440}\u{430}\u{43D}.`,longPressToSelect: "Натиснете и задръжте за да влезете в избирателен режим.",select: "Изберете",@@ -26781,8 +26781,8 @@ RD = {selectedItem: (e) => `${e.item} \u{438}\u{437}\u{431}\u{440}\u{430}\u{43D}.`};// node_modules/react-aria/dist/private/intl/grid/cs-CZ.mjs-var zD = {};-zD = {+var RD = {};+RD = {deselectedItem: (e) => `Polo\u{17E}ka ${e.item} nen\xed vybr\xe1na.`,longPressToSelect: "Dlouhým stisknutím přejdete do režimu výběru.",select: "Vybrat",@@ -26795,8 +26795,8 @@ zD = {selectedItem: (e) => `Vybr\xe1na polo\u{17E}ka ${e.item}.`};// node_modules/react-aria/dist/private/intl/grid/da-DK.mjs-var BD = {};-BD = {+var zD = {};+zD = {deselectedItem: (e) => `${e.item} ikke valgt.`,longPressToSelect: "Lav et langt tryk for at aktivere valgtilstand.",select: "Vælg",@@ -26809,8 +26809,8 @@ BD = {selectedItem: (e) => `${e.item} valgt.`};// node_modules/react-aria/dist/private/intl/grid/de-DE.mjs-var VD = {};-VD = {+var BD = {};+BD = {deselectedItem: (e) => `${e.item} nicht ausgew\xe4hlt.`,longPressToSelect: "Gedrückt halten, um Auswahlmodus zu öffnen.",select: "Auswählen",@@ -26823,8 +26823,8 @@ VD = {selectedItem: (e) => `${e.item} ausgew\xe4hlt.`};// node_modules/react-aria/dist/private/intl/grid/el-GR.mjs-var HD = {};-HD = {+var VD = {};+VD = {deselectedItem: (e) => `\u{394}\u{3B5}\u{3BD} \u{3B5}\u{3C0}\u{3B9}\u{3BB}\u{3AD}\u{3C7}\u{3B8}\u{3B7}\u{3BA}\u{3B5} \u{3C4}\u{3BF} \u{3C3}\u{3C4}\u{3BF}\u{3B9}\u{3C7}\u{3B5}\u{3AF}\u{3BF} ${e.item}.`,longPressToSelect: "Πατήστε παρατεταμένα για να μπείτε σε λειτουργία επιλογής.",select: "Επιλογή",@@ -26837,8 +26837,8 @@ HD = {selectedItem: (e) => `\u{395}\u{3C0}\u{3B9}\u{3BB}\u{3AD}\u{3C7}\u{3B8}\u{3B7}\u{3BA}\u{3B5} \u{3C4}\u{3BF} \u{3C3}\u{3C4}\u{3BF}\u{3B9}\u{3C7}\u{3B5}\u{3AF}\u{3BF} ${e.item}.`};// node_modules/react-aria/dist/private/intl/grid/en-US.mjs-var UD = {};-UD = {+var HD = {};+HD = {deselectedItem: (e) => `${e.item} not selected.`,select: "Select",selectedCount: (e, t) => `${t.plural(e.count, {@@ -26851,8 +26851,8 @@ UD = {longPressToSelect: "Long press to enter selection mode."};// node_modules/react-aria/dist/private/intl/grid/es-ES.mjs-var WD = {};-WD = {+var UD = {};+UD = {deselectedItem: (e) => `${e.item} no seleccionado.`,longPressToSelect: "Mantenga pulsado para abrir el modo de selección.",select: "Seleccionar",@@ -26865,8 +26865,8 @@ WD = {selectedItem: (e) => `${e.item} seleccionado.`};// node_modules/react-aria/dist/private/intl/grid/et-EE.mjs-var GD = {};-GD = {+var WD = {};+WD = {deselectedItem: (e) => `${e.item} pole valitud.`,longPressToSelect: "Valikurežiimi sisenemiseks vajutage pikalt.",select: "Vali",@@ -26879,8 +26879,8 @@ GD = {selectedItem: (e) => `${e.item} valitud.`};// node_modules/react-aria/dist/private/intl/grid/fi-FI.mjs-var KD = {};-KD = {+var GD = {};+GD = {deselectedItem: (e) => `Kohdetta ${e.item} ei valittu.`,longPressToSelect: "Siirry valintatilaan painamalla pitkään.",select: "Valitse",@@ -26893,8 +26893,8 @@ KD = {selectedItem: (e) => `${e.item} valittu.`};// node_modules/react-aria/dist/private/intl/grid/fr-FR.mjs-var qD = {};-qD = {+var KD = {};+KD = {deselectedItem: (e) => `${e.item} non s\xe9lectionn\xe9.`,longPressToSelect: "Appuyez de manière prolongée pour passer en mode de sélection.",select: "Sélectionner",@@ -26907,8 +26907,8 @@ qD = {selectedItem: (e) => `${e.item} s\xe9lectionn\xe9.`};// node_modules/react-aria/dist/private/intl/grid/he-IL.mjs-var JD = {};-JD = {+var qD = {};+qD = {deselectedItem: (e) => `${e.item} \u{5DC}\u{5D0} \u{5E0}\u{5D1}\u{5D7}\u{5E8}.`,longPressToSelect: "הקשה ארוכה לכניסה למצב בחירה.",select: "בחר",@@ -26921,8 +26921,8 @@ JD = {selectedItem: (e) => `${e.item} \u{5E0}\u{5D1}\u{5D7}\u{5E8}.`};// node_modules/react-aria/dist/private/intl/grid/hr-HR.mjs-var YD = {};-YD = {+var JD = {};+JD = {deselectedItem: (e) => `Stavka ${e.item} nije odabrana.`,longPressToSelect: "Dugo pritisnite za ulazak u način odabira.",select: "Odaberite",@@ -26935,8 +26935,8 @@ YD = {selectedItem: (e) => `Stavka ${e.item} je odabrana.`};// node_modules/react-aria/dist/private/intl/grid/hu-HU.mjs-var XD = {};-XD = {+var YD = {};+YD = {deselectedItem: (e) => `${e.item} nincs kijel\xf6lve.`,longPressToSelect: "Nyomja hosszan a kijelöléshez.",select: "Kijelölés",@@ -26949,8 +26949,8 @@ XD = {selectedItem: (e) => `${e.item} kijel\xf6lve.`};// node_modules/react-aria/dist/private/intl/grid/it-IT.mjs-var ZD = {};-ZD = {+var XD = {};+XD = {deselectedItem: (e) => `${e.item} non selezionato.`,longPressToSelect: "Premi a lungo per passare alla modalità di selezione.",select: "Seleziona",@@ -26963,8 +26963,8 @@ ZD = {selectedItem: (e) => `${e.item} selezionato.`};// node_modules/react-aria/dist/private/intl/grid/ja-JP.mjs-var QD = {};-QD = {+var ZD = {};+ZD = {deselectedItem: (e) => `${e.item} \u{304C}\u{9078}\u{629E}\u{3055}\u{308C}\u{3066}\u{3044}\u{307E}\u{305B}\u{3093}\u{3002}`,longPressToSelect: "長押しして選択モードを開きます。",select: "選択",@@ -26977,8 +26977,8 @@ QD = {selectedItem: (e) => `${e.item} \u{3092}\u{9078}\u{629E}\u{3057}\u{307E}\u{3057}\u{305F}\u{3002}`};// node_modules/react-aria/dist/private/intl/grid/ko-KR.mjs-var $D = {};-$D = {+var QD = {};+QD = {deselectedItem: (e) => `${e.item}\u{C774}(\u{AC00}) \u{C120}\u{D0DD}\u{B418}\u{C9C0} \u{C54A}\u{C558}\u{C2B5}\u{B2C8}\u{B2E4}.`,longPressToSelect: "선택 모드로 들어가려면 길게 누르십시오.",select: "선택",@@ -26991,8 +26991,8 @@ $D = {selectedItem: (e) => `${e.item}\u{C774}(\u{AC00}) \u{C120}\u{D0DD}\u{B418}\u{C5C8}\u{C2B5}\u{B2C8}\u{B2E4}.`};// node_modules/react-aria/dist/private/intl/grid/lt-LT.mjs-var eO = {};-eO = {+var $D = {};+$D = {deselectedItem: (e) => `${e.item} nepasirinkta.`,longPressToSelect: "Norėdami įjungti pasirinkimo režimą, paspauskite ir palaikykite.",select: "Pasirinkti",@@ -27005,8 +27005,8 @@ eO = {selectedItem: (e) => `Pasirinkta: ${e.item}.`};// node_modules/react-aria/dist/private/intl/grid/lv-LV.mjs-var tO = {};-tO = {+var eO = {};+eO = {deselectedItem: (e) => `Vienums ${e.item} nav atlas\u{12B}ts.`,longPressToSelect: "Ilgi turiet nospiestu. lai ieslēgtu atlases režīmu.",select: "Atlasīt",@@ -27019,8 +27019,8 @@ tO = {selectedItem: (e) => `Atlas\u{12B}ts vienums ${e.item}.`};// node_modules/react-aria/dist/private/intl/grid/nb-NO.mjs-var nO = {};-nO = {+var tO = {};+tO = {deselectedItem: (e) => `${e.item} er ikke valgt.`,longPressToSelect: "Bruk et langt trykk for å gå inn i valgmodus.",select: "Velg",@@ -27033,8 +27033,8 @@ nO = {selectedItem: (e) => `${e.item} er valgt.`};// node_modules/react-aria/dist/private/intl/grid/nl-NL.mjs-var rO = {};-rO = {+var nO = {};+nO = {deselectedItem: (e) => `${e.item} niet geselecteerd.`,longPressToSelect: "Druk lang om de selectiemodus te openen.",select: "Selecteren",@@ -27047,8 +27047,8 @@ rO = {selectedItem: (e) => `${e.item} geselecteerd.`};// node_modules/react-aria/dist/private/intl/grid/pl-PL.mjs-var iO = {};-iO = {+var rO = {};+rO = {deselectedItem: (e) => `Nie zaznaczono ${e.item}.`,longPressToSelect: "Naciśnij i przytrzymaj, aby wejść do trybu wyboru.",select: "Zaznacz",@@ -27061,8 +27061,8 @@ iO = {selectedItem: (e) => `Zaznaczono ${e.item}.`};// node_modules/react-aria/dist/private/intl/grid/pt-BR.mjs-var aO = {};-aO = {+var iO = {};+iO = {deselectedItem: (e) => `${e.item} n\xe3o selecionado.`,longPressToSelect: "Mantenha pressionado para entrar no modo de seleção.",select: "Selecionar",@@ -27075,8 +27075,8 @@ aO = {selectedItem: (e) => `${e.item} selecionado.`};// node_modules/react-aria/dist/private/intl/grid/pt-PT.mjs-var oO = {};-oO = {+var aO = {};+aO = {deselectedItem: (e) => `${e.item} n\xe3o selecionado.`,longPressToSelect: "Prima continuamente para entrar no modo de seleção.",select: "Selecionar",@@ -27089,8 +27089,8 @@ oO = {selectedItem: (e) => `${e.item} selecionado.`};// node_modules/react-aria/dist/private/intl/grid/ro-RO.mjs-var sO = {};-sO = {+var oO = {};+oO = {deselectedItem: (e) => `${e.item} neselectat.`,longPressToSelect: "Apăsați lung pentru a intra în modul de selectare.",select: "Selectare",@@ -27103,8 +27103,8 @@ sO = {selectedItem: (e) => `${e.item} selectat.`};// node_modules/react-aria/dist/private/intl/grid/ru-RU.mjs-var cO = {};-cO = {+var sO = {};+sO = {deselectedItem: (e) => `${e.item} \u{43D}\u{435} \u{432}\u{44B}\u{431}\u{440}\u{430}\u{43D}\u{43E}.`,longPressToSelect: "Нажмите и удерживайте для входа в режим выбора.",select: "Выбрать",@@ -27117,8 +27117,8 @@ cO = {selectedItem: (e) => `${e.item} \u{432}\u{44B}\u{431}\u{440}\u{430}\u{43D}\u{43E}.`};// node_modules/react-aria/dist/private/intl/grid/sk-SK.mjs-var lO = {};-lO = {+var cO = {};+cO = {deselectedItem: (e) => `Nevybrat\xe9 polo\u{17E}ky: ${e.item}.`,longPressToSelect: "Dlhším stlačením prejdite do režimu výberu.",select: "Vybrať",@@ -27131,8 +27131,8 @@ lO = {selectedItem: (e) => `Vybrat\xe9 polo\u{17E}ky: ${e.item}.`};// node_modules/react-aria/dist/private/intl/grid/sl-SI.mjs-var uO = {};-uO = {+var lO = {};+lO = {deselectedItem: (e) => `Element ${e.item} ni izbran.`,longPressToSelect: "Za izbirni način pritisnite in dlje časa držite.",select: "Izberite",@@ -27145,8 +27145,8 @@ uO = {selectedItem: (e) => `Element ${e.item} je izbran.`};// node_modules/react-aria/dist/private/intl/grid/sr-SP.mjs-var dO = {};-dO = {+var uO = {};+uO = {deselectedItem: (e) => `${e.item} nije izabrano.`,longPressToSelect: "Dugo pritisnite za ulazak u režim biranja.",select: "Izaberite",@@ -27159,8 +27159,8 @@ dO = {selectedItem: (e) => `${e.item} je izabrano.`};// node_modules/react-aria/dist/private/intl/grid/sv-SE.mjs-var fO = {};-fO = {+var dO = {};+dO = {deselectedItem: (e) => `${e.item} ej markerat.`,longPressToSelect: "Tryck länge när du vill öppna väljarläge.",select: "Markera",@@ -27173,8 +27173,8 @@ fO = {selectedItem: (e) => `${e.item} markerat.`};// node_modules/react-aria/dist/private/intl/grid/tr-TR.mjs-var pO = {};-pO = {+var fO = {};+fO = {deselectedItem: (e) => `${e.item} se\xe7ilmedi.`,longPressToSelect: "Seçim moduna girmek için uzun basın.",select: "Seç",@@ -27187,8 +27187,8 @@ pO = {selectedItem: (e) => `${e.item} se\xe7ildi.`};// node_modules/react-aria/dist/private/intl/grid/uk-UA.mjs-var mO = {};-mO = {+var pO = {};+pO = {deselectedItem: (e) => `${e.item} \u{43D}\u{435} \u{432}\u{438}\u{431}\u{440}\u{430}\u{43D}\u{43E}.`,longPressToSelect: "Виконайте довге натиснення, щоб перейти в режим вибору.",select: "Вибрати",@@ -27201,8 +27201,8 @@ mO = {selectedItem: (e) => `${e.item} \u{432}\u{438}\u{431}\u{440}\u{430}\u{43D}\u{43E}.`};// node_modules/react-aria/dist/private/intl/grid/zh-CN.mjs-var hO = {};-hO = {+var mO = {};+mO = {deselectedItem: (e) => `\u{672A}\u{9009}\u{62E9} ${e.item}\u{3002}`,longPressToSelect: "长按以进入选择模式。",select: "选择",@@ -27215,8 +27215,8 @@ hO = {selectedItem: (e) => `\u{5DF2}\u{9009}\u{62E9} ${e.item}\u{3002}`};// node_modules/react-aria/dist/private/intl/grid/zh-TW.mjs-var gO = {};-gO = {+var hO = {};+hO = {deselectedItem: (e) => `\u{672A}\u{9078}\u{53D6}\u{300C}${e.item}\u{300D}\u{3002}`,longPressToSelect: "長按以進入選擇模式。",select: "選取",@@ -27229,54 +27229,54 @@ gO = {selectedItem: (e) => `\u{5DF2}\u{9078}\u{53D6}\u{300C}${e.item}\u{300D}\u{3002}`};// node_modules/react-aria/dist/private/grid/intlStrings.mjs-var _O = {};-_O = {- "ar-AE": LD,- "bg-BG": RD,- "cs-CZ": zD,- "da-DK": BD,- "de-DE": VD,- "el-GR": HD,- "en-US": UD,- "es-ES": WD,- "et-EE": GD,- "fi-FI": KD,- "fr-FR": qD,- "he-IL": JD,- "hr-HR": YD,- "hu-HU": XD,- "it-IT": ZD,- "ja-JP": QD,- "ko-KR": $D,- "lt-LT": eO,- "lv-LV": tO,- "nb-NO": nO,- "nl-NL": rO,- "pl-PL": iO,- "pt-BR": aO,- "pt-PT": oO,- "ro-RO": sO,- "ru-RU": cO,- "sk-SK": lO,- "sl-SI": uO,- "sr-SP": dO,- "sv-SE": fO,- "tr-TR": pO,- "uk-UA": mO,- "zh-CN": hO,- "zh-TW": gO+var gO = {};+gO = {+ "ar-AE": ID,+ "bg-BG": LD,+ "cs-CZ": RD,+ "da-DK": zD,+ "de-DE": BD,+ "el-GR": VD,+ "en-US": HD,+ "es-ES": UD,+ "et-EE": WD,+ "fi-FI": GD,+ "fr-FR": KD,+ "he-IL": qD,+ "hr-HR": JD,+ "hu-HU": YD,+ "it-IT": XD,+ "ja-JP": ZD,+ "ko-KR": QD,+ "lt-LT": $D,+ "lv-LV": eO,+ "nb-NO": tO,+ "nl-NL": nO,+ "pl-PL": rO,+ "pt-BR": iO,+ "pt-PT": aO,+ "ro-RO": oO,+ "ru-RU": sO,+ "sk-SK": cO,+ "sl-SI": lO,+ "sr-SP": uO,+ "sv-SE": dO,+ "tr-TR": fO,+ "uk-UA": pO,+ "zh-CN": mO,+ "zh-TW": hO};// node_modules/react-aria/dist/private/grid/useGridSelectionAnnouncement.mjs-function Lse(e) {+function Rse(e) {return e && e.__esModule ? e.default : e;}-function vO(e, t) {- let { getRowText: n = (e) => t.collection.getTextValue?.(e) ?? t.collection.getItem(e)?.textValue } = e, r = Vw(Lse(_O), "@react-aria/grid"), i = t.selectionManager.rawSelection, a = (0, F.useRef)(i), o = (0, F.useCallback)(() => {+function _O(e, t) {+ let { getRowText: n = (e) => t.collection.getTextValue?.(e) ?? t.collection.getItem(e)?.textValue } = e, r = Bw(Rse(gO), "@react-aria/grid"), i = t.selectionManager.rawSelection, a = (0, F.useRef)(i), o = (0, F.useCallback)(() => {if (!t.selectionManager.isFocused || i === a.current) {a.current = i;return;}- let e = yO(i, a.current), o = yO(a.current, i), s = t.selectionManager.selectionBehavior === "replace", c = [];+ let e = vO(i, a.current), o = vO(a.current, i), s = t.selectionManager.selectionBehavior === "replace", c = [];if (t.selectionManager.selectedKeys.size === 1 && s) {let e = t.selectionManager.selectedKeys.keys().next().value;if (e != null && t.collection.getItem(e)) {@@ -27296,7 +27296,7 @@ function vO(e, t) {t && c.push(r.format("deselectedItem", { item: t }));}}- t.selectionManager.selectionMode === "multiple" && (c.length === 0 || i === "all" || i.size > 1 || a.current === "all" || a.current?.size > 1) && c.push(i === "all" ? r.format("selectedAll") : r.format("selectedCount", { count: i.size })), c.length > 0 && AT(c.join(" ")), a.current = i;+ t.selectionManager.selectionMode === "multiple" && (c.length === 0 || i === "all" || i.size > 1 || a.current === "all" || a.current?.size > 1) && c.push(i === "all" ? r.format("selectedAll") : r.format("selectedCount", { count: i.size })), c.length > 0 && kT(c.join(" ")), a.current = i;}, [i,t.selectionManager.selectedKeys,@@ -27307,7 +27307,7 @@ function vO(e, t) {n,r]);- jT(() => {+ AT(() => {if (t.selectionManager.isFocused) o();else {let e = requestAnimationFrame(o);@@ -27315,20 +27315,20 @@ function vO(e, t) {}}, [i, t.selectionManager.isFocused]);}-function yO(e, t) {+function vO(e, t) {let n = /* @__PURE__ */ new Set();if (e === "all" || t === "all") return n;for (let r of e.keys()) t.has(r) || n.add(r);return n;}// node_modules/react-aria/dist/private/focus/useHasTabbableChild.mjs-function bO(e, t) {+function yO(e, t) {let n = t?.isDisabled, [r, i] = (0, F.useState)(!1);- return RS(() => {+ return LS(() => {if (e?.current && !n) {let t = () => {if (e.current) {- let t = TT(e.current, { tabbable: !0 });+ let t = wT(e.current, { tabbable: !0 });i(!!t.nextNode());}};@@ -27346,12 +27346,12 @@ function bO(e, t) {}), !n && r;}// node_modules/react-aria/dist/private/grid/useHighlightSelectionDescription.mjs-function Rse(e) {+function zse(e) {return e && e.__esModule ? e.default : e;}-function xO(e) {- let t = Vw(Rse(_O), "@react-aria/grid"), n = TC(), r = (n === "pointer" || n === "virtual" || n == null) && typeof window < "u" && "ontouchstart" in window;- return RT((0, F.useMemo)(() => {+function bO(e) {+ let t = Bw(zse(gO), "@react-aria/grid"), n = wC(), r = (n === "pointer" || n === "virtual" || n == null) && typeof window < "u" && "ontouchstart" in window;+ return LT((0, F.useMemo)(() => {let n = e.selectionManager.selectionMode, i = e.selectionManager.selectionBehavior, a;return r && (a = t.format("longPressToSelect")), i === "replace" && n !== "none" && e.hasItemActions ? a : void 0;}, [@@ -27363,11 +27363,11 @@ function xO(e) {]));}// node_modules/react-aria/dist/private/selection/useSelectableList.mjs-function SO(e) {- let { selectionManager: t, collection: n, disabledKeys: r, ref: i, keyboardDelegate: a, layoutDelegate: o, orientation: s } = e, c = SD({+function xO(e) {+ let { selectionManager: t, collection: n, disabledKeys: r, ref: i, keyboardDelegate: a, layoutDelegate: o, orientation: s } = e, c = xD({usage: "search",sensitivity: "base"- }), l = t.disabledBehavior, u = (0, F.useMemo)(() => a || new wE({+ }), l = t.disabledBehavior, u = (0, F.useMemo)(() => a || new CE({collection: n,disabledKeys: r,disabledBehavior: l,@@ -27384,7 +27384,7 @@ function SO(e) {c,l,s- ]), { collectionProps: d } = fD({+ ]), { collectionProps: d } = dD({...e,ref: i,selectionManager: t,@@ -27393,10 +27393,10 @@ function SO(e) {return { listProps: d };}// node_modules/react-aria/dist/private/gridlist/useGridList.mjs-function zse(e, t, n) {+function Bse(e, t, n) {let { isVirtualized: r, keyboardDelegate: i, layoutDelegate: a, onAction: o, disallowTypeAhead: s, linkBehavior: c = "action", keyboardNavigationBehavior: l = "arrow", escapeKeyBehavior: u = "clearSelection", shouldSelectOnPressUp: d } = e;!e["aria-label"] && !e["aria-labelledby"] && console.warn("An aria-label or aria-labelledby prop is required for accessibility.");- let { listProps: f } = SO({+ let { listProps: f } = xO({selectionManager: t.selectionManager,collection: t.collection,disabledKeys: t.disabledKeys,@@ -27411,30 +27411,30 @@ function zse(e, t, n) {autoFocus: e.autoFocus,escapeKeyBehavior: u,UNSTABLE_focusOnEntry: e.UNSTABLE_focusOnEntry- }), p = zC(e.id);- FD.set(t, {+ }), p = RC(e.id);+ PD.set(t, {id: p,onAction: o,linkBehavior: c,keyboardNavigationBehavior: l,shouldSelectOnPressUp: d});- let m = xO({+ let m = bO({selectionManager: t.selectionManager,hasItemActions: !!o- }), h = bO(n, { isDisabled: t.collection.size !== 0 }), g = K(Uw(e, { labelable: !0 }), {+ }), h = yO(n, { isDisabled: t.collection.size !== 0 }), g = K(Hw(e, { labelable: !0 }), {role: "grid",id: p,"aria-multiselectable": t.selectionManager.selectionMode === "multiple" ? "true" : void 0}, t.collection.size === 0 ? { tabIndex: h ? -1 : 0 } : f, m);- return r && (g["aria-rowcount"] = t.collection.size, g["aria-colcount"] = 1), vO({}, t), { gridProps: g };+ return r && (g["aria-rowcount"] = t.collection.size, g["aria-colcount"] = 1), _O({}, t), { gridProps: g };}// node_modules/react-aria/dist/private/selection/useSelectableItem.mjs-function CO(e) {- let { id: t, selectionManager: n, key: r, ref: i, shouldSelectOnPressUp: a, shouldUseVirtualFocus: o, focus: s, isDisabled: c, onAction: l, allowsDifferentPressOrigin: u, linkBehavior: d = "action" } = e, f = $S();- t = zC(t);+function SO(e) {+ let { id: t, selectionManager: n, key: r, ref: i, shouldSelectOnPressUp: a, shouldUseVirtualFocus: o, focus: s, isDisabled: c, onAction: l, allowsDifferentPressOrigin: u, linkBehavior: d = "action" } = e, f = QS();+ t = RC(t);let p = (e) => {- if (e.pointerType === "keyboard" && bE(e)) n.toggleSelection(r);+ if (e.pointerType === "keyboard" && yE(e)) n.toggleSelection(r);else {if (n.selectionMode === "none") return;if (n.isLink(r)) {@@ -27445,11 +27445,11 @@ function CO(e) {}if (d === "override" || d === "none") return;}- n.selectionMode === "single" ? n.isSelected(r) && !n.disallowEmptySelection ? n.toggleSelection(r) : n.replaceSelection(r) : e && e.shiftKey ? n.extendSelection(r) : n.selectionBehavior === "toggle" || e && (Tw(e) || e.pointerType === "touch" || e.pointerType === "virtual") ? n.toggleSelection(r) : n.replaceSelection(r);+ n.selectionMode === "single" ? n.isSelected(r) && !n.disallowEmptySelection ? n.toggleSelection(r) : n.replaceSelection(r) : e && e.shiftKey ? n.extendSelection(r) : n.selectionBehavior === "toggle" || e && (ww(e) || e.pointerType === "touch" || e.pointerType === "virtual") ? n.toggleSelection(r) : n.replaceSelection(r);}};(0, F.useEffect)(() => {- r === n.focusedKey && n.isFocused && (o ? mw(i.current) : s ? s() : AS() !== i.current && i.current && PC(i.current));+ r === n.focusedKey && n.isFocused && (o ? pw(i.current) : s ? s() : kS() !== i.current && i.current && NC(i.current));}, [i,r,@@ -27477,22 +27477,22 @@ function CO(e) {l && (l(), i.current?.dispatchEvent(new CustomEvent("react-aria-item-action", { bubbles: !0 }))), _ && i.current && f.open(i.current, e, D.href, D.routerOptions);}, k = { ref: i };a ? (k.onPressStart = (e) => {- C.current = e.pointerType, T.current = w, e.pointerType === "keyboard" && (!S || TO(e.key)) && p(e);+ C.current = e.pointerType, T.current = w, e.pointerType === "keyboard" && (!S || wO(e.key)) && p(e);}, u ? (k.onPressUp = b ? void 0 : (e) => {e.pointerType === "mouse" && v && p(e);}, k.onPress = b ? O : (e) => {e.pointerType !== "keyboard" && e.pointerType !== "mouse" && v && p(e);}) : k.onPress = (e) => {if (b || x && e.pointerType !== "mouse") {- if (e.pointerType === "keyboard" && !wO(e.key)) return;+ if (e.pointerType === "keyboard" && !CO(e.key)) return;O(e);} else e.pointerType !== "keyboard" && v && p(e);}) : (k.onPressStart = (e) => {- C.current = e.pointerType, T.current = w, E.current = b, v && (e.pointerType === "mouse" && !b || e.pointerType === "keyboard" && (!y || TO(e.key))) && p(e);+ C.current = e.pointerType, T.current = w, E.current = b, v && (e.pointerType === "mouse" && !b || e.pointerType === "keyboard" && (!y || wO(e.key))) && p(e);}, k.onPress = (e) => {- (e.pointerType === "touch" || e.pointerType === "pen" || e.pointerType === "virtual" || e.pointerType === "keyboard" && S && wO(e.key) || e.pointerType === "mouse" && E.current) && (S ? O(e) : v && p(e));+ (e.pointerType === "touch" || e.pointerType === "pen" || e.pointerType === "virtual" || e.pointerType === "keyboard" && S && CO(e.key) || e.pointerType === "mouse" && E.current) && (S ? O(e) : v && p(e));});- let A = Sse(n.collection);+ let A = Cse(n.collection);if (m["data-collection"] = A, m["data-key"] = r, k.preventFocusOnPress = o, o && (k = K(k, {onPressStart(e) {e.pointerType !== "touch" && (n.setFocused(!0), n.setFocusedKey(r));@@ -27507,10 +27507,10 @@ function CO(e) {"onPress","onPressUp","onClick"- ]) D[e] && (k[e] = FC(k[e], D[e]));- let { pressProps: j, isPressed: M } = rT(k), ee = x ? (e) => {+ ]) D[e] && (k[e] = PC(k[e], D[e]));+ let { pressProps: j, isPressed: M } = nT(k), ee = x ? (e) => {C.current === "mouse" && (e.stopPropagation(), e.preventDefault(), O(e));- } : void 0, { longPressProps: N } = oD({+ } : void 0, { longPressProps: N } = aD({isDisabled: !w,onLongPress(e) {e.pointerType === "touch" && (p(e), n.setSelectionBehavior("toggle"));@@ -27518,7 +27518,7 @@ function CO(e) {}), te = (e) => {C.current === "touch" && T.current && e.preventDefault();}, P = d !== "none" && n.isLink(r) ? (e) => {- eC.isOpening || e.preventDefault();+ $S.isOpening || e.preventDefault();} : void 0, ne = K(m, v || b || o && !c ? j : {}, w ? N : {}, {onDoubleClick: ee,onDragStartCapture: te,@@ -27531,7 +27531,7 @@ function CO(e) {if (e != null) return e !== A;t = t.parentElement;}- return IS(e);+ return FS(e);}, I = ne.onPointerDown;ne.onPointerDown = (e) => {let t = G(e);@@ -27551,14 +27551,14 @@ function CO(e) {hasAction: S};}-function wO(e) {+function CO(e) {return e === "Enter";}-function TO(e) {+function wO(e) {return e === " ";}// node_modules/react-aria/dist/private/gridlist/useGridListItem.mjs-var EO = {+var TO = {expand: {ltr: "ArrowRight",rtl: "ArrowLeft"@@ -27568,18 +27568,18 @@ var EO = {rtl: "ArrowRight"}};-function Bse(e, t, n) {- let { node: r, isVirtualized: i, focusMode: a = "row", allowsArrowNavigation: o } = e, { direction: s } = Fw(), { onAction: c, linkBehavior: l, keyboardNavigationBehavior: u, shouldSelectOnPressUp: d } = FD.get(t), f = BC(), p = (0, F.useRef)(null), m = () => {+function Vse(e, t, n) {+ let { node: r, isVirtualized: i, focusMode: a = "row", allowsArrowNavigation: o } = e, { direction: s } = Pw(), { onAction: c, linkBehavior: l, keyboardNavigationBehavior: u, shouldSelectOnPressUp: d } = PD.get(t), f = zC(), p = (0, F.useRef)(null), m = () => {if (n.current !== null) {if (a === "child") {- if (MS(n.current) && n.current !== AS(SS(n.current))) return;- let e = TT(n.current, { tabbable: !0 }).firstChild();+ if (jS(n.current) && n.current !== kS(xS(n.current))) return;+ let e = wT(n.current, { tabbable: !0 }).firstChild();if (e) {- PC(e), IT(e, { containingElement: NT(e) });+ NC(e), FT(e, { containingElement: MT(e) });return;}}- (p.current != null && r.key !== p.current || !MS(n.current)) && PC(n.current);+ (p.current != null && r.key !== p.current || !jS(n.current)) && NC(n.current);}}, h = {}, g = e.hasChildItems, _ = t.selectionManager.isLink(r.key);if (r != null && "expandedKeys" in t) {@@ -27589,7 +27589,7 @@ function Bse(e, t, n) {if (r.level >= 0 && r?.parentKey != null) {let e = t.collection.getItem(r.parentKey);if (e) {- let n = Vse(e, t.collection);+ let n = Hse(e, t.collection);i = [...n].filter((e) => e.type === "item").length, a > 0 && n[0].type !== "item" && --a;}} else i = [...t.collection].filter((e) => e.level === 0 && e.type === "item").length;@@ -27600,75 +27600,75 @@ function Bse(e, t, n) {"aria-setsize": i};}- let { itemProps: v, ...y } = CO({+ let { itemProps: v, ...y } = SO({selectionManager: t.selectionManager,key: r.key,ref: n,isVirtualized: i,shouldSelectOnPressUp: e.shouldSelectOnPressUp || d,- onAction: c || r.props?.onAction ? FC(r.props?.onAction, c ? () => c(r.key) : void 0) : void 0,+ onAction: c || r.props?.onAction ? PC(r.props?.onAction, c ? () => c(r.key) : void 0) : void 0,focus: m,linkBehavior: l}), b = (e) => {- let i = AS(SS(n.current));- if (!kS(e.currentTarget, G(e)) || !n.current || !i) return;- let a = TT(n.current);- if (a.currentNode = i, !DO(e, t, r, g, s, i, n.current, o)) switch (e.key) {+ let i = kS(xS(n.current));+ if (!OS(e.currentTarget, G(e)) || !n.current || !i) return;+ let a = wT(n.current);+ if (a.currentNode = i, !EO(e, t, r, g, s, i, n.current, o)) switch (e.key) {case "ArrowLeft":if (u === "arrow") {let t = s === "rtl" ? a.nextNode() : a.previousNode();- if (t) e.preventDefault(), e.stopPropagation(), PC(t), IT(t, { containingElement: NT(n.current) });- else if (e.preventDefault(), e.stopPropagation(), s === "rtl") PC(n.current), IT(n.current, { containingElement: NT(n.current) });+ if (t) e.preventDefault(), e.stopPropagation(), NC(t), FT(t, { containingElement: MT(n.current) });+ else if (e.preventDefault(), e.stopPropagation(), s === "rtl") NC(n.current), FT(n.current, { containingElement: MT(n.current) });else {a.currentNode = n.current;- let e = OO(a);- e && (PC(e), IT(e, { containingElement: NT(n.current) }));+ let e = DO(a);+ e && (NC(e), FT(e, { containingElement: MT(n.current) }));}}break;case "ArrowRight":if (u === "arrow") {let t = s === "rtl" ? a.previousNode() : a.nextNode();- if (t) e.preventDefault(), e.stopPropagation(), PC(t), IT(t, { containingElement: NT(n.current) });- else if (e.preventDefault(), e.stopPropagation(), s === "ltr") PC(n.current), IT(n.current, { containingElement: NT(n.current) });+ if (t) e.preventDefault(), e.stopPropagation(), NC(t), FT(t, { containingElement: MT(n.current) });+ else if (e.preventDefault(), e.stopPropagation(), s === "ltr") NC(n.current), FT(n.current, { containingElement: MT(n.current) });else {a.currentNode = n.current;- let e = OO(a);- e && (PC(e), IT(e, { containingElement: NT(n.current) }));+ let e = DO(a);+ e && (NC(e), FT(e, { containingElement: MT(n.current) }));}}break;case "ArrowUp":- case "ArrowDown": !e.altKey && kS(n.current, G(e)) && (e.stopPropagation(), e.preventDefault(), n.current.parentElement?.dispatchEvent(new KeyboardEvent(e.nativeEvent.type, e.nativeEvent)));+ case "ArrowDown": !e.altKey && OS(n.current, G(e)) && (e.stopPropagation(), e.preventDefault(), n.current.parentElement?.dispatchEvent(new KeyboardEvent(e.nativeEvent.type, e.nativeEvent)));}}, x = (e) => {- p.current = r.key, G(e) === n.current ? a === "child" && e.relatedTarget && kS(n.current, e.relatedTarget) || requestAnimationFrame(() => {- a === "child" && AS(SS(n.current)) === n.current && m();- }) : SC() || t.selectionManager.setFocusedKey(r.key);+ p.current = r.key, G(e) === n.current ? a === "child" && e.relatedTarget && OS(n.current, e.relatedTarget) || requestAnimationFrame(() => {+ a === "child" && kS(xS(n.current)) === n.current && m();+ }) : xC() || t.selectionManager.setFocusedKey(r.key);}, S = (e) => {- let i = AS(SS(n.current));- if (kS(e.currentTarget, G(e)) && n.current && i) {+ let i = kS(xS(n.current));+ if (OS(e.currentTarget, G(e)) && n.current && i) {if (u === "tab") {if (G(e) !== n.current && e.key !== "Tab") {e.stopPropagation();return;}- if (DO(e, t, r, g, s, i, n.current, o)) return;+ if (EO(e, t, r, g, s, i, n.current, o)) return;}if (e.key === "Tab" && u === "tab") {- let t = TT(n.current, { tabbable: !0 });+ let t = wT(n.current, { tabbable: !0 });t.currentNode = i, (e.shiftKey ? t.previousNode() : t.nextNode()) && e.stopPropagation();}}- }, C = tC(r.props), w = K(v, y.hasAction ? C : {}, {+ }, C = eC(r.props), w = K(v, y.hasAction ? C : {}, {role: "row",onKeyDownCapture: u === "arrow" || o ? b : void 0,onFocus: x,"aria-label": r["aria-label"] || r.textValue || void 0,"aria-selected": t.selectionManager.canSelectItem(r.key) ? t.selectionManager.isSelected(r.key) : void 0,"aria-disabled": t.selectionManager.isDisabled(r.key) || void 0,- "aria-labelledby": f && (r["aria-label"] || r.textValue) ? `${ID(t, r.key)} ${f}` : void 0,- id: ID(t, r.key)+ "aria-labelledby": f && (r["aria-label"] || r.textValue) ? `${FD(t, r.key)} ${f}` : void 0,+ id: FD(t, r.key)});a === "child" && o && u === "tab" && (w.tabIndex = -1);let T = w.onKeyDown;@@ -27689,66 +27689,66 @@ function Bse(e, t, n) {...y};}-function DO(e, t, n, r, i, a, o, s) {+function EO(e, t, n, r, i, a, o, s) {if (!("expandedKeys" in t) || !s && a !== o) return !1;- if (e.key === EO.expand[i] && t.selectionManager.focusedKey === n.key && r && !t.expandedKeys.has(n.key)) return t.toggleKey(n.key), e.stopPropagation(), !0;- if (e.key === EO.collapse[i] && t.selectionManager.focusedKey === n.key) {+ if (e.key === TO.expand[i] && t.selectionManager.focusedKey === n.key && r && !t.expandedKeys.has(n.key)) return t.toggleKey(n.key), e.stopPropagation(), !0;+ if (e.key === TO.collapse[i] && t.selectionManager.focusedKey === n.key) {if (r && t.expandedKeys.has(n.key)) return t.toggleKey(n.key), e.stopPropagation(), !0;if (!t.expandedKeys.has(n.key) && n.parentKey && t.collection.getItem(n.parentKey)?.type === "item") return t.selectionManager.setFocusedKey(n.parentKey), e.stopPropagation(), !0;}return !1;}-function OO(e) {+function DO(e) {let t = null, n = null;don = e.lastChild(), n && (t = n);while (n);return t;}-function Vse(e, t) {+function Hse(e, t) {let n = t.getChildren?.(e.key), r = n ? Array.from(n) : [], i = r.length > 0 ? r[0] : null, a = [];for (; i;) a.push(i), i = i.nextKey == null ? null : t.getItem(i.nextKey);return a;}// node_modules/react-aria/dist/private/grid/useGridSelectionCheckbox.mjs-function Hse(e) {+function Use(e) {return e && e.__esModule ? e.default : e;}-function kO(e, t) {- let { key: n } = e, r = t.selectionManager, i = zC(), a = !t.selectionManager.canSelectItem(n), o = t.selectionManager.isSelected(n);+function OO(e, t) {+ let { key: n } = e, r = t.selectionManager, i = RC(), a = !t.selectionManager.canSelectItem(n), o = t.selectionManager.isSelected(n);return { checkboxProps: {id: i,- "aria-label": Vw(Hse(_O), "@react-aria/grid").format("select"),+ "aria-label": Bw(Use(gO), "@react-aria/grid").format("select"),isSelected: o,isDisabled: a,onChange: () => r.toggleSelection(n)} };}// node_modules/react-aria/dist/private/gridlist/useGridListSelectionCheckbox.mjs-function Use(e, t) {- let { key: n } = e, { checkboxProps: r } = kO(e, t);+function Wse(e, t) {+ let { key: n } = e, { checkboxProps: r } = OO(e, t);return { checkboxProps: {...r,- "aria-labelledby": `${r.id} ${ID(t, n)}`+ "aria-labelledby": `${r.id} ${FD(t, n)}`} };}// node_modules/react-aria/dist/private/listbox/useListBox.mjs-function Wse(e, t, n) {- let r = Uw(e, { labelable: !0 }), i = e.selectionBehavior || "toggle", a = e.orientation || "vertical", o = e.linkBehavior || (i === "replace" ? "action" : "override");+function Gse(e, t, n) {+ let r = Hw(e, { labelable: !0 }), i = e.selectionBehavior || "toggle", a = e.orientation || "vertical", o = e.linkBehavior || (i === "replace" ? "action" : "override");i === "toggle" && o === "action" && (o = "override");- let { listProps: s } = SO({+ let { listProps: s } = xO({...e,ref: n,selectionManager: t.selectionManager,collection: t.collection,disabledKeys: t.disabledKeys,linkBehavior: o- }), { focusWithinProps: c } = eE({+ }), { focusWithinProps: c } = $T({onFocusWithin: e.onFocus,onBlurWithin: e.onBlur,onFocusWithinChange: e.onFocusChange- }), l = zC(e.id);- yE.set(t, {+ }), l = RC(e.id);+ vE.set(t, {id: l,shouldUseVirtualFocus: e.shouldUseVirtualFocus,shouldSelectOnPressUp: e.shouldSelectOnPressUp,@@ -27758,7 +27758,7 @@ function Wse(e, t, n) {linkBehavior: o,UNSTABLE_itemBehavior: e.UNSTABLE_itemBehavior});- let { labelProps: u, fieldProps: d } = QT({+ let { labelProps: u, fieldProps: d } = ZT({...e,id: l,labelElementType: "span"@@ -27773,8 +27773,8 @@ function Wse(e, t, n) {};}// node_modules/react-aria/dist/private/listbox/useListBoxSection.mjs-function Gse(e) {- let { heading: t, "aria-label": n } = e, r = zC();+function Kse(e) {+ let { heading: t, "aria-label": n } = e, r = RC();return {itemProps: { role: "presentation" },headingProps: t ? {@@ -27792,8 +27792,8 @@ function Gse(e) {};}// node_modules/react-aria/dist/private/listbox/useOption.mjs-function Kse(e, t, n) {- let { key: r } = e, i = yE.get(t), a = e.isDisabled ?? t.selectionManager.isDisabled(r), o = e.isSelected ?? t.selectionManager.isSelected(r), s = e.shouldSelectOnPressUp ?? i?.shouldSelectOnPressUp, c = e.shouldFocusOnHover ?? i?.shouldFocusOnHover, l = e.shouldUseVirtualFocus ?? i?.shouldUseVirtualFocus, u = e.isVirtualized ?? i?.isVirtualized, d = BC(), f = BC(), p = {+function qse(e, t, n) {+ let { key: r } = e, i = vE.get(t), a = e.isDisabled ?? t.selectionManager.isDisabled(r), o = e.isSelected ?? t.selectionManager.isSelected(r), s = e.shouldSelectOnPressUp ?? i?.shouldSelectOnPressUp, c = e.shouldFocusOnHover ?? i?.shouldFocusOnHover, l = e.shouldUseVirtualFocus ?? i?.shouldUseVirtualFocus, u = e.isVirtualized ?? i?.isVirtualized, d = zC(), f = zC(), p = {role: "option","aria-disabled": a || void 0,"aria-selected": t.selectionManager.selectionMode === "none" ? void 0 : o,@@ -27803,9 +27803,9 @@ function Kse(e, t, n) {}, m = t.collection.getItem(r);if (u) {let e = Number(m?.index);- p["aria-posinset"] = Number.isNaN(e) ? void 0 : e + 1, p["aria-setsize"] = bD(t.collection);+ p["aria-posinset"] = Number.isNaN(e) ? void 0 : e + 1, p["aria-setsize"] = yD(t.collection);}- let h = i?.onAction ? () => i?.onAction?.(r) : void 0, g = bse(t, r), { itemProps: _, isPressed: v, isFocused: y, hasAction: b, allowsSelection: x } = CO({+ let h = i?.onAction ? () => i?.onAction?.(r) : void 0, g = xse(t, r), { itemProps: _, isPressed: v, isFocused: y, hasAction: b, allowsSelection: x } = SO({selectionManager: t.selectionManager,key: r,ref: n,@@ -27814,18 +27814,18 @@ function Kse(e, t, n) {isVirtualized: u,shouldUseVirtualFocus: l,isDisabled: a,- onAction: h || m?.props?.onAction ? FC(m?.props?.onAction, h) : void 0,+ onAction: h || m?.props?.onAction ? PC(m?.props?.onAction, h) : void 0,linkBehavior: i?.linkBehavior,UNSTABLE_itemBehavior: i?.UNSTABLE_itemBehavior,id: g- }), { hoverProps: S } = ND({+ }), { hoverProps: S } = MD({isDisabled: a || !c,onHoverStart() {- SC() || (t.selectionManager.setFocused(!0), t.selectionManager.setFocusedKey(r));+ xC() || (t.selectionManager.setFocused(!0), t.selectionManager.setFocusedKey(r));}- }), C = Uw(m?.props);+ }), C = Hw(m?.props);delete C.id;- let w = nC(m?.props);+ let w = tC(m?.props);return {optionProps: {...p,@@ -27835,7 +27835,7 @@ function Kse(e, t, n) {labelProps: { id: d },descriptionProps: { id: f },isFocused: y,- isFocusVisible: y && t.selectionManager.isFocused && SC(),+ isFocusVisible: y && t.selectionManager.isFocused && xC(),isSelected: o,isDisabled: a,isPressed: v,@@ -27844,12 +27844,12 @@ function Kse(e, t, n) {};}// node_modules/react-aria/dist/private/menu/utils.mjs-var AO = /* @__PURE__ */ new WeakMap();+var kO = /* @__PURE__ */ new WeakMap();// node_modules/react-aria/dist/private/menu/useMenu.mjs-function qse(e, t, n) {+function Jse(e, t, n) {let { shouldFocusWrap: r = !0, onKeyDown: i, onKeyUp: a, ...o } = e;!e["aria-label"] && e["aria-labelledby"];- let s = Uw(e, { labelable: !0 }), { listProps: c } = SO({+ let s = Hw(e, { labelable: !0 }), { listProps: c } = xO({...o,ref: n,selectionManager: t.selectionManager,@@ -27858,7 +27858,7 @@ function qse(e, t, n) {shouldFocusWrap: r,linkBehavior: "override"});- return AO.set(t, {+ return kO.set(t, {onClose: e.onClose,onAction: e.onAction,shouldUseVirtualFocus: e.shouldUseVirtualFocus@@ -27874,15 +27874,15 @@ function qse(e, t, n) {}) };}// node_modules/react-aria/dist/private/menu/useMenuItem.mjs-function Jse(e, t, n) {- let { id: r, key: i, closeOnSelect: a, shouldCloseOnSelect: o, isVirtualized: s, "aria-haspopup": c, onPressStart: l, onPressUp: u, onPress: d, onPressChange: f, onPressEnd: p, onClick: m, onHoverStart: h, onHoverChange: g, onHoverEnd: _, onKeyDown: v, onKeyUp: y, onFocus: b, onFocusChange: x, onBlur: S, selectionManager: C = t.selectionManager } = e, w = !!c, T = w && e["aria-expanded"] === "true", E = e.isDisabled ?? C.isDisabled(i), D = e.isSelected ?? C.isSelected(i), O = AO.get(t), k = t.collection.getItem(i), A = e.onClose || O.onClose, j = $S(), M = () => {+function Yse(e, t, n) {+ let { id: r, key: i, closeOnSelect: a, shouldCloseOnSelect: o, isVirtualized: s, "aria-haspopup": c, onPressStart: l, onPressUp: u, onPress: d, onPressChange: f, onPressEnd: p, onClick: m, onHoverStart: h, onHoverChange: g, onHoverEnd: _, onKeyDown: v, onKeyUp: y, onFocus: b, onFocusChange: x, onBlur: S, selectionManager: C = t.selectionManager } = e, w = !!c, T = w && e["aria-expanded"] === "true", E = e.isDisabled ?? C.isDisabled(i), D = e.isSelected ?? C.isSelected(i), O = kO.get(t), k = t.collection.getItem(i), A = e.onClose || O.onClose, j = QS(), M = () => {if (!w && (k?.props?.onAction ? k.props.onAction() : e.onAction && e.onAction(i), O.onAction)) {let e = O.onAction;e(i, k?.value);}}, ee = "menuitem";w || (C.selectionMode === "single" ? ee = "menuitemradio" : C.selectionMode === "multiple" && (ee = "menuitemcheckbox"));- let N = BC(), te = BC(), P = BC(), ne = {+ let N = zC(), te = zC(), P = zC(), ne = {id: r,"aria-disabled": E || void 0,role: ee,@@ -27899,17 +27899,17 @@ function Jse(e, t, n) {};if (C.selectionMode !== "none" && !w && (ne["aria-checked"] = D), s) {let e = Number(k?.index);- ne["aria-posinset"] = Number.isNaN(e) ? void 0 : e + 1, ne["aria-setsize"] = bD(t.collection);+ ne["aria-posinset"] = Number.isNaN(e) ? void 0 : e + 1, ne["aria-setsize"] = yD(t.collection);}let re = (0, F.useRef)(!1), I = (e) => {f?.(e), re.current = e;}, ie = (0, F.useRef)(null), ae = (e) => {e.pointerType !== "keyboard" && (ie.current = { pointerType: e.pointerType }), e.pointerType === "mouse" && (re.current || e.target.click()), u?.(e);}, oe = (e) => {- m?.(e), M(), Dae(e, j, k.props.href, k?.props.routerOptions);+ m?.(e), M(), Oae(e, j, k.props.href, k?.props.routerOptions);let t = ie.current?.pointerType === "keyboard" ? ie.current?.key === "Enter" || C.selectionMode === "none" || C.isLink(i) : C.selectionMode !== "multiple" || C.isLink(i);t = o ?? a ?? t, A && !w && t && A(), ie.current = null;- }, { itemProps: se, isFocused: ce } = CO({+ }, { itemProps: se, isFocused: ce } = SO({id: r,selectionManager: C,key: i,@@ -27918,27 +27918,27 @@ function Jse(e, t, n) {allowsDifferentPressOrigin: !0,linkBehavior: "none",shouldUseVirtualFocus: O.shouldUseVirtualFocus- }), { pressProps: le, isPressed: ue } = rT({+ }), { pressProps: le, isPressed: ue } = nT({onPressStart: l,onPress: d,onPressUp: ae,onPressChange: I,onPressEnd: p,isDisabled: E- }), { hoverProps: de } = ND({+ }), { hoverProps: de } = MD({isDisabled: E,onHoverStart(e) {- !SC() && !(T && c) && (C.setFocused(!0), C.setFocusedKey(i)), h?.(e);+ !xC() && !(T && c) && (C.setFocused(!0), C.setFocusedKey(i)), h?.(e);},onHoverChange: g,onHoverEnd: _- }), { keyboardProps: fe } = YC({+ }), { keyboardProps: fe } = JC({shortcuts: {" ": (e) => {ie.current = {pointerType: "keyboard",key: " "- }, G(e).click(), wC("keyboard");+ }, G(e).click(), CC("keyboard");},Enter: (e) => {ie.current = {@@ -27946,8 +27946,8 @@ function Jse(e, t, n) {key: "Enter"};let t = G(e);- if (t.tagName !== "A") t.click(), wC("keyboard");- else return wC("keyboard"), {+ if (t.tagName !== "A") t.click(), CC("keyboard");+ else return CC("keyboard"), {shouldPreventDefault: !1,shouldContinuePropagation: !1};@@ -27955,13 +27955,13 @@ function Jse(e, t, n) {},onKeyDown: v,onKeyUp: y- }), { focusableProps: pe } = $C({+ }), { focusableProps: pe } = QC({onBlur: S,onFocus: b,onFocusChange: x- }, n), me = Uw(k?.props);+ }, n), me = Hw(k?.props);delete me.id;- let he = nC(k?.props);+ let he = tC(k?.props);return {menuItemProps: {...ne,@@ -27976,15 +27976,15 @@ function Jse(e, t, n) {descriptionProps: { id: te },keyboardShortcutProps: { id: P },isFocused: ce,- isFocusVisible: ce && C.isFocused && SC() && !T,+ isFocusVisible: ce && C.isFocused && xC() && !T,isSelected: D,isPressed: ue,isDisabled: E};}// node_modules/react-aria/dist/private/menu/useMenuSection.mjs-function Yse(e) {- let { heading: t, "aria-label": n } = e, r = zC();+function Xse(e) {+ let { heading: t, "aria-label": n } = e, r = RC();return {itemProps: { role: "presentation" },headingProps: t ? {@@ -27999,15 +27999,15 @@ function Yse(e) {};}// node_modules/react-aria/dist/private/utils/useResizeObserver.mjs-function Xse() {+function Zse() {return window.ResizeObserver !== void 0;}-function jO(e) {- let { ref: t, box: n, onResize: r } = e, i = Dw(r);+function AO(e) {+ let { ref: t, box: n, onResize: r } = e, i = Ew(r);(0, F.useEffect)(() => {let e = t?.current;if (e) {- if (Xse()) {+ if (Zse()) {let t = new window.ResizeObserver((e) => {e.length && i();});@@ -28022,154 +28022,154 @@ function jO(e) {}, [t, n]);}// node_modules/react-aria/dist/private/intl/overlays/ar-AE.mjs-var MO = {};-MO = { dismiss: "تجاهل" };+var jO = {};+jO = { dismiss: "تجاهل" };// node_modules/react-aria/dist/private/intl/overlays/bg-BG.mjs-var NO = {};-NO = { dismiss: "Отхвърляне" };+var MO = {};+MO = { dismiss: "Отхвърляне" };// node_modules/react-aria/dist/private/intl/overlays/cs-CZ.mjs-var PO = {};-PO = { dismiss: "Odstranit" };+var NO = {};+NO = { dismiss: "Odstranit" };// node_modules/react-aria/dist/private/intl/overlays/da-DK.mjs-var FO = {};-FO = { dismiss: "Luk" };+var PO = {};+PO = { dismiss: "Luk" };// node_modules/react-aria/dist/private/intl/overlays/de-DE.mjs-var IO = {};-IO = { dismiss: "Schließen" };+var FO = {};+FO = { dismiss: "Schließen" };// node_modules/react-aria/dist/private/intl/overlays/el-GR.mjs-var LO = {};-LO = { dismiss: "Απόρριψη" };+var IO = {};+IO = { dismiss: "Απόρριψη" };// node_modules/react-aria/dist/private/intl/overlays/en-US.mjs-var RO = {};-RO = { dismiss: "Dismiss" };+var LO = {};+LO = { dismiss: "Dismiss" };// node_modules/react-aria/dist/private/intl/overlays/es-ES.mjs-var zO = {};-zO = { dismiss: "Descartar" };+var RO = {};+RO = { dismiss: "Descartar" };// node_modules/react-aria/dist/private/intl/overlays/et-EE.mjs-var BO = {};-BO = { dismiss: "Lõpeta" };+var zO = {};+zO = { dismiss: "Lõpeta" };// node_modules/react-aria/dist/private/intl/overlays/fi-FI.mjs-var VO = {};-VO = { dismiss: "Hylkää" };+var BO = {};+BO = { dismiss: "Hylkää" };// node_modules/react-aria/dist/private/intl/overlays/fr-FR.mjs-var HO = {};-HO = { dismiss: "Rejeter" };+var VO = {};+VO = { dismiss: "Rejeter" };// node_modules/react-aria/dist/private/intl/overlays/he-IL.mjs-var UO = {};-UO = { dismiss: "התעלם" };+var HO = {};+HO = { dismiss: "התעלם" };// node_modules/react-aria/dist/private/intl/overlays/hr-HR.mjs-var WO = {};-WO = { dismiss: "Odbaci" };+var UO = {};+UO = { dismiss: "Odbaci" };// node_modules/react-aria/dist/private/intl/overlays/hu-HU.mjs-var GO = {};-GO = { dismiss: "Elutasítás" };+var WO = {};+WO = { dismiss: "Elutasítás" };// node_modules/react-aria/dist/private/intl/overlays/it-IT.mjs-var KO = {};-KO = { dismiss: "Ignora" };+var GO = {};+GO = { dismiss: "Ignora" };// node_modules/react-aria/dist/private/intl/overlays/ja-JP.mjs-var qO = {};-qO = { dismiss: "閉じる" };+var KO = {};+KO = { dismiss: "閉じる" };// node_modules/react-aria/dist/private/intl/overlays/ko-KR.mjs-var JO = {};-JO = { dismiss: "무시" };+var qO = {};+qO = { dismiss: "무시" };// node_modules/react-aria/dist/private/intl/overlays/lt-LT.mjs-var YO = {};-YO = { dismiss: "Atmesti" };+var JO = {};+JO = { dismiss: "Atmesti" };// node_modules/react-aria/dist/private/intl/overlays/lv-LV.mjs-var XO = {};-XO = { dismiss: "Nerādīt" };+var YO = {};+YO = { dismiss: "Nerādīt" };// node_modules/react-aria/dist/private/intl/overlays/nb-NO.mjs-var ZO = {};-ZO = { dismiss: "Lukk" };+var XO = {};+XO = { dismiss: "Lukk" };// node_modules/react-aria/dist/private/intl/overlays/nl-NL.mjs-var QO = {};-QO = { dismiss: "Negeren" };+var ZO = {};+ZO = { dismiss: "Negeren" };// node_modules/react-aria/dist/private/intl/overlays/pl-PL.mjs-var $O = {};-$O = { dismiss: "Zignoruj" };+var QO = {};+QO = { dismiss: "Zignoruj" };// node_modules/react-aria/dist/private/intl/overlays/pt-BR.mjs-var ek = {};-ek = { dismiss: "Descartar" };+var $O = {};+$O = { dismiss: "Descartar" };// node_modules/react-aria/dist/private/intl/overlays/pt-PT.mjs-var tk = {};-tk = { dismiss: "Dispensar" };+var ek = {};+ek = { dismiss: "Dispensar" };// node_modules/react-aria/dist/private/intl/overlays/ro-RO.mjs-var nk = {};-nk = { dismiss: "Revocare" };+var tk = {};+tk = { dismiss: "Revocare" };// node_modules/react-aria/dist/private/intl/overlays/ru-RU.mjs-var rk = {};-rk = { dismiss: "Пропустить" };+var nk = {};+nk = { dismiss: "Пропустить" };// node_modules/react-aria/dist/private/intl/overlays/sk-SK.mjs-var ik = {};-ik = { dismiss: "Zrušiť" };+var rk = {};+rk = { dismiss: "Zrušiť" };// node_modules/react-aria/dist/private/intl/overlays/sl-SI.mjs-var ak = {};-ak = { dismiss: "Opusti" };+var ik = {};+ik = { dismiss: "Opusti" };// node_modules/react-aria/dist/private/intl/overlays/sr-SP.mjs-var ok = {};-ok = { dismiss: "Odbaci" };+var ak = {};+ak = { dismiss: "Odbaci" };// node_modules/react-aria/dist/private/intl/overlays/sv-SE.mjs-var sk = {};-sk = { dismiss: "Avvisa" };+var ok = {};+ok = { dismiss: "Avvisa" };// node_modules/react-aria/dist/private/intl/overlays/tr-TR.mjs-var ck = {};-ck = { dismiss: "Kapat" };+var sk = {};+sk = { dismiss: "Kapat" };// node_modules/react-aria/dist/private/intl/overlays/uk-UA.mjs-var lk = {};-lk = { dismiss: "Скасувати" };+var ck = {};+ck = { dismiss: "Скасувати" };// node_modules/react-aria/dist/private/intl/overlays/zh-CN.mjs-var uk = {};-uk = { dismiss: "取消" };+var lk = {};+lk = { dismiss: "取消" };// node_modules/react-aria/dist/private/intl/overlays/zh-TW.mjs-var dk = {};-dk = { dismiss: "關閉" };+var uk = {};+uk = { dismiss: "關閉" };// node_modules/react-aria/dist/private/overlays/intlStrings.mjs-var fk = {};-fk = {- "ar-AE": MO,- "bg-BG": NO,- "cs-CZ": PO,- "da-DK": FO,- "de-DE": IO,- "el-GR": LO,- "en-US": RO,- "es-ES": zO,- "et-EE": BO,- "fi-FI": VO,- "fr-FR": HO,- "he-IL": UO,- "hr-HR": WO,- "hu-HU": GO,- "it-IT": KO,- "ja-JP": qO,- "ko-KR": JO,- "lt-LT": YO,- "lv-LV": XO,- "nb-NO": ZO,- "nl-NL": QO,- "pl-PL": $O,- "pt-BR": ek,- "pt-PT": tk,- "ro-RO": nk,- "ru-RU": rk,- "sk-SK": ik,- "sl-SI": ak,- "sr-SP": ok,- "sv-SE": sk,- "tr-TR": ck,- "uk-UA": lk,- "zh-CN": uk,- "zh-TW": dk+var dk = {};+dk = {+ "ar-AE": jO,+ "bg-BG": MO,+ "cs-CZ": NO,+ "da-DK": PO,+ "de-DE": FO,+ "el-GR": IO,+ "en-US": LO,+ "es-ES": RO,+ "et-EE": zO,+ "fi-FI": BO,+ "fr-FR": VO,+ "he-IL": HO,+ "hr-HR": UO,+ "hu-HU": WO,+ "it-IT": GO,+ "ja-JP": KO,+ "ko-KR": qO,+ "lt-LT": JO,+ "lv-LV": YO,+ "nb-NO": XO,+ "nl-NL": ZO,+ "pl-PL": QO,+ "pt-BR": $O,+ "pt-PT": ek,+ "ro-RO": tk,+ "ru-RU": nk,+ "sk-SK": rk,+ "sl-SI": ik,+ "sr-SP": ak,+ "sv-SE": ok,+ "tr-TR": sk,+ "uk-UA": ck,+ "zh-CN": lk,+ "zh-TW": uk};// node_modules/react-aria/dist/private/overlays/DismissButton.mjs-function Zse(e) {+function Qse(e) {return e && e.__esModule ? e.default : e;}-function pk(e) {- let { onDismiss: t, ...n } = e, r = kw(n, Vw(Zse(fk), "@react-aria/overlays").format("dismiss")), i = () => {+function fk(e) {+ let { onDismiss: t, ...n } = e, r = Ow(n, Bw(Qse(dk), "@react-aria/overlays").format("dismiss")), i = () => {t && t();};- return /*#__PURE__*/ F.createElement(dE, null, /*#__PURE__*/ F.createElement("button", {+ return /*#__PURE__*/ F.createElement(uE, null, /*#__PURE__*/ F.createElement("button", {...r,tabIndex: -1,onClick: i,@@ -28180,35 +28180,35 @@ function pk(e) {}));}// node_modules/react-aria/dist/private/overlays/useOverlay.mjs-var mk = [];-function hk(e, t) {+var pk = [];+function mk(e, t) {let { onClose: n, shouldCloseOnBlur: r, isOpen: i, isDismissable: a = !1, isKeyboardDismissDisabled: o = !1, shouldCloseOnInteractOutside: s } = e, c = (0, F.useRef)(void 0);(0, F.useEffect)(() => {- if (i && !mk.includes(t)) return mk.push(t), () => {- let e = mk.indexOf(t);- e >= 0 && mk.splice(e, 1);+ if (i && !pk.includes(t)) return pk.push(t), () => {+ let e = pk.indexOf(t);+ e >= 0 && pk.splice(e, 1);};}, [i, t]);let l = () => {- mk[mk.length - 1] === t && n && n();+ pk[pk.length - 1] === t && n && n();}, u = (e) => {- let n = mk[mk.length - 1];+ let n = pk[pk.length - 1];c.current = n, (!s || s(G(e))) && n === t && e.stopPropagation();}, d = (e) => {- (!s || s(G(e))) && (mk[mk.length - 1] === t && e.stopPropagation(), c.current === t && l()), c.current = void 0;- }, { keyboardProps: f } = YC({ shortcuts: { Escape: () => {+ (!s || s(G(e))) && (pk[pk.length - 1] === t && e.stopPropagation(), c.current === t && l()), c.current = void 0;+ }, { keyboardProps: f } = JC({ shortcuts: { Escape: () => {if (!o) l();else return !1;} } });- Fse({+ Ise({ref: t,onInteractOutside: a && i ? d : void 0,onInteractOutsideStart: u});- let { focusWithinProps: p } = eE({+ let { focusWithinProps: p } = $T({isDisabled: !r,onBlurWithin: (e) => {- e.relatedTarget && !qoe(e.relatedTarget) && (!s || s(e.relatedTarget)) && n?.();+ e.relatedTarget && !Joe(e.relatedTarget) && (!s || s(e.relatedTarget)) && n?.();}});return {@@ -28220,87 +28220,87 @@ function hk(e, t) {};}// node_modules/react-aria/dist/private/utils/runAfterKeyboard.mjs-var Qse = 200, $se = 50, ece = 600, gk = /* @__PURE__ */ new WeakMap(), _k = /* @__PURE__ */ new Set(), vk = /* @__PURE__ */ new Set();-function tce(e, t) {- let n = Ew();- if (e !== n || t.aborted) for (let e of vk) e(n), vk.delete(e);- if (!e && n && YS() && !t.aborted) window.clearInterval(gk.get(window)), gk.set(window, yk(Qse));+var $se = 200, ece = 50, tce = 600, hk = /* @__PURE__ */ new WeakMap(), gk = /* @__PURE__ */ new Set(), _k = /* @__PURE__ */ new Set();+function nce(e, t) {+ let n = Tw();+ if (e !== n || t.aborted) for (let e of _k) e(n), _k.delete(e);+ if (!e && n && JS() && !t.aborted) window.clearInterval(hk.get(window)), hk.set(window, vk($se));else {- if (e !== n || t.aborted) for (let e of _k) e(n), _k.delete(e);- (vk.size + _k.size <= 0 || t.aborted) && (window.clearInterval(gk.get(window)), gk.delete(window));+ if (e !== n || t.aborted) for (let e of gk) e(n), gk.delete(e);+ (_k.size + gk.size <= 0 || t.aborted) && (window.clearInterval(hk.get(window)), hk.delete(window));}}-function yk(e = ece) {- return window.setInterval(tce, $se, Ew(), AbortSignal.timeout(e));+function vk(e = tce) {+ return window.setInterval(nce, ece, Tw(), AbortSignal.timeout(e));}-function bk(e) {- if (!Cw()) return e(!1), () => {};+function yk(e) {+ if (!Sw()) return e(!1), () => {};let t = window.requestAnimationFrame(() => {t = window.requestAnimationFrame(() => {- let t = ww(document.hasFocus() ? AS() : null);- if (Ew() === t || Ew() && !t) return e(t);- vk.add(e), gk.has(window) || gk.set(window, yk());+ let t = Cw(document.hasFocus() ? kS() : null);+ if (Tw() === t || Tw() && !t) return e(t);+ _k.add(e), hk.has(window) || hk.set(window, vk());});});return () => {- window.cancelAnimationFrame(t), vk.delete(e);+ window.cancelAnimationFrame(t), _k.delete(e);};}-function nce(e) {- if (!Cw()) return e(!1), () => {};+function rce(e) {+ if (!Sw()) return e(!1), () => {};let t = window.requestAnimationFrame(() => {t = window.requestAnimationFrame(() => {- let t = ww(document.hasFocus() ? AS() : null);- if (Ew() === t) return e(t);- _k.add(e), gk.has(window) || gk.set(window, yk());+ let t = Cw(document.hasFocus() ? kS() : null);+ if (Tw() === t) return e(t);+ gk.add(e), hk.has(window) || hk.set(window, vk());});});return () => {- window.cancelAnimationFrame(t), _k.delete(e);+ window.cancelAnimationFrame(t), gk.delete(e);};}// node_modules/react-aria/dist/private/overlays/usePreventScroll.mjs-var xk = typeof document < "u" && window.visualViewport, Sk = 0, Ck;-function wk(e = {}) {+var bk = typeof document < "u" && window.visualViewport, xk = 0, Sk;+function Ck(e = {}) {let { isDisabled: t, UNSTABLE_overrideFocus: n } = e;- RS(() => {- if (!t) return Sk++, Sk === 1 && (Ck = JS() && YS() ? ice() : rce(n)), () => {- Sk--, Sk === 0 && Ck();+ LS(() => {+ if (!t) return xk++, xk === 1 && (Sk = qS() && JS() ? ace() : ice(n)), () => {+ xk--, xk === 0 && Sk();};}, [t, n]);}-function rce(e) {+function ice(e) {let t = window.innerWidth - document.documentElement.clientWidth;- return FC(t > 0 && ("scrollbarGutter" in document.documentElement.style ? DS(document.documentElement, "scrollbar-gutter", "stable") : DS(document.documentElement, "padding-right", `${t}px`)), DS(document.documentElement, "overflow", "hidden"), e && Ek(), e && Cw() && Tk());+ return PC(t > 0 && ("scrollbarGutter" in document.documentElement.style ? ES(document.documentElement, "scrollbar-gutter", "stable") : ES(document.documentElement, "padding-right", `${t}px`)), ES(document.documentElement, "overflow", "hidden"), e && Tk(), e && Sw() && wk());}-function ice() {- let e = DS(document.documentElement, "overflow", "hidden"), t, n = !1, r = (e) => {+function ace() {+ let e = ES(document.documentElement, "overflow", "hidden"), t, n = !1, r = (e) => {let r = G(e);- t = MT(r, !0) ? r : NT(r, !0), n = !1;+ t = jT(r, !0) ? r : MT(r, !0), n = !1;let i = r.ownerDocument.defaultView.getSelection();i && !i.isCollapsed && i.containsNode(r, !0) && (n = !0), e.composedPath().some((e) => e instanceof HTMLInputElement && e.type === "range") && (n = !0), "selectionStart" in r && "selectionEnd" in r && r.selectionStart < r.selectionEnd && r.ownerDocument.activeElement === r && (n = !0);- }, i = document.createElement("style"), a = Xw();+ }, i = document.createElement("style"), a = Yw();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 = Ek(), c = FC(ES(document, "touchstart", r, {+ }, s = Tk(), c = PC(TS(document, "touchstart", r, {passive: !1,capture: !0- }), ES(document, "touchmove", o, {+ }), TS(document, "touchmove", o, {passive: !1,capture: !0- }), Tk());+ }), wk());return () => {e(), c(), i.remove(), s();};}-function Tk() {- return ES(document, "blur", (e) => {+function wk() {+ return TS(document, "blur", (e) => {let t = G(e), n = e.relatedTarget;- n && ww(n) ? n.focus() : n || (t.parentElement?.closest("[tabindex]"))?.focus({ preventScroll: !0 });+ n && Cw(n) ? n.focus() : n || (t.parentElement?.closest("[tabindex]"))?.focus({ preventScroll: !0 });}, !0);}-function Ek() {+function Tk() {let e = HTMLElement.prototype.focus;return Reflect.defineProperty(HTMLElement.prototype, "focus", {configurable: !0,@@ -28311,9 +28311,9 @@ function Ek() {preventScroll: !0}), !t || !t.preventScroll) {let e = () => {- AS() === this && ace(this);+ kS() === this && oce(this);};- bk((t) => t ? e() : nce(() => e()));+ yk((t) => t ? e() : rce(() => e()));}}}), () => {@@ -28324,15 +28324,15 @@ function Ek() {});};}-function ace(e) {+function oce(e) {let t = document.scrollingElement || document.documentElement, n = e;for (; n && n !== t && n.isConnected;) {- let e = NT(n);+ let e = MT(n);if (e !== document.documentElement && e !== document.body && e !== n) {let t = e.getBoundingClientRect(), r = n.getBoundingClientRect();if (r.top < t.top || r.bottom > t.top + n.clientHeight) {let n = t.bottom;- xk && (n = Math.min(n, xk.offsetTop + xk.height));+ bk && (n = Math.min(n, bk.offsetTop + bk.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)),@@ -28344,19 +28344,19 @@ function ace(e) {}}// node_modules/react-aria/dist/private/overlays/useModalOverlay.mjs-function oce(e, t, n) {- let { overlayProps: r, underlayProps: i } = hk({+function sce(e, t, n) {+ let { overlayProps: r, underlayProps: i } = mk({...e,isOpen: t.isOpen,onClose: t.close}, n);- wk({+ Ck({isDisabled: !t.isOpen,UNSTABLE_overrideFocus: e.UNSTABLE_overrideFocus- }), OD();+ }), DD();let { isEntering: a } = e;return (0, F.useEffect)(() => {- if (t.isOpen && n.current) return a ? vE(n.current) : _E([n.current], { shouldUseInert: !0 });+ if (t.isOpen && n.current) return a ? _E(n.current) : gE([n.current], { shouldUseInert: !0 });}, [t.isOpen,a,@@ -28367,33 +28367,33 @@ function oce(e, t, n) {};}// node_modules/react-aria/dist/private/overlays/calculatePosition.mjs-var Dk = {+var Ek = {top: "top",bottom: "top",left: "left",right: "left"-}, Ok = {+}, Dk = {top: "bottom",bottom: "top",left: "right",right: "left"-}, sce = {+}, cce = {top: "left",left: "top"-}, kk = {+}, Ok = {top: "height",left: "width"-}, Ak = {+}, kk = {width: "totalWidth",height: "totalHeight"-}, jk = {}, cce = () => typeof document < "u" ? window.visualViewport : null;-function Mk(e, t) {+}, Ak = {}, lce = () => typeof document < "u" ? window.visualViewport : null;+function jk(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} = Rk(e, !1)), c.top = e.scrollTop, c.left = e.scrollLeft, i = n, a = r;- return YS() && (e.tagName === "BODY" || e.tagName === "HTML") && l && (c.top = 0, c.left = 0, o = t?.pageTop ?? 0, s = t?.pageLeft ?? 0), {+ } else ({width: n, height: r, top: o, left: s} = Lk(e, !1)), c.top = e.scrollTop, c.left = e.scrollLeft, i = n, a = r;+ return JS() && (e.tagName === "BODY" || e.tagName === "HTML") && l && (c.top = 0, c.left = 0, o = t?.pageTop ?? 0, s = t?.pageLeft ?? 0), {width: n,height: r,totalWidth: i,@@ -28403,7 +28403,7 @@ function Mk(e, t) {left: s};}-function lce(e) {+function uce(e) {return {top: e.scrollTop,left: e.scrollLeft,@@ -28411,11 +28411,11 @@ function lce(e) {height: e.scrollHeight};}-function Nk(e, t, n, r, i, a, o) {- let s = i.scroll[e] ?? 0, c = r[kk[e]], l = o[e] + r.scroll[Dk[e]] + a, u = o[e] + r.scroll[Dk[e]] + c - a, d = t - s + r.scroll[Dk[e]] + o[e] - r[Dk[e]], f = t - s + n + r.scroll[Dk[e]] + o[e] - r[Dk[e]];+function Mk(e, t, n, r, i, a, o) {+ let s = i.scroll[e] ?? 0, c = r[Ok[e]], l = o[e] + r.scroll[Ek[e]] + a, u = o[e] + r.scroll[Ek[e]] + c - a, d = t - s + r.scroll[Ek[e]] + o[e] - r[Ek[e]], f = t - s + n + r.scroll[Ek[e]] + o[e] - r[Ek[e]];return d < l ? l - d : f > u ? Math.max(u - f, l - d) : 0;}-function uce(e) {+function dce(e) {let t = window.getComputedStyle(e);return {top: parseInt(t.marginTop, 10) || 0,@@ -28424,55 +28424,55 @@ function uce(e) {right: parseInt(t.marginRight, 10) || 0};}-function Pk(e) {- if (jk[e]) return jk[e];- let [t, n] = e.split(" "), r = Dk[t] || "right", i = sce[r];- Dk[n] || (n = "center");- let a = kk[r], o = kk[i];- return jk[e] = {+function Nk(e) {+ if (Ak[e]) return Ak[e];+ let [t, n] = e.split(" "), r = Ek[t] || "right", i = cce[r];+ Ek[n] || (n = "center");+ let a = Ok[r], o = Ok[i];+ return Ak[e] = {placement: t,crossPlacement: n,axis: r,crossAxis: i,size: a,crossSize: o- }, jk[e];+ }, Ak[e];}-function Fk(e, t, n, r, i, a, o, s, c, l, u) {+function Pk(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] = rE(_[m], v, y), d === p) {- let t = s ? u[h] : u[Ak[h]];- _[Ok[p]] = Math.floor(t - e[p] + i);+ if (_[m] = nE(_[m], v, y), d === p) {+ let t = s ? u[h] : u[kk[h]];+ _[Dk[p]] = Math.floor(t - e[p] + i);} else _[p] = Math.floor(e[p] + e[h] + i);return _;}-function dce(e, t, n, r, i, a, o, s, c, l, u) {- let d = (e.top == null ? c[Ak.height] - (e.bottom ?? 0) - o : e.top) - (c.scroll.top ?? 0), f = l ? n.top : 0, p = {+function fce(e, t, n, r, i, a, o, s, c, l, u) {+ let d = (e.top == null ? c[kk.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 Ik(e, t, n, r, i, a, o, s) {+function Fk(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[Ok[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[Ok[l]] - i);+ return c === l ? Math.max(0, n[l] - (o.scroll[l] ?? 0) - (e[l] + (s ? t[l] : 0)) - (r[l] ?? 0) - r[Dk[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[Dk[l]] - i);}-function fce(e, t, n, r, i, a, o, s, c, l, u, d, f, p, m, h, g, _) {- let v = Pk(e), { size: y, crossAxis: b, crossSize: x, placement: S, crossPlacement: C } = v, w = Fk(t, s, n, v, u, d, l, f, m, h, c), T = u, E = Ik(s, l, t, i, a + u, v, c, g);+function pce(e, t, n, r, i, a, o, s, c, l, u, d, f, p, m, h, g, _) {+ let v = Nk(e), { size: y, crossAxis: b, crossSize: x, placement: S, crossPlacement: C } = v, w = Pk(t, s, n, v, u, d, l, f, m, h, c), T = u, E = Fk(s, l, t, i, a + u, v, c, g);if (o && n[y] > E) {- let e = Pk(`${Ok[S]} ${C}`), r = Fk(t, s, n, e, u, d, l, f, m, h, c);- Ik(s, l, t, i, a + u, e, c, g) > E && (v = e, w = r, T = u);+ let e = Nk(`${Dk[S]} ${C}`), r = Pk(t, s, n, e, u, d, l, f, m, h, c);+ Fk(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 = Nk(b, w[b], n[x], s, c, a, l);+ let O = Mk(b, w[b], n[x], s, c, a, l);w[b] += O;- let k = dce(w, s, l, f, i, a, n.height, D, c, g, _);- p && p < k && (k = p), n.height = Math.min(n.height, k), w = Fk(t, s, n, v, T, d, l, f, m, h, c), O = Nk(b, w[b], n[x], s, c, a, l), w[b] += O;- let A = {}, j = t[b] - w[b] - i[Dk[b]], M = j + .5 * t[x], ee = m / 2 + h, N = Dk[b] === "left" ? (i.left ?? 0) + (i.right ?? 0) : (i.top ?? 0) + (i.bottom ?? 0), te = n[x] - N - m / 2 - h;- A[b] = rE(rE(M, t[b] + m / 2 - (w[b] + i[Dk[b]]), t[b] + t[x] - m / 2 - (w[b] + i[Dk[b]])), ee, te), {placement: S, crossPlacement: C} = v, m ? j = A[b] : C === "right" ? j += t[x] : C === "center" && (j += t[x] / 2);+ let k = fce(w, s, l, f, i, a, n.height, D, c, g, _);+ p && p < k && (k = p), n.height = Math.min(n.height, k), w = Pk(t, s, n, v, T, d, l, f, m, h, c), O = Mk(b, w[b], n[x], s, c, a, l), w[b] += O;+ let A = {}, j = t[b] - w[b] - i[Ek[b]], M = j + .5 * t[x], ee = m / 2 + h, N = Ek[b] === "left" ? (i.left ?? 0) + (i.right ?? 0) : (i.top ?? 0) + (i.bottom ?? 0), te = n[x] - N - m / 2 - h;+ A[b] = nE(nE(M, t[b] + m / 2 - (w[b] + i[Ek[b]]), t[b] + t[x] - m / 2 - (w[b] + i[Ek[b]])), ee, te), {placement: S, crossPlacement: C} = v, m ? j = A[b] : C === "right" ? j += t[x] : C === "center" && (j += t[x] / 2);let P = S === "left" || S === "top" ? n[y] : 0, ne = {x: S === "top" || S === "bottom" ? j : P,y: S === "left" || S === "right" ? j : P@@ -28486,17 +28486,17 @@ function fce(e, t, n, r, i, a, o, s, c, l, u, d, f, p, m, h, g, _) {triggerAnchorPoint: ne};}-function pce(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 = cce(), h = r instanceof HTMLElement ? mce(r) : document.documentElement, g = h === document.documentElement, _ = window.getComputedStyle(h).position, v = !!_ && _ !== "static", y = g ? Rk(n, !1, p) : zk(n, h, !1, p);+function mce(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 = lce(), h = r instanceof HTMLElement ? hce(r) : document.documentElement, g = h === document.documentElement, _ = window.getComputedStyle(h).position, v = !!_ && _ !== "static", y = g ? Lk(n, !1, p) : Rk(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 = Rk(r, !0), x = uce(r);+ let b = Lk(r, !0), x = dce(r);b.width += (x.left ?? 0) + (x.right ?? 0), b.height += (x.top ?? 0) + (x.bottom ?? 0);- let S = lce(i), C = Mk(s, m), w = Mk(h, m), T;+ let S = uce(i), C = jk(s, m), w = jk(h, m), T;if ((s.tagName === "BODY" || s.tagName === "HTML") && !g) {- let e = Lk(h, !1);+ let e = Ik(h, !1);T = {top: -(e.top - C.top),left: -(e.left - C.left),@@ -28508,11 +28508,11 @@ function pce(e) {left: 0,width: 0,height: 0- } : zk(s, h, !1);- let E = kS(s, h);- return fce(t, y, b, S, x, a, o, C, w, T, c, l, v, u, d, f, E, m);+ } : Rk(s, h, !1);+ let E = OS(s, h);+ return pce(t, y, b, S, x, a, o, C, w, T, c, l, v, u, d, f, E, m);}-function Lk(e, t) {+function Ik(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,@@ -28521,8 +28521,8 @@ function Lk(e, t) {height: a};}-function Rk(e, t, n) {- let { top: r, left: i, width: a, height: o } = n || Lk(e, t), { scrollTop: s, scrollLeft: c, clientTop: l, clientLeft: u } = document.documentElement;+function Lk(e, t, n) {+ let { top: r, left: i, width: a, height: o } = n || Ik(e, t), { scrollTop: s, scrollLeft: c, clientTop: l, clientLeft: u } = document.documentElement;return {top: r + s - l,left: i + c - u,@@ -28530,29 +28530,29 @@ function Rk(e, t, n) {height: o};}-function zk(e, t, n, r) {+function Rk(e, t, n, r) {let i = window.getComputedStyle(e), a;- if (i.position === "fixed") a = r || Lk(e, n);+ if (i.position === "fixed") a = r || Ik(e, n);else {- a = Rk(e, n, r);- let i = Rk(t, n), o = window.getComputedStyle(t);+ a = Lk(e, n, r);+ let i = Lk(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 mce(e) {+function hce(e) {let t = e.offsetParent;- if (t && t === document.body && window.getComputedStyle(t).position === "static" && !Bk(t) && (t = document.documentElement), t == null) for (t = e.parentElement; t && !Bk(t);) t = t.parentElement;+ if (t && t === document.body && window.getComputedStyle(t).position === "static" && !zk(t) && (t = document.documentElement), t == null) for (t = e.parentElement; t && !zk(t);) t = t.parentElement;return t || document.documentElement;}-function Bk(e) {+function zk(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";}// node_modules/react-aria/dist/private/overlays/useOverlayPosition.mjs-var Vk = typeof document < "u" ? window.visualViewport : null;-function hce(e) {- let { direction: t } = Fw(), { arrowSize: n, targetRef: r, overlayRef: i, arrowRef: a, scrollRef: o = i, placement: s = "bottom", containerPadding: c = 12, shouldFlip: l = !0, boundaryElement: u = typeof document < "u" ? document.body : null, offset: d = 0, crossOffset: f = 0, shouldUpdatePosition: p = !0, isOpen: m = !0, onClose: h, maxHeight: g, arrowBoundaryOffset: _ = 0, getTargetRect: v } = e, [y, b] = (0, F.useState)(null), x = [+var Bk = typeof document < "u" ? window.visualViewport : null;+function gce(e) {+ let { direction: t } = Pw(), { arrowSize: n, targetRef: r, overlayRef: i, arrowRef: a, scrollRef: o = i, placement: s = "bottom", containerPadding: c = 12, shouldFlip: l = !0, boundaryElement: u = typeof document < "u" ? document.body : null, offset: d = 0, crossOffset: f = 0, shouldUpdatePosition: p = !0, isOpen: m = !0, onClose: h, maxHeight: g, arrowBoundaryOffset: _ = 0, getTargetRect: v } = e, [y, b] = (0, F.useState)(null), x = [p,s,i.current,@@ -28569,15 +28569,15 @@ function hce(e) {g,_,n- ], S = (0, F.useRef)(Vk?.scale);+ ], S = (0, F.useRef)(Bk?.scale);(0, F.useEffect)(() => {- m && (S.current = Vk?.scale);+ m && (S.current = Bk?.scale);}, [m]);let C = (0, F.useCallback)(() => {- if (p === !1 || !m || !i.current || !r.current || !u || Vk?.scale !== S.current) return;+ if (p === !1 || !m || !i.current || !r.current || !u || Bk?.scale !== S.current) return;let e = null;- if (o.current && MS(o.current)) {- let t = AS()?.getBoundingClientRect(), n = o.current.getBoundingClientRect();+ if (o.current && jS(o.current)) {+ let t = kS()?.getBoundingClientRect(), n = o.current.getBoundingClientRect();e = {type: "top",offset: (t?.top ?? 0) - n.top@@ -28585,8 +28585,8 @@ function hce(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 = pce({- placement: _ce(s, t),+ let y = mce({+ placement: vce(s, t),overlayNode: i.current,targetNode: r.current,scrollNode: o.current || i.current,@@ -28596,28 +28596,28 @@ function hce(e) {offset: d,crossOffset: f,maxHeight: g,- arrowSize: n ?? (a?.current ? Lk(a.current, !0).width : 0),+ arrowSize: n ?? (a?.current ? Ik(a.current, !0).width : 0),arrowBoundaryOffset: _,targetRect: v?.(r.current)});if (!y.position) return;h.style.top = "", h.style.bottom = "", h.style.left = "", h.style.right = "", Object.keys(y.position).forEach((e) => h.style[e] = y.position[e] + "px"), h.style.maxHeight = y.maxHeight == null ? "" : y.maxHeight + "px";- let x = AS();+ let x = kS();if (e && x && o.current) {let t = x.getBoundingClientRect(), n = o.current.getBoundingClientRect(), r = t[e.type] - n[e.type];o.current.scrollTop += r - e.offset;}b(y);}, x);- RS(C, x), gce(C), jO({+ LS(C, x), _ce(C), AO({ref: i,onResize: C- }), jO({+ }), AO({ref: r,onResize: C});let w = (0, F.useRef)(!1);- RS(() => {+ LS(() => {let e, t = () => {w.current = !0, clearTimeout(e), e = setTimeout(() => {w.current = !1;@@ -28625,16 +28625,16 @@ function hce(e) {}, n = () => {w.current && t();};- Vk?.addEventListener("resize", t), Vk?.addEventListener("scroll", n);- let r = ES(jS(window), "scroll", n);+ Bk?.addEventListener("resize", t), Bk?.addEventListener("scroll", n);+ let r = TS(AS(window), "scroll", n);return () => {- Vk?.removeEventListener("resize", t), Vk?.removeEventListener("scroll", n), r();+ Bk?.removeEventListener("resize", t), Bk?.removeEventListener("scroll", n), r();};}, [C]);let T = (0, F.useCallback)(() => {w.current || h?.();}, [h, w]);- return Tse({+ return Ese({triggerRef: r,isOpen: m,onClose: h && T@@ -28660,24 +28660,24 @@ function hce(e) {updatePosition: C};}-function gce(e) {- RS(() => (window.addEventListener("resize", e, !1), () => {+function _ce(e) {+ LS(() => (window.addEventListener("resize", e, !1), () => {window.removeEventListener("resize", e, !1);}), [e]);}-function _ce(e, t) {+function vce(e, t) {return t === "rtl" ? e.replace("start", "right").replace("end", "left") : e.replace("start", "left").replace("end", "right");}// node_modules/react-aria/dist/private/overlays/usePopover.mjs-function vce(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 } = hk({+function yce(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 } = mk({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 } = hce({+ }, i ?? r), { overlayProps: f, arrowProps: p, placement: m, triggerAnchorPoint: h } = gce({...c,targetRef: n,overlayRef: r,@@ -28685,15 +28685,15 @@ function vce(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)});- wk({ isDisabled: a || !t.isOpen }), (0, F.useEffect)(() => {- if (t.isOpen && r.current) return a ? vE(i?.current ?? r.current) : _E([i?.current ?? r.current], { shouldUseInert: !0 });+ Ck({ isDisabled: a || !t.isOpen }), (0, F.useEffect)(() => {+ if (t.isOpen && r.current) return a ? _E(i?.current ?? r.current) : gE([i?.current ?? r.current], { shouldUseInert: !0 });}, [a,t.isOpen,r,i]);- let { focusWithinProps: g } = eE(e);+ let { focusWithinProps: g } = $T(e);return {popoverProps: K(u, f, g),arrowProps: p,@@ -28703,12 +28703,12 @@ function vce(e, t) {};}// node_modules/react-aria/dist/private/radio/utils.mjs-var Hk = /* @__PURE__ */ new WeakMap();+var Vk = /* @__PURE__ */ new WeakMap();// node_modules/react-aria/dist/private/radio/useRadio.mjs-function yce(e, t, n) {+function bce(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: _ } = rT({+ }, { pressProps: g, isPressed: _ } = nT({onPressStart: s,onPressEnd: c,onPressChange: l,@@ -28716,7 +28716,7 @@ function yce(e, t, n) {onPressUp: d,onClick: f,isDisabled: p- }), { pressProps: v, isPressed: y } = rT({+ }), { pressProps: v, isPressed: y } = nT({onPressStart: s,onPressEnd: c,onPressChange: l,@@ -28726,11 +28726,11 @@ function yce(e, t, n) {onPress(e) {u?.(e), t.setSelectedValue(r), n.current?.focus();}- }), { focusableProps: b } = $C(K(e, { onFocus: () => t.setLastFocusedValue(r) }), n), x = K(g, b), S = Uw(e, { labelable: !0 }), C = -1;+ }), { focusableProps: b } = QC(K(e, { onFocus: () => t.setLastFocusedValue(r) }), n), x = K(g, b), S = Hw(e, { labelable: !0 }), C = -1;t.selectedValue == null ? (t.lastFocusedValue === r || t.lastFocusedValue == null) && (C = 0) : t.selectedValue === r && (C = 0), p && (C = void 0);- let { name: w, form: T, descriptionId: E, errorMessageId: D, validationBehavior: O } = Hk.get(t);- zT(n, t.defaultSelectedValue, t.setSelectedValue), BT({ validationBehavior: O }, t, n);- let k = VT();+ let { name: w, form: T, descriptionId: E, errorMessageId: D, validationBehavior: O } = Vk.get(t);+ RT(n, t.defaultSelectedValue, t.setSelectedValue), zT({ validationBehavior: O }, t, n);+ let k = BT();return {labelProps: K(v, (0, F.useMemo)(() => ({onClick: (e) => e.preventDefault(),@@ -28761,13 +28761,13 @@ function yce(e, t, n) {};}// node_modules/react-aria/dist/private/radio/useRadioGroup.mjs-function bce(e, t) {- let { name: n, form: r, isReadOnly: i, isRequired: a, isDisabled: o, orientation: s = "vertical", validationBehavior: c = "aria" } = e, { direction: l } = Fw(), { isInvalid: u, validationErrors: d, validationDetails: f } = t.displayValidation, { labelProps: p, fieldProps: m, descriptionProps: h, errorMessageProps: g } = $T({+function xce(e, t) {+ let { name: n, form: r, isReadOnly: i, isRequired: a, isDisabled: o, orientation: s = "vertical", validationBehavior: c = "aria" } = e, { direction: l } = Pw(), { isInvalid: u, validationErrors: d, validationDetails: f } = t.displayValidation, { labelProps: p, fieldProps: m, descriptionProps: h, errorMessageProps: g } = QT({...e,labelElementType: "span",isInvalid: t.isInvalid,errorMessage: e.errorMessage || d- }), _ = Uw(e, { labelable: !0 }), { focusWithinProps: v } = eE({+ }), _ = Hw(e, { labelable: !0 }), { focusWithinProps: v } = $T({onBlurWithin(n) {e.onBlur?.(n), t.selectedValue || t.setLastFocusedValue(null);},@@ -28775,13 +28775,13 @@ function bce(e, t) {onFocusWithinChange: e.onFocusChange});function y(e, n) {- let r = TT(n.currentTarget, {+ let r = wT(n.currentTarget, {from: G(n),- accept: (e) => e instanceof CS(e).HTMLInputElement && e.type === "radio"+ accept: (e) => e instanceof SS(e).HTMLInputElement && e.type === "radio"}), i;return e === "next" ? (i = r.nextNode(), i ||= (r.currentNode = n.currentTarget, r.firstChild())) : (i = r.previousNode(), i ||= (r.currentNode = n.currentTarget, r.lastChild())), i ? (i.focus(), t.setSelectedValue(i.value), !0) : !1;}- let { keyboardProps: b } = YC({+ let { keyboardProps: b } = JC({shortcuts: {ArrowRight: (e) => y(l === "rtl" && s !== "vertical" ? "prev" : "next", e),ArrowLeft: (e) => y(l === "rtl" && s !== "vertical" ? "next" : "prev", e),@@ -28789,8 +28789,8 @@ function bce(e, t) {ArrowUp: (e) => y("prev", e)},allowRepeats: !0- }), x = zC(n);- return Hk.set(t, {+ }), x = RC(n);+ return Vk.set(t, {name: x,form: r,descriptionId: h.id,@@ -28818,21 +28818,21 @@ function bce(e, t) {};}// node_modules/react-aria/dist/private/select/useSelect.mjs-var Uk = /* @__PURE__ */ new WeakMap();-function xce(e, t, n) {- let { keyboardDelegate: r, isDisabled: i, isRequired: a, name: o, form: s, validationBehavior: c = "aria" } = e, l = SD({+var Hk = /* @__PURE__ */ new WeakMap();+function Sce(e, t, n) {+ let { keyboardDelegate: r, isDisabled: i, isRequired: a, name: o, form: s, validationBehavior: c = "aria" } = e, l = xD({usage: "search",sensitivity: "base"- }), u = (0, F.useMemo)(() => r || new wE(t.collection, t.disabledKeys, n, l), [+ }), u = (0, F.useMemo)(() => r || new CE(t.collection, t.disabledKeys, n, l), [r,t.collection,t.disabledKeys,l,n- ]), { menuTriggerProps: d, menuProps: f } = cD({+ ]), { menuTriggerProps: d, menuProps: f } = sD({isDisabled: i,type: "listbox"- }, t, n), { keyboardProps: p } = YC({+ }, t, n), { keyboardProps: p } = JC({shortcuts: {ArrowLeft: () => {if (t.selectionManager.selectionMode === "multiple") return !1;@@ -28848,21 +28848,21 @@ function xce(e, t, n) {allowRepeats: !0,onKeyDown: e.onKeyDown,onKeyUp: e.onKeyUp- }), { typeSelectProps: m } = uD({+ }), { typeSelectProps: m } = lD({keyboardDelegate: u,selectionManager: t.selectionManager,onTypeSelect(e) {t.setSelectedKey(e);}- }), { isInvalid: h, validationErrors: g, validationDetails: _ } = t.displayValidation, { labelProps: v, fieldProps: y, descriptionProps: b, errorMessageProps: x } = $T({+ }), { isInvalid: h, validationErrors: g, validationDetails: _ } = t.displayValidation, { labelProps: v, fieldProps: y, descriptionProps: b, errorMessageProps: x } = QT({...e,labelElementType: "span",isInvalid: h,errorMessage: e.errorMessage || g});t.selectionManager.selectionMode === "multiple" && (m = {});- let S = Uw(e, { labelable: !0 }), C = K(m, d, y), w = zC();- return Uk.set(t, {+ let S = Hw(e, { labelable: !0 }), C = K(m, d, y), w = RC();+ return Hk.set(t, {isDisabled: i,isRequired: a,name: o,@@ -28872,13 +28872,13 @@ function xce(e, t, n) {labelProps: {...v,onClick: () => {- e.isDisabled || (n.current?.focus(), wC("keyboard"));+ e.isDisabled || (n.current?.focus(), CC("keyboard"));}},triggerProps: K(S, {...C,isDisabled: i,- onKeyDown: FC(C.onKeyDown, p.onKeyDown),+ onKeyDown: PC(C.onKeyDown, p.onKeyDown),onKeyUp: p.onKeyUp,"aria-labelledby": [w,@@ -28902,7 +28902,7 @@ function xce(e, t, n) {disallowEmptySelection: !0,linkBehavior: "selection",onBlur: (n) => {- kS(n.currentTarget, n.relatedTarget) || (e.onBlur && e.onBlur(n), e.onFocusChange && e.onFocusChange(!1), t.setFocused(!1));+ OS(n.currentTarget, n.relatedTarget) || (e.onBlur && e.onBlur(n), e.onFocusChange && e.onFocusChange(!1), t.setFocused(!1));},"aria-labelledby": [y["aria-labelledby"], C["aria-label"] && !y["aria-labelledby"] ? C.id : null].filter(Boolean).join(" ")},@@ -28922,13 +28922,13 @@ function xce(e, t, n) {};}// node_modules/react-aria/dist/private/select/HiddenSelect.mjs-function Sce(e, t, n) {- let r = Uk.get(t) || {}, { autoComplete: i, name: a = r.name, form: o = r.form, isDisabled: s = r.isDisabled } = e, { validationBehavior: c, isRequired: l } = r, { visuallyHiddenProps: u } = uE({ style: {+function Cce(e, t, n) {+ let r = Hk.get(t) || {}, { autoComplete: i, name: a = r.name, form: o = r.form, isDisabled: s = r.isDisabled } = e, { validationBehavior: c, isRequired: l } = r, { visuallyHiddenProps: u } = lE({ style: {position: "fixed",top: 0,left: 0} });- zT(e.selectRef, t.defaultValue, t.setValue), BT({+ RT(e.selectRef, t.defaultValue, t.setValue), zT({validationBehavior: c,focus: () => n.current?.focus()}, t, e.selectRef);@@ -28958,8 +28958,8 @@ function Sce(e, t, n) {}};}-function Cce(e) {- let { state: t, triggerRef: n, label: r, name: i, form: a, isDisabled: o } = e, s = (0, F.useRef)(null), c = (0, F.useRef)(null), { containerProps: l, selectProps: u } = Sce({+function wce(e) {+ let { state: t, triggerRef: n, label: r, name: i, form: a, isDisabled: o } = e, s = (0, F.useRef)(null), c = (0, F.useRef)(null), { containerProps: l, selectProps: u } = Cce({...e,selectRef: t.collection.size <= 300 ? s : c}, t, n), d = Array.isArray(t.value) ? t.value : [t.value];@@ -28983,7 +28983,7 @@ function Cce(e) {value: e ?? ""})))));if (i) {- let { validationBehavior: e } = Uk.get(t) || {};+ let { validationBehavior: e } = Hk.get(t) || {};d.length === 0 && (d = [null]);let n = d.map((t, n) => {let r = {@@ -29013,8 +29013,8 @@ function Cce(e) {return null;}// node_modules/react-aria/dist/private/separator/useSeparator.mjs-function wce(e) {- let t = Uw(e, { labelable: !0 }), n;+function Tce(e) {+ let t = Hw(e, { labelable: !0 }), n;return e.orientation === "vertical" && (n = "vertical"), e.elementType === "hr" ? { separatorProps: t } : { separatorProps: {...t,role: "separator",@@ -29022,8 +29022,8 @@ function wce(e) {} };}// node_modules/react-aria/dist/private/switch/useSwitch.mjs-function Tce(e, t, n) {- let { labelProps: r, inputProps: i, isSelected: a, ...o } = XT(e, t, n);+function Ece(e, t, n) {+ let { labelProps: r, inputProps: i, isSelected: a, ...o } = YT(e, t, n);return {labelProps: r,inputProps: {@@ -29036,10 +29036,10 @@ function Tce(e, t, n) {};}// node_modules/react-aria/dist/private/grid/GridKeyboardDelegate.mjs-var Wk = class {+var Uk = 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 Ece(e.layout) : new CE(e.ref)), this.focusMode = e.focusMode ?? "row";+ this.layoutDelegate = e.layoutDelegate || (e.layout ? new Dce(e.layout) : new SE(e.ref)), this.focusMode = e.focusMode ?? "row";}isCell(e) {return e.type === "cell";@@ -29075,7 +29075,7 @@ var Wk = class {let n = this.collection.getItem(e);if (!n) return null;let r = 0;- for (let e of pD(n, this.collection)) {+ for (let e of fD(n, this.collection)) {if (e.colSpan && e.colSpan + r > t || (e.colSpan && (r = r + e.colSpan - 1), r === t)) return e.key ?? null;r++;}@@ -29109,13 +29109,13 @@ var Wk = class {let t = this.collection.getItem(e);if (!t) return null;if (this.isRow(t)) {- let e = pD(t, this.collection);- return (this.direction === "rtl" ? gD(e)?.key : mD(e)?.key) ?? null;+ let e = fD(t, this.collection);+ return (this.direction === "rtl" ? hD(e)?.key : pD(e)?.key) ?? null;}if (this.isCell(t) && t.parentKey != null) {let n = this.collection.getItem(t.parentKey);if (!n) return null;- let r = pD(n, this.collection), i = (this.direction === "rtl" ? hD(r, t.index - 1) : hD(r, t.index + 1)) ?? null;+ let r = fD(n, this.collection), i = (this.direction === "rtl" ? mD(r, t.index - 1) : mD(r, t.index + 1)) ?? null;return i ? i.key ?? null : this.focusMode === "row" ? t.parentKey ?? null : (this.direction === "rtl" ? this.getFirstKey(e) : this.getLastKey(e)) ?? null;}return null;@@ -29124,13 +29124,13 @@ var Wk = class {let t = this.collection.getItem(e);if (!t) return null;if (this.isRow(t)) {- let e = pD(t, this.collection);- return (this.direction === "rtl" ? mD(e)?.key : gD(e)?.key) ?? null;+ let e = fD(t, this.collection);+ return (this.direction === "rtl" ? pD(e)?.key : hD(e)?.key) ?? null;}if (this.isCell(t) && t.parentKey != null) {let n = this.collection.getItem(t.parentKey);if (!n) return null;- let r = pD(n, this.collection), i = (this.direction === "rtl" ? hD(r, t.index + 1) : hD(r, t.index - 1)) ?? null;+ let r = fD(n, this.collection), i = (this.direction === "rtl" ? mD(r, t.index + 1) : mD(r, t.index - 1)) ?? null;return i ? i.key ?? null : this.focusMode === "row" ? t.parentKey ?? null : (this.direction === "rtl" ? this.getLastKey(e) : this.getFirstKey(e)) ?? null;}return null;@@ -29141,13 +29141,13 @@ var Wk = class {if (r = this.collection.getItem(n), !r) return null;if (this.isCell(r) && !t && r.parentKey != null) {let e = this.collection.getItem(r.parentKey);- return e ? mD(pD(e, this.collection))?.key ?? null : null;+ return e ? pD(fD(e, this.collection))?.key ?? null : null;}}if (n = this.findNextKey(void 0, (e) => e.type === "item"), n != null && (r && this.isCell(r) && t || this.focusMode === "cell")) {let e = this.collection.getItem(n);if (!e) return null;- n = mD(pD(e, this.collection))?.key ?? null;+ n = pD(fD(e, this.collection))?.key ?? null;}return n;}@@ -29157,13 +29157,13 @@ var Wk = class {if (r = this.collection.getItem(n), !r) return null;if (this.isCell(r) && !t && r.parentKey != null) {let e = this.collection.getItem(r.parentKey);- return e ? gD(pD(e, this.collection))?.key ?? null : null;+ return e ? hD(fD(e, this.collection))?.key ?? null : null;}}if (n = this.findPreviousKey(void 0, (e) => e.type === "item"), n != null && (r && this.isCell(r) && t || this.focusMode === "cell")) {let e = this.collection.getItem(n);if (!e) return null;- n = gD(pD(e, this.collection))?.key ?? null;+ n = hD(fD(e, this.collection))?.key ?? null;}return n;}@@ -29199,13 +29199,13 @@ var Wk = class {if (!t) return null;if (t.textValue) {let n = t.textValue.slice(0, e.length);- if (this.collator.compare(n, e) === 0) return this.isRow(t) && this.focusMode === "cell" ? mD(pD(t, this.collection))?.key ?? null : t.key;+ if (this.collator.compare(n, e) === 0) return this.isRow(t) && this.focusMode === "cell" ? pD(fD(t, this.collection))?.key ?? null : t.key;}n = this.findNextKey(n, (e) => e.type === "item"), n == null && !a && (n = this.getFirstKey(), a = !0);}return null;}-}, Ece = class {+}, Dce = class {constructor(e) {this.layout = e;}@@ -29218,15 +29218,15 @@ var Wk = class {getVisibleRect() {return this.layout.virtualizer.visibleRect;}-}, Gk = /* @__PURE__ */ new WeakMap();+}, Wk = /* @__PURE__ */ new WeakMap();// node_modules/react-aria/dist/private/grid/useGrid.mjs-function Dce(e, t, n) {+function Oce(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 = SD({+ let h = xD({usage: "search",sensitivity: "base"- }), { direction: g } = Fw(), _ = t.selectionManager.disabledBehavior, v = (0, F.useMemo)(() => a || new Wk({+ }), { direction: g } = Pw(), _ = t.selectionManager.disabledBehavior, v = (0, F.useMemo)(() => a || new Uk({collection: t.collection,disabledKeys: t.disabledKeys,disabledBehavior: _,@@ -29243,7 +29243,7 @@ function Dce(e, t, n) {g,h,o- ]), { collectionProps: y } = fD({+ ]), { collectionProps: y } = dD({ref: n,selectionManager: m,keyboardDelegate: v,@@ -29251,8 +29251,8 @@ function Dce(e, t, n) {scrollRef: s,disallowTypeAhead: i,escapeKeyBehavior: d- }), b = zC(e.id);- Gk.set(t, {+ }), b = RC(e.id);+ Wk.set(t, {keyboardDelegate: v,actions: {onRowAction: l,@@ -29261,42 +29261,42 @@ function Dce(e, t, n) {shouldSelectOnPressUp: f,keyboardNavigationBehavior: p});- let x = xO({+ let x = bO({selectionManager: m,hasItemActions: !!(l || u)- }), S = Uw(e, { labelable: !0 }), C = (0, F.useCallback)((e) => {- m.isFocused ? kS(e.currentTarget, G(e)) || m.setFocused(!1) : kS(e.currentTarget, G(e)) && m.setFocused(!0);+ }), S = Hw(e, { labelable: !0 }), C = (0, F.useCallback)((e) => {+ m.isFocused ? OS(e.currentTarget, G(e)) || m.setFocused(!1) : OS(e.currentTarget, G(e)) && m.setFocused(!0);}, [m]), w = (0, F.useMemo)(() => ({onBlur: y.onBlur,onFocus: C- }), [C, y.onBlur]), T = bO(n, { isDisabled: t.collection.size !== 0 }), E = K(S, {+ }), [C, y.onBlur]), T = yO(n, { isDisabled: t.collection.size !== 0 }), E = K(S, {role: "grid",id: b,"aria-multiselectable": m.selectionMode === "multiple" ? "true" : void 0}, t.isKeyboardNavigationDisabled ? w : y, t.collection.size === 0 && { tabIndex: T ? -1 : 0 } || void 0, x);- return r && (E["aria-rowcount"] = t.collection.size, E["aria-colcount"] = t.collection.columnCount), vO({ getRowText: c }, t), { gridProps: E };+ return r && (E["aria-rowcount"] = t.collection.size, E["aria-colcount"] = t.collection.columnCount), _O({ getRowText: c }, t), { gridProps: E };}// node_modules/react-aria/dist/private/table/utils.mjs-var Kk = /* @__PURE__ */ new WeakMap();-function qk(e) {+var Gk = /* @__PURE__ */ new WeakMap();+function Kk(e) {return typeof e == "string" ? e.replace(/\s*/g, "") : "" + e;}-function Jk(e, t) {- let n = Kk.get(e);+function qk(e, t) {+ let n = Gk.get(e);if (!n) throw Error("Unknown grid");- return `${n}-${qk(t)}`;+ return `${n}-${Kk(t)}`;}-function Yk(e, t, n) {- let r = Kk.get(e);+function Jk(e, t, n) {+ let r = Gk.get(e);if (!r) throw Error("Unknown grid");- return `${r}-${qk(t)}-${qk(n)}`;+ return `${r}-${Kk(t)}-${Kk(n)}`;}-function Xk(e, t) {- return [...e.collection.rowHeaderColumnKeys].map((n) => Yk(e, t, n)).join(" ");+function Yk(e, t) {+ return [...e.collection.rowHeaderColumnKeys].map((n) => Jk(e, t, n)).join(" ");}// node_modules/react-aria/dist/private/intl/table/ar-AE.mjs-var Zk = {};-Zk = {+var Xk = {};+Xk = {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: "طي",@@ -29310,8 +29310,8 @@ Zk = {sortable: "عمود قابل للترتيب"};// node_modules/react-aria/dist/private/intl/table/bg-BG.mjs-var Qk = {};-Qk = {+var Zk = {};+Zk = {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: "Свиване",@@ -29325,8 +29325,8 @@ Qk = {sortable: "сортираща колона"};// node_modules/react-aria/dist/private/intl/table/cs-CZ.mjs-var $k = {};-$k = {+var Qk = {};+Qk = {ascending: "vzestupně",ascendingSort: (e) => `\u{159}azeno vzestupn\u{11B} podle sloupce ${e.columnName}`,collapse: "Sbalit",@@ -29340,8 +29340,8 @@ $k = {sortable: "sloupec s možností řazení"};// node_modules/react-aria/dist/private/intl/table/da-DK.mjs-var eA = {};-eA = {+var $k = {};+$k = {ascending: "stigende",ascendingSort: (e) => `sorteret efter kolonne ${e.columnName} i stigende r\xe6kkef\xf8lge`,collapse: "Skjul",@@ -29355,8 +29355,8 @@ eA = {sortable: "sorterbar kolonne"};// node_modules/react-aria/dist/private/intl/table/de-DE.mjs-var tA = {};-tA = {+var eA = {};+eA = {ascending: "aufsteigend",ascendingSort: (e) => `sortiert nach Spalte ${e.columnName} in aufsteigender Reihenfolge`,collapse: "Reduzieren",@@ -29370,8 +29370,8 @@ tA = {sortable: "sortierbare Spalte"};// node_modules/react-aria/dist/private/intl/table/el-GR.mjs-var nA = {};-nA = {+var tA = {};+tA = {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: "Σύμπτυξη",@@ -29385,8 +29385,8 @@ nA = {sortable: "Στήλη διαλογής"};// node_modules/react-aria/dist/private/intl/table/en-US.mjs-var rA = {};-rA = {+var nA = {};+nA = {select: "Select",selectAll: "Select All",sortable: "sortable column",@@ -29400,8 +29400,8 @@ rA = {collapse: "Collapse"};// node_modules/react-aria/dist/private/intl/table/es-ES.mjs-var iA = {};-iA = {+var rA = {};+rA = {ascending: "ascendente",ascendingSort: (e) => `ordenado por columna ${e.columnName} en sentido ascendente`,collapse: "Contraer",@@ -29415,8 +29415,8 @@ iA = {sortable: "columna ordenable"};// node_modules/react-aria/dist/private/intl/table/et-EE.mjs-var aA = {};-aA = {+var iA = {};+iA = {ascending: "tõusev järjestus",ascendingSort: (e) => `sorditud veeru j\xe4rgi ${e.columnName} t\xf5usvas j\xe4rjestuses`,collapse: "Ahenda",@@ -29430,8 +29430,8 @@ aA = {sortable: "sorditav veerg"};// node_modules/react-aria/dist/private/intl/table/fi-FI.mjs-var oA = {};-oA = {+var aA = {};+aA = {ascending: "nouseva",ascendingSort: (e) => `lajiteltu sarakkeen ${e.columnName} mukaan nousevassa j\xe4rjestyksess\xe4`,collapse: "Pienennä",@@ -29445,8 +29445,8 @@ oA = {sortable: "lajiteltava sarake"};// node_modules/react-aria/dist/private/intl/table/fr-FR.mjs-var sA = {};-sA = {+var oA = {};+oA = {ascending: "croissant",ascendingSort: (e) => `tri\xe9 en fonction de la colonne\xa0${e.columnName} par ordre croissant`,collapse: "Réduire",@@ -29460,8 +29460,8 @@ sA = {sortable: "colonne triable"};// node_modules/react-aria/dist/private/intl/table/he-IL.mjs-var cA = {};-cA = {+var sA = {};+sA = {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: "כווץ",@@ -29475,8 +29475,8 @@ cA = {sortable: "עמודה שניתן למיין"};// node_modules/react-aria/dist/private/intl/table/hr-HR.mjs-var lA = {};-lA = {+var cA = {};+cA = {ascending: "rastući",ascendingSort: (e) => `razvrstano po stupcima ${e.columnName} rastu\u{107}em redoslijedom`,collapse: "Sažmi",@@ -29490,8 +29490,8 @@ lA = {sortable: "stupac koji se može razvrstati"};// node_modules/react-aria/dist/private/intl/table/hu-HU.mjs-var uA = {};-uA = {+var lA = {};+lA = {ascending: "növekvő",ascendingSort: (e) => `rendezve a(z) ${e.columnName} oszlop szerint, n\xf6vekv\u{151} sorrendben`,collapse: "Összecsukás",@@ -29505,8 +29505,8 @@ uA = {sortable: "rendezendő oszlop"};// node_modules/react-aria/dist/private/intl/table/it-IT.mjs-var dA = {};-dA = {+var uA = {};+uA = {ascending: "crescente",ascendingSort: (e) => `in ordine crescente in base alla colonna ${e.columnName}`,collapse: "Comprimi",@@ -29520,8 +29520,8 @@ dA = {sortable: "colonna ordinabile"};// node_modules/react-aria/dist/private/intl/table/ja-JP.mjs-var fA = {};-fA = {+var dA = {};+dA = {ascending: "昇順",ascendingSort: (e) => `\u{5217} ${e.columnName} \u{3092}\u{6607}\u{9806}\u{3067}\u{4E26}\u{3079}\u{66FF}\u{3048}`,collapse: "折りたたむ",@@ -29535,8 +29535,8 @@ fA = {sortable: "並べ替え可能な列"};// node_modules/react-aria/dist/private/intl/table/ko-KR.mjs-var pA = {};-pA = {+var fA = {};+fA = {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: "접기",@@ -29550,8 +29550,8 @@ pA = {sortable: "정렬 가능한 열"};// node_modules/react-aria/dist/private/intl/table/lt-LT.mjs-var mA = {};-mA = {+var pA = {};+pA = {ascending: "didėjančia tvarka",ascendingSort: (e) => `surikiuota pagal stulpel\u{12F} ${e.columnName} did\u{117}jan\u{10D}ia tvarka`,collapse: "Sutraukti",@@ -29565,8 +29565,8 @@ mA = {sortable: "rikiuojamas stulpelis"};// node_modules/react-aria/dist/private/intl/table/lv-LV.mjs-var hA = {};-hA = {+var mA = {};+mA = {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",@@ -29580,8 +29580,8 @@ hA = {sortable: "kārtojamā kolonna"};// node_modules/react-aria/dist/private/intl/table/nb-NO.mjs-var gA = {};-gA = {+var hA = {};+hA = {ascending: "stigende",ascendingSort: (e) => `sortert etter kolonne ${e.columnName} i stigende rekkef\xf8lge`,collapse: "Skjul",@@ -29595,8 +29595,8 @@ gA = {sortable: "kolonne som kan sorteres"};// node_modules/react-aria/dist/private/intl/table/nl-NL.mjs-var _A = {};-_A = {+var gA = {};+gA = {ascending: "oplopend",ascendingSort: (e) => `gesorteerd in oplopende volgorde in kolom ${e.columnName}`,collapse: "Samenvouwen",@@ -29610,8 +29610,8 @@ _A = {sortable: "sorteerbare kolom"};// node_modules/react-aria/dist/private/intl/table/pl-PL.mjs-var vA = {};-vA = {+var _A = {};+_A = {ascending: "rosnąco",ascendingSort: (e) => `posortowano wed\u{142}ug kolumny ${e.columnName} w porz\u{105}dku rosn\u{105}cym`,collapse: "Zwiń",@@ -29625,8 +29625,8 @@ vA = {sortable: "kolumna z możliwością sortowania"};// node_modules/react-aria/dist/private/intl/table/pt-BR.mjs-var yA = {};-yA = {+var vA = {};+vA = {ascending: "crescente",ascendingSort: (e) => `classificado pela coluna ${e.columnName} em ordem crescente`,collapse: "Recolher",@@ -29640,8 +29640,8 @@ yA = {sortable: "coluna classificável"};// node_modules/react-aria/dist/private/intl/table/pt-PT.mjs-var bA = {};-bA = {+var yA = {};+yA = {ascending: "ascendente",ascendingSort: (e) => `Ordenar por coluna ${e.columnName} em ordem ascendente`,collapse: "Colapsar",@@ -29655,8 +29655,8 @@ bA = {sortable: "Coluna ordenável"};// node_modules/react-aria/dist/private/intl/table/ro-RO.mjs-var xA = {};-xA = {+var bA = {};+bA = {ascending: "crescătoare",ascendingSort: (e) => `sortate dup\u{103} coloana ${e.columnName} \xeen ordine cresc\u{103}toare`,collapse: "Restrângeți",@@ -29670,8 +29670,8 @@ xA = {sortable: "coloană sortabilă"};// node_modules/react-aria/dist/private/intl/table/ru-RU.mjs-var SA = {};-SA = {+var xA = {};+xA = {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: "Свернуть",@@ -29685,8 +29685,8 @@ SA = {sortable: "сортируемый столбец"};// node_modules/react-aria/dist/private/intl/table/sk-SK.mjs-var CA = {};-CA = {+var SA = {};+SA = {ascending: "vzostupne",ascendingSort: (e) => `zoraden\xe9 zostupne pod\u{13E}a st\u{13A}pca ${e.columnName}`,collapse: "Zbaliť",@@ -29700,8 +29700,8 @@ CA = {sortable: "zoraditeľný stĺpec"};// node_modules/react-aria/dist/private/intl/table/sl-SI.mjs-var wA = {};-wA = {+var CA = {};+CA = {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",@@ -29715,8 +29715,8 @@ wA = {sortable: "razvrstljivi stolpec"};// node_modules/react-aria/dist/private/intl/table/sr-SP.mjs-var TA = {};-TA = {+var wA = {};+wA = {ascending: "rastući",ascendingSort: (e) => `sortirano po kolonama ${e.columnName} rastu\u{107}im redosledom`,collapse: "Skupi",@@ -29730,8 +29730,8 @@ TA = {sortable: "kolona koja se može sortirati"};// node_modules/react-aria/dist/private/intl/table/sv-SE.mjs-var EA = {};-EA = {+var TA = {};+TA = {ascending: "stigande",ascendingSort: (e) => `sorterat p\xe5 kolumn ${e.columnName} i stigande ordning`,collapse: "Dölj",@@ -29745,8 +29745,8 @@ EA = {sortable: "sorterbar kolumn"};// node_modules/react-aria/dist/private/intl/table/tr-TR.mjs-var DA = {};-DA = {+var EA = {};+EA = {ascending: "artan sırada",ascendingSort: (e) => `${e.columnName} s\xfctuna g\xf6re artan d\xfczende s\u{131}rala`,collapse: "Daralt",@@ -29760,8 +29760,8 @@ DA = {sortable: "Sıralanabilir sütun"};// node_modules/react-aria/dist/private/intl/table/uk-UA.mjs-var OA = {};-OA = {+var DA = {};+DA = {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: "Згорнути",@@ -29775,8 +29775,8 @@ OA = {sortable: "сортувальний стовпець"};// node_modules/react-aria/dist/private/intl/table/zh-CN.mjs-var kA = {};-kA = {+var OA = {};+OA = {ascending: "升序",ascendingSort: (e) => `\u{6309}\u{5217} ${e.columnName} \u{5347}\u{5E8F}\u{6392}\u{5E8F}`,collapse: "折叠",@@ -29790,8 +29790,8 @@ kA = {sortable: "可排序的列"};// node_modules/react-aria/dist/private/intl/table/zh-TW.mjs-var AA = {};-AA = {+var kA = {};+kA = {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: "收合",@@ -29805,45 +29805,45 @@ AA = {sortable: "可排序的欄"};// node_modules/react-aria/dist/private/table/intlStrings.mjs-var jA = {};-jA = {- "ar-AE": Zk,- "bg-BG": Qk,- "cs-CZ": $k,- "da-DK": eA,- "de-DE": tA,- "el-GR": nA,- "en-US": rA,- "es-ES": iA,- "et-EE": aA,- "fi-FI": oA,- "fr-FR": sA,- "he-IL": cA,- "hr-HR": lA,- "hu-HU": uA,- "it-IT": dA,- "ja-JP": fA,- "ko-KR": pA,- "lt-LT": mA,- "lv-LV": hA,- "nb-NO": gA,- "nl-NL": _A,- "pl-PL": vA,- "pt-BR": yA,- "pt-PT": bA,- "ro-RO": xA,- "ru-RU": SA,- "sk-SK": CA,- "sl-SI": wA,- "sr-SP": TA,- "sv-SE": EA,- "tr-TR": DA,- "uk-UA": OA,- "zh-CN": kA,- "zh-TW": AA+var AA = {};+AA = {+ "ar-AE": Xk,+ "bg-BG": Zk,+ "cs-CZ": Qk,+ "da-DK": $k,+ "de-DE": eA,+ "el-GR": tA,+ "en-US": nA,+ "es-ES": rA,+ "et-EE": iA,+ "fi-FI": aA,+ "fr-FR": oA,+ "he-IL": sA,+ "hr-HR": cA,+ "hu-HU": lA,+ "it-IT": uA,+ "ja-JP": dA,+ "ko-KR": fA,+ "lt-LT": pA,+ "lv-LV": mA,+ "nb-NO": hA,+ "nl-NL": gA,+ "pl-PL": _A,+ "pt-BR": vA,+ "pt-PT": yA,+ "ro-RO": bA,+ "ru-RU": xA,+ "sk-SK": SA,+ "sl-SI": CA,+ "sr-SP": wA,+ "sv-SE": TA,+ "tr-TR": EA,+ "uk-UA": DA,+ "zh-CN": OA,+ "zh-TW": kA};// node_modules/react-aria/dist/private/table/TableKeyboardDelegate.mjs-var Oce = class extends Wk {+var kce = class extends Uk {isCell(e) {return e.type === "cell" || e.type === "rowheader" || e.type === "column";}@@ -29851,7 +29851,7 @@ var Oce = class extends Wk {let n = this.collection.getItem(e);if (!n) return null;if (n.type === "column") {- let e = mD(pD(n, this.collection));+ let e = pD(fD(n, this.collection));if (e) return e.key;let t = this.getFirstKey();return t == null || !this.collection.getItem(t) ? null : super.getKeyForItemInRowByIndex(t, n.index);@@ -29872,13 +29872,13 @@ var Oce = class extends Wk {let t = this.findNextKey(e.key, (e) => e.type === "column");if (t != null) return t;let n = this.collection.headerRows[e.level];- for (let e of pD(n, this.collection)) if (e.type === "column") return e.key;+ for (let e of fD(n, this.collection)) if (e.type === "column") return e.key;return null;}findPreviousColumnKey(e) {let t = this.findPreviousKey(e.key, (e) => e.type === "column");if (t != null) return t;- let n = this.collection.headerRows[e.level], r = [...pD(n, this.collection)];+ let n = this.collection.headerRows[e.level], r = [...fD(n, this.collection)];for (let e = r.length - 1; e >= 0; e--) {let t = r[e];if (t.type === "column") return t.key;@@ -29907,7 +29907,7 @@ var Oce = class extends Wk {let t = o.textValue.slice(0, e.length);if (this.collator.compare(t, e) === 0) return o.key;}- for (let r of pD(o, this.collection)) {+ for (let r of fD(o, this.collection)) {let a = n.columns[r.index];if (n.rowHeaderColumnKeys.has(a.key) && r.textValue) {let a = r.textValue.slice(0, e.length);@@ -29920,14 +29920,14 @@ var Oce = class extends Wk {}};// node_modules/react-aria/dist/private/table/useTable.mjs-function kce(e) {+function Ace(e) {return e && e.__esModule ? e.default : e;}-function Ace(e, t, n) {- let { keyboardDelegate: r, isVirtualized: i, layoutDelegate: a, layout: o } = e, s = SD({+function jce(e, t, n) {+ let { keyboardDelegate: r, isVirtualized: i, layoutDelegate: a, layout: o } = e, s = xD({usage: "search",sensitivity: "base"- }), { direction: c } = Fw(), l = t.selectionManager.disabledBehavior, u = (0, F.useMemo)(() => r || new Oce({+ }), { direction: c } = Pw(), l = t.selectionManager.disabledBehavior, u = (0, F.useMemo)(() => r || new kce({collection: t.collection,disabledKeys: t.disabledKeys,disabledBehavior: l,@@ -29946,51 +29946,51 @@ function Ace(e, t, n) {s,a,o- ]), d = zC(e.id);- Kk.set(t, d);- let { gridProps: f } = Dce({+ ]), d = RC(e.id);+ Gk.set(t, d);+ let { gridProps: f } = Oce({...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 = Vw(kce(jA), "@react-aria/table"), g = (0, F.useMemo)(() => {+ let { column: p, direction: m } = t.sortDescriptor || {}, h = Bw(Ace(AA), "@react-aria/table"), g = (0, F.useMemo)(() => {let e = t.collection.columns.find((e) => e.key === p)?.textValue ?? "";return m && p ? h.format(`${m}Sort`, { columnName: e }) : void 0;}, [m,p,t.collection.columns- ]), _ = RT(g);- return jT(() => {- g && AT(g, "assertive", 500);+ ]), _ = LT(g);+ return AT(() => {+ g && kT(g, "assertive", 500);}, [g]), { gridProps: K(f, _, { "aria-describedby": [_["aria-describedby"], f["aria-describedby"]].filter(Boolean).join(" ") }) };}// node_modules/react-aria/dist/private/grid/useGridCell.mjs-function MA(e, t, n) {- let { node: r, isVirtualized: i, focusMode: a, allowsArrowNavigation: o, shouldSelectOnPressUp: s, onAction: c } = e, { direction: l } = Fw(), { keyboardDelegate: u, actions: { onCellAction: d }, keyboardNavigationBehavior: f } = Gk.get(t), p = a ?? (f === "tab" ? "cell" : "child"), m = (0, F.useRef)(null), h = (0, F.useRef)(null), g = () => {+function jA(e, t, n) {+ let { node: r, isVirtualized: i, focusMode: a, allowsArrowNavigation: o, shouldSelectOnPressUp: s, onAction: c } = e, { direction: l } = Pw(), { keyboardDelegate: u, actions: { onCellAction: d }, keyboardNavigationBehavior: f } = Wk.get(t), p = a ?? (f === "tab" ? "cell" : "child"), m = (0, F.useRef)(null), h = (0, F.useRef)(null), g = () => {if (n.current) {- let e = TT(n.current);+ let e = wT(n.current);if (p === "child") {- let i = AS(SS(n.current));- if (MS(n.current) && n.current !== i) return;- let a = SS(n.current);+ let i = kS(xS(n.current));+ if (jS(n.current) && n.current !== i) return;+ let a = xS(n.current);if (!i || i === a.body || i === n.current) {let e = h.current;- if (e && m.current === r.key && kS(n.current, e)) {- PC(e);+ if (e && m.current === r.key && OS(n.current, e)) {+ NC(e);return;}}- let o = t.selectionManager.childFocusStrategy === "last" ? NA(e) : e.firstChild();+ let o = t.selectionManager.childFocusStrategy === "last" ? MA(e) : e.firstChild();if (o) {- PC(o);+ NC(o);return;}}- (m.current != null && r.key !== m.current || !MS(n.current)) && PC(n.current);+ (m.current != null && r.key !== m.current || !jS(n.current)) && NC(n.current);}- }, { itemProps: _, isPressed: v } = CO({+ }, { itemProps: _, isPressed: v } = SO({selectionManager: t.selectionManager,key: r.key,ref: n,@@ -30002,44 +30002,44 @@ function MA(e, t, n) {}), y = K(_, {role: "gridcell",onKeyDownCapture: f !== "tab" || o ? (e) => {- let i = AS(SS(n.current));- if (!kS(e.currentTarget, G(e)) || t.isKeyboardNavigationDisabled || !n.current || !i) return;- let a = TT(n.current);+ let i = kS(xS(n.current));+ if (!OS(e.currentTarget, G(e)) || t.isKeyboardNavigationDisabled || !n.current || !i) return;+ let a = wT(n.current);switch (a.currentNode = i, e.key) {case "ArrowLeft": {let t = l === "rtl" ? a.nextNode() : a.previousNode();- if (p === "child" && t === n.current && (t = null), e.preventDefault(), e.stopPropagation(), t) PC(t), IT(t, { containingElement: NT(n.current) });+ if (p === "child" && t === n.current && (t = null), e.preventDefault(), e.stopPropagation(), t) NC(t), FT(t, { containingElement: MT(n.current) });else {if (u.getKeyLeftOf?.(r.key) !== r.key) {n.current.parentElement?.dispatchEvent(new KeyboardEvent(e.nativeEvent.type, e.nativeEvent));break;}- p === "cell" && l === "rtl" ? (PC(n.current), IT(n.current, { containingElement: NT(n.current) })) : (a.currentNode = n.current, t = l === "rtl" ? a.firstChild() : NA(a), t && (PC(t), IT(t, { containingElement: NT(n.current) })));+ p === "cell" && l === "rtl" ? (NC(n.current), FT(n.current, { containingElement: MT(n.current) })) : (a.currentNode = n.current, t = l === "rtl" ? a.firstChild() : MA(a), t && (NC(t), FT(t, { containingElement: MT(n.current) })));}break;}case "ArrowRight": {let t = l === "rtl" ? a.previousNode() : a.nextNode();- if (p === "child" && t === n.current && (t = null), e.preventDefault(), e.stopPropagation(), t) PC(t), IT(t, { containingElement: NT(n.current) });+ if (p === "child" && t === n.current && (t = null), e.preventDefault(), e.stopPropagation(), t) NC(t), FT(t, { containingElement: MT(n.current) });else {if (u.getKeyRightOf?.(r.key) !== r.key) {n.current.parentElement?.dispatchEvent(new KeyboardEvent(e.nativeEvent.type, e.nativeEvent));break;}- p === "cell" && l === "ltr" ? (PC(n.current), IT(n.current, { containingElement: NT(n.current) })) : (a.currentNode = n.current, t = l === "rtl" ? NA(a) : a.firstChild(), t && (PC(t), IT(t, { containingElement: NT(n.current) })));+ p === "cell" && l === "ltr" ? (NC(n.current), FT(n.current, { containingElement: MT(n.current) })) : (a.currentNode = n.current, t = l === "rtl" ? MA(a) : a.firstChild(), t && (NC(t), FT(t, { containingElement: MT(n.current) })));}break;}case "ArrowUp":- case "ArrowDown": !e.altKey && kS(n.current, G(e)) && (e.stopPropagation(), e.preventDefault(), n.current.parentElement?.dispatchEvent(new KeyboardEvent(e.nativeEvent.type, e.nativeEvent)));+ case "ArrowDown": !e.altKey && OS(n.current, G(e)) && (e.stopPropagation(), e.preventDefault(), n.current.parentElement?.dispatchEvent(new KeyboardEvent(e.nativeEvent.type, e.nativeEvent)));}} : void 0,onKeyDown: f === "tab" ? (e) => {- let r = AS(SS(n.current));- if (kS(e.currentTarget, G(e)) && !t.isKeyboardNavigationDisabled && n.current && r) {+ let r = kS(xS(n.current));+ if (OS(e.currentTarget, G(e)) && !t.isKeyboardNavigationDisabled && n.current && r) {if (f === "tab" && G(e) !== n.current && e.key !== "Tab") e.stopPropagation();else if (e.key === "Tab" && f === "tab") {- let t = TT(n.current, { tabbable: !0 });+ let t = wT(n.current, { tabbable: !0 });t.currentNode = r, (e.shiftKey ? t.previousNode() : t.nextNode()) && e.stopPropagation();}}@@ -30050,9 +30050,9 @@ function MA(e, t, n) {onFocus: (e) => {if (m.current = r.key, G(e) !== n.current) {let i = G(e);- n.current && kS(n.current, i) && (h.current = i), SC() || t.selectionManager.setFocusedKey(r.key);- } else p === "child" && e.relatedTarget && kS(n.current, e.relatedTarget) || requestAnimationFrame(() => {- p === "child" && AS(SS(n.current)) === n.current && g();+ n.current && OS(n.current, i) && (h.current = i), xC() || t.selectionManager.setFocusedKey(r.key);+ } else p === "child" && e.relatedTarget && OS(n.current, e.relatedTarget) || requestAnimationFrame(() => {+ p === "child" && kS(xS(n.current)) === n.current && g();});},...p === "child" && f === "tab" ? { tabIndex: -1 } : {}@@ -30067,7 +30067,7 @@ function MA(e, t, n) {isPressed: v};}-function NA(e) {+function MA(e) {let t = null, n = null;don = e.lastChild(), n && (t = n);@@ -30075,32 +30075,32 @@ function NA(e) {return t;}// node_modules/react-aria/dist/private/table/useTableCell.mjs-function jce(e, t, n) {- let { gridCellProps: r, isPressed: i } = MA(e, t, n), a = e.node.column?.key;- return a != null && t.collection.rowHeaderColumnKeys.has(a) && (r.role = "rowheader", r.id = Yk(t, e.node.parentKey, a)), {+function Mce(e, t, n) {+ let { gridCellProps: r, isPressed: i } = jA(e, t, n), a = e.node.column?.key;+ return a != null && t.collection.rowHeaderColumnKeys.has(a) && (r.role = "rowheader", r.id = Jk(t, e.node.parentKey, a)), {gridCellProps: r,isPressed: i};}// node_modules/react-aria/dist/private/table/useTableColumnHeader.mjs-function Mce(e) {+function Nce(e) {return e && e.__esModule ? e.default : e;}-function Nce(e, t, n) {- let { node: r } = e, i = r.props.allowsSorting, { gridCellProps: a } = MA({+function Pce(e, t, n) {+ let { node: r } = e, i = r.props.allowsSorting, { gridCellProps: a } = jA({focusMode: "child",...e- }, t, n), o = r.props.isSelectionCell && t.selectionManager.selectionMode === "single", { pressProps: s, isPressed: c } = rT({+ }, t, n), o = r.props.isSelectionCell && t.selectionManager.selectionMode === "single", { pressProps: s, isPressed: c } = nT({isDisabled: !i || o,onPress() {t.sort(r.key);},ref: n- }), { focusableProps: l } = $C({}, n), u, d = t.sortDescriptor?.column === r.key, f = t.sortDescriptor?.direction;- r.props.allowsSorting && !ZS() && (u = d ? f : "none");- let p = Vw(Mce(jA), "@react-aria/table"), m;- i && (m = `${p.format("sortable")}`, d && f && ZS() && (m = `${m}, ${p.format(f)}`));- let h = RT(m), g = t.collection.size === 0;+ }), { focusableProps: l } = QC({}, n), u, d = t.sortDescriptor?.column === r.key, f = t.sortDescriptor?.direction;+ r.props.allowsSorting && !XS() && (u = d ? f : "none");+ let p = Bw(Nce(AA), "@react-aria/table"), m;+ i && (m = `${p.format("sortable")}`, d && f && XS() && (m = `${m}, ${p.format(f)}`));+ let h = LT(m), g = t.collection.size === 0;return (0, F.useEffect)(() => {g && t.selectionManager.focusedKey === r.key && t.selectionManager.setFocusedKey(null);}, [@@ -30111,7 +30111,7 @@ function Nce(e, t, n) {columnHeaderProps: {...K(l, a, s, h, g ? { tabIndex: -1 } : null),role: "columnheader",- id: Jk(t, r.key),+ id: qk(t, r.key),"aria-colspan": r.colSpan && r.colSpan > 1 ? r.colSpan : void 0,"aria-sort": u},@@ -30119,17 +30119,17 @@ function Nce(e, t, n) {};}// node_modules/react-aria/dist/private/table/useTableColumnResize.mjs-function Pce(e) {+function Fce(e) {return e && e.__esModule ? e.default : e;}-function Fce(e, t, n) {- let { column: r, triggerRef: i, isDisabled: a, onResizeStart: o, onResize: s, onResizeEnd: c, "aria-label": l } = e, u = Vw(Pce(jA), "@react-aria/table"), d = zC(), f = t.resizingColumn === r.key, p = (0, F.useRef)(f), m = (0, F.useRef)(null), h = (0, F.useRef)(!1), g = t.tableState.isKeyboardNavigationDisabled, [_, v] = (0, F.useState)(!1), { direction: y } = Fw(), b = (0, F.useCallback)((e) => {+function Ice(e, t, n) {+ let { column: r, triggerRef: i, isDisabled: a, onResizeStart: o, onResize: s, onResizeEnd: c, "aria-label": l } = e, u = Bw(Fce(AA), "@react-aria/table"), d = RC(), f = t.resizingColumn === r.key, p = (0, F.useRef)(f), m = (0, F.useRef)(null), h = (0, F.useRef)(!1), g = t.tableState.isKeyboardNavigationDisabled, [_, v] = (0, F.useState)(!1), { direction: y } = Pw(), b = (0, F.useCallback)((e) => {p.current || (m.current = t.updateResizedColumns(e.key, t.getColumnWidth(e.key)), t.startResize(e.key), t.tableState.setKeyboardNavigationDisabled(!0), o?.(m.current)), p.current = !0;}, [t, o]), x = (0, F.useCallback)((e, n) => {let r = t.updateResizedColumns(e.key, n);s?.(r), m.current = r;}, [t, s]), S = (0, F.useCallback)((e) => {- p.current && (m.current ??= t.updateResizedColumns(e.key, t.getColumnWidth(e.key)), t.endResize(), t.tableState.setKeyboardNavigationDisabled(!1), c?.(m.current), p.current = !1, i?.current && !h.current && PC(i.current)), m.current = null;+ p.current && (m.current ??= t.updateResizedColumns(e.key, t.getColumnWidth(e.key)), t.endResize(), t.tableState.setKeyboardNavigationDisabled(!1), c?.(m.current), p.current = !1, i?.current && !h.current && NC(i.current)), m.current = null;}, [t,i,@@ -30137,14 +30137,14 @@ function Fce(e, t, n) {]), C = () => {if (g) S(r);else return !1;- }, { keyboardProps: w } = YC({ shortcuts: {+ }, { keyboardProps: w } = JC({ shortcuts: {Escape: () => C(),Enter: () => {g ? S(r) : b(r);}," ": () => C(),Tab: () => C()- } }), T = (0, F.useRef)(0), { moveProps: E } = cE({+ } }), T = (0, F.useRef)(0), { moveProps: E } = sE({onMoveStart(e) {T.current = t.getColumnWidth(r.key), e.pointerType === "mouse" && v(!0), b(r);},@@ -30160,12 +30160,12 @@ function Fce(e, t, n) {g && E.onKeyDown?.(e);}, [g, E]), O = Math.floor(t.getColumnMinWidth(r.key)), k = Math.floor(t.getColumnMaxWidth(r.key));k === Infinity && (k = 2 ** 53 - 1);- let A = Math.floor(t.getColumnWidth(r.key)), j = TC();+ let A = Math.floor(t.getColumnWidth(r.key)), j = wC();j === "virtual" && typeof window < "u" && "ontouchstart" in window && (j = "touch");- let M = RT(i?.current == null && (j === "keyboard" || j === "virtual") && !f ? u.format("resizerDescription") : void 0), ee = {+ let M = LT(i?.current == null && (j === "keyboard" || j === "virtual") && !f ? u.format("resizerDescription") : void 0), ee = {"aria-label": l,"aria-orientation": "horizontal",- "aria-labelledby": `${d} ${Jk(t.tableState, r.key)}`,+ "aria-labelledby": `${d} ${qk(t.tableState, r.key)}`,"aria-valuetext": u.format("columnSize", { value: A }),type: "range",min: O,@@ -30173,11 +30173,11 @@ function Fce(e, t, n) {value: A,...M}, N = (0, F.useCallback)(() => {- n.current && PC(n.current);- }, [n]), te = t.resizingColumn, P = (0, F.useRef)(null), ne = Dw(b);+ n.current && NC(n.current);+ }, [n]), te = t.resizingColumn, P = (0, F.useRef)(null), ne = Ew(b);(0, F.useEffect)(() => {if (P.current !== te && te != null && te === r.key) {- h.current = AS() === n.current, ne(r);+ h.current = kS() === n.current, ne(r);let e = setTimeout(() => N(), 0), t = setTimeout(N, 400);return () => {clearTimeout(e), clearTimeout(t);@@ -30193,7 +30193,7 @@ function Fce(e, t, n) {let re = (e) => {let n = t.getColumnWidth(r.key), i = parseFloat(G(e).value);i = i > n ? n + 10 : n - 10, x(r, i);- }, { pressProps: I } = rT({+ }, { pressProps: I } = nT({preventFocusOnPress: !0,onPressStart: (e) => {e.ctrlKey || e.altKey || e.metaKey || e.shiftKey || e.pointerType === "keyboard" || (e.pointerType === "virtual" && t.resizingColumn != null ? S(r) : (N(), e.pointerType !== "virtual" && b(r)));@@ -30201,7 +30201,7 @@ function Fce(e, t, n) {onPress: (e) => {(e.pointerType === "touch" && h.current || e.pointerType === "mouse") && t.resizingColumn != null && S(r);}- }), { visuallyHiddenProps: ie } = uE();+ }), { visuallyHiddenProps: ie } = lE();return {resizerProps: K(w, {...E,@@ -30220,19 +30220,19 @@ function Fce(e, t, n) {};}// node_modules/react-aria/dist/private/table/useTableHeaderRow.mjs-function Ice(e, t, n) {+function Lce(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 };}// node_modules/react-aria/dist/private/grid/useGridRow.mjs-function Lce(e, t, n) {- let { node: r, isVirtualized: i, shouldSelectOnPressUp: a, onAction: o } = e, { actions: s, shouldSelectOnPressUp: c } = Gk.get(t), l = s.onRowAction ? () => s.onRowAction?.(r.key) : o, { itemProps: u, ...d } = CO({+function Rce(e, t, n) {+ let { node: r, isVirtualized: i, shouldSelectOnPressUp: a, onAction: o } = e, { actions: s, shouldSelectOnPressUp: c } = Wk.get(t), l = s.onRowAction ? () => s.onRowAction?.(r.key) : o, { itemProps: u, ...d } = SO({selectionManager: t.selectionManager,key: r.key,ref: n,isVirtualized: i,shouldSelectOnPressUp: c || a,- onAction: l || r?.props?.onAction ? FC(r?.props?.onAction, l) : void 0,+ onAction: l || r?.props?.onAction ? PC(r?.props?.onAction, l) : void 0,isDisabled: t.collection.size === 0}), f = t.selectionManager.isSelected(r.key), p = {role: "row",@@ -30246,10 +30246,10 @@ function Lce(e, t, n) {};}// node_modules/react-aria/dist/private/table/useTableRow.mjs-function Rce(e) {+function zce(e) {return e && e.__esModule ? e.default : e;}-var PA = {+var NA = {expand: {ltr: "ArrowRight",rtl: "ArrowLeft"@@ -30259,21 +30259,21 @@ var PA = {rtl: "ArrowRight"}};-function zce(e, t, n) {- let { node: r, isVirtualized: i } = e, { rowProps: a, ...o } = Lce(e, t, n), { direction: s } = Fw();+function Bce(e, t, n) {+ let { node: r, isVirtualized: i } = e, { rowProps: a, ...o } = Rce(e, t, n), { direction: s } = Pw();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 = Vw(Rce(jA), "@react-aria/table"), u = kw({+ let c = t.treeColumn != null && (t.expandedKeys === "all" || t.expandedKeys.has(r.key)), l = Bw(zce(AA), "@react-aria/table"), u = Ow({"aria-label": c ? l.format("collapse") : l.format("expand"),- "aria-labelledby": Xk(t, r.key)+ "aria-labelledby": Yk(t, r.key)}), d = {}, f = {};if (t.treeColumn != null) {let e = t.collection.getItem(r.key);if (e != null) {- let n = FA(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 = FA(t.collection, a);+ let n = PA(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 = PA(t.collection, a);for (; l && l.type !== "item" && l.prevKey != null;) l = t.collection.getItem(l.prevKey);d = {onKeyDown: (n) => {- n.key === PA.expand[s] && t.selectionManager.focusedKey === e.key && i && t.expandedKeys !== "all" && !t.expandedKeys.has(e.key) ? (t.toggleKey(e.key), n.stopPropagation()) : n.key === PA.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 === NA.expand[s] && t.selectionManager.focusedKey === e.key && i && t.expandedKeys !== "all" && !t.expandedKeys.has(e.key) ? (t.toggleKey(e.key), n.stopPropagation()) : n.key === NA.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,@@ -30291,42 +30291,42 @@ function zce(e, t, n) {};}}- let p = tC(r.props), m = o.hasAction ? p : {};+ let p = eC(r.props), m = o.hasAction ? p : {};return {rowProps: {...K(a, d, m),- "aria-labelledby": Xk(t, r.key)+ "aria-labelledby": Yk(t, r.key)},expandButtonProps: f,...o};}-function FA(e, t) {+function PA(e, t) {return "lastChildKey" in t ? t.lastChildKey == null ? null : e.getItem(t.lastChildKey) : Array.from(t.childNodes).findLast((e) => e.parentKey === t.key);}// node_modules/react-aria/dist/private/grid/useGridRowGroup.mjs-function Bce() {+function Vce() {return { rowGroupProps: { role: "rowgroup" } };}// node_modules/react-aria/dist/private/table/useTableRowGroup.mjs-function IA() {- return Bce();+function FA() {+ return Vce();}// node_modules/react-aria/dist/private/table/useTableSelectionCheckbox.mjs-function Vce(e) {+function Hce(e) {return e && e.__esModule ? e.default : e;}-function Hce(e, t) {- let { key: n } = e, { checkboxProps: r } = kO(e, t);+function Uce(e, t) {+ let { key: n } = e, { checkboxProps: r } = OO(e, t);return { checkboxProps: {...r,- "aria-labelledby": `${r.id} ${Xk(t, n)}`+ "aria-labelledby": `${r.id} ${Yk(t, n)}`} };}-function Uce(e) {+function Wce(e) {let { isEmpty: t, isSelectAll: n, selectionMode: r } = e.selectionManager;return { checkboxProps: {- "aria-label": Vw(Vce(jA), "@react-aria/table").format(r === "single" ? "select" : "selectAll"),+ "aria-label": Bw(Hce(AA), "@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,@@ -30334,22 +30334,22 @@ function Uce(e) {} };}// node_modules/react-aria/dist/private/tabs/utils.mjs-var LA = /* @__PURE__ */ new WeakMap();-function RA(e, t, n) {- return e ? (typeof t == "string" && (t = t.replace(/\s+/g, "")), `${LA.get(e)}-${n}-${t}`) : "";+var IA = /* @__PURE__ */ new WeakMap();+function LA(e, t, n) {+ return e ? (typeof t == "string" && (t = t.replace(/\s+/g, "")), `${IA.get(e)}-${n}-${t}`) : "";}// node_modules/react-aria/dist/private/tabs/useTab.mjs-function Wce(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 } = CO({+function Gce(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 } = SO({selectionManager: o,key: r,ref: n,isDisabled: l,shouldSelectOnPressUp: a ?? u?.props.href != null,linkBehavior: "selection"- }), p = RA(t, r, "tab"), m = RA(t, r, "tabpanel"), { tabIndex: h } = d, g = Uw(u?.props, { labelable: !0 });+ }), p = LA(t, r, "tab"), m = LA(t, r, "tabpanel"), { tabIndex: h } = d, g = Hw(u?.props, { labelable: !0 });delete g.id;- let _ = nC(u?.props), { focusableProps: v } = $C({+ let _ = tC(u?.props), { focusableProps: v } = QC({...u?.props,isDisabled: l}, n);@@ -30368,7 +30368,7 @@ function Wce(e, t, n) {};}// node_modules/react-aria/dist/private/tabs/TabsKeyboardDelegate.mjs-var Gce = class {+var Kce = class {constructor(e, t, n, r = /* @__PURE__ */ new Set()) {this.collection = e, this.flipDirection = t === "rtl", this.disabledKeys = r, this.tabDirection = n === "horizontal";}@@ -30411,11 +30411,11 @@ var Gce = class {}};// node_modules/react-aria/dist/private/tabs/useTabList.mjs-function Kce(e, t, n) {- let { orientation: r = "horizontal", keyboardActivation: i = "automatic" } = e, { collection: a, selectionManager: o, disabledKeys: s } = t, { direction: c } = Fw(), { collectionProps: l } = fD({+function qce(e, t, n) {+ let { orientation: r = "horizontal", keyboardActivation: i = "automatic" } = e, { collection: a, selectionManager: o, disabledKeys: s } = t, { direction: c } = Pw(), { collectionProps: l } = dD({ref: n,selectionManager: o,- keyboardDelegate: (0, F.useMemo)(() => new Gce(a, c, r, s), [+ keyboardDelegate: (0, F.useMemo)(() => new Kce(a, c, r, s), [a,s,r,@@ -30425,9 +30425,9 @@ function Kce(e, t, n) {disallowEmptySelection: !0,scrollRef: n,linkBehavior: "selection"- }), u = zC();- return LA.set(t, u), { tabListProps: {- ...K(l, kw({+ }), u = RC();+ return IA.set(t, u), { tabListProps: {+ ...K(l, Ow({...e,id: u})),@@ -30437,12 +30437,12 @@ function Kce(e, t, n) {} };}// node_modules/react-aria/dist/private/tabs/useTabPanel.mjs-function qce(e, t, n) {- let r = bO(n) ? void 0 : 0, i = RA(t, e.id ?? t?.selectedKey, "tabpanel");- return { tabPanelProps: K(kw({+function Jce(e, t, n) {+ let r = yO(n) ? void 0 : 0, i = LA(t, e.id ?? t?.selectedKey, "tabpanel");+ return { tabPanelProps: K(Ow({...e,id: i,- "aria-labelledby": RA(t, t?.selectedKey, "tab")+ "aria-labelledby": LA(t, t?.selectedKey, "tab")}), {tabIndex: r,role: "tabpanel",@@ -30451,265 +30451,265 @@ function qce(e, t, n) {}) };}// node_modules/react-aria/dist/private/tree/useTree.mjs-function Jce(e, t, n) {- let { gridProps: r } = zse(e, t, n);+function Yce(e, t, n) {+ let { gridProps: r } = Bse(e, t, n);return r.role = "treegrid", { gridProps: r };}// node_modules/react-aria/dist/private/intl/tree/ar-AE.mjs-var zA = {};-zA = {+var RA = {};+RA = {collapse: "طي",expand: "تمديد"};// node_modules/react-aria/dist/private/intl/tree/bg-BG.mjs-var BA = {};-BA = {+var zA = {};+zA = {collapse: "Свиване",expand: "Разширяване"};// node_modules/react-aria/dist/private/intl/tree/cs-CZ.mjs-var VA = {};-VA = {+var BA = {};+BA = {collapse: "Sbalit",expand: "Roztáhnout"};// node_modules/react-aria/dist/private/intl/tree/da-DK.mjs-var HA = {};-HA = {+var VA = {};+VA = {collapse: "Skjul",expand: "Udvid"};// node_modules/react-aria/dist/private/intl/tree/de-DE.mjs-var UA = {};-UA = {+var HA = {};+HA = {collapse: "Reduzieren",expand: "Erweitern"};// node_modules/react-aria/dist/private/intl/tree/el-GR.mjs-var WA = {};-WA = {+var UA = {};+UA = {collapse: "Σύμπτυξη",expand: "Ανάπτυξη"};// node_modules/react-aria/dist/private/intl/tree/en-US.mjs-var GA = {};-GA = {+var WA = {};+WA = {expand: "Expand",collapse: "Collapse"};// node_modules/react-aria/dist/private/intl/tree/es-ES.mjs-var KA = {};-KA = {+var GA = {};+GA = {collapse: "Contraer",expand: "Expandir"};// node_modules/react-aria/dist/private/intl/tree/et-EE.mjs-var qA = {};-qA = {+var KA = {};+KA = {collapse: "Ahenda",expand: "Laienda"};// node_modules/react-aria/dist/private/intl/tree/fi-FI.mjs-var JA = {};-JA = {+var qA = {};+qA = {collapse: "Pienennä",expand: "Laajenna"};// node_modules/react-aria/dist/private/intl/tree/fr-FR.mjs-var YA = {};-YA = {+var JA = {};+JA = {collapse: "Réduire",expand: "Développer"};// node_modules/react-aria/dist/private/intl/tree/he-IL.mjs-var XA = {};-XA = {+var YA = {};+YA = {collapse: "כווץ",expand: "הרחב"};// node_modules/react-aria/dist/private/intl/tree/hr-HR.mjs-var ZA = {};-ZA = {+var XA = {};+XA = {collapse: "Sažmi",expand: "Proširi"};// node_modules/react-aria/dist/private/intl/tree/hu-HU.mjs-var QA = {};-QA = {+var ZA = {};+ZA = {collapse: "Összecsukás",expand: "Kibontás"};// node_modules/react-aria/dist/private/intl/tree/it-IT.mjs-var $A = {};-$A = {+var QA = {};+QA = {collapse: "Comprimi",expand: "Espandi"};// node_modules/react-aria/dist/private/intl/tree/ja-JP.mjs-var ej = {};-ej = {+var $A = {};+$A = {collapse: "折りたたむ",expand: "展開"};// node_modules/react-aria/dist/private/intl/tree/ko-KR.mjs-var tj = {};-tj = {+var ej = {};+ej = {collapse: "접기",expand: "펼치기"};// node_modules/react-aria/dist/private/intl/tree/lt-LT.mjs-var nj = {};-nj = {+var tj = {};+tj = {collapse: "Sutraukti",expand: "Išskleisti"};// node_modules/react-aria/dist/private/intl/tree/lv-LV.mjs-var rj = {};-rj = {+var nj = {};+nj = {collapse: "Sakļaut",expand: "Izvērst"};// node_modules/react-aria/dist/private/intl/tree/nb-NO.mjs-var ij = {};-ij = {+var rj = {};+rj = {collapse: "Skjul",expand: "Utvid"};// node_modules/react-aria/dist/private/intl/tree/nl-NL.mjs-var aj = {};-aj = {+var ij = {};+ij = {collapse: "Samenvouwen",expand: "Uitvouwen"};// node_modules/react-aria/dist/private/intl/tree/pl-PL.mjs-var oj = {};-oj = {+var aj = {};+aj = {collapse: "Zwiń",expand: "Rozwiń"};// node_modules/react-aria/dist/private/intl/tree/pt-BR.mjs-var sj = {};-sj = {+var oj = {};+oj = {collapse: "Recolher",expand: "Expandir"};// node_modules/react-aria/dist/private/intl/tree/pt-PT.mjs-var cj = {};-cj = {+var sj = {};+sj = {collapse: "Colapsar",expand: "Expandir"};// node_modules/react-aria/dist/private/intl/tree/ro-RO.mjs-var lj = {};-lj = {+var cj = {};+cj = {collapse: "Restrângeți",expand: "Extindeți"};// node_modules/react-aria/dist/private/intl/tree/ru-RU.mjs-var uj = {};-uj = {+var lj = {};+lj = {collapse: "Свернуть",expand: "Развернуть"};// node_modules/react-aria/dist/private/intl/tree/sk-SK.mjs-var dj = {};-dj = {+var uj = {};+uj = {collapse: "Zbaliť",expand: "Rozbaliť"};// node_modules/react-aria/dist/private/intl/tree/sl-SI.mjs-var fj = {};-fj = {+var dj = {};+dj = {collapse: "Strni",expand: "Razširi"};// node_modules/react-aria/dist/private/intl/tree/sr-SP.mjs-var pj = {};-pj = {+var fj = {};+fj = {collapse: " Skupi",expand: "Proširi"};// node_modules/react-aria/dist/private/intl/tree/sv-SE.mjs-var mj = {};-mj = {+var pj = {};+pj = {collapse: "Dölj",expand: "Expandera"};// node_modules/react-aria/dist/private/intl/tree/tr-TR.mjs-var hj = {};-hj = {+var mj = {};+mj = {collapse: "Daralt",expand: "Genişlet"};// node_modules/react-aria/dist/private/intl/tree/uk-UA.mjs-var gj = {};-gj = {+var hj = {};+hj = {collapse: "Згорнути",expand: "Розгорнути"};// node_modules/react-aria/dist/private/intl/tree/zh-CN.mjs-var _j = {};-_j = {+var gj = {};+gj = {collapse: "折叠",expand: "扩展"};// node_modules/react-aria/dist/private/intl/tree/zh-TW.mjs-var vj = {};-vj = {+var _j = {};+_j = {collapse: "收合",expand: "展開"};// node_modules/react-aria/dist/private/tree/intlStrings.mjs-var yj = {};-yj = {- "ar-AE": zA,- "bg-BG": BA,- "cs-CZ": VA,- "da-DK": HA,- "de-DE": UA,- "el-GR": WA,- "en-US": GA,- "es-ES": KA,- "et-EE": qA,- "fi-FI": JA,- "fr-FR": YA,- "he-IL": XA,- "hr-HR": ZA,- "hu-HU": QA,- "it-IT": $A,- "ja-JP": ej,- "ko-KR": tj,- "lt-LT": nj,- "lv-LV": rj,- "nb-NO": ij,- "nl-NL": aj,- "pl-PL": oj,- "pt-BR": sj,- "pt-PT": cj,- "ro-RO": lj,- "ru-RU": uj,- "sk-SK": dj,- "sl-SI": fj,- "sr-SP": pj,- "sv-SE": mj,- "tr-TR": hj,- "uk-UA": gj,- "zh-CN": _j,- "zh-TW": vj+var vj = {};+vj = {+ "ar-AE": RA,+ "bg-BG": zA,+ "cs-CZ": BA,+ "da-DK": VA,+ "de-DE": HA,+ "el-GR": UA,+ "en-US": WA,+ "es-ES": GA,+ "et-EE": KA,+ "fi-FI": qA,+ "fr-FR": JA,+ "he-IL": YA,+ "hr-HR": XA,+ "hu-HU": ZA,+ "it-IT": QA,+ "ja-JP": $A,+ "ko-KR": ej,+ "lt-LT": tj,+ "lv-LV": nj,+ "nb-NO": rj,+ "nl-NL": ij,+ "pl-PL": aj,+ "pt-BR": oj,+ "pt-PT": sj,+ "ro-RO": cj,+ "ru-RU": lj,+ "sk-SK": uj,+ "sl-SI": dj,+ "sr-SP": fj,+ "sv-SE": pj,+ "tr-TR": mj,+ "uk-UA": hj,+ "zh-CN": gj,+ "zh-TW": _j};// node_modules/react-aria/dist/private/tree/useTreeItem.mjs-function Yce(e) {+function Xce(e) {return e && e.__esModule ? e.default : e;}-function bj(e, t, n) {- let { node: r } = e, i = Bse(e, t, n), a = i.rowProps["aria-expanded"] === !0, o = Vw(Yce(yj), "@react-aria/tree"), s = {+function yj(e, t, n) {+ let { node: r } = e, i = Vse(e, t, n), a = i.rowProps["aria-expanded"] === !0, o = Bw(Xce(vj), "@react-aria/tree"), s = {onPress: () => {i.isDisabled || (t.toggleKey(r.key), t.selectionManager.setFocused(!0), t.selectionManager.setFocusedKey(r.key));},excludeFromTabOrder: !0,preventFocusOnPress: !0,"data-react-aria-prevent-focus": !0,- ...kw({+ ...Ow({"aria-label": a ? o.format("collapse") : o.format("expand"),"aria-labelledby": i.rowProps.id})@@ -30720,15 +30720,15 @@ function bj(e, t, n) {};}// src/react/components/selection-dock.tsx-var xj = "(prefers-reduced-motion: reduce)", Xce = () => matchMedia(xj).matches, Zce = (e) => {- let t = matchMedia(xj);+var bj = "(prefers-reduced-motion: reduce)", Zce = () => matchMedia(bj).matches, Qce = (e) => {+ let t = matchMedia(bj);return t.addEventListener("change", e), () => t.removeEventListener("change", e);-}, Sj = /* @__PURE__ */ new Map(), Cj = () => {+}, xj = /* @__PURE__ */ new Map(), Sj = () => {let e = document.documentElement;- Sj.size ? e.style.setProperty("--selection-dock-space", `${Math.max(...Sj.values())}px`) : e.style.removeProperty("--selection-dock-space");+ xj.size ? e.style.setProperty("--selection-dock-space", `${Math.max(...xj.values())}px`) : e.style.removeProperty("--selection-dock-space");};-function Qce({ children: e, count: t, label: n }) {- let r = (0, F.useRef)(null), i = Ex(), a = (0, F.useSyncExternalStore)(Zce, Xce, () => !1), { isFocusVisible: o } = EC(), s = a || o, c = {+function $ce({ children: e, count: t, label: n }) {+ let r = (0, F.useRef)(null), i = Tx(), a = (0, F.useSyncExternalStore)(Qce, Zce, () => !1), { isFocusVisible: o } = TC(), s = a || o, c = {opacity: 0,transform: "translate(-50%, 8px)"};@@ -30736,12 +30736,12 @@ function Qce({ children: e, count: t, label: n }) {let e = r.current;if (!e || !i) return;let t = () => {- Sj.set(e, Math.ceil(e.offsetHeight + (parseFloat(getComputedStyle(e).bottom) || 0) + 16)), Cj();+ xj.set(e, Math.ceil(e.offsetHeight + (parseFloat(getComputedStyle(e).bottom) || 0) + 16)), Sj();}, n = new ResizeObserver(t);return n.observe(e), window.addEventListener("resize", t), t(), () => {- n.disconnect(), window.removeEventListener("resize", t), Sj.delete(e), Cj();+ n.disconnect(), window.removeEventListener("resize", t), xj.delete(e), Sj();};- }, [i]), /* @__PURE__ */ (0, I.jsxs)(dS.div, {+ }, [i]), /* @__PURE__ */ (0, I.jsxs)(uS.div, {ref: r,role: "group","aria-label": n,@@ -30774,17 +30774,17 @@ function Qce({ children: e, count: t, label: n }) {}), e]});}-function wj({ visible: e, ...t }) {- return /* @__PURE__ */ (0, I.jsx)(kx, { children: e ? /* @__PURE__ */ (0, I.jsx)(Qce, { ...t }, "selection") : null });+function Cj({ visible: e, ...t }) {+ return /* @__PURE__ */ (0, I.jsx)(Ox, { children: e ? /* @__PURE__ */ (0, I.jsx)($ce, { ...t }, "selection") : null });}// src/react/batch-dock/batch-dock-api.ts-var Tj = {+var wj = {group: "clear",operation: "clear",label: "取消",glyph: "x"};-function $ce(e, t = !1) {+function ele(e, t = !1) {switch (e) {case "trash": return [{@@ -30800,7 +30800,7 @@ function $ce(e, t = !1) {glyph: "trash",danger: !0},- Tj+ wj];case "junk": return [t ? {@@ -30821,7 +30821,7 @@ function $ce(e, t = !1) {glyph: "trash",danger: !0},- Tj+ wj];case "follow": return [{@@ -30842,7 +30842,7 @@ function $ce(e, t = !1) {label: "忽略",glyph: "eye-off"},- Tj+ wj];default: return [{@@ -30876,38 +30876,38 @@ function $ce(e, t = !1) {glyph: "trash",danger: !0},- Tj+ wj];}}// src/react/batch-dock/batch-dock-island.tsx-var Ej = null, Dj = {+var Tj = null, Ej = {count: 0,context: "catalog",junkDismissed: !1-}, Oj = /* @__PURE__ */ new Set();-function ele(e) {- return Oj.add(e), () => {- Oj.delete(e);+}, Dj = /* @__PURE__ */ new Set();+function tle(e) {+ return Dj.add(e), () => {+ Dj.delete(e);};}-function tle() {- for (let e of [...Oj]) e();+function nle() {+ for (let e of [...Dj]) e();}-var nle = { render(e) {- Dj = e, (0, Rt.flushSync)(tle);+var rle = { render(e) {+ Ej = e, (0, Rt.flushSync)(nle);} };-function rle(e) {- return Ej = e, nle;+function ile(e) {+ return Tj = e, rle;}-function ile() {- let e = (0, F.useSyncExternalStore)(ele, () => Dj);- return Ej ? /* @__PURE__ */ (0, I.jsx)(ale, {- host: Ej,+function ale() {+ let e = (0, F.useSyncExternalStore)(tle, () => Ej);+ return Tj ? /* @__PURE__ */ (0, I.jsx)(ole, {+ host: Tj,props: e}) : null;}-function ale({ host: e, props: t }) {+function ole({ host: e, props: t }) {let n = t.count > 0;return (0, F.useLayoutEffect)(() => {document.body.toggleAttribute("data-batch-dock-open", n);@@ -30917,11 +30917,11 @@ function ale({ host: e, props: t }) {className: "peach-react","data-batch-scope": "","data-context": t.context,- children: /* @__PURE__ */ (0, I.jsx)(wj, {+ children: /* @__PURE__ */ (0, I.jsx)(Cj, {label: "所选项目操作",visible: t.count > 0,count: `已选 ${t.count.toLocaleString()} 项`,- children: $ce(t.context, t.junkDismissed).map((t) => /* @__PURE__ */ (0, I.jsxs)("button", {+ children: ele(t.context, t.junkDismissed).map((t) => /* @__PURE__ */ (0, I.jsxs)("button", {type: "button","data-batch-group": t.group,"data-batch-action": t.operation,@@ -30937,11 +30937,11 @@ function ale({ host: e, props: t }) {});}// src/number-setting.ts-function kj(e, t, n, r) {+function Oj(e, t, n, r) {return Number.isInteger(e) && e >= t && e <= n ? e : r;}// src/settings-store.ts-function ole(e, t) {+function sle(e, t) {let n = /* @__PURE__ */ new Set(), r = 0, i = () => {r += 1, n.forEach((e) => e());};@@ -30960,7 +30960,7 @@ function ole(e, t) {};}// src/sort-preferences.ts-var Aj = [+var kj = [["seed", "随机"],["rating", "评分"],["o", "高潮计数"],@@ -30969,7 +30969,7 @@ var Aj = [["size", "体积"],["new", "入库时间"],["played", "观看时间"]-], jj = ["release", "发行时间"], Mj = [...Aj, jj].map(([e]) => e), Nj = {+], Aj = ["release", "发行时间"], jj = [...kj, Aj].map(([e]) => e), Mj = {rating: ["从高到低", "从低到高"],o: ["从多到少", "从少到多"],plays: ["从多到少", "从少到多"],@@ -30978,43 +30978,43 @@ var Aj = [new: ["从新到旧", "从旧到新"],played: ["从近到远", "从远到近"],release: ["从新到旧", "从旧到新"]-}, Pj = {+}, Nj = {big: ["size", "desc"],short: ["dur", "asc"],long: ["dur", "desc"]-}, Fj = (e, t, n = Nj) => (n[e] || [])[+(t === "asc")] || "", Ij = (e, t = Nj) => t[e] ? "desc" : "";-function Lj(e, t, n, r = Nj) {+}, Pj = (e, t, n = Mj) => (n[e] || [])[+(t === "asc")] || "", Fj = (e, t = Mj) => t[e] ? "desc" : "";+function Ij(e, t, n, r = Mj) {return e === t ? r[e] ? {sort: e,dir: n === "asc" ? "desc" : "asc"} : null : {sort: e,- dir: Ij(e, r)+ dir: Fj(e, r)};}-function Rj(e, t, n) {+function Lj(e, t, n) {return e === "seed" ? "" : e === t && n === "asc" ? "asc" : "desc";}-function zj(e, t, n, r, i = n) {- let a = e ? Pj[e] : void 0, o = a ? a[0] : e, s = o && Mj.includes(o) ? o : i;- return Nj[s] ? {+function Rj(e, t, n, r, i = n) {+ let a = e ? Nj[e] : void 0, o = a ? a[0] : e, s = o && jj.includes(o) ? o : i;+ return Mj[s] ? {sort: s,- dir: t === "asc" || t === "desc" ? t : a ? a[1] : e ? "desc" : Rj(s, n, r)+ dir: t === "asc" || t === "desc" ? t : a ? a[1] : e ? "desc" : Lj(s, n, r)} : {sort: s,dir: ""};}// src/appearance/home-glow.ts-var Bj = [+var zj = ["spot1","spot2","spot3"-], sle = [+], cle = ["光晕一","光晕二","光晕三"-], Vj = "native", Hj = [+], Bj = "native", Vj = [["ash","灰雾",@@ -31320,7 +31320,7 @@ var Bj = ["rose"],[- Vj,+ Bj,"玻璃原色",{spot1: {@@ -31338,7 +31338,7 @@ var Bj = [},"blue"]-], Uj = (e) => e === Vj, Wj = [...Hj.map(([e, t]) => [e, t]), ["custom", "自定义"]], cle = (e) => (Wj.find(([t]) => t === e) || Wj[0])[1], Gj = (e) => structuredClone((Hj.find(([t]) => t === e) || Hj[0])[2]), Kj = [+], Hj = (e) => e === Bj, Uj = [...Vj.map(([e, t]) => [e, t]), ["custom", "自定义"]], lle = (e) => (Uj.find(([t]) => t === e) || Uj[0])[1], Wj = (e) => structuredClone((Vj.find(([t]) => t === e) || Vj[0])[2]), Gj = [["red", "红"],["orange", "橙"],["amber", "琥珀"],@@ -31351,7 +31351,7 @@ var Bj = [["violet", "紫罗兰"],["fuchsia", "品红"],["rose", "玫红"]-], qj = "blue", Jj = (e) => Kj.some(([t]) => t === e) ? e : qj, lle = (e) => (Hj.find(([t]) => t === e) || [])[3] || "blue", ule = [+], Kj = "blue", qj = (e) => Gj.some(([t]) => t === e) ? e : Kj, ule = (e) => (Vj.find(([t]) => t === e) || [])[3] || "blue", dle = [["all", "全部"],["gray", "灰"],["red", "红"],@@ -31361,7 +31361,7 @@ var Bj = [["blue", "蓝"],["purple", "紫"],["brown", "棕"]-], dle = [+], fle = [["gray","云灰",@@ -31757,11 +31757,11 @@ var Bj = ["霁蓝","#6686b8"]-], Yj = (e, t, n, r) => Number.isInteger(e) && e >= t && e <= n ? e : r, Xj = (e, t) => /^#[0-9a-f]{6}$/i.test(String(e)) ? String(e).toLowerCase() : t, fle = (e, t) => `rgba(${[+], Jj = (e, t, n, r) => Number.isInteger(e) && e >= t && e <= n ? e : r, Yj = (e, t) => /^#[0-9a-f]{6}$/i.test(String(e)) ? String(e).toLowerCase() : t, ple = (e, t) => `rgba(${[1,3,5-].map((t) => parseInt(e.slice(t, t + 2), 16)).join(",")},${(t / 100).toFixed(2)})`, ple = {+].map((t) => parseInt(e.slice(t, t + 2), 16)).join(",")},${(t / 100).toFixed(2)})`, mle = {strength: [0,100,@@ -31787,7 +31787,7 @@ var Bj = [100,50]-}, Zj = {+}, Xj = {on: !0,preset: "ash",strength: 100,@@ -31795,56 +31795,56 @@ var Bj = [speed: 100,soften: 50,size: 50,- ...Gj("ash")+ ...Wj("ash")};-function Qj(e) {- let t = e && typeof e == "object" ? e : {}, n = Wj.some(([e]) => e === t.preset), r = n ? t.preset : "ash", i = Gj(r === "custom" ? "ash" : r), a = {+function Zj(e) {+ let t = e && typeof e == "object" ? e : {}, n = Uj.some(([e]) => e === t.preset), r = n ? t.preset : "ash", i = Wj(r === "custom" ? "ash" : r), a = {on: t.on !== !1,preset: r};- for (let [e, [n, r, i]] of Object.entries(ple)) a[e] = Yj(+t[e], n, r, i);- for (let e of Bj) {+ for (let [e, [n, r, i]] of Object.entries(mle)) a[e] = Jj(+t[e], n, r, i);+ for (let e of zj) {let r = n && t[e] && typeof t[e] == "object" ? t[e] : {}, o = i[e];a[e] = {- color: Xj(r.color, o.color),- alpha: Yj(+r.alpha, 0, 100, o.alpha)+ color: Yj(r.color, o.color),+ alpha: Jj(+r.alpha, 0, 100, o.alpha)};}return a;}-var mle = (e) => `conic-gradient(from -90deg,${e.map((t, n) => `${t} ${(n * 100 / e.length).toFixed(3)}% ${((n + 1) * 100 / e.length).toFixed(3)}%`).join(",")})`, $j = /* @__PURE__ */ new WeakMap();-function hle(e, t) {+var hle = (e) => `conic-gradient(from -90deg,${e.map((t, n) => `${t} ${(n * 100 / e.length).toFixed(3)}% ${((n + 1) * 100 / e.length).toFixed(3)}%`).join(",")})`, Qj = /* @__PURE__ */ new WeakMap();+function gle(e, t) {if (!e) return;- let n = $j.get(e);- n || (n = /* @__PURE__ */ new Map(), $j.set(e, n));- let r = t.on && !Uj(t.preset), i = (t, r) => {+ let n = Qj.get(e);+ n || (n = /* @__PURE__ */ new Map(), Qj.set(e, n));+ let r = t.on && !Hj(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"), Bj.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"), zj.forEach((e, n) => {let r = t[e];- i(`--glow-spot-${n + 1}-color`, fle(r.color, r.alpha));+ i(`--glow-spot-${n + 1}-color`, ple(r.color, r.alpha));});}-function gle(e, t) {+function _le(e, t) {if (!e) return;- let n = !t.on || Uj(t.preset);+ let n = !t.on || Hj(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));}// src/appearance/settings.ts-var _le = "peach.settings.v1", vle = [+var vle = "peach.settings.v1", yle = ["system","light","dark"-], eM = [+], $j = [0,7,30,90-], yle = [+], ble = ["feedHideGroupCompilations","feedHideSoloCompilations","feedHideExcerpts"-], tM = {+], eM = {batchSize: 60,defaultSort: "seed",sortDefaultsVersion: 3,@@ -31865,56 +31865,56 @@ var _le = "peach.settings.v1", vle = [theme: "system",groupCollapse: !0,sidebarOrder: [...Bl],- homeGlow: Zj,- accent: qj,+ homeGlow: Xj,+ accent: Kj,performerNameLanguage: "zh-CN"-}, nM = (e, t, n) => t.includes(e) ? e : n;-function ble(e) {+}, tM = (e, t, n) => t.includes(e) ? e : n;+function xle(e) {let t = e && typeof e == "object" ? e : {}, n = {- ...tM,+ ...eM,...t};- n.followInitialDays = eM.includes(+n.followInitialDays) ? +n.followInitialDays : 30, delete n.rotateMinutes;+ n.followInitialDays = $j.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 = Pj[n.defaultSort];- return i < 3 && a && (n.defaultSort = a[0], r = !0), n.sortDefaultsVersion = 3, n.batchSize = kj(+n.batchSize, 1, 200, 60), n.defaultSort = nM(n.defaultSort, Mj, "seed"), n.hoverDelaySeconds = kj(+n.hoverDelaySeconds, 0, 60, 5), n.seekSeconds = kj(+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 = kj(+n.searchHistoryLimit, 0, 50, 10), n.relatedLimit = kj(+n.relatedLimit, 0, 60, 20), n.feedLimit = kj(+n.feedLimit, 1, 100, 12), Object.assign(n, $a(n)), n.theme = nM(n.theme, vle, "system"), n.performerNameLanguage = nM(n.performerNameLanguage, ["zh-CN", "ja"], "zh-CN"), n.homeGlow = Qj(n.homeGlow), n.accent = Jj(n.accent), n.sidebarOrder = Wl(n.sidebarOrder), {+ let a = Nj[n.defaultSort];+ return i < 3 && a && (n.defaultSort = a[0], r = !0), n.sortDefaultsVersion = 3, n.batchSize = Oj(+n.batchSize, 1, 200, 60), n.defaultSort = tM(n.defaultSort, jj, "seed"), n.hoverDelaySeconds = Oj(+n.hoverDelaySeconds, 0, 60, 5), n.seekSeconds = Oj(+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 = Oj(+n.searchHistoryLimit, 0, 50, 10), n.relatedLimit = Oj(+n.relatedLimit, 0, 60, 20), n.feedLimit = Oj(+n.feedLimit, 1, 100, 12), Object.assign(n, $a(n)), n.theme = tM(n.theme, yle, "system"), n.performerNameLanguage = tM(n.performerNameLanguage, ["zh-CN", "ja"], "zh-CN"), n.homeGlow = Zj(n.homeGlow), n.accent = qj(n.accent), n.sidebarOrder = Wl(n.sidebarOrder), {settings: n,migrated: r};}-function xle(e) {+function Sle(e) {let t = {};try {t = JSON.parse(e.getItem("peach.settings.v1") || "{}");} catch {}- return ble(t);+ return xle(t);}-var rM = null;-function iM() {- if (rM) return rM;- let { settings: e, migrated: t } = xle(localStorage);- return rM = ole(_le, e), t && rM.save(), rM;+var nM = null;+function rM() {+ if (nM) return nM;+ let { settings: e, migrated: t } = Sle(localStorage);+ return nM = sle(vle, e), t && nM.save(), nM;}-function aM(e, t, n = iM()) {+function iM(e, t, n = rM()) {let r = n.value, i = e?.performerNameLanguage;(i === "zh-CN" || i === "ja") && i !== r.performerNameLanguage && (r.performerNameLanguage = i, n.save(), t("performerNameLanguage"));let a = e && e.followInitialDays;- eM.includes(a) && (r.followInitialDays = a, n.save());- for (let t of yle) typeof e?.[t] == "boolean" && e[t] !== r[t] && (r[t] = e[t], n.save());+ $j.includes(a) && (r.followInitialDays = a, n.save());+ for (let t of ble) typeof e?.[t] == "boolean" && e[t] !== r[t] && (r[t] = e[t], n.save());let o = e && e.searchHistoryLimit;- Number.isInteger(o) && o >= 0 && o <= 50 ? o !== r.searchHistoryLimit && (r.searchHistoryLimit = kj(o, 0, 50, 10), n.save(), t("searchHistoryLimit")) : e && e.searchHistoryLimit === null && r.searchHistoryLimit !== tM.searchHistoryLimit && Sle(n);+ Number.isInteger(o) && o >= 0 && o <= 50 ? o !== r.searchHistoryLimit && (r.searchHistoryLimit = Oj(o, 0, 50, 10), n.save(), t("searchHistoryLimit")) : e && e.searchHistoryLimit === null && r.searchHistoryLimit !== eM.searchHistoryLimit && Cle(n);let s = Array.isArray(e && e.sidebarOrder) ? e.sidebarOrder : null;s && s.length && s.join(",") !== r.sidebarOrder.join(",") && (r.sidebarOrder = s, n.save());}-function Sle(e = iM()) {+function Cle(e = rM()) {return Tn("/api/settings", {method: "POST",body: JSON.stringify({ searchHistoryLimit: e.value.searchHistoryLimit })}).catch(() => {});}// src/appearance/theme.ts-var Cle = [+var wle = [["system","跟随系统",@@ -31930,31 +31930,31 @@ var Cle = ["深色","moon"]-], wle = null, oM = () => wle ??= matchMedia("(prefers-color-scheme: dark)"), sM = null;-function Tle() {- return sM || (sM = document.createElement("style"), sM.textContent = "*:not(.board-theme-thumb),*::before,*::after{transition:none!important}"), sM.isConnected || document.head.append(sM), () => {+], Tle = null, aM = () => Tle ??= matchMedia("(prefers-color-scheme: dark)"), oM = null;+function Ele() {+ return oM || (oM = document.createElement("style"), oM.textContent = "*:not(.board-theme-thumb),*::before,*::after{transition:none!important}"), oM.isConnected || document.head.append(oM), () => {getComputedStyle(document.documentElement).opacity;let e = () => {- cancelAnimationFrame(t), clearTimeout(n), sM?.remove();+ cancelAnimationFrame(t), clearTimeout(n), oM?.remove();}, t = requestAnimationFrame(e), n = setTimeout(e, 100);};}-function cM(e = iM().value.theme) {- let t = Tle(), n = document.documentElement;+function sM(e = rM().value.theme) {+ let t = Ele(), n = document.documentElement;e === "system" ? delete n.dataset.theme : n.dataset.theme = e;- let r = e === "dark" || e === "system" && oM().matches;+ let r = e === "dark" || e === "system" && aM().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 lM = !1;-function Ele() {- lM || (lM = !0, oM().addEventListener("change", () => {- iM().value.theme === "system" && cM();+var cM = !1;+function Dle() {+ cM || (cM = !0, aM().addEventListener("change", () => {+ rM().value.theme === "system" && sM();}));}// src/appearance/layout.ts-var uM = [[+var lM = [["big","大图","maximize"@@ -31962,7 +31962,7 @@ var uM = [["small","小图","layout-grid"-]], dM = [[+]], uM = [["big","大图","maximize"@@ -31970,7 +31970,7 @@ var uM = [["small","小图","layout-grid"-]], fM = [[+]], dM = [["fixed","固定比例","layout-grid"@@ -31978,127 +31978,127 @@ var uM = [["masonry","瀑布流","columns-2"-]], pM = .75, mM = () => iM().value, hM = (e = mM()) => Qa(e.javLayout), Dle = (e = mM()) => Qa(e.homeLayout), gM = (e, t = mM()) => e ? Dle(t) : hM(t), _M = dM.map(([e]) => e), vM = fM.map(([e]) => e), yM = (e = mM()) => nM(e.photoSize, _M, "small"), bM = (e = mM()) => nM(e.photoLayout, vM, "masonry"), xM = null;-function SM(e, t = mM()) {+]], fM = .75, pM = () => rM().value, mM = (e = pM()) => Qa(e.javLayout), Ole = (e = pM()) => Qa(e.homeLayout), hM = (e, t = pM()) => e ? Ole(t) : mM(t), gM = uM.map(([e]) => e), _M = dM.map(([e]) => e), vM = (e = pM()) => tM(e.photoSize, gM, "small"), yM = (e = pM()) => tM(e.photoLayout, _M, "masonry"), bM = null;+function xM(e, t = pM()) {let n = {active: e.active,- size: gM(e.home, t),+ size: hM(e.home, t),portrait: e.portrait,javImage: t.javImage- }, r = xM;- return (!r || Object.keys(n).some((e) => n[e] !== r[e])) && (xM = n), xM;+ }, r = bM;+ return (!r || Object.keys(n).some((e) => n[e] !== r[e])) && (bM = n), bM;}-function CM(e) {- return e.portrait ? 9 / 16 : e.active && e.size === "big" ? pM : 16 / 9;+function SM(e) {+ return e.portrait ? 9 / 16 : e.active && e.size === "big" ? fM : 16 / 9;}-function Ole(e, t = iM()) {+function kle(e, t = rM()) {t.value.homeLayout = Qa(e), t.save();}-function wM(e, t = iM()) {+function CM(e, t = rM()) {t.value.javLayout = Qa(e), t.save();}-function kle(e, t = iM()) {+function Ale(e, t = rM()) {t.value.homeLayout = t.value.javLayout = Qa(e), t.save();}-function Ale(e, t = iM()) {- t.value.photoSize = nM(e, _M, "small"), t.save();+function jle(e, t = rM()) {+ t.value.photoSize = tM(e, gM, "small"), t.save();}-function TM(e, t = iM()) {- t.value.photoLayout = nM(e, vM, "masonry"), t.save();+function wM(e, t = rM()) {+ t.value.photoLayout = tM(e, _M, "masonry"), t.save();}// src/appearance/density.ts-var EM = "density", DM = {+var TM = "density", EM = {big: "336px",dense: "168px"-}, OM = () => localStorage.getItem(EM) === "dense" ? "dense" : "big";-function kM(e, t) {- let [n, r] = dM;+}, DM = () => localStorage.getItem(TM) === "dense" ? "dense" : "big";+function OM(e, t) {+ let [n, r] = uM;if (e.querySelector("[data-icon-swap]")) qs(e, t === r[0] ? "b" : "a");else {let i = e.querySelector(":scope > [data-glass-drift]");e.innerHTML = Ks(n[2], r[2], t === r[0] ? "b" : "a"), i && e.append(i);}- AM(e, "aria-label", t === "big" ? "切换为小图" : "切换为大图");+ kM(e, "aria-label", t === "big" ? "切换为小图" : "切换为大图");}-function AM(e, t, n) {+function kM(e, t, n) {e.getAttribute(t) !== n && e.setAttribute(t, n);}-var jM = () => document.querySelector("#density");-function MM(e = OM()) {+var AM = () => document.querySelector("#density");+function jM(e = DM()) {let t = document.documentElement;- t.style.getPropertyValue("--tile") !== DM[e] && t.style.setProperty("--tile", DM[e]), AM(document.body, "data-density", e);- let n = jM();- n && (AM(n, "aria-pressed", String(e === "dense")), AM(n, "title", "当前:" + (e === "big" ? "大图" : "密集")), kM(n, e === "big" ? "big" : "small"));+ t.style.getPropertyValue("--tile") !== EM[e] && t.style.setProperty("--tile", EM[e]), kM(document.body, "data-density", e);+ let n = AM();+ n && (kM(n, "aria-pressed", String(e === "dense")), kM(n, "title", "当前:" + (e === "big" ? "大图" : "密集")), OM(n, e === "big" ? "big" : "small"));}-function jle() {- let e = OM() === "big" ? "dense" : "big";- localStorage.setItem(EM, e), MM(e);+function Mle() {+ let e = DM() === "big" ? "dense" : "big";+ localStorage.setItem(TM, e), jM(e);}-function Mle(e) {- let t = jM();- t && (AM(t, "aria-pressed", String(e === "small")), AM(t, "title", "当前:" + (e === "big" ? "大图" : "小图")), kM(t, e));+function Nle(e) {+ let t = AM();+ t && (kM(t, "aria-pressed", String(e === "small")), kM(t, "title", "当前:" + (e === "big" ? "大图" : "小图")), OM(t, e));}// src/appearance/glow.ts-function NM(e = iM()) {- hle(document.querySelector(".glowlayer"), e.value.homeGlow);+function MM(e = rM()) {+ gle(document.querySelector(".glowlayer"), e.value.homeGlow);}-var PM = 0;-function FM(e = iM()) {- PM ||= requestAnimationFrame(() => {- PM = 0, NM(e);+var NM = 0;+function PM(e = rM()) {+ NM ||= requestAnimationFrame(() => {+ NM = 0, MM(e);});}-function IM(e = iM()) {- gle(document.documentElement, e.value.homeGlow);+function FM(e = rM()) {+ _le(document.documentElement, e.value.homeGlow);}-function LM(e = iM()) {+function IM(e = rM()) {document.documentElement.dataset.accent = e.value.accent;}-var RM = (e, t, n) => ({+var LM = (e, t, n) => ({key: e,label: t,- native: Uj(e),- fill: Uj(e) ? "" : mle(n)+ native: Hj(e),+ fill: Hj(e) ? "" : hle(n)});-function Nle(e) {- let t = Hj.map(([e, t, n]) => RM(e, t, Bj.map((e) => n[e].color)));- return e.preset === "custom" && t.push(RM("custom", "自定义", Bj.map((t) => e[t].color))), t;+function Ple(e) {+ let t = Vj.map(([e, t, n]) => LM(e, t, zj.map((e) => n[e].color)));+ return e.preset === "custom" && t.push(LM("custom", "自定义", zj.map((t) => e[t].color))), t;}-var Ple = Kj;-function Fle(e, t = iM()) {+var Fle = Gj;+function Ile(e, t = rM()) {if (e === "custom") return;let n = t.value.homeGlow;- n.preset = e, Object.assign(n, Gj(e)), t.value.accent = lle(e), t.save(), FM(t), IM(t), LM(t);+ n.preset = e, Object.assign(n, Wj(e)), t.value.accent = ule(e), t.save(), PM(t), FM(t), IM(t);}-function Ile(e, t = iM()) {- t.value.accent = Jj(e), t.save(), LM(t);+function Lle(e, t = rM()) {+ t.value.accent = qj(e), t.save(), IM(t);}-function Lle(e = iM()) {+function Rle(e = rM()) {let t = e.value.homeGlow;- t.preset = Zj.preset, Object.assign(t, Gj(t.preset)), e.value.accent = qj, e.save(), FM(e), IM(e), LM(e);+ t.preset = Xj.preset, Object.assign(t, Wj(t.preset)), e.value.accent = Kj, e.save(), PM(e), FM(e), IM(e);}-function zM(e, t) {- e.style.setProperty("--glow-swatch", t.on ? t.spot1.color : "var(--color-accent-500)"), e.toggleAttribute("data-glow-native", t.on && Uj(t.preset)), e.toggleAttribute("data-glow-off", !t.on);+function RM(e, t) {+ e.style.setProperty("--glow-swatch", t.on ? t.spot1.color : "var(--color-accent-500)"), e.toggleAttribute("data-glow-native", t.on && Hj(t.preset)), e.toggleAttribute("data-glow-off", !t.on);}-function Rle(e, t = iM()) {- return zM(e, t.value.homeGlow), t.subscribe(() => zM(e, t.value.homeGlow));+function zle(e, t = rM()) {+ return RM(e, t.value.homeGlow), t.subscribe(() => RM(e, t.value.homeGlow));}// src/react/components/glow-preset-grid.tsx-function BM({ store: e, label: t, hidden: n }) {+function zM({ store: e, label: t, hidden: n }) {let r = e.value.homeGlow;return /* @__PURE__ */ (0, I.jsx)("div", {"data-glow-grid": "",role: "group","aria-label": t,hidden: n,- children: Nle(r).map((t) => /* @__PURE__ */ (0, I.jsx)("button", {+ children: Ple(r).map((t) => /* @__PURE__ */ (0, I.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: () => Fle(t.key, e),+ onClick: () => Ile(t.key, e),children: /* @__PURE__ */ (0, I.jsx)("span", {"data-glow-ball": "","aria-hidden": "true",@@ -32109,14 +32109,14 @@ function BM({ store: e, label: t, hidden: n }) {});}// src/react/glow-picker/glow-picker-island.tsx-var VM = null;-function zle(e) {- VM = e;+var BM = null;+function Ble(e) {+ BM = e;}-function Ble() {- return VM ? /* @__PURE__ */ (0, I.jsx)(Vle, { host: VM }) : null;+function Vle() {+ return BM ? /* @__PURE__ */ (0, I.jsx)(Hle, { host: BM }) : null;}-function Vle({ host: e }) {+function Hle({ host: e }) {let { store: t } = e;(0, F.useSyncExternalStore)(t.subscribe, t.version);let { homeGlow: n, accent: r } = t.value;@@ -32128,11 +32128,11 @@ function Vle({ host: e }) {children: [/* @__PURE__ */ (0, I.jsx)("span", { children: "光晕" }), /* @__PURE__ */ (0, I.jsx)("button", {type: "button","data-glow-preset-reset": "",- onClick: () => Lle(t),+ onClick: () => Rle(t),children: "重置"})]}),- /* @__PURE__ */ (0, I.jsx)(BM, {+ /* @__PURE__ */ (0, I.jsx)(zM, {store: t,label: "光晕",hidden: !n.on@@ -32146,14 +32146,14 @@ function Vle({ host: e }) {"data-accent-grid": "",role: "group","aria-label": "强调色",- children: Ple.map(([e, n]) => /* @__PURE__ */ (0, I.jsx)("button", {+ children: Fle.map(([e, n]) => /* @__PURE__ */ (0, I.jsx)("button", {type: "button","data-glow-chip": "","data-accent": e,"aria-pressed": e === r,title: n,"aria-label": n,- onClick: () => Ile(e, t),+ onClick: () => Lle(e, t),children: /* @__PURE__ */ (0, I.jsx)("span", {"data-glow-ball": "","aria-hidden": "true",@@ -32171,31 +32171,31 @@ function Vle({ host: e }) {] });}// src/player/host.ts-var HM = null;-function Hle(e) {- HM = e;+var VM = null;+function Ule(e) {+ VM = e;}-function UM() {- if (!HM) throw Error("播放器还没有接上宿主(configurePlayer)");- return HM;+function HM() {+ if (!VM) throw Error("播放器还没有接上宿主(configurePlayer)");+ return VM;}// src/player/menu.ts-var WM = null;-function Ule(e) {- WM = e;+var UM = null;+function Wle(e) {+ UM = e;}-function Wle() {+function Gle() {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 GM = null, KM = (e, t) => t ? e.replace("<svg", `<svg ${t}=""`) : e;-function qM() {+var WM = null, GM = (e, t) => t ? e.replace("<svg", `<svg ${t}=""`) : e;+function KM() {let e = document.getElementById("playerMenu");e?.matches(":popover-open") && e.hidePopover(), e && e.parentElement !== document.body && document.body.append(e), e && ls(e, () => {e.innerHTML = "";- }), GM &&= (GM(), null);+ }), WM &&= (WM(), null);}-async function Gle(e) {+async function Kle(e) {try {return await navigator.clipboard.writeText(e), !0;} catch {@@ -32208,8 +32208,8 @@ async function Gle(e) {return t.remove(), n;}}-function Kle(e) {- let t = !!WM?.inMiniplayer(e), n = e.peachItem, r = WM?.kind(e) ?? "item", i = (t) => {+function qle(e) {+ let t = !!UM?.inMiniplayer(e), n = e.peachItem, r = UM?.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);@@ -32225,7 +32225,7 @@ function Kle(e) {}return t && i.searchParams.set("t", String(Math.floor(e.currentTime() || 0))), i.href;}, a = (e, t) => {- Gle(i(e)).then((e) => UM().toast(e ? t : "复制失败,请手动复制地址栏", {+ Kle(i(e)).then((e) => HM().toast(e ? t : "复制失败,请手动复制地址栏", {timeout: 4e3,warn: !e}));@@ -32237,11 +32237,11 @@ function Kle(e) {}, t ? {icon: "maximize-2",label: "展开",- run: () => WM?.expand()+ run: () => UM?.expand()} : {icon: "picture-in-picture-2",label: "迷你播放器",- run: () => WM?.toMiniplayer()+ run: () => UM?.toMiniplayer()}];document.pictureInPictureEnabled && o.push({icon: "player-pip",@@ -32264,29 +32264,29 @@ function Kle(e) {run: () => s.click()}), o;}-function qle(e, t, n) {- let r = Wle();- qM();- let i = UM().stage();+function Jle(e, t, n) {+ let r = Gle();+ KM();+ let i = HM().stage();i instanceof HTMLDialogElement && i.open && i.append(r), r.setAttribute("popover", "manual");- let a = Kle(e);+ let a = qle(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}">${KM(R(e.icon), e.fill ? "data-player-menu-fill" : "")}<span>${z(e.label)}</span>${n ? KM(R("check"), "data-player-menu-check") : ""}</button>`;+ return `<button type="button" role="${n ? "menuitemcheckbox" : "menuitem"}"${n ? ` aria-checked="${e.checked}"` : ""} data-player-menu="${t}">${GM(R(e.icon), e.fill ? "data-player-menu-fill" : "")}<span>${z(e.label)}</span>${n ? GM(R("check"), "data-player-menu-check") : ""}</button>`;}).join(""), cs(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)];- qM(), n?.run();+ KM(), n?.run();};});let s = (e) => {- r.contains(e.target) || qM();+ r.contains(e.target) || KM();}, c = (e) => {if (e.key === "Escape") {- e.preventDefault(), e.stopPropagation(), qM();+ e.preventDefault(), e.stopPropagation(), KM();return;}if (e.key !== "ArrowDown" && e.key !== "ArrowUp") return;@@ -32294,49 +32294,49 @@ function qle(e, t, n) {let t = o.indexOf(document.activeElement);o[(t + (e.key === "ArrowDown" ? 1 : -1) + o.length) % o.length]?.focus();}, l = (t) => {- ds(t, e.el()) && qM();+ ds(t, e.el()) && KM();};setTimeout(() => {document.addEventListener("pointerdown", s, !0), document.addEventListener("keydown", c, !0), window.addEventListener("scroll", l, {capture: !0,passive: !0});- }, 0), GM = () => {+ }, 0), WM = () => {document.removeEventListener("pointerdown", s, !0), document.removeEventListener("keydown", c, !0), window.removeEventListener("scroll", l, !0);}, o[0]?.focus();}-function Jle(e) {+function Yle(e) {e.el().addEventListener("contextmenu", (t) => {- t.target.closest(".vjs-peach-settings-menu") || (t.preventDefault(), qle(e, t.clientX, t.clientY));- }), e.on("dispose", qM);+ t.target.closest(".vjs-peach-settings-menu") || (t.preventDefault(), Jle(e, t.clientX, t.clientY));+ }), e.on("dispose", KM);}// src/player/registry.ts-var JM = null, YM = () => JM;-function XM(e) {- JM = e;+var qM = null, JM = () => qM;+function YM(e) {+ qM = e;}-function ZM(e) {+function XM(e) {e && !e.isDisposed() && requestAnimationFrame(() => {e.isDisposed() || e.trigger("resize");});}// src/player/stats.ts-function QM(e) {+function ZM(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 Yle(e) {+function Xle(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 $M = 3e3;-function eN(e, t) {+var QM = 3e3;+function $M(e, t) {let n = Number(e) || 0, r = qn(t) || 0;return n > 0 && r > 0 ? n * 8 / r : 0;}-function Xle(e) {+function Zle(e) {let t = [], n = null, r = 0, i = 0;return {bitrate: Number(e) || 0,@@ -32351,10 +32351,10 @@ function Xle(e) {},sample(e) {if (!e) return i;- let a = performance.now(), o = Yle(e), s = e.currentTime || 0;+ let a = performance.now(), o = Xle(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 > $M * 2 && (t.length = 0);+ !i && c > 0 && (r += c), e * 1e3 > QM * 2 && (t.length = 0);}for (n = {at: a,@@ -32363,55 +32363,55 @@ function Xle(e) {}, t.push({at: a,advanced: r- }); t.length > 2 && a - t[0].at > $M;) t.shift();+ }); t.length > 2 && a - t[0].at > QM;) 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 tN = 24;-function nN(e, t) {- e.push(Number.isFinite(t) && t > 0 ? t : 0), e.length > tN && e.splice(0, e.length - tN);+var eN = 24;+function tN(e, t) {+ e.push(Number.isFinite(t) && t > 0 ? t : 0), e.length > eN && e.splice(0, e.length - eN);}-var rN = "peach-player-panel";-function iN(e, t, n, r) {- let i = [...Array(Math.max(0, tN - e.length)).fill(null), ...e], a = Math.max(1, n || 0), o = i.map((e) => {+var nN = "peach-player-panel";+function rN(e, t, n, r) {+ let i = [...Array(Math.max(0, eN - 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 Zle() {+function Qle() {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 aN(e, t = "") {+function iN(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 oN(e, t = "") {- let n = aN(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 aN(e, t = "") {+ let n = iN(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 sN(e, t, n = "", r = null) {+function oN(e, t, n = "", r = null) {let i = 0;try {i = Number(e?.bandwidth?.()) || 0;} catch {}- return i > 0 ? i : r ? Number(r.bits) || 0 : oN(t, n);+ return i > 0 ? i : r ? Number(r.bits) || 0 : aN(t, n);}-function cN(e) {+function sN(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 Qle(e, t) {- return e > 0 ? cN(e) : t > 0 ? `已缓冲 ${Math.round(t)} 秒` : cN(0);+function $le(e, t) {+ return e > 0 ? sN(e) : t > 0 ? `已缓冲 ${Math.round(t)} 秒` : sN(0);}// src/player/subtitle-style.ts-var lN = {+var cN = {font: {label: "字体",values: [@@ -32514,7 +32514,7 @@ var lN = {["shadow", "阴影"]]}-}, uN = {+}, lN = {font: "sans",size: "100",color: "white",@@ -32524,7 +32524,7 @@ var lN = {window: "black",windowOpacity: "0",edge: "shadow"-}, dN = "peach.caption-style.v1", $le = {+}, uN = "peach.caption-style.v1", eue = {white: "255,255,255",yellow: "255,255,0",green: "0,255,0",@@ -32533,7 +32533,7 @@ var lN = {magenta: "255,0,255",red: "255,0,0",black: "0,0,0"-}, eue = {+}, tue = {sans: "Arial,sans-serif",mono: "Consolas,monospace",serif: "Georgia,serif",@@ -32541,28 +32541,28 @@ var lN = {casual: "\"Comic Sans MS\",sans-serif",cursive: "cursive","small-caps": "Arial,sans-serif"-}, tue = {+}, nue = {none: "none",raised: "-1px -1px 0 #ddd,1px 1px 0 #222",depressed: "1px 1px 0 #ddd,-1px -1px 0 #222",outline: "-1px -1px 0 #000,1px -1px 0 #000,-1px 1px 0 #000,1px 1px 0 #000",shadow: "2px 2px 3px #000"};-function nue() {+function rue() {let e = {};try {- e = JSON.parse(localStorage.getItem(dN) || "{}") || {};+ e = JSON.parse(localStorage.getItem(uN) || "{}") || {};} catch {}- return Object.fromEntries(Object.entries(uN).map(([t, n]) => [t, lN[t].values.some(([n]) => n === e[t]) ? e[t] : n]));+ return Object.fromEntries(Object.entries(lN).map(([t, n]) => [t, cN[t].values.some(([n]) => n === e[t]) ? e[t] : n]));}-function fN(e, t, n, r) {- let i = nue(), a = /* @__PURE__ */ new Set(), o = document.createElement("div");+function dN(e, t, n, r) {+ let i = rue(), a = /* @__PURE__ */ new Set(), o = document.createElement("div");o.className = "vjs-peach-captions", o.setAttribute("aria-hidden", "true");let s = document.createElement("div");s.className = "vjs-peach-caption-window", o.append(s), e.querySelector("media-container").append(o), e.dataset.peachCaptions = "";let c = () => {- let t = (e, t) => `rgba(${$le[e]},${Number(t) / 100})`;- e.style.setProperty("--peach-caption-font", eue[i.font]), e.style.setProperty("--peach-caption-scale", String(Number(i.size) / 100)), e.style.setProperty("--peach-caption-color", t(i.color, i.opacity)), e.style.setProperty("--peach-caption-background", t(i.background, i.backgroundOpacity)), e.style.setProperty("--peach-caption-window", t(i.window, i.windowOpacity)), e.style.setProperty("--peach-caption-edge", tue[i.edge]), e.style.setProperty("--peach-caption-variant", i.font === "small-caps" ? "small-caps" : "normal");+ let t = (e, t) => `rgba(${eue[e]},${Number(t) / 100})`;+ e.style.setProperty("--peach-caption-font", tue[i.font]), e.style.setProperty("--peach-caption-scale", String(Number(i.size) / 100)), e.style.setProperty("--peach-caption-color", t(i.color, i.opacity)), e.style.setProperty("--peach-caption-background", t(i.background, i.backgroundOpacity)), e.style.setProperty("--peach-caption-window", t(i.window, i.windowOpacity)), e.style.setProperty("--peach-caption-edge", nue[i.edge]), e.style.setProperty("--peach-caption-variant", i.font === "small-caps" ? "small-caps" : "normal");}, l = () => {s.replaceChildren();for (let e of t.textTracks) if (e.mode === "showing" && ["subtitles", "captions"].includes(e.kind)) for (let t of Array.from(e.activeCues || [])) {@@ -32578,15 +32578,15 @@ function fN(e, t, n, r) {if (!n.aborted) {if (e.caption_style) {let t = {- ...uN,+ ...lN,...e.caption_style};- for (let e of Object.keys(uN)) a.has(e) || (i[e] = t[e]);+ for (let e of Object.keys(lN)) a.has(e) || (i[e] = t[e]);c();} else {let e = !1;try {- e = !!localStorage.getItem(dN);+ e = !!localStorage.getItem(uN);} catch {}e && !a.size && r.save({ caption_style: i }).catch(() => {});}@@ -32594,18 +32594,18 @@ function fN(e, t, n, r) {}), {current: () => i,set(e, t) {- lN[e].values.some(([e]) => e === t) && (a.add(e), i = {+ cN[e].values.some(([e]) => e === t) && (a.add(e), i = {...i,[e]: t}, c(), r?.save({ caption_style: { [e]: t } }).catch(() => {}));},reset() {- Object.keys(uN).forEach((e) => a.add(e)), i = { ...uN }, c(), r?.save({ caption_style: i }).catch(() => {});+ Object.keys(lN).forEach((e) => a.add(e)), i = { ...lN }, c(), r?.save({ caption_style: i }).catch(() => {});}};}// src/player/memory.ts-var pN = /* @__PURE__ */ new Map(), mN = /* @__PURE__ */ new WeakMap(), rue = class {+var fN = /* @__PURE__ */ new Map(), pN = /* @__PURE__ */ new WeakMap(), iue = class {cleanup = new AbortController();reading;listeners = /* @__PURE__ */ new Set();@@ -32633,7 +32633,7 @@ var pN = /* @__PURE__ */ new Map(), mN = /* @__PURE__ */ new WeakMap(), rue = cl}load() {return this.url ? this.reading ||= (async () => {- await pN.get(this.url)?.catch(() => {});+ await fN.get(this.url)?.catch(() => {});let e = await Tn(this.url, { signal: this.cleanup.signal });return this.cleanup.signal.aborted || (this.restored = e, this.restorers.forEach((t) => t(e)), this.changed()), e;})().catch((e) => {@@ -32645,7 +32645,7 @@ var pN = /* @__PURE__ */ new Map(), mN = /* @__PURE__ */ new WeakMap(), rue = cl}save(e) {if (!this.url) return Promise.resolve();- let t = (pN.get(this.url) || Promise.resolve()).catch(() => {}).then(async () => {+ let t = (fN.get(this.url) || Promise.resolve()).catch(() => {}).then(async () => {let t = {...this.unsaved,...e,@@ -32672,8 +32672,8 @@ var pN = /* @__PURE__ */ new Map(), mN = /* @__PURE__ */ new WeakMap(), rue = clthis.changed();}});- return pN.set(this.url, t), t.finally(() => {- pN.get(this.url) === t && pN.delete(this.url);+ return fN.set(this.url, t), t.finally(() => {+ fN.get(this.url) === t && fN.delete(this.url);}).catch(() => {}), t;}async retry() {@@ -32682,12 +32682,12 @@ var pN = /* @__PURE__ */ new Map(), mN = /* @__PURE__ */ new WeakMap(), rue = cl} catch {}}};-function hN(e) {- let t = mN.get(e);- return t || (t = new rue(e), mN.set(e, t)), t;+function mN(e) {+ let t = pN.get(e);+ return t || (t = new iue(e), pN.set(e, t)), t;}-function gN(e, t) {- let n = hN(e), r = Number(e.playbackRate()) || 1, i = !1, a = () => {+function hN(e, t) {+ let n = mN(e), r = Number(e.playbackRate()) || 1, i = !1, a = () => {t.defaultPlaybackRate = r, Number(e.playbackRate()) !== r && e.playbackRate(r);};return n.restore((t) => {@@ -32700,7 +32700,7 @@ function gN(e, t) {};}// src/player/subtitle-memory.ts-var _N = class {+var gN = class {player;video;changed;@@ -32711,7 +32711,7 @@ var _N = class {ready;error = "";constructor(e, t, n = () => {}) {- this.player = e, this.video = t, this.changed = n, this.memory = hN(e);+ this.player = e, this.video = t, this.changed = n, this.memory = mN(e);let r = this.cleanup.signal;t.textTracks.addEventListener("addtrack", () => {this.apply(), this.changed();@@ -32808,7 +32808,7 @@ var _N = class {throw a.remove(), URL.revokeObjectURL(i), e;}}-}, vN = () => "<svg viewBox=\"0 0 36 36\" aria-hidden=\"true\"><path d=\"M11,11 C9.89,11 9,11.9 9,13 L9,23 C9,24.1 9.89,25 11,25 L25,25 C26.1,25 27,24.1 27,23 L27,13 C27,11.9 26.1,11 25,11 L11,11 Z M17,17 L15.5,17 L15.5,16.5 L13.5,16.5 L13.5,19.5 L15.5,19.5 L15.5,19 L17,19 L17,20 C17,20.55 16.55,21 16,21 L13,21 C12.45,21 12,20.55 12,20 L12,16 C12,15.45 12.45,15 13,15 L16,15 C16.55,15 17,15.45 17,16 L17,17 L17,17 Z M24,17 L22.5,17 L22.5,16.5 L20.5,16.5 L20.5,19.5 L22.5,19.5 L22.5,19 L24,19 L24,20 C24,20.55 23.55,21 23,21 L20,21 C19.45,21 19,20.55 19,20 L19,16 C19,15.45 19.45,15 20,15 L23,15 C23.55,15 24,15.45 24,16 L24,17 L24,17 Z\"/></svg>", iue = class {+}, _N = () => "<svg viewBox=\"0 0 36 36\" aria-hidden=\"true\"><path d=\"M11,11 C9.89,11 9,11.9 9,13 L9,23 C9,24.1 9.89,25 11,25 L25,25 C26.1,25 27,24.1 27,23 L27,13 C27,11.9 26.1,11 25,11 L11,11 Z M17,17 L15.5,17 L15.5,16.5 L13.5,16.5 L13.5,19.5 L15.5,19.5 L15.5,19 L17,19 L17,20 C17,20.55 16.55,21 16,21 L13,21 C12.45,21 12,20.55 12,20 L12,16 C12,15.45 12.45,15 13,15 L16,15 C16.55,15 17,15.45 17,16 L17,17 L17,17 Z M24,17 L22.5,17 L22.5,16.5 L20.5,16.5 L20.5,19.5 L22.5,19.5 L22.5,19 L24,19 L24,20 C24,20.55 23.55,21 23,21 L20,21 C19.45,21 19,20.55 19,20 L19,16 C19,15.45 19.45,15 20,15 L23,15 C23.55,15 24,15.45 24,16 L24,17 L24,17 Z\"/></svg>", aue = class {player;video;panels;@@ -32827,7 +32827,7 @@ var _N = class {more = !1;searched = !1;constructor(e, t, n) {- this.player = e, this.video = t, this.panels = n, this.styles = fN(e.el(), t, this.cleanup.signal, hN(e)), this.cc = e.el().querySelector(".vjs-subtitles-control > button"), this.cc.innerHTML = vN(), this.cc.onclick = () => {+ this.player = e, this.video = t, this.panels = n, this.styles = dN(e.el(), t, this.cleanup.signal, mN(e)), this.cc = e.el().querySelector(".vjs-subtitles-control > button"), this.cc.innerHTML = _N(), this.cc.onclick = () => {let e = this.tracks().find((e) => e.mode === "showing");e ? (this.last = e, this.select(null)) : this.tracks().length ? this.select(this.last && this.tracks().includes(this.last) ? this.last : this.tracks()[0]) : this.show();}, this.input.type = "file", this.input.accept = ".srt,.ass,.ssa,.vtt", this.input.hidden = !0, this.input.setAttribute("aria-label", "加载字幕文件"), e.el().append(this.input), this.input.addEventListener("change", () => {@@ -32837,7 +32837,7 @@ var _N = class {this.sync(), this.page === "tracks" && this.show(0);}, { signal: this.cleanup.signal }), e.on("dispose", () => {this.hide(), this.cleanup.abort();- }), this.session = new _N(e, t, () => {+ }), this.session = new gN(e, t, () => {this.sync(), this.page === "tracks" && this.show(0);}), this.sync();}@@ -32885,7 +32885,7 @@ var _N = class {}options(e = 1) {this.page = "options";- let t = this.styles.current(), n = this.panel(this.header("字幕选项") + `<div class="vjs-peach-panel-menu">${Object.entries(lN).map(([e, n]) => {+ let t = this.styles.current(), n = this.panel(this.header("字幕选项") + `<div class="vjs-peach-panel-menu">${Object.entries(cN).map(([e, n]) => {let r = n.values.find(([n]) => n === t[e])?.[1] || "";return `<button type="button" class="vjs-peach-caption-setting" data-subtitle-style="${e}"><span>${z(n.label)}</span><b>${z(r)}</b>${R("player-menu-next")}</button>`;}).join("")}<button type="button" class="vjs-peach-caption-action" data-subtitle-reset>重置</button></div>`, () => this.show(-1), e);@@ -32897,7 +32897,7 @@ var _N = class {}styleOptions(e) {this.page = "style";- let t = lN[e];+ let t = cN[e];this.panel(this.header(t.label) + `<div class="vjs-peach-panel-menu">${t.values.map(([t, n]) => {let r = this.styles.current()[e] === t;return `<button type="button" class="vjs-peach-menu-option" role="menuitemradio" aria-checked="${r}" data-subtitle-value="${z(t)}"><span class="vjs-peach-option-check">${r ? R("check") : ""}</span><span class="vjs-peach-option-label">${z(n)}</span></button>`;@@ -33013,7 +33013,7 @@ var _N = class {}};// src/player/timeline.ts-function aue(e, t) {+function oue(e, t) {if (!Number.isFinite(e) || e < 0 || t.frames <= 0) return null;if (!t.cues?.length) return t.interval > 0 ? Math.min(t.frames - 1, Math.floor(e / t.interval)) : null;let n = 0, r = t.cues.length;@@ -33025,8 +33025,8 @@ function aue(e, t) {return !a || e >= a[1] && (i !== t.cues.length - 1 || e !== a[1]) ? null : i;}// src/player/rotation.ts-function yN(e, t) {- let n = 0, r = !1, i = hN(e), a = e.el(), o = a.querySelector("media-container") || a, s = [+function vN(e, t) {+ let n = 0, r = !1, i = mN(e), a = e.el(), o = a.querySelector("media-container") || a, s = ["width","height","inset",@@ -33054,7 +33054,7 @@ function yN(e, t) {};}// src/player/pip.ts-function oue(e, t, n, r) {+function sue(e, t, n, r) {let i = e.el().querySelector("video");if (!i || !t) return;let a = t, o = !!document.pictureInPictureEnabled && typeof i.requestPictureInPicture == "function" || typeof i.webkitSetPresentationMode == "function";@@ -33086,7 +33086,7 @@ function oue(e, t, n, r) {});}// src/player/controls.ts-function bN(e, t, n = "") {+function yN(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));@@ -33097,27 +33097,27 @@ function bN(e, t, n = "") {};return o(), o;}-function xN(e, t) {+function bN(e, t) {e?.closest(".video-js")?.querySelector(`.vjs-control-bar ${t}`)?.click();}-function sue(e, t = !0) {- let n = UM(), r = n.settings();+function cue(e, t = !0) {+ let n = HM(), 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 SN = /* @__PURE__ */ new WeakMap();-function CN(e) {+var xN = /* @__PURE__ */ new WeakMap();+function SN(e) {if (!e) return;- let t = UM().settings().theaterMode;- e.setAttribute("aria-pressed", String(t)), e.querySelector("use")?.setAttribute("href", t ? "#i-theater-exit" : "#i-theater-enter"), SN.get(e)?.(t ? "默认视图" : "影院模式");+ let t = HM().settings().theaterMode;+ e.setAttribute("aria-pressed", String(t)), e.querySelector("use")?.setAttribute("href", t ? "#i-theater-exit" : "#i-theater-enter"), xN.get(e)?.(t ? "默认视图" : "影院模式");}-function wN(e, t = !0) {- let n = UM(), r = n.settings();+function CN(e, t = !0) {+ let n = HM(), r = n.settings();r.theaterMode = !!e, t && n.saveSettings();let i = n.stage();- i?.toggleAttribute("data-theater", r.theaterMode), CN(i?.querySelector("[data-player-theater]")), ZM(YM());+ i?.toggleAttribute("data-theater", r.theaterMode), SN(i?.querySelector("[data-player-theater]")), XM(JM());}-function cue(e) {- let t = UM().stage(), n = t?.querySelector("[data-ambient-canvas]");+function lue(e) {+ let t = HM().stage(), n = t?.querySelector("[data-ambient-canvas]");if (!t || !n) return () => {};let r = n.getContext("2d", { alpha: !1 });if (!r) return () => {};@@ -33140,9 +33140,9 @@ function cue(e) {}, u = (t) => {e.requestVideoFrameCallback ? e.requestVideoFrameCallback((e) => d(t, e)) : requestAnimationFrame((e) => d(t, e));}, d = (t, n) => {- i || t !== o || (UM().settings().ambientMode ? e.paused || (!document.hidden && n - a > 480 && (a = n, l()), u(t)) : c());+ i || t !== o || (HM().settings().ambientMode ? e.paused || (!document.hidden && n - a > 480 && (a = n, l()), u(t)) : c());}, f = () => {- !i && UM().settings().ambientMode && (l(), e.paused || u(++o));+ !i && HM().settings().ambientMode && (l(), e.paused || u(++o));}, p = (e) => {let n = !!e.detail.enabled;t.toggleAttribute("data-ambient", n), n ? f() : (o++, c());@@ -33151,7 +33151,7 @@ function cue(e) {i = !0, o++, document.removeEventListener("peachambientchange", p), e.removeEventListener("play", f), e.removeEventListener("loadeddata", f), c();};}-function TN(e, t, n = 0, r = null) {+function wN(e, t, n = 0, r = null) {let i = e.el().querySelector(".vjs-control-bar");if (!i || i.querySelector("[data-player-quality]")) return;let a = document.createElement("div");@@ -33161,8 +33161,8 @@ function TN(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]");- bN(s, "设置");- let l = a.querySelector(".vjs-peach-settings-menu"), u = yN(e, t), d = gN(e, t), f = hN(e), p, m = typeof e.qualityLevels == "function" ? e.qualityLevels() : null, h = r, g = "auto", _ = (e, t) => {+ yN(s, "设置");+ let l = a.querySelector(".vjs-peach-settings-menu"), u = vN(e, t), d = hN(e, t), f = mN(e), p, m = typeof e.qualityLevels == "function" ? e.qualityLevels() : null, h = r, g = "auto", _ = (e, t) => {let n = [Number(e), Number(t)].filter((e) => e > 0);return n.length ? Math.min(...n) : 0;}, v = () => {@@ -33201,11 +33201,11 @@ function TN(e, t, n = 0, r = null) {active: n};}, b = () => l.getAttribute("aria-hidden") !== "true", x = (e) => {- l.setAttribute("aria-hidden", String(!e)), s.setAttribute("aria-expanded", String(e)), e || p?.hide(), e && document.dispatchEvent(new CustomEvent(rN, { detail: "settings" }));+ l.setAttribute("aria-hidden", String(!e)), s.setAttribute("aria-expanded", String(e)), e || p?.hide(), e && document.dispatchEvent(new CustomEvent(nN, { detail: "settings" }));}, S = () => x(!1), C = (e) => {e.detail !== "settings" && S();};- document.addEventListener(rN, C);+ document.addEventListener(nN, C);let w = null, T = 0, E = (e, t) => {let n = ++T;w && (clearTimeout(w), w = null, l.classList.remove("vjs-peach-popup-animating"), l.style.height = ""), l.querySelectorAll(".vjs-peach-panel-leaving").forEach((e) => e.remove()), l.scrollTop = 0;@@ -33221,15 +33221,15 @@ function TN(e, t, n = 0, r = null) {}), i;}, D = (e, t) => e.querySelector(t), O = "main", k = (e = 0) => {O = "main";- let { active: t } = y(), n = d.current(), r = E(`<div class="vjs-peach-panel-menu"><button type="button" class="vjs-peach-menu-row" role="menuitemcheckbox" data-player-ambient aria-checked="${UM().settings().ambientMode}">+ let { active: t } = y(), n = d.current(), r = E(`<div class="vjs-peach-panel-menu"><button type="button" class="vjs-peach-menu-row" role="menuitemcheckbox" data-player-ambient aria-checked="${HM().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>${n === 1 ? "正常" : `${n}×`}</b>${R("player-menu-next")}</button>- <button type="button" class="vjs-peach-menu-row" role="menuitem" data-player-subtitles><span class="vjs-peach-menu-cc" aria-hidden="true">${vN()}</span><span>字幕</span><b>${z(p?.label() || "关闭")}</b>${R("player-menu-next")}</button>+ <button type="button" class="vjs-peach-menu-row" role="menuitem" data-player-subtitles><span class="vjs-peach-menu-cc" aria-hidden="true">${_N()}</span><span>字幕</span><b>${z(p?.label() || "关闭")}</b>${R("player-menu-next")}</button><button type="button" class="vjs-peach-menu-row" role="menuitem" data-player-rotation>${R("rotate-cw", "vjs-peach-menu-line-icon")}<span>画面旋转</span><b>${u.angle()}°</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(t.label)}</b>${R("player-menu-next")}</button><div data-player-memory-error hidden><p class="vjs-peach-subtitle-status" role="status"></p><button type="button" class="vjs-peach-menu-row" data-player-memory-retry>重试保存播放记忆</button></div></div>`, e);D(r, "[data-player-ambient]").onclick = () => {- sue(!UM().settings().ambientMode), k();+ cue(!HM().settings().ambientMode), k();}, D(r, "[data-player-speed]").onclick = () => te(), D(r, "[data-player-subtitles]").onclick = () => p?.show(), D(r, "[data-player-quality-view]").onclick = () => ne(), D(r, "[data-player-rotation]").onclick = () => j(), D(r, "[data-player-memory-retry]").onclick = () => {f.retry();}, A();@@ -33333,8 +33333,8 @@ function TN(e, t, n = 0, r = null) {A(), re();});return e.on("dispose", () => {- I(), t.removeEventListener("loadedmetadata", re), t.removeEventListener("resize", re), t.removeEventListener("ratechange", re), T++, document.removeEventListener("pointerdown", F), document.removeEventListener(rN, C), w && clearTimeout(w);- }), p = new iue(e, t, {+ I(), t.removeEventListener("loadedmetadata", re), t.removeEventListener("resize", re), t.removeEventListener("ratechange", re), T++, document.removeEventListener("pointerdown", F), document.removeEventListener(nN, C), w && clearTimeout(w);+ }), p = new aue(e, t, {render: E,open: () => {O = "subtitles", x(!0);@@ -33343,21 +33343,21 @@ function TN(e, t, n = 0, r = null) {back: () => {p?.hide(), k(-1);}- }), y(), lue(e, a), uue(e), (e) => {+ }), y(), uue(e, a), due(e), (e) => {h = e?.length ? e : null, re();};}-function lue(e, t) {+function uue(e, t) {let n = e.el().querySelector(".vjs-control-bar");if (!n || n.querySelector("[data-player-theater]")) return;- let r = UM().settings().theaterMode, i = document.createElement("div");+ let r = HM().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");- SN.set(a, bN(a, "影院模式", "T")), CN(a), a.onclick = (e) => {- e.stopPropagation(), wN(!UM().settings().theaterMode);+ xN.set(a, yN(a, "影院模式", "T")), SN(a), a.onclick = (e) => {+ e.stopPropagation(), CN(!HM().settings().theaterMode);};}-function uue(e) {+function due(e) {let t = e.el().querySelector(".vjs-control-bar");if (!t || t.querySelector(".vjs-peach-right-controls")) return;let n = t.querySelector(":scope>.vjs-play-control");@@ -33369,7 +33369,7 @@ function uue(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 = bN(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 = yN(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 ? "播放" : "暂停");};@@ -33380,7 +33380,7 @@ function uue(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 = bN(p, "静音", "M"), g = () => {+ let h = yN(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 ? "取消静音" : "静音");};@@ -33406,7 +33406,7 @@ function uue(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 = bN(x, "显示剩余时间"), T = () => {+ let C = x.querySelector(".vjs-peach-time-text"), w = yN(x, "显示剩余时间"), T = () => {let t = Math.max(0, Number(e.currentTime()) || 0), n = Math.max(0, Number(e.duration()) || 0), r = Yn(Math.max(0, n - t));C.textContent = `${S ? `-${r}` : Yn(t)} / ${Yn(n)}`, x.dataset.remaining = String(S), w(S ? "显示已播放时间" : "显示剩余时间", S ? `剩余 ${r},总时长 ${Yn(n)};点击显示已播放时间` : `已播放 ${Yn(t)},总时长 ${Yn(n)};点击显示剩余时间`);};@@ -33418,10 +33418,10 @@ function uue(e) {"loadedmetadata"], T), T(), f ? f.insertAdjacentElement("afterend", x) : t.append(x);let E = t.querySelector(":scope>.vjs-picture-in-picture-control");- bN(t.querySelector(".vjs-subtitles-control>button"), "字幕"), r(E, "player-pip"), oue(e, E, bN(E, "画中画"), (e) => UM().toast(e, { warn: !0 }));- let D = t.querySelector(":scope>.vjs-fullscreen-control"), O = r(D, "player-fullscreen-enter"), k = bN(D, "全屏", "F"), A = () => {+ yN(t.querySelector(".vjs-subtitles-control>button"), "字幕"), r(E, "player-pip"), sue(e, E, yN(E, "画中画"), (e) => HM().toast(e, { warn: !0 }));+ let D = t.querySelector(":scope>.vjs-fullscreen-control"), O = r(D, "player-fullscreen-enter"), k = yN(D, "全屏", "F"), A = () => {let t = !!e.isFullscreen();- e.el().toggleAttribute("data-peach-fullscreen", t), O?.setAttribute("href", t ? "#i-player-fullscreen-exit" : "#i-player-fullscreen-enter"), k(t ? "退出全屏" : "全屏"), ZM(e);+ e.el().toggleAttribute("data-peach-fullscreen", t), O?.setAttribute("href", t ? "#i-player-fullscreen-exit" : "#i-player-fullscreen-enter"), k(t ? "退出全屏" : "全屏"), XM(e);};e.on(["fullscreenchange",@@ -33442,7 +33442,7 @@ function uue(e) {});let ee = document.createElement("div");ee.className = "vjs-peach-expand vjs-control", ee.innerHTML = `<button type="button" data-player-expand aria-expanded="false">${R("player-expand")}</button><span class="vjs-peach-hover" aria-hidden="true"></span>`, M.prepend(ee);- let N = ee.querySelector("button"), te = bN(N, "展开控件"), P = (t) => {+ let N = ee.querySelector("button"), te = yN(N, "展开控件"), P = (t) => {e.el().classList.toggle("vjs-peach-right-expanded", t), N.setAttribute("aria-expanded", String(t)), te(t ? "收起控件" : "展开控件");};N.onclick = (t) => {@@ -33454,7 +33454,7 @@ function uue(e) {}, re = new ResizeObserver(ne);re.observe(e.el()), e.on("dispose", () => re.disconnect()), P(!1), ne();}-function EN(e, t, n = {}) {+function TN(e, t, n = {}) {let r = e.el().querySelector(".vjs-control-bar .vjs-progress-control");if (!r || r.querySelector("[data-player-seek-preview]")) return;let i = !!t && n.thumbnail !== !1, a = document.createElement("div");@@ -33465,7 +33465,7 @@ function EN(e, t, n = {}) {}).catch(() => {});let f = (e, n, r, i) => {if (!t) return;- let a = n.columns || 10, o = a * (n.rows || 10), s = aue(e, n);+ let a = n.columns || 10, o = a * (n.rows || 10), s = oue(e, n);if (s === null) return !1;let c = Math.floor(s / o), l = s % o, f = Math.ceil(Math.min(o, n.frames - c * o) / a);d = !!n.cues;@@ -33490,13 +33490,13 @@ function EN(e, t, n = {}) {r.removeEventListener("pointermove", m), r.removeEventListener("pointerleave", h);});}-function due(e, t) {+function fue(e, t) {let n = navigator.mediaSession;if (!n || typeof n.setActionHandler != "function") return;let r = () => qn(e.duration()) || qn(t.duration) || 0, i = (t) => {let n = r();e.currentTime(Math.max(0, n ? Math.min(n, t) : t));- }, a = () => Math.max(1, Number(UM().settings().seekSeconds) || 10), o = [+ }, a = () => Math.max(1, Number(HM().settings().seekSeconds) || 10), o = [["play", () => {e.play();}],@@ -33537,11 +33537,11 @@ function due(e, t) {} catch {}});}-function DN(e) {+function EN(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 ON(e, t) {+function DN(e, t) {Tn(`/api/assets/${t}/subtitles`).then((t) => {e && !e.isDisposed() && (t?.subtitles || []).filter((e) => e.playable).forEach((t) => {e.addRemoteTextTrack({@@ -33557,35 +33557,35 @@ function ON(e, t) {}).catch(() => {});}// src/player/progress.ts-var kN = "peach.playback-position.v1", AN = /* @__PURE__ */ new WeakMap();-function jN(e) {- AN.get(e)?.(), AN.delete(e);+var ON = "peach.playback-position.v1", kN = /* @__PURE__ */ new WeakMap();+function AN(e) {+ kN.get(e)?.(), kN.delete(e);}-function MN(e, t, n = null) {+function jN(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 fue(e) {+function pue(e) {try {- let t = localStorage.getItem(`${kN}:${e}`), n = t === null || !t.trim() ? NaN : Number(t);+ let t = localStorage.getItem(`${ON}:${e}`), n = t === null || !t.trim() ? NaN : Number(t);return Number.isFinite(n) && n >= 0 ? n : null;} catch {return null;}}-function pue(e, t) {- let n = fue(e);+function mue(e, t) {+ let n = pue(e);if (n !== null) return n;let r = Number(t.leave_ratio);return r > 0 && r < 1 ? r * qn(t.duration) : 0;}-function mue(e, t) {- jN(t);+function hue(e, t) {+ AN(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(`${kN}:${e}`, String(r));+ localStorage.setItem(`${ON}:${e}`, String(r));} catch {}}, i = () => {n = !0;@@ -33599,7 +33599,7 @@ function mue(e, t) {"pause","ended"]) t.addEventListener(e, r);- window.addEventListener("pagehide", r), document.addEventListener("visibilitychange", r), AN.set(t, () => {+ window.addEventListener("pagehide", r), document.addEventListener("visibilitychange", r), kN.set(t, () => {r(), t.removeEventListener("loadedmetadata", i), t.removeEventListener("emptied", a);for (let e of ["timeupdate",@@ -33611,19 +33611,19 @@ function mue(e, t) {});}// src/player/telemetry.ts-var NN = /* @__PURE__ */ new WeakMap();-function PN(e) {- NN.get(e)?.(), NN.delete(e);+var MN = /* @__PURE__ */ new WeakMap();+function NN(e) {+ MN.get(e)?.(), MN.delete(e);}-function FN(e, t, n, r) {+function PN(e, t, n, r) {let i = () => t(!1), a = () => {n(), t(!1);};- e.addEventListener("seeking", r), e.addEventListener("emptied", a), window.addEventListener("pagehide", i), NN.set(e, () => {+ e.addEventListener("seeking", r), e.addEventListener("emptied", a), window.addEventListener("pagehide", i), MN.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 IN(e, t, n = {}) {+function FN(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 = qn(e.duration) || qn(t.duration);@@ -33664,11 +33664,11 @@ function IN(e, t, n = {}) {u(), l(!1);}, t.onended = () => {u(), l(!0), n.onEnded?.();- }, FN(t, l, u, () => {+ }, PN(t, l, u, () => {a++;}), c();}-function hue(e, t) {+function gue(e, t) {let n = 0, r = 0, i = !1, a = null, o = (n) => {let i = qn(e.duration) || qn(t.duration);(r || n) && (Tn("/api/follow/activity", {@@ -33699,22 +33699,22 @@ function hue(e, t) {s(), o(!1);}, t.onended = () => {s(), o(!0);- }, FN(t, o, s, () => {});+ }, PN(t, o, s, () => {});}// src/player/dispose.ts-function LN(e) {+function IN(e) {if (!e || e.isDisposed()) return;let t = e.el()?.querySelector("video");try {e.pause();} catch {}- t && (jN(t), PN(t));+ t && (AN(t), NN(t));try {e.dispose();} catch {}}// src/core/random-id.ts-function RN() {+function LN() {if (typeof crypto.randomUUID == "function") return crypto.randomUUID();let e = crypto.getRandomValues(/* @__PURE__ */ new Uint8Array(16));e[6] = e[6] & 15 | 64, e[8] = e[8] & 63 | 128;@@ -33722,23 +33722,23 @@ function RN() {return `${t.slice(0, 8)}-${t.slice(8, 12)}-${t.slice(12, 16)}-${t.slice(16, 20)}-${t.slice(20)}`;}// src/player/stream.ts-function zN() {- return RN();+function RN() {+ return LN();}-function BN(e, t) {+function zN(e, t) {return {src: `/stream?id=${e.id}&session=${encodeURIComponent(t)}`,type: String(e.name || "").toLowerCase().endsWith(".webm") ? "video/webm" : "video/mp4"};}-function gue(e) {+function _ue(e) {return e.location === "online" && e.follow_item_id ? {src: `/follow-stream?id=${e.follow_item_id}`,type: "video/mp4"} : null;}-async function VN(e, t) {- let n = gue(e);+async function BN(e, t) {+ let n = _ue(e);if (n) return n;try {let n = await Tn(`/api/stream-plan?id=${e.id}&session=${encodeURIComponent(t)}`);@@ -33747,9 +33747,9 @@ async function VN(e, t) {type: n.mime_type || (n.protocol === "hls" ? "application/vnd.apple.mpegurl" : "video/mp4")};} catch {}- return BN(e, t);+ return zN(e, t);}-function HN(e) {+function VN(e) {e && fetch(`/api/stream-cancel?session=${encodeURIComponent(e)}`, {method: "POST",credentials: "same-origin",@@ -33758,22 +33758,22 @@ function HN(e) {document.documentElement.dataset.peachStreamCancel = JSON.stringify(e);}).catch(() => {});}-var UN = "";+var HN = "";+function UN() {+ return HN;+}function WN() {- return UN;+ return HN ||= RN(), HN;}+var vue = (e) => zN(e, WN()), yue = (e) => BN(e, WN());function GN() {- return UN ||= zN(), UN;-}-var _ue = (e) => BN(e, GN()), vue = (e) => VN(e, GN());-function KN() {- let e = UN;- e && (UN = "", HN(e));+ let e = HN;+ e && (HN = "", VN(e));}// src/player/v10-player.ts-var qN = (e) => typeof e == "string" ? [e] : e, yue = (e, t) => {+var KN = (e) => typeof e == "string" ? [e] : e, bue = (e, t) => {let n = document.createElement("div"), r = document.createElement("video-player");- n.className = "video-js vjs-paused vjs-user-active", n.id = e.id || `peach-player-${RN()}`, n.setAttribute("lang", "zh-CN");+ n.className = "video-js vjs-paused vjs-user-active", n.id = e.id || `peach-player-${LN()}`, n.setAttribute("lang", "zh-CN");let i = document.createElement("media-container"), a = document.createElement("hlsjs-video");e.parentNode?.replaceChild(n, e), e.removeAttribute("id"), e.className = "vjs-tech", e.slot = "media", e.controls = !1, e.preload = t.preload === "auto" ? "auto" : t.preload === "none" ? "none" : "metadata", t.poster && (e.poster = String(t.poster)), a.append(e), i.append(a), r.append(i), n.append(r), t.controls !== !1 && i.insertAdjacentHTML("beforeend", "<div class=\"vjs-loading-spinner\" aria-label=\"正在缓冲\"></div>\n <div class=\"vjs-error-display\"><div class=\"vjs-modal-dialog-content\" role=\"alert\"></div></div>\n <div class=\"vjs-control-bar\">\n <media-play-button class=\"vjs-play-control vjs-control vjs-button\" label=\"播放\"></media-play-button>\n <div class=\"vjs-volume-panel vjs-control vjs-volume-panel-horizontal\">\n <media-mute-button class=\"vjs-mute-control vjs-control vjs-button\" label=\"静音\"></media-mute-button>\n <div class=\"vjs-volume-control vjs-volume-horizontal\"><media-volume-slider class=\"vjs-volume-bar vjs-slider vjs-slider-horizontal\" label=\"音量\">\n <media-slider-track><media-slider-fill class=\"vjs-volume-level\"></media-slider-fill></media-slider-track>\n <media-slider-thumb class=\"vjs-volume-thumb\"></media-slider-thumb>\n <media-slider-value class=\"vjs-volume-tooltip\"></media-slider-value>\n </media-volume-slider></div>\n </div>\n <div class=\"vjs-progress-control vjs-control\"><media-time-slider class=\"vjs-progress-holder vjs-slider vjs-slider-horizontal\" label=\"播放进度\">\n <media-slider-track><media-slider-buffer class=\"vjs-load-progress\"></media-slider-buffer><media-slider-fill class=\"vjs-play-progress\"></media-slider-fill></media-slider-track>\n <media-slider-thumb class=\"vjs-progress-thumb\"></media-slider-thumb>\n </media-time-slider></div>\n <div class=\"vjs-subtitles-control vjs-control\"><button type=\"button\" class=\"vjs-button\" aria-label=\"开启字幕\" aria-pressed=\"false\">CC</button></div>\n <media-pip-button class=\"vjs-picture-in-picture-control vjs-control vjs-button\" label=\"画中画\"></media-pip-button>\n <media-fullscreen-button class=\"vjs-fullscreen-control vjs-control vjs-button\" label=\"全屏\"></media-fullscreen-button>\n </div>");let o = new EventTarget(), s = new AbortController(), c = s.signal, l = !1, u = 0, d = 0, f = 0, p = {@@ -33868,9 +33868,9 @@ var qN = (e) => typeof e == "string" ? [e] : e, yue = (e, t) => {e && Array.isArray(e.levels) && !x.has(e) && (x.add(e), e.on("hlsManifestParsed", w), e.on("hlsLevelSwitched", w)), w();};return e.addEventListener("loadedmetadata", T, { signal: c }), {- on: (e, t) => qN(e).forEach((e) => o.addEventListener(e, t, { signal: c })),- off: (e, t) => qN(e).forEach((e) => o.removeEventListener(e, t)),- one: (e, t) => qN(e).forEach((e) => o.addEventListener(e, t, {+ on: (e, t) => KN(e).forEach((e) => o.addEventListener(e, t, { signal: c })),+ off: (e, t) => KN(e).forEach((e) => o.removeEventListener(e, t)),+ one: (e, t) => KN(e).forEach((e) => o.addEventListener(e, t, {once: !0,signal: c})),@@ -33925,7 +33925,7 @@ var qN = (e) => typeof e == "string" ? [e] : e, yue = (e, t) => {n.id = String(t.id || ""), t.legacyId && (n.dataset.subtitleAlias = String(t.legacyId)), n.kind = String(t.kind || "subtitles"), n.src = String(t.src || ""), n.srclang = String(t.srclang || ""), n.label = String(t.label || ""), e.append(n);}};-}, bue = "/vendor/videojs/10.2.0/", xue = [+}, xue = "/vendor/videojs/10.2.0/", Sue = ["video-player.js","media/hlsjs-video.js","media/dash-video.js",@@ -33943,17 +33943,17 @@ var qN = (e) => typeof e == "string" ? [e] : e, yue = (e, t) => {"ui/slider-value.js","i18n.js","locales/zh-CN.js"-], JN = null;-function YN() {- return JN ??= Promise.all(xue.map((e) => import(+], qN = null;+function JN() {+ return qN ??= Promise.all(Sue.map((e) => import(/* @vite-ignore */- `${bue}${e}`-))).then(() => yue).catch((e) => {- throw JN = null, e;- }), JN;+ `${xue}${e}`+))).then(() => bue).catch((e) => {+ throw qN = null, e;+ }), qN;}// src/player/immerse-player.ts-var Sue = {+var Cue = {controls: !1,preload: "auto",posterImage: !1,@@ -33965,45 +33965,45 @@ var Sue = {errorDisplay: !1,textTrackSettings: !1};-function Cue(e, t) {+function wue(e, t) {let { item: n, session: r } = t, i = null, a = !1;- return Promise.all([VN(n, r), YN().catch(() => null)]).then(([o, s]) => {+ return Promise.all([BN(n, r), JN().catch(() => null)]).then(([o, s]) => {if (a) return;- let c = BN(n, r), l = String(o.type || "").includes("mpegurl");+ let c = zN(n, r), l = String(o.type || "").includes("mpegurl");if (!s) e.src = (l ? c : o).src;else {- let t = s(e, Sue);- i = t, t.peachItem = n, t.peachPlaybackKey = MN("item", n);+ let t = s(e, Cue);+ i = t, t.peachItem = n, t.peachPlaybackKey = jN("item", n);let r = new AbortController();- fN(t.el(), e, r.signal, hN(t)), yN(t, e), gN(t, e), t.on("dispose", () => r.abort()), new _N(t, e), ON(t, n.id), l && t.one("error", () => {+ dN(t.el(), e, r.signal, mN(t)), vN(t, e), hN(t, e), t.on("dispose", () => r.abort()), new gN(t, e), DN(t, n.id), l && t.one("error", () => {a || t.src(c);}), t.src(o);}- IN(n, e, t.onEnded ? { onEnded: t.onEnded } : {}), t.onLoaded?.();+ FN(n, e, t.onEnded ? { onEnded: t.onEnded } : {}), t.onLoaded?.();}), () => {- a || (a = !0, HN(r), i ? LN(i) : (e.pause(), PN(e), e.removeAttribute("src"), e.load()));+ a || (a = !0, VN(r), i ? IN(i) : (e.pause(), NN(e), e.removeAttribute("src"), e.load()));};}// src/player/guide-preview.ts-var XN = !1, ZN = () => XN;-function wue() {- return XN = !0, () => {- XN = !1;+var YN = !1, XN = () => YN;+function Tue() {+ return YN = !0, () => {+ YN = !1;};}// src/player/detail-player.ts-var QN = /* @__PURE__ */ new WeakMap(), $N = null, eP = null, tP = null;-function nP() {- $N &&= (clearInterval($N), null), eP &&= (clearInterval(eP), null), tP &&= (clearTimeout(tP), null);+var ZN = /* @__PURE__ */ new WeakMap(), QN = null, $N = null, eP = null;+function tP() {+ QN &&= (clearInterval(QN), null), $N &&= (clearInterval($N), null), eP &&= (clearTimeout(eP), null);}-async function Tue(e, t, n, r = {}) {- let i = YM();+async function Eue(e, t, n, r = {}) {+ let i = JM();if (i && !i.isDisposed()) return i;- let a = UM(), o = r.resume ?? null;+ let a = HM(), o = r.resume ?? null;o?.autoplay && (n = !0), r.guidePreview && (n = !1);- let s = () => r.source ? Promise.resolve(r.source) : vue(e), c;+ let s = () => r.source ? Promise.resolve(r.source) : yue(e), c;try {- c = await YN();+ c = await JN();} catch {return t.controls = !0, r.guidePreview || s().then((e) => {t.addEventListener("loadedmetadata", () => {@@ -34029,7 +34029,7 @@ async function Tue(e, t, n, r = {}) {} }}});- XM(l), l.peachItem = e, l.peachPlaybackKey = r.playbackKey || MN("item", e), Jle(l), l.on("loadedmetadata", () => {+ YM(l), l.peachItem = e, l.peachPlaybackKey = r.playbackKey || jN("item", e), Yle(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}`);});@@ -34037,7 +34037,7 @@ async function Tue(e, t, n, r = {}) {speed: [],activity: [],buffer: []- }, f = Number(r.size ?? e.size) || 0, p = Xle(eN(f, e.duration)), m = 0, h = !1, g = () => YM() === l && !l.isDisposed(), _ = () => {+ }, f = Number(r.size ?? e.size) || 0, p = Zle($M(f, e.duration)), m = 0, h = !1, g = () => JM() === 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(() => {@@ -34048,15 +34048,15 @@ async function Tue(e, t, n, r = {}) {ready: !1,updateStats: () => {}};- QN.set(l, y), y.updateStats = () => {+ ZN.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 = WN(), h = s ? aN(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 = UN(), h = s ? iN(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 = sN(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 = oN(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 = QM(t);- nN(d.speed, x), nN(d.activity, C), nN(d.buffer, w);+ let w = ZM(t);+ tN(d.speed, x), tN(d.activity, C), tN(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 ? ["网络活动",`${_ ? Xn(_) : "—"} · ${h.length} 请求`,@@ -34074,17 +34074,17 @@ async function Tue(e, t, n, r = {}) {["连接速度",D,- iN(d.speed, "speed", Math.max(1e7, ...d.speed), `连接速度 ${D === "—" ? "暂无数据" : D}`)+ rN(d.speed, "speed", Math.max(1e7, ...d.speed), `连接速度 ${D === "—" ? "暂无数据" : D}`)],[k[0],k[1],- iN(d.activity, "activity", Math.max(1, ...d.activity), k[2])+ rN(d.activity, "activity", Math.max(1, ...d.activity), k[2])],["缓冲健康",`${w.toFixed(1)} 秒`,- iN(d.buffer, "buffer", 30, `当前可连续播放 ${w.toFixed(1)} 秒`)+ rN(d.buffer, "buffer", 30, `当前可连续播放 ${w.toFixed(1)} 秒`)],["播放时间", `${Yn(t.currentTime)} / ${Yn(u || l.duration())}`],["日期", (/* @__PURE__ */ new Date()).toLocaleString()]@@ -34100,15 +34100,15 @@ async function Tue(e, t, n, r = {}) {if (!n || l.isDisposed()) return;let r = v();r || p.sample(t);- let i = sN(l, e.id, WN(), r ? null : p), a = r ? cN(i) : Qle(i, QM(t));+ let i = oN(l, e.id, UN(), r ? null : p), a = r ? sN(i) : $le(i, ZM(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(), eP && clearInterval(eP), eP = setInterval(S, 500));+ e && e.isConnected && (e.hidden = !1, S(), $N && clearInterval($N), $N = setInterval(S, 500));}, w = () => {let e = y.chrome?.netBadge;- e && (tP && clearTimeout(tP), tP = setTimeout(() => {- e.hidden = !0, eP &&= (clearInterval(eP), null);+ e && (eP && clearTimeout(eP), eP = setTimeout(() => {+ e.hidden = !0, $N &&= (clearInterval($N), null);}, 1400));};return l.on([@@ -34119,7 +34119,7 @@ async function Tue(e, t, n, r = {}) {], C), l.on(["canplay", "playing"], () => {S(), w();}), l.on("error", () => {- b && !x && !l.isDisposed() ? (x = !0, b = !1, l.src(_ue(e)), n && l.play()?.catch(() => {})) : r.checkSourceStatus !== !1 && a.loadSourceStatus().then((t) => {+ b && !x && !l.isDisposed() ? (x = !0, b = !1, l.src(vue(e)), n && l.play()?.catch(() => {})) : r.checkSourceStatus !== !1 && a.loadSourceStatus().then((t) => {t[String(e.root_id || e.location)] !== !1 || l.isDisposed() || l.error({code: 2,message: `媒体目录无法访问 · ${a.offlineReason(String(e.root_id || e.location))}`@@ -34127,13 +34127,13 @@ async function Tue(e, t, n, r = {}) {});}), l.ready(() => {_();- let n = TN(l, t, e.height, r.qualities ?? null);+ let n = wN(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 = eN(r, e.duration));- }).catch(() => {}), EN(l, e, { thumbnail: !r.source }), r.guidePreview || due(l, e), DN(l), r.source || ON(l, e.id), y.ready = !0, y.chrome?.statsButton && (y.chrome.statsButton.hidden = !1);+ r > 0 && !f && (f = r, p.bitrate = $M(r, e.duration));+ }).catch(() => {}), TN(l, e, { thumbnail: !r.source }), r.guidePreview || fue(l, e), EN(l), r.source || DN(l, e.id), y.ready = !0, y.chrome?.statsButton && (y.chrome.statsButton.hidden = !1);}), r.guidePreview || s().then((e) => {g() && (b = String(e.type || "").includes("mpegurl"), o && o.time > 0 && l.one("loadedmetadata", () => {if (l.isDisposed()) return;@@ -34142,16 +34142,16 @@ async function Tue(e, t, n, r = {}) {}), l.src(e), _(), setTimeout(_, 0), setTimeout(_, 250), n && l.play()?.catch(() => {}));}).catch(() => {}), l;}-var Eue = "<canvas data-ambient-canvas=\"\" width=\"32\" height=\"18\"></canvas>";-function rP(e, t = null) {- if (e.querySelector(":scope > [data-ambient-canvas]") || e.insertAdjacentHTML("afterbegin", Eue), e.querySelector("#playerStatsBtn")) return;+var Due = "<canvas data-ambient-canvas=\"\" width=\"32\" height=\"18\"></canvas>";+function nP(e, t = null) {+ if (e.querySelector(":scope > [data-ambient-canvas]") || e.insertAdjacentHTML("afterbegin", Due), e.querySelector("#playerStatsBtn")) return;let n = document.createElement("template");- n.innerHTML = Zle();+ n.innerHTML = Qle();let r = e.querySelector(":scope > [data-player-toolbar]");r && (r.querySelector("[data-player-stats-slot]").append(n.content.querySelector("#playerStatsBtn")), r.querySelector("[data-player-net-slot]").append(n.content.querySelector("#playerNet"))), e.insertBefore(n.content, t);}-function iP(e, t) {- let n = QN.get(e);+function rP(e, t) {+ let n = ZN.get(e);if (!n || e.isDisposed()) return () => {};let r = (e) => t.querySelector(`#${e}`), i = {statsButton: r("playerStatsBtn"),@@ -34163,30 +34163,30 @@ function iP(e, t) {if (a && o) {a.hidden = !n.ready;let e = () => {- o.hidden || (o.hidden = !0, a.setAttribute("aria-pressed", "false"), $N &&= (clearInterval($N), null));+ o.hidden || (o.hidden = !0, a.setAttribute("aria-pressed", "false"), QN &&= (clearInterval(QN), null));};a.onclick = () => {- o.hidden ? (document.dispatchEvent(new CustomEvent(rN, { detail: "stats" })), o.hidden = !1, a.setAttribute("aria-pressed", "true"), n.updateStats(), $N && clearInterval($N), $N = setInterval(n.updateStats, 1e3)) : e();+ o.hidden ? (document.dispatchEvent(new CustomEvent(nN, { detail: "stats" })), o.hidden = !1, a.setAttribute("aria-pressed", "true"), n.updateStats(), QN && clearInterval(QN), QN = setInterval(n.updateStats, 1e3)) : e();};let t = (t) => {t.detail !== "stats" && e();};- document.addEventListener(rN, t), s = () => document.removeEventListener(rN, t);+ document.addEventListener(nN, t), s = () => document.removeEventListener(nN, t);}- let c = e.el().querySelector("video"), l = c ? cue(c) : () => {}, u = !0, d = () => {- u && (u = !1, s(), l(), n.chrome === i && (n.chrome = null, nP()));+ let c = e.el().querySelector("video"), l = c ? lue(c) : () => {}, u = !0, d = () => {+ u && (u = !1, s(), l(), n.chrome === i && (n.chrome = null, tP()));};return e.one("dispose", d), d;}-function aP(e, t) {- if (t.kind === "immerse") return Cue(e, t);- let { kind: n, item: r, media: i = null, handedOff: a, onPlayer: o } = t, s = ZN(), c = UM(), l = t.chrome === !1 ? null : e.parentElement;- l && rP(l, e);- let u = MN(n, r, i?.index ?? null), d = {+function iP(e, t) {+ if (t.kind === "immerse") return wue(e, t);+ let { kind: n, item: r, media: i = null, handedOff: a, onPlayer: o } = t, s = XN(), c = HM(), l = t.chrome === !1 ? null : e.parentElement;+ l && nP(l, e);+ let u = jN(n, r, i?.index ?? null), d = {guidePreview: s,playbackKey: u,resume: s ? null : t.resume ?? {- time: pue(u, r),+ time: mue(u, r),autoplay: !1}};@@ -34206,36 +34206,36 @@ function aP(e, t) {t && (e.poster = t);}let f = null, p = !1, m = () => {}, h = e, g = () => {- m(), !(f && a?.(f)) && (jN(h), f ? (YM() === f && (XM(null), nP()), LN(f)) : PN(h));+ m(), !(f && a?.(f)) && (AN(h), f ? (JM() === f && (YM(null), tP()), IN(f)) : NN(h));};- return Tue(r, e, s ? !1 : t.autoplay ?? c.settings().detailAutoplay, d).then((t) => {- f = t, p ? g() : (h = t?.el().querySelector("video") ?? e, s ? (t?.el().setAttribute("data-player-guide", ""), o?.(t)) : (mue(u, h), n === "follow" ? hue(r, h) : (h.addEventListener("play", () => {+ return Eue(r, e, s ? !1 : t.autoplay ?? c.settings().detailAutoplay, d).then((t) => {+ f = t, p ? g() : (h = t?.el().querySelector("video") ?? e, s ? (t?.el().setAttribute("data-player-guide", ""), o?.(t)) : (hue(u, h), n === "follow" ? gue(r, h) : (h.addEventListener("play", () => {Tn("/api/play", {method: "POST",body: JSON.stringify({ id: r.id })}).catch(() => {});- }, { once: !0 }), IN(r, h, {+ }, { once: !0 }), FN(r, h, {watched: "#watched",mark: "#mark",ratio: "#ratioTxt"- })), t ? (l && (m = iP(t, l)), o?.(t)) : o?.(null)));+ })), t ? (l && (m = rP(t, l)), o?.(t)) : o?.(null)));}), () => {p = !0, g();};}// src/player/playback.ts-function oP(e) {+function aP(e) {e && (e.paused ? e.play()?.catch(() => {}) : e.pause());}-function sP(e, t) {+function oP(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);}// src/player/preview-player.ts-function Due(e, t, n) {+function Oue(e, t, n) {e.controls = !1;let r = !1, i = null;- return YN().then((a) => {+ return JN().then((a) => {if (r) return;i = a(e, {controls: !0,@@ -34260,30 +34260,30 @@ function Due(e, t, n) {o.on("error", () => {r || n();}), o.ready(() => {- r || o.isDisposed() || (TN(o, e), EN(o, null, { thumbnail: !1 }), DN(o));+ r || o.isDisposed() || (wN(o, e), TN(o, null, { thumbnail: !1 }), EN(o));}), o.src(t);}).catch(() => {r || n();}), () => {- r = !0, LN(i), i || (e.pause(), e.removeAttribute("src"), e.load(), e.remove());+ r = !0, IN(i), i || (e.pause(), e.removeAttribute("src"), e.load(), e.remove());};}-function cP(e, t) {+function sP(e, t) {let n = new URLSearchParams(Object.entries(e).filter(([, e]) => e));return t && n.set("exclude_vertical", "1"), n.toString();}-var Oue = (e, t) => [+var kue = (e, t) => ["catalog-grid","catalog",e,t-], kue = (e, t) => [+], Aue = (e, t) => ["catalog-grid","entity",e,t];-async function Aue(e, t, n, r, i) {+async function jue(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 B(`/api/items?${a}`, i), s = {@@ -34293,22 +34293,22 @@ async function Aue(e, t, n, r, i) {};return t || s.items.length || r || (s.libraryEmpty = (await B("/api/items?limit=1&thumb=0", i)).total === 0), s;}-var jue = (e) => (t) => (t.offset === 0 ? t.items.length < (t.total || 0) : t.has_more) ? t.offset + e : void 0, Mue = (e, t) => {+var Mue = (e) => (t) => (t.offset === 0 ? t.items.length < (t.total || 0) : t.has_more) ? t.offset + e : void 0, Nue = (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 Nue(e) {- let t = cP(e.filters || {}, !!e.excludeVertical), n = e.batchSize || 60, r = e.filters?.state === "trash";+function Pue(e) {+ let t = sP(e.filters || {}, !!e.excludeVertical), n = e.batchSize || 60, r = e.filters?.state === "trash";return {- queryKey: Oue(t, e.revision || 0),- queryFn: ({ pageParam: e, signal: i }) => Aue(t, e, n, r, i),+ queryKey: kue(t, e.revision || 0),+ queryFn: ({ pageParam: e, signal: i }) => jue(t, e, n, r, i),initialPageParam: 0,- getNextPageParam: jue(n)+ getNextPageParam: Mue(n)};}-function Pue(e) {+function Fue(e) {return {- queryKey: kue(e.entityKey || "", e.revision || 0),+ queryKey: Aue(e.entityKey || "", e.revision || 0),queryFn: async ({ pageParam: t, signal: n }) => {if (!e.fetchPage) return {items: [],@@ -34323,14 +34323,14 @@ function Pue(e) {};},initialPageParam: 0,- getNextPageParam: Mue+ getNextPageParam: Nue};}-function lP(e) {+function cP(e) {let t = JSON.stringify(e);return H.getQueryCache().findAll({ queryKey: e.slice(0, -1) }).filter((e) => JSON.stringify(e.queryKey) !== t && !e.state.isInvalidated && Array.isArray(e.state.data?.pages)).sort((e, t) => t.state.dataUpdatedAt - e.state.dataUpdatedAt)[0]?.state.data;}-function uP(e, t, n) {+function lP(e, t, n) {return n ? e.filter((e) => {let n = e.part_group?.key;if (n) {@@ -34345,24 +34345,24 @@ function uP(e, t, n) {return !0;}) : [...e];}-var dP = (e, t) => !!e && !!to(e, t);-function Fue(e, t) {- let n = (e) => dP(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) => dP(e, t)) || e[e.length - 1];+var uP = (e, t) => !!e && !!to(e, t);+function Iue(e, t) {+ let n = (e) => uP(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) => uP(e, t)) || e[e.length - 1];}-function Iue(e, { collapse: t, mix: n, javImage: r }) {+function Lue(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 = uP(c.items.filter((e) => !a.has(e.id) && !!a.add(e.id)), i, t), l = e.map((e) => ({+ let e = lP(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 = Fue(e, r);+ let t = Iue(e, r);t && l.splice(7, 0, {kind: "mix",seed: t@@ -34375,16 +34375,16 @@ function Iue(e, { collapse: t, mix: n, javImage: r }) {pageStarts: s};}-function Lue(e, t, n) {+function Rue(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 Rue(e, t) {+function zue(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 zue(e, t) {+function Bue(e, t) {let n = [...t].sort((e, t) => e.at - t.at), r = [], i = 0;for (let t of n) r.push({start: i,@@ -34397,10 +34397,10 @@ function zue(e, t) {strip: null}), r;}-function fP(e, t) {- pP((t) => t.id === e, t);+function dP(e, t) {+ fP((t) => t.id === e, t);}-function pP(e, t) {+function fP(e, t) {H.setQueriesData({ queryKey: ["catalog-short-layout"] }, (n) => !n || !n.cuts.some((t) => t.items.some(e)) ? n : {...n,cuts: n.cuts.map((n) => ({@@ -34430,34 +34430,34 @@ function pP(e, t) {} : n)});}-var mP = (e) => Math.min(Math.max(e || 0, 0), 100), hP = (e) => Math.round(mP(e) / 20), Bue = (e) => {- let t = hP(e);+var pP = (e) => Math.min(Math.max(e || 0, 0), 100), mP = (e) => Math.round(pP(e) / 20), Vue = (e) => {+ let t = mP(e);return t ? `${t} 星` : "未评分";-}, gP = (e, t) => t === hP(e) ? 0 : t * 20, _P = (e) => ["item", e], vP = (e) => [+}, hP = (e, t) => t === mP(e) ? 0 : t * 20, gP = (e) => ["item", e], _P = (e) => ["item-queue",e.kind,e.kind === "playlist" ? e.playlistId : e.seedId-], Vue = (e, t) => [+], Hue = (e, t) => ["item-related",e,t-], Hue = (e) => `/api/item?id=${e}`, Uue = (e, t) => `/api/related?id=${e}&limit=${t}`, yP = "/api/playlist", bP = "/api/feedback", xP = "/api/item-tag", SP = "/api/watch-later", CP = "/api/quality-goal", wP = "/api/preference", TP = class extends Error {};-async function EP(e, t) {- let n = await B(Hue(e), t);- if (n.error) throw new TP(n.error);+], Uue = (e) => `/api/item?id=${e}`, Wue = (e, t) => `/api/related?id=${e}&limit=${t}`, vP = "/api/playlist", yP = "/api/feedback", bP = "/api/item-tag", xP = "/api/watch-later", SP = "/api/quality-goal", CP = "/api/preference", wP = class extends Error {};+async function TP(e, t) {+ let n = await B(Uue(e), t);+ if (n.error) throw new wP(n.error);return n;}-async function DP(e, t, n) {+async function EP(e, t, n) {if (e.kind === "mix") {- let r = e.seedId, [i, a] = await Promise.all([EP(r, n), t.mixRelated(r)]);- return H.setQueryData(_P(i.id), i), {+ let r = e.seedId, [i, a] = await Promise.all([TP(r, n), t.mixRelated(r)]);+ return H.setQueryData(gP(i.id), i), {kind: "mix",seedId: r,title: `Mix · ${Mo(i, t.tagLabel)}`,items: [i, ...a.filter((e) => e.id !== i.id)]};}- if (e.kind === "playlist") return OP(await B(`${yP}?id=${e.playlistId}`, n));+ if (e.kind === "playlist") return DP(await B(`${vP}?id=${e.playlistId}`, n));let r = await B(`/api/${e.kind}?id=${e.seedId}`, n);if (r.error || !r.items?.length) throw Error(r.error || "这一组已不存在");return {@@ -34468,19 +34468,19 @@ async function DP(e, t, n) {versionCount: e.kind === "editions" ? r.count : void 0};}-var OP = (e) => ({+var DP = (e) => ({kind: "playlist",playlistId: e.id,title: e.name,items: e.items || [],currentAssetId: e.current_asset_id-}), kP = (e) => e.disposal === "vanished";-function AP(e, t) {+}), OP = (e) => e.disposal === "vanished";+function kP(e, t) {if (e.kind === "mix") return t;- let n = e.kind === "playlist" ? e.items.filter((e) => !kP(e)) : e.items;+ let n = e.kind === "playlist" ? e.items.filter((e) => !OP(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 Wue(e, t) {+function Gue(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 : {@@ -34488,20 +34488,20 @@ function Wue(e, t) {part_label: n};}-function jP(e, t) {+function AP(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 MP(e, t) {+async function jP(e, t) {let { queue: n, actions: r } = e, i = null, a = !1;if (n) {- let o = vP(n);+ let o = _P(n);try {let r = n.fresh ? void 0 : H.getQueryData(o);a = !r && n.kind === "mix", i = r || await H.fetchQuery({queryKey: o,- queryFn: () => DP(n, e.helpers, t),+ queryFn: () => EP(n, e.helpers, t),staleTime: 0});} catch (n) {@@ -34513,21 +34513,21 @@ async function MP(e, t) {return;}}- let o = i ? AP(i, e.id) : e.id;+ let o = i ? kP(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 ? H.getQueryData(_P(o)) : void 0;+ let s, c = a && o === i?.seedId ? H.getQueryData(gP(o)) : void 0;try {s = c || await H.fetchQuery({- queryKey: _P(o),- queryFn: () => EP(o, t),+ queryKey: gP(o),+ queryFn: () => TP(o, t),staleTime: 0});} catch (e) {if (t.aborted) throw e;- if (e instanceof TP) {+ if (e instanceof wP) {r.redirect({ kind: "gone" });return;}@@ -34538,7 +34538,7 @@ async function MP(e, t) {id: Number(s.follow_item_id)});}-function Gue(e) {+function Kue(e) {let t = e.entity_refs || {}, n = /* @__PURE__ */ new Set(), r = (e) => {let t = Un(e.name);return !e.name || n.has(t) ? !1 : (n.add(t), !0);@@ -34560,35 +34560,35 @@ function Gue(e) {unowned: !i.length && !c.length && !String(e.creator || "").trim()};}-function Kue(e, t) {+function que(e, t) {let n = /* @__PURE__ */ new Map();return (e.tags || []).filter((e) => !t.isDurationTag(e.k)).forEach((e) => {let r = Un(t.tagLabel(e.k)), i = n.get(r);(!i || Un(e.k) === r && Un(i.k) !== r) && n.set(r, e);}), [...n.values()].slice(0, 40);}-var NP = (e, t) => (e.tags || []).some((e) => Un(e.k) === Un(t)), PP = (e, t) => ({+var MP = (e, t) => (e.tags || []).some((e) => Un(e.k) === Un(t)), NP = (e, t) => ({...e,tags: (e.tags || []).filter((e) => Un(e.k) !== Un(t))-}), FP = (e, t) => NP(e, t.k) ? e : {+}), PP = (e, t) => MP(e, t.k) ? e : {...e,tags: [...e.tags || [], t]-}, IP = "peach.recentTags";-function LP() {+}, FP = "peach.recentTags";+function IP() {try {- let e = JSON.parse(localStorage.getItem(IP) || "[]");+ let e = JSON.parse(localStorage.getItem(FP) || "[]");return Array.isArray(e) ? e.map(String) : [];} catch {return [];}}-function RP(e) {+function LP(e) {try {- let t = LP().filter((t) => Un(t) !== Un(e));- localStorage.setItem(IP, JSON.stringify([e, ...t].slice(0, 12)));+ let t = IP().filter((t) => Un(t) !== Un(e));+ localStorage.setItem(FP, JSON.stringify([e, ...t].slice(0, 12)));} catch {}}-function que(e, t, n) {+function Jue(e, t, n) {let r = Un(e), i = new Map(t.map((e) => [Un(e.k), e])), a = t.filter((e) => !r || Un(e.k).includes(r)).slice(0, 120), o = r ? [] : n.map((e) => i.get(Un(e)) || {k: e,n: 0@@ -34599,72 +34599,72 @@ function que(e, t, n) {create: r && !s ? e.trim() : ""};}-var Jue = {+var Yue = {中字: "subtitle",无码: "uncensored",无码破解: "cracked",有码: "censored"-}, Yue = {+}, Xue = {mix: "Mix",parts: "分卷",editions: "版本",playlist: "播放列表"};-function Xue(e) {+function Zue(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: Yue[e.kind],+ title: Xue[e.kind],summary: e.kind === "editions" ? n : `${e.title} · ${n}`};}-var zP = (e = "") => /^\d+$/.test(e) ? `第 ${e} 卷` : /^[a-h]$/i.test(e) ? `${e.toUpperCase()} 卷` : e, Zue = (e, t) => (t?.kind === "parts" || t?.kind === "editions") && e.part_label ? `<small class="javedition partlabel">${z(zP(e.part_label))}</small>` : "";-function Que(e, t, n, r) {+var RP = (e = "") => /^\d+$/.test(e) ? `第 ${e} 卷` : /^[a-h]$/i.test(e) ? `${e.toUpperCase()} 卷` : e, Que = (e, t) => (t?.kind === "parts" || t?.kind === "editions") && e.part_label ? `<small class="javedition partlabel">${z(RP(e.part_label))}</small>` : "";+function $ue(e, t, n, r) {let i = e.filter((e) => e !== t), a = i.indexOf(n);return i.splice(a + +!!r, 0, t), i;}-var $ue = (e, t) => e.length === t.length && e.every((e, n) => e === t[n]);-function ede(e, t) {+var ede = (e, t) => e.length === t.length && e.every((e, n) => e === t[n]);+function tde(e, t) {return t ? "offline" : String(e.name || "").toLowerCase().endsWith(".iso") ? "disc" : e.location === "online" && !e.follow_item_id ? "online" : e.cost === "metered" && e.location !== "online" ? "metered" : "";}-function tde(e) {+function nde(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 BP(e, t) {+function zP(e, t) {return e === "dislike" ? t.feedback === "dislike" ? "已标记不合口味" : "已取消不合口味" : e === "seen" ? t.feedback === "seen" ? "已标记看过" : "已取消看过" : e === "dispose" ? t.disposal === "trash" ? "已移入回收站" : "已移出回收站" : "已记录一次高潮";}// src/react/immerse/immerse.ts-var nde = (e, t, n) => [+var rde = (e, t, n) => ["immerse-list",e,t,n];-function rde(e) {+function ide(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 ide = (e, t) => e.cost !== "metered" && !!e.duration && !t(String(e.root_id || e.location || ""));-function ade(e, t = Math.random) {+var ade = (e, t) => e.cost !== "metered" && !!e.duration && !t(String(e.root_id || e.location || ""));+function ode(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 ode(e, t) {- return ade(((await B(`/api/items?${e}`)).items || []).filter((e) => ide(e, t)));+async function sde(e, t) {+ return ode(((await B(`/api/items?${e}`)).items || []).filter((e) => ade(e, t)));}-var VP = (e) => H.ensureQueryData({- queryKey: _P(e),- queryFn: ({ signal: t }) => EP(e, t)+var BP = (e) => H.ensureQueryData({+ queryKey: gP(e),+ queryFn: ({ signal: t }) => TP(e, t)});-function sde(e, t) {+function cde(e, t) {let n = new Set(e.map((e) => e.id));return e.concat(t.filter((e) => !n.has(e.id)));}-function cde(e) {+function lde(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,@@ -34673,306 +34673,306 @@ function cde(e) {ref: r && e.entity_refs?.[r]?.[0] || null};}-function lde(e, t, n) {+function ude(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 ude(e, t) {+function dde(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 dde = 15e3, HP = {+var fde = 15e3, VP = {open: !1,idle: !1,wide: !1,loading: null,shown: null-}, UP = null, WP = null, GP = HP, KP = /* @__PURE__ */ new Set(), qP = 0, JP = 0, YP = 0, XP = "", ZP = [], QP = 0, $P = !1, eF = !1, tF = null, nF = /* @__PURE__ */ new Set(), rF = "", iF = null, aF = 0, oF = null, sF = !1;-function cF() {- if (!UP) throw Error("沉浸模式还没有接上宿主(configureImmerse)");- return UP;+}, HP = null, UP = null, WP = VP, GP = /* @__PURE__ */ new Set(), KP = 0, qP = 0, JP = 0, YP = "", XP = [], ZP = 0, QP = !1, $P = !1, eF = null, tF = /* @__PURE__ */ new Set(), nF = "", rF = null, iF = 0, aF = null, oF = !1;+function sF() {+ if (!HP) throw Error("沉浸模式还没有接上宿主(configureImmerse)");+ return HP;}-function fde(e) {- return KP.add(e), () => {- KP.delete(e);+function pde(e) {+ return GP.add(e), () => {+ GP.delete(e);};}-function pde() {- for (let e of [...KP]) e();+function mde() {+ for (let e of [...GP]) e();}-function lF() {- (0, Rt.flushSync)(pde);+function cF() {+ (0, Rt.flushSync)(mde);}-function uF() {- let e = iF ? oN(iF.id) : 0;- return e ? `${rF} · ${cN(e)}` : rF;+function lF() {+ let e = rF ? aN(rF.id) : 0;+ return e ? `${nF} · ${sN(e)}` : nF;}-function dF(e, t = null) {- clearInterval(aF), aF = 0, e === null ? (GP = {- ...GP,+function uF(e, t = null) {+ clearInterval(iF), iF = 0, e === null ? (WP = {+ ...WP,loading: null- }, lF()) : (rF = e, iF = t, GP = {- ...GP,- loading: uF()- }, lF(), aF = window.setInterval(() => {- iF = ZP[QP] ?? null, GP = {- ...GP,- loading: uF()- }, lF();+ }, cF()) : (nF = e, rF = t, WP = {+ ...WP,+ loading: lF()+ }, cF(), iF = window.setInterval(() => {+ rF = XP[ZP] ?? null, WP = {+ ...WP,+ loading: lF()+ }, cF();}, 500));}-function mde(e) {+function hde(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), WP.track.append(t);- let r = zN(), i = () => {}, a = {+ n.className = "video-js", n.playsInline = !0, n.preload = "auto", t.append(n), UP.track.append(t);+ let r = RN(), i = () => {}, a = {el: t,video: n,session: r,- release: () => HN(r),+ release: () => VN(r),disposed: !1,gone: new Promise((e) => {i = e;}),leave: i};- return nF.add(a), a;+ return tF.add(a), a;}-function hde(e, t) {+function gde(e, t) {return new Promise((n) => {- e.release = aP(e.video, {+ e.release = iP(e.video, {kind: "immerse",item: t,session: e.session,onLoaded: n,onEnded: () => {- GP.open && vF(1);+ WP.open && _F(1);}}), e.gone.then(n);});}-function fF(e) {- e && !e.disposed && (e.disposed = !0, nF.delete(e), e.leave(), e.release(), e.el.remove(), tF === e && (tF = null));+function dF(e) {+ e && !e.disposed && (e.disposed = !0, tF.delete(e), e.leave(), e.release(), e.el.remove(), eF === e && (eF = null));}-var pF = [+var fF = ["loadeddata","canplay","error"];-function gde(e) {+function _de(e) {let { video: t } = e;return t.readyState >= 3 ? Promise.resolve() : new Promise((n) => {let r = !1, i = () => {- r || (r = !0, clearTimeout(a), pF.forEach((e) => t.removeEventListener(e, i)), n());+ r || (r = !0, clearTimeout(a), fF.forEach((e) => t.removeEventListener(e, i)), n());};- pF.forEach((e) => t.addEventListener(e, i, { once: !0 }));- let a = setTimeout(i, dde);+ fF.forEach((e) => t.addEventListener(e, i, { once: !0 }));+ let a = setTimeout(i, fde);e.gone.then(i);});}-function mF(e) {- let t = e.closest("[data-immerse-track]"), n = t && t.clientWidth && t.clientHeight ? t.clientWidth / t.clientHeight : window.innerWidth / window.innerHeight, r = lde(e.videoWidth, e.videoHeight, n);+function pF(e) {+ let t = e.closest("[data-immerse-track]"), n = t && t.clientWidth && t.clientHeight ? t.clientWidth / t.clientHeight : window.innerWidth / window.innerHeight, r = ude(e.videoWidth, e.videoHeight, n);r === "contain" ? e.dataset.fit = "contain" : r && delete e.dataset.fit;}-var hF = () => WP?.track.querySelectorAll("video").forEach(mF);-function _de(e) {- delete e.dataset.fit, e.readyState >= 1 ? mF(e) : e.addEventListener("loadedmetadata", () => mF(e), { once: !0 });-}+var mF = () => UP?.track.querySelectorAll("video").forEach(pF);function vde(e) {- GP = {- ...GP,+ delete e.dataset.fit, e.readyState >= 1 ? pF(e) : e.addEventListener("loadedmetadata", () => pF(e), { once: !0 });+}+function yde(e) {+ WP = {+ ...WP,wide: e- }, lF(), hF();+ }, cF(), mF();}-var gF = () => {- let e = XP;+var hF = () => {+ let e = YP;return H.fetchQuery({- queryKey: nde(e, JP, YP),- queryFn: () => ode(e, cF().sourceOffline),+ queryKey: rde(e, qP, JP),+ queryFn: () => sde(e, sF().sourceOffline),staleTime: Infinity});};-function yde(e, t) {+function bde(e, t) {let n = () => qn(e.duration) || qn(t.duration);e.addEventListener("timeupdate", () => {let t = n();- t && WP && (WP.progress.style.width = `${(e.currentTime / t * 100).toFixed(2)}%`);- }), oF = {+ t && UP && (UP.progress.style.width = `${(e.currentTime / t * 100).toFixed(2)}%`);+ }), aF = {video: e,duration: n};}-async function _F(e = 0) {- let t = ZP[QP];- if (!t || $P) return;- let n = qP;- cF().route(t.id), $P = !0, dF(e ? "切换中" : "加载中", t);+async function gF(e = 0) {+ let t = XP[ZP];+ if (!t || QP) return;+ let n = KP;+ sF().route(t.id), QP = !0, uF(e ? "切换中" : "加载中", t);let r = null;try {- if (await VP(t.id).catch((e) => {- if (!(e instanceof TP)) throw e;- }), n !== qP) return;- let i = tF, a = !!(e && i);- a || fF(i);- let o = mde(a ? e > 0 ? 100 : -100 : 0);- if (r = o, _de(o.video), await hde(o, t), await gde(o), o.disposed || (vde(ude(o.video, t)), a && i && (requestAnimationFrame(() => requestAnimationFrame(() => {+ if (await BP(t.id).catch((e) => {+ if (!(e instanceof wP)) throw e;+ }), n !== KP) return;+ let i = eF, a = !!(e && i);+ a || dF(i);+ let o = hde(a ? e > 0 ? 100 : -100 : 0);+ if (r = o, vde(o.video), await gde(o, t), await _de(o), o.disposed || (yde(dde(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)), fF(i), o.el.style.transform = ""), o.disposed)) return;- tF = o, r = null, o.video.play()?.catch(() => {}), GP = {- ...GP,+ })), await new Promise((e) => setTimeout(e, 210)), dF(i), o.el.style.transform = ""), o.disposed)) return;+ eF = o, r = null, o.video.play()?.catch(() => {}), WP = {+ ...WP,idle: !1,shown: {item: t,- index: QP,- length: ZP.length+ index: ZP,+ length: XP.length}- }, yde(o.video, t), V("/api/play", { id: t.id }).catch(() => {}), dF(null);+ }, bde(o.video, t), V("/api/play", { id: t.id }).catch(() => {}), uF(null);} catch {- fF(r), n === qP && dF(null);+ dF(r), n === KP && uF(null);} finally {- n === qP && ($P = !1);+ n === KP && (QP = !1);}}-async function vF(e) {- if ($P || !GP.open) return;- let t = qP;- if (QP += e, dF("切换中", ZP[QP] ?? null), QP >= ZP.length - 3 && !eF) {- eF = !0;+async function _F(e) {+ if (QP || !WP.open) return;+ let t = KP;+ if (ZP += e, uF("切换中", XP[ZP] ?? null), ZP >= XP.length - 3 && !$P) {+ $P = !0;try {- YP += 1;- let e = await gF();- t === qP && (ZP = sde(ZP, e));+ JP += 1;+ let e = await hF();+ t === KP && (XP = cde(XP, e));} catch {} finally {- eF = !1;+ $P = !1;}}- t === qP && (QP >= ZP.length && (QP = 0), QP < 0 && (QP = ZP.length - 1), await _F(e));+ t === KP && (ZP >= XP.length && (ZP = 0), ZP < 0 && (ZP = XP.length - 1), await gF(e));}-async function bde(e) {- let t = ++qP;- yF(), JP += 1, YP = 0, XP = rde(cF().filters()), H.removeQueries({ queryKey: ["immerse-list"] }), GP = {- ...GP,+async function xde(e) {+ let t = ++KP;+ vF(), qP += 1, JP = 0, YP = ide(sF().filters()), H.removeQueries({ queryKey: ["immerse-list"] }), WP = {+ ...WP,open: !0,idle: !0,shown: null- }, document.body.setAttribute("data-immerse-open", ""), dF("加载内容");+ }, document.body.setAttribute("data-immerse-open", ""), uF("加载内容");try {- let n = await gF();+ let n = await hF();if (e && !n.some((t) => t.id === e)) {- let t = await VP(e).catch((e) => {- if (e instanceof TP) return null;+ let t = await BP(e).catch((e) => {+ if (e instanceof wP) return null;throw e;});t?.id && (n = [t, ...n.filter((t) => t.id !== e)]);}- if (t !== qP) return;- if (ZP = n, !ZP.length) {- bF(), cF().warn("当前筛选下没有可直接播放的内容");+ if (t !== KP) return;+ if (XP = n, !XP.length) {+ yF(), sF().warn("当前筛选下没有可直接播放的内容");return;}- QP = Math.max(0, ZP.findIndex((t) => t.id === e)), await _F();+ ZP = Math.max(0, XP.findIndex((t) => t.id === e)), await gF();} catch {- if (t !== qP) return;- dF(null), bF();+ if (t !== KP) return;+ uF(null), yF();}}-function yF() {- clearInterval(aF), aF = 0, EF(), wF = null, oF = null, sF = !1, [...nF].forEach(fF), $P = !1;+function vF() {+ clearInterval(iF), iF = 0, TF(), CF = null, aF = null, oF = !1, [...tF].forEach(dF), QP = !1;}-function bF() {- GP.open && (qP++, yF(), GP = HP, document.body.removeAttribute("data-immerse-open"), lF(), cF().closed());+function yF() {+ WP.open && (KP++, vF(), WP = VP, document.body.removeAttribute("data-immerse-open"), cF(), sF().closed());}-var xF = 0, SF = null, CF = 0, wF = null, TF = 0;-function EF() {- clearTimeout(xF), xF = 0, SF = null;+var bF = 0, xF = null, SF = 0, CF = null, wF = 0;+function TF() {+ clearTimeout(bF), bF = 0, xF = null;}-function xde(e) {- let t = tF?.video;+function Sde(e) {+ let t = eF?.video;if (!t) return;let n = e < window.innerWidth / 2 ? -1 : 1, r = Date.now();- SF && SF.side === n && r - SF.at <= 280 ? (EF(), sP(t, cF().seekSeconds() * n)) : (xF && (clearTimeout(xF), xF = 0, oP(t)), SF = {+ xF && xF.side === n && r - xF.at <= 280 ? (TF(), oP(t, sF().seekSeconds() * n)) : (bF && (clearTimeout(bF), bF = 0, aP(t)), xF = {side: n,at: r- }, xF = window.setTimeout(() => {- xF = 0, SF = null, GP.open && oP(tF?.video);+ }, bF = window.setTimeout(() => {+ bF = 0, xF = null, WP.open && aP(eF?.video);}, 280));}-function Sde() {- Date.now() < CF || oP(tF?.video);+function Cde() {+ Date.now() < SF || aP(eF?.video);}-var DF = (e) => WP?.bar.toggleAttribute("data-scrubbing", e);-function OF(e) {- WP && (WP.progress.style.width = `${(e * 100).toFixed(2)}%`);+var EF = (e) => UP?.bar.toggleAttribute("data-scrubbing", e);+function DF(e) {+ UP && (UP.progress.style.width = `${(e * 100).toFixed(2)}%`);}-function kF(e) {+function OF(e) {let t = e.target;if (e.touches.length !== 1 || !t?.closest("[data-immerse-track]")) {- wF = null;+ CF = null;return;}- let n = tF?.video;- wF = {+ let n = eF?.video;+ CF = {x: e.touches[0].clientX,y: e.touches[0].clientY,axis: "",from: n && n.currentTime || 0};}-function AF(e) {- if (!wF || e.touches.length !== 1) return;- let t = e.touches[0].clientX - wF.x, n = e.touches[0].clientY - wF.y;- if (!wF.axis) {+function kF(e) {+ if (!CF || e.touches.length !== 1) return;+ let t = e.touches[0].clientX - CF.x, n = e.touches[0].clientY - CF.y;+ if (!CF.axis) {if (Math.abs(t) < 12 && Math.abs(n) < 12) return;- wF.axis = Math.abs(t) > Math.abs(n) ? "x" : "y", wF.axis === "x" && DF(!0);+ CF.axis = Math.abs(t) > Math.abs(n) ? "x" : "y", CF.axis === "x" && EF(!0);}- if (wF.axis !== "x") return;- let r = tF?.video, i = r && r.duration || 0;- i && (e.preventDefault(), wF.to = Math.min(i, Math.max(0, wF.from + t / window.innerWidth * i)), OF(wF.to / i));+ if (CF.axis !== "x") return;+ let r = eF?.video, i = r && r.duration || 0;+ i && (e.preventDefault(), CF.to = Math.min(i, Math.max(0, CF.from + t / window.innerWidth * i)), DF(CF.to / i));}-function jF(e) {- if (!wF) return;- let t = wF;- if (wF = null, CF = Date.now() + 700, DF(!1), t.axis === "x") {- let e = tF?.video;+function AF(e) {+ if (!CF) return;+ let t = CF;+ if (CF = null, SF = Date.now() + 700, EF(!1), t.axis === "x") {+ let e = eF?.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 ? (EF(), vF(i > 0 ? 1 : -1)) : Math.abs(r) <= 14 && Math.abs(i) <= 14 && (e.preventDefault(), xde(n.clientX));+ Math.abs(i) > 60 ? (TF(), _F(i > 0 ? 1 : -1)) : Math.abs(r) <= 14 && Math.abs(i) <= 14 && (e.preventDefault(), Sde(n.clientX));}-function MF() {- wF = null, DF(!1);+function jF() {+ CF = null, EF(!1);}-function NF(e) {+function MF(e) {let t = Date.now();- t - TF < 260 || (TF = t, vF(e.deltaY > 0 ? 1 : -1));+ t - wF < 260 || (wF = t, _F(e.deltaY > 0 ? 1 : -1));}-function PF(e) {- let t = WP.bar.getBoundingClientRect();+function NF(e) {+ let t = UP.bar.getBoundingClientRect();return Math.min(1, Math.max(0, (e.clientX - t.left) / t.width));}-function Cde(e) {- oF?.duration() && (sF = !0, DF(!0), e.currentTarget.setPointerCapture(e.pointerId), OF(PF(e)), e.preventDefault());-}function wde(e) {- sF && OF(PF(e));+ aF?.duration() && (oF = !0, EF(!0), e.currentTarget.setPointerCapture(e.pointerId), DF(NF(e)), e.preventDefault());}function Tde(e) {- if (!sF) return;- sF = !1, DF(!1);- let t = oF?.duration();- oF && t && (oF.video.currentTime = t * PF(e));+ oF && DF(NF(e));}-function Ede() {- sF = !1, DF(!1);+function Ede(e) {+ if (!oF) return;+ oF = !1, EF(!1);+ let t = aF?.duration();+ aF && t && (aF.video.currentTime = t * NF(e));}-async function FF(e, t) {- let n = await V(bP, {+function Dde() {+ oF = !1, EF(!1);+}+async function PF(e, t) {+ let n = await V(yP, {id: e,kind: t- }), r = H.getQueryData(_P(e));- if (!r) return fP(e, {+ }), r = H.getQueryData(gP(e));+ if (!r) return dP(e, {feedback: n.feedback ?? void 0,o_count: n.o_count}), n;@@ -34981,7 +34981,7 @@ async function FF(e, t) {feedback: n.feedback ?? void 0,o_count: n.o_count};- return H.setQueryData(_P(e), i), fP(e, {+ return H.setQueryData(gP(e), i), dP(e, {feedback: i.feedback,disposal: i.disposal,watch_later: i.watch_later,@@ -34989,7 +34989,7 @@ async function FF(e, t) {o_count: i.o_count}), n;}-var Dde = [+var Ode = [{kind: "dislike",glyph: "thumbs-down",@@ -35006,31 +35006,31 @@ var Dde = [label: "记一次高潮"}];-function IF(e) {+function FF(e) {return Ft({- queryKey: _P(e ?? 0),- queryFn: ({ signal: t }) => EP(e, t),+ queryKey: gP(e ?? 0),+ queryFn: ({ signal: t }) => TP(e, t),enabled: e != null,staleTime: Infinity}).data;}-function Ode({ kind: e, glyph: t, label: n, id: r }) {- let i = IF(r), a = It({+function kde({ kind: e, glyph: t, label: n, id: r }) {+ let i = FF(r), a = It({mutationFn: async (t) => {- let n = H.getQueryData(_P(t))?.feedback || null;+ let n = H.getQueryData(gP(t))?.feedback || null;return {- result: await FF(t, e),+ result: await PF(t, e),before: n};},onSuccess: ({ result: t, before: n }, r) => {- cF().toast(BP(e, t), { undo: async () => {- e === "o" ? await FF(r, "o-undo") : (t.feedback && await FF(r, t.feedback), n && await FF(r, n));+ sF().toast(zP(e, t), { undo: async () => {+ e === "o" ? await PF(r, "o-undo") : (t.feedback && await PF(r, t.feedback), n && await PF(r, n));} }), e === "dislike" && t.feedback === "dislike" && setTimeout(() => {- vF(1);+ _F(1);}, 260);},- onError: (e) => cF().failure("更新反馈", e)+ onError: (e) => sF().failure("更新反馈", e)}), o = a.isPending, s = e !== "o" && i ? i.feedback === e ? "true" : "false" : void 0;return /* @__PURE__ */ (0, I.jsxs)("div", {"data-immerse-action": "",@@ -35061,11 +35061,11 @@ function Ode({ kind: e, glyph: t, label: n, id: r }) {})]});}-function kde({ shown: e }) {- let t = e?.item ?? null, n = IF(t?.id ?? null), r = n ? cde(n) : null, i = cF(), a = (e) => {- e.preventDefault(), n && (bF(), n.performers?.[0] ? i.openEntity("performer", n.performers[0]) : n.creator ? i.openEntity("creator", n.creator) : i.openUnowned());+function Ade({ shown: e }) {+ let t = e?.item ?? null, n = FF(t?.id ?? null), r = n ? lde(n) : null, i = sF(), a = (e) => {+ e.preventDefault(), n && (yF(), n.performers?.[0] ? i.openEntity("performer", n.performers[0]) : n.creator ? i.openEntity("creator", n.creator) : i.openUnowned());}, o = () => {- t && (bF(), i.openItem(t.id));+ t && (yF(), i.openItem(t.id));}, s = r ? _o(r.name, r.ref, Za(r.name), r.kind || "performer") : "";return /* @__PURE__ */ (0, I.jsxs)("div", {"data-immerse-ui": "",@@ -35094,18 +35094,18 @@ function kde({ shown: e }) {})]});}-var Ade = { __html: Bs("媒体加载中") };-function jde({ view: e }) {+var jde = { __html: Bs("媒体加载中") };+function Mde({ view: e }) {let t = (0, F.useRef)(null), n = (0, F.useRef)(null), r = (0, F.useRef)(null), i = (0, F.useRef)(null);(0, F.useLayoutEffect)(() => {let e = t.current;- return WP = {+ return UP = {root: e,track: n.current,bar: r.current,progress: i.current- }, e.addEventListener("touchstart", kF, { passive: !0 }), e.addEventListener("touchmove", AF, { passive: !1 }), e.addEventListener("touchend", jF, { passive: !1 }), e.addEventListener("touchcancel", MF, { passive: !0 }), e.addEventListener("wheel", NF, { passive: !0 }), () => {- e.removeEventListener("touchstart", kF), e.removeEventListener("touchmove", AF), e.removeEventListener("touchend", jF), e.removeEventListener("touchcancel", MF), e.removeEventListener("wheel", NF), WP = null;+ }, e.addEventListener("touchstart", OF, { passive: !0 }), e.addEventListener("touchmove", kF, { passive: !1 }), e.addEventListener("touchend", AF, { passive: !1 }), e.addEventListener("touchcancel", jF, { passive: !0 }), e.addEventListener("wheel", MF, { passive: !0 }), () => {+ e.removeEventListener("touchstart", OF), e.removeEventListener("touchmove", kF), e.removeEventListener("touchend", AF), e.removeEventListener("touchcancel", jF), e.removeEventListener("wheel", MF), UP = null;};}, []);let a = e.shown?.item.id ?? null, o = (e) => e ? "" : void 0;@@ -35122,10 +35122,10 @@ function jde({ view: e }) {children: [/* @__PURE__ */ (0, I.jsx)("div", {ref: n,"data-immerse-track": "",- onClick: Sde+ onClick: Cde}), /* @__PURE__ */ (0, I.jsx)("div", {"data-immerse-actions": "",- children: Dde.map((e) => /* @__PURE__ */ (0, I.jsx)(Ode, {+ children: Ode.map((e) => /* @__PURE__ */ (0, I.jsx)(kde, {...e,id: a}, e.kind))@@ -35138,7 +35138,7 @@ function jde({ view: e }) {hidden: e.loading === null,children: [/* @__PURE__ */ (0, I.jsx)("span", {"data-immerse-spinner": "",- dangerouslySetInnerHTML: Ade+ dangerouslySetInnerHTML: jde}), /* @__PURE__ */ (0, I.jsx)("span", { children: e.loading ?? "" })]}),/* @__PURE__ */ (0, I.jsx)("button", {@@ -35146,7 +35146,7 @@ function jde({ view: e }) {"data-immerse-close": "",title: "关闭","aria-label": "关闭",- onClick: bF,+ onClick: yF,children: /* @__PURE__ */ (0, I.jsx)("svg", {viewBox: "0 0 24 24",children: /* @__PURE__ */ (0, I.jsx)("use", { href: "#i-x" })@@ -35155,41 +35155,41 @@ function jde({ view: e }) {/* @__PURE__ */ (0, I.jsx)("div", {ref: r,"data-immerse-bar": "",- onPointerDown: Cde,- onPointerMove: wde,- onPointerUp: Tde,- onPointerCancel: Ede,+ onPointerDown: wde,+ onPointerMove: Tde,+ onPointerUp: Ede,+ onPointerCancel: Dde,children: /* @__PURE__ */ (0, I.jsx)("i", { ref: i })}),- /* @__PURE__ */ (0, I.jsx)(kde, { shown: e.shown })+ /* @__PURE__ */ (0, I.jsx)(Ade, { shown: e.shown })]});}-var Mde = {- open: bde,- close: bF,- isOpen: () => GP.open,- activeVideo: () => GP.open ? tF?.video ?? null : null+var Nde = {+ open: xde,+ close: yF,+ isOpen: () => WP.open,+ activeVideo: () => WP.open ? eF?.video ?? null : null};-function Nde(e) {- if (!GP.open) return;+function Pde(e) {+ if (!WP.open) return;let t = e.target;- t && (t.tagName === "INPUT" || t.tagName === "TEXTAREA" || t.isContentEditable) || e.ctrlKey || e.metaKey || e.altKey || (e.key === "ArrowDown" && vF(1), e.key === "ArrowUp" && vF(-1));+ t && (t.tagName === "INPUT" || t.tagName === "TEXTAREA" || t.isContentEditable) || e.ctrlKey || e.metaKey || e.altKey || (e.key === "ArrowDown" && _F(1), e.key === "ArrowUp" && _F(-1));}-function Pde(e) {- let t = !UP;- return UP = e, t && (document.addEventListener("keydown", Nde), addEventListener("resize", () => {- GP.open && hF();+function Fde(e) {+ let t = !HP;+ return HP = e, t && (document.addEventListener("keydown", Pde), addEventListener("resize", () => {+ WP.open && mF();}), addEventListener("pagehide", () => {- nF.forEach((e) => HN(e.session));- })), Mde;+ tF.forEach((e) => VN(e.session));+ })), Nde;}-function Fde() {- let e = (0, F.useSyncExternalStore)(fde, () => GP);- return UP ? /* @__PURE__ */ (0, I.jsx)(jde, { view: e }) : null;+function Ide() {+ let e = (0, F.useSyncExternalStore)(pde, () => WP);+ return HP ? /* @__PURE__ */ (0, I.jsx)(Mde, { view: e }) : null;}// src/manage-header.ts-var LF = {+var IF = {...Xf,"/junk-files": "垃圾文件","/duplicates": "重复文件",@@ -35197,47 +35197,47 @@ var LF = {"/trash": "回收站","/quality-goals": "高清版","/sources": "来源和凭证"-}, Ide = /* @__PURE__ */ new Set(["/data-cleanup", "/sources"]);-function Lde(e) {- let t = LF[e.path] ? "cleanup" : e.section;+}, Lde = /* @__PURE__ */ new Set(["/data-cleanup", "/sources"]);+function Rde(e) {+ let t = IF[e.path] ? "cleanup" : e.section;return e.menu.some(([e]) => e === t) ? t : "";}-var Rde = ({ total: e, shown: t }) => `${e.toLocaleString()} 个符合 · 显示 ${t.toLocaleString()}`;-function RF(e) {+var zde = ({ total: e, shown: t }) => `${e.toLocaleString()} 个符合 · 显示 ${t.toLocaleString()}`;+function LF(e) {let t = e.sections.find(([t]) => t === e.section);if (!t) return null;- let n = LF[e.path] ?? "";+ let n = IF[e.path] ?? "";return {title: e.section === "cleanup" && n || t[1],- pressed: Lde(e),+ pressed: Rde(e),crumb: n,- compact: Ide.has(e.path) || e.section === "configuration",+ compact: Lde.has(e.path) || e.section === "configuration",lede: e.section === "trash" ? e.trash ? {kind: "count",- text: Rde(e.trash),+ text: zde(e.trash),total: e.trash.total} : { kind: "skeleton" } : { kind: "none" }};}-var zF = (e) => e.replace(/[&<>"']/g, (e) => ({+var RF = (e) => e.replace(/[&<>"']/g, (e) => ({"&": "&","<": "<",">": ">","\"": ""","'": "'"-})[e]), BF = (e) => `<svg viewBox="0 0 24 24" aria-hidden="true"><use href="#i-${zF(e)}"/></svg>`, VF = "<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 zde(e) {- let t = RF(e);+})[e]), zF = (e) => `<svg viewBox="0 0 24 24" aria-hidden="true"><use href="#i-${RF(e)}"/></svg>`, BF = "<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 Bde(e) {+ let t = LF(e);if (!t) return "";let n = e.menu.map(([e, n, r]) => {let i = e === t.pressed;- return `<button type="button" data-manage="${zF(e)}" data-pill-variant="gray" aria-pressed="${i}"${i ? " aria-current=\"page\" data-pill-selected=\"\"" : ""}>${BF(r)}<span>${zF(n)}</span></button>`;- }).join(""), r = t.crumb ? `<nav data-manage-crumb="" aria-label="Breadcrumb"><ol><li><a href="/data-cleanup">数据管理</a>${BF("chevron-right")}</li><li aria-current="true"><span>${zF(t.crumb)}</span></li></ol></nav>` : "", i = t.lede.kind === "none" ? "" : `<p class="mono" data-manage-lede="">${t.lede.kind === "skeleton" ? VF : `<span data-lede-text="">${zF(t.lede.text)}</span>${t.lede.total ? Bde : ""}`}</p>`;- return `<nav data-manage-bar="" aria-label="管理"><div data-manage-menu="" data-pill-nav="" role="group">${n}</div></nav>` + r + `<h2 data-manage-title=""${t.compact ? " data-compact=\"\"" : ""}>${zF(t.title)}</h2>` + i;+ return `<button type="button" data-manage="${RF(e)}" data-pill-variant="gray" aria-pressed="${i}"${i ? " aria-current=\"page\" data-pill-selected=\"\"" : ""}>${zF(r)}<span>${RF(n)}</span></button>`;+ }).join(""), r = t.crumb ? `<nav data-manage-crumb="" aria-label="Breadcrumb"><ol><li><a href="/data-cleanup">数据管理</a>${zF("chevron-right")}</li><li aria-current="true"><span>${RF(t.crumb)}</span></li></ol></nav>` : "", i = t.lede.kind === "none" ? "" : `<p class="mono" data-manage-lede="">${t.lede.kind === "skeleton" ? BF : `<span data-lede-text="">${RF(t.lede.text)}</span>${t.lede.total ? Vde : ""}`}</p>`;+ return `<nav data-manage-bar="" aria-label="管理"><div data-manage-menu="" data-pill-nav="" role="group">${n}</div></nav>` + r + `<h2 data-manage-title=""${t.compact ? " data-compact=\"\"" : ""}>${RF(t.title)}</h2>` + i;}-var Bde = "<button type=\"button\" data-empty-trash=\"\" title=\"永久删除回收站内容\">清空回收站</button>";+var Vde = "<button type=\"button\" data-empty-trash=\"\" title=\"永久删除回收站内容\">清空回收站</button>";// src/react/settings-panel/icon.tsx-function HF({ name: e }) {+function VF({ name: e }) {let { wide: t, viewBox: n } = Cn(e);return /* @__PURE__ */ (0, I.jsx)("svg", {viewBox: n,@@ -35246,7 +35246,7 @@ function HF({ name: e }) {children: /* @__PURE__ */ (0, I.jsx)("use", { href: `#i-${e}` })});}-function Vde({ name: e }) {+function Hde({ name: e }) {return /* @__PURE__ */ (0, I.jsx)("svg", {viewBox: "0 0 24 24","aria-hidden": "true",@@ -35254,88 +35254,88 @@ function Vde({ name: e }) {});}// node_modules/tailwind-merge/dist/bundle-mjs.mjs-var Hde = (e, t) => {+var Ude = (e, t) => {let n = Array(e.length + t.length);for (let t = 0; t < e.length; t++) n[t] = e[t];for (let r = 0; r < t.length; r++) n[e.length + r] = t[r];return n;-}, Ude = (e, t) => ({+}, Wde = (e, t) => ({classGroupId: e,validator: t-}), UF = (e = /* @__PURE__ */ new Map(), t = null, n) => ({+}), HF = (e = /* @__PURE__ */ new Map(), t = null, n) => ({nextPart: e,validators: t,classGroupId: n-}), WF = "-", GF = [], Wde = "arbitrary..", Gde = (e) => {- let t = qde(e), { conflictingClassGroups: n, conflictingClassGroupModifiers: r } = e;+}), UF = "-", WF = [], Gde = "arbitrary..", Kde = (e) => {+ let t = Jde(e), { conflictingClassGroups: n, conflictingClassGroupModifiers: r } = e;return {getClassGroupId: (e) => {- if (e.startsWith("[") && e.endsWith("]")) return Kde(e);- let n = e.split(WF);- return KF(n, +(n[0] === "" && n.length > 1), t);+ if (e.startsWith("[") && e.endsWith("]")) return qde(e);+ let n = e.split(UF);+ return GF(n, +(n[0] === "" && n.length > 1), t);},getConflictingClassGroupIds: (e, t) => {if (t) {let t = r[e], i = n[e];- return t ? i ? Hde(i, t) : t : i || GF;+ return t ? i ? Ude(i, t) : t : i || WF;}- return n[e] || GF;+ return n[e] || WF;}};-}, KF = (e, t, n) => {+}, GF = (e, t, n) => {if (e.length - t === 0) return n.classGroupId;let r = e[t], i = n.nextPart.get(r);if (i) {- let n = KF(e, t + 1, i);+ let n = GF(e, t + 1, i);if (n) return n;}let a = n.validators;if (a === null) return;- let o = t === 0 ? e.join(WF) : e.slice(t).join(WF), s = a.length;+ let o = t === 0 ? e.join(UF) : e.slice(t).join(UF), s = a.length;for (let e = 0; e < s; e++) {let t = a[e];if (t.validator(o)) return t.classGroupId;}-}, Kde = (e) => e.slice(1, -1).indexOf(":") === -1 ? void 0 : (() => {+}, qde = (e) => e.slice(1, -1).indexOf(":") === -1 ? void 0 : (() => {let t = e.slice(1, -1), n = t.indexOf(":"), r = t.slice(0, n);- return r ? Wde + r : void 0;-})(), qde = (e) => {+ return r ? Gde + r : void 0;+})(), Jde = (e) => {let { theme: t, classGroups: n } = e;- return Jde(n, t);-}, Jde = (e, t) => {- let n = UF();+ return Yde(n, t);+}, Yde = (e, t) => {+ let n = HF();for (let r in e) {let i = e[r];- qF(i, n, r, t);+ KF(i, n, r, t);}return n;-}, qF = (e, t, n, r) => {+}, KF = (e, t, n, r) => {let i = e.length;for (let a = 0; a < i; a++) {let i = e[a];- Yde(i, t, n, r);+ Xde(i, t, n, r);}-}, Yde = (e, t, n, r) => {- typeof e == "string" ? Xde(e, t, n) : typeof e == "function" ? Zde(e, t, n, r) : Qde(e, t, n, r);-}, Xde = (e, t, n) => {- let r = e === "" ? t : JF(t, e);+}, Xde = (e, t, n, r) => {+ typeof e == "string" ? Zde(e, t, n) : typeof e == "function" ? Qde(e, t, n, r) : $de(e, t, n, r);+}, Zde = (e, t, n) => {+ let r = e === "" ? t : qF(t, e);r.classGroupId = n;-}, Zde = (e, t, n, r) => {- $de(e) ? qF(e(r), t, n, r) : (t.validators === null && (t.validators = []), t.validators.push(Ude(n, e)));}, Qde = (e, t, n, r) => {+ efe(e) ? KF(e(r), t, n, r) : (t.validators === null && (t.validators = []), t.validators.push(Wde(n, e)));+}, $de = (e, t, n, r) => {let i = Object.entries(e), a = i.length;for (let e = 0; e < a; e++) {let [a, o] = i[e];- qF(o, JF(t, a), n, r);+ KF(o, qF(t, a), n, r);}-}, JF = (e, t) => {- let n = e, r = t.split(WF), i = r.length;+}, qF = (e, t) => {+ let n = e, r = t.split(UF), i = r.length;for (let e = 0; e < i; e++) {let t = r[e], i = n.nextPart.get(t);- i || (i = UF(), n.nextPart.set(t, i)), n = i;+ i || (i = HF(), n.nextPart.set(t, i)), n = i;}return n;-}, $de = (e) => "isThemeGetter" in e && e.isThemeGetter === !0, efe = (e) => {+}, efe = (e) => "isThemeGetter" in e && e.isThemeGetter === !0, tfe = (e) => {if (e < 1) return {get: () => void 0,set: () => {}@@ -35353,19 +35353,19 @@ var Hde = (e, t) => {e in n ? n[e] = t : i(e, t);}};-}, YF = "!", XF = ":", tfe = [], ZF = (e, t, n, r, i) => ({+}, JF = "!", YF = ":", nfe = [], XF = (e, t, n, r, i) => ({modifiers: e,hasImportantModifier: t,baseClassName: n,maybePostfixModifierPosition: r,isExternal: i-}), nfe = (e) => {+}), rfe = (e) => {let { prefix: t, experimentalParseClassName: n } = e, r = (e) => {let t = [], n = 0, r = 0, i = 0, a, o = e.length;for (let s = 0; s < o; s++) {let o = e[s];if (n === 0 && r === 0) {- if (o === XF) {+ if (o === YF) {t.push(e.slice(i, s)), i = s + 1;continue;}@@ -35377,13 +35377,13 @@ var Hde = (e, t) => {o === "[" ? n++ : o === "]" ? n-- : o === "(" ? r++ : o === ")" && r--;}let s = t.length === 0 ? e : e.slice(i), c = s, l = !1;- s.endsWith(YF) ? (c = s.slice(0, -1), l = !0) : s.startsWith(YF) && (c = s.slice(1), l = !0);+ s.endsWith(JF) ? (c = s.slice(0, -1), l = !0) : s.startsWith(JF) && (c = s.slice(1), l = !0);let u = a && a > i ? a - i : void 0;- return ZF(t, l, c, u);+ return XF(t, l, c, u);};if (t) {- let e = t + XF, n = r;- r = (t) => t.startsWith(e) ? n(t.slice(e.length)) : ZF(tfe, !1, t, void 0, !0);+ let e = t + YF, n = r;+ r = (t) => t.startsWith(e) ? n(t.slice(e.length)) : XF(nfe, !1, t, void 0, !0);}if (n) {let e = r;@@ -35393,7 +35393,7 @@ var Hde = (e, t) => {});}return r;-}, rfe = (e) => {+}, ife = (e) => {let t = /* @__PURE__ */ new Map();return e.orderSensitiveModifiers.forEach((e, n) => {t.set(e, 1e6 + n);@@ -35405,18 +35405,18 @@ var Hde = (e, t) => {}return r.length > 0 && (r.sort(), n.push(...r)), n;};-}, ife = (e) => ({- cache: efe(e.cacheSize),- parseClassName: nfe(e),- sortModifiers: rfe(e),- postfixLookupClassGroupIds: afe(e),- ...Gde(e)-}), afe = (e) => {+}, afe = (e) => ({+ cache: tfe(e.cacheSize),+ parseClassName: rfe(e),+ sortModifiers: ife(e),+ postfixLookupClassGroupIds: ofe(e),+ ...Kde(e)+}), ofe = (e) => {let t = Object.create(null), n = e.postfixLookupClassGroups;if (n) for (let e = 0; e < n.length; e++) t[n[e]] = !0;return t;-}, ofe = /\s+/, sfe = (e, t) => {- let { parseClassName: n, getClassGroupId: r, getConflictingClassGroupIds: i, sortModifiers: a, postfixLookupClassGroupIds: o } = t, s = [], c = e.trim().split(ofe), l = "";+}, sfe = /\s+/, cfe = (e, t) => {+ let { parseClassName: n, getClassGroupId: r, getConflictingClassGroupIds: i, sortModifiers: a, postfixLookupClassGroupIds: o } = t, s = [], c = e.trim().split(sfe), l = "";for (let e = c.length - 1; e >= 0; --e) {let t = c[e], { isExternal: u, modifiers: d, hasImportantModifier: f, baseClassName: p, maybePostfixModifierPosition: m } = n(t);if (u) {@@ -35436,7 +35436,7 @@ var Hde = (e, t) => {}h = !1;}- let _ = d.length === 0 ? "" : d.length === 1 ? d[0] : a(d).join(":"), v = f ? _ + YF : _, y = v + g;+ let _ = d.length === 0 ? "" : d.length === 1 ? d[0] : a(d).join(":"), v = f ? _ + JF : _, y = v + g;if (s.indexOf(y) > -1) continue;s.push(y);let b = i(g, h);@@ -35447,34 +35447,34 @@ var Hde = (e, t) => {l = t + (l.length > 0 ? " " + l : l);}return l;-}, cfe = (...e) => {+}, lfe = (...e) => {let t = 0, n, r, i = "";- for (; t < e.length;) (n = e[t++]) && (r = QF(n)) && (i && (i += " "), i += r);+ for (; t < e.length;) (n = e[t++]) && (r = ZF(n)) && (i && (i += " "), i += r);return i;-}, QF = (e) => {+}, ZF = (e) => {if (typeof e == "string") return e;let t, n = "";- for (let r = 0; r < e.length; r++) e[r] && (t = QF(e[r])) && (n && (n += " "), n += t);+ for (let r = 0; r < e.length; r++) e[r] && (t = ZF(e[r])) && (n && (n += " "), n += t);return n;-}, $F = (e, ...t) => {- let n, r, i, a, o = (o) => (n = ife(t.reduce((e, t) => t(e), e())), r = n.cache.get, i = n.cache.set, a = s, s(o)), s = (e) => {+}, QF = (e, ...t) => {+ let n, r, i, a, o = (o) => (n = afe(t.reduce((e, t) => t(e), e())), r = n.cache.get, i = n.cache.set, a = s, s(o)), s = (e) => {let t = r(e);if (t) return t;- let a = sfe(e, n);+ let a = cfe(e, n);return i(e, a), a;};- return a = o, (...e) => a(cfe(...e));-}, lfe = [], eI = (e) => {- let t = (t) => t[e] || lfe;+ return a = o, (...e) => a(lfe(...e));+}, ufe = [], $F = (e) => {+ let t = (t) => t[e] || ufe;return t.isThemeGetter = !0, t.themeKey = e, t;-}, tI = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, nI = /^\((?:(\w[\w-]*):)?(.+)\)$/i, ufe = /^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/, dfe = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, ffe = /\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$/, pfe = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix|color|light-dark)\(.+\)$/, mfe = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, hfe = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, rI = (e) => ufe.test(e), iI = (e) => !!e && !Number.isNaN(Number(e)), aI = (e) => !!e && Number.isInteger(Number(e)), oI = (e) => e.endsWith("%") && iI(e.slice(0, -1)), sI = (e) => dfe.test(e), cI = () => !0, gfe = (e) => ffe.test(e) && !pfe.test(e), lI = () => !1, _fe = (e) => mfe.test(e), vfe = (e) => hfe.test(e), yfe = (e) => !uI(e) && !hI(e), bfe = (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)), xfe = (e) => bI(e, wI, lI), uI = (e) => tI.test(e), dI = (e) => bI(e, TI, gfe), fI = (e) => bI(e, Ofe, iI), Sfe = (e) => bI(e, DI, cI), Cfe = (e) => bI(e, EI, lI), pI = (e) => bI(e, SI, lI), wfe = (e) => bI(e, CI, vfe), mI = (e) => bI(e, OI, _fe), hI = (e) => nI.test(e), gI = (e) => xI(e, TI), Tfe = (e) => xI(e, EI), _I = (e) => xI(e, SI), vI = (e) => xI(e, wI), Efe = (e) => xI(e, CI), yI = (e) => xI(e, OI, !0), Dfe = (e) => xI(e, DI, !0), bI = (e, t, n) => {- let r = tI.exec(e);+}, eI = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, tI = /^\((?:(\w[\w-]*):)?(.+)\)$/i, dfe = /^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/, ffe = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, pfe = /\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$/, mfe = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix|color|light-dark)\(.+\)$/, hfe = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, gfe = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, nI = (e) => dfe.test(e), rI = (e) => !!e && !Number.isNaN(Number(e)), iI = (e) => !!e && Number.isInteger(Number(e)), aI = (e) => e.endsWith("%") && rI(e.slice(0, -1)), oI = (e) => ffe.test(e), sI = () => !0, _fe = (e) => pfe.test(e) && !mfe.test(e), cI = () => !1, vfe = (e) => hfe.test(e), yfe = (e) => gfe.test(e), bfe = (e) => !lI(e) && !mI(e), xfe = (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)), Sfe = (e) => yI(e, CI, cI), lI = (e) => eI.test(e), uI = (e) => yI(e, wI, _fe), dI = (e) => yI(e, kfe, rI), Cfe = (e) => yI(e, EI, sI), wfe = (e) => yI(e, TI, cI), fI = (e) => yI(e, xI, cI), Tfe = (e) => yI(e, SI, yfe), pI = (e) => yI(e, DI, vfe), mI = (e) => tI.test(e), hI = (e) => bI(e, wI), Efe = (e) => bI(e, TI), gI = (e) => bI(e, xI), _I = (e) => bI(e, CI), Dfe = (e) => bI(e, SI), vI = (e) => bI(e, DI, !0), Ofe = (e) => bI(e, EI, !0), yI = (e, t, n) => {+ let r = eI.exec(e);return r ? r[1] ? t(r[1]) : n(r[2]) : !1;-}, xI = (e, t, n = !1) => {- let r = nI.exec(e);+}, bI = (e, t, n = !1) => {+ let r = tI.exec(e);return r ? r[1] ? t(r[1]) : n : !1;-}, SI = (e) => e === "position" || e === "percentage", CI = (e) => e === "image" || e === "url", wI = (e) => e === "length" || e === "size" || e === "bg-size", TI = (e) => e === "length", Ofe = (e) => e === "number", EI = (e) => e === "family-name", DI = (e) => e === "number" || e === "weight", OI = (e) => e === "shadow", kI = () => {- let e = eI("color"), t = eI("font"), n = eI("text"), r = eI("font-weight"), i = eI("tracking"), a = eI("leading"), o = eI("breakpoint"), s = eI("container"), c = eI("spacing"), l = eI("radius"), u = eI("shadow"), d = eI("inset-shadow"), f = eI("text-shadow"), p = eI("drop-shadow"), m = eI("blur"), h = eI("perspective"), g = eI("aspect"), _ = eI("ease"), v = eI("animate"), y = () => [+}, xI = (e) => e === "position" || e === "percentage", SI = (e) => e === "image" || e === "url", CI = (e) => e === "length" || e === "size" || e === "bg-size", wI = (e) => e === "length", kfe = (e) => e === "number", TI = (e) => e === "family-name", EI = (e) => e === "number" || e === "weight", DI = (e) => e === "shadow", OI = () => {+ let e = $F("color"), t = $F("font"), n = $F("text"), r = $F("font-weight"), i = $F("tracking"), a = $F("leading"), o = $F("breakpoint"), s = $F("container"), c = $F("spacing"), l = $F("radius"), u = $F("shadow"), d = $F("inset-shadow"), f = $F("text-shadow"), p = $F("drop-shadow"), m = $F("blur"), h = $F("perspective"), g = $F("aspect"), _ = $F("ease"), v = $F("animate"), y = () => ["auto","avoid","all",@@ -35499,8 +35499,8 @@ var Hde = (e, t) => {"left-bottom"], x = () => [...b(),- hI,- uI+ mI,+ lI], S = () => ["auto","hidden",@@ -35512,43 +35512,43 @@ var Hde = (e, t) => {"contain","none"], w = () => [- hI,- uI,+ mI,+ lI,c], T = () => [- rI,+ nI,"full","auto",...w()], E = () => [- aI,+ iI,"none","subgrid",- hI,- uI+ mI,+ lI], D = () => ["auto",{ span: ["full",- aI,- hI,- uI+ iI,+ mI,+ lI] },- aI,- hI,- uI+ iI,+ mI,+ lI], O = () => [- aI,+ iI,"auto",- hI,- uI+ mI,+ lI], k = () => ["auto","min","max","fr",- hI,- uI+ mI,+ lI], A = () => ["start","end",@@ -35568,7 +35568,7 @@ var Hde = (e, t) => {"center-safe","end-safe"], M = () => ["auto", ...w()], ee = () => [- rI,+ nI,"auto","full","dvw",@@ -35583,7 +35583,7 @@ var Hde = (e, t) => {...w()], N = () => [s,- rI,+ nI,"screen","full","dvw",@@ -35594,7 +35594,7 @@ var Hde = (e, t) => {"fit",...w()], te = () => [- rI,+ nI,"screen","full","lh",@@ -35607,13 +35607,13 @@ var Hde = (e, t) => {...w()], P = () => [e,- hI,- uI+ mI,+ lI], ne = () => [...b(),- _I,- pI,- { position: [hI, uI] }+ gI,+ fI,+ { position: [mI, lI] }], re = () => ["no-repeat", { repeat: ["","x",@@ -35624,25 +35624,25 @@ var Hde = (e, t) => {"auto","cover","contain",- vI,- xfe,- { size: [hI, uI] }+ _I,+ Sfe,+ { size: [mI, lI] }], I = () => [- oI,- gI,- dI+ aI,+ hI,+ uI], ie = () => ["","none","full",l,- hI,- uI+ mI,+ lI], ae = () => ["",- iI,- gI,- dI+ rI,+ hI,+ uI], oe = () => ["solid","dashed",@@ -35666,32 +35666,32 @@ var Hde = (e, t) => {"color","luminosity"], ce = () => [- iI,- oI,- _I,- pI+ rI,+ aI,+ gI,+ fI], le = () => ["","none",m,- hI,- uI+ mI,+ lI], ue = () => ["none",- iI,- hI,- uI+ rI,+ mI,+ lI], de = () => ["none",- iI,- hI,- uI+ rI,+ mI,+ lI], fe = () => [- iI,- hI,- uI- ], pe = () => [rI,+ mI,+ lI+ ], pe = () => [+ nI,"full",...w()];@@ -35705,17 +35705,17 @@ var Hde = (e, t) => {"bounce"],aspect: ["video"],- blur: [sI],- breakpoint: [sI],- color: [cI],- container: [sI],- "drop-shadow": [sI],+ blur: [oI],+ breakpoint: [oI],+ color: [sI],+ container: [oI],+ "drop-shadow": [oI],ease: ["in","out","in-out"],- font: [yfe],+ font: [bfe],"font-weight": ["thin","extralight",@@ -35727,7 +35727,7 @@ var Hde = (e, t) => {"extrabold","black"],- "inset-shadow": [sI],+ "inset-shadow": [oI],leading: ["none","tight",@@ -35744,11 +35744,11 @@ var Hde = (e, t) => {"distant","none"],- radius: [sI],- shadow: [sI],- spacing: ["px", iI],- text: [sI],- "text-shadow": [sI],+ radius: [oI],+ shadow: [oI],+ spacing: ["px", rI],+ text: [oI],+ "text-shadow": [oI],tracking: ["tighter","tight",@@ -35762,9 +35762,9 @@ var Hde = (e, t) => {aspect: [{ aspect: ["auto","square",- rI,- uI,- hI,+ nI,+ lI,+ mI,g] }],container: ["container"],@@ -35772,15 +35772,15 @@ var Hde = (e, t) => {"","normal","size",- hI,- uI+ mI,+ lI] }],- "container-named": [bfe],+ "container-named": [xfe],columns: [{ columns: [- iI,+ rI,"auto",- uI,- hI,+ lI,+ mI,s] }],"break-after": [{ "break-after": y() }],@@ -35877,13 +35877,13 @@ var Hde = (e, t) => {"collapse"],z: [{ z: [- aI,+ iI,"auto",- hI,- uI+ mI,+ lI] }],basis: [{ basis: [- rI,+ nI,"full","auto",s,@@ -35901,32 +35901,32 @@ var Hde = (e, t) => {"wrap-reverse"] }],flex: [{ flex: [- iI,rI,+ nI,"auto","initial","none",- uI+ lI] }],grow: [{ grow: ["",- iI,- hI,- uI+ rI,+ mI,+ lI] }],shrink: [{ shrink: ["",- iI,- hI,- uI+ rI,+ mI,+ lI] }],order: [{ order: [- aI,+ iI,"first","last","none",- hI,- uI+ mI,+ lI] }],"grid-cols": [{ "grid-cols": E() }],"col-start-end": [{ col: D() }],@@ -36033,15 +36033,15 @@ var Hde = (e, t) => {"font-size": [{ text: ["base",n,- gI,- dI+ hI,+ uI] }],"font-smoothing": ["antialiased", "subpixel-antialiased"],"font-style": ["italic", "not-italic"],"font-weight": [{ font: [r,- Dfe,- Sfe+ Ofe,+ Cfe] }],"font-stretch": [{ "font-stretch": ["ultra-condensed",@@ -36053,15 +36053,15 @@ var Hde = (e, t) => {"expanded","extra-expanded","ultra-expanded",- oI,- uI+ aI,+ lI] }],"font-family": [{ font: [- Tfe,- Cfe,+ Efe,+ wfe,t] }],- "font-features": [{ "font-features": [uI] }],+ "font-features": [{ "font-features": [lI] }],"fvn-normal": ["normal-nums"],"fvn-ordinal": ["ordinal"],"fvn-slashed-zero": ["slashed-zero"],@@ -36070,14 +36070,14 @@ var Hde = (e, t) => {"fvn-fraction": ["diagonal-fractions", "stacked-fractions"],tracking: [{ tracking: [i,- hI,- uI+ mI,+ lI] }],"line-clamp": [{ "line-clamp": [- iI,+ rI,"none",- hI,- fI+ mI,+ dI] }],leading: [{ leading: ["none",@@ -36086,16 +36086,16 @@ var Hde = (e, t) => {] }],"list-image": [{ "list-image": ["none",- hI,- uI+ mI,+ lI] }],"list-style-position": [{ list: ["inside", "outside"] }],"list-style-type": [{ list: ["disc","decimal","none",- hI,- uI+ mI,+ lI] }],"text-alignment": [{ text: ["left",@@ -36115,18 +36115,18 @@ var Hde = (e, t) => {],"text-decoration-style": [{ decoration: [...oe(), "wavy"] }],"text-decoration-thickness": [{ decoration: [- iI,+ rI,"from-font","auto",- hI,- dI+ mI,+ uI] }],"text-decoration-color": [{ decoration: P() }],"underline-offset": [{ "underline-offset": [- iI,+ rI,"auto",- hI,- uI+ mI,+ lI] }],"text-transform": ["uppercase",@@ -36147,9 +36147,9 @@ var Hde = (e, t) => {] }],indent: [{ indent: w() }],"tab-size": [{ tab: [- aI,- hI,- uI+ iI,+ mI,+ lI] }],"vertical-align": [{ align: ["baseline",@@ -36160,8 +36160,8 @@ var Hde = (e, t) => {"text-bottom","sub","super",- hI,- uI+ mI,+ lI] }],whitespace: [{ whitespace: ["normal",@@ -36189,8 +36189,8 @@ var Hde = (e, t) => {] }],content: [{ content: ["none",- hI,- uI+ mI,+ lI] }],"bg-attachment": [{ bg: ["fixed",@@ -36225,24 +36225,24 @@ var Hde = (e, t) => {"l","tl"] },- aI,- hI,- uI+ iI,+ mI,+ lI],radial: ["",- hI,- uI+ mI,+ lI],conic: ["",- aI,- hI,- uI+ iI,+ mI,+ lI]},- Efe,- wfe+ Dfe,+ Tfe] }],"bg-color": [{ bg: P() }],"gradient-from-pos": [{ from: I() }],@@ -36309,15 +36309,15 @@ var Hde = (e, t) => {"hidden"] }],"outline-offset": [{ "outline-offset": [- iI,- hI,- uI+ rI,+ mI,+ lI] }],"outline-w": [{ outline: ["",- iI,- gI,- dI+ rI,+ hI,+ uI] }],"outline-color": [{ outline: P() }],shadow: [{ shadow: [@@ -36325,35 +36325,35 @@ var Hde = (e, t) => {"inner","none",u,- yI,- mI+ vI,+ pI] }],"shadow-color": [{ shadow: P() }],"inset-shadow": [{ "inset-shadow": ["none",d,- yI,- mI+ vI,+ pI] }],"inset-shadow-color": [{ "inset-shadow": P() }],"ring-w": [{ ring: ae() }],"ring-w-inset": ["ring-inset"],"ring-color": [{ ring: P() }],- "ring-offset-w": [{ "ring-offset": [iI, dI] }],+ "ring-offset-w": [{ "ring-offset": [rI, uI] }],"ring-offset-color": [{ "ring-offset": P() }],"inset-ring-w": [{ "inset-ring": ae() }],"inset-ring-color": [{ "inset-ring": P() }],"text-shadow": [{ "text-shadow": ["none",f,- yI,- mI+ vI,+ pI] }],"text-shadow-color": [{ "text-shadow": P() }],opacity: [{ opacity: [- iI,- hI,- uI+ rI,+ mI,+ lI] }],"mix-blend": [{ "mix-blend": [...se(),@@ -36375,7 +36375,7 @@ var Hde = (e, t) => {"intersect","exclude"] }],- "mask-image-linear-pos": [{ "mask-linear": [iI] }],+ "mask-image-linear-pos": [{ "mask-linear": [rI] }],"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": P() }],@@ -36404,7 +36404,7 @@ var Hde = (e, t) => {"mask-image-y-to-pos": [{ "mask-y-to": ce() }],"mask-image-y-from-color": [{ "mask-y-from": P() }],"mask-image-y-to-color": [{ "mask-y-to": P() }],- "mask-image-radial": [{ "mask-radial": [hI, uI] }],+ "mask-image-radial": [{ "mask-radial": [mI, lI] }],"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": P() }],@@ -36415,7 +36415,7 @@ var Hde = (e, t) => {farthest: ["side", "corner"]}] }],"mask-image-radial-pos": [{ "mask-radial-at": b() }],- "mask-image-conic-pos": [{ "mask-conic": [iI] }],+ "mask-image-conic-pos": [{ "mask-conic": [rI] }],"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": P() }],@@ -36439,111 +36439,111 @@ var Hde = (e, t) => {"mask-type": [{ "mask-type": ["alpha", "luminance"] }],"mask-image": [{ mask: ["none",- hI,- uI+ mI,+ lI] }],filter: [{ filter: ["","none",- hI,- uI+ mI,+ lI] }],blur: [{ blur: le() }],brightness: [{ brightness: [- iI,- hI,- uI+ rI,+ mI,+ lI] }],contrast: [{ contrast: [- iI,- hI,- uI+ rI,+ mI,+ lI] }],"drop-shadow": [{ "drop-shadow": ["","none",p,- yI,- mI+ vI,+ pI] }],"drop-shadow-color": [{ "drop-shadow": P() }],grayscale: [{ grayscale: ["",- iI,- hI,- uI+ rI,+ mI,+ lI] }],"hue-rotate": [{ "hue-rotate": [- iI,- hI,- uI+ rI,+ mI,+ lI] }],invert: [{ invert: ["",- iI,- hI,- uI+ rI,+ mI,+ lI] }],saturate: [{ saturate: [- iI,- hI,- uI+ rI,+ mI,+ lI] }],sepia: [{ sepia: ["",- iI,- hI,- uI+ rI,+ mI,+ lI] }],"backdrop-filter": [{ "backdrop-filter": ["","none",- hI,- uI+ mI,+ lI] }],"backdrop-blur": [{ "backdrop-blur": le() }],"backdrop-brightness": [{ "backdrop-brightness": [- iI,- hI,- uI+ rI,+ mI,+ lI] }],"backdrop-contrast": [{ "backdrop-contrast": [- iI,- hI,- uI+ rI,+ mI,+ lI] }],"backdrop-grayscale": [{ "backdrop-grayscale": ["",- iI,- hI,- uI+ rI,+ mI,+ lI] }],"backdrop-hue-rotate": [{ "backdrop-hue-rotate": [- iI,- hI,- uI+ rI,+ mI,+ lI] }],"backdrop-invert": [{ "backdrop-invert": ["",- iI,- hI,- uI+ rI,+ mI,+ lI] }],"backdrop-opacity": [{ "backdrop-opacity": [- iI,- hI,- uI+ rI,+ mI,+ lI] }],"backdrop-saturate": [{ "backdrop-saturate": [- iI,- hI,- uI+ rI,+ mI,+ lI] }],"backdrop-sepia": [{ "backdrop-sepia": ["",- iI,- hI,- uI+ rI,+ mI,+ lI] }],"border-collapse": [{ border: ["collapse", "separate"] }],"border-spacing": [{ "border-spacing": w() }],@@ -36559,39 +36559,39 @@ var Hde = (e, t) => {"shadow","transform","none",- hI,- uI+ mI,+ lI] }],"transition-behavior": [{ transition: ["normal", "discrete"] }],duration: [{ duration: [- iI,+ rI,"initial",- hI,- uI+ mI,+ lI] }],ease: [{ ease: ["linear","initial",_,- hI,- uI+ mI,+ lI] }],delay: [{ delay: [- iI,- hI,- uI+ rI,+ mI,+ lI] }],animate: [{ animate: ["none",v,- hI,- uI+ mI,+ lI] }],backface: [{ backface: ["hidden", "visible"] }],perspective: [{ perspective: [h,- hI,- uI+ mI,+ lI] }],"perspective-origin": [{ "perspective-origin": x() }],rotate: [{ rotate: ue() }],@@ -36607,8 +36607,8 @@ var Hde = (e, t) => {"skew-x": [{ "skew-x": fe() }],"skew-y": [{ "skew-y": fe() }],transform: [{ transform: [- hI,- uI,+ mI,+ lI,"","none","gpu",@@ -36622,9 +36622,9 @@ var Hde = (e, t) => {"translate-z": [{ "translate-z": pe() }],"translate-none": ["translate-none"],zoom: [{ zoom: [- aI,- hI,- uI+ iI,+ mI,+ lI] }],accent: [{ accent: P() }],appearance: [{ appearance: ["none", "auto"] }],@@ -36674,8 +36674,8 @@ var Hde = (e, t) => {"nwse-resize","zoom-in","zoom-out",- hI,- uI+ mI,+ lI] }],"field-sizing": [{ "field-sizing": ["fixed", "content"] }],"pointer-events": [{ "pointer-events": ["auto", "none"] }],@@ -36761,15 +36761,15 @@ var Hde = (e, t) => {"scroll","contents","transform",- hI,- uI+ mI,+ lI] }],fill: [{ fill: ["none", ...P()] }],"stroke-w": [{ stroke: [- iI,- gI,- dI,- fI+ rI,+ hI,+ uI,+ dI] }],stroke: [{ stroke: ["none", ...P()] }],"forced-color-adjust": [{ "forced-color-adjust": ["auto", "none"] }]@@ -37027,16 +37027,16 @@ var Hde = (e, t) => {"selection"]};-}, kfe = (e, { cacheSize: t, prefix: n, experimentalParseClassName: r, extend: i = {}, override: a = {} }) => (AI(e, "cacheSize", t), AI(e, "prefix", n), AI(e, "experimentalParseClassName", r), jI(e.theme, a.theme), jI(e.classGroups, a.classGroups), jI(e.conflictingClassGroups, a.conflictingClassGroups), jI(e.conflictingClassGroupModifiers, a.conflictingClassGroupModifiers), AI(e, "postfixLookupClassGroups", a.postfixLookupClassGroups), AI(e, "orderSensitiveModifiers", a.orderSensitiveModifiers), MI(e.theme, i.theme), MI(e.classGroups, i.classGroups), MI(e.conflictingClassGroups, i.conflictingClassGroups), MI(e.conflictingClassGroupModifiers, i.conflictingClassGroupModifiers), NI(e, i, "postfixLookupClassGroups"), NI(e, i, "orderSensitiveModifiers"), e), AI = (e, t, n) => {+}, Afe = (e, { cacheSize: t, prefix: n, experimentalParseClassName: r, extend: i = {}, override: a = {} }) => (kI(e, "cacheSize", t), kI(e, "prefix", n), kI(e, "experimentalParseClassName", r), AI(e.theme, a.theme), AI(e.classGroups, a.classGroups), AI(e.conflictingClassGroups, a.conflictingClassGroups), AI(e.conflictingClassGroupModifiers, a.conflictingClassGroupModifiers), kI(e, "postfixLookupClassGroups", a.postfixLookupClassGroups), kI(e, "orderSensitiveModifiers", a.orderSensitiveModifiers), jI(e.theme, i.theme), jI(e.classGroups, i.classGroups), jI(e.conflictingClassGroups, i.conflictingClassGroups), jI(e.conflictingClassGroupModifiers, i.conflictingClassGroupModifiers), MI(e, i, "postfixLookupClassGroups"), MI(e, i, "orderSensitiveModifiers"), e), kI = (e, t, n) => {n !== void 0 && (e[t] = n);+}, AI = (e, t) => {+ if (t) for (let n in t) kI(e, n, t[n]);}, jI = (e, t) => {- if (t) for (let n in t) AI(e, n, t[n]);-}, MI = (e, t) => {- if (t) for (let n in t) NI(e, t, n);-}, NI = (e, t, n) => {+ if (t) for (let n in t) MI(e, t, n);+}, MI = (e, t, n) => {let r = t[n];r !== void 0 && (e[n] = e[n] ? e[n].concat(r) : r);-}, Afe = (e, ...t) => typeof e == "function" ? $F(kI, e, ...t) : $F(() => kfe(kI(), e), ...t), jfe = [+}, jfe = (e, ...t) => typeof e == "function" ? QF(OI, e, ...t) : QF(() => Afe(OI(), e), ...t), Mfe = ["large-title","display-1","display-2",@@ -37050,17 +37050,17 @@ var Hde = (e, t) => {"body-2","caption-1","caption-2"-], Mfe = [+], Nfe = ["regular","medium","semibold","bold"-], q = Afe({ extend: { classGroups: { "font-size": [{ text: jfe.flatMap((e) => Mfe.map((t) => `${e}-${t}`)) }] } } });-function PI(e) {+], q = jfe({ extend: { classGroups: { "font-size": [{ text: Mfe.flatMap((e) => Nfe.map((t) => `${e}-${t}`)) }] } } });+function NI(e) {return e;}// src/react/components/pill-tab.tsx-var Nfe = typeof window < "u" ? F.useLayoutEffect : F.useEffect, FI = PI({+var Pfe = typeof window < "u" ? F.useLayoutEffect : F.useEffect, PI = NI({radius: {blue: "rounded-full",gray: "rounded-2lg"@@ -37082,9 +37082,9 @@ var Nfe = typeof window < "u" ? F.useLayoutEffect : F.useEffect, FI = PI({gray: "text-text-primary"}});-function II({ children: e, className: t, ref: n, container: r, ...i }) {+function FI({ children: e, className: t, ref: n, container: r, ...i }) {let a = (0, F.useRef)(null), [o, s] = (0, F.useState)(null);- Nfe(() => {+ Pfe(() => {let e = r === void 0 ? a.current : r;if (!e) return;let t = () => {@@ -37120,7 +37120,7 @@ function II({ children: e, className: t, ref: n, container: r, ...i }) {}, l = o && /* @__PURE__ */ (0, I.jsx)("span", {"aria-hidden": !0,"data-pill-thumb": "",- className: q("pointer-events-none absolute left-0 top-0", FI.radius[o.variant], FI.thumb[o.variant]),+ className: q("pointer-events-none absolute left-0 top-0", PI.radius[o.variant], PI.thumb[o.variant]),style: {"--pill-left": `${o.left}px`,"--pill-top": `${o.top}px`,@@ -37137,37 +37137,37 @@ function II({ children: e, className: t, ref: n, container: r, ...i }) {}) : r ? (0, Rt.createPortal)(l, r) : null;}// src/react/manage-header/manage-header-island.tsx-var LI = null, RI = null, zI = /* @__PURE__ */ new Set();-function Pfe(e) {- return zI.add(e), () => {- zI.delete(e);+var II = null, LI = null, RI = /* @__PURE__ */ new Set();+function Ffe(e) {+ return RI.add(e), () => {+ RI.delete(e);};}-function Ffe() {- for (let e of [...zI]) e();+function Ife() {+ for (let e of [...RI]) e();}-var Ife = { render(e) {- RI = e, (0, Rt.flushSync)(Ffe);+var Lfe = { render(e) {+ LI = e, (0, Rt.flushSync)(Ife);} };-function Lfe(e) {- return LI = e, RI = null, Ife;+function Rfe(e) {+ return II = e, LI = null, Lfe;}-function Rfe() {- let e = (0, F.useSyncExternalStore)(Pfe, () => RI);- return LI && e ? /* @__PURE__ */ (0, I.jsx)(zfe, {- host: LI,+function zfe() {+ let e = (0, F.useSyncExternalStore)(Ffe, () => LI);+ return II && e ? /* @__PURE__ */ (0, I.jsx)(Bfe, {+ host: II,props: e}) : null;}-function zfe({ host: e, props: t }) {- let n = RF(t);+function Bfe({ host: e, props: t }) {+ let n = LF(t);return n ? /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [- /* @__PURE__ */ (0, I.jsx)(Bfe, {+ /* @__PURE__ */ (0, I.jsx)(Vfe, {host: e,pressed: n.pressed,menu: t.menu}),- n.crumb ? /* @__PURE__ */ (0, I.jsx)(Vfe, {+ n.crumb ? /* @__PURE__ */ (0, I.jsx)(Hfe, {host: e,label: n.crumb}) : null,@@ -37176,13 +37176,13 @@ function zfe({ host: e, props: t }) {"data-compact": n.compact ? "" : void 0,children: n.title}),- n.lede.kind === "none" ? null : /* @__PURE__ */ (0, I.jsx)(Hfe, {+ n.lede.kind === "none" ? null : /* @__PURE__ */ (0, I.jsx)(Ufe, {host: e,lede: n.lede})] }) : null;}-function Bfe({ host: e, pressed: t, menu: n }) {+function Vfe({ host: e, pressed: t, menu: n }) {let r = (0, F.useRef)(null);return (0, F.useLayoutEffect)(() => {let e = r.current, t = e?.querySelector("button[aria-pressed=\"true\"]");@@ -37192,7 +37192,7 @@ function Bfe({ host: e, pressed: t, menu: n }) {}, [t, n]), /* @__PURE__ */ (0, I.jsx)("nav", {"data-manage-bar": "","aria-label": "管理",- children: /* @__PURE__ */ (0, I.jsx)(II, {+ children: /* @__PURE__ */ (0, I.jsx)(FI, {ref: r,"data-manage-menu": "","data-pill-nav": "",@@ -37206,13 +37206,13 @@ function Bfe({ host: e, pressed: t, menu: n }) {"data-pill-selected": a ? "" : void 0,"data-pill-variant": "gray",onClick: () => e.openManage(n),- children: [/* @__PURE__ */ (0, I.jsx)(HF, { name: i }), /* @__PURE__ */ (0, I.jsx)("span", { children: r })]+ children: [/* @__PURE__ */ (0, I.jsx)(VF, { name: i }), /* @__PURE__ */ (0, I.jsx)("span", { children: r })]}, n);})})});}-function Vfe({ host: e, label: t }) {+function Hfe({ host: e, label: t }) {return /* @__PURE__ */ (0, I.jsx)("nav", {"data-manage-crumb": "","aria-label": "当前位置",@@ -37222,20 +37222,20 @@ function Vfe({ host: e, label: t }) {t.metaKey || t.ctrlKey || t.shiftKey || t.altKey || t.button || (t.preventDefault(), e.openDataCleanup());},children: "数据管理"- }), /* @__PURE__ */ (0, I.jsx)(HF, { name: "chevron-right" })] }), /* @__PURE__ */ (0, I.jsx)("li", {+ }), /* @__PURE__ */ (0, I.jsx)(VF, { name: "chevron-right" })] }), /* @__PURE__ */ (0, I.jsx)("li", {"aria-current": "true",children: /* @__PURE__ */ (0, I.jsx)("span", { children: t })})] })});}-function Hfe({ host: e, lede: t }) {+function Ufe({ host: e, lede: t }) {return /* @__PURE__ */ (0, I.jsx)("p", {className: "mono","data-manage-lede": "",children: t.kind === "skeleton" ? /* @__PURE__ */ (0, I.jsx)("span", {"data-trash-lede-skeletons": "",- dangerouslySetInnerHTML: { __html: VF }- }) : /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(Ufe, { text: t.text }), t.total ? /* @__PURE__ */ (0, I.jsx)("button", {+ dangerouslySetInnerHTML: { __html: BF }+ }) : /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(Wfe, { text: t.text }), t.total ? /* @__PURE__ */ (0, I.jsx)("button", {type: "button","data-empty-trash": "","data-danger": "",@@ -37245,7 +37245,7 @@ function Hfe({ host: e, lede: t }) {}) : null] })});}-function Ufe({ text: e }) {+function Wfe({ text: e }) {let t = (0, F.useRef)(null);return (0, F.useLayoutEffect)(() => {Js(t.current, e);@@ -37255,29 +37255,29 @@ function Ufe({ text: e }) {});}// src/core/text-lang.ts-var Wfe = /[-ヿㇰ-ㇿヲ-゚]/, Gfe = /[㐀-鿿豈-]/, Kfe = /[A-Za-z]/;-function BI(e) {+var Gfe = /[-ヿㇰ-ㇿヲ-゚]/, Kfe = /[㐀-鿿豈-]/, qfe = /[A-Za-z]/;+function zI(e) {let t = String(e ?? "");- if (Wfe.test(t)) return "ja";- if (!Gfe.test(t) && Kfe.test(t)) return "en";+ if (Gfe.test(t)) return "ja";+ if (!Kfe.test(t) && qfe.test(t)) return "en";}-var qfe = (e) => {- let t = BI(e);+var Jfe = (e) => {+ let t = zI(e);return t ? ` lang="${t}"` : "";-}, Jfe = /\.(?:mp4|mkv|avi|wmv|mov|m4v|webm|ts|m2ts|mts|mpg|mpeg|flv|rm|rmvb|iso)$/i, Yfe = (e, t = e?.name) => {+}, Yfe = /\.(?:mp4|mkv|avi|wmv|mov|m4v|webm|ts|m2ts|mts|mpg|mpeg|flv|rm|rmvb|iso)$/i, Xfe = (e, t = e?.name) => {let n = String(t || "").trim();- return e?.is_jav ? n.replace(Jfe, "") : n;-}, Xfe = (e) => /[-ヿ㐀-鿿]/.test(String(e || "")), Zfe = (e) => {+ return e?.is_jav ? n.replace(Yfe, "") : n;+}, Zfe = (e) => /[-ヿ㐀-鿿]/.test(String(e || "")), Qfe = (e) => {let t = [e?.catalog_title, e?.original_title].map((e) => String(e || "").trim()).filter(Boolean);- return t.find(Xfe) || t[0] || "";+ return t.find(Zfe) || t[0] || "";};-function VI(e, t = e?.name) {- let n = Yfe(e, t), r = String(e?.code || "").trim().toUpperCase();+function BI(e, t = e?.name) {+ let n = Xfe(e, t), r = String(e?.code || "").trim().toUpperCase();if (!e?.is_jav || !r) return {code: "",title: n};- let i = String(e?.display_code || r).trim().toUpperCase(), a = n.toUpperCase(), o = a === r || a === i || a.startsWith(r) && /^[\s._\-[\]]/.test(n.slice(r.length)) || a.startsWith(i) && /^[\s._\-[\]]/.test(n.slice(i.length)), s = a.startsWith(i) ? i.length : r.length, c = (o ? n.slice(s) : n).replace(/^[\s._-]+/, "").trim(), l = Zfe(e), u = Object.prototype.hasOwnProperty.call(e || {}, "display_title") ? String(e.display_title || "").trim() : c, d = l || u, f = Array.isArray(e?.edition_badges) ? e.edition_badges.filter((e) => [+ let i = String(e?.display_code || r).trim().toUpperCase(), a = n.toUpperCase(), o = a === r || a === i || a.startsWith(r) && /^[\s._\-[\]]/.test(n.slice(r.length)) || a.startsWith(i) && /^[\s._\-[\]]/.test(n.slice(i.length)), s = a.startsWith(i) ? i.length : r.length, c = (o ? n.slice(s) : n).replace(/^[\s._-]+/, "").trim(), l = Qfe(e), u = Object.prototype.hasOwnProperty.call(e || {}, "display_title") ? String(e.display_title || "").trim() : c, d = l || u, f = Array.isArray(e?.edition_badges) ? e.edition_badges.filter((e) => ["中字","无码","无码破解"@@ -37288,23 +37288,23 @@ function VI(e, t = e?.name) {badges: f};}-var HI = (e, t = e?.name) => {- let { code: n, title: r, badges: i = [] } = VI(e, t);+var VI = (e, t = e?.name) => {+ let { code: n, title: r, badges: i = [] } = BI(e, t);return n ? [n,...i,r].filter(Boolean).join(" ") : r;};-function UI(e, t = e?.name) {- let { code: n, title: r, badges: i = [] } = VI(e, t);+function HI(e, t = e?.name) {+ let { code: n, title: r, badges: i = [] } = BI(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("");- return `<span class="ui-javidentity"><strong class="ui-javcode">${z(n)}</strong>${a}</span>${r ? ` <span class="ui-javtitle"${qfe(r)}>${z(r)}</span>` : ""}`;+ return `<span class="ui-javidentity"><strong class="ui-javcode">${z(n)}</strong>${a}</span>${r ? ` <span class="ui-javtitle"${Jfe(r)}>${z(r)}</span>` : ""}`;}// src/react/activity/tasks.ts-var WI = "/api/tasks", GI = ["tasks"];-function Qfe(e, t) {+var UI = "/api/tasks", WI = ["tasks"];+function $fe(e, t) {let n = 0, r = 0, i = 0, a = 0;for (let o of t) for (let [t, s] of Object.entries(e?.[String(o.id)] || {})) n += s, (t === "pending" || t === "running") && (r += s), (t === "failed" || t === "interrupted") && (i += s), t === "cancelled" && (a += s);return {@@ -37315,7 +37315,7 @@ function Qfe(e, t) {settled: n - r};}-function $fe(e) {+function epe(e) {let t = /* @__PURE__ */ new Map();for (let n of e) {let e = t.get(n.task_key);@@ -37326,11 +37326,11 @@ function $fe(e) {}return [...t.values()];}-var epe = (e, t) => B(`${WI}?${new URLSearchParams({+var tpe = (e, t) => B(`${UI}?${new URLSearchParams({before_finished_at: e.finished_at || "",before_id: String(e.id)})}`, t);-function tpe(...e) {+function npe(...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) => {@@ -37338,26 +37338,26 @@ function tpe(...e) {return n === r ? t.id - e.id : n < r ? 1 : -1;});}-var npe = 2e3, rpe = 1e4, KI = (e) => e?.running?.length ? npe : rpe, qI = (e) => B(WI, e), ipe = (e, t, n) => V(`${WI}/${e}/control`, { action: t }, "POST", n);-async function ape(e) {+var rpe = 2e3, ipe = 1e4, GI = (e) => e?.running?.length ? rpe : ipe, KI = (e) => B(UI, e), ape = (e, t, n) => V(`${UI}/${e}/control`, { action: t }, "POST", n);+async function ope(e) {await H.fetchQuery({- queryKey: GI,- queryFn: () => qI(e)+ queryKey: WI,+ queryFn: () => KI(e)});}-var ope = {+var spe = {manual: "手动",scheduled: "定时",startup: "启动",cli: "命令行"-}, spe = {+}, cpe = {pending: "排队中",running: "进行中",succeeded: "已完成",failed: "失败",cancelled: "已取消",interrupted: "意外中断"-}, cpe = (e) => spe[e] || e, JI = {+}, lpe = (e) => cpe[e] || e, qI = {checked: "已检查",total: "总数",scanned: "已扫描",@@ -37434,7 +37434,7 @@ var ope = {without_code: "未识别番号",incomplete: "资料或封面未取得",result: "结果"-}, lpe = [+}, upe = ["gone_count","unclear_count","source_failed",@@ -37456,14 +37456,14 @@ var ope = {"paused_count","miss","incomplete"-], upe = ["face_match_unavailable"], YI = (e) => e.result_summary?.ok === !1 || !!e.result_summary?.error || upe.some((t) => e.result_summary?.[t] === !0) || lpe.some((t) => Number(e.result_summary?.[t]) > 0);-function dpe(e) {+], dpe = ["face_match_unavailable"], JI = (e) => e.result_summary?.ok === !1 || !!e.result_summary?.error || dpe.some((t) => e.result_summary?.[t] === !0) || upe.some((t) => Number(e.result_summary?.[t]) > 0);+function fpe(e) {let t = e.result_summary?.issues;return Array.isArray(t) ? t.filter((e) => !!e && typeof e == "object" && typeof e.error == "string" && typeof e.label == "string") : [];}-var XI = /* @__PURE__ */ new Set(["library-processing"]);-function fpe(e, t = !0) {- if (!YI(e) && e.status !== "failed" || XI.has(e.task_key) && !t) return null;+var YI = /* @__PURE__ */ new Set(["library-processing"]);+function ppe(e, t = !0) {+ if (!JI(e) && e.status !== "failed" || YI.has(e.task_key) && !t) return null;let n = {"link-check": ["/data-cleanup#link-manager", "查看有问题的链接"],"link-prune": ["/data-cleanup#link-manager", "查看有问题的链接"],@@ -37481,19 +37481,19 @@ function fpe(e, t = !0) {label: n[1]} : null;}-function ppe(e) {+function mpe(e) {let t = e.result_summary?.asset_id, n = e.result_summary?.name;return typeof t == "number" && Number.isInteger(t) && t > 0 && typeof n == "string" && n ? {href: `/assets/${t}`,label: n} : null;}-function mpe(e) {+function hpe(e) {let t = /* @__PURE__ */ new Map();- for (let n of e) XI.has(n.task_key) && !n.followup_key && n.id > (t.get(n.task_key) ?? 0) && t.set(n.task_key, n.id);+ for (let n of e) YI.has(n.task_key) && !n.followup_key && n.id > (t.get(n.task_key) ?? 0) && t.set(n.task_key, n.id);return new Set(t.values());}-function hpe(e) {+function gpe(e) {let t = /* @__PURE__ */ new Map();for (let n of e) {if (!n.followup_key || n.parent_run_id == null) continue;@@ -37502,7 +37502,7 @@ function hpe(e) {}return t;}-function gpe(e, t) {+function _pe(e, t) {let n = [], r = /* @__PURE__ */ new Map();for (let i of e) {if (!t(i)) {@@ -37524,12 +37524,12 @@ function gpe(e, t) {}return n;}-var _pe = (e) => e.trigger === "scheduled" && e.status === "succeeded" && !e.error && !YI(e) && !(Number(e.result_summary?.added) > 0) && !(Number(e.result_summary?.followups) > 0), ZI = (e) => e.status === "pending" || e.status === "running";-function vpe(e) {+var vpe = (e) => e.trigger === "scheduled" && e.status === "succeeded" && !e.error && !JI(e) && !(Number(e.result_summary?.added) > 0) && !(Number(e.result_summary?.followups) > 0), XI = (e) => e.status === "pending" || e.status === "running";+function ype(e) {let t = `${e.task_label}:`, n = e.progress_label || "", r = String(e.result_summary?.name || "") || (n.startsWith(t) ? n.slice(t.length) : n === e.task_label ? "" : n), i = e.progress_total || 0, { name: a, ...o } = e.result_summary || {};- return [r, eL(e.error) || Tpe(o) || (ZI(e) && i > 0 ? `${$I(e.progress_current, i)} 项` : "")].filter(Boolean).join(" · ");+ return [r, $I(e.error) || Epe(o) || (XI(e) && i > 0 ? `${QI(e.progress_current, i)} 项` : "")].filter(Boolean).join(" · ");}-function QI(e) {+function ZI(e) {if (typeof e != "number" || !Number.isFinite(e) || e < 0) return "";let t = Math.floor(e);if (t < 60) return `${t} 秒`;@@ -37538,19 +37538,19 @@ function QI(e) {let r = Math.floor(n / 60);return r < 48 ? `${r} 小时 ${n % 60} 分` : `${Math.floor(r / 24).toLocaleString()} 天 ${r % 24} 小时`;}-function $I(e, t) {+function QI(e, t) {let n = Math.max(0, Number(t) || 0);return `${Math.min(n, Math.max(0, Number(e) || 0)).toLocaleString()} / ${n.toLocaleString()}`;}-function ype(e) {+function bpe(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 eL(e) {- let t = ype(e), n = t.match(/^(?:[\w.]*Error|Exception):\s*(.*)$/);+function $I(e) {+ let t = bpe(e), n = t.match(/^(?:[\w.]*Error|Exception):\s*(.*)$/);return n ? xn(n[1]) : t;}-var bpe = {+var xpe = {partial: "处理已结束,部分项目需处理",complete: "处理完成",interrupted: "处理已中断",@@ -37568,11 +37568,11 @@ var bpe = {三站都没对上她: "三个来源均未找到与该人物相符的资料页",已有身份: "已有创作者分类",已变: "资料已被其他操作修改,本次未保存"-}, tL = {+}, eL = {avwikidb: "AVWikiDB",javdb: "JavDB","minnano-av": "みんなのAV"-}, xpe = {+}, Spe = {like: "标记喜欢",seen: "标记看过",later: "加入稍后看",@@ -37583,8 +37583,8 @@ var bpe = {"dismiss-junk": "确认不是垃圾","reconsider-junk": "重新判定垃圾",region: "判定产地"-}, Spe = (e) => bpe[e] || e.replace(/(avwikidb|javdb|minnano-av) (绑定|写入)/gi, (e, t, n) => n === "绑定" ? `已关联 ${tL[t.toLowerCase()]} 资料页` : `已保存来自 ${tL[t.toLowerCase()]} 的资料`);-function nL(e) {+}, Cpe = (e) => xpe[e] || e.replace(/(avwikidb|javdb|minnano-av) (绑定|写入)/gi, (e, t, n) => n === "绑定" ? `已关联 ${eL[t.toLowerCase()]} 资料页` : `已保存来自 ${eL[t.toLowerCase()]} 的资料`);+function tL(e) {if (!e) return "";let t = new Date(e);return Number.isNaN(t.getTime()) ? "" : t.toLocaleString(void 0, {@@ -37594,7 +37594,7 @@ function nL(e) {minute: "2-digit"});}-var Cpe = /* @__PURE__ */ new Set([+var wpe = /* @__PURE__ */ new Set(["blocked_by","status","run_id",@@ -37603,20 +37603,20 @@ var Cpe = /* @__PURE__ */ new Set(["completed_at","finished_at"]);-function rL(e) {- let t = wpe(e);+function nL(e) {+ let t = Tpe(e);return e?.face_match_unavailable === !0 && !t.some((e) => /不可用|未生效/.test(e)) && t.push("人脸模型不可用,未做人脸核对"), t;}-function wpe(e) {- return Object.entries(e || {}).filter(([e, t]) => !Cpe.has(e) && (e in JI || e === "outcome" || e === "followups" || e === "error") && (typeof t == "number" || typeof t == "string") && String(t) !== "" && (t !== 0 || e === "checked" || e === "total")).map(([e, t]) => e === "followups" ? `已安排 ${Number(t).toLocaleString()} 项补充任务` : e === "error" ? eL(String(t)) : e === "outcome" || e === "result" ? Spe(String(t)) : e === "cache_bytes" || e === "bytes_reclaimed" ? `${JI[e]} ${Xn(Number(t))}` : e === "operation" ? `操作:${xpe[String(t)] || "批量操作"}` : `${JI[e]} ${typeof t == "number" ? t.toLocaleString() : t}`);+function Tpe(e) {+ return Object.entries(e || {}).filter(([e, t]) => !wpe.has(e) && (e in qI || e === "outcome" || e === "followups" || e === "error") && (typeof t == "number" || typeof t == "string") && String(t) !== "" && (t !== 0 || e === "checked" || e === "total")).map(([e, t]) => e === "followups" ? `已安排 ${Number(t).toLocaleString()} 项补充任务` : e === "error" ? $I(String(t)) : e === "outcome" || e === "result" ? Cpe(String(t)) : e === "cache_bytes" || e === "bytes_reclaimed" ? `${qI[e]} ${Xn(Number(t))}` : e === "operation" ? `操作:${Spe[String(t)] || "批量操作"}` : `${qI[e]} ${typeof t == "number" ? t.toLocaleString() : t}`);}-var Tpe = (e) => rL(e).join(" · ");+var Epe = (e) => nL(e).join(" · ");// src/react/use-entity-names.ts-function iL() {+function rL() {return (0, F.useSyncExternalStore)(Yt, Jt, Jt);}// src/react/components/async-text.tsx-function aL({ text: e, busy: t, placeholder: n }) {+function iL({ text: e, busy: t, placeholder: n }) {let r = (0, F.useRef)(null), i = (0, F.useRef)(e), a = e ?? i.current;return (0, F.useLayoutEffect)(() => {e === void 0 ? a === void 0 && pc(r.current) : i.current = e;@@ -37637,7 +37637,7 @@ function aL({ text: e, busy: t, placeholder: n }) {});}// src/react/boardui/components/base/buttons/icon-button.tsx-var oL = PI({+var aL = NI({base: "relative inline-flex shrink-0 items-center justify-center overflow-visible rounded-2lg bg-background-primary-default text-foreground-icon-primary border border-border-button-default shadow-xs select-none cursor-pointer transition-[background-color,border-color,box-shadow,color] duration-150 ease outline-none focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:ring-border-focus-ring hover:bg-background-primary-hover hover:border-border-button-hover active:bg-background-primary-active active:border-border-button-active disabled:cursor-not-allowed disabled:bg-background-primary-disabled disabled:border-border-button-default disabled:text-icon-button-disabled-foreground disabled:opacity-60 disabled:shadow-none",size: {medium: "size-9",@@ -37648,20 +37648,20 @@ var oL = PI({small: "size-4 shrink-0"}});-function sL({ icon: e, size: t = "medium", className: n, type: r = "button", ref: i, ...a }) {+function oL({ icon: e, size: t = "medium", className: n, type: r = "button", ref: i, ...a }) {return /* @__PURE__ */ (0, I.jsx)("button", {ref: i,type: r,- className: q(oL.base, oL.size[t], n),+ className: q(aL.base, aL.size[t], n),...a,children: /* @__PURE__ */ (0, I.jsx)(e, {- className: oL.icon[t],+ className: aL.icon[t],"aria-hidden": !0})});}// src/react/components/glass-drift.tsx-function cL() {+function sL() {return /* @__PURE__ */ (0, I.jsxs)("span", {"data-glass-drift": "","aria-hidden": "true",@@ -37675,7 +37675,7 @@ function cL() {});}// src/react/components/use-stuck.ts-function lL(e) {+function cL(e) {(0, F.useEffect)(() => {let t = e.current;if (!t) return;@@ -37692,7 +37692,7 @@ function lL(e) {}, [e]);}// src/react/components/use-horizontal-scroller.ts-function uL(e, t = !0) {+function lL(e, t = !0) {let [n, r] = (0, F.useState)(null), i = (0, F.useCallback)((t) => {r(t), typeof e == "function" ? e(t) : e && (e.current = t);}, [e]);@@ -37706,17 +37706,17 @@ function uL(e, t = !0) {}, [n, t]), i;}// src/react/components/filter-glass.tsx-var Epe = ({ className: e }) => /* @__PURE__ */ (0, I.jsx)("span", {+var Dpe = ({ className: e }) => /* @__PURE__ */ (0, I.jsx)("span", {"aria-hidden": !0,className: e,dangerouslySetInnerHTML: { __html: Bs("正在处理") }});-function dL({ label: e, icon: t, busy: n = !1, busyStyle: r = "spinner", onPress: i, ...a }) {- return /* @__PURE__ */ (0, I.jsx)(sL, {+function uL({ label: e, icon: t, busy: n = !1, busyStyle: r = "spinner", onPress: i, ...a }) {+ return /* @__PURE__ */ (0, I.jsx)(oL, {...a,"data-filter-action": "",size: "small",- icon: n && r === "spinner" ? Epe : t,+ icon: n && r === "spinner" ? Dpe : t,"aria-label": e,title: a.title || e,"aria-busy": n || void 0,@@ -37726,9 +37726,9 @@ function dL({ label: e, icon: t, busy: n = !1, busyStyle: r = "spinner", onPress}});}-function Dpe({ title: e, children: t }) {+function Ope({ title: e, children: t }) {let n = (0, F.useRef)(null);- return lL(n), /* @__PURE__ */ (0, I.jsxs)("div", {+ return cL(n), /* @__PURE__ */ (0, I.jsxs)("div", {ref: n,role: "group","aria-label": e,@@ -37741,13 +37741,13 @@ function Dpe({ title: e, children: t }) {children: e}),t,- /* @__PURE__ */ (0, I.jsx)(cL, {})+ /* @__PURE__ */ (0, I.jsx)(sL, {})]});}-function fL({ 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, F.useRef)(null), f = uL(), p = uL(u);- return lL(d), /* @__PURE__ */ (0, I.jsxs)("div", {+function dL({ 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, F.useRef)(null), f = lL(), p = lL(u);+ return cL(d), /* @__PURE__ */ (0, I.jsxs)("div", {ref: d,role: "group","aria-label": e,@@ -37772,27 +37772,27 @@ function fL({ label: e, topLabel: t, top: n, bottom: r, className: i, topClassNaclassName: q("flex min-h-11.5 min-w-0 items-center gap-3 px-3 py-2", o),children: r}),- /* @__PURE__ */ (0, I.jsx)(cL, {})+ /* @__PURE__ */ (0, I.jsx)(sL, {})]});}-var Ope = "flex h-8 flex-none cursor-pointer items-center gap-1.75 rounded-lg border border-dashed border-(--glass-low) bg-transparent px-2.5 text-body-2-regular leading-5 whitespace-nowrap text-inherit outline-none hover:border-solid focus-visible:ring-2 focus-visible:ring-border-focus-ring";-function pL({ children: e, pressed: t, onPress: n, className: r, ...i }) {+var kpe = "flex h-8 flex-none cursor-pointer items-center gap-1.75 rounded-lg border border-dashed border-(--glass-low) bg-transparent px-2.5 text-body-2-regular leading-5 whitespace-nowrap text-inherit outline-none hover:border-solid focus-visible:ring-2 focus-visible:ring-border-focus-ring";+function fL({ children: e, pressed: t, onPress: n, className: r, ...i }) {return /* @__PURE__ */ (0, I.jsx)("button", {type: "button",...i,"aria-pressed": t,- className: q(Ope, r),+ className: q(kpe, r),onClick: n,children: e});}-var kpe = "h-8 cursor-pointer rounded-full border border-(--glass-low) bg-transparent px-3 text-body-2-regular leading-none whitespace-nowrap text-inherit outline-none focus-visible:ring-2 focus-visible:ring-border-focus-ring aria-busy:cursor-wait aria-busy:opacity-55";-function mL({ children: e, onPress: t, busy: n = !1 }) {+var Ape = "h-8 cursor-pointer rounded-full border border-(--glass-low) bg-transparent px-3 text-body-2-regular leading-none whitespace-nowrap text-inherit outline-none focus-visible:ring-2 focus-visible:ring-border-focus-ring aria-busy:cursor-wait aria-busy:opacity-55";+function pL({ children: e, onPress: t, busy: n = !1 }) {return /* @__PURE__ */ (0, I.jsx)("button", {type: "button","data-glass-pill": "",- className: kpe,+ className: Ape,"aria-busy": n || void 0,"aria-disabled": n || void 0,onClick: () => {@@ -37802,13 +37802,13 @@ function mL({ children: e, onPress: t, busy: n = !1 }) {});}// src/react/components/use-view-glide.ts-var hL = (e, t) => [+var mL = (e, t) => ["x","y","w","h"].every((n) => e[n] === t[n]);-function gL(e, t, n) {+function hL(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;@@ -37832,17 +37832,17 @@ function gL(e, t, n) {h: e.offsetHeight};}-function _L(e, t, n, r, { axis: i = "x" } = {}) {+function gL(e, t, n, r, { axis: i = "x" } = {}) {let a = (0, F.useRef)(null), o = (0, F.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 ? gL(u, l, i) : null;+ let u = c && c.offsetWidth ? r ?? c.querySelector(n) : null, d = u && l ? hL(u, l, i) : null;if (!d || !d.w || !d.h) {Kc(s), s.hidden = !0, a.current = null;return;}let f = s.hidden ? null : a.current;- s.hidden = !1, a.current = d, !(o && f && hL(f, d)) && Wc(s, o ? f : null, d, i);+ s.hidden = !1, a.current = d, !(o && f && mL(f, d)) && Wc(s, o ? f : null, d, i);}, [e,t,@@ -37863,8 +37863,8 @@ function _L(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 ? gL(o, r, i) : null, l = a.current;- s && l && hL(s, l) || c();+ let e = t.current, o = e?.offsetWidth ? e.querySelector(n) : null, s = o && r ? hL(o, r, i) : null, l = a.current;+ s && l && mL(s, l) || c();}), u = t.current;if (u && r) {l.observe(u);@@ -37895,7 +37895,7 @@ function _L(e, t, n, r, { axis: i = "x" } = {}) {};}// src/react/boardui/components/base/buttons/button.tsx-var vL = PI({+var _L = NI({base: "inline-flex items-center justify-center gap-0.5 whitespace-nowrap overflow-hidden font-sans select-none cursor-pointer button-press-motion outline-none focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:ring-border-focus-ring disabled:cursor-not-allowed aria-disabled:cursor-not-allowed",size: {medium: "h-9 rounded-2lg p-2 text-body-medium",@@ -37928,52 +37928,52 @@ function J({ variant: e = "primary", size: t = "medium", iconOnly: n = !1, leadireturn /* @__PURE__ */ (0, I.jsxs)("button", {ref: c,type: s,- className: q(vL.base, vL.size[t], vL.variant[e], n && vL.iconOnlySize[t], o),+ className: q(_L.base, _L.size[t], _L.variant[e], n && _L.iconOnlySize[t], o),...l,children: [r ? /* @__PURE__ */ (0, I.jsx)(r, {- className: vL.icon[t],+ className: _L.icon[t],"aria-hidden": !0}) : null,!n && a != null && /* @__PURE__ */ (0, I.jsx)("span", {- className: vL.label[t],+ className: _L.label[t],children: a}),!n && i ? /* @__PURE__ */ (0, I.jsx)(i, {- className: vL.icon[t],+ className: _L.icon[t],"aria-hidden": !0}) : null]});}-function yL({ variant: e = "primary", size: t = "medium", iconOnly: n = !1, leadingIcon: r, trailingIcon: i, children: a, className: o, ref: s, ...c }) {+function vL({ variant: e = "primary", size: t = "medium", iconOnly: n = !1, leadingIcon: r, trailingIcon: i, children: a, className: o, ref: s, ...c }) {return /* @__PURE__ */ (0, I.jsxs)("a", {ref: s,- className: q(vL.base, vL.size[t], vL.variant[e], n && vL.iconOnlySize[t], o),+ className: q(_L.base, _L.size[t], _L.variant[e], n && _L.iconOnlySize[t], o),...c,children: [r ? /* @__PURE__ */ (0, I.jsx)(r, {- className: vL.icon[t],+ className: _L.icon[t],"aria-hidden": !0}) : null,!n && a != null && /* @__PURE__ */ (0, I.jsx)("span", {- className: vL.label[t],+ className: _L.label[t],children: a}),!n && i ? /* @__PURE__ */ (0, I.jsx)(i, {- className: vL.icon[t],+ className: _L.icon[t],"aria-hidden": !0}) : null]});}// node_modules/react-aria-components/dist/private/utils.mjs-var bL = Symbol("default");-function xL({ values: e, children: t }) {+var yL = Symbol("default");+function bL({ values: e, children: t }) {for (let [n, r] of e) t = /*#__PURE__*/ F.createElement(n.Provider, { value: r }, t);return t;}-function SL(e) {+function xL(e) {let { className: t, style: n, children: r, defaultClassName: i, defaultChildren: a, defaultStyle: o, values: s, render: c } = e;return (0, F.useMemo)(() => {let e, l, u;@@ -38007,11 +38007,11 @@ function SL(e) {c]);}-function CL(e, t) {+function SL(e, t) {let n = (0, F.useContext)(e);if (t === null) return null;if (n && typeof n == "object" && "slots" in n && n.slots) {- let e = t || bL;+ let e = t || yL;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}.`);@@ -38020,8 +38020,8 @@ function CL(e, t) {}return n;}-function wL(e, t, n) {- let { ref: r, ...i } = CL(n, e.slot) || {}, a = XC((0, F.useMemo)(() => VC(t, r), [t, r])), o = K(i, e);+function CL(e, t, n) {+ let { ref: r, ...i } = SL(n, e.slot) || {}, a = YC((0, F.useMemo)(() => BC(t, r), [t, r])), o = K(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,@@ -38039,42 +38039,42 @@ function wL(e, t, n) {...e.style}), [o, a];}-function TL(e = !0) {+function wL(e = !0) {let [t, n] = (0, F.useState)(e), r = (0, F.useRef)(!1), i = (0, F.useCallback)((e) => {r.current = !0, n(!!e);}, []);- return RS(() => {+ return LS(() => {r.current || n(!1);}, []), [i, t];}-function EL(e) {+function TL(e) {let t = /^(data-.*)$/, n = {};for (let r in e) t.test(r) || (n[r] = e[r]);return n;}-function Ape(e, t, n) {- let { render: r, ...i } = t, a = (0, F.useRef)(null), o = (0, F.useMemo)(() => VC(n, a), [n, a]);- RS(() => {}, [e, r]);+function jpe(e, t, n) {+ let { render: r, ...i } = t, a = (0, F.useRef)(null), o = (0, F.useMemo)(() => BC(n, a), [n, a]);+ LS(() => {}, [e, r]);let s = {...i,ref: o};return r ? r(s, void 0) : /*#__PURE__*/ F.createElement(e, s);}-var DL = {}, OL = new Proxy({}, { get(e, t) {+var EL = {}, DL = new Proxy({}, { get(e, t) {if (typeof t != "string") return;- let n = DL[t];- return n || (n = /*#__PURE__*/ (0, F.forwardRef)(Ape.bind(null, t)), DL[t] = n), n;-} }), kL = /*#__PURE__*/ (0, F.createContext)(null), AL = /*#__PURE__*/ (0, F.createContext)(null), jL = /*#__PURE__*/ (0, F.createContext)(null), ML = {+ let n = EL[t];+ return n || (n = /*#__PURE__*/ (0, F.forwardRef)(jpe.bind(null, t)), EL[t] = n), n;+} }), OL = /*#__PURE__*/ (0, F.createContext)(null), kL = /*#__PURE__*/ (0, F.createContext)(null), AL = /*#__PURE__*/ (0, F.createContext)(null), jL = {CollectionRoot({ collection: e, renderDropIndicator: t }) {- return NL(e, null, t);+ return ML(e, null, t);},CollectionBranch({ collection: e, parent: t, renderDropIndicator: n }) {- return NL(e, t, n);+ return ML(e, t, n);}};-function NL(e, t, n) {- return bS({+function ML(e, t, n) {+ return yS({items: t ? e.getChildren(t.key) : e,dependencies: [n],children(t) {@@ -38084,11 +38084,11 @@ function NL(e, t, n) {type: "item",key: t.key,dropPosition: "before"- }), r, jpe(e, t, n));+ }), r, Mpe(e, t, n));}});}-function jpe(e, t, n) {+function Mpe(e, t, n) {let r = t.key, i = e.getKeyAfter(r), a = i == null ? null : e.getItem(i);for (; a != null && a.type !== "item";) i = e.getKeyAfter(a.key), a = i == null ? null : e.getItem(i);let o = t.nextKey == null ? null : e.getItem(t.nextKey);@@ -38107,24 +38107,24 @@ function jpe(e, t, n) {}return s;}-var PL = /*#__PURE__*/ (0, F.createContext)(ML);-function FL(e) {+var NL = /*#__PURE__*/ (0, F.createContext)(jL);+function PL(e) {return (0, F.useMemo)(() => e == null ? null : /* @__PURE__ */ new Set([e]), [e]);}// node_modules/react-aria-components/dist/private/Label.mjs-var IL = /*#__PURE__*/ (0, F.createContext)({}), LL = /*#__PURE__*/ tw(function(e, t) {- [e, t] = wL(e, t, IL);- let { elementType: n = "label", ...r } = e, i = OL[n];+var FL = /*#__PURE__*/ (0, F.createContext)({}), IL = /*#__PURE__*/ ew(function(e, t) {+ [e, t] = CL(e, t, FL);+ let { elementType: n = "label", ...r } = e, i = DL[n];return /*#__PURE__*/ F.createElement(i, {className: "react-aria-Label",...r,ref: t});-}), Mpe = /*#__PURE__*/ (0, F.createContext)(null), RL = /*#__PURE__*/ (0, F.createContext)({}), zL = /*#__PURE__*/ tw(function(e, t) {- [e, t] = wL(e, t, RL);- let n = e, { isPending: r } = n, { buttonProps: i, isPressed: a } = Voe(e, t);- i = Ppe(i, r);- let { focusProps: o, isFocused: s, isFocusVisible: c } = kD(e), { hoverProps: l, isHovered: u } = ND({+}), Npe = /*#__PURE__*/ (0, F.createContext)(null), LL = /*#__PURE__*/ (0, F.createContext)({}), RL = /*#__PURE__*/ ew(function(e, t) {+ [e, t] = CL(e, t, LL);+ let n = e, { isPending: r } = n, { buttonProps: i, isPressed: a } = Hoe(e, t);+ i = Fpe(i, r);+ let { focusProps: o, isFocused: s, isFocusVisible: c } = OD(e), { hoverProps: l, isHovered: u } = MD({...e,isDisabled: e.isDisabled || r}), d = {@@ -38134,24 +38134,24 @@ var IL = /*#__PURE__*/ (0, F.createContext)({}), LL = /*#__PURE__*/ tw(function(isFocusVisible: c,isDisabled: e.isDisabled || !1,isPending: r ?? !1- }, f = SL({+ }, f = xL({...e,values: d,defaultClassName: "react-aria-Button"- }), p = zC(i.id), m = zC(), h = i["aria-labelledby"];+ }), p = RC(i.id), m = RC(), h = i["aria-labelledby"];r && (h ? h = `${h} ${m}` : i["aria-label"] && (h = `${p} ${m}`));let g = (0, F.useRef)(r);(0, F.useEffect)(() => {let e = { "aria-labelledby": h || p };- (!g.current && s && r || g.current && s && !r) && AT(e, "assertive"), g.current = r;+ (!g.current && s && r || g.current && s && !r) && kT(e, "assertive"), g.current = r;}, [r,s,h,p]);- let _ = Uw(e, { global: !0 });- return delete _.onClick, /*#__PURE__*/ F.createElement(OL.button, {+ let _ = Hw(e, { global: !0 });+ return delete _.onClick, /*#__PURE__*/ F.createElement(DL.button, {...K(_, f, i, o, l),type: i.type === "submit" && r ? "button" : i.type,id: p,@@ -38165,61 +38165,61 @@ var IL = /*#__PURE__*/ (0, F.createContext)({}), LL = /*#__PURE__*/ tw(function("data-focused": s || void 0,"data-pending": r || void 0,"data-focus-visible": c || void 0- }, /*#__PURE__*/ F.createElement(Mpe.Provider, { value: { id: m } }, f.children));-}), Npe = /Focus|Blur|Hover|Pointer(Enter|Leave|Over|Out)|Mouse(Enter|Leave|Over|Out)/;-function Ppe(e, t) {+ }, /*#__PURE__*/ F.createElement(Npe.Provider, { value: { id: m } }, f.children));+}), Ppe = /Focus|Blur|Hover|Pointer(Enter|Leave|Over|Out)|Mouse(Enter|Leave|Over|Out)/;+function Fpe(e, t) {if (t) {- for (let t in e) t.startsWith("on") && !Npe.test(t) && (e[t] = void 0);+ for (let t in e) t.startsWith("on") && !Ppe.test(t) && (e[t] = void 0);e.href = void 0, e.target = void 0;}return e;}// node_modules/react-aria-components/dist/private/Heading.mjs-var BL = /*#__PURE__*/ (0, F.createContext)({}), VL = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {- [e, t] = wL(e, t, BL);- let { children: n, level: r = 3, className: i, ...a } = e, o = OL[`h${r}`];+var zL = /*#__PURE__*/ (0, F.createContext)({}), BL = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {+ [e, t] = CL(e, t, zL);+ let { children: n, level: r = 3, className: i, ...a } = e, o = DL[`h${r}`];return /*#__PURE__*/ F.createElement(o, {...a,ref: t,className: i ?? "react-aria-Heading"}, n);-}), HL = /*#__PURE__*/ (0, F.createContext)({}), Fpe = /*#__PURE__*/ tw(function(e, t) {- [e, t] = wL(e, t, HL);- let { elementType: n = "span", ...r } = e, i = OL[n];+}), VL = /*#__PURE__*/ (0, F.createContext)({}), Ipe = /*#__PURE__*/ ew(function(e, t) {+ [e, t] = CL(e, t, VL);+ let { elementType: n = "span", ...r } = e, i = DL[n];return /*#__PURE__*/ F.createElement(i, {className: "react-aria-Text",...r,ref: t});-}), UL = /*#__PURE__*/ (0, F.createContext)(null), WL = /*#__PURE__*/ (0, F.createContext)(null), GL = /*#__PURE__*/ (0, F.createContext)(null), KL = /*#__PURE__*/ (0, F.createContext)(null), Ipe = /*#__PURE__*/ (0, F.createContext)(null), qL = /*#__PURE__*/ (0, F.createContext)(null);-function Lpe(e, t) {- let { validationBehavior: n } = CL(WL) || {}, r = e.validationBehavior ?? n ?? "native", i = (0, F.useContext)(Ipe), a = XC((0, F.useMemo)(() => VC(t, e.inputRef === void 0 ? null : e.inputRef), [t, e.inputRef])), o = {- ...EL(e),+}), HL = /*#__PURE__*/ (0, F.createContext)(null), UL = /*#__PURE__*/ (0, F.createContext)(null), WL = /*#__PURE__*/ (0, F.createContext)(null), GL = /*#__PURE__*/ (0, F.createContext)(null), Lpe = /*#__PURE__*/ (0, F.createContext)(null), KL = /*#__PURE__*/ (0, F.createContext)(null);+function Rpe(e, t) {+ let { validationBehavior: n } = SL(UL) || {}, r = e.validationBehavior ?? n ?? "native", i = (0, F.useContext)(Lpe), a = YC((0, F.useMemo)(() => BC(t, e.inputRef === void 0 ? null : e.inputRef), [t, e.inputRef])), o = {+ ...TL(e),children: typeof e.children == "function" || e.children,value: e.value,validationBehavior: r};- return [i ? use(o, i, a) : ZT(o, nE(e), a), a];+ return [i ? dse(o, i, a) : XT(o, tE(e), a), a];}-var Rpe = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {+var zpe = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {let { inputRef: n = null, ...r } = e;- [e, t] = wL(r, t, GL);- let [i, a] = Lpe(e, n);- return /*#__PURE__*/ F.createElement(qL.Provider, { value: {+ [e, t] = CL(r, t, WL);+ let [i, a] = Rpe(e, n);+ return /*#__PURE__*/ F.createElement(KL.Provider, { value: {...i,inputRef: a,defaultClassName: "react-aria-Checkbox",isIndeterminate: e.isIndeterminate,isRequired: e.isRequired- } }, /*#__PURE__*/ F.createElement(zpe, {+ } }, /*#__PURE__*/ F.createElement(Bpe, {...e,ref: t}));-}), zpe = /*#__PURE__*/ (0, F.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, F.useContext)(qL), { isFocused: p, isFocusVisible: m, focusProps: h } = kD(), g = a || o, { hoverProps: _, isHovered: v } = ND({+}), Bpe = /*#__PURE__*/ (0, F.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, F.useContext)(KL), { isFocused: p, isFocusVisible: m, focusProps: h } = OD(), g = a || o, { hoverProps: _, isHovered: v } = MD({...e,isDisabled: g- }), y = SL({+ }), y = xL({...e,defaultClassName: u,values: {@@ -38234,8 +38234,8 @@ var Rpe = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {isInvalid: c,isRequired: f || !1}- }), b = Uw(e, { global: !0 });- return delete b.id, delete b.onClick, /*#__PURE__*/ F.createElement(OL.label, {+ }), b = Hw(e, { global: !0 });+ return delete b.id, delete b.onClick, /*#__PURE__*/ F.createElement(DL.label, {...K(b, n, _, y),ref: t,slot: e.slot || void 0,@@ -38249,20 +38249,20 @@ var Rpe = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {"data-readonly": o || void 0,"data-invalid": c || void 0,"data-required": f || void 0- }, /*#__PURE__*/ F.createElement(dE, { elementType: "span" }, /*#__PURE__*/ F.createElement("input", {+ }, /*#__PURE__*/ F.createElement(uE, { elementType: "span" }, /*#__PURE__*/ F.createElement("input", {...K(r, h),ref: l})), y.children);-}), JL = /*#__PURE__*/ (0, F.createContext)({}), YL = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {- [e, t] = wL(e, t, JL);+}), qL = /*#__PURE__*/ (0, F.createContext)({}), JL = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {+ [e, t] = CL(e, t, qL);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 } = ND({+ let { hoverProps: l, isHovered: u } = MD({onHoverStart: a,onHoverChange: o,onHoverEnd: s,isDisabled: n- }), { isFocused: d, isFocusVisible: f, focusProps: p } = kD({ within: !0 }), m = SL({+ }), { isFocused: d, isFocusVisible: f, focusProps: p } = OD({ within: !0 }), m = xL({...e,values: {isHovered: u,@@ -38273,7 +38273,7 @@ var Rpe = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {},defaultClassName: "react-aria-Group"});- return /*#__PURE__*/ F.createElement(OL.div, {+ return /*#__PURE__*/ F.createElement(DL.div, {...K(c, p, l),...m,ref: t,@@ -38286,18 +38286,18 @@ var Rpe = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {"data-invalid": r || void 0,"data-readonly": i || void 0}, m.children);-}), XL = /*#__PURE__*/ (0, F.createContext)({}), Bpe = (e) => {+}), YL = /*#__PURE__*/ (0, F.createContext)({}), Vpe = (e) => {let { onHoverStart: t, onHoverChange: n, onHoverEnd: r, ...i } = e;return i;-}, Vpe = /*#__PURE__*/ tw(function(e, t) {- [e, t] = wL(e, t, XL);- let { hoverProps: n, isHovered: r } = ND({+}, Hpe = /*#__PURE__*/ ew(function(e, t) {+ [e, t] = CL(e, t, YL);+ let { hoverProps: n, isHovered: r } = MD({...e,isDisabled: e.disabled- }), { isFocused: i, isFocusVisible: a, focusProps: o } = kD({+ }), { isFocused: i, isFocusVisible: a, focusProps: o } = OD({isTextInput: !0,autoFocus: e.autoFocus- }), s = !!e["aria-invalid"] && e["aria-invalid"] !== "false", c = SL({+ }), s = !!e["aria-invalid"] && e["aria-invalid"] !== "false", c = xL({...e,values: {isHovered: r,@@ -38308,8 +38308,8 @@ var Rpe = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {},defaultClassName: "react-aria-Input"});- return /*#__PURE__*/ F.createElement(OL.input, {- ...K(Bpe(e), o, n),+ return /*#__PURE__*/ F.createElement(DL.input, {+ ...K(Vpe(e), o, n),...c,ref: t,"data-focused": i || void 0,@@ -38318,24 +38318,24 @@ var Rpe = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {"data-focus-visible": a || void 0,"data-invalid": s || void 0});-}), Hpe = 0, Upe = 100, Wpe = 1;-function Gpe(e) {- let { isDisabled: t = !1, minValue: n = Hpe, maxValue: r = Upe, numberFormatter: i, step: a = Wpe, orientation: o = "horizontal" } = e, s = (0, F.useMemo)(() => {+}), Upe = 0, Wpe = 100, Gpe = 1;+function Kpe(e) {+ let { isDisabled: t = !1, minValue: n = Upe, maxValue: r = Wpe, numberFormatter: i, step: a = Gpe, orientation: o = "horizontal" } = e, s = (0, F.useMemo)(() => {let e = (r - n) / 10;- return e = aE(e, 0, e + a, a), Math.max(e, a);+ return e = iE(e, 0, e + a, a), Math.max(e, a);}, [a,r,n- ]), c = (0, F.useCallback)((e) => e?.map((t, i) => aE(t, i === 0 ? n : e[i - 1], i === e.length - 1 ? r : e[i + 1], a)), [+ ]), c = (0, F.useCallback)((e) => e?.map((t, i) => iE(t, i === 0 ? n : e[i - 1], i === e.length - 1 ? r : e[i + 1], a)), [n,r,a- ]), l = (0, F.useMemo)(() => c(QL(e.value)), [e.value, c]), u = (0, F.useMemo)(() => c(QL(e.defaultValue) ?? [n]), [+ ]), l = (0, F.useMemo)(() => c(ZL(e.value)), [e.value, c]), u = (0, F.useMemo)(() => c(ZL(e.defaultValue) ?? [n]), [e.defaultValue,n,c- ]), d = $L(e.value, e.defaultValue, e.onChange), f = $L(e.value, e.defaultValue, e.onChangeEnd), [p, m] = tE(l, u, d), [h] = (0, F.useState)(p), [g, _] = (0, F.useState)(Array(p.length).fill(!1)), v = (0, F.useRef)(Array(p.length).fill(!0)), [y, b] = (0, F.useState)(void 0), x = (0, F.useRef)(p), S = (0, F.useRef)(g), C = (e) => {+ ]), d = QL(e.value, e.defaultValue, e.onChange), f = QL(e.value, e.defaultValue, e.onChangeEnd), [p, m] = eE(l, u, d), [h] = (0, F.useState)(p), [g, _] = (0, F.useState)(Array(p.length).fill(!1)), v = (0, F.useRef)(Array(p.length).fill(!0)), [y, b] = (0, F.useState)(void 0), x = (0, F.useRef)(p), S = (0, F.useRef)(g), C = (e) => {x.current = e, m(e);}, w = (e) => {S.current = e, _(e);@@ -38358,15 +38358,15 @@ function Gpe(e) {function A(e, n) {if (t || !O(e)) return;let r = E(e), i = D(e);- n = aE(n, r, i, a);- let o = ZL(x.current, e, n);+ n = iE(n, r, i, a);+ let o = XL(x.current, e, n);C(o);}function j(e, n) {if (t || !O(e)) return;n && (x.current = p);let r = S.current[e];- S.current = ZL(S.current, e, n), w(S.current), f && r && !S.current.some(Boolean) && f(x.current);+ S.current = XL(S.current, e, n), w(S.current), f && r && !S.current.some(Boolean) && f(x.current);}let M = (0, F.useRef)(null);function ee(e = p) {@@ -38387,15 +38387,15 @@ function Gpe(e) {return Math.round((e - n) / a) * a + n;}function P(e) {- return rE(te(e * (r - n) + n), n, r);+ return nE(te(e * (r - n) + n), n, r);}function ne(e, t = 1) {let i = Math.max(t, a);- A(e, aE(p[e] + i, n, r, a));+ A(e, iE(p[e] + i, n, r, a));}function re(e, t = 1) {let i = Math.max(t, a);- A(e, aE(p[e] - i, n, r, a));+ A(e, iE(p[e] - i, n, r, a));}return {values: p,@@ -38424,31 +38424,31 @@ function Gpe(e) {isDisabled: t};}-function ZL(e, t, n) {+function XL(e, t, n) {return e[t] === n ? e : [...e.slice(0, t),n,...e.slice(t + 1)];}-function QL(e) {+function ZL(e) {if (e != null) return Array.isArray(e) ? e : [e];}-function $L(e, t, n) {+function QL(e, t, n) {return (r) => {typeof e == "number" || typeof t == "number" ? n?.(r[0]) : n?.(r);};}// node_modules/react-aria-components/dist/private/Slider.mjs-var Kpe = /*#__PURE__*/ (0, F.createContext)(null), eR = /*#__PURE__*/ (0, F.createContext)(null), tR = /*#__PURE__*/ (0, F.createContext)(null), qpe = /*#__PURE__*/ (0, F.createContext)(null), Jpe = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {- [e, t] = wL(e, t, Kpe);- let n = (0, F.useRef)(null), r = hse(e.formatOptions), i = Gpe({+var qpe = /*#__PURE__*/ (0, F.createContext)(null), $L = /*#__PURE__*/ (0, F.createContext)(null), eR = /*#__PURE__*/ (0, F.createContext)(null), Jpe = /*#__PURE__*/ (0, F.createContext)(null), Ype = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {+ [e, t] = CL(e, t, qpe);+ let n = (0, F.useRef)(null), r = gse(e.formatOptions), i = Kpe({...e,numberFormatter: r- }), [a, o] = TL(!e["aria-label"] && !e["aria-labelledby"]), { groupProps: s, trackProps: c, labelProps: l, outputProps: u } = gse({+ }), [a, o] = wL(!e["aria-label"] && !e["aria-labelledby"]), { groupProps: s, trackProps: c, labelProps: l, outputProps: u } = _se({...e,label: o- }, i, n), d = SL({+ }, i, n), d = xL({...e,values: {orientation: i.orientation,@@ -38456,32 +38456,32 @@ var Kpe = /*#__PURE__*/ (0, F.createContext)(null), eR = /*#__PURE__*/ (0, F.crestate: i},defaultClassName: "react-aria-Slider"- }), f = Uw(e, { global: !0 });- return delete f.id, /*#__PURE__*/ F.createElement(xL, { values: [- [eR, i],- [tR, {+ }), f = Hw(e, { global: !0 });+ return delete f.id, /*#__PURE__*/ F.createElement(bL, { values: [+ [$L, i],+ [eR, {...c,ref: n}],- [qpe, u],- [IL, {+ [Jpe, u],+ [FL, {...l,ref: a}]- ] }, /*#__PURE__*/ F.createElement(OL.div, {+ ] }, /*#__PURE__*/ F.createElement(DL.div, {...K(f, d, s),ref: t,slot: e.slot || void 0,"data-orientation": i.orientation,"data-disabled": i.isDisabled || void 0}));-}), Ype = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {- [e, t] = wL(e, t, tR);- let n = (0, F.useContext)(eR), { onHoverStart: r, onHoverEnd: i, onHoverChange: a, ...o } = e, { hoverProps: s, isHovered: c } = ND({+}), Xpe = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {+ [e, t] = CL(e, t, eR);+ let n = (0, F.useContext)($L), { onHoverStart: r, onHoverEnd: i, onHoverChange: a, ...o } = e, { hoverProps: s, isHovered: c } = MD({onHoverStart: r,onHoverEnd: i,onHoverChange: a- }), l = SL({+ }), l = xL({...e,defaultClassName: "react-aria-SliderTrack",values: {@@ -38491,7 +38491,7 @@ var Kpe = /*#__PURE__*/ (0, F.createContext)(null), eR = /*#__PURE__*/ (0, F.crestate: n}});- return /*#__PURE__*/ F.createElement(OL.div, {+ return /*#__PURE__*/ F.createElement(DL.div, {...K(o, s),...l,ref: t,@@ -38499,14 +38499,14 @@ var Kpe = /*#__PURE__*/ (0, F.createContext)(null), eR = /*#__PURE__*/ (0, F.cre"data-orientation": n.orientation || void 0,"data-disabled": n.isDisabled || void 0});-}), Xpe = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {- let { inputRef: n = null } = e, r = (0, F.useContext)(eR), { ref: i } = CL(tR), { index: a = 0 } = e, o = (0, F.useRef)(null), s = n || o, [c, l] = TL(!e["aria-label"] && !e["aria-labelledby"]), { thumbProps: u, inputProps: d, labelProps: f, isDragging: p, isFocused: m, isDisabled: h } = _se({+}), Zpe = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {+ let { inputRef: n = null } = e, r = (0, F.useContext)($L), { ref: i } = SL(eR), { index: a = 0 } = e, o = (0, F.useRef)(null), s = n || o, [c, l] = wL(!e["aria-label"] && !e["aria-labelledby"]), { thumbProps: u, inputProps: d, labelProps: f, isDragging: p, isFocused: m, isDisabled: h } = vse({...e,index: a,trackRef: i,inputRef: s,label: l- }, r), { focusProps: g, isFocusVisible: _ } = kD(), { hoverProps: v, isHovered: y } = ND(e), b = SL({+ }, r), { focusProps: g, isFocusVisible: _ } = OD(), { hoverProps: v, isHovered: y } = MD(e), b = xL({...e,defaultClassName: "react-aria-SliderThumb",values: {@@ -38517,8 +38517,8 @@ var Kpe = /*#__PURE__*/ (0, F.createContext)(null), eR = /*#__PURE__*/ (0, F.creisFocusVisible: _,isDisabled: h}- }), x = Uw(e, { global: !0 });- return delete x.id, /*#__PURE__*/ F.createElement(OL.div, {+ }), x = Hw(e, { global: !0 });+ return delete x.id, /*#__PURE__*/ F.createElement(DL.div, {...K(x, u, v),...b,ref: t,@@ -38531,330 +38531,330 @@ var Kpe = /*#__PURE__*/ (0, F.createContext)(null), eR = /*#__PURE__*/ (0, F.cre"data-focused": m || void 0,"data-focus-visible": _ || void 0,"data-disabled": h || void 0- }, /*#__PURE__*/ F.createElement(dE, null, /*#__PURE__*/ F.createElement("input", {+ }, /*#__PURE__*/ F.createElement(uE, null, /*#__PURE__*/ F.createElement("input", {ref: s,...K(d, g)- })), /*#__PURE__*/ F.createElement(xL, { values: [[IL, {+ })), /*#__PURE__*/ F.createElement(bL, { values: [[FL, {...f,ref: c}]] }, b.children));-}), nR = {};-nR = {+}), tR = {};+tR = {colorSwatchPicker: "تغييرات الألوان",dropzoneLabel: "DropZone",selectPlaceholder: "حدد عنصرًا",tableResizer: "أداة تغيير الحجم"};// node_modules/react-aria-components/dist/private/intl/bg-BG.mjs-var rR = {};-rR = {+var nR = {};+nR = {colorSwatchPicker: "Цветови мостри",dropzoneLabel: "DropZone",selectPlaceholder: "Изберете предмет",tableResizer: "Преоразмерител"};// node_modules/react-aria-components/dist/private/intl/cs-CZ.mjs-var iR = {};-iR = {+var rR = {};+rR = {colorSwatchPicker: "Vzorky barev",dropzoneLabel: "Místo pro přetažení",selectPlaceholder: "Vyberte položku",tableResizer: "Změna velikosti"};// node_modules/react-aria-components/dist/private/intl/da-DK.mjs-var aR = {};-aR = {+var iR = {};+iR = {colorSwatchPicker: "Farveprøver",dropzoneLabel: "DropZone",selectPlaceholder: "Vælg et element",tableResizer: "Størrelsesændring"};// node_modules/react-aria-components/dist/private/intl/de-DE.mjs-var oR = {};-oR = {+var aR = {};+aR = {colorSwatchPicker: "Farbfelder",dropzoneLabel: "Ablegebereich",selectPlaceholder: "Element wählen",tableResizer: "Größenanpassung"};// node_modules/react-aria-components/dist/private/intl/el-GR.mjs-var sR = {};-sR = {+var oR = {};+oR = {colorSwatchPicker: "Χρωματικά δείγματα",dropzoneLabel: "DropZone",selectPlaceholder: "Επιλέξτε ένα αντικείμενο",tableResizer: "Αλλαγή μεγέθους"};// node_modules/react-aria-components/dist/private/intl/en-US.mjs-var cR = {};-cR = {+var sR = {};+sR = {selectPlaceholder: "Select an item",tableResizer: "Resizer",dropzoneLabel: "DropZone",colorSwatchPicker: "Color swatches"};// node_modules/react-aria-components/dist/private/intl/es-ES.mjs-var lR = {};-lR = {+var cR = {};+cR = {colorSwatchPicker: "Muestras de colores",dropzoneLabel: "DropZone",selectPlaceholder: "Seleccionar un artículo",tableResizer: "Cambiador de tamaño"};// node_modules/react-aria-components/dist/private/intl/et-EE.mjs-var uR = {};-uR = {+var lR = {};+lR = {colorSwatchPicker: "Värvinäidised",dropzoneLabel: "DropZone",selectPlaceholder: "Valige üksus",tableResizer: "Suuruse muutja"};// node_modules/react-aria-components/dist/private/intl/fi-FI.mjs-var dR = {};-dR = {+var uR = {};+uR = {colorSwatchPicker: "Värimallit",dropzoneLabel: "DropZone",selectPlaceholder: "Valitse kohde",tableResizer: "Koon muuttaja"};// node_modules/react-aria-components/dist/private/intl/fr-FR.mjs-var fR = {};-fR = {+var dR = {};+dR = {colorSwatchPicker: "Échantillons de couleurs",dropzoneLabel: "DropZone",selectPlaceholder: "Sélectionner un élément",tableResizer: "Redimensionneur"};// node_modules/react-aria-components/dist/private/intl/he-IL.mjs-var pR = {};-pR = {+var fR = {};+fR = {colorSwatchPicker: "דוגמיות צבע",dropzoneLabel: "DropZone",selectPlaceholder: "בחר פריט",tableResizer: "שינוי גודל"};// node_modules/react-aria-components/dist/private/intl/hr-HR.mjs-var mR = {};-mR = {+var pR = {};+pR = {colorSwatchPicker: "Uzorci boja",dropzoneLabel: "Zona spuštanja",selectPlaceholder: "Odaberite stavku",tableResizer: "Promjena veličine"};// node_modules/react-aria-components/dist/private/intl/hu-HU.mjs-var hR = {};-hR = {+var mR = {};+mR = {colorSwatchPicker: "Színtárak",dropzoneLabel: "DropZone",selectPlaceholder: "Válasszon ki egy elemet",tableResizer: "Átméretező"};// node_modules/react-aria-components/dist/private/intl/it-IT.mjs-var gR = {};-gR = {+var hR = {};+hR = {colorSwatchPicker: "Campioni di colore",dropzoneLabel: "Zona di rilascio",selectPlaceholder: "Seleziona un elemento",tableResizer: "Ridimensionamento"};// node_modules/react-aria-components/dist/private/intl/ja-JP.mjs-var _R = {};-_R = {+var gR = {};+gR = {colorSwatchPicker: "カラースウォッチ",dropzoneLabel: "ドロップゾーン",selectPlaceholder: "項目を選択",tableResizer: "サイズ変更ツール"};// node_modules/react-aria-components/dist/private/intl/ko-KR.mjs-var vR = {};-vR = {+var _R = {};+_R = {colorSwatchPicker: "색상 견본",dropzoneLabel: "드롭 영역",selectPlaceholder: "항목 선택",tableResizer: "크기 조정기"};// node_modules/react-aria-components/dist/private/intl/lt-LT.mjs-var yR = {};-yR = {+var vR = {};+vR = {colorSwatchPicker: "Spalvų pavyzdžiai",dropzoneLabel: "„DropZone“",selectPlaceholder: "Pasirinkite elementą",tableResizer: "Dydžio keitiklis"};// node_modules/react-aria-components/dist/private/intl/lv-LV.mjs-var bR = {};-bR = {+var yR = {};+yR = {colorSwatchPicker: "Krāsu paraugi",dropzoneLabel: "DropZone",selectPlaceholder: "Izvēlēties vienumu",tableResizer: "Izmēra mainītājs"};// node_modules/react-aria-components/dist/private/intl/nb-NO.mjs-var xR = {};-xR = {+var bR = {};+bR = {colorSwatchPicker: "Fargekart",dropzoneLabel: "Droppsone",selectPlaceholder: "Velg et element",tableResizer: "Størrelsesendrer"};// node_modules/react-aria-components/dist/private/intl/nl-NL.mjs-var SR = {};-SR = {+var xR = {};+xR = {colorSwatchPicker: "kleurstalen",dropzoneLabel: "DropZone",selectPlaceholder: "Selecteer een item",tableResizer: "Resizer"};// node_modules/react-aria-components/dist/private/intl/pl-PL.mjs-var CR = {};-CR = {+var SR = {};+SR = {colorSwatchPicker: "Próbki kolorów",dropzoneLabel: "Strefa upuszczania",selectPlaceholder: "Wybierz element",tableResizer: "Zmiana rozmiaru"};// node_modules/react-aria-components/dist/private/intl/pt-BR.mjs-var wR = {};-wR = {+var CR = {};+CR = {colorSwatchPicker: "Amostras de cores",dropzoneLabel: "DropZone",selectPlaceholder: "Selecione um item",tableResizer: "Redimensionador"};// node_modules/react-aria-components/dist/private/intl/pt-PT.mjs-var TR = {};-TR = {+var wR = {};+wR = {colorSwatchPicker: "Amostras de cores",dropzoneLabel: "DropZone",selectPlaceholder: "Selecione um item",tableResizer: "Redimensionador"};// node_modules/react-aria-components/dist/private/intl/ro-RO.mjs-var ER = {};-ER = {+var TR = {};+TR = {colorSwatchPicker: "Specimene de culoare",dropzoneLabel: "Zonă de plasare",selectPlaceholder: "Selectați un element",tableResizer: "Instrument de redimensionare"};// node_modules/react-aria-components/dist/private/intl/ru-RU.mjs-var DR = {};-DR = {+var ER = {};+ER = {colorSwatchPicker: "Цветовые образцы",dropzoneLabel: "DropZone",selectPlaceholder: "Выберите элемент",tableResizer: "Средство изменения размера"};// node_modules/react-aria-components/dist/private/intl/sk-SK.mjs-var OR = {};-OR = {+var DR = {};+DR = {colorSwatchPicker: "Vzorkovníky farieb",dropzoneLabel: "DropZone",selectPlaceholder: "Vyberte položku",tableResizer: "Nástroj na zmenu veľkosti"};// node_modules/react-aria-components/dist/private/intl/sl-SI.mjs-var kR = {};-kR = {+var OR = {};+OR = {colorSwatchPicker: "Barvne palete",dropzoneLabel: "DropZone",selectPlaceholder: "Izberite element",tableResizer: "Spreminjanje velikosti"};// node_modules/react-aria-components/dist/private/intl/sr-SP.mjs-var AR = {};-AR = {+var kR = {};+kR = {colorSwatchPicker: "Uzorci boje",dropzoneLabel: "DropZone",selectPlaceholder: "Izaberite stavku",tableResizer: "Promena veličine"};// node_modules/react-aria-components/dist/private/intl/sv-SE.mjs-var jR = {};-jR = {+var AR = {};+AR = {colorSwatchPicker: "Färgrutor",dropzoneLabel: "DropZone",selectPlaceholder: "Välj en artikel",tableResizer: "Storleksändrare"};// node_modules/react-aria-components/dist/private/intl/tr-TR.mjs-var MR = {};-MR = {+var jR = {};+jR = {colorSwatchPicker: "Renk örnekleri",dropzoneLabel: "Bırakma Bölgesi",selectPlaceholder: "Bir öğe seçin",tableResizer: "Yeniden boyutlandırıcı"};// node_modules/react-aria-components/dist/private/intl/uk-UA.mjs-var NR = {};-NR = {+var MR = {};+MR = {colorSwatchPicker: "Зразки кольорів",dropzoneLabel: "DropZone",selectPlaceholder: "Виберіть елемент",tableResizer: "Засіб змінення розміру"};// node_modules/react-aria-components/dist/private/intl/zh-CN.mjs-var PR = {};-PR = {+var NR = {};+NR = {colorSwatchPicker: "颜色色板",dropzoneLabel: "放置区域",selectPlaceholder: "选择一个项目",tableResizer: "尺寸调整器"};// node_modules/react-aria-components/dist/private/intl/zh-TW.mjs-var FR = {};-FR = {+var PR = {};+PR = {colorSwatchPicker: "色票",dropzoneLabel: "放置區",selectPlaceholder: "選取項目",tableResizer: "大小調整器"};// node_modules/react-aria-components/dist/private/intlStrings.mjs-var IR = {};-IR = {- "ar-AE": nR,- "bg-BG": rR,- "cs-CZ": iR,- "da-DK": aR,- "de-DE": oR,- "el-GR": sR,- "en-US": cR,- "es-ES": lR,- "et-EE": uR,- "fi-FI": dR,- "fr-FR": fR,- "he-IL": pR,- "hr-HR": mR,- "hu-HU": hR,- "it-IT": gR,- "ja-JP": _R,- "ko-KR": vR,- "lt-LT": yR,- "lv-LV": bR,- "nb-NO": xR,- "nl-NL": SR,- "pl-PL": CR,- "pt-BR": wR,- "pt-PT": TR,- "ro-RO": ER,- "ru-RU": DR,- "sk-SK": OR,- "sl-SI": kR,- "sr-SP": AR,- "sv-SE": jR,- "tr-TR": MR,- "uk-UA": NR,- "zh-CN": PR,- "zh-TW": FR+var FR = {};+FR = {+ "ar-AE": tR,+ "bg-BG": nR,+ "cs-CZ": rR,+ "da-DK": iR,+ "de-DE": aR,+ "el-GR": oR,+ "en-US": sR,+ "es-ES": cR,+ "et-EE": lR,+ "fi-FI": uR,+ "fr-FR": dR,+ "he-IL": fR,+ "hr-HR": pR,+ "hu-HU": mR,+ "it-IT": hR,+ "ja-JP": gR,+ "ko-KR": _R,+ "lt-LT": vR,+ "lv-LV": yR,+ "nb-NO": bR,+ "nl-NL": xR,+ "pl-PL": SR,+ "pt-BR": CR,+ "pt-PT": wR,+ "ro-RO": TR,+ "ru-RU": ER,+ "sk-SK": DR,+ "sl-SI": OR,+ "sr-SP": kR,+ "sv-SE": AR,+ "tr-TR": jR,+ "uk-UA": MR,+ "zh-CN": NR,+ "zh-TW": PR};// node_modules/react-aria-components/dist/private/DragAndDrop.mjs-var LR = /*#__PURE__*/ (0, F.createContext)({}), RR = /*#__PURE__*/ (0, F.createContext)(null), Zpe = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {- let { render: n } = (0, F.useContext)(RR);+var IR = /*#__PURE__*/ (0, F.createContext)({}), LR = /*#__PURE__*/ (0, F.createContext)(null), Qpe = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {+ let { render: n } = (0, F.useContext)(LR);return /*#__PURE__*/ F.createElement(F.Fragment, null, n(e, t));});-function zR(e, t) {+function RR(e, t) {let n = e?.renderDropIndicator, r = e?.isVirtualDragging?.(), i = (0, F.useCallback)((e) => {- if (r || t?.isDropTarget(e)) return n ? n(e) : /*#__PURE__*/ F.createElement(Zpe, { target: e });+ if (r || t?.isDropTarget(e)) return n ? n(e) : /*#__PURE__*/ F.createElement(Qpe, { target: e });}, [t?.target,r,@@ -38862,7 +38862,7 @@ function zR(e, t) {]);return e?.useDropIndicator ? i : void 0;}-function BR(e, t, n) {+function zR(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;@@ -38883,13 +38883,13 @@ function BR(e, t, n) {return (0, F.useMemo)(() => new Set([r, i].filter((e) => e != null)), [r, i]);}// node_modules/react-aria-components/dist/private/Header.mjs-var VR = /*#__PURE__*/ (0, F.createContext)({}), Qpe = /*#__PURE__*/ (0, F.createContext)(null);-function HR(e) {+var BR = /*#__PURE__*/ (0, F.createContext)({}), $pe = /*#__PURE__*/ (0, F.createContext)(null);+function VR(e) {let t = (0, F.useRef)({});- return /*#__PURE__*/ F.createElement(Qpe.Provider, { value: t }, e.children);+ return /*#__PURE__*/ F.createElement($pe.Provider, { value: t }, e.children);}// node_modules/react-aria-components/dist/private/SelectionIndicator.mjs-var UR = /*#__PURE__*/ (0, F.createContext)({ isSelected: !1 }), WR = /*#__PURE__*/ (0, F.createContext)({}), $pe = /*#__PURE__*/ lw(class extends fS {+var HR = /*#__PURE__*/ (0, F.createContext)({ isSelected: !1 }), UR = /*#__PURE__*/ (0, F.createContext)({}), eme = /*#__PURE__*/ cw(class extends dS {static {this.type = "separator";}@@ -38902,14 +38902,14 @@ var UR = /*#__PURE__*/ (0, F.createContext)({ isSelected: !1 }), WR = /*#__PURE_return null;}}, function(e, t) {- [e, t] = wL(e, t, WR);+ [e, t] = CL(e, t, UR);let { elementType: n, orientation: r, style: i, className: a, slot: o, ...s } = e, c = n || "hr";c === "hr" && r === "vertical" && (c = "div");- let l = OL[c], { separatorProps: u } = wce({+ let l = DL[c], { separatorProps: u } = Tce({...s,elementType: n,orientation: r- }), d = Uw(e, { global: !0 });+ }), d = Hw(e, { global: !0 });return /*#__PURE__*/ F.createElement(l, {render: e.render,...K(d, u),@@ -38920,12 +38920,12 @@ var UR = /*#__PURE__*/ (0, F.createContext)({ isSelected: !1 }), WR = /*#__PURE_});});// node_modules/react-aria/dist/private/utils/inertValue.mjs-function GR(e) {+function WR(e) {let t = F.version.split(".");return parseInt(t[0], 10) >= 19 ? e : e ? "true" : void 0;}// node_modules/react-stately/dist/private/list/ListCollection.mjs-var KR = class {+var GR = class {constructor(e) {this.keyMap = /* @__PURE__ */ new Map(), this.firstKey = null, this.lastKey = null, this.iterable = e;let t = (e) => {@@ -38969,19 +38969,19 @@ var KR = class {getChildren(e) {return this.keyMap.get(e)?.childNodes || [];}-}, qR = class e extends Set {+}, KR = 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);}};// node_modules/react-stately/dist/private/selection/useMultipleSelectionState.mjs-function eme(e, t) {+function tme(e, t) {if (e.size !== t.size) return !1;for (let n of e) if (!t.has(n)) return !1;return !0;}-function JR(e) {- let { selectionMode: t = "none", disallowEmptySelection: n = !1, allowDuplicateSelectionEvents: r, selectionBehavior: i = "toggle", disabledBehavior: a = "all" } = e, o = (0, F.useRef)(!1), [, s] = (0, F.useState)(!1), c = (0, F.useRef)(null), l = (0, F.useRef)(null), [, u] = (0, F.useState)(null), [d, f] = tE((0, F.useMemo)(() => YR(e.selectedKeys), [e.selectedKeys]), (0, F.useMemo)(() => YR(e.defaultSelectedKeys, new qR()), [e.defaultSelectedKeys]), e.onSelectionChange), p = (0, F.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), [m, h] = (0, F.useState)(i);+function qR(e) {+ let { selectionMode: t = "none", disallowEmptySelection: n = !1, allowDuplicateSelectionEvents: r, selectionBehavior: i = "toggle", disabledBehavior: a = "all" } = e, o = (0, F.useRef)(!1), [, s] = (0, F.useState)(!1), c = (0, F.useRef)(null), l = (0, F.useRef)(null), [, u] = (0, F.useState)(null), [d, f] = eE((0, F.useMemo)(() => JR(e.selectedKeys), [e.selectedKeys]), (0, F.useMemo)(() => JR(e.defaultSelectedKeys, new KR()), [e.defaultSelectedKeys]), e.onSelectionChange), p = (0, F.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), [m, h] = (0, F.useState)(i);i === "replace" && m === "toggle" && typeof d == "object" && d.size === 0 && h("replace");let g = (0, F.useRef)(i);return (0, F.useEffect)(() => {@@ -39008,17 +39008,17 @@ function JR(e) {},selectedKeys: d,setSelectedKeys(e) {- (r || !eme(e, d)) && f(e);+ (r || !tme(e, d)) && f(e);},disabledKeys: p,disabledBehavior: a};}-function YR(e, t) {- return e ? e === "all" ? "all" : new qR(e) : t;+function JR(e, t) {+ return e ? e === "all" ? "all" : new KR(e) : t;}// node_modules/react-stately/dist/private/selection/SelectionManager.mjs-var XR = class e {+var YR = 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;}@@ -39074,7 +39074,7 @@ var XR = class e {let e = null;for (let t of this.state.selectedKeys) {let n = this.collection.getItem(t);- (!e || n && _D(this.collection, n, e) < 0) && (e = n);+ (!e || n && gD(this.collection, n, e) < 0) && (e = n);}return e?.key ?? null;}@@ -39082,7 +39082,7 @@ var XR = class e {let e = null;for (let t of this.state.selectedKeys) {let n = this.collection.getItem(t);- (!e || n && _D(this.collection, n, e) > 0) && (e = n);+ (!e || n && gD(this.collection, n, e) > 0) && (e = n);}return e?.key ?? null;}@@ -39101,10 +39101,10 @@ var XR = class e {let t = this.getKey(e);if (t == null) return;let n;- if (this.state.selectedKeys === "all") n = new qR([t], t, t);+ if (this.state.selectedKeys === "all") n = new KR([t], t, t);else {let e = this.state.selectedKeys, r = e.anchorKey ?? t;- n = new qR(e, r, t);+ n = new KR(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);}@@ -39112,7 +39112,7 @@ var XR = class e {}getKeyRange(e, t) {let n = this.collection.getItem(e), r = this.collection.getItem(t);- return n && r ? _D(this.collection, n, r) <= 0 ? this.getKeyRangeInternal(e, t) : this.getKeyRangeInternal(t, e) : [];+ return n && r ? gD(this.collection, n, r) <= 0 ? this.getKeyRangeInternal(e, t) : this.getKeyRangeInternal(t, e) : [];}getKeyRangeInternal(e, t) {if (this.layoutDelegate?.getKeyRange) return this.layoutDelegate.getKeyRange(e, t);@@ -39138,19 +39138,19 @@ var XR = class e {}let t = this.getKey(e);if (t == null) return;- let n = new qR(this.state.selectedKeys === "all" ? this.getSelectAllKeys() : this.state.selectedKeys);+ let n = new KR(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 qR([t], t, t) : new qR();+ let n = this.canSelectItem(t) ? new KR([t], t, t) : new KR();this.state.setSelectedKeys(n);}setSelectedKeys(e) {if (this.selectionMode === "none") return;- let t = new qR();+ let t = new KR();for (let n of e) {let e = this.getKey(n);if (e != null && (t.add(e), this.selectionMode === "single")) break;@@ -39162,7 +39162,7 @@ var XR = class e {for (; r != null;) {if (this.canSelectItemIn(r, e)) {let i = e.getItem(r);- i?.type === "item" && t.push(r), i?.hasChildNodes && (this.allowsCellSelection || i.type !== "item") && n(mD(pD(i, e))?.key ?? null);+ i?.type === "item" && t.push(r), i?.hasChildNodes && (this.allowsCellSelection || i.type !== "item") && n(pD(fD(i, e))?.key ?? null);}r = e.getKeyAfter(r);}@@ -39173,7 +39173,7 @@ var XR = 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 qR());+ !this.disallowEmptySelection && (this.state.selectedKeys === "all" || this.state.selectedKeys.size > 0) && this.state.setSelectedKeys(new KR());}toggleSelectAll() {this.isSelectAll ? this.clearSelection() : this.selectAll();@@ -39214,9 +39214,9 @@ var XR = class e {fullCollection: this.fullCollection ?? this.collection});}-}, tme = class {+}, nme = class {build(e, t) {- return this.context = t, ZR(() => this.iterateCollection(e));+ return this.context = t, XR(() => this.iterateCollection(e));}*iterateCollection(e) {let { children: t, items: n } = e;@@ -39298,10 +39298,10 @@ var XR = class e {...a,key: l,index: s,- wrapper: nme(e.wrapper, a.wrapper)+ wrapper: rme(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 <${QR(t.type)}> in <${QR(r?.type ?? "unknown parent type")}>. Only <${QR(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 <${ZR(t.type)}> in <${ZR(r?.type ?? "unknown parent type")}>. Only <${ZR(e.type)}> is supported.`);s++, yield t;}c = o.next(u);@@ -39323,7 +39323,7 @@ var XR = class e {wrapper: e.wrapper,shouldInvalidate: e.shouldInvalidate,hasChildNodes: e.hasChildNodes || !1,- childNodes: ZR(function* () {+ childNodes: XR(function* () {if (!e.hasChildNodes || !e.childNodes) return;let n = 0;for (let r of e.childNodes()) {@@ -39342,7 +39342,7 @@ var XR = class e {this.cache = /* @__PURE__ */ new WeakMap();}};-function ZR(e) {+function XR(e) {let t = [], n = null;return { *[Symbol.iterator]() {for (let e of t) yield e;@@ -39350,17 +39350,17 @@ function ZR(e) {for (let e of n) t.push(e), yield e;} };}-function nme(e, t) {+function rme(e, t) {if (e && t) return (n) => e(t(n));if (e) return e;if (t) return t;}-function QR(e) {+function ZR(e) {return e[0].toUpperCase() + e.slice(1);}// node_modules/react-stately/dist/private/collections/useCollection.mjs-function $R(e, t, n) {- let r = (0, F.useMemo)(() => new tme(), []), { children: i, items: a, collection: o } = e;+function QR(e, t, n) {+ let r = (0, F.useMemo)(() => new nme(), []), { children: i, items: a, collection: o } = e;return (0, F.useMemo)(() => o || t(r.build({children: i,items: a@@ -39374,27 +39374,27 @@ function $R(e, t, n) {]);}// node_modules/react-stately/dist/private/list/useListState.mjs-function ez(e) {- let { filter: t, layoutDelegate: n } = e, r = JR(e), i = (0, F.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), a = $R(e, (0, F.useCallback)((e) => t ? new KR(t(e)) : new KR(e), [t]), (0, F.useMemo)(() => ({ suppressTextValueWarning: e.suppressTextValueWarning }), [e.suppressTextValueWarning])), o = (0, F.useMemo)(() => new XR(a, r, { layoutDelegate: n }), [+function $R(e) {+ let { filter: t, layoutDelegate: n } = e, r = qR(e), i = (0, F.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), a = QR(e, (0, F.useCallback)((e) => t ? new GR(t(e)) : new GR(e), [t]), (0, F.useMemo)(() => ({ suppressTextValueWarning: e.suppressTextValueWarning }), [e.suppressTextValueWarning])), o = (0, F.useMemo)(() => new YR(a, r, { layoutDelegate: n }), [a,r,n]);- return tz(a, o), {+ return ez(a, o), {collection: a,disabledKeys: i,selectionManager: o};}-function rme(e, t) {+function ime(e, t) {let n = (0, F.useMemo)(() => t ? e.collection.filter(t) : e.collection, [e.collection, t]), r = e.selectionManager.withCollection(n);- return tz(n, r), {+ return ez(n, r), {collection: n,selectionManager: r,disabledKeys: e.disabledKeys};}-function tz(e, t) {+function ez(e, t) {let n = (0, F.useRef)(null);(0, F.useEffect)(() => {if (t.focusedKey != null && !e.getItem(t.focusedKey) && n.current) {@@ -39421,15 +39421,15 @@ function tz(e, t) {}, [e, t]);}// node_modules/react-aria/dist/private/utils/useLoadMoreSentinel.mjs-function nz(e, t) {- let { collection: n, onLoadMore: r, scrollOffset: i = 1, direction: a = "end" } = e, o = (0, F.useRef)(null), s = Dw((e) => {+function tz(e, t) {+ let { collection: n, onLoadMore: r, scrollOffset: i = 1, direction: a = "end" } = e, o = (0, F.useRef)(null), s = Ew((e) => {for (let t of e) t.isIntersecting && r && r();});- RS(() => {+ LS(() => {if (t.current) {let e = 100 * i, n = a === "start" ? `${e}% 0px 0px 0px` : `0px ${e}% ${e}% ${e}%`;o.current = new IntersectionObserver(s, {- root: NT(t?.current),+ root: MT(t?.current),rootMargin: n}), o.current.observe(t.current);}@@ -39444,42 +39444,42 @@ function nz(e, t) {]);}// node_modules/react-aria-components/dist/private/ListBox.mjs-var rz = /*#__PURE__*/ (0, F.createContext)(null), iz = /*#__PURE__*/ (0, F.createContext)(null), ime = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {- [e, t] = wL(e, t, rz);- let n = (0, F.useContext)(iz);- return n ? /*#__PURE__*/ F.createElement(az, {+var nz = /*#__PURE__*/ (0, F.createContext)(null), rz = /*#__PURE__*/ (0, F.createContext)(null), ame = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {+ [e, t] = CL(e, t, nz);+ let n = (0, F.useContext)(rz);+ return n ? /*#__PURE__*/ F.createElement(iz, {state: n,props: e,listBoxRef: t- }) : /*#__PURE__*/ F.createElement(ow, { content: /*#__PURE__*/ F.createElement(pw, e) }, (n) => /*#__PURE__*/ F.createElement(ame, {+ }) : /*#__PURE__*/ F.createElement(aw, { content: /*#__PURE__*/ F.createElement(fw, e) }, (n) => /*#__PURE__*/ F.createElement(ome, {props: e,listBoxRef: t,collection: n}));});-function ame({ props: e, listBoxRef: t, collection: n }) {+function ome({ props: e, listBoxRef: t, collection: n }) {e = {...e,collection: n,children: null,items: null};- let { layoutDelegate: r } = (0, F.useContext)(PL), i = ez({+ let { layoutDelegate: r } = (0, F.useContext)(NL), i = $R({...e,layoutDelegate: r});- return /*#__PURE__*/ F.createElement(az, {+ return /*#__PURE__*/ F.createElement(iz, {state: i,props: e,listBoxRef: t});}-function az({ state: e, props: t, listBoxRef: n }) {- [t, n] = wL(t, n, kL);- let { dragAndDropHooks: r, layout: i = "stack", orientation: a = "vertical", filter: o } = t, s = rme(e, o), { collection: c, selectionManager: l } = s, u = !!r?.useDraggableCollectionState, d = !!r?.useDroppableCollectionState, { direction: f } = Fw(), { disabledBehavior: p, disabledKeys: m } = l, h = SD({+function iz({ state: e, props: t, listBoxRef: n }) {+ [t, n] = CL(t, n, OL);+ let { dragAndDropHooks: r, layout: i = "stack", orientation: a = "vertical", filter: o } = t, s = ime(e, o), { collection: c, selectionManager: l } = s, u = !!r?.useDraggableCollectionState, d = !!r?.useDroppableCollectionState, { direction: f } = Pw(), { disabledBehavior: p, disabledKeys: m } = l, h = xD({usage: "search",sensitivity: "base"- }), { isVirtualized: g, layoutDelegate: _, dropTargetDelegate: v, CollectionRoot: y } = (0, F.useContext)(PL), b = (0, F.useMemo)(() => t.keyboardDelegate || new wE({+ }), { isVirtualized: g, layoutDelegate: _, dropTargetDelegate: v, CollectionRoot: y } = (0, F.useContext)(NL), b = (0, F.useMemo)(() => t.keyboardDelegate || new CE({collection: c,collator: h,ref: n,@@ -39500,7 +39500,7 @@ function az({ state: e, props: t, listBoxRef: n }) {t.keyboardDelegate,i,_- ]), { listBoxProps: x } = Wse({+ ]), { listBoxProps: x } = Gse({...t,shouldSelectOnPressUp: u || t.shouldSelectOnPressUp,keyboardDelegate: b,@@ -39532,7 +39532,7 @@ function az({ state: e, props: t, listBoxRef: n }) {dropTargetDelegate: e}, C, n), T = C.isDropTarget({ type: "root" });}- let { focusProps: O, isFocused: k, isFocusVisible: A } = kD(), j = s.collection.size === 0, M = {+ let { focusProps: O, isFocused: k, isFocusVisible: A } = OD(), j = s.collection.size === 0, M = {isDropTarget: T,isEmpty: j,isFocused: k,@@ -39540,7 +39540,7 @@ function az({ state: e, props: t, listBoxRef: n }) {layout: t.layout || "stack",orientation: a,state: s- }, ee = SL({+ }, ee = xL({...t,children: void 0,defaultClassName: "react-aria-ListBox",@@ -39550,8 +39550,8 @@ function az({ state: e, props: t, listBoxRef: n }) {role: "option",style: { display: "contents" }}, t.renderEmptyState(M)));- let te = Uw(t, { global: !0 });- return /*#__PURE__*/ F.createElement(pT, null, /*#__PURE__*/ F.createElement(OL.div, {+ let te = Hw(t, { global: !0 });+ return /*#__PURE__*/ F.createElement(fT, null, /*#__PURE__*/ F.createElement(DL.div, {...K(te, ee, x, O, w?.collectionProps),ref: n,slot: t.slot || void 0,@@ -39562,60 +39562,60 @@ function az({ state: e, props: t, listBoxRef: n }) {"data-focus-visible": A || void 0,"data-layout": t.layout || "stack","data-orientation": a- }, /*#__PURE__*/ F.createElement(xL, { values: [- [rz, t],- [iz, s],- [LR, {+ }, /*#__PURE__*/ F.createElement(bL, { values: [+ [nz, t],+ [rz, s],+ [IR, {dragAndDropHooks: r,dragState: S,dropState: C}],- [WR, { elementType: "div" }],- [RR, { render: cme }],- [jL, {+ [UR, { elementType: "div" }],+ [LR, { render: lme }],+ [AL, {name: "ListBoxSection",- render: ome+ render: sme}]- ] }, /*#__PURE__*/ F.createElement(HR, null, /*#__PURE__*/ F.createElement(y, {+ ] }, /*#__PURE__*/ F.createElement(VR, null, /*#__PURE__*/ F.createElement(y, {collection: c,scrollRef: n,- persistedKeys: BR(l, r, C),- renderDropIndicator: zR(r, C)+ persistedKeys: zR(l, r, C),+ renderDropIndicator: RR(r, C)}))), N, E));}-function ome(e, t, n, r = "react-aria-ListBoxSection") {- let i = (0, F.useContext)(iz), { dragAndDropHooks: a, dropState: o } = (0, F.useContext)(LR), { CollectionBranch: s } = (0, F.useContext)(PL), [c, l] = TL(), { headingProps: u, groupProps: d } = Gse({+function sme(e, t, n, r = "react-aria-ListBoxSection") {+ let i = (0, F.useContext)(rz), { dragAndDropHooks: a, dropState: o } = (0, F.useContext)(IR), { CollectionBranch: s } = (0, F.useContext)(NL), [c, l] = wL(), { headingProps: u, groupProps: d } = Kse({heading: l,"aria-label": e["aria-label"] ?? void 0- }), f = SL({+ }), f = xL({...e,id: void 0,children: void 0,defaultClassName: r,values: void 0- }), p = Uw(e, { global: !0 });- return delete p.id, /*#__PURE__*/ F.createElement(OL.section, {+ }), p = Hw(e, { global: !0 });+ return delete p.id, /*#__PURE__*/ F.createElement(DL.section, {...K(p, f, d),ref: t- }, /*#__PURE__*/ F.createElement(VR.Provider, { value: {+ }, /*#__PURE__*/ F.createElement(BR.Provider, { value: {...u,ref: c} }, /*#__PURE__*/ F.createElement(s, {collection: i.collection,parent: n,- renderDropIndicator: zR(a, o)+ renderDropIndicator: RR(a, o)})));}-var sme = /*#__PURE__*/ lw(hS, function(e, t, n) {- let r = XC(t), i = (0, F.useContext)(iz), { dragAndDropHooks: a, dragState: o, dropState: s } = (0, F.useContext)(LR), c = o && !(o.isDisabled || o.selectionManager.isDisabled(n.key)), { optionProps: l, labelProps: u, descriptionProps: d, ...f } = Kse({+var cme = /*#__PURE__*/ cw(mS, function(e, t, n) {+ let r = YC(t), i = (0, F.useContext)(rz), { dragAndDropHooks: a, dragState: o, dropState: s } = (0, F.useContext)(IR), c = o && !(o.isDisabled || o.selectionManager.isDisabled(n.key)), { optionProps: l, labelProps: u, descriptionProps: d, ...f } = qse({key: n.key,"aria-label": e?.["aria-label"]- }, i, r), { hoverProps: p, isHovered: m } = ND({+ }, i, r), { hoverProps: p, isHovered: m } = MD({isDisabled: !f.allowsSelection && !f.hasAction && !c,onHoverStart: n.props.onHoverStart,onHoverChange: n.props.onHoverChange,onHoverEnd: n.props.onHoverEnd- }), { keyboardProps: h } = YC(e), { focusProps: g } = GC(e), _ = null;+ }), { keyboardProps: h } = JC(e), { focusProps: g } = WC(e), _ = null;o && a && (_ = a.useDraggableItem({key: n.key,hasAction: f.hasAction@@ -39626,7 +39626,7 @@ var sme = /*#__PURE__*/ lw(hS, function(e, t, n) {key: n.key,dropPosition: "on"} }, s, r));- let y = o && o.isDragging(n.key), b = SL({+ let y = o && o.isDragging(n.key), b = xL({...e,id: void 0,children: e.children,@@ -39644,7 +39644,7 @@ var sme = /*#__PURE__*/ lw(hS, function(e, t, n) {(0, F.useEffect)(() => {n.textValue;}, [n.textValue]);- let x = e.href ? OL.a : OL.div, S = Uw(e, { global: !0 });+ let x = e.href ? DL.a : DL.div, S = Hw(e, { global: !0 });return delete S.id, delete S.onClick, e.href && l.tabIndex == null && (l.tabIndex = -1), /*#__PURE__*/ F.createElement(x, {...K(S, b, l, p, h, g, _?.dragProps, v?.dropProps),ref: r,@@ -39658,29 +39658,29 @@ var sme = /*#__PURE__*/ lw(hS, 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__*/ F.createElement(xL, { values: [[HL, { slots: {- [bL]: u,+ }, /*#__PURE__*/ F.createElement(bL, { values: [[VL, { slots: {+ [yL]: u,label: u,description: d- } }], [UR, { isSelected: f.isSelected }]] }, b.children));+ } }], [HR, { isSelected: f.isSelected }]] }, b.children));});-function cme(e, t) {- t = XC(t);- let { dragAndDropHooks: n, dropState: r } = (0, F.useContext)(LR), { dropIndicatorProps: i, isHidden: a, isDropTarget: o } = n.useDropIndicator(e, r, t);- return a ? null : /*#__PURE__*/ F.createElement(ume, {+function lme(e, t) {+ t = YC(t);+ let { dragAndDropHooks: n, dropState: r } = (0, F.useContext)(IR), { dropIndicatorProps: i, isHidden: a, isDropTarget: o } = n.useDropIndicator(e, r, t);+ return a ? null : /*#__PURE__*/ F.createElement(dme, {...e,dropIndicatorProps: i,isDropTarget: o,ref: t});}-function lme(e, t) {- let { dropIndicatorProps: n, isDropTarget: r, ...i } = e, a = SL({+function ume(e, t) {+ let { dropIndicatorProps: n, isDropTarget: r, ...i } = e, a = xL({...i,defaultClassName: "react-aria-DropIndicator",values: { isDropTarget: r }});- return /*#__PURE__*/ F.createElement(F.Fragment, null, /*#__PURE__*/ F.createElement(OL.div, {+ return /*#__PURE__*/ F.createElement(F.Fragment, null, /*#__PURE__*/ F.createElement(DL.div, {...n,...a,role: "option",@@ -39688,10 +39688,10 @@ function lme(e, t) {"data-drop-target": r || void 0}));}-var ume = /*#__PURE__*/ (0, F.forwardRef)(lme);-lw(mS, function(e, t, n) {- let r = (0, F.useContext)(iz), { isLoading: i, onLoadMore: a, scrollOffset: o, ...s } = e, c = (0, F.useRef)(null);- nz((0, F.useMemo)(() => ({+var dme = /*#__PURE__*/ (0, F.forwardRef)(ume);+cw(pS, function(e, t, n) {+ let r = (0, F.useContext)(rz), { isLoading: i, onLoadMore: a, scrollOffset: o, ...s } = e, c = (0, F.useRef)(null);+ tz((0, F.useMemo)(() => ({onLoadMore: a,collection: r?.collection,sentinelRef: c,@@ -39701,7 +39701,7 @@ lw(mS, function(e, t, n) {o,r?.collection]), c);- let l = SL({+ let l = xL({...s,id: void 0,children: n.rendered,@@ -39714,7 +39714,7 @@ lw(mS, function(e, t, n) {width: 0,height: 0},- inert: GR(!0)+ inert: WR(!0)}, /*#__PURE__*/ F.createElement("div", {"data-testid": "loadMoreSentinel",ref: c,@@ -39723,18 +39723,18 @@ lw(mS, function(e, t, n) {height: 1,width: 1}- })), i && l.children && /*#__PURE__*/ F.createElement(F.Fragment, null, /*#__PURE__*/ F.createElement(OL.div, {- ...K(Uw(e, { global: !0 }), { tabIndex: -1 }),+ })), i && l.children && /*#__PURE__*/ F.createElement(F.Fragment, null, /*#__PURE__*/ F.createElement(DL.div, {+ ...K(Hw(e, { global: !0 }), { tabIndex: -1 }),...l,role: "option",ref: t}, l.children)));});// node_modules/react-aria-components/dist/private/OverlayArrow.mjs-var dme = /*#__PURE__*/ (0, F.createContext)({ placement: "bottom" });+var fme = /*#__PURE__*/ (0, F.createContext)({ placement: "bottom" });// node_modules/react-stately/dist/private/overlays/useOverlayTriggerState.mjs-function oz(e) {- let [t, n] = tE(e.isOpen, e.defaultOpen || !1, e.onOpenChange), [r, i] = (0, F.useState)(null);+function az(e) {+ let [t, n] = eE(e.isOpen, e.defaultOpen || !1, e.onOpenChange), [r, i] = (0, F.useState)(null);return {isOpen: t,setOpen: n,@@ -39752,15 +39752,15 @@ function oz(e) {};}// node_modules/react-aria/dist/private/utils/animation.mjs-function sz(e, t = !0, n) {+function oz(e, t = !0, n) {let [r, i] = (0, F.useState)(!0), a = r && t;- return RS(() => {- if (!t && e.current) return FC(DS(e.current, "opacity", "0"), DS(e.current, "clip", "rect(0 0 0 0)"), DS(e.current, "clip-path", "inset(50%)"), DS(e.current, "mask-image", "linear-gradient(#0000, #0000)"));- }, [e, t]), RS(() => {+ return LS(() => {+ if (!t && e.current) return PC(ES(e.current, "opacity", "0"), ES(e.current, "clip", "rect(0 0 0 0)"), ES(e.current, "clip-path", "inset(50%)"), ES(e.current, "mask-image", "linear-gradient(#0000, #0000)"));+ }, [e, t]), LS(() => {if (a && e.current && "getAnimations" in e.current) for (let t of e.current.getAnimations()) t instanceof CSSTransition && t.cancel();- }, [e, a]), lz(e, a, n, (0, F.useCallback)(() => i(!1), [])), a;+ }, [e, a]), cz(e, a, n, (0, F.useCallback)(() => i(!1), [])), a;}-function cz(e, t, n) {+function sz(e, t, n) {let [r, i] = (0, F.useState)(t ? "open" : "closed");switch (r) {case "open":@@ -39770,13 +39770,13 @@ function cz(e, t, n) {case "exiting": t && i("open");}let a = r === "exiting";- return lz(e, a, n, (0, F.useCallback)(() => {+ return cz(e, a, n, (0, F.useCallback)(() => {i((e) => e === "exiting" ? "closed" : e);}, [])), a;}-function lz(e, t, n, r) {- let i = (0, F.useRef)(null), a = Dw(n);- RS(() => {+function cz(e, t, n, r) {+ let i = (0, F.useRef)(null), a = Ew(n);+ LS(() => {if (t && e.current && i.current !== t) {if (i.current = t, !("getAnimations" in e.current)) {r();@@ -39801,9 +39801,9 @@ function lz(e, t, n, r) {]);}// node_modules/react-aria-components/dist/private/Popover.mjs-var uz = /*#__PURE__*/ (0, F.createContext)(null), dz = /*#__PURE__*/ (0, F.createContext)(null), fz = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {- [e, t] = wL(e, t, uz);- let n = (0, F.useContext)(wz), r = oz(e), i = e.isOpen != null || e.defaultOpen != null || !n ? r : n, a = cz(t, i.isOpen), o = e.isExiting || !e.shouldSkipAnimation && a || !1, s = nw(), { direction: c } = Fw();+var lz = /*#__PURE__*/ (0, F.createContext)(null), uz = /*#__PURE__*/ (0, F.createContext)(null), dz = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {+ [e, t] = CL(e, t, lz);+ let n = (0, F.useContext)(Cz), r = az(e), i = e.isOpen != null || e.defaultOpen != null || !n ? r : n, a = sz(t, i.isOpen), o = e.isExiting || !e.shouldSkipAnimation && a || !1, s = tw(), { direction: c } = Pw();if (s) {let t = e.children;return typeof t == "function" && (t = t({@@ -39814,7 +39814,7 @@ var uz = /*#__PURE__*/ (0, F.createContext)(null), dz = /*#__PURE__*/ (0, F.creadefaultChildren: null})), /*#__PURE__*/ F.createElement(F.Fragment, null, t);}- return i && !i.isOpen && !o ? null : /*#__PURE__*/ F.createElement(fme, {+ return i && !i.isOpen && !o ? null : /*#__PURE__*/ F.createElement(pme, {...e,triggerRef: e.triggerRef,state: i,@@ -39823,13 +39823,13 @@ var uz = /*#__PURE__*/ (0, F.createContext)(null), dz = /*#__PURE__*/ (0, F.creadir: c});});-function fme({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContexts: r, ...i }) {- let a = (0, F.useRef)(null), o = (0, F.useRef)(null), s = (0, F.useContext)(dz), c = s && i.trigger === "SubmenuTrigger", [l, u] = (0, F.useState)(!1), { popoverProps: d, underlayProps: f, arrowProps: p, placement: m, triggerAnchorPoint: h } = vce({+function pme({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContexts: r, ...i }) {+ let a = (0, F.useRef)(null), o = (0, F.useRef)(null), s = (0, F.useContext)(uz), c = s && i.trigger === "SubmenuTrigger", [l, u] = (0, F.useState)(!1), { popoverProps: d, underlayProps: f, arrowProps: p, placement: m, triggerAnchorPoint: h } = yce({...i,offset: i.offset ?? 8,arrowRef: a,groupRef: c ? s : o- }, e), g = i.popoverRef, _ = sz(g, !!m && l), v = i.isEntering || !i.shouldSkipAnimation && _ || !1, y = SL({+ }, e), g = i.popoverRef, _ = oz(g, !!m && l), v = i.isEntering || !i.shouldSkipAnimation && _ || !1, y = xL({...i,defaultClassName: "react-aria-Popover",values: {@@ -39839,10 +39839,10 @@ function fme({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContextisExiting: t}}), b = !i.isNonModal || i.trigger === "SubmenuTrigger" || i.trigger === "PreviewTrigger", [x, S] = (0, F.useState)(i.trigger === "PreviewTrigger");- RS(() => {+ LS(() => {g.current && S(b && !g.current.querySelector("[role=dialog]"));}, [g, b]), (0, F.useEffect)(() => {- x && i.trigger !== "PreviewTrigger" && (i.trigger !== "SubmenuTrigger" || CC() !== "pointer") && g.current && !MS(g.current) && PC(g.current);+ x && i.trigger !== "PreviewTrigger" && (i.trigger !== "SubmenuTrigger" || SC() !== "pointer") && g.current && !jS(g.current) && NC(g.current);}, [x,g,@@ -39850,12 +39850,12 @@ function fme({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContext]);let C = (0, F.useMemo)(() => {let e = y.children;- for (let t of [uz, ...r ?? []]) e = /*#__PURE__*/ F.createElement(t.Provider, { value: null }, e);+ for (let t of [lz, ...r ?? []]) e = /*#__PURE__*/ F.createElement(t.Provider, { value: null }, e);return e;}, [y.children, r]), [w, T] = (0, F.useState)(null), E = (0, F.useCallback)(() => {i.triggerRef.current && T(i.triggerRef.current.getBoundingClientRect().width + "px");}, [i.triggerRef]);- RS(E, [E]), jO({+ LS(E, [E]), AO({ref: y.style?.["--trigger-width"] ? void 0 : i.triggerRef,onResize: E});@@ -39865,9 +39865,9 @@ function fme({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContext...y.style,"--trigger-width": y.style?.["--trigger-width"] || w};- RS(() => bk(() => u(!0)), []);- let O = /*#__PURE__*/ F.createElement(OL.div, {- ...K(Uw(i, { global: !0 }), d),+ LS(() => yk(() => u(!0)), []);+ let O = /*#__PURE__*/ F.createElement(DL.div, {+ ...K(Hw(i, { global: !0 }), d),...y,id: x ? i.id : void 0,role: x ? "dialog" : void 0,@@ -39882,17 +39882,17 @@ function fme({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContext"data-placement": m,"data-entering": v || void 0,"data-exiting": t || void 0- }, !i.isNonModal && /*#__PURE__*/ F.createElement(pk, { onDismiss: e.close }), /*#__PURE__*/ F.createElement(dme.Provider, { value: {+ }, !i.isNonModal && /*#__PURE__*/ F.createElement(fk, { onDismiss: e.close }), /*#__PURE__*/ F.createElement(fme.Provider, { value: {...p,placement: m,ref: a- } }, C), /*#__PURE__*/ F.createElement(pk, { onDismiss: e.close }));- return c ? /*#__PURE__*/ F.createElement(DD, {+ } }, C), /*#__PURE__*/ F.createElement(fk, { onDismiss: e.close }));+ return c ? /*#__PURE__*/ F.createElement(ED, {...i,shouldContainFocus: x && i.trigger !== "PreviewTrigger",isExiting: t,portalContainer: n ?? s?.current ?? void 0- }, O) : /*#__PURE__*/ F.createElement(DD, {+ }, O) : /*#__PURE__*/ F.createElement(ED, {...i,shouldContainFocus: x && i.trigger !== "PreviewTrigger",isExiting: t,@@ -39907,13 +39907,13 @@ function fme({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContext}), /*#__PURE__*/ F.createElement("div", {ref: o,style: { display: "contents" }- }, /*#__PURE__*/ F.createElement(dz.Provider, { value: o }, O)));+ }, /*#__PURE__*/ F.createElement(uz.Provider, { value: o }, O)));}// node_modules/react-aria-components/dist/private/Keyboard.mjs-var pme = /*#__PURE__*/ (0, F.createContext)({});+var mme = /*#__PURE__*/ (0, F.createContext)({});// node_modules/react-stately/dist/private/menu/useMenuTriggerState.mjs-function pz(e) {- let t = oz(e), [n, r] = (0, F.useState)(null), [i, a] = (0, F.useState)([]), o = () => {+function fz(e) {+ let t = az(e), [n, r] = (0, F.useState)(null), [i, a] = (0, F.useState)([]), o = () => {a([]), t.close();}, s = (e, t) => {a((n) => t > n.length ? n : [...n.slice(0, t), e]);@@ -39938,7 +39938,7 @@ function pz(e) {};}// node_modules/react-stately/dist/private/tree/TreeCollection.mjs-var mme = class {+var hme = class {constructor(e, { expandedKeys: t } = {}) {this.keyMap = /* @__PURE__ */ new Map(), this.firstKey = null, this.lastKey = null, this.iterable = e, t ||= /* @__PURE__ */ new Set();let n = (e) => {@@ -39981,8 +39981,8 @@ var mme = class {}};// node_modules/react-stately/dist/private/tree/useTreeState.mjs-function mz(e) {- let { onExpandedChange: t } = e, [n, r] = tE(e.expandedKeys ? new Set(e.expandedKeys) : void 0, e.defaultExpandedKeys ? new Set(e.defaultExpandedKeys) : /* @__PURE__ */ new Set(), t), i = JR(e), a = (0, F.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), o = $R(e, (0, F.useCallback)((e) => new mme(e, { expandedKeys: n }), [n]), null);+function pz(e) {+ let { onExpandedChange: t } = e, [n, r] = eE(e.expandedKeys ? new Set(e.expandedKeys) : void 0, e.defaultExpandedKeys ? new Set(e.defaultExpandedKeys) : /* @__PURE__ */ new Set(), t), i = qR(e), a = (0, F.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), o = QR(e, (0, F.useCallback)((e) => new hme(e, { expandedKeys: n }), [n]), null);return (0, F.useEffect)(() => {i.focusedKey != null && !o.getItem(i.focusedKey) && i.setFocusedKey(null);}, [o, i.focusedKey]), {@@ -39990,31 +39990,31 @@ function mz(e) {expandedKeys: n,disabledKeys: a,toggleKey: (e) => {- r(hme(n, e));+ r(gme(n, e));},setExpandedKeys: r,- selectionManager: new XR(o, i)+ selectionManager: new YR(o, i)};}-function hme(e, t) {+function gme(e, t) {let n = new Set(e);return n.has(t) ? n.delete(t) : n.add(t), n;}// node_modules/react-aria-components/dist/private/Menu.mjs-var hz = /*#__PURE__*/ (0, F.createContext)(null), gz = /*#__PURE__*/ (0, F.createContext)(null), _z = /*#__PURE__*/ (0, F.createContext)(null), vz = /*#__PURE__*/ (0, F.createContext)(null);-function gme(e) {- let t = pz(e), n = (0, F.useRef)(null), { menuTriggerProps: r, menuProps: i } = cD({+var mz = /*#__PURE__*/ (0, F.createContext)(null), hz = /*#__PURE__*/ (0, F.createContext)(null), gz = /*#__PURE__*/ (0, F.createContext)(null), _z = /*#__PURE__*/ (0, F.createContext)(null);+function _me(e) {+ let t = fz(e), n = (0, F.useRef)(null), { menuTriggerProps: r, menuProps: i } = sD({...e,type: "menu"}, t, n), a = (0, F.useRef)(null);- return nw() ? null : /*#__PURE__*/ F.createElement(xL, { values: [- [hz, {+ return tw() ? null : /*#__PURE__*/ F.createElement(bL, { values: [+ [mz, {...i,ref: a}],- [wz, t],- [_z, t],- [uz, {+ [Cz, t],+ [gz, t],+ [lz, {trigger: "MenuTrigger",triggerRef: n,scrollRef: a,@@ -40022,14 +40022,14 @@ function gme(e) {"aria-labelledby": i["aria-labelledby"],offset: e.trigger === "contextMenu" ? 0 : void 0}]- ] }, /*#__PURE__*/ F.createElement(kse, {+ ] }, /*#__PURE__*/ F.createElement(Ase, {...r,ref: n,isPressed: t.isOpen}, e.children));}-var _me = /*#__PURE__*/ (0, F.createContext)(null);-(class extends fS {+var vme = /*#__PURE__*/ (0, F.createContext)(null);+(class extends dS {static {this.type = "submenutrigger";}@@ -40042,24 +40042,24 @@ var _me = /*#__PURE__*/ (0, F.createContext)(null);return null;}});-var vme = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {- return [e, t] = wL(e, t, hz), /*#__PURE__*/ F.createElement(ow, { content: /*#__PURE__*/ F.createElement(pw, e) }, (n) => /*#__PURE__*/ F.createElement(yme, {+var yme = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {+ return [e, t] = CL(e, t, mz), /*#__PURE__*/ F.createElement(aw, { content: /*#__PURE__*/ F.createElement(fw, e) }, (n) => /*#__PURE__*/ F.createElement(bme, {props: e,collection: n,menuRef: t}));});-function yme({ props: e, collection: t, menuRef: n }) {- [e, n] = wL(e, n, kL);- let { filter: r, ...i } = e, a = (0, F.useMemo)(() => r ? t.filter(r) : t, [t, r]), o = mz({+function bme({ props: e, collection: t, menuRef: n }) {+ [e, n] = CL(e, n, OL);+ let { filter: r, ...i } = e, a = (0, F.useMemo)(() => r ? t.filter(r) : t, [t, r]), o = pz({...e,collection: a,children: void 0- }), s = (0, F.useContext)(_z), { isVirtualized: c, CollectionRoot: l } = (0, F.useContext)(PL), { menuProps: u } = qse({+ }), s = (0, F.useContext)(gz), { isVirtualized: c, CollectionRoot: l } = (0, F.useContext)(NL), { menuProps: u } = Jse({...e,isVirtualized: c,onClose: e.onClose || s?.close- }, o, n), d = SL({+ }, o, n), d = xL({...e,children: void 0,defaultClassName: "react-aria-Menu",@@ -40069,36 +40069,36 @@ function yme({ props: e, collection: t, menuRef: n }) {role: "menuitem",style: { display: "contents" }}, e.renderEmptyState()));- let p = Uw(e, { global: !0 });- return /*#__PURE__*/ F.createElement(pT, null, /*#__PURE__*/ F.createElement(OL.div, {+ let p = Hw(e, { global: !0 });+ return /*#__PURE__*/ F.createElement(fT, null, /*#__PURE__*/ F.createElement(DL.div, {...K(p, d, u),ref: n,slot: e.slot || void 0,"data-empty": o.collection.size === 0 || void 0,onScroll: e.onScroll- }, /*#__PURE__*/ F.createElement(xL, { values: [- [gz, o],- [WR, { elementType: "div" }],- [jL, {+ }, /*#__PURE__*/ F.createElement(bL, { values: [+ [hz, o],+ [UR, { elementType: "div" }],+ [AL, {name: "MenuSection",- render: yz+ render: vz}],- [_me, {+ [vme, {parentMenuRef: n,shouldUseVirtualFocus: i?.shouldUseVirtualFocus}],- [xz, { shouldCloseOnSelect: e.shouldCloseOnSelect }],+ [bz, { shouldCloseOnSelect: e.shouldCloseOnSelect }],+ [OL, null],[kL, null],- [AL, null],- [vz, o.selectionManager],- [_z, s ?? pz({})]- ] }, /*#__PURE__*/ F.createElement(HR, null, /*#__PURE__*/ F.createElement(l, {+ [_z, o.selectionManager],+ [gz, s ?? fz({})]+ ] }, /*#__PURE__*/ F.createElement(VR, null, /*#__PURE__*/ F.createElement(l, {collection: o.collection,- persistedKeys: FL(o.selectionManager.focusedKey),+ persistedKeys: PL(o.selectionManager.focusedKey),scrollRef: n}))), f));}-var bme = class extends XR {+var xme = class extends YR {constructor(e, t) {super(e.collection, t), this.parent = e;}@@ -40118,11 +40118,11 @@ var bme = class extends XR {return this.parent.childFocusStrategy;}};-function yz(e, t, n, r = "react-aria-MenuSection") {- let i = (0, F.useContext)(gz), { CollectionBranch: a } = (0, F.useContext)(PL), [o, s] = TL(), { headingProps: c, groupProps: l } = Yse({+function vz(e, t, n, r = "react-aria-MenuSection") {+ let i = (0, F.useContext)(hz), { CollectionBranch: a } = (0, F.useContext)(NL), [o, s] = wL(), { headingProps: c, groupProps: l } = Xse({heading: s,"aria-label": n.props["aria-label"] ?? void 0- }), u = SL({+ }), u = xL({...e,id: void 0,children: void 0,@@ -40130,31 +40130,31 @@ function yz(e, t, n, r = "react-aria-MenuSection") {className: n.props?.className,style: n.props?.style,values: void 0- }), d = (0, F.useContext)(vz), f = JR(e), p = e.selectionMode == null ? d : new bme(d, f), m = CL(xz)?.shouldCloseOnSelect, h = Uw(e, { global: !0 });- return delete h.id, /*#__PURE__*/ F.createElement(OL.section, {+ }), d = (0, F.useContext)(_z), f = qR(e), p = e.selectionMode == null ? d : new xme(d, f), m = SL(bz)?.shouldCloseOnSelect, h = Hw(e, { global: !0 });+ return delete h.id, /*#__PURE__*/ F.createElement(DL.section, {...K(h, u, l),ref: t- }, /*#__PURE__*/ F.createElement(xL, { values: [- [VR, {+ }, /*#__PURE__*/ F.createElement(bL, { values: [+ [BR, {...c,ref: o}],- [vz, p],- [xz, { shouldCloseOnSelect: e.shouldCloseOnSelect ?? m }]+ [_z, p],+ [bz, { shouldCloseOnSelect: e.shouldCloseOnSelect ?? m }]] }, /*#__PURE__*/ F.createElement(a, {collection: i.collection,parent: n})));}-var bz = /*#__PURE__*/ uw(cae, yz), xz = /*#__PURE__*/ (0, F.createContext)(null), Sz = /*#__PURE__*/ lw(hS, function(e, t, n) {- [e, t] = wL(e, t, xz);- let r = CL(xz)?.id, i = (0, F.useContext)(gz), a = XC(t), o = (0, F.useContext)(vz), { isVirtualized: s } = (0, F.useContext)(PL), { menuItemProps: c, labelProps: l, descriptionProps: u, keyboardShortcutProps: d, ...f } = Jse({+var yz = /*#__PURE__*/ lw(lae, vz), bz = /*#__PURE__*/ (0, F.createContext)(null), xz = /*#__PURE__*/ cw(mS, function(e, t, n) {+ [e, t] = CL(e, t, bz);+ let r = SL(bz)?.id, i = (0, F.useContext)(hz), a = YC(t), o = (0, F.useContext)(_z), { isVirtualized: s } = (0, F.useContext)(NL), { menuItemProps: c, labelProps: l, descriptionProps: u, keyboardShortcutProps: d, ...f } = Yse({...e,id: r,key: n.key,selectionManager: o,isVirtualized: s- }, i, a), { hoverProps: p, isHovered: m } = ND({ isDisabled: f.isDisabled }), h = SL({+ }, i, a), { hoverProps: p, isHovered: m } = MD({ isDisabled: f.isDisabled }), h = xL({...e,id: void 0,children: n.rendered,@@ -40168,7 +40168,7 @@ var bz = /*#__PURE__*/ uw(cae, yz), xz = /*#__PURE__*/ (0, F.createContext)(nullhasSubmenu: !!e["aria-haspopup"],isOpen: e["aria-expanded"] === "true"}- }), g = e.href ? OL.a : OL.div, _ = Uw(e, { global: !0 });+ }), g = e.href ? DL.a : DL.div, _ = Hw(e, { global: !0 });return delete _.id, delete _.onClick, /*#__PURE__*/ F.createElement(g, {...K(_, h, c, p),ref: a,@@ -40181,19 +40181,19 @@ var bz = /*#__PURE__*/ uw(cae, yz), xz = /*#__PURE__*/ (0, F.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__*/ F.createElement(xL, { values: [- [HL, { slots: {- [bL]: l,+ }, /*#__PURE__*/ F.createElement(bL, { values: [+ [VL, { slots: {+ [yL]: l,label: l,description: u} }],- [pme, d],- [UR, { isSelected: f.isSelected }]+ [mme, d],+ [HR, { isSelected: f.isSelected }]] }, h.children));});-lw(mS, function(e, t, n) {- let r = (0, F.useContext)(gz), { isLoading: i, onLoadMore: a, scrollOffset: o, ...s } = e, c = (0, F.useRef)(null);- nz((0, F.useMemo)(() => ({+cw(pS, function(e, t, n) {+ let r = (0, F.useContext)(hz), { isLoading: i, onLoadMore: a, scrollOffset: o, ...s } = e, c = (0, F.useRef)(null);+ tz((0, F.useMemo)(() => ({onLoadMore: a,collection: r?.collection,sentinelRef: c,@@ -40203,7 +40203,7 @@ lw(mS, function(e, t, n) {o,r?.collection]), c);- let l = SL({+ let l = xL({...s,id: void 0,children: n.rendered,@@ -40216,7 +40216,7 @@ lw(mS, function(e, t, n) {width: 0,height: 0},- inert: GR(!0)+ inert: WR(!0)}, /*#__PURE__*/ F.createElement("div", {"data-testid": "loadMoreSentinel",ref: c,@@ -40225,89 +40225,89 @@ lw(mS, function(e, t, n) {height: 1,width: 1}- })), i && l.children && /*#__PURE__*/ F.createElement(F.Fragment, null, /*#__PURE__*/ F.createElement(OL.div, {- ...K(Uw(e, { global: !0 }), { tabIndex: -1 }),+ })), i && l.children && /*#__PURE__*/ F.createElement(F.Fragment, null, /*#__PURE__*/ F.createElement(DL.div, {+ ...K(Hw(e, { global: !0 }), { tabIndex: -1 }),...l,role: "menuitem",ref: t}, l.children)));});// node_modules/react-aria-components/dist/private/Dialog.mjs-var Cz = /*#__PURE__*/ (0, F.createContext)(null), wz = /*#__PURE__*/ (0, F.createContext)(null), Tz = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {+var Sz = /*#__PURE__*/ (0, F.createContext)(null), Cz = /*#__PURE__*/ (0, F.createContext)(null), wz = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {let n = e["aria-labelledby"];- [e, t] = wL(e, t, Cz);- let { dialogProps: r, titleProps: i, contentProps: a } = jse({+ [e, t] = CL(e, t, Sz);+ let { dialogProps: r, titleProps: i, contentProps: a } = Mse({...e,"aria-labelledby": n- }, t), o = (0, F.useContext)(wz);+ }, t), o = (0, F.useContext)(Cz);!r["aria-label"] && !r["aria-labelledby"] && e["aria-labelledby"] && (r["aria-labelledby"] = e["aria-labelledby"]);- let s = SL({+ let s = xL({defaultClassName: "react-aria-Dialog",className: e.className,style: e.style,children: e.children,values: { close: o?.close || (() => {}) }- }), c = Uw(e, { global: !0 });- return /*#__PURE__*/ F.createElement(OL.section, {+ }), c = Hw(e, { global: !0 });+ return /*#__PURE__*/ F.createElement(DL.section, {...K(c, s, r),render: e.render,ref: t,slot: e.slot || void 0- }, /*#__PURE__*/ F.createElement(xL, { values: [- [BL, { slots: {- [bL]: {},+ }, /*#__PURE__*/ F.createElement(bL, { values: [+ [zL, { slots: {+ [yL]: {},title: {...i,level: 2}} }],- [HL, { slots: {- [bL]: {},+ [VL, { slots: {+ [yL]: {},description: a} }],- [RL, { slots: {- [bL]: {},+ [LL, { slots: {+ [yL]: {},close: { onPress: () => o?.close() }} }]] }, s.children));-}), Ez = typeof document < "u" && window.visualViewport;-function xme() {- let e = sC(), t = (0, F.useRef)(null), [n, r] = (0, F.useState)(() => e ? {+}), Tz = typeof document < "u" && window.visualViewport;+function Sme() {+ let e = oC(), t = (0, F.useRef)(null), [n, r] = (0, F.useState)(() => e ? {width: 0,height: 0- } : Dz());+ } : Ez());return (0, F.useEffect)(() => {let e = (e) => {r((t) => e.width === t.width && e.height === t.height ? t : e);}, n = () => {- Ez && Ez.scale > 1 || e(Dz());+ Tz && Tz.scale > 1 || e(Ez());}, i = (n) => {- Ez && Ez.scale > 1 || ww(G(n)) && (t.current = bk((t) => {+ Tz && Tz.scale > 1 || Cw(G(n)) && (t.current = yk((t) => {t || e({width: document.documentElement.clientWidth,height: document.documentElement.clientHeight});}));};- return e(Dz()), JS() && YS() && window.addEventListener("blur", i, !0), Ez ? Ez.addEventListener("resize", n) : window.addEventListener("resize", n), () => {- t.current?.(), JS() && YS() && window.removeEventListener("blur", i, !0), Ez ? Ez.removeEventListener("resize", n) : window.removeEventListener("resize", n);+ return e(Ez()), qS() && JS() && window.addEventListener("blur", i, !0), Tz ? Tz.addEventListener("resize", n) : window.addEventListener("resize", n), () => {+ t.current?.(), qS() && JS() && window.removeEventListener("blur", i, !0), Tz ? Tz.removeEventListener("resize", n) : window.removeEventListener("resize", n);};}, []), n;}-function Dz() {+function Ez() {return {- width: Ez ? Math.min(Ez.width * Ez.scale, document.documentElement.clientWidth) : document.documentElement.clientWidth,- height: Ez ? Ez.height * Ez.scale : document.documentElement.clientHeight+ width: Tz ? Math.min(Tz.width * Tz.scale, document.documentElement.clientWidth) : document.documentElement.clientWidth,+ height: Tz ? Tz.height * Tz.scale : document.documentElement.clientHeight};}// node_modules/react-aria-components/dist/private/Modal.mjs-var Sme = /*#__PURE__*/ (0, F.createContext)(null), Oz = /*#__PURE__*/ (0, F.createContext)(null), Cme = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {- if ((0, F.useContext)(Oz)) return /*#__PURE__*/ F.createElement(Az, {+var Cme = /*#__PURE__*/ (0, F.createContext)(null), Dz = /*#__PURE__*/ (0, F.createContext)(null), wme = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {+ if ((0, F.useContext)(Dz)) return /*#__PURE__*/ F.createElement(kz, {...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__*/ F.createElement(kz, {+ return /*#__PURE__*/ F.createElement(Oz, {isDismissable: n,isKeyboardDismissDisabled: r,isOpen: i,@@ -40317,15 +40317,15 @@ var Sme = /*#__PURE__*/ (0, F.createContext)(null), Oz = /*#__PURE__*/ (0, F.creisExiting: l,UNSTABLE_portalContainer: u,shouldCloseOnInteractOutside: d- }, /*#__PURE__*/ F.createElement(Az, {+ }, /*#__PURE__*/ F.createElement(kz, {...f,modalRef: t}, s));});-function wme(e, t) {- [e, t] = wL(e, t, Sme);- let n = (0, F.useContext)(wz), r = oz(e), i = e.isOpen != null || e.defaultOpen != null || !n ? r : n, a = XC(t), o = (0, F.useRef)(null), s = cz(a, i.isOpen, e.onExit), c = (0, F.useRef)(null), l = cz(o, i.isOpen, (e) => c.current?.(e)), u = s || l || e.isExiting || !1, d = sC();- return !i.isOpen && !u || d ? null : /*#__PURE__*/ F.createElement(Tme, {+function Tme(e, t) {+ [e, t] = CL(e, t, Cme);+ let n = (0, F.useContext)(Cz), r = az(e), i = e.isOpen != null || e.defaultOpen != null || !n ? r : n, a = YC(t), o = (0, F.useRef)(null), s = sz(a, i.isOpen, e.onExit), c = (0, F.useRef)(null), l = sz(o, i.isOpen, (e) => c.current?.(e)), u = s || l || e.isExiting || !1, d = oC();+ return !i.isOpen && !u || d ? null : /*#__PURE__*/ F.createElement(Eme, {...e,state: i,isExiting: u,@@ -40334,12 +40334,12 @@ function wme(e, t) {onExitRef: c});}-var kz = /*#__PURE__*/ (0, F.forwardRef)(wme);-function Tme({ UNSTABLE_portalContainer: e, UNSTABLE_deferUntilEntered: t, ...n }) {- let r = n.modalRef, { state: i } = n, [a, o] = (0, F.useState)(!1), s = sz(n.overlayRef, a, n.onEnter) || n.isEntering || !1, c = !!t && (!a || s), { modalProps: l, underlayProps: u } = oce({+var Oz = /*#__PURE__*/ (0, F.forwardRef)(Tme);+function Eme({ UNSTABLE_portalContainer: e, UNSTABLE_deferUntilEntered: t, ...n }) {+ let r = n.modalRef, { state: i } = n, [a, o] = (0, F.useState)(!1), s = oz(n.overlayRef, a, n.onEnter) || n.isEntering || !1, c = !!t && (!a || s), { modalProps: l, underlayProps: u } = sce({...n,isEntering: c- }, i, r), d = (0, F.useContext)(Cz), f = t ? Eme(d, { isEntering: c }) : d, p = SL({+ }, i, r), d = (0, F.useContext)(Sz), f = t ? Dme(d, { isEntering: c }) : d, p = xL({...n,defaultClassName: "react-aria-ModalOverlay",values: {@@ -40347,9 +40347,9 @@ function Tme({ UNSTABLE_portalContainer: e, UNSTABLE_deferUntilEntered: t, ...nisExiting: n.isExiting,state: i}- }), m = xme(), h, g;+ }), m = Sme(), h, g;if (typeof document < "u") {- let e = MT(document.body) ? document.body : document.scrollingElement || document.documentElement, t = e.getBoundingClientRect().width % 1, n = e.getBoundingClientRect().height % 1;+ let e = jT(document.body) ? document.body : document.scrollingElement || document.documentElement, t = e.getBoundingClientRect().width % 1, n = e.getBoundingClientRect().height % 1;h = e.scrollWidth - t, g = e.scrollHeight - n;}let _ = {@@ -40359,18 +40359,18 @@ function Tme({ 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 RS(() => bk(() => o(!0)), []), /*#__PURE__*/ F.createElement(DD, {+ return LS(() => yk(() => o(!0)), []), /*#__PURE__*/ F.createElement(ED, {isExiting: n.isExiting,portalContainer: e- }, /*#__PURE__*/ F.createElement(OL.div, {- ...K(Uw(n, { global: !0 }), u),+ }, /*#__PURE__*/ F.createElement(DL.div, {+ ...K(Hw(n, { global: !0 }), u),...p,style: _,ref: n.overlayRef,"data-entering": s || void 0,"data-exiting": n.isExiting || void 0- }, /*#__PURE__*/ F.createElement(xL, { values: [- [Oz, {+ }, /*#__PURE__*/ F.createElement(bL, { values: [+ [Dz, {modalProps: l,modalRef: r,isExiting: n.isExiting,@@ -40378,11 +40378,11 @@ function Tme({ UNSTABLE_portalContainer: e, UNSTABLE_deferUntilEntered: t, ...nisOpen: a,isDismissable: n.isDismissable}],- [wz, i],- [Cz, f]+ [Cz, i],+ [Sz, f]] }, p.children)));}-function Eme(e, t) {+function Dme(e, t) {if (e && "slots" in e && e.slots) {let n = {};for (let r in e.slots) n[r] = {@@ -40399,8 +40399,8 @@ function Eme(e, t) {...t};}-function Az(e) {- let { modalProps: t, modalRef: n, isExiting: r, onExitRef: i, isDismissable: a, isOpen: o } = (0, F.useContext)(Oz), s = (0, F.useContext)(wz), c = XC((0, F.useMemo)(() => VC(e.modalRef, n), [e.modalRef, n])), l = sz(c, o, e.onEnter), u = SL({+function kz(e) {+ let { modalProps: t, modalRef: n, isExiting: r, onExitRef: i, isDismissable: a, isOpen: o } = (0, F.useContext)(Dz), s = (0, F.useContext)(Cz), c = YC((0, F.useMemo)(() => BC(e.modalRef, n), [e.modalRef, n])), l = oz(c, o, e.onEnter), u = xL({...e,defaultClassName: "react-aria-Modal",values: {@@ -40409,20 +40409,20 @@ function Az(e) {state: s}});- return RS(() => {+ return LS(() => {i && (i.current = e.onExit);- }), /*#__PURE__*/ F.createElement(OL.div, {- ...K(Uw(e, { global: !0 }), t),+ }), /*#__PURE__*/ F.createElement(DL.div, {+ ...K(Hw(e, { global: !0 }), t),...u,ref: c,"data-entering": l || void 0,"data-exiting": r || void 0- }, a && /*#__PURE__*/ F.createElement(pk, { onDismiss: s.close }), u.children);+ }, a && /*#__PURE__*/ F.createElement(fk, { onDismiss: s.close }), u.children);}// node_modules/react-stately/dist/private/radio/useRadioGroupState.mjs-var Dme = Math.round(Math.random() * 1e10), Ome = 0;-function kme(e) {- let t = (0, F.useMemo)(() => e.name || `radio-group-${Dme}-${++Ome}`, [e.name]), [n, r] = tE(e.value, e.defaultValue ?? null, e.onChange), [i] = (0, F.useState)(n), [a, o] = (0, F.useState)(null), s = KT({+var Ome = Math.round(Math.random() * 1e10), kme = 0;+function Ame(e) {+ let t = (0, F.useMemo)(() => e.name || `radio-group-${Ome}-${++kme}`, [e.name]), [n, r] = eE(e.value, e.defaultValue ?? null, e.onChange), [i] = (0, F.useState)(n), [a, o] = (0, F.useState)(null), s = GT({...e,value: n}), c = (t) => {@@ -40444,16 +40444,16 @@ function kme(e) {};}// node_modules/react-aria-components/dist/private/RadioGroup.mjs-var Ame = /*#__PURE__*/ (0, F.createContext)(null), jme = /*#__PURE__*/ (0, F.createContext)(null), jz = /*#__PURE__*/ (0, F.createContext)(null), Mz = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {- [e, t] = wL(e, t, Ame);- let { validationBehavior: n } = CL(WL) || {}, r = e.validationBehavior ?? n ?? "native", i = kme({+var jme = /*#__PURE__*/ (0, F.createContext)(null), Mme = /*#__PURE__*/ (0, F.createContext)(null), Az = /*#__PURE__*/ (0, F.createContext)(null), jz = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {+ [e, t] = CL(e, t, jme);+ let { validationBehavior: n } = SL(UL) || {}, r = e.validationBehavior ?? n ?? "native", i = Ame({...e,validationBehavior: r- }), [a, o] = TL(!e["aria-label"] && !e["aria-labelledby"]), { radioGroupProps: s, labelProps: c, descriptionProps: l, errorMessageProps: u, ...d } = bce({+ }), [a, o] = wL(!e["aria-label"] && !e["aria-labelledby"]), { radioGroupProps: s, labelProps: c, descriptionProps: l, errorMessageProps: u, ...d } = xce({...e,label: o,validationBehavior: r- }, i), f = SL({+ }, i), f = xL({...e,values: {orientation: e.orientation || "vertical",@@ -40464,8 +40464,8 @@ var Ame = /*#__PURE__*/ (0, F.createContext)(null), jme = /*#__PURE__*/ (0, F.crstate: i},defaultClassName: "react-aria-RadioGroup"- }), p = Uw(e, { global: !0 });- return /*#__PURE__*/ F.createElement(OL.div, {+ }), p = Hw(e, { global: !0 });+ return /*#__PURE__*/ F.createElement(DL.div, {...K(p, f, s),ref: t,slot: e.slot || void 0,@@ -40474,39 +40474,39 @@ var Ame = /*#__PURE__*/ (0, F.createContext)(null), jme = /*#__PURE__*/ (0, F.cr"data-disabled": i.isDisabled || void 0,"data-readonly": i.isReadOnly || void 0,"data-required": i.isRequired || void 0- }, /*#__PURE__*/ F.createElement(xL, { values: [- [jz, i],- [IL, {+ }, /*#__PURE__*/ F.createElement(bL, { values: [+ [Az, i],+ [FL, {...c,ref: a,elementType: "span"}],- [HL, { slots: {+ [VL, { slots: {description: l,errorMessage: u} }],- [UL, d]- ] }, /*#__PURE__*/ F.createElement(HR, null, f.children)));-}), Nz = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {+ [HL, d]+ ] }, /*#__PURE__*/ F.createElement(VR, null, f.children)));+}), Mz = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {let { inputRef: n = null, ...r } = e;- [e, t] = wL(r, t, jme);- let i = F.useContext(jz), a = XC((0, F.useMemo)(() => VC(n, e.inputRef === void 0 ? null : e.inputRef), [n, e.inputRef])), o = yce({- ...EL(e),+ [e, t] = CL(r, t, Mme);+ let i = F.useContext(Az), a = YC((0, F.useMemo)(() => BC(n, e.inputRef === void 0 ? null : e.inputRef), [n, e.inputRef])), o = bce({+ ...TL(e),children: typeof e.children == "function" || e.children}, i, a);- return /*#__PURE__*/ F.createElement(Pz.Provider, { value: {+ return /*#__PURE__*/ F.createElement(Nz.Provider, { value: {...o,inputRef: a,defaultClassName: "react-aria-Radio"- } }, /*#__PURE__*/ F.createElement(Mme, {+ } }, /*#__PURE__*/ F.createElement(Nme, {...e,ref: t}));-}), Pz = /*#__PURE__*/ (0, F.createContext)(null), Mme = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {- let { labelProps: n, inputProps: r, isSelected: i, isDisabled: a, isPressed: o, defaultClassName: s, inputRef: c } = (0, F.useContext)(Pz), l = F.useContext(jz), { isFocused: u, isFocusVisible: d, focusProps: f } = kD(), p = a || l.isReadOnly, { hoverProps: m, isHovered: h } = ND({+}), Nz = /*#__PURE__*/ (0, F.createContext)(null), Nme = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {+ let { labelProps: n, inputProps: r, isSelected: i, isDisabled: a, isPressed: o, defaultClassName: s, inputRef: c } = (0, F.useContext)(Nz), l = F.useContext(Az), { isFocused: u, isFocusVisible: d, focusProps: f } = OD(), p = a || l.isReadOnly, { hoverProps: m, isHovered: h } = MD({...e,isDisabled: p- }), g = SL({+ }), g = xL({...e,defaultClassName: s,values: {@@ -40520,8 +40520,8 @@ var Ame = /*#__PURE__*/ (0, F.createContext)(null), jme = /*#__PURE__*/ (0, F.crisInvalid: l.isInvalid,isRequired: l.isRequired}- }), _ = Uw(e, { global: !0 });- return delete _.id, delete _.onClick, /*#__PURE__*/ F.createElement(OL.label, {+ }), _ = Hw(e, { global: !0 });+ return delete _.id, delete _.onClick, /*#__PURE__*/ F.createElement(DL.label, {...K(_, n, m, g),ref: t,"data-selected": i || void 0,@@ -40533,18 +40533,18 @@ var Ame = /*#__PURE__*/ (0, F.createContext)(null), jme = /*#__PURE__*/ (0, F.cr"data-readonly": l.isReadOnly || void 0,"data-invalid": l.isInvalid || void 0,"data-required": l.isRequired || void 0- }, /*#__PURE__*/ F.createElement(dE, { elementType: "span" }, /*#__PURE__*/ F.createElement("input", {+ }, /*#__PURE__*/ F.createElement(uE, { elementType: "span" }, /*#__PURE__*/ F.createElement("input", {...K(r, f),ref: c})), g.children);});// node_modules/react-stately/dist/private/select/useSelectState.mjs-function Nme(e) {- let { selectionMode: t = "single", shouldCloseOnSelect: n = t === "single" } = e, r = oz(e), [i, a] = (0, F.useState)(null), o = (0, F.useMemo)(() => e.defaultValue === void 0 ? t === "single" ? e.defaultSelectedKey ?? null : [] : e.defaultValue, [+function Pme(e) {+ let { selectionMode: t = "single", shouldCloseOnSelect: n = t === "single" } = e, r = az(e), [i, a] = (0, F.useState)(null), o = (0, F.useMemo)(() => e.defaultValue === void 0 ? t === "single" ? e.defaultSelectedKey ?? null : [] : e.defaultValue, [e.defaultValue,e.defaultSelectedKey,t- ]), [s, c] = tE((0, F.useMemo)(() => e.value === void 0 ? t === "single" ? e.selectedKey : void 0 : e.value, [+ ]), [s, c] = eE((0, F.useMemo)(() => e.value === void 0 ? t === "single" ? e.selectedKey : void 0 : e.value, [e.value,e.selectedKey,t@@ -40556,12 +40556,12 @@ function Nme(e) {let e = [];Array.isArray(n) ? e = n : n != null && (e = [n]), c(e);}- }, d = ez({+ }, d = $R({...e,selectionMode: t,disallowEmptySelection: t === "single",allowDuplicateSelectionEvents: !0,- selectedKeys: (0, F.useMemo)(() => Pme(l), [l]),+ selectedKeys: (0, F.useMemo)(() => Fme(l), [l]),onSelectionChange: (e) => {if (e !== "all") {if (t === "single") {@@ -40571,7 +40571,7 @@ function Nme(e) {n && r.close(), m.commitValidation();}}- }), f = d.selectionManager.firstSelectedKey, p = (0, F.useMemo)(() => [...d.selectionManager.selectedKeys].map((e) => d.collection.getItem(e)).filter((e) => e != null), [d.selectionManager.selectedKeys, d.collection]), m = KT({+ }), f = d.selectionManager.firstSelectedKey, p = (0, F.useMemo)(() => [...d.selectionManager.selectedKeys].map((e) => d.collection.getItem(e)).filter((e) => e != null), [d.selectionManager.selectedKeys, d.collection]), m = GT({...e,value: Array.isArray(l) && l.length === 0 ? null : l}), [h, g] = (0, F.useState)(!1), [_] = (0, F.useState)(l);@@ -40598,15 +40598,15 @@ function Nme(e) {setFocused: g};}-function Pme(e) {+function Fme(e) {if (e !== void 0) return e === null ? [] : Array.isArray(e) ? e : [e];}// node_modules/react-aria-components/dist/private/Select.mjs-function Fme(e) {+function Ime(e) {return e && e.__esModule ? e.default : e;}-var Fz = /*#__PURE__*/ (0, F.createContext)(null), Iz = /*#__PURE__*/ (0, F.createContext)(null), Ime = /*#__PURE__*/ tw(function(e, t) {- [e, t] = wL(e, t, Fz);+var Pz = /*#__PURE__*/ (0, F.createContext)(null), Fz = /*#__PURE__*/ (0, F.createContext)(null), Lme = /*#__PURE__*/ ew(function(e, t) {+ [e, t] = CL(e, t, Pz);let { children: n, isDisabled: r = !1, isInvalid: i = !1, isRequired: a = !1 } = e, o = (0, F.useMemo)(() => typeof n == "function" ? n({isOpen: !1,isDisabled: r,@@ -40621,24 +40621,24 @@ var Fz = /*#__PURE__*/ (0, F.createContext)(null), Iz = /*#__PURE__*/ (0, F.creai,a]);- return /*#__PURE__*/ F.createElement(ow, { content: o }, (n) => /*#__PURE__*/ F.createElement(Rme, {+ return /*#__PURE__*/ F.createElement(aw, { content: o }, (n) => /*#__PURE__*/ F.createElement(zme, {props: e,collection: n,selectRef: t}));-}), Lme = [- IL,- RL,- HL+}), Rme = [+ FL,+ LL,+ VL];-function Rme({ props: e, selectRef: t, collection: n }) {- let { validationBehavior: r } = CL(WL) || {}, i = e.validationBehavior ?? r ?? "native", a = Nme({+function zme({ props: e, selectRef: t, collection: n }) {+ let { validationBehavior: r } = SL(UL) || {}, i = e.validationBehavior ?? r ?? "native", a = Pme({...e,collection: n,children: void 0,validationBehavior: i- }), { isFocusVisible: o, focusProps: s } = kD({ within: !0 }), c = (0, F.useRef)(null), [l, u] = TL(!e["aria-label"] && !e["aria-labelledby"]), { labelProps: d, triggerProps: f, valueProps: p, menuProps: m, descriptionProps: h, errorMessageProps: g, hiddenSelectProps: _, ...v } = xce({- ...EL(e),+ }), { isFocusVisible: o, focusProps: s } = OD({ within: !0 }), c = (0, F.useRef)(null), [l, u] = wL(!e["aria-label"] && !e["aria-labelledby"]), { labelProps: d, triggerProps: f, valueProps: p, menuProps: m, descriptionProps: h, errorMessageProps: g, hiddenSelectProps: _, ...v } = Sce({+ ...TL(e),label: u,validationBehavior: i}, a, c), y = (0, F.useMemo)(() => ({@@ -40655,48 +40655,48 @@ function Rme({ props: e, selectRef: t, collection: n }) {e.isDisabled,v.isInvalid,e.isRequired- ]), b = SL({+ ]), b = xL({...e,values: y,defaultClassName: "react-aria-Select"- }), x = Uw(e, { global: !0 });+ }), x = Hw(e, { global: !0 });delete x.id;let S = (0, F.useRef)(null);- return /*#__PURE__*/ F.createElement(xL, { values: [- [Fz, e],- [Iz, a],- [Lz, p],- [IL, {+ return /*#__PURE__*/ F.createElement(bL, { values: [+ [Pz, e],+ [Fz, a],+ [Iz, p],+ [FL, {...d,ref: l,elementType: "span"}],- [RL, {+ [LL, {...f,ref: c,isPressed: a.isOpen,autoFocus: e.autoFocus}],- [wz, a],- [uz, {+ [Cz, a],+ [lz, {trigger: "Select",triggerRef: c,scrollRef: S,placement: "bottom start","aria-labelledby": m["aria-labelledby"],- clearContexts: Lme+ clearContexts: Rme}],- [rz, {+ [nz, {...m,ref: S}],- [iz, a],- [HL, { slots: {+ [rz, a],+ [VL, { slots: {description: h,errorMessage: g} }],- [UL, v]- ] }, /*#__PURE__*/ F.createElement(OL.div, {+ [HL, v]+ ] }, /*#__PURE__*/ F.createElement(DL.div, {...K(x, b, s),ref: t,slot: e.slot || void 0,@@ -40706,14 +40706,14 @@ function Rme({ props: e, selectRef: t, collection: n }) {"data-disabled": e.isDisabled || void 0,"data-invalid": v.isInvalid || void 0,"data-required": e.isRequired || void 0- }, b.children, /*#__PURE__*/ F.createElement(Cce, {+ }, b.children, /*#__PURE__*/ F.createElement(wce, {..._,autoComplete: e.autoComplete})));}-for (var Lz = /*#__PURE__*/ (0, F.createContext)(null), zme = /*#__PURE__*/ tw(function(e, t) {- [e, t] = wL(e, t, Lz);- let n = (0, F.useContext)(Iz), { placeholder: r } = CL(Fz), i = n.selectedItems.map((e) => {+for (var Iz = /*#__PURE__*/ (0, F.createContext)(null), Bme = /*#__PURE__*/ ew(function(e, t) {+ [e, t] = CL(e, t, Iz);+ let n = (0, F.useContext)(Fz), { placeholder: r } = SL(Pz), i = n.selectedItems.map((e) => {let t = e.props?.children;return typeof t == "function" && (t = t({isHovered: !1,@@ -40725,7 +40725,7 @@ for (var Lz = /*#__PURE__*/ (0, F.createContext)(null), zme = /*#__PURE__*/ tw(fselectionMode: "single",selectionBehavior: "toggle"})), t;- }), a = Mse(), o = (0, F.useMemo)(() => n.selectedItems.map((e) => e?.textValue), [n.selectedItems]), s = n.selectionManager.selectionMode, c = (0, F.useMemo)(() => s === "single" ? o[0] ?? "" : a.format(o), [+ }), a = Nse(), o = (0, F.useMemo)(() => n.selectedItems.map((e) => e?.textValue), [n.selectedItems]), s = n.selectionManager.selectionMode, c = (0, F.useMemo)(() => s === "single" ? o[0] ?? "" : a.format(o), [s,a,o@@ -40740,7 +40740,7 @@ for (var Lz = /*#__PURE__*/ (0, F.createContext)(null), zme = /*#__PURE__*/ tw(fa,o,i- ]), u = Vw(Fme(IR), "react-aria-components"), d = SL({+ ]), u = Bw(Ime(FR), "react-aria-components"), d = xL({...e,defaultChildren: l ?? r ?? u.format("selectPlaceholder"),defaultClassName: "react-aria-SelectValue",@@ -40751,33 +40751,33 @@ for (var Lz = /*#__PURE__*/ (0, F.createContext)(null), zme = /*#__PURE__*/ tw(fisPlaceholder: n.selectedItems.length === 0,state: n}- }), f = Uw(e, { global: !0 });- return /*#__PURE__*/ F.createElement(OL.span, {+ }), f = Hw(e, { global: !0 });+ return /*#__PURE__*/ F.createElement(DL.span, {ref: t,...f,...d,"data-placeholder": n.selectedItems.length === 0 || void 0- }, /*#__PURE__*/ F.createElement(HL.Provider, { value: void 0 }, d.children));-}), Bme = /*#__PURE__*/ (0, F.createContext)(null), Rz = /*#__PURE__*/ (0, F.createContext)(null), Vme = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {+ }, /*#__PURE__*/ F.createElement(VL.Provider, { value: void 0 }, d.children));+}), Vme = /*#__PURE__*/ (0, F.createContext)(null), Lz = /*#__PURE__*/ (0, F.createContext)(null), Hme = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {let { inputRef: n = null, ...r } = e;- [e, t] = wL(r, t, Bme);- let i = XC((0, F.useMemo)(() => VC(n, e.inputRef === void 0 ? null : e.inputRef), [n, e.inputRef])), a = nE(e), o = Tce({- ...EL(e),+ [e, t] = CL(r, t, Vme);+ let i = YC((0, F.useMemo)(() => BC(n, e.inputRef === void 0 ? null : e.inputRef), [n, e.inputRef])), a = tE(e), o = Ece({+ ...TL(e),children: typeof e.children == "function" || e.children}, a, i);- return /*#__PURE__*/ F.createElement(xL, { values: [[Rz, a], [zz, {+ return /*#__PURE__*/ F.createElement(bL, { values: [[Lz, a], [Rz, {...o,inputRef: i,defaultClassName: "react-aria-Switch"- }]] }, /*#__PURE__*/ F.createElement(Hme, {+ }]] }, /*#__PURE__*/ F.createElement(Ume, {...e,ref: t}));-}), zz = /*#__PURE__*/ (0, F.createContext)(null), Hme = /*#__PURE__*/ (0, F.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, F.useContext)(zz), { isFocused: f, isFocusVisible: p, focusProps: m } = kD(), h = a || o, g = (0, F.useContext)(Rz), { hoverProps: _, isHovered: v } = ND({+}), Rz = /*#__PURE__*/ (0, F.createContext)(null), Ume = /*#__PURE__*/ (0, F.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, F.useContext)(Rz), { isFocused: f, isFocusVisible: p, focusProps: m } = OD(), h = a || o, g = (0, F.useContext)(Lz), { hoverProps: _, isHovered: v } = MD({...e,isDisabled: h- }), y = SL({+ }), y = xL({...e,defaultClassName: u,values: {@@ -40792,8 +40792,8 @@ for (var Lz = /*#__PURE__*/ (0, F.createContext)(null), zme = /*#__PURE__*/ tw(fisRequired: d || !1,state: g}- }), b = Uw(e, { global: !0 });- return delete b.id, delete b.onClick, /*#__PURE__*/ F.createElement(OL.label, {+ }), b = Hw(e, { global: !0 });+ return delete b.id, delete b.onClick, /*#__PURE__*/ F.createElement(DL.label, {...K(b, n, _, y),ref: t,slot: e.slot || void 0,@@ -40806,11 +40806,11 @@ for (var Lz = /*#__PURE__*/ (0, F.createContext)(null), zme = /*#__PURE__*/ tw(f"data-readonly": o || void 0,"data-invalid": c || void 0,"data-required": d || void 0- }, /*#__PURE__*/ F.createElement(dE, { elementType: "span" }, /*#__PURE__*/ F.createElement("input", {+ }, /*#__PURE__*/ F.createElement(uE, { elementType: "span" }, /*#__PURE__*/ F.createElement("input", {...K(r, m),ref: l})), y.children);-}), Bz = 10, Vz = 5, Hz = class {+}), zz = 10, Bz = 5, Vz = class {setup(e, t, n) {this.delegate = e, this.state = t, this.direction = n;}@@ -40820,7 +40820,7 @@ for (var Lz = /*#__PURE__*/ (0, F.createContext)(null), zme = /*#__PURE__*/ tw(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) > Vz && (s = a > 0 ? "down" : "up", i.yDirection = s, i.lastY = n), Math.abs(o) > Bz && (c = o > 0 ? "right" : "left", i.xDirection = c, i.lastX = t), e.dropPosition === "before") {+ if (Math.abs(a) > Bz && (s = a > 0 ? "down" : "up", i.yDirection = s, i.lastY = n), Math.abs(o) > zz && (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);@@ -40899,11 +40899,11 @@ for (var Lz = /*#__PURE__*/ (0, F.createContext)(null), zme = /*#__PURE__*/ tw(flastSwitchX: n});let c = o.boundaryContext, l = Math.abs(n - c.lastSwitchX);- if (Math.abs(r - c.lastSwitchY) > Vz && i) {+ if (Math.abs(r - c.lastSwitchY) > Bz && 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 > Bz && a) {+ if (l > zz && 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;}@@ -40918,7 +40918,7 @@ for (var Lz = /*#__PURE__*/ (0, F.createContext)(null), zme = /*#__PURE__*/ tw(fboundaryContext: null};}-}, Ume = class {+}, Wme = class {constructor(e) {this.keyMap = /* @__PURE__ */ new Map(), this.keyMap = /* @__PURE__ */ new Map(), this.columnCount = e?.columnCount, this.rows = [];let t = (r) => {@@ -40988,8 +40988,8 @@ for (var Lz = /*#__PURE__*/ (0, F.createContext)(null), zme = /*#__PURE__*/ tw(fgetChildren(e) {return this.keyMap.get(e)?.childNodes || [];}-}, Uz = "row-header-column-" + Math.random().toString(36).slice(2), Wz = "row-header-column-" + Math.random().toString(36).slice(2); Uz === Wz;) Wz = "row-header-column-" + Math.random().toString(36).slice(2);-function Gz(e, t) {+}, Hz = "row-header-column-" + Math.random().toString(36).slice(2), Uz = "row-header-column-" + Math.random().toString(36).slice(2); Hz === Uz;) Uz = "row-header-column-" + Math.random().toString(36).slice(2);+function Wz(e, t) {if (t.length === 0) return [];let n = [], r = /* @__PURE__ */ new Map();for (let i of t) {@@ -41073,13 +41073,13 @@ function Gz(e, t) {textValue: ""}));}-var Wme = class extends Ume {+var Gme = class extends Wme {constructor(e, t, n) {let r = /* @__PURE__ */ new Set(), i = null, a = [];if (n?.showSelectionCheckboxes) {let e = {type: "column",- key: Uz,+ key: Hz,value: null,textValue: "",level: 0,@@ -41094,7 +41094,7 @@ var Wme = class extends Ume {if (n?.showDragButtons) {let e = {type: "column",- key: Wz,+ key: Uz,value: null,textValue: "",level: 0,@@ -41121,7 +41121,7 @@ var Wme = class extends Ume {for (let t of e.childNodes) c(t);};for (let t of e) c(t);- let l = Gz(s, a);+ let l = Wz(s, a);if (l.forEach((e, t) => o.splice(t, 0, e)), super({columnCount: a.length,items: o,@@ -41147,10 +41147,10 @@ var Wme = class extends Ume {return this.keyMap.get(e)?.nextKey ?? null;}getFirstKey() {- return mD(this.body.childNodes)?.key ?? null;+ return pD(this.body.childNodes)?.key ?? null;}getLastKey() {- return gD(this.body.childNodes)?.key ?? null;+ return hD(this.body.childNodes)?.key ?? null;}getItem(e) {return e === this.body.key ? this.body : this.keyMap.get(e) ?? null;@@ -41181,15 +41181,15 @@ var Wme = class extends Ume {}};// node_modules/react-stately/dist/private/table/TableUtils.mjs-function Gme(e) {+function Kme(e) {return e != null && (!isNaN(e) || String(e).match(/^(\d+)(?=%$)/) !== null);}-function Kme(e) {+function qme(e) {if (!e || typeof e == "number") return 1;let t = e.match(/^(.+)(?=fr$)/);return t ? parseFloat(t[0]) : 1;}-function Kz(e, t) {+function Gz(e, t) {if (typeof e == "string") {let n = e.match(/^(\d+)(?=%$)/);if (!n) throw Error("Only percentages or numbers are supported for static column widths");@@ -41197,19 +41197,19 @@ function Kz(e, t) {}return e;}-function qz(e, t) {- return e == null ? 2 ** 53 - 1 : Kz(e, t);+function Kz(e, t) {+ return e == null ? 2 ** 53 - 1 : Gz(e, t);}-function Jz(e, t) {- return e == null ? 0 : Kz(e, t);+function qz(e, t) {+ return e == null ? 0 : Gz(e, t);}-function qme(e, t, n, r, i) {+function Jme(e, t, n, r, i) {let a = e, o = Math.floor(e), s = e - o > 0;e = o;let c = !1, l = t.map((t, a) => {let o = n.get(t.key) == null ? t.width ?? t.defaultWidth ?? r?.(a) ?? "1fr" : n.get(t.key) ?? "1fr", s = !1, l = 0, u = 0, d = 0;- Gme(o) ? (l = Kz(o, e), s = !0) : (u = Kme(o), u <= 0 && (s = !0));- let f = Jz(t.minWidth ?? i?.(a) ?? 0, e), p = qz(t.maxWidth, e), m = Math.max(f, Math.min(l, p));+ Kme(o) ? (l = Gz(o, e), s = !0) : (u = qme(o), u <= 0 && (s = !0));+ let f = qz(t.minWidth ?? i?.(a) ?? 0, e), p = Kz(t.maxWidth, e), m = Math.max(f, Math.min(l, p));return s ? d = m : l > m && (s = !0, d = m), s || (c = !0), {frozen: s,baseSize: l,@@ -41243,14 +41243,14 @@ function qme(e, t, n, r, i) {i === 0 || Math.sign(i) === Math.sign(e.violation) ? e.frozen = !0 : e.frozen || (c = !0);});}- let u = Jme(l);+ let u = Yme(l);if (s && u.length > 0) {let e = a.toString().split(".")[1], t = u[u.length - 1].toString();u[u.length - 1] = Number(t + "." + e);}return u;}-function Jme(e) {+function Yme(e) {let t = 0, n = 0, r = [];return e.forEach(function(e) {let i = e.targetMainSize, a = Math.round(i + t) - n;@@ -41258,7 +41258,7 @@ function Jme(e) {}), r;}// node_modules/react-stately/dist/private/table/TableColumnLayout.mjs-var Yme = class {+var Xme = class {constructor(e) {this.columnWidths = /* @__PURE__ */ new Map(), this.columnMinWidths = /* @__PURE__ */ new Map(), this.columnMaxWidths = /* @__PURE__ */ new Map(), this.getDefaultWidth = e?.getDefaultWidth ?? (() => "1fr"), this.getDefaultMinWidth = e?.getDefaultMinWidth ?? (() => 75);}@@ -41287,18 +41287,18 @@ var Yme = class {}), o;}buildColumnWidths(e, t, n) {- return this.columnWidths = /* @__PURE__ */ new Map(), this.columnMinWidths = /* @__PURE__ */ new Map(), this.columnMaxWidths = /* @__PURE__ */ new Map(), qme(e, t.columns.map((e) => ({+ return this.columnWidths = /* @__PURE__ */ new Map(), this.columnMinWidths = /* @__PURE__ */ new Map(), this.columnMaxWidths = /* @__PURE__ */ new Map(), Jme(e, t.columns.map((e) => ({...e.props,key: e.key})), n, (e) => this.getDefaultWidth(t.columns[e]), (e) => this.getDefaultMinWidth(t.columns[e])).forEach((n, r) => {let i = t.columns[r].key, a = t.columns[r];- this.columnWidths.set(i, n), this.columnMinWidths.set(i, Jz(a.props.minWidth ?? this.getDefaultMinWidth(a), e)), this.columnMaxWidths.set(i, qz(a.props.maxWidth, e));+ this.columnWidths.set(i, n), this.columnMinWidths.set(i, qz(a.props.minWidth ?? this.getDefaultMinWidth(a), e)), this.columnMaxWidths.set(i, Kz(a.props.maxWidth, e));}), this.columnWidths;}};// node_modules/react-stately/dist/private/table/useTableColumnResizeState.mjs-function Xme(e, t) {- let { getDefaultWidth: n, getDefaultMinWidth: r, tableWidth: i = 0 } = e, [a, o] = (0, F.useState)(null), s = (0, F.useMemo)(() => new Yme({+function Zme(e, t) {+ let { getDefaultWidth: n, getDefaultMinWidth: r, tableWidth: i = 0 } = e, [a, o] = (0, F.useState)(null), s = (0, F.useMemo)(() => new Xme({getDefaultWidth: n,getDefaultMinWidth: r}), [n, r]), [c, l] = (0, F.useMemo)(() => s.splitColumnsIntoControlledAndUncontrolled(t.collection.columns), [t.collection.columns, s]), [u, d] = (0, F.useState)(() => s.getInitialUncontrolledWidths(l)), [f, p] = (0, F.useState)(t.collection.columns);@@ -41349,19 +41349,19 @@ function Xme(e, t) {]);}// node_modules/react-stately/dist/private/grid/useGridState.mjs-function Zme(e) {- let { collection: t, focusMode: n } = e, r = e.UNSAFE_selectionState || JR(e), i = (0, F.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), a = r.setFocusedKey;+function Qme(e) {+ let { collection: t, focusMode: n } = e, r = e.UNSAFE_selectionState || qR(e), i = (0, F.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), a = r.setFocusedKey;r.setFocusedKey = (e, r) => {if (n === "cell" && e != null) {let n = t.getItem(e);if (n?.type === "item") {- let i = pD(n, t);- e = r === "last" ? gD(i)?.key ?? null : mD(i)?.key ?? null;+ let i = fD(n, t);+ e = r === "last" ? hD(i)?.key ?? null : pD(i)?.key ?? null;}}a(e, r);};- let o = (0, F.useMemo)(() => new XR(t, r), [t, r]), s = (0, F.useRef)(null);+ let o = (0, F.useMemo)(() => new YR(t, r), [t, r]), s = (0, F.useRef)(null);return (0, F.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;@@ -41381,7 +41381,7 @@ function Zme(e) {}}if (u) {- let i = u.hasChildNodes ? [...pD(u, t)] : [], a = u.hasChildNodes && n !== e && e && e.index < i.length ? i[e.index].key : u.key;+ let i = u.hasChildNodes ? [...fD(u, t)] : [], a = u.hasChildNodes && n !== e && e && e.index < i.length ? i[e.index].key : u.key;r.setFocusedKey(a);} else r.setFocusedKey(null);}@@ -41399,11 +41399,11 @@ function Zme(e) {};}// node_modules/react-stately/dist/private/table/useTableState.mjs-var Qme = {+var $me = {ascending: "descending",descending: "ascending"};-function $me(e) {+function ehe(e) {let [t, n] = (0, F.useState)(!1), { selectionMode: r = "none", showSelectionCheckboxes: i, showDragButtons: a, treeColumn: o = null } = e, s = (0, F.useMemo)(() => ({showSelectionCheckboxes: i && r !== "none",showDragButtons: a,@@ -41414,11 +41414,11 @@ function $me(e) {i,r,a- ]), c = $R(e, (0, F.useCallback)((e) => new Wme(e, null, s), [s]), s), { disabledKeys: l, selectionManager: u } = Zme({+ ]), c = QR(e, (0, F.useCallback)((e) => new Gme(e, null, s), [s]), s), { disabledKeys: l, selectionManager: u } = Qme({...e,collection: c,disabledBehavior: e.disabledBehavior || "selection"- }), [d, f] = tE(e.expandedKeys ? new Set(e.expandedKeys) : void 0, e.defaultExpandedKeys ? new Set(e.defaultExpandedKeys) : /* @__PURE__ */ new Set(), e.onExpandedChange);+ }), [d, f] = eE(e.expandedKeys ? new Set(e.expandedKeys) : void 0, e.defaultExpandedKeys ? new Set(e.defaultExpandedKeys) : /* @__PURE__ */ new Set(), e.onExpandedChange);return {collection: c,disabledKeys: l,@@ -41430,7 +41430,7 @@ function $me(e) {sort(t, n) {e.onSortChange?.({column: t,- direction: n ?? (e.sortDescriptor?.column === t ? Qme[e.sortDescriptor.direction] : "ascending")+ direction: n ?? (e.sortDescriptor?.column === t ? $me[e.sortDescriptor.direction] : "ascending")});},expandedKeys: d,@@ -41443,7 +41443,7 @@ function $me(e) {treeColumn: o};}-function ehe(e, t) {+function the(e, t) {let n = (0, F.useMemo)(() => t ? e.collection.filter(t) : e.collection, [e.collection, t]), r = e.selectionManager.withCollection(n);return {...e,@@ -41452,10 +41452,10 @@ function ehe(e, t) {};}// node_modules/react-aria-components/dist/private/Table.mjs-function the(e) {+function nhe(e) {return e && e.__esModule ? e.default : e;}-var nhe = class extends gS {+var rhe = class extends hS {withExpandedKeys(e) {let t = this.clone();return t.expandedKeys = e, t.frozen = this.frozen, t.rows = Array.from(t.getRows()), t;@@ -41470,7 +41470,7 @@ var nhe = class extends gS {}get body() {for (let e of this) if (e.type === "tablebody") return e;- return new rB(-2);+ return new nB(-2);}commit(e, t, n = !1) {this.updateColumns(n), this.firstKey = e, this.lastKey = t, this.rows = [];@@ -41496,7 +41496,7 @@ var nhe = class extends gS {for (let t of this.getChildren(e.key)) n(t);};for (let e of this.getChildren(this.head.key)) n(e);- if (this.headerRows = Gz(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 = Wz(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;@@ -41577,28 +41577,28 @@ var nhe = class extends gS {return r.join(" ");}constructor(...e) {- super(...e), this.headerRows = [], this.columns = [], this.rows = [], this.rowHeaderColumnKeys = /* @__PURE__ */ new Set(), this.head = new $z(-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 Qz(-1), this.columnsDirty = !0, this.expandedKeys = /* @__PURE__ */ new Set();}-}, Yz = /*#__PURE__*/ (0, F.createContext)(null), rhe = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {- let n = XC(t), r = (0, F.useRef)(null), i = (0, F.useRef)(null), [a, o] = (0, F.useState)(0);- RS(() => {+}, Jz = /*#__PURE__*/ (0, F.createContext)(null), ihe = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {+ let n = YC(t), r = (0, F.useRef)(null), i = (0, F.useRef)(null), [a, o] = (0, F.useState)(0);+ LS(() => {let e = r.current;- for (; e && e !== n.current && !MT(e);) e = e.parentElement;+ for (; e && e !== n.current && !jT(e);) e = e.parentElement;i.current = e;- }, [n]), jO({+ }, [n]), AO({ref: i,box: "border-box",onResize() {o(i.current?.clientWidth ?? 0);}- }), RS(() => {+ }), LS(() => {o(i.current?.clientWidth ?? 0);}, []);let s = (0, F.useMemo)(() => ({tableRef: r,scrollRef: i,tableWidth: a,- useTableColumnResizeState: Xme,+ useTableColumnResizeState: Zme,onResizeStart: e.onResizeStart,onResize: e.onResize,onResizeEnd: e.onResizeEnd@@ -41609,17 +41609,17 @@ var nhe = class extends gS {e.onResize,e.onResizeEnd]);- return /*#__PURE__*/ F.createElement(OL.div, {+ return /*#__PURE__*/ F.createElement(DL.div, {render: e.render,- ...Uw(e, { global: !0 }),+ ...Hw(e, { global: !0 }),ref: n,className: e.className || "react-aria-ResizableTableContainer",style: e.style,onScroll: e.onScroll- }, /*#__PURE__*/ F.createElement(Yz.Provider, { value: s }, e.children));-}), ihe = /*#__PURE__*/ (0, F.createContext)(null), Xz = /*#__PURE__*/ (0, F.createContext)(null), Zz = /*#__PURE__*/ (0, F.createContext)(null), ahe = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {- [e, t] = wL(e, t, ihe);- let n = JR(e), { selectionBehavior: r, selectionMode: i, disallowEmptySelection: a } = n, o = !!e.dragAndDropHooks?.useDraggableCollectionState, s = (0, F.useMemo)(() => ({+ }, /*#__PURE__*/ F.createElement(Jz.Provider, { value: s }, e.children));+}), ahe = /*#__PURE__*/ (0, F.createContext)(null), Yz = /*#__PURE__*/ (0, F.createContext)(null), Xz = /*#__PURE__*/ (0, F.createContext)(null), ohe = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {+ [e, t] = CL(e, t, ahe);+ let n = qR(e), { selectionBehavior: r, selectionMode: i, disallowEmptySelection: a } = n, o = !!e.dragAndDropHooks?.useDraggableCollectionState, s = (0, F.useMemo)(() => ({selectionBehavior: i === "none" ? null : r,selectionMode: i,disallowEmptySelection: a,@@ -41629,26 +41629,26 @@ var nhe = class extends gS {i,a,o- ]), c = /*#__PURE__*/ F.createElement(che.Provider, { value: s }, /*#__PURE__*/ F.createElement(pw, e));- return /*#__PURE__*/ F.createElement(ow, {+ ]), c = /*#__PURE__*/ F.createElement(lhe.Provider, { value: s }, /*#__PURE__*/ F.createElement(fw, e));+ return /*#__PURE__*/ F.createElement(aw, {content: c,- createCollection: () => new nhe()- }, (r) => /*#__PURE__*/ F.createElement(she, {+ createCollection: () => new rhe()+ }, (r) => /*#__PURE__*/ F.createElement(che, {props: e,forwardedRef: t,selectionState: n,collection: r}));-}), ohe = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {- let { isVirtualized: n } = (0, F.useContext)(PL);- return n ? /*#__PURE__*/ F.createElement(OL.div, {+}), she = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {+ let { isVirtualized: n } = (0, F.useContext)(NL);+ return n ? /*#__PURE__*/ F.createElement(DL.div, {...e,ref: t- }) : /*#__PURE__*/ F.createElement(OL.table, {+ }) : /*#__PURE__*/ F.createElement(DL.table, {...e,ref: t});-}), Qz = {+}), Zz = {expand: {ltr: "ArrowRight",rtl: "ArrowLeft"@@ -41658,26 +41658,26 @@ var nhe = class extends gS {rtl: "ArrowRight"}};-function she({ props: e, forwardedRef: t, selectionState: n, collection: r }) {- [e, t] = wL(e, t, kL);- let { shouldUseVirtualFocus: i, disallowTypeAhead: a, filter: o, ...s } = e, c = (0, F.useContext)(Yz);- t = XC((0, F.useMemo)(() => VC(t, c?.tableRef), [t, c?.tableRef]));- let [l, u] = tE(e.expandedKeys ? new Set(e.expandedKeys) : void 0, e.defaultExpandedKeys ? new Set(e.defaultExpandedKeys) : /* @__PURE__ */ new Set(), e.onExpandedChange);+function che({ props: e, forwardedRef: t, selectionState: n, collection: r }) {+ [e, t] = CL(e, t, OL);+ let { shouldUseVirtualFocus: i, disallowTypeAhead: a, filter: o, ...s } = e, c = (0, F.useContext)(Jz);+ t = YC((0, F.useMemo)(() => BC(t, c?.tableRef), [t, c?.tableRef]));+ let [l, u] = eE(e.expandedKeys ? new Set(e.expandedKeys) : void 0, e.defaultExpandedKeys ? new Set(e.defaultExpandedKeys) : /* @__PURE__ */ new Set(), e.onExpandedChange);r = (0, F.useMemo)(() => r.withExpandedKeys(l), [r, l]);- let d = $me({+ let d = ehe({...s,collection: r,children: void 0,UNSAFE_selectionState: n,expandedKeys: l,onExpandedChange: u- }), f = ehe(d, o), { isVirtualized: p, layoutDelegate: m, dropTargetDelegate: h, CollectionRoot: g } = (0, F.useContext)(PL), { dragAndDropHooks: _ } = e, { gridProps: v } = Ace({+ }), f = the(d, o), { isVirtualized: p, layoutDelegate: m, dropTargetDelegate: h, CollectionRoot: g } = (0, F.useContext)(NL), { dragAndDropHooks: _ } = e, { gridProps: v } = jce({...s,layoutDelegate: m,isVirtualized: p}, f, t), y = f.selectionManager, b = !!_?.useDraggableCollectionState, x = !!_?.useDroppableCollectionState;(0, F.useRef)(b), (0, F.useRef)(x), (0, F.useEffect)(() => {}, [b, x]);- let S, C, w, T = !1, E = null, D = (0, F.useRef)(null), { direction: O } = Fw(), [k] = (0, F.useState)(() => new Hz());+ let S, C, w, T = !1, E = null, D = (0, F.useRef)(null), { direction: O } = Pw(), [k] = (0, F.useState)(() => new Vz());if (b && _) {S = _.useDraggableCollectionState({collection: f.collection,@@ -41692,7 +41692,7 @@ function she({ props: e, forwardedRef: t, selectionState: n, collection: r }) {collection: f.collection,selectionManager: y});- let e = new wE({+ let e = new CE({collection: f.collection,disabledKeys: y.disabledKeys,disabledBehavior: y.disabledBehavior,@@ -41712,12 +41712,12 @@ function she({ props: e, forwardedRef: t, selectionState: n, collection: r }) {let t = C?.target;if (t && t.type === "item" && t.dropPosition === "on") {let n = d.collection.getItem(t.key);- (e.key === Qz.expand[O] && n?.hasChildNodes && !d.expandedKeys.has(t.key) || e.key === Qz.collapse[O] && n?.hasChildNodes && d.expandedKeys.has(t.key)) && d.toggleKey(t.key);+ (e.key === Zz.expand[O] && n?.hasChildNodes && !d.expandedKeys.has(t.key) || e.key === Zz.collapse[O] && n?.hasChildNodes && d.expandedKeys.has(t.key)) && d.toggleKey(t.key);}}}, C, t), T = C.isDropTarget({ type: "root" });}- let { focusProps: A, isFocused: j, isFocusVisible: M } = kD(), ee = SL({+ let { focusProps: A, isFocused: j, isFocusVisible: M } = OD(), ee = xL({...e,children: void 0,defaultClassName: "react-aria-Table",@@ -41733,19 +41733,19 @@ function she({ props: e, forwardedRef: t, selectionState: n, collection: r }) {tableLayout: "fixed",width: "min-content"}));- let ne = Uw(e, { global: !0 });- return /*#__PURE__*/ F.createElement(xL, { values: [- [Xz, f],- [Zz, P],- [LR, {+ let ne = Hw(e, { global: !0 });+ return /*#__PURE__*/ F.createElement(bL, { values: [+ [Yz, f],+ [Xz, P],+ [IR, {dragAndDropHooks: _,dragState: S,dropState: C}],- [RR, { render: vhe }],- [kL, null],- [AL, null]- ] }, /*#__PURE__*/ F.createElement(pT, null, /*#__PURE__*/ F.createElement(ohe, {+ [LR, { render: yhe }],+ [OL, null],+ [kL, null]+ ] }, /*#__PURE__*/ F.createElement(fT, null, /*#__PURE__*/ F.createElement(she, {...K(ne, ee, v, A, w?.collectionProps),style: te,ref: t,@@ -41755,55 +41755,55 @@ function she({ props: e, forwardedRef: t, selectionState: n, collection: r }) {"data-drop-target": T || void 0,"data-focused": j || void 0,"data-focus-visible": M || void 0- }, /*#__PURE__*/ F.createElement(HR, null, /*#__PURE__*/ F.createElement(g, {+ }, /*#__PURE__*/ F.createElement(VR, null, /*#__PURE__*/ F.createElement(g, {collection: f.collection,scrollRef: c?.scrollRef ?? t,- persistedKeys: BR(y, _, C)+ persistedKeys: zR(y, _, C)})))), E);}-var che = /*#__PURE__*/ (0, F.createContext)(null), $z = class extends fS {+var lhe = /*#__PURE__*/ (0, F.createContext)(null), Qz = class extends dS {static {this.type = "tableheader";}-}, lhe = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {- let { isVirtualized: n } = (0, F.useContext)(PL);- return n ? /*#__PURE__*/ F.createElement(OL.div, {+}, uhe = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {+ let { isVirtualized: n } = (0, F.useContext)(NL);+ return n ? /*#__PURE__*/ F.createElement(DL.div, {...e,ref: t- }) : /*#__PURE__*/ F.createElement(OL.thead, {+ }) : /*#__PURE__*/ F.createElement(DL.thead, {...e,ref: t});-}), eB = /*#__PURE__*/ uw($z, (e, t) => {- let n = (0, F.useContext)(Xz).collection, r = bS({+}), $z = /*#__PURE__*/ lw(Qz, (e, t) => {+ let n = (0, F.useContext)(Yz).collection, r = yS({items: n.headerRows,children: (0, F.useCallback)((e) => {switch (e.type) {- case "headerrow": return /*#__PURE__*/ F.createElement(dhe, { item: e });+ case "headerrow": return /*#__PURE__*/ F.createElement(fhe, { item: e });default: throw Error("Unsupported node type in TableHeader: " + e.type);}}, [])- }), { rowGroupProps: i } = IA(), { hoverProps: a, isHovered: o } = ND({+ }), { rowGroupProps: i } = FA(), { hoverProps: a, isHovered: o } = MD({onHoverStart: e.onHoverStart,onHoverChange: e.onHoverChange,onHoverEnd: e.onHoverEnd- }), s = SL({+ }), s = xL({...e,children: void 0,defaultClassName: "react-aria-TableHeader",values: { isHovered: o }});- return /*#__PURE__*/ F.createElement(lhe, {- ...K(Uw(e, { global: !0 }), i, a),+ return /*#__PURE__*/ F.createElement(uhe, {+ ...K(Hw(e, { global: !0 }), i, a),...s,ref: t,"data-hovered": o || void 0}, r);-}, (e) => /*#__PURE__*/ F.createElement(pw, {+}, (e) => /*#__PURE__*/ F.createElement(fw, {dependencies: e.dependencies,items: e.columns-}, e.children)), uhe = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {- let { isVirtualized: n } = (0, F.useContext)(PL);+}, e.children)), dhe = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {+ let { isVirtualized: n } = (0, F.useContext)(NL);return n ? /*#__PURE__*/ F.createElement("div", {...e,ref: t@@ -41812,41 +41812,41 @@ var che = /*#__PURE__*/ (0, F.createContext)(null), $z = class extends fS {ref: t});});-function dhe({ item: e }) {- let t = (0, F.useRef)(null), n = (0, F.useContext)(Xz), { isVirtualized: r, CollectionBranch: i } = (0, F.useContext)(PL), { rowProps: a } = Ice({+function fhe({ item: e }) {+ let t = (0, F.useRef)(null), n = (0, F.useContext)(Yz), { isVirtualized: r, CollectionBranch: i } = (0, F.useContext)(NL), { rowProps: a } = Lce({node: e,isVirtualized: r- }, n, t), { checkboxProps: o } = Uce(n);- return /*#__PURE__*/ F.createElement(uhe, {+ }, n, t), { checkboxProps: o } = Wce(n);+ return /*#__PURE__*/ F.createElement(dhe, {...a,ref: t- }, /*#__PURE__*/ F.createElement(xL, { values: [[GL, { slots: { selection: o } }], [KL, { slots: { selection: o } }]] }, /*#__PURE__*/ F.createElement(i, {+ }, /*#__PURE__*/ F.createElement(bL, { values: [[WL, { slots: { selection: o } }], [GL, { slots: { selection: o } }]] }, /*#__PURE__*/ F.createElement(i, {collection: n.collection,parent: e})));}-var fhe = class extends fS {+var phe = class extends dS {static {this.type = "column";}-}, phe = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {- let { isVirtualized: n } = (0, F.useContext)(PL);- return n ? /*#__PURE__*/ F.createElement(OL.div, {+}, mhe = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {+ let { isVirtualized: n } = (0, F.useContext)(NL);+ return n ? /*#__PURE__*/ F.createElement(DL.div, {...e,ref: t- }) : /*#__PURE__*/ F.createElement(OL.th, {+ }) : /*#__PURE__*/ F.createElement(DL.th, {...e,ref: t});-}), tB = /*#__PURE__*/ lw(fhe, (e, t, n) => {- let r = XC(t), i = (0, F.useContext)(Xz), { isVirtualized: a } = (0, F.useContext)(PL), { columnHeaderProps: o, isPressed: s } = Nce({+}), eB = /*#__PURE__*/ cw(phe, (e, t, n) => {+ let r = YC(t), i = (0, F.useContext)(Yz), { isVirtualized: a } = (0, F.useContext)(NL), { columnHeaderProps: o, isPressed: s } = Pce({node: n,isVirtualized: a,focusMode: e.focusMode,allowsArrowNavigation: e.allowsArrowNavigation- }, i, r), { isFocused: c, isFocusVisible: l, focusProps: u } = kD(), d = (0, F.useContext)(Zz), f = !1;+ }, i, r), { isFocused: c, isFocusVisible: l, focusProps: u } = OD(), d = (0, F.useContext)(Xz), f = !1;d && (f = d.resizingColumn === n.key);- let { hoverProps: p, isHovered: m } = ND({ isDisabled: !e.allowsSorting }), h = SL({+ let { hoverProps: p, isHovered: m } = MD({ isDisabled: !e.allowsSorting }), h = xL({...e,id: void 0,children: n.rendered,@@ -41872,8 +41872,8 @@ var fhe = class extends fS {...g,width: d.getColumnWidth(n.key)});- let _ = Uw(e, { global: !0 });- return delete _.id, /*#__PURE__*/ F.createElement(phe, {+ let _ = Hw(e, { global: !0 });+ return delete _.id, /*#__PURE__*/ F.createElement(mhe, {...K(_, o, u, p),...h,style: g,@@ -41885,29 +41885,29 @@ var fhe = class extends fS {"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__*/ F.createElement(xL, { values: [[nB, {+ }, /*#__PURE__*/ F.createElement(bL, { values: [[tB, {column: n,triggerRef: r- }], [PL, ML]] }, h.children));-}), nB = /*#__PURE__*/ (0, F.createContext)(null), mhe = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {- let n = (0, F.useContext)(Zz);+ }], [NL, jL]] }, h.children));+}), tB = /*#__PURE__*/ (0, F.createContext)(null), hhe = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {+ let n = (0, F.useContext)(Xz);if (!n) throw Error("Wrap your <Table> in a <ResizableTableContainer> to enable column resizing");- let r = Vw(the(IR), "react-aria-components"), { onResizeStart: i, onResize: a, onResizeEnd: o } = (0, F.useContext)(Yz), { column: s, triggerRef: c } = (0, F.useContext)(nB), l = (0, F.useRef)(null), { resizerProps: u, inputProps: d, isResizing: f, isMouseResizing: p } = Fce({+ let r = Bw(nhe(FR), "react-aria-components"), { onResizeStart: i, onResize: a, onResizeEnd: o } = (0, F.useContext)(Jz), { column: s, triggerRef: c } = (0, F.useContext)(tB), l = (0, F.useRef)(null), { resizerProps: u, inputProps: d, isResizing: f, isMouseResizing: p } = Ice({column: s,"aria-label": e["aria-label"] || r.format("tableResizer"),onResizeStart: i,onResize: a,onResizeEnd: o,triggerRef: c- }, n, l), { focusProps: m, isFocused: h, isFocusVisible: g } = kD(), { hoverProps: _, isHovered: v } = ND(e), y = n.getColumnMinWidth(s.key) >= n.getColumnWidth(s.key), b = n.getColumnMaxWidth(s.key) <= n.getColumnWidth(s.key), { direction: x } = Fw(), S = "both";+ }, n, l), { focusProps: m, isFocused: h, isFocusVisible: g } = OD(), { hoverProps: _, isHovered: v } = MD(e), y = n.getColumnMinWidth(s.key) >= n.getColumnWidth(s.key), b = n.getColumnMaxWidth(s.key) <= n.getColumnWidth(s.key), { direction: x } = Pw(), S = "both";S = y ? x === "rtl" ? "right" : "left" : b ? x === "rtl" ? "left" : "right" : "both";- let C = XC(t), [w, T] = (0, F.useState)("");+ let C = YC(t), [w, T] = (0, F.useState)("");(0, F.useEffect)(() => {if (!C.current) return;let e = window.getComputedStyle(C.current);T(e.cursor);}, [C, S]);- let E = SL({+ let E = xL({...e,defaultClassName: "react-aria-ColumnResizer",values: {@@ -41917,8 +41917,8 @@ var fhe = class extends fS {isHovered: v,resizableDirection: S}- }), D = Uw(e, { global: !0 });- return /*#__PURE__*/ F.createElement(OL.div, {+ }), D = Hw(e, { global: !0 });+ return /*#__PURE__*/ F.createElement(DL.div, {ref: C,role: "presentation",...K(D, E, u, _),@@ -41941,24 +41941,24 @@ var fhe = class extends fS {},"data-testid": "cursor-overlay"}), document.body));-}), rB = class extends pS {+}), nB = class extends fS {static {this.type = "tablebody";}-}, hhe = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {- let { isVirtualized: n } = (0, F.useContext)(PL);- return n ? /*#__PURE__*/ F.createElement(OL.div, {+}, ghe = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {+ let { isVirtualized: n } = (0, F.useContext)(NL);+ return n ? /*#__PURE__*/ F.createElement(DL.div, {...e,ref: t- }) : /*#__PURE__*/ F.createElement(OL.tbody, {+ }) : /*#__PURE__*/ F.createElement(DL.tbody, {...e,ref: t});-}), iB = /*#__PURE__*/ uw(rB, (e, t, n) => {- let r = (0, F.useContext)(Xz), { isVirtualized: i } = (0, F.useContext)(PL), a = r.collection, { CollectionBranch: o } = (0, F.useContext)(PL), { dragAndDropHooks: s, dropState: c } = (0, F.useContext)(LR), l = !!s?.useDroppableCollectionState && !c?.isDisabled, u = l && !!c && (c.isDropTarget({ type: "root" }) ?? !1), d = a.size === 0, f = {+}), rB = /*#__PURE__*/ lw(nB, (e, t, n) => {+ let r = (0, F.useContext)(Yz), { isVirtualized: i } = (0, F.useContext)(NL), a = r.collection, { CollectionBranch: o } = (0, F.useContext)(NL), { dragAndDropHooks: s, dropState: c } = (0, F.useContext)(IR), l = !!s?.useDroppableCollectionState && !c?.isDisabled, u = l && !!c && (c.isDropTarget({ type: "root" }) ?? !1), d = a.size === 0, f = {isDropTarget: u,isEmpty: d- }, p = SL({+ }, p = xL({...e,id: void 0,children: void 0,@@ -41967,33 +41967,33 @@ var fhe = class extends fS {}), 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__*/ F.createElement(oB, {+ i ? (n["aria-colspan"] = h, r = { display: "contents" }) : n.colSpan = h, m = /*#__PURE__*/ F.createElement(aB, {role: "row",...t,style: r- }, /*#__PURE__*/ F.createElement(cB, {+ }, /*#__PURE__*/ F.createElement(sB, {role: "rowheader",...n,style: r}, e.renderEmptyState(f)));}- let { rowGroupProps: g } = IA(), _ = Uw(e, { global: !0 });- return /*#__PURE__*/ F.createElement(hhe, {+ let { rowGroupProps: g } = FA(), _ = Hw(e, { global: !0 });+ return /*#__PURE__*/ F.createElement(ghe, {...K(_, p, g),ref: t,"data-empty": d || void 0- }, l && /*#__PURE__*/ F.createElement(Che, null), /*#__PURE__*/ F.createElement(o, {+ }, l && /*#__PURE__*/ F.createElement(whe, null), /*#__PURE__*/ F.createElement(o, {collection: a,parent: n,- renderDropIndicator: zR(s, c)+ renderDropIndicator: RR(s, c)}), m);});-(class extends pS {+(class extends fS {static {this.type = "tablefooter";}});-var aB = /*#__PURE__*/ (0, F.createContext)({ isFocusVisibleWithinRow: !1 }), ghe = class extends fS {+var iB = /*#__PURE__*/ (0, F.createContext)({ isFocusVisibleWithinRow: !1 }), _he = class extends dS {static {this.type = "item";}@@ -42005,31 +42005,31 @@ var aB = /*#__PURE__*/ (0, F.createContext)({ isFocusVisibleWithinRow: !1 }), gh}return null;}-}, oB = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {- let { isVirtualized: n } = (0, F.useContext)(PL);- return n ? /*#__PURE__*/ F.createElement(OL.div, {+}, aB = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {+ let { isVirtualized: n } = (0, F.useContext)(NL);+ return n ? /*#__PURE__*/ F.createElement(DL.div, {...e,ref: t- }) : /*#__PURE__*/ F.createElement(OL.tr, {+ }) : /*#__PURE__*/ F.createElement(DL.tr, {...e,ref: t});-}), sB = /*#__PURE__*/ uw(ghe, (e, t, n) => {- let r = XC(t), i = (0, F.useContext)(Xz), { dragAndDropHooks: a, dragState: o, dropState: s } = (0, F.useContext)(LR), { isVirtualized: c, CollectionBranch: l } = (0, F.useContext)(PL), u = o && !(o.isDisabled || o.selectionManager.isDisabled(n.key)), { rowProps: d, expandButtonProps: f, ...p } = zce({+}), oB = /*#__PURE__*/ lw(_he, (e, t, n) => {+ let r = YC(t), i = (0, F.useContext)(Yz), { dragAndDropHooks: a, dragState: o, dropState: s } = (0, F.useContext)(IR), { isVirtualized: c, CollectionBranch: l } = (0, F.useContext)(NL), u = o && !(o.isDisabled || o.selectionManager.isDisabled(n.key)), { rowProps: d, expandButtonProps: f, ...p } = Bce({node: n,shouldSelectOnPressUp: !!o,isVirtualized: c- }, i, r), { isFocused: m, isFocusVisible: h, focusProps: g } = kD(), { isFocusVisible: _, focusProps: v } = kD({ within: !0 }), { hoverProps: y, isHovered: b } = ND({+ }, i, r), { isFocused: m, isFocusVisible: h, focusProps: g } = OD(), { isFocusVisible: _, focusProps: v } = OD({ within: !0 }), { hoverProps: y, isHovered: b } = MD({isDisabled: !p.allowsSelection && !p.hasAction && !u,onHoverStart: e.onHoverStart,onHoverChange: e.onHoverChange,onHoverEnd: e.onHoverEnd- }), { checkboxProps: x } = Hce({ key: n.key }, i), S;+ }), { checkboxProps: x } = Uce({ key: n.key }, i), S;o && a && (S = a.useDraggableItem({key: n.key,hasDragButton: !0}, o));- let C, w = (0, F.useRef)(null), { visuallyHiddenProps: T } = uE();+ let C, w = (0, F.useRef)(null), { visuallyHiddenProps: T } = lE();s && a && (C = a.useDropIndicator({ target: {type: "item",key: n.key,@@ -42039,7 +42039,7 @@ var aB = /*#__PURE__*/ (0, F.createContext)({ isFocusVisibleWithinRow: !1 }), gh(0, F.useEffect)(() => {o && E.current;}, []);- let D = o && o.isDragging(n.key), { children: O, ...k } = e, A = e.hasChildItems || i.collection.getItem(n.lastChildKey)?.type !== "cell", j = A && i.expandedKeys.has(n.key), M = SL({+ let D = o && o.isDragging(n.key), { children: O, ...k } = e, A = e.hasChildItems || i.collection.getItem(n.lastChildKey)?.type !== "cell", j = A && i.expandedKeys.has(n.key), M = xL({...k,id: void 0,defaultClassName: "react-aria-Row",@@ -42060,11 +42060,11 @@ var aB = /*#__PURE__*/ (0, F.createContext)({ isFocusVisibleWithinRow: !1 }), ghisExpanded: j,level: n.level + 1}- }), ee = Uw(e, { global: !0 });- return delete ee.id, delete ee.onClick, /*#__PURE__*/ F.createElement(F.Fragment, null, C && !C.isHidden && /*#__PURE__*/ F.createElement(oB, {+ }), ee = Hw(e, { global: !0 });+ return delete ee.id, delete ee.onClick, /*#__PURE__*/ F.createElement(F.Fragment, null, C && !C.isHidden && /*#__PURE__*/ F.createElement(aB, {role: "row",style: { height: 0 }- }, /*#__PURE__*/ F.createElement(cB, {+ }, /*#__PURE__*/ F.createElement(sB, {role: "gridcell",colSpan: i.collection.columnCount,style: { padding: 0 }@@ -42073,7 +42073,7 @@ var aB = /*#__PURE__*/ (0, F.createContext)({ isFocusVisibleWithinRow: !1 }), gh...T,...C.dropIndicatorProps,ref: w- }))), /*#__PURE__*/ F.createElement(oB, {+ }))), /*#__PURE__*/ F.createElement(aB, {...K(ee, M, d, g, y, S?.dragProps, v),ref: r,"data-disabled": p.isDisabled || void 0,@@ -42089,17 +42089,17 @@ var aB = /*#__PURE__*/ (0, F.createContext)({ isFocusVisibleWithinRow: !1 }), gh"data-expanded": j || void 0,"data-has-child-items": A || void 0,"data-level": n.level + 1- }, /*#__PURE__*/ F.createElement(xL, { values: [- [GL, { slots: {- [bL]: {},+ }, /*#__PURE__*/ F.createElement(bL, { values: [+ [WL, { slots: {+ [yL]: {},selection: x} }],- [KL, { slots: {- [bL]: {},+ [GL, { slots: {+ [yL]: {},selection: x} }],- [RL, { slots: {- [bL]: {},+ [LL, { slots: {+ [yL]: {},chevron: f,drag: {...S?.dragButtonProps,@@ -42107,8 +42107,8 @@ var aB = /*#__PURE__*/ (0, F.createContext)({ isFocusVisibleWithinRow: !1 }), ghstyle: { pointerEvents: "none" }}} }],- [UR, { isSelected: p.isSelected }],- [aB, { isFocusVisibleWithinRow: _ }]+ [HR, { isSelected: p.isSelected }],+ [iB, { isFocusVisibleWithinRow: _ }]] }, /*#__PURE__*/ F.createElement(l, {collection: i.collection,parent: n@@ -42116,34 +42116,34 @@ var aB = /*#__PURE__*/ (0, F.createContext)({ isFocusVisibleWithinRow: !1 }), gh}, (e) => {if (e.id == null && typeof e.children == "function") throw Error("No id detected for the Row element. The Row element requires a id to be provided to it when the cells are rendered dynamically.");let t = [e.value].concat(e.dependencies);- return /*#__PURE__*/ F.createElement(pw, {+ return /*#__PURE__*/ F.createElement(fw, {dependencies: t,items: e.columns,idScope: e.id}, e.children);-}), _he = class extends fS {+}), vhe = class extends dS {static {this.type = "cell";}-}, cB = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {- let { isVirtualized: n } = (0, F.useContext)(PL);- return n ? /*#__PURE__*/ F.createElement(OL.div, {+}, sB = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {+ let { isVirtualized: n } = (0, F.useContext)(NL);+ return n ? /*#__PURE__*/ F.createElement(DL.div, {...e,ref: t- }) : /*#__PURE__*/ F.createElement(OL.td, {+ }) : /*#__PURE__*/ F.createElement(DL.td, {...e,ref: t});-}), lB = /*#__PURE__*/ lw(_he, (e, t, n) => {- let r = XC(t), i = (0, F.useContext)(Xz), { dragState: a } = (0, F.useContext)(LR), { isVirtualized: o } = (0, F.useContext)(PL);+}), cB = /*#__PURE__*/ cw(vhe, (e, t, n) => {+ let r = YC(t), i = (0, F.useContext)(Yz), { dragState: a } = (0, F.useContext)(IR), { isVirtualized: o } = (0, F.useContext)(NL);n.column = i.collection.columns[n.index];- let { gridCellProps: s, isPressed: c } = jce({+ let { gridCellProps: s, isPressed: c } = Mce({node: n,shouldSelectOnPressUp: !!a,isVirtualized: o,focusMode: e.focusMode,allowsArrowNavigation: e.allowsArrowNavigation- }, i, r), { isFocused: l, isFocusVisible: u, focusProps: d } = kD(), { hoverProps: f, isHovered: p } = ND({}), { isFocusVisibleWithinRow: m } = (0, F.useContext)(aB), h = n.parentKey != null && i.selectionManager.isSelected(n.parentKey), g = n.colIndex || n.index, _ = i.collection.getItem(n.parentKey), v = _.props.hasChildItems || i.collection.getItem(_.lastChildKey)?.type !== "cell", y = v && i.expandedKeys.has(n.parentKey), b = i.selectionManager.isDisabled(n.parentKey), x = SL({+ }, i, r), { isFocused: l, isFocusVisible: u, focusProps: d } = OD(), { hoverProps: f, isHovered: p } = MD({}), { isFocusVisibleWithinRow: m } = (0, F.useContext)(iB), h = n.parentKey != null && i.selectionManager.isSelected(n.parentKey), g = n.colIndex || n.index, _ = i.collection.getItem(n.parentKey), v = _.props.hasChildItems || i.collection.getItem(_.lastChildKey)?.type !== "cell", y = v && i.expandedKeys.has(n.parentKey), b = i.selectionManager.isDisabled(n.parentKey), x = xL({...e,id: void 0,defaultClassName: "react-aria-Cell",@@ -42162,8 +42162,8 @@ var aB = /*#__PURE__*/ (0, F.createContext)({ isFocusVisibleWithinRow: !1 }), ghlevel: _.level + 1,isTreeColumn: n.column.key === i.treeColumn}- }), S = Uw(e, { global: !0 });- return delete S.id, /*#__PURE__*/ F.createElement(cB, {+ }), S = Hw(e, { global: !0 });+ return delete S.id, /*#__PURE__*/ F.createElement(sB, {...K(S, x, s, d, f),ref: r,"data-focused": l || void 0,@@ -42177,14 +42177,14 @@ var aB = /*#__PURE__*/ (0, F.createContext)({ isFocusVisibleWithinRow: !1 }), gh"data-level": _.level + 1,"data-tree-column": n.column.key === i.treeColumn || void 0,"data-disabled": b || void 0- }, /*#__PURE__*/ F.createElement(PL.Provider, { value: ML }, x.children));+ }, /*#__PURE__*/ F.createElement(NL.Provider, { value: jL }, x.children));});-function vhe(e, t) {- t = XC(t);- let { dragAndDropHooks: n, dropState: r } = (0, F.useContext)(LR), i = (0, F.useRef)(null), { dropIndicatorProps: a, isHidden: o, isDropTarget: s } = n.useDropIndicator(e, r, i);+function yhe(e, t) {+ t = YC(t);+ let { dragAndDropHooks: n, dropState: r } = (0, F.useContext)(IR), i = (0, F.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__*/ F.createElement(She, {+ return /*#__PURE__*/ F.createElement(Che, {...e,dropIndicatorProps: a,isDropTarget: s,@@ -42193,40 +42193,40 @@ function vhe(e, t) {ref: t});}-var yhe = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {- let { isVirtualized: n } = (0, F.useContext)(PL);- return n ? /*#__PURE__*/ F.createElement(OL.div, {+var bhe = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {+ let { isVirtualized: n } = (0, F.useContext)(NL);+ return n ? /*#__PURE__*/ F.createElement(DL.div, {...e,ref: t- }) : /*#__PURE__*/ F.createElement(OL.tr, {+ }) : /*#__PURE__*/ F.createElement(DL.tr, {...e,ref: t});-}), bhe = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {- let { isVirtualized: n } = (0, F.useContext)(PL);- return n ? /*#__PURE__*/ F.createElement(OL.div, {+}), xhe = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {+ let { isVirtualized: n } = (0, F.useContext)(NL);+ return n ? /*#__PURE__*/ F.createElement(DL.div, {...e,ref: t- }) : /*#__PURE__*/ F.createElement(OL.td, {+ }) : /*#__PURE__*/ F.createElement(DL.td, {...e,ref: t});});-function xhe(e, t) {- let { dropIndicatorProps: n, isDropTarget: r, buttonRef: i, level: a, ...o } = e, s = (0, F.useContext)(Xz), { visuallyHiddenProps: c } = uE(), l = SL({+function She(e, t) {+ let { dropIndicatorProps: n, isDropTarget: r, buttonRef: i, level: a, ...o } = e, s = (0, F.useContext)(Yz), { visuallyHiddenProps: c } = lE(), l = xL({...o,defaultClassName: "react-aria-DropIndicator",defaultStyle: { "--table-row-level": a + 1 },values: { isDropTarget: r }});- return /*#__PURE__*/ F.createElement(yhe, {- ...Uw(e, { global: !0 }),+ return /*#__PURE__*/ F.createElement(bhe, {+ ...Hw(e, { global: !0 }),...l,role: "row",ref: t,"data-drop-target": r || void 0,"aria-level": a- }, /*#__PURE__*/ F.createElement(bhe, {+ }, /*#__PURE__*/ F.createElement(xhe, {role: "gridcell",colSpan: s.collection.columnCount,style: { padding: 0 }@@ -42237,14 +42237,14 @@ function xhe(e, t) {ref: i}), l.children));}-var She = /*#__PURE__*/ (0, F.forwardRef)(xhe);-function Che() {- let e = (0, F.useContext)(Xz), { dragAndDropHooks: t, dropState: n } = (0, F.useContext)(LR), r = (0, F.useRef)(null), { dropIndicatorProps: i } = t.useDropIndicator({ target: { type: "root" } }, n, r), a = n.isDropTarget({ type: "root" }), { visuallyHiddenProps: o } = uE();- return !a && i["aria-hidden"] ? null : /*#__PURE__*/ F.createElement(oB, {+var Che = /*#__PURE__*/ (0, F.forwardRef)(She);+function whe() {+ let e = (0, F.useContext)(Yz), { dragAndDropHooks: t, dropState: n } = (0, F.useContext)(IR), r = (0, F.useRef)(null), { dropIndicatorProps: i } = t.useDropIndicator({ target: { type: "root" } }, n, r), a = n.isDropTarget({ type: "root" }), { visuallyHiddenProps: o } = lE();+ return !a && i["aria-hidden"] ? null : /*#__PURE__*/ F.createElement(aB, {role: "row","aria-hidden": i["aria-hidden"],style: { height: 0 }- }, /*#__PURE__*/ F.createElement(cB, {+ }, /*#__PURE__*/ F.createElement(sB, {role: "gridcell",colSpan: e.collection.columnCount,style: { padding: 0 }@@ -42255,9 +42255,9 @@ function Che() {ref: r})));}-lw(mS, function(e, t, n) {- let r = (0, F.useContext)(Xz), { isVirtualized: i } = (0, F.useContext)(PL), { isLoading: a, onLoadMore: o, scrollOffset: s, ...c } = e, l = r.collection.columns.length, u = (0, F.useRef)(null);- nz((0, F.useMemo)(() => ({+cw(pS, function(e, t, n) {+ let r = (0, F.useContext)(Yz), { isVirtualized: i } = (0, F.useContext)(NL), { isLoading: a, onLoadMore: o, scrollOffset: s, ...c } = e, l = r.collection.columns.length, u = (0, F.useRef)(null);+ tz((0, F.useMemo)(() => ({onLoadMore: o,collection: r?.collection,sentinelRef: u,@@ -42267,7 +42267,7 @@ lw(mS, function(e, t, n) {s,r?.collection]), u);- let d = SL({+ let d = xL({...c,id: void 0,children: n.rendered,@@ -42275,10 +42275,10 @@ lw(mS, 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__*/ F.createElement(F.Fragment, null, /*#__PURE__*/ F.createElement(oB, {+ return i ? (p["aria-colspan"] = l, m = { display: "contents" }) : p.colSpan = l, /*#__PURE__*/ F.createElement(F.Fragment, null, /*#__PURE__*/ F.createElement(aB, {style: { height: 0 },- inert: GR(!0)- }, /*#__PURE__*/ F.createElement(cB, { style: {+ inert: WR(!0)+ }, /*#__PURE__*/ F.createElement(sB, { style: {padding: 0,border: 0} }, /*#__PURE__*/ F.createElement("div", {@@ -42289,22 +42289,22 @@ lw(mS, function(e, t, n) {height: 1,width: 1}- }))), a && d.children && /*#__PURE__*/ F.createElement(oB, {- ...K(Uw(e, { global: !0 }), f),+ }))), a && d.children && /*#__PURE__*/ F.createElement(aB, {+ ...K(Hw(e, { global: !0 }), f),...d,role: "row",ref: t,"aria-level": n.level + 1,"data-level": n.level + 1- }, /*#__PURE__*/ F.createElement(cB, {+ }, /*#__PURE__*/ F.createElement(sB, {role: "rowheader",...p,style: m}, d.children)));});// node_modules/react-stately/dist/private/list/useSingleSelectListState.mjs-function whe(e) {- let [t, n] = tE(e.selectedKey, e.defaultSelectedKey ?? null, e.onSelectionChange), r = (0, F.useMemo)(() => t == null ? [] : [t], [t]), { collection: i, disabledKeys: a, selectionManager: o } = ez({+function The(e) {+ let [t, n] = eE(e.selectedKey, e.defaultSelectedKey ?? null, e.onSelectionChange), r = (0, F.useMemo)(() => t == null ? [] : [t], [t]), { collection: i, disabledKeys: a, selectionManager: o } = $R({...e,selectionMode: "single",disallowEmptySelection: !0,@@ -42326,24 +42326,24 @@ function whe(e) {};}// node_modules/react-stately/dist/private/tabs/useTabListState.mjs-function The(e) {- let t = whe({+function Ehe(e) {+ let t = The({...e,onSelectionChange: e.onSelectionChange ? (t) => {t != null && e.onSelectionChange?.(t);} : void 0,suppressTextValueWarning: !0,- defaultSelectedKey: e.defaultSelectedKey ?? uB(e.collection, e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set()) ?? void 0+ defaultSelectedKey: e.defaultSelectedKey ?? lB(e.collection, e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set()) ?? void 0}), { selectionManager: n, collection: r, selectedKey: i } = t, a = (0, F.useRef)(i);return (0, F.useEffect)(() => {let o = i;- e.selectedKey == null && (n.isEmpty || o == null || !r.getItem(o)) && (o = uB(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 = lB(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 uB(e, t) {+function lB(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);@@ -42352,24 +42352,24 @@ function uB(e, t) {return n;}// node_modules/react-aria-components/dist/private/Tabs.mjs-var dB = /*#__PURE__*/ (0, F.createContext)(null), fB = /*#__PURE__*/ (0, F.createContext)(null), Ehe = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {- [e, t] = wL(e, t, dB);+var uB = /*#__PURE__*/ (0, F.createContext)(null), dB = /*#__PURE__*/ (0, F.createContext)(null), Dhe = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {+ [e, t] = CL(e, t, uB);let { children: n, orientation: r = "horizontal" } = e;return n = (0, F.useMemo)(() => typeof n == "function" ? n({orientation: r,defaultChildren: null- }) : n, [n, r]), /*#__PURE__*/ F.createElement(ow, { content: n }, (n) => /*#__PURE__*/ F.createElement(Dhe, {+ }) : n, [n, r]), /*#__PURE__*/ F.createElement(aw, { content: n }, (n) => /*#__PURE__*/ F.createElement(Ohe, {props: e,collection: n,tabsRef: t}));});-function Dhe({ props: e, tabsRef: t, collection: n }) {- let { orientation: r = "horizontal" } = e, i = The({+function Ohe({ props: e, tabsRef: t, collection: n }) {+ let { orientation: r = "horizontal" } = e, i = Ehe({...e,collection: n,children: void 0- }), { focusProps: a, isFocused: o, isFocusVisible: s } = kD({ within: !0 }), c = (0, F.useMemo)(() => ({+ }), { focusProps: a, isFocused: o, isFocusVisible: s } = OD({ within: !0 }), c = (0, F.useMemo)(() => ({orientation: r,isFocusWithin: o,isFocusVisible: s@@ -42377,12 +42377,12 @@ function Dhe({ props: e, tabsRef: t, collection: n }) {r,o,s- ]), l = SL({+ ]), l = xL({...e,defaultClassName: "react-aria-Tabs",values: c- }), u = Uw(e, { global: !0 });- return /*#__PURE__*/ F.createElement(OL.div, {+ }), u = Hw(e, { global: !0 });+ return /*#__PURE__*/ F.createElement(DL.div, {...K(u, l, a),ref: t,slot: e.slot || void 0,@@ -42390,20 +42390,20 @@ function Dhe({ props: e, tabsRef: t, collection: n }) {"data-orientation": r,"data-focus-visible": s || void 0,"data-disabled": i.isDisabled || void 0- }, /*#__PURE__*/ F.createElement(xL, { values: [[dB, e], [fB, i]] }, l.children));+ }, /*#__PURE__*/ F.createElement(bL, { values: [[uB, e], [dB, i]] }, l.children));}-var pB = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {- return (0, F.useContext)(fB) ? /*#__PURE__*/ F.createElement(Ohe, {+var fB = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {+ return (0, F.useContext)(dB) ? /*#__PURE__*/ F.createElement(khe, {props: e,forwardedRef: t- }) : /*#__PURE__*/ F.createElement(pw, e);+ }) : /*#__PURE__*/ F.createElement(fw, e);});-function Ohe({ props: e, forwardedRef: t }) {- let n = (0, F.useContext)(fB), { CollectionRoot: r } = (0, F.useContext)(PL), { orientation: i = "horizontal", keyboardActivation: a = "automatic" } = CL(dB), o = XC(t), { tabListProps: s } = Kce({+function khe({ props: e, forwardedRef: t }) {+ let n = (0, F.useContext)(dB), { CollectionRoot: r } = (0, F.useContext)(NL), { orientation: i = "horizontal", keyboardActivation: a = "automatic" } = SL(uB), o = YC(t), { tabListProps: s } = qce({...e,orientation: i,keyboardActivation: a- }, n, o), c = SL({+ }, n, o), c = xL({...e,children: null,defaultClassName: "react-aria-TabList",@@ -42411,30 +42411,30 @@ function Ohe({ props: e, forwardedRef: t }) {orientation: i,state: n}- }), l = Uw(e, { global: !0 });- return delete l.id, /*#__PURE__*/ F.createElement(OL.div, {+ }), l = Hw(e, { global: !0 });+ return delete l.id, /*#__PURE__*/ F.createElement(DL.div, {...K(l, c, s),ref: o,"data-orientation": i || void 0- }, /*#__PURE__*/ F.createElement(HR, null, /*#__PURE__*/ F.createElement(r, {+ }, /*#__PURE__*/ F.createElement(VR, null, /*#__PURE__*/ F.createElement(r, {collection: n.collection,- persistedKeys: FL(n.selectionManager.focusedKey)+ persistedKeys: PL(n.selectionManager.focusedKey)})));}-var khe = /*#__PURE__*/ lw(class extends fS {+var Ahe = /*#__PURE__*/ cw(class extends dS {static {this.type = "item";}}, (e, t, n) => {- let r = (0, F.useContext)(fB), i = XC(t), { tabProps: a, isSelected: o, isDisabled: s, isPressed: c } = Wce({+ let r = (0, F.useContext)(dB), i = YC(t), { tabProps: a, isSelected: o, isDisabled: s, isPressed: c } = Gce({key: n.key,...e- }, r, i), { focusProps: l, isFocused: u, isFocusVisible: d } = kD(), { hoverProps: f, isHovered: p } = ND({+ }, r, i), { focusProps: l, isFocused: u, isFocusVisible: d } = OD(), { hoverProps: f, isHovered: p } = MD({isDisabled: s,onHoverStart: e.onHoverStart,onHoverEnd: e.onHoverEnd,onHoverChange: e.onHoverChange- }), m = SL({+ }), m = xL({...e,id: void 0,children: n.rendered,@@ -42447,7 +42447,7 @@ var khe = /*#__PURE__*/ lw(class extends fS {isPressed: c,isHovered: p}- }), h = n.props.href ? OL.a : OL.div, g = Uw(e, { global: !0 });+ }), h = n.props.href ? DL.a : DL.div, g = Hw(e, { global: !0 });return delete g.id, delete g.onClick, /*#__PURE__*/ F.createElement(h, {...K(g, m, a, l, f),ref: i,@@ -42457,54 +42457,54 @@ var khe = /*#__PURE__*/ lw(class extends fS {"data-focus-visible": d || void 0,"data-pressed": c || void 0,"data-hovered": p || void 0- }, /*#__PURE__*/ F.createElement(UR.Provider, { value: { isSelected: o } }, m.children));-}), Ahe = /*#__PURE__*/ tw(function(e, t) {- let n = (0, F.useContext)(fB), r = XC(t), i = n.selectedKey === e.id, [a, o] = (0, F.useState)(n.selectedKey == null ? null : i);+ }, /*#__PURE__*/ F.createElement(HR.Provider, { value: { isSelected: o } }, m.children));+}), jhe = /*#__PURE__*/ ew(function(e, t) {+ let n = (0, F.useContext)(dB), r = YC(t), i = n.selectedKey === e.id, [a, o] = (0, F.useState)(n.selectedKey == null ? null : i);a == null && n.selectedKey != null ? o(i) : !i && a && o(!1);- let s = cz(r, i);- return !i && !e.shouldForceMount && !s ? null : /*#__PURE__*/ F.createElement(jhe, {+ let s = sz(r, i);+ return !i && !e.shouldForceMount && !s ? null : /*#__PURE__*/ F.createElement(Mhe, {...e,tabPanelRef: r,isInitiallySelected: a || !1,isExiting: s});});-function jhe(e) {- let t = (0, F.useContext)(fB), { id: n, tabPanelRef: r, isInitiallySelected: i, isExiting: a, ...o } = e, { tabPanelProps: s } = qce(e, t, r), { focusProps: c, isFocused: l, isFocusVisible: u } = kD(), d = t.selectedKey === e.id, f = sz(r) && !i, p = SL({+function Mhe(e) {+ let t = (0, F.useContext)(dB), { id: n, tabPanelRef: r, isInitiallySelected: i, isExiting: a, ...o } = e, { tabPanelProps: s } = Jce(e, t, r), { focusProps: c, isFocused: l, isFocusVisible: u } = OD(), d = t.selectedKey === e.id, f = oz(r) && !i, p = xL({...e,defaultClassName: "react-aria-TabPanel",values: {isFocused: l,isFocusVisible: u,- isInert: GR(!d),+ isInert: WR(!d),isEntering: f,isExiting: a,state: t}- }), m = Uw(o, { global: !0 });+ }), m = Hw(o, { global: !0 });delete m.id;let h = d ? K(m, s, c, p) : K(m, p);- return /*#__PURE__*/ F.createElement(OL.div, {+ return /*#__PURE__*/ F.createElement(DL.div, {...h,ref: r,"data-focused": l || void 0,"data-focus-visible": u || void 0,- inert: GR(!d || e.inert),+ inert: WR(!d || e.inert),"data-inert": d ? void 0 : "true","data-entering": f || void 0,"data-exiting": a || void 0- }, /*#__PURE__*/ F.createElement(xL, { values: [[dB, null], [fB, null]] }, /*#__PURE__*/ F.createElement(PL.Provider, { value: ML }, p.children)));+ }, /*#__PURE__*/ F.createElement(bL, { values: [[uB, null], [dB, null]] }, /*#__PURE__*/ F.createElement(NL.Provider, { value: jL }, p.children)));}// node_modules/react-aria-components/dist/private/TextArea.mjs-var mB = /*#__PURE__*/ (0, F.createContext)({}), Mhe = (e) => {+var pB = /*#__PURE__*/ (0, F.createContext)({}), Nhe = (e) => {let { onHoverStart: t, onHoverChange: n, onHoverEnd: r, ...i } = e;return i;-}, Nhe = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {- [e, t] = wL(e, t, mB);- let { hoverProps: n, isHovered: r } = ND(e), { isFocused: i, isFocusVisible: a, focusProps: o } = kD({+}, Phe = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {+ [e, t] = CL(e, t, pB);+ let { hoverProps: n, isHovered: r } = MD(e), { isFocused: i, isFocusVisible: a, focusProps: o } = OD({isTextInput: !0,autoFocus: e.autoFocus- }), s = !!e["aria-invalid"] && e["aria-invalid"] !== "false", c = SL({+ }), s = !!e["aria-invalid"] && e["aria-invalid"] !== "false", c = xL({...e,values: {isHovered: r,@@ -42515,8 +42515,8 @@ var mB = /*#__PURE__*/ (0, F.createContext)({}), Mhe = (e) => {},defaultClassName: "react-aria-TextArea"});- return /*#__PURE__*/ F.createElement(OL.textarea, {- ...K(Mhe(e), o, n),+ return /*#__PURE__*/ F.createElement(DL.textarea, {+ ...K(Nhe(e), o, n),...c,ref: t,"data-focused": i || void 0,@@ -42525,18 +42525,18 @@ var mB = /*#__PURE__*/ (0, F.createContext)({}), Mhe = (e) => {"data-focus-visible": a || void 0,"data-invalid": s || void 0});-}), Phe = /*#__PURE__*/ (0, F.createContext)(null), Fhe = /*#__PURE__*/ tw(function(e, t) {- [e, t] = wL(e, t, Phe);- let { validationBehavior: n } = CL(WL) || {}, r = e.validationBehavior ?? n ?? "native", i = (0, F.useRef)(null);- [e, i] = wL(e, i, AL);- let [a, o] = TL(!e["aria-label"] && !e["aria-labelledby"]), [s, c] = (0, F.useState)("input"), { labelProps: l, inputProps: u, descriptionProps: d, errorMessageProps: f, ...p } = mse({- ...EL(e),+}), Fhe = /*#__PURE__*/ (0, F.createContext)(null), Ihe = /*#__PURE__*/ ew(function(e, t) {+ [e, t] = CL(e, t, Fhe);+ let { validationBehavior: n } = SL(UL) || {}, r = e.validationBehavior ?? n ?? "native", i = (0, F.useRef)(null);+ [e, i] = CL(e, i, kL);+ let [a, o] = wL(!e["aria-label"] && !e["aria-labelledby"]), [s, c] = (0, F.useState)("input"), { labelProps: l, inputProps: u, descriptionProps: d, errorMessageProps: f, ...p } = hse({+ ...TL(e),inputElementType: s,label: o,validationBehavior: r}, i), m = (0, F.useCallback)((e) => {i.current = e, e && c(e instanceof HTMLTextAreaElement ? "textarea" : "input");- }, [i]), h = SL({+ }, [i]), h = xL({...e,values: {isDisabled: e.isDisabled || !1,@@ -42545,8 +42545,8 @@ var mB = /*#__PURE__*/ (0, F.createContext)({}), Mhe = (e) => {isRequired: e.isRequired || !1},defaultClassName: "react-aria-TextField"- }), g = Uw(e, { global: !0 });- return delete g.id, /*#__PURE__*/ F.createElement(OL.div, {+ }), g = Hw(e, { global: !0 });+ return delete g.id, /*#__PURE__*/ F.createElement(DL.div, {...g,...h,ref: t,@@ -42555,31 +42555,31 @@ var mB = /*#__PURE__*/ (0, F.createContext)({}), Mhe = (e) => {"data-invalid": p.isInvalid || void 0,"data-readonly": e.isReadOnly || void 0,"data-required": e.isRequired || void 0- }, /*#__PURE__*/ F.createElement(xL, { values: [- [IL, {+ }, /*#__PURE__*/ F.createElement(bL, { values: [+ [FL, {...l,ref: a}],- [XL, {+ [YL, {...u,ref: m}],- [mB, {+ [pB, {...u,ref: m}],- [JL, {+ [qL, {role: "presentation",isInvalid: p.isInvalid,isDisabled: e.isDisabled || !1}],- [HL, { slots: {+ [VL, { slots: {description: d,errorMessage: f} }],- [UL, p]+ [HL, p]] }, h.children));-}), Ihe = class e extends gS {+}), Lhe = class e extends hS {withExpandedKeys(t, n) {let r = this.clone();return r.expandedKeys = n, e.cloneAncestorSections(n, t, r), e.cloneAncestorSections(t, n, r), r.frozen = this.frozen, r;@@ -42651,16 +42651,16 @@ var mB = /*#__PURE__*/ (0, F.createContext)({}), Mhe = (e) => {constructor(...e) {super(...e), this.expandedKeys = /* @__PURE__ */ new Set();}-}, Lhe = /*#__PURE__*/ (0, F.createContext)(null), hB = /*#__PURE__*/ (0, F.createContext)(null), Rhe = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {- return [e, t] = wL(e, t, Lhe), /*#__PURE__*/ F.createElement(ow, {- content: /*#__PURE__*/ F.createElement(pw, e),- createCollection: () => new Ihe()- }, (n) => /*#__PURE__*/ F.createElement(zhe, {+}, Rhe = /*#__PURE__*/ (0, F.createContext)(null), mB = /*#__PURE__*/ (0, F.createContext)(null), zhe = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {+ return [e, t] = CL(e, t, Rhe), /*#__PURE__*/ F.createElement(aw, {+ content: /*#__PURE__*/ F.createElement(fw, e),+ createCollection: () => new Lhe()+ }, (n) => /*#__PURE__*/ F.createElement(Bhe, {props: e,collection: n,treeRef: t}));-}), gB = {+}), hB = {expand: {ltr: "ArrowRight",rtl: "ArrowLeft"@@ -42670,17 +42670,17 @@ var mB = /*#__PURE__*/ (0, F.createContext)({}), Mhe = (e) => {rtl: "ArrowRight"}};-function zhe({ props: e, collection: t, treeRef: n }) {- let { dragAndDropHooks: r } = e, { direction: i } = Fw(), a = SD({+function Bhe({ props: e, collection: t, treeRef: n }) {+ let { dragAndDropHooks: r } = e, { direction: i } = Pw(), a = xD({usage: "search",sensitivity: "base"}), o = !!r?.useDraggableCollectionState, s = !!r?.useDroppableCollectionState, c = (0, F.useRef)(o), l = (0, F.useRef)(s);(0, F.useEffect)(() => {c.current !== o && console.warn("Drag hooks were provided during one render, but not another. This should be avoided as it may produce unexpected behavior."), l.current !== s && console.warn("Drop hooks were provided during one render, but not another. This should be avoided as it may produce unexpected behavior.");}, [o, s]);- let { selectionMode: u = "none", expandedKeys: d, defaultExpandedKeys: f, onExpandedChange: p, disabledBehavior: m = "all" } = e, { CollectionRoot: h, isVirtualized: g, layoutDelegate: _, dropTargetDelegate: v } = (0, F.useContext)(PL), [y, b] = tE(d ? new Set(d) : void 0, f ? new Set(f) : /* @__PURE__ */ new Set(), p), [x, S] = (0, F.useState)(t), [C, w] = (0, F.useState)(y), [T, E] = (0, F.useState)(() => t.withExpandedKeys(C, y));- Khe(C, y) && t === x || (E(t.withExpandedKeys(C, y)), S(t), w(y));- let D = mz({+ let { selectionMode: u = "none", expandedKeys: d, defaultExpandedKeys: f, onExpandedChange: p, disabledBehavior: m = "all" } = e, { CollectionRoot: h, isVirtualized: g, layoutDelegate: _, dropTargetDelegate: v } = (0, F.useContext)(NL), [y, b] = eE(d ? new Set(d) : void 0, f ? new Set(f) : /* @__PURE__ */ new Set(), p), [x, S] = (0, F.useState)(t), [C, w] = (0, F.useState)(y), [T, E] = (0, F.useState)(() => t.withExpandedKeys(C, y));+ qhe(C, y) && t === x || (E(t.withExpandedKeys(C, y)), S(t), w(y));+ let D = pz({...e,selectionMode: u,expandedKeys: y,@@ -42688,7 +42688,7 @@ function zhe({ props: e, collection: t, treeRef: n }) {collection: T,children: void 0,disabledBehavior: m- }), { gridProps: O } = Jce({+ }), { gridProps: O } = Yce({...e,isVirtualized: g,layoutDelegate: _@@ -42702,7 +42702,7 @@ function zhe({ props: e, collection: t, treeRef: n }) {let e = r.DragPreview;ee = r.renderDragPreview ? /*#__PURE__*/ F.createElement(e, { ref: N }, r.renderDragPreview) : null;}- let [te] = (0, F.useState)(() => new Hz());+ let [te] = (0, F.useState)(() => new Vz());if (s && r) {A = r.useDroppableCollectionState({collection: D.collection,@@ -42710,7 +42710,7 @@ function zhe({ props: e, collection: t, treeRef: n }) {});let e = r.dropTargetDelegate || v || new r.ListDropTargetDelegate(D.collection, n, { direction: i });te.setup(e, D, i);- let t = new wE({+ let t = new CE({collection: D.collection,collator: a,ref: n,@@ -42732,12 +42732,12 @@ function zhe({ props: e, collection: t, treeRef: n }) {let t = A?.target;if (t && t.type === "item" && t.dropPosition === "on") {let n = D.collection.getItem(t.key);- (e.key === gB.expand[i] && n?.hasChildNodes && !D.expandedKeys.has(t.key) || e.key === gB.collapse[i] && n?.hasChildNodes && D.expandedKeys.has(t.key)) && D.toggleKey(t.key);+ (e.key === hB.expand[i] && n?.hasChildNodes && !D.expandedKeys.has(t.key) || e.key === hB.collapse[i] && n?.hasChildNodes && D.expandedKeys.has(t.key)) && D.toggleKey(t.key);}}}, A, n), M = A.isDropTarget({ type: "root" });}- let P = !(!o || k?.isDisabled), { focusProps: ne, isFocused: re, isFocusVisible: I } = kD(), ie = {+ let P = !(!o || k?.isDisabled), { focusProps: ne, isFocused: re, isFocusVisible: I } = OD(), ie = {isEmpty: D.collection.size === 0,isFocused: re,isFocusVisible: I,@@ -42745,7 +42745,7 @@ function zhe({ props: e, collection: t, treeRef: n }) {selectionMode: D.selectionManager.selectionMode,allowsDragging: !!P,state: D- }, ae = SL({+ }, ae = xL({...e,children: void 0,defaultClassName: "react-aria-Tree",@@ -42762,8 +42762,8 @@ function zhe({ props: e, collection: t, treeRef: n }) {style: { display: "contents" }}, r));}- let se = Uw(e, { global: !0 });- return /*#__PURE__*/ F.createElement(F.Fragment, null, /*#__PURE__*/ F.createElement(pT, null, /*#__PURE__*/ F.createElement(OL.div, {+ let se = Hw(e, { global: !0 });+ return /*#__PURE__*/ F.createElement(F.Fragment, null, /*#__PURE__*/ F.createElement(fT, null, /*#__PURE__*/ F.createElement(DL.div, {...K(se, ae, O, ne, j?.collectionProps),ref: n,slot: e.slot || void 0,@@ -42773,54 +42773,54 @@ function zhe({ props: e, collection: t, treeRef: n }) {"data-focus-visible": I || void 0,"data-selection-mode": D.selectionManager.selectionMode === "none" ? void 0 : D.selectionManager.selectionMode,"data-allows-dragging": !!P || void 0- }, /*#__PURE__*/ F.createElement(xL, { values: [- [hB, D],- [LR, {+ }, /*#__PURE__*/ F.createElement(bL, { values: [+ [mB, D],+ [IR, {dragAndDropHooks: r,dragState: k,dropState: A}],- [RR, { render: Hhe }]- ] }, s && /*#__PURE__*/ F.createElement(Ghe, null), /*#__PURE__*/ F.createElement(HR, null, /*#__PURE__*/ F.createElement(h, {+ [LR, { render: Uhe }]+ ] }, s && /*#__PURE__*/ F.createElement(Khe, null), /*#__PURE__*/ F.createElement(VR, null, /*#__PURE__*/ F.createElement(h, {collection: D.collection,- persistedKeys: BR(D.selectionManager, r, A),+ persistedKeys: zR(D.selectionManager, r, A),scrollRef: n,- renderDropIndicator: zR(r, A)+ renderDropIndicator: RR(r, A)}))), oe)), ee);}-var Bhe = /*#__PURE__*/ lw(class extends fS {+var Vhe = /*#__PURE__*/ cw(class extends dS {static {this.type = "content";}}, function(e) {- let t = (0, F.useContext)(_B), n = SL({+ let t = (0, F.useContext)(gB), n = xL({children: e.children,values: t});- return /*#__PURE__*/ F.createElement(PL.Provider, { value: ML }, n.children);-}), _B = /*#__PURE__*/ (0, F.createContext)(null), Vhe = /*#__PURE__*/ uw(class extends fS {+ return /*#__PURE__*/ F.createElement(NL.Provider, { value: jL }, n.children);+}), gB = /*#__PURE__*/ (0, F.createContext)(null), Hhe = /*#__PURE__*/ lw(class extends dS {static {this.type = "item";}}, (e, t, n) => {- let r = (0, F.useContext)(hB);- t = XC(t);- let { dragAndDropHooks: i, dragState: a, dropState: o } = (0, F.useContext)(LR), s = a && !(a.isDisabled || a.selectionManager.isDisabled(n.key)), { rowProps: c, gridCellProps: l, expandButtonProps: u, descriptionProps: d, ...f } = bj({+ let r = (0, F.useContext)(mB);+ t = YC(t);+ let { dragAndDropHooks: i, dragState: a, dropState: o } = (0, F.useContext)(IR), s = a && !(a.isDisabled || a.selectionManager.isDisabled(n.key)), { rowProps: c, gridCellProps: l, expandButtonProps: u, descriptionProps: d, ...f } = yj({node: n,shouldSelectOnPressUp: !!a,focusMode: e.focusMode,allowsArrowNavigation: e.allowsArrowNavigation- }, r, t), p = c["aria-expanded"] === !0, m = e.hasChildItems || [...r.collection.getChildren(n.key)].length > 1, h = c["aria-level"] || 1, { hoverProps: g, isHovered: _ } = ND({+ }, r, t), p = c["aria-expanded"] === !0, m = e.hasChildItems || [...r.collection.getChildren(n.key)].length > 1, h = c["aria-level"] || 1, { hoverProps: g, isHovered: _ } = MD({isDisabled: !f.allowsSelection && !f.hasAction && !s,onHoverStart: e.onHoverStart,onHoverChange: e.onHoverChange,onHoverEnd: e.onHoverEnd- }), { isFocusVisible: v, focusProps: y } = kD(), { isFocusVisible: b, focusProps: x } = kD({ within: !0 }), { checkboxProps: S } = Use({ key: n.key }, r), C = null;+ }), { isFocusVisible: v, focusProps: y } = OD(), { isFocusVisible: b, focusProps: x } = OD({ within: !0 }), { checkboxProps: S } = Wse({ key: n.key }, r), C = null;a && i && (C = i.useDraggableItem({key: n.key,hasDragButton: !0}, a));- let w = null, T = (0, F.useRef)(null), E = (0, F.useRef)(null), D = (0, F.useRef)(null), { visuallyHiddenProps: O } = uE();+ let w = null, T = (0, F.useRef)(null), E = (0, F.useRef)(null), D = (0, F.useRef)(null), { visuallyHiddenProps: O } = lE();o && i && (w = i.useDropIndicator({target: {type: "item",@@ -42859,7 +42859,7 @@ var Bhe = /*#__PURE__*/ lw(class extends fS {A,M,j- ]), N = SL({+ ]), N = xL({...e,id: void 0,children: n.rendered,@@ -42876,7 +42876,7 @@ var Bhe = /*#__PURE__*/ lw(class extends fS {(0, F.useEffect)(() => {a && te.current;}, []);- let P = bS({+ let P = yS({items: r.collection.getChildren(n.key),children: (e) => {switch (e.type) {@@ -42886,7 +42886,7 @@ var Bhe = /*#__PURE__*/ lw(class extends fS {default: throw Error("Unsupported element type in TreeRow: " + e.type);}}- }), ne = zC(), re = Uw(e, { global: !0 });+ }), ne = RC(), re = Hw(e, { global: !0 });return delete re.id, delete re.onClick, /*#__PURE__*/ F.createElement(F.Fragment, null, w && !w.isHidden && /*#__PURE__*/ F.createElement("div", {role: "row","aria-level": c["aria-level"],@@ -42909,7 +42909,7 @@ var Bhe = /*#__PURE__*/ lw(class extends fS {"aria-labelledby": `${ne} ${c.id}`,tabIndex: -1,ref: D- }))), /*#__PURE__*/ F.createElement(OL.div, {+ }))), /*#__PURE__*/ F.createElement(DL.div, {...K(re, c, y, g, x, C?.dragProps),...N,ref: t,@@ -42929,17 +42929,17 @@ var Bhe = /*#__PURE__*/ lw(class extends fS {}, /*#__PURE__*/ F.createElement("div", {...l,style: { display: "contents" }- }, /*#__PURE__*/ F.createElement(xL, { values: [- [GL, { slots: {- [bL]: {},+ }, /*#__PURE__*/ F.createElement(bL, { values: [+ [WL, { slots: {+ [yL]: {},selection: S} }],- [KL, { slots: {- [bL]: {},+ [GL, { slots: {+ [yL]: {},selection: S} }],- [RL, { slots: {- [bL]: {},+ [LL, { slots: {+ [yL]: {},chevron: {...u,ref: T@@ -42950,13 +42950,13 @@ var Bhe = /*#__PURE__*/ lw(class extends fS {style: { pointerEvents: "none" }}} }],- [_B, { ...ee }],- [UR, { isSelected: f.isSelected }]+ [gB, { ...ee }],+ [HR, { isSelected: f.isSelected }]] }, P))));});-lw(mS, function(e, t, n) {- let { isVirtualized: r } = (0, F.useContext)(PL), i = (0, F.useContext)(hB), { isLoading: a, onLoadMore: o, scrollOffset: s, ...c } = e, l = (0, F.useRef)(null);- nz((0, F.useMemo)(() => ({+cw(pS, function(e, t, n) {+ let { isVirtualized: r } = (0, F.useContext)(NL), i = (0, F.useContext)(mB), { isLoading: a, onLoadMore: o, scrollOffset: s, ...c } = e, l = (0, F.useRef)(null);+ tz((0, F.useMemo)(() => ({onLoadMore: o,collection: i?.collection,sentinelRef: l,@@ -42965,11 +42965,11 @@ lw(mS, function(e, t, n) {o,s,i?.collection- ]), l), t = XC(t);- let { rowProps: u, gridCellProps: d } = bj({ node: n }, i, t), f = u["aria-level"] || 1, p = {+ ]), l), t = YC(t);+ let { rowProps: u, gridCellProps: d } = yj({ node: n }, i, t), f = u["aria-level"] || 1, p = {role: "row","aria-level": u["aria-level"]- }, m = SL({+ }, m = xL({...c,id: void 0,children: n.rendered,@@ -42982,7 +42982,7 @@ lw(mS, function(e, t, n) {width: 0,height: 0},- inert: GR(!0)+ inert: WR(!0)}, /*#__PURE__*/ F.createElement("div", {"data-testid": "loadMoreSentinel",ref: l,@@ -42991,9 +42991,9 @@ lw(mS, function(e, t, n) {height: 1,width: 1}- })), a && m.children && /*#__PURE__*/ F.createElement(OL.div, {+ })), a && m.children && /*#__PURE__*/ F.createElement(DL.div, {ref: t,- ...K(Uw(e), p),+ ...K(Hw(e), p),...m,"data-level": f}, /*#__PURE__*/ F.createElement("div", {@@ -43001,12 +43001,12 @@ lw(mS, function(e, t, n) {style: h}, m.children)));});-function Hhe(e, t) {- t = XC(t);- let { dragAndDropHooks: n, dropState: r } = (0, F.useContext)(LR), i = (0, F.useRef)(null), { dropIndicatorProps: a, isHidden: o, isDropTarget: s } = n.useDropIndicator(e, r, i);+function Uhe(e, t) {+ t = YC(t);+ let { dragAndDropHooks: n, dropState: r } = (0, F.useContext)(IR), i = (0, F.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__*/ F.createElement(Whe, {+ return /*#__PURE__*/ F.createElement(Ghe, {...e,dropIndicatorProps: a,isDropTarget: s,@@ -43015,8 +43015,8 @@ function Hhe(e, t) {level: c});}-function Uhe(e, t) {- let { dropIndicatorProps: n, isDropTarget: r, buttonRef: i, level: a, ...o } = e, { visuallyHiddenProps: s } = uE(), c = SL({+function Whe(e, t) {+ let { dropIndicatorProps: n, isDropTarget: r, buttonRef: i, level: a, ...o } = e, { visuallyHiddenProps: s } = lE(), c = xL({...o,defaultClassName: "react-aria-DropIndicator",defaultStyle: {@@ -43025,7 +43025,7 @@ function Uhe(e, t) {},values: { isDropTarget: r }});- return /*#__PURE__*/ F.createElement(OL.div, {+ return /*#__PURE__*/ F.createElement(DL.div, {...c,role: "row","aria-level": a,@@ -43038,9 +43038,9 @@ function Uhe(e, t) {ref: i}), c.children));}-var Whe = /*#__PURE__*/ (0, F.forwardRef)(Uhe);-function Ghe() {- let { dragAndDropHooks: e, dropState: t } = (0, F.useContext)(LR), n = (0, F.useRef)(null), { dropIndicatorProps: r } = e.useDropIndicator({ target: { type: "root" } }, t, n), i = t.isDropTarget({ type: "root" }), { visuallyHiddenProps: a } = uE();+var Ghe = /*#__PURE__*/ (0, F.forwardRef)(Whe);+function Khe() {+ let { dragAndDropHooks: e, dropState: t } = (0, F.useContext)(IR), n = (0, F.useRef)(null), { dropIndicatorProps: r } = e.useDropIndicator({ target: { type: "root" } }, t, n), i = t.isDropTarget({ type: "root" }), { visuallyHiddenProps: a } = lE();return !i && r["aria-hidden"] ? null : /*#__PURE__*/ F.createElement("div", {role: "row","aria-hidden": r["aria-hidden"],@@ -43052,13 +43052,13 @@ function Ghe() {ref: n})));}-function Khe(e, t) {+function qhe(e, t) {if (e.size !== t.size) return !1;for (let n of e) if (!t.has(n)) return !1;return !0;}// node_modules/@remixicon/react/index.mjs-var qhe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+var Jhe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43066,7 +43066,7 @@ var qhe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.createElement("path", { d: "M11 11V5H13V11H19V13H13V19H11V13H5V11H11Z" })), Jhe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.createElement("path", { d: "M11 11V5H13V11H19V13H13V19H11V13H5V11H11Z" })), Yhe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43074,7 +43074,7 @@ var qhe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.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" })), vB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.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" })), _B = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43082,7 +43082,7 @@ var qhe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.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" })), yB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.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" })), vB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43090,7 +43090,7 @@ var qhe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.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" })), bB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.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" })), yB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43098,7 +43098,7 @@ var qhe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.createElement("path", { d: "M13.1717 12.0007L8.22192 7.05093L9.63614 5.63672L16.0001 12.0007L9.63614 18.3646L8.22192 16.9504L13.1717 12.0007Z" })), Yhe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.createElement("path", { d: "M13.1717 12.0007L8.22192 7.05093L9.63614 5.63672L16.0001 12.0007L9.63614 18.3646L8.22192 16.9504L13.1717 12.0007Z" })), Xhe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43106,7 +43106,7 @@ var qhe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.createElement("path", { d: "M13.0001 7.82843V20H11.0001V7.82843L5.63614 13.1924L4.22192 11.7782L12.0001 4L19.7783 11.7782L18.3641 13.1924L13.0001 7.82843Z" })), xB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.createElement("path", { d: "M13.0001 7.82843V20H11.0001V7.82843L5.63614 13.1924L4.22192 11.7782L12.0001 4L19.7783 11.7782L18.3641 13.1924L13.0001 7.82843Z" })), bB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43114,7 +43114,7 @@ var qhe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.createElement("path", { d: "M11.9999 10.8284L7.0502 15.7782L5.63599 14.364L11.9999 8L18.3639 14.364L16.9497 15.7782L11.9999 10.8284Z" })), SB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.createElement("path", { d: "M11.9999 10.8284L7.0502 15.7782L5.63599 14.364L11.9999 8L18.3639 14.364L16.9497 15.7782L11.9999 10.8284Z" })), xB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43122,7 +43122,7 @@ var qhe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.createElement("path", { d: "M3 12H5V21H3V12ZM19 8H21V21H19V8ZM11 2H13V21H11V2Z" })), CB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.createElement("path", { d: "M3 12H5V21H3V12ZM19 8H21V21H19V8ZM11 2H13V21H11V2Z" })), SB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43130,7 +43130,7 @@ var qhe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.createElement("path", { d: "M5 2H19C19.5523 2 20 2.44772 20 3V22.1433C20 22.4194 19.7761 22.6434 19.5 22.6434C19.4061 22.6434 19.314 22.6168 19.2344 22.5669L12 18.0313L4.76559 22.5669C4.53163 22.7136 4.22306 22.6429 4.07637 22.4089C4.02647 22.3293 4 22.2373 4 22.1433V3C4 2.44772 4.44772 2 5 2ZM18 4H6V19.4324L12 15.6707L18 19.4324V4Z" })), Xhe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.createElement("path", { d: "M5 2H19C19.5523 2 20 2.44772 20 3V22.1433C20 22.4194 19.7761 22.6434 19.5 22.6434C19.4061 22.6434 19.314 22.6168 19.2344 22.5669L12 18.0313L4.76559 22.5669C4.53163 22.7136 4.22306 22.6429 4.07637 22.4089C4.02647 22.3293 4 22.2373 4 22.1433V3C4 2.44772 4.44772 2 5 2ZM18 4H6V19.4324L12 15.6707L18 19.4324V4Z" })), Zhe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43138,7 +43138,7 @@ var qhe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.createElement("path", { d: "M21 19H23V21H1V19H3V4C3 3.44772 3.44772 3 4 3H14C14.5523 3 15 3.44772 15 4V19H19V11H17V9H20C20.5523 9 21 9.44772 21 10V19ZM5 5V19H13V5H5ZM7 11H11V13H7V11ZM7 7H11V9H7V7Z" })), Zhe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.createElement("path", { d: "M21 19H23V21H1V19H3V4C3 3.44772 3.44772 3 4 3H14C14.5523 3 15 3.44772 15 4V19H19V11H17V9H20C20.5523 9 21 9.44772 21 10V19ZM5 5V19H13V5H5ZM7 11H11V13H7V11ZM7 7H11V9H7V7Z" })), Qhe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43146,7 +43146,7 @@ var qhe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.createElement("path", { d: "M9 1V3H15V1H17V3H21C21.5523 3 22 3.44772 22 4V20C22 20.5523 21.5523 21 21 21H3C2.44772 21 2 20.5523 2 20V4C2 3.44772 2.44772 3 3 3H7V1H9ZM20 11H4V19H20V11ZM7 5H4V9H20V5H17V7H15V5H9V7H7V5Z" })), Qhe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.createElement("path", { d: "M9 1V3H15V1H17V3H21C21.5523 3 22 3.44772 22 4V20C22 20.5523 21.5523 21 21 21H3C2.44772 21 2 20.5523 2 20V4C2 3.44772 2.44772 3 3 3H7V1H9ZM20 11H4V19H20V11ZM7 5H4V9H20V5H17V7H15V5H9V7H7V5Z" })), $he = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43154,7 +43154,7 @@ var qhe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.createElement("path", { d: "M7.29117 20.8242L2 22L3.17581 16.7088C2.42544 15.3056 2 13.7025 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22C10.2975 22 8.6944 21.5746 7.29117 20.8242ZM7.58075 18.711L8.23428 19.0605C9.38248 19.6745 10.6655 20 12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 13.3345 4.32549 14.6175 4.93949 15.7657L5.28896 16.4192L4.63416 19.3658L7.58075 18.711Z" })), $he = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.createElement("path", { d: "M7.29117 20.8242L2 22L3.17581 16.7088C2.42544 15.3056 2 13.7025 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22C10.2975 22 8.6944 21.5746 7.29117 20.8242ZM7.58075 18.711L8.23428 19.0605C9.38248 19.6745 10.6655 20 12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 13.3345 4.32549 14.6175 4.93949 15.7657L5.28896 16.4192L4.63416 19.3658L7.58075 18.711Z" })), ege = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43162,7 +43162,7 @@ var qhe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.createElement("path", { d: "M11.602 13.7599L13.014 15.1719L21.4795 6.7063L22.8938 8.12051L13.014 18.0003L6.65 11.6363L8.06421 10.2221L10.189 12.3469L11.6025 13.7594L11.602 13.7599ZM11.6037 10.9322L16.5563 5.97949L17.9666 7.38977L13.014 12.3424L11.6037 10.9322ZM8.77698 16.5873L7.36396 18.0003L1 11.6363L2.41421 10.2221L3.82723 11.6352L3.82604 11.6363L8.77698 16.5873Z" })), ege = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.createElement("path", { d: "M11.602 13.7599L13.014 15.1719L21.4795 6.7063L22.8938 8.12051L13.014 18.0003L6.65 11.6363L8.06421 10.2221L10.189 12.3469L11.6025 13.7594L11.602 13.7599ZM11.6037 10.9322L16.5563 5.97949L17.9666 7.38977L13.014 12.3424L11.6037 10.9322ZM8.77698 16.5873L7.36396 18.0003L1 11.6363L2.41421 10.2221L3.82723 11.6352L3.82604 11.6363L8.77698 16.5873Z" })), tge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43170,7 +43170,7 @@ var qhe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.createElement("path", { d: "M9.9997 15.1709L19.1921 5.97852L20.6063 7.39273L9.9997 17.9993L3.63574 11.6354L5.04996 10.2212L9.9997 15.1709Z" })), tge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.createElement("path", { d: "M9.9997 15.1709L19.1921 5.97852L20.6063 7.39273L9.9997 17.9993L3.63574 11.6354L5.04996 10.2212L9.9997 15.1709Z" })), nge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43178,7 +43178,7 @@ var qhe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.createElement("path", { d: "M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20Z" })), wB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.createElement("path", { d: "M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20Z" })), CB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43186,7 +43186,7 @@ var qhe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.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" })), TB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.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" })), wB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43194,7 +43194,7 @@ var qhe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.createElement("path", { d: "M11.9997 10.5865L16.9495 5.63672L18.3637 7.05093L13.4139 12.0007L18.3637 16.9504L16.9495 18.3646L11.9997 13.4149L7.04996 18.3646L5.63574 16.9504L10.5855 12.0007L5.63574 7.05093L7.04996 5.63672L11.9997 10.5865Z" })), nge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.createElement("path", { d: "M11.9997 10.5865L16.9495 5.63672L18.3637 7.05093L13.4139 12.0007L18.3637 16.9504L16.9495 18.3646L11.9997 13.4149L7.04996 18.3646L5.63574 16.9504L10.5855 12.0007L5.63574 7.05093L7.04996 5.63672L11.9997 10.5865Z" })), rge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43202,7 +43202,7 @@ var qhe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.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" })), EB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.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" })), TB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43210,7 +43210,7 @@ var qhe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.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 20ZM16.5 7.5L14 14L7.5 16.5L10 10L16.5 7.5ZM12 13C12.5523 13 13 12.5523 13 12C13 11.4477 12.5523 11 12 11C11.4477 11 11 11.4477 11 12C11 12.5523 11.4477 13 12 13Z" })), rge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.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 20ZM16.5 7.5L14 14L7.5 16.5L10 10L16.5 7.5ZM12 13C12.5523 13 13 12.5523 13 12C13 11.4477 12.5523 11 12 11C11.4477 11 11 11.4477 11 12C11 12.5523 11.4477 13 12 13Z" })), ige = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43218,7 +43218,7 @@ var qhe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.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" })), DB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.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" })), EB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43226,7 +43226,7 @@ var qhe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.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" })), ige = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.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" })), age = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43234,7 +43234,7 @@ var qhe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.createElement("path", { d: "M17 6H22V8H20V21C20 21.5523 19.5523 22 19 22H5C4.44772 22 4 21.5523 4 21V8H2V6H7V3C7 2.44772 7.44772 2 8 2H16C16.5523 2 17 2.44772 17 3V6ZM18 8H6V20H18V8ZM9 11H11V17H9V11ZM13 11H15V17H13V11ZM9 4V6H15V4H9Z" })), age = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.createElement("path", { d: "M17 6H22V8H20V21C20 21.5523 19.5523 22 19 22H5C4.44772 22 4 21.5523 4 21V8H2V6H7V3C7 2.44772 7.44772 2 8 2H16C16.5523 2 17 2.44772 17 3V6ZM18 8H6V20H18V8ZM9 11H11V17H9V11ZM13 11H15V17H13V11ZM9 4V6H15V4H9Z" })), oge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43242,7 +43242,7 @@ var qhe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.createElement("path", { d: "M13 13V18.585L14.8284 16.7574L16.2426 18.1716L12 22.4142L7.75736 18.1716L9.17157 16.7574L11 18.585V13H13ZM12 2C15.5934 2 18.5544 4.70761 18.9541 8.19395C21.2858 8.83154 23 10.9656 23 13.5C23 16.3688 20.8036 18.7246 18.0006 18.9776L18.0009 16.9644C19.6966 16.7214 21 15.2629 21 13.5C21 11.567 19.433 10 17.5 10C17.2912 10 17.0867 10.0183 16.8887 10.054C16.9616 9.7142 17 9.36158 17 9C17 6.23858 14.7614 4 12 4C9.23858 4 7 6.23858 7 9C7 9.36158 7.03838 9.7142 7.11205 10.0533C6.91331 10.0183 6.70879 10 6.5 10C4.567 10 3 11.567 3 13.5C3 15.2003 4.21241 16.6174 5.81986 16.934L6.00005 16.9646L6.00039 18.9776C3.19696 18.7252 1 16.3692 1 13.5C1 10.9656 2.71424 8.83154 5.04648 8.19411C5.44561 4.70761 8.40661 2 12 2Z" })), OB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.createElement("path", { d: "M13 13V18.585L14.8284 16.7574L16.2426 18.1716L12 22.4142L7.75736 18.1716L9.17157 16.7574L11 18.585V13H13ZM12 2C15.5934 2 18.5544 4.70761 18.9541 8.19395C21.2858 8.83154 23 10.9656 23 13.5C23 16.3688 20.8036 18.7246 18.0006 18.9776L18.0009 16.9644C19.6966 16.7214 21 15.2629 21 13.5C21 11.567 19.433 10 17.5 10C17.2912 10 17.0867 10.0183 16.8887 10.054C16.9616 9.7142 17 9.36158 17 9C17 6.23858 14.7614 4 12 4C9.23858 4 7 6.23858 7 9C7 9.36158 7.03838 9.7142 7.11205 10.0533C6.91331 10.0183 6.70879 10 6.5 10C4.567 10 3 11.567 3 13.5C3 15.2003 4.21241 16.6174 5.81986 16.934L6.00005 16.9646L6.00039 18.9776C3.19696 18.7252 1 16.3692 1 13.5C1 10.9656 2.71424 8.83154 5.04648 8.19411C5.44561 4.70761 8.40661 2 12 2Z" })), DB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43250,7 +43250,7 @@ var qhe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.createElement("path", { d: "M1 14.5C1 12.1716 2.22429 10.1291 4.06426 8.9812C4.56469 5.044 7.92686 2 12 2C16.0731 2 19.4353 5.044 19.9357 8.9812C21.7757 10.1291 23 12.1716 23 14.5C23 17.9216 20.3562 20.7257 17 20.9811L7 21C3.64378 20.7257 1 17.9216 1 14.5ZM16.8483 18.9868C19.1817 18.8093 21 16.8561 21 14.5C21 12.927 20.1884 11.4962 18.8771 10.6781L18.0714 10.1754L17.9517 9.23338C17.5735 6.25803 15.0288 4 12 4C8.97116 4 6.42647 6.25803 6.0483 9.23338L5.92856 10.1754L5.12288 10.6781C3.81156 11.4962 3 12.927 3 14.5C3 16.8561 4.81833 18.8093 7.1517 18.9868L7.325 19H16.675L16.8483 18.9868ZM13 12H16L12 17L8 12H11V8H13V12Z" })), oge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.createElement("path", { d: "M1 14.5C1 12.1716 2.22429 10.1291 4.06426 8.9812C4.56469 5.044 7.92686 2 12 2C16.0731 2 19.4353 5.044 19.9357 8.9812C21.7757 10.1291 23 12.1716 23 14.5C23 17.9216 20.3562 20.7257 17 20.9811L7 21C3.64378 20.7257 1 17.9216 1 14.5ZM16.8483 18.9868C19.1817 18.8093 21 16.8561 21 14.5C21 12.927 20.1884 11.4962 18.8771 10.6781L18.0714 10.1754L17.9517 9.23338C17.5735 6.25803 15.0288 4 12 4C8.97116 4 6.42647 6.25803 6.0483 9.23338L5.92856 10.1754L5.12288 10.6781C3.81156 11.4962 3 12.927 3 14.5C3 16.8561 4.81833 18.8093 7.1517 18.9868L7.325 19H16.675L16.8483 18.9868ZM13 12H16L12 17L8 12H11V8H13V12Z" })), sge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43258,7 +43258,7 @@ var qhe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.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" })), kB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.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" })), OB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43266,7 +43266,7 @@ var qhe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.createElement("path", { d: "M10 6V8H5V19H16V14H18V20C18 20.5523 17.5523 21 17 21H4C3.44772 21 3 20.5523 3 20V7C3 6.44772 3.44772 6 4 6H10ZM21 3V11H19L18.9999 6.413L11.2071 14.2071L9.79289 12.7929L17.5849 5H13V3H21Z" })), AB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.createElement("path", { d: "M10 6V8H5V19H16V14H18V20C18 20.5523 17.5523 21 17 21H4C3.44772 21 3 20.5523 3 20V7C3 6.44772 3.44772 6 4 6H10ZM21 3V11H19L18.9999 6.413L11.2071 14.2071L9.79289 12.7929L17.5849 5H13V3H21Z" })), kB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43274,7 +43274,7 @@ var qhe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.createElement("path", { d: "M12.0003 3C17.3924 3 21.8784 6.87976 22.8189 12C21.8784 17.1202 17.3924 21 12.0003 21C6.60812 21 2.12215 17.1202 1.18164 12C2.12215 6.87976 6.60812 3 12.0003 3ZM12.0003 19C16.2359 19 19.8603 16.052 20.7777 12C19.8603 7.94803 16.2359 5 12.0003 5C7.7646 5 4.14022 7.94803 3.22278 12C4.14022 16.052 7.7646 19 12.0003 19ZM12.0003 16.5C9.51498 16.5 7.50026 14.4853 7.50026 12C7.50026 9.51472 9.51498 7.5 12.0003 7.5C14.4855 7.5 16.5003 9.51472 16.5003 12C16.5003 14.4853 14.4855 16.5 12.0003 16.5ZM12.0003 14.5C13.381 14.5 14.5003 13.3807 14.5003 12C14.5003 10.6193 13.381 9.5 12.0003 9.5C10.6196 9.5 9.50026 10.6193 9.50026 12C9.50026 13.3807 10.6196 14.5 12.0003 14.5Z" })), sge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.createElement("path", { d: "M12.0003 3C17.3924 3 21.8784 6.87976 22.8189 12C21.8784 17.1202 17.3924 21 12.0003 21C6.60812 21 2.12215 17.1202 1.18164 12C2.12215 6.87976 6.60812 3 12.0003 3ZM12.0003 19C16.2359 19 19.8603 16.052 20.7777 12C19.8603 7.94803 16.2359 5 12.0003 5C7.7646 5 4.14022 7.94803 3.22278 12C4.14022 16.052 7.7646 19 12.0003 19ZM12.0003 16.5C9.51498 16.5 7.50026 14.4853 7.50026 12C7.50026 9.51472 9.51498 7.5 12.0003 7.5C14.4855 7.5 16.5003 9.51472 16.5003 12C16.5003 14.4853 14.4855 16.5 12.0003 16.5ZM12.0003 14.5C13.381 14.5 14.5003 13.3807 14.5003 12C14.5003 10.6193 13.381 9.5 12.0003 9.5C10.6196 9.5 9.50026 10.6193 9.50026 12C9.50026 13.3807 10.6196 14.5 12.0003 14.5Z" })), cge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43282,7 +43282,7 @@ var qhe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Ffill: e,...r,className: "remixicon " + (n || "")-}, F.createElement("path", { d: "M6.9998 6V3C6.9998 2.44772 7.44752 2 7.9998 2H19.9998C20.5521 2 20.9998 2.44772 20.9998 3V17C20.9998 17.5523 20.5521 18 19.9998 18H16.9998V20.9991C16.9998 21.5519 16.5499 22 15.993 22H4.00666C3.45059 22 3 21.5554 3 20.9991L3.0026 7.00087C3.0027 6.44811 3.45264 6 4.00942 6H6.9998ZM5.00242 8L5.00019 20H14.9998V8H5.00242ZM8.9998 6H16.9998V16H18.9998V4H8.9998V6Z" })), cge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {+}, F.createElement("path", { d: "M6.9998 6V3C6.9998 2.44772 7.44752 2 7.9998 2H19.9998C20.5521 2 20.9998 2.44772 20.9998 3V17C20.9998 17.5523 20.5521 18 19.9998 18H16.9998V20.9991C16.9998 21.5519 16.5499 22 15.993 22H4.00666C3.45059 22 3 21.5554 3 20.9991L3.0026 7.00087C3.0027 6.44811 3.45264 6 4.00942 6H6.9998ZM5.00242 8L5.00019 20H14.9998V8H5.00242ZM8.9998 6H16.9998V16H18.9998V4H8.9998V6Z" })), AB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -43693,7 +43693,7 @@ var qhe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F}, F.createElement("path", { d: "M8.00008 6V9H5.00008V6H8.00008ZM3.00008 4V11H10.0001V4H3.00008ZM13.0001 4H21.0001V6H13.0001V4ZM13.0001 11H21.0001V13H13.0001V11ZM13.0001 18H21.0001V20H13.0001V18ZM10.7072 16.2071L9.29297 14.7929L6.00008 18.0858L4.20718 16.2929L2.79297 17.7071L6.00008 20.9142L10.7072 16.2071Z" }));// src/react/boardui/components/base/input/label.tsxfunction tV({ isRequired: e = !1, isInvalid: t, tooltip: n, className: r, children: i, ...a }) {- return /* @__PURE__ */ (0, I.jsxs)(LL, {+ return /* @__PURE__ */ (0, I.jsxs)(IL, {"data-label": "true",...a,className: q("flex cursor-default items-center gap-0.5", "text-body-medium text-text-primary", r),@@ -43713,7 +43713,7 @@ function tV({ isRequired: e = !1, isInvalid: t, tooltip: n, className: r, childr}// src/react/boardui/components/base/input/hint-text.tsxfunction nV({ isInvalid: e = !1, className: t, ...n }) {- return /* @__PURE__ */ (0, I.jsx)(Fpe, {+ return /* @__PURE__ */ (0, I.jsx)(Ipe, {slot: e ? "errorMessage" : "description",...n,className: q("pt-px text-caption-1-medium text-text-secondary", e && "text-text-error-primary", t)@@ -43728,7 +43728,7 @@ function iV({ size: e = "medium", fieldClassName: t, inputClassName: n, classNamfieldClassName: t,inputClassName: n},- children: /* @__PURE__ */ (0, I.jsx)(Fhe, {+ children: /* @__PURE__ */ (0, I.jsx)(Ihe, {...a,"data-input-size": e,className: q("group flex h-max w-full flex-col items-start gap-1", r),@@ -43737,7 +43737,7 @@ function iV({ size: e = "medium", fieldClassName: t, inputClassName: n, classNam});}iV.displayName = "TextField";-var aV = PI({+var aV = NI({field: "relative flex w-full items-center rounded-2lg bg-background-tertiary-default text-foreground-icon-tertiary ring-2 ring-inset ring-transparent transition-[background-color,box-shadow,color] duration-[var(--input-transition-ms)] ease",fieldSize: {medium: "p-2",@@ -43754,7 +43754,7 @@ var aV = PI({});function oV({ size: e, leadingIcon: t, trailingIcon: n, leadingAddon: r, fieldClassName: i, className: a, ref: o, groupRef: s, ...c }) {let l = (0, F.useContext)(rV), u = e ?? l.size ?? "medium", d = r != null;- return /* @__PURE__ */ (0, I.jsx)(YL, {+ return /* @__PURE__ */ (0, I.jsx)(JL, {ref: s,className: ({ isFocusWithin: e, isHovered: t, isDisabled: n, isInvalid: r }) => q(aV.field, d ? aV.fieldWithAddonSize[u] : aV.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, I.jsxs)("div", {@@ -43764,7 +43764,7 @@ function oV({ size: e, leadingIcon: t, trailingIcon: n, leadingAddon: r, fieldClchildren: [d ? r : t ? /* @__PURE__ */ (0, I.jsx)(t, {className: aV.icon,"aria-hidden": !0- }) : null, /* @__PURE__ */ (0, I.jsx)(Vpe, {+ }) : null, /* @__PURE__ */ (0, I.jsx)(Hpe, {ref: o,...c,className: q(aV.input, l.inputClassName, a)@@ -43815,8 +43815,8 @@ var Fge = {tutorial: "max-w-2xl"};function cV({ isOpen: e, onOpenChange: t, width: n, label: r, children: i, surfaceClassName: a = "" }) {- let { isFocusVisible: o } = EC();- return /* @__PURE__ */ (0, I.jsx)(kz, {+ let { isFocusVisible: o } = TC();+ return /* @__PURE__ */ (0, I.jsx)(Oz, {isOpen: e,onOpenChange: t,isDismissable: !0,@@ -43824,11 +43824,11 @@ function cV({ isOpen: e, onOpenChange: t, width: n, label: r, children: i, surfa"data-modal-kind": n,"data-motion-instant": o || void 0,className: "fixed inset-0 z-dialog flex items-center justify-center bg-scrim p-4",- children: /* @__PURE__ */ (0, I.jsx)(Cme, {+ children: /* @__PURE__ */ (0, I.jsx)(wme, {"data-modal-surface": "","data-modal-width": n,className: q("flex max-h-full w-full flex-col overflow-hidden rounded-2-5xl border border-separator-border bg-background-full shadow-dropdown", Fge[n], a),- children: /* @__PURE__ */ (0, I.jsx)(Tz, {+ children: /* @__PURE__ */ (0, I.jsx)(wz, {"aria-label": r,className: "flex min-h-0 flex-col overflow-y-auto overscroll-contain outline-none",children: i@@ -44037,7 +44037,7 @@ function DV({ item: e }) {return /* @__PURE__ */ (0, I.jsx)(Bge, { item: e }, `${e.scope || "local"}:${e.kind}:${e.tag_id || e.entity_id}:${e.name}`);}function Bge({ item: e }) {- iL();+ rL();let t = vV(!1), n = (0, F.useRef)(t.data), r = yV(), i = t.data && t.data !== n.current ? bV(t.data.favorites || [], e) : e.favorite ?? (t.data ? bV(t.data.favorites || [], e) : !1);return /* @__PURE__ */ (0, I.jsxs)("span", {className: "inline-flex min-w-0 flex-col gap-1",@@ -44077,7 +44077,7 @@ function OV({ currentHref: e, kind: t }) {let [n, r] = (0, F.useState)(!1);return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)("span", {"data-shortcuts-entry": "",- children: /* @__PURE__ */ (0, I.jsx)(dL, {+ children: /* @__PURE__ */ (0, I.jsx)(uL, {"data-shortcuts-trigger": "",label: "我的收藏",icon: xV,@@ -44098,13 +44098,13 @@ function OV({ currentHref: e, kind: t }) {})] });}function Vge({ currentHref: e, kind: t, close: n }) {- iL();+ rL();let r = vV(), i = yV(), [a, o] = (0, F.useState)(""), [s, c] = (0, F.useState)(t || "all"), [l, u] = (0, F.useState)(""), [d, f] = (0, F.useState)(""), p = (0, F.useId)(), [m, h] = (0, F.useState)(() => matchMedia("(max-width: 760px)").matches);(0, F.useEffect)(() => {let e = matchMedia("(max-width: 760px)"), t = () => h(e.matches);return e.addEventListener("change", t), () => e.removeEventListener("change", t);}, []);- let g = (0, F.useRef)(null), _ = (0, F.useRef)(null), v = (0, F.useRef)(s), y = (0, F.useRef)(null), b = (0, F.useRef)(null), x = (0, F.useRef)(null), S = _L(y, g, "[role=\"tab\"][aria-selected=\"true\"]", s, { axis: "y" });+ let g = (0, F.useRef)(null), _ = (0, F.useRef)(null), v = (0, F.useRef)(s), y = (0, F.useRef)(null), b = (0, F.useRef)(null), x = (0, F.useRef)(null), S = gL(y, g, "[role=\"tab\"][aria-selected=\"true\"]", s, { axis: "y" });(0, F.useLayoutEffect)(() => {b.current && (x.current = Ro(b.current) || null);}, []), (0, F.useLayoutEffect)(() => {@@ -44250,7 +44250,7 @@ function Vge({ currentHref: e, kind: t, close: n }) {size: "compact",icon: pV("list-filter"),title: "还没有保存的筛选",- actions: /* @__PURE__ */ (0, I.jsx)(yL, {+ actions: /* @__PURE__ */ (0, I.jsx)(vL, {size: "small",href: "/",onClick: n,@@ -44323,7 +44323,7 @@ function Vge({ currentHref: e, kind: t, close: n }) {size: "small",onClick: () => c("all"),children: "查看全部收藏"- }) : /* @__PURE__ */ (0, I.jsx)(yL, {+ }) : /* @__PURE__ */ (0, I.jsx)(vL, {size: "small",href: "/",onClick: n,@@ -44479,13 +44479,13 @@ function AV({ children: e, icon: t, href: n, onClick: r, current: i = !1, classN}// src/react/boardui/components/foundations/direction/direction.tsxfunction jV() {- return Fw().direction;+ return Pw().direction;}// src/react/boardui/components/base/dropdown/menu-styles.tsvar MV = "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 data-[entering]:opacity-0 data-[entering]:scale-95 data-[entering]:blur-[2px] 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", qge = "w-[266px]", Jge = "flex w-full flex-col gap-1 outline-none", NV = "flex w-full cursor-pointer items-center gap-2 rounded-2lg p-2 text-left text-text-primary outline-none transition-colors", PV = "hover:bg-dropdown-item-hover-background focus-visible:bg-dropdown-item-hover-background";// src/react/boardui/components/base/tree-view/tree-view.tsxfunction Yge({ size: e = "md", showGuides: t = !0, selectionMode: n = "single", renderEmptyState: r = () => "No items.", className: i, onKeyDownCapture: a, ref: o, ...s }) {- let c = jV(), l = (0, F.useContext)(PL), u = l === ML && !s.dragAndDropHooks ? IV : l;+ let c = jV(), l = (0, F.useContext)(NL), u = l === jL && !s.dragAndDropHooks ? IV : l;return /* @__PURE__ */ (0, I.jsx)("div", {className: "contents",onKeyDownCapture: (e) => {@@ -44502,9 +44502,9 @@ function Yge({ size: e = "md", showGuides: t = !0, selectionMode: n = "single",}}},- children: /* @__PURE__ */ (0, I.jsx)(PL.Provider, {+ children: /* @__PURE__ */ (0, I.jsx)(NL.Provider, {value: u,- children: /* @__PURE__ */ (0, I.jsx)(Rhe, {+ children: /* @__PURE__ */ (0, I.jsx)(zhe, {...s,ref: o,selectionMode: n,@@ -44518,7 +44518,7 @@ function Yge({ size: e = "md", showGuides: t = !0, selectionMode: n = "single",}function FV({ label: e, textValue: t = e, icon: n, expandedIcon: r, iconClassName: i, trailingContent: a, children: o, className: s, style: c, ref: l, ...u }) {let d = jV();- return /* @__PURE__ */ (0, I.jsxs)(Vhe, {+ return /* @__PURE__ */ (0, I.jsxs)(Hhe, {...u,ref: l,textValue: t,@@ -44527,8 +44527,8 @@ function FV({ label: e, textValue: t = e, icon: n, expandedIcon: r, iconClassNam...typeof c == "function" ? c(e) : c}),className: (e) => q("relative flex min-h-9 min-w-0 cursor-pointer items-center gap-2 rounded-xl pe-2 text-body-regular text-text-primary outline-none", "transition-[background-color,color,box-shadow] duration-150 motion-reduce:transition-none", "group-data-[size=sm]/tree-view:min-h-8 group-data-[size=sm]/tree-view:text-body-2-regular", (e.isHovered || e.isPressed || e.isFocusVisible) && !e.isDisabled && "bg-dropdown-item-hover-background", e.isSelected && "bg-dropdown-item-hover-background", e.isFocusVisible && "ring-2 ring-inset ring-border-focus-ring", e.isDisabled && "cursor-default text-text-placeholder", typeof s == "function" ? s(e) : s),- children: [/* @__PURE__ */ (0, I.jsx)(Bhe, { children: ({ hasChildItems: t, isExpanded: o, isDisabled: s, level: c, state: l, id: u }) => {- let f = n === null ? null : o && r ? r : n ?? (t ? o ? PB : MB : cge);+ children: [/* @__PURE__ */ (0, I.jsx)(Vhe, { children: ({ hasChildItems: t, isExpanded: o, isDisabled: s, level: c, state: l, id: u }) => {+ let f = n === null ? null : o && r ? r : n ?? (t ? o ? PB : MB : AB);return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(Zge, {state: l,@@ -44540,11 +44540,11 @@ function FV({ label: e, textValue: t = e, icon: n, expandedIcon: r, iconClassNam}),/* @__PURE__ */ (0, I.jsxs)("span", {className: "flex shrink-0 items-center gap-1",- children: [t ? /* @__PURE__ */ (0, I.jsx)(zL, {+ children: [t ? /* @__PURE__ */ (0, I.jsx)(RL, {slot: "chevron",isDisabled: s,className: "flex size-5 shrink-0 cursor-pointer items-center justify-center rounded-md text-foreground-icon-tertiary outline-none transition-colors hover:text-foreground-icon-primary data-[focus-visible]:ring-2 data-[focus-visible]:ring-border-focus-ring",- children: /* @__PURE__ */ (0, I.jsx)(bB, {+ children: /* @__PURE__ */ (0, I.jsx)(yB, {"aria-hidden": !0,className: q("size-4 opacity-50 transition-transform duration-150 motion-reduce:transition-none", o ? "rotate-90" : d === "rtl" && "rotate-180")})@@ -44569,18 +44569,18 @@ function FV({ label: e, textValue: t = e, icon: n, expandedIcon: r, iconClassNam});}var IV = {- ...ML,+ ...jL,CollectionRoot: Xge};function Xge({ collection: e, ...t }) {- let n = (0, F.useContext)(hB);- return n ? /* @__PURE__ */ (0, I.jsx)(kx, {+ let n = (0, F.useContext)(mB);+ return n ? /* @__PURE__ */ (0, I.jsx)(Ox, {initial: !1,children: Array.from(e).filter((e) => e.type !== "content").map((e) => /* @__PURE__ */ (0, I.jsx)(Qge, {state: n,children: e.render?.(e)}, e.key))- }) : /* @__PURE__ */ (0, I.jsx)(ML.CollectionRoot, {+ }) : /* @__PURE__ */ (0, I.jsx)(jL.CollectionRoot, {collection: e,...t});@@ -44645,8 +44645,8 @@ function Zge({ state: e, id: t, level: n, expanded: r, branchWidth: i, direction});}function Qge({ state: e, children: t }) {- let n = Ex(), r = $x(), [i, a] = (0, F.useState)(e);- return n && i !== e && a(e), /* @__PURE__ */ (0, I.jsx)(dS.div, {+ let n = Tx(), r = Qx(), [i, a] = (0, F.useState)(e);+ return n && i !== e && a(e), /* @__PURE__ */ (0, I.jsx)(uS.div, {role: "presentation",className: "relative min-w-0 shrink-0 overflow-hidden","data-tree-view-exiting": !n || void 0,@@ -44685,7 +44685,7 @@ function Qge({ state: e, children: t }) {1]},- children: /* @__PURE__ */ (0, I.jsx)(hB.Provider, {+ children: /* @__PURE__ */ (0, I.jsx)(mB.Provider, {value: n ? e : i,children: t})@@ -44735,7 +44735,7 @@ function RV({ state: e, size: t = "md" }) {// src/react/boardui/components/base/checkbox/checkbox.tsxfunction zV({ className: e, children: t, size: n = "md", ref: r, ...i }) {let a = LV[n];- return /* @__PURE__ */ (0, I.jsx)(Rpe, {+ return /* @__PURE__ */ (0, I.jsx)(zpe, {ref: r,...i,className: (t) => q("group inline-flex items-center select-none", a.gap, t.isDisabled ? "cursor-not-allowed" : "cursor-pointer", typeof e == "function" ? e(t) : e),@@ -44768,9 +44768,9 @@ function $ge() {function HV({ children: e }) {return /* @__PURE__ */ (0, I.jsx)(oe, {client: H,- children: /* @__PURE__ */ (0, I.jsx)(eie, {+ children: /* @__PURE__ */ (0, I.jsx)(tie, {reducedMotion: "user",- children: /* @__PURE__ */ (0, I.jsx)(wD, {+ children: /* @__PURE__ */ (0, I.jsx)(CD, {getContainer: $ge,children: e})@@ -45479,11 +45479,11 @@ function M_e(e) {function N_e(e) {if (e.status === "paused") return "已暂停";if (e.status === "pausing") return "正在暂停";- let t = j_e[e.current_action || ""] || e.stage || "正在处理", n = e.waited_seconds ? ` · 已等待 ${QI(e.waited_seconds)}` : "";+ let t = j_e[e.current_action || ""] || e.stage || "正在处理", n = e.waited_seconds ? ` · 已等待 ${ZI(e.waited_seconds)}` : "";return e.current_asset_name ? `当前:${e.current_asset_name} · ${t}${n}` : t + n;}function P_e(e) {- let t = e.total ? `${$I(e.checked, e.total)} 项` : e.current_action === "scanning_files" || e.stage === "扫描文件" ? `已发现 ${(e.scanned || 0).toLocaleString()} 个文件` : "";+ let t = e.total ? `${QI(e.checked, e.total)} 项` : e.current_action === "scanning_files" || e.stage === "扫描文件" ? `已发现 ${(e.scanned || 0).toLocaleString()} 个文件` : "";return N_e(e) + (t ? ` · ${t}` : "");}function F_e(e) {@@ -45515,7 +45515,7 @@ function L_e(e, t, n) {}}// src/react/boardui/components/base/buttons/link-button.tsx-var pH = PI({+var pH = NI({base: "inline-flex items-center justify-center gap-1 whitespace-nowrap font-sans select-none cursor-pointer rounded-sm underline-offset-3 hover:underline transition-colors duration-150 ease outline-none focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:ring-border-focus-ring disabled:cursor-not-allowed disabled:no-underline aria-disabled:cursor-not-allowed aria-disabled:no-underline",size: {medium: "text-body-medium",@@ -45650,12 +45650,12 @@ function z_e({ state: e, slow: t }) {// src/react/components/use-moving-surface.tsvar B_e = {selection: {- type: Pg,+ type: Ng,duration: .16,bounce: 0},hover: {- type: Pg,+ type: Ng,duration: .08,bounce: 0}@@ -45681,7 +45681,7 @@ function _H(e) {let E = `translate(${b}px, ${x}px) scale(1, 1)`;if (u && a && !r.matches && T && s !== h) {let r = `translate(${(T.left - _.left) / v + t.scrollLeft - t.clientLeft}px, ${(T.top - _.top) / y + t.scrollTop - t.clientTop}px) scale(${T.width / v / S}, ${T.height / y / C})`;- l = sae(n, { transform: [r, E] }, B_e[e]);+ l = cae(n, { transform: [r, E] }, B_e[e]);} else n.style.transform = E;s = h, c = w, t.dataset.surfaceReady = "";}, m = (t) => {@@ -45719,7 +45719,7 @@ function _H(e) {// src/react/components/menu-dialog.tsxfunction vH(e) {let t = _H("hover");- return /* @__PURE__ */ (0, I.jsx)(Tz, {+ return /* @__PURE__ */ (0, I.jsx)(wz, {...e,ref: t});@@ -45834,7 +45834,7 @@ function wH({ value: e, busy: t, onChange: n, animate: r = !0 }) {})]}),- /* @__PURE__ */ (0, I.jsxs)(Jpe, {+ /* @__PURE__ */ (0, I.jsxs)(Ype, {"aria-label": "处理速度",minValue: 0,maxValue: 2,@@ -45846,7 +45846,7 @@ function wH({ value: e, busy: t, onChange: n, animate: r = !0 }) {e !== i && n(yH[e]);},className: "processing-effort-slider",- children: [/* @__PURE__ */ (0, I.jsx)(LL, {+ children: [/* @__PURE__ */ (0, I.jsx)(IL, {className: "processing-effort-label",children: "处理速度"}), /* @__PURE__ */ (0, I.jsxs)("div", {@@ -45867,9 +45867,9 @@ function wH({ value: e, busy: t, onChange: n, animate: r = !0 }) {]}),a === 2 ? /* @__PURE__ */ (0, I.jsx)(H_e, { animate: r }) : null,- /* @__PURE__ */ (0, I.jsx)(Ype, {+ /* @__PURE__ */ (0, I.jsx)(Xpe, {className: "processing-effort-hit",- children: /* @__PURE__ */ (0, I.jsx)(Xpe, {+ children: /* @__PURE__ */ (0, I.jsx)(Zpe, {"aria-label": bH[a],className: "processing-effort-thumb"})@@ -45898,13 +45898,13 @@ function U_e({ value: e, busy: t, onChange: n, animate: r = !0 }) {"aria-expanded": a,"aria-disabled": t,leadingIcon: V_e[s],- trailingIcon: vB,+ trailingIcon: _B,onClick: () => {t || o(!a);},children: bH[s]})- }), /* @__PURE__ */ (0, I.jsx)(fz, {+ }), /* @__PURE__ */ (0, I.jsx)(dz, {triggerRef: i,isOpen: a,onOpenChange: o,@@ -46272,7 +46272,7 @@ function $_e({ href: e, children: t, leadingIcon: n }) {rel: "noopener noreferrer",size: "small",leadingIcon: n,- trailingIcon: kB,+ trailingIcon: OB,className: "min-w-0 max-w-full",children: /* @__PURE__ */ (0, I.jsx)("span", {className: "min-w-0 whitespace-normal break-all",@@ -46284,7 +46284,7 @@ function eve() {return /* @__PURE__ */ (0, I.jsx)(mH, {href: "/tasks",size: "small",- trailingIcon: yB,+ trailingIcon: vB,className: "self-start",children: "在任务中心查看进度"});@@ -46323,12 +46323,12 @@ function zH({ summary: e, defaultOpen: t = !1, isOpen: n, children: r, trailing:},className: `${i ? "w-full" : "w-fit"} flex cursor-pointer list-none items-center gap-1 rounded-sm text-body-2-medium text-text-secondary outline-none select-none hover:text-text-primary focus-visible:ring-2 focus-visible:ring-border-focus-ring`,children: [- i ? null : /* @__PURE__ */ (0, I.jsx)(bB, {+ i ? null : /* @__PURE__ */ (0, I.jsx)(yB, {"aria-hidden": !0,className: d ? "size-(--icon-inline) shrink-0 rotate-90 transition-transform" : "size-(--icon-inline) shrink-0 transition-transform"}),e,- i ? /* @__PURE__ */ (0, I.jsx)(bB, {+ i ? /* @__PURE__ */ (0, I.jsx)(yB, {"aria-hidden": !0,className: d ? "ml-auto size-(--icon-inline) shrink-0 -rotate-90 transition-transform" : "ml-auto size-(--icon-inline) shrink-0 rotate-90 transition-transform"}) : null@@ -46518,7 +46518,7 @@ function qH({ traffic: e, initial: t = !1, compact: n = !1, detailsOpen: r, onDeclassName: "self-start","aria-expanded": l,"aria-controls": c,- trailingIcon: l ? xB : vB,+ trailingIcon: l ? bB : _B,onClick: () => {s(!l), i?.(!l);},@@ -46683,7 +46683,7 @@ function XH({ state: e, problem: t = "", measure: n = !1, onHide: r }) {v && e?.total ? /* @__PURE__ */ (0, I.jsx)(cve, {value: e.checked || 0,max: e.total- }) : _ || x ? /* @__PURE__ */ (0, I.jsx)(oge, {+ }) : _ || x ? /* @__PURE__ */ (0, I.jsx)(sge, {"aria-hidden": !0,className: "size-5 shrink-0"}) : /* @__PURE__ */ (0, I.jsx)(vge, {@@ -46717,7 +46717,7 @@ function XH({ state: e, problem: t = "", measure: n = !1, onHide: r }) {size: "small",variant: "secondary",iconOnly: !0,- leadingIcon: TB,+ leadingIcon: wB,"aria-label": "隐藏任务提示",onClick: r}) : null@@ -46751,14 +46751,14 @@ function XH({ state: e, problem: t = "", measure: n = !1, onHide: r }) {"aria-current": e.status === "current" ? "step" : void 0,className: q("flex min-h-8 items-center gap-2 text-body-2-regular", e.status === "current" ? "text-text-primary" : "text-text-tertiary"),children: [- e.status === "complete" ? /* @__PURE__ */ (0, I.jsx)(ege, {+ e.status === "complete" ? /* @__PURE__ */ (0, I.jsx)(tge, {"aria-hidden": !0,className: "size-(--icon-inline) shrink-0"- }) : /* @__PURE__ */ (0, I.jsx)(tge, {+ }) : /* @__PURE__ */ (0, I.jsx)(nge, {"aria-hidden": !0,className: q("size-(--icon-inline) shrink-0", e.status === "current" && "text-border-focus-ring")}),- /* @__PURE__ */ (0, I.jsx)(dE, { children: e.status === "complete" ? "已完成:" : e.status === "current" ? "当前:" : "待处理:" }),+ /* @__PURE__ */ (0, I.jsx)(uE, { children: e.status === "complete" ? "已完成:" : e.status === "current" ? "当前:" : "待处理:" }),e.status === "complete" ? /* @__PURE__ */ (0, I.jsx)("s", {className: "wrap-anywhere",children: e.label@@ -46793,13 +46793,13 @@ function XH({ state: e, problem: t = "", measure: n = !1, onHide: r }) {href: "/data-cleanup#libraryProcessing",variant: "secondary",size: "small",- trailingIcon: yB,+ trailingIcon: vB,children: t || _ || g ? "打开扫描与采集" : "任务详情"}),g ? /* @__PURE__ */ (0, I.jsx)(mH, {href: iH,size: "small",- trailingIcon: yB,+ trailingIcon: vB,children: "查看全部内容"}) : null,v ? /* @__PURE__ */ (0, I.jsx)(TH, {@@ -46914,15 +46914,15 @@ function gve() {}// src/react/components/segmented.tsxfunction _ve(e) {- let t = uL(_H("selection"));- return /* @__PURE__ */ (0, I.jsx)(pB, {+ let t = lL(_H("selection"));+ return /* @__PURE__ */ (0, I.jsx)(fB, {...e,ref: t});}function rU(e) {- let t = uL(_H("selection"));- return /* @__PURE__ */ (0, I.jsx)(Mz, {+ let t = lL(_H("selection"));+ return /* @__PURE__ */ (0, I.jsx)(jz, {...e,ref: t});@@ -47778,39 +47778,39 @@ function CU(e = {}) {// src/react/onboarding/guide-directory.tsxvar Lve = {browse: KB,- collect: CB,+ collect: SB,watch: VB,manage: NB,experience: zB,discovery: GB,- storage: DB,+ storage: EB,system: qB}, Rve = {- basics: EB,+ basics: TB,"find-play": KB,entities: ZB,jav: jB,- save: CB,+ save: SB,follow: GB,- insights: SB,+ insights: xB,viewing: VB,devices: JB,- external: OB,+ external: DB,maintenance: XB,appearance: zB,playback: VB,- content: AB,+ content: kB,"search-settings": KB,"jav-settings": jB,subscriptions: GB,- library: DB,- downloads: OB,+ library: EB,+ downloads: DB,network: JB,"app-maintenance": XB,diagnostics: Cge};function zve({ chapter: e, className: t = "size-5" }) {- let n = Rve[e] || EB;+ let n = Rve[e] || TB;return /* @__PURE__ */ (0, I.jsx)(n, {"aria-hidden": !0,className: q(t, "shrink-0")@@ -47880,7 +47880,7 @@ function TU({ chapter: e, progress: t, loading: n, start: r }) {" 步"]}),- /* @__PURE__ */ (0, I.jsx)(bB, {+ /* @__PURE__ */ (0, I.jsx)(yB, {"aria-hidden": !0,className: "size-(--icon-inline) shrink-0 text-text-secondary"})@@ -47890,7 +47890,7 @@ function TU({ chapter: e, progress: t, loading: n, start: r }) {function EU() {return /* @__PURE__ */ (0, I.jsxs)("span", {className: "inline-flex shrink-0 items-center gap-1 rounded-full bg-notification-success-background px-2 py-1 text-caption-1-medium text-notification-success-foreground",- children: [/* @__PURE__ */ (0, I.jsx)(wB, {+ children: [/* @__PURE__ */ (0, I.jsx)(CB, {"aria-hidden": !0,className: "size-4"}), /* @__PURE__ */ (0, I.jsx)("span", {@@ -47906,7 +47906,7 @@ function Bve({ kind: e, query: t, setQuery: n, context: r, progress: i, loading:children: [/* @__PURE__ */ (0, I.jsxs)(wU, {completed: u,- icon: e === "interface" ? EB : qB,+ icon: e === "interface" ? TB : qB,title: e === "interface" ? "先认识 Peach" : "按习惯调整 Peach",description: e === "interface" ? "先用 4 步认识常用入口,其余功能用到时再看。" : "先了解外观与导航,其余设置按需要查看。",children: [u ? /* @__PURE__ */ (0, I.jsx)(EU, {}) : /* @__PURE__ */ (0, I.jsxs)("span", {@@ -48159,7 +48159,7 @@ function Wve({ step: e, position: t, total: n, missing: r, next: i, previous: a,className: "flex flex-wrap items-center gap-x-1 gap-y-1 text-body-2-medium text-text-primary",children: l.path.map((e, t) => /* @__PURE__ */ (0, I.jsxs)("li", {className: "inline-flex items-center gap-1",- children: [t ? /* @__PURE__ */ (0, I.jsx)(bB, {+ children: [t ? /* @__PURE__ */ (0, I.jsx)(yB, {className: "size-4 shrink-0 text-text-secondary","aria-hidden": "true"}) : null, /* @__PURE__ */ (0, I.jsx)("span", { children: e })]@@ -48362,13 +48362,13 @@ function Gve({ go: e }) {title: "口味与记录",description: t?.taste.history_sources ? `已导入 ${t.taste.history_sources} 份浏览器历史。` : "按需要导入浏览历史或书签。",path: "/taste",- icon: SB+ icon: xB},{title: "云下载与浏览器添加",description: "连接渠道、设置目标目录,按需要配对用户脚本。",path: "/settings/downloads",- icon: OB+ icon: DB},{title: "手机访问",@@ -48380,7 +48380,7 @@ function Gve({ go: e }) {title: "人工复核",description: `当前有 ${u.toLocaleString()} 条待复核资料。`,path: "/review",- icon: wB+ icon: CB}] : []].map(({ title: t, description: n, path: r, icon: i }) => /* @__PURE__ */ (0, I.jsxs)("div", { children: [/* @__PURE__ */ (0, I.jsx)("span", {@@ -48542,7 +48542,7 @@ function Kve({ actions: e }) {g("请先关闭当前详情或对话框,再开始导览。");return;}- if (t.steps.some((e) => e.surface) && i8()?.miniplayerActive()) {+ if (t.steps.some((e) => e.surface) && r8()?.miniplayerActive()) {g("请先关闭正在播放的小窗,再开始播放器导览。");return;}@@ -48651,7 +48651,7 @@ function Kve({ actions: e }) {["start", "开始使用"],["interface", "界面导览"],["settings", "设置导览"]- ].map(([e, t]) => /* @__PURE__ */ (0, I.jsx)(Nz, {+ ].map(([e, t]) => /* @__PURE__ */ (0, I.jsx)(Mz, {value: e,className: aU,children: t@@ -48799,7 +48799,7 @@ function Xve({ navigate: e }) {}// src/react/router/pages/settings.tsxfunction Zve() {- let e = (0, F.useContext)(eG), { pathname: t } = ef();+ let e = (0, F.useContext)($W), { pathname: t } = ef();return (0, F.useEffect)(() => {e?.openSettings?.(Nf(t));}, [e, t]), (0, F.useEffect)(() => () => {@@ -48910,25 +48910,25 @@ function UU({ className: e, triggerClassName: t, popoverClassName: n, size: r =let l = (0, F.useRef)(null), u = (0, F.useRef)(null), [d, f] = (0, F.useState)(!1);eye(d, () => f(!1), [l, u]);let p = tye(d, l);- return /* @__PURE__ */ (0, I.jsx)(Ime, {+ return /* @__PURE__ */ (0, I.jsx)(Lme, {ref: s,...c,isOpen: d,onOpenChange: (e) => p(e) && f(e),className: q("group flex flex-col", e),- children: ({ isOpen: e }) => /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsxs)(zL, {+ children: ({ isOpen: e }) => /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsxs)(RL, {ref: l,className: q("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, I.jsx)(zme, {+ children: [/* @__PURE__ */ (0, I.jsx)(Bme, {className: q("flex min-w-0 items-center truncate", r === "sm" ? "gap-1" : "gap-[5px]"),children: o}), /* @__PURE__ */ (0, I.jsx)(Wge, { className: q("shrink-0 text-text-secondary transition-transform duration-200 ease", r === "sm" ? "size-3.5" : "size-4", e && "rotate-180") })]- }), /* @__PURE__ */ (0, I.jsx)(fz, {+ }), /* @__PURE__ */ (0, I.jsx)(dz, {ref: u,isNonModal: !0,offset: 4,className: q(qge, MV, "p-2", n),- children: /* @__PURE__ */ (0, I.jsx)(ime, {+ children: /* @__PURE__ */ (0, I.jsx)(ame, {items: a,className: q(Jge, "max-h-[240px] overflow-auto"),children: /* @__PURE__ */ (0, I.jsx)(HU.Provider, {@@ -48941,14 +48941,14 @@ function UU({ className: e, triggerClassName: t, popoverClassName: n, size: r =}function WU({ className: e, children: t, ...n }) {let r = (0, F.useContext)(HU);- return /* @__PURE__ */ (0, I.jsx)(sme, {+ return /* @__PURE__ */ (0, I.jsx)(cme, {...n,className: (t) => q(NV, 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});}// src/react/boardui/components/base/badges/chip.tsx-var GU = PI({+var GU = NI({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",@@ -49004,7 +49004,7 @@ var JU = "/api/downloads", YU = ["downloads"], nye = "/api/downloads/cancel", rylanded: "lime",submitted: "neutral"}, ZU = (e) => {- let t = e.display_code || e.code || "", { title: n } = VI({+ let t = e.display_code || e.code || "", { title: n } = BI({is_jav: !!t,code: t,name: e.display_title ?? e.title ?? e.display_name ?? e.remote_name@@ -49044,7 +49044,7 @@ function oye() {t.hasNextPage ? /* @__PURE__ */ (0, I.jsx)(J, {variant: "secondary",size: "small",- leadingIcon: vB,+ leadingIcon: _B,className: "self-start",...hV(t.isFetchingNextPage),onClick: () => {@@ -49056,11 +49056,11 @@ function oye() {});}function sye({ task: e, writable: t }) {- iL();+ rL();let n = ae(), r = hH(), [i, a] = (0, F.useState)(!1), [o, s] = (0, F.useState)(!1), c = (0, F.useId)(), l = QU(e) || (e.cancellable && e.failure_detail ? `稍后自动重试 · ${e.failure_detail}` : ""), u = e.artwork, d = u?.performer_entities || [], f = e.state === "ingested" && e.asset_id ? `/assets/${e.asset_id}` : void 0, p = e.state === "failed" || e.postprocess_state === "failed", m = [e.display_code || e.code ? "" : "番号未识别",e.target,- nL(e.submitted_at)+ tL(e.submitted_at)].filter(Boolean).join(" · "), h = () => {n.invalidateQueries({ queryKey: YU });}, g = () => {@@ -49094,7 +49094,7 @@ function sye({ task: e, writable: t }) {children: [/* @__PURE__ */ (0, I.jsxs)("div", {"data-download-cover": "","data-media-pic": "",- style: { "--card-ratio": String(pM) },+ style: { "--card-ratio": String(fM) },className: "w-20 shrink-0 self-start text-caption-1-regular text-text-secondary sm:w-32",children: [u?.has_cover ? null : /* @__PURE__ */ (0, I.jsx)("span", {@@ -49434,14 +49434,14 @@ function fye({ prefill: e, close: t, receipt: n, provider: r }) {refetchInterval: (e) => XU(e.state.data)}), a = i.data, o = /* @__PURE__ */ (0, I.jsxs)("div", {className: "flex items-center justify-between gap-4 px-5 pt-5",- children: [/* @__PURE__ */ (0, I.jsx)(VL, {+ children: [/* @__PURE__ */ (0, I.jsx)(BL, {slot: "title",className: "text-title-2-semibold text-text-primary",children: "查找资源"}), /* @__PURE__ */ (0, I.jsx)(J, {variant: "ghost",iconOnly: !0,- leadingIcon: TB,+ leadingIcon: wB,"aria-label": "关闭资源面板",onClick: t})]@@ -49668,7 +49668,7 @@ var lW = [],["release_date",- jj[1],+ Aj[1],"按发行日期排序"],[@@ -49689,7 +49689,7 @@ var lW = [], uW = [["release_date",- jj[1],+ Aj[1],"按发行日期排序"],[@@ -49846,7 +49846,7 @@ function gW({ value: e }) {}var Eye = "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 _W({ tabs: e, value: t, label: n, onChange: r, className: i = "mb-5.5" }) {- let a = (0, F.useRef)(null), o = uL(a);+ let a = (0, F.useRef)(null), o = lL(a);return (0, F.useLayoutEffect)(() => {let e = a.current;e && (() => {@@ -49855,7 +49855,7 @@ function _W({ tabs: e, value: t, label: n, onChange: r, className: i = "mb-5.5"let n = t.offsetLeft, r = n + t.offsetWidth;n < e.scrollLeft ? e.scrollLeft = n : r > e.scrollLeft + e.clientWidth && (e.scrollLeft = r - e.clientWidth);})();- }, [t]), /* @__PURE__ */ (0, I.jsx)(II, {+ }, [t]), /* @__PURE__ */ (0, I.jsx)(FI, {ref: o,role: "tablist","aria-label": n,@@ -53802,78 +53802,78 @@ var Oye = [bW,xW,(e) => bW(xW(e))-], CW = yW.flatMap((e) => SW.map((t) => t(e))), wW = Oye.flatMap((e) => SW.map((t) => e.map(t)));+], CW = yW.flatMap((e) => SW.map((t) => t(e))), kye = Oye.flatMap((e) => SW.map((t) => e.map(t)));CW.length;-var TW = (e, t) => {+var wW = (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;-}, EW = (e, t) => {+}, TW = (e, t) => {let n = yW.length;- return ((e + t * 2) % n + n) % n * SW.length + TW(e, t) % SW.length;-}, DW = (e, t) => CW[EW(e, t)], OW = (e, t, n) => n < 0 || n >= 12 ? null : wW[EW(e, t)][n], kW = 103.36, AW = 6.08, jW = 12 * kW, MW = 8 * kW, NW = 12, PW = (e, t) => (e % t + t) % t, kye = (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 FW(e, t) {- let n = Math.max(1, Math.ceil(e / NW)), r = t ? 3 : Math.min(3, n);+ return ((e + t * 2) % n + n) % n * SW.length + wW(e, t) % SW.length;+}, EW = (e, t) => CW[TW(e, t)], DW = (e, t, n) => n < 0 || n >= 12 ? null : kye[TW(e, t)][n], OW = 103.36, kW = 6.08, AW = 12 * OW, jW = 8 * OW, MW = 12, NW = (e, t) => (e % t + t) % t, Aye = (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 PW(e, t) {+ let n = Math.max(1, Math.ceil(e / MW)), r = t ? 3 : Math.min(3, n);return {columns: r,- width: r * jW,- height: Math.ceil(n / r) * MW+ width: r * AW,+ height: Math.ceil(n / r) * jW};}-function IW(e, t, n) {- let { x: r, y: i, cols: a, rows: o } = DW(e, t)[n];+function FW(e, t, n) {+ let { x: r, y: i, cols: a, rows: o } = EW(e, t)[n];return {- x: e * jW + r * kW,- y: t * MW + i * kW,- width: a * kW - AW,- height: o * kW - AW+ x: e * AW + r * OW,+ y: t * jW + i * OW,+ width: a * OW - kW,+ height: o * OW - kW};}-function Aye(e) {+function jye(e) {return (!e.medium || e.medium === "video") && !!e.has_cover && !!(e.cover_key || e.code);}-function LW(e, t, n) {+function IW(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 >= NW) return null;- let o = FW(e, t), s = o.height / MW;+ ].every(Number.isInteger) || a < 0 || a >= MW) return null;+ let o = PW(e, t), s = o.height / jW;if (t && (r < 0 || r >= o.columns || i < 0 || i >= s)) return null;- let c = t ? r : PW(r, o.columns), l = ((t ? i : PW(i, s)) * o.columns + c) * NW + a;+ let c = t ? r : NW(r, o.columns), l = ((t ? i : NW(i, s)) * o.columns + c) * MW + a;return t && l >= e ? null : {- ...IW(r, i, a),+ ...FW(r, i, a),index: l % e,key: n};}-function jye(e, t) {+function Mye(e, t) {if (t < 0 || t >= e) return null;- let n = Math.floor(t / NW);- return LW(e, !0, `${n % 3}:${Math.floor(n / 3)}:${t % NW}`);+ let n = Math.floor(t / MW);+ return IW(e, !0, `${n % 3}:${Math.floor(n / 3)}:${t % MW}`);}-function RW(e, t, n) {- let [r, i, a] = n.key.split(":").map(Number), o = OW(r, i, a);+function LW(e, t, n) {+ let [r, i, a] = n.key.split(":").map(Number), o = DW(r, i, a);return new Map((o || []).map((e, t) => [`${r}:${i}:${t}`, {- x: r * jW + e.x * kW,- y: i * MW + e.y * kW,- width: e.cols * kW - AW,- height: e.rows * kW - AW+ x: r * AW + e.x * OW,+ y: i * jW + e.y * OW,+ width: e.cols * OW - kW,+ height: e.rows * OW - kW}]));}-function Mye(e) {+function Nye(e) {let t = 0, n = 0;for (let r = Math.max(0, e - 36); r < e; r += 1) {- let e = Math.floor(r / NW), i = IW(e % 3, Math.floor(e / 3), r % NW);+ let e = Math.floor(r / MW), i = FW(e % 3, Math.floor(e / 3), r % MW);t = Math.max(t, i.x + i.width), n = Math.max(n, i.y + i.height);}return {- width: e >= 36 ? 3 * jW - AW : t,+ width: e >= 36 ? 3 * AW - kW : t,height: n};}-function Nye(e, t, n, r) {+function Pye(e, t, n, r) {if (!r) return e;let i = (t, n, r) => Math.min(16, Math.max(Math.min(16, r - n * e.scale - 16), t));return {@@ -53882,22 +53882,22 @@ function Nye(e, t, n, r) {y: i(e.y, n.height, t.height)};}-function zW(e, t, n, r) {+function RW(e, t, n, r) {if (!e || !r.width || !r.height) return [];let i = 180 / n.scale, a = {x: -n.x / n.scale - i,y: -n.y / n.scale - i,width: r.width / n.scale + i * 2,height: r.height / n.scale + i * 2- }, o = FW(e, t), s = o.height / MW, c = [];- for (let n = Math.floor(a.y / MW); n <= Math.floor((a.y + a.height) / MW); n += 1) for (let r = Math.floor(a.x / jW); r <= Math.floor((a.x + a.width) / jW); r += 1) {+ }, o = PW(e, t), s = o.height / jW, c = [];+ for (let n = Math.floor(a.y / jW); n <= Math.floor((a.y + a.height) / jW); n += 1) for (let r = Math.floor(a.x / AW); r <= Math.floor((a.x + a.width) / AW); r += 1) {if (t && (r < 0 || r >= o.columns || n < 0 || n >= s)) continue;- let i = t ? r : PW(r, o.columns), l = t ? n : PW(n, s);- for (let s = 0; s < NW; s += 1) {- let u = (l * o.columns + i) * NW + s;+ let i = t ? r : NW(r, o.columns), l = t ? n : NW(n, s);+ for (let s = 0; s < MW; s += 1) {+ let u = (l * o.columns + i) * MW + s;if (t && u >= e) continue;- let d = IW(r, n, s);- kye(d, a) && c.push({+ let d = FW(r, n, s);+ Aye(d, a) && c.push({...d,index: u % e,key: `${r}:${n}:${s}`@@ -53906,7 +53906,7 @@ function zW(e, t, n, r) {}return c;}-var Pye = class {+var Fye = class {positions = /* @__PURE__ */ new Map();used = /* @__PURE__ */ new Set();cursor = 0;@@ -53918,7 +53918,7 @@ var Pye = class {this.cursor = e;}tile(e, t) {- let n = this.positions.get(e), r = n === void 0 ? null : LW(t, !1, e);+ let n = this.positions.get(e), r = n === void 0 ? null : IW(t, !1, e);return r ? {...r,index: n@@ -53948,7 +53948,7 @@ var Pye = class {let e = 0;for (let t of this.positions.keys()) e = Math.max(e, Number(t.split(":")[0]));return {- x: (e + 2) * jW,+ x: (e + 2) * AW,y: 0};}@@ -53961,10 +53961,10 @@ var Pye = class {c < i && (r = s, i = c);}if (r) return r;- let a = this.fresh(), o = `${Math.round(a.x / jW)}:0:0`;+ let a = this.fresh(), o = `${Math.round(a.x / AW)}:0:0`;return this.positions.set(o, t), this.used.add(t), this.tile(o, e);}-}, BW = [+}, zW = ["q","performer","series",@@ -53979,39 +53979,39 @@ var Pye = class {"dur_max","region"];-function Fye(e = {}) {- return BW.some((t) => !!e[t]);+function Iye(e = {}) {+ return zW.some((t) => !!e[t]);}// src/react/video-wall/wall-boot.ts-function Iye() {+function Lye() {if (document.querySelector("[data-wall-boot]")) return;let e = innerWidth < 640 ? .68 : 1, t = document.createElement("div");t.className = "peach-react", t.dataset.wallBoot = "", t.innerHTML = `<div data-video-wall="" data-fullscreen=""><div data-wall-viewport="" data-skeleton="wall" role="status" aria-busy="true" aria-label="正在读取播放墙"><div data-wall-world="" style="transform:translate3d(0px, 0px, 0) scale(${e})"></div></div></div>`, document.body.append(t);let n = t.querySelector("[data-wall-viewport]").getBoundingClientRect();- t.querySelector("[data-wall-world]").innerHTML = zW(12, !1, {+ t.querySelector("[data-wall-world]").innerHTML = RW(12, !1, {x: 0,y: 0,scale: e}, n).map((e) => `<span data-wall-skeleton="" aria-hidden="true" style="--wall-left:${e.x}px;--wall-top:${e.y}px;--wall-width:${e.width}px;--wall-height:${e.height}px"></span>`).join("");}-function VW() {+function BW() {document.querySelectorAll("[data-wall-boot]").forEach((e) => e.remove());}// src/react/router/pages/catalog.tsx-var Lye = () => pu, HW = Op.navigation.seq, UW = Op.navigation.openEpoch, WW = Op.navigation.location.pathname, GW = {- seq: HW,+var Rye = () => pu, VW = Op.navigation.seq, HW = Op.navigation.openEpoch, UW = Op.navigation.location.pathname, WW = {+ seq: VW,claimed: !0,- from: WW+ from: UW};Op.listen((e) => {- GW = {+ WW = {seq: e.seq,- claimed: e.openEpoch === UW,- from: WW- }, UW = e.openEpoch, WW = e.location.pathname;+ claimed: e.openEpoch === HW,+ from: UW+ }, HW = e.openEpoch, UW = e.location.pathname;});-var KW = !1;-function qW(e) {+var GW = !1;+function KW(e) {let { seq: t, openEpoch: n, location: r } = Op.navigation, i = Bf(r.pathname), a = jp() ?? r, o = U ?? {};return {seq: t,@@ -54023,7 +54023,7 @@ function qW(e) {opened: e};}-function Rye(e, t, n, r) {+function zye(e, t, n, r) {let i = { ...U }, a = um("catalog");if (a) return { ...a };if (e === "/trash") return {@@ -54035,7 +54035,7 @@ function Rye(e, t, n, r) {state: "trash",q: ""};- let o = new URLSearchParams(t), { defaultSort: s, defaultSortDirection: c } = iM().value;+ let o = new URLSearchParams(t), { defaultSort: s, defaultSortDirection: c } = rM().value;return {...i,loc: o.get("loc") ?? r.defaultLoc(),@@ -54049,7 +54049,7 @@ function Rye(e, t, n, r) {dur_max: o.get("dur_max") || "",orient: o.get("orient") || "",state: kn[e] || o.get("state") || "",- ...zj(o.get("sort"), o.get("dir"), s, c),+ ...Rj(o.get("sort"), o.get("dir"), s, c),seed: o.get("seed") || (n ? ir() : i.seed || ir()),q: o.get("q") || "",jav: o.get("jav") || "",@@ -54060,14 +54060,14 @@ function Rye(e, t, n, r) {folder_recursive: o.get("folder_recursive") === "0" ? "0" : ""};}-function JW(e) {+function qW(e) {let t = Op.navigation.seq;lm("catalog", { ...U });let n = e(), r = () => Op.navigation.seq === t, i = () => document.querySelector("#grid");pm(r, i(), { pending: !0 }), Promise.resolve(n).then(() => pm(r, i()));}-function zye(e, t) {- let n = { ...e }, r = qW(n.opened);+function Bye(e, t) {+ let n = { ...e }, r = KW(n.opened);Object.assign(e, r);let i = t.catalog;if (!i || r.opens === 0) return;@@ -54079,39 +54079,39 @@ function zye(e, t) {if (r.opens === n.opens) {if (r.epoch === n.epoch && n.opened) {if (r.seq === n.seq || n.covered && r.address === n.address && r.filters === n.filters) return;- JW(() => i.load());+ qW(() => i.load());return;}- r.epoch !== n.epoch && (a = Op.navigation.action === "POP" && GW.from !== "/");+ r.epoch !== n.epoch && (a = Op.navigation.action === "POP" && WW.from !== "/");}let { pathname: o, search: s } = Op.navigation.location;if (o === "/" && new URLSearchParams(s).get("state") === "ads") {let { kind: e, view: t } = LU(s);- KW = !0, kp(RU(e, t), { replace: !0 });+ GW = !0, kp(RU(e, t), { replace: !0 });return;}- let c = KW;- KW = !1, a &&= o === "/" && !dm(), e.opened = !0, W({ state: Rye(o, s, a, i) }), JW(() => i.open(o, {+ let c = GW;+ GW = !1, a &&= o === "/" && !dm(), e.opened = !0, W({ state: zye(o, s, a, i) }), qW(() => i.open(o, {entering: a,retitle: c}));}-function Bye() {- let e = (0, F.useContext)(eG), t = $W(), n = (0, F.useSyncExternalStore)(Cu, Lye), r = ef(), i = (0, F.useRef)(null), a = (0, F.useRef)({+function Vye() {+ let e = (0, F.useContext)($W), t = QW(), n = (0, F.useSyncExternalStore)(Cu, Rye), r = ef(), i = (0, F.useRef)(null), a = (0, F.useRef)({mounted: !0,queued: !1});return (0, F.useEffect)(() => {let e = a.current;e.mounted = !0;- let t = qW(!Bf(Op.navigation.location.pathname));- return !t.covered && t.opens > 0 && (KW || GW.seq === HW ? t.opens = -1 : GW.claimed ? t.seq = -1 : t.epoch = -1), i.current = t, () => {+ let t = KW(!Bf(Op.navigation.location.pathname));+ return !t.covered && t.opens > 0 && (GW || WW.seq === VW ? t.opens = -1 : WW.claimed ? t.seq = -1 : t.epoch = -1), i.current = t, () => {e.mounted = !1;};}, []), (0, F.useEffect)(() => {let t = a.current;!t.queued && e && (t.queued = !0, queueMicrotask(() => {- t.queued = !1, t.mounted && i.current && zye(i.current, e);+ t.queued = !1, t.mounted && i.current && Bye(i.current, e);}));}, [t,@@ -54120,7 +54120,7 @@ function Bye() {e]), null;}-function YW() {+function JW() {let { pathname: e } = ef();return (0, F.useLayoutEffect)(() => {if (e !== "/wall") return;@@ -54129,23 +54129,23 @@ function YW() {return t.forEach((e) => {e.inert = !0;}), () => {- document.body.removeAttribute("data-wall-open"), VW(), t.forEach((e, t) => {+ document.body.removeAttribute("data-wall-open"), BW(), t.forEach((e, t) => {e.inert = n[t] || !1;});};- }, [e]), Bf(e) && !zf(e) ? null : /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(Bye, {}, e === "/junk-files" ? "/junk-files" : "/"), jn(e) ? /* @__PURE__ */ (0, I.jsx)(aG, {}) : null] });+ }, [e]), Bf(e) && !zf(e) ? null : /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(Vye, {}, e === "/junk-files" ? "/junk-files" : "/"), jn(e) ? /* @__PURE__ */ (0, I.jsx)(iG, {}) : null] });}-function Vye() {- let e = (0, F.useContext)(eG), t = document.getElementById("javLibraryHeader");+function Hye() {+ let e = (0, F.useContext)($W), t = document.getElementById("javLibraryHeader");return t && e ? (0, Rt.createPortal)(/* @__PURE__ */ (0, I.jsx)(Dye, {navigate: e.navigate,receipt: (t) => e.receipt(t)}), t) : null;}// src/react/router/pages/overlay.tsx-var XW = () => pu, Hye = () => mu;-function Uye() {- let e = (0, F.useContext)(eG), t = (0, F.useSyncExternalStore)(Cu, Hye), n = (0, F.useSyncExternalStore)(Cu, XW);+var YW = () => pu, Uye = () => mu;+function Wye() {+ let e = (0, F.useContext)($W), t = (0, F.useSyncExternalStore)(Cu, Uye), n = (0, F.useSyncExternalStore)(Cu, YW);return (0, F.useEffect)(() => {if (!t || !n) return;let r = !0;@@ -54160,8 +54160,8 @@ function Uye() {e]), null;}-function ZW(e, t = !1) {- let n = (0, F.useSyncExternalStore)(Cu, XW), r = (0, F.useRef)(void 0);+function XW(e, t = !1) {+ let n = (0, F.useSyncExternalStore)(Cu, YW), r = (0, F.useRef)(void 0);if (r.current === void 0) {let { claimed: e } = Op.navigation;r.current = pu === 0 || Ap() ? "boot" : e && !t ? null : "history";@@ -54180,11 +54180,11 @@ function ZW(e, t = !1) {}));}, [n]);}-function Wye() {- let e = (0, F.useContext)(eG), t = (0, F.useRef)(e);+function Gye() {+ let e = (0, F.useContext)($W), t = (0, F.useRef)(e);return (0, F.useLayoutEffect)(() => {t.current = e;- }, [e]), ZW((t) => {+ }, [e]), XW((t) => {let n = Op.navigation.location, { pathname: r, search: i } = Mf(n.pathname) && Ff(n.state) || n, a = zf(r, i);e && a && (Gf(), t || Kf(Op.navigation.location.state), e.openOverlay(a));}, !0), (0, F.useEffect)(() => () => {@@ -54193,8 +54193,8 @@ function Wye() {});}, []), null;}-function Gye({ path: e }) {- $W();+function Kye({ path: e }) {+ QW();let { location: t, seq: n, action: r } = Op.navigation, i = Mf(t.pathname) ? Ff(t.state) : null, a = (i || t).pathname + (i || t).search, o = (0, F.useRef)({identity: a,seq: i?.seq ?? n,@@ -54206,24 +54206,24 @@ function Gye({ path: e }) {seq: n,navigationSeq: n,settings: !1- }), /* @__PURE__ */ (0, I.jsx)(Wye, {}, `${e} ${o.current.seq}`);+ }), /* @__PURE__ */ (0, I.jsx)(Gye, {}, `${e} ${o.current.seq}`);}-function Kye() {- let e = (0, F.useContext)(eG);- return ZW(() => {+function qye() {+ let e = (0, F.useContext)($W);+ return XW(() => {e?.follow?.ground();}), null;}-function qye() {- return /* @__PURE__ */ (0, I.jsx)(Kye, {}, $W());+function Jye() {+ return /* @__PURE__ */ (0, I.jsx)(qye, {}, QW());}// src/react/router/router.tsx-var QW = (0, F.createContext)(0), $W = () => (0, F.useContext)(QW), eG = (0, F.createContext)(null);-function Jye({ children: e }) {+var ZW = (0, F.createContext)(0), QW = () => (0, F.useContext)(ZW), $W = (0, F.createContext)(null);+function Yye({ children: e }) {let [t, n] = (0, F.useState)(() => Op.navigation);return (0, F.useLayoutEffect)(() => (n(Op.navigation), Op.listen((e) => {(0, Rt.flushSync)(() => n(e));- })), []), /* @__PURE__ */ (0, I.jsx)(QW.Provider, {+ })), []), /* @__PURE__ */ (0, I.jsx)(ZW.Provider, {value: t.openEpoch,children: /* @__PURE__ */ (0, I.jsx)(Tf, {location: t.location,@@ -54233,34 +54233,34 @@ function Jye({ children: e }) {})});}-function Yye({ target: e }) {+function Xye({ target: e }) {let t = nf();return (0, F.useLayoutEffect)(() => {e.current = t;}), null;}-function Xye(e, t, n) {+function Zye(e, t, n) {let r = new URL(e, window.location.href);- P6(r.pathname) ? n(`${r.pathname}${r.search}${r.hash}`) : t.navigate(e);+ N6(r.pathname) ? n(`${r.pathname}${r.search}${r.hash}`) : t.navigate(e);}-function Zye() {- let e = (0, F.useContext)(eG), [t, n] = (0, F.useState)(dp), r = (0, F.useRef)(null);+function Qye() {+ let e = (0, F.useContext)($W), [t, n] = (0, F.useState)(dp), r = (0, F.useRef)(null);(0, F.useLayoutEffect)(() => (n(dp()), fp((e, t) => {t ? (0, Rt.flushSync)(() => n(e)) : n(e);})), []);let i = (0, F.useMemo)(() => (t) => {- e && r.current && Xye(t, e, r.current);+ e && r.current && Zye(t, e, r.current);}, [e]);- return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(Yye, { target: r }), e ? t.map((t) => /* @__PURE__ */ (0, I.jsx)(Qye, {+ return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(Xye, { target: r }), e ? t.map((t) => /* @__PURE__ */ (0, I.jsx)($ye, {entry: t,- children: /* @__PURE__ */ (0, I.jsx)($ye, {+ children: /* @__PURE__ */ (0, I.jsx)(ebe, {entry: t,actions: e,go: i})}, t.revision)) : null] });}-var Qye = class extends F.Component {+var $ye = class extends F.Component {state = { failed: !1 };static getDerivedStateFromError() {return { failed: !0 };@@ -54271,48 +54271,48 @@ var Qye = class extends F.Component {render() {return this.state.failed ? null : this.props.children;}-}, $ye = (0, F.memo)(function({ entry: e, actions: t, go: n }) {- return J6(e.path) ? (0, Rt.createPortal)(EIe(e.path, e.props, t, n), e.host, String(e.revision)) : null;+}, ebe = (0, F.memo)(function({ entry: e, actions: t, go: n }) {+ return q6(e.path) ? (0, Rt.createPortal)(DIe(e.path, e.props, t, n), e.host, String(e.revision)) : null;});-function ebe({ children: e }) {+function tbe({ children: e }) {let t = ef();- $W();+ QW();let n = jp(), r = Mf(t.pathname) && !Ap() ? Ff(t.state) : null;return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsxs)(Ef, {location: n ?? t,children: [- Object.entries(N6).map(([e, t]) => /* @__PURE__ */ (0, I.jsx)(wf, {+ Object.entries(M6).map(([e, t]) => /* @__PURE__ */ (0, I.jsx)(wf, {path: e,element: t.element}, e)),- Object.entries(SIe).map(([e, t]) => /* @__PURE__ */ (0, I.jsx)(wf, {+ Object.entries(CIe).map(([e, t]) => /* @__PURE__ */ (0, I.jsx)(wf, {path: e,element: t.element}, e)),- Object.entries(F6).map(([e, t]) => /* @__PURE__ */ (0, I.jsx)(wf, {+ Object.entries(P6).map(([e, t]) => /* @__PURE__ */ (0, I.jsx)(wf, {path: e,element: t.element}, e)),- Object.entries(R6).map(([e, t]) => /* @__PURE__ */ (0, I.jsx)(wf, {+ Object.entries(L6).map(([e, t]) => /* @__PURE__ */ (0, I.jsx)(wf, {path: e,element: t.element}, e)),- Object.entries(B6).map(([e, t]) => /* @__PURE__ */ (0, I.jsx)(wf, {+ Object.entries(z6).map(([e, t]) => /* @__PURE__ */ (0, I.jsx)(wf, {path: e,element: t.element}, e)),- q6.map((e) => /* @__PURE__ */ (0, I.jsx)(wf, {+ K6.map((e) => /* @__PURE__ */ (0, I.jsx)(wf, {path: e,- element: V6["/"].element+ element: B6["/"].element}, e)),- Object.entries(CIe).map(([e, t]) => /* @__PURE__ */ (0, I.jsx)(wf, {+ Object.entries(wIe).map(([e, t]) => /* @__PURE__ */ (0, I.jsx)(wf, {path: e,element: t.element}, e)),If.map((e) => /* @__PURE__ */ (0, I.jsx)(wf, {path: e,- element: e === "/works/:code" ? null : e === "/posts/:id" ? /* @__PURE__ */ (0, I.jsx)(qye, {}) : V6["/"].element+ element: e === "/works/:code" ? null : e === "/posts/:id" ? /* @__PURE__ */ (0, I.jsx)(Jye, {}) : B6["/"].element}, e)),jf.map((e) => /* @__PURE__ */ (0, I.jsx)(wf, {path: e,@@ -54328,7 +54328,7 @@ function ebe({ children: e }) {location: r ?? t,children: [If.map((e) => /* @__PURE__ */ (0, I.jsx)(wf, {path: e,- element: /* @__PURE__ */ (0, I.jsx)(Gye, { path: e })+ element: /* @__PURE__ */ (0, I.jsx)(Kye, { path: e })}, e)), /* @__PURE__ */ (0, I.jsx)(wf, {path: "*",element: null@@ -54343,31 +54343,31 @@ function ebe({ children: e }) {})] })] });}-function tbe({ children: e, actions: t = null, background: n, processing: r = !1 }) {- return /* @__PURE__ */ (0, I.jsxs)(HV, { children: [n, /* @__PURE__ */ (0, I.jsx)(eG.Provider, {+function nbe({ children: e, actions: t = null, background: n, processing: r = !1 }) {+ return /* @__PURE__ */ (0, I.jsxs)(HV, { children: [n, /* @__PURE__ */ (0, I.jsx)($W.Provider, {value: t,- children: /* @__PURE__ */ (0, I.jsxs)(Jye, { children: [- /* @__PURE__ */ (0, I.jsx)(Zye, {}),- /* @__PURE__ */ (0, I.jsx)(Vye, {}),- /* @__PURE__ */ (0, I.jsx)(Uye, {}),+ children: /* @__PURE__ */ (0, I.jsxs)(Yye, { children: [+ /* @__PURE__ */ (0, I.jsx)(Qye, {}),+ /* @__PURE__ */ (0, I.jsx)(Hye, {}),+ /* @__PURE__ */ (0, I.jsx)(Wye, {}),r && t ? /* @__PURE__ */ (0, I.jsx)(fve, { toast: t.toast }) : null,r && t ? /* @__PURE__ */ (0, I.jsx)(gve, {}) : null,r && t ? /* @__PURE__ */ (0, I.jsx)(Xve, { navigate: t.navigate }) : null,r && t ? /* @__PURE__ */ (0, I.jsx)(Kve, { actions: t }) : null,- /* @__PURE__ */ (0, I.jsx)(ebe, { children: e })+ /* @__PURE__ */ (0, I.jsx)(tbe, { children: e })] })})] });}-var nbe = { onCaughtError: (e) => {+var rbe = { onCaughtError: (e) => {globalThis.reportError?.(e);-} }, tG = {+} }, eG = {category: "个人分类",creator: "创作者/账号",performer: "人物",seller: "卖家",studio: "厂牌"};-function nG(e, t = "", n = "") {+function tG(e, t = "", n = "") {let r = new URLSearchParams({...e,folder: t,@@ -54379,14 +54379,14 @@ function nG(e, t = "", n = "") {queryFn: ({ signal: e }) => B(`/api/folders?${r}`, e)};}-function rG(e, t) {+function nG(e, t) {let n = new URLSearchParams(e.search);for (let [e, r] of Object.entries(t)) r ? n.set(e, r) : n.delete(e);return e.pathname + (n.size ? `?${n}` : "");}// src/react/catalog-folders/folder-rule-dialog.tsx-function rbe({ folder: e, rule: t, revision: n, close: r }) {- let i = (0, F.useContext)(eG), a = hH(), [o, s] = (0, F.useState)(t?.purpose || "category"), [c, l] = (0, F.useState)(t?.name || ""), [u, d] = (0, F.useState)(t?.recursive ?? !0), [f, p] = (0, F.useState)(t?.future ?? !1), [m, h] = (0, F.useState)(null), [g, _] = (0, F.useState)(!1), v = {+function ibe({ folder: e, rule: t, revision: n, close: r }) {+ let i = (0, F.useContext)($W), a = hH(), [o, s] = (0, F.useState)(t?.purpose || "category"), [c, l] = (0, F.useState)(t?.name || ""), [u, d] = (0, F.useState)(t?.recursive ?? !0), [f, p] = (0, F.useState)(t?.future ?? !1), [m, h] = (0, F.useState)(null), [g, _] = (0, F.useState)(!1), v = {folder: e.id,purpose: o,name: c,@@ -54429,7 +54429,7 @@ function rbe({ folder: e, rule: t, revision: n, close: r }) {className: "flex items-start justify-between gap-4 border-b border-separator-border p-5",children: [/* @__PURE__ */ (0, I.jsxs)("div", {className: "min-w-0",- children: [/* @__PURE__ */ (0, I.jsx)(VL, {+ children: [/* @__PURE__ */ (0, I.jsx)(BL, {slot: "title",className: "text-title-2-medium",children: "设置目录用途"@@ -54456,7 +54456,7 @@ function rbe({ folder: e, rule: t, revision: n, close: r }) {onSelectionChange: (e) => {s(e), y();},- children: Object.entries(tG).map(([e, t]) => /* @__PURE__ */ (0, I.jsx)(WU, {+ children: Object.entries(eG).map(([e, t]) => /* @__PURE__ */ (0, I.jsx)(WU, {id: e,children: t}, e))@@ -54584,7 +54584,7 @@ function rbe({ folder: e, rule: t, revision: n, close: r }) {});}// src/react/catalog-folders/use-folder-sticky-offset.ts-function ibe(e, t) {+function abe(e, t) {(0, F.useLayoutEffect)(() => {if (!e) return;let n = t ? document.getElementById("index") : document.getElementById("catalogFilter"), r = null, i = 0, a = new ResizeObserver(() => s()), o = () => {@@ -54607,34 +54607,34 @@ function ibe(e, t) {}, [e, t]);}// src/react/catalog-folders/catalog-folders-page.tsx-function iG() {- return $d() ? /* @__PURE__ */ (0, I.jsx)(abe, {}) : null;+function rG() {+ return $d() ? /* @__PURE__ */ (0, I.jsx)(obe, {}) : null;}-function abe() {- let e = ef(), t = (0, F.useContext)(eG);+function obe() {+ let e = ef(), t = (0, F.useContext)($W);if (!jn(e.pathname) && !/^\/(performers|creators|studios|series|agencies|tags)\/[^/]+$/.test(e.pathname)) return null;let n = new URLSearchParams(e.search), r = n.get("browse") === "folders" || !!n.get("folder");- return /* @__PURE__ */ (0, I.jsx)(sL, {+ return /* @__PURE__ */ (0, I.jsx)(oL, {size: "small","data-folder-mode-toggle": "","aria-label": "文件夹模式",title: "文件夹模式","aria-pressed": r,icon: MB,- onClick: () => t?.navigate(rG(e, r ? {+ onClick: () => t?.navigate(nG(e, r ? {browse: null,folder: null,folder_recursive: null} : { browse: "folders" }))});}-function obe({ children: e, enabled: t }) {- return $d() ? /* @__PURE__ */ (0, I.jsx)(sbe, {+function sbe({ children: e, enabled: t }) {+ return $d() ? /* @__PURE__ */ (0, I.jsx)(cbe, {enabled: t,children: e}) : /* @__PURE__ */ (0, I.jsx)(I.Fragment, { children: e });}-function sbe({ children: e, enabled: t }) {+function cbe({ children: e, enabled: t }) {let [n, r] = (0, F.useState)(null), [i, a] = (0, F.useState)(null), o = ef(), s = new URLSearchParams(o.search), c = t && (s.get("browse") === "folders" || !!s.get("folder"));return /* @__PURE__ */ (0, I.jsxs)("div", {className: "entity-folder-workspace",@@ -54654,7 +54654,7 @@ function sbe({ children: e, enabled: t }) {hidden: !c}), e]}),- n && i ? /* @__PURE__ */ (0, I.jsx)(aG, {+ n && i ? /* @__PURE__ */ (0, I.jsx)(iG, {treeTarget: n,headerTarget: i,enabled: t@@ -54662,14 +54662,14 @@ function sbe({ children: e, enabled: t }) {]});}-function aG({ treeTarget: e, headerTarget: t, enabled: n = !0 } = {}) {- let r = ef(), i = (0, F.useContext)(eG), a = new URLSearchParams(r.search), o = n && (a.get("browse") === "folders" || !!a.get("folder")), s = {+function iG({ treeTarget: e, headerTarget: t, enabled: n = !0 } = {}) {+ let r = ef(), i = (0, F.useContext)($W), a = new URLSearchParams(r.search), o = n && (a.get("browse") === "folders" || !!a.get("folder")), s = {loc: a.get("loc") ?? "",library: a.get("library") ?? ""};- ibe(o, e);+ abe(o, e);let c = a.get("folder") || "", l = Ft({- ...nG(s, c),+ ...tG(s, c),enabled: o}), [u, d] = (0, F.useState)(!1), [f, p] = (0, F.useState)(!1), m = e ?? document.getElementById("catalogFoldersTree"), h = t ?? document.getElementById("catalogFolderHeader");if ((0, F.useLayoutEffect)(() => (m && (m.hidden = !o), h && (h.hidden = !o), e || document.body.toggleAttribute("data-folder-browse", o), () => {@@ -54683,11 +54683,11 @@ function aG({ treeTarget: e, headerTarget: t, enabled: n = !0 } = {}) {d(!1), p(!1);}, [c, o]), !o || !m || !h || !i) return null;let g = (e) => {- d(!1), i.navigate(rG(r, {+ d(!1), i.navigate(nG(r, {browse: "folders",folder: e}));- }, _ = l.data, v = /* @__PURE__ */ (0, I.jsx)(lbe, {+ }, _ = l.data, v = /* @__PURE__ */ (0, I.jsx)(ube, {scope: s,selected: c,current: _,@@ -54704,7 +54704,7 @@ function aG({ treeTarget: e, headerTarget: t, enabled: n = !0 } = {}) {children: [/* @__PURE__ */ (0, I.jsx)("span", {className: "folder-drawer-trigger",- children: /* @__PURE__ */ (0, I.jsx)(sL, {+ children: /* @__PURE__ */ (0, I.jsx)(oL, {"aria-label": "打开文件夹目录",icon: Ege,size: "small",@@ -54728,7 +54728,7 @@ function aG({ treeTarget: e, headerTarget: t, enabled: n = !0 } = {}) {})}, e.id))]}),- _?.selected ? /* @__PURE__ */ (0, I.jsx)(sL, {+ _?.selected ? /* @__PURE__ */ (0, I.jsx)(oL, {"aria-label": "设置目录用途",icon: pge,size: "small",@@ -54763,11 +54763,11 @@ function aG({ treeTarget: e, headerTarget: t, enabled: n = !0 } = {}) {children: [/* @__PURE__ */ (0, I.jsx)(zV, {size: "sm",isSelected: a.get("folder_recursive") !== "0",- onChange: (e) => i.navigate(rG(r, { folder_recursive: e ? null : "0" })),+ onChange: (e) => i.navigate(nG(r, { folder_recursive: e ? null : "0" })),children: "包含子文件夹"}), /* @__PURE__ */ (0, I.jsx)("span", {className: "text-caption-1-regular text-text-tertiary",- children: _.rule ? `${tG[_.rule.purpose]}${_.rule.name ? ` · ${_.rule.name}` : ""}` : "个人分类"+ children: _.rule ? `${eG[_.rule.purpose]}${_.rule.name ? ` · ${_.rule.name}` : ""}` : "个人分类"})]}) : null,l.isPending ? /* @__PURE__ */ (0, I.jsx)("div", {@@ -54777,7 +54777,7 @@ function aG({ treeTarget: e, headerTarget: t, enabled: n = !0 } = {}) {className: "folder-children",children: Array.from({ length: 6 }, (e, t) => /* @__PURE__ */ (0, I.jsx)("span", { className: "skeleton-sheen h-8 w-28 rounded-lg" }, t))}) : null,- _?.children.length ? /* @__PURE__ */ (0, I.jsx)(cbe, {+ _?.children.length ? /* @__PURE__ */ (0, I.jsx)(lbe, {nodes: _.children,go: g}, c) : null@@ -54802,7 +54802,7 @@ function aG({ treeTarget: e, headerTarget: t, enabled: n = !0 } = {}) {children: u ? v : null})]}),- f && _?.selected ? /* @__PURE__ */ (0, I.jsx)(rbe, {+ f && _?.selected ? /* @__PURE__ */ (0, I.jsx)(ibe, {folder: _.selected,rule: _.rule,revision: _.rules_revision,@@ -54810,7 +54810,7 @@ function aG({ treeTarget: e, headerTarget: t, enabled: n = !0 } = {}) {}, _.selected.id) : null] });}-function cbe({ nodes: e, go: t }) {+function lbe({ nodes: e, go: t }) {let [n, r] = (0, F.useState)(!1), i = (0, F.useId)(), a = n ? e : e.slice(0, 12);return /* @__PURE__ */ (0, I.jsxs)("div", {className: "flex min-w-0 flex-col items-start gap-2",@@ -54838,15 +54838,15 @@ function cbe({ nodes: e, go: t }) {}) : null]});}-function lbe({ scope: e, selected: t, current: n, go: r, reportedError: i }) {- let a = Ft(nG(e)), [o, s] = (0, F.useState)(/* @__PURE__ */ new Set()), [c, l] = (0, F.useState)(""), u = (0, F.useDeferredValue)(c), d = Ft({- ...nG(e, "", u),+function ube({ scope: e, selected: t, current: n, go: r, reportedError: i }) {+ let a = Ft(tG(e)), [o, s] = (0, F.useState)(/* @__PURE__ */ new Set()), [c, l] = (0, F.useState)(""), u = (0, F.useDeferredValue)(c), d = Ft({+ ...tG(e, "", u),enabled: !!u.trim()}), f = BV();(0, F.useEffect)(() => {n?.ancestors.length && s((e) => /* @__PURE__ */ new Set([...e, ...n.ancestors.filter((e) => e.has_children).map((e) => e.id)]));}, [n?.ancestors]);- let p = [...o].map(String), m = Nt({ queries: p.map((t) => nG(e, t)) }), h = /* @__PURE__ */ new Map();+ let p = [...o].map(String), m = Nt({ queries: p.map((t) => tG(e, t)) }), h = /* @__PURE__ */ new Map();m.forEach((e, t) => {e.data && h.set(p[t], e.data.children);}), n?.selected && h.set(n.selected.id, n.children);@@ -54952,7 +54952,7 @@ function lbe({ scope: e, selected: t, current: n, go: r, reportedError: i }) {size: "compact",icon: MB,title: "尚未添加媒体目录",- actions: /* @__PURE__ */ (0, I.jsx)(yL, {+ actions: /* @__PURE__ */ (0, I.jsx)(vL, {size: "small",href: "/settings/library",children: "添加媒体"@@ -54965,42 +54965,42 @@ function lbe({ scope: e, selected: t, current: n, go: r, reportedError: i }) {});}// src/react/catalog-grid/catalog-view.ts-var oG = "peach.catalog-view.v1", sG = /* @__PURE__ */ new Set(), cG = "cards";-function lG() {+var aG = "peach.catalog-view.v1", oG = /* @__PURE__ */ new Set(), sG = "cards";+function cG() {try {- return localStorage.getItem(oG) === "list" ? "list" : "cards";+ return localStorage.getItem(aG) === "list" ? "list" : "cards";} catch {- return cG;+ return sG;}}-function ube(e) {- cG = e === "list" ? "list" : "cards";+function dbe(e) {+ sG = e === "list" ? "list" : "cards";try {- localStorage.setItem(oG, cG);+ localStorage.setItem(aG, sG);} catch {}- sG.forEach((e) => e());+ oG.forEach((e) => e());}-function dbe(e) {- sG.add(e);+function fbe(e) {+ oG.add(e);let t = (t) => {- (t.key === oG || t.key === null) && e();+ (t.key === aG || t.key === null) && e();};return addEventListener("storage", t), () => {- sG.delete(e), removeEventListener("storage", t);+ oG.delete(e), removeEventListener("storage", t);};}-var uG = () => (0, F.useSyncExternalStore)(dbe, lG, () => "cards");+var lG = () => (0, F.useSyncExternalStore)(fbe, cG, () => "cards");// src/react/catalog-grid/catalog-view-toggle.tsx-function dG() {- let e = uG();- return /* @__PURE__ */ (0, I.jsxs)(Mz, {+function uG() {+ let e = lG();+ return /* @__PURE__ */ (0, I.jsxs)(jz, {"aria-label": "馆藏显示方式",orientation: "horizontal",value: e,- onChange: ube,+ onChange: dbe,"data-entity-layout": "",className: oU,- children: [/* @__PURE__ */ (0, I.jsx)(Nz, {+ children: [/* @__PURE__ */ (0, I.jsx)(Mz, {value: "cards","aria-label": "卡片",className: sU,@@ -55013,7 +55013,7 @@ function dG() {className: "size-4"})})- }), /* @__PURE__ */ (0, I.jsx)(Nz, {+ }), /* @__PURE__ */ (0, I.jsx)(Mz, {value: "list","aria-label": "列表",className: sU,@@ -55030,8 +55030,8 @@ function dG() {});}// src/react/components/icon-swap.tsx-function fG({ a: e, b: t, state: n, className: r }) {- let { isFocusVisible: i } = EC();+function dG({ a: e, b: t, state: n, className: r }) {+ let { isFocusVisible: i } = TC();return /* @__PURE__ */ (0, I.jsxs)("span", {"aria-hidden": !0,className: `iconswap ${r || ""}`,@@ -55047,114 +55047,114 @@ function fG({ a: e, b: t, state: n, className: r }) {})]});}-function pG({ className: e }) {- return /* @__PURE__ */ (0, I.jsx)(fG, {- a: Yhe,- b: Jhe,+function fG({ className: e }) {+ return /* @__PURE__ */ (0, I.jsx)(dG, {+ a: Xhe,+ b: Yhe,className: e});}// src/react/follow-feed/follow-marks.ts-var mG = (e) => typeof e == "string" ? e : "", hG = (e) => e.aliases;-function gG(e, t = "") {+var pG = (e) => typeof e == "string" ? e : "", mG = (e) => e.aliases;+function hG(e, t = "") {let n = Ji(e);return n ? `<img data-follow-site-icon="" src="${n}" alt="${z(t)}"${t ? ` title="${z(t)}"` : ""} loading="lazy" data-drop="self">` : "";}-function _G(e, t = "") {+function gG(e, t = "") {let n = z(si(t || e)), r = Ji(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 vG = (e) => mG(e.title).trim() || "未命名内容", yG = (e, t) => oi(e, hG(t));-function bG(e) {+var _G = (e) => pG(e.title).trim() || "未命名内容", vG = (e, t) => oi(e, mG(t));+function yG(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 = mG(n.entity_name);+ let n = t[0], r = pG(n.entity_name);return ln("creator", r, n.entity_id), r;}-function xG(e, t) {+function bG(e, t) {let { src: n, fallback: r } = ci(e), i = si(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 SG(e, t, n) {- let r = hG(n), i = e.credit, a = i?.poster;+function xG(e, t, n) {+ let r = mG(n), i = e.credit, a = i?.poster;if (!a) {let n = oi(t, r);return {- author: n || mG(e.author) || mG(e.source_label) || "创作者未取得",- avatar: xG(t, n),+ author: n || pG(e.author) || pG(e.source_label) || "创作者未取得",+ avatar: bG(t, n),credited: "",- entityName: bG(t)+ entityName: yG(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 && oi(c, r) || a;return {author: l,- avatar: xG(c, l),+ avatar: bG(c, l),credited: i.credited || "",- entityName: bG(c)+ entityName: yG(c)};}-function CG(e, t = e.primary) {+function SG(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 = mG(e.primary.version);+ let i = pG(e.primary.version);i && n.push(r("version", z(i)));- let a = mG(t.audio), o = a === "voiced" ? "配音版" : a === "silent" ? "无声版" : "";+ let a = pG(t.audio), o = a === "voiced" ? "配音版" : a === "silent" ? "无声版" : "";return o && n.push(r(a, o)), n.join("");}-function wG(e, t = e.primary) {+function CG(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]) => gG(e, t) || `<span>${z(t)}</span>`).join("");+ let r = [...n].map(([e, t]) => hG(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 TG(e, t) {- let n = mG(e.media_error);+function wG(e, t) {+ let n = pG(e.media_error);return n ? `媒体未取得:${n}` : e.media_needs_credential && !t.credentials.has(e.provider) ? e.playable ? "部分媒体未取得:需要 F95 登录会话解析" : "媒体未取得:需要 F95 登录会话解析" : "";}-var fbe = 864e5, pbe = (e, t) => {+var pbe = 864e5, mbe = (e, t) => {let n = new Date(/[Zz]|[+-]\d\d:?\d\d$/.test(e) ? e : `${e}Z`).getTime();- return Number.isFinite(n) && n - t > fbe;+ return Number.isFinite(n) && n - t > pbe;};-function EG(e, t) {- let n = mG(e.published_at);+function TG(e, t) {+ let n = pG(e.published_at);if (!n) return null;let r = e.published_precision === "approximate", i = Cr(n);return {prefix: r ? "约 " : "",full: r ? i.slice(0, 10) : i,- suffix: pbe(n, t) ? " · 晚于现在" : ""+ suffix: mbe(n, t) ? " · 晚于现在" : ""};}-function DG(e, t = Date.now()) {- let n = EG(e, t);+function EG(e, t = Date.now()) {+ let n = TG(e, t);return n ? `${n.prefix}${n.full}${n.suffix}` : "时间未取得";}-function OG(e, t = Date.now()) {- let n = EG(e, t);+function DG(e, t = Date.now()) {+ let n = TG(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 kG = /* @__PURE__ */ new Set(), AG = [], jG = null;-function MG() {- if (jG = null, !AG.length) return;- let e = AG.splice(0, 200);+var OG = /* @__PURE__ */ new Set(), kG = [], AG = null;+function jG() {+ if (AG = null, !kG.length) return;+ let e = kG.splice(0, 200);Tn("/api/follow/image-dims", {method: "POST",body: JSON.stringify({ entries: e })- }).catch(() => {}), AG.length && (jG = setTimeout(MG, 800));+ }).catch(() => {}), kG.length && (AG = setTimeout(jG, 800));}-function mbe(e, t, n, r) {+function hbe(e, t, n, r) {let i = `${e}:${t ?? ""}`;- kG.has(i) || (kG.add(i), AG.push(t === null ? {+ OG.has(i) || (OG.add(i), kG.push(t === null ? {item: e,width: n,height: r@@ -55163,25 +55163,25 @@ function mbe(e, t, n, r) {width: n,height: r,media: t- }), jG ||= setTimeout(MG, 800));+ }), AG ||= setTimeout(jG, 800));}// src/react/entity-filter/entity-filter.ts-var hbe = (e) => e === "videos", NG = () => /* @__PURE__ */ (0, I.jsx)("span", {+var gbe = (e) => e === "videos", MG = () => /* @__PURE__ */ (0, I.jsx)("span", {"data-entity-sep": "","aria-hidden": "true"-}), gbe = pV("shuffle"), _be = pV("arrow-up"), vbe = pV("arrow-down");-function ybe(e) {- let { view: t, views: n, state: r, states: i, tags: a, combo: o, actions: s, helpers: c } = e, l = hbe(t), u = t === "online" ? e.online : null, d = l || !!u, f = u ? u.status : r, p = u ? u.statuses.map(([e, t]) => ({+}), _be = pV("shuffle"), vbe = pV("arrow-up"), ybe = pV("arrow-down");+function bbe(e) {+ let { view: t, views: n, state: r, states: i, tags: a, combo: o, actions: s, helpers: c } = e, l = gbe(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, F.useRef)(null), h = (0, F.useRef)(null), g = (0, F.useRef)(null), _ = (0, F.useRef)(null), v = (0, F.useRef)(null), y = (0, F.useRef)(null), b = (0, F.useRef)(null), x = _L(m, g, "[data-entity-state][aria-pressed=\"true\"]", `${t}:${f}`), S = _L(h, _, "[data-media-view][aria-pressed=\"true\"]", `${t}:${!!n}`), C = (0, F.useRef)(null), w = (0, F.useRef)(null), T = u?.mediaCounts ? u : null, E = _L(C, w, "[data-media-view][aria-pressed=\"true\"]", `${t}:${u?.media}:${!!T}`);+ })) : i, m = (0, F.useRef)(null), h = (0, F.useRef)(null), g = (0, F.useRef)(null), _ = (0, F.useRef)(null), v = (0, F.useRef)(null), y = (0, F.useRef)(null), b = (0, F.useRef)(null), x = gL(m, g, "[data-entity-state][aria-pressed=\"true\"]", `${t}:${f}`), S = gL(h, _, "[data-media-view][aria-pressed=\"true\"]", `${t}:${!!n}`), C = (0, F.useRef)(null), w = (0, F.useRef)(null), T = u?.mediaCounts ? u : null, E = gL(C, w, "[data-media-view][aria-pressed=\"true\"]", `${t}:${u?.media}:${!!T}`);return (0, F.useEffect)(() => {c.wireDrag(y.current), c.wireScroller(v.current), c.wireDrag(b.current);- }, [c]), /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(PG, {+ }, [c]), /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(NG, {items: o,hidden: !l,actions: s- }), /* @__PURE__ */ (0, I.jsx)(fL, {+ }), /* @__PURE__ */ (0, I.jsx)(dL, {label: "筛选与排序",topLabel: "媒体与标签",attrs: {@@ -55210,19 +55210,19 @@ function ybe(e) {})] }),top: !n && !d ? null : /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [- n ? /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(Cbe, {+ n ? /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(wbe, {keys: n,view: t,row: _,glide: S,onView: s.setView- }), d ? /* @__PURE__ */ (0, I.jsx)(NG, {}) : null] }) : null,- T ? /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(xbe, {+ }), d ? /* @__PURE__ */ (0, I.jsx)(MG, {}) : null] }) : null,+ T ? /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(Sbe, {head: T,row: w,glide: E,onMedia: s.onlineMedia- }), /* @__PURE__ */ (0, I.jsx)(NG, {})] }) : null,+ }), /* @__PURE__ */ (0, I.jsx)(MG, {})] }) : null,/* @__PURE__ */ (0, I.jsxs)("div", {ref: v,"data-entity-scroll": "",@@ -55243,11 +55243,11 @@ function ybe(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, I.jsx)(NG, {}) : null]+ }, e.k)), !u || u.providers.length || u.tags.length ? /* @__PURE__ */ (0, I.jsx)(MG, {}) : null]}), /* @__PURE__ */ (0, I.jsx)("div", {ref: y,"data-entity-tags": "",- children: l ? a.map((e) => /* @__PURE__ */ (0, I.jsxs)(pL, {+ children: l ? a.map((e) => /* @__PURE__ */ (0, I.jsxs)(fL, {"data-entity-tag": e.k,"data-entity-press": "",pressed: e.selected,@@ -55256,17 +55256,17 @@ function ybe(e) {"data-count-badge": e.k,children: e.n.toLocaleString()})]- }, e.k)) : u ? /* @__PURE__ */ (0, I.jsx)(Sbe, {+ }, e.k)) : u ? /* @__PURE__ */ (0, I.jsx)(Cbe, {head: u,actions: s}) : null})]})] }),- bottom: /* @__PURE__ */ (0, I.jsx)(wbe, { ...e })+ bottom: /* @__PURE__ */ (0, I.jsx)(Tbe, { ...e })})] });}-var bbe = [[+var xbe = [["videos","视频","play",@@ -55277,7 +55277,7 @@ var bbe = [["pics","image"]];-function xbe({ head: e, row: t, glide: n, onMedia: r }) {+function Sbe({ head: e, row: t, glide: n, onMedia: r }) {return /* @__PURE__ */ (0, I.jsx)("div", {ref: t,role: "group",@@ -55285,7 +55285,7 @@ function xbe({ head: e, row: t, glide: n, onMedia: r }) {"data-entity-media": "","data-online-media": "",onPointerLeave: n.leave,- children: bbe.map(([t, i, a, o]) => {+ children: xbe.map(([t, i, a, o]) => {let s = `${i} ${Math.max(0, e.mediaCounts?.[t] || 0).toLocaleString()}`;return /* @__PURE__ */ (0, I.jsx)("button", {type: "button",@@ -55303,7 +55303,7 @@ function xbe({ head: e, row: t, glide: n, onMedia: r }) {})});}-function Sbe({ head: e, actions: t }) {+function Cbe({ head: e, actions: t }) {return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [e.providers.map(([n, r]) => /* @__PURE__ */ (0, I.jsx)("button", {type: "button",@@ -55313,10 +55313,10 @@ function Sbe({ head: e, actions: t }) {title: r,"aria-label": `来源:${r}`,onClick: () => t.onlineProvider(n),- dangerouslySetInnerHTML: { __html: gG(n) }+ dangerouslySetInnerHTML: { __html: hG(n) }}, n)),- e.providers.length && e.tags.length ? /* @__PURE__ */ (0, I.jsx)(NG, {}) : null,- e.tags.map((e) => /* @__PURE__ */ (0, I.jsxs)(pL, {+ e.providers.length && e.tags.length ? /* @__PURE__ */ (0, I.jsx)(MG, {}) : null,+ e.tags.map((e) => /* @__PURE__ */ (0, I.jsxs)(fL, {"data-follow-tag": e.k,"data-entity-press": "","data-tag-cat": `r34-${e.cat}`,@@ -55329,7 +55329,7 @@ function Sbe({ head: e, actions: t }) {}, e.k))] });}-function Cbe({ keys: e, view: t, row: n, glide: r, onView: i }) {+function wbe({ keys: e, view: t, row: n, glide: r, onView: i }) {let a = [];return e.people && a.push({value: "people",@@ -55377,7 +55377,7 @@ function Cbe({ keys: e, view: t, row: n, glide: r, onView: i }) {})});}-function PG({ items: e, hidden: t, actions: n }) {+function NG({ items: e, hidden: t, actions: n }) {return /* @__PURE__ */ (0, I.jsx)("div", {"data-entity-combo": "",hidden: t,@@ -55397,7 +55397,7 @@ function PG({ items: e, hidden: t, actions: n }) {})] }) : null});}-function wbe(e) {+function Tbe(e) {let { view: t, readout: n, busy: r, video: i, photo: a, actions: o, helpers: s } = e;return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [t === "photos" && a?.back ? /* @__PURE__ */ (0, I.jsxs)("button", {@@ -55409,30 +55409,30 @@ function wbe(e) {dangerouslySetInnerHTML: { __html: R("chevron-left") }}), /* @__PURE__ */ (0, I.jsx)("span", { children: "全部照片" })]}) : null,- /* @__PURE__ */ (0, I.jsx)(Tbe, {+ /* @__PURE__ */ (0, I.jsx)(Ebe, {text: n,busy: r}),/* @__PURE__ */ (0, I.jsx)(OV, { currentHref: () => location.pathname + location.search }),- t === "videos" && i ? /* @__PURE__ */ (0, I.jsx)(Ebe, {+ t === "videos" && i ? /* @__PURE__ */ (0, I.jsx)(Dbe, {head: i,actions: o}) : null,- t === "photos" && a ? /* @__PURE__ */ (0, I.jsx)(Obe, {+ t === "photos" && a ? /* @__PURE__ */ (0, I.jsx)(kbe, {head: a,actions: o,helpers: s}) : null,- t === "online" && e.online ? /* @__PURE__ */ (0, I.jsx)(Dbe, {+ t === "online" && e.online ? /* @__PURE__ */ (0, I.jsx)(Obe, {head: e.online,actions: o}) : null] });}-function Tbe({ text: e, busy: t }) {+function Ebe({ text: e, busy: t }) {return /* @__PURE__ */ (0, I.jsx)("h3", {"data-entity-readout": "",- children: /* @__PURE__ */ (0, I.jsx)(aL, {+ children: /* @__PURE__ */ (0, I.jsx)(iL, {text: t ? void 0 : e,busy: t,placeholder: /* @__PURE__ */ (0, I.jsx)("span", {@@ -55443,8 +55443,8 @@ function Tbe({ text: e, busy: t }) {})});}-function FG({ name: e, label: t, value: n, options: r, onChange: i }) {- return /* @__PURE__ */ (0, I.jsx)(Mz, {+function PG({ name: e, label: t, value: n, options: r, onChange: i }) {+ return /* @__PURE__ */ (0, I.jsx)(jz, {name: e,"aria-label": t,orientation: "horizontal",@@ -55454,7 +55454,7 @@ function FG({ name: e, label: t, value: n, options: r, onChange: i }) {className: oU,children: r.map(([e, t, n]) => {let r = pV(n);- return /* @__PURE__ */ (0, I.jsx)(Nz, {+ return /* @__PURE__ */ (0, I.jsx)(Mz, {value: e,"aria-label": t,"data-glass-segment": "",@@ -55468,38 +55468,38 @@ function FG({ name: e, label: t, value: n, options: r, onChange: i }) {})});}-function IG({ onPress: e, busy: t = !1 }) {- return /* @__PURE__ */ (0, I.jsx)(dL, {+function FG({ onPress: e, busy: t = !1 }) {+ return /* @__PURE__ */ (0, I.jsx)(uL, {"data-entity-batch": "",label: "换一批",busy: t,busyStyle: "strand",- icon: gbe,+ icon: _be,onPress: e});}-function Ebe({ head: e, actions: t }) {- let n = uG();+function Dbe({ head: e, actions: t }) {+ let n = lG();return /* @__PURE__ */ (0, I.jsxs)("span", {"data-entity-sorts": "",children: [- /* @__PURE__ */ (0, I.jsx)(IG, { onPress: () => void t.reshuffle() }),- e.jav && n === "cards" ? /* @__PURE__ */ (0, I.jsx)(FG, {+ /* @__PURE__ */ (0, I.jsx)(FG, { onPress: () => void t.reshuffle() }),+ e.jav && n === "cards" ? /* @__PURE__ */ (0, I.jsx)(PG, {label: "JAV 卡片版式",value: e.jav.layout,options: e.jav.options,onChange: t.setJavLayout}) : null,- /* @__PURE__ */ (0, I.jsx)(dG, {}),- /* @__PURE__ */ (0, I.jsx)(iG, {}),- /* @__PURE__ */ (0, I.jsx)(LG, {+ /* @__PURE__ */ (0, I.jsx)(uG, {}),+ /* @__PURE__ */ (0, I.jsx)(rG, {}),+ /* @__PURE__ */ (0, I.jsx)(IG, {sorts: e.sorts,onSort: t.setSort})]});}-function LG({ sorts: e, onSort: t }) {+function IG({ sorts: e, onSort: t }) {return /* @__PURE__ */ (0, I.jsx)(I.Fragment, { children: e.map((e) => /* @__PURE__ */ (0, I.jsxs)("button", {type: "button","data-entity-sort": e.key,@@ -55507,20 +55507,20 @@ function LG({ sorts: e, onSort: t }) {"aria-pressed": e.pressed,"aria-label": e.ariaLabel || void 0,onClick: () => t(e.key),- children: [e.label, e.pressed && e.dir ? /* @__PURE__ */ (0, I.jsx)(fG, {- a: _be,- b: vbe,+ children: [e.label, e.pressed && e.dir ? /* @__PURE__ */ (0, I.jsx)(dG, {+ a: vbe,+ b: ybe,state: e.dir === "asc" ? "a" : "b",className: "size-(--icon-inline)"}) : null]}, e.key)) });}-function Dbe({ head: e, actions: t }) {+function Obe({ head: e, actions: t }) {return /* @__PURE__ */ (0, I.jsxs)("span", {"data-entity-sorts": "",children: [- /* @__PURE__ */ (0, I.jsx)(IG, { onPress: t.onlineShuffle }),- e.media === "images" ? /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(FG, {+ /* @__PURE__ */ (0, I.jsx)(FG, { onPress: t.onlineShuffle }),+ e.media === "images" ? /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(PG, {label: "图片布局",value: e.photoLayout,options: e.photoLayouts,@@ -55540,27 +55540,27 @@ function Dbe({ head: e, actions: t }) {dangerouslySetInnerHTML: { __html: R("captions-off") }})]})] }) : null,- /* @__PURE__ */ (0, I.jsx)(LG, {+ /* @__PURE__ */ (0, I.jsx)(IG, {sorts: e.sorts,onSort: t.onlineSort})]});}-function Obe({ head: e, actions: t, helpers: n }) {+function kbe({ head: e, actions: t, helpers: n }) {let [r, i] = (0, F.useState)(!1), a = (0, F.useRef)(null), o = e.back ? n.sourceToolsHtml(e.setId) : "";return (0, F.useEffect)(() => {a.current && o && n.wireSourceTools(a.current);}, [n, o]), /* @__PURE__ */ (0, I.jsxs)("span", {"data-entity-sorts": "",children: [- e.shuffle ? /* @__PURE__ */ (0, I.jsx)(IG, {+ e.shuffle ? /* @__PURE__ */ (0, I.jsx)(FG, {onPress: () => {i(!0), t.reshuffle().finally(() => i(!1));},busy: r}) : null,- /* @__PURE__ */ (0, I.jsx)(FG, {+ /* @__PURE__ */ (0, I.jsx)(PG, {label: "图片布局",value: e.layout,options: e.layouts,@@ -55575,8 +55575,8 @@ function Obe({ head: e, actions: t, helpers: n }) {});}// src/react/catalog-filter/catalog-filter.ts-var kbe = "peach.catalog.tiers.v1";-function RG() {+var Abe = "peach.catalog.tiers.v1";+function LG() {try {let e = JSON.parse(localStorage.getItem("peach.catalog.tiers.v1") || "{}");return {@@ -55590,40 +55590,40 @@ function RG() {};}}-function Abe(e) {+function jbe(e) {try {let t = JSON.stringify({performers: e.performers,studios: e.studios});- localStorage.getItem("peach.catalog.tiers.v1") !== t && localStorage.setItem(kbe, t);+ localStorage.getItem("peach.catalog.tiers.v1") !== t && localStorage.setItem(Abe, t);} catch {}}// src/react/catalog-filter/catalog-filter-page.tsx-function jbe(e) {- let t = !e.tiers, n = Rbe(e.comboHost);+function Mbe(e) {+ let t = !e.tiers, n = zbe(e.comboHost);return /* @__PURE__ */ (0, I.jsxs)("div", {"data-catalog-root": "","data-loading": t || void 0,"data-refreshing": e.refreshing || void 0,className: "contents",children: [- n ? (0, Rt.createPortal)(/* @__PURE__ */ (0, I.jsx)(PG, {+ n ? (0, Rt.createPortal)(/* @__PURE__ */ (0, I.jsx)(NG, {items: e.combo,hidden: e.comboHidden,actions: e.actions}), n) : null,- /* @__PURE__ */ (0, I.jsx)(Pbe, { ...e }),- e.offscreen ? null : /* @__PURE__ */ (0, I.jsx)(Mbe, { ...e })+ /* @__PURE__ */ (0, I.jsx)(Fbe, { ...e }),+ e.offscreen ? null : /* @__PURE__ */ (0, I.jsx)(Nbe, { ...e })]});}-function Mbe(e) {- let { actions: t, helpers: n } = e, r = (0, F.useRef)(null), i = (0, F.useRef)(null), a = (0, F.useRef)(null), o = (0, F.useRef)(null), s = (0, F.useRef)(null), [c, l] = (0, F.useState)(!1), u = _L(r, i, "[data-catalog-view][aria-pressed=\"true\"]", e.state);+function Nbe(e) {+ let { actions: t, helpers: n } = e, r = (0, F.useRef)(null), i = (0, F.useRef)(null), a = (0, F.useRef)(null), o = (0, F.useRef)(null), s = (0, F.useRef)(null), [c, l] = (0, F.useState)(!1), u = gL(r, i, "[data-catalog-view][aria-pressed=\"true\"]", e.state);(0, F.useEffect)(() => {n.wireDrag(o.current), n.wireScroller(a.current), n.wireDrag(s.current);}, [n]);- let d = !e.tiers, f = BG(o, e.tags, e.tiers?.key ?? "", e.tagFirst);+ let d = !e.tiers, f = zG(o, e.tags, e.tiers?.key ?? "", e.tagFirst);return (0, F.useLayoutEffect)(() => {if (d) {l(!1);@@ -55647,7 +55647,7 @@ function Mbe(e) {e.sorts]), (0, F.useLayoutEffect)(() => {ec(o.current, "tagbar");- }, [f]), /* @__PURE__ */ (0, I.jsx)(fL, {+ }, [f]), /* @__PURE__ */ (0, I.jsx)(dL, {label: "筛选与排序",topLabel: "视图与标签",attrs: {@@ -55691,23 +55691,23 @@ function Mbe(e) {}), /* @__PURE__ */ (0, I.jsxs)("div", {ref: o,"data-catalog-tags": "",- children: [e.empty || d ? /* @__PURE__ */ (0, I.jsx)(zG, { kind: "tag" }) : null, f.map((n) => /* @__PURE__ */ (0, I.jsx)(Nbe, {+ children: [e.empty || d ? /* @__PURE__ */ (0, I.jsx)(RG, { kind: "tag" }) : null, f.map((n) => /* @__PURE__ */ (0, I.jsx)(Pbe, {tag: n,pending: e.tiersPending,onPress: t.toggleTag}, n.k))]})]}),- bottom: e.trash ? null : /* @__PURE__ */ (0, I.jsx)(Ibe, { ...e })+ bottom: e.trash ? null : /* @__PURE__ */ (0, I.jsx)(Lbe, { ...e })});}-function Nbe({ tag: e, pending: t, onPress: n }) {- return /* @__PURE__ */ (0, I.jsxs)(pL, {+function Pbe({ tag: e, pending: t, onPress: n }) {+ return /* @__PURE__ */ (0, I.jsxs)(fL, {"data-catalog-tag": e.k,"data-entity-press": "",pressed: e.selected,onPress: () => n(e.k),- children: [/* @__PURE__ */ (0, I.jsx)(aL, {+ children: [/* @__PURE__ */ (0, I.jsx)(iL, {text: e.label,busy: t}), e.n == null ? null : /* @__PURE__ */ (0, I.jsx)("span", {@@ -55716,15 +55716,15 @@ function Nbe({ tag: e, pending: t, onPress: n }) {})]});}-function Pbe(e) {- iL();+function Fbe(e) {+ rL();let { actions: t, helpers: n } = e, r = e.tiers ?? {key: "",performers: [],studios: []- }, i = !e.tiers, a = e.empty || i, o = (0, F.useRef)(null), s = (0, F.useRef)(null), c = (0, F.useCallback)((e) => () => t.moreTops(e), [t]), l = BG(o, r.performers, r.key, 24, a ? void 0 : c("performers")), u = BG(s, r.studios, r.key, 24, a ? void 0 : c("studios")), d = (0, F.useMemo)(() => i ? RG() : null, [i]), f = d ? d.performers : e.empty || r.performers.length > 0, p = d ? d.studios : e.empty || r.studios.length > 0;+ }, i = !e.tiers, a = e.empty || i, o = (0, F.useRef)(null), s = (0, F.useRef)(null), c = (0, F.useCallback)((e) => () => t.moreTops(e), [t]), l = zG(o, r.performers, r.key, 24, a ? void 0 : c("performers")), u = zG(s, r.studios, r.key, 24, a ? void 0 : c("studios")), d = (0, F.useMemo)(() => i ? LG() : null, [i]), f = d ? d.performers : e.empty || r.performers.length > 0, p = d ? d.studios : e.empty || r.studios.length > 0;return (0, F.useEffect)(() => {- i || Abe({+ i || jbe({performers: f,studios: p});@@ -55745,7 +55745,7 @@ function Pbe(e) {children: [f ? /* @__PURE__ */ (0, I.jsx)("div", {ref: o,"data-catalog-tier": "performers",- children: a ? /* @__PURE__ */ (0, I.jsx)(zG, { kind: "performer" }) : l.map((n) => /* @__PURE__ */ (0, I.jsxs)("button", {+ children: a ? /* @__PURE__ */ (0, I.jsx)(RG, { kind: "performer" }) : l.map((n) => /* @__PURE__ */ (0, I.jsxs)("button", {type: "button","data-tier-performer": "","data-entity-kind": "performer",@@ -55756,7 +55756,7 @@ function Pbe(e) {dangerouslySetInnerHTML: { __html: n.ringHtml }}), /* @__PURE__ */ (0, I.jsx)("span", {"data-tier-name": "",- children: /* @__PURE__ */ (0, I.jsx)(aL, {+ children: /* @__PURE__ */ (0, I.jsx)(iL, {text: nn("performer", n.name),busy: e.tiersPending})@@ -55765,13 +55765,13 @@ function Pbe(e) {}) : null, p ? /* @__PURE__ */ (0, I.jsx)("div", {ref: s,"data-catalog-tier": "studios",- children: a ? /* @__PURE__ */ (0, I.jsx)(zG, { kind: "studio" }) : u.map((n) => /* @__PURE__ */ (0, I.jsxs)("button", {+ children: a ? /* @__PURE__ */ (0, I.jsx)(RG, { kind: "studio" }) : u.map((n) => /* @__PURE__ */ (0, I.jsxs)("button", {type: "button","data-tier-studio": "","data-entity-kind": "studio","data-entity-name": n.name,onClick: () => t.openEntity("studio", n.name),- children: [/* @__PURE__ */ (0, I.jsx)(Fbe, { studio: n }), /* @__PURE__ */ (0, I.jsx)(aL, {+ children: [/* @__PURE__ */ (0, I.jsx)(Ibe, { studio: n }), /* @__PURE__ */ (0, I.jsx)(iL, {text: n.name,busy: e.tiersPending})]@@ -55779,7 +55779,7 @@ function Pbe(e) {}) : null]});}-function Fbe({ studio: e }) {+function Ibe({ studio: e }) {let [t, n] = (0, F.useState)(!1);return /* @__PURE__ */ (0, I.jsx)("span", {"data-tier-mark": "",@@ -55797,7 +55797,7 @@ function Fbe({ studio: e }) {}) : e.fallback});}-function zG({ kind: e }) {+function RG({ kind: e }) {let t = Array.from({ length: 64 }, (e, t) => t);return e === "tag" ? /* @__PURE__ */ (0, I.jsx)("span", {"data-catalog-placeholder": "tag",@@ -55813,43 +55813,43 @@ function zG({ kind: e }) {children: [/* @__PURE__ */ (0, I.jsx)("span", {}), /* @__PURE__ */ (0, I.jsx)("span", { children: "\xA0" })]}, t)) });}-function Ibe({ count: e, refreshing: t, layout: n, sorts: r, actions: i }) {- let a = uG(), [o, s] = (0, F.useState)(!1);+function Lbe({ count: e, refreshing: t, layout: n, sorts: r, actions: i }) {+ let a = lG(), [o, s] = (0, F.useState)(!1);return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsxs)("span", {"data-catalog-summary": "",- children: [/* @__PURE__ */ (0, I.jsx)(Lbe, { count: e }), /* @__PURE__ */ (0, I.jsx)(OV, { currentHref: i.currentHref })]+ children: [/* @__PURE__ */ (0, I.jsx)(Rbe, { count: e }), /* @__PURE__ */ (0, I.jsx)(OV, { currentHref: i.currentHref })]}), /* @__PURE__ */ (0, I.jsxs)("span", {"data-entity-sorts": "",children: [- /* @__PURE__ */ (0, I.jsx)(IG, {+ /* @__PURE__ */ (0, I.jsx)(FG, {onPress: () => {s(!0), i.reshuffle().finally(() => s(!1));},busy: o || t}),- n && a === "cards" ? /* @__PURE__ */ (0, I.jsx)(FG, {+ n && a === "cards" ? /* @__PURE__ */ (0, I.jsx)(PG, {name: n.name,label: n.label,value: n.value,options: n.options,onChange: i.setLayout}, n.name) : null,- /* @__PURE__ */ (0, I.jsx)(dG, {}),- /* @__PURE__ */ (0, I.jsx)(iG, {}),- /* @__PURE__ */ (0, I.jsx)(LG, {+ /* @__PURE__ */ (0, I.jsx)(uG, {}),+ /* @__PURE__ */ (0, I.jsx)(rG, {}),+ /* @__PURE__ */ (0, I.jsx)(IG, {sorts: r,onSort: i.setSort})]})] });}-function Lbe({ count: e }) {+function Rbe({ count: e }) {let t = e ? `${e.total.toLocaleString()} 个符合 · 显示 ${e.shown.toLocaleString()}` : e === !1 ? "" : void 0;return /* @__PURE__ */ (0, I.jsx)("span", {"data-catalog-readout": "","data-count-readout": "",role: "status",- children: /* @__PURE__ */ (0, I.jsx)(aL, {+ children: /* @__PURE__ */ (0, I.jsx)(iL, {text: t,busy: e === null,placeholder: /* @__PURE__ */ (0, I.jsx)("span", {@@ -55860,7 +55860,7 @@ function Lbe({ count: e }) {})});}-function Rbe(e) {+function zbe(e) {let [t, n] = (0, F.useState)(null);return (0, F.useLayoutEffect)(() => {if (!e) return;@@ -55870,7 +55870,7 @@ function Rbe(e) {};}, [e]), t;}-function BG(e, t, n, r, i) {+function zG(e, t, n, r, i) {let a = () => ({key: n,limit: r,@@ -55913,8 +55913,8 @@ function BG(e, t, n, r, i) {}), l.slice(0, c.limit);}// src/react/components/grid-reveal.tsx-var VG = "100% 0px";-function zbe(e, t) {+var BG = "100% 0px";+function Bbe(e, t) {let [n, r] = (0, F.useState)(e ? "skeleton" : "none"), [i] = (0, F.useState)(() => e ? t() : ""), a = (0, F.useRef)(null);return (0, F.useLayoutEffect)(() => {a.current && pc(a.current);@@ -55940,7 +55940,7 @@ function zbe(e, t) {fading: n === "fade"};}-function HG({ message: e, onRetry: t }) {+function VG({ message: e, onRetry: t }) {return /* @__PURE__ */ (0, I.jsx)("div", {"data-media-error": "",onClick: (e) => {@@ -55953,7 +55953,7 @@ function HG({ message: e, onRetry: t }) {});}// src/react/components/skeleton-content.tsx-function UG({ pending: e, skeletonHtml: t, children: n }) {+function HG({ pending: e, skeletonHtml: t, children: n }) {let r = (0, F.useRef)(null), i = (0, F.useRef)(null), a = t();return (0, F.useLayoutEffect)(() => {e || (r.current = n);@@ -55977,25 +55977,25 @@ function UG({ pending: e, skeletonHtml: t, children: n }) {});}// src/react/components/card-meta.tsx-function WG({ name: e }) {+function UG({ name: e }) {return /* @__PURE__ */ (0, I.jsx)("svg", {viewBox: "0 0 24 24","aria-hidden": "true",children: /* @__PURE__ */ (0, I.jsx)("use", { href: `#i-${e}` })});}-function GG({ name: e }) {- return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(WG, { name: "user-round" }), /* @__PURE__ */ (0, I.jsx)("span", { children: e })] });+function WG({ name: e }) {+ return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(UG, { name: "user-round" }), /* @__PURE__ */ (0, I.jsx)("span", { children: e })] });}-function KG({ value: e, label: t, title: n }) {+function GG({ value: e, label: t, title: n }) {return /* @__PURE__ */ (0, I.jsxs)("time", {"data-media-release": "",dateTime: e,title: n || t,- children: [/* @__PURE__ */ (0, I.jsx)(WG, { name: "calendar" }), t]+ children: [/* @__PURE__ */ (0, I.jsx)(UG, { name: "calendar" }), t]});}-function qG({ tags: e, label: t, readOnly: n = !1, attrs: r, ...i }) {+function KG({ tags: e, label: t, readOnly: n = !1, attrs: r, ...i }) {return /* @__PURE__ */ (0, I.jsx)("div", {...i,"data-media-tags": "",@@ -56013,12 +56013,12 @@ function qG({ tags: e, label: t, readOnly: n = !1, attrs: r, ...i }) {});}// src/react/components/recommendation-reason.tsx-var Bbe = 3;-function Vbe(e, t, n = Bbe) {+var Vbe = 3;+function Hbe(e, t, n = Vbe) {return [...e, t.slice(0, n).join("、")].filter(Boolean).join(" · ");}-function JG({ reasons: e, tags: t = [] }) {- let n = (0, F.useRef)(null), [r, i] = (0, F.useState)(!1), a = Vbe(e, t);+function qG({ reasons: e, tags: t = [] }) {+ let n = (0, F.useRef)(null), [r, i] = (0, F.useState)(!1), a = Hbe(e, t);if (!a) return null;let o = [e.join(" · "), t.length ? `共同标签:${t.join("、")}` : ""].filter(Boolean).join("\n");return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)("button", {@@ -56033,7 +56033,7 @@ function JG({ reasons: e, tags: t = [] }) {e.stopPropagation(), i(!0);},children: a- }), /* @__PURE__ */ (0, I.jsx)(fz, {+ }), /* @__PURE__ */ (0, I.jsx)(dz, {triggerRef: n,isOpen: r,onOpenChange: i,@@ -56041,7 +56041,7 @@ function JG({ reasons: e, tags: t = [] }) {offset: 8,containerPadding: 12,className: MV,- children: /* @__PURE__ */ (0, I.jsx)(Tz, {+ children: /* @__PURE__ */ (0, I.jsx)(wz, {"data-media-reason-dialog": "","aria-label": "推荐理由",className: "w-64 max-w-full p-2 text-body-regular whitespace-pre-line break-words text-text-primary outline-none focus-visible:ring-2 focus-visible:ring-border-focus-ring",@@ -56050,63 +56050,63 @@ function JG({ reasons: e, tags: t = [] }) {})] });}// src/library-catalog.ts-var YG = "peach.library-colors.v1", XG = null, ZG = /* @__PURE__ */ new Set();-function Hbe() {+var JG = "peach.library-colors.v1", YG = null, XG = /* @__PURE__ */ new Set();+function Ube() {try {- let e = JSON.parse(localStorage.getItem(YG) || "{}");+ let e = JSON.parse(localStorage.getItem(JG) || "{}");return e && typeof e == "object" ? e : {};} catch {return {};}}-function QG(e) {- XG = e;+function ZG(e) {+ YG = e;try {- localStorage.setItem(YG, JSON.stringify(Object.fromEntries(e.filter((e) => e.color).map((e) => [e.id, e.color]))));+ localStorage.setItem(JG, JSON.stringify(Object.fromEntries(e.filter((e) => e.color).map((e) => [e.id, e.color]))));} catch {}- ZG.forEach((t) => t(e));+ XG.forEach((t) => t(e));}-function $G() {- return XG;+function QG() {+ return YG;}-function Ube(e) {- return ZG.add(e), () => {- ZG.delete(e);+function Wbe(e) {+ return XG.add(e), () => {+ XG.delete(e);};}// src/react/components/library-tint.ts-var eK = /* @__PURE__ */ new Map(), tK = !1, nK = /* @__PURE__ */ new Set();-function Wbe(e) {+var $G = /* @__PURE__ */ new Map(), eK = !1, tK = /* @__PURE__ */ new Set();+function Gbe(e) {let t = document.createElement("span");t.setAttribute("data-accent-ball", e), t.hidden = !0, document.body.append(t);let n = getComputedStyle(t).getPropertyValue("--color-accent-500").trim();return t.remove(), n;}-function rK(e) {- eK = e;+function nK(e) {+ $G = e;let t = document.getElementById("peach-library-tints");- t || (t = document.createElement("style"), t.id = "peach-library-tints", document.head.append(t)), t.textContent = [...eK.values()].filter((e) => e.color).map((e) => `[data-library="${CSS.escape(e.id)}"]{--library-color:${Wbe(e.color)}}`).join("\n");+ t || (t = document.createElement("style"), t.id = "peach-library-tints", document.head.append(t)), t.textContent = [...$G.values()].filter((e) => e.color).map((e) => `[data-library="${CSS.escape(e.id)}"]{--library-color:${Gbe(e.color)}}`).join("\n");}-function iK(e) {- rK(e), nK.forEach((e) => e());+function rK(e) {+ nK(e), tK.forEach((e) => e());}-var aK = (e) => new Map(e.map((e) => [e.id, {+var iK = (e) => new Map(e.map((e) => [e.id, {id: e.id,name: e.name,icon: _s[e.icon || ""] || e.icon || "database",location: e.roots?.[0]?.location || "",color: e.color || ""-}])), oK = !1;-function Gbe() {- if (oK) return;- oK = !0, Ube((e) => iK(aK(e)));- let e = $G();+}])), aK = !1;+function Kbe() {+ if (aK) return;+ aK = !0, Wbe((e) => rK(iK(e)));+ let e = QG();if (e) {- rK(aK(e));+ nK(iK(e));return;}- let t = Object.entries(Hbe()).filter(([, e]) => e);- t.length && rK(new Map(t.map(([e, t]) => [e, {+ let t = Object.entries(Ube()).filter(([, e]) => e);+ t.length && nK(new Map(t.map(([e, t]) => [e, {id: e,name: "",icon: "database",@@ -56114,56 +56114,56 @@ function Gbe() {color: t}])));}-function Kbe() {- tK || $G() || (tK = !0, B("/api/libraries").then((e) => QG(e.libraries || [])).catch(() => {- tK = !1;+function qbe() {+ eK || QG() || (eK = !0, B("/api/libraries").then((e) => ZG(e.libraries || [])).catch(() => {+ eK = !1;}));}-function qbe(e, t) {- let n = eK.get(e) ?? {+function Jbe(e, t) {+ let n = $G.get(e) ?? {id: e,name: "",icon: "database",location: "",color: ""};- iK(new Map([...eK, [e, {+ rK(new Map([...$G, [e, {...n,color: t}]]));}-function Jbe(e) {- return nK.add(e), () => {- nK.delete(e);+function Ybe(e) {+ return tK.add(e), () => {+ tK.delete(e);};}-function sK({ names: e = !1 } = {}) {- return Gbe(), e && Kbe(), (0, F.useSyncExternalStore)(Jbe, () => eK, () => eK);+function oK({ names: e = !1 } = {}) {+ return Kbe(), e && qbe(), (0, F.useSyncExternalStore)(Ybe, () => $G, () => $G);}// src/react/components/row-click.ts-var Ybe = "a,button,input,select,textarea,label,[role=\"checkbox\"],[role=\"switch\"],[role=\"button\"],[role=\"link\"],[role=\"menu\"]";-function cK(e, t) {+var Xbe = "a,button,input,select,textarea,label,[role=\"checkbox\"],[role=\"switch\"],[role=\"button\"],[role=\"link\"],[role=\"menu\"]";+function sK(e, t) {let n = e.target;if (!(n instanceof Element) || !t.contains(n)) return !1;- let r = n.closest(Ybe);+ let r = n.closest(Xbe);return !r || !t.contains(r) || r === t;}-function lK(e) {+function cK(e) {e.shiftKey && e.preventDefault();}// src/react/components/media-card.tsx-var uK = 9 / 16, dK = "未命名视频", Xbe = {+var lK = 9 / 16, uK = "未命名视频", Zbe = {image: "图片",audio: "音频",archive: "压缩包",other: "其它文件"-}, Zbe = {+}, Qbe = {manual: "手动",junk: "垃圾",duplicate: "重复",missing: "文件缺失"};-function Qbe(e) {+function $be(e) {if (Number(e.duration) < 0) return {key: "unavailable",label: "探查错误"@@ -56191,16 +56191,16 @@ function Qbe(e) {label: "尚未探查"};}-function fK({ item: e }) {+function dK({ item: e }) {if (e.disposal !== "trash") return null;- let t = e.disposal_reason && Zbe[e.disposal_reason] || "原因未记录";+ let t = e.disposal_reason && Qbe[e.disposal_reason] || "原因未记录";return /* @__PURE__ */ (0, I.jsx)("span", {"data-media-disposal-reason": "",title: `归入原因:${t}`,children: t});}-function pK({ item: e, actions: t }) {+function fK({ item: e, actions: t }) {let [n, r] = (0, F.useState)(!1), [i, a] = (0, F.useState)(""), o = e.disposal === "trash" ? "restore" : "dispose", s = o === "restore" ? "还原" : "移入回收站";return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)("button", {type: "button",@@ -56219,10 +56219,10 @@ function pK({ item: e, actions: t }) {children: i}) : null] });}-function mK(e, t, n) {- return t === "short" ? uK : CM(n);+function pK(e, t, n) {+ return t === "short" ? lK : SM(n);}-function hK(e) {+function mK(e) {let { kind: t, name: n, coStarred: r, performers: i, refs: a, total: o } = Ao(e), s = i[0] || "", c = ho(e);return {avatar: r ? /* @__PURE__ */ (0, I.jsx)("div", {@@ -56254,7 +56254,7 @@ function hK(e) {"data-entity-kind": "performer","data-entity-name": s,title: nn("performer", s),- children: /* @__PURE__ */ (0, I.jsx)(GG, { name: nn("performer", s) })+ children: /* @__PURE__ */ (0, I.jsx)(WG, { name: nn("performer", s) })}), /* @__PURE__ */ (0, I.jsx)("span", {"data-media-who-more": "",children: `等 ${o} 人`@@ -56264,16 +56264,16 @@ function hK(e) {"data-entity-kind": t,"data-entity-name": n,title: nn(t, n),- children: /* @__PURE__ */ (0, I.jsx)(GG, { name: nn(t, n) })+ children: /* @__PURE__ */ (0, I.jsx)(WG, { name: nn(t, n) })}) : /* @__PURE__ */ (0, I.jsx)("button", {type: "button","data-media-who": "","data-open-unowned": "",- children: /* @__PURE__ */ (0, I.jsx)(GG, { name: n })+ children: /* @__PURE__ */ (0, I.jsx)(WG, { name: n })})};}-function $be() {+function exe() {return /* @__PURE__ */ (0, I.jsxs)("button", {type: "button","data-media-preview": "",@@ -56292,7 +56292,7 @@ function $be() {})]});}-function exe({ item: e, actions: t, on: n, onChange: r }) {+function txe({ item: e, actions: t, on: n, onChange: r }) {let [i, a] = (0, F.useState)(!1);return /* @__PURE__ */ (0, I.jsx)("div", {"data-media-later": "",@@ -56307,22 +56307,22 @@ function exe({ item: e, actions: t, on: n, onChange: r }) {},"aria-busy": i || void 0,"aria-disabled": i || void 0,- children: /* @__PURE__ */ (0, I.jsx)(WG, { name: n ? "check" : "bookmark-plus" })+ children: /* @__PURE__ */ (0, I.jsx)(UG, { name: n ? "check" : "bookmark-plus" })})});}-function gK(e, t) {+function hK(e, t) {let n = e?.querySelector("video.hv");n && Number.isFinite(n.duration) && (n._hop &&= (clearInterval(n._hop), null), n.currentTime = Math.max(0, Math.min(n.duration, n.currentTime + t)));}-function txe({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekSeconds: a, helpers: o, actions: s, onOpen: c, grouped: l = !0 }) {- iL();- let u = (0, F.useRef)(null), [d, f] = (0, F.useState)(null), p = d?.id === e.id ? d.on : !!e.watch_later, m = sK(), h = e.library_id && m.get(e.library_id)?.color ? e.library_id : void 0, g = [Number(e.liked) > 0 ? "喜欢" : "", Number(e.o_count) > 0 ? "有高潮记录" : ""].filter(Boolean), _ = (0, F.useRef)(e);+function nxe({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekSeconds: a, helpers: o, actions: s, onOpen: c, grouped: l = !0 }) {+ rL();+ let u = (0, F.useRef)(null), [d, f] = (0, F.useState)(null), p = d?.id === e.id ? d.on : !!e.watch_later, m = oK(), h = e.library_id && m.get(e.library_id)?.color ? e.library_id : void 0, g = [Number(e.liked) > 0 ? "喜欢" : "", Number(e.o_count) > 0 ? "有高潮记录" : ""].filter(Boolean), _ = (0, F.useRef)(e);_.current = e;let v = (0, F.useCallback)((e) => {let t = _.current;u.current && u.current !== e && Pl(u.current), u.current = e, e && (!t.medium || t.medium === "video") && Il(e, t);- }, []), y = l && Number(e.part_group?.count) > 1 && e.part_group || null, b = l && Number(e.edition_group?.count) > 1 && e.edition_group || null, x = !!(y || b), S = n.active && !!e.is_jav, C = mK(e, t, n), w = S ? n.size : "small", T = C === uK && !!e.is_jav, E = T ? Do(e, !1) : To(e, w, !1, n.javImage), D = T || w === "small" ? E.html : To(e, "small", !1, n.javImage).html, O = y?.title || e.name || "", k = o.displayName(e, O).trim() || dK, A = o.titleHtml(e, O).trim() || z(dK), j = y?.total_size ?? e.size, M = y?.total_duration ?? e.duration, ee = Number(M) > 0 ? null : Qbe(e), N = !y && Number(e.play_seconds) > 0 && Number(e.duration) > 0 ? Math.min(Number(e.play_seconds) / Number(e.duration), 1) : 0, { avatar: te, who: P } = hK(e), ne = (e.follow_tags || e.tags || []).slice(0, 3), re = (t) => {+ }, []), y = l && Number(e.part_group?.count) > 1 && e.part_group || null, b = l && Number(e.edition_group?.count) > 1 && e.edition_group || null, x = !!(y || b), S = n.active && !!e.is_jav, C = pK(e, t, n), w = S ? n.size : "small", T = C === lK && !!e.is_jav, E = T ? Do(e, !1) : To(e, w, !1, n.javImage), D = T || w === "small" ? E.html : To(e, "small", !1, n.javImage).html, O = y?.title || e.name || "", k = o.displayName(e, O).trim() || uK, A = o.titleHtml(e, O).trim() || z(uK), j = y?.total_size ?? e.size, M = y?.total_duration ?? e.duration, ee = Number(M) > 0 ? null : $be(e), N = !y && Number(e.play_seconds) > 0 && Number(e.duration) > 0 ? Math.min(Number(e.play_seconds) / Number(e.duration), 1) : 0, { avatar: te, who: P } = mK(e), ne = (e.follow_tags || e.tags || []).slice(0, 3), re = (t) => {let n = t.target;if (n.closest("[data-media-reason-dialog]")) return;let r = u.current;@@ -56349,7 +56349,7 @@ function txe({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekSl && r.contains(l) ? s.toggleTag(l.dataset.tag || "") : c(e, r);}, ie = /* @__PURE__ */ (0, I.jsxs)("div", {"data-media-pic": "",- "data-pic-portrait": C === uK ? "" : void 0,+ "data-pic-portrait": C === lK ? "" : void 0,style: { "--card-ratio": String(C) },children: [E.html ? /* @__PURE__ */ (0, I.jsx)(qU, {@@ -56366,11 +56366,11 @@ function txe({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekS}),/* @__PURE__ */ (0, I.jsx)("span", {"data-media-check": "",- children: /* @__PURE__ */ (0, I.jsx)(WG, { name: "check" })+ children: /* @__PURE__ */ (0, I.jsx)(UG, { name: "check" })}),/* @__PURE__ */ (0, I.jsxs)("span", {"data-media-trash-mark": "",- children: [/* @__PURE__ */ (0, I.jsx)(WG, { name: "trash" }), /* @__PURE__ */ (0, I.jsx)("b", { children: "回收站" })]+ children: [/* @__PURE__ */ (0, I.jsx)(UG, { name: "trash" }), /* @__PURE__ */ (0, I.jsx)("b", { children: "回收站" })]}),y && !b ? /* @__PURE__ */ (0, I.jsx)("span", {"data-media-group": "",@@ -56386,7 +56386,7 @@ function txe({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekS"data-copy-key": ee ? `media.duration.${ee.key}` : void 0,children: ee ? ee.label : Jn(M)}),- !i && e.disposal === "trash" ? /* @__PURE__ */ (0, I.jsx)(pK, {+ !i && e.disposal === "trash" ? /* @__PURE__ */ (0, I.jsx)(fK, {item: e,actions: s}) : null,@@ -56402,22 +56402,22 @@ function txe({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekS"data-media-scrub": "",children: /* @__PURE__ */ (0, I.jsx)("i", { style: { "--media-fill": `${Math.round(e.leave_ratio * 100)}%` } })}),- /* @__PURE__ */ (0, I.jsx)($be, {}),+ /* @__PURE__ */ (0, I.jsx)(exe, {}),p || g.length ? /* @__PURE__ */ (0, I.jsxs)("div", {"data-media-status": "",children: [p ? /* @__PURE__ */ (0, I.jsx)("span", {"data-status": "later",title: "稍后看","aria-label": "稍后看",- children: /* @__PURE__ */ (0, I.jsx)(WG, { name: "bookmark" })+ children: /* @__PURE__ */ (0, I.jsx)(UG, { name: "bookmark" })}) : null, g.length ? /* @__PURE__ */ (0, I.jsx)("span", {"data-status": "flagged",title: `已标记:${g.join("、")}`,"aria-label": `已标记:${g.join("、")}`,- children: /* @__PURE__ */ (0, I.jsx)(WG, { name: "heart" })+ children: /* @__PURE__ */ (0, I.jsx)(UG, { name: "heart" })}) : null]}) : null,- i ? null : /* @__PURE__ */ (0, I.jsx)(exe, {+ i ? null : /* @__PURE__ */ (0, I.jsx)(txe, {item: e,actions: s,on: p,@@ -56432,27 +56432,27 @@ function txe({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekS/* @__PURE__ */ (0, I.jsx)("button", {type: "button",onClick: (e) => {- e.stopPropagation(), gK(u.current, -a);+ e.stopPropagation(), hK(u.current, -a);},title: `后退 ${a} 秒`,"aria-label": `后退 ${a} 秒`,- children: /* @__PURE__ */ (0, I.jsx)(WG, { name: "rotate-ccw" })+ children: /* @__PURE__ */ (0, I.jsx)(UG, { name: "rotate-ccw" })}),/* @__PURE__ */ (0, I.jsx)("button", {type: "button",onClick: (e) => {- e.stopPropagation(), gK(u.current, a);+ e.stopPropagation(), hK(u.current, a);},title: `前进 ${a} 秒`,"aria-label": `前进 ${a} 秒`,- children: /* @__PURE__ */ (0, I.jsx)(WG, { name: "rotate-cw" })+ children: /* @__PURE__ */ (0, I.jsx)(UG, { name: "rotate-cw" })}),/* @__PURE__ */ (0, I.jsx)("button", {type: "button","data-open": "",title: "打开详情","aria-label": "打开详情",- children: /* @__PURE__ */ (0, I.jsx)(WG, { name: "expand" })+ children: /* @__PURE__ */ (0, I.jsx)(UG, { name: "expand" })})]})@@ -56472,7 +56472,7 @@ function txe({ 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: re,- onMouseDown: lK,+ onMouseDown: cK,children: [/* @__PURE__ */ (0, I.jsx)("button", {type: "button",@@ -56510,33 +56510,33 @@ function txe({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekS}) : null,/* @__PURE__ */ (0, I.jsxs)("span", {"data-media-facts": "",- children: [e.is_jav && e.release_date ? /* @__PURE__ */ (0, I.jsx)(KG, {+ children: [e.is_jav && e.release_date ? /* @__PURE__ */ (0, I.jsx)(GG, {value: e.release_date,label: e.release_date}) : null, /* @__PURE__ */ (0, I.jsxs)("span", {"data-media-size": "",- children: [/* @__PURE__ */ (0, I.jsx)(WG, { name: "hard-drive" }), Number(j) > 0 ? Xn(Number(j)) : "大小未知"]+ children: [/* @__PURE__ */ (0, I.jsx)(UG, { name: "hard-drive" }), Number(j) > 0 ? Xn(Number(j)) : "大小未知"]})]})]}),- t === "next" ? /* @__PURE__ */ (0, I.jsx)(JG, {+ t === "next" ? /* @__PURE__ */ (0, I.jsx)(qG, {reasons: e.why ? e.why.split(" · ") : [],tags: (e.why_tags || []).map(o.tagLabel)- }) : ne.length || e.disposal === "trash" ? /* @__PURE__ */ (0, I.jsx)(qG, {+ }) : ne.length || e.disposal === "trash" ? /* @__PURE__ */ (0, I.jsx)(KG, {tags: ne,label: o.tagLabel,readOnly: !!e.follow_item_id}) : null,- /* @__PURE__ */ (0, I.jsx)(fK, { item: e })+ /* @__PURE__ */ (0, I.jsx)(dK, { item: e })]})]})]});}-function nxe({ item: e, selected: t, selectMode: n, helpers: r, actions: i, onOpen: a }) {- let o = (0, F.useRef)(null), s = e.medium === "image" && e.location !== "online", c = String(e.name || ""), l = c.toLowerCase().endsWith(".url") ? "网址快捷方式" : Xbe[e.medium || ""] || "其它文件", u = s ? "pics" : l === "网址快捷方式" ? "globe" : "hard-drive";+function rxe({ item: e, selected: t, selectMode: n, helpers: r, actions: i, onOpen: a }) {+ let o = (0, F.useRef)(null), s = e.medium === "image" && e.location !== "online", c = String(e.name || ""), l = c.toLowerCase().endsWith(".url") ? "网址快捷方式" : Zbe[e.medium || ""] || "其它文件", u = s ? "pics" : l === "网址快捷方式" ? "globe" : "hard-drive";return /* @__PURE__ */ (0, I.jsxs)("article", {ref: o,"data-media-card": "",@@ -56548,14 +56548,14 @@ function nxe({ 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: lK,+ onMouseDown: cK,children: [/* @__PURE__ */ (0, I.jsxs)("div", {"data-media-pic": "",style: { "--card-ratio": "1.7777777777777777" },children: [/* @__PURE__ */ (0, I.jsxs)("span", {"data-media-glyph": "",- children: [/* @__PURE__ */ (0, I.jsx)(WG, { name: u }), /* @__PURE__ */ (0, I.jsx)("b", { children: l })]+ children: [/* @__PURE__ */ (0, I.jsx)(UG, { name: u }), /* @__PURE__ */ (0, I.jsx)("b", { children: l })]}),s ? /* @__PURE__ */ (0, I.jsx)("span", {"data-media-art": "thumb",@@ -56567,13 +56567,13 @@ function nxe({ item: e, selected: t, selectMode: n, helpers: r, actions: i, onOp}),/* @__PURE__ */ (0, I.jsx)("span", {"data-media-check": "",- children: /* @__PURE__ */ (0, I.jsx)(WG, { name: "check" })+ children: /* @__PURE__ */ (0, I.jsx)(UG, { name: "check" })}),/* @__PURE__ */ (0, I.jsxs)("span", {"data-media-trash-mark": "",- children: [/* @__PURE__ */ (0, I.jsx)(WG, { name: "trash" }), /* @__PURE__ */ (0, I.jsx)("b", { children: "回收站" })]+ children: [/* @__PURE__ */ (0, I.jsx)(UG, { name: "trash" }), /* @__PURE__ */ (0, I.jsx)("b", { children: "回收站" })]}),- n ? null : /* @__PURE__ */ (0, I.jsx)(pK, {+ n ? null : /* @__PURE__ */ (0, I.jsx)(fK, {item: e,actions: i})@@ -56584,7 +56584,7 @@ function nxe({ item: e, selected: t, selectMode: n, helpers: r, actions: i, onOp"data-media-avatar": "","data-media-kind-glyph": "","aria-hidden": "true",- children: /* @__PURE__ */ (0, I.jsx)(WG, { name: u })+ children: /* @__PURE__ */ (0, I.jsx)(UG, { name: u })}), /* @__PURE__ */ (0, I.jsxs)("div", {"data-media-text": "",children: [@@ -56612,29 +56612,29 @@ function nxe({ item: e, selected: t, selectMode: n, helpers: r, actions: i, onOp]}),e.disposal === "trash" ? /* @__PURE__ */ (0, I.jsx)("div", { "data-media-tags": "" }) : null,- /* @__PURE__ */ (0, I.jsx)(fK, { item: e })+ /* @__PURE__ */ (0, I.jsx)(dK, { item: e })]})]})]});}-function rxe(e) {- return e.variant === "resource" ? /* @__PURE__ */ (0, I.jsx)(nxe, { ...e }) : /* @__PURE__ */ (0, I.jsx)(txe, { ...e });+function ixe(e) {+ return e.variant === "resource" ? /* @__PURE__ */ (0, I.jsx)(rxe, { ...e }) : /* @__PURE__ */ (0, I.jsx)(nxe, { ...e });}-var _K = (0, F.memo)(rxe), ixe = 1100, axe = 340, oxe = 5e3;-function sxe(e, t, n) {+var gK = (0, F.memo)(ixe), axe = 1100, oxe = 340, sxe = 5e3;+function cxe(e, t, n) {return new Promise((r) => {let i = new Image();n && (i.referrerPolicy = n);let a = !1, o = (e) => {a || (a = !0, clearTimeout(c), i.onload = null, i.onerror = null, t.cancels.delete(s), r(e));- }, s = () => o(!1), c = setTimeout(s, oxe);+ }, s = () => o(!1), c = setTimeout(s, sxe);t.cancels.add(s), i.onerror = s, i.onload = () => {i.naturalWidth ? typeof i.decode == "function" ? i.decode().then(() => o(!0), s) : o(!0) : o(!1);}, i.src = e;});}-function vK({ load: e, canFlip: t, referrerPolicy: n }) {+function _K({ load: e, canFlip: t, referrerPolicy: n }) {let [r, i] = (0, F.useState)([]), [a, o] = (0, F.useState)(0), [s, c] = (0, F.useState)(null), l = (0, F.useRef)({live: !1,generation: 0,@@ -56676,11 +56676,11 @@ function vK({ load: e, canFlip: t, referrerPolicy: n }) {return;}if (!r() || !u.current.canFlip() || a.length < 2) return;- let s = await Promise.all(a.map((t) => sxe(t, e, n)));+ let s = await Promise.all(a.map((t) => cxe(t, e, n)));if (!r() || !u.current.canFlip()) return;let d = a.filter((e, t) => s[t]);d.length < 2 || (e.count = d.length, e.at = 0, i(d), o(0), c(null), f(420, () => {- p(), e.cycle = setInterval(p, ixe);+ p(), e.cycle = setInterval(p, axe);}));};return (0, F.useEffect)(() => d, [d]), {@@ -56689,7 +56689,7 @@ function vK({ load: e, canFlip: t, referrerPolicy: n }) {leaving: s,onPointerEnter: () => {let e = l.current;- e.armed !== null && (clearTimeout(e.armed), e.timers.delete(e.armed)), e.armed = f(axe, () => {+ e.armed !== null && (clearTimeout(e.armed), e.timers.delete(e.armed)), e.armed = f(oxe, () => {e.armed = null, m();});},@@ -56699,8 +56699,8 @@ function vK({ load: e, canFlip: t, referrerPolicy: n }) {};}// src/react/components/mix-card.tsx-var yK = pV("play");-function cxe({ src: e }) {+var vK = pV("play");+function lxe({ src: e }) {let [t, n] = (0, F.useState)(!1);return t ? null : /* @__PURE__ */ (0, I.jsx)("img", {"data-mix-poster": "",@@ -56713,8 +56713,8 @@ function cxe({ src: e }) {className: "absolute inset-0 block size-full object-contain"});}-var bK = "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 lxe({ faces: e, fallback: t, onOpenEntity: n }) {+var yK = "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 uxe({ faces: e, fallback: t, onOpenEntity: n }) {return e.length ? /* @__PURE__ */ (0, I.jsx)("div", {"data-mix-avatars": "",children: e.slice(0, 5).map((e) => /* @__PURE__ */ (0, I.jsx)("button", {@@ -56722,18 +56722,18 @@ function lxe({ faces: e, fallback: t, onOpenEntity: n }) {title: `打开资料页:${e.name}`,"aria-label": `打开资料页:${e.name}`,onClick: () => n(e.kind, e.name),- className: `${bK} cursor-pointer outline-none`,+ className: `${yK} cursor-pointer outline-none`,dangerouslySetInnerHTML: { __html: _o(e.name, e, Za(e.name), e.kind) }}, `${e.kind}:${e.id}`))}) : /* @__PURE__ */ (0, I.jsx)("span", {"data-mix-initial": "","aria-hidden": !0,- className: `${bK} mt-0.5`,+ className: `${yK} mt-0.5`,children: t});}-function xK({ name: e, caption: t, count: n, poster: r, flipImages: i, canFlip: a, faces: o, onOpenEntity: s, onOpen: c, openLabel: l, menu: u, ratio: d, artwork: f, artworkIdentity: p, relayoutArt: m, faceHtml: h, badge: g, glyph: _, wholeCard: v, ...y }) {- let b = vK({+function bK({ name: e, caption: t, count: n, poster: r, flipImages: i, canFlip: a, faces: o, onOpenEntity: s, onOpen: c, openLabel: l, menu: u, ratio: d, artwork: f, artworkIdentity: p, relayoutArt: m, faceHtml: h, badge: g, glyph: _, wholeCard: v, ...y }) {+ let b = _K({load: i,canFlip: a}), x = (0, F.useRef)(b.onPointerLeave);@@ -56764,7 +56764,7 @@ function xK({ name: e, caption: t, count: n, poster: r, flipImages: i, canFlip:artwork: f,identity: p,relayout: m- }) : r ? /* @__PURE__ */ (0, I.jsx)(cxe, { src: r }, r) : /* @__PURE__ */ (0, I.jsx)("span", {+ }) : r ? /* @__PURE__ */ (0, I.jsx)(lxe, { src: r }, r) : /* @__PURE__ */ (0, I.jsx)("span", {className: "text-caption-1-regular tracking-caps text-text-secondary uppercase",children: "无预览"}),@@ -56794,7 +56794,7 @@ function xK({ name: e, caption: t, count: n, poster: r, flipImages: i, canFlip:/* @__PURE__ */ (0, I.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, I.jsx)(yK, {+ children: [/* @__PURE__ */ (0, I.jsx)(vK, {"aria-hidden": !0,className: "size-(--icon-inline)"}), g ?? `${n.toLocaleString()} 个视频`]@@ -56807,8 +56807,8 @@ function xK({ name: e, caption: t, count: n, poster: r, flipImages: i, canFlip:_ ? /* @__PURE__ */ (0, I.jsx)("span", {"data-mix-glyph": "","aria-hidden": !0,- children: /* @__PURE__ */ (0, I.jsx)(yK, {})- }) : /* @__PURE__ */ (0, I.jsx)(lxe, {+ children: /* @__PURE__ */ (0, I.jsx)(vK, {})+ }) : /* @__PURE__ */ (0, I.jsx)(uxe, {faces: o,fallback: er(e),onOpenEntity: s@@ -56831,20 +56831,20 @@ function xK({ name: e, caption: t, count: n, poster: r, flipImages: i, canFlip:});}// src/react/video-wall/use-wall-camera.ts-var SK = {+var xK = {x: 16,y: 16,scale: 1-}, uxe = .65, dxe = 1.6, CK = (e) => Math.min(dxe, Math.max(uxe, e)), wK = (e, t, n, r) => ({+}, dxe = .65, fxe = 1.6, SK = (e) => Math.min(fxe, Math.max(dxe, e)), CK = (e, t, n, r) => ({scale: t,x: n - (n - e.x) * t / e.scale,y: r - (r - e.y) * t / e.scale});-function fxe(e, t, n) {+function pxe(e, t, n) {let r = 120 / t.scale, i = -e.x / e.scale, a = -e.y / e.scale, o = -t.x / t.scale - r, s = -t.y / t.scale - r;return i >= o && a >= s && i + n.width / e.scale <= o + n.width / t.scale + r * 2 && a + n.height / e.scale <= s + n.height / t.scale + r * 2;}-function pxe(e, t, n = SK, r = !1) {+function mxe(e, t, n = xK, r = !1) {let i = (0, F.useRef)(null), a = (0, F.useRef)(null), o = (0, F.useRef)({width: 0,height: 0@@ -56876,12 +56876,12 @@ function pxe(e, t, n = SK, r = !1) {previous: 0});}, []), y = (0, F.useCallback)((e, t = !1, n = !1) => {- let { count: r, finite: c, focused: f } = d.current, p = Nye(e, o.current, Mye(r), c && !f && !n), h = s.current;+ let { count: r, finite: c, focused: f } = d.current, p = Pye(e, o.current, Nye(r), c && !f && !n), h = s.current;s.current = p;let g = window.devicePixelRatio || 1, _ = a.current;_ && (_.style.transform = `translate3d(${Math.round(p.x * g) / g}px, ${Math.round(p.y * g) / g}px, 0) scale(${p.scale})`, (p.x !== h.x || p.y !== h.y || p.scale !== h.scale) && (_.style.willChange = "transform", m.current !== null && clearTimeout(m.current), m.current = setTimeout(() => {m.current = null, _.style.willChange = "";- }, 240))), i.current && (i.current.dataset.cameraX = String(p.x), i.current.dataset.cameraY = String(p.y), i.current.dataset.cameraScale = String(p.scale)), (t || !fxe(p, u.current, o.current)) && (u.current = p, l({+ }, 240))), i.current && (i.current.dataset.cameraX = String(p.x), i.current.dataset.cameraY = String(p.y), i.current.dataset.cameraScale = String(p.scale)), (t || !pxe(p, u.current, o.current)) && (u.current = p, l({camera: p,size: { ...o.current }}));@@ -56911,7 +56911,7 @@ function pxe(e, t, n = SK, r = !1) {let r = s.current, i = r;if (t.scale) {let e = Math.abs(t.scale - r.scale) < .002;- i = wK(r, e ? t.scale : r.scale + (t.scale - r.scale) * n, t.anchorX, t.anchorY), e && (t.scale = 0);+ i = CK(r, e ? t.scale : r.scale + (t.scale - r.scale) * n, t.anchorX, t.anchorY), e && (t.scale = 0);}let a = Math.hypot(t.x, t.y) < .5, o = a ? t.x : t.x * n, c = a ? t.y : t.y * n;y({@@ -56924,13 +56924,13 @@ function pxe(e, t, n = SK, r = !1) {let n = h.current;if (b()) {let n = s.current;- t && (n = wK(n, CK(n.scale * t.factor), t.x, t.y)), e && (n = {+ t && (n = CK(n, SK(n.scale * t.factor), t.x, t.y)), e && (n = {...n,x: n.x + e.x,y: n.y + e.y}), y(n);} else t && Object.assign(n, {- scale: CK((n.scale || s.current.scale) * t.factor),+ scale: SK((n.scale || s.current.scale) * t.factor),anchorX: t.x,anchorY: t.y}), e && (n.x += e.x, n.y += e.y), f.current === null && (n.scale || n.x || n.y) && (n.previous = 0, f.current = requestAnimationFrame(x));@@ -56972,7 +56972,7 @@ function pxe(e, t, n = SK, r = !1) {x: o.current.width / 2 - (e.x + e.width / 2) * i,y: o.current.height / 2 - (e.y + e.height / 2) * i};- !t || b() ? y(a, !0, n) : p.current = uS(0, 1, {+ !t || b() ? y(a, !0, n) : p.current = lS(0, 1, {duration: .42,ease: [.22,@@ -56997,7 +56997,7 @@ function pxe(e, t, n = SK, r = !1) {}),snapshot: () => ({ ...s.current }),reset: () => {- v(), y({ ...SK }, !0);+ v(), y({ ...xK }, !0);},pan: (e, t) => {v(), y({@@ -57058,16 +57058,16 @@ function pxe(e, t, n = SK, r = !1) {};}// src/react/video-wall/wall-motion.ts-var mxe = {+var hxe = {type: "spring",stiffness: 300,damping: 34-}, hxe = {+}, gxe = {delay: .14,duration: .24};// src/react/video-wall/use-wall-playback.ts-function gxe(e, t, n) {+function _xe(e, t, n) {let [r, i] = (0, F.useState)({paused: !0,time: 0,@@ -57108,15 +57108,15 @@ function gxe(e, t, n) {};}// src/react/video-wall/wall-controls.tsx-function _xe({ item: e, playing: t, frame: n, starting: r, pendingGroup: i, grouped: a, queueOpen: o, queueReady: s, hasPrevious: c, hasNext: l, later: u, laterBusy: d, play: f, previous: p, next: m, queue: h, watchLater: g, details: _, ended: v, error: y }) {- let b = $x(), x = gxe(t, n, v), S = x.duration || Number(e.duration) || 0, C = r || i, w = !t || x.paused, T = async () => {+function vxe({ item: e, playing: t, frame: n, starting: r, pendingGroup: i, grouped: a, queueOpen: o, queueReady: s, hasPrevious: c, hasNext: l, later: u, laterBusy: d, play: f, previous: p, next: m, queue: h, watchLater: g, details: _, ended: v, error: y }) {+ let b = Qx(), x = _xe(t, n, v), S = x.duration || Number(e.duration) || 0, C = r || i, w = !t || x.paused, T = async () => {if (!(C || a && !s)) try {t === e.id ? await x.toggle() : await f();} catch (e) {y(xn(e));}};- return /* @__PURE__ */ (0, I.jsxs)(dS.div, {+ return /* @__PURE__ */ (0, I.jsxs)(uS.div, {"data-wall-focus-actions": "",initial: !b && {opacity: 0,@@ -57126,7 +57126,7 @@ function _xe({ item: e, playing: t, frame: n, starting: r, pendingGroup: i, grouopacity: 1,transform: "translateY(0px)"},- transition: b ? { duration: 0 } : hxe,+ transition: b ? { duration: 0 } : gxe,children: [/* @__PURE__ */ (0, I.jsxs)("div", {"data-wall-control-row": "",children: [@@ -57230,7 +57230,7 @@ function _xe({ item: e, playing: t, frame: n, starting: r, pendingGroup: i, grou});}// src/react/components/mix-queue.tsx-function TK({ kind: e, title: t, summary: n, onClose: r, actions: i, listRef: a, children: o, ...s }) {+function wK({ kind: e, title: t, summary: n, onClose: r, actions: i, listRef: a, children: o, ...s }) {let c = (0, F.useRef)(null), l = (0, F.useCallback)((e) => {c.current = e, typeof a == "function" ? a(e) : a && (a.current = e);}, [a]);@@ -57266,7 +57266,7 @@ function TK({ kind: e, title: t, summary: n, onClose: r, actions: i, listRef: a,})]});}-function EK({ current: e, pic: t, lead: n, after: r, row: i, children: a, ...o }) {+function TK({ current: e, pic: t, lead: n, after: r, row: i, children: a, ...o }) {let s = /* @__PURE__ */ (0, I.jsx)("span", {"data-mix-item-text": "",children: a@@ -57289,7 +57289,7 @@ function EK({ current: e, pic: t, lead: n, after: r, row: i, children: a, ...o }}), r]});}-var vxe = ({ label: e, count: t }) => /* @__PURE__ */ (0, I.jsxs)("h3", {+var yxe = ({ label: e, count: t }) => /* @__PURE__ */ (0, I.jsxs)("h3", {"data-mix-group-label": "",children: [e,@@ -57298,28 +57298,28 @@ var vxe = ({ label: e, count: t }) => /* @__PURE__ */ (0, I.jsxs)("h3", {]});// src/react/video-wall/wall-queue.tsx-function yxe({ items: e, activeId: t, kind: n, label: r, choose: i, close: a }) {+function bxe({ items: e, activeId: t, kind: n, label: r, choose: i, close: a }) {return /* @__PURE__ */ (0, I.jsx)("div", {"data-wall-queue": "",id: "wall-queue",- children: /* @__PURE__ */ (0, I.jsx)(TK, {+ children: /* @__PURE__ */ (0, I.jsx)(wK, {kind: n,title: n === "parts" ? "分卷" : n === "editions" ? "版本" : "作品",summary: `${e.length} 个视频`,onClose: a,- children: e.map((e) => /* @__PURE__ */ (0, I.jsxs)(EK, {+ children: e.map((e) => /* @__PURE__ */ (0, I.jsxs)(TK, {current: e.id === t,"data-wall-source": e.id,"aria-label": [e.edition_label,- e.part_label ? zP(e.part_label) : "",+ e.part_label ? RP(e.part_label) : "",r(e)].filter(Boolean).join(" · "),onClick: () => i(e),pic: /* @__PURE__ */ (0, I.jsx)(qU, { artwork: To(e, "small", !0, "cover") }),children: [/* @__PURE__ */ (0, I.jsx)("b", { children: r(e) }), /* @__PURE__ */ (0, I.jsx)("span", { children: [e.edition_label,- e.part_label ? zP(e.part_label) : "",+ e.part_label ? RP(e.part_label) : "",Jn(e.duration)].filter(Boolean).join(" · ") })]}, e.id))@@ -57327,7 +57327,7 @@ function yxe({ items: e, activeId: t, kind: n, label: r, choose: i, close: a })});}// src/react/video-wall/wall-route.ts-function bxe(e = `${location.pathname}${location.search}`, t = {}) {+function xxe(e = `${location.pathname}${location.search}`, t = {}) {let n = new URL(e, location.origin), [r, ...i] = n.pathname.split("/").filter(Boolean), a = {performers: "performer",creators: "creator",@@ -57342,17 +57342,17 @@ function bxe(e = `${location.pathname}${location.search}`, t = {}) {}return s.set("returnTo", `${n.pathname}${n.search}`), `/wall?${s}`;}-function DK(e = `${location.pathname}${location.search}`) {+function EK(e = `${location.pathname}${location.search}`) {let t = new URL(e, location.origin).searchParams;- for (let e of BW) t.delete(e);+ for (let e of zW) t.delete(e);return t.delete("tag_match"), `/wall${t.size ? `?${t}` : ""}`;}-function OK() {+function DK() {let e = new URLSearchParams(Op.navigation.location.search).get("returnTo") || "/";Op.replace(e.startsWith("/") && !e.startsWith("//") && !e.startsWith("/wall") ? e : "/");}// src/react/video-wall/video-wall.tsx-var kK = /* @__PURE__ */ new Map(), AK = (0, F.memo)(function({ item: e, image: t, big: n = !1, ratio: r = 1 }) {+var OK = /* @__PURE__ */ new Map(), kK = (0, F.memo)(function({ item: e, image: t, big: n = !1, ratio: r = 1 }) {let i = To(!e.is_jav && t === "thumbnail" && e.has_thumb ? {...e,has_cover: !1@@ -57373,31 +57373,31 @@ var kK = /* @__PURE__ */ new Map(), AK = (0, F.memo)(function({ item: e, image:})});});-function xxe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error: a = "", retry: o, emptyHtml: s = "", loadMore: c, actions: l, helpers: u, javImage: d, sessionKey: f }) {+function Sxe({ 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, F.useState)(() => {- let e = kK.get(f);+ let e = OK.get(f);return e && (i || t || e.pool === p) ? e : void 0;- }), [h] = (0, F.useState)(() => m?.exploration || new Pye()), g = (0, F.useRef)(!1), [_, v] = (0, F.useState)(null), y = (0, F.useRef)(null), b = (0, F.useRef)(null), x = (0, F.useRef)(null), S = (0, F.useRef)(null), C = (0, F.useRef)(null), [w, T] = (0, F.useState)(() => e.find((e) => e.id === m?.selectedId) || null), [E, D] = (0, F.useState)(m?.selectedKey || ""), [O, k] = (0, F.useState)(m?.sourceId || null), [A, j] = (0, F.useState)(!1), M = w?.edition_group ? {+ }), [h] = (0, F.useState)(() => m?.exploration || new Fye()), g = (0, F.useRef)(!1), [_, v] = (0, F.useState)(null), y = (0, F.useRef)(null), b = (0, F.useRef)(null), x = (0, F.useRef)(null), S = (0, F.useRef)(null), C = (0, F.useRef)(null), [w, T] = (0, F.useState)(() => e.find((e) => e.id === m?.selectedId) || null), [E, D] = (0, F.useState)(m?.selectedKey || ""), [O, k] = (0, F.useState)(m?.sourceId || null), [A, j] = (0, F.useState)(!1), M = w?.edition_group ? {kind: "editions",seedId: w.edition_group.seed_id} : w?.part_group ? {kind: "parts",seedId: w.part_group.seed_id} : null, ee = Ft({- queryKey: vP(M || {+ queryKey: _P(M || {kind: "parts",seedId: 0}),enabled: !!M,- queryFn: ({ signal: e }) => DP(M, {+ queryFn: ({ signal: e }) => EP(M, {tagLabel: u.tagLabel,mixRelated: async () => []}, e)- }), N = M ? ee.data : void 0, te = N?.items.find((e) => e.id === AP(N, O || w?.id || null)) || w, P = pxe(e.length, t && !!e.length, m?.camera || {+ }), N = M ? ee.data : void 0, te = N?.items.find((e) => e.id === kP(N, O || w?.id || null)) || w, P = mxe(e.length, t && !!e.length, m?.camera || {x: 0,y: 0,scale: innerWidth < 640 ? .68 : 1- }, !!w), ne = $x(), [re, ie] = (0, F.useState)(!!m);+ }, !!w), ne = Qx(), [re, ie] = (0, F.useState)(!!m);(0, F.useEffect)(() => {if (!e.length || re || ne) return;let t = setTimeout(() => ie(!0), 1100);@@ -57412,7 +57412,7 @@ function xxe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:return e.className = "peach-react", e;});(0, F.useLayoutEffect)(() => {- document.body.append(Ce), VW(), P.viewport.current?.focus({ preventScroll: !0 });+ document.body.append(Ce), BW(), P.viewport.current?.focus({ preventScroll: !0 });}, [Ce]), (0, F.useEffect)(() => () => Ce.remove(), [Ce]);let [we, Te] = (0, F.useState)(() => Bf(Op.navigation.location.pathname)), [Ee, De] = (0, F.useState)(m?.image || d), Oe = (0, F.useRef)(null), ke = (0, F.useRef)(p), Ae = (0, F.useRef)(!!e.length);Ae.current = !!e.length;@@ -57431,20 +57431,20 @@ function xxe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:pool: p};let Me = () => {- Ae.current && (kK.delete(f), kK.set(f, {+ Ae.current && (OK.delete(f), OK.set(f, {...je.current,camera: P.snapshot(),exploration: h- }), kK.size > 8 && kK.delete(kK.keys().next().value));+ }), OK.size > 8 && OK.delete(OK.keys().next().value));};(0, F.useLayoutEffect)(Me);- let Ne = zW(i ? 12 : t ? e.length : e.length || n ? 12 : 0, t && !i, P.view.camera, P.view.size), Pe = i ? Ne.map((e) => ({+ let Ne = RW(i ? 12 : t ? e.length : e.length || n ? 12 : 0, t && !i, P.view.camera, P.view.size), Pe = i ? Ne.map((e) => ({...e,index: -1})) : t ? Ne : h.assign(Ne, e.length, n).map((t) => t.index < e.length || w && t.key === E ? t : {...t,index: -1- }), Fe = w && (t ? LW(e.length, !0, E) : h.tile(E, e.length)), Ie = Fe ? RW(e.length, t, Fe) : /* @__PURE__ */ new Map();+ }), Fe = w && (t ? IW(e.length, !0, E) : h.tile(E, e.length)), Ie = Fe ? LW(e.length, t, Fe) : /* @__PURE__ */ new Map();Fe && !Pe.some((e) => e.key === Fe.key) && Pe.push(Fe);let Le = (e = !1) => {C.current?.abort(), C.current = null, S.current?.(e), S.current = null, se(null), de(!1);@@ -57485,7 +57485,7 @@ function xxe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:w?.id !== n.id && Le(!1), Oe.current = {key: r.key,id: n.id- }, pe(""), le(null), T(n), D(r.key), k(null), j(!1), xe(!1), P.reveal(RW(e.length, t, r).get(r.key) || r, i, !0), i || requestAnimationFrame(() => y.current?.querySelector("[data-wall-play]")?.focus({ preventScroll: !0 }));+ }, pe(""), le(null), T(n), D(r.key), k(null), j(!1), xe(!1), P.reveal(LW(e.length, t, r).get(r.key) || r, i, !0), i || requestAnimationFrame(() => y.current?.querySelector("[data-wall-play]")?.focus({ preventScroll: !0 }));}, Ve = () => {te && y.current && (Me(), Le(!0), l.wallDetails?.(te, y.current.querySelector("[data-wall-focus]") || y.current));}, He = async (e = te) => {@@ -57507,7 +57507,7 @@ function xxe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:C.current === t && de(!1);}}, Ue = () => {- let e = jP(N || null, oe || 0);+ let e = AP(N || null, oe || 0);e && (k(e.id), He(e));};(0, F.useEffect)(() => {@@ -57529,7 +57529,7 @@ function xxe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:let r = P.snapshot(), i = e.findIndex((e) => e.id === n.id), a = {x: (P.view.size.width / 2 - r.x) / r.scale,y: (P.view.size.height / 2 - r.y) / r.scale- }, o = t ? jye(e.length, i) : h.nearest(e.length, i, a);+ }, o = t ? Mye(e.length, i) : h.nearest(e.length, i, a);o && (Be(n, o), le(n.id));}, qe = async () => {if (!(r || g.current)) {@@ -57621,7 +57621,7 @@ function xxe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:/* @__PURE__ */ (0, I.jsx)("div", {"data-wall-focus-backdrop": "","aria-hidden": "true",- children: /* @__PURE__ */ (0, I.jsx)(AK, {+ children: /* @__PURE__ */ (0, I.jsx)(kK, {item: w,image: Ee,big: !0@@ -57629,7 +57629,7 @@ function xxe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:}),/* @__PURE__ */ (0, I.jsx)("div", {"data-wall-scene": "",- children: /* @__PURE__ */ (0, I.jsx)(AK, {+ children: /* @__PURE__ */ (0, I.jsx)(kK, {item: w,image: Ee,big: !0@@ -57658,7 +57658,7 @@ function xxe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:}),Qe.code ? /* @__PURE__ */ (0, I.jsx)("strong", { children: Ze(Qe).startsWith(Qe.code) ? Ze(Qe).slice(Qe.code.length).trim() : Ze(Qe) }) : null,/* @__PURE__ */ (0, I.jsx)("span", { children: Qe.performers?.join(" · ") || Qe.creator || "未归属" }),- N ? /* @__PURE__ */ (0, I.jsx)("small", { children: [Qe.edition_label, Qe.part_label ? zP(Qe.part_label) : ""].filter(Boolean).join(" · ") }) : null+ N ? /* @__PURE__ */ (0, I.jsx)("small", { children: [Qe.edition_label, Qe.part_label ? RP(Qe.part_label) : ""].filter(Boolean).join(" · ") }) : null]}),/* @__PURE__ */ (0, I.jsx)("button", {@@ -57685,7 +57685,7 @@ function xxe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:children: "立即重试"}) : null]}) : null,- /* @__PURE__ */ (0, I.jsx)(_xe, {+ /* @__PURE__ */ (0, I.jsx)(vxe, {item: Qe,playing: oe,frame: b,@@ -57707,7 +57707,7 @@ function xxe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:ended: Ue,error: pe}),- A ? /* @__PURE__ */ (0, I.jsx)(yxe, {+ A ? /* @__PURE__ */ (0, I.jsx)(bxe, {items: We,activeId: Qe.id,kind: N?.kind || "wall",@@ -57723,7 +57723,7 @@ function xxe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:"data-refreshing": _ !== null || void 0,hidden: we,onKeyDown: (e) => {- e.key !== "Escape" || e.defaultPrevented || (e.preventDefault(), e.stopPropagation(), A ? j(!1) : w ? ze() : be ? Re() : OK());+ e.key !== "Escape" || e.defaultPrevented || (e.preventDefault(), e.stopPropagation(), A ? j(!1) : w ? ze() : be ? Re() : DK());},children: [/* @__PURE__ */ (0, I.jsxs)("div", {@@ -57734,7 +57734,7 @@ function xxe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:"data-wall-back": "","aria-label": "退出播放墙",title: "返回",- onClick: OK,+ onClick: DK,children: /* @__PURE__ */ (0, I.jsx)("svg", {viewBox: "0 0 24 24","aria-hidden": "true",@@ -57743,7 +57743,7 @@ function xxe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:}),!t && (n || e.length > 0) ? /* @__PURE__ */ (0, I.jsx)("div", {"data-wall-refresh": "",- children: /* @__PURE__ */ (0, I.jsx)(IG, {+ children: /* @__PURE__ */ (0, I.jsx)(FG, {busy: r,onPress: () => void Ye()})@@ -57809,7 +57809,7 @@ function xxe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:}), /* @__PURE__ */ (0, I.jsx)("p", { children: "当前仅显示筛选结果" })] }), /* @__PURE__ */ (0, I.jsx)(J, {size: "small",variant: "ghost",- onClick: () => Op.push(DK()),+ onClick: () => Op.push(EK()),children: "清除筛选"})]}) : null@@ -57865,7 +57865,7 @@ function xxe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:}}, t.key);let n = !!w && t.key === E, r = n ? w : e[t.index], i = Ie.get(t.key) || t, a = !re && !n, o = a ? Math.min(.34, (Math.max(0, t.x + P.view.camera.x / P.view.camera.scale) + Math.max(0, t.y + P.view.camera.y / P.view.camera.scale)) / 103.36 * .03) : 0;- return /* @__PURE__ */ (0, I.jsx)(dS.article, {+ return /* @__PURE__ */ (0, I.jsx)(uS.article, {layout: !0,layoutDependency: `${i.x}:${i.y}:${i.width}:${i.height}`,"data-wall-tile": t.key,@@ -57886,7 +57886,7 @@ function xxe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:},whileHover: ae && !ne && !n && re ? { transform: `translateY(0px) scale(${(i.width + 12.16) / i.width},${(i.height + 12.16) / i.height})` } : void 0,transition: ne ? { duration: 0 } : {- layout: mxe,+ layout: hxe,transform: a ? {type: "spring",stiffness: 360,@@ -57919,7 +57919,7 @@ function xxe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:!n && ["Enter", " "].includes(e.key) && (e.preventDefault(), Be(r, t, !1));},children: n ? $e : /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [- /* @__PURE__ */ (0, I.jsx)(AK, {+ /* @__PURE__ */ (0, I.jsx)(kK, {item: r,image: Ee,ratio: i.width / i.height@@ -57945,7 +57945,7 @@ function xxe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:style: { "--wall-progress": `${Math.min(100, Number(r.leave_ratio) * 100)}%` },"aria-label": "观看进度"}) : null,- /* @__PURE__ */ (0, I.jsx)(dS.span, {+ /* @__PURE__ */ (0, I.jsx)(uS.span, {"data-wall-dim": "",animate: { opacity: w ? .65 : 0 },transition: { duration: ne ? 0 : .24 }@@ -58010,7 +58010,7 @@ function xxe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:return (0, Rt.createPortal)(et, Ce);}// src/catalog-onboarding.ts-var jK = [+var AK = ["loc","creator","performer",@@ -58029,19 +58029,19 @@ var jK = ["jav","thumb"];-function Sxe(e = typeof location > "u" ? "/" : location.href) {+function Cxe(e = typeof location > "u" ? "/" : location.href) {let t = new URL(e, "http://localhost");for (let e of [- ...jK,+ ...AK,"q","category","cat"]) t.searchParams.delete(e);return t.searchParams.set("thumb", "0"), t.pathname + (t.search ? t.search : "") + t.hash;}-async function Cxe(e, t) {+async function wxe(e, t) {let n = new URLSearchParams();- for (let t of jK) e[t] && n.set(t, e[t]);+ for (let t of AK) 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 || [],@@ -58052,9 +58052,9 @@ async function Cxe(e, t) {return r.set("q", e), r.set("limit", "1"), (await t("/api/items?" + r)).total > 0 ? e : "";}))).filter(Boolean);}-function MK({ kind: e = "catalog", filtered: t = !1, jav: n = !1, configurable: r = !1, online: i = !1 } = {}) {+function jK({ kind: e = "catalog", filtered: t = !1, jav: n = !1, configurable: r = !1, online: i = !1 } = {}) {let a = "<a class=\"geist-button primary\" href=\"/settings/library\">添加媒体</a>", o = "<a class=\"geist-button" + (i ? " primary" : "") + "\" href=\"/subscriptions?tab=add\">添加关注</a>";- if (t || n) return Ws("search", n ? "还没有符合条件的 JAV 作品" : "没有符合条件的内容", n ? "已扫描但尚未补充发行资料的视频可在全部内容中查看。" : "清除筛选或搜索条件后查看全部内容。", { actions: n ? "<a class=\"geist-button primary\" href=\"/?loc=&thumb=0\">查看全部内容</a><a class=\"geist-button\" href=\"/data-cleanup#libraryProcessing\">补全影片资料</a>" : `<a class="geist-button primary" href="${t ? z(Sxe()) : "/?loc=&thumb=0"}">${t ? "清除筛选" : "查看全部内容"}</a>` });+ if (t || n) return Ws("search", n ? "还没有符合条件的 JAV 作品" : "没有符合条件的内容", n ? "已扫描但尚未补充发行资料的视频可在全部内容中查看。" : "清除筛选或搜索条件后查看全部内容。", { actions: n ? "<a class=\"geist-button primary\" href=\"/?loc=&thumb=0\">查看全部内容</a><a class=\"geist-button\" href=\"/data-cleanup#libraryProcessing\">补全影片资料</a>" : `<a class="geist-button primary" href="${t ? z(Cxe()) : "/?loc=&thumb=0"}">${t ? "清除筛选" : "查看全部内容"}</a>` });if (e !== "catalog") {let t = (i ? {tags: "标签",@@ -58072,11 +58072,11 @@ function MK({ kind: e = "catalog", filtered: t = !1, jav: n = !1, configurable:return Ws("play", "还没有视频", "添加媒体目录或关注来源,开始建立你的馆藏。", { actions: a + o });}// src/react/video-wall/wall-empty.ts-function wxe({ libraryEmpty: e, matches: t, hasMore: n, catalogEmpty: r }) {- return e ? r || MK() : t ? Ws("image", "这些视频还没有封面", n ? "载入更多作品后继续浏览。" : "为作品补充封面后,可在播放墙中查看。", { actions: "<a class=\"geist-button primary\" href=\"/data-cleanup\">补全封面</a>" + (n ? "<button type=\"button\" class=\"geist-button\" data-wall-load-more>加载更多</button>" : "") }) : Ws("search", "没有符合筛选条件的视频", "清除筛选条件后查看全部视频。", { actions: `<a class="geist-button primary" href="${DK()}">清除筛选</a>` });+function Txe({ libraryEmpty: e, matches: t, hasMore: n, catalogEmpty: r }) {+ return e ? r || jK() : t ? Ws("image", "这些视频还没有封面", n ? "载入更多作品后继续浏览。" : "为作品补充封面后,可在播放墙中查看。", { actions: "<a class=\"geist-button primary\" href=\"/data-cleanup\">补全封面</a>" + (n ? "<button type=\"button\" class=\"geist-button\" data-wall-load-more>加载更多</button>" : "") }) : Ws("search", "没有符合筛选条件的视频", "清除筛选条件后查看全部视频。", { actions: `<a class="geist-button primary" href="${EK()}">清除筛选</a>` });}// src/react/library-processing/processing-actions.tsx-function NK({ label: e, maintenance: t = !1, children: n }) {+function MK({ label: e, maintenance: t = !1, children: n }) {let r = _H("hover");return /* @__PURE__ */ (0, I.jsx)("div", {ref: r,@@ -58087,7 +58087,7 @@ function NK({ label: e, maintenance: t = !1, children: n }) {children: n});}-function PK({ option: e, metadataOnly: t, onRun: n }) {+function NK({ option: e, metadataOnly: t, onRun: n }) {let r = t && e.command.stage === "previews", i = r || e.disabled;return /* @__PURE__ */ (0, I.jsx)("button", {type: "button",@@ -58104,7 +58104,7 @@ function PK({ option: e, metadataOnly: t, onRun: n }) {})});}-function Txe({ command: e, speed: t, dialog: n, onSpeed: r, busy: i }) {+function Exe({ command: e, speed: t, dialog: n, onSpeed: r, busy: i }) {let [a, o] = (0, F.useState)(t), [s, c] = (0, F.useState)(), [l, u] = (0, F.useState)("");(0, F.useEffect)(() => {let t = new AbortController(), r, i = async (a) => {@@ -58154,7 +58154,7 @@ function Txe({ command: e, speed: t, dialog: n, onSpeed: r, busy: i }) {]});}-function FK({ busy: e, occupied: t = !1, scan: n = !1, metadataOnly: r = !1, speedMode: i = "standard", pendingCount: a = 0, onRun: o, onOccupied: s }) {+function PK({ busy: e, occupied: t = !1, scan: n = !1, metadataOnly: r = !1, speedMode: i = "standard", pendingCount: a = 0, onRun: o, onOccupied: s }) {let c = (0, F.useRef)(null), l = (0, F.useRef)(null), [u, d] = (0, F.useState)(null), f = (0, F.useRef)(i);(0, F.useEffect)(() => () => l.current?.close(), []);let [p, m] = (0, F.useState)(!1), h = {@@ -58237,7 +58237,7 @@ function FK({ busy: e, occupied: t = !1, scan: n = !1, metadataOnly: r = !1, spe});};return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [- u ? (0, Rt.createPortal)(/* @__PURE__ */ (0, I.jsx)(Txe, {+ u ? (0, Rt.createPortal)(/* @__PURE__ */ (0, I.jsx)(Exe, {command: u.command,dialog: u.dialog,speed: i,@@ -58250,7 +58250,7 @@ function FK({ busy: e, occupied: t = !1, scan: n = !1, metadataOnly: r = !1, spehref: "/settings/library",size: "small",variant: "primary",- trailingIcon: yB,+ trailingIcon: vB,disabled: v,onClick: (e) => {u.dialog.confirmButton.getAttribute("aria-busy") === "true" ? e.preventDefault() : u.dialog.close();@@ -58268,7 +58268,7 @@ function FK({ busy: e, occupied: t = !1, scan: n = !1, metadataOnly: r = !1, spe}), /* @__PURE__ */ (0, I.jsx)(J, {ref: c,iconOnly: !0,- leadingIcon: vB,+ leadingIcon: _B,"aria-label": "更多同步方式","aria-haspopup": "dialog","aria-expanded": p,@@ -58278,27 +58278,27 @@ function FK({ busy: e, occupied: t = !1, scan: n = !1, metadataOnly: r = !1, spe}})]}),- /* @__PURE__ */ (0, I.jsx)(fz, {+ /* @__PURE__ */ (0, I.jsx)(dz, {triggerRef: c,isOpen: p,onOpenChange: m,placement: "bottom end",offset: 4,className: MV,- children: /* @__PURE__ */ (0, I.jsxs)(Tz, {+ children: /* @__PURE__ */ (0, I.jsxs)(wz, {"aria-label": "同步方式",className: "flex w-80 flex-col gap-1 outline-none",- children: [n ? /* @__PURE__ */ (0, I.jsxs)(NK, {+ children: [n ? /* @__PURE__ */ (0, I.jsxs)(MK, {label: "日常同步",children: [/* @__PURE__ */ (0, I.jsx)("p", {className: "px-2 py-1 text-caption-1-medium text-text-secondary",children: "日常同步"- }), g.map((e) => /* @__PURE__ */ (0, I.jsx)(PK, {+ }), g.map((e) => /* @__PURE__ */ (0, I.jsx)(NK, {option: e,metadataOnly: r,onRun: b}, e.label))]- }) : null, /* @__PURE__ */ (0, I.jsxs)(NK, {+ }) : null, /* @__PURE__ */ (0, I.jsxs)(MK, {label: n ? "全库维护" : "补全方式",maintenance: n,children: [n ? /* @__PURE__ */ (0, I.jsxs)("div", {@@ -58310,7 +58310,7 @@ function FK({ busy: e, occupied: t = !1, scan: n = !1, metadataOnly: r = !1, speclassName: "text-caption-1-regular text-text-secondary",children: "检查全部文件,复用已有资料和预览"})]- }) : null, _.map((e) => /* @__PURE__ */ (0, I.jsx)(PK, {+ }) : null, _.map((e) => /* @__PURE__ */ (0, I.jsx)(NK, {option: e,metadataOnly: r,onRun: b@@ -58321,17 +58321,17 @@ function FK({ busy: e, occupied: t = !1, scan: n = !1, metadataOnly: r = !1, spe] });}// src/react/library-processing/library-completion.tsx-function IK(e, t) {+function FK(e, t) {return [...new Set(e.filter((e) => (!e.medium || e.medium === "video") && (!/\.(strm|iso)$/i.test(e.name || "") || !!e.code) && !e.disposal && e.location !== "online" && (e.location === "local" || !!e.code) && !To(e, "small", !1, t).html).map((e) => e.id))];}-function LK({ assetIds: e, onComplete: t, className: n = "mb-4" }) {- return e.length ? /* @__PURE__ */ (0, I.jsx)(Exe, {+function IK({ assetIds: e, onComplete: t, className: n = "mb-4" }) {+ return e.length ? /* @__PURE__ */ (0, I.jsx)(Dxe, {assetIds: e,onComplete: t,className: n}) : null;}-function Exe({ assetIds: e, onComplete: t, className: n }) {+function Dxe({ assetIds: e, onComplete: t, className: n }) {let r = Ft({queryKey: QV,queryFn: ({ signal: e }) => oH(e),@@ -58362,7 +58362,7 @@ function Exe({ assetIds: e, onComplete: t, className: n }) {tone: f ? "warning" : "neutral",action: /* @__PURE__ */ (0, I.jsx)("div", {className: "flex flex-wrap items-center gap-2",- children: /* @__PURE__ */ (0, I.jsx)(FK, {+ children: /* @__PURE__ */ (0, I.jsx)(PK, {busy: d,metadataOnly: u?.metadata_only,onRun: (e) => {@@ -58376,7 +58376,7 @@ function Exe({ assetIds: e, onComplete: t, className: n }) {/* @__PURE__ */ (0, I.jsx)(mH, {href: "/data-cleanup#libraryProcessing",size: "small",- trailingIcon: yB,+ trailingIcon: vB,children: f ? "打开扫描与采集" : "查看处理详情"})]@@ -58384,31 +58384,31 @@ function Exe({ assetIds: e, onComplete: t, className: n }) {});}// node_modules/@tanstack/react-table/dist/FlexRender.js-function Dxe(e) {- return Oxe(e) || typeof e == "function" || kxe(e);-}function Oxe(e) {+ return kxe(e) || typeof e == "function" || Axe(e);+}+function kxe(e) {return typeof e == "function" && (() => {let t = Object.getPrototypeOf(e);return t.prototype && t.prototype.isReactComponent;})();}-function kxe(e) {+function Axe(e) {return typeof e == "object" && typeof e.$$typeof == "symbol" && ["react.memo", "react.forward_ref"].includes(e.$$typeof.description);}-function RK(e, t) {- return e == null ? null : Dxe(e) ? /* @__PURE__ */ F.createElement(e, t) : e;+function LK(e, t) {+ return e == null ? null : Oxe(e) ? /* @__PURE__ */ F.createElement(e, t) : e;}-function Axe(e) {+function jxe(e) {if ("cell" in e && e.cell) {let t = e.cell, n = t.column.columnDef, r = t, i = n;- return r.getIsAggregated?.() ? RK(i.aggregatedCell ?? n.cell, t.getContext()) : r.getIsPlaceholder?.() ? null : RK(n.cell, t.getContext());+ return r.getIsAggregated?.() ? LK(i.aggregatedCell ?? n.cell, t.getContext()) : r.getIsPlaceholder?.() ? null : LK(n.cell, t.getContext());}- return "header" in e && e.header ? RK(e.header.column.columnDef.header, e.header.getContext()) : "footer" in e && e.footer ? RK(e.footer.column.columnDef.footer, e.footer.getContext()) : null;+ return "header" in e && e.header ? LK(e.header.column.columnDef.header, e.header.getContext()) : "footer" in e && e.footer ? LK(e.footer.column.columnDef.footer, e.footer.getContext()) : null;}// node_modules/@tanstack/store/dist/alien.js/* @__NO_SIDE_EFFECTS__ */-function jxe({ update: e, notify: t, unwatched: n }) {+function Mxe({ update: e, notify: t, unwatched: n }) {return {link: r,unlink: i,@@ -58525,7 +58525,7 @@ function jxe({ update: e, notify: t, unwatched: n }) {}}// node_modules/@tanstack/store/dist/atom.js-function Mxe(e, t, n) {+function Nxe(e, t, n) {let r = typeof e == "object", i = r ? e : void 0;return {next: (r ? e.next : e)?.bind(i),@@ -58533,38 +58533,38 @@ function Mxe(e, t, n) {complete: (r ? e.complete : n)?.bind(i)};}-var zK = [], BK = 0, { link: VK, unlink: Nxe, propagate: Pxe, checkDirty: HK, shallowPropagate: UK } = /* @__PURE__ */ jxe({+var RK = [], zK = 0, { link: BK, unlink: Pxe, propagate: Fxe, checkDirty: VK, shallowPropagate: HK } = /* @__PURE__ */ Mxe({update(e) {return e._update();},notify(e) {- zK[GK++] = e, e.flags &= -3;+ RK[WK++] = e, e.flags &= -3;},unwatched(e) {- e.depsTail !== void 0 && (e.depsTail = void 0, e.flags = 17, JK(e));+ e.depsTail !== void 0 && (e.depsTail = void 0, e.flags = 17, qK(e));}-}), WK = 0, GK = 0, KK, qK = 0;-function Fxe(e) {+}), UK = 0, WK = 0, GK, KK = 0;+function Ixe(e) {try {- ++qK, e();+ ++KK, e();} finally {- --qK || YK();+ --KK || JK();}}-function JK(e) {+function qK(e) {let t = e.depsTail, n = t === void 0 ? e.deps : t.nextDep;- for (; n !== void 0;) n = Nxe(n, e);+ for (; n !== void 0;) n = Pxe(n, e);}-function YK() {- if (!(qK > 0)) {- for (; WK < GK;) {- let e = zK[WK];- zK[WK++] = void 0, e.notify();+function JK() {+ if (!(KK > 0)) {+ for (; UK < WK;) {+ let e = RK[UK];+ RK[UK++] = void 0, e.notify();}- WK = 0, GK = 0;+ UK = 0, WK = 0;}}-function Ixe(e, t) {+function Lxe(e, t) {let n = typeof e == "function", r = e, i = {_snapshot: n ? void 0 : e,subs: void 0,@@ -58573,53 +58573,53 @@ function Ixe(e, t) {depsTail: void 0,flags: +!n,get() {- return KK !== void 0 && VK(i, KK, BK), i._snapshot;+ return GK !== void 0 && BK(i, GK, zK), i._snapshot;},subscribe(e) {- let t = Mxe(e), n = { current: !1 }, r = Lxe(() => {- i.get(), n.current ? (KK = void 0, t.next?.(i._snapshot)) : n.current = !0;+ let t = Nxe(e), n = { current: !1 }, r = Rxe(() => {+ i.get(), n.current ? (GK = void 0, t.next?.(i._snapshot)) : n.current = !0;});return { unsubscribe: () => {r.stop();} };},_update(e) {- let a = KK, o = t?.compare ?? Object.is;- if (n) KK = i, ++BK, i.depsTail = void 0;+ let a = GK, o = t?.compare ?? Object.is;+ if (n) GK = i, ++zK, i.depsTail = void 0;else if (e === void 0) return !1;n && (i.flags = 5);try {let t = i._snapshot, a = typeof e == "function" ? e(t) : e === void 0 && n ? r(t) : e;return t === void 0 || !o(t, a) ? (i._snapshot = a, !0) : !1;} finally {- KK = a, n && (i.flags &= -5), JK(i);+ GK = a, n && (i.flags &= -5), qK(i);}}};return n ? (i.flags = 17, i.get = function() {let e = i.flags;- if (e & 16 || e & 32 && HK(i.deps, i)) {+ if (e & 16 || e & 32 && VK(i.deps, i)) {if (i._update()) {let e = i.subs;- e !== void 0 && UK(e);+ e !== void 0 && HK(e);}} else e & 32 && (i.flags = e & -33);- return KK !== void 0 && VK(i, KK, BK), i._snapshot;+ return GK !== void 0 && BK(i, GK, zK), i._snapshot;}) : i.set = function(e) {if (i._update(e)) {let e = i.subs;- e !== void 0 && (Pxe(e), UK(e), YK());+ e !== void 0 && (Fxe(e), HK(e), JK());}}, i;}-function Lxe(e) {+function Rxe(e) {let t = () => {- let t = KK;- KK = n, ++BK, n.depsTail = void 0, n.flags = 6;+ let t = GK;+ GK = n, ++zK, n.depsTail = void 0, n.flags = 6;try {return e();} finally {- KK = t, n.flags &= -5, JK(n);+ GK = t, n.flags &= -5, qK(n);}}, n = {deps: void 0,@@ -58629,16 +58629,16 @@ function Lxe(e) {flags: 6,notify() {let e = this.flags;- e & 16 || e & 32 && HK(this.deps, this) ? t() : this.flags = 2;+ e & 16 || e & 32 && VK(this.deps, this) ? t() : this.flags = 2;},stop() {- this.flags = 0, this.depsTail = void 0, JK(this);+ this.flags = 0, this.depsTail = void 0, qK(this);}};return t(), n;}// node_modules/@tanstack/store/dist/shallow.js-function XK(e, t) {+function YK(e, t) {if (Object.is(e, t)) return !0;if (typeof e != "object" || !e || typeof t != "object" || !t) return !1;if (e instanceof Map && t instanceof Map) {@@ -58652,17 +58652,17 @@ function XK(e, t) {return !0;}if (e instanceof Date && t instanceof Date) return e.getTime() === t.getTime();- let n = ZK(e);- if (n.length !== ZK(t).length) return !1;+ let n = XK(e);+ if (n.length !== XK(t).length) return !1;for (let r = 0; r < n.length; r++) if (!Object.prototype.hasOwnProperty.call(t, n[r]) || !Object.is(e[n[r]], t[n[r]])) return !1;return !0;}-function ZK(e) {+function XK(e) {return Object.keys(e).concat(Object.getOwnPropertySymbols(e));}// node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.production.js-var Rxe = /* @__PURE__ */ o(((e) => {- var t = A(), n = rw();+var zxe = /* @__PURE__ */ o(((e) => {+ var t = A(), n = nw();function r(e, t) {return e === t && (e !== 0 || 1 / e == 1 / t) || e !== e && t !== t;}@@ -58706,33 +58706,33 @@ var Rxe = /* @__PURE__ */ o(((e) => {f.hasValue = !0, f.value = p;}, [p]), l(p), p;};-})), QK = /* @__PURE__ */ o(((e, t) => {- t.exports = Rxe();-})), zxe = QK();-function Bxe(e, t) {+})), ZK = /* @__PURE__ */ o(((e, t) => {+ t.exports = zxe();+})), Bxe = ZK();+function Vxe(e, t) {return e === t;}-function $K(e, t = (e) => e, n) {- let r = n?.compare ?? Bxe, i = (0, F.useCallback)((t) => {+function QK(e, t = (e) => e, n) {+ let r = n?.compare ?? Vxe, i = (0, F.useCallback)((t) => {let { unsubscribe: n } = e.subscribe(t);return n;}, [e]), a = (0, F.useCallback)(() => e.get(), [e]);- return (0, zxe.useSyncExternalStoreWithSelector)(i, a, a, t, r);+ return (0, Bxe.useSyncExternalStoreWithSelector)(i, a, a, t, r);}// node_modules/@tanstack/react-table/dist/Subscribe.js-function Vxe(e) {- let t = $K(e.source, e.selector, { compare: XK });+function Hxe(e) {+ let t = QK(e.source, e.selector, { compare: YK });return typeof e.children == "function" ? e.children(t) : e.children;}// node_modules/@tanstack/table-core/dist/core/reactivity/coreReactivityFeature.utils.js-function Hxe(e) {+function Uxe(e) {let t = e;return Object.defineProperty(e, "state", { get() {return e.get();} }), "set" in e && (t.setState = e.set.bind(e)), t;}// node_modules/@tanstack/table-core/dist/core/reactivity/renderPhaseReactivity.js-function Uxe(e) {+function Wxe(e) {let { createAtom: t, batch: n } = e, r = t(0);return {createOptionsStore: !1,@@ -58762,7 +58762,7 @@ function Uxe(e) {}};}-function Wxe(e, t = Object.is) {+function Gxe(e, t = Object.is) {let n = !1, r;return {get: e.get,@@ -58775,28 +58775,28 @@ function Wxe(e, t = Object.is) {};}// node_modules/@tanstack/react-table/dist/reactivity.js-function Gxe() {- return Uxe({- createAtom: Ixe,- batch: Fxe+function Kxe() {+ return Wxe({+ createAtom: Lxe,+ batch: Ixe});}// node_modules/@tanstack/table-core/dist/utils.js-function eq(e, t) {+function $K(e, t) {return typeof e == "function" ? e(t) : e;}-function tq(e) {- if (Array.isArray(e)) return e.map(tq);+function eq(e) {+ if (Array.isArray(e)) return e.map(eq);if (e && typeof e == "object") {let t = Object.getPrototypeOf(e);if (t !== Object.prototype && t !== null) return e;- let n = t === null ? rq() : {}, r = Object.keys(e);+ let n = t === null ? nq() : {}, r = Object.keys(e);for (let t = 0; t < r.length; t++) {let i = r[t];Object.defineProperty(n, i, {configurable: !0,enumerable: !0,- value: tq(e[i]),+ value: eq(e[i]),writable: !0});}@@ -58804,7 +58804,7 @@ function tq(e) {}return e;}-function nq(e, t) {+function tq(e, t) {let n = Object.keys(t), r = e;for (let e = 0; e < n.length; e++) {let i = n[e];@@ -58812,53 +58812,53 @@ function nq(e, t) {}return e;}-function rq() {+function nq() {return Object.create(null);}-function iq(e, t) {+function rq(e, t) {return Object.prototype.hasOwnProperty.call(e, t);}-function aq(e, t) {+function iq(e, t) {return (n) => {- (t.options.atoms?.[e] ?? t.baseAtoms[e]).set((e) => eq(n, e));+ (t.options.atoms?.[e] ?? t.baseAtoms[e]).set((e) => $K(n, e));};}-function oq(e) {+function aq(e) {if (typeof e != "object" || !e) return !1;if (Array.isArray(e)) return !0;let t = Object.getPrototypeOf(e);return t === Object.prototype || t === null;}-function sq(e) {+function oq(e) {return Reflect.ownKeys(e).filter((t) => Object.prototype.propertyIsEnumerable.call(e, t));}-var Kxe = 3;-function qxe(e, t) {- return cq(e, t, Kxe);+var qxe = 3;+function Jxe(e, t) {+ return sq(e, t, qxe);}-function cq(e, t, n) {+function sq(e, t, n) {if (Object.is(e, t)) return !0;- if (n <= 0 || !oq(e) || !oq(t) || (Array.isArray(e) || Array.isArray(t)) && (!Array.isArray(e) || !Array.isArray(t) || e.length !== t.length)) return !1;- let r = sq(e), i = sq(t);+ if (n <= 0 || !aq(e) || !aq(t) || (Array.isArray(e) || Array.isArray(t)) && (!Array.isArray(e) || !Array.isArray(t) || e.length !== t.length)) return !1;+ let r = oq(e), i = oq(t);if (r.length !== i.length) return !1;let a = e, o = t;for (let e = 0; e < r.length; e++) {let i = r[e];- if (!Object.prototype.propertyIsEnumerable.call(t, i) || !cq(a[i], o[i], n - 1)) return !1;+ if (!Object.prototype.propertyIsEnumerable.call(t, i) || !sq(a[i], o[i], n - 1)) return !1;}return !0;}-function lq(e, t, n, r = qxe) {+function cq(e, t, n, r = Jxe) {let i = `on${t.charAt(0).toUpperCase()}${t.slice(1)}Change`, a = e.options[i];a && a((e) => {- let t = eq(n, e);+ let t = $K(n, e);return r(e, t) ? e : t;});}-function Jxe(e) {+function Yxe(e) {return e instanceof Function;}-function Yxe(e, t) {+function Xxe(e, t) {let n = [], r = (e) => {e.forEach((e) => {n.push(e);@@ -58868,7 +58868,7 @@ function Yxe(e, t) {};return r(e), n;}-var Xxe = ({ fn: e, memoDeps: t, onAfterCompare: n, onAfterUpdate: r, onBeforeCompare: i, onBeforeUpdate: a }) => {+var Zxe = ({ fn: e, memoDeps: t, onAfterCompare: n, onAfterUpdate: r, onBeforeCompare: i, onBeforeUpdate: a }) => {let o = [], s;return (c) => {i?.();@@ -58882,23 +58882,23 @@ var Xxe = ({ fn: e, memoDeps: t, onAfterCompare: n, onAfterUpdate: r, onBeforeCoreturn n?.(u), u && (o = l, a?.(), s = e(...l ?? []), r?.(s)), s;};};-function uq(e) {+function lq(e) {let t = !1;return () => {t ? e() : t = !0;};}-function dq({ feature: e, fnName: t, objectId: n, onAfterUpdate: r, table: i, ...a }) {+function uq({ feature: e, fnName: t, objectId: n, onAfterUpdate: r, table: i, ...a }) {let o = { onAfterUpdate: r ? () => {let { schedule: e, untrack: t } = i._reactivity;e(() => t(() => r()));} : void 0 };- return Xxe({+ return Zxe({...a,...o});}-function fq(e, t = "_") {+function dq(e, t = "_") {let [n, r] = e.replace(t, " ").split(" ");return {fnKey: r,@@ -58906,10 +58906,10 @@ function fq(e, t = "_") {parentName: n};}-function pq(e, t, n) {+function fq(e, t, n) {for (let [r, { fn: i, memoDeps: a }] of Object.entries(n)) {- let { fnKey: n, fnName: o } = fq(r);- t[n] = a ? dq({+ let { fnKey: n, fnName: o } = dq(r);+ t[n] = a ? uq({memoDeps: a,fn: i,fnName: o,@@ -58918,15 +58918,15 @@ function pq(e, t, n) {}) : i;}}-function mq(e, t, n, r) {+function pq(e, t, n, r) {for (let [i, { fn: a, memoDeps: o }] of Object.entries(r)) {- let { fnKey: r, fnName: s } = fq(i);+ let { fnKey: r, fnName: s } = dq(i);if (o) {let i = `_memo_${r}`;t[r] = function(...t) {if (!this[i]) {let t = this;- this[i] = dq({+ this[i] = uq({memoDeps: (e) => o(t, e),fn: (...e) => a(t, ...e),fnName: s,@@ -58942,17 +58942,17 @@ function mq(e, t, n, r) {};}}-function hq(e, t, n, ...r) {+function mq(e, t, n, ...r) {return e[t]?.(...r) ?? n(e, ...r);}// node_modules/@tanstack/table-core/dist/core/cells/coreCellsFeature.utils.js-function Zxe(e) {+function Qxe(e) {return e.row.getValue(e.column.id);}-function Qxe(e) {+function $xe(e) {return e.getValue() ?? e.table.options.renderFallbackValue;}-function $xe(e) {+function eSe(e) {return {table: e.table,column: e.column,@@ -58963,18 +58963,18 @@ function $xe(e) {};}// node_modules/@tanstack/table-core/dist/core/cells/coreCellsFeature.js-var eSe = { assignCellPrototype: (e, t) => {- mq("coreCellsFeature", e, t, {- cell_getValue: { fn: (e) => Zxe(e) },- cell_renderValue: { fn: (e) => Qxe(e) },+var tSe = { assignCellPrototype: (e, t) => {+ pq("coreCellsFeature", e, t, {+ cell_getValue: { fn: (e) => Qxe(e) },+ cell_renderValue: { fn: (e) => $xe(e) },cell_getContext: {- fn: (e) => $xe(e),+ fn: (e) => eSe(e),memoDeps: (e) => [e]}});} };// node_modules/@tanstack/table-core/dist/core/columns/constructColumn.js-function tSe(e) {+function nSe(e) {if (!e._columnPrototype) {e._columnPrototype = { table: e };let t = Object.values(e._features);@@ -58982,7 +58982,7 @@ function tSe(e) {}return e._columnPrototype;}-function nSe(e, t, n, r) {+function rSe(e, t, n, r) {let i = {...e.getDefaultColumnDef(),...t@@ -59002,53 +59002,53 @@ function nSe(e, t, n, r) {} else c = (e) => e[i.accessorKey];}if (!s) throw Error();- let l = tSe(e), u = Object.create(l);+ let l = nSe(e), u = Object.create(l);u.accessorFn = c, u.columnDef = i, u.columns = [], u.depth = n, u.id = `${String(s)}`, u.parent = r;let d = e._columnInstanceInitFns;for (let e = 0; e < d.length; e++) d[e](u);return u;}// node_modules/@tanstack/table-core/dist/core/featureStubs.js-function gq(e) {+function hq(e) {return e.getIsVisible?.() ?? !0;}-function rSe(e) {+function iSe(e) {return e.getVisibleLeafColumns?.() ?? e.getAllLeafColumns();}-function _q(e, t) {+function gq(e, t) {let n = e, r = t;return n.getOrderColumnsFn?.()(r) ?? n._orderGroupedColumns?.(r) ?? t;}-function vq(e, t, n, r) {+function _q(e, t, n, r) {return e._orderByColumnPinning?.(t, n, r) ?? t;}-function yq(e, t) {+function vq(e, t) {return e._expandRows?.(t) ?? t;}-function iSe(e) {+function aSe(e) {e.autoResetExpanded?.();}-function bq(e) {+function yq(e) {e.autoResetPageIndex?.();}-function aSe(e) {+function oSe(e) {e.autoResetSorting?.();}-function oSe(e) {+function sSe(e) {e.autoResetCellSelection?.();}// node_modules/@tanstack/table-core/dist/core/columns/coreColumnsFeature.utils.js-function sSe(e) {+function cSe(e) {return [e, ...e.columns.flatMap((e) => e.getFlatColumns())];}-function cSe(e) {+function lSe(e) {if (e.columns.length) {let t = e.columns.flatMap((e) => e.getLeafColumns());- return _q(e.table, t);+ return gq(e.table, t);}return [e];}-function lSe(e) {+function uSe(e) {return {header: (e) => {let t = e.header.column.columnDef;@@ -59059,53 +59059,53 @@ function lSe(e) {...e.options.defaultColumn};}-function xq(e, t, n, r = 0) {+function bq(e, t, n, r = 0) {let i = Array(t.length);for (let a = 0; a < t.length; a++) {if (!(a in t)) continue;- let o = t[a], s = nSe(e, o, r, n), c = o;- s.columns = c.columns ? xq(e, c.columns, s, r + 1) : [], i[a] = s;+ let o = t[a], s = rSe(e, o, r, n), c = o;+ s.columns = c.columns ? bq(e, c.columns, s, r + 1) : [], i[a] = s;}return i;}-function uSe(e) {- return xq(e, e.options.columns);-}function dSe(e) {- return e.getAllColumns().flatMap((e) => e.getFlatColumns());+ return bq(e, e.options.columns);}function fSe(e) {- let t = rq(), n = e.getAllFlatColumns();+ return e.getAllColumns().flatMap((e) => e.getFlatColumns());+}+function pSe(e) {+ let t = nq(), n = e.getAllFlatColumns();for (let e = 0; e < n.length; e++) {let r = n[e];t[r.id] = r;}return t;}-function pSe(e) {- return _q(e, e.getAllColumns().flatMap((e) => e.getLeafColumns()));-}function mSe(e) {- let t = rq(), n = e.getAllLeafColumns();+ return gq(e, e.getAllColumns().flatMap((e) => e.getLeafColumns()));+}+function hSe(e) {+ let t = nq(), n = e.getAllLeafColumns();for (let e = 0; e < n.length; e++) {let r = n[e];t[r.id] = r;}return t;}-function hSe(e, t) {+function gSe(e, t) {return e.getAllFlatColumnsById()[t];}// node_modules/@tanstack/table-core/dist/core/columns/coreColumnsFeature.js-var gSe = {+var _Se = {assignColumnPrototype: (e, t) => {- mq("coreColumnsFeature", e, t, {+ pq("coreColumnsFeature", e, t, {column_getFlatColumns: {- fn: (e) => sSe(e),+ fn: (e) => cSe(e),memoDeps: (e) => [e.table.options.columns]},column_getLeafColumns: {- fn: (e) => cSe(e),+ fn: (e) => lSe(e),memoDeps: (e) => [e.table.atoms.columnOrder?.get(),e.table.atoms.grouping?.get(),@@ -59116,25 +59116,25 @@ var gSe = {});},constructTableAPIs: (e) => {- pq("coreColumnsFeature", e, {+ fq("coreColumnsFeature", e, {table_getDefaultColumnDef: {- fn: () => lSe(e),+ fn: () => uSe(e),memoDeps: () => [e.options.defaultColumn]},table_getAllColumns: {- fn: () => uSe(e),+ fn: () => dSe(e),memoDeps: () => [e.options.columns]},table_getAllFlatColumns: {- fn: () => dSe(e),+ fn: () => fSe(e),memoDeps: () => [e.options.columns]},table_getAllFlatColumnsById: {- fn: () => fSe(e),+ fn: () => pSe(e),memoDeps: () => [e.options.columns]},table_getAllLeafColumns: {- fn: () => pSe(e),+ fn: () => mSe(e),memoDeps: () => [e.atoms.columnOrder?.get(),e.atoms.grouping?.get(),@@ -59143,15 +59143,15 @@ var gSe = {]},table_getAllLeafColumnsById: {- fn: () => mSe(e),+ fn: () => hSe(e),memoDeps: () => [e.getAllLeafColumns()]},- table_getColumn: { fn: (t) => hSe(e, t) }+ table_getColumn: { fn: (t) => gSe(e, t) }});}};// node_modules/@tanstack/table-core/dist/core/headers/constructHeader.js-function _Se(e) {+function vSe(e) {if (!e._headerPrototype) {e._headerPrototype = { table: e };let t = Object.values(e._features);@@ -59159,38 +59159,38 @@ function _Se(e) {}return e._headerPrototype;}-function Sq(e, t, n) {- let r = _Se(e), i = Object.create(r);+function xq(e, t, n) {+ let r = vSe(e), i = Object.create(r);i.colSpan = 0, i.column = t, i.depth = n.depth, i.headerGroup = null, i.id = n.id ?? t.id, i.index = n.index, i.isPlaceholder = !!n.isPlaceholder, i.placeholderId = n.placeholderId, i.rowSpan = 0, i.subHeaders = [];let a = e._headerInstanceInitFns;for (let e = 0; e < a.length; e++) a[e](i);return i;}// node_modules/@tanstack/table-core/dist/core/headers/buildHeaderGroups.js-function Cq(e, t = 1) {+function Sq(e, t = 1) {let n = t;for (let r = 0; r < e.length; r++) {let i = e[r];- gq(i) && i.columns.length && (n = Math.max(n, Cq(i.columns, t + 1)));+ hq(i) && i.columns.length && (n = Math.max(n, Sq(i.columns, t + 1)));}return n;}-function vSe(e, t) {+function ySe(e, t) {return e ? `${e}_${t}` : String(t);}-function ySe(e, t, n, r) {+function bSe(e, t, n, r) {let i = e ?? "";return t && (i = i ? `${i}_${t}` : String(t)), n && (i = i ? `${i}_${n}` : n), r && (i = i ? `${i}_${r}` : r), i;}-function bSe(e, t) {+function xSe(e, t) {let n = 0;for (let r = 0; r < e.length; r++) e[r].column === t && n++;return n;}-function wq(e, t, n, r, i, a) {+function Cq(e, t, n, r, i, a) {let o = {depth: t,- id: vSe(r, t),+ id: ySe(r, t),headers: []}, s = [];for (let i = 0; i < e.length; i++) {@@ -59198,10 +59198,10 @@ function wq(e, t, n, r, i, a) {let a = e[i], c = s[s.length - 1], l = a.column.depth === o.depth, u, d = !1;if (l && a.column.parent ? u = a.column.parent : (u = a.column, d = !0), c && c.column === u) c.subHeaders.push(a);else {- let e = Sq(n, u, {- id: ySe(r, t, u.id, a.id),+ let e = xq(n, u, {+ id: bSe(r, t, u.id, a.id),isPlaceholder: d,- placeholderId: d ? String(bSe(s, u)) : void 0,+ placeholderId: d ? String(xSe(s, u)) : void 0,depth: t,index: s.length});@@ -59210,18 +59210,18 @@ function wq(e, t, n, r, i, a) {o.headers.push(a), a.headerGroup = o;}for (let e = 0; e < a.length; e++) a[e](o);- i.push(o), t > 0 && wq(s, t - 1, n, r, i, a);+ i.push(o), t > 0 && Cq(s, t - 1, n, r, i, a);}-function Tq(e) {+function wq(e) {for (let t = 0; t < e.length; t++) {let n = e[t];- if (!gq(n.column)) continue;+ if (!hq(n.column)) continue;let r = 0;if (n.subHeaders.length) {- Tq(n.subHeaders);+ wq(n.subHeaders);for (let e = 0; e < n.subHeaders.length; e++) {let t = n.subHeaders[e];- gq(t.column) && (r += t.colSpan);+ hq(t.column) && (r += t.colSpan);}} else r = 1;if (n.colSpan = r, n.isPlaceholder && n.subHeaders.length === 1 && n.subHeaders[0].column === n.column) {@@ -59231,37 +59231,37 @@ function Tq(e) {} else n.rowSpan = 1;}}-function xSe(e, t, n, r) {- let i = Cq(e), a = [], o = n._headerGroupInstanceInitFns, s = Array(t.length);- for (let e = 0; e < t.length; e++) e in t && (s[e] = Sq(n, t[e], {+function SSe(e, t, n, r) {+ let i = Sq(e), a = [], o = n._headerGroupInstanceInitFns, s = Array(t.length);+ for (let e = 0; e < t.length; e++) e in t && (s[e] = xq(n, t[e], {depth: i,index: e}));- return wq(s, i - 1, n, r, a, o), a.reverse(), Tq(a[0]?.headers ?? []), a;+ return Cq(s, i - 1, n, r, a, o), a.reverse(), wq(a[0]?.headers ?? []), a;}// node_modules/@tanstack/table-core/dist/core/headers/coreHeadersFeature.utils.js-function Eq(e, t) {- for (let n = 0; n < e.subHeaders.length; n++) Eq(e.subHeaders[n], t);+function Tq(e, t) {+ for (let n = 0; n < e.subHeaders.length; n++) Tq(e.subHeaders[n], t);t.push(e);}-function SSe(e) {+function CSe(e) {let t = [];- return Eq(e, t), t;+ return Tq(e, t), t;}-function CSe(e) {+function wSe(e) {return {column: e.column,header: e,table: e.column.table};}-function wSe(e) {- return xSe(e.getAllColumns(), vq(e, rSe(e), (e) => e.id), e);-}function TSe(e) {- return [...e.getHeaderGroups()].reverse();+ return SSe(e.getAllColumns(), _q(e, iSe(e), (e) => e.id), e);}function ESe(e) {+ return [...e.getHeaderGroups()].reverse();+}+function DSe(e) {let t = e.getHeaderGroups(), n = [];for (let e = 0; e < t.length; e++) {let r = t[e].headers;@@ -59269,7 +59269,7 @@ function ESe(e) {}return n;}-function DSe(e) {+function OSe(e) {let t = e.getHeaderGroups()[0]?.headers ?? [], n = [];for (let e = 0; e < t.length; e++) {let r = t[e].getLeafHeaders();@@ -59278,23 +59278,23 @@ function DSe(e) {return n;}// node_modules/@tanstack/table-core/dist/core/headers/coreHeadersFeature.js-var OSe = {+var kSe = {assignHeaderPrototype: (e, t) => {- mq("coreHeadersFeature", e, t, {+ pq("coreHeadersFeature", e, t, {header_getLeafHeaders: {- fn: (e) => SSe(e),+ fn: (e) => CSe(e),memoDeps: (e) => [e.column.table.options.columns]},header_getContext: {- fn: (e) => CSe(e),+ fn: (e) => wSe(e),memoDeps: (e) => [e.column.table.options.columns]}});},constructTableAPIs: (e) => {- pq("coreHeadersFeature", e, {+ fq("coreHeadersFeature", e, {table_getHeaderGroups: {- fn: () => wSe(e),+ fn: () => TSe(e),memoDeps: () => [e.options.columns,e.atoms.columnOrder?.get(),@@ -59305,22 +59305,22 @@ var OSe = {]},table_getFooterGroups: {- fn: () => TSe(e),+ fn: () => ESe(e),memoDeps: () => [e.getHeaderGroups()]},table_getFlatHeaders: {- fn: () => ESe(e),+ fn: () => DSe(e),memoDeps: () => [e.getHeaderGroups()]},table_getLeafHeaders: {- fn: () => DSe(e),+ fn: () => OSe(e),memoDeps: () => [e.getHeaderGroups()]}});}};// node_modules/@tanstack/table-core/dist/core/rows/constructRow.js-function kSe(e) {+function ASe(e) {if (!e._rowPrototype) {e._rowPrototype = { table: e };let t = Object.values(e._features);@@ -59328,98 +59328,98 @@ function kSe(e) {}return e._rowPrototype;}-var ASe = (e, t, n, r, i, a, o) => {- let s = kSe(e), c = Object.create(s);- c._displayIndexCache = -1, c._uniqueValuesCache = rq(), c._valuesCache = rq(), c.depth = i, c.id = t, c.index = r, c.original = n, c.parentId = o, c.subRows = a ?? [];+var jSe = (e, t, n, r, i, a, o) => {+ let s = ASe(e), c = Object.create(s);+ c._displayIndexCache = -1, c._uniqueValuesCache = nq(), c._valuesCache = nq(), c.depth = i, c.id = t, c.index = r, c.original = n, c.parentId = o, c.subRows = a ?? [];let l = e._rowInstanceInitFns;for (let e = 0; e < l.length; e++) l[e](c);return c;};// node_modules/@tanstack/table-core/dist/core/row-models/createCoreRowModel.js-function jSe() {- return (e) => dq({+function MSe() {+ return (e) => uq({feature: "coreRowModelsFeature",table: e,fnName: "table.getCoreRowModel",memoDeps: () => [e.options.data],- fn: () => MSe(e, e.options.data),- onAfterUpdate: uq(() => {- iSe(e), bq(e), aSe(e), oSe(e);+ fn: () => NSe(e, e.options.data),+ onAfterUpdate: lq(() => {+ aSe(e), yq(e), oSe(e), sSe(e);})});}-function Dq(e, t, n, r = 0, i) {+function Eq(e, t, n, r = 0, i) {let a = [];for (let o = 0; o < n.length; o++) {- let s = n[o], c = ASe(e, e.getRowId(s, o, i), s, o, r, void 0, i?.id);- t.flatRows.push(c), t.rowsById[c.id] = c, a.push(c), e.options.getSubRows && (c.originalSubRows = e.options.getSubRows(s, o), c.originalSubRows?.length && (c.subRows = Dq(e, t, c.originalSubRows, r + 1, c)));+ let s = n[o], c = jSe(e, e.getRowId(s, o, i), s, o, r, void 0, i?.id);+ t.flatRows.push(c), t.rowsById[c.id] = c, a.push(c), e.options.getSubRows && (c.originalSubRows = e.options.getSubRows(s, o), c.originalSubRows?.length && (c.subRows = Eq(e, t, c.originalSubRows, r + 1, c)));}return a;}-function MSe(e, t) {+function NSe(e, t) {let n = {rows: [],flatRows: [],- rowsById: rq()+ rowsById: nq()};- return n.rows = Dq(e, n, t), n;+ return n.rows = Eq(e, n, t), n;}// node_modules/@tanstack/table-core/dist/core/row-models/coreRowModelsFeature.utils.js-function NSe(e) {- return e._rowModels.coreRowModel || (e._rowModels.coreRowModel = e.options.features.coreRowModel?.(e) ?? jSe()(e)), e._rowModels.coreRowModel();-}function PSe(e) {- return e.getCoreRowModel();+ return e._rowModels.coreRowModel || (e._rowModels.coreRowModel = e.options.features.coreRowModel?.(e) ?? MSe()(e)), e._rowModels.coreRowModel();}function FSe(e) {- return e._rowModels.filteredRowModel || (e._rowModels.filteredRowModel = e.options.features.filteredRowModel?.(e)), e.options.manualFiltering || !e._rowModels.filteredRowModel ? e.getPreFilteredRowModel() : e._rowModels.filteredRowModel();+ return e.getCoreRowModel();}function ISe(e) {- return e.getFilteredRowModel();+ return e._rowModels.filteredRowModel || (e._rowModels.filteredRowModel = e.options.features.filteredRowModel?.(e)), e.options.manualFiltering || !e._rowModels.filteredRowModel ? e.getPreFilteredRowModel() : e._rowModels.filteredRowModel();}function LSe(e) {- return e._rowModels.groupedRowModel || (e._rowModels.groupedRowModel = e.options.features.groupedRowModel?.(e)), e.options.manualGrouping || !e._rowModels.groupedRowModel ? e.getPreGroupedRowModel() : e._rowModels.groupedRowModel();+ return e.getFilteredRowModel();}function RSe(e) {- return e.getGroupedRowModel();+ return e._rowModels.groupedRowModel || (e._rowModels.groupedRowModel = e.options.features.groupedRowModel?.(e)), e.options.manualGrouping || !e._rowModels.groupedRowModel ? e.getPreGroupedRowModel() : e._rowModels.groupedRowModel();}function zSe(e) {- return e._rowModels.sortedRowModel || (e._rowModels.sortedRowModel = e.options.features.sortedRowModel?.(e)), e.options.manualSorting || !e._rowModels.sortedRowModel ? e.getPreSortedRowModel() : e._rowModels.sortedRowModel();+ return e.getGroupedRowModel();}function BSe(e) {- return e.getSortedRowModel();+ return e._rowModels.sortedRowModel || (e._rowModels.sortedRowModel = e.options.features.sortedRowModel?.(e)), e.options.manualSorting || !e._rowModels.sortedRowModel ? e.getPreSortedRowModel() : e._rowModels.sortedRowModel();}function VSe(e) {- return e._rowModels.expandedRowModel || (e._rowModels.expandedRowModel = e.options.features.expandedRowModel?.(e)), e.options.manualExpanding || !e._rowModels.expandedRowModel ? e.getPreExpandedRowModel() : e._rowModels.expandedRowModel();+ return e.getSortedRowModel();}function HSe(e) {- return e.getExpandedRowModel();+ return e._rowModels.expandedRowModel || (e._rowModels.expandedRowModel = e.options.features.expandedRowModel?.(e)), e.options.manualExpanding || !e._rowModels.expandedRowModel ? e.getPreExpandedRowModel() : e._rowModels.expandedRowModel();}function USe(e) {- return e._rowModels.paginatedRowModel || (e._rowModels.paginatedRowModel = e.options.features.paginatedRowModel?.(e)), e.options.manualPagination || !e._rowModels.paginatedRowModel ? e.getPrePaginatedRowModel() : e._rowModels.paginatedRowModel();+ return e.getExpandedRowModel();}function WSe(e) {+ return e._rowModels.paginatedRowModel || (e._rowModels.paginatedRowModel = e.options.features.paginatedRowModel?.(e)), e.options.manualPagination || !e._rowModels.paginatedRowModel ? e.getPrePaginatedRowModel() : e._rowModels.paginatedRowModel();+}+function GSe(e) {return e.getPaginatedRowModel();}// node_modules/@tanstack/table-core/dist/core/row-models/coreRowModelsFeature.js-var GSe = { constructTableAPIs: (e) => {- pq("coreRowModelsFeature", e, {- table_getCoreRowModel: { fn: () => NSe(e) },- table_getPreFilteredRowModel: { fn: () => PSe(e) },- table_getFilteredRowModel: { fn: () => FSe(e) },- table_getPreGroupedRowModel: { fn: () => ISe(e) },- table_getGroupedRowModel: { fn: () => LSe(e) },- table_getPreSortedRowModel: { fn: () => RSe(e) },- table_getSortedRowModel: { fn: () => zSe(e) },- table_getPreExpandedRowModel: { fn: () => BSe(e) },- table_getExpandedRowModel: { fn: () => VSe(e) },- table_getPrePaginatedRowModel: { fn: () => HSe(e) },- table_getPaginatedRowModel: { fn: () => USe(e) },- table_getRowModel: { fn: () => WSe(e) }+var KSe = { constructTableAPIs: (e) => {+ fq("coreRowModelsFeature", e, {+ table_getCoreRowModel: { fn: () => PSe(e) },+ table_getPreFilteredRowModel: { fn: () => FSe(e) },+ table_getFilteredRowModel: { fn: () => ISe(e) },+ table_getPreGroupedRowModel: { fn: () => LSe(e) },+ table_getGroupedRowModel: { fn: () => RSe(e) },+ table_getPreSortedRowModel: { fn: () => zSe(e) },+ table_getSortedRowModel: { fn: () => BSe(e) },+ table_getPreExpandedRowModel: { fn: () => VSe(e) },+ table_getExpandedRowModel: { fn: () => HSe(e) },+ table_getPrePaginatedRowModel: { fn: () => USe(e) },+ table_getPaginatedRowModel: { fn: () => WSe(e) },+ table_getRowModel: { fn: () => GSe(e) }});} };// node_modules/@tanstack/table-core/dist/core/cells/constructCell.js-function KSe(e) {+function qSe(e) {if (!e._cellPrototype) {e._cellPrototype = { table: e };let t = Object.values(e._features);@@ -59427,48 +59427,48 @@ function KSe(e) {}return e._cellPrototype;}-function qSe(e, t, n) {- let r = KSe(n), i = Object.create(r);+function JSe(e, t, n) {+ let r = qSe(n), i = Object.create(r);i.column = e, i.id = `${t.id}_${e.id}`, i.row = t;let a = n._cellInstanceInitFns;for (let e = 0; e < a.length; e++) a[e](i);return i;}// node_modules/@tanstack/table-core/dist/core/rows/coreRowsFeature.utils.js-function JSe(e) {+function YSe(e) {let t = e.table.getRowsInDisplayOrder(), n = e._displayIndexCache;return t[n] === e ? n : -1;}-function YSe(e) {- let t = e.getPrePaginatedRowModel(), n = e.options.paginateExpandedRows === !1 ? yq(e, t).rows : t.rows;+function XSe(e) {+ let t = e.getPrePaginatedRowModel(), n = e.options.paginateExpandedRows === !1 ? vq(e, t).rows : t.rows;for (let e = 0; e < n.length; e++) n[e]._displayIndexCache = e;return n;}-function XSe(e, t) {- if (iq(e._valuesCache, t)) return e._valuesCache[t];+function ZSe(e, t) {+ if (rq(e._valuesCache, t)) return e._valuesCache[t];let n = e.table.getColumn(t);if (n?.accessorFn) return e._valuesCache[t] = n.accessorFn(e.original, e.index), e._valuesCache[t];}-function ZSe(e, t) {- if (iq(e._uniqueValuesCache, t)) return e._uniqueValuesCache[t];+function QSe(e, t) {+ if (rq(e._uniqueValuesCache, t)) return e._uniqueValuesCache[t];let n = e.table.getColumn(t);if (n?.accessorFn) return n.columnDef.getUniqueValues ? (e._uniqueValuesCache[t] = n.columnDef.getUniqueValues(e.original, e.index), e._uniqueValuesCache[t]) : (e._uniqueValuesCache[t] = [e.getValue(t)], e._uniqueValuesCache[t]);}-function QSe(e, t) {+function $Se(e, t) {return e.getValue(t) ?? e.table.options.renderFallbackValue;}-function $Se(e) {- return Yxe(e.subRows, (e) => e.subRows);-}function eCe(e) {+ return Xxe(e.subRows, (e) => e.subRows);+}+function tCe(e) {let t = e.getCoreRowModel().flatRows, n = 0;for (let e = 0; e < t.length; e++) n = Math.max(n, t[e].depth);return n;}-function tCe(e) {+function nCe(e) {if (e.parentId) return e.table.getCoreRowModel().rowsById[e.parentId] ?? e.table.getRow(e.parentId, !0);}-function nCe(e) {+function rCe(e) {let t = [], n = e;for (;;) {let e = n.getParentRow();@@ -59477,77 +59477,77 @@ function nCe(e) {}return t.reverse();}-function rCe(e) {+function iCe(e) {let t = e.table.getAllLeafColumns(), n = e._cellsCache;n ||= e._cellsCache = /* @__PURE__ */ new WeakMap();let r = Array(t.length);for (let i = 0; i < t.length; i++) {let a = t[i], o = n.get(a);- o || (o = qSe(a, e, e.table), n.set(a, o)), r[i] = o;+ o || (o = JSe(a, e, e.table), n.set(a, o)), r[i] = o;}return r;}-function iCe(e) {- let t = rq(), n = e.getAllCells();+function aCe(e) {+ let t = nq(), n = e.getAllCells();for (let e = 0; e < n.length; e++) {let r = n[e];t[r.column.id] = r;}return t;}-function aCe(e, t, n, r) {+function oCe(e, t, n, r) {return t.options.getRowId?.(e, n, r) ?? (r ? `${r.id}.${n}` : String(n));}-function oCe(e, t, n) {+function sCe(e, t, n) {let r = (n ? e.getPrePaginatedRowModel() : e.getRowModel()).rowsById[t];if (!r && (r = e.getCoreRowModel().rowsById[t], !r)) throw Error();return r;}// node_modules/@tanstack/table-core/dist/core/rows/coreRowsFeature.js-var sCe = {+var cCe = {assignRowPrototype: (e, t) => {- mq("coreRowsFeature", e, t, {- row_getDisplayIndex: { fn: (e) => JSe(e) },+ pq("coreRowsFeature", e, t, {+ row_getDisplayIndex: { fn: (e) => YSe(e) },row_getAllCellsByColumnId: {- fn: (e) => iCe(e),+ fn: (e) => aCe(e),memoDeps: (e) => [e.getAllCells()]},row_getAllCells: {- fn: (e) => rCe(e),+ fn: (e) => iCe(e),memoDeps: (e) => [e.table.getAllLeafColumns()]},row_getLeafRows: {- fn: (e) => $Se(e),+ fn: (e) => eCe(e),memoDeps: (e) => [e.subRows]},- row_getParentRow: { fn: (e) => tCe(e) },- row_getParentRows: { fn: (e) => nCe(e) },- row_getUniqueValues: { fn: (e, t) => ZSe(e, t) },- row_getValue: { fn: (e, t) => XSe(e, t) },- row_renderValue: { fn: (e, t) => QSe(e, t) }+ row_getParentRow: { fn: (e) => nCe(e) },+ row_getParentRows: { fn: (e) => rCe(e) },+ row_getUniqueValues: { fn: (e, t) => QSe(e, t) },+ row_getValue: { fn: (e, t) => ZSe(e, t) },+ row_renderValue: { fn: (e, t) => $Se(e, t) }});},constructTableAPIs: (e) => {- pq("coreRowsFeature", e, {+ fq("coreRowsFeature", e, {table_getRowsInDisplayOrder: {- fn: () => YSe(e),+ fn: () => XSe(e),memoDeps: () => [e.getPrePaginatedRowModel().rows,e.options.paginateExpandedRows,e.options.paginateExpandedRows === !1 ? e.atoms.expanded?.get() : void 0]},- table_getRowId: { fn: (t, n, r) => aCe(t, e, n, r) },- table_getRow: { fn: (t, n) => oCe(e, t, n) },+ table_getRowId: { fn: (t, n, r) => oCe(t, e, n, r) },+ table_getRow: { fn: (t, n) => sCe(e, t, n) },table_getMaxSubRowDepth: {- fn: () => eCe(e),+ fn: () => tCe(e),memoDeps: () => [e.getCoreRowModel()]}});}};// node_modules/@tanstack/table-core/dist/core/table/coreTablesFeature.utils.js-function Oq(e, t, n = (e, t) => e === t) {+function Dq(e, t, n = (e, t) => e === t) {let r = t === void 0 ? e.options.state : t;e._reactivity.batch(() => {if (r) for (let t in r) {@@ -59558,13 +59558,13 @@ function Oq(e, t, n = (e, t) => e === t) {}});}-function kq(e, t, n = (e, t) => e === t) {+function Oq(e, t, n = (e, t) => e === t) {e._reactivity.batch(() => {- Oq(e, t, n), e._reactivity.commit?.();+ Dq(e, t, n), e._reactivity.commit?.();});}-function cCe(e) {- let t = tq(e.initialState);+function lCe(e) {+ let t = eq(e.initialState);e._reactivity.batch(() => {let n = Object.keys(t);for (let r = 0; r < n.length; r++) {@@ -59575,7 +59575,7 @@ function cCe(e) {let n = Object.values(e._features);for (let t = 0; t < n.length; t++) n[t].resetTableInstanceData?.(e);}-function lCe(e, t) {+function uCe(e, t) {let { features: n, atoms: r, initialState: i } = e.options;if (!e.options.mergeOptions) return {...e.options,@@ -59607,26 +59607,26 @@ function lCe(e, t) {}});}-function Aq(e, t, n) {- let r = lCe(e, eq(t, e.options));- e.optionsStore ? e.optionsStore.set(() => r) : e.options = r, n?.syncExternalState !== !1 && kq(e, r.state ?? null);+function kq(e, t, n) {+ let r = uCe(e, $K(t, e.options));+ e.optionsStore ? e.optionsStore.set(() => r) : e.options = r, n?.syncExternalState !== !1 && Oq(e, r.state ?? null);}// node_modules/@tanstack/table-core/dist/core/coreFeatures.js-var uCe = {- coreCellsFeature: eSe,- coreColumnsFeature: gSe,- coreHeadersFeature: OSe,- coreRowModelsFeature: GSe,- coreRowsFeature: sCe,+var dCe = {+ coreCellsFeature: tSe,+ coreColumnsFeature: _Se,+ coreHeadersFeature: kSe,+ coreRowModelsFeature: KSe,+ coreRowsFeature: cCe,coreTablesFeature: { constructTableAPIs: (e) => {- pq("coreTablesFeature", e, {- table_reset: { fn: () => cCe(e) },- table_setOptions: { fn: (t) => Aq(e, t) }+ fq("coreTablesFeature", e, {+ table_reset: { fn: () => lCe(e) },+ table_setOptions: { fn: (t) => kq(e, t) }});} }};// node_modules/@tanstack/table-core/dist/helpers/columnHelper.js-function jq() {+function Aq() {return {accessor: (e, t) => typeof e == "function" ? {...t,@@ -59641,21 +59641,21 @@ function jq() {};}// node_modules/@tanstack/table-core/dist/helpers/tableFeatures.js-function Mq(e) {+function jq(e) {return e;}// node_modules/@tanstack/table-core/dist/core/table/constructTable.js-function dCe(e, t = {}) {+function fCe(e, t = {}) {return Object.values(e).forEach((e) => {t = e.getInitialState?.(t) ?? t;- }), tq(t);+ }), eq(t);}-function fCe(e) {+function pCe(e) {let t = e.features.coreReactivityFeature, { aggregationFns: n, columnMeta: r, coreRowModel: i, expandedRowModel: a, facetedMinMaxValues: o, facetedRowModel: s, facetedUniqueValues: c, filterFns: l, filterMeta: u, filteredRowModel: d, groupedRowModel: f, paginatedRowModel: p, sortFns: m, sortedRowModel: h, tableMeta: g, ..._ } = e.features, v = {_cellInstanceInitFns: [],_columnInstanceInitFns: [],_features: {- ...uCe,+ ...dCe,..._},_headerGroupInstanceInitFns: [],@@ -59693,7 +59693,7 @@ function fCe(e) {set(e) {v.optionsStore.set(() => e);}- })) : v.options = b, v.initialState = dCe(v._features, v.options.initialState);+ })) : v.options = b, v.initialState = fCe(v._features, v.options.initialState);let x = Object.keys(v.initialState);for (let e = 0; e < x.length; e++) {let n = x[e];@@ -59701,14 +59701,14 @@ function fCe(e) {let e = v.options, t = e.atoms?.[n], r = t ? t.get() : v.baseAtoms[n].get();if (t) return r;let i = e.state;- if (i && iq(i, n)) {+ if (i && rq(i, n)) {let e = i[n];return e === void 0 ? v.initialState[n] : e;}return r;}, { debugName: `table/atoms/${n}` });}- Oq(v), v.store = Hxe(t.createReadonlyAtom(() => {+ Dq(v), v.store = Uxe(t.createReadonlyAtom(() => {let e = {};for (let t = 0; t < x.length; t++) {let n = x[t];@@ -59716,7 +59716,7 @@ function fCe(e) {}return e;}, {- compare: XK,+ compare: YK,debugName: "table/store"}));for (let e = 0; e < y.length; e++) {@@ -59726,107 +59726,107 @@ function fCe(e) {return v;}// node_modules/@tanstack/table-core/dist/features/column-visibility/columnVisibilityFeature.utils.js-function pCe() {- return rq();+function mCe() {+ return nq();}-function Nq(e, t) {- Fq(e) && Lq(e.table, (n) => {- let r = Object.assign(rq(), n), i = t ?? !hq(e, "getIsVisible", Pq), a = e.getLeafColumns();+function Mq(e, t) {+ Pq(e) && Iq(e.table, (n) => {+ let r = Object.assign(nq(), n), i = t ?? !mq(e, "getIsVisible", Nq), a = e.getLeafColumns();for (let e = 0; e < a.length; e++) {let t = a[e];- Fq(t) && (r[t.id] = i);+ Pq(t) && (r[t.id] = i);}return r;});}-function Pq(e) {+function Nq(e) {let t = e.table.atoms.columnVisibility?.get();if (!t) return !0;let n = e.columns;- return n.length ? n.some((e) => hq(e, "getIsVisible", Pq)) : (iq(t, e.id) ? t[e.id] : void 0) ?? !0;+ return n.length ? n.some((e) => mq(e, "getIsVisible", Nq)) : (rq(t, e.id) ? t[e.id] : void 0) ?? !0;}-function Fq(e) {+function Pq(e) {return (e.columnDef.enableHiding ?? !0) && (e.table.options.enableHiding ?? !0);}-function mCe(e) {+function hCe(e) {return (t) => {- Nq(e, t.target.checked);+ Mq(e, t.target.checked);};}-function hCe(e) {+function gCe(e) {let t = e.getAllCells(), n = [];for (let e = 0; e < t.length; e++) {let r = t[e];- hq(r.column, "getIsVisible", Pq) && n.push(r);+ mq(r.column, "getIsVisible", Nq) && n.push(r);}- return vq(e.table, n, (e) => e.column.id, () => hq(e, "getVisibleCellsByColumnId", Iq));+ return _q(e.table, n, (e) => e.column.id, () => mq(e, "getVisibleCellsByColumnId", Fq));}-function Iq(e) {- let t = rq(), n = e.getAllCells();+function Fq(e) {+ let t = nq(), n = e.getAllCells();for (let e = 0; e < n.length; e++) {let r = n[e];- hq(r.column, "getIsVisible", Pq) && (t[r.column.id] = r);+ mq(r.column, "getIsVisible", Nq) && (t[r.column.id] = r);}return t;}-function gCe(e) {- return e.getAllFlatColumns().filter((e) => hq(e, "getIsVisible", Pq));-}function _Ce(e) {- return e.getAllLeafColumns().filter((e) => hq(e, "getIsVisible", Pq));+ return e.getAllFlatColumns().filter((e) => mq(e, "getIsVisible", Nq));}-function Lq(e, t) {- lq(e, "columnVisibility", t);+function vCe(e) {+ return e.getAllLeafColumns().filter((e) => mq(e, "getIsVisible", Nq));+}+function Iq(e, t) {+ cq(e, "columnVisibility", t);}-function vCe(e, t) {- Lq(e, t ? rq() : Object.assign(rq(), tq(e.initialState.columnVisibility ?? {})));+function yCe(e, t) {+ Iq(e, t ? nq() : Object.assign(nq(), eq(e.initialState.columnVisibility ?? {})));}-function Rq(e, t) {- t ??= !zq(e);- let n = rq(), r = e.getAllLeafColumns();+function Lq(e, t) {+ t ??= !Rq(e);+ let n = nq(), r = e.getAllLeafColumns();for (let e = 0; e < r.length; e++) {let i = r[e];- n[i.id] = t || !Fq(i);+ n[i.id] = t || !Pq(i);}- Lq(e, n);-}-function zq(e) {- return !e.getAllLeafColumns().some((e) => !hq(e, "getIsVisible", Pq));+ Iq(e, n);}-function yCe(e) {- return e.getAllLeafColumns().some((e) => hq(e, "getIsVisible", Pq));+function Rq(e) {+ return !e.getAllLeafColumns().some((e) => !mq(e, "getIsVisible", Nq));}function bCe(e) {+ return e.getAllLeafColumns().some((e) => mq(e, "getIsVisible", Nq));+}+function xCe(e) {return (t) => {- Rq(e, t.target.checked);+ Lq(e, t.target.checked);};}// node_modules/@tanstack/table-core/dist/features/column-visibility/columnVisibilityFeature.js-var Bq = {+var zq = {getInitialState: (e) => ({- columnVisibility: pCe(),+ columnVisibility: mCe(),...e}),- getDefaultTableOptions: (e) => ({ onColumnVisibilityChange: aq("columnVisibility", e) }),+ getDefaultTableOptions: (e) => ({ onColumnVisibilityChange: iq("columnVisibility", e) }),assignColumnPrototype: (e, t) => {- mq("columnVisibilityFeature", e, t, {+ pq("columnVisibilityFeature", e, t, {column_getIsVisible: {- fn: (e) => Pq(e),+ fn: (e) => Nq(e),memoDeps: (e) => [t.options.columns,t.atoms.columnVisibility?.get(),e.columns]},- column_getCanHide: { fn: (e) => Fq(e) },- column_getToggleVisibilityHandler: { fn: (e) => mCe(e) },- column_toggleVisibility: { fn: (e, t) => Nq(e, t) }+ column_getCanHide: { fn: (e) => Pq(e) },+ column_getToggleVisibilityHandler: { fn: (e) => hCe(e) },+ column_toggleVisibility: { fn: (e, t) => Mq(e, t) }});},assignRowPrototype: (e, t) => {- mq("columnVisibilityFeature", e, t, {+ pq("columnVisibilityFeature", e, t, {row_getVisibleCells: {- fn: (e) => hCe(e),+ fn: (e) => gCe(e),memoDeps: (e) => [e.getAllCells(),t.atoms.columnPinning?.get(),@@ -59834,15 +59834,15 @@ var Bq = {]},row_getVisibleCellsByColumnId: {- fn: (e) => Iq(e),+ fn: (e) => Fq(e),memoDeps: (e) => [e.getAllCells(), t.atoms.columnVisibility?.get()]}});},constructTableAPIs: (e) => {- pq("columnVisibilityFeature", e, {+ fq("columnVisibilityFeature", e, {table_getVisibleFlatColumns: {- fn: () => gCe(e),+ fn: () => _Ce(e),memoDeps: () => [e.atoms.columnVisibility?.get(),e.atoms.columnOrder?.get(),@@ -59852,7 +59852,7 @@ var Bq = {]},table_getVisibleLeafColumns: {- fn: () => _Ce(e),+ fn: () => vCe(e),memoDeps: () => [e.atoms.columnVisibility?.get(),e.atoms.columnOrder?.get(),@@ -59861,51 +59861,51 @@ var Bq = {e.options.groupedColumnMode]},- table_setColumnVisibility: { fn: (t) => Lq(e, t) },- table_resetColumnVisibility: { fn: (t) => vCe(e, t) },- table_toggleAllColumnsVisible: { fn: (t) => Rq(e, t) },- table_getIsAllColumnsVisible: { fn: () => zq(e) },- table_getIsSomeColumnsVisible: { fn: () => yCe(e) },- table_getToggleAllColumnsVisibilityHandler: { fn: () => bCe(e) }+ table_setColumnVisibility: { fn: (t) => Iq(e, t) },+ table_resetColumnVisibility: { fn: (t) => yCe(e, t) },+ table_toggleAllColumnsVisible: { fn: (t) => Lq(e, t) },+ table_getIsAllColumnsVisible: { fn: () => Rq(e) },+ table_getIsSomeColumnsVisible: { fn: () => bCe(e) },+ table_getToggleAllColumnsVisibilityHandler: { fn: () => xCe(e) }});}-}, Vq = 0, Hq = 10;-function Uq() {+}, Bq = 0, Vq = 10;+function Hq() {return {- pageIndex: Vq,- pageSize: Hq+ pageIndex: Bq,+ pageSize: Vq};}-function xCe(e) {+function SCe(e) {if (e.options.autoResetAll ?? e.options.autoResetPageIndex ?? !e.options.manualPagination) {- if ((e.atoms.pagination?.get()?.pageIndex ?? Vq) === Vq) return;- Kq(e, !0);+ if ((e.atoms.pagination?.get()?.pageIndex ?? Bq) === Bq) return;+ Gq(e, !0);}}-function Wq(e, t) {- lq(e, "pagination", t);+function Uq(e, t) {+ cq(e, "pagination", t);}-function SCe(e, t) {- Wq(e, t ? Uq() : tq(e.initialState.pagination ?? Uq()));+function CCe(e, t) {+ Uq(e, t ? Hq() : eq(e.initialState.pagination ?? Hq()));}-function Gq(e, t) {- Wq(e, (n) => {- let r = eq(t, n.pageIndex), i = e.options.pageCount === void 0 || e.options.pageCount === -1 ? 2 ** 53 - 1 : e.options.pageCount - 1;+function Wq(e, t) {+ Uq(e, (n) => {+ let r = $K(t, n.pageIndex), i = e.options.pageCount === void 0 || e.options.pageCount === -1 ? 2 ** 53 - 1 : e.options.pageCount - 1;return r = Math.max(0, Math.min(r, i)), {...n,pageIndex: r};});}-function Kq(e, t) {- Gq(e, t ? Vq : e.initialState.pagination?.pageIndex ?? Vq);+function Gq(e, t) {+ Wq(e, t ? Bq : e.initialState.pagination?.pageIndex ?? Bq);}-function CCe(e, t) {- qq(e, t ? Hq : e.initialState.pagination?.pageSize ?? Hq);+function wCe(e, t) {+ Kq(e, t ? Vq : e.initialState.pagination?.pageSize ?? Vq);}-function qq(e, t) {- Wq(e, (e) => {- let n = Math.max(1, eq(t, e.pageSize)), r = e.pageSize === Infinity ? 0 : e.pageSize * e.pageIndex, i = n === Infinity ? 0 : Math.floor(r / n);+function Kq(e, t) {+ Uq(e, (e) => {+ let n = Math.max(1, $K(t, e.pageSize)), r = e.pageSize === Infinity ? 0 : e.pageSize * e.pageIndex, i = n === Infinity ? 0 : Math.floor(r / n);return {...e,pageIndex: i,@@ -59913,231 +59913,231 @@ function qq(e, t) {};});}-function wCe(e) {- let t = Jq(e), n = [];- return t && t > 0 && (n = [...Array(t)].fill(null).map((e, t) => t)), n;-}function TCe(e) {- return (e.atoms.pagination?.get()?.pageIndex ?? 0) > 0;+ let t = qq(e), n = [];+ return t && t > 0 && (n = [...Array(t)].fill(null).map((e, t) => t)), n;}function ECe(e) {- let t = e.atoms.pagination?.get()?.pageIndex ?? Vq, n = Jq(e);- return n === -1 || n !== 0 && t < n - 1;+ return (e.atoms.pagination?.get()?.pageIndex ?? 0) > 0;}function DCe(e) {- let t = e.atoms.pagination?.get()?.pageIndex ?? Vq, n = Jq(e);- return Number.isFinite(n) && n > 0 && t < n - 1;+ let t = e.atoms.pagination?.get()?.pageIndex ?? Bq, n = qq(e);+ return n === -1 || n !== 0 && t < n - 1;}function OCe(e) {- return Gq(e, (e) => e - 1);+ let t = e.atoms.pagination?.get()?.pageIndex ?? Bq, n = qq(e);+ return Number.isFinite(n) && n > 0 && t < n - 1;}function kCe(e) {- return Gq(e, (e) => e + 1);+ return Wq(e, (e) => e - 1);}function ACe(e) {- return Gq(e, 0);+ return Wq(e, (e) => e + 1);}function jCe(e) {- let t = Jq(e);- if (!(!Number.isFinite(t) || t <= 0)) return Gq(e, t - 1);+ return Wq(e, 0);}-function Jq(e) {+function MCe(e) {+ let t = qq(e);+ if (!(!Number.isFinite(t) || t <= 0)) return Wq(e, t - 1);+}+function qq(e) {let t = e.options.pageCount;if (t != null) return t;- let n = Yq(e), r = e.atoms.pagination?.get()?.pageSize ?? Hq;+ let n = Jq(e), r = e.atoms.pagination?.get()?.pageSize ?? Vq;return r === Infinity && Number.isFinite(n) && n > 0 ? 1 : Math.ceil(n / r);}-function Yq(e) {+function Jq(e) {return e.options.rowCount ?? e.getPrePaginatedRowModel().rows.length;}// node_modules/@tanstack/table-core/dist/features/row-pagination/rowPaginationFeature.js-var Xq = {+var Yq = {getInitialState: (e) => ({...e,pagination: {- ...Uq(),+ ...Hq(),...e.pagination}}),- getDefaultTableOptions: (e) => ({ onPaginationChange: aq("pagination", e) }),+ getDefaultTableOptions: (e) => ({ onPaginationChange: iq("pagination", e) }),constructTableAPIs: (e) => {- pq("rowPaginationFeature", e, {- table_autoResetPageIndex: { fn: () => xCe(e) },- table_setPagination: { fn: (t) => Wq(e, t) },- table_resetPagination: { fn: (t) => SCe(e, t) },- table_setPageIndex: { fn: (t) => Gq(e, t) },- table_resetPageIndex: { fn: (t) => Kq(e, t) },- table_setPageSize: { fn: (t) => qq(e, t) },- table_getPageCount: { fn: () => Jq(e) },- table_resetPageSize: { fn: (t) => CCe(e, t) },- table_getPageOptions: { fn: () => wCe(e) },- table_getCanPreviousPage: { fn: () => TCe(e) },- table_getCanNextPage: { fn: () => ECe(e) },- table_getCanLastPage: { fn: () => DCe(e) },- table_previousPage: { fn: () => OCe(e) },- table_nextPage: { fn: () => kCe(e) },- table_firstPage: { fn: () => ACe(e) },- table_lastPage: { fn: () => jCe(e) },- table_getRowCount: { fn: () => Yq(e) }+ fq("rowPaginationFeature", e, {+ table_autoResetPageIndex: { fn: () => SCe(e) },+ table_setPagination: { fn: (t) => Uq(e, t) },+ table_resetPagination: { fn: (t) => CCe(e, t) },+ table_setPageIndex: { fn: (t) => Wq(e, t) },+ table_resetPageIndex: { fn: (t) => Gq(e, t) },+ table_setPageSize: { fn: (t) => Kq(e, t) },+ table_getPageCount: { fn: () => qq(e) },+ table_resetPageSize: { fn: (t) => wCe(e, t) },+ table_getPageOptions: { fn: () => TCe(e) },+ table_getCanPreviousPage: { fn: () => ECe(e) },+ table_getCanNextPage: { fn: () => DCe(e) },+ table_getCanLastPage: { fn: () => OCe(e) },+ table_previousPage: { fn: () => kCe(e) },+ table_nextPage: { fn: () => ACe(e) },+ table_firstPage: { fn: () => jCe(e) },+ table_lastPage: { fn: () => MCe(e) },+ table_getRowCount: { fn: () => Jq(e) }});}};// node_modules/@tanstack/table-core/dist/features/row-selection/rowSelectionFeature.utils.js-function MCe() {- return rq();+function NCe() {+ return nq();}-function Zq(e, t) {+function Xq(e, t) {e.options.onRowSelectionChange?.(t);}-function NCe(e, t) {- e._lastSelectedRowId = null, Zq(e, t ? rq() : Object.assign(rq(), tq(e.initialState.rowSelection ?? {})));+function PCe(e, t) {+ e._lastSelectedRowId = null, Xq(e, t ? nq() : Object.assign(nq(), eq(e.initialState.rowSelection ?? {})));}-function Qq(e, t, n) {- e._lastSelectedRowId = null, Zq(e, (r) => {- if (t = t === void 0 ? !hq(e, "getIsAllRowsSelected", tJ) : t, n?.deselectAll && !t) return rq();- let i = Object.assign(rq(), r), a = e.getPreGroupedRowModel().flatRows;+function Zq(e, t, n) {+ e._lastSelectedRowId = null, Xq(e, (r) => {+ if (t = t === void 0 ? !mq(e, "getIsAllRowsSelected", eJ) : t, n?.deselectAll && !t) return nq();+ let i = Object.assign(nq(), r), a = e.getPreGroupedRowModel().flatRows;if (t) {let e = /* @__PURE__ */ new Map();a.forEach((t) => {- dJ(t, e) && (i[t.id] = !0);+ uJ(t, e) && (i[t.id] = !0);});} else a.forEach((e) => {- sJ(e) && delete i[e.id];+ oJ(e) && delete i[e.id];});return i;});}-function $q(e, t, n) {- e._lastSelectedRowId = null, Zq(e, (r) => {- let i = t === void 0 ? !hq(e, "getIsAllPageRowsSelected", nJ) : t;- if (n?.deselectAll && !i) return rq();- let a = Object.assign(rq(), r);+function Qq(e, t, n) {+ e._lastSelectedRowId = null, Xq(e, (r) => {+ let i = t === void 0 ? !mq(e, "getIsAllPageRowsSelected", tJ) : t;+ if (n?.deselectAll && !i) return nq();+ let a = Object.assign(nq(), r);return e.getRowModel().rows.forEach((t) => {- uJ(a, t.id, i, !0, e, !0);+ lJ(a, t.id, i, !0, e, !0);}), a;});}-function PCe(e) {+function FCe(e) {return e.getCoreRowModel();}-function FCe(e) {+function ICe(e) {let t = e.getCoreRowModel();- return hq(e, "getIsSomeRowsSelected", rJ) ? mJ(t, e) : {+ return mq(e, "getIsSomeRowsSelected", nJ) ? pJ(t, e) : {rows: [],flatRows: [],- rowsById: rq()+ rowsById: nq()};}-function ICe(e) {+function LCe(e) {let t = e.getFilteredRowModel();- return hq(e, "getIsSomeRowsSelected", rJ) ? mJ(t, e) : {+ return mq(e, "getIsSomeRowsSelected", nJ) ? pJ(t, e) : {rows: [],flatRows: [],- rowsById: rq()+ rowsById: nq()};}-function LCe(e) {+function RCe(e) {let t = e.getSortedRowModel();- return hq(e, "getIsSomeRowsSelected", rJ) ? mJ(t, e) : {+ return mq(e, "getIsSomeRowsSelected", nJ) ? pJ(t, e) : {rows: [],flatRows: [],- rowsById: rq()+ rowsById: nq()};}-function eJ(e) {+function $q(e) {return Object.keys(e.atoms.rowSelection?.get() ?? {});}-function tJ(e) {+function eJ(e) {let t = e.getFilteredRowModel().flatRows, n = e.atoms.rowSelection?.get() ?? {}, r = !!(t.length && Object.keys(n).length);if (r) {let e = /* @__PURE__ */ new Map();- t.some((t) => !hJ(t, n) && dJ(t, e)) && (r = !1);+ t.some((t) => !mJ(t, n) && uJ(t, e)) && (r = !1);}return r;}-function nJ(e) {+function tJ(e) {let t = e.getPaginatedRowModel().flatRows, n = e.atoms.rowSelection?.get() ?? {}, r = /* @__PURE__ */ new Map(), i = !1;for (let e = 0; e < t.length; e++) {let a = t[e];- if (hJ(a, n)) !i && dJ(a, r) && (i = !0);- else if (dJ(a, r)) return !1;+ if (mJ(a, n)) !i && uJ(a, r) && (i = !0);+ else if (uJ(a, r)) return !1;}return i;}-function rJ(e) {- return hq(e, "getSelectedRowIds", eJ).length > 0;-}-function RCe(e) {- return e.getPaginatedRowModel().flatRows.filter((e) => sJ(e)).some((e) => aJ(e) || hq(e, "getIsSomeSelected", oJ));+function nJ(e) {+ return mq(e, "getSelectedRowIds", $q).length > 0;}function zCe(e) {+ return e.getPaginatedRowModel().flatRows.filter((e) => oJ(e)).some((e) => iJ(e) || mq(e, "getIsSomeSelected", aJ));+}+function BCe(e) {return (t) => {- Qq(e, t.target.checked);+ Zq(e, t.target.checked);};}-function BCe(e) {+function VCe(e) {return (t) => {- $q(e, t.target.checked);+ Qq(e, t.target.checked);};}-function iJ(e, t, n) {- let r = aJ(e);- Zq(e.table, (i) => {+function rJ(e, t, n) {+ let r = iJ(e);+ Xq(e.table, (i) => {t = t === void 0 ? !r : t;- let a = Object.assign(rq(), i);- return uJ(a, e.id, t, (n?.selectChildren ?? !0) && lJ(e), e.table), !t && n?.deselectParents && fJ(a, e), a;+ let a = Object.assign(nq(), i);+ return lJ(a, e.id, t, (n?.selectChildren ?? !0) && cJ(e), e.table), !t && n?.deselectParents && dJ(a, e), a;});}-function aJ(e) {- return hJ(e, e.table.atoms.rowSelection?.get() ?? {});+function iJ(e) {+ return mJ(e, e.table.atoms.rowSelection?.get() ?? {});}-function oJ(e) {- return gJ(e) === "some";+function aJ(e) {+ return hJ(e) === "some";}-function VCe(e) {- return gJ(e) === "all";+function HCe(e) {+ return hJ(e) === "all";}-function sJ(e) {+function oJ(e) {let t = e.table.options;return typeof t.enableRowSelection == "function" ? t.enableRowSelection(e) : t.enableRowSelection ?? !0;}-function cJ(e) {+function sJ(e) {let t = e.table.options;return typeof t.enableSubRowSelection == "function" ? t.enableSubRowSelection(e) : t.enableSubRowSelection ?? !0;}-function lJ(e) {+function cJ(e) {let t = e.table.options;return typeof t.enableMultiRowSelection == "function" ? t.enableMultiRowSelection(e) : t.enableMultiRowSelection ?? !0;}-function HCe(e, t) {- let n = sJ(e);+function UCe(e, t) {+ let n = oJ(e);return (r) => {if (!n) return;let i = r, a = e.table, o = i.target.checked, s = a._lastSelectedRowId;- a.options.enableRowRangeSelection !== !1 && s !== null && lJ(e) && (a.options.isRowRangeSelectionEvent?.(r) ?? !1) && UCe(e, s, o, t) || iJ(e, o, t), a._lastSelectedRowId = e.id;+ a.options.enableRowRangeSelection !== !1 && s !== null && cJ(e) && (a.options.isRowRangeSelectionEvent?.(r) ?? !1) && WCe(e, s, o, t) || rJ(e, o, t), a._lastSelectedRowId = e.id;};}-function UCe(e, t, n, r) {+function WCe(e, t, n, r) {let i = r?.selectChildren ?? !0, a = e.table, o = a.getRowsInDisplayOrder(), s = a.getPrePaginatedRowModel().rowsById[t] ?? a.getCoreRowModel().rowsById[t];if (!s) return !1;let c = s.getDisplayIndex(), l = e.getDisplayIndex(), u = o[c], d = o[l];- if (c < 0 || l < 0 || c >= o.length || l >= o.length || u?.id !== s.id || d?.id !== e.id || !lJ(s) || !lJ(e)) return !1;+ if (c < 0 || l < 0 || c >= o.length || l >= o.length || u?.id !== s.id || d?.id !== e.id || !cJ(s) || !cJ(e)) return !1;let f = Math.min(c, l), p = Math.max(c, l);- return Zq(a, (e) => {- let t = Object.assign(rq(), e);+ return Xq(a, (e) => {+ let t = Object.assign(nq(), e);for (let e = f; e <= p; e++) {let s = o[e];- sJ(s) && lJ(s) && (uJ(t, s.id, n, i, a), !n && r?.deselectParents && fJ(t, s));+ oJ(s) && cJ(s) && (lJ(t, s.id, n, i, a), !n && r?.deselectParents && dJ(t, s));}return t;}), !0;}-function uJ(e, t, n, r, i, a) {+function lJ(e, t, n, r, i, a) {let o = i.getRow(t, !0);- n ? (lJ(o) || Object.keys(e).forEach((t) => delete e[t]), sJ(o) && (e[t] = !0)) : (!a || sJ(o)) && delete e[t], r && o.subRows.length && cJ(o) && o.subRows.forEach((t) => uJ(e, t.id, n, r, i, a));+ n ? (cJ(o) || Object.keys(e).forEach((t) => delete e[t]), oJ(o) && (e[t] = !0)) : (!a || oJ(o)) && delete e[t], r && o.subRows.length && sJ(o) && o.subRows.forEach((t) => lJ(e, t.id, n, r, i, a));}-function dJ(e, t) {- if (!sJ(e)) return !1;+function uJ(e, t) {+ if (!oJ(e)) return !1;let n = e.table;if (n.options.enableSubRowSelection === !0) return !0;let r = e.parentId;@@ -60153,7 +60153,7 @@ function dJ(e, t) {}o.push(c);let r = a[c] ?? n.getRow(c, !0);- if (!cJ(r)) {+ if (!sJ(r)) {s = !1;break;}@@ -60161,50 +60161,50 @@ function dJ(e, t) {}return o.forEach((e) => t.set(e, s)), s;}-function fJ(e, t) {+function dJ(e, t) {let n = t.table.getCoreRowModel().rowsById, r = t.parentId;for (; r !== void 0;) delete e[r], r = (n[r] ?? t.table.getRow(r, !0)).parentId;}-function pJ(e, t, n, r) {+function fJ(e, t, n, r) {let i = [];for (let a = 0; a < e.length; a++) {- let o = e[a], s = hJ(o, t);+ let o = e[a], s = mJ(o, t);if (s && (n.push(o), r[o.id] = o), o.subRows.length) {- let e = pJ(o.subRows, t, n, r);+ let e = fJ(o.subRows, t, n, r);if (s) {let t = Object.create(Object.getPrototypeOf(o));- nq(t, o), t.subRows = e, i.push(t);+ tq(t, o), t.subRows = e, i.push(t);}} else s && i.push(o);}return i;}-function mJ(e, t) {- let n = [], r = rq(), i = t.atoms.rowSelection?.get() ?? {};+function pJ(e, t) {+ let n = [], r = nq(), i = t.atoms.rowSelection?.get() ?? {};return {- rows: pJ(e.rows, i, n, r),+ rows: fJ(e.rows, i, n, r),flatRows: n,rowsById: r};}-function hJ(e, t) {- return !!(iq(t, e.id) && t[e.id]);+function mJ(e, t) {+ return !!(rq(t, e.id) && t[e.id]);}-function gJ(e) {+function hJ(e) {if (!e.subRows.length) return !1;let t = e.table.atoms.rowSelection?.get() ?? {}, n = !1, r = !0, i = !1;for (let a = 0; a < e.subRows.length; a++) {let o = e.subRows[a];if (n && !r) break;- if (sJ(o) && (i = !0, hJ(o, t) ? n = !0 : r = !1), o.subRows.length) {- let e = gJ(o);+ if (oJ(o) && (i = !0, mJ(o, t) ? n = !0 : r = !1), o.subRows.length) {+ let e = hJ(o);e === "all" ? (n = !0, i = !0) : e === "some" ? (n = !0, r = !1, i = !0) : r = !1;}}return i ? r ? "all" : n ? "some" : !1 : !1;}// node_modules/@tanstack/table-core/dist/features/row-selection/rowSelectionFeature.js-var _J = {+var gJ = {initTableInstanceData: (e) => {e._lastSelectedRowId = null;},@@ -60212,11 +60212,11 @@ var _J = {e._lastSelectedRowId = null;},getInitialState: (e) => ({- rowSelection: MCe(),+ rowSelection: NCe(),...e}),getDefaultTableOptions: (e) => ({- onRowSelectionChange: aq("rowSelection", e),+ onRowSelectionChange: iq("rowSelection", e),enableRowSelection: !0,enableMultiRowSelection: !0,enableRowRangeSelection: !0,@@ -60227,11 +60227,11 @@ var _J = {}}),assignRowPrototype: (e, t) => {- mq("rowSelectionFeature", e, t, {- row_toggleSelected: { fn: (e, t, n) => iJ(e, t, n) },- row_getIsSelected: { fn: (e) => aJ(e) },+ pq("rowSelectionFeature", e, t, {+ row_toggleSelected: { fn: (e, t, n) => rJ(e, t, n) },+ row_getIsSelected: { fn: (e) => iJ(e) },row_getIsSomeSelected: {- fn: (e) => oJ(e),+ fn: (e) => aJ(e),memoDeps: (e) => [e.subRows,e.table.atoms.rowSelection?.get(),@@ -60239,44 +60239,44 @@ var _J = {]},row_getIsAllSubRowsSelected: {- fn: (e) => VCe(e),+ fn: (e) => HCe(e),memoDeps: (e) => [e.subRows,e.table.atoms.rowSelection?.get(),e.table.options.enableRowSelection]},- row_getCanSelect: { fn: (e) => sJ(e) },- row_getCanSelectSubRows: { fn: (e) => cJ(e) },- row_getCanMultiSelect: { fn: (e) => lJ(e) },- row_getToggleSelectedHandler: { fn: (e, t) => HCe(e, t) }+ row_getCanSelect: { fn: (e) => oJ(e) },+ row_getCanSelectSubRows: { fn: (e) => sJ(e) },+ row_getCanMultiSelect: { fn: (e) => cJ(e) },+ row_getToggleSelectedHandler: { fn: (e, t) => UCe(e, t) }});},constructTableAPIs: (e) => {- pq("rowSelectionFeature", e, {- table_setRowSelection: { fn: (t) => Zq(e, t) },- table_resetRowSelection: { fn: (t) => NCe(e, t) },- table_toggleAllRowsSelected: { fn: (t, n) => Qq(e, t, n) },- table_toggleAllPageRowsSelected: { fn: (t, n) => $q(e, t, n) },- table_getPreSelectedRowModel: { fn: () => PCe(e) },+ fq("rowSelectionFeature", e, {+ table_setRowSelection: { fn: (t) => Xq(e, t) },+ table_resetRowSelection: { fn: (t) => PCe(e, t) },+ table_toggleAllRowsSelected: { fn: (t, n) => Zq(e, t, n) },+ table_toggleAllPageRowsSelected: { fn: (t, n) => Qq(e, t, n) },+ table_getPreSelectedRowModel: { fn: () => FCe(e) },table_getSelectedRowModel: {- fn: () => FCe(e),+ fn: () => ICe(e),memoDeps: () => [e.atoms.rowSelection?.get(), e.getCoreRowModel()]},table_getFilteredSelectedRowModel: {- fn: () => ICe(e),+ fn: () => LCe(e),memoDeps: () => [e.atoms.rowSelection?.get(), e.getFilteredRowModel()]},table_getGroupedSelectedRowModel: {- fn: () => LCe(e),+ fn: () => RCe(e),memoDeps: () => [e.atoms.rowSelection?.get(), e.getSortedRowModel()]},table_getSelectedRowIds: {- fn: () => eJ(e),+ fn: () => $q(e),memoDeps: () => [e.atoms.rowSelection?.get()]},table_getIsAllRowsSelected: {- fn: () => tJ(e),+ fn: () => eJ(e),memoDeps: () => [e.atoms.rowSelection?.get(),e.getFilteredRowModel(),@@ -60285,7 +60285,7 @@ var _J = {]},table_getIsAllPageRowsSelected: {- fn: () => nJ(e),+ fn: () => tJ(e),memoDeps: () => [e.atoms.rowSelection?.get(),e.getPaginatedRowModel(),@@ -60294,48 +60294,48 @@ var _J = {]},table_getIsSomeRowsSelected: {- fn: () => rJ(e),+ fn: () => nJ(e),memoDeps: () => [e.atoms.rowSelection?.get()]},table_getIsSomePageRowsSelected: {- fn: () => RCe(e),+ fn: () => zCe(e),memoDeps: () => [e.atoms.rowSelection?.get(),e.getPaginatedRowModel(),e.options.enableRowSelection]},- table_getToggleAllRowsSelectedHandler: { fn: () => zCe(e) },- table_getToggleAllPageRowsSelectedHandler: { fn: () => BCe(e) }+ table_getToggleAllRowsSelectedHandler: { fn: () => BCe(e) },+ table_getToggleAllPageRowsSelectedHandler: { fn: () => VCe(e) }});}-}, WCe = /([0-9]+)/gm;+}, GCe = /([0-9]+)/gm;/* @__NO_SIDE_EFFECTS__ */-function GCe(e) {+function KCe(e) {let t = Object.assign((e, n, r) => {let i = e.getValue(r), a = n.getValue(r), o = t.resolveDataValue;return o && (i = o(i), a = o(a)), t.sort(i, a, e, n, r);}, e);return t;}-var vJ = /* @__PURE__ */ GCe({ sort: (e, t) => KCe(e, t) });-function KCe(e, t) {+var _J = /* @__PURE__ */ KCe({ sort: (e, t) => qCe(e, t) });+function qCe(e, t) {return e === t ? 0 : e > t ? 1 : -1;}// node_modules/@tanstack/table-core/dist/features/row-sorting/rowSortingFeature.utils.js-function qCe() {+function JCe() {return [];}-function yJ(e, t) {- lq(e, "sorting", t);+function vJ(e, t) {+ cq(e, "sorting", t);}-function bJ(e, t) {- yJ(e, t ? [] : tq(e.initialState.sorting ?? []));+function yJ(e, t) {+ vJ(e, t ? [] : eq(e.initialState.sorting ?? []));}-function JCe(e) {- e.atoms.sorting && (e.options.autoResetAll ?? e.options.autoResetSorting ?? !1) && bJ(e);+function YCe(e) {+ e.atoms.sorting && (e.options.autoResetAll ?? e.options.autoResetSorting ?? !1) && yJ(e);}-function xJ(e) {+function bJ(e) {let t = e.table._rowModelFns.sortFns, n = e.table.getFilteredRowModel().flatRows.slice(0, 10), r, i = !1;for (let t = 0; t < n.length; t++) {let a = n[t].getValue(e.id);@@ -60343,7 +60343,7 @@ function xJ(e) {r = "datetime";break;}- if (typeof a == "string" && (i = !0, a.split(WCe).length > 1)) {+ if (typeof a == "string" && (i = !0, a.split(GCe).length > 1)) {r = "alphanumeric";break;}@@ -60352,9 +60352,9 @@ function xJ(e) {let e = t?.[r];if (e || r === "alphanumeric" && (e = t?.text), e) return e;}- return vJ;+ return _J;}-function SJ(e) {+function xJ(e) {let t = e.table.getFilteredRowModel().flatRows.slice(0, 10);for (let n = 0; n < t.length; n++) {let r = t[n].getValue(e.id);@@ -60362,14 +60362,14 @@ function SJ(e) {}return "desc";}-function CJ(e) {+function SJ(e) {let t = e.table._rowModelFns.sortFns;- return Jxe(e.columnDef.sortFn) ? e.columnDef.sortFn : e.columnDef.sortFn === "auto" ? xJ(e) : t?.[e.columnDef.sortFn] ?? vJ;+ return Yxe(e.columnDef.sortFn) ? e.columnDef.sortFn : e.columnDef.sortFn === "auto" ? bJ(e) : t?.[e.columnDef.sortFn] ?? _J;}-function wJ(e, t, n) {- let r = EJ(e, n && OJ(e)), i = t !== void 0;- yJ(e.table, (a) => {- let o = a.findIndex((t) => t.id === e.id), s = o === -1 ? void 0 : a[o], c = [], l, u = i ? t : r === "desc", d = !!(a.length && OJ(e) && n);+function CJ(e, t, n) {+ let r = TJ(e, n && DJ(e)), i = t !== void 0;+ vJ(e.table, (a) => {+ let o = a.findIndex((t) => t.id === e.id), s = o === -1 ? void 0 : a[o], c = [], l, u = i ? t : r === "desc", d = !!(a.length && DJ(e) && n);return l = d ? s ? "toggle" : "add" : s ? "toggle" : "replace", l === "toggle" && (i || r || (l = "remove")), l === "add" ? (c = [...a, {id: e.id,desc: u@@ -60385,40 +60385,40 @@ function wJ(e, t, n) {}], c;});}-function TJ(e) {- return e.columnDef.sortDescFirst ?? e.table.options.sortDescFirst ?? SJ(e) === "desc" ? "desc" : "asc";+function wJ(e) {+ return e.columnDef.sortDescFirst ?? e.table.options.sortDescFirst ?? xJ(e) === "desc" ? "desc" : "asc";}-function EJ(e, t) {- let n = TJ(e), r = kJ(e);+function TJ(e, t) {+ let n = wJ(e), r = OJ(e);return r ? r !== n && (e.table.options.enableSortingRemoval ?? !0) && (!t || (e.table.options.enableMultiRemove ?? !0)) ? !1 : r === "desc" ? "asc" : "desc" : n;}-function DJ(e) {+function EJ(e) {return (e.columnDef.enableSorting ?? !0) && (e.table.options.enableSorting ?? !0) && !!e.accessorFn;}-function OJ(e) {+function DJ(e) {return e.columnDef.enableMultiSort ?? e.table.options.enableMultiSort ?? !!e.accessorFn;}-function kJ(e) {+function OJ(e) {let t = e.table.atoms.sorting?.get()?.find((t) => t.id === e.id);return t ? t.desc ? "desc" : "asc" : !1;}-function YCe(e) {- return e.table.atoms.sorting?.get()?.findIndex((t) => t.id === e.id) ?? -1;-}function XCe(e) {- yJ(e.table, (t) => t.length ? t.filter((t) => t.id !== e.id) : []);+ return e.table.atoms.sorting?.get()?.findIndex((t) => t.id === e.id) ?? -1;}function ZCe(e) {- let t = DJ(e);+ vJ(e.table, (t) => t.length ? t.filter((t) => t.id !== e.id) : []);+}+function QCe(e) {+ let t = EJ(e);return (n) => {- t && wJ(e, void 0, OJ(e) ? e.table.options.isMultiSortEvent?.(n) : !1);+ t && CJ(e, void 0, DJ(e) ? e.table.options.isMultiSortEvent?.(n) : !1);};}// node_modules/@tanstack/table-core/dist/features/row-sorting/rowSortingFeature.js-var AJ = {+var kJ = {getInitialState(e) {return {- sorting: qCe(),+ sorting: JCe(),...e};},@@ -60431,58 +60431,58 @@ var AJ = {getDefaultTableOptions(e) {return {autoResetSorting: !1,- onSortingChange: aq("sorting", e),+ onSortingChange: iq("sorting", e),isMultiSortEvent: (e) => e.shiftKey};},assignColumnPrototype(e, t) {- mq("rowSortingFeature", e, t, {- column_getAutoSortFn: { fn: (e) => xJ(e) },- column_getAutoSortDir: { fn: (e) => SJ(e) },- column_getSortFn: { fn: (e) => CJ(e) },- column_toggleSorting: { fn: (e, t, n) => wJ(e, t, n) },- column_getFirstSortDir: { fn: (e) => TJ(e) },- column_getNextSortingOrder: { fn: (e, t) => EJ(e, t) },- column_getCanSort: { fn: (e) => DJ(e) },- column_getCanMultiSort: { fn: (e) => OJ(e) },- column_getIsSorted: { fn: (e) => kJ(e) },- column_getSortIndex: { fn: (e) => YCe(e) },- column_clearSorting: { fn: (e) => XCe(e) },- column_getToggleSortingHandler: { fn: (e) => ZCe(e) }+ pq("rowSortingFeature", e, t, {+ column_getAutoSortFn: { fn: (e) => bJ(e) },+ column_getAutoSortDir: { fn: (e) => xJ(e) },+ column_getSortFn: { fn: (e) => SJ(e) },+ column_toggleSorting: { fn: (e, t, n) => CJ(e, t, n) },+ column_getFirstSortDir: { fn: (e) => wJ(e) },+ column_getNextSortingOrder: { fn: (e, t) => TJ(e, t) },+ column_getCanSort: { fn: (e) => EJ(e) },+ column_getCanMultiSort: { fn: (e) => DJ(e) },+ column_getIsSorted: { fn: (e) => OJ(e) },+ column_getSortIndex: { fn: (e) => XCe(e) },+ column_clearSorting: { fn: (e) => ZCe(e) },+ column_getToggleSortingHandler: { fn: (e) => QCe(e) }});},constructTableAPIs(e) {- pq("rowSortingFeature", e, {- table_autoResetSorting: { fn: () => JCe(e) },- table_setSorting: { fn: (t) => yJ(e, t) },- table_resetSorting: { fn: (t) => bJ(e, t) }+ fq("rowSortingFeature", e, {+ table_autoResetSorting: { fn: () => YCe(e) },+ table_setSorting: { fn: (t) => vJ(e, t) },+ table_resetSorting: { fn: (t) => yJ(e, t) }});}-}, QCe = typeof window > "u" ? F.useEffect : F.useLayoutEffect;-function jJ(e, t) {+}, $Ce = typeof window > "u" ? F.useEffect : F.useLayoutEffect;+function AJ(e, t) {let [{ table: n, rootSource: r }] = (0, F.useState)(() => {- let t = fCe({+ let t = pCe({...e,features: {- coreReactivityFeature: Gxe(),+ coreReactivityFeature: Kxe(),...e.features}});- return t.Subscribe = ((e) => Vxe({+ return t.Subscribe = ((e) => Hxe({...e,source: e.source ?? t.store- })), t.FlexRender = Axe, {+ })), t.FlexRender = jxe, {table: t,- rootSource: Wxe(t.store, XK)+ rootSource: Gxe(t.store, YK)};}), i = n;- Aq(i, (t) => ({+ kq(i, (t) => ({...t,...e}), { syncExternalState: !1 });- let a = i.options.state, o = r.get(), s = $K(r, t, { compare: XK });- return QCe(() => {- r.markCommitted(o), kq(i, a ?? null, XK);+ let a = i.options.state, o = r.get(), s = QK(r, t, { compare: YK });+ return $Ce(() => {+ r.markCommitted(o), Oq(i, a ?? null, YK);}), (0, F.useMemo)(() => ({...n,options: e,@@ -60494,10 +60494,10 @@ function jJ(e, t) {]);}// src/react/boardui/components/base/table/table.tsx-function MJ({ size: e = "md", className: t, containerClassName: n, ref: r, ...i }) {+function jJ({ size: e = "md", className: t, containerClassName: n, ref: r, ...i }) {return /* @__PURE__ */ (0, I.jsx)("div", {className: q("w-full overflow-x-auto", n),- children: /* @__PURE__ */ (0, I.jsx)(ahe, {+ children: /* @__PURE__ */ (0, I.jsx)(ohe, {ref: r,...i,className: q("bui-table", e === "sm" && "bui-table-sm", t)@@ -60505,7 +60505,7 @@ function MJ({ size: e = "md", className: t, containerClassName: n, ref: r, ...i});}// src/react/catalog-grid/catalog-table-columns.ts-var NJ = "peach.catalog-column-widths.v1", PJ = "peach.catalog-column-visibility.v1", $Ce = {+var MJ = "peach.catalog-column-widths.v1", NJ = "peach.catalog-column-visibility.v1", ewe = {select: {width: 48,min: 48,@@ -60581,14 +60581,14 @@ var NJ = "peach.catalog-column-widths.v1", PJ = "peach.catalog-column-visibilitymin: 112,max: 400}-}, ewe = {+}, twe = {release: !1,played: !1,o: !1,resolution: !1,size: !1,code: !1-}, twe = {+}, nwe = {select: "选择",name: "作品",dur: "时长",@@ -60604,7 +60604,7 @@ var NJ = "peach.catalog-column-widths.v1", PJ = "peach.catalog-column-visibilitytags: "标签",library: "媒体库",people: "艺人"-}, FJ = [+}, PJ = ["select","name","people",@@ -60622,13 +60622,13 @@ var NJ = "peach.catalog-column-widths.v1", PJ = "peach.catalog-column-visibility"code"].map((e) => ({id: e,- label: twe[e],- ...$Ce[e],+ label: nwe[e],+ ...ewe[e],flex: e === "name",required: e === "select" || e === "name",- visible: ewe[e] !== !1+ visible: twe[e] !== !1}));-function IJ(e) {+function FJ(e) {try {let t = JSON.parse(localStorage.getItem(e) || "{}");return t && typeof t == "object" && !Array.isArray(t) ? t : {};@@ -60636,11 +60636,11 @@ function IJ(e) {return {};}}-function nwe() {- return LJ(FJ, NJ, PJ);+function rwe() {+ return IJ(PJ, MJ, NJ);}-function LJ(e, t, n) {- let r = IJ(t), i = IJ(n);+function IJ(e, t, n) {+ let r = FJ(t), i = FJ(n);return e.filter((e) => e.id !== "select" && (e.required || (typeof i[e.id] == "boolean" ? i[e.id] === !0 : e.visible))).map((e) => {let t = r[e.id], n = typeof t == "number" && Number.isFinite(t) && !(e.flex && t === e.width);return {@@ -60652,43 +60652,43 @@ function LJ(e, t, n) {});}// src/react/library-processing/completion-row.ts-var RJ = "peach.catalog.completion-row";-function zJ() {+var LJ = "peach.catalog.completion-row";+function RJ() {try {- return localStorage.getItem(RJ) === "1";+ return localStorage.getItem(LJ) === "1";} catch {return !1;}}-function rwe(e) {+function iwe(e) {try {- e ? localStorage.setItem(RJ, "1") : localStorage.removeItem(RJ);+ e ? localStorage.setItem(LJ, "1") : localStorage.removeItem(LJ);} catch {}}-var iwe = "<i data-completion-skeleton class=\"skeleton-sheen\"></i>";+var awe = "<i data-completion-skeleton class=\"skeleton-sheen\"></i>";// src/catalog-content-skeleton.ts-function BJ(e) {+function zJ(e) {return e === "name" ? "<span data-list-skeleton-name><i class=\"skeleton-sheen\"></i><span><i class=\"skeleton-sheen\"></i><i class=\"skeleton-sheen\"></i></span></span>" : e === "people" || e === "library" || e === "studio" ? `<span data-list-skeleton-mark="${e}"><b class="skeleton-sheen"></b><i class="skeleton-sheen"></i></span>` : "<i data-list-skeleton-bar class=\"skeleton-sheen\"></i>";}-function awe(e) {- return `<div class="peach-react catalog-skeleton" data-skeleton="catalog/list" role="status" aria-busy="true" aria-label="${z(e)}">` + VJ(nwe(), zJ() ? iwe : "") + "</div>";+function owe(e) {+ return `<div class="peach-react catalog-skeleton" data-skeleton="catalog/list" role="status" aria-busy="true" aria-label="${z(e)}">` + BJ(rwe(), RJ() ? awe : "") + "</div>";}-function VJ(e, t = "") {- let n = e.some((e) => e.width === null), r = e.reduce((e, t) => e + (t.width ?? t.min), 0), i = e.map((e) => e.width === null ? "<col>" : `<col style="width:${e.width}px">`).join("") + (n ? "" : "<col>"), a = e.map((e) => `<th>${z(e.label)}</th>`).join("") + (n ? "" : "<th></th>"), o = `<tr>${e.map((e) => `<td>${BJ(e.id)}</td>`).join("")}${n ? "" : "<td></td>"}</tr>`;+function BJ(e, t = "") {+ let n = e.some((e) => e.width === null), r = e.reduce((e, t) => e + (t.width ?? t.min), 0), i = e.map((e) => e.width === null ? "<col>" : `<col style="width:${e.width}px">`).join("") + (n ? "" : "<col>"), a = e.map((e) => `<th>${z(e.label)}</th>`).join("") + (n ? "" : "<th></th>"), o = `<tr>${e.map((e) => `<td>${zJ(e.id)}</td>`).join("")}${n ? "" : "<td></td>"}</tr>`;return "<div data-list-skeleton aria-hidden=\"true\"><div data-list-skeleton-tools><i class=\"skeleton-sheen\"></i></div>" + t + `<div data-board-data-table><div class="w-full overflow-x-auto"><table class="bui-table bui-table-sm" style="table-layout:fixed;min-width:${r}px"><colgroup>${i}</colgroup><thead><tr>${a}</tr></thead><tbody>${o.repeat(6)}</tbody></table></div></div></div>`;}-function HJ(e, t) {- return lG() === "list" ? awe(e) : ac(e, {+function VJ(e, t) {+ return cG() === "list" ? owe(e) : ac(e, {variant: "cards",className: "catalog-skeleton postercard-skeleton",cardRatio: t});}// src/react/components/data-table-frame.tsx-var owe = () => {+var swe = () => {document.documentElement.dataset.columnResizing = "";};-function UJ({ children: e, follow: t = !1, onRowClick: n, preferences: r }) {+function HJ({ children: e, follow: t = !1, onRowClick: n, preferences: r }) {let i = (0, F.useRef)(null);return (0, F.useEffect)(() => {let e = i.current?.querySelector(".overflow-x-auto") ?? null;@@ -60702,11 +60702,11 @@ function UJ({ children: e, follow: t = !1, onRowClick: n, preferences: r }) {let t = e.target;if (!(t instanceof Element)) return;let r = t.closest("[role=\"row\"][data-key]");- r && cK(e, r) && n(r.dataset.key);+ r && sK(e, r) && n(r.dataset.key);} : void 0,- children: r ? /* @__PURE__ */ (0, I.jsx)(rhe, {+ children: r ? /* @__PURE__ */ (0, I.jsx)(ihe, {className: "relative min-w-0",- onResizeStart: owe,+ onResizeStart: swe,onResize: r.resize,onResizeEnd: (e) => {delete document.documentElement.dataset.columnResizing, r.save(e);@@ -60716,7 +60716,7 @@ function UJ({ children: e, follow: t = !1, onRowClick: n, preferences: r }) {});}// src/react/components/select.tsx-function WJ({ prefix: e, renderValue: t, size: n, ...r }) {+function UJ({ prefix: e, renderValue: t, size: n, ...r }) {if (e == null) return /* @__PURE__ */ (0, I.jsx)(UU, {...r,size: n,@@ -60734,7 +60734,7 @@ function WJ({ prefix: e, renderValue: t, size: n, ...r }) {});}// src/react/components/table-pagination.tsx-function GJ({ page: e, pages: t, onPage: n, label: r = "关注列表分页" }) {+function WJ({ page: e, pages: t, onPage: n, label: r = "关注列表分页" }) {return t <= 1 ? null : /* @__PURE__ */ (0, I.jsxs)("nav", {"aria-label": r,"data-pagination-layout": "",@@ -60773,11 +60773,11 @@ function GJ({ page: e, pages: t, onPage: n, label: r = "关注列表分页" }) {});}// src/react/components/table-controls.tsx-function KJ({ label: e, options: t, sorting: n, onChange: r }) {+function GJ({ label: e, options: t, sorting: n, onChange: r }) {let i = n[0];return /* @__PURE__ */ (0, I.jsxs)("span", {className: "flex flex-none items-center gap-2",- children: [/* @__PURE__ */ (0, I.jsxs)(WJ, {+ children: [/* @__PURE__ */ (0, I.jsxs)(UJ, {"aria-label": `${e}排序`,prefix: "排序",selectedKey: i?.id ?? "default",@@ -60798,7 +60798,7 @@ function KJ({ label: e, options: t, sorting: n, onChange: r }) {variant: "secondary",iconOnly: !0,disabled: !i,- leadingIcon: pG,+ leadingIcon: fG,"data-icon-state": i?.desc ? "b" : "a","aria-label": `${e}改为${i?.desc ? "升序" : "降序"}`,onClick: () => {@@ -60810,7 +60810,7 @@ function KJ({ label: e, options: t, sorting: n, onChange: r }) {})]});}-function qJ({ label: e, total: t, pagination: n, onChange: r, unit: i = "条记录", pageUnit: a = "条", pageSizes: o = [+function KJ({ label: e, total: t, pagination: n, onChange: r, unit: i = "条记录", pageUnit: a = "条", pageSizes: o = [10,20,50,@@ -60825,7 +60825,7 @@ function qJ({ label: e, total: t, pagination: n, onChange: r, unit: i = "条记children: `${l.toLocaleString()}–${u.toLocaleString()} / ${t.toLocaleString()} ${i}`}), /* @__PURE__ */ (0, I.jsxs)("div", {"data-toolbar-actions": "",- children: [/* @__PURE__ */ (0, I.jsx)(WJ, {+ children: [/* @__PURE__ */ (0, I.jsx)(UJ, {"aria-label": "每页显示数量",size: "sm",selectedKey: String(n.pageSize),@@ -60839,7 +60839,7 @@ function qJ({ label: e, total: t, pagination: n, onChange: r, unit: i = "条记id: String(e),children: `每页 ${e} ${a}`}, e))- }), /* @__PURE__ */ (0, I.jsx)(GJ, {+ }), /* @__PURE__ */ (0, I.jsx)(WJ, {label: `${e}分页`,page: c + 1,pages: s,@@ -60852,7 +60852,7 @@ function qJ({ label: e, total: t, pagination: n, onChange: r, unit: i = "条记});}// src/react/components/table-column-preferences.ts-function JJ(e) {+function qJ(e) {try {let t = JSON.parse(localStorage.getItem(e) || "{}");return t && typeof t == "object" && !Array.isArray(t) ? t : {};@@ -60860,17 +60860,17 @@ function JJ(e) {return {};}}-function YJ(e, t) {+function JJ(e, t) {try {localStorage.setItem(e, JSON.stringify(t));} catch {}}-function swe(e, t) {+function cwe(e, t) {let n = (e) => Object.fromEntries(Object.entries(t).map(([t, n]) => {let r = e[t];return [t, typeof r == "number" && Number.isFinite(r) ? Math.max(n.min, Math.min(n.max, r)) : n.flex ? "1fr" : n.width];})), [r, i] = (0, F.useState)(() => {- let r = JJ(e);+ let r = qJ(e);for (let [e, n] of Object.entries(t)) n.flex && r[e] === n.width && delete r[e];return n(r);});@@ -60887,7 +60887,7 @@ function swe(e, t) {...r,...Object.fromEntries(t)});- i(a), YJ(e, a);+ i(a), JJ(e, a);},reset: () => {i(n({}));@@ -60897,26 +60897,26 @@ function swe(e, t) {}};}-function cwe(e, t, n, r = {}) {+function lwe(e, t, n, r = {}) {let i = (e) => ({...r,...Object.fromEntries(t.filter((t) => !n.includes(t) && typeof e[t] == "boolean").map((t) => [t, e[t] === !0]))- }), [a, o] = (0, F.useState)(() => i(JJ(e)));+ }), [a, o] = (0, F.useState)(() => i(qJ(e)));return {visibility: a,change: (t) => {let n = i(typeof t == "function" ? t(a) : t);- o(n), YJ(e, n);+ o(n), JJ(e, n);}};}-function XJ(e, t, n) {+function YJ(e, t, n) {let r = (0, F.useMemo)(() => Object.fromEntries(t.map((e) => [e.id, {width: e.width ?? 180,min: e.min ?? 96,max: e.max ?? (e.flex ? 2e3 : 800),flex: e.flex- }])), [t]), i = swe(n?.widths ?? `peach.table.${e}.widths.v1`, r), a = cwe(n?.visibility ?? `peach.table.${e}.visibility.v1`, t.map((e) => e.id), t.filter((e) => e.required).map((e) => e.id), Object.fromEntries(t.filter((e) => e.visible === !1).map((e) => [e.id, !1]))), o = t.some((e) => e.flex && a.visibility[e.id] !== !1 && i.widths[e.id] === "1fr");+ }])), [t]), i = cwe(n?.widths ?? `peach.table.${e}.widths.v1`, r), a = lwe(n?.visibility ?? `peach.table.${e}.visibility.v1`, t.map((e) => e.id), t.filter((e) => e.required).map((e) => e.id), Object.fromEntries(t.filter((e) => e.visible === !1).map((e) => [e.id, !1]))), o = t.some((e) => e.flex && a.visibility[e.id] !== !1 && i.widths[e.id] === "1fr");return {...i,...a,@@ -60935,15 +60935,15 @@ function XJ(e, t, n) {};}// src/react/catalog-grid/catalog-column-widths.ts-function lwe() {- return XJ("catalog", FJ, {- widths: NJ,- visibility: PJ+function uwe() {+ return YJ("catalog", PJ, {+ widths: MJ,+ visibility: NJ});}// src/react/components/rating-stars.tsx-var ZJ = pV("star");-function QJ({ value: e, onRate: t, busyStar: n, busyAttrs: r }) {+var XJ = pV("star");+function ZJ({ value: e, onRate: t, busyStar: n, busyAttrs: r }) {let i = Math.max(0, Math.min(5, e)), a = Math.round(i);return /* @__PURE__ */ (0, I.jsx)("span", {"data-rating-stars": "",@@ -60966,25 +60966,25 @@ function QJ({ value: e, onRate: t, busyStar: n, busyAttrs: r }) {onClick: () => {n || t(e);},- children: n === e ? /* @__PURE__ */ (0, I.jsx)("span", { dangerouslySetInnerHTML: { __html: Bs("正在保存评分") } }) : /* @__PURE__ */ (0, I.jsx)(ZJ, {})+ children: n === e ? /* @__PURE__ */ (0, I.jsx)("span", { dangerouslySetInnerHTML: { __html: Bs("正在保存评分") } }) : /* @__PURE__ */ (0, I.jsx)(XJ, {})}, e) : /* @__PURE__ */ (0, I.jsx)("span", {"data-rate": e,"data-on": String(i >= e),children: /* @__PURE__ */ (0, I.jsxs)("span", {"data-rating-icon": "",- children: [/* @__PURE__ */ (0, I.jsx)(ZJ, {}), /* @__PURE__ */ (0, I.jsx)("span", {+ children: [/* @__PURE__ */ (0, I.jsx)(XJ, {}), /* @__PURE__ */ (0, I.jsx)("span", {"data-rating-fill": "",style: { width: `${Math.max(0, Math.min(1, i - e + 1)) * 100}%` },- children: /* @__PURE__ */ (0, I.jsx)(ZJ, {})+ children: /* @__PURE__ */ (0, I.jsx)(XJ, {})})]})}, e))});}// src/react/catalog-grid/catalog-table-controls.tsx-function uwe({ item: e, actions: t }) {- let { rating: n } = e, r = hH(), i = (0, F.useRef)(0), a = hP(n), o = n == null ? "未评分" : `评分 ${a} / 5`, s = (t) => {- fP(e.id, { rating: t }), H.setQueryData(["item", e.id], (e) => e && {+function dwe({ item: e, actions: t }) {+ let { rating: n } = e, r = hH(), i = (0, F.useRef)(0), a = mP(n), o = n == null ? "未评分" : `评分 ${a} / 5`, s = (t) => {+ dP(e.id, { rating: t }), H.setQueryData(["item", e.id], (e) => e && {...e,rating: t});@@ -60996,7 +60996,7 @@ function uwe({ item: e, actions: t }) {role: "group","aria-label": o,title: o,- children: [/* @__PURE__ */ (0, I.jsx)(QJ, {+ children: [/* @__PURE__ */ (0, I.jsx)(ZJ, {value: a,onRate: c,busyStar: r.busy ? Number(r.busy) : void 0@@ -61013,7 +61013,7 @@ function uwe({ item: e, actions: t }) {}) : null]});}-function $J(e) {+function QJ(e) {if (e == null || e === "") return "—";let t = String(e);if (/^\d{4}-\d{2}-\d{2}$/.test(t)) return t;@@ -61028,7 +61028,7 @@ function $J(e) {});}// src/react/components/selection-actions.tsx-function eY({ actions: e, layout: t = "inline", prefix: n, onNavigate: r }) {+function $J({ actions: e, layout: t = "inline", prefix: n, onNavigate: r }) {return /* @__PURE__ */ (0, I.jsxs)("div", {"data-selection-actions": "","data-action-layout": t,@@ -61043,7 +61043,7 @@ function eY({ actions: e, layout: t = "inline", prefix: n, onNavigate: r }) {}, e.label) : /* @__PURE__ */ (0, I.jsx)(mH, {size: "small",href: e.href,- trailingIcon: yB,+ trailingIcon: vB,className: t === "inline" ? "shrink-0" : "w-full",disabled: e.disabled,onClick: r,@@ -61052,8 +61052,8 @@ function eY({ actions: e, layout: t = "inline", prefix: n, onNavigate: r }) {});}// src/react/components/selection-popover.tsx-function tY({ label: e, triggerLabel: t, leadingIcon: n, items: r, onChange: i, actions: a, actionLayout: o = "inline", empty: s = "暂无可选项" }) {- let c = (0, F.useRef)(null), [l, u] = (0, F.useState)(!1), d = /* @__PURE__ */ (0, I.jsx)(eY, {+function eY({ label: e, triggerLabel: t, leadingIcon: n, items: r, onChange: i, actions: a, actionLayout: o = "inline", empty: s = "暂无可选项" }) {+ let c = (0, F.useRef)(null), [l, u] = (0, F.useState)(!1), d = /* @__PURE__ */ (0, I.jsx)($J, {actions: a,layout: o,onNavigate: () => u(!1)@@ -61080,7 +61080,7 @@ function tY({ label: e, triggerLabel: t, leadingIcon: n, items: r, onChange: i,"aria-label": t,onClick: () => u(!0),children: t- }), /* @__PURE__ */ (0, I.jsx)(fz, {+ }), /* @__PURE__ */ (0, I.jsx)(dz, {triggerRef: c,isOpen: l,onOpenChange: u,@@ -61096,13 +61096,13 @@ function tY({ label: e, triggerLabel: t, leadingIcon: n, items: r, onChange: i,})] });}// src/react/components/table-column-controls.tsx-function nY({ preferences: e, label: t = "表格" }) {+function tY({ preferences: e, label: t = "表格" }) {let n = e.columns.filter((e) => !e.required);return /* @__PURE__ */ (0, I.jsxs)("div", {role: "group","aria-label": `${t}列设置`,className: "flex flex-none gap-2",- children: [/* @__PURE__ */ (0, I.jsx)(tY, {+ children: [/* @__PURE__ */ (0, I.jsx)(eY, {label: `${t}显示列`,triggerLabel: "显示列",actionLayout: "fullWidth",@@ -61130,20 +61130,20 @@ function nY({ preferences: e, label: t = "表格" }) {})]});}-function rY({ preferences: e, id: t }) {+function nY({ preferences: e, id: t }) {let n = e.columns.find((e) => e.id === t);- return e.canResize(t) ? /* @__PURE__ */ (0, I.jsx)(mhe, { "aria-label": `调整${n.label}列宽` }) : null;+ return e.canResize(t) ? /* @__PURE__ */ (0, I.jsx)(hhe, { "aria-label": `调整${n.label}列宽` }) : null;}// src/react/components/table-selection-header.tsx-function iY(e, t) {+function rY(e, t) {let n = (t ? e.getPaginatedRowModel() : e.getFilteredRowModel()).flatRows.filter((e) => e.getCanSelect()), r = n.filter((e) => e.getIsSelected()).length;return {all: n.length > 0 && r === n.length,some: r > 0 && r < n.length};}-function aY({ table: e, label: t, page: n = !1, disabled: r = !1 }) {- let { all: i, some: a } = iY(e, n);+function iY({ table: e, label: t, page: n = !1, disabled: r = !1 }) {+ let { all: i, some: a } = rY(e, n);return /* @__PURE__ */ (0, I.jsx)(zV, {slot: null,"aria-label": t,@@ -61151,18 +61151,18 @@ function aY({ table: e, label: t, page: n = !1, disabled: r = !1 }) {isSelected: i,isIndeterminate: a,onChange: () => {- let t = !iY(e, n).all;+ let t = !rY(e, n).all;n ? e.toggleAllPageRowsSelected(t) : e.toggleAllRowsSelected(t);}});}// src/react/catalog-grid/catalog-list-page.tsx-var dwe = Mq({- rowSortingFeature: AJ,- rowSelectionFeature: _J,- rowPaginationFeature: Xq,- columnVisibilityFeature: Bq-}), oY = FJ.map((e) => e.id), fwe = [+var fwe = jq({+ rowSortingFeature: kJ,+ rowSelectionFeature: gJ,+ rowPaginationFeature: Yq,+ columnVisibilityFeature: zq+}), aY = PJ.map((e) => e.id), pwe = [{id: "name",label: "名称"@@ -61199,12 +61199,12 @@ var dwe = Mq({id: "played",label: "观看时间"}-], sY = /* @__PURE__ */ new Map();-function pwe(e) {- let t = lwe(), n = sK(), r = cP(e.filters || {}, !1), [i] = (0, F.useState)(() => {+], oY = /* @__PURE__ */ new Map();+function mwe(e) {+ let t = uwe(), n = oK(), r = sP(e.filters || {}, !1), [i] = (0, F.useState)(() => {let t = new URLSearchParams(r);return new URLSearchParams(location.search).has("seed") || t.delete("seed"), `${e.mode}:${e.listScope || e.entityKey || ""}:${t}`;- }), [a, o] = (0, F.useState)(() => sY.get(i) || {+ }), [a, o] = (0, F.useState)(() => oY.get(i) || {sorting: [],pagination: {pageIndex: 0,@@ -61212,7 +61212,7 @@ function pwe(e) {}}), { sorting: s, pagination: c } = a;(0, F.useEffect)(() => {- sY.set(i, a);+ oY.set(i, a);}, [i, a]);let l = c.pageIndex * c.pageSize, u = s[0], d = Ft({queryKey: [@@ -61243,9 +61243,9 @@ function pwe(e) {libraryEmpty: (await B("/api/items?limit=1&thumb=0", t)).total === 0};}- }), f = d.data?.items || [], p = Number(d.data?.total || 0), m = e.filters?.state === "trash" ? [] : IK(f, e.layout.javImage), [h] = (0, F.useState)(zJ);+ }), f = d.data?.items || [], p = Number(d.data?.total || 0), m = e.filters?.state === "trash" ? [] : FK(f, e.layout.javImage), [h] = (0, F.useState)(RJ);(0, F.useEffect)(() => {- d.data && !d.isPlaceholderData && rwe(m.length > 0);+ d.data && !d.isPlaceholderData && iwe(m.length > 0);}, [d.data,d.isPlaceholderData,@@ -61277,14 +61277,14 @@ function pwe(e) {p,c.pageIndex]);- let g = e.selectMode ? Object.fromEntries([...e.selected].map((e) => [String(e), !0])) : {}, _ = jJ({- features: dwe,+ let g = e.selectMode ? Object.fromEntries([...e.selected].map((e) => [String(e), !0])) : {}, _ = AJ({+ features: fwe,columns: (0, F.useMemo)(() => {- let t = jq();+ let t = Aq();return t.columns([t.display({id: "select",- header: ({ table: e }) => /* @__PURE__ */ (0, I.jsx)(aY, {+ header: ({ table: e }) => /* @__PURE__ */ (0, I.jsx)(iY, {table: e,label: "全选本页作品",disabled: d.isPlaceholderData@@ -61301,7 +61301,7 @@ function pwe(e) {id: "name",header: "作品",enableSorting: !0,- cell: ({ row: t }) => /* @__PURE__ */ (0, I.jsx)(mwe, {+ cell: ({ row: t }) => /* @__PURE__ */ (0, I.jsx)(hwe, {item: t.original,props: e,disabled: d.isPlaceholderData@@ -61310,12 +61310,12 @@ function pwe(e) {t.display({id: "library",header: "媒体库",- cell: ({ row: e }) => /* @__PURE__ */ (0, I.jsx)(hwe, { item: e.original })+ cell: ({ row: e }) => /* @__PURE__ */ (0, I.jsx)(gwe, { item: e.original })}),t.display({id: "people",header: "艺人",- cell: ({ row: t }) => /* @__PURE__ */ (0, I.jsx)(gwe, {+ cell: ({ row: t }) => /* @__PURE__ */ (0, I.jsx)(_we, {item: t.original,props: e})@@ -61371,7 +61371,7 @@ function pwe(e) {id: "rating",header: "评分",enableSorting: !0,- cell: ({ row: t }) => /* @__PURE__ */ (0, I.jsx)(uwe, {+ cell: ({ row: t }) => /* @__PURE__ */ (0, I.jsx)(dwe, {item: t.original,actions: e.actions})@@ -61392,13 +61392,13 @@ function pwe(e) {id: "played",header: "观看时间",enableSorting: !0,- cell: ({ row: e }) => $J(e.original.last_played)+ cell: ({ row: e }) => QJ(e.original.last_played)}),t.accessor((e) => e.first_seen, {id: "new",header: "入库时间",enableSorting: !0,- cell: ({ row: e }) => $J(e.original.first_seen)+ cell: ({ row: e }) => QJ(e.original.first_seen)}),t.accessor((e) => e.release_date, {id: "release",@@ -61406,7 +61406,7 @@ function pwe(e) {enableSorting: !0,cell: ({ row: e }) => e.original.release_date || "—"})- ]).sort((e, t) => oY.indexOf(e.id) - oY.indexOf(t.id));+ ]).sort((e, t) => aY.indexOf(e.id) - aY.indexOf(t.id));}, [e.helpers,e.actions,@@ -61469,9 +61469,9 @@ function pwe(e) {"aria-label": "作品列表工具栏",children: /* @__PURE__ */ (0, I.jsxs)("div", {"data-toolbar-actions": "",- children: [/* @__PURE__ */ (0, I.jsx)(nY, { preferences: t }), /* @__PURE__ */ (0, I.jsx)(KJ, {+ children: [/* @__PURE__ */ (0, I.jsx)(tY, { preferences: t }), /* @__PURE__ */ (0, I.jsx)(GJ, {label: "作品列表",- options: fwe,+ options: pwe,sorting: s,onChange: (e) => _.setSorting(e)})]@@ -61481,21 +61481,21 @@ function pwe(e) {"data-completion-skeleton": "","aria-hidden": "true",className: "skeleton-sheen"- }) : null : /* @__PURE__ */ (0, I.jsx)(LK, {+ }) : null : /* @__PURE__ */ (0, I.jsx)(IK, {className: "",assetIds: m}),- d.isError ? /* @__PURE__ */ (0, I.jsx)(HG, {+ d.isError ? /* @__PURE__ */ (0, I.jsx)(VG, {message: xn(d.error),onRetry: () => void d.refetch()}) : null,- /* @__PURE__ */ (0, I.jsx)(UJ, {+ /* @__PURE__ */ (0, I.jsx)(HJ, {follow: !0,preferences: t,onRowClick: e.selectMode ? (t) => {d.isPlaceholderData || e.actions.toggleSelection(Number(t), !1);} : void 0,- children: /* @__PURE__ */ (0, I.jsxs)(MJ, {+ children: /* @__PURE__ */ (0, I.jsxs)(jJ, {"aria-label": "作品列表",size: "sm",sortDescriptor: u ? {@@ -61506,48 +61506,48 @@ function pwe(e) {id: String(e.column),desc: e.direction === "descending"}]),- children: [/* @__PURE__ */ (0, I.jsxs)(eB, { children: [_.getHeaderGroups()[0].headers.map((e) => /* @__PURE__ */ (0, I.jsx)(tB, {+ children: [/* @__PURE__ */ (0, I.jsxs)($z, { children: [_.getHeaderGroups()[0].headers.map((e) => /* @__PURE__ */ (0, I.jsx)(eB, {id: e.id,isRowHeader: e.id === "name",allowsSorting: e.column.getCanSort(),...t.columnProps(e.id),children: ({ sortDirection: n }) => /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsxs)("span", {className: "flex items-center gap-0.5",- children: [RK(e.column.columnDef.header, e.getContext()), e.column.getCanSort() ? /* @__PURE__ */ (0, I.jsx)("span", {+ children: [LK(e.column.columnDef.header, e.getContext()), e.column.getCanSort() ? /* @__PURE__ */ (0, I.jsx)("span", {"data-sort-indicator": !0,"data-direction": n || void 0,children: /* @__PURE__ */ (0, I.jsx)(kV, {})}) : null]- }), /* @__PURE__ */ (0, I.jsx)(rY, {+ }), /* @__PURE__ */ (0, I.jsx)(nY, {preferences: t,id: e.id})] })- }, e.id)), /* @__PURE__ */ (0, I.jsx)(tB, {+ }, e.id)), /* @__PURE__ */ (0, I.jsx)(eB, {id: "remaining-space","aria-label": "行空白区域","data-table-space": "",width: t.spaceWidth,minWidth: 0- })] }), /* @__PURE__ */ (0, I.jsx)(iB, {+ })] }), /* @__PURE__ */ (0, I.jsx)(rB, {renderEmptyState: () => d.isError ? "作品列表未取得" : "没有符合的作品",- children: d.isPending ? Array.from({ length: 6 }, (e, t) => /* @__PURE__ */ (0, I.jsxs)(sB, {+ children: d.isPending ? Array.from({ length: 6 }, (e, t) => /* @__PURE__ */ (0, I.jsxs)(oB, {id: `skeleton-${t}`,"data-list-skeleton-row": "","aria-hidden": "true",- children: [_.getHeaderGroups()[0].headers.map((e) => /* @__PURE__ */ (0, I.jsx)(lB, { children: /* @__PURE__ */ (0, I.jsx)("span", { dangerouslySetInnerHTML: { __html: BJ(e.id) } }) }, e.id)), /* @__PURE__ */ (0, I.jsx)(lB, { "data-table-space": "" })]- }, `skeleton-${t}`)) : _.getRowModel().rows.map((e) => /* @__PURE__ */ (0, I.jsxs)(sB, {+ children: [_.getHeaderGroups()[0].headers.map((e) => /* @__PURE__ */ (0, I.jsx)(cB, { children: /* @__PURE__ */ (0, I.jsx)("span", { dangerouslySetInnerHTML: { __html: zJ(e.id) } }) }, e.id)), /* @__PURE__ */ (0, I.jsx)(cB, { "data-table-space": "" })]+ }, `skeleton-${t}`)) : _.getRowModel().rows.map((e) => /* @__PURE__ */ (0, I.jsxs)(oB, {id: e.id,"data-catalog-row": "","data-id": e.original.id,"data-guide-video": (!e.original.medium || e.original.medium === "video") && e.original.location !== "online" && !String(e.original.name || "").toLowerCase().endsWith(".iso") ? "" : void 0,"data-library": n.get(e.original.library_id || "")?.color ? e.original.library_id : void 0,"data-board-selected": e.getIsSelected() || void 0,- children: [e.getVisibleCells().map((e) => /* @__PURE__ */ (0, I.jsx)(lB, { children: RK(e.column.columnDef.cell, e.getContext()) }, e.id)), /* @__PURE__ */ (0, I.jsx)(lB, { "data-table-space": "" })]+ children: [e.getVisibleCells().map((e) => /* @__PURE__ */ (0, I.jsx)(cB, { children: LK(e.column.columnDef.cell, e.getContext()) }, e.id)), /* @__PURE__ */ (0, I.jsx)(cB, { "data-table-space": "" })]}, e.id))})]})}),- d.data ? /* @__PURE__ */ (0, I.jsx)(qJ, {+ d.data ? /* @__PURE__ */ (0, I.jsx)(KJ, {label: "作品列表",total: p,pagination: c,@@ -61558,9 +61558,9 @@ function pwe(e) {]});}-function mwe({ item: e, props: t, disabled: n }) {+function hwe({ item: e, props: t, disabled: n }) {let r = To(e, "small", !1, t.layout.javImage), i = Number(e.part_group?.count) > 1 && e.part_group || null, a = Number(e.edition_group?.count) > 1 && e.edition_group || null, o = i?.title || e.name || "", s = t.helpers.displayName(e, o).trim() || "未命名作品", c = t.helpers.titleHtml(e, o).trim() || "未命名作品";- iL();+ rL();let l = !i && Number(e.play_seconds) > 0 && Number(e.duration) > 0 ? Math.min(Number(e.play_seconds) / Number(e.duration), 1) : 0, u = [Number(e.liked) > 0 ? "喜欢" : "", Number(e.o_count) > 0 ? "有高潮记录" : ""].filter(Boolean), d = (e) => /* @__PURE__ */ (0, I.jsx)("svg", {viewBox: "0 0 24 24","aria-hidden": "true",@@ -61632,17 +61632,17 @@ function mwe({ item: e, props: t, disabled: n }) {})]});}-function hwe({ item: e }) {- let t = sK({ names: !0 }), n = e.library_id ? t.get(e.library_id) : void 0;+function gwe({ item: e }) {+ let t = oK({ names: !0 }), n = e.library_id ? t.get(e.library_id) : void 0;return n?.name ? /* @__PURE__ */ (0, I.jsxs)("span", {"data-list-library": "",title: `媒体库:${n.name}`,children: [/* @__PURE__ */ (0, I.jsx)(BH, { mark: n.icon }), /* @__PURE__ */ (0, I.jsx)("span", { children: n.name })]}) : "—";}-function gwe({ item: e, props: t }) {- iL();- let { avatar: n, who: r } = hK(e);+function _we({ item: e, props: t }) {+ rL();+ let { avatar: n, who: r } = mK(e);return /* @__PURE__ */ (0, I.jsxs)("div", {"data-list-people": "",onClick: (e) => {@@ -61654,22 +61654,22 @@ function gwe({ item: e, props: t }) {});}// src/react/catalog-grid/catalog-grid-page.tsx-function cY(e) {- let t = uG();- if (e.mode === "items") return /* @__PURE__ */ (0, I.jsx)(vwe, { ...e });- let n = e.mode === "entity" ? `entity:${e.entityKey || ""}:${e.revision}` : `catalog:${cP(e.filters || {}, !!e.excludeVertical)}:${e.batchSize || 60}:${e.revision}`;- if (t === "list" && !e.wall) return /* @__PURE__ */ (0, I.jsx)(pwe, { ...e }, n);+function sY(e) {+ let t = lG();+ if (e.mode === "items") return /* @__PURE__ */ (0, I.jsx)(ywe, { ...e });+ let n = e.mode === "entity" ? `entity:${e.entityKey || ""}:${e.revision}` : `catalog:${sP(e.filters || {}, !!e.excludeVertical)}:${e.batchSize || 60}:${e.revision}`;+ if (t === "list" && !e.wall) return /* @__PURE__ */ (0, I.jsx)(mwe, { ...e }, n);let r = e.mode === "entity" ? "entity" : `catalog:${!!e.wall}`;- return /* @__PURE__ */ (0, I.jsx)(ywe, { ...e }, r);+ return /* @__PURE__ */ (0, I.jsx)(bwe, { ...e }, r);}-function _we({ name: e }) {+function vwe({ name: e }) {return /* @__PURE__ */ (0, I.jsx)("svg", {viewBox: "0 0 24 24","aria-hidden": "true",children: /* @__PURE__ */ (0, I.jsx)("use", { href: `#i-${e}` })});}-function lY({ children: e, selectMode: t }) {+function cY({ children: e, selectMode: t }) {let n = (0, F.useRef)(null), [r, i] = (0, F.useState)(!1);return (0, F.useLayoutEffect)(() => {let e = n.current;@@ -61685,8 +61685,8 @@ function lY({ children: e, selectMode: t }) {children: e});}-function vwe(e) {- let { actions: t } = e, n = (0, F.useCallback)((e, n) => t.open(e, n), [t]), r = e.variant === "next" ? "next" : "grid", i = (e.items || []).map((i) => /* @__PURE__ */ (0, I.jsx)(_K, {+function ywe(e) {+ let { actions: t } = e, n = (0, F.useCallback)((e, n) => t.open(e, n), [t]), r = e.variant === "next" ? "next" : "grid", i = (e.items || []).map((i) => /* @__PURE__ */ (0, I.jsx)(gK, {item: i,variant: r,layout: e.layout,@@ -61700,13 +61700,13 @@ function vwe(e) {return r === "next" ? /* @__PURE__ */ (0, I.jsx)("div", {"data-media-next-row": "",children: i- }) : /* @__PURE__ */ (0, I.jsx)(lY, {+ }) : /* @__PURE__ */ (0, I.jsx)(cY, {selectMode: e.selectMode,children: i});}-function ywe(e) {- let { helpers: t, actions: n, layout: r } = e, i = e.mode === "entity", a = !i && e.filters?.state === "trash", o = i ? Pue(e) : Nue(e), [s] = (0, F.useState)(() => e.wall ? lP(o.queryKey) : void 0), c = JSON.stringify(o.queryKey), l = (0, F.useMemo)(() => e.restoreNavigation ? lP(o.queryKey) : void 0, [c, e.restoreNavigation]) || s || (i && e.initial ? {+function bwe(e) {+ let { helpers: t, actions: n, layout: r } = e, i = e.mode === "entity", a = !i && e.filters?.state === "trash", o = i ? Fue(e) : Pue(e), [s] = (0, F.useState)(() => e.wall ? cP(o.queryKey) : void 0), c = JSON.stringify(o.queryKey), l = (0, F.useMemo)(() => e.restoreNavigation ? cP(o.queryKey) : void 0, [c, e.restoreNavigation]) || s || (i && e.initial ? {pages: [{...e.initial,items: e.initial.items || [],@@ -61732,7 +61732,7 @@ function ywe(e) {u.isPlaceholderData,e.revision]);- let { tiles: f, pageStarts: p } = (0, F.useMemo)(() => Iue(u.data?.pages || [], {+ let { tiles: f, pageStarts: p } = (0, F.useMemo)(() => Lue(u.data?.pages || [], {collapse: e.groupCollapse !== !1,mix: !!e.mix && !a,javImage: r.javImage@@ -61742,7 +61742,7 @@ function ywe(e) {e.mix,a,r.javImage- ]), m = f.reduce((e, t) => e + +(t.kind === "card"), 0), h = Number(u.data?.pages[0]?.total || 0), g = i || Fye(e.filters), _ = !a && !e.selectMode && !!n.wallPlayer && !!n.wallDetails, v = f.flatMap((e) => e.kind === "card" && Aye(e.item) ? [e.item] : []), y = a ? [] : IK(f.flatMap((e) => e.kind === "card" ? [e.item] : []), r.javImage), b = (0, F.useRef)(null), x = bwe(e, u.isPlaceholderData ? void 0 : u.data, f, p, b);+ ]), m = f.reduce((e, t) => e + +(t.kind === "card"), 0), h = Number(u.data?.pages[0]?.total || 0), g = i || Iye(e.filters), _ = !a && !e.selectMode && !!n.wallPlayer && !!n.wallDetails, v = f.flatMap((e) => e.kind === "card" && jye(e.item) ? [e.item] : []), y = a ? [] : FK(f.flatMap((e) => e.kind === "card" ? [e.item] : []), r.javImage), b = (0, F.useRef)(null), x = xwe(e, u.isPlaceholderData ? void 0 : u.data, f, p, b);(0, F.useLayoutEffect)(() => {if (!u.data || u.isPlaceholderData) return;let t = !0;@@ -61770,12 +61770,12 @@ function ywe(e) {let C = (0, F.useCallback)((e, t) => n.open(e, t), [n]), w = (0, F.useCallback)((e, t) => n.openResource(e, t), [n]), T = (0, F.useCallback)((e) => n.openShort(e), [n]), E = (0, F.useCallback)(async () => {let e = await u.fetchNextPage();if (e.isFetchNextPageError) throw e.error;- }, [u.fetchNextPage]), D = (i) => i.kind === "mix" ? /* @__PURE__ */ (0, I.jsx)(Swe, {+ }, [u.fetchNextPage]), D = (i) => i.kind === "mix" ? /* @__PURE__ */ (0, I.jsx)(Cwe, {seed: i.seed,layout: r,helpers: t,actions: n- }, `mix:${i.seed.id}`) : /* @__PURE__ */ (0, I.jsx)(_K, {+ }, `mix:${i.seed.id}`) : /* @__PURE__ */ (0, I.jsx)(gK, {item: i.item,grouped: e.groupCollapse !== !1,variant: a && i.item.medium && i.item.medium !== "video" ? "resource" : "grid",@@ -61787,8 +61787,8 @@ function ywe(e) {actions: n,onOpen: a ? w : C}, i.item.id), O = () => {- if (_ && e.wall) return /* @__PURE__ */ (0, I.jsx)(xxe, {- sessionKey: i ? `entity:${e.entityKey || ""}` : `catalog:${cP(e.filters || {}, !!e.excludeVertical)}`,+ if (_ && e.wall) return /* @__PURE__ */ (0, I.jsx)(Sxe, {+ sessionKey: i ? `entity:${e.entityKey || ""}` : `catalog:${sP(e.filters || {}, !!e.excludeVertical)}`,items: v,finite: g,hasMore: !!u.hasNextPage,@@ -61796,7 +61796,7 @@ function ywe(e) {loading: u.isPending || !u.data && u.isFetching,error: !u.data && !u.isPending ? xn(u.error) : "",retry: () => void u.refetch(),- emptyHtml: u.data && !v.length ? wxe({+ emptyHtml: u.data && !v.length ? Txe({libraryEmpty: !!u.data.pages[0]?.libraryEmpty,matches: h,hasMore: !!u.hasNextPage,@@ -61811,7 +61811,7 @@ function ywe(e) {javImage: r.javImage}, g ? "finite" : "explore");if (u.isPending) return null;- if (!u.data) return /* @__PURE__ */ (0, I.jsx)(HG, {+ if (!u.data) return /* @__PURE__ */ (0, I.jsx)(VG, {message: xn(u.error),onRetry: () => void u.refetch()});@@ -61828,12 +61828,12 @@ function ywe(e) {return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)("div", {"data-media-sections": "","data-select-mode": e.selectMode ? "" : void 0,- children: zue(f, x).map((t) => /* @__PURE__ */ (0, I.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(lY, { children: t.tiles.map(D) }), t.strip ? /* @__PURE__ */ (0, I.jsx)(xwe, {+ children: Bue(f, x).map((t) => /* @__PURE__ */ (0, I.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(cY, { children: t.tiles.map(D) }), t.strip ? /* @__PURE__ */ (0, I.jsx)(Swe, {cut: t.strip,props: e,onOpen: T}) : null] }, t.start))- }), u.hasNextPage ? /* @__PURE__ */ (0, I.jsx)(uY, {+ }), u.hasNextPage ? /* @__PURE__ */ (0, I.jsx)(lY, {entity: i,load: E,enabled: () => !u.isPlaceholderData && e.canLoadMore?.() !== !1@@ -61843,14 +61843,14 @@ function ywe(e) {ref: b,"data-media-body": "","aria-busy": u.isFetching && !u.isFetchingNextPage,- children: [/* @__PURE__ */ (0, I.jsx)(LK, { assetIds: y }), e.wall ? O() : /* @__PURE__ */ (0, I.jsx)(UG, {+ children: [/* @__PURE__ */ (0, I.jsx)(IK, { assetIds: y }), e.wall ? O() : /* @__PURE__ */ (0, I.jsx)(HG, {pending: u.isPending,skeletonHtml: e.skeletonHtml,children: O()})]});}-function uY({ entity: e, load: t, enabled: n, children: r }) {+function lY({ entity: e, load: t, enabled: n, children: r }) {let i = (0, F.useRef)(null), a = (0, F.useRef)(null), o = (0, F.useRef)(!1), s = (0, F.useRef)(!1), [c, l] = (0, F.useState)({busy: !1,error: ""@@ -61892,7 +61892,7 @@ function uY({ entity: e, load: t, enabled: n, children: r }) {if (!e) return;let t = new IntersectionObserver((e) => {e.some((e) => e.isIntersecting) && d(!1);- }, { rootMargin: VG });+ }, { rootMargin: BG });return a.current = t, t.observe(e), () => {t.disconnect(), a.current = null;};@@ -61915,18 +61915,18 @@ function uY({ entity: e, load: t, enabled: n, children: r }) {hidden: !!c.error,onClick: () => void d(!0),dangerouslySetInnerHTML: { __html: Hs(Vs) }- }), c.error ? /* @__PURE__ */ (0, I.jsx)(HG, {+ }), c.error ? /* @__PURE__ */ (0, I.jsx)(VG, {message: c.error,onRetry: () => void d(!0)}) : null] });}-function bwe(e, t, n, r, i) {- let a = ["catalog-short-layout", cP(e.filters || {}, !!e.excludeVertical)], o = `${a[1]}:${e.revision}`, s = () => {+function xwe(e, t, n, r, i) {+ let a = ["catalog-short-layout", sP(e.filters || {}, !!e.excludeVertical)], o = `${a[1]}:${e.revision}`, s = () => {let t = e.restoreNavigation ? H.getQueryData(a) : void 0, n = {parts: /* @__PURE__ */ new Set(),editions: /* @__PURE__ */ new Set()};- return t && uP(t.cuts.flatMap((e) => e.items), n, e.groupCollapse !== !1), {+ return t && lP(t.cuts.flatMap((e) => e.items), n, e.groupCollapse !== !1), {stamp: o,cuts: t?.cuts || [],offset: t?.offset || 0,@@ -61952,7 +61952,7 @@ function bwe(e, t, n, r, i) {let r = new AbortController();p.controllers.push(r);let i = n - 1;- B(`/api/items?${Rue(e.filters || {}, p.offset)}`, r.signal).then((e) => {+ B(`/api/items?${zue(e.filters || {}, p.offset)}`, r.signal).then((e) => {if (c.current !== p || r.signal.aborted) return;let t = e.items || [];t.length ? f({@@ -61966,9 +61966,9 @@ function bwe(e, t, n, r, i) {}, [t, p]), (0, F.useLayoutEffect)(() => {if (!d || d.stamp !== o) return;f(null);- let t = m.reduce((e, t) => Math.max(e, t.at), 0), s = i.current?.querySelectorAll("[data-media-sections] > [data-media-grid]"), c = s?.[s.length - 1], l = c ? Math.max(1, getComputedStyle(c).gridTemplateColumns.split(" ").length) : 1, h = Math.max(0, (r[d.page] ?? 0) - t), g = Lue(n.length - t, h, l);+ let t = m.reduce((e, t) => Math.max(e, t.at), 0), s = i.current?.querySelectorAll("[data-media-sections] > [data-media-grid]"), c = s?.[s.length - 1], l = c ? Math.max(1, getComputedStyle(c).gridTemplateColumns.split(" ").length) : 1, h = Math.max(0, (r[d.page] ?? 0) - t), g = Rue(n.length - t, h, l);if (!g.length) return;- let _ = uP(d.items, p.groups, e.groupCollapse !== !1);+ let _ = lP(d.items, p.groups, e.groupCollapse !== !1);if (p.offset = d.more ? p.offset + 18 : 0, !_.length) return;let v = t + (g[Math.floor(Math.random() * g.length)] ?? 0), y = [...m, {at: v,@@ -61985,7 +61985,7 @@ function bwe(e, t, n, r, i) {});}, [d]), m;}-function xwe({ cut: e, props: t, onOpen: n }) {+function Swe({ cut: e, props: t, onOpen: n }) {let r = (0, F.useRef)(null), { wireDrag: i } = t;return (0, F.useEffect)(() => {r.current && i(r.current);@@ -62001,12 +62001,12 @@ function xwe({ cut: e, props: t, onOpen: n }) {type: "button","data-shorts-enter": "",onClick: () => t.actions.openShorts(),- children: [/* @__PURE__ */ (0, I.jsx)(_we, { name: "gallery-vertical-end" }), /* @__PURE__ */ (0, I.jsx)("span", { children: "进入沉浸模式" })]+ children: [/* @__PURE__ */ (0, I.jsx)(vwe, { name: "gallery-vertical-end" }), /* @__PURE__ */ (0, I.jsx)("span", { children: "进入沉浸模式" })]})] }), /* @__PURE__ */ (0, I.jsx)("div", {ref: r,"data-shorts-row": "",- children: e.items.map((e) => /* @__PURE__ */ (0, I.jsx)(_K, {+ children: e.items.map((e) => /* @__PURE__ */ (0, I.jsx)(gK, {item: e,variant: "short",layout: t.layout,@@ -62021,17 +62021,17 @@ function xwe({ cut: e, props: t, onOpen: n }) {})]});}-function dY(e, t, n) {+function uY(e, t, n) {return Eo(e, t.active && e.is_jav ? t.size : "small", n, t.javImage);}-function Swe({ seed: e, layout: t, helpers: n, actions: r }) {+function Cwe({ seed: e, layout: t, helpers: n, actions: r }) {let i = (0, F.useRef)(/* @__PURE__ */ new Map()), a = (0, F.useRef)(t);a.current = t;let o = Mo(e, n.tagLabel), s = (0, F.useCallback)(async () => {- let t = a.current, n = [e, ...await r.mixRelated(e.id)].filter((e) => dP(e, t.javImage)).slice(0, 9);- return i.current = new Map(n.map((e) => [String(e.id), dY(e, t, !0).html])), n.map((e) => String(e.id));- }, [e, r]), c = t.active && e.is_jav ? t.size : "small", l = dY(e, t, !1);- return /* @__PURE__ */ (0, I.jsx)(xK, {+ let t = a.current, n = [e, ...await r.mixRelated(e.id)].filter((e) => uP(e, t.javImage)).slice(0, 9);+ return i.current = new Map(n.map((e) => [String(e.id), uY(e, t, !0).html])), n.map((e) => String(e.id));+ }, [e, r]), c = t.active && e.is_jav ? t.size : "small", l = uY(e, t, !1);+ return /* @__PURE__ */ (0, I.jsx)(bK, {"data-mix-seed": String(e.id),name: `Mix · ${o}`,caption: `${n.displayName(e, e.name || "")}及相似作品`,@@ -62041,12 +62041,12 @@ function Swe({ seed: e, layout: t, helpers: n, actions: r }) {wholeCard: !0,poster: null,artwork: l,- artworkIdentity: c === "small" ? l.html : dY(e, {+ artworkIdentity: c === "small" ? l.html : uY(e, {...t,size: "small"}, !1).html,relayoutArt: (e) => El(e, c),- ratio: mK(e, "grid", t),+ ratio: pK(e, "grid", t),flipImages: s,faceHtml: (e) => i.current.get(e) || "",canFlip: r.canFlip,@@ -62057,37 +62057,37 @@ function Swe({ seed: e, layout: t, helpers: n, actions: r }) {});}// src/react/media-sources.ts-async function fY(e) {+async function dY(e) {await H.fetchQuery({queryKey: yr,queryFn: () => br(e)});}-var Cwe = (e) => (e?.sources ?? []).filter((e) => vn.includes(e.location) && (e.roots === void 0 || e.roots.length > 0)).map((e) => e.location), wwe = "/api/duplicates?limit=120", pY = ["duplicates"], mY = "/api/batch", hY = (e) => B(wwe, e), Twe = /[\s\-_.()[\]【】/\\]/;-function Ewe(e) {+var wwe = (e) => (e?.sources ?? []).filter((e) => vn.includes(e.location) && (e.roots === void 0 || e.roots.length > 0)).map((e) => e.location), Twe = "/api/duplicates?limit=120", fY = ["duplicates"], pY = "/api/batch", mY = (e) => B(Twe, e), Ewe = /[\s\-_.()[\]【】/\\]/;+function Dwe(e) {if (e.length < 2) return "";let t = 0, n = e[0];for (; t < n.length && e.every((e) => e[t] === n[t]);) t += 1;e.some((e) => e.length <= t) && (t = Math.max(0, t - 1));let r = t;- for (; r > 0 && !Twe.test(n[r - 1]);) --r;+ for (; r > 0 && !Ewe.test(n[r - 1]);) --r;return r >= 8 ? n.slice(0, r) : "";}-var Dwe = (e, t) => t && e.startsWith(t) && e.length > t.length ? `…${e.slice(t.length)}` : e;-async function Owe(e) {+var Owe = (e, t) => t && e.startsWith(t) && e.length > t.length ? `…${e.slice(t.length)}` : e;+async function kwe(e) {await Promise.all([H.fetchQuery({- queryKey: pY,- queryFn: () => hY(e)- }), fY(e)]);+ queryKey: fY,+ queryFn: () => mY(e)+ }), dY(e)]);}-var kwe = {+var Awe = {largest: "最大的一个",longest: "最长的一个",115: "115(没有则留最大)",pikpak: "PikPak(没有则留最大)",all: "零个文件"-}, Awe = (e, t) => t.filter((t) => e.some((e) => e.location === t)), gY = (e, t) => Awe(e, t).filter((t) => e.some((e) => e.location !== t)), jwe = (e, t) => t.filter((t) => e.some((e) => gY(e.files, [t]).length));-function Mwe(e, t) {+}, jwe = (e, t) => t.filter((t) => e.some((e) => e.location === t)), hY = (e, t) => jwe(e, t).filter((t) => e.some((e) => e.location !== t)), Mwe = (e, t) => t.filter((t) => e.some((e) => hY(e.files, [t]).length));+function Nwe(e, t) {let n = [];for (let r of e) {if (t === "all") {@@ -62106,19 +62106,19 @@ function Mwe(e, t) {}return n;}-function Nwe(e, t) {+function Pwe(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 Pwe(e, t) {- for (let n = 0; n < e.length; n += 200) await V(mY, {+async function Fwe(e, t) {+ for (let n = 0; n < e.length; n += 200) await V(pY, {ids: e.slice(n, n + 200),operation: t,...t === "dispose" ? { disposal_reason: "duplicate" } : {}});}// src/react/media-repair/media-repair.ts-var _Y = "/api/media-repair", vY = ["media-repair"], yY = ["media-repair", "libraries"], Fwe = {+var gY = "/api/media-repair", _Y = ["media-repair"], vY = ["media-repair", "libraries"], Iwe = {status: "idle",library: "",stage: "",@@ -62130,39 +62130,39 @@ var _Y = "/api/media-repair", vY = ["media-repair"], yY = ["media-repair", "librmissing_tool: 0,skipped: 0,message: ""-}, bY = (e) => B(_Y, e), xY = async (e) => (await B("/api/libraries", e)).libraries || [];-async function Iwe(e) {+}, yY = (e) => B(gY, e), bY = async (e) => (await B("/api/libraries", e)).libraries || [];+async function Lwe(e) {await Promise.all([H.fetchQuery({+ queryKey: _Y,+ queryFn: () => yY(e)+ }), H.fetchQuery({queryKey: vY,queryFn: () => bY(e)- }), H.fetchQuery({- queryKey: yY,- queryFn: () => xY(e)})]);}-var SY = (e) => Number(e).toLocaleString();-function Lwe(e) {+var xY = (e) => Number(e).toLocaleString();+function Rwe(e) {if (e.status === "running") {- let t = e.total ? `${SY(Math.min(e.checked || 0, e.total))} / ${SY(e.total)}` : "准备中";+ let t = e.total ? `${xY(Math.min(e.checked || 0, e.total))} / ${xY(e.total)}` : "准备中";return e.stage === "修复" && e.message ? `修复 ${t} · ${e.message}` : `${e.stage || "扫描"} ${t}`;}- return e.status === "complete" && (e.repaired || e.failed) ? e.failed ? `修好 ${SY(e.repaired)} 部,${SY(e.failed)} 部修不了` : `修好 ${SY(e.repaired)} 部` : "";+ return e.status === "complete" && (e.repaired || e.failed) ? e.failed ? `修好 ${xY(e.repaired)} 部,${xY(e.failed)} 部修不了` : `修好 ${xY(e.repaired)} 部` : "";}-var Rwe = (e) => `${SY(e.missing_tool)} 部缺索引的片子要装上 untrunc 才修得了,下载入口在配置页的「运行信息」里。`, zwe = "/api/quality-goals?limit=200", CY = ["quality-goals"], wY = (e) => B(zwe, e);-async function Bwe(e) {+var zwe = (e) => `${xY(e.missing_tool)} 部缺索引的片子要装上 untrunc 才修得了,下载入口在配置页的「运行信息」里。`, Bwe = "/api/quality-goals?limit=200", SY = ["quality-goals"], CY = (e) => B(Bwe, e);+async function Vwe(e) {await H.fetchQuery({- queryKey: CY,- queryFn: () => wY(e)+ queryKey: SY,+ queryFn: () => CY(e)});}-var Vwe = (e) => e.has_cover ? lo(e) : `/poster?id=${e.id}&c=4`;+var Hwe = (e) => e.has_cover ? lo(e) : `/poster?id=${e.id}&c=4`;// src/selection.ts-function TY(e, t, n, r, i, a = i || !e.has(r)) {+function wY(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;}// src/react/review/review.ts-var Hwe = "/api/review", Uwe = "/api/review/decision", Wwe = "/api/review/genre", EY = ["review"], DY = {+var Uwe = "/api/review", Wwe = "/api/review/decision", Gwe = "/api/review/genre", TY = ["review"], EY = {metadata_fields: "元数据字段",creator_tags: "创作者标签",studio_logos: "厂牌 Logo",@@ -62172,40 +62172,40 @@ var Hwe = "/api/review", Uwe = "/api/review/decision", Wwe = "/api/review/genre"fc2_markings: "FC2 评论标记",fc2_similarity: "FC2 跨号相似",video_endcards: "片尾/出处证据"-}, Gwe = Object.keys(DY), Kwe = "metadata_fields", OY = (e) => typeof e == "string" && Object.hasOwn(DY, e), qwe = {+}, Kwe = Object.keys(EY), qwe = "metadata_fields", DY = (e) => typeof e == "string" && Object.hasOwn(EY, e), Jwe = {creator_tags: "creator",western_identity: "creator"-}, kY = [+}, OY = ["pending","later","ignored"-], AY = {+], kY = {pending: "待处理",later: "稍后处理",ignored: "已忽略"-}, Jwe = {+}, Ywe = {approved: "已通过",rejected: "已忽略",skipped: "稍后处理"-}, jY = (e) => e === "later" || e === "ignored" ? e : "pending", MY = (e, t) => t === "pending" ? {+}, AY = (e) => e === "later" || e === "ignored" ? e : "pending", jY = (e, t) => t === "pending" ? {sections: e.sections,counts: e.counts} : e.queues[t];-function Ywe(e, t) {+function Xwe(e, t) {return {...e,- ...t(MY(e, "pending")),+ ...t(jY(e, "pending")),queues: {later: t(e.queues.later),ignored: t(e.queues.ignored)}};}-function Xwe(e, t) {+function Zwe(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 NY(e, t) {+function MY(e, t) {let n = /* @__PURE__ */ new Map();for (let r of e) {let e, i;@@ -62222,10 +62222,10 @@ function NY(e, t) {}return [...n.values()];}-function Zwe(e, t, n) {- return n && NY(e, t).find((e) => e.key === n)?.rows || e;+function Qwe(e, t, n) {+ return n && MY(e, t).find((e) => e.key === n)?.rows || e;}-function Qwe(e, t) {+function $we(e, t) {let n = gr(e.length, 20), r = _r(t, n);return {page: r,@@ -62233,32 +62233,32 @@ function Qwe(e, t) {rows: e.slice((r - 1) * 20, r * 20)};}-function $we(e) {+function eTe(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 eTe(e, t, n, r, i, a) {- return TY(e, t, n, r, i, a);+function tTe(e, t, n, r, i, a) {+ return wY(e, t, n, r, i, a);}-function tTe(e, t) {+function nTe(e, t) {return e === "metadata_fields" ? (t.candidates?.length || 0) > 0 : e !== "creator_tags" || String(t.status || "").trim() === "candidate";}-function PY(e, t) {+function NY(e, t) {return String(e === "metadata_fields" ? t.query || t.code || "" : t.creator || t.studio || t.current_name || t.name || t.item_key);}-var FY = (e, t) => e === "metadata_fields" ? String(t.field_label || t.field || "").trim() : "";-function nTe(e, t) {- let n = PY(e, t), r = FY(e, t);+var PY = (e, t) => e === "metadata_fields" ? String(t.field_label || t.field || "").trim() : "";+function rTe(e, t) {+ let n = NY(e, t), r = PY(e, t);return r ? `${n} · ${r}` : n;}-var rTe = (e) => e.reason || e.evidence || e.note || e.decision_note || "", iTe = (e) => String(e.tags || "").split("|").filter(Boolean), aTe = (e) => [...new Set((e.candidates || []).flatMap((e) => e.unmapped_genres || []))];-function oTe(e) {+var iTe = (e) => e.reason || e.evidence || e.note || e.decision_note || "", aTe = (e) => String(e.tags || "").split("|").filter(Boolean), oTe = (e) => [...new Set((e.candidates || []).flatMap((e) => e.unmapped_genres || []))];+function sTe(e) {let t = e.candidates || [];return {candidateKey: t.length === 1 ? t[0].candidate_key : "",assets: (e.preview_assets || []).map((e) => e.id)};}-function sTe(e, t, n, r) {+function cTe(e, t, n, r) {let i = !!t.asset_path && t.asset_mutation_revision != null;return {category: e,@@ -62274,22 +62274,22 @@ function sTe(e, t, n, r) {...i ? { expected_revision: t.asset_mutation_revision } : {}};}-var cTe = (e) => ({+var lTe = (e) => ({approved: "已通过资料",rejected: "已忽略资料",skipped: "已移至稍后处理",restore: "已恢复待处理"})[e];-async function IY(e) {- let t = await B(Hwe, e);- for (let e of ["later", "ignored"]) if (!t.queues?.[e]?.sections || !t.queues[e].counts) throw Error(`${AY[e]}状态未取得,请刷新或更新写入端`);+async function FY(e) {+ let t = await B(Uwe, e);+ for (let e of ["later", "ignored"]) if (!t.queues?.[e]?.sections || !t.queues[e].counts) throw Error(`${kY[e]}状态未取得,请刷新或更新写入端`);return t;}-async function lTe(e) {- let t = await V(Uwe, e);+async function uTe(e) {+ let t = await V(Wwe, e);if (t.ok && t.asset_revisions) {let e = t.asset_revisions;- H.setQueryData(EY, (t) => t && Ywe(t, (t) => ({+ H.setQueryData(TY, (t) => t && Xwe(t, (t) => ({...t,sections: {...t.sections,@@ -62305,33 +62305,33 @@ async function lTe(e) {}return t;}-function uTe(e, t) {- let n = H.getQueryData(EY);- return n && kY.flatMap((t) => MY(n, t).sections[e] || []).find((e) => e.item_key === t.item_key) || t;+function dTe(e, t) {+ let n = H.getQueryData(TY);+ return n && OY.flatMap((t) => jY(n, t).sections[e] || []).find((e) => e.item_key === t.item_key) || t;}-var dTe = (e, t) => V(Wwe, {+var fTe = (e, t) => V(Gwe, {genre: e,tag: t});-async function fTe(e) {+async function pTe(e) {await H.fetchQuery({- queryKey: EY,- queryFn: () => IY(e)+ queryKey: TY,+ queryFn: () => FY(e)});}-function pTe(e, t, n) {+function mTe(e, t, n) {let r = new Set(t);- r.size && H.setQueryData(EY, (t) => {+ r.size && H.setQueryData(TY, (t) => {if (!t) return t;- let i = kY.flatMap((n) => MY(t, n).sections[e] || []).filter((e) => r.has(e.item_key));+ let i = OY.flatMap((n) => jY(t, n).sections[e] || []).filter((e) => r.has(e.item_key));if (!i.length) return t;let a = {skipped: "later",rejected: "ignored",restore: "pending",approved: null- }[n], o = Object.fromEntries(kY.map((o) => {- let s = MY(t, o), c = (s.sections[e] || []).filter((e) => !r.has(e.item_key)), l = a === o ? [...c, ...i.map((e) => ({+ }[n], o = Object.fromEntries(OY.map((o) => {+ let s = jY(t, o), c = (s.sections[e] || []).filter((e) => !r.has(e.item_key)), l = a === o ? [...c, ...i.map((e) => ({...e,decision: n === "restore" ? "pending" : n,decision_note: ""@@ -62358,254 +62358,258 @@ function pTe(e, t, n) {};});}-var mTe = () => H.invalidateQueries({- queryKey: EY,+var hTe = () => H.invalidateQueries({+ queryKey: TY,exact: !0});-function hTe(e, t) {+function gTe(e, t) {return e?.state === "live" ? "正在显示写入端的实时复核队列" : e?.state === "cached" ? `写入端暂时不可达,显示 ${Cr(e.fetched_at)} 的缓存` : e?.error || t;}// src/react/data-cleanup/links.ts-var gTe = "/api/links", LY = "/api/links/check", RY = "/api/links/prune", zY = ["links"], BY = ["links", "check"], VY = ["links", "prune"], _Te = {+var _Te = "/api/links", IY = "/api/links/check", LY = "/api/links/prune", RY = ["links"], zY = ["links", "check"], BY = ["links", "prune"], vTe = {official: "官网/事务所",social: "社交账号",catalog: "作品资料站",source_reference: "资料出处"};-async function HY(e) {+async function VY(e) {let t = await e;if (t.ok === !1) throw Error(t.error || "操作未完成,请重试");return t;}-var UY = (e) => B(gTe, e), WY = (e) => V(LY, { status_only: !0 }, "POST", e), vTe = ({ retry: e, checkId: t }) => HY(V(LY, e ? {+var HY = (e) => B(_Te, e), UY = (e) => V(IY, { status_only: !0 }, "POST", e), yTe = ({ retry: e, checkId: t }) => VY(V(IY, e ? {retry: e,check_id: t-} : { restart: !0 })), GY = (e) => B(RY, e), yTe = ({ checkId: e, ids: t }) => HY(V(RY, {+} : { restart: !0 })), WY = (e) => B(LY, e), bTe = ({ checkId: e, ids: t }) => VY(V(LY, {confirm: !0,check_id: e,background: !0,...t ? { ids: t } : {}-})), KY = (e) => Number(e || 0).toLocaleString(), bTe = (e) => `已删除 ${KY(e.removed)} 条;${e.marked ? `已隐退女优的 ${KY(e.marked)} 条留作不可点的记录;` : ""}保留 ${KY(e.recovered)} 条未确认失效的链接。`;-function xTe(e) {+})), GY = (e) => Number(e || 0).toLocaleString(), xTe = (e) => `已删除 ${GY(e.removed)} 条;${e.marked ? `已隐退女优的 ${GY(e.marked)} 条留作不可点的记录;` : ""}保留 ${GY(e.recovered)} 条未确认失效的链接。`;+function STe(e) {let t = e.scope === "retry";- return e.total ? `${t ? "已重验" : "已检查"} ${KY(e.checked)} / ${KY(e.total)} 条链接` : t ? "正在重验链接" : "正在检查链接";+ return e.total ? `${t ? "已重验" : "已检查"} ${GY(e.checked)} / ${GY(e.total)} 条链接` : t ? "正在重验链接" : "正在检查链接";}// src/configuration-endpoints.ts-var qY = "/api/configuration", JY = "/api/pick-folder", YY = "/api/settings", XY = "/api/follow/schedule", ZY = "/api/feeds/schedule", QY = "/api/thumbnail-jobs", $Y = ["settings"], eX = ["follow-schedule"], tX = ["feed-schedule"], nX = ["thumbnail-jobs"], rX = "/api/media-processing", STe = ["media-processing"], CTe = (e) => B(rX, e), iX = (e) => B(YY, e), wTe = (e) => B(XY, e), TTe = (e) => B(ZY, e), ETe = (e) => B(QY, e);-function DTe(e = H) {+var KY = "/api/configuration", qY = "/api/pick-folder", JY = "/api/settings", YY = "/api/follow/schedule", XY = "/api/feeds/schedule", ZY = "/api/thumbnail-jobs", QY = ["settings"], $Y = ["follow-schedule"], eX = ["feed-schedule"], tX = ["thumbnail-jobs"], nX = "/api/media-processing", CTe = ["media-processing"], wTe = (e) => B(nX, e), rX = (e) => B(JY, e), TTe = (e) => B(YY, e), ETe = (e) => B(XY, e), DTe = (e) => B(ZY, e);+function OTe(e = H) {return e.fetchQuery({- queryKey: $Y,- queryFn: ({ signal: e }) => iX(e),+ queryKey: QY,+ queryFn: ({ signal: e }) => rX(e),staleTime: 0}).catch(() => null);}-function aX() {+function iX() {return It({- mutationFn: (e) => V(YY, e),- onSuccess: (e) => H.setQueryData($Y, e)+ mutationFn: (e) => V(JY, e),+ onSuccess: (e) => H.setQueryData(QY, e)});}-function OTe() {+function kTe() {return It({- mutationFn: (e) => V(XY, {+ mutationFn: (e) => V(YY, {enabled: e > 0,interval_minutes: e || 60}),- onSuccess: (e) => H.setQueryData(eX, e)+ onSuccess: (e) => H.setQueryData($Y, e)});}-var kTe = {+var ATe = {follow: {- url: `${XY}/run`,- key: eX+ url: `${YY}/run`,+ key: $Y},feed: {- url: `${ZY}/run`,- key: tX+ url: `${XY}/run`,+ key: eX}};-function ATe(e) {- let { url: t, key: n } = kTe[e];+function jTe(e) {+ let { url: t, key: n } = ATe[e];return It({mutationFn: () => V(t, {}),onSuccess: (e) => H.setQueryData(n, e)});}-var jTe = (e) => e?.running ? 3e3 : !1;-function MTe() {+var MTe = (e) => e?.running ? 3e3 : !1;+function NTe() {return It({- mutationFn: (e) => V(QY, { mode: e }),- onSuccess: (e) => H.setQueryData(nX, e)+ mutationFn: (e) => V(ZY, { mode: e }),+ onSuccess: (e) => H.setQueryData(tX, e)});}// src/react/data-cleanup/organize.ts-var NTe = "/api/organize", PTe = "/api/organize/preview", FTe = "/api/organize/apply", ITe = "/api/organize/rollback", oX = ["organize"], LTe = "/api/organize/example", RTe = (e, t, n) => B(`${LTe}?${new URLSearchParams({+var PTe = "/api/organize", FTe = "/api/organize/preview", ITe = "/api/organize/apply", LTe = "/api/organize/rollback", aX = ["organize"], RTe = "/api/organize/example", zTe = (e, t, n) => B(`${RTe}?${new URLSearchParams({file_template: e,dir_template: t-})}`, n), sX = (e) => B(NTe, e);-async function zTe(e) {+})}`, n), oX = (e) => B(PTe, e);+async function BTe(e) {await H.fetchQuery({- queryKey: oX,- queryFn: () => sX(e)+ queryKey: aX,+ queryFn: () => oX(e)});}-var BTe = (e) => V(PTe, e), VTe = (e) => V(JY, { initial: e }), HTe = (e) => e.kind === "apply" ? V(FTe, {+var VTe = (e) => V(FTe, e), HTe = (e) => V(qY, { initial: e }), UTe = (e) => e.kind === "apply" ? V(ITe, {...e.request,confirm: !0-}) : V(ITe, { confirm: !0 });-async function UTe(e) {- H.setQueryData(oX, (t) => t && {+}) : V(LTe, { confirm: !0 });+async function WTe(e) {+ H.setQueryData(aX, (t) => t && {...t,templates: e});try {- await V(YY, { organizeTemplates: e });+ await V(JY, { organizeTemplates: e });} catch {}}-var WTe = (e, t) => e && {+var GTe = (e, t) => e && {...e,...t-}, GTe = /目录模板|分隔符|盘符|`\.`/;-function KTe(e) {+}, KTe = /目录模板|分隔符|盘符|`\.`/;+function qTe(e) {let t = String(e || "");return t.slice(Math.max(t.lastIndexOf("\\"), t.lastIndexOf("/")) + 1);}-var cX = (e) => Number(e || 0).toLocaleString();-function qTe(e) {- let t = Object.entries(e.reasons || {}).sort((e, t) => t[1] - e[1]).map(([e, t]) => `${e} ${cX(t)}`).join(" · ");- return Number(e.counts?.change || 0) ? `${cX(e.counts.change)} 个文件会改名或移动,${cX(e.counts.unchanged)} 个已经就是目标名字${t ? `;跳过 ${t}` : ""}。` : `没有要改的文件。${t ? `跳过:${t}。` : ""}`;-}+var sX = (e) => Number(e || 0).toLocaleString();function JTe(e) {+ let t = Object.entries(e.reasons || {}).sort((e, t) => t[1] - e[1]).map(([e, t]) => `${e} ${sX(t)}`).join(" · ");+ return Number(e.counts?.change || 0) ? `${sX(e.counts.change)} 个文件会改名或移动,${sX(e.counts.unchanged)} 个已经就是目标名字${t ? `;跳过 ${t}` : ""}。` : `没有要改的文件。${t ? `跳过:${t}。` : ""}`;+}+function YTe(e) {let t = e.restored !== void 0, n = Number(e.failed || 0), r = Number(t ? e.restored : e.moved || 0);return {- text: t ? `已退回 ${cX(r)} 个文件${n ? `,${cX(n)} 行未能退回` : ""}。` : `已整理 ${cX(r)} 个文件${n ? `,${cX(n)} 行未能处理` : ""}。`,+ text: t ? `已退回 ${sX(r)} 个文件${n ? `,${sX(n)} 行未能退回` : ""}。` : `已整理 ${sX(r)} 个文件${n ? `,${sX(n)} 行未能处理` : ""}。`,failed: n,rollback: t};}// src/react/data-cleanup/orphan-records.ts-var YTe = "/api/orphan-records", XTe = "/api/orphan-records/attach", lX = ["orphan-records"], ZTe = [+var XTe = "/api/orphan-records", ZTe = "/api/orphan-records/attach", cX = ["orphan-records"], QTe = [["asset_preference", "喜欢与理由"],["watch_queue", "稍后看"],["playlist_item", "播放列表"],["asset_quality_goal", "寻找更好版本"],["activity_event", "观看历史"],["asset_tag_preference", "隐藏标签"]-], uX = (e) => B(YTe, e), QTe = (e, t) => V(XTe, {+], lX = (e) => B(XTe, e), $Te = (e, t) => V(ZTe, {id: e,target: t-}), $Te = (e) => V(mY, {+}), eEe = (e) => V(pY, {ids: Array.isArray(e) ? e : [e],operation: "delete"-}), eEe = (e) => [+}), tEe = (e) => [e.rating ? `评分 ${e.rating}` : "",e.play_count ? `播放 ${Number(e.play_count).toLocaleString()} 次` : e.last_played ? "播放过" : "",e.o_count ? `高潮 ${Number(e.o_count).toLocaleString()} 次` : ""-], tEe = (e) => [...ZTe.filter(([t]) => e[t]).map(([t, n]) => `${n} ${Number(e[t]).toLocaleString()}`), ...eEe(e)].filter(Boolean).join(" · "), nEe = (e) => e ? `${Math.round(e / 60)} 分钟` : "", rEe = (e) => [e.name, nEe(e.duration)].filter(Boolean).join(" · "), dX = "/api/resource-sync/scan", fX = "/api/resource-sync/apply", pX = ["resource-sync", "scan"], mX = ["resource-sync", "apply"], hX = (e) => V(dX, {+], nEe = (e) => [...QTe.filter(([t]) => e[t]).map(([t, n]) => `${n} ${Number(e[t]).toLocaleString()}`), ...tEe(e)].filter(Boolean).join(" · "), rEe = (e) => e ? `${Math.round(e / 60)} 分钟` : "", iEe = (e) => [e.name, rEe(e.duration)].filter(Boolean).join(" · "), uX = "/api/resource-sync/scan", dX = "/api/resource-sync/apply", fX = ["resource-sync", "scan"], pX = ["resource-sync", "apply"], mX = (e) => V(uX, {background: !0,status_only: !0-}, "POST", e), iEe = () => V(dX, {+}, "POST", e), aEe = () => V(uX, {background: !0,restart: !0-}), gX = (e) => B(fX, e), aEe = (e) => V(fX, {+}), hX = (e) => B(dX, e), oEe = (e) => V(dX, {confirm: !0,clean_cache: !0,scan_id: e,background: !0-}), _X = (e) => (e?.sources ?? []).some((e) => _n.includes(e.location) && Array.isArray(e.roots) && e.roots.length > 0);-async function oEe(e) {- _X(H.getQueryData(yr)) && await Promise.all([H.fetchQuery({+}), gX = (e) => (e?.sources ?? []).some((e) => _n.includes(e.location) && Array.isArray(e.roots) && e.roots.length > 0);+async function sEe(e) {+ gX(H.getQueryData(yr)) && await Promise.all([H.fetchQuery({+ queryKey: fX,+ queryFn: () => mX(e)+ }), H.fetchQuery({queryKey: pX,queryFn: () => hX(e)- }), H.fetchQuery({- queryKey: mX,- queryFn: () => gX(e)})]);}-var sEe = (e) => !!(e?.missing || e?.empty || e?.cache?.files), vX = (e) => Number(e || 0).toLocaleString(), cEe = (e) => e.total_sources ? `已扫描 ${e.completed_sources || 0}/${e.total_sources} 个来源` : "正在扫描来源", yX = (e) => e.purge ?? Number(e.missing || 0) - Number(e.vanish || 0), bX = (e) => e.vanish ? `${vX(e.vanish)} 条作品记录的文件已丢失,个人记录保留,可在「文件已丢失的记录」中转移个人记录或删除记录。` : "", xX = (e) => e.vanish ? "这几样不可撤销。" : "这一步不可撤销。", lEe = (e) => `将永久删除文件已不在盘上的 ${vX(yX(e))} 条记录和 ${vX(e.empty)} 个空文件夹,并清理 ${vX(e.cache?.files)} 个闲置缓存。${xX(e)}${bX(e)}`, uEe = (e) => `将永久删除文件已不在盘上的 ${vX(yX(e))} 条记录(含回收站里的)、${vX(e.empty)} 个空文件夹,并清理 ${vX(e.cache?.files)} 个闲置缓存。来源根目录保留。${xX(e)}${bX(e)}`, dEe = (e) => e.online ? [- `找不到文件 · 共 ${vX(e.total)} 项`,- e.vanish ? `${vX(e.vanish)} 项带个人记录` : "",- e.empty ? `空文件夹 ${vX(e.empty)} 个` : ""-].filter(Boolean).join(" · ") : `馆藏中有 ${vX(e.total)} 项`;-function SX(e) {+var cEe = (e) => !!(e?.missing || e?.empty || e?.cache?.files), _X = (e) => Number(e || 0).toLocaleString(), lEe = (e) => e.total_sources ? `已扫描 ${e.completed_sources || 0}/${e.total_sources} 个来源` : "正在扫描来源", vX = (e) => e.purge ?? Number(e.missing || 0) - Number(e.vanish || 0), yX = (e) => e.vanish ? `${_X(e.vanish)} 条作品记录的文件已丢失,个人记录保留,可在「文件已丢失的记录」中转移个人记录或删除记录。` : "", bX = (e) => e.vanish ? "这几样不可撤销。" : "这一步不可撤销。", uEe = (e) => `将永久删除文件已不在盘上的 ${_X(vX(e))} 条记录和 ${_X(e.empty)} 个空文件夹,并清理 ${_X(e.cache?.files)} 个闲置缓存。${bX(e)}${yX(e)}`, dEe = (e) => `将永久删除文件已不在盘上的 ${_X(vX(e))} 条记录(含回收站里的)、${_X(e.empty)} 个空文件夹,并清理 ${_X(e.cache?.files)} 个闲置缓存。来源根目录保留。${bX(e)}${yX(e)}`, fEe = (e) => e.online ? [+ `找不到文件 · 共 ${_X(e.total)} 项`,+ e.vanish ? `${_X(e.vanish)} 项带个人记录` : "",+ e.empty ? `空文件夹 ${_X(e.empty)} 个` : ""+].filter(Boolean).join(" · ") : `馆藏中有 ${_X(e.total)} 项`;+function xX(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 ? `${vX(t.length)} 条记录没有删除(${o})` : "",- n ? `${vX(n)} 个文件夹没有删除` : "",- r.length ? `${vX(r.length)} 个缓存没有清理` : ""+ t.length ? `${_X(t.length)} 条记录没有删除(${o})` : "",+ n ? `${_X(n)} 个文件夹没有删除` : "",+ r.length ? `${_X(r.length)} 个缓存没有清理` : ""].filter(Boolean).join(",")};}-var fEe = (e, t) => {- let { rest: n } = SX(e), r = `已永久删除 ${vX(e.purged)} 条失效记录和 ${vX(e.dirs_removed)} 个空文件夹,清理 ${vX(e.cache_removed)} 个缓存,释放 ${t(e.bytes_reclaimed || 0)}。` + (e.vanished ? `${vX(e.vanished)} 条作品记录已标为文件丢失,可在「文件已丢失的记录」中处理。` : "") + (e.reattached ? `${vX(e.reattached)} 条的记录已接到库里的另一个版本。` : "");+var pEe = (e, t) => {+ let { rest: n } = xX(e), r = `已永久删除 ${_X(e.purged)} 条失效记录和 ${_X(e.dirs_removed)} 个空文件夹,清理 ${_X(e.cache_removed)} 个缓存,释放 ${t(e.bytes_reclaimed || 0)}。` + (e.vanished ? `${_X(e.vanished)} 条作品记录已标为文件丢失,可在「文件已丢失的记录」中处理。` : "") + (e.reattached ? `${_X(e.reattached)} 条的记录已接到库里的另一个版本。` : "");return n ? `${r}${n},重新检查后可再试。` : r;-}, CX = ["performer-delete-candidates"], wX = (e) => B("/api/performer/delete-candidates", e), pEe = (e, t) => B(`/api/performer/delete-plan?${new URLSearchParams({ ids: e.join(",") })}`, t), mEe = (e) => V("/api/performer/delete", {+}, SX = ["performer-delete-candidates"], CX = (e) => B("/api/performer/delete-candidates", e), mEe = (e, t) => B(`/api/performer/delete-plan?${new URLSearchParams({ ids: e.join(",") })}`, t), hEe = (e) => V("/api/performer/delete", {entity_ids: e.entity_ids,plan: e.plan-}), hEe = "/api/review?counts=1", TX = ["review", "counts"], gEe = "/api/ads?limit=1", EX = ["junk-summary"], DX = "/api/items?state=trash&limit=1", OX = ["trash-summary"], _Ee = [+}), gEe = "/api/review?counts=1", wX = ["review", "counts"], _Ee = "/api/ads?limit=1", TX = ["junk-summary"], EX = "/api/items?state=trash&limit=1", DX = ["trash-summary"], vEe = [["video", "视频"],["image", "图片"],["archive", "压缩包"],["audio", "音频"],["url", "网址"],["other", "其它"]-], kX = (e) => B(hEe, e), AX = (e) => B(gEe, e), jX = (e) => {+], OX = (e) => B(gEe, e), kX = (e) => B(_Ee, e), AX = (e) => {let t = sessionStorage.getItem("peach.library");- return B(t ? `${DX}&library=${encodeURIComponent(t)}` : DX, e);-}, MX = (e) => Number(e || 0).toLocaleString();-function vEe(e) {- let t = DY, 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 B(t ? `${EX}&library=${encodeURIComponent(t)}` : EX, e);+}, jX = (e) => Number(e || 0).toLocaleString();+function yEe(e) {+ let t = EY, n = Object.entries(e?.counts ?? {}).map(([e, n]) => [t[e] || e, Number(n) || 0]).filter(([, e]) => e > 0).sort((e, t) => t[1] - e[1]), r = n.reduce((e, [, t]) => e + t, 0), i = n.slice(0, 3).map(([e, t]) => `${e} ${t.toLocaleString()}`), a = n.slice(3).reduce((e, [, t]) => e + t, 0);return a && i.push(`其余 ${a.toLocaleString()}`), {figure: `${r.toLocaleString()} 条待复核`,meta: i.join(" · ")};}-function yEe(e) {+function bEe(e) {if (!e) return "";- let t = _Ee.filter(([t]) => Number(e.counts?.[t]) > 0).map(([t, n]) => `${n} ${MX(e.counts[t])}`);- return Number(e.dismissed_total) > 0 && t.push(`已忽略 ${MX(e.dismissed_total)}`), t.join(" · ");+ let t = vEe.filter(([t]) => Number(e.counts?.[t]) > 0).map(([t, n]) => `${n} ${jX(e.counts[t])}`);+ return Number(e.dismissed_total) > 0 && t.push(`已忽略 ${jX(e.dismissed_total)}`), t.join(" · ");}-var bEe = [+var xEe = [+ [wX, ({ signal: e }) => OX(e)],+ [SY, ({ signal: e }) => CY(e)],+ [DX, ({ signal: e }) => AX(e)],[TX, ({ signal: e }) => kX(e)],- [CY, ({ signal: e }) => wY(e)],- [OX, ({ signal: e }) => jX(e)],- [EX, ({ signal: e }) => AX(e)],- [pY, ({ signal: e }) => hY(e)]+ [fY, ({ signal: e }) => mY(e)]];-async function xEe(e) {- for (let [t, n] of bEe) H.prefetchQuery({+async function SEe(e) {+ for (let [t, n] of xEe) H.prefetchQuery({queryKey: t,queryFn: () => n({ signal: e })});await sH(e);}-async function SEe(e, t) {+async function CEe(e, t) {switch (e) {case "organize":- await zTe(t);+ await BTe(t);break;case "media-repair":- await Iwe(t);+ await Lwe(t);break;case "resource-sync":- await fY(t), await oEe(t);+ await dY(t), await sEe(t);break;case "orphan-records":await H.prefetchQuery({- queryKey: lX,- queryFn: () => uX(t)+ queryKey: cX,+ queryFn: () => lX(t)});break;case "batch-delete":await H.prefetchQuery({- queryKey: CX,- queryFn: () => wX(t)+ queryKey: SX,+ queryFn: () => CX(t)});break;case "links": await Promise.all([+ H.prefetchQuery({+ queryKey: RY,+ queryFn: () => HY(t)+ }),H.prefetchQuery({queryKey: zY,queryFn: () => UY(t)@@ -62613,17 +62617,13 @@ async function SEe(e, t) {H.prefetchQuery({queryKey: BY,queryFn: () => WY(t)- }),- H.prefetchQuery({- queryKey: VY,- queryFn: () => GY(t)})]);}}// src/react/feed-new/feed-new.ts-var NX = (e) => ["feed-new", e ?? "home"], CEe = 8, wEe = 1500;-function TEe(e, t, n) {+var MX = (e) => ["feed-new", e ?? "home"], wEe = 8, TEe = 1500;+function EEe(e, t, n) {let r = document.createElement("template");r.innerHTML = e;let i = [...r.content.querySelectorAll("img[src]")].slice(0, t).map((e) => {@@ -62634,33 +62634,33 @@ function TEe(e, t, n) {setTimeout(e, n);})]);}-async function EEe(e, t, n) {- let r = new URLSearchParams({ limit: String(iM().value.feedLimit) });+async function DEe(e, t, n) {+ let r = new URLSearchParams({ limit: String(rM().value.feedLimit) });e && r.set("entity", String(e));let i = await Tn(`/api/feeds/discoveries?${r}`).catch(() => null), a = i && !i.error ? i : null, o = a?.items || [], s = t(a, e ? "" : "/jav?tab=releases");- return n && o.length && await TEe(s, CEe, wEe), {+ return n && o.length && await EEe(s, wEe, TEe), {items: o,html: s,fetching: o.some((e) => e.cover_fetching && !e.has_cover)};}-var PX = (e, t, n = !1) => ({- queryKey: NX(e),- queryFn: () => EEe(e, t, n),+var NX = (e, t, n = !1) => ({+ queryKey: MX(e),+ queryFn: () => DEe(e, t, n),staleTime: Infinity,refetchInterval: (e) => e.state.data?.fetching ? 2e3 : !1-}), FX = (e, t) => Tn("/api/feeds/discovery", {+}), PX = (e, t) => Tn("/api/feeds/discovery", {method: "POST",body: JSON.stringify({action: t,ids: [e]})}).then(() => void 0, () => void 0);-async function DEe(e) {- H.removeQueries({ queryKey: NX(null) }), await H.fetchQuery(PX(null, e.helpers.feedRowHtml, e.host.getAttribute("aria-busy") === "true"));+async function OEe(e) {+ H.removeQueries({ queryKey: MX(null) }), await H.fetchQuery(NX(null, e.helpers.feedRowHtml, e.host.getAttribute("aria-busy") === "true"));}// src/react/entity-page/entity-page.ts-var IX = [+var FX = ["loc","creator","tag",@@ -62674,52 +62674,52 @@ var IX = ["browse","folder","folder_recursive"-], LX = {+], IX = {media: "videos",set: 0-}, RX = (e, t) => [+}, LX = (e, t) => ["entity",e,t-], OEe = (e, t, n, r) => [+], kEe = (e, t, n, r) => ["entity-items",e,t,n,r-], zX = (e, t, n, r) => [+], RX = (e, t, n, r) => ["entity-photos",e,t,n,r-], BX = (e) => String(e || "").split(",").filter(Boolean), kEe = (e, t) => BX(e).includes(t);-function VX(e, t, n, r, i = 0) {+], zX = (e) => String(e || "").split(",").filter(Boolean), AEe = (e, t) => zX(e).includes(t);+function BX(e, t, n, r, i = 0) {let a = new URLSearchParams();- a.set(e, t), e === "tag" && (a.set("tag", [.../* @__PURE__ */ new Set([t, ...BX(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 IX) n[t] && t !== e && t !== "sort" && a.set(t, n[t]);+ a.set(e, t), e === "tag" && (a.set("tag", [.../* @__PURE__ */ new Set([t, ...zX(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 FX) n[t] && t !== e && t !== "sort" && a.set(t, n[t]);return r.jav && a.set("jav", "1"), a;}-async function HX(e, t, n, r, i, a, o) {- let s = VX(e, t, n, r, i);+async function VX(e, t, n, r, i, a, o) {+ let s = BX(e, t, n, r, i);return o && (s.set("limit", String(o.limit)), s.delete("count"), o.sort && s.set("sort", o.sort), o.dir && s.set("dir", o.dir)), await Tn(`/api/items?${s}`, a ? { signal: a } : {});}-var UX = (e) => {+var HX = (e) => {let t = {jav: e.jav,seed: e.seed- }, n = VX(e.kind, e.name, e.filters, t).toString();+ }, n = BX(e.kind, e.name, e.filters, t).toString();return {- queryKey: OEe(e.kind, e.name, n, e.revision),- queryFn: ({ signal: n }) => HX(e.kind, e.name, e.filters, t, 0, n),+ queryKey: kEe(e.kind, e.name, n, e.revision),+ queryFn: ({ signal: n }) => VX(e.kind, e.name, e.filters, t, 0, n),staleTime: Infinity};-}, WX = (e, t) => ({- queryKey: RX(e, t),+}, UX = (e, t) => ({+ queryKey: LX(e, t),queryFn: ({ signal: n }) => Tn(`/api/entity?kind=${encodeURIComponent(e)}&name=${encodeURIComponent(t)}`, { signal: n }),staleTime: Infinity});-function AEe(e, t, n, r, i, a) {+function jEe(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)}` : ""}`;@@ -62728,10 +62728,10 @@ function AEe(e, t, n, r, i, a) {let s = r ? `&seed=${encodeURIComponent(r)}` : "";return n ? `/api/photo-set?id=${n}&limit=120${s}` : r ? `/api/photos?${o}&limit=120${s}` : `/api/photos?${o}`;}-var GX = (e, t, n, r) => ({- queryKey: zX(e, t, n, r),+var WX = (e, t, n, r) => ({+ queryKey: RX(e, t, n, r),queryFn: async ({ pageParam: i }) => {- let a = await Tn(AEe(e, t, n, r, i?.offset || 0, i?.seed || "")).catch((e) => {+ let a = await Tn(jEe(e, t, n, r, i?.offset || 0, i?.seed || "")).catch((e) => {if (i) throw e;return { error: String(e) };});@@ -62744,8 +62744,8 @@ var GX = (e, t, n, r) => ({seed: t[0]?.seed || ""} : void 0,staleTime: Infinity-}), KX = (e) => e && !e.error ? (e.sets || []).filter((e) => e.kind === "code") : [];-async function jEe(e) {+}), GX = (e) => e && !e.error ? (e.sets || []).filter((e) => e.kind === "code") : [];+async function MEe(e) {let { kind: t, name: n } = e;if (!e.restoreNavigation) for (let e of ["entity",@@ -62756,25 +62756,25 @@ async function jEe(e) {t,n] });- e.resolvedEntity?.id && H.setQueryData(RX(t, n), e.resolvedEntity), await Promise.all([- H.fetchQuery(WX(t, n)).then((t) => !t || t.error || !t.id ? null : (e.restoreNavigation || H.removeQueries({ queryKey: NX(Number(t.id)) }), H.fetchQuery(PX(Number(t.id), e.helpers.feedRowHtml, !0)))),- H.fetchQuery(UX(e)),- H.fetchInfiniteQuery(GX(t, n, 0, "")),- e.media.media === "photos" && e.media.set ? H.fetchInfiniteQuery(GX(t, n, e.media.set, "")) : null+ e.resolvedEntity?.id && H.setQueryData(LX(t, n), e.resolvedEntity), await Promise.all([+ H.fetchQuery(UX(t, n)).then((t) => !t || t.error || !t.id ? null : (e.restoreNavigation || H.removeQueries({ queryKey: MX(Number(t.id)) }), H.fetchQuery(NX(Number(t.id), e.helpers.feedRowHtml, !0)))),+ H.fetchQuery(HX(e)),+ H.fetchInfiniteQuery(WX(t, n, 0, "")),+ e.media.media === "photos" && e.media.set ? H.fetchInfiniteQuery(WX(t, n, e.media.set, "")) : null]);}// src/identity-filter.ts-var qX = [+var KX = [["all", "全部"],["japanese_av", "女优"],["amateur", "素人"],["western", "西方"],["blogger", "网黄博主"],["animation", "动画作者"]-], JX = "mb-4 flex flex-wrap gap-2";-function MEe(e) {- let t = qX.some(([t]) => t === e) ? e : "all";- return `<div class="peach-react"><div aria-label="身份分类" class="${JX}">${qX.map(([e, n]) => Os({+], qX = "mb-4 flex flex-wrap gap-2";+function NEe(e) {+ let t = KX.some(([t]) => t === e) ? e : "all";+ return `<div class="peach-react"><div aria-label="身份分类" class="${qX}">${KX.map(([e, n]) => Os({variant: e === t ? "primary" : "secondary",size: "small",label: n,@@ -62782,45 +62782,45 @@ function MEe(e) {})).join("")}</div></div>`;}// src/react/follow/online-vocab.ts-var NEe = "/api/follow/authors", PEe = "/api/follow/tags", FEe = (e) => [+var PEe = "/api/follow/authors", FEe = "/api/follow/tags", IEe = (e) => ["follow","authors",e-], IEe = (e, t) => [+], LEe = (e, t) => ["follow","tags",e,t];-function LEe(e, t, n) {+function REe(e, t, n) {let r = new URLSearchParams({limit: String(t),offset: String(n)});- return e && r.set("q", e), `${NEe}?${r}`;+ return e && r.set("q", e), `${PEe}?${r}`;}-function REe(e, t, n, r) {+function zEe(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), `${PEe}?${i}`;+ return t && t !== "all" && i.set("type", t), e && i.set("q", e), `${FEe}?${i}`;}-var zEe = (e, t, n, r) => B(LEe(e, t, n), r), BEe = (e, t, n, r, i) => B(REe(e, t, n, r), i), VEe = "/api/index", YX = {+var BEe = (e, t, n, r) => B(REe(e, t, n), r), VEe = (e, t, n, r, i) => B(zEe(e, t, n, r), i), HEe = "/api/index", JX = {performers: "艺人",creators: "卖家",studios: "厂牌",agencies: "事务所",series: "系列",tags: "标签"-}, HEe = {+}, UEe = {performers: "performer",creators: "creator",studios: "studio",agencies: "agency",series: "series"-}, XX = [+}, YX = [["all", "全部"],["meta", "影片属性"],["relationship", "人物关系"],@@ -62830,31 +62830,31 @@ var zEe = (e, t, n, r) => B(LEe(e, t, n), r), BEe = (e, t, n, r, i) => B(REe(e,["story", "故事剧情"],["position", "性交体位"],["general", "其他内容"]-], ZX = [+], XX = [["all", "全部"],["general", "通用"],["artist", "创作者"],["character", "角色"],["copyright", "作品"],["metadata", "元数据"]-], QX = {+], ZX = {people: 120,tags: 100-}, $X = (e) => e !== "tags", eZ = (e) => e === "studios" || e === "agencies";-function tZ(e) {- if (e.kind === "creators" && e.category === "animation") return tZ({+}, QX = (e) => e !== "tags", $X = (e) => e === "studios" || e === "agencies";+function eZ(e) {+ if (e.kind === "creators" && e.category === "animation") return eZ({...e,kind: "performers",scope: "local"});- let t = e.kind === "tags" || e.kind === "performers" ? e.scope : "local", n = (e.kind === "tags" ? t === "online" ? ZX : XX : e.kind === "performers" && t === "local" ? qX : []).some(([t]) => t === e.category);+ let t = e.kind === "tags" || e.kind === "performers" ? e.scope : "local", n = (e.kind === "tags" ? t === "online" ? XX : YX : e.kind === "performers" && t === "local" ? KX : []).some(([t]) => t === e.category);return {...e,scope: t,category: n ? e.category : "all"};}-function nZ(e) {+function tZ(e) {let { kind: t, q: n, scope: r, category: i } = e;return t === "tags" ? r === "online" ? {what: "online-tags",@@ -62874,50 +62874,50 @@ function nZ(e) {...i && i !== "all" ? { category: i } : {}};}-var rZ = (e, t, n = "all") => [+var nZ = (e, t, n = "all") => ["index",e,t,...e === "tags" || n !== "all" ? [n] : []];-function iZ(e, t, n, r, i) {+function rZ(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), `${VEe}?${a}`;+ return t && a.set("q", t), n !== "all" && a.set("category", n), `${HEe}?${a}`;}-function aZ(e, t = QX.tags) {- let n = e.what === "people" || e.what === "online-authors" ? QX.people : t, r = {+function iZ(e, t = ZX.tags) {+ let n = e.what === "people" || e.what === "online-authors" ? ZX.people : t, r = {initialPageParam: 0,getNextPageParam: (e, t) => e.has_more ? t.reduce((e, t) => e + t.items.length, 0) : void 0};switch (e.what) {case "people": return {...r,- queryKey: rZ(e.kind, e.q, e.category || "all"),- queryFn: ({ pageParam: t, signal: r }) => B(iZ(e.kind, e.q, e.category || "all", n, t), r)+ queryKey: nZ(e.kind, e.q, e.category || "all"),+ queryFn: ({ pageParam: t, signal: r }) => B(rZ(e.kind, e.q, e.category || "all", n, t), r)};case "tags": return {...r,- queryKey: rZ("tags", e.q, e.category),- queryFn: ({ pageParam: t, signal: r }) => B(iZ("tags", e.q, e.category, n, t), r)+ queryKey: nZ("tags", e.q, e.category),+ queryFn: ({ pageParam: t, signal: r }) => B(rZ("tags", e.q, e.category, n, t), r)};case "online-authors": return {...r,- queryKey: FEe(e.q),- queryFn: ({ pageParam: t, signal: r }) => zEe(e.q, n, t, r)+ queryKey: IEe(e.q),+ queryFn: ({ pageParam: t, signal: r }) => BEe(e.q, n, t, r)};case "online-tags": return {...r,- queryKey: IEe(e.q, e.category),- queryFn: ({ pageParam: t, signal: r }) => BEe(e.q, e.category, n, t, r)+ queryKey: LEe(e.q, e.category),+ queryFn: ({ pageParam: t, signal: r }) => VEe(e.q, e.category, n, t, r)};}}-async function UEe(e, t) {- let n = aZ(nZ(tZ(e)));+async function WEe(e, t) {+ let n = iZ(tZ(eZ(e)));await H.fetchInfiniteQuery({queryKey: n.queryKey,queryFn: ({ pageParam: e }) => n.queryFn({@@ -62929,20 +62929,20 @@ async function UEe(e, t) {staleTime: Infinity});}-var WEe = (e) => e ? e.pages.flatMap((e) => e.items) : [], GEe = (e, t) => `${e.toLocaleString()}${t ? "+" : ""} 项`, oZ = (e, t) => e ? `r34-${t || "unknown"}` : t || "general", KEe = (e, t) => e === "agencies" ? `${(t.members || 0).toLocaleString()} 人` : `${(t.n || 0).toLocaleString()} 个视频`, qEe = {+var GEe = (e) => e ? e.pages.flatMap((e) => e.items) : [], KEe = (e, t) => `${e.toLocaleString()}${t ? "+" : ""} 项`, aZ = (e, t) => e ? `r34-${t || "unknown"}` : t || "general", qEe = (e, t) => e === "agencies" ? `${(t.members || 0).toLocaleString()} 人` : `${(t.n || 0).toLocaleString()} 个视频`, JEe = {numeric: !0,sensitivity: "base"};-function sZ(e, t) {+function oZ(e, t) {let n = /* @__PURE__ */ new Map();- for (let r of [...e].sort((e, t) => e.k.localeCompare(t.k, "zh-CN", qEe))) {+ for (let r of [...e].sort((e, t) => e.k.localeCompare(t.k, "zh-CN", JEe))) {let e = er(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]);}return [...n].sort(([e], [t]) => e.localeCompare(t, "zh-CN"));}// src/react/index/index-people.tsx-function cZ({ html: e, face: t, company: n, big: r }) {+function sZ({ html: e, face: t, company: n, big: r }) {let i = (0, F.useRef)(null);return (0, F.useLayoutEffect)(() => {t ? i.current?.style.setProperty("--face", t) : i.current?.style.removeProperty("--face");@@ -62954,8 +62954,8 @@ function cZ({ html: e, face: t, company: n, big: r }) {dangerouslySetInnerHTML: { __html: e }});}-var JEe = "relative flex cursor-pointer flex-col gap-2 p-3 text-inherit", YEe = pV("rss");-function lZ({ name: e, readout: t, big: n, children: r, following: i, onPress: a, ...o }) {+var YEe = "relative flex cursor-pointer flex-col gap-2 p-3 text-inherit", XEe = pV("rss");+function cZ({ name: e, readout: t, big: n, children: r, following: i, onPress: a, ...o }) {return /* @__PURE__ */ (0, I.jsxs)("button", {type: "button",...o,@@ -62965,7 +62965,7 @@ function lZ({ name: e, readout: t, big: n, children: r, following: i, onPress: aradius: "plain",padding: "none",interactive: !0,- className: `${JEe} ${n ? "items-stretch text-left" : "items-center text-center"}`+ className: `${YEe} ${n ? "items-stretch text-left" : "items-center text-center"}`}),children: [r,@@ -62977,7 +62977,7 @@ function lZ({ name: e, readout: t, big: n, children: r, following: i, onPress: achildren: /* @__PURE__ */ (0, I.jsx)(KU, {variant: "caption",color: "soft",- children: /* @__PURE__ */ (0, I.jsx)(YEe, {})+ children: /* @__PURE__ */ (0, I.jsx)(XEe, {})})}) : null,/* @__PURE__ */ (0, I.jsx)("span", {@@ -62993,9 +62993,9 @@ function lZ({ name: e, readout: t, big: n, children: r, following: i, onPress: a]});}-function uZ({ kind: e, items: t, layout: n, props: r }) {- let i = eZ(e) || e === "series";- iL();+function lZ({ kind: e, items: t, layout: n, props: r }) {+ let i = $X(e) || e === "series";+ rL();let a = n === "big";return /* @__PURE__ */ (0, I.jsx)("div", {"data-index-grid": "",@@ -63003,16 +63003,16 @@ function uZ({ 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 || HEe[e], o = r.personAvatar(t, n, a);- return /* @__PURE__ */ (0, I.jsx)(lZ, {+ let n = t.entity_kind || UEe[e], o = r.personAvatar(t, n, a);+ return /* @__PURE__ */ (0, I.jsx)(cZ, {"data-k": t.k,"data-kind": n,name: nn(n, t.k, t.entity_id),- readout: `${KEe(e, t)}${t.identity_labels?.length ? " · " + t.identity_labels.join(" / ") : ""}`,+ readout: `${qEe(e, t)}${t.identity_labels?.length ? " · " + t.identity_labels.join(" / ") : ""}`,big: a,following: t.following,onPress: () => r.openEntity(n, t.k),- children: /* @__PURE__ */ (0, I.jsx)(cZ, {+ children: /* @__PURE__ */ (0, I.jsx)(sZ, {html: o.html,face: o.face,company: i,@@ -63022,15 +63022,15 @@ function uZ({ kind: e, items: t, layout: n, props: r }) {})});}-function XEe({ items: e, layout: t, props: n }) {- iL();+function ZEe({ items: e, layout: t, props: n }) {+ rL();let r = t === "big";return /* @__PURE__ */ (0, I.jsx)("div", {"data-index-grid": "","data-layout": t,"data-cells": "people",className: "index-grid-person gap-3",- children: e.map((e) => /* @__PURE__ */ (0, I.jsx)(lZ, {+ children: e.map((e) => /* @__PURE__ */ (0, I.jsx)(cZ, {"data-follow-author": e.key,"data-kind": "performer",name: nn("creator", e.k, e.entity_id),@@ -63039,7 +63039,7 @@ function XEe({ 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, I.jsx)(cZ, {+ children: /* @__PURE__ */ (0, I.jsx)(sZ, {html: n.authorAvatar(e),company: !1,big: r@@ -63048,8 +63048,8 @@ function XEe({ items: e, layout: t, props: n }) {});}// src/board-tooltip.ts-var dZ = (e) => e.replace(/\s+/g, " ").trim();-function fZ(e) {+var uZ = (e) => e.replace(/\s+/g, " ").trim();+function dZ(e) {let t = document.createTreeWalker(e, NodeFilter.SHOW_TEXT), n = "", r;for (; r = t.nextNode();) {let e = r.parentElement;@@ -63057,12 +63057,12 @@ function fZ(e) {let t = document.createRange();t.selectNodeContents(r), [...t.getClientRects()].some((e) => e.width > 0 && e.height > 0) && getComputedStyle(e).visibility === "visible" && (n += r.textContent);}- return dZ(n);+ return uZ(n);}-function pZ(e) {+function fZ(e) {let t = e.getBoundingClientRect();if (t.width && t.height) {- if (e.matches("a") && fZ(e) && !mZ(e)) {+ if (e.matches("a") && dZ(e) && !pZ(e)) {let t = document.createRange();t.selectNodeContents(e);let n = t.getBoundingClientRect();@@ -63075,7 +63075,7 @@ function pZ(e) {let r = Math.min(...n.map((e) => e.left)), i = Math.min(...n.map((e) => e.top));return new DOMRect(r, i, Math.max(...n.map((e) => e.right)) - r, Math.max(...n.map((e) => e.bottom)) - i);}-function mZ(e) {+function pZ(e) {if (e.matches(".middle-truncated") || e.querySelector(".middle-truncated") || [e, ...e.querySelectorAll("*")].some((e) => e.clientWidth > 0 && (e.scrollWidth > e.clientWidth + 1 || e.scrollHeight > e.clientHeight + 1))) return !0;let t = document.createRange();t.selectNodeContents(e);@@ -63086,19 +63086,19 @@ function mZ(e) {}return !1;}-function ZEe() {+function QEe() {let e = document.createElement("div");e.className = "ui-board-tooltip", e.id = "board-control-tooltip", e.role = "tooltip", e.popover = "manual", e.hidden = !0, document.body.append(e);let t = null, n = "", r = null, i, a, o = !1, s = () => e.hasAttribute("data-copy-key") && !!document.querySelector("[data-copy-bar]"), c = () => s() && (o || !!e.querySelector("[data-copy-inline],[contenteditable]") || !!document.querySelector("[data-copy-choice],[data-copy-bar][aria-busy=\"true\"]")), l = (t) => {- let n = pZ(t), r = e.getBoundingClientRect();+ let n = fZ(t), r = e.getBoundingClientRect();n && (e.style.left = `${Math.max(8, Math.min(innerWidth - r.width - 8, n.left + (n.width - r.width) / 2))}px`, e.style.top = `${n.top >= r.height + 16 ? n.top - r.height - 8 : Math.min(innerHeight - r.height - 8, n.bottom + 8)}px`);}, u = () => {clearTimeout(a), !c() && (clearTimeout(i), e.matches(":popover-open") && e.hidePopover(), e.hidden = !0, e.removeAttribute("data-copy-key"), t && (t.hasAttribute("title") || (t.title = n), r === null ? t.removeAttribute("aria-describedby") : t.setAttribute("aria-describedby", r)), t = null);}, d = (a, o) => {if (c() || !(a instanceof Element)) return;let d = a.closest("[title]");- (!t?.contains(a) || d && !d.contains(t)) && d && !d.closest(".vjs-control") && d.title.trim() && (u(), t = d, n = d.title, r = d.getAttribute("aria-describedby"), d.removeAttribute("title"), (fZ(d) !== dZ(n) || mZ(d)) && (i = setTimeout(() => {- if (t !== d || !d.isConnected || !pZ(d)) return;+ (!t?.contains(a) || d && !d.contains(t)) && d && !d.closest(".vjs-control") && d.title.trim() && (u(), t = d, n = d.title, r = d.getAttribute("aria-describedby"), d.removeAttribute("title"), (dZ(d) !== uZ(n) || pZ(d)) && (i = setTimeout(() => {+ if (t !== d || !d.isConnected || !fZ(d)) return;(d.closest("dialog[open]") ?? document.body).append(e), e.textContent = n;let i = d.getAttribute("data-tooltip-copy-key");i ? e.setAttribute("data-copy-key", i) : e.removeAttribute("data-copy-key"), e.style.pointerEvents = s() ? "auto" : "", e.hidden = !1, e.showPopover(), l(d), d.setAttribute("aria-describedby", [r, e.id].filter(Boolean).join(" "));@@ -63123,32 +63123,32 @@ function ZEe() {e.key === "Escape" && !c() && u();}), document.addEventListener("scroll", (n) => {if (!t || !ds(n, t)) return;- let r = pZ(t);+ let r = fZ(t);t.matches(":focus-visible") && r && r.bottom > 0 && r.top < innerHeight ? e.matches(":popover-open") && l(t) : u();}, !0), window.addEventListener("resize", u);}// src/board-controls.ts-function hZ(e) {+function mZ(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 gZ = /* @__PURE__ */ new WeakSet();-function QEe() {- if (gZ.has(document)) return;- gZ.add(document);+var hZ = /* @__PURE__ */ new WeakSet();+function $Ee() {+ if (hZ.has(document)) return;+ hZ.add(document);let e = (e) => {- e.querySelectorAll("input[type=range]").forEach(hZ), eDe(e), $Ee(e);+ e.querySelectorAll("input[type=range]").forEach(mZ), tDe(e), eDe(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]") && hZ(t), e(t));+ for (let n of t) for (let t of n.addedNodes) t instanceof Element && (t.matches("input[type=range]") && mZ(t), e(t));}).observe(document.body, {subtree: !0,childList: !0}), document.addEventListener("input", (e) => {- e.target instanceof HTMLInputElement && e.target.type === "range" && hZ(e.target);- }), ZEe();+ e.target instanceof HTMLInputElement && e.target.type === "range" && mZ(e.target);+ }), QEe();}-function $Ee(e) {+function eDe(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;@@ -63172,15 +63172,15 @@ function $Ee(e) {r.observe(e);});}-var _Z = /* @__PURE__ */ new Map();-function eDe(e) {+var gZ = /* @__PURE__ */ new Map();+function tDe(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 = _Z.get(n) ?? null, i = () => {+ let n = e.className + (e.getAttribute("aria-label") ?? ""), r = gZ.get(n) ?? null, i = () => {let i = e.querySelector("label:has(input:checked),button[aria-selected=true]");if (!i || !i.offsetWidth) return;let a = {@@ -63189,7 +63189,7 @@ function eDe(e) {w: i.offsetWidth,h: i.offsetHeight};- Wc(t, r, a, "x"), r = a, _Z.set(n, a);+ Wc(t, r, a, "x"), r = a, gZ.set(n, a);};e.addEventListener("change", i);let a = new MutationObserver(i);@@ -63205,8 +63205,8 @@ function eDe(e) {});}// src/react/photo-lightbox/photo-lightbox.ts-var vZ = "/vendor/swiper/14.4.0/", yZ = null, tDe = () => yZ ??= Promise.all([new Promise((e, t) => {- let n = `${vZ}swiper-bundle.min.css`, r = document.querySelector(`link[href="${n}"]`);+var _Z = "/vendor/swiper/14.4.0/", vZ = null, nDe = () => vZ ??= Promise.all([new Promise((e, t) => {+ let n = `${_Z}swiper-bundle.min.css`, r = document.querySelector(`link[href="${n}"]`);if (r?.sheet) {e();return;@@ -63220,11 +63220,11 @@ var vZ = "/vendor/swiper/14.4.0/", yZ = null, tDe = () => yZ ??= Promise.all([nereturn;}let r = document.createElement("script");- r.src = `${vZ}swiper-bundle.min.js`, r.onload = () => e(window.Swiper), r.onerror = () => t(/* @__PURE__ */ Error("swiper unavailable")), document.head.append(r);+ r.src = `${_Z}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 yZ = null, e;+ throw vZ = null, e;});-function nDe(e, t, n) {+function rDe(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);@@ -63245,46 +63245,46 @@ function nDe(e, t, n) {}};}-var bZ = (e) => {+var yZ = (e) => {let t = Number(e) || 0;return t ? (t < 1048576 ? `${Math.max(1, Math.round(t / 1024))} KB` : Xn(t)).replace(" ", "\xA0") : "大小未知";-}, rDe = (e) => e.asset?.name || e.name || "未命名图片";-function iDe(e, t) {+}, iDe = (e) => e.asset?.name || e.name || "未命名图片";+function aDe(e, t) {let n = e.asset;- if (n) return [nr[n.location ?? ""] || n.location || "来源未知", bZ(n.size)].join(" · ");+ if (n) return [nr[n.location ?? ""] || n.location || "来源未知", yZ(n.size)].join(" · ");let r = t?.[0] && t[1] ? `${t[0]} × ${t[1]}` : "";return [e.source || "在线图片",r,- e.size ? bZ(e.size) : ""+ e.size ? yZ(e.size) : ""].filter(Boolean).join(" · ");}// src/react/photo-lightbox/photo-lightbox-dialog.tsx-var xZ = null, SZ = null, aDe = 0;-function oDe() {- return SZ && xZ?.isConnected || (SZ?.unmount(), xZ = document.createElement("div"), xZ.className = "peach-react", xZ.dataset.photoLightboxHost = "", document.body.append(xZ), SZ = (0, zt.createRoot)(xZ)), SZ;+var bZ = null, xZ = null, oDe = 0;+function sDe() {+ return xZ && bZ?.isConnected || (xZ?.unmount(), bZ = document.createElement("div"), bZ.className = "peach-react", bZ.dataset.photoLightboxHost = "", document.body.append(bZ), xZ = (0, zt.createRoot)(bZ)), xZ;}-async function CZ(e, t, n) {+async function SZ(e, t, n) {if (!t.length || e < 0 || e >= t.length) return;let r;try {- r = await tDe();+ r = await nDe();} catch {window.open(t[e].src, "_blank", "noopener");return;}- let i = oDe();- (0, Rt.flushSync)(() => i.render(/* @__PURE__ */ (0, I.jsx)(sDe, {+ let i = sDe();+ (0, Rt.flushSync)(() => i.render(/* @__PURE__ */ (0, I.jsx)(cDe, {slides: t,index: e,Swiper: r,host: n ?? null- }, ++aDe)));+ }, ++oDe)));}-function wZ() {- SZ && (0, Rt.flushSync)(() => SZ.render(null));+function CZ() {+ xZ && (0, Rt.flushSync)(() => xZ.render(null));}-function sDe({ slides: e, index: t, Swiper: n, host: r }) {+function cDe({ slides: e, index: t, Swiper: n, host: r }) {let i = e.length > 1, a = (0, F.useId)(), o = (0, F.useRef)(null), s = (0, F.useRef)(null), c = (0, F.useRef)(null), l = (0, F.useRef)(null), u = (0, F.useRef)(null), d = (0, F.useRef)(null), f = (0, F.useRef)(null), p = (0, F.useRef)(null), m = (0, F.useRef)(null), h = (0, F.useRef)(null), g = (0, F.useRef)(null), [_, v] = (0, F.useState)(t), [y, b] = (0, F.useState)(100), [x, S] = (0, F.useState)({}), [C, w] = (0, F.useState)(() => /* @__PURE__ */ new Set()), [T, E] = (0, F.useState)(() => /* @__PURE__ */ new Set()), [D, O] = (0, F.useState)(!1), [k, A] = (0, F.useState)({at: t,text: ""@@ -63327,7 +63327,7 @@ function sDe({ slides: e, index: t, Swiper: n, host: r }) {v(this.activeIndex), i(this.activeIndex);} }});- i(t, 0), h.current = nDe(e, a, b);+ i(t, 0), h.current = rDe(e, a, b);let m = il(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();};@@ -63344,13 +63344,13 @@ function sDe({ slides: e, index: t, Swiper: n, host: r }) {});y.observe(e);let x = (e) => {- e.key === "Escape" && (e.preventDefault(), e.stopImmediatePropagation(), g.current?.isOpen() ? g.current.dismiss(!0) : wZ());+ e.key === "Escape" && (e.preventDefault(), e.stopImmediatePropagation(), g.current?.isOpen() ? g.current.dismiss(!0) : CZ());};return document.addEventListener("keydown", x, !0), () => {document.removeEventListener("keydown", x, !0), _(), y.disconnect(), a.destroy(!0, !0), r.destroy(!0, !0), h.current = null, g.current = null, e.close(), document.body.classList.remove("photolight-open");};}, []), (0, F.useLayoutEffect)(() => {- m.current && hZ(m.current);+ m.current && mZ(m.current);}, [y]);let j = e[_], M = j.asset ?? null, ee = async (e) => {if (!M || !r || e.getAttribute("aria-busy") === "true") return;@@ -63381,18 +63381,18 @@ function sDe({ slides: e, index: t, Swiper: n, host: r }) {"data-photo-lightbox": "","data-has-strip": i ? "" : void 0,onCancel: (e) => {- e.preventDefault(), wZ();+ e.preventDefault(), CZ();},onClick: (e) => {let t = e.target;- g.current?.dismissOutside(t) || (t === o.current || t.classList.contains("swiper-zoom-container")) && wZ();+ g.current?.dismissOutside(t) || (t === o.current || t.classList.contains("swiper-zoom-container")) && CZ();},children: [/* @__PURE__ */ (0, I.jsx)("button", {type: "button","data-photo-close": "","aria-label": "关闭",- onClick: wZ,+ onClick: CZ,dangerouslySetInnerHTML: { __html: R("x") }}),/* @__PURE__ */ (0, I.jsxs)("div", {@@ -63528,10 +63528,10 @@ function sDe({ slides: e, index: t, Swiper: n, host: r }) {id: `${a}-title`,"data-middle-truncate": "",tabIndex: -1,- children: rDe(j)+ children: iDe(j)}, _), /* @__PURE__ */ (0, I.jsx)("span", {"data-photo-detail-meta": "",- children: iDe(j, x[_])+ children: aDe(j, x[_])})]}),/* @__PURE__ */ (0, I.jsx)("button", {@@ -63569,41 +63569,41 @@ function sDe({ slides: e, index: t, Swiper: n, host: r }) {});}// src/react/entity-body/entity-body-page.tsx-function cDe(e) {- return e.view === "people" && e.roster ? /* @__PURE__ */ (0, I.jsx)(lDe, {+function lDe(e) {+ return e.view === "people" && e.roster ? /* @__PURE__ */ (0, I.jsx)(uDe, {roster: e.roster,props: e- }) : e.view === "videos" ? /* @__PURE__ */ (0, I.jsx)(uDe, { ...e }) : e.view === "photos" && e.photos ? /* @__PURE__ */ (0, I.jsx)(pDe, {+ }) : e.view === "videos" ? /* @__PURE__ */ (0, I.jsx)(dDe, { ...e }) : e.view === "photos" && e.photos ? /* @__PURE__ */ (0, I.jsx)(mDe, {photos: e.photos,props: e}, e.photos.revision) : null;}-var TZ = QX.people;-function lDe({ roster: e, props: t }) {+var wZ = ZX.people;+function uDe({ roster: e, props: t }) {let { helpers: n, actions: r } = t, i = (0, F.useMemo)(() => ({personAvatar: n.personAvatar,openEntity: r.openEntity- }), [n, r]), [a, o] = (0, F.useState)(TZ), s = (0, F.useMemo)(() => e.people.slice(0, a), [e.people, a]), c = (0, F.useCallback)(async () => {- o((e) => e + TZ);+ }), [n, r]), [a, o] = (0, F.useState)(wZ), s = (0, F.useMemo)(() => e.people.slice(0, a), [e.people, a]), c = (0, F.useCallback)(async () => {+ o((e) => e + wZ);}, []);- return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(uZ, {+ return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(lZ, {kind: e.kind,items: s,layout: e.layout,props: i- }), a < e.people.length ? /* @__PURE__ */ (0, I.jsx)(uY, {+ }), a < e.people.length ? /* @__PURE__ */ (0, I.jsx)(lY, {entity: !0,load: c,enabled: () => !0}, a) : null] });}-function uDe(e) {+function dDe(e) {return /* @__PURE__ */ (0, I.jsx)("div", {"data-entity-grid": "",- children: /* @__PURE__ */ (0, I.jsx)(UG, {+ children: /* @__PURE__ */ (0, I.jsx)(HG, {pending: !e.items,skeletonHtml: e.skeletonHtml,- children: e.items ? /* @__PURE__ */ (0, I.jsx)(cY, {+ children: e.items ? /* @__PURE__ */ (0, I.jsx)(sY, {mode: "entity",entityKey: e.listScope || `${e.kind}:${e.name}`,revision: e.revision,@@ -63625,33 +63625,33 @@ function uDe(e) {})});}-var dDe = (e) => Array.from({ length: e.n }, (t, n) => ({+var fDe = (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 || "官方样张"-})), EZ = (e) => e.sample === !0, DZ = (e) => `code=${encodeURIComponent(e.code)}&n=${e.position}`, OZ = (e) => EZ(e) ? `/sample-thumb?${DZ(e)}` : `/photo-thumb?id=${e.id}`, fDe = (e) => EZ(e) ? {- src: `/sample-image?${DZ(e)}`,- thumb: OZ(e),+})), TZ = (e) => e.sample === !0, EZ = (e) => `code=${encodeURIComponent(e.code)}&n=${e.position}`, DZ = (e) => TZ(e) ? `/sample-thumb?${EZ(e)}` : `/photo-thumb?id=${e.id}`, pDe = (e) => TZ(e) ? {+ src: `/sample-image?${EZ(e)}`,+ thumb: DZ(e),name: e.name,asset: null,source: e.source} : {src: `/photo?id=${e.id}`,- thumb: OZ(e),+ thumb: DZ(e),name: e.name || "",asset: e};-function pDe({ photos: e, props: t }) {- let { photoSize: n, photoLayout: r, actions: i, canLoadMore: a } = t, o = (0, F.useMemo)(() => [...e.codeSets.flatMap(dDe), ...e.items], [e]), [s, c] = (0, F.useState)(() => /* @__PURE__ */ new Set()), l = (0, F.useCallback)((e) => c((t) => {+function mDe({ photos: e, props: t }) {+ let { photoSize: n, photoLayout: r, actions: i, canLoadMore: a } = t, o = (0, F.useMemo)(() => [...e.codeSets.flatMap(fDe), ...e.items], [e]), [s, c] = (0, F.useState)(() => /* @__PURE__ */ new Set()), l = (0, F.useCallback)((e) => c((t) => {if (t.has(e)) return t;let n = new Set(t);return n.add(e), n;}), []), u = (0, F.useCallback)((e) => {- CZ(e, o.map(fDe), { revealSource: i.revealSource });- }, [i, o]), d = (e, t) => /* @__PURE__ */ (0, I.jsx)(mDe, {+ SZ(e, o.map(pDe), { revealSource: i.revealSource });+ }, [i, o]), d = (e, t) => /* @__PURE__ */ (0, I.jsx)(hDe, {item: e,index: t,lost: s.has(t),@@ -63669,7 +63669,7 @@ function pDe({ photos: e, props: t }) {};}), h = p;return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [- m.map(({ set: e, from: t }) => /* @__PURE__ */ (0, I.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(kZ, {+ m.map(({ set: e, from: t }) => /* @__PURE__ */ (0, I.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(OZ, {label: e.code,title: e.name,meta: [@@ -63681,7 +63681,7 @@ function pDe({ 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, I.jsx)(kZ, {+ m.length && e.total ? /* @__PURE__ */ (0, I.jsx)(OZ, {label: "本地图片",meta: `${e.total.toLocaleString()} 张`}) : null,@@ -63690,14 +63690,14 @@ function pDe({ 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, I.jsx)(uY, {+ e.hasMore ? /* @__PURE__ */ (0, I.jsx)(lY, {entity: !0,load: i.loadMorePhotos,enabled: () => a?.() !== !1}, e.items.length) : null] });}-function kZ({ label: e, title: t, meta: n }) {+function OZ({ label: e, title: t, meta: n }) {return /* @__PURE__ */ (0, I.jsxs)("div", {"data-photo-group": "",children: [@@ -63714,7 +63714,7 @@ function kZ({ label: e, title: t, meta: n }) {]});}-function mDe({ item: e, index: t, lost: n, onLose: r, onOpen: i }) {+function hDe({ item: e, index: t, lost: n, onLose: r, onOpen: i }) {let a = e.name ?? "";return /* @__PURE__ */ (0, I.jsx)("button", {type: "button",@@ -63723,7 +63723,7 @@ function mDe({ item: e, index: t, lost: n, onLose: r, onOpen: i }) {title: a,onClick: () => i(t),children: n ? null : /* @__PURE__ */ (0, I.jsx)("img", {- src: OZ(e),+ src: DZ(e),alt: a,loading: "lazy",decoding: "async",@@ -63733,9 +63733,9 @@ function mDe({ item: e, index: t, lost: n, onLose: r, onOpen: i }) {});}// src/react/background-job.ts-var hDe = 2e3, gDe = (e) => e, _De = (e, t) => t;-function AZ(e) {- let { queryKey: t, jobOf: n = gDe, withJob: r = _De, idlePollMs: i } = e, [a, o] = (0, F.useState)(!1), [s, c] = (0, F.useState)(null), l = (0, F.useRef)(e);+var gDe = 2e3, _De = (e) => e, vDe = (e, t) => t;+function kZ(e) {+ let { queryKey: t, jobOf: n = _De, withJob: r = vDe, idlePollMs: i } = e, [a, o] = (0, F.useState)(!1), [s, c] = (0, F.useState)(null), l = (0, F.useRef)(e);(0, F.useEffect)(() => {l.current = e;});@@ -63744,7 +63744,7 @@ function AZ(e) {queryFn: ({ signal: e }) => l.current.queryFn({ signal: e }),refetchInterval: (e) => {let t = e.state.data;- return t !== void 0 && n(t)?.status === "running" ? hDe : i ?? !1;+ return t !== void 0 && n(t)?.status === "running" ? gDe : i ?? !1;}}), d = It({mutationFn: (e) => l.current.start(e),@@ -63768,13 +63768,13 @@ function AZ(e) {};}// src/react/follow-feed/follow-check.ts-var jZ = (e) => [...new Set(e)].filter((e) => Number.isSafeInteger(e) && e > 0);-function vDe(e, t) {- return t ? jZ(e.filter((e) => e.author_key === t || t.startsWith("entity:") && String(e.entity_id) === t.slice(7)).map((e) => e.id)) : [];+var AZ = (e) => [...new Set(e)].filter((e) => Number.isSafeInteger(e) && e > 0);+function yDe(e, t) {+ return t ? AZ(e.filter((e) => e.author_key === t || t.startsWith("entity:") && String(e.entity_id) === t.slice(7)).map((e) => e.id)) : [];}// src/react/follow-feed/follow-check-button.tsx-function yDe({ sources: e, report: t }) {- let n = jZ(e), [r, i] = (0, F.useState)(""), { running: a, start: o } = AZ({+function bDe({ sources: e, report: t }) {+ let n = AZ(e), [r, i] = (0, F.useState)(""), { running: a, start: o } = kZ({queryKey: zr,queryFn: ({ signal: e }) => vi(e),start: (e) => xi(e),@@ -63800,8 +63800,8 @@ function yDe({ sources: e, report: t }) {});}// src/react/follow-feed/follow-card.tsx-var bDe = (e) => Number(e) > 0;-function MZ({ name: e, actions: t, children: n, ...r }) {+var xDe = (e) => Number(e) > 0;+function jZ({ name: e, actions: t, children: n, ...r }) {return /* @__PURE__ */ (0, I.jsx)("a", {...r,href: Pn("creator", e),@@ -63811,15 +63811,15 @@ function MZ({ name: e, actions: t, children: n, ...r }) {children: n});}-var NZ = ({ provider: e }) => /* @__PURE__ */ (0, I.jsx)("span", {+var MZ = ({ provider: e }) => /* @__PURE__ */ (0, I.jsx)("span", {"data-follow-nothumb": "",- dangerouslySetInnerHTML: { __html: _G(e) }+ dangerouslySetInnerHTML: { __html: gG(e) }});-function xDe({ src: e, fallback: t, width: n, height: r, provider: i, onLearn: a, retryKey: o }) {+function SDe({ src: e, fallback: t, width: n, height: r, provider: i, onLearn: a, retryKey: o }) {let [s, c] = (0, F.useState)(!1), [l, u] = (0, F.useState)(!1), [d, f] = (0, F.useState)(null);return (0, F.useEffect)(() => {c(!1);- }, [o]), s ? /* @__PURE__ */ (0, I.jsx)(NZ, { provider: i }) : /* @__PURE__ */ (0, I.jsx)("img", {+ }, [o]), s ? /* @__PURE__ */ (0, I.jsx)(MZ, { provider: i }) : /* @__PURE__ */ (0, I.jsx)("img", {src: l ? t : e,alt: "",loading: "lazy",@@ -63838,8 +63838,8 @@ function xDe({ src: e, fallback: t, width: n, height: r, provider: i, onLearn: a} : void 0});}-function SDe(e) {- let { group: t, authorSources: n, media: r, context: i, selected: a, selectMode: o, busy: s, failure: c, actions: l } = e, u = ga(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) => mbe(u.id, h ? h.index : null, e, t) : void 0, y = r === "videos" ? va(t) : [], b = (u.media_items || []).length > 1 ? u.id : y[0]?.id || u.id, x = ba({+function CDe(e) {+ let { group: t, authorSources: n, media: r, context: i, selected: a, selectMode: o, busy: s, failure: c, actions: l } = e, u = ga(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) => hbe(u.id, h ? h.index : null, e, t) : void 0, y = r === "videos" ? va(t) : [], b = (u.media_items || []).length > 1 ? u.id : y[0]?.id || u.id, x = ba({cover: p,coverFace: (f?.thumb_url ? f : u).face,stack: t.stack,@@ -63847,7 +63847,7 @@ function SDe(e) {limit: 9}), S = (0, F.useRef)(x.faces);S.current = x.faces;- let C = vK({+ let C = _K({load: async () => S.current,canFlip: () => S.current.length > 1 && l.canFlip(),referrerPolicy: "no-referrer"@@ -63855,7 +63855,7 @@ function SDe(e) {w.current = C.onPointerLeave;let T = (0, F.useCallback)((e) => {e && (e._stopHover = () => w.current());- }, []), E = SG(u, n, i), D = vG(u), O = u.resource_provider || u.provider, k = (u.tags || []).slice(0, 3), A = TG(u, i), j = wG(t, u), M = u.status === "saved", ee = (e) => {+ }, []), E = xG(u, n, i), D = _G(u), O = u.resource_provider || u.provider, k = (u.tags || []).slice(0, 3), A = wG(u, i), j = CG(t, u), M = 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));}, N = (e, t) => {e.stopPropagation(), t();@@ -63870,7 +63870,7 @@ function SDe(e) {"data-collection": x.isMix ? "" : void 0,"data-selected": a ? "" : void 0,onClick: ee,- onMouseDown: lK,+ onMouseDown: cK,onMouseEnter: C.onPointerEnter,onMouseLeave: C.onPointerLeave,children: [@@ -63884,7 +63884,7 @@ function SDe(e) {}), /* @__PURE__ */ (0, I.jsxs)("div", {"data-media-pic": "",children: [- p ? /* @__PURE__ */ (0, I.jsx)(xDe, {+ p ? /* @__PURE__ */ (0, I.jsx)(SDe, {src: p,fallback: m,width: _?.width,@@ -63892,7 +63892,7 @@ function SDe(e) {provider: O,onLearn: v,retryKey: e.retryKey- }, p) : /* @__PURE__ */ (0, I.jsx)(NZ, { provider: O }),+ }, p) : /* @__PURE__ */ (0, I.jsx)(MZ, { provider: O }),x.faces.length > 1 ? /* @__PURE__ */ (0, I.jsx)("div", {"data-mix-faces": "",hidden: !C.faces.length,@@ -63912,7 +63912,7 @@ function SDe(e) {"data-media-badge": "",title: u.provider_label || u.provider,"aria-label": `来源:${u.provider_label || u.provider}`,- dangerouslySetInnerHTML: { __html: _G(u.provider, u.provider_label) }+ dangerouslySetInnerHTML: { __html: gG(u.provider, u.provider_label) }}), j ? /* @__PURE__ */ (0, I.jsx)("span", {"data-follow-badges": "",dangerouslySetInnerHTML: { __html: j }@@ -63925,7 +63925,7 @@ function SDe(e) {},dangerouslySetInnerHTML: { __html: R("check") }}) : null,- bDe(u.duration) ? /* @__PURE__ */ (0, I.jsx)("span", {+ xDe(u.duration) ? /* @__PURE__ */ (0, I.jsx)("span", {"data-media-duration": "",children: Jn(u.duration)}) : null,@@ -63996,7 +63996,7 @@ function SDe(e) {}),/* @__PURE__ */ (0, I.jsxs)("div", {"data-media-meta": "",- children: [E.entityName ? /* @__PURE__ */ (0, I.jsx)(MZ, {+ children: [E.entityName ? /* @__PURE__ */ (0, I.jsx)(jZ, {name: E.entityName,actions: l,"data-media-avatar": "",@@ -64014,31 +64014,31 @@ function SDe(e) {/* @__PURE__ */ (0, I.jsx)("button", {type: "button","data-media-title": "",- dangerouslySetInnerHTML: { __html: CG(t, u) + z(D) }+ dangerouslySetInnerHTML: { __html: SG(t, u) + z(D) }}),/* @__PURE__ */ (0, I.jsxs)("div", {"data-media-byline": "","data-follow-byline": "",children: [- E.entityName ? /* @__PURE__ */ (0, I.jsx)(MZ, {+ E.entityName ? /* @__PURE__ */ (0, I.jsx)(jZ, {name: E.entityName,actions: l,"data-media-who": "","data-follow-author": "",title: E.author,- children: /* @__PURE__ */ (0, I.jsx)(GG, { name: E.author })+ children: /* @__PURE__ */ (0, I.jsx)(WG, { name: E.author })}) : /* @__PURE__ */ (0, I.jsx)("span", {"data-media-who": "","data-follow-author": "",title: E.author,- children: /* @__PURE__ */ (0, I.jsx)(GG, { name: E.author })+ children: /* @__PURE__ */ (0, I.jsx)(WG, { name: E.author })}),/* @__PURE__ */ (0, I.jsx)("span", {"data-media-facts": "",- children: /* @__PURE__ */ (0, I.jsx)(KG, {+ children: /* @__PURE__ */ (0, I.jsx)(GG, {value: u.published_at || "",- label: OG(u),- title: DG(u)+ label: DG(u),+ title: EG(u)})}),E.credited ? /* @__PURE__ */ (0, I.jsx)("span", {@@ -64048,10 +64048,10 @@ function SDe(e) {}) : null]}),- e.variant === "next" ? e.reason ? /* @__PURE__ */ (0, I.jsx)(JG, {+ e.variant === "next" ? e.reason ? /* @__PURE__ */ (0, I.jsx)(qG, {reasons: e.reason.reasons,tags: e.reason.tags.map((e) => Ll(e))- }) : null : /* @__PURE__ */ (0, I.jsx)(qG, {+ }) : null : /* @__PURE__ */ (0, I.jsx)(KG, {"data-follow-labels": "",tags: k,label: Ll,@@ -64076,9 +64076,9 @@ function SDe(e) {]});}-var PZ = (0, F.memo)(SDe);+var NZ = (0, F.memo)(CDe);// src/react/components/use-masonry-grid.ts-function CDe(e, t) {+function wDe(e, t) {let n = (0, F.useRef)(null);return (0, F.useLayoutEffect)(() => {let t = n.current;@@ -64113,37 +64113,37 @@ function CDe(e, t) {}, [e, t]), n;}// src/react/follow-manage/manage-route.ts-var FZ = [+var PZ = [["list", "关注列表"],["add", "添加关注"],["tags", "标签管理"]-], IZ = FZ.map(([e]) => e);-function LZ(e) {+], FZ = PZ.map(([e]) => e);+function IZ(e) {let t = new URLSearchParams(e), n = t.get("tab");return {- tab: IZ.find((e) => e === n) || "list",+ tab: FZ.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 RZ(e) {+function LZ(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 zZ(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" : RZ({- tab: t || LZ(e).tab,+function RZ(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" : LZ({+ tab: t || IZ(e).tab,page: 1,sort: "",dir: ""});}// src/react/follow-feed/follow-feed-page.tsx-var BZ = () => /* @__PURE__ */ (0, I.jsx)("span", {+var zZ = () => /* @__PURE__ */ (0, I.jsx)("span", {"data-entity-sep": "","aria-hidden": "true"-}), wDe = pV("settings"), VZ = pV("chevron-down"), TDe = pV("history"), EDe = pV("arrow-up"), DDe = pV("arrow-down"), ODe = [[+}), TDe = pV("settings"), BZ = pV("chevron-down"), EDe = pV("history"), DDe = pV("arrow-up"), ODe = pV("arrow-down"), kDe = [["fixed","固定比例","layout-grid"@@ -64152,7 +64152,7 @@ var BZ = () => /* @__PURE__ */ (0, I.jsx)("span", {"瀑布流","columns-2"]];-function kDe(e, t, n) {+function ADe(e, t, n) {return (0, F.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) => {@@ -64200,7 +64200,7 @@ function kDe(e, t, n) {n]);}-function ADe(e) {+function jDe(e) {let { view: t, seed: n, revision: r, actions: i } = e, a = Lt(ra(t, r)), o = Ft({queryKey: ia,queryFn: ({ signal: e }) => aa(e)@@ -64208,7 +64208,7 @@ function ADe(e) {sources: s?.sources || [],aliases: s?.author_aliases || [],credentials: c- }), [s, c]), u = kDe(s, t, n), d = a.isPending || a.isPlaceholderData, f = !d && !!s;+ }), [s, c]), u = ADe(s, t, n), d = a.isPending || a.isPlaceholderData, f = !d && !!s;(0, F.useEffect)(() => {pm(() => location.pathname === "/follow", document.querySelector("#stats [data-filter-frame]"), { pending: d });}, [@@ -64242,10 +64242,10 @@ function ADe(e) {p,i]);- let m = MDe(e, !!s);+ let m = NDe(e, !!s);if (!s) return a.isError ? /* @__PURE__ */ (0, I.jsxs)("div", {"data-follow-feed": "",- children: [/* @__PURE__ */ (0, I.jsx)(HZ, {}), /* @__PURE__ */ (0, I.jsx)(HG, {+ children: [/* @__PURE__ */ (0, I.jsx)(VZ, {}), /* @__PURE__ */ (0, I.jsx)(VG, {message: xn(a.error),onRetry: () => void a.refetch()})]@@ -64258,7 +64258,7 @@ function ADe(e) {author: u.author,provider: u.provider}, {- authors: new Map([...u.authorSources].map(([e, t]) => [e, yG(t, l)])),+ authors: new Map([...u.authorSources].map(([e, t]) => [e, vG(t, l)])),providers: u.providers,works: u.workNames}), _ = t.status ? u.counts[t.status] || 0 : u.allCount, v = u.sources.some((e) => e.can_backfill);@@ -64276,7 +64276,7 @@ function ADe(e) {"data-follow-feed": "","data-select-mode": e.selectMode ? "" : void 0,children: [- /* @__PURE__ */ (0, I.jsx)(HZ, { children: u.sources.length ? /* @__PURE__ */ (0, I.jsx)(J, {+ /* @__PURE__ */ (0, I.jsx)(VZ, { children: u.sources.length ? /* @__PURE__ */ (0, I.jsx)(J, {variant: "primary","data-follow-recheck": "","aria-label": "检查每个来源的更新",@@ -64287,20 +64287,20 @@ function ADe(e) {dangerouslySetInnerHTML: { __html: Bs("检查中") }}) : "检查更新"}) : null }),- /* @__PURE__ */ (0, I.jsx)(NDe, {+ /* @__PURE__ */ (0, I.jsx)(PDe, {facets: u,pressed: u.author,context: l,props: e,onPick: (e) => h({ author: u.author === e ? "" : e })}),- /* @__PURE__ */ (0, I.jsx)(PDe, {+ /* @__PURE__ */ (0, I.jsx)(FDe, {rows: u.workRows,pressed: t.work,props: e,onPick: (e) => h({ work: t.work === e ? "" : e })}),- /* @__PURE__ */ (0, I.jsx)(FDe, {+ /* @__PURE__ */ (0, I.jsx)(IDe, {facets: u,view: t,total: _,@@ -64308,7 +64308,7 @@ function ADe(e) {props: e,route: h}),- /* @__PURE__ */ (0, I.jsx)(IDe, {+ /* @__PURE__ */ (0, I.jsx)(LDe, {conditions: g,onDrop: (e) => i.route(Ea(t, e)),onClear: () => h({@@ -64320,8 +64320,8 @@ function ADe(e) {durMax: 0})}),- u.broken.length ? /* @__PURE__ */ (0, I.jsx)(LDe, { count: u.broken.length }) : null,- /* @__PURE__ */ (0, I.jsx)(RDe, {+ u.broken.length ? /* @__PURE__ */ (0, I.jsx)(RDe, { count: u.broken.length }) : null,+ /* @__PURE__ */ (0, I.jsx)(zDe, {retryKey: a.dataUpdatedAt,pending: d,facets: u,@@ -64344,14 +64344,14 @@ function ADe(e) {"data-follow-pagination": "",children: [s.has_more ? /* @__PURE__ */ (0, I.jsx)("span", {"data-follow-page-action": "",- children: s.groups.length < 500 ? /* @__PURE__ */ (0, I.jsxs)(uY, {+ children: s.groups.length < 500 ? /* @__PURE__ */ (0, I.jsxs)(lY, {entity: !0,enabled: () => !m.busyRef.current,load: async () => {await a.fetchNextPage({ throwOnError: !0 });},- children: [/* @__PURE__ */ (0, I.jsx)(VZ, { className: "size-(--icon-inline)" }), "加载更多"]- }, a.data?.pages.length) : /* @__PURE__ */ (0, I.jsx)(jDe, {+ children: [/* @__PURE__ */ (0, I.jsx)(BZ, { className: "size-(--icon-inline)" }), "加载更多"]+ }, a.data?.pages.length) : /* @__PURE__ */ (0, I.jsx)(MDe, {busy: a.isFetchingNextPage,error: a.isFetchNextPageError ? xn(a.error) : "",load: () => {@@ -64362,7 +64362,7 @@ function ADe(e) {"data-follow-page-action": "",children: [/* @__PURE__ */ (0, I.jsx)(J, {variant: "secondary",- leadingIcon: m.olderBusy ? void 0 : TDe,+ leadingIcon: m.olderBusy ? void 0 : EDe,"data-follow-older": "","aria-busy": m.busy || void 0,onClick: () => void m.start(!0),@@ -64380,7 +64380,7 @@ function ADe(e) {})] });}-function HZ({ children: e }) {+function VZ({ children: e }) {return /* @__PURE__ */ (0, I.jsxs)("div", {"data-follow-head": "",children: [/* @__PURE__ */ (0, I.jsx)("h2", {@@ -64388,30 +64388,30 @@ function HZ({ children: e }) {children: "关注"}), /* @__PURE__ */ (0, I.jsxs)("span", {"data-follow-head-actions": "",- children: [/* @__PURE__ */ (0, I.jsx)(yL, {+ children: [/* @__PURE__ */ (0, I.jsx)(vL, {variant: "secondary",- leadingIcon: wDe,+ leadingIcon: TDe,"data-follow-manage": "",- href: UZ(),+ href: HZ(),children: "管理关注"}), e]})]});}-function jDe({ busy: e, error: t, load: n }) {+function MDe({ busy: e, error: t, load: n }) {return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsxs)("button", {type: "button","data-entity-more": "","aria-busy": e || void 0,"aria-disabled": e || void 0,onClick: n,- children: [/* @__PURE__ */ (0, I.jsx)(VZ, { className: "size-(--icon-inline)" }), "加载更多"]- }), t ? /* @__PURE__ */ (0, I.jsx)(HG, {+ children: [/* @__PURE__ */ (0, I.jsx)(BZ, { className: "size-(--icon-inline)" }), "加载更多"]+ }), t ? /* @__PURE__ */ (0, I.jsx)(VG, {message: t,onRetry: n}) : null] });}-function MDe(e, t) {+function NDe(e, t) {let { helpers: n, actions: r } = e, [i, a] = (0, F.useState)(0), [o, s] = (0, F.useState)(!1), [c, l] = (0, F.useState)(""), [u, d] = (0, F.useState)(""), [f, p] = (0, F.useState)(!1), m = (0, F.useRef)(!1), h = (0, F.useRef)(null), g = (0, F.useRef)({helpers: n,actions: r@@ -64473,12 +64473,12 @@ function MDe(e, t) {olderBusy: c === "older" || f && o};}-function NDe({ facets: e, pressed: t, context: n, props: r, onPick: i }) {+function PDe({ facets: e, pressed: t, context: n, props: r, onPick: i }) {let a = (0, F.useRef)(null);(0, F.useEffect)(() => {r.helpers.wireDrag(a.current);}, [r.helpers]);- let o = (t) => yG(e.authorSources.get(t) || [], n);+ let o = (t) => vG(e.authorSources.get(t) || [], n);return e.authorOrder.length ? /* @__PURE__ */ (0, I.jsx)("div", {"data-follow-authors-bar": "",children: /* @__PURE__ */ (0, I.jsx)("div", {@@ -64486,14 +64486,14 @@ function NDe({ 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 = bG(a), c = /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)("span", {+ let a = e.authorSources.get(n) || [], s = yG(a), c = /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)("span", {"data-follow-ring": "",- dangerouslySetInnerHTML: { __html: xG(a, o(n)) }+ dangerouslySetInnerHTML: { __html: bG(a, o(n)) }}), /* @__PURE__ */ (0, I.jsx)("span", {"data-follow-name": "",children: o(n)})] });- return s ? /* @__PURE__ */ (0, I.jsx)(MZ, {+ return s ? /* @__PURE__ */ (0, I.jsx)(jZ, {name: s,actions: r.actions,"data-follow-author": n,@@ -64510,7 +64510,7 @@ function NDe({ facets: e, pressed: t, context: n, props: r, onPick: i }) {})}) : null;}-function PDe({ rows: e, pressed: t, props: n, onPick: r }) {+function FDe({ rows: e, pressed: t, props: n, onPick: r }) {let i = (0, F.useRef)(null);return (0, F.useEffect)(() => {n.helpers.wireDrag(i.current);@@ -64531,13 +64531,13 @@ function PDe({ rows: e, pressed: t, props: n, onPick: r }) {}, e[0]))}) : null;}-function FDe({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {- let { helpers: o, actions: s } = i, c = (0, F.useRef)(null), l = (0, F.useRef)(null), u = (0, F.useRef)(null), d = (0, F.useRef)(null), f = (0, F.useRef)(null), p = (0, F.useRef)(null), m = !!e.mediaCounts.images || t.media === "images", h = _L(c, u, "[data-follow-filter][aria-pressed=\"true\"]", t.status), g = _L(l, d, "[data-media-view][aria-pressed=\"true\"]", `${t.media}:${m}`);+function IDe({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {+ let { helpers: o, actions: s } = i, c = (0, F.useRef)(null), l = (0, F.useRef)(null), u = (0, F.useRef)(null), d = (0, F.useRef)(null), f = (0, F.useRef)(null), p = (0, F.useRef)(null), m = !!e.mediaCounts.images || t.media === "images", h = gL(c, u, "[data-follow-filter][aria-pressed=\"true\"]", t.status), g = gL(l, d, "[data-media-view][aria-pressed=\"true\"]", `${t.media}:${m}`);(0, F.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, I.jsx)(fL, {+ return /* @__PURE__ */ (0, I.jsx)(dL, {label: "筛选与排序",topLabel: m ? "媒体与关注筛选" : "关注筛选",attrs: {@@ -64589,7 +64589,7 @@ function FDe({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {dangerouslySetInnerHTML: { __html: R(i) }}, e);})- }), /* @__PURE__ */ (0, I.jsx)(BZ, {})] }) : null, /* @__PURE__ */ (0, I.jsxs)("div", {+ }), /* @__PURE__ */ (0, I.jsx)(zZ, {})] }) : null, /* @__PURE__ */ (0, I.jsxs)("div", {ref: f,"data-entity-scroll": "",children: [/* @__PURE__ */ (0, I.jsxs)("div", {@@ -64609,7 +64609,7 @@ function FDe({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {t.status !== e && a({ status: e });},children: n- }, e)), v ? /* @__PURE__ */ (0, I.jsx)(BZ, {}) : null]+ }, e)), v ? /* @__PURE__ */ (0, I.jsx)(zZ, {}) : null]}), /* @__PURE__ */ (0, I.jsxs)("div", {ref: p,"data-entity-tags": "",@@ -64622,10 +64622,10 @@ function FDe({ 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: _G(t, n) }+ dangerouslySetInnerHTML: { __html: gG(t, n) }}, t)),- _.length && e.tagRows.length ? /* @__PURE__ */ (0, I.jsx)(BZ, {}) : null,- e.tagRows.map(([n, r]) => /* @__PURE__ */ (0, I.jsxs)(pL, {+ _.length && e.tagRows.length ? /* @__PURE__ */ (0, I.jsx)(zZ, {}) : null,+ e.tagRows.map(([n, r]) => /* @__PURE__ */ (0, I.jsxs)(fL, {"data-follow-tag": n,"data-entity-press": "","data-tag-cat": `r34-${Da(e.groups, n)}`,@@ -64643,7 +64643,7 @@ function FDe({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {/* @__PURE__ */ (0, I.jsx)("h3", {"data-entity-readout": "","data-follow-readout": "",- children: /* @__PURE__ */ (0, I.jsx)(aL, {+ children: /* @__PURE__ */ (0, I.jsx)(iL, {text: `${n.toLocaleString()} 项更新 · 显示 ${e.visible.length.toLocaleString()}`,busy: r})@@ -64655,11 +64655,11 @@ function FDe({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {/* @__PURE__ */ (0, I.jsxs)("span", {"data-entity-sorts": "",children: [- /* @__PURE__ */ (0, I.jsx)(IG, { onPress: s.shuffle }),- y ? /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(FG, {+ /* @__PURE__ */ (0, I.jsx)(FG, { onPress: s.shuffle }),+ y ? /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(PG, {label: "图片布局",value: i.photoLayout,- options: ODe,+ options: kDe,onChange: (e) => s.setPhotoLayout(e === "fixed" ? "fixed" : "masonry")}), /* @__PURE__ */ (0, I.jsxs)("button", {type: "button",@@ -64689,9 +64689,9 @@ function FDe({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {let n = Sa(e, t.sort, t.dir);n && a(n);},- children: [n, r ? /* @__PURE__ */ (0, I.jsx)(fG, {- a: EDe,- b: DDe,+ children: [n, r ? /* @__PURE__ */ (0, I.jsx)(dG, {+ a: DDe,+ b: ODe,state: t.dir === "asc" ? "a" : "b",className: "size-(--icon-inline)"}) : null]@@ -64702,7 +64702,7 @@ function FDe({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {] })});}-function IDe({ conditions: e, onDrop: t, onClear: n }) {+function LDe({ conditions: e, onDrop: t, onClear: n }) {return /* @__PURE__ */ (0, I.jsx)("div", {"data-entity-combo": "","data-follow-combo": "",@@ -64727,21 +64727,21 @@ function IDe({ conditions: e, onDrop: t, onClear: n }) {})] }) : null});}-function LDe({ count: e }) {+function RDe({ count: e }) {return /* @__PURE__ */ (0, I.jsx)("div", {"data-follow-broken": "",- dangerouslySetInnerHTML: { __html: `<div class="geist-note geist-note-error fwarn" role="alert">${R("alert")}<span>${e} 个来源上次检查失败,去<a class="flink" href="${z(UZ())}" data-follow-manage>管理关注</a>看原因。</span></div>` }+ dangerouslySetInnerHTML: { __html: `<div class="geist-note geist-note-error fwarn" role="alert">${R("alert")}<span>${e} 个来源上次检查失败,去<a class="flink" href="${z(HZ())}" data-follow-manage>管理关注</a>看原因。</span></div>` }});}-var UZ = () => zZ(window.location.search);-function RDe({ pending: e, facets: t, data: n, context: r, props: i, retryKey: a, checkAction: o }) {+var HZ = () => RZ(window.location.search);+function zDe({ pending: e, facets: t, data: n, context: r, props: i, retryKey: a, checkAction: o }) {let { view: s, helpers: c } = i, l = s.media === "images";return /* @__PURE__ */ (0, I.jsx)("div", {"data-follow-list-body": "",- children: /* @__PURE__ */ (0, I.jsx)(UG, {+ children: /* @__PURE__ */ (0, I.jsx)(HG, {pending: e,skeletonHtml: () => c.listSkeletonHtml(s.media),- children: e ? null : /* @__PURE__ */ (0, I.jsx)(zDe, {+ children: e ? null : /* @__PURE__ */ (0, I.jsx)(BDe, {facets: t,data: n,context: r,@@ -64753,29 +64753,29 @@ function RDe({ pending: e, facets: t, data: n, context: r, props: i, retryKey: a})});}-function zDe({ facets: e, data: t, context: n, props: r, images: i, retryKey: a, checkAction: o }) {- let { view: s, actions: c } = r, l = GZ(r), u = i ? {+function BDe({ facets: e, data: t, context: n, props: r, images: i, retryKey: a, checkAction: o }) {+ let { view: s, actions: c } = r, l = WZ(r), u = i ? {"data-size": r.photoSize,"data-layout": r.photoLayout,"data-images-only": String(r.imagesOnly)- } : {}, d = CDe(i && r.photoLayout === "masonry", `${r.photoSize}:${e.visible.map((e) => e.primary.id).join(",")}`), f;+ } : {}, d = wDe(i && r.photoLayout === "masonry", `${r.photoSize}:${e.visible.map((e) => e.primary.id).join(",")}`), f;return f = e.visible.length ? e.visible.map((t) => {let i = e.byId.get(t.primary?.source_id), o = i?.author_key && e.authorSources.get(i.author_key) || [], u = t.primary.id;- return /* @__PURE__ */ (0, I.jsx)(PZ, {+ return /* @__PURE__ */ (0, I.jsx)(NZ, {group: t,authorSources: o,media: s.media,retryKey: a,context: n,- selected: r.selected.has(WZ(t, s)),+ selected: r.selected.has(UZ(t, s)),selectMode: r.selectMode,- busy: l.busy.get(WZ(t, s)) || "",- failure: l.failures.get(WZ(t, s)) || "",+ busy: l.busy.get(UZ(t, s)) || "",+ failure: l.failures.get(UZ(t, s)) || "",actions: c,onStatus: l.status,onSave: l.save}, `${u}:${s.media}`);- }) : /* @__PURE__ */ (0, I.jsx)(BDe, {+ }) : /* @__PURE__ */ (0, I.jsx)(VDe, {data: t,filtered: !!(s.status || e.author || e.provider || s.work || s.tags.length || s.durMin || s.durMax),checkAction: o,@@ -64798,10 +64798,10 @@ function zDe({ facets: e, data: t, context: n, props: r, images: i, retryKey: a,children: f});}-function WZ(e, t) {+function UZ(e, t) {return ga(e, t.media).id;}-function BDe({ data: e, filtered: t, clear: n, checkAction: r }) {+function VDe({ data: e, filtered: t, clear: n, checkAction: r }) {let i = !!e.groups.length || t, a = !!e.sources.length;return /* @__PURE__ */ (0, I.jsx)("div", {"data-follow-empty": "",@@ -64813,7 +64813,7 @@ function BDe({ data: e, filtered: t, clear: n, checkAction: r }) {size: "small",onClick: n,children: "清除筛选"- }) : a ? r : /* @__PURE__ */ (0, I.jsx)(yL, {+ }) : a ? r : /* @__PURE__ */ (0, I.jsx)(vL, {size: "small",href: "/subscriptions?tab=add",children: "添加关注"@@ -64822,12 +64822,12 @@ function BDe({ data: e, filtered: t, clear: n, checkAction: r }) {})});}-var VDe = {+var HDe = {new: "已恢复未看",seen: "已标记已看",ignored: "已忽略"};-function GZ(e) {+function WZ(e) {let { view: t, revision: n, actions: r } = e, [i, a] = (0, F.useState)(() => /* @__PURE__ */ new Map()), [o, s] = (0, F.useState)(() => /* @__PURE__ */ new Map()), c = ra(t, n).queryKey, l = (e, t, n) => n((n) => {let r = new Map(n);return t ? r.set(e, t) : r.delete(e), r;@@ -64850,7 +64850,7 @@ function GZ(e) {to: t}),onSuccess: (e, { id: t, to: n, was: i }) => {- u(t, n), d(), r.toast(VDe[n] || "已更新关注状态", { undo: i === "saved" ? void 0 : async () => {+ u(t, n), d(), r.toast(HDe[n] || "已更新关注状态", { undo: i === "saved" ? void 0 : async () => {await V(Mr, {item: t,to: i@@ -64895,9 +64895,9 @@ function GZ(e) {};}// src/react/entity-body/entity-online.tsx-function HDe(e) {+function UDe(e) {let { result: t, data: n, media: r, helpers: i } = e, a = t.isPending || t.isPlaceholderData;- return !n && t.isError ? /* @__PURE__ */ (0, I.jsx)(HG, {+ return !n && t.isError ? /* @__PURE__ */ (0, I.jsx)(VG, {message: xn(t.error),onRetry: () => {t.refetch();@@ -64905,13 +64905,13 @@ function HDe(e) {}) : /* @__PURE__ */ (0, I.jsx)("div", {"data-follow-list-body": "","data-entity-online": "",- children: /* @__PURE__ */ (0, I.jsxs)(UG, {+ children: /* @__PURE__ */ (0, I.jsxs)(HG, {pending: a,skeletonHtml: () => i.listSkeletonHtml(r),- children: [a || !n ? null : /* @__PURE__ */ (0, I.jsx)(UDe, {+ children: [a || !n ? null : /* @__PURE__ */ (0, I.jsx)(WDe, {...e,data: n- }), !a && n?.has_more ? /* @__PURE__ */ (0, I.jsx)(uY, {+ }), !a && n?.has_more ? /* @__PURE__ */ (0, I.jsx)(lY, {entity: !0,enabled: () => e.canLoadMore?.() !== !1,load: async () => {@@ -64921,8 +64921,8 @@ function HDe(e) {})});}-function UDe({ view: e, media: t, data: n, visible: r, context: i, photoSize: a, photoLayout: o, imagesOnly: s, actions: c, clearFilters: l }) {- let u = GZ({+function WDe({ view: e, media: t, data: n, visible: r, context: i, photoSize: a, photoLayout: o, imagesOnly: s, actions: c, clearFilters: l }) {+ let u = WZ({view: e,revision: 0,actions: c@@ -64940,7 +64940,7 @@ function UDe({ view: e, media: t, data: n, visible: r, context: i, photoSize: a,"data-images-only": String(s)} : {}, m = r.length ? r.map((e) => {let n = ga(e, t).id, r = d.byId.get(e.primary?.source_id)?.author_key;- return /* @__PURE__ */ (0, I.jsx)(PZ, {+ return /* @__PURE__ */ (0, I.jsx)(NZ, {group: e,authorSources: r && d.byAuthor.get(r) || [],media: t,@@ -64953,11 +64953,11 @@ function UDe({ view: e, media: t, data: n, visible: r, context: i, photoSize: a,onStatus: u.status,onSave: u.save}, `${e.primary.id}:${t}`);- }) : /* @__PURE__ */ (0, I.jsx)(WDe, {+ }) : /* @__PURE__ */ (0, I.jsx)(GDe, {searched: !!(n.groups || []).length || !!(e.status || e.provider || e.tags.length || e.durMin || e.durMax),clear: l,actions: c,- sources: vDe(n.sources || [], e.author)+ sources: yDe(n.sources || [], e.author)});return /* @__PURE__ */ (0, I.jsx)("div", {"data-follow-list": "",@@ -64966,7 +64966,7 @@ function UDe({ view: e, media: t, data: n, visible: r, context: i, photoSize: a,children: m});}-function WDe({ searched: e, clear: t, actions: n, sources: r }) {+function GDe({ searched: e, clear: t, actions: n, sources: r }) {return /* @__PURE__ */ (0, I.jsx)("div", {"data-follow-empty": "",className: "contents",@@ -64977,10 +64977,10 @@ function WDe({ searched: e, clear: t, actions: n, sources: r }) {size: "small",onClick: t,children: "清除筛选"- }) : r.length ? /* @__PURE__ */ (0, I.jsx)(yDe, {+ }) : r.length ? /* @__PURE__ */ (0, I.jsx)(bDe, {sources: r,report: n.checkReport- }) : /* @__PURE__ */ (0, I.jsx)(yL, {+ }) : /* @__PURE__ */ (0, I.jsx)(vL, {size: "small",href: "/subscriptions?tab=add",children: "添加关注"@@ -64989,7 +64989,7 @@ function WDe({ searched: e, clear: t, actions: n, sources: r }) {})});}-function KZ(e) {+function GZ(e) {return {x0: 0,y0: 0,@@ -64997,7 +64997,7 @@ function KZ(e) {y1: e.height};}-function qZ(e) {+function KZ(e) {return {x0: Math.round(e.x0),y0: Math.round(e.y0),@@ -65005,40 +65005,40 @@ function qZ(e) {y1: Math.round(e.y1)};}-function JZ(e) {+function qZ(e) {return !!e && Number.isFinite(e.width) && Number.isFinite(e.height) && e.width > 0 && e.height > 0;}-function YZ(e, t) {- if (!JZ(e)) return {+function JZ(e, t) {+ if (!qZ(e)) return {x0: 0,y0: 0,x1: 0,y1: 0};- if (t == null || !(t > 0)) return KZ(e);+ if (t == null || !(t > 0)) return GZ(e);let n = e.width, r = n / t;r > e.height && (r = e.height, n = r * t);let i = (e.width - n) / 2, a = (e.height - r) / 2;- return qZ({+ return KZ({x0: i,y0: a,x1: i + n,y1: a + r});}-function GDe(e, t) {- if (!JZ(e) || !(t > 0)) return KZ(e);+function KDe(e, t) {+ if (!qZ(e) || !(t > 0)) return GZ(e);let n = Math.min(e.width, e.height * t);- return qZ({+ return KZ({x0: e.width - n,y0: 0,x1: e.width,y1: e.height});}-function KDe(e, t, n) {- if (!JZ(t) || !(n > 0)) return KZ(t);- let r = XZ(e, t), i = YZ({+function qDe(e, t, n) {+ if (!qZ(t) || !(n > 0)) return GZ(t);+ let r = YZ(e, t), i = JZ({width: r.x1 - r.x0,height: r.y1 - r.y0}, n);@@ -65049,8 +65049,8 @@ function KDe(e, t, n) {y1: r.y0 + i.y1};}-function XZ(e, t, n = null, r = "width") {- if (!JZ(t)) return {+function YZ(e, t, n = null, r = "width") {+ if (!qZ(t)) return {x0: 0,y0: 0,x1: 0,@@ -65059,43 +65059,43 @@ function XZ(e, t, n = null, r = "width") {let i = Math.min(16, t.width, t.height), a = Math.max(i, Math.min(e.x1 - e.x0, t.width)), o = Math.max(i, Math.min(e.y1 - e.y0, t.height));n != null && n > 0 && (r === "width" ? (o = a / n, o > t.height && (o = t.height, a = o * n)) : (a = o * n, a > t.width && (a = t.width, o = a / n)), a > t.width && (a = t.width, o = a / n));let s = Math.max(0, Math.min(e.x0, t.width - a)), c = Math.max(0, Math.min(e.y0, t.height - o));- return qZ({+ return KZ({x0: s,y0: c,x1: s + a,y1: c + o});}-function ZZ(e, t, n, r) {+function XZ(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 qZ({+ return KZ({x0: o,y0: s,x1: o + i,y1: s + a});}-function QZ(e, t, n, r = null) {- if (!JZ(n) || !(t > 0)) return e;+function ZZ(e, t, n, r = null) {+ if (!qZ(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 XZ({+ return YZ({x0: i - o / 2,y0: a - s / 2,x1: i + o / 2,y1: a + s / 2}, n, r);}-function qDe(e, t, n, r, i = null) {+function JDe(e, t, n, r, i = null) {let a = {x0: e.x0,y0: e.y0,x1: Math.max(e.x0 + 1, t),y1: Math.max(e.y0 + 1, n)};- return XZ(a, r, i, (a.x1 - a.x0) / Math.max(1, a.y1 - a.y0) > (i ?? 1) ? "height" : "width");+ return YZ(a, r, i, (a.x1 - a.x0) / Math.max(1, a.y1 - a.y0) > (i ?? 1) ? "height" : "width");}-function JDe(e, t) {- return JZ(t) ? {+function YDe(e, t) {+ return qZ(t) ? {left: e.x0 / t.width * 100,top: e.y0 / t.height * 100,width: (e.x1 - e.x0) / t.width * 100,@@ -65107,8 +65107,8 @@ function JDe(e, t) {height: 0};}-function YDe(e, t) {- if (!JZ(t)) return {+function XDe(e, t) {+ if (!qZ(t)) return {size: "cover",position: "50% 50%"};@@ -65118,7 +65118,7 @@ function YDe(e, t) {position: `${i(e.x0, t.width, n)}% ${i(e.y0, t.height, r)}%`};}-function XDe(e, t) {+function ZDe(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}%`,@@ -65127,15 +65127,15 @@ function XDe(e, t) {height: `${t.height / r * 100}%`};}-function $Z(e, t, n) {+function QZ(e, t, n) {return t > 0 ? e * n / t : 0;}-function ZDe(e, t) {+function QDe(e, t) {return !t || !(t.width > 0) || !(t.height > 0) ? !1 : Math.min(e.width / 100 * t.width, e.height / 100 * t.height) < 36;}// src/react/crop/crop-frame.tsx-var QDe = .02, eQ = 1.08;-function tQ({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: o }) {+var $De = .02, $Z = 1.08;+function eQ({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: o }) {let s = (0, F.useRef)(null), c = (0, F.useRef)(null), [l, u] = (0, F.useState)(!1), [d, f] = (0, F.useState)(null);(0, F.useEffect)(() => {u(!1);@@ -65154,8 +65154,8 @@ function tQ({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: odx: 0,dy: 0} : {- dx: $Z(e, n.clientWidth, r.width),- dy: $Z(t, n.clientHeight, r.height)+ dx: QZ(e, n.clientWidth, r.width),+ dy: QZ(t, n.clientHeight, r.height)};}, [r]);function m(e) {@@ -65172,22 +65172,22 @@ function tQ({ 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(ZZ(n.box, o.dx, o.dy, r)) : i(qDe(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(XZ(n.box, o.dx, o.dy, r)) : i(JDe(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) * QDe), o = {+ let a = Math.max(1, (n.x1 - n.x0) * $De), o = {ArrowLeft: [-a, 0],ArrowRight: [a, 0],ArrowUp: [0, -a],ArrowDown: [0, a]};- o[e.key] ? (e.preventDefault(), i(ZZ(n, o[e.key][0], o[e.key][1], r))) : (e.key === "+" || e.key === "=" || e.key === "-") && (e.preventDefault(), i(QZ(n, e.key === "-" ? 1 / eQ : eQ, r, t)));+ o[e.key] ? (e.preventDefault(), i(XZ(n, o[e.key][0], o[e.key][1], r))) : (e.key === "+" || e.key === "=" || e.key === "-") && (e.preventDefault(), i(ZZ(n, e.key === "-" ? 1 / $Z : $Z, r, t)));}- let v = n && r ? JDe(XZ(n, r, t), r) : null, y = v ? ZDe(v, d) : !1, b = v ? {+ let v = n && r ? YDe(YZ(n, r, t), r) : null, y = v ? QDe(v, d) : !1, b = v ? {"--crop-l": `${v.left}%`,"--crop-t": `${v.top}%`,"--crop-w": `${v.width}%`,@@ -65206,7 +65206,7 @@ function tQ({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: odraggable: !1,onLoad: (e) => {let t = e.currentTarget;- JZ({+ qZ({width: t.naturalWidth,height: t.naturalHeight}) && a({@@ -65245,7 +65245,7 @@ function tQ({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: oonPointerCancel: g,onKeyDown: _,onWheel: (e) => {- n && r && i(QZ(n, e.deltaY > 0 ? eQ : 1 / eQ, r, t));+ n && r && i(ZZ(n, e.deltaY > 0 ? $Z : 1 / $Z, 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, I.jsx)("span", {@@ -65267,13 +65267,13 @@ function tQ({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: o});}// src/react/avatar-picker/avatar-picker.ts-var $De = "/api/avatar-choices", nQ = "/api/avatar-pick", eOe = "/api/avatar-code-cover", rQ = "/api/avatar-frame", tOe = "/avatar-choice", iQ = (e, t) => [+var eOe = "/api/avatar-choices", tQ = "/api/avatar-pick", tOe = "/api/avatar-code-cover", nQ = "/api/avatar-frame", nOe = "/avatar-choice", rQ = (e, t) => ["avatar-choices",e,t-], aQ = (e, t) => `?kind=${encodeURIComponent(e)}&id=${t}`, oQ = (e, t, n, r = "") => `${tOe}${aQ(e, t)}&ref=${encodeURIComponent(n)}` + (r ? `&v=${encodeURIComponent(r)}` : ""), sQ = (e, t) => t.startsWith("cover:") || t.endsWith(":cover") ? e.version : "", nOe = (e, t, n) => B($De + aQ(e, t), n), rOe = (e) => V(eOe, { code: e });-async function iOe(e, t, n) {- let r = await V(rQ, {+], iQ = (e, t) => `?kind=${encodeURIComponent(e)}&id=${t}`, aQ = (e, t, n, r = "") => `${nOe}${iQ(e, t)}&ref=${encodeURIComponent(n)}` + (r ? `&v=${encodeURIComponent(r)}` : ""), oQ = (e, t) => t.startsWith("cover:") || t.endsWith(":cover") ? e.version : "", rOe = (e, t, n) => B(eOe + iQ(e, t), n), iOe = (e) => V(tOe, { code: e });+async function aOe(e, t, n) {+ let r = await V(nQ, {kind: e,id: t,ref: n.ref@@ -65286,12 +65286,12 @@ async function iOe(e, t, n) {bases: r.bases};}-var aOe = (e, t, n) => V(rQ, {+var oOe = (e, t, n) => V(nQ, {kind: e,id: t,url: n-}), oOe = (e, t, n) => cQ(`${rQ}${aQ(e, t)}&name=${encodeURIComponent(n.name)}`, n);-async function cQ(e, t) {+}), sOe = (e, t, n) => sQ(`${nQ}${iQ(e, t)}&name=${encodeURIComponent(n.name)}`, n);+async function sQ(e, t) {let n = await fetch(e, {method: "POST",credentials: "same-origin",@@ -65300,17 +65300,17 @@ async function cQ(e, t) {if (n.ok) return r;throw new sr(r?.error || `请求失败(${n.status})`, n.status, r);}-function lQ(e, t, n) {+function cQ(e, t, n) {let r = t.width === e.width && t.height === e.height;- return e.focus && r ? KDe(e.focus, t, n) : YZ(t, n);+ return e.focus && r ? qDe(e.focus, t, n) : JZ(t, n);}-var sOe = (e) => e.crop && JZ({+var cOe = (e) => e.crop && qZ({width: e.width,height: e.height});-async function cOe(e, t, n) {+async function lOe(e, t, n) {if (!("file" in n)) {- await V(nQ, {+ await V(tQ, {kind: e,id: t,...n@@ -65323,19 +65323,19 @@ async function cOe(e, t, n) {i.x1,i.y1].join(",")}` : "";- await cQ(`${nQ}${aQ(e, t)}&name=${encodeURIComponent(r.name)}${a}`, r);+ await sQ(`${tQ}${iQ(e, t)}&name=${encodeURIComponent(r.name)}${a}`, r);}-var uQ = 2;-function lOe(e, t) {+var lQ = 2;+function uOe(e, t) {if (!t) return e;let n = t.matched_names.filter((t) => t !== e);- return n.length ? `${e}:图库里按${`「${n.slice(0, uQ).join("」「")}」`}${n.length > uQ ? `等 ${n.length.toLocaleString()} 个名字` : ""}找到的。` : t.choices.length ? `${e}:换上的那张留在本机,随时能换回来。` : `${e}:还没有备选图片,可输入番号、图片地址或从本机选择。`;+ return n.length ? `${e}:图库里按${`「${n.slice(0, lQ).join("」「")}」`}${n.length > lQ ? `等 ${n.length.toLocaleString()} 个名字` : ""}找到的。` : t.choices.length ? `${e}:换上的那张留在本机,随时能换回来。` : `${e}:还没有备选图片,可输入番号、图片地址或从本机选择。`;}-var uOe = (e) => e < 48 ? `${Math.max(1, Math.round(e))} 小时` : `${Math.floor(e / 24)} 天`;-function dOe(e) {- return e?.index_refreshing ? "正在更新图库索引,候选图片会自动显示。" : e?.index_error && e.index_stale ? "图库索引未取得:" + e.index_error : !e || !e.index_stale || e.choices.some((e) => e.source === "gfriends") ? "" : e.index_age_hours === null ? "图库索引还没取过,只能从用过的图里选。" : `图库索引 ${uOe(e.index_age_hours)}没更新,新收的人像这里还查不到。`;+var dOe = (e) => e < 48 ? `${Math.max(1, Math.round(e))} 小时` : `${Math.floor(e / 24)} 天`;+function fOe(e) {+ return e?.index_refreshing ? "正在更新图库索引,候选图片会自动显示。" : e?.index_error && e.index_stale ? "图库索引未取得:" + e.index_error : !e || !e.index_stale || e.choices.some((e) => e.source === "gfriends") ? "" : e.index_age_hours === null ? "图库索引还没取过,只能从用过的图里选。" : `图库索引 ${dOe(e.index_age_hours)}没更新,新收的人像这里还查不到。`;}-var dQ = (e) => e.cast > 1, fOe = (e) => dQ(e) ? `${e.label}:${e.cast.toLocaleString()} 人合演,先找到她自己的脸,再拖动方框选一块。` : `${e.label}:拖动方框选一块,滚轮或角上那枚方块改大小。`, pOe = {+var uQ = (e) => e.cast > 1, pOe = (e) => uQ(e) ? `${e.label}:${e.cast.toLocaleString()} 人合演,先找到她自己的脸,再拖动方框选一块。` : `${e.label}:拖动方框选一块,滚轮或角上那枚方块改大小。`, mOe = {gfriends: "图库",history: "用过的",asset: "作品画面",@@ -65345,7 +65345,7 @@ var dQ = (e) => e.cast > 1, fOe = (e) => dQ(e) ? `${e.label}:${e.cast.toLocalesocial: "社媒头像",online: "在线作品"};-function mOe(e) {+function hOe(e) {if (e.startsWith("follow:")) {let t = e.split(":")[2];return t === "cover" ? "作品封面" : `内容图片 ${Number(t.replace("image", "") || 0) + 1}`;@@ -65356,19 +65356,19 @@ function mOe(e) {let n = Number(t.replace("cell", ""));return Number.isFinite(n) ? `第 ${n + 1} 格` : t;}-var hOe = (e) => `${pOe[e.source] || e.source} · ${e.label}` + (e.width ? ` · ${e.width}×${e.height}` : "") + (dQ(e) ? ` · ${e.cast.toLocaleString()} 人合演` : "") + (e.found_by ? ` · 按「${e.found_by}」找到` : "") + (e.source === "asset" && e.detail && e.detail !== e.label ? ` · ${e.detail}` : ""), gOe = 8, _Oe = 3 / 4;-async function vOe(e, t, n) {+var gOe = (e) => `${mOe[e.source] || e.source} · ${e.label}` + (e.width ? ` · ${e.width}×${e.height}` : "") + (uQ(e) ? ` · ${e.cast.toLocaleString()} 人合演` : "") + (e.found_by ? ` · 按「${e.found_by}」找到` : "") + (e.source === "asset" && e.detail && e.detail !== e.label ? ` · ${e.detail}` : ""), _Oe = 8, vOe = 3 / 4;+async function yOe(e, t, n) {switch (n.via) {- case "choice": return { choice: await iOe(e, t, n.choice) };- case "code": return { choice: await rOe(n.code) };- case "url": return { choice: await aOe(e, t, n.url) };+ case "choice": return { choice: await aOe(e, t, n.choice) };+ case "code": return { choice: await iOe(n.code) };+ case "url": return { choice: await oOe(e, t, n.url) };case "file": return {- choice: await oOe(e, t, n.file),+ choice: await sOe(e, t, n.file),file: n.file};}}-function yOe({ kind: e, entityId: t, name: n, onPicked: r }) {+function bOe({ kind: e, entityId: t, name: n, onPicked: r }) {let [i, a] = (0, F.useState)(!1);return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)("span", {className: "absolute right-1 bottom-1 z-10",@@ -65378,7 +65378,7 @@ function yOe({ kind: e, entityId: t, name: n, onPicked: r }) {"aria-label": `更换${n}的头像`,onClick: () => a(!0),className: "flex size-7 cursor-pointer items-center justify-center rounded-full border border-border-button-default bg-background-primary-default text-foreground-icon-primary shadow-xs outline-none ring-2 ring-background-full transition-colors hover:border-border-button-hover hover:bg-background-primary-hover/60 dark:hover:bg-background-primary-hover focus-visible:ring-border-focus-ring active:bg-background-primary-active",- children: /* @__PURE__ */ (0, I.jsx)(qhe, {+ children: /* @__PURE__ */ (0, I.jsx)(Jhe, {"aria-hidden": !0,className: "size-4"})@@ -65388,7 +65388,7 @@ function yOe({ kind: e, entityId: t, name: n, onPicked: r }) {onOpenChange: a,width: "avatar-picker",label: "更换头像",- children: /* @__PURE__ */ (0, I.jsx)(bOe, {+ children: /* @__PURE__ */ (0, I.jsx)(xOe, {kind: e,entityId: t,name: n,@@ -65397,24 +65397,24 @@ function yOe({ kind: e, entityId: t, name: n, onPicked: r }) {})})] });}-function bOe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {- let a = (0, F.useRef)(null), o = BV(), [s, c] = (0, F.useState)(""), [l, u] = (0, F.useState)(""), [d, f] = (0, F.useState)(null), p = iQ(e, t), m = (0, F.useRef)(!1), h = Ft({+function xOe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {+ let a = (0, F.useRef)(null), o = BV(), [s, c] = (0, F.useState)(""), [l, u] = (0, F.useState)(""), [d, f] = (0, F.useState)(null), p = rQ(e, t), m = (0, F.useRef)(!1), h = Ft({queryKey: p,- queryFn: ({ signal: n }) => nOe(e, t, n),+ queryFn: ({ signal: n }) => rOe(e, t, n),retryOnMount: !0,refetchOnMount: (e) => e.state.data?.index_stale ? "always" : !1,refetchInterval: (e) => e.state.data?.index_refreshing && !e.state.error ? 1e3 : !1});(0, F.useEffect)(() => () => {- m.current && H.removeQueries({ queryKey: iQ(e, t) });+ m.current && H.removeQueries({ queryKey: rQ(e, t) });}, [e, t]);let g = It({- mutationFn: (n) => cOe(e, t, n),+ mutationFn: (n) => lOe(e, t, n),onSuccess: () => {m.current = !0, i(), r();}}), _ = It({- mutationFn: (n) => vOe(e, t, n),+ mutationFn: (n) => yOe(e, t, n),onMutate: () => {g.reset();},@@ -65435,7 +65435,7 @@ function bOe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {crop: e.crop} : { file: n }) : g.mutate(e ?? { ref: t.ref });}- let x = h.data, S = x?.choices ?? [], C = (g.error ? lr(g.error) : "") || (!d && _.error ? lr(_.error) : "") || (h.error ? lr(h.error) : ""), w = g.isPending || _.isPending, T = d ? "" : dOe(x), E = !!C && !!h.error && C === lr(h.error), D = h.isPending || S.length > 0;+ let x = h.data, S = x?.choices ?? [], C = (g.error ? lr(g.error) : "") || (!d && _.error ? lr(_.error) : "") || (h.error ? lr(h.error) : ""), w = g.isPending || _.isPending, T = d ? "" : fOe(x), E = !!C && !!h.error && C === lr(h.error), D = h.isPending || S.length > 0;return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsxs)("div", {className: "flex shrink-0 items-start gap-4 p-5",children: [@@ -65445,7 +65445,7 @@ function bOe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {children: [/* @__PURE__ */ (0, I.jsxs)("div", {className: "flex flex-wrap items-center gap-2",- children: [/* @__PURE__ */ (0, I.jsx)(VL, {+ children: [/* @__PURE__ */ (0, I.jsx)(BL, {slot: "title",className: "text-title-3-semibold text-text-primary",children: d ? "框出头像那一块" : "更换头像"@@ -65456,7 +65456,7 @@ function bOe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {}),/* @__PURE__ */ (0, I.jsx)("p", {className: "text-body-2-regular text-text-secondary",- children: d ? fOe(d.choice) : lOe(n, x)+ children: d ? pOe(d.choice) : uOe(n, x)}),T ? /* @__PURE__ */ (0, I.jsx)(uV, {tone: "neutral",@@ -65477,14 +65477,14 @@ function bOe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {}) : null]}),- /* @__PURE__ */ (0, I.jsx)(sL, {- icon: TB,+ /* @__PURE__ */ (0, I.jsx)(oL, {+ icon: wB,size: "small","aria-label": "关闭",onClick: i})]- }), d ? /* @__PURE__ */ (0, I.jsx)(SOe, {+ }), d ? /* @__PURE__ */ (0, I.jsx)(COe, {kind: e,entityId: t,choice: d.choice,@@ -65504,7 +65504,7 @@ function bOe({ 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: gOe }, (e, t) => /* @__PURE__ */ (0, I.jsxs)("span", {+ children: h.isPending ? Array.from({ length: _Oe }, (e, t) => /* @__PURE__ */ (0, I.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",@@ -65517,7 +65517,7 @@ function bOe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {role: "option","data-avatar-choice": !0,"aria-selected": n.current,- title: hOe(n),+ title: gOe(n),...hV(w),onClick: () => {w || (n.crop ? (g.reset(), _.reset(), f({ choice: n })) : _.mutate({@@ -65527,8 +65527,8 @@ function bOe({ 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, I.jsx)(xOe, {- src: oQ(e, t, n.ref, sQ(n, n.ref)),+ /* @__PURE__ */ (0, I.jsx)(SOe, {+ src: aQ(e, t, n.ref, oQ(n, n.ref)),choice: n}),/* @__PURE__ */ (0, I.jsx)("span", {@@ -65543,7 +65543,7 @@ function bOe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {children: "在用"})}) : null,- dQ(n) ? /* @__PURE__ */ (0, I.jsx)("span", {+ uQ(n) ? /* @__PURE__ */ (0, I.jsx)("span", {className: "absolute top-1 right-1",children: /* @__PURE__ */ (0, I.jsxs)(KU, {variant: "caption",@@ -65630,7 +65630,7 @@ function bOe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {})]})] })] });}-function xOe({ src: e, choice: t }) {+function SOe({ src: e, choice: t }) {let n = (0, F.useRef)(null), [r, i] = (0, F.useState)(!1), [a, o] = (0, F.useState)(!1);(0, F.useEffect)(() => {n.current?.complete && n.current.naturalWidth && i(!0);@@ -65638,7 +65638,7 @@ function xOe({ src: e, choice: t }) {let s = {width: t.width,height: t.height- }, c = sOe(t) ? XDe(lQ(t, s, _Oe), s) : null, l = r || a ? !0 : void 0;+ }, c = cOe(t) ? ZDe(cQ(t, s, vOe), s) : null, l = r || a ? !0 : void 0;return /* @__PURE__ */ (0, I.jsxs)("span", {"data-choice-lost": a || void 0,className: "relative block w-full aspect-avatar-choice overflow-hidden",@@ -65664,23 +65664,23 @@ function xOe({ src: e, choice: t }) {})]});}-function SOe({ kind: e, entityId: t, choice: n, busy: r, back: i, confirm: a }) {- let o = n.bases.length ? n.bases : [n.ref], [s, c] = (0, F.useState)(o[0]), [l, u] = (0, F.useState)(null), [d, f] = (0, F.useState)(null), p = sQ(n, s), m = oQ(e, t, s, p), h = BV();+function COe({ kind: e, entityId: t, choice: n, busy: r, back: i, confirm: a }) {+ let o = n.bases.length ? n.bases : [n.ref], [s, c] = (0, F.useState)(o[0]), [l, u] = (0, F.useState)(null), [d, f] = (0, F.useState)(null), p = oQ(n, s), m = aQ(e, t, s, p), h = BV();function g(e) {c(e), u(null), f(null);}- let _ = d && l ? YDe(d, l) : null;+ let _ = d && l ? XDe(d, l) : null;return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsxs)("div", {ref: h,className: "flex min-h-0 flex-1 flex-col items-center gap-4 overflow-y-auto border-t border-separator-border px-5 py-4",- children: [m ? /* @__PURE__ */ (0, I.jsx)(tQ, {+ children: [m ? /* @__PURE__ */ (0, I.jsx)(eQ, {src: m,aspect: 1,box: d,size: l,label: `${n.label} 的头像取景框`,onSize: (e) => {- u(e), JZ(e) && f(s === n.ref ? lQ(n, e, 1) : YZ(e, 1));+ u(e), qZ(e) && f(s === n.ref ? cQ(n, e, 1) : JZ(e, 1));},onBox: f}) : null, o.length > 1 ? /* @__PURE__ */ (0, I.jsx)("div", {@@ -65694,7 +65694,7 @@ function SOe({ kind: e, entityId: t, choice: n, busy: r, back: i, confirm: a })"data-crop-base": !0,onClick: () => g(e),className: "cursor-pointer rounded-lg px-2 py-1 text-caption-1-regular text-text-secondary outline-none hover:text-text-primary focus-visible:ring-2 focus-visible:ring-border-focus-ring aria-checked:bg-background-tertiary-default aria-checked:text-text-primary",- children: mOe(e)+ children: hOe(e)}, e))}) : null]}), /* @__PURE__ */ (0, I.jsxs)("div", {@@ -65742,8 +65742,8 @@ function SOe({ kind: e, entityId: t, choice: n, busy: r, back: i, confirm: a })})] });}// src/react/components/source-picture.tsx-var fQ = (e, t, n = 0) => `/jav-image?code=${encodeURIComponent(e)}&image=${encodeURIComponent(t)}${n ? `&attempt=${n}` : ""}`;-function pQ({ title: e, detail: t, busy: n, onRetry: r }) {+var dQ = (e, t, n = 0) => `/jav-image?code=${encodeURIComponent(e)}&image=${encodeURIComponent(t)}${n ? `&attempt=${n}` : ""}`;+function fQ({ title: e, detail: t, busy: n, onRetry: r }) {return /* @__PURE__ */ (0, I.jsx)("div", {"data-jav-picture-wait": "",children: /* @__PURE__ */ (0, I.jsx)(dV, {@@ -65760,9 +65760,9 @@ function pQ({ title: e, detail: t, busy: n, onRetry: r }) {})});}-function COe({ code: e }) {+function wOe({ code: e }) {let t = hH(), [n, r] = (0, F.useState)("");- return /* @__PURE__ */ (0, I.jsx)(pQ, {+ return /* @__PURE__ */ (0, I.jsx)(fQ, {title: "封面未取得",detail: t.error || n,busy: !!t.busy,@@ -65777,8 +65777,8 @@ function COe({ code: e }) {}});}-function mQ({ item: e, image: t, thumbnail: n = !1 }) {- let [r, i] = (0, F.useState)(0), [a, o] = (0, F.useState)(null), [s, c] = (0, F.useState)(""), l = (0, F.useRef)(null), u = t === "cover" && e.has_cover, d = !u && (t !== "cover" || e.source_image), f = n ? "" : t === "cover" ? `${e.code} 封面` : `${e.code} 预览 ${Number(t) + 1}`, p = d ? fQ(e.code, t, r) : u ? lo(e, !0) : e.cover_url || "";+function pQ({ item: e, image: t, thumbnail: n = !1 }) {+ let [r, i] = (0, F.useState)(0), [a, o] = (0, F.useState)(null), [s, c] = (0, F.useState)(""), l = (0, F.useRef)(null), u = t === "cover" && e.has_cover, d = !u && (t !== "cover" || e.source_image), f = n ? "" : t === "cover" ? `${e.code} 封面` : `${e.code} 预览 ${Number(t) + 1}`, p = d ? dQ(e.code, t, r) : u ? lo(e, !0) : e.cover_url || "";if ((0, F.useLayoutEffect)(() => {let e = l.current;e?.complete && e.naturalWidth > 0 && o({@@ -65795,8 +65795,8 @@ function mQ({ item: e, image: t, thumbnail: n = !1 }) {src: p,alt: f})- }) : n ? /* @__PURE__ */ (0, I.jsx)("span", { children: "封面未取得" }) : /* @__PURE__ */ (0, I.jsx)(COe, { code: e.code });- if (s === p) return n ? /* @__PURE__ */ (0, I.jsx)("span", { children: "预览未取得" }) : /* @__PURE__ */ (0, I.jsx)(pQ, {+ }) : n ? /* @__PURE__ */ (0, I.jsx)("span", { children: "封面未取得" }) : /* @__PURE__ */ (0, I.jsx)(wOe, { code: e.code });+ if (s === p) return n ? /* @__PURE__ */ (0, I.jsx)("span", { children: "预览未取得" }) : /* @__PURE__ */ (0, I.jsx)(fQ, {title: "图片未取得",onRetry: () => i((e) => e + 1)});@@ -65845,8 +65845,8 @@ function mQ({ item: e, image: t, thumbnail: n = !1 }) {] });}// src/react/components/source-avatar.tsx-function hQ({ code: e, person: t, detail: n = !1 }) {- iL();+function mQ({ code: e, person: t, detail: n = !1 }) {+ rL();let r = (0, F.useRef)(null), [i, a] = (0, F.useState)(n || typeof IntersectionObserver > "u");(0, F.useEffect)(() => {if (!r.current || i) return;@@ -65860,7 +65860,7 @@ function hQ({ code: e, person: t, detail: n = !1 }) {"data-source-initial": "",children: er(nn("performer", t.name))}), i && t.source_actor_id ? /* @__PURE__ */ (0, I.jsx)("img", {- src: fQ(e, `actor:${t.source_actor_id}`),+ src: dQ(e, `actor:${t.source_actor_id}`),alt: "","data-drop": "self"}) : null] });@@ -65870,8 +65870,8 @@ function hQ({ code: e, person: t, detail: n = !1 }) {}) : o;}// src/react/feed-new/feed-new-row.tsx-function gQ({ feedNew: e, host: t, wire: n, act: r, settled: i }) {- let a = (0, F.useContext)(eG), o = (0, F.useRef)(null), [s, c] = (0, F.useState)([]), l = e?.items.length ? e.html : "";+function hQ({ feedNew: e, host: t, wire: n, act: r, settled: i }) {+ let a = (0, F.useContext)($W), o = (0, F.useRef)(null), [s, c] = (0, F.useState)([]), l = e?.items.length ? e.html : "";(0, F.useLayoutEffect)(() => {t.removeAttribute("aria-busy"), t.hidden = !l, e && i?.(!!l);}, [@@ -65903,7 +65903,7 @@ function gQ({ feedNew: e, host: t, wire: n, act: r, settled: i }) {u(e);},dangerouslySetInnerHTML: { __html: l }- }), s.map((e, t) => (0, Rt.createPortal)(/* @__PURE__ */ (0, I.jsx)(hQ, {+ }), s.map((e, t) => (0, Rt.createPortal)(/* @__PURE__ */ (0, I.jsx)(mQ, {code: e.dataset.code,person: {name: e.dataset.name,@@ -65912,7 +65912,7 @@ function gQ({ feedNew: e, host: t, wire: n, act: r, settled: i }) {}), e, `${l.length}:${t}`))] }) : null;}// src/react/entity-hero/glyph.tsx-function _Q({ name: e }) {+function gQ({ name: e }) {let { wide: t, viewBox: n } = Cn(e);return /* @__PURE__ */ (0, I.jsx)("svg", {viewBox: n,@@ -65922,20 +65922,20 @@ function _Q({ name: e }) {});}// src/react/entity-hero/hero-pop.tsx-function vQ(e, t) {+function _Q(e, t) {t.style.removeProperty("max-height");let n = e.getBoundingClientRect(), r = t.getBoundingClientRect();t.style.left = `${Math.max(8, Math.min(innerWidth - r.width - 8, n.left))}px`;let i = n.bottom + 8, a = innerHeight - 8 - i, o = n.top - 16, s = r.height <= a || r.height > o && a >= o, c = Math.max(0, s ? a : o);r.height > c && (t.style.maxHeight = `${c}px`), t.style.top = `${s ? i : n.top - 8 - Math.min(r.height, c)}px`;}-var yQ = (e) => !!e?.isConnected && e.matches(":popover-open");-function bQ(e, t, n, r) {+var vQ = (e) => !!e?.isConnected && e.matches(":popover-open");+function yQ(e, t, n, r) {let i = (0, F.useRef)(r);i.current = r, (0, F.useEffect)(() => {if (!e) return;let r = () => {- t.current && yQ(n.current) ? vQ(t.current, n.current) : i.current();+ t.current && vQ(n.current) ? _Q(t.current, n.current) : i.current();};return addEventListener("scroll", r, {capture: !0,@@ -65949,17 +65949,17 @@ function bQ(e, t, n, r) {n]);}-function xQ({ id: e, rest: t, label: n, heading: r, hook: i, children: a }) {+function bQ({ id: e, rest: t, label: n, heading: r, hook: i, children: a }) {let o = (0, F.useRef)(null), s = (0, F.useRef)(null), [c, l] = (0, F.useState)(!1), u = (0, F.useRef)(!1), d = (0, F.useRef)(0), f = () => {- clearTimeout(d.current), u.current = !1, yQ(s.current) && s.current.hidePopover(), l(!1);+ clearTimeout(d.current), u.current = !1, vQ(s.current) && s.current.hidePopover(), l(!1);}, p = () => {- clearTimeout(d.current), s.current && o.current && !yQ(s.current) && (s.current.showPopover(), vQ(o.current, s.current), l(!0));+ clearTimeout(d.current), s.current && o.current && !vQ(s.current) && (s.current.showPopover(), _Q(o.current, s.current), l(!0));}, m = () => {clearTimeout(d.current), d.current = window.setTimeout(() => {u.current || o.current?.matches(":hover,:focus-visible") || s.current?.matches(":hover") || f();}, 150);};- return bQ(c, o, s, f), (0, F.useEffect)(() => {+ return yQ(c, o, s, f), (0, F.useEffect)(() => {if (!c) return;let e = (e) => {let t = e.target;@@ -65985,7 +65985,7 @@ function xQ({ id: e, rest: t, label: n, heading: r, hook: i, children: a }) {u.current ? f() : (p(), u.current = !0);},onKeyDown: (e) => {- e.key === "Escape" && yQ(s.current) && (e.preventDefault(), f());+ e.key === "Escape" && vQ(s.current) && (e.preventDefault(), f());},children: ["+", t]}), /* @__PURE__ */ (0, I.jsxs)("div", {@@ -66003,16 +66003,16 @@ function xQ({ id: e, rest: t, label: n, heading: r, hook: i, children: a }) {}), a]})] });}-function wOe({ following: e, busy: t, onToggle: n, tip: r }) {+function TOe({ following: e, busy: t, onToggle: n, tip: r }) {let i = (0, F.useRef)(null), a = (0, F.useRef)(null), o = (0, F.useRef)(null), [s, c] = (0, F.useState)(!1), l = (0, F.useRef)(!1), u = () => {- yQ(o.current) && o.current.hidePopover(), c(!1);+ vQ(o.current) && o.current.hidePopover(), c(!1);}, d = () => {- !l.current && o.current && i.current && !yQ(o.current) && (o.current.showPopover(), vQ(i.current, o.current), c(!0));+ !l.current && o.current && i.current && !vQ(o.current) && (o.current.showPopover(), _Q(i.current, o.current), c(!0));}, f = () => {l.current = !1, u();};- return bQ(s, i, o, () => c(!1)), (0, F.useEffect)(() => {- i.current && yQ(o.current) && vQ(i.current, o.current);+ return yQ(s, i, o, () => c(!1)), (0, F.useEffect)(() => {+ i.current && vQ(o.current) && _Q(i.current, o.current);}, [r]), /* @__PURE__ */ (0, I.jsxs)("label", {ref: i,"data-entry-feed": "",@@ -66021,7 +66021,7 @@ function wOe({ following: e, busy: t, onToggle: n, tip: r }) {a.current?.matches(":focus-visible") || f();},children: [- /* @__PURE__ */ (0, I.jsx)(_Q, { name: "rss" }),+ /* @__PURE__ */ (0, I.jsx)(gQ, { name: "rss" }),/* @__PURE__ */ (0, I.jsx)("input", {ref: a,type: "checkbox",@@ -66055,29 +66055,29 @@ function wOe({ following: e, busy: t, onToggle: n, tip: r }) {});}// src/react/entity-hero/name-picker.tsx-function TOe({ current: e, choices: t, onChoose: n, onAddAlias: r }) {+function EOe({ current: e, choices: t, onChoose: n, onAddAlias: r }) {let [i, a] = (0, F.useState)(!1), o = (0, F.useRef)(null);return (0, F.useEffect)(() => {o.current?.setAttribute("title", "名字与别名");- }, []), /* @__PURE__ */ (0, I.jsxs)(gme, {+ }, []), /* @__PURE__ */ (0, I.jsxs)(_me, {isOpen: i,onOpenChange: a,- children: [/* @__PURE__ */ (0, I.jsx)(zL, {+ children: [/* @__PURE__ */ (0, I.jsx)(RL, {ref: o,"data-namepick-toggle": "","aria-label": "名字与别名",- children: /* @__PURE__ */ (0, I.jsx)(_Q, { name: "chevron-down" })- }), /* @__PURE__ */ (0, I.jsx)(fz, {+ children: /* @__PURE__ */ (0, I.jsx)(gQ, { name: "chevron-down" })+ }), /* @__PURE__ */ (0, I.jsx)(dz, {placement: "bottom start",offset: 8,containerPadding: 8,className: MV,"data-namepick-menu": "",- children: /* @__PURE__ */ (0, I.jsxs)(vme, {+ children: /* @__PURE__ */ (0, I.jsxs)(yme, {"aria-label": "名字与别名","data-namepick-list": "",children: [- /* @__PURE__ */ (0, I.jsx)(bz, {+ /* @__PURE__ */ (0, I.jsx)(yz, {selectionMode: "single",disallowEmptySelection: !0,selectedKeys: [e],@@ -66085,34 +66085,34 @@ function TOe({ current: e, choices: t, onChoose: n, onAddAlias: r }) {let r = [...t][0];r && r !== e && n(r);},- children: t.map((e) => /* @__PURE__ */ (0, I.jsxs)(Sz, {+ children: t.map((e) => /* @__PURE__ */ (0, I.jsxs)(xz, {id: e.value,textValue: e.label,"data-namepick-name": e.value,- children: [/* @__PURE__ */ (0, I.jsx)(_Q, { name: "check" }), /* @__PURE__ */ (0, I.jsx)("span", { children: e.label })]+ children: [/* @__PURE__ */ (0, I.jsx)(gQ, { name: "check" }), /* @__PURE__ */ (0, I.jsx)("span", { children: e.label })]}, e.value))}),- /* @__PURE__ */ (0, I.jsx)($pe, { "data-namepick-rule": "" }),- /* @__PURE__ */ (0, I.jsx)(bz, { children: /* @__PURE__ */ (0, I.jsxs)(Sz, {+ /* @__PURE__ */ (0, I.jsx)(eme, { "data-namepick-rule": "" }),+ /* @__PURE__ */ (0, I.jsx)(yz, { children: /* @__PURE__ */ (0, I.jsxs)(xz, {id: "alias",textValue: "添加别名","data-namepick-alias": "",onAction: r,- children: [/* @__PURE__ */ (0, I.jsx)(_Q, { name: "plus" }), /* @__PURE__ */ (0, I.jsx)("span", { children: "添加别名…" })]+ children: [/* @__PURE__ */ (0, I.jsx)(gQ, { name: "plus" }), /* @__PURE__ */ (0, I.jsx)("span", { children: "添加别名…" })]}) })]})})]});}-var EOe = (e) => e === "studio" || e === "agency", SQ = (e) => e === "performer" || e === "creator", DOe = (e) => e ? "已订阅新作,点击取消订阅" : "订阅新作";-function OOe(e, t = "zh-CN") {+var DOe = (e) => e === "studio" || e === "agency", xQ = (e) => e === "performer" || e === "creator", OOe = (e) => e ? "已订阅新作,点击取消订阅" : "订阅新作";+function kOe(e, t = "zh-CN") {return e.name_display ? e.name_display.choices[t] : [e.canonical_name, ...e.aliases || []].filter((e, t, n) => e && n.indexOf(e) === t).map((e) => ({value: e,label: e}));}-function CQ(e) {+function SQ(e) {if (e.agency) return {name: e.agency.canonical_name,linked: !0,@@ -66124,13 +66124,13 @@ function CQ(e) {linked: !1} : null;}-function wQ(e, t) {+function CQ(e, t) {let n = Kn(e, "performer"), r = Un(t);return r && [e.label, n].map(Un).some((e) => e && (r.includes(e) || e.includes(r))) ? `${t} 官方资料` : n || e.label || "";}-var TQ = (e) => ({ site: zn(e) });-function kOe(e, t) {- let n = CQ(e)?.name || "", r = (e.entry_links || []).filter((e) => e.slot === "pill").map((e) => ({+var wQ = (e) => ({ site: zn(e) });+function AOe(e, t) {+ let n = SQ(e)?.name || "", r = (e.entry_links || []).filter((e) => e.slot === "pill").map((e) => ({type: "icon",url: e.url,title: e.label,@@ -66140,7 +66140,7 @@ function kOe(e, t) {let t = e.retired_year ? `已于 ${e.retired_year} 年隐退` : "链接已失效";return {type: "gone",- title: `${wQ(e, n)} · ${t}`+ title: `${CQ(e, n)} · ${t}`};}let r = e.url || "";@@ -66148,11 +66148,11 @@ function kOe(e, t) {type: "private",label: e.label || e.hostname || "已记录"};- if (SQ(t) && e.link_kind !== "social") return {+ if (xQ(t) && e.link_kind !== "social") return {type: "icon",url: r,- title: wQ(e, n),- mark: TQ(e)+ title: CQ(e, n),+ mark: wQ(e)};if (e.link_kind === "social") {let t = Hn(r);@@ -66160,7 +66160,7 @@ function kOe(e, t) {type: "icon",url: r,title: e.label || "",- mark: t ? { brand: t } : TQ(e)+ mark: t ? { brand: t } : wQ(e)};}return {@@ -66168,12 +66168,12 @@ function kOe(e, t) {url: r,title: e.label || "",text: Kn(e, t, i),- mark: TQ(e)+ mark: wQ(e)};});- return [...r, ...AOe(a)];+ return [...r, ...jOe(a)];}-function AOe(e) {+function jOe(e) {let t = e.filter((e) => e.type === "private");return t.length < 2 ? e : [...e.filter((e) => e.type !== "private"), {type: "private",@@ -66181,8 +66181,8 @@ function AOe(e) {sources: t.map((e) => e.label)}];}-var EQ = (e) => (e.entry_links || []).filter((e) => e.slot === "mark");-function jOe(e) {+var TQ = (e) => (e.entry_links || []).filter((e) => e.slot === "mark");+function MOe(e) {return [["legal_name",@@ -66238,7 +66238,7 @@ function jOe(e) {}]}] : []);}-function MOe(e) {+function NOe(e) {if (!e) return [];let t = [];e.birth_date && t.push({@@ -66295,14 +66295,14 @@ function MOe(e) {tags: e.tags}), t;}-function DQ(e, t = 4) {+function EQ(e, t = 4) {let n = e.length > t + 1 ? t : e.length;return {shown: e.slice(0, n),rest: e.length - n};}-function NOe(e) {+function POe(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 ? {@@ -66312,7 +66312,7 @@ function NOe(e) {} : null;}// src/react/entity-hero/entity-hero-page.tsx-function POe(e) {+function FOe(e) {return go({id: e.id,hasImage: e.has_image,@@ -66323,9 +66323,9 @@ function POe(e) {standIn: e.avatar_stand_in});}-function FOe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a, helpers: o }) {- iL();- let s = nn(e, n.canonical_name, Number(n.id)), c = rn(e, n.canonical_name, Number(n.id)), l = SQ(e), u = EOe(e), d = l ? MOe(n.profile) : u ? jOe(n.company_profile) : [], f = kOe(n, e), p = EQ(n), m = e === "agency" ? [] : n.related_performers || [], h = (0, F.useRef)(null), g = (0, F.useRef)(null);+function IOe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a, helpers: o }) {+ rL();+ let s = nn(e, n.canonical_name, Number(n.id)), c = rn(e, n.canonical_name, Number(n.id)), l = xQ(e), u = DOe(e), d = l ? NOe(n.profile) : u ? MOe(n.company_profile) : [], f = AOe(n, e), p = TQ(n), m = e === "agency" ? [] : n.related_performers || [], h = (0, F.useRef)(null), g = (0, F.useRef)(null);return (0, F.useEffect)(() => {o.wireScroller(h.current);}, [o, f.length]), (0, F.useEffect)(() => {@@ -66338,7 +66338,7 @@ function FOe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a,children: [/* @__PURE__ */ (0, I.jsxs)("div", {"data-entity-portrait-wrap": "",- children: [/* @__PURE__ */ (0, I.jsx)(IOe, {+ children: [/* @__PURE__ */ (0, I.jsx)(LOe, {kind: e,name: s,helpers: o,@@ -66346,7 +66346,7 @@ function FOe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a,company: u}), l && n.id ? /* @__PURE__ */ (0, I.jsx)("span", {"data-avatar-picker": "",- children: /* @__PURE__ */ (0, I.jsx)(yOe, {+ children: /* @__PURE__ */ (0, I.jsx)(bOe, {kind: e,entityId: Number(n.id),name: s || t,@@ -66361,13 +66361,13 @@ function FOe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a,"data-entity-title": "",children: [/* @__PURE__ */ (0, I.jsx)("h2", {- lang: BI(s),+ lang: zI(s),title: c || void 0,children: s}),- e === "tag" ? null : /* @__PURE__ */ (0, I.jsx)(TOe, {+ e === "tag" ? null : /* @__PURE__ */ (0, I.jsx)(EOe, {current: n.canonical_name,- choices: OOe(n, Xt()),+ choices: kOe(n, Xt()),onChoose: a.chooseName,onAddAlias: a.addAlias}),@@ -66385,7 +66385,7 @@ function FOe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a,className: "text-caption-1-regular text-text-secondary",children: c}) : null,- /* @__PURE__ */ (0, I.jsx)(LOe, {+ /* @__PURE__ */ (0, I.jsx)(ROe, {kind: e,entity: n,actions: a@@ -66406,14 +66406,14 @@ function FOe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a,f.length ? /* @__PURE__ */ (0, I.jsx)("div", {ref: h,"data-entity-links": "",- children: f.map((e, t) => /* @__PURE__ */ (0, I.jsx)(UOe, { link: e }, t))+ children: f.map((e, t) => /* @__PURE__ */ (0, I.jsx)(WOe, { link: e }, t))}) : null,- p.length || n.feed ? /* @__PURE__ */ (0, I.jsx)(WOe, {+ p.length || n.feed ? /* @__PURE__ */ (0, I.jsx)(GOe, {entity: n,actions: a,helpers: o}) : null,- n.follow?.held.length ? /* @__PURE__ */ (0, I.jsx)(BOe, {+ n.follow?.held.length ? /* @__PURE__ */ (0, I.jsx)(VOe, {follow: n.follow,displayName: s,actions: a@@ -66422,11 +66422,11 @@ function FOe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a,}),d.length ? /* @__PURE__ */ (0, I.jsx)("dl", {"data-entity-facts": "",- children: d.map((e) => /* @__PURE__ */ (0, I.jsx)(VOe, {+ children: d.map((e) => /* @__PURE__ */ (0, I.jsx)(HOe, {glyph: e.glyph,label: e.label,clip: e.clip,- children: e.tags ? /* @__PURE__ */ (0, I.jsx)(HOe, { tags: e.tags }) : e.parts.map((e, t) => /* @__PURE__ */ (0, I.jsxs)("span", {+ children: e.tags ? /* @__PURE__ */ (0, I.jsx)(UOe, { tags: e.tags }) : e.parts.map((e, t) => /* @__PURE__ */ (0, I.jsxs)("span", {"data-fact-tone": e.tone === "plain" ? void 0 : e.tone,children: [t ? " " : "", e.text]}, t))@@ -66445,7 +66445,7 @@ function FOe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a,onClick: () => a.openEntity("performer", e.k),children: [/* @__PURE__ */ (0, I.jsx)("span", {"data-hero-ring": "",- dangerouslySetInnerHTML: { __html: `<span>${z(er(nn("performer", e.k, e.id)))}</span>${POe(e)}` }+ dangerouslySetInnerHTML: { __html: `<span>${z(er(nn("performer", e.k, e.id)))}</span>${FOe(e)}` }}), /* @__PURE__ */ (0, I.jsx)("span", {"data-hero-costar-name": "",children: nn("performer", e.k, e.id)@@ -66453,14 +66453,14 @@ function FOe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a,}, e.k))})}) : null]- }), i ? (0, Rt.createPortal)(/* @__PURE__ */ (0, I.jsx)(gQ, {+ }), i ? (0, Rt.createPortal)(/* @__PURE__ */ (0, I.jsx)(hQ, {feedNew: r,host: i,wire: o.wireFeedRow,act: (e, t) => a.feedAction(e, t)}), i) : null] });}-function IOe({ kind: e, name: t, helpers: n, people: r, company: i }) {+function LOe({ kind: e, name: t, helpers: n, people: r, company: i }) {let a = (0, F.useRef)(null), [o] = (0, F.useState)(() => `${n.portraitImg()}<span data-portrait-initial="">${z(er(t))}</span>`);return (0, F.useLayoutEffect)(() => {let e = a.current?.querySelector("[data-portrait-initial]");@@ -66474,8 +66474,8 @@ function IOe({ kind: e, name: t, helpers: n, people: r, company: i }) {dangerouslySetInnerHTML: { __html: o }});}-function LOe({ kind: e, entity: t, actions: n }) {- let r = CQ(t), i = (e, t) => (r) => {+function ROe({ kind: e, entity: t, actions: n }) {+ let r = SQ(t), i = (e, t) => (r) => {r.preventDefault(), n.openEntity(e, t);}, a = r ? r.linked ? /* @__PURE__ */ (0, I.jsx)("a", {href: Pn("agency", r.name, r.id),@@ -66484,44 +66484,44 @@ function LOe({ kind: e, entity: t, actions: n }) {children: r.name}) : r.name : null, o = /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)("b", { children: t.asset_count.toLocaleString() }), " 个视频"] });if (e === "performer" || e === "creator") {- let e = t.name_display?.groups[Xt()] ?? t.name_groups, r = NOe(e);+ let e = t.name_display?.groups[Xt()] ?? t.name_groups, r = POe(e);return /* @__PURE__ */ (0, I.jsxs)("div", {"data-entity-alias": "meta",children: [- /* @__PURE__ */ (0, I.jsx)(OQ, { entity: t }),+ /* @__PURE__ */ (0, I.jsx)(DQ, { entity: t }),/* @__PURE__ */ (0, I.jsxs)("span", {"data-meta-item": "",title: "视频",- children: [/* @__PURE__ */ (0, I.jsx)(_Q, { name: "film" }), /* @__PURE__ */ (0, I.jsx)("span", { children: o })]+ children: [/* @__PURE__ */ (0, I.jsx)(gQ, { name: "film" }), /* @__PURE__ */ (0, I.jsx)("span", { children: o })]}),- t.follow?.key ? /* @__PURE__ */ (0, I.jsx)(zOe, {+ t.follow?.key ? /* @__PURE__ */ (0, I.jsx)(BOe, {follow: t.follow,actions: n}) : null,a ? /* @__PURE__ */ (0, I.jsxs)("span", {"data-meta-item": "",title: "事务所",- children: [/* @__PURE__ */ (0, I.jsx)(_Q, { name: "briefcase" }), /* @__PURE__ */ (0, I.jsx)("span", { children: a })]+ children: [/* @__PURE__ */ (0, I.jsx)(gQ, { name: "briefcase" }), /* @__PURE__ */ (0, I.jsx)("span", { children: a })]}) : null,r ? /* @__PURE__ */ (0, I.jsxs)("div", {"data-meta-item": "names",children: [- /* @__PURE__ */ (0, I.jsx)(_Q, { name: "id-card" }),+ /* @__PURE__ */ (0, I.jsx)(gQ, { name: "id-card" }),/* @__PURE__ */ (0, I.jsx)("span", {"data-alias-names": "",title: "别名",children: r.names.map((e, t) => /* @__PURE__ */ (0, I.jsx)("span", {- lang: BI(e),+ lang: zI(e),children: e}, t))}),- r.rest > 0 ? /* @__PURE__ */ (0, I.jsx)(xQ, {+ r.rest > 0 ? /* @__PURE__ */ (0, I.jsx)(bQ, {id: "entityAliasPop",hook: "alias",rest: r.rest,label: `另外 ${r.rest.toLocaleString()} 个别名`,heading: `${r.total.toLocaleString()} 个别名`,- children: /* @__PURE__ */ (0, I.jsx)("dl", { children: (e?.groups || []).map((e, t) => /* @__PURE__ */ (0, I.jsx)(kQ, {+ children: /* @__PURE__ */ (0, I.jsx)("dl", { children: (e?.groups || []).map((e, t) => /* @__PURE__ */ (0, I.jsx)(OQ, {label: e.label,names: e.names}, t)) })@@ -66543,61 +66543,61 @@ function LOe({ kind: e, entity: t, actions: n }) {return /* @__PURE__ */ (0, I.jsxs)("div", {"data-entity-alias": "meta",children: [- e === "creator" ? /* @__PURE__ */ (0, I.jsx)(OQ, { entity: t }) : null,+ e === "creator" ? /* @__PURE__ */ (0, I.jsx)(DQ, { entity: t }) : null,/* @__PURE__ */ (0, I.jsxs)("span", {"data-meta-item": "",title: "视频",- children: [/* @__PURE__ */ (0, I.jsx)(_Q, { name: "film" }), /* @__PURE__ */ (0, I.jsxs)("span", { children: [o, c] })]+ children: [/* @__PURE__ */ (0, I.jsx)(gQ, { name: "film" }), /* @__PURE__ */ (0, I.jsxs)("span", { children: [o, c] })]}),a ? /* @__PURE__ */ (0, I.jsxs)("span", {"data-meta-item": "",title: "事务所",- children: [/* @__PURE__ */ (0, I.jsx)(_Q, { name: "briefcase" }), /* @__PURE__ */ (0, I.jsx)("span", { children: a })]+ children: [/* @__PURE__ */ (0, I.jsx)(gQ, { name: "briefcase" }), /* @__PURE__ */ (0, I.jsx)("span", { children: a })]}) : null,l ? /* @__PURE__ */ (0, I.jsxs)("span", {"data-meta-item": "",title: "片商",- children: [/* @__PURE__ */ (0, I.jsx)(_Q, { name: "clapperboard" }), /* @__PURE__ */ (0, I.jsx)("a", {+ children: [/* @__PURE__ */ (0, I.jsx)(gQ, { name: "clapperboard" }), /* @__PURE__ */ (0, I.jsx)("a", {href: Pn("studio", l.name, l.id),"data-studio-link": l.name,onClick: i("studio", l.name),children: l.name})]}) : null,- s.length ? /* @__PURE__ */ (0, I.jsx)(ROe, { aliases: s }) : null+ s.length ? /* @__PURE__ */ (0, I.jsx)(zOe, { aliases: s }) : null]});}-function ROe({ aliases: e }) {- let { shown: t, rest: n } = DQ(e, 3);+function zOe({ aliases: e }) {+ let { shown: t, rest: n } = EQ(e, 3);return /* @__PURE__ */ (0, I.jsxs)("div", {"data-meta-item": "names","data-company-names": "",children: [- /* @__PURE__ */ (0, I.jsx)(_Q, { name: "id-card" }),+ /* @__PURE__ */ (0, I.jsx)(gQ, { name: "id-card" }),/* @__PURE__ */ (0, I.jsx)("span", {"data-alias-names": "",title: "别名",children: t.map((e, t) => /* @__PURE__ */ (0, I.jsx)("span", { children: e }, t))}),- n ? /* @__PURE__ */ (0, I.jsx)(xQ, {+ n ? /* @__PURE__ */ (0, I.jsx)(bQ, {id: "entityAliasPop",hook: "alias",rest: n,label: `另外 ${n.toLocaleString()} 个别名`,heading: `${e.length.toLocaleString()} 个别名`,- children: /* @__PURE__ */ (0, I.jsx)("dl", { children: /* @__PURE__ */ (0, I.jsx)(kQ, { names: e.map((e) => ({ name: e })) }) })+ children: /* @__PURE__ */ (0, I.jsx)("dl", { children: /* @__PURE__ */ (0, I.jsx)(OQ, { names: e.map((e) => ({ name: e })) }) })}) : null]});}-function zOe({ follow: e, actions: t }) {+function BOe({ follow: e, actions: t }) {let n = e.providers.join(" · ");return /* @__PURE__ */ (0, I.jsxs)("span", {"data-meta-item": "","data-entity-follow": "",title: n ? `关注 · ${n}` : "关注",- children: [/* @__PURE__ */ (0, I.jsx)(_Q, { name: "rss" }), /* @__PURE__ */ (0, I.jsxs)("a", {+ children: [/* @__PURE__ */ (0, I.jsx)(gQ, { name: "rss" }), /* @__PURE__ */ (0, I.jsxs)("a", {href: "?media=online",onClick: (n) => {n.preventDefault(), t.openFollowAuthor(e.key);@@ -66606,7 +66606,7 @@ function zOe({ follow: e, actions: t }) {})]});}-function BOe({ follow: e, displayName: t, actions: n }) {+function VOe({ follow: e, displayName: t, actions: n }) {let [r, i] = (0, F.useState)(""), a = async (e, t) => {if (!r) {i(e);@@ -66640,37 +66640,37 @@ function BOe({ follow: e, displayName: t, actions: n }) {}, e.key))});}-function OQ({ entity: e }) {+function DQ({ entity: e }) {return e.identity_labels?.length ? /* @__PURE__ */ (0, I.jsxs)("span", {"data-meta-item": "classification","data-identity-classification": "",- children: [/* @__PURE__ */ (0, I.jsx)(_Q, { name: "user-round" }), /* @__PURE__ */ (0, I.jsx)("span", { children: e.identity_labels.join(" · ") })]+ children: [/* @__PURE__ */ (0, I.jsx)(gQ, { name: "user-round" }), /* @__PURE__ */ (0, I.jsx)("span", { children: e.identity_labels.join(" · ") })]}) : null;}-function kQ({ label: e, names: t }) {+function OQ({ label: e, names: t }) {return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [e ? /* @__PURE__ */ (0, I.jsx)("dt", { children: e }) : null, /* @__PURE__ */ (0, I.jsx)("dd", {"data-wide": e ? void 0 : "",children: t.map((e, t) => /* @__PURE__ */ (0, I.jsxs)("span", {"data-pop-name": "",- lang: BI(e.name),+ lang: zI(e.name),children: [e.name, e.reading ? /* @__PURE__ */ (0, I.jsx)("small", { children: e.reading }) : null]}, t))})] });}-function VOe({ glyph: e, label: t, clip: n, children: r }) {- return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsxs)("dt", { children: [/* @__PURE__ */ (0, I.jsx)(_Q, { name: e }), t] }), /* @__PURE__ */ (0, I.jsx)("dd", {+function HOe({ glyph: e, label: t, clip: n, children: r }) {+ return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsxs)("dt", { children: [/* @__PURE__ */ (0, I.jsx)(gQ, { name: e }), t] }), /* @__PURE__ */ (0, I.jsx)("dd", {"data-fact": e === "tags" ? "tags" : n ? "clip" : e === "calendar-range" ? "num" : void 0,title: n,children: r})] });}-function HOe({ tags: e }) {- let { shown: t, rest: n } = DQ(e);+function UOe({ tags: e }) {+ let { shown: t, rest: n } = EQ(e);return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [t.map((e) => /* @__PURE__ */ (0, I.jsx)("span", {"data-fact-tag": "",title: e,children: e- }, e)), n ? /* @__PURE__ */ (0, I.jsx)(xQ, {+ }, e)), n ? /* @__PURE__ */ (0, I.jsx)(bQ, {id: "entityTagPop",hook: "fact",rest: n,@@ -66686,10 +66686,10 @@ function HOe({ tags: e }) {})}) : null] });}-function AQ({ mark: e }) {+function kQ({ mark: e }) {if ("brand" in e) return /* @__PURE__ */ (0, I.jsx)("span", {"data-link-icon": "brand",- children: /* @__PURE__ */ (0, I.jsx)(_Q, { name: e.brand })+ children: /* @__PURE__ */ (0, I.jsx)(gQ, { name: e.brand })});let t = R("globe") + ("site" in e ? `<img src="${z(e.site)}" alt="" width="20" height="20" loading="lazy" decoding="async" referrerpolicy="no-referrer" data-drop="self">` : "");return /* @__PURE__ */ (0, I.jsx)("span", {@@ -66697,7 +66697,7 @@ function AQ({ mark: e }) {dangerouslySetInnerHTML: { __html: t }});}-function UOe({ link: e }) {+function WOe({ link: e }) {switch (e.type) {case "icon": return /* @__PURE__ */ (0, I.jsx)("a", {"data-link": "icon",@@ -66706,19 +66706,19 @@ function UOe({ link: e }) {rel: "noopener noreferrer",title: e.title,"aria-label": e.title,- children: /* @__PURE__ */ (0, I.jsx)(AQ, { mark: e.mark })+ children: /* @__PURE__ */ (0, I.jsx)(kQ, { mark: e.mark })});case "gone": return /* @__PURE__ */ (0, I.jsx)("span", {"data-link": "gone",tabIndex: 0,title: e.title,"aria-label": e.title,- children: /* @__PURE__ */ (0, I.jsx)(AQ, { mark: { globe: !0 } })+ children: /* @__PURE__ */ (0, I.jsx)(kQ, { mark: { globe: !0 } })});case "private": return /* @__PURE__ */ (0, I.jsxs)("span", {"data-link": "private",title: e.sources ? e.sources.join("\n") : e.label,- children: [/* @__PURE__ */ (0, I.jsx)(AQ, { mark: { globe: !0 } }), /* @__PURE__ */ (0, I.jsx)("span", {+ children: [/* @__PURE__ */ (0, I.jsx)(kQ, { mark: { globe: !0 } }), /* @__PURE__ */ (0, I.jsx)("span", {"data-link-label": "",children: e.sources ? e.label : `来源 · ${e.label}`})]@@ -66730,7 +66730,7 @@ function UOe({ link: e }) {rel: "noopener noreferrer",title: e.title,children: [- /* @__PURE__ */ (0, I.jsx)(AQ, { mark: e.mark }),+ /* @__PURE__ */ (0, I.jsx)(kQ, { mark: e.mark }),/* @__PURE__ */ (0, I.jsx)("span", {"data-link-label": "",children: e.text@@ -66745,7 +66745,7 @@ function UOe({ link: e }) {});}}-function WOe({ entity: e, actions: t, helpers: n }) {+function GOe({ entity: e, actions: t, helpers: n }) {let [r, i] = (0, F.useState)(!!e.feed?.following), [a, o] = (0, F.useState)(!1), s = (0, F.useRef)(!1), c = async (e) => {if (s.current) return !1;s.current = !0, o(!0);@@ -66763,33 +66763,33 @@ function WOe({ entity: e, actions: t, helpers: n }) {};return /* @__PURE__ */ (0, I.jsxs)("div", {"data-entry-marks": "",- children: [EQ(e).map((e, t) => /* @__PURE__ */ (0, I.jsxs)("a", {+ children: [TQ(e).map((e, t) => /* @__PURE__ */ (0, I.jsxs)("a", {"data-entry-mark": "",href: e.url,target: "_blank",rel: "noopener noreferrer",title: e.label,"aria-label": e.label,- children: [e.mark ? /* @__PURE__ */ (0, I.jsx)(_Q, { name: e.mark }) : /* @__PURE__ */ (0, I.jsxs)("span", {+ children: [e.mark ? /* @__PURE__ */ (0, I.jsx)(gQ, { name: e.mark }) : /* @__PURE__ */ (0, I.jsxs)("span", {"data-missav-mark": "",children: [/* @__PURE__ */ (0, I.jsx)("span", { children: "MISS" }), /* @__PURE__ */ (0, I.jsx)("span", { children: "AV" })]}), e.ordinal ? /* @__PURE__ */ (0, I.jsx)("span", {"data-entry-ordinal": "",children: e.ordinal}) : null]- }, t)), e.feed ? /* @__PURE__ */ (0, I.jsx)(wOe, {+ }, t)), e.feed ? /* @__PURE__ */ (0, I.jsx)(TOe, {following: r,busy: a,onToggle: (e) => {l(e);},- tip: DOe(r)+ tip: OOe(r)}) : null]});}// src/react/entity-page/use-entity-online.ts-var GOe = () => ((Date.now() ^ (Math.random() * 1e9 | 0)) >>> 0) % 99991;-function KOe(e, t, n) {+var KOe = () => ((Date.now() ^ (Math.random() * 1e9 | 0)) >>> 0) % 99991;+function qOe(e, t, n) {let [r, i] = (0, F.useState)(() => _a(e));r.author !== e && i(_a(e));let [a, o] = (0, F.useState)({@@ -66868,7 +66868,7 @@ function KOe(e, t, n) {onlineMedia: (e) => c(e),onlineShuffle: () => T({sort: ea,- seed: GOe()+ seed: KOe()}),onlineImagesOnly: (e) => n.setImagesOnly(e),onlineStatus: (e) => T({ status: e }),@@ -66898,8 +66898,8 @@ function KOe(e, t, n) {};}// src/react/entity-page/entity-page-view.tsx-function qOe(e) {- let { kind: t, name: n } = e, r = Ft(WX(t, n)), i = !!r.data?.error, a = r.data?.canonical_name, o = r.data?.redirect ?? (a && a !== n ? {+function JOe(e) {+ let { kind: t, name: n } = e, r = Ft(UX(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;@@ -66917,17 +66917,17 @@ function qOe(e) {s,o?.kind,o?.name- ]), r.isError ? /* @__PURE__ */ (0, I.jsx)(HG, {+ ]), r.isError ? /* @__PURE__ */ (0, I.jsx)(VG, {message: lr(r.error),onRetry: () => {r.refetch();}- }) : !r.data || i || o ? null : /* @__PURE__ */ (0, I.jsx)(XOe, {+ }) : !r.data || i || o ? null : /* @__PURE__ */ (0, I.jsx)(ZOe, {...e,entity: r.data});}-function jQ(e) {+function AQ(e) {let [t, n] = (0, F.useState)({key: e,n: 1@@ -66939,22 +66939,22 @@ function jQ(e) {};return n(r), r.n;}-var JOe = () => String(((Date.now() ^ (Math.random() * 1e9 | 0)) >>> 0) % 99991);-function YOe(e, t) {+var YOe = () => String(((Date.now() ^ (Math.random() * 1e9 | 0)) >>> 0) % 99991);+function XOe(e, t) {return `照片 · ${[e.total || !t ? `${(e.total || 0).toLocaleString()} 张` : "", t ? `样张 ${(e.sample_total || 0).toLocaleString()} 张 · ${t.toLocaleString()} 部作品` : ""].filter(Boolean).join(" · ")}`;}-function XOe(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 = Lt(GX(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 || KX(p).length > 0, g = t === "creator" && r.follow?.key || "", _ = !!g && !r.asset_count, v = a.media === "photos" && h ? a : (a.media === "online" || _) && g ? {+function ZOe(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 = Lt(WX(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 || GX(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- } : LX, [y, b] = (0, F.useState)("people"), x = new URLSearchParams(Object.entries(i).filter(([, e]) => e)).toString(), [S, C] = (0, F.useState)(x);+ } : IX, [y, b] = (0, F.useState)("people"), x = new URLSearchParams(Object.entries(i).filter(([, e]) => e)).toString(), [S, C] = (0, F.useState)(x);S !== x && (C(x), b("videos"));- let w = l && y === "people" && u.length ? "people" : v.media, T = KOe(g, w === "online", {+ let w = l && y === "people" && u.length ? "people" : v.media, T = qOe(g, w === "online", {photoLayout: e.photoLayout,photoLayouts: e.photoLayouts,imagesOnly: e.followImagesOnly,setImagesOnly: e.follow.actions.setImagesOnly- }), E = w === "photos" || w === "online" && T.media === "images", [D, O] = (0, F.useState)(0), k = UX(e), A = Ft(k), j = jQ(JSON.stringify([k.queryKey, D])), [M] = (0, F.useState)(() => (t === "performer" || t === "studio") && (e.jav || (A.data?.items || []).some((e) => e.is_jav)));+ }), E = w === "photos" || w === "online" && T.media === "images", [D, O] = (0, F.useState)(0), k = HX(e), A = Ft(k), j = AQ(JSON.stringify([k.queryKey, D])), [M] = (0, F.useState)(() => (t === "performer" || t === "studio") && (e.jav || (A.data?.items || []).some((e) => e.is_jav)));(0, F.useLayoutEffect)(() => {s.javContext(M);}, [s, M]);@@ -66964,26 +66964,26 @@ function XOe(e) {}, [e.layout, M]), N = {jav: e.jav,seed: e.seed- }, te = (0, F.useCallback)((e, r, a) => HX(t, n, i, N, e, r, a), [j]), [P, ne] = (0, F.useState)({}), re = v.set, ie = P[re] || "", ae = Lt({- ...GX(t, n, re, ie),+ }, te = (0, F.useCallback)((e, r, a) => VX(t, n, i, N, e, r, a), [j]), [P, ne] = (0, F.useState)({}), re = v.set, ie = P[re] || "", ae = Lt({+ ...WX(t, n, re, ie),enabled: w === "photos"- }), oe = ae.data?.pages[0], se = jQ(JSON.stringify(zX(t, n, re, ie))), ce = (0, F.useMemo)(() => {+ }), oe = ae.data?.pages[0], se = AQ(JSON.stringify(RX(t, n, re, ie))), ce = (0, F.useMemo)(() => {let e = ae.data?.pages;if (!e?.[0] || e[0].error) return null;let t = e[0];return {revision: se,- codeSets: t.id ? [] : KX(t),+ codeSets: t.id ? [] : GX(t),items: e.flatMap((e) => e.items || []),total: t.total || 0,hasMore: !!e[e.length - 1]?.has_more};}, [ae.data, se]), le = ae.refetch, ue = ae.fetchNextPage, de = Ft({- ...PX(d, o.feedRowHtml),+ ...NX(d, o.feedRowHtml),enabled: !!d}), fe = (0, F.useRef)(e.feedRevision);(0, F.useEffect)(() => {- fe.current !== e.feedRevision && (fe.current = e.feedRevision, H.invalidateQueries({ queryKey: NX(d) }));+ fe.current !== e.feedRevision && (fe.current = e.feedRevision, H.invalidateQueries({ queryKey: MX(d) }));}, [d, e.feedRevision]);let pe = !!A.data;(0, F.useEffect)(() => {@@ -67017,7 +67017,7 @@ function XOe(e) {me.current = !1;}, []);let he = (0, F.useCallback)(async () => {- await H.invalidateQueries({ queryKey: ["entity-route"] }), await H.invalidateQueries({ queryKey: RX(t, n) }), await H.invalidateQueries({ queryKey: [+ await H.invalidateQueries({ queryKey: ["entity-route"] }), await H.invalidateQueries({ queryKey: LX(t, n) }), await H.invalidateQueries({ queryKey: ["entity-items",t,n@@ -67051,7 +67051,7 @@ function XOe(e) {enabled: e})}),- onSuccess: (e, r) => H.setQueryData(RX(t, n), (e) => e && {+ onSuccess: (e, r) => H.setQueryData(LX(t, n), (e) => e && {...e,feed: {...e.feed,@@ -67105,10 +67105,10 @@ function XOe(e) {let e = await Tn("/api/feeds/check").catch(() => null);if (!e || e.status !== "running") break;}- me.current && await H.invalidateQueries({ queryKey: NX(d) });+ me.current && await H.invalidateQueries({ queryKey: MX(d) });})();},- feedAction: FX,+ feedAction: PX,avatarPicked: () => {s.avatarChanged(), he().then(() => {me.current && O((e) => e + 1);@@ -67156,19 +67156,19 @@ function XOe(e) {(e !== w || v.set) && (b(e === "people" ? "people" : "videos"), s.route(i, e === "photos" || e === "online" ? {media: e,set: 0- } : LX));+ } : IX));},setState: (e) => s.route({...i,state: e- }, LX),+ }, IX),toggleTag: s.toggleTag,clearFilter: s.clearFilter,clearAll: s.clearAll,setSort: s.setSort,reshuffle: async () => {if (w !== "photos") {- let r = s.reshuffleVideos(), a = UX({+ let r = s.reshuffleVideos(), a = HX({kind: t,name: n,filters: {@@ -67182,7 +67182,7 @@ function XOe(e) {await H.fetchQuery(a).catch(() => null);return;}- let r = JOe(), a = await H.fetchInfiniteQuery(GX(t, n, re, r)).catch(() => null);+ let r = YOe(), a = await H.fetchInfiniteQuery(WX(t, n, re, r)).catch(() => null);me.current && a?.pages[0] && !a.pages[0].error && ne((e) => ({...e,[re]: r@@ -67217,7 +67217,7 @@ function XOe(e) {k: e.k,label: Ll(e.k),n: e.n,- selected: kEe(i.tag, e.k)+ selected: AEe(i.tag, e.k)})), Te = [u.length,!_,@@ -67252,14 +67252,14 @@ function XOe(e) {creator: "",studio: "",owner: ""- }, LX), Ne = "", Pe = !1;+ }, IX), Ne = "", Pe = !1;if (w === "people") Ne = `${t === "studio" ? "厂牌" : "艺人"} · ${u.length.toLocaleString()}`;else if (w === "online") Pe = T.busy, Ne = `在线 · ${(T.total ?? r.follow?.n ?? 0).toLocaleString()} 项更新`;else if (w === "videos") {Pe = !A.data;- let e = BX(i.tag).length;+ let e = zX(i.tag).length;Ne = `视频 · ${(A.data?.work_total ?? A.data?.total ?? 0).toLocaleString()}${e ? ` · 已选 ${e.toLocaleString()} 个标签` : ""}`;- } else oe && !oe.error ? Ne = De ? `${oe.title} · ${(oe.total || 0).toLocaleString()} 张` : YOe(oe, KX(oe).length) : Pe = ae.isPending;+ } else oe && !oe.error ? Ne = De ? `${oe.title} · ${(oe.total || 0).toLocaleString()} 张` : XOe(oe, GX(oe).length) : Pe = ae.isPending;let Fe = (0, F.useMemo)(() => ({...e.card.actions,loadMorePhotos: async () => {@@ -67276,7 +67276,7 @@ function XOe(e) {u]);return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [- /* @__PURE__ */ (0, I.jsx)(FOe, {+ /* @__PURE__ */ (0, I.jsx)(IOe, {kind: t,name: n,entity: r,@@ -67286,7 +67286,7 @@ function XOe(e) {actions: be,helpers: xe}, D),- (0, Rt.createPortal)(/* @__PURE__ */ (0, I.jsx)(ybe, {+ (0, Rt.createPortal)(/* @__PURE__ */ (0, I.jsx)(bbe, {kind: t,name: n,view: w,@@ -67303,9 +67303,9 @@ function XOe(e) {actions: Se,helpers: Ce}), c.filter),- (0, Rt.createPortal)(/* @__PURE__ */ (0, I.jsx)(obe, {+ (0, Rt.createPortal)(/* @__PURE__ */ (0, I.jsx)(sbe, {enabled: w === "videos",- children: w === "online" ? /* @__PURE__ */ (0, I.jsx)(HDe, {+ children: w === "online" ? /* @__PURE__ */ (0, I.jsx)(UDe, {view: T.view,media: T.media,result: T.result,@@ -67319,16 +67319,16 @@ function XOe(e) {actions: e.follow.actions,canLoadMore: e.canLoadMore,clearFilters: T.clearFilters- }) : w === "videos" && A.isError ? /* @__PURE__ */ (0, I.jsx)(HG, {+ }) : w === "videos" && A.isError ? /* @__PURE__ */ (0, I.jsx)(VG, {message: lr(A.error),onRetry: () => {A.refetch();}- }) : je ? /* @__PURE__ */ (0, I.jsx)(ZOe, {+ }) : je ? /* @__PURE__ */ (0, I.jsx)(QOe, {filtered: Ae,onShowAll: Me,onOnline: g ? () => Se.setView("online") : void 0- }) : /* @__PURE__ */ (0, I.jsx)(cDe, {+ }) : /* @__PURE__ */ (0, I.jsx)(lDe, {kind: t,name: n,view: w,@@ -67361,7 +67361,7 @@ function XOe(e) {}), c.body)] });}-function ZOe({ filtered: e, onShowAll: t, onOnline: n }) {+function QOe({ filtered: e, onShowAll: t, onOnline: n }) {return e ? /* @__PURE__ */ (0, I.jsx)(dV, {icon: pV("search"),title: "没有符合条件的视频",@@ -67378,7 +67378,7 @@ function ZOe({ filtered: e, onShowAll: t, onOnline: n }) {size: "small",onClick: n,children: "查看在线作品"- }) : /* @__PURE__ */ (0, I.jsx)(yL, {+ }) : /* @__PURE__ */ (0, I.jsx)(vL, {size: "small",href: "/",children: "浏览馆藏"@@ -67387,30 +67387,30 @@ function ZOe({ filtered: e, onShowAll: t, onOnline: n }) {});}// src/react/diagnostics/diagnostics.ts-var MQ = ["diagnostics"], NQ = (e) => B("/api/diagnostics", e);-async function QOe(e) {+var jQ = ["diagnostics"], MQ = (e) => B("/api/diagnostics", e);+async function $Oe(e) {await H.fetchQuery({- queryKey: MQ,- queryFn: () => NQ(e),+ queryKey: jQ,+ queryFn: () => MQ(e),staleTime: 1e4});}// src/react/feed-new/feed-new-page.tsx-function $Oe({ host: e, revision: t, helpers: n, actions: r }) {- let i = Ft(PX(null, n.feedRowHtml)), a = (0, F.useRef)(t);+function eke({ host: e, revision: t, helpers: n, actions: r }) {+ let i = Ft(NX(null, n.feedRowHtml)), a = (0, F.useRef)(t);return (0, F.useEffect)(() => {- a.current !== t && (a.current = t, H.invalidateQueries({ queryKey: NX(null) }));- }, [t]), (0, Rt.createPortal)(/* @__PURE__ */ (0, I.jsx)(gQ, {+ a.current !== t && (a.current = t, H.invalidateQueries({ queryKey: MX(null) }));+ }, [t]), (0, Rt.createPortal)(/* @__PURE__ */ (0, I.jsx)(hQ, {feedNew: i.data ?? null,host: e,wire: n.wireFeedRow,- act: FX,+ act: PX,settled: r.settled}), e);}// src/react/index/index-search.tsx-var eke = pV("search");-function PQ({ label: e, value: t, onQuery: n }) {+var tke = pV("search");+function NQ({ label: e, value: t, onQuery: n }) {let [r, i] = (0, F.useState)(t), a = (0, F.useRef)(!1), o = (0, F.useRef)(void 0);(0, F.useEffect)(() => {clearTimeout(o.current), i(t);@@ -67435,7 +67435,7 @@ function PQ({ label: e, value: t, onQuery: n }) {},children: /* @__PURE__ */ (0, I.jsx)(oV, {type: "search",- leadingIcon: eke,+ leadingIcon: tke,spellCheck: !1,autoComplete: "off",enterKeyHint: "search",@@ -67447,7 +67447,7 @@ function PQ({ label: e, value: t, onQuery: n }) {});}// src/react/index/tag-pagination.ts-function FQ(e) {+function PQ(e) {let [t, n] = (0, F.useState)({filter: e,pageIndex: 0,@@ -67464,7 +67464,7 @@ function FQ(e) {}), [e])};}-function IQ(e, t, n) {+function FQ(e, t, n) {let { pageIndex: r, pageSize: i } = t;(0, F.useEffect)(() => {if (e === void 0) return;@@ -67481,11 +67481,11 @@ function IQ(e, t, n) {]);}// src/react/index/index-tags.tsx-var LQ = () => /* @__PURE__ */ (0, I.jsx)("span", {+var IQ = () => /* @__PURE__ */ (0, I.jsx)("span", {"aria-hidden": !0,"data-tag-dot": "",className: "size-1.75 flex-none rounded-full"-}), RQ = pV("pencil"), zQ = (e, t) => ({+}), LQ = pV("pencil"), RQ = (e, t) => ({kind: "tag",name: e.k,favorite: e.favorite,@@ -67494,7 +67494,7 @@ var LQ = () => /* @__PURE__ */ (0, I.jsx)("span", {tag_id: e.id || e.k} : { entity_id: e.entity_id }});-function tke({ tag: e, actions: t }) {+function nke({ tag: e, actions: t }) {let n = t.picked.has(e.k);return /* @__PURE__ */ (0, I.jsxs)("div", {className: "flex min-w-0 items-center gap-1",@@ -67503,13 +67503,13 @@ function tke({ tag: e, actions: t }) {type: "button","data-alpha-tag": "","data-k": e.k,- "data-tag-cat": oZ(t.online, e.cat),+ "data-tag-cat": aZ(t.online, e.cat),"aria-pressed": n,title: e.label,onClick: () => t.press(e.k),className: "flex h-9 min-w-0 flex-1 cursor-pointer items-center gap-2.25 rounded-lg px-2.5 text-left text-body-regular text-text-secondary outline-none hover:text-text-primary focus-visible:ring-2 focus-visible:ring-border-focus-ring",children: [- /* @__PURE__ */ (0, I.jsx)(LQ, {}),+ /* @__PURE__ */ (0, I.jsx)(IQ, {}),/* @__PURE__ */ (0, I.jsx)("span", {className: "min-w-0 flex-1 truncate",children: e.label@@ -67520,16 +67520,16 @@ function tke({ tag: e, actions: t }) {})]}),- t.favorites === !1 ? null : /* @__PURE__ */ (0, I.jsx)(DV, { item: zQ(e, t.online) }),+ t.favorites === !1 ? null : /* @__PURE__ */ (0, I.jsx)(DV, { item: RQ(e, t.online) }),t.edit ? /* @__PURE__ */ (0, I.jsx)(EV, {label: `编辑标签 ${e.label}`,onClick: () => t.edit?.(e.k),- children: /* @__PURE__ */ (0, I.jsx)(RQ, {})+ children: /* @__PURE__ */ (0, I.jsx)(LQ, {})}) : null]});}-function BQ({ groups: e, actions: t }) {+function zQ({ groups: e, actions: t }) {return /* @__PURE__ */ (0, I.jsx)("div", {"data-alphabet": "",className: "flex flex-col gap-4",@@ -67545,7 +67545,7 @@ function BQ({ groups: e, actions: t }) {children: [e, /* @__PURE__ */ (0, I.jsx)(gW, { value: n.length })]}), /* @__PURE__ */ (0, I.jsx)("div", {className: "index-tag-list gap-x-4 gap-y-0.5",- children: n.map((e) => /* @__PURE__ */ (0, I.jsx)(tke, {+ children: n.map((e) => /* @__PURE__ */ (0, I.jsx)(nke, {tag: e,actions: t}, e.k))@@ -67553,26 +67553,26 @@ function BQ({ groups: e, actions: t }) {}, e))});}-var nke = "\xA0";-function VQ({ tags: e, actions: t }) {+var rke = "\xA0";+function BQ({ tags: e, actions: t }) {return /* @__PURE__ */ (0, I.jsx)("div", {"data-tag-cloud": "",className: "flex flex-wrap gap-1.75",children: e.map((e) => /* @__PURE__ */ (0, I.jsxs)("span", {"data-tag-token": "",- "data-tag-cat": oZ(t.online, e.cat),+ "data-tag-cat": aZ(t.online, e.cat),className: "inline-flex max-w-full min-w-0 items-center gap-1 rounded-lg border p-1",children: [/* @__PURE__ */ (0, I.jsxs)("button", {type: "button","data-tag-chip": "","data-k": e.k,- "data-tag-cat": oZ(t.online, e.cat),+ "data-tag-cat": aZ(t.online, e.cat),"aria-pressed": t.picked.has(e.k),onClick: () => t.press(e.k),className: "inline-flex max-w-full min-w-0 cursor-pointer items-center rounded-lg px-2 py-0.5 text-body-2-regular text-text-secondary outline-none focus-visible:ring-2 focus-visible:ring-border-focus-ring",children: [/* @__PURE__ */ (0, I.jsx)("span", {className: "min-w-0 truncate",- children: e.label + nke+ children: e.label + rke}), /* @__PURE__ */ (0, I.jsx)("span", {"data-tag-n": "",className: "text-caption-1-regular opacity-60",@@ -67581,16 +67581,16 @@ function VQ({ tags: e, actions: t }) {}), t.favorites !== !1 || t.edit ? /* @__PURE__ */ (0, I.jsxs)("span", {"data-tag-actions": "",className: "inline-flex flex-none items-center gap-1",- children: [t.favorites === !1 ? null : /* @__PURE__ */ (0, I.jsx)(DV, { item: zQ(e, t.online) }), t.edit ? /* @__PURE__ */ (0, I.jsx)(EV, {+ children: [t.favorites === !1 ? null : /* @__PURE__ */ (0, I.jsx)(DV, { item: RQ(e, t.online) }), t.edit ? /* @__PURE__ */ (0, I.jsx)(EV, {label: `编辑标签 ${e.label}`,onClick: () => t.edit?.(e.k),- children: /* @__PURE__ */ (0, I.jsx)(RQ, {})+ children: /* @__PURE__ */ (0, I.jsx)(LQ, {})}) : null]}) : null]}, e.k))});}-var rke = [[+var ike = [["cloud","标签云","tags"@@ -67599,34 +67599,34 @@ var rke = [["字母表","text-aa"]];-function HQ({ categories: e, category: t, online: n, readout: r, letters: i, view: a, onCategory: o, onJump: s, onView: c, status: l, actions: u }) {- let d = uL();- return /* @__PURE__ */ (0, I.jsx)(fL, {+function VQ({ categories: e, category: t, online: n, readout: r, letters: i, view: a, onCategory: o, onJump: s, onView: c, status: l, actions: u }) {+ let d = lL();+ return /* @__PURE__ */ (0, I.jsx)(dL, {label: "标签筛选",topLabel: "标签类型",top: /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [l ? /* @__PURE__ */ (0, I.jsxs)("div", {role: "group","aria-label": "标签状态",className: "flex flex-none items-center gap-1.75 border-r border-(--glass-low) pr-3",- children: [[[!1, "使用中"], [!0, "已隐藏"]].map(([e, t]) => /* @__PURE__ */ (0, I.jsx)(pL, {+ children: [[[!1, "使用中"], [!0, "已隐藏"]].map(([e, t]) => /* @__PURE__ */ (0, I.jsx)(fL, {"data-tag-pill": "","data-tag-cat": "all",pressed: !l.blocked && l.hidden === e,onPress: () => l.onChange(!!e),children: t- }, String(e))), l.onBlocked ? /* @__PURE__ */ (0, I.jsx)(pL, {+ }, String(e))), l.onBlocked ? /* @__PURE__ */ (0, I.jsx)(fL, {"data-tag-pill": "","data-tag-cat": "all",pressed: !!l.blocked,onPress: l.onBlocked,children: "已屏蔽内容"}) : null]- }) : null, e.map(([e, r]) => /* @__PURE__ */ (0, I.jsxs)(pL, {+ }) : null, e.map(([e, r]) => /* @__PURE__ */ (0, I.jsxs)(fL, {"data-tag-pill": "",- "data-tag-cat": e === "all" ? "all" : oZ(n, e),+ "data-tag-cat": e === "all" ? "all" : aZ(n, e),pressed: t === e,onPress: () => o(e),- children: [/* @__PURE__ */ (0, I.jsx)(LQ, {}), r]+ children: [/* @__PURE__ */ (0, I.jsx)(IQ, {}), r]}, e))] }),bottom: /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)("span", {@@ -67647,15 +67647,15 @@ function HQ({ categories: e, category: t, online: n, readout: r, letters: i, viechildren: e}, e))}) : null,- /* @__PURE__ */ (0, I.jsx)(Mz, {+ /* @__PURE__ */ (0, I.jsx)(jz, {"aria-label": "标签视图",orientation: "horizontal",value: a,onChange: (e) => c(e),className: `ml-auto ${oU}`,- children: rke.map(([e, t, n]) => {+ children: ike.map(([e, t, n]) => {let r = pV(n);- return /* @__PURE__ */ (0, I.jsx)(Nz, {+ return /* @__PURE__ */ (0, I.jsx)(Mz, {value: e,"aria-label": t,"data-glass-segment": "",@@ -67671,8 +67671,8 @@ function HQ({ categories: e, category: t, online: n, readout: r, letters: i, vie] })});}-function ike({ count: e, match: t, onMatch: n, onClear: r, onApply: i }) {- return /* @__PURE__ */ (0, I.jsxs)(wj, {+function ake({ count: e, match: t, onMatch: n, onClear: r, onApply: i }) {+ return /* @__PURE__ */ (0, I.jsxs)(Cj, {visible: e > 0,label: "所选标签操作",count: `已选 ${e.toLocaleString()} 个标签`,@@ -67708,20 +67708,20 @@ function ike({ count: e, match: t, onMatch: n, onClear: r, onApply: i }) {});}// src/react/toaster.tsx-var UQ = (e, t) => /* @__PURE__ */ (0, I.jsx)("span", {+var HQ = (e, t) => /* @__PURE__ */ (0, I.jsx)("span", {"data-toast-glyph": t ? "draw" : "still","aria-hidden": "true",dangerouslySetInnerHTML: { __html: e }-}), WQ = null, GQ = { "--floating-radius": "var(--radius-2xl)" }, KQ = (e) => `max(${e}px, var(--selection-dock-space, 0px), var(--miniplayer-space, 0px))`;-function qQ() {- let e = WQ;- WQ = null, e?.root.unmount();-}-var JQ = (e, t) => {- if (WQ?.host === e) return;- qQ();+}), UQ = null, WQ = { "--floating-radius": "var(--radius-2xl)" }, GQ = (e) => `max(${e}px, var(--selection-dock-space, 0px), var(--miniplayer-space, 0px))`;+function KQ() {+ let e = UQ;+ UQ = null, e?.root.unmount();+}+var qQ = (e, t) => {+ if (UQ?.host === e) return;+ KQ();let n = (0, zt.createRoot)(e);- WQ = {+ UQ = {host: e,root: n}, n.render(/* @__PURE__ */ (0, I.jsxs)(HV, { children: [/* @__PURE__ */ (0, I.jsx)(XV, {@@ -67730,23 +67730,23 @@ var JQ = (e, t) => {closeButton: !0,gap: 8,style: {- ...GQ,+ ...WQ,"--width": "min(560px, calc(100vw - 48px))"},offset: {right: 24,- bottom: `calc(${KQ(24)} + var(--processing-toast-space, 0px))`+ bottom: `calc(${GQ(24)} + var(--processing-toast-space, 0px))`},mobileOffset: {right: 16,left: 16,- bottom: `calc(${KQ(16)} + var(--processing-toast-space, 0px))`+ bottom: `calc(${GQ(16)} + var(--processing-toast-space, 0px))`},toastOptions: { closeButtonAriaLabel: "关闭提示" },containerAriaLabel: "通知",icons: {- success: UQ(t.success, !0),- error: UQ(t.error, !1)+ success: HQ(t.success, !0),+ error: HQ(t.error, !1)}}), /* @__PURE__ */ (0, I.jsx)(XV, {id: "processing",@@ -67754,28 +67754,28 @@ var JQ = (e, t) => {gap: 8,expand: !0,style: {- ...GQ,+ ...WQ,"--width": "min(400px, calc(100vw - 32px))"},offset: {right: 24,- bottom: KQ(24)+ bottom: GQ(24)},mobileOffset: {right: 16,left: 16,- bottom: KQ(16)+ bottom: GQ(16)},toastOptions: { closeButtonAriaLabel: "关闭任务提示" },containerAriaLabel: "后台任务"})] }));-}, ake = 6e3, YQ = (e, t) => {+}, oke = 6e3, JQ = (e, t) => {if (!String(t.html ?? "").trim()) return;let n = t.alert ? GV.error : GV.success, r = t.action;n(/* @__PURE__ */ (0, I.jsx)("span", { dangerouslySetInnerHTML: { __html: t.html } }), {id: e,toasterId: "receipts",- duration: t.timeout > 0 ? t.timeout : ake,+ duration: t.timeout > 0 ? t.timeout : oke,action: r ? {label: r.label,onClick: (e) => {@@ -67783,7 +67783,7 @@ var JQ = (e, t) => {}} : void 0});-}, XQ = (e) => e.id ?? e.entity_id, ZQ = {+}, YQ = (e) => e.id ?? e.entity_id, XQ = {rename: "重命名标签",merge: "合并标签",hide: "隐藏标签",@@ -67791,26 +67791,26 @@ var JQ = (e, t) => {repair: "整理重复标签",block: "屏蔽内容",unblock: "恢复内容"-}, QQ = (e, t) => V("/api/tag-management/preview", e, "POST", t);-async function $Q(e, t, n) {+}, ZQ = (e, t) => V("/api/tag-management/preview", e, "POST", t);+async function QQ(e, t, n) {if (n?.aborted) return !1;let r = t.tags.map((e) => `「${e.k}」`).join("、"), i = e.operation === "merge" || e.operation === "repair" ? `合并 ${t.tags.length} 个标签,涉及 ${t.assets} 个资源,重叠关联 ${t.overlap} 个。旧名称保留为别名。此操作无法直接撤销。` : e.operation === "rename" ? `${r}将更名为「${t.name || e.name}」,涉及 ${t.assets} 个资源。旧名称保留为别名。` : e.operation === "block" ? `屏蔽带有${r}任一标签的内容及其其它版本,涉及 ${t.assets} 个资源。可在「已屏蔽内容」中恢复。` : e.operation === "unblock" ? `解除${r}的内容屏蔽,涉及 ${t.assets} 个资源。` : `${e.operation === "hide" ? "隐藏" : "恢复"} ${t.tags.length} 个标签,涉及 ${t.assets} 个资源。${e.operation === "hide" ? "可在“已隐藏”中恢复。" : ""}`;return !(await ll({- title: ZQ[e.operation],+ title: XQ[e.operation],body: i,- confirmLabel: ZQ[e.operation],+ confirmLabel: XQ[e.operation],onConfirm: () => V("/api/tag-management", {...e,token: t.token}, "POST", n)- })).confirmed || n?.aborted ? !1 : (await H.invalidateQueries(), YQ(`tag-management-${Date.now()}`, {- html: `已${ZQ[e.operation]}`,+ })).confirmed || n?.aborted ? !1 : (await H.invalidateQueries(), JQ(`tag-management-${Date.now()}`, {+ html: `已${XQ[e.operation]}`,alert: !1,timeout: 6e3,action: null}), !0);}-function e$({ operation: e, selected: t, close: n, done: r, scope: i = "local" }) {+function $Q({ operation: e, selected: t, close: n, done: r, scope: i = "local" }) {let a = (0, F.useRef)({operation: e,selected: t,@@ -67819,24 +67819,24 @@ function e$({ operation: e, selected: t, close: n, done: r, scope: i = "local" }scope: i}), o = (0, F.useRef)({name: t[0]?.k || "",- target_id: t[0] ? XQ(t[0]) : 0+ target_id: t[0] ? YQ(t[0]) : 0}), [s, c] = (0, F.useState)(null);return (0, F.useEffect)(() => {let e = new AbortController(), t = a.current, n = sl({- title: ZQ[t.operation],+ title: XQ[t.operation],confirmLabel: "预览影响范围",confirmDisabled: !0,body: "<div class=\"peach-react\" data-tag-editor-fields></div>",onConfirm: async () => {let n = {operation: t.operation,- ids: t.selected.map(XQ),+ ids: t.selected.map(YQ),...t.scope === "online" ? { scope: t.scope } : {},...t.operation === "rename" ? { name: o.current.name.trim() } : { target_id: o.current.target_id }};return {command: n,- plan: await QQ(n, e.signal)+ plan: await ZQ(n, e.signal)};}});@@ -67847,14 +67847,14 @@ function e$({ operation: e, selected: t, close: n, done: r, scope: i = "local" }if (!e.signal.aborted) {if (n.confirmed) {let r = n.result;- await $Q(r.command, r.plan, e.signal) && t.done();+ await QQ(r.command, r.plan, e.signal) && t.done();}e.signal.aborted || t.close();}}), () => {e.abort(), n.close();};- }, []), s ? (0, Rt.createPortal)(/* @__PURE__ */ (0, I.jsx)(oke, {+ }, []), s ? (0, Rt.createPortal)(/* @__PURE__ */ (0, I.jsx)(ske, {operation: a.current.operation,selected: a.current.selected,dialog: s.dialog,@@ -67863,8 +67863,8 @@ function e$({ operation: e, selected: t, close: n, done: r, scope: i = "local" }}}), s.host) : null;}-function oke({ operation: e, selected: t, dialog: n, update: r }) {- let [i, a] = (0, F.useState)(t[0]?.k || ""), [o, s] = (0, F.useState)(t[0] ? XQ(t[0]) : 0);+function ske({ operation: e, selected: t, dialog: n, update: r }) {+ let [i, a] = (0, F.useState)(t[0]?.k || ""), [o, s] = (0, F.useState)(t[0] ? YQ(t[0]) : 0);return (0, F.useEffect)(() => {r({name: i,@@ -67883,22 +67883,22 @@ function oke({ operation: e, selected: t, dialog: n, update: r }) {value: i,onChange: a,maxLength: 80- }) : /* @__PURE__ */ (0, I.jsx)(WJ, {+ }) : /* @__PURE__ */ (0, I.jsx)(UJ, {"aria-label": "保留的标签",prefix: "保留",selectedKey: String(o),onSelectionChange: (e) => {- let n = t.find((t) => String(XQ(t)) === String(e));- n && s(XQ(n));+ let n = t.find((t) => String(YQ(t)) === String(e));+ n && s(YQ(n));},children: t.map((e) => /* @__PURE__ */ (0, I.jsx)(WU, {- id: String(XQ(e)),+ id: String(YQ(e)),children: e.k- }, XQ(e)))+ }, YQ(e)))});}// src/react/index/tag-manager.tsx-function t$({ search: e, category: t = "all", view: n = "cloud", onCategory: r, onView: i, onJump: a, scope: o = "local" }) {+function e$({ search: e, category: t = "all", view: n = "cloud", onCategory: r, onView: i, onJump: a, scope: o = "local" }) {let s = o === "online", c = (0, F.useRef)(null), [l, u] = (0, F.useState)(""), [d, f] = (0, F.useState)(t), [p, m] = (0, F.useState)(n), h = r ? t : d, g = i ? n : p, _ = e ?? l, [v, y] = (0, F.useState)(!1), [b, x] = (0, F.useState)(!1), S = JSON.stringify([o,_,@@ -67906,7 +67906,7 @@ function t$({ search: e, category: t = "all", view: n = "cloud", onCategory: r,g,v,b- ]), { pagination: C, onChange: w } = FQ(S), T = new URLSearchParams({+ ]), { pagination: C, onChange: w } = PQ(S), T = new URLSearchParams({limit: String(C.pageSize),offset: String(C.pageIndex * C.pageSize),q: _,@@ -67923,25 +67923,25 @@ function t$({ search: e, category: t = "all", view: n = "cloud", onCategory: r,],queryFn: ({ signal: e }) => B(`/api/tag-management?${T}`, e)});- IQ(E.data?.total, C, w);+ FQ(E.data?.total, C, w);let [D, O] = (0, F.useState)(/* @__PURE__ */ new Map());(0, F.useEffect)(() => {O(/* @__PURE__ */ new Map());}, [S]);- let k = new Set(D.keys()), [A, j] = (0, F.useState)(null), M = hH(), ee = E.data?.items || [], N = ee, te = (s ? ZX : XX).filter(([e]) => e === "all" || e === h || E.isPending || Number(E.data?.categories[e]) > 0), P = N.map((e) => ({+ let k = new Set(D.keys()), [A, j] = (0, F.useState)(null), M = hH(), ee = E.data?.items || [], N = ee, te = (s ? XX : YX).filter(([e]) => e === "all" || e === h || E.isPending || Number(E.data?.categories[e]) > 0), P = N.map((e) => ({...e,label: e.k- })), ne = g === "alphabet" ? sZ(P, (e) => e) : [], re = [...D.values()], ie = (e) => {+ })), ne = g === "alphabet" ? oZ(P, (e) => e) : [], re = [...D.values()], ie = (e) => {M.run(e.operation, async (t) => {let n = s ? {...e,scope: o} : e;- return $Q(n, await QQ(n, t), t);+ return QQ(n, await ZQ(n, t), t);}, (e) => {e && O(/* @__PURE__ */ new Map());});- }, ae = re.map(XQ), oe = {+ }, ae = re.map(YQ), oe = {online: s,favorites: s,picked: k,@@ -67962,13 +67962,13 @@ function t$({ search: e, category: t = "all", view: n = "cloud", onCategory: r,children: [e === void 0 ? /* @__PURE__ */ (0, I.jsx)("div", {className: "mb-4 flex",- children: /* @__PURE__ */ (0, I.jsx)(PQ, {+ children: /* @__PURE__ */ (0, I.jsx)(NQ, {label: "过滤标签",value: l,onQuery: u})}) : null,- /* @__PURE__ */ (0, I.jsx)(HQ, {+ /* @__PURE__ */ (0, I.jsx)(VQ, {categories: te,category: h,online: s,@@ -67996,7 +67996,7 @@ function t$({ search: e, category: t = "all", view: n = "cloud", onCategory: r,} } : {}},actions: /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [- E.data?.duplicate_groups.length ? /* @__PURE__ */ (0, I.jsx)(mL, {+ E.data?.duplicate_groups.length ? /* @__PURE__ */ (0, I.jsx)(pL, {busy: M.busy === "repair",onPress: () => ie({operation: "repair",@@ -68004,11 +68004,11 @@ function t$({ search: e, category: t = "all", view: n = "cloud", onCategory: r,}),children: "整理重复标签"}) : null,- N.length ? /* @__PURE__ */ (0, I.jsx)(mL, {+ N.length ? /* @__PURE__ */ (0, I.jsx)(pL, {onPress: () => O((e) => new Map([...e, ...N.map((e) => [e.k, e])])),children: "选择本页"}) : null,- k.size ? /* @__PURE__ */ (0, I.jsx)(mL, {+ k.size ? /* @__PURE__ */ (0, I.jsx)(pL, {onPress: () => O(/* @__PURE__ */ new Map()),children: "清空选择"}) : null@@ -68025,10 +68025,10 @@ function t$({ search: e, category: t = "all", view: n = "cloud", onCategory: r,children: "立即重试"}),children: "无法读取标签"- }) : N.length ? g === "alphabet" ? /* @__PURE__ */ (0, I.jsx)(BQ, {+ }) : N.length ? g === "alphabet" ? /* @__PURE__ */ (0, I.jsx)(zQ, {groups: ne,actions: oe- }) : /* @__PURE__ */ (0, I.jsx)(VQ, {+ }) : /* @__PURE__ */ (0, I.jsx)(BQ, {tags: P,actions: oe}) : /* @__PURE__ */ (0, I.jsx)(uV, {@@ -68037,7 +68037,7 @@ function t$({ search: e, category: t = "all", view: n = "cloud", onCategory: r,}),E.data ? /* @__PURE__ */ (0, I.jsx)("div", {className: "mt-5",- children: /* @__PURE__ */ (0, I.jsx)(qJ, {+ children: /* @__PURE__ */ (0, I.jsx)(KJ, {label: "标签管理",total: E.data.total,pagination: C,@@ -68051,7 +68051,7 @@ function t$({ search: e, category: t = "all", view: n = "cloud", onCategory: r,tone: "error",children: M.error}) : null,- /* @__PURE__ */ (0, I.jsxs)(wj, {+ /* @__PURE__ */ (0, I.jsxs)(Cj, {label: "标签管理操作",count: `已选 ${k.size} 个标签`,visible: k.size > 0,@@ -68092,7 +68092,7 @@ function t$({ search: e, category: t = "all", view: n = "cloud", onCategory: r,}) : null]}),- A ? /* @__PURE__ */ (0, I.jsx)(e$, {+ A ? /* @__PURE__ */ (0, I.jsx)($Q, {operation: A,selected: re,scope: o,@@ -68103,7 +68103,7 @@ function t$({ search: e, category: t = "all", view: n = "cloud", onCategory: r,});}// src/react/index/index-page.tsx-var ske = [+var cke = [{value: "studios",label: "厂牌",@@ -68119,7 +68119,7 @@ var ske = [label: "系列",symbol: "list"}-], cke = [{+], lke = [{value: "local",label: "本地",symbol: "hard-drive"@@ -68127,7 +68127,7 @@ var ske = [value: "online",label: "在线",symbol: "rss"-}], lke = [+}], uke = [{value: "performers",label: "艺人",@@ -68143,7 +68143,7 @@ var ske = [label: "在线",symbol: "rss"}-], uke = {+], dke = {people: [["big","大图 · 竖幅头像",@@ -68172,17 +68172,17 @@ var ske = ["layout-grid"]]};-function dke({ kind: e, layout: t, onChange: n }) {+function fke({ kind: e, layout: t, onChange: n }) {return /* @__PURE__ */ (0, I.jsx)(rU, {- "aria-label": `${YX[e]}索引版式`,+ "aria-label": `${JX[e]}索引版式`,orientation: "horizontal",value: t,onChange: (e) => n(e),"data-index-layout": "",className: `flex-none ${iU}`,- children: uke[e === "series" ? "series" : eZ(e) ? "company" : "people"].map(([e, t, n]) => {+ children: dke[e === "series" ? "series" : $X(e) ? "company" : "people"].map(([e, t, n]) => {let r = pV(n);- return /* @__PURE__ */ (0, I.jsx)(Nz, {+ return /* @__PURE__ */ (0, I.jsx)(Mz, {value: e,"aria-label": t,className: vve,@@ -68195,8 +68195,8 @@ function dke({ kind: e, layout: t, onChange: n }) {})});}-function fke(e) {- let [t, n] = (0, F.useState)(!1), [r, i] = (0, F.useState)(() => tZ({+function pke(e) {+ let [t, n] = (0, F.useState)(!1), [r, i] = (0, F.useState)(() => eZ({kind: e.kind,q: e.q,scope: e.scope,@@ -68209,8 +68209,8 @@ function fke(e) {e.view,e.category]), [o, s] = (0, F.useState)(a);- a !== o && (s(a), i(tZ(e)));- let [c, l] = (0, F.useState)(e.layout), [u, d] = (0, F.useState)(/* @__PURE__ */ new Set()), [f, p] = (0, F.useState)("any"), m = (0, F.useRef)(null), { kind: h, q: g, scope: _, view: v, category: y } = r, b = YX[h], x = h === "tags" && _ === "online", S = h === "performers" && _ === "online";+ a !== o && (s(a), i(eZ(e)));+ let [c, l] = (0, F.useState)(e.layout), [u, d] = (0, F.useState)(/* @__PURE__ */ new Set()), [f, p] = (0, F.useState)("any"), m = (0, F.useRef)(null), { kind: h, q: g, scope: _, view: v, category: y } = r, b = JX[h], x = h === "tags" && _ === "online", S = h === "performers" && _ === "online";(0, F.useEffect)(() => {if (r.kind === e.kind && r.scope === e.scope && r.category === e.category) return;let t = !0;@@ -68229,7 +68229,7 @@ function fke(e) {...t};i(o), e.route(o, { replace: a });- }, { pagination: w, onChange: T } = FQ(JSON.stringify(r)), E = aZ(nZ(r), w.pageSize), D = Lt({+ }, { pagination: w, onChange: T } = PQ(JSON.stringify(r)), E = iZ(tZ(r), w.pageSize), D = Lt({queryKey: h === "tags" && (w.pageIndex || w.pageSize !== 100) ? [...E.queryKey,"page",@@ -68244,7 +68244,7 @@ function fke(e) {getNextPageParam: h === "tags" ? () => void 0 : E.getNextPageParam,enabled: !(t && h === "tags"),placeholderData: ke- }), O = WEe(D.data), k = D.isPending || D.isPlaceholderData, A = !!D.hasNextPage && !D.isPlaceholderData, j = D.data?.pages[0]?.total;+ }), O = GEe(D.data), k = D.isPending || D.isPlaceholderData, A = !!D.hasNextPage && !D.isPlaceholderData, j = D.data?.pages[0]?.total;(0, F.useEffect)(() => {pm(() => window.location.pathname === `/${h}` && !!m.current?.isConnected, m.current?.querySelector("[data-index-body]"), { pending: k });}, [@@ -68252,8 +68252,8 @@ function fke(e) {D.isPending,D.isPlaceholderData,r- ]), IQ(h === "tags" && !D.isPlaceholderData ? j : void 0, w, T);- let M = h === "tags" ? D.isPending || D.isError ? "" : `${(j ?? O.length).toLocaleString()} 个标签` : GEe(O.length, !!D.hasNextPage), ee = `${h}:${_}:${g}`, N = (0, F.useRef)(null), te = D.data?.pages[0]?.categories;+ ]), FQ(h === "tags" && !D.isPlaceholderData ? j : void 0, w, T);+ let M = h === "tags" ? D.isPending || D.isError ? "" : `${(j ?? O.length).toLocaleString()} 个标签` : KEe(O.length, !!D.hasNextPage), ee = `${h}:${_}:${g}`, N = (0, F.useRef)(null), te = D.data?.pages[0]?.categories;te && !D.isPlaceholderData && (N.current = {key: ee,counts: te@@ -68269,7 +68269,7 @@ function fke(e) {O,h,x- ]), ae = (0, F.useMemo)(() => h === "tags" && v === "alphabet" ? sZ(ie, (t) => x ? t : e.tagLabel(t)) : [], [+ ]), ae = (0, F.useMemo)(() => h === "tags" && v === "alphabet" ? oZ(ie, (t) => x ? t : e.tagLabel(t)) : [], [ie,v,h,@@ -68277,7 +68277,7 @@ function fke(e) {]), oe = (t) => {l(t), e.savePreference({ layout: t });}, se = h === "tags" ? /* @__PURE__ */ (0, I.jsx)(_W, {- tabs: cke,+ tabs: lke,value: _,label: "词表",onChange: (e) => {@@ -68287,8 +68287,8 @@ function fke(e) {view: e === "online" ? "alphabet" : v});}- }) : eZ(h) || h === "series" ? /* @__PURE__ */ (0, I.jsx)(_W, {- tabs: ske,+ }) : $X(h) || h === "series" ? /* @__PURE__ */ (0, I.jsx)(_W, {+ tabs: cke,value: h,label: "资料类型",onChange: (e) => C({ kind: e })@@ -68297,7 +68297,7 @@ function fke(e) {let n = new Set(e);return n.delete(t) || n.add(t), n;}) : ie.find((e) => e.k === t)?.entity_id ? e.openEntity("tag", t) : e.showTags([t], "all");- }, le = (x ? ZX : XX).filter(re);+ }, le = (x ? XX : YX).filter(re);return /* @__PURE__ */ (0, I.jsxs)("div", {ref: m,"data-index-page": h,@@ -68312,10 +68312,10 @@ function fke(e) {className: "flex flex-none items-center text-display-4-medium whitespace-nowrap text-text-primary max-board-narrow:text-title-1-medium",children: b}),- $X(h) ? /* @__PURE__ */ (0, I.jsx)("span", {+ QX(h) ? /* @__PURE__ */ (0, I.jsx)("span", {"data-index-count": "",className: "text-caption-1-regular leading-5 whitespace-nowrap text-text-secondary tabular-nums max-board-narrow:order-1 max-board-narrow:basis-full",- children: /* @__PURE__ */ (0, I.jsx)(aL, {+ children: /* @__PURE__ */ (0, I.jsx)(iL, {text: k ? void 0 : D.isError ? "" : M,busy: k,placeholder: /* @__PURE__ */ (0, I.jsx)("span", {@@ -68324,7 +68324,7 @@ function fke(e) {})})}) : null,- $X(h) ? /* @__PURE__ */ (0, I.jsx)(dke, {+ QX(h) ? /* @__PURE__ */ (0, I.jsx)(fke, {kind: h,layout: c,onChange: oe@@ -68343,7 +68343,7 @@ function fke(e) {e.exitSelectMode(), d(/* @__PURE__ */ new Set()), n(!t);}}) : null,- /* @__PURE__ */ (0, I.jsx)(PQ, {+ /* @__PURE__ */ (0, I.jsx)(NQ, {label: `过滤${b}`,value: g,onQuery: (e) => {@@ -68353,7 +68353,7 @@ function fke(e) {]}),h === "performers" || h === "creators" ? /* @__PURE__ */ (0, I.jsx)(_W, {- tabs: lke,+ tabs: uke,value: S ? "online" : h,label: "人物名册",onChange: (t) => {@@ -68365,7 +68365,7 @@ function fke(e) {}}) : null,se,- t && h === "tags" ? /* @__PURE__ */ (0, I.jsx)(t$, {+ t && h === "tags" ? /* @__PURE__ */ (0, I.jsx)(e$, {scope: _,search: g,category: y,@@ -68379,8 +68379,8 @@ function fke(e) {}, _) : /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [h === "performers" && _ === "local" ? /* @__PURE__ */ (0, I.jsx)("div", {"aria-label": "身份分类",- className: JX,- children: qX.filter((e) => e[0] === y || re(e)).map(([e, t]) => /* @__PURE__ */ (0, I.jsx)(J, {+ className: qX,+ children: KX.filter((e) => e[0] === y || re(e)).map(([e, t]) => /* @__PURE__ */ (0, I.jsx)(J, {variant: y === e ? "primary" : "secondary",size: "small","aria-pressed": y === e,@@ -68388,7 +68388,7 @@ function fke(e) {children: t}, e))}) : null,- h === "tags" ? /* @__PURE__ */ (0, I.jsx)(HQ, {+ h === "tags" ? /* @__PURE__ */ (0, I.jsx)(VQ, {categories: le,category: y,online: x,@@ -68404,7 +68404,7 @@ function fke(e) {}) : null,/* @__PURE__ */ (0, I.jsx)("div", {"data-index-body": "",- children: /* @__PURE__ */ (0, I.jsx)(UG, {+ children: /* @__PURE__ */ (0, I.jsx)(HG, {pending: k,skeletonHtml: () => h === "tags" ? rc({mode: v,@@ -68426,7 +68426,7 @@ function fke(e) {}),children: xn(D.error)});- if (!O.length) return /* @__PURE__ */ (0, I.jsx)(mke, {+ if (!O.length) return /* @__PURE__ */ (0, I.jsx)(hke, {kind: h,filtered: !!g || y !== "all",online: x || S,@@ -68435,12 +68435,12 @@ function fke(e) {category: "all"})});- if (S) return /* @__PURE__ */ (0, I.jsx)(XEe, {+ if (S) return /* @__PURE__ */ (0, I.jsx)(ZEe, {items: O,layout: c,props: e});- if ($X(h)) return /* @__PURE__ */ (0, I.jsx)(uZ, {+ if (QX(h)) return /* @__PURE__ */ (0, I.jsx)(lZ, {kind: h,items: O,layout: c,@@ -68451,10 +68451,10 @@ function fke(e) {picked: u,press: ce};- return v === "alphabet" ? /* @__PURE__ */ (0, I.jsx)(BQ, {+ return v === "alphabet" ? /* @__PURE__ */ (0, I.jsx)(zQ, {groups: ae,actions: t- }) : /* @__PURE__ */ (0, I.jsx)(VQ, {+ }) : /* @__PURE__ */ (0, I.jsx)(BQ, {tags: ie,actions: t});@@ -68463,7 +68463,7 @@ function fke(e) {}),h === "tags" && !k && !D.isError ? /* @__PURE__ */ (0, I.jsx)("div", {className: "mt-5",- children: /* @__PURE__ */ (0, I.jsx)(qJ, {+ children: /* @__PURE__ */ (0, I.jsx)(KJ, {label: "标签",total: j ?? O.length,pagination: w,@@ -68488,7 +68488,7 @@ function fke(e) {}) : null, "载入更多"]})}) : null,- h === "tags" && !x && e.selectMode ? /* @__PURE__ */ (0, I.jsx)(ike, {+ h === "tags" && !x && e.selectMode ? /* @__PURE__ */ (0, I.jsx)(ake, {count: u.size,match: f,onMatch: p,@@ -68502,7 +68502,7 @@ function fke(e) {]});}-var pke = {+var mke = {tags: "标签",performers: "艺人",creators: "卖家",@@ -68510,7 +68510,7 @@ var pke = {agencies: "事务所",series: "系列"};-function mke({ kind: e, filtered: t, online: n, onClear: r }) {+function hke({ kind: e, filtered: t, online: n, onClear: r }) {if (t) return /* @__PURE__ */ (0, I.jsx)(dV, {icon: pV("search"),title: "没有符合条件的内容",@@ -68521,7 +68521,7 @@ function mke({ kind: e, filtered: t, online: n, onClear: r }) {}),children: "清除筛选或搜索条件后查看全部内容。"});- let i = n && e === "performers" ? "创作者" : pke[e], a = /* @__PURE__ */ (0, I.jsx)(yL, {+ let i = n && e === "performers" ? "创作者" : mke[e], a = /* @__PURE__ */ (0, I.jsx)(vL, {size: "small",variant: n ? "primary" : "secondary",href: "/subscriptions?tab=add",@@ -68530,7 +68530,7 @@ function mke({ kind: e, filtered: t, online: n, onClear: r }) {return /* @__PURE__ */ (0, I.jsx)(dV, {icon: pV(e === "tags" ? "tags" : "user-round"),title: `还没有${i}`,- actions: n ? a : /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(yL, {+ actions: n ? a : /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(vL, {size: "small",href: "/settings/library",children: "添加媒体"@@ -68538,15 +68538,15 @@ function mke({ kind: e, filtered: t, online: n, onClear: r }) {children: n ? `添加关注来源并获取内容后,这里会显示来源上的${i}。` : "添加内容并补充资料后,这里会显示对应信息。"});}-var n$ = {+var t$ = {video: ["视频", "play"],image: ["图片", "pics"],archive: ["压缩包", "file-archive"],audio: ["音频", "file-audio"],url: ["网址快捷方式", "globe"],other: ["其它文件", "hard-drive"]-}, hke = (e) => n$[e.junk_kind || "other"] || n$.other;-function gke(e) {+}, gke = (e) => t$[e.junk_kind || "other"] || t$.other;+function _ke(e) {return e === "dismissed" ? {operation: "reconsider-junk",label: "重新判断",@@ -68557,40 +68557,40 @@ function gke(e) {glyph: "check"};}-var r$ = (e, t) => Number((t ? e.counts?.[t] : e.all_total) || 0), _ke = (e, t) => [+var n$ = (e, t) => Number((t ? e.counts?.[t] : e.all_total) || 0), vke = (e, t) => ["junk-queue",e.view,e.kind,t];-function vke({ kind: e, view: t }) {+function yke({ kind: e, view: t }) {let n = new URLSearchParams({limit: "200",status: t});return e && n.set("kind", e), n.toString();}-async function yke(e, t) {- let n = await B(`/api/ads?${vke(e)}`, t);+async function bke(e, t) {+ let n = await B(`/api/ads?${yke(e)}`, t);return {...n,items: n.items || []};}// src/react/junk-queue/junk-card.tsx-function i$({ name: e }) {+function r$({ name: e }) {return /* @__PURE__ */ (0, I.jsx)("svg", {viewBox: "0 0 24 24","aria-hidden": "true",children: /* @__PURE__ */ (0, I.jsx)("use", { href: `#i-${e}` })});}-var a$ = (e, t) => e || t.shiftKey || t.ctrlKey || t.metaKey;-function bke({ item: e, view: t, selected: n, selectMode: r, helpers: i, actions: a }) {- let o = (0, F.useRef)(null), [s, c] = (0, F.useState)(""), [l, u] = (0, F.useState)(""), d = e.junk_kind || "other", [f, p] = hke(e), m = String(e.name || ""), h = gke(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]") || a$(r, t) && (t.preventDefault(), a.toggleSelection(e.id, t.shiftKey));+var i$ = (e, t) => e || t.shiftKey || t.ctrlKey || t.metaKey;+function xke({ item: e, view: t, selected: n, selectMode: r, helpers: i, actions: a }) {+ let o = (0, F.useRef)(null), [s, c] = (0, F.useState)(""), [l, u] = (0, F.useState)(""), d = e.junk_kind || "other", [f, p] = gke(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]") || i$(r, t) && (t.preventDefault(), a.toggleSelection(e.id, t.shiftKey));}, y = (t) => {- t.stopPropagation(), a$(r, t) ? (t.preventDefault(), a.toggleSelection(e.id, t.shiftKey)) : o.current && a.open(e, o.current);+ t.stopPropagation(), i$(r, t) ? (t.preventDefault(), a.toggleSelection(e.id, t.shiftKey)) : o.current && a.open(e, o.current);}, b = (t) => {t.preventDefault(), t.stopPropagation(), s !== "reveal" && (c("reveal"), u(""), a.reveal(e).then(u, () => {}).finally(() => c("")));}, x = (t) => (n) => {@@ -68621,7 +68621,7 @@ function bke({ item: e, view: t, selected: n, selectMode: r, helpers: i, actions"data-junk-kind": d,"data-selected": n ? "" : void 0,onClick: v,- onMouseDown: lK,+ onMouseDown: cK,children: [/* @__PURE__ */ (0, I.jsxs)("div", {"data-media-pic": "",@@ -68629,7 +68629,7 @@ function bke({ item: e, view: t, selected: n, selectMode: r, helpers: i, actionschildren: [/* @__PURE__ */ (0, I.jsxs)("span", {"data-media-glyph": "",- children: [/* @__PURE__ */ (0, I.jsx)(i$, { name: p }), /* @__PURE__ */ (0, I.jsx)("b", { children: f })]+ children: [/* @__PURE__ */ (0, I.jsx)(r$, { name: p }), /* @__PURE__ */ (0, I.jsx)("b", { children: f })]}),g ? /* @__PURE__ */ (0, I.jsx)("span", {"data-media-art": "thumb",@@ -68641,7 +68641,7 @@ function bke({ item: e, view: t, selected: n, selectMode: r, helpers: i, actions}),/* @__PURE__ */ (0, I.jsx)("span", {"data-media-check": "",- children: /* @__PURE__ */ (0, I.jsx)(i$, { name: "check" })+ children: /* @__PURE__ */ (0, I.jsx)(r$, { name: "check" })})]}),@@ -68678,7 +68678,7 @@ function bke({ item: e, view: t, selected: n, selectMode: r, helpers: i, actionschildren: [s === "reveal" ? /* @__PURE__ */ (0, I.jsx)("span", {"data-junk-spinner": "",dangerouslySetInnerHTML: { __html: Bs("正在定位") }- }) : /* @__PURE__ */ (0, I.jsx)(i$, { name: "folder-open" }), /* @__PURE__ */ (0, I.jsx)("span", {+ }) : /* @__PURE__ */ (0, I.jsx)(r$, { name: "folder-open" }), /* @__PURE__ */ (0, I.jsx)("span", {"data-junk-label": "",children: "打开位置"})]@@ -68690,7 +68690,7 @@ function bke({ item: e, view: t, selected: n, selectMode: r, helpers: i, actions"aria-label": h.label,...S(h.operation),onClick: x(h.operation),- children: [/* @__PURE__ */ (0, I.jsx)(i$, { name: h.glyph }), /* @__PURE__ */ (0, I.jsx)("span", {+ children: [/* @__PURE__ */ (0, I.jsx)(r$, { name: h.glyph }), /* @__PURE__ */ (0, I.jsx)("span", {"data-junk-label": "",children: h.label})]@@ -68702,7 +68702,7 @@ function bke({ item: e, view: t, selected: n, selectMode: r, helpers: i, actions"aria-label": "移入回收站",...S("dispose"),onClick: x("dispose"),- children: [/* @__PURE__ */ (0, I.jsx)(i$, { name: "trash" }), /* @__PURE__ */ (0, I.jsx)("span", {+ children: [/* @__PURE__ */ (0, I.jsx)(r$, { name: "trash" }), /* @__PURE__ */ (0, I.jsx)("span", {"data-junk-label": "",children: "移入回收站"})]@@ -68717,9 +68717,9 @@ function bke({ item: e, view: t, selected: n, selectMode: r, helpers: i, actions]});}-var xke = (0, F.memo)(bke);+var Ske = (0, F.memo)(xke);// src/react/components/collection-summary.tsx-function o$({ label: e, figure: t, detail: n = "", pending: r = !1, flush: i = !1 }) {+function a$({ label: e, figure: t, detail: n = "", pending: r = !1, flush: i = !1 }) {return /* @__PURE__ */ (0, I.jsxs)("div", {"data-collection-summary": "",className: `${i ? "" : "mb-5 "}flex items-end justify-between gap-4 rounded-surface bg-background-secondary-default px-6 py-5@@ -68745,21 +68745,21 @@ function o$({ label: e, figure: t, detail: n = "", pending: r = !1, flush: i = !});}// src/react/junk-queue/junk-count.tsx-function s$({ name: e }) {+function o$({ name: e }) {return /* @__PURE__ */ (0, I.jsx)("svg", {viewBox: "0 0 24 24","aria-hidden": "true",children: /* @__PURE__ */ (0, I.jsx)("use", { href: `#i-${e}` })});}-function c$({ scope: e, count: t }) {+function s$({ scope: e, count: t }) {return t ? /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [" ", /* @__PURE__ */ (0, I.jsx)("span", {"data-count-badge": `junk:${e}`,children: t.toLocaleString()})] }) : null;}-function Ske({ route: e, page: t, failed: n, onNavigate: r }) {- let i = BV(), a = (0, F.useRef)(null), { kind: o, view: s } = e, c = _L(a, i, "[data-junk-kind-link][aria-current=\"page\"]", `${s}:${o}:${t ? IU.map(([e]) => r$(t, e)).join(",") : ""}`), l = zU(s), u = (e) => {+function Cke({ route: e, page: t, failed: n, onNavigate: r }) {+ let i = BV(), a = (0, F.useRef)(null), { kind: o, view: s } = e, c = gL(a, i, "[data-junk-kind-link][aria-current=\"page\"]", `${s}:${o}:${t ? IU.map(([e]) => n$(t, e)).join(",") : ""}`), l = zU(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") || RU()));}, d = t ? `${Number(t.total || 0).toLocaleString()} 个` : n ? "—" : "";@@ -68768,7 +68768,7 @@ function Ske({ route: e, page: t, failed: n, onNavigate: r }) {children: [/* @__PURE__ */ (0, I.jsx)("div", {"data-junk-summary": "","aria-live": "polite",- children: /* @__PURE__ */ (0, I.jsx)(o$, {+ children: /* @__PURE__ */ (0, I.jsx)(a$, {label: BU(s),figure: d,pending: !t && !n,@@ -68795,11 +68795,11 @@ function Ske({ route: e, page: t, failed: n, onNavigate: r }) {"aria-current": e === o ? "page" : void 0,onPointerEnter: c.hover,children: [- /* @__PURE__ */ (0, I.jsx)(s$, { name: r }),+ /* @__PURE__ */ (0, I.jsx)(o$, { name: r }),n,- /* @__PURE__ */ (0, I.jsx)(c$, {+ /* @__PURE__ */ (0, I.jsx)(s$, {scope: e,- count: t ? r$(t, e) : 0+ count: t ? n$(t, e) : 0})]}, e || "all")),@@ -68813,9 +68813,9 @@ function Ske({ 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, I.jsx)(s$, { name: l.glyph }),+ /* @__PURE__ */ (0, I.jsx)(o$, { name: l.glyph }),l.label,- /* @__PURE__ */ (0, I.jsx)(c$, {+ /* @__PURE__ */ (0, I.jsx)(s$, {scope: "dismissed",count: Number(t?.dismissed_total || 0)})@@ -68827,33 +68827,33 @@ function Ske({ route: e, page: t, failed: n, onNavigate: r }) {});}// src/react/junk-queue/junk-queue-page.tsx-var Cke = pV("check"), wke = (e, t) => e[1] === t.view && e[2] === t.kind;-function Tke(e) {+var wke = pV("check"), Tke = (e, t) => e[1] === t.view && e[2] === t.kind;+function Eke(e) {let t = {kind: e.kind,view: e.view}, n = Ft({- queryKey: _ke(t, e.revision),- queryFn: ({ signal: e }) => yke(t, e),- placeholderData: (e, n) => n && wke(n.queryKey, t) ? e : void 0+ queryKey: vke(t, e.revision),+ queryFn: ({ signal: e }) => bke(t, e),+ placeholderData: (e, n) => n && Tke(n.queryKey, t) ? e : void 0});(0, F.useEffect)(() => {n.isFetching || e.settled?.(e.revision);}, [n.isFetching, e.revision]);- let r = Eke(e.countRow), i = n.isPending;+ let r = Dke(e.countRow), i = n.isPending;(0, F.useLayoutEffect)(() => {let t = e.countRow;t && (i ? t.setAttribute("aria-busy", "true") : t.removeAttribute("aria-busy"));}, [e.countRow, i]), (0, F.useLayoutEffect)(() => {r && n.data && ec(r, "junk");}, [r, n.data]);- let { navigate: a } = e.actions, o = r ? (0, Rt.createPortal)(/* @__PURE__ */ (0, I.jsx)(Ske, {+ let { navigate: a } = e.actions, o = r ? (0, Rt.createPortal)(/* @__PURE__ */ (0, I.jsx)(Cke, {route: t,page: n.data,failed: n.isError && !n.data,onNavigate: a}), r) : null;- return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [o, /* @__PURE__ */ (0, I.jsx)(Dke, {+ return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [o, /* @__PURE__ */ (0, I.jsx)(Oke, {props: e,data: n.data,pending: i,@@ -68861,7 +68861,7 @@ function Tke(e) {retry: () => void n.refetch()}, `${t.view}:${t.kind}`)] });}-function Eke(e) {+function Dke(e) {let [t, n] = (0, F.useState)(null);return (0, F.useLayoutEffect)(() => {if (!e) return;@@ -68871,8 +68871,8 @@ function Eke(e) {};}, [e]), t;}-function Dke({ props: e, data: t, pending: n, error: r, retry: i }) {- let a = zbe(n, e.skeletonHtml), o = Math.max(1, e.batchSize || 60), [s, c] = (0, F.useState)(1), l = t?.items || [], u = l.slice(0, s * o), { canLoadMore: d } = e, f = (0, F.useCallback)(() => {+function Oke({ props: e, data: t, pending: n, error: r, retry: i }) {+ let a = Bbe(n, e.skeletonHtml), o = Math.max(1, e.batchSize || 60), [s, c] = (0, F.useState)(1), l = t?.items || [], u = l.slice(0, s * o), { canLoadMore: d } = e, f = (0, F.useCallback)(() => {d?.() !== !1 && c((e) => e + 1);}, [d]);return /* @__PURE__ */ (0, I.jsxs)("div", {@@ -68880,16 +68880,16 @@ function Dke({ 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, I.jsx)(HG, {+ if (!t) return /* @__PURE__ */ (0, I.jsx)(VG, {message: xn(r),onRetry: i});if (!l.length) {let t = e.view === "dismissed";return /* @__PURE__ */ (0, I.jsx)(dV, {- icon: Cke,+ icon: wke,title: t ? "没有已排除的文件" : "没有待判断的垃圾文件",- actions: t ? /* @__PURE__ */ (0, I.jsx)(yL, {+ actions: t ? /* @__PURE__ */ (0, I.jsx)(vL, {size: "small",href: "/junk-files",children: "查看待判断"@@ -68902,7 +68902,7 @@ function Dke({ 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, I.jsx)(xke, {+ children: u.map((t) => /* @__PURE__ */ (0, I.jsx)(Ske, {item: t,view: e.view,selected: e.selected.has(t.id),@@ -68911,7 +68911,7 @@ function Dke({ props: e, data: t, pending: n, error: r, retry: i }) {actions: e.actions}, t.id))}),- u.length < l.length ? /* @__PURE__ */ (0, I.jsx)(Oke, { onMore: f }, s) : null,+ u.length < l.length ? /* @__PURE__ */ (0, I.jsx)(kke, { onMore: f }, s) : null,u.length >= l.length && Number(t.total || 0) > l.length ? /* @__PURE__ */ (0, I.jsx)("p", {"data-junk-truncated": "",className: "py-6 text-center text-caption-1-regular text-text-secondary",@@ -68921,14 +68921,14 @@ function Dke({ props: e, data: t, pending: n, error: r, retry: i }) {})()]});}-function Oke({ onMore: e }) {+function kke({ onMore: e }) {let t = (0, F.useRef)(null);return (0, F.useEffect)(() => {let n = t.current;if (!n || typeof IntersectionObserver > "u") return;let r = new IntersectionObserver((t) => {t.some((e) => e.isIntersecting) && e();- }, { rootMargin: VG });+ }, { rootMargin: BG });return r.observe(n), () => r.disconnect();}, [e]), /* @__PURE__ */ (0, I.jsx)("div", {ref: t,@@ -68938,21 +68938,21 @@ function Oke({ onMore: e }) {});}// src/react/components/fieldset-layout.ts-var kke = CU({+var Ake = CU({padding: "none",className: "overflow-hidden"-}), l$ = {+}), c$ = {split: "min-w-0 p-6",stack: "flex min-h-30 min-w-0 flex-1 flex-col px-5 pt-5 pb-4 max-cleanup-tight:min-h-0 max-cleanup-tight:p-4.5"-}, u$ = {+}, l$ = {split: "flex flex-wrap items-center justify-end gap-2 self-stretch p-6 max-[1001px]:justify-start max-[1001px]:pt-0",stack: "flex min-h-14 flex-wrap items-center justify-end gap-2 border-t border-border-button-default bg-card-footer px-5 py-3 max-cleanup-tight:px-4.5"};-function d$(e) {- return `${kke} ${e === "split" ? "fieldset-split" : "flex flex-col"}`;+function u$(e) {+ return `${Ake} ${e === "split" ? "fieldset-split" : "flex flex-col"}`;}// src/react/data-cleanup/cleanup-entry.ts-var f$ = "inline-grid w-full grid-cols-2 gap-3 max-cleanup-tight:grid-cols-1", p$ = {+var d$ = "inline-grid w-full grid-cols-2 gap-3 max-cleanup-tight:grid-cols-1", f$ = {face: CU({padding: "none",radius: "plain",@@ -68965,25 +68965,25 @@ var f$ = "inline-grid w-full grid-cols-2 gap-3 max-cleanup-tight:grid-cols-1", psummary: "text-body-2-regular tabular-nums text-text-secondary wrap-anywhere",detail: "text-caption-1-regular text-text-tertiary wrap-anywhere",arrow: "size-4 shrink-0 self-center text-foreground-icon-tertiary"-}, Ake = [+}, jke = ["text-chart-6","text-chart-5","text-chart-7","text-chart-8"-], jke = [+], Mke = ["bg-chart-6/10","bg-chart-5/10","bg-chart-7/10","bg-chart-8/10"];-function Mke(e = {}) {+function Nke(e = {}) {return `${CU({...e,padding: "none"})} flex flex-col overflow-hidden pt-4 text-left`;}-var Nke = "inline-grid w-full grid-cols-2 gap-3 sm:gap-4 lg:grid-cols-4", Pke = "inline-grid w-full grid-cols-2 gap-3 sm:grid-cols-3 sm:gap-4 xl:grid-cols-6";-function m$({ interactive: e = !1 } = {}) {+var Pke = "inline-grid w-full grid-cols-2 gap-3 sm:gap-4 lg:grid-cols-4", Fke = "inline-grid w-full grid-cols-2 gap-3 sm:grid-cols-3 sm:gap-4 xl:grid-cols-6";+function p$({ interactive: e = !1 } = {}) {return CU({padding: "none",radius: "plain",@@ -68991,8 +68991,8 @@ function m$({ interactive: e = !1 } = {}) {className: "flex min-h-33 flex-col gap-2 p-4 text-left"});}-var h$ = "inline-grid w-full grid-cols-5 gap-4 max-plain-stat-pair:grid-cols-2 max-plain-stat-single:grid-cols-1";-function Fke({ label: e, icon: t, mark: n, aside: r, figure: i, meta: a, wrapMeta: o = !1 }) {+var m$ = "inline-grid w-full grid-cols-5 gap-4 max-plain-stat-pair:grid-cols-2 max-plain-stat-single:grid-cols-1";+function Ike({ label: e, icon: t, mark: n, aside: r, figure: i, meta: a, wrapMeta: o = !1 }) {return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsxs)("span", {className: "flex min-w-0 items-center gap-2 text-body-medium text-text-secondary",@@ -69025,13 +69025,13 @@ function Fke({ label: e, icon: t, mark: n, aside: r, figure: i, meta: a, wrapMet})] });}-function Ike({ label: e, icon: t, accent: n = 0, figure: r, footer: i }) {+function Lke({ label: e, icon: t, accent: n = 0, figure: r, footer: i }) {return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.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",children: [t ? /* @__PURE__ */ (0, I.jsx)("i", {"aria-hidden": !0,- className: `flex size-7 shrink-0 items-center justify-center rounded-lg max-sm:size-6 ${Ake[n % 4]} ${jke[n % 4]}`,+ className: `flex size-7 shrink-0 items-center justify-center rounded-lg max-sm:size-6 ${jke[n % 4]} ${Mke[n % 4]}`,children: /* @__PURE__ */ (0, I.jsx)(t, {"aria-hidden": !0,className: "size-4"@@ -69052,96 +69052,96 @@ function Ike({ label: e, icon: t, accent: n = 0, figure: r, footer: i }) {] });}// src/management.ts-var g$ = "发现新文件,补全新增及未完成影片的资料和预览。需要检查全部影片时,使用全库维护。", _$ = "部分视频文件可能播放卡顿、打不开,修复缺时间戳表和缺索引的问题。", v$ = "<span class=\"skeleton skeleton-text\" aria-hidden=\"true\"></span>", y$ = "disabled data-skeleton-action", Lke = "aria-disabled=\"true\"", b$ = (e) => `<div class="peach-react"><div class="flex flex-col gap-4">${e}</div></div>`, x$ = (e, t, n) => `<div class="${l$[n]}"><div class="flex flex-col gap-2">+var h$ = "发现新文件,补全新增及未完成影片的资料和预览。需要检查全部影片时,使用全库维护。", g$ = "部分视频文件可能播放卡顿、打不开,修复缺时间戳表和缺索引的问题。", _$ = "<span class=\"skeleton skeleton-text\" aria-hidden=\"true\"></span>", v$ = "disabled data-skeleton-action", Rke = "aria-disabled=\"true\"", y$ = (e) => `<div class="peach-react"><div class="flex flex-col gap-4">${e}</div></div>`, b$ = (e, t, n) => `<div class="${c$[n]}"><div class="flex flex-col gap-2"><h3 class="text-title-2-medium text-text-primary">${e}</h3><p class="text-body-2-regular text-text-secondary">${t}</p></div></div>`;-function Rke() {- return b$(`<section aria-label="扫描与采集" class="${d$("stack")}" data-cleanup-task data-cleanup-processing>- ${x$("扫描与采集", g$, "stack")}- <footer class="${u$.stack}"><a href="/sources" class="inline-flex items-center justify-center gap-1 whitespace-nowrap font-sans rounded-sm text-body-medium text-accent-600"><span>来源和凭证</span>${Ts("arrow-up", "size-(--icon-inline) shrink-0 rotate-90")}</a><span data-button-group data-split-button data-variant="primary">${Os({+function zke() {+ return y$(`<section aria-label="扫描与采集" class="${u$("stack")}" data-cleanup-task data-cleanup-processing>+ ${b$("扫描与采集", h$, "stack")}+ <footer class="${l$.stack}"><a href="/sources" class="inline-flex items-center justify-center gap-1 whitespace-nowrap font-sans rounded-sm text-body-medium text-accent-600"><span>来源和凭证</span>${Ts("arrow-up", "size-(--icon-inline) shrink-0 rotate-90")}</a><span data-button-group data-split-button data-variant="primary">${Os({label: "同步新增文件",- attrs: y$+ attrs: v$})}${Os({glyph: "chevron-down",- attrs: `${y$} aria-label="更多同步方式"`+ attrs: `${v$} aria-label="更多同步方式"`})}</span></footer></section>`);}-function zke() {- return b$(`<section aria-label="媒体修复" class="${d$("split")}" data-cleanup-task data-cleanup-processing>- ${x$("媒体修复", _$, "split")}- <footer class="${u$.split}">${As(v$, {+function Bke() {+ return y$(`<section aria-label="媒体修复" class="${u$("split")}" data-cleanup-task data-cleanup-processing>+ ${b$("媒体修复", g$, "split")}+ <footer class="${l$.split}">${As(_$, {className: "w-48",- attrs: Lke+ attrs: Rke})}${Os({label: "开始修复",- attrs: y$+ attrs: v$})}</footer></section>`);}-function Bke() {- let e = (e, t, n, r = "") => `<div class="${p$.face}"><span class="${p$.icon}">${Ts(t, "size-5")}</span><span class="${p$.body}"><span class="${p$.title}">${e}</span><span class="${p$.summary}">${n}</span>${r ? `<span class="${p$.detail}">${r}</span>` : ""}</span>${Ts("chevron-right", p$.arrow)}</div>`, t = (e, t) => `<div class="${m$()}"><span class="flex min-w-0 items-center gap-2 text-body-medium text-text-secondary"><i class="flex size-8 shrink-0 items-center justify-center rounded-md bg-background-primary-default text-text-primary">${Ts(t, "size-4")}</i><span>${e}</span></span><strong class="block text-title-1-medium tabular-nums text-text-primary">${v$}</strong><span class="block min-h-4 text-caption-1-regular text-text-tertiary">${v$}</span></div>`, n = (e) => `<h2 class="text-title-2-medium! m-0! text-text-primary">${e}</h2>`, r = (t) => Yf.filter((e) => e.key === "batch-delete" === t).map((t) => e(t.title, t.icon, t.description)).join("");+function Vke() {+ let e = (e, t, n, r = "") => `<div class="${f$.face}"><span class="${f$.icon}">${Ts(t, "size-5")}</span><span class="${f$.body}"><span class="${f$.title}">${e}</span><span class="${f$.summary}">${n}</span>${r ? `<span class="${f$.detail}">${r}</span>` : ""}</span>${Ts("chevron-right", f$.arrow)}</div>`, t = (e, t) => `<div class="${p$()}"><span class="flex min-w-0 items-center gap-2 text-body-medium text-text-secondary"><i class="flex size-8 shrink-0 items-center justify-center rounded-md bg-background-primary-default text-text-primary">${Ts(t, "size-4")}</i><span>${e}</span></span><strong class="block text-title-1-medium tabular-nums text-text-primary">${_$}</strong><span class="block min-h-4 text-caption-1-regular text-text-tertiary">${_$}</span></div>`, n = (e) => `<h2 class="text-title-2-medium! m-0! text-text-primary">${e}</h2>`, r = (t) => Yf.filter((e) => e.key === "batch-delete" === t).map((t) => e(t.title, t.icon, t.description)).join("");return `<div class="peach-react" data-skeleton="cleanup" aria-busy="true" role="status" aria-label="正在读取数据管理状态"><div aria-hidden="true" inert class="mx-auto flex w-full max-w-board flex-col gap-8">- <section class="flex flex-col gap-4">${n("待处理事项")}<div class="${h$}">${[+ <section class="flex flex-col gap-4">${n("待处理事项")}<div class="${m$}">${[["人工复核", "square-check-big"],["重复文件", "file-stack"],["垃圾文件", "file-archive"],["高清版", "sparkles"],["回收站", "trash"]].map(([e, n]) => t(e, n)).join("")}</div></section>- <div id="libraryProcessing" class="scroll-mt-20">${Rke()}</div>- <section class="flex flex-col gap-4">${n("整理与维护")}<div class="${f$}">${r(!1)}</div></section>- <section class="flex flex-col gap-4">${n("清理与删除")}<div class="${f$}">${r(!0)}</div></section>+ <div id="libraryProcessing" class="scroll-mt-20">${zke()}</div>+ <section class="flex flex-col gap-4">${n("整理与维护")}<div class="${d$}">${r(!1)}</div></section>+ <section class="flex flex-col gap-4">${n("清理与删除")}<div class="${d$}">${r(!0)}</div></section></div></div>`;}// src/react/components/fieldset.tsx-var Vke = CU({+var Hke = CU({padding: "none",radius: "surface",className: "overflow-hidden"-}), Hke = "border-t border-border-button-default p-4 first:border-t-0";-function Uke({ id: e, children: t }) {+}), Uke = "border-t border-border-button-default p-4 first:border-t-0";+function Wke({ id: e, children: t }) {return /* @__PURE__ */ (0, I.jsx)("h2", {id: e,className: "text-title-2-medium! m-0! text-text-primary",children: t});}-function S$({ id: e, gap: t = "none", children: n }) {+function x$({ id: e, gap: t = "none", children: n }) {return /* @__PURE__ */ (0, I.jsx)("h3", {id: e,className: `text-title-2-medium text-text-primary ${t === "medium" ? "mb-3" : t === "small" ? "mb-2" : ""}`,children: n});}-function C$({ layout: e, label: t, labelledBy: n, id: r, footer: i, children: a, attributes: o }) {+function S$({ layout: e, label: t, labelledBy: n, id: r, footer: i, children: a, attributes: o }) {return /* @__PURE__ */ (0, I.jsxs)("section", {id: r,"aria-label": t,"aria-labelledby": n,...o,- className: d$(e),+ className: u$(e),children: [/* @__PURE__ */ (0, I.jsx)("div", {- className: l$[e],+ className: c$[e],children: a}), i ? /* @__PURE__ */ (0, I.jsx)("footer", {- className: u$[e],+ className: l$[e],children: i}) : null]});}// src/react/components/name-link.tsx-function w$({ className: e, ...t }) {+function C$({ className: e, ...t }) {return /* @__PURE__ */ (0, I.jsx)("a", {...t,className: q("text-body-2-medium underline-offset-4 hover:underline", e)});}// src/react/components/issue-row.tsx-function T$({ title: e, href: t, children: n }) {+function w$({ title: e, href: t, children: n }) {return /* @__PURE__ */ (0, I.jsxs)("li", {className: "flex min-w-0 flex-col gap-1 border-b border-current/15 py-2 pr-6 wrap-anywhere first:pt-0 last:border-b-0 last:pb-0",- children: [t ? /* @__PURE__ */ (0, I.jsx)(w$, {+ children: [t ? /* @__PURE__ */ (0, I.jsx)(C$, {href: t,children: e}) : /* @__PURE__ */ (0, I.jsx)("span", {@@ -69151,23 +69151,23 @@ function T$({ title: e, href: t, children: n }) {});}// src/react/components/status-label.tsx-var Wke = {+var Gke = {success: "lime",progress: "blue",warning: "yellow",error: "rose",neutral: "neutral"};-function E$({ tone: e = "neutral", ...t }) {+function T$({ tone: e = "neutral", ...t }) {return /* @__PURE__ */ (0, I.jsx)(KU, {"data-status-tone": e,variant: "caption",- color: Wke[e],+ color: Gke[e],...t});}// src/react/components/path-line.tsx-function Gke({ className: e }) {+function Kke({ className: e }) {return /* @__PURE__ */ (0, I.jsx)("svg", {"aria-hidden": !0,viewBox: "0 0 24 24",@@ -69180,8 +69180,8 @@ function Gke({ className: e }) {children: /* @__PURE__ */ (0, I.jsx)("use", { href: "#i-folder-open" })});}-var Kke = "打开文件管理器失败,请重试";-function D$({ path: e, prefix: t, className: n, action: r, onRevealed: i }) {+var qke = "打开文件管理器失败,请重试";+function E$({ path: e, prefix: t, className: n, action: r, onRevealed: i }) {let [a, o] = (0, F.useState)(!1), [s, c] = (0, F.useState)(""), l = (0, F.useRef)(!0);(0, F.useEffect)(() => () => {l.current = !1;@@ -69192,7 +69192,7 @@ function D$({ path: e, prefix: t, className: n, action: r, onRevealed: i }) {try {await V("/api/reveal", { path: e }), i?.("已在资源管理器中显示");} catch (e) {- l.current && c(e instanceof sr ? e.message : Kke);+ l.current && c(e instanceof sr ? e.message : qke);} finally {l.current && o(!1);}@@ -69207,8 +69207,8 @@ function D$({ path: e, prefix: t, className: n, action: r, onRevealed: i }) {children: [t, e]}), /* @__PURE__ */ (0, I.jsxs)("div", {className: "flex shrink-0 items-center gap-2",- children: [/* @__PURE__ */ (0, I.jsx)(sL, {- icon: Gke,+ children: [/* @__PURE__ */ (0, I.jsx)(oL, {+ icon: Kke,size: "small","aria-label": "在资源管理器中显示",onClick: () => void u(),@@ -69222,7 +69222,7 @@ function D$({ path: e, prefix: t, className: n, action: r, onRevealed: i }) {});}// src/react/library-processing/issue-export.ts-async function qke(e, t) {+async function Jke(e, t) {if (!e.job_id) throw Error("请先选择有问题记录的任务");let n = [], r = 1, i = "";for (let a = 0; a < r; a += 200) {@@ -69245,18 +69245,18 @@ async function qke(e, t) {rows: n}, null, 2);}-function Jke(e, t) {+function Yke(e, t) {let n = URL.createObjectURL(new Blob([t], { type: "application/json;charset=utf-8" })), r = document.createElement("a");r.href = n, r.download = `peach-issues-${e}.json`, r.click(), URL.revokeObjectURL(n);}// src/react/library-processing/library-processing-card.tsx-var Yke = "这一项耗时较长,暂时没有新进展。任务结束后可以重试未完成的部分。", Xke = (e) => {+var Xke = "这一项耗时较长,暂时没有新进展。任务结束后可以重试未完成的部分。", Zke = (e) => {let t = e.performer_aliases || 0, n = e.performer_avatars || 0, r = e.performer_profile_conflicts || 0, i = e.performer_profile_failed || 0;if (!t && !n && !r && !i) return "";let a = [`补齐女优资料:别名 ${t} 个,头像 ${n} 张`];return r && a.push(`${r} 项同名人物资料需要确认是否为同一人`), i && a.push(`${i} 张头像未取得`), `${a.join(",")}。`;-}, Zke = (e) => e.requested_stage === "previews" ? `已生成 ${e.previews || 0} 部视频预览。` : `已扫描 ${e.scanned || 0} 个文件,识别 ${e.identified || 0} 个番号,取得 ${e.candidates || 0} 组作品资料,自动保存 ${e.auto_applied || 0} 条。` + (e.previews ? `已生成 ${e.previews} 部视频预览。` : "") + Xke(e);-function Qke({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {+}, Qke = (e) => e.requested_stage === "previews" ? `已生成 ${e.previews || 0} 部视频预览。` : `已扫描 ${e.scanned || 0} 个文件,识别 ${e.identified || 0} 个番号,取得 ${e.candidates || 0} 组作品资料,自动保存 ${e.auto_applied || 0} 条。` + (e.previews ? `已生成 ${e.previews} 部视频预览。` : "") + Zke(e);+function $ke({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {let a = F_e(e), o = hH(), s = hH(), [c, l] = (0, F.useState)(""), u = tH(e), d = e.status === "failed" && !!e.retryable_asset_ids?.length, f = M_e(e.notes || {}), p = !!t || !e.archived && e.status === "failed", m = !t && !e.archived && nH(e), h = p || !e.archived && !u && (!!f || !!e.issue_count), g = !u && !!e.job_id && !e.archived, _ = e.issues_log || "", v = $V(e), y = BV(), b = (t) => void s.run(t ? "archive" : "unarchive", (n) => V(ZV, {action: t ? "archive" : "unarchive",job_id: e.job_id@@ -69266,8 +69266,8 @@ function Qke({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {variant: "secondary",size: "small",...hV(!!o.busy),- onClick: () => void o.run("export", (t) => qke(e, t), (t) => {- Jke(e.job_id, t), i("已导出问题清单");+ onClick: () => void o.run("export", (t) => Jke(e, t), (t) => {+ Yke(e.job_id, t), i("已导出问题清单");}),children: "导出完整问题清单"}) : null, S = p ? [@@ -69285,12 +69285,12 @@ function Qke({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {}) : e.status === "running" && e.stalled ? /* @__PURE__ */ (0, I.jsx)(uV, {tone: "warning",title: "处理较慢",- children: Yke+ children: Xke}) : null,n?.status === "complete" ? /* @__PURE__ */ (0, I.jsx)(uV, {tone: "success",title: "处理完成",- children: Zke(n)+ children: Qke(n)}) : null,(n ?? e).status === "cancelled" && !e.archived ? /* @__PURE__ */ (0, I.jsx)(uV, {tone: "neutral",@@ -69307,7 +69307,7 @@ function Qke({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {m ? /* @__PURE__ */ (0, I.jsx)(mH, {href: iH,size: "small",- trailingIcon: yB,+ trailingIcon: vB,children: "查看全部内容"}) : null,d ? /* @__PURE__ */ (0, I.jsx)(J, {@@ -69337,7 +69337,7 @@ function Qke({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {children: /* @__PURE__ */ (0, I.jsx)("ul", {ref: y,className: "max-h-96 overflow-y-auto",- children: a.items.map((e) => /* @__PURE__ */ (0, I.jsxs)(T$, {+ children: a.items.map((e) => /* @__PURE__ */ (0, I.jsxs)(w$, {title: e.label,href: e.href,children: [/* @__PURE__ */ (0, I.jsx)("span", {@@ -69353,7 +69353,7 @@ function Qke({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {})}) : null, _ ? /* @__PURE__ */ (0, I.jsx)("div", {className: "-mx-3 mt-3 border-t border-current/20 px-3 pt-3 text-text-secondary",- children: /* @__PURE__ */ (0, I.jsx)(D$, {+ children: /* @__PURE__ */ (0, I.jsx)(E$, {path: _,prefix: "完整记录:",className: "text-caption-1-regular",@@ -69384,7 +69384,7 @@ function Qke({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {]});}-function O$(e) {+function D$(e) {let { toast: t, onComplete: n } = e, { job: r, settled: i, forget: a } = EH(e), o = It({mutationFn: (e) => V(ZV, e),onSuccess: (e) => {@@ -69399,29 +69399,29 @@ function O$(e) {};return /* @__PURE__ */ (0, I.jsxs)("div", {className: "flex flex-col gap-4",- children: [/* @__PURE__ */ (0, I.jsx)(C$, {+ children: [/* @__PURE__ */ (0, I.jsx)(S$, {layout: "stack",label: "扫描与采集",footer: /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(mH, {href: "/sources",size: "small",- trailingIcon: yB,+ trailingIcon: vB,children: "来源和凭证"}),/* @__PURE__ */ (0, I.jsx)(mH, {href: "/settings/diagnostics",size: "small",- trailingIcon: yB,+ trailingIcon: vB,children: "诊断与日志"}),s.candidates ? /* @__PURE__ */ (0, I.jsx)(mH, {href: "/review",size: "small",- trailingIcon: yB,+ trailingIcon: vB,children: "复核资料"}) : null,- /* @__PURE__ */ (0, I.jsx)(FK, {+ /* @__PURE__ */ (0, I.jsx)(PK, {scan: !0,busy: o.isPending,occupied: tH(s),@@ -69439,7 +69439,7 @@ function O$(e) {className: "flex flex-wrap items-center justify-between gap-2",children: [/* @__PURE__ */ (0, I.jsxs)("div", {className: "flex flex-wrap items-center gap-2",- children: [/* @__PURE__ */ (0, I.jsx)(S$, { children: "扫描与采集" }), s.new_asset_count ? /* @__PURE__ */ (0, I.jsx)(KU, {+ children: [/* @__PURE__ */ (0, I.jsx)(x$, { children: "扫描与采集" }), s.new_asset_count ? /* @__PURE__ */ (0, I.jsx)(KU, {variant: "caption",color: "blue",children: /* @__PURE__ */ (0, I.jsxs)("span", {@@ -69456,11 +69456,11 @@ function O$(e) {}),/* @__PURE__ */ (0, I.jsx)("p", {className: "text-body-2-regular text-text-secondary",- children: g$+ children: h$}),s.status === "paused" && !s.total ? /* @__PURE__ */ (0, I.jsx)("span", {className: "self-start",- children: /* @__PURE__ */ (0, I.jsx)(E$, { children: "已暂停" })+ children: /* @__PURE__ */ (0, I.jsx)(T$, { children: "已暂停" })}) : tH(s) ? /* @__PURE__ */ (0, I.jsx)(K_e, { state: s }) : null,tH(s) ? /* @__PURE__ */ (0, I.jsx)("p", {className: "text-body-2-regular text-text-secondary tabular-nums",@@ -69471,7 +69471,7 @@ function O$(e) {tH(s) ? /* @__PURE__ */ (0, I.jsx)(TH, { state: s }) : null]})- }), /* @__PURE__ */ (0, I.jsx)(Qke, {+ }), /* @__PURE__ */ (0, I.jsx)($ke, {state: s,problem: u,settled: i,@@ -69486,32 +69486,32 @@ function O$(e) {});}// src/react/playlists/playlists.ts-var $ke = "/api/playlists", k$ = "/api/playlist", A$ = ["playlists"], j$ = (e) => B($ke, e);-async function eAe(e) {+var eAe = "/api/playlists", O$ = "/api/playlist", k$ = ["playlists"], A$ = (e) => B(eAe, e);+async function tAe(e) {await H.fetchQuery({- queryKey: A$,- queryFn: () => j$(e),+ queryKey: k$,+ queryFn: () => A$(e),staleTime: 0});}-var tAe = () => H.invalidateQueries({- queryKey: A$,+var nAe = () => H.invalidateQueries({+ queryKey: k$,exact: !0-}), nAe = (e) => e.current_asset_id || e.preview_asset_id || null, rAe = (e) => `/poster?id=${e}&c=4`, iAe = (e) => V(k$, {+}), rAe = (e) => e.current_asset_id || e.preview_asset_id || null, iAe = (e) => `/poster?id=${e}&c=4`, aAe = (e) => V(O$, {action: "create",name: e,asset_ids: []-}), aAe = (e, t) => V(k$, {+}), oAe = (e, t) => V(O$, {action: "rename",id: e,name: t-}), oAe = (e) => V(k$, {+}), sAe = (e) => V(O$, {action: "delete",id: e-}), sAe = (e) => B(`${k$}?id=${e}`).catch(() => null);-function cAe(e) {+}), cAe = (e) => B(`${O$}?id=${e}`).catch(() => null);+function lAe(e) {let t = (e.items || []).map((e) => e.id), n = e.source_seed_asset_id;- return V(k$, {+ return V(O$, {action: "create",name: e.name,asset_ids: t,@@ -69520,9 +69520,13 @@ function cAe(e) {});}// src/react/scraping/custom-source-data.ts-var M$ = "/api/custom-metadata", N$ = ["custom-metadata"], P$ = (e) => B(M$, e), lAe = "/api/scraping", uAe = "/api/scraping/settings", dAe = "/api/scraping/check", F$ = "/api/scraping/cover", fAe = "/api/scraping/amane-bridge", pAe = "/api/scraping/amane-bridge/check", mAe = "/api/scraping/amane-bridge/rebuild", I$ = ["scraping"], L$ = ["scraping", "cover"], R$ = ["scraping", "amane-bridge"], hAe = 262144, z$ = (e) => B(lAe, e), B$ = (e) => B(F$, e), V$ = (e) => B(fAe, e);-async function gAe(e) {+var j$ = "/api/custom-metadata", M$ = ["custom-metadata"], N$ = (e) => B(j$, e), uAe = "/api/scraping", dAe = "/api/scraping/settings", fAe = "/api/scraping/check", P$ = "/api/scraping/cover", pAe = "/api/scraping/amane-bridge", mAe = "/api/scraping/amane-bridge/check", hAe = "/api/scraping/amane-bridge/rebuild", F$ = ["scraping"], I$ = ["scraping", "cover"], L$ = ["scraping", "amane-bridge"], gAe = 262144, R$ = (e) => B(uAe, e), z$ = (e) => B(P$, e), B$ = (e) => B(pAe, e);+async function _Ae(e) {await Promise.all([+ H.fetchQuery({+ queryKey: F$,+ queryFn: () => R$(e)+ }),H.fetchQuery({queryKey: I$,queryFn: () => z$(e)@@ -69532,32 +69536,28 @@ async function gAe(e) {queryFn: () => B$(e)}),H.fetchQuery({- queryKey: R$,- queryFn: () => V$(e)- }),- H.fetchQuery({- queryKey: N$,- queryFn: () => P$(e)+ queryKey: M$,+ queryFn: () => N$(e)})]);}-function _Ae(e, t) {+function vAe(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}` : "");}-var H$ = /* @__PURE__ */ new Set([+var V$ = /* @__PURE__ */ new Set(["performer","creator","studio","agency","series"-]), U$ = /* @__PURE__ */ new Set([+]), H$ = /* @__PURE__ */ new Set(["asset","jav","post","photo","release"]);-function W$(e) {+function U$(e) {let t = e.pool ?? [], n = Math.min(e.size ?? e.items.length, t.length);if (t.length <= n) return e;let r = ((e.offset ?? 0) + n) % t.length;@@ -69567,15 +69567,15 @@ function W$(e) {items: Array.from({ length: n }, (e, n) => t[(r + n) % t.length])};}-var G$ = (e) => String(e ?? "").normalize("NFKC").trim().toLocaleLowerCase();-function vAe({ query: e, history: t, picks: n, suggestFor: r, groups: i, tabs: a, kind: o, recommendations: s = [] }) {+var W$ = (e) => String(e ?? "").normalize("NFKC").trim().toLocaleLowerCase();+function yAe({ query: e, history: t, picks: n, suggestFor: r, groups: i, tabs: a, kind: o, recommendations: s = [] }) {let c = 0, l = [], u = (e) => {let t = {...e,index: c++};return l.push(t), t;- }, d = t.filter((t) => !e || G$(t).includes(G$(e)));+ }, d = t.filter((t) => !e || W$(t).includes(W$(e)));if (!e) {if (s.length) {let e = ({ pending: e, pool: t, offset: n, size: r, ...i }) => ({@@ -69586,9 +69586,9 @@ function vAe({ query: e, history: t, picks: n, suggestFor: r, groups: i, tabs: akind: i.kind,item: e})),- pending: e ? U$.has(i.kind) ? 5 : 3 : void 0,+ pending: e ? H$.has(i.kind) ? 5 : 3 : void 0,shuffle: (t?.length ?? 0) > i.items.length || void 0- }), t = s.filter((e) => !U$.has(e.kind)).map(e);+ }), t = s.filter((e) => !H$.has(e.kind)).map(e);return d.length && t.push({label: "搜索记录",options: d.map((e) => u({@@ -69599,7 +69599,7 @@ function vAe({ query: e, history: t, picks: n, suggestFor: r, groups: i, tabs: atabs: null,recent: null,left: t,- right: s.filter((e) => U$.has(e.kind)).map(e),+ right: s.filter((e) => H$.has(e.kind)).map(e),empty: !1,options: l};@@ -69649,7 +69649,7 @@ function vAe({ query: e, history: t, picks: n, suggestFor: r, groups: i, tabs: aoptions: n,more: r};- }, g = m.filter((e) => !U$.has(e.kind)).map(h), _ = m.filter((e) => U$.has(e.kind)).map(h), v = f && !m.some((e) => e.items.length);+ }, g = m.filter((e) => !H$.has(e.kind)).map(h), _ = m.filter((e) => H$.has(e.kind)).map(h), v = f && !m.some((e) => e.items.length);return {tabs: f && a.length > 1 ? [...a] : null,recent: p,@@ -69659,16 +69659,16 @@ function vAe({ query: e, history: t, picks: n, suggestFor: r, groups: i, tabs: aoptions: l};}-function yAe(e, t, n = Math.random) {+function bAe(e, t, n = Math.random) {let r = [...e];for (let e = r.length - 1; e > 0; --e) {let t = Math.floor(n() * (e + 1));[r[e], r[t]] = [r[t], r[e]];}- return r.filter((e) => !t.some((t) => G$(t) === G$(e))).slice(0, 5);+ return r.filter((e) => !t.some((t) => W$(t) === W$(e))).slice(0, 5);}// src/react/search/search-page.tsx-var bAe = () => ({+var xAe = () => ({dismissed: !1,history: [],pool: [],@@ -69694,7 +69694,7 @@ var bAe = () => ({active: -1,reveal: !1,rewind: !1-}), K$ = (e) => vAe({+}), G$ = (e) => yAe({query: e.query,history: e.history,picks: e.picks,@@ -69703,27 +69703,27 @@ var bAe = () => ({tabs: e.tabs,kind: e.kind,recommendations: e.recommendations-}), xAe = (e) => !!(e.tabs || e.recent || e.left.length || e.right.length || e.empty), q$ = 4e3, SAe = 5e3, J$ = 1200;-function CAe(e) {+}), SAe = (e) => !!(e.tabs || e.recent || e.left.length || e.right.length || e.empty), K$ = 4e3, CAe = 5e3, q$ = 1200;+function wAe(e) {if (window.requestIdleCallback) {- let t = window.requestIdleCallback(e, { timeout: q$ });+ let t = window.requestIdleCallback(e, { timeout: K$ });return () => window.cancelIdleCallback(t);}- let t = window.setTimeout(e, q$);+ let t = window.setTimeout(e, K$);return () => window.clearTimeout(t);}-var Y$ = ({ name: e }) => /* @__PURE__ */ (0, I.jsx)("svg", {+var J$ = ({ name: e }) => /* @__PURE__ */ (0, I.jsx)("svg", {viewBox: "0 0 24 24","aria-hidden": "true",children: /* @__PURE__ */ (0, I.jsx)("use", { href: `#i-${e}` })});-function wAe(e) {+function TAe(e) {let t = (0, F.useRef)(e);t.current = e;let n = (0, F.useRef)(null);- n.current ??= bAe();+ n.current ??= xAe();let r = n.current, i = (0, F.useRef)(null), [, a] = (0, F.useReducer)((e) => e + 1, 0), o = (0, F.useRef)(null);- o.current ??= EAe(() => t.current, r, () => i.current?.closest("[data-search-menu]") ?? null, a);+ o.current ??= DAe(() => t.current, r, () => i.current?.closest("[data-search-menu]") ?? null, a);let s = o.current;(0, F.useLayoutEffect)(() => {let { input: e } = t.current, n = (e) => s.input(e), i = () => {@@ -69734,7 +69734,7 @@ function wAe(e) {e.addEventListener("input", n), e.addEventListener("compositionend", n), e.addEventListener("compositionstart", i), e.addEventListener("keydown", a), e.addEventListener("focus", o), e.addEventListener("click", c);let l = { close: s.close };t.current.expose(l), s.warm();- let u = window.setInterval(s.rotatePlaceholder, SAe);+ let u = window.setInterval(s.rotatePlaceholder, CAe);return () => {e.removeEventListener("input", n), e.removeEventListener("compositionend", n), e.removeEventListener("compositionstart", i), e.removeEventListener("keydown", a), e.removeEventListener("focus", o), e.removeEventListener("click", c), clearTimeout(r.timer), r.cancelIdle(), window.clearInterval(u), r.cancelRoll(), r.recommendationRequest++, t.current.expose(null);};@@ -69742,7 +69742,7 @@ function wAe(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 = K$(r), l = e.historyLimit, u = (t) => /* @__PURE__ */ (0, I.jsx)(OAe, {+ let c = G$(r), l = e.historyLimit, u = (t) => /* @__PURE__ */ (0, I.jsx)(kAe, {entry: t,active: t.index === r.active,helpers: e.helpers,@@ -69751,7 +69751,7 @@ function wAe(e) {onRemove: s.remove}, `${t.type}:${t.value}:${t.index}`), d = (e) => e.href ? /* @__PURE__ */ (0, I.jsx)("a", {href: e.href,- onMouseDown: Q$,+ onMouseDown: Z$,onClick: (t) => {t.ctrlKey || t.metaKey || t.shiftKey || t.altKey || (t.preventDefault(), s.openPath(e.href));},@@ -69768,15 +69768,15 @@ function wAe(e) {"aria-label": `${e.label}换一批`,title: "换一批","aria-busy": f(e.kind) || void 0,- onMouseDown: Q$,+ onMouseDown: Z$,onClick: () => s.reshuffle(e.kind),- children: /* @__PURE__ */ (0, I.jsx)(Y$, { name: "shuffle" })+ children: /* @__PURE__ */ (0, I.jsx)(J$, { name: "shuffle" })}), d(e)]}) : d(e)] }),e.pending ? /* @__PURE__ */ (0, I.jsx)("div", {"data-search-items": "","aria-busy": "true",- children: TAe(e)+ children: EAe(e)}) : e.kind ? /* @__PURE__ */ (0, I.jsx)("div", {"data-search-items": "",children: e.options.map(u)@@ -69790,7 +69790,7 @@ function wAe(e) {"data-search-recommendations": !r.query && r.recommendations.length ? "" : void 0,"data-history-limit": l,children: [- c.tabs ? /* @__PURE__ */ (0, I.jsx)(DAe, {+ c.tabs ? /* @__PURE__ */ (0, I.jsx)(OAe, {tabs: c.tabs,kind: r.kind,onPick: s.pickKind,@@ -69816,7 +69816,7 @@ function wAe(e) {]});}-function X$(e, t) {+function Y$(e, t) {let n = e.flatMap((e) => e.items.flatMap((e) => [e.card ? t.coverHtml(e.card) : "",e.avatarHtml || "",@@ -69828,9 +69828,9 @@ function X$(e, t) {t && (new Image().src = t);}}-var Z$ = "\xA0";-function TAe(e) {- let t = U$.has(e.kind ?? "");+var X$ = "\xA0";+function EAe(e) {+ let t = H$.has(e.kind ?? "");return Array.from({ length: e.pending ?? 0 }, (e, n) => t ? /* @__PURE__ */ (0, I.jsxs)("div", {"data-search-option": "work","data-search-placeholder": "",@@ -69842,10 +69842,10 @@ function TAe(e) {"data-search-meta": "",children: [/* @__PURE__ */ (0, I.jsx)("span", {"data-search-name": "",- children: Z$+ children: X$}), /* @__PURE__ */ (0, I.jsx)("span", {"data-search-sub": "",- children: Z$+ children: X$})]})]}, n) : /* @__PURE__ */ (0, I.jsxs)("div", {@@ -69856,15 +69856,15 @@ function TAe(e) {"data-search-meta": "",children: [/* @__PURE__ */ (0, I.jsx)("span", {"data-search-name": "",- children: Z$+ children: X$}), /* @__PURE__ */ (0, I.jsx)("span", {"data-search-sub": "",- children: Z$+ children: X$})]})]}, n));}-function EAe(e, t, n, r) {+function DAe(e, t, n, r) {let i = () => e().input, a = () => document.activeElement === i(), o = () => t.history.slice(0, e().historyLimit), s = (n) => {t.history = n.slice(0, e().historyLimit);}, c = async () => {@@ -69875,7 +69875,7 @@ function EAe(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) => G$(e) !== G$(t))]), V("/api/search-history", { query: t }).catch(() => null));+ t && e().historyLimit && (s([t, ...o().filter((e) => W$(e) !== W$(t))]), V("/api/search-history", { query: t }).catch(() => null));}, u = (n) => {let r = i();r.dataset.suggestion = n, t.cancelRoll();@@ -69900,7 +69900,7 @@ function EAe(e, t, n, r) {t.recommendationLoading = !0;let r = t.recommendationRequest;n.recommendations().then(({ groups: n, words: o }) => {- r === t.recommendationRequest && (t.words = o, !i().dataset.suggestion && !a() && o.length && u(o[Math.floor(Math.random() * o.length)]), t.recommendationsFilling ? (t.recommendations = n, t.recommendationsFilling = !1, X$(n.map(W$), e().helpers), a() && !i().value.trim() && x()) : (t.nextRecommendations = n, X$(n, e().helpers)));+ r === t.recommendationRequest && (t.words = o, !i().dataset.suggestion && !a() && o.length && u(o[Math.floor(Math.random() * o.length)]), t.recommendationsFilling ? (t.recommendations = n, t.recommendationsFilling = !1, Y$(n.map(U$), e().helpers), a() && !i().value.trim() && x()) : (t.nextRecommendations = n, Y$(n, e().helpers)));}, () => {r === t.recommendationRequest && t.recommendationsFilling && (t.recommendations = [], t.recommendationsFilling = !1, a() && !i().value.trim() && x());}).finally(() => {@@ -69908,18 +69908,18 @@ function EAe(e, t, n, r) {});}, m = () => {let n = e().helpers;- n.recommendations && (t.nextRecommendations && (t.recommendations = t.nextRecommendations, t.nextRecommendations = null, X$(t.recommendations.map(W$), n)), !t.recommendations.length && (t.recommendations = n.pendingRecommendations?.() ?? [], t.recommendationsFilling = !0, p()));+ n.recommendations && (t.nextRecommendations && (t.recommendations = t.nextRecommendations, t.nextRecommendations = null, Y$(t.recommendations.map(U$), n)), !t.recommendations.length && (t.recommendations = n.pendingRecommendations?.() ?? [], t.recommendationsFilling = !0, p()));}, h = () => {- t.cancelIdle(), t.cancelIdle = CAe(() => {+ t.cancelIdle(), t.cancelIdle = wAe(() => {t.nextRecommendations || p();});}, g = h, _ = (n) => {- t.recommendations = t.recommendations.map((e) => e.kind === n ? W$(e) : e), t.shuffled = {+ t.recommendations = t.recommendations.map((e) => e.kind === n ? U$(e) : e), t.shuffled = {...t.shuffled,- [n]: Date.now() + J$- }, window.setTimeout(r, J$);+ [n]: Date.now() + q$+ }, window.setTimeout(r, q$);let i = t.recommendations.find((e) => e.kind === n);- i && X$([W$(i)], e().helpers), r();+ i && Y$([U$(i)], e().helpers), r();}, v = async (e, n = "") => {let r = ++t.suggestRequest;n || (t.asked = e);@@ -69946,9 +69946,9 @@ function EAe(e, t, n, r) {i && e().helpers.dismiss(i), t.active = -1, h(), r();}, x = () => {if (t.dismissed) return;- t.query = i().value.trim(), t.picks = t.query ? [] : yAe(t.pool, o()), t.active = -1;+ t.query = i().value.trim(), t.picks = t.query ? [] : bAe(t.pool, o()), t.active = -1;let a = n();- a && (xAe(K$(t)) ? e().helpers.present(a) : e().helpers.dismiss(a)), r();+ a && (SAe(G$(t)) ? e().helpers.present(a) : e().helpers.dismiss(a)), r();}, S = () => {t.active = -1, t.kind = "", clearTimeout(t.timer);let e = i().value.trim();@@ -69960,7 +69960,7 @@ function EAe(e, t, n, r) {n && e !== t.kind && (t.kind = e, clearTimeout(t.timer), x(), t.rewind = !0, v(n, e).then(() => {a() && t.kind === e && x();}));- }, w = () => y() ? K$(t).options : [], T = (e) => {+ }, w = () => y() ? G$(t).options : [], T = (e) => {let n = w();return n.length ? (t.active = (t.active + e + n.length) % n.length, t.reveal = !0, r(), !0) : !1;}, E = (t, n) => {@@ -69969,7 +69969,7 @@ function EAe(e, t, n, r) {}, D = (t, n) => {i().blur(), l(n), e().actions.openEntity(t, n);}, O = (t) => {- t.type === "suggest" && t.item.followMedia && t.item.id && e().actions.openFollow ? (i().blur(), e().actions.openFollow(t.item.id, t.item.followMedia, t.item.mediaIndex ?? null)) : t.type === "suggest" && t.item.href ? k(t.item.href) : t.type === "more" ? (E(!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" && H$.has(t.kind) ? D(t.kind, t.value) : (i().value = t.value, E(!1, !0));+ t.type === "suggest" && t.item.followMedia && t.item.id && e().actions.openFollow ? (i().blur(), e().actions.openFollow(t.item.id, t.item.followMedia, t.item.mediaIndex ?? null)) : t.type === "suggest" && t.item.href ? k(t.item.href) : t.type === "more" ? (E(!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" && V$.has(t.kind) ? D(t.kind, t.value) : (i().value = t.value, E(!1, !0));}, k = (t) => {b(), i().blur(), e().actions.openPath?.(t);};@@ -70015,7 +70015,7 @@ function EAe(e, t, n, r) {await V("/api/search-history", {operation: "remove",query: e- }).catch(() => null), s(o().filter((t) => G$(t) !== G$(e))), t.active = -1, r();+ }).catch(() => null), s(o().filter((t) => W$(t) !== W$(e))), t.active = -1, r();},pickKind: C,openPath: k,@@ -70025,7 +70025,7 @@ function EAe(e, t, n, r) {rotatePlaceholder: d};}-function DAe({ tabs: e, kind: t, onPick: n, wire: r }) {+function OAe({ tabs: e, kind: t, onPick: n, wire: r }) {let i = (0, F.useRef)(null);(0, F.useLayoutEffect)(() => {r(i.current);@@ -70041,7 +70041,7 @@ function DAe({ tabs: e, kind: t, onPick: n, wire: r }) {onClick: () => n(e),children: [r, i ? /* @__PURE__ */ (0, I.jsx)(gW, { value: i }) : null]}, e || "all");- return /* @__PURE__ */ (0, I.jsxs)(II, {+ return /* @__PURE__ */ (0, I.jsxs)(FI, {ref: i,"data-search-tabs": "","data-pill-nav": "",@@ -70050,9 +70050,9 @@ function DAe({ tabs: e, kind: t, onPick: n, wire: r }) {children: [a("", "全部"), e.map((e) => a(e.kind, e.label, e.total))]});}-var Q$ = (e) => e.preventDefault();-function OAe({ entry: e, active: t, helpers: n, onPick: r, onPeek: i, onRemove: a }) {- iL();+var Z$ = (e) => e.preventDefault();+function kAe({ entry: e, active: t, helpers: n, onPick: r, onPeek: i, onRemove: a }) {+ rL();let o = {"data-search-value": e.value,"data-active": t ? "" : void 0,@@ -70064,33 +70064,33 @@ function OAe({ entry: e, active: t, helpers: n, onPick: r, onPeek: i, onRemove:type: "button","data-search-option": "more",...o,- onMouseDown: Q$,+ onMouseDown: Z$,children: ["查看全部 ",e.total.toLocaleString()," 个视频",- /* @__PURE__ */ (0, I.jsx)(Y$, { name: "chevron-right" })+ /* @__PURE__ */ (0, I.jsx)(J$, { name: "chevron-right" })]});if (e.type !== "suggest") return /* @__PURE__ */ (0, I.jsxs)("div", {"data-search-option": "",...o,children: [- /* @__PURE__ */ (0, I.jsx)(Y$, { name: e.type === "history" ? "history" : "sparkles" }),+ /* @__PURE__ */ (0, I.jsx)(J$, { name: e.type === "history" ? "history" : "sparkles" }),/* @__PURE__ */ (0, I.jsx)("span", { children: e.value }),e.type === "history" ? /* @__PURE__ */ (0, I.jsx)("button", {type: "button","data-remove-history": e.value,"aria-label": `删除历史 ${e.value}`,- onMouseDown: Q$,+ onMouseDown: Z$,onClick: (t) => {t.stopPropagation(), a(e.value);},- children: /* @__PURE__ */ (0, I.jsx)(Y$, { name: "x" })+ children: /* @__PURE__ */ (0, I.jsx)(J$, { name: "x" })}) : null]});- let { item: s, kind: c } = e, l = H$.has(c) ? c : void 0;+ let { item: s, kind: c } = e, l = V$.has(c) ? c : void 0;if (["asset","jav",@@ -70104,8 +70104,8 @@ function OAe({ entry: e, active: t, helpers: n, onPick: r, onPeek: i, onRemove:"data-search-option": "work","data-open-item": c === "asset" ? s.id : void 0,...o,- onMouseDown: Q$,- children: [/* @__PURE__ */ (0, I.jsx)($$, {+ onMouseDown: Z$,+ children: [/* @__PURE__ */ (0, I.jsx)(Q$, {card: s.card,helpers: n}), /* @__PURE__ */ (0, I.jsxs)("span", {@@ -70134,9 +70134,9 @@ function OAe({ entry: e, active: t, helpers: n, onPick: r, onPeek: i, onRemove:"data-search-option": "person","data-open-entity": l,...o,- onMouseDown: Q$,+ onMouseDown: Z$,children: [- /* @__PURE__ */ (0, I.jsx)(e1, {+ /* @__PURE__ */ (0, I.jsx)($$, {item: s,kind: c}),@@ -70159,11 +70159,11 @@ function OAe({ 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: Q$,+ onMouseDown: Z$,onClick: (t) => {t.stopPropagation(), i(e);},- children: /* @__PURE__ */ (0, I.jsx)($$, {+ children: /* @__PURE__ */ (0, I.jsx)(Q$, {card: e,helpers: n})@@ -70177,7 +70177,7 @@ function OAe({ entry: e, active: t, helpers: n, onPick: r, onPeek: i, onRemove:"data-open-entity": l,...o,children: [- c === "studio" || c === "agency" ? /* @__PURE__ */ (0, I.jsx)(e1, {+ c === "studio" || c === "agency" ? /* @__PURE__ */ (0, I.jsx)($$, {item: s,kind: c}) : null,@@ -70190,13 +70190,13 @@ function OAe({ entry: e, active: t, helpers: n, onPick: r, onPeek: i, onRemove:]});}-function $$({ card: e, helpers: t }) {+function Q$({ card: e, helpers: t }) {return /* @__PURE__ */ (0, I.jsx)("span", {"data-search-pic": "",dangerouslySetInnerHTML: { __html: t.coverHtml(e) }});}-function e1({ item: e, kind: t }) {+function $$({ item: e, kind: t }) {if (e.avatarHtml) return /* @__PURE__ */ (0, I.jsx)("span", {"data-search-face": "",dangerouslySetInnerHTML: { __html: e.avatarHtml }@@ -70215,24 +70215,24 @@ function e1({ item: e, kind: t }) {});}// src/react/settings/configuration.ts-var t1 = ["configuration"], n1 = (e) => B(qY, e);-async function kAe(e) {+var e1 = ["configuration"], t1 = (e) => B(KY, e);+async function AAe(e) {await H.fetchQuery({- queryKey: t1,- queryFn: () => n1(e)+ queryKey: e1,+ queryFn: () => t1(e)});}// src/react/settings-panel/legacy-controls.tsx-var r1 = (e) => e.map(([e, t, n]) => n ? [+var n1 = (e) => e.map(([e, t, n]) => n ? [e,t,n] : [e, t]);-function i1({ id: e, name: t, legend: n, options: r, value: i, attr: a, variant: o, text: s = !1, epoch: c, onChoose: l }) {+function r1({ id: e, name: t, legend: n, options: r, value: i, attr: a, variant: o, text: s = !1, epoch: c, onChoose: l }) {let u = (0, F.useRef)(null), d = (0, F.useRef)(null), f = (0, F.useRef)(l);return f.current = l, (0, F.useLayoutEffect)(() => {let e = u.current;- e && (d.current && d.current.value === i && d.current.epoch === c || (e.innerHTML = $c(t, n, r1(r), i, {+ e && (d.current && d.current.value === i && d.current.epoch === c || (e.innerHTML = $c(t, n, n1(r), i, {attr: a,className: o,text: s@@ -70250,13 +70250,13 @@ function i1({ id: e, name: t, legend: n, options: r, value: i, attr: a, variant:ref: u});}-function a1({ id: e, label: t, options: n, value: r, disabled: i = !1, busy: a = !1, hidden: o, describedBy: s, epoch: c, onPick: l, decorate: u }) {+function i1({ id: e, label: t, options: n, value: r, disabled: i = !1, busy: a = !1, hidden: o, describedBy: s, epoch: c, onPick: l, decorate: u }) {let d = (0, F.useRef)(null), f = (0, F.useRef)(null), p = (0, F.useRef)(-1), m = (0, F.useRef)(l);return m.current = l, (0, F.useLayoutEffect)(() => {let e = d.current;if (!e) return;if (p.current !== c || !f.current) {- e.innerHTML = ms(r1(n), r, { label: t });+ e.innerHTML = ms(n1(n), r, { label: t });let i = hs(e.firstElementChild);i.addEventListener("change", () => m.current(i.value)), f.current = i, p.current = c;}@@ -70269,7 +70269,7 @@ function a1({ id: e, label: t, options: n, value: r, disabled: i = !1, busy: a ="aria-describedby": s});}-function AAe({ field: e, label: t, max: n, value: r, hidden: i, onStep: a, onSettle: o }) {+function jAe({ field: e, label: t, max: n, value: r, hidden: i, onStep: a, onSettle: o }) {let s = (0, F.useRef)(null), c = (0, F.useRef)(null), l = (0, F.useRef)({onStep: a,onSettle: o@@ -70303,7 +70303,7 @@ function AAe({ field: e, label: t, max: n, value: r, hidden: i, onStep: a, onSet});}// src/react/settings-panel/glow-settings.tsx-var jAe = [+var MAe = [["strength","强度",@@ -70330,8 +70330,8 @@ var jAe = [100]];-function MAe({ host: e, spot: t, index: n, glow: r }) {- let i = sle[n], a = (0, F.useRef)(null), o = (0, F.useRef)(null), s = (0, F.useRef)(null), c = BV(), [l, u] = (0, F.useState)("all");+function NAe({ host: e, spot: t, index: n, glow: r }) {+ let i = cle[n], a = (0, F.useRef)(null), o = (0, F.useRef)(null), s = (0, F.useRef)(null), c = BV(), [l, u] = (0, F.useState)("all");(0, F.useLayoutEffect)(() => {let [e, t, n] = [a.current,@@ -70344,7 +70344,7 @@ function MAe({ host: e, spot: t, index: n, glow: r }) {}, []);let d = r[t].color, f = (n) => {let r = e.store.value.homeGlow;- r[t].color = Xj(n, r[t].color), r.preset = "custom", e.store.save(), e.changed("glow"), os(), o.current?.focus();+ r[t].color = Yj(n, r[t].color), r.preset = "custom", e.store.save(), e.changed("glow"), os(), o.current?.focus();};return /* @__PURE__ */ (0, I.jsxs)("div", {"data-glow-stop": t,@@ -70369,7 +70369,7 @@ function MAe({ host: e, spot: t, index: n, glow: r }) {children: d})]}),- /* @__PURE__ */ (0, I.jsx)(HF, { name: "chevron-down" })+ /* @__PURE__ */ (0, I.jsx)(VF, { name: "chevron-down" })]}), /* @__PURE__ */ (0, I.jsxs)("div", {className: "popmenu",@@ -70381,7 +70381,7 @@ function MAe({ host: e, spot: t, index: n, glow: r }) {"data-glow-pills": "",role: "group","aria-label": "色系",- children: ule.map(([e, t]) => /* @__PURE__ */ (0, I.jsx)("button", {+ children: dle.map(([e, t]) => /* @__PURE__ */ (0, I.jsx)("button", {type: "button","data-glow-pill": e,"aria-pressed": e === l,@@ -70395,7 +70395,7 @@ function MAe({ host: e, spot: t, index: n, glow: r }) {"data-glow-palette": "",role: "radiogroup","aria-label": `${i}颜色`,- children: dle.map(([e, t, n]) => /* @__PURE__ */ (0, I.jsx)("button", {+ children: fle.map(([e, t, n]) => /* @__PURE__ */ (0, I.jsx)("button", {type: "button",role: "radio","aria-checked": n === d,@@ -70412,8 +70412,8 @@ function MAe({ host: e, spot: t, index: n, glow: r }) {})]});}-function NAe({ host: e }) {- let t = e.store.value.homeGlow, n = Uj(t.preset);+function PAe({ host: e }) {+ let t = e.store.value.homeGlow, n = Hj(t.preset);return /* @__PURE__ */ (0, I.jsxs)("section", {"data-glow-setting": "",id: "homeGlowControls",@@ -70432,10 +70432,10 @@ function NAe({ host: e }) {"data-glow-current": "",children: ["当前配色", /* @__PURE__ */ (0, I.jsx)("b", {"data-glow-preset-name": "",- children: cle(t.preset)+ children: lle(t.preset)})]}),- /* @__PURE__ */ (0, I.jsx)(BM, {+ /* @__PURE__ */ (0, I.jsx)(zM, {store: e.store,label: "光晕配色"}),@@ -70446,7 +70446,7 @@ function NAe({ host: e }) {}),/* @__PURE__ */ (0, I.jsx)("div", {"data-glow-fields": "",- children: jAe.map(([r, i, a]) => /* @__PURE__ */ (0, I.jsx)(AAe, {+ children: MAe.map(([r, i, a]) => /* @__PURE__ */ (0, I.jsx)(jAe, {field: r,label: i,max: a,@@ -70467,7 +70467,7 @@ function NAe({ host: e }) {className: "geist-button","data-glow-reset": "",onClick: () => {- e.store.value.homeGlow = Qj(null), e.store.save(), e.changed("glow");+ e.store.value.homeGlow = Zj(null), e.store.save(), e.changed("glow");},children: "恢复默认"})@@ -70486,7 +70486,7 @@ function NAe({ host: e }) {"data-glow-colour-card": "",children: /* @__PURE__ */ (0, I.jsx)("div", {"data-glow-stops": "",- children: Bj.map((n, r) => /* @__PURE__ */ (0, I.jsx)(MAe, {+ children: zj.map((n, r) => /* @__PURE__ */ (0, I.jsx)(NAe, {host: e,spot: n,index: r,@@ -70498,7 +70498,7 @@ function NAe({ host: e }) {});}// src/react/settings-panel/number-setting.tsx-var PAe = {+var FAe = {batchSizeSetting: {min: 1,max: 200,@@ -70545,22 +70545,22 @@ var PAe = {optional: !0,fallback: 60}-}, o1 = (e) => `peach.number.${e}`;-function s1(e, t) {+}, a1 = (e) => `peach.number.${e}`;+function o1(e, t) {if (t !== "分钟" || !Number.isInteger(e) || e < 1440) return "";let n = e / 1440;return Number.isInteger(n) ? `${n.toLocaleString()} 天` : `约 ${n.toFixed(1)} 天`;}-function c1({ id: e, label: t, value: n, disabled: r = !1, onApply: i }) {- let a = PAe[e], { min: o, max: s, unit: c, fallback: l } = a, u = a.optional === !0, d = (0, F.useRef)(0);- d.current ||= kj(Number(localStorage.getItem(o1(e))), o, s, n && n > 0 ? n : l);+function s1({ id: e, label: t, value: n, disabled: r = !1, onApply: i }) {+ let a = FAe[e], { min: o, max: s, unit: c, fallback: l } = a, u = a.optional === !0, d = (0, F.useRef)(0);+ d.current ||= Oj(Number(localStorage.getItem(a1(e))), o, s, n && n > 0 ? n : l);let [f, p] = (0, F.useState)(n ?? 0), [m, h] = (0, F.useState)(String(n && n > 0 ? n : d.current)), [g, _] = (0, F.useState)(""), v = (0, F.useRef)(null), y = (0, F.useRef)(i);y.current = i, (0, F.useLayoutEffect)(() => {n !== null && (p(n), n > 0 && h(String(n)));}, [n]);let b = () => {let t = v.current;- t && (!t.value || !t.checkValidity() ? (t.setAttribute("aria-invalid", "true"), _(`请输入 ${o}–${s} 的整数(${c})`)) : (t.removeAttribute("aria-invalid"), _(""), d.current = Number(t.value), localStorage.setItem(o1(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(a1(e), String(d.current)), y.current(d.current)));}, x = (0, F.useRef)(b);x.current = b, (0, F.useEffect)(() => {let e = v.current;@@ -70570,7 +70570,7 @@ function c1({ id: e, label: t, value: n, disabled: r = !1, onApply: i }) {}, []);let S = f > 0, C = () => {let t = v.current;- t?.removeAttribute("aria-invalid"), _(""), S ? (t && t.value && t.checkValidity() && (d.current = Number(t.value)), localStorage.setItem(o1(e), String(d.current)), p(0), y.current(0)) : (p(d.current), h(String(d.current)), y.current(d.current));+ t?.removeAttribute("aria-invalid"), _(""), S ? (t && t.value && t.checkValidity() && (d.current = Number(t.value)), localStorage.setItem(a1(e), String(d.current)), p(0), y.current(0)) : (p(d.current), h(String(d.current)), y.current(d.current));}, w = r || n === null;return /* @__PURE__ */ (0, I.jsxs)("div", {"data-number-setting": "",@@ -70607,7 +70607,7 @@ function c1({ id: e, label: t, value: n, disabled: r = !1, onApply: i }) {}}), /* @__PURE__ */ (0, I.jsxs)("span", {"aria-hidden": "true",- children: [c, s1(Number(m), c) ? ` · ${s1(Number(m), c)}` : ""]+ children: [c, o1(Number(m), c) ? ` · ${o1(Number(m), c)}` : ""]})]}), /* @__PURE__ */ (0, I.jsx)("small", {id: `${e}-error`,@@ -70620,13 +70620,13 @@ function c1({ id: e, label: t, value: n, disabled: r = !1, onApply: i }) {});}// src/react/sidebar/sidebar-order.ts-function l1(e) {- let { mutate: t } = aX();+function c1(e) {+ let { mutate: t } = iX();return (0, F.useCallback)((n) => {e.value.sidebarOrder = n, e.save(), t({ sidebarOrder: n }, { onError: () => {} });}, [e, t]);}-function u1(e, t, n, r) {+function l1(e, t, n, r) {if (t === n) return null;let i = [...e], a = i.indexOf(t);if (a < 0) return null;@@ -70635,17 +70635,17 @@ function u1(e, t, n, r) {return o < 0 ? null : (i.splice(o + +!!r, 0, t), i);}// src/react/settings-panel/sidebar-order.tsx-var FAe = "__home__", d1 = (e) => e === "" ? FAe : e;-function IAe({ host: e }) {- let t = l1(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, F.useState)(null), [c, l] = (0, F.useState)(!1), [u, d] = (0, F.useState)(null), [f, p] = (0, F.useState)(null), m = (0, F.useRef)(null), h = (0, F.useRef)(null), g = (e, r, i) => {- let a = u1(n, e, r, i);+var IAe = "__home__", u1 = (e) => e === "" ? IAe : e;+function LAe({ host: e }) {+ let t = c1(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, F.useState)(null), [c, l] = (0, F.useState)(!1), [u, d] = (0, F.useState)(null), [f, p] = (0, F.useState)(null), m = (0, F.useRef)(null), h = (0, F.useRef)(null), g = (e, r, i) => {+ let a = l1(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]) => d1(e) === o) ?? a[0], y = () => {+ }, v = a.find(([e]) => u1(e) === o) ?? a[0], y = () => {h.current && ls(h.current), l(!1);}, b = () => {let e = h.current;@@ -70666,7 +70666,7 @@ function IAe({ host: e }) {}, C = (e) => ({draggable: !0,onDragStart: (t) => {- d(e), t.dataTransfer.effectAllowed = "move", t.dataTransfer.setData("text/plain", d1(e));+ d(e), t.dataTransfer.effectAllowed = "move", t.dataTransfer.setData("text/plain", u1(e));},onDragOver: (t) => {if (u === null || u === e) return;@@ -70698,9 +70698,9 @@ function IAe({ host: e }) {/* @__PURE__ */ (0, I.jsx)("i", {"data-sidebar-grip": "","aria-hidden": "true",- children: /* @__PURE__ */ (0, I.jsx)(HF, { name: "grip-vertical" })+ children: /* @__PURE__ */ (0, I.jsx)(VF, { name: "grip-vertical" })}),- /* @__PURE__ */ (0, I.jsx)(HF, { name: a ?? "" }),+ /* @__PURE__ */ (0, I.jsx)(VF, { name: a ?? "" }),/* @__PURE__ */ (0, I.jsx)("b", { children: r })]}), /* @__PURE__ */ (0, I.jsxs)("span", {@@ -70714,7 +70714,7 @@ function IAe({ host: e }) {title: "上移",disabled: o === 0,onClick: () => _(e, -1),- children: /* @__PURE__ */ (0, I.jsx)(HF, { name: "chevron-up" })+ children: /* @__PURE__ */ (0, I.jsx)(VF, { name: "chevron-up" })}),/* @__PURE__ */ (0, I.jsx)("button", {type: "button",@@ -70724,7 +70724,7 @@ function IAe({ host: e }) {title: "下移",disabled: o === i.length - 1,onClick: () => _(e, 1),- children: /* @__PURE__ */ (0, I.jsx)(HF, { name: "chevron-down" })+ children: /* @__PURE__ */ (0, I.jsx)(VF, { name: "chevron-down" })}),/* @__PURE__ */ (0, I.jsx)("button", {type: "button",@@ -70736,11 +70736,11 @@ function IAe({ host: e }) {onClick: () => {n.length > 1 && t(n.filter((t) => t !== e));},- children: /* @__PURE__ */ (0, I.jsx)(HF, { name: "eye-off" })+ children: /* @__PURE__ */ (0, I.jsx)(VF, { name: "eye-off" })})]})]- }, d1(e))), /* @__PURE__ */ (0, I.jsxs)("div", {+ }, u1(e))), /* @__PURE__ */ (0, I.jsxs)("div", {"data-sidebar-add-row": "",children: [/* @__PURE__ */ (0, I.jsxs)("div", {"data-sidebar-add-picker": "",@@ -70756,13 +70756,13 @@ function IAe({ host: e }) {ref: m,onClick: b,children: v ? /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [- /* @__PURE__ */ (0, I.jsx)(HF, { name: v[2] ?? "" }),+ /* @__PURE__ */ (0, I.jsx)(VF, { name: v[2] ?? "" }),/* @__PURE__ */ (0, I.jsx)("span", {"data-sidebar-add-label": "",children: v[1]}),- /* @__PURE__ */ (0, I.jsx)(HF, { name: "chevron-down" })- ] }) : /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(HF, { name: "check" }), /* @__PURE__ */ (0, I.jsx)("span", { children: "全部页面都已显示" })] })+ /* @__PURE__ */ (0, I.jsx)(VF, { name: "chevron-down" })+ ] }) : /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(VF, { name: "check" }), /* @__PURE__ */ (0, I.jsx)("span", { children: "全部页面都已显示" })] })}), a.length ? /* @__PURE__ */ (0, I.jsx)("div", {className: "popmenu","data-sidebar-add-menu": "",@@ -70773,15 +70773,15 @@ function IAe({ host: e }) {children: a.map(([e, t, n]) => /* @__PURE__ */ (0, I.jsxs)("button", {type: "button",role: "option",- "data-sidebar-add-option": d1(e),+ "data-sidebar-add-option": u1(e),"aria-selected": v?.[0] === e,tabIndex: v?.[0] === e ? 0 : -1,onKeyDown: x,onClick: () => {- s(d1(e)), y(), m.current?.focus();+ s(u1(e)), y(), m.current?.focus();},- children: [/* @__PURE__ */ (0, I.jsx)(HF, { name: n ?? "" }), /* @__PURE__ */ (0, I.jsx)("span", { children: t })]- }, d1(e)))+ children: [/* @__PURE__ */ (0, I.jsx)(VF, { name: n ?? "" }), /* @__PURE__ */ (0, I.jsx)("span", { children: t })]+ }, u1(e)))}) : null]}), /* @__PURE__ */ (0, I.jsx)("button", {type: "button",@@ -70797,13 +70797,13 @@ function IAe({ host: e }) {});}// src/react/settings-panel/settings-panel.tsx-var f1 = [+var d1 = [["外观与导航", "ri-palette-line"],["浏览与播放", "ri-play-circle-line"],["JAV 与新作", "jav"],["搜索与推荐", "ri-search-line"],["内容显示", "ri-shield-check-line"]-], LAe = [+], RAe = [["seed", "随机"],["rating", "评分"],["o", "高潮计数"],@@ -70812,7 +70812,7 @@ var f1 = [["size", "体积"],["new", "入库时间"],["played", "观看时间"]-], RAe = [["desc", "降序"], ["asc", "升序"]], zAe = [[+], zAe = [["desc", "降序"], ["asc", "升序"]], BAe = [["cover","官方封面",""@@ -70820,7 +70820,7 @@ var f1 = ["thumbnail","预览图",""-]], BAe = [+]], VAe = [["feedHideGroupSetting","feedHideGroupCompilations",@@ -70839,88 +70839,88 @@ var f1 = ["切片","隐藏切片"]-], VAe = "button:not([disabled]),input:not([disabled]),textarea:not([disabled]),a[href]", p1 = null, m1 = {+], HAe = "button:not([disabled]),input:not([disabled]),textarea:not([disabled]),a[href]", f1 = null, p1 = {open: !1,closing: !1,epoch: 0,tab: 0,configurable: null-}, h1 = 0, g1 = null, _1 = /* @__PURE__ */ new Set();-function HAe(e) {- return _1.add(e), () => {- _1.delete(e);+}, m1 = 0, h1 = null, g1 = /* @__PURE__ */ new Set();+function UAe(e) {+ return g1.add(e), () => {+ g1.delete(e);};}-function UAe() {- for (let e of [..._1]) e();+function WAe() {+ for (let e of [...g1]) e();}-function v1(e) {- m1 = {- ...m1,+function _1(e) {+ p1 = {+ ...p1,...e- }, (0, Rt.flushSync)(UAe);+ }, (0, Rt.flushSync)(WAe);}-async function WAe(e) {- let t = m1.epoch, n = await e.configurable();- m1.open && m1.epoch === t && v1({ configurable: n });+async function GAe(e) {+ let t = p1.epoch, n = await e.configurable();+ p1.open && p1.epoch === t && _1({ configurable: n });}-function GAe(e = "") {- let t = p1;+function KAe(e = "") {+ let t = f1;if (!t) return;- let n = f1.findIndex(([t]) => t === e);- if (m1.open && !m1.closing) {- n >= 0 && n !== m1.tab && v1({ tab: n });+ let n = d1.findIndex(([t]) => t === e);+ if (p1.open && !p1.closing) {+ n >= 0 && n !== p1.tab && _1({ tab: n });return;}- os(), h1 += 1, g1 ||= document.activeElement, t.sound("whoosh"), document.documentElement.style.overflow = "hidden", document.body.classList.add("settings-open");- let r = DTe();- v1({+ os(), m1 += 1, h1 ||= document.activeElement, t.sound("whoosh"), document.documentElement.style.overflow = "hidden", document.body.classList.add("settings-open");+ let r = OTe();+ _1({open: !0,closing: !1,configurable: null,- epoch: m1.epoch + 1,- tab: n >= 0 ? n : m1.tab+ epoch: p1.epoch + 1,+ tab: n >= 0 ? n : p1.tab}), r.then((e) => {e && t.syncRemote(e);- }), WAe(t), queueMicrotask(() => document.getElementById("settingsClose")?.focus());+ }), GAe(t), queueMicrotask(() => document.getElementById("settingsClose")?.focus());}-function y1(e = !0) {- if (!m1.open || m1.closing) return;- let t = ++h1;- e && p1?.closed?.(), v1({ closing: !0 });+function v1(e = !0) {+ if (!p1.open || p1.closing) return;+ let t = ++m1;+ e && f1?.closed?.(), _1({ closing: !0 });let n = () => {- t === h1 && m1.closing && (v1({+ t === m1 && p1.closing && (_1({open: !1,closing: !1- }), document.documentElement.style.overflow = "", document.body.classList.remove("settings-open"), g1 instanceof HTMLElement && document.contains(g1) && g1.focus(), g1 = null);+ }), document.documentElement.style.overflow = "", document.body.classList.remove("settings-open"), h1 instanceof HTMLElement && document.contains(h1) && h1.focus(), h1 = null);};matchMedia("(prefers-reduced-motion: reduce)").matches ? queueMicrotask(n) : (document.querySelector("#settingsPanel > [data-settings-card]")?.addEventListener("animationend", n, { once: !0 }), setTimeout(n, 380));}-var KAe = {- open: GAe,- close: y1,- isOpen: () => m1.open,+var qAe = {+ open: KAe,+ close: v1,+ isOpen: () => p1.open,reveal: (e) => queueMicrotask(() => document.querySelector(e)?.scrollIntoView({ block: "nearest" }))};-function qAe(e) {- return p1 = e, KAe;+function JAe(e) {+ return f1 = e, qAe;}-function JAe() {- let e = (0, F.useSyncExternalStore)(HAe, () => m1);- return p1 ? /* @__PURE__ */ (0, I.jsx)(ZAe, {- host: p1,+function YAe() {+ let e = (0, F.useSyncExternalStore)(UAe, () => p1);+ return f1 ? /* @__PURE__ */ (0, I.jsx)(QAe, {+ host: f1,view: e}) : null;}-function YAe(e) {+function XAe(e) {if (e.key !== "Tab") return;- let t = [...e.currentTarget.querySelectorAll(VAe)].filter((e) => e.getClientRects().length > 0);+ let t = [...e.currentTarget.querySelectorAll(HAe)].filter((e) => e.getClientRects().length > 0);if (!t.length) return;let n = t[0], r = t[t.length - 1];e.shiftKey && document.activeElement === n ? (e.preventDefault(), r.focus()) : !e.shiftKey && document.activeElement === r && (e.preventDefault(), n.focus());}-var b1 = (e) => `settings-tab-${e}`, x1 = (e) => `settings-group-${e}`;-function XAe({ tab: e, epoch: t, configurable: n, openConfiguration: r, onSelect: i }) {+var y1 = (e) => `settings-tab-${e}`, b1 = (e) => `settings-group-${e}`;+function ZAe({ tab: e, epoch: t, configurable: n, openConfiguration: r, onSelect: i }) {let a = (0, F.useRef)(null), o = (0, F.useRef)(null), s = (0, F.useRef)(null), c = (0, F.useRef)(e), l = (0, F.useRef)([]), u = (e, t) => {let n = o.current;if (!n) return;@@ -70948,7 +70948,7 @@ function XAe({ 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 = f1.length, r = t;+ let n = d1.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;@@ -70977,11 +70977,11 @@ function XAe({ tab: e, epoch: t, configurable: n, openConfiguration: r, onSelectrole: "presentation",children: "设置"}),- f1.map(([t, n], r) => /* @__PURE__ */ (0, I.jsxs)("button", {+ d1.map(([t, n], r) => /* @__PURE__ */ (0, I.jsxs)("button", {type: "button",role: "tab",- id: b1(r),- "aria-controls": x1(r),+ id: y1(r),+ "aria-controls": b1(r),"aria-selected": r === e,tabIndex: r === e ? 0 : -1,ref: (e) => {@@ -70992,7 +70992,7 @@ function XAe({ tab: e, epoch: t, configurable: n, openConfiguration: r, onSelectonPointerEnter: (e) => {e.pointerType !== "touch" && u(e.currentTarget, !0);},- children: [n === "jav" ? /* @__PURE__ */ (0, I.jsx)(HF, { name: n }) : /* @__PURE__ */ (0, I.jsx)(Vde, { name: n }), t]+ children: [n === "jav" ? /* @__PURE__ */ (0, I.jsx)(VF, { name: n }) : /* @__PURE__ */ (0, I.jsx)(Hde, { name: n }), t]}, t)),/* @__PURE__ */ (0, I.jsx)("div", {"data-settings-service": "",@@ -71003,25 +71003,25 @@ function XAe({ tab: e, epoch: t, configurable: n, openConfiguration: r, onSelectonClick: r,title: n === !1 ? "请在运行 Peach 的设备上打开 Peach 配置" : void 0,children: [- /* @__PURE__ */ (0, I.jsx)(HF, { name: "folder-cog" }),+ /* @__PURE__ */ (0, I.jsx)(VF, { name: "folder-cog" }),"Peach 配置",- /* @__PURE__ */ (0, I.jsx)(HF, { name: "chevron-right" })+ /* @__PURE__ */ (0, I.jsx)(VF, { name: "chevron-right" })]})})]});}-function S1({ index: e, tab: t, children: n, cards: r = !1 }) {+function x1({ index: e, tab: t, children: n, cards: r = !1 }) {return /* @__PURE__ */ (0, I.jsxs)("section", {"data-setting-group": "","data-setting-layout": r ? "cards" : void 0,- id: x1(e),+ id: b1(e),role: "tabpanel",- "aria-labelledby": b1(e),+ "aria-labelledby": y1(e),hidden: e !== t,children: [- /* @__PURE__ */ (0, I.jsx)("h3", { children: f1[e][0] }),+ /* @__PURE__ */ (0, I.jsx)("h3", { children: d1[e][0] }),/* @__PURE__ */ (0, I.jsx)(Uve, { chapter: ["appearance","playback",@@ -71033,7 +71033,7 @@ function S1({ index: e, tab: t, children: n, cards: r = !1 }) {]});}-function C1({ id: e, title: t, description: n, describedBy: r = `${e.replace(/Setting$/, "")}Description`, checked: i, onToggle: a }) {+function S1({ id: e, title: t, description: n, describedBy: r = `${e.replace(/Setting$/, "")}Description`, checked: i, onToggle: a }) {return /* @__PURE__ */ (0, I.jsxs)("label", {"data-setting-row": "",children: [/* @__PURE__ */ (0, I.jsxs)("span", { children: [/* @__PURE__ */ (0, I.jsx)("b", { children: t }), n ? /* @__PURE__ */ (0, I.jsx)("small", {@@ -71050,7 +71050,7 @@ function C1({ id: e, title: t, description: n, describedBy: r = `${e.replace(/Se})]});}-function w1({ title: e, description: t, kind: n, children: r }) {+function C1({ title: e, description: t, kind: n, children: r }) {return /* @__PURE__ */ (0, I.jsxs)("div", {"data-setting-row": "","data-setting-sort": n === "sort" ? "" : void 0,@@ -71058,7 +71058,7 @@ function w1({ title: e, description: t, kind: n, children: r }) {children: [/* @__PURE__ */ (0, I.jsxs)("span", { children: [/* @__PURE__ */ (0, I.jsx)("b", { children: e }), typeof t == "string" ? /* @__PURE__ */ (0, I.jsx)("small", { children: t }) : t] }), r]});}-function ZAe({ host: e, view: t }) {+function QAe({ host: e, view: t }) {(0, F.useSyncExternalStore)(e.store.subscribe, e.store.version);let n = e.store.value, r = (0, F.useRef)(null), i = (0, F.useRef)(null), a = (0, F.useRef)(null), o = (0, F.useRef)(null), s = (0, F.useRef)(null), c = (0, F.useRef)(t.tab), l = () => {let [e, t] = [i.current, o.current];@@ -71079,7 +71079,7 @@ function ZAe({ host: e, view: t }) {s.current?.();});let d = t.epoch, f = (t) => {- t !== m1.tab && (v1({ tab: t }), e.selectSection?.(f1[t][0]));+ t !== p1.tab && (_1({ tab: t }), e.selectSection?.(d1[t][0]));}, p = () => e.store.save();return /* @__PURE__ */ (0, I.jsx)("section", {"data-settings-panel": "",@@ -71090,9 +71090,9 @@ function ZAe({ host: e, view: t }) {"aria-labelledby": "settingsTitle","data-closing": t.closing ? "" : void 0,ref: r,- onKeyDown: YAe,+ onKeyDown: XAe,onClick: (e) => {- e.target === e.currentTarget && y1();+ e.target === e.currentTarget && v1();},children: /* @__PURE__ */ (0, I.jsxs)("div", {"data-settings-card": "",@@ -71103,27 +71103,27 @@ function ZAe({ host: e, view: t }) {ref: a,children: [/* @__PURE__ */ (0, I.jsx)("h2", {id: "settingsTitle",- children: f1[t.tab][0]+ children: d1[t.tab][0]}), /* @__PURE__ */ (0, I.jsx)(mV, {id: "settingsClose",label: "关闭设置",- onPress: () => y1()+ onPress: () => v1()})]}),- /* @__PURE__ */ (0, I.jsx)(XAe, {+ /* @__PURE__ */ (0, I.jsx)(ZAe, {tab: t.tab,epoch: d,configurable: t.configurable,onSelect: f,openConfiguration: () => {- y1(!1), e.openConfiguration();+ v1(!1), e.openConfiguration();}}),/* @__PURE__ */ (0, I.jsxs)("div", {"data-settings-scroll": "",ref: o,children: [- /* @__PURE__ */ (0, I.jsxs)(S1, {+ /* @__PURE__ */ (0, I.jsxs)(x1, {index: 0,tab: t.tab,cards: !0,@@ -71131,9 +71131,9 @@ function ZAe({ host: e, view: t }) {/* @__PURE__ */ (0, I.jsxs)("div", {"data-setting-card": "",children: [- /* @__PURE__ */ (0, I.jsx)(w1, {+ /* @__PURE__ */ (0, I.jsx)(C1, {title: "主题",- children: /* @__PURE__ */ (0, I.jsx)(i1, {+ children: /* @__PURE__ */ (0, I.jsx)(r1, {id: "themeSetting",name: "theme",legend: "主题",@@ -71161,7 +71161,7 @@ function ZAe({ host: e, view: t }) {onChange: (t) => e.setHighContrast(t.target.checked)})]}),- /* @__PURE__ */ (0, I.jsx)(C1, {+ /* @__PURE__ */ (0, I.jsx)(S1, {id: "uiSoundsSetting",title: "界面音效",checked: n.uiSounds,@@ -71169,7 +71169,7 @@ function ZAe({ host: e, view: t }) {n.uiSounds = t, p(), e.changed("uiSounds");}}),- /* @__PURE__ */ (0, I.jsx)(C1, {+ /* @__PURE__ */ (0, I.jsx)(S1, {id: "homeGlowSetting",title: "侧栏光晕",checked: n.homeGlow.on,@@ -71179,7 +71179,7 @@ function ZAe({ host: e, view: t }) {})]}),- /* @__PURE__ */ (0, I.jsx)(NAe, { host: e }),+ /* @__PURE__ */ (0, I.jsx)(PAe, { host: e }),/* @__PURE__ */ (0, I.jsxs)("section", {"data-setting-block": "","aria-labelledby": "sidebarOrderTitle",@@ -71191,35 +71191,35 @@ function ZAe({ host: e, view: t }) {"data-setting-card": "",children: /* @__PURE__ */ (0, I.jsx)("section", {"data-sidebar-setting": "",- children: /* @__PURE__ */ (0, I.jsx)(IAe, { host: e })+ children: /* @__PURE__ */ (0, I.jsx)(LAe, { host: e })})})]})]}),- /* @__PURE__ */ (0, I.jsx)($Ae, {+ /* @__PURE__ */ (0, I.jsx)(eje, {host: e,tab: t.tab,epoch: d}),- /* @__PURE__ */ (0, I.jsx)(eje, {+ /* @__PURE__ */ (0, I.jsx)(tje, {host: e,tab: t.tab,epoch: d}),- /* @__PURE__ */ (0, I.jsxs)(S1, {+ /* @__PURE__ */ (0, I.jsxs)(x1, {index: 3,tab: t.tab,children: [- /* @__PURE__ */ (0, I.jsx)(ije, {+ /* @__PURE__ */ (0, I.jsx)(aje, {host: e,epoch: d}),- /* @__PURE__ */ (0, I.jsx)(w1, {+ /* @__PURE__ */ (0, I.jsx)(C1, {title: "相关推荐数量",children: /* @__PURE__ */ (0, I.jsx)("div", {id: "relatedLimitSetting",- children: /* @__PURE__ */ (0, I.jsx)(c1, {+ children: /* @__PURE__ */ (0, I.jsx)(s1, {id: "relatedLimitSetting",label: "相关推荐数量",value: n.relatedLimit,@@ -71229,29 +71229,29 @@ function ZAe({ host: e, view: t }) {}, d)})}),- /* @__PURE__ */ (0, I.jsx)(w1, {+ /* @__PURE__ */ (0, I.jsx)(C1, {title: "口味与记录",children: /* @__PURE__ */ (0, I.jsx)("div", {className: "peach-react",- children: /* @__PURE__ */ (0, I.jsx)(yL, {+ children: /* @__PURE__ */ (0, I.jsx)(vL, {variant: "secondary",href: "/taste",- onClick: () => y1(!1),+ onClick: () => v1(!1),children: "打开口味与记录"})})})]}),- /* @__PURE__ */ (0, I.jsx)(S1, {+ /* @__PURE__ */ (0, I.jsx)(x1, {index: 4,tab: t.tab,- children: /* @__PURE__ */ (0, I.jsx)(C1, {+ children: /* @__PURE__ */ (0, I.jsx)(S1, {id: "censorSetting",title: "SFW 模式",describedBy: "sfwDescription",checked: e.censored(),- description: "隐藏敏感画面,停止悬停预览。",+ description: "隐藏敏感画面,停止悬停预览。不在输入时按 Shift+S 随时开关。",onToggle: (t) => e.setCensored(t)})})@@ -71261,7 +71261,7 @@ function ZAe({ host: e, view: t }) {})});}-function QAe(e, t) {+function $Ae(e, t) {let n = e.querySelector("[data-select-label]");if (!n) return;n.querySelector("[data-icon-swap]") || (n.innerHTML = Ks("arrow-up", "arrow-down", "a", {@@ -71271,9 +71271,9 @@ function QAe(e, t) {let r = n.querySelector("[data-sort-direction-label]");r && (r.textContent = t ? "升序" : "降序");}-function $Ae({ host: e, tab: t, epoch: n }) {+function eje({ 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, I.jsxs)(S1, {+ return /* @__PURE__ */ (0, I.jsxs)(x1, {index: 1,tab: t,children: [@@ -71281,11 +71281,11 @@ function $Ae({ host: e, tab: t, epoch: n }) {"data-settings-subheading": "",children: "作品列表"}),- /* @__PURE__ */ (0, I.jsx)(w1, {+ /* @__PURE__ */ (0, I.jsx)(C1, {title: "每批加载作品",children: /* @__PURE__ */ (0, I.jsx)("div", {id: "batchSizeSetting",- children: /* @__PURE__ */ (0, I.jsx)(c1, {+ children: /* @__PURE__ */ (0, I.jsx)(s1, {id: "batchSizeSetting",label: "每批作品",value: r.batchSize,@@ -71295,24 +71295,24 @@ function $Ae({ host: e, tab: t, epoch: n }) {}, n)})}),- /* @__PURE__ */ (0, I.jsx)(w1, {+ /* @__PURE__ */ (0, I.jsx)(C1, {title: "默认排序",kind: "sort",children: /* @__PURE__ */ (0, I.jsxs)("div", {"data-setting-sort-controls": "",- children: [/* @__PURE__ */ (0, I.jsx)(a1, {+ children: [/* @__PURE__ */ (0, I.jsx)(i1, {id: "defaultSortSetting",label: "默认排序",- options: LAe,+ options: RAe,value: r.defaultSort,epoch: n,onPick: (t) => {r.defaultSort = t, i(), e.changed("defaultSort");}- }), /* @__PURE__ */ (0, I.jsx)(a1, {+ }), /* @__PURE__ */ (0, I.jsx)(i1, {id: "defaultSortDirectionSetting",label: "默认排序方向",- options: RAe,+ options: zAe,value: o ? "asc" : "desc",hidden: a,disabled: a,@@ -71320,13 +71320,13 @@ function $Ae({ host: e, tab: t, epoch: n }) {onPick: (t) => {r.defaultSortDirection = t, i(), e.changed("sortDirection");},- decorate: (e) => QAe(e, o)+ decorate: (e) => $Ae(e, o)})]})}),- /* @__PURE__ */ (0, I.jsx)(w1, {+ /* @__PURE__ */ (0, I.jsx)(C1, {title: "视频卡片大小",- children: /* @__PURE__ */ (0, I.jsx)(i1, {+ children: /* @__PURE__ */ (0, I.jsx)(r1, {id: "javSizeSetting",name: "video-size",legend: "视频卡片大小",@@ -71352,16 +71352,16 @@ function $Ae({ host: e, tab: t, epoch: n }) {}})]}),- /* @__PURE__ */ (0, I.jsx)(w1, {+ /* @__PURE__ */ (0, I.jsx)(C1, {title: "悬停预览延迟",children: /* @__PURE__ */ (0, I.jsx)("div", {id: "hoverDelaySetting",- children: /* @__PURE__ */ (0, I.jsx)(c1, {+ children: /* @__PURE__ */ (0, I.jsx)(s1, {id: "hoverDelaySetting",label: "悬停预览延迟",value: r.hoverDelaySeconds,onApply: (t) => {- r.hoverDelaySeconds = kj(t, 0, 60, 5), i(), e.changed("hoverDelay");+ r.hoverDelaySeconds = Oj(t, 0, 60, 5), i(), e.changed("hoverDelay");}}, n)})@@ -71370,16 +71370,16 @@ function $Ae({ host: e, tab: t, epoch: n }) {"data-settings-subheading": "",children: "播放"}),- /* @__PURE__ */ (0, I.jsx)(rje, {+ /* @__PURE__ */ (0, I.jsx)(ije, {host: e,epoch: n})]});}-function eje({ host: e, tab: t, epoch: n }) {+function tje({ host: e, tab: t, epoch: n }) {let r = e.store.value, i = () => e.store.save();- return /* @__PURE__ */ (0, I.jsxs)(S1, {+ return /* @__PURE__ */ (0, I.jsxs)(x1, {index: 2,tab: t,children: [@@ -71387,17 +71387,17 @@ function eje({ host: e, tab: t, epoch: n }) {"data-settings-subheading": "",children: "作品显示"}),- /* @__PURE__ */ (0, I.jsx)(tje, {+ /* @__PURE__ */ (0, I.jsx)(nje, {host: e,epoch: n}),- /* @__PURE__ */ (0, I.jsx)(w1, {+ /* @__PURE__ */ (0, I.jsx)(C1, {title: "默认图片",- children: /* @__PURE__ */ (0, I.jsx)(i1, {+ children: /* @__PURE__ */ (0, I.jsx)(r1, {id: "javImageSetting",name: "jav-image",legend: "默认图片",- options: zAe,+ options: BAe,value: r.javImage,attr: "data-jav-image-choice",variant: "javimageswitch",@@ -71412,21 +71412,21 @@ function eje({ host: e, tab: t, epoch: n }) {"data-settings-subheading": "",children: "新作显示"}),- /* @__PURE__ */ (0, I.jsx)(w1, {+ /* @__PURE__ */ (0, I.jsx)(C1, {title: "显示数量",children: /* @__PURE__ */ (0, I.jsx)("div", {id: "feedLimitSetting",- children: /* @__PURE__ */ (0, I.jsx)(c1, {+ children: /* @__PURE__ */ (0, I.jsx)(s1, {id: "feedLimitSetting",label: "新作显示数量",value: r.feedLimit,onApply: (t) => {- r.feedLimit = kj(t, 1, 100, 12), i(), e.changed("feedLimit");+ r.feedLimit = Oj(t, 1, 100, 12), i(), e.changed("feedLimit");}}, n)})}),- /* @__PURE__ */ (0, I.jsx)(C1, {+ /* @__PURE__ */ (0, I.jsx)(S1, {id: "feedAutoScrollSetting",title: "自动滚动",checked: r.feedAutoScroll,@@ -71434,7 +71434,7 @@ function eje({ host: e, tab: t, epoch: n }) {r.feedAutoScroll = t, i(), e.changed("feedAutoScroll");}}),- BAe.map(([t, n, r, i]) => /* @__PURE__ */ (0, I.jsx)(nje, {+ VAe.map(([t, n, r, i]) => /* @__PURE__ */ (0, I.jsx)(rje, {host: e,id: t,settingKey: n,@@ -71444,19 +71444,19 @@ function eje({ host: e, tab: t, epoch: n }) {]});}-function tje({ host: e, epoch: t }) {+function nje({ host: e, epoch: t }) {let n = Ft({- queryKey: $Y,- queryFn: ({ signal: e }) => iX(e),+ queryKey: QY,+ queryFn: ({ signal: e }) => rX(e),staleTime: 0- }), r = aX(), [i, a] = (0, F.useState)(null), o = n.data?.performerNameLanguage;- return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(w1, {+ }), r = iX(), [i, a] = (0, F.useState)(null), o = n.data?.performerNameLanguage;+ return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(C1, {title: "女优名称",description: /* @__PURE__ */ (0, I.jsx)("small", {"data-copy-key": "performer-name-language-help",children: "名称与别名只显示所选语言的写法;缺少对应时保留当前名称。偏好保存在数据库,其他设备读取同一份设置。"}),- children: /* @__PURE__ */ (0, I.jsx)(a1, {+ children: /* @__PURE__ */ (0, I.jsx)(i1, {id: "performerNameLanguageSetting",label: "女优名称",epoch: t,@@ -71479,8 +71479,8 @@ function tje({ host: e, epoch: t }) {children: "未取得数据库中的名称偏好,请重新打开设置。"}) : null] });}-function nje({ host: e, id: t, settingKey: n, label: r, title: i }) {- let a = aX(), [o, s] = (0, F.useState)(null), c = (0, F.useRef)(null), l = e.store.value, u = (t) => {+function rje({ host: e, id: t, settingKey: n, label: r, title: i }) {+ let a = iX(), [o, s] = (0, F.useState)(null), c = (0, F.useRef)(null), l = e.store.value, u = (t) => {s(t), Xc(c.current), a.mutate({ [n]: t }, {onSuccess: (i) => {l[n] = i[n] === !0, e.store.save(), e.changed("feedCompilations"), e.receipt(t ? `新作已收起${r}` : `新作已列出${r}`);@@ -71504,10 +71504,10 @@ function nje({ host: e, id: t, settingKey: n, label: r, title: i }) {})]});}-function rje({ host: e, epoch: t }) {+function ije({ host: e, epoch: t }) {let n = e.store.value, r = () => e.store.save();return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [- /* @__PURE__ */ (0, I.jsx)(C1, {+ /* @__PURE__ */ (0, I.jsx)(S1, {id: "detailAutoplaySetting",title: "打开详情自动播放",checked: n.detailAutoplay,@@ -71515,7 +71515,7 @@ function rje({ host: e, epoch: t }) {n.detailAutoplay = e, r();}}),- /* @__PURE__ */ (0, I.jsx)(C1, {+ /* @__PURE__ */ (0, I.jsx)(S1, {id: "miniplayerSetting",title: "离开详情后小窗播放",checked: n.miniplayer,@@ -71523,11 +71523,11 @@ function rje({ host: e, epoch: t }) {n.miniplayer = t, r(), e.changed("miniplayer");}}),- /* @__PURE__ */ (0, I.jsx)(w1, {+ /* @__PURE__ */ (0, I.jsx)(C1, {title: "快进 / 快退步长",children: /* @__PURE__ */ (0, I.jsx)("div", {id: "seekSecondsSetting",- children: /* @__PURE__ */ (0, I.jsx)(c1, {+ children: /* @__PURE__ */ (0, I.jsx)(s1, {id: "seekSecondsSetting",label: "快进 / 快退",value: n.seekSeconds,@@ -71539,25 +71539,25 @@ function rje({ host: e, epoch: t }) {})] });}-function ije({ host: e, epoch: t }) {- let n = e.store.value, r = aX();- return /* @__PURE__ */ (0, I.jsx)(w1, {+function aje({ host: e, epoch: t }) {+ let n = e.store.value, r = iX();+ return /* @__PURE__ */ (0, I.jsx)(C1, {title: "搜索记录数量",children: /* @__PURE__ */ (0, I.jsx)("div", {id: "searchHistoryLimitSetting",- children: /* @__PURE__ */ (0, I.jsx)(c1, {+ children: /* @__PURE__ */ (0, I.jsx)(s1, {id: "searchHistoryLimitSetting",label: "搜索记录",value: n.searchHistoryLimit,onApply: (t) => {- n.searchHistoryLimit = kj(t, 0, 50, 10), e.store.save(), e.changed("searchHistoryLimit"), r.mutate({ searchHistoryLimit: n.searchHistoryLimit }, { onError: () => {} });+ n.searchHistoryLimit = Oj(t, 0, 50, 10), e.store.save(), e.changed("searchHistoryLimit"), r.mutate({ searchHistoryLimit: n.searchHistoryLimit }, { onError: () => {} });}}, t)})});}// src/react/sidebar/use-sidebar-reorder.ts-function aje(e, t, n, r) {+function oje(e, t, n, r) {let [i, a] = (0, F.useState)(null), [o, s] = (0, F.useState)(""), c = (0, F.useRef)(null), l = (0, F.useRef)(null), u = (0, F.useRef)(!1), d = (0, F.useRef)({order: t,commit: n,@@ -71592,7 +71592,7 @@ function aje(e, t, n, r) {let m = (t) => {let n = c.current;if (!n || (c.current = null, !n.started)) return;- let r = d.current.picked, i = n.keys.filter((e) => e !== n.key), o = t ? r.slot : null, l = o === null || o === r.origin ? null : u1(d.current.order, n.key, i[Math.min(o, i.length - 1)], o === i.length);+ let r = d.current.picked, i = n.keys.filter((e) => e !== n.key), o = t ? r.slot : null, l = o === null || o === r.origin ? null : l1(d.current.order, n.key, i[Math.min(o, i.length - 1)], o === i.length);p(), e.current.style.minHeight = n.minHeight, document.body.style.cursor = n.cursor, n.node.style.removeProperty("--sidebar-drag-x"), n.node.style.removeProperty("--sidebar-drag-y"), u.current = !0, (0, Rt.flushSync)(() => {a(null), l && d.current.commit(l), s(l ? `${n.node.ariaLabel},已移动到第 ${o + 1} 项` : t && o === r.origin ? "顺序未变" : "已取消排序");}), d.current.settled();@@ -71654,7 +71654,7 @@ function aje(e, t, n, r) {e.preventDefault();let a = f().map((e) => e.dataset.nav), o = a.indexOf(i), c = e.key === "ArrowDown", l = a[o + (c ? 1 : -1)];if (l === void 0) return;- let u = u1(t, i, l, c);+ let u = l1(t, i, l, c);u && (p(), (0, Rt.flushSync)(() => n(u)), s(`${e.currentTarget.ariaLabel},已移动到第 ${o + (c ? 2 : 0)} 项`), r());}, v = i ? f().filter((e) => e.dataset.nav !== i.key) : [], y = !!i && i.slot !== null && i.slot !== i.origin;return {@@ -71693,68 +71693,68 @@ function aje(e, t, n, r) {};}// src/react/sidebar/sidebar-island.tsx-var T1 = "__home__", oje = {+var w1 = "__home__", sje = {creator: 26,tag: 30,tech: 16-}, E1 = 180, D1 = null, O1 = {+}, T1 = 180, E1 = null, D1 = {props: {content: null,filters: {},latest: null},epoch: 0-}, k1 = /* @__PURE__ */ new Set();-function sje(e) {- return k1.add(e), () => {- k1.delete(e);+}, O1 = /* @__PURE__ */ new Set();+function cje(e) {+ return O1.add(e), () => {+ O1.delete(e);};}-function A1() {- for (let e of [...k1]) e();+function k1() {+ for (let e of [...O1]) e();}-var cje = {+var lje = {render(e) {- O1 = {- ...O1,+ D1 = {+ ...D1,props: e- }, (0, Rt.flushSync)(A1);+ }, (0, Rt.flushSync)(k1);},navChanged() {- O1 = {- ...O1,- epoch: O1.epoch + 1- }, (0, Rt.flushSync)(A1);+ D1 = {+ ...D1,+ epoch: D1.epoch + 1+ }, (0, Rt.flushSync)(k1);}};-function lje(e) {- return D1 = e, O1 = {- ...O1,+function uje(e) {+ return E1 = e, D1 = {+ ...D1,props: {content: null,filters: {},latest: null}- }, cje;+ }, lje;}-function uje() {- let e = (0, F.useSyncExternalStore)(sje, () => O1);- return D1 ? /* @__PURE__ */ (0, I.jsx)(dje, {- host: D1,+function dje() {+ let e = (0, F.useSyncExternalStore)(cje, () => D1);+ return E1 ? /* @__PURE__ */ (0, I.jsx)(fje, {+ host: E1,props: e.props,epoch: e.epoch}) : null;}-function dje({ host: e, props: t, epoch: n }) {+function fje({ host: e, props: t, epoch: n }) {let r = (0, F.useSyncExternalStore)(e.store.subscribe, e.store.version);return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)("div", { "data-sidebar-head": "" }),- /* @__PURE__ */ (0, I.jsx)(fje, {+ /* @__PURE__ */ (0, I.jsx)(pje, {host: e,epoch: n,version: r}),- t.content ? /* @__PURE__ */ (0, I.jsx)(mje, {+ t.content ? /* @__PURE__ */ (0, I.jsx)(hje, {host: e,content: t.content,filters: t.filters,@@ -71762,8 +71762,8 @@ function dje({ host: e, props: t, epoch: n }) {}) : null] });}-function fje({ host: e, epoch: t, version: n }) {- let r = l1(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, F.useRef)(null), l = (0, F.useRef)(null), u = _L(l, c, "[data-nav][aria-pressed=\"true\"]", `${t}:${n}:${o.map(([e], t) => s[t] ? e || T1 : "").join(",")}`, { axis: "y" }), { sync: d } = u;+function pje({ host: e, epoch: t, version: n }) {+ let r = c1(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, F.useRef)(null), l = (0, F.useRef)(null), u = gL(l, c, "[data-nav][aria-pressed=\"true\"]", `${t}:${n}:${o.map(([e], t) => s[t] ? e || w1 : "").join(",")}`, { axis: "y" }), { sync: d } = u;(0, F.useEffect)(() => {let t = e.scroll, n = t.parentElement, r = t.querySelector(":scope > [data-sidebar-head]"), i = new ResizeObserver(() => d());[@@ -71782,7 +71782,7 @@ function fje({ host: e, epoch: t, version: n }) {i.disconnect(), cancelAnimationFrame(a), document.removeEventListener("board:sidebar", o);};}, [e, d]);- let f = aje(c, i, r, () => requestAnimationFrame(d)), p = e.scroll.parentElement;+ let f = oje(c, i, r, () => requestAnimationFrame(d)), p = e.scroll.parentElement;return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsxs)("div", {"data-sidebar-nav": "",ref: c,@@ -71818,8 +71818,8 @@ function fje({ host: e, epoch: t, version: n }) {alt: "",decoding: "async",draggable: !1- }) : /* @__PURE__ */ (0, I.jsx)(HF, { name: r }), /* @__PURE__ */ (0, I.jsx)("span", { children: n })]- }, t || T1);+ }) : /* @__PURE__ */ (0, I.jsx)(VF, { name: r }), /* @__PURE__ */ (0, I.jsx)("span", { children: n })]+ }, t || w1);}),f.hint ? /* @__PURE__ */ (0, I.jsx)("span", {"data-sidebar-drop-line": "",@@ -71840,8 +71840,8 @@ function fje({ host: e, epoch: t, version: n }) {ref: l}), p) : null] });}-var j1 = (e, t) => String(e[t] ?? "").split(",").filter(Boolean);-function pje(e) {+var A1 = (e, t) => String(e[t] ?? "").split(",").filter(Boolean);+function mje(e) {if (!e) return null;let t = /* @__PURE__ */ new Map(), n = [["loc", e.locations],@@ -71855,7 +71855,7 @@ function pje(e) {for (let [e, r] of n) for (let n of r) t.set(`${e}\n${n.value}`, n.n ?? 0);return t;}-function mje({ host: e, content: t, filters: n, latest: r }) {+function hje({ host: e, content: t, filters: n, latest: r }) {let i = t.kind === "catalog" ? t.key : `follow:${t.selected.join(",")}:${t.tags.map((e) => e.value).join(",")}:${(t.providers || []).map((e) => e.value).join(",")}:${n.provider ?? ""}:${+!!t.duration}:${n.dur_min ?? ""}:${n.dur_max ?? ""}`;(0, F.useLayoutEffect)(() => {t.kind === "catalog" && ec(e.scroll, "drawer");@@ -71864,8 +71864,8 @@ function mje({ host: e, content: t, filters: n, latest: r }) {i,t.kind]);- let a = t.kind === "catalog" ? hje(e, t.facets, n, r, i) : gje(e, t, n), o = 0;- return a.map((e) => e && /* @__PURE__ */ (0, I.jsx)(_je, {+ let a = t.kind === "catalog" ? gje(e, t.facets, n, r, i) : _je(e, t, n), o = 0;+ return a.map((e) => e && /* @__PURE__ */ (0, I.jsx)(vje, {title: e.title,kind: e.kind,active: e.active,@@ -71874,11 +71874,11 @@ function mje({ host: e, content: t, filters: n, latest: r }) {children: e.body}, e.title));}-function hje(e, t, n, r, i) {- let a = pje(r), o = (t, r, i) => {+function gje(e, t, n, r, i) {+ let a = mje(r), o = (t, r, i) => {if (!t.length) return null;- let o = j1(n, r);- return /* @__PURE__ */ (0, I.jsx)(P1, {+ let o = A1(n, r);+ return /* @__PURE__ */ (0, I.jsx)(N1, {rows: t,filterKey: r,multi: i,@@ -71888,7 +71888,7 @@ function hje(e, t, n, r, i) {});}, s = (t, s, c, l, u, d) => {if (!c.length) return null;- let f = j1(n, l), p = c.some((e) => f.includes(e.value));+ let f = A1(n, l), p = c.some((e) => f.includes(e.value));if (!d) return {title: t,kind: s,@@ -71900,12 +71900,12 @@ function hje(e, t, n, r, i) {title: t,kind: s,active: p,- body: /* @__PURE__ */ (0, I.jsx)(yje, {+ body: /* @__PURE__ */ (0, I.jsx)(bje, {epoch: i,title: t,rows: c,latest: m ?? null,- limit: oje[d],+ limit: sje[d],filterKey: l,selected: f,counts: a,@@ -71920,7 +71920,7 @@ function hje(e, t, n, r, i) {title: "时长",kind: "meta",active: !1,- body: /* @__PURE__ */ (0, I.jsx)(L1, {+ body: /* @__PURE__ */ (0, I.jsx)(I1, {host: e,filters: n})@@ -71935,7 +71935,7 @@ function hje(e, t, n, r, i) {title: "关注标签",kind: "online",active: !1,- body: /* @__PURE__ */ (0, I.jsx)(F1, {+ body: /* @__PURE__ */ (0, I.jsx)(P1, {rows: t.followTags,host: e,selected: null,@@ -71944,14 +71944,14 @@ function hje(e, t, n, r, i) {} : null];}-function gje(e, t, n) {- let r = t.providers || [], i = j1(n, "provider"), a = new Set(t.selected);+function _je(e, t, n) {+ let r = t.providers || [], i = A1(n, "provider"), a = new Set(t.selected);return [r.length ? {title: "来源",kind: "src",active: r.some((e) => i.includes(e.value)),- body: /* @__PURE__ */ (0, I.jsx)(P1, {+ body: /* @__PURE__ */ (0, I.jsx)(N1, {rows: r,filterKey: "provider",multi: !1,@@ -71965,7 +71965,7 @@ function gje(e, t, n) {title: "时长",kind: "meta",active: !1,- body: /* @__PURE__ */ (0, I.jsx)(L1, {+ body: /* @__PURE__ */ (0, I.jsx)(I1, {host: e,filters: n,commit: e.setFollowDuration@@ -71975,7 +71975,7 @@ function gje(e, t, n) {title: "内容标签",kind: "online",active: t.tags.some((e) => a.has(e.value)),- body: /* @__PURE__ */ (0, I.jsx)(F1, {+ body: /* @__PURE__ */ (0, I.jsx)(P1, {rows: t.tags,host: e,selected: a,@@ -71984,19 +71984,19 @@ function gje(e, t, n) {} : null];}-function M1(e, t) {+function j1(e, t) {let n = null;try {n = sessionStorage.getItem(`peach.sidebar.group.${e}`);} catch {}return n === null ? t : n === "open";}-function _je({ title: e, kind: t, active: n, index: r, epoch: i, children: a }) {- let o = (0, F.useRef)(null), s = (0, F.useRef)(null), [c, l] = (0, F.useState)(() => M1(e, n)), u = (0, F.useRef)(!1);+function vje({ title: e, kind: t, active: n, index: r, epoch: i, children: a }) {+ let o = (0, F.useRef)(null), s = (0, F.useRef)(null), [c, l] = (0, F.useState)(() => j1(e, n)), u = (0, F.useRef)(!1);(0, F.useLayoutEffect)(() => {let t = o.current, r = s.current;if (!t || !r) return;- let i = u.current ? M1(e, n) : c;+ let i = u.current ? j1(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) => {@@ -72017,7 +72017,7 @@ function _je({ title: e, kind: t, active: n, index: r, epoch: i, children: a })"aria-expanded": c,"aria-controls": f,onClick: d,- children: [/* @__PURE__ */ (0, I.jsx)(HF, { name: "chevron-right" }), /* @__PURE__ */ (0, I.jsx)("span", { children: e })]+ children: [/* @__PURE__ */ (0, I.jsx)(VF, { name: "chevron-right" }), /* @__PURE__ */ (0, I.jsx)("span", { children: e })]}), /* @__PURE__ */ (0, I.jsx)("div", {ref: s,"data-sidebar-collapse": "",@@ -72028,7 +72028,7 @@ function _je({ title: e, kind: t, active: n, index: r, epoch: i, children: a })children: /* @__PURE__ */ (0, I.jsx)("div", {"data-sidebar-body": "",id: `sidebar-group-${encodeURIComponent(e)}`,- children: /* @__PURE__ */ (0, I.jsx)(N1.Provider, {+ children: /* @__PURE__ */ (0, I.jsx)(M1.Provider, {value: d,children: a})@@ -72037,15 +72037,15 @@ function _je({ title: e, kind: t, active: n, index: r, epoch: i, children: a })})]});}-var N1 = (0, F.createContext)(() => {});-function vje({ dot: e }) {- return e ? e.kind === "glyph" ? /* @__PURE__ */ (0, I.jsx)(HF, { name: e.name }) : e.kind === "image" ? /* @__PURE__ */ (0, I.jsx)("img", {+var M1 = (0, F.createContext)(() => {});+function yje({ dot: e }) {+ return e ? e.kind === "glyph" ? /* @__PURE__ */ (0, I.jsx)(VF, { name: e.name }) : e.kind === "image" ? /* @__PURE__ */ (0, I.jsx)("img", {"data-sidebar-source-icon": "",src: e.src,alt: ""}) : /* @__PURE__ */ (0, I.jsx)("i", { "data-sidebar-cost": e.cost }) : null;}-function P1({ rows: e, filterKey: t, multi: n, selected: r, counts: i, host: a, onToggle: o = a.toggleChip }) {+function N1({ rows: e, filterKey: t, multi: n, selected: r, counts: i, host: a, onToggle: o = a.toggleChip }) {return /* @__PURE__ */ (0, I.jsx)("div", {"data-sidebar-chips": "",children: e.map((e) => {@@ -72062,7 +72062,7 @@ function P1({ rows: e, filterKey: t, multi: n, selected: r, counts: i, host: a,title: e.offline || e.label,onClick: () => o(t, e.value, n),children: [- /* @__PURE__ */ (0, I.jsx)(vje, { dot: e.dot }),+ /* @__PURE__ */ (0, I.jsx)(yje, { dot: e.dot }),/* @__PURE__ */ (0, I.jsx)("span", {"data-sidebar-chip-label": "",children: e.label@@ -72077,8 +72077,8 @@ function P1({ rows: e, filterKey: t, multi: n, selected: r, counts: i, host: a,})});}-function yje({ epoch: e, title: t, rows: n, latest: r, limit: i, filterKey: a, selected: o, counts: s, host: c, expandable: l }) {- let u = (0, F.useContext)(N1), [d, f] = (0, F.useState)(null), [p, m] = (0, F.useState)(e);+function bje({ epoch: e, title: t, rows: n, latest: r, limit: i, filterKey: a, selected: o, counts: s, host: c, expandable: l }) {+ let u = (0, F.useContext)(M1), [d, f] = (0, F.useState)(null), [p, m] = (0, F.useState)(e);p !== e && (m(e), f(null));let h = (0, F.useRef)(null), g = (0, F.useRef)(null), _ = !!d?.all, v = d ? d.rows : n;return (0, F.useLayoutEffect)(() => {@@ -72093,7 +72093,7 @@ function yje({ epoch: e, title: t, rows: n, latest: r, limit: i, filterKey: a, se.body.classList.add("ui-fcollapse"), Wo(e.body, e.before, () => !!t?.open && !e.body.inert);}t(), requestAnimationFrame(t);- }, [d, _]), /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(P1, {+ }, [d, _]), /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(N1, {rows: _ ? v : v.slice(0, i),filterKey: a,multi: !1,@@ -72118,10 +72118,10 @@ function yje({ epoch: e, title: t, rows: n, latest: r, limit: i, filterKey: a, sall: !_}), _ && u());},- children: /* @__PURE__ */ (0, I.jsx)(HF, { name: "chevron-down" })+ children: /* @__PURE__ */ (0, I.jsx)(VF, { name: "chevron-down" })}) : null] });}-function F1({ rows: e, host: t, selected: n, badges: r }) {+function P1({ rows: e, host: t, selected: n, badges: r }) {return /* @__PURE__ */ (0, I.jsx)("div", {"data-sidebar-chips": "",children: e.map((e) => /* @__PURE__ */ (0, I.jsxs)("button", {@@ -72143,10 +72143,10 @@ function F1({ rows: e, host: t, selected: n, badges: r }) {}, e.value))});}-var I1 = (e, t) => e ? Math.min(E1, Number(e) / 60) : t;-function L1({ host: e, filters: t, commit: n = e.setDuration }) {- let r = `${t.dur_min ?? ""}:${t.dur_max ?? ""}`, [i, a] = (0, F.useState)(r), [o, s] = (0, F.useState)(() => [I1(t.dur_min, 0), I1(t.dur_max, E1)]), [c, l] = (0, F.useState)("max");- i !== r && (a(r), s([I1(t.dur_min, 0), I1(t.dur_max, E1)]));+var F1 = (e, t) => e ? Math.min(T1, Number(e) / 60) : t;+function I1({ host: e, filters: t, commit: n = e.setDuration }) {+ let r = `${t.dur_min ?? ""}:${t.dur_max ?? ""}`, [i, a] = (0, F.useState)(r), [o, s] = (0, F.useState)(() => [F1(t.dur_min, 0), F1(t.dur_max, T1)]), [c, l] = (0, F.useState)("max");+ i !== r && (a(r), s([F1(t.dur_min, 0), F1(t.dur_max, T1)]));let [u, d] = o, f = (0, F.useRef)(null), p = (0, F.useRef)(null), m = (0, F.useRef)(null), h = (0, F.useRef)(o);h.current = o;let g = (e, t) => {@@ -72159,11 +72159,11 @@ function L1({ host: e, filters: t, commit: n = e.setDuration }) {}, [n]), (0, F.useLayoutEffect)(() => {let e = f.current;if (!e) return;- e.style.setProperty("--lo", `${u / E1 * 100}%`), e.style.setProperty("--hi", `${d / E1 * 100}%`);+ e.style.setProperty("--lo", `${u / T1 * 100}%`), e.style.setProperty("--hi", `${d / T1 * 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 / E1 * 100}%`, e.style.setProperty("--range-tip-shift", "0px");+ e.style.left = `${n / T1 * 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`);});@@ -72173,7 +72173,7 @@ function L1({ 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 >= E1 ? "不限" : `${t} 分钟`+ children: e === "max" && t >= T1 ? "不限" : `${t} 分钟`});return /* @__PURE__ */ (0, I.jsx)("div", {"data-sidebar-duration": "",@@ -72188,7 +72188,7 @@ function L1({ host: e, filters: t, commit: n = e.setDuration }) {id: "durMin",type: "range",min: "0",- max: E1,+ max: T1,step: "5",value: u,"aria-label": "最短时长(分钟)",@@ -72199,7 +72199,7 @@ function L1({ host: e, filters: t, commit: n = e.setDuration }) {id: "durMax",type: "range",min: "0",- max: E1,+ max: T1,step: "5",value: d,"aria-label": "最长时长(分钟)",@@ -72213,7 +72213,7 @@ function L1({ host: e, filters: t, commit: n = e.setDuration }) {});}// src/diagnostics-skeleton.ts-function R1() {+function L1() {let e = (e) => Os({label: e,variant: "secondary",@@ -72227,11 +72227,11 @@ function R1() {</div></div>`;}// src/react/settings/library-policy-copy.ts-var z1 = "每个媒体库都先读本地 NFO 和同目录图片;处理方式只决定要不要联网补全。", bje = [+var R1 = "每个媒体库都先读本地 NFO 和同目录图片;处理方式只决定要不要联网补全。", xje = ["自动补全","仅使用本地资料","自定义"-], xje = [+], Sje = [["读本地 NFO 和图片","✓",@@ -72262,7 +72262,7 @@ var z1 = "每个媒体库都先读本地 NFO 和同目录图片;处理方式"—","可选"]-], Sje = "本地只有竖版海报时:自动补全会联网找完整封套(FC2 商品图除外),仅使用本地资料直接用竖版。", B1 = "一个媒体库可以有多个文件夹,作品合在一起显示,共用名称、颜色和处理方式;要分开显示或分开设置时再添加媒体库。", V1 = "JavDB 或 MISSAV 打不开时,填一个能打开的镜像域名。", H1 = "只填域名,留空用默认地址", Cje = [+], Cje = "本地只有竖版海报时:自动补全会联网找完整封套(FC2 商品图除外),仅使用本地资料直接用竖版。", z1 = "一个媒体库可以有多个文件夹,作品合在一起显示,共用名称、颜色和处理方式;要分开显示或分开设置时再添加媒体库。", B1 = "JavDB 或 MISSAV 打不开时,填一个能打开的镜像域名。", V1 = "只填域名,留空用默认地址", wje = [{provider: "coomer",label: "Coomer",@@ -72352,8 +72352,8 @@ var z1 = "每个媒体库都先读本地 NFO 和同目录图片;处理方式label: "SubscribeStar",requirement: "none"}-], U1 = "API 代理用于列目录和查询文件信息,数据代理用于读取视频及配套文件。保存后,同一网盘账号在 CloudDrive 中的其他读取也会使用此设置。", wje = "peach.configuration.shape.v1";-function W1() {+], H1 = "API 代理用于列目录和查询文件信息,数据代理用于读取视频及配套文件。保存后,同一网盘账号在 CloudDrive 中的其他读取也会使用此设置。", Tje = "peach.configuration.shape.v1";+function U1() {try {let e = JSON.parse(localStorage.getItem("peach.configuration.shape.v1") || "{}");return e && typeof e == "object" ? e : {};@@ -72361,28 +72361,28 @@ function W1() {return {};}}-function Tje(e, t) {+function Eje(e, t) {try {- let n = W1();+ let n = U1();if (JSON.stringify(n[e]) === JSON.stringify(t)) return;- localStorage.setItem(wje, JSON.stringify({+ localStorage.setItem(Tje, JSON.stringify({...n,[e]: t}));} catch {}}-var G1 = (e) => W1()[e], K1 = (e) => e === !0, q1 = (e, t) => Number.isInteger(e) && e > 0 ? Math.min(e, t) : 0, J1 = (e, t, n) => Array.isArray(e) ? e.slice(0, t).map(n) : [], Y1 = "disabled data-skeleton-action", X1 = (e = "60%") => `<span class="skeleton skeleton-text" style="width:${e}"></span>`, Z1 = (e = "100%") => `<span class="skeleton ui-configuration-skeleton-input" style="width:${e}"></span>`, Q1 = (e, t) => `<span class="skeleton shrink-0" style="width:${e};height:${t}"></span>`, $1 = (e = "3em") => Q1(e, "24px"), e0 = () => Q1("var(--icon-inline)", "var(--icon-inline)"), t0 = (e, t = "primary", n = "medium") => Os({+var W1 = (e) => U1()[e], G1 = (e) => e === !0, K1 = (e, t) => Number.isInteger(e) && e > 0 ? Math.min(e, t) : 0, q1 = (e, t, n) => Array.isArray(e) ? e.slice(0, t).map(n) : [], J1 = "disabled data-skeleton-action", Y1 = (e = "60%") => `<span class="skeleton skeleton-text" style="width:${e}"></span>`, X1 = (e = "100%") => `<span class="skeleton ui-configuration-skeleton-input" style="width:${e}"></span>`, Z1 = (e, t) => `<span class="skeleton shrink-0" style="width:${e};height:${t}"></span>`, Q1 = (e = "3em") => Z1(e, "24px"), $1 = () => Z1("var(--icon-inline)", "var(--icon-inline)"), e0 = (e, t = "primary", n = "medium") => Os({label: e,variant: t,size: n,- attrs: Y1-}), n0 = (e, t = "") => `<div class="-ml-3 flex flex-wrap items-center justify-end gap-3 rounded-b-2xl border-t border-separator-border bg-card-footer px-3 py-3">${t ? `<div class="mr-auto min-w-0 text-body-2-regular text-text-secondary">${t}</div>` : ""}${e}</div>`, r0 = (e, t = !1) => `<div class="flex flex-col gap-4 ${t ? "border-t border-separator-border " : ""}py-4 pr-3">${e}</div>`, Eje = (e, t, n) => {- let r = `<p class="w-full px-3 text-body-2-medium text-text-secondary">${n ? `<span class="inline-flex items-center gap-1.5">${e0()}${e}</span>` : e}</p>`;+ attrs: J1+}), t0 = (e, t = "") => `<div class="-ml-3 flex flex-wrap items-center justify-end gap-3 rounded-b-2xl border-t border-separator-border bg-card-footer px-3 py-3">${t ? `<div class="mr-auto min-w-0 text-body-2-regular text-text-secondary">${t}</div>` : ""}${e}</div>`, n0 = (e, t = !1) => `<div class="flex flex-col gap-4 ${t ? "border-t border-separator-border " : ""}py-4 pr-3">${e}</div>`, Dje = (e, t, n) => {+ let r = `<p class="w-full px-3 text-body-2-medium text-text-secondary">${n ? `<span class="inline-flex items-center gap-1.5">${$1()}${e}</span>` : e}</p>`;return t ? `<div class="flex w-full flex-wrap items-center justify-between gap-2"><div class="min-w-40 flex-1">${r}</div><div class="flex min-w-0 max-w-full">${t}</div></div>` : r;-}, i0 = (e, t, n = "", { aside: r = "", status: i = "", mark: a = !1 } = {}) => `<section aria-label="${e}" class="flex w-full flex-col gap-2 wrap-anywhere">${Eje(e, r, a)}<div class="flex w-full flex-col rounded-2xl bg-background-secondary-default pl-3">${t}${n ? n0(n, i) : ""}</div></section>`, a0 = (e, t, n) => `<div class="flex min-h-[52px] w-full items-center justify-between gap-4 py-2.5 pr-2.5 border-b border-separator-border last:border-b-0"><div class="flex min-w-0 flex-col"><p class="text-body-regular text-text-primary">${e}</p>${t ? `<p class="text-body-2-regular text-text-secondary">${t}</p>` : ""}</div>${n}</div>`, o0 = (e, t = "", n = "ui-configuration-skeleton-toggle") => a0(e, t, `<span class="skeleton ${n}"></span>`), s0 = (e, t = "", n = "4em") => a0(e, t, X1(n)), c0 = (e) => `<p class="text-body-2-regular text-text-secondary">${e}</p>`, l0 = (e) => `<p class="text-body-medium text-text-primary">${e}</p>`, u0 = (e, t = "") => `<div class="flex w-full flex-col items-start gap-1"><span class="flex items-center gap-0.5 text-body-medium text-text-primary">${e}</span>${Z1()}${t ? `<span class="pt-px text-caption-1-medium text-text-secondary">${t}</span>` : ""}</div>`, d0 = (e) => `<div class="flex flex-col gap-1">${l0(e)}${As(X1("8em"))}</div>`, f0 = (e) => `<span class="flex items-center gap-2 text-body-regular text-text-primary">${Q1("16px", "16px")}${e}</span>`, p0 = (e) => `<span class="inline-flex items-center gap-1">${e0()}${e}</span>`, m0 = (e, t = !1) => `<span class="flex w-fit items-center gap-1 text-body-2-medium text-text-secondary">${Ts("chevron-right", `size-(--icon-inline) shrink-0${t ? " rotate-90" : ""}`)}${e}</span>`, Dje = /* @__PURE__ */ new Set(["FFmpeg", "untrunc"]), h0 = (e) => `<dl class="ui-settings-facts flex flex-col">${e.map((e) => `<div class="flex min-h-11 items-center justify-between gap-4 border-b border-separator-border py-2.5 pr-3 last:border-b-0"><dt class="flex max-w-1/2 min-w-0 shrink-0 items-center gap-2 text-body-regular text-text-secondary">${e}</dt><dd class="flex min-w-0 flex-wrap items-center justify-end gap-2 text-body-regular text-text-primary">${Dje.has(e) ? X1("100%") + X1("80%") + X1("6em") : X1("6em")}</dd></div>`).join("")}</dl>`, Oje = Cje;-function kje(e = G1("credentials")) {- let t = new Set(J1(e?.done, 64, String));- return Oje.map((e) => {+}, r0 = (e, t, n = "", { aside: r = "", status: i = "", mark: a = !1 } = {}) => `<section aria-label="${e}" class="flex w-full flex-col gap-2 wrap-anywhere">${Dje(e, r, a)}<div class="flex w-full flex-col rounded-2xl bg-background-secondary-default pl-3">${t}${n ? t0(n, i) : ""}</div></section>`, i0 = (e, t, n) => `<div class="flex min-h-[52px] w-full items-center justify-between gap-4 py-2.5 pr-2.5 border-b border-separator-border last:border-b-0"><div class="flex min-w-0 flex-col"><p class="text-body-regular text-text-primary">${e}</p>${t ? `<p class="text-body-2-regular text-text-secondary">${t}</p>` : ""}</div>${n}</div>`, a0 = (e, t = "", n = "ui-configuration-skeleton-toggle") => i0(e, t, `<span class="skeleton ${n}"></span>`), o0 = (e, t = "", n = "4em") => i0(e, t, Y1(n)), s0 = (e) => `<p class="text-body-2-regular text-text-secondary">${e}</p>`, c0 = (e) => `<p class="text-body-medium text-text-primary">${e}</p>`, l0 = (e, t = "") => `<div class="flex w-full flex-col items-start gap-1"><span class="flex items-center gap-0.5 text-body-medium text-text-primary">${e}</span>${X1()}${t ? `<span class="pt-px text-caption-1-medium text-text-secondary">${t}</span>` : ""}</div>`, u0 = (e) => `<div class="flex flex-col gap-1">${c0(e)}${As(Y1("8em"))}</div>`, d0 = (e) => `<span class="flex items-center gap-2 text-body-regular text-text-primary">${Z1("16px", "16px")}${e}</span>`, f0 = (e) => `<span class="inline-flex items-center gap-1">${$1()}${e}</span>`, p0 = (e, t = !1) => `<span class="flex w-fit items-center gap-1 text-body-2-medium text-text-secondary">${Ts("chevron-right", `size-(--icon-inline) shrink-0${t ? " rotate-90" : ""}`)}${e}</span>`, Oje = /* @__PURE__ */ new Set(["FFmpeg", "untrunc"]), m0 = (e) => `<dl class="ui-settings-facts flex flex-col">${e.map((e) => `<div class="flex min-h-11 items-center justify-between gap-4 border-b border-separator-border py-2.5 pr-3 last:border-b-0"><dt class="flex max-w-1/2 min-w-0 shrink-0 items-center gap-2 text-body-regular text-text-secondary">${e}</dt><dd class="flex min-w-0 flex-wrap items-center justify-end gap-2 text-body-regular text-text-primary">${Oje.has(e) ? Y1("100%") + Y1("80%") + Y1("6em") : Y1("6em")}</dd></div>`).join("")}</dl>`, kje = wje;+function Aje(e = W1("credentials")) {+ let t = new Set(q1(e?.done, 64, String));+ return kje.map((e) => {let n = t.has(e.provider);return {...e,@@ -72391,137 +72391,137 @@ function kje(e = G1("credentials")) {};});}-function Aje(e) {- let t = e.fields ?? [], n = e.requirement !== "none" && e.requirement !== "blocked", r = $1() + (n && !e.done ? t.map(() => $1("4.5em")).join("") : ""), i = `<span class="flex min-w-0 flex-wrap items-center gap-2">${Q1("14px", "14px")}<b class="min-w-0 text-body-medium wrap-anywhere text-text-primary">${z(e.label)}</b>${r}</span>`;- if (!n) return `<div class="flex flex-wrap items-center gap-3 border-b border-separator-border px-6 py-5 last:border-b-0 max-sm:px-4">${i}${e.requirement === "blocked" && e.why ? c0(z(e.why)) : ""}</div>`;- let a = e.open ? "<div class=\"flex flex-col gap-2 pt-3\"><div class=\"flex flex-col gap-3\">" + c0(`${z(e.why ?? "")}${e.where ? " 获取凭据" : ""}`) + (e.howto ? c0(z(e.howto)) : "") + `<div class="flex w-full flex-col gap-3">${t.map((e) => u0(z(e))).join("")}</div><div class="flex flex-wrap items-center gap-2">${t0("保存配置")}</div>${m0("凭据文件")}</div></div>` : "";- return `<div class="flex flex-col gap-2 border-b border-separator-border px-6 py-5 last:border-b-0 max-sm:px-4">${i}<div>${m0(e.done ? "修改凭据" : "填写凭据", e.open)}${a}</div></div>`;+function jje(e) {+ let t = e.fields ?? [], n = e.requirement !== "none" && e.requirement !== "blocked", r = Q1() + (n && !e.done ? t.map(() => Q1("4.5em")).join("") : ""), i = `<span class="flex min-w-0 flex-wrap items-center gap-2">${Z1("14px", "14px")}<b class="min-w-0 text-body-medium wrap-anywhere text-text-primary">${z(e.label)}</b>${r}</span>`;+ if (!n) return `<div class="flex flex-wrap items-center gap-3 border-b border-separator-border px-6 py-5 last:border-b-0 max-sm:px-4">${i}${e.requirement === "blocked" && e.why ? s0(z(e.why)) : ""}</div>`;+ let a = e.open ? "<div class=\"flex flex-col gap-2 pt-3\"><div class=\"flex flex-col gap-3\">" + s0(`${z(e.why ?? "")}${e.where ? " 获取凭据" : ""}`) + (e.howto ? s0(z(e.howto)) : "") + `<div class="flex w-full flex-col gap-3">${t.map((e) => l0(z(e))).join("")}</div><div class="flex flex-wrap items-center gap-2">${e0("保存配置")}</div>${p0("凭据文件")}</div></div>` : "";+ return `<div class="flex flex-col gap-2 border-b border-separator-border px-6 py-5 last:border-b-0 max-sm:px-4">${i}<div>${p0(e.done ? "修改凭据" : "填写凭据", e.open)}${a}</div></div>`;}-function g0() {- let e = kje(), t = e.filter((e) => e.requirement === "required" && !e.done).length;- return i0("来源凭据", r0(`<div class="flex flex-col gap-4">${[+function h0() {+ let e = Aje(), t = e.filter((e) => e.requirement === "required" && !e.done).length;+ return r0("来源凭据", n0(`<div class="flex flex-col gap-4">${[["可配置凭据", e.filter((e) => e.requirement !== "none" && e.requirement !== "blocked")],["不需要凭据", e.filter((e) => e.requirement === "none")],["暂不支持", e.filter((e) => e.requirement === "blocked")]- ].filter(([, e]) => e.length).map(([e, t]) => `<div class="flex flex-col gap-2"><h4 class="text-body-medium text-text-secondary">${e}</h4><div class="min-w-0 border border-separator-border bg-background-primary-default rounded-surface flex flex-col overflow-hidden">${t.map(Aje).join("")}</div></div>`).join("")}</div>`), "", { aside: t ? X1("5em") : "" });+ ].filter(([, e]) => e.length).map(([e, t]) => `<div class="flex flex-col gap-2"><h4 class="text-body-medium text-text-secondary">${e}</h4><div class="min-w-0 border border-separator-border bg-background-primary-default rounded-surface flex flex-col overflow-hidden">${t.map(jje).join("")}</div></div>`).join("")}</div>`), "", { aside: t ? Y1("5em") : "" });}-function _0() {- let e = J1(G1("indexers")?.open, 20, K1).map((e) => `<div class="min-w-0 border-t border-separator-border pt-2"><span class="flex w-full min-w-0 items-center gap-1 text-body-2-medium">${Ts("chevron-right", `size-(--icon-inline) shrink-0 text-text-secondary${e ? " rotate-90" : ""}`)}${X1("6em")}${X1("12em")}</span>` + (e ? `<div class="flex flex-col gap-2 pt-3"><div class="flex min-w-0 flex-col gap-4">${u0("名称")}${u0("Torznab 地址")}${u0("API key")}<div class="flex flex-wrap items-center gap-x-6 gap-y-2">${f0("启用")}${t0("移除", "secondary", "small")}</div></div></div>` : "") + "</div>").join("");- return i0("资源搜索", r0(`<div class="flex min-w-0 flex-col gap-4">${m0("索引器连接帮助")}${e}</div>`), t0("添加索引器", "secondary") + t0("保存配置"));+function g0() {+ let e = q1(W1("indexers")?.open, 20, G1).map((e) => `<div class="min-w-0 border-t border-separator-border pt-2"><span class="flex w-full min-w-0 items-center gap-1 text-body-2-medium">${Ts("chevron-right", `size-(--icon-inline) shrink-0 text-text-secondary${e ? " rotate-90" : ""}`)}${Y1("6em")}${Y1("12em")}</span>` + (e ? `<div class="flex flex-col gap-2 pt-3"><div class="flex min-w-0 flex-col gap-4">${l0("名称")}${l0("Torznab 地址")}${l0("API key")}<div class="flex flex-wrap items-center gap-x-6 gap-y-2">${d0("启用")}${e0("移除", "secondary", "small")}</div></div></div>` : "") + "</div>").join("");+ return r0("资源搜索", n0(`<div class="flex min-w-0 flex-col gap-4">${p0("索引器连接帮助")}${e}</div>`), e0("添加索引器", "secondary") + e0("保存配置"));}-function v0() {- let e = G1("javBrowser"), t = K1(e?.enabled);- return i0("浏览器添加 JAV", r0(`<div class="flex min-w-0 flex-col gap-4">${`<div class="min-w-0 bg-background-primary-default rounded-2xl shadow-card p-5 border border-border-button-default flex flex-col gap-3"><div class="flex flex-wrap items-center justify-between gap-3"><span class="text-body-medium text-text-primary">Peach 用户脚本</span>${X1("4em")}</div><div class="flex flex-wrap items-center justify-between gap-3"><span class="text-body-regular text-text-secondary">浏览器添加</span>${$1()}</div><p class="text-caption-1-regular text-text-secondary">${X1("70%")}</p><div class="flex flex-wrap items-center gap-2">${t0("重新检测", "secondary")}</div></div>`}${d0("浏览器添加的下载渠道")}${K1(e?.ready) ? "" : c0("请在媒体库中添加支持云下载的网盘,并配置账号与目标目录。")}${u0("Peach 地址")}</div>`), (t ? t0("关闭浏览器添加", "secondary") : "") + t0(t ? "更新渠道与令牌" : "启用并生成令牌"));+function _0() {+ let e = W1("javBrowser"), t = G1(e?.enabled);+ return r0("浏览器添加 JAV", n0(`<div class="flex min-w-0 flex-col gap-4">${`<div class="min-w-0 bg-background-primary-default rounded-2xl shadow-card p-5 border border-border-button-default flex flex-col gap-3"><div class="flex flex-wrap items-center justify-between gap-3"><span class="text-body-medium text-text-primary">Peach 用户脚本</span>${Y1("4em")}</div><div class="flex flex-wrap items-center justify-between gap-3"><span class="text-body-regular text-text-secondary">浏览器添加</span>${Q1()}</div><p class="text-caption-1-regular text-text-secondary">${Y1("70%")}</p><div class="flex flex-wrap items-center gap-2">${e0("重新检测", "secondary")}</div></div>`}${u0("浏览器添加的下载渠道")}${G1(e?.ready) ? "" : s0("请在媒体库中添加支持云下载的网盘,并配置账号与目标目录。")}${l0("Peach 地址")}</div>`), (t ? e0("关闭浏览器添加", "secondary") : "") + e0(t ? "更新渠道与令牌" : "启用并生成令牌"));}-var y0 = (e, t) => `<div class="flex min-w-0 flex-col gap-3">${l0(e)}${As(X1("6em"))}` + (t ? `<div class="flex flex-wrap gap-3"><div class="min-w-40 flex-1">${u0(`${e}地址`)}</div><div class="w-full sm:w-28">${u0(`${e}端口`)}</div></div>${m0("代理认证")}` : "") + "</div>";-function b0() {- let e = G1("cloudProxy"), t = J1(e?.accounts, 12, (e) => Array.isArray(e) ? [K1(e[0]), K1(e[1])] : [!1, !1]), n = q1(e?.unlinked, 12), r = t.length || n ? Array.from({ length: n }, () => `<div class="flex min-w-0 flex-col gap-1">${l0(p0(X1("6em")))}${c0(X1("9em"))}</div>`).join("") + t.map(([e, t]) => `<div class="flex min-w-0 flex-col gap-4 border-t border-separator-border pt-4">${l0(p0(X1("8em")))}${c0(X1("50%"))}${y0("数据代理", e)}${y0("API 代理", t)}<div class="flex justify-end">${t0("保存配置")}</div></div>`).join("") : c0(X1("60%"));- return i0("CloudDrive 代理", r0(`${c0(U1)}<div class="flex min-w-0 flex-col gap-4">${r}</div>`), t0("重新读取", "secondary"));+var v0 = (e, t) => `<div class="flex min-w-0 flex-col gap-3">${c0(e)}${As(Y1("6em"))}` + (t ? `<div class="flex flex-wrap gap-3"><div class="min-w-40 flex-1">${l0(`${e}地址`)}</div><div class="w-full sm:w-28">${l0(`${e}端口`)}</div></div>${p0("代理认证")}` : "") + "</div>";+function y0() {+ let e = W1("cloudProxy"), t = q1(e?.accounts, 12, (e) => Array.isArray(e) ? [G1(e[0]), G1(e[1])] : [!1, !1]), n = K1(e?.unlinked, 12), r = t.length || n ? Array.from({ length: n }, () => `<div class="flex min-w-0 flex-col gap-1">${c0(f0(Y1("6em")))}${s0(Y1("9em"))}</div>`).join("") + t.map(([e, t]) => `<div class="flex min-w-0 flex-col gap-4 border-t border-separator-border pt-4">${c0(f0(Y1("8em")))}${s0(Y1("50%"))}${v0("数据代理", e)}${v0("API 代理", t)}<div class="flex justify-end">${e0("保存配置")}</div></div>`).join("") : s0(Y1("60%"));+ return r0("CloudDrive 代理", n0(`${s0(H1)}<div class="flex min-w-0 flex-col gap-4">${r}</div>`), e0("重新读取", "secondary"));}-var x0 = (e, t, n) => `<div class="flex min-w-0 flex-col gap-1 ${n}"><span class="flex items-center gap-0.5 text-body-medium text-text-primary" aria-hidden="true">${e}</span>${t}</div>`, jje = (e) => `<div data-folder-row class="@container flex flex-col gap-2 rounded-2lg border border-separator-border bg-background-primary-default p-3">- <div class="flex items-start gap-2"><span class="min-w-0 flex-1">${Z1()}</span>${Os({+var b0 = (e, t, n) => `<div class="flex min-w-0 flex-col gap-1 ${n}"><span class="flex items-center gap-0.5 text-body-medium text-text-primary" aria-hidden="true">${e}</span>${t}</div>`, Mje = (e) => `<div data-folder-row class="@container flex flex-col gap-2 rounded-2lg border border-separator-border bg-background-primary-default p-3">+ <div class="flex items-start gap-2"><span class="min-w-0 flex-1">${X1()}</span>${Os({glyph: "folder-search",variant: "secondary",- attrs: Y1+ attrs: J1})}</div>- <div class="flex flex-wrap items-end gap-2"><div class="flex w-full flex-wrap items-start gap-2">${x0("来源", As(X1("6em")), "w-full @lg:w-60")}${x0("读取策略", As(X1("4em")), "w-full @lg:w-32")}${e > 1 ? x0("移到媒体库", As(X1("4em")), "w-full @lg:w-48") : ""}</div></div>- </div>`, Mje = (e, t) => `<div data-library-block class="min-w-0 bg-background-primary-default rounded-2xl shadow-card flex flex-col p-2">+ <div class="flex flex-wrap items-end gap-2"><div class="flex w-full flex-wrap items-start gap-2">${b0("来源", As(Y1("6em")), "w-full @lg:w-60")}${b0("读取策略", As(Y1("4em")), "w-full @lg:w-32")}${e > 1 ? b0("移到媒体库", As(Y1("4em")), "w-full @lg:w-48") : ""}</div></div>+ </div>`, Nje = (e, t) => `<div data-library-block class="min-w-0 bg-background-primary-default rounded-2xl shadow-card flex flex-col p-2"><div data-library-head>${Os({label: "自动识别",variant: "secondary",- attrs: Y1-})}${Z1()}<span class="skeleton ui-configuration-skeleton-input" style="width:136px"></span>${As(X1("4em"), { prefix: "处理方式" })}</div>- <div data-library-folders>${jje(t).repeat(e)}<div class="flex">${Os({+ attrs: J1+})}${X1()}<span class="skeleton ui-configuration-skeleton-input" style="width:136px"></span>${As(Y1("4em"), { prefix: "处理方式" })}</div>+ <div data-library-folders>${Mje(t).repeat(e)}<div class="flex">${Os({label: "添加文件夹",variant: "secondary",- attrs: Y1-})}</div></div></div>`, Nje = `<div data-policy-legend class="flex flex-col gap-1"><p class="text-body-2-regular text-text-secondary">${z1}</p><span class="flex items-center gap-1 text-body-2-medium text-text-secondary">三种处理方式对比</span></div>`, Pje = "<p class=\"text-body-2-regular text-text-secondary\">读取策略选「代理保护」时,会限制自动读取视频。</p><div class=\"flex flex-col gap-3\"><span class=\"flex items-center gap-1 text-body-2-medium text-text-secondary\">CloudDrive 设置帮助</span></div>";-function Fje(e = G1("media")) {- let t = J1(e?.folders, 12, (e) => q1(e, 50)).filter(Boolean);+ attrs: J1+})}</div></div></div>`, Pje = `<div data-policy-legend class="flex flex-col gap-1"><p class="text-body-2-regular text-text-secondary">${R1}</p><span class="flex items-center gap-1 text-body-2-medium text-text-secondary">三种处理方式对比</span></div>`, Fje = "<p class=\"text-body-2-regular text-text-secondary\">读取策略选「代理保护」时,会限制自动读取视频。</p><div class=\"flex flex-col gap-3\"><span class=\"flex items-center gap-1 text-body-2-medium text-text-secondary\">CloudDrive 设置帮助</span></div>";+function Ije(e = W1("media")) {+ let t = q1(e?.folders, 12, (e) => K1(e, 50)).filter(Boolean);return t.length ? {folders: t,- cloud: K1(e?.cloud)+ cloud: G1(e?.cloud)} : {folders: [1],cloud: !1};}-function Ije() {- let e = G1("discovery"), t = K1(e?.enabled), n = t && K1(e?.cloud), r = n && K1(e?.webhook), i = `<div class="flex items-start gap-2"><span class="min-w-0 flex-1">${Z1()}</span>${As(X1("4em"), { prefix: "对应目录" })}${Os({+function Lje() {+ let e = W1("discovery"), t = G1(e?.enabled), n = t && G1(e?.cloud), r = n && G1(e?.webhook), i = `<div class="flex items-start gap-2"><span class="min-w-0 flex-1">${X1()}</span>${As(Y1("4em"), { prefix: "对应目录" })}${Os({glyph: "trash",variant: "secondary",- attrs: Y1+ attrs: J1})}</div>`;- return i0("自动发现新文件", r0(`<div class="flex flex-wrap items-center gap-2"><span class="text-body-regular text-text-secondary">本机监视</span>${$1()}</div>`) + o0("发现新文件后自动入库", t ? X1("10em") : "") + o0("监视本机文件夹", t && K1(e?.watchLocal) ? X1("12em") : "") + o0("接收 CloudDrive2 通知", "网盘目录有变化时由 CloudDrive2 推送过来。") + (n ? a0("Webhook 配置", X1("20em"), "") : "") + (r ? r0(m0("查看配置"), !0) : "") + (n ? r0(`<div class="flex flex-col gap-3">${l0("云端路径前缀")}<div class="flex flex-col gap-3">${i.repeat(q1(e?.prefixes, 20))}</div><div>${t0("添加前缀", "secondary")}</div></div>`, !0) : ""), (r ? t0("更换密钥", "secondary") : "") + t0("保存配置"));-}-var Lje = () => {- let e = Fje();- return i0("媒体库与目录", r0(`${Nje}<div class="flex flex-col gap-4">${e.folders.map((t) => Mje(t, e.folders.length)).join("")}</div>- <div class="self-start">${t0("添加媒体库", "secondary")}</div>- <p class="text-body-2-regular text-text-secondary">${B1}</p>- ${e.cloud ? Pje : ""}<span class="text-body-medium text-text-primary">${X1("15em")}</span>`), t0("保存配置"), { status: "保存后 Peach 会重新启动。" }) + (e.cloud ? b0() : "") + Ije() + i0("番号识别规则", r0(`${X1("90%")}${X1("60%")}<span class="skeleton ui-configuration-skeleton-input" style="width:100%;height:88px"></span>`), t0("保存配置")) + i0("视频预览", o0("生成视频预览", "为本地视频生成九宫格与时间轴预览;关闭后仍按入库规则探测时长与分辨率。") + o0("时间轴预览", "按所选间隔抽帧,仅处理本机磁盘上的视频。", "ui-configuration-skeleton-select") + o0("抽帧解码方式", "用于生成封面、九宫格和时间轴。", "ui-configuration-skeleton-select"));-}, Rje = () => `<div>${t0("采集来源与登录状态", "secondary")}</div>` + g0() + i0("关注采集", a0("自动检查更新", "", "<span class=\"flex items-center gap-2\"><span class=\"skeleton ui-configuration-skeleton-toggle\"></span><span class=\"skeleton ui-configuration-skeleton-input\" style=\"width:96px\"></span></span>") + s0("订阅源拉取") + o0("首次采集范围", "新关注的来源第一次回看多久以前的内容。", "ui-configuration-skeleton-select") + s0("头像刷新", "重新获取关注创作者的头像。") + s0("favicon 刷新", "重新获取来源站点的图标。")) + _0() + i0("作品资料站点", r0(`<p class="text-body-2-regular text-text-secondary">${V1}</p>${u0(p0("JavDB 地址"), H1)}${u0(p0("MISSAV 地址"), H1)}`), t0("保存配置")), zje = () => {- let e = G1("downloads"), t = K1(e?.pikpak), n = K1(e?.pikpakRoots) ? d0(p0("PikPak 根目录对应的媒体目录")) : `<div class="flex flex-col gap-1">${l0(p0("PikPak 根目录对应的媒体目录"))}${c0("先在「媒体库与入库」添加 PikPak 挂载文件夹。")}</div>`, r = K1(e?.cloud) ? i0("云下载", r0(u0("CloudDrive2 地址") + u0("CloudDrive2 API 令牌", "需要离线任务权限。") + (K1(e?.has115) ? u0(p0("115 目标目录"), "应位于自动入库的云端路径前缀内。") : "") + (t ? u0(p0("PikPak 目标目录"), "目录要已经存在。") + n : "") + u0("等待上限(小时)", X1("14em"))), t0("检查连接", "secondary") + t0("保存配置")) : "", i = K1(e?.pikpakLoggedIn);- return r + (t ? i0("PikPak 账号", i ? h0(["账号", X1("4em")]) : r0(u0("账号") + u0("密码") + f0("保存密码,登录过期时自动重新登录")), i ? t0("登出", "secondary") : (K1(e?.browserLogin) ? t0("用浏览器登录", "secondary") : "") + t0("登录"), {- aside: $1(),+ return r0("自动发现新文件", n0(`<div class="flex flex-wrap items-center gap-2"><span class="text-body-regular text-text-secondary">本机监视</span>${Q1()}</div>`) + a0("发现新文件后自动入库", t ? Y1("10em") : "") + a0("监视本机文件夹", t && G1(e?.watchLocal) ? Y1("12em") : "") + a0("接收 CloudDrive2 通知", "网盘目录有变化时由 CloudDrive2 推送过来。") + (n ? i0("Webhook 配置", Y1("20em"), "") : "") + (r ? n0(p0("查看配置"), !0) : "") + (n ? n0(`<div class="flex flex-col gap-3">${c0("云端路径前缀")}<div class="flex flex-col gap-3">${i.repeat(K1(e?.prefixes, 20))}</div><div>${e0("添加前缀", "secondary")}</div></div>`, !0) : ""), (r ? e0("更换密钥", "secondary") : "") + e0("保存配置"));+}+var Rje = () => {+ let e = Ije();+ return r0("媒体库与目录", n0(`${Pje}<div class="flex flex-col gap-4">${e.folders.map((t) => Nje(t, e.folders.length)).join("")}</div>+ <div class="self-start">${e0("添加媒体库", "secondary")}</div>+ <p class="text-body-2-regular text-text-secondary">${z1}</p>+ ${e.cloud ? Fje : ""}<span class="text-body-medium text-text-primary">${Y1("15em")}</span>`), e0("保存配置"), { status: "保存后 Peach 会重新启动。" }) + (e.cloud ? y0() : "") + Lje() + r0("番号识别规则", n0(`${Y1("90%")}${Y1("60%")}<span class="skeleton ui-configuration-skeleton-input" style="width:100%;height:88px"></span>`), e0("保存配置")) + r0("视频预览", a0("生成视频预览", "为本地视频生成九宫格与时间轴预览;关闭后仍按入库规则探测时长与分辨率。") + a0("时间轴预览", "按所选间隔抽帧,仅处理本机磁盘上的视频。", "ui-configuration-skeleton-select") + a0("抽帧解码方式", "用于生成封面、九宫格和时间轴。", "ui-configuration-skeleton-select"));+}, zje = () => `<div>${e0("采集来源与登录状态", "secondary")}</div>` + h0() + r0("关注采集", i0("自动检查更新", "", "<span class=\"flex items-center gap-2\"><span class=\"skeleton ui-configuration-skeleton-toggle\"></span><span class=\"skeleton ui-configuration-skeleton-input\" style=\"width:96px\"></span></span>") + o0("订阅源拉取") + a0("首次采集范围", "新关注的来源第一次回看多久以前的内容。", "ui-configuration-skeleton-select") + o0("头像刷新", "重新获取关注创作者的头像。") + o0("favicon 刷新", "重新获取来源站点的图标。")) + g0() + r0("作品资料站点", n0(`<p class="text-body-2-regular text-text-secondary">${B1}</p>${l0(f0("JavDB 地址"), V1)}${l0(f0("MISSAV 地址"), V1)}`), e0("保存配置")), Bje = () => {+ let e = W1("downloads"), t = G1(e?.pikpak), n = G1(e?.pikpakRoots) ? u0(f0("PikPak 根目录对应的媒体目录")) : `<div class="flex flex-col gap-1">${c0(f0("PikPak 根目录对应的媒体目录"))}${s0("先在「媒体库与入库」添加 PikPak 挂载文件夹。")}</div>`, r = G1(e?.cloud) ? r0("云下载", n0(l0("CloudDrive2 地址") + l0("CloudDrive2 API 令牌", "需要离线任务权限。") + (G1(e?.has115) ? l0(f0("115 目标目录"), "应位于自动入库的云端路径前缀内。") : "") + (t ? l0(f0("PikPak 目标目录"), "目录要已经存在。") + n : "") + l0("等待上限(小时)", Y1("14em"))), e0("检查连接", "secondary") + e0("保存配置")) : "", i = G1(e?.pikpakLoggedIn);+ return r + (t ? r0("PikPak 账号", i ? m0(["账号", Y1("4em")]) : n0(l0("账号") + l0("密码") + d0("保存密码,登录过期时自动重新登录")), i ? e0("登出", "secondary") : (G1(e?.browserLogin) ? e0("用浏览器登录", "secondary") : "") + e0("登录"), {+ aside: Q1(),mark: !0- }) : "") + v0();-}, S0 = {+ }) : "") + _0();+}, x0 = {legacy: "当前使用系统生成的访问口令。改设自己的密码,或关闭登录要求。",locked: "访问设置无法读取,请在本机检查配置文件。",password: "已设置密码。新设备需要登录,登录时勾选「保持登录」可保持 30 天。"-}, C0 = {+}, S0 = {quick: "临时预览用,地址随机,重启后会变。启动前要先设置访问密码。",named: "使用你在 Cloudflare 绑定的固定域名。启动前要先设置访问密码。"};-function Bje(e) {- let t = e === "locked" ? "" : u0(e === "password" ? "新访问密码 *" : "设置访问密码 *", "至少 8 个字符。保存后其他设备需要重新登录。") + u0(e === "password" ? "确认新访问密码 *" : "确认访问密码 *");- return (S0[e] ? c0(S0[e]) : "") + (e === "open" ? Q1("100%", "64px") : "") + (e === "password" || e === "legacy" ? f0("关闭访问密码") : "") + (e === "password" ? u0("当前访问密码 *") : "") + t;+function Vje(e) {+ let t = e === "locked" ? "" : l0(e === "password" ? "新访问密码 *" : "设置访问密码 *", "至少 8 个字符。保存后其他设备需要重新登录。") + l0(e === "password" ? "确认新访问密码 *" : "确认访问密码 *");+ return (x0[e] ? s0(x0[e]) : "") + (e === "open" ? Z1("100%", "64px") : "") + (e === "password" || e === "legacy" ? d0("关闭访问密码") : "") + (e === "password" ? l0("当前访问密码 *") : "") + t;}-var Vje = () => {- let e = G1("network"), t = typeof e?.access == "string" && e.access ? e.access : "legacy", n = K1(e?.tunnelNamed), r = (n && K1(e?.tunnelNamedMode) ? c0(C0.named) + u0("公开主机名", "Cloudflare Zero Trust 里指向这台电脑的主机名。") + u0("隧道令牌", X1("16em")) : c0(C0.quick)) + (K1(e?.tunnelNote) ? Q1("100%", "64px") : ""), i = q1(e?.addresses, 3), a = Array.from({ length: i }, (e, t) => `<div class="flex min-w-0 flex-wrap items-end gap-2"><div class="min-w-0 flex-1">${u0([+var Hje = () => {+ let e = W1("network"), t = typeof e?.access == "string" && e.access ? e.access : "legacy", n = G1(e?.tunnelNamed), r = (n && G1(e?.tunnelNamedMode) ? s0(S0.named) + l0("公开主机名", "Cloudflare Zero Trust 里指向这台电脑的主机名。") + l0("隧道令牌", Y1("16em")) : s0(S0.quick)) + (G1(e?.tunnelNote) ? Z1("100%", "64px") : ""), i = K1(e?.addresses, 3), a = Array.from({ length: i }, (e, t) => `<div class="flex min-w-0 flex-wrap items-end gap-2"><div class="min-w-0 flex-1">${l0(["本机地址","手机连接地址","备用 IP 地址"- ][t])}</div>${t0("复制地址", "secondary")}</div>`).join("");- return (i || K1(e?.port) ? i0("访问地址", r0(a + (i ? Q1("100%", "40px") : "") + (K1(e?.networkEditable) ? `<div class="flex flex-col gap-1.5">${l0("谁可以访问")}${Q1("min(100%, 20em)", "36px")}</div>` + (K1(e?.lan) ? u0("局域网访问地址") : "") : "") + (K1(e?.port) ? u0("端口") : "")), K1(e?.port) ? t0("保存配置") : "", K1(e?.port) ? { status: "保存后 Peach 会重启,并跳转到新地址。" } : {}) : "") + i0("访问密码", r0(Bje(t)), t === "locked" ? "" : t0("保存配置")) + i0("Cloudflare 公网入口", r0((n ? Q1("10.5em", "36px") : "") + r), t0("启动公网入口", n ? "secondary" : "primary") + (n ? t0("保存配置") : ""), { aside: $1() }) + i0("Peach 代理", o0("连接方式", "Peach 访问外网和采集来源时使用。", "ui-configuration-skeleton-select") + (K1(e?.proxyAddress) ? r0(u0("代理地址"), !0) : ""), t0("保存配置"));-}, Hje = [+ ][t])}</div>${e0("复制地址", "secondary")}</div>`).join("");+ return (i || G1(e?.port) ? r0("访问地址", n0(a + (i ? Z1("100%", "40px") : "") + (G1(e?.networkEditable) ? `<div class="flex flex-col gap-1.5">${c0("谁可以访问")}${Z1("min(100%, 20em)", "36px")}</div>` + (G1(e?.lan) ? l0("局域网访问地址") : "") : "") + (G1(e?.port) ? l0("端口") : "")), G1(e?.port) ? e0("保存配置") : "", G1(e?.port) ? { status: "保存后 Peach 会重启,并跳转到新地址。" } : {}) : "") + r0("访问密码", n0(Vje(t)), t === "locked" ? "" : e0("保存配置")) + r0("Cloudflare 公网入口", n0((n ? Z1("10.5em", "36px") : "") + r), e0("启动公网入口", n ? "secondary" : "primary") + (n ? e0("保存配置") : ""), { aside: Q1() }) + r0("Peach 代理", a0("连接方式", "Peach 访问外网和采集来源时使用。", "ui-configuration-skeleton-select") + (G1(e?.proxyAddress) ? n0(l0("代理地址"), !0) : ""), e0("保存配置"));+}, Uje = ["版本","操作系统","数据目录","设置文件","日志目录"-], Uje = () => {- let e = G1("maintenance"), t = [+], Wje = () => {+ let e = W1("maintenance"), t = ["当前版本","安装方式","更新通道","最新版本","下载内容"- ].slice(0, Math.max(4, q1(e?.releaseFacts, 5))), n = q1(e?.releaseNotes, 4), r = q1(e?.storageRows, 12), i = q1(e?.storageNotes, 3), a = J1(e?.facts, 12, (e) => z(String(e))), o = `<span class="self-start">${$1("6em")}</span>`, s = (t) => !e || K1(t), c = s(e?.reporting) ? o0("发送版本统计与错误诊断(推荐)", "上传版本、系统信息、故障类型、代码位置与发生次数。") + (K1(e?.reportingIdle) ? r0(o, !0) : "") : "", l = s(e?.sharing) ? `<div class="border-t border-separator-border">${o0("上传馆藏与口味明细", K1(e?.sharingNotice) ? X1("12em") : "")}${K1(e?.sharingIdle) ? r0(o, !0) : ""}${n0(t0("预览上传内容", "secondary"))}</div>` : "";- return i0("检查更新", h0(t) + (n ? r0(c0(X1("50%")).repeat(n), !0) : ""), t0("检查更新"), {- aside: $1("4em"),- status: X1("5em")- }) + i0("自动更新", o0("自动检查新版本") + o0("自动下载更新", "发现新版本后先下载,重启安装前会询问。") + o0("检查频率", K1(e?.autoUpdateHelp) ? X1("12em") : "", "ui-configuration-skeleton-select"), t0("保存配置")) + i0("开机自启", o0("开机后启动 Peach") + o0("只启动托盘,不打开网页", "开机后在后台运行,需要时从托盘打开页面。") + o0("在桌面创建快捷方式", K1(e?.desktopNote) ? X1("12em") : "") + (K1(e?.startupNote) ? r0(c0(X1("60%")), !0) : ""), t0("保存配置")) + i0("视频播放", o0("转码方式", "用于播放时的视频转码。", "ui-configuration-skeleton-select")) + i0("存储空间", h0(["数据目录", "所在磁盘"]) + (r ? Array.from({ length: r }, () => a0(X1("6em"), "", X1("4em"))).join("") : r0(c0("统计后显示各类数据的占用,并可清理缓存与旧备份。"), !0)) + (i ? r0(c0(X1("80%")).repeat(i), !0) : ""), t0("更改位置", "secondary") + t0(r ? "重新统计" : "统计占用")) + (c || l ? i0("数据上传", c + l) : "") + i0("运行信息", h0(a.length ? a : Hje)) + `<section aria-label="新手教程" class="w-full"><div class="flex w-full flex-col rounded-2xl bg-background-secondary-default pl-3">${a0("新手教程", "在所有设备上恢复右上角教程入口,保留已读进度", t0("重新打开", "secondary"))}</div></section>` + (s(e?.uninstall) ? i0("卸载 Peach", (K1(e?.uninstallHelp) ? r0(c0("卸载移除 Peach 程序本身,原始媒体文件保留。")) : "") + o0("完全卸载", "同时删除设置、本地数据库、观看记录、凭据和缓存") + r0(m0("数据目录"), !0), t0("卸载 Peach"), { status: X1("16em") }) : "");+ ].slice(0, Math.max(4, K1(e?.releaseFacts, 5))), n = K1(e?.releaseNotes, 4), r = K1(e?.storageRows, 12), i = K1(e?.storageNotes, 3), a = q1(e?.facts, 12, (e) => z(String(e))), o = `<span class="self-start">${Q1("6em")}</span>`, s = (t) => !e || G1(t), c = s(e?.reporting) ? a0("发送版本统计与错误诊断(推荐)", "上传版本、系统信息、故障类型、代码位置与发生次数。") + (G1(e?.reportingIdle) ? n0(o, !0) : "") : "", l = s(e?.sharing) ? `<div class="border-t border-separator-border">${a0("上传馆藏与口味明细", G1(e?.sharingNotice) ? Y1("12em") : "")}${G1(e?.sharingIdle) ? n0(o, !0) : ""}${t0(e0("预览上传内容", "secondary"))}</div>` : "";+ return r0("检查更新", m0(t) + (n ? n0(s0(Y1("50%")).repeat(n), !0) : ""), e0("检查更新"), {+ aside: Q1("4em"),+ status: Y1("5em")+ }) + r0("自动更新", a0("自动检查新版本") + a0("自动下载更新", "发现新版本后先下载,重启安装前会询问。") + a0("检查频率", G1(e?.autoUpdateHelp) ? Y1("12em") : "", "ui-configuration-skeleton-select"), e0("保存配置")) + r0("开机自启", a0("开机后启动 Peach") + a0("只启动托盘,不打开网页", "开机后在后台运行,需要时从托盘打开页面。") + a0("在桌面创建快捷方式", G1(e?.desktopNote) ? Y1("12em") : "") + (G1(e?.startupNote) ? n0(s0(Y1("60%")), !0) : ""), e0("保存配置")) + r0("视频播放", a0("转码方式", "用于播放时的视频转码。", "ui-configuration-skeleton-select")) + r0("存储空间", m0(["数据目录", "所在磁盘"]) + (r ? Array.from({ length: r }, () => i0(Y1("6em"), "", Y1("4em"))).join("") : n0(s0("统计后显示各类数据的占用,并可清理缓存与旧备份。"), !0)) + (i ? n0(s0(Y1("80%")).repeat(i), !0) : ""), e0("更改位置", "secondary") + e0(r ? "重新统计" : "统计占用")) + (c || l ? r0("数据上传", c + l) : "") + r0("运行信息", m0(a.length ? a : Uje)) + `<section aria-label="新手教程" class="w-full"><div class="flex w-full flex-col rounded-2xl bg-background-secondary-default pl-3">${i0("新手教程", "在所有设备上恢复右上角教程入口,保留已读进度", e0("重新打开", "secondary"))}</div></section>` + (s(e?.uninstall) ? r0("卸载 Peach", (G1(e?.uninstallHelp) ? n0(s0("卸载移除 Peach 程序本身,原始媒体文件保留。")) : "") + a0("完全卸载", "同时删除设置、本地数据库、观看记录、凭据和缓存") + n0(p0("数据目录"), !0), e0("卸载 Peach"), { status: Y1("16em") }) : "");};-function Wje(e) {+function Gje(e) {switch (e) {- case "系统诊断": return R1();- case "来源与订阅": return Rje();- case "下载渠道": return zje();- case "网络与访问": return Vje();- case "应用与维护": return Uje();- default: return Lje();+ case "系统诊断": return L1();+ case "来源与订阅": return zje();+ case "下载渠道": return Bje();+ case "网络与访问": return Hje();+ case "应用与维护": return Wje();+ default: return Rje();}}-function Gje(e = "媒体库与入库") {- return `<div class="peach-react"><div class="ui-configpage">${`<div class="ui-board-local-nav" data-section-nav data-section-items>${Object.values(kf).map((t) => `<button type="button" tabindex="-1" aria-selected="${t === e}">${t}</button>`).join("")}</div>`}<div class="flex min-w-0 flex-col gap-6">${Wje(e)}</div></div></div>`;+function Kje(e = "媒体库与入库") {+ return `<div class="peach-react"><div class="ui-configpage">${`<div class="ui-board-local-nav" data-section-nav data-section-items>${Object.values(kf).map((t) => `<button type="button" tabindex="-1" aria-selected="${t === e}">${t}</button>`).join("")}</div>`}<div class="flex min-w-0 flex-col gap-6">${Gje(e)}</div></div></div>`;}// src/filter-controls-skeleton.ts-var w0 = (e) => e.startsWith("ri-") ? `<svg class="size-4 shrink-0" viewBox="0 0 24 24" fill="currentColor" stroke="none" aria-hidden="true"><use href="#${e}"/></svg>` : Ts(e, "size-4 shrink-0"), T0 = "inert aria-disabled=\"true\" tabindex=\"-1\" data-skeleton-control", E0 = (e, t, n) => `<span data-entity-layout="" class="${oU}" role="radiogroup" aria-label="${z(e)}">${n.map(([e, n, r]) => `<span class="${sU}" role="radio" aria-label="${z(n)}" aria-checked="${e === t}" data-glass-segment=""${e === t ? " data-selected=\"\"" : ""} ${T0}>${w0(r)}</span>`).join("")}</span>`;-function D0(e, t, { folders: n = !0 } = {}) {- let r = lG(), i = new URLSearchParams(location.search), a = t && r === "cards" ? E0(t.label, t.value, t.options) : "", o = n ? `<button type="button" data-folder-mode-toggle="" aria-label="文件夹模式" aria-pressed="${i.get("browse") === "folders" || !!i.get("folder")}" ${T0}>${w0("ri-folder-3-line")}</button>` : "";- return `<span data-entity-sorts=""><button type="button" data-entity-batch="" data-filter-action="" aria-label="换一批" ${T0}>${w0("shuffle")}</button>${a}${E0("馆藏显示方式", r, [[+var C0 = (e) => e.startsWith("ri-") ? `<svg class="size-4 shrink-0" viewBox="0 0 24 24" fill="currentColor" stroke="none" aria-hidden="true"><use href="#${e}"/></svg>` : Ts(e, "size-4 shrink-0"), w0 = "inert aria-disabled=\"true\" tabindex=\"-1\" data-skeleton-control", T0 = (e, t, n) => `<span data-entity-layout="" class="${oU}" role="radiogroup" aria-label="${z(e)}">${n.map(([e, n, r]) => `<span class="${sU}" role="radio" aria-label="${z(n)}" aria-checked="${e === t}" data-glass-segment=""${e === t ? " data-selected=\"\"" : ""} ${w0}>${C0(r)}</span>`).join("")}</span>`;+function E0(e, t, { folders: n = !0 } = {}) {+ let r = cG(), i = new URLSearchParams(location.search), a = t && r === "cards" ? T0(t.label, t.value, t.options) : "", o = n ? `<button type="button" data-folder-mode-toggle="" aria-label="文件夹模式" aria-pressed="${i.get("browse") === "folders" || !!i.get("folder")}" ${w0}>${C0("ri-folder-3-line")}</button>` : "";+ return `<span data-entity-sorts=""><button type="button" data-entity-batch="" data-filter-action="" aria-label="换一批" ${w0}>${C0("shuffle")}</button>${a}${T0("馆藏显示方式", r, [["cards","卡片","ri-layout-grid-line"@@ -72529,21 +72529,21 @@ function D0(e, t, { folders: n = !0 } = {}) {"list","列表","ri-list-unordered"- ]])}${o}${e.map((e) => `<button type="button" data-entity-sort="${z(e.key)}" aria-pressed="${e.pressed}" ${T0}>${z(e.label)}${e.dir ? w0(e.dir === "asc" ? "arrow-up" : "arrow-down") : ""}</button>`).join("")}</span>`;+ ]])}${o}${e.map((e) => `<button type="button" data-entity-sort="${z(e.key)}" aria-pressed="${e.pressed}" ${w0}>${z(e.label)}${e.dir ? C0(e.dir === "asc" ? "arrow-up" : "arrow-down") : ""}</button>`).join("")}</span>`;}// src/catalog-filter-skeleton.ts-var O0 = 64, k0 = (e) => e.replace(/[&<>"]/g, (e) => ({+var D0 = 64, O0 = (e) => e.replace(/[&<>"]/g, (e) => ({"&": "&","<": "<",">": ">","\"": """-})[e]), Kje = (e) => e.repeat(O0), A0 = (e) => Kje(`<span data-catalog-placeholder="${e}" aria-hidden="true"><span></span><span> </span></span>`);-function qje(e, t, n) {- let r = e.map((e) => `<a href="${k0(e.href)}" data-catalog-view="${k0(e.k)}" data-entity-press="" aria-pressed="${t === e.k}">${k0(e.label)}</a>`).join(""), i = RG();- return `<div class="peach-react"><div class="contents" data-catalog-root="" data-loading=""><div data-catalog-tiers="" aria-busy="true"${i.performers || i.studios ? "" : " hidden"}>` + (i.performers ? `<div data-catalog-tier="performers" data-skeleton="tiers">${A0("performer")}</div>` : "") + (i.studios ? `<div data-catalog-tier="studios">${A0("studio")}</div>` : "") + `</div><div role="group" aria-label="筛选与排序" data-filter-glass="" data-glass-pane="" data-filter-frame="" data-catalog-frame="" class="sticky top-topbar z-10 mb-5.5 flex flex-col mx-4"><div role="group" aria-label="视图与标签" data-filter-row="top" class="flex h-12 min-w-0 items-center overscroll-x-contain px-3 py-2 gap-1.5 overflow-visible"><div data-catalog-scroll=""><div role="group" aria-label="视图" data-catalog-views="">${r}<span data-entity-sep="" aria-hidden="true"></span></div><div data-catalog-tags=""><span data-catalog-placeholder="tag" aria-hidden="true">` + "<span></span>".repeat(O0) + `</span></div></div></div><div data-filter-row="bottom" aria-busy="true" class="flex min-w-0 items-center gap-3 px-3 py-2 min-h-12"><span data-catalog-summary=""><span data-catalog-readout=""><span data-skeleton="count" aria-hidden="true" class="relative inline-block h-3.5 w-37.5 rounded-md align-middle skeleton-sheen"></span></span>${Es()}</span>` + (n ? D0(n.sorts, n.layout) : "") + "</div></div></div></div>";+})[e]), qje = (e) => e.repeat(D0), k0 = (e) => qje(`<span data-catalog-placeholder="${e}" aria-hidden="true"><span></span><span> </span></span>`);+function Jje(e, t, n) {+ let r = e.map((e) => `<a href="${O0(e.href)}" data-catalog-view="${O0(e.k)}" data-entity-press="" aria-pressed="${t === e.k}">${O0(e.label)}</a>`).join(""), i = LG();+ return `<div class="peach-react"><div class="contents" data-catalog-root="" data-loading=""><div data-catalog-tiers="" aria-busy="true"${i.performers || i.studios ? "" : " hidden"}>` + (i.performers ? `<div data-catalog-tier="performers" data-skeleton="tiers">${k0("performer")}</div>` : "") + (i.studios ? `<div data-catalog-tier="studios">${k0("studio")}</div>` : "") + `</div><div role="group" aria-label="筛选与排序" data-filter-glass="" data-glass-pane="" data-filter-frame="" data-catalog-frame="" class="sticky top-topbar z-10 mb-5.5 flex flex-col mx-4"><div role="group" aria-label="视图与标签" data-filter-row="top" class="flex h-12 min-w-0 items-center overscroll-x-contain px-3 py-2 gap-1.5 overflow-visible"><div data-catalog-scroll=""><div role="group" aria-label="视图" data-catalog-views="">${r}<span data-entity-sep="" aria-hidden="true"></span></div><div data-catalog-tags=""><span data-catalog-placeholder="tag" aria-hidden="true">` + "<span></span>".repeat(D0) + `</span></div></div></div><div data-filter-row="bottom" aria-busy="true" class="flex min-w-0 items-center gap-3 px-3 py-2 min-h-12"><span data-catalog-summary=""><span data-catalog-readout=""><span data-skeleton="count" aria-hidden="true" class="relative inline-block h-3.5 w-37.5 rounded-md align-middle skeleton-sheen"></span></span>${Es()}</span>` + (n ? E0(n.sorts, n.layout) : "") + "</div></div></div></div>";}// src/react/jav/release-table-columns.ts-var j0 = "peach.table.jav-releases.widths.v1", M0 = "peach.table.jav-releases.visibility.v1", Jje = {+var A0 = "peach.table.jav-releases.widths.v1", j0 = "peach.table.jav-releases.visibility.v1", Yje = {name: {width: 300,min: 240,@@ -72589,7 +72589,7 @@ var j0 = "peach.table.jav-releases.widths.v1", M0 = "peach.table.jav-releases.vimin: 112,max: 320}-}, Yje = {+}, Xje = {name: "作品",people: "艺人",studio: "厂牌",@@ -72599,12 +72599,12 @@ var j0 = "peach.table.jav-releases.widths.v1", M0 = "peach.table.jav-releases.viscore: "来源评分",release: "发行时间",actions: "操作"-}, Xje = {+}, Zje = {code: "code",dur: "duration",score: "source_score",release: "release_date"-}, N0 = [+}, M0 = ["name","people","studio",@@ -72616,18 +72616,18 @@ var j0 = "peach.table.jav-releases.widths.v1", M0 = "peach.table.jav-releases.vi"code"].map((e) => ({id: e,- label: Yje[e],- ...Jje[e],+ label: Xje[e],+ ...Yje[e],flex: e === "name",required: e === "name",visible: e !== "code"}));-function Zje() {- return LJ(N0, j0, M0);+function Qje() {+ return IJ(M0, A0, j0);}// src/jav-skeleton.ts-var P0 = (e) => `<span data-jav-skeleton-text class="skeleton block rounded-md" style="width:${e}" aria-hidden="true"></span>`, Qje = (e) => `<span data-jav-skeleton-cover class="skeleton ${e}"></span>`, F0 = "w-full min-w-0";-function I0() {+var N0 = (e) => `<span data-jav-skeleton-text class="skeleton block rounded-md" style="width:${e}" aria-hidden="true"></span>`, $je = (e) => `<span data-jav-skeleton-cover class="skeleton ${e}"></span>`, P0 = "w-full min-w-0";+function F0() {return ["w-20","w-16",@@ -72637,34 +72637,34 @@ function I0() {"w-24"].map((e) => `<span data-skeleton="tag" aria-hidden="true" class="skeleton-sheen relative block h-8 flex-none rounded-(--tag-radius) ${e}"></span>`).join("");}-function L0(e, t = hM()) {- if (e === "wants") return `<div class="flex w-full flex-col gap-8" data-skeleton="jav-wants">${P0("5em")}${Array.from({ length: 3 }, () => `<div class="flex min-w-0 gap-4 rounded-2lg bg-background-secondary-default p-6">${Qje("block w-card-cover shrink-0 aspect-card-cover rounded-2lg max-sm:w-24")}<div class="flex min-w-0 flex-1 flex-col gap-3">${P0("80%")}${P0("60%")}${P0("40%")}</div></div>`).join("")}</div>`;- let n = CM({- ...SM({+function I0(e, t = mM()) {+ if (e === "wants") return `<div class="flex w-full flex-col gap-8" data-skeleton="jav-wants">${N0("5em")}${Array.from({ length: 3 }, () => `<div class="flex min-w-0 gap-4 rounded-2lg bg-background-secondary-default p-6">${$je("block w-card-cover shrink-0 aspect-card-cover rounded-2lg max-sm:w-24")}<div class="flex min-w-0 flex-1 flex-col gap-3">${N0("80%")}${N0("60%")}${N0("40%")}</div></div>`).join("")}</div>`;+ let n = SM({+ ...xM({active: !0,home: !1,portrait: !1}),size: t});- return `<div data-media-grid class="${F0}" data-skeleton="jav-discover">${Array.from({ length: 6 }, () => `<div data-jav-skeleton-card data-media-card data-jav-card class="flex min-w-0 flex-col gap-3">+ return `<div data-media-grid class="${P0}" data-skeleton="jav-discover">${Array.from({ length: 6 }, () => `<div data-jav-skeleton-card data-media-card data-jav-card class="flex min-w-0 flex-col gap-3"><span data-jav-skeleton-cover class="skeleton block w-full rounded-2lg" style="aspect-ratio:${n}"></span><div data-media-meta><span data-jav-skeleton-avatar class="skeleton block shrink-0"></span><div data-media-text>- <div data-media-title>${P0("85%")}${P0("65%")}</div><div data-media-byline>${P0("55%")}</div>+ <div data-media-title>${N0("85%")}${N0("65%")}</div><div data-media-byline>${N0("55%")}</div><div data-media-tags><span class="skeleton block h-5 w-20 rounded-md"></span><span class="skeleton block h-5 w-24 rounded-md"></span></div></div></div><div data-jav-skeleton-actions class="flex flex-wrap gap-2"><span data-jav-skeleton-action class="skeleton block h-9 w-20 rounded-md"></span><span data-jav-skeleton-action class="skeleton block h-9 w-12 rounded-md"></span><span data-jav-skeleton-action class="skeleton block h-9 w-26 rounded-md"></span></div></div>`).join("")}</div>`;}-var $je = {+var eMe = {releases: "筛选新作",discover: "筛选推荐",wants: "筛选想要"};-function eMe(e) {- let t = new URLSearchParams(location.search).get("q") || "", n = e === "wants" ? `<div class="rounded-2lg bg-background-secondary-default px-6 py-5"><h3 class="mb-4 text-title-2-medium text-text-primary">按番号添加</h3>${P0("100%")}</div>${L0(e)}` : e === "releases" ? `<section class="flex min-w-0 flex-col gap-4">${tMe()}${lG() === "list" ? `<div data-catalog-table>${VJ(Zje())}</div>` : L0(e)}</section>` : `<section class="flex min-w-0 flex-col gap-4">${nMe()}${L0(e)}</section>`;+function tMe(e) {+ let t = new URLSearchParams(location.search).get("q") || "", n = e === "wants" ? `<div class="rounded-2lg bg-background-secondary-default px-6 py-5"><h3 class="mb-4 text-title-2-medium text-text-primary">按番号添加</h3>${N0("100%")}</div>${I0(e)}` : e === "releases" ? `<section class="flex min-w-0 flex-col gap-4">${nMe()}${cG() === "list" ? `<div data-catalog-table>${BJ(Qje())}</div>` : I0(e)}</section>` : `<section class="flex min-w-0 flex-col gap-4">${rMe()}${I0(e)}</section>`;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 min-w-0 flex-wrap items-center gap-3 max-board-narrow:gap-x-2"><h2 data-page-title class="text-display-4-medium text-text-primary max-board-narrow:text-title-1-medium">JAV</h2><div data-index-search class="ml-auto min-w-0 max-w-80 flex-1">${Ds("", t, $je[e] || "筛选")}</div>${Os({+ <div class="flex w-full flex-col gap-4"><div class="flex min-w-0 flex-wrap items-center gap-3 max-board-narrow:gap-x-2"><h2 data-page-title class="text-display-4-medium text-text-primary max-board-narrow:text-title-1-medium">JAV</h2><div data-index-search class="ml-auto min-w-0 max-w-80 flex-1">${Ds("", t, eMe[e] || "筛选")}</div>${Os({variant: "primary",label: "查找资源",attrs: "disabled data-skeleton-action"@@ -72672,7 +72672,7 @@ function eMe(e) {<div class="relative flex flex-none gap-1 overflow-x-auto max-board-narrow:gap-0">${cU.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>${n}</div></div>`;}-function tMe() {+function nMe() {let e = new URLSearchParams(location.search), t = e.get("sort") || "release_date", n = e.get("dir") === "asc" ? "asc" : "desc", r = uW.map(([e, r, i]) => ({key: e,label: r,@@ -72680,27 +72680,27 @@ function tMe() {pressed: e === t,dir: e === t ? n : ""}));- return `<div data-catalog-tiers="" aria-busy="true"><div data-catalog-tier="performers" data-skeleton="tiers">${A0("performer")}</div><div data-catalog-tier="studios">${A0("studio")}</div></div>+ return `<div data-catalog-tiers="" aria-busy="true"><div data-catalog-tier="performers" data-skeleton="tiers">${k0("performer")}</div><div data-catalog-tier="studios">${k0("studio")}</div></div><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-tags>${I0()}</div></div>+ <div data-catalog-scroll><div data-catalog-tags>${F0()}</div></div></div><div data-filter-row="bottom" aria-busy="true" class="flex min-h-12 min-w-0 items-center gap-3 px-3 py-2"><span data-catalog-readout><span data-skeleton="count" class="relative inline-block h-3.5 w-37.5 rounded-md align-middle skeleton-sheen"></span></span>- ${D0(r, {+ ${E0(r, {name: "jav-layout",label: "JAV 卡片版式",- value: hM(),- options: uM+ value: mM(),+ options: lM}, { folders: !1 })}</div></div>`;}-function nMe() {- let e = (e, t) => `<button type="button" data-entity-tag="${e}" data-entity-press="" aria-pressed="${e === "external"}" class="flex h-8 flex-none items-center gap-1.75 rounded-lg border border-dashed border-(--glass-low) bg-transparent px-2.5 text-body-2-regular leading-5 whitespace-nowrap text-inherit">${t}</button>`, t = (e, t) => `<span data-glass-segment="" ${hM() === e ? "data-selected=\"true\"" : ""} class="flex size-8 flex-none items-center justify-center rounded-lg text-(--glass-text)/62">${Ts(t, "size-4")}</span>`;+function rMe() {+ let e = (e, t) => `<button type="button" data-entity-tag="${e}" data-entity-press="" aria-pressed="${e === "external"}" class="flex h-8 flex-none items-center gap-1.75 rounded-lg border border-dashed border-(--glass-low) bg-transparent px-2.5 text-body-2-regular leading-5 whitespace-nowrap text-inherit">${t}</button>`, t = (e, t) => `<span data-glass-segment="" ${mM() === e ? "data-selected=\"true\"" : ""} class="flex size-8 flex-none items-center justify-center rounded-lg text-(--glass-text)/62">${Ts(t, "size-4")}</span>`;return `<div data-filter-glass data-glass-pane data-filter-frame data-jav-filter data-catalog-frame class="sticky top-topbar z-10 mb-5.5 flex flex-col"><div data-filter-row="top" class="flex h-12 min-w-0 items-center overscroll-x-contain px-3 py-2 gap-1.5 overflow-visible">- <div data-catalog-scroll><div data-catalog-views>${e("external", "库外发现")}${e("library", "馆藏探索")}<span data-entity-sep aria-hidden="true"></span></div><div data-catalog-tags>${I0()}</div></div>+ <div data-catalog-scroll><div data-catalog-views>${e("external", "库外发现")}${e("library", "馆藏探索")}<span data-entity-sep aria-hidden="true"></span></div><div data-catalog-tags>${F0()}</div></div></div><div data-filter-row="bottom" aria-busy="true" class="flex min-h-12 min-w-0 items-center gap-3 px-3 py-2"><span data-catalog-readout><span data-skeleton="count" class="relative inline-block h-3.5 w-37.5 rounded-md align-middle skeleton-sheen"></span></span>@@ -72712,8 +72712,8 @@ function nMe() {</div>`;}// src/management-skeletons.ts-var R0 = "relative overflow-hidden skeleton-sheen bg-background-tertiary-default rounded-lg", z0 = (e = "60%") => `<span class="${R0} inline-block max-w-full align-middle" style="width:${e};height:1em"></span>`, B0 = "disabled data-skeleton-action", V0 = "min-w-0 rounded-2-5xl bg-background-secondary-default p-5 flex flex-col gap-4 max-sm:p-4";-function rMe() {+var L0 = "relative overflow-hidden skeleton-sheen bg-background-tertiary-default rounded-lg", R0 = (e = "60%") => `<span class="${L0} inline-block max-w-full align-middle" style="width:${e};height:1em"></span>`, z0 = "disabled data-skeleton-action", B0 = "min-w-0 rounded-2-5xl bg-background-secondary-default p-5 flex flex-col gap-4 max-sm:p-4";+function iMe() {let e = ["馆藏视频","看过",@@ -72721,27 +72721,27 @@ function rMe() {"使用空间"].map((e, t) => `<div class="min-w-0 rounded-2xl shadow-card flex flex-col overflow-hidden pt-4 text-left ${t === 0 ? "ring-2 ring-border-focus-ring bg-background-primary-default" : "bg-background-secondary-default"}">- <span class="flex min-w-0 items-center gap-2 px-4 text-body-regular text-text-secondary max-sm:gap-1.5 max-sm:px-3"><i class="${R0} size-7 max-sm:size-6"></i>${e}</span>- <b class="px-4 pt-3 pb-4 text-title-1-medium max-sm:px-3 max-sm:pb-3 max-sm:text-title-3-medium">${z0("4em")}</b>- <small class="mt-auto block min-h-9.5 bg-card-footer px-4 py-2.5 text-caption-1-regular max-sm:px-3 max-sm:py-2">${z0("6em")}</small>- </div>`).join(""), t = (e) => `<section class="${V0}" data-stats-chart>- <header class="flex flex-wrap items-end justify-between gap-x-4 gap-y-1"><span class="flex min-w-0 flex-col gap-1"><h3 class="text-title-2-medium text-text-primary">${e}</h3><b class="text-display-4-medium">${z0("4em")}</b></span><small class="text-caption-1-regular text-text-secondary">个视频</small></header>+ <span class="flex min-w-0 items-center gap-2 px-4 text-body-regular text-text-secondary max-sm:gap-1.5 max-sm:px-3"><i class="${L0} size-7 max-sm:size-6"></i>${e}</span>+ <b class="px-4 pt-3 pb-4 text-title-1-medium max-sm:px-3 max-sm:pb-3 max-sm:text-title-3-medium">${R0("4em")}</b>+ <small class="mt-auto block min-h-9.5 bg-card-footer px-4 py-2.5 text-caption-1-regular max-sm:px-3 max-sm:py-2">${R0("6em")}</small>+ </div>`).join(""), t = (e) => `<section class="${B0}" data-stats-chart>+ <header class="flex flex-wrap items-end justify-between gap-x-4 gap-y-1"><span class="flex min-w-0 flex-col gap-1"><h3 class="text-title-2-medium text-text-primary">${e}</h3><b class="text-display-4-medium">${R0("4em")}</b></span><small class="text-caption-1-regular text-text-secondary">个视频</small></header><svg class="h-75 w-full max-sm:h-65 text-background-tertiary-default" viewBox="0 0 200 200" fill="none" stroke="currentColor" stroke-width="12">${[76,54,32].map((e) => `<circle cx="100" cy="100" r="${e}"/>`).join("")}</svg>- <div class="inline-grid w-full grid-cols-3 gap-2 max-sm:grid-cols-2">${Array.from({ length: 3 }, () => `<div class="flex min-w-0 flex-col gap-1 rounded-xl bg-background-tertiary-default p-2.5"><span class="text-caption-1-regular">${z0()}</span><b class="text-title-2-medium">${z0("3em")}</b><small class="text-caption-1-regular">${z0()}</small></div>`).join("")}</div>+ <div class="inline-grid w-full grid-cols-3 gap-2 max-sm:grid-cols-2">${Array.from({ length: 3 }, () => `<div class="flex min-w-0 flex-col gap-1 rounded-xl bg-background-tertiary-default p-2.5"><span class="text-caption-1-regular">${R0()}</span><b class="text-title-2-medium">${R0("3em")}</b><small class="text-caption-1-regular">${R0()}</small></div>`).join("")}</div></section>`;return `<div class="peach-react"><div class="mx-auto flex w-full max-w-board flex-col gap-8">- <p class="text-caption-1-regular text-text-secondary">数据库中的当前统计 · ${z0("12em")}</p>+ <p class="text-caption-1-regular text-text-secondary">数据库中的当前统计 · ${R0("12em")}</p><div class="flex flex-col gap-4"><div class="inline-grid w-full grid-cols-2 gap-3 sm:gap-4 lg:grid-cols-4" data-stats-metrics>${e}</div><div class="flex flex-col gap-5"><div class="inline-grid w-full gap-5 md:grid-cols-2">${t("网盘与本地")}${t("媒体库")}</div><div class="inline-grid w-full gap-5 md:grid-cols-2 xl:grid-cols-3">${["时长","画质","文件类型"- ].map((e) => `<section class="${V0}"><h3 class="text-title-2-medium">${e}</h3><div class="${R0} h-64"></div></section>`).join("")}</div>+ ].map((e) => `<section class="${B0}"><h3 class="text-title-2-medium">${e}</h3><div class="${L0} h-64"></div></section>`).join("")}</div></div></div><section class="rounded-surface bg-background-secondary-default dark:bg-background-primary-default">@@ -72750,11 +72750,11 @@ function rMe() {"最近看过","标签来源"].map((e) => `<span>${e}</span>`).join("")}</div>- <div class="flex flex-col gap-3 px-4 pt-3.5 pb-4">${Array.from({ length: 5 }, () => `<div class="${R0} h-7"></div>`).join("")}</div>+ <div class="flex flex-col gap-3 px-4 pt-3.5 pb-4">${Array.from({ length: 5 }, () => `<div class="${L0} h-7"></div>`).join("")}</div></section></div></div>`;}-function iMe() {+function aMe() {let e = (e) => `<div class="inline-flex w-max max-w-full items-center gap-0.5 overflow-x-auto rounded-2lg bg-background-tertiary-default p-1" data-taste-segments>${e.map((e, t) => `<span class="flex min-h-7 flex-none items-center gap-1.5 rounded-md px-2.5 py-1 text-body-medium whitespace-nowrap text-text-secondary data-selected:bg-background-primary-default data-selected:text-text-primary data-selected:shadow-card dark:data-selected:bg-background-primary-hover"${t === 0 ? " data-selected=\"true\"" : ""}>${e}</span>`).join("")}</div>`, t = ["浏览记录","口味维度",@@ -72762,20 +72762,20 @@ function iMe() {"私有导出"].map((e) => `<div class="min-w-0 rounded-2xl shadow-card bg-background-secondary-default flex flex-col overflow-hidden pt-4 text-left">- <span class="flex min-w-0 items-center gap-2 px-4 text-body-regular text-text-secondary max-sm:gap-1.5 max-sm:px-3"><i class="${R0} size-7 max-sm:size-6"></i>${e}</span>- <b class="px-4 pt-3 pb-4 text-title-1-medium max-sm:px-3 max-sm:pb-3">${z0("4em")}</b>- <small class="mt-auto block min-h-9.5 bg-card-footer px-4 py-2.5 text-caption-1-regular max-sm:px-3 max-sm:py-2">${z0("6em")}</small>- </div>`).join(""), n = Array.from({ length: 6 }, () => `<div class="${R0} h-6"></div>`).join(""), r = (e) => `<section class="${V0}"><h3 class="text-title-2-medium text-text-primary">${e}</h3><div class="${R0} h-40"></div></section>`;+ <span class="flex min-w-0 items-center gap-2 px-4 text-body-regular text-text-secondary max-sm:gap-1.5 max-sm:px-3"><i class="${L0} size-7 max-sm:size-6"></i>${e}</span>+ <b class="px-4 pt-3 pb-4 text-title-1-medium max-sm:px-3 max-sm:pb-3">${R0("4em")}</b>+ <small class="mt-auto block min-h-9.5 bg-card-footer px-4 py-2.5 text-caption-1-regular max-sm:px-3 max-sm:py-2">${R0("6em")}</small>+ </div>`).join(""), n = Array.from({ length: 6 }, () => `<div class="${L0} h-6"></div>`).join(""), r = (e) => `<section class="${B0}"><h3 class="text-title-2-medium text-text-primary">${e}</h3><div class="${L0} h-40"></div></section>`;return `<div class="peach-react"><div class="mx-auto flex w-full max-w-board flex-col gap-8"><div class="flex flex-col gap-5"><div class="flex flex-wrap items-center justify-between gap-3">${e(["浏览器记录", "Peach 内部"])}<div class="flex flex-wrap items-center gap-2">${As("全部时间")}<span data-button-group data-split-button data-variant="primary">${Os({glyph: "compass",label: "读取浏览器历史",- attrs: B0+ attrs: z0})}${Os({glyph: "chevron-down",- attrs: B0+ attrs: z0})}</span></div></div><div class="inline-grid w-full grid-cols-2 gap-3 sm:gap-4 lg:grid-cols-4" data-taste-metrics>${t}</div>@@ -72793,11 +72793,11 @@ function iMe() {4,5].map((t) => `${(100 + e * Math.sin(t * Math.PI / 3)).toFixed(1)},${(100 - e * Math.cos(t * Math.PI / 3)).toFixed(1)}`).join(" ")}"/>`).join("")}</svg>- <small class="text-caption-1-regular">${z0("8em")}</small></div>+ <small class="text-caption-1-regular">${R0("8em")}</small></div><div class="flex min-w-0 grow flex-col justify-around gap-3">${n}</div></section><div class="inline-grid w-full items-start gap-5 lg:grid-cols-2">${r("浏览活跃时间")}${r("每日活跃")}</div>- <section class="${V0}"><h3 class="text-title-2-medium text-text-primary">创作者线索来源</h3><div class="${R0} h-72 max-sm:h-48"></div></section>+ <section class="${B0}"><h3 class="text-title-2-medium text-text-primary">创作者线索来源</h3><div class="${L0} h-72 max-sm:h-48"></div></section><section class="min-w-0 bg-background-secondary-default rounded-2xl shadow-card flex flex-col"><div class="px-4 pt-3">${e(["标签",@@ -72805,20 +72805,20 @@ function iMe() {"常访问网站","浏览线索"])}</div>- <div class="flex flex-col gap-3 px-4 pt-3.5 pb-4">${Array.from({ length: 5 }, () => `<div class="${R0} h-7"></div>`).join("")}</div>+ <div class="flex flex-col gap-3 px-4 pt-3.5 pb-4">${Array.from({ length: 5 }, () => `<div class="${L0} h-7"></div>`).join("")}</div></section></div></div></div>`;}-function aMe() {+function oMe() {let e = `<div class="duplicate-row items-center gap-3 border-t border-separator-border px-5 py-4 max-compact:p-4">- <span class="${R0} row-span-2 inline-grid aspect-16/10 w-full rounded-2lg"></span>- <span class="text-body-regular max-duplicate-narrow:col-start-2 max-duplicate-narrow:-col-end-1">${z0("70%")}</span>- ${Array.from({ length: 3 }, () => `<span class="font-mono text-caption-1-regular leading-5">${z0("3em")}</span>`).join("")}- <span class="col-start-2 -col-end-1 min-w-0 pt-0.5 font-mono text-caption-1-regular leading-5 max-duplicate-narrow:col-span-full">${z0("75%")}</span>+ <span class="${L0} row-span-2 inline-grid aspect-16/10 w-full rounded-2lg"></span>+ <span class="text-body-regular max-duplicate-narrow:col-start-2 max-duplicate-narrow:-col-end-1">${R0("70%")}</span>+ ${Array.from({ length: 3 }, () => `<span class="font-mono text-caption-1-regular leading-5">${R0("3em")}</span>`).join("")}+ <span class="col-start-2 -col-end-1 min-w-0 pt-0.5 font-mono text-caption-1-regular leading-5 max-duplicate-narrow:col-span-full">${R0("75%")}</span></div>`, t = `<section class="mb-6 overflow-hidden rounded-surface bg-background-secondary-default dark:bg-background-primary-default" data-duplicate-group><div class="flex flex-wrap items-center gap-3 bg-background-tertiary-default p-5 max-compact:p-4 dark:bg-background-secondary-default">- <b class="text-title-2-medium">${z0("5em")}</b><span class="font-mono text-caption-1-regular leading-5">${z0("8em")}</span>+ <b class="text-title-2-medium">${R0("5em")}</b><span class="font-mono text-caption-1-regular leading-5">${R0("8em")}</span><span class="ml-auto flex flex-wrap gap-2 max-compact:ml-0 max-compact:w-full">${["留最大","留最长",@@ -72827,27 +72827,27 @@ function aMe() {variant: "secondary",size: "small",label: e,- attrs: B0+ attrs: z0})).join("")}</span></div>${e.repeat(2)}</section>`;return `<div class="peach-react"><div class="mx-auto w-full max-w-board pb-10.5"><div data-collection-summary class="mb-5 flex items-end justify-between gap-4 rounded-surface bg-background-secondary-default px-6 py-5 max-compact:flex-col max-compact:items-start max-compact:gap-3 max-compact:p-4 dark:bg-background-primary-default">- <div class="flex min-w-0 flex-col gap-2"><span class="text-body-regular text-text-secondary">重复内容</span><strong class="text-display-4-medium">${z0("4em")}</strong></div><p class="text-body-regular text-text-secondary">${z0("12em")}</p>+ <div class="flex min-w-0 flex-col gap-2"><span class="text-body-regular text-text-secondary">重复内容</span><strong class="text-display-4-medium">${R0("4em")}</strong></div><p class="text-body-regular text-text-secondary">${R0("12em")}</p></div>- <div data-filter-glass data-glass-pane class="mb-5.5 flex flex-wrap items-center gap-x-2.5 gap-y-2 px-4 py-2.5"><h3 class="mr-1 text-body-medium">批量保留</h3>${["全部保留最大", "全部保留最长"].map((e) => `<button ${B0} class="h-8 rounded-full border border-separator-border px-3 text-body-2-medium">${e}</button>`).join("")}</div>+ <div data-filter-glass data-glass-pane class="mb-5.5 flex flex-wrap items-center gap-x-2.5 gap-y-2 px-4 py-2.5"><h3 class="mr-1 text-body-medium">批量保留</h3>${["全部保留最大", "全部保留最长"].map((e) => `<button ${z0} class="h-8 rounded-full border border-separator-border px-3 text-body-2-medium">${e}</button>`).join("")}</div>${t.repeat(2)}</div></div>`;}-function oMe() {+function sMe() {let e = `<li class="min-w-0 bg-background-secondary-default rounded-2xl shadow-card flex flex-col gap-3 p-3">- <div class="flex min-w-0 gap-4"><span class="${R0} inline-grid w-card-cover shrink-0 aspect-card-cover rounded-2lg"></span>- <div class="flex min-w-0 flex-1 flex-col gap-1.5"><h3 class="text-headline-medium">${z0("80%")}</h3><p class="text-body-2-regular">${z0("60%")}</p></div>+ <div class="flex min-w-0 gap-4"><span class="${L0} inline-grid w-card-cover shrink-0 aspect-card-cover rounded-2lg"></span>+ <div class="flex min-w-0 flex-1 flex-col gap-1.5"><h3 class="text-headline-medium">${R0("80%")}</h3><p class="text-body-2-regular">${R0("60%")}</p></div></div><footer class="flex justify-end">${Os({variant: "secondary",size: "small",label: "查看版本",- attrs: B0+ attrs: z0})}</footer></li>`;return `<div class="peach-react"><div class="mx-auto flex w-full max-w-board flex-col gap-8">@@ -72856,20 +72856,20 @@ function oMe() {</div></div>`;}// src/board-skeleton.ts-var H0 = (e = "60%") => `<span class="skeleton" style="width:${e}"></span>`, sMe = () => `${H0("80%")}${H0("48%")}`, U0 = (e, t) => e.repeat(t), W0 = "disabled data-skeleton-action", G0 = (e) => `<span class="skeleton skeleton-text" style="width:${e}"></span>`, K0 = (e, t, n = !1) => `<span class="skeleton" style="width:${e}px;height:${t}px;flex:none${n ? ";border-radius:50%" : ""}"></span>`, cMe = "min-w-0 bg-background-secondary-default rounded-2xl shadow-card flex flex-col gap-3 px-6 py-5 max-sm:gap-2 max-sm:p-4", q0 = () => `<div class="inline-grid w-full grid-cols-2 gap-3 sm:grid-cols-3 sm:gap-4 xl:grid-cols-6">${[+var V0 = (e = "60%") => `<span class="skeleton" style="width:${e}"></span>`, cMe = () => `${V0("80%")}${V0("48%")}`, H0 = (e, t) => e.repeat(t), U0 = "disabled data-skeleton-action", W0 = (e) => `<span class="skeleton skeleton-text" style="width:${e}"></span>`, G0 = (e, t, n = !1) => `<span class="skeleton" style="width:${e}px;height:${t}px;flex:none${n ? ";border-radius:50%" : ""}"></span>`, lMe = "min-w-0 bg-background-secondary-default rounded-2xl shadow-card flex flex-col gap-3 px-6 py-5 max-sm:gap-2 max-sm:p-4", K0 = () => `<div class="inline-grid w-full grid-cols-2 gap-3 sm:grid-cols-3 sm:gap-4 xl:grid-cols-6">${["关注创作者","启用来源","检查失败","未看更新","JAV 订阅","未看新作"-].map((e) => `<div class="${cMe}"><span class="text-body-medium text-text-secondary">${e}</span><b class="text-title-1-medium tabular-nums text-text-primary">${G0("3em")}</b></div>`).join("")}</div>`, lMe = (e = "") => FZ.some(([t]) => t === e) ? e : "list", J0 = (e) => `<div data-section-nav data-section-items class="flex max-w-full flex-nowrap overflow-x-auto">${FZ.map(([t, n]) => `<span class="whitespace-nowrap" aria-selected="${t === e}">${n}</span>`).join("")}</div>`, Y0 = (e = "") => `<span class="group inline-flex items-center select-none gap-2"><span class="flex shrink-0 items-center justify-center rounded-sm size-4 border bg-background-primary-default shadow-xs border-border-checkbox-default"></span>${e ? `<span class="text-body-medium text-text-primary">${e}</span>` : ""}</span>`, uMe = ({ table: e, sort: t, dir: n }) => {+].map((e) => `<div class="${lMe}"><span class="text-body-medium text-text-secondary">${e}</span><b class="text-title-1-medium tabular-nums text-text-primary">${W0("3em")}</b></div>`).join("")}</div>`, uMe = (e = "") => PZ.some(([t]) => t === e) ? e : "list", q0 = (e) => `<div data-section-nav data-section-items class="flex max-w-full flex-nowrap overflow-x-auto">${PZ.map(([t, n]) => `<span class="whitespace-nowrap" aria-selected="${t === e}">${n}</span>`).join("")}</div>`, J0 = (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>`, dMe = ({ table: e, sort: t, dir: n }) => {let r = ur.find(([e]) => e === t)[1];- return `<div data-responsive-toolbar class="ui-follow-skeleton-toolbar"><span data-follow-toolbar-heading data-toolbar-heading><h3 class="text-title-2-medium text-text-primary">关注列表</h3><span class="text-body-2-regular text-text-secondary">${G0("132px")}</span></span><div data-follow-toolbar-actions data-toolbar-actions>${Os({+ return `<div data-responsive-toolbar class="ui-follow-skeleton-toolbar"><span data-follow-toolbar-heading data-toolbar-heading><h3 class="text-title-2-medium text-text-primary">关注列表</h3><span class="text-body-2-regular text-text-secondary">${W0("132px")}</span></span><div data-follow-toolbar-actions data-toolbar-actions>${Os({glyph: "refresh-cw",label: "检查全部",compact: !0,- attrs: W0+ attrs: U0})}<span data-follow-toolbar-controls class="contents"><span data-button-group role="group">${Os({variant: "ghost",glyph: "layout-grid",@@ -72886,42 +72886,42 @@ var H0 = (e = "60%") => `<span class="skeleton" style="width:${e}"></span>`, sMeglyph: "chevron-up",label: "全部收起",compact: !0,- attrs: W0+ attrs: U0})}</span></div></div>`;-}, X0 = () => `<span class="flex shrink-0 items-center gap-1">${Os({+}, Y0 = () => `<span class="flex shrink-0 items-center gap-1">${Os({variant: "secondary",size: "small",glyph: "refresh-cw",- attrs: W0+ attrs: U0})}${Os({variant: "secondary",size: "small",glyph: "trash",- attrs: W0-})}</span>`, dMe = () => `<div class="flex min-h-16 flex-wrap items-center gap-3 px-2 py-3 max-sm:gap-x-2 follow-skeleton-source">${Y0()}<span class="flex min-w-0 grow basis-0 flex-col gap-0.5"><span class="text-body-medium">${G0("8em")}</span></span><span class="flex shrink-0 items-center gap-1.5">${K0(14, 14)}</span>${K0(48, 24)}<span data-follow-source-controls class="flex w-max max-w-full flex-none flex-wrap items-center gap-1.5 max-sm:w-full"><span class="shrink-0 text-body-2-regular whitespace-nowrap text-text-secondary max-sm:mr-auto max-sm:text-caption-1-regular">${G0("113px")}</span>${X0()}</span></div>`, Z0 = (e) => `<section class="min-w-0 bg-background-primary-default rounded-2xl shadow-card flex flex-col overflow-hidden p-2 follow-skeleton-author"><div class="flex flex-wrap items-center gap-3 px-2 py-2.5" data-follow-author-header data-open>${K0(32, 32, !0)}<b class="min-w-0 grow text-body-medium wrap-anywhere text-text-primary max-sm:basis-0">${G0("92px")}</b><span data-follow-author-controls class="flex w-max max-w-full flex-none flex-wrap items-center gap-2 max-sm:w-full">${Os({+ attrs: U0+})}</span>`, fMe = () => `<div class="flex min-h-16 flex-wrap items-center gap-3 px-2 py-3 max-sm:gap-x-2 follow-skeleton-source">${J0()}<span class="flex min-w-0 grow basis-0 flex-col gap-0.5"><span class="text-body-medium">${W0("8em")}</span></span><span class="flex shrink-0 items-center gap-1.5">${G0(14, 14)}</span>${G0(48, 24)}<span data-follow-source-controls class="flex w-max max-w-full flex-none flex-wrap items-center gap-1.5 max-sm:w-full"><span class="shrink-0 text-body-2-regular whitespace-nowrap text-text-secondary max-sm:mr-auto max-sm:text-caption-1-regular">${W0("113px")}</span>${Y0()}</span></div>`, X0 = (e) => `<section class="min-w-0 bg-background-primary-default rounded-2xl shadow-card flex flex-col overflow-hidden p-2 follow-skeleton-author"><div class="flex flex-wrap items-center gap-3 px-2 py-2.5" data-follow-author-header data-open>${G0(32, 32, !0)}<b class="min-w-0 grow text-body-medium wrap-anywhere text-text-primary max-sm:basis-0">${W0("92px")}</b><span data-follow-author-controls class="flex w-max max-w-full flex-none flex-wrap items-center gap-2 max-sm:w-full">${Os({variant: "secondary",size: "small",glyph: "refresh-cw",- attrs: W0-})}<span class="flex shrink-0 items-center gap-1 max-sm:mr-auto">${K0(14, 14)}${K0(14, 14)}</span><span class="flex flex-none items-center gap-2">${Os({+ attrs: U0+})}<span class="flex shrink-0 items-center gap-1 max-sm:mr-auto">${G0(14, 14)}${G0(14, 14)}</span><span class="flex flex-none items-center gap-2">${Os({variant: "secondary",size: "small",glyph: "check-check",label: "全选",- attrs: W0+ attrs: U0})}${Os({variant: "secondary",size: "small",glyph: "chevron-up",label: "收起",- attrs: W0-})}</span></span></div><div data-source-divider>${U0(dMe(), e)}</div></section>`, fMe = () => {+ attrs: U0+})}</span></span></div><div data-source-divider>${H0(fMe(), e)}</div></section>`, pMe = () => {try {return Number(JSON.parse(localStorage.getItem("peach.settings.v1") || "{}").followPageSize) || 20;} catch {return 20;}-}, pMe = [+}, mMe = [["select", ""],["author", "创作者"],["source", "来源"],@@ -72929,92 +72929,92 @@ var H0 = (e = "60%") => `<span class="skeleton" style="width:${e}"></span>`, sMe["status", "状态"],["checked", "上次检查"],["actions", ""]-], mMe = {+], hMe = {name: "author",source: "source",provider: "provider",status: "status",checked: "checked"-}, Q0 = "<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>", hMe = (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>${pMe.map(([e, r]) => r ? `<th><span class="flex items-center gap-0.5">${r}<span data-sort-indicator${mMe[t] === e ? ` data-direction="${n === "asc" ? "ascending" : "descending"}"` : ""}>${Q0}</span></span></th>` : "<th></th>").join("")}</tr></thead><tbody>${U0(`<tr>${[- Y0(),- `<span class="flex min-w-0 items-center gap-2">${K0(32, 32, !0)}${G0("5em")}</span>`,- G0("10em"),- `<span class="flex items-center gap-1.5">${K0(14, 14)}${G0("4em")}</span>`,- K0(48, 24),- G0("113px"),- X0()-].map((e) => `<td>${e}</td>`).join("")}</tr>`, e)}</tbody></table></div></div>`, gMe = (e, t) => `<div class="flex flex-wrap items-center justify-between gap-3"><span class="mr-auto text-body-2-regular text-text-secondary">${G0("111px")}</span><div data-toolbar-actions>${As(`每页 ${t} ${e ? "条" : "位"}`, { size: "sm" })}${K0(204, 32)}</div></div>`, _Me = () => `<div class="min-w-0 bg-background-secondary-default rounded-2xl shadow-card flex flex-col gap-4 px-6 py-5 max-sm:px-4 ui-follow-skeleton-surface"><h3 class="text-title-2-medium text-text-primary">${G0("120px")}</h3>${[+}, Z0 = "<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>", gMe = (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>${mMe.map(([e, r]) => r ? `<th><span class="flex items-center gap-0.5">${r}<span data-sort-indicator${hMe[t] === e ? ` data-direction="${n === "asc" ? "ascending" : "descending"}"` : ""}>${Z0}</span></span></th>` : "<th></th>").join("")}</tr></thead><tbody>${H0(`<tr>${[+ J0(),+ `<span class="flex min-w-0 items-center gap-2">${G0(32, 32, !0)}${W0("5em")}</span>`,+ W0("10em"),+ `<span class="flex items-center gap-1.5">${G0(14, 14)}${W0("4em")}</span>`,+ G0(48, 24),+ W0("113px"),+ Y0()+].map((e) => `<td>${e}</td>`).join("")}</tr>`, e)}</tbody></table></div></div>`, _Me = (e, t) => `<div class="flex flex-wrap items-center justify-between gap-3"><span class="mr-auto text-body-2-regular text-text-secondary">${W0("111px")}</span><div data-toolbar-actions>${As(`每页 ${t} ${e ? "条" : "位"}`, { size: "sm" })}${G0(204, 32)}</div></div>`, vMe = () => `<div class="min-w-0 bg-background-secondary-default rounded-2xl shadow-card flex flex-col gap-4 px-6 py-5 max-sm:px-4 ui-follow-skeleton-surface"><h3 class="text-title-2-medium text-text-primary">${W0("120px")}</h3>${["72%","56%","64%","40%"-].map((e) => `<span class="text-body-medium">${G0(e)}</span>`).join("")}</div>`, vMe = (e) => {- let t = lMe(e.followTab);- if (t !== "list") return `<div class="peach-react"><div class="mx-auto flex w-full max-w-board flex-col gap-8">${q0()}<div class="flex flex-col gap-6">${J0(t)}<div class="flex flex-col gap-4">${_Me()}</div></div></div></div>`;- let n = e.followLayout === "table", r = mr(e.followSort, e.followDir), i = e.followPageSize || fMe(), a = n ? hMe(i, r) : `${Y0("全选本页")}<div class="flex flex-col gap-3">${Z0(3)}${Z0(4)}${Z0(3)}</div>`;- return `<div class="peach-react"><div class="mx-auto flex w-full max-w-board flex-col gap-8">${q0()}<div class="flex flex-col gap-6">${J0(t)}<div class="flex flex-col gap-4"><div class="min-w-0 bg-background-secondary-default rounded-2xl shadow-card flex flex-col gap-4 px-6 py-5 max-sm:px-4 ui-follow-skeleton-surface" data-layout="${n ? "table" : "default"}">${uMe({+].map((e) => `<span class="text-body-medium">${W0(e)}</span>`).join("")}</div>`, yMe = (e) => {+ let t = uMe(e.followTab);+ if (t !== "list") return `<div class="peach-react"><div class="mx-auto flex w-full max-w-board flex-col gap-8">${K0()}<div class="flex flex-col gap-6">${q0(t)}<div class="flex flex-col gap-4">${vMe()}</div></div></div></div>`;+ let n = e.followLayout === "table", r = mr(e.followSort, e.followDir), i = e.followPageSize || pMe(), a = n ? gMe(i, r) : `${J0("全选本页")}<div class="flex flex-col gap-3">${X0(3)}${X0(4)}${X0(3)}</div>`;+ return `<div class="peach-react"><div class="mx-auto flex w-full max-w-board flex-col gap-8">${K0()}<div class="flex flex-col gap-6">${q0(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"}">${dMe({table: n,...r- })}${a}${gMe(n, i)}</div></div></div></div></div>`;+ })}${a}${_Me(n, i)}</div></div></div></div></div>`;};-function yMe() {- return `<div data-stage-grid="" aria-hidden="true"><div data-stage-media="" class="ui-skeleton-detail-media skeleton"></div><aside data-stage-side=""><div data-stage-side-content="" class="ui-skeleton-lines">${H0("85%")}${H0("65%")}${U0(sMe(), 4)}</div></aside></div>`;+function bMe() {+ return `<div data-stage-grid="" aria-hidden="true"><div data-stage-media="" class="ui-skeleton-detail-media skeleton"></div><aside data-stage-side=""><div data-stage-side-content="" class="ui-skeleton-lines">${V0("85%")}${V0("65%")}${H0(cMe(), 4)}</div></aside></div>`;}-function bMe(e, t = {}) {+function xMe(e, t = {}) {let n = "";- if (e === "/stats") n = rMe();+ if (e === "/stats") n = iMe();else if (e === "/jav") {let e = lU(new URLSearchParams(location.search).get("tab"));- n = eMe(e === "library" ? "discover" : e);- } else if (e === "/taste") n = iMe();- else if (e === "/subscriptions") n = vMe(t);- else if (e.startsWith("/settings/") && e.split("/")[2] in kf) n = Gje(kf[e.split("/")[2]]);+ n = tMe(e === "library" ? "discover" : e);+ } else if (e === "/taste") n = aMe();+ else if (e === "/subscriptions") n = yMe(t);+ else if (e.startsWith("/settings/") && e.split("/")[2] in kf) n = Kje(kf[e.split("/")[2]]);else if (e === "/tasks") n = `<div class="peach-react"><div class="mx-auto flex w-full max-w-board flex-col gap-8">${["正在进行","本次未执行","最近完成"- ].map((e) => `<section class="activitysection flex min-w-0 flex-col gap-3"><h3 class="text-title-2-medium text-text-primary">${e}</h3><div class="min-w-0 rounded-2xl shadow-card bg-background-secondary-default"><div class="flex flex-col gap-1.5 px-5 pt-5 pb-4"><span class="text-title-1-medium">${G0("8em")}</span><span class="text-caption-1-regular">${G0("14em")}</span>${G0("60%")}${G0("40%")}</div><div class="border-t border-separator-border px-5 py-2.5">${G0("6em")}</div></div></section>`).join("")}</div></div>`;- else if (e === "/duplicates") n = aMe();- else if (e === "/quality-goals") n = oMe();+ ].map((e) => `<section class="activitysection flex min-w-0 flex-col gap-3"><h3 class="text-title-2-medium text-text-primary">${e}</h3><div class="min-w-0 rounded-2xl shadow-card bg-background-secondary-default"><div class="flex flex-col gap-1.5 px-5 pt-5 pb-4"><span class="text-title-1-medium">${W0("8em")}</span><span class="text-caption-1-regular">${W0("14em")}</span>${W0("60%")}${W0("40%")}</div><div class="border-t border-separator-border px-5 py-2.5">${W0("6em")}</div></div></section>`).join("")}</div></div>`;+ else if (e === "/duplicates") n = oMe();+ else if (e === "/quality-goals") n = sMe();else if (e === "/playlists") n = `<div class="peach-react"><section class="w-full pt-1 pb-10.5"><header class="mb-4 flex items-start justify-between gap-4.5 max-board-narrow:flex-col max-board-narrow:items-stretch"><div><h2 class="mb-1 text-display-4-medium! text-text-primary">播放列表</h2><p class="text-body-2-regular text-text-secondary">保存 Mix,按自己的顺序继续播放。</p></div><div class="flex flex-wrap items-end gap-2"><div class="min-w-50 max-w-80 flex-1 basis-50 max-board-narrow:min-w-0 max-board-narrow:max-w-none"><span class="text-body-medium">新播放列表</span><span class="skeleton ui-configuration-skeleton-input mt-1.5"></span></div>${Os({label: "新建",- attrs: W0- })}</div></header><div class="mx-auto w-full max-w-board"><div class="ui-playlistcards card-grid-cover gap-4.5">${U0("<article class=\"playlistcard skeletoncard\"><i></i><b></b><em></em></article>", 6)}</div></div></section></div>`;+ attrs: U0+ })}</div></header><div class="mx-auto w-full max-w-board"><div class="ui-playlistcards card-grid-cover gap-4.5">${H0("<article class=\"playlistcard skeletoncard\"><i></i><b></b><em></em></article>", 6)}</div></div></section></div>`;else return "";return `<div class="board-page-skeleton" data-skeleton="board${e}" role="status" aria-label="正在读取页面"><div aria-hidden="true" inert>${n}</div></div>`;}// src/react/components/overlay-host.ts-function xMe(e) {+function SMe(e) {let t = e.querySelector(":scope > [data-react-overlays]");if (t) return t;let n = e.ownerDocument.createElement("div");return n.className = "peach-react", n.dataset.reactOverlays = "", e.append(n), n;}-function $0(e) {+function Q0(e) {let t = e?.ownerDocument ?? globalThis.document, n = e?.closest("dialog[open]");- return xMe(n ?? t.body);+ return SMe(n ?? t.body);}-var e2 = "[role=\"dialog\"],[role=\"listbox\"],[role=\"menu\"]";-function SMe(e) {+var $0 = "[role=\"dialog\"],[role=\"listbox\"],[role=\"menu\"]";+function CMe(e) {let t = e.querySelector(":scope > [data-react-overlays]");for (let e = t?.lastElementChild; e; e = e.previousElementSibling) {- let t = e.matches(e2) ? e : e.querySelector(e2);+ let t = e.matches($0) ? e : e.querySelector($0);if (t) return t;}return null;}-function t2(e) {+function e2(e) {let t = document.getElementById("toasts"), n = e?.open ? e : document.body;t && t.parentElement !== n && n.append(t);}// src/react/follow-detail/follow-detail.ts-var n2 = (e) => ["follow-item", e], CMe = (e) => `/api/follow?item=${encodeURIComponent(e)}`, wMe = "/api/follow/save", TMe = "/api/follow/media/hide", r2 = class extends Error {+var t2 = (e) => ["follow-item", e], wMe = (e) => `/api/follow?item=${encodeURIComponent(e)}`, TMe = "/api/follow/save", EMe = "/api/follow/media/hide", n2 = class extends Error {constructor() {super("这条关注内容已不存在");}};-async function i2(e, t) {- let n = await B(CMe(e), t);+async function r2(e, t) {+ let n = await B(wMe(e), t);for (let t of n.groups || []) {let r = la(t).find((t) => t.id === e);if (r) return {@@ -73024,9 +73024,9 @@ async function i2(e, t) {aliases: n.author_aliases || []};}- throw new r2();+ throw new n2();}-function EMe(e) {+function DMe(e) {for (let [, t] of H.getQueriesData({ queryKey: ["follow-item"] })) {if (!t?.group) continue;let n = la(t.group).find((t) => t.id === e);@@ -73037,20 +73037,20 @@ function EMe(e) {}return null;}-async function a2(e, t) {- let n = n2(e.id), r = ua(e.id), i = H.getQueryData(ia) ? null : H.fetchQuery({+async function i2(e, t) {+ let n = t2(e.id), r = ua(e.id), i = H.getQueryData(ia) ? null : H.fetchQuery({queryKey: ia,queryFn: () => aa(t)}), a = r ? {...r,item: r.item- } : H.getQueryData(n) ?? EMe(e.id);+ } : H.getQueryData(n) ?? DMe(e.id);a ? H.setQueryData(n, a) : await H.fetchQuery({queryKey: n,- queryFn: () => i2(e.id, t)+ queryFn: () => r2(e.id, t)}), await i;}-function DMe(e, t, n, r) {+function OMe(e, t, n, r) {let i = e.media_items || [], a = r === "images" ? "image" : "video", o = i.find((e) => e.media_kind === a) || i[0], s = i.length ? i.find((e) => e.index === (n ?? o.index)) || o : null, c = i.filter((e) => e.media_kind === "image"), l = c.findIndex((e) => e.index === s?.index), u = c.length > 1 && l >= 0, d = i.length > 1 && !u, f = !i.length && t && va(t).length > 1 ? t : null, p = s?.media_kind || e.media_kind || "", m = (u ? [...c, e] : [s, e]).filter((e) => !!e && (e.width || 0) > 0 && (e.height || 0) > 0);return {embedded: i,@@ -73065,32 +73065,32 @@ function DMe(e, t, n, r) {src: e.playable ? `/follow-stream?id=${e.id}${s ? `&media=${s.index}` : ""}` : ""};}-var OMe = (e) => la(e).find((e) => (e.media_items || []).some((e) => e.resource_group)), kMe = {+var kMe = (e) => la(e).find((e) => (e.media_items || []).some((e) => e.resource_group)), AMe = {"gofile.io": "Gofile","pixeldrain.com": "Pixeldrain","mega.nz": "MEGA","mega.io": "MEGA","mediafire.com": "MediaFire","drive.google.com": "Google Drive"-}, AMe = {+}, jMe = {gofile: "Gofile",pixeldrain: "Pixeldrain",mega: "MEGA",mediafire: "MediaFire",google_drive: "Google Drive"};-function jMe(e) {+function MMe(e) {try {let t = new URL(e).hostname.replace(/^www\./, "");- return kMe[t] || t;+ return AMe[t] || t;} catch {return "外部文件页";}}-function o2(e, t) {- return AMe[e?.resource_provider || ""] || t.provider_label || t.provider || "在线图片";+function a2(e, t) {+ return jMe[e?.resource_provider || ""] || t.provider_label || t.provider || "在线图片";}-function MMe(e, t, n = "") {+function NMe(e, t, n = "") {let r = n;!r && e.is_release && (r = t.variant_label || t.variant_kind || ""), r ||= t.variant_kind === "wip" ? "WIP" : t.variant_label || t.variant_kind || "视频";let i = e.is_release ? t.summary || (t.has_media ? "(仅附件)" : "(无正文)") : t.title;@@ -73099,54 +73099,54 @@ function MMe(e, t, n = "") {title: e.is_release && t.author ? `${t.author}:${i}` : i};}-var NMe = (e) => String(e.name || "").trim(), s2 = (e, t) => e.tag_types?.[t] || "unknown", PMe = /* @__PURE__ */ new Set([+var PMe = (e) => String(e.name || "").trim(), o2 = (e, t) => e.tag_types?.[t] || "unknown", FMe = /* @__PURE__ */ new Set(["artist","character","copyright","metadata","unknown"]);-function FMe(e, t) {- let n = s2(e, t);- return `r34-${PMe.has(n) ? n : "general"}`;+function IMe(e, t) {+ let n = o2(e, t);+ return `r34-${FMe.has(n) ? n : "general"}`;}-var c2 = [+var s2 = ["copyright","character","artist","general","metadata"];-function IMe(e, t) {+function LMe(e, t) {let n = e.detail_tags || e.tags || [], r = (t) => {- let n = c2.indexOf(s2(e, t));- return n < 0 ? c2.length : n;+ let n = s2.indexOf(o2(e, t));+ return n < 0 ? s2.length : n;};return [...n].sort((e, n) => r(e) - r(n) || t(e).localeCompare(t(n)));}-function l2(e, t) {+function c2(e, t) {let n = t.find((t) => t.id === e.source_id), r = t.filter((e) => n?.author_key && e.author_key === n.author_key);return !r.length && n && r.push(n), r;}-var LMe = (e, t) => ({+var RMe = (e, t) => ({sources: e.sources,aliases: e.aliases,credentials: t-}), u2 = (e) => e?.size ? { size: e.size } : {};-function RMe(e, t) {+}), l2 = (e) => e?.size ? { size: e.size } : {};+function zMe(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: o2(t, e),- ...u2(t)+ source: a2(t, e),+ ...l2(t)})) : r === "image" && i ? [{src: i,thumb: e.thumb_url || i,name: e.title,- source: o2(a, e),- ...u2(a)+ source: a2(a, e),+ ...l2(a)}] : e.thumb_url ? [{src: e.thumb_url,thumb: e.thumb_url,@@ -73154,7 +73154,7 @@ function RMe(e, t) {source: e.provider_label || e.provider || "在线图片"}] : [];}-var zMe = (e) => e === "seen" ? "已标记看过" : "已更新关注状态", d2 = "清理文件名中的特殊符号与乱码,也可按模板改名并归入目录。先预览,确认后执行;执行过的一批可以整批退回。", f2 = "指定路径时包含子目录,目录模板以该路径为起点。模板均留空时只清理文件名。", p2 = "点击参数插入光标处,选中文字可替换。方括号里的内容在字段为空时整段省略。", m2 = "按馆藏记录逐条查找本地磁盘与网盘上的文件,列出文件已不存在的记录、空文件夹,以及不再被引用的缓存。", h2 = "这些作品的源文件已删除,喜欢、稍后看、播放列表与观看历史仍保留。选择替代文件后,这些记录会转移到该文件,旧作品记录随之删除。", g2 = "勾选女优,永久删除她们在全部来源中的影片文件、影片资料和观看记录,包括回收站中的影片。女优档案和照片保留。共同出演的同一文件只删除一次。", _2 = "disabled data-skeleton-action", v2 = (e) => `<span class="skeleton skeleton-text" style="width:${e}"></span>`, y2 = (e, t, n = !1) => `<span class="skeleton" style="width:${e}px;height:${t}px;flex:none${n ? ";border-radius:50%" : ""}"></span>`, b2 = (e, t) => `<h3 class="text-title-2-medium text-text-primary${t ? ` ${t}` : ""}">${e}</h3>`, x2 = (e, { label: t = "", className: n = "" } = {}) => `<div data-input-size="medium" class="group flex h-max w-full flex-col items-start gap-1${n ? ` ${n}` : ""}">${t ? `<span class="flex items-center gap-0.5 text-body-medium text-text-primary">${t}</span>` : ""}<div 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"><span class="flex min-w-0 flex-1 items-center pl-1 font-sans text-body-regular text-text-tertiary">${e}​</span></div></div></div></div>`, BMe = [+var BMe = (e) => e === "seen" ? "已标记看过" : "已更新关注状态", u2 = "清理文件名中的特殊符号与乱码,也可按模板改名并归入目录。先预览,确认后执行;执行过的一批可以整批退回。", d2 = "指定路径时包含子目录,目录模板以该路径为起点。模板均留空时只清理文件名。", f2 = "点击参数插入光标处,选中文字可替换。方括号里的内容在字段为空时整段省略。", p2 = "按馆藏记录逐条查找本地磁盘与网盘上的文件,列出文件已不存在的记录、空文件夹,以及不再被引用的缓存。", m2 = "这些作品的源文件已删除,喜欢、稍后看、播放列表与观看历史仍保留。选择替代文件后,这些记录会转移到该文件,旧作品记录随之删除。", h2 = "勾选女优,永久删除她们在全部来源中的影片文件、影片资料和观看记录,包括回收站中的影片。女优档案和照片保留。共同出演的同一文件只删除一次。", g2 = "disabled data-skeleton-action", _2 = (e) => `<span class="skeleton skeleton-text" style="width:${e}"></span>`, v2 = (e, t, n = !1) => `<span class="skeleton" style="width:${e}px;height:${t}px;flex:none${n ? ";border-radius:50%" : ""}"></span>`, y2 = (e, t) => `<h3 class="text-title-2-medium text-text-primary${t ? ` ${t}` : ""}">${e}</h3>`, b2 = (e, { label: t = "", className: n = "" } = {}) => `<div data-input-size="medium" class="group flex h-max w-full flex-col items-start gap-1${n ? ` ${n}` : ""}">${t ? `<span class="flex items-center gap-0.5 text-body-medium text-text-primary">${t}</span>` : ""}<div 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"><span class="flex min-w-0 flex-1 items-center pl-1 font-sans text-body-regular text-text-tertiary">${e}​</span></div></div></div></div>`, VMe = ["3em","5em","5em",@@ -73164,7 +73164,7 @@ var zMe = (e) => e === "seen" ? "已标记看过" : "已更新关注状态", d2"8em","8em","10em"-], VMe = [+], HMe = ["5.8em","6.4em","7em",@@ -73174,70 +73174,70 @@ var zMe = (e) => e === "seen" ? "已标记看过" : "已更新关注状态", d2"5.8em","9em","9em"-], S2 = (e, t) => Os({+], x2 = (e, t) => Os({variant: e,size: "small",- label: v2(t)+ label: _2(t)});-function HMe() {- return `<section class="${d$("stack")}">- <div class="${l$.stack}">${b2("整理", "mb-3")}- <p class="text-body-regular text-text-secondary">${d2}</p>+function UMe() {+ return `<section class="${u$("stack")}">+ <div class="${c$.stack}">${y2("整理", "mb-3")}+ <p class="text-body-regular text-text-secondary">${u2}</p><div class="mt-3 flex flex-col gap-3">- <div class="flex min-w-0 flex-wrap items-start gap-2">${As(v2("3em"), {+ <div class="flex min-w-0 flex-wrap items-start gap-2">${As(_2("3em"), {prefix: "来源",className: "w-fit min-w-25",attrs: "aria-disabled=\"true\""})}- <div class="flex min-w-0 basis-64 flex-1 items-start gap-2">${x2("留空整理整个来源", { className: "min-w-0 flex-1" })}<button type="button" class="relative inline-flex shrink-0 items-center justify-center overflow-visible rounded-2lg bg-background-primary-default text-foreground-icon-primary border border-border-button-default shadow-xs size-9">${Ts("folder-search", "size-5 shrink-0")}</button></div>+ <div class="flex min-w-0 basis-64 flex-1 items-start gap-2">${b2("留空整理整个来源", { className: "min-w-0 flex-1" })}<button type="button" class="relative inline-flex shrink-0 items-center justify-center overflow-visible rounded-2lg bg-background-primary-default text-foreground-icon-primary border border-border-button-default shadow-xs size-9">${Ts("folder-search", "size-5 shrink-0")}</button></div></div>- <p class="text-caption-1-regular text-text-secondary">${f2}</p>- ${x2(v2("12em"), { label: "文件名模板" })}${x2(v2("8em"), { label: "目录模板" })}- <div class="flex flex-col gap-2"><p class="text-caption-1-medium text-text-secondary">套用模板</p><div class="flex flex-wrap gap-2">${BMe.map((e) => S2("secondary", e)).join("")}</div></div>- <p class="text-caption-1-regular text-text-secondary">路径示例:${v2("16em")}</p>- <div class="flex flex-col gap-2"><p class="text-caption-1-regular text-text-secondary"><strong class="text-caption-1-semibold text-text-primary">插入参数</strong>(到文件名模板)</p><div class="flex flex-wrap gap-1">${VMe.map((e) => S2("ghost", e)).join("")}</div></div>- <p class="text-caption-1-regular leading-4.5 text-text-secondary">${p2}</p>+ <p class="text-caption-1-regular text-text-secondary">${d2}</p>+ ${b2(_2("12em"), { label: "文件名模板" })}${b2(_2("8em"), { label: "目录模板" })}+ <div class="flex flex-col gap-2"><p class="text-caption-1-medium text-text-secondary">套用模板</p><div class="flex flex-wrap gap-2">${VMe.map((e) => x2("secondary", e)).join("")}</div></div>+ <p class="text-caption-1-regular text-text-secondary">路径示例:${_2("16em")}</p>+ <div class="flex flex-col gap-2"><p class="text-caption-1-regular text-text-secondary"><strong class="text-caption-1-semibold text-text-primary">插入参数</strong>(到文件名模板)</p><div class="flex flex-wrap gap-1">${HMe.map((e) => x2("ghost", e)).join("")}</div></div>+ <p class="text-caption-1-regular leading-4.5 text-text-secondary">${f2}</p></div></div>- <footer class="${u$.stack}">${Os({+ <footer class="${l$.stack}">${Os({label: "预览",- attrs: _2+ attrs: g2})}</footer></section>`;}-var UMe = () => `<section class="flex scroll-mt-20 flex-col gap-4">- <section class="${d$("split")}"><div class="${l$.split}">${b2("资源同步", "mb-2")}- <p class="max-w-190 text-body-2-regular leading-5 text-text-secondary">${m2}</p></div>- <footer class="${u$.split}">${Os({+var WMe = () => `<section class="flex scroll-mt-20 flex-col gap-4">+ <section class="${u$("split")}"><div class="${c$.split}">${y2("资源同步", "mb-2")}+ <p class="max-w-190 text-body-2-regular leading-5 text-text-secondary">${p2}</p></div>+ <footer class="${l$.split}">${Os({glyph: "git-compare",label: "检查文件",- attrs: _2+ attrs: g2})}</footer></section>-</section>`, C2 = (e, t = !1) => `<div class="flex min-w-0 flex-col gap-0.5"><span class="text-caption-1-regular leading-5 text-text-secondary">${e}</span><b class="text-title-2-semibold font-bold leading-5 tabular-nums text-text-primary">${v2("3em")}</b>${t ? `<small class="text-caption-1-regular leading-5 text-text-secondary">${v2("14em")}</small>` : ""}</div>`, WMe = () => `<section class="flex scroll-mt-20 flex-col gap-4">- <section class="${d$("stack")}"><div class="${l$.stack}">${b2("链接管理", "mb-2")}- <div class="link-stat-grid mt-4 gap-x-8 gap-y-3">${C2("链接总数", !0)}${[+</section>`, S2 = (e, t = !1) => `<div class="flex min-w-0 flex-col gap-0.5"><span class="text-caption-1-regular leading-5 text-text-secondary">${e}</span><b class="text-title-2-semibold font-bold leading-5 tabular-nums text-text-primary">${_2("3em")}</b>${t ? `<small class="text-caption-1-regular leading-5 text-text-secondary">${_2("14em")}</small>` : ""}</div>`, GMe = () => `<section class="flex scroll-mt-20 flex-col gap-4">+ <section class="${u$("stack")}"><div class="${c$.stack}">${y2("链接管理", "mb-2")}+ <div class="link-stat-grid mt-4 gap-x-8 gap-y-3">${S2("链接总数", !0)}${[0,1,2-].map(() => C2(v2("5em"))).join("")}</div>+].map(() => S2(_2("5em"))).join("")}</div><div class="mt-4 flex min-w-0 flex-col gap-0.5"><span class="text-caption-1-regular text-text-secondary">主要站点</span><div class="flex min-w-0 flex-wrap gap-x-5 gap-y-2">${["7em","10em","8em"-].map((e) => `<span class="inline-flex min-w-0 items-center gap-1.5 text-body-2-medium">${y2(16, 16)}${v2(e)}${y2(28, 24)}</span>`).join("")}</div></div></div>- <footer class="${u$.stack}">${Os({+].map((e) => `<span class="inline-flex min-w-0 items-center gap-1.5 text-body-2-medium">${v2(16, 16)}${_2(e)}${v2(28, 24)}</span>`).join("")}</div></div></div>+ <footer class="${l$.stack}">${Os({glyph: "link",label: "检查死链",- attrs: _2+ attrs: g2})}</footer></section></section>`;-function w2({ title: e, description: t, search: n = "", columns: r, rows: i }) {- let a = r.reduce((e, { width: t }) => e + t, 48), o = `<th style="width:48px"><span class="flex items-center gap-0.5">${Y0()}</span></th>${r.map(({ label: e, width: t }, n) => `<th${n ? ` style="width:${t}px"` : ""}><span class="flex items-center gap-0.5">${e}<span data-sort-indicator>${Q0}</span></span></th>`).join("")}<th data-table-space style="width:0"></th>`, s = `<tr><td>${Y0()}</td>${r.map(({ cell: e }) => `<td>${e}</td>`).join("")}<td data-table-space></td></tr>`, c = n ? `<div data-index-search class="ml-auto min-w-0 max-w-80 flex-1">${Ds("", "", n)}</div>` : "";+function C2({ title: e, description: t, search: n = "", columns: r, rows: i }) {+ let a = r.reduce((e, { width: t }) => e + t, 48), o = `<th style="width:48px"><span class="flex items-center gap-0.5">${J0()}</span></th>${r.map(({ label: e, width: t }, n) => `<th${n ? ` style="width:${t}px"` : ""}><span class="flex items-center gap-0.5">${e}<span data-sort-indicator>${Z0}</span></span></th>`).join("")}<th data-table-space style="width:0"></th>`, s = `<tr><td>${J0()}</td>${r.map(({ cell: e }) => `<td>${e}</td>`).join("")}<td data-table-space></td></tr>`, c = n ? `<div data-index-search class="ml-auto min-w-0 max-w-80 flex-1">${Ds("", "", n)}</div>` : "";return `<div data-data-table-panel class="${CU({padding: "none",className: "flex flex-col gap-4 px-6 py-5 max-sm:px-4"})}">- <div data-responsive-toolbar><div data-toolbar-heading>${b2(e, "")}<span class="text-body-2-regular tabular-nums text-text-secondary">${v2("4em")}</span></div>+ <div data-responsive-toolbar><div data-toolbar-heading>${y2(e, "")}<span class="text-body-2-regular tabular-nums text-text-secondary">${_2("4em")}</span></div><div data-toolbar-actions>${c}<div class="flex flex-none gap-2">${Os({variant: "secondary",label: "显示列"@@ -73248,38 +73248,38 @@ function w2({ title: e, description: t, search: n = "", columns: r, rows: i }) {<span class="flex flex-none items-center gap-2">${As("默认顺序", { prefix: "排序" })}${Os({variant: "secondary",glyph: "arrow-up",- attrs: _2+ attrs: g2})}</span></div></div><p class="text-body-2-regular text-text-secondary">${t}</p><div data-board-data-table data-resizable-table data-follow-table><div class="relative min-w-0"><div class="w-full overflow-x-auto"><table class="bui-table bui-table-sm" style="min-width:${a}px"><thead><tr>${o}</tr></thead><tbody>${s.repeat(i)}</tbody></table></div></div></div>- <div data-table-pagination class="flex flex-wrap items-center justify-between gap-3"><span class="mr-auto text-body-2-regular tabular-nums text-text-secondary">${v2("8em")}</span><div data-toolbar-actions>${As("每页 20 条", { size: "sm" })}</div></div>+ <div data-table-pagination class="flex flex-wrap items-center justify-between gap-3"><span class="mr-auto text-body-2-regular tabular-nums text-text-secondary">${_2("8em")}</span><div data-toolbar-actions>${As("每页 20 条", { size: "sm" })}</div></div></div>`;}-var GMe = (e, t) => `<span class="flex min-w-0 flex-1 flex-col gap-0.5"><span class="text-body-regular">${v2(e)}</span><small class="text-caption-1-regular">${v2(t)}</small></span>`, KMe = {+var KMe = (e, t) => `<span class="flex min-w-0 flex-1 flex-col gap-0.5"><span class="text-body-regular">${_2(e)}</span><small class="text-caption-1-regular">${_2(t)}</small></span>`, qMe = {organize: {label: "正在读取整理配置",- body: HMe+ body: UMe},"resource-sync": {label: "正在读取资源同步状态",- body: UMe+ body: WMe},"orphan-records": {label: "正在读取文件已丢失的记录",- body: () => `<section class="flex scroll-mt-20 flex-col gap-4">${w2({+ body: () => `<section class="flex scroll-mt-20 flex-col gap-4">${C2({title: "文件已丢失的记录",- description: h2,+ description: m2,rows: 4,columns: [{label: "作品",width: 480,- cell: `<span class="flex min-w-0 items-center gap-3"><span class="skeleton flex-none rounded-lg max-cleanup-tight:hidden" style="width:96px;height:60px"></span>${GMe("70%", "40%")}</span>`+ cell: `<span class="flex min-w-0 items-center gap-3"><span class="skeleton flex-none rounded-lg max-cleanup-tight:hidden" style="width:96px;height:60px"></span>${KMe("70%", "40%")}</span>`},{label: "个人记录",width: 176,- cell: v2("6em")+ cell: _2("6em")},{label: "操作",@@ -73288,7 +73288,7 @@ var GMe = (e, t) => `<span class="flex min-w-0 flex-1 flex-col gap-0.5"><span clvariant: "secondary",size: "small",label: "删除记录",- attrs: _2+ attrs: g2})}]@@ -73296,50 +73296,50 @@ var GMe = (e, t) => `<span class="flex min-w-0 flex-1 flex-col gap-0.5"><span cl},"media-repair": {label: "正在读取媒体修复状态",- body: zke+ body: Bke},links: {label: "正在读取链接统计",- body: WMe+ body: GMe},"batch-delete": {label: "正在读取女优列表",- body: () => `<section class="flex min-w-0 scroll-mt-20 flex-col gap-3">${w2({+ body: () => `<section class="flex min-w-0 scroll-mt-20 flex-col gap-3">${C2({title: "批量删除",- description: g2,+ description: h2,search: "搜索女优姓名或别名",rows: 12,columns: [{label: "女优",width: 280,- cell: `<span class="flex min-w-0 items-center gap-3">${y2(32, 32, !0)}${v2("5em")}</span>`+ cell: `<span class="flex min-w-0 items-center gap-3">${v2(32, 32, !0)}${_2("5em")}</span>`},{label: "影片",width: 104,- cell: v2("3em")+ cell: _2("3em")},{label: "文件",width: 104,- cell: v2("3em")+ cell: _2("3em")},{label: "登记大小",width: 136,- cell: v2("4em")+ cell: _2("4em")}]})}</section>`}};-function T2(e) {- let { label: t, body: n } = KMe[e];+function w2(e) {+ let { label: t, body: n } = qMe[e];return `<div class="peach-react" data-skeleton="cleanup/${e}" aria-busy="true" role="status" aria-label="${t}"><div aria-hidden="true" inert class="mx-auto flex w-full max-w-board flex-col gap-8">${n()}</div></div>`;}// src/management-placeholder.ts-var E2 = (e, { cards: t = !1, className: n = "", variant: r = "", count: i, fill: a, cardRatio: o, gridClass: s = "", gridSize: c = "" } = {}) => ac(e, {+var T2 = (e, { cards: t = !1, className: n = "", variant: r = "", count: i, fill: a, cardRatio: o, gridClass: s = "", gridSize: c = "" } = {}) => ac(e, {variant: r || (t ? "cards" : "panel"),className: n,gridClass: s,@@ -73347,7 +73347,7 @@ var E2 = (e, { cards: t = !1, className: n = "", variant: r = "", count: i, fill...i ? { count: i } : {},...a === void 0 ? {} : { fill: a },...o ? { cardRatio: o } : {}-}), qMe = [+}), JMe = ["元数据字段","创作者标签","厂牌 Logo",@@ -73357,39 +73357,39 @@ var E2 = (e, { cards: t = !1, className: n = "", variant: r = "", count: i, fill"FC2 评论标记","FC2 跨号相似","片尾/出处证据"-], JMe = (e = "正在读取复核队列") => `<div class="review review-workspace review-skeleton" data-skeleton="review" aria-busy="true" aria-label="${z(e)}">+], YMe = (e = "正在读取复核队列") => `<div class="review review-workspace review-skeleton" data-skeleton="review" aria-busy="true" aria-label="${z(e)}"><div class="reviewcontrols" data-section-nav><h2 class="review-category-title">复核分类</h2>- <div class="reviewtabs" data-section-items>${qMe.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="reviewtabs" data-section-items>${JMe.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>`, YMe = {- "/data-cleanup": () => Bke(),- ...Object.fromEntries(Yf.map((e) => [e.path, () => T2(e.key)])),- "/resource-sync": () => T2("resource-sync"),- "/review": () => JMe(),+ <section class="reviewsection"><div class="reviewlist">${"<div class=\"skeletoncard\" aria-hidden=\"true\"><i></i><b></b><em></em></div>".repeat(6)}</div></section></div>`, XMe = {+ "/data-cleanup": () => Vke(),+ ...Object.fromEntries(Yf.map((e) => [e.path, () => w2(e.key)])),+ "/resource-sync": () => w2("resource-sync"),+ "/review": () => YMe(),"/sources": () => `<div class="scraping-page"><p>高清图片可能要经代理才能下载,先检查连接。</p>- ${E2("正在读取采集来源", {+ ${T2("正在读取采集来源", {cards: !0,count: 4,fill: !1,className: "cleanup-skeleton"})}</div>`};-function D2(e, { followLayout: t, followSort: n, followDir: r }) {- return bMe(e, {+function E2(e, { followLayout: t, followSort: n, followDir: r }) {+ return xMe(e, {followLayout: t,...e === "/subscriptions" ? {followSort: n,followDir: r} : {}- }) || (YMe[e] ?? (() => E2("正在读取页面")))();+ }) || (XMe[e] ?? (() => T2("正在读取页面")))();}-var O2 = (e) => String(e).match(/data-skeleton="([^"]*)"/)?.[1] || "";-function k2(e, t) {- let n = e.querySelector("[data-skeleton]")?.dataset.skeleton || "", r = O2(t);+var D2 = (e) => String(e).match(/data-skeleton="([^"]*)"/)?.[1] || "";+function O2(e, t) {+ let n = e.querySelector("[data-skeleton]")?.dataset.skeleton || "", r = D2(t);r && r === n || (e.innerHTML = t, pc(e));}// src/react/components/related-section.tsx-function A2({ children: e, wireDrag: t, busy: n, empty: r, error: i, onRetry: a, online: o = !1, ...s }) {+function k2({ children: e, wireDrag: t, busy: n, empty: r, error: i, onRetry: a, online: o = !1, ...s }) {let c = (0, F.useCallback)((e) => {e && (pc(e), t(e));}, [t]);@@ -73402,7 +73402,7 @@ function A2({ children: e, wireDrag: t, busy: n, empty: r, error: i, onRetry: a,children: "接着看"}), i ? /* @__PURE__ */ (0, I.jsx)("div", {"data-related-state": "",- children: /* @__PURE__ */ (0, I.jsx)(HG, {+ children: /* @__PURE__ */ (0, I.jsx)(VG, {message: i,onRetry: a || (() => {})})@@ -73412,7 +73412,7 @@ function A2({ children: e, wireDrag: t, busy: n, empty: r, error: i, onRetry: a,size: "compact",icon: $B,title: "暂无接着看的内容",- actions: /* @__PURE__ */ (0, I.jsx)(yL, {+ actions: /* @__PURE__ */ (0, I.jsx)(vL, {size: "small",href: o ? "/follow" : "/",children: o ? "返回关注" : "浏览馆藏"@@ -73428,7 +73428,7 @@ function A2({ children: e, wireDrag: t, busy: n, empty: r, error: i, onRetry: a,});}// src/react/components/detail-continuation.tsx-function j2({ queue: e, children: t, queueCards: n }) {+function A2({ queue: e, children: t, queueCards: n }) {return /* @__PURE__ */ (0, I.jsxs)("div", {"data-detail-continuation": "","data-queue-cards": n == null ? void 0 : Math.min(3, n),@@ -73436,7 +73436,7 @@ function j2({ queue: e, children: t, queueCards: n }) {});}// src/react/components/media-carousel.tsx-function M2({ items: e, position: t, onSelect: n, below: r = !1, renderThumbnail: i }) {+function j2({ items: e, position: t, onSelect: n, below: r = !1, renderThumbnail: i }) {let a = (0, F.useRef)(null), o = e.some((e) => e.video), s = !!i;if ((0, F.useLayoutEffect)(() => {let e = a.current?.querySelector("[data-media-thumbnails]");@@ -73516,7 +73516,7 @@ function M2({ items: e, position: t, onSelect: n, below: r = !1, renderThumbnail"data-media-thumbnails": "",role: "group","aria-label": "媒体缩略图",- children: e.map((e, r) => /* @__PURE__ */ (0, I.jsx)(XMe, {+ children: e.map((e, r) => /* @__PURE__ */ (0, I.jsx)(ZMe, {item: e,selected: r === t,onSelect: n,@@ -73535,7 +73535,7 @@ function M2({ items: e, position: t, onSelect: n, below: r = !1, renderThumbnail]});}-function XMe({ item: e, selected: t, onSelect: n, render: r }) {+function ZMe({ item: e, selected: t, onSelect: n, render: r }) {let i = (0, F.useRef)(null), [a, o] = (0, F.useState)(typeof IntersectionObserver > "u");return (0, F.useEffect)(() => {if (!i.current || a) return;@@ -73561,14 +73561,14 @@ function XMe({ item: e, selected: t, onSelect: n, render: r }) {});}// src/react/follow-detail/follow-related.ts-var ZMe = (e, t, n) => [+var QMe = (e, t, n) => ["follow-feed","related",e,t,n];-function N2(e, t, n, r) {+function M2(e, t, n, r) {let i = new Set((t.group ? la(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 = la(e);@@ -73583,19 +73583,19 @@ function N2(e, t, n, r) {};}).sort((e, t) => Number(t.sameAuthor) - Number(e.sameAuthor) || t.common - e.common || e.order - t.order).slice(0, r).map((e) => e.group);}-var QMe = /* @__PURE__ */ new Set(["metadata", "artist"]);-function $Me(e, t, n) {+var $Me = /* @__PURE__ */ new Set(["metadata", "artist"]);+function eNe(e, t, n) {let r = (e) => e.detail_tags || e.tags || [], i = new Set(r(t.item)), a = t.sources.find((e) => e.id === t.item.source_id)?.author_key, o = new Map(e.flatMap((e) => e.sources || []).map((e) => [e.id, e])), s = /* @__PURE__ */ new Map();for (let t of e.flatMap((e) => e.groups || [])) for (let e of r(ga(t, n))) s.set(e, (s.get(e) || 0) + 1);return (e) => {- let t = ga(e, n), c = t.source_id === void 0 ? void 0 : o.get(t.source_id), l = r(t).filter((e) => i.has(e) && !QMe.has(t.tag_types?.[e] || "")).sort((e, t) => (s.get(e) || 0) - (s.get(t) || 0) || e.localeCompare(t));+ let t = ga(e, n), c = t.source_id === void 0 ? void 0 : o.get(t.source_id), l = r(t).filter((e) => i.has(e) && !$Me.has(t.tag_types?.[e] || "")).sort((e, t) => (s.get(e) || 0) - (s.get(t) || 0) || e.localeCompare(t));return {reasons: a && c?.author_key === a ? ["同创作者"] : [],tags: l};};}-async function eNe(e, t, n, r) {+async function tNe(e, t, n, r) {let i = e.sources.find((t) => t.id === e.item.source_id)?.author_key || "", a = {..._a(i),status: "new",@@ -73609,17 +73609,17 @@ async function eNe(e, t, n, r) {}, t), r);return o.push(n), n;}, c = await s(i, 0);- return N2(o, e, t, n).length < n && c.has_more && await s(i, (c.offset || 0) + 100), i && N2(o, e, t, n).length < n && await s("", 0), {+ return M2(o, e, t, n).length < n && c.has_more && await s(i, (c.offset || 0) + 100), i && M2(o, e, t, n).length < n && await s("", 0), {pages: o,pageParams: o.map((e) => e.offset || 0)};}// src/react/components/detail-tags.tsx-var P2 = ({ name: e }) => /* @__PURE__ */ (0, I.jsx)("span", {+var N2 = ({ name: e }) => /* @__PURE__ */ (0, I.jsx)("span", {className: "contents",dangerouslySetInnerHTML: { __html: R(e) }-}), tNe = 20;-function F2({ tags: e, candidates: t, scope: n = "local", id: r, adding: i, label: a, onOpen: o, onAdd: s, onRemove: c, busyAttrs: l }) {+}), nNe = 20;+function P2({ tags: e, candidates: t, scope: n = "local", id: r, adding: i, label: a, onOpen: o, onAdd: s, onRemove: c, busyAttrs: l }) {let [u, d] = (0, F.useState)(null), [f, p] = (0, F.useState)(!1), m = Ft({queryKey: ["tag-management", n],queryFn: ({ signal: e }) => B(`/api/tag-management${n === "online" ? "?scope=online" : ""}`, e),@@ -73635,7 +73635,7 @@ function F2({ tags: e, candidates: t, scope: n = "local", id: r, adding: i, labe}, (e) => d(e));}, [v, y] = (0, F.useState)(!1), [b, x] = (0, F.useState)([]), S = (e) => {x((t) => [...t, Un(e)]), s(e);- }, C = e.length > 24, w = C && !v ? e.filter((e, t) => t < tNe || b.includes(Un(e.k))) : e;+ }, C = e.length > 24, w = C && !v ? e.filter((e, t) => t < nNe || b.includes(Un(e.k))) : e;return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsxs)("div", {"data-stage-tags": "",@@ -73661,7 +73661,7 @@ function F2({ tags: e, candidates: t, scope: n = "local", id: r, adding: i, labe"aria-label": `修改标签 ${a(e.k)}`,...hV(!!g.busy),onClick: () => _(e),- children: /* @__PURE__ */ (0, I.jsx)(P2, { name: "pencil" })+ children: /* @__PURE__ */ (0, I.jsx)(N2, { name: "pencil" })}),/* @__PURE__ */ (0, I.jsx)("button", {type: "button",@@ -73670,7 +73670,7 @@ function F2({ tags: e, candidates: t, scope: n = "local", id: r, adding: i, labe"aria-label": `删除标签 ${a(e.k)}`,...l(e.k),onClick: () => c(e),- children: /* @__PURE__ */ (0, I.jsx)(P2, { name: "x" })+ children: /* @__PURE__ */ (0, I.jsx)(N2, { name: "x" })})]}, e.k)),@@ -73679,11 +73679,11 @@ function F2({ tags: e, candidates: t, scope: n = "local", id: r, adding: i, labesize: "small","data-tags-more": "","aria-expanded": v,- trailingIcon: v ? xB : vB,+ trailingIcon: v ? bB : _B,onClick: () => y(!v),children: v ? "收起" : `还有 ${e.length - w.length} 个`}) : null,- /* @__PURE__ */ (0, I.jsx)(nNe, {+ /* @__PURE__ */ (0, I.jsx)(rNe, {tags: e,candidates: h,label: a,@@ -73708,7 +73708,7 @@ function F2({ tags: e, candidates: t, scope: n = "local", id: r, adding: i, labe}),children: "无法读取标签候选"}) : null,- u ? /* @__PURE__ */ (0, I.jsx)(e$, {+ u ? /* @__PURE__ */ (0, I.jsx)($Q, {operation: "rename",selected: [u],scope: n,@@ -73717,7 +73717,7 @@ function F2({ tags: e, candidates: t, scope: n = "local", id: r, adding: i, labe}) : null] });}-function nNe({ tags: e, candidates: t, label: n, onAdd: r, adding: i, scope: a, onOpen: o, loading: s }) {+function rNe({ tags: e, candidates: t, label: n, onAdd: r, adding: i, scope: a, onOpen: o, loading: s }) {let c = (0, F.useRef)(null), l = (0, F.useRef)(null), u = BV(), d = (0, F.useRef)(null), f = (0, F.useRef)(!1), [p, m] = (0, F.useState)(!1), [h, g] = (0, F.useState)(""), [_, v] = (0, F.useState)(""), [y, b] = (0, F.useState)(-1), x = (0, F.useRef)({adding: i,query: h,@@ -73763,7 +73763,7 @@ function nNe({ tags: e, candidates: t, label: n, onAdd: r, adding: i, scope: a,_,t.length]);- let w = p ? que(_, t, LP()) : {+ let w = p ? Jue(_, t, IP()) : {recent: [],results: [],create: ""@@ -73806,7 +73806,7 @@ function nNe({ tags: e, candidates: t, label: n, onAdd: r, adding: i, scope: a,"aria-pressed": i,onClick: () => E(t, i),children: [- /* @__PURE__ */ (0, I.jsx)(P2, { name: i ? "check" : "tags" }),+ /* @__PURE__ */ (0, I.jsx)(N2, { name: i ? "check" : "tags" }),/* @__PURE__ */ (0, I.jsx)("span", {"data-pick-name": "",children: n(t.k)@@ -73827,7 +73827,7 @@ function nNe({ tags: e, candidates: t, label: n, onAdd: r, adding: i, scope: a,"aria-label": "添加标签","aria-expanded": p,...hV(!!i),- children: /* @__PURE__ */ (0, I.jsx)(P2, { name: "plus" })+ children: /* @__PURE__ */ (0, I.jsx)(N2, { name: "plus" })}), /* @__PURE__ */ (0, I.jsxs)("div", {ref: l,id: "tagPicker",@@ -73840,7 +73840,7 @@ function nNe({ tags: e, candidates: t, label: n, onAdd: r, adding: i, scope: a,children: [s ? /* @__PURE__ */ (0, I.jsx)("span", {className: "contents",dangerouslySetInnerHTML: { __html: Bs("正在读取标签") }- }) : /* @__PURE__ */ (0, I.jsx)(P2, { name: "search" }), /* @__PURE__ */ (0, I.jsx)("input", {+ }) : /* @__PURE__ */ (0, I.jsx)(N2, { name: "search" }), /* @__PURE__ */ (0, I.jsx)("input", {ref: d,id: "tagPickSearch",maxLength: 80,@@ -73884,7 +73884,7 @@ function nNe({ tags: e, candidates: t, label: n, onAdd: r, adding: i, scope: a,onClick: () => {C(), r(w.create);},- children: [/* @__PURE__ */ (0, I.jsx)(P2, { name: "plus" }), /* @__PURE__ */ (0, I.jsxs)("span", {+ children: [/* @__PURE__ */ (0, I.jsx)(N2, { name: "plus" }), /* @__PURE__ */ (0, I.jsxs)("span", {"data-pick-name": "",children: ["新建“",@@ -73901,7 +73901,7 @@ function nNe({ tags: e, candidates: t, label: n, onAdd: r, adding: i, scope: a,})] });}// src/react/follow-detail/follow-tags.tsx-function rNe({ item: e, label: t, actions: n }) {+function iNe({ item: e, label: t, actions: n }) {let r = hH(), i = () => H.invalidateQueries({ predicate: (e) => ["follow-feed","follow",@@ -73925,7 +73925,7 @@ function rNe({ item: e, label: t, actions: n }) {}, "POST", t);a(n), await i();}, () => {- o === "add" && RP(s);+ o === "add" && LP(s);let r = o === "add" ? "remove" : e.custom_tags?.includes(s) ? "add" : "restore";n.toast(o === "add" ? `已添加标签「${t(s)}」` : `已删除标签「${t(s)}」`, { undo: async () => {let t = await V("/api/follow/tag", {@@ -73941,10 +73941,10 @@ function rNe({ item: e, label: t, actions: n }) {"aria-label": "内容标签","data-follow-tag-editor": "","data-follow-detail-tags": "",- children: [/* @__PURE__ */ (0, I.jsx)(F2, {- tags: IMe(e, t).map((t) => ({+ children: [/* @__PURE__ */ (0, I.jsx)(P2, {+ tags: LMe(e, t).map((t) => ({k: t,- cat: FMe(e, t)+ cat: IMe(e, t)})),scope: "online",adding: !!r.busy,@@ -73961,22 +73961,22 @@ function rNe({ item: e, label: t, actions: n }) {});}// src/react/follow-detail/follow-detail-page.tsx-var I2 = (e) => Number(e) > 0, iNe = ({ name: e }) => /* @__PURE__ */ (0, I.jsx)("span", {+var F2 = (e) => Number(e) > 0, aNe = ({ name: e }) => /* @__PURE__ */ (0, I.jsx)("span", {className: "contents",dangerouslySetInnerHTML: { __html: R(e) }-}), L2 = R("external-link", "ui-externalmark");-function aNe(e) {+}), I2 = R("external-link", "ui-externalmark");+function oNe(e) {let { id: t, actions: n } = e, r = Ft({- queryKey: n2(t),- queryFn: ({ signal: e }) => i2(t, e)+ queryKey: t2(t),+ queryFn: ({ signal: e }) => r2(t, e)}), i = Ft({queryKey: ia,queryFn: ({ signal: e }) => aa(e)}), a = (0, F.useMemo)(() => new Set((i.data?.providers || []).filter((e) => e.present).map((e) => e.provider)), [i.data]), [o, s] = (0, F.useState)(e.mediaIndex);- return r.data ? /* @__PURE__ */ (0, I.jsx)(cNe, {+ return r.data ? /* @__PURE__ */ (0, I.jsx)(lNe, {...e,data: r.data,- context: LMe(r.data, a),+ context: RMe(r.data, a),mediaIndex: o,onMedia: s}) : /* @__PURE__ */ (0, I.jsx)("div", {@@ -73985,9 +73985,9 @@ function aNe(e) {children: /* @__PURE__ */ (0, I.jsxs)("div", {"data-stage-media": "","data-follow-detail-media": "none",- children: [/* @__PURE__ */ (0, I.jsx)(R2, { onClose: n.close }), /* @__PURE__ */ (0, I.jsx)("div", {+ children: [/* @__PURE__ */ (0, I.jsx)(L2, { onClose: n.close }), /* @__PURE__ */ (0, I.jsx)("div", {"data-follow-detail-placeholder": "",- children: r.isError ? oNe(r.error) ? /* @__PURE__ */ (0, I.jsx)(sNe, { onBack: n.close }) : /* @__PURE__ */ (0, I.jsx)(HG, {+ children: r.isError ? sNe(r.error) ? /* @__PURE__ */ (0, I.jsx)(cNe, { onBack: n.close }) : /* @__PURE__ */ (0, I.jsx)(VG, {message: xn(r.error),onRetry: () => void r.refetch()}) : null@@ -73995,8 +73995,8 @@ function aNe(e) {})});}-var oNe = (e) => e instanceof r2 || e instanceof sr && e.status === 404;-function sNe({ onBack: e }) {+var sNe = (e) => e instanceof n2 || e instanceof sr && e.status === 404;+function cNe({ onBack: e }) {return /* @__PURE__ */ (0, I.jsx)("div", {"data-follow-detail-gone": "",onClick: (t) => {@@ -74005,7 +74005,7 @@ function sNe({ onBack: e }) {dangerouslySetInnerHTML: { __html: zs("这条关注内容已不存在,可能已被来源删除或已清理。", { actionLabel: "回到关注" }) }});}-var R2 = ({ onClose: e }) => /* @__PURE__ */ (0, I.jsx)("button", {+var L2 = ({ onClose: e }) => /* @__PURE__ */ (0, I.jsx)("button", {type: "button","data-stage-close": "",id: "closeStage",@@ -74014,8 +74014,8 @@ var R2 = ({ onClose: e }) => /* @__PURE__ */ (0, I.jsx)("button", {onClick: e,dangerouslySetInnerHTML: { __html: R("x") }});-function cNe({ data: e, context: t, mediaIndex: n, onMedia: r, mediaView: i, relatedLimit: a, helpers: o, actions: s }) {- let { item: c, group: l } = e, u = DMe(c, l, n, i), d = mNe(c, s, r), f = `${c.id}:${u.selected?.index ?? ""}`, [p, m] = (0, F.useState)({+function lNe({ data: e, context: t, mediaIndex: n, onMedia: r, mediaView: i, relatedLimit: a, helpers: o, actions: s }) {+ let { item: c, group: l } = e, u = OMe(c, l, n, i), d = hNe(c, s, r), f = `${c.id}:${u.selected?.index ?? ""}`, [p, m] = (0, F.useState)({key: "",kind: ""}), h = {@@ -74035,20 +74035,20 @@ function cNe({ data: e, context: t, mediaIndex: n, onMedia: r, mediaView: i, relc,u.kind]);- let g = !u.embedded.length && u.collection ? OMe(u.collection) : void 0, _ = u.embeddedQueue ? /* @__PURE__ */ (0, I.jsx)(H2, {+ let g = !u.embedded.length && u.collection ? kMe(u.collection) : void 0, _ = u.embeddedQueue ? /* @__PURE__ */ (0, I.jsx)(V2, {item: c,current: u.selected.index,helpers: o,actions: s,onMedia: r- }) : u.collection ? g ? /* @__PURE__ */ (0, I.jsx)(H2, {+ }) : u.collection ? g ? /* @__PURE__ */ (0, I.jsx)(V2, {item: g,current: null,helpers: o,actions: s,onMedia: r,currentId: c.id- }) : /* @__PURE__ */ (0, I.jsx)(dNe, {+ }) : /* @__PURE__ */ (0, I.jsx)(fNe, {group: u.collection,itemId: c.id,helpers: o,@@ -74058,14 +74058,14 @@ function cNe({ data: e, context: t, mediaIndex: n, onMedia: r, mediaView: i, rel"data-stage-grid": "","data-with-queue": _ ? "" : void 0,"data-follow-detail": "",- children: [/* @__PURE__ */ (0, I.jsx)(uNe, {+ children: [/* @__PURE__ */ (0, I.jsx)(dNe, {item: c,media: u,helpers: o,actions: s,onMedia: r,issues: h- }, f), /* @__PURE__ */ (0, I.jsx)(fNe, {+ }, f), /* @__PURE__ */ (0, I.jsx)(pNe, {item: c,data: e,context: t,@@ -74075,9 +74075,9 @@ function cNe({ data: e, context: t, mediaIndex: n, onMedia: r, mediaView: i, relhelpers: o,actions: s})]- }), /* @__PURE__ */ (0, I.jsx)(j2, {+ }), /* @__PURE__ */ (0, I.jsx)(A2, {queue: _,- children: a > 0 ? /* @__PURE__ */ (0, I.jsx)(lNe, {+ children: a > 0 ? /* @__PURE__ */ (0, I.jsx)(uNe, {data: e,media: u.kind === "image" ? "images" : u.kind === "video" ? "videos" : i,limit: a,@@ -74087,23 +74087,23 @@ function cNe({ data: e, context: t, mediaIndex: n, onMedia: r, mediaView: i, rel}) : null})] });}-function lNe({ data: e, media: t, limit: n, context: r, helpers: i, actions: a }) {+function uNe({ data: e, media: t, limit: n, context: r, helpers: i, actions: a }) {let o = Ft({- queryKey: ZMe(e.item.id, t, n),- queryFn: ({ signal: r }) => eNe(e, t, n, r)- }), [s] = (0, F.useState)(() => E2("正在读取推荐", {+ queryKey: QMe(e.item.id, t, n),+ queryFn: ({ signal: r }) => tNe(e, t, n, r)+ }), [s] = (0, F.useState)(() => T2("正在读取推荐", {cards: !0,className: "related-skeleton"})), c = (0, F.useMemo)(() => ({openDetail: a.openItem,openAuthor: a.openAuthor,canFlip: a.canFlip- }), [a]), l = N2(o.data?.pages || [], e, t, n), u = $Me(o.data?.pages || [], e, t), d = o.data?.pages.at(-1)?.sources || e.sources, f = {+ }), [a]), l = M2(o.data?.pages || [], e, t, n), u = eNe(o.data?.pages || [], e, t), d = o.data?.pages.at(-1)?.sources || e.sources, f = {...r,sources: d,aliases: o.data?.pages.at(-1)?.author_aliases || r.aliases};- return /* @__PURE__ */ (0, I.jsx)(A2, {+ return /* @__PURE__ */ (0, I.jsx)(k2, {online: !0,"data-follow-related": "",wireDrag: i.wireDrag,@@ -74113,11 +74113,11 @@ function lNe({ data: e, media: t, limit: n, context: r, helpers: i, actions: a }onRetry: () => {o.refetch();},- children: o.data ? l.map((e) => /* @__PURE__ */ (0, I.jsx)(PZ, {+ children: o.data ? l.map((e) => /* @__PURE__ */ (0, I.jsx)(NZ, {variant: "next",group: e,media: t,- authorSources: l2(e.primary, d),+ authorSources: c2(e.primary, d),context: f,selected: !1,selectMode: !1,@@ -74131,8 +74131,8 @@ function lNe({ data: e, media: t, limit: n, context: r, helpers: i, actions: a }})});}-function uNe({ item: e, media: t, actions: n, onMedia: r, issues: i }) {- let { kind: a, selected: o, src: s, images: c, position: l, carousel: u, frameRatio: d } = t, f = (0, F.useRef)(null), p = RMe(e, t), m = o?.thumb_url || e.thumb_url || "", h = e.playable && a === "video", g = e.playable && a === "image" ? s : e.thumb_url || "", _ = e.playable && a === "image" && m && m !== s ? m : "", [v, y] = (0, F.useState)(g), b = (0, F.useRef)({+function dNe({ item: e, media: t, actions: n, onMedia: r, issues: i }) {+ let { kind: a, selected: o, src: s, images: c, position: l, carousel: u, frameRatio: d } = t, f = (0, F.useRef)(null), p = zMe(e, t), m = o?.thumb_url || e.thumb_url || "", h = e.playable && a === "video", g = e.playable && a === "image" ? s : e.thumb_url || "", _ = e.playable && a === "image" && m && m !== s ? m : "", [v, y] = (0, F.useState)(g), b = (0, F.useRef)({item: e,selected: o}), x = (0, F.useRef)(i.failed);@@ -74146,14 +74146,14 @@ function uNe({ 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, I.jsx)(R2, { onClose: n.close }),+ /* @__PURE__ */ (0, I.jsx)(L2, { onClose: n.close }),h ? null : g ? /* @__PURE__ */ (0, I.jsx)("img", {"data-follow-detail-poster": "","data-zoomable": p.length ? "" : void 0,src: v,alt: e.title,referrerPolicy: "no-referrer",- onClick: p.length ? () => void CZ(Math.max(0, l), p) : void 0,+ onClick: p.length ? () => void SZ(Math.max(0, l), p) : void 0,onError: () => {_ && v !== _ ? (y(_), i.thumbFallback()) : i.failed();}@@ -74161,10 +74161,10 @@ function uNe({ item: e, media: t, actions: n, onMedia: r, issues: i }) {"data-follow-detail-placeholder": "",children: [/* @__PURE__ */ (0, I.jsx)("span", {className: "contents",- dangerouslySetInnerHTML: { __html: gG(e.resource_provider || e.provider) }+ dangerouslySetInnerHTML: { __html: hG(e.resource_provider || e.provider) }}), /* @__PURE__ */ (0, I.jsx)("span", { children: "没有可用预览" })]}),- u ? /* @__PURE__ */ (0, I.jsx)(M2, {+ u ? /* @__PURE__ */ (0, I.jsx)(j2, {items: c,position: l,onSelect: r,@@ -74181,11 +74181,11 @@ function uNe({ item: e, media: t, actions: n, onMedia: r, issues: i }) {]});}-var z2 = ({ kind: e }) => /* @__PURE__ */ (0, I.jsx)("span", {+var R2 = ({ kind: e }) => /* @__PURE__ */ (0, I.jsx)("span", {"data-follow-nothumb": "",dangerouslySetInnerHTML: { __html: R(e === "image" ? "image-off" : "play") }});-function B2({ src: e }) {+function z2({ src: e }) {let [t, n] = (0, F.useState)(!1);return t ? null : /* @__PURE__ */ (0, I.jsx)("img", {src: e,@@ -74195,27 +74195,27 @@ function B2({ src: e }) {onError: () => n(!0)});}-function V2(e) {+function B2(e) {return (0, F.useCallback)((t) => {t && e.wireDrag(t);}, [e]);}-function dNe({ group: e, itemId: t, helpers: n, actions: r }) {- let i = va(e), a = V2(n);- return /* @__PURE__ */ (0, I.jsx)(TK, {+function fNe({ group: e, itemId: t, helpers: n, actions: r }) {+ let i = va(e), a = B2(n);+ return /* @__PURE__ */ (0, I.jsx)(wK, {kind: "collection","data-follow-queue": "",title: "视频合集",onClose: r.close,listRef: a,- summary: `${vG(e.primary)} · ${i.length} 个视频`,+ summary: `${_G(e.primary)} · ${i.length} 个视频`,children: i.map((n) => {- let i = e.duplicates.includes(n), a = MMe(e, n, i ? n.provider_label : ""), o = i ? gG(n.provider, n.provider_label) : "";- return /* @__PURE__ */ (0, I.jsxs)(EK, {+ let i = e.duplicates.includes(n), a = NMe(e, n, i ? n.provider_label : ""), o = i ? hG(n.provider, n.provider_label) : "";+ return /* @__PURE__ */ (0, I.jsxs)(TK, {current: n.id === t,"data-follow-queue-item": n.id,onClick: () => r.openItem(n.id),- pic: /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [n.thumb_url ? /* @__PURE__ */ (0, I.jsx)(B2, { src: n.thumb_url }) : /* @__PURE__ */ (0, I.jsx)(z2, { kind: "video" }), I2(n.duration) ? /* @__PURE__ */ (0, I.jsx)("i", {+ pic: /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [n.thumb_url ? /* @__PURE__ */ (0, I.jsx)(z2, { src: n.thumb_url }) : /* @__PURE__ */ (0, I.jsx)(R2, { kind: "video" }), F2(n.duration) ? /* @__PURE__ */ (0, I.jsx)("i", {className: "mono","data-mix-item-duration": "",children: Jn(n.duration)@@ -74233,15 +74233,15 @@ function dNe({ group: e, itemId: t, helpers: n, actions: r }) {children: a.label}), /* @__PURE__ */ (0, I.jsx)("time", {dateTime: n.published_at || "",- children: DG(n)+ children: EG(n)})]})]}, n.id);})});}-function H2({ item: e, current: t, currentId: n = e.id, helpers: r, actions: i, onMedia: a }) {- let o = e.media_items || [], s = V2(r), c = [];+function V2({ item: e, current: t, currentId: n = e.id, helpers: r, actions: i, onMedia: a }) {+ let o = e.media_items || [], s = B2(r), c = [];o.forEach((e) => {let t = e.resource_group || "ungrouped", n = c.find((e) => e.key === t);n || (n = {@@ -74251,26 +74251,26 @@ function H2({ 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, I.jsx)(TK, {+ return /* @__PURE__ */ (0, I.jsx)(wK, {kind: "media","data-follow-queue": "",title: "多媒体",onClose: i.close,listRef: s,- summary: `${vG(e)} · ${o.length} 个媒体`,- children: c.map((n) => [n.label ? /* @__PURE__ */ (0, I.jsx)(vxe, {+ summary: `${_G(e)} · ${o.length} 个媒体`,+ children: c.map((n) => [n.label ? /* @__PURE__ */ (0, I.jsx)(yxe, {label: n.label,count: n.items.length- }, `label:${n.key}`) : null, ...n.items.map((n) => /* @__PURE__ */ (0, I.jsxs)(EK, {+ }, `label:${n.key}`) : null, ...n.items.map((n) => /* @__PURE__ */ (0, I.jsxs)(TK, {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, I.jsx)(B2, { src: n.thumb_url }) : /* @__PURE__ */ (0, I.jsx)(z2, { kind: n.media_kind || "" }),+ pic: n.thumb_url ? /* @__PURE__ */ (0, I.jsx)(z2, { src: n.thumb_url }) : /* @__PURE__ */ (0, I.jsx)(R2, { kind: n.media_kind || "" }),children: [/* @__PURE__ */ (0, I.jsx)("b", {"data-middle-truncate": "",- children: NMe(n)+ children: PMe(n)}), /* @__PURE__ */ (0, I.jsx)("span", {"data-truncate-end": "",children: n.media_kind === "image" ? "图片" : "视频"@@ -74278,13 +74278,13 @@ function H2({ item: e, current: t, currentId: n = e.id, helpers: r, actions: i,}, n.index))])});}-function fNe({ item: e, data: t, context: n, media: r, write: i, issue: a, helpers: o, actions: s }) {+function pNe({ item: e, data: t, context: n, media: r, write: i, issue: a, helpers: o, actions: s }) {let { kind: c, selected: l, src: u } = r, d = {primary: e,variants: [],duplicates: [],has_wip: e.variant_kind === "wip"- }, f = wG(d, e), p = SG(e, l2(e, t.sources), n), m = p.credited ? "" : e.author && Un(e.author) !== Un(p.author) ? e.author : "", h = TG(e, n), g = e.status === "saved", { busy: _ } = i, v = (e) => _.has(e) ? {+ }, f = CG(d, e), p = xG(e, c2(e, t.sources), n), m = p.credited ? "" : e.author && Un(e.author) !== Un(p.author) ? e.author : "", h = wG(e, n), g = e.status === "saved", { busy: _ } = i, v = (e) => _.has(e) ? {"aria-busy": !0,"aria-disabled": !0} : {};@@ -74300,7 +74300,7 @@ function fNe({ 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: CG(d, e) + z(vG(e)) }+ dangerouslySetInnerHTML: { __html: SG(d, e) + z(_G(e)) }}), e.url ? /* @__PURE__ */ (0, I.jsx)("a", {"data-follow-origin": "",href: e.url,@@ -74308,7 +74308,7 @@ function fNe({ item: e, data: t, context: n, media: r, write: i, issue: a, helperel: "noreferrer noopener",title: "打开来源页面","aria-label": "打开来源页面",- dangerouslySetInnerHTML: { __html: L2 }+ dangerouslySetInnerHTML: { __html: I2 }}) : null]}),/* @__PURE__ */ (0, I.jsxs)("div", {@@ -74316,8 +74316,8 @@ function fNe({ item: e, data: t, context: n, media: r, write: i, issue: a, helpe"data-stage-meta": "","data-reveal-line": "",children: [- /* @__PURE__ */ (0, I.jsx)("span", { children: DG(e) }),- I2(e.duration) ? /* @__PURE__ */ (0, I.jsx)("span", { children: Jn(e.duration) }) : null,+ /* @__PURE__ */ (0, I.jsx)("span", { children: EG(e) }),+ F2(e.duration) ? /* @__PURE__ */ (0, I.jsx)("span", { children: Jn(e.duration) }) : null,f ? /* @__PURE__ */ (0, I.jsx)("span", {"data-follow-badges": "",dangerouslySetInnerHTML: { __html: f }@@ -74334,7 +74334,7 @@ function fNe({ item: e, data: t, context: n, media: r, write: i, issue: a, helpechildren: "创作者"}), /* @__PURE__ */ (0, I.jsx)("div", {"data-id-row": "",- children: p.entityName ? /* @__PURE__ */ (0, I.jsxs)(MZ, {+ children: p.entityName ? /* @__PURE__ */ (0, I.jsxs)(jZ, {name: p.entityName,actions: s,"data-id-cell": "creator",@@ -74366,7 +74366,7 @@ function fNe({ item: e, data: t, context: n, media: r, write: i, issue: a, helpechildren: [m ? /* @__PURE__ */ (0, I.jsxs)("span", { children: ["发布者 ", m] }) : null, p.credited ? /* @__PURE__ */ (0, I.jsxs)("span", { children: ["署名含 ", p.credited] }) : null]}) : null]}),- e.summary ? /* @__PURE__ */ (0, I.jsx)(pNe, { text: e.summary }, e.id) : null,+ e.summary ? /* @__PURE__ */ (0, I.jsx)(mNe, { text: e.summary }, e.id) : null,h ? /* @__PURE__ */ (0, I.jsx)("p", {"data-follow-media-issue": "",children: h@@ -74389,9 +74389,9 @@ function fNe({ item: e, data: t, context: n, media: r, write: i, issue: a, helpehref: e,target: "_blank",rel: "noreferrer noopener",- children: [jMe(e), /* @__PURE__ */ (0, I.jsx)("span", {+ children: [MMe(e), /* @__PURE__ */ (0, I.jsx)("span", {className: "contents",- dangerouslySetInnerHTML: { __html: L2 }+ dangerouslySetInnerHTML: { __html: I2 }})]}, e))}) : null,@@ -74491,7 +74491,7 @@ function fNe({ item: e, data: t, context: n, media: r, write: i, issue: a, helpe"aria-label": `恢复显示 ${e.name || ""}`,...v(`restore:${e.index}`),onClick: () => i.restore(e.index),- children: [e.thumb_url ? /* @__PURE__ */ (0, I.jsx)(B2, { src: e.thumb_url }) : /* @__PURE__ */ (0, I.jsx)(iNe, { name: "image-off" }), /* @__PURE__ */ (0, I.jsx)("i", { dangerouslySetInnerHTML: { __html: R("rotate-ccw") } })]+ children: [e.thumb_url ? /* @__PURE__ */ (0, I.jsx)(z2, { src: e.thumb_url }) : /* @__PURE__ */ (0, I.jsx)(aNe, { name: "image-off" }), /* @__PURE__ */ (0, I.jsx)("i", { dangerouslySetInnerHTML: { __html: R("rotate-ccw") } })]}, e.index))})]}) : null,@@ -74500,7 +74500,7 @@ function fNe({ item: e, data: t, context: n, media: r, write: i, issue: a, helpe"aria-live": "polite",children: i.failure}),- /* @__PURE__ */ (0, I.jsx)(rNe, {+ /* @__PURE__ */ (0, I.jsx)(iNe, {item: e,label: o.tagLabel,actions: s@@ -74509,7 +74509,7 @@ function fNe({ item: e, data: t, context: n, media: r, write: i, issue: a, helpe})});}-function pNe({ text: e }) {+function mNe({ text: e }) {let t = (0, F.useRef)(null), [n, r] = (0, F.useState)(!1), [i, a] = (0, F.useState)(!1);return (0, F.useLayoutEffect)(() => {let e = t.current;@@ -74522,7 +74522,7 @@ function pNe({ text: e }) {ref: t,"data-follow-detail-summary": "","data-long-text": "",- lang: BI(e),+ lang: zI(e),"data-clamped": n ? void 0 : "",children: e}), i || n ? /* @__PURE__ */ (0, I.jsx)(J, {@@ -74534,8 +74534,8 @@ function pNe({ text: e }) {children: n ? "收起" : "展开"}) : null] });}-function mNe(e, t, n) {- let r = e.id, i = n2(r), [a, o] = (0, F.useState)(() => /* @__PURE__ */ new Set()), [s, c] = (0, F.useState)(""), l = (e, t) => o((n) => {+function hNe(e, t, n) {+ let r = e.id, i = t2(r), [a, o] = (0, F.useState)(() => /* @__PURE__ */ new Set()), [s, c] = (0, F.useState)(""), l = (e, t) => o((n) => {let r = new Set(n);return t ? r.add(e) : r.delete(e), r;}), u = (e) => {@@ -74554,7 +74554,7 @@ function mNe(e, t, n) {to: e}),onSuccess: (e, { to: n, was: i }) => {- u(n), c(""), n === "ignored" && cW(), t.toast(zMe(n), { undo: i === "saved" ? void 0 : async () => {+ u(n), c(""), n === "ignored" && cW(), t.toast(BMe(n), { undo: i === "saved" ? void 0 : async () => {await V(Mr, {item: r,to: i@@ -74564,7 +74564,7 @@ function mNe(e, t, n) {onError: d,onSettled: (e, t, { to: n }) => l(n, !1)}), p = It({- mutationFn: () => V(wMe, { item: r }),+ mutationFn: () => V(TMe, { item: r }),onSuccess: () => {u("saved"), c(""), t.toast("已保存到数据库");},@@ -74572,7 +74572,7 @@ function mNe(e, t, n) {onSettled: () => l("save", !1)}), m = It({mutationFn: async ({ index: e, hidden: t }) => {- await V(TMe, {+ await V(EMe, {item: r,media: e,hidden: t@@ -74632,8 +74632,8 @@ function mNe(e, t, n) {};}// src/react/components/identity-cell.tsx-function U2({ kind: e, person: t, onOpen: n, hidden: r, overflow: i, face: a }) {- iL();+function H2({ kind: e, person: t, onOpen: n, hidden: r, overflow: i, face: a }) {+ rL();let o = nn(e, t.name, t.id), s = e === "performer" || e === "creator" ? /* @__PURE__ */ (0, I.jsx)("span", {"data-id-face": "",dangerouslySetInnerHTML: { __html: `<span>${z(er(o))}</span>` + go({@@ -74679,7 +74679,7 @@ function U2({ kind: e, person: t, onOpen: n, hidden: r, overflow: i, face: a })children: c});}-function W2({ people: e, onOpen: t }) {+function U2({ people: e, onOpen: t }) {if (!e.length) return null;let n = (e) => /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)("span", {className: "contents",@@ -74712,7 +74712,7 @@ function W2({ people: e, onOpen: t }) {});}// src/react/components/folded-title.ts-function G2(e) {+function W2(e) {let t = (0, F.useRef)(null), [n, r] = (0, F.useState)(!1), [i, a] = (0, F.useState)(!1);return (0, F.useLayoutEffect)(() => {let e = t.current;@@ -74729,9 +74729,9 @@ function G2(e) {};}// src/react/item-detail/catalog-picture.tsx-function K2({ item: e, image: t, source: n = !1, thumbnail: r = !1 }) {+function G2({ item: e, image: t, source: n = !1, thumbnail: r = !1 }) {let [i, a] = (0, F.useState)(""), [o, s] = (0, F.useState)(0);- if (n && t > 0 && e.code) return /* @__PURE__ */ (0, I.jsx)(mQ, {+ if (n && t > 0 && e.code) return /* @__PURE__ */ (0, I.jsx)(pQ, {item: {code: e.code,has_cover: !1,@@ -74763,34 +74763,34 @@ function K2({ item: e, image: t, source: n = !1, thumbnail: r = !1 }) {}, o);}// src/react/jav-detail/jav-detail.ts-var q2 = (e) => ["jav-detail", e], J2 = (e, t, n = !1) => B(`/api/jav/detail?code=${encodeURIComponent(e)}${n ? "&refresh=1" : ""}`, t), hNe = (e, t, n, r = !1) => B(`/api/jav/reviews?code=${encodeURIComponent(e)}&page=${t}${r ? "&refresh=1" : ""}`, n), Y2 = (e, t) => H.ensureQueryData({- queryKey: q2(e.code),- queryFn: () => J2(e.code, t),+var K2 = (e) => ["jav-detail", e], q2 = (e, t, n = !1) => B(`/api/jav/detail?code=${encodeURIComponent(e)}${n ? "&refresh=1" : ""}`, t), gNe = (e, t, n, r = !1) => B(`/api/jav/reviews?code=${encodeURIComponent(e)}&page=${t}${r ? "&refresh=1" : ""}`, n), J2 = (e, t) => H.ensureQueryData({+ queryKey: K2(e.code),+ queryFn: () => q2(e.code, t),staleTime: 216e5,revalidateIfStale: !0});-function gNe(e, t) {+function _Ne(e, t) {if (!e.ok || !e.more) return;let n = new Set(t.slice(0, -1).flatMap((e) => e.items.map((e) => e.id)));return e.items.some((e) => !n.has(e.id)) ? e.page + 1 : void 0;}// src/react/item-detail/external-playback.tsx-var X2 = "peach.playback-target.v1", Z2 = [["m3u", "M3U 播放列表"], ["url", "网络播放地址 / VR"]];-function _Ne() {+var Y2 = "peach.playback-target.v1", X2 = [["m3u", "M3U 播放列表"], ["url", "网络播放地址 / VR"]];+function vNe() {try {- return localStorage.getItem(X2) || `local:${localStorage.getItem("peach.local-player.v1") || "default"}`;+ return localStorage.getItem(Y2) || `local:${localStorage.getItem("peach.local-player.v1") || "default"}`;} catch {return "local:default";}}-function Q2({ id: e, onOpened: t }) {- let [n, r] = (0, F.useState)(null), [i, a] = (0, F.useState)(_Ne), [o, s] = (0, F.useState)(null), [c, l] = (0, F.useState)(""), [u, d] = (0, F.useState)(0), f = hH();+function Z2({ id: e, onOpened: t }) {+ let [n, r] = (0, F.useState)(null), [i, a] = (0, F.useState)(vNe), [o, s] = (0, F.useState)(null), [c, l] = (0, F.useState)(""), [u, d] = (0, F.useState)(0), f = hH();(0, F.useEffect)(() => {let e = new AbortController();return B("/api/local-players", e.signal).then((t) => {- e.signal.aborted || (r(t.players), a((e) => t.players.some((t) => `local:${t.id}` === e) || Z2.some(([t]) => t === e) ? e : t.players.length ? `local:${t.players[0].id}` : "m3u"));+ e.signal.aborted || (r(t.players), a((e) => t.players.some((t) => `local:${t.id}` === e) || X2.some(([t]) => t === e) ? e : t.players.length ? `local:${t.players[0].id}` : "m3u"));}).catch((t) => {- e.signal.aborted || (r([]), a((e) => Z2.some(([t]) => t === e) ? e : "m3u"), l(String(t.message || t)));+ e.signal.aborted || (r([]), a((e) => X2.some(([t]) => t === e) ? e : "m3u"), l(String(t.message || t)));}), () => e.abort();}, [u]);let p = () => void f.run("open", async (t) => {@@ -74814,17 +74814,17 @@ function Q2({ id: e, onOpened: t }) {children: [/* @__PURE__ */ (0, I.jsxs)("div", {"data-local-playback-row": "",- children: [/* @__PURE__ */ (0, I.jsx)(a1, {+ children: [/* @__PURE__ */ (0, I.jsx)(i1, {id: `external-player-${e}`,label: "外部播放器",- options: [...(n || []).map((e) => [`local:${e.id}`, e.label]), ...Z2],+ options: [...(n || []).map((e) => [`local:${e.id}`, e.label]), ...X2],value: i,disabled: n === null || !!f.busy,epoch: u * 2 + Number(n !== null),onPick: (e) => {a(e), s(null), f.setError("");try {- localStorage.setItem(X2, e);+ localStorage.setItem(Y2, e);} catch {}}}), /* @__PURE__ */ (0, I.jsx)(J, {@@ -74854,7 +74854,7 @@ function Q2({ id: e, onOpened: t }) {});}// src/react/boardui/components/base/switch/switch.tsx-var vNe = PI({+var yNe = NI({sm: {track: "h-4 w-7",trackRadius: {@@ -74916,8 +74916,8 @@ var vNe = PI({}}});-function yNe({ state: e, size: t = "md", shape: n = "pill" }) {- let r = vNe[t];+function bNe({ state: e, size: t = "md", shape: n = "pill" }) {+ let r = yNe[t];return /* @__PURE__ */ (0, I.jsx)("span", {"aria-hidden": !0,className: q("relative shrink-0 transition-colors duration-200 ease", r.track, r.trackRadius[n], e.isSelected ? q("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"),@@ -74927,12 +74927,12 @@ function yNe({ state: e, size: t = "md", shape: n = "pill" }) {})});}-function $2({ className: e, children: t, size: n = "md", shape: r = "pill", ref: i, ...a }) {- return /* @__PURE__ */ (0, I.jsx)(Vme, {+function Q2({ className: e, children: t, size: n = "md", shape: r = "pill", ref: i, ...a }) {+ return /* @__PURE__ */ (0, I.jsx)(Hme, {ref: i,...a,className: (t) => q("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, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(yNe, {+ children: (e) => /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(bNe, {state: e,size: n,shape: r@@ -74943,12 +74943,12 @@ function $2({ className: e, children: t, size: n = "md", shape: r = "pill", ref:});}// src/react/cover-crop/cover-crop.ts-var bNe = "/api/cover-crop", xNe = (e, t) => V(bNe, {+var xNe = "/api/cover-crop", SNe = (e, t) => V(xNe, {code: e,box: t});// src/react/cover-crop/cover-crop-page.tsx-function e4({ className: e }) {+function $2({ className: e }) {return /* @__PURE__ */ (0, I.jsx)("svg", {"aria-hidden": !0,viewBox: "0 0 24 24",@@ -74961,7 +74961,7 @@ function e4({ className: e }) {children: /* @__PURE__ */ (0, I.jsx)("use", { href: "#i-crop" })});}-function SNe({ code: e, coverUrl: t, box: n, onSaved: r }) {+function CNe({ code: e, coverUrl: t, box: n, onSaved: r }) {let [i, a] = (0, F.useState)(!1);return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)("button", {type: "button",@@ -74971,13 +74971,13 @@ function SNe({ 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, I.jsx)(e4, { className: "size-3.75" })+ children: /* @__PURE__ */ (0, I.jsx)($2, { className: "size-3.75" })}), /* @__PURE__ */ (0, I.jsx)(cV, {isOpen: i,onOpenChange: a,width: "cover-crop",label: "裁剪封面",- children: /* @__PURE__ */ (0, I.jsx)(CNe, {+ children: /* @__PURE__ */ (0, I.jsx)(wNe, {code: e,coverUrl: t,box: n,@@ -74986,9 +74986,9 @@ function SNe({ code: e, coverUrl: t, box: n, onSaved: r }) {})})] });}-function CNe({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {+function wNe({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {let [a, o] = (0, F.useState)(null), [s, c] = (0, F.useState)(null), [l, u] = (0, F.useState)(!0), d = BV(), f = It({- mutationFn: (t) => xNe(e, t),+ mutationFn: (t) => SNe(e, t),onSuccess: (e) => {i(), r(e.poster_box);}@@ -75000,19 +75000,19 @@ function CNe({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {y0: n.y0,x1: n.x1,y1: n.y1- } : GDe(e, no);- c(XZ(t, e, null));+ } : KDe(e, no);+ c(YZ(t, e, null));}let m = f.isPending;return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsxs)("div", {className: "flex shrink-0 items-start gap-4 p-5",children: [- /* @__PURE__ */ (0, I.jsx)(lV, { children: /* @__PURE__ */ (0, I.jsx)(e4, { className: "size-6" }) }),+ /* @__PURE__ */ (0, I.jsx)(lV, { children: /* @__PURE__ */ (0, I.jsx)($2, { className: "size-6" }) }),/* @__PURE__ */ (0, I.jsxs)("div", {className: "flex min-w-0 flex-1 flex-col gap-2",children: [- /* @__PURE__ */ (0, I.jsx)(VL, {+ /* @__PURE__ */ (0, I.jsx)(BL, {slot: "title",className: "text-title-3-semibold text-text-primary",children: "裁剪封面"@@ -75027,8 +75027,8 @@ function CNe({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {}) : null]}),- /* @__PURE__ */ (0, I.jsx)(sL, {- icon: TB,+ /* @__PURE__ */ (0, I.jsx)(oL, {+ icon: wB,size: "small","aria-label": "关闭",onClick: i@@ -75038,24 +75038,24 @@ function CNe({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {/* @__PURE__ */ (0, I.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, I.jsx)(tQ, {+ children: /* @__PURE__ */ (0, I.jsx)(eQ, {src: t,aspect: l ? no : null,box: s,size: a,label: `${e} 的正封取景框`,onSize: (e) => {- JZ(e) && p(e);+ qZ(e) && p(e);},onBox: c})}),/* @__PURE__ */ (0, I.jsxs)("div", {className: "flex shrink-0 flex-wrap items-center gap-3 border-t border-separator-border p-5",- children: [/* @__PURE__ */ (0, I.jsx)($2, {+ children: [/* @__PURE__ */ (0, I.jsx)(Q2, {isSelected: l,onChange: (e) => {- u(e), e && s && a && c(XZ(s, a, no));+ u(e), e && s && a && c(YZ(s, a, no));},children: /* @__PURE__ */ (0, I.jsx)("span", {className: "text-body-2-regular text-text-secondary",@@ -75083,21 +75083,21 @@ function CNe({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {] });}// src/react/item-detail/item-detail-page.tsx-var t4 = ({ name: e }) => /* @__PURE__ */ (0, I.jsx)("span", {+var e4 = ({ name: e }) => /* @__PURE__ */ (0, I.jsx)("span", {className: "contents",dangerouslySetInnerHTML: { __html: R(e) }-}), n4 = ({ html: e }) => /* @__PURE__ */ (0, I.jsx)("span", {+}), t4 = ({ html: e }) => /* @__PURE__ */ (0, I.jsx)("span", {className: "contents",dangerouslySetInnerHTML: { __html: e }-}), r4 = (e) => Number(e) > 0 ? Xn(Number(e)) : "大小未知";-function wNe(e) {+}), n4 = (e) => Number(e) > 0 ? Xn(Number(e)) : "大小未知";+function TNe(e) {let { queue: t, actions: n } = e, r = Ft({- queryKey: t ? vP(t) : ["item-queue", "none"],- queryFn: ({ signal: n }) => DP(t, e.helpers, n),+ queryKey: t ? _P(t) : ["item-queue", "none"],+ queryFn: ({ signal: n }) => EP(t, e.helpers, n),enabled: !!t- }), i = t && r.data || null, a = i ? AP(i, e.id) : t ? null : e.id, o = Ft({- queryKey: _P(a ?? 0),- queryFn: ({ signal: e }) => EP(a, e),+ }), i = t && r.data || null, a = i ? kP(i, e.id) : t ? null : e.id, o = Ft({+ queryKey: gP(a ?? 0),+ queryFn: ({ signal: e }) => TP(a, e),enabled: a != null});if (!o.data || t && !i) {@@ -75108,9 +75108,9 @@ function wNe(e) {children: /* @__PURE__ */ (0, I.jsxs)("div", {"data-stage-media": "","data-item-media": "none",- children: [/* @__PURE__ */ (0, I.jsx)(i4, { onClose: n.close }), /* @__PURE__ */ (0, I.jsx)("div", {+ children: [/* @__PURE__ */ (0, I.jsx)(r4, { onClose: n.close }), /* @__PURE__ */ (0, I.jsx)("div", {"data-item-placeholder": "",- children: e ? /* @__PURE__ */ (0, I.jsx)(HG, {+ children: e ? /* @__PURE__ */ (0, I.jsx)(VG, {message: xn(e),onRetry: () => {r.error && r.refetch(), o.error && o.refetch();@@ -75120,13 +75120,13 @@ function wNe(e) {})});}- return /* @__PURE__ */ (0, I.jsx)(TNe, {+ return /* @__PURE__ */ (0, I.jsx)(ENe, {...e,- item: Wue(o.data, i),+ item: Gue(o.data, i),queue: i}, o.data.id);}-var i4 = ({ onClose: e }) => /* @__PURE__ */ (0, I.jsx)("button", {+var r4 = ({ onClose: e }) => /* @__PURE__ */ (0, I.jsx)("button", {type: "button","data-stage-close": "",id: "closeStage",@@ -75135,23 +75135,23 @@ var i4 = ({ onClose: e }) => /* @__PURE__ */ (0, I.jsx)("button", {onClick: e,dangerouslySetInnerHTML: { __html: R("x") }});-function TNe(e) {- let { item: t, queue: n, actions: r, helpers: i } = e, a = BNe(t, r, i.tagLabel), o = (0, F.useRef)(t);+function ENe(e) {+ let { item: t, queue: n, actions: r, helpers: i } = e, a = VNe(t, r, i.tagLabel), o = (0, F.useRef)(t);(0, F.useLayoutEffect)(() => {r.present(o.current, n);}, [r]), (0, F.useEffect)(() => {- n?.kind === "playlist" && V(yP, {+ n?.kind === "playlist" && V(vP, {action: "progress",id: n.playlistId,asset_id: t.id}).catch(() => {});}, []);- let s = ZN() ? "" : ede(t, i.sourceOffline(String(t.root_id || t.location || ""))), c = jP(n, t.id);+ let s = XN() ? "" : tde(t, i.sourceOffline(String(t.root_id || t.location || ""))), c = AP(n, t.id);return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsxs)("div", {"data-stage-grid": "","data-with-queue": n ? "" : void 0,"data-item-detail": "",- children: [/* @__PURE__ */ (0, I.jsx)(ENe, {+ children: [/* @__PURE__ */ (0, I.jsx)(DNe, {item: t,gate: s,helpers: i,@@ -75164,22 +75164,22 @@ function TNe(e) {autoplay: !0}, c.id);}- }), /* @__PURE__ */ (0, I.jsx)(jNe, {+ }), /* @__PURE__ */ (0, I.jsx)(MNe, {item: t,queue: n,write: a,helpers: i,actions: r})]- }), /* @__PURE__ */ (0, I.jsx)(j2, {+ }), /* @__PURE__ */ (0, I.jsx)(A2, {queueCards: n?.kind === "parts" || n?.kind === "editions" ? n.items.length : void 0,- queue: n ? /* @__PURE__ */ (0, I.jsx)(ONe, {+ queue: n ? /* @__PURE__ */ (0, I.jsx)(kNe, {queue: n,itemId: t.id,helpers: i,actions: r}) : null,- children: e.relatedLimit > 0 && (!n || n.kind === "parts" || n.kind === "editions") ? /* @__PURE__ */ (0, I.jsx)(zNe, {+ children: e.relatedLimit > 0 && (!n || n.kind === "parts" || n.kind === "editions") ? /* @__PURE__ */ (0, I.jsx)(BNe, {...e,item: n ? {...t,@@ -75188,12 +75188,12 @@ function TNe(e) {}) : null})] });}-function ENe({ item: e, gate: t, helpers: n, actions: r, autoplay: i, onEnded: a }) {+function DNe({ item: e, gate: t, helpers: n, actions: r, autoplay: i, onEnded: a }) {let [o, s] = (0, F.useState)(t ? "" : "auto"), c = (0, F.useRef)(null), [l, u] = (0, F.useState)(-2), d = (0, F.useRef)(!1), f = Ft({- queryKey: q2(e.code || ""),+ queryKey: K2(e.code || ""),queryFn: ({ signal: t }) => {let n = d.current;- return d.current = !1, J2(e.code, t, n);+ return d.current = !1, q2(e.code, t, n);},staleTime: 216e5,enabled: !!e.is_jav && !!e.code && !e.sample_images?.length@@ -75238,7 +75238,7 @@ function ENe({ 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, I.jsx)(i4, { onClose: r.close }),+ /* @__PURE__ */ (0, I.jsx)(r4, { onClose: r.close }),/* @__PURE__ */ (0, I.jsxs)("div", {"data-player-toolbar": "",children: [@@ -75248,21 +75248,21 @@ function ENe({ item: e, gate: t, helpers: n, actions: r, autoplay: i, onEnded: a"data-jav-preview-toggle": "","aria-pressed": l !== -2,onClick: () => g(l === -2 ? m[0].index : -2),- children: [/* @__PURE__ */ (0, I.jsx)(t4, { name: l === -2 ? "image" : "play" }), l === -2 ? "查看图片" : "播放正片"]+ children: [/* @__PURE__ */ (0, I.jsx)(e4, { name: l === -2 ? "image" : "play" }), l === -2 ? "查看图片" : "播放正片"]}) : null,/* @__PURE__ */ (0, I.jsx)("span", { "data-player-net-slot": "" })]}),- h ? /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [l === -2 ? null : /* @__PURE__ */ (0, I.jsx)(K2, {+ h ? /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [l === -2 ? null : /* @__PURE__ */ (0, I.jsx)(G2, {item: e,image: l,source: p.find((e) => e.index === l)?.source- }, e.id), /* @__PURE__ */ (0, I.jsx)(M2, {+ }, e.id), /* @__PURE__ */ (0, I.jsx)(j2, {items: m,position: Math.max(0, m.findIndex((e) => e.index === l)),onSelect: g,below: !0,- renderThumbnail: (t) => /* @__PURE__ */ (0, I.jsx)(K2, {+ renderThumbnail: (t) => /* @__PURE__ */ (0, I.jsx)(G2, {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,@@ -75287,7 +75287,7 @@ function ENe({ item: e, gate: t, helpers: n, actions: r, autoplay: i, onEnded: achildren: "立即重试"})}) : null,- t === "offline" ? /* @__PURE__ */ (0, I.jsx)(DNe, {+ t === "offline" ? /* @__PURE__ */ (0, I.jsx)(ONe, {item: e,badge: y,helpers: n,@@ -75298,7 +75298,7 @@ function ENe({ item: e, gate: t, helpers: n, actions: r, autoplay: i, onEnded: achildren: [/* @__PURE__ */ (0, I.jsx)("b", { children: "ISO 原盘" }),/* @__PURE__ */ (0, I.jsx)("span", { children: "请使用支持原盘的外部播放器打开。" }),- /* @__PURE__ */ (0, I.jsx)(Q2, {+ /* @__PURE__ */ (0, I.jsx)(Z2, {id: e.id,onOpened: () => r.toast("已请求打开本地播放器")}, e.id)@@ -75308,7 +75308,7 @@ function ENe({ item: e, gate: t, helpers: n, actions: r, autoplay: i, onEnded: arole: "status","data-item-gate": "online",children: [- /* @__PURE__ */ (0, I.jsx)(n4, { html: y }),+ /* @__PURE__ */ (0, I.jsx)(t4, { html: y }),/* @__PURE__ */ (0, I.jsx)("b", { children: "在线作品" }),/* @__PURE__ */ (0, I.jsx)("span", { children: "这条没有对应的关注条目,媒体地址无从解析。" }),/* @__PURE__ */ (0, I.jsx)("button", {@@ -75323,12 +75323,12 @@ function ENe({ item: e, gate: t, helpers: n, actions: r, autoplay: i, onEnded: aid: "gate","data-item-gate": "metered",onClick: () => s("clicked"),- children: [/* @__PURE__ */ (0, I.jsx)(n4, { html: y }), /* @__PURE__ */ (0, I.jsxs)("span", { children: ["点此开始拉流 · ", r4(e.size)] })]+ children: [/* @__PURE__ */ (0, I.jsx)(t4, { html: y }), /* @__PURE__ */ (0, I.jsxs)("span", { children: ["点此开始拉流 · ", n4(e.size)] })]}) : null]});}-function DNe({ item: e, badge: t, helpers: n, actions: r }) {+function ONe({ item: e, badge: t, helpers: n, actions: r }) {let [i, a] = (0, F.useState)(!1), [o, s] = (0, F.useState)(!1), c = async () => {a(!0);let t = await r.checkSource(e.location || "").catch(() => !1);@@ -75339,7 +75339,7 @@ function DNe({ item: e, badge: t, helpers: n, actions: r }) {role: "status","data-item-gate": "offline",children: [- /* @__PURE__ */ (0, I.jsx)(n4, { html: t }),+ /* @__PURE__ */ (0, I.jsx)(t4, { html: t }),/* @__PURE__ */ (0, I.jsx)("b", { children: "媒体目录无法访问" }),/* @__PURE__ */ (0, I.jsx)("span", { children: n.offlineReason(String(e.root_id || e.location || "")) }),/* @__PURE__ */ (0, I.jsx)("button", {@@ -75353,8 +75353,8 @@ function DNe({ item: e, badge: t, helpers: n, actions: r }) {]});}-function ONe({ queue: e, itemId: t, helpers: n, actions: r }) {- let i = Xue(e), a = (0, F.useRef)(null), o = ANe(e, t, r), s = (0, F.useRef)(o);+function kNe({ queue: e, itemId: t, helpers: n, actions: r }) {+ let i = Zue(e), a = (0, F.useRef)(null), o = jNe(e, t, r), s = (0, F.useRef)(o);s.current = o;let c = (0, F.useCallback)((t) => {a.current = t, t && (n.wireDrag(t), e.kind === "playlist" && n.wireDragReorder(t, {@@ -75362,7 +75362,7 @@ function ONe({ queue: e, itemId: t, helpers: n, actions: r }) {attribute: "data-queue-row",onMove: (e, t, n) => s.current.move(+e, +t, n)}));- }, [n, e.kind]), l = kNe(e, r), u = e.kind === "mix" ? /* @__PURE__ */ (0, I.jsx)("button", {+ }, [n, e.kind]), l = ANe(e, r), u = e.kind === "mix" ? /* @__PURE__ */ (0, I.jsx)("button", {type: "button","data-save-mix": "",title: "保存为播放列表",@@ -75381,7 +75381,7 @@ function ONe({ queue: e, itemId: t, helpers: n, actions: r }) {seedId: e.seedId,playlistId: e.playlistId};- return /* @__PURE__ */ (0, I.jsx)(TK, {+ return /* @__PURE__ */ (0, I.jsx)(wK, {kind: e.kind,title: i.title,summary: i.summary,@@ -75390,11 +75390,11 @@ function ONe({ 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, I.jsx)("i", {- className: `javedition ${Jue[i.edition_label] || "censored"}`,+ className: `javedition ${Yue[i.edition_label] || "censored"}`,"data-queue-edition": "",children: i.edition_label- }) : null, s = e.kind === "playlist" && kP(i);- return /* @__PURE__ */ (0, I.jsxs)(EK, {+ }) : null, s = e.kind === "playlist" && OP(i);+ return /* @__PURE__ */ (0, I.jsxs)(TK, {current: i.id === t,"data-queue-item": i.id,row: { "data-queue-row": i.id },@@ -75404,25 +75404,25 @@ function ONe({ queue: e, itemId: t, helpers: n, actions: r }) {onClick: () => {s || r.openQueueItem(d, i.id);},- pic: /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(n4, { html: Oo(i, n.javImage()) }), /* @__PURE__ */ (0, I.jsx)("i", {+ pic: /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(t4, { html: Oo(i, n.javImage()) }), /* @__PURE__ */ (0, I.jsx)("i", {className: "mono","data-mix-item-duration": "",children: Jn(i.duration)})] }),- lead: /* @__PURE__ */ (0, I.jsx)(n4, { html: jo(i) }),+ lead: /* @__PURE__ */ (0, I.jsx)(t4, { html: jo(i) }),after: e.kind === "playlist" ? /* @__PURE__ */ (0, I.jsxs)("span", {"data-queue-edit": "",children: [/* @__PURE__ */ (0, I.jsx)("i", {"data-queue-grip": "","aria-hidden": "true",- children: /* @__PURE__ */ (0, I.jsx)(t4, { name: "grip-vertical" })+ children: /* @__PURE__ */ (0, I.jsx)(e4, { name: "grip-vertical" })}), /* @__PURE__ */ (0, I.jsx)("button", {type: "button","data-queue-remove": i.id,title: "移出播放列表","aria-label": "移出播放列表",onClick: () => o.remove(i.id),- children: /* @__PURE__ */ (0, I.jsx)(t4, { name: "x" })+ children: /* @__PURE__ */ (0, I.jsx)(e4, { name: "x" })})]}) : null,children: [/* @__PURE__ */ (0, I.jsxs)("span", {@@ -75433,14 +75433,14 @@ function ONe({ queue: e, itemId: t, helpers: n, actions: r }) {})]}), /* @__PURE__ */ (0, I.jsx)("span", {"data-truncate-end": "",- children: s ? "已消失 · 文件已不在盘上" : e.kind === "parts" || e.kind === "editions" && i.part_label ? zP(i.part_label) : Mo(i, n.tagLabel)+ children: s ? "已消失 · 文件已不在盘上" : e.kind === "parts" || e.kind === "editions" && i.part_label ? RP(i.part_label) : Mo(i, n.tagLabel)})]}, i.id);})});}-function kNe(e, t) {- let n = It({ mutationFn: (t) => V(yP, {+function ANe(e, t) {+ let n = It({ mutationFn: (t) => V(vP, {action: "create",name: t,asset_ids: e.items.map((e) => e.id),@@ -75453,11 +75453,11 @@ function kNe(e, t) {save: (e) => n.mutateAsync(e)});}-function ANe(e, t, n) {- let r = vP({+function jNe(e, t, n) {+ let r = _P({kind: "playlist",playlistId: e.playlistId- }), i = (e) => (H.setQueryData(r, OP(e)), e), a = (t) => V(yP, {+ }), i = (e) => (H.setQueryData(r, DP(e)), e), a = (t) => V(vP, {id: e.playlistId,...t}).then((e) => e.playlist), o = It({@@ -75473,8 +75473,8 @@ function ANe(e, t, n) {return {move: async (t, r, c) => {if (e.kind !== "playlist") return;- let l = Que(s, t, r, c);- if ($ue(l, s)) return;+ let l = $ue(s, t, r, c);+ if (ede(l, s)) return;let u = s;await o.mutateAsync(l), n.toast("已调整播放顺序", { undo: async () => {i(await a({@@ -75516,7 +75516,7 @@ function ANe(e, t, n) {}};}-function jNe({ item: e, queue: t, write: n, helpers: r, actions: i }) {+function MNe({ item: e, queue: t, write: n, helpers: r, actions: i }) {let a = e.location === "online", o = n.busyAttrs, [s, c] = (0, F.useState)(!1);return /* @__PURE__ */ (0, I.jsx)("div", {"data-stage-side": "",@@ -75524,7 +75524,7 @@ function jNe({ item: e, queue: t, write: n, helpers: r, actions: i }) {children: /* @__PURE__ */ (0, I.jsxs)("div", {"data-stage-side-content": "",children: [- /* @__PURE__ */ (0, I.jsx)(MNe, {+ /* @__PURE__ */ (0, I.jsx)(NNe, {item: e,queue: t,helpers: r,@@ -75536,7 +75536,7 @@ function jNe({ item: e, queue: t, write: n, helpers: r, actions: i }) {"aria-live": "polite",children: n.sourceState}),- /* @__PURE__ */ (0, I.jsx)(PNe, {+ /* @__PURE__ */ (0, I.jsx)(FNe, {item: e,write: n}),@@ -75547,7 +75547,7 @@ function jNe({ item: e, queue: t, write: n, helpers: r, actions: i }) {children: [e.width && e.height ? /* @__PURE__ */ (0, I.jsxs)("span", {"data-spec-item": "",- children: [/* @__PURE__ */ (0, I.jsx)(t4, { name: "monitor" }), /* @__PURE__ */ (0, I.jsxs)("span", { children: [+ children: [/* @__PURE__ */ (0, I.jsx)(e4, { name: "monitor" }), /* @__PURE__ */ (0, I.jsxs)("span", { children: [e.width,"×",e.height@@ -75555,11 +75555,11 @@ function jNe({ item: e, queue: t, write: n, helpers: r, actions: i }) {}) : null,/* @__PURE__ */ (0, I.jsxs)("span", {"data-spec-item": "",- children: [/* @__PURE__ */ (0, I.jsx)(t4, { name: "hard-drive" }), /* @__PURE__ */ (0, I.jsx)("span", { children: r4(e.size) })]+ children: [/* @__PURE__ */ (0, I.jsx)(e4, { name: "hard-drive" }), /* @__PURE__ */ (0, I.jsx)("span", { children: n4(e.size) })]}),e.release_date ? /* @__PURE__ */ (0, I.jsxs)("span", {"data-spec-item": "",- children: [/* @__PURE__ */ (0, I.jsx)(t4, { name: "calendar" }), /* @__PURE__ */ (0, I.jsx)("span", { children: e.release_date })]+ children: [/* @__PURE__ */ (0, I.jsx)(e4, { name: "calendar" }), /* @__PURE__ */ (0, I.jsx)("span", { children: e.release_date })]}) : null,e.region_label ? /* @__PURE__ */ (0, I.jsxs)("button", {type: "button",@@ -75567,32 +75567,32 @@ function jNe({ 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, I.jsx)(t4, { name: "globe" }), /* @__PURE__ */ (0, I.jsxs)("span", { children: [e.region_label, e.region_settled ? "" : "(推断)"] })]+ children: [/* @__PURE__ */ (0, I.jsx)(e4, { name: "globe" }), /* @__PURE__ */ (0, I.jsxs)("span", { children: [e.region_label, e.region_settled ? "" : "(推断)"] })]}) : null]}),- (e.medium || "video") === "video" && !a && !String(e.name || "").toLowerCase().endsWith(".iso") ? /* @__PURE__ */ (0, I.jsx)(Q2, {+ (e.medium || "video") === "video" && !a && !String(e.name || "").toLowerCase().endsWith(".iso") ? /* @__PURE__ */ (0, I.jsx)(Z2, {id: e.id,onOpened: () => i.toast("已请求打开本地播放器")}, e.id) : null,- /* @__PURE__ */ (0, I.jsx)(FNe, {+ /* @__PURE__ */ (0, I.jsx)(INe, {item: e,helpers: r,actions: i}),- /* @__PURE__ */ (0, I.jsx)(INe, {+ /* @__PURE__ */ (0, I.jsx)(LNe, {item: e,write: n,helpers: r,actions: i}),- /* @__PURE__ */ (0, I.jsx)(LK, {- assetIds: IK([e], r.javImage()),+ /* @__PURE__ */ (0, I.jsx)(IK, {+ assetIds: FK([e], r.javImage()),onComplete: () => {- H.invalidateQueries({ queryKey: _P(e.id) });+ H.invalidateQueries({ queryKey: gP(e.id) });}}),- /* @__PURE__ */ (0, I.jsx)(LNe, { item: e }),+ /* @__PURE__ */ (0, I.jsx)(RNe, { item: e }),/* @__PURE__ */ (0, I.jsxs)("div", {"data-stage-actions": "","data-item-feedback": "",@@ -75606,7 +75606,7 @@ function jNe({ 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, I.jsx)(t4, { name: "thumbs-up" })+ children: /* @__PURE__ */ (0, I.jsx)(e4, { name: "thumbs-up" })}),/* @__PURE__ */ (0, I.jsx)("button", {type: "button",@@ -75618,7 +75618,7 @@ function jNe({ 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, I.jsx)(t4, { name: "notebook-pen" })+ children: /* @__PURE__ */ (0, I.jsx)(e4, { name: "notebook-pen" })}),/* @__PURE__ */ (0, I.jsx)("button", {type: "button",@@ -75629,7 +75629,7 @@ function jNe({ item: e, queue: t, write: n, helpers: r, actions: i }) {"aria-pressed": e.feedback === "dislike",...o("dislike"),onClick: () => n.feedback("dislike"),- children: /* @__PURE__ */ (0, I.jsx)(t4, { name: "thumbs-down" })+ children: /* @__PURE__ */ (0, I.jsx)(e4, { name: "thumbs-down" })}),/* @__PURE__ */ (0, I.jsx)("button", {type: "button",@@ -75640,7 +75640,7 @@ function jNe({ item: e, queue: t, write: n, helpers: r, actions: i }) {"aria-pressed": e.feedback === "seen",...o("seen"),onClick: () => n.feedback("seen"),- children: /* @__PURE__ */ (0, I.jsx)(t4, { name: "eye" })+ children: /* @__PURE__ */ (0, I.jsx)(e4, { name: "eye" })}),/* @__PURE__ */ (0, I.jsx)("button", {type: "button",@@ -75651,7 +75651,7 @@ function jNe({ item: e, queue: t, write: n, helpers: r, actions: i }) {"aria-pressed": !!e.watch_later,...o("later"),onClick: n.later,- children: /* @__PURE__ */ (0, I.jsx)(t4, { name: e.watch_later ? "check" : "bookmark-plus" })+ children: /* @__PURE__ */ (0, I.jsx)(e4, { name: e.watch_later ? "check" : "bookmark-plus" })}),/* @__PURE__ */ (0, I.jsx)("button", {type: "button",@@ -75660,7 +75660,7 @@ function jNe({ item: e, queue: t, write: n, helpers: r, actions: i }) {"aria-label": "加入播放列表",title: "加入播放列表",onClick: () => i.addToPlaylist(e),- children: /* @__PURE__ */ (0, I.jsx)(t4, { name: "playlist" })+ children: /* @__PURE__ */ (0, I.jsx)(e4, { name: "playlist" })}),/* @__PURE__ */ (0, I.jsx)("button", {type: "button",@@ -75671,7 +75671,7 @@ function jNe({ item: e, queue: t, write: n, helpers: r, actions: i }) {"aria-pressed": !!e.better_version,...o("quality"),onClick: n.quality,- children: /* @__PURE__ */ (0, I.jsx)(t4, { name: "sparkles" })+ children: /* @__PURE__ */ (0, I.jsx)(e4, { name: "sparkles" })}),/* @__PURE__ */ (0, I.jsx)("button", {type: "button",@@ -75682,11 +75682,11 @@ function jNe({ item: e, queue: t, write: n, helpers: r, actions: i }) {"aria-pressed": e.disposal === "trash",...o("dispose"),onClick: () => n.feedback("dispose"),- children: /* @__PURE__ */ (0, I.jsx)(t4, { name: "trash" })+ children: /* @__PURE__ */ (0, I.jsx)(e4, { name: "trash" })})]}),- /* @__PURE__ */ (0, I.jsx)(RNe, {+ /* @__PURE__ */ (0, I.jsx)(zNe, {item: e,open: s,write: n@@ -75697,7 +75697,7 @@ function jNe({ item: e, queue: t, write: n, helpers: r, actions: i }) {...o("o"),onClick: () => n.feedback("o"),children: [- /* @__PURE__ */ (0, I.jsx)(t4, { name: "sperm" }),+ /* @__PURE__ */ (0, I.jsx)(e4, { name: "sperm" }),/* @__PURE__ */ (0, I.jsx)("span", { children: "记一次高潮" }),/* @__PURE__ */ (0, I.jsx)("b", {className: "mono",@@ -75710,8 +75710,8 @@ function jNe({ item: e, queue: t, write: n, helpers: r, actions: i }) {})});}-function MNe({ item: e, queue: t, helpers: n, actions: r, onStatus: i }) {- let { text: a, expanded: o, foldable: s, toggle: c } = G2(String(e.title || e.name || "")), l = n.badgeHtml(e.location || "", e.cost || "", "srcbig") + n.titleHtml(e) + Zue(e, t);+function NNe({ item: e, queue: t, helpers: n, actions: r, onStatus: i }) {+ let { text: a, expanded: o, foldable: s, toggle: c } = W2(String(e.title || e.name || "")), l = n.badgeHtml(e.location || "", e.cost || "", "srcbig") + n.titleHtml(e) + Que(e, t);return /* @__PURE__ */ (0, I.jsx)("div", {"data-item-title": "",children: /* @__PURE__ */ (0, I.jsxs)("div", {@@ -75742,19 +75742,19 @@ function MNe({ item: e, queue: t, helpers: n, actions: r, onStatus: i }) {}),e.has_cover && (e.cover_key || e.code) ? /* @__PURE__ */ (0, I.jsx)("span", {"data-cover-crop-host": "",- children: /* @__PURE__ */ (0, I.jsx)(SNe, {+ children: /* @__PURE__ */ (0, I.jsx)(CNe, {code: e.cover_key || e.code || "",coverUrl: lo(e),box: e.poster_box || null,onSaved: (t) => {H.invalidateQueries({- queryKey: _P(e.id),+ queryKey: gP(e.id),exact: !0- }), pP((t) => (t.cover_key || t.code) === (e.cover_key || e.code), { poster_box: t });+ }), fP((t) => (t.cover_key || t.code) === (e.cover_key || e.code), { poster_box: t });}})}) : null,- e.location === "online" ? null : /* @__PURE__ */ (0, I.jsx)(NNe, {+ e.location === "online" ? null : /* @__PURE__ */ (0, I.jsx)(PNe, {id: e.id,actions: r,onStatus: i@@ -75764,7 +75764,7 @@ function MNe({ item: e, queue: t, helpers: n, actions: r, onStatus: i }) {})});}-function NNe({ id: e, actions: t, onStatus: n }) {+function PNe({ id: e, actions: t, onStatus: n }) {let [r, i] = (0, F.useState)(""), a = async () => {r || (i("reveal"), n(""), n(await t.reveal(e)), i(""));}, o = async () => {@@ -75794,18 +75794,18 @@ function NNe({ id: e, actions: t, onStatus: n }) {"aria-disabled": !0} : {},onClick: () => void o(),- children: /* @__PURE__ */ (0, I.jsx)(t4, { name: "folder-sync" })+ children: /* @__PURE__ */ (0, I.jsx)(e4, { name: "folder-sync" })})] });}-function PNe({ item: e, write: t }) {- let n = hP(e.rating);+function FNe({ item: e, write: t }) {+ let n = mP(e.rating);return /* @__PURE__ */ (0, I.jsxs)("div", {id: "detailRating",role: "group","data-item-rating": "","aria-label": "评分",- "data-value": mP(e.rating),- children: [/* @__PURE__ */ (0, I.jsx)(QJ, {+ "data-value": pP(e.rating),+ children: [/* @__PURE__ */ (0, I.jsx)(ZJ, {value: n,onRate: (e) => t.rate(e),busyStar: [@@ -75819,14 +75819,14 @@ function PNe({ item: e, write: t }) {}), /* @__PURE__ */ (0, I.jsx)("span", {"data-rating-value": "","aria-live": "polite",- children: Bue(e.rating)+ children: Vue(e.rating)})]});}-function FNe({ item: e, actions: t }) {- let n = (0, F.useMemo)(() => Gue(e), [e]), [r, i] = (0, F.useState)(!1), a = Math.max(0, n.cast.length - 8), o = (e, n, i) => {+function INe({ item: e, actions: t }) {+ let n = (0, F.useMemo)(() => Kue(e), [e]), [r, i] = (0, F.useState)(!1), a = Math.max(0, n.cast.length - 8), o = (e, n, i) => {let a = e === "performer" && i >= 8 && !r;- return /* @__PURE__ */ (0, I.jsx)(U2, {+ return /* @__PURE__ */ (0, I.jsx)(H2, {kind: e,person: n,onOpen: t.openEntity,@@ -75858,7 +75858,7 @@ function FNe({ item: e, actions: t }) {onClick: t.openUnowned,children: [/* @__PURE__ */ (0, I.jsx)("span", {"data-id-face": "",- children: /* @__PURE__ */ (0, I.jsx)(t4, { name: "user-round" })+ children: /* @__PURE__ */ (0, I.jsx)(e4, { name: "user-round" })}), /* @__PURE__ */ (0, I.jsx)("span", {"data-id-name": "",children: "未归属"@@ -75870,7 +75870,7 @@ function FNe({ item: e, actions: t }) {size: "small",id: "castMore","data-cast-more": "",- trailingIcon: vB,+ trailingIcon: _B,"aria-expanded": !1,onClick: () => i(!0),children: [@@ -75889,18 +75889,18 @@ function FNe({ item: e, actions: t }) {children: [c.length ? /* @__PURE__ */ (0, I.jsx)("div", {"data-identity-primary": "",children: c- }) : null, /* @__PURE__ */ (0, I.jsx)(W2, {+ }) : null, /* @__PURE__ */ (0, I.jsx)(U2, {people: n.series,onOpen: t.openEntity})]});}-function INe({ item: e, write: t, helpers: n, actions: r }) {+function LNe({ item: e, write: t, helpers: n, actions: r }) {return /* @__PURE__ */ (0, I.jsx)("div", {"data-item-tags": "",- children: /* @__PURE__ */ (0, I.jsx)(F2, {+ children: /* @__PURE__ */ (0, I.jsx)(P2, {id: "detailTags",- tags: Kue(e, n),+ tags: que(e, n),candidates: n.tagCandidates(),label: n.tagLabel,adding: [...t.busy].some((e) => e.startsWith("add:")),@@ -75911,8 +75911,8 @@ function INe({ item: e, write: t, helpers: n, actions: r }) {}, e.id)});}-function LNe({ item: e }) {- let t = tde(e);+function RNe({ item: e }) {+ let t = nde(e);return /* @__PURE__ */ (0, I.jsxs)("div", {"data-item-trace": "",children: [/* @__PURE__ */ (0, I.jsxs)("div", {@@ -75946,7 +75946,7 @@ function LNe({ item: e }) {})]});}-function RNe({ item: e, open: t, write: n }) {+function zNe({ item: e, open: t, write: n }) {let [r, i] = (0, F.useState)(e.like_reason || ""), a = (0, F.useRef)(null);(0, F.useEffect)(() => {t && a.current?.focus();@@ -75985,12 +75985,12 @@ function RNe({ item: e, open: t, write: n }) {})]});}-function zNe(e) {+function BNe(e) {let { item: t, relatedLimit: n, helpers: r, grid: i } = e, a = Ft({- queryKey: Vue(t.id, n),- queryFn: async ({ signal: e }) => (await B(Uue(t.id, n), e)).items || []+ queryKey: Hue(t.id, n),+ queryFn: async ({ signal: e }) => (await B(Wue(t.id, n), e)).items || []}), [o] = (0, F.useState)(() => r.relatedSkeletonHtml());- return /* @__PURE__ */ (0, I.jsx)(A2, {+ return /* @__PURE__ */ (0, I.jsx)(k2, {wireDrag: r.wireDrag,busy: a.isPending,empty: a.data?.length === 0,@@ -75998,7 +75998,7 @@ function zNe(e) {onRetry: () => {a.refetch();},- children: a.data ? /* @__PURE__ */ (0, I.jsx)(cY, {+ children: a.data ? /* @__PURE__ */ (0, I.jsx)(sY, {mode: "items",variant: "next",items: a.data,@@ -76011,11 +76011,11 @@ function zNe(e) {revision: 0,wireDrag: r.wireDrag,skeletonHtml: () => ""- }) : /* @__PURE__ */ (0, I.jsx)(n4, { html: o })+ }) : /* @__PURE__ */ (0, I.jsx)(t4, { html: o })});}-function BNe(e, t, n) {- let r = e.id, i = _P(r), [a, o] = (0, F.useState)(() => /* @__PURE__ */ new Set()), [s, c] = (0, F.useState)(""), [l, u] = (0, F.useState)(""), d = (e, t) => o((n) => {+function VNe(e, t, n) {+ let r = e.id, i = gP(r), [a, o] = (0, F.useState)(() => /* @__PURE__ */ new Set()), [s, c] = (0, F.useState)(""), [l, u] = (0, F.useState)(""), d = (e, t) => o((n) => {let r = new Set(n);return t ? r.add(e) : r.delete(e), r;}), f = () => H.getQueryData(i) || e, p = (e) => {@@ -76031,7 +76031,7 @@ function BNe(e, t, n) {rating: t.rating,o_count: t.o_count};- return fP(r, n), t;+ return dP(r, n), t;}, m = (e, t) => V(e, {id: r,...t@@ -76046,7 +76046,7 @@ function BNe(e, t, n) {run: n}));}, _ = async (e, t) => {- let n = await m(bP, t === void 0 ? { kind: e } : {+ let n = await m(yP, t === void 0 ? { kind: e } : {kind: e,value: t});@@ -76066,21 +76066,21 @@ function BNe(e, t, n) {"aria-disabled": !0} : {},rate: (e) => g(`rate:${e}`, "评分", async () => {- let n = f().rating || 0, r = gP(n, e);- await _("rate", r), t.toast(r ? `已评 ${hP(r)} 星` : "已取消评分", { undo: async () => {+ let n = f().rating || 0, r = hP(n, e);+ await _("rate", r), t.toast(r ? `已评 ${mP(r)} 星` : "已取消评分", { undo: async () => {await _("rate", n);} });}),feedback: (e) => g(e, "操作", async () => {let n = { feedback: f().feedback || null }, r = await _(e);- t.toast(BP(e, r), { undo: async () => {+ t.toast(zP(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(SP, {});+ let e = await m(xP, {});p({ watch_later: e.watch_later }), t.toast(e.watch_later ? "已加入稍后看" : "已移出稍后看", { undo: async () => {- p({ watch_later: (await m(SP, {})).watch_later });+ p({ watch_later: (await m(xP, {})).watch_later });} });}),quality: () => g("quality", "更新版本需求", async () => {@@ -76090,9 +76090,9 @@ function BNe(e, t, n) {}, n = (e) => p({better_version: e.better_version,better_version_reason: e.better_version_reason || ""- }), r = await m(CP, { wanted: !e.wanted });+ }), r = await m(SP, { wanted: !e.wanted });n(r), t.toast(r.better_version ? "已标记寻找更好版本" : "已取消寻找更好版本", { undo: async () => {- n(await m(CP, e));+ n(await m(SP, e));} });}),preference: ({ liked: e, reason: n }) => {@@ -76106,7 +76106,7 @@ function BNe(e, t, n) {});u("保存中…");try {- o(await m(wP, {+ o(await m(CP, {liked: a,reason: i}));@@ -76116,7 +76116,7 @@ function BNe(e, t, n) {u("已保存"), setTimeout(() => u((e) => e === "已保存" ? "" : e), 1400);let s = f();t.toast(s.liked ? "已保存喜欢偏好" : "已取消喜欢", { undo: async () => {- o(await m(wP, r));+ o(await m(CP, r));} });});},@@ -76125,41 +76125,41 @@ function BNe(e, t, n) {operation: "remove",tag: e.k})).ok) throw Error("标签未删除");- p((t) => PP(t, e.k)), t.toast(`已删除标签「${n(e.k)}」`, { undo: async () => {- await m(xP, {+ p((t) => NP(t, e.k)), t.toast(`已删除标签「${n(e.k)}」`, { undo: async () => {+ await m(bP, {operation: "add",tag: e.k- }), p((t) => FP(t, e));+ }), p((t) => PP(t, e));} });}),addTag: (e) => {let r = e.trim();r && g(`add:${r}`, "添加标签", async () => {- let e = await m(xP, {+ let e = await m(bP, {operation: "add",tag: r});if (!e.ok) return;let i = e.tag || r;- NP(f(), i) ? t.toast(`标签「${n(i)}」已存在`) : (p((e) => FP(e, {+ MP(f(), i) ? t.toast(`标签「${n(i)}」已存在`) : (p((e) => PP(e, {k: i,cat: "general"- })), RP(i), t.toast(`已添加标签「${n(i)}」`, { undo: async () => {- await m(xP, {+ })), LP(i), t.toast(`已添加标签「${n(i)}」`, { undo: async () => {+ await m(bP, {operation: "remove",tag: i- }), p((e) => PP(e, i));+ }), p((e) => NP(e, i));} }));});}};}// src/react/publication-cache.ts-var a4 = 864e5, o4 = (e) => {+var i4 = 864e5, a4 = (e) => {let t = new Date(e);return Date.UTC(t.getFullYear(), t.getMonth(), t.getDate());};-function s4(e) {+function o4(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));@@ -76167,25 +76167,25 @@ function s4(e) {let o = new Date(Date.UTC(n, r + 2, 0)).getUTCDate();return Date.UTC(n, r + 1, Math.min(i, o));}-function VNe(e, t = Date.now()) {- let n = s4(e);- return n !== void 0 && o4(t) > n ? Infinity : a4;+function HNe(e, t = Date.now()) {+ let n = o4(e);+ return n !== void 0 && a4(t) > n ? Infinity : i4;}-function c4(e, t, n = Date.now()) {- return !Number.isFinite(e) || e <= 0 || e > n ? !1 : VNe(t, n) === Infinity ? o4(e) > s4(t) : n - e < a4;+function s4(e, t, n = Date.now()) {+ return !Number.isFinite(e) || e <= 0 || e > n ? !1 : HNe(t, n) === Infinity ? a4(e) > o4(t) : n - e < i4;}// src/react/wants/resource-cache.ts-var l4 = "peach.want-resources.v2";-function u4(e) {+var c4 = "peach.want-resources.v2";+function l4(e) {return !e.cache_stale && (e.complete === !0 || !e.warnings?.length);}-function d4(e, t, n) {- return !!e && !e.cache_stale && (e.state === "error" || !u4(e) ? Date.now() - t < 6e4 : c4(t, n));+function u4(e, t, n) {+ return !!e && !e.cache_stale && (e.state === "error" || !l4(e) ? Date.now() - t < 6e4 : s4(t, n));}-function f4() {+function d4() {try {- let e = JSON.parse(localStorage.getItem(l4) || "[]");- return Array.isArray(e) ? e.filter((e) => typeof e?.code == "string" && Number.isFinite(e.saved) && e.result?.state === "ready" && Array.isArray(e.result.items) && u4(e.result) && e.result.items.every((e) => e && [+ let e = JSON.parse(localStorage.getItem(c4) || "[]");+ return Array.isArray(e) ? e.filter((e) => typeof e?.code == "string" && Number.isFinite(e.saved) && e.result?.state === "ready" && Array.isArray(e.result.items) && l4(e.result) && e.result.items.every((e) => e && ["magnet","ed2k","url"@@ -76194,23 +76194,23 @@ function f4() {return [];}}-function HNe(e, t) {- let n = f4().find((t) => t.code === e);- return n && c4(n.saved, t) ? n : void 0;+function UNe(e, t) {+ let n = d4().find((t) => t.code === e);+ return n && s4(n.saved, t) ? n : void 0;}-function UNe(e) {- let t = new Map(f4().map((e) => [e.code, e])), n = /* @__PURE__ */ new Map();+function WNe(e) {+ let t = new Map(d4().map((e) => [e.code, e])), n = /* @__PURE__ */ new Map();for (let r of e) {if (!r.code) continue;let e = t.get(`all-sources:${r.code}`);- e && c4(e.saved, r.release_date) && n.set(r.code, e.result.items.some((e) => e.protocol === "magnet"));+ e && s4(e.saved, r.release_date) && n.set(r.code, e.result.items.some((e) => e.protocol === "magnet"));}return n;}-function WNe(e, t) {- if (t.state === "ready" && u4(t)) try {- let n = f4().filter((t) => t.code !== e), r = Date.parse(t.checked_at || "");- localStorage.setItem(l4, JSON.stringify([{+function GNe(e, t) {+ if (t.state === "ready" && l4(t)) try {+ let n = d4().filter((t) => t.code !== e), r = Date.parse(t.checked_at || "");+ localStorage.setItem(c4, JSON.stringify([{code: e,saved: Number.isFinite(r) ? r : Date.now(),result: t@@ -76218,15 +76218,15 @@ function WNe(e, t) {} catch {}}// src/react/wants/resource-display.ts-function GNe(e) {+function KNe(e) {let t = (e ?? "").trim(), n = /^([\d,]+)\s*B$/i.exec(t);return /^[\d,.]+$/.test(t) ? "大小未知" : n ? Xn(Number(n[1].replaceAll(",", ""))) : e || "大小未知";}-function KNe(e) {+function qNe(e) {return /^更多评论.*(?:VIP|官方 App)/.test(e) ? "来源只返回了部分评论,资源链接可能不完整。" : e;}// src/react/wants/want-magnets.tsx-function p4({ icon: e, children: t, title: n }) {+function f4({ icon: e, children: t, title: n }) {return /* @__PURE__ */ (0, I.jsxs)("span", {title: n,className: "inline-flex items-center gap-1",@@ -76236,8 +76236,8 @@ function p4({ icon: e, children: t, title: n }) {}), t]});}-function m4({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSource: a, queryUrl: o }) {- let s = (0, F.useRef)(null), [c, l] = (0, F.useState)(typeof IntersectionObserver > "u"), [u, d] = (0, F.useState)([]), f = hH(), p = ae(), m = (0, F.useRef)(!1), h = o ? `comment-resources:${o}:${e.code}` : `all-sources:${e.code || ""}`, g = (0, F.useMemo)(() => HNe(h, e.release_date), [h, e.release_date]);+function p4({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSource: a, queryUrl: o }) {+ let s = (0, F.useRef)(null), [c, l] = (0, F.useState)(typeof IntersectionObserver > "u"), [u, d] = (0, F.useState)([]), f = hH(), p = ae(), m = (0, F.useRef)(!1), h = o ? `comment-resources:${o}:${e.code}` : `all-sources:${e.code || ""}`, g = (0, F.useMemo)(() => UNe(h, e.release_date), [h, e.release_date]);(0, F.useEffect)(() => {if (!s.current || c) return;let e = new IntersectionObserver((t) => {@@ -76257,15 +76257,15 @@ function m4({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSourc],queryFn: async ({ signal: t }) => {let n = m.current, r = o || `/api/wants/magnets?id=${e.id}`, i = await B(`${r}${n ? `${r.includes("?") ? "&" : "?"}refresh=1` : ""}`, t);- return m.current = n && i.state === "busy", WNe(h, i), i;+ return m.current = n && i.state === "busy", GNe(h, i), i;},initialData: g?.result,initialDataUpdatedAt: g?.saved,enabled: c,retry: !1,- staleTime: (t) => d4(t.state.data, Date.parse(t.state.data?.checked_at || "") || t.state.dataUpdatedAt, e.release_date) ? Infinity : 0,+ staleTime: (t) => u4(t.state.data, Date.parse(t.state.data?.checked_at || "") || t.state.dataUpdatedAt, e.release_date) ? Infinity : 0,gcTime: 864e5,- refetchOnMount: (t) => !d4(t.state.data, Date.parse(t.state.data?.checked_at || "") || t.state.dataUpdatedAt, e.release_date) && "always",+ refetchOnMount: (t) => !u4(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});@@ -76325,13 +76325,13 @@ function m4({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSourc}) : null,_.data?.warnings?.map((e) => /* @__PURE__ */ (0, I.jsx)(uV, {tone: "neutral",- children: KNe(e)+ children: qNe(e)}, e)),- _.data?.warnings?.length && _.data.source_url ? /* @__PURE__ */ (0, I.jsx)(yL, {+ _.data?.warnings?.length && _.data.source_url ? /* @__PURE__ */ (0, I.jsx)(vL, {variant: "secondary",size: "small",className: "self-start",- trailingIcon: kB,+ trailingIcon: OB,href: _.data.source_url,target: "_blank",rel: "noopener noreferrer",@@ -76370,25 +76370,25 @@ function m4({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSourc"data-resource-facts": "",className: "flex flex-wrap gap-x-2 gap-y-1 text-caption-1-regular text-text-secondary",children: [- /* @__PURE__ */ (0, I.jsx)(p4, {+ /* @__PURE__ */ (0, I.jsx)(f4, {icon: bge,children: e.source}),- /* @__PURE__ */ (0, I.jsx)(p4, {+ /* @__PURE__ */ (0, I.jsx)(f4, {icon: IB,title: e.size ? `来源大小:${e.size}` : void 0,- children: GNe(e.size)+ children: KNe(e.size)}),- e.files ? /* @__PURE__ */ (0, I.jsx)(p4, {+ e.files ? /* @__PURE__ */ (0, I.jsx)(f4, {icon: lge,children: e.files.replaceAll("個", "个")}) : null,- /* @__PURE__ */ (0, I.jsx)(p4, {- icon: Zhe,+ /* @__PURE__ */ (0, I.jsx)(f4, {+ icon: Qhe,title: e.source === "JavDB 评论" ? "评论日期" : "收录日期",children: e.date ? e.date.slice(0, 10) : "日期未知"}),- e.attributes.filter((e) => e !== "高清").map((e) => /* @__PURE__ */ (0, I.jsx)(p4, {+ e.attributes.filter((e) => e !== "高清").map((e) => /* @__PURE__ */ (0, I.jsx)(f4, {icon: UB,children: e}, e))@@ -76398,11 +76398,11 @@ function m4({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSourc"data-resource-actions": "",className: "flex flex-wrap gap-2",children: [- /* @__PURE__ */ (0, I.jsx)(yL, {+ /* @__PURE__ */ (0, I.jsx)(vL, {"data-button-link": "",variant: "secondary",size: "small",- trailingIcon: kB,+ trailingIcon: OB,href: e.source_url,target: "_blank",rel: "noopener noreferrer",@@ -76411,7 +76411,7 @@ function m4({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSourc/* @__PURE__ */ (0, I.jsx)(J, {variant: "secondary",size: "small",- leadingIcon: sge,+ leadingIcon: cge,...hV(f.busy === `copy:${e.id}`),onClick: () => b(e),children: "复制链接"@@ -76419,7 +76419,7 @@ function m4({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSource.protocol === "magnet" ? /* @__PURE__ */ (0, I.jsx)(J, {variant: "primary",size: "small",- leadingIcon: v ? HH(v.key) : nge,+ leadingIcon: v ? HH(v.key) : rge,title: v ? `下载到 ${v.label}` : void 0,disabled: t || !n?.available || !v || r,...hV(f.busy === e.id),@@ -76445,10 +76445,10 @@ function m4({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSourc});}// src/react/jav-detail/review-cache.ts-var h4 = "peach.jav-reviews.v2";-function g4() {+var m4 = "peach.jav-reviews.v2";+function h4() {try {- let e = localStorage.getItem(h4) || "[]";+ let e = localStorage.getItem(m4) || "[]";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")) : [];@@ -76456,21 +76456,21 @@ function g4() {return [];}}-function qNe(e, t) {+function JNe(e, t) {if (t.ok && !t.cache_stale) try {let n = Date.parse(t.checked_at || ""), r = [{code: e,saved: Number.isFinite(n) ? n : Date.now(),result: t- }, ...g4().filter((n) => n.code !== e || n.result.page !== t.page)].slice(0, 128), i = JSON.stringify(r);- i.length <= 2e6 && localStorage.setItem(h4, i);+ }, ...h4().filter((n) => n.code !== e || n.result.page !== t.page)].slice(0, 128), i = JSON.stringify(r);+ i.length <= 2e6 && localStorage.setItem(m4, i);} catch {}}-function JNe(e, t) {- let n = g4(), r = [], i = Infinity;+function YNe(e, t) {+ let n = h4(), r = [], i = Infinity;for (let a = 1; a <= 8; a++) {let o = n.find((t) => t.code === e && t.result.page === a);- if (!o || !c4(o.saved, t) || (r.push(o.result), i = Math.min(i, o.saved), !o.result.more)) break;+ if (!o || !s4(o.saved, t) || (r.push(o.result), i = Math.min(i, o.saved), !o.result.more)) break;}return r.length ? {pages: r,@@ -76478,16 +76478,16 @@ function JNe(e, t) {saved: i} : void 0;}-function YNe(e, t, n) {- return e.length > 0 && e.every((e) => e.ok && !e.cache_stale && c4(Date.parse(e.checked_at || "") || t, n));+function XNe(e, t, n) {+ return e.length > 0 && e.every((e) => e.ok && !e.cache_stale && s4(Date.parse(e.checked_at || "") || t, n));}// src/react/jav-detail/jav-detail-page.tsx-function XNe(e) {+function ZNe(e) {let t = (0, F.useRef)(!1), n = Ft({- queryKey: q2(e.code),+ queryKey: K2(e.code),queryFn: ({ signal: n }) => {let r = t.current;- return t.current = !1, J2(e.code, n, r);+ return t.current = !1, q2(e.code, n, r);},staleTime: 216e5}), r = () => {@@ -76497,21 +76497,21 @@ function XNe(e) {"data-jav-detail": "","data-item-detail": "","data-stage-grid": "",- children: n.data ? /* @__PURE__ */ (0, I.jsx)(ZNe, {+ children: n.data ? /* @__PURE__ */ (0, I.jsx)(QNe, {...e,item: n.data,retry: r,retrying: n.isFetching}, e.code) : /* @__PURE__ */ (0, I.jsxs)("div", {"data-jav-failure": "",- children: [/* @__PURE__ */ (0, I.jsx)(_4, { close: e.actions.close }), n.error ? /* @__PURE__ */ (0, I.jsx)(HG, {+ children: [/* @__PURE__ */ (0, I.jsx)(g4, { close: e.actions.close }), n.error ? /* @__PURE__ */ (0, I.jsx)(VG, {message: lr(n.error),onRetry: r}) : null]})});}-var _4 = ({ close: e }) => /* @__PURE__ */ (0, I.jsx)("button", {+var g4 = ({ close: e }) => /* @__PURE__ */ (0, I.jsx)("button", {type: "button","data-stage-close": "",id: "closeStage",@@ -76520,7 +76520,7 @@ var _4 = ({ close: e }) => /* @__PURE__ */ (0, I.jsx)("button", {onClick: e,dangerouslySetInnerHTML: { __html: R("x") }});-function ZNe({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: a }) {+function QNe({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: a }) {(0, F.useEffect)(() => {n.canonicalCode?.(t.code);}, [n, t.code]), (0, F.useEffect)(() => {@@ -76542,7 +76542,7 @@ function ZNe({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: a}] : []], [l, u] = (0, F.useState)(null), [d, f] = (0, F.useState)(t.want_id), p = hH(), m = () => {p.run("want", async (e) => d ? (await sW([d], e), null) : (await oW({ code: t.code }, e)).want.id, (t) => {- f(t), H.setQueryData(q2(e), (e) => e && {+ f(t), H.setQueryData(K2(e), (e) => e && {...e,wanted: !!t,want_id: t@@ -76555,24 +76555,24 @@ function ZNe({ 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, I.jsx)(_4, { close: n.close }),+ /* @__PURE__ */ (0, I.jsx)(g4, { close: n.close }),t.preview_video_url ? /* @__PURE__ */ (0, I.jsxs)("button", {type: "button","data-jav-preview-toggle": "","aria-pressed": o === -2,onClick: () => s(o === -2 ? -1 : -2),- children: [/* @__PURE__ */ (0, I.jsx)(v4, { name: o === -2 ? "image" : "play" }), o === -2 ? "查看图片" : "视频预览"]+ children: [/* @__PURE__ */ (0, I.jsx)(_4, { name: o === -2 ? "image" : "play" }), o === -2 ? "查看图片" : "视频预览"]}) : null,- o === -2 && t.preview_video_url ? /* @__PURE__ */ (0, I.jsx)(ePe, { src: t.preview_video_url }, t.preview_video_url) : /* @__PURE__ */ (0, I.jsx)(mQ, {+ o === -2 && t.preview_video_url ? /* @__PURE__ */ (0, I.jsx)(tPe, { src: t.preview_video_url }, t.preview_video_url) : /* @__PURE__ */ (0, I.jsx)(pQ, {item: t,image: o === -1 ? "cover" : String(o)}, t.code),- /* @__PURE__ */ (0, I.jsx)(M2, {+ /* @__PURE__ */ (0, I.jsx)(j2, {items: c,position: Math.max(0, c.findIndex((e) => e.index === o)),onSelect: s,below: !0,- renderThumbnail: (e) => /* @__PURE__ */ (0, I.jsx)(mQ, {+ renderThumbnail: (e) => /* @__PURE__ */ (0, I.jsx)(pQ, {item: t,image: e.index < 0 ? "cover" : String(e.index),thumbnail: !0@@ -76586,33 +76586,33 @@ function ZNe({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: a"data-stage-side-content": "","data-jav-info": "",children: [- /* @__PURE__ */ (0, I.jsx)(QNe, { item: t }),- Number(t.score) > 0 ? /* @__PURE__ */ (0, I.jsx)(b4, { score: Number(t.score) }) : null,+ /* @__PURE__ */ (0, I.jsx)($Ne, { item: t }),+ Number(t.score) > 0 ? /* @__PURE__ */ (0, I.jsx)(y4, { score: Number(t.score) }) : null,/* @__PURE__ */ (0, I.jsxs)("div", {className: "mono","data-stage-meta": "","data-reveal-line": "",- children: [/* @__PURE__ */ (0, I.jsx)(y4, {+ children: [/* @__PURE__ */ (0, I.jsx)(v4, {glyph: "calendar",label: "发行日期",value: t.release_date- }), /* @__PURE__ */ (0, I.jsx)(y4, {+ }), /* @__PURE__ */ (0, I.jsx)(v4, {glyph: "clock",label: "时长",value: t.duration ? `${t.duration} 分钟` : void 0})]}),- /* @__PURE__ */ (0, I.jsx)($Ne, {+ /* @__PURE__ */ (0, I.jsx)(ePe, {item: t,navigate: n.navigate}),/* @__PURE__ */ (0, I.jsxs)("div", {"data-jav-facts": "",- children: [/* @__PURE__ */ (0, I.jsx)(y4, {+ children: [/* @__PURE__ */ (0, I.jsx)(v4, {glyph: "briefcase",label: "发行商",value: t.publisher- }), /* @__PURE__ */ (0, I.jsx)(y4, {+ }), /* @__PURE__ */ (0, I.jsx)(v4, {glyph: "clapperboard",label: "导演",value: t.director@@ -76641,7 +76641,7 @@ function ZNe({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: at.summary ? /* @__PURE__ */ (0, I.jsx)("p", {"data-jav-summary": "","data-long-text": "",- lang: BI(t.summary),+ lang: zI(t.summary),children: t.summary}) : null,t.message ? /* @__PURE__ */ (0, I.jsx)(uV, {@@ -76657,10 +76657,10 @@ function ZNe({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: a/* @__PURE__ */ (0, I.jsxs)("div", {"data-jav-actions": "",children: [- t.source_url ? /* @__PURE__ */ (0, I.jsx)(yL, {+ t.source_url ? /* @__PURE__ */ (0, I.jsx)(vL, {"data-button-link": "",variant: "secondary",- trailingIcon: kB,+ trailingIcon: OB,href: t.source_url,target: "_blank",rel: "noopener noreferrer",@@ -76692,12 +76692,12 @@ function ZNe({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: atone: "error",children: p.error}) : null,- /* @__PURE__ */ (0, I.jsx)(tPe, {+ /* @__PURE__ */ (0, I.jsx)(nPe, {code: t.code,count: t.comments_count,released: t.release_date}),- /* @__PURE__ */ (0, I.jsx)(nPe, {+ /* @__PURE__ */ (0, I.jsx)(rPe, {item: t,actions: n,readOnly: r@@ -76712,17 +76712,17 @@ function ZNe({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: a})] });}-var v4 = ({ name: e }) => /* @__PURE__ */ (0, I.jsx)("span", {+var _4 = ({ name: e }) => /* @__PURE__ */ (0, I.jsx)("span", {className: "contents","aria-hidden": "true",dangerouslySetInnerHTML: { __html: R(e) }-}), y4 = ({ glyph: e, label: t, value: n }) => n ? /* @__PURE__ */ (0, I.jsxs)("span", {+}), v4 = ({ glyph: e, label: t, value: n }) => n ? /* @__PURE__ */ (0, I.jsxs)("span", {"data-spec-item": "",title: t,- children: [/* @__PURE__ */ (0, I.jsx)(v4, { name: e }), /* @__PURE__ */ (0, I.jsx)("span", { children: n })]+ children: [/* @__PURE__ */ (0, I.jsx)(_4, { name: e }), /* @__PURE__ */ (0, I.jsx)("span", { children: n })]}) : null;-function QNe({ item: e }) {- let { text: t, expanded: n, foldable: r, toggle: i } = G2(e.title), a = e.title === e.code ? "" : e.title;+function $Ne({ item: e }) {+ let { text: t, expanded: n, foldable: r, toggle: i } = W2(e.title), a = e.title === e.code ? "" : e.title;return /* @__PURE__ */ (0, I.jsxs)("div", {"data-item-title": "",children: [/* @__PURE__ */ (0, I.jsx)("h1", {@@ -76738,7 +76738,7 @@ function QNe({ item: e }) {r && !String(getSelection() || "") && i();},children: [/* @__PURE__ */ (0, I.jsx)("b", { children: e.code }), a ? /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [" ", /* @__PURE__ */ (0, I.jsx)("span", {- lang: BI(a),+ lang: zI(a),children: a})] }) : null]})@@ -76757,20 +76757,20 @@ function QNe({ item: e }) {})]});}-function b4({ score: e, review: t = !1 }) {+function y4({ score: e, review: t = !1 }) {return /* @__PURE__ */ (0, I.jsxs)("div", {"data-item-rating": "","data-jav-rating": "","data-review-rating": t ? "" : void 0,role: "img","aria-label": `${t ? "评论" : "JavDB"}评分 ${e} / 5`,- children: [/* @__PURE__ */ (0, I.jsx)(QJ, { value: e }), /* @__PURE__ */ (0, I.jsxs)("span", {+ children: [/* @__PURE__ */ (0, I.jsx)(ZJ, { value: e }), /* @__PURE__ */ (0, I.jsxs)("span", {"data-rating-value": "",children: [e.toFixed(1), " / 5"]})]});}-function $Ne({ item: e, navigate: t }) {+function ePe({ item: e, navigate: t }) {let n = (e, n) => t(Pn(e, n)), r = (t, r, i, a) => i.length ? /* @__PURE__ */ (0, I.jsxs)("section", {"data-id-group": t,"data-id-gender": a,@@ -76779,14 +76779,14 @@ function $Ne({ item: e, navigate: t }) {children: r}), /* @__PURE__ */ (0, I.jsx)("div", {"data-id-row": "",- children: i.map((r) => /* @__PURE__ */ (0, I.jsx)(U2, {+ children: i.map((r) => /* @__PURE__ */ (0, I.jsx)(H2, {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, I.jsx)(hQ, {+ face: t === "performer" && !r.has_image && !r.has_avatar && r.source_avatar && r.source_actor_id ? /* @__PURE__ */ (0, I.jsx)(mQ, {code: e.code,person: r,detail: !0@@ -76803,7 +76803,7 @@ function $Ne({ item: e, navigate: t }) {r("performer", "出演者", e.performer_refs.filter((e) => !e.gender || e.gender === "unknown"), "unknown"),r("studio", "厂牌", e.studio_refs)]- }), /* @__PURE__ */ (0, I.jsx)(W2, {+ }), /* @__PURE__ */ (0, I.jsx)(U2, {people: e.series_refs.map((e) => ({...e,id: e.id ?? null@@ -76812,11 +76812,11 @@ function $Ne({ item: e, navigate: t }) {})]});}-function ePe({ src: e }) {+function tPe({ src: e }) {let t = (0, F.useRef)(null), [n, r] = (0, F.useState)(!1), [i, a] = (0, F.useState)(0);return (0, F.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), Due(i, {+ return i.className = "video-js vjs-big-play-centered", i.controls = !0, i.setAttribute("playsinline", ""), i.setAttribute("aria-label", "视频预览"), n.append(i), Oue(i, {src: e,type: /\.m3u8(?:\?|$)/i.test(e) ? "application/x-mpegURL" : "video/mp4"}, () => r(!0));@@ -76836,8 +76836,8 @@ function ePe({ src: e }) {}) : null});}-function tPe({ code: e, count: t, released: n }) {- let r = ae(), [i, a] = (0, F.useState)(!1), o = (0, F.useMemo)(() => JNe(e, n), [e, n]), s = (0, F.useRef)(!1), c = Lt({+function nPe({ code: e, count: t, released: n }) {+ let r = ae(), [i, a] = (0, F.useState)(!1), o = (0, F.useMemo)(() => YNe(e, n), [e, n]), s = (0, F.useRef)(!1), c = Lt({queryKey: ["jav-reviews", e],enabled: i,initialPageParam: 1,@@ -76846,12 +76846,12 @@ function tPe({ code: e, count: t, released: n }) {pageParams: o.pageParams} : void 0,initialDataUpdatedAt: o?.saved,- staleTime: (e) => YNe(e.state.data?.pages || [], e.state.dataUpdatedAt, n) ? Infinity : 0,+ staleTime: (e) => XNe(e.state.data?.pages || [], e.state.dataUpdatedAt, n) ? Infinity : 0,gcTime: 864e5,refetchOnWindowFocus: !1,queryFn: async ({ signal: t, pageParam: n }) => {- let i = await hNe(e, n, t, s.current);- if (qNe(e, i), !i.ok || i.cache_stale) {+ let i = await gNe(e, n, t, s.current);+ if (JNe(e, i), !i.ok || i.cache_stale) {let t = r.getQueryData(["jav-reviews", e])?.pages.find((e) => e.page === n);if (t?.ok) return {...t,@@ -76861,7 +76861,7 @@ function tPe({ code: e, count: t, released: n }) {}return i;},- getNextPageParam: gNe+ getNextPageParam: _Ne});(0, F.useEffect)(() => {c.isFetching || (s.current = !1);@@ -76872,7 +76872,7 @@ function tPe({ code: e, count: t, released: n }) {children: /* @__PURE__ */ (0, I.jsxs)(zH, {trailing: !0,summary: /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [- /* @__PURE__ */ (0, I.jsx)(Qhe, { "aria-hidden": !0 }),+ /* @__PURE__ */ (0, I.jsx)($he, { "aria-hidden": !0 }),"评论",t > 0 ? ` · ${t}` : ""] }),@@ -76909,7 +76909,7 @@ function tPe({ code: e, count: t, released: n }) {"data-jav-review-meta": "",children: [/* @__PURE__ */ (0, I.jsx)("b", { children: e.username }),- Number(e.score) > 0 ? /* @__PURE__ */ (0, I.jsx)(b4, {+ Number(e.score) > 0 ? /* @__PURE__ */ (0, I.jsx)(y4, {score: Number(e.score),review: !0}) : null,@@ -76921,7 +76921,7 @@ function tPe({ code: e, count: t, released: n }) {]}), /* @__PURE__ */ (0, I.jsx)("p", {"data-long-text": "",- lang: BI(e.content),+ lang: zI(e.content),children: e.content})]}, e.id)),@@ -76968,7 +76968,7 @@ function tPe({ code: e, count: t, released: n }) {})});}-function nPe({ item: e, actions: t, readOnly: n }) {+function rPe({ item: e, actions: t, readOnly: n }) {let [r, i] = (0, F.useState)(!1), a = Ft({queryKey: YU,enabled: r,@@ -76978,11 +76978,11 @@ function nPe({ item: e, actions: t, readOnly: n }) {"data-jav-resources": "",children: /* @__PURE__ */ (0, I.jsx)(zH, {trailing: !0,- summary: /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(v4, { name: "link" }), "资源"] }),+ summary: /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(_4, { name: "link" }), "资源"] }),onOpenChange: (e) => {i(e), e && c(!0);},- children: s ? /* @__PURE__ */ (0, I.jsx)(m4, {+ children: s ? /* @__PURE__ */ (0, I.jsx)(p4, {want: {id: 0,code: e.code,@@ -76999,31 +76999,31 @@ function nPe({ item: e, actions: t, readOnly: n }) {});}// src/react/stage/stage-player.ts-var x4 = null, S4 = null, C4 = null, w4 = null, T4 = null, E4 = !1, D4 = 0, O4 = null, k4 = () => !1, A4 = (e, t, n) => `${e}:${t}:${n ?? ""}`;-function rPe(e, t) {- x4 = e, k4 = () => t.isOpen(), O4 = () => t.requestClose(), Hle({+var b4 = null, x4 = null, S4 = null, C4 = null, w4 = null, T4 = !1, E4 = 0, D4 = null, O4 = () => !1, k4 = (e, t, n) => `${e}:${t}:${n ?? ""}`;+function iPe(e, t) {+ b4 = e, O4 = () => t.isOpen(), D4 = () => t.requestClose(), Ule({...e.player,stage: () => document.getElementById("stage")- }), Ule({- inMiniplayer: (e) => S4?.player === e,- kind: (e) => S4?.player === e ? S4.kind : C4?.kind ?? w4?.kind ?? "item",- expand: () => X4(),- toMiniplayer: () => Z4()- }), j4 || (j4 = !0, addEventListener("pagehide", () => KN()));-}-var j4 = !1;-function M4() {- if (!x4) throw Error("舞台播放器还没有接上宿主(configureStagePlayer)");- return x4;-}-function N4(e) {- w4 = e;-}-var iPe = () => w4;-function P4(e, t) {- let { kind: n, item: r, media: i = null } = t, a = A4(n, r.id, i?.index ?? null);- if (S4 && S4.key === a) return oPe(e, S4);- S4 && Y4();+ }), Wle({+ inMiniplayer: (e) => x4?.player === e,+ kind: (e) => x4?.player === e ? x4.kind : S4?.kind ?? C4?.kind ?? "item",+ expand: () => Y4(),+ toMiniplayer: () => X4()+ }), A4 || (A4 = !0, addEventListener("pagehide", () => GN()));+}+var A4 = !1;+function j4() {+ if (!b4) throw Error("舞台播放器还没有接上宿主(configureStagePlayer)");+ return b4;+}+function M4(e) {+ C4 = e;+}+var aPe = () => C4;+function N4(e, t) {+ let { kind: n, item: r, media: i = null } = t, a = k4(n, r.id, i?.index ?? null);+ if (x4 && x4.key === a) return sPe(e, x4);+ x4 && J4();let o = {player: null,kind: n,@@ -77031,52 +77031,52 @@ function P4(e, t) {mediaIndex: i?.index ?? null,key: a};- C4 = o;+ S4 = o;let s = document.createElement("video");t.id && (s.id = t.id), s.className = "video-js vjs-big-play-centered", s.controls = !1, s.setAttribute("playsinline", ""), s.preload = "metadata", t.poster && (s.poster = t.poster), t.onError && s.addEventListener("error", t.onError), e.append(s);- let c = aP(s, {+ let c = iP(s, {kind: n,item: r,media: i,autoplay: t.autoplay,resume: t.resume ?? null,onPlayer: (e) => {- C4 === o && (o.player = e);+ S4 === o && (o.player = e);},- handedOff: (e) => S4?.player === e+ handedOff: (e) => x4?.player === e});return () => {- let e = !!o.player && S4?.player === o.player;- C4 === o && (C4 = null), c(), !e && (o.player || (s.pause(), s.removeAttribute("src"), s.load()), KN());+ let e = !!o.player && x4?.player === o.player;+ S4 === o && (S4 = null), c(), !e && (o.player || (s.pause(), s.removeAttribute("src"), s.load()), GN());};}-async function aPe(e, t, n) {+async function oPe(e, t, n) {let r = await Tn(`/api/item?id=${e.id}`, { signal: n });if (n.throwIfAborted(), !r || r.error) throw Error(r?.error || "作品未取得");if (r.medium && r.medium !== "video") throw Error("这条作品没有可播放的视频");if (r.location === "online") throw Error("请打开详情播放在线作品");if (r.cost === "metered") throw Error("请打开详情确认计费来源");- let i = await M4().player.loadSourceStatus();- if (n.throwIfAborted(), i[String(r.root_id || r.location || "")] === !1) throw Error(M4().player.offlineReason(String(r.root_id || r.location || "")));+ let i = await j4().player.loadSourceStatus();+ if (n.throwIfAborted(), i[String(r.root_id || r.location || "")] === !1) throw Error(j4().player.offlineReason(String(r.root_id || r.location || "")));let a = {kind: "item",item: r,title: String(r.title || r.name || ""),sub: String(r.performers?.[0] || r.creator || "未归属")};- N4(a);- let o = P4(t, {+ M4(a);+ let o = N4(t, {kind: "item",item: r,autoplay: !0}), s = !1;return (e = !1) => {- s || (s = !0, e && w4 === a && I4(!0), o(), w4 === a && N4(null));+ s || (s = !0, e && C4 === a && F4(!0), o(), C4 === a && M4(null));};}-function oPe(e, t) {+function sPe(e, t) {let { player: n } = t;- q4(t), S4 = null, J4(), n.el().classList.remove("vjs-peach-mini"), rP(e), e.append(n.el()), XM(n);+ K4(t), x4 = null, q4(), n.el().classList.remove("vjs-peach-mini"), nP(e), e.append(n.el()), YM(n);let r = {player: n,kind: t.kind,@@ -77084,23 +77084,23 @@ function oPe(e, t) {mediaIndex: t.mediaIndex,key: t.key};- C4 = r;- let i = iP(n, e);- return ZM(n), () => {- C4 === r && (C4 = null), i(), S4?.player !== n && (YM() === n && XM(null), LN(n), KN());+ S4 = r;+ let i = rP(n, e);+ return XM(n), () => {+ S4 === r && (S4 = null), i(), x4?.player !== n && (JM() === n && YM(null), IN(n), GN());};}-var F4 = () => {- let e = C4?.player;+var P4 = () => {+ let e = S4?.player;return e && !e.isDisposed() ? e : null;};-function I4(e) {- let t = E4;- E4 = !1, S4?.pending && Y4();- let n = C4, r = n?.player, i = w4;- if (!n || !r || r.isDisposed() || !i || !T4) return;- let a = M4().player.settings();- (t || e && a.miniplayer && !r.paused() && !r.ended() && !r.error()) && uPe({+function F4(e) {+ let t = T4;+ T4 = !1, x4?.pending && J4();+ let n = S4, r = n?.player, i = C4;+ if (!n || !r || r.isDisposed() || !i || !w4) return;+ let a = j4().player.settings();+ (t || e && a.miniplayer && !r.paused() && !r.ended() && !r.error()) && dPe({player: r,kind: n.kind,item: n.item,@@ -77108,46 +77108,46 @@ function I4(e) {key: n.key}, i);}-function L4(e, t) {- E4 = !1, S4 && (S4.kind === e && S4.item.id === t ? (S4.pending = !0, J4()) : Y4());+function I4(e, t) {+ T4 = !1, x4 && (x4.kind === e && x4.item.id === t ? (x4.pending = !0, q4()) : J4());}-function R4(e) {- T4 = e, T4 && G4();-}-var z4 = () => !!S4 && !S4.pending && !S4.player.isDisposed();-function sPe() {- return z4() ? T4?.frame.querySelector("video") ?? null : null;+function L4(e) {+ w4 = e, w4 && W4();}+var R4 = () => !!x4 && !x4.pending && !x4.player.isDisposed();function cPe() {- return k4() ? document.getElementById("stage")?.querySelector("video") ?? null : F4()?.el().querySelector("video") ?? sPe();-}-function B4(e) {- T4 && (T4.title.textContent = e.title || "", T4.sub.textContent = e.sub || "", T4.info.setAttribute("aria-label", e.title ? `展开到详情:${e.title}` : "展开到详情"));+ return R4() ? w4?.frame.querySelector("video") ?? null : null;}-function V4(e = S4?.item) {- if (!T4) return;- let t = T4.frame.querySelector("video"), n = t?.videoWidth || Number(e?.width) || 16, r = t?.videoHeight || Number(e?.height) || 9;- T4.frame.style.setProperty("--miniplayer-aspect", `${Math.max(n, r)}/${r}`);+function lPe() {+ return O4() ? document.getElementById("stage")?.querySelector("video") ?? null : P4()?.el().querySelector("video") ?? cPe();}-function H4() {- let e = S4?.player;- if (!e || e.isDisposed() || !T4) return;- let t = e.paused();- T4.play.setAttribute("aria-label", t ? "播放" : "暂停"), T4.play.querySelector("[data-icon-swap]") || (T4.play.innerHTML = Ks("player-pause", "player-play", t ? "b" : "a")), qs(T4.play, t ? "b" : "a");+function z4(e) {+ w4 && (w4.title.textContent = e.title || "", w4.sub.textContent = e.sub || "", w4.info.setAttribute("aria-label", e.title ? `展开到详情:${e.title}` : "展开到详情"));}-function U4() {- let e = S4?.player;- if (!e || e.isDisposed() || !T4) return;- let t = qn(S4?.item.duration) || qn(e.duration());- T4.time.textContent = `${Yn(e.currentTime())} / ${t ? Yn(t) : "0:00"}`;+function B4(e = x4?.item) {+ if (!w4) return;+ let t = w4.frame.querySelector("video"), n = t?.videoWidth || Number(e?.width) || 16, r = t?.videoHeight || Number(e?.height) || 9;+ w4.frame.style.setProperty("--miniplayer-aspect", `${Math.max(n, r)}/${r}`);}-var W4 = () => Math.max(1, Number(M4().player.settings().seekSeconds) || 10);-function G4() {- if (!T4 || !x4) return;- let e = W4();- for (let [t, n] of [[T4.back, `后退 ${e} 秒`], [T4.ahead, `前进 ${e} 秒`]]) t.setAttribute("aria-label", n), t.title = n;+function V4() {+ let e = x4?.player;+ if (!e || e.isDisposed() || !w4) return;+ let t = e.paused();+ w4.play.setAttribute("aria-label", t ? "播放" : "暂停"), w4.play.querySelector("[data-icon-swap]") || (w4.play.innerHTML = Ks("player-pause", "player-play", t ? "b" : "a")), qs(w4.play, t ? "b" : "a");}-function K4(e) {+function H4() {+ let e = x4?.player;+ if (!e || e.isDisposed() || !w4) return;+ let t = qn(x4?.item.duration) || qn(e.duration());+ w4.time.textContent = `${Yn(e.currentTime())} / ${t ? Yn(t) : "0:00"}`;+}+var U4 = () => Math.max(1, Number(j4().player.settings().seekSeconds) || 10);+function W4() {+ if (!w4 || !b4) return;+ let e = U4();+ for (let [t, n] of [[w4.back, `后退 ${e} 秒`], [w4.ahead, `前进 ${e} 秒`]]) t.setAttribute("aria-label", n), t.title = n;+}+function G4(e) {let t = (t, n) => {e.player.on(t, n), e.off.push(() => {try {@@ -77159,17 +77159,17 @@ function K4(e) {"play","pause","ended"- ], H4), t([+ ], V4), t(["timeupdate","durationchange","loadedmetadata"- ], U4), t("loadedmetadata", () => V4()), H4(), U4(), V4(), G4();+ ], H4), t("loadedmetadata", () => B4()), V4(), H4(), B4(), W4();}-function q4(e) {+function K4(e) {e.off.forEach((e) => e()), e.off = [];}-function lPe() {- let e = T4?.root;+function uPe() {+ let e = w4?.root;if (!e) return;let t = e.hidden;if (e.hidden = !1, !t) return;@@ -77177,8 +77177,8 @@ function lPe() {let n = () => e.removeAttribute("data-miniplayer-enter");e.addEventListener("animationend", n, { once: !0 }), setTimeout(n, 500);}-function J4() {- let e = T4?.root;+function q4() {+ let e = w4?.root;if (e) {e.hidden = !0;for (let t of [@@ -77189,73 +77189,73 @@ function J4() {e.style.transform = "";}}-function uPe(e, t) {- if (!T4) return;+function dPe(e, t) {+ if (!w4) return;let n = {...e,meta: t,off: [],pending: !1};- S4 = n, D4++, e.player.el().classList.add("vjs-peach-mini"), T4.frame.prepend(e.player.el()), B4(t), K4(n), lPe(), ZM(e.player);+ x4 = n, E4++, e.player.el().classList.add("vjs-peach-mini"), w4.frame.prepend(e.player.el()), z4(t), G4(n), uPe(), XM(e.player);}-function Y4() {- let e = S4;- e && q4(e), S4 = null, D4++;+function J4() {+ let e = x4;+ e && K4(e), x4 = null, E4++;let t = e?.player ?? null;- t && YM() === t && XM(null), LN(t), t && KN(), T4?.frame.querySelectorAll(".video-js,video").forEach((e) => e.remove()), qM(), J4();+ t && JM() === t && YM(null), IN(t), t && GN(), w4?.frame.querySelectorAll(".video-js,video").forEach((e) => e.remove()), KM(), q4();}-function X4() {- if (!z4() || !S4) return;- let { kind: e, item: t, mediaIndex: n } = S4;- M4().expand(e, t.id, n);+function Y4() {+ if (!R4() || !x4) return;+ let { kind: e, item: t, mediaIndex: n } = x4;+ j4().expand(e, t.id, n);}-function Z4() {- z4() && !k4() ? X4() : k4() && F4() && O4 && (E4 = !0, O4());+function X4() {+ R4() && !O4() ? Y4() : O4() && P4() && D4 && (T4 = !0, D4());}-function dPe() {- let e = S4?.player;+function fPe() {+ let e = x4?.player;e && !e.isDisposed() && (e.paused() ? e.play()?.catch(() => {}) : e.pause());}-function Q4(e) {- let t = S4?.player;+function Z4(e) {+ let t = x4?.player;if (!t || t.isDisposed()) return;- let n = qn(t.duration()) || qn(S4?.item.duration) || 0, r = Math.max(0, (Number(t.currentTime()) || 0) + W4() * e);+ let n = qn(t.duration()) || qn(x4?.item.duration) || 0, r = Math.max(0, (Number(t.currentTime()) || 0) + U4() * e);t.currentTime(n ? Math.min(n, r) : r);}-function $4(e) {- return !(!z4() || !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 || M4().sourceOffline(String(e.root_id || e.location || "")));-}-async function fPe(e) {- if (!z4() || !S4 || !T4) return;- let t = ++D4, n = await Tn(`/api/item?id=${e}`).catch(() => null);- if (t !== D4 || !z4() || !S4 || !T4 || !n || n.error) return;- if (!$4(n)) {- M4().openItem(e);+function Q4(e) {+ return !(!R4() || !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 || j4().sourceOffline(String(e.root_id || e.location || "")));+}+async function pPe(e) {+ if (!R4() || !x4 || !w4) return;+ let t = ++E4, n = await Tn(`/api/item?id=${e}`).catch(() => null);+ if (t !== E4 || !R4() || !x4 || !w4 || !n || n.error) return;+ if (!Q4(n)) {+ j4().openItem(e);return;}- let r = S4;- q4(r), YM() === r.player && XM(null), LN(r.player), KN(), T4.frame.querySelectorAll(".video-js,video").forEach((e) => e.remove());+ let r = x4;+ K4(r), JM() === r.player && YM(null), IN(r.player), GN(), w4.frame.querySelectorAll(".video-js,video").forEach((e) => e.remove());let i = document.createElement("video");- i.className = "video-js", i.setAttribute("playsinline", ""), i.preload = "metadata", T4.frame.prepend(i);+ i.className = "video-js", i.setAttribute("playsinline", ""), i.preload = "metadata", w4.frame.prepend(i);let a = {kind: "item",item: n,title: String(n.title || n.name || ""),sub: String(n.performers?.[0] || n.creator || "未归属")};- B4(a), aP(i, {+ z4(a), iP(i, {kind: "item",item: n,autoplay: !0,chrome: !1,onPlayer: (r) => {- if (t !== D4) {- r && YM() === r && XM(null), LN(r);+ if (t !== E4) {+ r && JM() === r && YM(null), IN(r);return;}if (!r) {- Y4(), M4().openItem(e);+ J4(), j4().openItem(e);return;}r.el().classList.add("vjs-peach-mini");@@ -77264,25 +77264,25 @@ async function fPe(e) {kind: "item",item: n,mediaIndex: null,- key: A4("item", n.id, null),+ key: k4("item", n.id, null),meta: a,off: [],pending: !1};- S4 = i, K4(i);+ x4 = i, G4(i);}- }), V4(n);+ }), B4(n);}// src/react/stage/miniplayer.tsx-var e3 = ({ name: e }) => /* @__PURE__ */ (0, I.jsx)("svg", {+var $4 = ({ name: e }) => /* @__PURE__ */ (0, I.jsx)("svg", {viewBox: "0 0 24 24","aria-hidden": "true",children: /* @__PURE__ */ (0, I.jsx)("use", { href: `#i-${e}` })-}), pPe = { __html: "<svg viewBox=\"0 0 24 24\" aria-hidden=\"true\"><use href=\"#i-player-pause\"/></svg>" }, t3 = (e) => (t) => {+}), mPe = { __html: "<svg viewBox=\"0 0 24 24\" aria-hidden=\"true\"><use href=\"#i-player-pause\"/></svg>" }, e3 = (e) => (t) => {t.stopPropagation(), e();-}, mPe = (0, F.memo)(function() {+}, hPe = (0, F.memo)(function() {let e = (0, F.useRef)(null), t = (0, F.useRef)(null), n = (0, F.useRef)(null), r = (0, F.useRef)(null), i = (0, F.useRef)(null), a = (0, F.useRef)(null), o = (0, F.useRef)(null), s = (0, F.useRef)(null), c = (0, F.useRef)(null), l = (0, F.useRef)(null);- return (0, F.useLayoutEffect)(() => (R4({+ return (0, F.useLayoutEffect)(() => (L4({root: e.current,frame: n.current,play: r.current,@@ -77292,7 +77292,7 @@ var e3 = ({ name: e }) => /* @__PURE__ */ (0, I.jsx)("svg", {title: s.current,sub: c.current,info: l.current- }), () => R4(null)), []), (0, F.useEffect)(() => _Pe(e.current, t.current), []), (0, F.useEffect)(() => hPe(e.current), []), /* @__PURE__ */ (0, I.jsx)("aside", {+ }), () => L4(null)), []), (0, F.useEffect)(() => vPe(e.current, t.current), []), (0, F.useEffect)(() => gPe(e.current), []), /* @__PURE__ */ (0, I.jsx)("aside", {ref: e,"data-miniplayer": "",id: "miniplayer",@@ -77316,24 +77316,24 @@ var e3 = ({ name: e }) => /* @__PURE__ */ (0, I.jsx)("svg", {id: "miniplayerExpand","aria-label": "展开到详情","aria-keyshortcuts": "i",- onClick: t3(X4),- children: /* @__PURE__ */ (0, I.jsx)(e3, { name: "maximize-2" })+ onClick: e3(Y4),+ children: /* @__PURE__ */ (0, I.jsx)($4, { name: "maximize-2" })}),/* @__PURE__ */ (0, I.jsx)("button", {type: "button","data-miniplayer-button": "close",id: "miniplayerClose","aria-label": "关闭小窗",- onClick: t3(Y4),- children: /* @__PURE__ */ (0, I.jsx)(e3, { name: "x" })+ onClick: e3(J4),+ children: /* @__PURE__ */ (0, I.jsx)($4, { name: "x" })}),/* @__PURE__ */ (0, I.jsx)("button", {ref: a,type: "button","data-miniplayer-seek": "",id: "miniplayerBack",- onClick: t3(() => Q4(-1)),- children: /* @__PURE__ */ (0, I.jsx)(e3, { name: "rotate-ccw" })+ onClick: e3(() => Z4(-1)),+ children: /* @__PURE__ */ (0, I.jsx)($4, { name: "rotate-ccw" })}),/* @__PURE__ */ (0, I.jsx)("button", {ref: r,@@ -77342,16 +77342,16 @@ var e3 = ({ name: e }) => /* @__PURE__ */ (0, I.jsx)("svg", {id: "miniplayerPlay","aria-label": "暂停","aria-keyshortcuts": "k",- onClick: t3(dPe),- dangerouslySetInnerHTML: pPe+ onClick: e3(fPe),+ dangerouslySetInnerHTML: mPe}),/* @__PURE__ */ (0, I.jsx)("button", {ref: o,type: "button","data-miniplayer-seek": "",id: "miniplayerAhead",- onClick: t3(() => Q4(1)),- children: /* @__PURE__ */ (0, I.jsx)(e3, { name: "rotate-cw" })+ onClick: e3(() => Z4(1)),+ children: /* @__PURE__ */ (0, I.jsx)($4, { name: "rotate-cw" })}),/* @__PURE__ */ (0, I.jsx)("span", {ref: i,@@ -77368,7 +77368,7 @@ var e3 = ({ name: e }) => /* @__PURE__ */ (0, I.jsx)("svg", {"data-miniplayer-info": "",id: "miniplayerInfo","aria-label": "展开到详情",- onClick: () => X4(),+ onClick: () => Y4(),children: [/* @__PURE__ */ (0, I.jsx)("span", {ref: s,"data-miniplayer-title": "",@@ -77382,7 +77382,7 @@ var e3 = ({ name: e }) => /* @__PURE__ */ (0, I.jsx)("svg", {})});});-function hPe(e) {+function gPe(e) {let t = () => {let t = e.dataset.corner || "";!e.hidden && t.startsWith("b") && (t === "br" || innerWidth <= 600) ? document.documentElement.style.setProperty("--miniplayer-space", `${Math.ceil(e.offsetHeight + 16 + 12)}px`) : document.documentElement.style.removeProperty("--miniplayer-space");@@ -77396,7 +77396,7 @@ function hPe(e) {n.disconnect(), r.disconnect(), window.removeEventListener("resize", t), document.documentElement.style.removeProperty("--miniplayer-space");};}-function gPe(e, t, n) {+function _Pe(e, t, n) {let r = e.getBoundingClientRect(), i = (r.top + r.height / 2 < innerHeight / 2 ? "t" : "b") + (r.left + r.width / 2 < innerWidth / 2 ? "l" : "r"), a = parseFloat(getComputedStyle(document.documentElement).getPropertyValue("--topH")) || 56, o = {left: r.left - t,top: r.top - n@@ -77418,7 +77418,7 @@ function gPe(e, t, n) {};e.addEventListener("transitionend", u), setTimeout(u, 600);}-function _Pe(e, t) {+function vPe(e, t) {let n = null, r = (e) => {if (!(e.button !== 0 || e.target.closest("[data-miniplayer-button],[data-miniplayer-play],[data-miniplayer-seek],.vjs-control-bar"))) {n = {@@ -77444,7 +77444,7 @@ function _Pe(e, t) {} catch {}i.moved && (e.dataset.dragged = "1", setTimeout(() => {delete e.dataset.dragged;- }, 0), gPe(e, i.dx, i.dy));+ }, 0), _Pe(e, i.dx, i.dy));}, o = (t) => {e.dataset.dragged && (t.stopPropagation(), t.preventDefault());}, s = (e) => {@@ -77455,57 +77455,57 @@ function _Pe(e, t) {};}// src/react/stage/stage.tsx-var n3 = null, r3 = null, i3 = null, a3 = /* @__PURE__ */ new Set(), o3 = 0, s3 = null, c3 = !1, l3 = !1, u3 = () => {+var t3 = null, n3 = null, r3 = null, i3 = /* @__PURE__ */ new Set(), a3 = 0, o3 = null, s3 = !1, c3 = !1, l3 = () => {let e = document.getElementById("stage");return e instanceof HTMLDialogElement ? e : null;};-function d3() {- if (!n3) throw Error("舞台还没有接上宿主(configureStage)");- return n3;+function u3() {+ if (!t3) throw Error("舞台还没有接上宿主(configureStage)");+ return t3;}-function vPe(e) {- return a3.add(e), () => {- a3.delete(e);+function yPe(e) {+ return i3.add(e), () => {+ i3.delete(e);};}-function yPe() {- for (let e of [...a3]) e();+function bPe() {+ for (let e of [...i3]) e();}-function f3() {- (0, Rt.flushSync)(yPe);+function d3() {+ (0, Rt.flushSync)(bPe);}-function bPe({ view: e }) {- return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [e ? /* @__PURE__ */ (0, I.jsx)(xPe, { view: e }, e.generation) : null, /* @__PURE__ */ (0, I.jsx)(mPe, {})] });+function xPe({ view: e }) {+ return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [e ? /* @__PURE__ */ (0, I.jsx)(SPe, { view: e }, e.generation) : null, /* @__PURE__ */ (0, I.jsx)(hPe, {})] });}-var p3 = () => /* @__PURE__ */ (0, I.jsx)("div", {+var f3 = () => /* @__PURE__ */ (0, I.jsx)("div", {"data-skeleton": "detail",role: "status","aria-label": "正在读取作品详情",- dangerouslySetInnerHTML: { __html: yMe() }+ dangerouslySetInnerHTML: { __html: bMe() }});-function m3(e) {+function p3(e) {let t = e.currentTarget;if (e.target !== t) return !1;let n = t.getBoundingClientRect();return e.clientX < n.left || e.clientX > n.right || e.clientY < n.top || e.clientY > n.bottom;}-function h3() {- let e = u3(), t = e && SMe(e);+function m3() {+ let e = l3(), t = e && CMe(e);t ? (t.focus({ preventScroll: !0 }), t.dispatchEvent(new KeyboardEvent("keydown", {key: "Escape",bubbles: !0,cancelable: !0- }))) : g3();+ }))) : h3();}-function xPe({ view: e }) {+function SPe({ view: e }) {let t = (0, F.useRef)(null);(0, F.useLayoutEffect)(() => {let e = t.current, n = (t) => {- t.target === e && (t.preventDefault(), h3());+ t.target === e && (t.preventDefault(), m3());};return e.addEventListener("cancel", n), () => e.removeEventListener("cancel", n);}, []);- let { phase: n, content: r } = e, i = r.kind === "item" ? /* @__PURE__ */ (0, I.jsx)(wNe, { ...r.props }) : r.kind === "jav" ? /* @__PURE__ */ (0, I.jsx)(XNe, { ...r.props }, r.props.code) : /* @__PURE__ */ (0, I.jsx)(aNe, { ...r.props }, r.props.id);+ let { phase: n, content: r } = e, i = r.kind === "item" ? /* @__PURE__ */ (0, I.jsx)(TNe, { ...r.props }) : r.kind === "jav" ? /* @__PURE__ */ (0, I.jsx)(ZNe, { ...r.props }, r.props.code) : /* @__PURE__ */ (0, I.jsx)(oNe, { ...r.props }, r.props.id);return /* @__PURE__ */ (0, I.jsxs)("dialog", {ref: t,id: "stage",@@ -77513,27 +77513,27 @@ function xPe({ view: e }) {"data-stage-kind": r.kind,"aria-label": "作品详情",onKeyDown: (e) => {- e.key !== "Escape" || e.defaultPrevented || (e.preventDefault(), h3());+ e.key !== "Escape" || e.defaultPrevented || (e.preventDefault(), m3());},onPointerDown: (e) => {- l3 = m3(e);+ c3 = p3(e);},onClick: (e) => {- l3 && m3(e) && g3();+ c3 && p3(e) && h3();},children: [- n === "skeleton" ? /* @__PURE__ */ (0, I.jsx)(p3, {}, "skeleton") : null,+ n === "skeleton" ? /* @__PURE__ */ (0, I.jsx)(f3, {}, "skeleton") : null,n === "reveal" ? /* @__PURE__ */ (0, I.jsx)("div", {"data-stage-fade": "","aria-hidden": "true",- children: /* @__PURE__ */ (0, I.jsx)(p3, {})+ children: /* @__PURE__ */ (0, I.jsx)(f3, {})}, "fade") : null,n === "skeleton" ? null : /* @__PURE__ */ (0, I.jsx)("div", {"data-stage-scroll": "",children: /* @__PURE__ */ (0, I.jsx)("div", {className: "peach-react",- children: /* @__PURE__ */ (0, I.jsx)(wD, {- getContainer: () => $0(t.current),+ children: /* @__PURE__ */ (0, I.jsx)(CD, {+ getContainer: () => Q0(t.current),children: i})})@@ -77541,14 +77541,14 @@ function xPe({ view: e }) {]});}-function g3() {- r3 && !c3 && (c3 = !0, r3.request.actions.close());+function h3() {+ n3 && !s3 && (s3 = !0, n3.request.actions.close());}-function _3(e, t) {- let n = u3();+function g3(e, t) {+ let n = l3();n?.toggleAttribute("data-ambient", e), n?.toggleAttribute("data-theater", t);}-function v3(e) {+function _3(e) {if (e.kind === "jav") return {kind: "jav",props: {@@ -77556,30 +77556,30 @@ function v3(e) {readOnly: e.readOnly,actions: {...e.actions,- close: g3+ close: h3}}};let t = e.resume ?? null, n = (n) => {let r = t && (e.id == null || e.id === n) ? t : null;return t = null, r;- }, r = () => d3().player.settings(), i = () => r3?.request === e;+ }, r = () => u3().player.settings(), i = () => n3?.request === e;if (e.kind === "item") {let { kind: t, resume: a, actions: o, ...s } = e, c = {...o,- close: g3,+ close: h3,present: (e, t) => {let n = e.performers;- N4({+ M4({kind: "item",item: e,title: String(e.title || e.name || ""),sub: String(n?.[0] || e.creator || "未归属")- }), _3(r().ambientMode, r().theaterMode), queueMicrotask(() => {+ }), g3(r().ambientMode, r().theaterMode), queueMicrotask(() => {i() && o.present(e, t);});},- mountPlayer: (e, t, r, i) => P4(e, {+ mountPlayer: (e, t, r, i) => N4(e, {kind: "item",item: t,autoplay: i?.autoplay,@@ -77597,18 +77597,18 @@ function v3(e) {}let { kind: a, resume: o, actions: s, ...c } = e, l = {...s,- close: g3,+ close: h3,present: (e, t) => {- N4({+ M4({kind: "follow",item: e,title: e.title || "",sub: e.author || e.source_label || ""- }), _3(t === "video" && r().ambientMode, t === "video" && r().theaterMode), queueMicrotask(() => {+ }), g3(t === "video" && r().ambientMode, t === "video" && r().theaterMode), queueMicrotask(() => {i() && s.present(e, t);});},- mountPlayer: (e, t, r, i) => P4(e, {+ mountPlayer: (e, t, r, i) => N4(e, {kind: "follow",item: t,media: r,@@ -77625,106 +77625,106 @@ function v3(e) {}};}-function SPe(e, t) {+function CPe(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"), r3?.generation === t && r3.phase === "reveal" && (r3 = {- ...r3,+ clearTimeout(r), n?.removeEventListener("transitionend", a), e.removeAttribute("data-stage-reveal"), e.removeAttribute("data-stage-revealing"), n3?.generation === t && n3.phase === "reveal" && (n3 = {+ ...n3,phase: "content"- }, f3());+ }, d3());}, a = (e) => {e.target === n && i();};n?.addEventListener("transitionend", a), r = window.setTimeout(i, 1e3);}-function y3(e) {- let t = u3();- return !r3 || r3.content.kind !== e || c3 || !t?.open || t.hasAttribute("data-closing") ? null : t;+function v3(e) {+ let t = l3();+ return !n3 || n3.content.kind !== e || s3 || !t?.open || t.hasAttribute("data-closing") ? null : t;}-async function CPe(e) {- !i3 && document.activeElement instanceof HTMLElement && document.activeElement !== document.body && (i3 = {+async function wPe(e) {+ !r3 && document.activeElement instanceof HTMLElement && document.activeElement !== document.body && (r3 = {left: window.scrollX,top: window.scrollY,anchor: document.activeElement});- let t = y3(e.kind);+ let t = v3(e.kind);if (t) {- await TPe(e, t);+ await EPe(e, t);return;}- r3 && b3({ miniplayer: !1 });- let n = ++o3, r = new AbortController();- s3 = r, c3 = !1, l3 = !1, e.kind === "jav" ? Y4() : L4(e.kind, e.id ?? NaN);- let i = v3(e);- r3 = {+ n3 && y3({ miniplayer: !1 });+ let n = ++a3, r = new AbortController();+ o3 = r, s3 = !1, c3 = !1, e.kind === "jav" ? J4() : I4(e.kind, e.id ?? NaN);+ let i = _3(e);+ n3 = {generation: n,request: e,content: i,phase: "skeleton"};- let a = i.kind === "item" ? MP(i.props, r.signal) : i.kind === "jav" ? Y2(i.props, r.signal) : a2(i.props, r.signal);- if (n !== o3 || r3?.request !== e) {+ let a = i.kind === "item" ? jP(i.props, r.signal) : i.kind === "jav" ? J2(i.props, r.signal) : i2(i.props, r.signal);+ if (n !== a3 || n3?.request !== e) {await a.catch(() => {});return;}- let o = wPe(i);- r3 = {- ...r3,+ let o = TPe(i);+ n3 = {+ ...n3,phase: o ? "content" : "skeleton"- }, f3();- let s = u3();+ }, d3();+ let s = l3();if (!s) {await a.catch(() => {});return;}- o || pc(s), document.body.setAttribute("data-detail-open", ""), s.open || s.showModal(), t2(s);+ o || pc(s), document.body.setAttribute("data-detail-open", ""), s.open || s.showModal(), e2(s);try {await a;} catch {if (r.signal.aborted) return;}- if (n !== o3 || !r3 || o) return;+ if (n !== a3 || !n3 || o) return;let c = !!s.querySelector(".skeleton-awaiting");- r3 = {- ...r3,+ n3 = {+ ...n3,phase: c ? "content" : "reveal"- }, f3(), c || SPe(s, n), tc(s, ":scope>:not([data-stage-fade]) [data-reveal-line]");+ }, d3(), c || CPe(s, n), tc(s, ":scope>:not([data-stage-fade]) [data-reveal-line]");let l = document.activeElement;l !== s && s.contains(l) || s.querySelector("#closeStage")?.focus();}-function wPe(e) {- if (e.kind === "jav") return !!H.getQueryData(q2(e.props.code));- if (e.kind === "follow") return !!H.getQueryData(n2(e.props.id));- let { queue: t, id: n } = e.props, r = t ? H.getQueryData(vP(t)) : null;+function TPe(e) {+ if (e.kind === "jav") return !!H.getQueryData(K2(e.props.code));+ if (e.kind === "follow") return !!H.getQueryData(t2(e.props.id));+ let { queue: t, id: n } = e.props, r = t ? H.getQueryData(_P(t)) : null;if (t && !r) return !1;- let i = r ? AP(r, n) : n;- return i != null && !!H.getQueryData(_P(i));+ let i = r ? kP(r, n) : n;+ return i != null && !!H.getQueryData(gP(i));}-async function TPe(e, t) {- let n = ++o3;- s3?.abort();+async function EPe(e, t) {+ let n = ++a3;+ o3?.abort();let r = new AbortController();- s3 = r, l3 = !1;- let i = v3(e);+ o3 = r, c3 = !1;+ let i = _3(e);try {- i.kind === "item" ? await MP(i.props, r.signal) : i.kind === "jav" ? await Y2(i.props, r.signal) : await a2(i.props, r.signal);+ i.kind === "item" ? await jP(i.props, r.signal) : i.kind === "jav" ? await J2(i.props, r.signal) : await i2(i.props, r.signal);} catch {if (r.signal.aborted) return;}- if (n !== o3 || !r3 || y3(e.kind) !== t) return;- e.kind === "jav" ? Y4() : L4(e.kind, e.id ?? NaN), Nl(t), qM(), r3 = {- ...r3,+ if (n !== a3 || !n3 || v3(e.kind) !== t) return;+ e.kind === "jav" ? J4() : I4(e.kind, e.id ?? NaN), Nl(t), KM(), n3 = {+ ...n3,request: e,content: i,phase: "content"- }, f3(), t.removeAttribute("data-stage-reveal"), t.removeAttribute("data-stage-revealing"), t.querySelector(":scope > [data-stage-scroll]")?.scrollTo({ top: 0 }), tc(t, ":scope>:not([data-stage-fade]) [data-reveal-line]");+ }, d3(), t.removeAttribute("data-stage-reveal"), t.removeAttribute("data-stage-revealing"), t.querySelector(":scope > [data-stage-scroll]")?.scrollTo({ top: 0 }), tc(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 EPe() {- t2(null);- let e = u3();+function DPe() {+ e2(null);+ let e = l3();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();@@ -77734,14 +77734,14 @@ function EPe() {e.addEventListener("animationend", i), n = window.setTimeout(r, 380);}));}-function b3({ miniplayer: e = !0 } = {}) {- if (o3++, s3?.abort(), s3 = null, I4(e), !r3) return;- let t = u3();- t && Nl(t), qM(), t2(null), t?.open && t.close(), r3 = null, c3 = !1, l3 = !1, f3(), N4(null), document.body.removeAttribute("data-detail-open");- let n = i3;- i3 = null;+function y3({ miniplayer: e = !0 } = {}) {+ if (a3++, o3?.abort(), o3 = null, F4(e), !n3) return;+ let t = l3();+ t && Nl(t), KM(), e2(null), t?.open && t.close(), n3 = null, s3 = !1, c3 = !1, d3(), M4(null), document.body.removeAttribute("data-detail-open");+ let n = r3;+ r3 = null;let r = () => {- !r3 && n?.anchor.isConnected && n.anchor.getClientRects().length && window.scrollTo({+ !n3 && n?.anchor.isConnected && n.anchor.getClientRects().length && window.scrollTo({left: n.left,top: n.top,behavior: "instant"@@ -77749,80 +77749,80 @@ function b3({ miniplayer: e = !0 } = {}) {};r(), requestAnimationFrame(r);}-function DPe(e) {- r3 && (r3 = {- ...r3,- content: r3.content.kind === "item" ? {+function OPe(e) {+ n3 && (n3 = {+ ...n3,+ content: n3.content.kind === "item" ? {kind: "item",props: {- ...r3.content.props,+ ...n3.content.props,...e}- } : r3.content.kind === "jav" ? r3.content : {+ } : n3.content.kind === "jav" ? n3.content : {kind: "follow",props: {- ...r3.content.props,+ ...n3.content.props,...e.relatedLimit === void 0 ? {} : { relatedLimit: e.relatedLimit }}}- }, f3());+ }, d3());}-function OPe() {- let e = iPe(), t = e?.kind === "item" ? e.item : null, n = t ? ko(t, d3().player.settings().javImage) : "";+function kPe() {+ let e = aPe(), t = e?.kind === "item" ? e.item : null, n = t ? ko(t, u3().player.settings().javImage) : "";if (!n) return;- let r = F4();+ let r = P4();r ? r.poster(n) : document.getElementById("vid")?.setAttribute("poster", n);}-var kPe = {- open: CPe,- update: DPe,- exit: EPe,- dispose: b3,- requestClose: g3,- requestEscape: h3,- repaintPoster: OPe,- isOpen: () => !!r3,- showing: () => r3 && y3(r3.content.kind) ? r3.content.kind : null,- activeVideo: () => cPe(),- mountWallPlayer: aPe,+var APe = {+ open: wPe,+ update: OPe,+ exit: DPe,+ dispose: y3,+ requestClose: h3,+ requestEscape: m3,+ repaintPoster: kPe,+ isOpen: () => !!n3,+ showing: () => n3 && v3(n3.content.kind) ? n3.content.kind : null,+ activeVideo: () => lPe(),+ mountWallPlayer: oPe,toggleTheater: () => {- r3 && wN(!d3().player.settings().theaterMode);+ n3 && CN(!u3().player.settings().theaterMode);},- toggleMiniplayer: () => Z4(),- closeMiniplayer: () => Y4(),- miniplayerActive: () => z4(),- miniplayerTakesCard: (e) => $4(e),+ toggleMiniplayer: () => X4(),+ closeMiniplayer: () => J4(),+ miniplayerActive: () => R4(),+ miniplayerTakesCard: (e) => Q4(e),miniplayerPlay: (e) => {- fPe(e);+ pPe(e);}};-function APe(e) {- return n3 = e, rPe(e, {- isOpen: () => !!r3,- requestClose: g3- }), kPe;+function jPe(e) {+ return t3 = e, iPe(e, {+ isOpen: () => !!n3,+ requestClose: h3+ }), APe;}-function jPe() {- let e = (0, F.useSyncExternalStore)(vPe, () => r3);- return n3 ? /* @__PURE__ */ (0, I.jsx)(bPe, { view: e }) : null;+function MPe() {+ let e = (0, F.useSyncExternalStore)(yPe, () => n3);+ return t3 ? /* @__PURE__ */ (0, I.jsx)(xPe, { view: e }) : null;}// src/react/stats/stats.ts-var MPe = "/api/stats", x3 = ["stats"], S3 = (e) => B(MPe, e);-async function NPe(e) {+var NPe = "/api/stats", b3 = ["stats"], x3 = (e) => B(NPe, e);+async function PPe(e) {await H.fetchQuery({- queryKey: x3,- queryFn: () => S3(e)+ queryKey: b3,+ queryFn: () => x3(e)});}-var C3 = (e) => e != null && Number.isFinite(e), PPe = (e) => C3(e) ? e.toLocaleString() : "未取得", FPe = (e, t) => C3(e) && C3(t) && t > 0 ? Math.min(100, Math.max(0, Math.round(e / t * 100))) : 0, IPe = (e, t) => {- let n = FPe(e, t);- return !n && C3(e) && e > 0 && C3(t) && t > 0 ? "<1%" : `${n}%`;-}, w3 = (e) => {- if (!C3(e)) return "未取得";+var S3 = (e) => e != null && Number.isFinite(e), FPe = (e) => S3(e) ? e.toLocaleString() : "未取得", IPe = (e, t) => S3(e) && S3(t) && t > 0 ? Math.min(100, Math.max(0, Math.round(e / t * 100))) : 0, LPe = (e, t) => {+ let n = IPe(e, t);+ return !n && S3(e) && e > 0 && S3(t) && t > 0 ? "<1%" : `${n}%`;+}, C3 = (e) => {+ if (!S3(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)} 分钟`;-}, T3 = (e) => e.duration ? Math.min(e.play_seconds / e.duration, 1) * 100 : 0, E3 = (e) => (e.max_reached || 0) * 100, LPe = (e) => e.kind === "online" ? "在线直接观看" : T3(e) < E3(e) - 25 ? "快进扫过" : e.o_count ? `高潮 ${e.o_count}` : "正常观看", RPe = (e) => `${e.kind === "online" ? "/posts/" : "/assets/"}${e.id}`;-function zPe(e, t = 6) {+}, w3 = (e) => e.duration ? Math.min(e.play_seconds / e.duration, 1) * 100 : 0, T3 = (e) => (e.max_reached || 0) * 100, RPe = (e) => e.kind === "online" ? "在线直接观看" : w3(e) < T3(e) - 25 ? "快进扫过" : e.o_count ? `高潮 ${e.o_count}` : "正常观看", zPe = (e) => `${e.kind === "online" ? "/posts/" : "/assets/"}${e.id}`;+function BPe(e, t = 6) {let n = e.filter((e) => Number.isFinite(e.value) && e.value >= 0);if (n.length <= t) return n;let r = [...n].sort((e, t) => t.value - e.value), i = r.slice(t - 1);@@ -77832,7 +77832,7 @@ function zPe(e, t = 6) {bytes: i.reduce((e, t) => e + (t.bytes ?? 0), 0)}];}-var BPe = (e) => Math.max(1, ...e) * 1.1, VPe = (e, t) => e > 0 ? Math.max(e, t * .02) : 0, HPe = (e) => Math.max(4, Math.min(14, Math.round(90 / Math.max(1, e)))), UPe = {+var VPe = (e) => Math.max(1, ...e) * 1.1, HPe = (e, t) => e > 0 ? Math.max(e, t * .02) : 0, UPe = (e) => Math.max(4, Math.min(14, Math.round(90 / Math.max(1, e)))), WPe = {video: "视频",image: "图片",illustration: "插画",@@ -77840,18 +77840,18 @@ var BPe = (e) => Math.max(1, ...e) * 1.1, VPe = (e, t) => e > 0 ? Math.max(e, taudio: "音频",account: "账号",other: "其它文件"-}, WPe = (e) => e.map((e) => ({- name: UPe[e.k] ?? e.k,+}, GPe = (e) => e.map((e) => ({+ name: WPe[e.k] ?? e.k,value: e.n-})).sort((e, t) => t.value - e.value), GPe = {+})).sort((e, t) => t.value - e.value), KPe = {速食: "<5 分钟",短: "5–15 分钟",中: "15–40 分钟",长: ">40 分钟"-}, D3 = (e, t = {}) => e.map((e) => ({+}, E3 = (e, t = {}) => e.map((e) => ({name: t[e.k] ?? e.k,value: e.n-})), KPe = (e) => D3(e, GPe), qPe = [+})), qPe = (e) => E3(e, KPe), JPe = [[1,1,@@ -77887,12 +77887,12 @@ var BPe = (e) => Math.max(1, ...e) * 1.1, VPe = (e, t) => e > 0 ? Math.max(e, tInfinity,"≥10"]-], JPe = (e) => qPe.map(([t, n, r]) => ({+], YPe = (e) => JPe.map(([t, n, r]) => ({name: r,value: e.filter((e) => e.k >= t && e.k <= n).reduce((e, t) => e + t.n, 0)}));// node_modules/d3-array/src/max.js-function O3(e, t) {+function D3(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 {@@ -77902,7 +77902,7 @@ function O3(e, t) {return n;}// node_modules/d3-array/src/min.js-function k3(e, t) {+function O3(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 {@@ -77912,7 +77912,7 @@ function k3(e, t) {return n;}// node_modules/d3-array/src/sum.js-function A3(e, t) {+function k3(e, t) {let n = 0;if (t === void 0) for (let t of e) (t = +t) && (n += t);else {@@ -77922,64 +77922,64 @@ function A3(e, t) {return n;}// node_modules/d3-sankey/src/align.js-function YPe(e, t) {+function XPe(e, t) {return e.sourceLinks.length ? e.depth : t - 1;}// node_modules/d3-sankey/src/constant.js-function j3(e) {+function A3(e) {return function() {return e;};}// node_modules/d3-sankey/src/sankey.js+function j3(e, t) {+ return N3(e.source, t.source) || e.index - t.index;+}function M3(e, t) {- return P3(e.source, t.source) || e.index - t.index;+ return N3(e.target, t.target) || e.index - t.index;}function N3(e, t) {- return P3(e.target, t.target) || e.index - t.index;-}-function P3(e, t) {return e.y0 - t.y0;}-function F3(e) {+function P3(e) {return e.value;}-function XPe(e) {+function ZPe(e) {return e.index;}-function ZPe(e) {+function QPe(e) {return e.nodes;}-function QPe(e) {+function $Pe(e) {return e.links;}-function I3(e, t) {+function F3(e, t) {let n = e.get(t);if (!n) throw Error("missing: " + t);return n;}-function L3({ nodes: e }) {+function I3({ 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 $Pe() {- let e = 0, t = 0, n = 1, r = 1, i = 24, a = 8, o, s = XPe, c = YPe, l, u, d = ZPe, f = QPe, p = 6;+function eFe() {+ let e = 0, t = 0, n = 1, r = 1, i = 24, a = 8, o, s = ZPe, c = XPe, l, u, d = QPe, f = $Pe, 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), L3(e), e;+ return h(e), g(e), _(e), v(e), x(e), I3(e), e;}m.update = function(e) {- return L3(e), e;+ return I3(e), e;}, m.nodeId = function(e) {- return arguments.length ? (s = typeof e == "function" ? e : j3(e), m) : s;+ return arguments.length ? (s = typeof e == "function" ? e : A3(e), m) : s;}, m.nodeAlign = function(e) {- return arguments.length ? (c = typeof e == "function" ? e : j3(e), m) : c;+ return arguments.length ? (c = typeof e == "function" ? e : A3(e), m) : c;}, m.nodeSort = function(e) {return arguments.length ? (l = e, m) : l;}, m.nodeWidth = function(e) {@@ -77987,9 +77987,9 @@ function $Pe() {}, m.nodePadding = function(e) {return arguments.length ? (a = o = +e, m) : a;}, m.nodes = function(e) {- return arguments.length ? (d = typeof e == "function" ? e : j3(e), m) : d;+ return arguments.length ? (d = typeof e == "function" ? e : A3(e), m) : d;}, m.links = function(e) {- return arguments.length ? (f = typeof e == "function" ? e : j3(e), m) : f;+ return arguments.length ? (f = typeof e == "function" ? e : A3(e), m) : f;}, m.linkSort = function(e) {return arguments.length ? (u = e, m) : u;}, m.size = function(i) {@@ -78005,12 +78005,12 @@ function $Pe() {for (let [e, r] of t.entries()) {r.index = e;let { source: t, target: i } = r;- typeof t != "object" && (t = r.source = I3(n, t)), typeof i != "object" && (i = r.target = I3(n, i)), t.sourceLinks.push(r), i.targetLinks.push(r);+ typeof t != "object" && (t = r.source = F3(n, t)), typeof i != "object" && (i = r.target = F3(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(A3(t.sourceLinks, F3), A3(t.targetLinks, F3)) : t.fixedValue;+ for (let t of e) t.value = t.fixedValue === void 0 ? Math.max(k3(t.sourceLinks, P3), k3(t.targetLinks, P3)) : t.fixedValue;}function _({ nodes: e }) {let t = e.length, n = new Set(e), r = /* @__PURE__ */ new Set(), i = 0;@@ -78035,7 +78035,7 @@ function $Pe() {}}function y({ nodes: t }) {- let r = O3(t, (e) => e.depth) + 1, a = (n - e - i) / (r - 1), o = Array(r);+ let r = D3(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];@@ -78044,7 +78044,7 @@ function $Pe() {return o;}function b(e) {- let n = k3(e, (e) => (r - t - (e.length - 1) * o) / A3(e, F3));+ let n = O3(e, (e) => (r - t - (e.length - 1) * o) / k3(e, P3));for (let i of e) {let e = t;for (let t of i) {@@ -78061,7 +78061,7 @@ function $Pe() {}function x(e) {let n = y(e);- o = Math.min(a, (r - t) / (O3(n, (e) => e.length) - 1)), b(n);+ o = Math.min(a, (r - t) / (D3(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);@@ -78080,7 +78080,7 @@ function $Pe() {let i = (n / r - e.y0) * t;e.y0 += i, e.y1 += i, D(e);}- l === void 0 && i.sort(P3), w(i, n);+ l === void 0 && i.sort(N3), w(i, n);}}function C(e, t, n) {@@ -78096,7 +78096,7 @@ function $Pe() {let i = (n / r - e.y0) * t;e.y0 += i, e.y1 += i, D(e);}- l === void 0 && i.sort(P3), w(i, n);+ l === void 0 && i.sort(N3), w(i, n);}}function w(e, n) {@@ -78117,12 +78117,12 @@ function $Pe() {}function D({ sourceLinks: e, targetLinks: t }) {if (u === void 0) {- for (let { source: { sourceLinks: e } } of t) e.sort(N3);- for (let { target: { targetLinks: t } } of e) t.sort(M3);+ for (let { source: { sourceLinks: e } } of t) e.sort(M3);+ for (let { target: { targetLinks: t } } of e) t.sort(j3);}}function O(e) {- if (u === void 0) for (let { sourceLinks: t, targetLinks: n } of e) t.sort(N3), n.sort(M3);+ if (u === void 0) for (let { sourceLinks: t, targetLinks: n } of e) t.sort(M3), n.sort(j3);}function k(e, t) {let n = e.y0 - (e.sourceLinks.length - 1) * o / 2;@@ -78151,15 +78151,15 @@ function $Pe() {return m;}// node_modules/d3-path/src/path.js-var R3 = Math.PI, z3 = 2 * R3, B3 = 1e-6, eFe = z3 - B3;-function V3() {+var L3 = Math.PI, R3 = 2 * L3, z3 = 1e-6, tFe = R3 - z3;+function B3() {this._x0 = this._y0 = this._x1 = this._y1 = null, this._ = "";}-function H3() {- return new V3();+function V3() {+ return new B3();}-V3.prototype = H3.prototype = {- constructor: V3,+B3.prototype = V3.prototype = {+ constructor: B3,moveTo: function(e, t) {this._ += "M" + (this._x0 = this._x1 = +e) + "," + (this._y0 = this._y1 = +t);},@@ -78180,11 +78180,11 @@ V3.prototype = H3.prototype = {var a = this._x1, o = this._y1, s = n - e, c = r - t, l = a - e, u = o - t, d = l * l + u * u;if (i < 0) throw Error("negative radius: " + i);if (this._x1 === null) this._ += "M" + (this._x1 = e) + "," + (this._y1 = t);- else if (d > B3) {- if (!(Math.abs(u * s - c * l) > B3) || !i) this._ += "L" + (this._x1 = e) + "," + (this._y1 = t);+ else if (d > z3) {+ if (!(Math.abs(u * s - c * l) > z3) || !i) this._ += "L" + (this._x1 = e) + "," + (this._y1 = t);else {- var f = n - a, p = r - o, m = s * s + c * c, h = f * f + p * p, g = Math.sqrt(m), _ = Math.sqrt(d), v = i * Math.tan((R3 - Math.acos((m + d - h) / (2 * g * _))) / 2), y = v / _, b = v / g;- Math.abs(y - 1) > B3 && (this._ += "L" + (e + y * l) + "," + (t + y * u)), this._ += "A" + i + "," + i + ",0,0," + +(u * f > l * p) + "," + (this._x1 = e + b * s) + "," + (this._y1 = t + b * c);+ var f = n - a, p = r - o, m = s * s + c * c, h = f * f + p * p, g = Math.sqrt(m), _ = Math.sqrt(d), v = i * Math.tan((L3 - Math.acos((m + d - h) / (2 * g * _))) / 2), y = v / _, b = v / g;+ Math.abs(y - 1) > z3 && (this._ += "L" + (e + y * l) + "," + (t + y * u)), this._ += "A" + i + "," + i + ",0,0," + +(u * f > l * p) + "," + (this._x1 = e + b * s) + "," + (this._y1 = t + b * c);}}},@@ -78192,7 +78192,7 @@ V3.prototype = H3.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) > B3 || Math.abs(this._y1 - l) > B3) && (this._ += "L" + c + "," + l), n && (d < 0 && (d = d % z3 + z3), d > eFe ? this._ += "A" + n + "," + n + ",0,1," + u + "," + (e - o) + "," + (t - s) + "A" + n + "," + n + ",0,1," + u + "," + (this._x1 = c) + "," + (this._y1 = l) : d > B3 && (this._ += "A" + n + "," + n + ",0," + +(d >= R3) + "," + 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) > z3 || Math.abs(this._y1 - l) > z3) && (this._ += "L" + c + "," + l), n && (d < 0 && (d = d % R3 + R3), d > tFe ? this._ += "A" + n + "," + n + ",0,1," + u + "," + (e - o) + "," + (t - s) + "A" + n + "," + n + ",0,1," + u + "," + (this._x1 = c) + "," + (this._y1 = l) : d > z3 && (this._ += "A" + n + "," + n + ",0," + +(d >= L3) + "," + 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";@@ -78202,93 +78202,93 @@ V3.prototype = H3.prototype = {}};// node_modules/d3-shape/src/constant.js-function U3(e) {+function H3(e) {return function() {return e;};}// node_modules/d3-shape/src/point.js-function tFe(e) {+function nFe(e) {return e[0];}-function nFe(e) {+function rFe(e) {return e[1];}// node_modules/d3-shape/src/array.js-var rFe = Array.prototype.slice;+var iFe = Array.prototype.slice;// node_modules/d3-shape/src/link/index.js-function iFe(e) {+function aFe(e) {return e.source;}-function aFe(e) {+function oFe(e) {return e.target;}-function oFe(e) {- var t = iFe, n = aFe, r = tFe, i = nFe, a = null;+function sFe(e) {+ var t = aFe, n = oFe, r = nFe, i = rFe, a = null;function o() {- var o, s = rFe.call(arguments), c = t.apply(this, s), l = n.apply(this, s);- if (a ||= o = H3(), 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 = iFe.call(arguments), c = t.apply(this, s), l = n.apply(this, s);+ if (a ||= o = V3(), 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 : U3(+e), o) : r;+ return arguments.length ? (r = typeof e == "function" ? e : H3(+e), o) : r;}, o.y = function(e) {- return arguments.length ? (i = typeof e == "function" ? e : U3(+e), o) : i;+ return arguments.length ? (i = typeof e == "function" ? e : H3(+e), o) : i;}, o.context = function(e) {return arguments.length ? (a = e ?? null, o) : a;}, o;}-function sFe(e, t, n, r, i) {+function cFe(e, t, n, r, i) {e.moveTo(t, n), e.bezierCurveTo(t = (t + r) / 2, n, t, i, r, i);}-function cFe() {- return oFe(sFe);+function lFe() {+ return sFe(cFe);}// node_modules/d3-sankey/src/sankeyLinkHorizontal.js-function lFe(e) {+function uFe(e) {return [e.source.x1, e.y0];}-function uFe(e) {+function dFe(e) {return [e.target.x0, e.y1];}-function dFe() {- return cFe().source(lFe).target(uFe);+function fFe() {+ return lFe().source(uFe).target(dFe);}// src/react/taste/taste.ts-var fFe = "/api/taste", W3 = "/api/taste/refresh", pFe = "/api/taste/import", G3 = "/api/taste/source", K3 = (e) => ["taste", e], mFe = ["taste", "refresh"], hFe = [+var pFe = "/api/taste", U3 = "/api/taste/refresh", mFe = "/api/taste/import", W3 = "/api/taste/source", G3 = (e) => ["taste", e], hFe = ["taste", "refresh"], gFe = [["7d", "最近 7 天"],["30d", "最近 30 天"],["90d", "最近 90 天"],["365d", "最近一年"],["all", "全部时间"]-], gFe = 2e3, _Fe = (e) => e?.stale && !e.error ? gFe : !1, vFe = (e) => e ? new Date(e).toLocaleString("zh-CN", {+], _Fe = 2e3, vFe = (e) => e?.stale && !e.error ? _Fe : !1, yFe = (e) => e ? new Date(e).toLocaleString("zh-CN", {month: "numeric",day: "numeric",hour: "2-digit",minute: "2-digit"-}) : "—", yFe = (e, t) => V(G3, {+}) : "—", bFe = (e, t) => V(W3, {...e,window: t-}), q3 = (e, t, n = !1) => B(`${fFe}?window=${e}${n ? "&retry=1" : ""}`, t), bFe = (e) => B(W3, e);-async function xFe(e, t) {+}), K3 = (e, t, n = !1) => B(`${pFe}?window=${e}${n ? "&retry=1" : ""}`, t), xFe = (e) => B(U3, e);+async function SFe(e, t) {await H.fetchQuery({- queryKey: K3(e),- queryFn: () => q3(e, t)+ queryKey: G3(e),+ queryFn: () => K3(e, t)});}-var SFe = (e) => V(W3, {+var CFe = (e) => V(U3, {window: e,background: !0-}), CFe = (e, t) => V(G3, {+}), wFe = (e, t) => V(W3, {operation: "remove",source_key: e,window: t});-async function wFe(e) {- let t = await fetch(pFe, {+async function TFe(e) {+ let t = await fetch(mFe, {method: "POST",credentials: "same-origin",headers: {@@ -78306,52 +78306,52 @@ async function wFe(e) {}return n;}-var TFe = 1e4, J3 = (e) => e ? new Date(e).toLocaleDateString("zh-CN") : "—";-function EFe(e) {+var EFe = 1e4, q3 = (e) => e ? new Date(e).toLocaleDateString("zh-CN") : "—";+function DFe(e) {let t = `${Number(e.history_sources || 0).toLocaleString()} 个数据源`;if (!e.range_start && !e.range_end) return t;let n = e.range_start?.slice(0, 4) === e.range_end?.slice(0, 4), r = (e) => e && n ? new Date(e).toLocaleDateString("zh-CN", {month: "numeric",day: "numeric"- }) : J3(e);+ }) : q3(e);return `${t} · ${r(e.range_start)}–${r(e.range_end)}`;}-var DFe = w3, OFe = (e) => e.filter((e) => Number.isFinite(Number(e.score)) && Number(e.score) > 0).sort((e, t) => Number(t.score) - Number(e.score)), kFe = (e) => Number(e.web_visits ?? e.score ?? e.visits ?? e.peach_items ?? 0);-function AFe(e) {+var OFe = C3, kFe = (e) => e.filter((e) => Number.isFinite(Number(e.score)) && Number(e.score) > 0).sort((e, t) => Number(t.score) - Number(e.score)), AFe = (e) => Number(e.web_visits ?? e.score ?? e.visits ?? e.peach_items ?? 0);+function jFe(e) {if (e.web_visits == null && !e.web_bookmarks) return Number(e.score || e.visits || 0).toLocaleString();let t = [], n = Number(e.web_bookmarks || 0), r = Number(e.web_visits ?? e.visits ?? 0) - n;return r > 0 && t.push(`浏览 ${r.toLocaleString()}`), n && t.push(`书签 ${n.toLocaleString()}`), e.peach_items && t.push(`Peach ${Number(e.peach_items).toLocaleString()}`), t.join(" · ");}-function jFe(e) {- let t = e.map(kFe), n = Math.max(1, ...t);+function MFe(e) {+ let t = e.map(AFe), n = Math.max(1, ...t);return t.map((e) => Math.max(0, Math.min(100, e / n * 100)));}-var Y3 = (e, t) => e.filter((e) => Number.isFinite(Number(e.score)) && Number(e.score) > 0).map((e) => ({+var J3 = (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 MFe(e) {- let t = Y3(e, 6);+function NFe(e) {+ let t = J3(e, 6);return t.length < 3 ? [] : t;}-var X3 = {+var Y3 = {width: 720,height: 435-}, NFe = {+}, PFe = {source: 145,target: 545-}, Z3 = 30, PFe = 240;-function Q3(e, t, n) {+}, X3 = 30, FFe = 240;+function Z3(e, t, n) {let r = /* @__PURE__ */ new Map();for (let n of e) r.set(n[t], (r.get(n[t]) ?? 0) + n.value);if (r.size <= 12) return (e) => e;let i = [...r].sort((e, t) => t[1] - e[1]).map(([e]) => e), a = new Set(i.slice(0, 11)), o = n(i.length - a.size);return (e) => a.has(e) ? e : o;}-function FFe(e = []) {+function IFe(e = []) {let t = e.filter((e) => e.source && e.target && Number.isFinite(e.value) && e.value > 0);if (!t.length) return null;- let n = Q3(t, "source", (e) => `其余 ${e.toLocaleString()} 个网站`), r = Q3(t, "target", (e) => `其余 ${e.toLocaleString()} 位创作者`), i = /* @__PURE__ */ new Map();+ let n = Z3(t, "source", (e) => `其余 ${e.toLocaleString()} 个网站`), r = Z3(t, "target", (e) => `其余 ${e.toLocaleString()} 位创作者`), i = /* @__PURE__ */ new Map();for (let e of t) {let t = n(e.source), a = r(e.target), o = JSON.stringify([t, a]), s = i.get(o);s ? s.value += e.value : i.set(o, {@@ -78360,7 +78360,7 @@ function FFe(e = []) {value: e.value});}- let a = [...i.values()], o = [...new Set(a.map((e) => e.source))], s = [...new Set(a.map((e) => e.target))], c = Math.max(o.length, s.length), l = Math.max(404, 16 + (c - 1) * Z3 + PFe), u = $Pe().nodeId((e) => e.id).nodeWidth(10).nodePadding(Z3).extent([[155, 16], [535, l]])({+ let a = [...i.values()], o = [...new Set(a.map((e) => e.source))], s = [...new Set(a.map((e) => e.target))], c = Math.max(o.length, s.length), l = Math.max(404, 16 + (c - 1) * X3 + FFe), u = eFe().nodeId((e) => e.id).nodeWidth(10).nodePadding(X3).extent([[155, 16], [535, l]])({nodes: [...o.map((e) => ({id: `source:${e}`,name: e,@@ -78375,7 +78375,7 @@ function FFe(e = []) {target: `target:${e.target}`,value: e.value}))- }), d = a.reduce((e, t) => e + t.value, 0), f = dFe();+ }), d = a.reduce((e, t) => e + t.value, 0), f = fFe();return {nodes: u.nodes.map((e) => ({id: e.id,@@ -78403,17 +78403,17 @@ function FFe(e = []) {};}),total: d,- height: l + X3.height - 404+ height: l + Y3.height - 404};}-var IFe = (e) => tr(e, 17), $3 = {+var LFe = (e) => tr(e, 17), Q3 = {performers: "艺人",creators: "卖家",studios: "厂牌",agencies: "事务所",series: "系列",tags: "标签"-}, LFe = [[+}, RFe = [["big","大图 · 竖幅头像","maximize"@@ -78421,7 +78421,7 @@ var IFe = (e) => tr(e, 17), $3 = {"compact","紧凑 · 圆形头像","layout-grid"-]], RFe = [[+]], zFe = [["big","大图 · 完整标识","maximize"@@ -78429,7 +78429,7 @@ var IFe = (e) => tr(e, 17), $3 = {"compact","紧凑 · 圆形标识","layout-grid"-]], zFe = [[+]], BFe = [["big","大图 · 系列图片","maximize"@@ -78437,7 +78437,7 @@ var IFe = (e) => tr(e, 17), $3 = {"compact","紧凑 · 系列图片","layout-grid"-]], BFe = [+]], VFe = [["studios","厂牌",@@ -78453,7 +78453,7 @@ var IFe = (e) => tr(e, 17), $3 = {"系列","file-stack"]-], VFe = [[+], HFe = [["local","本地","hard-drive"@@ -78461,7 +78461,7 @@ var IFe = (e) => tr(e, 17), $3 = {"online","在线","rss"-]], HFe = [+]], UFe = [["performers","艺人",@@ -78477,7 +78477,7 @@ var IFe = (e) => tr(e, 17), $3 = {"在线","rss"]-], UFe = [[+], WFe = [["cloud","标签云","tags"@@ -78485,8 +78485,8 @@ var IFe = (e) => tr(e, 17), $3 = {"alphabet","字母表","text-aa"-]], e6 = (e) => e === "compact" ? "compact" : "big";-function t6(e, t) {+]], $3 = (e) => e === "compact" ? "compact" : "big";+function e6(e, t) {let n = new URLSearchParams(t);return {kind: e,@@ -78496,7 +78496,7 @@ function t6(e, t) {category: n.get("category") || "all"};}-var n6 = (e, t, n) => Us(e.map(([e, t, n]) => ({+var t6 = (e, t, n) => Us(e.map(([e, t, n]) => ({value: e,label: t,symbol: n@@ -78504,12 +78504,12 @@ var n6 = (e, t, n) => Us(e.map(([e, t, n]) => ({active: t,label: n,className: "indextabs"-}), WFe = (e) => `<div class="peach-react contents"><div data-filter-glass data-glass-pane class="sticky top-topbar z-10 mb-5.5 flex flex-col">+}), GFe = (e) => `<div class="peach-react contents"><div data-filter-glass data-glass-pane class="sticky top-topbar z-10 mb-5.5 flex flex-col"><div class="flex h-12 min-w-0 items-center gap-1.75 overflow-x-auto overscroll-x-contain px-3 py-2" data-filter-row="top" data-skeleton-tier="filter-pill" aria-label="标签类型"></div><div class="flex min-h-11.5 min-w-0 items-center gap-3 px-3 py-2" data-filter-row="bottom"><span class="countskeleton"></span>- <span class="ml-auto">${$c("tag-view", "标签视图", UFe, e, { className: "tag-skeleton-view" })}</span></div></div></div>`;-function GFe({ kind: e, q: t, scope: n, view: r, category: i }, a) {- let o = $3[e] || "标签", s = e !== "tags", c = e === "studios" || e === "agencies" || e === "series", l = s ? $c("people-layout", o + "索引版式", e === "series" ? zFe : c ? RFe : LFe, a) : "";+ <span class="ml-auto">${$c("tag-view", "标签视图", WFe, e, { className: "tag-skeleton-view" })}</span></div></div></div>`;+function KFe({ kind: e, q: t, scope: n, view: r, category: i }, a) {+ let o = Q3[e] || "标签", s = e !== "tags", c = e === "studios" || e === "agencies" || e === "series", l = s ? $c("people-layout", o + "索引版式", e === "series" ? BFe : c ? zFe : RFe, 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}@@ -78521,24 +78521,24 @@ function GFe({ kind: e, q: t, scope: n, view: r, category: i }, a) {}) : ""}<div data-index-search class="ml-auto min-w-0 max-w-80 flex-1">${Ds("", t, "过滤" + o)}</div></div>- ${e === "tags" ? n6(VFe, n, "词表") : e === "performers" || e === "creators" ? n6(HFe, e === "performers" && n === "online" ? "online" : e, "人物名册") : c ? n6(BFe, e, "资料类型") : ""}- ${e === "tags" ? WFe(r) : ""}- ${e === "performers" && n !== "online" ? MEe(i) : ""}+ ${e === "tags" ? t6(HFe, n, "词表") : e === "performers" || e === "creators" ? t6(UFe, e === "performers" && n === "online" ? "online" : e, "人物名册") : c ? t6(VFe, e, "资料类型") : ""}+ ${e === "tags" ? GFe(r) : ""}+ ${e === "performers" && n !== "online" ? NEe(i) : ""}${oc({kind: e,layout: a,mode: r})}`;}-var KFe = (e) => e.match(/data-skeleton="([^"]*)"/)?.[1] || "";-function r6(e, t, n) {- let r = GFe(t, n);- e.querySelector("[data-skeleton]")?.dataset.skeleton !== KFe(r) && (e.innerHTML = r, pc(e));+var qFe = (e) => e.match(/data-skeleton="([^"]*)"/)?.[1] || "";+function n6(e, t, n) {+ let r = KFe(t, n);+ e.querySelector("[data-skeleton]")?.dataset.skeleton !== qFe(r) && (e.innerHTML = r, pc(e));}// src/react/router/pages/index-entity.tsx-var qFe = () => pu, JFe = () => Ql, i6 = () => document.getElementById("index");-function a6(e, t, n = {}) {- let r = (0, F.useSyncExternalStore)(Cu, qFe);+var JFe = () => pu, YFe = () => Ql, r6 = () => document.getElementById("index");+function i6(e, t, n = {}) {+ let r = (0, F.useSyncExternalStore)(Cu, JFe);ef();let i = Bf(Op.navigation.location.pathname), a = (0, F.useRef)({mounted: !0,@@ -78586,11 +78586,11 @@ function a6(e, t, n = {}) {i]);}-async function YFe(e, t, n, r) {- let i = i6();+async function XFe(e, t, n, r) {+ let i = r6();if (!i) return;- let a = `/${t}`, o = t6(t, n), s = e6(iM().value.peopleLayout), c = !!i.querySelector("[data-index-page]") && !i.hidden;- c || (e.surfaceChanged("index", a), r6(i, o, s), pm(r, i, { pending: !0 })), await mp(a, {+ let a = `/${t}`, o = e6(t, n), s = $3(rM().value.peopleLayout), c = !!i.querySelector("[data-index-page]") && !i.hidden;+ c || (e.surfaceChanged("index", a), n6(i, o, s), pm(r, i, { pending: !0 })), await mp(a, {...o,layout: s,selectMode: Ql,@@ -78601,23 +78601,23 @@ async function YFe(e, t, n, r) {reuse: c}) && r() && (e.surfaceShown?.("index", a), pm(r, i));}-function XFe(e) {- let t = i6(), n = t ? lp(t) : null;+function ZFe(e) {+ let t = r6(), n = t ? lp(t) : null;return !!t && !t.hidden && !!n && n.path === e && n.host.isConnected;}-function ZFe({ epoch: e }) {- let t = (0, F.useContext)(eG), n = ef(), r = n.pathname.split("/").filter(Boolean)[0];- return a6(e, (e, i) => {- t && YFe(t, r, n.search, i);- }, { shown: () => XFe(`/${r}`) }), null;+function QFe({ epoch: e }) {+ let t = (0, F.useContext)($W), n = ef(), r = n.pathname.split("/").filter(Boolean)[0];+ return i6(e, (e, i) => {+ t && XFe(t, r, n.search, i);+ }, { shown: () => ZFe(`/${r}`) }), null;}-function QFe() {- let e = $W(), t = (0, F.useSyncExternalStore)(Cu, JFe), n = (0, F.useRef)(t);+function $Fe() {+ let e = QW(), t = (0, F.useSyncExternalStore)(Cu, YFe), n = (0, F.useRef)(t);return (0, F.useEffect)(() => {- n.current !== t && (n.current = t, window.location.pathname === "/tags" && gp(i6(), { selectMode: t }));- }, [t]), /* @__PURE__ */ (0, I.jsx)(ZFe, { epoch: e }, e);+ n.current !== t && (n.current = t, window.location.pathname === "/tags" && gp(r6(), { selectMode: t }));+ }, [t]), /* @__PURE__ */ (0, I.jsx)(QFe, { epoch: e }, e);}-function $Fe(e) {+function eIe(e) {let t;try {t = decodeURIComponent(e);@@ -78631,9 +78631,9 @@ function $Fe(e) {name: a} : null;}-var o6 = /* @__PURE__ */ new WeakMap();-function eIe(e) {- let t = o6.get(e);+var a6 = /* @__PURE__ */ new WeakMap();+function tIe(e) {+ let t = a6.get(e);return t || (t = {helpers: {...e.grid.helpers,@@ -78643,14 +78643,14 @@ function eIe(e) {...e.grid.actions,revealSource: e.revealSource}- }, o6.set(e, t)), t;+ }, a6.set(e, t)), t;}-function s6() {- let e = i6(), t = e ? lp(e) : null;+function o6() {+ let e = r6(), t = e ? lp(e) : null;return !!t && t.path.endsWith("/*") && t.host.isConnected;}-async function tIe(e, t, n, r, i, a, o) {- let s = i6();+async function nIe(e, t, n, r, i, a, o) {+ let s = r6();if (!s) return;let { segment: c, kind: l, name: u } = n;if (!a()) return;@@ -78673,7 +78673,7 @@ async function tIe(e, t, n, r, i, a, o) {let g = {...h,hosts: m,- card: eIe(e),+ card: tIe(e),resolvedEntity: o,restoreNavigation: dm(),actions: {@@ -78688,16 +78688,16 @@ async function tIe(e, t, n, r, i, a, o) {isCurrent: a,beforePlace: () => e.surfaceChanged("entity", r),place: (e) => (e.replaceChildren(...f), p.firstElementChild)- }) && a() && s6() && (e.surfaceShown?.("entity", r), pm(a, m.filter));+ }) && a() && o6() && (e.surfaceShown?.("entity", r), pm(a, m.filter));}-function nIe({ target: e }) {- let t = (0, F.useContext)(eG), n = $W(), r = ef();- return a6(n, (n, i) => {+function rIe({ target: e }) {+ let t = (0, F.useContext)($W), n = QW(), r = ef();+ return i6(n, (n, i) => {let a = t?.entity;t && a && (async () => {- if (n || !s6()) {+ if (n || !o6()) {if (t.surfaceChanged("entity", r.pathname), await a.loading(e.kind, e.name, i), !i()) return;- pm(i, i6(), { pending: !0 });+ pm(i, r6(), { pending: !0 });}let o = new URLSearchParams({ kind: e.kind });o.set(/^[0-9]+$/.test(e.name) ? "id" : "name", e.name);@@ -78723,7 +78723,7 @@ function nIe({ target: e }) {return;}let c = String(s.canonical_name || e.name), l = Pn(e.kind, c, Number(s.id));- l === r.pathname ? !n && a.refresh(e.kind, c, r.search) ? pm(i, i6()?.querySelector("[data-entity-filter]")) : tIe(t, a, {+ l === r.pathname ? !n && a.refresh(e.kind, c, r.search) ? pm(i, r6()?.querySelector("[data-entity-filter]")) : nIe(t, a, {...e,name: c}, r.pathname, r.search, i, s) : kp(l + r.search + r.hash, {@@ -78731,16 +78731,16 @@ function nIe({ target: e }) {state: Op.navigation.location.state});})();- }, { shown: () => s6() && !i6()?.hidden }), null;+ }, { shown: () => o6() && !r6()?.hidden }), null;}-function rIe() {- let e = $Fe(ef().pathname);- return e ? /* @__PURE__ */ (0, I.jsx)(nIe, { target: e }, JSON.stringify([e.kind, e.name])) : null;+function iIe() {+ let e = eIe(ef().pathname);+ return e ? /* @__PURE__ */ (0, I.jsx)(rIe, { target: e }, JSON.stringify([e.kind, e.name])) : null;}// src/react/router/pages/follow.tsx-var c6 = () => document.getElementById("stats"), iIe = () => yu;-async function aIe(e, t) {- let n = c6(), r = e.follow;+var s6 = () => document.getElementById("stats"), aIe = () => yu;+async function oIe(e, t) {+ let n = s6(), r = e.follow;if (!n || !r) return;let i = um("follow"), a = r.refresh(i), o = r.props();if (lm("follow", {@@ -78749,34 +78749,34 @@ async function aIe(e, t) {revision: o.revision}), a) return;let s = H.getQueryData(ra(o.view, o.revision).queryKey) !== void 0;- s || (e.surfaceChanged("follow", "/follow"), k2(n, r.skeleton()), pm(t, n, { pending: !0 })), await mp("/follow", o, {+ s || (e.surfaceChanged("follow", "/follow"), O2(n, r.skeleton()), pm(t, n, { pending: !0 })), await mp("/follow", o, {container: n,isCurrent: t,beforePlace: s ? () => e.surfaceChanged("follow", "/follow") : void 0}), t() && pm(t, n.querySelector("[data-filter-frame]"));}-function oIe() {- let e = c6(), t = e ? lp(e) : null;+function sIe() {+ let e = s6(), t = e ? lp(e) : null;return !!e && !e.hidden && !!t && t.path === "/follow" && t.host.isConnected;}-function sIe() {- let e = (0, F.useContext)(eG);- return a6($W(), (t, n) => {- e && aIe(e, n);+function cIe() {+ let e = (0, F.useContext)($W);+ return i6(QW(), (t, n) => {+ e && oIe(e, n);}, {- shown: oIe,+ shown: sIe,onCovered: () => {Op.navigation.location.pathname.startsWith("/posts/") && e?.follow?.ground();}}), null;}-function l6(e) {+function c6(e) {let t = e ? lp(e) : null;return !!t && t.path === "/playlists" && t.host.isConnected;}-async function cIe(e, t) {- let n = c6();- n && (e.surfaceChanged("playlists", "/playlists"), k2(n, D2("/playlists", {+async function lIe(e, t) {+ let n = s6();+ n && (e.surfaceChanged("playlists", "/playlists"), O2(n, E2("/playlists", {followLayout: "",followSort: "",followDir: ""@@ -78785,54 +78785,54 @@ async function cIe(e, t) {isCurrent: t}), t() && pm(t));}-function lIe() {- let e = (0, F.useContext)(eG), t = (0, F.useSyncExternalStore)(Cu, iIe), n = (0, F.useRef)(t);+function uIe() {+ let e = (0, F.useContext)($W), t = (0, F.useSyncExternalStore)(Cu, aIe), n = (0, F.useRef)(t);return (0, F.useEffect)(() => {if (n.current === t) return;n.current = t;- let e = c6();- l6(e) && gp(e, { revision: t });- }, [t]), a6($W(), (t, n) => {- e && cIe(e, n);+ let e = s6();+ c6(e) && gp(e, { revision: t });+ }, [t]), i6(QW(), (t, n) => {+ e && lIe(e, n);}, { shown: () => {- let e = c6();- return l6(e) && !e.hidden;+ let e = s6();+ return c6(e) && !e.hidden;} }), null;}// src/react/router/pages/immerse.tsx-function uIe() {+function dIe() {let e = new URLSearchParams(Op.navigation.location.search).get("id");return /^\d+$/.test(e || "") ? Number(e) : void 0;}-function dIe() {- let e = (0, F.useContext)(eG);- return ZW(() => {- e?.openImmerse(uIe());+function fIe() {+ let e = (0, F.useContext)($W);+ return XW(() => {+ e?.openImmerse(dIe());}, !0), null;}-function fIe() {- return /* @__PURE__ */ (0, I.jsx)(dIe, {}, $W());+function pIe() {+ return /* @__PURE__ */ (0, I.jsx)(fIe, {}, QW());}// src/react/router/pages/managed.tsx-var pIe = () => pu > 0, u6 = () => (0, F.useSyncExternalStore)(Cu, pIe), d6 = () => iM().value.followLayout === "table" ? "table" : "default", f6 = () => new URLSearchParams(window.location.search);-function p6(e) {+var mIe = () => pu > 0, l6 = () => (0, F.useSyncExternalStore)(Cu, mIe), u6 = () => rM().value.followLayout === "table" ? "table" : "default", d6 = () => new URLSearchParams(window.location.search);+function f6(e) {return Tn("/healthz", { signal: e.controller.signal }).catch((e) => {if (En(e)) return null;throw e;});}-function m6(e, t) {+function p6(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 mIe(e, t) {+async function hIe(e, t) {if (e === "/jav") {- let e = await p6(t);+ let e = await f6(t);return t.live ? {- tab: lU(f6().get("tab")),+ tab: lU(d6().get("tab")),readOnly: !!e?.ledger_read_only} : null;}@@ -78843,50 +78843,50 @@ async function mIe(e, t) {}if (e.startsWith("/settings/")) {window.location.hash === "#peachProxy" && W({ configurationRequestedSection: "网络与访问" });- let t = f6().get("section") || uu || Af(e);+ let t = d6().get("section") || uu || Af(e);return t ? { section: t } : {};}if (e === "/review") {- let e = f6().get("category") || "", n = await p6(t);+ let e = d6().get("category") || "", n = await f6(t);return t.live ? {- category: OY(e) ? e : "",- queue: jY(f6().get("queue")),- ...m6(n, "/review")+ category: DY(e) ? e : "",+ queue: AY(d6().get("queue")),+ ...p6(n, "/review")} : null;}if (e === "/subscriptions") {- let e = LZ("?" + f6().toString()), n = await p6(t);+ let e = IZ("?" + d6().toString()), n = await f6(t);if (!t.live) return null;- let r = iM().value;+ let r = rM().value;return {...e,pageSize: Number(r.followPageSize) || 20,- layout: d6(),- ...m6(n, "/subscriptions")+ layout: u6(),+ ...p6(n, "/subscriptions")};}return {};}-async function hIe(e, t, n) {+async function gIe(e, t, n) {let r = Op.navigation.seq, i = () => n.live && Op.navigation.seq === r;- if (e === "/jav" && lU(f6().get("tab")) === "library") {+ if (e === "/jav" && lU(d6().get("tab")) === "library") {Op.replace(yve(window.location.search));return;}- if (e === "/subscriptions" && f6().get("tab") === "wants") {+ if (e === "/subscriptions" && d6().get("tab") === "wants") {kp("/jav?tab=wants", { replace: !0 });return;}- if (e === "/subscriptions" && f6().get("tab") === "source") {+ if (e === "/subscriptions" && d6().get("tab") === "source") {kp("/settings/subscriptions", { replace: !0 });return;}let a = document.getElementById("stats");if (!a) return;- t.surfaceChanged("management", e), k2(a, D2(e, {- followLayout: d6(),- followSort: f6().get("sort") || "",- followDir: f6().get("dir") || ""+ t.surfaceChanged("management", e), O2(a, E2(e, {+ followLayout: u6(),+ followSort: d6().get("sort") || "",+ followDir: d6().get("dir") || ""})), pm(i, a, { pending: !0 }), e === "/taste" && (W({ state: {...U,creator: "",@@ -78902,7 +78902,7 @@ async function hIe(e, t, n) {q: "",jav: ""} }), t.clearSearch());- let o = await mIe(e, n);+ let o = await hIe(e, n);if (!o) return;let s = await mp(e, o, {container: a,@@ -78918,19 +78918,19 @@ async function hIe(e, t, n) {}) : pm(i);}}-function h6({ path: e }) {- let t = $W();+function m6({ path: e }) {+ let t = QW();ef();let n = Bf(Op.navigation.location.pathname), r = (0, F.useRef)(n ? null : t), i = (0, F.useRef)(n);n || i.current && r.current !== null || (r.current = t), i.current = n;let a = e.startsWith("/settings/") ? "/settings/configuration" : e;- return /* @__PURE__ */ (0, I.jsx)(gIe, {+ return /* @__PURE__ */ (0, I.jsx)(_Ie, {path: e,covered: r.current === null}, `${a} ${r.current ?? "covered"}`);}-function gIe({ path: e, covered: t }) {- let n = (0, F.useContext)(eG), r = u6(), i = (0, F.useRef)(null);+function _Ie({ path: e, covered: t }) {+ let n = (0, F.useContext)($W), r = l6(), i = (0, F.useRef)(null);return (0, F.useEffect)(() => {e.startsWith("/settings/") && gp(document.getElementById("stats"), { section: Af(e) });}, [e]), (0, F.useEffect)(() => {@@ -78941,15 +78941,15 @@ function gIe({ path: e, covered: t }) {controller: new AbortController()};i.current = a, queueMicrotask(() => {- a.live && hIe(e, n, a);+ a.live && gIe(e, n, a);});}, [r]), (0, F.useEffect)(() => () => {let e = i.current;e && (e.live = !1, e.controller.abort());}, []), null;}-function _Ie() {- let e = u6(), t = (0, F.useRef)(!1);+function vIe() {+ let e = l6(), t = (0, F.useRef)(!1);return (0, F.useEffect)(() => {if (!e || t.current || Bf(Op.navigation.location.pathname)) return;t.current = !0;@@ -78962,24 +78962,24 @@ function _Ie() {}, [e]), null;}// src/react/router/route-chunk.ts-var g6 = [], _6 = "peach.chunkReloadAt", vIe = 3e4;-async function yIe() {+var h6 = [], g6 = "peach.chunkReloadAt", yIe = 3e4;+async function bIe() {try {- let e = Number(sessionStorage.getItem(_6) || 0);- if (Date.now() - e < vIe || !(await fetch("/healthz", {+ let e = Number(sessionStorage.getItem(g6) || 0);+ if (Date.now() - e < yIe || !(await fetch("/healthz", {cache: "no-store",credentials: "same-origin"})).ok) return;- sessionStorage.setItem(_6, String(Date.now())), location.reload();+ sessionStorage.setItem(g6, String(Date.now())), location.reload();} catch {}}-function v6(e) {+function _6(e) {let t = null, n = null, r = () => n ??= e().then((e) => (t = { module: e }, e), (e) => {throw n = null, e;});- return g6.push(r), {+ return h6.push(r), {preload: () => r().catch(async (e) => {- throw await yIe(), e;+ throw await bIe(), e;}),get: () => {if (!t) throw Error("页面代码还没装载");@@ -78987,10 +78987,10 @@ function v6(e) {}};}-function bIe() {+function xIe() {let e = globalThis.requestIdleCallback;if (typeof e != "function") return;- let t = [...g6], n = () => {+ let t = [...h6], n = () => {let r = t.shift();r && e(() => {r().catch(() => {}).finally(n);@@ -78999,31 +78999,31 @@ function bIe() {document.readyState === "complete" ? n() : window.addEventListener("load", n, { once: !0 });}// src/react/router/managed-routes.tsx-async function y6(e, t) {+async function v6(e, t) {let [n, r] = await Promise.allSettled([e.preload(), t]);if (r.status === "rejected") throw r.reason;if (n.status === "rejected") throw n.reason;}-var b6 = v6(() => import("./peach-app.jav-page-CvsnSwyE.js")), x6 = v6(() => import("./peach-app.stats-page-XSybs-4I.js")), S6 = v6(() => import("./peach-app.taste-page-D_ZxnloB.js")), C6 = v6(() => import("./peach-app.review-page-DL1KGdJQ.js")), w6 = v6(() => import("./peach-app.data-cleanup-page-CZOBqkVd.js")), T6 = v6(() => import("./peach-app.duplicates-page-Bau8HIlx.js")), E6 = v6(() => import("./peach-app.quality-goals-page-Deoy7rhD.js")), D6 = v6(() => import("./peach-app.scraping-page-C4xFEKWF.js")), O6 = v6(async () => {+var y6 = _6(() => import("./peach-app.jav-page-CvsnSwyE.js")), b6 = _6(() => import("./peach-app.stats-page-XSybs-4I.js")), x6 = _6(() => import("./peach-app.taste-page-D_ZxnloB.js")), S6 = _6(() => import("./peach-app.review-page-DL1KGdJQ.js")), C6 = _6(() => import("./peach-app.data-cleanup-page-CZOBqkVd.js")), w6 = _6(() => import("./peach-app.duplicates-page-Bau8HIlx.js")), T6 = _6(() => import("./peach-app.quality-goals-page-Deoy7rhD.js")), E6 = _6(() => import("./peach-app.scraping-page-C4xFEKWF.js")), D6 = _6(async () => {let [{ ConfigurationPage: e }, { DiagnosticsPage: t }] = await Promise.all([import("./peach-app.configuration-page-BY1Gq6Cj.js"), import("./peach-app.diagnostics-page-DS1L_wLs.js")]);return {ConfigurationPage: e,DiagnosticsPage: t};-}), k6 = v6(() => import("./peach-app.activity-page-CDOzqSMm.js")), A6 = v6(() => import("./peach-app.follow-manage-page-ipO0SiYO.js")), j6 = v6(() => import("./peach-app.playlists-page-Be7ygGCR.js"));-function xIe(e, t, n) {+}), O6 = _6(() => import("./peach-app.activity-page-CDOzqSMm.js")), k6 = _6(() => import("./peach-app.follow-manage-page-ipO0SiYO.js")), A6 = _6(() => import("./peach-app.playlists-page-Be7ygGCR.js"));+function SIe(e, t, n) {if (e === "duplicates") {n("/duplicates");return;}let r = t.managePath(e);- P6(r) ? n(r) : t.openManage(e);+ N6(r) ? n(r) : t.openManage(e);}-var M6 = (e) => ({- element: /* @__PURE__ */ (0, I.jsx)(h6, { path: e }),- prefetch: (t, n) => y6(O6, Promise.all([kAe(n), ...e === "/settings/diagnostics" ? [QOe(n)] : []]).then(() => {})),+var j6 = (e) => ({+ element: /* @__PURE__ */ (0, I.jsx)(m6, { path: e }),+ prefetch: (t, n) => v6(D6, Promise.all([AAe(n), ...e === "/settings/diagnostics" ? [$Oe(n)] : []]).then(() => {})),page: (t, n) => {- let { ConfigurationPage: r, DiagnosticsPage: i } = O6.get();+ let { ConfigurationPage: r, DiagnosticsPage: i } = D6.get();return /* @__PURE__ */ (0, I.jsx)(r, {receipt: (e) => n.receipt(e),reopenTutorial: n.reopenTutorial,@@ -79034,12 +79034,12 @@ var M6 = (e) => ({})});}-}), N6 = {+}), M6 = {...Yf.reduce((e, t) => (e[t.path] = {- element: /* @__PURE__ */ (0, I.jsx)(h6, { path: t.path }),- prefetch: (e, n) => y6(w6, SEe(t.key, n)),+ element: /* @__PURE__ */ (0, I.jsx)(m6, { path: t.path }),+ prefetch: (e, n) => v6(C6, CEe(t.key, n)),page: (e, n) => {- let { DataCleanupToolPage: r } = w6.get();+ let { DataCleanupToolPage: r } = C6.get();return /* @__PURE__ */ (0, I.jsx)(r, {tool: t.key,failure: n.failure,@@ -79048,10 +79048,10 @@ var M6 = (e) => ({}}, e), {}),"/jav": {- element: /* @__PURE__ */ (0, I.jsx)(h6, { path: "/jav" }),- prefetch: (e, t) => y6(b6, Tye(e.tab, t)),+ element: /* @__PURE__ */ (0, I.jsx)(m6, { path: "/jav" }),+ prefetch: (e, t) => v6(y6, Tye(e.tab, t)),page: (e, t) => {- let { JavPage: n } = b6.get();+ let { JavPage: n } = y6.get();return /* @__PURE__ */ (0, I.jsx)(n, {...e,navigate: t.navigate,@@ -79060,10 +79060,10 @@ var M6 = (e) => ({}},"/stats": {- element: /* @__PURE__ */ (0, I.jsx)(h6, { path: "/stats" }),- prefetch: (e, t) => y6(x6, NPe(t)),+ element: /* @__PURE__ */ (0, I.jsx)(m6, { path: "/stats" }),+ prefetch: (e, t) => v6(b6, PPe(t)),page: (e, t) => {- let { StatsPage: n } = x6.get();+ let { StatsPage: n } = b6.get();return /* @__PURE__ */ (0, I.jsx)(n, {tagLabel: Ll,onTag: t.openTag@@ -79071,10 +79071,10 @@ var M6 = (e) => ({}},"/taste": {- element: /* @__PURE__ */ (0, I.jsx)(h6, { path: "/taste" }),- prefetch: (e, t) => y6(S6, xFe("all", t)),+ element: /* @__PURE__ */ (0, I.jsx)(m6, { path: "/taste" }),+ prefetch: (e, t) => v6(x6, SFe("all", t)),page: (e, t, n) => {- let { TastePage: r } = S6.get();+ let { TastePage: r } = x6.get();return /* @__PURE__ */ (0, I.jsx)(r, {onSignal: t.openTasteSignal,navigate: n,@@ -79084,10 +79084,10 @@ var M6 = (e) => ({}},"/review": {- element: /* @__PURE__ */ (0, I.jsx)(h6, { path: "/review" }),- prefetch: (e, t) => y6(C6, fTe(t)),+ element: /* @__PURE__ */ (0, I.jsx)(m6, { path: "/review" }),+ prefetch: (e, t) => v6(S6, pTe(t)),page: (e, t) => {- let { ReviewPage: n } = C6.get();+ let { ReviewPage: n } = S6.get();return /* @__PURE__ */ (0, I.jsx)(n, {...e,route: t.routeReview,@@ -79099,23 +79099,23 @@ var M6 = (e) => ({}},"/data-cleanup": {- element: /* @__PURE__ */ (0, I.jsx)(h6, { path: "/data-cleanup" }),- prefetch: (e, t) => y6(w6, xEe(t)),+ element: /* @__PURE__ */ (0, I.jsx)(m6, { path: "/data-cleanup" }),+ prefetch: (e, t) => v6(C6, SEe(t)),page: (e, t, n) => {- let { DataCleanupPage: r } = w6.get();+ let { DataCleanupPage: r } = C6.get();return /* @__PURE__ */ (0, I.jsx)(r, {navigate: n,failure: t.failure,- open: (e) => xIe(e, t, n),+ open: (e) => SIe(e, t, n),toast: (e, { warning: n = !1 } = {}) => n ? t.toast({ text: e }, { sound: "warning" }) : t.receipt(e)});}},"/duplicates": {- element: /* @__PURE__ */ (0, I.jsx)(h6, { path: "/duplicates" }),- prefetch: (e, t) => y6(T6, Owe(t)),+ element: /* @__PURE__ */ (0, I.jsx)(m6, { path: "/duplicates" }),+ prefetch: (e, t) => v6(w6, kwe(t)),page: (e, t) => {- let { DuplicatesPage: n } = T6.get();+ let { DuplicatesPage: n } = w6.get();return /* @__PURE__ */ (0, I.jsx)(n, {openItem: t.openItem,failure: t.failure,@@ -79124,46 +79124,46 @@ var M6 = (e) => ({}},"/quality-goals": {- element: /* @__PURE__ */ (0, I.jsx)(h6, { path: "/quality-goals" }),- prefetch: (e, t) => y6(E6, Bwe(t)),+ element: /* @__PURE__ */ (0, I.jsx)(m6, { path: "/quality-goals" }),+ prefetch: (e, t) => v6(T6, Vwe(t)),page: (e, t) => {- let { QualityGoalsPage: n } = E6.get();+ let { QualityGoalsPage: n } = T6.get();return /* @__PURE__ */ (0, I.jsx)(n, {openItem: t.openItem,- javTitleHtml: UI,- javDisplayName: HI,+ javTitleHtml: HI,+ javDisplayName: VI,toast: (e) => t.receipt(e),srcBadge: t.srcBadge});}},"/sources": {- element: /* @__PURE__ */ (0, I.jsx)(h6, { path: "/sources" }),- prefetch: (e, t) => y6(D6, gAe(t)),+ element: /* @__PURE__ */ (0, I.jsx)(m6, { path: "/sources" }),+ prefetch: (e, t) => v6(E6, _Ae(t)),page: (e, t) => {- let { ScrapingPage: n } = D6.get();+ let { ScrapingPage: n } = E6.get();return /* @__PURE__ */ (0, I.jsx)(n, { toast: (e) => t.toast(e) });}},- "/settings/library": M6("/settings/library"),- "/settings/subscriptions": M6("/settings/subscriptions"),- "/settings/downloads": M6("/settings/downloads"),- "/settings/network": M6("/settings/network"),- "/settings/maintenance": M6("/settings/maintenance"),- "/settings/diagnostics": M6("/settings/diagnostics"),+ "/settings/library": j6("/settings/library"),+ "/settings/subscriptions": j6("/settings/subscriptions"),+ "/settings/downloads": j6("/settings/downloads"),+ "/settings/network": j6("/settings/network"),+ "/settings/maintenance": j6("/settings/maintenance"),+ "/settings/diagnostics": j6("/settings/diagnostics"),"/tasks": {- element: /* @__PURE__ */ (0, I.jsx)(h6, { path: "/tasks" }),- prefetch: (e, t) => y6(k6, ape(t)),+ element: /* @__PURE__ */ (0, I.jsx)(m6, { path: "/tasks" }),+ prefetch: (e, t) => v6(O6, ope(t)),page: () => {- let { ActivityPage: e } = k6.get();+ let { ActivityPage: e } = O6.get();return /* @__PURE__ */ (0, I.jsx)(e, {});}},"/subscriptions": {- element: /* @__PURE__ */ (0, I.jsx)(h6, { path: "/subscriptions" }),- prefetch: (e, t) => y6(A6, Ri(t)),+ element: /* @__PURE__ */ (0, I.jsx)(m6, { path: "/subscriptions" }),+ prefetch: (e, t) => v6(k6, Ri(t)),page: (e, t) => {- let { FollowManagePage: n } = A6.get();+ let { FollowManagePage: n } = k6.get();return /* @__PURE__ */ (0, I.jsx)(n, {...e,route: t.routeFollowManage,@@ -79173,12 +79173,12 @@ var M6 = (e) => ({});}}-}, P6 = (e) => Object.hasOwn(N6, e), SIe = { "/resource-sync": { element: /* @__PURE__ */ (0, I.jsx)(_Ie, {}) } }, CIe = { "/immerse": { element: /* @__PURE__ */ (0, I.jsx)(fIe, {}) } }, F6 = {+}, N6 = (e) => Object.hasOwn(M6, e), CIe = { "/resource-sync": { element: /* @__PURE__ */ (0, I.jsx)(vIe, {}) } }, wIe = { "/immerse": { element: /* @__PURE__ */ (0, I.jsx)(pIe, {}) } }, P6 = {"/playlists": {- element: /* @__PURE__ */ (0, I.jsx)(lIe, {}),- prefetch: (e, t) => y6(j6, eAe(t)),+ element: /* @__PURE__ */ (0, I.jsx)(uIe, {}),+ prefetch: (e, t) => v6(A6, tAe(t)),page: (e, t) => {- let { PlaylistsPage: n } = j6.get();+ let { PlaylistsPage: n } = A6.get();return /* @__PURE__ */ (0, I.jsx)(n, {revision: e.revision,openPlaylist: t.openPlaylist,@@ -79189,14 +79189,14 @@ var M6 = (e) => ({}},"/follow": {- element: /* @__PURE__ */ (0, I.jsx)(sIe, {}),+ element: /* @__PURE__ */ (0, I.jsx)(cIe, {}),prefetch: (e, t) => oa(e, t),- page: (e) => /* @__PURE__ */ (0, I.jsx)(ADe, { ...e })+ page: (e) => /* @__PURE__ */ (0, I.jsx)(jDe, { ...e })}-}, I6 = (e) => Object.hasOwn(F6, e), L6 = {- element: /* @__PURE__ */ (0, I.jsx)(QFe, {}),- prefetch: (e, t) => UEe(e, t),- page: (e, t) => /* @__PURE__ */ (0, I.jsx)(fke, {+}, F6 = (e) => Object.hasOwn(P6, e), I6 = {+ element: /* @__PURE__ */ (0, I.jsx)($Fe, {}),+ prefetch: (e, t) => WEe(e, t),+ page: (e, t) => /* @__PURE__ */ (0, I.jsx)(pke, {...e,route: t.routeIndex,savePreference: t.savePeopleLayout,@@ -79209,82 +79209,82 @@ var M6 = (e) => ({openFollowAuthor: t.openFollowAuthor,openFollowTag: t.openFollowTag})+}, L6 = {+ "/performers": I6,+ "/creators": I6,+ "/studios": I6,+ "/agencies": I6,+ "/tags": I6,+ "/series": I6}, R6 = {- "/performers": L6,- "/creators": L6,- "/studios": L6,- "/agencies": L6,- "/tags": L6,- "/series": L6+ element: /* @__PURE__ */ (0, I.jsx)(iIe, {}),+ prefetch: (e) => MEe(e),+ page: (e) => /* @__PURE__ */ (0, I.jsx)(JOe, { ...e })}, z6 = {- element: /* @__PURE__ */ (0, I.jsx)(rIe, {}),- prefetch: (e) => jEe(e),- page: (e) => /* @__PURE__ */ (0, I.jsx)(qOe, { ...e })+ "/performers/*": R6,+ "/studios/*": R6,+ "/creators/*": R6,+ "/series/*": R6,+ "/agencies/*": R6,+ "/tags/*": R6}, B6 = {- "/performers/*": z6,- "/studios/*": z6,- "/creators/*": z6,- "/series/*": z6,- "/agencies/*": z6,- "/tags/*": z6-}, V6 = {"/": {- element: /* @__PURE__ */ (0, I.jsx)(YW, {}),+ element: /* @__PURE__ */ (0, I.jsx)(JW, {}),prefetch: async () => {},- page: (e) => /* @__PURE__ */ (0, I.jsx)(cY, { ...e })+ page: (e) => /* @__PURE__ */ (0, I.jsx)(sY, { ...e })},"/junk-files": {- element: /* @__PURE__ */ (0, I.jsx)(YW, {}),+ element: /* @__PURE__ */ (0, I.jsx)(JW, {}),prefetch: async () => {},- page: (e) => /* @__PURE__ */ (0, I.jsx)(Tke, { ...e })+ page: (e) => /* @__PURE__ */ (0, I.jsx)(Eke, { ...e })}-}, H6 = (e) => Object.hasOwn(V6, e), wIe = (e) => e.mode === "notice" ? /* @__PURE__ */ (0, I.jsx)(lve, { ...e }) : /* @__PURE__ */ (0, I.jsx)(O$, { ...e }), U6 = {+}, V6 = (e) => Object.hasOwn(B6, e), TIe = (e) => e.mode === "notice" ? /* @__PURE__ */ (0, I.jsx)(lve, { ...e }) : /* @__PURE__ */ (0, I.jsx)(D$, { ...e }), H6 = {"catalog-filter": {prefetch: async () => {},- page: (e) => /* @__PURE__ */ (0, I.jsx)(jbe, { ...e })+ page: (e) => /* @__PURE__ */ (0, I.jsx)(Mbe, { ...e })},"feed-new": {- prefetch: (e) => DEe(e),- page: (e) => /* @__PURE__ */ (0, I.jsx)($Oe, { ...e })+ prefetch: (e) => OEe(e),+ page: (e) => /* @__PURE__ */ (0, I.jsx)(eke, { ...e })},"library-processing": {prefetch: (e, t) => sH(t),- page: (e) => /* @__PURE__ */ (0, I.jsx)(wIe, { ...e })+ page: (e) => /* @__PURE__ */ (0, I.jsx)(TIe, { ...e })},search: {prefetch: async () => {},- page: (e) => /* @__PURE__ */ (0, I.jsx)(wAe, { ...e })+ page: (e) => /* @__PURE__ */ (0, I.jsx)(TAe, { ...e })}-}, W6 = (e) => Object.hasOwn(U6, e), G6 = {+}, U6 = (e) => Object.hasOwn(H6, e), W6 = {"batch-dock": {prefetch: async () => {},- page: () => /* @__PURE__ */ (0, I.jsx)(ile, {})+ page: () => /* @__PURE__ */ (0, I.jsx)(ale, {})},"glow-picker": {prefetch: async () => {},- page: () => /* @__PURE__ */ (0, I.jsx)(Ble, {})+ page: () => /* @__PURE__ */ (0, I.jsx)(Vle, {})},"manage-header": {prefetch: async () => {},- page: () => /* @__PURE__ */ (0, I.jsx)(Rfe, {})+ page: () => /* @__PURE__ */ (0, I.jsx)(zfe, {})},immerse: {prefetch: async () => {},- page: () => /* @__PURE__ */ (0, I.jsx)(Fde, {})+ page: () => /* @__PURE__ */ (0, I.jsx)(Ide, {})},"settings-panel": {prefetch: async () => {},- page: () => /* @__PURE__ */ (0, I.jsx)(JAe, {})+ page: () => /* @__PURE__ */ (0, I.jsx)(YAe, {})},sidebar: {prefetch: async () => {},- page: () => /* @__PURE__ */ (0, I.jsx)(uje, {})+ page: () => /* @__PURE__ */ (0, I.jsx)(dje, {})},stage: {prefetch: async () => {},- page: () => /* @__PURE__ */ (0, I.jsx)(jPe, {})+ page: () => /* @__PURE__ */ (0, I.jsx)(MPe, {})}-}, K6 = (e) => Object.hasOwn(G6, e), q6 = [+}, G6 = (e) => Object.hasOwn(W6, e), K6 = ["/","/wall","/unseen",@@ -79294,99 +79294,99 @@ var M6 = (e) => ({"/junk-files"];[- ...Object.keys(N6),- ...Object.keys(F6),- ...Object.keys(R6),- ...Object.keys(B6),- ...q6+ ...Object.keys(M6),+ ...Object.keys(P6),+ ...Object.keys(L6),+ ...Object.keys(z6),+ ...K6];-var J6 = (e) => P6(e) || I6(e) || Object.hasOwn(R6, e) || Object.hasOwn(B6, e) || H6(e) || W6(e) || K6(e);-function Y6(e) {- return P6(e) ? N6[e] : I6(e) ? F6[e] : H6(e) ? V6[e] : W6(e) ? U6[e] : K6(e) ? G6[e] : Object.hasOwn(R6, e) ? R6[e] : B6[e];+var q6 = (e) => N6(e) || F6(e) || Object.hasOwn(L6, e) || Object.hasOwn(z6, e) || V6(e) || U6(e) || G6(e);+function J6(e) {+ return N6(e) ? M6[e] : F6(e) ? P6[e] : V6(e) ? B6[e] : U6(e) ? H6[e] : G6(e) ? W6[e] : Object.hasOwn(L6, e) ? L6[e] : z6[e];}-function TIe(e, t, n) {- return J6(e) ? Y6(e).prefetch(t, n) : Promise.reject(/* @__PURE__ */ Error(`路由树里没有这一页:${e}`));+function EIe(e, t, n) {+ return q6(e) ? J6(e).prefetch(t, n) : Promise.reject(/* @__PURE__ */ Error(`路由树里没有这一页:${e}`));}-function EIe(e, t, n, r) {- return Y6(e).page(t, n, r);+function DIe(e, t, n, r) {+ return J6(e).page(t, n, r);}// src/react/application-residents.ts-var X6 = null, Z6 = null, Q6 = 0, $6 = /* @__PURE__ */ new Set();-function DIe(e) {- return X6 = e, Z6 && e(Z6), () => {- X6 === e && (X6 = null);+var Y6 = null, X6 = null, Z6 = 0, Q6 = /* @__PURE__ */ new Set();+function OIe(e) {+ return Y6 = e, X6 && e(X6), () => {+ Y6 === e && (Y6 = null);};}-function OIe(e) {- return X6 && (Z6 = e, X6(e), cp(Promise.resolve(TIe)), bIe()), Promise.resolve();+function kIe(e) {+ return Y6 && (X6 = e, Y6(e), cp(Promise.resolve(EIe)), xIe()), Promise.resolve();}-async function e8(e, t, n = (e) => e) {- let r = Q6;- if (t.isConnected || $6.add(t), !await mp(e, {}, {+async function $6(e, t, n = (e) => e) {+ let r = Z6;+ if (t.isConnected || Q6.add(t), !await mp(e, {}, {container: t,resident: !0,- isCurrent: () => !!X6 && r === Q6,+ isCurrent: () => !!Y6 && r === Z6,place: () => n(t)- }) || r !== Q6 || !X6) throw new DOMException("应用已卸载", "AbortError");-}-function kIe() {- Q6 += 1, X6 = null, Z6 = null, t8 = null, n8 = null, a8 = null, o8 = null, c8 = null, l8 = null, d8 = null, f8 = null, m8 = null, h8 = null, _8 = null, v8 = null, b8 = null;- for (let e of $6) e.remove();- $6.clear(), qQ();-}-var t8 = null, n8 = null;-function r8(e) {- return t8 ??= (async () => {- let t = APe(e), n = document.createElement("div");- return n.dataset.stageHost = "", await e8("stage", n, (e) => (document.body.append(e), e)), n8 = t, t;- })(), t8;-}-var i8 = () => n8, a8 = null, o8 = null;-function AIe(e) {- return a8 ??= (async () => {- let t = Pde(e), n = document.createElement("div");- return n.dataset.immerseHost = "", await e8("immerse", n, (e) => (document.body.append(e), e)), o8 = t, t;- })(), a8;-}-var s8 = () => o8, c8 = null, l8 = null;+ }) || r !== Z6 || !Y6) throw new DOMException("应用已卸载", "AbortError");+}+function AIe() {+ Z6 += 1, Y6 = null, X6 = null, e8 = null, t8 = null, i8 = null, a8 = null, s8 = null, c8 = null, u8 = null, d8 = null, p8 = null, m8 = null, g8 = null, _8 = null, y8 = null;+ for (let e of Q6) e.remove();+ Q6.clear(), KQ();+}+var e8 = null, t8 = null;+function n8(e) {+ return e8 ??= (async () => {+ let t = jPe(e), n = document.createElement("div");+ return n.dataset.stageHost = "", await $6("stage", n, (e) => (document.body.append(e), e)), t8 = t, t;+ })(), e8;+}+var r8 = () => t8, i8 = null, a8 = null;function jIe(e) {- return c8 ??= (async () => {- let t = qAe(e), n = document.createElement("div");- return n.dataset.settingsHost = "", await e8("settings-panel", n, (e) => (document.body.append(e), e)), l8 = t, t;- })(), c8;+ return i8 ??= (async () => {+ let t = Fde(e), n = document.createElement("div");+ return n.dataset.immerseHost = "", await $6("immerse", n, (e) => (document.body.append(e), e)), a8 = t, t;+ })(), i8;}-var u8 = () => l8, d8 = null, f8 = null;+var o8 = () => a8, s8 = null, c8 = null;function MIe(e) {- return d8 ??= (async () => {- let t = lje(e);- return await e8("sidebar", e.scroll, (e) => (e.replaceChildren(), e)), e.attached(), f8 = t, t;- })(), d8;+ return s8 ??= (async () => {+ let t = JAe(e), n = document.createElement("div");+ return n.dataset.settingsHost = "", await $6("settings-panel", n, (e) => (document.body.append(e), e)), c8 = t, t;+ })(), s8;}-var p8 = () => f8, m8 = null, h8 = null;+var l8 = () => c8, u8 = null, d8 = null;function NIe(e) {- return m8 ??= (async () => {- let t = Lfe(e);- return await e8("manage-header", e.root, (e) => (e.replaceChildren(), e)), h8 = t, t;- })(), m8;+ return u8 ??= (async () => {+ let t = uje(e);+ return await $6("sidebar", e.scroll, (e) => (e.replaceChildren(), e)), e.attached(), d8 = t, t;+ })(), u8;}-var g8 = () => h8, _8 = null, v8 = null;+var f8 = () => d8, p8 = null, m8 = null;function PIe(e) {- return _8 ??= (async () => {- let t = rle(e);- return await e8("batch-dock", e.root), v8 = t, t;- })(), _8;+ return p8 ??= (async () => {+ let t = Rfe(e);+ return await $6("manage-header", e.root, (e) => (e.replaceChildren(), e)), m8 = t, t;+ })(), p8;}-var y8 = () => v8, b8 = null;+var h8 = () => m8, g8 = null, _8 = null;function FIe(e) {- return b8 ??= (async () => {- zle(e), await e8("glow-picker", e.root);- })(), b8;+ return g8 ??= (async () => {+ let t = ile(e);+ return await $6("batch-dock", e.root), _8 = t, t;+ })(), g8;}-function x8(e, t, n, r) {- JQ(e, t), YQ(n, r);+var v8 = () => _8, y8 = null;+function IIe(e) {+ return y8 ??= (async () => {+ Ble(e), await $6("glow-picker", e.root);+ })(), y8;+}+function b8(e, t, n, r) {+ qQ(e, t), JQ(n, r);}// src/application/receipts.js-var S8 = {+var x8 = {toastBody: void 0,toastSeq: void 0,toast: void 0,@@ -79395,13 +79395,13 @@ var S8 = {rollSeed: void 0,seededSample: void 0};-function IIe() {- JQ(L("#toasts"), {+function LIe() {+ qQ(L("#toasts"), {success: R("check"),error: R("circle-alert")- }), S8.toastBody = (e) => e && typeof e == "object" && "html" in e ? String(e.html) : z(e && typeof e == "object" ? e.text ?? "" : e ?? ""), S8.toastSeq = 0, S8.toast = (e, { timeout: t = 6e3, warn: n = !1, action: r = null, sound: i = null } = {}) => {- let a = `toast-${++S8.toastSeq}`, o = (e, t, n, r) => {- Qo(i || (t ? "error" : "success")), x8(L("#toasts"), {+ }), x8.toastBody = (e) => e && typeof e == "object" && "html" in e ? String(e.html) : z(e && typeof e == "object" ? e.text ?? "" : e ?? ""), x8.toastSeq = 0, x8.toast = (e, { timeout: t = 6e3, warn: n = !1, action: r = null, sound: i = null } = {}) => {+ let a = `toast-${++x8.toastSeq}`, o = (e, t, n, r) => {+ Qo(i || (t ? "error" : "success")), b8(L("#toasts"), {success: R("check"),error: R("circle-alert")}, a, {@@ -79416,10 +79416,10 @@ function IIe() {} : null});};- return o(S8.toastBody(e), n, t, r), { replaceMessage: (e, { warn: t = !1, timeout: n = 4e3 } = {}) => o(S8.toastBody(e), t, n, null) };- }, S8.actionReceipt = (e, { undo: t = null, timeout: n = t ? 8e3 : 6e3 } = {}) => {+ return o(x8.toastBody(e), n, t, r), { replaceMessage: (e, { warn: t = !1, timeout: n = 4e3 } = {}) => o(x8.toastBody(e), t, n, null) };+ }, x8.actionReceipt = (e, { undo: t = null, timeout: n = t ? 8e3 : 6e3 } = {}) => {let r = null;- return r = S8.toast({ text: e }, {+ return r = x8.toast({ text: e }, {timeout: n,action: t ? {label: "撤销",@@ -79432,14 +79432,14 @@ function IIe() {}} : null}), r;- }, S8.actionFailure = (e, t) => S8.toast({ text: `${e}失败:${t?.message || "请重试"}` }, { warn: !0 }), S8.rollSeed = () => ir(), S8.seededSample = (e, t, n, r = (e) => e.k) => {+ }, x8.actionFailure = (e, t) => x8.toast({ text: `${e}失败:${t?.message || "请重试"}` }, { warn: !0 }), x8.rollSeed = () => ir(), x8.seededSample = (e, t, n, r = (e) => e.k) => {if (e.length <= t) return e;let i = new Set([...e].sort((e, t) => rr(n, r(e)) - rr(n, r(t))).slice(0, t).map(r));return e.filter((e) => i.has(r(e)));};}// src/react/catalog-grid/catalog-state.ts-var LIe = [+var RIe = ["loc","creator","studio",@@ -79460,10 +79460,10 @@ var LIe = ["folder","folder_recursive"];-function C8(e, t, n, r = n.defaultSort) {- return zj(e, t, n.defaultSort, n.defaultSortDirection, r);+function S8(e, t, n, r = n.defaultSort) {+ return Rj(e, t, n.defaultSort, n.defaultSortDirection, r);}-function RIe(e, t, n) {+function zIe(e, t, n) {let r = decodeURIComponent(e.pathname), i = new URLSearchParams(e.search), a = jn(r) || r === "/trash", o = (e) => a ? i.get(e) : null;return {loc: i.get("loc") ?? "local,115",@@ -79479,7 +79479,7 @@ function RIe(e, t, n) {region: o("region") || "",year: o("year") || "",state: kn[r] || o("state") || "",- ...C8(o("sort"), o("dir"), t),+ ...S8(o("sort"), o("dir"), t),seed: o("seed") || n(),q: o("q") || "",jav: o("jav") || "",@@ -79489,18 +79489,18 @@ function RIe(e, t, n) {folder_recursive: o("folder_recursive") === "0" ? "0" : ""};}-function zIe(e, t) {+function BIe(e, t) {return e.split(",").filter(Boolean).filter((e) => t[e] !== !1).join(",") || e;}-function BIe(e) {+function VIe(e) {let t = On[e.state ?? ""] || "/", n = new URLSearchParams();- for (let t of LIe) {+ for (let t of RIe) {let r = e[t];- !r || t === "tag_match" && r === "all" || t === "dir" && r === Ij(e.sort ?? "") || n.set(t, r);+ !r || t === "tag_match" && r === "all" || t === "dir" && r === Fj(e.sort ?? "") || n.set(t, r);}return !On[e.state ?? ""] && e.state && n.set("state", e.state), t + (n.size ? `?${n}` : "");}-function VIe(e, t, n) {+function HIe(e, t, n) {return {loc: e.loc ?? "",creator: "",@@ -79516,7 +79516,7 @@ function VIe(e, t, n) {year: "",state: "",sort: t.defaultSort,- dir: Rj(t.defaultSort, t.defaultSort, t.defaultSortDirection),+ dir: Lj(t.defaultSort, t.defaultSort, t.defaultSortDirection),seed: n(),q: "",jav: "",@@ -79526,7 +79526,7 @@ function VIe(e, t, n) {folder_recursive: ""};}-function w8(e) {+function C8(e) {return {state: e,barsContext: {@@ -79537,7 +79537,7 @@ function w8(e) {};}// src/react/catalog-grid/catalog-controller.ts-var HIe = class {+var UIe = class {currentRevision = 0;currentPage = "";painting = null;@@ -79582,44 +79582,44 @@ var HIe = class {let e = [...this.waiters.values()];this.waiters.clear(), e.forEach((e) => e());}-}, T8 = Infinity, E8 = 0, UIe = (e, t = E8) => [+}, w8 = Infinity, T8 = 0, WIe = (e, t = T8) => ["facets",e,t-], WIe = (e, t, n = E8) => [+], GIe = (e, t, n = T8) => ["tops",e,t,n-], GIe = (e, t = E8) => [+], KIe = (e, t = T8) => ["tops",e,t];-async function D8(e) {+async function E8(e) {let t = String(e), n = await Tn(`/api/tops?${t}`), r = new URLSearchParams(t);return n.performers.length || n.studios.length || !r.has("state") ? n : (r.delete("state"), await Tn(`/api/tops?${r}`));}-function KIe(e, t) {+function qIe(e, t) {return Promise.all([H.fetchQuery({- queryKey: UIe(e),+ queryKey: WIe(e),queryFn: () => Tn(`/api/facets${e ? `?${e}` : ""}`),- staleTime: T8+ staleTime: w8}), H.fetchQuery({- queryKey: WIe(t, e),- queryFn: () => D8(t),- staleTime: T8+ queryKey: GIe(t, e),+ queryFn: () => E8(t),+ staleTime: w8})]);}-function qIe(e) {+function JIe(e) {return H.fetchQuery({- queryKey: GIe(e),- queryFn: () => D8(e),- staleTime: T8+ queryKey: KIe(e),+ queryFn: () => E8(e),+ staleTime: w8});}-function O8() {- E8 += 1;+function D8() {+ T8 += 1;let e = (e) => e.state.fetchStatus === "idle";H.removeQueries({queryKey: ["facets"],@@ -79630,7 +79630,7 @@ function O8() {});}// src/application/navigation-items.ts-var k8 = [+var O8 = [["","首页",@@ -79681,7 +79681,7 @@ var k8 = ["管理","wrench"]-], A8 = [+], k8 = [["stats","统计",@@ -79727,18 +79727,18 @@ var k8 = ["Peach 配置","folder-cog"]-], j8 = [+], A8 = ["stats","taste","cleanup","follow","activity","configuration"-], JIe = (e) => A8.filter(([t]) => j8.includes(t) && (t !== "configuration" || e)), M8 = A8.flatMap(([e, t, n]) => e === "configuration" ? [] : [[+], YIe = (e) => k8.filter(([t]) => A8.includes(t) && (t !== "configuration" || e)), j8 = k8.flatMap(([e, t, n]) => e === "configuration" ? [] : [[e === "follow" ? "follow-manage" : e === "cleanup" ? "data-cleanup" : e,t,n-]]), YIe = [...k8, ...M8], XIe = {+]]), XIe = [...O8, ...j8], ZIe = {stats: "stats",review: "review","data-cleanup": "cleanup",@@ -79746,18 +79746,18 @@ var k8 = ["follow-manage": "follow",quality: "quality",activity: "activity"-}, N8 = [+}, M8 = [["0", "不限时间"],["7", "最近 7 天"],["30", "最近 30 天"],["90", "最近 90 天"]];// src/react/index/index-controller.ts-function P8({ kind: e, q: t, scope: n, view: r, category: i }) {+function N8({ kind: e, q: t, scope: n, view: r, category: i }) {let a = new URLSearchParams();return t && a.set("q", t), e === "tags" && (a.set("view", r), n === "online" && a.set("scope", n), i !== "all" && a.set("category", i)), e === "performers" && n === "online" && a.set("scope", n), e === "performers" && n !== "online" && i !== "all" && a.set("category", i), `/${e}` + (a.size ? `?${a}` : "");}-function F8(e, t, n) {+function P8(e, t, n) {let r = e.entity_id || e.id, i = t === "studio" || t === "agency";return {html: _o(e.k, r ? {@@ -79770,20 +79770,20 @@ function F8(e, t, n) {face: yo(e.avatar_focus)};}-function I8(e) {+function F8(e) {let t = String(e.k || ""), n = (t.match(/[A-Za-z0-9]/)?.[0] || Array.from(t)[0] || "?").toUpperCase(), r = e.avatar ? `<img src="${z(e.avatar)}" alt="" loading="lazy" referrerpolicy="no-referrer" ${Va({ fallbacks: [e.avatar_fallback || ""] })}>` : "";return `<span class="ini">${z(n)}</span>${r}`;}-function ZIe(e) {+function QIe(e) {let t = (t) => {e.adoptFollowView(t), e.hideIndex(), e.openPage(ka(t));};return {route(t, { replace: n = !1 } = {}) {- e.route(P8(t), n);+ e.route(N8(t), n);},- personAvatar: F8,- authorAvatar: I8,+ personAvatar: P8,+ authorAvatar: F8,openFollowAuthor(n) {t(Aa(e.followView(), n));},@@ -79793,7 +79793,7 @@ function ZIe(e) {};}// src/application/effects.ts-var L8 = class {+var I8 = class {cleanups = /* @__PURE__ */ new Set();active = !0;disposed = !1;@@ -79874,12 +79874,12 @@ var L8 = class {}if (e.length) throw AggregateError(e, "应用资源清理未全部完成");}-}, R8 = new L8();-function QIe() {- return R8.dispose(), R8 = new L8(), R8;+}, L8 = new I8();+function $Ie() {+ return L8.dispose(), L8 = new I8(), L8;}// src/application/source-action.ts-function $Ie(e) {+function eLe(e) {return async (t, n, { button: r = null } = {}) => {if (r?.getAttribute("aria-busy") === "true") return;let i = r?.innerHTML ?? "", a = r?.textContent?.trim() ?? "";@@ -79894,36 +79894,36 @@ function $Ie(e) {};}// src/react/entity-page/entity-route.ts-var z8 = () => Object.fromEntries(IX.map((e) => [e, e === "sort" ? "new" : e === "dir" ? "desc" : ""]));-function B8(e, t) {- let n = new URLSearchParams(e), r = z8();- for (let e of IX) e !== "sort" && e !== "dir" && (r[e] = n.get(e) || "");+var R8 = () => Object.fromEntries(FX.map((e) => [e, e === "sort" ? "new" : e === "dir" ? "desc" : ""]));+function z8(e, t) {+ let n = new URLSearchParams(e), r = R8();+ for (let e of FX) e !== "sort" && e !== "dir" && (r[e] = n.get(e) || "");return {...r,- ...zj(n.get("sort"), n.get("dir"), t.sort, t.dir, "new")+ ...Rj(n.get("sort"), n.get("dir"), t.sort, t.dir, "new")};}-function V8(e) {+function B8(e) {let t = new URLSearchParams();- for (let n of IX) !e[n] || n === "sort" && e[n] === "new" || n === "dir" && e[n] === Ij(e.sort || "") || t.set(n, e[n]);+ for (let n of FX) !e[n] || n === "sort" && e[n] === "new" || n === "dir" && e[n] === Fj(e.sort || "") || t.set(n, e[n]);return t.toString();}-function H8(e) {+function V8(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 U8(e, t) {- let n = new URLSearchParams(V8(e));+function H8(e, t) {+ let n = new URLSearchParams(B8(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 eLe(e, t, n, r) {- let i = U8(n, r);+function tLe(e, t, n, r) {+ let i = H8(n, r);return Pn(e, t) + (i ? `?${i}` : "");}-function tLe() {+function nLe() {let e = "";return {fresh(t, n) {@@ -79932,22 +79932,22 @@ function tLe() {read(t, n, r, i) {let a = e === Pn(t, n) && !r;e = "";- let o = a ? z8() : { ...B8(r, i) };+ let o = a ? R8() : { ...z8(r, i) };return t === "creator" && (o.creator = ""), {filters: o,media: a ? {media: "videos",set: 0- } : H8(r)+ } : V8(r)};}};}// src/react/entity-page/photo-surface.ts-function nLe(e, t) {+function rLe(e, t) {return e.entityWall && e.entityCurrent && e.indexVisible || e.pathname === "/follow" && e.followMedia === "images" && e.statsVisible ? !0 : t();}-function rLe(e) {+function iLe(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);@@ -79969,12 +79969,12 @@ function rLe(e) {};}// src/react/entity-page/entity-controller.ts-function iLe(e, t, n) {+function aLe(e, t, n) {let r = (t, n, r, i = {media: "videos",set: 0}, { push: a = !0 } = {}) => {- if (a && e.route(eLe(t, n, r, i)), e.restoreHomeContext(), !e.live(t, n)) return !1;+ if (a && e.route(tLe(t, n, r, i)), e.restoreHomeContext(), !e.live(t, n)) return !1;e.releaseBodyPreviews();let o = e.state();return e.push({@@ -79988,7 +79988,7 @@ function iLe(e, t, n) {if (s) return s;let c = () => {let n = e.context();- return n?.kind === t && n.name === a ? n.filters : z8();+ return n?.kind === t && n.name === a ? n.filters : R8();}, l = {...n,route: (e, n) => {@@ -80001,7 +80001,7 @@ function iLe(e, t, n) {e.tag = "", e.creator = "", e.studio = "", e.owner = "";}),setSort: (e) => {- let n = c(), i = Lj(e, n.sort || "new", n.dir || "");+ let n = c(), i = Ij(e, n.sort || "new", n.dir || "");i && r(t, a, {...n,...i@@ -80052,7 +80052,7 @@ function iLe(e, t, n) {};}// src/react/entity-page/entity-loading.ts-function aLe(e) {+function oLe(e) {return async (t, n, r) => {e.paintSkeleton(t, n), e.resetView(), e.shapesReady(t, n) || e.waitShapes().then(() => {r() && e.syncParts(t, n);@@ -80062,7 +80062,7 @@ function aLe(e) {};}// src/react/entity-page/entity-portrait.ts-function oLe(e, t) {+function sLe(e, t) {let n = e === "studio" || e === "agency", r = t.id ? go({kind: e,id: t.id,@@ -80084,11 +80084,11 @@ function oLe(e, t) {return r || (i?.avatar ? `<img src="${z(i.avatar)}" alt="${z(t.canonical_name)}" referrerpolicy="no-referrer" ${Va({ fallbacks: [i.avatar_fallback || ""] })}>` : "");}// src/react/entity-page/entity-application.ts-function sLe(e) {- let t = tLe(), n = {+function cLe(e) {+ let t = nLe(), n = {...e.helpers,- portraitImg: oLe- }, r = iLe(e.controller, n, e.actions);+ portraitImg: sLe+ }, r = aLe(e.controller, n, e.actions);return {...r,helpers: n,@@ -80097,12 +80097,12 @@ function sLe(e) {let { filters: o, media: s } = t.read(n, i, a, e.sortPreference());return r.props(n, i, o, s);},- loading: aLe(e.loading),- photos: rLe(e.photos)+ loading: oLe(e.loading),+ photos: iLe(e.photos)};}// src/card-art/feed-identity.ts-function cLe(e) {+function lLe(e) {let t = e.performer_refs || [], n = [...new Set((e.performers || "").split(/[,,、;/]/).map((e) => e.trim()).filter(Boolean))], r = t.length ? t : n.map((e) => ({ name: e })), i = r.slice(0, 3).map((t) => {let n = e.code && t.source_actor_id && t.source_avatar && !t.has_image && !t.has_avatar, r = n ? ` data-feed-source-avatar data-code="${z(e.code)}" data-actor="${z(t.source_actor_id)}" data-name="${z(t.name)}"` : "", i = n ? "" : _o(t.name, t, null);return "id" in t && t.id ? `<a class="mav"${r} href="${z(Pn("performer", t.name, t.id))}" aria-label="打开女优页:${z(t.name)}">${i}</a>` : `<span class="mav"${r} title="${z(t.name)}">${i}</span>`;@@ -80110,7 +80110,7 @@ function cLe(e) {return r.length > 1 ? `<div class="mavstack">${i}</div>` : i;}// src/application/feed.js-var W8 = {+var U8 = {FEED_SKELETON_CARDS: void 0,feedNewSkeletonHtml: void 0,entityShapes: void 0,@@ -80126,56 +80126,56 @@ var W8 = {feedNewActions: void 0,HERO_WIDE_PX: void 0};-function G8(e) {+function W8(e) {return e.has_cover ? So(e, "big") : !e.cover_url || !e.code ? e.cover_fetching ? `<span class="nopic" data-feed-cover-state="fetching">${Hs("抓取中")}</span>` : "<span class=\"nopic\" data-feed-cover-state=\"missing\">无封面</span>" : So(e, "big").replace(/ src="[^"]*"/, ` src="${z(fo(e))}" data-panel-prior="1"`).replace("data-drop=\"self\"", "data-drop=\"initial\" data-initial=\"封面未取得\" data-drop-class=\"nopic\"");}-function lLe(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 = G8(e), r = e.code || String(e.title || "").trim() || "未命名新作", i = e.code ? UI({+function uLe(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 = W8(e), r = e.code || String(e.title || "").trim() || "未命名新作", i = e.code ? HI({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:${pM}">${n}+ ${a}<div class="pic" style="--card-ratio:${fM}">${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">${cLe(e)}<div class="mtext"><span class="t">${i}</span>+ <div class="meta">${lLe(e)}<div class="mtext"><span class="t">${i}</span><div class="s mono">${t || (e.title ? "" : "资料还没取到")}</div></div></div></article>`;}-function uLe() {+function dLe() {let e = document.getElementById("peach-entity-shape");if (e) try {let t = JSON.parse(e.textContent || "null");if (!t?.id || typeof t.kind != "string" || !Array.isArray(t.names) || !Array.isArray(t.parts)) return;- W8.entityShapes = new Map([String(t.id), ...t.names].map((e) => [`${t.kind}/${Un(e)}`, t.parts]));+ U8.entityShapes = new Map([String(t.id), ...t.names].map((e) => [`${t.kind}/${Un(e)}`, t.parts]));} catch {}}-async function K8() {- let e = R8, t = await Tn("/api/entity/shapes", { signal: e.signal }).catch(() => null);- return e.isActive && t && !t.error && (W8.entityShapesComplete = !0, W8.entityShapes = new Map((t.entities || []).flatMap((e) => [String(e.id), ...e.names].map((t) => [`${e.kind}/${Un(t)}`, e.parts]))), typeof t.home?.feed == "boolean" && J8(t.home.feed), Q8(location.pathname) && Y8(L("#feedNew"))), W8.entityShapes;+async function G8() {+ let e = L8, t = await Tn("/api/entity/shapes", { signal: e.signal }).catch(() => null);+ return e.isActive && t && !t.error && (U8.entityShapesComplete = !0, U8.entityShapes = new Map((t.entities || []).flatMap((e) => [String(e.id), ...e.names].map((t) => [`${e.kind}/${Un(t)}`, e.parts]))), typeof t.home?.feed == "boolean" && q8(t.home.feed), Z8(location.pathname) && J8(L("#feedNew"))), U8.entityShapes;}-var q8 = "peach.home-feed.v1";-function J8(e) {+var K8 = "peach.home-feed.v1";+function q8(e) {X.homeHasFeed = e;try {- localStorage.setItem(q8, e ? "1" : "0");+ localStorage.setItem(K8, e ? "1" : "0");} catch {}}-function dLe() {+function fLe() {try {- let e = localStorage.getItem(q8);+ let e = localStorage.getItem(K8);return e === "1" || e !== "0" && null;} catch {return null;}}-function Y8(e) {- !e || up(e) || e.querySelector("[data-feed-id]") || (e.hidden = X.homeHasFeed !== !0, X.homeHasFeed === !0 && (e.setAttribute("aria-busy", "true"), e.querySelector(".feednewskeleton") || (e.innerHTML = W8.feedNewSkeletonHtml())));+function J8(e) {+ !e || up(e) || e.querySelector("[data-feed-id]") || (e.hidden = X.homeHasFeed !== !0, X.homeHasFeed === !0 && (e.setAttribute("aria-busy", "true"), e.querySelector(".feednewskeleton") || (e.innerHTML = U8.feedNewSkeletonHtml())));}-function fLe(e, t) {+function pLe(e, t) {return !(e > 0) || !t.some((e) => !e.has_cover) ? "" : zs(`${e} 部新作的封面连不上 DMM 图片主机,中国移动宽带常见。把 DMM / FANZA 的连接方式设成 Peach 代理,下一轮会自动重取。`, {variant: "warning",className: "feednetwork",@@ -80183,55 +80183,55 @@ function fLe(e, t) {actionHref: "/sources"});}-function X8(e, t = "") {- let n = e && !e.error && e.items || [], r = t && n.length ? `<a class="feednewall" href="${z(t)}" style="--card-ratio:${pM}">${R("chevron-right")}<span>查看全部新作</span></a>` : "";- return fLe(e?.cover_network, n) + `<div class="feednewrow srow">${n.map(lLe).join("")}${r}</div>`;+function Y8(e, t = "") {+ let n = e && !e.error && e.items || [], r = t && n.length ? `<a class="feednewall" href="${z(t)}" style="--card-ratio:${fM}">${R("chevron-right")}<span>查看全部新作</span></a>` : "";+ return pLe(e?.cover_network, n) + `<div class="feednewrow srow">${n.map(uLe).join("")}${r}</div>`;}-function Z8(e) {+function X8(e) {e && ($7(e), Z.appSettings.feedAutoScroll && Bc(e));}-function Q8(e) {+function Z8(e) {return jn(e) && e !== "/junk-files";}-function pLe() {+function mLe() {let e = L("#feedNew");- up(e) ? e.hidden = X.homeHasFeed !== !0 : (Y8(e), mp("feed-new", {+ up(e) ? e.hidden = X.homeHasFeed !== !0 : (J8(e), mp("feed-new", {host: e,- revision: W8.feedRevision,- helpers: W8.feedNewHelpers,- actions: W8.feedNewActions+ revision: U8.feedRevision,+ helpers: U8.feedNewHelpers,+ actions: U8.feedNewActions}, {container: e,- isCurrent: () => Q8(location.pathname)+ isCurrent: () => Z8(location.pathname)}));}-function $8() {+function Q8() {let e = L("#feedNew");e.querySelectorAll(".feednewrow").forEach(Vc), e.hidden = !0;}-function e5() {- W8.feedRevision += 1, gp(L("#feedNew"), { revision: W8.feedRevision }), r5({ feedRevision: W8.feedRevision });+function $8() {+ U8.feedRevision += 1, gp(L("#feedNew"), { revision: U8.feedRevision }), n5({ feedRevision: U8.feedRevision });}-function mLe() {+function hLe() {document.querySelectorAll(".feednewrow").forEach((e) => Z.appSettings.feedAutoScroll ? Bc(e) : Vc(e));}-var t5 = 0;-function hLe([e]) {- let t = e.contentRect.width >= W8.HERO_WIDE_PX;- cancelAnimationFrame(t5), t5 = requestAnimationFrame(() => {- t5 = 0, L("#index")?.toggleAttribute("data-hero-wide", t);+var e5 = 0;+function gLe([e]) {+ let t = e.contentRect.width >= U8.HERO_WIDE_PX;+ cancelAnimationFrame(e5), e5 = requestAnimationFrame(() => {+ e5 = 0, L("#index")?.toggleAttribute("data-hero-wide", t);});}-function gLe() {- W8.FEED_SKELETON_CARDS = 8, W8.feedNewSkeletonHtml = () => `<div class="feednewrow srow" data-skeleton="feed/new" aria-hidden="true">${`<article class="card feednewcard feednewskeleton"><div class="pic imgwait" style="--card-ratio:${pM}"></div>+function _Le() {+ U8.FEED_SKELETON_CARDS = 8, U8.feedNewSkeletonHtml = () => `<div class="feednewrow srow" data-skeleton="feed/new" aria-hidden="true">${`<article class="card feednewcard feednewskeleton"><div class="pic imgwait" style="--card-ratio:${fM}"></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(W8.FEED_SKELETON_CARDS)}</div>`, W8.entityShapes = null, W8.entityShapesComplete = !1, W8.hasEntityShape = (e, t) => W8.entityShapesComplete || !!W8.entityShapes?.has(`${e}/${Un(t)}`), W8.hasEntityPart = (e, t, n) => !!t && !!W8.entityShapes?.get(`${e}/${Un(t)}`)?.includes(n), W8.feedNewSkeletonSection = () => `<section class="feednew">${W8.feedNewSkeletonHtml()}</section>`, W8.COSTAR_SKELETON_PEOPLE = 12, W8.costarSkeletonFoot = () => `<div class="entityfoot" data-entity-foot><div class="relatedpeople" data-related-people>${"<button type=\"button\" disabled tabindex=\"-1\"><span class=\"skeleton\" data-hero-ring></span><span class=\"skeleton\" data-hero-costar-name>​</span></button>".repeat(W8.COSTAR_SKELETON_PEOPLE)}</div></div>`, W8.factsSkeleton = () => `<dl class="entityfacts" data-entity-facts>${"<dt><span class=\"skeleton\"></span></dt><dd><span class=\"skeleton\"></span></dd>".repeat(5)}</dl>`, W8.feedRevision = 0, W8.feedNewHelpers = {- feedRowHtml: X8,- wireFeedRow: (e) => Z8(e)- }, W8.feedNewActions = { settled: (e) => J8(e) }, W8.HERO_WIDE_PX = 900, R8.resize(hLe).observe(L("#index"));+ <div class="s mono"><span class="skeleton">​</span></div></div></div></article>`.repeat(U8.FEED_SKELETON_CARDS)}</div>`, U8.entityShapes = null, U8.entityShapesComplete = !1, U8.hasEntityShape = (e, t) => U8.entityShapesComplete || !!U8.entityShapes?.has(`${e}/${Un(t)}`), U8.hasEntityPart = (e, t, n) => !!t && !!U8.entityShapes?.get(`${e}/${Un(t)}`)?.includes(n), U8.feedNewSkeletonSection = () => `<section class="feednew">${U8.feedNewSkeletonHtml()}</section>`, U8.COSTAR_SKELETON_PEOPLE = 12, U8.costarSkeletonFoot = () => `<div class="entityfoot" data-entity-foot><div class="relatedpeople" data-related-people>${"<button type=\"button\" disabled tabindex=\"-1\"><span class=\"skeleton\" data-hero-ring></span><span class=\"skeleton\" data-hero-costar-name>​</span></button>".repeat(U8.COSTAR_SKELETON_PEOPLE)}</div></div>`, U8.factsSkeleton = () => `<dl class="entityfacts" data-entity-facts>${"<dt><span class=\"skeleton\"></span></dt><dd><span class=\"skeleton\"></span></dd>".repeat(5)}</dl>`, U8.feedRevision = 0, U8.feedNewHelpers = {+ feedRowHtml: Y8,+ wireFeedRow: (e) => X8(e)+ }, U8.feedNewActions = { settled: (e) => q8(e) }, U8.HERO_WIDE_PX = 900, L8.resize(gLe).observe(L("#index"));}// src/entity-skeleton.ts-function _Le(e, t, n, r = "") {+function vLe(e, t, n, r = "") {let i = e === "studio" || e === "agency", a = new URLSearchParams(location.search), o = a.get("browse") === "folders" || a.get("folder") ? `<div class="peach-react entity-folder-workspace" data-folder-workspace data-folder-browse><aside data-folder-tree-host><div class="flex flex-col gap-3"><span class="skeleton ui-configuration-skeleton-input"></span>${"<span class=\"skeleton\" style=\"width:75%;height:32px\"></span>".repeat(8)}</div></aside><div class="min-w-0"><div data-folder-header-host><span class="skeleton" style="width:160px;height:32px"></span></div>${n}</div></div>` : n;return `<section data-skeleton="entity/${e}" role="status" aria-label="正在读取资料"><span class="sr-only">正在读取资料</span><div aria-hidden="true" inert><div class="peach-react contents">@@ -80270,16 +80270,16 @@ var Y = {sourceToolButtons: void 0,application: void 0};-function n5() {+function t5() {let e = lp(L("#index"));return e && e.path.endsWith("/*") && e.host.isConnected ? e : null;}-function r5(e) {+function n5(e) {Y.entityPageCurrent() && gp(L("#index"), e);}-function i5() {+function r5() {if (Jl.type === "item") return Jl;- let e = n5();+ let e = t5();if (e) {let { kind: t, name: n, filters: r } = e.props;return {@@ -80291,23 +80291,23 @@ function i5() {}return Jl;}-function a5(e, t, n = n7()) {- return uRe(n).map(([n, r]) => {- let i = e === n, a = Lj(n, e, t);+function i5(e, t, n = t7()) {+ return dRe(n).map(([n, r]) => {+ let i = e === n, a = Ij(n, e, t);return {key: n,label: r,pressed: i,- dir: i && Fj(n, t) ? t === "asc" ? "asc" : "desc" : "",- ariaLabel: a ? `按${r}${a.dir ? Fj(a.sort, a.dir) : ""}排序` : ""+ dir: i && Pj(n, t) ? t === "asc" ? "asc" : "desc" : "",+ ariaLabel: a ? `按${r}${a.dir ? Pj(a.sort, a.dir) : ""}排序` : ""};});}-function o5(e, t, n, r = Y.EMPTY_ENTITY_MEDIA, i = {}) {+function a5(e, t, n, r = Y.EMPTY_ENTITY_MEDIA, i = {}) {return Y.application.route(e, t, n, r, i);}-function s5() {- return nLe({+function o5() {+ return rLe({entityWall: Y.entityPageWall,entityCurrent: Y.entityPageCurrent(),indexVisible: !L("#index").hidden,@@ -80316,37 +80316,37 @@ function s5() {statsVisible: !L("#stats").hidden}, () => [...document.querySelectorAll(".followphotowall")].some((e) => e.getClientRects().length > 0));}-function c5() {+function s5() {Y.photos.sync();}-function l5() {- s5() ? Mle(yM()) : MM();+function c5() {+ o5() ? Nle(vM()) : jM();}-function vLe(e) {+function yLe(e) {Y.photos.setSize(e);}-var u5 = $Ie({+var l5 = eLe({request: (e) => Tn("/api/reveal", {method: "POST",body: JSON.stringify({ id: e })}),- success: () => S8.toast({ text: "已在资源管理器中显示" }),+ success: () => x8.toast({ text: "已在资源管理器中显示" }),failureText: (e) => Y.sourceHint(e instanceof Error ? e.message : String(e))});-async function d5(e) {+async function u5(e) {let t = { textContent: "" };- return await u5(e, t), t.textContent;+ return await l5(e, t), t.textContent;}-async function yLe(e) {+async function bLe(e) {let t = { textContent: "" }, n = [];- return await f5(e, t, (e) => {+ return await d5(e, t, (e) => {e.items && (n = e.items.map((e) => e.id));}), {text: t.textContent,removed: n};}-async function f5(e, t, n) {+async function d5(e, t, n) {t.textContent = "正在核对目录…";try {let r = await Tn("/api/purge-missing", {@@ -80359,7 +80359,7 @@ async function f5(e, t, n) {}if (t.textContent = r.removed ? `${Y.syncedText(r)}(核对 ${r.checked} 项${r.unreadable ? `,${r.unreadable} 项未能读取` : ""})` : r.unreadable ? `目录有 ${r.unreadable} 项暂时无法读取,本次未改动` : `目录内 ${r.checked} 项都还在,无需改动`, r.removed) {let e = (r.items || []).filter((e) => e.disposal !== "reattached").map((e) => e.id);- n && n(r), S8.actionReceipt(Y.syncedText(r), { undo: e.length ? async () => {+ n && n(r), x8.actionReceipt(Y.syncedText(r), { undo: e.length ? async () => {await Tn("/api/batch", {method: "POST",body: JSON.stringify({@@ -80371,22 +80371,22 @@ async function f5(e, t, n) {restored: e.length});} : null });- } else S8.actionReceipt("目录核对完成,无需改动");+ } else x8.actionReceipt("目录核对完成,无需改动");} catch (e) {- t.textContent = Y.sourceHint(e.message), S8.actionFailure("核对目录", e);+ t.textContent = Y.sourceHint(e.message), x8.actionFailure("核对目录", e);}}-function bLe(e) {+function xLe(e) {return `<div class="srctools">${Y.sourceToolButtons(e)}<span class="srcstate" aria-live="polite"></span></div>`;}-function xLe(e, t) {+function SLe(e, t) {let n = e.querySelector(".srcstate");if (!n) return;let r = e.querySelector("[data-reveal]"), i = e.querySelector("[data-sync]");- r && R8.handler(r, "onclick", () => u5(Number(r.dataset.reveal), n, { button: r })), i && R8.handler(i, "onclick", () => f5(Number(i.dataset.sync), n, t));+ r && L8.handler(r, "onclick", () => l5(Number(r.dataset.reveal), n, { button: r })), i && L8.handler(i, "onclick", () => d5(Number(i.dataset.sync), n, t));}-async function SLe(e, t) {+async function CLe(e, t) {let n = sl({title: "添加别名",description: "图库按名字查找图片,添加别名可能找到更多备选图片;也可以将别名设为统一显示的名称。",@@ -80398,9 +80398,9 @@ async function SLe(e, t) {confirmDisabled: !0,onConfirm: () => t({ alias: r.value.trim() })}), r = n.dialog.querySelector("[name=alias]");- R8.handler(r, "oninput", () => {+ L8.handler(r, "oninput", () => {n.confirmButton.disabled = !r.value.trim();- }), n.dialog.querySelectorAll("[data-alias-drop]").forEach((e) => R8.handler(e, "onclick", async () => {+ }), n.dialog.querySelectorAll("[data-alias-drop]").forEach((e) => L8.handler(e, "onclick", async () => {let r = e.dataset.aliasDrop;n.close();try {@@ -80409,53 +80409,53 @@ async function SLe(e, t) {remove: !0});} catch (e) {- S8.actionFailure("撤销别名", e);+ x8.actionFailure("撤销别名", e);return;}- S8.actionReceipt(`已撤销别名 ${r}`, { undo: async () => {+ x8.actionReceipt(`已撤销别名 ${r}`, { undo: async () => {await t({ alias: r });} });}));let { confirmed: i, result: a } = await n.done;- i && (a?.added ? S8.actionReceipt(`已添加别名 ${a.alias}`, { undo: async () => {+ i && (a?.added ? x8.actionReceipt(`已添加别名 ${a.alias}`, { undo: async () => {await t({alias: a.alias,remove: !0});- } }) : S8.actionReceipt(`${a?.alias} 已经是这份档案中的名字`));+ } }) : x8.actionReceipt(`${a?.alias} 已经是这份档案中的名字`));}-function p5(e, t) {- let n = ["performer", "studio"].includes(e) && W8.hasEntityPart(e, t, "jav"), r = `<div data-filter-row="bottom" class="flex min-w-0 items-center gap-3 px-3 py-2 min-h-12"><h3 data-entity-readout><span data-skeleton="count" class="relative inline-block h-3.5 w-24 rounded-md align-middle skeleton-sheen"></span></h3>${Es()}${e === "agency" ? "" : D0(a5(U.sort, U.dir, n), n ? {+function f5(e, t) {+ let n = ["performer", "studio"].includes(e) && U8.hasEntityPart(e, t, "jav"), r = `<div data-filter-row="bottom" class="flex min-w-0 items-center gap-3 px-3 py-2 min-h-12"><h3 data-entity-readout><span data-skeleton="count" class="relative inline-block h-3.5 w-24 rounded-md align-middle skeleton-sheen"></span></h3>${Es()}${e === "agency" ? "" : E0(i5(U.sort, U.dir, n), n ? {name: "jav-layout",label: "JAV 卡片版式",- value: hM(),- options: uM- } : null)}</div>`, i = e === "agency" ? "" : `<div data-entity-media><button type="button" data-media-view="videos" aria-label="视频" aria-pressed="true" ${T0}>${R("play")}</button><button type="button" data-media-view="photos" data-media-icon="image" aria-label="照片" ${T0}>${R("pics")}</button></div><span data-entity-sep></span><div data-entity-scroll><div data-entity-states>${X.catalogViews().map((e) => `<button type="button" data-entity-state="${z(e.k)}" aria-pressed="${U.state === e.k}" ${T0}>${z(e.label)}</button>`).join("")}<span data-entity-sep></span></div>`, a = _Le(e, r, e === "agency" ? oc({+ value: mM(),+ options: lM+ } : null)}</div>`, i = e === "agency" ? "" : `<div data-entity-media><button type="button" data-media-view="videos" aria-label="视频" aria-pressed="true" ${w0}>${R("play")}</button><button type="button" data-media-view="photos" data-media-icon="image" aria-label="照片" ${w0}>${R("pics")}</button></div><span data-entity-sep></span><div data-entity-scroll><div data-entity-states>${X.catalogViews().map((e) => `<button type="button" data-entity-state="${z(e.k)}" aria-pressed="${U.state === e.k}" ${w0}>${z(e.label)}</button>`).join("")}<span data-entity-sep></span></div>`, a = vLe(e, r, e === "agency" ? oc({kind: "performers",- layout: k5.peopleIndexLayout()- }) : HJ("正在读取作品", CM(SM({+ layout: O5.peopleIndexLayout()+ }) : VJ("正在读取作品", SM(xM({active: n,home: !1,portrait: !1}))), i);- L("#index").firstElementChild?.dataset.skeleton === `entity/${e}` ? m5(e, t) : (L("#index").innerHTML = a, m5(e, t), pc(L("#index")));+ L("#index").firstElementChild?.dataset.skeleton === `entity/${e}` ? p5(e, t) : (L("#index").innerHTML = a, p5(e, t), pc(L("#index")));}-function m5(e, t) {+function p5(e, t) {let n = L("#index").firstElementChild;if (n?.dataset.skeleton !== `entity/${e}`) return;let r = (e, t, n) => {t && !e ? n() : !t && e && e.remove();};- r(n.querySelector(".entityfoot"), e !== "agency" && W8.hasEntityPart(e, t, "costars"), () => n.querySelector(".entityhero")?.insertAdjacentHTML("beforeend", W8.costarSkeletonFoot())), r(n.querySelector(".feednew"), W8.hasEntityPart(e, t, "feed"), () => n.querySelector(".entitysection")?.insertAdjacentHTML("beforebegin", W8.feedNewSkeletonSection())), r(n.querySelector(".entityfacts"), e === "performer" && W8.hasEntityPart(e, t, "facts"), () => n.querySelector(".entityprofile")?.insertAdjacentHTML("beforeend", W8.factsSkeleton()));+ r(n.querySelector(".entityfoot"), e !== "agency" && U8.hasEntityPart(e, t, "costars"), () => n.querySelector(".entityhero")?.insertAdjacentHTML("beforeend", U8.costarSkeletonFoot())), r(n.querySelector(".feednew"), U8.hasEntityPart(e, t, "feed"), () => n.querySelector(".entitysection")?.insertAdjacentHTML("beforebegin", U8.feedNewSkeletonSection())), r(n.querySelector(".entityfacts"), e === "performer" && U8.hasEntityPart(e, t, "facts"), () => n.querySelector(".entityprofile")?.insertAdjacentHTML("beforeend", U8.factsSkeleton()));}-function h5(e) {- let t = Mn[e] || e, n = $3[t] || "条目", r = $3[t] ? `<a class="geist-button primary" href="/${t}">返回${n}列表</a>` : "";+function m5(e) {+ let t = Mn[e] || e, n = Q3[t] || "条目", r = Q3[t] ? `<a class="geist-button primary" href="/${t}">返回${n}列表</a>` : "";L("#index").innerHTML = Z.emptyState("search-x", `找不到这个${n}`, "名字可能拼错了,或者已经合并到别的名字下;回列表里重新找。", { actions: r });}-function g5(e, t) {+function h5(e, t) {_9(Y.application.fresh(e, t));}-function CLe() {+function wLe() {Y.ENTITY_FILTER_KEYS = ["loc","creator",@@ -80467,40 +80467,40 @@ function CLe() {"year","sort","dir"- ], Y.emptyEntityFilters = z8, Y.parseEntityFilters = (e) => B8(e, {+ ], Y.emptyEntityFilters = R8, Y.parseEntityFilters = (e) => z8(e, {sort: Z.appSettings.defaultSort,dir: Z.appSettings.defaultSortDirection- }), Y.entityFilterSearch = V8, Y.cloneBarsContext = (e) => e && e.type === "entity" ? {+ }), Y.entityFilterSearch = B8, Y.cloneBarsContext = (e) => e && e.type === "entity" ? {...e,filters: { ...e.filters }} : e, Y.activeFilterState = () => {- let e = i5();+ let e = r5();return e.type === "home" ? U : e.filters;}, L("#q").value = U.q, X.rememberSearchValue();}-function wLe() {- Y.entityPageView = "", Y.entityPageWall = !1, Y.entityPageRevision = 0, Y.entityPageCurrent = () => !!n5(), Y.entityPageLive = (e, t) => {- let n = n5();+function TLe() {+ Y.entityPageView = "", Y.entityPageWall = !1, Y.entityPageRevision = 0, Y.entityPageCurrent = () => !!t5(), Y.entityPageLive = (e, t) => {+ let n = t5();return !!n && !L("#index").hidden && n.props.kind === e && n.props.name === t;}, Y.EMPTY_ENTITY_MEDIA = {media: "videos",set: 0- }, Y.parseMediaView = H8, Y.entityViewSearch = U8, Y.entityBodyCanLoadMore = () => !L("#index").hidden && L("#stats").hidden, Y.entityBodySkeleton = () => G7(), Y.entityPageHelpers = {+ }, Y.parseMediaView = V8, Y.entityViewSearch = H8, Y.entityBodyCanLoadMore = () => !L("#index").hidden && L("#stats").hidden, Y.entityBodySkeleton = () => W7(), Y.entityPageHelpers = {wireDrag: (e) => {e && $7(e);},wireScroller: (e) => {e && Ac(e);},- wireFeedRow: (e) => Z8(e),- feedRowHtml: X8,- receipt: (e, t) => S8.actionReceipt(e, t),- failure: (e, t) => S8.actionFailure(e, t),- aliasForm: (e, t) => SLe(e, t),- sourceToolsHtml: (e) => bLe(e),- wireSourceTools: (e, t) => xLe(e, t),- comboItems: (e) => P7(e),- sortKeys: (e, t, n) => a5(e, t, n)+ wireFeedRow: (e) => X8(e),+ feedRowHtml: Y8,+ receipt: (e, t) => x8.actionReceipt(e, t),+ failure: (e, t) => x8.actionFailure(e, t),+ aliasForm: (e, t) => CLe(e, t),+ sourceToolsHtml: (e) => xLe(e),+ wireSourceTools: (e, t) => SLe(e, t),+ comboItems: (e) => N7(e),+ sortKeys: (e, t, n) => i5(e, t, n)}, Y.entityFollowActions = {...$.followFeedActions,route: () => {},@@ -80523,11 +80523,11 @@ function wLe() {<button type="button" data-sync="${e}" title="核对该目录:磁盘上已删除的移入 Peach 回收站,带个人记录的标为已消失"aria-label="同步删除">${R("folder-sync")}</button>`;}-function TLe() {- Y.application = sLe({+function ELe() {+ Y.application = cLe({controller: {context: () => {- let e = i5();+ let e = r5();return e.type === "entity" ? e : null;},live: (e, t) => Y.entityPageLive(e, t),@@ -80539,23 +80539,23 @@ function TLe() {filters: U} }),releaseBodyPreviews: () => Nl(L("#index [data-entity-body]")),- push: r5,+ push: n5,state: () => ({seed: String(U.seed || ""),jav: U.jav === "1"}),preferences: () => ({revision: Y.entityPageRevision,- feedRevision: W8.feedRevision,- photoSize: yM(),- photoLayout: bM(),- photoLayouts: fM,+ feedRevision: U8.feedRevision,+ photoSize: vM(),+ photoLayout: yM(),+ photoLayouts: dM,followImagesOnly: !!Z.appSettings.followImagesOnly,- javLayout: hM(),- javLayouts: uM,+ javLayout: mM(),+ javLayouts: lM,states: X.VIEW_PILLS,- peopleLayout: k5.peopleIndexLayout(),- layout: W7(),+ peopleLayout: O5.peopleIndexLayout(),+ layout: U7(),selectMode: Ql,selected: new Set(Xl),seekSeconds: Z.appSettings.seekSeconds,@@ -80568,52 +80568,52 @@ function TLe() {actions: Y.entityFollowActions}}),- changeFilter: x7,- rollSeed: () => S8.rollSeed(),+ changeFilter: b7,+ rollSeed: () => x8.rollSeed(),writeSeed: (e) => {U.seed = e, Su();},- setJavLayout: a7,- javLayout: hM,- setPhotoLayout: TM,- syncPhotoWalls: c5,- openEntity: g5,- photoViewActive: s5,+ setJavLayout: i7,+ javLayout: mM,+ setPhotoLayout: wM,+ syncPhotoWalls: s5,+ openEntity: h5,+ photoViewActive: o5,recordPainted: (e, t) => {Y.entityPageView = e, Y.entityPageWall = t;},- syncDensity: l5,- scheduleSticky: f7,+ syncDensity: c5,+ scheduleSticky: d7,releasePage: () => _p(L("#index")),- showMissing: h5,- dropBars: O8+ showMissing: m5,+ dropBars: D8},loading: {- shapesReady: (e, t) => W8.hasEntityShape(e, t),- waitShapes: I5,- paintSkeleton: p5,+ shapesReady: (e, t) => U8.hasEntityShape(e, t),+ waitShapes: F5,+ paintSkeleton: f5,resetView: () => {W({ detailReturnBarsContext: null }), Y.entityPageView = "", Y.entityPageWall = !1;},- loadShapes: K8,- syncParts: m5+ loadShapes: G8,+ syncParts: p5},photos: {preferences: () => ({- size: yM(),- layout: bM(),+ size: vM(),+ layout: yM(),imagesOnly: !!Z.appSettings.followImagesOnly}),walls: () => document.querySelectorAll(".followphotowall"),- pushEntity: r5,+ pushEntity: n5,pushFollow: S9,- syncDensity: l5,- storeSize: Ale+ syncDensity: c5,+ storeSize: jle},helpers: Y.entityPageHelpers,actions: {- toggleTag: N7,- openFollowAuthor: M5,+ toggleTag: M7,+ openFollowAuthor: j5,javContext: (e) => W({ entityJavLayout: !!e })},sortPreference: () => ({@@ -80623,8 +80623,8 @@ function TLe() {}), Y.photos = Y.application.photos, Y.entityPageHelpers = Y.application.helpers;}// src/application/playlists.js-var _5 = { playlistWrite: void 0 };-function ELe(e, t) {+var g5 = { playlistWrite: void 0 };+function DLe(e, t) {e === "tag" ? (W({ state: {...U,tag: t,@@ -80634,17 +80634,17 @@ function ELe(e, t) {q: "",state: "",orient: ""- } }), X.clearSearchField(), Q.route(m7()), V5(), j7()) : g5(e, t);+ } }), X.clearSearchField(), Q.route(p7()), B5(), A7()) : h5(e, t);}-function v5(e = "") {+function _5(e = "") {return `<label class="modalfield"><span>名称</span><input class="geist-input" name="name"maxlength="80" placeholder="输入名称" value="${z(e)}"></label>`;}-async function DLe({ title: e, count: t, save: n }) {+async function OLe({ title: e, count: t, save: n }) {let r = sl({title: "保存为播放列表",description: `这个 Mix 的 ${t} 个视频会存成一份可以继续播放的列表。`,- body: v5(e),+ body: _5(e),confirmLabel: "保存为播放列表",onConfirm: () => {let e = r.dialog.querySelector("[name=\"name\"]").value.trim();@@ -80654,28 +80654,28 @@ async function DLe({ title: e, count: t, save: n }) {});r.dialog.querySelector("[name=\"name\"]").select();let { confirmed: i, result: a } = await r.done;- i && (await a9(a.id, a.current_asset_id, !0), S8.actionReceipt("已保存为播放列表", { undo: async () => {- await _5.playlistWrite({+ i && (await a9(a.id, a.current_asset_id, !0), x8.actionReceipt("已保存为播放列表", { undo: async () => {+ await g5.playlistWrite({action: "delete",id: a.id}), _9("/playlists");} }));}-async function OLe(e) {+async function kLe(e) {let t = ((await Tn("/api/playlists")).items || []).map((e) => `<label class="pickrow">${Gs(`data-pick-playlist="${e.id}"`)}<span class="pickrowtext"><b>${z(e.name)}</b><small>${e.item_count} 个视频</small></span></label>`).join(""), n = sl({title: "加入播放列表",description: "勾选要加入的列表,或者填个名称新建一份。",- body: v5() + (t ? `<div class="picklist" role="group" aria-label="已有播放列表">${t}</div>` : zs("还没有播放列表,填个名称就能新建一份。", { size: "small" })),+ body: _5() + (t ? `<div class="picklist" role="group" aria-label="已有播放列表">${t}</div>` : zs("还没有播放列表,填个名称就能新建一份。", { size: "small" })),confirmLabel: "保存",confirmDisabled: !0,onConfirm: async () => {- let t = n.dialog.querySelector("[name=\"name\"]").value.trim(), r = [...n.dialog.querySelectorAll("[data-pick-playlist]:checked")].map((e) => +e.dataset.pickPlaylist), i = t ? (await _5.playlistWrite({+ let t = n.dialog.querySelector("[name=\"name\"]").value.trim(), r = [...n.dialog.querySelectorAll("[data-pick-playlist]:checked")].map((e) => +e.dataset.pickPlaylist), i = t ? (await g5.playlistWrite({action: "create",name: t,asset_ids: [e.id]})).playlist : null;- for (let t of r) await _5.playlistWrite({+ for (let t of r) await g5.playlistWrite({action: "add",id: t,asset_ids: [e.id]@@ -80689,46 +80689,46 @@ async function OLe(e) {let e = n.dialog.querySelector("[name=\"name\"]").value.trim();n.confirmButton.disabled = !e && !n.dialog.querySelector("[data-pick-playlist]:checked");};- R8.listen(n.dialog, "input", r), R8.listen(n.dialog, "change", r);+ L8.listen(n.dialog, "input", r), L8.listen(n.dialog, "change", r);let { confirmed: i, result: a } = await n.done;if (!i) return;let o = +!!a.created + a.added.length;- S8.actionReceipt(`已加入 ${o} 个播放列表`, { undo: async () => {- for (let t of a.added) await _5.playlistWrite({+ x8.actionReceipt(`已加入 ${o} 个播放列表`, { undo: async () => {+ for (let t of a.added) await g5.playlistWrite({action: "remove",id: t,asset_id: e.id});- a.created && await _5.playlistWrite({+ a.created && await g5.playlistWrite({action: "delete",id: a.created.id});} });}-function y5() {- Nl(), r9(!1), B5();+function v5() {+ Nl(), r9(!1), z5();let e = lp(L("#stats"));- e?.path !== "/playlists" || !e.host.isConnected ? W({ pageOpens: pu + 1 }) : (z5({ manage: !1 }), W({ playlistsRevision: yu + 1 }));+ e?.path !== "/playlists" || !e.host.isConnected ? W({ pageOpens: pu + 1 }) : (R5({ manage: !1 }), W({ playlistsRevision: yu + 1 }));}-function kLe(e) {+function ALe(e) {let t = new URLSearchParams(location.search);for (let n of ["category", "queue"]) e[n] ? t.set(n, e[n]) : t.delete(n);Q.route("/review" + (t.size ? "?" + t : ""));}-function b5(e) {+function y5(e) {W({ configurationRequestedSection: e }), Q.navigatePath(Pf(e));}-function ALe() {- _5.playlistWrite = (e) => Tn("/api/playlist", {+function jLe() {+ g5.playlistWrite = (e) => Tn("/api/playlist", {method: "POST",body: JSON.stringify(e)});}// src/react/catalog-grid/selection-controller.ts-function x5(e) {+function b5(e) {return e === "/follow" ? "follow" : e === "/junk-files" ? "junk" : "catalog";}-function S5(e, t, n, r, i = !1) {+function x5(e, t, n, r, i = !1) {return i && (e.selected.clear(), e.followSelected.clear()), {selectMode: r,selectSurface: r ? t.selectMode ? t.selectSurface : n : "",@@ -80736,15 +80736,15 @@ function S5(e, t, n, r, i = !1) {followLastSelectedId: i ? null : t.followLastSelectedId};}-function C5(e, t, n, r, i, a = !1) {- let o = n === "follow", s = TY(o ? e.followSelected : e.selected, r, o ? t.followLastSelectedId : t.lastSelectedId, i, a);+function S5(e, t, n, r, i, a = !1) {+ let o = n === "follow", s = wY(o ? e.followSelected : e.selected, r, o ? t.followLastSelectedId : t.lastSelectedId, i, a);return {- ...S5(e, t, n, !0),+ ...x5(e, t, n, !0),...o ? { followLastSelectedId: s } : { lastSelectedId: s }};}-function jLe(e, t, n, r) {- let i = x5(t);+function MLe(e, t, n, r) {+ let i = b5(t);return {count: (i === "follow" ? e.followSelected : e.selected).size,context: i === "catalog" && r === "trash" ? "trash" : i,@@ -80752,7 +80752,7 @@ function jLe(e, t, n, r) {};}// src/application/selection.js-var w5 = {+var C5 = {batchDockProps: void 0,trashCount: void 0,currentSelectSurface: void 0,@@ -80760,43 +80760,43 @@ var w5 = {BATCH_RUNNERS: void 0,coverRecheck: void 0};-function T5() {- H7({+function w5() {+ V7({selected: new Set(Xl),selectMode: Ql- }), r5({+ }), n5({selected: new Set(Xl),selectMode: Ql}), S9({selected: new Set(Zl),selectMode: Ql- }), w5.batchDockProps = VLe(), y8() && (y8().render(w5.batchDockProps), Z.syncGlassOptics());+ }), C5.batchDockProps = HLe(), v8() && (v8().render(C5.batchDockProps), Z.syncGlassOptics());}-function E5(e, t = !1) {- W(S5({+function T5(e, t = !1) {+ W(x5({selected: Xl,followSelected: Zl- }, O5(), x5(location.pathname), !!e, t)), document.body.classList.toggle("select-mode", Ql), Ql && Nl(), L("#selectMode").setAttribute("aria-pressed", String(Ql)), T5();+ }, D5(), b5(location.pathname), !!e, t)), document.body.classList.toggle("select-mode", Ql), Ql && Nl(), L("#selectMode").setAttribute("aria-pressed", String(Ql)), w5();}-function MLe() {- return [...N5.gridCards()].map((e) => +e.dataset.id);+function NLe() {+ return [...M5.gridCards()].map((e) => +e.dataset.id);}-function D5(e, t = !1) {- W(C5({+function E5(e, t = !1) {+ W(S5({selected: Xl,followSelected: Zl- }, O5(), x5(location.pathname), MLe(), e, t)), E5(!0);+ }, D5(), b5(location.pathname), NLe(), e, t)), T5(!0);}-function NLe() {+function PLe() {return [...document.querySelectorAll("[data-follow-list] > [data-follow-item]")].map((e) => +e.dataset.followItem);}-function PLe(e, t = !1) {- W(C5({+function FLe(e, t = !1) {+ W(S5({selected: Xl,followSelected: Zl- }, O5(), "follow", NLe(), e, t)), E5(!0);+ }, D5(), "follow", PLe(), e, t)), T5(!0);}-async function FLe(e, t) {+async function ILe(e, t) {let n = {like: "喜欢",seen: "标为看过",@@ -80828,9 +80828,9 @@ async function FLe(e, t) {})});if (t.blocked && t.blocked.length) throw Error(`已永久删除 ${t.purged} 项;${t.blocked.length} 项未能删除,仍在回收站:\n` + t.blocked.slice(0, 5).map((e) => `${e.path}(${e.reason})`).join("\n"));- E5(!1, !0), await s7();+ T5(!1, !0), await o7();let r = e === "dispose" ? "restore" : e === "restore" ? "dispose" : null;- S8.actionReceipt(`已${n[e]} ${i.length} 项`, { undo: r ? async () => {+ x8.actionReceipt(`已${n[e]} ${i.length} 项`, { undo: r ? async () => {if (r === "dispose" && t.restored_reasons) for (let e of [null,"manual",@@ -80855,23 +80855,23 @@ async function FLe(e, t) {operation: r})});- await s7();+ await o7();} : null });} catch (e) {throw Xc(t, !1), e;} finally {- Xc(t, !1), T5();+ Xc(t, !1), w5();}}});}-async function ILe() {+async function LLe() {let e = [...Xl];if (!e.length) return;let t = sl({title: "判定产地",description: `选中的 ${e.length} 项归为同一个产地。判定之后,刮削和自动推断不再改写产地。`,- body: "<div class=\"chips\" role=\"group\" aria-label=\"产地\">" + w5.REGION_CHOICES.map(([e, t]) => `<button type="button" class="chip" aria-pressed="false" data-region-pick="${e}">+ body: "<div class=\"chips\" role=\"group\" aria-label=\"产地\">" + C5.REGION_CHOICES.map(([e, t]) => `<button type="button" class="chip" aria-pressed="false" data-region-pick="${e}"><span class="chip-label">${t}</span></button>`).join("") + "</div>",confirmLabel: "判定产地",confirmDisabled: !0,@@ -80891,13 +80891,13 @@ async function ILe() {};}});- t.dialog.querySelectorAll("[data-region-pick]").forEach((e) => R8.handler(e, "onclick", () => {+ t.dialog.querySelectorAll("[data-region-pick]").forEach((e) => L8.handler(e, "onclick", () => {t.dialog.querySelectorAll("[data-region-pick]").forEach((t) => t.setAttribute("aria-pressed", String(t === e))), t.confirmButton.disabled = !1;}));let { confirmed: n, result: r } = await t.done;- n && (E5(!1, !0), await s7(), S8.actionReceipt(r.region === "none" ? `已撤回 ${e.length} 项的产地判定` : `已判为${r.label}:${e.length} 项`));+ n && (T5(!1, !0), await o7(), x8.actionReceipt(r.region === "none" ? `已撤回 ${e.length} 项的产地判定` : `已判为${r.label}:${e.length} 项`));}-async function LLe(e, t) {+async function RLe(e, t) {let n = [...Zl];if (!n.length) return;let r = {@@ -80923,16 +80923,16 @@ async function LLe(e, t) {items: n,to: e})- }), E5(!1, !0), location.pathname === "/follow" && W({ pageOpens: pu + 1 }), S8.actionReceipt(`已${r[e]} ${n.length} 项`);+ }), T5(!1, !0), location.pathname === "/follow" && W({ pageOpens: pu + 1 }), x8.actionReceipt(`已${r[e]} ${n.length} 项`);} catch (e) {throw Xc(t, !1), e;} finally {- Xc(t, !1), T5();+ Xc(t, !1), w5();}}});}-async function RLe(e, t) {+async function zLe(e, t) {let n = [...Xl];if (!n.length) return;let r = {@@ -80959,68 +80959,68 @@ async function RLe(e, t) {operation: e,...e === "dispose" ? { disposal_reason: "junk" } : {}})- }), E5(!1, !0), await I7();+ }), T5(!1, !0), await F7();let t = e === "dispose" ? "restore" : e === "dismiss-junk" ? "reconsider-junk" : e === "reconsider-junk" ? "dismiss-junk" : null;- S8.actionReceipt(`已批量${r[e]}:${n.length} 项`, { undo: t ? async () => {+ x8.actionReceipt(`已批量${r[e]}:${n.length} 项`, { undo: t ? async () => {await Tn("/api/batch", {method: "POST",body: JSON.stringify({ids: n,operation: t})- }), await I7();+ }), await F7();} : null });} catch (e) {throw Xc(t, !1), e;} finally {- Xc(t, !1), T5();+ Xc(t, !1), w5();}}});}-function zLe() {- PIe({+function BLe() {+ FIe({root: L("[data-batch-dock]"),run: (e, t, n) => {- w5.BATCH_RUNNERS[e]?.(t, n);+ C5.BATCH_RUNNERS[e]?.(t, n);}}).then((e) => {- e.render(w5.batchDockProps), Z.syncGlassOptics();+ e.render(C5.batchDockProps), Z.syncGlassOptics();}).catch(() => {});}-function BLe() {- w5.batchDockProps = {+function VLe() {+ C5.batchDockProps = {count: 0,context: "catalog",junkDismissed: !1- }, w5.trashCount = null, w5.currentSelectSurface = () => x5(location.pathname), R8.handler(L("#selectMode"), "onclick", () => E5(!Ql, !!Ql)), w5.REGION_CHOICES = [+ }, C5.trashCount = null, C5.currentSelectSurface = () => b5(location.pathname), L8.handler(L("#selectMode"), "onclick", () => T5(!Ql, !!Ql)), C5.REGION_CHOICES = [["jp", "日本"],["kr", "韩国"],["cn", "国产"],["west", "欧美"],["other", "其他"],["none", "撤回判定"]- ], w5.BATCH_RUNNERS = {- batch: FLe,- region: ILe,- follow: LLe,- junk: RLe,- clear: () => E5(!1, !0)- }, R8.handler(L("#density"), "onclick", () => {- s5() ? vLe(yM() === "big" ? "small" : "big") : jle();- }), MM(), jl({+ ], C5.BATCH_RUNNERS = {+ batch: ILe,+ region: LLe,+ follow: RLe,+ junk: zLe,+ clear: () => T5(!1, !0)+ }, L8.handler(L("#density"), "onclick", () => {+ o5() ? yLe(vM() === "big" ? "small" : "big") : Mle();+ }), jM(), jl({selecting: () => Ql,- censored: () => Z7(),+ censored: () => X7(),delaySeconds: () => Z.appSettings.hoverDelaySeconds- }), R8.listen(window, "pagehide", () => Nl()), R8.listen(document, "visibilitychange", () => {+ }), L8.listen(window, "pagehide", () => Nl()), L8.listen(document, "visibilitychange", () => {document.hidden && Nl();- }), Ol(), w5.coverRecheck = 0, R8.listen(window, "resize", () => {- Tl(L("#index")), clearTimeout(w5.coverRecheck), w5.coverRecheck = R8.delay(() => L("#index").querySelectorAll("img.cover").forEach((e) => {+ }), Ol(), C5.coverRecheck = 0, L8.listen(window, "resize", () => {+ Tl(L("#index")), clearTimeout(C5.coverRecheck), C5.coverRecheck = L8.delay(() => L("#index").querySelectorAll("img.cover").forEach((e) => {e.complete && gl(e);}), 200);}, { passive: !0 });}-function O5() {+function D5() {return {selectMode: Ql,selectSurface: tu,@@ -81028,62 +81028,62 @@ function O5() {followLastSelectedId: eu};}-function VLe() {- return jLe({+function HLe() {+ return MLe({selected: Xl,followSelected: Zl}, location.pathname, location.search, U.state);}// src/application/index.js-var k5 = {+var O5 = {peopleIndexLayout: void 0,personAvatar: void 0};-function HLe() {- return Z.appSettings.followLayout === "table" ? "table" : "default";-}function ULe() {- return LZ(location.search);+ return Z.appSettings.followLayout === "table" ? "table" : "default";}-function WLe(e) {- return RZ(e);+function WLe() {+ return IZ(location.search);}function GLe(e) {- Q.route(WLe(e));+ return LZ(e);+}+function KLe(e) {+ Q.route(GLe(e));}-function KLe(e = "") {- return zZ(location.search, e);+function qLe(e = "") {+ return RZ(location.search, e);}-function qLe(e) {- return I8(e);+function JLe(e) {+ return F8(e);}-function A5(e) {- return P8(e);+function k5(e) {+ return N8(e);}-function j5() {- L("#stats").hidden = !0, L("#index").hidden = !1, R7(), X.hideCatalogCombo(), L("#count").textContent = "", L("#loadSentinel").hidden = !0;+function A5() {+ L("#stats").hidden = !0, L("#index").hidden = !1, L7(), X.hideCatalogCombo(), L("#count").textContent = "", L("#loadSentinel").hidden = !0;}-function JLe(e, t) {+function YLe(e, t) {W({ state: {...U,state: "",tag: e.join(","),tag_match: t- } }), E5(!1, !1), Q.route(m7()), V5(), p9(), j7();+ } }), T5(!1, !1), Q.route(p7()), B5(), p9(), A7();}-function M5(e) {- k5.controller.openFollowAuthor(e);+function j5(e) {+ O5.controller.openFollowAuthor(e);}-function YLe(e) {- k5.controller.openFollowTag(e);-}-function XLe() {- $.FOLLOW_MANAGE_TABS = IZ, R8.listen(document, "click", (e) => {- e.target.closest?.("[data-empty-settings]") && b5("媒体库与入库");- }), k5.peopleIndexLayout = () => e6(Z.appSettings.peopleLayout), k5.personAvatar = F8;+function XLe(e) {+ O5.controller.openFollowTag(e);}function ZLe() {- k5.controller = ZIe({+ $.FOLLOW_MANAGE_TABS = FZ, L8.listen(document, "click", (e) => {+ e.target.closest?.("[data-empty-settings]") && y5("媒体库与入库");+ }), O5.peopleIndexLayout = () => $3(Z.appSettings.peopleLayout), O5.personAvatar = P8;+}+function QLe() {+ O5.controller = QIe({route: Q.route,followView: y9,adoptFollowView: b9,@@ -81094,7 +81094,7 @@ function ZLe() {});}// src/application/loading.js-var N5 = {+var M5 = {setGridCards: void 0,gridCards: void 0,managementPlaceholder: void 0,@@ -81103,58 +81103,58 @@ var N5 = {ENTITY_SHAPES_WAIT: void 0,syncPageTitle: void 0};-function P5(e = "正在读取作品") {+function N5(e = "正在读取作品") {if (location.pathname === "/wall") {L("#loadSentinel").hidden = !0;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 = $ve(LU(location.search)), pc(t)) : (t.removeAttribute("aria-busy"), t.removeAttribute("aria-label"), t.textContent = "", U && C7({+ 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 = $ve(LU(location.search)), pc(t)) : (t.removeAttribute("aria-busy"), t.removeAttribute("aria-label"), t.textContent = "", U && S7({count: null,- ...E7()- })), L("#loadSentinel").hidden = !0, V7()) return;- let r = L("#grid"), i = G7(e), a = r.querySelector(".catalog-skeleton");- (a?.dataset.skeleton !== O2(i) || Number(a.querySelector("[style]")?.style.getPropertyValue("--skeleton-card-ratio")) !== K7()) && (a ? r.innerHTML = `<div class="grid">${i}</div>` : N5.setGridCards(i), pc(L("#grid")));+ ...T7()+ })), L("#loadSentinel").hidden = !0, B7()) return;+ let r = L("#grid"), i = W7(e), a = r.querySelector(".catalog-skeleton");+ (a?.dataset.skeleton !== D2(i) || Number(a.querySelector("[style]")?.style.getPropertyValue("--skeleton-card-ratio")) !== G7()) && (a ? r.innerHTML = `<div class="grid">${i}</div>` : M5.setGridCards(i), pc(L("#grid")));}-function F5() {- L("#catalogFilter").style.display = "none", S7();+function P5() {+ L("#catalogFilter").style.display = "none", x7();}-function I5() {+function F5() {let e = new Promise((e) => {- let t = N5.ENTITY_SHAPES_WAIT, n = performance.now(), r = () => {+ let t = M5.ENTITY_SHAPES_WAIT, n = performance.now(), r = () => {let i = performance.now();- t -= Math.min(i - n, 50), n = i, t > 0 ? R8.delay(r, Math.min(t, 50)) : e();+ t -= Math.min(i - n, 50), n = i, t > 0 ? L8.delay(r, Math.min(t, 50)) : e();};- R8.delay(r, 50);+ L8.delay(r, 50);});- return Promise.race([N5.entityShapesReady ||= K8(), e]);+ return Promise.race([M5.entityShapesReady ||= G8(), e]);}-function QLe() {+function $Le() {let e = decodeURIComponent(location.pathname);- if (document.body.dataset.surface = location.pathname, e === "/wall") document.body.setAttribute("data-wall-open", ""), F5(), Iye();- else if (/^\/assets\/\d+$/.test(e)) F5();- else if (e === "/settings" || /^\/settings\/(appearance|playback|jav|search|content)$/.test(e) || e.startsWith("/posts/") || e.startsWith("/works/")) F5();- else if (e === "/junk-files") P5("正在读取垃圾文件");- else if (e === "/jav" && lU(new URLSearchParams(location.search).get("tab")) === "library") P5("正在读取馆藏");+ if (document.body.dataset.surface = location.pathname, e === "/wall") document.body.setAttribute("data-wall-open", ""), P5(), Lye();+ else if (/^\/assets\/\d+$/.test(e)) P5();+ else if (e === "/settings" || /^\/settings\/(appearance|playback|jav|search|content)$/.test(e) || e.startsWith("/posts/") || e.startsWith("/works/")) P5();+ else if (e === "/junk-files") N5("正在读取垃圾文件");+ else if (e === "/jav" && lU(new URLSearchParams(location.search).get("tab")) === "library") N5("正在读取馆藏");else if (Q.managedPagePath(e)) {- F5();+ P5();let t = L("#stats");- t.hidden = !1, R7(), t.innerHTML = e.startsWith("/follow") && e !== "/subscriptions" ? $.followSkeletonHtml("正在读取关注内容") : N5.managementPlaceholder(e), pc(t);- } else if (/^\/(performers|creators|studios|agencies|tags)$/.test(e)) F5(), j5(), r6(L("#index"), t6(e.slice(1), location.search), k5.peopleIndexLayout());+ t.hidden = !1, L7(), t.innerHTML = e.startsWith("/follow") && e !== "/subscriptions" ? $.followSkeletonHtml("正在读取关注内容") : M5.managementPlaceholder(e), pc(t);+ } else if (/^\/(performers|creators|studios|agencies|tags)$/.test(e)) P5(), A5(), n6(L("#index"), e6(e.slice(1), location.search), O5.peopleIndexLayout());else if (/^\/(?:performers|creators|studios|agencies|series|tags)\//.test(e)) {- F5(), L("#index").hidden = !1, R7();+ P5(), L("#index").hidden = !1, L7();let t = Nn[e.split("/")[1]], n = e.split("/").slice(2).join("/");- (W8.hasEntityShape(t, n) ? Promise.resolve() : I5()).then(() => {- L("#index").firstElementChild || decodeURIComponent(location.pathname) !== e || (p5(t, n), pc(L("#index")));+ (U8.hasEntityShape(t, n) ? Promise.resolve() : F5()).then(() => {+ L("#index").firstElementChild || decodeURIComponent(location.pathname) !== e || (f5(t, n), pc(L("#index")));});- } else Q.routeMeta(e) ? P5() : (R7(), L("#count").textContent = "", L("#loadSentinel").hidden = !0);+ } else Q.routeMeta(e) ? N5() : (L7(), L("#count").textContent = "", L("#loadSentinel").hidden = !0);}-function $Le() {- $.followContentSkeletonHtml = (e = new URLSearchParams(location.search).get("media") === "images" ? "images" : "videos", t = "正在读取关注内容") => E2(t, {+function eRe() {+ $.followContentSkeletonHtml = (e = new URLSearchParams(location.search).get("media") === "images" ? "images" : "videos", t = "正在读取关注内容") => T2(t, {cards: !0,className: "follow-content-skeleton postercard-skeleton",gridClass: e === "images" ? "followlist followphotowall" : "",- gridSize: yM()+ gridSize: vM()}), $.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>@@ -81162,37 +81162,37 @@ function $Le() {<div class="board-filter-frame" data-filter-frame><div class="tagbar followfilters" data-filter-row="top" data-skeleton-tier="pill"></div><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 = Hs(Vs), N5.setGridCards = (e) => ic(L("#grid"), () => {+ ${$.followContentSkeletonHtml(void 0, e)}</div></div>`, L("#loadSentinel").innerHTML = Hs(Vs), M5.setGridCards = (e) => ic(L("#grid"), () => {L("#grid").innerHTML = `<div class="grid">${e}</div>`;- }), N5.gridCards = () => document.querySelectorAll(":is(#grid,#index [data-entity-grid]) :is([data-media-grid] > [data-media-card][data-id],[data-catalog-row][data-id])"), N5.managementPlaceholder = (e) => D2(e, {- followLayout: HLe(),+ }), M5.gridCards = () => document.querySelectorAll(":is(#grid,#index [data-entity-grid]) :is([data-media-grid] > [data-media-card][data-id],[data-catalog-row][data-id])"), M5.managementPlaceholder = (e) => E2(e, {+ followLayout: ULe(),...(({ sort: e, dir: t, tab: n }) => ({followSort: e,followDir: t,followTab: n- }))(ULe())- }), N5.wantsDiscoveryBars = () => L("#catalogFilter").style.display !== "none", N5.entityShapesReady = null, N5.ENTITY_SHAPES_WAIT = 400, N5.syncPageTitle = (e) => {+ }))(WLe())+ }), M5.wantsDiscoveryBars = () => L("#catalogFilter").style.display !== "none", M5.entityShapesReady = null, M5.ENTITY_SHAPES_WAIT = 400, M5.syncPageTitle = (e) => {let t = new URL(e, location.origin), n = ep(decodeURIComponent(t.pathname))?.title;document.title = n ? `${n} · Peach` : "Peach · 蜜桃", document.body.dataset.surface = t.pathname, d9();};}// src/sidebar-skeleton.ts-var L5 = (e) => e.replace(/[&<>"']/g, (e) => ({+var I5 = (e) => e.replace(/[&<>"']/g, (e) => ({"&": "&","<": "<",">": ">","\"": ""","'": "'"})[e]);-function eRe(e, t, n) {+function tRe(e, t, n) {let r = new Map(t.map((e) => [e[0], e]));return `<div data-sidebar-head=""></div><div data-sidebar-nav="">${e.map((e) => r.get(e)).filter((e) => e !== void 0).map(([e, t, r]) => {- let i = e === "" ? "<img data-sidebar-home-logo=\"\" src=\"/peach-logo-64.png\" srcset=\"/peach-logo-64.png 64w, /peach-logo-128.png 128w\" sizes=\"24px\" width=\"24\" height=\"24\" alt=\"\" decoding=\"async\">" : `<svg viewBox="0 0 24 24" aria-hidden="true"><use href="#i-${L5(r)}"/></svg>`;- return `<button type="button" data-nav="${L5(e)}" aria-pressed="${n(e)}" aria-label="${L5(t)}">${i}<span>${L5(t)}</span></button>`;+ let i = e === "" ? "<img data-sidebar-home-logo=\"\" src=\"/peach-logo-64.png\" srcset=\"/peach-logo-64.png 64w, /peach-logo-128.png 128w\" sizes=\"24px\" width=\"24\" height=\"24\" alt=\"\" decoding=\"async\">" : `<svg viewBox="0 0 24 24" aria-hidden="true"><use href="#i-${I5(r)}"/></svg>`;+ return `<button type="button" data-nav="${I5(e)}" aria-pressed="${n(e)}" aria-label="${I5(t)}">${i}<span>${I5(t)}</span></button>`;}).join("")}</div>`;}// src/application/filter-scroll.js-function tRe(e, t, n, r = !1) {+function nRe(e, t, n, r = !1) {if (t = Math.max(0, t), !e || !n || r || t <= 8) return {y: t,origin: t,@@ -81210,7 +81210,7 @@ function tRe(e, t, n, r = !1) {};}// src/application/layout.js-var R5 = {+var L5 = {sidebarProps: void 0,sidebarSurface: void 0,sidebarCatalog: void 0,@@ -81232,19 +81232,19 @@ var R5 = {mobileFilterHost: void 0,mobileFilterPath: void 0};-function z5({ manage: e = !0, placeholder: t = "" } = {}) {- L("#stats").hidden = !1, L("#index").hidden = !0, R7(), L("#count").textContent = "", L("#loadSentinel").hidden = !0, e ? Y5() : (X5(""), p9()), t && k2(L("#stats"), t);+function R5({ manage: e = !0, placeholder: t = "" } = {}) {+ L("#stats").hidden = !1, L("#index").hidden = !0, L7(), L("#count").textContent = "", L("#loadSentinel").hidden = !0, e ? J5() : (Y5(""), p9()), t && O2(L("#stats"), t);}-function B5() {- L("#javLibraryHeader").hidden = !0, X.hideCatalogCombo(), F5(), document.body.classList.remove("entity-open", "index-open");+function z5() {+ L("#javLibraryHeader").hidden = !0, X.hideCatalogCombo(), P5(), document.body.classList.remove("entity-open", "index-open");}-function V5() {- L("#javLibraryHeader").hidden = !jn(location.pathname) || !n7(), document.body.classList.remove("entity-open", "index-open"), _p(L("#index")), L("#stats").hidden = !0, L("#index").hidden = !0, Q8(location.pathname) || (L("#feedNew").hidden = !0), L("#catalogFilter").style.display = "", S7(), Y5(), Z5();+function B5() {+ L("#javLibraryHeader").hidden = !jn(location.pathname) || !t7(), document.body.classList.remove("entity-open", "index-open"), _p(L("#index")), L("#stats").hidden = !0, L("#index").hidden = !0, Z8(location.pathname) || (L("#feedNew").hidden = !0), L("#catalogFilter").style.display = "", x7(), J5(), X5();}-function nRe() {- Q.route("/"), V5();+function rRe() {+ Q.route("/"), B5();}-function H5({ tags: e = [], providers: t = [], duration: n = !1 }) {+function V5({ tags: e = [], providers: t = [], duration: n = !1 }) {f9({content: e.length || t.length || n ? {kind: "follow",@@ -81268,28 +81268,28 @@ function H5({ tags: e = [], providers: t = [], duration: n = !1 }) {filters: $.followSidebarFilters()});}-function U5(e) {+function H5(e) {rze({...y9(),...e}), f9({ filters: $.followSidebarFilters() });}-function W5() {+function U5() {return matchMedia("(max-width:760px)").matches;}-function G5(e) {+function W5(e) {let t = L("#drawer"), n = !e && t.contains(document.activeElement);- t.inert = !e && W5(), 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");+ t.inert = !e && U5(), 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 K5() {- W5() && G5(!1);+function G5() {+ U5() && W5(!1);}-function rRe() {+function iRe() {du === null && (W({ runtimeConfigurable: !1 }), Tn("/healthz").then((e) => {- W({ runtimeConfigurable: !!e.configurable }), du && J5() && Y5();+ W({ runtimeConfigurable: !!e.configurable }), du && q5() && J5();}).catch(() => {}));}-function q5(e = "", t = !1) {+function K5(e = "", t = !1) {if (!t && !Mf(location.pathname)) {let t = Op.navigation;Op.push(Pf(e), { settingsBackground: {@@ -81302,38 +81302,38 @@ function q5(e = "", t = !1) {replace: !0,state: Op.navigation.location.state});- return e ||= Nf(location.pathname), jIe(R5.settingsHost()).then((t) => (t.open(e), t));+ return e ||= Nf(location.pathname), MIe(L5.settingsHost()).then((t) => (t.open(e), t));}-function iRe() {+function aRe() {Mf(location.pathname) && (Ff(Op.navigation.location.state) ? Op.go(-1) : Q.navigatePath("/", !0));}-function aRe() {+function oRe() {return {scroll: L("#drawerScroll"),store: Z.settingsStore,- navCatalog: R5.NAV_CATALOG,- navOn: l7,- navTo: u7,+ navCatalog: L5.NAV_CATALOG,+ navOn: c7,+ navTo: l7,navToTop: () => {- K5(), fm();+ G5(), fm();},- toggleChip: (e, t, n) => x7((r) => {+ toggleChip: (e, t, n) => b7((r) => {if (n) {let n = String(r[e] || "").split(",").filter(Boolean), i = n.indexOf(t);i >= 0 ? n.splice(i, 1) : n.push(t), r[e] = n.join(",");} else r[e] = r[e] === t ? "" : t;}),- setDuration: (e, t) => x7((n) => {+ setDuration: (e, t) => b7((n) => {n.len = "", n.dur_min = e ? String(e * 60) : "", n.dur_max = t < 180 ? String(t * 60) : "";}),openFollowTag: (e) => {- $.followAuthors = /* @__PURE__ */ new Set(), $.followProviders = /* @__PURE__ */ new Set(), $.followMediaView = "videos", $.followFilter = "saved", $.followDurMin = $.followDurMax = 0, $.followTags = /* @__PURE__ */ new Set([e]), G5(!1), _9(v9());+ $.followAuthors = /* @__PURE__ */ new Set(), $.followProviders = /* @__PURE__ */ new Set(), $.followMediaView = "videos", $.followFilter = "saved", $.followDurMin = $.followDurMax = 0, $.followTags = /* @__PURE__ */ new Set([e]), W5(!1), _9(v9());},selectFollowTag: (e) => {- $.followTags = /* @__PURE__ */ new Set([e]), G5(!1), _9(v9());+ $.followTags = /* @__PURE__ */ new Set([e]), W5(!1), _9(v9());},- selectFollowProvider: (e) => U5({ provider: $.followProviders.has(e) ? "" : e }),- setFollowDuration: (e, t) => U5({+ selectFollowProvider: (e) => H5({ provider: $.followProviders.has(e) ? "" : e }),+ setFollowDuration: (e, t) => H5({durMin: e ? e * 60 : 0,durMax: t < 180 ? t * 60 : 0}),@@ -81342,76 +81342,76 @@ function aRe() {}};}-function oRe() {+function sRe() {let e = L("#drawerScroll"), t = [...e.querySelector("[data-sidebar-head]")?.children || []];- e.innerHTML = eRe(Z.appSettings.sidebarOrder, R5.NAV_CATALOG, l7), e.querySelector("[data-sidebar-head]").append(...t), R8.listen(e, "click", (e) => {- if (p8()) return;+ e.innerHTML = tRe(Z.appSettings.sidebarOrder, L5.NAV_CATALOG, c7), e.querySelector("[data-sidebar-head]").append(...t), L8.listen(e, "click", (e) => {+ if (f8()) return;let t = e.target.closest?.("[data-nav]");- t && u7(t.dataset.nav);- }), MIe(aRe()).then((e) => e.render(R5.sidebarProps)).catch(() => {});+ t && l7(t.dataset.nav);+ }), NIe(oRe()).then((e) => e.render(L5.sidebarProps)).catch(() => {});}-async function sRe() {- let e = R8, t = null;+async function cRe() {+ let e = L8, t = null;try {t = await Tn("/api/settings", { signal: e.signal });} catch {return;}- e.isActive && aM(t, (e) => Z.settingsEffects[e]?.());+ e.isActive && iM(t, (e) => Z.settingsEffects[e]?.());}-function J5() {+function q5() {return Q.routeMeta(decodeURIComponent(location.pathname))?.route.section || (U.state === "ads" ? "cleanup" : "");}-function Y5() {- let e = J5();- rRe(), e && F5(), L("#count").classList.toggle("no-tagbar", !!e), p9(), e !== "trash" && (w5.trashCount = null), X5(e);+function J5() {+ let e = q5();+ iRe(), e && P5(), L("#count").classList.toggle("no-tagbar", !!e), p9(), e !== "trash" && (C5.trashCount = null), Y5(e);}-function cRe(e) {+function lRe(e) {return {section: e,path: decodeURIComponent(location.pathname),- sections: R5.MANAGE_SECTIONS,- menu: e ? R5.manageMenuSections() : [],- trash: w5.trashCount+ sections: L5.MANAGE_SECTIONS,+ menu: e ? L5.manageMenuSections() : [],+ trash: C5.trashCount};}-function X5(e = J5()) {- Z5();- let t = cRe(e), n = g8();+function Y5(e = q5()) {+ X5();+ let t = lRe(e), n = h8();if (n) n.render(t);else {- let e = zde(t);- e !== R5.manageHeaderSkeleton && (R5.manageHeaderSkeleton = e, R5.manageHeaderRoot().innerHTML = e);+ let e = Bde(t);+ e !== L5.manageHeaderSkeleton && (L5.manageHeaderSkeleton = e, L5.manageHeaderRoot().innerHTML = e);}- let r = RF(t)?.title || "";- r !== R5.lastManagePageLabel && (R5.lastManagePageLabel = r, r && tc(R5.manageHeaderRoot(), "[data-manage-title],[data-manage-lede]"));+ let r = LF(t)?.title || "";+ r !== L5.lastManagePageLabel && (L5.lastManagePageLabel = r, r && tc(L5.manageHeaderRoot(), "[data-manage-title],[data-manage-lede]"));}-function lRe() {- let e = R5.manageHeaderRoot();- R8.listen(e, "click", (e) => {- if (g8()) return;+function uRe() {+ let e = L5.manageHeaderRoot();+ L8.listen(e, "click", (e) => {+ if (h8()) return;let t = e.target.closest?.("[data-manage]");- if (t) t7(t.dataset.manage);+ if (t) e7(t.dataset.manage);else if (e.target.closest?.("[data-manage-crumb] a[href]")) {if (e.metaKey || e.ctrlKey || e.shiftKey || e.altKey || e.button) return;e.preventDefault(), Q.navigatePath("/data-cleanup");- } else e.target.closest?.("[data-empty-trash]") && M7();- }), NIe({+ } else e.target.closest?.("[data-empty-trash]") && j7();+ }), PIe({root: e,- openManage: t7,+ openManage: e7,openDataCleanup: () => Q.navigatePath("/data-cleanup"),- emptyTrash: M7- }).then(() => X5()).catch(() => {});+ emptyTrash: j7+ }).then(() => Y5()).catch(() => {});}-function Z5() {+function X5() {let e = L("#listTitle");if (!e) return;- let t = decodeURIComponent(location.pathname), n = !J5() && jn(t) && An[U.state] || "";+ let t = decodeURIComponent(location.pathname), n = !q5() && jn(t) && An[U.state] || "";e.hidden = !n, n && (e.textContent = n);let r = L("#catalogPageHeading");- r.hidden = !!J5() || !jn(t) || !!n || U.jav === "1", Q5(r, U.q);+ r.hidden = !!q5() || !jn(t) || !!n || U.jav === "1", Z5(r, U.q);}-function Q5(e, t) {+function Z5(e, t) {let n = e?.querySelector("[data-page-title]");if (!n) return;let r = String(t || "").trim(), i = r ? `搜索结果:「${r}」` : "首页";@@ -81424,10 +81424,10 @@ function Q5(e, t) {let n = document.createElement("span");return n.textContent = e, t !== void 0 && (n.dataset.titleWords = t), n;};- n.replaceChildren(a("搜索结果:「"), a(r, r), a("」")), n.title = i, e7(n), $5 ??= new ResizeObserver((e) => e.forEach((e) => e7(e.target))), $5.observe(n), document.fonts?.ready.then(() => e7(n));+ n.replaceChildren(a("搜索结果:「"), a(r, r), a("」")), n.title = i, $5(n), Q5 ??= new ResizeObserver((e) => e.forEach((e) => $5(e.target))), Q5.observe(n), document.fonts?.ready.then(() => $5(n));}-var $5 = null;-function e7(e) {+var Q5 = null;+function $5(e) {let t = e.querySelector("[data-title-words]");if (!t || !e.clientWidth) return;let n = t.dataset.titleWords;@@ -81439,44 +81439,44 @@ function e7(e) {}t.textContent = r.slice(0, o).join("") + "…";}-function t7(e = "stats") {+function e7(e = "stats") {let t = Q.routePathOf("section", e);- t ? Q.openRoutePath(t) : (U.orient = "", U.state = "ads", Su(), Q.route(RU()), V5(), p9(), j7());+ t ? Q.openRoutePath(t) : (U.orient = "", U.state = "ads", Su(), Q.route(RU()), B5(), p9(), A7());}-function n7() {+function t7() {let e = decodeURIComponent(location.pathname);return e === "/" ? U.jav === "1" : e.startsWith("/performers/") || e.startsWith("/studios/") ? U.jav === "1" || hu : !1;}-function uRe(e = n7()) {- let t = Aj.filter(([e]) => e !== "seed");- return e ? [jj, ...t] : t;+function dRe(e = t7()) {+ let t = kj.filter(([e]) => e !== "seed");+ return e ? [Aj, ...t] : t;}-function r7() {+function n7() {return decodeURIComponent(location.pathname) === "/" && U.jav !== "1";}-function i7() {- return gM(r7());+function r7() {+ return hM(n7());}-function dRe(e) {- Ole(e), o7(), L("#grid").hidden || q7();+function fRe(e) {+ kle(e), a7(), L("#grid").hidden || K7();}-function a7(e) {- wM(e), o7(), q7();+function i7(e) {+ CM(e), a7(), K7();}-function o7() {+function a7() {document.querySelectorAll("[data-video-layout]").forEach((e) => {- e.checked = e.value === i7();- }), X.catalogFilterProps && C7({ layout: T7() });+ e.checked = e.value === r7();+ }), X.catalogFilterProps && S7({ layout: w7() });}-function fRe(e) {- kle(e), o7(), q7();+function pRe(e) {+ Ale(e), a7(), K7();}-async function s7() {- O8(), X.mixRelatedCache.clear(), await Promise.all([c7(), j7()]);+async function o7() {+ D8(), X.mixRelatedCache.clear(), await Promise.all([s7(), A7()]);}-async function c7() {+async function s7() {if (Y.entityPageCurrent() && !L("#index").hidden) {- r5({ revision: ++Y.entityPageRevision });+ n5({ revision: ++Y.entityPageRevision });return;}let e = decodeURIComponent(location.pathname);@@ -81485,30 +81485,30 @@ async function c7() {return;}let t = Q.routeMeta(e);- t?.route.reload ? await t.route.reload() : await I7();+ t?.route.reload ? await t.route.reload() : await F7();}-function l7(e) {- let t = decodeURIComponent(location.pathname), n = Q.routeMeta(t)?.route.nav || "", r = R5.DIRECT_MANAGE_NAV[e];- if (r) return J5() === r;+function c7(e) {+ let t = decodeURIComponent(location.pathname), n = Q.routeMeta(t)?.route.nav || "", r = L5.DIRECT_MANAGE_NAV[e];+ if (r) return q5() === r;if (e === "manage") {- let e = J5();- return !!e && !Z.appSettings.sidebarOrder.some((t) => R5.DIRECT_MANAGE_NAV[t] === e);+ let e = q5();+ return !!e && !Z.appSettings.sidebarOrder.some((t) => L5.DIRECT_MANAGE_NAV[t] === e);}- return e === "jav" ? t === "/jav" || n7() : e === "shorts" ? U.orient === "竖屏" : e === "" ? t === "/" && !J5() && !U.state && !n7() && U.orient !== "竖屏" : On[e] ? n === e && U.orient !== "竖屏" : n ? n === e : t === "/" && U.state === e && U.orient !== "竖屏";+ return e === "jav" ? t === "/jav" || t7() : e === "shorts" ? U.orient === "竖屏" : e === "" ? t === "/" && !q5() && !U.state && !t7() && U.orient !== "竖屏" : On[e] ? n === e && U.orient !== "竖屏" : n ? n === e : t === "/" && U.state === e && U.orient !== "竖屏";}-function u7(e) {+function l7(e) {let t = om(e);if (t === location.pathname + location.search + location.hash) return;- if (K5(), t) {+ if (G5(), t) {Q.navigatePath(t);return;}- if (R5.DIRECT_MANAGE_NAV[e]) {- t7(R5.DIRECT_MANAGE_NAV[e]);+ if (L5.DIRECT_MANAGE_NAV[e]) {+ e7(L5.DIRECT_MANAGE_NAV[e]);return;}if (e === "manage") {- t7();+ e7();return;}if (e === "jav") {@@ -81516,25 +81516,25 @@ function u7(e) {return;}if (e === "") {- h7();+ m7();return;}let n = On[e] ? null : Q.routePathOf("nav", e);- n ? Q.openRoutePath(n) : (e === "shorts" ? (U.orient = "竖屏", U.state = "") : (U.orient = "", U.state = e), Su(), Q.route(m7()), p9(), j7());+ n ? Q.openRoutePath(n) : (e === "shorts" ? (U.orient = "竖屏", U.state = "") : (U.orient = "", U.state = e), Su(), Q.route(p7()), p9(), A7());}-function d7() {+function u7() {let e = decodeURIComponent(location.pathname), t = e.split("/").filter(Boolean);- Ql && tu !== w5.currentSelectSurface() && E5(!1, !0);+ Ql && tu !== C5.currentSelectSurface() && T5(!1, !0);let n = t.length > 1 && Object.prototype.hasOwnProperty.call(Nn, t[0]), r = jn(e) || e === "/trash", i = r || n || e === "/tags" || e === "/follow", a = r || n || e === "/follow";- L("#selectMode").hidden = !i, L("#density").hidden = !a, c5(), !i && Ql && E5(!1, !0);+ L("#selectMode").hidden = !i, L("#density").hidden = !a, s5(), !i && Ql && T5(!1, !0);}-function pRe() {+function mRe() {let e = [...document.querySelectorAll("[data-filter-frame]")], t = e.find((e) => e.offsetParent !== null);- (t !== R5.mobileFilterHost || location.pathname !== R5.mobileFilterPath) && (R5.mobileFilterScroll = null), R5.mobileFilterHost = t, R5.mobileFilterPath = location.pathname;+ (t !== L5.mobileFilterHost || location.pathname !== L5.mobileFilterPath) && (L5.mobileFilterScroll = null), L5.mobileFilterHost = t, L5.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\"]");- R5.mobileFilterScroll = tRe(R5.mobileFilterScroll, n, innerWidth <= 760, r);+ L5.mobileFilterScroll = nRe(L5.mobileFilterScroll, n, innerWidth <= 760, r);for (let n of e) {- let e = n === t && R5.mobileFilterScroll.free;+ let e = n === t && L5.mobileFilterScroll.free;if (e && n.style.setProperty("--filter-free-top", `${-n.offsetHeight - 12}px`), e === n.hasAttribute("data-filter-free")) continue;let r = n.getBoundingClientRect().top;n.getAnimations().forEach((e) => e.id === "filter-slide" && e.cancel()), n.toggleAttribute("data-filter-free", e);@@ -81546,52 +81546,52 @@ function pRe() {});}}-function mRe() {- pRe(), [".board-filter-frame", "#count"].forEach((e) => {+function hRe() {+ mRe(), [".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 f7() {- R5.stickyFrame ||= R8.frame(() => {- R5.stickyFrame = 0, mRe();+function d7() {+ L5.stickyFrame ||= L8.frame(() => {+ L5.stickyFrame = 0, hRe();});}-function hRe() {+function gRe() {$.followSidebarFilters = () => ({provider: [...$.followProviders][0] || "",dur_min: $.followDurMin || "",dur_max: $.followDurMax || ""- }), R8.handler(L("#filterBtn"), "onclick", () => G5(!L("#drawer").classList.contains("open"))), R5.SIDEBAR_ITEMS = k8, R5.MANAGE_SECTIONS = A8, R5.MANAGE_MENU_SECTIONS = j8, R5.manageMenuSections = () => JIe(du === !0), R5.OPTIONAL_SIDEBAR_ITEMS = M8, R5.NAV_CATALOG = YIe, R5.DIRECT_MANAGE_NAV = XIe, R5.settingsHost = () => ({+ }), L8.handler(L("#filterBtn"), "onclick", () => W5(!L("#drawer").classList.contains("open"))), L5.SIDEBAR_ITEMS = O8, L5.MANAGE_SECTIONS = k8, L5.MANAGE_MENU_SECTIONS = A8, L5.manageMenuSections = () => YIe(du === !0), L5.OPTIONAL_SIDEBAR_ITEMS = j8, L5.NAV_CATALOG = XIe, L5.DIRECT_MANAGE_NAV = ZIe, L5.settingsHost = () => ({selectSection: (e) => kp(Pf(e), {replace: !0,state: Op.navigation.location.state}),- closed: iRe,+ closed: aRe,store: Z.settingsStore,changed: (e) => Z.settingsEffects[e]?.(),sound: (e) => Qo(e),- navCatalog: R5.NAV_CATALOG,- themeOptions: Cle,- videoLayouts: uM,- followInitialRanges: N8,- videoLayout: () => i7(),- setVideoLayout: fRe,- censored: Z7,- setCensored: IRe,+ navCatalog: L5.NAV_CATALOG,+ themeOptions: wle,+ videoLayouts: lM,+ followInitialRanges: M8,+ videoLayout: () => r7(),+ setVideoLayout: pRe,+ censored: X7,+ setCensored: Q7,highContrast: () => document.documentElement.classList.contains("board-high-contrast"),setHighContrast: LRe,- receipt: (e) => S8.actionReceipt(e),- failure: S8.actionFailure,- syncRemote: (e) => aM(e, (e) => Z.settingsEffects[e]?.()),+ receipt: (e) => x8.actionReceipt(e),+ failure: x8.actionFailure,+ syncRemote: (e) => iM(e, (e) => Z.settingsEffects[e]?.()),openConfiguration: () => Q.navigatePath("/settings/library"),attached: () => Z.syncGlassOptics(),configurable: () => Tn("/healthz").then((e) => (W({ runtimeConfigurable: !!e.configurable }), du)).catch(() => null)- }), R8.handler(L("#settingsBtn"), "onclick", () => void q5()), R5.lastManagePageLabel = "", R5.manageHeaderSkeleton = "", R5.manageHeaderRoot = () => L("[data-manage-header]"), window.__scrolling = !1, R5.scrollT = null, R5.stickyFrame = 0, R5.mobileFilterScroll = null, R5.mobileFilterHost = null, R5.mobileFilterPath = "", R8.listen(document, "focusin", f7), R8.listen(document, "focusout", f7), R8.listen(window, "scroll", () => {- f7(), location.pathname === "/follow" && x9() && W({ followScrollY: scrollY }), window.__scrolling = !0, Nl(), clearTimeout(R5.scrollT), R5.scrollT = R8.delay(() => {+ }), L8.handler(L("#settingsBtn"), "onclick", () => void K5()), L5.lastManagePageLabel = "", L5.manageHeaderSkeleton = "", L5.manageHeaderRoot = () => L("[data-manage-header]"), window.__scrolling = !1, L5.scrollT = null, L5.stickyFrame = 0, L5.mobileFilterScroll = null, L5.mobileFilterHost = null, L5.mobileFilterPath = "", L8.listen(document, "focusin", d7), L8.listen(document, "focusout", d7), L8.listen(window, "scroll", () => {+ d7(), location.pathname === "/follow" && x9() && W({ followScrollY: scrollY }), window.__scrolling = !0, Nl(), clearTimeout(L5.scrollT), L5.scrollT = L8.delay(() => {window.__scrolling = !1;}, 180);- }, { passive: !0 }), R8.listen(window, "resize", f7, { passive: !0 }), R8.handler(L("#scrim"), "onclick", () => G5(!1));+ }, { passive: !0 }), L8.listen(window, "resize", d7, { passive: !0 }), L8.handler(L("#scrim"), "onclick", () => W5(!1));}// src/application/catalog.jsvar X = {@@ -81630,43 +81630,43 @@ var X = {junkQueueHelpers: void 0,junkQueueActions: void 0};-function gRe() {- X.initialParams.has("loc") || (U.loc = p7(U.loc), Su());+function _Re() {+ X.initialParams.has("loc") || (U.loc = f7(U.loc), Su());}-function p7(e) {- return zIe(e, Z.sourceOnline);+function f7(e) {+ return BIe(e, Z.sourceOnline);}-function m7(e = U) {- return BIe(e);+function p7(e = U) {+ return VIe(e);}-function _Re() {- W(w8(VIe(U, Z.appSettings, S8.rollSeed)));+function vRe() {+ W(C8(HIe(U, Z.appSettings, x8.rollSeed)));}-function h7(e = null) {- _Re(), e && (Object.assign(U, e), Su()), Q.route(e ? m7() : "/"), X.clearSearchField(), r9(!1), p9(), j7();+function m7(e = null) {+ vRe(), e && (Object.assign(U, e), Su()), Q.route(e ? p7() : "/"), X.clearSearchField(), r9(!1), p9(), A7();}-function vRe(e, t = null) {+function yRe(e, t = null) {let n = e.id;- !e.medium || e.medium === "video" ? s9(n, !0, null, t) : e.medium === "image" && e.location !== "online" ? window.open("/photo?id=" + n, "_blank", "noopener") : D5(n);+ !e.medium || e.medium === "video" ? s9(n, !0, null, t) : e.medium === "image" && e.location !== "online" ? window.open("/photo?id=" + n, "_blank", "noopener") : E5(n);}-function g7(e) {+function h7(e) {return X.mixRelatedCache.has(e) || X.mixRelatedCache.set(e, Tn("/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 yRe(e, t) {- i8()?.miniplayerTakesCard(e) ? i8().miniplayerPlay(e.id) : _7(e, t);+function bRe(e, t) {+ r8()?.miniplayerTakesCard(e) ? r8().miniplayerPlay(e.id) : g7(e, t);}-function _7(e, t) {+function g7(e, t) {e.edition_group ? WRe(e.edition_group.seed_id, e.id, !0, t) : e.part_group ? GRe(e.part_group.seed_id, e.id, !0, t) : s9(e.id, !0, null, t);}-async function bRe(e, t) {+async function xRe(e, t) {try {let n = await Tn("/api/watch-later", {method: "POST",body: JSON.stringify({ id: e.id })});- e.watch_later = n.watch_later, t(!!n.watch_later), S8.actionReceipt(n.watch_later ? "已加入稍后看" : "已移出稍后看", { undo: async () => {+ e.watch_later = n.watch_later, t(!!n.watch_later), x8.actionReceipt(n.watch_later ? "已加入稍后看" : "已移出稍后看", { undo: async () => {let n = await Tn("/api/watch-later", {method: "POST",body: JSON.stringify({ id: e.id })@@ -81674,10 +81674,10 @@ async function bRe(e, t) {e.watch_later = n.watch_later, t(!!n.watch_later);} });} catch (e) {- S8.actionFailure("更新稍后看", e);+ x8.actionFailure("更新稍后看", e);}}-async function xRe(e, t) {+async function SRe(e, t) {try {await Tn("/api/batch", {method: "POST",@@ -81685,9 +81685,9 @@ async function xRe(e, t) {ids: [e.id],operation: t})- }), await I7();+ }), await F7();let n = t === "restore" ? "dispose" : "restore";- S8.actionReceipt(t === "restore" ? "已还原" : "已移入回收站", { undo: async () => {+ x8.actionReceipt(t === "restore" ? "已还原" : "已移入回收站", { undo: async () => {await Tn("/api/batch", {method: "POST",body: JSON.stringify({@@ -81695,14 +81695,14 @@ async function xRe(e, t) {operation: n,...n === "dispose" ? { disposal_reason: e.disposal_reason ?? null } : {}})- }), await I7();+ }), await F7();} });} catch (e) {- throw S8.actionFailure("操作", e), e;+ throw x8.actionFailure("操作", e), e;}}-async function SRe(e, t, n, r) {- let i = Number(e.rating) || 0, a = gP(i, t), o = async (t, r) => {+async function CRe(e, t, n, r) {+ let i = Number(e.rating) || 0, a = hP(i, t), o = async (t, r) => {let i = (await Tn("/api/feedback", {method: "POST",body: JSON.stringify({@@ -81716,14 +81716,14 @@ async function SRe(e, t, n, r) {};try {let e = await o(a, r);- S8.actionReceipt(e ? `已评 ${hP(e)} 星` : "已取消评分", { undo: () => o(i) });+ x8.actionReceipt(e ? `已评 ${mP(e)} 星` : "已取消评分", { undo: () => o(i) });} catch (e) {- throw r?.aborted || S8.actionFailure("评分", e), e;+ throw r?.aborted || x8.actionFailure("评分", e), e;}}-async function v7(e) {+async function _7(e) {let t = new URLSearchParams();- if (n7() && 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" && U.state && t.set("state", U.state), e.type !== "item") {+ if (t7() && 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" && U.state && t.set("state", U.state), e.type !== "item") {let e = Y.activeFilterState();["loc",@@ -81745,33 +81745,33 @@ async function v7(e) {e[n] && t.set(n, e[n]);});}- return KIe(t.toString(), X.topsQueryParams(e).toString());+ return qIe(t.toString(), X.topsQueryParams(e).toString());}-function y7(e) {- i5().type !== "entity" && C7({ tags: D7(e) }), f9({ filters: { ...e } }), F7();+function v7(e) {+ r5().type !== "entity" && S7({ tags: E7(e) }), f9({ filters: { ...e } }), P7();}-async function b7(e) {- let t = ++X.facetCountsSeq, [n] = await v7(e);- t === X.facetCountsSeq && (e.type === "home" && (e9.facets = n), f9({ latest: X7(n, e) }));+async function y7(e) {+ let t = ++X.facetCountsSeq, [n] = await _7(e);+ t === X.facetCountsSeq && (e.type === "home" && (e9.facets = n), f9({ latest: Y7(n, e) }));}-function x7(e) {- let t = i5();+function b7(e) {+ let t = r5();if (t.type === "entity") {let n = { ...t.filters };- e(n), o5(t.kind, t.name, n), y7(n), b7(i5());+ e(n), a5(t.kind, t.name, n), v7(n), y7(r5());} else if (t.type === "item") {let t = Y.cloneBarsContext(Yl);if (r9(!1), W({ detailReturnBarsContext: null }), t && t.type === "entity") {- e(t.filters), o5(t.kind, t.name, t.filters) ? j7() : W({ pageOpens: pu + 1 });+ e(t.filters), a5(t.kind, t.name, t.filters) ? A7() : W({ pageOpens: pu + 1 });return;}e(U), W({ barsContext: {type: "home",filters: U- } }), Q.route(m7()), V5(), j7();- } else e(U), Su(), Q.route(m7()), y7(U), b7(Jl);+ } }), Q.route(p7()), B5(), A7();+ } else e(U), Su(), Q.route(p7()), v7(U), y7(Jl);}-function CRe() {+function wRe() {return {tiers: null,tiersPending: !1,@@ -81789,7 +81789,7 @@ function CRe() {combo: [],comboHidden: !0,comboHost: L("#combo"),- actions: w7(),+ actions: C7(),helpers: {wireDrag: $7,wireScroller: (e) => {@@ -81798,85 +81798,85 @@ function CRe() {}};}-function S7() {- X.catalogFilterProps && C7({});+function x7() {+ X.catalogFilterProps && S7({});}-function C7(e) {+function S7(e) {let t = L("#catalogFilter"), n = t.style.display === "none" || document.body.matches(".entity-open,.index-open");e = {...e,offscreen: n}, X.catalogFilterProps = {- ...X.catalogFilterProps || CRe(),+ ...X.catalogFilterProps || wRe(),...e- }, !X.catalogFilterMounting && (up(t) ? gp(t, e) : (!t.firstChild && !n && (t.innerHTML = qje(X.catalogViews(), X.catalogFilterProps.state, E7()), pc(t)), X.catalogFilterMounting = mp("catalog-filter", X.catalogFilterProps, {+ }, !X.catalogFilterMounting && (up(t) ? gp(t, e) : (!t.firstChild && !n && (t.innerHTML = Jje(X.catalogViews(), X.catalogFilterProps.state, T7()), pc(t)), X.catalogFilterMounting = mp("catalog-filter", X.catalogFilterProps, {container: t,isCurrent: () => !0}).then(() => gp(t, X.catalogFilterProps)).finally(() => {X.catalogFilterMounting = null;})));}-function w7() {+function C7() {return {currentHref: () => {- let e = new URL(m7(), location.origin);+ let e = new URL(p7(), location.origin);return e.searchParams.set("loc", U.loc || ""), e.searchParams.set("thumb", U.thumb || "0"), e.searchParams.set("sort", U.sort || ""), e.searchParams.set("dir", U.dir || ""), e.pathname + e.search;},- openEntity: (e, t) => g5(e, t),+ openEntity: (e, t) => h5(e, t),setView: (e) => {- U.state = e, Su(), C7({ state: e }), Q.route(m7()), j7();+ U.state = e, Su(), S7({ state: e }), Q.route(p7()), A7();},- toggleTag: (e) => N7(e),- clearFilter: (e) => x7((t) => {+ toggleTag: (e) => M7(e),+ clearFilter: (e) => b7((t) => {t[e] = "";}),- clearAll: () => x7((e) => {+ clearAll: () => b7((e) => {e.tag = "", e.creator = "", e.studio = "", e.owner = "";}),setSort: (e) => {- let t = Lj(e, U.sort, U.dir);- t && (U.sort = t.sort, U.dir = t.dir, Su(), Y7());+ let t = Ij(e, U.sort, U.dir);+ t && (U.sort = t.sort, U.dir = t.dir, Su(), J7());},- reshuffle: () => FRe(),+ reshuffle: () => IRe(),setLayout: (e) => {- n7() ? a7(e) : dRe(e);+ t7() ? i7(e) : fRe(e);},moreTops: async (e) => {let t = X.catalogTopsPages;if (!t) return [];- let n = (await qIe(X.topsQueryParams(t.context, ++t[e]).toString()))[e] || [];- return e === "performers" ? n.map(O7) : n.map(k7);+ let n = (await JIe(X.topsQueryParams(t.context, ++t[e]).toString()))[e] || [];+ return e === "performers" ? n.map(D7) : n.map(O7);}};}-function T7() {- return n7() ? {+function w7() {+ return t7() ? {name: "jav-layout",label: "JAV 卡片版式",- value: hM(),- options: uM- } : r7() ? {+ value: mM(),+ options: lM+ } : n7() ? {name: "home-layout",label: "首页卡片版式",- value: i7(),- options: uM+ value: r7(),+ options: lM} : null;}-function E7() {+function T7() {return {- sorts: a5(U.sort, U.dir),- layout: T7(),+ sorts: i5(U.sort, U.dir),+ layout: w7(),state: U.state || "",trash: U.state === "trash"};}-function D7(e) {+function E7(e) {return X.catalogTagRows.map((t) => ({...t,selected: X.tagPressed(e.tag, t.k)}));}-function O7(e) {+function D7(e) {return {name: e.k,ringHtml: `<span data-tier-initial>${z(er(nn("performer", e.k, e.id)))}</span>${go({@@ -81890,52 +81890,52 @@ function O7(e) {})}`};}-function k7(e) {+function O7(e) {return {name: e.k,fallback: $n(e.k, 2),logo: e.has_logo ? po(e.k, "icon", e.logo_version) : ""};}-function wRe(e, t) {- X.barsPendingSeq = t, X.catalogFilterProps?.tiers ? C7({+function TRe(e, t) {+ X.barsPendingSeq = t, X.catalogFilterProps?.tiers ? S7({tiersPending: !0,state: e.state || ""- }) : (X.barsRendered = "", C7({+ }) : (X.barsRendered = "", S7({tiers: null,tiersPending: !0,state: e.state || ""}));}-function A7(e) {- X.barsPendingSeq === e && (X.barsPendingSeq = 0, C7({ tiersPending: !1 }));+function k7(e) {+ X.barsPendingSeq === e && (X.barsPendingSeq = 0, S7({ tiersPending: !1 }));}-async function j7() {+async function A7() {let e = ++X.barsRequestSeq;if (f9(), !Gl(location.pathname) || Jl.type === "item") return;- let t = i5(), n = Y.activeFilterState(), r = JSON.stringify([+ let t = r5(), n = Y.activeFilterState(), r = JSON.stringify([t,n,U.state || "",U.seed || "",- n7()+ t7()]);- wRe(n, e);+ TRe(n, e);let i;try {- i = await v7(t);+ i = await _7(t);} catch (t) {- throw A7(e), t;+ throw k7(e), t;}let [a, o] = i;if (e !== X.barsRequestSeq) {- A7(e);+ k7(e);return;}let s = r + "\n" + JSON.stringify([a, o]);if (s === X.barsRendered) {- X.barsPendingSeq = 0, C7({ tiersPending: !1 }), R5.sidebarCatalog && f9({- content: R5.sidebarCatalog,+ X.barsPendingSeq = 0, S7({ tiersPending: !1 }), L5.sidebarCatalog && f9({+ content: L5.sidebarCatalog,filters: { ...n }});return;@@ -81943,49 +81943,49 @@ async function j7() {X.barsRendered = s, t.type === "home" && (e9.facets = a);let c = a.tags || [];Xa(o.performers), Xa(o.studios);- let l = t.type === "home" && !n7() && !U.state && !U.q && !a.locations.some((e) => e.n > 0);+ let l = t.type === "home" && !t7() && !U.state && !U.q && !a.locations.some((e) => e.n > 0);X.catalogTopsPages = {context: t,performers: 0,studios: 0};- let u = X.tagList(n.tag), d = new Map(c.map((e) => [e.k, e])), f = u.map((e) => d.get(e) || { k: e }), p = c.filter((e) => !u.includes(e.k)), m = S8.seededSample(p, X.TAGS_FIRST, `tags:${U.seed || ""}`), h = new Set(m.map((e) => e.k));+ let u = X.tagList(n.tag), d = new Map(c.map((e) => [e.k, e])), f = u.map((e) => d.get(e) || { k: e }), p = c.filter((e) => !u.includes(e.k)), m = x8.seededSample(p, X.TAGS_FIRST, `tags:${U.seed || ""}`), h = new Set(m.map((e) => e.k));X.catalogTagRows = f.concat(m, p.filter((e) => !h.has(e.k))).map((e) => ({k: e.k,label: Ll(e.k),n: e.n ?? null- })), X.barsPendingSeq = 0, C7({+ })), X.barsPendingSeq = 0, S7({tiers: {key: String(X.barsRequestSeq),- performers: o.performers.map(O7),- studios: o.studios.map(k7)+ performers: o.performers.map(D7),+ studios: o.studios.map(O7)},tiersPending: !1,empty: l,- tags: D7(n),+ tags: E7(n),tagFirst: f.length + m.length,views: X.catalogViews(),state: n.state || ""- }), F7(), R5.sidebarCatalog = {+ }), P7(), L5.sidebarCatalog = {kind: "catalog",- key: String(++R5.sidebarContentSeq),- facets: X7(a, t)+ key: String(++L5.sidebarContentSeq),+ facets: Y7(a, t)}, f9({- content: R5.sidebarCatalog,+ content: L5.sidebarCatalog,filters: { ...n },latest: null});}-function TRe(e, t) {- e9.total = e, U.state === "trash" && (w5.trashCount = {+function ERe(e, t) {+ e9.total = e, U.state === "trash" && (C5.trashCount = {total: e9.total,shown: t- }), Y5(), C7({ count: {+ }), J5(), S7({ count: {total: e9.total,shown: t} });}-function M7() {+function j7() {return ll({title: "清空回收站",body: "回收站中的全部文件和馆藏记录将永久删除,无法恢复。",@@ -81995,19 +81995,19 @@ function M7() {try {let e = await Tn("/api/trash/empty", { method: "POST" });if (e.blocked && e.blocked.length) throw Error(`已永久删除 ${e.purged} 项;${e.blocked.length} 项未能删除,仍在回收站:\n` + e.blocked.slice(0, 5).map((e) => `${e.path}(${e.reason})`).join("\n"));- S8.actionReceipt(`已永久删除 ${e.purged} 项`);+ x8.actionReceipt(`已永久删除 ${e.purged} 项`);} finally {- await I7();+ await F7();}}});}-function N7(e) {- x7((t) => {+function M7(e) {+ b7((t) => {t.tag = e ? X.withTagToggled(t.tag, e) : "";});}-function P7(e) {+function N7(e) {let t = [];return e.creator && t.push({kind: "clear",@@ -82031,13 +82031,13 @@ function P7(e) {label: Ll(e)})), t;}-function F7() {- C7({- combo: P7(U),+function P7() {+ S7({+ combo: N7(U),comboHidden: !X.catalogOnScreen()});}-async function I7() {+async function F7() {let e = Q.claimSurface(Q.surfacePath());if (W({barsContext: {@@ -82045,42 +82045,42 @@ async function I7() {filters: U},detailReturnBarsContext: null- }), r9(!1), U.state === "ads") return ORe(e);- X.controller.page === "/junk-files" && R7(), P5(), V5();- let t = z7(e);- if (Q8(location.pathname) && U.browse !== "folders") {- if (await N5.entityShapesReady, !Q.surfaceCurrent(e)) return;- pLe();- } else $8();- return F7(), L("#count").classList.remove("manage-static", "junkcount"), t;-}-function L7(e) {+ }), r9(!1), U.state === "ads") return kRe(e);+ X.controller.page === "/junk-files" && L7(), N5(), B5();+ let t = R7(e);+ if (Z8(location.pathname) && U.browse !== "folders") {+ if (await M5.entityShapesReady, !Q.surfaceCurrent(e)) return;+ mLe();+ } else Q8();+ return P7(), L("#count").classList.remove("manage-static", "junkcount"), t;+}+function I7(e) {X.controller.settle(e);}-function R7() {+function L7() {let e = L("#grid");Nl(e), _p(e), X.controller.clear(), e.innerHTML = "";}-function z7(e) {- return U7("/", DRe, e, { place: aze });+function R7(e) {+ return H7("/", ORe, e, { place: aze });}-function ERe(e) {- return U7("/junk-files", ARe, e);+function DRe(e) {+ return H7("/junk-files", jRe, e);}-function B7() {+function z7() {return !!lp(L("#grid"));}-function V7() {- return X.controller.taken(B7());+function B7() {+ return X.controller.taken(z7());}-function H7(e) {+function V7(e) {gp(L("#grid"), e);}-function U7(e, t, n, r = {}) {+function H7(e, t, n, r = {}) {let i = L("#grid");- X.controller.page && X.controller.page !== e && R7();- let a = X.controller.begin(e, B7()), o = t();- if (!a.mount) return H7(o), a.settled;+ X.controller.page && X.controller.page !== e && L7();+ let a = X.controller.begin(e, z7()), o = t();+ if (!a.mount) return V7(o), a.settled;Nl(i);let s = () => _p(i);return a.signal.addEventListener("abort", s, { once: !0 }), mp(e, o, {@@ -82088,39 +82088,39 @@ function U7(e, t, n, r = {}) {container: i,isCurrent: () => Q.surfaceCurrent(n) && a.isCurrent()}).catch((e) => console.error(e)).finally(() => {- a.signal.removeEventListener("abort", s), a.finish(B7());+ a.signal.removeEventListener("abort", s), a.finish(z7());}), a.settled;}-function W7() {- let e = r7();- return SM({- active: n7() || e,+function U7() {+ let e = n7();+ return xM({+ active: t7() || e,home: e,portrait: U.orient === "竖屏"});}-function G7(e = "正在读取作品") {- return HJ(e, K7());+function W7(e = "正在读取作品") {+ return VJ(e, G7());}-function K7() {- return U ? CM(W7()) : 16 / 9;+function G7() {+ return U ? SM(U7()) : 16 / 9;}-function q7() {- V7() && (Nl(L("#grid")), H7({- layout: W7(),+function K7() {+ B7() && (Nl(L("#grid")), V7({+ layout: U7(),seekSeconds: Z.appSettings.seekSeconds- })), Y.entityPageCurrent() && (Nl(L("#index [data-entity-hero]")), r5({- layout: W7(),+ })), Y.entityPageCurrent() && (Nl(L("#index [data-entity-hero]")), n5({+ layout: U7(),seekSeconds: Z.appSettings.seekSeconds}));}-function DRe() {+function ORe() {let e = decodeURIComponent(location.pathname), t = jn(e), n = U.state === "trash";return {mode: "catalog",helpers: X.gridHelpers,actions: X.gridActions,- layout: W7(),+ layout: U7(),wall: e === "/wall",restoreNavigation: dm(),selectMode: Ql,@@ -82128,30 +82128,30 @@ function DRe() {seekSeconds: Z.appSettings.seekSeconds,revision: X.controller.revision,wireDrag: $7,- settled: L7,- skeletonHtml: () => G7(),+ settled: I7,+ skeletonHtml: () => W7(),filters: { ...U },batchSize: Z.appSettings.batchSize,groupCollapse: Z.appSettings.groupCollapse,excludeVertical: t && e !== "/wall" && !U.q && !U.orient && U.browse !== "folders" || U.jav === "1",mix: t && e !== "/wall" && !n && U.browse !== "folders",- shorts: t && e !== "/wall" && !n7() && U.orient !== "竖屏" && !n && U.browse !== "folders",+ shorts: t && e !== "/wall" && !t7() && U.orient !== "竖屏" && !n && U.browse !== "folders",countRow: L("#count"),- onCount: TRe,- onCountFailed: () => C7({ count: !1 }),- emptyHtml: ({ trash: e, libraryEmpty: t }) => e ? Z.emptyState("trash", "回收站是空的", "删掉的内容会先到这里;确认不再需要后再清空。") : MK({- jav: n7() && !t,+ onCount: ERe,+ onCountFailed: () => S7({ count: !1 }),+ emptyHtml: ({ trash: e, libraryEmpty: t }) => e ? Z.emptyState("trash", "回收站是空的", "删掉的内容会先到这里;确认不再需要后再清空。") : jK({+ jav: t7() && !t,configurable: du,filtered: !t}),canLoadMore: () => L("#stats").hidden && L("#index").hidden};}-function ORe(e) {+function kRe(e) {let t = L("#count");- return X.controller.page === "/junk-files" && B7() && !X.controller.pending && t.querySelector(":scope > .peach-react:not([data-junk-count-skeleton])") || (R7(), P5("正在读取垃圾文件")), V5(), F7(), t.classList.add("manage-static", "junkcount"), t.classList.remove("is-stuck"), ERe(e);+ return X.controller.page === "/junk-files" && z7() && !X.controller.pending && t.querySelector(":scope > .peach-react:not([data-junk-count-skeleton])") || (L7(), N5("正在读取垃圾文件")), B5(), P7(), t.classList.add("manage-static", "junkcount"), t.classList.remove("is-stuck"), DRe(e);}-async function kRe(e, t) {+async function ARe(e, t) {let n = [e.id], r = t === "dispose", i = t === "reconsider-junk";try {await Tn("/api/batch", {@@ -82161,22 +82161,22 @@ async function kRe(e, t) {operation: t,...r ? { disposal_reason: "junk" } : {}})- }), await I7();+ }), await F7();let e = r ? "restore" : i ? "dismiss-junk" : "reconsider-junk";- S8.actionReceipt(r ? "已移入回收站" : i ? "已重新加入垃圾判断" : "已标记为不是垃圾", { undo: async () => {+ x8.actionReceipt(r ? "已移入回收站" : i ? "已重新加入垃圾判断" : "已标记为不是垃圾", { undo: async () => {await Tn("/api/batch", {method: "POST",body: JSON.stringify({ids: n,operation: e})- }), await I7();+ }), await F7();} });} catch (e) {- throw S8.actionFailure("操作", e), e;+ throw x8.actionFailure("操作", e), e;}}-function ARe() {+function jRe() {return {...LU(location.search),helpers: X.junkQueueHelpers,@@ -82186,16 +82186,16 @@ function ARe() {selectMode: Ql,selected: new Set(Xl),countRow: L("#count"),- settled: L7,- skeletonHtml: () => E2("正在读取垃圾文件", {+ settled: I7,+ skeletonHtml: () => T2("正在读取垃圾文件", {cards: !0,className: "catalog-skeleton postercard-skeleton"}),canLoadMore: () => L("#stats").hidden && L("#index").hidden};}-function jRe() {- X.initialParams = new URLSearchParams(location.search), X.resolveSort = (e, t, n = Z.appSettings.defaultSort) => C8(e, t, Z.appSettings, n), W(w8(RIe(location, Z.appSettings, S8.rollSeed))), X.searchValueSnapshot = {+function MRe() {+ X.initialParams = new URLSearchParams(location.search), X.resolveSort = (e, t, n = Z.appSettings.defaultSort) => S8(e, t, Z.appSettings, n), W(C8(zIe(location, Z.appSettings, x8.rollSeed))), X.searchValueSnapshot = {text: "",scrollLeft: 0}, X.cancelSearchDissolve = () => {}, X.rememberSearchValue = (e = L("#q")) => {@@ -82216,52 +82216,52 @@ function jRe() {};};}-function MRe() {- R8.handler(L("#wallBtn"), "onclick", () => {- E5(!1, !0);- let e = i5(), t = {+function NRe() {+ L8.handler(L("#wallBtn"), "onclick", () => {+ T5(!1, !0);+ let e = r5(), t = {...Y.activeFilterState(),- jav: n7() ? "1" : ""+ jav: t7() ? "1" : ""};- e.type === "entity" && e.kind !== "tag" && (t[e.kind] = e.name), Q.navigatePath(bxe(void 0, t));+ e.type === "entity" && e.kind !== "tag" && (t[e.kind] = e.name), Q.navigatePath(xxe(void 0, t));}), X.mixRelatedCache = /* @__PURE__ */ new Map(), X.reduceMotion = () => matchMedia("(prefers-reduced-motion:reduce)").matches, X.tagList = (e = U.tag) => String(e || "").split(",").filter(Boolean), X.tagPressed = (e, t) => X.tagList(e).includes(String(t)), X.withTagToggled = (e, t) => {let n = X.tagList(e), r = n.indexOf(t);return r >= 0 ? n.splice(r, 1) : n.push(t), n.join(",");}, X.gridHelpers = {badgeHtml: (e, t) => Z.srcBadge(e, t),- titleHtml: (e, t) => UI(e, t),- displayName: (e, t) => HI(e, t),+ titleHtml: (e, t) => HI(e, t),+ displayName: (e, t) => VI(e, t),tagLabel: (e) => Ll(e)}, X.gridActions = {wallPlayer: async (e, t, n) => {- let r = await r8(e9.stageHost);+ let r = await n8(e9.stageHost);return n.throwIfAborted(), r.mountWallPlayer(e, t, n);},- wallDetails: _7,- open: (e, t) => yRe(e, t),- openResource: (e, t) => i8()?.miniplayerTakesCard(e) ? i8().miniplayerPlay(e.id) : vRe(e, t),- openShort: (e) => i8()?.miniplayerTakesCard(e) ? i8().miniplayerPlay(e.id) : u9(e.id),+ wallDetails: g7,+ open: (e, t) => bRe(e, t),+ openResource: (e, t) => r8()?.miniplayerTakesCard(e) ? r8().miniplayerPlay(e.id) : yRe(e, t),+ openShort: (e) => r8()?.miniplayerTakesCard(e) ? r8().miniplayerPlay(e.id) : u9(e.id),openShorts: () => u9(),openMix: (e, t) => URe(e, e, !0, t),- openEntity: (e, t) => g5(e, t),- openUnowned: () => h7({ owner: "none" }),+ openEntity: (e, t) => h5(e, t),+ openUnowned: () => m7({ owner: "none" }),toggleTag: (e) => {- x7((t) => {+ b7((t) => {t.tag = X.tagPressed(t.tag, e) ? "" : e;});},- toggleSelection: (e, t) => D5(e, t),- watchLater: (e, t) => bRe(e, t),- rate: (e, t, n, r) => SRe(e, t, n, r),- resourceOperation: (e, t) => xRe(e, t),- mixRelated: (e) => g7(e),- canFlip: () => !Ql && !Z7() && !window.__scrolling && !X.reduceMotion()+ toggleSelection: (e, t) => E5(e, t),+ watchLater: (e, t) => xRe(e, t),+ rate: (e, t, n, r) => CRe(e, t, n, r),+ resourceOperation: (e, t) => SRe(e, t),+ mixRelated: (e) => h7(e),+ canFlip: () => !Ql && !X7() && !window.__scrolling && !X.reduceMotion()}, X.topsQueryParams = (e, t = 0) => {let n = new URLSearchParams({n: "60",seed: U.seed || ""});- return t && n.set("page", String(t)), n7() && n.set("jav", "1"), e.type === "home" && U.state && n.set("state", U.state), e.type === "home" && U.folder && (n.set("folder", U.folder), U.folder_recursive && n.set("folder_recursive", U.folder_recursive)), n;+ return t && n.set("page", String(t)), t7() && n.set("jav", "1"), e.type === "home" && U.state && n.set("state", U.state), e.type === "home" && U.folder && (n.set("folder", U.folder), U.folder_recursive && n.set("folder_recursive", U.folder_recursive)), n;}, X.facetCountsSeq = 0, X.VIEW_PILLS = [{k: "",@@ -82282,38 +82282,38 @@ function MRe() {], X.catalogViews = () => X.VIEW_PILLS.map((e) => ({...e,href: e.k ? On[e.k] : "/"- })), X.TAGS_FIRST = 26, R8.listen(L("#catalogFilter"), "click", (e) => {+ })), X.TAGS_FIRST = 26, L8.listen(L("#catalogFilter"), "click", (e) => {let t = e.target.closest?.("[data-catalog-view]");- t && !e.defaultPrevented && (e.preventDefault(), w7().setView(t.dataset.catalogView));+ t && !e.defaultPrevented && (e.preventDefault(), C7().setView(t.dataset.catalogView));}), X.catalogOnScreen = () => L("#index").hidden && L("#stats").hidden, X.COMBO_LABELS = {creator: "创作者",studio: "厂牌",owner: "归属"}, X.hideCatalogCombo = () => {- X.catalogFilterProps && C7({ comboHidden: !0 });+ X.catalogFilterProps && S7({ comboHidden: !0 });};}-function NRe() {+function PRe() {X.junkQueueHelpers = { badgeHtml: (e, t) => Z.srcBadge(e, t) }, X.junkQueueActions = {navigate: (e) => {- Ql && E5(!1, !0), Q.route(e);+ Ql && T5(!1, !0), Q.route(e);},- toggleSelection: (e, t) => D5(e, t),+ toggleSelection: (e, t) => E5(e, t),open: (e, t) => e.junk_kind === "image" ? window.open("/photo?id=" + e.id, "_blank", "noopener") : s9(e.id, !0, null, t),reveal: async (e) => {try {return await Tn("/api/reveal", {method: "POST",body: JSON.stringify({ id: e.id })- }), S8.toast({ text: "已在资源管理器中显示" }), "";+ }), x8.toast({ text: "已在资源管理器中显示" }), "";} catch (e) {return Y.sourceHint(e.message);}},- operate: (e, t) => kRe(e, t)+ operate: (e, t) => ARe(e, t)};}-X.controller = new HIe();+X.controller = new UIe();// src/application/preferences.jsvar Z = {sourceOnline: void 0,@@ -82336,8 +82336,8 @@ var Z = {emptyState: void 0,CENSOR_KEY: void 0};-async function J7() {- let e = R8;+async function q7() {+ let e = L8;try {let t = await Sr(e.signal);if (!e.isActive) return Z.sourceOnline;@@ -82347,18 +82347,18 @@ async function J7() {if (!e.isActive) return Z.sourceOnline;Z.sourceOnline = {}, Z.sourceProblems = {};}- return document.body.classList.toggle("offline-source", Object.values(Z.sourceOnline).includes(!1)), gRe(), Z.sourceOnline;+ return document.body.classList.toggle("offline-source", Object.values(Z.sourceOnline).includes(!1)), _Re(), Z.sourceOnline;}-function Y7() {+function J7() {let e = Q.surfacePath();- if (!jn(e) || e === "/junk-files") return I7();+ if (!jn(e) || e === "/junk-files") return F7();let t = Z.nextCatalogLoad();- return kp(m7(), {+ return kp(p7(), {replace: !0,state: Op.navigation.location.state}), t;}-function PRe(e) {+function FRe(e) {if (e === "local") return {kind: "glyph",name: "hard-drive"@@ -82379,7 +82379,7 @@ function PRe(e) {cost: "free"};}-function X7(e, t) {+function Y7(e, t) {let n = (e, t = (e) => e.label || Ll(e.k)) => (e || []).map((e) => ({value: String(e.k),label: t(e),@@ -82390,7 +82390,7 @@ function X7(e, t) {value: e.k,label: nr[e.k] || e.k,n: e.n ?? null,- dot: PRe(e.k),+ dot: FRe(e.k),...Z.sourceOffline(e.k) ? { offline: Z.OFFLINE_HINT } : {}})),regions: n(e.regions),@@ -82403,25 +82403,25 @@ function X7(e, t) {duration: !!e.stats?.duration};}-async function FRe(e = !1) {+async function IRe(e = !1) {if (e && (document.hidden || !jn(decodeURIComponent(location.pathname)) || e9.stageOpen() || e9.immerseOpen() || Ql || Xl.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") {- y5();+ v5();return;}let n = t === "reopen" ? e : "/stats";sm(), n === e ? Q.navigatePath(location.pathname + location.search + location.hash, !0, Op.navigation.location.state) : Q.navigatePath(n);} else if (L("#index").hidden) {- U.sort = "seed", U.dir = "", U.seed = S8.rollSeed(), Su(), O8(), C7({ refreshing: !0 });+ U.sort = "seed", U.dir = "", U.seed = x8.rollSeed(), Su(), D8(), S7({ refreshing: !0 });try {sm();- let e = Y7();- await null, await Promise.all([e, j7()]);+ let e = J7();+ await null, await Promise.all([e, A7()]);} finally {- C7({ refreshing: !1 });+ S7({ refreshing: !1 });}return e || window.scrollTo({top: 0,@@ -82429,14 +82429,14 @@ async function FRe(e = !1) {}), !0;}}-function Z7() {+function X7() {return document.body.classList.contains("censor");}-function Q7(e) {+function Z7(e) {document.body.classList.toggle("censor", e), Z.settingsStore.notify();}-function IRe(e) {- localStorage.setItem(Z.CENSOR_KEY, e ? "1" : "0"), Q7(e), e && Nl();+function Q7(e) {+ localStorage.setItem(Z.CENSOR_KEY, e ? "1" : "0"), Z7(e), e && Nl();}function LRe(e) {localStorage.setItem("peach.high-contrast", String(e)), document.documentElement.classList.toggle("board-high-contrast", e), Z.settingsStore.notify();@@ -82456,42 +82456,42 @@ function BRe() {local: "无法读取媒体目录,请检查目录是否存在及读取权限。",115: "无法读取 115 媒体目录,请检查目录权限及网盘挂载工具是否正常运行。",pikpak: "无法读取 PikPak 媒体目录,请检查目录权限及网盘挂载工具是否正常运行。"- }, Z.offlineReason = (e) => Z.sourceProblems[e] || Z.OFFLINE_REASON[e] || "无法读取这个来源的媒体目录,请检查目录权限及挂载状态。", Z.settingsStore = iM(), Z.appSettings = Z.settingsStore.value, Zt(Z.appSettings.performerNameLanguage), Z.saveSettings = () => Z.settingsStore.save(), document.documentElement.style.setProperty("--hover-delay", `${Z.appSettings.hoverDelaySeconds}s`), Zo(Z.appSettings.uiSounds), rs(), cM(), Ele(), NM(), IM(), LM(), 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 = {+ }, Z.offlineReason = (e) => Z.sourceProblems[e] || Z.OFFLINE_REASON[e] || "无法读取这个来源的媒体目录,请检查目录权限及挂载状态。", Z.settingsStore = rM(), Z.appSettings = Z.settingsStore.value, Zt(Z.appSettings.performerNameLanguage), Z.saveSettings = () => Z.settingsStore.save(), document.documentElement.style.setProperty("--hover-delay", `${Z.appSettings.hoverDelaySeconds}s`), Zo(Z.appSettings.uiSounds), rs(), sM(), Dle(), MM(), FM(), IM(), 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 = {performerNameLanguage: () => {- Zt(Z.appSettings.performerNameLanguage), N5.syncPageTitle(location.href), X.barsRendered = "", j7();+ Zt(Z.appSettings.performerNameLanguage), M5.syncPageTitle(location.href), X.barsRendered = "", A7();},- theme: () => cM(),+ theme: () => sM(),uiSounds: () => {Zo(Z.appSettings.uiSounds), Z.appSettings.uiSounds && Qo("toggle-on");},- glowFrame: () => FM(),+ glowFrame: () => PM(),glow: () => {- FM(), IM();+ PM(), FM();},batchSize: () => {- location.pathname === "/" && I7();+ location.pathname === "/" && F7();},defaultSort: () => {- U.sort = Z.appSettings.defaultSort, U.dir = Rj(U.sort, Z.appSettings.defaultSort, Z.appSettings.defaultSortDirection), Su(), location.pathname === "/" && Y7();+ U.sort = Z.appSettings.defaultSort, U.dir = Lj(U.sort, Z.appSettings.defaultSort, Z.appSettings.defaultSortDirection), Su(), location.pathname === "/" && J7();},sortDirection: () => {- U.dir = Rj(U.sort, Z.appSettings.defaultSort, Z.appSettings.defaultSortDirection), Su(), location.pathname === "/" && Y7();+ U.dir = Lj(U.sort, Z.appSettings.defaultSort, Z.appSettings.defaultSortDirection), Su(), location.pathname === "/" && J7();},hoverDelay: () => {Z.appSettings.hoverDelaySeconds || document.querySelectorAll("[data-previewing],[data-longhover]").forEach((e) => {Fl(e, "previewing", !1), Fl(e, "longhover", !1);}), document.documentElement.style.setProperty("--hover-delay", `${Z.appSettings.hoverDelaySeconds}s`);},- seekSeconds: () => q7(),- groupCollapse: () => c7(),- feedAutoScroll: () => mLe(),- feedLimit: () => e5(),- feedCompilations: () => e5(),+ seekSeconds: () => K7(),+ groupCollapse: () => s7(),+ feedAutoScroll: () => hLe(),+ feedLimit: () => $8(),+ feedCompilations: () => $8(),miniplayer: () => {- Z.appSettings.miniplayer || i8()?.closeMiniplayer();+ Z.appSettings.miniplayer || r8()?.closeMiniplayer();},javImage: () => {- ao(document, Z.appSettings.javImage), q7(), document.querySelectorAll("img[data-jav-image].cover").forEach(fl), HRe();+ ao(document, Z.appSettings.javImage), K7(), document.querySelectorAll("img[data-jav-image].cover").forEach(fl), HRe();},searchHistoryLimit: () => gp(L("#searchMenu"), { historyLimit: Z.appSettings.searchHistoryLimit })}, Z.syncGlassOptics = () => {}, Z.placeSidebarHead = () => {}, Z.SRCICON = {@@ -82503,7 +82503,7 @@ function BRe() {}, Z.emptyState = Ws;}function VRe() {- Z.CENSOR_KEY = "peach-censor", Q7(localStorage.getItem(Z.CENSOR_KEY) === "1");+ Z.CENSOR_KEY = "peach-censor", Z7(localStorage.getItem(Z.CENSOR_KEY) === "1");}// src/application/media.jsvar e9 = {@@ -82525,10 +82525,10 @@ function t9() {} : null;}function n9() {- return i8()?.exit() || Promise.resolve();+ return r8()?.exit() || Promise.resolve();}function r9(e = !1, t = !1, { miniplayer: n = !0, preserveQueueRequest: r = null } = {}) {- Q.queueOpenRequest !== r && m9(), i8()?.dispose({ miniplayer: n }), W({+ Q.queueOpenRequest !== r && m9(), r8()?.dispose({ miniplayer: n }), W({activeQueue: null,pendingQueueRoute: null,presentedItem: null@@ -82536,10 +82536,10 @@ function r9(e = !1, t = !1, { miniplayer: n = !0, preserveQueueRequest: r = nulldetailOriginAnchor: null,detailOriginAbove: !1,detailReturnNeedsRestore: !1- }), f7(), e && Q.route(nu || "/");+ }), d7(), e && Q.route(nu || "/");}function HRe() {- i8()?.repaintPoster();+ r8()?.repaintPoster();}function i9(e, t, n, r, i = null, a = {}) {t = +t;@@ -82585,8 +82585,8 @@ async function s9(e, t = !0, n = null, r = null, i = !1, a = null) {return;}Nl(), e = e == null ? null : +e;- let o = r?.isConnected ? r : ru?.isConnected ? ru : null, s = r?.isConnected ? r.getBoundingClientRect().top + r.getBoundingClientRect().height / 2 > window.innerHeight / 2 : iu, c = o9(), l = au || !t && !c, u = Jl.type === "item" ? Yl : Y.cloneBarsContext(i5());- t ? W({ detailReturnPath: location.pathname + location.search }) : i || W({ detailReturnPath: qf() || nu }), t && Wf(), i8()?.showing() !== "item" && r9(!1, !0, {+ let o = r?.isConnected ? r : ru?.isConnected ? ru : null, s = r?.isConnected ? r.getBoundingClientRect().top + r.getBoundingClientRect().height / 2 > window.innerHeight / 2 : iu, c = o9(), l = au || !t && !c, u = Jl.type === "item" ? Yl : Y.cloneBarsContext(r5());+ t ? W({ detailReturnPath: location.pathname + location.search }) : i || W({ detailReturnPath: qf() || nu }), t && Wf(), r8()?.showing() !== "item" && r9(!1, !0, {miniplayer: !1,preserveQueueRequest: a}), W({@@ -82598,7 +82598,7 @@ async function s9(e, t = !0, n = null, r = null, i = !1, a = null) {seedId: n.seedId,playlistId: n.playlistId} }), W({ pendingQueueRoute: n && i ? `${n.kind}=${n.kind === "playlist" ? n.playlistId : n.seedId}` : null }), t && !n && Q.route("/assets/" + e, !1, Jf("item"));- let d = await r8(e9.stageHost);+ let d = await n8(e9.stageHost);if (a?.cancelled) return;let f = a ? {...e9.itemDetailActions,@@ -82620,32 +82620,32 @@ async function s9(e, t = !0, n = null, r = null, i = !1, a = null) {helpers: X.gridHelpers,actions: X.gridActions},- layout: W7(),+ layout: U7(),selectMode: Ql,selected: new Set(Xl),seekSeconds: Z.appSettings.seekSeconds,resume: t || e == null ? null : t9()- }), f7();+ }), d7();}async function c9() {let e = Y.cloneBarsContext(Yl), t = nu || "/", n = au;await n9(), r9(!1, !1, { miniplayer: !1 }), W({ detailReturnBarsContext: null }), Gf(), W({ barsContext: e || {type: "home",filters: U- } }), n && Q.managedPagePath(new URL(t, location.href).pathname) ? Q.navigatePath(t) : (Q.route(t), n ? W({ pageOpens: pu + 1 }) : (j7(), location.pathname === "/playlists" && y5()));+ } }), n && Q.managedPagePath(new URL(t, location.href).pathname) ? Q.navigatePath(t) : (Q.route(t), n ? W({ pageOpens: pu + 1 }) : (A7(), location.pathname === "/playlists" && v5()));}async function l9(e, t = !0) {if (t) {W({ detailReturnPath: location.pathname + location.search }), h9("/works/" + encodeURIComponent(e), "jav", () => l9(e, !1));return;}- let n = Op.navigation.seq, r = Y.cloneBarsContext(i5()), i = !o9(), a = qf() || (i ? "/jav?tab=discover" : nu) || "/jav?tab=discover";- i8()?.showing() !== "jav" && r9(!1, !0, { miniplayer: !1 }), W({+ let n = Op.navigation.seq, r = Y.cloneBarsContext(r5()), i = !o9(), a = qf() || (i ? "/jav?tab=discover" : nu) || "/jav?tab=discover";+ r8()?.showing() !== "jav" && r9(!1, !0, { miniplayer: !1 }), W({detailReturnPath: a,detailReturnBarsContext: r,detailReturnNeedsRestore: i}), Nl();- let [o, s] = await Promise.all([r8(e9.stageHost), B("/healthz")]);+ let [o, s] = await Promise.all([n8(e9.stageHost), B("/healthz")]);Op.navigation.seq === n && (await o.open({kind: "jav",code: e,@@ -82659,23 +82659,23 @@ async function l9(e, t = !0) {state: Op.navigation.location.state});},- openTag: (e) => x7((t) => {+ openTag: (e) => b7((t) => {t.tag = e;}),- receipt: (e) => S8.toast({ text: e })+ receipt: (e) => x8.toast({ text: e })}- }), f7());+ }), d7());}async function u9(e = null, t = !0) {- t ? (e9.requestedImmerseId = e, Q.route("/immerse")) : (i8()?.closeMiniplayer(), await (await AIe(e9.immerseHost)).open(e));+ t ? (e9.requestedImmerseId = e, Q.route("/immerse")) : (r8()?.closeMiniplayer(), await (await jIe(e9.immerseHost)).open(e));}function KRe() {e9.total = 0, e9.facets = null, e9.stageHost = {player: {settings: () => Z.appSettings,saveSettings: () => Z.saveSettings(),- toast: (e, t) => S8.toast({ text: e }, t),- loadSourceStatus: () => J7(),+ toast: (e, t) => x8.toast({ text: e }, t),+ loadSourceStatus: () => q7(),offlineReason: (e) => Z.offlineReason(e)},sourceOffline: (e) => Z.sourceOffline(e),@@ -82683,24 +82683,24 @@ function KRe() {e === "follow" ? w9(t, !0, n) : s9(t, !0);},openItem: (e) => void s9(e)- }, e9.stageOpen = () => !!i8()?.isOpen();+ }, e9.stageOpen = () => !!r8()?.isOpen();}function qRe() {e9.itemDetailHelpers = {badgeHtml: (e, t, n) => Z.srcBadge(e, t, n),- titleHtml: (e) => UI(e),- displayName: (e) => HI(e),+ titleHtml: (e) => HI(e),+ displayName: (e) => VI(e),javImage: () => Z.appSettings.javImage,tagLabel: (e) => Ll(e),isDurationTag: (e) => ar.has(e),tagCandidates: () => e9.facets && e9.facets.tags || [],sourceOffline: (e) => Z.sourceOffline(e),offlineReason: (e) => Z.offlineReason(e),- relatedSkeletonHtml: () => E2("正在读取推荐", {+ relatedSkeletonHtml: () => T2("正在读取推荐", {cards: !0,className: "related-skeleton"}),- mixRelated: (e) => g7(e),+ mixRelated: (e) => h7(e),wireDrag: (e) => $7(e),wireDragReorder: (e, t) => al(e, t)}, e9.itemDetailActions = {@@ -82712,14 +82712,14 @@ function qRe() {type: "item",id: e.id,filters: t?.type === "entity" ? { ...t.filters } : Y.emptyEntityFilters()- } }), su && (Q.queueOpenRequest = null, Q.route(`/assets/${e.id}?${su}`, !1, Jf("item")), W({ pendingQueueRoute: null })), j7();+ } }), su && (Q.queueOpenRequest = null, Q.route(`/assets/${e.id}?${su}`, !1, Jf("item")), W({ pendingQueueRoute: null })), A7();},redirect: (e) => {let t = !!su;e.kind === "follow" ? (Q.queueOpenRequest = null, W({pendingQueueRoute: null,followDetailReturnPath: nu || "/"- }), Q.route(`/posts/${e.id}`, !t, Jf("follow")), w9(e.id, !1, null, !0)) : e.kind === "item" ? s9(e.id, !0) : e.kind === "playlists" ? t || location.pathname !== "/playlists" ? _9("/playlists") : y5() : r9(!1);+ }), Q.route(`/posts/${e.id}`, !t, Jf("follow")), w9(e.id, !1, null, !0)) : e.kind === "item" ? s9(e.id, !0) : e.kind === "playlists" ? t || location.pathname !== "/playlists" ? _9("/playlists") : v5() : r9(!1);},openQueueItem: (e, t, n = !0) => void i9(e.kind, e.kind === "playlist" ? e.playlistId : e.seedId, t, n, null, { autoplay: e.autoplay }),reopen: () => {@@ -82728,41 +82728,41 @@ function qRe() {let t = ou;t ? i9(t.kind, t.kind === "playlist" ? t.playlistId : t.seedId, e.id, !1) : s9(e.id, !1);},- checkSource: async (e) => (await J7())[e] !== !1,+ checkSource: async (e) => (await q7())[e] !== !1,openSavedFollow: () => {$.followAuthors = /* @__PURE__ */ new Set(), $.followProviders = /* @__PURE__ */ new Set(), $.followTags = /* @__PURE__ */ new Set(), $.followWorks = /* @__PURE__ */ new Set(), $.followMediaView = "videos", $.followDurMin = $.followDurMax = 0, $.followFilter = "saved", _9(v9());},- openEntity: (e, t) => g5(e, t),- openUnowned: () => h7({ owner: "none" }),- openRegion: (e) => h7({ region: e || "none" }),- openTag: (e) => x7((t) => {+ openEntity: (e, t) => h5(e, t),+ openUnowned: () => m7({ owner: "none" }),+ openRegion: (e) => m7({ region: e || "none" }),+ openTag: (e) => b7((t) => {t.tag = e;}),- addToPlaylist: (e) => OLe(e),- saveMix: (e) => DLe(e),+ addToPlaylist: (e) => kLe(e),+ saveMix: (e) => OLe(e),editPlaylist: () => _9("/playlists"),openPlaylists: () => _9("/playlists"),- reveal: (e) => d5(e),- sync: (e) => yLe(e),+ reveal: (e) => u5(e),+ sync: (e) => bLe(e),trashChanged: async (e, t) => {- U.state === "ads" && (t || e === "trash") && (t || (Gf(), r9(!0, !1, { miniplayer: !1 })), await I7());+ U.state === "ads" && (t || e === "trash") && (t || (Gf(), r9(!0, !1, { miniplayer: !1 })), await F7());},- toast: (e, { undo: t } = {}) => S8.actionReceipt(e, { undo: t }),- failure: (e, t) => S8.actionFailure(e, t)+ toast: (e, { undo: t } = {}) => x8.actionReceipt(e, { undo: t }),+ failure: (e, t) => x8.actionFailure(e, t)}, e9.immerseHost = {filters: () => U,seekSeconds: () => Z.appSettings.seekSeconds,sourceOffline: (e) => Z.sourceOffline(e),- displayName: (e) => HI(e),+ displayName: (e) => VI(e),route: (e) => Q.route("/immerse?id=" + e, !0),- closed: () => h7(),+ closed: () => m7(),openItem: (e) => void s9(e),- openEntity: (e, t) => g5(e, t),- openUnowned: () => h7({ owner: "none" }),- toast: (e, { undo: t } = {}) => S8.actionReceipt(e, { undo: t }),- warn: (e) => S8.toast({ text: e }, { sound: "warning" }),- failure: (e, t) => S8.actionFailure(e, t)- }, e9.immerseOpen = () => !!s8()?.isOpen(), R8.handler(L("#immerseBtn"), "onclick", () => u9());+ openEntity: (e, t) => h5(e, t),+ openUnowned: () => m7({ owner: "none" }),+ toast: (e, { undo: t } = {}) => x8.actionReceipt(e, { undo: t }),+ warn: (e) => x8.toast({ text: e }, { sound: "warning" }),+ failure: (e, t) => x8.actionFailure(e, t)+ }, e9.immerseOpen = () => !!o8()?.isOpen(), L8.handler(L("#immerseBtn"), "onclick", () => u9());}// src/application/navigation.jsvar Q = {@@ -82785,22 +82785,22 @@ var Q = {initialOverlayOpened: void 0};function d9() {- let e = p8();- e ? e.navChanged() : L("#drawerScroll")?.querySelectorAll("[data-nav]").forEach((e) => e.setAttribute("aria-pressed", String(l7(e.dataset.nav))));+ let e = f8();+ e ? e.navChanged() : L("#drawerScroll")?.querySelectorAll("[data-nav]").forEach((e) => e.setAttribute("aria-pressed", String(c7(e.dataset.nav))));}function f9(e = {}) {let t = Q.surfacePath();- t !== R5.sidebarSurface && (R5.sidebarSurface = t, R5.sidebarProps = {- ...R5.sidebarProps,+ t !== L5.sidebarSurface && (L5.sidebarSurface = t, L5.sidebarProps = {+ ...L5.sidebarProps,content: null,latest: null- }), R5.sidebarProps = {- ...R5.sidebarProps,+ }), L5.sidebarProps = {+ ...L5.sidebarProps,...e- }, p8()?.render(R5.sidebarProps);+ }, f8()?.render(L5.sidebarProps);}function p9() {- f9(), d9(), d7();+ f9(), d9(), u7();}function m9() {Q.queueOpenRequest && (Q.queueOpenRequest.cancelled = !0), Q.queueOpenRequest = null, Q.requestedQueue = null, W({ pendingQueueRoute: null });@@ -82812,7 +82812,7 @@ function h9(e, t, n) {}, Q.route(e, !1, Jf(t));}function g9() {- Q.surfaceEpoch++, X.barsRequestSeq++, N5.syncPageTitle(location.href), f9(), Gf();+ Q.surfaceEpoch++, X.barsRequestSeq++, M5.syncPageTitle(location.href), f9(), Gf();}function _9(e) {Q.route(e), W({ pageOpens: pu + 1 });@@ -82825,7 +82825,7 @@ function JRe() {let t = ep(e);return !!t && t.reload !== "reopen" && !Q.catalogPage(e) && !Bf(e) && e !== "/immerse";}, Q.openRoutePath = (e) => {- e === "/immerse" ? u9(zRe()) : e === "/follow" ? C9() : e === "/playlists" || Q.catalogPage(e) ? _9(e) : Q.managedPagePath(e) ? Q.navigatePath(e === "/subscriptions" ? KLe() : e) : (E5(!1, !0), _9(A5({+ e === "/immerse" ? u9(zRe()) : e === "/follow" ? C9() : e === "/playlists" || Q.catalogPage(e) ? _9(e) : Q.managedPagePath(e) ? Q.navigatePath(e === "/subscriptions" ? qLe() : e) : (T5(!1, !0), _9(k5({kind: e.slice(1),q: "",scope: "local",@@ -82839,16 +82839,16 @@ function YRe() {epoch: Q.surfaceEpoch,path: e,signal: Q.surfaceRequests?.signal- }), Q.surfaceCurrent = (e) => e.epoch === Q.surfaceEpoch && Q.surfacePath() === e.path, Q.claimSurface = (e) => (Q8(e) || $8(), _p(L("#stats"), L("#index")), !jn(e) && e !== "/trash" && R7(), Q.surfaceRequests?.abort(), Q.surfaceRequests = new AbortController(), Q.surfaceEpoch++, Q.surfaceToken(e)), Q.route = (e, t = !1, n) => {+ }), Q.surfaceCurrent = (e) => e.epoch === Q.surfaceEpoch && Q.surfacePath() === e.path, Q.claimSurface = (e) => (Z8(e) || Q8(), _p(L("#stats"), L("#index")), !jn(e) && e !== "/trash" && L7(), Q.surfaceRequests?.abort(), Q.surfaceRequests = new AbortController(), Q.surfaceEpoch++, Q.surfaceToken(e)), Q.route = (e, t = !1, n) => {Q.surfaceEpoch++, X.barsRequestSeq++, kp(e, {replace: t,state: n- }), N5.syncPageTitle(e), queueMicrotask(() => {- d7(), Z5(), f9();+ }), M5.syncPageTitle(e), queueMicrotask(() => {+ u7(), X5(), f9();});}, Q.navigatePath = (e, t = !1, n) => {t ? Op.replace(e, n) : Op.push(e, n), queueMicrotask(() => {- d7(), Z5();+ u7(), X5();});}, Q.requestedOverlay = null, Q.requestedQueue = null, Q.queueOpenRequest = null, Q.initialOverlayOpened = !1;}@@ -82934,7 +82934,7 @@ var $ = {};function eze(e) {let t = (e.results || []).filter((e) => !e.ok).length;- S8.toast({ text: Hi(e) }, {+ x8.toast({ text: Hi(e) }, {warn: !!t,timeout: t ? 8e3 : 6e3,sound: t ? "warning" : "success",@@ -82991,7 +82991,7 @@ async function w9(e, t = !0, n = null, r = !1) {}Nl(), e = +e;let i = !location.pathname.startsWith("/posts/");- t && i && !r && W({ followDetailReturnPath: location.pathname + location.search }), !t && !r && W({ followDetailReturnPath: qf() || "/follow" }), t && Wf(), i8()?.showing() !== "follow" && r9(!1, !1, { miniplayer: !1 }), t && Q.route(`/posts/${e}`, !1, Jf("follow")), await (await r8(e9.stageHost)).open({+ t && i && !r && W({ followDetailReturnPath: location.pathname + location.search }), !t && !r && W({ followDetailReturnPath: qf() || "/follow" }), t && Wf(), r8()?.showing() !== "follow" && r9(!1, !1, { miniplayer: !1 }), t && Q.route(`/posts/${e}`, !1, Jf("follow")), await (await n8(e9.stageHost)).open({kind: "follow",id: e,mediaIndex: n,@@ -83000,7 +83000,7 @@ async function w9(e, t = !0, n = null, r = !1) {helpers: $.followFeedHelpers,actions: $.followDetailActions,resume: t ? null : t9()- }), f7();+ }), d7();}async function ize() {await n9(), r9(!1, !1, { miniplayer: !1 }), Gf(), Q.route(lu || "/follow"), !(Y.entityPageView && Y.entityPageCurrent() && !L("#index").hidden) && (location.pathname === "/follow" && x9() ? (tze(), S9({ view: y9() })) : W({ pageOpens: pu + 1 }));@@ -83022,24 +83022,24 @@ function oze() {listSkeletonHtml: (e) => $.followContentSkeletonHtml(e),jobProgress: $Re}), $.followFeedActions = {- loaded: (e) => H5(e),+ loaded: (e) => V5(e),openDetail: (e) => w9(e),openAuthor: (e) => Q.navigatePath(Pn("creator", e)),- toggleSelection: (e, t) => PLe(e, t),+ toggleSelection: (e, t) => FLe(e, t),setImagesOnly: (e) => {- Z.appSettings.followImagesOnly = !!e, Z.saveSettings(), c5();+ Z.appSettings.followImagesOnly = !!e, Z.saveSettings(), s5();},setPhotoLayout: (e) => {- TM(e), c5();+ wM(e), s5();},- canFlip: () => !Ql && !Z7() && !window.__scrolling && !X.reduceMotion(),- toast: (e, { undo: t } = {}) => S8.actionReceipt(e, { undo: t }),- failure: (e, t) => S8.actionFailure(e, t),+ canFlip: () => !Ql && !X7() && !window.__scrolling && !X.reduceMotion(),+ toast: (e, { undo: t } = {}) => x8.actionReceipt(e, { undo: t }),+ failure: (e, t) => x8.actionFailure(e, t),checkReport: (e) => eze(e)}, $.followFeedShell = {skeleton: () => $.followSkeletonHtml("正在读取关注内容"),ground: () => {- i8()?.showing() !== "follow" && (Nl(), r9(!1), B5(), !x9() && (Q.claimSurface(Q.surfacePath()), z5({ manage: !1 }), L("#stats").querySelector(".peach-react") && _p(L("#stats")), L("#stats").replaceChildren()));+ r8()?.showing() !== "follow" && (Nl(), r9(!1), z5(), !x9() && (Q.claimSurface(Q.surfacePath()), R5({ manage: !1 }), L("#stats").querySelector(".peach-react") && _p(L("#stats")), L("#stats").replaceChildren()));}}, $.followDetailActions = ql({view: y9,@@ -83047,11 +83047,11 @@ function oze() {rememberReturn: (e) => W({ followDetailReturnPath: e }),close: () => void ize(),open: (e, t, n) => void w9(e, !0, t, n),- drawer: H5,+ drawer: V5,openAuthor: (e) => Q.navigatePath(Pn("creator", e))}, {- toast: (e, { undo: t } = {}) => S8.actionReceipt(e, { undo: t }),- failure: S8.actionFailure,+ toast: (e, { undo: t } = {}) => x8.actionReceipt(e, { undo: t }),+ failure: x8.actionFailure,canFlip: $.followFeedActions.canFlip});}@@ -83073,8 +83073,8 @@ function sze() {preferences: () => ({selectMode: Ql,selected: Zl,- photoSize: yM(),- photoLayout: bM(),+ photoSize: vM(),+ photoLayout: yM(),imagesOnly: !!Z.appSettings.followImagesOnly}),live: x9,@@ -83087,12 +83087,12 @@ function sze() {});},openPage: _9,- rollSeed: () => Number(S8.rollSeed()),+ rollSeed: () => Number(x8.rollSeed()),enterSeed: () => Math.floor(Math.random() * 4294967295),revealFeed: () => {- Nl(), B5(), z5({ manage: !1 });+ Nl(), z5(), R5({ manage: !1 });},- syncPhotoWalls: c5,+ syncPhotoWalls: s5,scrollTop: () => {pm(() => location.pathname === "/follow", L("#stats").querySelector("[data-filter-frame]"));}@@ -83100,11 +83100,11 @@ function sze() {}// src/application/lifecycle.jsfunction cze() {- QEe(), Qc(document), Ro(document.documentElement, { variant: "page" }), Ro(L("#drawerScroll")), R8.own(Yc()), Wa(document.body), X.homeHasFeed = dLe(), X.barsRequestSeq = 0, X.barsPendingSeq = 0, X.barsRendered = "", X.catalogFilterProps = null, X.catalogFilterMounting = null, X.catalogTagRows = [], X.catalogTopsPages = null, R5.sidebarProps = {+ $Ee(), Qc(document), Ro(document.documentElement, { variant: "page" }), Ro(L("#drawerScroll")), L8.own(Yc()), Wa(document.body), X.homeHasFeed = fLe(), X.barsRequestSeq = 0, X.barsPendingSeq = 0, X.barsRendered = "", X.catalogFilterProps = null, X.catalogFilterMounting = null, X.catalogTagRows = [], X.catalogTopsPages = null, L5.sidebarProps = {content: null,filters: {},latest: null- }, R5.sidebarSurface = "", R5.sidebarCatalog = null, R5.sidebarContentSeq = 0, $.followFilter = "", $.followAuthors = /* @__PURE__ */ new Set(), $.followProviders = /* @__PURE__ */ new Set(), $.followTags = /* @__PURE__ */ new Set(), $.followWorks = /* @__PURE__ */ new Set(), $.followMediaView = "videos", $.FOLLOW_FEED_SORTS = [+ }, L5.sidebarSurface = "", L5.sidebarCatalog = null, L5.sidebarContentSeq = 0, $.followFilter = "", $.followAuthors = /* @__PURE__ */ new Set(), $.followProviders = /* @__PURE__ */ new Set(), $.followTags = /* @__PURE__ */ new Set(), $.followWorks = /* @__PURE__ */ new Set(), $.followMediaView = "videos", $.FOLLOW_FEED_SORTS = [["new", "更新时间"],["hot", "热度"],["dur", "时长"]@@ -83116,7 +83116,7 @@ async function lze() {}function uze() {let e = new URL(location.href), t = e.searchParams.get("onboarding") === "1";- W({ cameFromSetup: t }), R8.handler(document.getElementById("tutorialBtn"), "onclick", () => SU()), SU({ invitation: !0 }), t && e.searchParams.delete("onboarding");+ W({ cameFromSetup: t }), L8.handler(document.getElementById("tutorialBtn"), "onclick", () => SU()), SU({ invitation: !0 }), t && e.searchParams.delete("onboarding");let n = e.searchParams.get("agentation");try {localStorage.removeItem("peach.agentation");@@ -83236,9 +83236,9 @@ async function pze(e) {let i = ha(r);for (let a of ["videos", "images"]) {if (a === "images" ? !i.has("image") : i.size && !i.has("video")) continue;- let o = ga(r, a), s = n.sources.find((e) => e.id === o.source_id), c = SG(o, s?.author_key ? n.sources.filter((e) => e.author_key === s.author_key) : s ? [s] : [], n), l = a === "images" ? o.media_items?.find((e) => e.media_kind === "image") : void 0;+ let o = ga(r, a), s = n.sources.find((e) => e.id === o.source_id), c = xG(o, s?.author_key ? n.sources.filter((e) => e.author_key === s.author_key) : s ? [s] : [], n), l = a === "images" ? o.media_items?.find((e) => e.media_kind === "image") : void 0;(a === "images" ? t : e).push({- value: vG(o),+ value: _G(o),id: o.id,who: c.author,whoAvatarHtml: c.avatar,@@ -83260,8 +83260,8 @@ async function pze(e) {}, `/works/${encodeURIComponent(e.code)}`)) : null, a.author = t.authors ? (t.authors.items || []).map((e) => ({value: e.k,href: e.entity_id ? `/creators/${e.entity_id}` : `/follow?author=${encodeURIComponent(e.key)}`,- avatarHtml: I8(e),- subtitle: e.latest ? `最新更新于 ${OG({ published_at: e.latest })}` : "更新时间未取得"+ avatarHtml: F8(e),+ subtitle: e.latest ? `最新更新于 ${DG({ published_at: e.latest })}` : "更新时间未取得"})) : null, {groups: T9.map((e) => {let t = a[e.kind] ?? [];@@ -83325,12 +83325,12 @@ function A9(e) {easing: "linear",fill: "both"});- D9.searchMorph = h, R8.handler(h, "onfinish", () => {+ D9.searchMorph = h, L8.handler(h, "onfinish", () => {D9.searchMorph === h && k9();});}function gze() {- return e9.immerseOpen() ? s8().activeVideo() : i8()?.activeVideo() || null;+ return e9.immerseOpen() ? o8().activeVideo() : r8()?.activeVideo() || null;}function _ze(e) {return !!e && (e.tagName === "INPUT" || e.tagName === "TEXTAREA" || e.isContentEditable);@@ -83338,20 +83338,20 @@ function _ze(e) {function vze() {D9.searchControl = null, D9.searchActions = {search: (e) => {- X.rememberSearchValue(), r9(!1), U.q = e, Su(), Q.route(U.jav === "1" ? m7() : U.q ? "/?q=" + encodeURIComponent(U.q) : "/", !0);+ X.rememberSearchValue(), r9(!1), U.q = e, Su(), Q.route(U.jav === "1" ? p7() : U.q ? "/?q=" + encodeURIComponent(U.q) : "/", !0);},openItem: (e) => s9(e),- openEntity: (e, t) => g5(e, t),+ openEntity: (e, t) => h5(e, t),openPath: (e) => Q.route(e, !1),openFollow: (e, t, n) => {$.followMediaView = t, w9(e, !0, n);}}, D9.searchHelpers = {- pool: () => Cxe(U, Tn),+ pool: () => wxe(U, Tn),recommendations: () => pze(Tn),pendingRecommendations: dze,rollPlaceholder: (e, t) => Qs(e, t),- coverHtml: (e) => `<span class="pic">${e?.thumb_url ? `<img src="${z(e.thumb_url)}" width="640" height="360" alt="" loading="lazy" referrerpolicy="no-referrer" data-drop="self">` : e?.sourceWork ? G8(e) : hze(e)}</span>`,+ coverHtml: (e) => `<span class="pic">${e?.thumb_url ? `<img src="${z(e.thumb_url)}" width="640" height="360" alt="" loading="lazy" referrerpolicy="no-referrer" data-drop="self">` : e?.sourceWork ? W8(e) : hze(e)}</span>`,present: (e) => cs(e),dismiss: (e) => ls(e),wireScroller: (e) => Ac(e),@@ -83377,30 +83377,30 @@ function vze() {}, {container: L("#searchMenu"),isCurrent: () => !0- }), R8.listen(L("#q"), "beforeinput", (e) => {+ }), L8.listen(L("#q"), "beforeinput", (e) => {e.isComposing || X.rememberSearchValue(e.currentTarget);- }), R8.listen(L("#q"), "scroll", (e) => {+ }), L8.listen(L("#q"), "scroll", (e) => {e.currentTarget.value && X.rememberSearchValue(e.currentTarget);- }), R8.listen(L("#q"), "pointerdown", (e) => {+ }), L8.listen(L("#q"), "pointerdown", (e) => {e.currentTarget.value && X.rememberSearchValue(e.currentTarget);});}function yze() {- D9.searchMorph = null, D9.searchMorphViewport = innerWidth, R8.listen.bind(R8, window)("resize", () => {+ D9.searchMorph = null, D9.searchMorphViewport = innerWidth, L8.listen.bind(L8, window)("resize", () => {innerWidth !== D9.searchMorphViewport && (D9.searchMorphViewport = innerWidth, k9());- }, { passive: !0 }), R8.listen(matchMedia("(prefers-reduced-motion:reduce)"), "change", k9), R8.handler(L("#searchBtn"), "onclick", () => {+ }, { passive: !0 }), L8.listen(matchMedia("(prefers-reduced-motion:reduce)"), "change", k9), L8.handler(L("#searchBtn"), "onclick", () => {A9(!0), L("#q").focus({ preventScroll: !0 });- }), R8.handler(L("#searchBack"), "onclick", () => {+ }), L8.handler(L("#searchBack"), "onclick", () => {A9(!1), O9(), L("#q").blur(), L("#searchBtn").focus({ preventScroll: !0 });});let e = (e) => {e.target.closest(".search") || (e.type !== "focusin" || e.target !== document.body && e.target !== document.documentElement) && (L("#q").value || A9(!1), O9());};- R8.listen(document, "pointerdown", e, !0), R8.listen(document, "focusin", e), R8.handler(L("#brandHome"), "onclick", (e) => {- e.preventDefault(), h7();- }), R8.listen(document, "keydown", (e) => {+ L8.listen(document, "pointerdown", e, !0), L8.listen(document, "focusin", e), L8.handler(L("#brandHome"), "onclick", (e) => {+ e.preventDefault(), m7();+ }), L8.listen(document, "keydown", (e) => {if (e.key === "Escape") {- let t = u8();+ let t = l8();if (t?.isOpen()) {t.close();return;@@ -83410,24 +83410,28 @@ function yze() {return;}if (e9.immerseOpen()) {- s8().close();+ o8().close();return;}if (e9.stageOpen()) {- e.defaultPrevented || (e.preventDefault(), i8().requestEscape());+ e.defaultPrevented || (e.preventDefault(), r8().requestEscape());return;}if (L("#drawer").classList.contains("open")) {- G5(!1);+ W5(!1);return;}if (Ql || Xl.size || Zl.size) {- E5(!1, !0);+ T5(!1, !0);return;}return;}if (_ze(e.target) || e.ctrlKey || e.metaKey || e.altKey) return;+ if (e.shiftKey && (e.key === "S" || e.key === "s")) {+ e.preventDefault(), Q7(!X7());+ 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) {@@ -83438,27 +83442,27 @@ function yze() {let t = gze();if (t) {if (e.key === "t" || e.key === "T") {- e.preventDefault(), i8()?.toggleTheater();+ e.preventDefault(), r8()?.toggleTheater();return;}if (e.key === "ArrowLeft" || e.key === "ArrowRight") {- e.preventDefault(), sP(t, Z.appSettings.seekSeconds * (e.key === "ArrowRight" ? 1 : -1));+ e.preventDefault(), oP(t, Z.appSettings.seekSeconds * (e.key === "ArrowRight" ? 1 : -1));return;}if (e.key === " " || e.key === "k" || e.key === "K") {- e.preventDefault(), oP(t);+ e.preventDefault(), aP(t);return;}if (e.key === "m" || e.key === "M") {- e.preventDefault(), xN(t, ".vjs-mute-control");+ e.preventDefault(), bN(t, ".vjs-mute-control");return;}if (e.key === "f" || e.key === "F") {- e.preventDefault(), xN(t, ".vjs-fullscreen-control");+ e.preventDefault(), bN(t, ".vjs-fullscreen-control");return;}if (e.key === "i" || e.key === "I") {- e.preventDefault(), i8()?.toggleMiniplayer();+ e.preventDefault(), r8()?.toggleMiniplayer();return;}}@@ -83489,22 +83493,22 @@ var j9 = {routing: void 0};function xze() {- let e = R8, t = (e) => {+ let e = L8, t = (e) => {e.kind === "item" ? s9(e.id, !1) : e.kind === "jav" ? l9(e.code, !1) : e.kind === "follow" ? w9(e.id, !1) : i9(e.queue, e.key, e.item, !1);};- if (uLe(), N5.entityShapesReady = K8(), QLe(), location.pathname === "/") {+ if (dLe(), M5.entityShapesReady = G8(), $Le(), location.pathname === "/") {let e = new URLSearchParams(location.search);- !e.has("state") && e.get("jav") !== "1" && (L("#catalogPageHeading").hidden = !1, Q5(L("#catalogPageHeading"), e.get("q")));+ !e.has("state") && e.get("jav") !== "1" && (L("#catalogPageHeading").hidden = !1, Z5(L("#catalogPageHeading"), e.get("q")));}- Q8(decodeURIComponent(location.pathname)) && Y8(L("#feedNew")), oRe(), j9.shellActions = {- openSettings: (e) => q5(e, !0),- closeSettings: () => u8()?.close(!1),+ Z8(decodeURIComponent(location.pathname)) && J8(L("#feedNew")), sRe(), j9.shellActions = {+ openSettings: (e) => K5(e, !0),+ closeSettings: () => l8()?.close(!1),openItem: (e) => void s9(e),- openEntity: (e, t) => void g5(e, t),+ openEntity: (e, t) => void h5(e, t),openTag: (e) => {- nRe(), N7(e);+ rRe(), M7(e);},- openTasteSignal: ELe,+ openTasteSignal: DLe,navigate: (e) => {let n = new URL(e, location.href), r = zf(n.pathname, n.search);if (r) {@@ -83516,37 +83520,37 @@ function xze() {Np(n.hash, () => Op.navigation.seq === t);} else Q.navigatePath(e);},- openManage: t7,+ openManage: e7,managePath: (e) => Q.routePathOf("section", e) || "",openFollow: () => C9(),- receipt: (e, t) => S8.actionReceipt(e, t),- toast: (e, t) => S8.toast(e, t),- failure: S8.actionFailure,- revealSource: d5,+ receipt: (e, t) => x8.actionReceipt(e, t),+ toast: (e, t) => x8.toast(e, t),+ failure: x8.actionFailure,+ revealSource: u5,reopenTutorial: lze,- routeReview: kLe,- routeFollowManage: GLe,+ routeReview: ALe,+ routeFollowManage: KLe,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(A5(e), t),+ routeIndex: (e, { replace: t = !1 } = {}) => Q.route(k5(e), t),savePeopleLayout: ({ layout: e }) => {Z.appSettings.peopleLayout = e, Z.saveSettings();},- exitSelectMode: () => E5(!1, !1),- personAvatar: (e, t, n) => k5.personAvatar(e, t, n),- authorAvatar: (e) => qLe(e),- showIndexTags: JLe,- openFollowAuthor: M5,- openFollowTag: YLe,+ exitSelectMode: () => T5(!1, !1),+ personAvatar: (e, t, n) => O5.personAvatar(e, t, n),+ authorAvatar: (e) => JLe(e),+ showIndexTags: YLe,+ openFollowAuthor: j5,+ openFollowTag: XLe,openPlaylist: (e, t) => void a9(e, t, !0),- canFlip: () => !Ql && !Z7() && !window.__scrolling && !X.reduceMotion(),+ canFlip: () => !Ql && !X7() && !window.__scrolling && !X.reduceMotion(),surfaceChanged: (e, t) => {e === "entity" ? (Nl(), W({ barsContext: {type: "home",filters: U- } }), V5(), document.body.classList.add("entity-open"), S7(), j5()) : e === "index" ? (Nl(), document.body.classList.remove("entity-open"), Q.claimSurface(t), V5(), document.body.classList.add("index-open"), S7(), j5()) : (Nl(), Q.claimSurface(t), e === "catalog" ? V5() : (B5(), z5({ manage: e === "management" })));+ } }), B5(), document.body.classList.add("entity-open"), x7(), A5()) : e === "index" ? (Nl(), document.body.classList.remove("entity-open"), Q.claimSurface(t), B5(), document.body.classList.add("index-open"), x7(), A5()) : (Nl(), Q.claimSurface(t), e === "catalog" ? B5() : (z5(), R5({ manage: e === "management" })));},clearSearch: () => X.clearSearchField(),openImmerse: (e) => {@@ -83570,46 +83574,46 @@ function xze() {},configurable: () => !!du,surfaceShown: (e) => {- e === "index" ? (p9(), f7()) : j7();+ e === "index" ? (p9(), d7()) : A7();},entity: {missing: (e) => {- j9.shellActions.surfaceChanged("entity", location.pathname), h5(e);+ j9.shellActions.surfaceChanged("entity", location.pathname), m5(e);},loading: (e, t, n) => Y.application.loading(e, t, n),props: (e, t, n) => Y.application.addressProps(e, t, n),refresh: (e, t, n) => {let r = Y.parseEntityFilters(n);e === "creator" && (r.creator = "");- let i = i5();- return i.type !== "entity" || i.kind !== e || i.name !== t || !o5(e, t, r, Y.parseMediaView(n), { push: !1 }) ? !1 : (y7(r), b7(i5()), !0);+ let i = r5();+ return i.type !== "entity" || i.kind !== e || i.name !== t || !a5(e, t, r, Y.parseMediaView(n), { push: !1 }) ? !1 : (v7(r), y7(r5()), !0);}},follow: $.followFeedShell,catalog: {- defaultLoc: () => p7("local,115"),- open: (e, { entering: t = !1, retitle: n = !1 } = {}) => (n && (g9(), d7(), Z5()), t && O8(), e === "/trash" ? X.clearSearchField() : (L("#q").value = U.q, X.rememberSearchValue()), p9(), j7(), Z.handOff(I7())),- load: () => Z.handOff(I7()),+ defaultLoc: () => f7("local,115"),+ open: (e, { entering: t = !1, retitle: n = !1 } = {}) => (n && (g9(), u7(), X5()), t && D8(), e === "/trash" ? X.clearSearchField() : (L("#q").value = U.q, X.rememberSearchValue()), p9(), A7(), Z.handOff(F7())),+ load: () => Z.handOff(F7()),fill: () => {- if (V7() || !Ap() && !L("#grid").querySelector(".catalog-skeleton")) return;+ if (B7() || !Ap() && !L("#grid").querySelector(".catalog-skeleton")) return;let e = L("#count");- e.removeAttribute("aria-busy"), e.removeAttribute("aria-label"), z7(Q.surfaceToken(Q.surfacePath()));+ e.removeAttribute("aria-busy"), e.removeAttribute("aria-label"), R7(Q.surfaceToken(Q.surfacePath()));},release: () => {- R7(), $8();+ L7(), Q8();}}}, j9.routing = !1, e.listen(document, "click", (e) => {let t = bze(e);t && (e.preventDefault(), j9.shellActions.navigate(t));- }), R8.own(Op.listen((e) => {+ }), L8.own(Op.listen((e) => {Q.queueOpenRequest && e.seq !== Q.queueOpenRequest.seq && !Bf(e.location.pathname) && r9(!1), j9.routing && !e.claimed && g9();- })), OIe(j9.shellActions).catch((e) => console.error("客户端导航装载失败", e)), lRe(), zLe(), Y5(), Promise.all([- J7(),- sRe(),- N5.entityShapesReady+ })), kIe(j9.shellActions).catch((e) => console.error("客户端导航装载失败", e)), uRe(), BLe(), J5(), Promise.all([+ q7(),+ cRe(),+ M5.entityShapesReady]).then(() => {- e.isActive && (N5.wantsDiscoveryBars() && j7().catch((e) => console.error("首页横条装载失败", e)), p9(), RRe(), j9.routing = !0, W({ pageOpens: 1 }), g9(), f7());+ e.isActive && (M5.wantsDiscoveryBars() && A7().catch((e) => console.error("首页横条装载失败", e)), p9(), RRe(), j9.routing = !0, W({ pageOpens: 1 }), g9(), d7());}).catch((t) => {e.isActive && console.error("应用启动失败", t);});@@ -83640,7 +83644,7 @@ async function Sze(e, t) {// src/application/chrome.jsfunction Cze() {(() => {- let e = R8, t = [+ let e = L8, t = ["#brandHome","#filterBtn","#settingsBtn"@@ -83700,7 +83704,7 @@ function Cze() {e.key === "Escape" && (e.stopPropagation(), u.setOpen(!1), c.focus());}), Tn("/api/libraries", { signal: e.signal }).then((t) => {if (!e.isActive) return;- QG(t.libraries);+ ZG(t.libraries);let n = [["","全部媒体库",@@ -83721,7 +83725,7 @@ function Cze() {s.className = "mark", s.setAttribute("aria-hidden", "true"), s.innerHTML = o(n.find((e) => e[0] === i)?.[2] || "database"), c.querySelector(".mark").replaceWith(s), 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">${o(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), sessionStorage.setItem("peach.library-label", n.find((e) => e[0] === t.dataset.library)?.[1] || "全部媒体库"), location.assign("/");})), e.handler(l.querySelector("[data-library-manage]"), "onclick", () => {- u.setOpen(!1), G5(!1), b5("媒体库与入库");+ u.setOpen(!1), W5(!1), y5("媒体库与入库");});let d = l.querySelector(".board-library-rows");e.listen(d, "pointerover", (e) => {@@ -83739,17 +83743,17 @@ function Cze() {let g = document.createElement("div");g.className = "board-sidebar-foot", e.own(() => g.remove()), g.innerHTML = `<div class="board-theme-toggle" role="group" aria-label="明暗主题"><span class="board-theme-thumb" aria-hidden="true"></span><button type="button" data-board-theme="light" aria-label="浅色主题">${R("sun")}</button><button type="button" data-board-theme="dark" aria-label="深色主题">${R("moon")}</button></div>`, g.insertAdjacentHTML("beforeend", "<div class=\"board-foot-actions\"><button type=\"button\" class=\"board-glow-toggle\" id=\"boardGlowBtn\" aria-label=\"光晕配色\" aria-haspopup=\"dialog\" aria-expanded=\"false\" aria-controls=\"boardGlowMenu\"><svg viewBox=\"0 0 24 24\" aria-hidden=\"true\"><use href=\"#ri-palette-line\"/></svg><span class=\"board-glow-mark\" aria-hidden=\"true\"><span class=\"board-glow-mark-glow\"></span><span class=\"board-glow-mark-accent\"></span></span></button></div>"), g.querySelector(".board-foot-actions").append(document.querySelector("#settingsBtn")), document.querySelector("#drawer").append(g), g.querySelectorAll("[data-board-theme]").forEach((t) => e.handler(t, "onclick", () => {t.getAttribute("aria-pressed") !== "true" && Sze(t, () => {- Z.appSettings.theme = t.dataset.boardTheme, Z.saveSettings(), cM();+ Z.appSettings.theme = t.dataset.boardTheme, Z.saveSettings(), sM();});- })), cM();+ })), sM();let _ = document.createElement("div");_.className = "popmenu board-glow-menu", _.id = "boardGlowMenu", _.hidden = !0, _.setAttribute("popover", "manual"), _.setAttribute("role", "dialog"), _.setAttribute("aria-label", "配色"), document.body.append(_), e.own(() => _.remove());let v = g.querySelector("#boardGlowBtn"), y = fs(g, v, _);- e.own(y.dispose), e.own(Rle(v)), FIe({+ e.own(y.dispose), e.own(zle(v)), IIe({root: _,store: Z.settingsStore,openDetails: () => {- e.isActive && (y.setOpen(!1), G5(!1), q5("外观与导航").then((t) => {+ e.isActive && (y.setOpen(!1), W5(!1), K5("外观与导航").then((t) => {e.isActive && t.reveal("#homeGlowControls");}));}@@ -83761,17 +83765,17 @@ function Cze() {let t = document.querySelector("#drawerScroll > [data-sidebar-head]"), n = document.querySelector("#drawer");if (!t) return;c.setAttribute("aria-label", "选择媒体库"), c.parentElement !== t && t.prepend(c);- let r = n.classList.contains("open"), i = !W5();+ let r = n.classList.contains("open"), i = !U5();i || r ? m.parentElement !== t && t.append(m) : m.parentElement !== h.parentElement && h.after(m), n.inert = !i && !r;}- Z.placeSidebarHead = b, b(), e.listen(document, "board:sidebar", b), e.listen.bind(R8, window)("resize", b);+ Z.placeSidebarHead = b, b(), e.listen(document, "board:sidebar", b), e.listen.bind(L8, window)("resize", b);let x = !1;function S() {x = !1, document.body.classList.toggle("board-scrolled", scrollY > 8);}- if (e.listen.bind(R8, window)("scroll", () => {+ if (e.listen.bind(L8, window)("scroll", () => {x || (x = !0, e.frame(S));- }, { passive: !0 }), e.listen.bind(R8, window)("resize", S), S(), /Chrome|Chromium|Edg\//.test(navigator.userAgent)) {+ }, { passive: !0 }), e.listen.bind(L8, window)("resize", S), S(), /Chrome|Chromium|Edg\//.test(navigator.userAgent)) {let t = "http://www.w3.org/2000/svg", n = document.createElementNS(t, "svg");n.setAttribute("width", "0"), n.setAttribute("height", "0"), n.setAttribute("aria-hidden", "true"), n.style.position = "fixed", n.style.pointerEvents = "none";let r = document.createElementNS(t, "defs");@@ -83885,11 +83889,11 @@ function Cze() {subtree: !0}), y();}- })(), G5(!W5() && sessionStorage.getItem("board.sidebar") !== "closed");+ })(), W5(!U5() && sessionStorage.getItem("board.sidebar") !== "closed");}// src/application/initialize.jsfunction wze() {- cze(), JRe(), $Le(), YRe(), BRe(), IIe(), jRe(), uze(), CLe(), KRe(), BLe(), MRe(), gLe(), ALe(), oze(), XLe(), wLe(), sze(), ZLe(), TLe(), hRe(), NRe(), vze(), qRe(), yze(), VRe(), xze(), Cze(), R8.own(R7), R8.own(m9);+ cze(), JRe(), eRe(), YRe(), BRe(), LIe(), MRe(), uze(), wLe(), KRe(), VLe(), NRe(), _Le(), jLe(), oze(), ZLe(), TLe(), sze(), QLe(), ELe(), gRe(), PRe(), vze(), qRe(), yze(), VRe(), xze(), Cze(), L8.own(L7), L8.own(m9);}// src/ui-kit/middle-truncate.tsvar Tze = "…", N9 = typeof Intl.Segmenter == "function" ? new Intl.Segmenter(void 0, { granularity: "grapheme" }) : null, P9 = /* @__PURE__ */ new WeakMap(), F9 = /* @__PURE__ */ new Set(), I9 = 0, L9 = /* @__PURE__ */ new WeakSet(), R9 = null, z9 = null, B9 = (e) => N9 ? [...N9.segment(String(e ?? ""))].map((e) => e.segment) : Array.from(String(e ?? "")), V9 = (e, t) => {@@ -84143,9 +84147,9 @@ function Wze() {}function Gze() {let e = Ft({- queryKey: GI,- queryFn: ({ signal: e }) => qI(e),- refetchInterval: (e) => KI(e.state.data)+ queryKey: WI,+ queryFn: ({ signal: e }) => KI(e),+ refetchInterval: (e) => GI(e.state.data)}), t = (0, F.useRef)(void 0), [n] = (0, F.useState)(Wze), r = e.data?.result_versions;return (0, F.useEffect)(() => {r && (t.current && n(t.current, r), t.current = r);@@ -84158,20 +84162,20 @@ function Z9(e) {}function Kze() {if (!X9) {- let e = QIe();+ let e = $Ie();X9 = {effects: e,owners: 0}, e.own(Hze(document)), e.own(() => {Nl(), H.cancelQueries();- }), e.own(kIe), e.own(vp), e.own(os);+ }), e.own(AIe), e.own(vp), e.own(os);}return X9.owners += 1, X9.effects.resume(), X9;}function qze() {let [e, t] = (0, F.useState)(null);return (0, F.useLayoutEffect)(() => {- let e = X9 === null, n = Kze(), r = DIe(t);+ let e = X9 === null, n = Kze(), r = OIe(t);if (e) try {wze();} catch (e) {@@ -84180,7 +84184,7 @@ function qze() {return () => {r(), --n.owners, !n.owners && (n.effects.pause(), queueMicrotask(() => Z9(n)));};- }, []), /* @__PURE__ */ (0, I.jsx)(tbe, {+ }, []), /* @__PURE__ */ (0, I.jsx)(nbe, {actions: e,processing: !0,background: e ? /* @__PURE__ */ (0, I.jsx)(Gze, {}) : null@@ -84190,7 +84194,7 @@ var Q9 = /* @__PURE__ */ new WeakMap();function Jze(e) {let t = Q9.get(e);if (t) return t;- let n = (0, zt.createRoot)(e, nbe);+ let n = (0, zt.createRoot)(e, rbe);Q9.set(e, n);let r = n.unmount.bind(n);return n.unmount = () => {@@ -84202,6 +84206,6 @@ O();var $9 = document.getElementById("appRoot");if (!$9) throw Error("主界面宿主缺失");Jze($9);-export { VL as $2ec61d1d4f780267$export$a8a3e93435678ff9, YL as $3a442827418ebe87$export$eb2fcfdbd7ba97d4, fz as $542a13ca2fa5b484$export$5b6b19405a83ff9d, wD as $72abaeab4d80592f$export$78efe591171d7d45, iB as $76d00c5a4edb230a$export$76ccd210b9029917, tB as $76d00c5a4edb230a$export$816b5d811295e6bc, sB as $76d00c5a4edb230a$export$b59bdbef9ce70de2, lB as $76d00c5a4edb230a$export$f6f0c3fe4ec306ea, eB as $76d00c5a4edb230a$export$f850895b287ef28e, Ahe as $b4f18e3395fe64d7$export$3d96ec278d3efce4, khe as $b4f18e3395fe64d7$export$3e41faf802a29e71, Ehe as $b4f18e3395fe64d7$export$b2539bed5023c21c, pB as $b4f18e3395fe64d7$export$e51a686c67fdaa2d, Nhe as $bd263d78e9bf3c56$export$f5c9f3c2c4054eec, dE as $ea3928288112382f$export$439d29a4e110a164, Tz as $f2ff30fde7b014be$export$3ddf2d174ce01153, Mz as $fe21c36db05242bb$export$a98f0dcb43a68a25, Nz as $fe21c36db05242bb$export$d7b12c4107be0d61, fge as $l, Kj as ACCENTS, pAe as AMANE_BRIDGE_CHECK_URL, R$ as AMANE_BRIDGE_KEY, mAe as AMANE_BRIDGE_REBUILD_URL, sr as ApiError, qU as ArtSlot, g2 as BATCH_DELETE_TEXT, J as Button, yL as ButtonLink, GB as Bx, p$ as CLEANUP_ENTRY, f$ as CLEANUP_ENTRY_GRID, Zf as CLEANUP_HASH_REDIRECTS, Yf as CLEANUP_TOOLS, vn as CLOUD_LOCATIONS, U1 as CLOUD_PROXY_HELP, Kr as COLUMN_SORT, t1 as CONFIGURATION_KEY, qY as CONFIGURATION_URL, hAe as COOKIE_TEXT_LIMIT, L$ as COVER_JOB_KEY, Yi as CREDENTIAL_STATE, N$ as CUSTOM_SOURCES_KEY, M$ as CUSTOM_SOURCES_URL, dG as CatalogViewToggle, zV as Checkbox, RV as CheckboxGlyph, kV as ChevronSortDown, KU as Chip, nW as CloudDownloadDialog, NH as CollapseChevron, MH as CollapseRegion, o$ as CollectionSummary, Kwe as DEFAULT_CATEGORY, dr as DEFAULT_SORT, MQ as DIAGNOSTICS_KEY, GTe as DIRECTORY_TEMPLATE_ERROR, lW as DISCOVERY_SORTS, YU as DOWNLOADS_KEY, JU as DOWNLOADS_URL, pY as DUPLICATES_KEY, qJ as DataTableFooter, UJ as DataTableFrame, KJ as DataTableSort, zH as Disclosure, oye as DownloadsPanel, rge as E3, qwe as ENTITY_REVIEW_KINDS, V1 as ENTRY_LINKS_HELP, H1 as ENTRY_LINKS_HINT, LB as Ea, Lge as EmptyFocusButton, dV as EmptyState, LH as ErrorText, $_e as ExternalLink, Vr as FEEDS_KEY, tX as FEED_SCHEDULE_KEY, u$ as FIELDSET_FOOT, NFe as FLOW_LABEL_X, X3 as FLOW_VIEWBOX, zr as FOLLOW_CHECK_KEY, Rr as FOLLOW_CREDENTIALS_KEY, N8 as FOLLOW_INITIAL_RANGE_OPTIONS, Lr as FOLLOW_MANAGE_KEY, FZ as FOLLOW_MANAGE_NAV, Br as FOLLOW_RESOLVE_KEY, eX as FOLLOW_SCHEDULE_KEY, nve as Fact, tve as FactList, RH as FieldLabel, C$ as Fieldset, S$ as FieldsetTitle, Dpe as FilterGlass, fL as FilterGlassRows, dL as FilterIconButton, pL as FilterPill, Q_e as Footer, HB as Gg, mL as GlassPill, YB as HN, IH as Help, nV as HintText, TFe as IDLE_POLL_MS, Fwe as IDLE_REPAIR, sL as IconButton, PQ as IndexSearch, sV as Input, oV as InputBase, T$ as IssueRow, uM as JAV_LAYOUTS, F0 as JAV_RECOMMENDATION_GRID, EX as JUNK_KEY, vW as JavHeader, kwe as KEEP_LABELS, Ur as LAYOUTS, B1 as LIBRARY_FOLDER_HELP, QV as LIBRARY_PROCESSING_KEY, zY as LINKS_KEY, BY as LINK_CHECK_KEY, _Te as LINK_KINDS, VY as LINK_PRUNE_KEY, nr as LOC, tV as Label, O$ as LibraryProcessingCard, OV as LibraryShortcuts, mH as LinkButton, mge as Lo, DH as LoadingDots, ige as M6, STe as MEDIA_PROCESSING_KEY, rX as MEDIA_PROCESSING_URL, vY as MEDIA_REPAIR_KEY, _Y as MEDIA_REPAIR_URL, yr as MEDIA_SOURCES_KEY, _s as MEDIA_SOURCE_ICONS, gn as MEDIA_SOURCE_OPTIONS, NV as MENU_ITEM, PV as MENU_ITEM_INTERACTIVE, MV as MENU_POPOVER_SURFACE, gge as Ma, vH as MenuDialog, xK as MixCard, cV as ModalFrame, xx as MotionConfigContext, $B as NR, w$ as NameLink, uV as Note, Nge as OA, oX as ORGANIZE_KEY, p2 as ORGANIZE_PARAMETER_HINT, f2 as ORGANIZE_SCOPE_HINT, d2 as ORGANIZE_TEXT, lX as ORPHAN_RECORDS_KEY, h2 as ORPHAN_RECORDS_TEXT, BB as OV, TB as P7, CX as PERFORMER_DELETE_KEY, hye as PHASES, JY as PICK_FOLDER_URL, h$ as PLAIN_STAT_STRIP, A$ as PLAYLISTS_KEY, bje as POLICY_COLUMNS, Sje as POLICY_COVER_NOTE, xje as POLICY_MATRIX, z1 as POLICY_SUMMARY, GJ as Pagination, D$ as PathLine, ZB as Pf, II as PillTabList, Fke as PlainStat, kH as Progress, CY as QUALITY_GOALS_KEY, XB as RB, M0 as RELEASE_COLUMN_VISIBILITY_KEY, j0 as RELEASE_COLUMN_WIDTHS_KEY, uW as RELEASE_SORTS, Xje as RELEASE_SORT_COLUMNS, _$ as REPAIR_CARD_TEXT, yY as REPAIR_LIBRARIES_KEY, mX as RESOURCE_APPLY_KEY, pX as RESOURCE_SCAN_KEY, m2 as RESOURCE_SYNC_TEXT, Vke as RESULT_PANEL, Hke as RESULT_SECTION, Gwe as REVIEW_CATEGORIES, TX as REVIEW_COUNTS_KEY, Jwe as REVIEW_DECISION_LABELS, EY as REVIEW_KEY, DY as REVIEW_LABELS, kY as REVIEW_QUEUES, AY as REVIEW_QUEUE_LABELS, HG as RetryNote, Mge as Rf, eV as Rk, Y_e as Rows, dAe as SCRAPING_CHECK_URL, F$ as SCRAPING_COVER_URL, I$ as SCRAPING_KEY, uAe as SCRAPING_SETTINGS_URL, aU as SEGMENT, iU as SEGMENTED_TRACK, $Y as SETTINGS_KEY, YY as SETTINGS_URL, fr as SORT_DEFAULT_DIR, ur as SORT_OPTIONS, yn as SOURCE_LABELS, x3 as STATS_KEY, Nke as STAT_STRIP, Pke as STAT_STRIP_SIX, J_e as Section, Uke as SectionHeading, Z_e as SectionSkeleton, rU as SegmentedRadioGroup, _ve as SegmentedTabList, FG as Segments, WJ as Select, UU as Select$1, a1 as SelectField, WU as SelectItem, eY as SelectionActions, wj as SelectionDock, tY as SelectionPopover, PH as SettingsCard, q_e as SettingsRow, FH as SettingsSectionLabel, IG as Shuffle, ove as SiteLabel, pG as SortDirectionIcon, LG as SortKeys, hQ as SourceAvatar, UH as SourceLabel, BH as SourceMark, X_e as Stack, Ike as StatCard, E$ as StatusLabel, kge as Su, $2 as Switch, GI as TASKS_KEY, mFe as TASTE_REFRESH_KEY, hFe as TASTE_WINDOWS, nX as THUMBNAIL_JOBS_KEY, OX as TRASH_KEY, ope as TRIGGER_LABELS, MJ as Table, nY as TableColumnControls, rY as TableColumnResizer, aY as TableSelectionHeader, t$ as TagManager, eve as TaskCenterLink, AH as TaskProgress, iV as TextField, rV as TextFieldContext, RB as Un, iW as WANTS_KEY, m4 as WantMagnets, Kg as WithPromise, kB as Wt, IB as Xc, QB as Xf, jB as Xl, AB as Xt, DB as _8, o as __commonJSMin, s as __exportAll, l as __toESM, jge as aB, Ei as addAlias, Ti as addSource, oW as addWant, uS as animate, B as apiGet, V as apiSend, iM as appSettingsStore, uEe as applyConfirmText, SX as applyLeftovers, lEe as applyPlanText, fEe as applyText, cM as applyTheme, vy as asNumber, QTe as attachOrphan, ci as authorAvatar, ui as authorGroups, si as authorInitial, oi as authorName, bq as autoResetPageIndex, _o as avatarInner, D3 as bandRows, KTe as baseName, Pwe as batchOperate, wue as beginPlayerGuidePreview, kj as boundedPreference, jwe as bulkCloudPreferences, hV as busyProps, Age as cB, UNe as cachedMagnetStates, Bg as calcGeneratorVelocity, tTe as canApprove, mg as cancelFrame, rEe as candidateText, CU as cardClass, CM as cardRatio, BJ as catalogListSkeletonCellHtml, FB as cc, Gi as checkEvidenceGap, Wi as checkFailures, Fi as checkFeeds, xTe as checkLine, Hi as checkReceipt, Ui as checkSummary, _Ae as checkText, Ki as checkedText, cK as clickedBlank, K5 as closeDrawerAfterNav, Cwe as cloudLocations, b0 as cloudProxySkeleton, WC as clsx, yge as cn, sv as collectMotionValues, Bq as columnVisibilityFeature, DJ as column_getCanSort, CJ as column_getSortFn, $we as commonReviewSources, tW as composingKey, Af as configurationSection, yFe as configureTasteBrowser, ll as confirmModal, ipe as controlTask, nq as copyInstancePropertiesWithoutMemos, lo as coverUrl, jq as createColumnHelper, iAe as createPlaylist, Xi as credentialDone, g0 as credentialsSkeleton, uTe as currentReviewRow, q as cx, WB as dZ, sTe as decisionPayload, cTe as decisionReceipt, oTe as defaultChoice, mEe as deletePerformerVideos, oAe as deletePlaylist, x as diagnosticHeaders, R1 as diagnosticsSkeleton, wye as discoveryArtwork, dW as discoveryKey, xye as discoveryScore, r9 as disposeStage, Dwe as distinctName, Bi as dropSources, Oge as du, Mwe as duplicateVictims, QI as elapsedText, nn as entityDisplayName, go as entityFaceImg, Pn as entityPath, ti as errorHeadline, lr as errorMessage, z as esc, yq as expandRowModel, vB as f1, bo as facePos, ei as feedIntervalText, V$ as fetchAmaneBridge, vi as fetchCheckJob, n1 as fetchConfiguration, B$ as fetchCoverJob, _i as fetchCredentials, P$ as fetchCustomSources, wX as fetchDeletePerformers, pEe as fetchDeletePlan, NQ as fetchDiagnostics, fW as fetchDiscoveries, hY as fetchDuplicates, epe as fetchEarlier, TTe as fetchFeedSchedule, Mi as fetchFeeds, gi as fetchFollow, wTe as fetchFollowSchedule, AX as fetchJunkSummary, oH as fetchLibraryProcessing, WY as fetchLinkCheck, GY as fetchLinkPrune, UY as fetchLinkStats, CTe as fetchMediaProcessing, bY as fetchMediaRepair, br as fetchMediaSources, sX as fetchOrganize, RTe as fetchOrganizeExample, uX as fetchOrphanRecords, ji as fetchPending, j$ as fetchPlaylists, wY as fetchQualityGoals, hW as fetchReleases, xY as fetchRepairLibraries, yi as fetchResolveJob, gX as fetchResourceApply, hX as fetchResourceScan, IY as fetchReview, kX as fetchReviewCounts, iX as fetchSettings, z$ as fetchSources, S3 as fetchStats, bi as fetchSuggestions, qI as fetchTasks, q3 as fetchTaste, bFe as fetchTasteJob, ETe as fetchThumbnailJobs, jX as fetchTrashSummary, aW as fetchWants, Zwe as filterReviewRows, er as firstGrapheme, RK as flexRender, FFe as flowGraph, IFe as flowLabel, PPe as fmtCount, Jn as fmtDur, Xn as fmtSize, $fe as foldByKind, gpe as foldRoutine, Li as followFeedByName, Hr as followSuggestKey, vpe as followupDetail, Qfe as followupTally, pg as frame, CB as g4, Uq as getDefaultPaginationState, SM as gridLayout, li as groupByAuthor, hpe as groupFollowups, NY as groupReviewRows, sEe as hasChanges, _X as hasResourceRoots, YI as hasResultProblems, EFe as historySpan, yB as i2, wFe as importTasteExport, _0 as indexersSkeleton, Ig as interpolate, cW as invalidateWants, ZI as isActive, $r as isBroken, qr as isLayout, vv as isMotionValue, OY as isReviewCategory, _pe as isRoutine, v0 as javBrowserSkeleton, L0 as javContentSkeleton, hM as javLayout, I0 as javTagSkeleton, yEe as junkBreakdown, sAe as keepPlaylist, ke as keepPreviousData, pi as keepSelected, C3 as known, $he as l7, mpe as latestOfKind, $n as leadingGraphemes, KPe as lengthRows, Cr as localTime, po as logoUrl, Ii as lookupFeedActor, wB as m7, UB as mM, Dn as mapLimit, Ai as markItem, O3 as max, WPe as mediumRows, tpe as mergeFinished, k3 as min, hTe as mirrorText, Rwe as missingToolText, gY as mixedCloudPreferences, nL as momentText, dS as motion, lv as motionValue, rn as nameFallback, Ue as notifyManager, age as oe, JTe as organizeOutcome, $0 as overlayHost, Jr as pageSizeOf, fi as pageWindow, hr as paginationRange, zi as patchSource, Op as peachHistory, Op as peachHistory$1, aTe as pendingGenres, IPe as percentText, VTe as pickOrganizeFolder, m$ as plainStatClass, qTe as planSummary, w3 as playedFor, RPe as playedItemUrl, KI as pollInterval, Ys as popCount, rAe as posterUrl, qbe as previewLibraryColor, BTe as previewOrganize, Vwe as previewUrl, fpe as problemDestination, tH as processingActive, $I as progressText, HH as providerIcon, bTe as pruneText, yX as purgeCount, $Te as purgeOrphan, KB as pv, Dge as qE, H as queryClient, bB as r2, MFe as radarRows, VPe as radialArc, HPe as radialBarSize, BPe as radialCeiling, zPe as radialSlices, RN as randomId, AFe as rankDetail, jFe as rankShares, E3 as reachedShare, eL as readableErrorHeadline, Sye as recommendationScore, dTe as recordGenre, tEe as recordsText, cAe as recreatePlaylist, tAe as refreshPlaylists, El as relayoutCovers, N0 as releaseColumns, pW as releaseFilters, mW as releaseKey, Vi as reloadFollowManage, mTe as reloadReview, Tje as rememberShape, UTe as rememberTemplates, Di as removeAlias, Pi as removeFeed, wi as removeSource, CFe as removeTasteSource, sW as removeWants, Oi as renameAliasGroup, aAe as renamePlaylist, Se as replaceEqualDeep, JPe as replayRows, re as require_jsx_runtime, A as require_react, N as require_react_dom, QK as require_with_selector, vye as resetWants, mr as resolveFollowSort, Ug as resolveStartTime, k_e as restartEffectText, nAe as resumeAssetId, Xwe as reviewGroupingOptions, MY as reviewQueueData, jY as reviewQueueOf, vEe as reviewSummary, Qwe as reviewWindow, rTe as rowEvidence, FY as rowFieldName, Xq as rowPaginationFeature, _J as rowSelectionFeature, AJ as rowSortingFeature, PY as rowSubject, iTe as rowTags, nTe as rowTitle, Xhe as s5, ki as saveCredential, cEe as scanLine, jTe as schedulePollInterval, bye as searchNote, eTe as selectReviewRange, mi as selectionState, Ni as setFeedEnabled, Ci as setSourceEnabled, Pf as settingsPath, pTe as settleReviewRows, Ewe as sharedNamePrefix, kp as shellNavigate, x8 as showToast, Bn as siteMarkUrl, uq as skipFirstRun, PI as sortCx, Xr as sortLabel, bn as sourceDefaultCost, Ji as sourceIconUrl, dEe as sourceMeta, Bs as spinnerHtml, Pg as spring, pV as spriteGlyph, xi as startCheck, vTe as startLinkCheck, yTe as startLinkPrune, HTe as startOrganize, Si as startResolve, aEe as startResourceApply, iEe as startResourceScan, SFe as startTasteRefresh, Mke as statCardClass, cpe as statusLabel, Lwe as statusLine, Qr as statusText, wM as storeJavLayout, lTe as submitDecision, rL as summaryItems, Mq as tableFeatures, dq as tableMemo, di as tableRows, dpe as taskIssues, ppe as taskSubject, J3 as tasteDate, OFe as tasteDimensions, DFe as tasteHours, K3 as tasteKey, _Fe as tasteRefetchInterval, vFe as tasteTime, BI as textLang, A0 as tierPlaceholdersHtml, rh as time, uge as tl, hi as toggleGroup, Y3 as topScores, xge as um, hge as uo, hH as useAction, AZ as useBackgroundJob, uG as useCatalogView, FU as useClientUpdates, hm as useConstant, iL as useEntityNames, uL as useHorizontalScroller, gm as useIsomorphicLayoutEffect, sK as useLibraryTints, It as useMutation, BV as useOverlayScrollbar, Ft as useQuery, ae as useQueryClient, $x as useReducedMotion, ATe as useRunSchedule, OTe as useSaveFollowSchedule, aX as useSaveSettings, MTe as useSaveThumbnailMode, jJ as useTable, XJ as useTablePreferences, _L as useViewGlide, Nwe as victimBytes, dge as vl, yye as wantName, LPe as watchNote, T3 as watchedShare, Ac as wireHorizontalScroller, WTe as withOrganizeJob, Cye as writeJavQuery };+export { BL as $2ec61d1d4f780267$export$a8a3e93435678ff9, JL as $3a442827418ebe87$export$eb2fcfdbd7ba97d4, dz as $542a13ca2fa5b484$export$5b6b19405a83ff9d, CD as $72abaeab4d80592f$export$78efe591171d7d45, rB as $76d00c5a4edb230a$export$76ccd210b9029917, eB as $76d00c5a4edb230a$export$816b5d811295e6bc, oB as $76d00c5a4edb230a$export$b59bdbef9ce70de2, cB as $76d00c5a4edb230a$export$f6f0c3fe4ec306ea, $z as $76d00c5a4edb230a$export$f850895b287ef28e, jhe as $b4f18e3395fe64d7$export$3d96ec278d3efce4, Ahe as $b4f18e3395fe64d7$export$3e41faf802a29e71, Dhe as $b4f18e3395fe64d7$export$b2539bed5023c21c, fB as $b4f18e3395fe64d7$export$e51a686c67fdaa2d, Phe as $bd263d78e9bf3c56$export$f5c9f3c2c4054eec, uE as $ea3928288112382f$export$439d29a4e110a164, wz as $f2ff30fde7b014be$export$3ddf2d174ce01153, jz as $fe21c36db05242bb$export$a98f0dcb43a68a25, Mz as $fe21c36db05242bb$export$d7b12c4107be0d61, fge as $l, Gj as ACCENTS, mAe as AMANE_BRIDGE_CHECK_URL, L$ as AMANE_BRIDGE_KEY, hAe as AMANE_BRIDGE_REBUILD_URL, sr as ApiError, qU as ArtSlot, h2 as BATCH_DELETE_TEXT, J as Button, vL as ButtonLink, GB as Bx, f$ as CLEANUP_ENTRY, d$ as CLEANUP_ENTRY_GRID, Zf as CLEANUP_HASH_REDIRECTS, Yf as CLEANUP_TOOLS, vn as CLOUD_LOCATIONS, H1 as CLOUD_PROXY_HELP, Kr as COLUMN_SORT, e1 as CONFIGURATION_KEY, KY as CONFIGURATION_URL, gAe as COOKIE_TEXT_LIMIT, I$ as COVER_JOB_KEY, Yi as CREDENTIAL_STATE, M$ as CUSTOM_SOURCES_KEY, j$ as CUSTOM_SOURCES_URL, uG as CatalogViewToggle, zV as Checkbox, RV as CheckboxGlyph, kV as ChevronSortDown, KU as Chip, nW as CloudDownloadDialog, NH as CollapseChevron, MH as CollapseRegion, a$ as CollectionSummary, qwe as DEFAULT_CATEGORY, dr as DEFAULT_SORT, jQ as DIAGNOSTICS_KEY, KTe as DIRECTORY_TEMPLATE_ERROR, lW as DISCOVERY_SORTS, YU as DOWNLOADS_KEY, JU as DOWNLOADS_URL, fY as DUPLICATES_KEY, KJ as DataTableFooter, HJ as DataTableFrame, GJ as DataTableSort, zH as Disclosure, oye as DownloadsPanel, ige as E3, Jwe as ENTITY_REVIEW_KINDS, B1 as ENTRY_LINKS_HELP, V1 as ENTRY_LINKS_HINT, LB as Ea, Lge as EmptyFocusButton, dV as EmptyState, LH as ErrorText, $_e as ExternalLink, Vr as FEEDS_KEY, eX as FEED_SCHEDULE_KEY, l$ as FIELDSET_FOOT, PFe as FLOW_LABEL_X, Y3 as FLOW_VIEWBOX, zr as FOLLOW_CHECK_KEY, Rr as FOLLOW_CREDENTIALS_KEY, M8 as FOLLOW_INITIAL_RANGE_OPTIONS, Lr as FOLLOW_MANAGE_KEY, PZ as FOLLOW_MANAGE_NAV, Br as FOLLOW_RESOLVE_KEY, $Y as FOLLOW_SCHEDULE_KEY, nve as Fact, tve as FactList, RH as FieldLabel, S$ as Fieldset, x$ as FieldsetTitle, Ope as FilterGlass, dL as FilterGlassRows, uL as FilterIconButton, fL as FilterPill, Q_e as Footer, HB as Gg, pL as GlassPill, YB as HN, IH as Help, nV as HintText, EFe as IDLE_POLL_MS, Iwe as IDLE_REPAIR, oL as IconButton, NQ as IndexSearch, sV as Input, oV as InputBase, w$ as IssueRow, lM as JAV_LAYOUTS, P0 as JAV_RECOMMENDATION_GRID, TX as JUNK_KEY, vW as JavHeader, Awe as KEEP_LABELS, Ur as LAYOUTS, z1 as LIBRARY_FOLDER_HELP, QV as LIBRARY_PROCESSING_KEY, RY as LINKS_KEY, zY as LINK_CHECK_KEY, vTe as LINK_KINDS, BY as LINK_PRUNE_KEY, nr as LOC, tV as Label, D$ as LibraryProcessingCard, OV as LibraryShortcuts, mH as LinkButton, mge as Lo, DH as LoadingDots, age as M6, CTe as MEDIA_PROCESSING_KEY, nX as MEDIA_PROCESSING_URL, _Y as MEDIA_REPAIR_KEY, gY as MEDIA_REPAIR_URL, yr as MEDIA_SOURCES_KEY, _s as MEDIA_SOURCE_ICONS, gn as MEDIA_SOURCE_OPTIONS, NV as MENU_ITEM, PV as MENU_ITEM_INTERACTIVE, MV as MENU_POPOVER_SURFACE, gge as Ma, vH as MenuDialog, bK as MixCard, cV as ModalFrame, bx as MotionConfigContext, $B as NR, C$ as NameLink, uV as Note, Nge as OA, aX as ORGANIZE_KEY, f2 as ORGANIZE_PARAMETER_HINT, d2 as ORGANIZE_SCOPE_HINT, u2 as ORGANIZE_TEXT, cX as ORPHAN_RECORDS_KEY, m2 as ORPHAN_RECORDS_TEXT, BB as OV, wB as P7, SX as PERFORMER_DELETE_KEY, hye as PHASES, qY as PICK_FOLDER_URL, m$ as PLAIN_STAT_STRIP, k$ as PLAYLISTS_KEY, xje as POLICY_COLUMNS, Cje as POLICY_COVER_NOTE, Sje as POLICY_MATRIX, R1 as POLICY_SUMMARY, WJ as Pagination, E$ as PathLine, ZB as Pf, FI as PillTabList, Ike as PlainStat, kH as Progress, SY as QUALITY_GOALS_KEY, XB as RB, j0 as RELEASE_COLUMN_VISIBILITY_KEY, A0 as RELEASE_COLUMN_WIDTHS_KEY, uW as RELEASE_SORTS, Zje as RELEASE_SORT_COLUMNS, g$ as REPAIR_CARD_TEXT, vY as REPAIR_LIBRARIES_KEY, pX as RESOURCE_APPLY_KEY, fX as RESOURCE_SCAN_KEY, p2 as RESOURCE_SYNC_TEXT, Hke as RESULT_PANEL, Uke as RESULT_SECTION, Kwe as REVIEW_CATEGORIES, wX as REVIEW_COUNTS_KEY, Ywe as REVIEW_DECISION_LABELS, TY as REVIEW_KEY, EY as REVIEW_LABELS, OY as REVIEW_QUEUES, kY as REVIEW_QUEUE_LABELS, VG as RetryNote, Mge as Rf, eV as Rk, Y_e as Rows, fAe as SCRAPING_CHECK_URL, P$ as SCRAPING_COVER_URL, F$ as SCRAPING_KEY, dAe as SCRAPING_SETTINGS_URL, aU as SEGMENT, iU as SEGMENTED_TRACK, QY as SETTINGS_KEY, JY as SETTINGS_URL, fr as SORT_DEFAULT_DIR, ur as SORT_OPTIONS, yn as SOURCE_LABELS, b3 as STATS_KEY, Pke as STAT_STRIP, Fke as STAT_STRIP_SIX, J_e as Section, Wke as SectionHeading, Z_e as SectionSkeleton, rU as SegmentedRadioGroup, _ve as SegmentedTabList, PG as Segments, UJ as Select, UU as Select$1, i1 as SelectField, WU as SelectItem, $J as SelectionActions, Cj as SelectionDock, eY as SelectionPopover, PH as SettingsCard, q_e as SettingsRow, FH as SettingsSectionLabel, FG as Shuffle, ove as SiteLabel, fG as SortDirectionIcon, IG as SortKeys, mQ as SourceAvatar, UH as SourceLabel, BH as SourceMark, X_e as Stack, Lke as StatCard, T$ as StatusLabel, kge as Su, Q2 as Switch, WI as TASKS_KEY, hFe as TASTE_REFRESH_KEY, gFe as TASTE_WINDOWS, tX as THUMBNAIL_JOBS_KEY, DX as TRASH_KEY, spe as TRIGGER_LABELS, jJ as Table, tY as TableColumnControls, nY as TableColumnResizer, iY as TableSelectionHeader, e$ as TagManager, eve as TaskCenterLink, AH as TaskProgress, iV as TextField, rV as TextFieldContext, RB as Un, iW as WANTS_KEY, p4 as WantMagnets, Gg as WithPromise, OB as Wt, IB as Xc, QB as Xf, jB as Xl, kB as Xt, EB as _8, o as __commonJSMin, s as __exportAll, l as __toESM, jge as aB, Ei as addAlias, Ti as addSource, oW as addWant, lS as animate, B as apiGet, V as apiSend, rM as appSettingsStore, dEe as applyConfirmText, xX as applyLeftovers, uEe as applyPlanText, pEe as applyText, sM as applyTheme, _y as asNumber, $Te as attachOrphan, ci as authorAvatar, ui as authorGroups, si as authorInitial, oi as authorName, yq as autoResetPageIndex, _o as avatarInner, E3 as bandRows, qTe as baseName, Fwe as batchOperate, Tue as beginPlayerGuidePreview, Oj as boundedPreference, Mwe as bulkCloudPreferences, hV as busyProps, Age as cB, WNe as cachedMagnetStates, zg as calcGeneratorVelocity, nTe as canApprove, mg as cancelFrame, iEe as candidateText, CU as cardClass, SM as cardRatio, zJ as catalogListSkeletonCellHtml, FB as cc, Gi as checkEvidenceGap, Wi as checkFailures, Fi as checkFeeds, STe as checkLine, Hi as checkReceipt, Ui as checkSummary, vAe as checkText, Ki as checkedText, sK as clickedBlank, G5 as closeDrawerAfterNav, wwe as cloudLocations, y0 as cloudProxySkeleton, UC as clsx, yge as cn, ov as collectMotionValues, zq as columnVisibilityFeature, EJ as column_getCanSort, SJ as column_getSortFn, eTe as commonReviewSources, tW as composingKey, Af as configurationSection, bFe as configureTasteBrowser, ll as confirmModal, ape as controlTask, tq as copyInstancePropertiesWithoutMemos, lo as coverUrl, Aq as createColumnHelper, aAe as createPlaylist, Xi as credentialDone, h0 as credentialsSkeleton, dTe as currentReviewRow, q as cx, WB as dZ, cTe as decisionPayload, lTe as decisionReceipt, sTe as defaultChoice, hEe as deletePerformerVideos, sAe as deletePlaylist, x as diagnosticHeaders, L1 as diagnosticsSkeleton, wye as discoveryArtwork, dW as discoveryKey, xye as discoveryScore, r9 as disposeStage, Owe as distinctName, Bi as dropSources, Oge as du, Nwe as duplicateVictims, ZI as elapsedText, nn as entityDisplayName, go as entityFaceImg, Pn as entityPath, ti as errorHeadline, lr as errorMessage, z as esc, vq as expandRowModel, _B as f1, bo as facePos, ei as feedIntervalText, B$ as fetchAmaneBridge, vi as fetchCheckJob, t1 as fetchConfiguration, z$ as fetchCoverJob, _i as fetchCredentials, N$ as fetchCustomSources, CX as fetchDeletePerformers, mEe as fetchDeletePlan, MQ as fetchDiagnostics, fW as fetchDiscoveries, mY as fetchDuplicates, tpe as fetchEarlier, ETe as fetchFeedSchedule, Mi as fetchFeeds, gi as fetchFollow, TTe as fetchFollowSchedule, kX as fetchJunkSummary, oH as fetchLibraryProcessing, UY as fetchLinkCheck, WY as fetchLinkPrune, HY as fetchLinkStats, wTe as fetchMediaProcessing, yY as fetchMediaRepair, br as fetchMediaSources, oX as fetchOrganize, zTe as fetchOrganizeExample, lX as fetchOrphanRecords, ji as fetchPending, A$ as fetchPlaylists, CY as fetchQualityGoals, hW as fetchReleases, bY as fetchRepairLibraries, yi as fetchResolveJob, hX as fetchResourceApply, mX as fetchResourceScan, FY as fetchReview, OX as fetchReviewCounts, rX as fetchSettings, R$ as fetchSources, x3 as fetchStats, bi as fetchSuggestions, KI as fetchTasks, K3 as fetchTaste, xFe as fetchTasteJob, DTe as fetchThumbnailJobs, AX as fetchTrashSummary, aW as fetchWants, Qwe as filterReviewRows, er as firstGrapheme, LK as flexRender, IFe as flowGraph, LFe as flowLabel, FPe as fmtCount, Jn as fmtDur, Xn as fmtSize, epe as foldByKind, _pe as foldRoutine, Li as followFeedByName, Hr as followSuggestKey, ype as followupDetail, $fe as followupTally, pg as frame, SB as g4, Hq as getDefaultPaginationState, xM as gridLayout, li as groupByAuthor, gpe as groupFollowups, MY as groupReviewRows, cEe as hasChanges, gX as hasResourceRoots, JI as hasResultProblems, DFe as historySpan, vB as i2, TFe as importTasteExport, g0 as indexersSkeleton, Fg as interpolate, cW as invalidateWants, XI as isActive, $r as isBroken, qr as isLayout, _v as isMotionValue, DY as isReviewCategory, vpe as isRoutine, _0 as javBrowserSkeleton, I0 as javContentSkeleton, mM as javLayout, F0 as javTagSkeleton, bEe as junkBreakdown, cAe as keepPlaylist, ke as keepPreviousData, pi as keepSelected, S3 as known, ege as l7, hpe as latestOfKind, $n as leadingGraphemes, qPe as lengthRows, Cr as localTime, po as logoUrl, Ii as lookupFeedActor, CB as m7, UB as mM, Dn as mapLimit, Ai as markItem, D3 as max, GPe as mediumRows, npe as mergeFinished, O3 as min, gTe as mirrorText, zwe as missingToolText, hY as mixedCloudPreferences, tL as momentText, uS as motion, cv as motionValue, rn as nameFallback, Ue as notifyManager, oge as oe, YTe as organizeOutcome, Q0 as overlayHost, Jr as pageSizeOf, fi as pageWindow, hr as paginationRange, zi as patchSource, Op as peachHistory, Op as peachHistory$1, oTe as pendingGenres, LPe as percentText, HTe as pickOrganizeFolder, p$ as plainStatClass, JTe as planSummary, C3 as playedFor, zPe as playedItemUrl, GI as pollInterval, Ys as popCount, iAe as posterUrl, Jbe as previewLibraryColor, VTe as previewOrganize, Hwe as previewUrl, ppe as problemDestination, tH as processingActive, QI as progressText, HH as providerIcon, xTe as pruneText, vX as purgeCount, eEe as purgeOrphan, KB as pv, Dge as qE, H as queryClient, yB as r2, NFe as radarRows, HPe as radialArc, UPe as radialBarSize, VPe as radialCeiling, BPe as radialSlices, LN as randomId, jFe as rankDetail, MFe as rankShares, T3 as reachedShare, $I as readableErrorHeadline, Sye as recommendationScore, fTe as recordGenre, nEe as recordsText, lAe as recreatePlaylist, nAe as refreshPlaylists, El as relayoutCovers, M0 as releaseColumns, pW as releaseFilters, mW as releaseKey, Vi as reloadFollowManage, hTe as reloadReview, Eje as rememberShape, WTe as rememberTemplates, Di as removeAlias, Pi as removeFeed, wi as removeSource, wFe as removeTasteSource, sW as removeWants, Oi as renameAliasGroup, oAe as renamePlaylist, Se as replaceEqualDeep, YPe as replayRows, re as require_jsx_runtime, A as require_react, N as require_react_dom, ZK as require_with_selector, vye as resetWants, mr as resolveFollowSort, Hg as resolveStartTime, k_e as restartEffectText, rAe as resumeAssetId, Zwe as reviewGroupingOptions, jY as reviewQueueData, AY as reviewQueueOf, yEe as reviewSummary, $we as reviewWindow, iTe as rowEvidence, PY as rowFieldName, Yq as rowPaginationFeature, gJ as rowSelectionFeature, kJ as rowSortingFeature, NY as rowSubject, aTe as rowTags, rTe as rowTitle, Zhe as s5, ki as saveCredential, lEe as scanLine, MTe as schedulePollInterval, bye as searchNote, tTe as selectReviewRange, mi as selectionState, Ni as setFeedEnabled, Ci as setSourceEnabled, Pf as settingsPath, mTe as settleReviewRows, Dwe as sharedNamePrefix, kp as shellNavigate, b8 as showToast, Bn as siteMarkUrl, lq as skipFirstRun, NI as sortCx, Xr as sortLabel, bn as sourceDefaultCost, Ji as sourceIconUrl, fEe as sourceMeta, Bs as spinnerHtml, Ng as spring, pV as spriteGlyph, xi as startCheck, yTe as startLinkCheck, bTe as startLinkPrune, UTe as startOrganize, Si as startResolve, oEe as startResourceApply, aEe as startResourceScan, CFe as startTasteRefresh, Nke as statCardClass, lpe as statusLabel, Rwe as statusLine, Qr as statusText, CM as storeJavLayout, uTe as submitDecision, nL as summaryItems, jq as tableFeatures, uq as tableMemo, di as tableRows, fpe as taskIssues, mpe as taskSubject, q3 as tasteDate, kFe as tasteDimensions, OFe as tasteHours, G3 as tasteKey, vFe as tasteRefetchInterval, yFe as tasteTime, zI as textLang, k0 as tierPlaceholdersHtml, rh as time, uge as tl, hi as toggleGroup, J3 as topScores, xge as um, hge as uo, hH as useAction, kZ as useBackgroundJob, lG as useCatalogView, FU as useClientUpdates, hm as useConstant, rL as useEntityNames, lL as useHorizontalScroller, gm as useIsomorphicLayoutEffect, oK as useLibraryTints, It as useMutation, BV as useOverlayScrollbar, Ft as useQuery, ae as useQueryClient, Qx as useReducedMotion, jTe as useRunSchedule, kTe as useSaveFollowSchedule, iX as useSaveSettings, NTe as useSaveThumbnailMode, AJ as useTable, YJ as useTablePreferences, gL as useViewGlide, Pwe as victimBytes, dge as vl, yye as wantName, RPe as watchNote, w3 as watchedShare, Ac as wireHorizontalScroller, GTe as withOrganizeJob, Cye as writeJavQuery };-//# debugId=6ac720ac-5b6d-4b44-8e09-b880517462b4\ No newline at end of file+//# debugId=27c5cade-5d65-4e36-96f2-f36f4120d452\ No newline at end of file