Peach: Local-first video metadata scraper and media manager.
build(web): 集成批次重建前端产物
longmeidao43769bbcb551
diff --git a/web/dist/peach-app.js b/web/dist/peach-app.jsindex c0bd9d9c8..0a02b9d7f 100644--- a/web/dist/peach-app.js+++ b/web/dist/peach-app.js@@ -2,7 +2,7 @@(function() {try {var e = typeof window < "u" ? window : typeof global < "u" ? global : typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : {}, t = new e.Error().stack;- t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "72b8ac76-9c32-47e6-ab82-65ea6182723f", e._sentryDebugIdIdentifier = "sentry-dbid-72b8ac76-9c32-47e6-ab82-65ea6182723f");+ t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "e51ad429-7728-473f-ac70-484fe2795a25", e._sentryDebugIdIdentifier = "sentry-dbid-e51ad429-7728-473f-ac70-484fe2795a25");} catch {}})();var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescriptor, r = Object.getOwnPropertyNames, i = Object.getPrototypeOf, a = Object.prototype.hasOwnProperty, o = (e, t) => () => (t || (e((t = { exports: {} }).exports, t), e = null), t.exports), s = (e, n) => {@@ -17896,7 +17896,7 @@ function Y_(e) {}//#endregion//#region node_modules/motion-dom/dist/es/projection/shared/stack.mjs-var X_ = class {+var cte = class {constructor() {this.members = [];}@@ -17942,7 +17942,7 @@ var X_ = class {removeLeadSnapshot() {this.lead?.snapshot && (this.lead.snapshot = void 0);}-}, Z_ = {+}, X_ = {borderRadius: {...U_,applyTo: [...Fh]@@ -17952,32 +17952,32 @@ var X_ = class {borderBottomLeftRadius: U_,borderBottomRightRadius: U_,boxShadow: $ee-}, Q_ = {+}, Z_ = {hasAnimatedSinceResize: !0,hasEverUpdated: !1};//#endregion//#region node_modules/motion-dom/dist/es/projection/node/create-projection-node.mjsObject.assign(m_, {- ...Z_,+ ...X_,...m_});-var $_ = {+var Q_ = {nodes: 0,calculatedTargetDeltas: 0,calculatedProjections: 0-}, ev = [+}, $_ = ["","X","Y","Z"-], cte = 1e3, lte = 0;-function tv(e, t, n, r) {+], lte = 1e3, ute = 0;+function ev(e, t, n, r) {let { latestValues: i } = t;i[e] && (n[e] = i[e], t.setStaticValue(e, 0), r && (r[e] = 0));}-var nv = ({ instance: e }) => e && ym.get(e)?.demote();-function rv(e) {+var tv = ({ instance: e }) => e && ym.get(e)?.demote();+function nv(e) {if (e.hasCheckedOptimisedAppear = !0, e.root === e) return;let { visualElement: t } = e.options;if (!t) return;@@ -17987,18 +17987,18 @@ function rv(e) {window.MotionCancelOptimisedAnimation(n, "transform", lf, !(t || r));}let { parent: r } = e;- r && !r.hasCheckedOptimisedAppear && rv(r);+ r && !r.hasCheckedOptimisedAppear && nv(r);}-function iv({ attachResizeListener: e, defaultParent: t, measureScroll: n, checkIsScrollRoot: r, resetTransform: i }) {+function rv({ attachResizeListener: e, defaultParent: t, measureScroll: n, checkIsScrollRoot: r, resetTransform: i }) {return class {constructor(e = {}, n = t?.()) {- this.id = lte++, 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 = ute++, 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, Kg.value && ($_.nodes = $_.calculatedTargetDeltas = $_.calculatedProjections = 0), this.nodes.forEach(fte), this.nodes.forEach(bte), this.nodes.forEach(xte), this.nodes.forEach(pte), Kg.addProjectionMetrics && Kg.addProjectionMetrics($_);+ this.projectionUpdateScheduled = !1, Kg.value && (Q_.nodes = Q_.calculatedTargetDeltas = Q_.calculatedProjections = 0), this.nodes.forEach(pte), this.nodes.forEach(xte), this.nodes.forEach(Ste), this.nodes.forEach(mte), Kg.addProjectionMetrics && Kg.addProjectionMetrics(Q_);}, 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 ote());@@ -18023,7 +18023,7 @@ function iv({ 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(), n = ste(i, 250), Q_.hasAnimatedSinceResize && (Q_.hasAnimatedSinceResize = !1, this.nodes.forEach(sv)));+ e !== r && (r = e, this.root.updateBlockedByResize = !0, n && n(), n = ste(i, 250), Z_.hasAnimatedSinceResize && (Z_.hasAnimatedSinceResize = !1, this.nodes.forEach(ov)));});}n && this.root.registerSharedNode(n, this), this.options.animate !== !1 && i && (n || r) && this.addEventListener("didUpdate", ({ delta: e, hasLayoutChanged: t, hasRelativeLayoutChanged: n, layout: r }) => {@@ -18031,7 +18031,7 @@ function iv({ attachResizeListener: e, defaultParent: t, measureScroll: n, checkthis.target = void 0, this.relativeTarget = void 0;return;}- let a = this.options.transition || i.getDefaultTransition() || Ete, { onLayoutAnimationStart: o, onLayoutAnimationComplete: s } = i.getProps(), c = !this.targetLayout || !R_(this.targetLayout, r), l = !t && n;+ let a = this.options.transition || i.getDefaultTransition() || Dte, { onLayoutAnimationStart: o, onLayoutAnimationComplete: s } = i.getProps(), c = !this.targetLayout || !R_(this.targetLayout, r), l = !t && n;if (this.options.layoutRoot || this.resumeFrom || l || t && (c || !this.currentAnimation)) {this.resumeFrom && (this.resumingFrom = this.resumeFrom, this.resumingFrom.resumingFrom = void 0);let t = {@@ -18040,7 +18040,7 @@ function iv({ attachResizeListener: e, defaultParent: t, measureScroll: n, checkonComplete: s};(i.shouldReduceMotion || this.options.layoutRoot) && (t.delay = 0, t.type = !1), this.startAnimation(t), this.setAnimationOrigin(e, l, t.path);- } else t || sv(this), this.isLead() && this.options.onExitComplete && this.options.onExitComplete();+ } else t || ov(this), this.isLead() && this.options.onExitComplete && this.options.onExitComplete();this.targetLayout = r;});}@@ -18059,7 +18059,7 @@ function iv({ attachResizeListener: e, defaultParent: t, measureScroll: n, checkreturn this.updateManuallyBlocked || this.updateBlockedByResize;}startUpdate() {- this.isUpdateBlocked() || (this.isUpdating = !0, this.nodes && this.nodes.forEach(Ste), this.animationId++);+ this.isUpdateBlocked() || (this.isUpdating = !0, this.nodes && this.nodes.forEach(Cte), this.animationId++);}getTransformTemplate() {let { visualElement: e } = this.options;@@ -18070,11 +18070,11 @@ function iv({ attachResizeListener: e, defaultParent: t, measureScroll: n, checkthis.options.onExitComplete && this.options.onExitComplete();return;}- if (window.MotionCancelOptimisedAnimation && !this.hasCheckedOptimisedAppear && rv(this), !this.root.isUpdating && this.root.startUpdate(), this.isLayoutDirty) return;- nv(this), this.isLayoutDirty = !0;+ if (window.MotionCancelOptimisedAnimation && !this.hasCheckedOptimisedAppear && nv(this), !this.root.isUpdating && this.root.startUpdate(), this.isLayoutDirty) return;+ tv(this), this.isLayoutDirty = !0;for (let e = 0; e < this.path.length; e++) {let t = this.path[e];- t.shouldResetTransform = !0, nv(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, tv(t), (typeof t.latestValues.x == "string" || typeof t.latestValues.y == "string") && (t.isLayoutDirty = !0), t.updateScroll("snapshot"), t.options.layoutRoot && t.willUpdate(!1), t.isAnimationBlocked && (t.dragSnapshot ||= t.measure(), this.dragAncestor = t);}let { layoutId: t, layout: n } = this.options;if (t === void 0 && !n) return;@@ -18084,14 +18084,14 @@ function iv({ 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(hte), this.nodes.forEach(av);+ this.unblockUpdate(), this.updateBlockedByResize = !1, this.clearAllSnapshots(), e && this.nodes.forEach(gte), this.nodes.forEach(iv);return;}if (this.animationId <= this.animationCommitId) {- this.nodes.forEach(ov);+ this.nodes.forEach(av);return;}- this.animationCommitId = this.animationId, this.isUpdating ? (this.isUpdating = !1, this.nodes.forEach(_te), this.nodes.forEach(vte), this.nodes.forEach(yte), this.nodes.forEach(ute), this.nodes.forEach(dte)) : this.nodes.forEach(ov), this.clearAllSnapshots();+ this.animationCommitId = this.animationId, this.isUpdating ? (this.isUpdating = !1, this.nodes.forEach(vte), this.nodes.forEach(yte), this.nodes.forEach(bte), this.nodes.forEach(dte), this.nodes.forEach(fte)) : this.nodes.forEach(av), this.clearAllSnapshots();let e = Wu.now();Vu.delta = su(0, 1e3 / 60, e - Vu.timestamp), Vu.timestamp = e, Vu.isProcessing = !0, df.update.process(Vu), df.preRender.process(Vu), df.render.process(Vu), Vu.isProcessing = !1;}@@ -18099,7 +18099,7 @@ function iv({ attachResizeListener: e, defaultParent: t, measureScroll: n, checkthis.updateScheduled || (this.updateScheduled = !0, Og.read(this.scheduleUpdate));}clearAllSnapshots() {- this.nodes.forEach(mte), this.sharedNodes.forEach(Cte);+ this.nodes.forEach(hte), this.sharedNodes.forEach(wte);}scheduleUpdateProjection() {this.projectionUpdateScheduled || (this.projectionUpdateScheduled = !0, lf.preRender(this.updateProjection, !1, !0));@@ -18136,13 +18136,13 @@ function iv({ attachResizeListener: e, defaultParent: t, measureScroll: n, checkresetTransform() {if (!i) return;let e = this.isLayoutDirty || this.shouldResetTransform || this.options.alwaysMeasureLayout;- e && nv(this);+ e && tv(this);let t = this.projectionDelta && !F_(this.projectionDelta), n = this.getTransformTemplate(), r = n ? n(this.latestValues, "") : void 0, a = r !== this.prevTransformTemplateValue;e && this.instance && (t || fg(this.latestValues) || a) && (i(this.instance, r), this.shouldResetTransform = !1, this.scheduleRender());}measure(e = !0) {let t = this.measurePageBox(), n = this.removeElementScroll(t);- return e && (n = this.removeTransform(n)), Dte(n), {+ return e && (n = this.removeTransform(n)), Ote(n), {animationId: this.root.animationId,measuredBox: t,layoutBox: n,@@ -18154,7 +18154,7 @@ function iv({ attachResizeListener: e, defaultParent: t, measureScroll: n, checklet { visualElement: e } = this.options;if (!e) return Zg();let t = e.measureViewportBox();- if (!(this.scroll?.wasRoot || this.path.some(Ote))) {+ if (!(this.scroll?.wasRoot || this.path.some(kte))) {let { scroll: e } = this.root;e && (xg(t.x, e.offset.x), xg(t.y, e.offset.y));}@@ -18214,7 +18214,7 @@ function iv({ attachResizeListener: e, defaultParent: t, measureScroll: n, checkif (!this.layout || !(r || i)) return;this.resolvedRelativeTargetAt = Vu.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 = Zg(), this.targetWithTransforms = Zg()), this.relativeTarget && this.relativeTargetOrigin && this.relativeParent && this.relativeParent.target ? (this.forceRelativeParentToResolveTarget(), Jee(this.target, this.relativeTarget, this.relativeParent.target, this.options.layoutAnchor || void 0)) : this.targetDelta ? (this.resumingFrom ? this.applyTransform(this.layout.layoutBox, !1, this.target) : C_(this.target, this.layout.layoutBox), vg(this.target, this.targetDelta)) : C_(this.target, this.layout.layoutBox), this.attemptToResolveRelativeTarget && (this.attemptToResolveRelativeTarget = !1, this.options.layoutAnchor !== !1 && a && !!a.resumingFrom == !!this.resumingFrom && !a.options.layoutScroll && a.target && this.animationProgress !== 1 ? this.createRelativeTarget(a, this.target, a.target) : this.relativeParent = this.relativeTarget = void 0), Kg.value && $_.calculatedTargetDeltas++);+ !this.targetDelta && !this.relativeTarget && (this.options.layoutAnchor !== !1 && a && a.layout ? this.createRelativeTarget(a, this.layout.layoutBox, a.layout.layoutBox) : this.removeRelativeTarget()), (this.relativeTarget || this.targetDelta) && (this.target || (this.target = Zg(), this.targetWithTransforms = Zg()), this.relativeTarget && this.relativeTargetOrigin && this.relativeParent && this.relativeParent.target ? (this.forceRelativeParentToResolveTarget(), Jee(this.target, this.relativeTarget, this.relativeParent.target, this.options.layoutAnchor || void 0)) : this.targetDelta ? (this.resumingFrom ? this.applyTransform(this.layout.layoutBox, !1, this.target) : C_(this.target, this.layout.layoutBox), vg(this.target, this.targetDelta)) : C_(this.target, this.layout.layoutBox), this.attemptToResolveRelativeTarget && (this.attemptToResolveRelativeTarget = !1, this.options.layoutAnchor !== !1 && a && !!a.resumingFrom == !!this.resumingFrom && !a.options.layoutScroll && a.target && this.animationProgress !== 1 ? this.createRelativeTarget(a, this.target, a.target) : this.relativeParent = this.relativeTarget = void 0), Kg.value && Q_.calculatedTargetDeltas++);}getClosestProjectingParent() {if (!(!this.parent || dg(this.parent.latestValues) || pg(this.parent.latestValues))) return this.parent.isProjecting() ? this.parent : this.parent.getClosestProjectingParent();@@ -18237,7 +18237,7 @@ function iv({ attachResizeListener: e, defaultParent: t, measureScroll: n, checklet a = this.treeScale.x, o = this.treeScale.y;cee(this.layoutCorrected, this.treeScale, this.path, t), e.layout && !e.target && (this.treeScale.x !== 1 || this.treeScale.y !== 1) && (e.target = e.layout.layoutBox, e.targetWithTransforms = Zg());let { target: s } = e;- s ? (!this.projectionDelta || !this.prevProjectionDelta ? this.createProjectionDeltas() : (w_(this.prevProjectionDelta.x, this.projectionDelta.x), w_(this.prevProjectionDelta.y, this.projectionDelta.y)), D_(this.projectionDelta, this.layoutCorrected, s, this.latestValues), (this.treeScale.x !== a || this.treeScale.y !== o || !B_(this.projectionDelta.x, this.prevProjectionDelta.x) || !B_(this.projectionDelta.y, this.prevProjectionDelta.y)) && (this.hasProjected = !0, this.scheduleRender(), this.notifyListeners("projectionUpdate", s)), Kg.value && $_.calculatedProjections++) : this.prevProjectionDelta && (this.createProjectionDeltas(), this.scheduleRender());+ s ? (!this.projectionDelta || !this.prevProjectionDelta ? this.createProjectionDeltas() : (w_(this.prevProjectionDelta.x, this.projectionDelta.x), w_(this.prevProjectionDelta.y, this.projectionDelta.y)), D_(this.projectionDelta, this.layoutCorrected, s, this.latestValues), (this.treeScale.x !== a || this.treeScale.y !== o || !B_(this.projectionDelta.x, this.prevProjectionDelta.x) || !B_(this.projectionDelta.y, this.prevProjectionDelta.y)) && (this.hasProjected = !0, this.scheduleRender(), this.notifyListeners("projectionUpdate", s)), Kg.value && Q_.calculatedProjections++) : this.prevProjectionDelta && (this.createProjectionDeltas(), this.scheduleRender());}hide() {this.isVisible = !1;@@ -18258,17 +18258,17 @@ function iv({ attachResizeListener: e, defaultParent: t, measureScroll: n, checksetAnimationOrigin(e, t = !1, n) {let r = this.snapshot, i = r ? r.latestValues : {}, a = { ...this.latestValues }, o = Yg();(!this.relativeParent || !this.relativeParent.options.layoutRoot) && (this.relativeTarget = this.relativeTargetOrigin = void 0), this.attemptToResolveRelativeTarget = !t;- let s = Zg(), c = (r ? r.source : void 0) !== (this.layout ? this.layout.source : void 0), l = this.getStack(), u = !l || l.members.length <= 1, d = !(!c || u || this.options.crossfade !== !0 || this.path.some(Tte));+ let s = Zg(), c = (r ? r.source : void 0) !== (this.layout ? this.layout.source : void 0), l = this.getStack(), u = !l || l.members.length <= 1, d = !(!c || u || this.options.crossfade !== !0 || this.path.some(Ete));this.animationProgress = 0;let f, p = n?.interpolateProjection(e);this.mixTargetDelta = (t) => {let n = t / 1e3, r = p?.(n);- r ? (o.x.translate = r.x, o.x.scale = Vd(e.x.scale, 1, n), o.x.origin = e.x.origin, o.x.originPoint = e.x.originPoint, o.y.translate = r.y, o.y.scale = Vd(e.y.scale, 1, n), o.y.origin = e.y.origin, o.y.originPoint = e.y.originPoint) : (cv(o.x, e.x, n), cv(o.y, e.y, n)), this.setTargetDelta(o), this.relativeTarget && this.relativeTargetOrigin && this.layout && this.relativeParent && this.relativeParent.layout && (A_(s, this.layout.layoutBox, this.relativeParent.layout.layoutBox, this.options.layoutAnchor || void 0), wte(this.relativeTarget, this.relativeTargetOrigin, s, n), f && Qee(this.relativeTarget, f) && (this.isProjectionDirty = !1), f ||= Zg(), C_(f, this.relativeTarget)), c && (this.animationValues = a, nte(a, i, this.latestValues, n, d, u)), r && r.rotate !== void 0 && (this.animationValues ||= a, this.animationValues.pathRotation = r.rotate), this.root.scheduleUpdateProjection(), this.scheduleRender(), this.animationProgress = n;+ r ? (o.x.translate = r.x, o.x.scale = Vd(e.x.scale, 1, n), o.x.origin = e.x.origin, o.x.originPoint = e.x.originPoint, o.y.translate = r.y, o.y.scale = Vd(e.y.scale, 1, n), o.y.origin = e.y.origin, o.y.originPoint = e.y.originPoint) : (sv(o.x, e.x, n), sv(o.y, e.y, n)), this.setTargetDelta(o), this.relativeTarget && this.relativeTargetOrigin && this.layout && this.relativeParent && this.relativeParent.layout && (A_(s, this.layout.layoutBox, this.relativeParent.layout.layoutBox, this.options.layoutAnchor || void 0), Tte(this.relativeTarget, this.relativeTargetOrigin, s, n), f && Qee(this.relativeTarget, f) && (this.isProjectionDirty = !1), f ||= Zg(), C_(f, this.relativeTarget)), c && (this.animationValues = a, nte(a, i, this.latestValues, n, d, u)), r && r.rotate !== void 0 && (this.animationValues ||= a, this.animationValues.pathRotation = r.rotate), this.root.scheduleUpdateProjection(), this.scheduleRender(), this.animationProgress = n;}, this.mixTargetDelta(this.options.layoutRoot ? 1e3 : 0);}startAnimation(e) {this.notifyListeners("animationStart"), this.currentAnimation?.stop(), this.resumingFrom?.currentAnimation?.stop(), this.pendingAnimation &&= (uf(this.pendingAnimation), void 0), this.pendingAnimation = lf.update(() => {- Q_.hasAnimatedSinceResize = !0, this.motionValue ||= qm(0), this.motionValue.jump(0, !1), this.currentAnimation = q_(this.motionValue, [0, 1e3], {+ Z_.hasAnimatedSinceResize = !0, this.motionValue ||= qm(0), this.motionValue.jump(0, !1), this.currentAnimation = q_(this.motionValue, [0, 1e3], {...e,velocity: 0,isSync: !0,@@ -18287,12 +18287,12 @@ function iv({ attachResizeListener: e, defaultParent: t, measureScroll: n, checke && e.exitAnimationComplete(), this.resumingFrom = this.currentAnimation = this.animationValues = void 0, this.notifyListeners("animationComplete");}finishAnimation() {- this.currentAnimation && (this.mixTargetDelta && this.mixTargetDelta(cte), this.currentAnimation.stop()), this.completeAnimation();+ this.currentAnimation && (this.mixTargetDelta && this.mixTargetDelta(lte), 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 && pv(this.options.animationType, this.layout.layoutBox, n.layoutBox)) {+ if (this !== e && this.layout && n && fv(this.options.animationType, this.layout.layoutBox, n.layoutBox)) {i = this.target || Zg();let t = T_(this.layout.layoutBox.x);i.x.min = e.target.x.min, i.x.max = i.x.min + t;@@ -18303,7 +18303,7 @@ function iv({ attachResizeListener: e, defaultParent: t, measureScroll: n, check}}registerSharedNode(e, t) {- this.sharedNodes.has(e) || this.sharedNodes.set(e, new X_()), this.sharedNodes.get(e).add(t);+ this.sharedNodes.has(e) || this.sharedNodes.set(e, new cte()), this.sharedNodes.get(e).add(t);let n = t.options.initialPromotionConfig;t.promote({transition: n ? n.transition : void 0,@@ -18340,8 +18340,8 @@ function iv({ attachResizeListener: e, defaultParent: t, measureScroll: n, checklet t = !1, { latestValues: n } = e;if ((n.z || n.rotate || n.rotateX || n.rotateY || n.rotateZ || n.skewX || n.skewY) && (t = !0), !t) return;let r = {};- n.z && tv("z", e, r, this.animationValues);- for (let t = 0; t < ev.length; t++) tv(`rotate${ev[t]}`, e, r, this.animationValues), tv(`skew${ev[t]}`, e, r, this.animationValues);+ n.z && ev("z", e, r, this.animationValues);+ for (let t = 0; t < $_.length; t++) ev(`rotate${$_[t]}`, e, r, this.animationValues), ev(`skew${$_[t]}`, e, r, this.animationValues);e.render();for (let t in r) e.setStaticValue(t, r[t]), this.animationValues && (this.animationValues[t] = r[t]);e.scheduleRender();@@ -18383,14 +18383,14 @@ function iv({ attachResizeListener: e, defaultParent: t, measureScroll: n, checkthis.resumeFrom = this.snapshot = this.dragSnapshot = this.dragAncestor = void 0;}resetTree() {- this.root.nodes.forEach((e) => e.currentAnimation?.stop()), this.root.nodes.forEach(av), this.root.sharedNodes.clear();+ this.root.nodes.forEach((e) => e.currentAnimation?.stop()), this.root.nodes.forEach(iv), this.root.sharedNodes.clear();}};}-function ute(e) {- e.updateLayout(), gte(e);-}function dte(e) {+ e.updateLayout(), _te(e);+}+function fte(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;@@ -18401,7 +18401,7 @@ function dte(e) {else if (i === "x" || i === "y") {let e = i === "x" ? "y" : "x";S_(a ? t.measuredBox[e] : t.layoutBox[e], n[e]);- } else pv(i, t.layoutBox, n) && V_((r) => {+ } else fv(i, t.layoutBox, n) && V_((r) => {let i = a ? t.measuredBox[r] : t.layoutBox[r], o = T_(n[r]);i.max = i.min + o, e.relativeTarget && !e.currentAnimation && (e.isProjectionDirty = !0, e.relativeTarget[r].max = e.relativeTarget[r].min + o);});@@ -18436,68 +18436,68 @@ function dte(e) {}e.options.transition = void 0;}-function fte(e) {- Kg.value && $_.nodes++, e.parent && (e.isProjecting() || (e.isProjectionDirty = e.parent.isProjectionDirty), e.isSharedProjectionDirty ||= !!(e.isProjectionDirty || e.parent.isProjectionDirty || e.parent.isSharedProjectionDirty), e.isTransformDirty ||= e.parent.isTransformDirty);-}function pte(e) {- e.isProjectionDirty = e.isSharedProjectionDirty = e.isTransformDirty = !1;+ Kg.value && Q_.nodes++, e.parent && (e.isProjecting() || (e.isProjectionDirty = e.parent.isProjectionDirty), e.isSharedProjectionDirty ||= !!(e.isProjectionDirty || e.parent.isProjectionDirty || e.parent.isSharedProjectionDirty), e.isTransformDirty ||= e.parent.isTransformDirty);}function mte(e) {+ e.isProjectionDirty = e.isSharedProjectionDirty = e.isTransformDirty = !1;+}+function hte(e) {e.clearSnapshot();}-function av(e) {+function iv(e) {e.clearMeasurements();}-function hte(e) {+function gte(e) {e.isLayoutDirty = !0, e.updateLayout();}-function ov(e) {+function av(e) {e.isLayoutDirty = !1;}-function gte(e) {+function _te(e) {let { snapshot: t, dragAncestor: n } = e, r = n?.layout;if (!t || !r || e.resumeFrom || e.isAnimationBlocked) return;let i = n.dragSnapshot;V_((e) => xg(t.layoutBox[e], r.layoutBox[e].min - i.layoutBox[e].min));}-function _te(e) {+function vte(e) {e.isAnimationBlocked && e.layout && !e.isLayoutDirty && (e.snapshot = e.dragSnapshot || e.layout, e.isLayoutDirty = !0);}-function vte(e) {+function yte(e) {e.relativeTarget && e.relativeParent?.isLayoutDirty && (e.currentAnimation ? e.isLayoutDirty = !0 : (e.targetDelta = void 0, e.removeRelativeTarget()));}-function yte(e) {+function bte(e) {let { visualElement: t } = e.options;t && t.getProps().onBeforeLayoutMeasure && t.notify("BeforeLayoutMeasure"), e.resetTransform();}-function sv(e) {+function ov(e) {e.finishAnimation(), e.targetDelta = e.relativeTarget = e.target = void 0, e.isProjectionDirty = !0;}-function bte(e) {+function xte(e) {e.resolveTargetDelta();}-function xte(e) {+function Ste(e) {e.calcProjection();}-function Ste(e) {+function Cte(e) {e.resetSkewAndRotation();}-function Cte(e) {+function wte(e) {e.removeLeadSnapshot();}-function cv(e, t, n) {+function sv(e, t, n) {e.translate = Vd(t.translate, 0, n), e.scale = Vd(t.scale, 1, n), e.origin = t.origin, e.originPoint = t.originPoint;}-function lv(e, t, n, r) {+function cv(e, t, n, r) {e.min = Vd(t.min, n.min, r), e.max = Vd(t.max, n.max, r);}-function wte(e, t, n, r) {- lv(e.x, t.x, n.x, r), lv(e.y, t.y, n.y, r);+function Tte(e, t, n, r) {+ cv(e.x, t.x, n.x, r), cv(e.y, t.y, n.y, r);}-function Tte(e) {+function Ete(e) {return e.animationValues && e.animationValues.opacityExit !== void 0;}-var Ete = {+var Dte = {duration: .45,ease: [.4,@@ -18505,75 +18505,75 @@ var Ete = {.1,1]-}, uv = (e) => typeof navigator < "u" && navigator.userAgent && navigator.userAgent.toLowerCase().includes(e), dv = uv("applewebkit/") && !uv("chrome/") ? Math.round : pu;-function fv(e) {- e.min = dv(e.min), e.max = dv(e.max);+}, lv = (e) => typeof navigator < "u" && navigator.userAgent && navigator.userAgent.toLowerCase().includes(e), uv = lv("applewebkit/") && !lv("chrome/") ? Math.round : pu;+function dv(e) {+ e.min = uv(e.min), e.max = uv(e.max);}-function Dte(e) {- fv(e.x), fv(e.y);+function Ote(e) {+ dv(e.x), dv(e.y);}-function pv(e, t, n) {+function fv(e, t, n) {return e === "position" || e === "preserve-aspect" && !qee(z_(t), z_(n), .2);}-function Ote(e) {+function kte(e) {return e !== e.root && e.scroll?.wasRoot;}//#endregion//#region node_modules/motion-dom/dist/es/projection/node/DocumentProjectionNode.mjs-var kte = iv({+var Ate = rv({attachResizeListener: (e, t) => J_(e, "resize", t),measureScroll: () => ({x: document.documentElement.scrollLeft || document.body?.scrollLeft || 0,y: document.documentElement.scrollTop || document.body?.scrollTop || 0}),checkIsScrollRoot: () => !0-}), mv = { current: void 0 }, hv = iv({+}), pv = { current: void 0 }, mv = rv({measureScroll: (e) => ({x: e.scrollLeft,y: e.scrollTop}),defaultParent: () => {- if (!mv.current) {- let e = new kte({});- e.mount(window), e.setOptions({ layoutScroll: !0 }), mv.current = e;+ if (!pv.current) {+ let e = new Ate({});+ e.mount(window), e.setOptions({ layoutScroll: !0 }), pv.current = e;}- return mv.current;+ return pv.current;},resetTransform: (e, t) => {e.style.transform = t === void 0 ? "none" : t;},checkIsScrollRoot: (e) => window.getComputedStyle(e).position === "fixed"-}), gv = (0, D.createContext)({+}), hv = (0, D.createContext)({transformPagePoint: (e) => e,isStatic: !1,reducedMotion: "never"});//#endregion//#region node_modules/framer-motion/dist/es/utils/use-composed-ref.mjs-function _v(e, t) {+function gv(e, t) {if (typeof e == "function") return e(t);e != null && (e.current = t);}-function Ate(...e) {+function jte(...e) {return (t) => {let n = !1, r = e.map((e) => {- let r = _v(e, t);+ let r = gv(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() : _v(e[t], null);+ typeof n == "function" ? n() : gv(e[t], null);}};};}-function jte(...e) {- return D.useCallback(Ate(...e), e);+function Mte(...e) {+ return D.useCallback(jte(...e), e);}//#endregion//#region node_modules/framer-motion/dist/es/components/AnimatePresence/PopChild.mjs-var Mte = class extends D.Component {+var Nte = class extends D.Component {getSnapshotBeforeUpdate(e) {let t = this.props.childRef.current;if (Gh(t) && e.isPresent && !this.props.isPresent && this.props.pop !== !1) {@@ -18587,7 +18587,7 @@ var Mte = class extends D.Component {return this.props.children;}};-function Nte({ children: e, isPresent: t, anchorX: n, anchorY: r, root: i, pop: a }) {+function Pte({ children: e, isPresent: t, anchorX: n, anchorY: r, root: i, pop: a }) {let o = (0, D.useId)(), s = (0, D.useRef)(null), c = (0, D.useRef)({width: 0,height: 0,@@ -18596,7 +18596,7 @@ function Nte({ children: e, isPresent: t, anchorX: n, anchorY: r, root: i, pop:right: 0,bottom: 0,direction: "ltr"- }), { nonce: l } = (0, D.useContext)(gv), u = jte(s, a === !1 ? void 0 : e.props?.ref ?? e?.ref);+ }), { nonce: l } = (0, D.useContext)(hv), u = Mte(s, a === !1 ? void 0 : e.props?.ref ?? e?.ref);return (0, D.useInsertionEffect)(() => {let { width: e, height: u, top: d, left: f, right: p, bottom: m, direction: h } = c.current;if (t || a === !1 || !s.current || !e || !u) return;@@ -18616,7 +18616,7 @@ function Nte({ children: e, isPresent: t, anchorX: n, anchorY: r, root: i, pop:`), () => {s.current?.removeAttribute("data-motion-pop-id"), S.contains(x) && S.removeChild(x);};- }, [t]), (0, O.jsx)(Mte, {+ }, [t]), (0, O.jsx)(Nte, {isPresent: t,childRef: s,sizeRef: c,@@ -18626,8 +18626,8 @@ function Nte({ children: e, isPresent: t, anchorX: n, anchorY: r, root: i, pop:}//#endregion//#region node_modules/framer-motion/dist/es/components/AnimatePresence/PresenceChild.mjs-var Pte = ({ children: e, initial: t, isPresent: n, onExitComplete: r, custom: i, presenceAffectsLayout: a, mode: o, anchorX: s, anchorY: c, root: l }) => {- let u = nu(Fte), d = (0, D.useId)(), f = (0, D.useRef)(n), p = (0, D.useRef)(r);+var Fte = ({ children: e, initial: t, isPresent: n, onExitComplete: r, custom: i, presenceAffectsLayout: a, mode: o, anchorX: s, anchorY: c, root: l }) => {+ let u = nu(Ite), d = (0, D.useId)(), f = (0, D.useRef)(n), p = (0, D.useRef)(r);ru(() => {f.current = n, p.current = r;});@@ -18653,7 +18653,7 @@ var Pte = ({ children: e, initial: t, isPresent: n, onExitComplete: r, custom: iu.forEach((e, t) => u.set(t, !1));}, [n]), D.useEffect(() => {!n && !u.size && r && r();- }, [n]), e = (0, O.jsx)(Nte, {+ }, [n]), e = (0, O.jsx)(Pte, {pop: o === "popLayout",isPresent: n,anchorX: s,@@ -18665,12 +18665,12 @@ var Pte = ({ children: e, initial: t, isPresent: n, onExitComplete: r, custom: ichildren: e});};-function Fte() {+function Ite() {return /* @__PURE__ */ new Map();}//#endregion//#region node_modules/framer-motion/dist/es/components/AnimatePresence/use-presence.mjs-function vv(e = !0) {+function _v(e = !0) {let t = (0, D.useContext)(iu);if (t === null) return [!0, null];let { isPresent: n, onExitComplete: r, register: i } = t, a = (0, D.useId)();@@ -18684,16 +18684,16 @@ function vv(e = !0) {]);return !n && r ? [!1, o] : [!0];}-function yv() {- return Ite((0, D.useContext)(iu));+function vv() {+ return Lte((0, D.useContext)(iu));}-function Ite(e) {+function Lte(e) {return e === null || e.isPresent;}//#endregion//#region node_modules/framer-motion/dist/es/components/AnimatePresence/utils.mjs-var bv = (e) => e.key || "";-function xv(e) {+var yv = (e) => e.key || "";+function bv(e) {let t = [];return D.Children.forEach(e, (e) => {(0, D.isValidElement)(e) && t.push(e);@@ -18701,8 +18701,8 @@ function xv(e) {}//#endregion//#region node_modules/framer-motion/dist/es/components/AnimatePresence/index.mjs-var Sv = ({ 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] = vv(o), f = (0, D.useMemo)(() => xv(e), [e]), p = o && !u ? [] : f.map(bv), m = (0, D.useRef)(!0), h = nu(() => /* @__PURE__ */ new Map()), g = (0, D.useRef)(/* @__PURE__ */ new Set()), [_, v] = (0, D.useState)(f), [y, b] = (0, D.useState)(f);+var xv = ({ 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] = _v(o), f = (0, D.useMemo)(() => bv(e), [e]), p = o && !u ? [] : f.map(yv), m = (0, D.useRef)(!0), h = nu(() => /* @__PURE__ */ new Map()), g = (0, D.useRef)(/* @__PURE__ */ new Set()), [_, v] = (0, D.useState)(f), [y, b] = (0, D.useState)(f);ru(() => {o && !u && !y.length && d?.();}, [@@ -18713,7 +18713,7 @@ var Sv = ({ children: e, custom: t, initial: n = !0, onExitComplete: r, presence]), ru(() => {m.current = !1;for (let e = 0; e < y.length; e++) {- let t = bv(y[e]);+ let t = yv(y[e]);p.includes(t) ? (h.delete(t), g.current.delete(t)) : h.get(t) !== !0 && h.set(t, !1);}}, [@@ -18725,15 +18725,15 @@ var Sv = ({ 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(bv(n));+ let r = p.indexOf(yv(n));r === -1 ? (e.splice(t++, 0, n), x.push(n)) : t = r + x.length + 1;}- return x.every((e) => h.get(bv(e))) ? e = f : a === "wait" && (e = x), b(xv(e)), v(f), null;+ return x.every((e) => h.get(yv(e))) ? e = f : a === "wait" && (e = x), b(bv(e)), v(f), null;}let { forceRender: S } = (0, D.useContext)(tu);return (0, O.jsx)(O.Fragment, { children: y.map((e) => {- let _ = bv(e), b = o && !u ? !1 : f === y || p.includes(_);- return (0, O.jsx)(Pte, {+ let _ = yv(e), b = o && !u ? !1 : f === y || p.includes(_);+ return (0, O.jsx)(Fte, {isPresent: b,initial: !m.current || n ? void 0 : !1,custom: t,@@ -18754,7 +18754,7 @@ var Sv = ({ children: e, custom: t, initial: n = !0, onExitComplete: r, presencechildren: e}, _);}) });-}, Cv = (0, D.createContext)({ strict: !1 }), wv = {+}, Sv = (0, D.createContext)({ strict: !1 }), Cv = {animation: ["animate","variants",@@ -18791,20 +18791,20 @@ var Sv = ({ children: e, custom: t, initial: n = !0, onExitComplete: r, presence"onViewportLeave"],layout: ["layout", "layoutId"]-}, Tv = !1;-function Lte() {- if (Tv) return;+}, wv = !1;+function Rte() {+ if (wv) return;let e = {};- for (let t in wv) e[t] = { isEnabled: (e) => wv[t].some((t) => !!e[t]) };- u_(e), Tv = !0;+ for (let t in Cv) e[t] = { isEnabled: (e) => Cv[t].some((t) => !!e[t]) };+ u_(e), wv = !0;}-function Ev() {- return Lte(), Pee();+function Tv() {+ return Rte(), Pee();}//#endregion//#region node_modules/framer-motion/dist/es/motion/features/load-features.mjs-function Rte(e) {- let t = Ev();+function zte(e) {+ let t = Tv();for (let n in e) t[n] = {...t[n],...e[n]@@ -18813,8 +18813,8 @@ function Rte(e) {}//#endregion//#region node_modules/framer-motion/dist/es/components/MotionConfig/index.mjs-function zte({ children: e, ...t }) {- let n = (0, D.useContext)(gv);+function Bte({ children: e, ...t }) {+ let n = (0, D.useContext)(hv);t = {...n,...t@@ -18826,17 +18826,17 @@ function zte({ children: e, ...t }) {t.skipAnimations,t.isValidProp]);- return (0, O.jsx)(gv.Provider, {+ return (0, O.jsx)(hv.Provider, {value: r,children: e});}//#endregion//#region node_modules/framer-motion/dist/es/context/MotionContext/index.mjs-var Dv = /* @__PURE__ */ (0, D.createContext)({});+var Ev = /* @__PURE__ */ (0, D.createContext)({});//#endregion//#region node_modules/framer-motion/dist/es/context/MotionContext/utils.mjs-function Bte(e, t) {+function Vte(e, t) {if (r_(e)) {let { initial: t, animate: n } = e;return {@@ -18848,19 +18848,19 @@ function Bte(e, t) {}//#endregion//#region node_modules/framer-motion/dist/es/context/MotionContext/create.mjs-function Vte(e) {- let { initial: t, animate: n } = Bte(e, (0, D.useContext)(Dv));+function Hte(e) {+ let { initial: t, animate: n } = Vte(e, (0, D.useContext)(Ev));return (0, D.useMemo)(() => ({initial: t,animate: n- }), [Ov(t), Ov(n)]);+ }), [Dv(t), Dv(n)]);}-function Ov(e) {+function Dv(e) {return Array.isArray(e) ? e.join(" ") : e;}//#endregion//#region node_modules/framer-motion/dist/es/render/html/utils/create-render-state.mjs-var kv = () => ({+var Ov = () => ({style: {},transform: {},transformOrigin: {},@@ -18868,34 +18868,34 @@ var kv = () => ({});//#endregion//#region node_modules/framer-motion/dist/es/render/html/use-props.mjs-function Av(e, t, n) {+function kv(e, t, n) {for (let r in t) !gh(t[r]) && !h_(r, n) && (e[r] = t[r]);}-function Hte({ transformTemplate: e }, t) {+function Ute({ transformTemplate: e }, t) {return (0, D.useMemo)(() => {- let n = kv();+ let n = Ov();return ig(n, t, e), Object.assign({}, n.vars, n.style);}, [t]);}-function Ute(e, t) {+function Wte(e, t) {let n = e.style || {}, r = {};- return Av(r, n, e), Object.assign(r, Hte(e, t)), r;+ return kv(r, n, e), Object.assign(r, Ute(e, t)), r;}-function Wte(e, t) {- let n = {}, r = Ute(e, t);+function Gte(e, t) {+ let n = {}, r = Wte(e, t);return e.drag && e.dragListener !== !1 && (n.draggable = !1, r.userSelect = r.WebkitUserSelect = r.WebkitTouchCallout = "none", r.touchAction = e.drag === !0 ? "none" : `pan-${e.drag === "x" ? "y" : "x"}`), e.tabIndex === void 0 && (e.onTap || e.onTapStart || e.whileTap) && (n.tabIndex = 0), n.style = r, n;}//#endregion//#region node_modules/framer-motion/dist/es/render/svg/utils/create-render-state.mjs-var jv = () => ({- ...kv(),+var Av = () => ({+ ...Ov(),attrs: {}});//#endregion//#region node_modules/framer-motion/dist/es/render/svg/use-props.mjs-function Gte(e, t, n, r) {+function Kte(e, t, n, r) {let i = (0, D.useMemo)(() => {- let n = jv();+ let n = Av();return og(n, t, v_(r), e.transformTemplate, e.style), {...n.attrs,style: { ...n.style }@@ -18903,7 +18903,7 @@ function Gte(e, t, n, r) {}, [t]);if (e.style) {let t = {};- Av(t, e.style, e), i.style = {+ kv(t, e.style, e), i.style = {...t,...i.style};@@ -18912,23 +18912,23 @@ function Gte(e, t, n, r) {}//#endregion//#region node_modules/framer-motion/dist/es/motion/utils/valid-prop.mjs-var Kte = /* @__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 Mv(e) {- return e.startsWith("while") || e.startsWith("drag") && e !== "draggable" || e.startsWith("layout") || e.startsWith("onTap") || e.startsWith("onPan") || e.startsWith("onLayout") || Kte.has(e);+var qte = /* @__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 jv(e) {+ return e.startsWith("while") || e.startsWith("drag") && e !== "draggable" || e.startsWith("layout") || e.startsWith("onTap") || e.startsWith("onPan") || e.startsWith("onLayout") || qte.has(e);}//#endregion//#region node_modules/framer-motion/dist/es/render/dom/utils/filter-props.mjs-function qte(e, t) {- return e.startsWith("on") ? !Mv(e) : t?.(e) ?? !Mv(e);+function Jte(e, t) {+ return e.startsWith("on") ? !jv(e) : t?.(e) ?? !jv(e);}-function Jte(e, t, n, r) {+function Yte(e, t, n, r) {let i = {};- for (let a in e) (a !== "values" || typeof e.values != "object") && (gh(e[a]) || (qte(a, r) || n === !0 && Mv(a) || !t && !Mv(a) || e.draggable && a.startsWith("onDrag")) && (i[a] = e[a]));+ for (let a in e) (a !== "values" || typeof e.values != "object") && (gh(e[a]) || (Jte(a, r) || n === !0 && jv(a) || !t && !jv(a) || e.draggable && a.startsWith("onDrag")) && (i[a] = e[a]));return i;}//#endregion//#region node_modules/framer-motion/dist/es/render/svg/lowercase-elements.mjs-var Yte = [+var Xte = ["animate","circle","defs",@@ -18957,13 +18957,13 @@ var Yte = [];//#endregion//#region node_modules/framer-motion/dist/es/render/dom/utils/is-svg-component.mjs-function Nv(e) {- return typeof e != "string" || e.includes("-") ? !1 : !!(Yte.indexOf(e) > -1 || /[A-Z]/u.test(e));+function Mv(e) {+ return typeof e != "string" || e.includes("-") ? !1 : !!(Xte.indexOf(e) > -1 || /[A-Z]/u.test(e));}//#endregion//#region node_modules/framer-motion/dist/es/render/dom/use-render.mjs-function Xte(e, t, n, { latestValues: r }, i, a = !1, o, s) {- let c = (o ?? Nv(e) ? Gte : Wte)(t, r, i, e), l = Jte(t, typeof e == "string", a, s), u = e === D.Fragment ? {} : {+function Zte(e, t, n, { latestValues: r }, i, a = !1, o, s) {+ let c = (o ?? Mv(e) ? Kte : Gte)(t, r, i, e), l = Yte(t, typeof e == "string", a, s), u = e === D.Fragment ? {} : {...l,...c,ref: n@@ -18975,13 +18975,13 @@ function Xte(e, t, n, { latestValues: r }, i, a = !1, o, s) {}//#endregion//#region node_modules/framer-motion/dist/es/motion/utils/use-visual-state.mjs-function Zte({ scrapeMotionValuesFromProps: e, createRenderState: t }, n, r, i) {+function Qte({ scrapeMotionValuesFromProps: e, createRenderState: t }, n, r, i) {return {- latestValues: Qte(n, r, i, e),+ latestValues: $te(n, r, i, e),renderState: t()};}-function Qte(e, t, n, r) {+function $te(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 = r_(e), l = i_(e);@@ -19009,19 +19009,19 @@ function Qte(e, t, n, r) {}return i;}-var Pv = (e) => (t, n) => {- let r = (0, D.useContext)(Dv), i = (0, D.useContext)(iu), a = () => Zte(e, t, r, i);+var Nv = (e) => (t, n) => {+ let r = (0, D.useContext)(Ev), i = (0, D.useContext)(iu), a = () => Qte(e, t, r, i);return n ? a() : nu(a);-}, $te = /*@__PURE__*/ Pv({+}, ene = /*@__PURE__*/ Nv({scrapeMotionValuesFromProps: g_,- createRenderState: kv-}), ene = /*@__PURE__*/ Pv({+ createRenderState: Ov+}), tne = /*@__PURE__*/ Nv({scrapeMotionValuesFromProps: y_,- createRenderState: jv-}), tne = Symbol.for("motionComponentSymbol");+ createRenderState: Av+}), nne = Symbol.for("motionComponentSymbol");//#endregion//#region node_modules/framer-motion/dist/es/motion/utils/use-motion-ref.mjs-function nne(e, t, n) {+function rne(e, t, n) {let r = (0, D.useRef)(n);(0, D.useInsertionEffect)(() => {r.current = n;@@ -19040,16 +19040,16 @@ function nne(e, t, n) {}//#endregion//#region node_modules/framer-motion/dist/es/context/SwitchLayoutGroupContext.mjs-var Fv = (0, D.createContext)({});+var Pv = (0, D.createContext)({});//#endregion//#region node_modules/framer-motion/dist/es/utils/is-ref-object.mjs-function Iv(e) {+function Fv(e) {return e && typeof e == "object" && Object.prototype.hasOwnProperty.call(e, "current");}//#endregion//#region node_modules/framer-motion/dist/es/motion/utils/use-visual-element.mjs-function rne(e, t, n, r, i, a) {- let { visualElement: o } = (0, D.useContext)(Dv), s = (0, D.useContext)(Cv), c = (0, D.useContext)(iu), l = (0, D.useContext)(gv), u = l.reducedMotion, d = l.skipAnimations, f = (0, D.useRef)(null), p = (0, D.useRef)(!1);+function ine(e, t, n, r, i, a) {+ let { visualElement: o } = (0, D.useContext)(Ev), s = (0, D.useContext)(Sv), c = (0, D.useContext)(iu), l = (0, D.useContext)(hv), u = l.reducedMotion, d = l.skipAnimations, f = (0, D.useRef)(null), p = (0, D.useRef)(!1);r ||= s.renderer, !f.current && r && (f.current = r(e, {visualState: t,parent: o,@@ -19060,8 +19060,8 @@ function rne(e, t, n, r, i, a) {skipAnimations: d,isSVG: a}), p.current && f.current && (f.current.manuallyAnimateOnMount = !0));- let m = f.current, h = (0, D.useContext)(Fv);- m && !m.projection && i && (m.type === "html" || m.type === "svg") && ine(f.current, n, i, h);+ let m = f.current, h = (0, D.useContext)(Pv);+ m && !m.projection && i && (m.type === "html" || m.type === "svg") && ane(f.current, n, i, h);let g = (0, D.useRef)(!1);(0, D.useInsertionEffect)(() => {m && g.current && m.update(n, c);@@ -19077,12 +19077,12 @@ function rne(e, t, n, r, i, a) {}), !1), m.enteringChildren = void 0);}), m;}-function ine(e, t, n, r) {+function ane(e, t, n, r) {let { layoutId: i, layout: a, drag: o, dragConstraints: s, layoutScroll: c, layoutRoot: l, layoutAnchor: u, layoutCrossfade: d } = t;- e.projection = new n(e.latestValues, t["data-framer-portal-id"] ? void 0 : Lv(e.parent)), e.projection.setOptions({+ e.projection = new n(e.latestValues, t["data-framer-portal-id"] ? void 0 : Iv(e.parent)), e.projection.setOptions({layoutId: i,layout: a,- alwaysMeasureLayout: !!o || s && Iv(s),+ alwaysMeasureLayout: !!o || s && Fv(s),visualElement: e,animationType: typeof a == "string" ? a : "both",initialPromotionConfig: r,@@ -19092,46 +19092,46 @@ function ine(e, t, n, r) {layoutAnchor: u});}-function Lv(e) {- if (e) return e.options.allowProjection === !1 ? Lv(e.parent) : e.projection;+function Iv(e) {+ if (e) return e.options.allowProjection === !1 ? Iv(e.parent) : e.projection;}//#endregion//#region node_modules/framer-motion/dist/es/motion/index.mjs-function Rv(e, { forwardMotionProps: t = !1, type: n } = {}, r, i) {- r && Rte(r);- let a = n ? n === "svg" : Nv(e), o = a ? ene : $te;+function Lv(e, { forwardMotionProps: t = !1, type: n } = {}, r, i) {+ r && zte(r);+ let a = n ? n === "svg" : Mv(e), o = a ? tne : ene;function s(n, s) {let c, l = {- ...(0, D.useContext)(gv),+ ...(0, D.useContext)(hv),...n,- layoutId: ane(n)- }, { isStatic: u, isValidProp: d } = l, f = Vte(n), p = o(n, u);+ layoutId: one(n)+ }, { isStatic: u, isValidProp: d } = l, f = Hte(n), p = o(n, u);if (!u && typeof window < "u") {- one(l, r);- let t = sne(l);- c = t.MeasureLayout, f.visualElement = rne(e, p, l, i, t.ProjectionNode, a);+ sne(l, r);+ let t = cne(l);+ c = t.MeasureLayout, f.visualElement = ine(e, p, l, i, t.ProjectionNode, a);}- return (0, O.jsxs)(Dv.Provider, {+ return (0, O.jsxs)(Ev.Provider, {value: f,children: [c && f.visualElement ? (0, O.jsx)(c, {visualElement: f.visualElement,...l- }) : null, Xte(e, n, nne(p, f.visualElement, s), p, u, t, a, d)]+ }) : null, Zte(e, n, rne(p, f.visualElement, s), p, u, t, a, d)]});}s.displayName = `motion.${typeof e == "string" ? e : `create(${e.displayName ?? e.name ?? ""})`}`;let c = (0, D.forwardRef)(s);- return c[tne] = e, c;+ return c[nne] = e, c;}-function ane({ layoutId: e }) {+function one({ layoutId: e }) {let t = (0, D.useContext)(tu).id;return t && e !== void 0 ? t + "-" + e : e;}-function one(e, t) {- (0, D.useContext)(Cv).strict;+function sne(e, t) {+ (0, D.useContext)(Sv).strict;}-function sne(e) {- let { drag: t, layout: n } = Ev();+function cne(e) {+ let { drag: t, layout: n } = Tv();if (!t && !n) return {};let r = {...t,@@ -19144,14 +19144,14 @@ function sne(e) {}//#endregion//#region node_modules/framer-motion/dist/es/render/components/create-proxy.mjs-function cne(e, t) {- if (typeof Proxy > "u") return Rv;- let n = /* @__PURE__ */ new Map(), r = (n, r) => Rv(n, r, e, t);- return new Proxy((e, t) => r(e, t), { get: (i, a) => a === "create" ? r : (n.has(a) || n.set(a, Rv(a, void 0, e, t)), n.get(a)) });+function lne(e, t) {+ if (typeof Proxy > "u") return Lv;+ let n = /* @__PURE__ */ new Map(), r = (n, r) => Lv(n, r, e, t);+ return new Proxy((e, t) => r(e, t), { get: (i, a) => a === "create" ? r : (n.has(a) || n.set(a, Lv(a, void 0, e, t)), n.get(a)) });}//#endregion//#region node_modules/framer-motion/dist/es/render/dom/create-visual-element.mjs-var lne = (e, t) => t.isSVG ?? Nv(e) ? new zee(t) : new Lee(t, { allowProjection: e !== D.Fragment }), une = class extends f_ {+var une = (e, t) => t.isSVG ?? Mv(e) ? new zee(t) : new Lee(t, { allowProjection: e !== D.Fragment }), dne = class extends f_ {constructor(e) {super(e), e.animationState ||= Vee(e);}@@ -19169,11 +19169,11 @@ var lne = (e, t) => t.isSVG ?? Nv(e) ? new zee(t) : new Lee(t, { allowProjectionunmount() {this.node.animationState.reset(), this.unmountControls?.();}-}, dne = 0, fne = {- animation: { Feature: une },+}, fne = 0, pne = {+ animation: { Feature: dne },exit: { Feature: class extends f_ {constructor() {- super(...arguments), this.id = dne++;+ super(...arguments), this.id = fne++;}update() {let { presenceContext: e, prevPresenceContext: t, animationState: n } = this.node;@@ -19206,28 +19206,28 @@ var lne = (e, t) => t.isSVG ?? Nv(e) ? new zee(t) : new Lee(t, { allowProjection};//#endregion//#region node_modules/framer-motion/dist/es/events/event-info.mjs-function zv(e) {+function Rv(e) {return { point: {x: e.pageX,y: e.pageY} };}-var pne = (e) => (t) => Ng(t) && e(t, zv(t));+var mne = (e) => (t) => Ng(t) && e(t, Rv(t));//#endregion//#region node_modules/framer-motion/dist/es/events/add-pointer-event.mjs-function Bv(e, t, n, r) {- return J_(e, t, pne(n), r);+function zv(e, t, n, r) {+ return J_(e, t, mne(n), r);}//#endregion//#region node_modules/framer-motion/dist/es/utils/get-context-window.mjs-var Vv = ({ current: e }) => e ? e.ownerDocument.defaultView : null, Hv = (e, t) => Math.abs(e - t);-function mne(e, t) {- let n = Hv(e.x, t.x), r = Hv(e.y, t.y);+var Bv = ({ current: e }) => e ? e.ownerDocument.defaultView : null, Vv = (e, t) => Math.abs(e - t);+function hne(e, t) {+ let n = Vv(e.x, t.x), r = Vv(e.y, t.y);return Math.sqrt(n ** 2 + r ** 2);}//#endregion//#region node_modules/framer-motion/dist/es/gestures/pan/PanSession.mjs-var Uv = /*#__PURE__*/ new Set(["auto", "scroll"]), Wv = class {+var Hv = /*#__PURE__*/ new Set(["auto", "scroll"]), Uv = class {constructor(e, t, { transformPagePoint: n, contextWindow: r = window, dragSnapToOrigin: i = !1, distanceThreshold: a = 3, element: o } = {}) {if (this.startEvent = null, this.lastMoveEvent = null, this.lastMoveEventInfo = null, this.lastRawMoveEventInfo = null, this.handlers = {}, this.contextWindow = window, this.scrollPositions = /* @__PURE__ */ new Map(), this.removeScrollListeners = null, this.onElementScroll = (e) => {this.handleScroll(e.target);@@ -19235,8 +19235,8 @@ var Uv = /*#__PURE__*/ new Set(["auto", "scroll"]), Wv = class {this.handleScroll(window);}, this.updatePoint = () => {if (!(this.lastMoveEvent && this.lastMoveEventInfo)) return;- this.hasPendingMove = !1, this.lastRawMoveEventInfo && (this.lastMoveEventInfo = Gv(this.lastRawMoveEventInfo, this.transformPagePoint));- let e = qv(this.lastMoveEventInfo, this.history), t = this.startEvent !== null, n = mne(e.offset, {+ this.hasPendingMove = !1, this.lastRawMoveEventInfo && (this.lastMoveEventInfo = Wv(this.lastRawMoveEventInfo, this.transformPagePoint));+ let e = Kv(this.lastMoveEventInfo, this.history), t = this.startEvent !== null, n = hne(e.offset, {x: 0,y: 0}) >= this.distanceThreshold;@@ -19249,33 +19249,33 @@ var Uv = /*#__PURE__*/ new Set(["auto", "scroll"]), Wv = class {let { onStart: i, onMove: a } = this.handlers;t || (i && i(this.lastMoveEvent, e), this.startEvent = this.lastMoveEvent), a && a(this.lastMoveEvent, e);}, this.handlePointerMove = (e, t) => {- this.lastMoveEvent = e, this.lastRawMoveEventInfo = t, this.lastMoveEventInfo = Gv(t, this.transformPagePoint), this.hasPendingMove = !0, lf.update(this.updatePoint, !0);+ this.lastMoveEvent = e, this.lastRawMoveEventInfo = t, this.lastMoveEventInfo = Wv(t, this.transformPagePoint), this.hasPendingMove = !0, lf.update(this.updatePoint, !0);}, this.handlePointerUp = (e, t) => {this.hasPendingMove && this.updatePoint(), this.end();let { onEnd: n, onSessionEnd: r, resumeAnimation: i } = this.handlers;if ((this.dragSnapToOrigin || !this.startEvent) && i && i(), !(this.lastMoveEvent && this.lastMoveEventInfo)) return;- let a = qv(e.type === "pointercancel" ? this.lastMoveEventInfo : Gv(t, this.transformPagePoint), this.history);+ let a = Kv(e.type === "pointercancel" ? this.lastMoveEventInfo : Wv(t, this.transformPagePoint), this.history);this.startEvent && n && n(e, a), r && r(e, a);}, !Ng(e)) return;this.dragSnapToOrigin = i, this.handlers = t, this.transformPagePoint = n, this.distanceThreshold = a, this.contextWindow = r || window;- let s = Gv(zv(e), this.transformPagePoint), { point: c } = s, { timestamp: l } = Vu;+ let s = Wv(Rv(e), this.transformPagePoint), { point: c } = s, { timestamp: l } = Vu;this.history = [{...c,timestamp: l}];let { onSessionStart: u } = t;- u && u(e, qv(s, this.history));+ u && u(e, Kv(s, this.history));let d = {passive: !0,capture: !0};- this.removeListeners = mu(Bv(this.contextWindow, "pointermove", this.handlePointerMove, d), Bv(this.contextWindow, "pointerup", this.handlePointerUp, d), Bv(this.contextWindow, "pointercancel", this.handlePointerUp, d)), o && this.startScrollTracking(o);+ this.removeListeners = mu(zv(this.contextWindow, "pointermove", this.handlePointerMove, d), zv(this.contextWindow, "pointerup", this.handlePointerUp, d), zv(this.contextWindow, "pointercancel", this.handlePointerUp, d)), o && this.startScrollTracking(o);}startScrollTracking(e) {let t = e.parentElement;for (; t;) {let e = getComputedStyle(t);- (Uv.has(e.overflowX) || Uv.has(e.overflowY)) && this.scrollPositions.set(t, {+ (Hv.has(e.overflowX) || Hv.has(e.overflowY)) && this.scrollPositions.set(t, {x: t.scrollLeft,y: t.scrollTop}), t = t.parentElement;@@ -19309,35 +19309,35 @@ var Uv = /*#__PURE__*/ new Set(["auto", "scroll"]), Wv = class {this.removeListeners && this.removeListeners(), this.removeScrollListeners && this.removeScrollListeners(), this.scrollPositions.clear(), uf(this.updatePoint);}};-function Gv(e, t) {+function Wv(e, t) {return t ? { point: t(e.point) } : e;}-function Kv(e, t) {+function Gv(e, t) {return {x: e.x - t.x,y: e.y - t.y};}-function qv({ point: e }, t) {+function Kv({ point: e }, t) {return {point: e,- delta: Kv(e, Jv(t)),- offset: Kv(e, hne(t)),- velocity: gne(t, .1)+ delta: Gv(e, qv(t)),+ offset: Gv(e, gne(t)),+ velocity: _ne(t, .1)};}-function hne(e) {+function gne(e) {return e[0];}-function Jv(e) {+function qv(e) {return e[e.length - 1];}-function gne(e, t) {+function _ne(e, t) {if (e.length < 2) return {x: 0,y: 0};- let n = e.length - 1, r = null, i = Jv(e);+ let n = e.length - 1, r = null, i = qv(e);for (; n >= 0 && (r = e[n], !(i.timestamp - r.timestamp > /* @__PURE__ */ _u(t)));) n--;if (!r) return {x: 0,@@ -19357,61 +19357,61 @@ function gne(e, t) {}//#endregion//#region node_modules/framer-motion/dist/es/gestures/drag/utils/constraints.mjs-function _ne(e, { min: t, max: n }, r) {+function vne(e, { min: t, max: n }, r) {return t !== void 0 && e < t ? e = r ? Vd(t, e, r.min) : Math.max(e, t) : n !== void 0 && e > n && (e = r ? Vd(n, e, r.max) : Math.min(e, n)), e;}-function Yv(e, t, n) {+function Jv(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 vne(e, { top: t, left: n, bottom: r, right: i }) {+function yne(e, { top: t, left: n, bottom: r, right: i }) {return {- x: Yv(e.x, n, i),- y: Yv(e.y, t, r)+ x: Jv(e.x, n, i),+ y: Jv(e.y, t, r)};}-function Xv(e, t) {+function Yv(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 yne(e, t) {+function bne(e, t) {return {- x: Xv(e.x, t.x),- y: Xv(e.y, t.y)+ x: Yv(e.x, t.x),+ y: Yv(e.y, t.y)};}-function bne(e, t) {+function xne(e, t) {let n = .5, r = T_(e), i = T_(t);return i > r ? n = /* @__PURE__ */ hu(t.min, t.max - r, e.min) : r > i && (n = /* @__PURE__ */ hu(e.min, e.max - i, t.min)), su(0, 1, n);}-function xne(e, t) {+function Sne(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 Zv = .35;-function Sne(e = Zv) {- return e === !1 ? e = 0 : e === !0 && (e = Zv), {- x: Qv(e, "left", "right"),- y: Qv(e, "top", "bottom")+var Xv = .35;+function Cne(e = Xv) {+ return e === !1 ? e = 0 : e === !0 && (e = Xv), {+ x: Zv(e, "left", "right"),+ y: Zv(e, "top", "bottom")};}-function Qv(e, t, n) {+function Zv(e, t, n) {return {- min: $v(e, t),- max: $v(e, n)+ min: Qv(e, t),+ max: Qv(e, n)};}-function $v(e, t) {+function Qv(e, t) {return typeof e == "number" ? e : e[t] || 0;}//#endregion//#region node_modules/framer-motion/dist/es/gestures/drag/VisualElementDragControls.mjs-var Cne = /* @__PURE__ */ new WeakMap(), wne = class {+var wne = /* @__PURE__ */ new WeakMap(), Tne = class {constructor(e) {this.openDragLock = null, this.isDragging = !1, this.currentDirection = null, this.originPoint = {x: 0,@@ -19444,7 +19444,7 @@ var Cne = /* @__PURE__ */ new WeakMap(), wne = class {let { dragPropagation: n, dragDirectionLock: r, onDirectionLock: i, onDrag: a } = this.getProps();if (!n && !this.openDragLock) return;let { offset: o } = t;- r && this.currentDirection === null ? (this.currentDirection = Ene(o), this.currentDirection !== null && i && i(this.currentDirection)) : (this.updateAxis("x", t.point, o), this.updateAxis("y", t.point, o), this.visualElement.render(), a && lf.update(() => a(e, t), !1, !0));+ r && this.currentDirection === null ? (this.currentDirection = Dne(o), this.currentDirection !== null && i && i(this.currentDirection)) : (this.updateAxis("x", t.point, o), this.updateAxis("y", t.point, o), this.visualElement.render(), a && lf.update(() => a(e, t), !1, !0));}, s = (e, t) => {this.latestPointerEvent = e, this.latestPanInfo = t, this.stop(e, t), this.latestPointerEvent = null, this.latestPanInfo = null;}, c = () => {@@ -19454,7 +19454,7 @@ var Cne = /* @__PURE__ */ new WeakMap(), wne = class {y: 0});}, { dragSnapToOrigin: l } = this.getProps();- this.panSession = new Wv(e, {+ this.panSession = new Uv(e, {onSessionStart: i,onStart: a,onMove: o,@@ -19464,7 +19464,7 @@ var Cne = /* @__PURE__ */ new WeakMap(), wne = class {transformPagePoint: this.visualElement.getTransformPagePoint(),dragSnapToOrigin: l,distanceThreshold: n,- contextWindow: Vv(this.visualElement),+ contextWindow: Bv(this.visualElement),element: this.visualElement.current});}@@ -19488,23 +19488,23 @@ var Cne = /* @__PURE__ */ new WeakMap(), wne = class {}updateAxis(e, t, n) {let { drag: r } = this.getProps();- if (!n || !ty(e, r, this.currentDirection)) return;+ if (!n || !ey(e, r, this.currentDirection)) return;let i = this.getAxisMotionValue(e), a = this.originPoint[e] + n[e];- this.constraints && this.constraints[e] && (a = _ne(a, this.constraints[e], this.elastic[e])), i.set(a);+ this.constraints && this.constraints[e] && (a = vne(a, this.constraints[e], this.elastic[e])), i.set(a);}resolveConstraints() {let { dragConstraints: e, dragElastic: t } = this.getProps(), n = this.visualElement.projection && !this.visualElement.projection.layout ? this.visualElement.projection.measure(!1) : this.visualElement.projection?.layout, r = this.constraints;- e && Iv(e) ? this.constraints ||= this.resolveRefConstraints() : this.constraints = e && n ? vne(n.layoutBox, e) : !1, this.elastic = Sne(t), r !== this.constraints && !Iv(e) && n && this.constraints && !this.hasMutatedConstraints && V_((e) => {- this.constraints !== !1 && this.getAxisMotionValue(e) && (this.constraints[e] = xne(n.layoutBox[e], this.constraints[e]));+ e && Fv(e) ? this.constraints ||= this.resolveRefConstraints() : this.constraints = e && n ? yne(n.layoutBox, e) : !1, this.elastic = Cne(t), r !== this.constraints && !Fv(e) && n && this.constraints && !this.hasMutatedConstraints && V_((e) => {+ this.constraints !== !1 && this.getAxisMotionValue(e) && (this.constraints[e] = Sne(n.layoutBox[e], this.constraints[e]));});}resolveRefConstraints() {let { dragConstraints: e, onMeasureDragConstraints: t } = this.getProps();- if (!e || !Iv(e)) return !1;+ if (!e || !Fv(e)) return !1;let n = e.current, { projection: r } = this.visualElement;if (!r || !r.layout) return !1;r.root && (r.root.scroll = void 0, r.root.updateScroll());- let i = lee(n, r.root, this.visualElement.getTransformPagePoint()), a = yne(r.layout.layoutBox, i);+ let i = lee(n, r.root, this.visualElement.getTransformPagePoint()), a = bne(r.layout.layoutBox, i);if (t) {let e = t(oee(a));this.hasMutatedConstraints = !!e, e && (a = lg(e));@@ -19513,7 +19513,7 @@ var Cne = /* @__PURE__ */ new WeakMap(), wne = class {}startAnimation(e) {let { drag: t, dragMomentum: n, dragElastic: r, dragTransition: i, dragSnapToOrigin: a, onDragTransitionEnd: o } = this.getProps(), s = this.constraints || {}, c = V_((o) => {- if (!ty(o, t, this.currentDirection)) return;+ if (!ey(o, t, this.currentDirection)) return;let c = s && s[o] || {};(a === !0 || a === o) && (c = {min: 0,@@ -19551,7 +19551,7 @@ var Cne = /* @__PURE__ */ new WeakMap(), wne = class {y: t}, i = this.visualElement.getTransformPagePoint()?.(r) || r, a = this.visualElement.measureViewportBox();V_((e) => {- if (!ty(e, n, this.currentDirection)) return;+ if (!ey(e, n, this.currentDirection)) return;let t = this.getAxisMotionValue(e), { min: r, max: o } = a[e];t.set((t.get() || 0) + i[e] - Vd(r, o, .5));});@@ -19559,7 +19559,7 @@ var Cne = /* @__PURE__ */ new WeakMap(), wne = class {scalePositionWithinConstraints() {if (!this.visualElement.current) return;let { drag: e, dragConstraints: t } = this.getProps(), { projection: n } = this.visualElement;- if (!Iv(t) || !n || !this.constraints) return;+ if (!Fv(t) || !n || !this.constraints) return;this.stopAnimation();let r = this.constraints, i = {x: 0,@@ -19567,7 +19567,7 @@ var Cne = /* @__PURE__ */ new WeakMap(), wne = class {};V_((e) => {let t = this.getAxisMotionValue(e).get();- i[e] = bne({+ i[e] = xne({min: t,max: t}, r[e]);@@ -19575,20 +19575,20 @@ var Cne = /* @__PURE__ */ new WeakMap(), wne = class {let { transformTemplate: a } = this.visualElement.getProps();this.visualElement.current.style.transform = a ? a({}, "") : "none", n.root && n.root.updateScroll(), n.updateLayout(), this.constraints = !1, this.resolveConstraints(), V_((t) => {let n = this.getAxisMotionValue(t);- if (!ty(t, e, null) || !n.get()) return;+ if (!ey(t, e, null) || !n.get()) return;let { min: r, max: a } = this.constraints[t];n.set(Vd(r, a, i[t]));}), this.visualElement.render();}addListeners() {if (!this.visualElement.current) return;- Cne.set(this.visualElement, this);- let e = this.visualElement.current, t = Bv(e, "pointerdown", (t) => {+ wne.set(this.visualElement, this);+ let e = this.visualElement.current, t = zv(e, "pointerdown", (t) => {let { drag: n, dragListener: r = !0 } = this.getProps(), i = t.target, a = i !== e && bee(i);n && r && !a && this.start(t);}), n, r = () => {let { dragConstraints: t } = this.getProps();- Iv(t) && t.current && (this.constraints = this.resolveRefConstraints(), n ||= Tne(e, t.current, () => this.scalePositionWithinConstraints()));+ Fv(t) && t.current && (this.constraints = this.resolveRefConstraints(), n ||= Ene(e, t.current, () => this.scalePositionWithinConstraints()));}, { projection: i } = this.visualElement, a = i.addEventListener("measure", r);i && !i.layout && (i.root && i.root.updateScroll(), i.updateLayout()), lf.read(r);let o = J_(window, "resize", () => this.scalePositionWithinConstraints()), s = i.addEventListener("didUpdate", (({ delta: e, hasLayoutChanged: t }) => {@@ -19602,7 +19602,7 @@ var Cne = /* @__PURE__ */ new WeakMap(), wne = class {};}getProps() {- let e = this.visualElement.getProps(), { drag: t = !1, dragDirectionLock: n = !1, dragPropagation: r = !1, dragConstraints: i = !1, dragElastic: a = Zv, dragMomentum: o = !0 } = e;+ let e = this.visualElement.getProps(), { drag: t = !1, dragDirectionLock: n = !1, dragPropagation: r = !1, dragConstraints: i = !1, dragElastic: a = Xv, dragMomentum: o = !0 } = e;return {...e,drag: t,@@ -19614,30 +19614,30 @@ var Cne = /* @__PURE__ */ new WeakMap(), wne = class {};}};-function ey(e) {+function $v(e) {let t = !0;return () => {t ? t = !1 : e();};}-function Tne(e, t, n) {- let r = Gg(e, ey(n)), i = Gg(t, ey(n));+function Ene(e, t, n) {+ let r = Gg(e, $v(n)), i = Gg(t, $v(n));return () => {r(), i();};}-function ty(e, t, n) {+function ey(e, t, n) {return (t === !0 || t === e) && (n === null || n === e);}-function Ene(e, t = 10) {+function Dne(e, t = 10) {let n = null;return Math.abs(e.y) > t ? n = "y" : Math.abs(e.x) > t && (n = "x"), n;}//#endregion//#region node_modules/framer-motion/dist/es/gestures/drag/index.mjs-var Dne = class extends f_ {+var One = class extends f_ {constructor(e) {- super(e), this.removeGroupControls = pu, this.removeListeners = pu, this.controls = new wne(e);+ super(e), this.removeGroupControls = pu, this.removeListeners = pu, this.controls = new Tne(e);}mount() {let { dragControls: e } = this.node.getProps();@@ -19650,31 +19650,31 @@ var Dne = class extends f_ {unmount() {this.removeGroupControls(), this.removeListeners(), this.controls.isDragging || this.controls.endPanSession();}-}, ny = (e) => (t, n) => {+}, ty = (e) => (t, n) => {e && lf.update(() => e(t, n), !1, !0);-}, One = class extends f_ {+}, kne = class extends f_ {constructor() {super(...arguments), this.removePointerDownListener = pu;}onPointerDown(e) {- this.session = new Wv(e, this.createPanHandlers(), {+ this.session = new Uv(e, this.createPanHandlers(), {transformPagePoint: this.node.getTransformPagePoint(),- contextWindow: Vv(this.node)+ contextWindow: Bv(this.node)});}createPanHandlers() {let { onPanSessionStart: e, onPanStart: t, onPan: n, onPanEnd: r } = this.node.getProps();return {- onSessionStart: ny(e),- onStart: ny(t),- onMove: ny(n),+ onSessionStart: ty(e),+ onStart: ty(t),+ onMove: ty(n),onEnd: (e, t) => {delete this.session, r && lf.postRender(() => r(e, t));}};}mount() {- this.removePointerDownListener = Bv(this.node.current, "pointerdown", (e) => this.onPointerDown(e));+ this.removePointerDownListener = zv(this.node.current, "pointerdown", (e) => this.onPointerDown(e));}update() {this.session && this.session.updateHandlers(this.createPanHandlers());@@ -19682,23 +19682,23 @@ var Dne = class extends f_ {unmount() {this.removePointerDownListener(), this.session && this.session.end();}-}, ry = !1, kne = class extends D.Component {+}, ny = !1, Ane = class extends D.Component {componentDidMount() {let { visualElement: e, layoutGroup: t, switchLayoutGroup: n, layoutId: r } = this.props, { projection: i } = e;- i && (t.group && t.group.add(i), n && n.register && r && n.register(i), ry && i.root.didUpdate(), i.addEventListener("animationComplete", () => {+ i && (t.group && t.group.add(i), n && n.register && r && n.register(i), ny && i.root.didUpdate(), i.addEventListener("animationComplete", () => {this.safeToRemove();}), i.setOptions({...i.options,layoutDependency: this.props.layoutDependency,onExitComplete: () => this.safeToRemove()- })), Q_.hasEverUpdated = !0;+ })), Z_.hasEverUpdated = !0;}getSnapshotBeforeUpdate(e) {let { layoutDependency: t, visualElement: n, drag: r, isPresent: i } = this.props, { projection: a } = n;return a && (a.isPresent = i, e.layoutDependency !== t && a.setOptions({...a.options,layoutDependency: t- }), ry = !0, r || e.layoutDependency !== t || t === void 0 || e.isPresent !== i ? a.willUpdate() : this.safeToRemove(), e.isPresent !== i && (i ? a.promote() : a.relegate() || lf.postRender(() => {+ }), ny = !0, r || e.layoutDependency !== t || t === void 0 || e.isPresent !== i ? a.willUpdate() : this.safeToRemove(), e.isPresent !== i && (i ? a.promote() : a.relegate() || lf.postRender(() => {let e = a.getStack();(!e || !e.members.length) && this.safeToRemove();}))), null;@@ -19711,7 +19711,7 @@ var Dne = class extends f_ {}componentWillUnmount() {let { visualElement: e, layoutGroup: t, switchLayoutGroup: n } = this.props, { projection: r } = e;- ry = !0, r && (r.scheduleCheckAfterUnmount(), t && t.group && t.group.remove(r), n && n.deregister && n.deregister(r));+ ny = !0, r && (r.scheduleCheckAfterUnmount(), t && t.group && t.group.remove(r), n && n.deregister && n.deregister(r));}safeToRemove() {let { safeToRemove: e } = this.props;@@ -19721,41 +19721,41 @@ var Dne = class extends f_ {return null;}};-function iy(e) {- let [t, n] = vv(), r = (0, D.useContext)(tu);- return (0, O.jsx)(kne, {+function ry(e) {+ let [t, n] = _v(), r = (0, D.useContext)(tu);+ return (0, O.jsx)(Ane, {...e,layoutGroup: r,- switchLayoutGroup: (0, D.useContext)(Fv),+ switchLayoutGroup: (0, D.useContext)(Pv),isPresent: t,safeToRemove: n});}//#endregion//#region node_modules/framer-motion/dist/es/motion/features/drag.mjs-var Ane = {- pan: { Feature: One },+var jne = {+ pan: { Feature: kne },drag: {- Feature: Dne,- ProjectionNode: hv,- MeasureLayout: iy+ Feature: One,+ ProjectionNode: mv,+ MeasureLayout: ry}};//#endregion//#region node_modules/framer-motion/dist/es/gestures/hover.mjs-function ay(e, t, n) {+function iy(e, t, n) {let { props: r } = e;e.animationState && r.whileHover && e.animationState.setActive("whileHover", n === "Start");let i = r["onHover" + n];- i && lf.postRender(() => i(t, zv(t)));+ i && lf.postRender(() => i(t, Rv(t)));}-var jne = class extends f_ {+var Mne = class extends f_ {mount() {let { current: e } = this.node;- e && (this.unmount = gee(e, (e, t) => (ay(this.node, t, "Start"), (e) => ay(this.node, e, "End"))));+ e && (this.unmount = gee(e, (e, t) => (iy(this.node, t, "Start"), (e) => iy(this.node, e, "End"))));}unmount() {}-}, Mne = class extends f_ {+}, Nne = class extends f_ {constructor() {super(...arguments), this.isActive = !1;}@@ -19778,51 +19778,51 @@ var jne = class extends f_ {};//#endregion//#region node_modules/framer-motion/dist/es/gestures/press.mjs-function oy(e, t, n) {+function ay(e, t, n) {let { props: r } = e;if (e.current instanceof HTMLButtonElement && e.current.disabled) return;e.animationState && r.whileTap && e.animationState.setActive("whileTap", n === "Start");let i = r["onTap" + (n === "End" ? "" : n)];- i && lf.postRender(() => i(t, zv(t)));+ i && lf.postRender(() => i(t, Rv(t)));}-var Nne = class extends f_ {+var Pne = class extends f_ {mount() {let { current: e } = this.node;if (!e) return;let { globalTapTarget: t, propagate: n } = this.node.props;- this.unmount = See(e, (e, t) => (oy(this.node, t, "Start"), (e, { success: t }) => oy(this.node, e, t ? "End" : "Cancel")), {+ this.unmount = See(e, (e, t) => (ay(this.node, t, "Start"), (e, { success: t }) => ay(this.node, e, t ? "End" : "Cancel")), {useGlobalTarget: t,stopPropagation: n?.tap === !1});}unmount() {}-}, sy = /* @__PURE__ */ new WeakMap(), cy = /* @__PURE__ */ new WeakMap(), ly = (e) => {- let t = sy.get(e.target);+}, oy = /* @__PURE__ */ new WeakMap(), sy = /* @__PURE__ */ new WeakMap(), cy = (e) => {+ let t = oy.get(e.target);t && t(e);-}, uy = (e) => {- e.forEach(ly);+}, ly = (e) => {+ e.forEach(cy);};-function dy({ root: e, ...t }) {+function uy({ root: e, ...t }) {let n = e || document;- cy.has(n) || cy.set(n, {});- let r = cy.get(n), i = JSON.stringify(t);- return r[i] || (r[i] = new IntersectionObserver(uy, {+ sy.has(n) || sy.set(n, {});+ let r = sy.get(n), i = JSON.stringify(t);+ return r[i] || (r[i] = new IntersectionObserver(ly, {root: e,...t})), r[i];}-function fy(e, t, n) {- let r = dy(t);- return sy.set(e, n), r.observe(e), () => {- sy.delete(e), r.unobserve(e);+function dy(e, t, n) {+ let r = uy(t);+ return oy.set(e, n), r.observe(e), () => {+ oy.delete(e), r.unobserve(e);};}//#endregion//#region node_modules/framer-motion/dist/es/motion/features/viewport/index.mjs-var py = {+var fy = {some: 0,all: 1-}, my = class extends f_ {+}, py = class extends f_ {constructor() {super(...arguments), this.hasEnteredView = !1, this.isInView = !1;}@@ -19831,7 +19831,7 @@ var py = {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 : py[r]+ threshold: typeof r == "number" ? r : fy[r]}, o = (e) => {let { isIntersecting: t } = e;if (this.isInView === t || (this.isInView = t, i && !t && this.hasEnteredView)) return;@@ -19839,7 +19839,7 @@ var py = {let { onViewportEnter: n, onViewportLeave: r } = this.node.getProps(), a = t ? n : r;a && a(e);};- this.stopObserver = fy(this.node.current, a, o);+ this.stopObserver = dy(this.node.current, a, o);}mount() {this.startObserver();@@ -19851,68 +19851,68 @@ var py = {"amount","margin","root"- ].some(hy(e, t)) && this.startObserver();+ ].some(my(e, t)) && this.startObserver();}unmount() {this.stopObserver?.(), this.hasEnteredView = !1, this.isInView = !1;}};-function hy({ viewport: e = {} }, { viewport: t = {} } = {}) {+function my({ viewport: e = {} }, { viewport: t = {} } = {}) {return (n) => e[n] !== t[n];}//#endregion//#region node_modules/framer-motion/dist/es/motion/features/gestures.mjs-var gy = {- inView: { Feature: my },- tap: { Feature: Nne },- focus: { Feature: Mne },- hover: { Feature: jne }-}, _y = { layout: {- ProjectionNode: hv,- MeasureLayout: iy-} }, vy = /*@__PURE__*/ cne({- ...fne,- ...gy,- ...Ane,- ..._y-}, lne);+var hy = {+ inView: { Feature: py },+ tap: { Feature: Pne },+ focus: { Feature: Nne },+ hover: { Feature: Mne }+}, gy = { layout: {+ ProjectionNode: mv,+ MeasureLayout: ry+} }, _y = /*@__PURE__*/ lne({+ ...pne,+ ...hy,+ ...jne,+ ...gy+}, une);//#endregion//#region node_modules/framer-motion/dist/es/utils/reduced-motion/use-reduced-motion.mjs-function yy() {+function vy() {!o_.current && s_();let [e] = (0, D.useState)(a_.current);return e;}//#endregion//#region node_modules/framer-motion/dist/es/animation/utils/is-dom-keyframes.mjs-function by(e) {+function yy(e) {return typeof e == "object" && !Array.isArray(e);}//#endregion//#region node_modules/framer-motion/dist/es/animation/animate/resolve-subjects.mjs-function xy(e, t, n, r) {- return e == null ? [] : typeof e == "string" && by(t) ? qh(e, n, r) : e instanceof NodeList ? Array.from(e) : Array.isArray(e) ? e.filter((e) => e != null) : [e];+function by(e, t, n, r) {+ return e == null ? [] : typeof e == "string" && yy(t) ? qh(e, n, r) : e instanceof NodeList ? Array.from(e) : Array.isArray(e) ? e.filter((e) => e != null) : [e];}//#endregion//#region node_modules/framer-motion/dist/es/animation/sequence/utils/calc-repeat-duration.mjs-function Sy(e, t, n) {+function xy(e, t, n) {return e * (t + 1) + n * t;}//#endregion//#region node_modules/framer-motion/dist/es/animation/sequence/utils/calc-time.mjs-function Cy(e, t, n, r) {+function Sy(e, t, n, r) {return typeof t == "number" ? t : t.startsWith("-") || t.startsWith("+") ? Math.max(0, e + parseFloat(t)) : t === "<" ? n : t.startsWith("<") ? Math.max(0, n + parseFloat(t.slice(1))) : r.get(t) ?? e;}//#endregion//#region node_modules/framer-motion/dist/es/animation/sequence/utils/edit.mjs-function Pne(e, t, n) {+function Fne(e, t, n) {for (let r = 0; r < e.length; r++) {let i = e[r];i.at > t && i.at < n && (ou(e, i), r--);}}-function Fne(e, t, n, r, i, a) {- Pne(e, i, a);+function Ine(e, t, n, r, i, a) {+ Fne(e, i, a);for (let o = 0; o < t.length; o++) e.push({value: t[o],at: Vd(i, a, r[o]),@@ -19921,19 +19921,19 @@ function Fne(e, t, n, r, i, a) {}//#endregion//#region node_modules/framer-motion/dist/es/animation/sequence/utils/normalize-times.mjs-function Ine(e, t, n = 0) {+function Lne(e, t, n = 0) {let r = t + 1 + t * n;for (let t = 0; t < e.length; t++) e[t] = e[t] / r;}//#endregion//#region node_modules/framer-motion/dist/es/animation/sequence/utils/sort.mjs-function Lne(e, t) {+function Rne(e, t) {return e.at === t.at ? e.value === null ? 1 : t.value === null ? -1 : 0 : e.at - t.at;}//#endregion//#region node_modules/framer-motion/dist/es/animation/sequence/create.mjs-var Rne = "easeInOut", wy = 20;-function zne(e, { defaultTransition: t = {}, ...n } = {}, r, i) {+var zne = "easeInOut", Cy = 20;+function Bne(e, { defaultTransition: t = {}, ...n } = {}, r, i) {let a = t.duration || .3, o = /* @__PURE__ */ new Map(), s = /* @__PURE__ */ new Map(), c = {}, l = /* @__PURE__ */ new Map(), u = 0, d = 0, f = 0;for (let n = 0; n < e.length; n++) {let o = e[n];@@ -19942,16 +19942,16 @@ function zne(e, { defaultTransition: t = {}, ...n } = {}, r, i) {continue;}if (!Array.isArray(o)) {- l.set(o.name, Cy(d, o.at, u, l));+ l.set(o.name, Sy(d, o.at, u, l));continue;}let [p, m, h = {}] = o;- h.at !== void 0 && (d = Cy(d, h.at, u, l));+ h.at !== void 0 && (d = Sy(d, h.at, u, l));let g = 0, _ = (e, n, r, o = 0, s = 0) => {- let c = Bne(e), { delay: l = 0, times: u = Nf(c), type: p = t.type || "keyframes", repeat: m, repeatType: h, repeatDelay: _ = 0, ...v } = n, { ease: y = t.ease || "easeOut", duration: b } = n, x = typeof l == "function" ? l(o, s) : l, S = c.length, C = Qp(p) ? p : i?.[p || "keyframes"];+ let c = Vne(e), { delay: l = 0, times: u = Nf(c), type: p = t.type || "keyframes", repeat: m, repeatType: h, repeatDelay: _ = 0, ...v } = n, { ease: y = t.ease || "easeOut", duration: b } = n, x = typeof l == "function" ? l(o, s) : l, S = c.length, C = Qp(p) ? p : i?.[p || "keyframes"];if (S <= 2 && C) {let e = 100;- if (S === 2 && Une(c)) {+ if (S === 2 && Wne(c)) {let t = c[1] - c[0];e = Math.abs(t);}@@ -19967,9 +19967,9 @@ function zne(e, { defaultTransition: t = {}, ...n } = {}, r, i) {let w = d + x;u.length === 1 && u[0] === 0 && (u[1] = 1);let T = u.length - c.length;- if (T > 0 && Mf(u, T), c.length === 1 && c.unshift(null), m && `${m}${wy}`, m && m < wy) {+ if (T > 0 && Mf(u, T), c.length === 1 && c.unshift(null), m && `${m}${Cy}`, m && m < Cy) {let e = b > 0 ? _ / b : 0;- b = Sy(b, m, _);+ b = xy(b, m, _);let t = [...c], n = [...u];y = Array.isArray(y) ? [...y] : [y];let r = [...y], i = h === "reverse" || h === "mirror", a = t, o = r;@@ -19979,20 +19979,20 @@ function zne(e, { defaultTransition: t = {}, ...n } = {}, r, i) {e > 0 && (c.push(c[c.length - 1]), u.push(p), y.push("linear")), c.push(...d);for (let e = 0; e < d.length; e++) u.push(n[e] + p), y.push(e === 0 ? "linear" : /* @__PURE__ */ Iu(f, e - 1));}- Ine(u, m, e);+ Lne(u, m, e);}let E = w + b;- Fne(r, c, y, u, w, E), g = Math.max(x + b, g), f = Math.max(E, f);+ Ine(r, c, y, u, w, E), g = Math.max(x + b, g), f = Math.max(E, f);};if (gh(p)) {- let e = Ty(p, s);- _(m, h, Ey("default", e));+ let e = wy(p, s);+ _(m, h, Ty("default", e));} else {- let e = xy(p, m, r, c), t = e.length;+ let e = by(p, m, r, c), t = e.length;for (let n = 0; n < t; n++) {m = m, h = h;- let r = e[n], i = Ty(r, s);- for (let e in m) _(m[e], Vne(h, e), Ey(e, i), n, t);+ let r = e[n], i = wy(r, s);+ for (let e in m) _(m[e], Hne(h, e), Ty(e, i), n, t);}}u = d, d += g;@@ -20000,13 +20000,13 @@ function zne(e, { defaultTransition: t = {}, ...n } = {}, r, i) {return s.forEach((e, r) => {for (let i in e) {let a = e[i];- a.sort(Lne);+ a.sort(Rne);let s = [], c = [], l = [];for (let e = 0; e < a.length; e++) {let { at: t, value: n, easing: r } = a[e];s.push(n), c.push(/* @__PURE__ */ hu(0, f, t)), l.push(r || "easeOut");}- c[0] !== 0 && (c.unshift(0), s.unshift(s[0]), l.unshift(Rne)), c[c.length - 1] !== 1 && (c.push(1), s.push(null)), o.has(r) || o.set(r, {+ c[0] !== 0 && (c.unshift(0), s.unshift(s[0]), l.unshift(zne)), c[c.length - 1] !== 1 && (c.push(1), s.push(null)), o.has(r) || o.set(r, {keyframes: {},transition: {}});@@ -20023,33 +20023,33 @@ function zne(e, { defaultTransition: t = {}, ...n } = {}, r, i) {}}), o;}-function Ty(e, t) {+function wy(e, t) {return !t.has(e) && t.set(e, {}), t.get(e);}-function Ey(e, t) {+function Ty(e, t) {return t[e] || (t[e] = []), t[e];}-function Bne(e) {+function Vne(e) {return Array.isArray(e) ? e : [e];}-function Vne(e, t) {+function Hne(e, t) {return e && e[t] ? {...e,...e[t]} : { ...e };}-var Hne = (e) => typeof e == "number", Une = (e) => e.every(Hne);+var Une = (e) => typeof e == "number", Wne = (e) => e.every(Une);//#endregion//#region node_modules/framer-motion/dist/es/animation/animate/subject.mjs-function Wne(e, t) {- return gh(e) || typeof e == "number" || typeof e == "string" && !by(t);+function Gne(e, t) {+ return gh(e) || typeof e == "number" || typeof e == "string" && !yy(t);}-function Dy(e, t, n, r) {+function Ey(e, t, n, r) {let i = [];- if (Wne(e, t)) i.push(q_(e, by(t) && t.default || t, n && (n.default || n)));+ if (Gne(e, t)) i.push(q_(e, yy(t) && t.default || t, n && (n.default || n)));else {if (e == null) return i;- let a = xy(e, t, r), o = a.length;+ let a = by(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(...Eg(r, t, s, Qg.get(r))) : i.push(...Uh(Vh(r) ?? Dg, r, t, s));@@ -20059,9 +20059,9 @@ function Dy(e, t, n, r) {}//#endregion//#region node_modules/framer-motion/dist/es/animation/animate/sequence.mjs-function Gne(e, t, n) {+function Kne(e, t, n) {let r = [];- return zne(e.map((e) => {+ return Bne(e.map((e) => {if (Array.isArray(e) && typeof e[0] == "function") {let t = e[0], n = qm(0);return n.on("change", t), e.length === 1 ? [n, [0, 1]] : e.length === 2 ? [@@ -20076,27 +20076,27 @@ function Gne(e, t, n) {}return e;}), t, n, { spring: Of }).forEach(({ keyframes: e, transition: t }, n) => {- r.push(...Dy(n, e, t));+ r.push(...Ey(n, e, t));}), r;}//#endregion//#region node_modules/framer-motion/dist/es/animation/animate/index.mjs-function Kne(e) {+function qne(e) {return Array.isArray(e) && e.some(Array.isArray);}-function qne(e = {}) {+function Jne(e = {}) {let { scope: t, reduceMotion: n, skipAnimations: r } = e;function i(e, i, a) {let o = [], s, c = {};- if (n !== void 0 && (c.reduceMotion = n), r !== void 0 && (c.skipAnimations = r), Kne(e)) {+ if (n !== void 0 && (c.reduceMotion = n), r !== void 0 && (c.skipAnimations = r), qne(e)) {let { onComplete: n, ...r } = i || {};- typeof n == "function" && (s = n), o = Gne(e, {+ typeof n == "function" && (s = n), o = Kne(e, {...c,...r}, t);} else {let { onComplete: n, ...r } = a || {};- typeof n == "function" && (s = n), o = Dy(e, i, {+ typeof n == "function" && (s = n), o = Ey(e, i, {...c,...r}, t);@@ -20108,13 +20108,13 @@ function qne(e = {}) {}return i;}-var Jne = Object.assign(qne(), {+var Yne = Object.assign(Jne(), {addEffect: zh,removeEffect: Bh});//#endregion//#region node_modules/framer-motion/dist/es/animation/animators/waapi/animate-elements.mjs-function Yne(e, t, n, r) {+function Xne(e, t, n, r) {if (e == null) return [];let i = qh(e, r), a = i.length, o = [];for (let e = 0; e < a; e++) {@@ -20150,12 +20150,12 @@ function Yne(e, t, n, r) {}return s;}-var Xne = /*@__PURE__*/ ((e) => {+var Zne = /*@__PURE__*/ ((e) => {function t(t, n, r) {- return new Rm(Yne(t, n, r, e));+ return new Rm(Xne(t, n, r, e));}return t;-})(), Oy = vy, ky = class {+})(), Dy = _y, Oy = class {constructor(e) {this.value = null, this.level = 0, this.hasChildNodes = !1, this.rendered = null, this.textValue = "", this["aria-label"] = void 0, this.index = 0, this.parentKey = null, this.prevKey = null, this.nextKey = null, this.firstChildKey = null, this.lastChildKey = null, this.props = {}, this.colSpan = null, this.colIndex = null, this.type = this.constructor.type, this.key = e;}@@ -20170,22 +20170,22 @@ var Xne = /*@__PURE__*/ ((e) => {let r = this.clone();return t.addDescendants(r, e), r;}-}, Ay = class extends ky {+}, ky = class extends Oy {filter(e, t, n) {- let [r, i] = Py(e, t, this.firstChildKey, n), a = this.clone();+ let [r, i] = Ny(e, t, this.firstChildKey, n), a = this.clone();return a.firstChildKey = r, a.lastChildKey = i, a;}};-(class extends ky {+(class extends Oy {static {this.type = "header";}});-var jy = class extends ky {+var Ay = class extends Oy {static {this.type = "loader";}-}, My = class extends Ay {+}, jy = class extends ky {static {this.type = "item";}@@ -20196,7 +20196,7 @@ var jy = class extends ky {}return null;}-}, Zne = class extends Ay {+}, Qne = class extends ky {static {this.type = "section";}@@ -20208,7 +20208,7 @@ var jy = class extends ky {}return null;}-}, Ny = class {+}, My = class {get size() {return this.itemCount;}@@ -20283,14 +20283,14 @@ var jy = class extends ky {this.firstKey = e, this.lastKey = t, this.frozen = !n;}filter(e) {- let t = new this.constructor(), [n, r] = Py(this, t, this.firstKey, e);+ let t = new this.constructor(), [n, r] = Ny(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 Py(e, t, n, r) {+function Ny(e, t, n, r) {if (n == null) return [null, null];let i = null, a = null, o = e.getItem(n);for (; o != null;) {@@ -20305,7 +20305,7 @@ function Py(e, t, n, r) {}//#endregion//#region node_modules/react-aria/dist/private/collections/Document.mjs-var Fy = class {+var Py = class {constructor(e) {this._firstChild = null, this._lastChild = null, this._previousSibling = null, this._nextSibling = null, this._parentNode = null, this._minInvalidChildIndex = null, this.ownerDocument = e;}@@ -20386,7 +20386,7 @@ var Fy = class {for (; e && e.isHidden;) e = e.previousSibling;return e;}-}, Iy = class e extends Fy {+}, Fy = class e extends Py {constructor(e, t) {super(t), this.nodeType = 8, this.isMutated = !0, this._index = 0, this.isHidden = !1, this.node = null;}@@ -20437,7 +20437,7 @@ var Fy = class {setAttribute() {}setAttributeNS() {}removeAttribute() {}-}, Qne = class extends Fy {+}, $ne = class extends Py {constructor(e) {super(null), this.nodeType = 11, this.ownerDocument = this, this.dirtyNodes = /* @__PURE__ */ new Set(), this.isSSR = !1, this.nodeId = 0, this.nodesByProps = /* @__PURE__ */ new WeakMap(), this.keyOwners = /* @__PURE__ */ new Map(), this.nextCollection = null, this.subscriptions = /* @__PURE__ */ new Set(), this.queuedRender = !1, this.inSubscription = !1, this.collection = e, this.nextCollection = e;}@@ -20445,7 +20445,7 @@ var Fy = class {return !0;}createElement(e) {- return new Iy(e, this);+ return new Fy(e, this);}getMutableCollection() {return this.nextCollection ||= this.collection.clone(), this.nextCollection;@@ -20467,8 +20467,8 @@ var Fy = class {return this.inSubscription || (this.queuedRender = !1, this.updateCollection()), this.collection;}updateCollection() {- for (let e of this.dirtyNodes) e instanceof Iy && (!e.isConnected || e.isHidden) ? this.removeNode(e) : e.updateChildIndices();- for (let e of this.dirtyNodes) e instanceof Iy ? (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 Fy && (!e.isConnected || e.isHidden) ? this.removeNode(e) : e.updateChildIndices();+ for (let e of this.dirtyNodes) e instanceof Fy ? (e.isConnected && !e.isHidden && (e.updateNode(), this.addNode(e)), e.node && this.dirtyNodes.delete(e), e.isMutated = !1) : this.dirtyNodes.delete(e);this.nextCollection && (this.nextCollection.commit(this.firstVisibleChild?.node?.key ?? null, this.lastVisibleChild?.node?.key ?? null, this.isSSR), this.isSSR || (this.collection = this.nextCollection, this.nextCollection = null));}queueUpdate() {@@ -20487,13 +20487,13 @@ var Fy = class {};//#endregion//#region node_modules/react-aria/dist/private/collections/useCachedChildren.mjs-function Ly(e) {+function Iy(e) {let { children: t, items: n, idScope: r, addIdAndValue: i, dependencies: a = [] } = e, o = (0, D.useMemo)(() => void 0, [t]), s = (0, D.useMemo)(() => /* @__PURE__ */ new WeakMap(), [...a, o]);return (0, D.useMemo)(() => {if (n && typeof t == "function") {let e = [];for (let a of n) {- let n = $ne(a) ? a : null, o = n ? s.get(n) : null;+ let n = ere(a) ? a : null, o = n ? s.get(n) : null;if (!o) {o = t(a);let c = o.props.id ?? a?.key ?? a?.id;@@ -20518,7 +20518,7 @@ function Ly(e) {i]);}-function $ne(e) {+function ere(e) {switch (typeof e) {case "object": return e != null;case "function":@@ -20528,25 +20528,25 @@ function $ne(e) {}//#endregion//#region node_modules/react-aria/dist/private/utils/focusWithoutScrolling.mjs-function Ry(e) {+function Ly(e) {e.focus({ preventScroll: !0 });}//#endregion//#region node_modules/react-aria/dist/private/utils/domHelpers.mjs-var zy = (e) => ere(e) ? e.document : tre(e) ? e : e?.ownerDocument ?? (typeof document < "u" ? document : void 0), By = (e) => zy(e)?.defaultView ?? (typeof window < "u" ? window : void 0);-function Vy(e) {+var Ry = (e) => tre(e) ? e.document : nre(e) ? e : e?.ownerDocument ?? (typeof document < "u" ? document : void 0), zy = (e) => Ry(e)?.defaultView ?? (typeof window < "u" ? window : void 0);+function By(e) {return typeof e == "object" && !!e && "nodeType" in e && typeof e.nodeType == "number";}-function ere(e) {+function tre(e) {return typeof e == "object" && !!e && "window" in e && e.window === e;}-function tre(e) {- return Vy(e) && e.nodeType === 9;+function nre(e) {+ return By(e) && e.nodeType === 9;}-function Hy(e) {- return Vy(e) && e.nodeType === 11 && "host" in e;+function Vy(e) {+ return By(e) && e.nodeType === 11 && "host" in e;}-function Uy(e, t, n, r) {+function Hy(e, t, n, r) {if (n == null || e == null) return () => {};let i = Array.isArray(e) ? e : [e];for (let e of i) e.addEventListener(t, n, r);@@ -20554,7 +20554,7 @@ function Uy(e, t, n, r) {for (let e of i) e.removeEventListener(t, n, r);};}-function Wy(e, t, n, r) {+function Uy(e, t, n, r) {if (e == null) return () => {};let i = [], a = Array.isArray(e) ? e : [e];for (let e of a) {@@ -20569,73 +20569,73 @@ function Wy(e, t, n, r) {}//#endregion//#region node_modules/react-stately/dist/private/flags/flags.mjs-var nre = !1;-function Gy() {- return nre;+var rre = !1;+function Wy() {+ return rre;}//#endregion//#region node_modules/react-aria/dist/private/utils/shadowdom/DOMFunctions.mjs-function Ky(e, t) {- if (!Gy()) return t && e ? e.contains(t) : !1;+function Gy(e, t) {+ if (!Wy()) 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 : Hy(n) ? n.host : n.parentNode;+ n = typeof n.assignedElements != "function" && n.assignedSlot?.parentNode ? n.assignedSlot.parentNode : Vy(n) ? n.host : n.parentNode;}return !1;}-var qy = (e = document) => {- if (!Gy()) return e.activeElement;+var Ky = (e = document) => {+ if (!Wy()) 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 (Gy() && e.target instanceof Element && e.target.shadowRoot) {+ if (Wy() && 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 Jy(e, t) {+function qy(e, t) {if (t === null) return [];- t ??= By(e);+ t ??= zy(e);let n = [t];- if (!Gy() || !e || e === t) return n;+ if (!Wy() || !e || e === t) return n;let r = "getRootNode" in t ? t.getRootNode() : null, i = e.getRootNode() ?? null;- for (; Hy(i) && i !== r;) n.push(i), i = i.host.getRootNode();+ for (; Vy(i) && i !== r;) n.push(i), i = i.host.getRootNode();return n;}-function Yy(e) {+function Jy(e) {if (!e) return !1;- let t = e.getRootNode(), n = By(e);+ let t = e.getRootNode(), n = zy(e);if (!(t instanceof n.Document || t instanceof n.ShadowRoot)) return !1;let r = t.activeElement;return r != null && e.contains(r);}//#endregion//#region node_modules/react-aria/dist/private/utils/isElementVisible.mjs-var rre = typeof Element < "u" && "checkVisibility" in Element.prototype;-function ire(e) {- let t = By(e);+var ire = typeof Element < "u" && "checkVisibility" in Element.prototype;+function are(e) {+ let t = zy(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 } = By(e), { display: n, visibility: r } = t(e);+ let { getComputedStyle: t } = zy(e), { display: n, visibility: r } = t(e);i = n !== "none" && r !== "hidden" && r !== "collapse";}return i;}-function are(e, t) {+function ore(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 Xy(e, t) {- return rre ? e.checkVisibility({ visibilityProperty: !0 }) && !e.closest("[data-react-aria-prevent-focus]") : e.nodeName !== "#comment" && ire(e) && are(e, t) && (!e.parentElement || Xy(e.parentElement, e));+function Yy(e, t) {+ return ire ? e.checkVisibility({ visibilityProperty: !0 }) && !e.closest("[data-react-aria-prevent-focus]") : e.nodeName !== "#comment" && are(e) && ore(e, t) && (!e.parentElement || Yy(e.parentElement, e));}//#endregion//#region node_modules/react-aria/dist/private/utils/isFocusable.mjs-var Zy = [+var Xy = ["input:not([disabled]):not([type=hidden])","select:not([disabled])","textarea:not([disabled])",@@ -20650,41 +20650,41 @@ var Zy = ["video[controls]","[contenteditable]:not([contenteditable^=\"false\"])","permission"-], ore = Zy.join(":not([hidden]),") + ",[tabindex]:not([disabled]):not([hidden])";-Zy.push("[tabindex]:not([tabindex=\"-1\"]):not([disabled])");-var sre = Zy.join(":not([hidden]):not([tabindex=\"-1\"]),");-function Qy(e, t) {- return e.matches(ore) && !eb(e) && (t?.skipVisibilityCheck || Xy(e));+], sre = Xy.join(":not([hidden]),") + ",[tabindex]:not([disabled]):not([hidden])";+Xy.push("[tabindex]:not([tabindex=\"-1\"]):not([disabled])");+var cre = Xy.join(":not([hidden]):not([tabindex=\"-1\"]),");+function Zy(e, t) {+ return e.matches(sre) && !$y(e) && (t?.skipVisibilityCheck || Yy(e));}-function $y(e) {- return e.matches(sre) && Xy(e) && !eb(e);+function Qy(e) {+ return e.matches(cre) && Yy(e) && !$y(e);}-function eb(e) {+function $y(e) {let t = e;for (; t != null;) {- if (t instanceof By(t).HTMLElement && t.inert) return !0;+ if (t instanceof zy(t).HTMLElement && t.inert) return !0;t = t.parentElement;}return !1;}//#endregion//#region node_modules/react-aria/dist/private/utils/useLayoutEffect.mjs-var tb = typeof document < "u" ? D.useLayoutEffect : () => {};+var eb = typeof document < "u" ? D.useLayoutEffect : () => {};//#endregion//#region node_modules/react-aria/dist/private/interactions/utils.mjs-function nb(e) {+function tb(e) {let t = e;return t.nativeEvent = e, t.isDefaultPrevented = () => t.defaultPrevented, t.isPropagationStopped = () => t.cancelBubble, t.persist = () => {}, t;}-function rb(e, t) {+function nb(e, t) {Object.defineProperty(e, "target", { value: t }), Object.defineProperty(e, "currentTarget", { value: t });}-function ib(e) {+function rb(e) {let t = (0, D.useRef)({isFocused: !1,observer: null});- return tb(() => {+ return eb(() => {let e = t.current;return () => {e.observer &&= (e.observer.disconnect(), null);@@ -20696,14 +20696,14 @@ function ib(e) {let n = r;n.addEventListener("focusout", (r) => {if (t.current.isFocused = !1, n.disabled) {- let t = nb(r);+ let t = tb(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 === qy() ? null : qy();+ let e = n === Ky() ? null : Ky();n.dispatchEvent(new FocusEvent("blur", { relatedTarget: e })), n.dispatchEvent(new FocusEvent("focusout", {bubbles: !0,relatedTarget: e@@ -20716,83 +20716,83 @@ function ib(e) {}}, [e]);}-var ab = !1;-function cre(e) {- for (; e && !Qy(e, { skipVisibilityCheck: !0 });) e = e.parentElement;- let t = qy(By(e).document);+var ib = !1;+function lre(e) {+ for (; e && !Zy(e, { skipVisibilityCheck: !0 });) e = e.parentElement;+ let t = Ky(zy(e).document);if (!t || t === e) return;- let n = e?.getRootNode(), r = n != null && Hy(n) ? n : By(e), i = (t) => t === e || Vy(t) && Ky(e, t), a = (e) => e === t || t != null && Vy(e) && Ky(t, e);- ab = !0;+ let n = e?.getRootNode(), r = n != null && Vy(n) ? n : zy(e), i = (t) => t === e || By(t) && Gy(e, t), a = (e) => e === t || t != null && By(e) && Gy(t, e);+ ib = !0;let o = !1, s = (e) => {(a(G(e)) || o) && e.stopImmediatePropagation();}, c = (n) => {- (a(G(n)) || o) && (n.stopImmediatePropagation(), !e && !o && (o = !0, Ry(t), d()));+ (a(G(n)) || o) && (n.stopImmediatePropagation(), !e && !o && (o = !0, Ly(t), d()));}, l = (e) => {(i(G(e)) || o) && e.stopImmediatePropagation();}, u = (e) => {- (i(G(e)) || o) && (e.stopImmediatePropagation(), o || (o = !0, Ry(t), d()));+ (i(G(e)) || o) && (e.stopImmediatePropagation(), o || (o = !0, Ly(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), ab = !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), ib = !1, o = !1;}, f = requestAnimationFrame(d);return d;}//#endregion//#region node_modules/react-aria/dist/private/utils/platform.mjs-function ob(e) {+function ab(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 sb(e) {+function ob(e) {return typeof window < "u" && window.navigator != null && e.test(window.navigator.userAgentData?.platform || window.navigator.platform);}-function cb(e) {+function sb(e) {let t = null;return () => (t ??= e(), t);}-var lb = cb(function() {- return sb(/^Mac/i);-}), lre = cb(function() {- return sb(/^iPhone/i);-}), ub = cb(function() {- return sb(/^iPad/i) || lb() && navigator.maxTouchPoints > 1;-}), db = cb(function() {- return lre() || ub();-}), ure = cb(function() {- return lb() || db();-}), fb = cb(function() {- return ob(/AppleWebKit/i) && (db() || !pb());-}), pb = cb(function() {- return ob(/Chrome|CriOS|CrMo/i);-}), mb = cb(function() {- return ob(/Android/i);+var cb = sb(function() {+ return ob(/^Mac/i);+}), ure = sb(function() {+ return ob(/^iPhone/i);+}), lb = sb(function() {+ return ob(/^iPad/i) || cb() && navigator.maxTouchPoints > 1;+}), ub = sb(function() {+ return ure() || lb();+}), dre = sb(function() {+ return cb() || ub();+}), db = sb(function() {+ return ab(/AppleWebKit/i) && (ub() || !fb());+}), fb = sb(function() {+ return ab(/Chrome|CriOS|CrMo/i);+}), pb = sb(function() {+ return ab(/Android/i);});//#endregion//#region node_modules/react-aria/dist/private/utils/isVirtualEvent.mjs-function hb(e) {- return e.pointerType === "" && e.isTrusted ? !0 : mb() && e.pointerType ? e.type === "click" && e.buttons === 1 : e.detail === 0 && !e.pointerType;+function mb(e) {+ return e.pointerType === "" && e.isTrusted ? !0 : pb() && e.pointerType ? e.type === "click" && e.buttons === 1 : e.detail === 0 && !e.pointerType;}-function dre(e) {- return !mb() && e.width === 0 && e.height === 0 || mb() && e.width === 1 && e.height === 1 && e.pressure === 0 && e.detail === 0 && e.pointerType === "mouse";+function fre(e) {+ return !pb() && e.width === 0 && e.height === 0 || pb() && e.width === 1 && e.height === 1 && e.pressure === 0 && e.detail === 0 && e.pointerType === "mouse";}//#endregion//#region node_modules/react-aria/dist/private/utils/openLink.mjs-var fre = /*#__PURE__*/ (0, D.createContext)({+var pre = /*#__PURE__*/ (0, D.createContext)({isNative: !0,- open: hre,+ open: gre,useHref: (e) => e});-function gb() {- return (0, D.useContext)(fre);+function hb() {+ return (0, D.useContext)(pre);}-function pre(e, t) {+function mre(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 _b(e, t, n = !0) {- let { metaKey: r, ctrlKey: i, altKey: a, shiftKey: o } = t, s = fb() && lb() && !ub() ? new KeyboardEvent("keydown", {+function gb(e, t, n = !0) {+ let { metaKey: r, ctrlKey: i, altKey: a, shiftKey: o } = t, s = db() && cb() && !lb() ? new KeyboardEvent("keydown", {keyIdentifier: "Enter",metaKey: r,ctrlKey: i,@@ -20807,21 +20807,21 @@ function _b(e, t, n = !0) {bubbles: !0,cancelable: !0});- _b.isOpening = n, Ry(e), e.dispatchEvent(s), _b.isOpening = !1;+ gb.isOpening = n, Ly(e), e.dispatchEvent(s), gb.isOpening = !1;}-_b.isOpening = !1;-function mre(e, t) {+gb.isOpening = !1;+function hre(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 hre(e, t) {- mre(e, (e) => _b(e, t));+function gre(e, t) {+ hre(e, (e) => gb(e, t));}-function vb(e) {- let t = gb().useHref(e.href ?? "");+function _b(e) {+ let t = hb().useHref(e.href ?? "");return {"data-href": e.href ? t : void 0,"data-target": e.target,@@ -20831,8 +20831,8 @@ function vb(e) {"data-referrer-policy": e.referrerPolicy};}-function yb(e) {- let t = gb().useHref(e?.href ?? ""), n = {};+function vb(e) {+ let t = hb().useHref(e?.href ?? ""), n = {};if (e) for (let r of ["href","target",@@ -20843,140 +20843,140 @@ function yb(e) {]) r in e && e[r] !== void 0 && (n[r] = r === "href" ? t : e[r]);return n;}-function gre(e, t, n, r) {- !t.isNative && e.currentTarget instanceof HTMLAnchorElement && e.currentTarget.href && !e.isDefaultPrevented() && pre(e.currentTarget, e) && n && (e.preventDefault(), t.open(e.currentTarget, e, n, r));+function _re(e, t, n, r) {+ !t.isNative && e.currentTarget instanceof HTMLAnchorElement && e.currentTarget.href && !e.isDefaultPrevented() && mre(e.currentTarget, e) && n && (e.preventDefault(), t.open(e.currentTarget, e, n, r));}//#endregion//#region node_modules/react-aria/dist/private/ssr/SSRProvider.mjs-var bb = {+var yb = {prefix: String(Math.round(Math.random() * 1e10)),current: 0-}, xb = /*#__PURE__*/ D.createContext(bb), _re = /*#__PURE__*/ D.createContext(!1);+}, bb = /*#__PURE__*/ D.createContext(yb), vre = /*#__PURE__*/ D.createContext(!1);typeof window < "u" && window.document && window.document.createElement;-var Sb = /* @__PURE__ */ new WeakMap();-function vre(e = !1) {- let t = (0, D.useContext)(xb), n = (0, D.useRef)(null);+var xb = /* @__PURE__ */ new WeakMap();+function yre(e = !1) {+ let t = (0, D.useContext)(bb), n = (0, D.useRef)(null);if (n.current === null && !e) {let e = D.default.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED?.ReactCurrentOwner?.current;if (e) {- let n = Sb.get(e);- n == null ? Sb.set(e, {+ let n = xb.get(e);+ n == null ? xb.set(e, {id: t.current,state: e.memoizedState- }) : e.memoizedState !== n.state && (t.current = n.id, Sb.delete(e));+ }) : e.memoizedState !== n.state && (t.current = n.id, xb.delete(e));}n.current = ++t.current;}return n.current;}-function yre(e) {- let t = (0, D.useContext)(xb), n = vre(!!e), r = `react-aria${t.prefix}`;+function bre(e) {+ let t = (0, D.useContext)(bb), n = yre(!!e), r = `react-aria${t.prefix}`;return e || `${r}-${n}`;}-function bre(e) {- let t = D.useId(), [n] = (0, D.useState)(Cb()), r = n ? "react-aria" : `react-aria${bb.prefix}`;+function xre(e) {+ let t = D.useId(), [n] = (0, D.useState)(Sb()), r = n ? "react-aria" : `react-aria${yb.prefix}`;return e || `${r}-${t}`;}-var xre = typeof D.useId == "function" ? bre : yre;-function Sre() {+var Sre = typeof D.useId == "function" ? xre : bre;+function Cre() {return !1;}-function Cre() {+function wre() {return !0;}-function wre(e) {+function Tre(e) {return () => {};}-function Cb() {- return typeof D.useSyncExternalStore == "function" ? D.useSyncExternalStore(wre, Sre, Cre) : (0, D.useContext)(_re);+function Sb() {+ return typeof D.useSyncExternalStore == "function" ? D.useSyncExternalStore(Tre, Cre, wre) : (0, D.useContext)(vre);}//#endregion//#region node_modules/react-aria/dist/private/interactions/useFocusVisible.mjs-var wb = null, Tb = /* @__PURE__ */ new Set(), Eb = /* @__PURE__ */ new Map(), Db = !1, Ob = !1, Tre = {+var Cb = null, wb = /* @__PURE__ */ new Set(), Tb = /* @__PURE__ */ new Map(), Eb = !1, Db = !1, Ere = {Tab: !0,Escape: !0};-function kb(e, t) {- for (let n of Tb) n(e, t);+function Ob(e, t) {+ for (let n of wb) n(e, t);+}+function Dre(e) {+ return !(e.metaKey || !cb() && e.altKey || e.ctrlKey || e.key === "Control" || e.key === "Shift" || e.key === "Meta");}-function Ere(e) {- return !(e.metaKey || !lb() && e.altKey || e.ctrlKey || e.key === "Control" || e.key === "Shift" || e.key === "Meta");+function kb(e) {+ Eb = !0, !gb.isOpening && Dre(e) && (Cb = "keyboard", Ob("keyboard", e));}function Ab(e) {- Db = !0, !_b.isOpening && Ere(e) && (wb = "keyboard", kb("keyboard", e));+ Cb = "pointer", "pointerType" in e && e.pointerType, (e.type === "mousedown" || e.type === "pointerdown") && (Eb = !0, Ob("pointer", e));}function jb(e) {- wb = "pointer", "pointerType" in e && e.pointerType, (e.type === "mousedown" || e.type === "pointerdown") && (Db = !0, kb("pointer", e));+ !gb.isOpening && mb(e) && (Eb = !0, Cb = "virtual");}function Mb(e) {- !_b.isOpening && hb(e) && (Db = !0, wb = "virtual");-}-function Nb(e) {- if (ab) return;- let t = G(e), n = By(t), r = zy(t);- t === n ? Ob = !0 : t !== r && e.isTrusted && (!Db && !Ob && (wb = "virtual", kb("virtual", e)), Db = !1, Ob = !1);+ if (ib) return;+ let t = G(e), n = zy(t), r = Ry(t);+ t === n ? Db = !0 : t !== r && e.isTrusted && (!Eb && !Db && (Cb = "virtual", Ob("virtual", e)), Eb = !1, Db = !1);}-function Pb() {- ab || (Db = !1, Ob = !0);+function Nb() {+ ib || (Eb = !1, Db = !0);}-function Fb(e) {- let t = qy(zy(G(e)));+function Pb(e) {+ let t = Ky(Ry(G(e)));queueMicrotask(() => {- qy(zy(G(e))) !== t && Bb("keyboard");+ Ky(Ry(G(e))) !== t && zb("keyboard");});}-function Ib(e) {+function Fb(e) {if (typeof window > "u" || typeof document > "u") return;- let t = By(e), n = zy(e);- if (Eb.get(t)) return;+ let t = zy(e), n = Ry(e);+ if (Tb.get(t)) return;let r = t.HTMLElement.prototype.focus;Reflect.defineProperty(t.HTMLElement.prototype, "focus", {configurable: !0,writable: !0,value: function() {- Db = !0, r.apply(this, arguments);+ Eb = !0, r.apply(this, arguments);}- }), n.addEventListener("keydown", Ab, !0), n.addEventListener("keyup", Ab, !0), n.addEventListener("click", Mb, !0), n.addEventListener("invalid", Fb, !0), t.addEventListener("focus", Nb, !0), t.addEventListener("blur", Pb, !1), typeof PointerEvent < "u" && (n.addEventListener("pointerdown", jb, !0), n.addEventListener("pointermove", jb, !0), n.addEventListener("pointerup", jb, !0)), t.addEventListener("beforeunload", () => {- Lb(e);- }, { once: !0 }), Eb.set(t, { focus: r });+ }), n.addEventListener("keydown", kb, !0), n.addEventListener("keyup", kb, !0), n.addEventListener("click", jb, !0), n.addEventListener("invalid", Pb, !0), t.addEventListener("focus", Mb, !0), t.addEventListener("blur", Nb, !1), typeof PointerEvent < "u" && (n.addEventListener("pointerdown", Ab, !0), n.addEventListener("pointermove", Ab, !0), n.addEventListener("pointerup", Ab, !0)), t.addEventListener("beforeunload", () => {+ Ib(e);+ }, { once: !0 }), Tb.set(t, { focus: r });}-var Lb = (e, t) => {- let n = By(e), r = zy(e);- t && r.removeEventListener("DOMContentLoaded", t), Eb.has(n) && (Reflect.defineProperty(n.HTMLElement.prototype, "focus", {+var Ib = (e, t) => {+ let n = zy(e), r = Ry(e);+ t && r.removeEventListener("DOMContentLoaded", t), Tb.has(n) && (Reflect.defineProperty(n.HTMLElement.prototype, "focus", {configurable: !0,writable: !0,- value: Eb.get(n).focus- }), r.removeEventListener("keydown", Ab, !0), r.removeEventListener("keyup", Ab, !0), r.removeEventListener("click", Mb, !0), r.removeEventListener("invalid", Fb, !0), n.removeEventListener("focus", Nb, !0), n.removeEventListener("blur", Pb, !1), typeof PointerEvent < "u" && (r.removeEventListener("pointerdown", jb, !0), r.removeEventListener("pointermove", jb, !0), r.removeEventListener("pointerup", jb, !0)), Eb.delete(n));+ value: Tb.get(n).focus+ }), r.removeEventListener("keydown", kb, !0), r.removeEventListener("keyup", kb, !0), r.removeEventListener("click", jb, !0), r.removeEventListener("invalid", Pb, !0), n.removeEventListener("focus", Mb, !0), n.removeEventListener("blur", Nb, !1), typeof PointerEvent < "u" && (r.removeEventListener("pointerdown", Ab, !0), r.removeEventListener("pointermove", Ab, !0), r.removeEventListener("pointerup", Ab, !0)), Tb.delete(n));};-function Dre(e) {- let t = zy(e), n;+function Ore(e) {+ let t = Ry(e), n;return t.readyState === "loading" ? (n = () => {- Ib(e);- }, t.addEventListener("DOMContentLoaded", n)) : Ib(e), () => Lb(e, n);+ Fb(e);+ }, t.addEventListener("DOMContentLoaded", n)) : Fb(e), () => Ib(e, n);}-typeof document < "u" && Dre();-function Rb() {- return wb !== "pointer";+typeof document < "u" && Ore();+function Lb() {+ return Cb !== "pointer";}-function zb() {- return wb;+function Rb() {+ return Cb;}-function Bb(e) {- wb = e, kb(e, null);+function zb(e) {+ Cb = e, Ob(e, null);}-function Vb() {- Ib();- let [e, t] = (0, D.useState)(wb);+function Bb() {+ Fb();+ let [e, t] = (0, D.useState)(Cb);return (0, D.useEffect)(() => {let e = () => {- t(wb);+ t(Cb);};- return Tb.add(e), () => {- Tb.delete(e);+ return wb.add(e), () => {+ wb.delete(e);};- }, []), Cb() ? null : e;+ }, []), Sb() ? null : e;}-var Ore = /* @__PURE__ */ new Set([+var kre = /* @__PURE__ */ new Set(["checkbox","radio","range",@@ -20987,90 +20987,90 @@ var Ore = /* @__PURE__ */ new Set(["submit","reset"]);-function kre(e, t, n) {- let r = n ? G(n) : void 0, i = zy(r), a = By(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 = qy(i);- return e = e || u instanceof o && !Ore.has(u.type) || u instanceof s || u instanceof c && u.isContentEditable, !(e && t === "keyboard" && n instanceof l && !Tre[n.key]);+function Are(e, t, n) {+ let r = n ? G(n) : void 0, i = Ry(r), a = zy(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 = Ky(i);+ return e = e || u instanceof o && !kre.has(u.type) || u instanceof s || u instanceof c && u.isContentEditable, !(e && t === "keyboard" && n instanceof l && !Ere[n.key]);}-function Hb(e = {}) {- let { isTextInput: t, autoFocus: n } = e, [r, i] = (0, D.useState)(n || Rb());- return Ub((e) => {+function Vb(e = {}) {+ let { isTextInput: t, autoFocus: n } = e, [r, i] = (0, D.useState)(n || Lb());+ return Hb((e) => {i(e);}, [t], { isTextInput: t }), { isFocusVisible: r };}-function Ub(e, t, n) {- Ib(), (0, D.useEffect)(() => {+function Hb(e, t, n) {+ Fb(), (0, D.useEffect)(() => {if (n?.enabled === !1) return;let t = (t, r) => {- kre(!!n?.isTextInput, t, r) && e(Rb());+ Are(!!n?.isTextInput, t, r) && e(Lb());};- return Tb.add(t), () => {- Tb.delete(t);+ return wb.add(t), () => {+ wb.delete(t);};}, t);}//#endregion//#region node_modules/react-aria/dist/private/utils/runAfterTransition.mjs-var Wb = /* @__PURE__ */ new Map(), Gb = /* @__PURE__ */ new Set();-function Kb(e) {+var Ub = /* @__PURE__ */ new Map(), Wb = /* @__PURE__ */ new Set();+function Gb(e) {return "propertyName" in e;}-function Are(e) {+function jre(e) {let t = G(e);- if (!Kb(e) || !t) return;- let n = Wb.get(t);- n || (n = /* @__PURE__ */ new Set(), Wb.set(t, n), t.addEventListener("transitioncancel", qb, { once: !0 })), n.add(e.propertyName);+ if (!Gb(e) || !t) return;+ let n = Ub.get(t);+ n || (n = /* @__PURE__ */ new Set(), Ub.set(t, n), t.addEventListener("transitioncancel", Kb, { once: !0 })), n.add(e.propertyName);}-function qb(e) {+function Kb(e) {let t = G(e);- if (!Kb(e) || !t) return;- let n = Wb.get(t);- if (n && (n.delete(e.propertyName), n.size === 0 && (t.removeEventListener("transitioncancel", qb), Wb.delete(t)), Wb.size === 0)) for (let e of Gb) e(!0), Gb.delete(e);+ if (!Gb(e) || !t) return;+ let n = Ub.get(t);+ if (n && (n.delete(e.propertyName), n.size === 0 && (t.removeEventListener("transitioncancel", Kb), Ub.delete(t)), Ub.size === 0)) for (let e of Wb) e(!0), Wb.delete(e);}-function Jb() {- Uy(document, "transitionrun", Are), Uy(document, "transitionend", qb);+function qb() {+ Hy(document, "transitionrun", jre), Hy(document, "transitionend", Kb);}-function jre() {- for (let [e] of Wb) "isConnected" in e && !e.isConnected && Wb.delete(e);+function Mre() {+ for (let [e] of Ub) "isConnected" in e && !e.isConnected && Ub.delete(e);}-typeof document < "u" && (document.readyState === "loading" ? Uy(document, "DOMContentLoaded", Jb) : Jb());-function Yb(e) {+typeof document < "u" && (document.readyState === "loading" ? Hy(document, "DOMContentLoaded", qb) : qb());+function Jb(e) {let t = window.requestAnimationFrame(() => {- if (jre(), Wb.size === 0) return e(!1);- Gb.add(e);+ if (Mre(), Ub.size === 0) return e(!1);+ Wb.add(e);});return () => {- window.cancelAnimationFrame(t), Gb.delete(e);+ window.cancelAnimationFrame(t), Wb.delete(e);};}//#endregion//#region node_modules/react-aria/dist/private/interactions/focusSafely.mjs-function Xb(e) {+function Yb(e) {if (!e.isConnected) return;- let t = zy(e);- if (zb() === "virtual") {- let n = qy(t);- Yb(() => {- let r = qy(t);- (r === n || r === t.body) && e.isConnected && Ry(e);+ let t = Ry(e);+ if (Rb() === "virtual") {+ let n = Ky(t);+ Jb(() => {+ let r = Ky(t);+ (r === n || r === t.body) && e.isConnected && Ly(e);});- } else Ry(e);+ } else Ly(e);}//#endregion//#region node_modules/react-aria/dist/private/utils/chain.mjs-function Zb(...e) {+function Xb(...e) {return (...t) => {for (let n of e) typeof n == "function" && n(...t);};}//#endregion//#region node_modules/react-aria/dist/private/utils/useValueEffect.mjs-function Mre(e) {+function Nre(e) {let [t, n] = (0, D.useState)(e), r = (0, D.useRef)(t), i = (0, D.useRef)(null), a = (0, D.useRef)(() => {if (!i.current) return;let e = i.current.next();e.done ? i.current = null : r.current === e.value ? a.current() : n(e.value);});- return tb(() => {+ return eb(() => {r.current = t, i.current && a.current();}), [t, (0, D.useCallback)((e) => {i.current = e(r.current), a.current();@@ -21078,21 +21078,21 @@ function Mre(e) {}//#endregion//#region node_modules/react-aria/dist/private/utils/useId.mjs-var Nre = !!(typeof window < "u" && window.document && window.document.createElement), Qb = /* @__PURE__ */ new Map(), $b;-typeof FinalizationRegistry < "u" && ($b = new FinalizationRegistry((e) => {- Qb.delete(e);+var Pre = !!(typeof window < "u" && window.document && window.document.createElement), Zb = /* @__PURE__ */ new Map(), Qb;+typeof FinalizationRegistry < "u" && (Qb = new FinalizationRegistry((e) => {+ Zb.delete(e);}));-var ex = /* @__PURE__ */ new WeakMap();-function tx(e) {- let [t, n] = (0, D.useState)(e), r = (0, D.useRef)(null), i = xre(t), a = (0, D.useRef)(null), o = ex.get(a);- if ($b && o !== i && (o != null && $b.unregister(a), $b.register(a, i, a), ex.set(a, i)), Nre) {- let e = Qb.get(i);- e && !e.includes(r) ? e.push(r) : Qb.set(i, [r]);- }- return tb(() => {+var $b = /* @__PURE__ */ new WeakMap();+function ex(e) {+ let [t, n] = (0, D.useState)(e), r = (0, D.useRef)(null), i = Sre(t), a = (0, D.useRef)(null), o = $b.get(a);+ if (Qb && o !== i && (o != null && Qb.unregister(a), Qb.register(a, i, a), $b.set(a, i)), Pre) {+ let e = Zb.get(i);+ e && !e.includes(r) ? e.push(r) : Zb.set(i, [r]);+ }+ return eb(() => {let e = i;return () => {- $b && ($b.unregister(a), ex.delete(a)), Qb.delete(e);+ Qb && (Qb.unregister(a), $b.delete(a)), Zb.delete(e);};}, [i]), (0, D.useEffect)(() => {let e = r.current;@@ -21101,20 +21101,20 @@ function tx(e) {};}), i;}-function Pre(e, t) {+function Fre(e, t) {if (e === t) return e;- let n = Qb.get(e);+ let n = Zb.get(e);if (n) return n.forEach((e) => e.current = t), t;- let r = Qb.get(t);+ let r = Zb.get(t);return r ? (r.forEach((t) => t.current = e), e) : t;}-function nx(e = []) {- let t = tx(), [n, r] = Mre(t), i = (0, D.useCallback)(() => {+function tx(e = []) {+ let t = ex(), [n, r] = Nre(t), i = (0, D.useCallback)(() => {r(function* () {yield t, yield document.getElementById(t) ? t : void 0;});}, [t, r]);- return tb(i, [+ return eb(i, [t,i,...e@@ -21122,38 +21122,38 @@ function nx(e = []) {}//#endregion//#region node_modules/react-aria/dist/private/utils/mergeRefs.mjs-function rx(...e) {+function nx(...e) {return e.length === 1 && e[0] ? e[0] : (t) => {let n = !1, r = e.map((e) => {- let r = ix(e, t);+ let r = rx(e, t);return n ||= typeof r == "function", r;});if (n) return () => {r.forEach((t, n) => {- typeof t == "function" ? t() : ix(e[n], null);+ typeof t == "function" ? t() : rx(e[n], null);});};};}-function ix(e, t) {+function rx(e, t) {if (typeof e == "function") return e(t);e != null && (e.current = t);}//#endregion//#region node_modules/clsx/dist/clsx.mjs-function ax(e) {+function ix(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 = ax(e[t])) && (r && (r += " "), r += n);+ for (t = 0; t < i; t++) e[t] && (n = ix(e[t])) && (r && (r += " "), r += n);} else for (n in e) e[n] && (r && (r += " "), r += n);}return r;}-function ox() {- for (var e, t, n = 0, r = "", i = arguments.length; n < i; n++) (e = arguments[n]) && (t = ax(e)) && (r && (r += " "), r += t);+function ax() {+ for (var e, t, n = 0, r = "", i = arguments.length; n < i; n++) (e = arguments[n]) && (t = ix(e)) && (r && (r += " "), r += t);return r;}//#endregion@@ -21164,18 +21164,18 @@ 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] = Zb(n, i) : (e === "className" || e === "UNSAFE_className") && typeof n == "string" && typeof i == "string" ? t[e] = ox(n, i) : e === "id" && n && i ? t.id = Pre(n, i) : e === "ref" && n && i ? t.ref = rx(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] = Xb(n, i) : (e === "className" || e === "UNSAFE_className") && typeof n == "string" && typeof i == "string" ? t[e] = ax(n, i) : e === "id" && n && i ? t.id = Fre(n, i) : e === "ref" && n && i ? t.ref = nx(n, i) : t[e] = i === void 0 ? n : i;}}return t;}//#endregion//#region node_modules/react-aria/dist/private/interactions/useFocus.mjs-function sx(e) {+function ox(e) {let { isDisabled: t, onFocus: n, onBlur: r, onFocusChange: i } = e, a = (0, D.useCallback)((e) => {if (G(e) === e.currentTarget) return r && r(e), i && i(!1), !0;- }, [r, i]), o = ib(a), s = (0, D.useCallback)((e) => {- let t = G(e), r = zy(t), a = r ? qy(r) : qy();+ }, [r, i]), o = rb(a), s = (0, D.useCallback)((e) => {+ let t = G(e), r = Ry(t), a = r ? Ky(r) : Ky();t === e.currentTarget && t === a && (n && n(e), i && i(!0), o(e));}, [i,@@ -21189,7 +21189,7 @@ function sx(e) {}//#endregion//#region node_modules/react-aria/dist/private/interactions/createEventHandler.mjs-function cx(e) {+function sx(e) {if (e) return (t) => {let n = !0;e({@@ -21214,33 +21214,33 @@ function cx(e) {}//#endregion//#region node_modules/react-aria/dist/private/interactions/createKeyboardShortcutHandler.mjs-var Fre = /* @__PURE__ */ new Set([+var Ire = /* @__PURE__ */ new Set(["shift","alt","control","meta","mod"-]), Ire = [+]), Lre = ["Alt","Control","Meta","Shift"];-function Lre(e) {+function Rre(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(lb() ? "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(cb() ? "Meta" : "Control"), t;}-function Rre(e) {+function zre(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 lx(e) {- return Ire.filter((t) => e.has(t));+function cx(e) {+ return Lre.filter((t) => e.has(t));}-function zre(e) {+function Bre(e) {let t = e.split("+").reduce((e, t) => {let n = t.toLowerCase();- return Fre.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 Ire.has(n) ? n === "shift" ? e.shift = !0 : n === "alt" ? e.alt = !0 : n === "control" ? e.ctrl = !0 : n === "meta" ? e.meta = !0 : n === "mod" && (e.mod = !0) : e.key = t, e;}, {shift: !1,alt: !1,@@ -21252,10 +21252,10 @@ function zre(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 ux(e) {+function lx(e) {return e.toLowerCase();}-var Bre = {+var Vre = {space: " ",esc: "escape",del: "delete",@@ -21267,26 +21267,26 @@ var Bre = {pageup: "pageup",pagedown: "pagedown"};-function Vre(e) {- let t = ux(e);- return Bre[t] ?? t;-}function Hre(e) {- let t = lx(Lre(e)), n = Vre(e.key);- return t.length > 0 ? `${t.join("+")}+${n}` : n;+ let t = lx(e);+ return Vre[t] ?? t;}function Ure(e) {- let t = lx(Rre(e)), n = ux(e.key);- return (t.length > 0 ? `${t.join("+")}+` : "") + n;+ let t = cx(Rre(e)), n = Hre(e.key);+ return t.length > 0 ? `${t.join("+")}+${n}` : n;}function Wre(e) {+ let t = cx(zre(e)), n = lx(e.key);+ return (t.length > 0 ? `${t.join("+")}+` : "") + n;+}+function Gre(e) {let t = /* @__PURE__ */ new Map();for (let [n, r] of Object.entries(e)) {- let e = zre(n);- t.set(Hre(e), r);+ let e = Bre(n);+ t.set(Ure(e), r);}return (e) => {- let n = Ure(e), r = t.get(n), i = r?.(e);+ let n = Wre(e), r = t.get(n), i = r?.(e);i === void 0 && r !== void 0 ? i = {shouldContinuePropagation: !1,shouldPreventDefault: !0@@ -21298,16 +21298,16 @@ function Wre(e) {}//#endregion//#region node_modules/react-aria/dist/private/interactions/useKeyboard.mjs-function dx(e) {+function ux(e) {let { shortcuts: t, allowRepeats: n = !1, allowComposing: r = !1 } = e, i, a;if (t) {- let o = Wre(t), s = cx((e) => {- Ky(e.currentTarget, G(e)) ? e.nativeEvent?.repeat && !n || e.nativeEvent?.isComposing && !r ? e.continuePropagation() : o(e) : e.continuePropagation();- }), c = cx((e) => {- Ky(e.currentTarget, G(e)) && (e.nativeEvent?.repeat && !n || e.nativeEvent?.isComposing), e.continuePropagation();+ let o = Gre(t), s = sx((e) => {+ Gy(e.currentTarget, G(e)) ? e.nativeEvent?.repeat && !n || e.nativeEvent?.isComposing && !r ? e.continuePropagation() : o(e) : e.continuePropagation();+ }), c = sx((e) => {+ Gy(e.currentTarget, G(e)) && (e.nativeEvent?.repeat && !n || e.nativeEvent?.isComposing), e.continuePropagation();});- i = e.onKeyDown ? Zb(e.onKeyDown, s) : s, a = e.onKeyUp ? Zb(e.onKeyUp, c) : c;- } else i = cx(e.onKeyDown), a = cx(e.onKeyUp);+ i = e.onKeyDown ? Xb(e.onKeyDown, s) : s, a = e.onKeyUp ? Xb(e.onKeyUp, c) : c;+ } else i = sx(e.onKeyDown), a = sx(e.onKeyUp);return { keyboardProps: e.isDisabled ? {} : {onKeyDown: i,onKeyUp: a@@ -21315,7 +21315,7 @@ function dx(e) {}//#endregion//#region node_modules/react-aria/dist/private/utils/useObjectRef.mjs-function fx(e) {+function dx(e) {let t = (0, D.useRef)(null), n = (0, D.useRef)(void 0), r = (0, D.useCallback)((t) => {if (typeof e == "function") {let n = e, r = n(t);@@ -21338,8 +21338,8 @@ function fx(e) {}//#endregion//#region node_modules/react-aria/dist/private/utils/useSyncRef.mjs-function px(e, t) {- tb(() => {+function fx(e, t) {+ eb(() => {if (e && e.ref && t) return e.ref.current = t.current, () => {e.ref && (e.ref.current = null);};@@ -21347,17 +21347,17 @@ function px(e, t) {}//#endregion//#region node_modules/react-aria/dist/private/interactions/useFocusable.mjs-var mx = /*#__PURE__*/ D.createContext(null);-function Gre(e) {- let t = (0, D.useContext)(mx) || {};- px(t, e);+var px = /*#__PURE__*/ D.createContext(null);+function Kre(e) {+ let t = (0, D.useContext)(px) || {};+ fx(t, e);let { ref: n, ...r } = t;return r;}-function hx(e, t) {- let { focusProps: n } = sx(e), { keyboardProps: r } = dx(e), i = K(n, r), a = Gre(t), o = e.isDisabled ? {} : a, s = (0, D.useRef)(e.autoFocus);+function mx(e, t) {+ let { focusProps: n } = ox(e), { keyboardProps: r } = ux(e), i = K(n, r), a = Kre(t), o = e.isDisabled ? {} : a, s = (0, D.useRef)(e.autoFocus);(0, D.useEffect)(() => {- s.current && t.current && Xb(t.current), s.current = !1;+ s.current && t.current && Yb(t.current), s.current = !1;}, [t]);let c = e.excludeFromTabOrder ? -1 : 0;return e.isDisabled && (c = void 0), { focusableProps: K({@@ -21392,22 +21392,22 @@ typeof HTMLTemplateElement < "u" && (Object.defineProperty(HTMLTemplateElement.preturn this.content.insertBefore(e, t);}}));-var gx = /*#__PURE__*/ (0, D.createContext)(!1);-function Kre(e) {- if ((0, D.useContext)(gx)) return /*#__PURE__*/ D.createElement(D.Fragment, null, e.children);- let t = /*#__PURE__*/ D.createElement(gx.Provider, { value: !0 }, e.children);+var hx = /*#__PURE__*/ (0, D.createContext)(!1);+function qre(e) {+ if ((0, D.useContext)(hx)) return /*#__PURE__*/ D.createElement(D.Fragment, null, e.children);+ let t = /*#__PURE__*/ D.createElement(hx.Provider, { value: !0 }, e.children);return /*#__PURE__*/ D.createElement("template", null, t);}-function _x(e) {- let t = (t, n) => (0, D.useContext)(gx) ? null : e(t, n);+function gx(e) {+ let t = (t, n) => (0, D.useContext)(hx) ? null : e(t, n);return t.displayName = e.displayName || e.name, (0, D.forwardRef)(t);}-function vx() {- return (0, D.useContext)(gx);+function _x() {+ return (0, D.useContext)(hx);}//#endregion//#region node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.production.js-var qre = /* @__PURE__ */ o(((e) => {+var Jre = /* @__PURE__ */ o(((e) => {var t = v();function n(e, t) {return e === t && (e !== 0 || 1 / e == 1 / t) || e !== e && t !== t;@@ -21445,47 +21445,47 @@ var qre = /* @__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;-})), yx = /* @__PURE__ */ o(((e, t) => {- t.exports = qre();-})), Jre = yx(), bx = /*#__PURE__*/ (0, D.createContext)(!1), xx = /*#__PURE__*/ (0, D.createContext)(null);-function Sx(e) {- if ((0, D.useContext)(xx)) return e.content;- let { collection: t, document: n } = Qre(e.createCollection);- return /*#__PURE__*/ D.createElement(D.Fragment, null, /*#__PURE__*/ D.createElement(Kre, null, /*#__PURE__*/ D.createElement(xx.Provider, { value: n }, e.content)), /*#__PURE__*/ D.createElement(Yre, {+})), vx = /* @__PURE__ */ o(((e, t) => {+ t.exports = Jre();+})), Yre = vx(), yx = /*#__PURE__*/ (0, D.createContext)(!1), bx = /*#__PURE__*/ (0, D.createContext)(null);+function xx(e) {+ if ((0, D.useContext)(bx)) return e.content;+ let { collection: t, document: n } = $re(e.createCollection);+ return /*#__PURE__*/ D.createElement(D.Fragment, null, /*#__PURE__*/ D.createElement(qre, null, /*#__PURE__*/ D.createElement(bx.Provider, { value: n }, e.content)), /*#__PURE__*/ D.createElement(Xre, {render: e.children,collection: t}));}-function Yre({ collection: e, render: t }) {+function Xre({ collection: e, render: t }) {return t(e);}-function Xre(e, t, n) {- let r = Cb(), i = (0, D.useRef)(r);+function Zre(e, t, n) {+ let r = Sb(), i = (0, D.useRef)(r);i.current = r;let a = (0, D.useCallback)(() => i.current ? n() : t(), [t, n]);- return (0, Jre.useSyncExternalStore)(e, a);+ return (0, Yre.useSyncExternalStore)(e, a);}-var Zre = typeof D.useSyncExternalStore == "function" ? D.useSyncExternalStore : Xre;-function Qre(e) {- let [t] = (0, D.useState)(() => new Qne(e?.() || new Ny()));+var Qre = typeof D.useSyncExternalStore == "function" ? D.useSyncExternalStore : Zre;+function $re(e) {+ let [t] = (0, D.useState)(() => new $ne(e?.() || new My()));return {- collection: Zre((0, D.useCallback)((e) => t.subscribe(e), [t]), (0, D.useCallback)(() => {+ collection: Qre((0, D.useCallback)((e) => t.subscribe(e), [t]), (0, D.useCallback)(() => {let e = t.getCollection();return t.isSSR && t.resetAfterSSR(), e;}, [t]), (0, D.useCallback)(() => (t.isSSR = !0, t.getCollection()), [t])),document: t};}-var Cx = /*#__PURE__*/ (0, D.createContext)(null);-function $re(e) {- return class extends ky {+var Sx = /*#__PURE__*/ (0, D.createContext)(null);+function eie(e) {+ return class extends Oy {static {this.type = e;}};}-function wx(e, t, n, r, i, a) {- typeof e == "string" && (e = $re(e));+function Cx(e, t, n, r, i, a) {+ typeof e == "string" && (e = eie(e));let o = (0, D.useCallback)((i) => {i?.setProps(t, n, e, r, a);}, [@@ -21494,86 +21494,86 @@ function wx(e, t, n, r, i, a) {r,a,e- ]), s = (0, D.useContext)(Cx);+ ]), s = (0, D.useContext)(Sx);if (s) {let o = s.ownerDocument.nodesByProps.get(t);- return o || (o = s.ownerDocument.createElement(e.type), o.setProps(t, n, e, r, a), s.appendChild(o), s.ownerDocument.updateCollection(), s.ownerDocument.nodesByProps.set(t, o)), i ? /*#__PURE__*/ D.createElement(Cx.Provider, { value: o }, i) : null;+ return o || (o = s.ownerDocument.createElement(e.type), o.setProps(t, n, e, r, a), s.appendChild(o), s.ownerDocument.updateCollection(), s.ownerDocument.nodesByProps.set(t, o)), i ? /*#__PURE__*/ D.createElement(Sx.Provider, { value: o }, i) : null;}return /*#__PURE__*/ D.createElement(e.type, { ref: o }, i);}-function Tx(e, t) {+function wx(e, t) {let n = ({ node: e }) => t(e.props, e.props.ref, e), r = (0, D.forwardRef)((r, i) => {- let a = (0, D.useContext)(mx);- if (!(0, D.useContext)(bx)) {+ let a = (0, D.useContext)(px);+ if (!(0, D.useContext)(yx)) {if (t.length >= 3) throw Error(t.name + " cannot be rendered outside a collection.");return t(r, i);}- return wx(e, r, i, "children" in r ? r.children : null, null, (e) => /*#__PURE__*/ D.createElement(mx.Provider, { value: a }, /*#__PURE__*/ D.createElement(n, { node: e })));+ return Cx(e, r, i, "children" in r ? r.children : null, null, (e) => /*#__PURE__*/ D.createElement(px.Provider, { value: a }, /*#__PURE__*/ D.createElement(n, { node: e })));});return r.displayName = t.name, r;}-function Ex(e, t, n = Dx) {- let r = ({ node: e }) => t(e.props, e.props.ref, e), i = (0, D.forwardRef)((t, i) => wx(e, t, i, null, n(t), (e) => /*#__PURE__*/ D.createElement(r, { node: e })) ?? /*#__PURE__*/ D.createElement(D.Fragment, null));+function Tx(e, t, n = Ex) {+ let r = ({ node: e }) => t(e.props, e.props.ref, e), i = (0, D.forwardRef)((t, i) => Cx(e, t, i, null, n(t), (e) => /*#__PURE__*/ D.createElement(r, { node: e })) ?? /*#__PURE__*/ D.createElement(D.Fragment, null));return i.displayName = t.name, i;}-function Dx(e) {- return Ly({+function Ex(e) {+ return Iy({...e,addIdAndValue: !0});}-var Ox = /*#__PURE__*/ (0, D.createContext)(null);-function kx(e) {- let t = (0, D.useContext)(Ox), n = (t?.dependencies || []).concat(e.dependencies), r = e.idScope ?? t?.idScope, i = Dx({+var Dx = /*#__PURE__*/ (0, D.createContext)(null);+function Ox(e) {+ let t = (0, D.useContext)(Dx), n = (t?.dependencies || []).concat(e.dependencies), r = e.idScope ?? t?.idScope, i = Ex({...e,idScope: r,dependencies: n});- return (0, D.useContext)(xx) && (i = /*#__PURE__*/ D.createElement(eie, null, i)), t = (0, D.useMemo)(() => ({+ return (0, D.useContext)(bx) && (i = /*#__PURE__*/ D.createElement(tie, null, i)), t = (0, D.useMemo)(() => ({dependencies: n,idScope: r- }), [r, ...n]), /*#__PURE__*/ D.createElement(Ox.Provider, { value: t }, i);+ }), [r, ...n]), /*#__PURE__*/ D.createElement(Dx.Provider, { value: t }, i);}-function eie({ children: e }) {- let t = (0, D.useContext)(xx), n = (0, D.useMemo)(() => /*#__PURE__*/ D.createElement(xx.Provider, { value: null }, /*#__PURE__*/ D.createElement(bx.Provider, { value: !0 }, e)), [e]);- return Cb() ? /*#__PURE__*/ D.createElement(Cx.Provider, { value: t }, n) : /*#__PURE__*/ (0, Et.createPortal)(n, t);+function tie({ children: e }) {+ let t = (0, D.useContext)(bx), n = (0, D.useMemo)(() => /*#__PURE__*/ D.createElement(bx.Provider, { value: null }, /*#__PURE__*/ D.createElement(yx.Provider, { value: !0 }, e)), [e]);+ return Sb() ? /*#__PURE__*/ D.createElement(Sx.Provider, { value: t }, n) : /*#__PURE__*/ (0, Et.createPortal)(n, t);}//#endregion//#region node_modules/react-aria/dist/private/utils/constants.mjs-var tie = "react-aria-clear-focus", nie = "react-aria-focus";+var nie = "react-aria-clear-focus", rie = "react-aria-focus";//#endregion//#region node_modules/react-aria/dist/private/focus/virtualFocus.mjs-function Ax(e) {- let t = iie(zy(e));- t !== e && (t && rie(t, e), e && jx(e, t));+function kx(e) {+ let t = aie(Ry(e));+ t !== e && (t && iie(t, e), e && Ax(e, t));}-function rie(e, t) {+function iie(e, t) {e.dispatchEvent(new FocusEvent("blur", { relatedTarget: t })), e.dispatchEvent(new FocusEvent("focusout", {bubbles: !0,relatedTarget: t}));}-function jx(e, t) {+function Ax(e, t) {e.dispatchEvent(new FocusEvent("focus", { relatedTarget: t })), e.dispatchEvent(new FocusEvent("focusin", {bubbles: !0,relatedTarget: t}));}-function iie(e) {- let t = qy(e), n = t?.getAttribute("aria-activedescendant");+function aie(e) {+ let t = Ky(e), n = t?.getAttribute("aria-activedescendant");return n && e.getElementById(n) || t;}//#endregion//#region node_modules/react-aria/dist/private/utils/getMetaValue.mjs-function Mx(e, t) {- let n = By(t), r = zy(t);+function jx(e, t) {+ let n = zy(t), r = Ry(t);if (r == null || n == null) return;let i, a = `meta[name="${CSS.escape(e)}"], meta[property="${CSS.escape(e)}"]`, o = r.querySelector(a);return o && o instanceof n.HTMLMetaElement && (e === "csp-nonce" && o.nonce && (i ??= o.nonce || void 0), o.content && (i ??= o.content || void 0)), e === "csp-nonce" && (i ??= n.__webpack_nonce__ || globalThis.__webpack_nonce__ || void 0), i;}//#endregion//#region node_modules/react-aria/dist/private/utils/keyboard.mjs-var Nx = 100, Px = 600, Fx = {+var Mx = 100, Nx = 600, Px = {isOpen: !1,screenWidth: 0,screenHeight: 0,@@ -21583,7 +21583,7 @@ var Nx = 100, Px = 600, Fx = {endTimeStamp: 0,resizeTimeStamp: 0,resizeTimeout: 0-}, aie = /* @__PURE__ */ new Set([+}, oie = /* @__PURE__ */ new Set(["checkbox","radio","range",@@ -21594,7 +21594,7 @@ var Nx = 100, Px = 600, Fx = {"submit","reset"]);-function Ix() {+function Fx() {let e = Number(window.visualViewport?.width ?? window.innerWidth), t = Number(window.visualViewport?.height ?? window.innerHeight), n = Number(window.visualViewport?.scale ?? 1);return {width: e * n,@@ -21602,59 +21602,59 @@ function Ix() {angle: window.screen.orientation?.angle ?? 0};}-function oie(e) {- Fx.resizeTimeStamp <= e.timeStamp + 50 && (Fx.resizeTimeStamp = e.timeStamp + 150, window.clearTimeout(Fx.resizeTimeout), Fx.resizeTimeout = window.setTimeout(Lx, 150));+function sie(e) {+ Px.resizeTimeStamp <= e.timeStamp + 50 && (Px.resizeTimeStamp = e.timeStamp + 150, window.clearTimeout(Px.resizeTimeout), Px.resizeTimeout = window.setTimeout(Ix, 150));}-function Lx() {- let e = Mx("viewport");- if (mb() && e?.includes("overlays-content")) return;- let t = performance.now(), n = Ix(), r = t - Fx.startTimeStamp, i = Fx.screenHeight - n.height, a = Fx.screenAngle - n.angle;- Math.abs(a) % 180 && Fx.screenWidth - n.height < Nx && (Fx.screenWidth = n.width, Fx.screenHeight = n.height, Fx.screenAngle = n.angle, i = 0), r > Px && (window.clearTimeout(Fx.screenTimeout), Fx.screenTimeout = window.setTimeout(() => {- let e = Bx(document.hasFocus() ? qy() : null), t = Ix();- Math.abs(Fx.screenAngle - t.angle) % 180 || Fx.isOpen && e || (Fx.screenWidth = t.width, Fx.screenHeight = t.height, Fx.screenAngle = t.angle, Fx.isOpen = !1);- }, Px)), r <= Px && i >= Nx && (Fx.endTimeStamp = t), Fx.isOpen = i >= Nx;-}-function sie() {- let e = Ix(), t = Fx.screenAngle - e.angle;- if (Math.abs(t) % 180 && !Fx.isOpen) {- let e = Fx.screenWidth;- Fx.screenWidth = Fx.screenHeight, Fx.screenHeight = e;- }- Fx.isOpen || (Fx.screenAngle = e.angle);-}-function cie(e) {- let t = Bx(G(e)), n = performance.now(), r = Ix(), i = Fx.screenHeight - r.height;- i < Nx && t && (Fx.screenWidth = r.width, Fx.screenHeight = r.height, Fx.screenAngle = r.angle, Fx.startTimeStamp = n), t && window.clearTimeout(Fx.screenTimeout), i >= Nx && t && (Fx.endTimeStamp = n);+function Ix() {+ let e = jx("viewport");+ if (pb() && e?.includes("overlays-content")) return;+ let t = performance.now(), n = Fx(), r = t - Px.startTimeStamp, i = Px.screenHeight - n.height, a = Px.screenAngle - n.angle;+ Math.abs(a) % 180 && Px.screenWidth - n.height < Mx && (Px.screenWidth = n.width, Px.screenHeight = n.height, Px.screenAngle = n.angle, i = 0), r > Nx && (window.clearTimeout(Px.screenTimeout), Px.screenTimeout = window.setTimeout(() => {+ let e = zx(document.hasFocus() ? Ky() : null), t = Fx();+ Math.abs(Px.screenAngle - t.angle) % 180 || Px.isOpen && e || (Px.screenWidth = t.width, Px.screenHeight = t.height, Px.screenAngle = t.angle, Px.isOpen = !1);+ }, Nx)), r <= Nx && i >= Mx && (Px.endTimeStamp = t), Px.isOpen = i >= Mx;+}+function cie() {+ let e = Fx(), t = Px.screenAngle - e.angle;+ if (Math.abs(t) % 180 && !Px.isOpen) {+ let e = Px.screenWidth;+ Px.screenWidth = Px.screenHeight, Px.screenHeight = e;+ }+ Px.isOpen || (Px.screenAngle = e.angle);+}+function lie(e) {+ let t = zx(G(e)), n = performance.now(), r = Fx(), i = Px.screenHeight - r.height;+ i < Mx && t && (Px.screenWidth = r.width, Px.screenHeight = r.height, Px.screenAngle = r.angle, Px.startTimeStamp = n), t && window.clearTimeout(Px.screenTimeout), i >= Mx && t && (Px.endTimeStamp = n);}-function Rx() {- let e = Ix();- Uy(window.visualViewport, "resize", fb() ? Lx : oie), Uy(window.screen.orientation, "change", sie), Uy(window, "focus", cie, {+function Lx() {+ let e = Fx();+ Hy(window.visualViewport, "resize", db() ? Ix : sie), Hy(window.screen.orientation, "change", cie), Hy(window, "focus", lie, {capture: !0,passive: !0- }), Fx.screenWidth = e.width, Fx.screenHeight = e.height, Fx.screenAngle = e.angle;+ }), Px.screenWidth = e.width, Px.screenHeight = e.height, Px.screenAngle = e.angle;}-typeof document < "u" && (document.readyState === "loading" ? Uy(document, "DOMContentLoaded", Rx) : Rx());-function zx() {- let e = Mx("viewport");- return mb() && e?.includes("overlays-content") ? !1 : Fx.isOpen ? !0 : Fx.startTimeStamp ? Fx.endTimeStamp >= Fx.startTimeStamp ? !0 : performance.now() - Fx.startTimeStamp <= Px ? Fx.endTimeStamp > 0 || window.navigator.maxTouchPoints > 0 : !1 : window.navigator.maxTouchPoints > 0;+typeof document < "u" && (document.readyState === "loading" ? Hy(document, "DOMContentLoaded", Lx) : Lx());+function Rx() {+ let e = jx("viewport");+ return pb() && e?.includes("overlays-content") ? !1 : Px.isOpen ? !0 : Px.startTimeStamp ? Px.endTimeStamp >= Px.startTimeStamp ? !0 : performance.now() - Px.startTimeStamp <= Nx ? Px.endTimeStamp > 0 || window.navigator.maxTouchPoints > 0 : !1 : window.navigator.maxTouchPoints > 0;}-function Bx(e) {- if (!(e instanceof Element) || !Qy(e)) return !1;- let t = e instanceof HTMLTextAreaElement, n = e instanceof HTMLElement && e.isContentEditable, r = e instanceof HTMLInputElement && !aie.has(e.type);+function zx(e) {+ if (!(e instanceof Element) || !Zy(e)) return !1;+ let t = e instanceof HTMLTextAreaElement, n = e instanceof HTMLElement && e.isContentEditable, r = e instanceof HTMLInputElement && !oie.has(e.type);return t || n || r;}-function Vx(e) {- return lb() ? e.metaKey : e.ctrlKey;+function Bx(e) {+ return cb() ? e.metaKey : e.ctrlKey;}-function Hx() {- return Fx.isOpen;+function Vx() {+ return Px.isOpen;}//#endregion//#region node_modules/react-aria/dist/private/utils/useEffectEvent.mjs-var lie = D.useInsertionEffect ?? tb;-function Ux(e) {+var uie = D.useInsertionEffect ?? eb;+function Hx(e) {let t = (0, D.useRef)(null);- return lie(() => {+ return uie(() => {t.current = e;}, [e]), (0, D.useCallback)((...e) => {let n = t.current;@@ -21663,10 +21663,10 @@ function Ux(e) {}//#endregion//#region node_modules/react-aria/dist/private/utils/useEvent.mjs-function Wx(e, t, n, r) {- let i = Ux(n), a = n == null;+function Ux(e, t, n, r) {+ let i = Hx(n), a = n == null;(0, D.useEffect)(() => {- if (!(a || e.current == null)) return Uy(e.current, t, i, r);+ if (!(a || e.current == null)) return Hy(e.current, t, i, r);}, [e,t,@@ -21676,9 +21676,9 @@ function Wx(e, t, n, r) {}//#endregion//#region node_modules/react-aria/dist/private/utils/useLabels.mjs-function Gx(e, t) {+function Wx(e, t) {let { id: n, "aria-label": r, "aria-labelledby": i } = e;- return n = tx(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 = ex(n), i && r ? i = [.../* @__PURE__ */ new Set([n, ...i.trim().split(/\s+/)])].join(" ") : i &&= i.trim().split(/\s+/).join(" "), !r && !i && t && (r = t), {id: n,"aria-label": r,"aria-labelledby": i@@ -21686,7 +21686,7 @@ function Gx(e, t) {}//#endregion//#region node_modules/react-aria/dist/private/i18n/utils.mjs-var uie = /* @__PURE__ */ new Set([+var die = /* @__PURE__ */ new Set(["Arab","Syrc","Samr",@@ -21697,7 +21697,7 @@ var uie = /* @__PURE__ */ new Set(["Adlm","Rohg","Hebr"-]), die = /* @__PURE__ */ new Set([+]), fie = /* @__PURE__ */ new Set(["ae","ar","arc",@@ -21718,20 +21718,20 @@ var uie = /* @__PURE__ */ new Set(["ur","yi"]);-function fie(e) {+function pie(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 uie.has(t.script);+ if (t.script) return die.has(t.script);}let t = e.split("-")[0];- return die.has(t);+ return fie.has(t);}//#endregion//#region node_modules/react-aria/dist/private/i18n/useDefaultLocale.mjs-var Kx = Symbol.for("react-aria.i18n.locale");-function qx() {- let e = typeof window < "u" && window[Kx] || typeof navigator < "u" && (navigator.language || navigator.userLanguage) || "en-US";+var Gx = Symbol.for("react-aria.i18n.locale");+function Kx() {+ let e = typeof window < "u" && window[Gx] || typeof navigator < "u" && (navigator.language || navigator.userLanguage) || "en-US";try {Intl.DateTimeFormat.supportedLocalesOf([e]);} catch {@@ -21739,33 +21739,33 @@ function qx() {}return {locale: e,- direction: fie(e) ? "rtl" : "ltr"+ direction: pie(e) ? "rtl" : "ltr"};}-var Jx = qx(), Yx = /* @__PURE__ */ new Set();-function Xx() {- Jx = qx();- for (let e of Yx) e(Jx);+var qx = Kx(), Jx = /* @__PURE__ */ new Set();+function Yx() {+ qx = Kx();+ for (let e of Jx) e(qx);}-function pie() {- let e = Cb(), [t, n] = (0, D.useState)(Jx);- return (0, D.useEffect)(() => (Yx.size === 0 && window.addEventListener("languagechange", Xx), Yx.add(n), () => {- Yx.delete(n), Yx.size === 0 && window.removeEventListener("languagechange", Xx);+function mie() {+ let e = Sb(), [t, n] = (0, D.useState)(qx);+ return (0, D.useEffect)(() => (Jx.size === 0 && window.addEventListener("languagechange", Yx), Jx.add(n), () => {+ Jx.delete(n), Jx.size === 0 && window.removeEventListener("languagechange", Yx);}), []), e ? {- locale: typeof window < "u" && window[Kx] || "en-US",+ locale: typeof window < "u" && window[Gx] || "en-US",direction: "ltr"} : t;}//#endregion//#region node_modules/react-aria/dist/private/i18n/I18nProvider.mjs-var mie = /*#__PURE__*/ D.createContext(null);-function Zx() {- let e = pie();- return (0, D.useContext)(mie) || e;+var hie = /*#__PURE__*/ D.createContext(null);+function Xx() {+ let e = mie();+ return (0, D.useContext)(hie) || e;}//#endregion//#region node_modules/@internationalized/string/dist/private/LocalizedStringDictionary.mjs-var hie = Symbol.for("react-aria.i18n.locale"), gie = Symbol.for("react-aria.i18n.strings"), Qx = void 0, $x = class e {+var gie = Symbol.for("react-aria.i18n.locale"), _ie = Symbol.for("react-aria.i18n.strings"), Zx = void 0, Qx = class e {constructor(e, t = "en-US") {this.strings = Object.fromEntries(Object.entries(e).filter(([, e]) => e)), this.defaultLocale = t;}@@ -21776,39 +21776,39 @@ var hie = Symbol.for("react-aria.i18n.locale"), gie = Symbol.for("react-aria.i18}getStringsForLocale(e) {let t = this.strings[e];- return t || (t = _ie(e, this.strings, this.defaultLocale), this.strings[e] = t), t;+ return t || (t = vie(e, this.strings, this.defaultLocale), this.strings[e] = t), t;}static getGlobalDictionaryForPackage(t) {if (typeof window > "u") return null;- let n = window[hie];- if (Qx === void 0) {- let t = window[gie];+ let n = window[gie];+ if (Zx === void 0) {+ let t = window[_ie];if (!t) return null;- Qx = {};- for (let r in t) Qx[r] = new e({ [n]: t[r] }, n);+ Zx = {};+ for (let r in t) Zx[r] = new e({ [n]: t[r] }, n);}- let r = Qx?.[t];+ let r = Zx?.[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 _ie(e, t, n = "en-US") {+function vie(e, t, n = "en-US") {if (t[e]) return t[e];- let r = vie(e), i = yie(e);+ let r = yie(e), i = bie(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 vie(e) {+function yie(e) {return Intl.Locale ? new Intl.Locale(e).language : e.split("-")[0];}-function yie(e) {+function bie(e) {if (Intl.Locale) return new Intl.Locale(e).script;}//#endregion//#region node_modules/@internationalized/string/dist/private/LocalizedStringFormatter.mjs-var eS = /* @__PURE__ */ new Map(), tS = /* @__PURE__ */ new Map(), nS = class {+var $x = /* @__PURE__ */ new Map(), eS = /* @__PURE__ */ new Map(), tS = class {constructor(e, t) {this.locale = e, this.strings = t;}@@ -21819,37 +21819,37 @@ var eS = /* @__PURE__ */ new Map(), tS = /* @__PURE__ */ new Map(), nS = class {plural(e, t, n = "cardinal") {let r = t["=" + e];if (r) return typeof r == "function" ? r() : r;- let i = this.locale + ":" + n, a = eS.get(i);- return a || (a = new Intl.PluralRules(this.locale, { type: n }), eS.set(i, a)), r = t[a.select(e)] || t.other, typeof r == "function" ? r() : r;+ let i = this.locale + ":" + n, a = $x.get(i);+ return a || (a = new Intl.PluralRules(this.locale, { type: n }), $x.set(i, a)), r = t[a.select(e)] || t.other, typeof r == "function" ? r() : r;}number(e) {- let t = tS.get(this.locale);- return t || (t = new Intl.NumberFormat(this.locale), tS.set(this.locale, t)), t.format(e);+ let t = eS.get(this.locale);+ return t || (t = new Intl.NumberFormat(this.locale), eS.set(this.locale, t)), t.format(e);}select(e, t) {let n = e[t] || e.other;return typeof n == "function" ? n() : n;}-}, rS = /* @__PURE__ */ new WeakMap();-function iS(e) {- let t = rS.get(e);- return t || (t = new $x(e), rS.set(e, t)), t;+}, nS = /* @__PURE__ */ new WeakMap();+function rS(e) {+ let t = nS.get(e);+ return t || (t = new Qx(e), nS.set(e, t)), t;}-function aS(e, t) {- return t && $x.getGlobalDictionaryForPackage(t) || iS(e);+function iS(e, t) {+ return t && Qx.getGlobalDictionaryForPackage(t) || rS(e);}-function oS(e, t) {- let { locale: n } = Zx(), r = aS(e, t);- return (0, D.useMemo)(() => new nS(n, r), [n, r]);+function aS(e, t) {+ let { locale: n } = Xx(), r = iS(e, t);+ return (0, D.useMemo)(() => new tS(n, r), [n, r]);}//#endregion//#region node_modules/react-aria/dist/private/utils/filterDOMProps.mjs-var sS = /* @__PURE__ */ new Set(["id"]), cS = /* @__PURE__ */ new Set([+var oS = /* @__PURE__ */ new Set(["id"]), sS = /* @__PURE__ */ new Set(["aria-label","aria-labelledby","aria-describedby","aria-details"-]), lS = /* @__PURE__ */ new Set([+]), cS = /* @__PURE__ */ new Set(["href","hrefLang","target",@@ -21857,64 +21857,64 @@ var sS = /* @__PURE__ */ new Set(["id"]), cS = /* @__PURE__ */ new Set(["download","ping","referrerPolicy"-]), uS = /* @__PURE__ */ new Set([+]), lS = /* @__PURE__ */ new Set(["dir","lang","hidden","inert","translate","suppressHydrationWarning"-]), dS = /* @__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(".")), fS = /^(data-.*)$/;-function pS(e, t = {}) {+]), uS = /* @__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(".")), dS = /^(data-.*)$/;+function fS(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) && (sS.has(t) || n && cS.has(t) || r && lS.has(t) || i && uS.has(t) || a && (dS.has(t) || t.endsWith("Capture") && dS.has(t.slice(0, -7))) || o?.has(t) || fS.test(t)) && (s[t] = e[t]);+ for (let t in e) Object.prototype.hasOwnProperty.call(e, t) && (oS.has(t) || n && sS.has(t) || r && cS.has(t) || i && lS.has(t) || a && (uS.has(t) || t.endsWith("Capture") && uS.has(t.slice(0, -7))) || o?.has(t) || dS.test(t)) && (s[t] = e[t]);return s;}//#endregion//#region node_modules/react-aria/dist/private/interactions/textSelection.mjs-var mS = "default", hS = "", gS = /* @__PURE__ */ new WeakMap();-function _S(e) {- if (db() && fb()) {- if (mS === "default") {- let t = zy(e);- hS = t.documentElement.style.webkitUserSelect, t.documentElement.style.webkitUserSelect = "none";- }- mS = "disabled";+var pS = "default", mS = "", hS = /* @__PURE__ */ new WeakMap();+function gS(e) {+ if (ub() && db()) {+ if (pS === "default") {+ let t = Ry(e);+ mS = t.documentElement.style.webkitUserSelect, t.documentElement.style.webkitUserSelect = "none";+ }+ pS = "disabled";} else if (e instanceof HTMLElement || e instanceof SVGElement) {let t = "userSelect" in e.style ? "userSelect" : "webkitUserSelect";- gS.set(e, e.style[t]), e.style[t] = "none";+ hS.set(e, e.style[t]), e.style[t] = "none";}}-function vS(e) {- if (db() && fb()) {- if (mS !== "disabled") return;- mS = "restoring", setTimeout(() => {- Yb(() => {- if (mS === "restoring") {- let t = zy(e);- t.documentElement.style.webkitUserSelect === "none" && (t.documentElement.style.webkitUserSelect = hS || ""), hS = "", mS = "default";+function _S(e) {+ if (ub() && db()) {+ if (pS !== "disabled") return;+ pS = "restoring", setTimeout(() => {+ Jb(() => {+ if (pS === "restoring") {+ let t = Ry(e);+ t.documentElement.style.webkitUserSelect === "none" && (t.documentElement.style.webkitUserSelect = mS || ""), mS = "", pS = "default";}});}, 300);- } else if ((e instanceof HTMLElement || e instanceof SVGElement) && e && gS.has(e)) {- let t = gS.get(e), n = "userSelect" in e.style ? "userSelect" : "webkitUserSelect";- e.style[n] === "none" && (e.style[n] = t), e.getAttribute("style") === "" && e.removeAttribute("style"), gS.delete(e);+ } else if ((e instanceof HTMLElement || e instanceof SVGElement) && e && hS.has(e)) {+ let t = hS.get(e), n = "userSelect" in e.style ? "userSelect" : "webkitUserSelect";+ e.style[n] === "none" && (e.style[n] = t), e.getAttribute("style") === "" && e.removeAttribute("style"), hS.delete(e);}}//#endregion//#region node_modules/react-aria/dist/private/utils/getNonce.mjs-var yS = /* @__PURE__ */ new WeakMap();-function bS(e) {- let t = zy(e), n = yS.get(t);- return n ??= Mx("csp-nonce", t), n !== void 0 && yS.set(t, n), n;+var vS = /* @__PURE__ */ new WeakMap();+function yS(e) {+ let t = Ry(e), n = vS.get(t);+ return n ??= jx("csp-nonce", t), n !== void 0 && vS.set(t, n), n;}//#endregion//#region node_modules/react-aria/dist/private/interactions/context.mjs-var xS = D.createContext({ register: () => {} });-xS.displayName = "PressResponderContext";+var bS = D.createContext({ register: () => {} });+bS.displayName = "PressResponderContext";//#endregion//#region node_modules/react-aria/dist/private/utils/useGlobalListeners.mjs-function SS() {+function xS() {let e = (0, D.useRef)(/* @__PURE__ */ new Map()), t = (0, D.useCallback)((t, n, r, i) => {let a = i?.once ? (...t) => {e.current.delete(r), r(...t);@@ -21941,15 +21941,15 @@ function SS() {}//#endregion//#region node_modules/react-aria/dist/private/interactions/usePress.mjs-function CS(e) {- let t = (0, D.useContext)(xS);+function SS(e) {+ let t = (0, D.useContext)(bS);if (t) {let { register: n, ref: r, ...i } = t;e = K(i, e), n();}- return px(t, e.ref), e;+ return fx(t, e.ref), e;}-var wS = class {+var CS = class {#e;constructor(e, t, n, r) {this.#e = !0;@@ -21962,9 +21962,9 @@ var wS = class {get shouldStopPropagation() {return this.#e;}-}, TS = Symbol("linkClicked"), ES = "react-aria-pressable-style", DS = "data-react-aria-pressable";-function OS(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 } = CS(e), [m, h] = (0, D.useState)(!1), g = (0, D.useRef)({+}, wS = Symbol("linkClicked"), TS = "react-aria-pressable-style", ES = "data-react-aria-pressable";+function DS(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 } = SS(e), [m, h] = (0, D.useState)(!1), g = (0, D.useRef)({isPressed: !1,ignoreEmulatedMouseEvents: !1,didFirePressStart: !1,@@ -21974,12 +21974,12 @@ function OS(e) {isOverTarget: !1,pointerType: null,disposables: []- }), { addGlobalListener: _, removeAllGlobalListeners: v } = SS(), y = (0, D.useCallback)((e, t) => {+ }), { addGlobalListener: _, removeAllGlobalListeners: v } = xS(), y = (0, D.useCallback)((e, t) => {let i = g.current;if (s || i.didFirePressStart) return !1;let a = !0;if (i.isTriggeringEvent = !0, r) {- let n = new wS("pressstart", t, e);+ let n = new CS("pressstart", t, e);r(n), a = n.shouldStopPropagation;}return n && n(!0), i.isTriggeringEvent = !1, i.didFirePressStart = !0, h(!0), a;@@ -21993,11 +21993,11 @@ function OS(e) {o.didFirePressStart = !1, o.isTriggeringEvent = !0;let c = !0;if (i) {- let t = new wS("pressend", r, e);+ let t = new CS("pressend", r, e);i(t), c = t.shouldStopPropagation;}if (n && n(!1), h(!1), t && a && !s) {- let n = new wS("press", r, e);+ let n = new CS("press", r, e);t(n), c &&= n.shouldStopPropagation;}return o.isTriggeringEvent = !1, c;@@ -22006,19 +22006,19 @@ function OS(e) {i,n,t- ]), x = Ux(b), S = Ux((0, D.useCallback)((e, t) => {+ ]), x = Hx(b), S = Hx((0, D.useCallback)((e, t) => {let n = g.current;if (s) return !1;if (a) {n.isTriggeringEvent = !0;- let r = new wS("pressup", t, e);+ let r = new CS("pressup", t, e);return a(r), n.isTriggeringEvent = !1, r.shouldStopPropagation;}return !0;}, [s, a])), C = (0, D.useCallback)((e) => {let t = g.current;if (t.isPressed && t.target) {- t.didFirePressStart && t.pointerType != null && b(jS(t.target, e), t.pointerType, !1), t.isPressed = !1, t.isOverTarget = !1, t.activePointerId = null, t.pointerType = null, v(), d || vS(t.target);+ t.didFirePressStart && t.pointerType != null && b(AS(t.target, e), t.pointerType, !1), t.isPressed = !1, t.isOverTarget = !1, t.activePointerId = null, t.pointerType = null, v(), d || _S(t.target);for (let e of t.disposables) e();t.disposables = [];}@@ -22026,7 +22026,7 @@ function OS(e) {d,v,b- ]), w = Ux(C);+ ]), w = Hx(C);(0, D.useEffect)(() => {s && g.current.isPressed && w({currentTarget: g.current.target,@@ -22043,39 +22043,39 @@ function OS(e) {}, [s, o]), O = (0, D.useCallback)((e, t) => {if (!s && o) {let n = new MouseEvent("click", e);- rb(n, t), o(nb(n));+ nb(n, t), o(tb(n));}}, [s, o]), k = (0, D.useMemo)(() => {let e = g.current, t = {onKeyDown(t) {- if (AS(t.nativeEvent, t.currentTarget) && Ky(t.currentTarget, G(t))) {- MS(G(t), t.key) && t.preventDefault();+ if (kS(t.nativeEvent, t.currentTarget) && Gy(t.currentTarget, G(t))) {+ jS(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;- _(zy(t.currentTarget), "keyup", Zb((t) => {- AS(t, i) && !t.repeat && Ky(i, G(t)) && e.target && S(jS(e.target, t), "keyboard");- }, n), !0), r && t.stopPropagation(), t.metaKey && lb() && e.metaKeyEvents?.set(t.key, t.nativeEvent);+ _(Ry(t.currentTarget), "keyup", Xb((t) => {+ kS(t, i) && !t.repeat && Gy(i, G(t)) && e.target && S(AS(e.target, t), "keyboard");+ }, n), !0), r && t.stopPropagation(), t.metaKey && cb() && e.metaKeyEvents?.set(t.key, t.nativeEvent);} else t.key === "Meta" && (e.metaKeyEvents = /* @__PURE__ */ new Map());},onClick(t) {- if ((!t || Ky(t.currentTarget, G(t))) && t && t.button === 0 && !e.isTriggeringEvent && !_b.isOpening) {+ if ((!t || Gy(t.currentTarget, G(t))) && t && t.button === 0 && !e.isTriggeringEvent && !gb.isOpening) {let n = !0;- if (s && t.preventDefault(), !e.ignoreEmulatedMouseEvents && !e.isPressed && (e.pointerType === "virtual" || hb(t.nativeEvent))) {+ if (s && t.preventDefault(), !e.ignoreEmulatedMouseEvents && !e.isPressed && (e.pointerType === "virtual" || mb(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(jS(t.currentTarget, t), r), a = x(jS(t.currentTarget, t), r, !0);+ let r = e.pointerType || t.nativeEvent.pointerType || "virtual", i = S(AS(t.currentTarget, t), r), a = x(AS(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 && AS(t, e.target)) {- MS(G(t), t.key) && t.preventDefault();- let n = G(t), r = Ky(e.target, n);- x(jS(e.target, t), "keyboard", r), r && O(t, e.target), v(), t.key !== "Enter" && kS(e.target) && Ky(e.target, n) && !t[TS] && (t[TS] = !0, _b(e.target, t, !1)), e.isPressed = !1, e.metaKeyEvents?.delete(t.key);+ if (e.isPressed && e.target && kS(t, e.target)) {+ jS(G(t), t.key) && t.preventDefault();+ let n = G(t), r = Gy(e.target, n);+ x(AS(e.target, t), "keyboard", r), r && O(t, e.target), v(), t.key !== "Enter" && OS(e.target) && Gy(e.target, n) && !t[wS] && (t[wS] = !0, gb(e.target, t, !1)), e.isPressed = !1, e.metaKeyEvents?.delete(t.key);} else if (t.key === "Meta" && e.metaKeyEvents?.size) {let t = e.metaKeyEvents;e.metaKeyEvents = void 0;@@ -22084,39 +22084,39 @@ function OS(e) {};if (typeof PointerEvent < "u") {t.onPointerDown = (t) => {- if (t.button !== 0 || !Ky(t.currentTarget, G(t))) return;- if (dre(t.nativeEvent)) {+ if (t.button !== 0 || !Gy(t.currentTarget, G(t))) return;+ if (fre(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 || _S(e.target), i = y(t, e.pointerType);+ e.isPressed = !0, e.isOverTarget = !0, e.activePointerId = t.pointerId, e.target = t.currentTarget, d || gS(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)), _(zy(t.currentTarget), "pointerup", n, !1), _(zy(t.currentTarget), "pointercancel", r, !1);+ "releasePointerCapture" in a && ("hasPointerCapture" in a ? a.hasPointerCapture(t.pointerId) && a.releasePointerCapture(t.pointerId) : a.releasePointerCapture(t.pointerId)), _(Ry(t.currentTarget), "pointerup", n, !1), _(Ry(t.currentTarget), "pointercancel", r, !1);}i && t.stopPropagation();}, t.onMouseDown = (t) => {- if (Ky(t.currentTarget, G(t)) && t.button === 0) {+ if (Gy(t.currentTarget, G(t)) && t.button === 0) {if (l) {- let n = cre(t.target);+ let n = lre(t.target);n && e.disposables.push(n);}t.stopPropagation();}}, t.onPointerUp = (t) => {- Ky(t.currentTarget, G(t)) && e.pointerType !== "virtual" && t.button === 0 && !e.isPressed && S(t, e.pointerType || t.pointerType);+ Gy(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(jS(e.target, t), e.pointerType));+ t.pointerId === e.activePointerId && e.target && !e.isOverTarget && e.pointerType != null && (e.isOverTarget = !0, y(AS(e.target, t), e.pointerType));}, t.onPointerLeave = (t) => {- t.pointerId === e.activePointerId && e.target && e.isOverTarget && e.pointerType != null && (e.isOverTarget = !1, x(jS(e.target, t), e.pointerType, !1), T(t));+ t.pointerId === e.activePointerId && e.target && e.isOverTarget && e.pointerType != null && (e.isOverTarget = !1, x(AS(e.target, t), e.pointerType, !1), T(t));};let n = (t) => {if (t.pointerId === e.activePointerId && e.isPressed && t.button === 0 && e.target) {- if (Ky(e.target, G(t)) && e.pointerType != null) {+ if (Gy(e.target, G(t)) && e.pointerType != null) {let n = !1, r = setTimeout(() => {- e.isPressed && e.target instanceof HTMLElement && (n ? w(t) : (Ry(e.target), e.target.click()));+ e.isPressed && e.target instanceof HTMLElement && (n ? w(t) : (Ly(e.target), e.target.click()));}, 80);_(t.currentTarget, "click", () => n = !0, !0), e.disposables.push(() => clearTimeout(r));} else w(t);@@ -22126,7 +22126,7 @@ function OS(e) {w(e);};t.onDragStart = (e) => {- Ky(e.currentTarget, G(e)) && w(e);+ Gy(e.currentTarget, G(e)) && w(e);};}return t;@@ -22143,14 +22143,14 @@ function OS(e) {]);return (0, D.useEffect)(() => {if (!f) return;- let e = zy(f.current);- if (!e || !e.head || e.getElementById(ES)) return;+ let e = Ry(f.current);+ if (!e || !e.head || e.getElementById(TS)) return;let t = e.createElement("style");- t.id = ES;- let n = bS(e);+ t.id = TS;+ let n = yS(e);n && (t.nonce = n), t.textContent = `@layer {- [${DS}] {+ [${ES}] {touch-action: pan-x pan-y pinch-zoom;}}@@ -22158,23 +22158,23 @@ function OS(e) {}, [f]), (0, D.useEffect)(() => {let e = g.current;return () => {- d || vS(e.target ?? void 0);+ d || _S(e.target ?? void 0);for (let t of e.disposables) t();e.disposables = [];};}, [d]), {isPressed: c || m,- pressProps: K(p, k, { [DS]: !0 })+ pressProps: K(p, k, { [ES]: !0 })};}-function kS(e) {+function OS(e) {return e.tagName === "A" && e.hasAttribute("href");}-function AS(e, t) {+function kS(e, t) {let { key: n, code: r } = e, i = t, a = i.getAttribute("role");- return (n === "Enter" || n === " " || n === "Spacebar" || r === "Space") && !(i instanceof By(i).HTMLInputElement && !NS(i, n) || i instanceof By(i).HTMLTextAreaElement || i.isContentEditable) && !((a === "link" || !a && kS(i)) && n !== "Enter");+ return (n === "Enter" || n === " " || n === "Spacebar" || r === "Space") && !(i instanceof zy(i).HTMLInputElement && !MS(i, n) || i instanceof zy(i).HTMLTextAreaElement || i.isContentEditable) && !((a === "link" || !a && OS(i)) && n !== "Enter");}-function jS(e, t) {+function AS(e, t) {let n = t.clientX, r = t.clientY;return {currentTarget: e,@@ -22187,13 +22187,13 @@ function jS(e, t) {key: t.key};}-function bie(e) {- return e instanceof HTMLInputElement ? !1 : e instanceof HTMLButtonElement ? e.type !== "submit" && e.type !== "reset" : !kS(e);+function xie(e) {+ return e instanceof HTMLInputElement ? !1 : e instanceof HTMLButtonElement ? e.type !== "submit" && e.type !== "reset" : !OS(e);}-function MS(e, t) {- return lb() && t === "Enter" ? !1 : e instanceof HTMLInputElement ? t === "Enter" && (e.type === "checkbox" || e.type === "radio") ? !1 : !NS(e, t) : bie(e);+function jS(e, t) {+ return cb() && t === "Enter" ? !1 : e instanceof HTMLInputElement ? t === "Enter" && (e.type === "checkbox" || e.type === "radio") ? !1 : !MS(e, t) : xie(e);}-var xie = /* @__PURE__ */ new Set([+var Sie = /* @__PURE__ */ new Set(["checkbox","radio","range",@@ -22204,12 +22204,12 @@ var xie = /* @__PURE__ */ new Set(["submit","reset"]);-function NS(e, t) {- return e.type === "checkbox" || e.type === "radio" ? t === " " : xie.has(e.type);+function MS(e, t) {+ return e.type === "checkbox" || e.type === "radio" ? t === " " : Sie.has(e.type);}//#endregion//#region node_modules/react-aria/dist/private/button/useButton.mjs-function Sie(e, t) {+function Cie(e, t) {let { elementType: n = "button", isDisabled: r, onPress: i, onPressStart: a, onPressEnd: o, onPressUp: s, onPressChange: c, preventFocusOnPress: l, allowFocusWhenDisabled: u, onClick: d, href: f, target: p, rel: m, type: h = "button" } = e, g;g = n === "button" ? {type: h,@@ -22231,7 +22231,7 @@ function Sie(e, t) {"aria-disabled": !r || n === "input" ? void 0 : r,rel: n === "a" ? m : void 0};- let { pressProps: _, isPressed: v } = OS({+ let { pressProps: _, isPressed: v } = DS({onPressStart: a,onPressEnd: o,onPressChange: c,@@ -22241,9 +22241,9 @@ function Sie(e, t) {isDisabled: r,preventFocusOnPress: l,ref: t- }), { focusableProps: y } = hx(e, t);+ }), { focusableProps: y } = mx(e, t);u && (y.tabIndex = r ? -1 : y.tabIndex);- let b = K(y, _, pS(e, { labelable: !0 }));+ let b = K(y, _, fS(e, { labelable: !0 }));return {isPressed: v,buttonProps: K(g, b, {@@ -22258,7 +22258,7 @@ function Sie(e, t) {}//#endregion//#region node_modules/react-aria/dist/private/utils/shadowdom/ShadowTreeWalker.mjs-var Cie = class {+var wie = class {constructor(e, t, n, r) {this._walkerStack = [], this._currentSetFor = /* @__PURE__ */ new Set(), this._acceptNode = (e) => {if (e.nodeType === Node.ELEMENT_NODE) {@@ -22283,7 +22283,7 @@ var Cie = class {return this._currentNode;}set currentNode(e) {- if (!Ky(this.root, e)) throw Error("Cannot set currentNode to a node that is not contained by the root node.");+ if (!Gy(this.root, e)) throw Error("Cannot set currentNode to a node that is not contained by the root node.");let t = [], n = e, r = e;for (this._currentNode = e; n && n !== this.root;) if (n.nodeType === Node.DOCUMENT_FRAGMENT_NODE) {let e = n, i = this._doc.createTreeWalker(e, this.whatToShow, { acceptNode: this._acceptNode });@@ -22297,7 +22297,7 @@ var Cie = class {}firstChild() {let e = this.currentNode, t = this.nextNode();- return Ky(e, t) ? (t && (this.currentNode = t), t) : (this.currentNode = e, null);+ return Gy(e, t) ? (t && (this.currentNode = t), t) : (this.currentNode = e, null);}lastChild() {let e = this._walkerStack[0].lastChild();@@ -22361,45 +22361,45 @@ var Cie = class {return null;}};-function PS(e, t, n, r) {- return Gy() ? new Cie(e, t, n, r) : e.createTreeWalker(t, n, r);+function NS(e, t, n, r) {+ return Wy() ? new wie(e, t, n, r) : e.createTreeWalker(t, n, r);}//#endregion//#region node_modules/react-aria/dist/private/focus/FocusScope.mjs-var FS = /*#__PURE__*/ D.createContext(null), IS = "react-aria-focus-scope-restore", LS = null;-function RS(e) {- let { children: t, contain: n, restoreFocus: r, autoFocus: i } = e, a = (0, D.useRef)(null), o = (0, D.useRef)(null), s = (0, D.useRef)([]), { parentNode: c } = (0, D.useContext)(FS) || {}, l = (0, D.useMemo)(() => new ZS({ scopeRef: s }), [s]);- tb(() => {- let e = c || QS.root;- if (QS.getTreeNode(e.scopeRef) && LS && !WS(LS, e.scopeRef)) {- let t = QS.getTreeNode(LS);+var PS = /*#__PURE__*/ D.createContext(null), FS = "react-aria-focus-scope-restore", IS = null;+function LS(e) {+ let { children: t, contain: n, restoreFocus: r, autoFocus: i } = e, a = (0, D.useRef)(null), o = (0, D.useRef)(null), s = (0, D.useRef)([]), { parentNode: c } = (0, D.useContext)(PS) || {}, l = (0, D.useMemo)(() => new XS({ scopeRef: s }), [s]);+ eb(() => {+ let e = c || ZS.root;+ if (ZS.getTreeNode(e.scopeRef) && IS && !US(IS, e.scopeRef)) {+ let t = ZS.getTreeNode(IS);t && (e = t);}- e.addChild(l), QS.addNode(l);- }, [l, c]), tb(() => {- let e = QS.getTreeNode(s);+ e.addChild(l), ZS.addNode(l);+ }, [l, c]), eb(() => {+ let e = ZS.getTreeNode(s);e && (e.contain = !!n);- }, [n]), tb(() => {+ }, [n]), eb(() => {let e = a.current?.nextSibling, t = [], n = (e) => e.stopPropagation();- for (; e && e !== o.current;) t.push(e), e.addEventListener(IS, n), e = e.nextSibling;+ for (; e && e !== o.current;) t.push(e), e.addEventListener(FS, n), e = e.nextSibling;return s.current = t, () => {- for (let e of t) e.removeEventListener(IS, n);+ for (let e of t) e.removeEventListener(FS, n);};- }, [t]), Aie(s, r, n), Die(s, n), jie(s, r, n), kie(s, i), (0, D.useEffect)(() => {- let e = qy(zy(s.current ? s.current[0] : void 0)), t = null;- if (HS(e, s.current)) {- for (let n of QS.traverse()) n.scopeRef && HS(e, n.scopeRef.current) && (t = n);- t === QS.getTreeNode(s) && (LS = t.scopeRef);- }- }, [s]), tb(() => () => {- let e = QS.getTreeNode(s)?.parent?.scopeRef ?? null;- (s === LS || WS(s, LS)) && (!e || QS.getTreeNode(e)) && (LS = e), QS.removeTreeNode(s);+ }, [t]), jie(s, r, n), Oie(s, n), Mie(s, r, n), Aie(s, i), (0, D.useEffect)(() => {+ let e = Ky(Ry(s.current ? s.current[0] : void 0)), t = null;+ if (VS(e, s.current)) {+ for (let n of ZS.traverse()) n.scopeRef && VS(e, n.scopeRef.current) && (t = n);+ t === ZS.getTreeNode(s) && (IS = t.scopeRef);+ }+ }, [s]), eb(() => () => {+ let e = ZS.getTreeNode(s)?.parent?.scopeRef ?? null;+ (s === IS || US(s, IS)) && (!e || ZS.getTreeNode(e)) && (IS = e), ZS.removeTreeNode(s);}, [s]);- let u = (0, D.useMemo)(() => wie(s), []), d = (0, D.useMemo)(() => ({+ let u = (0, D.useMemo)(() => Tie(s), []), d = (0, D.useMemo)(() => ({focusManager: u,parentNode: l}), [l, u]);- return /*#__PURE__*/ D.createElement(FS.Provider, { value: d }, /*#__PURE__*/ D.createElement("span", {+ return /*#__PURE__*/ D.createElement(PS.Provider, { value: d }, /*#__PURE__*/ D.createElement("span", {"data-focus-scope-start": !0,hidden: !0,ref: a@@ -22409,154 +22409,154 @@ function RS(e) {ref: o}));}-function wie(e) {+function Tie(e) {return {focusNext(t = {}) {- let n = e.current, { from: r, tabbable: i, wrap: a, accept: o } = t, s = r || qy(zy(n[0] ?? void 0)), c = n[0].previousElementSibling, l = XS(zS(n), {+ let n = e.current, { from: r, tabbable: i, wrap: a, accept: o } = t, s = r || Ky(Ry(n[0] ?? void 0)), c = n[0].previousElementSibling, l = YS(RS(n), {tabbable: i,accept: o}, n);- l.currentNode = HS(s, n) ? s : c;+ l.currentNode = VS(s, n) ? s : c;let u = l.nextNode();- return !u && a && (l.currentNode = c, u = l.nextNode()), u && GS(u, !0), u;+ return !u && a && (l.currentNode = c, u = l.nextNode()), u && WS(u, !0), u;},focusPrevious(t = {}) {- let n = e.current, { from: r, tabbable: i, wrap: a, accept: o } = t, s = r || qy(zy(n[0] ?? void 0)), c = n[n.length - 1].nextElementSibling, l = XS(zS(n), {+ let n = e.current, { from: r, tabbable: i, wrap: a, accept: o } = t, s = r || Ky(Ry(n[0] ?? void 0)), c = n[n.length - 1].nextElementSibling, l = YS(RS(n), {tabbable: i,accept: o}, n);- l.currentNode = HS(s, n) ? s : c;+ l.currentNode = VS(s, n) ? s : c;let u = l.previousNode();- return !u && a && (l.currentNode = c, u = l.previousNode()), u && GS(u, !0), u;+ return !u && a && (l.currentNode = c, u = l.previousNode()), u && WS(u, !0), u;},focusFirst(t = {}) {- let n = e.current, { tabbable: r, accept: i } = t, a = XS(zS(n), {+ let n = e.current, { tabbable: r, accept: i } = t, a = YS(RS(n), {tabbable: r,accept: i}, n);a.currentNode = n[0].previousElementSibling;let o = a.nextNode();- return o && GS(o, !0), o;+ return o && WS(o, !0), o;},focusLast(t = {}) {- let n = e.current, { tabbable: r, accept: i } = t, a = XS(zS(n), {+ let n = e.current, { tabbable: r, accept: i } = t, a = YS(RS(n), {tabbable: r,accept: i}, n);a.currentNode = n[n.length - 1].nextElementSibling;let o = a.previousNode();- return o && GS(o, !0), o;+ return o && WS(o, !0), o;}};}-function zS(e) {+function RS(e) {return e[0].parentElement;}-function BS(e) {- let t = QS.getTreeNode(LS);+function zS(e) {+ let t = ZS.getTreeNode(IS);for (; t && t.scopeRef !== e;) {if (t.contain) return !1;t = t.parent;}return !0;}-function Tie(e) {- if (!e.form) return Array.from(zy(e).querySelectorAll(`input[type="radio"][name="${CSS.escape(e.name)}"]`)).filter((e) => !e.form);- let t = e.form.elements.namedItem(e.name), n = By(e);+function Eie(e) {+ if (!e.form) return Array.from(Ry(e).querySelectorAll(`input[type="radio"][name="${CSS.escape(e.name)}"]`)).filter((e) => !e.form);+ let t = e.form.elements.namedItem(e.name), n = zy(e);return t instanceof n.RadioNodeList ? Array.from(t).filter((e) => e instanceof n.HTMLInputElement) : t instanceof n.HTMLInputElement ? [t] : [];}-function Eie(e) {+function Die(e) {if (e.checked) return !0;- let t = Tie(e);+ let t = Eie(e);return t.length > 0 && !t.some((e) => e.checked);}-function Die(e, t) {+function Oie(e, t) {let n = (0, D.useRef)(void 0), r = (0, D.useRef)(void 0);- tb(() => {+ eb(() => {let i = e.current;if (!t) {r.current &&= (cancelAnimationFrame(r.current), void 0);return;}- let a = zy(i ? i[0] : void 0), o = (t) => {- if (t.key !== "Tab" || t.altKey || t.ctrlKey || t.metaKey || !BS(e) || t.isComposing) return;- let n = qy(a), r = e.current;- if (!r || !HS(n, r)) return;- let i = XS(zS(r), { tabbable: !0 }, r);+ let a = Ry(i ? i[0] : void 0), o = (t) => {+ if (t.key !== "Tab" || t.altKey || t.ctrlKey || t.metaKey || !zS(e) || t.isComposing) return;+ let n = Ky(a), r = e.current;+ if (!r || !VS(n, r)) return;+ let i = YS(RS(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 && (GS(o, !0), o instanceof By(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 && (WS(o, !0), o instanceof zy(o).HTMLInputElement && o.select());}, s = (t) => {- (!LS || WS(LS, e)) && HS(G(t), e.current) ? (LS = e, n.current = G(t)) : BS(e) && !US(G(t), e) ? n.current ? GS(n.current) : LS && LS.current && qS(LS.current) : BS(e) && (n.current = G(t));+ (!IS || US(IS, e)) && VS(G(t), e.current) ? (IS = e, n.current = G(t)) : zS(e) && !HS(G(t), e) ? n.current ? WS(n.current) : IS && IS.current && KS(IS.current) : zS(e) && (n.current = G(t));}, c = (t) => {r.current && cancelAnimationFrame(r.current), r.current = requestAnimationFrame(() => {- let r = zb(), i = (r === "virtual" || r === null) && mb() && pb(), o = qy(a);- if (!i && o && BS(e) && !US(o, e)) {- LS = e;+ let r = Rb(), i = (r === "virtual" || r === null) && pb() && fb(), o = Ky(a);+ if (!i && o && zS(e) && !HS(o, e)) {+ IS = e;let r = G(t);- r && r.isConnected ? (n.current = r, GS(n.current)) : LS.current && qS(LS.current);+ r && r.isConnected ? (n.current = r, WS(n.current)) : IS.current && KS(IS.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]), tb(() => () => {+ }, [e, t]), eb(() => () => {r.current && cancelAnimationFrame(r.current);}, [r]);}-function VS(e) {- return US(e);+function BS(e) {+ return HS(e);}-function HS(e, t) {- return !e || !t ? !1 : t.some((t) => Ky(t, e));+function VS(e, t) {+ return !e || !t ? !1 : t.some((t) => Gy(t, e));}-function US(e, t = null) {+function HS(e, t = null) {if (e instanceof Element && e.closest("[data-react-aria-top-layer]")) return !0;- for (let { scopeRef: n } of QS.traverse(QS.getTreeNode(t))) if (n && HS(e, n.current)) return !0;+ for (let { scopeRef: n } of ZS.traverse(ZS.getTreeNode(t))) if (n && VS(e, n.current)) return !0;return !1;}-function Oie(e) {- return US(e, LS);+function kie(e) {+ return HS(e, IS);}-function WS(e, t) {- let n = QS.getTreeNode(t)?.parent;+function US(e, t) {+ let n = ZS.getTreeNode(t)?.parent;for (; n;) {if (n.scopeRef === e) return !0;n = n.parent;}return !1;}-function GS(e, t = !1) {+function WS(e, t = !1) {if (e != null && !t) try {- Xb(e);+ Yb(e);} catch {}else if (e != null) try {e.focus();} catch {}}-function KS(e, t = !0) {- let n = e[0].previousElementSibling, r = zS(e), i = XS(r, { tabbable: t }, e);+function GS(e, t = !0) {+ let n = e[0].previousElementSibling, r = RS(e), i = YS(r, { tabbable: t }, e);i.currentNode = n;let a = i.nextNode();- return t && !a && (r = zS(e), i = XS(r, { tabbable: !1 }, e), i.currentNode = n, a = i.nextNode()), a;+ return t && !a && (r = RS(e), i = YS(r, { tabbable: !1 }, e), i.currentNode = n, a = i.nextNode()), a;}-function qS(e, t = !0) {- GS(KS(e, t));+function KS(e, t = !0) {+ WS(GS(e, t));}-function kie(e, t) {+function Aie(e, t) {let n = D.useRef(t);(0, D.useEffect)(() => {- n.current && (LS = e, !HS(qy(zy(e.current ? e.current[0] : void 0)), LS.current) && e.current && qS(e.current)), n.current = !1;+ n.current && (IS = e, !VS(Ky(Ry(e.current ? e.current[0] : void 0)), IS.current) && e.current && KS(e.current)), n.current = !1;}, [e]);}-function Aie(e, t, n) {- tb(() => {+function jie(e, t, n) {+ eb(() => {if (t || n) return;- let r = e.current, i = zy(r ? r[0] : void 0), a = (t) => {+ let r = e.current, i = Ry(r ? r[0] : void 0), a = (t) => {let n = G(t);- HS(n, e.current) ? LS = e : VS(n) || (LS = null);+ VS(n, e.current) ? IS = e : BS(n) || (IS = null);};return i.addEventListener("focusin", a, !1), r?.forEach((e) => e.addEventListener("focusin", a, !1)), () => {i.removeEventListener("focusin", a, !1), r?.forEach((e) => e.removeEventListener("focusin", a, !1));@@ -22567,43 +22567,43 @@ function Aie(e, t, n) {n]);}-function JS(e) {- let t = QS.getTreeNode(LS);+function qS(e) {+ let t = ZS.getTreeNode(IS);for (; t && t.scopeRef !== e;) {if (t.nodeToRestore) return !1;t = t.parent;}return t?.scopeRef === e;}-function jie(e, t, n) {- let r = (0, D.useRef)(typeof document < "u" ? qy(zy(e.current ? e.current[0] : void 0)) : null);- tb(() => {- let r = e.current, i = zy(r ? r[0] : void 0);+function Mie(e, t, n) {+ let r = (0, D.useRef)(typeof document < "u" ? Ky(Ry(e.current ? e.current[0] : void 0)) : null);+ eb(() => {+ let r = e.current, i = Ry(r ? r[0] : void 0);if (!t || n) return;let a = () => {- (!LS || WS(LS, e)) && HS(qy(i), e.current) && (LS = e);+ (!IS || US(IS, e)) && VS(Ky(i), e.current) && (IS = 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]), tb(() => {- let r = zy(e.current ? e.current[0] : void 0);+ }, [e, n]), eb(() => {+ let r = Ry(e.current ? e.current[0] : void 0);if (!t) return;let i = (t) => {- if (t.key !== "Tab" || t.altKey || t.ctrlKey || t.metaKey || !BS(e) || t.isComposing) return;+ if (t.key !== "Tab" || t.altKey || t.ctrlKey || t.metaKey || !zS(e) || t.isComposing) return;let n = r.activeElement;- if (!US(n, e) || !JS(e)) return;- let i = QS.getTreeNode(e);+ if (!HS(n, e) || !qS(e)) return;+ let i = ZS.getTreeNode(e);if (!i) return;- let a = i.nodeToRestore, o = XS(r.body, { tabbable: !0 });+ let a = i.nodeToRestore, o = YS(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 || !US(s, e)) && a) {+ if ((!a || !a.isConnected || a === r.body) && (a = void 0, i.nodeToRestore = void 0), (!s || !HS(s, e)) && a) {o.currentNode = a;dos = t.shiftKey ? o.previousNode() : o.nextNode();- while (US(s, e));- t.preventDefault(), t.stopPropagation(), s ? GS(s, !0) : VS(a) ? GS(a, !0) : n.blur();+ while (HS(s, e));+ t.preventDefault(), t.stopPropagation(), s ? WS(s, !0) : BS(a) ? WS(a, !0) : n.blur();}};return n || r.addEventListener("keydown", i, !0), () => {@@ -22613,31 +22613,31 @@ function jie(e, t, n) {e,t,n- ]), tb(() => {- let n = zy(e.current ? e.current[0] : void 0);+ ]), eb(() => {+ let n = Ry(e.current ? e.current[0] : void 0);if (!t) return;- let i = QS.getTreeNode(e);+ let i = ZS.getTreeNode(e);if (i) return i.nodeToRestore = r.current ?? void 0, () => {- let r = QS.getTreeNode(e);+ let r = ZS.getTreeNode(e);if (!r) return;- let i = r.nodeToRestore, a = qy(n);- if (t && i && (a && US(a, e) || a === n.body && JS(e))) {- let t = QS.clone();+ let i = r.nodeToRestore, a = Ky(n);+ if (t && i && (a && HS(a, e) || a === n.body && qS(e))) {+ let t = ZS.clone();requestAnimationFrame(() => {if (n.activeElement === n.body) {let n = t.getTreeNode(e);for (; n;) {if (n.nodeToRestore && n.nodeToRestore.isConnected) {- YS(n.nodeToRestore);+ JS(n.nodeToRestore);return;}n = n.parent;}for (n = t.getTreeNode(e); n;) {- if (n.scopeRef && n.scopeRef.current && QS.getTreeNode(n.scopeRef)) {- let e = KS(n.scopeRef.current, !0);+ if (n.scopeRef && n.scopeRef.current && ZS.getTreeNode(n.scopeRef)) {+ let e = GS(n.scopeRef.current, !0);if (e) {- YS(e);+ JS(e);return;}}@@ -22649,21 +22649,21 @@ function jie(e, t, n) {};}, [e, t]);}-function YS(e) {- e.dispatchEvent(new CustomEvent(IS, {+function JS(e) {+ e.dispatchEvent(new CustomEvent(FS, {bubbles: !0,cancelable: !0- })) && GS(e);+ })) && WS(e);}-function XS(e, t, n) {- let r = t?.tabbable ? $y : Qy, i = zy(e?.nodeType === Node.ELEMENT_NODE ? e : null), a = PS(i, e || i, NodeFilter.SHOW_ELEMENT, { acceptNode(e) {- return Ky(t?.from, e) || t?.tabbable && e.tagName === "INPUT" && e.getAttribute("type") === "radio" && (!Eie(e) || a.currentNode.tagName === "INPUT" && a.currentNode.type === "radio" && a.currentNode.name === e.name) ? NodeFilter.FILTER_REJECT : r(e) && (!n || HS(e, n)) && (!t?.accept || t.accept(e)) ? NodeFilter.FILTER_ACCEPT : NodeFilter.FILTER_SKIP;+function YS(e, t, n) {+ let r = t?.tabbable ? Qy : Zy, i = Ry(e?.nodeType === Node.ELEMENT_NODE ? e : null), a = NS(i, e || i, NodeFilter.SHOW_ELEMENT, { acceptNode(e) {+ return Gy(t?.from, e) || t?.tabbable && e.tagName === "INPUT" && e.getAttribute("type") === "radio" && (!Die(e) || a.currentNode.tagName === "INPUT" && a.currentNode.type === "radio" && a.currentNode.name === e.name) ? NodeFilter.FILTER_REJECT : r(e) && (!n || VS(e, n)) && (!t?.accept || t.accept(e)) ? NodeFilter.FILTER_ACCEPT : NodeFilter.FILTER_SKIP;} });return t?.from && (a.currentNode = t.from), a;}-var Mie = class e {+var Nie = class e {constructor() {- this.fastMap = /* @__PURE__ */ new Map(), this.root = new ZS({ scopeRef: null }), this.fastMap.set(null, this.root);+ this.fastMap = /* @__PURE__ */ new Map(), this.root = new XS({ scopeRef: null }), this.fastMap.set(null, this.root);}get size() {return this.fastMap.size;@@ -22674,7 +22674,7 @@ var Mie = class e {addTreeNode(e, t, n) {let r = this.fastMap.get(t ?? null);if (!r) return;- let i = new ZS({ scopeRef: e });+ let i = new XS({ scopeRef: e });r.addChild(i), i.parent = r, this.fastMap.set(e, i), n && (i.nodeToRestore = n);}addNode(e) {@@ -22685,7 +22685,7 @@ var Mie = 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 && HS(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 && VS(e.nodeToRestore, t.scopeRef.current) && (e.nodeToRestore = t.nodeToRestore);let r = t.children;n && (n.removeChild(t), r.size > 0 && r.forEach((e) => n && n.addChild(e))), this.fastMap.delete(t.scopeRef);}@@ -22697,7 +22697,7 @@ var Mie = class e {for (let e of this.traverse()) t.addTreeNode(e.scopeRef, e.parent?.scopeRef ?? null, e.nodeToRestore);return t;}-}, ZS = class {+}, XS = class {constructor(e) {this.children = /* @__PURE__ */ new Set(), this.contain = !1, this.scopeRef = e.scopeRef;}@@ -22707,13 +22707,13 @@ var Mie = class e {removeChild(e) {this.children.delete(e), e.parent = void 0;}-}, QS = new Mie(), $S = 7e3, eC = null;-function tC(e, t = "assertive", n = $S) {- eC ? eC.announce(e, t, n) : (eC = new Nie(), (typeof IS_REACT_ACT_ENVIRONMENT == "boolean" ? IS_REACT_ACT_ENVIRONMENT : typeof jest < "u") ? eC.announce(e, t, n) : setTimeout(() => {- eC?.isAttached() && eC?.announce(e, t, n);+}, ZS = new Nie(), QS = 7e3, $S = null;+function eC(e, t = "assertive", n = QS) {+ $S ? $S.announce(e, t, n) : ($S = new Pie(), (typeof IS_REACT_ACT_ENVIRONMENT == "boolean" ? IS_REACT_ACT_ENVIRONMENT : typeof jest < "u") ? $S.announce(e, t, n) : setTimeout(() => {+ $S?.isAttached() && $S?.announce(e, t, n);}, 100));}-var Nie = class {+var Pie = class {constructor() {this.node = null, this.assertiveLog = null, this.politeLog = null, typeof document < "u" && (this.node = document.createElement("div"), this.node.dataset.liveAnnouncer = "true", Object.assign(this.node.style, {border: 0,@@ -22738,7 +22738,7 @@ var Nie = class {destroy() {this.node &&= (document.body.removeChild(this.node), null);}- announce(e, t = "assertive", n = $S) {+ announce(e, t = "assertive", n = QS) {if (!this.node) return;let r = document.createElement("div");typeof e == "object" ? (r.setAttribute("role", "img"), r.setAttribute("aria-labelledby", e["aria-labelledby"])) : r.textContent = e, t === "assertive" ? this.assertiveLog?.appendChild(r) : this.politeLog?.appendChild(r), e !== "" && setTimeout(() => {@@ -22751,8 +22751,8 @@ var Nie = class {};//#endregion//#region node_modules/react-aria/dist/private/utils/useUpdateEffect.mjs-function nC(e, t) {- let n = (0, D.useRef)(!0), r = (0, D.useRef)(null), i = Ux(e);+function tC(e, t) {+ let n = (0, D.useRef)(!0), r = (0, D.useRef)(null), i = Hx(e);(0, D.useEffect)(() => (n.current = !0, () => {n.current = !1;}), []), (0, D.useEffect)(() => {@@ -22762,33 +22762,33 @@ function nC(e, t) {}//#endregion//#region node_modules/react-aria/dist/private/utils/isScrollable.mjs-function rC(e, t) {+function nC(e, t) {if (!e) return !1;let n = window.getComputedStyle(e), r = document.scrollingElement || document.documentElement, i = /(auto|scroll)/.test(n.overflow + n.overflowX + n.overflowY);return e === r && n.overflow !== "hidden" && (i = !0), i && t && (i = e.scrollHeight !== e.clientHeight || e.scrollWidth !== e.clientWidth), i;}//#endregion//#region node_modules/react-aria/dist/private/utils/getScrollParent.mjs-function iC(e, t) {+function rC(e, t) {let n = e;- for (rC(n, t) && (n = n.parentElement); n && !rC(n, t);) n = n.parentElement;+ for (nC(n, t) && (n = n.parentElement); n && !nC(n, t);) n = n.parentElement;return n || document.scrollingElement || document.documentElement;}//#endregion//#region node_modules/react-aria/dist/private/utils/getScrollParents.mjs-function aC(e, t) {+function iC(e, t) {let n = [], r = document.scrollingElement || document.documentElement;- for (; e && (rC(e, t) && n.push(e), e !== r);) e = e.parentElement;+ for (; e && (nC(e, t) && n.push(e), e !== r);) e = e.parentElement;return n;}//#endregion//#region node_modules/react-aria/dist/private/utils/scrollIntoView.mjs-function oC(e, t, n = {}) {- e !== t && Pie(e, t, t.getBoundingClientRect(), n);+function aC(e, t, n = {}) {+ e !== t && Fie(e, t, t.getBoundingClientRect(), n);}-function Pie(e, t, n, r = {}) {+function Fie(e, t, n, r = {}) {let { block: i = "nearest", inline: a = "nearest" } = r, o = e.scrollTop, s = e.scrollLeft, c = e.getBoundingClientRect(), l = window.getComputedStyle(t), u = window.getComputedStyle(e), d = document.scrollingElement || document.documentElement, f = e === d, p = e === d ? 0 : c.top, m = e === d ? e.clientHeight : c.bottom, h = e === d ? 0 : c.left, g = e === d ? e.clientWidth : c.right, _ = parseFloat(l.scrollMarginTop) || 0, v = parseFloat(l.scrollMarginBottom) || 0, y = parseFloat(l.scrollMarginLeft) || 0, b = parseFloat(l.scrollMarginRight) || 0, x = parseFloat(u.scrollPaddingTop) || 0, S = parseFloat(u.scrollPaddingBottom) || 0, C = parseFloat(u.scrollPaddingLeft) || 0, w = parseFloat(u.scrollPaddingRight) || 0, T = parseFloat(u.borderTopWidth) || 0, E = parseFloat(u.borderBottomWidth) || 0, D = parseFloat(u.borderLeftWidth) || 0, O = parseFloat(u.borderRightWidth) || 0, k = n.top - _, A = n.bottom + v, j = n.left - y, M = n.right + b, N = e === d ? 0 : D + O, ee = e === d ? 0 : T + E, te = e === d ? 0 : e.offsetWidth - e.clientWidth - N, P = e === d ? 0 : e.offsetHeight - e.clientHeight - ee, ne = p + (f ? 0 : T) + x, F = m - (f ? 0 : E) - S - P, re = h + (f ? 0 : D) + C, ie = g - (f ? 0 : O) - w;- db() && fb() || u.direction === "ltr" ? ie -= te : u.direction === "rtl" && (re += te);+ ub() && db() || u.direction === "ltr" ? ie -= te : u.direction === "rtl" && (re += te);let ae = k < ne || A > F, oe = j < re || M > ie;if (ae && i === "start") o += k - ne;else if (ae && i === "center") o += (k + A) / 2 - (ne + F) / 2;@@ -22809,7 +22809,7 @@ function Pie(e, t, n, r = {}) {top: o});}-function sC(e, t = {}) {+function oC(e, t = {}) {let { containingElement: n } = t;if (e && e.isConnected) {let t = document.scrollingElement || document.documentElement;@@ -22822,47 +22822,47 @@ function sC(e, t = {}) {inline: "center"}), e.scrollIntoView?.({ block: "nearest" }));} else {- let { left: t, top: r } = e.getBoundingClientRect(), i = aC(e, !0);- for (let t of i) oC(t, e);+ let { left: t, top: r } = e.getBoundingClientRect(), i = iC(e, !0);+ for (let t of i) aC(t, e);let { left: a, top: o } = e.getBoundingClientRect();if (Math.abs(t - a) > 1 || Math.abs(r - o) > 1) {- i = n ? aC(n, !0) : [];- for (let e of i) oC(e, n, {+ i = n ? iC(n, !0) : [];+ for (let e of i) aC(e, n, {block: "center",inline: "center"});- for (let t of aC(e, !0)) oC(t, e);+ for (let t of iC(e, !0)) aC(t, e);}}}}//#endregion//#region node_modules/react-aria/dist/private/utils/useDescription.mjs-var Fie = 0, cC = /* @__PURE__ */ new Map();-function lC(e) {+var Iie = 0, sC = /* @__PURE__ */ new Map();+function cC(e) {let [t, n] = (0, D.useState)();- return tb(() => {+ return eb(() => {if (!e) return;- let t = cC.get(e);+ let t = sC.get(e);if (t) n(t.element.id);else {- let r = `react-aria-description-${Fie++}`;+ let r = `react-aria-description-${Iie++}`;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- }, cC.set(e, t);+ }, sC.set(e, t);}return t.refCount++, () => {- t && --t.refCount === 0 && (t.element.remove(), cC.delete(e));+ t && --t.refCount === 0 && (t.element.remove(), sC.delete(e));};}, [e]), { "aria-describedby": e ? t : void 0 };}//#endregion//#region node_modules/react-aria/dist/private/utils/useFormReset.mjs-function uC(e, t, n) {- let r = Ux((e) => {+function lC(e, t, n) {+ let r = Hx((e) => {n && !e.defaultPrevented && n(t);});(0, D.useEffect)(() => {@@ -22874,21 +22874,21 @@ function uC(e, t, n) {}//#endregion//#region node_modules/react-aria/dist/private/form/useFormValidation.mjs-function dC(e, t, n) {+function uC(e, t, n) {let { validationBehavior: r, focus: i } = e;- tb(() => {+ eb(() => {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(Lie(n.current));+ n.current.setCustomValidity(e), n.current.hasAttribute("title") || (n.current.title = ""), t.realtimeValidation.isInvalid || t.updateValidation(Rie(n.current));}});- let a = (0, D.useRef)(!1), o = Ux(() => {+ let a = (0, D.useRef)(!1), o = Hx(() => {a.current || t.resetValidation();- }), s = Ux((e) => {+ }), s = Hx((e) => {t.displayValidation.isInvalid || t.commitValidation();let r = n?.current?.form;- !e.defaultPrevented && n && r && Rie(r) === n.current && (i ? i() : n.current?.focus(), Bb("keyboard")), e.preventDefault();- }), c = Ux(() => {+ !e.defaultPrevented && n && r && zie(r) === n.current && (i ? i() : n.current?.focus(), zb("keyboard")), e.preventDefault();+ }), c = Hx(() => {t.commitValidation();});(0, D.useEffect)(() => {@@ -22902,7 +22902,7 @@ function dC(e, t, n) {};}, [n, r]);}-function Iie(e) {+function Lie(e) {let t = e.validity;return {badInput: t.badInput,@@ -22918,14 +22918,14 @@ function Iie(e) {valid: t.valid};}-function Lie(e) {+function Rie(e) {return {isInvalid: !e.validity.valid,- validationDetails: Iie(e),+ validationDetails: Lie(e),validationErrors: e.validationMessage ? [e.validationMessage] : []};}-function Rie(e) {+function zie(e) {for (let t = 0; t < e.elements.length; t++) {let n = e.elements[t];if (n.validity?.valid === !1) return n;@@ -22934,16 +22934,16 @@ function Rie(e) {}//#endregion//#region node_modules/react-aria/dist/private/utils/useSlot.mjs-function zie(e = !0) {+function Bie(e = !0) {let [t, n] = (0, D.useState)(e), r = (0, D.useRef)(!1), i = (0, D.useCallback)((e) => {r.current = !0, n(!!e);}, []);- return tb(() => {+ return eb(() => {r.current || n(!1);}, []), [i, t];}-function fC(e = !0) {- let t = tx(), [n, r] = zie(e);+function dC(e = !0) {+ let t = ex(), [n, r] = Bie(e);return {id: r ? t : void 0,ref: n@@ -22951,7 +22951,7 @@ function fC(e = !0) {}//#endregion//#region node_modules/react-stately/dist/private/form/useFormValidationState.mjs-var pC = {+var fC = {badInput: !1,customError: !1,patternMismatch: !1,@@ -22963,18 +22963,18 @@ var pC = {typeMismatch: !1,valueMissing: !1,valid: !0-}, mC = {- ...pC,+}, pC = {+ ...fC,customError: !0,valid: !1-}, hC = {+}, mC = {isInvalid: !1,- validationDetails: pC,+ validationDetails: fC,validationErrors: []-}, Bie = (0, D.createContext)({}), gC = "__reactAriaFormValidationState";-function _C(e) {+}, Vie = (0, D.createContext)({}), hC = "__reactAriaFormValidationState";+function gC(e) {if (e.__reactAriaFormValidationState) {- let { realtimeValidation: t, displayValidation: n, updateValidation: r, resetValidation: i, commitValidation: a } = e[gC];+ let { realtimeValidation: t, displayValidation: n, updateValidation: r, resetValidation: i, commitValidation: a } = e[hC];return {realtimeValidation: t,displayValidation: n,@@ -22983,71 +22983,71 @@ function _C(e) {commitValidation: a};}- return Vie(e);+ return Hie(e);}-function Vie(e) {+function Hie(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: mC- }, l = (0, D.useMemo)(() => !o || i == null ? null : yC(Hie(o, i)), [o, i]);+ validationDetails: pC+ }, l = (0, D.useMemo)(() => !o || i == null ? null : vC(Uie(o, i)), [o, i]);a?.validationDetails.valid && (a = void 0);- let u = (0, D.useContext)(Bie), d = (0, D.useMemo)(() => r ? Array.isArray(r) ? r.flatMap((e) => vC(u[e])) : vC(u[r]) : [], [u, r]), [f, p] = (0, D.useState)(u), [m, h] = (0, D.useState)(!1);+ let u = (0, D.useContext)(Vie), d = (0, D.useMemo)(() => r ? Array.isArray(r) ? r.flatMap((e) => _C(u[e])) : _C(u[r]) : [], [u, r]), [f, p] = (0, D.useState)(u), [m, h] = (0, D.useState)(!1);u !== f && (p(u), h(!1));- let g = (0, D.useMemo)(() => yC(m ? [] : d), [m, d]), _ = (0, D.useRef)(hC), [v, y] = (0, D.useState)(hC), b = (0, D.useRef)(hC), x = () => {+ let g = (0, D.useMemo)(() => vC(m ? [] : d), [m, d]), _ = (0, D.useRef)(mC), [v, y] = (0, D.useState)(mC), b = (0, D.useRef)(mC), x = () => {if (!S) return;C(!1);let e = l || a || _.current;- bC(e, b.current) || (b.current = e, y(e));+ yC(e, b.current) || (b.current = e, y(e));}, [S, C] = (0, D.useState)(!1);return (0, D.useEffect)(x), {- realtimeValidation: c || g || l || a || hC,+ realtimeValidation: c || g || l || a || mC,displayValidation: s === "native" ? c || g || v : c || g || l || a || v,updateValidation(e) {- s === "aria" && !bC(v, e) ? y(e) : _.current = e;+ s === "aria" && !yC(v, e) ? y(e) : _.current = e;},resetValidation() {- let e = hC;- bC(e, b.current) || (b.current = e, y(e)), s === "native" && C(!1), h(!0);+ let e = mC;+ yC(e, b.current) || (b.current = e, y(e)), s === "native" && C(!1), h(!0);},commitValidation() {s === "native" && C(!0), h(!0);}};}-function vC(e) {+function _C(e) {return e ? Array.isArray(e) ? e : [e] : [];}-function Hie(e, t) {+function Uie(e, t) {if (typeof e == "function") {let n = e(t);- if (n && typeof n != "boolean") return vC(n);+ if (n && typeof n != "boolean") return _C(n);}return [];}-function yC(e) {+function vC(e) {return e.length ? {isInvalid: !0,validationErrors: e,- validationDetails: mC+ validationDetails: pC} : null;}-function bC(e, t) {+function yC(e, t) {return e === t || !!e && !!t && e.isInvalid === t.isInvalid && e.validationErrors.length === t.validationErrors.length && e.validationErrors.every((e, n) => e === t.validationErrors[n]) && Object.entries(e.validationDetails).every(([e, n]) => t.validationDetails[e] === n);}//#endregion//#region node_modules/react-aria/dist/private/toggle/useToggle.mjs-function xC(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 = _C({+function bC(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 = gC({...e,value: t.isSelected}), { isInvalid: x, validationErrors: S, validationDetails: C } = b.displayValidation;- dC(e, b, n);+ uC(e, b, n);let w = (e) => {e.stopPropagation(), t.setSelected(G(e).checked);- }, { pressProps: T, isPressed: E } = OS({+ }, { pressProps: T, isPressed: E } = DS({onPressStart: m,onPressEnd: h,onPressChange: g,@@ -23055,7 +23055,7 @@ function xC(e, t, n) {onPressUp: v,onClick: y,isDisabled: r- }), [O, k] = (0, D.useState)(!1), { pressProps: A } = OS({+ }), [O, k] = (0, D.useState)(!1), { pressProps: A } = DS({onPressStart(e) {e.pointerType === "keyboard" || e.pointerType === "virtual" ? e.continuePropagation() : (m?.(e), g?.(!0), k(!0));},@@ -23072,13 +23072,13 @@ function xC(e, t, n) {return;}_?.(r), t.toggle(), n.current?.focus();- let { [gC]: i } = e, { commitValidation: a } = i || b;+ let { [hC]: i } = e, { commitValidation: a } = i || b;a();},isDisabled: r || i- }), { focusableProps: j } = hx(e, n), M = K(T, j), N = pS(e, { labelable: !0 });- uC(n, t.defaultSelected, t.setSelected);- let ee = fC(), te = fC();+ }), { focusableProps: j } = mx(e, n), M = K(T, j), N = fS(e, { labelable: !0 });+ lC(n, t.defaultSelected, t.setSelected);+ let ee = dC(), te = dC();return {labelProps: K(A, { onClick: (e) => e.preventDefault() }),inputProps: K(N, {@@ -23115,8 +23115,8 @@ function xC(e, t, n) {}//#endregion//#region node_modules/react-aria/dist/private/checkbox/useCheckbox.mjs-function SC(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 } = xC(e, t, n), { isIndeterminate: m } = e;+function xC(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 } = bC(e, t, n), { isIndeterminate: m } = e;return (0, D.useEffect)(() => {n.current && (n.current.indeterminate = !!m);}), {@@ -23135,18 +23135,18 @@ function SC(e, t, n) {}//#endregion//#region node_modules/react-aria/dist/private/checkbox/utils.mjs-var Uie = /* @__PURE__ */ new WeakMap();+var Wie = /* @__PURE__ */ new WeakMap();//#endregion//#region node_modules/react-aria/dist/private/label/useLabel.mjs-function CC(e) {+function SC(e) {let { id: t, label: n, "aria-labelledby": r, "aria-label": i, labelElementType: a = "label" } = e;- t = tx(t);- let o = tx(), s = {};+ t = ex(t);+ let o = ex(), s = {};n && (r = r ? `${o} ${r}` : o, s = {id: o,htmlFor: a === "label" ? t : void 0});- let c = Gx({+ let c = Wx({id: t,"aria-label": i,"aria-labelledby": r@@ -23158,13 +23158,13 @@ function CC(e) {}//#endregion//#region node_modules/react-aria/dist/private/label/useField.mjs-function wC(e) {- let { description: t, errorMessage: n, isInvalid: r, validationState: i } = e, { labelProps: a, fieldProps: o } = CC(e), s = nx([+function CC(e) {+ let { description: t, errorMessage: n, isInvalid: r, validationState: i } = e, { labelProps: a, fieldProps: o } = SC(e), s = tx([!!t,!!n,r,i- ]), c = nx([+ ]), c = tx([!!t,!!n,r,@@ -23183,26 +23183,26 @@ function wC(e) {}//#endregion//#region node_modules/react-aria/dist/private/interactions/useFocusWithin.mjs-function TC(e) {- let { isDisabled: t, onBlurWithin: n, onFocusWithin: r, onFocusWithinChange: i } = e, a = (0, D.useRef)({ isFocusWithin: !1 }), { addGlobalListener: o, removeAllGlobalListeners: s } = SS(), c = (0, D.useCallback)((e) => {- Ky(e.currentTarget, G(e)) && a.current.isFocusWithin && !Ky(e.currentTarget, e.relatedTarget) && (a.current.isFocusWithin = !1, s(), n && n(e), i && i(!1));+function wC(e) {+ let { isDisabled: t, onBlurWithin: n, onFocusWithin: r, onFocusWithinChange: i } = e, a = (0, D.useRef)({ isFocusWithin: !1 }), { addGlobalListener: o, removeAllGlobalListeners: s } = xS(), c = (0, D.useCallback)((e) => {+ Gy(e.currentTarget, G(e)) && a.current.isFocusWithin && !Gy(e.currentTarget, e.relatedTarget) && (a.current.isFocusWithin = !1, s(), n && n(e), i && i(!1));}, [n,i,a,s- ]), l = ib(c), u = (0, D.useCallback)((e) => {- if (!Ky(e.currentTarget, G(e))) return;- let t = G(e), n = zy(t), s = qy(n);+ ]), l = rb(c), u = (0, D.useCallback)((e) => {+ if (!Gy(e.currentTarget, G(e))) return;+ let t = G(e), n = Ry(t), s = Ky(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 && !Ky(t, r)) {+ if (a.current.isFocusWithin && !Gy(t, r)) {let e = new n.defaultView.FocusEvent("blur", { relatedTarget: r });- rb(e, t);- let i = nb(e);+ nb(e, t);+ let i = tb(e);c(i);}}, { capture: !0 });@@ -23224,14 +23224,14 @@ function TC(e) {}//#endregion//#region node_modules/react-stately/dist/private/utils/useControlledState.mjs-var Wie = D.useInsertionEffect ?? D.useLayoutEffect;-function EC(e, t, n) {+var Gie = D.useInsertionEffect ?? D.useLayoutEffect;+function TC(e, t, n) {let [r, i] = (0, D.useState)(e || t), a = (0, D.useRef)(r), o = (0, D.useRef)(e !== void 0), s = e !== void 0;(0, D.useEffect)(() => {o.current, o.current = s;}, [s]);let c = s ? e : r;- Wie(() => {+ Gie(() => {a.current = c;});let [, l] = (0, D.useReducer)(() => ({}), {});@@ -23242,8 +23242,8 @@ function EC(e, t, n) {}//#endregion//#region node_modules/react-stately/dist/private/toggle/useToggleState.mjs-function DC(e = {}) {- let { isReadOnly: t } = e, [n, r] = EC(e.isSelected, e.defaultSelected || !1, e.onChange), [i] = (0, D.useState)(n);+function EC(e = {}) {+ let { isReadOnly: t } = e, [n, r] = TC(e.isSelected, e.defaultSelected || !1, e.onChange), [i] = (0, D.useState)(n);function a(e) {t || r(e);}@@ -23259,26 +23259,26 @@ function DC(e = {}) {}//#endregion//#region node_modules/react-aria/dist/private/checkbox/useCheckboxGroupItem.mjs-function Gie(e, t, n) {- let r = DC({+function Kie(e, t, n) {+ let r = EC({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 } = Uie.get(t);+ }), { name: i, form: a, descriptionId: o, errorMessageId: s, validationBehavior: c } = Wie.get(t);c = e.validationBehavior ?? c;- let { realtimeValidation: l } = _C({+ let { realtimeValidation: l } = gC({...e,value: r.isSelected,name: void 0,validationBehavior: "aria"- }), u = (0, D.useRef)(hC), d = () => {+ }), u = (0, D.useRef)(mC), d = () => {t.setInvalid(e.value, l.isInvalid ? l : u.current);};(0, D.useEffect)(d);- let f = t.realtimeValidation.isInvalid ? t.realtimeValidation : l, p = c === "native" ? t.displayValidation : f, m = SC({+ let f = t.realtimeValidation.isInvalid ? t.realtimeValidation : l, p = c === "native" ? t.displayValidation : f, m = xC({...e,isReadOnly: e.isReadOnly || t.isReadOnly,isDisabled: e.isDisabled || t.isDisabled,@@ -23286,7 +23286,7 @@ function Gie(e, t, n) {form: e.form || a,isRequired: e.isRequired ?? t.isRequired,validationBehavior: c,- [gC]: {+ [hC]: {realtimeValidation: f,displayValidation: p,resetValidation: t.resetValidation,@@ -23310,10 +23310,10 @@ function Gie(e, t, n) {}//#endregion//#region node_modules/react-stately/dist/private/utils/number.mjs-function OC(e, t = -Infinity, n = Infinity) {+function DC(e, t = -Infinity, n = Infinity) {return Math.min(Math.max(e, t), n);}-function kC(e, t) {+function OC(e, t) {let n = e, r = 0, i = t.toString(), a = i.toLowerCase().indexOf("e-");if (a > 0) r = Math.abs(Math.floor(Math.log10(Math.abs(t)))) + a;else {@@ -23326,24 +23326,24 @@ function kC(e, t) {}return n;}-function AC(e, t, n, r) {+function kC(e, t, n, r) {t = Number(t), n = Number(n);- let i = (e - (isNaN(t) ? 0 : t)) % r, a = kC(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(kC(n / r, r)) * r) : a < t ? a = t : !isNaN(n) && a > n && (a = t + Math.floor(kC((n - t) / r, r)) * r), a = kC(a, r), a;+ let i = (e - (isNaN(t) ? 0 : t)) % r, a = OC(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(OC(n / r, r)) * r) : a < t ? a = t : !isNaN(n) && a > n && (a = t + Math.floor(OC((n - t) / r, r)) * r), a = OC(a, r), a;}//#endregion//#region node_modules/@internationalized/number/dist/private/NumberFormatter.mjs-var jC = /* @__PURE__ */ new Map(), MC = !1;+var AC = /* @__PURE__ */ new Map(), jC = !1;try {- MC = new Intl.NumberFormat("de-DE", { signDisplay: "exceptZero" }).resolvedOptions().signDisplay === "exceptZero";+ jC = new Intl.NumberFormat("de-DE", { signDisplay: "exceptZero" }).resolvedOptions().signDisplay === "exceptZero";} catch {}-var Kie = class {+var qie = class {constructor(e, t = {}) {- this.numberFormatter = qie(e, t), this.options = t;+ this.numberFormatter = Jie(e, t), this.options = t;}format(e) {let t = "";- return t = !MC && this.options.signDisplay != null ? Jie(this.numberFormatter, this.options.signDisplay, e) : this.numberFormatter.format(e), t;+ return t = !jC && this.options.signDisplay != null ? Yie(this.numberFormatter, this.options.signDisplay, e) : this.numberFormatter.format(e), t;}formatToParts(e) {return this.numberFormatter.formatToParts(e);@@ -23375,21 +23375,21 @@ var Kie = class {}resolvedOptions() {let e = this.numberFormatter.resolvedOptions();- return !MC && this.options.signDisplay != null && (e = {+ return !jC && this.options.signDisplay != null && (e = {...e,signDisplay: this.options.signDisplay}), e;}};-function qie(e, t = {}) {+function Jie(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 (jC.has(r)) return jC.get(r);+ if (AC.has(r)) return AC.get(r);let i = new Intl.NumberFormat(e, t);- return jC.set(r, i), i;+ return AC.set(r, i), i;}-function Jie(e, t, n) {+function Yie(e, t, n) {if (t === "auto") return e.format(n);if (t === "never") return e.format(Math.abs(n));{@@ -23403,12 +23403,12 @@ function Jie(e, t, n) {}//#endregion//#region node_modules/react-aria/dist/private/interactions/useMove.mjs-function NC(e) {+function MC(e) {let { onMoveStart: t, onMove: n, onMoveEnd: r } = e, i = (0, D.useRef)({didMove: !1,lastPosition: null,id: null- }), { addGlobalListener: a, removeGlobalListener: o } = SS(), s = Ux((0, D.useCallback)((e, r, a, o) => {+ }), { addGlobalListener: a, removeGlobalListener: o } = xS(), s = Hx((0, D.useCallback)((e, r, a, o) => {(a !== 0 || o !== 0) && (i.current.didMove || (i.current.didMove = !0, t?.({type: "movestart",pointerType: r,@@ -23430,8 +23430,8 @@ function NC(e) {t,n,i- ])), c = Ux((0, D.useCallback)((e, t) => {- vS(), i.current.didMove && r?.({+ ])), c = Hx((0, D.useCallback)((e, t) => {+ _S(), i.current.didMove && r?.({type: "moveend",pointerType: t,shiftKey: e.shiftKey,@@ -23442,7 +23442,7 @@ function NC(e) {}, [r, i]));return { moveProps: (0, D.useMemo)(() => {let e = {}, t = () => {- _S(), i.current.didMove = !1;+ gS(), i.current.didMove = !1;};{let n = (e) => {@@ -23457,7 +23457,7 @@ function NC(e) {if (e.pointerId === i.current.id) {let t = e.pointerType || "mouse";c(e, t), i.current.id = null;- let a = By(G(e));+ let a = zy(G(e));o(a, "pointermove", n, !1), o(a, "pointerup", r, !1), o(a, "pointercancel", r, !1);}};@@ -23467,7 +23467,7 @@ function NC(e) {pageX: e.pageX,pageY: e.pageY}, i.current.id = e.pointerId;- let o = By(G(e));+ let o = zy(G(e));a(o, "pointermove", n, !1), a(o, "pointerup", r, !1), a(o, "pointercancel", r, !1);}};@@ -23501,7 +23501,7 @@ function NC(e) {}//#endregion//#region node_modules/react-aria/dist/private/visually-hidden/VisuallyHidden.mjs-var PC = {+var NC = {border: 0,clip: "rect(0 0 0 0)",clipPath: "inset(50%)",@@ -23513,38 +23513,38 @@ var PC = {width: "1px",whiteSpace: "nowrap"};-function FC(e = {}) {- let { style: t, isFocusable: n } = e, [r, i] = (0, D.useState)(!1), { focusWithinProps: a } = TC({+function PC(e = {}) {+ let { style: t, isFocusable: n } = e, [r, i] = (0, D.useState)(!1), { focusWithinProps: a } = wC({isDisabled: !n,onFocusWithinChange: (e) => i(e)}), o = (0, D.useMemo)(() => r ? t : t ? {- ...PC,+ ...NC,...t- } : PC, [r]);+ } : NC, [r]);return { visuallyHiddenProps: {...a,style: o} };}-function IC(e) {- let { children: t, elementType: n = "div", isFocusable: r, style: i, ...a } = e, { visuallyHiddenProps: o } = FC(e);+function FC(e) {+ let { children: t, elementType: n = "div", isFocusable: r, style: i, ...a } = e, { visuallyHiddenProps: o } = PC(e);return /*#__PURE__*/ D.createElement(n, K(a, o), t);}//#endregion//#region node_modules/react-aria/dist/private/textfield/useTextField.mjs-function Yie(e, t) {- let { inputElementType: n = "input", isDisabled: r = !1, isRequired: i = !1, isReadOnly: a = !1, type: o = "text", validationBehavior: s = "aria" } = e, [c, l] = EC(e.value, e.defaultValue || "", e.onChange), { focusableProps: u } = hx(e, t), d = _C({+function Xie(e, t) {+ let { inputElementType: n = "input", isDisabled: r = !1, isRequired: i = !1, isReadOnly: a = !1, type: o = "text", validationBehavior: s = "aria" } = e, [c, l] = TC(e.value, e.defaultValue || "", e.onChange), { focusableProps: u } = mx(e, t), d = gC({...e,value: c- }), { isInvalid: f, validationErrors: p, validationDetails: m } = d.displayValidation, { labelProps: h, fieldProps: g, descriptionProps: _, errorMessageProps: v } = wC({+ }), { isInvalid: f, validationErrors: p, validationDetails: m } = d.displayValidation, { labelProps: h, fieldProps: g, descriptionProps: _, errorMessageProps: v } = CC({...e,isInvalid: f,errorMessage: e.errorMessage || p- }), y = pS(e, { labelable: !0 }), b = {+ }), y = fS(e, { labelable: !0 }), b = {type: o,pattern: e.pattern}, [x] = (0, D.useState)(c);- return uC(t, e.defaultValue ?? x, l), dC(e, d, t), {+ return lC(t, e.defaultValue ?? x, l), uC(e, d, t), {labelProps: h,inputProps: K(y, n === "input" ? b : void 0, {disabled: r,@@ -23591,28 +23591,28 @@ function Yie(e, t) {}//#endregion//#region node_modules/react-aria/dist/private/i18n/useNumberFormatter.mjs-function Xie(e = {}) {- let { locale: t } = Zx();- return (0, D.useMemo)(() => new Kie(t, e), [t, e]);+function Zie(e = {}) {+ let { locale: t } = Xx();+ return (0, D.useMemo)(() => new qie(t, e), [t, e]);}//#endregion//#region node_modules/react-aria/dist/private/slider/utils.mjs-var LC = /* @__PURE__ */ new WeakMap();-function RC(e, t) {- let n = LC.get(e);+var IC = /* @__PURE__ */ new WeakMap();+function LC(e, t) {+ let n = IC.get(e);if (!n) throw Error("Unknown slider state");return `${n.id}-${t}`;}//#endregion//#region node_modules/react-aria/dist/private/slider/useSlider.mjs-function Zie(e, t, n) {- let { labelProps: r, fieldProps: i } = CC(e), a = e.orientation === "vertical";- LC.set(t, {+function Qie(e, t, n) {+ let { labelProps: r, fieldProps: i } = SC(e), a = e.orientation === "vertical";+ IC.set(t, {id: r.id ?? i.id,"aria-describedby": e["aria-describedby"],"aria-details": e["aria-details"]});- let { direction: o } = Zx(), { addGlobalListener: s, removeGlobalListener: c } = SS(), l = (0, D.useRef)(null), u = o === "rtl", d = (0, D.useRef)(null), { moveProps: f } = NC({+ let { direction: o } = Xx(), { addGlobalListener: s, removeGlobalListener: c } = xS(), l = (0, D.useRef)(null), u = o === "rtl", d = (0, D.useRef)(null), { moveProps: f } = MC({onMoveStart() {d.current = null;},@@ -23622,7 +23622,7 @@ function Zie(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 = OC(d.current / s, 0, 1);+ let e = DC(d.current / s, 0, 1);t.setThumbPercent(l.current, e);}},@@ -23646,7 +23646,7 @@ function Zie(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(RC(t, 0))?.focus(), Bb("keyboard");+ document.getElementById(LC(t, 0))?.focus(), zb("keyboard");}), {labelProps: r,groupProps: {@@ -23669,27 +23669,27 @@ function Zie(e, t, n) {}}, f),outputProps: {- htmlFor: t.values.map((e, n) => RC(t, n)).join(" "),+ htmlFor: t.values.map((e, n) => LC(t, n)).join(" "),"aria-live": "off"}};}//#endregion//#region node_modules/react-aria/dist/private/slider/useSliderThumb.mjs-function Qie(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 } = Zx(), { addGlobalListener: m, removeGlobalListener: h } = SS(), g = LC.get(t), { labelProps: _, fieldProps: v } = CC({+function $ie(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 } = Xx(), { addGlobalListener: m, removeGlobalListener: h } = xS(), g = IC.get(t), { labelProps: _, fieldProps: v } = SC({...e,- id: RC(t, n),+ id: LC(t, n),"aria-labelledby": `${g.id} ${e["aria-labelledby"] ?? ""}`.trim()}), y = t.values[n], b = (0, D.useCallback)(() => {- s.current && Ry(s.current);+ s.current && Ly(s.current);}, [s]), x = t.focusedThumb === n;(0, D.useEffect)(() => {x && b();}, [x, b]);let S = p === "rtl", C = (0, D.useRef)(null), w = (e) => {t.setThumbDragging(n, !0), e(), t.setThumbDragging(n, !1);- }, { keyboardProps: T } = dx({+ }, { keyboardProps: T } = ux({shortcuts: {PageUp: () => w(() => {t.incrementThumb(n, t.pageSize);@@ -23705,7 +23705,7 @@ function Qie(e, t) {})},allowRepeats: !0- }), { moveProps: E } = NC({+ }), { moveProps: E } = MC({onMoveStart() {C.current = null, t.setThumbDragging(n, !0);},@@ -23716,7 +23716,7 @@ function Qie(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, OC(C.current / g, 0, 1));+ (f || S) && (t = -t), C.current += t, c(n, DC(C.current / g, 0, 1));}},onMoveEnd() {@@ -23724,7 +23724,7 @@ function Qie(e, t) {}});t.setThumbEditable(n, !d);- let { focusableProps: O } = hx(K(e, {+ let { focusableProps: O } = mx(K(e, {onFocus: () => t.setFocusedThumb(n),onBlur: () => t.setFocusedThumb(void 0)}), s), k = (0, D.useRef)(void 0), A = (e) => {@@ -23744,7 +23744,7 @@ function Qie(e, t) {A(e.changedTouches[0].identifier);}});- return uC(s, t.defaultValues[n], (e) => {+ return lC(s, t.defaultValues[n], (e) => {t.setThumbValue(n, e);}), {inputProps: K(O, v, {@@ -23785,42 +23785,42 @@ function Qie(e, t) {}//#endregion//#region node_modules/react-aria/dist/private/overlays/ariaHideOutside.mjs-var $ie = typeof HTMLElement < "u" && "inert" in HTMLElement.prototype;-function zC(e) {+var eae = typeof HTMLElement < "u" && "inert" in HTMLElement.prototype;+function RC(e) {return e.dataset.liveAnnouncer === "true" || e.dataset.reactAriaTopLayer !== void 0;}-var BC = /* @__PURE__ */ new WeakMap(), VC = [];-function HC(e, t) {- let n = By(e?.[0]), r = t instanceof n.Element ? { root: t } : t, i = r?.root ?? document.body, a = r?.shouldUseInert && $ie, 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 zC = /* @__PURE__ */ new WeakMap(), BC = [];+function VC(e, t) {+ let n = zy(e?.[0]), r = t instanceof n.Element ? { root: t } : t, i = r?.root ?? document.body, a = r?.shouldUseInert && eae, 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 (Gy()) {+ if (Wy()) {let t = i.getRootNode();for (let n of e) {let e = n.getRootNode();- for (; Hy(e) && e !== t;) u.add(e), e = e.host.getRootNode();+ for (; Vy(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 (Ky(e, t)) return NodeFilter.FILTER_SKIP;+ for (let t of o) if (Gy(e, t)) return NodeFilter.FILTER_SKIP;return NodeFilter.FILTER_ACCEPT;- }, n = PS(zy(e), e, NodeFilter.SHOW_ELEMENT, { acceptNode: t }), r = t(e);+ }, n = NS(Ry(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 = BC.get(e) ?? 0;- c(e) && t === 0 || (t === 0 && l(e, !0), s.add(e), BC.set(e, t + 1));+ let t = zC.get(e) ?? 0;+ c(e) && t === 0 || (t === 0 && l(e, !0), s.add(e), zC.set(e, t + 1));};- VC.length && VC[VC.length - 1].disconnect(), d(i);+ BC.length && BC[BC.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) => Ky(e, t.target))) for (let e of t.addedNodes) (e instanceof HTMLElement || e instanceof SVGElement) && zC(e) ? o.add(e) : e instanceof Element && d(e);- if (Gy()) {+ if (t.target.isConnected && ![...o, ...s].some((e) => Gy(e, t.target))) for (let e of t.addedNodes) (e instanceof HTMLElement || e instanceof SVGElement) && RC(e) ? o.add(e) : e instanceof Element && d(e);+ if (Wy()) {for (let e of u) if (!e.isConnected) {p.disconnect();break;@@ -23833,11 +23833,11 @@ function HC(e, t) {subtree: !0});let m = /* @__PURE__ */ new Set();- if (Gy()) for (let e of u) {+ if (Wy()) 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) => Ky(e, t.target))) for (let e of t.addedNodes) (e instanceof HTMLElement || e instanceof SVGElement) && zC(e) ? o.add(e) : e instanceof Element && d(e);- if (Gy()) {+ if (t.target.isConnected && ![...o, ...s].some((e) => Gy(e, t.target))) for (let e of t.addedNodes) (e instanceof HTMLElement || e instanceof SVGElement) && RC(e) ? o.add(e) : e instanceof Element && d(e);+ if (Wy()) {for (let e of u) if (!e.isConnected) {p.disconnect();break;@@ -23863,59 +23863,59 @@ function HC(e, t) {p.disconnect();}};- return VC.push(h), () => {- if (p.disconnect(), Gy()) for (let e of m) e.disconnect();+ return BC.push(h), () => {+ if (p.disconnect(), Wy()) for (let e of m) e.disconnect();for (let e of s) {- let t = BC.get(e);- t != null && (t === 1 ? (l(e, !1), BC.delete(e)) : BC.set(e, t - 1));+ let t = zC.get(e);+ t != null && (t === 1 ? (l(e, !1), zC.delete(e)) : zC.set(e, t - 1));}- h === VC[VC.length - 1] ? (VC.pop(), VC.length && VC[VC.length - 1].observe()) : VC.splice(VC.indexOf(h), 1);+ h === BC[BC.length - 1] ? (BC.pop(), BC.length && BC[BC.length - 1].observe()) : BC.splice(BC.indexOf(h), 1);};}-function UC(e) {- let t = VC[VC.length - 1];+function HC(e) {+ let t = BC[BC.length - 1];if (t && !t.visibleNodes.has(e)) return t.visibleNodes.add(e), () => {t.visibleNodes.delete(e);};}//#endregion//#region node_modules/react-aria/dist/private/listbox/utils.mjs-var WC = /* @__PURE__ */ new WeakMap();-function eae(e) {+var UC = /* @__PURE__ */ new WeakMap();+function tae(e) {return typeof e == "string" ? e.replace(/\s*/g, "") : "" + e;}-function tae(e, t) {- let n = WC.get(e);+function nae(e, t) {+ let n = UC.get(e);if (!n) throw Error("Unknown list");- return `${n.id}-option-${eae(t)}`;+ return `${n.id}-option-${tae(t)}`;}//#endregion//#region node_modules/react-aria/dist/private/selection/utils.mjs-function GC(e) {- return ure() ? e.altKey : e.ctrlKey;+function WC(e) {+ return dre() ? e.altKey : e.ctrlKey;}-function KC(e, t) {+function GC(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 qC = /* @__PURE__ */ new WeakMap();-function nae(e) {- let t = tx();- return qC.set(e, t), t;-}+var KC = /* @__PURE__ */ new WeakMap();function rae(e) {- return qC.get(e);+ let t = ex();+ return KC.set(e, t), t;+}+function iae(e) {+ return KC.get(e);}//#endregion//#region node_modules/react-aria/dist/private/selection/DOMLayoutDelegate.mjs-var JC = class {+var qC = class {constructor(e) {this.ref = e;}getItemRect(e) {let t = this.ref.current;if (!t) return null;- let n = e == null ? null : KC(this.ref, e);+ let n = e == null ? null : GC(this.ref, e);if (!n) return null;let r = t.getBoundingClientRect(), i = n.getBoundingClientRect();return {@@ -23941,12 +23941,12 @@ var JC = class {height: e?.clientHeight ?? 0};}-}, YC = class {+}, JC = 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 JC(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 JC(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 qC(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 qC(this.ref);this.layout === "stack" && this.orientation === "vertical" && (this.getKeyLeftOf = void 0, this.getKeyRightOf = void 0);}isDisabled(e) {@@ -23986,14 +23986,14 @@ var JC = class {return e.x === t.x || e.y !== t.y;}isReversed(e) {- let t = this.getNextKey(e), n = KC(this.ref, e);+ let t = this.getNextKey(e), n = GC(this.ref, e);if (t != null) {- let e = KC(this.ref, t);+ let e = GC(this.ref, t);return !n || !e ? !1 : n.getBoundingClientRect().top > e.getBoundingClientRect().top;}let r = this.getPreviousKey(e);if (r != null) {- let e = KC(this.ref, r);+ let e = GC(this.ref, r);return !n || !e ? !1 : e.getBoundingClientRect().top > n.getBoundingClientRect().top;}return !1;@@ -24027,7 +24027,7 @@ var JC = class {let t = this.ref.current, n = this.layoutDelegate.getItemRect(e);if (!n) return null;let r = this.isReversed(e);- if (t && !rC(t)) return this.getFirstKey();+ if (t && !nC(t)) return this.getFirstKey();let i = e;if (this.orientation === "horizontal") {let e = Math.max(0, n.x + n.width - this.layoutDelegate.getVisibleRect().width);@@ -24042,7 +24042,7 @@ var JC = class {let t = this.ref.current, n = this.layoutDelegate.getItemRect(e);if (!n) return null;let r = this.isReversed(e);- if (t && !rC(t)) return this.getLastKey();+ if (t && !nC(t)) return this.getLastKey();let i = e;if (this.orientation === "horizontal") {let e = Math.min(this.layoutDelegate.getContentSize().width, n.x - n.width + this.layoutDelegate.getVisibleRect().width);@@ -24065,184 +24065,184 @@ var JC = class {}return null;}-}, XC = {};-XC = { longPressMessage: "اضغط مطولاً أو اضغط على Alt + السهم لأسفل لفتح القائمة" };+}, YC = {};+YC = { longPressMessage: "اضغط مطولاً أو اضغط على Alt + السهم لأسفل لفتح القائمة" };//#endregion//#region node_modules/react-aria/dist/private/intl/menu/bg-BG.mjs-var ZC = {};-ZC = { longPressMessage: "Натиснете продължително или натиснете Alt+ стрелка надолу, за да отворите менюто" };+var XC = {};+XC = { longPressMessage: "Натиснете продължително или натиснете Alt+ стрелка надолу, за да отворите менюто" };//#endregion//#region node_modules/react-aria/dist/private/intl/menu/cs-CZ.mjs-var QC = {};-QC = { longPressMessage: "Dlouhým stiskem nebo stisknutím kláves Alt + šipka dolů otevřete nabídku" };+var ZC = {};+ZC = { longPressMessage: "Dlouhým stiskem nebo stisknutím kláves Alt + šipka dolů otevřete nabídku" };//#endregion//#region node_modules/react-aria/dist/private/intl/menu/da-DK.mjs-var $C = {};-$C = { longPressMessage: "Langt tryk eller tryk på Alt + pil ned for at åbne menuen" };+var QC = {};+QC = { longPressMessage: "Langt tryk eller tryk på Alt + pil ned for at åbne menuen" };//#endregion//#region node_modules/react-aria/dist/private/intl/menu/de-DE.mjs-var ew = {};-ew = { longPressMessage: "Drücken Sie lange oder drücken Sie Alt + Nach-unten, um das Menü zu öffnen" };+var $C = {};+$C = { longPressMessage: "Drücken Sie lange oder drücken Sie Alt + Nach-unten, um das Menü zu öffnen" };//#endregion//#region node_modules/react-aria/dist/private/intl/menu/el-GR.mjs-var tw = {};-tw = { longPressMessage: "Πιέστε παρατεταμένα ή πατήστε Alt + κάτω βέλος για να ανοίξετε το μενού" };+var ew = {};+ew = { longPressMessage: "Πιέστε παρατεταμένα ή πατήστε Alt + κάτω βέλος για να ανοίξετε το μενού" };//#endregion//#region node_modules/react-aria/dist/private/intl/menu/en-US.mjs-var nw = {};-nw = { longPressMessage: "Long press or press Alt + ArrowDown to open menu" };+var tw = {};+tw = { longPressMessage: "Long press or press Alt + ArrowDown to open menu" };//#endregion//#region node_modules/react-aria/dist/private/intl/menu/es-ES.mjs-var rw = {};-rw = { longPressMessage: "Mantenga pulsado o pulse Alt + flecha abajo para abrir el menú" };+var nw = {};+nw = { longPressMessage: "Mantenga pulsado o pulse Alt + flecha abajo para abrir el menú" };//#endregion//#region node_modules/react-aria/dist/private/intl/menu/et-EE.mjs-var iw = {};-iw = { longPressMessage: "Menüü avamiseks vajutage pikalt või vajutage klahve Alt + allanool" };+var rw = {};+rw = { longPressMessage: "Menüü avamiseks vajutage pikalt või vajutage klahve Alt + allanool" };//#endregion//#region node_modules/react-aria/dist/private/intl/menu/fi-FI.mjs-var aw = {};-aw = { longPressMessage: "Avaa valikko painamalla pohjassa tai näppäinyhdistelmällä Alt + Alanuoli" };+var iw = {};+iw = { longPressMessage: "Avaa valikko painamalla pohjassa tai näppäinyhdistelmällä Alt + Alanuoli" };//#endregion//#region node_modules/react-aria/dist/private/intl/menu/fr-FR.mjs-var ow = {};-ow = { longPressMessage: "Appuyez de manière prolongée ou appuyez sur Alt\xA0+\xA0Flèche vers le bas pour ouvrir le menu." };+var aw = {};+aw = { longPressMessage: "Appuyez de manière prolongée ou appuyez sur Alt\xA0+\xA0Flèche vers le bas pour ouvrir le menu." };//#endregion//#region node_modules/react-aria/dist/private/intl/menu/he-IL.mjs-var sw = {};-sw = { longPressMessage: "לחץ לחיצה ארוכה או הקש Alt + ArrowDown כדי לפתוח את התפריט" };+var ow = {};+ow = { longPressMessage: "לחץ לחיצה ארוכה או הקש Alt + ArrowDown כדי לפתוח את התפריט" };//#endregion//#region node_modules/react-aria/dist/private/intl/menu/hr-HR.mjs-var cw = {};-cw = { longPressMessage: "Dugo pritisnite ili pritisnite Alt + strelicu prema dolje za otvaranje izbornika" };+var sw = {};+sw = { longPressMessage: "Dugo pritisnite ili pritisnite Alt + strelicu prema dolje za otvaranje izbornika" };//#endregion//#region node_modules/react-aria/dist/private/intl/menu/hu-HU.mjs-var lw = {};-lw = { longPressMessage: "Nyomja meg hosszan, vagy nyomja meg az Alt + lefele nyíl gombot a menü megnyitásához" };+var cw = {};+cw = { longPressMessage: "Nyomja meg hosszan, vagy nyomja meg az Alt + lefele nyíl gombot a menü megnyitásához" };//#endregion//#region node_modules/react-aria/dist/private/intl/menu/it-IT.mjs-var uw = {};-uw = { longPressMessage: "Premi a lungo o premi Alt + Freccia giù per aprire il menu" };+var lw = {};+lw = { longPressMessage: "Premi a lungo o premi Alt + Freccia giù per aprire il menu" };//#endregion//#region node_modules/react-aria/dist/private/intl/menu/ja-JP.mjs-var dw = {};-dw = { longPressMessage: "長押しまたは Alt+下矢印キーでメニューを開く" };+var uw = {};+uw = { longPressMessage: "長押しまたは Alt+下矢印キーでメニューを開く" };//#endregion//#region node_modules/react-aria/dist/private/intl/menu/ko-KR.mjs-var fw = {};-fw = { longPressMessage: "길게 누르거나 Alt + 아래쪽 화살표를 눌러 메뉴 열기" };+var dw = {};+dw = { longPressMessage: "길게 누르거나 Alt + 아래쪽 화살표를 눌러 메뉴 열기" };//#endregion//#region node_modules/react-aria/dist/private/intl/menu/lt-LT.mjs-var pw = {};-pw = { longPressMessage: "Norėdami atidaryti meniu, nuspaudę palaikykite arba paspauskite „Alt + ArrowDown“." };+var fw = {};+fw = { longPressMessage: "Norėdami atidaryti meniu, nuspaudę palaikykite arba paspauskite „Alt + ArrowDown“." };//#endregion//#region node_modules/react-aria/dist/private/intl/menu/lv-LV.mjs-var mw = {};-mw = { longPressMessage: "Lai atvērtu izvēlni, turiet nospiestu vai nospiediet taustiņu kombināciju Alt + lejupvērstā bultiņa" };+var pw = {};+pw = { longPressMessage: "Lai atvērtu izvēlni, turiet nospiestu vai nospiediet taustiņu kombināciju Alt + lejupvērstā bultiņa" };//#endregion//#region node_modules/react-aria/dist/private/intl/menu/nb-NO.mjs-var hw = {};-hw = { longPressMessage: "Langt trykk eller trykk Alt + PilNed for å åpne menyen" };+var mw = {};+mw = { longPressMessage: "Langt trykk eller trykk Alt + PilNed for å åpne menyen" };//#endregion//#region node_modules/react-aria/dist/private/intl/menu/nl-NL.mjs-var gw = {};-gw = { longPressMessage: "Druk lang op Alt + pijl-omlaag of druk op Alt om het menu te openen" };+var hw = {};+hw = { longPressMessage: "Druk lang op Alt + pijl-omlaag of druk op Alt om het menu te openen" };//#endregion//#region node_modules/react-aria/dist/private/intl/menu/pl-PL.mjs-var _w = {};-_w = { longPressMessage: "Naciśnij i przytrzymaj lub naciśnij klawisze Alt + Strzałka w dół, aby otworzyć menu" };+var gw = {};+gw = { longPressMessage: "Naciśnij i przytrzymaj lub naciśnij klawisze Alt + Strzałka w dół, aby otworzyć menu" };//#endregion//#region node_modules/react-aria/dist/private/intl/menu/pt-BR.mjs-var vw = {};-vw = { longPressMessage: "Pressione e segure ou pressione Alt + Seta para baixo para abrir o menu" };+var _w = {};+_w = { longPressMessage: "Pressione e segure ou pressione Alt + Seta para baixo para abrir o menu" };//#endregion//#region node_modules/react-aria/dist/private/intl/menu/pt-PT.mjs-var yw = {};-yw = { longPressMessage: "Prima continuamente ou prima Alt + Seta Para Baixo para abrir o menu" };+var vw = {};+vw = { longPressMessage: "Prima continuamente ou prima Alt + Seta Para Baixo para abrir o menu" };//#endregion//#region node_modules/react-aria/dist/private/intl/menu/ro-RO.mjs-var bw = {};-bw = { longPressMessage: "Apăsați lung sau apăsați pe Alt + săgeată în jos pentru a deschide meniul" };+var yw = {};+yw = { longPressMessage: "Apăsați lung sau apăsați pe Alt + săgeată în jos pentru a deschide meniul" };//#endregion//#region node_modules/react-aria/dist/private/intl/menu/ru-RU.mjs-var xw = {};-xw = { longPressMessage: "Нажмите и удерживайте или нажмите Alt + Стрелка вниз, чтобы открыть меню" };+var bw = {};+bw = { longPressMessage: "Нажмите и удерживайте или нажмите Alt + Стрелка вниз, чтобы открыть меню" };//#endregion//#region node_modules/react-aria/dist/private/intl/menu/sk-SK.mjs-var Sw = {};-Sw = { longPressMessage: "Ponuku otvoríte dlhým stlačením alebo stlačením klávesu Alt + klávesu so šípkou nadol" };+var xw = {};+xw = { longPressMessage: "Ponuku otvoríte dlhým stlačením alebo stlačením klávesu Alt + klávesu so šípkou nadol" };//#endregion//#region node_modules/react-aria/dist/private/intl/menu/sl-SI.mjs-var Cw = {};-Cw = { longPressMessage: "Za odprtje menija pritisnite in držite gumb ali pritisnite Alt+puščica navzdol" };+var Sw = {};+Sw = { longPressMessage: "Za odprtje menija pritisnite in držite gumb ali pritisnite Alt+puščica navzdol" };//#endregion//#region node_modules/react-aria/dist/private/intl/menu/sr-SP.mjs-var ww = {};-ww = { longPressMessage: "Dugo pritisnite ili pritisnite Alt + strelicu prema dole da otvorite meni" };+var Cw = {};+Cw = { longPressMessage: "Dugo pritisnite ili pritisnite Alt + strelicu prema dole da otvorite meni" };//#endregion//#region node_modules/react-aria/dist/private/intl/menu/sv-SE.mjs-var Tw = {};-Tw = { longPressMessage: "Håll nedtryckt eller tryck på Alt + pil nedåt för att öppna menyn" };+var ww = {};+ww = { longPressMessage: "Håll nedtryckt eller tryck på Alt + pil nedåt för att öppna menyn" };//#endregion//#region node_modules/react-aria/dist/private/intl/menu/tr-TR.mjs-var Ew = {};-Ew = { longPressMessage: "Menüyü açmak için uzun basın veya Alt + Aşağı Ok tuşuna basın" };+var Tw = {};+Tw = { longPressMessage: "Menüyü açmak için uzun basın veya Alt + Aşağı Ok tuşuna basın" };//#endregion//#region node_modules/react-aria/dist/private/intl/menu/uk-UA.mjs-var Dw = {};-Dw = { longPressMessage: "Довго або звичайно натисніть комбінацію клавіш Alt і стрілка вниз, щоб відкрити меню" };+var Ew = {};+Ew = { longPressMessage: "Довго або звичайно натисніть комбінацію клавіш Alt і стрілка вниз, щоб відкрити меню" };//#endregion//#region node_modules/react-aria/dist/private/intl/menu/zh-CN.mjs-var Ow = {};-Ow = { longPressMessage: "长按或按 Alt + 向下方向键以打开菜单" };+var Dw = {};+Dw = { longPressMessage: "长按或按 Alt + 向下方向键以打开菜单" };//#endregion//#region node_modules/react-aria/dist/private/intl/menu/zh-TW.mjs-var kw = {};-kw = { longPressMessage: "長按或按 Alt+向下鍵以開啟功能表" };+var Ow = {};+Ow = { longPressMessage: "長按或按 Alt+向下鍵以開啟功能表" };//#endregion//#region node_modules/react-aria/dist/private/menu/intlStrings.mjs-var Aw = {};-Aw = {- "ar-AE": XC,- "bg-BG": ZC,- "cs-CZ": QC,- "da-DK": $C,- "de-DE": ew,- "el-GR": tw,- "en-US": nw,- "es-ES": rw,- "et-EE": iw,- "fi-FI": aw,- "fr-FR": ow,- "he-IL": sw,- "hr-HR": cw,- "hu-HU": lw,- "it-IT": uw,- "ja-JP": dw,- "ko-KR": fw,- "lt-LT": pw,- "lv-LV": mw,- "nb-NO": hw,- "nl-NL": gw,- "pl-PL": _w,- "pt-BR": vw,- "pt-PT": yw,- "ro-RO": bw,- "ru-RU": xw,- "sk-SK": Sw,- "sl-SI": Cw,- "sr-SP": ww,- "sv-SE": Tw,- "tr-TR": Ew,- "uk-UA": Dw,- "zh-CN": Ow,- "zh-TW": kw+var kw = {};+kw = {+ "ar-AE": YC,+ "bg-BG": XC,+ "cs-CZ": ZC,+ "da-DK": QC,+ "de-DE": $C,+ "el-GR": ew,+ "en-US": tw,+ "es-ES": nw,+ "et-EE": rw,+ "fi-FI": iw,+ "fr-FR": aw,+ "he-IL": ow,+ "hr-HR": sw,+ "hu-HU": cw,+ "it-IT": lw,+ "ja-JP": uw,+ "ko-KR": dw,+ "lt-LT": fw,+ "lv-LV": pw,+ "nb-NO": mw,+ "nl-NL": hw,+ "pl-PL": gw,+ "pt-BR": _w,+ "pt-PT": vw,+ "ro-RO": yw,+ "ru-RU": bw,+ "sk-SK": xw,+ "sl-SI": Sw,+ "sr-SP": Cw,+ "sv-SE": ww,+ "tr-TR": Tw,+ "uk-UA": Ew,+ "zh-CN": Dw,+ "zh-TW": Ow};//#endregion//#region node_modules/react-aria/dist/private/interactions/useLongPress.mjs-var iae = 500;-function jw(e) {- let { isDisabled: t, pointerType: n, onLongPressStart: r, onLongPressEnd: i, onLongPress: a, threshold: o = iae, accessibilityDescription: s } = e, c = (0, D.useRef)(void 0), { addGlobalListener: l, removeAllGlobalListeners: u } = SS(), d = (e) => n ? e.pointerType === n : e.pointerType === "mouse" || e.pointerType === "touch", { pressProps: f } = OS({+var aae = 500;+function Aw(e) {+ let { isDisabled: t, pointerType: n, onLongPressStart: r, onLongPressEnd: i, onLongPress: a, threshold: o = aae, accessibilityDescription: s } = e, c = (0, D.useRef)(void 0), { addGlobalListener: l, removeAllGlobalListeners: u } = xS(), d = (e) => n ? e.pointerType === n : e.pointerType === "mouse" || e.pointerType === "touch", { pressProps: f } = DS({isDisabled: t,onPressStart(e) {if (e.continuePropagation(), d(e)) {@@ -24250,12 +24250,12 @@ function jw(e) {...e,type: "longpressstart"}), c.current = setTimeout(() => {- e.target.dispatchEvent(new PointerEvent("pointercancel", { bubbles: !0 })), l(e.target, "click", (e) => e.preventDefault(), { once: !0 }), zy(e.target).activeElement !== e.target && Ry(e.target), a && a({+ e.target.dispatchEvent(new PointerEvent("pointercancel", { bubbles: !0 })), l(e.target, "click", (e) => e.preventDefault(), { once: !0 }), Ry(e.target).activeElement !== e.target && Ly(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 = By(e.target);+ let t = zy(e.target);l(t, "pointerup", () => {setTimeout(() => {u();@@ -24270,12 +24270,12 @@ function jw(e) {});}});- return { longPressProps: K(f, lC(a && !t ? s : void 0)) };+ return { longPressProps: K(f, cC(a && !t ? s : void 0)) };}//#endregion//#region node_modules/react-aria/dist/private/interactions/useContextMenu.mjs-function aae(e) {- let { onContextMenu: t } = e, n = (0, D.useRef)(!1), { longPressProps: r } = jw({+function oae(e) {+ let { onContextMenu: t } = e, n = (0, D.useRef)(!1), { longPressProps: r } = Aw({onLongPressStart() {n.current = !1;},@@ -24287,7 +24287,7 @@ function aae(e) {});}});- return t ? { contextMenuProps: K(db() ? r : {}, {+ return t ? { contextMenuProps: K(ub() ? r : {}, {onContextMenu(e) {e.stopPropagation(), e.preventDefault(), n.current = !0;let r = e.currentTarget.getBoundingClientRect();@@ -24298,7 +24298,7 @@ function aae(e) {});},onKeyDown(e) {- if (lb() && e.ctrlKey && e.key === "Enter") {+ if (cb() && e.ctrlKey && e.key === "Enter") {n.current = !1;let r = e.currentTarget;e.stopPropagation(), setTimeout(() => {@@ -24318,13 +24318,13 @@ function aae(e) {}//#endregion//#region node_modules/react-aria/dist/private/overlays/useCloseOnScroll.mjs-var Mw = /* @__PURE__ */ new WeakMap();-function oae(e) {+var jw = /* @__PURE__ */ new WeakMap();+function sae(e) {let { triggerRef: t, isOpen: n, onClose: r } = e;- (0, D.useEffect)(() => !n || r === null ? void 0 : Uy(Jy(t.current), "scroll", (e) => {+ (0, D.useEffect)(() => !n || r === null ? void 0 : Hy(qy(t.current), "scroll", (e) => {let n = G(e);- if (!t.current || n instanceof Node && !Ky(n, t.current) || n instanceof HTMLInputElement || n instanceof HTMLTextAreaElement) return;- let i = r || Mw.get(t.current);+ if (!t.current || n instanceof Node && !Gy(n, t.current) || n instanceof HTMLInputElement || n instanceof HTMLTextAreaElement) return;+ let i = r || jw.get(t.current);i && i();}, !0), [n,@@ -24334,14 +24334,14 @@ function oae(e) {}//#endregion//#region node_modules/react-aria/dist/private/overlays/useOverlayTrigger.mjs-function sae(e, t, n) {+function cae(e, t, n) {let { type: r } = e, { isOpen: i } = t;(0, D.useEffect)(() => {- n && n.current && Mw.set(n.current, t.close);+ n && n.current && jw.set(n.current, t.close);});let a;r === "menu" ? a = !0 : r === "listbox" && (a = "listbox");- let o = tx();+ let o = ex();return {triggerProps: {"aria-haspopup": a,@@ -24354,14 +24354,14 @@ function sae(e, t, n) {}//#endregion//#region node_modules/react-aria/dist/private/menu/useMenuTrigger.mjs-function cae(e) {+function lae(e) {return e && e.__esModule ? e.default : e;}-function Nw(e, t, n) {- let { type: r = "menu", isDisabled: i, trigger: a = "press" } = e, o = tx(), { triggerProps: s, overlayProps: c } = sae({ type: r }, t, n), l = (e, n, r = "first") => {+function Mw(e, t, n) {+ let { type: r = "menu", isDisabled: i, trigger: a = "press" } = e, o = ex(), { triggerProps: s, overlayProps: c } = cae({ type: r }, t, n), l = (e, n, r = "first") => {if (!e || n.isDefaultPrevented()) return !1;t.toggle(r);- }, { keyboardProps: u } = dx({+ }, { keyboardProps: u } = ux({isDisabled: i,shortcuts: {Enter: (e) => l(a !== "longPress", e, "first"),@@ -24373,7 +24373,7 @@ function Nw(e, t, n) {"Alt+ArrowDown": (e) => l(!0, e, "first"),"Alt+ArrowUp": (e) => l(!0, e, "last")}- }), d = oS(cae(Aw), "@react-aria/menu"), { longPressProps: f } = jw({+ }), d = aS(lae(kw), "@react-aria/menu"), { longPressProps: f } = Aw({isDisabled: i || a !== "longPress",accessibilityDescription: d.format("longPressMessage"),onLongPressStart() {@@ -24385,14 +24385,14 @@ function Nw(e, t, n) {}), p = {preventFocusOnPress: !0,onPressStart(e) {- e.pointerType !== "touch" && e.pointerType !== "keyboard" && !i && (Ry(e.target), t.open(e.pointerType === "virtual" ? "first" : null));+ e.pointerType !== "touch" && e.pointerType !== "keyboard" && !i && (Ly(e.target), t.open(e.pointerType === "virtual" ? "first" : null));},onPress(e) {- e.pointerType === "touch" && !i && (Ry(e.target), t.toggle());+ e.pointerType === "touch" && !i && (Ly(e.target), t.toggle());}};delete s.onPress;- let { contextMenuProps: m } = aae({ onContextMenu(e) {+ let { contextMenuProps: m } = oae({ onContextMenu(e) {let n = e.target.getBoundingClientRect();t.setPoint({x: n.x + e.x,@@ -24437,8 +24437,8 @@ function Nw(e, t, n) {}//#endregion//#region node_modules/react-aria/dist/private/selection/useTypeSelect.mjs-var Pw = 1e3;-function Fw(e) {+var Nw = 1e3;+function Pw(e) {let { keyboardDelegate: t, selectionManager: n, onTypeSelect: r } = e, i = (0, D.useRef)({search: "",timeout: void 0@@ -24457,12 +24457,12 @@ function Fw(e) {}clearTimeout(i.current.timeout), i.current.timeout = setTimeout(() => {i.current.search = "";- }, Pw);+ }, Nw);}} : void 0,onKeyDown: t.getKeyForSearch ? (e) => {- let a = lae(e.key);- if (!(!a || e.ctrlKey || e.metaKey || e.altKey || !Ky(e.currentTarget, G(e)) || i.current.search.length === 0 && a === " ")) {+ let a = uae(e.key);+ if (!(!a || e.ctrlKey || e.metaKey || e.altKey || !Gy(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();@@ -24473,34 +24473,34 @@ function Fw(e) {}clearTimeout(i.current.timeout), i.current.timeout = setTimeout(() => {i.current.search = "";- }, Pw);+ }, Nw);}} : void 0} };}-function lae(e) {+function uae(e) {return e.length === 1 || !/^[A-Z]/i.test(e) ? e : "";}//#endregion//#region node_modules/react-aria/dist/private/utils/useUpdateLayoutEffect.mjs-function Iw(e, t) {+function Fw(e, t) {let n = (0, D.useRef)(!0), r = (0, D.useRef)(null);- tb(() => (n.current = !0, () => {+ eb(() => (n.current = !0, () => {n.current = !1;- }), []), tb(() => {+ }), []), eb(() => {n.current ? n.current = !1 : (!r.current || t.some((e, t) => !Object.is(e, r[t]))) && e(), r.current = t;}, t);}//#endregion//#region node_modules/react-aria/dist/private/selection/useSelectableCollection.mjs-function Lw(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 } = Zx(), _ = gb(), v = (e, n, i) => {+function Iw(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 } = Xx(), _ = hb(), v = (e, n, i) => {if (n != null) {- if (t.isLink(n) && m === "selection" && l && !GC(e)) {+ if (t.isLink(n) && m === "selection" && l && !WC(e)) {(0, Et.flushSync)(() => {t.setFocusedKey(n, i);});- let a = KC(r, n), o = t.getItemProps(n);+ let a = GC(r, n), o = t.getItemProps(n);if (a) {_.open(a, e, o.href, o.routerOptions);return;@@ -24512,7 +24512,7 @@ function Lw(e) {t.extendSelection(n);return;}- if (l && !GC(e)) {+ if (l && !WC(e)) {t.replaceSelection(n);return;}@@ -24539,9 +24539,9 @@ function Lw(e) {}, x = (e) => {if (n.getFirstKey) {if (t.focusedKey === null && e.shiftKey) return !1;- let r = n.getFirstKey(t.focusedKey, Vx(e));+ let r = n.getFirstKey(t.focusedKey, Bx(e));if (t.setFocusedKey(r), r != null) {- if (Vx(e) && e.shiftKey && t.selectionMode === "multiple") {+ if (Bx(e) && e.shiftKey && t.selectionMode === "multiple") {t.extendSelection(r);return;}@@ -24573,9 +24573,9 @@ function Lw(e) {}, w = (e) => {if (n.getLastKey) {if (t.focusedKey === null && e.shiftKey) return !1;- let r = n.getLastKey(t.focusedKey, Vx(e));+ let r = n.getLastKey(t.focusedKey, Bx(e));if (t.setFocusedKey(r), r != null) {- if (Vx(e) && e.shiftKey && t.selectionMode === "multiple") {+ if (Bx(e) && e.shiftKey && t.selectionMode === "multiple") {t.extendSelection(r);return;}@@ -24606,12 +24606,12 @@ function Lw(e) {else return !1;}, A = () => {if (!f && r.current) {- let e = XS(r.current, { tabbable: !0 }), t, n;+ let e = YS(r.current, { tabbable: !0 }), t, n;don = e.lastChild(), n && (t = n);while (n);- let i = qy();- t && (!Yy(t) || i && !$y(i)) && Ry(t);+ let i = Ky();+ t && (!Jy(t) || i && !Qy(i)) && Ly(t);}return {shouldContinuePropagation: !0,@@ -24621,11 +24621,11 @@ function Lw(e) {shouldContinuePropagation: !0,shouldPreventDefault: !1}), M = (e, t) => ({- [lb() ? e + "+Shift+Alt" : e + "+Shift+Control"]: t,+ [cb() ? e + "+Shift+Alt" : e + "+Shift+Control"]: t,[e + "+Shift"]: t,- [lb() ? e + "+Alt" : e + "+Control"]: t,+ [cb() ? e + "+Alt" : e + "+Control"]: t,[e]: t- }), { keyboardProps: N } = dx({+ }), { keyboardProps: N } = ux({shortcuts: {...M("ArrowDown", y),...M("ArrowUp", b),@@ -24635,7 +24635,7 @@ function Lw(e) {...M("PageUp", E)},allowRepeats: !0- }), { keyboardProps: ee } = dx({ shortcuts: {+ }), { keyboardProps: ee } = ux({ shortcuts: {...M("Home", x),...M("End", w),"Mod+A": O,@@ -24646,7 +24646,7 @@ function Lw(e) {top: 0,left: 0});- Wx(p, "scroll", () => {+ Ux(p, "scroll", () => {te.current = {top: p.current?.scrollTop ?? 0,left: p.current?.scrollLeft ?? 0@@ -24654,11 +24654,11 @@ function Lw(e) {});let P = (e) => {if (t.isFocused) {- Ky(e.currentTarget, G(e)) || t.setFocused(!1);+ Gy(e.currentTarget, G(e)) || t.setFocused(!1);return;}- if (!Ky(e.currentTarget, G(e))) return;- let i = zb();+ if (!Gy(e.currentTarget, G(e))) return;+ let i = Rb();t.setFocused(!0);let a = (e) => {e != null && (t.setFocusedKey(e), l && !t.isSelected(e) && t.replaceSelection(e));@@ -24669,27 +24669,27 @@ function Lw(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 = te.current.top, p.current.scrollLeft = te.current.left);if (t.focusedKey != null && p.current) {- let e = KC(r, t.focusedKey);- e instanceof HTMLElement && (!Yy(e) && !d && Ry(e), (i === "keyboard" || h && i === "virtual") && sC(e, { containingElement: r.current }));+ let e = GC(r, t.focusedKey);+ e instanceof HTMLElement && (!Jy(e) && !d && Ly(e), (i === "keyboard" || h && i === "virtual") && oC(e, { containingElement: r.current }));}}, ne = (e) => {- Ky(e.currentTarget, e.relatedTarget) || t.setFocused(!1);+ Gy(e.currentTarget, e.relatedTarget) || t.setFocused(!1);}, F = (0, D.useRef)(!1);- Wx(r, nie, d ? (e) => {+ Ux(r, rie, d ? (e) => {let { detail: n } = e;e.stopPropagation(), t.setFocused(!0), n?.focusStrategy === "first" && (F.current = !0);} : void 0);let re = n.getFirstKey?.() ?? null;- Iw(() => {+ Fw(() => {if (F.current) {if (re == null) {- let e = qy();- Ax(r.current), jx(e, null), t.collection.size > 0 && (F.current = !1);+ let e = Ky();+ kx(r.current), Ax(e, null), t.collection.size > 0 && (F.current = !1);} else t.setFocusedKey(re), F.current = !1;}- }, [re, t.collection.size]), Iw(() => {+ }, [re, t.collection.size]), Fw(() => {t.collection.size > 0 && (F.current = !1);- }, [t.focusedKey]), Wx(r, tie, d ? (e) => {+ }, [t.focusedKey]), Ux(r, nie, d ? (e) => {e.stopPropagation(), t.setFocused(!1), e.detail?.clearFocusKey && t.setFocusedKey(null);} : void 0);let ie = (0, D.useRef)(i), ae = (0, D.useRef)(!1);@@ -24704,22 +24704,22 @@ function Lw(e) {break;}}- t.setFocused(!0), t.setFocusedKey(e), e != null && l && !a.size && t.canSelectItem(e) && t.replaceSelection(e), e == null && !d && r.current && Xb(r.current), t.collection.size > 0 && (ie.current = !1, ae.current = !0);+ t.setFocused(!0), t.setFocusedKey(e), e != null && l && !a.size && t.canSelectItem(e) && t.replaceSelection(e), e == null && !d && r.current && Yb(r.current), t.collection.size > 0 && (ie.current = !1, ae.current = !0);}});let oe = (0, D.useRef)(t.focusedKey), se = (0, D.useRef)(null);(0, D.useEffect)(() => {if (t.isFocused && t.focusedKey != null && (t.focusedKey !== oe.current || ae.current) && p.current && r.current) {- let e = zb(), n = KC(r, t.focusedKey);+ let e = Rb(), n = GC(r, t.focusedKey);if (!(n instanceof HTMLElement)) return;(e === "keyboard" || ae.current) && (se.current && cancelAnimationFrame(se.current), se.current = requestAnimationFrame(() => {- p.current && (oC(p.current, n), e !== "virtual" && sC(n, { containingElement: r.current }));+ p.current && (aC(p.current, n), e !== "virtual" && oC(n, { containingElement: r.current }));}));}- !d && t.isFocused && t.focusedKey == null && oe.current != null && r.current && Xb(r.current), oe.current = t.focusedKey, ae.current = !1;+ !d && t.isFocused && t.focusedKey == null && oe.current != null && r.current && Yb(r.current), oe.current = t.focusedKey, ae.current = !1;}), (0, D.useEffect)(() => () => {se.current && cancelAnimationFrame(se.current);- }, []), Wx(r, "react-aria-focus-scope-restore", (e) => {+ }, []), Ux(r, "react-aria-focus-scope-restore", (e) => {e.preventDefault(), t.setFocused(!0);});let ce = {@@ -24729,14 +24729,14 @@ function Lw(e) {onMouseDown(e) {p.current === G(e) && e.preventDefault();}- }, { typeSelectProps: le } = Fw({+ }, { typeSelectProps: le } = Pw({keyboardDelegate: n,selectionManager: t});u || (ce = K(le, ce));let ue;d || (ue = t.focusedKey == null ? 0 : -1);- let de = nae(t.collection);+ let de = rae(t.collection);return { collectionProps: K(ce, {tabIndex: ue,"data-collection": de@@ -24744,13 +24744,13 @@ function Lw(e) {}//#endregion//#region node_modules/react-stately/dist/private/collections/getChildNodes.mjs-function Rw(e, t) {+function Lw(e, t) {return typeof t.getChildren == "function" ? t.getChildren(e.key) : e.childNodes;}-function zw(e) {- return Bw(e, 0);+function Rw(e) {+ return zw(e, 0);}-function Bw(e, t) {+function zw(e, t) {if (t < 0) return;let n = 0;for (let r of e) {@@ -24758,112 +24758,112 @@ function Bw(e, t) {n++;}}-function Vw(e) {+function Bw(e) {let t;for (let n of e) t = n;return t;}-function Hw(e, t, n) {+function Vw(e, t, n) {if (t.parentKey === n.parentKey) return t.index - n.index;- let r = [...Uw(e, t), t], i = [...Uw(e, n), n], a = r.slice(0, i.length).findIndex((e, t) => e !== i[t]);+ let r = [...Hw(e, t), t], i = [...Hw(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 Uw(e, t) {+function Hw(e, t) {let n = [], r = t;for (; r?.parentKey != null;) r = e.getItem(r.parentKey), r && n.unshift(r);return n;}//#endregion//#region node_modules/react-stately/dist/private/collections/getItemCount.mjs-var Ww = /* @__PURE__ */ new WeakMap();-function Gw(e) {- let t = Ww.get(e);+var Uw = /* @__PURE__ */ new WeakMap();+function Ww(e) {+ let t = Uw.get(e);if (t != null) return t;let n = 0, r = (t) => {- for (let i of t) i.type === "section" ? r(Rw(i, e)) : i.type === "item" && n++;+ for (let i of t) i.type === "section" ? r(Lw(i, e)) : i.type === "item" && n++;};- return r(e), Ww.set(e, n), n;+ return r(e), Uw.set(e, n), n;}//#endregion//#region node_modules/react-aria/dist/private/i18n/useCollator.mjs-var Kw = /* @__PURE__ */ new Map();-function qw(e) {- let { locale: t } = Zx(), n = t + (e ? Object.entries(e).sort((e, t) => e[0] < t[0] ? -1 : 1).join() : "");- if (Kw.has(n)) return Kw.get(n);+var Gw = /* @__PURE__ */ new Map();+function Kw(e) {+ let { locale: t } = Xx(), n = t + (e ? Object.entries(e).sort((e, t) => e[0] < t[0] ? -1 : 1).join() : "");+ if (Gw.has(n)) return Gw.get(n);let r = new Intl.Collator(t, e);- return Kw.set(n, r), r;+ return Gw.set(n, r), r;}//#endregion//#region node_modules/react-aria/dist/private/interactions/PressResponder.mjs-var uae = /*#__PURE__*/ D.forwardRef(({ children: e, ...t }, n) => {- let r = (0, D.useRef)(!1), i = (0, D.useContext)(xS), a = K(i || {}, {+var dae = /*#__PURE__*/ D.forwardRef(({ children: e, ...t }, n) => {+ let r = (0, D.useRef)(!1), i = (0, D.useContext)(bS), a = K(i || {}, {...t,register() {r.current = !0, i && i.register();}});- return a.ref = fx(n || i?.ref), px(i, a.ref), (0, D.useEffect)(() => {+ return a.ref = dx(n || i?.ref), fx(i, a.ref), (0, D.useEffect)(() => {r.current ||= !0;- }, []), /*#__PURE__*/ D.createElement(xS.Provider, { value: a }, e);+ }, []), /*#__PURE__*/ D.createElement(bS.Provider, { value: a }, e);});-function dae({ children: e }) {+function fae({ children: e }) {let t = (0, D.useMemo)(() => ({ register: () => {} }), []);- return /*#__PURE__*/ D.createElement(xS.Provider, { value: t }, e);+ return /*#__PURE__*/ D.createElement(bS.Provider, { value: t }, e);}//#endregion//#region node_modules/react-aria/dist/private/overlays/PortalProvider.mjs-var Jw = /*#__PURE__*/ (0, D.createContext)({});-function Yw(e) {- let { getContainer: t } = e, { getContainer: n } = Xw();- return /*#__PURE__*/ D.createElement(Jw.Provider, { value: { getContainer: t === null ? void 0 : t ?? n } }, e.children);+var qw = /*#__PURE__*/ (0, D.createContext)({});+function Jw(e) {+ let { getContainer: t } = e, { getContainer: n } = Yw();+ return /*#__PURE__*/ D.createElement(qw.Provider, { value: { getContainer: t === null ? void 0 : t ?? n } }, e.children);}-function Xw() {- return (0, D.useContext)(Jw) ?? {};+function Yw() {+ return (0, D.useContext)(qw) ?? {};}//#endregion//#region node_modules/react-aria/dist/private/overlays/Overlay.mjs-var Zw = /*#__PURE__*/ D.createContext(null);-function Qw(e) {- let t = Cb(), { portalContainer: n = t ? null : document.body, isExiting: r } = e, [i, a] = (0, D.useState)(!1), o = (0, D.useMemo)(() => ({+var Xw = /*#__PURE__*/ D.createContext(null);+function Zw(e) {+ let t = Sb(), { portalContainer: n = t ? null : document.body, isExiting: r } = e, [i, a] = (0, D.useState)(!1), o = (0, D.useMemo)(() => ({contain: i,setContain: a- }), [i, a]), { getContainer: s } = Xw();+ }), [i, a]), { getContainer: s } = Yw();if (!e.portalContainer && s && (n = s()), !n) return null;let c = e.children;- return e.disableFocusManagement || (c = /*#__PURE__*/ D.createElement(RS, {+ return e.disableFocusManagement || (c = /*#__PURE__*/ D.createElement(LS, {restoreFocus: !0,contain: (e.shouldContainFocus || i) && !r- }, c)), c = /*#__PURE__*/ D.createElement(Zw.Provider, { value: o }, /*#__PURE__*/ D.createElement(dae, null, /*#__PURE__*/ D.createElement(mx.Provider, { value: null }, c))), /*#__PURE__*/ Et.createPortal(c, n);+ }, c)), c = /*#__PURE__*/ D.createElement(Xw.Provider, { value: o }, /*#__PURE__*/ D.createElement(fae, null, /*#__PURE__*/ D.createElement(px.Provider, { value: null }, c))), /*#__PURE__*/ Et.createPortal(c, n);}-function $w() {- let e = (0, D.useContext)(Zw)?.setContain;- tb(() => {+function Qw() {+ let e = (0, D.useContext)(Xw)?.setContain;+ eb(() => {e?.(!0);}, [e]);}//#endregion//#region node_modules/react-aria/dist/private/dialog/useDialog.mjs-function fae(e, t) {- let { role: n = "dialog", isEntering: r } = e, i = nx();+function pae(e, t) {+ let { role: n = "dialog", isEntering: r } = e, i = tx();i = e["aria-label"] ? void 0 : i;- let a = nx();+ let a = tx();a = n === "alertdialog" && !e["aria-describedby"] ? a : void 0;let o = (0, D.useRef)(!1);(0, D.useEffect)(() => {- if (!r && t.current && !Yy(t.current)) {- Xb(t.current);+ if (!r && t.current && !Jy(t.current)) {+ Yb(t.current);let e = setTimeout(() => {- (qy() === t.current || qy() === document.body) && (o.current = !0, t.current && (t.current.blur(), Xb(t.current)), o.current = !1);+ (Ky() === t.current || Ky() === document.body) && (o.current = !0, t.current && (t.current.blur(), Yb(t.current)), o.current = !1);}, 500);return () => {clearTimeout(e);};}- }, [t, r]), $w(), (0, D.useRef)(!1), (0, D.useEffect)(() => {});+ }, [t, r]), Qw(), (0, D.useRef)(!1), (0, D.useEffect)(() => {});let s = e["aria-describedby"] ?? a;return {dialogProps: {- ...pS(e, { labelable: !0 }),+ ...fS(e, { labelable: !0 }),role: n,tabIndex: -1,"aria-labelledby": e["aria-labelledby"] ?? i,@@ -24878,23 +24878,23 @@ function fae(e, t) {}//#endregion//#region node_modules/react-aria/dist/private/focus/useFocusRing.mjs-function eT(e = {}) {+function $w(e = {}) {let { autoFocus: t = !1, isTextInput: n, within: r } = e, i = (0, D.useRef)({isFocused: !1,- isFocusVisible: t || Rb()+ isFocusVisible: t || Lb()}), [a, o] = (0, D.useState)(!1), [s, c] = (0, D.useState)(() => i.current.isFocused && i.current.isFocusVisible), l = (0, D.useCallback)(() => c(i.current.isFocused && i.current.isFocusVisible), []), u = (0, D.useCallback)((e) => {- i.current.isFocused = e, i.current.isFocusVisible = Rb(), o(e), l();+ i.current.isFocused = e, i.current.isFocusVisible = Lb(), o(e), l();}, [l]);- Ub((e) => {+ Hb((e) => {i.current.isFocusVisible = e, l();}, [n, a], {enabled: a,isTextInput: n});- let { focusProps: d } = sx({+ let { focusProps: d } = ox({isDisabled: r,onFocusChange: u- }), { focusWithinProps: f } = TC({+ }), { focusWithinProps: f } = wC({isDisabled: !r,onFocusWithinChange: u});@@ -24906,42 +24906,42 @@ function eT(e = {}) {}//#endregion//#region node_modules/react-aria/dist/private/i18n/useListFormatter.mjs-function pae(e = {}) {- let { locale: t } = Zx();+function mae(e = {}) {+ let { locale: t } = Xx();return (0, D.useMemo)(() => new Intl.ListFormat(t, e), [t, e]);}//#endregion//#region node_modules/react-aria/dist/private/interactions/useHover.mjs-var tT = !1, nT = 0;-function mae() {- tT = !0, setTimeout(() => {- tT = !1;+var eT = !1, tT = 0;+function hae() {+ eT = !0, setTimeout(() => {+ eT = !1;}, 500);}-function rT(e) {- e.pointerType === "touch" && mae();+function nT(e) {+ e.pointerType === "touch" && hae();}-function hae() {- let e = zy(null);- if (e !== void 0) return nT === 0 && typeof PointerEvent < "u" && e.addEventListener("pointerup", rT), nT++, () => {- nT--, !(nT > 0) && typeof PointerEvent < "u" && e.removeEventListener("pointerup", rT);+function gae() {+ let e = Ry(null);+ if (e !== void 0) return tT === 0 && typeof PointerEvent < "u" && e.addEventListener("pointerup", nT), tT++, () => {+ tT--, !(tT > 0) && typeof PointerEvent < "u" && e.removeEventListener("pointerup", nT);};}-function iT(e) {+function rT(e) {let { onHoverStart: t, onHoverChange: n, onHoverEnd: r, isDisabled: i } = e, [a, o] = (0, D.useState)(!1), s = (0, D.useRef)({isHovered: !1,ignoreEmulatedMouseEvents: !1,pointerType: "",target: null}).current;- (0, D.useEffect)(hae, []);- let { addGlobalListener: c, removeAllGlobalListeners: l } = SS(), { hoverProps: u, triggerHoverEnd: d } = (0, D.useMemo)(() => {+ (0, D.useEffect)(gae, []);+ let { addGlobalListener: c, removeAllGlobalListeners: l } = xS(), { hoverProps: u, triggerHoverEnd: d } = (0, D.useMemo)(() => {let e = (e, r) => {- if (s.pointerType = r, i || r === "touch" || s.isHovered || !Ky(e.currentTarget, G(e))) return;+ if (s.pointerType = r, i || r === "touch" || s.isHovered || !Gy(e.currentTarget, G(e))) return;s.isHovered = !0;let l = e.currentTarget;- s.target = l, c(zy(G(e)), "pointerover", (e) => {- s.isHovered && s.target && !Ky(s.target, G(e)) && a(e, e.pointerType);+ s.target = l, c(Ry(G(e)), "pointerover", (e) => {+ s.isHovered && s.target && !Gy(s.target, G(e)) && a(e, e.pointerType);}, { capture: !0 }), t && t({type: "hoverstart",target: l,@@ -24956,9 +24956,9 @@ function iT(e) {}), n && n(!1), o(!1));}, u = {};return typeof PointerEvent < "u" && (u.onPointerEnter = (t) => {- tT && t.pointerType === "mouse" || e(t, t.pointerType);+ eT && t.pointerType === "mouse" || e(t, t.pointerType);}, u.onPointerLeave = (e) => {- !i && Ky(e.currentTarget, G(e)) && a(e, e.pointerType);+ !i && Gy(e.currentTarget, G(e)) && a(e, e.pointerType);}), {hoverProps: u,triggerHoverEnd: a@@ -24981,22 +24981,22 @@ function iT(e) {}//#endregion//#region node_modules/react-aria/dist/private/interactions/useInteractOutside.mjs-function gae(e) {+function _ae(e) {let { ref: t, onInteractOutside: n, isDisabled: r, onInteractOutsideStart: i } = e, a = (0, D.useRef)({isPointerDown: !1,ignoreEmulatedMouseEvents: !1- }), o = Ux((e) => {- n && aT(e, t) && (i && i(e), a.current.isPointerDown = !0);- }), s = Ux((e) => {+ }), o = Hx((e) => {+ n && iT(e, t) && (i && i(e), a.current.isPointerDown = !0);+ }), s = Hx((e) => {n && n(e);});(0, D.useEffect)(() => {let e = a.current;if (r) return;- let n = t.current, i = zy(n);+ let n = t.current, i = Ry(n);if (typeof PointerEvent < "u") {let n = (n) => {- e.isPointerDown && aT(n, t) && s(n), e.isPointerDown = !1;+ e.isPointerDown && iT(n, t) && s(n), e.isPointerDown = !1;};return i.addEventListener("pointerdown", o, !0), i.addEventListener("click", n, !0), () => {i.removeEventListener("pointerdown", o, !0), i.removeEventListener("click", n, !0);@@ -25004,30 +25004,30 @@ function gae(e) {}}, [t, r]);}-function aT(e, t) {+function iT(e, t) {if (e.button > 0) return !1;let n = G(e);if (n) {let e = n.ownerDocument;- if (!e || !Ky(e.documentElement, n) || n.closest("[data-react-aria-top-layer]")) return !1;+ if (!e || !Gy(e.documentElement, n) || n.closest("[data-react-aria-top-layer]")) return !1;}return t.current ? !e.composedPath().includes(t.current) : !1;}//#endregion//#region node_modules/react-aria/dist/private/gridlist/utils.mjs-var oT = /* @__PURE__ */ new WeakMap();-function sT(e, t) {- let { id: n } = oT.get(e) ?? {};+var aT = /* @__PURE__ */ new WeakMap();+function oT(e, t) {+ let { id: n } = aT.get(e) ?? {};if (!n) throw Error("Unknown list");- return `${n}-${_ae(t)}`;+ return `${n}-${vae(t)}`;}-function _ae(e) {+function vae(e) {return typeof e == "string" ? e.replace(/\s*/g, "") : "" + e;}//#endregion//#region node_modules/react-aria/dist/private/intl/grid/ar-AE.mjs-var cT = {};-cT = {+var sT = {};+sT = {deselectedItem: (e) => `${e.item} \u{63A}\u{64A}\u{631} \u{627}\u{644}\u{645}\u{62D}\u{62F}\u{62F}`,longPressToSelect: "اضغط مطولًا للدخول إلى وضع التحديد.",select: "تحديد",@@ -25041,8 +25041,8 @@ cT = {};//#endregion//#region node_modules/react-aria/dist/private/intl/grid/bg-BG.mjs-var lT = {};-lT = {+var cT = {};+cT = {deselectedItem: (e) => `${e.item} \u{43D}\u{435} \u{435} \u{438}\u{437}\u{431}\u{440}\u{430}\u{43D}.`,longPressToSelect: "Натиснете и задръжте за да влезете в избирателен режим.",select: "Изберете",@@ -25056,8 +25056,8 @@ lT = {};//#endregion//#region node_modules/react-aria/dist/private/intl/grid/cs-CZ.mjs-var uT = {};-uT = {+var lT = {};+lT = {deselectedItem: (e) => `Polo\u{17E}ka ${e.item} nen\xed vybr\xe1na.`,longPressToSelect: "Dlouhým stisknutím přejdete do režimu výběru.",select: "Vybrat",@@ -25071,8 +25071,8 @@ uT = {};//#endregion//#region node_modules/react-aria/dist/private/intl/grid/da-DK.mjs-var dT = {};-dT = {+var uT = {};+uT = {deselectedItem: (e) => `${e.item} ikke valgt.`,longPressToSelect: "Lav et langt tryk for at aktivere valgtilstand.",select: "Vælg",@@ -25086,8 +25086,8 @@ dT = {};//#endregion//#region node_modules/react-aria/dist/private/intl/grid/de-DE.mjs-var fT = {};-fT = {+var dT = {};+dT = {deselectedItem: (e) => `${e.item} nicht ausgew\xe4hlt.`,longPressToSelect: "Gedrückt halten, um Auswahlmodus zu öffnen.",select: "Auswählen",@@ -25101,8 +25101,8 @@ fT = {};//#endregion//#region node_modules/react-aria/dist/private/intl/grid/el-GR.mjs-var pT = {};-pT = {+var fT = {};+fT = {deselectedItem: (e) => `\u{394}\u{3B5}\u{3BD} \u{3B5}\u{3C0}\u{3B9}\u{3BB}\u{3AD}\u{3C7}\u{3B8}\u{3B7}\u{3BA}\u{3B5} \u{3C4}\u{3BF} \u{3C3}\u{3C4}\u{3BF}\u{3B9}\u{3C7}\u{3B5}\u{3AF}\u{3BF} ${e.item}.`,longPressToSelect: "Πατήστε παρατεταμένα για να μπείτε σε λειτουργία επιλογής.",select: "Επιλογή",@@ -25116,8 +25116,8 @@ pT = {};//#endregion//#region node_modules/react-aria/dist/private/intl/grid/en-US.mjs-var mT = {};-mT = {+var pT = {};+pT = {deselectedItem: (e) => `${e.item} not selected.`,select: "Select",selectedCount: (e, t) => `${t.plural(e.count, {@@ -25131,8 +25131,8 @@ mT = {};//#endregion//#region node_modules/react-aria/dist/private/intl/grid/es-ES.mjs-var hT = {};-hT = {+var mT = {};+mT = {deselectedItem: (e) => `${e.item} no seleccionado.`,longPressToSelect: "Mantenga pulsado para abrir el modo de selección.",select: "Seleccionar",@@ -25146,8 +25146,8 @@ hT = {};//#endregion//#region node_modules/react-aria/dist/private/intl/grid/et-EE.mjs-var gT = {};-gT = {+var hT = {};+hT = {deselectedItem: (e) => `${e.item} pole valitud.`,longPressToSelect: "Valikurežiimi sisenemiseks vajutage pikalt.",select: "Vali",@@ -25161,8 +25161,8 @@ gT = {};//#endregion//#region node_modules/react-aria/dist/private/intl/grid/fi-FI.mjs-var _T = {};-_T = {+var gT = {};+gT = {deselectedItem: (e) => `Kohdetta ${e.item} ei valittu.`,longPressToSelect: "Siirry valintatilaan painamalla pitkään.",select: "Valitse",@@ -25176,8 +25176,8 @@ _T = {};//#endregion//#region node_modules/react-aria/dist/private/intl/grid/fr-FR.mjs-var vT = {};-vT = {+var _T = {};+_T = {deselectedItem: (e) => `${e.item} non s\xe9lectionn\xe9.`,longPressToSelect: "Appuyez de manière prolongée pour passer en mode de sélection.",select: "Sélectionner",@@ -25191,8 +25191,8 @@ vT = {};//#endregion//#region node_modules/react-aria/dist/private/intl/grid/he-IL.mjs-var yT = {};-yT = {+var vT = {};+vT = {deselectedItem: (e) => `${e.item} \u{5DC}\u{5D0} \u{5E0}\u{5D1}\u{5D7}\u{5E8}.`,longPressToSelect: "הקשה ארוכה לכניסה למצב בחירה.",select: "בחר",@@ -25206,8 +25206,8 @@ yT = {};//#endregion//#region node_modules/react-aria/dist/private/intl/grid/hr-HR.mjs-var bT = {};-bT = {+var yT = {};+yT = {deselectedItem: (e) => `Stavka ${e.item} nije odabrana.`,longPressToSelect: "Dugo pritisnite za ulazak u način odabira.",select: "Odaberite",@@ -25221,8 +25221,8 @@ bT = {};//#endregion//#region node_modules/react-aria/dist/private/intl/grid/hu-HU.mjs-var xT = {};-xT = {+var bT = {};+bT = {deselectedItem: (e) => `${e.item} nincs kijel\xf6lve.`,longPressToSelect: "Nyomja hosszan a kijelöléshez.",select: "Kijelölés",@@ -25236,8 +25236,8 @@ xT = {};//#endregion//#region node_modules/react-aria/dist/private/intl/grid/it-IT.mjs-var ST = {};-ST = {+var xT = {};+xT = {deselectedItem: (e) => `${e.item} non selezionato.`,longPressToSelect: "Premi a lungo per passare alla modalità di selezione.",select: "Seleziona",@@ -25251,8 +25251,8 @@ ST = {};//#endregion//#region node_modules/react-aria/dist/private/intl/grid/ja-JP.mjs-var CT = {};-CT = {+var ST = {};+ST = {deselectedItem: (e) => `${e.item} \u{304C}\u{9078}\u{629E}\u{3055}\u{308C}\u{3066}\u{3044}\u{307E}\u{305B}\u{3093}\u{3002}`,longPressToSelect: "長押しして選択モードを開きます。",select: "選択",@@ -25266,8 +25266,8 @@ CT = {};//#endregion//#region node_modules/react-aria/dist/private/intl/grid/ko-KR.mjs-var wT = {};-wT = {+var CT = {};+CT = {deselectedItem: (e) => `${e.item}\u{C774}(\u{AC00}) \u{C120}\u{D0DD}\u{B418}\u{C9C0} \u{C54A}\u{C558}\u{C2B5}\u{B2C8}\u{B2E4}.`,longPressToSelect: "선택 모드로 들어가려면 길게 누르십시오.",select: "선택",@@ -25281,8 +25281,8 @@ wT = {};//#endregion//#region node_modules/react-aria/dist/private/intl/grid/lt-LT.mjs-var TT = {};-TT = {+var wT = {};+wT = {deselectedItem: (e) => `${e.item} nepasirinkta.`,longPressToSelect: "Norėdami įjungti pasirinkimo režimą, paspauskite ir palaikykite.",select: "Pasirinkti",@@ -25296,8 +25296,8 @@ TT = {};//#endregion//#region node_modules/react-aria/dist/private/intl/grid/lv-LV.mjs-var ET = {};-ET = {+var TT = {};+TT = {deselectedItem: (e) => `Vienums ${e.item} nav atlas\u{12B}ts.`,longPressToSelect: "Ilgi turiet nospiestu. lai ieslēgtu atlases režīmu.",select: "Atlasīt",@@ -25311,8 +25311,8 @@ ET = {};//#endregion//#region node_modules/react-aria/dist/private/intl/grid/nb-NO.mjs-var DT = {};-DT = {+var ET = {};+ET = {deselectedItem: (e) => `${e.item} er ikke valgt.`,longPressToSelect: "Bruk et langt trykk for å gå inn i valgmodus.",select: "Velg",@@ -25326,8 +25326,8 @@ DT = {};//#endregion//#region node_modules/react-aria/dist/private/intl/grid/nl-NL.mjs-var OT = {};-OT = {+var DT = {};+DT = {deselectedItem: (e) => `${e.item} niet geselecteerd.`,longPressToSelect: "Druk lang om de selectiemodus te openen.",select: "Selecteren",@@ -25341,8 +25341,8 @@ OT = {};//#endregion//#region node_modules/react-aria/dist/private/intl/grid/pl-PL.mjs-var kT = {};-kT = {+var OT = {};+OT = {deselectedItem: (e) => `Nie zaznaczono ${e.item}.`,longPressToSelect: "Naciśnij i przytrzymaj, aby wejść do trybu wyboru.",select: "Zaznacz",@@ -25356,8 +25356,8 @@ kT = {};//#endregion//#region node_modules/react-aria/dist/private/intl/grid/pt-BR.mjs-var AT = {};-AT = {+var kT = {};+kT = {deselectedItem: (e) => `${e.item} n\xe3o selecionado.`,longPressToSelect: "Mantenha pressionado para entrar no modo de seleção.",select: "Selecionar",@@ -25371,8 +25371,8 @@ AT = {};//#endregion//#region node_modules/react-aria/dist/private/intl/grid/pt-PT.mjs-var jT = {};-jT = {+var AT = {};+AT = {deselectedItem: (e) => `${e.item} n\xe3o selecionado.`,longPressToSelect: "Prima continuamente para entrar no modo de seleção.",select: "Selecionar",@@ -25386,8 +25386,8 @@ jT = {};//#endregion//#region node_modules/react-aria/dist/private/intl/grid/ro-RO.mjs-var MT = {};-MT = {+var jT = {};+jT = {deselectedItem: (e) => `${e.item} neselectat.`,longPressToSelect: "Apăsați lung pentru a intra în modul de selectare.",select: "Selectare",@@ -25401,8 +25401,8 @@ MT = {};//#endregion//#region node_modules/react-aria/dist/private/intl/grid/ru-RU.mjs-var NT = {};-NT = {+var MT = {};+MT = {deselectedItem: (e) => `${e.item} \u{43D}\u{435} \u{432}\u{44B}\u{431}\u{440}\u{430}\u{43D}\u{43E}.`,longPressToSelect: "Нажмите и удерживайте для входа в режим выбора.",select: "Выбрать",@@ -25416,8 +25416,8 @@ NT = {};//#endregion//#region node_modules/react-aria/dist/private/intl/grid/sk-SK.mjs-var PT = {};-PT = {+var NT = {};+NT = {deselectedItem: (e) => `Nevybrat\xe9 polo\u{17E}ky: ${e.item}.`,longPressToSelect: "Dlhším stlačením prejdite do režimu výberu.",select: "Vybrať",@@ -25431,8 +25431,8 @@ PT = {};//#endregion//#region node_modules/react-aria/dist/private/intl/grid/sl-SI.mjs-var FT = {};-FT = {+var PT = {};+PT = {deselectedItem: (e) => `Element ${e.item} ni izbran.`,longPressToSelect: "Za izbirni način pritisnite in dlje časa držite.",select: "Izberite",@@ -25446,8 +25446,8 @@ FT = {};//#endregion//#region node_modules/react-aria/dist/private/intl/grid/sr-SP.mjs-var IT = {};-IT = {+var FT = {};+FT = {deselectedItem: (e) => `${e.item} nije izabrano.`,longPressToSelect: "Dugo pritisnite za ulazak u režim biranja.",select: "Izaberite",@@ -25461,8 +25461,8 @@ IT = {};//#endregion//#region node_modules/react-aria/dist/private/intl/grid/sv-SE.mjs-var LT = {};-LT = {+var IT = {};+IT = {deselectedItem: (e) => `${e.item} ej markerat.`,longPressToSelect: "Tryck länge när du vill öppna väljarläge.",select: "Markera",@@ -25476,8 +25476,8 @@ LT = {};//#endregion//#region node_modules/react-aria/dist/private/intl/grid/tr-TR.mjs-var RT = {};-RT = {+var LT = {};+LT = {deselectedItem: (e) => `${e.item} se\xe7ilmedi.`,longPressToSelect: "Seçim moduna girmek için uzun basın.",select: "Seç",@@ -25491,8 +25491,8 @@ RT = {};//#endregion//#region node_modules/react-aria/dist/private/intl/grid/uk-UA.mjs-var zT = {};-zT = {+var RT = {};+RT = {deselectedItem: (e) => `${e.item} \u{43D}\u{435} \u{432}\u{438}\u{431}\u{440}\u{430}\u{43D}\u{43E}.`,longPressToSelect: "Виконайте довге натиснення, щоб перейти в режим вибору.",select: "Вибрати",@@ -25506,8 +25506,8 @@ zT = {};//#endregion//#region node_modules/react-aria/dist/private/intl/grid/zh-CN.mjs-var BT = {};-BT = {+var zT = {};+zT = {deselectedItem: (e) => `\u{672A}\u{9009}\u{62E9} ${e.item}\u{3002}`,longPressToSelect: "长按以进入选择模式。",select: "选择",@@ -25521,8 +25521,8 @@ BT = {};//#endregion//#region node_modules/react-aria/dist/private/intl/grid/zh-TW.mjs-var VT = {};-VT = {+var BT = {};+BT = {deselectedItem: (e) => `\u{672A}\u{9078}\u{53D6}\u{300C}${e.item}\u{300D}\u{3002}`,longPressToSelect: "長按以進入選擇模式。",select: "選取",@@ -25536,55 +25536,55 @@ VT = {};//#endregion//#region node_modules/react-aria/dist/private/grid/intlStrings.mjs-var HT = {};-HT = {- "ar-AE": cT,- "bg-BG": lT,- "cs-CZ": uT,- "da-DK": dT,- "de-DE": fT,- "el-GR": pT,- "en-US": mT,- "es-ES": hT,- "et-EE": gT,- "fi-FI": _T,- "fr-FR": vT,- "he-IL": yT,- "hr-HR": bT,- "hu-HU": xT,- "it-IT": ST,- "ja-JP": CT,- "ko-KR": wT,- "lt-LT": TT,- "lv-LV": ET,- "nb-NO": DT,- "nl-NL": OT,- "pl-PL": kT,- "pt-BR": AT,- "pt-PT": jT,- "ro-RO": MT,- "ru-RU": NT,- "sk-SK": PT,- "sl-SI": FT,- "sr-SP": IT,- "sv-SE": LT,- "tr-TR": RT,- "uk-UA": zT,- "zh-CN": BT,- "zh-TW": VT+var VT = {};+VT = {+ "ar-AE": sT,+ "bg-BG": cT,+ "cs-CZ": lT,+ "da-DK": uT,+ "de-DE": dT,+ "el-GR": fT,+ "en-US": pT,+ "es-ES": mT,+ "et-EE": hT,+ "fi-FI": gT,+ "fr-FR": _T,+ "he-IL": vT,+ "hr-HR": yT,+ "hu-HU": bT,+ "it-IT": xT,+ "ja-JP": ST,+ "ko-KR": CT,+ "lt-LT": wT,+ "lv-LV": TT,+ "nb-NO": ET,+ "nl-NL": DT,+ "pl-PL": OT,+ "pt-BR": kT,+ "pt-PT": AT,+ "ro-RO": jT,+ "ru-RU": MT,+ "sk-SK": NT,+ "sl-SI": PT,+ "sr-SP": FT,+ "sv-SE": IT,+ "tr-TR": LT,+ "uk-UA": RT,+ "zh-CN": zT,+ "zh-TW": BT};//#endregion//#region node_modules/react-aria/dist/private/grid/useGridSelectionAnnouncement.mjs-function vae(e) {+function yae(e) {return e && e.__esModule ? e.default : e;}-function UT(e, t) {- let { getRowText: n = (e) => t.collection.getTextValue?.(e) ?? t.collection.getItem(e)?.textValue } = e, r = oS(vae(HT), "@react-aria/grid"), i = t.selectionManager.rawSelection, a = (0, D.useRef)(i), o = (0, D.useCallback)(() => {+function HT(e, t) {+ let { getRowText: n = (e) => t.collection.getTextValue?.(e) ?? t.collection.getItem(e)?.textValue } = e, r = aS(yae(VT), "@react-aria/grid"), i = t.selectionManager.rawSelection, a = (0, D.useRef)(i), o = (0, D.useCallback)(() => {if (!t.selectionManager.isFocused || i === a.current) {a.current = i;return;}- let e = WT(i, a.current), o = WT(a.current, i), s = t.selectionManager.selectionBehavior === "replace", c = [];+ let e = UT(i, a.current), o = UT(a.current, i), s = t.selectionManager.selectionBehavior === "replace", c = [];if (t.selectionManager.selectedKeys.size === 1 && s) {let e = t.selectionManager.selectedKeys.keys().next().value;if (e != null && t.collection.getItem(e)) {@@ -25604,7 +25604,7 @@ function UT(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 && tC(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 && eC(c.join(" ")), a.current = i;}, [i,t.selectionManager.selectedKeys,@@ -25615,7 +25615,7 @@ function UT(e, t) {n,r]);- nC(() => {+ tC(() => {if (t.selectionManager.isFocused) o();else {let e = requestAnimationFrame(o);@@ -25623,7 +25623,7 @@ function UT(e, t) {}}, [i, t.selectionManager.isFocused]);}-function WT(e, t) {+function UT(e, t) {let n = /* @__PURE__ */ new Set();if (e === "all" || t === "all") return n;for (let r of e.keys()) t.has(r) || n.add(r);@@ -25631,13 +25631,13 @@ function WT(e, t) {}//#endregion//#region node_modules/react-aria/dist/private/focus/useHasTabbableChild.mjs-function GT(e, t) {+function WT(e, t) {let n = t?.isDisabled, [r, i] = (0, D.useState)(!1);- return tb(() => {+ return eb(() => {if (e?.current && !n) {let t = () => {if (e.current) {- let t = XS(e.current, { tabbable: !0 });+ let t = YS(e.current, { tabbable: !0 });i(!!t.nextNode());}};@@ -25656,12 +25656,12 @@ function GT(e, t) {}//#endregion//#region node_modules/react-aria/dist/private/grid/useHighlightSelectionDescription.mjs-function yae(e) {+function bae(e) {return e && e.__esModule ? e.default : e;}-function KT(e) {- let t = oS(yae(HT), "@react-aria/grid"), n = Vb(), r = (n === "pointer" || n === "virtual" || n == null) && typeof window < "u" && "ontouchstart" in window;- return lC((0, D.useMemo)(() => {+function GT(e) {+ let t = aS(bae(VT), "@react-aria/grid"), n = Bb(), r = (n === "pointer" || n === "virtual" || n == null) && typeof window < "u" && "ontouchstart" in window;+ return cC((0, D.useMemo)(() => {let n = e.selectionManager.selectionMode, i = e.selectionManager.selectionBehavior, a;return r && (a = t.format("longPressToSelect")), i === "replace" && n !== "none" && e.hasItemActions ? a : void 0;}, [@@ -25674,11 +25674,11 @@ function KT(e) {}//#endregion//#region node_modules/react-aria/dist/private/selection/useSelectableList.mjs-function qT(e) {- let { selectionManager: t, collection: n, disabledKeys: r, ref: i, keyboardDelegate: a, layoutDelegate: o, orientation: s } = e, c = qw({+function KT(e) {+ let { selectionManager: t, collection: n, disabledKeys: r, ref: i, keyboardDelegate: a, layoutDelegate: o, orientation: s } = e, c = Kw({usage: "search",sensitivity: "base"- }), l = t.disabledBehavior, u = (0, D.useMemo)(() => a || new YC({+ }), l = t.disabledBehavior, u = (0, D.useMemo)(() => a || new JC({collection: n,disabledKeys: r,disabledBehavior: l,@@ -25695,7 +25695,7 @@ function qT(e) {c,l,s- ]), { collectionProps: d } = Lw({+ ]), { collectionProps: d } = Iw({...e,ref: i,selectionManager: t,@@ -25705,10 +25705,10 @@ function qT(e) {}//#endregion//#region node_modules/react-aria/dist/private/gridlist/useGridList.mjs-function bae(e, t, n) {+function xae(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 } = qT({+ let { listProps: f } = KT({selectionManager: t.selectionManager,collection: t.collection,disabledKeys: t.disabledKeys,@@ -25723,31 +25723,31 @@ function bae(e, t, n) {autoFocus: e.autoFocus,escapeKeyBehavior: u,UNSTABLE_focusOnEntry: e.UNSTABLE_focusOnEntry- }), p = tx(e.id);- oT.set(t, {+ }), p = ex(e.id);+ aT.set(t, {id: p,onAction: o,linkBehavior: c,keyboardNavigationBehavior: l,shouldSelectOnPressUp: d});- let m = KT({+ let m = GT({selectionManager: t.selectionManager,hasItemActions: !!o- }), h = GT(n, { isDisabled: t.collection.size !== 0 }), g = K(pS(e, { labelable: !0 }), {+ }), h = WT(n, { isDisabled: t.collection.size !== 0 }), g = K(fS(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), UT({}, t), { gridProps: g };+ return r && (g["aria-rowcount"] = t.collection.size, g["aria-colcount"] = 1), HT({}, t), { gridProps: g };}//#endregion//#region node_modules/react-aria/dist/private/selection/useSelectableItem.mjs-function JT(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 = gb();- t = tx(t);+function qT(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 = hb();+ t = ex(t);let p = (e) => {- if (e.pointerType === "keyboard" && GC(e)) n.toggleSelection(r);+ if (e.pointerType === "keyboard" && WC(e)) n.toggleSelection(r);else {if (n.selectionMode === "none") return;if (n.isLink(r)) {@@ -25758,11 +25758,11 @@ function JT(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 && (Vx(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 && (Bx(e) || e.pointerType === "touch" || e.pointerType === "virtual") ? n.toggleSelection(r) : n.replaceSelection(r);}};(0, D.useEffect)(() => {- r === n.focusedKey && n.isFocused && (o ? Ax(i.current) : s ? s() : qy() !== i.current && i.current && Xb(i.current));+ r === n.focusedKey && n.isFocused && (o ? kx(i.current) : s ? s() : Ky() !== i.current && i.current && Yb(i.current));}, [i,r,@@ -25790,22 +25790,22 @@ function JT(e) {l && (l(), i.current?.dispatchEvent(new CustomEvent("react-aria-item-action", { bubbles: !0 }))), _ && i.current && f.open(i.current, e, O.href, O.routerOptions);}, A = { ref: i };a ? (A.onPressStart = (e) => {- C.current = e.pointerType, T.current = w, e.pointerType === "keyboard" && (!S || XT(e.key)) && p(e);+ C.current = e.pointerType, T.current = w, e.pointerType === "keyboard" && (!S || YT(e.key)) && p(e);}, u ? (A.onPressUp = b ? void 0 : (e) => {e.pointerType === "mouse" && v && p(e);}, A.onPress = b ? k : (e) => {e.pointerType !== "keyboard" && e.pointerType !== "mouse" && v && p(e);}) : A.onPress = (e) => {if (b || x && e.pointerType !== "mouse") {- if (e.pointerType === "keyboard" && !YT(e.key)) return;+ if (e.pointerType === "keyboard" && !JT(e.key)) return;k(e);} else e.pointerType !== "keyboard" && v && p(e);}) : (A.onPressStart = (e) => {- C.current = e.pointerType, T.current = w, E.current = b, v && (e.pointerType === "mouse" && !b || e.pointerType === "keyboard" && (!y || XT(e.key))) && p(e);+ C.current = e.pointerType, T.current = w, E.current = b, v && (e.pointerType === "mouse" && !b || e.pointerType === "keyboard" && (!y || YT(e.key))) && p(e);}, A.onPress = (e) => {- (e.pointerType === "touch" || e.pointerType === "pen" || e.pointerType === "virtual" || e.pointerType === "keyboard" && S && YT(e.key) || e.pointerType === "mouse" && E.current) && (S ? k(e) : v && p(e));+ (e.pointerType === "touch" || e.pointerType === "pen" || e.pointerType === "virtual" || e.pointerType === "keyboard" && S && JT(e.key) || e.pointerType === "mouse" && E.current) && (S ? k(e) : v && p(e));});- let j = rae(n.collection);+ let j = iae(n.collection);if (m["data-collection"] = j, m["data-key"] = r, A.preventFocusOnPress = o, o && (A = K(A, {onPressStart(e) {e.pointerType !== "touch" && (n.setFocused(!0), n.setFocusedKey(r));@@ -25820,10 +25820,10 @@ function JT(e) {"onPress","onPressUp","onClick"- ]) O[e] && (A[e] = Zb(A[e], O[e]));- let { pressProps: M, isPressed: N } = OS(A), ee = x ? (e) => {+ ]) O[e] && (A[e] = Xb(A[e], O[e]));+ let { pressProps: M, isPressed: N } = DS(A), ee = x ? (e) => {C.current === "mouse" && (e.stopPropagation(), e.preventDefault(), k(e));- } : void 0, { longPressProps: te } = jw({+ } : void 0, { longPressProps: te } = Aw({isDisabled: !w,onLongPress(e) {e.pointerType === "touch" && (p(e), n.setSelectionBehavior("toggle"));@@ -25831,7 +25831,7 @@ function JT(e) {}), P = (e) => {C.current === "touch" && T.current && e.preventDefault();}, ne = d !== "none" && n.isLink(r) ? (e) => {- _b.isOpening || e.preventDefault();+ gb.isOpening || e.preventDefault();} : void 0, F = K(m, v || b || o && !c ? M : {}, w ? te : {}, {onDoubleClick: ee,onDragStartCapture: P,@@ -25844,7 +25844,7 @@ function JT(e) {if (e != null) return e !== j;t = t.parentElement;}- return $y(e);+ return Qy(e);}, ie = F.onPointerDown;F.onPointerDown = (e) => {let t = G(e);@@ -25864,15 +25864,15 @@ function JT(e) {hasAction: S};}-function YT(e) {+function JT(e) {return e === "Enter";}-function XT(e) {+function YT(e) {return e === " ";}//#endregion//#region node_modules/react-aria/dist/private/gridlist/useGridListItem.mjs-var ZT = {+var XT = {expand: {ltr: "ArrowRight",rtl: "ArrowLeft"@@ -25882,18 +25882,18 @@ var ZT = {rtl: "ArrowRight"}};-function xae(e, t, n) {- let { node: r, isVirtualized: i, focusMode: a = "row", allowsArrowNavigation: o } = e, { direction: s } = Zx(), { onAction: c, linkBehavior: l, keyboardNavigationBehavior: u, shouldSelectOnPressUp: d } = oT.get(t), f = nx(), p = (0, D.useRef)(null), m = () => {+function Sae(e, t, n) {+ let { node: r, isVirtualized: i, focusMode: a = "row", allowsArrowNavigation: o } = e, { direction: s } = Xx(), { onAction: c, linkBehavior: l, keyboardNavigationBehavior: u, shouldSelectOnPressUp: d } = aT.get(t), f = tx(), p = (0, D.useRef)(null), m = () => {if (n.current !== null) {if (a === "child") {- if (Yy(n.current) && n.current !== qy(zy(n.current))) return;- let e = XS(n.current, { tabbable: !0 }).firstChild();+ if (Jy(n.current) && n.current !== Ky(Ry(n.current))) return;+ let e = YS(n.current, { tabbable: !0 }).firstChild();if (e) {- Xb(e), sC(e, { containingElement: iC(e) });+ Yb(e), oC(e, { containingElement: rC(e) });return;}}- (p.current != null && r.key !== p.current || !Yy(n.current)) && Xb(n.current);+ (p.current != null && r.key !== p.current || !Jy(n.current)) && Yb(n.current);}}, h = {}, g = e.hasChildItems, _ = t.selectionManager.isLink(r.key);if (r != null && "expandedKeys" in t) {@@ -25903,7 +25903,7 @@ function xae(e, t, n) {if (r.level >= 0 && r?.parentKey != null) {let e = t.collection.getItem(r.parentKey);if (e) {- let n = Sae(e, t.collection);+ let n = Cae(e, t.collection);i = [...n].filter((e) => e.type === "item").length, a > 0 && n[0].type !== "item" && --a;}} else i = [...t.collection].filter((e) => e.level === 0 && e.type === "item").length;@@ -25914,75 +25914,75 @@ function xae(e, t, n) {"aria-setsize": i};}- let { itemProps: v, ...y } = JT({+ let { itemProps: v, ...y } = qT({selectionManager: t.selectionManager,key: r.key,ref: n,isVirtualized: i,shouldSelectOnPressUp: e.shouldSelectOnPressUp || d,- onAction: c || r.props?.onAction ? Zb(r.props?.onAction, c ? () => c(r.key) : void 0) : void 0,+ onAction: c || r.props?.onAction ? Xb(r.props?.onAction, c ? () => c(r.key) : void 0) : void 0,focus: m,linkBehavior: l}), b = (e) => {- let i = qy(zy(n.current));- if (!Ky(e.currentTarget, G(e)) || !n.current || !i) return;- let a = XS(n.current);- if (a.currentNode = i, !QT(e, t, r, g, s, i, n.current, o)) switch (e.key) {+ let i = Ky(Ry(n.current));+ if (!Gy(e.currentTarget, G(e)) || !n.current || !i) return;+ let a = YS(n.current);+ if (a.currentNode = i, !ZT(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(), Xb(t), sC(t, { containingElement: iC(n.current) });- else if (e.preventDefault(), e.stopPropagation(), s === "rtl") Xb(n.current), sC(n.current, { containingElement: iC(n.current) });+ if (t) e.preventDefault(), e.stopPropagation(), Yb(t), oC(t, { containingElement: rC(n.current) });+ else if (e.preventDefault(), e.stopPropagation(), s === "rtl") Yb(n.current), oC(n.current, { containingElement: rC(n.current) });else {a.currentNode = n.current;- let e = $T(a);- e && (Xb(e), sC(e, { containingElement: iC(n.current) }));+ let e = QT(a);+ e && (Yb(e), oC(e, { containingElement: rC(n.current) }));}}break;case "ArrowRight":if (u === "arrow") {let t = s === "rtl" ? a.previousNode() : a.nextNode();- if (t) e.preventDefault(), e.stopPropagation(), Xb(t), sC(t, { containingElement: iC(n.current) });- else if (e.preventDefault(), e.stopPropagation(), s === "ltr") Xb(n.current), sC(n.current, { containingElement: iC(n.current) });+ if (t) e.preventDefault(), e.stopPropagation(), Yb(t), oC(t, { containingElement: rC(n.current) });+ else if (e.preventDefault(), e.stopPropagation(), s === "ltr") Yb(n.current), oC(n.current, { containingElement: rC(n.current) });else {a.currentNode = n.current;- let e = $T(a);- e && (Xb(e), sC(e, { containingElement: iC(n.current) }));+ let e = QT(a);+ e && (Yb(e), oC(e, { containingElement: rC(n.current) }));}}break;case "ArrowUp":- case "ArrowDown": !e.altKey && Ky(n.current, G(e)) && (e.stopPropagation(), e.preventDefault(), n.current.parentElement?.dispatchEvent(new KeyboardEvent(e.nativeEvent.type, e.nativeEvent)));+ case "ArrowDown": !e.altKey && Gy(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 && Ky(n.current, e.relatedTarget) || requestAnimationFrame(() => {- a === "child" && qy(zy(n.current)) === n.current && m();- }) : Rb() || t.selectionManager.setFocusedKey(r.key);+ p.current = r.key, G(e) === n.current ? a === "child" && e.relatedTarget && Gy(n.current, e.relatedTarget) || requestAnimationFrame(() => {+ a === "child" && Ky(Ry(n.current)) === n.current && m();+ }) : Lb() || t.selectionManager.setFocusedKey(r.key);}, S = (e) => {- let i = qy(zy(n.current));- if (Ky(e.currentTarget, G(e)) && n.current && i) {+ let i = Ky(Ry(n.current));+ if (Gy(e.currentTarget, G(e)) && n.current && i) {if (u === "tab") {if (G(e) !== n.current && e.key !== "Tab") {e.stopPropagation();return;}- if (QT(e, t, r, g, s, i, n.current, o)) return;+ if (ZT(e, t, r, g, s, i, n.current, o)) return;}if (e.key === "Tab" && u === "tab") {- let t = XS(n.current, { tabbable: !0 });+ let t = YS(n.current, { tabbable: !0 });t.currentNode = i, (e.shiftKey ? t.previousNode() : t.nextNode()) && e.stopPropagation();}}- }, C = vb(r.props), w = K(v, y.hasAction ? C : {}, {+ }, C = _b(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) ? `${sT(t, r.key)} ${f}` : void 0,- id: sT(t, r.key)+ "aria-labelledby": f && (r["aria-label"] || r.textValue) ? `${oT(t, r.key)} ${f}` : void 0,+ id: oT(t, r.key)});a === "child" && o && u === "tab" && (w.tabIndex = -1);let T = w.onKeyDown;@@ -26003,37 +26003,37 @@ function xae(e, t, n) {...y};}-function QT(e, t, n, r, i, a, o, s) {+function ZT(e, t, n, r, i, a, o, s) {if (!("expandedKeys" in t) || !s && a !== o) return !1;- if (e.key === ZT.expand[i] && t.selectionManager.focusedKey === n.key && r && !t.expandedKeys.has(n.key)) return t.toggleKey(n.key), e.stopPropagation(), !0;- if (e.key === ZT.collapse[i] && t.selectionManager.focusedKey === n.key) {+ if (e.key === XT.expand[i] && t.selectionManager.focusedKey === n.key && r && !t.expandedKeys.has(n.key)) return t.toggleKey(n.key), e.stopPropagation(), !0;+ if (e.key === XT.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 $T(e) {+function QT(e) {let t = null, n = null;don = e.lastChild(), n && (t = n);while (n);return t;}-function Sae(e, t) {+function Cae(e, t) {let n = t.getChildren?.(e.key), r = n ? Array.from(n) : [], i = r.length > 0 ? r[0] : null, a = [];for (; i;) a.push(i), i = i.nextKey == null ? null : t.getItem(i.nextKey);return a;}//#endregion//#region node_modules/react-aria/dist/private/grid/useGridSelectionCheckbox.mjs-function Cae(e) {+function wae(e) {return e && e.__esModule ? e.default : e;}-function eE(e, t) {- let { key: n } = e, r = t.selectionManager, i = tx(), a = !t.selectionManager.canSelectItem(n), o = t.selectionManager.isSelected(n);+function $T(e, t) {+ let { key: n } = e, r = t.selectionManager, i = ex(), a = !t.selectionManager.canSelectItem(n), o = t.selectionManager.isSelected(n);return { checkboxProps: {id: i,- "aria-label": oS(Cae(HT), "@react-aria/grid").format("select"),+ "aria-label": aS(wae(VT), "@react-aria/grid").format("select"),isSelected: o,isDisabled: a,onChange: () => r.toggleSelection(n)@@ -26041,31 +26041,31 @@ function eE(e, t) {}//#endregion//#region node_modules/react-aria/dist/private/gridlist/useGridListSelectionCheckbox.mjs-function wae(e, t) {- let { key: n } = e, { checkboxProps: r } = eE(e, t);+function Tae(e, t) {+ let { key: n } = e, { checkboxProps: r } = $T(e, t);return { checkboxProps: {...r,- "aria-labelledby": `${r.id} ${sT(t, n)}`+ "aria-labelledby": `${r.id} ${oT(t, n)}`} };}//#endregion//#region node_modules/react-aria/dist/private/listbox/useListBox.mjs-function Tae(e, t, n) {- let r = pS(e, { labelable: !0 }), i = e.selectionBehavior || "toggle", a = e.orientation || "vertical", o = e.linkBehavior || (i === "replace" ? "action" : "override");+function Eae(e, t, n) {+ let r = fS(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 } = qT({+ let { listProps: s } = KT({...e,ref: n,selectionManager: t.selectionManager,collection: t.collection,disabledKeys: t.disabledKeys,linkBehavior: o- }), { focusWithinProps: c } = TC({+ }), { focusWithinProps: c } = wC({onFocusWithin: e.onFocus,onBlurWithin: e.onBlur,onFocusWithinChange: e.onFocusChange- }), l = tx(e.id);- WC.set(t, {+ }), l = ex(e.id);+ UC.set(t, {id: l,shouldUseVirtualFocus: e.shouldUseVirtualFocus,shouldSelectOnPressUp: e.shouldSelectOnPressUp,@@ -26075,7 +26075,7 @@ function Tae(e, t, n) {linkBehavior: o,UNSTABLE_itemBehavior: e.UNSTABLE_itemBehavior});- let { labelProps: u, fieldProps: d } = CC({+ let { labelProps: u, fieldProps: d } = SC({...e,id: l,labelElementType: "span"@@ -26091,8 +26091,8 @@ function Tae(e, t, n) {}//#endregion//#region node_modules/react-aria/dist/private/listbox/useListBoxSection.mjs-function Eae(e) {- let { heading: t, "aria-label": n } = e, r = tx();+function Dae(e) {+ let { heading: t, "aria-label": n } = e, r = ex();return {itemProps: { role: "presentation" },headingProps: t ? {@@ -26111,8 +26111,8 @@ function Eae(e) {}//#endregion//#region node_modules/react-aria/dist/private/listbox/useOption.mjs-function Dae(e, t, n) {- let { key: r } = e, i = WC.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 = nx(), f = nx(), p = {+function Oae(e, t, n) {+ let { key: r } = e, i = UC.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 = tx(), f = tx(), p = {role: "option","aria-disabled": a || void 0,"aria-selected": t.selectionManager.selectionMode === "none" ? void 0 : o,@@ -26122,9 +26122,9 @@ function Dae(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"] = Gw(t.collection);+ p["aria-posinset"] = Number.isNaN(e) ? void 0 : e + 1, p["aria-setsize"] = Ww(t.collection);}- let h = i?.onAction ? () => i?.onAction?.(r) : void 0, g = tae(t, r), { itemProps: _, isPressed: v, isFocused: y, hasAction: b, allowsSelection: x } = JT({+ let h = i?.onAction ? () => i?.onAction?.(r) : void 0, g = nae(t, r), { itemProps: _, isPressed: v, isFocused: y, hasAction: b, allowsSelection: x } = qT({selectionManager: t.selectionManager,key: r,ref: n,@@ -26133,18 +26133,18 @@ function Dae(e, t, n) {isVirtualized: u,shouldUseVirtualFocus: l,isDisabled: a,- onAction: h || m?.props?.onAction ? Zb(m?.props?.onAction, h) : void 0,+ onAction: h || m?.props?.onAction ? Xb(m?.props?.onAction, h) : void 0,linkBehavior: i?.linkBehavior,UNSTABLE_itemBehavior: i?.UNSTABLE_itemBehavior,id: g- }), { hoverProps: S } = iT({+ }), { hoverProps: S } = rT({isDisabled: a || !c,onHoverStart() {- Rb() || (t.selectionManager.setFocused(!0), t.selectionManager.setFocusedKey(r));+ Lb() || (t.selectionManager.setFocused(!0), t.selectionManager.setFocusedKey(r));}- }), C = pS(m?.props);+ }), C = fS(m?.props);delete C.id;- let w = yb(m?.props);+ let w = vb(m?.props);return {optionProps: {...p,@@ -26154,7 +26154,7 @@ function Dae(e, t, n) {labelProps: { id: d },descriptionProps: { id: f },isFocused: y,- isFocusVisible: y && t.selectionManager.isFocused && Rb(),+ isFocusVisible: y && t.selectionManager.isFocused && Lb(),isSelected: o,isDisabled: a,isPressed: v,@@ -26164,13 +26164,13 @@ function Dae(e, t, n) {}//#endregion//#region node_modules/react-aria/dist/private/menu/utils.mjs-var tE = /* @__PURE__ */ new WeakMap();+var eE = /* @__PURE__ */ new WeakMap();//#endregion//#region node_modules/react-aria/dist/private/menu/useMenu.mjs-function Oae(e, t, n) {+function kae(e, t, n) {let { shouldFocusWrap: r = !0, onKeyDown: i, onKeyUp: a, ...o } = e;!e["aria-label"] && e["aria-labelledby"];- let s = pS(e, { labelable: !0 }), { listProps: c } = qT({+ let s = fS(e, { labelable: !0 }), { listProps: c } = KT({...o,ref: n,selectionManager: t.selectionManager,@@ -26179,7 +26179,7 @@ function Oae(e, t, n) {shouldFocusWrap: r,linkBehavior: "override"});- return tE.set(t, {+ return eE.set(t, {onClose: e.onClose,onAction: e.onAction,shouldUseVirtualFocus: e.shouldUseVirtualFocus@@ -26196,15 +26196,15 @@ function Oae(e, t, n) {}//#endregion//#region node_modules/react-aria/dist/private/menu/useMenuItem.mjs-function kae(e, t, n) {- let { id: r, key: i, closeOnSelect: a, shouldCloseOnSelect: o, isVirtualized: s, "aria-haspopup": c, onPressStart: l, onPressUp: u, onPress: d, onPressChange: f, onPressEnd: p, onClick: m, onHoverStart: h, onHoverChange: g, onHoverEnd: _, onKeyDown: v, onKeyUp: y, onFocus: b, onFocusChange: x, onBlur: S, selectionManager: C = t.selectionManager } = e, w = !!c, T = w && e["aria-expanded"] === "true", E = e.isDisabled ?? C.isDisabled(i), O = e.isSelected ?? C.isSelected(i), k = tE.get(t), A = t.collection.getItem(i), j = e.onClose || k.onClose, M = gb(), N = () => {+function Aae(e, t, n) {+ let { id: r, key: i, closeOnSelect: a, shouldCloseOnSelect: o, isVirtualized: s, "aria-haspopup": c, onPressStart: l, onPressUp: u, onPress: d, onPressChange: f, onPressEnd: p, onClick: m, onHoverStart: h, onHoverChange: g, onHoverEnd: _, onKeyDown: v, onKeyUp: y, onFocus: b, onFocusChange: x, onBlur: S, selectionManager: C = t.selectionManager } = e, w = !!c, T = w && e["aria-expanded"] === "true", E = e.isDisabled ?? C.isDisabled(i), O = e.isSelected ?? C.isSelected(i), k = eE.get(t), A = t.collection.getItem(i), j = e.onClose || k.onClose, M = hb(), N = () => {if (!w && (A?.props?.onAction ? A.props.onAction() : e.onAction && e.onAction(i), k.onAction)) {let e = k.onAction;e(i, A?.value);}}, ee = "menuitem";w || (C.selectionMode === "single" ? ee = "menuitemradio" : C.selectionMode === "multiple" && (ee = "menuitemcheckbox"));- let te = nx(), P = nx(), ne = nx(), F = {+ let te = tx(), P = tx(), ne = tx(), F = {id: r,"aria-disabled": E || void 0,role: ee,@@ -26221,17 +26221,17 @@ function kae(e, t, n) {};if (C.selectionMode !== "none" && !w && (F["aria-checked"] = O), s) {let e = Number(A?.index);- F["aria-posinset"] = Number.isNaN(e) ? void 0 : e + 1, F["aria-setsize"] = Gw(t.collection);+ F["aria-posinset"] = Number.isNaN(e) ? void 0 : e + 1, F["aria-setsize"] = Ww(t.collection);}let re = (0, D.useRef)(!1), ie = (e) => {f?.(e), re.current = e;}, ae = (0, D.useRef)(null), oe = (e) => {e.pointerType !== "keyboard" && (ae.current = { pointerType: e.pointerType }), e.pointerType === "mouse" && (re.current || e.target.click()), u?.(e);}, se = (e) => {- m?.(e), N(), gre(e, M, A.props.href, A?.props.routerOptions);+ m?.(e), N(), _re(e, M, A.props.href, A?.props.routerOptions);let t = ae.current?.pointerType === "keyboard" ? ae.current?.key === "Enter" || C.selectionMode === "none" || C.isLink(i) : C.selectionMode !== "multiple" || C.isLink(i);t = o ?? a ?? t, j && !w && t && j(), ae.current = null;- }, { itemProps: ce, isFocused: le } = JT({+ }, { itemProps: ce, isFocused: le } = qT({id: r,selectionManager: C,key: i,@@ -26240,27 +26240,27 @@ function kae(e, t, n) {allowsDifferentPressOrigin: !0,linkBehavior: "none",shouldUseVirtualFocus: k.shouldUseVirtualFocus- }), { pressProps: ue, isPressed: de } = OS({+ }), { pressProps: ue, isPressed: de } = DS({onPressStart: l,onPress: d,onPressUp: oe,onPressChange: ie,onPressEnd: p,isDisabled: E- }), { hoverProps: fe } = iT({+ }), { hoverProps: fe } = rT({isDisabled: E,onHoverStart(e) {- !Rb() && !(T && c) && (C.setFocused(!0), C.setFocusedKey(i)), h?.(e);+ !Lb() && !(T && c) && (C.setFocused(!0), C.setFocusedKey(i)), h?.(e);},onHoverChange: g,onHoverEnd: _- }), { keyboardProps: pe } = dx({+ }), { keyboardProps: pe } = ux({shortcuts: {" ": (e) => {ae.current = {pointerType: "keyboard",key: " "- }, G(e).click(), Bb("keyboard");+ }, G(e).click(), zb("keyboard");},Enter: (e) => {ae.current = {@@ -26268,8 +26268,8 @@ function kae(e, t, n) {key: "Enter"};let t = G(e);- if (t.tagName !== "A") t.click(), Bb("keyboard");- else return Bb("keyboard"), {+ if (t.tagName !== "A") t.click(), zb("keyboard");+ else return zb("keyboard"), {shouldPreventDefault: !1,shouldContinuePropagation: !1};@@ -26277,13 +26277,13 @@ function kae(e, t, n) {},onKeyDown: v,onKeyUp: y- }), { focusableProps: me } = hx({+ }), { focusableProps: me } = mx({onBlur: S,onFocus: b,onFocusChange: x- }, n), he = pS(A?.props);+ }, n), he = fS(A?.props);delete he.id;- let ge = yb(A?.props);+ let ge = vb(A?.props);return {menuItemProps: {...F,@@ -26298,7 +26298,7 @@ function kae(e, t, n) {descriptionProps: { id: P },keyboardShortcutProps: { id: ne },isFocused: le,- isFocusVisible: le && C.isFocused && Rb() && !T,+ isFocusVisible: le && C.isFocused && Lb() && !T,isSelected: O,isPressed: de,isDisabled: E@@ -26306,8 +26306,8 @@ function kae(e, t, n) {}//#endregion//#region node_modules/react-aria/dist/private/menu/useMenuSection.mjs-function Aae(e) {- let { heading: t, "aria-label": n } = e, r = tx();+function jae(e) {+ let { heading: t, "aria-label": n } = e, r = ex();return {itemProps: { role: "presentation" },headingProps: t ? {@@ -26323,15 +26323,15 @@ function Aae(e) {}//#endregion//#region node_modules/react-aria/dist/private/utils/useResizeObserver.mjs-function jae() {+function Mae() {return window.ResizeObserver !== void 0;}-function nE(e) {- let { ref: t, box: n, onResize: r } = e, i = Ux(r);+function tE(e) {+ let { ref: t, box: n, onResize: r } = e, i = Hx(r);(0, D.useEffect)(() => {let e = t?.current;if (e) {- if (jae()) {+ if (Mae()) {let t = new window.ResizeObserver((e) => {e.length && i();});@@ -26347,189 +26347,189 @@ function nE(e) {}//#endregion//#region node_modules/react-aria/dist/private/intl/overlays/ar-AE.mjs-var rE = {};-rE = { dismiss: "تجاهل" };+var nE = {};+nE = { dismiss: "تجاهل" };//#endregion//#region node_modules/react-aria/dist/private/intl/overlays/bg-BG.mjs-var iE = {};-iE = { dismiss: "Отхвърляне" };+var rE = {};+rE = { dismiss: "Отхвърляне" };//#endregion//#region node_modules/react-aria/dist/private/intl/overlays/cs-CZ.mjs-var aE = {};-aE = { dismiss: "Odstranit" };+var iE = {};+iE = { dismiss: "Odstranit" };//#endregion//#region node_modules/react-aria/dist/private/intl/overlays/da-DK.mjs-var oE = {};-oE = { dismiss: "Luk" };+var aE = {};+aE = { dismiss: "Luk" };//#endregion//#region node_modules/react-aria/dist/private/intl/overlays/de-DE.mjs-var sE = {};-sE = { dismiss: "Schließen" };+var oE = {};+oE = { dismiss: "Schließen" };//#endregion//#region node_modules/react-aria/dist/private/intl/overlays/el-GR.mjs-var cE = {};-cE = { dismiss: "Απόρριψη" };+var sE = {};+sE = { dismiss: "Απόρριψη" };//#endregion//#region node_modules/react-aria/dist/private/intl/overlays/en-US.mjs-var lE = {};-lE = { dismiss: "Dismiss" };+var cE = {};+cE = { dismiss: "Dismiss" };//#endregion//#region node_modules/react-aria/dist/private/intl/overlays/es-ES.mjs-var uE = {};-uE = { dismiss: "Descartar" };+var lE = {};+lE = { dismiss: "Descartar" };//#endregion//#region node_modules/react-aria/dist/private/intl/overlays/et-EE.mjs-var dE = {};-dE = { dismiss: "Lõpeta" };+var uE = {};+uE = { dismiss: "Lõpeta" };//#endregion//#region node_modules/react-aria/dist/private/intl/overlays/fi-FI.mjs-var fE = {};-fE = { dismiss: "Hylkää" };+var dE = {};+dE = { dismiss: "Hylkää" };//#endregion//#region node_modules/react-aria/dist/private/intl/overlays/fr-FR.mjs-var pE = {};-pE = { dismiss: "Rejeter" };+var fE = {};+fE = { dismiss: "Rejeter" };//#endregion//#region node_modules/react-aria/dist/private/intl/overlays/he-IL.mjs-var mE = {};-mE = { dismiss: "התעלם" };+var pE = {};+pE = { dismiss: "התעלם" };//#endregion//#region node_modules/react-aria/dist/private/intl/overlays/hr-HR.mjs-var hE = {};-hE = { dismiss: "Odbaci" };+var mE = {};+mE = { dismiss: "Odbaci" };//#endregion//#region node_modules/react-aria/dist/private/intl/overlays/hu-HU.mjs-var gE = {};-gE = { dismiss: "Elutasítás" };+var hE = {};+hE = { dismiss: "Elutasítás" };//#endregion//#region node_modules/react-aria/dist/private/intl/overlays/it-IT.mjs-var _E = {};-_E = { dismiss: "Ignora" };+var gE = {};+gE = { dismiss: "Ignora" };//#endregion//#region node_modules/react-aria/dist/private/intl/overlays/ja-JP.mjs-var vE = {};-vE = { dismiss: "閉じる" };+var _E = {};+_E = { dismiss: "閉じる" };//#endregion//#region node_modules/react-aria/dist/private/intl/overlays/ko-KR.mjs-var yE = {};-yE = { dismiss: "무시" };+var vE = {};+vE = { dismiss: "무시" };//#endregion//#region node_modules/react-aria/dist/private/intl/overlays/lt-LT.mjs-var bE = {};-bE = { dismiss: "Atmesti" };+var yE = {};+yE = { dismiss: "Atmesti" };//#endregion//#region node_modules/react-aria/dist/private/intl/overlays/lv-LV.mjs-var xE = {};-xE = { dismiss: "Nerādīt" };+var bE = {};+bE = { dismiss: "Nerādīt" };//#endregion//#region node_modules/react-aria/dist/private/intl/overlays/nb-NO.mjs-var SE = {};-SE = { dismiss: "Lukk" };+var xE = {};+xE = { dismiss: "Lukk" };//#endregion//#region node_modules/react-aria/dist/private/intl/overlays/nl-NL.mjs-var CE = {};-CE = { dismiss: "Negeren" };+var SE = {};+SE = { dismiss: "Negeren" };//#endregion//#region node_modules/react-aria/dist/private/intl/overlays/pl-PL.mjs-var wE = {};-wE = { dismiss: "Zignoruj" };+var CE = {};+CE = { dismiss: "Zignoruj" };//#endregion//#region node_modules/react-aria/dist/private/intl/overlays/pt-BR.mjs-var TE = {};-TE = { dismiss: "Descartar" };+var wE = {};+wE = { dismiss: "Descartar" };//#endregion//#region node_modules/react-aria/dist/private/intl/overlays/pt-PT.mjs-var EE = {};-EE = { dismiss: "Dispensar" };+var TE = {};+TE = { dismiss: "Dispensar" };//#endregion//#region node_modules/react-aria/dist/private/intl/overlays/ro-RO.mjs-var DE = {};-DE = { dismiss: "Revocare" };+var EE = {};+EE = { dismiss: "Revocare" };//#endregion//#region node_modules/react-aria/dist/private/intl/overlays/ru-RU.mjs-var OE = {};-OE = { dismiss: "Пропустить" };+var DE = {};+DE = { dismiss: "Пропустить" };//#endregion//#region node_modules/react-aria/dist/private/intl/overlays/sk-SK.mjs-var kE = {};-kE = { dismiss: "Zrušiť" };+var OE = {};+OE = { dismiss: "Zrušiť" };//#endregion//#region node_modules/react-aria/dist/private/intl/overlays/sl-SI.mjs-var AE = {};-AE = { dismiss: "Opusti" };+var kE = {};+kE = { dismiss: "Opusti" };//#endregion//#region node_modules/react-aria/dist/private/intl/overlays/sr-SP.mjs-var jE = {};-jE = { dismiss: "Odbaci" };+var AE = {};+AE = { dismiss: "Odbaci" };//#endregion//#region node_modules/react-aria/dist/private/intl/overlays/sv-SE.mjs-var ME = {};-ME = { dismiss: "Avvisa" };+var jE = {};+jE = { dismiss: "Avvisa" };//#endregion//#region node_modules/react-aria/dist/private/intl/overlays/tr-TR.mjs-var NE = {};-NE = { dismiss: "Kapat" };+var ME = {};+ME = { dismiss: "Kapat" };//#endregion//#region node_modules/react-aria/dist/private/intl/overlays/uk-UA.mjs-var PE = {};-PE = { dismiss: "Скасувати" };+var NE = {};+NE = { dismiss: "Скасувати" };//#endregion//#region node_modules/react-aria/dist/private/intl/overlays/zh-CN.mjs-var FE = {};-FE = { dismiss: "取消" };+var PE = {};+PE = { dismiss: "取消" };//#endregion//#region node_modules/react-aria/dist/private/intl/overlays/zh-TW.mjs-var IE = {};-IE = { dismiss: "關閉" };+var FE = {};+FE = { dismiss: "關閉" };//#endregion//#region node_modules/react-aria/dist/private/overlays/intlStrings.mjs-var LE = {};-LE = {- "ar-AE": rE,- "bg-BG": iE,- "cs-CZ": aE,- "da-DK": oE,- "de-DE": sE,- "el-GR": cE,- "en-US": lE,- "es-ES": uE,- "et-EE": dE,- "fi-FI": fE,- "fr-FR": pE,- "he-IL": mE,- "hr-HR": hE,- "hu-HU": gE,- "it-IT": _E,- "ja-JP": vE,- "ko-KR": yE,- "lt-LT": bE,- "lv-LV": xE,- "nb-NO": SE,- "nl-NL": CE,- "pl-PL": wE,- "pt-BR": TE,- "pt-PT": EE,- "ro-RO": DE,- "ru-RU": OE,- "sk-SK": kE,- "sl-SI": AE,- "sr-SP": jE,- "sv-SE": ME,- "tr-TR": NE,- "uk-UA": PE,- "zh-CN": FE,- "zh-TW": IE+var IE = {};+IE = {+ "ar-AE": nE,+ "bg-BG": rE,+ "cs-CZ": iE,+ "da-DK": aE,+ "de-DE": oE,+ "el-GR": sE,+ "en-US": cE,+ "es-ES": lE,+ "et-EE": uE,+ "fi-FI": dE,+ "fr-FR": fE,+ "he-IL": pE,+ "hr-HR": mE,+ "hu-HU": hE,+ "it-IT": gE,+ "ja-JP": _E,+ "ko-KR": vE,+ "lt-LT": yE,+ "lv-LV": bE,+ "nb-NO": xE,+ "nl-NL": SE,+ "pl-PL": CE,+ "pt-BR": wE,+ "pt-PT": TE,+ "ro-RO": EE,+ "ru-RU": DE,+ "sk-SK": OE,+ "sl-SI": kE,+ "sr-SP": AE,+ "sv-SE": jE,+ "tr-TR": ME,+ "uk-UA": NE,+ "zh-CN": PE,+ "zh-TW": FE};//#endregion//#region node_modules/react-aria/dist/private/overlays/DismissButton.mjs-function Mae(e) {+function Nae(e) {return e && e.__esModule ? e.default : e;}-function RE(e) {- let { onDismiss: t, ...n } = e, r = Gx(n, oS(Mae(LE), "@react-aria/overlays").format("dismiss")), i = () => {+function LE(e) {+ let { onDismiss: t, ...n } = e, r = Wx(n, aS(Nae(IE), "@react-aria/overlays").format("dismiss")), i = () => {t && t();};- return /*#__PURE__*/ D.createElement(IC, null, /*#__PURE__*/ D.createElement("button", {+ return /*#__PURE__*/ D.createElement(FC, null, /*#__PURE__*/ D.createElement("button", {...r,tabIndex: -1,onClick: i,@@ -26541,35 +26541,35 @@ function RE(e) {}//#endregion//#region node_modules/react-aria/dist/private/overlays/useOverlay.mjs-var zE = [];-function BE(e, t) {+var RE = [];+function zE(e, t) {let { onClose: n, shouldCloseOnBlur: r, isOpen: i, isDismissable: a = !1, isKeyboardDismissDisabled: o = !1, shouldCloseOnInteractOutside: s } = e, c = (0, D.useRef)(void 0);(0, D.useEffect)(() => {- if (i && !zE.includes(t)) return zE.push(t), () => {- let e = zE.indexOf(t);- e >= 0 && zE.splice(e, 1);+ if (i && !RE.includes(t)) return RE.push(t), () => {+ let e = RE.indexOf(t);+ e >= 0 && RE.splice(e, 1);};}, [i, t]);let l = () => {- zE[zE.length - 1] === t && n && n();+ RE[RE.length - 1] === t && n && n();}, u = (e) => {- let n = zE[zE.length - 1];+ let n = RE[RE.length - 1];c.current = n, (!s || s(G(e))) && n === t && e.stopPropagation();}, d = (e) => {- (!s || s(G(e))) && (zE[zE.length - 1] === t && e.stopPropagation(), c.current === t && l()), c.current = void 0;- }, { keyboardProps: f } = dx({ shortcuts: { Escape: () => {+ (!s || s(G(e))) && (RE[RE.length - 1] === t && e.stopPropagation(), c.current === t && l()), c.current = void 0;+ }, { keyboardProps: f } = ux({ shortcuts: { Escape: () => {if (!o) l();else return !1;} } });- gae({+ _ae({ref: t,onInteractOutside: a && i ? d : void 0,onInteractOutsideStart: u});- let { focusWithinProps: p } = TC({+ let { focusWithinProps: p } = wC({isDisabled: !r,onBlurWithin: (e) => {- e.relatedTarget && !Oie(e.relatedTarget) && (!s || s(e.relatedTarget)) && n?.();+ e.relatedTarget && !kie(e.relatedTarget) && (!s || s(e.relatedTarget)) && n?.();}});return {@@ -26582,88 +26582,88 @@ function BE(e, t) {}//#endregion//#region node_modules/react-aria/dist/private/utils/runAfterKeyboard.mjs-var Nae = 200, Pae = 50, Fae = 600, VE = /* @__PURE__ */ new WeakMap(), HE = /* @__PURE__ */ new Set(), UE = /* @__PURE__ */ new Set();-function Iae(e, t) {- let n = Hx();- if (e !== n || t.aborted) for (let e of UE) e(n), UE.delete(e);- if (!e && n && fb() && !t.aborted) window.clearInterval(VE.get(window)), VE.set(window, WE(Nae));+var Pae = 200, Fae = 50, Iae = 600, BE = /* @__PURE__ */ new WeakMap(), VE = /* @__PURE__ */ new Set(), HE = /* @__PURE__ */ new Set();+function Lae(e, t) {+ let n = Vx();+ if (e !== n || t.aborted) for (let e of HE) e(n), HE.delete(e);+ if (!e && n && db() && !t.aborted) window.clearInterval(BE.get(window)), BE.set(window, UE(Pae));else {- if (e !== n || t.aborted) for (let e of HE) e(n), HE.delete(e);- (UE.size + HE.size <= 0 || t.aborted) && (window.clearInterval(VE.get(window)), VE.delete(window));+ if (e !== n || t.aborted) for (let e of VE) e(n), VE.delete(e);+ (HE.size + VE.size <= 0 || t.aborted) && (window.clearInterval(BE.get(window)), BE.delete(window));}}-function WE(e = Fae) {- return window.setInterval(Iae, Pae, Hx(), AbortSignal.timeout(e));+function UE(e = Iae) {+ return window.setInterval(Lae, Fae, Vx(), AbortSignal.timeout(e));}-function GE(e) {- if (!zx()) return e(!1), () => {};+function WE(e) {+ if (!Rx()) return e(!1), () => {};let t = window.requestAnimationFrame(() => {t = window.requestAnimationFrame(() => {- let t = Bx(document.hasFocus() ? qy() : null);- if (Hx() === t || Hx() && !t) return e(t);- UE.add(e), VE.has(window) || VE.set(window, WE());+ let t = zx(document.hasFocus() ? Ky() : null);+ if (Vx() === t || Vx() && !t) return e(t);+ HE.add(e), BE.has(window) || BE.set(window, UE());});});return () => {- window.cancelAnimationFrame(t), UE.delete(e);+ window.cancelAnimationFrame(t), HE.delete(e);};}-function KE(e) {- if (!zx()) return e(!1), () => {};+function GE(e) {+ if (!Rx()) return e(!1), () => {};let t = window.requestAnimationFrame(() => {t = window.requestAnimationFrame(() => {- let t = Bx(document.hasFocus() ? qy() : null);- if (Hx() === t) return e(t);- HE.add(e), VE.has(window) || VE.set(window, WE());+ let t = zx(document.hasFocus() ? Ky() : null);+ if (Vx() === t) return e(t);+ VE.add(e), BE.has(window) || BE.set(window, UE());});});return () => {- window.cancelAnimationFrame(t), HE.delete(e);+ window.cancelAnimationFrame(t), VE.delete(e);};}//#endregion//#region node_modules/react-aria/dist/private/overlays/usePreventScroll.mjs-var qE = typeof document < "u" && window.visualViewport, JE = 0, YE;-function XE(e = {}) {+var KE = typeof document < "u" && window.visualViewport, qE = 0, JE;+function YE(e = {}) {let { isDisabled: t, UNSTABLE_overrideFocus: n } = e;- tb(() => {- if (!t) return JE++, JE === 1 && (YE = db() && fb() ? QE() : ZE(n)), () => {- JE--, JE === 0 && YE();+ eb(() => {+ if (!t) return qE++, qE === 1 && (JE = ub() && db() ? ZE() : XE(n)), () => {+ qE--, qE === 0 && JE();};}, [t, n]);}-function ZE(e) {+function XE(e) {let t = window.innerWidth - document.documentElement.clientWidth;- return Zb(t > 0 && ("scrollbarGutter" in document.documentElement.style ? Wy(document.documentElement, "scrollbar-gutter", "stable") : Wy(document.documentElement, "padding-right", `${t}px`)), Wy(document.documentElement, "overflow", "hidden"), e && eD(), e && zx() && $E());+ return Xb(t > 0 && ("scrollbarGutter" in document.documentElement.style ? Uy(document.documentElement, "scrollbar-gutter", "stable") : Uy(document.documentElement, "padding-right", `${t}px`)), Uy(document.documentElement, "overflow", "hidden"), e && $E(), e && Rx() && QE());}-function QE() {- let e = Wy(document.documentElement, "overflow", "hidden"), t, n = !1, r = (e) => {+function ZE() {+ let e = Uy(document.documentElement, "overflow", "hidden"), t, n = !1, r = (e) => {let r = G(e);- t = rC(r, !0) ? r : iC(r, !0), n = !1;+ t = nC(r, !0) ? r : rC(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 = bS();+ }, i = document.createElement("style"), a = yS();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 = eD(), c = Zb(Uy(document, "touchstart", r, {+ }, s = $E(), c = Xb(Hy(document, "touchstart", r, {passive: !1,capture: !0- }), Uy(document, "touchmove", o, {+ }), Hy(document, "touchmove", o, {passive: !1,capture: !0- }), $E());+ }), QE());return () => {e(), c(), i.remove(), s();};}-function $E() {- return Uy(document, "blur", (e) => {+function QE() {+ return Hy(document, "blur", (e) => {let t = G(e), n = e.relatedTarget;- n && Bx(n) ? n.focus() : n || (t.parentElement?.closest("[tabindex]"))?.focus({ preventScroll: !0 });+ n && zx(n) ? n.focus() : n || (t.parentElement?.closest("[tabindex]"))?.focus({ preventScroll: !0 });}, !0);}-function eD() {+function $E() {let e = HTMLElement.prototype.focus;return Reflect.defineProperty(HTMLElement.prototype, "focus", {configurable: !0,@@ -26674,9 +26674,9 @@ function eD() {preventScroll: !0}), !t || !t.preventScroll) {let e = () => {- qy() === this && tD(this);+ Ky() === this && eD(this);};- GE((t) => t ? e() : KE(() => e()));+ WE((t) => t ? e() : GE(() => e()));}}}), () => {@@ -26687,15 +26687,15 @@ function eD() {});};}-function tD(e) {+function eD(e) {let t = document.scrollingElement || document.documentElement, n = e;for (; n && n !== t && n.isConnected;) {- let e = iC(n);+ let e = rC(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;- qE && (n = Math.min(n, qE.offsetTop + qE.height));+ KE && (n = Math.min(n, KE.offsetTop + KE.height));let i = r.top - t.top - ((n - t.top) / 2 - r.height / 2);e.scrollTo({top: Math.max(0, Math.min(e.scrollHeight - e.clientHeight, e.scrollTop + i)),@@ -26708,19 +26708,19 @@ function tD(e) {}//#endregion//#region node_modules/react-aria/dist/private/overlays/useModalOverlay.mjs-function nD(e, t, n) {- let { overlayProps: r, underlayProps: i } = BE({+function tD(e, t, n) {+ let { overlayProps: r, underlayProps: i } = zE({...e,isOpen: t.isOpen,onClose: t.close}, n);- XE({+ YE({isDisabled: !t.isOpen,UNSTABLE_overrideFocus: e.UNSTABLE_overrideFocus- }), $w();+ }), Qw();let { isEntering: a } = e;return (0, D.useEffect)(() => {- if (t.isOpen && n.current) return a ? UC(n.current) : HC([n.current], { shouldUseInert: !0 });+ if (t.isOpen && n.current) return a ? HC(n.current) : VC([n.current], { shouldUseInert: !0 });}, [t.isOpen,a,@@ -26732,33 +26732,33 @@ function nD(e, t, n) {}//#endregion//#region node_modules/react-aria/dist/private/overlays/calculatePosition.mjs-var rD = {+var nD = {top: "top",bottom: "top",left: "left",right: "left"-}, iD = {+}, rD = {top: "bottom",bottom: "top",left: "right",right: "left"-}, aD = {+}, iD = {top: "left",left: "top"-}, oD = {+}, aD = {top: "height",left: "width"-}, sD = {+}, oD = {width: "totalWidth",height: "totalHeight"-}, cD = {}, lD = () => typeof document < "u" ? window.visualViewport : null;-function uD(e, t) {+}, sD = {}, cD = () => typeof document < "u" ? window.visualViewport : null;+function lD(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} = xD(e, !1)), c.top = e.scrollTop, c.left = e.scrollLeft, i = n, a = r;- return fb() && (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} = bD(e, !1)), c.top = e.scrollTop, c.left = e.scrollLeft, i = n, a = r;+ return db() && (e.tagName === "BODY" || e.tagName === "HTML") && l && (c.top = 0, c.left = 0, o = t?.pageTop ?? 0, s = t?.pageLeft ?? 0), {width: n,height: r,totalWidth: i,@@ -26768,7 +26768,7 @@ function uD(e, t) {left: s};}-function dD(e) {+function uD(e) {return {top: e.scrollTop,left: e.scrollLeft,@@ -26776,11 +26776,11 @@ function dD(e) {height: e.scrollHeight};}-function fD(e, t, n, r, i, a, o) {- let s = i.scroll[e] ?? 0, c = r[oD[e]], l = o[e] + r.scroll[rD[e]] + a, u = o[e] + r.scroll[rD[e]] + c - a, d = t - s + r.scroll[rD[e]] + o[e] - r[rD[e]], f = t - s + n + r.scroll[rD[e]] + o[e] - r[rD[e]];+function dD(e, t, n, r, i, a, o) {+ let s = i.scroll[e] ?? 0, c = r[aD[e]], l = o[e] + r.scroll[nD[e]] + a, u = o[e] + r.scroll[nD[e]] + c - a, d = t - s + r.scroll[nD[e]] + o[e] - r[nD[e]], f = t - s + n + r.scroll[nD[e]] + o[e] - r[nD[e]];return d < l ? l - d : f > u ? Math.max(u - f, l - d) : 0;}-function pD(e) {+function fD(e) {let t = window.getComputedStyle(e);return {top: parseInt(t.marginTop, 10) || 0,@@ -26789,55 +26789,55 @@ function pD(e) {right: parseInt(t.marginRight, 10) || 0};}-function mD(e) {- if (cD[e]) return cD[e];- let [t, n] = e.split(" "), r = rD[t] || "right", i = aD[r];- rD[n] || (n = "center");- let a = oD[r], o = oD[i];- return cD[e] = {+function pD(e) {+ if (sD[e]) return sD[e];+ let [t, n] = e.split(" "), r = nD[t] || "right", i = iD[r];+ nD[n] || (n = "center");+ let a = aD[r], o = aD[i];+ return sD[e] = {placement: t,crossPlacement: n,axis: r,crossAxis: i,size: a,crossSize: o- }, cD[e];+ }, sD[e];}-function hD(e, t, n, r, i, a, o, s, c, l, u) {+function mD(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] = OC(_[m], v, y), d === p) {- let t = s ? u[h] : u[sD[h]];- _[iD[p]] = Math.floor(t - e[p] + i);+ if (_[m] = DC(_[m], v, y), d === p) {+ let t = s ? u[h] : u[oD[h]];+ _[rD[p]] = Math.floor(t - e[p] + i);} else _[p] = Math.floor(e[p] + e[h] + i);return _;}-function gD(e, t, n, r, i, a, o, s, c, l, u) {- let d = (e.top == null ? c[sD.height] - (e.bottom ?? 0) - o : e.top) - (c.scroll.top ?? 0), f = l ? n.top : 0, p = {+function hD(e, t, n, r, i, a, o, s, c, l, u) {+ let d = (e.top == null ? c[oD.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 _D(e, t, n, r, i, a, o, s) {+function gD(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[iD[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[iD[l]] - i);+ return c === l ? Math.max(0, n[l] - (o.scroll[l] ?? 0) - (e[l] + (s ? t[l] : 0)) - (r[l] ?? 0) - r[rD[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[rD[l]] - i);}-function vD(e, t, n, r, i, a, o, s, c, l, u, d, f, p, m, h, g, _) {- let v = mD(e), { size: y, crossAxis: b, crossSize: x, placement: S, crossPlacement: C } = v, w = hD(t, s, n, v, u, d, l, f, m, h, c), T = u, E = _D(s, l, t, i, a + u, v, c, g);+function _D(e, t, n, r, i, a, o, s, c, l, u, d, f, p, m, h, g, _) {+ let v = pD(e), { size: y, crossAxis: b, crossSize: x, placement: S, crossPlacement: C } = v, w = mD(t, s, n, v, u, d, l, f, m, h, c), T = u, E = gD(s, l, t, i, a + u, v, c, g);if (o && n[y] > E) {- let e = mD(`${iD[S]} ${C}`), r = hD(t, s, n, e, u, d, l, f, m, h, c);- _D(s, l, t, i, a + u, e, c, g) > E && (v = e, w = r, T = u);+ let e = pD(`${rD[S]} ${C}`), r = mD(t, s, n, e, u, d, l, f, m, h, c);+ gD(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 = fD(b, w[b], n[x], s, c, a, l);+ let O = dD(b, w[b], n[x], s, c, a, l);w[b] += O;- let k = gD(w, s, l, f, i, a, n.height, D, c, g, _);- p && p < k && (k = p), n.height = Math.min(n.height, k), w = hD(t, s, n, v, T, d, l, f, m, h, c), O = fD(b, w[b], n[x], s, c, a, l), w[b] += O;- let A = {}, j = t[b] - w[b] - i[rD[b]], M = j + .5 * t[x], N = m / 2 + h, ee = rD[b] === "left" ? (i.left ?? 0) + (i.right ?? 0) : (i.top ?? 0) + (i.bottom ?? 0), te = n[x] - ee - m / 2 - h;- A[b] = OC(OC(M, t[b] + m / 2 - (w[b] + i[rD[b]]), t[b] + t[x] - m / 2 - (w[b] + i[rD[b]])), N, te), {placement: S, crossPlacement: C} = v, m ? j = A[b] : C === "right" ? j += t[x] : C === "center" && (j += t[x] / 2);+ let k = hD(w, s, l, f, i, a, n.height, D, c, g, _);+ p && p < k && (k = p), n.height = Math.min(n.height, k), w = mD(t, s, n, v, T, d, l, f, m, h, c), O = dD(b, w[b], n[x], s, c, a, l), w[b] += O;+ let A = {}, j = t[b] - w[b] - i[nD[b]], M = j + .5 * t[x], N = m / 2 + h, ee = nD[b] === "left" ? (i.left ?? 0) + (i.right ?? 0) : (i.top ?? 0) + (i.bottom ?? 0), te = n[x] - ee - m / 2 - h;+ A[b] = DC(DC(M, t[b] + m / 2 - (w[b] + i[nD[b]]), t[b] + t[x] - m / 2 - (w[b] + i[nD[b]])), N, 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@@ -26851,17 +26851,17 @@ function vD(e, t, n, r, i, a, o, s, c, l, u, d, f, p, m, h, g, _) {triggerAnchorPoint: ne};}-function yD(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 = lD(), h = r instanceof HTMLElement ? CD(r) : document.documentElement, g = h === document.documentElement, _ = window.getComputedStyle(h).position, v = !!_ && _ !== "static", y = g ? xD(n, !1, p) : SD(n, h, !1, p);+function vD(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 = cD(), h = r instanceof HTMLElement ? SD(r) : document.documentElement, g = h === document.documentElement, _ = window.getComputedStyle(h).position, v = !!_ && _ !== "static", y = g ? bD(n, !1, p) : xD(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 = xD(r, !0), x = pD(r);+ let b = bD(r, !0), x = fD(r);b.width += (x.left ?? 0) + (x.right ?? 0), b.height += (x.top ?? 0) + (x.bottom ?? 0);- let S = dD(i), C = uD(s, m), w = uD(h, m), T;+ let S = uD(i), C = lD(s, m), w = lD(h, m), T;if ((s.tagName === "BODY" || s.tagName === "HTML") && !g) {- let e = bD(h, !1);+ let e = yD(h, !1);T = {top: -(e.top - C.top),left: -(e.left - C.left),@@ -26873,11 +26873,11 @@ function yD(e) {left: 0,width: 0,height: 0- } : SD(s, h, !1);- let E = Ky(s, h);- return vD(t, y, b, S, x, a, o, C, w, T, c, l, v, u, d, f, E, m);+ } : xD(s, h, !1);+ let E = Gy(s, h);+ return _D(t, y, b, S, x, a, o, C, w, T, c, l, v, u, d, f, E, m);}-function bD(e, t) {+function yD(e, t) {let { top: n, left: r, width: i, height: a } = e.getBoundingClientRect();return t && e instanceof e.ownerDocument.defaultView.HTMLElement && (i = e.offsetWidth, a = e.offsetHeight), {top: n,@@ -26886,8 +26886,8 @@ function bD(e, t) {height: a};}-function xD(e, t, n) {- let { top: r, left: i, width: a, height: o } = n || bD(e, t), { scrollTop: s, scrollLeft: c, clientTop: l, clientLeft: u } = document.documentElement;+function bD(e, t, n) {+ let { top: r, left: i, width: a, height: o } = n || yD(e, t), { scrollTop: s, scrollLeft: c, clientTop: l, clientLeft: u } = document.documentElement;return {top: r + s - l,left: i + c - u,@@ -26895,30 +26895,30 @@ function xD(e, t, n) {height: o};}-function SD(e, t, n, r) {+function xD(e, t, n, r) {let i = window.getComputedStyle(e), a;- if (i.position === "fixed") a = r || bD(e, n);+ if (i.position === "fixed") a = r || yD(e, n);else {- a = xD(e, n, r);- let i = xD(t, n), o = window.getComputedStyle(t);+ a = bD(e, n, r);+ let i = bD(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 CD(e) {+function SD(e) {let t = e.offsetParent;- if (t && t === document.body && window.getComputedStyle(t).position === "static" && !wD(t) && (t = document.documentElement), t == null) for (t = e.parentElement; t && !wD(t);) t = t.parentElement;+ if (t && t === document.body && window.getComputedStyle(t).position === "static" && !CD(t) && (t = document.documentElement), t == null) for (t = e.parentElement; t && !CD(t);) t = t.parentElement;return t || document.documentElement;}-function wD(e) {+function CD(e) {let t = window.getComputedStyle(e);return t.transform !== "none" || /transform|perspective/.test(t.willChange) || t.filter !== "none" || t.contain === "paint" || "backdropFilter" in t && t.backdropFilter !== "none" || "WebkitBackdropFilter" in t && t.WebkitBackdropFilter !== "none";}//#endregion//#region node_modules/react-aria/dist/private/overlays/useOverlayPosition.mjs-var TD = typeof document < "u" ? window.visualViewport : null;-function ED(e) {- let { direction: t } = Zx(), { arrowSize: n, targetRef: r, overlayRef: i, arrowRef: a, scrollRef: o = i, placement: s = "bottom", containerPadding: c = 12, shouldFlip: l = !0, boundaryElement: u = typeof document < "u" ? document.body : null, offset: d = 0, crossOffset: f = 0, shouldUpdatePosition: p = !0, isOpen: m = !0, onClose: h, maxHeight: g, arrowBoundaryOffset: _ = 0, getTargetRect: v } = e, [y, b] = (0, D.useState)(null), x = [+var wD = typeof document < "u" ? window.visualViewport : null;+function TD(e) {+ let { direction: t } = Xx(), { arrowSize: n, targetRef: r, overlayRef: i, arrowRef: a, scrollRef: o = i, placement: s = "bottom", containerPadding: c = 12, shouldFlip: l = !0, boundaryElement: u = typeof document < "u" ? document.body : null, offset: d = 0, crossOffset: f = 0, shouldUpdatePosition: p = !0, isOpen: m = !0, onClose: h, maxHeight: g, arrowBoundaryOffset: _ = 0, getTargetRect: v } = e, [y, b] = (0, D.useState)(null), x = [p,s,i.current,@@ -26935,15 +26935,15 @@ function ED(e) {g,_,n- ], S = (0, D.useRef)(TD?.scale);+ ], S = (0, D.useRef)(wD?.scale);(0, D.useEffect)(() => {- m && (S.current = TD?.scale);+ m && (S.current = wD?.scale);}, [m]);let C = (0, D.useCallback)(() => {- if (p === !1 || !m || !i.current || !r.current || !u || TD?.scale !== S.current) return;+ if (p === !1 || !m || !i.current || !r.current || !u || wD?.scale !== S.current) return;let e = null;- if (o.current && Yy(o.current)) {- let t = qy()?.getBoundingClientRect(), n = o.current.getBoundingClientRect();+ if (o.current && Jy(o.current)) {+ let t = Ky()?.getBoundingClientRect(), n = o.current.getBoundingClientRect();e = {type: "top",offset: (t?.top ?? 0) - n.top@@ -26951,8 +26951,8 @@ function ED(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 = yD({- placement: OD(s, t),+ let y = vD({+ placement: DD(s, t),overlayNode: i.current,targetNode: r.current,scrollNode: o.current || i.current,@@ -26962,28 +26962,28 @@ function ED(e) {offset: d,crossOffset: f,maxHeight: g,- arrowSize: n ?? (a?.current ? bD(a.current, !0).width : 0),+ arrowSize: n ?? (a?.current ? yD(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 = qy();+ let x = Ky();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);- tb(C, x), DD(C), nE({+ eb(C, x), ED(C), tE({ref: i,onResize: C- }), nE({+ }), tE({ref: r,onResize: C});let w = (0, D.useRef)(!1);- tb(() => {+ eb(() => {let e, t = () => {w.current = !0, clearTimeout(e), e = setTimeout(() => {w.current = !1;@@ -26991,16 +26991,16 @@ function ED(e) {}, n = () => {w.current && t();};- TD?.addEventListener("resize", t), TD?.addEventListener("scroll", n);- let r = Uy(Jy(window), "scroll", n);+ wD?.addEventListener("resize", t), wD?.addEventListener("scroll", n);+ let r = Hy(qy(window), "scroll", n);return () => {- TD?.removeEventListener("resize", t), TD?.removeEventListener("scroll", n), r();+ wD?.removeEventListener("resize", t), wD?.removeEventListener("scroll", n), r();};}, [C]);let T = (0, D.useCallback)(() => {w.current || h?.();}, [h, w]);- return oae({+ return sae({triggerRef: r,isOpen: m,onClose: h && T@@ -27026,25 +27026,25 @@ function ED(e) {updatePosition: C};}-function DD(e) {- tb(() => (window.addEventListener("resize", e, !1), () => {+function ED(e) {+ eb(() => (window.addEventListener("resize", e, !1), () => {window.removeEventListener("resize", e, !1);}), [e]);}-function OD(e, t) {+function DD(e, t) {return t === "rtl" ? e.replace("start", "right").replace("end", "left") : e.replace("start", "left").replace("end", "right");}//#endregion//#region node_modules/react-aria/dist/private/overlays/usePopover.mjs-function kD(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 } = BE({+function OD(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 } = zE({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 } = ED({+ }, i ?? r), { overlayProps: f, arrowProps: p, placement: m, triggerAnchorPoint: h } = TD({...c,targetRef: n,overlayRef: r,@@ -27052,15 +27052,15 @@ function kD(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)});- XE({ isDisabled: a || !t.isOpen }), (0, D.useEffect)(() => {- if (t.isOpen && r.current) return a ? UC(i?.current ?? r.current) : HC([i?.current ?? r.current], { shouldUseInert: !0 });+ YE({ isDisabled: a || !t.isOpen }), (0, D.useEffect)(() => {+ if (t.isOpen && r.current) return a ? HC(i?.current ?? r.current) : VC([i?.current ?? r.current], { shouldUseInert: !0 });}, [a,t.isOpen,r,i]);- let { focusWithinProps: g } = TC(e);+ let { focusWithinProps: g } = wC(e);return {popoverProps: K(u, f, g),arrowProps: p,@@ -27071,13 +27071,13 @@ function kD(e, t) {}//#endregion//#region node_modules/react-aria/dist/private/radio/utils.mjs-var AD = /* @__PURE__ */ new WeakMap();+var kD = /* @__PURE__ */ new WeakMap();//#endregion//#region node_modules/react-aria/dist/private/radio/useRadio.mjs-function jD(e, t, n) {+function AD(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: _ } = OS({+ }, { pressProps: g, isPressed: _ } = DS({onPressStart: s,onPressEnd: c,onPressChange: l,@@ -27085,7 +27085,7 @@ function jD(e, t, n) {onPressUp: d,onClick: f,isDisabled: p- }), { pressProps: v, isPressed: y } = OS({+ }), { pressProps: v, isPressed: y } = DS({onPressStart: s,onPressEnd: c,onPressChange: l,@@ -27095,11 +27095,11 @@ function jD(e, t, n) {onPress(e) {u?.(e), t.setSelectedValue(r), n.current?.focus();}- }), { focusableProps: b } = hx(K(e, { onFocus: () => t.setLastFocusedValue(r) }), n), x = K(g, b), S = pS(e, { labelable: !0 }), C = -1;+ }), { focusableProps: b } = mx(K(e, { onFocus: () => t.setLastFocusedValue(r) }), n), x = K(g, b), S = fS(e, { labelable: !0 }), C = -1;t.selectedValue == null ? (t.lastFocusedValue === r || t.lastFocusedValue == null) && (C = 0) : t.selectedValue === r && (C = 0), p && (C = void 0);- let { name: w, form: T, descriptionId: E, errorMessageId: O, validationBehavior: k } = AD.get(t);- uC(n, t.defaultSelectedValue, t.setSelectedValue), dC({ validationBehavior: k }, t, n);- let A = fC();+ let { name: w, form: T, descriptionId: E, errorMessageId: O, validationBehavior: k } = kD.get(t);+ lC(n, t.defaultSelectedValue, t.setSelectedValue), uC({ validationBehavior: k }, t, n);+ let A = dC();return {labelProps: K(v, (0, D.useMemo)(() => ({onClick: (e) => e.preventDefault(),@@ -27131,13 +27131,13 @@ function jD(e, t, n) {}//#endregion//#region node_modules/react-aria/dist/private/radio/useRadioGroup.mjs-function MD(e, t) {- let { name: n, form: r, isReadOnly: i, isRequired: a, isDisabled: o, orientation: s = "vertical", validationBehavior: c = "aria" } = e, { direction: l } = Zx(), { isInvalid: u, validationErrors: d, validationDetails: f } = t.displayValidation, { labelProps: p, fieldProps: m, descriptionProps: h, errorMessageProps: g } = wC({+function jD(e, t) {+ let { name: n, form: r, isReadOnly: i, isRequired: a, isDisabled: o, orientation: s = "vertical", validationBehavior: c = "aria" } = e, { direction: l } = Xx(), { isInvalid: u, validationErrors: d, validationDetails: f } = t.displayValidation, { labelProps: p, fieldProps: m, descriptionProps: h, errorMessageProps: g } = CC({...e,labelElementType: "span",isInvalid: t.isInvalid,errorMessage: e.errorMessage || d- }), _ = pS(e, { labelable: !0 }), { focusWithinProps: v } = TC({+ }), _ = fS(e, { labelable: !0 }), { focusWithinProps: v } = wC({onBlurWithin(n) {e.onBlur?.(n), t.selectedValue || t.setLastFocusedValue(null);},@@ -27145,13 +27145,13 @@ function MD(e, t) {onFocusWithinChange: e.onFocusChange});function y(e, n) {- let r = XS(n.currentTarget, {+ let r = YS(n.currentTarget, {from: G(n),- accept: (e) => e instanceof By(e).HTMLInputElement && e.type === "radio"+ accept: (e) => e instanceof zy(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 } = dx({+ let { keyboardProps: b } = ux({shortcuts: {ArrowRight: (e) => y(l === "rtl" && s !== "vertical" ? "prev" : "next", e),ArrowLeft: (e) => y(l === "rtl" && s !== "vertical" ? "next" : "prev", e),@@ -27159,8 +27159,8 @@ function MD(e, t) {ArrowUp: (e) => y("prev", e)},allowRepeats: !0- }), x = tx(n);- return AD.set(t, {+ }), x = ex(n);+ return kD.set(t, {name: x,form: r,descriptionId: h.id,@@ -27189,21 +27189,21 @@ function MD(e, t) {}//#endregion//#region node_modules/react-aria/dist/private/select/useSelect.mjs-var ND = /* @__PURE__ */ new WeakMap();-function PD(e, t, n) {- let { keyboardDelegate: r, isDisabled: i, isRequired: a, name: o, form: s, validationBehavior: c = "aria" } = e, l = qw({+var MD = /* @__PURE__ */ new WeakMap();+function ND(e, t, n) {+ let { keyboardDelegate: r, isDisabled: i, isRequired: a, name: o, form: s, validationBehavior: c = "aria" } = e, l = Kw({usage: "search",sensitivity: "base"- }), u = (0, D.useMemo)(() => r || new YC(t.collection, t.disabledKeys, n, l), [+ }), u = (0, D.useMemo)(() => r || new JC(t.collection, t.disabledKeys, n, l), [r,t.collection,t.disabledKeys,l,n- ]), { menuTriggerProps: d, menuProps: f } = Nw({+ ]), { menuTriggerProps: d, menuProps: f } = Mw({isDisabled: i,type: "listbox"- }, t, n), { keyboardProps: p } = dx({+ }, t, n), { keyboardProps: p } = ux({shortcuts: {ArrowLeft: () => {if (t.selectionManager.selectionMode === "multiple") return !1;@@ -27219,21 +27219,21 @@ function PD(e, t, n) {allowRepeats: !0,onKeyDown: e.onKeyDown,onKeyUp: e.onKeyUp- }), { typeSelectProps: m } = Fw({+ }), { typeSelectProps: m } = Pw({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 } = wC({+ }), { isInvalid: h, validationErrors: g, validationDetails: _ } = t.displayValidation, { labelProps: v, fieldProps: y, descriptionProps: b, errorMessageProps: x } = CC({...e,labelElementType: "span",isInvalid: h,errorMessage: e.errorMessage || g});t.selectionManager.selectionMode === "multiple" && (m = {});- let S = pS(e, { labelable: !0 }), C = K(m, d, y), w = tx();- return ND.set(t, {+ let S = fS(e, { labelable: !0 }), C = K(m, d, y), w = ex();+ return MD.set(t, {isDisabled: i,isRequired: a,name: o,@@ -27243,13 +27243,13 @@ function PD(e, t, n) {labelProps: {...v,onClick: () => {- e.isDisabled || (n.current?.focus(), Bb("keyboard"));+ e.isDisabled || (n.current?.focus(), zb("keyboard"));}},triggerProps: K(S, {...C,isDisabled: i,- onKeyDown: Zb(C.onKeyDown, p.onKeyDown),+ onKeyDown: Xb(C.onKeyDown, p.onKeyDown),onKeyUp: p.onKeyUp,"aria-labelledby": [w,@@ -27273,7 +27273,7 @@ function PD(e, t, n) {disallowEmptySelection: !0,linkBehavior: "selection",onBlur: (n) => {- Ky(n.currentTarget, n.relatedTarget) || (e.onBlur && e.onBlur(n), e.onFocusChange && e.onFocusChange(!1), t.setFocused(!1));+ Gy(n.currentTarget, n.relatedTarget) || (e.onBlur && e.onBlur(n), e.onFocusChange && e.onFocusChange(!1), t.setFocused(!1));},"aria-labelledby": [y["aria-labelledby"], C["aria-label"] && !y["aria-labelledby"] ? C.id : null].filter(Boolean).join(" ")},@@ -27294,13 +27294,13 @@ function PD(e, t, n) {}//#endregion//#region node_modules/react-aria/dist/private/select/HiddenSelect.mjs-function FD(e, t, n) {- let r = ND.get(t) || {}, { autoComplete: i, name: a = r.name, form: o = r.form, isDisabled: s = r.isDisabled } = e, { validationBehavior: c, isRequired: l } = r, { visuallyHiddenProps: u } = FC({ style: {+function PD(e, t, n) {+ let r = MD.get(t) || {}, { autoComplete: i, name: a = r.name, form: o = r.form, isDisabled: s = r.isDisabled } = e, { validationBehavior: c, isRequired: l } = r, { visuallyHiddenProps: u } = PC({ style: {position: "fixed",top: 0,left: 0} });- uC(e.selectRef, t.defaultValue, t.setValue), dC({+ lC(e.selectRef, t.defaultValue, t.setValue), uC({validationBehavior: c,focus: () => n.current?.focus()}, t, e.selectRef);@@ -27330,8 +27330,8 @@ function FD(e, t, n) {}};}-function Lae(e) {- let { state: t, triggerRef: n, label: r, name: i, form: a, isDisabled: o } = e, s = (0, D.useRef)(null), c = (0, D.useRef)(null), { containerProps: l, selectProps: u } = FD({+function Rae(e) {+ let { state: t, triggerRef: n, label: r, name: i, form: a, isDisabled: o } = e, s = (0, D.useRef)(null), c = (0, D.useRef)(null), { containerProps: l, selectProps: u } = PD({...e,selectRef: t.collection.size <= 300 ? s : c}, t, n), d = Array.isArray(t.value) ? t.value : [t.value];@@ -27355,7 +27355,7 @@ function Lae(e) {value: e ?? ""})))));if (i) {- let { validationBehavior: e } = ND.get(t) || {};+ let { validationBehavior: e } = MD.get(t) || {};d.length === 0 && (d = [null]);let n = d.map((t, n) => {let r = {@@ -27386,8 +27386,8 @@ function Lae(e) {}//#endregion//#region node_modules/react-aria/dist/private/separator/useSeparator.mjs-function Rae(e) {- let t = pS(e, { labelable: !0 }), n;+function zae(e) {+ let t = fS(e, { labelable: !0 }), n;return e.orientation === "vertical" && (n = "vertical"), e.elementType === "hr" ? { separatorProps: t } : { separatorProps: {...t,role: "separator",@@ -27396,8 +27396,8 @@ function Rae(e) {}//#endregion//#region node_modules/react-aria/dist/private/switch/useSwitch.mjs-function zae(e, t, n) {- let { labelProps: r, inputProps: i, isSelected: a, ...o } = xC(e, t, n);+function Bae(e, t, n) {+ let { labelProps: r, inputProps: i, isSelected: a, ...o } = bC(e, t, n);return {labelProps: r,inputProps: {@@ -27411,10 +27411,10 @@ function zae(e, t, n) {}//#endregion//#region node_modules/react-aria/dist/private/grid/GridKeyboardDelegate.mjs-var ID = class {+var FD = 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 Bae(e.layout) : new JC(e.ref)), this.focusMode = e.focusMode ?? "row";+ this.layoutDelegate = e.layoutDelegate || (e.layout ? new Vae(e.layout) : new qC(e.ref)), this.focusMode = e.focusMode ?? "row";}isCell(e) {return e.type === "cell";@@ -27450,7 +27450,7 @@ var ID = class {let n = this.collection.getItem(e);if (!n) return null;let r = 0;- for (let e of Rw(n, this.collection)) {+ for (let e of Lw(n, this.collection)) {if (e.colSpan && e.colSpan + r > t || (e.colSpan && (r = r + e.colSpan - 1), r === t)) return e.key ?? null;r++;}@@ -27484,13 +27484,13 @@ var ID = class {let t = this.collection.getItem(e);if (!t) return null;if (this.isRow(t)) {- let e = Rw(t, this.collection);- return (this.direction === "rtl" ? Vw(e)?.key : zw(e)?.key) ?? null;+ let e = Lw(t, this.collection);+ return (this.direction === "rtl" ? Bw(e)?.key : Rw(e)?.key) ?? null;}if (this.isCell(t) && t.parentKey != null) {let n = this.collection.getItem(t.parentKey);if (!n) return null;- let r = Rw(n, this.collection), i = (this.direction === "rtl" ? Bw(r, t.index - 1) : Bw(r, t.index + 1)) ?? null;+ let r = Lw(n, this.collection), i = (this.direction === "rtl" ? zw(r, t.index - 1) : zw(r, t.index + 1)) ?? null;return i ? i.key ?? null : this.focusMode === "row" ? t.parentKey ?? null : (this.direction === "rtl" ? this.getFirstKey(e) : this.getLastKey(e)) ?? null;}return null;@@ -27499,13 +27499,13 @@ var ID = class {let t = this.collection.getItem(e);if (!t) return null;if (this.isRow(t)) {- let e = Rw(t, this.collection);- return (this.direction === "rtl" ? zw(e)?.key : Vw(e)?.key) ?? null;+ let e = Lw(t, this.collection);+ return (this.direction === "rtl" ? Rw(e)?.key : Bw(e)?.key) ?? null;}if (this.isCell(t) && t.parentKey != null) {let n = this.collection.getItem(t.parentKey);if (!n) return null;- let r = Rw(n, this.collection), i = (this.direction === "rtl" ? Bw(r, t.index + 1) : Bw(r, t.index - 1)) ?? null;+ let r = Lw(n, this.collection), i = (this.direction === "rtl" ? zw(r, t.index + 1) : zw(r, t.index - 1)) ?? null;return i ? i.key ?? null : this.focusMode === "row" ? t.parentKey ?? null : (this.direction === "rtl" ? this.getLastKey(e) : this.getFirstKey(e)) ?? null;}return null;@@ -27516,13 +27516,13 @@ var ID = 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 ? zw(Rw(e, this.collection))?.key ?? null : null;+ return e ? Rw(Lw(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 = zw(Rw(e, this.collection))?.key ?? null;+ n = Rw(Lw(e, this.collection))?.key ?? null;}return n;}@@ -27532,13 +27532,13 @@ var ID = 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 ? Vw(Rw(e, this.collection))?.key ?? null : null;+ return e ? Bw(Lw(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 = Vw(Rw(e, this.collection))?.key ?? null;+ n = Bw(Lw(e, this.collection))?.key ?? null;}return n;}@@ -27574,13 +27574,13 @@ var ID = 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" ? zw(Rw(t, this.collection))?.key ?? null : t.key;+ if (this.collator.compare(n, e) === 0) return this.isRow(t) && this.focusMode === "cell" ? Rw(Lw(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;}-}, Bae = class {+}, Vae = class {constructor(e) {this.layout = e;}@@ -27593,16 +27593,16 @@ var ID = class {getVisibleRect() {return this.layout.virtualizer.visibleRect;}-}, LD = /* @__PURE__ */ new WeakMap();+}, ID = /* @__PURE__ */ new WeakMap();//#endregion//#region node_modules/react-aria/dist/private/grid/useGrid.mjs-function Vae(e, t, n) {+function Hae(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 = qw({+ let h = Kw({usage: "search",sensitivity: "base"- }), { direction: g } = Zx(), _ = t.selectionManager.disabledBehavior, v = (0, D.useMemo)(() => a || new ID({+ }), { direction: g } = Xx(), _ = t.selectionManager.disabledBehavior, v = (0, D.useMemo)(() => a || new FD({collection: t.collection,disabledKeys: t.disabledKeys,disabledBehavior: _,@@ -27619,7 +27619,7 @@ function Vae(e, t, n) {g,h,o- ]), { collectionProps: y } = Lw({+ ]), { collectionProps: y } = Iw({ref: n,selectionManager: m,keyboardDelegate: v,@@ -27627,8 +27627,8 @@ function Vae(e, t, n) {scrollRef: s,disallowTypeAhead: i,escapeKeyBehavior: d- }), b = tx(e.id);- LD.set(t, {+ }), b = ex(e.id);+ ID.set(t, {keyboardDelegate: v,actions: {onRowAction: l,@@ -27637,44 +27637,44 @@ function Vae(e, t, n) {shouldSelectOnPressUp: f,keyboardNavigationBehavior: p});- let x = KT({+ let x = GT({selectionManager: m,hasItemActions: !!(l || u)- }), S = pS(e, { labelable: !0 }), C = (0, D.useCallback)((e) => {- m.isFocused ? Ky(e.currentTarget, G(e)) || m.setFocused(!1) : Ky(e.currentTarget, G(e)) && m.setFocused(!0);+ }), S = fS(e, { labelable: !0 }), C = (0, D.useCallback)((e) => {+ m.isFocused ? Gy(e.currentTarget, G(e)) || m.setFocused(!1) : Gy(e.currentTarget, G(e)) && m.setFocused(!0);}, [m]), w = (0, D.useMemo)(() => ({onBlur: y.onBlur,onFocus: C- }), [C, y.onBlur]), T = GT(n, { isDisabled: t.collection.size !== 0 }), E = K(S, {+ }), [C, y.onBlur]), T = WT(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), UT({ getRowText: c }, t), { gridProps: E };+ return r && (E["aria-rowcount"] = t.collection.size, E["aria-colcount"] = t.collection.columnCount), HT({ getRowText: c }, t), { gridProps: E };}//#endregion//#region node_modules/react-aria/dist/private/table/utils.mjs-var RD = /* @__PURE__ */ new WeakMap();-function zD(e) {+var LD = /* @__PURE__ */ new WeakMap();+function RD(e) {return typeof e == "string" ? e.replace(/\s*/g, "") : "" + e;}-function BD(e, t) {- let n = RD.get(e);+function zD(e, t) {+ let n = LD.get(e);if (!n) throw Error("Unknown grid");- return `${n}-${zD(t)}`;+ return `${n}-${RD(t)}`;}-function VD(e, t, n) {- let r = RD.get(e);+function BD(e, t, n) {+ let r = LD.get(e);if (!r) throw Error("Unknown grid");- return `${r}-${zD(t)}-${zD(n)}`;+ return `${r}-${RD(t)}-${RD(n)}`;}-function HD(e, t) {- return [...e.collection.rowHeaderColumnKeys].map((n) => VD(e, t, n)).join(" ");+function VD(e, t) {+ return [...e.collection.rowHeaderColumnKeys].map((n) => BD(e, t, n)).join(" ");}//#endregion//#region node_modules/react-aria/dist/private/intl/table/ar-AE.mjs-var UD = {};-UD = {+var HD = {};+HD = {ascending: "تصاعدي",ascendingSort: (e) => `\u{62A}\u{631}\u{62A}\u{64A}\u{628} \u{62D}\u{633}\u{628} \u{627}\u{644}\u{639}\u{645}\u{648}\u{62F} ${e.columnName} \u{628}\u{62A}\u{631}\u{62A}\u{64A}\u{628} \u{62A}\u{635}\u{627}\u{639}\u{62F}\u{64A}`,collapse: "طي",@@ -27689,8 +27689,8 @@ UD = {};//#endregion//#region node_modules/react-aria/dist/private/intl/table/bg-BG.mjs-var WD = {};-WD = {+var UD = {};+UD = {ascending: "възходящ",ascendingSort: (e) => `\u{441}\u{43E}\u{440}\u{442}\u{438}\u{440}\u{430}\u{43D}\u{43E} \u{43F}\u{43E} \u{43A}\u{43E}\u{43B}\u{43E}\u{43D}\u{430} ${e.columnName} \u{432}\u{44A}\u{432} \u{432}\u{44A}\u{437}\u{445}\u{43E}\u{434}\u{44F}\u{449} \u{440}\u{435}\u{434}`,collapse: "Свиване",@@ -27705,8 +27705,8 @@ WD = {};//#endregion//#region node_modules/react-aria/dist/private/intl/table/cs-CZ.mjs-var GD = {};-GD = {+var WD = {};+WD = {ascending: "vzestupně",ascendingSort: (e) => `\u{159}azeno vzestupn\u{11B} podle sloupce ${e.columnName}`,collapse: "Sbalit",@@ -27721,8 +27721,8 @@ GD = {};//#endregion//#region node_modules/react-aria/dist/private/intl/table/da-DK.mjs-var KD = {};-KD = {+var GD = {};+GD = {ascending: "stigende",ascendingSort: (e) => `sorteret efter kolonne ${e.columnName} i stigende r\xe6kkef\xf8lge`,collapse: "Skjul",@@ -27737,8 +27737,8 @@ KD = {};//#endregion//#region node_modules/react-aria/dist/private/intl/table/de-DE.mjs-var qD = {};-qD = {+var KD = {};+KD = {ascending: "aufsteigend",ascendingSort: (e) => `sortiert nach Spalte ${e.columnName} in aufsteigender Reihenfolge`,collapse: "Reduzieren",@@ -27753,8 +27753,8 @@ qD = {};//#endregion//#region node_modules/react-aria/dist/private/intl/table/el-GR.mjs-var JD = {};-JD = {+var qD = {};+qD = {ascending: "αύξουσα",ascendingSort: (e) => `\u{3B4}\u{3B9}\u{3B1}\u{3BB}\u{3BF}\u{3B3}\u{3AE} \u{3B1}\u{3BD}\u{3AC} \u{3C3}\u{3C4}\u{3AE}\u{3BB}\u{3B7} ${e.columnName} \u{3C3}\u{3B5} \u{3B1}\u{3CD}\u{3BE}\u{3BF}\u{3C5}\u{3C3}\u{3B1} \u{3C3}\u{3B5}\u{3B9}\u{3C1}\u{3AC}`,collapse: "Σύμπτυξη",@@ -27769,8 +27769,8 @@ JD = {};//#endregion//#region node_modules/react-aria/dist/private/intl/table/en-US.mjs-var YD = {};-YD = {+var JD = {};+JD = {select: "Select",selectAll: "Select All",sortable: "sortable column",@@ -27785,8 +27785,8 @@ YD = {};//#endregion//#region node_modules/react-aria/dist/private/intl/table/es-ES.mjs-var XD = {};-XD = {+var YD = {};+YD = {ascending: "ascendente",ascendingSort: (e) => `ordenado por columna ${e.columnName} en sentido ascendente`,collapse: "Contraer",@@ -27801,8 +27801,8 @@ XD = {};//#endregion//#region node_modules/react-aria/dist/private/intl/table/et-EE.mjs-var ZD = {};-ZD = {+var XD = {};+XD = {ascending: "tõusev järjestus",ascendingSort: (e) => `sorditud veeru j\xe4rgi ${e.columnName} t\xf5usvas j\xe4rjestuses`,collapse: "Ahenda",@@ -27817,8 +27817,8 @@ ZD = {};//#endregion//#region node_modules/react-aria/dist/private/intl/table/fi-FI.mjs-var QD = {};-QD = {+var ZD = {};+ZD = {ascending: "nouseva",ascendingSort: (e) => `lajiteltu sarakkeen ${e.columnName} mukaan nousevassa j\xe4rjestyksess\xe4`,collapse: "Pienennä",@@ -27833,8 +27833,8 @@ QD = {};//#endregion//#region node_modules/react-aria/dist/private/intl/table/fr-FR.mjs-var $D = {};-$D = {+var QD = {};+QD = {ascending: "croissant",ascendingSort: (e) => `tri\xe9 en fonction de la colonne\xa0${e.columnName} par ordre croissant`,collapse: "Réduire",@@ -27849,8 +27849,8 @@ $D = {};//#endregion//#region node_modules/react-aria/dist/private/intl/table/he-IL.mjs-var eO = {};-eO = {+var $D = {};+$D = {ascending: "עולה",ascendingSort: (e) => `\u{5DE}\u{5D5}\u{5D9}\u{5DF} \u{5DC}\u{5E4}\u{5D9} \u{5E2}\u{5DE}\u{5D5}\u{5D3}\u{5D4} ${e.columnName} \u{5D1}\u{5E1}\u{5D3}\u{5E8} \u{5E2}\u{5D5}\u{5DC}\u{5D4}`,collapse: "כווץ",@@ -27865,8 +27865,8 @@ eO = {};//#endregion//#region node_modules/react-aria/dist/private/intl/table/hr-HR.mjs-var tO = {};-tO = {+var eO = {};+eO = {ascending: "rastući",ascendingSort: (e) => `razvrstano po stupcima ${e.columnName} rastu\u{107}em redoslijedom`,collapse: "Sažmi",@@ -27881,8 +27881,8 @@ tO = {};//#endregion//#region node_modules/react-aria/dist/private/intl/table/hu-HU.mjs-var nO = {};-nO = {+var tO = {};+tO = {ascending: "növekvő",ascendingSort: (e) => `rendezve a(z) ${e.columnName} oszlop szerint, n\xf6vekv\u{151} sorrendben`,collapse: "Összecsukás",@@ -27897,8 +27897,8 @@ nO = {};//#endregion//#region node_modules/react-aria/dist/private/intl/table/it-IT.mjs-var rO = {};-rO = {+var nO = {};+nO = {ascending: "crescente",ascendingSort: (e) => `in ordine crescente in base alla colonna ${e.columnName}`,collapse: "Comprimi",@@ -27913,8 +27913,8 @@ rO = {};//#endregion//#region node_modules/react-aria/dist/private/intl/table/ja-JP.mjs-var iO = {};-iO = {+var rO = {};+rO = {ascending: "昇順",ascendingSort: (e) => `\u{5217} ${e.columnName} \u{3092}\u{6607}\u{9806}\u{3067}\u{4E26}\u{3079}\u{66FF}\u{3048}`,collapse: "折りたたむ",@@ -27929,8 +27929,8 @@ iO = {};//#endregion//#region node_modules/react-aria/dist/private/intl/table/ko-KR.mjs-var aO = {};-aO = {+var iO = {};+iO = {ascending: "오름차순",ascendingSort: (e) => `${e.columnName} \u{C5F4}\u{C744} \u{AE30}\u{C900}\u{C73C}\u{B85C} \u{C624}\u{B984}\u{CC28}\u{C21C}\u{C73C}\u{B85C} \u{C815}\u{B82C}\u{B428}`,collapse: "접기",@@ -27945,8 +27945,8 @@ aO = {};//#endregion//#region node_modules/react-aria/dist/private/intl/table/lt-LT.mjs-var oO = {};-oO = {+var aO = {};+aO = {ascending: "didėjančia tvarka",ascendingSort: (e) => `surikiuota pagal stulpel\u{12F} ${e.columnName} did\u{117}jan\u{10D}ia tvarka`,collapse: "Sutraukti",@@ -27961,8 +27961,8 @@ oO = {};//#endregion//#region node_modules/react-aria/dist/private/intl/table/lv-LV.mjs-var sO = {};-sO = {+var oO = {};+oO = {ascending: "augošā secībā",ascendingSort: (e) => `k\u{101}rtots p\u{113}c kolonnas ${e.columnName} augo\u{161}\u{101} sec\u{12B}b\u{101}`,collapse: "Sakļaut",@@ -27977,8 +27977,8 @@ sO = {};//#endregion//#region node_modules/react-aria/dist/private/intl/table/nb-NO.mjs-var cO = {};-cO = {+var sO = {};+sO = {ascending: "stigende",ascendingSort: (e) => `sortert etter kolonne ${e.columnName} i stigende rekkef\xf8lge`,collapse: "Skjul",@@ -27993,8 +27993,8 @@ cO = {};//#endregion//#region node_modules/react-aria/dist/private/intl/table/nl-NL.mjs-var lO = {};-lO = {+var cO = {};+cO = {ascending: "oplopend",ascendingSort: (e) => `gesorteerd in oplopende volgorde in kolom ${e.columnName}`,collapse: "Samenvouwen",@@ -28009,8 +28009,8 @@ lO = {};//#endregion//#region node_modules/react-aria/dist/private/intl/table/pl-PL.mjs-var uO = {};-uO = {+var lO = {};+lO = {ascending: "rosnąco",ascendingSort: (e) => `posortowano wed\u{142}ug kolumny ${e.columnName} w porz\u{105}dku rosn\u{105}cym`,collapse: "Zwiń",@@ -28025,8 +28025,8 @@ uO = {};//#endregion//#region node_modules/react-aria/dist/private/intl/table/pt-BR.mjs-var dO = {};-dO = {+var uO = {};+uO = {ascending: "crescente",ascendingSort: (e) => `classificado pela coluna ${e.columnName} em ordem crescente`,collapse: "Recolher",@@ -28041,8 +28041,8 @@ dO = {};//#endregion//#region node_modules/react-aria/dist/private/intl/table/pt-PT.mjs-var fO = {};-fO = {+var dO = {};+dO = {ascending: "ascendente",ascendingSort: (e) => `Ordenar por coluna ${e.columnName} em ordem ascendente`,collapse: "Colapsar",@@ -28057,8 +28057,8 @@ fO = {};//#endregion//#region node_modules/react-aria/dist/private/intl/table/ro-RO.mjs-var pO = {};-pO = {+var fO = {};+fO = {ascending: "crescătoare",ascendingSort: (e) => `sortate dup\u{103} coloana ${e.columnName} \xeen ordine cresc\u{103}toare`,collapse: "Restrângeți",@@ -28073,8 +28073,8 @@ pO = {};//#endregion//#region node_modules/react-aria/dist/private/intl/table/ru-RU.mjs-var mO = {};-mO = {+var pO = {};+pO = {ascending: "возрастание",ascendingSort: (e) => `\u{441}\u{43E}\u{440}\u{442}\u{438}\u{440}\u{43E}\u{432}\u{430}\u{442}\u{44C} \u{441}\u{442}\u{43E}\u{43B}\u{431}\u{435}\u{446} ${e.columnName} \u{432} \u{43F}\u{43E}\u{440}\u{44F}\u{434}\u{43A}\u{435} \u{432}\u{43E}\u{437}\u{440}\u{430}\u{441}\u{442}\u{430}\u{43D}\u{438}\u{44F}`,collapse: "Свернуть",@@ -28089,8 +28089,8 @@ mO = {};//#endregion//#region node_modules/react-aria/dist/private/intl/table/sk-SK.mjs-var hO = {};-hO = {+var mO = {};+mO = {ascending: "vzostupne",ascendingSort: (e) => `zoraden\xe9 zostupne pod\u{13E}a st\u{13A}pca ${e.columnName}`,collapse: "Zbaliť",@@ -28105,8 +28105,8 @@ hO = {};//#endregion//#region node_modules/react-aria/dist/private/intl/table/sl-SI.mjs-var gO = {};-gO = {+var hO = {};+hO = {ascending: "naraščajoče",ascendingSort: (e) => `razvr\u{161}\u{10D}eno po stolpcu ${e.columnName} v nara\u{161}\u{10D}ajo\u{10D}em vrstnem redu`,collapse: "Strni",@@ -28121,8 +28121,8 @@ gO = {};//#endregion//#region node_modules/react-aria/dist/private/intl/table/sr-SP.mjs-var _O = {};-_O = {+var gO = {};+gO = {ascending: "rastući",ascendingSort: (e) => `sortirano po kolonama ${e.columnName} rastu\u{107}im redosledom`,collapse: "Skupi",@@ -28137,8 +28137,8 @@ _O = {};//#endregion//#region node_modules/react-aria/dist/private/intl/table/sv-SE.mjs-var vO = {};-vO = {+var _O = {};+_O = {ascending: "stigande",ascendingSort: (e) => `sorterat p\xe5 kolumn ${e.columnName} i stigande ordning`,collapse: "Dölj",@@ -28153,8 +28153,8 @@ vO = {};//#endregion//#region node_modules/react-aria/dist/private/intl/table/tr-TR.mjs-var yO = {};-yO = {+var vO = {};+vO = {ascending: "artan sırada",ascendingSort: (e) => `${e.columnName} s\xfctuna g\xf6re artan d\xfczende s\u{131}rala`,collapse: "Daralt",@@ -28169,8 +28169,8 @@ yO = {};//#endregion//#region node_modules/react-aria/dist/private/intl/table/uk-UA.mjs-var bO = {};-bO = {+var yO = {};+yO = {ascending: "висхідний",ascendingSort: (e) => `\u{432}\u{456}\u{434}\u{441}\u{43E}\u{440}\u{442}\u{43E}\u{432}\u{430}\u{43D}\u{43E} \u{437}\u{430} \u{441}\u{442}\u{43E}\u{432}\u{43F}\u{446}\u{435}\u{43C} ${e.columnName} \u{443} \u{432}\u{438}\u{441}\u{445}\u{456}\u{434}\u{43D}\u{43E}\u{43C}\u{443} \u{43F}\u{43E}\u{440}\u{44F}\u{434}\u{43A}\u{443}`,collapse: "Згорнути",@@ -28185,8 +28185,8 @@ bO = {};//#endregion//#region node_modules/react-aria/dist/private/intl/table/zh-CN.mjs-var xO = {};-xO = {+var bO = {};+bO = {ascending: "升序",ascendingSort: (e) => `\u{6309}\u{5217} ${e.columnName} \u{5347}\u{5E8F}\u{6392}\u{5E8F}`,collapse: "折叠",@@ -28201,8 +28201,8 @@ xO = {};//#endregion//#region node_modules/react-aria/dist/private/intl/table/zh-TW.mjs-var SO = {};-SO = {+var xO = {};+xO = {ascending: "遞增",ascendingSort: (e) => `\u{5DF2}\u{4F9D}\u{64DA}\u{300C}${e.columnName}\u{300D}\u{6B04}\u{905E}\u{589E}\u{6392}\u{5E8F}`,collapse: "收合",@@ -28217,46 +28217,46 @@ SO = {};//#endregion//#region node_modules/react-aria/dist/private/table/intlStrings.mjs-var CO = {};-CO = {- "ar-AE": UD,- "bg-BG": WD,- "cs-CZ": GD,- "da-DK": KD,- "de-DE": qD,- "el-GR": JD,- "en-US": YD,- "es-ES": XD,- "et-EE": ZD,- "fi-FI": QD,- "fr-FR": $D,- "he-IL": eO,- "hr-HR": tO,- "hu-HU": nO,- "it-IT": rO,- "ja-JP": iO,- "ko-KR": aO,- "lt-LT": oO,- "lv-LV": sO,- "nb-NO": cO,- "nl-NL": lO,- "pl-PL": uO,- "pt-BR": dO,- "pt-PT": fO,- "ro-RO": pO,- "ru-RU": mO,- "sk-SK": hO,- "sl-SI": gO,- "sr-SP": _O,- "sv-SE": vO,- "tr-TR": yO,- "uk-UA": bO,- "zh-CN": xO,- "zh-TW": SO+var SO = {};+SO = {+ "ar-AE": HD,+ "bg-BG": UD,+ "cs-CZ": WD,+ "da-DK": GD,+ "de-DE": KD,+ "el-GR": qD,+ "en-US": JD,+ "es-ES": YD,+ "et-EE": XD,+ "fi-FI": ZD,+ "fr-FR": QD,+ "he-IL": $D,+ "hr-HR": eO,+ "hu-HU": tO,+ "it-IT": nO,+ "ja-JP": rO,+ "ko-KR": iO,+ "lt-LT": aO,+ "lv-LV": oO,+ "nb-NO": sO,+ "nl-NL": cO,+ "pl-PL": lO,+ "pt-BR": uO,+ "pt-PT": dO,+ "ro-RO": fO,+ "ru-RU": pO,+ "sk-SK": mO,+ "sl-SI": hO,+ "sr-SP": gO,+ "sv-SE": _O,+ "tr-TR": vO,+ "uk-UA": yO,+ "zh-CN": bO,+ "zh-TW": xO};//#endregion//#region node_modules/react-aria/dist/private/table/TableKeyboardDelegate.mjs-var Hae = class extends ID {+var Uae = class extends FD {isCell(e) {return e.type === "cell" || e.type === "rowheader" || e.type === "column";}@@ -28264,7 +28264,7 @@ var Hae = class extends ID {let n = this.collection.getItem(e);if (!n) return null;if (n.type === "column") {- let e = zw(Rw(n, this.collection));+ let e = Rw(Lw(n, this.collection));if (e) return e.key;let t = this.getFirstKey();return t == null || !this.collection.getItem(t) ? null : super.getKeyForItemInRowByIndex(t, n.index);@@ -28285,13 +28285,13 @@ var Hae = class extends ID {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 Rw(n, this.collection)) if (e.type === "column") return e.key;+ for (let e of Lw(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 = [...Rw(n, this.collection)];+ let n = this.collection.headerRows[e.level], r = [...Lw(n, this.collection)];for (let e = r.length - 1; e >= 0; e--) {let t = r[e];if (t.type === "column") return t.key;@@ -28320,7 +28320,7 @@ var Hae = class extends ID {let t = o.textValue.slice(0, e.length);if (this.collator.compare(t, e) === 0) return o.key;}- for (let r of Rw(o, this.collection)) {+ for (let r of Lw(o, this.collection)) {let a = n.columns[r.index];if (n.rowHeaderColumnKeys.has(a.key) && r.textValue) {let a = r.textValue.slice(0, e.length);@@ -28334,14 +28334,14 @@ var Hae = class extends ID {};//#endregion//#region node_modules/react-aria/dist/private/table/useTable.mjs-function Uae(e) {+function Wae(e) {return e && e.__esModule ? e.default : e;}-function Wae(e, t, n) {- let { keyboardDelegate: r, isVirtualized: i, layoutDelegate: a, layout: o } = e, s = qw({+function Gae(e, t, n) {+ let { keyboardDelegate: r, isVirtualized: i, layoutDelegate: a, layout: o } = e, s = Kw({usage: "search",sensitivity: "base"- }), { direction: c } = Zx(), l = t.selectionManager.disabledBehavior, u = (0, D.useMemo)(() => r || new Hae({+ }), { direction: c } = Xx(), l = t.selectionManager.disabledBehavior, u = (0, D.useMemo)(() => r || new Uae({collection: t.collection,disabledKeys: t.disabledKeys,disabledBehavior: l,@@ -28360,52 +28360,52 @@ function Wae(e, t, n) {s,a,o- ]), d = tx(e.id);- RD.set(t, d);- let { gridProps: f } = Vae({+ ]), d = ex(e.id);+ LD.set(t, d);+ let { gridProps: f } = Hae({...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 = oS(Uae(CO), "@react-aria/table"), g = (0, D.useMemo)(() => {+ let { column: p, direction: m } = t.sortDescriptor || {}, h = aS(Wae(SO), "@react-aria/table"), g = (0, D.useMemo)(() => {let e = t.collection.columns.find((e) => e.key === p)?.textValue ?? "";return m && p ? h.format(`${m}Sort`, { columnName: e }) : void 0;}, [m,p,t.collection.columns- ]), _ = lC(g);- return nC(() => {- g && tC(g, "assertive", 500);+ ]), _ = cC(g);+ return tC(() => {+ g && eC(g, "assertive", 500);}, [g]), { gridProps: K(f, _, { "aria-describedby": [_["aria-describedby"], f["aria-describedby"]].filter(Boolean).join(" ") }) };}//#endregion//#region node_modules/react-aria/dist/private/grid/useGridCell.mjs-function wO(e, t, n) {- let { node: r, isVirtualized: i, focusMode: a, allowsArrowNavigation: o, shouldSelectOnPressUp: s, onAction: c } = e, { direction: l } = Zx(), { keyboardDelegate: u, actions: { onCellAction: d }, keyboardNavigationBehavior: f } = LD.get(t), p = a ?? (f === "tab" ? "cell" : "child"), m = (0, D.useRef)(null), h = (0, D.useRef)(null), g = () => {+function CO(e, t, n) {+ let { node: r, isVirtualized: i, focusMode: a, allowsArrowNavigation: o, shouldSelectOnPressUp: s, onAction: c } = e, { direction: l } = Xx(), { keyboardDelegate: u, actions: { onCellAction: d }, keyboardNavigationBehavior: f } = ID.get(t), p = a ?? (f === "tab" ? "cell" : "child"), m = (0, D.useRef)(null), h = (0, D.useRef)(null), g = () => {if (n.current) {- let e = XS(n.current);+ let e = YS(n.current);if (p === "child") {- let i = qy(zy(n.current));- if (Yy(n.current) && n.current !== i) return;- let a = zy(n.current);+ let i = Ky(Ry(n.current));+ if (Jy(n.current) && n.current !== i) return;+ let a = Ry(n.current);if (!i || i === a.body || i === n.current) {let e = h.current;- if (e && m.current === r.key && Ky(n.current, e)) {- Xb(e);+ if (e && m.current === r.key && Gy(n.current, e)) {+ Yb(e);return;}}- let o = t.selectionManager.childFocusStrategy === "last" ? TO(e) : e.firstChild();+ let o = t.selectionManager.childFocusStrategy === "last" ? wO(e) : e.firstChild();if (o) {- Xb(o);+ Yb(o);return;}}- (m.current != null && r.key !== m.current || !Yy(n.current)) && Xb(n.current);+ (m.current != null && r.key !== m.current || !Jy(n.current)) && Yb(n.current);}- }, { itemProps: _, isPressed: v } = JT({+ }, { itemProps: _, isPressed: v } = qT({selectionManager: t.selectionManager,key: r.key,ref: n,@@ -28417,44 +28417,44 @@ function wO(e, t, n) {}), y = K(_, {role: "gridcell",onKeyDownCapture: f !== "tab" || o ? (e) => {- let i = qy(zy(n.current));- if (!Ky(e.currentTarget, G(e)) || t.isKeyboardNavigationDisabled || !n.current || !i) return;- let a = XS(n.current);+ let i = Ky(Ry(n.current));+ if (!Gy(e.currentTarget, G(e)) || t.isKeyboardNavigationDisabled || !n.current || !i) return;+ let a = YS(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) Xb(t), sC(t, { containingElement: iC(n.current) });+ if (p === "child" && t === n.current && (t = null), e.preventDefault(), e.stopPropagation(), t) Yb(t), oC(t, { containingElement: rC(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" ? (Xb(n.current), sC(n.current, { containingElement: iC(n.current) })) : (a.currentNode = n.current, t = l === "rtl" ? a.firstChild() : TO(a), t && (Xb(t), sC(t, { containingElement: iC(n.current) })));+ p === "cell" && l === "rtl" ? (Yb(n.current), oC(n.current, { containingElement: rC(n.current) })) : (a.currentNode = n.current, t = l === "rtl" ? a.firstChild() : wO(a), t && (Yb(t), oC(t, { containingElement: rC(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) Xb(t), sC(t, { containingElement: iC(n.current) });+ if (p === "child" && t === n.current && (t = null), e.preventDefault(), e.stopPropagation(), t) Yb(t), oC(t, { containingElement: rC(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" ? (Xb(n.current), sC(n.current, { containingElement: iC(n.current) })) : (a.currentNode = n.current, t = l === "rtl" ? TO(a) : a.firstChild(), t && (Xb(t), sC(t, { containingElement: iC(n.current) })));+ p === "cell" && l === "ltr" ? (Yb(n.current), oC(n.current, { containingElement: rC(n.current) })) : (a.currentNode = n.current, t = l === "rtl" ? wO(a) : a.firstChild(), t && (Yb(t), oC(t, { containingElement: rC(n.current) })));}break;}case "ArrowUp":- case "ArrowDown": !e.altKey && Ky(n.current, G(e)) && (e.stopPropagation(), e.preventDefault(), n.current.parentElement?.dispatchEvent(new KeyboardEvent(e.nativeEvent.type, e.nativeEvent)));+ case "ArrowDown": !e.altKey && Gy(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 = qy(zy(n.current));- if (Ky(e.currentTarget, G(e)) && !t.isKeyboardNavigationDisabled && n.current && r) {+ let r = Ky(Ry(n.current));+ if (Gy(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 = XS(n.current, { tabbable: !0 });+ let t = YS(n.current, { tabbable: !0 });t.currentNode = r, (e.shiftKey ? t.previousNode() : t.nextNode()) && e.stopPropagation();}}@@ -28465,9 +28465,9 @@ function wO(e, t, n) {onFocus: (e) => {if (m.current = r.key, G(e) !== n.current) {let i = G(e);- n.current && Ky(n.current, i) && (h.current = i), Rb() || t.selectionManager.setFocusedKey(r.key);- } else p === "child" && e.relatedTarget && Ky(n.current, e.relatedTarget) || requestAnimationFrame(() => {- p === "child" && qy(zy(n.current)) === n.current && g();+ n.current && Gy(n.current, i) && (h.current = i), Lb() || t.selectionManager.setFocusedKey(r.key);+ } else p === "child" && e.relatedTarget && Gy(n.current, e.relatedTarget) || requestAnimationFrame(() => {+ p === "child" && Ky(Ry(n.current)) === n.current && g();});},...p === "child" && f === "tab" ? { tabIndex: -1 } : {}@@ -28482,7 +28482,7 @@ function wO(e, t, n) {isPressed: v};}-function TO(e) {+function wO(e) {let t = null, n = null;don = e.lastChild(), n && (t = n);@@ -28491,33 +28491,33 @@ function TO(e) {}//#endregion//#region node_modules/react-aria/dist/private/table/useTableCell.mjs-function Gae(e, t, n) {- let { gridCellProps: r, isPressed: i } = wO(e, t, n), a = e.node.column?.key;- return a != null && t.collection.rowHeaderColumnKeys.has(a) && (r.role = "rowheader", r.id = VD(t, e.node.parentKey, a)), {+function Kae(e, t, n) {+ let { gridCellProps: r, isPressed: i } = CO(e, t, n), a = e.node.column?.key;+ return a != null && t.collection.rowHeaderColumnKeys.has(a) && (r.role = "rowheader", r.id = BD(t, e.node.parentKey, a)), {gridCellProps: r,isPressed: i};}//#endregion//#region node_modules/react-aria/dist/private/table/useTableColumnHeader.mjs-function Kae(e) {+function qae(e) {return e && e.__esModule ? e.default : e;}-function qae(e, t, n) {- let { node: r } = e, i = r.props.allowsSorting, { gridCellProps: a } = wO({+function Jae(e, t, n) {+ let { node: r } = e, i = r.props.allowsSorting, { gridCellProps: a } = CO({focusMode: "child",...e- }, t, n), o = r.props.isSelectionCell && t.selectionManager.selectionMode === "single", { pressProps: s, isPressed: c } = OS({+ }, t, n), o = r.props.isSelectionCell && t.selectionManager.selectionMode === "single", { pressProps: s, isPressed: c } = DS({isDisabled: !i || o,onPress() {t.sort(r.key);},ref: n- }), { focusableProps: l } = hx({}, n), u, d = t.sortDescriptor?.column === r.key, f = t.sortDescriptor?.direction;- r.props.allowsSorting && !mb() && (u = d ? f : "none");- let p = oS(Kae(CO), "@react-aria/table"), m;- i && (m = `${p.format("sortable")}`, d && f && mb() && (m = `${m}, ${p.format(f)}`));- let h = lC(m), g = t.collection.size === 0;+ }), { focusableProps: l } = mx({}, n), u, d = t.sortDescriptor?.column === r.key, f = t.sortDescriptor?.direction;+ r.props.allowsSorting && !pb() && (u = d ? f : "none");+ let p = aS(qae(SO), "@react-aria/table"), m;+ i && (m = `${p.format("sortable")}`, d && f && pb() && (m = `${m}, ${p.format(f)}`));+ let h = cC(m), g = t.collection.size === 0;return (0, D.useEffect)(() => {g && t.selectionManager.focusedKey === r.key && t.selectionManager.setFocusedKey(null);}, [@@ -28528,7 +28528,7 @@ function qae(e, t, n) {columnHeaderProps: {...K(l, a, s, h, g ? { tabIndex: -1 } : null),role: "columnheader",- id: BD(t, r.key),+ id: zD(t, r.key),"aria-colspan": r.colSpan && r.colSpan > 1 ? r.colSpan : void 0,"aria-sort": u},@@ -28537,17 +28537,17 @@ function qae(e, t, n) {}//#endregion//#region node_modules/react-aria/dist/private/table/useTableColumnResize.mjs-function Jae(e) {+function Yae(e) {return e && e.__esModule ? e.default : e;}-function Yae(e, t, n) {- let { column: r, triggerRef: i, isDisabled: a, onResizeStart: o, onResize: s, onResizeEnd: c, "aria-label": l } = e, u = oS(Jae(CO), "@react-aria/table"), d = tx(), f = t.resizingColumn === r.key, p = (0, D.useRef)(f), m = (0, D.useRef)(null), h = (0, D.useRef)(!1), g = t.tableState.isKeyboardNavigationDisabled, [_, v] = (0, D.useState)(!1), { direction: y } = Zx(), b = (0, D.useCallback)((e) => {+function Xae(e, t, n) {+ let { column: r, triggerRef: i, isDisabled: a, onResizeStart: o, onResize: s, onResizeEnd: c, "aria-label": l } = e, u = aS(Yae(SO), "@react-aria/table"), d = ex(), f = t.resizingColumn === r.key, p = (0, D.useRef)(f), m = (0, D.useRef)(null), h = (0, D.useRef)(!1), g = t.tableState.isKeyboardNavigationDisabled, [_, v] = (0, D.useState)(!1), { direction: y } = Xx(), b = (0, D.useCallback)((e) => {p.current || (m.current = t.updateResizedColumns(e.key, t.getColumnWidth(e.key)), t.startResize(e.key), t.tableState.setKeyboardNavigationDisabled(!0), o?.(m.current)), p.current = !0;}, [t, o]), x = (0, D.useCallback)((e, n) => {let r = t.updateResizedColumns(e.key, n);s?.(r), m.current = r;}, [t, s]), S = (0, D.useCallback)((e) => {- p.current && (m.current ??= t.updateResizedColumns(e.key, t.getColumnWidth(e.key)), t.endResize(), t.tableState.setKeyboardNavigationDisabled(!1), c?.(m.current), p.current = !1, i?.current && !h.current && Xb(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 && Yb(i.current)), m.current = null;}, [t,i,@@ -28555,14 +28555,14 @@ function Yae(e, t, n) {]), C = () => {if (g) S(r);else return !1;- }, { keyboardProps: w } = dx({ shortcuts: {+ }, { keyboardProps: w } = ux({ shortcuts: {Escape: () => C(),Enter: () => {g ? S(r) : b(r);}," ": () => C(),Tab: () => C()- } }), T = (0, D.useRef)(0), { moveProps: E } = NC({+ } }), T = (0, D.useRef)(0), { moveProps: E } = MC({onMoveStart(e) {T.current = t.getColumnWidth(r.key), e.pointerType === "mouse" && v(!0), b(r);},@@ -28578,12 +28578,12 @@ function Yae(e, t, n) {g && E.onKeyDown?.(e);}, [g, E]), k = Math.floor(t.getColumnMinWidth(r.key)), A = Math.floor(t.getColumnMaxWidth(r.key));A === Infinity && (A = 2 ** 53 - 1);- let j = Math.floor(t.getColumnWidth(r.key)), M = Vb();+ let j = Math.floor(t.getColumnWidth(r.key)), M = Bb();M === "virtual" && typeof window < "u" && "ontouchstart" in window && (M = "touch");- let N = lC(i?.current == null && (M === "keyboard" || M === "virtual") && !f ? u.format("resizerDescription") : void 0), ee = {+ let N = cC(i?.current == null && (M === "keyboard" || M === "virtual") && !f ? u.format("resizerDescription") : void 0), ee = {"aria-label": l,"aria-orientation": "horizontal",- "aria-labelledby": `${d} ${BD(t.tableState, r.key)}`,+ "aria-labelledby": `${d} ${zD(t.tableState, r.key)}`,"aria-valuetext": u.format("columnSize", { value: j }),type: "range",min: k,@@ -28591,11 +28591,11 @@ function Yae(e, t, n) {value: j,...N}, te = (0, D.useCallback)(() => {- n.current && Xb(n.current);- }, [n]), P = t.resizingColumn, ne = (0, D.useRef)(null), F = Ux(b);+ n.current && Yb(n.current);+ }, [n]), P = t.resizingColumn, ne = (0, D.useRef)(null), F = Hx(b);(0, D.useEffect)(() => {if (ne.current !== P && P != null && P === r.key) {- h.current = qy() === n.current, F(r);+ h.current = Ky() === n.current, F(r);let e = setTimeout(() => te(), 0), t = setTimeout(te, 400);return () => {clearTimeout(e), clearTimeout(t);@@ -28611,7 +28611,7 @@ function Yae(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: ie } = OS({+ }, { pressProps: ie } = DS({preventFocusOnPress: !0,onPressStart: (e) => {e.ctrlKey || e.altKey || e.metaKey || e.shiftKey || e.pointerType === "keyboard" || (e.pointerType === "virtual" && t.resizingColumn != null ? S(r) : (te(), e.pointerType !== "virtual" && b(r)));@@ -28619,7 +28619,7 @@ function Yae(e, t, n) {onPress: (e) => {(e.pointerType === "touch" && h.current || e.pointerType === "mouse") && t.resizingColumn != null && S(r);}- }), { visuallyHiddenProps: ae } = FC();+ }), { visuallyHiddenProps: ae } = PC();return {resizerProps: K(w, {...E,@@ -28639,20 +28639,20 @@ function Yae(e, t, n) {}//#endregion//#region node_modules/react-aria/dist/private/table/useTableHeaderRow.mjs-function Xae(e, t, n) {+function Zae(e, t, n) {let { node: r, isVirtualized: i } = e, a = { role: "row" };return i && t.treeColumn == null && (a["aria-rowindex"] = r.index + 1), { rowProps: a };}//#endregion//#region node_modules/react-aria/dist/private/grid/useGridRow.mjs-function Zae(e, t, n) {- let { node: r, isVirtualized: i, shouldSelectOnPressUp: a, onAction: o } = e, { actions: s, shouldSelectOnPressUp: c } = LD.get(t), l = s.onRowAction ? () => s.onRowAction?.(r.key) : o, { itemProps: u, ...d } = JT({+function Qae(e, t, n) {+ let { node: r, isVirtualized: i, shouldSelectOnPressUp: a, onAction: o } = e, { actions: s, shouldSelectOnPressUp: c } = ID.get(t), l = s.onRowAction ? () => s.onRowAction?.(r.key) : o, { itemProps: u, ...d } = qT({selectionManager: t.selectionManager,key: r.key,ref: n,isVirtualized: i,shouldSelectOnPressUp: c || a,- onAction: l || r?.props?.onAction ? Zb(r?.props?.onAction, l) : void 0,+ onAction: l || r?.props?.onAction ? Xb(r?.props?.onAction, l) : void 0,isDisabled: t.collection.size === 0}), f = t.selectionManager.isSelected(r.key), p = {role: "row",@@ -28667,10 +28667,10 @@ function Zae(e, t, n) {}//#endregion//#region node_modules/react-aria/dist/private/table/useTableRow.mjs-function Qae(e) {+function $ae(e) {return e && e.__esModule ? e.default : e;}-var EO = {+var TO = {expand: {ltr: "ArrowRight",rtl: "ArrowLeft"@@ -28680,21 +28680,21 @@ var EO = {rtl: "ArrowRight"}};-function $ae(e, t, n) {- let { node: r, isVirtualized: i } = e, { rowProps: a, ...o } = Zae(e, t, n), { direction: s } = Zx();+function eoe(e, t, n) {+ let { node: r, isVirtualized: i } = e, { rowProps: a, ...o } = Qae(e, t, n), { direction: s } = Xx();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 = oS(Qae(CO), "@react-aria/table"), u = Gx({+ let c = t.treeColumn != null && (t.expandedKeys === "all" || t.expandedKeys.has(r.key)), l = aS($ae(SO), "@react-aria/table"), u = Wx({"aria-label": c ? l.format("collapse") : l.format("expand"),- "aria-labelledby": HD(t, r.key)+ "aria-labelledby": VD(t, r.key)}), d = {}, f = {};if (t.treeColumn != null) {let e = t.collection.getItem(r.key);if (e != null) {- let n = DO(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 = DO(t.collection, a);+ let n = EO(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 = EO(t.collection, a);for (; l && l.type !== "item" && l.prevKey != null;) l = t.collection.getItem(l.prevKey);d = {onKeyDown: (n) => {- n.key === EO.expand[s] && t.selectionManager.focusedKey === e.key && i && t.expandedKeys !== "all" && !t.expandedKeys.has(e.key) ? (t.toggleKey(e.key), n.stopPropagation()) : n.key === EO.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 === TO.expand[s] && t.selectionManager.focusedKey === e.key && i && t.expandedKeys !== "all" && !t.expandedKeys.has(e.key) ? (t.toggleKey(e.key), n.stopPropagation()) : n.key === TO.collapse[s] && t.selectionManager.focusedKey === e.key && (t.expandedKeys === "all" ? t.expandedKeys === "all" && (t.toggleKey(e.key), n.stopPropagation()) : i && t.expandedKeys.has(e.key) ? (t.toggleKey(e.key), n.stopPropagation()) : !t.expandedKeys.has(e.key) && e.parentKey != null && e.level > 0 && (t.selectionManager.setFocusedKey(e.parentKey), n.stopPropagation()));},"aria-expanded": i ? t.expandedKeys === "all" || t.expandedKeys.has(r.key) : void 0,"aria-level": e.level + 1,@@ -28712,45 +28712,45 @@ function $ae(e, t, n) {};}}- let p = vb(r.props), m = o.hasAction ? p : {};+ let p = _b(r.props), m = o.hasAction ? p : {};return {rowProps: {...K(a, d, m),- "aria-labelledby": HD(t, r.key)+ "aria-labelledby": VD(t, r.key)},expandButtonProps: f,...o};}-function DO(e, t) {+function EO(e, t) {return "lastChildKey" in t ? t.lastChildKey == null ? null : e.getItem(t.lastChildKey) : Array.from(t.childNodes).findLast((e) => e.parentKey === t.key);}//#endregion//#region node_modules/react-aria/dist/private/grid/useGridRowGroup.mjs-function eoe() {+function toe() {return { rowGroupProps: { role: "rowgroup" } };}//#endregion//#region node_modules/react-aria/dist/private/table/useTableRowGroup.mjs-function OO() {- return eoe();+function DO() {+ return toe();}//#endregion//#region node_modules/react-aria/dist/private/table/useTableSelectionCheckbox.mjs-function toe(e) {+function noe(e) {return e && e.__esModule ? e.default : e;}-function noe(e, t) {- let { key: n } = e, { checkboxProps: r } = eE(e, t);+function roe(e, t) {+ let { key: n } = e, { checkboxProps: r } = $T(e, t);return { checkboxProps: {...r,- "aria-labelledby": `${r.id} ${HD(t, n)}`+ "aria-labelledby": `${r.id} ${VD(t, n)}`} };}-function roe(e) {+function ioe(e) {let { isEmpty: t, isSelectAll: n, selectionMode: r } = e.selectionManager;return { checkboxProps: {- "aria-label": oS(toe(CO), "@react-aria/table").format(r === "single" ? "select" : "selectAll"),+ "aria-label": aS(noe(SO), "@react-aria/table").format(r === "single" ? "select" : "selectAll"),isSelected: n,isDisabled: r !== "multiple" || e.collection.size === 0 || e.collection.rows.length === 1 && e.collection.rows[0].type === "loader",isIndeterminate: !t && !n,@@ -28759,23 +28759,23 @@ function roe(e) {}//#endregion//#region node_modules/react-aria/dist/private/tabs/utils.mjs-var kO = /* @__PURE__ */ new WeakMap();-function AO(e, t, n) {- return e ? (typeof t == "string" && (t = t.replace(/\s+/g, "")), `${kO.get(e)}-${n}-${t}`) : "";+var OO = /* @__PURE__ */ new WeakMap();+function kO(e, t, n) {+ return e ? (typeof t == "string" && (t = t.replace(/\s+/g, "")), `${OO.get(e)}-${n}-${t}`) : "";}//#endregion//#region node_modules/react-aria/dist/private/tabs/useTab.mjs-function ioe(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 } = JT({+function aoe(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 } = qT({selectionManager: o,key: r,ref: n,isDisabled: l,shouldSelectOnPressUp: a ?? u?.props.href != null,linkBehavior: "selection"- }), p = AO(t, r, "tab"), m = AO(t, r, "tabpanel"), { tabIndex: h } = d, g = pS(u?.props, { labelable: !0 });+ }), p = kO(t, r, "tab"), m = kO(t, r, "tabpanel"), { tabIndex: h } = d, g = fS(u?.props, { labelable: !0 });delete g.id;- let _ = yb(u?.props), { focusableProps: v } = hx({+ let _ = vb(u?.props), { focusableProps: v } = mx({...u?.props,isDisabled: l}, n);@@ -28795,7 +28795,7 @@ function ioe(e, t, n) {}//#endregion//#region node_modules/react-aria/dist/private/tabs/TabsKeyboardDelegate.mjs-var aoe = class {+var ooe = class {constructor(e, t, n, r = /* @__PURE__ */ new Set()) {this.collection = e, this.flipDirection = t === "rtl", this.disabledKeys = r, this.tabDirection = n === "horizontal";}@@ -28839,11 +28839,11 @@ var aoe = class {};//#endregion//#region node_modules/react-aria/dist/private/tabs/useTabList.mjs-function ooe(e, t, n) {- let { orientation: r = "horizontal", keyboardActivation: i = "automatic" } = e, { collection: a, selectionManager: o, disabledKeys: s } = t, { direction: c } = Zx(), { collectionProps: l } = Lw({+function soe(e, t, n) {+ let { orientation: r = "horizontal", keyboardActivation: i = "automatic" } = e, { collection: a, selectionManager: o, disabledKeys: s } = t, { direction: c } = Xx(), { collectionProps: l } = Iw({ref: n,selectionManager: o,- keyboardDelegate: (0, D.useMemo)(() => new aoe(a, c, r, s), [+ keyboardDelegate: (0, D.useMemo)(() => new ooe(a, c, r, s), [a,s,r,@@ -28853,9 +28853,9 @@ function ooe(e, t, n) {disallowEmptySelection: !0,scrollRef: n,linkBehavior: "selection"- }), u = tx();- return kO.set(t, u), { tabListProps: {- ...K(l, Gx({+ }), u = ex();+ return OO.set(t, u), { tabListProps: {+ ...K(l, Wx({...e,id: u})),@@ -28866,12 +28866,12 @@ function ooe(e, t, n) {}//#endregion//#region node_modules/react-aria/dist/private/tabs/useTabPanel.mjs-function soe(e, t, n) {- let r = GT(n) ? void 0 : 0, i = AO(t, e.id ?? t?.selectedKey, "tabpanel");- return { tabPanelProps: K(Gx({+function coe(e, t, n) {+ let r = WT(n) ? void 0 : 0, i = kO(t, e.id ?? t?.selectedKey, "tabpanel");+ return { tabPanelProps: K(Wx({...e,id: i,- "aria-labelledby": AO(t, t?.selectedKey, "tab")+ "aria-labelledby": kO(t, t?.selectedKey, "tab")}), {tabIndex: r,role: "tabpanel",@@ -28881,301 +28881,301 @@ function soe(e, t, n) {}//#endregion//#region node_modules/react-aria/dist/private/tree/useTree.mjs-function coe(e, t, n) {- let { gridProps: r } = bae(e, t, n);+function loe(e, t, n) {+ let { gridProps: r } = xae(e, t, n);return r.role = "treegrid", { gridProps: r };}//#endregion//#region node_modules/react-aria/dist/private/intl/tree/ar-AE.mjs-var jO = {};-jO = {+var AO = {};+AO = {collapse: "طي",expand: "تمديد"};//#endregion//#region node_modules/react-aria/dist/private/intl/tree/bg-BG.mjs-var MO = {};-MO = {+var jO = {};+jO = {collapse: "Свиване",expand: "Разширяване"};//#endregion//#region node_modules/react-aria/dist/private/intl/tree/cs-CZ.mjs-var NO = {};-NO = {+var MO = {};+MO = {collapse: "Sbalit",expand: "Roztáhnout"};//#endregion//#region node_modules/react-aria/dist/private/intl/tree/da-DK.mjs-var PO = {};-PO = {+var NO = {};+NO = {collapse: "Skjul",expand: "Udvid"};//#endregion//#region node_modules/react-aria/dist/private/intl/tree/de-DE.mjs-var FO = {};-FO = {+var PO = {};+PO = {collapse: "Reduzieren",expand: "Erweitern"};//#endregion//#region node_modules/react-aria/dist/private/intl/tree/el-GR.mjs-var IO = {};-IO = {+var FO = {};+FO = {collapse: "Σύμπτυξη",expand: "Ανάπτυξη"};//#endregion//#region node_modules/react-aria/dist/private/intl/tree/en-US.mjs-var LO = {};-LO = {+var IO = {};+IO = {expand: "Expand",collapse: "Collapse"};//#endregion//#region node_modules/react-aria/dist/private/intl/tree/es-ES.mjs-var RO = {};-RO = {+var LO = {};+LO = {collapse: "Contraer",expand: "Expandir"};//#endregion//#region node_modules/react-aria/dist/private/intl/tree/et-EE.mjs-var zO = {};-zO = {+var RO = {};+RO = {collapse: "Ahenda",expand: "Laienda"};//#endregion//#region node_modules/react-aria/dist/private/intl/tree/fi-FI.mjs-var BO = {};-BO = {+var zO = {};+zO = {collapse: "Pienennä",expand: "Laajenna"};//#endregion//#region node_modules/react-aria/dist/private/intl/tree/fr-FR.mjs-var VO = {};-VO = {+var BO = {};+BO = {collapse: "Réduire",expand: "Développer"};//#endregion//#region node_modules/react-aria/dist/private/intl/tree/he-IL.mjs-var HO = {};-HO = {+var VO = {};+VO = {collapse: "כווץ",expand: "הרחב"};//#endregion//#region node_modules/react-aria/dist/private/intl/tree/hr-HR.mjs-var UO = {};-UO = {+var HO = {};+HO = {collapse: "Sažmi",expand: "Proširi"};//#endregion//#region node_modules/react-aria/dist/private/intl/tree/hu-HU.mjs-var WO = {};-WO = {+var UO = {};+UO = {collapse: "Összecsukás",expand: "Kibontás"};//#endregion//#region node_modules/react-aria/dist/private/intl/tree/it-IT.mjs-var GO = {};-GO = {+var WO = {};+WO = {collapse: "Comprimi",expand: "Espandi"};//#endregion//#region node_modules/react-aria/dist/private/intl/tree/ja-JP.mjs-var KO = {};-KO = {+var GO = {};+GO = {collapse: "折りたたむ",expand: "展開"};//#endregion//#region node_modules/react-aria/dist/private/intl/tree/ko-KR.mjs-var qO = {};-qO = {+var KO = {};+KO = {collapse: "접기",expand: "펼치기"};//#endregion//#region node_modules/react-aria/dist/private/intl/tree/lt-LT.mjs-var JO = {};-JO = {+var qO = {};+qO = {collapse: "Sutraukti",expand: "Išskleisti"};//#endregion//#region node_modules/react-aria/dist/private/intl/tree/lv-LV.mjs-var YO = {};-YO = {+var JO = {};+JO = {collapse: "Sakļaut",expand: "Izvērst"};//#endregion//#region node_modules/react-aria/dist/private/intl/tree/nb-NO.mjs-var XO = {};-XO = {+var YO = {};+YO = {collapse: "Skjul",expand: "Utvid"};//#endregion//#region node_modules/react-aria/dist/private/intl/tree/nl-NL.mjs-var ZO = {};-ZO = {+var XO = {};+XO = {collapse: "Samenvouwen",expand: "Uitvouwen"};//#endregion//#region node_modules/react-aria/dist/private/intl/tree/pl-PL.mjs-var QO = {};-QO = {+var ZO = {};+ZO = {collapse: "Zwiń",expand: "Rozwiń"};//#endregion//#region node_modules/react-aria/dist/private/intl/tree/pt-BR.mjs-var $O = {};-$O = {+var QO = {};+QO = {collapse: "Recolher",expand: "Expandir"};//#endregion//#region node_modules/react-aria/dist/private/intl/tree/pt-PT.mjs-var ek = {};-ek = {+var $O = {};+$O = {collapse: "Colapsar",expand: "Expandir"};//#endregion//#region node_modules/react-aria/dist/private/intl/tree/ro-RO.mjs-var tk = {};-tk = {+var ek = {};+ek = {collapse: "Restrângeți",expand: "Extindeți"};//#endregion//#region node_modules/react-aria/dist/private/intl/tree/ru-RU.mjs-var nk = {};-nk = {+var tk = {};+tk = {collapse: "Свернуть",expand: "Развернуть"};//#endregion//#region node_modules/react-aria/dist/private/intl/tree/sk-SK.mjs-var rk = {};-rk = {+var nk = {};+nk = {collapse: "Zbaliť",expand: "Rozbaliť"};//#endregion//#region node_modules/react-aria/dist/private/intl/tree/sl-SI.mjs-var ik = {};-ik = {+var rk = {};+rk = {collapse: "Strni",expand: "Razširi"};//#endregion//#region node_modules/react-aria/dist/private/intl/tree/sr-SP.mjs-var ak = {};-ak = {+var ik = {};+ik = {collapse: " Skupi",expand: "Proširi"};//#endregion//#region node_modules/react-aria/dist/private/intl/tree/sv-SE.mjs-var ok = {};-ok = {+var ak = {};+ak = {collapse: "Dölj",expand: "Expandera"};//#endregion//#region node_modules/react-aria/dist/private/intl/tree/tr-TR.mjs-var sk = {};-sk = {+var ok = {};+ok = {collapse: "Daralt",expand: "Genişlet"};//#endregion//#region node_modules/react-aria/dist/private/intl/tree/uk-UA.mjs-var ck = {};-ck = {+var sk = {};+sk = {collapse: "Згорнути",expand: "Розгорнути"};//#endregion//#region node_modules/react-aria/dist/private/intl/tree/zh-CN.mjs-var lk = {};-lk = {+var ck = {};+ck = {collapse: "折叠",expand: "扩展"};//#endregion//#region node_modules/react-aria/dist/private/intl/tree/zh-TW.mjs-var uk = {};-uk = {+var lk = {};+lk = {collapse: "收合",expand: "展開"};//#endregion//#region node_modules/react-aria/dist/private/tree/intlStrings.mjs-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+var uk = {};+uk = {+ "ar-AE": AO,+ "bg-BG": jO,+ "cs-CZ": MO,+ "da-DK": NO,+ "de-DE": PO,+ "el-GR": FO,+ "en-US": IO,+ "es-ES": LO,+ "et-EE": RO,+ "fi-FI": zO,+ "fr-FR": BO,+ "he-IL": VO,+ "hr-HR": HO,+ "hu-HU": UO,+ "it-IT": WO,+ "ja-JP": GO,+ "ko-KR": KO,+ "lt-LT": qO,+ "lv-LV": JO,+ "nb-NO": YO,+ "nl-NL": XO,+ "pl-PL": ZO,+ "pt-BR": QO,+ "pt-PT": $O,+ "ro-RO": ek,+ "ru-RU": tk,+ "sk-SK": nk,+ "sl-SI": rk,+ "sr-SP": ik,+ "sv-SE": ak,+ "tr-TR": ok,+ "uk-UA": sk,+ "zh-CN": ck,+ "zh-TW": lk};//#endregion//#region node_modules/react-aria/dist/private/tree/useTreeItem.mjs-function loe(e) {+function uoe(e) {return e && e.__esModule ? e.default : e;}-function fk(e, t, n) {- let { node: r } = e, i = xae(e, t, n), a = i.rowProps["aria-expanded"] === !0, o = oS(loe(dk), "@react-aria/tree"), s = {+function dk(e, t, n) {+ let { node: r } = e, i = Sae(e, t, n), a = i.rowProps["aria-expanded"] === !0, o = aS(uoe(uk), "@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,- ...Gx({+ ...Wx({"aria-label": a ? o.format("collapse") : o.format("expand"),"aria-labelledby": i.rowProps.id})@@ -29187,15 +29187,15 @@ function fk(e, t, n) {}//#endregion//#region src/react/components/selection-dock.tsx-var pk = "(prefers-reduced-motion: reduce)", uoe = () => matchMedia(pk).matches, doe = (e) => {- let t = matchMedia(pk);+var fk = "(prefers-reduced-motion: reduce)", doe = () => matchMedia(fk).matches, foe = (e) => {+ let t = matchMedia(fk);return t.addEventListener("change", e), () => t.removeEventListener("change", e);-}, mk = /* @__PURE__ */ new Map(), hk = () => {+}, pk = /* @__PURE__ */ new Map(), mk = () => {let e = document.documentElement;- mk.size ? e.style.setProperty("--selection-dock-space", `${Math.max(...mk.values())}px`) : e.style.removeProperty("--selection-dock-space");+ pk.size ? e.style.setProperty("--selection-dock-space", `${Math.max(...pk.values())}px`) : e.style.removeProperty("--selection-dock-space");};-function foe({ children: e, count: t, label: n }) {- let r = (0, D.useRef)(null), i = yv(), a = (0, D.useSyncExternalStore)(doe, uoe, () => !1), { isFocusVisible: o } = Hb(), s = a || o, c = {+function poe({ children: e, count: t, label: n }) {+ let r = (0, D.useRef)(null), i = vv(), a = (0, D.useSyncExternalStore)(foe, doe, () => !1), { isFocusVisible: o } = Vb(), s = a || o, c = {opacity: 0,transform: "translate(-50%, 8px)"};@@ -29203,12 +29203,12 @@ function foe({ children: e, count: t, label: n }) {let e = r.current;if (!e || !i) return;let t = () => {- mk.set(e, Math.ceil(e.offsetHeight + (parseFloat(getComputedStyle(e).bottom) || 0) + 16)), hk();+ pk.set(e, Math.ceil(e.offsetHeight + (parseFloat(getComputedStyle(e).bottom) || 0) + 16)), mk();}, n = new ResizeObserver(t);return n.observe(e), window.addEventListener("resize", t), t(), () => {- n.disconnect(), window.removeEventListener("resize", t), mk.delete(e), hk();+ n.disconnect(), window.removeEventListener("resize", t), pk.delete(e), mk();};- }, [i]), /* @__PURE__ */ (0, O.jsxs)(Oy.div, {+ }, [i]), /* @__PURE__ */ (0, O.jsxs)(Dy.div, {ref: r,role: "group","aria-label": n,@@ -29241,18 +29241,18 @@ function foe({ children: e, count: t, label: n }) {}), e]});}-function gk({ visible: e, ...t }) {- return /* @__PURE__ */ (0, O.jsx)(Sv, { children: e ? /* @__PURE__ */ (0, O.jsx)(foe, { ...t }, "selection") : null });+function hk({ visible: e, ...t }) {+ return /* @__PURE__ */ (0, O.jsx)(xv, { children: e ? /* @__PURE__ */ (0, O.jsx)(poe, { ...t }, "selection") : null });}//#endregion//#region src/react/batch-dock/batch-dock-api.ts-var _k = {+var gk = {group: "clear",operation: "clear",label: "取消",glyph: "x"};-function poe(e, t = !1) {+function moe(e, t = !1) {switch (e) {case "trash": return [{@@ -29268,7 +29268,7 @@ function poe(e, t = !1) {glyph: "trash",danger: !0},- _k+ gk];case "junk": return [t ? {@@ -29289,7 +29289,7 @@ function poe(e, t = !1) {glyph: "trash",danger: !0},- _k+ gk];case "follow": return [{@@ -29310,7 +29310,7 @@ function poe(e, t = !1) {label: "忽略",glyph: "eye-off"},- _k+ gk];default: return [{@@ -29344,39 +29344,39 @@ function poe(e, t = !1) {glyph: "trash",danger: !0},- _k+ gk];}}//#endregion//#region src/react/batch-dock/batch-dock-island.tsx-var vk = null, yk = {+var _k = null, vk = {count: 0,context: "catalog",junkDismissed: !1-}, bk = /* @__PURE__ */ new Set();-function moe(e) {- return bk.add(e), () => {- bk.delete(e);+}, yk = /* @__PURE__ */ new Set();+function hoe(e) {+ return yk.add(e), () => {+ yk.delete(e);};}-function hoe() {- for (let e of [...bk]) e();+function goe() {+ for (let e of [...yk]) e();}-var goe = { render(e) {- yk = e, (0, Et.flushSync)(hoe);+var _oe = { render(e) {+ vk = e, (0, Et.flushSync)(goe);} };-function _oe(e) {- return vk = e, goe;+function voe(e) {+ return _k = e, _oe;}-function voe() {- let e = (0, D.useSyncExternalStore)(moe, () => yk);- return vk ? /* @__PURE__ */ (0, O.jsx)(yoe, {- host: vk,+function yoe() {+ let e = (0, D.useSyncExternalStore)(hoe, () => vk);+ return _k ? /* @__PURE__ */ (0, O.jsx)(boe, {+ host: _k,props: e}) : null;}-function yoe({ host: e, props: t }) {+function boe({ host: e, props: t }) {let n = t.count > 0;return (0, D.useLayoutEffect)(() => {document.body.toggleAttribute("data-batch-dock-open", n);@@ -29386,11 +29386,11 @@ function yoe({ host: e, props: t }) {className: "peach-react","data-batch-scope": "","data-context": t.context,- children: /* @__PURE__ */ (0, O.jsx)(gk, {+ children: /* @__PURE__ */ (0, O.jsx)(hk, {label: "所选项目操作",visible: t.count > 0,count: `已选 ${t.count.toLocaleString()} 项`,- children: poe(t.context, t.junkDismissed).map((t) => /* @__PURE__ */ (0, O.jsxs)("button", {+ children: moe(t.context, t.junkDismissed).map((t) => /* @__PURE__ */ (0, O.jsxs)("button", {type: "button","data-batch-group": t.group,"data-batch-action": t.operation,@@ -29407,12 +29407,12 @@ function yoe({ host: e, props: t }) {}//#endregion//#region src/number-setting.ts-function xk(e, t, n, r) {+function bk(e, t, n, r) {return Number.isInteger(e) && e >= t && e <= n ? e : r;}//#endregion//#region src/settings-store.ts-function boe(e, t) {+function xoe(e, t) {let n = /* @__PURE__ */ new Set(), r = 0, i = () => {r += 1, n.forEach((e) => e());};@@ -29432,7 +29432,7 @@ function boe(e, t) {}//#endregion//#region src/sort-preferences.ts-var Sk = [+var xk = [["seed", "随机"],["rating", "评分"],["o", "高潮计数"],@@ -29441,7 +29441,7 @@ var Sk = [["size", "体积"],["new", "入库时间"],["played", "观看时间"]-], Ck = ["release", "发行时间"], wk = [...Sk, Ck].map(([e]) => e), Tk = {+], Sk = ["release", "发行时间"], Ck = [...xk, Sk].map(([e]) => e), wk = {rating: ["从高到低", "从低到高"],o: ["从多到少", "从少到多"],plays: ["从多到少", "从少到多"],@@ -29450,28 +29450,28 @@ var Sk = [new: ["从新到旧", "从旧到新"],played: ["从近到远", "从远到近"],release: ["从新到旧", "从旧到新"]-}, Ek = {+}, Tk = {big: ["size", "desc"],short: ["dur", "asc"],long: ["dur", "desc"]-}, Dk = (e, t, n = Tk) => (n[e] || [])[+(t === "asc")] || "", Ok = (e, t = Tk) => t[e] ? "desc" : "";-function kk(e, t, n, r = Tk) {+}, Ek = (e, t, n = wk) => (n[e] || [])[+(t === "asc")] || "", Dk = (e, t = wk) => t[e] ? "desc" : "";+function Ok(e, t, n, r = wk) {return e === t ? r[e] ? {sort: e,dir: n === "asc" ? "desc" : "asc"} : null : {sort: e,- dir: Ok(e, r)+ dir: Dk(e, r)};}-function Ak(e, t, n) {+function kk(e, t, n) {return e === "seed" ? "" : e === t && n === "asc" ? "asc" : "desc";}-function jk(e, t, n, r, i = n) {- let a = e ? Ek[e] : void 0, o = a ? a[0] : e, s = o && wk.includes(o) ? o : i;- return Tk[s] ? {+function Ak(e, t, n, r, i = n) {+ let a = e ? Tk[e] : void 0, o = a ? a[0] : e, s = o && Ck.includes(o) ? o : i;+ return wk[s] ? {sort: s,- dir: t === "asc" || t === "desc" ? t : a ? a[1] : e ? "desc" : Ak(s, n, r)+ dir: t === "asc" || t === "desc" ? t : a ? a[1] : e ? "desc" : kk(s, n, r)} : {sort: s,dir: ""@@ -29479,15 +29479,15 @@ function jk(e, t, n, r, i = n) {}//#endregion//#region src/appearance/home-glow.ts-var Mk = [+var jk = ["spot1","spot2","spot3"-], xoe = [+], Soe = ["光晕一","光晕二","光晕三"-], Nk = "native", Pk = [+], Mk = "native", Nk = [["ash","灰雾",@@ -29793,7 +29793,7 @@ var Mk = ["rose"],[- Nk,+ Mk,"玻璃原色",{spot1: {@@ -29811,7 +29811,7 @@ var Mk = [},"blue"]-], Fk = (e) => e === Nk, Ik = [...Pk.map(([e, t]) => [e, t]), ["custom", "自定义"]], Soe = (e) => (Ik.find(([t]) => t === e) || Ik[0])[1], Lk = (e) => structuredClone((Pk.find(([t]) => t === e) || Pk[0])[2]), Rk = [+], Pk = (e) => e === Mk, Fk = [...Nk.map(([e, t]) => [e, t]), ["custom", "自定义"]], Coe = (e) => (Fk.find(([t]) => t === e) || Fk[0])[1], Ik = (e) => structuredClone((Nk.find(([t]) => t === e) || Nk[0])[2]), Lk = [["red", "红"],["orange", "橙"],["amber", "琥珀"],@@ -29824,7 +29824,7 @@ var Mk = [["violet", "紫罗兰"],["fuchsia", "品红"],["rose", "玫红"]-], zk = "blue", Bk = (e) => Rk.some(([t]) => t === e) ? e : zk, Coe = (e) => (Pk.find(([t]) => t === e) || [])[3] || "blue", woe = [+], Rk = "blue", zk = (e) => Lk.some(([t]) => t === e) ? e : Rk, woe = (e) => (Nk.find(([t]) => t === e) || [])[3] || "blue", Toe = [["all", "全部"],["gray", "灰"],["red", "红"],@@ -29834,7 +29834,7 @@ var Mk = [["blue", "蓝"],["purple", "紫"],["brown", "棕"]-], Toe = [+], Eoe = [["gray","云灰",@@ -30230,11 +30230,11 @@ var Mk = ["霁蓝","#6686b8"]-], Vk = (e, t, n, r) => Number.isInteger(e) && e >= t && e <= n ? e : r, Hk = (e, t) => /^#[0-9a-f]{6}$/i.test(String(e)) ? String(e).toLowerCase() : t, Eoe = (e, t) => `rgba(${[+], Bk = (e, t, n, r) => Number.isInteger(e) && e >= t && e <= n ? e : r, Vk = (e, t) => /^#[0-9a-f]{6}$/i.test(String(e)) ? String(e).toLowerCase() : t, Doe = (e, t) => `rgba(${[1,3,5-].map((t) => parseInt(e.slice(t, t + 2), 16)).join(",")},${(t / 100).toFixed(2)})`, Doe = {+].map((t) => parseInt(e.slice(t, t + 2), 16)).join(",")},${(t / 100).toFixed(2)})`, Ooe = {strength: [0,100,@@ -30260,7 +30260,7 @@ var Mk = [100,50]-}, Uk = {+}, Hk = {on: !0,preset: "ash",strength: 100,@@ -30268,57 +30268,57 @@ var Mk = [speed: 100,soften: 50,size: 50,- ...Lk("ash")+ ...Ik("ash")};-function Wk(e) {- let t = e && typeof e == "object" ? e : {}, n = Ik.some(([e]) => e === t.preset), r = n ? t.preset : "ash", i = Lk(r === "custom" ? "ash" : r), a = {+function Uk(e) {+ let t = e && typeof e == "object" ? e : {}, n = Fk.some(([e]) => e === t.preset), r = n ? t.preset : "ash", i = Ik(r === "custom" ? "ash" : r), a = {on: t.on !== !1,preset: r};- for (let [e, [n, r, i]] of Object.entries(Doe)) a[e] = Vk(+t[e], n, r, i);- for (let e of Mk) {+ for (let [e, [n, r, i]] of Object.entries(Ooe)) a[e] = Bk(+t[e], n, r, i);+ for (let e of jk) {let r = n && t[e] && typeof t[e] == "object" ? t[e] : {}, o = i[e];a[e] = {- color: Hk(r.color, o.color),- alpha: Vk(+r.alpha, 0, 100, o.alpha)+ color: Vk(r.color, o.color),+ alpha: Bk(+r.alpha, 0, 100, o.alpha)};}return a;}-var Ooe = (e) => `conic-gradient(from -90deg,${e.map((t, n) => `${t} ${(n * 100 / e.length).toFixed(3)}% ${((n + 1) * 100 / e.length).toFixed(3)}%`).join(",")})`, Gk = /* @__PURE__ */ new WeakMap();-function koe(e, t) {+var koe = (e) => `conic-gradient(from -90deg,${e.map((t, n) => `${t} ${(n * 100 / e.length).toFixed(3)}% ${((n + 1) * 100 / e.length).toFixed(3)}%`).join(",")})`, Wk = /* @__PURE__ */ new WeakMap();+function Aoe(e, t) {if (!e) return;- let n = Gk.get(e);- n || (n = /* @__PURE__ */ new Map(), Gk.set(e, n));- let r = t.on && !Fk(t.preset), i = (t, r) => {+ let n = Wk.get(e);+ n || (n = /* @__PURE__ */ new Map(), Wk.set(e, n));+ let r = t.on && !Pk(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"), Mk.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"), jk.forEach((e, n) => {let r = t[e];- i(`--glow-spot-${n + 1}-color`, Eoe(r.color, r.alpha));+ i(`--glow-spot-${n + 1}-color`, Doe(r.color, r.alpha));});}-function Aoe(e, t) {+function joe(e, t) {if (!e) return;- let n = !t.on || Fk(t.preset);+ let n = !t.on || Pk(t.preset);e.toggleAttribute("data-glow-native", n), e.style.setProperty("--glow-drift-scale", t.speed ? (100 / t.speed).toFixed(3) : "1"), e.style.setProperty("--glow-drift-play", t.speed ? "running" : "paused"), n ? (e.style.removeProperty("--glass-tint-a"), e.style.removeProperty("--glass-tint-b")) : (e.style.setProperty("--glass-tint-a", t.spot1.color), e.style.setProperty("--glass-tint-b", t.spot2.color));}//#endregion//#region src/appearance/settings.ts-var joe = "peach.settings.v1", Moe = [+var Moe = "peach.settings.v1", Noe = ["system","light","dark"-], Kk = [+], Gk = [0,7,30,90-], Noe = [+], Poe = ["feedHideGroupCompilations","feedHideSoloCompilations","feedHideExcerpts"-], qk = {+], Kk = {batchSize: 60,defaultSort: "seed",sortDefaultsVersion: 3,@@ -30339,46 +30339,46 @@ var joe = "peach.settings.v1", Moe = [theme: "system",groupCollapse: !0,sidebarOrder: [...gl],- homeGlow: Uk,- accent: zk-}, Jk = (e, t, n) => t.includes(e) ? e : n;-function Poe(e) {+ homeGlow: Hk,+ accent: Rk+}, qk = (e, t, n) => t.includes(e) ? e : n;+function Foe(e) {let t = e && typeof e == "object" ? e : {}, n = {- ...qk,+ ...Kk,...t};- n.followInitialDays = Kk.includes(+n.followInitialDays) ? +n.followInitialDays : 30, delete n.rotateMinutes;+ n.followInitialDays = Gk.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 = Ek[n.defaultSort];- return i < 3 && a && (n.defaultSort = a[0], r = !0), n.sortDefaultsVersion = 3, n.batchSize = xk(+n.batchSize, 1, 200, 60), n.defaultSort = Jk(n.defaultSort, wk, "seed"), n.hoverDelaySeconds = xk(+n.hoverDelaySeconds, 0, 60, 5), n.seekSeconds = xk(+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 = xk(+n.searchHistoryLimit, 0, 50, 10), n.relatedLimit = xk(+n.relatedLimit, 0, 60, 20), n.feedLimit = xk(+n.feedLimit, 1, 100, 12), Object.assign(n, xa(n)), n.theme = Jk(n.theme, Moe, "system"), n.homeGlow = Wk(n.homeGlow), n.accent = Bk(n.accent), n.sidebarOrder = bl(n.sidebarOrder), {+ let a = Tk[n.defaultSort];+ return i < 3 && a && (n.defaultSort = a[0], r = !0), n.sortDefaultsVersion = 3, n.batchSize = bk(+n.batchSize, 1, 200, 60), n.defaultSort = qk(n.defaultSort, Ck, "seed"), n.hoverDelaySeconds = bk(+n.hoverDelaySeconds, 0, 60, 5), n.seekSeconds = bk(+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 = bk(+n.searchHistoryLimit, 0, 50, 10), n.relatedLimit = bk(+n.relatedLimit, 0, 60, 20), n.feedLimit = bk(+n.feedLimit, 1, 100, 12), Object.assign(n, xa(n)), n.theme = qk(n.theme, Noe, "system"), n.homeGlow = Uk(n.homeGlow), n.accent = zk(n.accent), n.sidebarOrder = bl(n.sidebarOrder), {settings: n,migrated: r};}-function Foe(e) {+function Ioe(e) {let t = {};try {t = JSON.parse(e.getItem("peach.settings.v1") || "{}");} catch {}- return Poe(t);+ return Foe(t);}-var Yk = null;-function Xk() {- if (Yk) return Yk;- let { settings: e, migrated: t } = Foe(localStorage);- return Yk = boe(joe, e), t && Yk.save(), Yk;+var Jk = null;+function Yk() {+ if (Jk) return Jk;+ let { settings: e, migrated: t } = Ioe(localStorage);+ return Jk = xoe(Moe, e), t && Jk.save(), Jk;}-function Zk(e, t, n = Xk()) {+function Xk(e, t, n = Yk()) {let r = n.value, i = e && e.followInitialDays;- Kk.includes(i) && (r.followInitialDays = i, n.save());- for (let t of Noe) typeof e?.[t] == "boolean" && e[t] !== r[t] && (r[t] = e[t], n.save());+ Gk.includes(i) && (r.followInitialDays = i, n.save());+ for (let t of Poe) typeof e?.[t] == "boolean" && e[t] !== r[t] && (r[t] = e[t], n.save());let a = e && e.searchHistoryLimit;- Number.isInteger(a) && a >= 0 && a <= 50 ? a !== r.searchHistoryLimit && (r.searchHistoryLimit = xk(a, 0, 50, 10), n.save(), t("searchHistoryLimit")) : e && e.searchHistoryLimit === null && r.searchHistoryLimit !== qk.searchHistoryLimit && Ioe(n);+ Number.isInteger(a) && a >= 0 && a <= 50 ? a !== r.searchHistoryLimit && (r.searchHistoryLimit = bk(a, 0, 50, 10), n.save(), t("searchHistoryLimit")) : e && e.searchHistoryLimit === null && r.searchHistoryLimit !== Kk.searchHistoryLimit && Loe(n);let o = Array.isArray(e && e.sidebarOrder) ? e.sidebarOrder : null;o && o.length && o.join(",") !== r.sidebarOrder.join(",") && (r.sidebarOrder = o, n.save());}-function Ioe(e = Xk()) {+function Loe(e = Yk()) {return R("/api/settings", {method: "POST",body: JSON.stringify({ searchHistoryLimit: e.value.searchHistoryLimit })@@ -30386,7 +30386,7 @@ function Ioe(e = Xk()) {}//#endregion//#region src/appearance/theme.ts-var Loe = [+var Roe = [["system","跟随系统",@@ -30402,32 +30402,32 @@ var Loe = ["深色","moon"]-], Roe = null, Qk = () => Roe ??= matchMedia("(prefers-color-scheme: dark)"), $k = null;-function zoe() {- return $k || ($k = document.createElement("style"), $k.textContent = "*:not(.board-theme-thumb),*::before,*::after{transition:none!important}"), $k.isConnected || document.head.append($k), () => {+], zoe = null, Zk = () => zoe ??= matchMedia("(prefers-color-scheme: dark)"), Qk = null;+function Boe() {+ return Qk || (Qk = document.createElement("style"), Qk.textContent = "*:not(.board-theme-thumb),*::before,*::after{transition:none!important}"), Qk.isConnected || document.head.append(Qk), () => {getComputedStyle(document.documentElement).opacity;let e = () => {- cancelAnimationFrame(t), clearTimeout(n), $k?.remove();+ cancelAnimationFrame(t), clearTimeout(n), Qk?.remove();}, t = requestAnimationFrame(e), n = setTimeout(e, 100);};}-function eA(e = Xk().value.theme) {- let t = zoe(), n = document.documentElement;+function $k(e = Yk().value.theme) {+ let t = Boe(), n = document.documentElement;e === "system" ? delete n.dataset.theme : n.dataset.theme = e;- let r = e === "dark" || e === "system" && Qk().matches;+ let r = e === "dark" || e === "system" && Zk().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 tA = !1;-function Boe() {- tA || (tA = !0, Qk().addEventListener("change", () => {- Xk().value.theme === "system" && eA();+var eA = !1;+function Voe() {+ eA || (eA = !0, Zk().addEventListener("change", () => {+ Yk().value.theme === "system" && $k();}));}//#endregion//#region src/appearance/layout.ts-var nA = [[+var tA = [["big","大图","maximize"@@ -30435,7 +30435,7 @@ var nA = [["small","小图","layout-grid"-]], rA = [[+]], nA = [["big","大图","maximize"@@ -30443,7 +30443,7 @@ var nA = [["small","小图","layout-grid"-]], iA = [[+]], rA = [["fixed","固定比例","layout-grid"@@ -30451,130 +30451,130 @@ var nA = [["masonry","瀑布流","columns-2"-]], aA = .75, oA = () => Xk().value, sA = (e = oA()) => ba(e.javLayout), Voe = (e = oA()) => ba(e.homeLayout), cA = (e, t = oA()) => e ? Voe(t) : sA(t), lA = rA.map(([e]) => e), uA = iA.map(([e]) => e), dA = (e = oA()) => Jk(e.photoSize, lA, "small"), fA = (e = oA()) => Jk(e.photoLayout, uA, "masonry"), pA = null;-function mA(e, t = oA()) {+]], iA = .75, aA = () => Yk().value, oA = (e = aA()) => ba(e.javLayout), Hoe = (e = aA()) => ba(e.homeLayout), sA = (e, t = aA()) => e ? Hoe(t) : oA(t), cA = nA.map(([e]) => e), lA = rA.map(([e]) => e), uA = (e = aA()) => qk(e.photoSize, cA, "small"), dA = (e = aA()) => qk(e.photoLayout, lA, "masonry"), fA = null;+function pA(e, t = aA()) {let n = {active: e.active,- size: cA(e.home, t),+ size: sA(e.home, t),portrait: e.portrait,javImage: t.javImage- }, r = pA;- return (!r || Object.keys(n).some((e) => n[e] !== r[e])) && (pA = n), pA;+ }, r = fA;+ return (!r || Object.keys(n).some((e) => n[e] !== r[e])) && (fA = n), fA;}-function hA(e) {- return e.portrait ? 9 / 16 : e.active && e.size === "big" ? aA : 16 / 9;+function mA(e) {+ return e.portrait ? 9 / 16 : e.active && e.size === "big" ? iA : 16 / 9;}-function Hoe(e, t = Xk()) {+function Uoe(e, t = Yk()) {t.value.homeLayout = ba(e), t.save();}-function gA(e, t = Xk()) {+function hA(e, t = Yk()) {t.value.javLayout = ba(e), t.save();}-function Uoe(e, t = Xk()) {+function Woe(e, t = Yk()) {t.value.homeLayout = t.value.javLayout = ba(e), t.save();}-function Woe(e, t = Xk()) {- t.value.photoSize = Jk(e, lA, "small"), t.save();+function Goe(e, t = Yk()) {+ t.value.photoSize = qk(e, cA, "small"), t.save();}-function _A(e, t = Xk()) {- t.value.photoLayout = Jk(e, uA, "masonry"), t.save();+function gA(e, t = Yk()) {+ t.value.photoLayout = qk(e, lA, "masonry"), t.save();}//#endregion//#region src/appearance/density.ts-var vA = "density", yA = {+var _A = "density", vA = {big: "336px",dense: "168px"-}, bA = () => localStorage.getItem(vA) === "dense" ? "dense" : "big";-function xA(e, t) {- let [n, r] = rA;+}, yA = () => localStorage.getItem(_A) === "dense" ? "dense" : "big";+function bA(e, t) {+ let [n, r] = nA;if (e.querySelector("[data-icon-swap]")) us(e, t === r[0] ? "b" : "a");else {let i = e.querySelector(":scope > [data-glass-drift]");e.innerHTML = ls(n[2], r[2], t === r[0] ? "b" : "a"), i && e.append(i);}- SA(e, "aria-label", t === "big" ? "切换为小图" : "切换为大图");+ xA(e, "aria-label", t === "big" ? "切换为小图" : "切换为大图");}-function SA(e, t, n) {+function xA(e, t, n) {e.getAttribute(t) !== n && e.setAttribute(t, n);}-var CA = () => document.querySelector("#density");-function wA(e = bA()) {+var SA = () => document.querySelector("#density");+function CA(e = yA()) {let t = document.documentElement;- t.style.getPropertyValue("--tile") !== yA[e] && t.style.setProperty("--tile", yA[e]), SA(document.body, "data-density", e);- let n = CA();- n && (SA(n, "aria-pressed", String(e === "dense")), SA(n, "title", "当前:" + (e === "big" ? "大图" : "密集")), xA(n, e === "big" ? "big" : "small"));+ t.style.getPropertyValue("--tile") !== vA[e] && t.style.setProperty("--tile", vA[e]), xA(document.body, "data-density", e);+ let n = SA();+ n && (xA(n, "aria-pressed", String(e === "dense")), xA(n, "title", "当前:" + (e === "big" ? "大图" : "密集")), bA(n, e === "big" ? "big" : "small"));}-function Goe() {- let e = bA() === "big" ? "dense" : "big";- localStorage.setItem(vA, e), wA(e);+function Koe() {+ let e = yA() === "big" ? "dense" : "big";+ localStorage.setItem(_A, e), CA(e);}-function Koe(e) {- let t = CA();- t && (SA(t, "aria-pressed", String(e === "small")), SA(t, "title", "当前:" + (e === "big" ? "大图" : "小图")), xA(t, e));+function qoe(e) {+ let t = SA();+ t && (xA(t, "aria-pressed", String(e === "small")), xA(t, "title", "当前:" + (e === "big" ? "大图" : "小图")), bA(t, e));}//#endregion//#region src/appearance/glow.ts-function TA(e = Xk()) {- koe(document.querySelector(".glowlayer"), e.value.homeGlow);+function wA(e = Yk()) {+ Aoe(document.querySelector(".glowlayer"), e.value.homeGlow);}-var EA = 0;-function DA(e = Xk()) {- EA ||= requestAnimationFrame(() => {- EA = 0, TA(e);+var TA = 0;+function EA(e = Yk()) {+ TA ||= requestAnimationFrame(() => {+ TA = 0, wA(e);});}-function OA(e = Xk()) {- Aoe(document.documentElement, e.value.homeGlow);+function DA(e = Yk()) {+ joe(document.documentElement, e.value.homeGlow);}-function kA(e = Xk()) {+function OA(e = Yk()) {document.documentElement.dataset.accent = e.value.accent;}-var AA = (e, t, n) => ({+var kA = (e, t, n) => ({key: e,label: t,- native: Fk(e),- fill: Fk(e) ? "" : Ooe(n)+ native: Pk(e),+ fill: Pk(e) ? "" : koe(n)});-function qoe(e) {- let t = Pk.map(([e, t, n]) => AA(e, t, Mk.map((e) => n[e].color)));- return e.preset === "custom" && t.push(AA("custom", "自定义", Mk.map((t) => e[t].color))), t;+function Joe(e) {+ let t = Nk.map(([e, t, n]) => kA(e, t, jk.map((e) => n[e].color)));+ return e.preset === "custom" && t.push(kA("custom", "自定义", jk.map((t) => e[t].color))), t;}-var jA = Rk;-function Joe(e, t = Xk()) {+var AA = Lk;+function Yoe(e, t = Yk()) {if (e === "custom") return;let n = t.value.homeGlow;- n.preset = e, Object.assign(n, Lk(e)), t.value.accent = Coe(e), t.save(), DA(t), OA(t), kA(t);+ n.preset = e, Object.assign(n, Ik(e)), t.value.accent = woe(e), t.save(), EA(t), DA(t), OA(t);}-function Yoe(e, t = Xk()) {- t.value.accent = Bk(e), t.save(), kA(t);+function Xoe(e, t = Yk()) {+ t.value.accent = zk(e), t.save(), OA(t);}-function Xoe(e = Xk()) {+function Zoe(e = Yk()) {let t = e.value.homeGlow;- t.preset = Uk.preset, Object.assign(t, Lk(t.preset)), e.value.accent = zk, e.save(), DA(e), OA(e), kA(e);+ t.preset = Hk.preset, Object.assign(t, Ik(t.preset)), e.value.accent = Rk, e.save(), EA(e), DA(e), OA(e);}-function MA(e, t) {- e.style.setProperty("--glow-swatch", t.on ? t.spot1.color : "var(--color-accent-500)"), e.toggleAttribute("data-glow-native", t.on && Fk(t.preset)), e.toggleAttribute("data-glow-off", !t.on);+function jA(e, t) {+ e.style.setProperty("--glow-swatch", t.on ? t.spot1.color : "var(--color-accent-500)"), e.toggleAttribute("data-glow-native", t.on && Pk(t.preset)), e.toggleAttribute("data-glow-off", !t.on);}-function Zoe(e, t = Xk()) {- return MA(e, t.value.homeGlow), t.subscribe(() => MA(e, t.value.homeGlow));+function Qoe(e, t = Yk()) {+ return jA(e, t.value.homeGlow), t.subscribe(() => jA(e, t.value.homeGlow));}//#endregion//#region src/react/components/glow-preset-grid.tsx-function NA({ store: e, label: t, hidden: n }) {+function MA({ store: e, label: t, hidden: n }) {let r = e.value.homeGlow;return /* @__PURE__ */ (0, O.jsx)("div", {"data-glow-grid": "",role: "group","aria-label": t,hidden: n,- children: qoe(r).map((t) => /* @__PURE__ */ (0, O.jsx)("button", {+ children: Joe(r).map((t) => /* @__PURE__ */ (0, O.jsx)("button", {type: "button","data-glow-chip": "","data-glow-preset": t.key,"aria-pressed": t.key === r.preset,title: t.label,"aria-label": t.label,- onClick: () => Joe(t.key, e),+ onClick: () => Yoe(t.key, e),children: /* @__PURE__ */ (0, O.jsx)("span", {"data-glow-ball": "","aria-hidden": "true",@@ -30586,14 +30586,14 @@ function NA({ store: e, label: t, hidden: n }) {}//#endregion//#region src/react/glow-picker/glow-picker-island.tsx-var PA = null;-function Qoe(e) {- PA = e;+var NA = null;+function $oe(e) {+ NA = e;}-function $oe() {- return PA ? /* @__PURE__ */ (0, O.jsx)(ese, { host: PA }) : null;+function ese() {+ return NA ? /* @__PURE__ */ (0, O.jsx)(tse, { host: NA }) : null;}-function ese({ host: e }) {+function tse({ host: e }) {let { store: t } = e;(0, D.useSyncExternalStore)(t.subscribe, t.version);let { homeGlow: n, accent: r } = t.value;@@ -30605,11 +30605,11 @@ function ese({ host: e }) {children: [/* @__PURE__ */ (0, O.jsx)("span", { children: "光晕" }), /* @__PURE__ */ (0, O.jsx)("button", {type: "button","data-glow-preset-reset": "",- onClick: () => Xoe(t),+ onClick: () => Zoe(t),children: "重置"})]}),- /* @__PURE__ */ (0, O.jsx)(NA, {+ /* @__PURE__ */ (0, O.jsx)(MA, {store: t,label: "光晕",hidden: !n.on@@ -30623,14 +30623,14 @@ function ese({ host: e }) {"data-accent-grid": "",role: "group","aria-label": "强调色",- children: jA.map(([e, n]) => /* @__PURE__ */ (0, O.jsx)("button", {+ children: AA.map(([e, n]) => /* @__PURE__ */ (0, O.jsx)("button", {type: "button","data-glow-chip": "","data-accent": e,"aria-pressed": e === r,title: n,"aria-label": n,- onClick: () => Yoe(e, t),+ onClick: () => Xoe(e, t),children: /* @__PURE__ */ (0, O.jsx)("span", {"data-glow-ball": "","aria-hidden": "true",@@ -30649,32 +30649,32 @@ function ese({ host: e }) {}//#endregion//#region src/player/host.ts-var FA = null;-function tse(e) {- FA = e;+var PA = null;+function nse(e) {+ PA = e;}-function IA() {- if (!FA) throw Error("播放器还没有接上宿主(configurePlayer)");- return FA;+function FA() {+ if (!PA) throw Error("播放器还没有接上宿主(configurePlayer)");+ return PA;}//#endregion//#region src/player/menu.ts-var LA = null;-function nse(e) {- LA = e;+var IA = null;+function rse(e) {+ IA = e;}-function rse() {+function ise() {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 RA = null, zA = (e, t) => t ? e.replace("<svg", `<svg ${t}=""`) : e;-function BA() {+var LA = null, RA = (e, t) => t ? e.replace("<svg", `<svg ${t}=""`) : e;+function zA() {let e = document.getElementById("playerMenu");e?.matches(":popover-open") && e.hidePopover(), e && e.parentElement !== document.body && document.body.append(e), e && Eo(e, () => {e.innerHTML = "";- }), RA &&= (RA(), null);+ }), LA &&= (LA(), null);}-async function ise(e) {+async function ase(e) {try {return await navigator.clipboard.writeText(e), !0;} catch {@@ -30687,8 +30687,8 @@ async function ise(e) {return t.remove(), n;}}-function ase(e) {- let t = !!LA?.inMiniplayer(e), n = e.peachItem, r = LA?.kind(e) ?? "item", i = (t) => {+function ose(e) {+ let t = !!IA?.inMiniplayer(e), n = e.peachItem, r = IA?.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);@@ -30704,7 +30704,7 @@ function ase(e) {}return t && i.searchParams.set("t", String(Math.floor(e.currentTime() || 0))), i.href;}, a = (e, t) => {- ise(i(e)).then((e) => IA().toast(e ? t : "复制失败,请手动复制地址栏", {+ ase(i(e)).then((e) => FA().toast(e ? t : "复制失败,请手动复制地址栏", {timeout: 4e3,warn: !e}));@@ -30716,11 +30716,11 @@ function ase(e) {}, t ? {icon: "maximize-2",label: "展开",- run: () => LA?.expand()+ run: () => IA?.expand()} : {icon: "picture-in-picture-2",label: "迷你播放器",- run: () => LA?.toMiniplayer()+ run: () => IA?.toMiniplayer()}];document.pictureInPictureEnabled && o.push({icon: "player-pip",@@ -30743,29 +30743,29 @@ function ase(e) {run: () => s.click()}), o;}-function ose(e, t, n) {- let r = rse();- BA();- let i = IA().stage();+function sse(e, t, n) {+ let r = ise();+ zA();+ let i = FA().stage();i instanceof HTMLDialogElement && i.open && i.append(r), r.setAttribute("popover", "manual");- let a = ase(e);+ let a = ose(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}">${zA(L(e.icon), e.fill ? "data-player-menu-fill" : "")}<span>${z(e.label)}</span>${n ? zA(L("check"), "data-player-menu-check") : ""}</button>`;+ return `<button type="button" role="${n ? "menuitemcheckbox" : "menuitem"}"${n ? ` aria-checked="${e.checked}"` : ""} data-player-menu="${t}">${RA(L(e.icon), e.fill ? "data-player-menu-fill" : "")}<span>${z(e.label)}</span>${n ? RA(L("check"), "data-player-menu-check") : ""}</button>`;}).join(""), To(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)];- BA(), n?.run();+ zA(), n?.run();};});let s = (e) => {- r.contains(e.target) || BA();+ r.contains(e.target) || zA();}, c = (e) => {if (e.key === "Escape") {- e.preventDefault(), e.stopPropagation(), BA();+ e.preventDefault(), e.stopPropagation(), zA();return;}if (e.key !== "ArrowDown" && e.key !== "ArrowUp") return;@@ -30773,51 +30773,51 @@ function ose(e, t, n) {let t = o.indexOf(document.activeElement);o[(t + (e.key === "ArrowDown" ? 1 : -1) + o.length) % o.length]?.focus();}, l = (t) => {- Oo(t, e.el()) && BA();+ Oo(t, e.el()) && zA();};setTimeout(() => {document.addEventListener("pointerdown", s, !0), document.addEventListener("keydown", c, !0), window.addEventListener("scroll", l, {capture: !0,passive: !0});- }, 0), RA = () => {+ }, 0), LA = () => {document.removeEventListener("pointerdown", s, !0), document.removeEventListener("keydown", c, !0), window.removeEventListener("scroll", l, !0);}, o[0]?.focus();}-function sse(e) {+function cse(e) {e.el().addEventListener("contextmenu", (t) => {- t.target.closest(".vjs-peach-settings-menu") || (t.preventDefault(), ose(e, t.clientX, t.clientY));- }), e.on("dispose", BA);+ t.target.closest(".vjs-peach-settings-menu") || (t.preventDefault(), sse(e, t.clientX, t.clientY));+ }), e.on("dispose", zA);}//#endregion//#region src/player/registry.ts-var VA = null, HA = () => VA;-function UA(e) {- VA = e;+var BA = null, VA = () => BA;+function HA(e) {+ BA = e;}-function WA(e) {+function UA(e) {e && !e.isDisposed() && requestAnimationFrame(() => {e.isDisposed() || e.trigger("resize");});}//#endregion//#region src/player/stats.ts-function GA(e) {+function WA(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 cse(e) {+function lse(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 KA = 3e3;-function qA(e, t) {+var GA = 3e3;+function KA(e, t) {let n = Number(e) || 0, r = hn(t) || 0;return n > 0 && r > 0 ? n * 8 / r : 0;}-function lse(e) {+function use(e) {let t = [], n = null, r = 0, i = 0;return {bitrate: Number(e) || 0,@@ -30832,10 +30832,10 @@ function lse(e) {},sample(e) {if (!e) return i;- let a = performance.now(), o = cse(e), s = e.currentTime || 0;+ let a = performance.now(), o = lse(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 > KA * 2 && (t.length = 0);+ !i && c > 0 && (r += c), e * 1e3 > GA * 2 && (t.length = 0);}for (n = {at: a,@@ -30844,56 +30844,56 @@ function lse(e) {}, t.push({at: a,advanced: r- }); t.length > 2 && a - t[0].at > KA;) t.shift();+ }); t.length > 2 && a - t[0].at > GA;) 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 JA = 24;-function YA(e, t) {- e.push(Number.isFinite(t) && t > 0 ? t : 0), e.length > JA && e.splice(0, e.length - JA);+var qA = 24;+function JA(e, t) {+ e.push(Number.isFinite(t) && t > 0 ? t : 0), e.length > qA && e.splice(0, e.length - qA);}-var XA = "peach-player-panel";-function ZA(e, t, n, r) {- let i = [...Array(Math.max(0, JA - e.length)).fill(null), ...e], a = Math.max(1, n || 0), o = i.map((e) => {+var YA = "peach-player-panel";+function XA(e, t, n, r) {+ let i = [...Array(Math.max(0, qA - 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 use() {+function dse() {return `<button data-player-stats-button="" id="playerStatsBtn" aria-label="播放统计" title="播放统计" aria-pressed="false" hidden>${L("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 QA(e, t = "") {+function ZA(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 $A(e, t = "") {- let n = QA(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 QA(e, t = "") {+ let n = ZA(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 ej(e, t, n = "", r = null) {+function $A(e, t, n = "", r = null) {let i = 0;try {i = Number(e?.bandwidth?.()) || 0;} catch {}- return i > 0 ? i : r ? Number(r.bits) || 0 : $A(t, n);+ return i > 0 ? i : r ? Number(r.bits) || 0 : QA(t, n);}-function tj(e) {+function ej(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 dse(e, t) {- return e > 0 ? tj(e) : t > 0 ? `已缓冲 ${Math.round(t)} 秒` : tj(0);+function fse(e, t) {+ return e > 0 ? ej(e) : t > 0 ? `已缓冲 ${Math.round(t)} 秒` : ej(0);}//#endregion//#region src/player/subtitle-style.ts-var nj = {+var tj = {font: {label: "字体",values: [@@ -30996,7 +30996,7 @@ var nj = {["shadow", "阴影"]]}-}, rj = {+}, nj = {font: "sans",size: "100",color: "white",@@ -31006,7 +31006,7 @@ var nj = {window: "black",windowOpacity: "0",edge: "shadow"-}, ij = "peach.caption-style.v1", fse = {+}, rj = "peach.caption-style.v1", pse = {white: "255,255,255",yellow: "255,255,0",green: "0,255,0",@@ -31015,7 +31015,7 @@ var nj = {magenta: "255,0,255",red: "255,0,0",black: "0,0,0"-}, pse = {+}, mse = {sans: "Arial,sans-serif",mono: "Consolas,monospace",serif: "Georgia,serif",@@ -31023,28 +31023,28 @@ var nj = {casual: "\"Comic Sans MS\",sans-serif",cursive: "cursive","small-caps": "Arial,sans-serif"-}, mse = {+}, hse = {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 hse() {+function gse() {let e = {};try {- e = JSON.parse(localStorage.getItem(ij) || "{}") || {};+ e = JSON.parse(localStorage.getItem(rj) || "{}") || {};} catch {}- return Object.fromEntries(Object.entries(rj).map(([t, n]) => [t, nj[t].values.some(([n]) => n === e[t]) ? e[t] : n]));+ return Object.fromEntries(Object.entries(nj).map(([t, n]) => [t, tj[t].values.some(([n]) => n === e[t]) ? e[t] : n]));}-function aj(e, t, n) {- let r = hse(), i = document.createElement("div");+function ij(e, t, n) {+ let r = gse(), i = document.createElement("div");i.className = "vjs-peach-captions", i.setAttribute("aria-hidden", "true");let a = document.createElement("div");a.className = "vjs-peach-caption-window", i.append(a), e.querySelector("media-container").append(i), e.dataset.peachCaptions = "";let o = () => {- let t = (e, t) => `rgba(${fse[e]},${Number(t) / 100})`;- e.style.setProperty("--peach-caption-font", pse[r.font]), e.style.setProperty("--peach-caption-scale", String(Number(r.size) / 100)), e.style.setProperty("--peach-caption-color", t(r.color, r.opacity)), e.style.setProperty("--peach-caption-background", t(r.background, r.backgroundOpacity)), e.style.setProperty("--peach-caption-window", t(r.window, r.windowOpacity)), e.style.setProperty("--peach-caption-edge", mse[r.edge]), e.style.setProperty("--peach-caption-variant", r.font === "small-caps" ? "small-caps" : "normal");+ let t = (e, t) => `rgba(${pse[e]},${Number(t) / 100})`;+ e.style.setProperty("--peach-caption-font", mse[r.font]), e.style.setProperty("--peach-caption-scale", String(Number(r.size) / 100)), e.style.setProperty("--peach-caption-color", t(r.color, r.opacity)), e.style.setProperty("--peach-caption-background", t(r.background, r.backgroundOpacity)), e.style.setProperty("--peach-caption-window", t(r.window, r.windowOpacity)), e.style.setProperty("--peach-caption-edge", hse[r.edge]), e.style.setProperty("--peach-caption-variant", r.font === "small-caps" ? "small-caps" : "normal");}, s = () => {a.replaceChildren();for (let e of t.textTracks) if (e.mode === "showing" && ["subtitles", "captions"].includes(e.kind)) for (let t of Array.from(e.activeCues || [])) {@@ -31059,27 +31059,27 @@ function aj(e, t, n) {return t.textTracks.addEventListener("addtrack", l, { signal: n }), t.textTracks.addEventListener("removetrack", l, { signal: n }), t.textTracks.addEventListener("change", s, { signal: n }), o(), l(), {current: () => r,set(e, t) {- if (nj[e].values.some(([e]) => e === t)) {+ if (tj[e].values.some(([e]) => e === t)) {r = {...r,[e]: t}, o();try {- localStorage.setItem(ij, JSON.stringify(r));+ localStorage.setItem(rj, JSON.stringify(r));} catch {}}},reset() {- r = { ...rj }, o();+ r = { ...nj }, o();try {- localStorage.removeItem(ij);+ localStorage.removeItem(rj);} catch {}}};}//#endregion//#region src/player/subtitle-memory.ts-var oj = /* @__PURE__ */ new Map(), sj = class {+var aj = /* @__PURE__ */ new Map(), oj = class {player;video;changed;@@ -31128,7 +31128,7 @@ var oj = /* @__PURE__ */ new Map(), sj = class {}save(e) {if (!this.url) return Promise.resolve();- let t = (oj.get(this.url) || Promise.resolve()).catch(() => {}).then(async () => {+ let t = (aj.get(this.url) || Promise.resolve()).catch(() => {}).then(async () => {let t = await fetch(this.url, {method: "PUT",headers: { "Content-Type": "application/json" },@@ -31142,15 +31142,15 @@ var oj = /* @__PURE__ */ new Map(), sj = class {let n = !!this.error;this.error = "", n && !this.cleanup.signal.aborted && this.changed();});- return oj.set(this.url, t), t.finally(() => {- oj.get(this.url) === t && oj.delete(this.url);+ return aj.set(this.url, t), t.finally(() => {+ aj.get(this.url) === t && aj.delete(this.url);}).catch(() => {}), t;}async restore() {if (!this.url) return;let e = this.cleanup.signal;try {- if (await oj.get(this.url)?.catch(() => {}), e.aborted) return;+ if (await aj.get(this.url)?.catch(() => {}), e.aborted) return;let t = await R(this.url, { signal: e });if (e.aborted) return;this.selected === void 0 && (this.selected = t.selected), this.apply();@@ -31205,7 +31205,7 @@ var oj = /* @__PURE__ */ new Map(), sj = class {throw a.remove(), URL.revokeObjectURL(i), e;}}-}, cj = () => "<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>", gse = class {+}, sj = () => "<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>", _se = class {player;video;panels;@@ -31224,7 +31224,7 @@ var oj = /* @__PURE__ */ new Map(), sj = class {more = !1;searched = !1;constructor(e, t, n) {- this.player = e, this.video = t, this.panels = n, this.styles = aj(e.el(), t, this.cleanup.signal), this.cc = e.el().querySelector(".vjs-subtitles-control > button"), this.cc.innerHTML = cj(), this.cc.onclick = () => {+ this.player = e, this.video = t, this.panels = n, this.styles = ij(e.el(), t, this.cleanup.signal), this.cc = e.el().querySelector(".vjs-subtitles-control > button"), this.cc.innerHTML = sj(), this.cc.onclick = () => {let e = this.tracks().find((e) => e.mode === "showing");e ? (this.last = e, this.select(null)) : this.tracks().length ? this.select(this.last && this.tracks().includes(this.last) ? this.last : this.tracks()[0]) : this.show();}, this.input.type = "file", this.input.accept = ".srt,.ass,.ssa,.vtt", this.input.hidden = !0, this.input.setAttribute("aria-label", "加载字幕文件"), e.el().append(this.input), this.input.addEventListener("change", () => {@@ -31234,7 +31234,7 @@ var oj = /* @__PURE__ */ new Map(), sj = class {this.sync(), this.page === "tracks" && this.show(0);}, { signal: this.cleanup.signal }), e.on("dispose", () => {this.hide(), this.cleanup.abort();- }), this.session = new sj(e, t, () => {+ }), this.session = new oj(e, t, () => {this.sync(), this.page === "tracks" && this.show(0);}), this.sync();}@@ -31282,7 +31282,7 @@ var oj = /* @__PURE__ */ new Map(), sj = 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(nj).map(([e, n]) => {+ let t = this.styles.current(), n = this.panel(this.header("字幕选项") + `<div class="vjs-peach-panel-menu">${Object.entries(tj).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>${L("player-menu-next")}</button>`;}).join("")}<button type="button" class="vjs-peach-caption-action" data-subtitle-reset>重置</button></div>`, () => this.show(-1), e);@@ -31294,7 +31294,7 @@ var oj = /* @__PURE__ */ new Map(), sj = class {}styleOptions(e) {this.page = "style";- let t = nj[e];+ let t = tj[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 ? L("check") : ""}</span><span class="vjs-peach-option-label">${z(n)}</span></button>`;@@ -31411,7 +31411,7 @@ var oj = /* @__PURE__ */ new Map(), sj = class {};//#endregion//#region src/player/controls.ts-function lj(e, t, n = "") {+function cj(e, t, n = "") {if (!e) return () => {};let r = e.querySelector(":scope>.vjs-peach-tooltip");r || (r = document.createElement("span"), r.className = "vjs-peach-tooltip", r.setAttribute("role", "tooltip"), r.innerHTML = "<span class=\"vjs-peach-tooltip-text\"></span><kbd hidden></kbd>", e.append(r));@@ -31422,27 +31422,27 @@ function lj(e, t, n = "") {};return o(), o;}-function uj(e, t) {+function lj(e, t) {e?.closest(".video-js")?.querySelector(`.vjs-control-bar ${t}`)?.click();}-function _se(e, t = !0) {- let n = IA(), r = n.settings();+function vse(e, t = !0) {+ let n = FA(), 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 dj = /* @__PURE__ */ new WeakMap();-function fj(e) {+var uj = /* @__PURE__ */ new WeakMap();+function dj(e) {if (!e) return;- let t = IA().settings().theaterMode;- e.setAttribute("aria-pressed", String(t)), e.querySelector("use")?.setAttribute("href", t ? "#i-theater-exit" : "#i-theater-enter"), dj.get(e)?.(t ? "默认视图" : "影院模式");+ let t = FA().settings().theaterMode;+ e.setAttribute("aria-pressed", String(t)), e.querySelector("use")?.setAttribute("href", t ? "#i-theater-exit" : "#i-theater-enter"), uj.get(e)?.(t ? "默认视图" : "影院模式");}-function pj(e, t = !0) {- let n = IA(), r = n.settings();+function fj(e, t = !0) {+ let n = FA(), r = n.settings();r.theaterMode = !!e, t && n.saveSettings();let i = n.stage();- i?.toggleAttribute("data-theater", r.theaterMode), fj(i?.querySelector("[data-player-theater]")), WA(HA());+ i?.toggleAttribute("data-theater", r.theaterMode), dj(i?.querySelector("[data-player-theater]")), UA(VA());}-function vse(e) {- let t = IA().stage(), n = t?.querySelector("[data-ambient-canvas]");+function yse(e) {+ let t = FA().stage(), n = t?.querySelector("[data-ambient-canvas]");if (!t || !n) return () => {};let r = n.getContext("2d", { alpha: !1 });if (!r) return () => {};@@ -31465,9 +31465,9 @@ function vse(e) {}, u = (t) => {e.requestVideoFrameCallback ? e.requestVideoFrameCallback((e) => d(t, e)) : requestAnimationFrame((e) => d(t, e));}, d = (t, n) => {- i || t !== o || (IA().settings().ambientMode ? e.paused || (!document.hidden && n - a > 480 && (a = n, l()), u(t)) : c());+ i || t !== o || (FA().settings().ambientMode ? e.paused || (!document.hidden && n - a > 480 && (a = n, l()), u(t)) : c());}, f = () => {- !i && IA().settings().ambientMode && (l(), e.paused || u(++o));+ !i && FA().settings().ambientMode && (l(), e.paused || u(++o));}, p = (e) => {let n = !!e.detail.enabled;t.toggleAttribute("data-ambient", n), n ? f() : (o++, c());@@ -31476,7 +31476,7 @@ function vse(e) {i = !0, o++, document.removeEventListener("peachambientchange", p), e.removeEventListener("play", f), e.removeEventListener("loadeddata", f), c();};}-function mj(e, t, n = 0, r = null) {+function pj(e, t, n = 0, r = null) {let i = e.el().querySelector(".vjs-control-bar");if (!i || i.querySelector("[data-player-quality]")) return;let a = document.createElement("div");@@ -31486,7 +31486,7 @@ function mj(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]");- lj(s, "设置");+ cj(s, "设置");let l = a.querySelector(".vjs-peach-settings-menu"), u, d = typeof e.qualityLevels == "function" ? e.qualityLevels() : null, f = r, p = "auto", m = (e, t) => {let n = [Number(e), Number(t)].filter((e) => e > 0);return n.length ? Math.min(...n) : 0;@@ -31526,11 +31526,11 @@ function mj(e, t, n = 0, r = null) {active: n};}, _ = () => l.getAttribute("aria-hidden") !== "true", v = (e) => {- l.setAttribute("aria-hidden", String(!e)), s.setAttribute("aria-expanded", String(e)), e || u?.hide(), e && document.dispatchEvent(new CustomEvent(XA, { detail: "settings" }));+ l.setAttribute("aria-hidden", String(!e)), s.setAttribute("aria-expanded", String(e)), e || u?.hide(), e && document.dispatchEvent(new CustomEvent(YA, { detail: "settings" }));}, y = () => v(!1), b = (e) => {e.detail !== "settings" && y();};- document.addEventListener(XA, b);+ document.addEventListener(YA, b);let x = null, S = 0, C = (e, t) => {let n = ++S;x && (clearTimeout(x), x = null, l.classList.remove("vjs-peach-popup-animating"), l.style.height = ""), l.querySelectorAll(".vjs-peach-panel-leaving").forEach((e) => e.remove()), l.scrollTop = 0;@@ -31546,13 +31546,13 @@ function mj(e, t, n = 0, r = null) {}), i;}, w = (e, t) => e.querySelector(t), T = "main", E = (t = 0) => {T = "main";- let { active: n } = g(), r = Number(e.playbackRate()) || 1, i = C(`<div class="vjs-peach-panel-menu"><button type="button" class="vjs-peach-menu-row" role="menuitemcheckbox" data-player-ambient aria-checked="${IA().settings().ambientMode}">+ let { active: n } = g(), r = Number(e.playbackRate()) || 1, i = C(`<div class="vjs-peach-panel-menu"><button type="button" class="vjs-peach-menu-row" role="menuitemcheckbox" data-player-ambient aria-checked="${FA().settings().ambientMode}">${L("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>${L("player-speed")}<span>播放速度</span><b>${r === 1 ? "正常" : `${r}×`}</b>${L("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">${cj()}</span><span>字幕</span><b>${z(u?.label() || "关闭")}</b>${L("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">${sj()}</span><span>字幕</span><b>${z(u?.label() || "关闭")}</b>${L("player-menu-next")}</button><button type="button" class="vjs-peach-menu-row" role="menuitem" data-player-quality-view>${L("player-quality")}<span>清晰度</span><b>${z(n.label)}</b>${L("player-menu-next")}</button></div>`, t);w(i, "[data-player-ambient]").onclick = () => {- _se(!IA().settings().ambientMode), E();+ vse(!FA().settings().ambientMode), E();}, w(i, "[data-player-speed]").onclick = () => A(), w(i, "[data-player-subtitles]").onclick = () => u?.show(), w(i, "[data-player-quality-view]").onclick = () => M();}, D = .05, O = [1,@@ -31632,8 +31632,8 @@ function mj(e, t, n = 0, r = null) {"removequalitylevel","change"], N), e.on("dispose", () => {- S++, document.removeEventListener("pointerdown", ee), document.removeEventListener(XA, b), x && clearTimeout(x);- }), u = new gse(e, t, {+ S++, document.removeEventListener("pointerdown", ee), document.removeEventListener(YA, b), x && clearTimeout(x);+ }), u = new _se(e, t, {render: C,open: () => {T = "subtitles", v(!0);@@ -31642,21 +31642,21 @@ function mj(e, t, n = 0, r = null) {back: () => {u?.hide(), E(-1);}- }), g(), yse(e, a), bse(e), (e) => {+ }), g(), bse(e, a), xse(e), (e) => {f = e?.length ? e : null, N();};}-function yse(e, t) {+function bse(e, t) {let n = e.el().querySelector(".vjs-control-bar");if (!n || n.querySelector("[data-player-theater]")) return;- let r = IA().settings().theaterMode, i = document.createElement("div");+ let r = FA().settings().theaterMode, i = document.createElement("div");i.className = "vjs-peach-theater vjs-control", i.innerHTML = `<button type="button" data-player-theater aria-pressed="${r}">${L(r ? "theater-exit" : "theater-enter")}</button>`, n.insertBefore(i, t.nextSibling);let a = i.querySelector("button");- dj.set(a, lj(a, "影院模式", "T")), fj(a), a.onclick = (e) => {- e.stopPropagation(), pj(!IA().settings().theaterMode);+ uj.set(a, cj(a, "影院模式", "T")), dj(a), a.onclick = (e) => {+ e.stopPropagation(), fj(!FA().settings().theaterMode);};}-function bse(e) {+function xse(e) {let t = e.el().querySelector(".vjs-control-bar");if (!t || t.querySelector(".vjs-peach-right-controls")) return;let n = t.querySelector(":scope>.vjs-play-control");@@ -31668,7 +31668,7 @@ function bse(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 = lj(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 = cj(n, "播放", "K"), u = CSS.supports("d", "path(\"M0 0\")"), d = () => {let t = e.paused() || e.ended(), n = t ? s : c;o && (u ? o.style.setProperty("d", `path("${n}")`) : o.setAttribute("d", n)), l(t ? "播放" : "暂停");};@@ -31679,7 +31679,7 @@ function bse(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 = lj(p, "静音", "M"), g = () => {+ let h = cj(p, "静音", "M"), g = () => {let t = e.muted() || e.volume() === 0;m && (m.dataset.silent = String(t), m.dataset.loud = String(!t && e.volume() > .5)), h(t ? "取消静音" : "静音");};@@ -31705,7 +31705,7 @@ function bse(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 = lj(x, "显示剩余时间"), T = () => {+ let C = x.querySelector(".vjs-peach-time-text"), w = cj(x, "显示剩余时间"), T = () => {let t = Math.max(0, Number(e.currentTime()) || 0), n = Math.max(0, Number(e.duration()) || 0), r = _n(Math.max(0, n - t));C.textContent = `${S ? `-${r}` : _n(t)} / ${_n(n)}`, x.dataset.remaining = String(S), w(S ? "显示已播放时间" : "显示剩余时间", S ? `剩余 ${r},总时长 ${_n(n)};点击显示已播放时间` : `已播放 ${_n(t)},总时长 ${_n(n)};点击显示剩余时间`);};@@ -31717,12 +31717,12 @@ function bse(e) {"loadedmetadata"], T), T(), f ? f.insertAdjacentElement("afterend", x) : t.append(x);let E = t.querySelector(":scope>.vjs-picture-in-picture-control");- lj(t.querySelector(".vjs-subtitles-control>button"), "字幕"), r(E, "player-pip");- let D = lj(E, "画中画");+ cj(t.querySelector(".vjs-subtitles-control>button"), "字幕"), r(E, "player-pip");+ let D = cj(E, "画中画");e.on(["enterpictureinpicture", "leavepictureinpicture"], () => D(document.pictureInPictureElement ? "退出画中画" : "画中画"));- let O = t.querySelector(":scope>.vjs-fullscreen-control"), k = r(O, "player-fullscreen-enter"), A = lj(O, "全屏", "F"), j = () => {+ let O = t.querySelector(":scope>.vjs-fullscreen-control"), k = r(O, "player-fullscreen-enter"), A = cj(O, "全屏", "F"), j = () => {let t = !!e.isFullscreen();- e.el().toggleAttribute("data-peach-fullscreen", t), k?.setAttribute("href", t ? "#i-player-fullscreen-exit" : "#i-player-fullscreen-enter"), A(t ? "退出全屏" : "全屏"), WA(e);+ e.el().toggleAttribute("data-peach-fullscreen", t), k?.setAttribute("href", t ? "#i-player-fullscreen-exit" : "#i-player-fullscreen-enter"), A(t ? "退出全屏" : "全屏"), UA(e);};e.on(["fullscreenchange",@@ -31743,7 +31743,7 @@ function bse(e) {});let ee = document.createElement("div");ee.className = "vjs-peach-expand vjs-control", ee.innerHTML = `<button type="button" data-player-expand aria-expanded="false">${L("player-expand")}</button><span class="vjs-peach-hover" aria-hidden="true"></span>`, N.prepend(ee);- let te = ee.querySelector("button"), P = lj(te, "展开控件"), ne = (t) => {+ let te = ee.querySelector("button"), P = cj(te, "展开控件"), ne = (t) => {e.el().classList.toggle("vjs-peach-right-expanded", t), te.setAttribute("aria-expanded", String(t)), P(t ? "收起控件" : "展开控件");};te.onclick = (t) => {@@ -31755,7 +31755,7 @@ function bse(e) {}, re = new ResizeObserver(F);re.observe(e.el()), e.on("dispose", () => re.disconnect()), ne(!1), F();}-function hj(e, t, n = {}) {+function mj(e, t, n = {}) {let r = e.el().querySelector(".vjs-control-bar .vjs-progress-control");if (!r || r.querySelector("[data-player-seek-preview]")) return;let i = !!t && n.thumbnail !== !1, a = document.createElement("div");@@ -31789,13 +31789,13 @@ function hj(e, t, n = {}) {r.removeEventListener("pointermove", p), r.removeEventListener("pointerleave", m);});}-function xse(e, t) {+function Sse(e, t) {let n = navigator.mediaSession;if (!n || typeof n.setActionHandler != "function") return;let r = () => hn(e.duration()) || hn(t.duration) || 0, i = (t) => {let n = r();e.currentTime(Math.max(0, n ? Math.min(n, t) : t));- }, a = () => Math.max(1, Number(IA().settings().seekSeconds) || 10), o = [+ }, a = () => Math.max(1, Number(FA().settings().seekSeconds) || 10), o = [["play", () => {e.play();}],@@ -31836,11 +31836,11 @@ function xse(e, t) {} catch {}});}-function gj(e) {+function hj(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 _j(e, t) {+function gj(e, t) {R(`/api/assets/${t}/subtitles`).then((t) => {e && !e.isDisposed() && (t?.subtitles || []).filter((e) => e.playable).forEach((t) => {e.addRemoteTextTrack({@@ -31856,35 +31856,35 @@ function _j(e, t) {}//#endregion//#region src/player/progress.ts-var vj = "peach.playback-position.v1", yj = /* @__PURE__ */ new WeakMap();-function bj(e) {- yj.get(e)?.(), yj.delete(e);+var _j = "peach.playback-position.v1", vj = /* @__PURE__ */ new WeakMap();+function yj(e) {+ vj.get(e)?.(), vj.delete(e);}-function xj(e, t, n = null) {+function bj(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 Sse(e) {+function Cse(e) {try {- let t = localStorage.getItem(`${vj}:${e}`), n = t === null || !t.trim() ? NaN : Number(t);+ let t = localStorage.getItem(`${_j}:${e}`), n = t === null || !t.trim() ? NaN : Number(t);return Number.isFinite(n) && n >= 0 ? n : null;} catch {return null;}}-function Cse(e, t) {- let n = Sse(e);+function wse(e, t) {+ let n = Cse(e);if (n !== null) return n;let r = Number(t.leave_ratio);return r > 0 && r < 1 ? r * hn(t.duration) : 0;}-function wse(e, t) {- bj(t);+function Tse(e, t) {+ yj(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(`${vj}:${e}`, String(r));+ localStorage.setItem(`${_j}:${e}`, String(r));} catch {}}, i = () => {n = !0;@@ -31898,7 +31898,7 @@ function wse(e, t) {"pause","ended"]) t.addEventListener(e, r);- window.addEventListener("pagehide", r), document.addEventListener("visibilitychange", r), yj.set(t, () => {+ window.addEventListener("pagehide", r), document.addEventListener("visibilitychange", r), vj.set(t, () => {r(), t.removeEventListener("loadedmetadata", i), t.removeEventListener("emptied", a);for (let e of ["timeupdate",@@ -31911,19 +31911,19 @@ function wse(e, t) {}//#endregion//#region src/player/telemetry.ts-var Sj = /* @__PURE__ */ new WeakMap();-function Cj(e) {- Sj.get(e)?.(), Sj.delete(e);+var xj = /* @__PURE__ */ new WeakMap();+function Sj(e) {+ xj.get(e)?.(), xj.delete(e);}-function wj(e, t, n, r) {+function Cj(e, t, n, r) {let i = () => t(!1), a = () => {n(), t(!1);};- e.addEventListener("seeking", r), e.addEventListener("emptied", a), window.addEventListener("pagehide", i), Sj.set(e, () => {+ e.addEventListener("seeking", r), e.addEventListener("emptied", a), window.addEventListener("pagehide", i), xj.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 Tj(e, t, n = {}) {+function wj(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 = hn(e.duration) || hn(t.duration);@@ -31964,11 +31964,11 @@ function Tj(e, t, n = {}) {u(), l(!1);}, t.onended = () => {u(), l(!0), n.onEnded?.();- }, wj(t, l, u, () => {+ }, Cj(t, l, u, () => {a++;}), c();}-function Tse(e, t) {+function Ese(e, t) {let n = 0, r = 0, i = !1, a = null, o = (n) => {let i = hn(e.duration) || hn(t.duration);(r || n) && (R("/api/follow/activity", {@@ -31999,24 +31999,24 @@ function Tse(e, t) {s(), o(!1);}, t.onended = () => {s(), o(!0);- }, wj(t, o, s, () => {});+ }, Cj(t, o, s, () => {});}//#endregion//#region src/player/dispose.ts-function Ej(e) {+function Tj(e) {if (!e || e.isDisposed()) return;let t = e.el()?.querySelector("video");try {e.pause();} catch {}- t && (bj(t), Cj(t));+ t && (yj(t), Sj(t));try {e.dispose();} catch {}}//#endregion//#region src/core/random-id.ts-function Dj() {+function Ej() {if (typeof crypto.randomUUID == "function") return crypto.randomUUID();let e = crypto.getRandomValues(/* @__PURE__ */ new Uint8Array(16));e[6] = e[6] & 15 | 64, e[8] = e[8] & 63 | 128;@@ -32025,23 +32025,23 @@ function Dj() {}//#endregion//#region src/player/stream.ts-function Oj() {- return Dj();+function Dj() {+ return Ej();}-function kj(e, t) {+function Oj(e, t) {return {src: `/stream?id=${e.id}&session=${encodeURIComponent(t)}`,type: String(e.name || "").toLowerCase().endsWith(".webm") ? "video/webm" : "video/mp4"};}-function Ese(e) {+function Dse(e) {return e.location === "online" && e.follow_item_id ? {src: `/follow-stream?id=${e.follow_item_id}`,type: "video/mp4"} : null;}-async function Aj(e, t) {- let n = Ese(e);+async function kj(e, t) {+ let n = Dse(e);if (n) return n;try {let n = await R(`/api/stream-plan?id=${e.id}&session=${encodeURIComponent(t)}`);@@ -32050,9 +32050,9 @@ async function Aj(e, t) {type: n.mime_type || (n.protocol === "hls" ? "application/vnd.apple.mpegurl" : "video/mp4")};} catch {}- return kj(e, t);+ return Oj(e, t);}-function jj(e) {+function Aj(e) {e && fetch(`/api/stream-cancel?session=${encodeURIComponent(e)}`, {method: "POST",credentials: "same-origin",@@ -32061,23 +32061,23 @@ function jj(e) {document.documentElement.dataset.peachStreamCancel = JSON.stringify(e);}).catch(() => {});}-var Mj = "";+var jj = "";+function Mj() {+ return jj;+}function Nj() {- return Mj;+ return jj ||= Dj(), jj;}+var Ose = (e) => Oj(e, Nj()), kse = (e) => kj(e, Nj());function Pj() {- return Mj ||= Oj(), Mj;-}-var Dse = (e) => kj(e, Pj()), Ose = (e) => Aj(e, Pj());-function Fj() {- let e = Mj;- e && (Mj = "", jj(e));+ let e = jj;+ e && (jj = "", Aj(e));}//#endregion//#region src/player/v10-player.ts-var Ij = (e) => typeof e == "string" ? [e] : e, kse = (e, t) => {+var Fj = (e) => typeof e == "string" ? [e] : e, Ase = (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-${Dj()}`, n.setAttribute("lang", "zh-CN");+ n.className = "video-js vjs-paused vjs-user-active", n.id = e.id || `peach-player-${Ej()}`, n.setAttribute("lang", "zh-CN");let i = document.createElement("media-container"), a = document.createElement("hlsjs-video");e.parentNode?.replaceChild(n, e), e.removeAttribute("id"), e.className = "vjs-tech", e.slot = "media", e.controls = !1, e.preload = t.preload === "auto" ? "auto" : t.preload === "none" ? "none" : "metadata", t.poster && (e.poster = String(t.poster)), a.append(e), i.append(a), r.append(i), n.append(r), t.controls !== !1 && i.insertAdjacentHTML("beforeend", "<div class=\"vjs-loading-spinner\" aria-label=\"正在缓冲\"></div>\n <div class=\"vjs-error-display\"><div class=\"vjs-modal-dialog-content\" role=\"alert\"></div></div>\n <div class=\"vjs-control-bar\">\n <media-play-button class=\"vjs-play-control vjs-control vjs-button\" label=\"播放\"></media-play-button>\n <div class=\"vjs-volume-panel vjs-control vjs-volume-panel-horizontal\">\n <media-mute-button class=\"vjs-mute-control vjs-control vjs-button\" label=\"静音\"></media-mute-button>\n <div class=\"vjs-volume-control vjs-volume-horizontal\"><media-volume-slider class=\"vjs-volume-bar vjs-slider vjs-slider-horizontal\" label=\"音量\">\n <media-slider-track><media-slider-fill class=\"vjs-volume-level\"></media-slider-fill></media-slider-track>\n <media-slider-thumb class=\"vjs-volume-thumb\"></media-slider-thumb>\n <media-slider-value class=\"vjs-volume-tooltip\"></media-slider-value>\n </media-volume-slider></div>\n </div>\n <div class=\"vjs-progress-control vjs-control\"><media-time-slider class=\"vjs-progress-holder vjs-slider vjs-slider-horizontal\" label=\"播放进度\">\n <media-slider-track><media-slider-buffer class=\"vjs-load-progress\"></media-slider-buffer><media-slider-fill class=\"vjs-play-progress\"></media-slider-fill></media-slider-track>\n <media-slider-thumb class=\"vjs-progress-thumb\"></media-slider-thumb>\n </media-time-slider></div>\n <div class=\"vjs-subtitles-control vjs-control\"><button type=\"button\" class=\"vjs-button\" aria-label=\"开启字幕\" aria-pressed=\"false\">CC</button></div>\n <media-pip-button class=\"vjs-picture-in-picture-control vjs-control vjs-button\" label=\"画中画\"></media-pip-button>\n <media-fullscreen-button class=\"vjs-fullscreen-control vjs-control vjs-button\" label=\"全屏\"></media-fullscreen-button>\n </div>");let o = new EventTarget(), s = new AbortController(), c = s.signal, l = !1, u = 0, d = 0, f = 0, p = {@@ -32172,9 +32172,9 @@ var Ij = (e) => typeof e == "string" ? [e] : e, kse = (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) => Ij(e).forEach((e) => o.addEventListener(e, t, { signal: c })),- off: (e, t) => Ij(e).forEach((e) => o.removeEventListener(e, t)),- one: (e, t) => Ij(e).forEach((e) => o.addEventListener(e, t, {+ on: (e, t) => Fj(e).forEach((e) => o.addEventListener(e, t, { signal: c })),+ off: (e, t) => Fj(e).forEach((e) => o.removeEventListener(e, t)),+ one: (e, t) => Fj(e).forEach((e) => o.addEventListener(e, t, {once: !0,signal: c})),@@ -32229,7 +32229,7 @@ var Ij = (e) => typeof e == "string" ? [e] : e, kse = (e, t) => {n.id = String(t.id || ""), n.kind = String(t.kind || "subtitles"), n.src = String(t.src || ""), n.srclang = String(t.srclang || ""), n.label = String(t.label || ""), e.append(n);}};-}, Ase = "/vendor/videojs/10.1.0/", jse = [+}, jse = "/vendor/videojs/10.1.0/", Mse = ["video-player.js","media/hlsjs-video.js","media/dash-video.js",@@ -32247,18 +32247,18 @@ var Ij = (e) => typeof e == "string" ? [e] : e, kse = (e, t) => {"ui/slider-value.js","i18n.js","locales/zh-CN.js"-], Lj = null;-function Rj() {- return Lj ??= Promise.all(jse.map((e) => import(+], Ij = null;+function Lj() {+ return Ij ??= Promise.all(Mse.map((e) => import(/* @vite-ignore */- `${Ase}${e}`-))).then(() => kse).catch((e) => {- throw Lj = null, e;- }), Lj;+ `${jse}${e}`+))).then(() => Ase).catch((e) => {+ throw Ij = null, e;+ }), Ij;}//#endregion//#region src/player/immerse-player.ts-var Mse = {+var Nse = {controls: !1,preload: "auto",posterImage: !1,@@ -32270,39 +32270,39 @@ var Mse = {errorDisplay: !1,textTrackSettings: !1};-function Nse(e, t) {+function Pse(e, t) {let { item: n, session: r } = t, i = null, a = !1;- return Promise.all([Aj(n, r), Rj().catch(() => null)]).then(([o, s]) => {+ return Promise.all([kj(n, r), Lj().catch(() => null)]).then(([o, s]) => {if (a) return;- let c = kj(n, r), l = String(o.type || "").includes("mpegurl");+ let c = Oj(n, r), l = String(o.type || "").includes("mpegurl");if (!s) e.src = (l ? c : o).src;else {- let t = s(e, Mse);- i = t, t.peachItem = n, t.peachPlaybackKey = xj("item", n);+ let t = s(e, Nse);+ i = t, t.peachItem = n, t.peachPlaybackKey = bj("item", n);let r = new AbortController();- aj(t.el(), e, r.signal), t.on("dispose", () => r.abort()), new sj(t, e), _j(t, n.id), l && t.one("error", () => {+ ij(t.el(), e, r.signal), t.on("dispose", () => r.abort()), new oj(t, e), gj(t, n.id), l && t.one("error", () => {a || t.src(c);}), t.src(o);}- Tj(n, e, t.onEnded ? { onEnded: t.onEnded } : {}), t.onLoaded?.();+ wj(n, e, t.onEnded ? { onEnded: t.onEnded } : {}), t.onLoaded?.();}), () => {- a || (a = !0, jj(r), i ? Ej(i) : (e.pause(), Cj(e), e.removeAttribute("src"), e.load()));+ a || (a = !0, Aj(r), i ? Tj(i) : (e.pause(), Sj(e), e.removeAttribute("src"), e.load()));};}//#endregion//#region src/player/detail-player.ts-var zj = /* @__PURE__ */ new WeakMap(), Bj = null, Vj = null, Hj = null;-function Uj() {- Bj &&= (clearInterval(Bj), null), Vj &&= (clearInterval(Vj), null), Hj &&= (clearTimeout(Hj), null);+var Rj = /* @__PURE__ */ new WeakMap(), zj = null, Bj = null, Vj = null;+function Hj() {+ zj &&= (clearInterval(zj), null), Bj &&= (clearInterval(Bj), null), Vj &&= (clearTimeout(Vj), null);}-async function Pse(e, t, n, r = {}) {- let i = HA();+async function Fse(e, t, n, r = {}) {+ let i = VA();if (i && !i.isDisposed()) return i;- let a = IA(), o = r.resume ?? null;+ let a = FA(), o = r.resume ?? null;o?.autoplay && (n = !0);- let s = () => r.source ? Promise.resolve(r.source) : Ose(e), c;+ let s = () => r.source ? Promise.resolve(r.source) : kse(e), c;try {- c = await Rj();+ c = await Lj();} catch {return t.controls = !0, s().then((e) => {t.addEventListener("loadedmetadata", () => {@@ -32328,7 +32328,7 @@ async function Pse(e, t, n, r = {}) {} }}});- UA(l), l.peachItem = e, l.peachPlaybackKey = r.playbackKey || xj("item", e), sse(l), l.on("loadedmetadata", () => {+ HA(l), l.peachItem = e, l.peachPlaybackKey = r.playbackKey || bj("item", e), cse(l), l.on("loadedmetadata", () => {let e = l.el()?.querySelector("video");e?.videoWidth && e.videoHeight && l.el().style.setProperty("--peach-video-ratio", `${e.videoWidth}/${e.videoHeight}`);});@@ -32336,7 +32336,7 @@ async function Pse(e, t, n, r = {}) {speed: [],activity: [],buffer: []- }, f = Number(r.size ?? e.size) || 0, p = lse(qA(f, e.duration)), m = 0, h = !1, g = () => HA() === l && !l.isDisposed(), _ = () => {+ }, f = Number(r.size ?? e.size) || 0, p = use(KA(f, e.duration)), m = 0, h = !1, g = () => VA() === l && !l.isDisposed(), _ = () => {if (!u || h || !g()) return;let e = Number(l.duration());(!Number.isFinite(e) || Math.abs(e - u) > Math.max(2, u * .001)) && (h = !0, l.duration(u), queueMicrotask(() => {@@ -32347,15 +32347,15 @@ async function Pse(e, t, n, r = {}) {ready: !1,updateStats: () => {}};- zj.set(l, y), y.updateStats = () => {+ Rj.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 = Nj(), h = s ? QA(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 = Mj(), h = s ? ZA(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 = ej(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 = $A(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 = GA(t);- YA(d.speed, x), YA(d.activity, C), YA(d.buffer, w);+ let w = WA(t);+ JA(d.speed, x), JA(d.activity, C), JA(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 ? ["网络活动",`${_ ? vn(_) : "—"} · ${h.length} 请求`,@@ -32373,17 +32373,17 @@ async function Pse(e, t, n, r = {}) {["连接速度",D,- ZA(d.speed, "speed", Math.max(1e7, ...d.speed), `连接速度 ${D === "—" ? "暂无数据" : D}`)+ XA(d.speed, "speed", Math.max(1e7, ...d.speed), `连接速度 ${D === "—" ? "暂无数据" : D}`)],[k[0],k[1],- ZA(d.activity, "activity", Math.max(1, ...d.activity), k[2])+ XA(d.activity, "activity", Math.max(1, ...d.activity), k[2])],["缓冲健康",`${w.toFixed(1)} 秒`,- ZA(d.buffer, "buffer", 30, `当前可连续播放 ${w.toFixed(1)} 秒`)+ XA(d.buffer, "buffer", 30, `当前可连续播放 ${w.toFixed(1)} 秒`)],["播放时间", `${_n(t.currentTime)} / ${_n(u || l.duration())}`],["日期", (/* @__PURE__ */ new Date()).toLocaleString()]@@ -32399,15 +32399,15 @@ async function Pse(e, t, n, r = {}) {if (!n || l.isDisposed()) return;let r = v();r || p.sample(t);- let i = ej(l, e.id, Nj(), r ? null : p), a = r ? tj(i) : dse(i, GA(t));+ let i = $A(l, e.id, Mj(), r ? null : p), a = r ? ej(i) : fse(i, WA(t));n.innerHTML = `${L("gauge")}<span class="sr-only">加载速度</span><span>${z(a)}</span>`;}, C = () => {let e = y.chrome?.netBadge;- e && e.isConnected && (e.hidden = !1, S(), Vj && clearInterval(Vj), Vj = setInterval(S, 500));+ e && e.isConnected && (e.hidden = !1, S(), Bj && clearInterval(Bj), Bj = setInterval(S, 500));}, w = () => {let e = y.chrome?.netBadge;- e && (Hj && clearTimeout(Hj), Hj = setTimeout(() => {- e.hidden = !0, Vj &&= (clearInterval(Vj), null);+ e && (Vj && clearTimeout(Vj), Vj = setTimeout(() => {+ e.hidden = !0, Bj &&= (clearInterval(Bj), null);}, 1400));};return l.on([@@ -32418,7 +32418,7 @@ async function Pse(e, t, n, r = {}) {], C), l.on(["canplay", "playing"], () => {S(), w();}), l.on("error", () => {- b && !x && !l.isDisposed() ? (x = !0, b = !1, l.src(Dse(e)), n && l.play()?.catch(() => {})) : r.checkSourceStatus !== !1 && a.loadSourceStatus().then((t) => {+ b && !x && !l.isDisposed() ? (x = !0, b = !1, l.src(Ose(e)), n && l.play()?.catch(() => {})) : r.checkSourceStatus !== !1 && a.loadSourceStatus().then((t) => {t[String(e.root_id || e.location)] !== !1 || l.isDisposed() || l.error({code: 2,message: `媒体目录无法访问 · ${a.offlineReason(String(e.root_id || e.location))}`@@ -32426,13 +32426,13 @@ async function Pse(e, t, n, r = {}) {});}), l.ready(() => {_();- let n = mj(l, t, e.height, r.qualities ?? null);+ let n = pj(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 = qA(r, e.duration));- }).catch(() => {}), hj(l, e, { thumbnail: !r.source }), xse(l, e), gj(l), r.source || _j(l, e.id), y.ready = !0, y.chrome?.statsButton && (y.chrome.statsButton.hidden = !1);+ r > 0 && !f && (f = r, p.bitrate = KA(r, e.duration));+ }).catch(() => {}), mj(l, e, { thumbnail: !r.source }), Sse(l, e), hj(l), r.source || gj(l, e.id), y.ready = !0, y.chrome?.statsButton && (y.chrome.statsButton.hidden = !1);}), s().then((e) => {g() && (b = String(e.type || "").includes("mpegurl"), o && o.time > 0 && l.one("loadedmetadata", () => {if (l.isDisposed()) return;@@ -32441,14 +32441,14 @@ async function Pse(e, t, n, r = {}) {}), l.src(e), _(), setTimeout(_, 0), setTimeout(_, 250), n && l.play()?.catch(() => {}));}).catch(() => {}), l;}-var Fse = "<canvas data-ambient-canvas=\"\" width=\"32\" height=\"18\"></canvas>";-function Wj(e, t = null) {- if (e.querySelector(":scope > [data-ambient-canvas]") || e.insertAdjacentHTML("afterbegin", Fse), e.querySelector(":scope > #playerStatsBtn")) return;+var Ise = "<canvas data-ambient-canvas=\"\" width=\"32\" height=\"18\"></canvas>";+function Uj(e, t = null) {+ if (e.querySelector(":scope > [data-ambient-canvas]") || e.insertAdjacentHTML("afterbegin", Ise), e.querySelector(":scope > #playerStatsBtn")) return;let n = document.createElement("template");- n.innerHTML = use(), e.insertBefore(n.content, t);+ n.innerHTML = dse(), e.insertBefore(n.content, t);}-function Gj(e, t) {- let n = zj.get(e);+function Wj(e, t) {+ let n = Rj.get(e);if (!n || e.isDisposed()) return () => {};let r = (e) => t.querySelector(`:scope > #${e}`), i = {statsButton: r("playerStatsBtn"),@@ -32460,29 +32460,29 @@ function Gj(e, t) {if (a && o) {a.hidden = !n.ready;let e = () => {- o.hidden || (o.hidden = !0, a.setAttribute("aria-pressed", "false"), Bj &&= (clearInterval(Bj), null));+ o.hidden || (o.hidden = !0, a.setAttribute("aria-pressed", "false"), zj &&= (clearInterval(zj), null));};a.onclick = () => {- o.hidden ? (document.dispatchEvent(new CustomEvent(XA, { detail: "stats" })), o.hidden = !1, a.setAttribute("aria-pressed", "true"), n.updateStats(), Bj && clearInterval(Bj), Bj = setInterval(n.updateStats, 1e3)) : e();+ o.hidden ? (document.dispatchEvent(new CustomEvent(YA, { detail: "stats" })), o.hidden = !1, a.setAttribute("aria-pressed", "true"), n.updateStats(), zj && clearInterval(zj), zj = setInterval(n.updateStats, 1e3)) : e();};let t = (t) => {t.detail !== "stats" && e();};- document.addEventListener(XA, t), s = () => document.removeEventListener(XA, t);+ document.addEventListener(YA, t), s = () => document.removeEventListener(YA, t);}- let c = e.el().querySelector("video"), l = c ? vse(c) : () => {}, u = !0, d = () => {- u && (u = !1, s(), l(), n.chrome === i && (n.chrome = null, Uj()));+ let c = e.el().querySelector("video"), l = c ? yse(c) : () => {}, u = !0, d = () => {+ u && (u = !1, s(), l(), n.chrome === i && (n.chrome = null, Hj()));};return e.one("dispose", d), d;}-function Kj(e, t) {- if (t.kind === "immerse") return Nse(e, t);- let { kind: n, item: r, media: i = null, handedOff: a, onPlayer: o } = t, s = IA(), c = t.chrome === !1 ? null : e.parentElement;- c && Wj(c, e);- let l = xj(n, r, i?.index ?? null), u = {+function Gj(e, t) {+ if (t.kind === "immerse") return Pse(e, t);+ let { kind: n, item: r, media: i = null, handedOff: a, onPlayer: o } = t, s = FA(), c = t.chrome === !1 ? null : e.parentElement;+ c && Uj(c, e);+ let l = bj(n, r, i?.index ?? null), u = {playbackKey: l,resume: t.resume ?? {- time: Cse(l, r),+ time: wse(l, r),autoplay: !1}};@@ -32502,38 +32502,38 @@ function Kj(e, t) {t && (e.poster = t);}let d = null, f = !1, p = () => {}, m = e, h = () => {- p(), !(d && a?.(d)) && (bj(m), d ? (HA() === d && (UA(null), Uj()), Ej(d)) : Cj(m));+ p(), !(d && a?.(d)) && (yj(m), d ? (VA() === d && (HA(null), Hj()), Tj(d)) : Sj(m));};- return Pse(r, e, t.autoplay ?? s.settings().detailAutoplay, u).then((t) => {- d = t, f ? h() : (m = t?.el().querySelector("video") ?? e, wse(l, m), n === "follow" ? Tse(r, m) : (m.addEventListener("play", () => {+ return Fse(r, e, t.autoplay ?? s.settings().detailAutoplay, u).then((t) => {+ d = t, f ? h() : (m = t?.el().querySelector("video") ?? e, Tse(l, m), n === "follow" ? Ese(r, m) : (m.addEventListener("play", () => {R("/api/play", {method: "POST",body: JSON.stringify({ id: r.id })}).catch(() => {});- }, { once: !0 }), Tj(r, m, {+ }, { once: !0 }), wj(r, m, {watched: "#watched",mark: "#mark",ratio: "#ratioTxt"- })), t ? (c && (p = Gj(t, c)), o?.(t)) : o?.(null));+ })), t ? (c && (p = Wj(t, c)), o?.(t)) : o?.(null));}), () => {f = !0, h();};}//#endregion//#region src/player/playback.ts-function qj(e) {+function Kj(e) {e && (e.paused ? e.play()?.catch(() => {}) : e.pause());}-function Jj(e, t) {+function qj(e, t) {let n = e.duration, r = (e.currentTime || 0) + t;e.currentTime = Number.isFinite(n) ? Math.max(0, Math.min(n, r)) : Math.max(0, r);}//#endregion//#region src/player/preview-player.ts-function Ise(e, t, n) {+function Lse(e, t, n) {e.controls = !1;let r = !1, i = null;- return Rj().then((a) => {+ return Lj().then((a) => {if (r) return;i = a(e, {controls: !0,@@ -32558,57 +32558,57 @@ function Ise(e, t, n) {o.on("error", () => {r || n();}), o.ready(() => {- r || o.isDisposed() || (mj(o, e), hj(o, null, { thumbnail: !1 }), gj(o));+ r || o.isDisposed() || (pj(o, e), mj(o, null, { thumbnail: !1 }), hj(o));}), o.src(t);}).catch(() => {r || n();}), () => {- r = !0, Ej(i), i || (e.pause(), e.removeAttribute("src"), e.load(), e.remove());+ r = !0, Tj(i), i || (e.pause(), e.removeAttribute("src"), e.load(), e.remove());};}//#endregion//#region src/react/catalog-grid/catalog-view.ts-var Yj = "peach.catalog-view.v1", Xj = /* @__PURE__ */ new Set(), Zj = "cards";-function Qj() {+var Jj = "peach.catalog-view.v1", Yj = /* @__PURE__ */ new Set(), Xj = "cards";+function Zj() {try {- return localStorage.getItem(Yj) === "list" ? "list" : "cards";+ return localStorage.getItem(Jj) === "list" ? "list" : "cards";} catch {- return Zj;+ return Xj;}}-function Lse(e) {- Zj = e === "list" ? "list" : "cards";+function Rse(e) {+ Xj = e === "list" ? "list" : "cards";try {- localStorage.setItem(Yj, Zj);+ localStorage.setItem(Jj, Xj);} catch {}- Xj.forEach((e) => e());+ Yj.forEach((e) => e());}-function Rse(e) {- Xj.add(e);+function zse(e) {+ Yj.add(e);let t = (t) => {- (t.key === Yj || t.key === null) && e();+ (t.key === Jj || t.key === null) && e();};return addEventListener("storage", t), () => {- Xj.delete(e), removeEventListener("storage", t);+ Yj.delete(e), removeEventListener("storage", t);};}-var $j = () => (0, D.useSyncExternalStore)(Rse, Qj, () => "cards");-function eM(e, t) {+var Qj = () => (0, D.useSyncExternalStore)(zse, Zj, () => "cards");+function $j(e, t) {let n = new URLSearchParams(Object.entries(e).filter(([, e]) => e));return t && n.set("exclude_vertical", "1"), n.toString();}-var zse = (e, t) => [+var Bse = (e, t) => ["catalog-grid","catalog",e,t-], Bse = (e, t) => [+], Vse = (e, t) => ["catalog-grid","entity",e,t];-async function Vse(e, t, n, r, i) {+async function Hse(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 = {@@ -32618,22 +32618,22 @@ async function Vse(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 Hse = (e) => (t) => (t.offset === 0 ? t.items.length < (t.total || 0) : t.has_more) ? t.offset + e : void 0, Use = (e, t) => {+var Use = (e) => (t) => (t.offset === 0 ? t.items.length < (t.total || 0) : t.has_more) ? t.offset + e : void 0, Wse = (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 tM(e) {- let t = eM(e.filters || {}, !!e.excludeVertical), n = e.batchSize || 60, r = e.filters?.state === "trash";+function eM(e) {+ let t = $j(e.filters || {}, !!e.excludeVertical), n = e.batchSize || 60, r = e.filters?.state === "trash";return {- queryKey: zse(t, e.revision || 0),- queryFn: ({ pageParam: e, signal: i }) => Vse(t, e, n, r, i),+ queryKey: Bse(t, e.revision || 0),+ queryFn: ({ pageParam: e, signal: i }) => Hse(t, e, n, r, i),initialPageParam: 0,- getNextPageParam: Hse(n)+ getNextPageParam: Use(n)};}-function Wse(e) {+function Gse(e) {return {- queryKey: Bse(e.entityKey || "", e.revision || 0),+ queryKey: Vse(e.entityKey || "", e.revision || 0),queryFn: async ({ pageParam: t, signal: n }) => {if (!e.fetchPage) return {items: [],@@ -32648,12 +32648,12 @@ function Wse(e) {};},initialPageParam: 0,- getNextPageParam: Use+ getNextPageParam: Wse};}-async function Gse(e, t) {- if (e.mode !== "catalog" || e.wall || Qj() === "list") return;- let n = tM(e);+async function Kse(e, t) {+ if (e.mode !== "catalog" || e.wall || Zj() === "list") return;+ let n = eM(e);await H.fetchInfiniteQuery({...n,queryFn: ({ pageParam: e }) => n.queryFn({@@ -32662,11 +32662,11 @@ async function Gse(e, t) {})});}-function Kse(e) {+function qse(e) {let t = JSON.stringify(e);return H.getQueryCache().findAll({ queryKey: e.slice(0, -1) }).filter((e) => JSON.stringify(e.queryKey) !== t && Array.isArray(e.state.data?.pages)).sort((e, t) => t.state.dataUpdatedAt - e.state.dataUpdatedAt)[0]?.state.data;}-function nM(e, t, n) {+function tM(e, t, n) {return n ? e.filter((e) => {let n = e.part_group?.key;if (n) {@@ -32681,24 +32681,24 @@ function nM(e, t, n) {return !0;}) : [...e];}-var rM = (e, t) => !!e && !!Ca(e, t);-function qse(e, t) {- let n = (e) => rM(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) => rM(e, t)) || e[e.length - 1];+var nM = (e, t) => !!e && !!Ca(e, t);+function Jse(e, t) {+ let n = (e) => nM(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) => nM(e, t)) || e[e.length - 1];}-function Jse(e, { collapse: t, mix: n, javImage: r }) {+function Yse(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 = nM(c.items.filter((e) => !a.has(e.id) && !!a.add(e.id)), i, t), l = e.map((e) => ({+ let e = tM(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 = qse(e, r);+ let t = Jse(e, r);t && l.splice(7, 0, {kind: "mix",seed: t@@ -32711,16 +32711,16 @@ function Jse(e, { collapse: t, mix: n, javImage: r }) {pageStarts: s};}-function Yse(e, t, n) {+function Xse(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 Xse(e, t) {+function Zse(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 Zse(e, t) {+function Qse(e, t) {let n = [...t].sort((e, t) => e.at - t.at), r = [], i = 0;for (let t of n) r.push({start: i,@@ -32733,10 +32733,10 @@ function Zse(e, t) {strip: null}), r;}-function iM(e, t) {- aM((t) => t.id === e, t);+function rM(e, t) {+ iM((t) => t.id === e, t);}-function aM(e, t) {+function iM(e, t) {H.setQueriesData({ queryKey: ["catalog-grid", "table"] }, (n) => n?.items.some(e) ? {...n,items: n.items.map((n) => e(n) ? {@@ -32757,34 +32757,34 @@ function aM(e, t) {} : n)});}-var oM = (e) => Math.min(Math.max(e || 0, 0), 100), sM = (e) => Math.round(oM(e) / 20), Qse = (e) => {- let t = sM(e);+var aM = (e) => Math.min(Math.max(e || 0, 0), 100), oM = (e) => Math.round(aM(e) / 20), $se = (e) => {+ let t = oM(e);return t ? `${t} 星` : "未评分";-}, cM = (e, t) => t === sM(e) ? 0 : t * 20, lM = (e) => ["item", e], uM = (e) => [+}, sM = (e, t) => t === oM(e) ? 0 : t * 20, cM = (e) => ["item", e], lM = (e) => ["item-queue",e.kind,e.kind === "playlist" ? e.playlistId : e.seedId-], $se = (e, t) => [+], ece = (e, t) => ["item-related",e,t-], ece = (e) => `/api/item?id=${e}`, tce = (e, t) => `/api/related?id=${e}&limit=${t}`, dM = "/api/playlist", fM = "/api/feedback", pM = "/api/item-tag", mM = "/api/watch-later", hM = "/api/quality-goal", gM = "/api/preference", _M = class extends Error {};-async function vM(e, t) {- let n = await B(ece(e), t);- if (n.error) throw new _M(n.error);+], tce = (e) => `/api/item?id=${e}`, nce = (e, t) => `/api/related?id=${e}&limit=${t}`, uM = "/api/playlist", dM = "/api/feedback", fM = "/api/item-tag", pM = "/api/watch-later", mM = "/api/quality-goal", hM = "/api/preference", gM = class extends Error {};+async function _M(e, t) {+ let n = await B(tce(e), t);+ if (n.error) throw new gM(n.error);return n;}-async function yM(e, t, n) {+async function vM(e, t, n) {if (e.kind === "mix") {- let r = e.seedId, [i, a] = await Promise.all([vM(r, n), t.mixRelated(r)]);- return H.setQueryData(lM(i.id), i), {+ let r = e.seedId, [i, a] = await Promise.all([_M(r, n), t.mixRelated(r)]);+ return H.setQueryData(cM(i.id), i), {kind: "mix",seedId: r,title: `Mix · ${$a(i, t.tagLabel)}`,items: [i, ...a.filter((e) => e.id !== i.id)]};}- if (e.kind === "playlist") return bM(await B(`${dM}?id=${e.playlistId}`, n));+ if (e.kind === "playlist") return yM(await B(`${uM}?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 {@@ -32795,19 +32795,19 @@ async function yM(e, t, n) {versionCount: e.kind === "editions" ? r.count : void 0};}-var bM = (e) => ({+var yM = (e) => ({kind: "playlist",playlistId: e.id,title: e.name,items: e.items || [],currentAssetId: e.current_asset_id-}), xM = (e) => e.disposal === "vanished";-function SM(e, t) {+}), bM = (e) => e.disposal === "vanished";+function xM(e, t) {if (e.kind === "mix") return t;- let n = e.kind === "playlist" ? e.items.filter((e) => !xM(e)) : e.items;+ let n = e.kind === "playlist" ? e.items.filter((e) => !bM(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 nce(e, t) {+function rce(e, t) {if (t?.kind !== "parts" && t?.kind !== "editions") return e;let n = t.items.find((t) => t.id === e.id)?.part_label || "";return e.part_label === n ? e : {@@ -32815,20 +32815,20 @@ function nce(e, t) {part_label: n};}-function CM(e, t) {+function SM(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 wM(e, t) {+async function CM(e, t) {let { queue: n, actions: r } = e, i = null, a = !1;if (n) {- let o = uM(n);+ let o = lM(n);try {let r = n.fresh ? void 0 : H.getQueryData(o);a = !r && n.kind === "mix", i = r || await H.fetchQuery({queryKey: o,- queryFn: () => yM(n, e.helpers, t),+ queryFn: () => vM(n, e.helpers, t),staleTime: 0});} catch (n) {@@ -32840,21 +32840,21 @@ async function wM(e, t) {return;}}- let o = i ? SM(i, e.id) : e.id;+ let o = i ? xM(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(lM(o)) : void 0;+ let s, c = a && o === i?.seedId ? H.getQueryData(cM(o)) : void 0;try {s = c || await H.fetchQuery({- queryKey: lM(o),- queryFn: () => vM(o, t),+ queryKey: cM(o),+ queryFn: () => _M(o, t),staleTime: 0});} catch (e) {if (t.aborted) throw e;- if (e instanceof _M) {+ if (e instanceof gM) {r.redirect({ kind: "gone" });return;}@@ -32865,7 +32865,7 @@ async function wM(e, t) {id: Number(s.follow_item_id)});}-function rce(e) {+function ice(e) {let t = e.entity_refs || {}, n = /* @__PURE__ */ new Set(), r = (e) => {let t = dn(e.name);return !e.name || n.has(t) ? !1 : (n.add(t), !0);@@ -32887,35 +32887,35 @@ function rce(e) {unowned: !i.length && !c.length && !String(e.creator || "").trim()};}-function ice(e, t) {+function ace(e, t) {let n = /* @__PURE__ */ new Map();return (e.tags || []).filter((e) => !t.isDurationTag(e.k)).forEach((e) => {let r = dn(t.tagLabel(e.k)), i = n.get(r);(!i || dn(e.k) === r && dn(i.k) !== r) && n.set(r, e);}), [...n.values()].slice(0, 40);}-var TM = (e, t) => (e.tags || []).some((e) => dn(e.k) === dn(t)), EM = (e, t) => ({+var wM = (e, t) => (e.tags || []).some((e) => dn(e.k) === dn(t)), TM = (e, t) => ({...e,tags: (e.tags || []).filter((e) => dn(e.k) !== dn(t))-}), DM = (e, t) => TM(e, t.k) ? e : {+}), EM = (e, t) => wM(e, t.k) ? e : {...e,tags: [...e.tags || [], t]-}, OM = "peach.recentTags";-function kM() {+}, DM = "peach.recentTags";+function OM() {try {- let e = JSON.parse(localStorage.getItem(OM) || "[]");+ let e = JSON.parse(localStorage.getItem(DM) || "[]");return Array.isArray(e) ? e.map(String) : [];} catch {return [];}}-function ace(e) {+function oce(e) {try {- let t = kM().filter((t) => dn(t) !== dn(e));- localStorage.setItem(OM, JSON.stringify([e, ...t].slice(0, 12)));+ let t = OM().filter((t) => dn(t) !== dn(e));+ localStorage.setItem(DM, JSON.stringify([e, ...t].slice(0, 12)));} catch {}}-function oce(e, t, n) {+function sce(e, t, n) {let r = dn(e), i = new Map(t.map((e) => [dn(e.k), e])), a = t.filter((e) => !r || dn(e.k).includes(r)).slice(0, 120), o = r ? [] : n.map((e) => i.get(dn(e)) || {k: e,n: 0@@ -32926,73 +32926,73 @@ function oce(e, t, n) {create: r && !s ? e.trim() : ""};}-var sce = {+var cce = {中字: "subtitle",无码: "uncensored",无码破解: "cracked",有码: "censored"-}, cce = {+}, lce = {mix: "Mix",parts: "分卷",editions: "版本",playlist: "播放列表"};-function lce(e) {+function uce(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: cce[e.kind],+ title: lce[e.kind],summary: e.kind === "editions" ? n : `${e.title} · ${n}`};}-var AM = (e = "") => /^\d+$/.test(e) ? `第 ${e} 卷` : /^[a-h]$/i.test(e) ? `${e.toUpperCase()} 卷` : e, uce = (e, t) => (t?.kind === "parts" || t?.kind === "editions") && e.part_label ? `<small class="javedition partlabel">${z(AM(e.part_label))}</small>` : "";-function dce(e, t, n, r) {+var kM = (e = "") => /^\d+$/.test(e) ? `第 ${e} 卷` : /^[a-h]$/i.test(e) ? `${e.toUpperCase()} 卷` : e, dce = (e, t) => (t?.kind === "parts" || t?.kind === "editions") && e.part_label ? `<small class="javedition partlabel">${z(kM(e.part_label))}</small>` : "";+function fce(e, t, n, r) {let i = e.filter((e) => e !== t), a = i.indexOf(n);return i.splice(a + +!!r, 0, t), i;}-var fce = (e, t) => e.length === t.length && e.every((e, n) => e === t[n]);-function pce(e, t) {+var pce = (e, t) => e.length === t.length && e.every((e, n) => e === t[n]);+function mce(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 mce(e) {+function hce(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 jM(e, t) {+function AM(e, t) {return e === "dislike" ? t.feedback === "dislike" ? "已标记不合口味" : "已取消不合口味" : e === "seen" ? t.feedback === "seen" ? "已标记看过" : "已取消看过" : e === "dispose" ? t.disposal === "trash" ? "已移入回收站" : "已移出回收站" : "已记录一次高潮";}//#endregion//#region src/react/immerse/immerse.ts-var hce = (e, t, n) => [+var gce = (e, t, n) => ["immerse-list",e,t,n];-function gce(e) {+function _ce(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 _ce = (e, t) => e.cost !== "metered" && !!e.duration && !t(String(e.root_id || e.location || ""));-function vce(e, t = Math.random) {+var vce = (e, t) => e.cost !== "metered" && !!e.duration && !t(String(e.root_id || e.location || ""));+function yce(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 yce(e, t) {- return vce(((await B(`/api/items?${e}`)).items || []).filter((e) => _ce(e, t)));+async function bce(e, t) {+ return yce(((await B(`/api/items?${e}`)).items || []).filter((e) => vce(e, t)));}-var MM = (e) => H.ensureQueryData({- queryKey: lM(e),- queryFn: ({ signal: t }) => vM(e, t)+var jM = (e) => H.ensureQueryData({+ queryKey: cM(e),+ queryFn: ({ signal: t }) => _M(e, t)});-function bce(e, t) {+function xce(e, t) {let n = new Set(e.map((e) => e.id));return e.concat(t.filter((e) => !n.has(e.id)));}-function xce(e) {+function Sce(e) {let t = e.performers || [], n = t.length ? t.slice(0, 3).join("、") + (t.length > 3 ? ` 等 ${t.length} 人` : "") : e.creator || "未归属", r = t.length ? "performer" : e.creator ? "creator" : "";return {who: n,@@ -33001,306 +33001,306 @@ function xce(e) {ref: r && e.entity_refs?.[r]?.[0] || null};}-function Sce(e, t, n) {+function Cce(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 Cce(e, t) {+function wce(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 wce = 15e3, NM = {+var Tce = 15e3, MM = {open: !1,idle: !1,wide: !1,loading: null,shown: null-}, PM = null, FM = null, IM = NM, LM = /* @__PURE__ */ new Set(), RM = 0, zM = 0, BM = 0, VM = "", HM = [], UM = 0, WM = !1, GM = !1, KM = null, qM = /* @__PURE__ */ new Set(), JM = "", YM = null, XM = 0, ZM = null, QM = !1;-function $M() {- if (!PM) throw Error("沉浸模式还没有接上宿主(configureImmerse)");- return PM;+}, NM = null, PM = null, FM = MM, IM = /* @__PURE__ */ new Set(), LM = 0, RM = 0, zM = 0, BM = "", VM = [], HM = 0, UM = !1, WM = !1, GM = null, KM = /* @__PURE__ */ new Set(), qM = "", JM = null, YM = 0, XM = null, ZM = !1;+function QM() {+ if (!NM) throw Error("沉浸模式还没有接上宿主(configureImmerse)");+ return NM;}-function Tce(e) {- return LM.add(e), () => {- LM.delete(e);+function Ece(e) {+ return IM.add(e), () => {+ IM.delete(e);};}-function Ece() {- for (let e of [...LM]) e();+function Dce() {+ for (let e of [...IM]) e();}-function eN() {- (0, Et.flushSync)(Ece);+function $M() {+ (0, Et.flushSync)(Dce);}-function tN() {- let e = YM ? $A(YM.id) : 0;- return e ? `${JM} · ${tj(e)}` : JM;+function eN() {+ let e = JM ? QA(JM.id) : 0;+ return e ? `${qM} · ${ej(e)}` : qM;}-function nN(e, t = null) {- clearInterval(XM), XM = 0, e === null ? (IM = {- ...IM,+function tN(e, t = null) {+ clearInterval(YM), YM = 0, e === null ? (FM = {+ ...FM,loading: null- }, eN()) : (JM = e, YM = t, IM = {- ...IM,- loading: tN()- }, eN(), XM = window.setInterval(() => {- YM = HM[UM] ?? null, IM = {- ...IM,- loading: tN()- }, eN();+ }, $M()) : (qM = e, JM = t, FM = {+ ...FM,+ loading: eN()+ }, $M(), YM = window.setInterval(() => {+ JM = VM[HM] ?? null, FM = {+ ...FM,+ loading: eN()+ }, $M();}, 500));}-function Dce(e) {+function Oce(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), FM.track.append(t);- let r = Oj(), i = () => {}, a = {+ n.className = "video-js", n.playsInline = !0, n.preload = "auto", t.append(n), PM.track.append(t);+ let r = Dj(), i = () => {}, a = {el: t,video: n,session: r,- release: () => jj(r),+ release: () => Aj(r),disposed: !1,gone: new Promise((e) => {i = e;}),leave: i};- return qM.add(a), a;+ return KM.add(a), a;}-function Oce(e, t) {+function kce(e, t) {return new Promise((n) => {- e.release = Kj(e.video, {+ e.release = Gj(e.video, {kind: "immerse",item: t,session: e.session,onLoaded: n,onEnded: () => {- IM.open && lN(1);+ FM.open && cN(1);}}), e.gone.then(n);});}-function rN(e) {- e && !e.disposed && (e.disposed = !0, qM.delete(e), e.leave(), e.release(), e.el.remove(), KM === e && (KM = null));+function nN(e) {+ e && !e.disposed && (e.disposed = !0, KM.delete(e), e.leave(), e.release(), e.el.remove(), GM === e && (GM = null));}-var iN = [+var rN = ["loadeddata","canplay","error"];-function kce(e) {+function Ace(e) {let { video: t } = e;return t.readyState >= 3 ? Promise.resolve() : new Promise((n) => {let r = !1, i = () => {- r || (r = !0, clearTimeout(a), iN.forEach((e) => t.removeEventListener(e, i)), n());+ r || (r = !0, clearTimeout(a), rN.forEach((e) => t.removeEventListener(e, i)), n());};- iN.forEach((e) => t.addEventListener(e, i, { once: !0 }));- let a = setTimeout(i, wce);+ rN.forEach((e) => t.addEventListener(e, i, { once: !0 }));+ let a = setTimeout(i, Tce);e.gone.then(i);});}-function aN(e) {- let t = e.closest("[data-immerse-track]"), n = t && t.clientWidth && t.clientHeight ? t.clientWidth / t.clientHeight : window.innerWidth / window.innerHeight, r = Sce(e.videoWidth, e.videoHeight, n);+function iN(e) {+ let t = e.closest("[data-immerse-track]"), n = t && t.clientWidth && t.clientHeight ? t.clientWidth / t.clientHeight : window.innerWidth / window.innerHeight, r = Cce(e.videoWidth, e.videoHeight, n);r === "contain" ? e.dataset.fit = "contain" : r && delete e.dataset.fit;}-var oN = () => FM?.track.querySelectorAll("video").forEach(aN);-function Ace(e) {- delete e.dataset.fit, e.readyState >= 1 ? aN(e) : e.addEventListener("loadedmetadata", () => aN(e), { once: !0 });-}+var aN = () => PM?.track.querySelectorAll("video").forEach(iN);function jce(e) {- IM = {- ...IM,+ delete e.dataset.fit, e.readyState >= 1 ? iN(e) : e.addEventListener("loadedmetadata", () => iN(e), { once: !0 });+}+function Mce(e) {+ FM = {+ ...FM,wide: e- }, eN(), oN();+ }, $M(), aN();}-var sN = () => {- let e = VM;+var oN = () => {+ let e = BM;return H.fetchQuery({- queryKey: hce(e, zM, BM),- queryFn: () => yce(e, $M().sourceOffline),+ queryKey: gce(e, RM, zM),+ queryFn: () => bce(e, QM().sourceOffline),staleTime: Infinity});};-function Mce(e, t) {+function Nce(e, t) {let n = () => hn(e.duration) || hn(t.duration);e.addEventListener("timeupdate", () => {let t = n();- t && FM && (FM.progress.style.width = `${(e.currentTime / t * 100).toFixed(2)}%`);- }), ZM = {+ t && PM && (PM.progress.style.width = `${(e.currentTime / t * 100).toFixed(2)}%`);+ }), XM = {video: e,duration: n};}-async function cN(e = 0) {- let t = HM[UM];- if (!t || WM) return;- let n = RM;- $M().route(t.id), WM = !0, nN(e ? "切换中" : "加载中", t);+async function sN(e = 0) {+ let t = VM[HM];+ if (!t || UM) return;+ let n = LM;+ QM().route(t.id), UM = !0, tN(e ? "切换中" : "加载中", t);let r = null;try {- if (await MM(t.id).catch((e) => {- if (!(e instanceof _M)) throw e;- }), n !== RM) return;- let i = KM, a = !!(e && i);- a || rN(i);- let o = Dce(a ? e > 0 ? 100 : -100 : 0);- if (r = o, Ace(o.video), await Oce(o, t), await kce(o), o.disposed || (jce(Cce(o.video, t)), a && i && (requestAnimationFrame(() => requestAnimationFrame(() => {+ if (await jM(t.id).catch((e) => {+ if (!(e instanceof gM)) throw e;+ }), n !== LM) return;+ let i = GM, a = !!(e && i);+ a || nN(i);+ let o = Oce(a ? e > 0 ? 100 : -100 : 0);+ if (r = o, jce(o.video), await kce(o, t), await Ace(o), o.disposed || (Mce(wce(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)), rN(i), o.el.style.transform = ""), o.disposed)) return;- KM = o, r = null, o.video.play()?.catch(() => {}), IM = {- ...IM,+ })), await new Promise((e) => setTimeout(e, 210)), nN(i), o.el.style.transform = ""), o.disposed)) return;+ GM = o, r = null, o.video.play()?.catch(() => {}), FM = {+ ...FM,idle: !1,shown: {item: t,- index: UM,- length: HM.length+ index: HM,+ length: VM.length}- }, Mce(o.video, t), V("/api/play", { id: t.id }).catch(() => {}), nN(null);+ }, Nce(o.video, t), V("/api/play", { id: t.id }).catch(() => {}), tN(null);} catch {- rN(r), n === RM && nN(null);+ nN(r), n === LM && tN(null);} finally {- n === RM && (WM = !1);+ n === LM && (UM = !1);}}-async function lN(e) {- if (WM || !IM.open) return;- let t = RM;- if (UM += e, nN("切换中", HM[UM] ?? null), UM >= HM.length - 3 && !GM) {- GM = !0;+async function cN(e) {+ if (UM || !FM.open) return;+ let t = LM;+ if (HM += e, tN("切换中", VM[HM] ?? null), HM >= VM.length - 3 && !WM) {+ WM = !0;try {- BM += 1;- let e = await sN();- t === RM && (HM = bce(HM, e));+ zM += 1;+ let e = await oN();+ t === LM && (VM = xce(VM, e));} catch {} finally {- GM = !1;+ WM = !1;}}- t === RM && (UM >= HM.length && (UM = 0), UM < 0 && (UM = HM.length - 1), await cN(e));+ t === LM && (HM >= VM.length && (HM = 0), HM < 0 && (HM = VM.length - 1), await sN(e));}-async function Nce(e) {- let t = ++RM;- uN(), zM += 1, BM = 0, VM = gce($M().filters()), H.removeQueries({ queryKey: ["immerse-list"] }), IM = {- ...IM,+async function Pce(e) {+ let t = ++LM;+ lN(), RM += 1, zM = 0, BM = _ce(QM().filters()), H.removeQueries({ queryKey: ["immerse-list"] }), FM = {+ ...FM,open: !0,idle: !0,shown: null- }, document.body.setAttribute("data-immerse-open", ""), nN("加载内容");+ }, document.body.setAttribute("data-immerse-open", ""), tN("加载内容");try {- let n = await sN();+ let n = await oN();if (e && !n.some((t) => t.id === e)) {- let t = await MM(e).catch((e) => {- if (e instanceof _M) return null;+ let t = await jM(e).catch((e) => {+ if (e instanceof gM) return null;throw e;});t?.id && (n = [t, ...n.filter((t) => t.id !== e)]);}- if (t !== RM) return;- if (HM = n, !HM.length) {- dN(), $M().warn("当前筛选下没有可直接播放的内容");+ if (t !== LM) return;+ if (VM = n, !VM.length) {+ uN(), QM().warn("当前筛选下没有可直接播放的内容");return;}- UM = Math.max(0, HM.findIndex((t) => t.id === e)), await cN();+ HM = Math.max(0, VM.findIndex((t) => t.id === e)), await sN();} catch {- if (t !== RM) return;- nN(null), dN();+ if (t !== LM) return;+ tN(null), uN();}}-function uN() {- clearInterval(XM), XM = 0, _N(), hN = null, ZM = null, QM = !1, [...qM].forEach(rN), WM = !1;+function lN() {+ clearInterval(YM), YM = 0, gN(), mN = null, XM = null, ZM = !1, [...KM].forEach(nN), UM = !1;}-function dN() {- IM.open && (RM++, uN(), IM = NM, document.body.removeAttribute("data-immerse-open"), eN(), $M().closed());+function uN() {+ FM.open && (LM++, lN(), FM = MM, document.body.removeAttribute("data-immerse-open"), $M(), QM().closed());}-var fN = 0, pN = null, mN = 0, hN = null, gN = 0;-function _N() {- clearTimeout(fN), fN = 0, pN = null;+var dN = 0, fN = null, pN = 0, mN = null, hN = 0;+function gN() {+ clearTimeout(dN), dN = 0, fN = null;}-function Pce(e) {- let t = KM?.video;+function Fce(e) {+ let t = GM?.video;if (!t) return;let n = e < window.innerWidth / 2 ? -1 : 1, r = Date.now();- pN && pN.side === n && r - pN.at <= 280 ? (_N(), Jj(t, $M().seekSeconds() * n)) : (fN && (clearTimeout(fN), fN = 0, qj(t)), pN = {+ fN && fN.side === n && r - fN.at <= 280 ? (gN(), qj(t, QM().seekSeconds() * n)) : (dN && (clearTimeout(dN), dN = 0, Kj(t)), fN = {side: n,at: r- }, fN = window.setTimeout(() => {- fN = 0, pN = null, IM.open && qj(KM?.video);+ }, dN = window.setTimeout(() => {+ dN = 0, fN = null, FM.open && Kj(GM?.video);}, 280));}-function Fce() {- Date.now() < mN || qj(KM?.video);+function Ice() {+ Date.now() < pN || Kj(GM?.video);}-var vN = (e) => FM?.bar.toggleAttribute("data-scrubbing", e);-function yN(e) {- FM && (FM.progress.style.width = `${(e * 100).toFixed(2)}%`);+var _N = (e) => PM?.bar.toggleAttribute("data-scrubbing", e);+function vN(e) {+ PM && (PM.progress.style.width = `${(e * 100).toFixed(2)}%`);}-function bN(e) {+function yN(e) {let t = e.target;if (e.touches.length !== 1 || !t?.closest("[data-immerse-track]")) {- hN = null;+ mN = null;return;}- let n = KM?.video;- hN = {+ let n = GM?.video;+ mN = {x: e.touches[0].clientX,y: e.touches[0].clientY,axis: "",from: n && n.currentTime || 0};}-function xN(e) {- if (!hN || e.touches.length !== 1) return;- let t = e.touches[0].clientX - hN.x, n = e.touches[0].clientY - hN.y;- if (!hN.axis) {+function bN(e) {+ if (!mN || e.touches.length !== 1) return;+ let t = e.touches[0].clientX - mN.x, n = e.touches[0].clientY - mN.y;+ if (!mN.axis) {if (Math.abs(t) < 12 && Math.abs(n) < 12) return;- hN.axis = Math.abs(t) > Math.abs(n) ? "x" : "y", hN.axis === "x" && vN(!0);+ mN.axis = Math.abs(t) > Math.abs(n) ? "x" : "y", mN.axis === "x" && _N(!0);}- if (hN.axis !== "x") return;- let r = KM?.video, i = r && r.duration || 0;- i && (e.preventDefault(), hN.to = Math.min(i, Math.max(0, hN.from + t / window.innerWidth * i)), yN(hN.to / i));+ if (mN.axis !== "x") return;+ let r = GM?.video, i = r && r.duration || 0;+ i && (e.preventDefault(), mN.to = Math.min(i, Math.max(0, mN.from + t / window.innerWidth * i)), vN(mN.to / i));}-function SN(e) {- if (!hN) return;- let t = hN;- if (hN = null, mN = Date.now() + 700, vN(!1), t.axis === "x") {- let e = KM?.video;+function xN(e) {+ if (!mN) return;+ let t = mN;+ if (mN = null, pN = Date.now() + 700, _N(!1), t.axis === "x") {+ let e = GM?.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 ? (_N(), lN(i > 0 ? 1 : -1)) : Math.abs(r) <= 14 && Math.abs(i) <= 14 && (e.preventDefault(), Pce(n.clientX));+ Math.abs(i) > 60 ? (gN(), cN(i > 0 ? 1 : -1)) : Math.abs(r) <= 14 && Math.abs(i) <= 14 && (e.preventDefault(), Fce(n.clientX));}-function CN() {- hN = null, vN(!1);+function SN() {+ mN = null, _N(!1);}-function wN(e) {+function CN(e) {let t = Date.now();- t - gN < 260 || (gN = t, lN(e.deltaY > 0 ? 1 : -1));+ t - hN < 260 || (hN = t, cN(e.deltaY > 0 ? 1 : -1));}-function TN(e) {- let t = FM.bar.getBoundingClientRect();+function wN(e) {+ let t = PM.bar.getBoundingClientRect();return Math.min(1, Math.max(0, (e.clientX - t.left) / t.width));}+function TN(e) {+ XM?.duration() && (ZM = !0, _N(!0), e.currentTarget.setPointerCapture(e.pointerId), vN(wN(e)), e.preventDefault());+}function EN(e) {- ZM?.duration() && (QM = !0, vN(!0), e.currentTarget.setPointerCapture(e.pointerId), yN(TN(e)), e.preventDefault());+ ZM && vN(wN(e));}function DN(e) {- QM && yN(TN(e));+ if (!ZM) return;+ ZM = !1, _N(!1);+ let t = XM?.duration();+ XM && t && (XM.video.currentTime = t * wN(e));}-function ON(e) {- if (!QM) return;- QM = !1, vN(!1);- let t = ZM?.duration();- ZM && t && (ZM.video.currentTime = t * TN(e));+function ON() {+ ZM = !1, _N(!1);}-function kN() {- QM = !1, vN(!1);-}-async function AN(e, t) {- let n = await V(fM, {+async function kN(e, t) {+ let n = await V(dM, {id: e,kind: t- }), r = H.getQueryData(lM(e));- if (!r) return iM(e, {+ }), r = H.getQueryData(cM(e));+ if (!r) return rM(e, {feedback: n.feedback ?? void 0,o_count: n.o_count}), n;@@ -33309,7 +33309,7 @@ async function AN(e, t) {feedback: n.feedback ?? void 0,o_count: n.o_count};- return H.setQueryData(lM(e), i), iM(e, {+ return H.setQueryData(cM(e), i), rM(e, {feedback: i.feedback,disposal: i.disposal,watch_later: i.watch_later,@@ -33317,7 +33317,7 @@ async function AN(e, t) {o_count: i.o_count}), n;}-var jN = [+var AN = [{kind: "dislike",glyph: "thumbs-down",@@ -33334,31 +33334,31 @@ var jN = [label: "记一次高潮"}];-function MN(e) {+function jN(e) {return Ct({- queryKey: lM(e ?? 0),- queryFn: ({ signal: t }) => vM(e, t),+ queryKey: cM(e ?? 0),+ queryFn: ({ signal: t }) => _M(e, t),enabled: e != null,staleTime: Infinity}).data;}-function NN({ kind: e, glyph: t, label: n, id: r }) {- let i = MN(r), a = wt({+function MN({ kind: e, glyph: t, label: n, id: r }) {+ let i = jN(r), a = wt({mutationFn: async (t) => {- let n = H.getQueryData(lM(t))?.feedback || null;+ let n = H.getQueryData(cM(t))?.feedback || null;return {- result: await AN(t, e),+ result: await kN(t, e),before: n};},onSuccess: ({ result: t, before: n }, r) => {- $M().toast(jM(e, t), { undo: async () => {- e === "o" ? await AN(r, "o-undo") : (t.feedback && await AN(r, t.feedback), n && await AN(r, n));+ QM().toast(AM(e, t), { undo: async () => {+ e === "o" ? await kN(r, "o-undo") : (t.feedback && await kN(r, t.feedback), n && await kN(r, n));} }), e === "dislike" && t.feedback === "dislike" && setTimeout(() => {- lN(1);+ cN(1);}, 260);},- onError: (e) => $M().failure("更新反馈", e)+ onError: (e) => QM().failure("更新反馈", e)}), o = a.isPending, s = e !== "o" && i ? i.feedback === e ? "true" : "false" : void 0;return /* @__PURE__ */ (0, O.jsxs)("div", {"data-immerse-action": "",@@ -33389,11 +33389,11 @@ function NN({ kind: e, glyph: t, label: n, id: r }) {})]});}-function PN({ shown: e }) {- let t = e?.item ?? null, n = MN(t?.id ?? null), r = n ? xce(n) : null, i = $M(), a = (e) => {- e.preventDefault(), n && (dN(), n.performers?.[0] ? i.openEntity("performer", n.performers[0]) : n.creator ? i.openEntity("creator", n.creator) : i.openUnowned());+function NN({ shown: e }) {+ let t = e?.item ?? null, n = jN(t?.id ?? null), r = n ? Sce(n) : null, i = QM(), a = (e) => {+ e.preventDefault(), n && (uN(), n.performers?.[0] ? i.openEntity("performer", n.performers[0]) : n.creator ? i.openEntity("creator", n.creator) : i.openUnowned());}, o = () => {- t && (dN(), i.openItem(t.id));+ t && (uN(), i.openItem(t.id));}, s = r ? Ra(r.name, r.ref, ya(r.name), r.kind || "performer") : "";return /* @__PURE__ */ (0, O.jsxs)("div", {"data-immerse-ui": "",@@ -33422,18 +33422,18 @@ function PN({ shown: e }) {})]});}-var FN = { __html: rs("媒体加载中") };-function IN({ view: e }) {+var PN = { __html: rs("媒体加载中") };+function FN({ view: e }) {let t = (0, D.useRef)(null), n = (0, D.useRef)(null), r = (0, D.useRef)(null), i = (0, D.useRef)(null);(0, D.useLayoutEffect)(() => {let e = t.current;- return FM = {+ return PM = {root: e,track: n.current,bar: r.current,progress: i.current- }, e.addEventListener("touchstart", bN, { passive: !0 }), e.addEventListener("touchmove", xN, { passive: !1 }), e.addEventListener("touchend", SN, { passive: !1 }), e.addEventListener("touchcancel", CN, { passive: !0 }), e.addEventListener("wheel", wN, { passive: !0 }), () => {- e.removeEventListener("touchstart", bN), e.removeEventListener("touchmove", xN), e.removeEventListener("touchend", SN), e.removeEventListener("touchcancel", CN), e.removeEventListener("wheel", wN), FM = null;+ }, e.addEventListener("touchstart", yN, { passive: !0 }), e.addEventListener("touchmove", bN, { passive: !1 }), e.addEventListener("touchend", xN, { passive: !1 }), e.addEventListener("touchcancel", SN, { passive: !0 }), e.addEventListener("wheel", CN, { passive: !0 }), () => {+ e.removeEventListener("touchstart", yN), e.removeEventListener("touchmove", bN), e.removeEventListener("touchend", xN), e.removeEventListener("touchcancel", SN), e.removeEventListener("wheel", CN), PM = null;};}, []);let a = e.shown?.item.id ?? null, o = (e) => e ? "" : void 0;@@ -33450,10 +33450,10 @@ function IN({ view: e }) {children: [/* @__PURE__ */ (0, O.jsx)("div", {ref: n,"data-immerse-track": "",- onClick: Fce+ onClick: Ice}), /* @__PURE__ */ (0, O.jsx)("div", {"data-immerse-actions": "",- children: jN.map((e) => /* @__PURE__ */ (0, O.jsx)(NN, {+ children: AN.map((e) => /* @__PURE__ */ (0, O.jsx)(MN, {...e,id: a}, e.kind))@@ -33466,7 +33466,7 @@ function IN({ view: e }) {hidden: e.loading === null,children: [/* @__PURE__ */ (0, O.jsx)("span", {"data-immerse-spinner": "",- dangerouslySetInnerHTML: FN+ dangerouslySetInnerHTML: PN}), /* @__PURE__ */ (0, O.jsx)("span", { children: e.loading ?? "" })]}),/* @__PURE__ */ (0, O.jsx)("button", {@@ -33474,7 +33474,7 @@ function IN({ view: e }) {"data-immerse-close": "",title: "关闭","aria-label": "关闭",- onClick: dN,+ onClick: uN,children: /* @__PURE__ */ (0, O.jsx)("svg", {viewBox: "0 0 24 24",children: /* @__PURE__ */ (0, O.jsx)("use", { href: "#i-x" })@@ -33483,90 +33483,90 @@ function IN({ view: e }) {/* @__PURE__ */ (0, O.jsx)("div", {ref: r,"data-immerse-bar": "",- onPointerDown: EN,- onPointerMove: DN,- onPointerUp: ON,- onPointerCancel: kN,+ onPointerDown: TN,+ onPointerMove: EN,+ onPointerUp: DN,+ onPointerCancel: ON,children: /* @__PURE__ */ (0, O.jsx)("i", { ref: i })}),- /* @__PURE__ */ (0, O.jsx)(PN, { shown: e.shown })+ /* @__PURE__ */ (0, O.jsx)(NN, { shown: e.shown })]});}-var LN = {- open: Nce,- close: dN,- isOpen: () => IM.open,- activeVideo: () => IM.open ? KM?.video ?? null : null+var IN = {+ open: Pce,+ close: uN,+ isOpen: () => FM.open,+ activeVideo: () => FM.open ? GM?.video ?? null : null};-function RN(e) {- if (!IM.open) return;+function LN(e) {+ if (!FM.open) return;let t = e.target;- (!t || t.tagName !== "INPUT" && t.tagName !== "TEXTAREA" && !t.isContentEditable) && (e.ctrlKey || e.metaKey || e.altKey || (e.key === "ArrowDown" && lN(1), e.key === "ArrowUp" && lN(-1)));+ (!t || t.tagName !== "INPUT" && t.tagName !== "TEXTAREA" && !t.isContentEditable) && (e.ctrlKey || e.metaKey || e.altKey || (e.key === "ArrowDown" && cN(1), e.key === "ArrowUp" && cN(-1)));}-function zN(e) {- let t = !PM;- return PM = e, t && (document.addEventListener("keydown", RN), addEventListener("resize", () => {- IM.open && oN();+function RN(e) {+ let t = !NM;+ return NM = e, t && (document.addEventListener("keydown", LN), addEventListener("resize", () => {+ FM.open && aN();}), addEventListener("pagehide", () => {- qM.forEach((e) => jj(e.session));- })), LN;+ KM.forEach((e) => Aj(e.session));+ })), IN;}-function BN() {- let e = (0, D.useSyncExternalStore)(Tce, () => IM);- return PM ? /* @__PURE__ */ (0, O.jsx)(IN, { view: e }) : null;+function zN() {+ let e = (0, D.useSyncExternalStore)(Ece, () => FM);+ return NM ? /* @__PURE__ */ (0, O.jsx)(FN, { view: e }) : null;}//#endregion//#region src/manage-header.ts-var VN = {+var BN = {"/junk-files": "垃圾文件","/duplicates": "重复文件","/review": "人工复核","/trash": "回收站","/quality-goals": "高清版","/sources": "来源和凭证"-}, HN = /* @__PURE__ */ new Set(["/data-cleanup", "/sources"]);-function UN(e) {- let t = VN[e.path] ? "cleanup" : e.section;+}, VN = /* @__PURE__ */ new Set(["/data-cleanup", "/sources"]);+function HN(e) {+ let t = BN[e.path] ? "cleanup" : e.section;return e.menu.some(([e]) => e === t) ? t : "";}-var WN = ({ total: e, shown: t }) => `${e.toLocaleString()} 个符合 · 显示 ${t.toLocaleString()}`;-function GN(e) {+var UN = ({ total: e, shown: t }) => `${e.toLocaleString()} 个符合 · 显示 ${t.toLocaleString()}`;+function WN(e) {let t = e.sections.find(([t]) => t === e.section);if (!t) return null;- let n = VN[e.path] ?? "";+ let n = BN[e.path] ?? "";return {title: e.section === "cleanup" && n || t[1],- pressed: UN(e),+ pressed: HN(e),crumb: n,- compact: HN.has(e.path) || e.section === "configuration",+ compact: VN.has(e.path) || e.section === "configuration",lede: e.section === "trash" ? e.trash ? {kind: "count",- text: WN(e.trash),+ text: UN(e.trash),total: e.trash.total} : { kind: "skeleton" } : { kind: "none" }};}-var KN = (e) => e.replace(/[&<>"']/g, (e) => ({+var GN = (e) => e.replace(/[&<>"']/g, (e) => ({"&": "&","<": "<",">": ">","\"": ""","'": "'"-})[e]), qN = (e) => `<svg viewBox="0 0 24 24" aria-hidden="true"><use href="#i-${KN(e)}"/></svg>`, JN = "<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 YN(e) {- let t = GN(e);+})[e]), KN = (e) => `<svg viewBox="0 0 24 24" aria-hidden="true"><use href="#i-${GN(e)}"/></svg>`, qN = "<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 JN(e) {+ let t = WN(e);if (!t) return "";let n = e.menu.map(([e, n, r]) => {let i = e === t.pressed;- return `<button type="button" data-manage="${KN(e)}" data-pill-variant="gray" aria-pressed="${i}"${i ? " aria-current=\"page\" data-pill-selected=\"\"" : ""}>${qN(r)}<span>${KN(n)}</span></button>`;- }).join(""), r = t.crumb ? `<nav data-manage-crumb="" aria-label="Breadcrumb"><ol><li><a href="/data-cleanup">数据管理</a>${qN("chevron-right")}</li><li aria-current="true"><span>${KN(t.crumb)}</span></li></ol></nav>` : "", i = t.lede.kind === "none" ? "" : `<p class="mono" data-manage-lede="">${t.lede.kind === "skeleton" ? JN : `<span data-lede-text="">${KN(t.lede.text)}</span>${t.lede.total ? XN : ""}`}</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=\"\"" : ""}>${KN(t.title)}</h2>` + i;+ return `<button type="button" data-manage="${GN(e)}" data-pill-variant="gray" aria-pressed="${i}"${i ? " aria-current=\"page\" data-pill-selected=\"\"" : ""}>${KN(r)}<span>${GN(n)}</span></button>`;+ }).join(""), r = t.crumb ? `<nav data-manage-crumb="" aria-label="Breadcrumb"><ol><li><a href="/data-cleanup">数据管理</a>${KN("chevron-right")}</li><li aria-current="true"><span>${GN(t.crumb)}</span></li></ol></nav>` : "", i = t.lede.kind === "none" ? "" : `<p class="mono" data-manage-lede="">${t.lede.kind === "skeleton" ? qN : `<span data-lede-text="">${GN(t.lede.text)}</span>${t.lede.total ? YN : ""}`}</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=\"\"" : ""}>${GN(t.title)}</h2>` + i;}-var XN = "<button type=\"button\" data-empty-trash=\"\" title=\"永久删除回收站内容\">清空回收站</button>";+var YN = "<button type=\"button\" data-empty-trash=\"\" title=\"永久删除回收站内容\">清空回收站</button>";//#endregion//#region src/react/settings-panel/icon.tsx-function ZN({ name: e }) {+function XN({ name: e }) {let { wide: t, viewBox: n } = Kt(e);return /* @__PURE__ */ (0, O.jsx)("svg", {viewBox: n,@@ -33575,7 +33575,7 @@ function ZN({ name: e }) {children: /* @__PURE__ */ (0, O.jsx)("use", { href: `#i-${e}` })});}-function QN({ name: e }) {+function ZN({ name: e }) {return /* @__PURE__ */ (0, O.jsx)("svg", {viewBox: "0 0 24 24","aria-hidden": "true",@@ -33584,88 +33584,88 @@ function QN({ name: e }) {}//#endregion//#region node_modules/tailwind-merge/dist/bundle-mjs.mjs-var $N = (e, t) => {+var QN = (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;-}, eP = (e, t) => ({+}, $N = (e, t) => ({classGroupId: e,validator: t-}), tP = (e = /* @__PURE__ */ new Map(), t = null, n) => ({+}), eP = (e = /* @__PURE__ */ new Map(), t = null, n) => ({nextPart: e,validators: t,classGroupId: n-}), nP = "-", rP = [], iP = "arbitrary..", aP = (e) => {- let t = cP(e), { conflictingClassGroups: n, conflictingClassGroupModifiers: r } = e;+}), tP = "-", nP = [], rP = "arbitrary..", iP = (e) => {+ let t = sP(e), { conflictingClassGroups: n, conflictingClassGroupModifiers: r } = e;return {getClassGroupId: (e) => {- if (e.startsWith("[") && e.endsWith("]")) return sP(e);- let n = e.split(nP);- return oP(n, +(n[0] === "" && n.length > 1), t);+ if (e.startsWith("[") && e.endsWith("]")) return oP(e);+ let n = e.split(tP);+ return aP(n, +(n[0] === "" && n.length > 1), t);},getConflictingClassGroupIds: (e, t) => {if (t) {let t = r[e], i = n[e];- return t ? i ? $N(i, t) : t : i || rP;+ return t ? i ? QN(i, t) : t : i || nP;}- return n[e] || rP;+ return n[e] || nP;}};-}, oP = (e, t, n) => {+}, aP = (e, t, n) => {if (e.length - t === 0) return n.classGroupId;let r = e[t], i = n.nextPart.get(r);if (i) {- let n = oP(e, t + 1, i);+ let n = aP(e, t + 1, i);if (n) return n;}let a = n.validators;if (a === null) return;- let o = t === 0 ? e.join(nP) : e.slice(t).join(nP), s = a.length;+ let o = t === 0 ? e.join(tP) : e.slice(t).join(tP), s = a.length;for (let e = 0; e < s; e++) {let t = a[e];if (t.validator(o)) return t.classGroupId;}-}, sP = (e) => e.slice(1, -1).indexOf(":") === -1 ? void 0 : (() => {+}, oP = (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 ? iP + r : void 0;-})(), cP = (e) => {+ return r ? rP + r : void 0;+})(), sP = (e) => {let { theme: t, classGroups: n } = e;- return lP(n, t);-}, lP = (e, t) => {- let n = tP();+ return cP(n, t);+}, cP = (e, t) => {+ let n = eP();for (let r in e) {let i = e[r];- uP(i, n, r, t);+ lP(i, n, r, t);}return n;-}, uP = (e, t, n, r) => {+}, lP = (e, t, n, r) => {let i = e.length;for (let a = 0; a < i; a++) {let i = e[a];- dP(i, t, n, r);+ uP(i, t, n, r);}-}, dP = (e, t, n, r) => {- typeof e == "string" ? fP(e, t, n) : typeof e == "function" ? pP(e, t, n, r) : mP(e, t, n, r);-}, fP = (e, t, n) => {- let r = e === "" ? t : hP(t, e);+}, uP = (e, t, n, r) => {+ typeof e == "string" ? dP(e, t, n) : typeof e == "function" ? fP(e, t, n, r) : pP(e, t, n, r);+}, dP = (e, t, n) => {+ let r = e === "" ? t : mP(t, e);r.classGroupId = n;+}, fP = (e, t, n, r) => {+ hP(e) ? lP(e(r), t, n, r) : (t.validators === null && (t.validators = []), t.validators.push($N(n, e)));}, pP = (e, t, n, r) => {- gP(e) ? uP(e(r), t, n, r) : (t.validators === null && (t.validators = []), t.validators.push(eP(n, e)));-}, mP = (e, t, n, r) => {let i = Object.entries(e), a = i.length;for (let e = 0; e < a; e++) {let [a, o] = i[e];- uP(o, hP(t, a), n, r);+ lP(o, mP(t, a), n, r);}-}, hP = (e, t) => {- let n = e, r = t.split(nP), i = r.length;+}, mP = (e, t) => {+ let n = e, r = t.split(tP), i = r.length;for (let e = 0; e < i; e++) {let t = r[e], i = n.nextPart.get(t);- i || (i = tP(), n.nextPart.set(t, i)), n = i;+ i || (i = eP(), n.nextPart.set(t, i)), n = i;}return n;-}, gP = (e) => "isThemeGetter" in e && e.isThemeGetter === !0, _P = (e) => {+}, hP = (e) => "isThemeGetter" in e && e.isThemeGetter === !0, gP = (e) => {if (e < 1) return {get: () => void 0,set: () => {}@@ -33683,19 +33683,19 @@ var $N = (e, t) => {e in n ? n[e] = t : i(e, t);}};-}, vP = "!", yP = ":", bP = [], xP = (e, t, n, r, i) => ({+}, _P = "!", vP = ":", yP = [], bP = (e, t, n, r, i) => ({modifiers: e,hasImportantModifier: t,baseClassName: n,maybePostfixModifierPosition: r,isExternal: i-}), SP = (e) => {+}), xP = (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 === yP) {+ if (o === vP) {t.push(e.slice(i, s)), i = s + 1;continue;}@@ -33707,13 +33707,13 @@ var $N = (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(vP) ? (c = s.slice(0, -1), l = !0) : s.startsWith(vP) && (c = s.slice(1), l = !0);+ s.endsWith(_P) ? (c = s.slice(0, -1), l = !0) : s.startsWith(_P) && (c = s.slice(1), l = !0);let u = a && a > i ? a - i : void 0;- return xP(t, l, c, u);+ return bP(t, l, c, u);};if (t) {- let e = t + yP, n = r;- r = (t) => t.startsWith(e) ? n(t.slice(e.length)) : xP(bP, !1, t, void 0, !0);+ let e = t + vP, n = r;+ r = (t) => t.startsWith(e) ? n(t.slice(e.length)) : bP(yP, !1, t, void 0, !0);}if (n) {let e = r;@@ -33723,7 +33723,7 @@ var $N = (e, t) => {});}return r;-}, CP = (e) => {+}, SP = (e) => {let t = /* @__PURE__ */ new Map();return e.orderSensitiveModifiers.forEach((e, n) => {t.set(e, 1e6 + n);@@ -33735,18 +33735,18 @@ var $N = (e, t) => {}return r.length > 0 && (r.sort(), n.push(...r)), n;};-}, wP = (e) => ({- cache: _P(e.cacheSize),- parseClassName: SP(e),- sortModifiers: CP(e),- postfixLookupClassGroupIds: TP(e),- ...aP(e)-}), TP = (e) => {+}, CP = (e) => ({+ cache: gP(e.cacheSize),+ parseClassName: xP(e),+ sortModifiers: SP(e),+ postfixLookupClassGroupIds: wP(e),+ ...iP(e)+}), wP = (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;-}, EP = /\s+/, DP = (e, t) => {- let { parseClassName: n, getClassGroupId: r, getConflictingClassGroupIds: i, sortModifiers: a, postfixLookupClassGroupIds: o } = t, s = [], c = e.trim().split(EP), l = "";+}, TP = /\s+/, EP = (e, t) => {+ let { parseClassName: n, getClassGroupId: r, getConflictingClassGroupIds: i, sortModifiers: a, postfixLookupClassGroupIds: o } = t, s = [], c = e.trim().split(TP), l = "";for (let e = c.length - 1; e >= 0; --e) {let t = c[e], { isExternal: u, modifiers: d, hasImportantModifier: f, baseClassName: p, maybePostfixModifierPosition: m } = n(t);if (u) {@@ -33766,7 +33766,7 @@ var $N = (e, t) => {}h = !1;}- let _ = d.length === 0 ? "" : d.length === 1 ? d[0] : a(d).join(":"), v = f ? _ + vP : _, y = v + g;+ let _ = d.length === 0 ? "" : d.length === 1 ? d[0] : a(d).join(":"), v = f ? _ + _P : _, y = v + g;if (s.indexOf(y) > -1) continue;s.push(y);let b = i(g, h);@@ -33777,34 +33777,34 @@ var $N = (e, t) => {l = t + (l.length > 0 ? " " + l : l);}return l;-}, OP = (...e) => {+}, DP = (...e) => {let t = 0, n, r, i = "";- for (; t < e.length;) (n = e[t++]) && (r = kP(n)) && (i && (i += " "), i += r);+ for (; t < e.length;) (n = e[t++]) && (r = OP(n)) && (i && (i += " "), i += r);return i;-}, kP = (e) => {+}, OP = (e) => {if (typeof e == "string") return e;let t, n = "";- for (let r = 0; r < e.length; r++) e[r] && (t = kP(e[r])) && (n && (n += " "), n += t);+ for (let r = 0; r < e.length; r++) e[r] && (t = OP(e[r])) && (n && (n += " "), n += t);return n;-}, AP = (e, ...t) => {- let n, r, i, a, o = (o) => (n = wP(t.reduce((e, t) => t(e), e())), r = n.cache.get, i = n.cache.set, a = s, s(o)), s = (e) => {+}, kP = (e, ...t) => {+ let n, r, i, a, o = (o) => (n = CP(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 = DP(e, n);+ let a = EP(e, n);return i(e, a), a;};- return a = o, (...e) => a(OP(...e));-}, jP = [], MP = (e) => {- let t = (t) => t[e] || jP;+ return a = o, (...e) => a(DP(...e));+}, AP = [], jP = (e) => {+ let t = (t) => t[e] || AP;return t.isThemeGetter = !0, t.themeKey = e, t;-}, NP = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, PP = /^\((?:(\w[\w-]*):)?(.+)\)$/i, FP = /^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/, IP = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, LP = /\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$/, RP = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix|color|light-dark)\(.+\)$/, zP = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, BP = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, VP = (e) => FP.test(e), HP = (e) => !!e && !Number.isNaN(Number(e)), UP = (e) => !!e && Number.isInteger(Number(e)), WP = (e) => e.endsWith("%") && HP(e.slice(0, -1)), GP = (e) => IP.test(e), KP = () => !0, qP = (e) => LP.test(e) && !RP.test(e), JP = () => !1, YP = (e) => zP.test(e), XP = (e) => BP.test(e), ZP = (e) => !eF(e) && !cF(e), QP = (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)), $P = (e) => gF(e, bF, JP), eF = (e) => NP.test(e), tF = (e) => gF(e, xF, qP), nF = (e) => gF(e, Ice, HP), rF = (e) => gF(e, CF, KP), iF = (e) => gF(e, SF, JP), aF = (e) => gF(e, vF, JP), oF = (e) => gF(e, yF, XP), sF = (e) => gF(e, wF, YP), cF = (e) => PP.test(e), lF = (e) => _F(e, xF), uF = (e) => _F(e, SF), dF = (e) => _F(e, vF), fF = (e) => _F(e, bF), pF = (e) => _F(e, yF), mF = (e) => _F(e, wF, !0), hF = (e) => _F(e, CF, !0), gF = (e, t, n) => {- let r = NP.exec(e);+}, MP = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, NP = /^\((?:(\w[\w-]*):)?(.+)\)$/i, PP = /^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/, FP = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, IP = /\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$/, LP = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix|color|light-dark)\(.+\)$/, RP = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, zP = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, BP = (e) => PP.test(e), VP = (e) => !!e && !Number.isNaN(Number(e)), HP = (e) => !!e && Number.isInteger(Number(e)), UP = (e) => e.endsWith("%") && VP(e.slice(0, -1)), WP = (e) => FP.test(e), GP = () => !0, KP = (e) => IP.test(e) && !LP.test(e), qP = () => !1, JP = (e) => RP.test(e), YP = (e) => zP.test(e), XP = (e) => !$P(e) && !sF(e), ZP = (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)), QP = (e) => hF(e, yF, qP), $P = (e) => MP.test(e), eF = (e) => hF(e, bF, KP), tF = (e) => hF(e, Lce, VP), nF = (e) => hF(e, SF, GP), rF = (e) => hF(e, xF, qP), iF = (e) => hF(e, _F, qP), aF = (e) => hF(e, vF, YP), oF = (e) => hF(e, CF, JP), sF = (e) => NP.test(e), cF = (e) => gF(e, bF), lF = (e) => gF(e, xF), uF = (e) => gF(e, _F), dF = (e) => gF(e, yF), fF = (e) => gF(e, vF), pF = (e) => gF(e, CF, !0), mF = (e) => gF(e, SF, !0), hF = (e, t, n) => {+ let r = MP.exec(e);return r ? r[1] ? t(r[1]) : n(r[2]) : !1;-}, _F = (e, t, n = !1) => {- let r = PP.exec(e);+}, gF = (e, t, n = !1) => {+ let r = NP.exec(e);return r ? r[1] ? t(r[1]) : n : !1;-}, vF = (e) => e === "position" || e === "percentage", yF = (e) => e === "image" || e === "url", bF = (e) => e === "length" || e === "size" || e === "bg-size", xF = (e) => e === "length", Ice = (e) => e === "number", SF = (e) => e === "family-name", CF = (e) => e === "number" || e === "weight", wF = (e) => e === "shadow", TF = () => {- let e = MP("color"), t = MP("font"), n = MP("text"), r = MP("font-weight"), i = MP("tracking"), a = MP("leading"), o = MP("breakpoint"), s = MP("container"), c = MP("spacing"), l = MP("radius"), u = MP("shadow"), d = MP("inset-shadow"), f = MP("text-shadow"), p = MP("drop-shadow"), m = MP("blur"), h = MP("perspective"), g = MP("aspect"), _ = MP("ease"), v = MP("animate"), y = () => [+}, _F = (e) => e === "position" || e === "percentage", vF = (e) => e === "image" || e === "url", yF = (e) => e === "length" || e === "size" || e === "bg-size", bF = (e) => e === "length", Lce = (e) => e === "number", xF = (e) => e === "family-name", SF = (e) => e === "number" || e === "weight", CF = (e) => e === "shadow", wF = () => {+ let e = jP("color"), t = jP("font"), n = jP("text"), r = jP("font-weight"), i = jP("tracking"), a = jP("leading"), o = jP("breakpoint"), s = jP("container"), c = jP("spacing"), l = jP("radius"), u = jP("shadow"), d = jP("inset-shadow"), f = jP("text-shadow"), p = jP("drop-shadow"), m = jP("blur"), h = jP("perspective"), g = jP("aspect"), _ = jP("ease"), v = jP("animate"), y = () => ["auto","avoid","all",@@ -33829,8 +33829,8 @@ var $N = (e, t) => {"left-bottom"], x = () => [...b(),- cF,- eF+ sF,+ $P], S = () => ["auto","hidden",@@ -33842,43 +33842,43 @@ var $N = (e, t) => {"contain","none"], w = () => [- cF,- eF,+ sF,+ $P,c], T = () => [- VP,+ BP,"full","auto",...w()], E = () => [- UP,+ HP,"none","subgrid",- cF,- eF+ sF,+ $P], D = () => ["auto",{ span: ["full",- UP,- cF,- eF+ HP,+ sF,+ $P] },- UP,- cF,- eF+ HP,+ sF,+ $P], O = () => [- UP,+ HP,"auto",- cF,- eF+ sF,+ $P], k = () => ["auto","min","max","fr",- cF,- eF+ sF,+ $P], A = () => ["start","end",@@ -33898,7 +33898,7 @@ var $N = (e, t) => {"center-safe","end-safe"], M = () => ["auto", ...w()], N = () => [- VP,+ BP,"auto","full","dvw",@@ -33913,7 +33913,7 @@ var $N = (e, t) => {...w()], ee = () => [s,- VP,+ BP,"screen","full","dvw",@@ -33924,7 +33924,7 @@ var $N = (e, t) => {"fit",...w()], te = () => [- VP,+ BP,"screen","full","lh",@@ -33937,13 +33937,13 @@ var $N = (e, t) => {...w()], P = () => [e,- cF,- eF+ sF,+ $P], ne = () => [...b(),- dF,- aF,- { position: [cF, eF] }+ uF,+ iF,+ { position: [sF, $P] }], F = () => ["no-repeat", { repeat: ["","x",@@ -33954,25 +33954,25 @@ var $N = (e, t) => {"auto","cover","contain",- fF,- $P,- { size: [cF, eF] }+ dF,+ QP,+ { size: [sF, $P] }], ie = () => [- WP,- lF,- tF+ UP,+ cF,+ eF], ae = () => ["","none","full",l,- cF,- eF+ sF,+ $P], oe = () => ["",- HP,- lF,- tF+ VP,+ cF,+ eF], se = () => ["solid","dashed",@@ -33996,32 +33996,32 @@ var $N = (e, t) => {"color","luminosity"], le = () => [- HP,- WP,- dF,- aF+ VP,+ UP,+ uF,+ iF], ue = () => ["","none",m,- cF,- eF+ sF,+ $P], de = () => ["none",- HP,- cF,- eF+ VP,+ sF,+ $P], fe = () => ["none",- HP,- cF,- eF+ VP,+ sF,+ $P], pe = () => [- HP,- cF,- eF- ], me = () => [VP,+ sF,+ $P+ ], me = () => [+ BP,"full",...w()];@@ -34035,17 +34035,17 @@ var $N = (e, t) => {"bounce"],aspect: ["video"],- blur: [GP],- breakpoint: [GP],- color: [KP],- container: [GP],- "drop-shadow": [GP],+ blur: [WP],+ breakpoint: [WP],+ color: [GP],+ container: [WP],+ "drop-shadow": [WP],ease: ["in","out","in-out"],- font: [ZP],+ font: [XP],"font-weight": ["thin","extralight",@@ -34057,7 +34057,7 @@ var $N = (e, t) => {"extrabold","black"],- "inset-shadow": [GP],+ "inset-shadow": [WP],leading: ["none","tight",@@ -34074,11 +34074,11 @@ var $N = (e, t) => {"distant","none"],- radius: [GP],- shadow: [GP],- spacing: ["px", HP],- text: [GP],- "text-shadow": [GP],+ radius: [WP],+ shadow: [WP],+ spacing: ["px", VP],+ text: [WP],+ "text-shadow": [WP],tracking: ["tighter","tight",@@ -34092,9 +34092,9 @@ var $N = (e, t) => {aspect: [{ aspect: ["auto","square",- VP,- eF,- cF,+ BP,+ $P,+ sF,g] }],container: ["container"],@@ -34102,15 +34102,15 @@ var $N = (e, t) => {"","normal","size",- cF,- eF+ sF,+ $P] }],- "container-named": [QP],+ "container-named": [ZP],columns: [{ columns: [- HP,+ VP,"auto",- eF,- cF,+ $P,+ sF,s] }],"break-after": [{ "break-after": y() }],@@ -34207,13 +34207,13 @@ var $N = (e, t) => {"collapse"],z: [{ z: [- UP,+ HP,"auto",- cF,- eF+ sF,+ $P] }],basis: [{ basis: [- VP,+ BP,"full","auto",s,@@ -34231,32 +34231,32 @@ var $N = (e, t) => {"wrap-reverse"] }],flex: [{ flex: [- HP,VP,+ BP,"auto","initial","none",- eF+ $P] }],grow: [{ grow: ["",- HP,- cF,- eF+ VP,+ sF,+ $P] }],shrink: [{ shrink: ["",- HP,- cF,- eF+ VP,+ sF,+ $P] }],order: [{ order: [- UP,+ HP,"first","last","none",- cF,- eF+ sF,+ $P] }],"grid-cols": [{ "grid-cols": E() }],"col-start-end": [{ col: D() }],@@ -34363,15 +34363,15 @@ var $N = (e, t) => {"font-size": [{ text: ["base",n,- lF,- tF+ cF,+ eF] }],"font-smoothing": ["antialiased", "subpixel-antialiased"],"font-style": ["italic", "not-italic"],"font-weight": [{ font: [r,- hF,- rF+ mF,+ nF] }],"font-stretch": [{ "font-stretch": ["ultra-condensed",@@ -34383,15 +34383,15 @@ var $N = (e, t) => {"expanded","extra-expanded","ultra-expanded",- WP,- eF+ UP,+ $P] }],"font-family": [{ font: [- uF,- iF,+ lF,+ rF,t] }],- "font-features": [{ "font-features": [eF] }],+ "font-features": [{ "font-features": [$P] }],"fvn-normal": ["normal-nums"],"fvn-ordinal": ["ordinal"],"fvn-slashed-zero": ["slashed-zero"],@@ -34400,14 +34400,14 @@ var $N = (e, t) => {"fvn-fraction": ["diagonal-fractions", "stacked-fractions"],tracking: [{ tracking: [i,- cF,- eF+ sF,+ $P] }],"line-clamp": [{ "line-clamp": [- HP,+ VP,"none",- cF,- nF+ sF,+ tF] }],leading: [{ leading: ["none",@@ -34416,16 +34416,16 @@ var $N = (e, t) => {] }],"list-image": [{ "list-image": ["none",- cF,- eF+ sF,+ $P] }],"list-style-position": [{ list: ["inside", "outside"] }],"list-style-type": [{ list: ["disc","decimal","none",- cF,- eF+ sF,+ $P] }],"text-alignment": [{ text: ["left",@@ -34445,18 +34445,18 @@ var $N = (e, t) => {],"text-decoration-style": [{ decoration: [...se(), "wavy"] }],"text-decoration-thickness": [{ decoration: [- HP,+ VP,"from-font","auto",- cF,- tF+ sF,+ eF] }],"text-decoration-color": [{ decoration: P() }],"underline-offset": [{ "underline-offset": [- HP,+ VP,"auto",- cF,- eF+ sF,+ $P] }],"text-transform": ["uppercase",@@ -34477,9 +34477,9 @@ var $N = (e, t) => {] }],indent: [{ indent: w() }],"tab-size": [{ tab: [- UP,- cF,- eF+ HP,+ sF,+ $P] }],"vertical-align": [{ align: ["baseline",@@ -34490,8 +34490,8 @@ var $N = (e, t) => {"text-bottom","sub","super",- cF,- eF+ sF,+ $P] }],whitespace: [{ whitespace: ["normal",@@ -34519,8 +34519,8 @@ var $N = (e, t) => {] }],content: [{ content: ["none",- cF,- eF+ sF,+ $P] }],"bg-attachment": [{ bg: ["fixed",@@ -34555,24 +34555,24 @@ var $N = (e, t) => {"l","tl"] },- UP,- cF,- eF+ HP,+ sF,+ $P],radial: ["",- cF,- eF+ sF,+ $P],conic: ["",- UP,- cF,- eF+ HP,+ sF,+ $P]},- pF,- oF+ fF,+ aF] }],"bg-color": [{ bg: P() }],"gradient-from-pos": [{ from: ie() }],@@ -34639,15 +34639,15 @@ var $N = (e, t) => {"hidden"] }],"outline-offset": [{ "outline-offset": [- HP,- cF,- eF+ VP,+ sF,+ $P] }],"outline-w": [{ outline: ["",- HP,- lF,- tF+ VP,+ cF,+ eF] }],"outline-color": [{ outline: P() }],shadow: [{ shadow: [@@ -34655,35 +34655,35 @@ var $N = (e, t) => {"inner","none",u,- mF,- sF+ pF,+ oF] }],"shadow-color": [{ shadow: P() }],"inset-shadow": [{ "inset-shadow": ["none",d,- mF,- sF+ pF,+ oF] }],"inset-shadow-color": [{ "inset-shadow": P() }],"ring-w": [{ ring: oe() }],"ring-w-inset": ["ring-inset"],"ring-color": [{ ring: P() }],- "ring-offset-w": [{ "ring-offset": [HP, tF] }],+ "ring-offset-w": [{ "ring-offset": [VP, eF] }],"ring-offset-color": [{ "ring-offset": P() }],"inset-ring-w": [{ "inset-ring": oe() }],"inset-ring-color": [{ "inset-ring": P() }],"text-shadow": [{ "text-shadow": ["none",f,- mF,- sF+ pF,+ oF] }],"text-shadow-color": [{ "text-shadow": P() }],opacity: [{ opacity: [- HP,- cF,- eF+ VP,+ sF,+ $P] }],"mix-blend": [{ "mix-blend": [...ce(),@@ -34705,7 +34705,7 @@ var $N = (e, t) => {"intersect","exclude"] }],- "mask-image-linear-pos": [{ "mask-linear": [HP] }],+ "mask-image-linear-pos": [{ "mask-linear": [VP] }],"mask-image-linear-from-pos": [{ "mask-linear-from": le() }],"mask-image-linear-to-pos": [{ "mask-linear-to": le() }],"mask-image-linear-from-color": [{ "mask-linear-from": P() }],@@ -34734,7 +34734,7 @@ var $N = (e, t) => {"mask-image-y-to-pos": [{ "mask-y-to": le() }],"mask-image-y-from-color": [{ "mask-y-from": P() }],"mask-image-y-to-color": [{ "mask-y-to": P() }],- "mask-image-radial": [{ "mask-radial": [cF, eF] }],+ "mask-image-radial": [{ "mask-radial": [sF, $P] }],"mask-image-radial-from-pos": [{ "mask-radial-from": le() }],"mask-image-radial-to-pos": [{ "mask-radial-to": le() }],"mask-image-radial-from-color": [{ "mask-radial-from": P() }],@@ -34745,7 +34745,7 @@ var $N = (e, t) => {farthest: ["side", "corner"]}] }],"mask-image-radial-pos": [{ "mask-radial-at": b() }],- "mask-image-conic-pos": [{ "mask-conic": [HP] }],+ "mask-image-conic-pos": [{ "mask-conic": [VP] }],"mask-image-conic-from-pos": [{ "mask-conic-from": le() }],"mask-image-conic-to-pos": [{ "mask-conic-to": le() }],"mask-image-conic-from-color": [{ "mask-conic-from": P() }],@@ -34769,111 +34769,111 @@ var $N = (e, t) => {"mask-type": [{ "mask-type": ["alpha", "luminance"] }],"mask-image": [{ mask: ["none",- cF,- eF+ sF,+ $P] }],filter: [{ filter: ["","none",- cF,- eF+ sF,+ $P] }],blur: [{ blur: ue() }],brightness: [{ brightness: [- HP,- cF,- eF+ VP,+ sF,+ $P] }],contrast: [{ contrast: [- HP,- cF,- eF+ VP,+ sF,+ $P] }],"drop-shadow": [{ "drop-shadow": ["","none",p,- mF,- sF+ pF,+ oF] }],"drop-shadow-color": [{ "drop-shadow": P() }],grayscale: [{ grayscale: ["",- HP,- cF,- eF+ VP,+ sF,+ $P] }],"hue-rotate": [{ "hue-rotate": [- HP,- cF,- eF+ VP,+ sF,+ $P] }],invert: [{ invert: ["",- HP,- cF,- eF+ VP,+ sF,+ $P] }],saturate: [{ saturate: [- HP,- cF,- eF+ VP,+ sF,+ $P] }],sepia: [{ sepia: ["",- HP,- cF,- eF+ VP,+ sF,+ $P] }],"backdrop-filter": [{ "backdrop-filter": ["","none",- cF,- eF+ sF,+ $P] }],"backdrop-blur": [{ "backdrop-blur": ue() }],"backdrop-brightness": [{ "backdrop-brightness": [- HP,- cF,- eF+ VP,+ sF,+ $P] }],"backdrop-contrast": [{ "backdrop-contrast": [- HP,- cF,- eF+ VP,+ sF,+ $P] }],"backdrop-grayscale": [{ "backdrop-grayscale": ["",- HP,- cF,- eF+ VP,+ sF,+ $P] }],"backdrop-hue-rotate": [{ "backdrop-hue-rotate": [- HP,- cF,- eF+ VP,+ sF,+ $P] }],"backdrop-invert": [{ "backdrop-invert": ["",- HP,- cF,- eF+ VP,+ sF,+ $P] }],"backdrop-opacity": [{ "backdrop-opacity": [- HP,- cF,- eF+ VP,+ sF,+ $P] }],"backdrop-saturate": [{ "backdrop-saturate": [- HP,- cF,- eF+ VP,+ sF,+ $P] }],"backdrop-sepia": [{ "backdrop-sepia": ["",- HP,- cF,- eF+ VP,+ sF,+ $P] }],"border-collapse": [{ border: ["collapse", "separate"] }],"border-spacing": [{ "border-spacing": w() }],@@ -34889,39 +34889,39 @@ var $N = (e, t) => {"shadow","transform","none",- cF,- eF+ sF,+ $P] }],"transition-behavior": [{ transition: ["normal", "discrete"] }],duration: [{ duration: [- HP,+ VP,"initial",- cF,- eF+ sF,+ $P] }],ease: [{ ease: ["linear","initial",_,- cF,- eF+ sF,+ $P] }],delay: [{ delay: [- HP,- cF,- eF+ VP,+ sF,+ $P] }],animate: [{ animate: ["none",v,- cF,- eF+ sF,+ $P] }],backface: [{ backface: ["hidden", "visible"] }],perspective: [{ perspective: [h,- cF,- eF+ sF,+ $P] }],"perspective-origin": [{ "perspective-origin": x() }],rotate: [{ rotate: de() }],@@ -34937,8 +34937,8 @@ var $N = (e, t) => {"skew-x": [{ "skew-x": pe() }],"skew-y": [{ "skew-y": pe() }],transform: [{ transform: [- cF,- eF,+ sF,+ $P,"","none","gpu",@@ -34952,9 +34952,9 @@ var $N = (e, t) => {"translate-z": [{ "translate-z": me() }],"translate-none": ["translate-none"],zoom: [{ zoom: [- UP,- cF,- eF+ HP,+ sF,+ $P] }],accent: [{ accent: P() }],appearance: [{ appearance: ["none", "auto"] }],@@ -35004,8 +35004,8 @@ var $N = (e, t) => {"nwse-resize","zoom-in","zoom-out",- cF,- eF+ sF,+ $P] }],"field-sizing": [{ "field-sizing": ["fixed", "content"] }],"pointer-events": [{ "pointer-events": ["auto", "none"] }],@@ -35091,15 +35091,15 @@ var $N = (e, t) => {"scroll","contents","transform",- cF,- eF+ sF,+ $P] }],fill: [{ fill: ["none", ...P()] }],"stroke-w": [{ stroke: [- HP,- lF,- tF,- nF+ VP,+ cF,+ eF,+ tF] }],stroke: [{ stroke: ["none", ...P()] }],"forced-color-adjust": [{ "forced-color-adjust": ["auto", "none"] }]@@ -35357,16 +35357,16 @@ var $N = (e, t) => {"selection"]};-}, Lce = (e, { cacheSize: t, prefix: n, experimentalParseClassName: r, extend: i = {}, override: a = {} }) => (EF(e, "cacheSize", t), EF(e, "prefix", n), EF(e, "experimentalParseClassName", r), DF(e.theme, a.theme), DF(e.classGroups, a.classGroups), DF(e.conflictingClassGroups, a.conflictingClassGroups), DF(e.conflictingClassGroupModifiers, a.conflictingClassGroupModifiers), EF(e, "postfixLookupClassGroups", a.postfixLookupClassGroups), EF(e, "orderSensitiveModifiers", a.orderSensitiveModifiers), OF(e.theme, i.theme), OF(e.classGroups, i.classGroups), OF(e.conflictingClassGroups, i.conflictingClassGroups), OF(e.conflictingClassGroupModifiers, i.conflictingClassGroupModifiers), kF(e, i, "postfixLookupClassGroups"), kF(e, i, "orderSensitiveModifiers"), e), EF = (e, t, n) => {+}, Rce = (e, { cacheSize: t, prefix: n, experimentalParseClassName: r, extend: i = {}, override: a = {} }) => (TF(e, "cacheSize", t), TF(e, "prefix", n), TF(e, "experimentalParseClassName", r), EF(e.theme, a.theme), EF(e.classGroups, a.classGroups), EF(e.conflictingClassGroups, a.conflictingClassGroups), EF(e.conflictingClassGroupModifiers, a.conflictingClassGroupModifiers), TF(e, "postfixLookupClassGroups", a.postfixLookupClassGroups), TF(e, "orderSensitiveModifiers", a.orderSensitiveModifiers), DF(e.theme, i.theme), DF(e.classGroups, i.classGroups), DF(e.conflictingClassGroups, i.conflictingClassGroups), DF(e.conflictingClassGroupModifiers, i.conflictingClassGroupModifiers), OF(e, i, "postfixLookupClassGroups"), OF(e, i, "orderSensitiveModifiers"), e), TF = (e, t, n) => {n !== void 0 && (e[t] = n);+}, EF = (e, t) => {+ if (t) for (let n in t) TF(e, n, t[n]);}, DF = (e, t) => {- if (t) for (let n in t) EF(e, n, t[n]);-}, OF = (e, t) => {- if (t) for (let n in t) kF(e, t, n);-}, kF = (e, t, n) => {+ if (t) for (let n in t) OF(e, t, n);+}, OF = (e, t, n) => {let r = t[n];r !== void 0 && (e[n] = e[n] ? e[n].concat(r) : r);-}, Rce = (e, ...t) => typeof e == "function" ? AP(TF, e, ...t) : AP(() => Lce(TF(), e), ...t), zce = [+}, zce = (e, ...t) => typeof e == "function" ? kP(wF, e, ...t) : kP(() => Rce(wF(), e), ...t), Bce = ["large-title","display-1","display-2",@@ -35380,18 +35380,18 @@ var $N = (e, t) => {"body-2","caption-1","caption-2"-], Bce = [+], Vce = ["regular","medium","semibold","bold"-], AF = Rce({ extend: { classGroups: { "font-size": [{ text: zce.flatMap((e) => Bce.map((t) => `${e}-${t}`)) }] } } });-function jF(e) {+], kF = zce({ extend: { classGroups: { "font-size": [{ text: Bce.flatMap((e) => Vce.map((t) => `${e}-${t}`)) }] } } });+function AF(e) {return e;}//#endregion//#region src/react/components/pill-tab.tsx-var Vce = typeof window < "u" ? D.useLayoutEffect : D.useEffect, MF = jF({+var Hce = typeof window < "u" ? D.useLayoutEffect : D.useEffect, jF = AF({radius: {blue: "rounded-full",gray: "rounded-2lg"@@ -35413,9 +35413,9 @@ var Vce = typeof window < "u" ? D.useLayoutEffect : D.useEffect, MF = jF({gray: "text-text-primary"}});-function NF({ children: e, className: t, ref: n, container: r, ...i }) {+function MF({ children: e, className: t, ref: n, container: r, ...i }) {let a = (0, D.useRef)(null), [o, s] = (0, D.useState)(null);- Vce(() => {+ Hce(() => {let e = r === void 0 ? a.current : r;if (!e) return;let t = () => {@@ -35451,7 +35451,7 @@ function NF({ children: e, className: t, ref: n, container: r, ...i }) {}, l = o && /* @__PURE__ */ (0, O.jsx)("span", {"aria-hidden": !0,"data-pill-thumb": "",- className: AF("pointer-events-none absolute left-0 top-0", MF.radius[o.variant], MF.thumb[o.variant]),+ className: kF("pointer-events-none absolute left-0 top-0", jF.radius[o.variant], jF.thumb[o.variant]),style: {"--pill-left": `${o.left}px`,"--pill-top": `${o.top}px`,@@ -35462,44 +35462,44 @@ function NF({ children: e, className: t, ref: n, container: r, ...i }) {return r === void 0 ? /* @__PURE__ */ (0, O.jsxs)("div", {ref: c,role: "group",- className: AF("relative inline-flex items-center gap-1", t),+ className: kF("relative inline-flex items-center gap-1", t),...i,children: [l, e]}) : r ? (0, Et.createPortal)(l, r) : null;}//#endregion//#region src/react/manage-header/manage-header-island.tsx-var PF = null, FF = null, IF = /* @__PURE__ */ new Set();-function Hce(e) {- return IF.add(e), () => {- IF.delete(e);+var NF = null, PF = null, FF = /* @__PURE__ */ new Set();+function Uce(e) {+ return FF.add(e), () => {+ FF.delete(e);};}-function Uce() {- for (let e of [...IF]) e();+function Wce() {+ for (let e of [...FF]) e();}-var Wce = { render(e) {- FF = e, (0, Et.flushSync)(Uce);+var Gce = { render(e) {+ PF = e, (0, Et.flushSync)(Wce);} };-function Gce(e) {- return PF = e, FF = null, Wce;+function Kce(e) {+ return NF = e, PF = null, Gce;}-function Kce() {- let e = (0, D.useSyncExternalStore)(Hce, () => FF);- return PF && e ? /* @__PURE__ */ (0, O.jsx)(qce, {- host: PF,+function qce() {+ let e = (0, D.useSyncExternalStore)(Uce, () => PF);+ return NF && e ? /* @__PURE__ */ (0, O.jsx)(Jce, {+ host: NF,props: e}) : null;}-function qce({ host: e, props: t }) {- let n = GN(t);+function Jce({ host: e, props: t }) {+ let n = WN(t);return n ? /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [- /* @__PURE__ */ (0, O.jsx)(Jce, {+ /* @__PURE__ */ (0, O.jsx)(Yce, {host: e,pressed: n.pressed,menu: t.menu}),- n.crumb ? /* @__PURE__ */ (0, O.jsx)(Yce, {+ n.crumb ? /* @__PURE__ */ (0, O.jsx)(Xce, {host: e,label: n.crumb}) : null,@@ -35508,13 +35508,13 @@ function qce({ host: e, props: t }) {"data-compact": n.compact ? "" : void 0,children: n.title}),- n.lede.kind === "none" ? null : /* @__PURE__ */ (0, O.jsx)(Xce, {+ n.lede.kind === "none" ? null : /* @__PURE__ */ (0, O.jsx)(Zce, {host: e,lede: n.lede})] }) : null;}-function Jce({ host: e, pressed: t, menu: n }) {+function Yce({ host: e, pressed: t, menu: n }) {let r = (0, D.useRef)(null);return (0, D.useLayoutEffect)(() => {let e = r.current, t = e?.querySelector("button[aria-pressed=\"true\"]");@@ -35524,7 +35524,7 @@ function Jce({ host: e, pressed: t, menu: n }) {}, [t, n]), /* @__PURE__ */ (0, O.jsx)("nav", {"data-manage-bar": "","aria-label": "管理",- children: /* @__PURE__ */ (0, O.jsx)(NF, {+ children: /* @__PURE__ */ (0, O.jsx)(MF, {ref: r,"data-manage-menu": "","data-pill-nav": "",@@ -35538,13 +35538,13 @@ function Jce({ host: e, pressed: t, menu: n }) {"data-pill-selected": a ? "" : void 0,"data-pill-variant": "gray",onClick: () => e.openManage(n),- children: [/* @__PURE__ */ (0, O.jsx)(ZN, { name: i }), /* @__PURE__ */ (0, O.jsx)("span", { children: r })]+ children: [/* @__PURE__ */ (0, O.jsx)(XN, { name: i }), /* @__PURE__ */ (0, O.jsx)("span", { children: r })]}, n);})})});}-function Yce({ host: e, label: t }) {+function Xce({ host: e, label: t }) {return /* @__PURE__ */ (0, O.jsx)("nav", {"data-manage-crumb": "","aria-label": "当前位置",@@ -35554,20 +35554,20 @@ function Yce({ host: e, label: t }) {t.metaKey || t.ctrlKey || t.shiftKey || t.altKey || t.button || (t.preventDefault(), e.openDataCleanup());},children: "数据管理"- }), /* @__PURE__ */ (0, O.jsx)(ZN, { name: "chevron-right" })] }), /* @__PURE__ */ (0, O.jsx)("li", {+ }), /* @__PURE__ */ (0, O.jsx)(XN, { name: "chevron-right" })] }), /* @__PURE__ */ (0, O.jsx)("li", {"aria-current": "true",children: /* @__PURE__ */ (0, O.jsx)("span", { children: t })})] })});}-function Xce({ host: e, lede: t }) {+function Zce({ host: e, lede: t }) {return /* @__PURE__ */ (0, O.jsx)("p", {className: "mono","data-manage-lede": "",children: t.kind === "skeleton" ? /* @__PURE__ */ (0, O.jsx)("span", {"data-trash-lede-skeletons": "",- dangerouslySetInnerHTML: { __html: JN }- }) : /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)(Zce, { text: t.text }), t.total ? /* @__PURE__ */ (0, O.jsx)("button", {+ dangerouslySetInnerHTML: { __html: qN }+ }) : /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)(Qce, { text: t.text }), t.total ? /* @__PURE__ */ (0, O.jsx)("button", {type: "button","data-empty-trash": "","data-danger": "",@@ -35577,7 +35577,7 @@ function Xce({ host: e, lede: t }) {}) : null] })});}-function Zce({ text: e }) {+function Qce({ text: e }) {let t = (0, D.useRef)(null);return (0, D.useLayoutEffect)(() => {ds(t.current, e);@@ -35588,29 +35588,29 @@ function Zce({ text: e }) {}//#endregion//#region src/core/text-lang.ts-var Qce = /[-ヿㇰ-ㇿヲ-゚]/, $ce = /[㐀-鿿豈-]/, ele = /[A-Za-z]/;-function LF(e) {+var $ce = /[-ヿㇰ-ㇿヲ-゚]/, ele = /[㐀-鿿豈-]/, tle = /[A-Za-z]/;+function IF(e) {let t = String(e ?? "");- if (Qce.test(t)) return "ja";- if (!$ce.test(t) && ele.test(t)) return "en";+ if ($ce.test(t)) return "ja";+ if (!ele.test(t) && tle.test(t)) return "en";}-var tle = (e) => {- let t = LF(e);+var nle = (e) => {+ let t = IF(e);return t ? ` lang="${t}"` : "";-}, nle = /\.(?:mp4|mkv|avi|wmv|mov|m4v|webm|ts|m2ts|mts|mpg|mpeg|flv|rm|rmvb|iso)$/i, rle = (e, t = e?.name) => {+}, rle = /\.(?:mp4|mkv|avi|wmv|mov|m4v|webm|ts|m2ts|mts|mpg|mpeg|flv|rm|rmvb|iso)$/i, ile = (e, t = e?.name) => {let n = String(t || "").trim();- return e?.is_jav ? n.replace(nle, "") : n;-}, ile = (e) => /[-ヿ㐀-鿿]/.test(String(e || "")), ale = (e) => {+ return e?.is_jav ? n.replace(rle, "") : n;+}, ale = (e) => /[-ヿ㐀-鿿]/.test(String(e || "")), ole = (e) => {let t = [e?.catalog_title, e?.original_title].map((e) => String(e || "").trim()).filter(Boolean);- return t.find(ile) || t[0] || "";+ return t.find(ale) || t[0] || "";};-function RF(e, t = e?.name) {- let n = rle(e, t), r = String(e?.code || "").trim().toUpperCase();+function LF(e, t = e?.name) {+ let n = ile(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 = ale(e), u = Object.prototype.hasOwnProperty.call(e || {}, "display_title") ? String(e.display_title || "").trim() : c, d = l || u, f = Array.isArray(e?.edition_badges) ? e.edition_badges.filter((e) => [+ 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 = ole(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) => ["中字","无码","无码破解"@@ -35621,27 +35621,27 @@ function RF(e, t = e?.name) {badges: f};}-var zF = (e, t = e?.name) => {- let { code: n, title: r, badges: i = [] } = RF(e, t);+var RF = (e, t = e?.name) => {+ let { code: n, title: r, badges: i = [] } = LF(e, t);return n ? [n,...i,r].filter(Boolean).join(" ") : r;};-function BF(e, t = e?.name) {- let { code: n, title: r, badges: i = [] } = RF(e, t);+function zF(e, t = e?.name) {+ let { code: n, title: r, badges: i = [] } = LF(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"${tle(r)}>${z(r)}</span>` : ""}`;+ return `<span class="ui-javidentity"><strong class="ui-javcode">${z(n)}</strong>${a}</span>${r ? ` <span class="ui-javtitle"${nle(r)}>${z(r)}</span>` : ""}`;}//#endregion//#region src/react/activity/tasks.ts-var VF = "/api/tasks", HF = ["tasks"], ole = (e, t) => B(`${VF}?${new URLSearchParams({+var BF = "/api/tasks", VF = ["tasks"], sle = (e, t) => B(`${BF}?${new URLSearchParams({before_finished_at: e.finished_at || "",before_id: String(e.id)})}`, t);-function sle(...e) {+function cle(...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) => {@@ -35649,26 +35649,26 @@ function sle(...e) {return n === r ? t.id - e.id : n < r ? 1 : -1;});}-var cle = 2e3, lle = 1e4, UF = (e) => e?.running?.length ? cle : lle, WF = (e) => B(VF, e);-async function ule(e) {+var lle = 2e3, ule = 1e4, HF = (e) => e?.running?.length ? lle : ule, UF = (e) => B(BF, e);+async function dle(e) {await H.fetchQuery({- queryKey: HF,- queryFn: () => WF(e)+ queryKey: VF,+ queryFn: () => UF(e)});}-var dle = {+var fle = {manual: "手动",scheduled: "定时",startup: "启动",cli: "命令行"-}, fle = {+}, ple = {pending: "排队中",running: "进行中",succeeded: "已完成",failed: "失败",cancelled: "已取消",interrupted: "意外中断"-}, ple = (e) => fle[e] || e, GF = {+}, mle = (e) => ple[e] || e, WF = {checked: "已检查",total: "总数",scanned: "已扫描",@@ -35745,7 +35745,7 @@ var dle = {without_code: "未识别番号",incomplete: "资料或封面未取得",result: "结果"-}, mle = [+}, hle = ["gone_count","unclear_count","source_failed",@@ -35767,14 +35767,14 @@ var dle = {"paused_count","miss","incomplete"-], hle = ["face_match_unavailable"], KF = (e) => e.result_summary?.ok === !1 || !!e.result_summary?.error || hle.some((t) => e.result_summary?.[t] === !0) || mle.some((t) => Number(e.result_summary?.[t]) > 0);-function gle(e) {+], gle = ["face_match_unavailable"], GF = (e) => e.result_summary?.ok === !1 || !!e.result_summary?.error || gle.some((t) => e.result_summary?.[t] === !0) || hle.some((t) => Number(e.result_summary?.[t]) > 0);+function _le(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 qF = /* @__PURE__ */ new Set(["library-processing"]);-function _le(e, t = !0) {- if (!KF(e) && e.status !== "failed" || qF.has(e.task_key) && !t) return null;+var KF = /* @__PURE__ */ new Set(["library-processing"]);+function vle(e, t = !0) {+ if (!GF(e) && e.status !== "failed" || KF.has(e.task_key) && !t) return null;let n = {"link-check": ["/data-cleanup#link-manager", "查看有问题的链接"],"link-prune": ["/data-cleanup#link-manager", "查看有问题的链接"],@@ -35792,12 +35792,12 @@ function _le(e, t = !0) {label: n[1]} : null;}-function vle(e) {+function yle(e) {let t = /* @__PURE__ */ new Map();- for (let n of e) qF.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) KF.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 yle(e) {+function ble(e) {let t = /* @__PURE__ */ new Map();for (let n of e) {if (!n.followup_key || n.parent_run_id == null) continue;@@ -35806,7 +35806,7 @@ function yle(e) {}return t;}-function ble(e, t) {+function xle(e, t) {let n = [], r = /* @__PURE__ */ new Map();for (let i of e) {if (!t(i)) {@@ -35828,12 +35828,12 @@ function ble(e, t) {}return n;}-var xle = (e) => e.trigger === "scheduled" && e.status === "succeeded" && !e.error && !KF(e) && !(Number(e.result_summary?.added) > 0) && !(Number(e.result_summary?.followups) > 0), JF = (e) => e.status === "pending" || e.status === "running";-function Sle(e) {+var Sle = (e) => e.trigger === "scheduled" && e.status === "succeeded" && !e.error && !GF(e) && !(Number(e.result_summary?.added) > 0) && !(Number(e.result_summary?.followups) > 0), qF = (e) => e.status === "pending" || e.status === "running";+function Cle(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, ZF(e.error) || kle(o) || (JF(e) && i > 0 ? `${XF(e.progress_current, i)} 项` : "")].filter(Boolean).join(" · ");+ return [r, XF(e.error) || Ale(o) || (qF(e) && i > 0 ? `${YF(e.progress_current, i)} 项` : "")].filter(Boolean).join(" · ");}-function YF(e) {+function JF(e) {if (typeof e != "number" || !Number.isFinite(e) || e < 0) return "";let t = Math.floor(e);if (t < 60) return `${t} 秒`;@@ -35842,19 +35842,19 @@ function YF(e) {let r = Math.floor(n / 60);return r < 48 ? `${r} 小时 ${n % 60} 分` : `${Math.floor(r / 24).toLocaleString()} 天 ${r % 24} 小时`;}-function XF(e, t) {+function YF(e, t) {let n = Math.max(0, Number(t) || 0);return `${Math.min(n, Math.max(0, Number(e) || 0)).toLocaleString()} / ${n.toLocaleString()}`;}-function Cle(e) {+function wle(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 ZF(e) {- let t = Cle(e), n = t.match(/^(?:[\w.]*Error|Exception):\s*(.*)$/);+function XF(e) {+ let t = wle(e), n = t.match(/^(?:[\w.]*Error|Exception):\s*(.*)$/);return n ? Wt(n[1]) : t;}-var wle = {+var Tle = {没有新写法: "未发现新别名",已装上: "已保存资料图片",已装着认得准的小图: "已保留身份核对通过的小尺寸图片",@@ -35868,11 +35868,11 @@ var wle = {三站都没对上她: "三个来源均未找到与该人物相符的资料页",已有身份: "已有创作者分类",已变: "资料已被其他操作修改,本次未保存"-}, QF = {+}, ZF = {avwikidb: "AVWikiDB",javdb: "JavDB","minnano-av": "みんなのAV"-}, Tle = {+}, Ele = {like: "标记喜欢",seen: "标记看过",later: "加入稍后看",@@ -35883,8 +35883,8 @@ var wle = {"dismiss-junk": "确认不是垃圾","reconsider-junk": "重新判定垃圾",region: "判定产地"-}, Ele = (e) => wle[e] || e.replace(/(avwikidb|javdb|minnano-av) (绑定|写入)/gi, (e, t, n) => n === "绑定" ? `已关联 ${QF[t.toLowerCase()]} 资料页` : `已保存来自 ${QF[t.toLowerCase()]} 的资料`);-function $F(e) {+}, Dle = (e) => Tle[e] || e.replace(/(avwikidb|javdb|minnano-av) (绑定|写入)/gi, (e, t, n) => n === "绑定" ? `已关联 ${ZF[t.toLowerCase()]} 资料页` : `已保存来自 ${ZF[t.toLowerCase()]} 的资料`);+function QF(e) {if (!e) return "";let t = new Date(e);return Number.isNaN(t.getTime()) ? "" : t.toLocaleString(void 0, {@@ -35894,7 +35894,7 @@ function $F(e) {minute: "2-digit"});}-var Dle = /* @__PURE__ */ new Set([+var Ole = /* @__PURE__ */ new Set(["blocked_by","status","run_id",@@ -35903,14 +35903,14 @@ var Dle = /* @__PURE__ */ new Set(["completed_at","finished_at"]);-function eI(e) {- let t = Ole(e);+function $F(e) {+ let t = kle(e);return e?.face_match_unavailable === !0 && !t.some((e) => /不可用|未生效/.test(e)) && t.push("人脸模型不可用,未做人脸核对"), t;}-function Ole(e) {- return Object.entries(e || {}).filter(([e, t]) => !Dle.has(e) && (e in GF || 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" ? ZF(String(t)) : e === "outcome" || e === "result" ? Ele(String(t)) : e === "cache_bytes" || e === "bytes_reclaimed" ? `${GF[e]} ${vn(Number(t))}` : e === "operation" ? `操作:${Tle[String(t)] || "批量操作"}` : `${GF[e]} ${typeof t == "number" ? t.toLocaleString() : t}`);+function kle(e) {+ return Object.entries(e || {}).filter(([e, t]) => !Ole.has(e) && (e in WF || e === "outcome" || e === "followups" || e === "error") && (typeof t == "number" || typeof t == "string") && String(t) !== "" && (t !== 0 || e === "checked" || e === "total")).map(([e, t]) => e === "followups" ? `已安排 ${Number(t).toLocaleString()} 项补充任务` : e === "error" ? XF(String(t)) : e === "outcome" || e === "result" ? Dle(String(t)) : e === "cache_bytes" || e === "bytes_reclaimed" ? `${WF[e]} ${vn(Number(t))}` : e === "operation" ? `操作:${Ele[String(t)] || "批量操作"}` : `${WF[e]} ${typeof t == "number" ? t.toLocaleString() : t}`);}-var kle = (e) => eI(e).join(" · "), tI = jF({+var Ale = (e) => $F(e).join(" · "), eI = AF({base: ["relative inline-flex shrink-0 items-center justify-center overflow-visible rounded-2lg","bg-background-primary-default text-foreground-icon-primary",@@ -35931,21 +35931,21 @@ var kle = (e) => eI(e).join(" · "), tI = jF({small: "size-4 shrink-0"}});-function nI({ icon: e, size: t = "medium", className: n, type: r = "button", ref: i, ...a }) {+function tI({ icon: e, size: t = "medium", className: n, type: r = "button", ref: i, ...a }) {return /* @__PURE__ */ (0, O.jsx)("button", {ref: i,type: r,- className: AF(tI.base, tI.size[t], n),+ className: kF(eI.base, eI.size[t], n),...a,children: /* @__PURE__ */ (0, O.jsx)(e, {- className: tI.icon[t],+ className: eI.icon[t],"aria-hidden": !0})});}//#endregion//#region src/react/components/glass-drift.tsx-function rI() {+function nI() {return /* @__PURE__ */ (0, O.jsxs)("span", {"data-glass-drift": "","aria-hidden": "true",@@ -35960,7 +35960,7 @@ function rI() {}//#endregion//#region src/react/components/use-stuck.ts-function iI(e) {+function rI(e) {(0, D.useEffect)(() => {let t = e.current;if (!t) return;@@ -35978,7 +35978,7 @@ function iI(e) {}//#endregion//#region src/react/components/use-horizontal-scroller.ts-function aI(e, t = !0) {+function iI(e, t = !0) {let [n, r] = (0, D.useState)(null), i = (0, D.useCallback)((t) => {r(t), typeof e == "function" ? e(t) : e && (e.current = t);}, [e]);@@ -35993,17 +35993,17 @@ function aI(e, t = !0) {}//#endregion//#region src/react/components/filter-glass.tsx-var Ale = ({ className: e }) => /* @__PURE__ */ (0, O.jsx)("span", {+var jle = ({ className: e }) => /* @__PURE__ */ (0, O.jsx)("span", {"aria-hidden": !0,className: e,dangerouslySetInnerHTML: { __html: rs("正在处理") }});-function oI({ label: e, icon: t, busy: n = !1, busyStyle: r = "spinner", onPress: i, ...a }) {- return /* @__PURE__ */ (0, O.jsx)(nI, {+function aI({ label: e, icon: t, busy: n = !1, busyStyle: r = "spinner", onPress: i, ...a }) {+ return /* @__PURE__ */ (0, O.jsx)(tI, {...a,"data-filter-action": "",size: "small",- icon: n && r === "spinner" ? Ale : t,+ icon: n && r === "spinner" ? jle : t,"aria-label": e,title: a.title || e,"aria-busy": n || void 0,@@ -36013,9 +36013,9 @@ function oI({ label: e, icon: t, busy: n = !1, busyStyle: r = "spinner", onPress}});}-function jle({ title: e, children: t }) {+function Mle({ title: e, children: t }) {let n = (0, D.useRef)(null);- return iI(n), /* @__PURE__ */ (0, O.jsxs)("div", {+ return rI(n), /* @__PURE__ */ (0, O.jsxs)("div", {ref: n,role: "group","aria-label": e,@@ -36028,20 +36028,20 @@ function jle({ title: e, children: t }) {children: e}),t,- /* @__PURE__ */ (0, O.jsx)(rI, {})+ /* @__PURE__ */ (0, O.jsx)(nI, {})]});}-function sI({ label: e, topLabel: t, top: n, bottom: r, className: i, topClassName: a, bottomClassName: o, panes: s, attrs: c, busy: l, bottomRef: u }) {- let d = (0, D.useRef)(null), f = aI(), p = aI(u);- return iI(d), /* @__PURE__ */ (0, O.jsxs)("div", {+function oI({ label: e, topLabel: t, top: n, bottom: r, className: i, topClassName: a, bottomClassName: o, panes: s, attrs: c, busy: l, bottomRef: u }) {+ let d = (0, D.useRef)(null), f = iI(), p = iI(u);+ return rI(d), /* @__PURE__ */ (0, O.jsxs)("div", {ref: d,role: "group","aria-label": e,"data-filter-glass": !0,"data-glass-pane": "",...c,- className: AF("sticky top-topbar z-10 mb-5.5 flex flex-col", i),+ className: kF("sticky top-topbar z-10 mb-5.5 flex flex-col", i),children: [s,n === null ? null : /* @__PURE__ */ (0, O.jsx)("div", {@@ -36049,37 +36049,37 @@ function sI({ label: e, topLabel: t, top: n, bottom: r, className: i, topClassNarole: "group","aria-label": t,"data-filter-row": "top",- className: AF("flex h-12 min-w-0 items-center gap-1.75 overflow-x-auto overscroll-x-contain px-3 py-2", a),+ className: kF("flex h-12 min-w-0 items-center gap-1.75 overflow-x-auto overscroll-x-contain px-3 py-2", a),children: n}),/* @__PURE__ */ (0, O.jsx)("div", {ref: p,"data-filter-row": "bottom","aria-busy": l || void 0,- className: AF("flex min-h-11.5 min-w-0 items-center gap-3 px-3 py-2", o),+ className: kF("flex min-h-11.5 min-w-0 items-center gap-3 px-3 py-2", o),children: r}),- /* @__PURE__ */ (0, O.jsx)(rI, {})+ /* @__PURE__ */ (0, O.jsx)(nI, {})]});}-var Mle = "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 cI({ children: e, pressed: t, onPress: n, className: r, ...i }) {+var Nle = "flex h-8 flex-none cursor-pointer items-center gap-1.75 rounded-lg border border-dashed border-(--glass-low) bg-transparent px-2.5 text-body-2-regular leading-5 whitespace-nowrap text-inherit outline-none hover:border-solid focus-visible:ring-2 focus-visible:ring-border-focus-ring";+function sI({ children: e, pressed: t, onPress: n, className: r, ...i }) {return /* @__PURE__ */ (0, O.jsx)("button", {type: "button",...i,"aria-pressed": t,- className: AF(Mle, r),+ className: kF(Nle, r),onClick: n,children: e});}-var Nle = "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 lI({ children: e, onPress: t, busy: n = !1 }) {+var Ple = "h-8 cursor-pointer rounded-full border border-(--glass-low) bg-transparent px-3 text-body-2-regular leading-none whitespace-nowrap text-inherit outline-none focus-visible:ring-2 focus-visible:ring-border-focus-ring aria-busy:cursor-wait aria-busy:opacity-55";+function cI({ children: e, onPress: t, busy: n = !1 }) {return /* @__PURE__ */ (0, O.jsx)("button", {type: "button","data-glass-pill": "",- className: Nle,+ className: Ple,"aria-busy": n || void 0,"aria-disabled": n || void 0,onClick: () => {@@ -36090,13 +36090,13 @@ function lI({ children: e, onPress: t, busy: n = !1 }) {}//#endregion//#region src/react/components/use-view-glide.ts-var uI = (e, t) => [+var lI = (e, t) => ["x","y","w","h"].every((n) => e[n] === t[n]);-function dI(e, t, n) {+function uI(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;@@ -36120,17 +36120,17 @@ function dI(e, t, n) {h: e.offsetHeight};}-function fI(e, t, n, r, { axis: i = "x" } = {}) {+function dI(e, t, n, r, { axis: i = "x" } = {}) {let a = (0, D.useRef)(null), o = (0, D.useCallback)((r, o) => {let s = e.current, c = t.current, l = s?.parentElement;if (!s) return;- let u = c && c.offsetWidth ? r ?? c.querySelector(n) : null, d = u && l ? dI(u, l, i) : null;+ let u = c && c.offsetWidth ? r ?? c.querySelector(n) : null, d = u && l ? uI(u, l, i) : null;if (!d || !d.w || !d.h) {ac(s), s.hidden = !0, a.current = null;return;}let f = s.hidden ? null : a.current;- s.hidden = !1, a.current = d, !(o && f && uI(f, d)) && rc(s, o ? f : null, d, i);+ s.hidden = !1, a.current = d, !(o && f && lI(f, d)) && rc(s, o ? f : null, d, i);}, [e,t,@@ -36151,8 +36151,8 @@ function fI(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 ? dI(o, r, i) : null, l = a.current;- (!s || !l || !uI(s, l)) && c();+ let e = t.current, o = e?.offsetWidth ? e.querySelector(n) : null, s = o && r ? uI(o, r, i) : null, l = a.current;+ (!s || !l || !lI(s, l)) && c();}), u = t.current;if (u && r) {l.observe(u);@@ -36184,7 +36184,7 @@ function fI(e, t, n, r, { axis: i = "x" } = {}) {}//#endregion//#region src/react/boardui/components/base/buttons/button.tsx-var pI = jF({+var fI = AF({base: ["inline-flex items-center justify-center gap-0.5 whitespace-nowrap overflow-hidden","font-sans select-none cursor-pointer",@@ -36243,40 +36243,40 @@ function q({ variant: e = "primary", size: t = "medium", iconOnly: n = !1, leadireturn /* @__PURE__ */ (0, O.jsxs)("button", {ref: c,type: s,- className: AF(pI.base, pI.size[t], pI.variant[e], n && pI.iconOnlySize[t], o),+ className: kF(fI.base, fI.size[t], fI.variant[e], n && fI.iconOnlySize[t], o),...l,children: [r ? /* @__PURE__ */ (0, O.jsx)(r, {- className: pI.icon[t],+ className: fI.icon[t],"aria-hidden": !0}) : null,!n && a != null && /* @__PURE__ */ (0, O.jsx)("span", {- className: pI.label[t],+ className: fI.label[t],children: a}),!n && i ? /* @__PURE__ */ (0, O.jsx)(i, {- className: pI.icon[t],+ className: fI.icon[t],"aria-hidden": !0}) : null]});}-function mI({ variant: e = "primary", size: t = "medium", iconOnly: n = !1, leadingIcon: r, trailingIcon: i, children: a, className: o, ref: s, ...c }) {+function pI({ variant: e = "primary", size: t = "medium", iconOnly: n = !1, leadingIcon: r, trailingIcon: i, children: a, className: o, ref: s, ...c }) {return /* @__PURE__ */ (0, O.jsxs)("a", {ref: s,- className: AF(pI.base, pI.size[t], pI.variant[e], n && pI.iconOnlySize[t], o),+ className: kF(fI.base, fI.size[t], fI.variant[e], n && fI.iconOnlySize[t], o),...c,children: [r ? /* @__PURE__ */ (0, O.jsx)(r, {- className: pI.icon[t],+ className: fI.icon[t],"aria-hidden": !0}) : null,!n && a != null && /* @__PURE__ */ (0, O.jsx)("span", {- className: pI.label[t],+ className: fI.label[t],children: a}),!n && i ? /* @__PURE__ */ (0, O.jsx)(i, {- className: pI.icon[t],+ className: fI.icon[t],"aria-hidden": !0}) : null]@@ -36284,12 +36284,12 @@ function mI({ variant: e = "primary", size: t = "medium", iconOnly: n = !1, lead}//#endregion//#region node_modules/react-aria-components/dist/private/utils.mjs-var hI = Symbol("default");-function gI({ values: e, children: t }) {+var mI = Symbol("default");+function hI({ values: e, children: t }) {for (let [n, r] of e) t = /*#__PURE__*/ D.createElement(n.Provider, { value: r }, t);return t;}-function _I(e) {+function gI(e) {let { className: t, style: n, children: r, defaultClassName: i, defaultChildren: a, defaultStyle: o, values: s, render: c } = e;return (0, D.useMemo)(() => {let e, l, u;@@ -36323,11 +36323,11 @@ function _I(e) {c]);}-function vI(e, t) {+function _I(e, t) {let n = (0, D.useContext)(e);if (t === null) return null;if (n && typeof n == "object" && "slots" in n && n.slots) {- let e = t || hI;+ let e = t || mI;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}.`);@@ -36336,8 +36336,8 @@ function vI(e, t) {}return n;}-function yI(e, t, n) {- let { ref: r, ...i } = vI(n, e.slot) || {}, a = fx((0, D.useMemo)(() => rx(t, r), [t, r])), o = K(i, e);+function vI(e, t, n) {+ let { ref: r, ...i } = _I(n, e.slot) || {}, a = dx((0, D.useMemo)(() => nx(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,@@ -36355,42 +36355,42 @@ function yI(e, t, n) {...e.style}), [o, a];}-function bI(e = !0) {+function yI(e = !0) {let [t, n] = (0, D.useState)(e), r = (0, D.useRef)(!1), i = (0, D.useCallback)((e) => {r.current = !0, n(!!e);}, []);- return tb(() => {+ return eb(() => {r.current || n(!1);}, []), [i, t];}-function xI(e) {+function bI(e) {let t = /^(data-.*)$/, n = {};for (let r in e) t.test(r) || (n[r] = e[r]);return n;}-function Ple(e, t, n) {- let { render: r, ...i } = t, a = (0, D.useRef)(null), o = (0, D.useMemo)(() => rx(n, a), [n, a]);- tb(() => {}, [e, r]);+function Fle(e, t, n) {+ let { render: r, ...i } = t, a = (0, D.useRef)(null), o = (0, D.useMemo)(() => nx(n, a), [n, a]);+ eb(() => {}, [e, r]);let s = {...i,ref: o};return r ? r(s, void 0) : /*#__PURE__*/ D.createElement(e, s);}-var SI = {}, CI = new Proxy({}, { get(e, t) {+var xI = {}, SI = new Proxy({}, { get(e, t) {if (typeof t != "string") return;- let n = SI[t];- return n || (n = /*#__PURE__*/ (0, D.forwardRef)(Ple.bind(null, t)), SI[t] = n), n;-} }), wI = /*#__PURE__*/ (0, D.createContext)(null), TI = /*#__PURE__*/ (0, D.createContext)(null), EI = /*#__PURE__*/ (0, D.createContext)(null), DI = {+ let n = xI[t];+ return n || (n = /*#__PURE__*/ (0, D.forwardRef)(Fle.bind(null, t)), xI[t] = n), n;+} }), CI = /*#__PURE__*/ (0, D.createContext)(null), wI = /*#__PURE__*/ (0, D.createContext)(null), TI = /*#__PURE__*/ (0, D.createContext)(null), EI = {CollectionRoot({ collection: e, renderDropIndicator: t }) {- return OI(e, null, t);+ return DI(e, null, t);},CollectionBranch({ collection: e, parent: t, renderDropIndicator: n }) {- return OI(e, t, n);+ return DI(e, t, n);}};-function OI(e, t, n) {- return Ly({+function DI(e, t, n) {+ return Iy({items: t ? e.getChildren(t.key) : e,dependencies: [n],children(t) {@@ -36400,11 +36400,11 @@ function OI(e, t, n) {type: "item",key: t.key,dropPosition: "before"- }), r, Fle(e, t, n));+ }), r, Ile(e, t, n));}});}-function Fle(e, t, n) {+function Ile(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);@@ -36423,25 +36423,25 @@ function Fle(e, t, n) {}return s;}-var kI = /*#__PURE__*/ (0, D.createContext)(DI);-function AI(e) {+var OI = /*#__PURE__*/ (0, D.createContext)(EI);+function kI(e) {return (0, D.useMemo)(() => e == null ? null : /* @__PURE__ */ new Set([e]), [e]);}//#endregion//#region node_modules/react-aria-components/dist/private/Label.mjs-var jI = /*#__PURE__*/ (0, D.createContext)({}), MI = /*#__PURE__*/ _x(function(e, t) {- [e, t] = yI(e, t, jI);- let { elementType: n = "label", ...r } = e, i = CI[n];+var AI = /*#__PURE__*/ (0, D.createContext)({}), jI = /*#__PURE__*/ gx(function(e, t) {+ [e, t] = vI(e, t, AI);+ let { elementType: n = "label", ...r } = e, i = SI[n];return /*#__PURE__*/ D.createElement(i, {className: "react-aria-Label",...r,ref: t});-}), Ile = /*#__PURE__*/ (0, D.createContext)(null), NI = /*#__PURE__*/ (0, D.createContext)({}), PI = /*#__PURE__*/ _x(function(e, t) {- [e, t] = yI(e, t, NI);- let n = e, { isPending: r } = n, { buttonProps: i, isPressed: a } = Sie(e, t);- i = Rle(i, r);- let { focusProps: o, isFocused: s, isFocusVisible: c } = eT(e), { hoverProps: l, isHovered: u } = iT({+}), Lle = /*#__PURE__*/ (0, D.createContext)(null), MI = /*#__PURE__*/ (0, D.createContext)({}), NI = /*#__PURE__*/ gx(function(e, t) {+ [e, t] = vI(e, t, MI);+ let n = e, { isPending: r } = n, { buttonProps: i, isPressed: a } = Cie(e, t);+ i = zle(i, r);+ let { focusProps: o, isFocused: s, isFocusVisible: c } = $w(e), { hoverProps: l, isHovered: u } = rT({...e,isDisabled: e.isDisabled || r}), d = {@@ -36451,24 +36451,24 @@ var jI = /*#__PURE__*/ (0, D.createContext)({}), MI = /*#__PURE__*/ _x(function(isFocusVisible: c,isDisabled: e.isDisabled || !1,isPending: r ?? !1- }, f = _I({+ }, f = gI({...e,values: d,defaultClassName: "react-aria-Button"- }), p = tx(i.id), m = tx(), h = i["aria-labelledby"];+ }), p = ex(i.id), m = ex(), h = i["aria-labelledby"];r && (h ? h = `${h} ${m}` : i["aria-label"] && (h = `${p} ${m}`));let g = (0, D.useRef)(r);(0, D.useEffect)(() => {let e = { "aria-labelledby": h || p };- (!g.current && s && r || g.current && s && !r) && tC(e, "assertive"), g.current = r;+ (!g.current && s && r || g.current && s && !r) && eC(e, "assertive"), g.current = r;}, [r,s,h,p]);- let _ = pS(e, { global: !0 });- return delete _.onClick, /*#__PURE__*/ D.createElement(CI.button, {+ let _ = fS(e, { global: !0 });+ return delete _.onClick, /*#__PURE__*/ D.createElement(SI.button, {...K(_, f, i, o, l),type: i.type === "submit" && r ? "button" : i.type,id: p,@@ -36482,62 +36482,62 @@ var jI = /*#__PURE__*/ (0, D.createContext)({}), MI = /*#__PURE__*/ _x(function("data-focused": s || void 0,"data-pending": r || void 0,"data-focus-visible": c || void 0- }, /*#__PURE__*/ D.createElement(Ile.Provider, { value: { id: m } }, f.children));-}), Lle = /Focus|Blur|Hover|Pointer(Enter|Leave|Over|Out)|Mouse(Enter|Leave|Over|Out)/;-function Rle(e, t) {+ }, /*#__PURE__*/ D.createElement(Lle.Provider, { value: { id: m } }, f.children));+}), Rle = /Focus|Blur|Hover|Pointer(Enter|Leave|Over|Out)|Mouse(Enter|Leave|Over|Out)/;+function zle(e, t) {if (t) {- for (let t in e) t.startsWith("on") && !Lle.test(t) && (e[t] = void 0);+ for (let t in e) t.startsWith("on") && !Rle.test(t) && (e[t] = void 0);e.href = void 0, e.target = void 0;}return e;}//#endregion//#region node_modules/react-aria-components/dist/private/Heading.mjs-var FI = /*#__PURE__*/ (0, D.createContext)({}), II = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {- [e, t] = yI(e, t, FI);- let { children: n, level: r = 3, className: i, ...a } = e, o = CI[`h${r}`];+var PI = /*#__PURE__*/ (0, D.createContext)({}), FI = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {+ [e, t] = vI(e, t, PI);+ let { children: n, level: r = 3, className: i, ...a } = e, o = SI[`h${r}`];return /*#__PURE__*/ D.createElement(o, {...a,ref: t,className: i ?? "react-aria-Heading"}, n);-}), LI = /*#__PURE__*/ (0, D.createContext)({}), zle = /*#__PURE__*/ _x(function(e, t) {- [e, t] = yI(e, t, LI);- let { elementType: n = "span", ...r } = e, i = CI[n];+}), II = /*#__PURE__*/ (0, D.createContext)({}), Ble = /*#__PURE__*/ gx(function(e, t) {+ [e, t] = vI(e, t, II);+ let { elementType: n = "span", ...r } = e, i = SI[n];return /*#__PURE__*/ D.createElement(i, {className: "react-aria-Text",...r,ref: t});-}), RI = /*#__PURE__*/ (0, D.createContext)(null), zI = /*#__PURE__*/ (0, D.createContext)(null), BI = /*#__PURE__*/ (0, D.createContext)(null), VI = /*#__PURE__*/ (0, D.createContext)(null), Ble = /*#__PURE__*/ (0, D.createContext)(null), HI = /*#__PURE__*/ (0, D.createContext)(null);-function Vle(e, t) {- let { validationBehavior: n } = vI(zI) || {}, r = e.validationBehavior ?? n ?? "native", i = (0, D.useContext)(Ble), a = fx((0, D.useMemo)(() => rx(t, e.inputRef === void 0 ? null : e.inputRef), [t, e.inputRef])), o = {- ...xI(e),+}), LI = /*#__PURE__*/ (0, D.createContext)(null), RI = /*#__PURE__*/ (0, D.createContext)(null), zI = /*#__PURE__*/ (0, D.createContext)(null), BI = /*#__PURE__*/ (0, D.createContext)(null), Vle = /*#__PURE__*/ (0, D.createContext)(null), VI = /*#__PURE__*/ (0, D.createContext)(null);+function Hle(e, t) {+ let { validationBehavior: n } = _I(RI) || {}, r = e.validationBehavior ?? n ?? "native", i = (0, D.useContext)(Vle), a = dx((0, D.useMemo)(() => nx(t, e.inputRef === void 0 ? null : e.inputRef), [t, e.inputRef])), o = {+ ...bI(e),children: typeof e.children == "function" || e.children,value: e.value,validationBehavior: r};- return [i ? Gie(o, i, a) : SC(o, DC(e), a), a];+ return [i ? Kie(o, i, a) : xC(o, EC(e), a), a];}-var Hle = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {+var Ule = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {let { inputRef: n = null, ...r } = e;- [e, t] = yI(r, t, BI);- let [i, a] = Vle(e, n);- return /*#__PURE__*/ D.createElement(HI.Provider, { value: {+ [e, t] = vI(r, t, zI);+ let [i, a] = Hle(e, n);+ return /*#__PURE__*/ D.createElement(VI.Provider, { value: {...i,inputRef: a,defaultClassName: "react-aria-Checkbox",isIndeterminate: e.isIndeterminate,isRequired: e.isRequired- } }, /*#__PURE__*/ D.createElement(Ule, {+ } }, /*#__PURE__*/ D.createElement(Wle, {...e,ref: t}));-}), Ule = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {- let { labelProps: n, inputProps: r, isSelected: i, isDisabled: a, isReadOnly: o, isPressed: s, isInvalid: c, inputRef: l, defaultClassName: u, isIndeterminate: d, isRequired: f } = (0, D.useContext)(HI), { isFocused: p, isFocusVisible: m, focusProps: h } = eT(), g = a || o, { hoverProps: _, isHovered: v } = iT({+}), Wle = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {+ let { labelProps: n, inputProps: r, isSelected: i, isDisabled: a, isReadOnly: o, isPressed: s, isInvalid: c, inputRef: l, defaultClassName: u, isIndeterminate: d, isRequired: f } = (0, D.useContext)(VI), { isFocused: p, isFocusVisible: m, focusProps: h } = $w(), g = a || o, { hoverProps: _, isHovered: v } = rT({...e,isDisabled: g- }), y = _I({+ }), y = gI({...e,defaultClassName: u,values: {@@ -36552,8 +36552,8 @@ var Hle = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {isInvalid: c,isRequired: f || !1}- }), b = pS(e, { global: !0 });- return delete b.id, delete b.onClick, /*#__PURE__*/ D.createElement(CI.label, {+ }), b = fS(e, { global: !0 });+ return delete b.id, delete b.onClick, /*#__PURE__*/ D.createElement(SI.label, {...K(b, n, _, y),ref: t,slot: e.slot || void 0,@@ -36567,20 +36567,20 @@ var Hle = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {"data-readonly": o || void 0,"data-invalid": c || void 0,"data-required": f || void 0- }, /*#__PURE__*/ D.createElement(IC, { elementType: "span" }, /*#__PURE__*/ D.createElement("input", {+ }, /*#__PURE__*/ D.createElement(FC, { elementType: "span" }, /*#__PURE__*/ D.createElement("input", {...K(r, h),ref: l})), y.children);-}), UI = /*#__PURE__*/ (0, D.createContext)({}), WI = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {- [e, t] = yI(e, t, UI);+}), HI = /*#__PURE__*/ (0, D.createContext)({}), UI = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {+ [e, t] = vI(e, t, HI);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 } = iT({+ let { hoverProps: l, isHovered: u } = rT({onHoverStart: a,onHoverChange: o,onHoverEnd: s,isDisabled: n- }), { isFocused: d, isFocusVisible: f, focusProps: p } = eT({ within: !0 }), m = _I({+ }), { isFocused: d, isFocusVisible: f, focusProps: p } = $w({ within: !0 }), m = gI({...e,values: {isHovered: u,@@ -36591,7 +36591,7 @@ var Hle = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {},defaultClassName: "react-aria-Group"});- return /*#__PURE__*/ D.createElement(CI.div, {+ return /*#__PURE__*/ D.createElement(SI.div, {...K(c, p, l),...m,ref: t,@@ -36604,18 +36604,18 @@ var Hle = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {"data-invalid": r || void 0,"data-readonly": i || void 0}, m.children);-}), GI = /*#__PURE__*/ (0, D.createContext)({}), Wle = (e) => {+}), WI = /*#__PURE__*/ (0, D.createContext)({}), Gle = (e) => {let { onHoverStart: t, onHoverChange: n, onHoverEnd: r, ...i } = e;return i;-}, Gle = /*#__PURE__*/ _x(function(e, t) {- [e, t] = yI(e, t, GI);- let { hoverProps: n, isHovered: r } = iT({+}, Kle = /*#__PURE__*/ gx(function(e, t) {+ [e, t] = vI(e, t, WI);+ let { hoverProps: n, isHovered: r } = rT({...e,isDisabled: e.disabled- }), { isFocused: i, isFocusVisible: a, focusProps: o } = eT({+ }), { isFocused: i, isFocusVisible: a, focusProps: o } = $w({isTextInput: !0,autoFocus: e.autoFocus- }), s = !!e["aria-invalid"] && e["aria-invalid"] !== "false", c = _I({+ }), s = !!e["aria-invalid"] && e["aria-invalid"] !== "false", c = gI({...e,values: {isHovered: r,@@ -36626,8 +36626,8 @@ var Hle = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {},defaultClassName: "react-aria-Input"});- return /*#__PURE__*/ D.createElement(CI.input, {- ...K(Wle(e), o, n),+ return /*#__PURE__*/ D.createElement(SI.input, {+ ...K(Gle(e), o, n),...c,ref: t,"data-focused": i || void 0,@@ -36636,24 +36636,24 @@ var Hle = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {"data-focus-visible": a || void 0,"data-invalid": s || void 0});-}), Kle = 0, qle = 100, Jle = 1;-function Yle(e) {- let { isDisabled: t = !1, minValue: n = Kle, maxValue: r = qle, numberFormatter: i, step: a = Jle, orientation: o = "horizontal" } = e, s = (0, D.useMemo)(() => {+}), qle = 0, Jle = 100, Yle = 1;+function Xle(e) {+ let { isDisabled: t = !1, minValue: n = qle, maxValue: r = Jle, numberFormatter: i, step: a = Yle, orientation: o = "horizontal" } = e, s = (0, D.useMemo)(() => {let e = (r - n) / 10;- return e = AC(e, 0, e + a, a), Math.max(e, a);+ return e = kC(e, 0, e + a, a), Math.max(e, a);}, [a,r,n- ]), c = (0, D.useCallback)((e) => e?.map((t, i) => AC(t, i === 0 ? n : e[i - 1], i === e.length - 1 ? r : e[i + 1], a)), [+ ]), c = (0, D.useCallback)((e) => e?.map((t, i) => kC(t, i === 0 ? n : e[i - 1], i === e.length - 1 ? r : e[i + 1], a)), [n,r,a- ]), l = (0, D.useMemo)(() => c(qI(e.value)), [e.value, c]), u = (0, D.useMemo)(() => c(qI(e.defaultValue) ?? [n]), [+ ]), l = (0, D.useMemo)(() => c(KI(e.value)), [e.value, c]), u = (0, D.useMemo)(() => c(KI(e.defaultValue) ?? [n]), [e.defaultValue,n,c- ]), d = JI(e.value, e.defaultValue, e.onChange), f = JI(e.value, e.defaultValue, e.onChangeEnd), [p, m] = EC(l, u, d), [h] = (0, D.useState)(p), [g, _] = (0, D.useState)(Array(p.length).fill(!1)), v = (0, D.useRef)(Array(p.length).fill(!0)), [y, b] = (0, D.useState)(void 0), x = (0, D.useRef)(p), S = (0, D.useRef)(g), C = (e) => {+ ]), d = qI(e.value, e.defaultValue, e.onChange), f = qI(e.value, e.defaultValue, e.onChangeEnd), [p, m] = TC(l, u, d), [h] = (0, D.useState)(p), [g, _] = (0, D.useState)(Array(p.length).fill(!1)), v = (0, D.useRef)(Array(p.length).fill(!0)), [y, b] = (0, D.useState)(void 0), x = (0, D.useRef)(p), S = (0, D.useRef)(g), C = (e) => {x.current = e, m(e);}, w = (e) => {S.current = e, _(e);@@ -36676,15 +36676,15 @@ function Yle(e) {function j(e, n) {if (t || !k(e)) return;let r = E(e), i = O(e);- n = AC(n, r, i, a);- let o = KI(x.current, e, n);+ n = kC(n, r, i, a);+ let o = GI(x.current, e, n);C(o);}function M(e, n) {if (t || !k(e)) return;n && (x.current = p);let r = S.current[e];- S.current = KI(S.current, e, n), w(S.current), f && r && !S.current.some(Boolean) && f(x.current);+ S.current = GI(S.current, e, n), w(S.current), f && r && !S.current.some(Boolean) && f(x.current);}let N = (0, D.useRef)(null);function ee(e = p) {@@ -36705,15 +36705,15 @@ function Yle(e) {return Math.round((e - n) / a) * a + n;}function ne(e) {- return OC(P(e * (r - n) + n), n, r);+ return DC(P(e * (r - n) + n), n, r);}function F(e, t = 1) {let i = Math.max(t, a);- j(e, AC(p[e] + i, n, r, a));+ j(e, kC(p[e] + i, n, r, a));}function re(e, t = 1) {let i = Math.max(t, a);- j(e, AC(p[e] - i, n, r, a));+ j(e, kC(p[e] - i, n, r, a));}return {values: p,@@ -36742,32 +36742,32 @@ function Yle(e) {isDisabled: t};}-function KI(e, t, n) {+function GI(e, t, n) {return e[t] === n ? e : [...e.slice(0, t),n,...e.slice(t + 1)];}-function qI(e) {+function KI(e) {if (e != null) return Array.isArray(e) ? e : [e];}-function JI(e, t, n) {+function qI(e, t, n) {return (r) => {typeof e == "number" || typeof t == "number" ? n?.(r[0]) : n?.(r);};}//#endregion//#region node_modules/react-aria-components/dist/private/Slider.mjs-var Xle = /*#__PURE__*/ (0, D.createContext)(null), YI = /*#__PURE__*/ (0, D.createContext)(null), XI = /*#__PURE__*/ (0, D.createContext)(null), Zle = /*#__PURE__*/ (0, D.createContext)(null), Qle = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {- [e, t] = yI(e, t, Xle);- let n = (0, D.useRef)(null), r = Xie(e.formatOptions), i = Yle({+var Zle = /*#__PURE__*/ (0, D.createContext)(null), JI = /*#__PURE__*/ (0, D.createContext)(null), YI = /*#__PURE__*/ (0, D.createContext)(null), Qle = /*#__PURE__*/ (0, D.createContext)(null), $le = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {+ [e, t] = vI(e, t, Zle);+ let n = (0, D.useRef)(null), r = Zie(e.formatOptions), i = Xle({...e,numberFormatter: r- }), [a, o] = bI(!e["aria-label"] && !e["aria-labelledby"]), { groupProps: s, trackProps: c, labelProps: l, outputProps: u } = Zie({+ }), [a, o] = yI(!e["aria-label"] && !e["aria-labelledby"]), { groupProps: s, trackProps: c, labelProps: l, outputProps: u } = Qie({...e,label: o- }, i, n), d = _I({+ }, i, n), d = gI({...e,values: {orientation: i.orientation,@@ -36775,32 +36775,32 @@ var Xle = /*#__PURE__*/ (0, D.createContext)(null), YI = /*#__PURE__*/ (0, D.crestate: i},defaultClassName: "react-aria-Slider"- }), f = pS(e, { global: !0 });- return delete f.id, /*#__PURE__*/ D.createElement(gI, { values: [- [YI, i],- [XI, {+ }), f = fS(e, { global: !0 });+ return delete f.id, /*#__PURE__*/ D.createElement(hI, { values: [+ [JI, i],+ [YI, {...c,ref: n}],- [Zle, u],- [jI, {+ [Qle, u],+ [AI, {...l,ref: a}]- ] }, /*#__PURE__*/ D.createElement(CI.div, {+ ] }, /*#__PURE__*/ D.createElement(SI.div, {...K(f, d, s),ref: t,slot: e.slot || void 0,"data-orientation": i.orientation,"data-disabled": i.isDisabled || void 0}));-}), $le = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {- [e, t] = yI(e, t, XI);- let n = (0, D.useContext)(YI), { onHoverStart: r, onHoverEnd: i, onHoverChange: a, ...o } = e, { hoverProps: s, isHovered: c } = iT({+}), eue = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {+ [e, t] = vI(e, t, YI);+ let n = (0, D.useContext)(JI), { onHoverStart: r, onHoverEnd: i, onHoverChange: a, ...o } = e, { hoverProps: s, isHovered: c } = rT({onHoverStart: r,onHoverEnd: i,onHoverChange: a- }), l = _I({+ }), l = gI({...e,defaultClassName: "react-aria-SliderTrack",values: {@@ -36810,7 +36810,7 @@ var Xle = /*#__PURE__*/ (0, D.createContext)(null), YI = /*#__PURE__*/ (0, D.crestate: n}});- return /*#__PURE__*/ D.createElement(CI.div, {+ return /*#__PURE__*/ D.createElement(SI.div, {...K(o, s),...l,ref: t,@@ -36818,14 +36818,14 @@ var Xle = /*#__PURE__*/ (0, D.createContext)(null), YI = /*#__PURE__*/ (0, D.cre"data-orientation": n.orientation || void 0,"data-disabled": n.isDisabled || void 0});-}), eue = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {- let { inputRef: n = null } = e, r = (0, D.useContext)(YI), { ref: i } = vI(XI), { index: a = 0 } = e, o = (0, D.useRef)(null), s = n || o, [c, l] = bI(!e["aria-label"] && !e["aria-labelledby"]), { thumbProps: u, inputProps: d, labelProps: f, isDragging: p, isFocused: m, isDisabled: h } = Qie({+}), tue = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {+ let { inputRef: n = null } = e, r = (0, D.useContext)(JI), { ref: i } = _I(YI), { index: a = 0 } = e, o = (0, D.useRef)(null), s = n || o, [c, l] = yI(!e["aria-label"] && !e["aria-labelledby"]), { thumbProps: u, inputProps: d, labelProps: f, isDragging: p, isFocused: m, isDisabled: h } = $ie({...e,index: a,trackRef: i,inputRef: s,label: l- }, r), { focusProps: g, isFocusVisible: _ } = eT(), { hoverProps: v, isHovered: y } = iT(e), b = _I({+ }, r), { focusProps: g, isFocusVisible: _ } = $w(), { hoverProps: v, isHovered: y } = rT(e), b = gI({...e,defaultClassName: "react-aria-SliderThumb",values: {@@ -36836,8 +36836,8 @@ var Xle = /*#__PURE__*/ (0, D.createContext)(null), YI = /*#__PURE__*/ (0, D.creisFocusVisible: _,isDisabled: h}- }), x = pS(e, { global: !0 });- return delete x.id, /*#__PURE__*/ D.createElement(CI.div, {+ }), x = fS(e, { global: !0 });+ return delete x.id, /*#__PURE__*/ D.createElement(SI.div, {...K(x, u, v),...b,ref: t,@@ -36850,15 +36850,15 @@ var Xle = /*#__PURE__*/ (0, D.createContext)(null), YI = /*#__PURE__*/ (0, D.cre"data-focused": m || void 0,"data-focus-visible": _ || void 0,"data-disabled": h || void 0- }, /*#__PURE__*/ D.createElement(IC, null, /*#__PURE__*/ D.createElement("input", {+ }, /*#__PURE__*/ D.createElement(FC, null, /*#__PURE__*/ D.createElement("input", {ref: s,...K(d, g)- })), /*#__PURE__*/ D.createElement(gI, { values: [[jI, {+ })), /*#__PURE__*/ D.createElement(hI, { values: [[AI, {...f,ref: c}]] }, b.children));-}), ZI = {};-ZI = {+}), XI = {};+XI = {colorSwatchPicker: "تغييرات الألوان",dropzoneLabel: "DropZone",selectPlaceholder: "حدد عنصرًا",@@ -36866,8 +36866,8 @@ ZI = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/bg-BG.mjs-var QI = {};-QI = {+var ZI = {};+ZI = {colorSwatchPicker: "Цветови мостри",dropzoneLabel: "DropZone",selectPlaceholder: "Изберете предмет",@@ -36875,8 +36875,8 @@ QI = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/cs-CZ.mjs-var $I = {};-$I = {+var QI = {};+QI = {colorSwatchPicker: "Vzorky barev",dropzoneLabel: "Místo pro přetažení",selectPlaceholder: "Vyberte položku",@@ -36884,8 +36884,8 @@ $I = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/da-DK.mjs-var eL = {};-eL = {+var $I = {};+$I = {colorSwatchPicker: "Farveprøver",dropzoneLabel: "DropZone",selectPlaceholder: "Vælg et element",@@ -36893,8 +36893,8 @@ eL = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/de-DE.mjs-var tL = {};-tL = {+var eL = {};+eL = {colorSwatchPicker: "Farbfelder",dropzoneLabel: "Ablegebereich",selectPlaceholder: "Element wählen",@@ -36902,8 +36902,8 @@ tL = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/el-GR.mjs-var nL = {};-nL = {+var tL = {};+tL = {colorSwatchPicker: "Χρωματικά δείγματα",dropzoneLabel: "DropZone",selectPlaceholder: "Επιλέξτε ένα αντικείμενο",@@ -36911,8 +36911,8 @@ nL = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/en-US.mjs-var rL = {};-rL = {+var nL = {};+nL = {selectPlaceholder: "Select an item",tableResizer: "Resizer",dropzoneLabel: "DropZone",@@ -36920,8 +36920,8 @@ rL = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/es-ES.mjs-var iL = {};-iL = {+var rL = {};+rL = {colorSwatchPicker: "Muestras de colores",dropzoneLabel: "DropZone",selectPlaceholder: "Seleccionar un artículo",@@ -36929,8 +36929,8 @@ iL = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/et-EE.mjs-var aL = {};-aL = {+var iL = {};+iL = {colorSwatchPicker: "Värvinäidised",dropzoneLabel: "DropZone",selectPlaceholder: "Valige üksus",@@ -36938,8 +36938,8 @@ aL = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/fi-FI.mjs-var oL = {};-oL = {+var aL = {};+aL = {colorSwatchPicker: "Värimallit",dropzoneLabel: "DropZone",selectPlaceholder: "Valitse kohde",@@ -36947,8 +36947,8 @@ oL = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/fr-FR.mjs-var sL = {};-sL = {+var oL = {};+oL = {colorSwatchPicker: "Échantillons de couleurs",dropzoneLabel: "DropZone",selectPlaceholder: "Sélectionner un élément",@@ -36956,8 +36956,8 @@ sL = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/he-IL.mjs-var cL = {};-cL = {+var sL = {};+sL = {colorSwatchPicker: "דוגמיות צבע",dropzoneLabel: "DropZone",selectPlaceholder: "בחר פריט",@@ -36965,8 +36965,8 @@ cL = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/hr-HR.mjs-var lL = {};-lL = {+var cL = {};+cL = {colorSwatchPicker: "Uzorci boja",dropzoneLabel: "Zona spuštanja",selectPlaceholder: "Odaberite stavku",@@ -36974,8 +36974,8 @@ lL = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/hu-HU.mjs-var uL = {};-uL = {+var lL = {};+lL = {colorSwatchPicker: "Színtárak",dropzoneLabel: "DropZone",selectPlaceholder: "Válasszon ki egy elemet",@@ -36983,8 +36983,8 @@ uL = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/it-IT.mjs-var dL = {};-dL = {+var uL = {};+uL = {colorSwatchPicker: "Campioni di colore",dropzoneLabel: "Zona di rilascio",selectPlaceholder: "Seleziona un elemento",@@ -36992,8 +36992,8 @@ dL = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/ja-JP.mjs-var fL = {};-fL = {+var dL = {};+dL = {colorSwatchPicker: "カラースウォッチ",dropzoneLabel: "ドロップゾーン",selectPlaceholder: "項目を選択",@@ -37001,8 +37001,8 @@ fL = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/ko-KR.mjs-var pL = {};-pL = {+var fL = {};+fL = {colorSwatchPicker: "색상 견본",dropzoneLabel: "드롭 영역",selectPlaceholder: "항목 선택",@@ -37010,8 +37010,8 @@ pL = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/lt-LT.mjs-var mL = {};-mL = {+var pL = {};+pL = {colorSwatchPicker: "Spalvų pavyzdžiai",dropzoneLabel: "„DropZone“",selectPlaceholder: "Pasirinkite elementą",@@ -37019,8 +37019,8 @@ mL = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/lv-LV.mjs-var hL = {};-hL = {+var mL = {};+mL = {colorSwatchPicker: "Krāsu paraugi",dropzoneLabel: "DropZone",selectPlaceholder: "Izvēlēties vienumu",@@ -37028,8 +37028,8 @@ hL = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/nb-NO.mjs-var gL = {};-gL = {+var hL = {};+hL = {colorSwatchPicker: "Fargekart",dropzoneLabel: "Droppsone",selectPlaceholder: "Velg et element",@@ -37037,8 +37037,8 @@ gL = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/nl-NL.mjs-var _L = {};-_L = {+var gL = {};+gL = {colorSwatchPicker: "kleurstalen",dropzoneLabel: "DropZone",selectPlaceholder: "Selecteer een item",@@ -37046,8 +37046,8 @@ _L = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/pl-PL.mjs-var vL = {};-vL = {+var _L = {};+_L = {colorSwatchPicker: "Próbki kolorów",dropzoneLabel: "Strefa upuszczania",selectPlaceholder: "Wybierz element",@@ -37055,8 +37055,8 @@ vL = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/pt-BR.mjs-var yL = {};-yL = {+var vL = {};+vL = {colorSwatchPicker: "Amostras de cores",dropzoneLabel: "DropZone",selectPlaceholder: "Selecione um item",@@ -37064,8 +37064,8 @@ yL = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/pt-PT.mjs-var bL = {};-bL = {+var yL = {};+yL = {colorSwatchPicker: "Amostras de cores",dropzoneLabel: "DropZone",selectPlaceholder: "Selecione um item",@@ -37073,8 +37073,8 @@ bL = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/ro-RO.mjs-var xL = {};-xL = {+var bL = {};+bL = {colorSwatchPicker: "Specimene de culoare",dropzoneLabel: "Zonă de plasare",selectPlaceholder: "Selectați un element",@@ -37082,8 +37082,8 @@ xL = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/ru-RU.mjs-var SL = {};-SL = {+var xL = {};+xL = {colorSwatchPicker: "Цветовые образцы",dropzoneLabel: "DropZone",selectPlaceholder: "Выберите элемент",@@ -37091,8 +37091,8 @@ SL = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/sk-SK.mjs-var CL = {};-CL = {+var SL = {};+SL = {colorSwatchPicker: "Vzorkovníky farieb",dropzoneLabel: "DropZone",selectPlaceholder: "Vyberte položku",@@ -37100,8 +37100,8 @@ CL = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/sl-SI.mjs-var wL = {};-wL = {+var CL = {};+CL = {colorSwatchPicker: "Barvne palete",dropzoneLabel: "DropZone",selectPlaceholder: "Izberite element",@@ -37109,8 +37109,8 @@ wL = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/sr-SP.mjs-var TL = {};-TL = {+var wL = {};+wL = {colorSwatchPicker: "Uzorci boje",dropzoneLabel: "DropZone",selectPlaceholder: "Izaberite stavku",@@ -37118,8 +37118,8 @@ TL = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/sv-SE.mjs-var EL = {};-EL = {+var TL = {};+TL = {colorSwatchPicker: "Färgrutor",dropzoneLabel: "DropZone",selectPlaceholder: "Välj en artikel",@@ -37127,8 +37127,8 @@ EL = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/tr-TR.mjs-var DL = {};-DL = {+var EL = {};+EL = {colorSwatchPicker: "Renk örnekleri",dropzoneLabel: "Bırakma Bölgesi",selectPlaceholder: "Bir öğe seçin",@@ -37136,8 +37136,8 @@ DL = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/uk-UA.mjs-var OL = {};-OL = {+var DL = {};+DL = {colorSwatchPicker: "Зразки кольорів",dropzoneLabel: "DropZone",selectPlaceholder: "Виберіть елемент",@@ -37145,8 +37145,8 @@ OL = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/zh-CN.mjs-var kL = {};-kL = {+var OL = {};+OL = {colorSwatchPicker: "颜色色板",dropzoneLabel: "放置区域",selectPlaceholder: "选择一个项目",@@ -37154,8 +37154,8 @@ kL = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/zh-TW.mjs-var AL = {};-AL = {+var kL = {};+kL = {colorSwatchPicker: "色票",dropzoneLabel: "放置區",selectPlaceholder: "選取項目",@@ -37163,52 +37163,52 @@ AL = {};//#endregion//#region node_modules/react-aria-components/dist/private/intlStrings.mjs-var jL = {};-jL = {- "ar-AE": ZI,- "bg-BG": QI,- "cs-CZ": $I,- "da-DK": eL,- "de-DE": tL,- "el-GR": nL,- "en-US": rL,- "es-ES": iL,- "et-EE": aL,- "fi-FI": oL,- "fr-FR": sL,- "he-IL": cL,- "hr-HR": lL,- "hu-HU": uL,- "it-IT": dL,- "ja-JP": fL,- "ko-KR": pL,- "lt-LT": mL,- "lv-LV": hL,- "nb-NO": gL,- "nl-NL": _L,- "pl-PL": vL,- "pt-BR": yL,- "pt-PT": bL,- "ro-RO": xL,- "ru-RU": SL,- "sk-SK": CL,- "sl-SI": wL,- "sr-SP": TL,- "sv-SE": EL,- "tr-TR": DL,- "uk-UA": OL,- "zh-CN": kL,- "zh-TW": AL+var AL = {};+AL = {+ "ar-AE": XI,+ "bg-BG": ZI,+ "cs-CZ": QI,+ "da-DK": $I,+ "de-DE": eL,+ "el-GR": tL,+ "en-US": nL,+ "es-ES": rL,+ "et-EE": iL,+ "fi-FI": aL,+ "fr-FR": oL,+ "he-IL": sL,+ "hr-HR": cL,+ "hu-HU": lL,+ "it-IT": uL,+ "ja-JP": dL,+ "ko-KR": fL,+ "lt-LT": pL,+ "lv-LV": mL,+ "nb-NO": hL,+ "nl-NL": gL,+ "pl-PL": _L,+ "pt-BR": vL,+ "pt-PT": yL,+ "ro-RO": bL,+ "ru-RU": xL,+ "sk-SK": SL,+ "sl-SI": CL,+ "sr-SP": wL,+ "sv-SE": TL,+ "tr-TR": EL,+ "uk-UA": DL,+ "zh-CN": OL,+ "zh-TW": kL};//#endregion//#region node_modules/react-aria-components/dist/private/DragAndDrop.mjs-var ML = /*#__PURE__*/ (0, D.createContext)({}), NL = /*#__PURE__*/ (0, D.createContext)(null), tue = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {- let { render: n } = (0, D.useContext)(NL);+var jL = /*#__PURE__*/ (0, D.createContext)({}), ML = /*#__PURE__*/ (0, D.createContext)(null), nue = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {+ let { render: n } = (0, D.useContext)(ML);return /*#__PURE__*/ D.createElement(D.Fragment, null, n(e, t));});-function PL(e, t) {+function NL(e, t) {let n = e?.renderDropIndicator, r = e?.isVirtualDragging?.(), i = (0, D.useCallback)((e) => {- if (r || t?.isDropTarget(e)) return n ? n(e) : /*#__PURE__*/ D.createElement(tue, { target: e });+ if (r || t?.isDropTarget(e)) return n ? n(e) : /*#__PURE__*/ D.createElement(nue, { target: e });}, [t?.target,r,@@ -37216,7 +37216,7 @@ function PL(e, t) {]);return e?.useDropIndicator ? i : void 0;}-function FL(e, t, n) {+function PL(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;@@ -37238,14 +37238,14 @@ function FL(e, t, n) {}//#endregion//#region node_modules/react-aria-components/dist/private/Header.mjs-var IL = /*#__PURE__*/ (0, D.createContext)({}), nue = /*#__PURE__*/ (0, D.createContext)(null);-function LL(e) {+var FL = /*#__PURE__*/ (0, D.createContext)({}), rue = /*#__PURE__*/ (0, D.createContext)(null);+function IL(e) {let t = (0, D.useRef)({});- return /*#__PURE__*/ D.createElement(nue.Provider, { value: t }, e.children);+ return /*#__PURE__*/ D.createElement(rue.Provider, { value: t }, e.children);}//#endregion//#region node_modules/react-aria-components/dist/private/SelectionIndicator.mjs-var RL = /*#__PURE__*/ (0, D.createContext)({ isSelected: !1 }), zL = /*#__PURE__*/ (0, D.createContext)({}), rue = /*#__PURE__*/ Tx(class extends ky {+var LL = /*#__PURE__*/ (0, D.createContext)({ isSelected: !1 }), RL = /*#__PURE__*/ (0, D.createContext)({}), iue = /*#__PURE__*/ wx(class extends Oy {static {this.type = "separator";}@@ -37258,14 +37258,14 @@ var RL = /*#__PURE__*/ (0, D.createContext)({ isSelected: !1 }), zL = /*#__PURE_return null;}}, function(e, t) {- [e, t] = yI(e, t, zL);+ [e, t] = vI(e, t, RL);let { elementType: n, orientation: r, style: i, className: a, slot: o, ...s } = e, c = n || "hr";c === "hr" && r === "vertical" && (c = "div");- let l = CI[c], { separatorProps: u } = Rae({+ let l = SI[c], { separatorProps: u } = zae({...s,elementType: n,orientation: r- }), d = pS(e, { global: !0 });+ }), d = fS(e, { global: !0 });return /*#__PURE__*/ D.createElement(l, {render: e.render,...K(d, u),@@ -37277,13 +37277,13 @@ var RL = /*#__PURE__*/ (0, D.createContext)({ isSelected: !1 }), zL = /*#__PURE_});//#endregion//#region node_modules/react-aria/dist/private/utils/inertValue.mjs-function BL(e) {+function zL(e) {let t = D.version.split(".");return parseInt(t[0], 10) >= 19 ? e : e ? "true" : void 0;}//#endregion//#region node_modules/react-stately/dist/private/list/ListCollection.mjs-var VL = class {+var BL = class {constructor(e) {this.keyMap = /* @__PURE__ */ new Map(), this.firstKey = null, this.lastKey = null, this.iterable = e;let t = (e) => {@@ -37327,20 +37327,20 @@ var VL = class {getChildren(e) {return this.keyMap.get(e)?.childNodes || [];}-}, HL = class e extends Set {+}, VL = class e extends Set {constructor(t, n, r) {super(t), t instanceof e ? (this.anchorKey = n ?? t.anchorKey, this.currentKey = r ?? t.currentKey) : (this.anchorKey = n ?? null, this.currentKey = r ?? null);}};//#endregion//#region node_modules/react-stately/dist/private/selection/useMultipleSelectionState.mjs-function iue(e, t) {+function aue(e, t) {if (e.size !== t.size) return !1;for (let n of e) if (!t.has(n)) return !1;return !0;}-function UL(e) {- let { selectionMode: t = "none", disallowEmptySelection: n = !1, allowDuplicateSelectionEvents: r, selectionBehavior: i = "toggle", disabledBehavior: a = "all" } = e, o = (0, D.useRef)(!1), [, s] = (0, D.useState)(!1), c = (0, D.useRef)(null), l = (0, D.useRef)(null), [, u] = (0, D.useState)(null), [d, f] = EC((0, D.useMemo)(() => WL(e.selectedKeys), [e.selectedKeys]), (0, D.useMemo)(() => WL(e.defaultSelectedKeys, new HL()), [e.defaultSelectedKeys]), e.onSelectionChange), p = (0, D.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), [m, h] = (0, D.useState)(i);+function HL(e) {+ let { selectionMode: t = "none", disallowEmptySelection: n = !1, allowDuplicateSelectionEvents: r, selectionBehavior: i = "toggle", disabledBehavior: a = "all" } = e, o = (0, D.useRef)(!1), [, s] = (0, D.useState)(!1), c = (0, D.useRef)(null), l = (0, D.useRef)(null), [, u] = (0, D.useState)(null), [d, f] = TC((0, D.useMemo)(() => UL(e.selectedKeys), [e.selectedKeys]), (0, D.useMemo)(() => UL(e.defaultSelectedKeys, new VL()), [e.defaultSelectedKeys]), e.onSelectionChange), p = (0, D.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), [m, h] = (0, D.useState)(i);i === "replace" && m === "toggle" && typeof d == "object" && d.size === 0 && h("replace");let g = (0, D.useRef)(i);return (0, D.useEffect)(() => {@@ -37367,18 +37367,18 @@ function UL(e) {},selectedKeys: d,setSelectedKeys(e) {- (r || !iue(e, d)) && f(e);+ (r || !aue(e, d)) && f(e);},disabledKeys: p,disabledBehavior: a};}-function WL(e, t) {- return e ? e === "all" ? "all" : new HL(e) : t;+function UL(e, t) {+ return e ? e === "all" ? "all" : new VL(e) : t;}//#endregion//#region node_modules/react-stately/dist/private/selection/SelectionManager.mjs-var GL = class e {+var WL = 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;}@@ -37434,7 +37434,7 @@ var GL = class e {let e = null;for (let t of this.state.selectedKeys) {let n = this.collection.getItem(t);- (!e || n && Hw(this.collection, n, e) < 0) && (e = n);+ (!e || n && Vw(this.collection, n, e) < 0) && (e = n);}return e?.key ?? null;}@@ -37442,7 +37442,7 @@ var GL = class e {let e = null;for (let t of this.state.selectedKeys) {let n = this.collection.getItem(t);- (!e || n && Hw(this.collection, n, e) > 0) && (e = n);+ (!e || n && Vw(this.collection, n, e) > 0) && (e = n);}return e?.key ?? null;}@@ -37461,10 +37461,10 @@ var GL = class e {let t = this.getKey(e);if (t == null) return;let n;- if (this.state.selectedKeys === "all") n = new HL([t], t, t);+ if (this.state.selectedKeys === "all") n = new VL([t], t, t);else {let e = this.state.selectedKeys, r = e.anchorKey ?? t;- n = new HL(e, r, t);+ n = new VL(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);}@@ -37472,7 +37472,7 @@ var GL = class e {}getKeyRange(e, t) {let n = this.collection.getItem(e), r = this.collection.getItem(t);- return n && r ? Hw(this.collection, n, r) <= 0 ? this.getKeyRangeInternal(e, t) : this.getKeyRangeInternal(t, e) : [];+ return n && r ? Vw(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);@@ -37498,19 +37498,19 @@ var GL = class e {}let t = this.getKey(e);if (t == null) return;- let n = new HL(this.state.selectedKeys === "all" ? this.getSelectAllKeys() : this.state.selectedKeys);+ let n = new VL(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 HL([t], t, t) : new HL();+ let n = this.canSelectItem(t) ? new VL([t], t, t) : new VL();this.state.setSelectedKeys(n);}setSelectedKeys(e) {if (this.selectionMode === "none") return;- let t = new HL();+ let t = new VL();for (let n of e) {let e = this.getKey(n);if (e != null && (t.add(e), this.selectionMode === "single")) break;@@ -37522,7 +37522,7 @@ var GL = 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(zw(Rw(i, e))?.key ?? null);+ i?.type === "item" && t.push(r), i?.hasChildNodes && (this.allowsCellSelection || i.type !== "item") && n(Rw(Lw(i, e))?.key ?? null);}r = e.getKeyAfter(r);}@@ -37533,7 +37533,7 @@ var GL = 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 HL());+ !this.disallowEmptySelection && (this.state.selectedKeys === "all" || this.state.selectedKeys.size > 0) && this.state.setSelectedKeys(new VL());}toggleSelectAll() {this.isSelectAll ? this.clearSelection() : this.selectAll();@@ -37574,9 +37574,9 @@ var GL = class e {fullCollection: this.fullCollection ?? this.collection});}-}, aue = class {+}, oue = class {build(e, t) {- return this.context = t, KL(() => this.iterateCollection(e));+ return this.context = t, GL(() => this.iterateCollection(e));}*iterateCollection(e) {let { children: t, items: n } = e;@@ -37658,10 +37658,10 @@ var GL = class e {...a,key: l,index: s,- wrapper: oue(e.wrapper, a.wrapper)+ wrapper: sue(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 <${qL(t.type)}> in <${qL(r?.type ?? "unknown parent type")}>. Only <${qL(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 <${KL(t.type)}> in <${KL(r?.type ?? "unknown parent type")}>. Only <${KL(e.type)}> is supported.`);s++, yield t;}c = o.next(u);@@ -37683,7 +37683,7 @@ var GL = class e {wrapper: e.wrapper,shouldInvalidate: e.shouldInvalidate,hasChildNodes: e.hasChildNodes || !1,- childNodes: KL(function* () {+ childNodes: GL(function* () {if (!e.hasChildNodes || !e.childNodes) return;let n = 0;for (let r of e.childNodes()) {@@ -37702,7 +37702,7 @@ var GL = class e {this.cache = /* @__PURE__ */ new WeakMap();}};-function KL(e) {+function GL(e) {let t = [], n = null;return { *[Symbol.iterator]() {for (let e of t) yield e;@@ -37710,18 +37710,18 @@ function KL(e) {for (let e of n) t.push(e), yield e;} };}-function oue(e, t) {+function sue(e, t) {if (e && t) return (n) => e(t(n));if (e) return e;if (t) return t;}-function qL(e) {+function KL(e) {return e[0].toUpperCase() + e.slice(1);}//#endregion//#region node_modules/react-stately/dist/private/collections/useCollection.mjs-function JL(e, t, n) {- let r = (0, D.useMemo)(() => new aue(), []), { children: i, items: a, collection: o } = e;+function qL(e, t, n) {+ let r = (0, D.useMemo)(() => new oue(), []), { children: i, items: a, collection: o } = e;return (0, D.useMemo)(() => o || t(r.build({children: i,items: a@@ -37736,27 +37736,27 @@ function JL(e, t, n) {}//#endregion//#region node_modules/react-stately/dist/private/list/useListState.mjs-function YL(e) {- let { filter: t, layoutDelegate: n } = e, r = UL(e), i = (0, D.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), a = JL(e, (0, D.useCallback)((e) => t ? new VL(t(e)) : new VL(e), [t]), (0, D.useMemo)(() => ({ suppressTextValueWarning: e.suppressTextValueWarning }), [e.suppressTextValueWarning])), o = (0, D.useMemo)(() => new GL(a, r, { layoutDelegate: n }), [+function JL(e) {+ let { filter: t, layoutDelegate: n } = e, r = HL(e), i = (0, D.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), a = qL(e, (0, D.useCallback)((e) => t ? new BL(t(e)) : new BL(e), [t]), (0, D.useMemo)(() => ({ suppressTextValueWarning: e.suppressTextValueWarning }), [e.suppressTextValueWarning])), o = (0, D.useMemo)(() => new WL(a, r, { layoutDelegate: n }), [a,r,n]);- return XL(a, o), {+ return YL(a, o), {collection: a,disabledKeys: i,selectionManager: o};}-function sue(e, t) {+function cue(e, t) {let n = (0, D.useMemo)(() => t ? e.collection.filter(t) : e.collection, [e.collection, t]), r = e.selectionManager.withCollection(n);- return XL(n, r), {+ return YL(n, r), {collection: n,selectionManager: r,disabledKeys: e.disabledKeys};}-function XL(e, t) {+function YL(e, t) {let n = (0, D.useRef)(null);(0, D.useEffect)(() => {if (t.focusedKey != null && !e.getItem(t.focusedKey) && n.current) {@@ -37784,15 +37784,15 @@ function XL(e, t) {}//#endregion//#region node_modules/react-aria/dist/private/utils/useLoadMoreSentinel.mjs-function ZL(e, t) {- let { collection: n, onLoadMore: r, scrollOffset: i = 1, direction: a = "end" } = e, o = (0, D.useRef)(null), s = Ux((e) => {+function XL(e, t) {+ let { collection: n, onLoadMore: r, scrollOffset: i = 1, direction: a = "end" } = e, o = (0, D.useRef)(null), s = Hx((e) => {for (let t of e) t.isIntersecting && r && r();});- tb(() => {+ eb(() => {if (t.current) {let e = 100 * i, n = a === "start" ? `${e}% 0px 0px 0px` : `0px ${e}% ${e}% ${e}%`;o.current = new IntersectionObserver(s, {- root: iC(t?.current),+ root: rC(t?.current),rootMargin: n}), o.current.observe(t.current);}@@ -37808,42 +37808,42 @@ function ZL(e, t) {}//#endregion//#region node_modules/react-aria-components/dist/private/ListBox.mjs-var QL = /*#__PURE__*/ (0, D.createContext)(null), $L = /*#__PURE__*/ (0, D.createContext)(null), cue = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {- [e, t] = yI(e, t, QL);- let n = (0, D.useContext)($L);- return n ? /*#__PURE__*/ D.createElement(eR, {+var ZL = /*#__PURE__*/ (0, D.createContext)(null), QL = /*#__PURE__*/ (0, D.createContext)(null), lue = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {+ [e, t] = vI(e, t, ZL);+ let n = (0, D.useContext)(QL);+ return n ? /*#__PURE__*/ D.createElement($L, {state: n,props: e,listBoxRef: t- }) : /*#__PURE__*/ D.createElement(Sx, { content: /*#__PURE__*/ D.createElement(kx, e) }, (n) => /*#__PURE__*/ D.createElement(lue, {+ }) : /*#__PURE__*/ D.createElement(xx, { content: /*#__PURE__*/ D.createElement(Ox, e) }, (n) => /*#__PURE__*/ D.createElement(uue, {props: e,listBoxRef: t,collection: n}));});-function lue({ props: e, listBoxRef: t, collection: n }) {+function uue({ props: e, listBoxRef: t, collection: n }) {e = {...e,collection: n,children: null,items: null};- let { layoutDelegate: r } = (0, D.useContext)(kI), i = YL({+ let { layoutDelegate: r } = (0, D.useContext)(OI), i = JL({...e,layoutDelegate: r});- return /*#__PURE__*/ D.createElement(eR, {+ return /*#__PURE__*/ D.createElement($L, {state: i,props: e,listBoxRef: t});}-function eR({ state: e, props: t, listBoxRef: n }) {- [t, n] = yI(t, n, wI);- let { dragAndDropHooks: r, layout: i = "stack", orientation: a = "vertical", filter: o } = t, s = sue(e, o), { collection: c, selectionManager: l } = s, u = !!r?.useDraggableCollectionState, d = !!r?.useDroppableCollectionState, { direction: f } = Zx(), { disabledBehavior: p, disabledKeys: m } = l, h = qw({+function $L({ state: e, props: t, listBoxRef: n }) {+ [t, n] = vI(t, n, CI);+ let { dragAndDropHooks: r, layout: i = "stack", orientation: a = "vertical", filter: o } = t, s = cue(e, o), { collection: c, selectionManager: l } = s, u = !!r?.useDraggableCollectionState, d = !!r?.useDroppableCollectionState, { direction: f } = Xx(), { disabledBehavior: p, disabledKeys: m } = l, h = Kw({usage: "search",sensitivity: "base"- }), { isVirtualized: g, layoutDelegate: _, dropTargetDelegate: v, CollectionRoot: y } = (0, D.useContext)(kI), b = (0, D.useMemo)(() => t.keyboardDelegate || new YC({+ }), { isVirtualized: g, layoutDelegate: _, dropTargetDelegate: v, CollectionRoot: y } = (0, D.useContext)(OI), b = (0, D.useMemo)(() => t.keyboardDelegate || new JC({collection: c,collator: h,ref: n,@@ -37864,7 +37864,7 @@ function eR({ state: e, props: t, listBoxRef: n }) {t.keyboardDelegate,i,_- ]), { listBoxProps: x } = Tae({+ ]), { listBoxProps: x } = Eae({...t,shouldSelectOnPressUp: u || t.shouldSelectOnPressUp,keyboardDelegate: b,@@ -37896,7 +37896,7 @@ function eR({ state: e, props: t, listBoxRef: n }) {dropTargetDelegate: e}, C, n), T = C.isDropTarget({ type: "root" });}- let { focusProps: k, isFocused: A, isFocusVisible: j } = eT(), M = s.collection.size === 0, N = {+ let { focusProps: k, isFocused: A, isFocusVisible: j } = $w(), M = s.collection.size === 0, N = {isDropTarget: T,isEmpty: M,isFocused: A,@@ -37904,7 +37904,7 @@ function eR({ state: e, props: t, listBoxRef: n }) {layout: t.layout || "stack",orientation: a,state: s- }, ee = _I({+ }, ee = gI({...t,children: void 0,defaultClassName: "react-aria-ListBox",@@ -37914,8 +37914,8 @@ function eR({ state: e, props: t, listBoxRef: n }) {role: "option",style: { display: "contents" }}, t.renderEmptyState(N)));- let P = pS(t, { global: !0 });- return /*#__PURE__*/ D.createElement(RS, null, /*#__PURE__*/ D.createElement(CI.div, {+ let P = fS(t, { global: !0 });+ return /*#__PURE__*/ D.createElement(LS, null, /*#__PURE__*/ D.createElement(SI.div, {...K(P, ee, x, k, w?.collectionProps),ref: n,slot: t.slot || void 0,@@ -37926,60 +37926,60 @@ function eR({ state: e, props: t, listBoxRef: n }) {"data-focus-visible": j || void 0,"data-layout": t.layout || "stack","data-orientation": a- }, /*#__PURE__*/ D.createElement(gI, { values: [- [QL, t],- [$L, s],- [ML, {+ }, /*#__PURE__*/ D.createElement(hI, { values: [+ [ZL, t],+ [QL, s],+ [jL, {dragAndDropHooks: r,dragState: S,dropState: C}],- [zL, { elementType: "div" }],- [NL, { render: fue }],- [EI, {+ [RL, { elementType: "div" }],+ [ML, { render: pue }],+ [TI, {name: "ListBoxSection",- render: uue+ render: due}]- ] }, /*#__PURE__*/ D.createElement(LL, null, /*#__PURE__*/ D.createElement(y, {+ ] }, /*#__PURE__*/ D.createElement(IL, null, /*#__PURE__*/ D.createElement(y, {collection: c,scrollRef: n,- persistedKeys: FL(l, r, C),- renderDropIndicator: PL(r, C)+ persistedKeys: PL(l, r, C),+ renderDropIndicator: NL(r, C)}))), te, E));}-function uue(e, t, n, r = "react-aria-ListBoxSection") {- let i = (0, D.useContext)($L), { dragAndDropHooks: a, dropState: o } = (0, D.useContext)(ML), { CollectionBranch: s } = (0, D.useContext)(kI), [c, l] = bI(), { headingProps: u, groupProps: d } = Eae({+function due(e, t, n, r = "react-aria-ListBoxSection") {+ let i = (0, D.useContext)(QL), { dragAndDropHooks: a, dropState: o } = (0, D.useContext)(jL), { CollectionBranch: s } = (0, D.useContext)(OI), [c, l] = yI(), { headingProps: u, groupProps: d } = Dae({heading: l,"aria-label": e["aria-label"] ?? void 0- }), f = _I({+ }), f = gI({...e,id: void 0,children: void 0,defaultClassName: r,values: void 0- }), p = pS(e, { global: !0 });- return delete p.id, /*#__PURE__*/ D.createElement(CI.section, {+ }), p = fS(e, { global: !0 });+ return delete p.id, /*#__PURE__*/ D.createElement(SI.section, {...K(p, f, d),ref: t- }, /*#__PURE__*/ D.createElement(IL.Provider, { value: {+ }, /*#__PURE__*/ D.createElement(FL.Provider, { value: {...u,ref: c} }, /*#__PURE__*/ D.createElement(s, {collection: i.collection,parent: n,- renderDropIndicator: PL(a, o)+ renderDropIndicator: NL(a, o)})));}-var due = /*#__PURE__*/ Tx(My, function(e, t, n) {- let r = fx(t), i = (0, D.useContext)($L), { dragAndDropHooks: a, dragState: o, dropState: s } = (0, D.useContext)(ML), c = o && !(o.isDisabled || o.selectionManager.isDisabled(n.key)), { optionProps: l, labelProps: u, descriptionProps: d, ...f } = Dae({+var fue = /*#__PURE__*/ wx(jy, function(e, t, n) {+ let r = dx(t), i = (0, D.useContext)(QL), { dragAndDropHooks: a, dragState: o, dropState: s } = (0, D.useContext)(jL), c = o && !(o.isDisabled || o.selectionManager.isDisabled(n.key)), { optionProps: l, labelProps: u, descriptionProps: d, ...f } = Oae({key: n.key,"aria-label": e?.["aria-label"]- }, i, r), { hoverProps: p, isHovered: m } = iT({+ }, i, r), { hoverProps: p, isHovered: m } = rT({isDisabled: !f.allowsSelection && !f.hasAction && !c,onHoverStart: n.props.onHoverStart,onHoverChange: n.props.onHoverChange,onHoverEnd: n.props.onHoverEnd- }), { keyboardProps: h } = dx(e), { focusProps: g } = sx(e), _ = null;+ }), { keyboardProps: h } = ux(e), { focusProps: g } = ox(e), _ = null;o && a && (_ = a.useDraggableItem({key: n.key,hasAction: f.hasAction@@ -37990,7 +37990,7 @@ var due = /*#__PURE__*/ Tx(My, function(e, t, n) {key: n.key,dropPosition: "on"} }, s, r));- let y = o && o.isDragging(n.key), b = _I({+ let y = o && o.isDragging(n.key), b = gI({...e,id: void 0,children: e.children,@@ -38008,7 +38008,7 @@ var due = /*#__PURE__*/ Tx(My, function(e, t, n) {(0, D.useEffect)(() => {n.textValue;}, [n.textValue]);- let x = e.href ? CI.a : CI.div, S = pS(e, { global: !0 });+ let x = e.href ? SI.a : SI.div, S = fS(e, { global: !0 });return delete S.id, delete S.onClick, e.href && l.tabIndex == null && (l.tabIndex = -1), /*#__PURE__*/ D.createElement(x, {...K(S, b, l, p, h, g, _?.dragProps, v?.dropProps),ref: r,@@ -38022,29 +38022,29 @@ var due = /*#__PURE__*/ Tx(My, function(e, t, n) {"data-dragging": y || void 0,"data-drop-target": v?.isDropTarget || void 0,"data-selection-mode": i.selectionManager.selectionMode === "none" ? void 0 : i.selectionManager.selectionMode- }, /*#__PURE__*/ D.createElement(gI, { values: [[LI, { slots: {- [hI]: u,+ }, /*#__PURE__*/ D.createElement(hI, { values: [[II, { slots: {+ [mI]: u,label: u,description: d- } }], [RL, { isSelected: f.isSelected }]] }, b.children));+ } }], [LL, { isSelected: f.isSelected }]] }, b.children));});-function fue(e, t) {- t = fx(t);- let { dragAndDropHooks: n, dropState: r } = (0, D.useContext)(ML), { dropIndicatorProps: i, isHidden: a, isDropTarget: o } = n.useDropIndicator(e, r, t);- return a ? null : /*#__PURE__*/ D.createElement(mue, {+function pue(e, t) {+ t = dx(t);+ let { dragAndDropHooks: n, dropState: r } = (0, D.useContext)(jL), { dropIndicatorProps: i, isHidden: a, isDropTarget: o } = n.useDropIndicator(e, r, t);+ return a ? null : /*#__PURE__*/ D.createElement(hue, {...e,dropIndicatorProps: i,isDropTarget: o,ref: t});}-function pue(e, t) {- let { dropIndicatorProps: n, isDropTarget: r, ...i } = e, a = _I({+function mue(e, t) {+ let { dropIndicatorProps: n, isDropTarget: r, ...i } = e, a = gI({...i,defaultClassName: "react-aria-DropIndicator",values: { isDropTarget: r }});- return /*#__PURE__*/ D.createElement(D.Fragment, null, /*#__PURE__*/ D.createElement(CI.div, {+ return /*#__PURE__*/ D.createElement(D.Fragment, null, /*#__PURE__*/ D.createElement(SI.div, {...n,...a,role: "option",@@ -38052,10 +38052,10 @@ function pue(e, t) {"data-drop-target": r || void 0}));}-var mue = /*#__PURE__*/ (0, D.forwardRef)(pue);-Tx(jy, function(e, t, n) {- let r = (0, D.useContext)($L), { isLoading: i, onLoadMore: a, scrollOffset: o, ...s } = e, c = (0, D.useRef)(null);- ZL((0, D.useMemo)(() => ({+var hue = /*#__PURE__*/ (0, D.forwardRef)(mue);+wx(Ay, function(e, t, n) {+ let r = (0, D.useContext)(QL), { isLoading: i, onLoadMore: a, scrollOffset: o, ...s } = e, c = (0, D.useRef)(null);+ XL((0, D.useMemo)(() => ({onLoadMore: a,collection: r?.collection,sentinelRef: c,@@ -38065,7 +38065,7 @@ Tx(jy, function(e, t, n) {o,r?.collection]), c);- let l = _I({+ let l = gI({...s,id: void 0,children: n.rendered,@@ -38078,7 +38078,7 @@ Tx(jy, function(e, t, n) {width: 0,height: 0},- inert: BL(!0)+ inert: zL(!0)}, /*#__PURE__*/ D.createElement("div", {"data-testid": "loadMoreSentinel",ref: c,@@ -38087,8 +38087,8 @@ Tx(jy, function(e, t, n) {height: 1,width: 1}- })), i && l.children && /*#__PURE__*/ D.createElement(D.Fragment, null, /*#__PURE__*/ D.createElement(CI.div, {- ...K(pS(e, { global: !0 }), { tabIndex: -1 }),+ })), i && l.children && /*#__PURE__*/ D.createElement(D.Fragment, null, /*#__PURE__*/ D.createElement(SI.div, {+ ...K(fS(e, { global: !0 }), { tabIndex: -1 }),...l,role: "option",ref: t@@ -38096,11 +38096,11 @@ Tx(jy, function(e, t, n) {});//#endregion//#region node_modules/react-aria-components/dist/private/OverlayArrow.mjs-var hue = /*#__PURE__*/ (0, D.createContext)({ placement: "bottom" });+var gue = /*#__PURE__*/ (0, D.createContext)({ placement: "bottom" });//#endregion//#region node_modules/react-stately/dist/private/overlays/useOverlayTriggerState.mjs-function tR(e) {- let [t, n] = EC(e.isOpen, e.defaultOpen || !1, e.onOpenChange), [r, i] = (0, D.useState)(null);+function eR(e) {+ let [t, n] = TC(e.isOpen, e.defaultOpen || !1, e.onOpenChange), [r, i] = (0, D.useState)(null);return {isOpen: t,setOpen: n,@@ -38119,15 +38119,15 @@ function tR(e) {}//#endregion//#region node_modules/react-aria/dist/private/utils/animation.mjs-function nR(e, t = !0, n) {+function tR(e, t = !0, n) {let [r, i] = (0, D.useState)(!0), a = r && t;- return tb(() => {- if (!t && e.current) return Zb(Wy(e.current, "opacity", "0"), Wy(e.current, "clip", "rect(0 0 0 0)"), Wy(e.current, "clip-path", "inset(50%)"), Wy(e.current, "mask-image", "linear-gradient(#0000, #0000)"));- }, [e, t]), tb(() => {+ return eb(() => {+ if (!t && e.current) return Xb(Uy(e.current, "opacity", "0"), Uy(e.current, "clip", "rect(0 0 0 0)"), Uy(e.current, "clip-path", "inset(50%)"), Uy(e.current, "mask-image", "linear-gradient(#0000, #0000)"));+ }, [e, t]), eb(() => {if (a && e.current && "getAnimations" in e.current) for (let t of e.current.getAnimations()) t instanceof CSSTransition && t.cancel();- }, [e, a]), iR(e, a, n, (0, D.useCallback)(() => i(!1), [])), a;+ }, [e, a]), rR(e, a, n, (0, D.useCallback)(() => i(!1), [])), a;}-function rR(e, t, n) {+function nR(e, t, n) {let [r, i] = (0, D.useState)(t ? "open" : "closed");switch (r) {case "open":@@ -38137,13 +38137,13 @@ function rR(e, t, n) {case "exiting": t && i("open");}let a = r === "exiting";- return iR(e, a, n, (0, D.useCallback)(() => {+ return rR(e, a, n, (0, D.useCallback)(() => {i((e) => e === "exiting" ? "closed" : e);}, [])), a;}-function iR(e, t, n, r) {- let i = (0, D.useRef)(null), a = Ux(n);- tb(() => {+function rR(e, t, n, r) {+ let i = (0, D.useRef)(null), a = Hx(n);+ eb(() => {if (t && e.current && i.current !== t) {if (i.current = t, !("getAnimations" in e.current)) {r();@@ -38169,9 +38169,9 @@ function iR(e, t, n, r) {}//#endregion//#region node_modules/react-aria-components/dist/private/Popover.mjs-var aR = /*#__PURE__*/ (0, D.createContext)(null), oR = /*#__PURE__*/ (0, D.createContext)(null), sR = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {- [e, t] = yI(e, t, aR);- let n = (0, D.useContext)(yR), r = tR(e), i = e.isOpen != null || e.defaultOpen != null || !n ? r : n, a = rR(t, i.isOpen), o = e.isExiting || !e.shouldSkipAnimation && a || !1, s = vx(), { direction: c } = Zx();+var iR = /*#__PURE__*/ (0, D.createContext)(null), aR = /*#__PURE__*/ (0, D.createContext)(null), oR = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {+ [e, t] = vI(e, t, iR);+ let n = (0, D.useContext)(vR), r = eR(e), i = e.isOpen != null || e.defaultOpen != null || !n ? r : n, a = nR(t, i.isOpen), o = e.isExiting || !e.shouldSkipAnimation && a || !1, s = _x(), { direction: c } = Xx();if (s) {let t = e.children;return typeof t == "function" && (t = t({@@ -38182,7 +38182,7 @@ var aR = /*#__PURE__*/ (0, D.createContext)(null), oR = /*#__PURE__*/ (0, D.creadefaultChildren: null})), /*#__PURE__*/ D.createElement(D.Fragment, null, t);}- return i && !i.isOpen && !o ? null : /*#__PURE__*/ D.createElement(gue, {+ return i && !i.isOpen && !o ? null : /*#__PURE__*/ D.createElement(_ue, {...e,triggerRef: e.triggerRef,state: i,@@ -38191,13 +38191,13 @@ var aR = /*#__PURE__*/ (0, D.createContext)(null), oR = /*#__PURE__*/ (0, D.creadir: c});});-function gue({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContexts: r, ...i }) {- let a = (0, D.useRef)(null), o = (0, D.useRef)(null), s = (0, D.useContext)(oR), c = s && i.trigger === "SubmenuTrigger", [l, u] = (0, D.useState)(!1), { popoverProps: d, underlayProps: f, arrowProps: p, placement: m, triggerAnchorPoint: h } = kD({+function _ue({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContexts: r, ...i }) {+ let a = (0, D.useRef)(null), o = (0, D.useRef)(null), s = (0, D.useContext)(aR), c = s && i.trigger === "SubmenuTrigger", [l, u] = (0, D.useState)(!1), { popoverProps: d, underlayProps: f, arrowProps: p, placement: m, triggerAnchorPoint: h } = OD({...i,offset: i.offset ?? 8,arrowRef: a,groupRef: c ? s : o- }, e), g = i.popoverRef, _ = nR(g, !!m && l), v = i.isEntering || !i.shouldSkipAnimation && _ || !1, y = _I({+ }, e), g = i.popoverRef, _ = tR(g, !!m && l), v = i.isEntering || !i.shouldSkipAnimation && _ || !1, y = gI({...i,defaultClassName: "react-aria-Popover",values: {@@ -38207,10 +38207,10 @@ function gue({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContextisExiting: t}}), b = !i.isNonModal || i.trigger === "SubmenuTrigger" || i.trigger === "PreviewTrigger", [x, S] = (0, D.useState)(i.trigger === "PreviewTrigger");- tb(() => {+ eb(() => {g.current && S(b && !g.current.querySelector("[role=dialog]"));}, [g, b]), (0, D.useEffect)(() => {- x && i.trigger !== "PreviewTrigger" && (i.trigger !== "SubmenuTrigger" || zb() !== "pointer") && g.current && !Yy(g.current) && Xb(g.current);+ x && i.trigger !== "PreviewTrigger" && (i.trigger !== "SubmenuTrigger" || Rb() !== "pointer") && g.current && !Jy(g.current) && Yb(g.current);}, [x,g,@@ -38218,12 +38218,12 @@ function gue({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContext]);let C = (0, D.useMemo)(() => {let e = y.children;- for (let t of [aR, ...r ?? []]) e = /*#__PURE__*/ D.createElement(t.Provider, { value: null }, e);+ for (let t of [iR, ...r ?? []]) e = /*#__PURE__*/ D.createElement(t.Provider, { value: null }, e);return e;}, [y.children, r]), [w, T] = (0, D.useState)(null), E = (0, D.useCallback)(() => {i.triggerRef.current && T(i.triggerRef.current.getBoundingClientRect().width + "px");}, [i.triggerRef]);- tb(E, [E]), nE({+ eb(E, [E]), tE({ref: y.style?.["--trigger-width"] ? void 0 : i.triggerRef,onResize: E});@@ -38233,9 +38233,9 @@ function gue({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContext...y.style,"--trigger-width": y.style?.["--trigger-width"] || w};- tb(() => GE(() => u(!0)), []);- let k = /*#__PURE__*/ D.createElement(CI.div, {- ...K(pS(i, { global: !0 }), d),+ eb(() => WE(() => u(!0)), []);+ let k = /*#__PURE__*/ D.createElement(SI.div, {+ ...K(fS(i, { global: !0 }), d),...y,id: x ? i.id : void 0,role: x ? "dialog" : void 0,@@ -38250,17 +38250,17 @@ function gue({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContext"data-placement": m,"data-entering": v || void 0,"data-exiting": t || void 0- }, !i.isNonModal && /*#__PURE__*/ D.createElement(RE, { onDismiss: e.close }), /*#__PURE__*/ D.createElement(hue.Provider, { value: {+ }, !i.isNonModal && /*#__PURE__*/ D.createElement(LE, { onDismiss: e.close }), /*#__PURE__*/ D.createElement(gue.Provider, { value: {...p,placement: m,ref: a- } }, C), /*#__PURE__*/ D.createElement(RE, { onDismiss: e.close }));- return c ? /*#__PURE__*/ D.createElement(Qw, {+ } }, C), /*#__PURE__*/ D.createElement(LE, { onDismiss: e.close }));+ return c ? /*#__PURE__*/ D.createElement(Zw, {...i,shouldContainFocus: x && i.trigger !== "PreviewTrigger",isExiting: t,portalContainer: n ?? s?.current ?? void 0- }, k) : /*#__PURE__*/ D.createElement(Qw, {+ }, k) : /*#__PURE__*/ D.createElement(Zw, {...i,shouldContainFocus: x && i.trigger !== "PreviewTrigger",isExiting: t,@@ -38275,15 +38275,15 @@ function gue({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContext}), /*#__PURE__*/ D.createElement("div", {ref: o,style: { display: "contents" }- }, /*#__PURE__*/ D.createElement(oR.Provider, { value: o }, k)));+ }, /*#__PURE__*/ D.createElement(aR.Provider, { value: o }, k)));}//#endregion//#region node_modules/react-aria-components/dist/private/Keyboard.mjs-var _ue = /*#__PURE__*/ (0, D.createContext)({});+var vue = /*#__PURE__*/ (0, D.createContext)({});//#endregion//#region node_modules/react-stately/dist/private/menu/useMenuTriggerState.mjs-function cR(e) {- let t = tR(e), [n, r] = (0, D.useState)(null), [i, a] = (0, D.useState)([]), o = () => {+function sR(e) {+ let t = eR(e), [n, r] = (0, D.useState)(null), [i, a] = (0, D.useState)([]), o = () => {a([]), t.close();}, s = (e, t) => {a((n) => t > n.length ? n : [...n.slice(0, t), e]);@@ -38309,7 +38309,7 @@ function cR(e) {}//#endregion//#region node_modules/react-stately/dist/private/tree/TreeCollection.mjs-var vue = class {+var yue = 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) => {@@ -38353,8 +38353,8 @@ var vue = class {};//#endregion//#region node_modules/react-stately/dist/private/tree/useTreeState.mjs-function lR(e) {- let { onExpandedChange: t } = e, [n, r] = EC(e.expandedKeys ? new Set(e.expandedKeys) : void 0, e.defaultExpandedKeys ? new Set(e.defaultExpandedKeys) : /* @__PURE__ */ new Set(), t), i = UL(e), a = (0, D.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), o = JL(e, (0, D.useCallback)((e) => new vue(e, { expandedKeys: n }), [n]), null);+function cR(e) {+ let { onExpandedChange: t } = e, [n, r] = TC(e.expandedKeys ? new Set(e.expandedKeys) : void 0, e.defaultExpandedKeys ? new Set(e.defaultExpandedKeys) : /* @__PURE__ */ new Set(), t), i = HL(e), a = (0, D.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), o = qL(e, (0, D.useCallback)((e) => new yue(e, { expandedKeys: n }), [n]), null);return (0, D.useEffect)(() => {i.focusedKey != null && !o.getItem(i.focusedKey) && i.setFocusedKey(null);}, [o, i.focusedKey]), {@@ -38362,32 +38362,32 @@ function lR(e) {expandedKeys: n,disabledKeys: a,toggleKey: (e) => {- r(yue(n, e));+ r(bue(n, e));},setExpandedKeys: r,- selectionManager: new GL(o, i)+ selectionManager: new WL(o, i)};}-function yue(e, t) {+function bue(e, t) {let n = new Set(e);return n.has(t) ? n.delete(t) : n.add(t), n;}//#endregion//#region node_modules/react-aria-components/dist/private/Menu.mjs-var uR = /*#__PURE__*/ (0, D.createContext)(null), dR = /*#__PURE__*/ (0, D.createContext)(null), fR = /*#__PURE__*/ (0, D.createContext)(null), pR = /*#__PURE__*/ (0, D.createContext)(null);-function bue(e) {- let t = cR(e), n = (0, D.useRef)(null), { menuTriggerProps: r, menuProps: i } = Nw({+var lR = /*#__PURE__*/ (0, D.createContext)(null), uR = /*#__PURE__*/ (0, D.createContext)(null), dR = /*#__PURE__*/ (0, D.createContext)(null), fR = /*#__PURE__*/ (0, D.createContext)(null);+function xue(e) {+ let t = sR(e), n = (0, D.useRef)(null), { menuTriggerProps: r, menuProps: i } = Mw({...e,type: "menu"}, t, n), a = (0, D.useRef)(null);- return vx() ? null : /*#__PURE__*/ D.createElement(gI, { values: [- [uR, {+ return _x() ? null : /*#__PURE__*/ D.createElement(hI, { values: [+ [lR, {...i,ref: a}],- [yR, t],- [fR, t],- [aR, {+ [vR, t],+ [dR, t],+ [iR, {trigger: "MenuTrigger",triggerRef: n,scrollRef: a,@@ -38395,14 +38395,14 @@ function bue(e) {"aria-labelledby": i["aria-labelledby"],offset: e.trigger === "contextMenu" ? 0 : void 0}]- ] }, /*#__PURE__*/ D.createElement(uae, {+ ] }, /*#__PURE__*/ D.createElement(dae, {...r,ref: n,isPressed: t.isOpen}, e.children));}-var xue = /*#__PURE__*/ (0, D.createContext)(null);-(class extends ky {+var Sue = /*#__PURE__*/ (0, D.createContext)(null);+(class extends Oy {static {this.type = "submenutrigger";}@@ -38415,24 +38415,24 @@ var xue = /*#__PURE__*/ (0, D.createContext)(null);return null;}});-var Sue = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {- return [e, t] = yI(e, t, uR), /*#__PURE__*/ D.createElement(Sx, { content: /*#__PURE__*/ D.createElement(kx, e) }, (n) => /*#__PURE__*/ D.createElement(Cue, {+var Cue = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {+ return [e, t] = vI(e, t, lR), /*#__PURE__*/ D.createElement(xx, { content: /*#__PURE__*/ D.createElement(Ox, e) }, (n) => /*#__PURE__*/ D.createElement(wue, {props: e,collection: n,menuRef: t}));});-function Cue({ props: e, collection: t, menuRef: n }) {- [e, n] = yI(e, n, wI);- let { filter: r, ...i } = e, a = (0, D.useMemo)(() => r ? t.filter(r) : t, [t, r]), o = lR({+function wue({ props: e, collection: t, menuRef: n }) {+ [e, n] = vI(e, n, CI);+ let { filter: r, ...i } = e, a = (0, D.useMemo)(() => r ? t.filter(r) : t, [t, r]), o = cR({...e,collection: a,children: void 0- }), s = (0, D.useContext)(fR), { isVirtualized: c, CollectionRoot: l } = (0, D.useContext)(kI), { menuProps: u } = Oae({+ }), s = (0, D.useContext)(dR), { isVirtualized: c, CollectionRoot: l } = (0, D.useContext)(OI), { menuProps: u } = kae({...e,isVirtualized: c,onClose: e.onClose || s?.close- }, o, n), d = _I({+ }, o, n), d = gI({...e,children: void 0,defaultClassName: "react-aria-Menu",@@ -38442,36 +38442,36 @@ function Cue({ props: e, collection: t, menuRef: n }) {role: "menuitem",style: { display: "contents" }}, e.renderEmptyState()));- let p = pS(e, { global: !0 });- return /*#__PURE__*/ D.createElement(RS, null, /*#__PURE__*/ D.createElement(CI.div, {+ let p = fS(e, { global: !0 });+ return /*#__PURE__*/ D.createElement(LS, null, /*#__PURE__*/ D.createElement(SI.div, {...K(p, d, u),ref: n,slot: e.slot || void 0,"data-empty": o.collection.size === 0 || void 0,onScroll: e.onScroll- }, /*#__PURE__*/ D.createElement(gI, { values: [- [dR, o],- [zL, { elementType: "div" }],- [EI, {+ }, /*#__PURE__*/ D.createElement(hI, { values: [+ [uR, o],+ [RL, { elementType: "div" }],+ [TI, {name: "MenuSection",- render: mR+ render: pR}],- [xue, {+ [Sue, {parentMenuRef: n,shouldUseVirtualFocus: i?.shouldUseVirtualFocus}],- [gR, { shouldCloseOnSelect: e.shouldCloseOnSelect }],+ [hR, { shouldCloseOnSelect: e.shouldCloseOnSelect }],+ [CI, null],[wI, null],- [TI, null],- [pR, o.selectionManager],- [fR, s ?? cR({})]- ] }, /*#__PURE__*/ D.createElement(LL, null, /*#__PURE__*/ D.createElement(l, {+ [fR, o.selectionManager],+ [dR, s ?? sR({})]+ ] }, /*#__PURE__*/ D.createElement(IL, null, /*#__PURE__*/ D.createElement(l, {collection: o.collection,- persistedKeys: AI(o.selectionManager.focusedKey),+ persistedKeys: kI(o.selectionManager.focusedKey),scrollRef: n}))), f));}-var wue = class extends GL {+var Tue = class extends WL {constructor(e, t) {super(e.collection, t), this.parent = e;}@@ -38491,11 +38491,11 @@ var wue = class extends GL {return this.parent.childFocusStrategy;}};-function mR(e, t, n, r = "react-aria-MenuSection") {- let i = (0, D.useContext)(dR), { CollectionBranch: a } = (0, D.useContext)(kI), [o, s] = bI(), { headingProps: c, groupProps: l } = Aae({+function pR(e, t, n, r = "react-aria-MenuSection") {+ let i = (0, D.useContext)(uR), { CollectionBranch: a } = (0, D.useContext)(OI), [o, s] = yI(), { headingProps: c, groupProps: l } = jae({heading: s,"aria-label": n.props["aria-label"] ?? void 0- }), u = _I({+ }), u = gI({...e,id: void 0,children: void 0,@@ -38503,31 +38503,31 @@ function mR(e, t, n, r = "react-aria-MenuSection") {className: n.props?.className,style: n.props?.style,values: void 0- }), d = (0, D.useContext)(pR), f = UL(e), p = e.selectionMode == null ? d : new wue(d, f), m = vI(gR)?.shouldCloseOnSelect, h = pS(e, { global: !0 });- return delete h.id, /*#__PURE__*/ D.createElement(CI.section, {+ }), d = (0, D.useContext)(fR), f = HL(e), p = e.selectionMode == null ? d : new Tue(d, f), m = _I(hR)?.shouldCloseOnSelect, h = fS(e, { global: !0 });+ return delete h.id, /*#__PURE__*/ D.createElement(SI.section, {...K(h, u, l),ref: t- }, /*#__PURE__*/ D.createElement(gI, { values: [- [IL, {+ }, /*#__PURE__*/ D.createElement(hI, { values: [+ [FL, {...c,ref: o}],- [pR, p],- [gR, { shouldCloseOnSelect: e.shouldCloseOnSelect ?? m }]+ [fR, p],+ [hR, { shouldCloseOnSelect: e.shouldCloseOnSelect ?? m }]] }, /*#__PURE__*/ D.createElement(a, {collection: i.collection,parent: n})));}-var hR = /*#__PURE__*/ Ex(Zne, mR), gR = /*#__PURE__*/ (0, D.createContext)(null), _R = /*#__PURE__*/ Tx(My, function(e, t, n) {- [e, t] = yI(e, t, gR);- let r = vI(gR)?.id, i = (0, D.useContext)(dR), a = fx(t), o = (0, D.useContext)(pR), { isVirtualized: s } = (0, D.useContext)(kI), { menuItemProps: c, labelProps: l, descriptionProps: u, keyboardShortcutProps: d, ...f } = kae({+var mR = /*#__PURE__*/ Tx(Qne, pR), hR = /*#__PURE__*/ (0, D.createContext)(null), gR = /*#__PURE__*/ wx(jy, function(e, t, n) {+ [e, t] = vI(e, t, hR);+ let r = _I(hR)?.id, i = (0, D.useContext)(uR), a = dx(t), o = (0, D.useContext)(fR), { isVirtualized: s } = (0, D.useContext)(OI), { menuItemProps: c, labelProps: l, descriptionProps: u, keyboardShortcutProps: d, ...f } = Aae({...e,id: r,key: n.key,selectionManager: o,isVirtualized: s- }, i, a), { hoverProps: p, isHovered: m } = iT({ isDisabled: f.isDisabled }), h = _I({+ }, i, a), { hoverProps: p, isHovered: m } = rT({ isDisabled: f.isDisabled }), h = gI({...e,id: void 0,children: n.rendered,@@ -38541,7 +38541,7 @@ var hR = /*#__PURE__*/ Ex(Zne, mR), gR = /*#__PURE__*/ (0, D.createContext)(nullhasSubmenu: !!e["aria-haspopup"],isOpen: e["aria-expanded"] === "true"}- }), g = e.href ? CI.a : CI.div, _ = pS(e, { global: !0 });+ }), g = e.href ? SI.a : SI.div, _ = fS(e, { global: !0 });return delete _.id, delete _.onClick, /*#__PURE__*/ D.createElement(g, {...K(_, h, c, p),ref: a,@@ -38554,19 +38554,19 @@ var hR = /*#__PURE__*/ Ex(Zne, mR), gR = /*#__PURE__*/ (0, D.createContext)(null"data-selection-mode": o.selectionMode === "none" ? void 0 : o.selectionMode,"data-has-submenu": !!e["aria-haspopup"] || void 0,"data-open": e["aria-expanded"] === "true" || void 0- }, /*#__PURE__*/ D.createElement(gI, { values: [- [LI, { slots: {- [hI]: l,+ }, /*#__PURE__*/ D.createElement(hI, { values: [+ [II, { slots: {+ [mI]: l,label: l,description: u} }],- [_ue, d],- [RL, { isSelected: f.isSelected }]+ [vue, d],+ [LL, { isSelected: f.isSelected }]] }, h.children));});-Tx(jy, function(e, t, n) {- let r = (0, D.useContext)(dR), { isLoading: i, onLoadMore: a, scrollOffset: o, ...s } = e, c = (0, D.useRef)(null);- ZL((0, D.useMemo)(() => ({+wx(Ay, function(e, t, n) {+ let r = (0, D.useContext)(uR), { isLoading: i, onLoadMore: a, scrollOffset: o, ...s } = e, c = (0, D.useRef)(null);+ XL((0, D.useMemo)(() => ({onLoadMore: a,collection: r?.collection,sentinelRef: c,@@ -38576,7 +38576,7 @@ Tx(jy, function(e, t, n) {o,r?.collection]), c);- let l = _I({+ let l = gI({...s,id: void 0,children: n.rendered,@@ -38589,7 +38589,7 @@ Tx(jy, function(e, t, n) {width: 0,height: 0},- inert: BL(!0)+ inert: zL(!0)}, /*#__PURE__*/ D.createElement("div", {"data-testid": "loadMoreSentinel",ref: c,@@ -38598,8 +38598,8 @@ Tx(jy, function(e, t, n) {height: 1,width: 1}- })), i && l.children && /*#__PURE__*/ D.createElement(D.Fragment, null, /*#__PURE__*/ D.createElement(CI.div, {- ...K(pS(e, { global: !0 }), { tabIndex: -1 }),+ })), i && l.children && /*#__PURE__*/ D.createElement(D.Fragment, null, /*#__PURE__*/ D.createElement(SI.div, {+ ...K(fS(e, { global: !0 }), { tabIndex: -1 }),...l,role: "menuitem",ref: t@@ -38607,82 +38607,82 @@ Tx(jy, function(e, t, n) {});//#endregion//#region node_modules/react-aria-components/dist/private/Dialog.mjs-var vR = /*#__PURE__*/ (0, D.createContext)(null), yR = /*#__PURE__*/ (0, D.createContext)(null), bR = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {+var _R = /*#__PURE__*/ (0, D.createContext)(null), vR = /*#__PURE__*/ (0, D.createContext)(null), yR = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {let n = e["aria-labelledby"];- [e, t] = yI(e, t, vR);- let { dialogProps: r, titleProps: i, contentProps: a } = fae({+ [e, t] = vI(e, t, _R);+ let { dialogProps: r, titleProps: i, contentProps: a } = pae({...e,"aria-labelledby": n- }, t), o = (0, D.useContext)(yR);+ }, t), o = (0, D.useContext)(vR);!r["aria-label"] && !r["aria-labelledby"] && e["aria-labelledby"] && (r["aria-labelledby"] = e["aria-labelledby"]);- let s = _I({+ let s = gI({defaultClassName: "react-aria-Dialog",className: e.className,style: e.style,children: e.children,values: { close: o?.close || (() => {}) }- }), c = pS(e, { global: !0 });- return /*#__PURE__*/ D.createElement(CI.section, {+ }), c = fS(e, { global: !0 });+ return /*#__PURE__*/ D.createElement(SI.section, {...K(c, s, r),render: e.render,ref: t,slot: e.slot || void 0- }, /*#__PURE__*/ D.createElement(gI, { values: [- [FI, { slots: {- [hI]: {},+ }, /*#__PURE__*/ D.createElement(hI, { values: [+ [PI, { slots: {+ [mI]: {},title: {...i,level: 2}} }],- [LI, { slots: {- [hI]: {},+ [II, { slots: {+ [mI]: {},description: a} }],- [NI, { slots: {- [hI]: {},+ [MI, { slots: {+ [mI]: {},close: { onPress: () => o?.close() }} }]] }, s.children));-}), xR = typeof document < "u" && window.visualViewport;-function Tue() {- let e = Cb(), t = (0, D.useRef)(null), [n, r] = (0, D.useState)(() => e ? {+}), bR = typeof document < "u" && window.visualViewport;+function Eue() {+ let e = Sb(), t = (0, D.useRef)(null), [n, r] = (0, D.useState)(() => e ? {width: 0,height: 0- } : SR());+ } : xR());return (0, D.useEffect)(() => {let e = (e) => {r((t) => e.width === t.width && e.height === t.height ? t : e);}, n = () => {- xR && xR.scale > 1 || e(SR());+ bR && bR.scale > 1 || e(xR());}, i = (n) => {- xR && xR.scale > 1 || Bx(G(n)) && (t.current = GE((t) => {+ bR && bR.scale > 1 || zx(G(n)) && (t.current = WE((t) => {t || e({width: document.documentElement.clientWidth,height: document.documentElement.clientHeight});}));};- return e(SR()), db() && fb() && window.addEventListener("blur", i, !0), xR ? xR.addEventListener("resize", n) : window.addEventListener("resize", n), () => {- t.current?.(), db() && fb() && window.removeEventListener("blur", i, !0), xR ? xR.removeEventListener("resize", n) : window.removeEventListener("resize", n);+ return e(xR()), ub() && db() && window.addEventListener("blur", i, !0), bR ? bR.addEventListener("resize", n) : window.addEventListener("resize", n), () => {+ t.current?.(), ub() && db() && window.removeEventListener("blur", i, !0), bR ? bR.removeEventListener("resize", n) : window.removeEventListener("resize", n);};}, []), n;}-function SR() {+function xR() {return {- width: xR ? Math.min(xR.width * xR.scale, document.documentElement.clientWidth) : document.documentElement.clientWidth,- height: xR ? xR.height * xR.scale : document.documentElement.clientHeight+ width: bR ? Math.min(bR.width * bR.scale, document.documentElement.clientWidth) : document.documentElement.clientWidth,+ height: bR ? bR.height * bR.scale : document.documentElement.clientHeight};}//#endregion//#region node_modules/react-aria-components/dist/private/Modal.mjs-var Eue = /*#__PURE__*/ (0, D.createContext)(null), CR = /*#__PURE__*/ (0, D.createContext)(null), Due = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {- if ((0, D.useContext)(CR)) return /*#__PURE__*/ D.createElement(TR, {+var Due = /*#__PURE__*/ (0, D.createContext)(null), SR = /*#__PURE__*/ (0, D.createContext)(null), Oue = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {+ if ((0, D.useContext)(SR)) return /*#__PURE__*/ D.createElement(wR, {...e,modalRef: t}, e.children);let { isDismissable: n, isKeyboardDismissDisabled: r, isOpen: i, defaultOpen: a, onOpenChange: o, children: s, isEntering: c, isExiting: l, UNSTABLE_portalContainer: u, shouldCloseOnInteractOutside: d, ...f } = e;- return /*#__PURE__*/ D.createElement(wR, {+ return /*#__PURE__*/ D.createElement(CR, {isDismissable: n,isKeyboardDismissDisabled: r,isOpen: i,@@ -38692,15 +38692,15 @@ var Eue = /*#__PURE__*/ (0, D.createContext)(null), CR = /*#__PURE__*/ (0, D.creisExiting: l,UNSTABLE_portalContainer: u,shouldCloseOnInteractOutside: d- }, /*#__PURE__*/ D.createElement(TR, {+ }, /*#__PURE__*/ D.createElement(wR, {...f,modalRef: t}, s));});-function Oue(e, t) {- [e, t] = yI(e, t, Eue);- let n = (0, D.useContext)(yR), r = tR(e), i = e.isOpen != null || e.defaultOpen != null || !n ? r : n, a = fx(t), o = (0, D.useRef)(null), s = rR(a, i.isOpen, e.onExit), c = (0, D.useRef)(null), l = rR(o, i.isOpen, (e) => c.current?.(e)), u = s || l || e.isExiting || !1, d = Cb();- return !i.isOpen && !u || d ? null : /*#__PURE__*/ D.createElement(kue, {+function kue(e, t) {+ [e, t] = vI(e, t, Due);+ let n = (0, D.useContext)(vR), r = eR(e), i = e.isOpen != null || e.defaultOpen != null || !n ? r : n, a = dx(t), o = (0, D.useRef)(null), s = nR(a, i.isOpen, e.onExit), c = (0, D.useRef)(null), l = nR(o, i.isOpen, (e) => c.current?.(e)), u = s || l || e.isExiting || !1, d = Sb();+ return !i.isOpen && !u || d ? null : /*#__PURE__*/ D.createElement(Aue, {...e,state: i,isExiting: u,@@ -38709,12 +38709,12 @@ function Oue(e, t) {onExitRef: c});}-var wR = /*#__PURE__*/ (0, D.forwardRef)(Oue);-function kue({ UNSTABLE_portalContainer: e, UNSTABLE_deferUntilEntered: t, ...n }) {- let r = n.modalRef, { state: i } = n, [a, o] = (0, D.useState)(!1), s = nR(n.overlayRef, a, n.onEnter) || n.isEntering || !1, c = !!t && (!a || s), { modalProps: l, underlayProps: u } = nD({+var CR = /*#__PURE__*/ (0, D.forwardRef)(kue);+function Aue({ UNSTABLE_portalContainer: e, UNSTABLE_deferUntilEntered: t, ...n }) {+ let r = n.modalRef, { state: i } = n, [a, o] = (0, D.useState)(!1), s = tR(n.overlayRef, a, n.onEnter) || n.isEntering || !1, c = !!t && (!a || s), { modalProps: l, underlayProps: u } = tD({...n,isEntering: c- }, i, r), d = (0, D.useContext)(vR), f = t ? Aue(d, { isEntering: c }) : d, p = _I({+ }, i, r), d = (0, D.useContext)(_R), f = t ? jue(d, { isEntering: c }) : d, p = gI({...n,defaultClassName: "react-aria-ModalOverlay",values: {@@ -38722,9 +38722,9 @@ function kue({ UNSTABLE_portalContainer: e, UNSTABLE_deferUntilEntered: t, ...nisExiting: n.isExiting,state: i}- }), m = Tue(), h, g;+ }), m = Eue(), h, g;if (typeof document < "u") {- let e = rC(document.body) ? document.body : document.scrollingElement || document.documentElement, t = e.getBoundingClientRect().width % 1, n = e.getBoundingClientRect().height % 1;+ let e = nC(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 _ = {@@ -38734,18 +38734,18 @@ function kue({ 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 tb(() => GE(() => o(!0)), []), /*#__PURE__*/ D.createElement(Qw, {+ return eb(() => WE(() => o(!0)), []), /*#__PURE__*/ D.createElement(Zw, {isExiting: n.isExiting,portalContainer: e- }, /*#__PURE__*/ D.createElement(CI.div, {- ...K(pS(n, { global: !0 }), u),+ }, /*#__PURE__*/ D.createElement(SI.div, {+ ...K(fS(n, { global: !0 }), u),...p,style: _,ref: n.overlayRef,"data-entering": s || void 0,"data-exiting": n.isExiting || void 0- }, /*#__PURE__*/ D.createElement(gI, { values: [- [CR, {+ }, /*#__PURE__*/ D.createElement(hI, { values: [+ [SR, {modalProps: l,modalRef: r,isExiting: n.isExiting,@@ -38753,11 +38753,11 @@ function kue({ UNSTABLE_portalContainer: e, UNSTABLE_deferUntilEntered: t, ...nisOpen: a,isDismissable: n.isDismissable}],- [yR, i],- [vR, f]+ [vR, i],+ [_R, f]] }, p.children)));}-function Aue(e, t) {+function jue(e, t) {if (e && "slots" in e && e.slots) {let n = {};for (let r in e.slots) n[r] = {@@ -38774,8 +38774,8 @@ function Aue(e, t) {...t};}-function TR(e) {- let { modalProps: t, modalRef: n, isExiting: r, onExitRef: i, isDismissable: a, isOpen: o } = (0, D.useContext)(CR), s = (0, D.useContext)(yR), c = fx((0, D.useMemo)(() => rx(e.modalRef, n), [e.modalRef, n])), l = nR(c, o, e.onEnter), u = _I({+function wR(e) {+ let { modalProps: t, modalRef: n, isExiting: r, onExitRef: i, isDismissable: a, isOpen: o } = (0, D.useContext)(SR), s = (0, D.useContext)(vR), c = dx((0, D.useMemo)(() => nx(e.modalRef, n), [e.modalRef, n])), l = tR(c, o, e.onEnter), u = gI({...e,defaultClassName: "react-aria-Modal",values: {@@ -38784,21 +38784,21 @@ function TR(e) {state: s}});- return tb(() => {+ return eb(() => {i && (i.current = e.onExit);- }), /*#__PURE__*/ D.createElement(CI.div, {- ...K(pS(e, { global: !0 }), t),+ }), /*#__PURE__*/ D.createElement(SI.div, {+ ...K(fS(e, { global: !0 }), t),...u,ref: c,"data-entering": l || void 0,"data-exiting": r || void 0- }, a && /*#__PURE__*/ D.createElement(RE, { onDismiss: s.close }), u.children);+ }, a && /*#__PURE__*/ D.createElement(LE, { onDismiss: s.close }), u.children);}//#endregion//#region node_modules/react-stately/dist/private/radio/useRadioGroupState.mjs-var jue = Math.round(Math.random() * 1e10), Mue = 0;-function Nue(e) {- let t = (0, D.useMemo)(() => e.name || `radio-group-${jue}-${++Mue}`, [e.name]), [n, r] = EC(e.value, e.defaultValue ?? null, e.onChange), [i] = (0, D.useState)(n), [a, o] = (0, D.useState)(null), s = _C({+var Mue = Math.round(Math.random() * 1e10), Nue = 0;+function Pue(e) {+ let t = (0, D.useMemo)(() => e.name || `radio-group-${Mue}-${++Nue}`, [e.name]), [n, r] = TC(e.value, e.defaultValue ?? null, e.onChange), [i] = (0, D.useState)(n), [a, o] = (0, D.useState)(null), s = gC({...e,value: n}), c = (t) => {@@ -38821,16 +38821,16 @@ function Nue(e) {}//#endregion//#region node_modules/react-aria-components/dist/private/RadioGroup.mjs-var Pue = /*#__PURE__*/ (0, D.createContext)(null), Fue = /*#__PURE__*/ (0, D.createContext)(null), ER = /*#__PURE__*/ (0, D.createContext)(null), DR = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {- [e, t] = yI(e, t, Pue);- let { validationBehavior: n } = vI(zI) || {}, r = e.validationBehavior ?? n ?? "native", i = Nue({+var Fue = /*#__PURE__*/ (0, D.createContext)(null), Iue = /*#__PURE__*/ (0, D.createContext)(null), TR = /*#__PURE__*/ (0, D.createContext)(null), ER = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {+ [e, t] = vI(e, t, Fue);+ let { validationBehavior: n } = _I(RI) || {}, r = e.validationBehavior ?? n ?? "native", i = Pue({...e,validationBehavior: r- }), [a, o] = bI(!e["aria-label"] && !e["aria-labelledby"]), { radioGroupProps: s, labelProps: c, descriptionProps: l, errorMessageProps: u, ...d } = MD({+ }), [a, o] = yI(!e["aria-label"] && !e["aria-labelledby"]), { radioGroupProps: s, labelProps: c, descriptionProps: l, errorMessageProps: u, ...d } = jD({...e,label: o,validationBehavior: r- }, i), f = _I({+ }, i), f = gI({...e,values: {orientation: e.orientation || "vertical",@@ -38841,8 +38841,8 @@ var Pue = /*#__PURE__*/ (0, D.createContext)(null), Fue = /*#__PURE__*/ (0, D.crstate: i},defaultClassName: "react-aria-RadioGroup"- }), p = pS(e, { global: !0 });- return /*#__PURE__*/ D.createElement(CI.div, {+ }), p = fS(e, { global: !0 });+ return /*#__PURE__*/ D.createElement(SI.div, {...K(p, f, s),ref: t,slot: e.slot || void 0,@@ -38851,39 +38851,39 @@ var Pue = /*#__PURE__*/ (0, D.createContext)(null), Fue = /*#__PURE__*/ (0, D.cr"data-disabled": i.isDisabled || void 0,"data-readonly": i.isReadOnly || void 0,"data-required": i.isRequired || void 0- }, /*#__PURE__*/ D.createElement(gI, { values: [- [ER, i],- [jI, {+ }, /*#__PURE__*/ D.createElement(hI, { values: [+ [TR, i],+ [AI, {...c,ref: a,elementType: "span"}],- [LI, { slots: {+ [II, { slots: {description: l,errorMessage: u} }],- [RI, d]- ] }, /*#__PURE__*/ D.createElement(LL, null, f.children)));-}), OR = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {+ [LI, d]+ ] }, /*#__PURE__*/ D.createElement(IL, null, f.children)));+}), DR = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {let { inputRef: n = null, ...r } = e;- [e, t] = yI(r, t, Fue);- let i = D.useContext(ER), a = fx((0, D.useMemo)(() => rx(n, e.inputRef === void 0 ? null : e.inputRef), [n, e.inputRef])), o = jD({- ...xI(e),+ [e, t] = vI(r, t, Iue);+ let i = D.useContext(TR), a = dx((0, D.useMemo)(() => nx(n, e.inputRef === void 0 ? null : e.inputRef), [n, e.inputRef])), o = AD({+ ...bI(e),children: typeof e.children == "function" || e.children}, i, a);- return /*#__PURE__*/ D.createElement(kR.Provider, { value: {+ return /*#__PURE__*/ D.createElement(OR.Provider, { value: {...o,inputRef: a,defaultClassName: "react-aria-Radio"- } }, /*#__PURE__*/ D.createElement(Iue, {+ } }, /*#__PURE__*/ D.createElement(Lue, {...e,ref: t}));-}), kR = /*#__PURE__*/ (0, D.createContext)(null), Iue = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {- let { labelProps: n, inputProps: r, isSelected: i, isDisabled: a, isPressed: o, defaultClassName: s, inputRef: c } = (0, D.useContext)(kR), l = D.useContext(ER), { isFocused: u, isFocusVisible: d, focusProps: f } = eT(), p = a || l.isReadOnly, { hoverProps: m, isHovered: h } = iT({+}), OR = /*#__PURE__*/ (0, D.createContext)(null), Lue = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {+ let { labelProps: n, inputProps: r, isSelected: i, isDisabled: a, isPressed: o, defaultClassName: s, inputRef: c } = (0, D.useContext)(OR), l = D.useContext(TR), { isFocused: u, isFocusVisible: d, focusProps: f } = $w(), p = a || l.isReadOnly, { hoverProps: m, isHovered: h } = rT({...e,isDisabled: p- }), g = _I({+ }), g = gI({...e,defaultClassName: s,values: {@@ -38897,8 +38897,8 @@ var Pue = /*#__PURE__*/ (0, D.createContext)(null), Fue = /*#__PURE__*/ (0, D.crisInvalid: l.isInvalid,isRequired: l.isRequired}- }), _ = pS(e, { global: !0 });- return delete _.id, delete _.onClick, /*#__PURE__*/ D.createElement(CI.label, {+ }), _ = fS(e, { global: !0 });+ return delete _.id, delete _.onClick, /*#__PURE__*/ D.createElement(SI.label, {...K(_, n, m, g),ref: t,"data-selected": i || void 0,@@ -38910,19 +38910,19 @@ var Pue = /*#__PURE__*/ (0, D.createContext)(null), Fue = /*#__PURE__*/ (0, D.cr"data-readonly": l.isReadOnly || void 0,"data-invalid": l.isInvalid || void 0,"data-required": l.isRequired || void 0- }, /*#__PURE__*/ D.createElement(IC, { elementType: "span" }, /*#__PURE__*/ D.createElement("input", {+ }, /*#__PURE__*/ D.createElement(FC, { elementType: "span" }, /*#__PURE__*/ D.createElement("input", {...K(r, f),ref: c})), g.children);});//#endregion//#region node_modules/react-stately/dist/private/select/useSelectState.mjs-function Lue(e) {- let { selectionMode: t = "single", shouldCloseOnSelect: n = t === "single" } = e, r = tR(e), [i, a] = (0, D.useState)(null), o = (0, D.useMemo)(() => e.defaultValue === void 0 ? t === "single" ? e.defaultSelectedKey ?? null : [] : e.defaultValue, [+function Rue(e) {+ let { selectionMode: t = "single", shouldCloseOnSelect: n = t === "single" } = e, r = eR(e), [i, a] = (0, D.useState)(null), o = (0, D.useMemo)(() => e.defaultValue === void 0 ? t === "single" ? e.defaultSelectedKey ?? null : [] : e.defaultValue, [e.defaultValue,e.defaultSelectedKey,t- ]), [s, c] = EC((0, D.useMemo)(() => e.value === void 0 ? t === "single" ? e.selectedKey : void 0 : e.value, [+ ]), [s, c] = TC((0, D.useMemo)(() => e.value === void 0 ? t === "single" ? e.selectedKey : void 0 : e.value, [e.value,e.selectedKey,t@@ -38934,12 +38934,12 @@ function Lue(e) {let e = [];Array.isArray(n) ? e = n : n != null && (e = [n]), c(e);}- }, d = YL({+ }, d = JL({...e,selectionMode: t,disallowEmptySelection: t === "single",allowDuplicateSelectionEvents: !0,- selectedKeys: (0, D.useMemo)(() => Rue(l), [l]),+ selectedKeys: (0, D.useMemo)(() => zue(l), [l]),onSelectionChange: (e) => {if (e !== "all") {if (t === "single") {@@ -38949,7 +38949,7 @@ function Lue(e) {n && r.close(), m.commitValidation();}}- }), f = d.selectionManager.firstSelectedKey, p = (0, D.useMemo)(() => [...d.selectionManager.selectedKeys].map((e) => d.collection.getItem(e)).filter((e) => e != null), [d.selectionManager.selectedKeys, d.collection]), m = _C({+ }), f = d.selectionManager.firstSelectedKey, p = (0, D.useMemo)(() => [...d.selectionManager.selectedKeys].map((e) => d.collection.getItem(e)).filter((e) => e != null), [d.selectionManager.selectedKeys, d.collection]), m = gC({...e,value: Array.isArray(l) && l.length === 0 ? null : l}), [h, g] = (0, D.useState)(!1), [_] = (0, D.useState)(l);@@ -38976,16 +38976,16 @@ function Lue(e) {setFocused: g};}-function Rue(e) {+function zue(e) {if (e !== void 0) return e === null ? [] : Array.isArray(e) ? e : [e];}//#endregion//#region node_modules/react-aria-components/dist/private/Select.mjs-function zue(e) {+function Bue(e) {return e && e.__esModule ? e.default : e;}-var AR = /*#__PURE__*/ (0, D.createContext)(null), jR = /*#__PURE__*/ (0, D.createContext)(null), Bue = /*#__PURE__*/ _x(function(e, t) {- [e, t] = yI(e, t, AR);+var kR = /*#__PURE__*/ (0, D.createContext)(null), AR = /*#__PURE__*/ (0, D.createContext)(null), Vue = /*#__PURE__*/ gx(function(e, t) {+ [e, t] = vI(e, t, kR);let { children: n, isDisabled: r = !1, isInvalid: i = !1, isRequired: a = !1 } = e, o = (0, D.useMemo)(() => typeof n == "function" ? n({isOpen: !1,isDisabled: r,@@ -39000,24 +39000,24 @@ var AR = /*#__PURE__*/ (0, D.createContext)(null), jR = /*#__PURE__*/ (0, D.creai,a]);- return /*#__PURE__*/ D.createElement(Sx, { content: o }, (n) => /*#__PURE__*/ D.createElement(Hue, {+ return /*#__PURE__*/ D.createElement(xx, { content: o }, (n) => /*#__PURE__*/ D.createElement(Uue, {props: e,collection: n,selectRef: t}));-}), Vue = [- jI,- NI,- LI+}), Hue = [+ AI,+ MI,+ II];-function Hue({ props: e, selectRef: t, collection: n }) {- let { validationBehavior: r } = vI(zI) || {}, i = e.validationBehavior ?? r ?? "native", a = Lue({+function Uue({ props: e, selectRef: t, collection: n }) {+ let { validationBehavior: r } = _I(RI) || {}, i = e.validationBehavior ?? r ?? "native", a = Rue({...e,collection: n,children: void 0,validationBehavior: i- }), { isFocusVisible: o, focusProps: s } = eT({ within: !0 }), c = (0, D.useRef)(null), [l, u] = bI(!e["aria-label"] && !e["aria-labelledby"]), { labelProps: d, triggerProps: f, valueProps: p, menuProps: m, descriptionProps: h, errorMessageProps: g, hiddenSelectProps: _, ...v } = PD({- ...xI(e),+ }), { isFocusVisible: o, focusProps: s } = $w({ within: !0 }), c = (0, D.useRef)(null), [l, u] = yI(!e["aria-label"] && !e["aria-labelledby"]), { labelProps: d, triggerProps: f, valueProps: p, menuProps: m, descriptionProps: h, errorMessageProps: g, hiddenSelectProps: _, ...v } = ND({+ ...bI(e),label: u,validationBehavior: i}, a, c), y = (0, D.useMemo)(() => ({@@ -39034,48 +39034,48 @@ function Hue({ props: e, selectRef: t, collection: n }) {e.isDisabled,v.isInvalid,e.isRequired- ]), b = _I({+ ]), b = gI({...e,values: y,defaultClassName: "react-aria-Select"- }), x = pS(e, { global: !0 });+ }), x = fS(e, { global: !0 });delete x.id;let S = (0, D.useRef)(null);- return /*#__PURE__*/ D.createElement(gI, { values: [- [AR, e],- [jR, a],- [MR, p],- [jI, {+ return /*#__PURE__*/ D.createElement(hI, { values: [+ [kR, e],+ [AR, a],+ [jR, p],+ [AI, {...d,ref: l,elementType: "span"}],- [NI, {+ [MI, {...f,ref: c,isPressed: a.isOpen,autoFocus: e.autoFocus}],- [yR, a],- [aR, {+ [vR, a],+ [iR, {trigger: "Select",triggerRef: c,scrollRef: S,placement: "bottom start","aria-labelledby": m["aria-labelledby"],- clearContexts: Vue+ clearContexts: Hue}],- [QL, {+ [ZL, {...m,ref: S}],- [$L, a],- [LI, { slots: {+ [QL, a],+ [II, { slots: {description: h,errorMessage: g} }],- [RI, v]- ] }, /*#__PURE__*/ D.createElement(CI.div, {+ [LI, v]+ ] }, /*#__PURE__*/ D.createElement(SI.div, {...K(x, b, s),ref: t,slot: e.slot || void 0,@@ -39085,14 +39085,14 @@ function Hue({ props: e, selectRef: t, collection: n }) {"data-disabled": e.isDisabled || void 0,"data-invalid": v.isInvalid || void 0,"data-required": e.isRequired || void 0- }, b.children, /*#__PURE__*/ D.createElement(Lae, {+ }, b.children, /*#__PURE__*/ D.createElement(Rae, {..._,autoComplete: e.autoComplete})));}-for (var MR = /*#__PURE__*/ (0, D.createContext)(null), Uue = /*#__PURE__*/ _x(function(e, t) {- [e, t] = yI(e, t, MR);- let n = (0, D.useContext)(jR), { placeholder: r } = vI(AR), i = n.selectedItems.map((e) => {+for (var jR = /*#__PURE__*/ (0, D.createContext)(null), Wue = /*#__PURE__*/ gx(function(e, t) {+ [e, t] = vI(e, t, jR);+ let n = (0, D.useContext)(AR), { placeholder: r } = _I(kR), i = n.selectedItems.map((e) => {let t = e.props?.children;return typeof t == "function" && (t = t({isHovered: !1,@@ -39104,7 +39104,7 @@ for (var MR = /*#__PURE__*/ (0, D.createContext)(null), Uue = /*#__PURE__*/ _x(fselectionMode: "single",selectionBehavior: "toggle"})), t;- }), a = pae(), o = (0, D.useMemo)(() => n.selectedItems.map((e) => e?.textValue), [n.selectedItems]), s = n.selectionManager.selectionMode, c = (0, D.useMemo)(() => s === "single" ? o[0] ?? "" : a.format(o), [+ }), a = mae(), o = (0, D.useMemo)(() => n.selectedItems.map((e) => e?.textValue), [n.selectedItems]), s = n.selectionManager.selectionMode, c = (0, D.useMemo)(() => s === "single" ? o[0] ?? "" : a.format(o), [s,a,o@@ -39119,7 +39119,7 @@ for (var MR = /*#__PURE__*/ (0, D.createContext)(null), Uue = /*#__PURE__*/ _x(fa,o,i- ]), u = oS(zue(jL), "react-aria-components"), d = _I({+ ]), u = aS(Bue(AL), "react-aria-components"), d = gI({...e,defaultChildren: l ?? r ?? u.format("selectPlaceholder"),defaultClassName: "react-aria-SelectValue",@@ -39130,33 +39130,33 @@ for (var MR = /*#__PURE__*/ (0, D.createContext)(null), Uue = /*#__PURE__*/ _x(fisPlaceholder: n.selectedItems.length === 0,state: n}- }), f = pS(e, { global: !0 });- return /*#__PURE__*/ D.createElement(CI.span, {+ }), f = fS(e, { global: !0 });+ return /*#__PURE__*/ D.createElement(SI.span, {ref: t,...f,...d,"data-placeholder": n.selectedItems.length === 0 || void 0- }, /*#__PURE__*/ D.createElement(LI.Provider, { value: void 0 }, d.children));-}), Wue = /*#__PURE__*/ (0, D.createContext)(null), NR = /*#__PURE__*/ (0, D.createContext)(null), Gue = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {+ }, /*#__PURE__*/ D.createElement(II.Provider, { value: void 0 }, d.children));+}), Gue = /*#__PURE__*/ (0, D.createContext)(null), MR = /*#__PURE__*/ (0, D.createContext)(null), Kue = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {let { inputRef: n = null, ...r } = e;- [e, t] = yI(r, t, Wue);- let i = fx((0, D.useMemo)(() => rx(n, e.inputRef === void 0 ? null : e.inputRef), [n, e.inputRef])), a = DC(e), o = zae({- ...xI(e),+ [e, t] = vI(r, t, Gue);+ let i = dx((0, D.useMemo)(() => nx(n, e.inputRef === void 0 ? null : e.inputRef), [n, e.inputRef])), a = EC(e), o = Bae({+ ...bI(e),children: typeof e.children == "function" || e.children}, a, i);- return /*#__PURE__*/ D.createElement(gI, { values: [[NR, a], [PR, {+ return /*#__PURE__*/ D.createElement(hI, { values: [[MR, a], [NR, {...o,inputRef: i,defaultClassName: "react-aria-Switch"- }]] }, /*#__PURE__*/ D.createElement(Kue, {+ }]] }, /*#__PURE__*/ D.createElement(que, {...e,ref: t}));-}), PR = /*#__PURE__*/ (0, D.createContext)(null), Kue = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {- let { labelProps: n, inputProps: r, isSelected: i, isDisabled: a, isReadOnly: o, isPressed: s, isInvalid: c, inputRef: l, defaultClassName: u, isRequired: d } = (0, D.useContext)(PR), { isFocused: f, isFocusVisible: p, focusProps: m } = eT(), h = a || o, g = (0, D.useContext)(NR), { hoverProps: _, isHovered: v } = iT({+}), NR = /*#__PURE__*/ (0, D.createContext)(null), que = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {+ let { labelProps: n, inputProps: r, isSelected: i, isDisabled: a, isReadOnly: o, isPressed: s, isInvalid: c, inputRef: l, defaultClassName: u, isRequired: d } = (0, D.useContext)(NR), { isFocused: f, isFocusVisible: p, focusProps: m } = $w(), h = a || o, g = (0, D.useContext)(MR), { hoverProps: _, isHovered: v } = rT({...e,isDisabled: h- }), y = _I({+ }), y = gI({...e,defaultClassName: u,values: {@@ -39171,8 +39171,8 @@ for (var MR = /*#__PURE__*/ (0, D.createContext)(null), Uue = /*#__PURE__*/ _x(fisRequired: d || !1,state: g}- }), b = pS(e, { global: !0 });- return delete b.id, delete b.onClick, /*#__PURE__*/ D.createElement(CI.label, {+ }), b = fS(e, { global: !0 });+ return delete b.id, delete b.onClick, /*#__PURE__*/ D.createElement(SI.label, {...K(b, n, _, y),ref: t,slot: e.slot || void 0,@@ -39185,11 +39185,11 @@ for (var MR = /*#__PURE__*/ (0, D.createContext)(null), Uue = /*#__PURE__*/ _x(f"data-readonly": o || void 0,"data-invalid": c || void 0,"data-required": d || void 0- }, /*#__PURE__*/ D.createElement(IC, { elementType: "span" }, /*#__PURE__*/ D.createElement("input", {+ }, /*#__PURE__*/ D.createElement(FC, { elementType: "span" }, /*#__PURE__*/ D.createElement("input", {...K(r, m),ref: l})), y.children);-}), FR = 10, IR = 5, LR = class {+}), PR = 10, FR = 5, IR = class {setup(e, t, n) {this.delegate = e, this.state = t, this.direction = n;}@@ -39199,7 +39199,7 @@ for (var MR = /*#__PURE__*/ (0, D.createContext)(null), Uue = /*#__PURE__*/ _x(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) > IR && (s = a > 0 ? "down" : "up", i.yDirection = s, i.lastY = n), Math.abs(o) > FR && (c = o > 0 ? "right" : "left", i.xDirection = c, i.lastX = t), e.dropPosition === "before") {+ if (Math.abs(a) > FR && (s = a > 0 ? "down" : "up", i.yDirection = s, i.lastY = n), Math.abs(o) > PR && (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);@@ -39278,11 +39278,11 @@ for (var MR = /*#__PURE__*/ (0, D.createContext)(null), Uue = /*#__PURE__*/ _x(flastSwitchX: n});let c = o.boundaryContext, l = Math.abs(n - c.lastSwitchX);- if (Math.abs(r - c.lastSwitchY) > IR && i) {+ if (Math.abs(r - c.lastSwitchY) > FR && 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 > FR && a) {+ if (l > PR && 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;}@@ -39297,7 +39297,7 @@ for (var MR = /*#__PURE__*/ (0, D.createContext)(null), Uue = /*#__PURE__*/ _x(fboundaryContext: null};}-}, que = class {+}, Jue = class {constructor(e) {this.keyMap = /* @__PURE__ */ new Map(), this.keyMap = /* @__PURE__ */ new Map(), this.columnCount = e?.columnCount, this.rows = [];let t = (r) => {@@ -39367,8 +39367,8 @@ for (var MR = /*#__PURE__*/ (0, D.createContext)(null), Uue = /*#__PURE__*/ _x(fgetChildren(e) {return this.keyMap.get(e)?.childNodes || [];}-}, RR = "row-header-column-" + Math.random().toString(36).slice(2), zR = "row-header-column-" + Math.random().toString(36).slice(2); RR === zR;) zR = "row-header-column-" + Math.random().toString(36).slice(2);-function BR(e, t) {+}, LR = "row-header-column-" + Math.random().toString(36).slice(2), RR = "row-header-column-" + Math.random().toString(36).slice(2); LR === RR;) RR = "row-header-column-" + Math.random().toString(36).slice(2);+function zR(e, t) {if (t.length === 0) return [];let n = [], r = /* @__PURE__ */ new Map();for (let i of t) {@@ -39452,13 +39452,13 @@ function BR(e, t) {textValue: ""}));}-var Jue = class extends que {+var Yue = class extends Jue {constructor(e, t, n) {let r = /* @__PURE__ */ new Set(), i = null, a = [];if (n?.showSelectionCheckboxes) {let e = {type: "column",- key: RR,+ key: LR,value: null,textValue: "",level: 0,@@ -39473,7 +39473,7 @@ var Jue = class extends que {if (n?.showDragButtons) {let e = {type: "column",- key: zR,+ key: RR,value: null,textValue: "",level: 0,@@ -39500,7 +39500,7 @@ var Jue = class extends que {for (let t of e.childNodes) c(t);};for (let t of e) c(t);- let l = BR(s, a);+ let l = zR(s, a);if (l.forEach((e, t) => o.splice(t, 0, e)), super({columnCount: a.length,items: o,@@ -39526,10 +39526,10 @@ var Jue = class extends que {return this.keyMap.get(e)?.nextKey ?? null;}getFirstKey() {- return zw(this.body.childNodes)?.key ?? null;+ return Rw(this.body.childNodes)?.key ?? null;}getLastKey() {- return Vw(this.body.childNodes)?.key ?? null;+ return Bw(this.body.childNodes)?.key ?? null;}getItem(e) {return e === this.body.key ? this.body : this.keyMap.get(e) ?? null;@@ -39561,15 +39561,15 @@ var Jue = class extends que {};//#endregion//#region node_modules/react-stately/dist/private/table/TableUtils.mjs-function Yue(e) {+function Xue(e) {return e != null && (!isNaN(e) || String(e).match(/^(\d+)(?=%$)/) !== null);}-function Xue(e) {+function Zue(e) {if (!e || typeof e == "number") return 1;let t = e.match(/^(.+)(?=fr$)/);return t ? parseFloat(t[0]) : 1;}-function VR(e, t) {+function BR(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");@@ -39577,19 +39577,19 @@ function VR(e, t) {}return e;}-function HR(e, t) {- return e == null ? 2 ** 53 - 1 : VR(e, t);+function VR(e, t) {+ return e == null ? 2 ** 53 - 1 : BR(e, t);}-function UR(e, t) {- return e == null ? 0 : VR(e, t);+function HR(e, t) {+ return e == null ? 0 : BR(e, t);}-function Zue(e, t, n, r, i) {+function Que(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;- Yue(o) ? (l = VR(o, e), s = !0) : (u = Xue(o), u <= 0 && (s = !0));- let f = UR(t.minWidth ?? i?.(a) ?? 0, e), p = HR(t.maxWidth, e), m = Math.max(f, Math.min(l, p));+ Xue(o) ? (l = BR(o, e), s = !0) : (u = Zue(o), u <= 0 && (s = !0));+ let f = HR(t.minWidth ?? i?.(a) ?? 0, e), p = VR(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,@@ -39623,14 +39623,14 @@ function Zue(e, t, n, r, i) {i === 0 || Math.sign(i) === Math.sign(e.violation) ? e.frozen = !0 : e.frozen || (c = !0);});}- let u = Que(l);+ let u = $ue(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 Que(e) {+function $ue(e) {let t = 0, n = 0, r = [];return e.forEach(function(e) {let i = e.targetMainSize, a = Math.round(i + t) - n;@@ -39639,7 +39639,7 @@ function Que(e) {}//#endregion//#region node_modules/react-stately/dist/private/table/TableColumnLayout.mjs-var $ue = class {+var ede = 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);}@@ -39668,19 +39668,19 @@ var $ue = class {}), o;}buildColumnWidths(e, t, n) {- return this.columnWidths = /* @__PURE__ */ new Map(), this.columnMinWidths = /* @__PURE__ */ new Map(), this.columnMaxWidths = /* @__PURE__ */ new Map(), Zue(e, t.columns.map((e) => ({+ return this.columnWidths = /* @__PURE__ */ new Map(), this.columnMinWidths = /* @__PURE__ */ new Map(), this.columnMaxWidths = /* @__PURE__ */ new Map(), Que(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, UR(a.props.minWidth ?? this.getDefaultMinWidth(a), e)), this.columnMaxWidths.set(i, HR(a.props.maxWidth, e));+ this.columnWidths.set(i, n), this.columnMinWidths.set(i, HR(a.props.minWidth ?? this.getDefaultMinWidth(a), e)), this.columnMaxWidths.set(i, VR(a.props.maxWidth, e));}), this.columnWidths;}};//#endregion//#region node_modules/react-stately/dist/private/table/useTableColumnResizeState.mjs-function ede(e, t) {- let { getDefaultWidth: n, getDefaultMinWidth: r, tableWidth: i = 0 } = e, [a, o] = (0, D.useState)(null), s = (0, D.useMemo)(() => new $ue({+function tde(e, t) {+ let { getDefaultWidth: n, getDefaultMinWidth: r, tableWidth: i = 0 } = e, [a, o] = (0, D.useState)(null), s = (0, D.useMemo)(() => new ede({getDefaultWidth: n,getDefaultMinWidth: r}), [n, r]), [c, l] = (0, D.useMemo)(() => s.splitColumnsIntoControlledAndUncontrolled(t.collection.columns), [t.collection.columns, s]), [u, d] = (0, D.useState)(() => s.getInitialUncontrolledWidths(l)), [f, p] = (0, D.useState)(t.collection.columns);@@ -39732,19 +39732,19 @@ function ede(e, t) {}//#endregion//#region node_modules/react-stately/dist/private/grid/useGridState.mjs-function tde(e) {- let { collection: t, focusMode: n } = e, r = e.UNSAFE_selectionState || UL(e), i = (0, D.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), a = r.setFocusedKey;+function nde(e) {+ let { collection: t, focusMode: n } = e, r = e.UNSAFE_selectionState || HL(e), i = (0, D.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), a = r.setFocusedKey;r.setFocusedKey = (e, r) => {if (n === "cell" && e != null) {let n = t.getItem(e);if (n?.type === "item") {- let i = Rw(n, t);- e = r === "last" ? Vw(i)?.key ?? null : zw(i)?.key ?? null;+ let i = Lw(n, t);+ e = r === "last" ? Bw(i)?.key ?? null : Rw(i)?.key ?? null;}}a(e, r);};- let o = (0, D.useMemo)(() => new GL(t, r), [t, r]), s = (0, D.useRef)(null);+ let o = (0, D.useMemo)(() => new WL(t, r), [t, r]), s = (0, D.useRef)(null);return (0, D.useEffect)(() => {if (r.focusedKey != null && s.current && !t.getItem(r.focusedKey)) {let e = s.current.getItem(r.focusedKey), n = e?.parentKey != null && (e.type === "cell" || e.type === "rowheader" || e.type === "column") ? s.current.getItem(e.parentKey) : e;@@ -39764,7 +39764,7 @@ function tde(e) {}}if (u) {- let i = u.hasChildNodes ? [...Rw(u, t)] : [], a = u.hasChildNodes && n !== e && e && e.index < i.length ? i[e.index].key : u.key;+ let i = u.hasChildNodes ? [...Lw(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);}@@ -39783,11 +39783,11 @@ function tde(e) {}//#endregion//#region node_modules/react-stately/dist/private/table/useTableState.mjs-var nde = {+var rde = {ascending: "descending",descending: "ascending"};-function rde(e) {+function ide(e) {let [t, n] = (0, D.useState)(!1), { selectionMode: r = "none", showSelectionCheckboxes: i, showDragButtons: a, treeColumn: o = null } = e, s = (0, D.useMemo)(() => ({showSelectionCheckboxes: i && r !== "none",showDragButtons: a,@@ -39798,11 +39798,11 @@ function rde(e) {i,r,a- ]), c = JL(e, (0, D.useCallback)((e) => new Jue(e, null, s), [s]), s), { disabledKeys: l, selectionManager: u } = tde({+ ]), c = qL(e, (0, D.useCallback)((e) => new Yue(e, null, s), [s]), s), { disabledKeys: l, selectionManager: u } = nde({...e,collection: c,disabledBehavior: e.disabledBehavior || "selection"- }), [d, f] = EC(e.expandedKeys ? new Set(e.expandedKeys) : void 0, e.defaultExpandedKeys ? new Set(e.defaultExpandedKeys) : /* @__PURE__ */ new Set(), e.onExpandedChange);+ }), [d, f] = TC(e.expandedKeys ? new Set(e.expandedKeys) : void 0, e.defaultExpandedKeys ? new Set(e.defaultExpandedKeys) : /* @__PURE__ */ new Set(), e.onExpandedChange);return {collection: c,disabledKeys: l,@@ -39814,7 +39814,7 @@ function rde(e) {sort(t, n) {e.onSortChange?.({column: t,- direction: n ?? (e.sortDescriptor?.column === t ? nde[e.sortDescriptor.direction] : "ascending")+ direction: n ?? (e.sortDescriptor?.column === t ? rde[e.sortDescriptor.direction] : "ascending")});},expandedKeys: d,@@ -39827,7 +39827,7 @@ function rde(e) {treeColumn: o};}-function ide(e, t) {+function ade(e, t) {let n = (0, D.useMemo)(() => t ? e.collection.filter(t) : e.collection, [e.collection, t]), r = e.selectionManager.withCollection(n);return {...e,@@ -39837,10 +39837,10 @@ function ide(e, t) {}//#endregion//#region node_modules/react-aria-components/dist/private/Table.mjs-function ade(e) {+function ode(e) {return e && e.__esModule ? e.default : e;}-var ode = class extends Ny {+var sde = class extends My {withExpandedKeys(e) {let t = this.clone();return t.expandedKeys = e, t.frozen = this.frozen, t.rows = Array.from(t.getRows()), t;@@ -39855,7 +39855,7 @@ var ode = class extends Ny {}get body() {for (let e of this) if (e.type === "tablebody") return e;- return new QR(-2);+ return new ZR(-2);}commit(e, t, n = !1) {this.updateColumns(n), this.firstKey = e, this.lastKey = t, this.rows = [];@@ -39881,7 +39881,7 @@ var ode = class extends Ny {for (let t of this.getChildren(e.key)) n(t);};for (let e of this.getChildren(this.head.key)) n(e);- if (this.headerRows = BR(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 = zR(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;@@ -39962,28 +39962,28 @@ var ode = class extends Ny {return r.join(" ");}constructor(...e) {- super(...e), this.headerRows = [], this.columns = [], this.rows = [], this.rowHeaderColumnKeys = /* @__PURE__ */ new Set(), this.head = new JR(-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 qR(-1), this.columnsDirty = !0, this.expandedKeys = /* @__PURE__ */ new Set();}-}, WR = /*#__PURE__*/ (0, D.createContext)(null), sde = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {- let n = fx(t), r = (0, D.useRef)(null), i = (0, D.useRef)(null), [a, o] = (0, D.useState)(0);- tb(() => {+}, UR = /*#__PURE__*/ (0, D.createContext)(null), cde = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {+ let n = dx(t), r = (0, D.useRef)(null), i = (0, D.useRef)(null), [a, o] = (0, D.useState)(0);+ eb(() => {let e = r.current;- for (; e && e !== n.current && !rC(e);) e = e.parentElement;+ for (; e && e !== n.current && !nC(e);) e = e.parentElement;i.current = e;- }, [n]), nE({+ }, [n]), tE({ref: i,box: "border-box",onResize() {o(i.current?.clientWidth ?? 0);}- }), tb(() => {+ }), eb(() => {o(i.current?.clientWidth ?? 0);}, []);let s = (0, D.useMemo)(() => ({tableRef: r,scrollRef: i,tableWidth: a,- useTableColumnResizeState: ede,+ useTableColumnResizeState: tde,onResizeStart: e.onResizeStart,onResize: e.onResize,onResizeEnd: e.onResizeEnd@@ -39994,17 +39994,17 @@ var ode = class extends Ny {e.onResize,e.onResizeEnd]);- return /*#__PURE__*/ D.createElement(CI.div, {+ return /*#__PURE__*/ D.createElement(SI.div, {render: e.render,- ...pS(e, { global: !0 }),+ ...fS(e, { global: !0 }),ref: n,className: e.className || "react-aria-ResizableTableContainer",style: e.style,onScroll: e.onScroll- }, /*#__PURE__*/ D.createElement(WR.Provider, { value: s }, e.children));-}), cde = /*#__PURE__*/ (0, D.createContext)(null), GR = /*#__PURE__*/ (0, D.createContext)(null), KR = /*#__PURE__*/ (0, D.createContext)(null), lde = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {- [e, t] = yI(e, t, cde);- let n = UL(e), { selectionBehavior: r, selectionMode: i, disallowEmptySelection: a } = n, o = !!e.dragAndDropHooks?.useDraggableCollectionState, s = (0, D.useMemo)(() => ({+ }, /*#__PURE__*/ D.createElement(UR.Provider, { value: s }, e.children));+}), lde = /*#__PURE__*/ (0, D.createContext)(null), WR = /*#__PURE__*/ (0, D.createContext)(null), GR = /*#__PURE__*/ (0, D.createContext)(null), ude = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {+ [e, t] = vI(e, t, lde);+ let n = HL(e), { selectionBehavior: r, selectionMode: i, disallowEmptySelection: a } = n, o = !!e.dragAndDropHooks?.useDraggableCollectionState, s = (0, D.useMemo)(() => ({selectionBehavior: i === "none" ? null : r,selectionMode: i,disallowEmptySelection: a,@@ -40014,26 +40014,26 @@ var ode = class extends Ny {i,a,o- ]), c = /*#__PURE__*/ D.createElement(fde.Provider, { value: s }, /*#__PURE__*/ D.createElement(kx, e));- return /*#__PURE__*/ D.createElement(Sx, {+ ]), c = /*#__PURE__*/ D.createElement(pde.Provider, { value: s }, /*#__PURE__*/ D.createElement(Ox, e));+ return /*#__PURE__*/ D.createElement(xx, {content: c,- createCollection: () => new ode()- }, (r) => /*#__PURE__*/ D.createElement(dde, {+ createCollection: () => new sde()+ }, (r) => /*#__PURE__*/ D.createElement(fde, {props: e,forwardedRef: t,selectionState: n,collection: r}));-}), ude = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {- let { isVirtualized: n } = (0, D.useContext)(kI);- return n ? /*#__PURE__*/ D.createElement(CI.div, {+}), dde = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {+ let { isVirtualized: n } = (0, D.useContext)(OI);+ return n ? /*#__PURE__*/ D.createElement(SI.div, {...e,ref: t- }) : /*#__PURE__*/ D.createElement(CI.table, {+ }) : /*#__PURE__*/ D.createElement(SI.table, {...e,ref: t});-}), qR = {+}), KR = {expand: {ltr: "ArrowRight",rtl: "ArrowLeft"@@ -40043,26 +40043,26 @@ var ode = class extends Ny {rtl: "ArrowRight"}};-function dde({ props: e, forwardedRef: t, selectionState: n, collection: r }) {- [e, t] = yI(e, t, wI);- let { shouldUseVirtualFocus: i, disallowTypeAhead: a, filter: o, ...s } = e, c = (0, D.useContext)(WR);- t = fx((0, D.useMemo)(() => rx(t, c?.tableRef), [t, c?.tableRef]));- let [l, u] = EC(e.expandedKeys ? new Set(e.expandedKeys) : void 0, e.defaultExpandedKeys ? new Set(e.defaultExpandedKeys) : /* @__PURE__ */ new Set(), e.onExpandedChange);+function fde({ props: e, forwardedRef: t, selectionState: n, collection: r }) {+ [e, t] = vI(e, t, CI);+ let { shouldUseVirtualFocus: i, disallowTypeAhead: a, filter: o, ...s } = e, c = (0, D.useContext)(UR);+ t = dx((0, D.useMemo)(() => nx(t, c?.tableRef), [t, c?.tableRef]));+ let [l, u] = TC(e.expandedKeys ? new Set(e.expandedKeys) : void 0, e.defaultExpandedKeys ? new Set(e.defaultExpandedKeys) : /* @__PURE__ */ new Set(), e.onExpandedChange);r = (0, D.useMemo)(() => r.withExpandedKeys(l), [r, l]);- let d = rde({+ let d = ide({...s,collection: r,children: void 0,UNSAFE_selectionState: n,expandedKeys: l,onExpandedChange: u- }), f = ide(d, o), { isVirtualized: p, layoutDelegate: m, dropTargetDelegate: h, CollectionRoot: g } = (0, D.useContext)(kI), { dragAndDropHooks: _ } = e, { gridProps: v } = Wae({+ }), f = ade(d, o), { isVirtualized: p, layoutDelegate: m, dropTargetDelegate: h, CollectionRoot: g } = (0, D.useContext)(OI), { dragAndDropHooks: _ } = e, { gridProps: v } = Gae({...s,layoutDelegate: m,isVirtualized: p}, f, t), y = f.selectionManager, b = !!_?.useDraggableCollectionState, x = !!_?.useDroppableCollectionState;(0, D.useRef)(b), (0, D.useRef)(x), (0, D.useEffect)(() => {}, [b, x]);- let S, C, w, T = !1, E = null, O = (0, D.useRef)(null), { direction: k } = Zx(), [A] = (0, D.useState)(() => new LR());+ let S, C, w, T = !1, E = null, O = (0, D.useRef)(null), { direction: k } = Xx(), [A] = (0, D.useState)(() => new IR());if (b && _) {S = _.useDraggableCollectionState({collection: f.collection,@@ -40077,7 +40077,7 @@ function dde({ props: e, forwardedRef: t, selectionState: n, collection: r }) {collection: f.collection,selectionManager: y});- let e = new YC({+ let e = new JC({collection: f.collection,disabledKeys: y.disabledKeys,disabledBehavior: y.disabledBehavior,@@ -40097,12 +40097,12 @@ function dde({ 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 === qR.expand[k] && n?.hasChildNodes && !d.expandedKeys.has(t.key) || e.key === qR.collapse[k] && n?.hasChildNodes && d.expandedKeys.has(t.key)) && d.toggleKey(t.key);+ (e.key === KR.expand[k] && n?.hasChildNodes && !d.expandedKeys.has(t.key) || e.key === KR.collapse[k] && n?.hasChildNodes && d.expandedKeys.has(t.key)) && d.toggleKey(t.key);}}}, C, t), T = C.isDropTarget({ type: "root" });}- let { focusProps: j, isFocused: M, isFocusVisible: N } = eT(), ee = _I({+ let { focusProps: j, isFocused: M, isFocusVisible: N } = $w(), ee = gI({...e,children: void 0,defaultClassName: "react-aria-Table",@@ -40118,19 +40118,19 @@ function dde({ props: e, forwardedRef: t, selectionState: n, collection: r }) {tableLayout: "fixed",width: "min-content"}));- let F = pS(e, { global: !0 });- return /*#__PURE__*/ D.createElement(gI, { values: [- [GR, f],- [KR, ne],- [ML, {+ let F = fS(e, { global: !0 });+ return /*#__PURE__*/ D.createElement(hI, { values: [+ [WR, f],+ [GR, ne],+ [jL, {dragAndDropHooks: _,dragState: S,dropState: C}],- [NL, { render: Sde }],- [wI, null],- [TI, null]- ] }, /*#__PURE__*/ D.createElement(RS, null, /*#__PURE__*/ D.createElement(ude, {+ [ML, { render: Cde }],+ [CI, null],+ [wI, null]+ ] }, /*#__PURE__*/ D.createElement(LS, null, /*#__PURE__*/ D.createElement(dde, {...K(F, ee, v, j, w?.collectionProps),style: P,ref: t,@@ -40140,55 +40140,55 @@ function dde({ props: e, forwardedRef: t, selectionState: n, collection: r }) {"data-drop-target": T || void 0,"data-focused": M || void 0,"data-focus-visible": N || void 0- }, /*#__PURE__*/ D.createElement(LL, null, /*#__PURE__*/ D.createElement(g, {+ }, /*#__PURE__*/ D.createElement(IL, null, /*#__PURE__*/ D.createElement(g, {collection: f.collection,scrollRef: c?.scrollRef ?? t,- persistedKeys: FL(y, _, C)+ persistedKeys: PL(y, _, C)})))), E);}-var fde = /*#__PURE__*/ (0, D.createContext)(null), JR = class extends ky {+var pde = /*#__PURE__*/ (0, D.createContext)(null), qR = class extends Oy {static {this.type = "tableheader";}-}, pde = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {- let { isVirtualized: n } = (0, D.useContext)(kI);- return n ? /*#__PURE__*/ D.createElement(CI.div, {+}, mde = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {+ let { isVirtualized: n } = (0, D.useContext)(OI);+ return n ? /*#__PURE__*/ D.createElement(SI.div, {...e,ref: t- }) : /*#__PURE__*/ D.createElement(CI.thead, {+ }) : /*#__PURE__*/ D.createElement(SI.thead, {...e,ref: t});-}), YR = /*#__PURE__*/ Ex(JR, (e, t) => {- let n = (0, D.useContext)(GR).collection, r = Ly({+}), JR = /*#__PURE__*/ Tx(qR, (e, t) => {+ let n = (0, D.useContext)(WR).collection, r = Iy({items: n.headerRows,children: (0, D.useCallback)((e) => {switch (e.type) {- case "headerrow": return /*#__PURE__*/ D.createElement(hde, { item: e });+ case "headerrow": return /*#__PURE__*/ D.createElement(gde, { item: e });default: throw Error("Unsupported node type in TableHeader: " + e.type);}}, [])- }), { rowGroupProps: i } = OO(), { hoverProps: a, isHovered: o } = iT({+ }), { rowGroupProps: i } = DO(), { hoverProps: a, isHovered: o } = rT({onHoverStart: e.onHoverStart,onHoverChange: e.onHoverChange,onHoverEnd: e.onHoverEnd- }), s = _I({+ }), s = gI({...e,children: void 0,defaultClassName: "react-aria-TableHeader",values: { isHovered: o }});- return /*#__PURE__*/ D.createElement(pde, {- ...K(pS(e, { global: !0 }), i, a),+ return /*#__PURE__*/ D.createElement(mde, {+ ...K(fS(e, { global: !0 }), i, a),...s,ref: t,"data-hovered": o || void 0}, r);-}, (e) => /*#__PURE__*/ D.createElement(kx, {+}, (e) => /*#__PURE__*/ D.createElement(Ox, {dependencies: e.dependencies,items: e.columns-}, e.children)), mde = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {- let { isVirtualized: n } = (0, D.useContext)(kI);+}, e.children)), hde = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {+ let { isVirtualized: n } = (0, D.useContext)(OI);return n ? /*#__PURE__*/ D.createElement("div", {...e,ref: t@@ -40197,41 +40197,41 @@ var fde = /*#__PURE__*/ (0, D.createContext)(null), JR = class extends ky {ref: t});});-function hde({ item: e }) {- let t = (0, D.useRef)(null), n = (0, D.useContext)(GR), { isVirtualized: r, CollectionBranch: i } = (0, D.useContext)(kI), { rowProps: a } = Xae({+function gde({ item: e }) {+ let t = (0, D.useRef)(null), n = (0, D.useContext)(WR), { isVirtualized: r, CollectionBranch: i } = (0, D.useContext)(OI), { rowProps: a } = Zae({node: e,isVirtualized: r- }, n, t), { checkboxProps: o } = roe(n);- return /*#__PURE__*/ D.createElement(mde, {+ }, n, t), { checkboxProps: o } = ioe(n);+ return /*#__PURE__*/ D.createElement(hde, {...a,ref: t- }, /*#__PURE__*/ D.createElement(gI, { values: [[BI, { slots: { selection: o } }], [VI, { slots: { selection: o } }]] }, /*#__PURE__*/ D.createElement(i, {+ }, /*#__PURE__*/ D.createElement(hI, { values: [[zI, { slots: { selection: o } }], [BI, { slots: { selection: o } }]] }, /*#__PURE__*/ D.createElement(i, {collection: n.collection,parent: e})));}-var gde = class extends ky {+var _de = class extends Oy {static {this.type = "column";}-}, _de = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {- let { isVirtualized: n } = (0, D.useContext)(kI);- return n ? /*#__PURE__*/ D.createElement(CI.div, {+}, vde = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {+ let { isVirtualized: n } = (0, D.useContext)(OI);+ return n ? /*#__PURE__*/ D.createElement(SI.div, {...e,ref: t- }) : /*#__PURE__*/ D.createElement(CI.th, {+ }) : /*#__PURE__*/ D.createElement(SI.th, {...e,ref: t});-}), XR = /*#__PURE__*/ Tx(gde, (e, t, n) => {- let r = fx(t), i = (0, D.useContext)(GR), { isVirtualized: a } = (0, D.useContext)(kI), { columnHeaderProps: o, isPressed: s } = qae({+}), YR = /*#__PURE__*/ wx(_de, (e, t, n) => {+ let r = dx(t), i = (0, D.useContext)(WR), { isVirtualized: a } = (0, D.useContext)(OI), { columnHeaderProps: o, isPressed: s } = Jae({node: n,isVirtualized: a,focusMode: e.focusMode,allowsArrowNavigation: e.allowsArrowNavigation- }, i, r), { isFocused: c, isFocusVisible: l, focusProps: u } = eT(), d = (0, D.useContext)(KR), f = !1;+ }, i, r), { isFocused: c, isFocusVisible: l, focusProps: u } = $w(), d = (0, D.useContext)(GR), f = !1;d && (f = d.resizingColumn === n.key);- let { hoverProps: p, isHovered: m } = iT({ isDisabled: !e.allowsSorting }), h = _I({+ let { hoverProps: p, isHovered: m } = rT({ isDisabled: !e.allowsSorting }), h = gI({...e,id: void 0,children: n.rendered,@@ -40257,8 +40257,8 @@ var gde = class extends ky {...g,width: d.getColumnWidth(n.key)});- let _ = pS(e, { global: !0 });- return delete _.id, /*#__PURE__*/ D.createElement(_de, {+ let _ = fS(e, { global: !0 });+ return delete _.id, /*#__PURE__*/ D.createElement(vde, {...K(_, o, u, p),...h,style: g,@@ -40270,29 +40270,29 @@ var gde = class extends ky {"data-resizing": f || void 0,"data-allows-sorting": n.props.allowsSorting || void 0,"data-sort-direction": i.sortDescriptor?.column === n.key ? i.sortDescriptor.direction : void 0- }, /*#__PURE__*/ D.createElement(gI, { values: [[ZR, {+ }, /*#__PURE__*/ D.createElement(hI, { values: [[XR, {column: n,triggerRef: r- }], [kI, DI]] }, h.children));-}), ZR = /*#__PURE__*/ (0, D.createContext)(null), vde = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {- let n = (0, D.useContext)(KR);+ }], [OI, EI]] }, h.children));+}), XR = /*#__PURE__*/ (0, D.createContext)(null), yde = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {+ let n = (0, D.useContext)(GR);if (!n) throw Error("Wrap your <Table> in a <ResizableTableContainer> to enable column resizing");- let r = oS(ade(jL), "react-aria-components"), { onResizeStart: i, onResize: a, onResizeEnd: o } = (0, D.useContext)(WR), { column: s, triggerRef: c } = (0, D.useContext)(ZR), l = (0, D.useRef)(null), { resizerProps: u, inputProps: d, isResizing: f, isMouseResizing: p } = Yae({+ let r = aS(ode(AL), "react-aria-components"), { onResizeStart: i, onResize: a, onResizeEnd: o } = (0, D.useContext)(UR), { column: s, triggerRef: c } = (0, D.useContext)(XR), l = (0, D.useRef)(null), { resizerProps: u, inputProps: d, isResizing: f, isMouseResizing: p } = Xae({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 } = eT(), { hoverProps: _, isHovered: v } = iT(e), y = n.getColumnMinWidth(s.key) >= n.getColumnWidth(s.key), b = n.getColumnMaxWidth(s.key) <= n.getColumnWidth(s.key), { direction: x } = Zx(), S = "both";+ }, n, l), { focusProps: m, isFocused: h, isFocusVisible: g } = $w(), { hoverProps: _, isHovered: v } = rT(e), y = n.getColumnMinWidth(s.key) >= n.getColumnWidth(s.key), b = n.getColumnMaxWidth(s.key) <= n.getColumnWidth(s.key), { direction: x } = Xx(), S = "both";S = y ? x === "rtl" ? "right" : "left" : b ? x === "rtl" ? "left" : "right" : "both";- let C = fx(t), [w, T] = (0, D.useState)("");+ let C = dx(t), [w, T] = (0, D.useState)("");(0, D.useEffect)(() => {if (!C.current) return;let e = window.getComputedStyle(C.current);T(e.cursor);}, [C, S]);- let E = _I({+ let E = gI({...e,defaultClassName: "react-aria-ColumnResizer",values: {@@ -40302,8 +40302,8 @@ var gde = class extends ky {isHovered: v,resizableDirection: S}- }), O = pS(e, { global: !0 });- return /*#__PURE__*/ D.createElement(CI.div, {+ }), O = fS(e, { global: !0 });+ return /*#__PURE__*/ D.createElement(SI.div, {ref: C,role: "presentation",...K(O, E, u, _),@@ -40326,24 +40326,24 @@ var gde = class extends ky {},"data-testid": "cursor-overlay"}), document.body));-}), QR = class extends Ay {+}), ZR = class extends ky {static {this.type = "tablebody";}-}, yde = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {- let { isVirtualized: n } = (0, D.useContext)(kI);- return n ? /*#__PURE__*/ D.createElement(CI.div, {+}, bde = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {+ let { isVirtualized: n } = (0, D.useContext)(OI);+ return n ? /*#__PURE__*/ D.createElement(SI.div, {...e,ref: t- }) : /*#__PURE__*/ D.createElement(CI.tbody, {+ }) : /*#__PURE__*/ D.createElement(SI.tbody, {...e,ref: t});-}), $R = /*#__PURE__*/ Ex(QR, (e, t, n) => {- let r = (0, D.useContext)(GR), { isVirtualized: i } = (0, D.useContext)(kI), a = r.collection, { CollectionBranch: o } = (0, D.useContext)(kI), { dragAndDropHooks: s, dropState: c } = (0, D.useContext)(ML), l = !!s?.useDroppableCollectionState && !c?.isDisabled, u = l && !!c && (c.isDropTarget({ type: "root" }) ?? !1), d = a.size === 0, f = {+}), QR = /*#__PURE__*/ Tx(ZR, (e, t, n) => {+ let r = (0, D.useContext)(WR), { isVirtualized: i } = (0, D.useContext)(OI), a = r.collection, { CollectionBranch: o } = (0, D.useContext)(OI), { dragAndDropHooks: s, dropState: c } = (0, D.useContext)(jL), l = !!s?.useDroppableCollectionState && !c?.isDisabled, u = l && !!c && (c.isDropTarget({ type: "root" }) ?? !1), d = a.size === 0, f = {isDropTarget: u,isEmpty: d- }, p = _I({+ }, p = gI({...e,id: void 0,children: void 0,@@ -40352,33 +40352,33 @@ var gde = class extends ky {}), m, h = a.columnCount;if (d && e.renderEmptyState && r) {let t = {}, n = {}, r = {};- i ? (n["aria-colspan"] = h, r = { display: "contents" }) : n.colSpan = h, m = /*#__PURE__*/ D.createElement(tz, {+ i ? (n["aria-colspan"] = h, r = { display: "contents" }) : n.colSpan = h, m = /*#__PURE__*/ D.createElement(ez, {role: "row",...t,style: r- }, /*#__PURE__*/ D.createElement(rz, {+ }, /*#__PURE__*/ D.createElement(nz, {role: "rowheader",...n,style: r}, e.renderEmptyState(f)));}- let { rowGroupProps: g } = OO(), _ = pS(e, { global: !0 });- return /*#__PURE__*/ D.createElement(yde, {+ let { rowGroupProps: g } = DO(), _ = fS(e, { global: !0 });+ return /*#__PURE__*/ D.createElement(bde, {...K(_, p, g),ref: t,"data-empty": d || void 0- }, l && /*#__PURE__*/ D.createElement(Dde, null), /*#__PURE__*/ D.createElement(o, {+ }, l && /*#__PURE__*/ D.createElement(Ode, null), /*#__PURE__*/ D.createElement(o, {collection: a,parent: n,- renderDropIndicator: PL(s, c)+ renderDropIndicator: NL(s, c)}), m);});-(class extends Ay {+(class extends ky {static {this.type = "tablefooter";}});-var ez = /*#__PURE__*/ (0, D.createContext)({ isFocusVisibleWithinRow: !1 }), bde = class extends ky {+var $R = /*#__PURE__*/ (0, D.createContext)({ isFocusVisibleWithinRow: !1 }), xde = class extends Oy {static {this.type = "item";}@@ -40390,31 +40390,31 @@ var ez = /*#__PURE__*/ (0, D.createContext)({ isFocusVisibleWithinRow: !1 }), bd}return null;}-}, tz = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {- let { isVirtualized: n } = (0, D.useContext)(kI);- return n ? /*#__PURE__*/ D.createElement(CI.div, {+}, ez = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {+ let { isVirtualized: n } = (0, D.useContext)(OI);+ return n ? /*#__PURE__*/ D.createElement(SI.div, {...e,ref: t- }) : /*#__PURE__*/ D.createElement(CI.tr, {+ }) : /*#__PURE__*/ D.createElement(SI.tr, {...e,ref: t});-}), nz = /*#__PURE__*/ Ex(bde, (e, t, n) => {- let r = fx(t), i = (0, D.useContext)(GR), { dragAndDropHooks: a, dragState: o, dropState: s } = (0, D.useContext)(ML), { isVirtualized: c, CollectionBranch: l } = (0, D.useContext)(kI), u = o && !(o.isDisabled || o.selectionManager.isDisabled(n.key)), { rowProps: d, expandButtonProps: f, ...p } = $ae({+}), tz = /*#__PURE__*/ Tx(xde, (e, t, n) => {+ let r = dx(t), i = (0, D.useContext)(WR), { dragAndDropHooks: a, dragState: o, dropState: s } = (0, D.useContext)(jL), { isVirtualized: c, CollectionBranch: l } = (0, D.useContext)(OI), u = o && !(o.isDisabled || o.selectionManager.isDisabled(n.key)), { rowProps: d, expandButtonProps: f, ...p } = eoe({node: n,shouldSelectOnPressUp: !!o,isVirtualized: c- }, i, r), { isFocused: m, isFocusVisible: h, focusProps: g } = eT(), { isFocusVisible: _, focusProps: v } = eT({ within: !0 }), { hoverProps: y, isHovered: b } = iT({+ }, i, r), { isFocused: m, isFocusVisible: h, focusProps: g } = $w(), { isFocusVisible: _, focusProps: v } = $w({ within: !0 }), { hoverProps: y, isHovered: b } = rT({isDisabled: !p.allowsSelection && !p.hasAction && !u,onHoverStart: e.onHoverStart,onHoverChange: e.onHoverChange,onHoverEnd: e.onHoverEnd- }), { checkboxProps: x } = noe({ key: n.key }, i), S;+ }), { checkboxProps: x } = roe({ key: n.key }, i), S;o && a && (S = a.useDraggableItem({key: n.key,hasDragButton: !0}, o));- let C, w = (0, D.useRef)(null), { visuallyHiddenProps: T } = FC();+ let C, w = (0, D.useRef)(null), { visuallyHiddenProps: T } = PC();s && a && (C = a.useDropIndicator({ target: {type: "item",key: n.key,@@ -40424,7 +40424,7 @@ var ez = /*#__PURE__*/ (0, D.createContext)({ isFocusVisibleWithinRow: !1 }), bd(0, D.useEffect)(() => {o && E.current;}, []);- let O = o && o.isDragging(n.key), { children: k, ...A } = e, j = e.hasChildItems || i.collection.getItem(n.lastChildKey)?.type !== "cell", M = j && i.expandedKeys.has(n.key), N = _I({+ let O = o && o.isDragging(n.key), { children: k, ...A } = e, j = e.hasChildItems || i.collection.getItem(n.lastChildKey)?.type !== "cell", M = j && i.expandedKeys.has(n.key), N = gI({...A,id: void 0,defaultClassName: "react-aria-Row",@@ -40445,11 +40445,11 @@ var ez = /*#__PURE__*/ (0, D.createContext)({ isFocusVisibleWithinRow: !1 }), bdisExpanded: M,level: n.level + 1}- }), ee = pS(e, { global: !0 });- return delete ee.id, delete ee.onClick, /*#__PURE__*/ D.createElement(D.Fragment, null, C && !C.isHidden && /*#__PURE__*/ D.createElement(tz, {+ }), ee = fS(e, { global: !0 });+ return delete ee.id, delete ee.onClick, /*#__PURE__*/ D.createElement(D.Fragment, null, C && !C.isHidden && /*#__PURE__*/ D.createElement(ez, {role: "row",style: { height: 0 }- }, /*#__PURE__*/ D.createElement(rz, {+ }, /*#__PURE__*/ D.createElement(nz, {role: "gridcell",colSpan: i.collection.columnCount,style: { padding: 0 }@@ -40458,7 +40458,7 @@ var ez = /*#__PURE__*/ (0, D.createContext)({ isFocusVisibleWithinRow: !1 }), bd...T,...C.dropIndicatorProps,ref: w- }))), /*#__PURE__*/ D.createElement(tz, {+ }))), /*#__PURE__*/ D.createElement(ez, {...K(ee, N, d, g, y, S?.dragProps, v),ref: r,"data-disabled": p.isDisabled || void 0,@@ -40474,17 +40474,17 @@ var ez = /*#__PURE__*/ (0, D.createContext)({ isFocusVisibleWithinRow: !1 }), bd"data-expanded": M || void 0,"data-has-child-items": j || void 0,"data-level": n.level + 1- }, /*#__PURE__*/ D.createElement(gI, { values: [- [BI, { slots: {- [hI]: {},+ }, /*#__PURE__*/ D.createElement(hI, { values: [+ [zI, { slots: {+ [mI]: {},selection: x} }],- [VI, { slots: {- [hI]: {},+ [BI, { slots: {+ [mI]: {},selection: x} }],- [NI, { slots: {- [hI]: {},+ [MI, { slots: {+ [mI]: {},chevron: f,drag: {...S?.dragButtonProps,@@ -40492,8 +40492,8 @@ var ez = /*#__PURE__*/ (0, D.createContext)({ isFocusVisibleWithinRow: !1 }), bdstyle: { pointerEvents: "none" }}} }],- [RL, { isSelected: p.isSelected }],- [ez, { isFocusVisibleWithinRow: _ }]+ [LL, { isSelected: p.isSelected }],+ [$R, { isFocusVisibleWithinRow: _ }]] }, /*#__PURE__*/ D.createElement(l, {collection: i.collection,parent: n@@ -40501,34 +40501,34 @@ var ez = /*#__PURE__*/ (0, D.createContext)({ isFocusVisibleWithinRow: !1 }), bd}, (e) => {if (e.id == null && typeof e.children == "function") throw Error("No id detected for the Row element. The Row element requires a id to be provided to it when the cells are rendered dynamically.");let t = [e.value].concat(e.dependencies);- return /*#__PURE__*/ D.createElement(kx, {+ return /*#__PURE__*/ D.createElement(Ox, {dependencies: t,items: e.columns,idScope: e.id}, e.children);-}), xde = class extends ky {+}), Sde = class extends Oy {static {this.type = "cell";}-}, rz = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {- let { isVirtualized: n } = (0, D.useContext)(kI);- return n ? /*#__PURE__*/ D.createElement(CI.div, {+}, nz = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {+ let { isVirtualized: n } = (0, D.useContext)(OI);+ return n ? /*#__PURE__*/ D.createElement(SI.div, {...e,ref: t- }) : /*#__PURE__*/ D.createElement(CI.td, {+ }) : /*#__PURE__*/ D.createElement(SI.td, {...e,ref: t});-}), iz = /*#__PURE__*/ Tx(xde, (e, t, n) => {- let r = fx(t), i = (0, D.useContext)(GR), { dragState: a } = (0, D.useContext)(ML), { isVirtualized: o } = (0, D.useContext)(kI);+}), rz = /*#__PURE__*/ wx(Sde, (e, t, n) => {+ let r = dx(t), i = (0, D.useContext)(WR), { dragState: a } = (0, D.useContext)(jL), { isVirtualized: o } = (0, D.useContext)(OI);n.column = i.collection.columns[n.index];- let { gridCellProps: s, isPressed: c } = Gae({+ let { gridCellProps: s, isPressed: c } = Kae({node: n,shouldSelectOnPressUp: !!a,isVirtualized: o,focusMode: e.focusMode,allowsArrowNavigation: e.allowsArrowNavigation- }, i, r), { isFocused: l, isFocusVisible: u, focusProps: d } = eT(), { hoverProps: f, isHovered: p } = iT({}), { isFocusVisibleWithinRow: m } = (0, D.useContext)(ez), 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 = _I({+ }, i, r), { isFocused: l, isFocusVisible: u, focusProps: d } = $w(), { hoverProps: f, isHovered: p } = rT({}), { isFocusVisibleWithinRow: m } = (0, D.useContext)($R), 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 = gI({...e,id: void 0,defaultClassName: "react-aria-Cell",@@ -40547,8 +40547,8 @@ var ez = /*#__PURE__*/ (0, D.createContext)({ isFocusVisibleWithinRow: !1 }), bdlevel: _.level + 1,isTreeColumn: n.column.key === i.treeColumn}- }), S = pS(e, { global: !0 });- return delete S.id, /*#__PURE__*/ D.createElement(rz, {+ }), S = fS(e, { global: !0 });+ return delete S.id, /*#__PURE__*/ D.createElement(nz, {...K(S, x, s, d, f),ref: r,"data-focused": l || void 0,@@ -40562,14 +40562,14 @@ var ez = /*#__PURE__*/ (0, D.createContext)({ isFocusVisibleWithinRow: !1 }), bd"data-level": _.level + 1,"data-tree-column": n.column.key === i.treeColumn || void 0,"data-disabled": b || void 0- }, /*#__PURE__*/ D.createElement(kI.Provider, { value: DI }, x.children));+ }, /*#__PURE__*/ D.createElement(OI.Provider, { value: EI }, x.children));});-function Sde(e, t) {- t = fx(t);- let { dragAndDropHooks: n, dropState: r } = (0, D.useContext)(ML), i = (0, D.useRef)(null), { dropIndicatorProps: a, isHidden: o, isDropTarget: s } = n.useDropIndicator(e, r, i);+function Cde(e, t) {+ t = dx(t);+ let { dragAndDropHooks: n, dropState: r } = (0, D.useContext)(jL), i = (0, D.useRef)(null), { dropIndicatorProps: a, isHidden: o, isDropTarget: s } = n.useDropIndicator(e, r, i);if (o) return null;let c = r && e.target.type === "item" ? (r.collection.getItem(e.target.key)?.level || 0) + 1 : 1;- return /*#__PURE__*/ D.createElement(Ede, {+ return /*#__PURE__*/ D.createElement(Dde, {...e,dropIndicatorProps: a,isDropTarget: s,@@ -40578,40 +40578,40 @@ function Sde(e, t) {ref: t});}-var Cde = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {- let { isVirtualized: n } = (0, D.useContext)(kI);- return n ? /*#__PURE__*/ D.createElement(CI.div, {+var wde = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {+ let { isVirtualized: n } = (0, D.useContext)(OI);+ return n ? /*#__PURE__*/ D.createElement(SI.div, {...e,ref: t- }) : /*#__PURE__*/ D.createElement(CI.tr, {+ }) : /*#__PURE__*/ D.createElement(SI.tr, {...e,ref: t});-}), wde = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {- let { isVirtualized: n } = (0, D.useContext)(kI);- return n ? /*#__PURE__*/ D.createElement(CI.div, {+}), Tde = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {+ let { isVirtualized: n } = (0, D.useContext)(OI);+ return n ? /*#__PURE__*/ D.createElement(SI.div, {...e,ref: t- }) : /*#__PURE__*/ D.createElement(CI.td, {+ }) : /*#__PURE__*/ D.createElement(SI.td, {...e,ref: t});});-function Tde(e, t) {- let { dropIndicatorProps: n, isDropTarget: r, buttonRef: i, level: a, ...o } = e, s = (0, D.useContext)(GR), { visuallyHiddenProps: c } = FC(), l = _I({+function Ede(e, t) {+ let { dropIndicatorProps: n, isDropTarget: r, buttonRef: i, level: a, ...o } = e, s = (0, D.useContext)(WR), { visuallyHiddenProps: c } = PC(), l = gI({...o,defaultClassName: "react-aria-DropIndicator",defaultStyle: { "--table-row-level": a + 1 },values: { isDropTarget: r }});- return /*#__PURE__*/ D.createElement(Cde, {- ...pS(e, { global: !0 }),+ return /*#__PURE__*/ D.createElement(wde, {+ ...fS(e, { global: !0 }),...l,role: "row",ref: t,"data-drop-target": r || void 0,"aria-level": a- }, /*#__PURE__*/ D.createElement(wde, {+ }, /*#__PURE__*/ D.createElement(Tde, {role: "gridcell",colSpan: s.collection.columnCount,style: { padding: 0 }@@ -40622,14 +40622,14 @@ function Tde(e, t) {ref: i}), l.children));}-var Ede = /*#__PURE__*/ (0, D.forwardRef)(Tde);-function Dde() {- let e = (0, D.useContext)(GR), { dragAndDropHooks: t, dropState: n } = (0, D.useContext)(ML), r = (0, D.useRef)(null), { dropIndicatorProps: i } = t.useDropIndicator({ target: { type: "root" } }, n, r), a = n.isDropTarget({ type: "root" }), { visuallyHiddenProps: o } = FC();- return !a && i["aria-hidden"] ? null : /*#__PURE__*/ D.createElement(tz, {+var Dde = /*#__PURE__*/ (0, D.forwardRef)(Ede);+function Ode() {+ let e = (0, D.useContext)(WR), { dragAndDropHooks: t, dropState: n } = (0, D.useContext)(jL), r = (0, D.useRef)(null), { dropIndicatorProps: i } = t.useDropIndicator({ target: { type: "root" } }, n, r), a = n.isDropTarget({ type: "root" }), { visuallyHiddenProps: o } = PC();+ return !a && i["aria-hidden"] ? null : /*#__PURE__*/ D.createElement(ez, {role: "row","aria-hidden": i["aria-hidden"],style: { height: 0 }- }, /*#__PURE__*/ D.createElement(rz, {+ }, /*#__PURE__*/ D.createElement(nz, {role: "gridcell",colSpan: e.collection.columnCount,style: { padding: 0 }@@ -40640,9 +40640,9 @@ function Dde() {ref: r})));}-Tx(jy, function(e, t, n) {- let r = (0, D.useContext)(GR), { isVirtualized: i } = (0, D.useContext)(kI), { isLoading: a, onLoadMore: o, scrollOffset: s, ...c } = e, l = r.collection.columns.length, u = (0, D.useRef)(null);- ZL((0, D.useMemo)(() => ({+wx(Ay, function(e, t, n) {+ let r = (0, D.useContext)(WR), { isVirtualized: i } = (0, D.useContext)(OI), { isLoading: a, onLoadMore: o, scrollOffset: s, ...c } = e, l = r.collection.columns.length, u = (0, D.useRef)(null);+ XL((0, D.useMemo)(() => ({onLoadMore: o,collection: r?.collection,sentinelRef: u,@@ -40652,7 +40652,7 @@ Tx(jy, function(e, t, n) {s,r?.collection]), u);- let d = _I({+ let d = gI({...c,id: void 0,children: n.rendered,@@ -40660,10 +40660,10 @@ Tx(jy, function(e, t, n) {defaultStyle: { "--table-row-level": n.level + 1 },values: void 0}), f = {}, p = {}, m = {};- return i ? (p["aria-colspan"] = l, m = { display: "contents" }) : p.colSpan = l, /*#__PURE__*/ D.createElement(D.Fragment, null, /*#__PURE__*/ D.createElement(tz, {+ return i ? (p["aria-colspan"] = l, m = { display: "contents" }) : p.colSpan = l, /*#__PURE__*/ D.createElement(D.Fragment, null, /*#__PURE__*/ D.createElement(ez, {style: { height: 0 },- inert: BL(!0)- }, /*#__PURE__*/ D.createElement(rz, { style: {+ inert: zL(!0)+ }, /*#__PURE__*/ D.createElement(nz, { style: {padding: 0,border: 0} }, /*#__PURE__*/ D.createElement("div", {@@ -40674,14 +40674,14 @@ Tx(jy, function(e, t, n) {height: 1,width: 1}- }))), a && d.children && /*#__PURE__*/ D.createElement(tz, {- ...K(pS(e, { global: !0 }), f),+ }))), a && d.children && /*#__PURE__*/ D.createElement(ez, {+ ...K(fS(e, { global: !0 }), f),...d,role: "row",ref: t,"aria-level": n.level + 1,"data-level": n.level + 1- }, /*#__PURE__*/ D.createElement(rz, {+ }, /*#__PURE__*/ D.createElement(nz, {role: "rowheader",...p,style: m@@ -40689,8 +40689,8 @@ Tx(jy, function(e, t, n) {});//#endregion//#region node_modules/react-stately/dist/private/list/useSingleSelectListState.mjs-function Ode(e) {- let [t, n] = EC(e.selectedKey, e.defaultSelectedKey ?? null, e.onSelectionChange), r = (0, D.useMemo)(() => t == null ? [] : [t], [t]), { collection: i, disabledKeys: a, selectionManager: o } = YL({+function kde(e) {+ let [t, n] = TC(e.selectedKey, e.defaultSelectedKey ?? null, e.onSelectionChange), r = (0, D.useMemo)(() => t == null ? [] : [t], [t]), { collection: i, disabledKeys: a, selectionManager: o } = JL({...e,selectionMode: "single",disallowEmptySelection: !0,@@ -40713,24 +40713,24 @@ function Ode(e) {}//#endregion//#region node_modules/react-stately/dist/private/tabs/useTabListState.mjs-function kde(e) {- let t = Ode({+function Ade(e) {+ let t = kde({...e,onSelectionChange: e.onSelectionChange ? (t) => {t != null && e.onSelectionChange?.(t);} : void 0,suppressTextValueWarning: !0,- defaultSelectedKey: e.defaultSelectedKey ?? az(e.collection, e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set()) ?? void 0+ defaultSelectedKey: e.defaultSelectedKey ?? iz(e.collection, e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set()) ?? void 0}), { selectionManager: n, collection: r, selectedKey: i } = t, a = (0, D.useRef)(i);return (0, D.useEffect)(() => {let o = i;- e.selectedKey == null && (n.isEmpty || o == null || !r.getItem(o)) && (o = az(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 = iz(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 az(e, t) {+function iz(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);@@ -40740,24 +40740,24 @@ function az(e, t) {}//#endregion//#region node_modules/react-aria-components/dist/private/Tabs.mjs-var oz = /*#__PURE__*/ (0, D.createContext)(null), sz = /*#__PURE__*/ (0, D.createContext)(null), Ade = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {- [e, t] = yI(e, t, oz);+var az = /*#__PURE__*/ (0, D.createContext)(null), oz = /*#__PURE__*/ (0, D.createContext)(null), jde = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {+ [e, t] = vI(e, t, az);let { children: n, orientation: r = "horizontal" } = e;return n = (0, D.useMemo)(() => typeof n == "function" ? n({orientation: r,defaultChildren: null- }) : n, [n, r]), /*#__PURE__*/ D.createElement(Sx, { content: n }, (n) => /*#__PURE__*/ D.createElement(jde, {+ }) : n, [n, r]), /*#__PURE__*/ D.createElement(xx, { content: n }, (n) => /*#__PURE__*/ D.createElement(Mde, {props: e,collection: n,tabsRef: t}));});-function jde({ props: e, tabsRef: t, collection: n }) {- let { orientation: r = "horizontal" } = e, i = kde({+function Mde({ props: e, tabsRef: t, collection: n }) {+ let { orientation: r = "horizontal" } = e, i = Ade({...e,collection: n,children: void 0- }), { focusProps: a, isFocused: o, isFocusVisible: s } = eT({ within: !0 }), c = (0, D.useMemo)(() => ({+ }), { focusProps: a, isFocused: o, isFocusVisible: s } = $w({ within: !0 }), c = (0, D.useMemo)(() => ({orientation: r,isFocusWithin: o,isFocusVisible: s@@ -40765,12 +40765,12 @@ function jde({ props: e, tabsRef: t, collection: n }) {r,o,s- ]), l = _I({+ ]), l = gI({...e,defaultClassName: "react-aria-Tabs",values: c- }), u = pS(e, { global: !0 });- return /*#__PURE__*/ D.createElement(CI.div, {+ }), u = fS(e, { global: !0 });+ return /*#__PURE__*/ D.createElement(SI.div, {...K(u, l, a),ref: t,slot: e.slot || void 0,@@ -40778,20 +40778,20 @@ function jde({ props: e, tabsRef: t, collection: n }) {"data-orientation": r,"data-focus-visible": s || void 0,"data-disabled": i.isDisabled || void 0- }, /*#__PURE__*/ D.createElement(gI, { values: [[oz, e], [sz, i]] }, l.children));+ }, /*#__PURE__*/ D.createElement(hI, { values: [[az, e], [oz, i]] }, l.children));}-var cz = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {- return (0, D.useContext)(sz) ? /*#__PURE__*/ D.createElement(Mde, {+var sz = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {+ return (0, D.useContext)(oz) ? /*#__PURE__*/ D.createElement(Nde, {props: e,forwardedRef: t- }) : /*#__PURE__*/ D.createElement(kx, e);+ }) : /*#__PURE__*/ D.createElement(Ox, e);});-function Mde({ props: e, forwardedRef: t }) {- let n = (0, D.useContext)(sz), { CollectionRoot: r } = (0, D.useContext)(kI), { orientation: i = "horizontal", keyboardActivation: a = "automatic" } = vI(oz), o = fx(t), { tabListProps: s } = ooe({+function Nde({ props: e, forwardedRef: t }) {+ let n = (0, D.useContext)(oz), { CollectionRoot: r } = (0, D.useContext)(OI), { orientation: i = "horizontal", keyboardActivation: a = "automatic" } = _I(az), o = dx(t), { tabListProps: s } = soe({...e,orientation: i,keyboardActivation: a- }, n, o), c = _I({+ }, n, o), c = gI({...e,children: null,defaultClassName: "react-aria-TabList",@@ -40799,30 +40799,30 @@ function Mde({ props: e, forwardedRef: t }) {orientation: i,state: n}- }), l = pS(e, { global: !0 });- return delete l.id, /*#__PURE__*/ D.createElement(CI.div, {+ }), l = fS(e, { global: !0 });+ return delete l.id, /*#__PURE__*/ D.createElement(SI.div, {...K(l, c, s),ref: o,"data-orientation": i || void 0- }, /*#__PURE__*/ D.createElement(LL, null, /*#__PURE__*/ D.createElement(r, {+ }, /*#__PURE__*/ D.createElement(IL, null, /*#__PURE__*/ D.createElement(r, {collection: n.collection,- persistedKeys: AI(n.selectionManager.focusedKey)+ persistedKeys: kI(n.selectionManager.focusedKey)})));}-var Nde = /*#__PURE__*/ Tx(class extends ky {+var Pde = /*#__PURE__*/ wx(class extends Oy {static {this.type = "item";}}, (e, t, n) => {- let r = (0, D.useContext)(sz), i = fx(t), { tabProps: a, isSelected: o, isDisabled: s, isPressed: c } = ioe({+ let r = (0, D.useContext)(oz), i = dx(t), { tabProps: a, isSelected: o, isDisabled: s, isPressed: c } = aoe({key: n.key,...e- }, r, i), { focusProps: l, isFocused: u, isFocusVisible: d } = eT(), { hoverProps: f, isHovered: p } = iT({+ }, r, i), { focusProps: l, isFocused: u, isFocusVisible: d } = $w(), { hoverProps: f, isHovered: p } = rT({isDisabled: s,onHoverStart: e.onHoverStart,onHoverEnd: e.onHoverEnd,onHoverChange: e.onHoverChange- }), m = _I({+ }), m = gI({...e,id: void 0,children: n.rendered,@@ -40835,7 +40835,7 @@ var Nde = /*#__PURE__*/ Tx(class extends ky {isPressed: c,isHovered: p}- }), h = n.props.href ? CI.a : CI.div, g = pS(e, { global: !0 });+ }), h = n.props.href ? SI.a : SI.div, g = fS(e, { global: !0 });return delete g.id, delete g.onClick, /*#__PURE__*/ D.createElement(h, {...K(g, m, a, l, f),ref: i,@@ -40845,55 +40845,55 @@ var Nde = /*#__PURE__*/ Tx(class extends ky {"data-focus-visible": d || void 0,"data-pressed": c || void 0,"data-hovered": p || void 0- }, /*#__PURE__*/ D.createElement(RL.Provider, { value: { isSelected: o } }, m.children));-}), Pde = /*#__PURE__*/ _x(function(e, t) {- let n = (0, D.useContext)(sz), r = fx(t), i = n.selectedKey === e.id, [a, o] = (0, D.useState)(n.selectedKey == null ? null : i);+ }, /*#__PURE__*/ D.createElement(LL.Provider, { value: { isSelected: o } }, m.children));+}), Fde = /*#__PURE__*/ gx(function(e, t) {+ let n = (0, D.useContext)(oz), r = dx(t), i = n.selectedKey === e.id, [a, o] = (0, D.useState)(n.selectedKey == null ? null : i);a == null && n.selectedKey != null ? o(i) : !i && a && o(!1);- let s = rR(r, i);- return !i && !e.shouldForceMount && !s ? null : /*#__PURE__*/ D.createElement(Fde, {+ let s = nR(r, i);+ return !i && !e.shouldForceMount && !s ? null : /*#__PURE__*/ D.createElement(Ide, {...e,tabPanelRef: r,isInitiallySelected: a || !1,isExiting: s});});-function Fde(e) {- let t = (0, D.useContext)(sz), { id: n, tabPanelRef: r, isInitiallySelected: i, isExiting: a, ...o } = e, { tabPanelProps: s } = soe(e, t, r), { focusProps: c, isFocused: l, isFocusVisible: u } = eT(), d = t.selectedKey === e.id, f = nR(r) && !i, p = _I({+function Ide(e) {+ let t = (0, D.useContext)(oz), { id: n, tabPanelRef: r, isInitiallySelected: i, isExiting: a, ...o } = e, { tabPanelProps: s } = coe(e, t, r), { focusProps: c, isFocused: l, isFocusVisible: u } = $w(), d = t.selectedKey === e.id, f = tR(r) && !i, p = gI({...e,defaultClassName: "react-aria-TabPanel",values: {isFocused: l,isFocusVisible: u,- isInert: BL(!d),+ isInert: zL(!d),isEntering: f,isExiting: a,state: t}- }), m = pS(o, { global: !0 });+ }), m = fS(o, { global: !0 });delete m.id;let h = d ? K(m, s, c, p) : K(m, p);- return /*#__PURE__*/ D.createElement(CI.div, {+ return /*#__PURE__*/ D.createElement(SI.div, {...h,ref: r,"data-focused": l || void 0,"data-focus-visible": u || void 0,- inert: BL(!d || e.inert),+ inert: zL(!d || e.inert),"data-inert": d ? void 0 : "true","data-entering": f || void 0,"data-exiting": a || void 0- }, /*#__PURE__*/ D.createElement(gI, { values: [[oz, null], [sz, null]] }, /*#__PURE__*/ D.createElement(kI.Provider, { value: DI }, p.children)));+ }, /*#__PURE__*/ D.createElement(hI, { values: [[az, null], [oz, null]] }, /*#__PURE__*/ D.createElement(OI.Provider, { value: EI }, p.children)));}//#endregion//#region node_modules/react-aria-components/dist/private/TextArea.mjs-var lz = /*#__PURE__*/ (0, D.createContext)({}), Ide = (e) => {+var cz = /*#__PURE__*/ (0, D.createContext)({}), Lde = (e) => {let { onHoverStart: t, onHoverChange: n, onHoverEnd: r, ...i } = e;return i;-}, Lde = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {- [e, t] = yI(e, t, lz);- let { hoverProps: n, isHovered: r } = iT(e), { isFocused: i, isFocusVisible: a, focusProps: o } = eT({+}, Rde = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {+ [e, t] = vI(e, t, cz);+ let { hoverProps: n, isHovered: r } = rT(e), { isFocused: i, isFocusVisible: a, focusProps: o } = $w({isTextInput: !0,autoFocus: e.autoFocus- }), s = !!e["aria-invalid"] && e["aria-invalid"] !== "false", c = _I({+ }), s = !!e["aria-invalid"] && e["aria-invalid"] !== "false", c = gI({...e,values: {isHovered: r,@@ -40904,8 +40904,8 @@ var lz = /*#__PURE__*/ (0, D.createContext)({}), Ide = (e) => {},defaultClassName: "react-aria-TextArea"});- return /*#__PURE__*/ D.createElement(CI.textarea, {- ...K(Ide(e), o, n),+ return /*#__PURE__*/ D.createElement(SI.textarea, {+ ...K(Lde(e), o, n),...c,ref: t,"data-focused": i || void 0,@@ -40914,18 +40914,18 @@ var lz = /*#__PURE__*/ (0, D.createContext)({}), Ide = (e) => {"data-focus-visible": a || void 0,"data-invalid": s || void 0});-}), Rde = /*#__PURE__*/ (0, D.createContext)(null), zde = /*#__PURE__*/ _x(function(e, t) {- [e, t] = yI(e, t, Rde);- let { validationBehavior: n } = vI(zI) || {}, r = e.validationBehavior ?? n ?? "native", i = (0, D.useRef)(null);- [e, i] = yI(e, i, TI);- let [a, o] = bI(!e["aria-label"] && !e["aria-labelledby"]), [s, c] = (0, D.useState)("input"), { labelProps: l, inputProps: u, descriptionProps: d, errorMessageProps: f, ...p } = Yie({- ...xI(e),+}), zde = /*#__PURE__*/ (0, D.createContext)(null), Bde = /*#__PURE__*/ gx(function(e, t) {+ [e, t] = vI(e, t, zde);+ let { validationBehavior: n } = _I(RI) || {}, r = e.validationBehavior ?? n ?? "native", i = (0, D.useRef)(null);+ [e, i] = vI(e, i, wI);+ let [a, o] = yI(!e["aria-label"] && !e["aria-labelledby"]), [s, c] = (0, D.useState)("input"), { labelProps: l, inputProps: u, descriptionProps: d, errorMessageProps: f, ...p } = Xie({+ ...bI(e),inputElementType: s,label: o,validationBehavior: r}, i), m = (0, D.useCallback)((e) => {i.current = e, e && c(e instanceof HTMLTextAreaElement ? "textarea" : "input");- }, [i]), h = _I({+ }, [i]), h = gI({...e,values: {isDisabled: e.isDisabled || !1,@@ -40934,8 +40934,8 @@ var lz = /*#__PURE__*/ (0, D.createContext)({}), Ide = (e) => {isRequired: e.isRequired || !1},defaultClassName: "react-aria-TextField"- }), g = pS(e, { global: !0 });- return delete g.id, /*#__PURE__*/ D.createElement(CI.div, {+ }), g = fS(e, { global: !0 });+ return delete g.id, /*#__PURE__*/ D.createElement(SI.div, {...g,...h,ref: t,@@ -40944,31 +40944,31 @@ var lz = /*#__PURE__*/ (0, D.createContext)({}), Ide = (e) => {"data-invalid": p.isInvalid || void 0,"data-readonly": e.isReadOnly || void 0,"data-required": e.isRequired || void 0- }, /*#__PURE__*/ D.createElement(gI, { values: [- [jI, {+ }, /*#__PURE__*/ D.createElement(hI, { values: [+ [AI, {...l,ref: a}],- [GI, {+ [WI, {...u,ref: m}],- [lz, {+ [cz, {...u,ref: m}],- [UI, {+ [HI, {role: "presentation",isInvalid: p.isInvalid,isDisabled: e.isDisabled || !1}],- [LI, { slots: {+ [II, { slots: {description: d,errorMessage: f} }],- [RI, p]+ [LI, p]] }, h.children));-}), Bde = class e extends Ny {+}), Vde = class e extends My {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;@@ -41040,16 +41040,16 @@ var lz = /*#__PURE__*/ (0, D.createContext)({}), Ide = (e) => {constructor(...e) {super(...e), this.expandedKeys = /* @__PURE__ */ new Set();}-}, Vde = /*#__PURE__*/ (0, D.createContext)(null), uz = /*#__PURE__*/ (0, D.createContext)(null), Hde = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {- return [e, t] = yI(e, t, Vde), /*#__PURE__*/ D.createElement(Sx, {- content: /*#__PURE__*/ D.createElement(kx, e),- createCollection: () => new Bde()- }, (n) => /*#__PURE__*/ D.createElement(Ude, {+}, Hde = /*#__PURE__*/ (0, D.createContext)(null), lz = /*#__PURE__*/ (0, D.createContext)(null), Ude = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {+ return [e, t] = vI(e, t, Hde), /*#__PURE__*/ D.createElement(xx, {+ content: /*#__PURE__*/ D.createElement(Ox, e),+ createCollection: () => new Vde()+ }, (n) => /*#__PURE__*/ D.createElement(Wde, {props: e,collection: n,treeRef: t}));-}), dz = {+}), uz = {expand: {ltr: "ArrowRight",rtl: "ArrowLeft"@@ -41059,17 +41059,17 @@ var lz = /*#__PURE__*/ (0, D.createContext)({}), Ide = (e) => {rtl: "ArrowRight"}};-function Ude({ props: e, collection: t, treeRef: n }) {- let { dragAndDropHooks: r } = e, { direction: i } = Zx(), a = qw({+function Wde({ props: e, collection: t, treeRef: n }) {+ let { dragAndDropHooks: r } = e, { direction: i } = Xx(), a = Kw({usage: "search",sensitivity: "base"}), o = !!r?.useDraggableCollectionState, s = !!r?.useDroppableCollectionState, c = (0, D.useRef)(o), l = (0, D.useRef)(s);(0, D.useEffect)(() => {c.current !== o && console.warn("Drag hooks were provided during one render, but not another. This should be avoided as it may produce unexpected behavior."), l.current !== s && console.warn("Drop hooks were provided during one render, but not another. This should be avoided as it may produce unexpected behavior.");}, [o, s]);- let { selectionMode: u = "none", expandedKeys: d, defaultExpandedKeys: f, onExpandedChange: p, disabledBehavior: m = "all" } = e, { CollectionRoot: h, isVirtualized: g, layoutDelegate: _, dropTargetDelegate: v } = (0, D.useContext)(kI), [y, b] = EC(d ? new Set(d) : void 0, f ? new Set(f) : /* @__PURE__ */ new Set(), p), [x, S] = (0, D.useState)(t), [C, w] = (0, D.useState)(y), [T, E] = (0, D.useState)(() => t.withExpandedKeys(C, y));- (!Xde(C, y) || t !== x) && (E(t.withExpandedKeys(C, y)), S(t), w(y));- let O = lR({+ let { selectionMode: u = "none", expandedKeys: d, defaultExpandedKeys: f, onExpandedChange: p, disabledBehavior: m = "all" } = e, { CollectionRoot: h, isVirtualized: g, layoutDelegate: _, dropTargetDelegate: v } = (0, D.useContext)(OI), [y, b] = TC(d ? new Set(d) : void 0, f ? new Set(f) : /* @__PURE__ */ new Set(), p), [x, S] = (0, D.useState)(t), [C, w] = (0, D.useState)(y), [T, E] = (0, D.useState)(() => t.withExpandedKeys(C, y));+ (!Zde(C, y) || t !== x) && (E(t.withExpandedKeys(C, y)), S(t), w(y));+ let O = cR({...e,selectionMode: u,expandedKeys: y,@@ -41077,7 +41077,7 @@ function Ude({ props: e, collection: t, treeRef: n }) {collection: T,children: void 0,disabledBehavior: m- }), { gridProps: k } = coe({+ }), { gridProps: k } = loe({...e,isVirtualized: g,layoutDelegate: _@@ -41091,7 +41091,7 @@ function Ude({ props: e, collection: t, treeRef: n }) {let e = r.DragPreview;ee = r.renderDragPreview ? /*#__PURE__*/ D.createElement(e, { ref: te }, r.renderDragPreview) : null;}- let [P] = (0, D.useState)(() => new LR());+ let [P] = (0, D.useState)(() => new IR());if (s && r) {j = r.useDroppableCollectionState({collection: O.collection,@@ -41099,7 +41099,7 @@ function Ude({ props: e, collection: t, treeRef: n }) {});let e = r.dropTargetDelegate || v || new r.ListDropTargetDelegate(O.collection, n, { direction: i });P.setup(e, O, i);- let t = new YC({+ let t = new JC({collection: O.collection,collator: a,ref: n,@@ -41121,12 +41121,12 @@ function Ude({ props: e, collection: t, treeRef: n }) {let t = j?.target;if (t && t.type === "item" && t.dropPosition === "on") {let n = O.collection.getItem(t.key);- (e.key === dz.expand[i] && n?.hasChildNodes && !O.expandedKeys.has(t.key) || e.key === dz.collapse[i] && n?.hasChildNodes && O.expandedKeys.has(t.key)) && O.toggleKey(t.key);+ (e.key === uz.expand[i] && n?.hasChildNodes && !O.expandedKeys.has(t.key) || e.key === uz.collapse[i] && n?.hasChildNodes && O.expandedKeys.has(t.key)) && O.toggleKey(t.key);}}}, j, n), N = j.isDropTarget({ type: "root" });}- let ne = !(!o || A?.isDisabled), { focusProps: F, isFocused: re, isFocusVisible: ie } = eT(), ae = {+ let ne = !(!o || A?.isDisabled), { focusProps: F, isFocused: re, isFocusVisible: ie } = $w(), ae = {isEmpty: O.collection.size === 0,isFocused: re,isFocusVisible: ie,@@ -41134,7 +41134,7 @@ function Ude({ props: e, collection: t, treeRef: n }) {selectionMode: O.selectionManager.selectionMode,allowsDragging: !!ne,state: O- }, oe = _I({+ }, oe = gI({...e,children: void 0,defaultClassName: "react-aria-Tree",@@ -41151,8 +41151,8 @@ function Ude({ props: e, collection: t, treeRef: n }) {style: { display: "contents" }}, r));}- let ce = pS(e, { global: !0 });- return /*#__PURE__*/ D.createElement(D.Fragment, null, /*#__PURE__*/ D.createElement(RS, null, /*#__PURE__*/ D.createElement(CI.div, {+ let ce = fS(e, { global: !0 });+ return /*#__PURE__*/ D.createElement(D.Fragment, null, /*#__PURE__*/ D.createElement(LS, null, /*#__PURE__*/ D.createElement(SI.div, {...K(ce, oe, k, F, M?.collectionProps),ref: n,slot: e.slot || void 0,@@ -41162,54 +41162,54 @@ function Ude({ props: e, collection: t, treeRef: n }) {"data-focus-visible": ie || void 0,"data-selection-mode": O.selectionManager.selectionMode === "none" ? void 0 : O.selectionManager.selectionMode,"data-allows-dragging": !!ne || void 0- }, /*#__PURE__*/ D.createElement(gI, { values: [- [uz, O],- [ML, {+ }, /*#__PURE__*/ D.createElement(hI, { values: [+ [lz, O],+ [jL, {dragAndDropHooks: r,dragState: A,dropState: j}],- [NL, { render: Kde }]- ] }, s && /*#__PURE__*/ D.createElement(Yde, null), /*#__PURE__*/ D.createElement(LL, null, /*#__PURE__*/ D.createElement(h, {+ [ML, { render: qde }]+ ] }, s && /*#__PURE__*/ D.createElement(Xde, null), /*#__PURE__*/ D.createElement(IL, null, /*#__PURE__*/ D.createElement(h, {collection: O.collection,- persistedKeys: FL(O.selectionManager, r, j),+ persistedKeys: PL(O.selectionManager, r, j),scrollRef: n,- renderDropIndicator: PL(r, j)+ renderDropIndicator: NL(r, j)}))), se)), ee);}-var Wde = /*#__PURE__*/ Tx(class extends ky {+var Gde = /*#__PURE__*/ wx(class extends Oy {static {this.type = "content";}}, function(e) {- let t = (0, D.useContext)(fz), n = _I({+ let t = (0, D.useContext)(dz), n = gI({children: e.children,values: t});- return /*#__PURE__*/ D.createElement(kI.Provider, { value: DI }, n.children);-}), fz = /*#__PURE__*/ (0, D.createContext)(null), Gde = /*#__PURE__*/ Ex(class extends ky {+ return /*#__PURE__*/ D.createElement(OI.Provider, { value: EI }, n.children);+}), dz = /*#__PURE__*/ (0, D.createContext)(null), Kde = /*#__PURE__*/ Tx(class extends Oy {static {this.type = "item";}}, (e, t, n) => {- let r = (0, D.useContext)(uz);- t = fx(t);- let { dragAndDropHooks: i, dragState: a, dropState: o } = (0, D.useContext)(ML), s = a && !(a.isDisabled || a.selectionManager.isDisabled(n.key)), { rowProps: c, gridCellProps: l, expandButtonProps: u, descriptionProps: d, ...f } = fk({+ let r = (0, D.useContext)(lz);+ t = dx(t);+ let { dragAndDropHooks: i, dragState: a, dropState: o } = (0, D.useContext)(jL), s = a && !(a.isDisabled || a.selectionManager.isDisabled(n.key)), { rowProps: c, gridCellProps: l, expandButtonProps: u, descriptionProps: d, ...f } = dk({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: _ } = iT({+ }, 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: _ } = rT({isDisabled: !f.allowsSelection && !f.hasAction && !s,onHoverStart: e.onHoverStart,onHoverChange: e.onHoverChange,onHoverEnd: e.onHoverEnd- }), { isFocusVisible: v, focusProps: y } = eT(), { isFocusVisible: b, focusProps: x } = eT({ within: !0 }), { checkboxProps: S } = wae({ key: n.key }, r), C = null;+ }), { isFocusVisible: v, focusProps: y } = $w(), { isFocusVisible: b, focusProps: x } = $w({ within: !0 }), { checkboxProps: S } = Tae({ key: n.key }, r), C = null;a && i && (C = i.useDraggableItem({key: n.key,hasDragButton: !0}, a));- let w = null, T = (0, D.useRef)(null), E = (0, D.useRef)(null), O = (0, D.useRef)(null), { visuallyHiddenProps: k } = FC();+ let w = null, T = (0, D.useRef)(null), E = (0, D.useRef)(null), O = (0, D.useRef)(null), { visuallyHiddenProps: k } = PC();o && i && (w = i.useDropIndicator({target: {type: "item",@@ -41248,7 +41248,7 @@ var Wde = /*#__PURE__*/ Tx(class extends ky {j,N,M- ]), te = _I({+ ]), te = gI({...e,id: void 0,children: n.rendered,@@ -41265,7 +41265,7 @@ var Wde = /*#__PURE__*/ Tx(class extends ky {(0, D.useEffect)(() => {a && P.current;}, []);- let ne = Ly({+ let ne = Iy({items: r.collection.getChildren(n.key),children: (e) => {switch (e.type) {@@ -41275,7 +41275,7 @@ var Wde = /*#__PURE__*/ Tx(class extends ky {default: throw Error("Unsupported element type in TreeRow: " + e.type);}}- }), F = tx(), re = pS(e, { global: !0 });+ }), F = ex(), re = fS(e, { global: !0 });return delete re.id, delete re.onClick, /*#__PURE__*/ D.createElement(D.Fragment, null, w && !w.isHidden && /*#__PURE__*/ D.createElement("div", {role: "row","aria-level": c["aria-level"],@@ -41298,7 +41298,7 @@ var Wde = /*#__PURE__*/ Tx(class extends ky {"aria-labelledby": `${F} ${c.id}`,tabIndex: -1,ref: O- }))), /*#__PURE__*/ D.createElement(CI.div, {+ }))), /*#__PURE__*/ D.createElement(SI.div, {...K(re, c, y, g, x, C?.dragProps),...te,ref: t,@@ -41318,17 +41318,17 @@ var Wde = /*#__PURE__*/ Tx(class extends ky {}, /*#__PURE__*/ D.createElement("div", {...l,style: { display: "contents" }- }, /*#__PURE__*/ D.createElement(gI, { values: [- [BI, { slots: {- [hI]: {},+ }, /*#__PURE__*/ D.createElement(hI, { values: [+ [zI, { slots: {+ [mI]: {},selection: S} }],- [VI, { slots: {- [hI]: {},+ [BI, { slots: {+ [mI]: {},selection: S} }],- [NI, { slots: {- [hI]: {},+ [MI, { slots: {+ [mI]: {},chevron: {...u,ref: T@@ -41339,13 +41339,13 @@ var Wde = /*#__PURE__*/ Tx(class extends ky {style: { pointerEvents: "none" }}} }],- [fz, { ...ee }],- [RL, { isSelected: f.isSelected }]+ [dz, { ...ee }],+ [LL, { isSelected: f.isSelected }]] }, ne))));});-Tx(jy, function(e, t, n) {- let { isVirtualized: r } = (0, D.useContext)(kI), i = (0, D.useContext)(uz), { isLoading: a, onLoadMore: o, scrollOffset: s, ...c } = e, l = (0, D.useRef)(null);- ZL((0, D.useMemo)(() => ({+wx(Ay, function(e, t, n) {+ let { isVirtualized: r } = (0, D.useContext)(OI), i = (0, D.useContext)(lz), { isLoading: a, onLoadMore: o, scrollOffset: s, ...c } = e, l = (0, D.useRef)(null);+ XL((0, D.useMemo)(() => ({onLoadMore: o,collection: i?.collection,sentinelRef: l,@@ -41354,11 +41354,11 @@ Tx(jy, function(e, t, n) {o,s,i?.collection- ]), l), t = fx(t);- let { rowProps: u, gridCellProps: d } = fk({ node: n }, i, t), f = u["aria-level"] || 1, p = {+ ]), l), t = dx(t);+ let { rowProps: u, gridCellProps: d } = dk({ node: n }, i, t), f = u["aria-level"] || 1, p = {role: "row","aria-level": u["aria-level"]- }, m = _I({+ }, m = gI({...c,id: void 0,children: n.rendered,@@ -41371,7 +41371,7 @@ Tx(jy, function(e, t, n) {width: 0,height: 0},- inert: BL(!0)+ inert: zL(!0)}, /*#__PURE__*/ D.createElement("div", {"data-testid": "loadMoreSentinel",ref: l,@@ -41380,9 +41380,9 @@ Tx(jy, function(e, t, n) {height: 1,width: 1}- })), a && m.children && /*#__PURE__*/ D.createElement(CI.div, {+ })), a && m.children && /*#__PURE__*/ D.createElement(SI.div, {ref: t,- ...K(pS(e), p),+ ...K(fS(e), p),...m,"data-level": f}, /*#__PURE__*/ D.createElement("div", {@@ -41390,12 +41390,12 @@ Tx(jy, function(e, t, n) {style: h}, m.children)));});-function Kde(e, t) {- t = fx(t);- let { dragAndDropHooks: n, dropState: r } = (0, D.useContext)(ML), i = (0, D.useRef)(null), { dropIndicatorProps: a, isHidden: o, isDropTarget: s } = n.useDropIndicator(e, r, i);+function qde(e, t) {+ t = dx(t);+ let { dragAndDropHooks: n, dropState: r } = (0, D.useContext)(jL), i = (0, D.useRef)(null), { dropIndicatorProps: a, isHidden: o, isDropTarget: s } = n.useDropIndicator(e, r, i);if (o) return null;let c = r && e.target.type === "item" ? (r.collection.getItem(e.target.key)?.level || 0) + 1 : 1;- return /*#__PURE__*/ D.createElement(Jde, {+ return /*#__PURE__*/ D.createElement(Yde, {...e,dropIndicatorProps: a,isDropTarget: s,@@ -41404,8 +41404,8 @@ function Kde(e, t) {level: c});}-function qde(e, t) {- let { dropIndicatorProps: n, isDropTarget: r, buttonRef: i, level: a, ...o } = e, { visuallyHiddenProps: s } = FC(), c = _I({+function Jde(e, t) {+ let { dropIndicatorProps: n, isDropTarget: r, buttonRef: i, level: a, ...o } = e, { visuallyHiddenProps: s } = PC(), c = gI({...o,defaultClassName: "react-aria-DropIndicator",defaultStyle: {@@ -41414,7 +41414,7 @@ function qde(e, t) {},values: { isDropTarget: r }});- return /*#__PURE__*/ D.createElement(CI.div, {+ return /*#__PURE__*/ D.createElement(SI.div, {...c,role: "row","aria-level": a,@@ -41427,9 +41427,9 @@ function qde(e, t) {ref: i}), c.children));}-var Jde = /*#__PURE__*/ (0, D.forwardRef)(qde);-function Yde() {- let { dragAndDropHooks: e, dropState: t } = (0, D.useContext)(ML), n = (0, D.useRef)(null), { dropIndicatorProps: r } = e.useDropIndicator({ target: { type: "root" } }, t, n), i = t.isDropTarget({ type: "root" }), { visuallyHiddenProps: a } = FC();+var Yde = /*#__PURE__*/ (0, D.forwardRef)(Jde);+function Xde() {+ let { dragAndDropHooks: e, dropState: t } = (0, D.useContext)(jL), n = (0, D.useRef)(null), { dropIndicatorProps: r } = e.useDropIndicator({ target: { type: "root" } }, t, n), i = t.isDropTarget({ type: "root" }), { visuallyHiddenProps: a } = PC();return !i && r["aria-hidden"] ? null : /*#__PURE__*/ D.createElement("div", {role: "row","aria-hidden": r["aria-hidden"],@@ -41441,14 +41441,14 @@ function Yde() {ref: n})));}-function Xde(e, t) {+function Zde(e, t) {if (e.size !== t.size) return !1;for (let n of e) if (!t.has(n)) return !1;return !0;}//#endregion//#region node_modules/@remixicon/react/index.mjs-var Zde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {+var Qde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41456,7 +41456,7 @@ var Zde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Dfill: e,...r,className: "remixicon " + (n || "")-}, D.createElement("path", { d: "M11 11V5H13V11H19V13H13V19H11V13H5V11H11Z" })), Qde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {+}, D.createElement("path", { d: "M11 11V5H13V11H19V13H13V19H11V13H5V11H11Z" })), $de = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41464,7 +41464,7 @@ var Zde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Dfill: e,...r,className: "remixicon " + (n || "")-}, D.createElement("path", { d: "M13.0001 16.1716L18.3641 10.8076L19.7783 12.2218L12.0001 20L4.22192 12.2218L5.63614 10.8076L11.0001 16.1716V4H13.0001V16.1716Z" })), pz = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {+}, D.createElement("path", { d: "M13.0001 16.1716L18.3641 10.8076L19.7783 12.2218L12.0001 20L4.22192 12.2218L5.63614 10.8076L11.0001 16.1716V4H13.0001V16.1716Z" })), fz = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41472,7 +41472,7 @@ var Zde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Dfill: e,...r,className: "remixicon " + (n || "")-}, D.createElement("path", { d: "M11.9999 13.1714L16.9497 8.22168L18.3639 9.63589L11.9999 15.9999L5.63599 9.63589L7.0502 8.22168L11.9999 13.1714Z" })), mz = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {+}, D.createElement("path", { d: "M11.9999 13.1714L16.9497 8.22168L18.3639 9.63589L11.9999 15.9999L5.63599 9.63589L7.0502 8.22168L11.9999 13.1714Z" })), pz = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41480,7 +41480,7 @@ var Zde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Dfill: e,...r,className: "remixicon " + (n || "")-}, D.createElement("path", { d: "M16.1716 10.9999L10.8076 5.63589L12.2218 4.22168L20 11.9999L12.2218 19.778L10.8076 18.3638L16.1716 12.9999H4V10.9999H16.1716Z" })), hz = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {+}, D.createElement("path", { d: "M16.1716 10.9999L10.8076 5.63589L12.2218 4.22168L20 11.9999L12.2218 19.778L10.8076 18.3638L16.1716 12.9999H4V10.9999H16.1716Z" })), mz = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41488,7 +41488,7 @@ var Zde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Dfill: e,...r,className: "remixicon " + (n || "")-}, D.createElement("path", { d: "M13.1717 12.0007L8.22192 7.05093L9.63614 5.63672L16.0001 12.0007L9.63614 18.3646L8.22192 16.9504L13.1717 12.0007Z" })), $de = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {+}, D.createElement("path", { d: "M13.1717 12.0007L8.22192 7.05093L9.63614 5.63672L16.0001 12.0007L9.63614 18.3646L8.22192 16.9504L13.1717 12.0007Z" })), efe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41496,7 +41496,7 @@ var Zde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Dfill: e,...r,className: "remixicon " + (n || "")-}, D.createElement("path", { d: "M13.0001 7.82843V20H11.0001V7.82843L5.63614 13.1924L4.22192 11.7782L12.0001 4L19.7783 11.7782L18.3641 13.1924L13.0001 7.82843Z" })), efe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {+}, D.createElement("path", { d: "M13.0001 7.82843V20H11.0001V7.82843L5.63614 13.1924L4.22192 11.7782L12.0001 4L19.7783 11.7782L18.3641 13.1924L13.0001 7.82843Z" })), tfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41504,7 +41504,7 @@ var Zde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Dfill: e,...r,className: "remixicon " + (n || "")-}, D.createElement("path", { d: "M11.9999 10.8284L7.0502 15.7782L5.63599 14.364L11.9999 8L18.3639 14.364L16.9497 15.7782L11.9999 10.8284Z" })), tfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {+}, D.createElement("path", { d: "M11.9999 10.8284L7.0502 15.7782L5.63599 14.364L11.9999 8L18.3639 14.364L16.9497 15.7782L11.9999 10.8284Z" })), nfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41512,7 +41512,7 @@ var Zde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Dfill: e,...r,className: "remixicon " + (n || "")-}, D.createElement("path", { d: "M5 2H19C19.5523 2 20 2.44772 20 3V22.1433C20 22.4194 19.7761 22.6434 19.5 22.6434C19.4061 22.6434 19.314 22.6168 19.2344 22.5669L12 18.0313L4.76559 22.5669C4.53163 22.7136 4.22306 22.6429 4.07637 22.4089C4.02647 22.3293 4 22.2373 4 22.1433V3C4 2.44772 4.44772 2 5 2ZM18 4H6V19.4324L12 15.6707L18 19.4324V4Z" })), nfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {+}, D.createElement("path", { d: "M5 2H19C19.5523 2 20 2.44772 20 3V22.1433C20 22.4194 19.7761 22.6434 19.5 22.6434C19.4061 22.6434 19.314 22.6168 19.2344 22.5669L12 18.0313L4.76559 22.5669C4.53163 22.7136 4.22306 22.6429 4.07637 22.4089C4.02647 22.3293 4 22.2373 4 22.1433V3C4 2.44772 4.44772 2 5 2ZM18 4H6V19.4324L12 15.6707L18 19.4324V4Z" })), rfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41520,7 +41520,7 @@ var Zde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Dfill: e,...r,className: "remixicon " + (n || "")-}, D.createElement("path", { d: "M21 19H23V21H1V19H3V4C3 3.44772 3.44772 3 4 3H14C14.5523 3 15 3.44772 15 4V19H19V11H17V9H20C20.5523 9 21 9.44772 21 10V19ZM5 5V19H13V5H5ZM7 11H11V13H7V11ZM7 7H11V9H7V7Z" })), rfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {+}, D.createElement("path", { d: "M21 19H23V21H1V19H3V4C3 3.44772 3.44772 3 4 3H14C14.5523 3 15 3.44772 15 4V19H19V11H17V9H20C20.5523 9 21 9.44772 21 10V19ZM5 5V19H13V5H5ZM7 11H11V13H7V11ZM7 7H11V9H7V7Z" })), ife = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41528,7 +41528,7 @@ var Zde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Dfill: e,...r,className: "remixicon " + (n || "")-}, D.createElement("path", { d: "M9 1V3H15V1H17V3H21C21.5523 3 22 3.44772 22 4V20C22 20.5523 21.5523 21 21 21H3C2.44772 21 2 20.5523 2 20V4C2 3.44772 2.44772 3 3 3H7V1H9ZM20 11H4V19H20V11ZM7 5H4V9H20V5H17V7H15V5H9V7H7V5Z" })), ife = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {+}, D.createElement("path", { d: "M9 1V3H15V1H17V3H21C21.5523 3 22 3.44772 22 4V20C22 20.5523 21.5523 21 21 21H3C2.44772 21 2 20.5523 2 20V4C2 3.44772 2.44772 3 3 3H7V1H9ZM20 11H4V19H20V11ZM7 5H4V9H20V5H17V7H15V5H9V7H7V5Z" })), afe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41536,7 +41536,7 @@ var Zde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Dfill: e,...r,className: "remixicon " + (n || "")-}, D.createElement("path", { d: "M7.29117 20.8242L2 22L3.17581 16.7088C2.42544 15.3056 2 13.7025 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22C10.2975 22 8.6944 21.5746 7.29117 20.8242ZM7.58075 18.711L8.23428 19.0605C9.38248 19.6745 10.6655 20 12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 13.3345 4.32549 14.6175 4.93949 15.7657L5.28896 16.4192L4.63416 19.3658L7.58075 18.711Z" })), afe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {+}, D.createElement("path", { d: "M7.29117 20.8242L2 22L3.17581 16.7088C2.42544 15.3056 2 13.7025 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22C10.2975 22 8.6944 21.5746 7.29117 20.8242ZM7.58075 18.711L8.23428 19.0605C9.38248 19.6745 10.6655 20 12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 13.3345 4.32549 14.6175 4.93949 15.7657L5.28896 16.4192L4.63416 19.3658L7.58075 18.711Z" })), ofe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41544,7 +41544,7 @@ var Zde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Dfill: e,...r,className: "remixicon " + (n || "")-}, D.createElement("path", { d: "M11.602 13.7599L13.014 15.1719L21.4795 6.7063L22.8938 8.12051L13.014 18.0003L6.65 11.6363L8.06421 10.2221L10.189 12.3469L11.6025 13.7594L11.602 13.7599ZM11.6037 10.9322L16.5563 5.97949L17.9666 7.38977L13.014 12.3424L11.6037 10.9322ZM8.77698 16.5873L7.36396 18.0003L1 11.6363L2.41421 10.2221L3.82723 11.6352L3.82604 11.6363L8.77698 16.5873Z" })), ofe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {+}, D.createElement("path", { d: "M11.602 13.7599L13.014 15.1719L21.4795 6.7063L22.8938 8.12051L13.014 18.0003L6.65 11.6363L8.06421 10.2221L10.189 12.3469L11.6025 13.7594L11.602 13.7599ZM11.6037 10.9322L16.5563 5.97949L17.9666 7.38977L13.014 12.3424L11.6037 10.9322ZM8.77698 16.5873L7.36396 18.0003L1 11.6363L2.41421 10.2221L3.82723 11.6352L3.82604 11.6363L8.77698 16.5873Z" })), sfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41552,7 +41552,7 @@ var Zde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Dfill: e,...r,className: "remixicon " + (n || "")-}, D.createElement("path", { d: "M9.9997 15.1709L19.1921 5.97852L20.6063 7.39273L9.9997 17.9993L3.63574 11.6354L5.04996 10.2212L9.9997 15.1709Z" })), sfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {+}, D.createElement("path", { d: "M9.9997 15.1709L19.1921 5.97852L20.6063 7.39273L9.9997 17.9993L3.63574 11.6354L5.04996 10.2212L9.9997 15.1709Z" })), cfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41560,7 +41560,7 @@ var Zde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Dfill: e,...r,className: "remixicon " + (n || "")-}, D.createElement("path", { d: "M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20Z" })), cfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {+}, D.createElement("path", { d: "M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20Z" })), lfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41568,7 +41568,7 @@ var Zde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Dfill: e,...r,className: "remixicon " + (n || "")-}, D.createElement("path", { d: "M4 12C4 7.58172 7.58172 4 12 4C16.4183 4 20 7.58172 20 12C20 16.4183 16.4183 20 12 20C7.58172 20 4 16.4183 4 12ZM12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2ZM17.4571 9.45711L16.0429 8.04289L11 13.0858L8.20711 10.2929L6.79289 11.7071L11 15.9142L17.4571 9.45711Z" })), gz = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {+}, D.createElement("path", { d: "M4 12C4 7.58172 7.58172 4 12 4C16.4183 4 20 7.58172 20 12C20 16.4183 16.4183 20 12 20C7.58172 20 4 16.4183 4 12ZM12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2ZM17.4571 9.45711L16.0429 8.04289L11 13.0858L8.20711 10.2929L6.79289 11.7071L11 15.9142L17.4571 9.45711Z" })), hz = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41576,7 +41576,7 @@ var Zde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Dfill: e,...r,className: "remixicon " + (n || "")-}, D.createElement("path", { d: "M11.9997 10.5865L16.9495 5.63672L18.3637 7.05093L13.4139 12.0007L18.3637 16.9504L16.9495 18.3646L11.9997 13.4149L7.04996 18.3646L5.63574 16.9504L10.5855 12.0007L5.63574 7.05093L7.04996 5.63672L11.9997 10.5865Z" })), lfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {+}, D.createElement("path", { d: "M11.9997 10.5865L16.9495 5.63672L18.3637 7.05093L13.4139 12.0007L18.3637 16.9504L16.9495 18.3646L11.9997 13.4149L7.04996 18.3646L5.63574 16.9504L10.5855 12.0007L5.63574 7.05093L7.04996 5.63672L11.9997 10.5865Z" })), ufe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41584,7 +41584,7 @@ var Zde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Dfill: e,...r,className: "remixicon " + (n || "")-}, D.createElement("path", { d: "M12 2C15.866 2 19 5.13401 19 9C19 9.11351 18.9973 9.22639 18.992 9.33857C21.3265 10.16 23 12.3846 23 15C23 18.3137 20.3137 21 17 21H7C3.68629 21 1 18.3137 1 15C1 12.3846 2.67346 10.16 5.00804 9.33857C5.0027 9.22639 5 9.11351 5 9C5 5.13401 8.13401 2 12 2ZM12 4C9.23858 4 7 6.23858 7 9C7 9.08147 7.00193 9.16263 7.00578 9.24344L7.07662 10.7309L5.67183 11.2252C4.0844 11.7837 3 13.2889 3 15C3 17.2091 4.79086 19 7 19H17C19.2091 19 21 17.2091 21 15C21 12.79 19.21 11 17 11C15.233 11 13.7337 12.1457 13.2042 13.7347L11.3064 13.1021C12.1005 10.7185 14.35 9 17 9C17 6.23858 14.7614 4 12 4Z" })), ufe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {+}, D.createElement("path", { d: "M12 2C15.866 2 19 5.13401 19 9C19 9.11351 18.9973 9.22639 18.992 9.33857C21.3265 10.16 23 12.3846 23 15C23 18.3137 20.3137 21 17 21H7C3.68629 21 1 18.3137 1 15C1 12.3846 2.67346 10.16 5.00804 9.33857C5.0027 9.22639 5 9.11351 5 9C5 5.13401 8.13401 2 12 2ZM12 4C9.23858 4 7 6.23858 7 9C7 9.08147 7.00193 9.16263 7.00578 9.24344L7.07662 10.7309L5.67183 11.2252C4.0844 11.7837 3 13.2889 3 15C3 17.2091 4.79086 19 7 19H17C19.2091 19 21 17.2091 21 15C21 12.79 19.21 11 17 11C15.233 11 13.7337 12.1457 13.2042 13.7347L11.3064 13.1021C12.1005 10.7185 14.35 9 17 9C17 6.23858 14.7614 4 12 4Z" })), dfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41592,7 +41592,7 @@ var Zde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Dfill: e,...r,className: "remixicon " + (n || "")-}, D.createElement("path", { d: "M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20ZM15.5 8.5L13.5 13.5L8.5 15.5L10.5 10.5L15.5 8.5Z" })), dfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {+}, D.createElement("path", { d: "M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20ZM15.5 8.5L13.5 13.5L8.5 15.5L10.5 10.5L15.5 8.5Z" })), ffe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41600,7 +41600,7 @@ var Zde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Dfill: e,...r,className: "remixicon " + (n || "")-}, D.createElement("path", { d: "M5 12.5C5 12.8134 5.46101 13.3584 6.53047 13.8931C7.91405 14.5849 9.87677 15 12 15C14.1232 15 16.0859 14.5849 17.4695 13.8931C18.539 13.3584 19 12.8134 19 12.5V10.3287C17.35 11.3482 14.8273 12 12 12C9.17273 12 6.64996 11.3482 5 10.3287V12.5ZM19 15.3287C17.35 16.3482 14.8273 17 12 17C9.17273 17 6.64996 16.3482 5 15.3287V17.5C5 17.8134 5.46101 18.3584 6.53047 18.8931C7.91405 19.5849 9.87677 20 12 20C14.1232 20 16.0859 19.5849 17.4695 18.8931C18.539 18.3584 19 17.8134 19 17.5V15.3287ZM3 17.5V7.5C3 5.01472 7.02944 3 12 3C16.9706 3 21 5.01472 21 7.5V17.5C21 19.9853 16.9706 22 12 22C7.02944 22 3 19.9853 3 17.5ZM12 10C14.1232 10 16.0859 9.58492 17.4695 8.89313C18.539 8.3584 19 7.81342 19 7.5C19 7.18658 18.539 6.6416 17.4695 6.10687C16.0859 5.41508 14.1232 5 12 5C9.87677 5 7.91405 5.41508 6.53047 6.10687C5.46101 6.6416 5 7.18658 5 7.5C5 7.81342 5.46101 8.3584 6.53047 8.89313C7.91405 9.58492 9.87677 10 12 10Z" })), ffe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {+}, D.createElement("path", { d: "M5 12.5C5 12.8134 5.46101 13.3584 6.53047 13.8931C7.91405 14.5849 9.87677 15 12 15C14.1232 15 16.0859 14.5849 17.4695 13.8931C18.539 13.3584 19 12.8134 19 12.5V10.3287C17.35 11.3482 14.8273 12 12 12C9.17273 12 6.64996 11.3482 5 10.3287V12.5ZM19 15.3287C17.35 16.3482 14.8273 17 12 17C9.17273 17 6.64996 16.3482 5 15.3287V17.5C5 17.8134 5.46101 18.3584 6.53047 18.8931C7.91405 19.5849 9.87677 20 12 20C14.1232 20 16.0859 19.5849 17.4695 18.8931C18.539 18.3584 19 17.8134 19 17.5V15.3287ZM3 17.5V7.5C3 5.01472 7.02944 3 12 3C16.9706 3 21 5.01472 21 7.5V17.5C21 19.9853 16.9706 22 12 22C7.02944 22 3 19.9853 3 17.5ZM12 10C14.1232 10 16.0859 9.58492 17.4695 8.89313C18.539 8.3584 19 7.81342 19 7.5C19 7.18658 18.539 6.6416 17.4695 6.10687C16.0859 5.41508 14.1232 5 12 5C9.87677 5 7.91405 5.41508 6.53047 6.10687C5.46101 6.6416 5 7.18658 5 7.5C5 7.81342 5.46101 8.3584 6.53047 8.89313C7.91405 9.58492 9.87677 10 12 10Z" })), pfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41608,7 +41608,7 @@ var Zde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Dfill: e,...r,className: "remixicon " + (n || "")-}, D.createElement("path", { d: "M17 6H22V8H20V21C20 21.5523 19.5523 22 19 22H5C4.44772 22 4 21.5523 4 21V8H2V6H7V3C7 2.44772 7.44772 2 8 2H16C16.5523 2 17 2.44772 17 3V6ZM18 8H6V20H18V8ZM9 11H11V17H9V11ZM13 11H15V17H13V11ZM9 4V6H15V4H9Z" })), pfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {+}, D.createElement("path", { d: "M17 6H22V8H20V21C20 21.5523 19.5523 22 19 22H5C4.44772 22 4 21.5523 4 21V8H2V6H7V3C7 2.44772 7.44772 2 8 2H16C16.5523 2 17 2.44772 17 3V6ZM18 8H6V20H18V8ZM9 11H11V17H9V11ZM13 11H15V17H13V11ZM9 4V6H15V4H9Z" })), mfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41616,7 +41616,7 @@ var Zde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Dfill: e,...r,className: "remixicon " + (n || "")-}, D.createElement("path", { d: "M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20ZM11 15H13V17H11V15ZM11 7H13V13H11V7Z" })), _z = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {+}, D.createElement("path", { d: "M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20ZM11 15H13V17H11V15ZM11 7H13V13H11V7Z" })), gz = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41624,7 +41624,7 @@ var Zde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Dfill: e,...r,className: "remixicon " + (n || "")-}, D.createElement("path", { d: "M10 6V8H5V19H16V14H18V20C18 20.5523 17.5523 21 17 21H4C3.44772 21 3 20.5523 3 20V7C3 6.44772 3.44772 6 4 6H10ZM21 3V11H19L18.9999 6.413L11.2071 14.2071L9.79289 12.7929L17.5849 5H13V3H21Z" })), mfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {+}, D.createElement("path", { d: "M10 6V8H5V19H16V14H18V20C18 20.5523 17.5523 21 17 21H4C3.44772 21 3 20.5523 3 20V7C3 6.44772 3.44772 6 4 6H10ZM21 3V11H19L18.9999 6.413L11.2071 14.2071L9.79289 12.7929L17.5849 5H13V3H21Z" })), hfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41632,7 +41632,7 @@ var Zde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Dfill: e,...r,className: "remixicon " + (n || "")-}, D.createElement("path", { d: "M12.0003 3C17.3924 3 21.8784 6.87976 22.8189 12C21.8784 17.1202 17.3924 21 12.0003 21C6.60812 21 2.12215 17.1202 1.18164 12C2.12215 6.87976 6.60812 3 12.0003 3ZM12.0003 19C16.2359 19 19.8603 16.052 20.7777 12C19.8603 7.94803 16.2359 5 12.0003 5C7.7646 5 4.14022 7.94803 3.22278 12C4.14022 16.052 7.7646 19 12.0003 19ZM12.0003 16.5C9.51498 16.5 7.50026 14.4853 7.50026 12C7.50026 9.51472 9.51498 7.5 12.0003 7.5C14.4855 7.5 16.5003 9.51472 16.5003 12C16.5003 14.4853 14.4855 16.5 12.0003 16.5ZM12.0003 14.5C13.381 14.5 14.5003 13.3807 14.5003 12C14.5003 10.6193 13.381 9.5 12.0003 9.5C10.6196 9.5 9.50026 10.6193 9.50026 12C9.50026 13.3807 10.6196 14.5 12.0003 14.5Z" })), hfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {+}, D.createElement("path", { d: "M12.0003 3C17.3924 3 21.8784 6.87976 22.8189 12C21.8784 17.1202 17.3924 21 12.0003 21C6.60812 21 2.12215 17.1202 1.18164 12C2.12215 6.87976 6.60812 3 12.0003 3ZM12.0003 19C16.2359 19 19.8603 16.052 20.7777 12C19.8603 7.94803 16.2359 5 12.0003 5C7.7646 5 4.14022 7.94803 3.22278 12C4.14022 16.052 7.7646 19 12.0003 19ZM12.0003 16.5C9.51498 16.5 7.50026 14.4853 7.50026 12C7.50026 9.51472 9.51498 7.5 12.0003 7.5C14.4855 7.5 16.5003 9.51472 16.5003 12C16.5003 14.4853 14.4855 16.5 12.0003 16.5ZM12.0003 14.5C13.381 14.5 14.5003 13.3807 14.5003 12C14.5003 10.6193 13.381 9.5 12.0003 9.5C10.6196 9.5 9.50026 10.6193 9.50026 12C9.50026 13.3807 10.6196 14.5 12.0003 14.5Z" })), gfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41640,7 +41640,7 @@ var Zde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Dfill: e,...r,className: "remixicon " + (n || "")-}, D.createElement("path", { d: "M6.9998 6V3C6.9998 2.44772 7.44752 2 7.9998 2H19.9998C20.5521 2 20.9998 2.44772 20.9998 3V17C20.9998 17.5523 20.5521 18 19.9998 18H16.9998V20.9991C16.9998 21.5519 16.5499 22 15.993 22H4.00666C3.45059 22 3 21.5554 3 20.9991L3.0026 7.00087C3.0027 6.44811 3.45264 6 4.00942 6H6.9998ZM5.00242 8L5.00019 20H14.9998V8H5.00242ZM8.9998 6H16.9998V16H18.9998V4H8.9998V6Z" })), gfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {+}, D.createElement("path", { d: "M6.9998 6V3C6.9998 2.44772 7.44752 2 7.9998 2H19.9998C20.5521 2 20.9998 2.44772 20.9998 3V17C20.9998 17.5523 20.5521 18 19.9998 18H16.9998V20.9991C16.9998 21.5519 16.5499 22 15.993 22H4.00666C3.45059 22 3 21.5554 3 20.9991L3.0026 7.00087C3.0027 6.44811 3.45264 6 4.00942 6H6.9998ZM5.00242 8L5.00019 20H14.9998V8H5.00242ZM8.9998 6H16.9998V16H18.9998V4H8.9998V6Z" })), _fe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41648,7 +41648,7 @@ var Zde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Dfill: e,...r,className: "remixicon " + (n || "")-}, D.createElement("path", { d: "M9 2.00318V2H19.9978C20.5513 2 21 2.45531 21 2.9918V21.0082C21 21.556 20.5551 22 20.0066 22H3.9934C3.44476 22 3 21.5501 3 20.9932V8L9 2.00318ZM5.82918 8H9V4.83086L5.82918 8ZM11 4V9C11 9.55228 10.5523 10 10 10H5V20H19V4H11Z" })), _fe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {+}, D.createElement("path", { d: "M9 2.00318V2H19.9978C20.5513 2 21 2.45531 21 2.9918V21.0082C21 21.556 20.5551 22 20.0066 22H3.9934C3.44476 22 3 21.5501 3 20.9932V8L9 2.00318ZM5.82918 8H9V4.83086L5.82918 8ZM11 4V9C11 9.55228 10.5523 10 10 10H5V20H19V4H11Z" })), vfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41656,7 +41656,7 @@ var Zde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Dfill: e,...r,className: "remixicon " + (n || "")-}, D.createElement("path", { d: "M20 22H4C3.44772 22 3 21.5523 3 21V3C3 2.44772 3.44772 2 4 2H20C20.5523 2 21 2.44772 21 3V21C21 21.5523 20.5523 22 20 22ZM19 20V4H5V20H19ZM8 7H16V9H8V7ZM8 11H16V13H8V11ZM8 15H13V17H8V15Z" })), vfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {+}, D.createElement("path", { d: "M20 22H4C3.44772 22 3 21.5523 3 21V3C3 2.44772 3.44772 2 4 2H20C20.5523 2 21 2.44772 21 3V21C21 21.5523 20.5523 22 20 22ZM19 20V4H5V20H19ZM8 7H16V9H8V7ZM8 11H16V13H8V11ZM8 15H13V17H8V15Z" })), yfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41664,7 +41664,7 @@ var Zde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Dfill: e,...r,className: "remixicon " + (n || "")-}, D.createElement("path", { d: "M20 22H4C3.44772 22 3 21.5523 3 21V3C3 2.44772 3.44772 2 4 2H20C20.5523 2 21 2.44772 21 3V21C21 21.5523 20.5523 22 20 22ZM19 20V4H5V20H19ZM8 7H16V9H8V7ZM8 11H16V13H8V11ZM8 15H16V17H8V15Z" })), yfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {+}, D.createElement("path", { d: "M20 22H4C3.44772 22 3 21.5523 3 21V3C3 2.44772 3.44772 2 4 2H20C20.5523 2 21 2.44772 21 3V21C21 21.5523 20.5523 22 20 22ZM19 20V4H5V20H19ZM8 7H16V9H8V7ZM8 11H16V13H8V11ZM8 15H16V17H8V15Z" })), bfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41672,7 +41672,7 @@ var Zde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Dfill: e,...r,className: "remixicon " + (n || "")-}, D.createElement("path", { d: "M10 18H14V16H10V18ZM3 6V8H21V6H3ZM6 13H18V11H6V13Z" })), vz = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {+}, D.createElement("path", { d: "M10 18H14V16H10V18ZM3 6V8H21V6H3ZM6 13H18V11H6V13Z" })), _z = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41680,7 +41680,7 @@ var Zde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Dfill: e,...r,className: "remixicon " + (n || "")-}, D.createElement("path", { d: "M12.4142 5H21C21.5523 5 22 5.44772 22 6V20C22 20.5523 21.5523 21 21 21H3C2.44772 21 2 20.5523 2 20V4C2 3.44772 2.44772 3 3 3H10.4142L12.4142 5ZM4 7V19H20V7H4Z" })), yz = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {+}, D.createElement("path", { d: "M12.4142 5H21C21.5523 5 22 5.44772 22 6V20C22 20.5523 21.5523 21 21 21H3C2.44772 21 2 20.5523 2 20V4C2 3.44772 2.44772 3 3 3H10.4142L12.4142 5ZM4 7V19H20V7H4Z" })), vz = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41688,7 +41688,7 @@ var Zde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Dfill: e,...r,className: "remixicon " + (n || "")-}, D.createElement("path", { d: "M3 21C2.44772 21 2 20.5523 2 20V4C2 3.44772 2.44772 3 3 3H10.4142L12.4142 5H20C20.5523 5 21 5.44772 21 6V9H19V7H11.5858L9.58579 5H4V16.998L5.5 11H22.5L20.1894 20.2425C20.0781 20.6877 19.6781 21 19.2192 21H3ZM19.9384 13H7.06155L5.56155 19H18.4384L19.9384 13Z" })), bfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {+}, D.createElement("path", { d: "M3 21C2.44772 21 2 20.5523 2 20V4C2 3.44772 2.44772 3 3 3H10.4142L12.4142 5H20C20.5523 5 21 5.44772 21 6V9H19V7H11.5858L9.58579 5H4V16.998L5.5 11H22.5L20.1894 20.2425C20.0781 20.6877 19.6781 21 19.2192 21H3ZM19.9384 13H7.06155L5.56155 19H18.4384L19.9384 13Z" })), xfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41696,7 +41696,7 @@ var Zde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Dfill: e,...r,className: "remixicon " + (n || "")-}, D.createElement("path", { d: "M12.4142 5H21C21.5523 5 22 5.44772 22 6V20C22 20.5523 21.5523 21 21 21H3C2.44772 21 2 20.5523 2 20V4C2 3.44772 2.44772 3 3 3H10.4142L12.4142 5ZM4 5V19H20V7H11.5858L9.58579 5H4ZM8.59114 13.8089C8.52934 13.5486 8.49663 13.277 8.49663 12.9978C8.49663 12.7186 8.52933 12.4471 8.59112 12.1868L7.59998 11.6146L8.59949 9.88335L9.59133 10.456C9.98424 10.0843 10.4633 9.80275 10.9954 9.64438V8.5H12.9944V9.64438C13.5265 9.80274 14.0056 10.0843 14.3985 10.4559L15.3904 9.88325L16.39 11.6145L15.3987 12.1867C15.4605 12.447 15.4932 12.7186 15.4932 12.9978C15.4932 13.277 15.4605 13.5485 15.3987 13.8088L16.39 14.3811L15.3905 16.1123L14.3986 15.5396C14.0057 15.9113 13.5266 16.1928 12.9945 16.3512V17.4956H10.9955V16.3513C10.4634 16.1929 9.98434 15.9114 9.59141 15.5397L8.59954 16.1124L7.59998 14.3812L8.59114 13.8089ZM11.9949 14.4971C12.8229 14.4971 13.4942 13.8258 13.4942 12.9978C13.4942 12.1698 12.8229 11.4985 11.9949 11.4985C11.1669 11.4985 10.4957 12.1698 10.4957 12.9978C10.4957 13.8258 11.1669 14.4971 11.9949 14.4971Z" })), bz = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {+}, D.createElement("path", { d: "M12.4142 5H21C21.5523 5 22 5.44772 22 6V20C22 20.5523 21.5523 21 21 21H3C2.44772 21 2 20.5523 2 20V4C2 3.44772 2.44772 3 3 3H10.4142L12.4142 5ZM4 5V19H20V7H11.5858L9.58579 5H4ZM8.59114 13.8089C8.52934 13.5486 8.49663 13.277 8.49663 12.9978C8.49663 12.7186 8.52933 12.4471 8.59112 12.1868L7.59998 11.6146L8.59949 9.88335L9.59133 10.456C9.98424 10.0843 10.4633 9.80275 10.9954 9.64438V8.5H12.9944V9.64438C13.5265 9.80274 14.0056 10.0843 14.3985 10.4559L15.3904 9.88325L16.39 11.6145L15.3987 12.1867C15.4605 12.447 15.4932 12.7186 15.4932 12.9978C15.4932 13.277 15.4605 13.5485 15.3987 13.8088L16.39 14.3811L15.3905 16.1123L14.3986 15.5396C14.0057 15.9113 13.5266 16.1928 12.9945 16.3512V17.4956H10.9955V16.3513C10.4634 16.1929 9.98434 15.9114 9.59141 15.5397L8.59954 16.1124L7.59998 14.3812L8.59114 13.8089ZM11.9949 14.4971C12.8229 14.4971 13.4942 13.8258 13.4942 12.9978C13.4942 12.1698 12.8229 11.4985 11.9949 11.4985C11.1669 11.4985 10.4957 12.1698 10.4957 12.9978C10.4957 13.8258 11.1669 14.4971 11.9949 14.4971Z" })), yz = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41704,7 +41704,7 @@ var Zde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Dfill: e,...r,className: "remixicon " + (n || "")-}, D.createElement("path", { d: "M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM9.71002 19.6674C8.74743 17.6259 8.15732 15.3742 8.02731 13H4.06189C4.458 16.1765 6.71639 18.7747 9.71002 19.6674ZM10.0307 13C10.1811 15.4388 10.8778 17.7297 12 19.752C13.1222 17.7297 13.8189 15.4388 13.9693 13H10.0307ZM19.9381 13H15.9727C15.8427 15.3742 15.2526 17.6259 14.29 19.6674C17.2836 18.7747 19.542 16.1765 19.9381 13ZM4.06189 11H8.02731C8.15732 8.62577 8.74743 6.37407 9.71002 4.33256C6.71639 5.22533 4.458 7.8235 4.06189 11ZM10.0307 11H13.9693C13.8189 8.56122 13.1222 6.27025 12 4.24799C10.8778 6.27025 10.1811 8.56122 10.0307 11ZM14.29 4.33256C15.2526 6.37407 15.8427 8.62577 15.9727 11H19.9381C19.542 7.8235 17.2836 5.22533 14.29 4.33256Z" })), xz = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {+}, D.createElement("path", { d: "M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM9.71002 19.6674C8.74743 17.6259 8.15732 15.3742 8.02731 13H4.06189C4.458 16.1765 6.71639 18.7747 9.71002 19.6674ZM10.0307 13C10.1811 15.4388 10.8778 17.7297 12 19.752C13.1222 17.7297 13.8189 15.4388 13.9693 13H10.0307ZM19.9381 13H15.9727C15.8427 15.3742 15.2526 17.6259 14.29 19.6674C17.2836 18.7747 19.542 16.1765 19.9381 13ZM4.06189 11H8.02731C8.15732 8.62577 8.74743 6.37407 9.71002 4.33256C6.71639 5.22533 4.458 7.8235 4.06189 11ZM10.0307 11H13.9693C13.8189 8.56122 13.1222 6.27025 12 4.24799C10.8778 6.27025 10.1811 8.56122 10.0307 11ZM14.29 4.33256C15.2526 6.37407 15.8427 8.62577 15.9727 11H19.9381C19.542 7.8235 17.2836 5.22533 14.29 4.33256Z" })), bz = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41712,7 +41712,7 @@ var Zde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Dfill: e,...r,className: "remixicon " + (n || "")-}, D.createElement("path", { d: "M5 14H19V4H5V14ZM5 16V20H19V16H5ZM4 2H20C20.5523 2 21 2.44772 21 3V21C21 21.5523 20.5523 22 20 22H4C3.44772 22 3 21.5523 3 21V3C3 2.44772 3.44772 2 4 2ZM15 17H17V19H15V17Z" })), xfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {+}, D.createElement("path", { d: "M5 14H19V4H5V14ZM5 16V20H19V16H5ZM4 2H20C20.5523 2 21 2.44772 21 3V21C21 21.5523 20.5523 22 20 22H4C3.44772 22 3 21.5523 3 21V3C3 2.44772 3.44772 2 4 2ZM15 17H17V19H15V17Z" })), Sfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41720,7 +41720,7 @@ var Zde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Dfill: e,...r,className: "remixicon " + (n || "")-}, D.createElement("path", { d: "M12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22C6.47715 22 2 17.5228 2 12H4C4 16.4183 7.58172 20 12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C9.25022 4 6.82447 5.38734 5.38451 7.50024L8 7.5V9.5H2V3.5H4L3.99989 5.99918C5.82434 3.57075 8.72873 2 12 2ZM13 7L12.9998 11.585L16.2426 14.8284L14.8284 16.2426L10.9998 12.413L11 7H13Z" })), Sfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {+}, D.createElement("path", { d: "M12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22C6.47715 22 2 17.5228 2 12H4C4 16.4183 7.58172 20 12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C9.25022 4 6.82447 5.38734 5.38451 7.50024L8 7.5V9.5H2V3.5H4L3.99989 5.99918C5.82434 3.57075 8.72873 2 12 2ZM13 7L12.9998 11.585L16.2426 14.8284L14.8284 16.2426L10.9998 12.413L11 7H13Z" })), Cfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41728,7 +41728,7 @@ var Zde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Dfill: e,...r,className: "remixicon " + (n || "")-}, D.createElement("path", { d: "M2.9918 21C2.44405 21 2 20.5551 2 20.0066V3.9934C2 3.44476 2.45531 3 2.9918 3H21.0082C21.556 3 22 3.44495 22 3.9934V20.0066C22 20.5552 21.5447 21 21.0082 21H2.9918ZM20 15V5H4V19L14 9L20 15ZM20 17.8284L14 11.8284L6.82843 19H20V17.8284ZM8 11C6.89543 11 6 10.1046 6 9C6 7.89543 6.89543 7 8 7C9.10457 7 10 7.89543 10 9C10 10.1046 9.10457 11 8 11Z" })), Cfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {+}, D.createElement("path", { d: "M2.9918 21C2.44405 21 2 20.5551 2 20.0066V3.9934C2 3.44476 2.45531 3 2.9918 3H21.0082C21.556 3 22 3.44495 22 3.9934V20.0066C22 20.5552 21.5447 21 21.0082 21H2.9918ZM20 15V5H4V19L14 9L20 15ZM20 17.8284L14 11.8284L6.82843 19H20V17.8284ZM8 11C6.89543 11 6 10.1046 6 9C6 7.89543 6.89543 7 8 7C9.10457 7 10 7.89543 10 9C10 10.1046 9.10457 11 8 11Z" })), wfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41736,7 +41736,7 @@ var Zde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Dfill: e,...r,className: "remixicon " + (n || "")-}, D.createElement("path", { d: "M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM11 11V17H13V11H11ZM11 7V9H13V7H11Z" })), wfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {+}, D.createElement("path", { d: "M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM11 11V17H13V11H11ZM11 7V9H13V7H11Z" })), Tfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41744,7 +41744,7 @@ var Zde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Dfill: e,...r,className: "remixicon " + (n || "")-}, D.createElement("path", { d: "M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20ZM11 7H13V9H11V7ZM11 11H13V17H11V11Z" })), Tfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {+}, D.createElement("path", { d: "M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20ZM11 7H13V9H11V7ZM11 11H13V17H11V11Z" })), Efe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41752,7 +41752,7 @@ var Zde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Dfill: e,...r,className: "remixicon " + (n || "")-}, D.createElement("path", { d: "M10.7577 11.8281L18.6066 3.97919L20.0208 5.3934L18.6066 6.80761L21.0815 9.28249L19.6673 10.6967L17.1924 8.22183L15.7782 9.63604L17.8995 11.7574L16.4853 13.1716L14.364 11.0503L12.1719 13.2423C13.4581 15.1837 13.246 17.8251 11.5355 19.5355C9.58291 21.4882 6.41709 21.4882 4.46447 19.5355C2.51184 17.5829 2.51184 14.4171 4.46447 12.4645C6.17493 10.754 8.81633 10.5419 10.7577 11.8281ZM10.1213 18.1213C11.2929 16.9497 11.2929 15.0503 10.1213 13.8787C8.94975 12.7071 7.05025 12.7071 5.87868 13.8787C4.70711 15.0503 4.70711 16.9497 5.87868 18.1213C7.05025 19.2929 8.94975 19.2929 10.1213 18.1213Z" })), Sz = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {+}, D.createElement("path", { d: "M10.7577 11.8281L18.6066 3.97919L20.0208 5.3934L18.6066 6.80761L21.0815 9.28249L19.6673 10.6967L17.1924 8.22183L15.7782 9.63604L17.8995 11.7574L16.4853 13.1716L14.364 11.0503L12.1719 13.2423C13.4581 15.1837 13.246 17.8251 11.5355 19.5355C9.58291 21.4882 6.41709 21.4882 4.46447 19.5355C2.51184 17.5829 2.51184 14.4171 4.46447 12.4645C6.17493 10.754 8.81633 10.5419 10.7577 11.8281ZM10.1213 18.1213C11.2929 16.9497 11.2929 15.0503 10.1213 13.8787C8.94975 12.7071 7.05025 12.7071 5.87868 13.8787C4.70711 15.0503 4.70711 16.9497 5.87868 18.1213C7.05025 19.2929 8.94975 19.2929 10.1213 18.1213Z" })), xz = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41760,7 +41760,7 @@ var Zde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Dfill: e,...r,className: "remixicon " + (n || "")-}, D.createElement("path", { d: "M21 3C21.5523 3 22 3.44772 22 4V20C22 20.5523 21.5523 21 21 21H3C2.44772 21 2 20.5523 2 20V4C2 3.44772 2.44772 3 3 3H21ZM11 13H4V19H11V13ZM20 13H13V19H20V13ZM11 5H4V11H11V5ZM20 5H13V11H20V5Z" })), Efe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {+}, D.createElement("path", { d: "M21 3C21.5523 3 22 3.44772 22 4V20C22 20.5523 21.5523 21 21 21H3C2.44772 21 2 20.5523 2 20V4C2 3.44772 2.44772 3 3 3H21ZM11 13H4V19H11V13ZM20 13H13V19H20V13ZM11 5H4V11H11V5ZM20 5H13V11H20V5Z" })), Dfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41768,7 +41768,7 @@ var Zde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Dfill: e,...r,className: "remixicon " + (n || "")-}, D.createElement("path", { d: "M18.3638 15.5355L16.9496 14.1213L18.3638 12.7071C20.3164 10.7545 20.3164 7.58866 18.3638 5.63604C16.4112 3.68341 13.2453 3.68341 11.2927 5.63604L9.87849 7.05025L8.46428 5.63604L9.87849 4.22182C12.6122 1.48815 17.0443 1.48815 19.778 4.22182C22.5117 6.95549 22.5117 11.3876 19.778 14.1213L18.3638 15.5355ZM15.5353 18.364L14.1211 19.7782C11.3875 22.5118 6.95531 22.5118 4.22164 19.7782C1.48797 17.0445 1.48797 12.6123 4.22164 9.87868L5.63585 8.46446L7.05007 9.87868L5.63585 11.2929C3.68323 13.2455 3.68323 16.4113 5.63585 18.364C7.58847 20.3166 10.7543 20.3166 12.7069 18.364L14.1211 16.9497L15.5353 18.364ZM14.8282 7.75736L16.2425 9.17157L9.17139 16.2426L7.75717 14.8284L14.8282 7.75736Z" })), Dfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {+}, D.createElement("path", { d: "M18.3638 15.5355L16.9496 14.1213L18.3638 12.7071C20.3164 10.7545 20.3164 7.58866 18.3638 5.63604C16.4112 3.68341 13.2453 3.68341 11.2927 5.63604L9.87849 7.05025L8.46428 5.63604L9.87849 4.22182C12.6122 1.48815 17.0443 1.48815 19.778 4.22182C22.5117 6.95549 22.5117 11.3876 19.778 14.1213L18.3638 15.5355ZM15.5353 18.364L14.1211 19.7782C11.3875 22.5118 6.95531 22.5118 4.22164 19.7782C1.48797 17.0445 1.48797 12.6123 4.22164 9.87868L5.63585 8.46446L7.05007 9.87868L5.63585 11.2929C3.68323 13.2455 3.68323 16.4113 5.63585 18.364C7.58847 20.3166 10.7543 20.3166 12.7069 18.364L14.1211 16.9497L15.5353 18.364ZM14.8282 7.75736L16.2425 9.17157L9.17139 16.2426L7.75717 14.8284L14.8282 7.75736Z" })), Ofe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41776,7 +41776,7 @@ var Zde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Dfill: e,...r,className: "remixicon " + (n || "")-}, D.createElement("path", { d: "M8 4H21V6H8V4ZM4.5 6.5C3.67157 6.5 3 5.82843 3 5C3 4.17157 3.67157 3.5 4.5 3.5C5.32843 3.5 6 4.17157 6 5C6 5.82843 5.32843 6.5 4.5 6.5ZM4.5 13.5C3.67157 13.5 3 12.8284 3 12C3 11.1716 3.67157 10.5 4.5 10.5C5.32843 10.5 6 11.1716 6 12C6 12.8284 5.32843 13.5 4.5 13.5ZM4.5 20.4C3.67157 20.4 3 19.7284 3 18.9C3 18.0716 3.67157 17.4 4.5 17.4C5.32843 17.4 6 18.0716 6 18.9C6 19.7284 5.32843 20.4 4.5 20.4ZM8 11H21V13H8V11ZM8 18H21V20H8V18Z" })), Cz = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {+}, D.createElement("path", { d: "M8 4H21V6H8V4ZM4.5 6.5C3.67157 6.5 3 5.82843 3 5C3 4.17157 3.67157 3.5 4.5 3.5C5.32843 3.5 6 4.17157 6 5C6 5.82843 5.32843 6.5 4.5 6.5ZM4.5 13.5C3.67157 13.5 3 12.8284 3 12C3 11.1716 3.67157 10.5 4.5 10.5C5.32843 10.5 6 11.1716 6 12C6 12.8284 5.32843 13.5 4.5 13.5ZM4.5 20.4C3.67157 20.4 3 19.7284 3 18.9C3 18.0716 3.67157 17.4 4.5 17.4C5.32843 17.4 6 18.0716 6 18.9C6 19.7284 5.32843 20.4 4.5 20.4ZM8 11H21V13H8V11ZM8 18H21V20H8V18Z" })), Sz = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41784,7 +41784,7 @@ var Zde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Dfill: e,...r,className: "remixicon " + (n || "")-}, D.createElement("path", { d: "M6 5H8V19H6V5ZM16 5H18V19H16V5Z" })), wz = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {+}, D.createElement("path", { d: "M6 5H8V19H6V5ZM16 5H18V19H16V5Z" })), Cz = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41792,7 +41792,7 @@ var Zde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Dfill: e,...r,className: "remixicon " + (n || "")-}, D.createElement("path", { d: "M16.3944 12.0001L10 7.7371V16.263L16.3944 12.0001ZM19.376 12.4161L8.77735 19.4818C8.54759 19.635 8.23715 19.5729 8.08397 19.3432C8.02922 19.261 8 19.1645 8 19.0658V4.93433C8 4.65818 8.22386 4.43433 8.5 4.43433C8.59871 4.43433 8.69522 4.46355 8.77735 4.5183L19.376 11.584C19.6057 11.7372 19.6678 12.0477 19.5146 12.2774C19.478 12.3323 19.4309 12.3795 19.376 12.4161Z" })), Tz = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {+}, D.createElement("path", { d: "M16.3944 12.0001L10 7.7371V16.263L16.3944 12.0001ZM19.376 12.4161L8.77735 19.4818C8.54759 19.635 8.23715 19.5729 8.08397 19.3432C8.02922 19.261 8 19.1645 8 19.0658V4.93433C8 4.65818 8.22386 4.43433 8.5 4.43433C8.59871 4.43433 8.69522 4.46355 8.77735 4.5183L19.376 11.584C19.6057 11.7372 19.6678 12.0477 19.5146 12.2774C19.478 12.3323 19.4309 12.3795 19.376 12.4161Z" })), wz = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41800,7 +41800,7 @@ var Zde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Dfill: e,...r,className: "remixicon " + (n || "")-}, D.createElement("path", { d: "M10.9042 2.10025L20.8037 3.51446L22.2179 13.414L13.0255 22.6063C12.635 22.9969 12.0019 22.9969 11.6113 22.6063L1.71184 12.7069C1.32131 12.3163 1.32131 11.6832 1.71184 11.2926L10.9042 2.10025ZM11.6113 4.22157L3.83316 11.9997L12.3184 20.485L20.0966 12.7069L19.036 5.28223L11.6113 4.22157ZM13.7327 10.5855C12.9516 9.80448 12.9516 8.53815 13.7327 7.7571C14.5137 6.97606 15.78 6.97606 16.5611 7.7571C17.3421 8.53815 17.3421 9.80448 16.5611 10.5855C15.78 11.3666 14.5137 11.3666 13.7327 10.5855Z" })), Ez = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {+}, D.createElement("path", { d: "M10.9042 2.10025L20.8037 3.51446L22.2179 13.414L13.0255 22.6063C12.635 22.9969 12.0019 22.9969 11.6113 22.6063L1.71184 12.7069C1.32131 12.3163 1.32131 11.6832 1.71184 11.2926L10.9042 2.10025ZM11.6113 4.22157L3.83316 11.9997L12.3184 20.485L20.0966 12.7069L19.036 5.28223L11.6113 4.22157ZM13.7327 10.5855C12.9516 9.80448 12.9516 8.53815 13.7327 7.7571C14.5137 6.97606 15.78 6.97606 16.5611 7.7571C17.3421 8.53815 17.3421 9.80448 16.5611 10.5855C15.78 11.3666 14.5137 11.3666 13.7327 10.5855Z" })), Tz = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41808,7 +41808,7 @@ var Zde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Dfill: e,...r,className: "remixicon " + (n || "")-}, D.createElement("path", { d: "M5.46257 4.43262C7.21556 2.91688 9.5007 2 12 2C17.5228 2 22 6.47715 22 12C22 14.1361 21.3302 16.1158 20.1892 17.7406L17 12H20C20 7.58172 16.4183 4 12 4C9.84982 4 7.89777 4.84827 6.46023 6.22842L5.46257 4.43262ZM18.5374 19.5674C16.7844 21.0831 14.4993 22 12 22C6.47715 22 2 17.5228 2 12C2 9.86386 2.66979 7.88416 3.8108 6.25944L7 12H4C4 16.4183 7.58172 20 12 20C14.1502 20 16.1022 19.1517 17.5398 17.7716L18.5374 19.5674Z" })), Ofe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {+}, D.createElement("path", { d: "M5.46257 4.43262C7.21556 2.91688 9.5007 2 12 2C17.5228 2 22 6.47715 22 12C22 14.1361 21.3302 16.1158 20.1892 17.7406L17 12H20C20 7.58172 16.4183 4 12 4C9.84982 4 7.89777 4.84827 6.46023 6.22842L5.46257 4.43262ZM18.5374 19.5674C16.7844 21.0831 14.4993 22 12 22C6.47715 22 2 17.5228 2 12C2 9.86386 2.66979 7.88416 3.8108 6.25944L7 12H4C4 16.4183 7.58172 20 12 20C14.1502 20 16.1022 19.1517 17.5398 17.7716L18.5374 19.5674Z" })), kfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41816,7 +41816,7 @@ var Zde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Dfill: e,...r,className: "remixicon " + (n || "")-}, D.createElement("path", { d: "M3 17C5.20914 17 7 18.7909 7 21H3V17ZM3 10C9.07513 10 14 14.9249 14 21H12C12 16.0294 7.97056 12 3 12V10ZM3 3C12.9411 3 21 11.0589 21 21H19C19 12.1634 11.8366 5 3 5V3Z" })), Dz = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {+}, D.createElement("path", { d: "M3 17C5.20914 17 7 18.7909 7 21H3V17ZM3 10C9.07513 10 14 14.9249 14 21H12C12 16.0294 7.97056 12 3 12V10ZM3 3C12.9411 3 21 11.0589 21 21H19C19 12.1634 11.8366 5 3 5V3Z" })), Ez = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41824,7 +41824,7 @@ var Zde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Dfill: e,...r,className: "remixicon " + (n || "")-}, D.createElement("path", { d: "M18.031 16.6168L22.3137 20.8995L20.8995 22.3137L16.6168 18.031C15.0769 19.263 13.124 20 11 20C6.032 20 2 15.968 2 11C2 6.032 6.032 2 11 2C15.968 2 20 6.032 20 11C20 13.124 19.263 15.0769 18.031 16.6168ZM16.0247 15.8748C17.2475 14.6146 18 12.8956 18 11C18 7.1325 14.8675 4 11 4C7.1325 4 4 7.1325 4 11C4 14.8675 7.1325 18 11 18C12.8956 18 14.6146 17.2475 15.8748 16.0247L16.0247 15.8748Z" })), kfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {+}, D.createElement("path", { d: "M18.031 16.6168L22.3137 20.8995L20.8995 22.3137L16.6168 18.031C15.0769 19.263 13.124 20 11 20C6.032 20 2 15.968 2 11C2 6.032 6.032 2 11 2C15.968 2 20 6.032 20 11C20 13.124 19.263 15.0769 18.031 16.6168ZM16.0247 15.8748C17.2475 14.6146 18 12.8956 18 11C18 7.1325 14.8675 4 11 4C7.1325 4 4 7.1325 4 11C4 14.8675 7.1325 18 11 18C12.8956 18 14.6146 17.2475 15.8748 16.0247L16.0247 15.8748Z" })), Afe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41832,7 +41832,7 @@ var Zde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Dfill: e,...r,className: "remixicon " + (n || "")-}, D.createElement("path", { d: "M3 3H21C21.5523 3 22 3.44772 22 4V20C22 20.5523 21.5523 21 21 21H3C2.44772 21 2 20.5523 2 20V4C2 3.44772 2.44772 3 3 3ZM8 5H4V19H8V5ZM10 5V19H20V5H10Z" })), Afe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {+}, D.createElement("path", { d: "M3 3H21C21.5523 3 22 3.44772 22 4V20C22 20.5523 21.5523 21 21 21H3C2.44772 21 2 20.5523 2 20V4C2 3.44772 2.44772 3 3 3ZM8 5H4V19H8V5ZM10 5V19H20V5H10Z" })), jfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41840,7 +41840,7 @@ var Zde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Dfill: e,...r,className: "remixicon " + (n || "")-}, D.createElement("path", { d: "M12.0006 18.26L4.94715 22.2082L6.52248 14.2799L0.587891 8.7918L8.61493 7.84006L12.0006 0.5L15.3862 7.84006L23.4132 8.7918L17.4787 14.2799L19.054 22.2082L12.0006 18.26ZM12.0006 15.968L16.2473 18.3451L15.2988 13.5717L18.8719 10.2674L14.039 9.69434L12.0006 5.27502L9.96214 9.69434L5.12921 10.2674L8.70231 13.5717L7.75383 18.3451L12.0006 15.968Z" })), jfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {+}, D.createElement("path", { d: "M12.0006 18.26L4.94715 22.2082L6.52248 14.2799L0.587891 8.7918L8.61493 7.84006L12.0006 0.5L15.3862 7.84006L23.4132 8.7918L17.4787 14.2799L19.054 22.2082L12.0006 18.26ZM12.0006 15.968L16.2473 18.3451L15.2988 13.5717L18.8719 10.2674L14.039 9.69434L12.0006 5.27502L9.96214 9.69434L5.12921 10.2674L8.70231 13.5717L7.75383 18.3451L12.0006 15.968Z" })), Mfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41848,7 +41848,7 @@ var Zde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Dfill: e,...r,className: "remixicon " + (n || "")-}, D.createElement("path", { d: "M4 8H20V5H4V8ZM14 19V10H10V19H14ZM16 19H20V10H16V19ZM8 19V10H4V19H8ZM3 3H21C21.5523 3 22 3.44772 22 4V20C22 20.5523 21.5523 21 21 21H3C2.44772 21 2 20.5523 2 20V4C2 3.44772 2.44772 3 3 3Z" })), Mfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {+}, D.createElement("path", { d: "M4 8H20V5H4V8ZM14 19V10H10V19H14ZM16 19H20V10H16V19ZM8 19V10H4V19H8ZM3 3H21C21.5523 3 22 3.44772 22 4V20C22 20.5523 21.5523 21 21 21H3C2.44772 21 2 20.5523 2 20V4C2 3.44772 2.44772 3 3 3Z" })), Nfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41856,7 +41856,7 @@ var Zde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Dfill: e,...r,className: "remixicon " + (n || "")-}, D.createElement("path", { d: "M9.40017 16H3C1.89543 16 1 15.1046 1 14V11.8957C1 11.6344 1.05118 11.3757 1.15064 11.1342L4.24501 3.61925C4.3993 3.24455 4.76447 3 5.16969 3H22C22.5523 3 23 3.44772 23 4V14C23 14.5523 22.5523 15 22 15H18.5182C18.1932 15 17.8886 15.1579 17.7012 15.4233L12.2478 23.149C12.1053 23.3508 11.8367 23.4184 11.6157 23.3078L9.80163 22.4008C8.74998 21.875 8.20687 20.6874 8.49694 19.548L9.40017 16ZM17 13.4125V5H5.83939L3 11.8957V14H9.40017C10.7049 14 11.6602 15.229 11.3384 16.4934L10.4351 20.0414C10.3771 20.2693 10.4857 20.5068 10.6961 20.612L11.3572 20.9425L16.0673 14.27C16.3172 13.9159 16.6366 13.6257 17 13.4125ZM19 13H21V5H19V13Z" })), Nfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {+}, D.createElement("path", { d: "M9.40017 16H3C1.89543 16 1 15.1046 1 14V11.8957C1 11.6344 1.05118 11.3757 1.15064 11.1342L4.24501 3.61925C4.3993 3.24455 4.76447 3 5.16969 3H22C22.5523 3 23 3.44772 23 4V14C23 14.5523 22.5523 15 22 15H18.5182C18.1932 15 17.8886 15.1579 17.7012 15.4233L12.2478 23.149C12.1053 23.3508 11.8367 23.4184 11.6157 23.3078L9.80163 22.4008C8.74998 21.875 8.20687 20.6874 8.49694 19.548L9.40017 16ZM17 13.4125V5H5.83939L3 11.8957V14H9.40017C10.7049 14 11.6602 15.229 11.3384 16.4934L10.4351 20.0414C10.3771 20.2693 10.4857 20.5068 10.6961 20.612L11.3572 20.9425L16.0673 14.27C16.3172 13.9159 16.6366 13.6257 17 13.4125ZM19 13H21V5H19V13Z" })), Pfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41864,7 +41864,7 @@ var Zde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Dfill: e,...r,className: "remixicon " + (n || "")-}, D.createElement("path", { d: "M14.5998 8.00033H21C22.1046 8.00033 23 8.89576 23 10.0003V12.1047C23 12.3659 22.9488 12.6246 22.8494 12.8662L19.755 20.3811C19.6007 20.7558 19.2355 21.0003 18.8303 21.0003H2C1.44772 21.0003 1 20.5526 1 20.0003V10.0003C1 9.44804 1.44772 9.00033 2 9.00033H5.48184C5.80677 9.00033 6.11143 8.84246 6.29881 8.57701L11.7522 0.851355C11.8947 0.649486 12.1633 0.581978 12.3843 0.692483L14.1984 1.59951C15.25 2.12534 15.7931 3.31292 15.5031 4.45235L14.5998 8.00033ZM7 10.5878V19.0003H18.1606L21 12.1047V10.0003H14.5998C13.2951 10.0003 12.3398 8.77128 12.6616 7.50691L13.5649 3.95894C13.6229 3.73105 13.5143 3.49353 13.3039 3.38837L12.6428 3.0578L7.93275 9.73038C7.68285 10.0844 7.36341 10.3746 7 10.5878ZM5 11.0003H3V19.0003H5V11.0003Z" })), Pfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {+}, D.createElement("path", { d: "M14.5998 8.00033H21C22.1046 8.00033 23 8.89576 23 10.0003V12.1047C23 12.3659 22.9488 12.6246 22.8494 12.8662L19.755 20.3811C19.6007 20.7558 19.2355 21.0003 18.8303 21.0003H2C1.44772 21.0003 1 20.5526 1 20.0003V10.0003C1 9.44804 1.44772 9.00033 2 9.00033H5.48184C5.80677 9.00033 6.11143 8.84246 6.29881 8.57701L11.7522 0.851355C11.8947 0.649486 12.1633 0.581978 12.3843 0.692483L14.1984 1.59951C15.25 2.12534 15.7931 3.31292 15.5031 4.45235L14.5998 8.00033ZM7 10.5878V19.0003H18.1606L21 12.1047V10.0003H14.5998C13.2951 10.0003 12.3398 8.77128 12.6616 7.50691L13.5649 3.95894C13.6229 3.73105 13.5143 3.49353 13.3039 3.38837L12.6428 3.0578L7.93275 9.73038C7.68285 10.0844 7.36341 10.3746 7 10.5878ZM5 11.0003H3V19.0003H5V11.0003Z" })), Ffe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41872,7 +41872,7 @@ var Zde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Dfill: e,...r,className: "remixicon " + (n || "")-}, D.createElement("path", { d: "M3 19H21V21H3V19ZM13 5.82843V17H11V5.82843L4.92893 11.8995L3.51472 10.4853L12 2L20.4853 10.4853L19.0711 11.8995L13 5.82843Z" })), Oz = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {+}, D.createElement("path", { d: "M3 19H21V21H3V19ZM13 5.82843V17H11V5.82843L4.92893 11.8995L3.51472 10.4853L12 2L20.4853 10.4853L19.0711 11.8995L13 5.82843Z" })), Dz = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41880,7 +41880,7 @@ var Zde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Dfill: e,...r,className: "remixicon " + (n || "")-}, D.createElement("path", { d: "M4 22C4 17.5817 7.58172 14 12 14C16.4183 14 20 17.5817 20 22H18C18 18.6863 15.3137 16 12 16C8.68629 16 6 18.6863 6 22H4ZM12 13C8.685 13 6 10.315 6 7C6 3.685 8.685 1 12 1C15.315 1 18 3.685 18 7C18 10.315 15.315 13 12 13ZM12 11C14.21 11 16 9.21 16 7C16 4.79 14.21 3 12 3C9.79 3 8 4.79 8 7C8 9.21 9.79 11 12 11Z" })), kz = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {+}, D.createElement("path", { d: "M4 22C4 17.5817 7.58172 14 12 14C16.4183 14 20 17.5817 20 22H18C18 18.6863 15.3137 16 12 16C8.68629 16 6 18.6863 6 22H4ZM12 13C8.685 13 6 10.315 6 7C6 3.685 8.685 1 12 1C15.315 1 18 3.685 18 7C18 10.315 15.315 13 12 13ZM12 11C14.21 11 16 9.21 16 7C16 4.79 14.21 3 12 3C9.79 3 8 4.79 8 7C8 9.21 9.79 11 12 11Z" })), Oz = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41888,7 +41888,7 @@ var Zde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Dfill: e,...r,className: "remixicon " + (n || "")-}, D.createElement("path", { d: "M3 3.9934C3 3.44476 3.44495 3 3.9934 3H20.0066C20.5552 3 21 3.44495 21 3.9934V20.0066C21 20.5552 20.5551 21 20.0066 21H3.9934C3.44476 21 3 20.5551 3 20.0066V3.9934ZM5 5V19H19V5H5ZM10.6219 8.41459L15.5008 11.6672C15.6846 11.7897 15.7343 12.0381 15.6117 12.2219C15.5824 12.2658 15.5447 12.3035 15.5008 12.3328L10.6219 15.5854C10.4381 15.708 10.1897 15.6583 10.0672 15.4745C10.0234 15.4088 10 15.3316 10 15.2526V8.74741C10 8.52649 10.1791 8.34741 10.4 8.34741C10.479 8.34741 10.5562 8.37078 10.6219 8.41459Z" })), Ffe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {+}, D.createElement("path", { d: "M3 3.9934C3 3.44476 3.44495 3 3.9934 3H20.0066C20.5552 3 21 3.44495 21 3.9934V20.0066C21 20.5552 20.5551 21 20.0066 21H3.9934C3.44476 21 3 20.5551 3 20.0066V3.9934ZM5 5V19H19V5H5ZM10.6219 8.41459L15.5008 11.6672C15.6846 11.7897 15.7343 12.0381 15.6117 12.2219C15.5824 12.2658 15.5447 12.3035 15.5008 12.3328L10.6219 15.5854C10.4381 15.708 10.1897 15.6583 10.0672 15.4745C10.0234 15.4088 10 15.3316 10 15.2526V8.74741C10 8.52649 10.1791 8.34741 10.4 8.34741C10.479 8.34741 10.5562 8.37078 10.6219 8.41459Z" })), Ife = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41896,7 +41896,7 @@ var Zde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Dfill: e,...r,className: "remixicon " + (n || "")-}, D.createElement("path", { d: "M14 4.4375C15.3462 4.4375 16.4375 3.34619 16.4375 2H17.5625C17.5625 3.34619 18.6538 4.4375 20 4.4375V5.5625C18.6538 5.5625 17.5625 6.65381 17.5625 8H16.4375C16.4375 6.65381 15.3462 5.5625 14 5.5625V4.4375ZM1 11C4.31371 11 7 8.31371 7 5H9C9 8.31371 11.6863 11 15 11V13C11.6863 13 9 15.6863 9 19H7C7 15.6863 4.31371 13 1 13V11ZM4.87601 12C6.18717 12.7276 7.27243 13.8128 8 15.124 8.72757 13.8128 9.81283 12.7276 11.124 12 9.81283 11.2724 8.72757 10.1872 8 8.87601 7.27243 10.1872 6.18717 11.2724 4.87601 12ZM17.25 14C17.25 15.7949 15.7949 17.25 14 17.25V18.75C15.7949 18.75 17.25 20.2051 17.25 22H18.75C18.75 20.2051 20.2051 18.75 22 18.75V17.25C20.2051 17.25 18.75 15.7949 18.75 14H17.25Z" })), Ife = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {+}, D.createElement("path", { d: "M14 4.4375C15.3462 4.4375 16.4375 3.34619 16.4375 2H17.5625C17.5625 3.34619 18.6538 4.4375 20 4.4375V5.5625C18.6538 5.5625 17.5625 6.65381 17.5625 8H16.4375C16.4375 6.65381 15.3462 5.5625 14 5.5625V4.4375ZM1 11C4.31371 11 7 8.31371 7 5H9C9 8.31371 11.6863 11 15 11V13C11.6863 13 9 15.6863 9 19H7C7 15.6863 4.31371 13 1 13V11ZM4.87601 12C6.18717 12.7276 7.27243 13.8128 8 15.124 8.72757 13.8128 9.81283 12.7276 11.124 12 9.81283 11.2724 8.72757 10.1872 8 8.87601 7.27243 10.1872 6.18717 11.2724 4.87601 12ZM17.25 14C17.25 15.7949 15.7949 17.25 14 17.25V18.75C15.7949 18.75 17.25 20.2051 17.25 22H18.75C18.75 20.2051 20.2051 18.75 22 18.75V17.25C20.2051 17.25 18.75 15.7949 18.75 14H17.25Z" })), Lfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41907,11 +41907,11 @@ var Zde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D}, D.createElement("path", { d: "M4.50772 2.87597C4.57028 2.37554 4.99568 2 5.5 2H18.5C19.0043 2 19.4297 2.37554 19.4923 2.87597L20.9923 14.876C20.9974 14.9171 21 14.9585 21 15V21C21 21.5523 20.5523 22 20 22H4C3.44772 22 3 21.5523 3 21V15C3 14.9585 3.00258 14.9171 3.00772 14.876L4.50772 2.87597ZM6.38278 4L5.13278 14H18.8672L17.6172 4H6.38278ZM19 16H5V20H19V16ZM15 17H17V19H15V17ZM13 17H11V19H13V17Z" }));//#endregion//#region src/react/boardui/components/base/input/label.tsx-function Az({ isRequired: e = !1, isInvalid: t, tooltip: n, className: r, children: i, ...a }) {- return /* @__PURE__ */ (0, O.jsxs)(MI, {+function kz({ isRequired: e = !1, isInvalid: t, tooltip: n, className: r, children: i, ...a }) {+ return /* @__PURE__ */ (0, O.jsxs)(jI, {"data-label": "true",...a,- className: AF("flex cursor-default items-center gap-0.5", "text-body-medium text-text-primary", r),+ className: kF("flex cursor-default items-center gap-0.5", "text-body-medium text-text-primary", r),children: [i,e && /* @__PURE__ */ (0, O.jsx)("span", {@@ -41919,7 +41919,7 @@ function Az({ isRequired: e = !1, isInvalid: t, tooltip: n, className: r, childrclassName: "text-body-medium text-text-error-primary",children: "*"}),- n && /* @__PURE__ */ (0, O.jsx)(Cfe, {+ n && /* @__PURE__ */ (0, O.jsx)(wfe, {className: "size-4 shrink-0 text-foreground-icon-quaternary","aria-hidden": !0})@@ -41928,33 +41928,33 @@ function Az({ isRequired: e = !1, isInvalid: t, tooltip: n, className: r, childr}//#endregion//#region src/react/boardui/components/base/input/hint-text.tsx-function jz({ isInvalid: e = !1, className: t, ...n }) {- return /* @__PURE__ */ (0, O.jsx)(zle, {+function Az({ isInvalid: e = !1, className: t, ...n }) {+ return /* @__PURE__ */ (0, O.jsx)(Ble, {slot: e ? "errorMessage" : "description",...n,- className: AF("pt-px text-caption-1-medium text-text-secondary", e && "text-text-error-primary", t)+ className: kF("pt-px text-caption-1-medium text-text-secondary", e && "text-text-error-primary", t)});}//#endregion//#region src/react/boardui/components/base/input/input.tsx-var Mz = (0, D.createContext)({});-function Nz({ size: e = "medium", fieldClassName: t, inputClassName: n, className: r, children: i, ...a }) {- return /* @__PURE__ */ (0, O.jsx)(Mz.Provider, {+var jz = (0, D.createContext)({});+function Mz({ size: e = "medium", fieldClassName: t, inputClassName: n, className: r, children: i, ...a }) {+ return /* @__PURE__ */ (0, O.jsx)(jz.Provider, {value: {size: e,fieldClassName: t,inputClassName: n},- children: /* @__PURE__ */ (0, O.jsx)(zde, {+ children: /* @__PURE__ */ (0, O.jsx)(Bde, {...a,"data-input-size": e,- className: AF("group flex h-max w-full flex-col items-start gap-1", r),+ className: kF("group flex h-max w-full flex-col items-start gap-1", r),children: i})});}-Nz.displayName = "TextField";-var Pz = jF({+Mz.displayName = "TextField";+var Nz = AF({field: ["relative flex w-full items-center","rounded-2lg",@@ -41983,44 +41983,44 @@ var Pz = jF({].join(" "),icon: "size-5 shrink-0"});-function Fz({ size: e, leadingIcon: t, trailingIcon: n, leadingAddon: r, fieldClassName: i, className: a, ref: o, groupRef: s, ...c }) {- let l = (0, D.useContext)(Mz), u = e ?? l.size ?? "medium", d = r != null;- return /* @__PURE__ */ (0, O.jsx)(WI, {+function Pz({ size: e, leadingIcon: t, trailingIcon: n, leadingAddon: r, fieldClassName: i, className: a, ref: o, groupRef: s, ...c }) {+ let l = (0, D.useContext)(jz), u = e ?? l.size ?? "medium", d = r != null;+ return /* @__PURE__ */ (0, O.jsx)(UI, {ref: s,- className: ({ isFocusWithin: e, isHovered: t, isDisabled: n, isInvalid: r }) => AF(Pz.field, d ? Pz.fieldWithAddonSize[u] : Pz.fieldSize[u], t && !e && !n && !r && "ring-border-button-hover", e && !n && !r && "ring-border-button-active", n && "bg-input-disabled-background text-input-disabled-foreground", r && "bg-background-tertiary-error text-foreground-icon-error", l.fieldClassName, i),+ className: ({ isFocusWithin: e, isHovered: t, isDisabled: n, isInvalid: r }) => kF(Nz.field, d ? Nz.fieldWithAddonSize[u] : Nz.fieldSize[u], t && !e && !n && !r && "ring-border-button-hover", e && !n && !r && "ring-border-button-active", n && "bg-input-disabled-background text-input-disabled-foreground", r && "bg-background-tertiary-error text-foreground-icon-error", l.fieldClassName, i),children: /* @__PURE__ */ (0, O.jsxs)("div", {- className: Pz.content,+ className: Nz.content,children: [/* @__PURE__ */ (0, O.jsxs)("div", {- className: Pz.leftSection,+ className: Nz.leftSection,children: [d ? r : t ? /* @__PURE__ */ (0, O.jsx)(t, {- className: Pz.icon,+ className: Nz.icon,"aria-hidden": !0- }) : null, /* @__PURE__ */ (0, O.jsx)(Gle, {+ }) : null, /* @__PURE__ */ (0, O.jsx)(Kle, {ref: o,...c,- className: AF(Pz.input, l.inputClassName, a)+ className: kF(Nz.input, l.inputClassName, a)})]}), n ? /* @__PURE__ */ (0, O.jsx)(n, {- className: Pz.icon,+ className: Nz.icon,"aria-hidden": !0}) : null]})});}-Fz.displayName = "InputBase";-function Iz({ label: e, hint: t, tooltip: n, placeholder: r, leadingIcon: i, trailingIcon: a, leadingAddon: o, fieldClassName: s, ref: c, groupRef: l, className: u, ...d }) {- return /* @__PURE__ */ (0, O.jsx)(Nz, {+Pz.displayName = "InputBase";+function Fz({ label: e, hint: t, tooltip: n, placeholder: r, leadingIcon: i, trailingIcon: a, leadingAddon: o, fieldClassName: s, ref: c, groupRef: l, className: u, ...d }) {+ return /* @__PURE__ */ (0, O.jsx)(Mz, {...d,className: u,"aria-label": d["aria-label"] ?? (!e && typeof r == "string" ? r : void 0),children: ({ isRequired: u, isInvalid: d }) => /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [- e && /* @__PURE__ */ (0, O.jsx)(Az, {+ e && /* @__PURE__ */ (0, O.jsx)(kz, {isRequired: u,isInvalid: d,tooltip: n,children: e}),- /* @__PURE__ */ (0, O.jsx)(Fz, {+ /* @__PURE__ */ (0, O.jsx)(Pz, {ref: c,groupRef: l,placeholder: r,@@ -42029,25 +42029,25 @@ function Iz({ label: e, hint: t, tooltip: n, placeholder: r, leadingIcon: i, traleadingAddon: o,fieldClassName: s}),- t && /* @__PURE__ */ (0, O.jsx)(jz, {+ t && /* @__PURE__ */ (0, O.jsx)(Az, {isInvalid: d,children: t})] })});}-Iz.displayName = "Input";+Fz.displayName = "Input";//#endregion//#region src/react/components/modal-frame.tsx-var Lfe = {+var Rfe = {"avatar-picker": "max-w-avatar-picker","cover-crop": "max-w-cover-crop",form: "max-w-form-modal",collections: "max-w-4xl"};-function Lz({ isOpen: e, onOpenChange: t, width: n, label: r, children: i }) {- let { isFocusVisible: a } = Hb();- return /* @__PURE__ */ (0, O.jsx)(wR, {+function Iz({ isOpen: e, onOpenChange: t, width: n, label: r, children: i }) {+ let { isFocusVisible: a } = Vb();+ return /* @__PURE__ */ (0, O.jsx)(CR, {isOpen: e,onOpenChange: t,isDismissable: !0,@@ -42055,11 +42055,11 @@ function Lz({ isOpen: e, onOpenChange: t, width: n, label: r, children: i }) {"data-modal-kind": n,"data-motion-instant": a || void 0,className: "fixed inset-0 z-dialog flex items-center justify-center bg-scrim p-4",- children: /* @__PURE__ */ (0, O.jsx)(Due, {+ children: /* @__PURE__ */ (0, O.jsx)(Oue, {"data-modal-surface": "","data-modal-width": n,- className: `flex max-h-full w-full ${Lfe[n]} flex-col overflow-hidden rounded-2-5xl border border-separator-border bg-background-full shadow-dropdown`,- children: /* @__PURE__ */ (0, O.jsx)(bR, {+ className: `flex max-h-full w-full ${Rfe[n]} flex-col overflow-hidden rounded-2-5xl border border-separator-border bg-background-full shadow-dropdown`,+ children: /* @__PURE__ */ (0, O.jsx)(yR, {"aria-label": r,className: "flex min-h-0 flex-col overflow-y-auto overscroll-contain outline-none",children: i@@ -42067,7 +42067,7 @@ function Lz({ isOpen: e, onOpenChange: t, width: n, label: r, children: i }) {})});}-function Rz({ children: e }) {+function Lz({ children: e }) {return /* @__PURE__ */ (0, O.jsx)("span", {"aria-hidden": !0,className: "flex size-14 shrink-0 items-center justify-center rounded-2xl border border-separator-border bg-background-secondary-default text-foreground-icon-secondary",@@ -42076,12 +42076,12 @@ function Rz({ children: e }) {}//#endregion//#region src/react/components/note.tsx-function zz({ tone: e, title: t, action: n, extra: r, children: i, actionLayout: a = "inline", className: o }) {+function Rz({ tone: e, title: t, action: n, extra: r, children: i, actionLayout: a = "inline", className: o }) {let s = /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsxs)("div", {"data-note-layout": "",- className: AF("flex gap-3", a === "inline" ? "flex-wrap items-center justify-between" : "flex-col items-start"),+ className: kF("flex gap-3", a === "inline" ? "flex-wrap items-center justify-between" : "flex-col items-start"),children: [/* @__PURE__ */ (0, O.jsxs)("div", {- className: AF("flex min-w-0 flex-auto flex-col justify-center gap-0.5", a === "below" && "w-full"),+ className: kF("flex min-w-0 flex-auto flex-col justify-center gap-0.5", a === "below" && "w-full"),children: [t ? /* @__PURE__ */ (0, O.jsx)("p", {className: "text-body-medium wrap-anywhere",children: t@@ -42098,38 +42098,38 @@ function zz({ tone: e, title: t, action: n, extra: r, children: i, actionLayout:switch (e) {case "info": return /* @__PURE__ */ (0, O.jsx)("div", {role: "status",- className: AF("@container flex flex-col gap-2 rounded-2lg bg-notification-information-background px-3 py-2 text-notification-information-foreground", o),+ className: kF("@container flex flex-col gap-2 rounded-2lg bg-notification-information-background px-3 py-2 text-notification-information-foreground", o),children: s});case "success": return /* @__PURE__ */ (0, O.jsx)("div", {role: "status",- className: AF("@container flex flex-col gap-2 rounded-2lg bg-notification-success-background px-3 py-2 text-notification-success-foreground", o),+ className: kF("@container flex flex-col gap-2 rounded-2lg bg-notification-success-background px-3 py-2 text-notification-success-foreground", o),children: s});case "warning": return /* @__PURE__ */ (0, O.jsx)("div", {role: "note",- className: AF("@container flex flex-col gap-2 rounded-2lg bg-status-yellow-background px-3 py-2 text-status-yellow-text", o),+ className: kF("@container flex flex-col gap-2 rounded-2lg bg-status-yellow-background px-3 py-2 text-status-yellow-text", o),children: s});case "error": return /* @__PURE__ */ (0, O.jsx)("div", {role: "alert",- className: AF("@container flex flex-col gap-2 rounded-2lg bg-background-tertiary-error px-3 py-2 text-text-error-primary", o),+ className: kF("@container flex flex-col gap-2 rounded-2lg bg-background-tertiary-error px-3 py-2 text-text-error-primary", o),children: s});default: return /* @__PURE__ */ (0, O.jsx)("div", {role: "note",- className: AF("@container flex flex-col gap-2 rounded-2lg bg-background-tertiary-default px-3 py-2 text-text-secondary", o),+ className: kF("@container flex flex-col gap-2 rounded-2lg bg-background-tertiary-default px-3 py-2 text-text-secondary", o),children: s});}}//#endregion//#region src/react/components/empty-state.tsx-var Rfe = {+var zfe = {standard: "min-h-80 px-6 py-12",compact: "min-h-60 px-4 py-6"};-function zfe({ target: e, children: t }) {+function Bfe({ target: e, children: t }) {return /* @__PURE__ */ (0, O.jsx)(q, {size: "small",variant: "secondary",@@ -42137,11 +42137,11 @@ function zfe({ target: e, children: t }) {children: t});}-function Bz({ icon: e, title: t, actions: n, children: r, size: i = "standard" }) {+function zz({ icon: e, title: t, actions: n, children: r, size: i = "standard" }) {return /* @__PURE__ */ (0, O.jsxs)("div", {"data-empty-state": "","data-empty-size": i,- className: `flex min-w-0 max-w-full flex-col items-center justify-center gap-2 rounded-floating border border-separator-border bg-background-secondary-default text-center ${Rfe[i]}`,+ className: `flex min-w-0 max-w-full flex-col items-center justify-center gap-2 rounded-floating border border-separator-border bg-background-secondary-default text-center ${zfe[i]}`,children: [/* @__PURE__ */ (0, O.jsx)("span", {"aria-hidden": !0,@@ -42168,9 +42168,9 @@ function Bz({ icon: e, title: t, actions: n, children: r, size: i = "standard" }}//#endregion//#region src/react/components/sprite-glyph.tsx-var Vz = /* @__PURE__ */ new Map();-function Hz(e) {- let t = Vz.get(e);+var Bz = /* @__PURE__ */ new Map();+function Vz(e) {+ let t = Bz.get(e);if (t) return t;let { wide: n, viewBox: r } = Kt(e), i = n ? ({ className: t }) => /* @__PURE__ */ (0, O.jsx)("svg", {"aria-hidden": !0,@@ -42186,11 +42186,11 @@ function Hz(e) {className: `shrink-0 stroke-current stroke-2 ${t ?? "size-4"}`,children: /* @__PURE__ */ (0, O.jsx)("use", { href: `#i-${e}` })});- return i.displayName = `SpriteGlyph(${e})`, Vz.set(e, i), i;+ return i.displayName = `SpriteGlyph(${e})`, Bz.set(e, i), i;}//#endregion//#region src/react/components/settings-dialog-close.tsx-function Uz({ label: e, id: t, onPress: n }) {+function Hz({ label: e, id: t, onPress: n }) {return /* @__PURE__ */ (0, O.jsx)("button", {type: "button",id: t,@@ -42206,7 +42206,7 @@ function Uz({ label: e, id: t, onPress: n }) {}//#endregion//#region src/react/settings/busy-props.ts-function Wz(e) {+function Uz(e) {return e ? {"aria-busy": !0,"aria-disabled": !0@@ -42214,54 +42214,54 @@ function Wz(e) {}//#endregion//#region src/react/library-shortcuts/library-shortcuts.ts-var Gz = ["library-shortcuts"], Kz = "/api/library-shortcuts";-function qz(e = !0) {+var Wz = ["library-shortcuts"], Gz = "/api/library-shortcuts";+function Kz(e = !0) {return Ct({- queryKey: Gz,- queryFn: ({ signal: e }) => B(Kz, e),+ queryKey: Wz,+ queryFn: ({ signal: e }) => B(Gz, e),enabled: e,refetchOnMount: e ? "always" : !1});}-function Jz() {+function qz() {return wt({- mutationKey: Gz,- mutationFn: (e) => V(Kz, e),+ mutationKey: Wz,+ mutationFn: (e) => V(Gz, e),onSuccess: (e, t) => {- H.setQueryData(Gz, e), t.action === "favorite" && t.scope === "online" && (H.invalidateQueries({ queryKey: ["follow", "tags"] }), H.invalidateQueries({ queryKey: ["tag-management"] }));+ H.setQueryData(Wz, e), t.action === "favorite" && t.scope === "online" && (H.invalidateQueries({ queryKey: ["follow", "tags"] }), H.invalidateQueries({ queryKey: ["tag-management"] }));}});}-function Yz(e, t) {+function Jz(e, t) {return e.some((e) => t.scope === "online" ? e.scope === "online" && e.tag_id === t.tag_id : e.scope !== "online" && (t.entity_id ? e.entity_id === t.entity_id : e.kind === t.kind && e.name === t.name));}-function Bfe(e) {+function Vfe(e) {return e.scope === "online" ? `/follow?${new URLSearchParams({ tag: e.name })}` : tn(e.kind, e.name, e.entity_id);}//#endregion//#region src/react/library-shortcuts/shortcut-controls.tsx-var Xz = Hz("star"), Vfe = Hz("bookmark-plus"), Zz = Hz("chevron-right"), Qz = {+var Yz = Vz("star"), Hfe = Vz("bookmark-plus"), Xz = Vz("chevron-right"), Zz = {performer: "艺人",creator: "创作者",studio: "片商与厂牌",series: "系列",agency: "事务所",tag: "标签"-}, $z = {- all: Hz("star"),- performer: Hz("user-round"),- creator: Hz("user-round"),- studio: Hz("clapperboard"),- series: Hz("film"),- agency: Hz("briefcase"),- tag: Hz("tags"),- filters: Hz("list-filter")-}, eB = [+}, Qz = {+ all: Vz("star"),+ performer: Vz("user-round"),+ creator: Vz("user-round"),+ studio: Vz("clapperboard"),+ series: Vz("film"),+ agency: Vz("briefcase"),+ tag: Vz("tags"),+ filters: Vz("list-filter")+}, $z = [["all", "全部"],- ...Object.entries(Qz),+ ...Object.entries(Zz),["filters", "保存的筛选"]];-function tB({ label: e, children: t, ...n }) {+function eB({ label: e, children: t, ...n }) {return /* @__PURE__ */ (0, O.jsx)("button", {type: "button",...n,@@ -42271,19 +42271,19 @@ function tB({ label: e, children: t, ...n }) {children: t});}-function nB({ item: e }) {- return /* @__PURE__ */ (0, O.jsx)(Hfe, { item: e }, `${e.scope || "local"}:${e.kind}:${e.tag_id || e.entity_id}:${e.name}`);+function tB({ item: e }) {+ return /* @__PURE__ */ (0, O.jsx)(Ufe, { item: e }, `${e.scope || "local"}:${e.kind}:${e.tag_id || e.entity_id}:${e.name}`);}-function Hfe({ item: e }) {- let t = qz(!1), n = (0, D.useRef)(t.data), r = Jz(), i = t.data && t.data !== n.current ? Yz(t.data.favorites || [], e) : e.favorite ?? (t.data ? Yz(t.data.favorites || [], e) : !1);+function Ufe({ item: e }) {+ let t = Kz(!1), n = (0, D.useRef)(t.data), r = qz(), i = t.data && t.data !== n.current ? Jz(t.data.favorites || [], e) : e.favorite ?? (t.data ? Jz(t.data.favorites || [], e) : !1);return /* @__PURE__ */ (0, O.jsxs)("span", {className: "inline-flex min-w-0 flex-col gap-1",children: [- /* @__PURE__ */ (0, O.jsx)(tB, {+ /* @__PURE__ */ (0, O.jsx)(eB, {"data-favorite": "","aria-pressed": !!i,label: `${i ? "取消收藏" : "收藏"}${e.name}`,- ...Wz(r.isPending),+ ...Uz(r.isPending),onClick: () => {r.isPending || r.mutate({action: "favorite",@@ -42294,9 +42294,9 @@ function Hfe({ item: e }) {children: r.isPending ? /* @__PURE__ */ (0, O.jsx)("span", {"aria-hidden": !0,dangerouslySetInnerHTML: { __html: rs("") }- }) : /* @__PURE__ */ (0, O.jsx)(Xz, {})+ }) : /* @__PURE__ */ (0, O.jsx)(Yz, {})}),- r.isError ? /* @__PURE__ */ (0, O.jsx)(zz, {+ r.isError ? /* @__PURE__ */ (0, O.jsx)(Rz, {tone: "error",children: jn(r.error)}) : null,@@ -42310,37 +42310,37 @@ function Hfe({ item: e }) {]});}-function rB({ currentHref: e, kind: t }) {+function nB({ currentHref: e, kind: t }) {let [n, r] = (0, D.useState)(!1);return /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)("span", {"data-shortcuts-entry": "",- children: /* @__PURE__ */ (0, O.jsx)(oI, {+ children: /* @__PURE__ */ (0, O.jsx)(aI, {"data-shortcuts-trigger": "",label: "我的收藏",- icon: Xz,+ icon: Yz,"aria-haspopup": "dialog","aria-expanded": n,onPress: () => r(!0)})- }), /* @__PURE__ */ (0, O.jsx)(Lz, {+ }), /* @__PURE__ */ (0, O.jsx)(Iz, {isOpen: n,onOpenChange: r,width: "collections",label: "我的收藏",- children: n ? /* @__PURE__ */ (0, O.jsx)(Ufe, {+ children: n ? /* @__PURE__ */ (0, O.jsx)(Wfe, {currentHref: e,kind: t,close: () => r(!1)}) : null})] });}-function Ufe({ currentHref: e, kind: t, close: n }) {- let r = qz(), i = Jz(), [a, o] = (0, D.useState)(""), [s, c] = (0, D.useState)(t || "all"), [l, u] = (0, D.useState)(""), [d, f] = (0, D.useState)(""), p = (0, D.useId)(), [m, h] = (0, D.useState)(() => matchMedia("(max-width: 760px)").matches);+function Wfe({ currentHref: e, kind: t, close: n }) {+ let r = Kz(), i = qz(), [a, o] = (0, D.useState)(""), [s, c] = (0, D.useState)(t || "all"), [l, u] = (0, D.useState)(""), [d, f] = (0, D.useState)(""), p = (0, D.useId)(), [m, h] = (0, D.useState)(() => matchMedia("(max-width: 760px)").matches);(0, D.useEffect)(() => {let e = matchMedia("(max-width: 760px)"), t = () => h(e.matches);return e.addEventListener("change", t), () => e.removeEventListener("change", t);}, []);- let g = (0, D.useRef)(null), _ = (0, D.useRef)(null), v = (0, D.useRef)(s), y = (0, D.useRef)(null), b = (0, D.useRef)(null), x = (0, D.useRef)(null), S = fI(y, g, "[role=\"tab\"][aria-selected=\"true\"]", s, { axis: "y" });+ let g = (0, D.useRef)(null), _ = (0, D.useRef)(null), v = (0, D.useRef)(s), y = (0, D.useRef)(null), b = (0, D.useRef)(null), x = (0, D.useRef)(null), S = dI(y, g, "[role=\"tab\"][aria-selected=\"true\"]", s, { axis: "y" });(0, D.useLayoutEffect)(() => {b.current && (x.current = eo(b.current) || null);}, []), (0, D.useLayoutEffect)(() => {@@ -42353,7 +42353,7 @@ function Ufe({ currentHref: e, kind: t, close: n }) {}, [s]), (0, D.useLayoutEffect)(() => {x.current?.();});- let C = eB.find(([e]) => e === s)?.[1] || "全部", w = (e) => {+ let C = $z.find(([e]) => e === s)?.[1] || "全部", w = (e) => {let t = [...e.currentTarget.querySelectorAll("[role=\"tab\"]")], n = t.indexOf(e.target);if (n < 0) return;let r = e.key === "Home" ? 0 : e.key === "End" ? t.length - 1 : ["ArrowDown", "ArrowRight"].includes(e.key) ? (n + 1) % t.length : ["ArrowUp", "ArrowLeft"].includes(e.key) ? (n + t.length - 1) % t.length : -1;@@ -42376,7 +42376,7 @@ function Ufe({ currentHref: e, kind: t, close: n }) {children: [/* @__PURE__ */ (0, O.jsx)("h2", {className: "text-title-2-semibold text-text-primary",children: C- }), /* @__PURE__ */ (0, O.jsx)(Uz, {+ }), /* @__PURE__ */ (0, O.jsx)(Hz, {label: "关闭我的收藏",onPress: n})]@@ -42406,8 +42406,8 @@ function Ufe({ currentHref: e, kind: t, close: n }) {role: "presentation",children: "我的收藏"}),- eB.map(([e, t]) => {- let n = $z[e] || Xz, r = e === "filters" ? E?.filters.length || 0 : (E?.favorites || []).filter((t) => e === "all" || t.kind === e).length;+ $z.map(([e, t]) => {+ let n = Qz[e] || Yz, r = e === "filters" ? E?.filters.length || 0 : (E?.favorites || []).filter((t) => e === "all" || t.kind === e).length;return /* @__PURE__ */ (0, O.jsxs)("button", {type: "button",role: "tab",@@ -42439,17 +42439,17 @@ function Ufe({ currentHref: e, kind: t, close: n }) {href: "/flagged",onClick: n,children: [- /* @__PURE__ */ (0, O.jsx)(Xz, { "aria-hidden": !0 }),+ /* @__PURE__ */ (0, O.jsx)(Yz, { "aria-hidden": !0 }),"已标记",- /* @__PURE__ */ (0, O.jsx)(Zz, { "aria-hidden": !0 })+ /* @__PURE__ */ (0, O.jsx)(Xz, { "aria-hidden": !0 })]}), /* @__PURE__ */ (0, O.jsxs)("a", {href: "/watch-later",onClick: n,children: [- /* @__PURE__ */ (0, O.jsx)(Vfe, { "aria-hidden": !0 }),+ /* @__PURE__ */ (0, O.jsx)(Hfe, { "aria-hidden": !0 }),"稍后看",- /* @__PURE__ */ (0, O.jsx)(Zz, { "aria-hidden": !0 })+ /* @__PURE__ */ (0, O.jsx)(Xz, { "aria-hidden": !0 })]})]})]@@ -42468,7 +42468,7 @@ function Ufe({ currentHref: e, kind: t, close: n }) {"data-skeleton": "",className: "h-12 animate-pulse rounded-lg bg-background-secondary-default"}) : null,- r.isError ? /* @__PURE__ */ (0, O.jsx)(zz, {+ r.isError ? /* @__PURE__ */ (0, O.jsx)(Rz, {tone: "error",action: /* @__PURE__ */ (0, O.jsx)(q, {variant: "secondary",@@ -42477,16 +42477,16 @@ function Ufe({ currentHref: e, kind: t, close: n }) {}),children: jn(r.error)}) : null,- i.isError ? /* @__PURE__ */ (0, O.jsx)(zz, {+ i.isError ? /* @__PURE__ */ (0, O.jsx)(Rz, {tone: "error",children: jn(i.error)}) : null,E ? s === "filters" ? /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [- E.filters.length ? null : /* @__PURE__ */ (0, O.jsx)(Bz, {+ E.filters.length ? null : /* @__PURE__ */ (0, O.jsx)(zz, {size: "compact",- icon: Hz("list-filter"),+ icon: Vz("list-filter"),title: "还没有保存的筛选",- actions: /* @__PURE__ */ (0, O.jsx)(mI, {+ actions: /* @__PURE__ */ (0, O.jsx)(pI, {size: "small",href: "/",onClick: n,@@ -42505,7 +42505,7 @@ function Ufe({ currentHref: e, kind: t, close: n }) {variant: "secondary",size: "small","aria-label": `删除筛选${e.name}`,- ...Wz(i.isPending),+ ...Uz(i.isPending),onClick: () => {i.isPending || i.mutate({action: "delete_filter",@@ -42520,7 +42520,7 @@ function Ufe({ currentHref: e, kind: t, close: n }) {className: "flex flex-col gap-3","aria-label": "保存当前筛选",children: [- /* @__PURE__ */ (0, O.jsx)(Iz, {+ /* @__PURE__ */ (0, O.jsx)(Fz, {label: "筛选名称",value: a,onChange: o,@@ -42529,7 +42529,7 @@ function Ufe({ currentHref: e, kind: t, close: n }) {/* @__PURE__ */ (0, O.jsx)(q, {type: "submit",disabled: !a.trim(),- ...Wz(i.isPending),+ ...Uz(i.isPending),children: "保存当前筛选"}),d ? /* @__PURE__ */ (0, O.jsx)("span", {@@ -42540,16 +42540,16 @@ function Ufe({ currentHref: e, kind: t, close: n }) {]}) : null] }) : /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [- /* @__PURE__ */ (0, O.jsx)(Iz, {+ /* @__PURE__ */ (0, O.jsx)(Fz, {"aria-label": "搜索收藏",placeholder: "搜索收藏",- leadingIcon: Hz("search"),+ leadingIcon: Vz("search"),value: l,onChange: u}),- k.length ? null : /* @__PURE__ */ (0, O.jsx)(Bz, {+ k.length ? null : /* @__PURE__ */ (0, O.jsx)(zz, {size: "compact",- icon: Xz,+ icon: Yz,title: l ? "没有匹配的收藏" : E.favorites.length ? "还没有此类收藏" : "还没有收藏",actions: l ? /* @__PURE__ */ (0, O.jsx)(q, {size: "small",@@ -42559,7 +42559,7 @@ function Ufe({ currentHref: e, kind: t, close: n }) {size: "small",onClick: () => c("all"),children: "查看全部收藏"- }) : /* @__PURE__ */ (0, O.jsx)(mI, {+ }) : /* @__PURE__ */ (0, O.jsx)(pI, {size: "small",href: "/",onClick: n,@@ -42573,25 +42573,25 @@ function Ufe({ currentHref: e, kind: t, close: n }) {"data-shortcuts-row": "",className: "flex min-w-0 items-center justify-between gap-3",children: [/* @__PURE__ */ (0, O.jsxs)("a", {- href: Bfe(e),+ href: Vfe(e),"aria-label": e.name,onClick: n,className: "flex min-w-0 flex-1 items-center gap-3 text-body-regular text-text-primary",- children: [/* @__PURE__ */ (0, O.jsx)(Wfe, { item: e }, e.image_url), /* @__PURE__ */ (0, O.jsxs)("span", {+ children: [/* @__PURE__ */ (0, O.jsx)(Gfe, { item: e }, e.image_url), /* @__PURE__ */ (0, O.jsxs)("span", {className: "flex min-w-0 flex-col gap-1",children: [/* @__PURE__ */ (0, O.jsx)("span", {className: "truncate",children: e.name}), /* @__PURE__ */ (0, O.jsx)("span", {className: "text-caption-1-regular text-text-secondary",- children: e.scope === "online" ? "在线标签" : Qz[e.kind]+ children: e.scope === "online" ? "在线标签" : Zz[e.kind]})]})]}), /* @__PURE__ */ (0, O.jsx)(q, {variant: "secondary",size: "small","aria-label": `取消收藏${e.name}`,- ...Wz(i.isPending),+ ...Uz(i.isPending),onClick: () => {i.isPending || i.mutate({action: "favorite",@@ -42609,8 +42609,8 @@ function Ufe({ currentHref: e, kind: t, close: n }) {]});}-function Wfe({ item: e }) {- let t = $z[e.kind] || Xz;+function Gfe({ item: e }) {+ let t = Qz[e.kind] || Yz;return /* @__PURE__ */ (0, O.jsxs)("span", {"data-shortcuts-avatar": "",title: e.image_label || e.name,@@ -42629,20 +42629,20 @@ function Wfe({ item: e }) {}//#endregion//#region node_modules/react-router/dist/production/lib/router/url.js-var Gfe = /^(?:[a-z][a-z0-9+.-]*:|[\\/]{2})/i, iB = /^[\\/]{2}/;-function Kfe(e, t) {+var Kfe = /^(?:[a-z][a-z0-9+.-]*:|[\\/]{2})/i, rB = /^[\\/]{2}/;+function qfe(e, t) {return t + e.replace(/\\/g, "/");}//#endregion//#region node_modules/react-router/dist/production/lib/router/history.js-var aB = "popstate";-function oB(e) {+var iB = "popstate";+function aB(e) {return typeof e == "object" && !!e && "pathname" in e && "search" in e && "hash" in e && "state" in e && "key" in e;}-function qfe(e = {}) {+function Jfe(e = {}) {function t(e, t) {let n = t.state?.masked, { pathname: r, search: i, hash: a } = n || e.location;- return uB("", {+ return lB("", {pathname: r,search: i,hash: a@@ -42653,14 +42653,14 @@ function qfe(e = {}) {} : void 0);}function n(e, t) {- return typeof t == "string" ? t : dB(t);+ return typeof t == "string" ? t : uB(t);}- return Yfe(t, n, null, e);+ return Xfe(t, n, null, e);}-function sB(e, t) {+function oB(e, t) {if (e === !1 || e == null) throw Error(t);}-function cB(e, t) {+function sB(e, t) {if (!e) {typeof console < "u" && console.warn(t);try {@@ -42668,10 +42668,10 @@ function cB(e, t) {} catch {}}}-function Jfe() {+function Yfe() {return Math.random().toString(36).substring(2, 10);}-function lB(e, t) {+function cB(e, t) {return {usr: e.state,key: e.key,@@ -42683,21 +42683,21 @@ function lB(e, t) {} : void 0};}-function uB(e, t, n = null, r, i) {+function lB(e, t, n = null, r, i) {return {pathname: typeof e == "string" ? e : e.pathname,search: "",hash: "",- ...typeof t == "string" ? fB(t) : t,+ ...typeof t == "string" ? dB(t) : t,state: n,- key: t && t.key || r || Jfe(),+ key: t && t.key || r || Yfe(),mask: i};}-function dB({ pathname: e = "/", search: t = "", hash: n = "" }) {+function uB({ pathname: e = "/", search: t = "", hash: n = "" }) {return t && t !== "?" && (e += t.charAt(0) === "?" ? t : "?" + t), n && n !== "#" && (e += n.charAt(0) === "#" ? n : "#" + n), e;}-function fB(e) {+function dB(e) {let t = {};if (e) {let n = e.indexOf("#");@@ -42707,7 +42707,7 @@ function fB(e) {}return t;}-function Yfe(e, t, n, r = {}) {+function Xfe(e, t, n, r = {}) {let { window: i = document.defaultView, v5Compat: a = !1 } = r, o = i.history, s = "POP", c = null, l = u();l ?? (l = 0, o.replaceState({...o.state,@@ -42727,9 +42727,9 @@ function Yfe(e, t, n, r = {}) {}function f(e, t) {s = "PUSH";- let r = oB(e) ? e : uB(h.location, e, t);+ let r = aB(e) ? e : lB(h.location, e, t);n && n(r, e), l = u() + 1;- let d = lB(r, l), f = h.createHref(r.mask || r);+ let d = cB(r, l), f = h.createHref(r.mask || r);try {o.pushState(d, "", f);} catch (e) {@@ -42744,9 +42744,9 @@ function Yfe(e, t, n, r = {}) {}function p(e, t) {s = "REPLACE";- let r = oB(e) ? e : uB(h.location, e, t);+ let r = aB(e) ? e : lB(h.location, e, t);n && n(r, e), l = u();- let i = lB(r, l), d = h.createHref(r.mask || r);+ let i = cB(r, l), d = h.createHref(r.mask || r);o.replaceState(i, "", d), a && c && c({action: s,location: h.location,@@ -42754,7 +42754,7 @@ function Yfe(e, t, n, r = {}) {});}function m(e) {- return Xfe(i, e);+ return Zfe(i, e);}let h = {get action() {@@ -42765,8 +42765,8 @@ function Yfe(e, t, n, r = {}) {},listen(e) {if (c) throw Error("A history only accepts one active listener");- return i.addEventListener(aB, d), c = e, () => {- i.removeEventListener(aB, d), c = null;+ return i.addEventListener(iB, d), c = e, () => {+ i.removeEventListener(iB, d), c = null;};},createHref(e) {@@ -42789,29 +42789,29 @@ function Yfe(e, t, n, r = {}) {};return h;}-function Xfe(e, t, n = !1) {+function Zfe(e, t, n = !1) {let r = "http://localhost";- e && (r = e.location.origin === "null" ? e.location.href : e.location.origin), sB(r, "No window.location.(origin|href) available to create URL");- let i = typeof t == "string" ? t : dB(t);- return i = i.replace(/ $/, "%20"), !n && iB.test(i) && (i = r + i), new URL(i, r);+ e && (r = e.location.origin === "null" ? e.location.href : e.location.origin), oB(r, "No window.location.(origin|href) available to create URL");+ let i = typeof t == "string" ? t : uB(t);+ return i = i.replace(/ $/, "%20"), !n && rB.test(i) && (i = r + i), new URL(i, r);}//#endregion//#region node_modules/react-router/dist/production/lib/router/utils.js-function Zfe(e, t, n = "/") {- return Qfe(e, t, n, !1);+function Qfe(e, t, n = "/") {+ return $fe(e, t, n, !1);}-function Qfe(e, t, n, r, i) {- let a = yB((typeof t == "string" ? fB(t) : t).pathname || "/", n);+function $fe(e, t, n, r, i) {+ let a = vB((typeof t == "string" ? dB(t) : t).pathname || "/", n);if (a == null) return null;- let o = i ?? $fe(e), s = null, c = fpe(a);- for (let e = 0; s == null && e < o.length; ++e) s = dpe(o[e], c, r);+ let o = i ?? epe(e), s = null, c = ppe(a);+ for (let e = 0; s == null && e < o.length; ++e) s = fpe(o[e], c, r);return s;}-function $fe(e) {- let t = pB(e);- return epe(t), t;+function epe(e) {+ let t = fB(e);+ return tpe(t), t;}-function pB(e, t = [], n = [], r = "", i = !1) {+function fB(e, t = [], n = [], r = "", i = !1) {let a = (e, a, o = i, s) => {let c = {relativePath: s === void 0 ? e.path || "" : s,@@ -42821,14 +42821,14 @@ function pB(e, t = [], n = [], r = "", i = !1) {};if (c.relativePath.startsWith("/")) {if (!c.relativePath.startsWith(r) && o) return;- sB(c.relativePath.startsWith(r), `Absolute route path "${c.relativePath}" nested under path "${r}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`), c.relativePath = c.relativePath.slice(r.length);+ oB(c.relativePath.startsWith(r), `Absolute route path "${c.relativePath}" nested under path "${r}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`), c.relativePath = c.relativePath.slice(r.length);}- let l = CB([r, c.relativePath]), u = n.concat(c);- e.children && e.children.length > 0 && (sB(e.index !== !0, `Index routes must not have child routes. Please remove all child routes from route path "${l}".`), pB(e.children, t, u, l, o)), (e.path != null || e.index) && t.push({+ let l = SB([r, c.relativePath]), u = n.concat(c);+ e.children && e.children.length > 0 && (oB(e.index !== !0, `Index routes must not have child routes. Please remove all child routes from route path "${l}".`), fB(e.children, t, u, l, o)), (e.path != null || e.index) && t.push({path: l,- score: lpe(l, e.index),+ score: upe(l, e.index),routesMeta: u.map((e, t) => {- let [n, r] = vB(e.relativePath, e.caseSensitive, t === u.length - 1);+ let [n, r] = _B(e.relativePath, e.caseSensitive, t === u.length - 1);return {...e,matcher: n,@@ -42839,68 +42839,68 @@ function pB(e, t = [], n = [], r = "", i = !1) {};return e.forEach((e, t) => {if (e.path === "" || !e.path?.includes("?")) a(e, t);- else for (let n of mB(e.path)) a(e, t, !0, n);+ else for (let n of pB(e.path)) a(e, t, !0, n);}), t;}-function mB(e) {+function pB(e) {let t = e.split("/");if (t.length === 0) return [];let [n, ...r] = t, i = n.endsWith("?"), a = n.replace(/\?$/, "");if (r.length === 0) return i ? [a, ""] : [a];- let o = mB(r.join("/")), s = [];+ let o = pB(r.join("/")), s = [];return s.push(...o.map((e) => e === "" ? a : [a, e].join("/"))), i && s.push(...o), s.map((t) => e.startsWith("/") && t === "" ? "/" : t);}-function epe(e) {- e.sort((e, t) => e.score === t.score ? upe(e.routesMeta.map((e) => e.childrenIndex), t.routesMeta.map((e) => e.childrenIndex)) : t.score - e.score);+function tpe(e) {+ e.sort((e, t) => e.score === t.score ? dpe(e.routesMeta.map((e) => e.childrenIndex), t.routesMeta.map((e) => e.childrenIndex)) : t.score - e.score);}-var tpe = /^:[\w-]+$/, npe = /^:[\w-]+/, rpe = 3.5, ipe = 3, ape = 2, ope = 1, spe = 10, cpe = -2, hB = (e) => e === "*";-function lpe(e, t) {+var npe = /^:[\w-]+$/, rpe = /^:[\w-]+/, ipe = 3.5, ape = 3, ope = 2, spe = 1, cpe = 10, lpe = -2, mB = (e) => e === "*";+function upe(e, t) {let n = e.split("/"), r = n.length;- return n.some(hB) && (r += cpe), t && (r += ape), n.filter((e) => !hB(e)).reduce((e, t) => e + (tpe.test(t) ? ipe : npe.test(t) ? rpe : t === "" ? ope : spe), r);+ return n.some(mB) && (r += lpe), t && (r += ope), n.filter((e) => !mB(e)).reduce((e, t) => e + (npe.test(t) ? ape : rpe.test(t) ? ipe : t === "" ? spe : cpe), r);}-function upe(e, t) {+function dpe(e, t) {return e.length === t.length && e.slice(0, -1).every((e, n) => e === t[n]) ? e[e.length - 1] - t[t.length - 1] : 0;}-function dpe(e, t, n = !1) {+function fpe(e, t, n = !1) {let { routesMeta: r } = e, i = {}, a = "/", o = [];for (let e = 0; e < r.length; ++e) {let s = r[e], c = e === r.length - 1, l = a === "/" ? t : t.slice(a.length) || "/", u = {path: s.relativePath,caseSensitive: s.caseSensitive,end: c- }, d = s.matcher && s.compiledParams ? _B(u, l, s.matcher, s.compiledParams) : gB(u, l), f = s.route;- if (!d && c && n && !r[r.length - 1].route.index && (d = gB({+ }, d = s.matcher && s.compiledParams ? gB(u, l, s.matcher, s.compiledParams) : hB(u, l), f = s.route;+ if (!d && c && n && !r[r.length - 1].route.index && (d = hB({path: s.relativePath,caseSensitive: s.caseSensitive,end: !1}, l)), !d) return null;Object.assign(i, d.params), o.push({params: i,- pathname: CB([a, d.pathname]),- pathnameBase: _pe(CB([a, d.pathnameBase])),+ pathname: SB([a, d.pathname]),+ pathnameBase: vpe(SB([a, d.pathnameBase])),route: f- }), d.pathnameBase !== "/" && (a = CB([a, d.pathnameBase]));+ }), d.pathnameBase !== "/" && (a = SB([a, d.pathnameBase]));}return o;}-function gB(e, t) {+function hB(e, t) {typeof e == "string" && (e = {path: e,caseSensitive: !1,end: !0});- let [n, r] = vB(e.path, e.caseSensitive, e.end);- return _B(e, t, n, r);+ let [n, r] = _B(e.path, e.caseSensitive, e.end);+ return gB(e, t, n, r);}-function _B(e, t, n, r) {+function gB(e, t, n, r) {let i = t.match(n);if (!i) return null;- let a = i[0], o = wB(a, 1), s = i.slice(1);+ let a = i[0], o = CB(a, 1), s = i.slice(1);return {params: r.reduce((e, { paramName: t, isOptional: n }, r) => {if (t === "*") {let e = s[r] || "";- o = wB(a.slice(0, a.length - e.length), 1);+ o = CB(a.slice(0, a.length - e.length), 1);}let i = s[r];return e[t] = n && !i ? void 0 : (i || "").replace(/%2F/g, "/"), e;@@ -42910,8 +42910,8 @@ function _B(e, t, n, r) {pattern: e};}-function vB(e, t = !1, n = !0) {- cB(e === "*" || !e.endsWith("*") || e.endsWith("/*"), `Route path "${e}" will be treated as if it were "${e.replace(/\*$/, "/*")}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${e.replace(/\*$/, "/*")}".`);+function _B(e, t = !1, n = !0) {+ sB(e === "*" || !e.endsWith("*") || e.endsWith("/*"), `Route path "${e}" will be treated as if it were "${e.replace(/\*$/, "/*")}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${e.replace(/\*$/, "/*")}".`);let r = [], i = "^" + e.replace(/\/*\*?$/, "").replace(/^\/*/, "/").replace(/[\\.*+^${}|()[\]]/g, "\\$&").replace(/\/:([\w-]+)(\?)?/g, (e, t, n, i, a) => {if (r.push({paramName: t,@@ -42924,46 +42924,46 @@ function vB(e, t = !1, n = !0) {}).replace(/\/([\w-]+)\?(?=\/|$|\()/g, "(?:/$1)?");return e.endsWith("*") ? (r.push({ paramName: "*" }), i += e === "*" || e === "/*" ? "(.*)$" : "(?:\\/(.+)|\\/*)$") : n ? i += "\\/*$" : e !== "" && e !== "/" && (i += "(?:(?=\\/|$))"), [new RegExp(i, t ? void 0 : "i"), r];}-function fpe(e) {+function ppe(e) {try {return e.split("/").map((e) => decodeURIComponent(e).replace(/\//g, "%2F")).join("/");} catch (t) {- return cB(!1, `The URL path "${e}" could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (${t}).`), e;+ return sB(!1, `The URL path "${e}" could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (${t}).`), e;}}-function yB(e, t) {+function vB(e, t) {if (t === "/") return e;if (!e.toLowerCase().startsWith(t.toLowerCase())) return null;let n = t.endsWith("/") ? t.length - 1 : t.length, r = e.charAt(n);return r && r !== "/" ? null : e.slice(n) || "/";}-function ppe(e, t = "/") {- let { pathname: n, search: r = "", hash: i = "" } = typeof e == "string" ? fB(e) : e, a;- return n ? (n = SB(n), a = n.startsWith("/") || n.startsWith("\\") ? bB(n.substring(1), "/") : bB(n, t)) : a = t, {+function mpe(e, t = "/") {+ let { pathname: n, search: r = "", hash: i = "" } = typeof e == "string" ? dB(e) : e, a;+ return n ? (n = xB(n), a = n.startsWith("/") || n.startsWith("\\") ? yB(n.substring(1), "/") : yB(n, t)) : a = t, {pathname: a,- search: vpe(r),- hash: ype(i)+ search: ype(r),+ hash: bpe(i)};}-function bB(e, t) {- let n = wB(t).split("/");+function yB(e, t) {+ let n = CB(t).split("/");return e.split("/").forEach((e) => {e === ".." ? n.length > 1 && n.pop() : e !== "." && n.push(e);}), n.length > 1 ? n.join("/") : "/";}-function xB(e, t, n, r) {+function bB(e, t, n, r) {return `Cannot include a '${e}' character in a manually specified \`to.${t}\` field [${JSON.stringify(r)}]. Please separate it out to the \`to.${n}\` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.`;}-function mpe(e) {+function hpe(e) {return e.filter((e, t) => t === 0 || e.route.path && e.route.path.length > 0);}-function hpe(e) {- let t = mpe(e);+function gpe(e) {+ let t = hpe(e);return t.map((e, n) => n === t.length - 1 ? e.pathname : e.pathnameBase);}-function gpe(e, t, n, r = !1) {+function _pe(e, t, n, r = !1) {let i;- typeof e == "string" ? i = fB(e) : (i = { ...e }, sB(!i.pathname || !i.pathname.includes("?"), xB("?", "pathname", "search", i)), sB(!i.pathname || !i.pathname.includes("#"), xB("#", "pathname", "hash", i)), sB(!i.search || !i.search.includes("#"), xB("#", "search", "hash", i)));+ typeof e == "string" ? i = dB(e) : (i = { ...e }, oB(!i.pathname || !i.pathname.includes("?"), bB("?", "pathname", "search", i)), oB(!i.pathname || !i.pathname.includes("#"), bB("#", "pathname", "hash", i)), oB(!i.search || !i.search.includes("#"), bB("#", "search", "hash", i)));let a = e === "" || i.pathname === "", o = a ? "/" : i.pathname, s;if (o == null) s = n;else {@@ -42975,16 +42975,16 @@ function gpe(e, t, n, r = !1) {}s = e >= 0 ? t[e] : "/";}- let c = ppe(i, s), l = o && o !== "/" && o.endsWith("/"), u = (a || o === ".") && n.endsWith("/");+ let c = mpe(i, s), l = o && o !== "/" && o.endsWith("/"), u = (a || o === ".") && n.endsWith("/");return !c.pathname.endsWith("/") && (l || u) && (c.pathname += "/"), c;}-var SB = (e) => e.replace(/[\\/]{2,}/g, "/"), CB = (e) => SB(e.join("/"));-function wB(e, t = 0) {+var xB = (e) => e.replace(/[\\/]{2,}/g, "/"), SB = (e) => xB(e.join("/"));+function CB(e, t = 0) {let n = e.length;for (; n > t && e.charCodeAt(n - 1) === 47;) n--;return n === e.length ? e : e.slice(0, n);}-var _pe = (e) => wB(e).replace(/^\/*/, "/"), vpe = (e) => !e || e === "?" ? "" : e.startsWith("?") ? e : "?" + e, ype = (e) => !e || e === "#" ? "" : e.startsWith("#") ? e : "#" + e, bpe = class {+var vpe = (e) => CB(e).replace(/^\/*/, "/"), ype = (e) => !e || e === "?" ? "" : e.startsWith("?") ? e : "?" + e, bpe = (e) => !e || e === "#" ? "" : e.startsWith("#") ? e : "#" + e, xpe = class {status;statusText;data;@@ -42994,26 +42994,26 @@ var _pe = (e) => wB(e).replace(/^\/*/, "/"), vpe = (e) => !e || e === "?" ? "" :this.status = e, this.statusText = t || "", this.internal = r, n instanceof Error ? (this.data = n.toString(), this.error = n) : this.data = n;}};-function xpe(e) {+function Spe(e) {return e != null && typeof e.status == "number" && typeof e.statusText == "string" && typeof e.internal == "boolean" && "data" in e;}-function Spe(e) {- return CB(e.map((e) => e.route.path).filter(Boolean)) || "/";+function Cpe(e) {+ return SB(e.map((e) => e.route.path).filter(Boolean)) || "/";}-var TB = typeof window < "u" && window.document !== void 0 && window.document.createElement !== void 0;-function Cpe(e, t) {+var wB = typeof window < "u" && window.document !== void 0 && window.document.createElement !== void 0;+function wpe(e, t) {let n = e;- if (typeof n != "string" || !Gfe.test(n)) return {+ if (typeof n != "string" || !Kfe.test(n)) return {absoluteURL: void 0,isExternal: !1,to: n};let r = n, i = !1;- if (TB) try {- let e = new URL(window.location.href), r = iB.test(n) ? new URL(Kfe(n, e.protocol)) : new URL(n), a = yB(r.pathname, t);+ if (wB) try {+ let e = new URL(window.location.href), r = rB.test(n) ? new URL(qfe(n, e.protocol)) : new URL(n), a = vB(r.pathname, t);r.origin === e.origin && a != null ? n = a + r.search + r.hash : i = !0;} catch {- cB(!1, `<Link to="${n}"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.`);+ sB(!1, `<Link to="${n}"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.`);}return {absoluteURL: r,@@ -43023,45 +43023,45 @@ function Cpe(e, t) {}//#endregion//#region node_modules/react-router/dist/production/lib/router/navigation.js-var EB = new URL("http://localhost");-function DB(e) {+var TB = new URL("http://localhost");+function EB(e) {if (e.createURL) return e.createURL("/");try {- return new URL(e.createHref("/"), EB);+ return new URL(e.createHref("/"), TB);} catch {- return EB;+ return TB;}}-function OB(e, t) {+function DB(e, t) {return e.origin === t.origin && (e.origin !== "null" || e.protocol === t.protocol && e.host === t.host);}-function wpe(e, t) {+function Tpe(e, t) {if (e.startsWith("//")) return !0;let n = t.protocol.toLowerCase();return e.toLowerCase().startsWith(n) ? t.host === "" || e.slice(n.length).startsWith("//") : !1;}-function kB(e, t, n, r) {+function OB(e, t, n, r) {let i = null;try {i = e == null ? null : new URL(e, n);} catch {}- let a = new URL(t, n), o = i != null && !OB(i, n), s = !OB(a, n);+ let a = new URL(t, n), o = i != null && !DB(i, n), s = !DB(a, n);if (r === "reject") {if (o || s) throw Error("External navigation is not allowed");- } else if (s && (i == null || !wpe(e, i) || !OB(i, a))) throw Error("External navigation is not allowed");+ } else if (s && (i == null || !Tpe(e, i) || !DB(i, a))) throw Error("External navigation is not allowed");}//#endregion//#region node_modules/react-router/dist/production/lib/router/router.js-var AB = [+var kB = ["POST","PUT","PATCH","DELETE"];-new Set(AB);-var Tpe = ["GET", ...AB];-new Set(Tpe);-var Epe = [+new Set(kB);+var Epe = ["GET", ...kB];+new Set(Epe);+var Dpe = ["about:","blob:","chrome:",@@ -43073,85 +43073,85 @@ var Epe = ["filesystem:","javascript:"];-function Dpe(e) {+function Ope(e) {try {- return Epe.includes(new URL(e).protocol);+ return Dpe.includes(new URL(e).protocol);} catch {return !1;}}//#endregion//#region node_modules/react-router/dist/production/lib/context.js-var jB = D.createContext(null);-jB.displayName = "DataRouter";-var Ope = D.createContext(null);-Ope.displayName = "DataRouterState";-var MB = D.createContext(null);-MB.displayName = "DataRouterData";+var AB = D.createContext(null);+AB.displayName = "DataRouter";var kpe = D.createContext(null);-kpe.displayName = "DataRouterNavigation";-var Ape = D.createContext(!1), jpe = D.createContext({ isTransitioning: !1 });-jpe.displayName = "ViewTransition";-var Mpe = D.createContext(null);-Mpe.displayName = "Fetchers";+kpe.displayName = "DataRouterState";+var jB = D.createContext(null);+jB.displayName = "DataRouterData";+var Ape = D.createContext(null);+Ape.displayName = "DataRouterNavigation";+var jpe = D.createContext(!1), Mpe = D.createContext({ isTransitioning: !1 });+Mpe.displayName = "ViewTransition";var Npe = D.createContext(null);-Npe.displayName = "Await";+Npe.displayName = "Fetchers";+var Ppe = D.createContext(null);+Ppe.displayName = "Await";+var MB = D.createContext(null);+MB.displayName = "Navigation";var NB = D.createContext(null);-NB.displayName = "Navigation";-var PB = D.createContext(null);-PB.displayName = "Location";-var FB = D.createContext({+NB.displayName = "Location";+var PB = D.createContext({outlet: null,matches: [],isDataRoute: !1});-FB.displayName = "Route";-var IB = D.createContext(!1);-IB.displayName = "IsDataRoute";-var LB = D.createContext(void 0);-LB.displayName = "RouteId";-var RB = D.createContext(null);-RB.displayName = "RouteError";+PB.displayName = "Route";+var FB = D.createContext(!1);+FB.displayName = "IsDataRoute";+var IB = D.createContext(void 0);+IB.displayName = "RouteId";+var LB = D.createContext(null);+LB.displayName = "RouteError";//#endregion//#region node_modules/react-router/dist/production/lib/errors.js-var zB = "REACT_ROUTER_ERROR", Ppe = "REDIRECT", Fpe = "ROUTE_ERROR_RESPONSE";-function Ipe(e) {- if (e.startsWith(`${zB}:${Ppe}:{`)) try {+var RB = "REACT_ROUTER_ERROR", Fpe = "REDIRECT", Ipe = "ROUTE_ERROR_RESPONSE";+function Lpe(e) {+ if (e.startsWith(`${RB}:${Fpe}:{`)) try {let t = JSON.parse(e.slice(28));if (typeof t == "object" && t && typeof t.status == "number" && typeof t.statusText == "string" && typeof t.location == "string" && typeof t.reloadDocument == "boolean" && typeof t.replace == "boolean") return t;} catch {}}-function Lpe(e) {- if (e.startsWith(`${zB}:${Fpe}:{`)) try {+function Rpe(e) {+ if (e.startsWith(`${RB}:${Ipe}:{`)) try {let t = JSON.parse(e.slice(40));- if (typeof t == "object" && t && typeof t.status == "number" && typeof t.statusText == "string") return new bpe(t.status, t.statusText, t.data);+ if (typeof t == "object" && t && typeof t.status == "number" && typeof t.statusText == "string") return new xpe(t.status, t.statusText, t.data);} catch {}}//#endregion//#region node_modules/react-router/dist/production/lib/hooks.js-function BB() {- return D.useContext(PB) != null;-}-function VB() {- return sB(BB(), "useLocation() may be used only in the context of a <Router> component."), D.useContext(PB).location;+function zB() {+ return D.useContext(NB) != null;}-var HB = "You should call navigate() in a React.useEffect(), not when your component is first rendered.";-function Rpe() {- return D.useContext(IB) ? Xpe() : zpe();+function BB() {+ return oB(zB(), "useLocation() may be used only in the context of a <Router> component."), D.useContext(NB).location;}+var VB = "You should call navigate() in a React.useEffect(), not when your component is first rendered.";function zpe() {- sB(BB(), "useNavigate() may be used only in the context of a <Router> component.");- let e = D.useContext(jB), { basename: t, navigator: n } = D.useContext(NB), { matches: r } = D.useContext(FB), { pathname: i } = VB(), a = JSON.stringify(hpe(r)), o = D.useRef(!1);+ return D.useContext(FB) ? Zpe() : Bpe();+}+function Bpe() {+ oB(zB(), "useNavigate() may be used only in the context of a <Router> component.");+ let e = D.useContext(AB), { basename: t, navigator: n } = D.useContext(MB), { matches: r } = D.useContext(PB), { pathname: i } = BB(), a = JSON.stringify(gpe(r)), o = D.useRef(!1);return D.useLayoutEffect(() => {o.current = !0;}), D.useCallback((r, s = {}) => {- if (cB(o.current, HB), !o.current) return;+ if (sB(o.current, VB), !o.current) return;if (typeof r == "number") {n.go(r);return;}- let c = gpe(r, JSON.parse(a), i, s.relative === "path");- e == null && t !== "/" && (c.pathname = c.pathname === "/" ? t : CB([t, c.pathname])), kB(typeof r == "string" ? r : dB(r), n.createHref(c), DB(n), "reject"), (s.replace ? n.replace : n.push)(c, s.state, s);+ let c = _pe(r, JSON.parse(a), i, s.relative === "path");+ e == null && t !== "/" && (c.pathname = c.pathname === "/" ? t : SB([t, c.pathname])), OB(typeof r == "string" ? r : uB(r), n.createHref(c), EB(n), "reject"), (s.replace ? n.replace : n.push)(c, s.state, s);}, [t,n,@@ -43161,19 +43161,19 @@ function zpe() {]);}D.createContext(null);-function Bpe(e, t) {- return UB(e, t);+function Vpe(e, t) {+ return HB(e, t);}-function UB(e, t, n) {- sB(BB(), "useRoutes() may be used only in the context of a <Router> component.");- let { navigator: r } = D.useContext(NB), { matches: i } = D.useContext(FB), a = i[i.length - 1], o = a ? a.params : {};+function HB(e, t, n) {+ oB(zB(), "useRoutes() may be used only in the context of a <Router> component.");+ let { navigator: r } = D.useContext(MB), { matches: i } = D.useContext(PB), a = i[i.length - 1], o = a ? a.params : {};a && a.pathname;let s = a ? a.pathnameBase : "/";a && a.route;- let c = VB(), l;+ let c = BB(), l;if (t) {- let e = typeof t == "string" ? fB(t) : t;- sB(s === "/" || e.pathname?.startsWith(s), `When overriding the location using \`<Routes location>\` or \`useRoutes(routes, location)\`, the location pathname must begin with the portion of the URL pathname that was matched by all parent routes. The current pathname base is "${s}" but pathname "${e.pathname}" was given in the \`location\` prop.`), l = e;+ let e = typeof t == "string" ? dB(t) : t;+ oB(s === "/" || e.pathname?.startsWith(s), `When overriding the location using \`<Routes location>\` or \`useRoutes(routes, location)\`, the location pathname must begin with the portion of the URL pathname that was matched by all parent routes. The current pathname base is "${s}" but pathname "${e.pathname}" was given in the \`location\` prop.`), l = e;} else l = c;let u = l.pathname || "/", d = u;if (s !== "/") {@@ -43181,13 +43181,13 @@ function UB(e, t, n) {d = "/" + u.replace(/^\//, "").split("/").slice(e.length).join("/");}let f;- f = n ? n.state.matches.length ? n.state.matches.map((e) => Object.assign(e, { route: n.manifest[e.route.id] || e.route })) : n.router.match(n.state.location) : Zfe(e, { pathname: d });- let p = Kpe(f && f.map((e) => Object.assign({}, e, {+ f = n ? n.state.matches.length ? n.state.matches.map((e) => Object.assign(e, { route: n.manifest[e.route.id] || e.route })) : n.router.match(n.state.location) : Qfe(e, { pathname: d });+ let p = qpe(f && f.map((e) => Object.assign({}, e, {params: Object.assign({}, o, e.params),- pathname: CB([s, r.encodeLocation ? r.encodeLocation(e.pathname.replace(/%/g, "%25").replace(/\?/g, "%3F").replace(/#/g, "%23")).pathname : e.pathname]),- pathnameBase: e.pathnameBase === "/" ? s : CB([s, r.encodeLocation ? r.encodeLocation(e.pathnameBase.replace(/%/g, "%25").replace(/\?/g, "%3F").replace(/#/g, "%23")).pathname : e.pathnameBase])+ pathname: SB([s, r.encodeLocation ? r.encodeLocation(e.pathname.replace(/%/g, "%25").replace(/\?/g, "%3F").replace(/#/g, "%23")).pathname : e.pathname]),+ pathnameBase: e.pathnameBase === "/" ? s : SB([s, r.encodeLocation ? r.encodeLocation(e.pathnameBase.replace(/%/g, "%25").replace(/\?/g, "%3F").replace(/#/g, "%23")).pathname : e.pathnameBase])})), i, n);- return t && p ? /* @__PURE__ */ D.createElement(PB.Provider, { value: {+ return t && p ? /* @__PURE__ */ D.createElement(NB.Provider, { value: {location: {pathname: "/",search: "",@@ -43200,14 +43200,14 @@ function UB(e, t, n) {navigationType: "POP"} }, p) : p;}-function Vpe() {- let e = Ype(), t = xpe(e) ? `${e.status} ${e.statusText}` : e instanceof Error ? e.message : JSON.stringify(e), n = e instanceof Error ? e.stack : null;+function Hpe() {+ let e = Xpe(), t = Spe(e) ? `${e.status} ${e.statusText}` : e instanceof Error ? e.message : JSON.stringify(e), n = e instanceof Error ? e.stack : null;return /* @__PURE__ */ D.createElement(D.Fragment, null, /* @__PURE__ */ D.createElement("h2", null, "Unexpected Application Error!"), /* @__PURE__ */ D.createElement("h3", { style: { fontStyle: "italic" } }, t), n ? /* @__PURE__ */ D.createElement("pre", { style: {padding: "0.5rem",backgroundColor: "rgba(200,200,200, 0.5)"} }, n) : null, null);}-var Hpe = /* @__PURE__ */ D.createElement(Vpe, null), Upe = class extends D.Component {+var Upe = /* @__PURE__ */ D.createElement(Hpe, null), Wpe = class extends D.Component {constructor(e) {super(e), this.state = {location: e.location,@@ -43215,7 +43215,7 @@ var Hpe = /* @__PURE__ */ D.createElement(Vpe, null), Upe = class extends D.Comperror: e.error};}- static contextType = Ape;+ static contextType = jpe;static getDerivedStateFromError(e) {return { error: e };}@@ -43236,30 +43236,30 @@ var Hpe = /* @__PURE__ */ D.createElement(Vpe, null), Upe = class extends D.Comprender() {let e = this.state.error;if (this.context && typeof e == "object" && e && "digest" in e && typeof e.digest == "string") {- let t = Lpe(e.digest);+ let t = Rpe(e.digest);t && (e = t);}- let t = e === void 0 ? this.props.children : /* @__PURE__ */ D.createElement(FB.Provider, { value: this.props.routeContext }, /* @__PURE__ */ D.createElement(IB.Provider, { value: this.props.routeContext.isDataRoute }, /* @__PURE__ */ D.createElement(LB.Provider, { value: this.props.routeContext.matches[this.props.routeContext.matches.length - 1]?.route.id }, /* @__PURE__ */ D.createElement(RB.Provider, {+ let t = e === void 0 ? this.props.children : /* @__PURE__ */ D.createElement(PB.Provider, { value: this.props.routeContext }, /* @__PURE__ */ D.createElement(FB.Provider, { value: this.props.routeContext.isDataRoute }, /* @__PURE__ */ D.createElement(IB.Provider, { value: this.props.routeContext.matches[this.props.routeContext.matches.length - 1]?.route.id }, /* @__PURE__ */ D.createElement(LB.Provider, {value: e,children: this.props.component}))));- return this.context ? /* @__PURE__ */ D.createElement(Wpe, { error: e }, t) : t;+ return this.context ? /* @__PURE__ */ D.createElement(Gpe, { error: e }, t) : t;}-}, WB = /* @__PURE__ */ new WeakMap();-function Wpe({ children: e, error: t }) {- let { basename: n, navigator: r } = D.useContext(NB);+}, UB = /* @__PURE__ */ new WeakMap();+function Gpe({ children: e, error: t }) {+ let { basename: n, navigator: r } = D.useContext(MB);if (typeof t == "object" && t && "digest" in t && typeof t.digest == "string") {- let e = Ipe(t.digest);+ let e = Lpe(t.digest);if (e) {- let i = WB.get(t);+ let i = UB.get(t);if (i) throw i;- let a = Cpe(e.location, n), o = a.absoluteURL || a.to;- if (kB(e.location, o, DB(r), "allow-explicit"), Dpe(o)) throw Error("Invalid redirect location");- if (TB && !WB.get(t)) {+ let a = wpe(e.location, n), o = a.absoluteURL || a.to;+ if (OB(e.location, o, EB(r), "allow-explicit"), Ope(o)) throw Error("Invalid redirect location");+ if (wB && !UB.get(t)) {if (a.isExternal || e.reloadDocument) window.location.href = o;else {let n = Promise.resolve().then(() => window.__reactRouterDataRouter.navigate(a.to, { replace: e.replace }));- throw WB.set(t, n), n;+ throw UB.set(t, n), n;}}return /* @__PURE__ */ D.createElement("meta", {@@ -43270,11 +43270,11 @@ function Wpe({ children: e, error: t }) {}return e;}-function Gpe({ routeContext: e, match: t, children: n }) {- let r = D.useContext(jB);- return r && r.static && r.staticContext && (t.route.errorElement || t.route.ErrorBoundary) && (r.staticContext._deepestRenderedBoundaryId = t.route.id), /* @__PURE__ */ D.createElement(FB.Provider, { value: e }, /* @__PURE__ */ D.createElement(IB.Provider, { value: e.isDataRoute }, /* @__PURE__ */ D.createElement(LB.Provider, { value: t.route.id }, n)));+function Kpe({ routeContext: e, match: t, children: n }) {+ let r = D.useContext(AB);+ return r && r.static && r.staticContext && (t.route.errorElement || t.route.ErrorBoundary) && (r.staticContext._deepestRenderedBoundaryId = t.route.id), /* @__PURE__ */ D.createElement(PB.Provider, { value: e }, /* @__PURE__ */ D.createElement(FB.Provider, { value: e.isDataRoute }, /* @__PURE__ */ D.createElement(IB.Provider, { value: t.route.id }, n)));}-function Kpe(e, t = [], n) {+function qpe(e, t = [], n) {let r = n?.state;if (e == null) {if (!r) return null;@@ -43285,7 +43285,7 @@ function Kpe(e, t = [], n) {let i = e, a = r?.errors;if (a != null) {let e = i.findIndex((e) => e.route.id && a?.[e.route.id] !== void 0);- sB(e >= 0, `Could not find a matching route for errors on route IDs: ${Object.keys(a).join(",")}`), i = i.slice(0, Math.min(i.length, e + 1));+ oB(e >= 0, `Could not find a matching route for errors on route IDs: ${Object.keys(a).join(",")}`), i = i.slice(0, Math.min(i.length, e + 1));}let o = !1, s = -1;if (n && r) {@@ -43305,16 +43305,16 @@ function Kpe(e, t = [], n) {c(e, {location: r.location,params: r.matches?.[0]?.params ?? {},- pattern: Spe(r.matches),+ pattern: Cpe(r.matches),errorInfo: t});} : void 0;return i.reduceRight((e, n, c) => {let u, d = !1, f = null, p = null;- r && (u = a && n.route.id ? a[n.route.id] : void 0, f = n.route.errorElement || Hpe, o && (s < 0 && c === 0 ? (Zpe("route-fallback", !1, "No `HydrateFallback` element provided to render during initial hydration"), d = !0, p = null) : s === c && (d = !0, p = n.route.hydrateFallbackElement || null)));+ r && (u = a && n.route.id ? a[n.route.id] : void 0, f = n.route.errorElement || Upe, o && (s < 0 && c === 0 ? (Qpe("route-fallback", !1, "No `HydrateFallback` element provided to render during initial hydration"), d = !0, p = null) : s === c && (d = !0, p = n.route.hydrateFallbackElement || null)));let m = t.concat(i.slice(0, c + 1)), h = () => {let t;- return t = u ? f : d ? p : n.route.Component ? /* @__PURE__ */ D.createElement(n.route.Component, null) : n.route.element ? n.route.element : e, /* @__PURE__ */ D.createElement(Gpe, {+ return t = u ? f : d ? p : n.route.Component ? /* @__PURE__ */ D.createElement(n.route.Component, null) : n.route.element ? n.route.element : e, /* @__PURE__ */ D.createElement(Kpe, {match: n,routeContext: {outlet: e,@@ -43324,7 +43324,7 @@ function Kpe(e, t = [], n) {children: t});};- return r && (n.route.ErrorBoundary || n.route.errorElement || c === 0) ? /* @__PURE__ */ D.createElement(Upe, {+ return r && (n.route.ErrorBoundary || n.route.errorElement || c === 0) ? /* @__PURE__ */ D.createElement(Wpe, {location: r.location,revalidation: r.revalidation,component: f,@@ -43339,44 +43339,44 @@ function Kpe(e, t = [], n) {}) : h();}, null);}-function GB(e) {+function WB(e) {return `${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`;}-function qpe(e) {- let t = D.useContext(jB);- return sB(t, GB(e)), t;-}function Jpe(e) {- let t = D.useContext(MB);- return sB(t, GB(e)), t;+ let t = D.useContext(AB);+ return oB(t, WB(e)), t;}-function KB(e) {- let t = D.useContext(LB);- return sB(t, `${e} can only be used on routes that contain a unique "id"`), t;+function Ype(e) {+ let t = D.useContext(jB);+ return oB(t, WB(e)), t;}-function Ype() {- let e = D.useContext(RB), t = Jpe("useRouteError"), n = KB("useRouteError");- return e === void 0 ? t.errors?.[n] : e;+function GB(e) {+ let t = D.useContext(IB);+ return oB(t, `${e} can only be used on routes that contain a unique "id"`), t;}function Xpe() {- let { router: e } = qpe("useNavigate"), t = KB("useNavigate"), n = D.useRef(!1);+ let e = D.useContext(LB), t = Ype("useRouteError"), n = GB("useRouteError");+ return e === void 0 ? t.errors?.[n] : e;+}+function Zpe() {+ let { router: e } = Jpe("useNavigate"), t = GB("useNavigate"), n = D.useRef(!1);return D.useLayoutEffect(() => {n.current = !0;}), D.useCallback(async (r, i = {}) => {- cB(n.current, HB), n.current && (typeof r == "number" ? await e.navigate(r) : await e.navigate(r, {+ sB(n.current, VB), n.current && (typeof r == "number" ? await e.navigate(r) : await e.navigate(r, {fromRouteId: t,...i}));}, [e, t]);}-var qB = {};-function Zpe(e, t, n) {- !t && !qB[e] && (qB[e] = !0, cB(!1, n));+var KB = {};+function Qpe(e, t, n) {+ !t && !KB[e] && (KB[e] = !0, sB(!1, n));}-D.memo(Qpe);-function Qpe({ routes: e, manifest: t, state: n, isStatic: r, onError: i }) {- let a = D.useContext(jB);- return sB(a, "You must render this element inside a <DataRouterContext.Provider> element"), UB(e, void 0, {+D.memo($pe);+function $pe({ routes: e, manifest: t, state: n, isStatic: r, onError: i }) {+ let a = D.useContext(AB);+ return oB(a, "You must render this element inside a <DataRouterContext.Provider> element"), HB(e, void 0, {router: a.router,manifest: t,state: n,@@ -43384,11 +43384,11 @@ function Qpe({ routes: e, manifest: t, state: n, isStatic: r, onError: i }) {onError: i});}-function JB(e) {- sB(!1, "A <Route> is only ever to be used as the child of <Routes> element, never rendered directly. Please wrap your <Route> in a <Routes>.");+function qB(e) {+ oB(!1, "A <Route> is only ever to be used as the child of <Routes> element, never rendered directly. Please wrap your <Route> in a <Routes>.");}-function $pe({ basename: e = "/", children: t = null, location: n, navigationType: r = "POP", navigator: i, static: a = !1, useTransitions: o }) {- sB(!BB(), "You cannot render a <Router> inside another <Router>. You should never have more than one in your app.");+function eme({ basename: e = "/", children: t = null, location: n, navigationType: r = "POP", navigator: i, static: a = !1, useTransitions: o }) {+ oB(!zB(), "You cannot render a <Router> inside another <Router>. You should never have more than one in your app.");let s = e.replace(/^\/*/, "/"), c = D.useMemo(() => ({basename: s,navigator: i,@@ -43401,9 +43401,9 @@ function $pe({ basename: e = "/", children: t = null, location: n, navigationTypa,o]);- typeof n == "string" && (n = fB(n));+ typeof n == "string" && (n = dB(n));let { pathname: l = "/", search: u = "", hash: d = "", state: f = null, key: p = "default", mask: m } = n, h = D.useMemo(() => {- let e = yB(l, s);+ let e = vB(l, s);return e == null ? null : {location: {pathname: e,@@ -43425,27 +43425,27 @@ function $pe({ basename: e = "/", children: t = null, location: n, navigationTypr,m]);- return cB(h != null, `<Router basename="${s}"> is not able to match the URL "${l}${u}${d}" because it does not start with the basename, so the <Router> won't render anything.`), h == null ? null : /* @__PURE__ */ D.createElement(NB.Provider, { value: c }, /* @__PURE__ */ D.createElement(PB.Provider, {+ return sB(h != null, `<Router basename="${s}"> is not able to match the URL "${l}${u}${d}" because it does not start with the basename, so the <Router> won't render anything.`), h == null ? null : /* @__PURE__ */ D.createElement(MB.Provider, { value: c }, /* @__PURE__ */ D.createElement(NB.Provider, {children: t,value: h}));}-function YB({ children: e, location: t }) {- return Bpe(XB(e), t);+function JB({ children: e, location: t }) {+ return Vpe(YB(e), t);}D.Component;-function XB(e, t = []) {+function YB(e, t = []) {let n = [];return D.Children.forEach(e, (e, r) => {if (!D.isValidElement(e)) return;let i = [...t, r];if (e.type === D.Fragment) {- n.push.apply(n, XB(e.props.children, i));+ n.push.apply(n, YB(e.props.children, i));return;}- sB(e.type === JB, `[${typeof e.type == "string" ? e.type : e.type.name}] is not a <Route> component. All component children of <Routes> must be a <Route> or <React.Fragment>`);+ oB(e.type === qB, `[${typeof e.type == "string" ? e.type : e.type.name}] is not a <Route> component. All component children of <Routes> must be a <Route> or <React.Fragment>`);let a = e.props;- sB(!a.index || !a.children, "An index route cannot have child routes.");+ oB(!a.index || !a.children, "An index route cannot have child routes.");let o = {id: a.id || i.join("-"),caseSensitive: a.caseSensitive,@@ -43464,17 +43464,17 @@ function XB(e, t = []) {handle: a.handle,lazy: a.lazy};- a.children && (o.children = XB(a.children, i)), n.push(o);+ a.children && (o.children = YB(a.children, i)), n.push(o);}), n;}//#endregion//#region src/react/components/board-navigation-link.tsx-function eme(e) {+function tme(e) {return /* @__PURE__ */ (0, O.jsx)("a", { ...e });}//#endregion//#region src/react/boardui/components/foundations/icons/chevrons.tsx-function tme(e) {+function nme(e) {return /* @__PURE__ */ (0, O.jsx)("svg", {viewBox: "0 0 16 16",fill: "none",@@ -43488,7 +43488,7 @@ function tme(e) {})});}-function nme(e) {+function rme(e) {return /* @__PURE__ */ (0, O.jsx)("svg", {viewBox: "0 0 12 12",fill: "none",@@ -43502,7 +43502,7 @@ function nme(e) {})});}-function ZB(e) {+function XB(e) {return /* @__PURE__ */ (0, O.jsx)("svg", {viewBox: "0 0 24 24",fill: "none",@@ -43516,54 +43516,54 @@ function ZB(e) {}//#endregion//#region src/react/boardui/components/base/breadcrumb/breadcrumb.tsx-function rme({ children: e, "aria-label": t = "Breadcrumb", className: n, ref: r }) {+function ime({ children: e, "aria-label": t = "Breadcrumb", className: n, ref: r }) {let i = D.Children.toArray(e).filter(D.isValidElement);return /* @__PURE__ */ (0, O.jsx)("nav", {ref: r,"aria-label": t,- className: AF("flex w-full items-center overflow-x-auto [scrollbar-width:none] [&::-webkit-scrollbar]:hidden", n),+ className: kF("flex w-full items-center overflow-x-auto [scrollbar-width:none] [&::-webkit-scrollbar]:hidden", n),children: /* @__PURE__ */ (0, O.jsx)("ol", {className: "flex items-center gap-2.5 px-1",- children: i.map((e, t) => /* @__PURE__ */ (0, O.jsxs)(D.Fragment, { children: [t > 0 && /* @__PURE__ */ (0, O.jsx)(nme, {+ children: i.map((e, t) => /* @__PURE__ */ (0, O.jsxs)(D.Fragment, { children: [t > 0 && /* @__PURE__ */ (0, O.jsx)(rme, {className: "size-3 shrink-0 text-text-tertiary","aria-hidden": !0}), e] }, e.key ?? t))})});}-function QB({ children: e, icon: t, href: n, onClick: r, current: i = !1, className: a }) {+function ZB({ children: e, icon: t, href: n, onClick: r, current: i = !1, className: a }) {let o = /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [t && /* @__PURE__ */ (0, O.jsx)(t, {className: "size-4 shrink-0","aria-hidden": !0}), e] });if (i) return /* @__PURE__ */ (0, O.jsx)("li", {"aria-current": "page",- className: AF("flex items-center gap-1.5 text-caption-1-medium whitespace-nowrap text-text-secondary", a),+ className: kF("flex items-center gap-1.5 text-caption-1-medium whitespace-nowrap text-text-secondary", a),children: o});- let s = AF("-mx-1 flex items-center gap-1.5 rounded-md px-1 py-0.5 text-caption-1-medium whitespace-nowrap text-text-tertiary", "transition-colors duration-150 ease outline-none", "hover:bg-background-primary-hover hover:text-text-secondary", "focus-visible:ring-2 focus-visible:ring-border-focus-ring", a);+ let s = kF("-mx-1 flex items-center gap-1.5 rounded-md px-1 py-0.5 text-caption-1-medium whitespace-nowrap text-text-tertiary", "transition-colors duration-150 ease outline-none", "hover:bg-background-primary-hover hover:text-text-secondary", "focus-visible:ring-2 focus-visible:ring-border-focus-ring", a);return /* @__PURE__ */ (0, O.jsx)("li", {className: "flex items-center",- children: n ? /* @__PURE__ */ (0, O.jsx)(eme, {+ children: n ? /* @__PURE__ */ (0, O.jsx)(tme, {href: n,className: s,children: o}) : /* @__PURE__ */ (0, O.jsx)("button", {type: "button",onClick: r,- className: AF("cursor-pointer", s),+ className: kF("cursor-pointer", s),children: o})});}//#endregion//#region src/react/boardui/components/foundations/direction/direction.tsx-function $B() {- return Zx().direction;+function QB() {+ return Xx().direction;}//#endregion//#region src/react/boardui/components/base/dropdown/menu-styles.ts-var eV = [+var $B = ["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",@@ -43571,11 +43571,11 @@ var eV = ["data-[exiting]:opacity-0 data-[exiting]:scale-95 data-[exiting]:blur-[2px]","data-[placement=bottom]:origin-top-left data-[placement=top]:origin-bottom-left","data-[placement=left]:origin-right data-[placement=right]:origin-left"-].join(" "), ime = "w-[266px]", ame = "flex w-full flex-col gap-1 outline-none", tV = ["flex w-full cursor-pointer items-center gap-2 rounded-2lg p-2 text-left", "text-text-primary outline-none transition-colors"].join(" "), nV = "hover:bg-dropdown-item-hover-background focus-visible:bg-dropdown-item-hover-background";+].join(" "), ame = "w-[266px]", ome = "flex w-full flex-col gap-1 outline-none", eV = ["flex w-full cursor-pointer items-center gap-2 rounded-2lg p-2 text-left", "text-text-primary outline-none transition-colors"].join(" "), tV = "hover:bg-dropdown-item-hover-background focus-visible:bg-dropdown-item-hover-background";//#endregion//#region src/react/boardui/components/base/tree-view/tree-view.tsx-function ome({ size: e = "md", showGuides: t = !0, selectionMode: n = "single", renderEmptyState: r = () => "No items.", className: i, onKeyDownCapture: a, ref: o, ...s }) {- let c = $B(), l = (0, D.useContext)(kI), u = l === DI && !s.dragAndDropHooks ? iV : l;+function sme({ size: e = "md", showGuides: t = !0, selectionMode: n = "single", renderEmptyState: r = () => "No items.", className: i, onKeyDownCapture: a, ref: o, ...s }) {+ let c = QB(), l = (0, D.useContext)(OI), u = l === EI && !s.dragAndDropHooks ? rV : l;return /* @__PURE__ */ (0, O.jsx)("div", {className: "contents",onKeyDownCapture: (e) => {@@ -43592,23 +43592,23 @@ function ome({ size: e = "md", showGuides: t = !0, selectionMode: n = "single",}}},- children: /* @__PURE__ */ (0, O.jsx)(kI.Provider, {+ children: /* @__PURE__ */ (0, O.jsx)(OI.Provider, {value: u,- children: /* @__PURE__ */ (0, O.jsx)(Hde, {+ children: /* @__PURE__ */ (0, O.jsx)(Ude, {...s,ref: o,selectionMode: n,"data-size": e,"data-show-guides": t,renderEmptyState: r,- className: (e) => AF("group/tree-view flex w-full min-w-0 flex-col rounded-3xl border border-border-button-default bg-background-primary-default p-2 outline-none", u === iV ? "gap-0" : "gap-0.5", "data-[empty]:px-4 data-[empty]:py-8 data-[empty]:text-center data-[empty]:text-body-regular data-[empty]:text-text-tertiary", "data-[focus-visible]:ring-2 data-[focus-visible]:ring-border-focus-ring", typeof i == "function" ? i(e) : i)+ className: (e) => kF("group/tree-view flex w-full min-w-0 flex-col rounded-3xl border border-border-button-default bg-background-primary-default p-2 outline-none", u === rV ? "gap-0" : "gap-0.5", "data-[empty]:px-4 data-[empty]:py-8 data-[empty]:text-center data-[empty]:text-body-regular data-[empty]:text-text-tertiary", "data-[focus-visible]:ring-2 data-[focus-visible]:ring-border-focus-ring", typeof i == "function" ? i(e) : i)})})});}-function rV({ label: e, textValue: t = e, icon: n, expandedIcon: r, iconClassName: i, trailingContent: a, children: o, className: s, style: c, ref: l, ...u }) {- let d = $B();- return /* @__PURE__ */ (0, O.jsxs)(Gde, {+function nV({ label: e, textValue: t = e, icon: n, expandedIcon: r, iconClassName: i, trailingContent: a, children: o, className: s, style: c, ref: l, ...u }) {+ let d = QB();+ return /* @__PURE__ */ (0, O.jsxs)(Kde, {...u,ref: l,textValue: t,@@ -43616,11 +43616,11 @@ function rV({ label: e, textValue: t = e, icon: n, expandedIcon: r, iconClassNampaddingInlineStart: `calc(0.5rem + ${e.level - 1} * 1.25rem)`,...typeof c == "function" ? c(e) : c}),- className: (e) => AF("relative flex min-h-9 min-w-0 cursor-pointer items-center gap-2 rounded-xl pe-2 text-body-regular text-text-primary outline-none", "transition-[background-color,color,box-shadow] duration-150 motion-reduce:transition-none", "group-data-[size=sm]/tree-view:min-h-8 group-data-[size=sm]/tree-view:text-body-2-regular", (e.isHovered || e.isPressed || e.isFocusVisible) && !e.isDisabled && "bg-dropdown-item-hover-background", e.isSelected && "bg-dropdown-item-hover-background", e.isFocusVisible && "ring-2 ring-inset ring-border-focus-ring", e.isDisabled && "cursor-default text-text-placeholder", typeof s == "function" ? s(e) : s),- children: [/* @__PURE__ */ (0, O.jsx)(Wde, { children: ({ hasChildItems: t, isExpanded: o, isDisabled: s, level: c, state: l, id: u }) => {- let f = n === null ? null : o && r ? r : n ?? (t ? o ? yz : vz : gfe);+ className: (e) => kF("relative flex min-h-9 min-w-0 cursor-pointer items-center gap-2 rounded-xl pe-2 text-body-regular text-text-primary outline-none", "transition-[background-color,color,box-shadow] duration-150 motion-reduce:transition-none", "group-data-[size=sm]/tree-view:min-h-8 group-data-[size=sm]/tree-view:text-body-2-regular", (e.isHovered || e.isPressed || e.isFocusVisible) && !e.isDisabled && "bg-dropdown-item-hover-background", e.isSelected && "bg-dropdown-item-hover-background", e.isFocusVisible && "ring-2 ring-inset ring-border-focus-ring", e.isDisabled && "cursor-default text-text-placeholder", typeof s == "function" ? s(e) : s),+ children: [/* @__PURE__ */ (0, O.jsx)(Gde, { children: ({ hasChildItems: t, isExpanded: o, isDisabled: s, level: c, state: l, id: u }) => {+ let f = n === null ? null : o && r ? r : n ?? (t ? o ? vz : _z : _fe);return /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [- /* @__PURE__ */ (0, O.jsx)(cme, {+ /* @__PURE__ */ (0, O.jsx)(lme, {state: l,id: u,level: c,@@ -43630,20 +43630,20 @@ function rV({ label: e, textValue: t = e, icon: n, expandedIcon: r, iconClassNam}),/* @__PURE__ */ (0, O.jsxs)("span", {className: "flex shrink-0 items-center gap-1",- children: [t ? /* @__PURE__ */ (0, O.jsx)(PI, {+ children: [t ? /* @__PURE__ */ (0, O.jsx)(NI, {slot: "chevron",isDisabled: s,className: "flex size-5 shrink-0 cursor-pointer items-center justify-center rounded-md text-foreground-icon-tertiary outline-none transition-colors hover:text-foreground-icon-primary data-[focus-visible]:ring-2 data-[focus-visible]:ring-border-focus-ring",- children: /* @__PURE__ */ (0, O.jsx)(hz, {+ children: /* @__PURE__ */ (0, O.jsx)(mz, {"aria-hidden": !0,- className: AF("size-4 opacity-50 transition-transform duration-150 motion-reduce:transition-none", o ? "rotate-90" : d === "rtl" && "rotate-180")+ className: kF("size-4 opacity-50 transition-transform duration-150 motion-reduce:transition-none", o ? "rotate-90" : d === "rtl" && "rotate-180")})}) : /* @__PURE__ */ (0, O.jsx)("span", {"aria-hidden": !0,- className: AF("h-5 shrink-0", c > 1 ? "w-2" : "w-5")+ className: kF("h-5 shrink-0", c > 1 ? "w-2" : "w-5")}), f && /* @__PURE__ */ (0, O.jsx)(f, {"aria-hidden": !0,- className: AF("size-4 shrink-0 opacity-50", t ? "text-foreground-icon-primary" : "text-foreground-icon-secondary", i)+ className: kF("size-4 shrink-0 opacity-50", t ? "text-foreground-icon-primary" : "text-foreground-icon-secondary", i)})]}),/* @__PURE__ */ (0, O.jsx)("span", {@@ -43658,24 +43658,24 @@ function rV({ label: e, textValue: t = e, icon: n, expandedIcon: r, iconClassNam} }), o]});}-var iV = {- ...DI,- CollectionRoot: sme+var rV = {+ ...EI,+ CollectionRoot: cme};-function sme({ collection: e, ...t }) {- let n = (0, D.useContext)(uz);- return n ? /* @__PURE__ */ (0, O.jsx)(Sv, {+function cme({ collection: e, ...t }) {+ let n = (0, D.useContext)(lz);+ return n ? /* @__PURE__ */ (0, O.jsx)(xv, {initial: !1,- children: Array.from(e).filter((e) => e.type !== "content").map((e) => /* @__PURE__ */ (0, O.jsx)(lme, {+ children: Array.from(e).filter((e) => e.type !== "content").map((e) => /* @__PURE__ */ (0, O.jsx)(ume, {state: n,children: e.render?.(e)}, e.key))- }) : /* @__PURE__ */ (0, O.jsx)(DI.CollectionRoot, {+ }) : /* @__PURE__ */ (0, O.jsx)(EI.CollectionRoot, {collection: e,...t});}-function cme({ state: e, id: t, level: n, expanded: r, branchWidth: i, direction: a }) {+function lme({ state: e, id: t, level: n, expanded: r, branchWidth: i, direction: a }) {let o = e.collection.getItem(t);if (!o) return null;let s = [], c = o.parentKey == null ? null : e.collection.getItem(o.parentKey), l = n - 1;@@ -43708,7 +43708,7 @@ function cme({ state: e, id: t, level: n, expanded: r, branchWidth: i, directionheight: "7",viewBox: `0 0 ${i} 7`,fill: "none",- className: AF("absolute start-0", a === "rtl" && "-scale-x-100"),+ className: kF("absolute start-0", a === "rtl" && "-scale-x-100"),style: { top: "calc(50% - 6px)" },children: /* @__PURE__ */ (0, O.jsx)("path", {d: `M0.5 0 Q0.5 6 6.5 6 H${i - .5}`,@@ -43734,9 +43734,9 @@ function cme({ state: e, id: t, level: n, expanded: r, branchWidth: i, direction]});}-function lme({ state: e, children: t }) {- let n = yv(), r = yy(), [i, a] = (0, D.useState)(e);- return n && i !== e && a(e), /* @__PURE__ */ (0, O.jsx)(Oy.div, {+function ume({ state: e, children: t }) {+ let n = vv(), r = vy(), [i, a] = (0, D.useState)(e);+ return n && i !== e && a(e), /* @__PURE__ */ (0, O.jsx)(Dy.div, {role: "presentation",className: "relative min-w-0 shrink-0 overflow-hidden","data-tree-view-exiting": !n || void 0,@@ -43775,7 +43775,7 @@ function lme({ state: e, children: t }) {1]},- children: /* @__PURE__ */ (0, O.jsx)(uz.Provider, {+ children: /* @__PURE__ */ (0, O.jsx)(lz.Provider, {value: n ? e : i,children: t})@@ -43783,7 +43783,7 @@ function lme({ state: e, children: t }) {}//#endregion//#region src/react/boardui/components/base/checkbox/checkbox-glyph.tsx-var aV = {+var iV = {md: {box: "size-4",glyph: "size-4",@@ -43797,11 +43797,11 @@ var aV = {gap: "gap-1.5"}};-function oV({ state: e, size: t = "md" }) {- let { isSelected: n, isIndeterminate: r, isFocusVisible: i, isDisabled: a, isHovered: o } = e, s = aV[t], c = n || r, l = o && !a;+function aV({ state: e, size: t = "md" }) {+ let { isSelected: n, isIndeterminate: r, isFocusVisible: i, isDisabled: a, isHovered: o } = e, s = iV[t], c = n || r, l = o && !a;return /* @__PURE__ */ (0, O.jsx)("span", {"aria-hidden": !0,- className: AF("flex shrink-0 items-center justify-center rounded-sm", "transition-[background-color,border-color,box-shadow] duration-150 ease", s.box, c ? AF("bg-linear-to-b shadow-checkbox-selected", l ? "from-accent-400 to-accent-500" : "from-accent-500 to-accent-600") : AF("border bg-background-primary-default shadow-xs", l ? "border-border-checkbox-hover" : "border-border-checkbox-default"), a && "opacity-50", i && "ring-2 ring-border-focus-ring ring-offset-2"),+ className: kF("flex shrink-0 items-center justify-center rounded-sm", "transition-[background-color,border-color,box-shadow] duration-150 ease", s.box, c ? kF("bg-linear-to-b shadow-checkbox-selected", l ? "from-accent-400 to-accent-500" : "from-accent-500 to-accent-600") : kF("border bg-background-primary-default shadow-xs", l ? "border-border-checkbox-hover" : "border-border-checkbox-default"), a && "opacity-50", i && "ring-2 ring-border-focus-ring ring-offset-2"),children: /* @__PURE__ */ (0, O.jsx)("svg", {viewBox: "0 0 16 16",fill: "none",@@ -43825,24 +43825,24 @@ function oV({ state: e, size: t = "md" }) {}//#endregion//#region src/react/boardui/components/base/checkbox/checkbox.tsx-function sV({ className: e, children: t, size: n = "md", ref: r, ...i }) {- let a = aV[n];- return /* @__PURE__ */ (0, O.jsx)(Hle, {+function oV({ className: e, children: t, size: n = "md", ref: r, ...i }) {+ let a = iV[n];+ return /* @__PURE__ */ (0, O.jsx)(Ule, {ref: r,...i,- className: (t) => AF("group inline-flex items-center select-none", a.gap, t.isDisabled ? "cursor-not-allowed" : "cursor-pointer", typeof e == "function" ? e(t) : e),- children: (e) => /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)(oV, {+ className: (t) => kF("group inline-flex items-center select-none", a.gap, t.isDisabled ? "cursor-not-allowed" : "cursor-pointer", typeof e == "function" ? e(t) : e),+ children: (e) => /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)(aV, {state: e,size: n}), t != null && /* @__PURE__ */ (0, O.jsx)("span", {- className: AF(a.label, "text-text-primary"),+ className: kF(a.label, "text-text-primary"),children: t})] })});}//#endregion//#region src/react/components/overlay-scrollbar.ts-function cV() {+function sV() {let e = (0, D.useRef)(null);return (0, D.useEffect)(() => {eo(e.current);@@ -43850,13 +43850,13 @@ function cV() {}//#endregion//#region src/history/settings-route.ts-var lV = {+var cV = {appearance: "外观与导航",playback: "浏览与播放",jav: "JAV 与新作",search: "搜索与推荐",content: "内容显示"-}, uV = {+}, lV = {library: "媒体库与入库",subscriptions: "来源与订阅",downloads: "下载渠道",@@ -43864,37 +43864,37 @@ var lV = {maintenance: "应用与维护",diagnostics: "系统诊断"};-function dV(e) {- return uV[e.split("/")[2]] || uV.library;+function uV(e) {+ return lV[e.split("/")[2]] || lV.library;}-var fV = ["/settings", ...Object.keys(lV).map((e) => `/settings/${e}`)], pV = (e) => fV.includes(e);-function mV(e) {- return lV[e.split("/")[2]] || lV.appearance;+var dV = ["/settings", ...Object.keys(cV).map((e) => `/settings/${e}`)], fV = (e) => dV.includes(e);+function pV(e) {+ return cV[e.split("/")[2]] || cV.appearance;}-function hV(e) {+function mV(e) {return `/settings/${Object.entries({- ...lV,- ...uV+ ...cV,+ ...lV}).find(([, t]) => t === e)?.[0] || "appearance"}`;}-var gV = (e) => {+var hV = (e) => {let t = e?.settingsBackground;return t && typeof t.pathname == "string" ? t : null;-}, _V = [+}, gV = ["/assets/:id","/posts/:id","/works/:code"-], ume = [+], dme = ["mix","parts","editions","playlist"];-function vV(e, t = "") {+function _V(e, t = "") {let n = new URL(e, "https://peach.invalid");e = n.pathname, t ||= n.search;- for (let n of _V) {- let r = gB(n, e);+ for (let n of gV) {+ let r = hB(n, e);if (!r) continue;if (n === "/works/:code") {let e = r.params.code || "";@@ -43911,7 +43911,7 @@ function vV(e, t = "") {let a = Number(i[0]);if (!Number.isSafeInteger(a) || a <= 0) return null;if (n === "/assets/:id") {- let e = new URLSearchParams(t), r = ume.filter((t) => e.has(t));+ let e = new URLSearchParams(t), r = dme.filter((t) => e.has(t));if (r.length === 1) {let t = r[0], i = e.get(t), o = Number(i);if (/^[1-9]\d*$/.test(i) && Number.isSafeInteger(o)) return {@@ -43935,8 +43935,8 @@ function vV(e, t = "") {}return null;}-var yV = (e, t = "") => vV(e, t)?.target ?? null, bV = (e) => pV(e.split(/[?#]/)[0]) || _V.some((t) => gB(t, e.split(/[?#]/)[0]) !== null);-function xV(e) {+var vV = (e, t = "") => _V(e, t)?.target ?? null, yV = (e) => fV(e.split(/[?#]/)[0]) || gV.some((t) => hB(t, e.split(/[?#]/)[0]) !== null);+function bV(e) {let t = e?.backgroundLocation;return typeof t?.pathname == "string" ? {pathname: t.pathname,@@ -43944,35 +43944,35 @@ function xV(e) {...typeof t.hash == "string" && t.hash ? { hash: t.hash } : {}} : null;}-var SV = null, CV = null;-function wV() {+var xV = null, SV = null;+function CV() {let { pathname: e, search: t, hash: n } = window.location;- bV(e) || (SV = {+ yV(e) || (xV = {pathname: e,search: t,...n ? { hash: n } : {}});}-function TV() {- SV = null, CV = null;+function wV() {+ xV = null, SV = null;}-function dme(e) {- let t = xV(e);- t && (SV = t, CV = t.pathname + t.search + (t.hash || ""));+function fme(e) {+ let t = bV(e);+ t && (xV = t, SV = t.pathname + t.search + (t.hash || ""));}-function EV() {- let e = CV;- return CV = null, e;+function TV() {+ let e = SV;+ return SV = null, e;}-function DV(e) {- return SV ? {- backgroundLocation: { ...SV },+function EV(e) {+ return xV ? {+ backgroundLocation: { ...xV },overlay: e} : void 0;}//#endregion//#region src/history/canonical-path.ts-function OV(e) {+function DV(e) {let t = new URL(e, "https://peach.invalid");for (let [e, n] of [[/^\/item\/(\d+)$/, "/assets/"],@@ -43996,16 +43996,16 @@ function OV(e) {}//#endregion//#region src/history/route-meta.ts-var kV = {+var OV = {"/settings": {title: "设置",refresh: "skip"},- ...Object.fromEntries(Object.entries(lV).map(([e, t]) => [`/settings/${e}`, {+ ...Object.fromEntries(Object.entries(cV).map(([e, t]) => [`/settings/${e}`, {title: t,refresh: "skip"}])),- ...Object.fromEntries(Object.entries(uV).map(([e, t]) => [`/settings/${e}`, {+ ...Object.fromEntries(Object.entries(lV).map(([e, t]) => [`/settings/${e}`, {title: t,section: "configuration",refresh: "reopen"@@ -44136,13 +44136,13 @@ var kV = {title: "播放墙"}};-function AV(e) {- if (Object.hasOwn(kV, e)) return kV[e];- let t = vV(e);- if (t) return kV[t.path];+function kV(e) {+ if (Object.hasOwn(OV, e)) return OV[e];+ let t = _V(e);+ if (t) return OV[t.path];let [n, ...r] = e.split("/").filter(Boolean);if (!n) return null;- if (!r.length) return Object.hasOwn(kV, `/${n}`) ? kV[`/${n}`] : null;+ if (!r.length) return Object.hasOwn(OV, `/${n}`) ? OV[`/${n}`] : null;let i = `/${n}/*`, a = /^\d+$/.test(r.join("/")) ? Nt({performers: "performer",studios: "studio",@@ -44151,126 +44151,126 @@ function AV(e) {series: "series",tags: "tag"}[n] || "", Number(r[0])) : r.join("/");- return Object.hasOwn(kV, i) ? {- ...kV[i],+ return Object.hasOwn(OV, i) ? {+ ...OV[i],title: a || "资料"} : null;}//#endregion//#region src/history/managed.ts-var jV = () => {}, MV = new Promise((e) => {- jV = e;+var AV = () => {}, jV = new Promise((e) => {+ AV = e;});-MV.catch(() => {});-var NV = null, PV = /* @__PURE__ */ new Map(), FV = /* @__PURE__ */ new Map(), IV = 0, LV = /* @__PURE__ */ new Set();-function fme(e) {- jV(e);+jV.catch(() => {});+var MV = null, NV = /* @__PURE__ */ new Map(), PV = /* @__PURE__ */ new Map(), FV = 0, IV = /* @__PURE__ */ new Set();+function pme(e) {+ AV(e);}-function RV(e) {- return PV.get(e) ?? null;+function LV(e) {+ return NV.get(e) ?? null;}-function zV(e) {- return !!e && (PV.has(e) || FV.has(e));+function RV(e) {+ return !!e && (NV.has(e) || PV.has(e));}-var BV = () => [...PV.values()];-function pme(e) {- return LV.add(e), () => {- LV.delete(e);+var zV = () => [...NV.values()];+function mme(e) {+ return IV.add(e), () => {+ IV.delete(e);};}-function VV(e) {- let t = BV();- for (let n of [...LV]) n(t, e);+function BV(e) {+ let t = zV();+ for (let n of [...IV]) n(t, e);}-async function HV(e, t, n) {+async function VV(e, t, n) {let { container: r } = n;- if (WV(r), !n.isCurrent()) return !1;- IV += 1;+ if (UV(r), !n.isCurrent()) return !1;+ FV += 1;let i = {- revision: IV,+ revision: FV,controller: new AbortController()};- FV.set(r, i);- let a = NV;- NV = null, a?.();- let o = await MV;- if (FV.get(r) !== i) return !1;+ PV.set(r, i);+ let a = MV;+ MV = null, a?.();+ let o = await jV;+ if (PV.get(r) !== i) return !1;try {await o(e, t, i.controller.signal);} catch {if (i.controller.signal.aborted) return !1;}- if (FV.get(r) !== i || (FV.delete(r), !n.isCurrent())) return !1;- let s = n.place ? n.place(r) : mme(r);- return PV.set(r, {+ if (PV.get(r) !== i || (PV.delete(r), !n.isCurrent())) return !1;+ let s = n.place ? n.place(r) : hme(r);+ return NV.set(r, {path: e,props: t,revision: i.revision,container: r,host: s,resident: !!n.resident- }), VV(!0), !0;+ }), BV(!0), !0;}-function mme(e) {+function hme(e) {let t = e.ownerDocument.createElement("div");return t.className = "peach-react", e.textContent = "", e.append(t), t;}-function UV(e, t) {- let n = e ? PV.get(e) : void 0;- n && (PV.set(n.container, {+function HV(e, t) {+ let n = e ? NV.get(e) : void 0;+ n && (NV.set(n.container, {...n,props: {...n.props,...t}- }), VV(!1));+ }), BV(!1));}-function WV(e, ...t) {+function UV(e, ...t) {let n = [];for (let r of /* @__PURE__ */ new Set([e, ...t])) {- let e = FV.get(r);- e && (e.controller.abort(), FV.delete(r));- let t = PV.get(r);- t && (PV.delete(r), n.push(t));+ let e = PV.get(r);+ e && (e.controller.abort(), PV.delete(r));+ let t = NV.get(r);+ t && (NV.delete(r), n.push(t));}if (n.length) {- VV(!0);+ BV(!0);for (let e of n) e.resident || e.host.remove();}}-function hme() {- let [e, ...t] = /* @__PURE__ */ new Set([...PV.keys(), ...FV.keys()]);- e && WV(e, ...t);+function gme() {+ let [e, ...t] = /* @__PURE__ */ new Set([...NV.keys(), ...PV.keys()]);+ e && UV(e, ...t);}-function gme(e, t) {- let n = PV.get(e);- n?.revision === t && (PV.delete(e), n.resident || n.host.remove(), queueMicrotask(() => {- VV(!1);+function _me(e, t) {+ let n = NV.get(e);+ n?.revision === t && (NV.delete(e), n.resident || n.host.remove(), queueMicrotask(() => {+ BV(!1);}));}//#endregion//#region src/history/index.ts-var GV = qfe({ v5Compat: !0 }), KV = 0, qV = 0, JV = {- action: GV.action,- location: GV.location,- seq: KV,- openEpoch: qV,+var WV = Jfe({ v5Compat: !0 }), GV = 0, KV = 0, qV = {+ action: WV.action,+ location: WV.location,+ seq: GV,+ openEpoch: KV,claimed: !0-}, YV = /* @__PURE__ */ new Set(), XV = !1, ZV = !0;-GV.listen(({ action: e, location: t }) => {- let n = t.pathname + t.search + t.hash, r = OV(n);- r !== n && (window.history.replaceState(window.history.state, "", r), t = GV.location), KV += 1, XV || (qV += 1), e !== "REPLACE" && (ZV = !1), JV = {+}, JV = /* @__PURE__ */ new Set(), YV = !1, XV = !0;+WV.listen(({ action: e, location: t }) => {+ let n = t.pathname + t.search + t.hash, r = DV(n);+ r !== n && (window.history.replaceState(window.history.state, "", r), t = WV.location), GV += 1, YV || (KV += 1), e !== "REPLACE" && (XV = !1), qV = {action: e,location: t,- seq: KV,- openEpoch: qV,- claimed: XV+ seq: GV,+ openEpoch: KV,+ claimed: YV};- for (let e of [...YV]) e(JV);+ for (let e of [...JV]) e(qV);});-function QV(e) {- if (typeof e == "string") return OV(new URL(e, window.location.href).href);- let t = new URL(`${e.pathname ?? window.location.pathname}${e.search || ""}${e.hash || ""}`, window.location.href), n = OV(t.href);+function ZV(e) {+ if (typeof e == "string") return DV(new URL(e, window.location.href).href);+ let t = new URL(`${e.pathname ?? window.location.pathname}${e.search || ""}${e.hash || ""}`, window.location.href), n = DV(t.href);if (n === t.pathname + t.search + t.hash) return e;let r = new URL(n, window.location.origin);return {@@ -44280,52 +44280,52 @@ function QV(e) {hash: r.hash};}-var $V = {+var QV = {get navigation() {- return JV;+ return qV;},listen(e) {- return YV.add(e), () => {- YV.delete(e);+ return JV.add(e), () => {+ JV.delete(e);};},- createHref: (e) => GV.createHref(e),- createURL: (e) => GV.createURL(e),- encodeLocation: (e) => GV.encodeLocation(e),- go: (e) => GV.go(e),- push: (e, t) => GV.push(QV(e), t),- replace: (e, t) => GV.replace(QV(e), t)+ createHref: (e) => WV.createHref(e),+ createURL: (e) => WV.createURL(e),+ encodeLocation: (e) => WV.encodeLocation(e),+ go: (e) => WV.go(e),+ push: (e, t) => WV.push(ZV(e), t),+ replace: (e, t) => WV.replace(ZV(e), t)};-function eH(e, { replace: t = !1, state: n } = {}) {- let r = new URL(e, window.location.href), i = OV(`${r.pathname}${r.search}${r.hash}`);- XV = !0;+function $V(e, { replace: t = !1, state: n } = {}) {+ let r = new URL(e, window.location.href), i = DV(`${r.pathname}${r.search}${r.hash}`);+ YV = !0;try {- t ? GV.replace(i, n) : GV.push(i, n);+ t ? WV.replace(i, n) : WV.push(i, n);} finally {- XV = !1;+ YV = !1;}}-var tH = () => ZV;-function nH() {- if (pV(JV.location.pathname)) {- let e = ZV ? null : gV(JV.location.state);- return e ? xV(e.state) || e : null;+var eH = () => XV;+function tH() {+ if (fV(qV.location.pathname)) {+ let e = XV ? null : hV(qV.location.state);+ return e ? bV(e.state) || e : null;}- return ZV ? null : xV(JV.location.state);+ return XV ? null : bV(qV.location.state);}//#endregion//#region src/react/providers.tsx-var rH = null;-function _me() {- return rH?.isConnected || (rH = document.createElement("div"), rH.className = "peach-react", rH.dataset.reactOverlays = "", document.body.append(rH)), rH;+var nH = null;+function vme() {+ return nH?.isConnected || (nH = document.createElement("div"), nH.className = "peach-react", nH.dataset.reactOverlays = "", document.body.append(nH)), nH;}-function iH({ children: e }) {+function rH({ children: e }) {return /* @__PURE__ */ (0, O.jsx)(j, {client: H,- children: /* @__PURE__ */ (0, O.jsx)(zte, {+ children: /* @__PURE__ */ (0, O.jsx)(Bte, {reducedMotion: "user",- children: /* @__PURE__ */ (0, O.jsx)(Yw, {- getContainer: _me,+ children: /* @__PURE__ */ (0, O.jsx)(Jw, {+ getContainer: vme,children: e})})@@ -44333,26 +44333,26 @@ function iH({ children: e }) {}//#endregion//#region node_modules/sonner/dist/index.mjs-function vme(e) {+function yme(e) {if (!e || typeof document > "u") return;let t = document.head || document.getElementsByTagName("head")[0], n = document.createElement("style");n.type = "text/css", t.appendChild(n), n.styleSheet ? n.styleSheet.cssText = e : n.appendChild(document.createTextNode(e));}-var yme = (e) => {+var bme = (e) => {switch (e) {- case "success": return Sme;- case "info": return wme;- case "warning": return Cme;- case "error": return Tme;+ case "success": return Cme;+ case "info": return Tme;+ case "warning": return wme;+ case "error": return Eme;default: return null;}-}, bme = Array(12).fill(0), xme = ({ visible: e, className: t }) => /*#__PURE__*/ D.createElement("div", {+}, xme = Array(12).fill(0), Sme = ({ visible: e, className: t }) => /*#__PURE__*/ D.createElement("div", {className: ["sonner-loading-wrapper", t].filter(Boolean).join(" "),"data-visible": e-}, /*#__PURE__*/ D.createElement("div", { className: "sonner-spinner" }, bme.map((e, t) => /*#__PURE__*/ D.createElement("div", {+}, /*#__PURE__*/ D.createElement("div", { className: "sonner-spinner" }, xme.map((e, t) => /*#__PURE__*/ D.createElement("div", {className: "sonner-loading-bar",key: `spinner-bar-${t}`-})))), Sme = /*#__PURE__*/ D.createElement("svg", {+})))), Cme = /*#__PURE__*/ D.createElement("svg", {xmlns: "http://www.w3.org/2000/svg",viewBox: "0 0 20 20",fill: "currentColor",@@ -44363,7 +44363,7 @@ var yme = (e) => {fillRule: "evenodd",d: "M10 18a8 8 0 100-16 8 8 0 000 16zm3.857-9.809a.75.75 0 00-1.214-.882l-3.483 4.79-1.88-1.88a.75.75 0 10-1.06 1.061l2.5 2.5a.75.75 0 001.137-.089l4-5.5z",clipRule: "evenodd"-})), Cme = /*#__PURE__*/ D.createElement("svg", {+})), wme = /*#__PURE__*/ D.createElement("svg", {xmlns: "http://www.w3.org/2000/svg",viewBox: "0 0 24 24",fill: "currentColor",@@ -44374,7 +44374,7 @@ var yme = (e) => {fillRule: "evenodd",d: "M9.401 3.003c1.155-2 4.043-2 5.197 0l7.355 12.748c1.154 2-.29 4.5-2.599 4.5H4.645c-2.309 0-3.752-2.5-2.598-4.5L9.4 3.003zM12 8.25a.75.75 0 01.75.75v3.75a.75.75 0 01-1.5 0V9a.75.75 0 01.75-.75zm0 8.25a.75.75 0 100-1.5.75.75 0 000 1.5z",clipRule: "evenodd"-})), wme = /*#__PURE__*/ D.createElement("svg", {+})), Tme = /*#__PURE__*/ D.createElement("svg", {xmlns: "http://www.w3.org/2000/svg",viewBox: "0 0 20 20",fill: "currentColor",@@ -44385,7 +44385,7 @@ var yme = (e) => {fillRule: "evenodd",d: "M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7-4a1 1 0 11-2 0 1 1 0 012 0zM9 9a.75.75 0 000 1.5h.253a.25.25 0 01.244.304l-.459 2.066A1.75 1.75 0 0010.747 15H11a.75.75 0 000-1.5h-.253a.25.25 0 01-.244-.304l.459-2.066A1.75 1.75 0 009.253 9H9z",clipRule: "evenodd"-})), Tme = /*#__PURE__*/ D.createElement("svg", {+})), Eme = /*#__PURE__*/ D.createElement("svg", {xmlns: "http://www.w3.org/2000/svg",viewBox: "0 0 20 20",fill: "currentColor",@@ -44396,7 +44396,7 @@ var yme = (e) => {fillRule: "evenodd",d: "M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-8-5a.75.75 0 01.75.75v4.5a.75.75 0 01-1.5 0v-4.5A.75.75 0 0110 5zm0 10a1 1 0 100-2 1 1 0 000 2z",clipRule: "evenodd"-})), Eme = /*#__PURE__*/ D.createElement("svg", {+})), Dme = /*#__PURE__*/ D.createElement("svg", {xmlns: "http://www.w3.org/2000/svg",width: "12",height: "12",@@ -44417,7 +44417,7 @@ var yme = (e) => {y1: "6",x2: "18",y2: "18"-})), Dme = () => {+})), Ome = () => {let [e, t] = D.useState(document.hidden);return D.useEffect(() => {let e = () => {@@ -44425,7 +44425,7 @@ var yme = (e) => {};return document.addEventListener("visibilitychange", e), () => document.removeEventListener("visibilitychange", e);}, []), e;-}, Ome = 1, kme = 100, aH = (e) => typeof e?.id == "number" || e?.id?.length > 0 ? e.id : Ome++, oH = new class {+}, kme = 1, Ame = 100, iH = (e) => typeof e?.id == "number" || e?.id?.length > 0 ? e.id : kme++, aH = new class {constructor() {this.subscribe = (e) => (this.subscribers.push(e), this.getActiveToasts().forEach((t) => e(t)), () => {let t = this.subscribers.indexOf(e);@@ -44435,10 +44435,10 @@ var yme = (e) => {}, this.addToast = (e) => {this.publish(e), this.toasts = [...this.toasts, e], this.trimHistory();}, this.trimHistory = () => {- let e = this.toasts.length - kme;+ let e = this.toasts.length - Ame;e <= 0 || (this.toasts = this.toasts.filter((t) => e > 0 && this.dismissedToasts.has(t.id) ? (this.dismissedToasts.delete(t.id), e--, !1) : !0));}, this.create = (e) => {- let { message: t, ...n } = e, r = aH(e), i = this.pendingDismissals.get(r);+ let { message: t, ...n } = e, r = iH(e), i = this.pendingDismissals.get(r);i !== void 0 && (cancelAnimationFrame(i), this.pendingDismissals.delete(r), this.dismissedToasts.delete(r));let a = this.dismissedToasts.has(r), o = e.dismissible === void 0 || e.dismissible;return a && (this.dismissedToasts.delete(r), this.toasts = this.toasts.filter((e) => e.id !== r)), !a && this.toasts.find((e) => e.id === r) ? this.toasts = this.toasts.map((n) => n.id === r ? (this.publish({@@ -44513,7 +44513,7 @@ var yme = (e) => {type: "default",message: e});- else if (jme(e) && !e.ok) {+ else if (Mme(e) && !e.ok) {i = !1;let r = typeof t.error == "function" ? await t.error(`HTTP error! status: ${e.status}`) : t.error, a = typeof t.description == "function" ? await t.description(`HTTP error! status: ${e.status}`) : t.description, o = typeof r == "object" && !D.isValidElement(r) ? r : { message: r };this.create({@@ -44557,7 +44557,7 @@ var yme = (e) => {}), s = () => new Promise((e, t) => o.then(() => a[0] === "reject" ? t(a[1]) : e(a[1])).catch(t));return typeof n != "string" && typeof n != "number" ? { unwrap: s } : Object.assign(n, { unwrap: s });}, this.custom = (e, t) => {- let n = aH(t);+ let n = iH(t);return this.create({...t,jsx: e(n),@@ -44566,34 +44566,34 @@ var yme = (e) => {}), n;}, this.getActiveToasts = () => this.toasts.filter((e) => !this.dismissedToasts.has(e.id)), this.subscribers = [], this.toasts = [], this.dismissedToasts = /* @__PURE__ */ new Set(), this.pendingDismissals = /* @__PURE__ */ new Map();}-}(), Ame = (e, t) => oH.message(e, t), jme = (e) => e && typeof e == "object" && "ok" in e && typeof e.ok == "boolean" && "status" in e && typeof e.status == "number", sH = Object.assign(Ame, {- success: oH.success,- info: oH.info,- warning: oH.warning,- error: oH.error,- custom: oH.custom,- message: oH.message,- promise: oH.promise,- dismiss: oH.dismiss,- loading: oH.loading+}(), jme = (e, t) => aH.message(e, t), Mme = (e) => e && typeof e == "object" && "ok" in e && typeof e.ok == "boolean" && "status" in e && typeof e.status == "number", oH = Object.assign(jme, {+ success: aH.success,+ info: aH.info,+ warning: aH.warning,+ error: aH.error,+ custom: aH.custom,+ message: aH.message,+ promise: aH.promise,+ dismiss: aH.dismiss,+ loading: aH.loading}, {- getHistory: () => oH.toasts,- getToasts: () => oH.getActiveToasts()+ getHistory: () => aH.toasts,+ getToasts: () => aH.getActiveToasts()});-vme("[data-sonner-toaster][dir=ltr],html[dir=ltr]{--toast-icon-margin-start:-3px;--toast-icon-margin-end:4px;--toast-svg-margin-start:-1px;--toast-svg-margin-end:0px;--toast-button-margin-start:auto;--toast-button-margin-end:0;--toast-close-button-start:0;--toast-close-button-end:unset;--toast-close-button-transform:translate(-35%, -35%)}[data-sonner-toaster][dir=rtl],html[dir=rtl]{--toast-icon-margin-start:4px;--toast-icon-margin-end:-3px;--toast-svg-margin-start:0px;--toast-svg-margin-end:-1px;--toast-button-margin-start:0;--toast-button-margin-end:auto;--toast-close-button-start:unset;--toast-close-button-end:0;--toast-close-button-transform:translate(35%, -35%)}[data-sonner-toaster]{position:fixed;width:var(--width);font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;--gray1:hsl(0, 0%, 99%);--gray2:hsl(0, 0%, 97.3%);--gray3:hsl(0, 0%, 95.1%);--gray4:hsl(0, 0%, 93%);--gray5:hsl(0, 0%, 90.9%);--gray6:hsl(0, 0%, 88.7%);--gray7:hsl(0, 0%, 85.8%);--gray8:hsl(0, 0%, 78%);--gray9:hsl(0, 0%, 56.1%);--gray10:hsl(0, 0%, 52.3%);--gray11:hsl(0, 0%, 43.5%);--gray12:hsl(0, 0%, 9%);--border-radius:8px;box-sizing:border-box;padding:0;margin:0;list-style:none;outline:0;z-index:999999999;transition:transform .4s ease}@media (hover:none) and (pointer:coarse){[data-sonner-toaster][data-lifted=true]{transform:none}}[data-sonner-toaster][data-x-position=right]{right:var(--offset-right)}[data-sonner-toaster][data-x-position=left]{left:var(--offset-left)}[data-sonner-toaster][data-x-position=center]{left:50%;transform:translateX(-50%)}[data-sonner-toaster][data-y-position=top]{top:var(--offset-top)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--offset-bottom)}[data-sonner-toast]{--y:translateY(100%);--lift-amount:calc(var(--lift) * var(--gap));z-index:var(--z-index);position:absolute;opacity:0;transform:var(--y);touch-action:none;transition:transform .4s,opacity .4s,height .4s,box-shadow .2s;box-sizing:border-box;outline:0;overflow-wrap:anywhere}[data-sonner-toast][data-styled=true]{padding:16px;background:var(--normal-bg);border:1px solid var(--normal-border);color:var(--normal-text);border-radius:var(--border-radius);box-shadow:0 4px 12px rgba(0,0,0,.1);width:var(--width);font-size:13px;display:flex;align-items:center;gap:6px}[data-sonner-toast]:focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}[data-sonner-toast][data-y-position=top]{top:0;--y:translateY(-100%);--lift:1;--lift-amount:calc(1 * var(--gap))}[data-sonner-toast][data-y-position=bottom]{bottom:0;--y:translateY(100%);--lift:-1;--lift-amount:calc(var(--lift) * var(--gap))}[data-sonner-toast][data-styled=true] [data-description]{font-weight:400;line-height:1.4;color:#3f3f3f}[data-rich-colors=true][data-sonner-toast][data-styled=true] [data-description]{color:inherit}[data-sonner-toaster][data-sonner-theme=dark] [data-description]{color:#e8e8e8}[data-sonner-toast][data-styled=true] [data-title]{font-weight:500;line-height:1.5;color:inherit}[data-sonner-toast][data-styled=true] [data-icon]{display:flex;height:16px;width:16px;position:relative;justify-content:flex-start;align-items:center;flex-shrink:0;margin-left:var(--toast-icon-margin-start);margin-right:var(--toast-icon-margin-end)}[data-sonner-toast][data-promise=true] [data-icon]>svg{opacity:0;transform:scale(.8);transform-origin:center;animation:sonner-fade-in .3s ease forwards}[data-sonner-toast][data-styled=true] [data-icon]>*{flex-shrink:0}[data-sonner-toast][data-styled=true] [data-icon] svg{margin-left:var(--toast-svg-margin-start);margin-right:var(--toast-svg-margin-end)}[data-sonner-toast][data-styled=true] [data-content]{display:flex;flex-direction:column;gap:2px;flex:1;min-width:0}[data-sonner-toast][data-styled=true] [data-button]{border-radius:4px;padding-left:8px;padding-right:8px;height:24px;font-size:12px;color:var(--normal-bg);background:var(--normal-text);margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end);border:none;font-weight:500;cursor:pointer;outline:0;display:flex;align-items:center;flex-shrink:0;transition:opacity .4s,box-shadow .2s}[data-sonner-toast][data-styled=true] [data-button]:focus-visible{box-shadow:0 0 0 2px rgba(0,0,0,.4)}[data-sonner-toast][data-styled=true] [data-button]:first-of-type{margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end)}[data-sonner-toast][data-styled=true] [data-cancel]{color:var(--normal-text);background:rgba(0,0,0,.08)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast][data-styled=true] [data-cancel]{background:rgba(255,255,255,.3)}[data-sonner-toast][data-styled=true] [data-close-button]{position:absolute;left:var(--toast-close-button-start);right:var(--toast-close-button-end);top:0;height:20px;width:20px;display:flex;justify-content:center;align-items:center;padding:0;color:var(--normal-text);background:var(--normal-bg);border:1px solid var(--normal-border);transform:var(--toast-close-button-transform);border-radius:50%;cursor:pointer;z-index:1;transition:opacity .1s,background .2s,border-color .2s}[data-sonner-toast][data-styled=true] [data-close-button]:focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}[data-sonner-toast][data-styled=true] [data-disabled=true]{cursor:not-allowed}[data-sonner-toast][data-styled=true]:hover [data-close-button]:hover{background:var(--gray2);border-color:var(--gray5)}[data-sonner-toast][data-swiping=true]::before{content:'';position:absolute;left:-100%;right:-100%;height:100%;z-index:-1}[data-sonner-toast][data-y-position=top][data-swiping=true]::before{bottom:50%;transform:scaleY(3) translateY(50%)}[data-sonner-toast][data-y-position=bottom][data-swiping=true]::before{top:50%;transform:scaleY(3) translateY(-50%)}[data-sonner-toast][data-swiping=false][data-removed=true]::before{content:'';position:absolute;inset:0;transform:scaleY(2)}[data-sonner-toast][data-expanded=true]::after{content:'';position:absolute;left:0;height:calc(var(--gap) + 1px);bottom:100%;width:100%}[data-sonner-toast][data-mounted=true]{--y:translateY(0);opacity:1}[data-sonner-toast][data-expanded=false][data-front=false]{--scale:var(--toasts-before) * 0.05 + 1;--y:translateY(calc(var(--lift-amount) * var(--toasts-before))) scale(calc(-1 * var(--scale)));height:var(--front-toast-height)}[data-sonner-toast]>*{transition:opacity .4s}[data-sonner-toast][data-x-position=right]{right:0}[data-sonner-toast][data-x-position=left]{left:0}[data-sonner-toast][data-expanded=false][data-front=false][data-styled=true]>*{opacity:0}[data-sonner-toast][data-visible=false]{opacity:0;pointer-events:none}[data-sonner-toast][data-mounted=true][data-expanded=true]{--y:translateY(calc(var(--lift) * var(--offset)));height:var(--initial-height)}[data-sonner-toast][data-removed=true][data-front=true][data-swipe-out=false]{--y:translateY(calc(var(--lift) * -100%));opacity:0}[data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=true]{--y:translateY(calc(var(--lift) * var(--offset) + var(--lift) * -100%));opacity:0}[data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=false]{--y:translateY(40%);opacity:0;transition:transform .5s,opacity .2s}[data-sonner-toast][data-removed=true][data-front=false]::before{height:calc(var(--initial-height) + 20%)}[data-sonner-toast][data-swiping=true]{transform:var(--y) translateY(var(--swipe-amount-y,0)) translateX(var(--swipe-amount-x,0));transition:none}[data-sonner-toast][data-swiped=true]{-webkit-user-select:none;user-select:none}[data-sonner-toast][data-swipe-out=true][data-y-position=bottom],[data-sonner-toast][data-swipe-out=true][data-y-position=top]{animation-duration:.2s;animation-timing-function:ease-out;animation-fill-mode:forwards}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=left]{animation-name:swipe-out-left}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=right]{animation-name:swipe-out-right}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=up]{animation-name:swipe-out-up}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=down]{animation-name:swipe-out-down}@keyframes swipe-out-left{from{transform:var(--y) translateX(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translateX(calc(var(--swipe-amount-x) - 100%));opacity:0}}@keyframes swipe-out-right{from{transform:var(--y) translateX(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translateX(calc(var(--swipe-amount-x) + 100%));opacity:0}}@keyframes swipe-out-up{from{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) - 100%));opacity:0}}@keyframes swipe-out-down{from{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) + 100%));opacity:0}}@media (max-width:600px){[data-sonner-toaster]{position:fixed;right:var(--mobile-offset-right);left:var(--mobile-offset-left);width:100%}[data-sonner-toaster][dir=rtl]{left:calc(var(--mobile-offset-left) * -1)}[data-sonner-toaster] [data-sonner-toast]{left:0;right:0;width:calc(100% - var(--mobile-offset-left) * 2)}[data-sonner-toaster][data-x-position=left]{left:var(--mobile-offset-left)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--mobile-offset-bottom)}[data-sonner-toaster][data-y-position=top]{top:var(--mobile-offset-top)}[data-sonner-toaster][data-x-position=center]{left:var(--mobile-offset-left);right:var(--mobile-offset-right);transform:none}}[data-sonner-toaster][data-sonner-theme=light]{--normal-bg:#fff;--normal-border:var(--gray4);--normal-text:var(--gray12);--success-bg:hsl(143, 85%, 96%);--success-border:hsl(145, 92%, 87%);--success-text:hsl(140, 100%, 27%);--info-bg:hsl(208, 100%, 97%);--info-border:hsl(221, 91%, 93%);--info-text:hsl(210, 92%, 45%);--warning-bg:hsl(49, 100%, 97%);--warning-border:hsl(49, 91%, 84%);--warning-text:hsl(31, 92%, 45%);--error-bg:hsl(359, 100%, 97%);--error-border:hsl(359, 100%, 94%);--error-text:hsl(360, 100%, 45%)}[data-sonner-toaster][data-sonner-theme=light] [data-sonner-toast][data-invert=true]{--normal-bg:#000;--normal-border:hsl(0, 0%, 20%);--normal-text:var(--gray1)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast][data-invert=true]{--normal-bg:#fff;--normal-border:var(--gray3);--normal-text:var(--gray12)}[data-sonner-toaster][data-sonner-theme=dark]{--normal-bg:#000;--normal-bg-hover:hsl(0, 0%, 12%);--normal-border:hsl(0, 0%, 20%);--normal-border-hover:hsl(0, 0%, 25%);--normal-text:var(--gray1);--success-bg:hsl(150, 100%, 6%);--success-border:hsl(147, 100%, 12%);--success-text:hsl(150, 86%, 65%);--info-bg:hsl(215, 100%, 6%);--info-border:hsl(223, 43%, 17%);--info-text:hsl(216, 87%, 65%);--warning-bg:hsl(64, 100%, 6%);--warning-border:hsl(60, 100%, 9%);--warning-text:hsl(46, 87%, 65%);--error-bg:hsl(358, 76%, 10%);--error-border:hsl(357, 89%, 16%);--error-text:hsl(358, 100%, 81%)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast] [data-close-button]{background:var(--normal-bg);border-color:var(--normal-border);color:var(--normal-text)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast] [data-close-button]:hover{background:var(--normal-bg-hover);border-color:var(--normal-border-hover)}[data-rich-colors=true][data-sonner-toast][data-type=success]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=success] [data-close-button]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=info]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=info] [data-close-button]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning] [data-close-button]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=error]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}[data-rich-colors=true][data-sonner-toast][data-type=error] [data-close-button]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}.sonner-loading-wrapper{--size:16px;height:var(--size);width:var(--size);position:absolute;inset:0;z-index:10}.sonner-loading-wrapper[data-visible=false]{transform-origin:center;animation:sonner-fade-out .2s ease forwards}.sonner-spinner{position:relative;top:50%;left:50%;height:var(--size);width:var(--size)}.sonner-loading-bar{animation:sonner-spin 1.2s linear infinite;background:var(--gray11);border-radius:6px;height:8%;left:-10%;position:absolute;top:-3.9%;width:24%}.sonner-loading-bar:first-child{animation-delay:-1.2s;transform:rotate(.0001deg) translate(146%)}.sonner-loading-bar:nth-child(2){animation-delay:-1.1s;transform:rotate(30deg) translate(146%)}.sonner-loading-bar:nth-child(3){animation-delay:-1s;transform:rotate(60deg) translate(146%)}.sonner-loading-bar:nth-child(4){animation-delay:-.9s;transform:rotate(90deg) translate(146%)}.sonner-loading-bar:nth-child(5){animation-delay:-.8s;transform:rotate(120deg) translate(146%)}.sonner-loading-bar:nth-child(6){animation-delay:-.7s;transform:rotate(150deg) translate(146%)}.sonner-loading-bar:nth-child(7){animation-delay:-.6s;transform:rotate(180deg) translate(146%)}.sonner-loading-bar:nth-child(8){animation-delay:-.5s;transform:rotate(210deg) translate(146%)}.sonner-loading-bar:nth-child(9){animation-delay:-.4s;transform:rotate(240deg) translate(146%)}.sonner-loading-bar:nth-child(10){animation-delay:-.3s;transform:rotate(270deg) translate(146%)}.sonner-loading-bar:nth-child(11){animation-delay:-.2s;transform:rotate(300deg) translate(146%)}.sonner-loading-bar:nth-child(12){animation-delay:-.1s;transform:rotate(330deg) translate(146%)}@keyframes sonner-fade-in{0%{opacity:0;transform:scale(.8)}100%{opacity:1;transform:scale(1)}}@keyframes sonner-fade-out{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(.8)}}@keyframes sonner-spin{0%{opacity:1}100%{opacity:.15}}@media (prefers-reduced-motion){.sonner-loading-bar,[data-sonner-toast],[data-sonner-toast]>*{transition:none!important;animation:none!important}}.sonner-loader{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);transform-origin:center;transition:opacity .2s,transform .2s}.sonner-loader[data-visible=false]{opacity:0;transform:scale(.8) translate(-50%,-50%)}");-function cH(e) {+yme("[data-sonner-toaster][dir=ltr],html[dir=ltr]{--toast-icon-margin-start:-3px;--toast-icon-margin-end:4px;--toast-svg-margin-start:-1px;--toast-svg-margin-end:0px;--toast-button-margin-start:auto;--toast-button-margin-end:0;--toast-close-button-start:0;--toast-close-button-end:unset;--toast-close-button-transform:translate(-35%, -35%)}[data-sonner-toaster][dir=rtl],html[dir=rtl]{--toast-icon-margin-start:4px;--toast-icon-margin-end:-3px;--toast-svg-margin-start:0px;--toast-svg-margin-end:-1px;--toast-button-margin-start:0;--toast-button-margin-end:auto;--toast-close-button-start:unset;--toast-close-button-end:0;--toast-close-button-transform:translate(35%, -35%)}[data-sonner-toaster]{position:fixed;width:var(--width);font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;--gray1:hsl(0, 0%, 99%);--gray2:hsl(0, 0%, 97.3%);--gray3:hsl(0, 0%, 95.1%);--gray4:hsl(0, 0%, 93%);--gray5:hsl(0, 0%, 90.9%);--gray6:hsl(0, 0%, 88.7%);--gray7:hsl(0, 0%, 85.8%);--gray8:hsl(0, 0%, 78%);--gray9:hsl(0, 0%, 56.1%);--gray10:hsl(0, 0%, 52.3%);--gray11:hsl(0, 0%, 43.5%);--gray12:hsl(0, 0%, 9%);--border-radius:8px;box-sizing:border-box;padding:0;margin:0;list-style:none;outline:0;z-index:999999999;transition:transform .4s ease}@media (hover:none) and (pointer:coarse){[data-sonner-toaster][data-lifted=true]{transform:none}}[data-sonner-toaster][data-x-position=right]{right:var(--offset-right)}[data-sonner-toaster][data-x-position=left]{left:var(--offset-left)}[data-sonner-toaster][data-x-position=center]{left:50%;transform:translateX(-50%)}[data-sonner-toaster][data-y-position=top]{top:var(--offset-top)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--offset-bottom)}[data-sonner-toast]{--y:translateY(100%);--lift-amount:calc(var(--lift) * var(--gap));z-index:var(--z-index);position:absolute;opacity:0;transform:var(--y);touch-action:none;transition:transform .4s,opacity .4s,height .4s,box-shadow .2s;box-sizing:border-box;outline:0;overflow-wrap:anywhere}[data-sonner-toast][data-styled=true]{padding:16px;background:var(--normal-bg);border:1px solid var(--normal-border);color:var(--normal-text);border-radius:var(--border-radius);box-shadow:0 4px 12px rgba(0,0,0,.1);width:var(--width);font-size:13px;display:flex;align-items:center;gap:6px}[data-sonner-toast]:focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}[data-sonner-toast][data-y-position=top]{top:0;--y:translateY(-100%);--lift:1;--lift-amount:calc(1 * var(--gap))}[data-sonner-toast][data-y-position=bottom]{bottom:0;--y:translateY(100%);--lift:-1;--lift-amount:calc(var(--lift) * var(--gap))}[data-sonner-toast][data-styled=true] [data-description]{font-weight:400;line-height:1.4;color:#3f3f3f}[data-rich-colors=true][data-sonner-toast][data-styled=true] [data-description]{color:inherit}[data-sonner-toaster][data-sonner-theme=dark] [data-description]{color:#e8e8e8}[data-sonner-toast][data-styled=true] [data-title]{font-weight:500;line-height:1.5;color:inherit}[data-sonner-toast][data-styled=true] [data-icon]{display:flex;height:16px;width:16px;position:relative;justify-content:flex-start;align-items:center;flex-shrink:0;margin-left:var(--toast-icon-margin-start);margin-right:var(--toast-icon-margin-end)}[data-sonner-toast][data-promise=true] [data-icon]>svg{opacity:0;transform:scale(.8);transform-origin:center;animation:sonner-fade-in .3s ease forwards}[data-sonner-toast][data-styled=true] [data-icon]>*{flex-shrink:0}[data-sonner-toast][data-styled=true] [data-icon] svg{margin-left:var(--toast-svg-margin-start);margin-right:var(--toast-svg-margin-end)}[data-sonner-toast][data-styled=true] [data-content]{display:flex;flex-direction:column;gap:2px;flex:1;min-width:0}[data-sonner-toast][data-styled=true] [data-button]{border-radius:4px;padding-left:8px;padding-right:8px;height:24px;font-size:12px;color:var(--normal-bg);background:var(--normal-text);margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end);border:none;font-weight:500;cursor:pointer;outline:0;display:flex;align-items:center;flex-shrink:0;transition:opacity .4s,box-shadow .2s}[data-sonner-toast][data-styled=true] [data-button]:focus-visible{box-shadow:0 0 0 2px rgba(0,0,0,.4)}[data-sonner-toast][data-styled=true] [data-button]:first-of-type{margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end)}[data-sonner-toast][data-styled=true] [data-cancel]{color:var(--normal-text);background:rgba(0,0,0,.08)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast][data-styled=true] [data-cancel]{background:rgba(255,255,255,.3)}[data-sonner-toast][data-styled=true] [data-close-button]{position:absolute;left:var(--toast-close-button-start);right:var(--toast-close-button-end);top:0;height:20px;width:20px;display:flex;justify-content:center;align-items:center;padding:0;color:var(--normal-text);background:var(--normal-bg);border:1px solid var(--normal-border);transform:var(--toast-close-button-transform);border-radius:50%;cursor:pointer;z-index:1;transition:opacity .1s,background .2s,border-color .2s}[data-sonner-toast][data-styled=true] [data-close-button]:focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}[data-sonner-toast][data-styled=true] [data-disabled=true]{cursor:not-allowed}[data-sonner-toast][data-styled=true]:hover [data-close-button]:hover{background:var(--gray2);border-color:var(--gray5)}[data-sonner-toast][data-swiping=true]::before{content:'';position:absolute;left:-100%;right:-100%;height:100%;z-index:-1}[data-sonner-toast][data-y-position=top][data-swiping=true]::before{bottom:50%;transform:scaleY(3) translateY(50%)}[data-sonner-toast][data-y-position=bottom][data-swiping=true]::before{top:50%;transform:scaleY(3) translateY(-50%)}[data-sonner-toast][data-swiping=false][data-removed=true]::before{content:'';position:absolute;inset:0;transform:scaleY(2)}[data-sonner-toast][data-expanded=true]::after{content:'';position:absolute;left:0;height:calc(var(--gap) + 1px);bottom:100%;width:100%}[data-sonner-toast][data-mounted=true]{--y:translateY(0);opacity:1}[data-sonner-toast][data-expanded=false][data-front=false]{--scale:var(--toasts-before) * 0.05 + 1;--y:translateY(calc(var(--lift-amount) * var(--toasts-before))) scale(calc(-1 * var(--scale)));height:var(--front-toast-height)}[data-sonner-toast]>*{transition:opacity .4s}[data-sonner-toast][data-x-position=right]{right:0}[data-sonner-toast][data-x-position=left]{left:0}[data-sonner-toast][data-expanded=false][data-front=false][data-styled=true]>*{opacity:0}[data-sonner-toast][data-visible=false]{opacity:0;pointer-events:none}[data-sonner-toast][data-mounted=true][data-expanded=true]{--y:translateY(calc(var(--lift) * var(--offset)));height:var(--initial-height)}[data-sonner-toast][data-removed=true][data-front=true][data-swipe-out=false]{--y:translateY(calc(var(--lift) * -100%));opacity:0}[data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=true]{--y:translateY(calc(var(--lift) * var(--offset) + var(--lift) * -100%));opacity:0}[data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=false]{--y:translateY(40%);opacity:0;transition:transform .5s,opacity .2s}[data-sonner-toast][data-removed=true][data-front=false]::before{height:calc(var(--initial-height) + 20%)}[data-sonner-toast][data-swiping=true]{transform:var(--y) translateY(var(--swipe-amount-y,0)) translateX(var(--swipe-amount-x,0));transition:none}[data-sonner-toast][data-swiped=true]{-webkit-user-select:none;user-select:none}[data-sonner-toast][data-swipe-out=true][data-y-position=bottom],[data-sonner-toast][data-swipe-out=true][data-y-position=top]{animation-duration:.2s;animation-timing-function:ease-out;animation-fill-mode:forwards}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=left]{animation-name:swipe-out-left}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=right]{animation-name:swipe-out-right}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=up]{animation-name:swipe-out-up}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=down]{animation-name:swipe-out-down}@keyframes swipe-out-left{from{transform:var(--y) translateX(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translateX(calc(var(--swipe-amount-x) - 100%));opacity:0}}@keyframes swipe-out-right{from{transform:var(--y) translateX(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translateX(calc(var(--swipe-amount-x) + 100%));opacity:0}}@keyframes swipe-out-up{from{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) - 100%));opacity:0}}@keyframes swipe-out-down{from{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) + 100%));opacity:0}}@media (max-width:600px){[data-sonner-toaster]{position:fixed;right:var(--mobile-offset-right);left:var(--mobile-offset-left);width:100%}[data-sonner-toaster][dir=rtl]{left:calc(var(--mobile-offset-left) * -1)}[data-sonner-toaster] [data-sonner-toast]{left:0;right:0;width:calc(100% - var(--mobile-offset-left) * 2)}[data-sonner-toaster][data-x-position=left]{left:var(--mobile-offset-left)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--mobile-offset-bottom)}[data-sonner-toaster][data-y-position=top]{top:var(--mobile-offset-top)}[data-sonner-toaster][data-x-position=center]{left:var(--mobile-offset-left);right:var(--mobile-offset-right);transform:none}}[data-sonner-toaster][data-sonner-theme=light]{--normal-bg:#fff;--normal-border:var(--gray4);--normal-text:var(--gray12);--success-bg:hsl(143, 85%, 96%);--success-border:hsl(145, 92%, 87%);--success-text:hsl(140, 100%, 27%);--info-bg:hsl(208, 100%, 97%);--info-border:hsl(221, 91%, 93%);--info-text:hsl(210, 92%, 45%);--warning-bg:hsl(49, 100%, 97%);--warning-border:hsl(49, 91%, 84%);--warning-text:hsl(31, 92%, 45%);--error-bg:hsl(359, 100%, 97%);--error-border:hsl(359, 100%, 94%);--error-text:hsl(360, 100%, 45%)}[data-sonner-toaster][data-sonner-theme=light] [data-sonner-toast][data-invert=true]{--normal-bg:#000;--normal-border:hsl(0, 0%, 20%);--normal-text:var(--gray1)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast][data-invert=true]{--normal-bg:#fff;--normal-border:var(--gray3);--normal-text:var(--gray12)}[data-sonner-toaster][data-sonner-theme=dark]{--normal-bg:#000;--normal-bg-hover:hsl(0, 0%, 12%);--normal-border:hsl(0, 0%, 20%);--normal-border-hover:hsl(0, 0%, 25%);--normal-text:var(--gray1);--success-bg:hsl(150, 100%, 6%);--success-border:hsl(147, 100%, 12%);--success-text:hsl(150, 86%, 65%);--info-bg:hsl(215, 100%, 6%);--info-border:hsl(223, 43%, 17%);--info-text:hsl(216, 87%, 65%);--warning-bg:hsl(64, 100%, 6%);--warning-border:hsl(60, 100%, 9%);--warning-text:hsl(46, 87%, 65%);--error-bg:hsl(358, 76%, 10%);--error-border:hsl(357, 89%, 16%);--error-text:hsl(358, 100%, 81%)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast] [data-close-button]{background:var(--normal-bg);border-color:var(--normal-border);color:var(--normal-text)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast] [data-close-button]:hover{background:var(--normal-bg-hover);border-color:var(--normal-border-hover)}[data-rich-colors=true][data-sonner-toast][data-type=success]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=success] [data-close-button]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=info]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=info] [data-close-button]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning] [data-close-button]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=error]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}[data-rich-colors=true][data-sonner-toast][data-type=error] [data-close-button]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}.sonner-loading-wrapper{--size:16px;height:var(--size);width:var(--size);position:absolute;inset:0;z-index:10}.sonner-loading-wrapper[data-visible=false]{transform-origin:center;animation:sonner-fade-out .2s ease forwards}.sonner-spinner{position:relative;top:50%;left:50%;height:var(--size);width:var(--size)}.sonner-loading-bar{animation:sonner-spin 1.2s linear infinite;background:var(--gray11);border-radius:6px;height:8%;left:-10%;position:absolute;top:-3.9%;width:24%}.sonner-loading-bar:first-child{animation-delay:-1.2s;transform:rotate(.0001deg) translate(146%)}.sonner-loading-bar:nth-child(2){animation-delay:-1.1s;transform:rotate(30deg) translate(146%)}.sonner-loading-bar:nth-child(3){animation-delay:-1s;transform:rotate(60deg) translate(146%)}.sonner-loading-bar:nth-child(4){animation-delay:-.9s;transform:rotate(90deg) translate(146%)}.sonner-loading-bar:nth-child(5){animation-delay:-.8s;transform:rotate(120deg) translate(146%)}.sonner-loading-bar:nth-child(6){animation-delay:-.7s;transform:rotate(150deg) translate(146%)}.sonner-loading-bar:nth-child(7){animation-delay:-.6s;transform:rotate(180deg) translate(146%)}.sonner-loading-bar:nth-child(8){animation-delay:-.5s;transform:rotate(210deg) translate(146%)}.sonner-loading-bar:nth-child(9){animation-delay:-.4s;transform:rotate(240deg) translate(146%)}.sonner-loading-bar:nth-child(10){animation-delay:-.3s;transform:rotate(270deg) translate(146%)}.sonner-loading-bar:nth-child(11){animation-delay:-.2s;transform:rotate(300deg) translate(146%)}.sonner-loading-bar:nth-child(12){animation-delay:-.1s;transform:rotate(330deg) translate(146%)}@keyframes sonner-fade-in{0%{opacity:0;transform:scale(.8)}100%{opacity:1;transform:scale(1)}}@keyframes sonner-fade-out{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(.8)}}@keyframes sonner-spin{0%{opacity:1}100%{opacity:.15}}@media (prefers-reduced-motion){.sonner-loading-bar,[data-sonner-toast],[data-sonner-toast]>*{transition:none!important;animation:none!important}}.sonner-loader{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);transform-origin:center;transition:opacity .2s,transform .2s}.sonner-loader[data-visible=false]{opacity:0;transform:scale(.8) translate(-50%,-50%)}");+function sH(e) {return e.label !== void 0;}-var Mme = 3, Nme = "24px", Pme = "16px", lH = 4e3, Fme = 356, Ime = 14, Lme = 45, Rme = 200;-function uH(...e) {+var Nme = 3, Pme = "24px", Fme = "16px", cH = 4e3, Ime = 356, Lme = 14, Rme = 45, zme = 200;+function lH(...e) {return e.filter(Boolean).join(" ");}-function zme(e) {+function Bme(e) {let [t, n] = e.split("-"), r = [];return t && r.push(t), n && r.push(n), r;}-var Bme = (e) => {- let { invert: t, toast: n, unstyled: r, interacting: i, setHeights: a, visibleToasts: o, heights: s, index: c, toasts: l, expanded: u, removeToast: d, defaultRichColors: f, closeButton: p, style: m, cancelButtonStyle: h, actionButtonStyle: g, className: _ = "", descriptionClassName: v = "", duration: y, position: b, gap: x, expandByDefault: S, classNames: C, icons: w, closeButtonAriaLabel: T = "Close toast" } = e, [E, O] = D.useState(null), [k, A] = D.useState(null), [j, M] = D.useState(!1), [N, ee] = D.useState(!1), [te, P] = D.useState(!1), [ne, F] = D.useState(!1), [re, ie] = D.useState(!1), [ae, oe] = D.useState(0), [se, ce] = D.useState(0), le = D.useRef(n.duration || y || lH), ue = D.useRef(null), de = D.useRef(null), fe = c === 0, pe = c + 1 <= o, me = n.type, he = me ?? "default", ge = n.dismissible !== !1, _e = n.className || "", ve = n.descriptionClassName || "", ye = D.useMemo(() => s.findIndex((e) => e.toastId === n.id) || 0, [s, n.id]), be = D.useMemo(() => n.closeButton ?? p, [n.closeButton, p]), xe = D.useMemo(() => n.duration || y || lH, [n.duration, y]), Se = D.useRef(0), Ce = D.useRef(0), we = D.useRef(0), Te = D.useRef(null), [Ee, De] = b.split("-"), Oe = D.useMemo(() => s.reduce((e, t, n) => n >= ye ? e : e + t.height, 0), [s, ye]), ke = Dme(), Ae = D.useMemo(() => e.swipeDirections ?? zme(b), [e.swipeDirections, b]), je = n.invert || t, Me = me === "loading";+var Vme = (e) => {+ let { invert: t, toast: n, unstyled: r, interacting: i, setHeights: a, visibleToasts: o, heights: s, index: c, toasts: l, expanded: u, removeToast: d, defaultRichColors: f, closeButton: p, style: m, cancelButtonStyle: h, actionButtonStyle: g, className: _ = "", descriptionClassName: v = "", duration: y, position: b, gap: x, expandByDefault: S, classNames: C, icons: w, closeButtonAriaLabel: T = "Close toast" } = e, [E, O] = D.useState(null), [k, A] = D.useState(null), [j, M] = D.useState(!1), [N, ee] = D.useState(!1), [te, P] = D.useState(!1), [ne, F] = D.useState(!1), [re, ie] = D.useState(!1), [ae, oe] = D.useState(0), [se, ce] = D.useState(0), le = D.useRef(n.duration || y || cH), ue = D.useRef(null), de = D.useRef(null), fe = c === 0, pe = c + 1 <= o, me = n.type, he = me ?? "default", ge = n.dismissible !== !1, _e = n.className || "", ve = n.descriptionClassName || "", ye = D.useMemo(() => s.findIndex((e) => e.toastId === n.id) || 0, [s, n.id]), be = D.useMemo(() => n.closeButton ?? p, [n.closeButton, p]), xe = D.useMemo(() => n.duration || y || cH, [n.duration, y]), Se = D.useRef(0), Ce = D.useRef(0), we = D.useRef(0), Te = D.useRef(null), [Ee, De] = b.split("-"), Oe = D.useMemo(() => s.reduce((e, t, n) => n >= ye ? e : e + t.height, 0), [s, ye]), ke = Ome(), Ae = D.useMemo(() => e.swipeDirections ?? Bme(b), [e.swipeDirections, b]), je = n.invert || t, Me = me === "loading";Ce.current = D.useMemo(() => ye * x + Oe, [ye, Oe]), D.useEffect(() => {le.current = xe;}, [xe]), D.useEffect(() => {@@ -44634,7 +44634,7 @@ var Bme = (e) => {let Ne = D.useCallback(() => {ee(!0), oe(Ce.current), a((e) => e.filter((e) => e.toastId !== n.id)), setTimeout(() => {d(n);- }, Rme);+ }, zme);}, [n,d,@@ -44665,18 +44665,18 @@ var Bme = (e) => {}, [Ne, n.delete]);function Pe() {return w?.loading ? /*#__PURE__*/ D.createElement("div", {- className: uH(C?.loader, n?.classNames?.loader, "sonner-loader"),+ className: lH(C?.loader, n?.classNames?.loader, "sonner-loader"),"data-visible": me === "loading"- }, w.loading) : /*#__PURE__*/ D.createElement(xme, {- className: uH(C?.loader, n?.classNames?.loader),+ }, w.loading) : /*#__PURE__*/ D.createElement(Sme, {+ className: lH(C?.loader, n?.classNames?.loader),visible: me === "loading"});}- let Fe = n.icon || w?.[me] || yme(me);+ let Fe = n.icon || w?.[me] || bme(me);return /*#__PURE__*/ D.createElement("li", {tabIndex: 0,ref: de,- className: uH(_, _e, C?.toast, n?.classNames?.toast, C?.[he], n?.classNames?.[he]),+ className: lH(_, _e, C?.toast, n?.classNames?.toast, C?.[he], n?.classNames?.[he]),"data-sonner-toast": "","data-rich-colors": n.richColors ?? f,"data-styled": !(n.jsx || n.unstyled || r),@@ -44719,7 +44719,7 @@ var Bme = (e) => {if (ne || !ge) return;Te.current = null;let e = Number(de.current?.style.getPropertyValue("--swipe-amount-x").replace("px", "") || 0), t = Number(de.current?.style.getPropertyValue("--swipe-amount-y").replace("px", "") || 0), r = (/* @__PURE__ */ new Date()).getTime() - ue.current?.getTime(), i = E === "x" ? e : t, a = Math.abs(i) / r;- if ((E === "x" ? Ae.includes(e > 0 ? "right" : "left") : Ae.includes(t > 0 ? "bottom" : "top")) && (Math.abs(i) >= Lme || a > .11)) oe(Ce.current), n.onDismiss == null || n.onDismiss.call(n, n), A(E === "x" ? e > 0 ? "right" : "left" : t > 0 ? "down" : "up"), Ne(), F(!0);+ if ((E === "x" ? Ae.includes(e > 0 ? "right" : "left") : Ae.includes(t > 0 ? "bottom" : "top")) && (Math.abs(i) >= Rme || a > .11)) oe(Ce.current), n.onDismiss == null || n.onDismiss.call(n, n), A(E === "x" ? e > 0 ? "right" : "left" : t > 0 ? "down" : "up"), Ne(), F(!0);else {var o, s;(o = de.current) == null || o.style.setProperty("--swipe-amount-x", "0px"), (s = de.current) == null || s.style.setProperty("--swipe-amount-y", "0px"), ie(!1), P(!1), O(null);@@ -44758,46 +44758,46 @@ var Bme = (e) => {onClick: Me || !ge ? () => {} : () => {Ne(), n.onDismiss == null || n.onDismiss.call(n, n);},- className: uH(C?.closeButton, n?.classNames?.closeButton)- }, w?.close ?? Eme) : null, (me || n.icon || n.promise) && n.icon !== null && (w?.[me] !== null || n.icon) ? /*#__PURE__*/ D.createElement("div", {+ className: lH(C?.closeButton, n?.classNames?.closeButton)+ }, w?.close ?? Dme) : null, (me || n.icon || n.promise) && n.icon !== null && (w?.[me] !== null || n.icon) ? /*#__PURE__*/ D.createElement("div", {"data-icon": "",- className: uH(C?.icon, n?.classNames?.icon)+ className: lH(C?.icon, n?.classNames?.icon)}, me === "loading" ? n.icon || Pe() : n.promise ? Pe() : null, me === "loading" ? null : Fe) : null, /*#__PURE__*/ D.createElement("div", {"data-content": "",- className: uH(C?.content, n?.classNames?.content)+ className: lH(C?.content, n?.classNames?.content)}, /*#__PURE__*/ D.createElement("div", {"data-title": "",- className: uH(C?.title, n?.classNames?.title)+ className: lH(C?.title, n?.classNames?.title)}, n.jsx ? n.jsx : typeof n.title == "function" ? n.title() : n.title), n.description ? /*#__PURE__*/ D.createElement("div", {"data-description": "",- className: uH(v, ve, C?.description, n?.classNames?.description)- }, typeof n.description == "function" ? n.description() : n.description) : null), /*#__PURE__*/ D.isValidElement(n.cancel) ? n.cancel : n.cancel && cH(n.cancel) ? /*#__PURE__*/ D.createElement("button", {+ className: lH(v, ve, C?.description, n?.classNames?.description)+ }, typeof n.description == "function" ? n.description() : n.description) : null), /*#__PURE__*/ D.isValidElement(n.cancel) ? n.cancel : n.cancel && sH(n.cancel) ? /*#__PURE__*/ D.createElement("button", {"data-button": !0,"data-cancel": !0,style: n.cancelButtonStyle || h,onClick: (e) => {- cH(n.cancel) && ge && (n.cancel.onClick == null || n.cancel.onClick.call(n.cancel, e), Ne());+ sH(n.cancel) && ge && (n.cancel.onClick == null || n.cancel.onClick.call(n.cancel, e), Ne());},- className: uH(C?.cancelButton, n?.classNames?.cancelButton)- }, n.cancel.label) : null, /*#__PURE__*/ D.isValidElement(n.action) ? n.action : n.action && cH(n.action) ? /*#__PURE__*/ D.createElement("button", {+ className: lH(C?.cancelButton, n?.classNames?.cancelButton)+ }, n.cancel.label) : null, /*#__PURE__*/ D.isValidElement(n.action) ? n.action : n.action && sH(n.action) ? /*#__PURE__*/ D.createElement("button", {"data-button": !0,"data-action": !0,style: n.actionButtonStyle || g,onClick: (e) => {- cH(n.action) && (n.action.onClick == null || n.action.onClick.call(n.action, e), !e.defaultPrevented && Ne());+ sH(n.action) && (n.action.onClick == null || n.action.onClick.call(n.action, e), !e.defaultPrevented && Ne());},- className: uH(C?.actionButton, n?.classNames?.actionButton)+ className: lH(C?.actionButton, n?.classNames?.actionButton)}, n.action.label) : null);};-function dH() {+function uH() {if (typeof window > "u" || typeof document > "u") return "ltr";let e = document.documentElement.getAttribute("dir");return e === "auto" || !e ? window.getComputedStyle(document.documentElement).direction : e;}-function Vme(e, t) {+function Hme(e, t) {let n = {};return [e, t].forEach((e, t) => {- let r = t === 1, i = r ? "--mobile-offset" : "--offset", a = r ? Pme : Nme;+ let r = t === 1, i = r ? "--mobile-offset" : "--offset", a = r ? Fme : Pme;function o(e) {["top",@@ -44818,11 +44818,11 @@ function Vme(e, t) {}) : o(a);}), n;}-var fH = /*#__PURE__*/ D.forwardRef(function(e, t) {- let { id: n, invert: r, position: i = "bottom-right", hotkey: a = ["altKey", "KeyT"], expand: o, closeButton: s, className: c, offset: l, mobileOffset: u, theme: d = "light", richColors: f, duration: p, style: m, visibleToasts: h = Mme, toastOptions: g, dir: _ = dH(), gap: v = Ime, icons: y, customAriaLabel: b, containerAriaLabel: x = "Notifications" } = e, [S, C] = D.useState([]), w = D.useMemo(() => n ? S.filter((e) => e.toasterId === n) : S.filter((e) => !e.toasterId), [S, n]), T = D.useMemo(() => Array.from(new Set([i].concat(w.filter((e) => e.position).map((e) => e.position)))), [w, i]), [E, O] = D.useState([]), [k, A] = D.useState(!1), [j, M] = D.useState(!1), [N, ee] = D.useState(d === "system" ? typeof window < "u" && window.matchMedia && window.matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "light" : d), te = D.useRef(null), P = a.join("+").replace(/Key/g, "").replace(/Digit/g, ""), ne = D.useRef(null), F = D.useRef(!1), re = D.useCallback((e) => {- C((t) => (t.find((t) => t.id === e.id)?.delete || oH.dismiss(e.id), t.filter(({ id: t }) => t !== e.id)));+var dH = /*#__PURE__*/ D.forwardRef(function(e, t) {+ let { id: n, invert: r, position: i = "bottom-right", hotkey: a = ["altKey", "KeyT"], expand: o, closeButton: s, className: c, offset: l, mobileOffset: u, theme: d = "light", richColors: f, duration: p, style: m, visibleToasts: h = Nme, toastOptions: g, dir: _ = uH(), gap: v = Lme, icons: y, customAriaLabel: b, containerAriaLabel: x = "Notifications" } = e, [S, C] = D.useState([]), w = D.useMemo(() => n ? S.filter((e) => e.toasterId === n) : S.filter((e) => !e.toasterId), [S, n]), T = D.useMemo(() => Array.from(new Set([i].concat(w.filter((e) => e.position).map((e) => e.position)))), [w, i]), [E, O] = D.useState([]), [k, A] = D.useState(!1), [j, M] = D.useState(!1), [N, ee] = D.useState(d === "system" ? typeof window < "u" && window.matchMedia && window.matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "light" : d), te = D.useRef(null), P = a.join("+").replace(/Key/g, "").replace(/Digit/g, ""), ne = D.useRef(null), F = D.useRef(!1), re = D.useCallback((e) => {+ C((t) => (t.find((t) => t.id === e.id)?.delete || aH.dismiss(e.id), t.filter(({ id: t }) => t !== e.id)));}, []);- return D.useEffect(() => oH.subscribe((e) => {+ return D.useEffect(() => aH.subscribe((e) => {e.dismiss ? requestAnimationFrame(() => {C((t) => t.map((t) => t.id === e.id ? {...t,@@ -44891,7 +44891,7 @@ var fH = /*#__PURE__*/ D.forwardRef(function(e, t) {let [i, a] = t.split("-");return w.length ? /*#__PURE__*/ D.createElement("ol", {key: t,- dir: _ === "auto" ? dH() : _,+ dir: _ === "auto" ? uH() : _,tabIndex: -1,ref: te,className: c,@@ -44901,10 +44901,10 @@ var fH = /*#__PURE__*/ D.forwardRef(function(e, t) {"data-x-position": a,style: {"--front-toast-height": `${E[0]?.height || 0}px`,- "--width": `${Fme}px`,+ "--width": `${Ime}px`,"--gap": `${v}px`,...m,- ...Vme(l, u)+ ...Hme(l, u)},onBlur: (e) => {F.current && !e.currentTarget.contains(e.relatedTarget) && (F.current = !1, ne.current &&= (ne.current.focus({ preventScroll: !0 }), null));@@ -44922,7 +44922,7 @@ var fH = /*#__PURE__*/ D.forwardRef(function(e, t) {e.target instanceof HTMLElement && e.target.dataset.dismissible === "false" || M(!0);},onPointerUp: () => M(!1)- }, w.filter((e) => !e.position && n === 0 || e.position === t).map((n, i) => /*#__PURE__*/ D.createElement(Bme, {+ }, w.filter((e) => !e.position && n === 0 || e.position === t).map((n, i) => /*#__PURE__*/ D.createElement(Vme, {key: n.id,icons: y,index: i,@@ -44952,19 +44952,19 @@ var fH = /*#__PURE__*/ D.forwardRef(function(e, t) {swipeDirections: e.swipeDirections}))) : null;}));-}), pH = "/api/library-processing", mH = ["library-processing"], Hme = (e, t, n) => {+}), fH = "/api/library-processing", pH = ["library-processing"], Ume = (e, t, n) => {let r = new URLSearchParams({estimate: "1",stage: e.stage || "all"});- return e.asset_ids && r.set("asset_ids", JSON.stringify(e.asset_ids)), n && r.set("inventory", n), B(`${pH}?${r}`, t);-}, hH = (e) => !!e && [+ return e.asset_ids && r.set("asset_ids", JSON.stringify(e.asset_ids)), n && r.set("inventory", n), B(`${fH}?${r}`, t);+}, mH = (e) => !!e && ["running","pausing","paused"].includes(e.status);-function gH(e) {- if (!hH(e)) return "";+function hH(e) {+ if (!mH(e)) return "";if (e.status === "paused") return "已暂停,继续后更新预估";if (e.status === "pausing") return "正在暂停,当前步骤结束后暂停";if (e.stalled) return "等待当前文件响应,剩余时间待更新";@@ -44974,18 +44974,18 @@ function gH(e) {let r = n >= 86400 ? 86400 : n >= 3600 ? 3600 : 60, i = r === 86400 ? "天" : r === 3600 ? "小时" : "分钟", a = r === 60 ? 1 : 10, o = Math.max(1 / a, Math.floor(t / r * a) / a), s = Math.max(o, Math.ceil(n / r * a) / a);return `预计剩余约 ${o === s ? `${s}` : `${o}–${s}`} ${i}${e.eta_initial || e.eta_kind !== "measured" ? "(粗估)" : ""}${e.eta_scope ? ` · ${e.eta_scope}` : ""}`;}-var _H = (e) => B(pH, e);-async function vH(e) {+var gH = (e) => B(fH, e);+async function _H(e) {await H.fetchQuery({- queryKey: mH,- queryFn: () => _H(e)+ queryKey: pH,+ queryFn: () => gH(e)});}-var Ume = 2e3, Wme = 1e4, yH = "连接中断,正在重新读取处理进度";-function bH(e, t) {- return hH(e) ? Ume : t ? Wme : !1;+var Wme = 2e3, Gme = 1e4, vH = "连接中断,正在重新读取处理进度";+function yH(e, t) {+ return mH(e) ? Wme : t ? Gme : !1;}-var Gme = {+var Kme = {scanning_files: "扫描文件",reading_local: "检查配套文件",reading_local_cover: "读取配套图片",@@ -44993,25 +44993,25 @@ var Gme = {fetching_cover: "采集缺失封面",generating_preview: "生成视频预览",writing_candidates: "保存待确认资料"-}, xH = {+}, bH = {querying_metadata: "没有资料",fetching_cover: "没有封面"};-function Kme(e) {- let t = Object.entries(e).filter(([e, t]) => xH[e] && t > 0).map(([e, t]) => `${xH[e]} ${t.toLocaleString()} 部`);+function qme(e) {+ let t = Object.entries(e).filter(([e, t]) => bH[e] && t > 0).map(([e, t]) => `${bH[e]} ${t.toLocaleString()} 部`);return t.length ? `外部来源${t.join("、")},7 天内不再问。` : "";}-function qme(e) {+function Jme(e) {if (e.status === "paused") return "已暂停";if (e.status === "pausing") return "正在暂停";- let t = Gme[e.current_action || ""] || e.stage || "正在处理", n = e.waited_seconds ? ` · 已等待 ${YF(e.waited_seconds)}` : "";+ let t = Kme[e.current_action || ""] || e.stage || "正在处理", n = e.waited_seconds ? ` · 已等待 ${JF(e.waited_seconds)}` : "";return e.current_asset_name ? `当前:${e.current_asset_name} · ${t}${n}` : t + n;}-function Jme(e) {- let t = e.total ? `${XF(e.checked, e.total)} 项` : e.current_action === "scanning_files" || e.stage === "扫描文件" ? `已发现 ${(e.scanned || 0).toLocaleString()} 个文件` : "";- return qme(e) + (t ? ` · ${t}` : "");-}function Yme(e) {+ let t = e.total ? `${YF(e.checked, e.total)} 项` : e.current_action === "scanning_files" || e.stage === "扫描文件" ? `已发现 ${(e.scanned || 0).toLocaleString()} 个文件` : "";+ return Jme(e) + (t ? ` · ${t}` : "");+}+function Xme(e) {let t = e.issue_preview || [];return t.length ? {label: e.issues_truncated ? `问题清单:共 ${e.issue_count || 0} 项,展开查看前 ${t.length} 项` : `问题清单:共 ${e.issue_count || 0} 项`,@@ -45025,23 +45025,23 @@ function Yme(e) {log: e.issues_log || ""} : null;}-var SH = "peach.library-processing.announced", Xme = 120;-function CH(e) {+var xH = "peach.library-processing.announced", Zme = 120;+function SH(e) {let t = e.completed_at == null ? Infinity : Date.now() / 1e3 - e.completed_at;- return !!e.job_id && t >= 0 && t < Xme;+ return !!e.job_id && t >= 0 && t < Zme;}-function Zme(e, t, n) {- if (e.status === "complete" && (n || CH(e))) {+function Qme(e, t, n) {+ if (e.status === "complete" && (n || SH(e))) {try {- if (e.job_id && localStorage.getItem(SH) === e.job_id) return;- e.job_id && localStorage.setItem(SH, e.job_id);+ if (e.job_id && localStorage.getItem(xH) === e.job_id) return;+ e.job_id && localStorage.setItem(xH, e.job_id);} catch {}e.requested_stage === "previews" ? t(`视频预览已生成:${e.previews || 0} 部`) : t(`扫描与资料采集已完成:识别 ${e.identified || 0} 个番号,取得 ${e.candidates || 0} 组作品资料,自动保存 ${e.auto_applied || 0} 条` + (e.previews ? `,生成 ${e.previews} 部视频预览` : ""));}}//#endregion//#region src/react/boardui/components/base/buttons/link-button.tsx-var wH = jF({+var CH = AF({base: ["inline-flex items-center justify-center gap-1 whitespace-nowrap","font-sans select-none cursor-pointer rounded-sm",@@ -45065,15 +45065,15 @@ var wH = jF({secondary: ["text-text-secondary active:text-text-primary", "disabled:text-text-tertiary aria-disabled:text-text-tertiary"].join(" ")}});-function TH({ variant: e = "primary", size: t = "medium", leadingIcon: n, trailingIcon: r, children: i, className: a, disabled: o = !1, ...s }) {- let c = AF(wH.base, wH.size[t], wH.variant[e], a), l = /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [+function wH({ variant: e = "primary", size: t = "medium", leadingIcon: n, trailingIcon: r, children: i, className: a, disabled: o = !1, ...s }) {+ let c = kF(CH.base, CH.size[t], CH.variant[e], a), l = /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [n ? /* @__PURE__ */ (0, O.jsx)(n, {- className: wH.icon[t],+ className: CH.icon[t],"aria-hidden": !0}) : null,i != null && /* @__PURE__ */ (0, O.jsx)("span", { children: i }),r ? /* @__PURE__ */ (0, O.jsx)(r, {- className: wH.icon[t],+ className: CH.icon[t],"aria-hidden": !0}) : null] });@@ -45100,7 +45100,7 @@ function TH({ variant: e = "primary", size: t = "medium", leadingIcon: n, traili}//#endregion//#region src/react/components/use-moving-surface.ts-var Qme = {+var $me = {selection: {type: Of,duration: .16,@@ -45112,7 +45112,7 @@ var Qme = {bounce: 0}};-function EH(e) {+function TH(e) {let [t, n] = (0, D.useState)(null);return (0, D.useLayoutEffect)(() => {if (!t) return;@@ -45133,7 +45133,7 @@ function EH(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 = Xne(n, { transform: [r, E] }, Qme[e]);+ l = Zne(n, { transform: [r, E] }, $me[e]);} else n.style.transform = E;s = h, c = w, t.dataset.surfaceReady = "";}, m = (t) => {@@ -45170,25 +45170,25 @@ function EH(e) {}//#endregion//#region src/react/components/menu-dialog.tsx-function DH(e) {- let t = EH("hover");- return /* @__PURE__ */ (0, O.jsx)(bR, {+function EH(e) {+ let t = TH("hover");+ return /* @__PURE__ */ (0, O.jsx)(yR, {...e,ref: t});}//#endregion//#region src/react/library-processing/processing-effort.tsx-var OH = [+var DH = ["low","standard","high"-], kH = [+], OH = ["低占用","标准","全速"-], AH = Hz("snail"), jH = Hz("zap");-function MH({ className: e }) {+], kH = Vz("snail"), AH = Vz("zap");+function jH({ className: e }) {return /* @__PURE__ */ (0, O.jsxs)("svg", {className: `processing-effort-double ${e ?? ""}`,"aria-hidden": "true",@@ -45219,12 +45219,12 @@ function MH({ className: e }) {]});}-var $me = [+var ehe = [+ kH,AH,- jH,- MH+ jH];-function ehe({ animate: e }) {+function the({ animate: e }) {let [t, n] = (0, D.useState)(document.hidden);return (0, D.useEffect)(() => {let e = () => n(document.hidden);@@ -45256,8 +45256,8 @@ function ehe({ animate: e }) {} }, t))]});}-function NH({ value: e, busy: t, onChange: n, animate: r = !0 }) {- let i = Math.max(0, OH.indexOf(e)), [a, o] = (0, D.useState)(i);+function MH({ value: e, busy: t, onChange: n, animate: r = !0 }) {+ let i = Math.max(0, DH.indexOf(e)), [a, o] = (0, D.useState)(i);return (0, D.useEffect)(() => {t || o(i);}, [i, t]), /* @__PURE__ */ (0, O.jsxs)("div", {@@ -45268,7 +45268,7 @@ function NH({ value: e, busy: t, onChange: n, animate: r = !0 }) {children: [/* @__PURE__ */ (0, O.jsx)("span", {className: "text-text-tertiary",children: "处理强度 "- }), kH[a]]+ }), OH[a]]}),/* @__PURE__ */ (0, O.jsxs)("div", {className: "processing-effort-scale text-caption-1-regular text-text-tertiary",@@ -45276,19 +45276,19 @@ function NH({ value: e, busy: t, onChange: n, animate: r = !0 }) {children: [/* @__PURE__ */ (0, O.jsxs)("span", {"data-selected": a === 0 || void 0,- children: [/* @__PURE__ */ (0, O.jsx)(AH, {}), "最慢"]+ children: [/* @__PURE__ */ (0, O.jsx)(kH, {}), "最慢"]}),/* @__PURE__ */ (0, O.jsxs)("span", {"data-selected": a === 1 || void 0,- children: [/* @__PURE__ */ (0, O.jsx)(jH, {}), "标准"]+ children: [/* @__PURE__ */ (0, O.jsx)(AH, {}), "标准"]}),/* @__PURE__ */ (0, O.jsxs)("span", {"data-selected": a === 2 || void 0,- children: [/* @__PURE__ */ (0, O.jsx)(MH, {}), "最快"]+ children: [/* @__PURE__ */ (0, O.jsx)(jH, {}), "最快"]})]}),- /* @__PURE__ */ (0, O.jsxs)(Qle, {+ /* @__PURE__ */ (0, O.jsxs)($le, {"aria-label": "处理速度",minValue: 0,maxValue: 2,@@ -45297,10 +45297,10 @@ function NH({ value: e, busy: t, onChange: n, animate: r = !0 }) {isDisabled: t,onChange: o,onChangeEnd: (e) => {- e !== i && n(OH[e]);+ e !== i && n(DH[e]);},className: "processing-effort-slider",- children: [/* @__PURE__ */ (0, O.jsx)(MI, {+ children: [/* @__PURE__ */ (0, O.jsx)(jI, {className: "processing-effort-label",children: "处理速度"}), /* @__PURE__ */ (0, O.jsxs)("div", {@@ -45320,11 +45320,11 @@ function NH({ value: e, busy: t, onChange: n, animate: r = !0 }) {/* @__PURE__ */ (0, O.jsx)("i", {})]}),- a === 2 ? /* @__PURE__ */ (0, O.jsx)(ehe, { animate: r }) : null,- /* @__PURE__ */ (0, O.jsx)($le, {+ a === 2 ? /* @__PURE__ */ (0, O.jsx)(the, { animate: r }) : null,+ /* @__PURE__ */ (0, O.jsx)(eue, {className: "processing-effort-hit",- children: /* @__PURE__ */ (0, O.jsx)(eue, {- "aria-label": kH[a],+ children: /* @__PURE__ */ (0, O.jsx)(tue, {+ "aria-label": OH[a],className: "processing-effort-thumb"})})@@ -45338,8 +45338,8 @@ function NH({ value: e, busy: t, onChange: n, animate: r = !0 }) {]});}-function the({ value: e, busy: t, onChange: n, animate: r = !0 }) {- let i = (0, D.useRef)(null), [a, o] = (0, D.useState)(!1), s = Math.max(0, OH.indexOf(e));+function nhe({ value: e, busy: t, onChange: n, animate: r = !0 }) {+ let i = (0, D.useRef)(null), [a, o] = (0, D.useState)(!1), s = Math.max(0, DH.indexOf(e));return /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)("span", {className: "processing-effort-trigger","data-speed": e,@@ -45347,28 +45347,28 @@ function the({ value: e, busy: t, onChange: n, animate: r = !0 }) {ref: i,size: "small",variant: "secondary",- "aria-label": `处理速度:${kH[s]}`,+ "aria-label": `处理速度:${OH[s]}`,"aria-haspopup": "dialog","aria-expanded": a,"aria-disabled": t,- leadingIcon: $me[s],- trailingIcon: pz,+ leadingIcon: ehe[s],+ trailingIcon: fz,onClick: () => {t || o(!a);},- children: kH[s]+ children: OH[s]})- }), /* @__PURE__ */ (0, O.jsx)(sR, {+ }), /* @__PURE__ */ (0, O.jsx)(oR, {triggerRef: i,isOpen: a,onOpenChange: o,placement: "top start",offset: 8,- className: eV,- children: /* @__PURE__ */ (0, O.jsx)(DH, {+ className: $B,+ children: /* @__PURE__ */ (0, O.jsx)(EH, {"aria-label": "处理速度",className: "outline-none",- children: /* @__PURE__ */ (0, O.jsx)(NH, {+ children: /* @__PURE__ */ (0, O.jsx)(MH, {value: e,busy: t,onChange: n,@@ -45379,7 +45379,7 @@ function the({ value: e, busy: t, onChange: n, animate: r = !0 }) {}//#endregion//#region src/react/settings/use-action.ts-function PH(e = "") {+function NH(e = "") {let t = (0, D.useRef)(null), [n, r] = (0, D.useState)(""), [i, a] = (0, D.useState)(e);(0, D.useEffect)(() => () => t.current?.abort(), []);async function o(e, n, i, o) {@@ -45405,10 +45405,10 @@ function PH(e = "") {}//#endregion//#region src/react/library-processing/processing-controls.tsx-function nhe({ state: e, disabled: t = !1 }) {- let n = PH(), r = hH(e), i = e.status === "paused" ? "继续" : e.status === "pausing" ? "正在暂停" : "暂停", a = (e) => {- t || n.busy || n.run(e.action, (t) => V(pH, e, "POST", t), (e) => {- H.setQueryData(mH, e), H.invalidateQueries({ queryKey: mH });+function rhe({ state: e, disabled: t = !1 }) {+ let n = NH(), r = mH(e), i = e.status === "paused" ? "继续" : e.status === "pausing" ? "正在暂停" : "暂停", a = (e) => {+ t || n.busy || n.run(e.action, (t) => V(fH, e, "POST", t), (e) => {+ H.setQueryData(pH, e), H.invalidateQueries({ queryKey: pH });});};return /* @__PURE__ */ (0, O.jsxs)("div", {@@ -45416,7 +45416,7 @@ function nhe({ state: e, disabled: t = !1 }) {"data-processing-controls": "",children: [/* @__PURE__ */ (0, O.jsxs)("div", {className: "flex flex-wrap items-center gap-2",- children: [/* @__PURE__ */ (0, O.jsx)(the, {+ children: [/* @__PURE__ */ (0, O.jsx)(nhe, {value: e.speed_mode || "standard",busy: t || !!n.busy,animate: e.status !== "paused" && e.status !== "pausing",@@ -45429,11 +45429,11 @@ function nhe({ state: e, disabled: t = !1 }) {size: "small",variant: "secondary",iconOnly: !0,- leadingIcon: e.status === "paused" ? wz : Cz,+ leadingIcon: e.status === "paused" ? Cz : Sz,"aria-label": i,title: i,disabled: t || !e.job_id || e.status === "pausing",- ...Wz(n.busy === "pause" || n.busy === "resume"),+ ...Uz(n.busy === "pause" || n.busy === "resume"),onClick: () => {e.job_id && a({action: e.status === "paused" ? "resume" : "pause",@@ -45450,11 +45450,11 @@ function nhe({ state: e, disabled: t = !1 }) {}//#endregion//#region src/react/library-processing/use-library-processing.ts-function FH({ toast: e, mode: t, monitor: n }) {+function PH({ toast: e, mode: t, monitor: n }) {let r = t === "notice" || !!n, i = Ct({- queryKey: mH,- queryFn: ({ signal: e }) => _H(e),- refetchInterval: (e) => bH(e.state.data, r)+ queryKey: pH,+ queryFn: ({ signal: e }) => gH(e),+ refetchInterval: (e) => yH(e.state.data, r)}), [a, o] = (0, D.useState)(null), s = (0, D.useRef)(void 0), c = i.data;return (0, D.useEffect)(() => {if (!c) return;@@ -45464,8 +45464,8 @@ function FH({ toast: e, mode: t, monitor: n }) {"running","pausing","paused"- ].includes(n) && !hH(c);- r && o(c), (r || t === "notice") && Zme(c, e, r);+ ].includes(n) && !mH(c);+ r && o(c), (r || t === "notice") && Qme(c, e, r);}, [c,t,@@ -45478,38 +45478,38 @@ function FH({ toast: e, mode: t, monitor: n }) {}//#endregion//#region src/react/components/card.tsx-var rhe = "min-w-0", ihe = {+var ihe = "min-w-0", ahe = {filled: "bg-background-secondary-default",outlined: "border border-separator-border bg-background-primary-default",raised: "bg-background-primary-default"-}, ahe = {+}, ohe = {default: "rounded-2xl shadow-card",chart: "rounded-2-5xl",surface: "rounded-surface",plain: "rounded-2xl"-}, ohe = {+}, she = {line: "border border-border-button-default",soft: "border border-separator-border"-}, she = {+}, che = {none: "",default: "p-5"-}, che = "cursor-pointer outline-none not-data-selected:hover:bg-card-hover focus-visible:ring-2 focus-visible:ring-border-focus-ring focus-visible:ring-offset-3", lhe = "relative data-selected:bg-background-primary-default data-selected:shadow-none data-selected:after:pointer-events-none data-selected:after:absolute data-selected:after:inset-0 data-selected:after:z-1 data-selected:after:rounded-[inherit] data-selected:after:border-2 data-selected:after:border-border-focus-ring";-function IH(e = {}) {+}, lhe = "cursor-pointer outline-none not-data-selected:hover:bg-card-hover focus-visible:ring-2 focus-visible:ring-border-focus-ring focus-visible:ring-offset-3", uhe = "relative data-selected:bg-background-primary-default data-selected:shadow-none data-selected:after:pointer-events-none data-selected:after:absolute data-selected:after:inset-0 data-selected:after:z-1 data-selected:after:rounded-[inherit] data-selected:after:border-2 data-selected:after:border-border-focus-ring";+function FH(e = {}) {let { variant: t = "filled", padding: n = "default", interactive: r, selectable: i, bordered: a, className: o } = e, s = e.radius ?? (t === "outlined" ? "surface" : "default");return [- rhe,- ihe[t],- ahe[s],- she[n],- a ? ohe[a] : "",- r ? che : "",- i ? lhe : "",+ ihe,+ ahe[t],+ ohe[s],+ che[n],+ a ? she[a] : "",+ r ? lhe : "",+ i ? uhe : "",o ?? ""].filter(Boolean).join(" ");}//#endregion//#region src/react/components/loading-dots.tsx-function LH({ label: e }) {+function IH({ label: e }) {return /* @__PURE__ */ (0, O.jsxs)("p", {role: "status",className: "flex min-w-0 items-center gap-2 text-caption-1-regular text-text-secondary",@@ -45529,21 +45529,21 @@ function LH({ label: e }) {}//#endregion//#region src/react/components/progress.tsx-var RH = 100, uhe = .4;-function zH({ label: e, value: t, max: n = 100, stops: r = [] }) {- let i = n > 0 ? n : 1, a = (e) => Math.min(Math.max(Number.isFinite(e) ? e : 0, 0), i), o = (e) => a(e) / i * RH;+var LH = 100, dhe = .4;+function RH({ label: e, value: t, max: n = 100, stops: r = [] }) {+ let i = n > 0 ? n : 1, a = (e) => Math.min(Math.max(Number.isFinite(e) ? e : 0, 0), i), o = (e) => a(e) / i * LH;return /* @__PURE__ */ (0, O.jsxs)("svg", {role: "progressbar","aria-label": e,"aria-valuemin": 0,"aria-valuemax": i,"aria-valuenow": a(t),- viewBox: `0 0 ${RH} 1`,+ viewBox: `0 0 ${LH} 1`,preserveAspectRatio: "none",className: "h-1.5 w-full overflow-hidden rounded-full",children: [/* @__PURE__ */ (0, O.jsx)("rect", {- width: RH,+ width: LH,height: 1,className: "fill-background-tertiary-default"}),@@ -45554,7 +45554,7 @@ function zH({ label: e, value: t, max: n = 100, stops: r = [] }) {}),r.map((e) => /* @__PURE__ */ (0, O.jsx)("rect", {x: o(e),- width: uhe,+ width: dhe,height: 1,className: "fill-background-secondary-default"}, e))@@ -45563,27 +45563,27 @@ function zH({ label: e, value: t, max: n = 100, stops: r = [] }) {}//#endregion//#region src/react/components/task-progress.tsx-function BH({ label: e, value: t = 0, total: n, embedded: r = !1 }) {+function zH({ label: e, value: t = 0, total: n, embedded: r = !1 }) {return /* @__PURE__ */ (0, O.jsx)("div", {"data-task-progress": !0,- className: r ? "flex flex-col gap-1.5" : IH({+ className: r ? "flex flex-col gap-1.5" : FH({variant: "outlined",padding: "none",className: "flex flex-col gap-1.5 px-4 py-3.5"}),- children: n && n > 0 ? /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)(zH, {+ children: n && n > 0 ? /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)(RH, {label: e,value: t,max: n}), /* @__PURE__ */ (0, O.jsx)("p", {className: "text-caption-1-regular text-text-secondary wrap-anywhere",children: e- })] }) : /* @__PURE__ */ (0, O.jsx)(LH, { label: e })+ })] }) : /* @__PURE__ */ (0, O.jsx)(IH, { label: e })});}//#endregion//#region src/react/library-processing/processing-line.tsx-function VH(e) {+function BH(e) {let [t, n] = (0, D.useState)({snapshot: e,seconds: 0@@ -45599,17 +45599,17 @@ function VH(e) {return () => window.clearInterval(r);}, [e, i]);let a = i && t.snapshot === e ? t.seconds : 0;- return Jme(a ? {+ return Yme(a ? {...e,waited_seconds: r + a} : e);}-function dhe({ state: e }) {- return VH(e);-}function fhe({ state: e }) {- let t = VH(e);- return /* @__PURE__ */ (0, O.jsx)(BH, {+ return BH(e);+}+function phe({ state: e }) {+ let t = BH(e);+ return /* @__PURE__ */ (0, O.jsx)(zH, {embedded: !0,label: t,value: Math.min(e.checked || 0, e.total || 0),@@ -45618,7 +45618,7 @@ function fhe({ state: e }) {}//#endregion//#region src/react/components/collapse-region.tsx-function HH({ open: e, children: t, ...n }) {+function VH({ open: e, children: t, ...n }) {let r = (0, D.useRef)(null), i = (0, D.useRef)(!1);return (0, D.useLayoutEffect)(() => {let t = r.current;@@ -45629,7 +45629,7 @@ function HH({ open: e, children: t, ...n }) {children: t});}-function UH(e) {+function HH(e) {return /* @__PURE__ */ (0, O.jsx)("svg", {...e,"aria-hidden": !0,@@ -45645,21 +45645,21 @@ function UH(e) {}//#endregion//#region src/react/boardui/components/application/settings/settings-rows.tsx-function WH({ className: e, children: t }) {+function UH({ className: e, children: t }) {return /* @__PURE__ */ (0, O.jsx)("div", {- className: AF("flex w-full flex-col rounded-2xl bg-background-secondary-default pl-3", e),+ className: kF("flex w-full flex-col rounded-2xl bg-background-secondary-default pl-3", e),children: t});}-function GH({ className: e, children: t }) {+function WH({ className: e, children: t }) {return /* @__PURE__ */ (0, O.jsx)("p", {- className: AF("w-full px-3 text-body-2-medium text-text-secondary", e),+ className: kF("w-full px-3 text-body-2-medium text-text-secondary", e),children: t});}-function phe({ label: e, description: t, children: n }) {+function mhe({ label: e, description: t, children: n }) {return /* @__PURE__ */ (0, O.jsxs)("div", {- className: AF("flex min-h-[52px] w-full items-center justify-between gap-4 py-2.5 pr-2.5", "border-b border-separator-border last:border-b-0"),+ className: kF("flex min-h-[52px] w-full items-center justify-between gap-4 py-2.5 pr-2.5", "border-b border-separator-border last:border-b-0"),children: [/* @__PURE__ */ (0, O.jsxs)("div", {className: "flex min-w-0 flex-col",children: [/* @__PURE__ */ (0, O.jsx)("p", {@@ -45674,7 +45674,7 @@ function phe({ label: e, description: t, children: n }) {}//#endregion//#region src/react/settings/section.tsx-function mhe({ title: e, icon: t, id: n, aside: r, onSubmit: i, children: a }) {+function hhe({ title: e, icon: t, id: n, aside: r, onSubmit: i, children: a }) {let o = t ? /* @__PURE__ */ (0, O.jsxs)("span", {className: "inline-flex items-center gap-1.5",children: [t, e]@@ -45682,12 +45682,12 @@ function mhe({ title: e, icon: t, id: n, aside: r, onSubmit: i, children: a }) {className: "flex w-full flex-wrap items-center justify-between gap-2",children: [/* @__PURE__ */ (0, O.jsx)("div", {className: "min-w-40 flex-1",- children: /* @__PURE__ */ (0, O.jsx)(GH, { children: o })+ children: /* @__PURE__ */ (0, O.jsx)(WH, { children: o })}), /* @__PURE__ */ (0, O.jsx)("div", {className: "flex min-w-0 max-w-full",children: r})]- }) : /* @__PURE__ */ (0, O.jsx)(GH, { children: o }), /* @__PURE__ */ (0, O.jsx)(WH, { children: a })] });+ }) : /* @__PURE__ */ (0, O.jsx)(WH, { children: o }), /* @__PURE__ */ (0, O.jsx)(UH, { children: a })] });return i ? /* @__PURE__ */ (0, O.jsx)("form", {id: n,"aria-label": e,@@ -45702,13 +45702,13 @@ function mhe({ title: e, icon: t, id: n, aside: r, onSubmit: i, children: a }) {children: s});}-function hhe({ children: e }) {+function ghe({ children: e }) {return /* @__PURE__ */ (0, O.jsx)("div", {className: "ui-settings-rows flex flex-col empty:hidden",children: e});}-function KH({ divided: e = !1, children: t }) {+function GH({ divided: e = !1, children: t }) {return e ? /* @__PURE__ */ (0, O.jsx)("div", {className: "flex flex-col gap-4 border-t border-separator-border py-4 pr-3 empty:hidden",children: t@@ -45717,7 +45717,7 @@ function KH({ divided: e = !1, children: t }) {children: t});}-function ghe({ label: e, html: t }) {+function _he({ label: e, html: t }) {let [n] = (0, D.useState)(t);return /* @__PURE__ */ (0, O.jsx)("div", {className: "contents",@@ -45727,7 +45727,7 @@ function ghe({ label: e, html: t }) {dangerouslySetInnerHTML: { __html: n }});}-function _he({ status: e, children: t }) {+function vhe({ status: e, children: t }) {return /* @__PURE__ */ (0, O.jsxs)("div", {className: "-ml-3 flex flex-wrap items-center justify-end gap-3 rounded-b-2xl border-t border-separator-border bg-card-footer px-3 py-3 empty:hidden",children: [e ? /* @__PURE__ */ (0, O.jsx)("div", {@@ -45736,34 +45736,34 @@ function _he({ status: e, children: t }) {}) : null, t]});}-function qH({ role: e, children: t }) {+function KH({ role: e, children: t }) {return /* @__PURE__ */ (0, O.jsx)("p", {role: e,className: "text-body-2-regular text-text-secondary",children: t});}-function JH({ children: e }) {+function qH({ children: e }) {return /* @__PURE__ */ (0, O.jsx)("p", {role: "alert",className: "text-body-2-regular text-text-error-primary",children: e});}-function YH({ children: e }) {+function JH({ children: e }) {return /* @__PURE__ */ (0, O.jsx)("p", {className: "text-body-medium text-text-primary",children: e});}-function vhe({ href: e, children: t, leadingIcon: n }) {- return /* @__PURE__ */ (0, O.jsx)(TH, {+function yhe({ href: e, children: t, leadingIcon: n }) {+ return /* @__PURE__ */ (0, O.jsx)(wH, {href: e,target: "_blank",rel: "noopener noreferrer",size: "small",leadingIcon: n,- trailingIcon: _z,+ trailingIcon: gz,className: "min-w-0 max-w-full",children: /* @__PURE__ */ (0, O.jsx)("span", {className: "min-w-0 whitespace-normal break-all",@@ -45771,13 +45771,13 @@ function vhe({ href: e, children: t, leadingIcon: n }) {})});}-function yhe({ children: e }) {+function bhe({ children: e }) {return /* @__PURE__ */ (0, O.jsx)("dl", {className: "ui-settings-facts flex flex-col empty:hidden",children: e});}-function bhe({ term: e, children: t }) {+function xhe({ term: e, children: t }) {return /* @__PURE__ */ (0, O.jsxs)("div", {className: "flex min-h-11 items-center justify-between gap-4 border-b border-separator-border py-2.5 pr-3 last:border-b-0",children: [/* @__PURE__ */ (0, O.jsx)("dt", {@@ -45789,7 +45789,7 @@ function bhe({ term: e, children: t }) {})]});}-function XH({ summary: e, defaultOpen: t = !1, isOpen: n, children: r, trailing: i = !1, onOpenChange: a, contentClassName: o }) {+function YH({ summary: e, defaultOpen: t = !1, isOpen: n, children: r, trailing: i = !1, onOpenChange: a, contentClassName: o }) {let s = (0, D.useId)(), c = (0, D.useRef)(null), l = (0, D.useRef)(null), u = (0, D.useRef)(!1), [d, f] = (0, D.useState)(n ?? t);return (0, D.useLayoutEffect)(() => {n !== void 0 && n !== d && c.current && l.current && (no(c.current, l.current, n), f(n));@@ -45805,12 +45805,12 @@ function XH({ summary: e, defaultOpen: t = !1, isOpen: n, children: r, trailing:},className: `${i ? "w-full" : "w-fit"} flex cursor-pointer list-none items-center gap-1 rounded-sm text-body-2-medium text-text-secondary outline-none select-none hover:text-text-primary focus-visible:ring-2 focus-visible:ring-border-focus-ring`,children: [- i ? null : /* @__PURE__ */ (0, O.jsx)(hz, {+ i ? null : /* @__PURE__ */ (0, O.jsx)(mz, {"aria-hidden": !0,className: d ? "size-(--icon-inline) shrink-0 rotate-90 transition-transform" : "size-(--icon-inline) shrink-0 transition-transform"}),e,- i ? /* @__PURE__ */ (0, O.jsx)(hz, {+ i ? /* @__PURE__ */ (0, O.jsx)(mz, {"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@@ -45820,13 +45820,13 @@ function XH({ summary: e, defaultOpen: t = !1, isOpen: n, children: r, trailing:id: s,inert: !d,children: /* @__PURE__ */ (0, O.jsx)("div", {- className: AF("flex flex-col gap-2 pt-3", o),+ className: kF("flex flex-col gap-2 pt-3", o),children: r})})]});}-function xhe({ name: e }) {+function She({ name: e }) {return /* @__PURE__ */ (0, O.jsx)("svg", {"aria-hidden": !0,"data-source-mark": e,@@ -45836,35 +45836,35 @@ function xhe({ name: e }) {children: /* @__PURE__ */ (0, O.jsx)("use", { href: `#i-${e}` })});}-function ZH({ mark: e }) {+function XH({ mark: e }) {return e.startsWith("data:image/png;base64,") ? /* @__PURE__ */ (0, O.jsx)("img", {src: e,alt: "",width: 16,height: 16,className: "size-(--icon-inline) shrink-0"- }) : /* @__PURE__ */ (0, O.jsx)(xhe, { name: e });+ }) : /* @__PURE__ */ (0, O.jsx)(She, { name: e });}//#endregion//#region src/react/components/source-label.tsx-var QH = (e) => e.startsWith("clouddrive:") ? e.split(":")[1] : e, She = Object.fromEntries(Object.entries(Po).map(([e, t]) => [e, function({ className: e }) {+var ZH = (e) => e.startsWith("clouddrive:") ? e.split(":")[1] : e, Che = Object.fromEntries(Object.entries(Po).map(([e, t]) => [e, function({ className: e }) {return /* @__PURE__ */ (0, O.jsx)("span", {className: e,- children: /* @__PURE__ */ (0, O.jsx)(ZH, { mark: t })+ children: /* @__PURE__ */ (0, O.jsx)(XH, { mark: t })});}]));-function Che({ className: e }) {+function whe({ className: e }) {return /* @__PURE__ */ (0, O.jsx)("span", {className: e,- children: /* @__PURE__ */ (0, O.jsx)(ZH, { mark: "database" })+ children: /* @__PURE__ */ (0, O.jsx)(XH, { mark: "database" })});}-var $H = (e) => She[QH(e)] ?? Che;-function whe({ site: e, label: t }) {+var QH = (e) => Che[ZH(e)] ?? whe;+function The({ site: e, label: t }) {let [n, r] = (0, D.useState)(!1), i = e === "javdb" ? "/site-mark?source=javdb" : e === "missav" ? "/site-mark?domain=missav.com" : null;return /* @__PURE__ */ (0, O.jsxs)("span", {className: "inline-flex min-w-0 items-center gap-1.5",- children: [n || !i ? /* @__PURE__ */ (0, O.jsx)(ZH, { mark: "globe" }) : /* @__PURE__ */ (0, O.jsx)("img", {+ children: [n || !i ? /* @__PURE__ */ (0, O.jsx)(XH, { mark: "globe" }) : /* @__PURE__ */ (0, O.jsx)("img", {src: i,alt: "",className: "size-(--icon-inline) shrink-0 object-contain",@@ -45872,11 +45872,11 @@ function whe({ site: e, label: t }) {}), /* @__PURE__ */ (0, O.jsx)("span", { children: t })]});}-function eU({ source: e, label: t }) {- let n = QH(e);+function $H({ source: e, label: t }) {+ let n = ZH(e);return /* @__PURE__ */ (0, O.jsxs)("span", {className: "inline-flex min-w-0 items-center gap-1.5",- children: [/* @__PURE__ */ (0, O.jsx)(ZH, { mark: Po[n] || (n === "local" ? "hard-drive" : "database") }), /* @__PURE__ */ (0, O.jsx)("span", {+ children: [/* @__PURE__ */ (0, O.jsx)(XH, { mark: Po[n] || (n === "local" ? "hard-drive" : "database") }), /* @__PURE__ */ (0, O.jsx)("span", {className: "min-w-0 truncate",children: t})]@@ -45884,13 +45884,13 @@ function eU({ source: e, label: t }) {}//#endregion//#region src/react/library-processing/processing-traffic.tsx-var tU = (e) => vn(e).replace(/\s/g, ""), nU = (e) => e >= 1024 ** 2 && e < 1024 ** 3 ? `${Number((e / 1024 ** 2).toFixed(1))}MB` : tU(e), The = (e, t) => {- if (e === t) return tU(t);+var eU = (e) => vn(e).replace(/\s/g, ""), tU = (e) => e >= 1024 ** 2 && e < 1024 ** 3 ? `${Number((e / 1024 ** 2).toFixed(1))}MB` : eU(e), Ehe = (e, t) => {+ if (e === t) return eU(t);let [n, r] = vn(e).split(" "), [i, a] = vn(t).split(" ");- return r === a ? `${n}-${i}${a}` : `${tU(e)}-${tU(t)}`;-}, rU = (e, t, n) => e === void 0 ? The(t, n) : `${e > 0 ? "约 " : ""}${tU(e)}`;-function iU({ traffic: e, initial: t = !1, detailsOpen: n, onDetailsChange: r }) {- let i = cV(), [a, o] = (0, D.useState)(!1), s = (0, D.useId)(), c = n ?? a;+ return r === a ? `${n}-${i}${a}` : `${eU(e)}-${eU(t)}`;+}, nU = (e, t, n) => e === void 0 ? Ehe(t, n) : `${e > 0 ? "约 " : ""}${eU(e)}`;+function rU({ traffic: e, initial: t = !1, detailsOpen: n, onDetailsChange: r }) {+ let i = sV(), [a, o] = (0, D.useState)(!1), s = (0, D.useId)(), c = n ?? a;if (!e) return null;let l = (e) => e.toLocaleString("zh-CN");return /* @__PURE__ */ (0, O.jsxs)("div", {@@ -45927,25 +45927,25 @@ function iU({ traffic: e, initial: t = !1, detailsOpen: n, onDetailsChange: r })children: [/* @__PURE__ */ (0, O.jsxs)("p", {className: "inline-flex items-center gap-1.5",- children: [/* @__PURE__ */ (0, O.jsx)(bz, {+ children: [/* @__PURE__ */ (0, O.jsx)(yz, {"aria-hidden": !0,className: "size-(--icon-inline) shrink-0"}), e.inventory && !e.inventory.complete ? "已识别流量" : "预计流量"]}),/* @__PURE__ */ (0, O.jsx)("p", {className: "text-title-3-semibold text-text-primary",- children: rU(e.estimated_bytes, e.estimated_min_bytes, e.estimated_max_bytes)+ children: nU(e.estimated_bytes, e.estimated_min_bytes, e.estimated_max_bytes)}),/* @__PURE__ */ (0, O.jsxs)("p", { children: [e.unknown_route_estimated_bytes ? "已确认代理" : "代理"," ",- rU(e.metered_estimated_bytes, e.metered_estimated_min_bytes, e.metered_estimated_max_bytes)+ nU(e.metered_estimated_bytes, e.metered_estimated_min_bytes, e.metered_estimated_max_bytes)] }),t ? null : /* @__PURE__ */ (0, O.jsxs)("p", { children: ["已用 ",- /* @__PURE__ */ (0, O.jsxs)("span", { children: [e.partial ? "约 " : "", tU(e.used_bytes)] }),+ /* @__PURE__ */ (0, O.jsxs)("span", { children: [e.partial ? "约 " : "", eU(e.used_bytes)] })," · 代理 ",- tU(e.metered_used_bytes)+ eU(e.metered_used_bytes)] })]}), e.disk ? /* @__PURE__ */ (0, O.jsxs)("section", {@@ -45954,25 +45954,25 @@ function iU({ traffic: e, initial: t = !1, detailsOpen: n, onDetailsChange: r })children: [/* @__PURE__ */ (0, O.jsxs)("p", {className: "inline-flex items-center gap-1.5",- children: [/* @__PURE__ */ (0, O.jsx)(Ife, {+ children: [/* @__PURE__ */ (0, O.jsx)(Lfe, {"aria-hidden": !0,className: "size-(--icon-inline) shrink-0"}), e.inventory && !e.inventory.complete ? "已识别占用" : "预计占用"]}),/* @__PURE__ */ (0, O.jsxs)("p", {className: "text-title-3-semibold text-text-primary",- children: ["约 ", tU(e.disk.estimated_bytes)]+ children: ["约 ", eU(e.disk.estimated_bytes)]}),- e.disk.temporary_bytes > 0 ? /* @__PURE__ */ (0, O.jsxs)("p", { children: ["抽帧临时文件约 ", nU(e.disk.temporary_bytes)] }) : null,+ e.disk.temporary_bytes > 0 ? /* @__PURE__ */ (0, O.jsxs)("p", { children: ["抽帧临时文件约 ", tU(e.disk.temporary_bytes)] }) : null,e.disk.volumes.map((e) => /* @__PURE__ */ (0, O.jsxs)("div", {className: "flex min-w-0 flex-col gap-1",children: [/* @__PURE__ */ (0, O.jsxs)("p", { children: [e.path," 剩余 ",- e.free_bytes == null ? "未取得" : tU(e.free_bytes)+ e.free_bytes == null ? "未取得" : eU(e.free_bytes)] }), e.can_fit === !1 ? /* @__PURE__ */ (0, O.jsxs)("p", {role: "status",- children: ["空间不足,还差 ", tU(e.shortfall_bytes || 0)]+ children: ["空间不足,还差 ", eU(e.shortfall_bytes || 0)]}) : null]}, e.path)),e.disk.cache_unknown ? /* @__PURE__ */ (0, O.jsx)("p", {@@ -45988,7 +45988,7 @@ function iU({ traffic: e, initial: t = !1, detailsOpen: n, onDetailsChange: r })className: "self-start","aria-expanded": c,"aria-controls": s,- trailingIcon: c ? efe : pz,+ trailingIcon: c ? tfe : fz,onClick: () => {o(!c), r?.(!c);},@@ -46007,12 +46007,12 @@ function iU({ traffic: e, initial: t = !1, detailsOpen: n, onDetailsChange: r })children: [/* @__PURE__ */ (0, O.jsxs)("div", {className: "flex min-w-0 items-start justify-between gap-2",- children: [e.root ? /* @__PURE__ */ (0, O.jsx)(eU, {+ children: [e.root ? /* @__PURE__ */ (0, O.jsx)($H, {source: e.location,label: e.label}) : /* @__PURE__ */ (0, O.jsxs)("span", {className: "inline-flex min-w-0 items-center gap-1.5",- children: [/* @__PURE__ */ (0, O.jsx)(ZH, { mark: "globe" }), e.label]+ children: [/* @__PURE__ */ (0, O.jsx)(XH, { mark: "globe" }), e.label]}), /* @__PURE__ */ (0, O.jsx)("span", {className: "shrink-0",children: e.connection === "system" ? "跟随系统" : e.connection === "unknown" ? "连接待确认" : e.metered ? "代理" : "直连"@@ -46034,7 +46034,7 @@ function iU({ traffic: e, initial: t = !1, detailsOpen: n, onDetailsChange: r })"待补资料 ",l(e.workload.pending_jav_titles)," 部 · 平均约 ",- nU(e.workload.metadata_average_bytes || 0),+ tU(e.workload.metadata_average_bytes || 0),"/部"]}) : null,@@ -46044,8 +46044,8 @@ function iU({ traffic: e, initial: t = !1, detailsOpen: n, onDetailsChange: r })"已用",e.unobserved.length ? "约" : ""," ",- tU(e.used_bytes)- ] }), /* @__PURE__ */ (0, O.jsxs)("span", { children: ["预计 ", rU(e.estimated_bytes, e.estimated_min_bytes, e.estimated_max_bytes)] })]+ eU(e.used_bytes)+ ] }), /* @__PURE__ */ (0, O.jsxs)("span", { children: ["预计 ", nU(e.estimated_bytes, e.estimated_min_bytes, e.estimated_max_bytes)] })]})]}, e.key))@@ -46057,15 +46057,15 @@ function iU({ traffic: e, initial: t = !1, detailsOpen: n, onDetailsChange: r })}//#endregion//#region src/react/library-processing/library-processing-notice.tsx-var aU = "peach.library-processing.collapsed";-function oU(e) {+var iU = "peach.library-processing.collapsed";+function aU(e) {try {- return !e || sessionStorage.getItem(aU) !== e;+ return !e || sessionStorage.getItem(iU) !== e;} catch {return !0;}}-function Ehe({ value: e, max: t }) {+function Dhe({ value: e, max: t }) {let n = Math.max(0, Math.min(100, e / t * 100));return /* @__PURE__ */ (0, O.jsxs)("svg", {role: "progressbar",@@ -46095,14 +46095,14 @@ function Ehe({ value: e, max: t }) {})]});}-function sU({ state: e, problem: t = "", measure: n = !1 }) {- let [r, i] = (0, D.useState)(() => oU(e?.job_id)), a = (0, D.useId)(), [o, s] = (0, D.useState)(!1), c = (0, D.useRef)(null), l = e?.status === "failed", u = hH(e);+function oU({ state: e, problem: t = "", measure: n = !1 }) {+ let [r, i] = (0, D.useState)(() => aU(e?.job_id)), a = (0, D.useId)(), [o, s] = (0, D.useState)(!1), c = (0, D.useRef)(null), l = e?.status === "failed", u = mH(e);(0, D.useEffect)(() => {- i(oU(e?.job_id)), s(!1);+ i(aU(e?.job_id)), s(!1);}, [e?.job_id]);let d = () => {try {- r && e?.job_id ? sessionStorage.setItem(aU, e.job_id) : sessionStorage.removeItem(aU);+ r && e?.job_id ? sessionStorage.setItem(iU, e.job_id) : sessionStorage.removeItem(iU);} catch {}r && s(!1), i(!r);};@@ -46124,20 +46124,20 @@ function sU({ state: e, problem: t = "", measure: n = !1 }) {"data-processing-tone": l ? "error" : f ? "warning" : "neutral","aria-label": "扫描任务",role: l ? "alert" : "status",- className: AF("flex min-w-0 flex-col border bg-background-primary-default p-4", l ? "border-current/35 text-text-error-primary" : f ? "border-current/35 text-status-yellow-text" : "border-border-button-default text-text-primary"),+ className: kF("flex min-w-0 flex-col border bg-background-primary-default p-4", l ? "border-current/35 text-text-error-primary" : f ? "border-current/35 text-status-yellow-text" : "border-border-button-default text-text-primary"),children: [/* @__PURE__ */ (0, O.jsxs)("div", {className: "flex min-w-0 flex-col gap-3",children: [/* @__PURE__ */ (0, O.jsxs)("div", {className: "flex min-w-0 items-center gap-3",children: [- u && e?.total ? /* @__PURE__ */ (0, O.jsx)(Ehe, {+ u && e?.total ? /* @__PURE__ */ (0, O.jsx)(Dhe, {value: e.checked || 0,max: e.total- }) : l || f ? /* @__PURE__ */ (0, O.jsx)(pfe, {+ }) : l || f ? /* @__PURE__ */ (0, O.jsx)(mfe, {"aria-hidden": !0,className: "size-5 shrink-0"- }) : /* @__PURE__ */ (0, O.jsx)(wfe, {+ }) : /* @__PURE__ */ (0, O.jsx)(Tfe, {"aria-hidden": !0,className: "size-5 shrink-0"}),@@ -46149,14 +46149,14 @@ function sU({ state: e, problem: t = "", measure: n = !1 }) {}), u ? /* @__PURE__ */ (0, O.jsx)("p", {"data-processing-eta": "",className: "text-caption-1-regular text-text-secondary tabular-nums wrap-anywhere",- children: gH(e)+ children: hH(e)}) : null]}),/* @__PURE__ */ (0, O.jsx)(q, {size: "small",variant: "secondary",iconOnly: !0,- leadingIcon: UH,+ leadingIcon: HH,"data-processing-toggle": "","data-collapse-upward": "","aria-label": r ? "收起任务详情" : "展开任务详情",@@ -46165,20 +46165,20 @@ function sU({ state: e, problem: t = "", measure: n = !1 }) {onClick: d})]- }), /* @__PURE__ */ (0, O.jsx)(iU, {+ }), /* @__PURE__ */ (0, O.jsx)(rU, {traffic: e?.traffic,detailsOpen: o,onDetailsChange: s})]}),- /* @__PURE__ */ (0, O.jsx)(HH, {+ /* @__PURE__ */ (0, O.jsx)(VH, {id: a,open: r,"data-processing-body": "",children: /* @__PURE__ */ (0, O.jsx)("div", {className: "pt-3",children: /* @__PURE__ */ (0, O.jsxs)("div", {- className: AF("flex min-w-0 flex-col gap-2 border-t pt-3", l ? "border-border-error-default/20" : f ? "border-current/20" : "border-separator-border"),+ className: kF("flex min-w-0 flex-col gap-2 border-t pt-3", l ? "border-border-error-default/20" : f ? "border-current/20" : "border-separator-border"),children: [e?.steps?.length ? /* @__PURE__ */ (0, O.jsx)("ol", {"aria-label": "处理步骤",@@ -46186,16 +46186,16 @@ function sU({ state: e, problem: t = "", measure: n = !1 }) {children: e.steps.map((e) => /* @__PURE__ */ (0, O.jsxs)("li", {"data-processing-step": e.status,"aria-current": e.status === "current" ? "step" : void 0,- className: AF("flex min-h-8 items-center gap-2 text-body-2-regular", e.status === "current" ? "text-text-primary" : "text-text-tertiary"),+ className: kF("flex min-h-8 items-center gap-2 text-body-2-regular", e.status === "current" ? "text-text-primary" : "text-text-tertiary"),children: [- e.status === "complete" ? /* @__PURE__ */ (0, O.jsx)(ofe, {+ e.status === "complete" ? /* @__PURE__ */ (0, O.jsx)(sfe, {"aria-hidden": !0,className: "size-(--icon-inline) shrink-0"- }) : /* @__PURE__ */ (0, O.jsx)(sfe, {+ }) : /* @__PURE__ */ (0, O.jsx)(cfe, {"aria-hidden": !0,- className: AF("size-(--icon-inline) shrink-0", e.status === "current" && "text-border-focus-ring")+ className: kF("size-(--icon-inline) shrink-0", e.status === "current" && "text-border-focus-ring")}),- /* @__PURE__ */ (0, O.jsx)(IC, { children: e.status === "complete" ? "已完成:" : e.status === "current" ? "当前:" : "待处理:" }),+ /* @__PURE__ */ (0, O.jsx)(FC, { children: e.status === "complete" ? "已完成:" : e.status === "current" ? "当前:" : "待处理:" }),e.status === "complete" ? /* @__PURE__ */ (0, O.jsx)("s", {className: "wrap-anywhere",children: e.label@@ -46208,7 +46208,7 @@ function sU({ state: e, problem: t = "", measure: n = !1 }) {}) : null,/* @__PURE__ */ (0, O.jsx)("p", {className: "text-body-2-regular wrap-anywhere",- children: t || (l ? e?.error || "请查看并处理未完成项" : /* @__PURE__ */ (0, O.jsx)(dhe, { state: e }))+ children: t || (l ? e?.error || "请查看并处理未完成项" : /* @__PURE__ */ (0, O.jsx)(fhe, { state: e }))}),u && e?.stage && !e.steps?.length ? /* @__PURE__ */ (0, O.jsxs)("p", {className: "text-caption-1-regular text-text-tertiary",@@ -46224,13 +46224,13 @@ function sU({ state: e, problem: t = "", measure: n = !1 }) {}),/* @__PURE__ */ (0, O.jsxs)("div", {className: "flex flex-wrap items-center justify-between gap-2 pt-3",- children: [/* @__PURE__ */ (0, O.jsx)(TH, {+ children: [/* @__PURE__ */ (0, O.jsx)(wH, {href: "/data-cleanup#libraryProcessing",variant: "secondary",size: "small",- trailingIcon: mz,+ trailingIcon: pz,children: t || l ? "打开扫描与采集" : "任务详情"- }), u ? /* @__PURE__ */ (0, O.jsx)(nhe, {+ }), u ? /* @__PURE__ */ (0, O.jsx)(rhe, {state: e,disabled: !!t}) : null]@@ -46238,32 +46238,32 @@ function sU({ state: e, problem: t = "", measure: n = !1 }) {]});}-function Dhe(e) {- let { job: t } = FH(e);- return /* @__PURE__ */ (0, O.jsx)(sU, {+function Ohe(e) {+ let { job: t } = PH(e);+ return /* @__PURE__ */ (0, O.jsx)(oU, {state: t.data,- problem: t.isError ? t.data ? yH : jn(t.error) : ""+ problem: t.isError ? t.data ? vH : jn(t.error) : ""});}//#endregion//#region src/react/library-processing/library-processing-dock.tsx-var cU = "peach-library-processing";-function Ohe({ toast: e }) {- let { job: t, settled: n } = FH({+var sU = "peach-library-processing";+function khe({ toast: e }) {+ let { job: t, settled: n } = PH({toast: e,mode: "notice"- }), r = (0, D.useRef)(""), i = (0, D.useRef)(!1), a = t.data, o = t.isError ? a ? yH : jn(t.error) : "";+ }), r = (0, D.useRef)(""), i = (0, D.useRef)(!1), a = t.data, o = t.isError ? a ? vH : jn(t.error) : "";return (0, D.useEffect)(() => {- let e = hH(a), t = a?.job_id || "unavailable", s = a?.status === "failed" && (n?.job_id === a.job_id || CH(a));- !e && (!o && !s || r.current === t) ? (i.current && sH.dismiss(cU), i.current = !1) : (sH.custom(() => /* @__PURE__ */ (0, O.jsx)("div", {+ let e = mH(a), t = a?.job_id || "unavailable", s = a?.status === "failed" && (n?.job_id === a.job_id || SH(a));+ !e && (!o && !s || r.current === t) ? (i.current && oH.dismiss(sU), i.current = !1) : (oH.custom(() => /* @__PURE__ */ (0, O.jsx)("div", {className: "peach-react",- children: /* @__PURE__ */ (0, O.jsx)(sU, {+ children: /* @__PURE__ */ (0, O.jsx)(oU, {state: a,problem: o,measure: !0})}), {- id: cU,+ id: sU,toasterId: "processing",duration: Infinity,dismissible: !e,@@ -46278,20 +46278,20 @@ function Ohe({ toast: e }) {o,n]), (0, D.useEffect)(() => () => {- i.current && sH.dismiss(cU), i.current = !1;+ i.current && oH.dismiss(sU), i.current = !1;}, []), null;}//#endregion//#region src/react/network-banner.tsx-var khe = ["network-status"], Ahe = "Peach 连不上外网,资料采集、关注更新和在线来源暂不可用;本机媒体照常浏览和播放。";-function jhe(e) {+var Ahe = ["network-status"], jhe = "Peach 连不上外网,资料采集、关注更新和在线来源暂不可用;本机媒体照常浏览和播放。";+function Mhe(e) {return e?.state === "online" ? 12e4 : 3e4;}-function Mhe() {+function Nhe() {let e = Ct({- queryKey: khe,+ queryKey: Ahe,queryFn: ({ signal: e }) => B("/api/network-status", e),- refetchInterval: (e) => jhe(e.state.data),+ refetchInterval: (e) => Mhe(e.state.data),retry: !1}), t = document.querySelector("[data-network-banner]");return e.data?.state !== "offline" || !t ? null : (0, Et.createPortal)(/* @__PURE__ */ (0, O.jsxs)("aside", {@@ -46302,7 +46302,7 @@ function Mhe() {viewBox: "0 0 24 24","aria-hidden": "true",children: /* @__PURE__ */ (0, O.jsx)("use", { href: "#i-alert" })- }), /* @__PURE__ */ (0, O.jsx)("p", { children: Ahe })] }), /* @__PURE__ */ (0, O.jsx)("a", {+ }), /* @__PURE__ */ (0, O.jsx)("p", { children: jhe })] }), /* @__PURE__ */ (0, O.jsx)("a", {href: "/settings/network#peachProxy",children: "检查 Peach 代理"})]@@ -46310,21 +46310,21 @@ function Mhe() {}//#endregion//#region src/react/router/pages/settings.tsx-function Nhe() {- let e = (0, D.useContext)(pU), { pathname: t } = VB();+function Phe() {+ let e = (0, D.useContext)(fU), { pathname: t } = BB();return (0, D.useEffect)(() => {- e?.openSettings?.(mV(t));+ e?.openSettings?.(pV(t));}, [e, t]), (0, D.useEffect)(() => () => {queueMicrotask(() => {- pV($V.navigation.location.pathname) || e?.closeSettings?.();+ fV(QV.navigation.location.pathname) || e?.closeSettings?.();});}, [e]), null;}//#endregion//#region src/react/router/pages/overlay.tsx-var lU = () => Ul, Phe = () => Wl;-function Fhe() {- let e = (0, D.useContext)(pU), t = (0, D.useSyncExternalStore)(eu, Phe), n = (0, D.useSyncExternalStore)(eu, lU);+var cU = () => Ul, Fhe = () => Wl;+function Ihe() {+ let e = (0, D.useContext)(fU), t = (0, D.useSyncExternalStore)(eu, Fhe), n = (0, D.useSyncExternalStore)(eu, cU);return (0, D.useEffect)(() => {if (!t || !n) return;let r = !0;@@ -46339,11 +46339,11 @@ function Fhe() {e]), null;}-function uU(e, t = !1) {- let n = (0, D.useSyncExternalStore)(eu, lU), r = (0, D.useRef)(void 0);+function lU(e, t = !1) {+ let n = (0, D.useSyncExternalStore)(eu, cU), r = (0, D.useRef)(void 0);if (r.current === void 0) {- let { claimed: e } = $V.navigation;- r.current = Ul === 0 || tH() ? "boot" : e && !t ? null : "history";+ let { claimed: e } = QV.navigation;+ r.current = Ul === 0 || eH() ? "boot" : e && !t ? null : "history";}let i = (0, D.useRef)(e);(0, D.useEffect)(() => {@@ -46359,22 +46359,22 @@ function uU(e, t = !1) {}));}, [n]);}-function Ihe() {- let e = (0, D.useContext)(pU), t = (0, D.useRef)(e);+function Lhe() {+ let e = (0, D.useContext)(fU), t = (0, D.useRef)(e);return (0, D.useLayoutEffect)(() => {t.current = e;- }, [e]), uU((t) => {- let n = $V.navigation.location, { pathname: r, search: i } = pV(n.pathname) && gV(n.state) || n, a = yV(r, i);- e && a && (TV(), t || dme($V.navigation.location.state), e.openOverlay(a));+ }, [e]), lU((t) => {+ let n = QV.navigation.location, { pathname: r, search: i } = fV(n.pathname) && hV(n.state) || n, a = vV(r, i);+ e && a && (wV(), t || fme(QV.navigation.location.state), e.openOverlay(a));}, !0), (0, D.useEffect)(() => () => {queueMicrotask(() => {- bV($V.navigation.location.pathname) || t.current?.closeStage();+ yV(QV.navigation.location.pathname) || t.current?.closeStage();});}, []), null;}-function Lhe({ path: e }) {- fU();- let { location: t, seq: n, action: r } = $V.navigation, i = pV(t.pathname) ? gV(t.state) : null, a = (i || t).pathname + (i || t).search, o = (0, D.useRef)({+function Rhe({ path: e }) {+ dU();+ let { location: t, seq: n, action: r } = QV.navigation, i = fV(t.pathname) ? hV(t.state) : null, a = (i || t).pathname + (i || t).search, o = (0, D.useRef)({identity: a,seq: i?.seq ?? n,navigationSeq: n,@@ -46385,162 +46385,162 @@ function Lhe({ path: e }) {seq: n,navigationSeq: n,settings: !1- }), /* @__PURE__ */ (0, O.jsx)(Ihe, {}, `${e} ${o.current.seq}`);+ }), /* @__PURE__ */ (0, O.jsx)(Lhe, {}, `${e} ${o.current.seq}`);}-function Rhe() {- let e = (0, D.useContext)(pU);- return uU(() => {+function zhe() {+ let e = (0, D.useContext)(fU);+ return lU(() => {e?.follow?.ground();}), null;}-function zhe() {- return /* @__PURE__ */ (0, O.jsx)(Rhe, {}, fU());+function Bhe() {+ return /* @__PURE__ */ (0, O.jsx)(zhe, {}, dU());}//#endregion//#region src/react/router/router.tsx-var dU = (0, D.createContext)(0), fU = () => (0, D.useContext)(dU), pU = (0, D.createContext)(null);-function Bhe({ children: e }) {- let [t, n] = (0, D.useState)(() => $V.navigation);- return (0, D.useLayoutEffect)(() => (n($V.navigation), $V.listen((e) => {+var uU = (0, D.createContext)(0), dU = () => (0, D.useContext)(uU), fU = (0, D.createContext)(null);+function Vhe({ children: e }) {+ let [t, n] = (0, D.useState)(() => QV.navigation);+ return (0, D.useLayoutEffect)(() => (n(QV.navigation), QV.listen((e) => {(0, Et.flushSync)(() => n(e));- })), []), /* @__PURE__ */ (0, O.jsx)(dU.Provider, {+ })), []), /* @__PURE__ */ (0, O.jsx)(uU.Provider, {value: t.openEpoch,- children: /* @__PURE__ */ (0, O.jsx)($pe, {+ children: /* @__PURE__ */ (0, O.jsx)(eme, {location: t.location,navigationType: t.action,- navigator: $V,+ navigator: QV,children: e})});}-function Vhe({ target: e }) {- let t = Rpe();+function Hhe({ target: e }) {+ let t = zpe();return (0, D.useLayoutEffect)(() => {e.current = t;}), null;}-function Hhe(e, t, n) {+function Uhe(e, t, n) {let r = new URL(e, window.location.href);- N6(r.pathname) ? n(`${r.pathname}${r.search}${r.hash}`) : t.navigate(e);+ M6(r.pathname) ? n(`${r.pathname}${r.search}${r.hash}`) : t.navigate(e);}-function Uhe() {- let e = (0, D.useContext)(pU), [t, n] = (0, D.useState)(BV), r = (0, D.useRef)(null);- (0, D.useLayoutEffect)(() => (n(BV()), pme((e, t) => {+function Whe() {+ let e = (0, D.useContext)(fU), [t, n] = (0, D.useState)(zV), r = (0, D.useRef)(null);+ (0, D.useLayoutEffect)(() => (n(zV()), mme((e, t) => {t ? (0, Et.flushSync)(() => n(e)) : n(e);})), []);let i = (0, D.useMemo)(() => (t) => {- e && r.current && Hhe(t, e, r.current);+ e && r.current && Uhe(t, e, r.current);}, [e]);- return /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)(Vhe, { target: r }), e ? t.map((t) => /* @__PURE__ */ (0, O.jsx)(Whe, {+ return /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)(Hhe, { target: r }), e ? t.map((t) => /* @__PURE__ */ (0, O.jsx)(Ghe, {entry: t,- children: /* @__PURE__ */ (0, O.jsx)(Ghe, {+ children: /* @__PURE__ */ (0, O.jsx)(Khe, {entry: t,actions: e,go: i})}, t.revision)) : null] });}-var Whe = class extends D.Component {+var Ghe = class extends D.Component {state = { failed: !1 };static getDerivedStateFromError() {return { failed: !0 };}componentDidCatch() {- gme(this.props.entry.container, this.props.entry.revision);+ _me(this.props.entry.container, this.props.entry.revision);}render() {return this.state.failed ? null : this.props.children;}-}, Ghe = (0, D.memo)(function({ entry: e, actions: t, go: n }) {- return q6(e.path) ? (0, Et.createPortal)(jAe(e.path, e.props, t, n), e.host, String(e.revision)) : null;+}, Khe = (0, D.memo)(function({ entry: e, actions: t, go: n }) {+ return K6(e.path) ? (0, Et.createPortal)(MAe(e.path, e.props, t, n), e.host, String(e.revision)) : null;});-function Khe({ children: e }) {- let t = VB();- fU();- let n = nH(), r = pV(t.pathname) && !tH() ? gV(t.state) : null;+function qhe({ children: e }) {+ let t = BB();+ dU();+ let n = tH(), r = fV(t.pathname) && !eH() ? hV(t.state) : null;return /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [- /* @__PURE__ */ (0, O.jsxs)(YB, {+ /* @__PURE__ */ (0, O.jsxs)(JB, {location: n ?? t,children: [- Object.entries(M6).map(([e, t]) => /* @__PURE__ */ (0, O.jsx)(JB, {+ Object.entries(j6).map(([e, t]) => /* @__PURE__ */ (0, O.jsx)(qB, {path: e,element: t.element}, e)),- Object.entries(DAe).map(([e, t]) => /* @__PURE__ */ (0, O.jsx)(JB, {+ Object.entries(OAe).map(([e, t]) => /* @__PURE__ */ (0, O.jsx)(qB, {path: e,element: t.element}, e)),- Object.entries(P6).map(([e, t]) => /* @__PURE__ */ (0, O.jsx)(JB, {+ Object.entries(N6).map(([e, t]) => /* @__PURE__ */ (0, O.jsx)(qB, {path: e,element: t.element}, e)),- Object.entries(L6).map(([e, t]) => /* @__PURE__ */ (0, O.jsx)(JB, {+ Object.entries(I6).map(([e, t]) => /* @__PURE__ */ (0, O.jsx)(qB, {path: e,element: t.element}, e)),- Object.entries(z6).map(([e, t]) => /* @__PURE__ */ (0, O.jsx)(JB, {+ Object.entries(R6).map(([e, t]) => /* @__PURE__ */ (0, O.jsx)(qB, {path: e,element: t.element}, e)),- K6.map((e) => /* @__PURE__ */ (0, O.jsx)(JB, {+ G6.map((e) => /* @__PURE__ */ (0, O.jsx)(qB, {path: e,- element: B6["/"].element+ element: z6["/"].element}, e)),- Object.entries(OAe).map(([e, t]) => /* @__PURE__ */ (0, O.jsx)(JB, {+ Object.entries(kAe).map(([e, t]) => /* @__PURE__ */ (0, O.jsx)(qB, {path: e,element: t.element}, e)),- _V.map((e) => /* @__PURE__ */ (0, O.jsx)(JB, {+ gV.map((e) => /* @__PURE__ */ (0, O.jsx)(qB, {path: e,- element: e === "/works/:code" ? null : e === "/posts/:id" ? /* @__PURE__ */ (0, O.jsx)(zhe, {}) : B6["/"].element+ element: e === "/works/:code" ? null : e === "/posts/:id" ? /* @__PURE__ */ (0, O.jsx)(Bhe, {}) : z6["/"].element}, e)),- fV.map((e) => /* @__PURE__ */ (0, O.jsx)(JB, {+ dV.map((e) => /* @__PURE__ */ (0, O.jsx)(qB, {path: e,element: null}, e)),- /* @__PURE__ */ (0, O.jsx)(JB, {+ /* @__PURE__ */ (0, O.jsx)(qB, {path: "*",element: e})]}),- /* @__PURE__ */ (0, O.jsxs)(YB, {+ /* @__PURE__ */ (0, O.jsxs)(JB, {location: r ?? t,- children: [_V.map((e) => /* @__PURE__ */ (0, O.jsx)(JB, {+ children: [gV.map((e) => /* @__PURE__ */ (0, O.jsx)(qB, {path: e,- element: /* @__PURE__ */ (0, O.jsx)(Lhe, { path: e })- }, e)), /* @__PURE__ */ (0, O.jsx)(JB, {+ element: /* @__PURE__ */ (0, O.jsx)(Rhe, { path: e })+ }, e)), /* @__PURE__ */ (0, O.jsx)(qB, {path: "*",element: null})]}),- /* @__PURE__ */ (0, O.jsxs)(YB, { children: [fV.map((e) => /* @__PURE__ */ (0, O.jsx)(JB, {+ /* @__PURE__ */ (0, O.jsxs)(JB, { children: [dV.map((e) => /* @__PURE__ */ (0, O.jsx)(qB, {path: e,- element: /* @__PURE__ */ (0, O.jsx)(Nhe, {})- }, e)), /* @__PURE__ */ (0, O.jsx)(JB, {+ element: /* @__PURE__ */ (0, O.jsx)(Phe, {})+ }, e)), /* @__PURE__ */ (0, O.jsx)(qB, {path: "*",element: null})] })] });}-function qhe({ children: e, actions: t = null, background: n, processing: r = !1 }) {- return /* @__PURE__ */ (0, O.jsxs)(iH, { children: [n, /* @__PURE__ */ (0, O.jsx)(pU.Provider, {+function Jhe({ children: e, actions: t = null, background: n, processing: r = !1 }) {+ return /* @__PURE__ */ (0, O.jsxs)(rH, { children: [n, /* @__PURE__ */ (0, O.jsx)(fU.Provider, {value: t,- children: /* @__PURE__ */ (0, O.jsxs)(Bhe, { children: [- /* @__PURE__ */ (0, O.jsx)(Uhe, {}),- /* @__PURE__ */ (0, O.jsx)(Fhe, {}),- r && t ? /* @__PURE__ */ (0, O.jsx)(Ohe, { toast: t.toast }) : null,- r && t ? /* @__PURE__ */ (0, O.jsx)(Mhe, {}) : null,- /* @__PURE__ */ (0, O.jsx)(Khe, { children: e })+ children: /* @__PURE__ */ (0, O.jsxs)(Vhe, { children: [+ /* @__PURE__ */ (0, O.jsx)(Whe, {}),+ /* @__PURE__ */ (0, O.jsx)(Ihe, {}),+ r && t ? /* @__PURE__ */ (0, O.jsx)(khe, { toast: t.toast }) : null,+ r && t ? /* @__PURE__ */ (0, O.jsx)(Nhe, {}) : null,+ /* @__PURE__ */ (0, O.jsx)(qhe, { children: e })] })})] });}-var Jhe = { onCaughtError: (e) => {+var Yhe = { onCaughtError: (e) => {globalThis.reportError?.(e);} };//#endregion//#region src/react/boardui/utils/use-dismiss-on-outside-press.ts-function Yhe(e, t, n) {+function Xhe(e, t, n) {(0, D.useEffect)(() => {if (!e) return;let r = (e) => {@@ -46554,7 +46554,7 @@ function Yhe(e, t, n) {n]);}-function Xhe(e, t) {+function Zhe(e, t) {let n = (0, D.useRef)(!1);return (0, D.useEffect)(() => {if (!e) return;@@ -46568,33 +46568,33 @@ function Xhe(e, t) {}//#endregion//#region src/react/boardui/components/base/select/select.tsx-var mU = (0, D.createContext)("md");-function hU({ className: e, triggerClassName: t, popoverClassName: n, size: r = "md", children: i, items: a, renderValue: o, ref: s, ...c }) {+var pU = (0, D.createContext)("md");+function mU({ className: e, triggerClassName: t, popoverClassName: n, size: r = "md", children: i, items: a, renderValue: o, ref: s, ...c }) {let l = (0, D.useRef)(null), u = (0, D.useRef)(null), [d, f] = (0, D.useState)(!1);- Yhe(d, () => f(!1), [l, u]);- let p = Xhe(d, l);- return /* @__PURE__ */ (0, O.jsx)(Bue, {+ Xhe(d, () => f(!1), [l, u]);+ let p = Zhe(d, l);+ return /* @__PURE__ */ (0, O.jsx)(Vue, {ref: s,...c,isOpen: d,onOpenChange: (e) => p(e) && f(e),- className: AF("group flex flex-col", e),- children: ({ isOpen: e }) => /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsxs)(PI, {+ className: kF("group flex flex-col", e),+ children: ({ isOpen: e }) => /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsxs)(NI, {ref: l,- className: AF("flex w-full cursor-pointer items-center justify-between rounded-2lg", "border border-border-button-default bg-background-primary-default shadow-xs", "text-text-primary", "transition-[background-color,border-color,box-shadow,padding,font-size] duration-200 ease", "hover:bg-background-primary-hover hover:border-border-button-hover", "outline-none focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:ring-border-focus-ring", "disabled:cursor-not-allowed disabled:bg-background-primary-disabled disabled:text-text-tertiary disabled:shadow-none", r === "sm" ? "gap-1 px-[7px] py-1 text-body-2-medium" : "gap-1.5 px-2.5 py-2 text-body-medium", t),- children: [/* @__PURE__ */ (0, O.jsx)(Uue, {- className: AF("flex min-w-0 items-center truncate", r === "sm" ? "gap-1" : "gap-[5px]"),+ className: kF("flex w-full cursor-pointer items-center justify-between rounded-2lg", "border border-border-button-default bg-background-primary-default shadow-xs", "text-text-primary", "transition-[background-color,border-color,box-shadow,padding,font-size] duration-200 ease", "hover:bg-background-primary-hover hover:border-border-button-hover", "outline-none focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:ring-border-focus-ring", "disabled:cursor-not-allowed disabled:bg-background-primary-disabled disabled:text-text-tertiary disabled:shadow-none", r === "sm" ? "gap-1 px-[7px] py-1 text-body-2-medium" : "gap-1.5 px-2.5 py-2 text-body-medium", t),+ children: [/* @__PURE__ */ (0, O.jsx)(Wue, {+ className: kF("flex min-w-0 items-center truncate", r === "sm" ? "gap-1" : "gap-[5px]"),children: o- }), /* @__PURE__ */ (0, O.jsx)(tme, { className: AF("shrink-0 text-text-secondary transition-transform duration-200 ease", r === "sm" ? "size-3.5" : "size-4", e && "rotate-180") })]- }), /* @__PURE__ */ (0, O.jsx)(sR, {+ }), /* @__PURE__ */ (0, O.jsx)(nme, { className: kF("shrink-0 text-text-secondary transition-transform duration-200 ease", r === "sm" ? "size-3.5" : "size-4", e && "rotate-180") })]+ }), /* @__PURE__ */ (0, O.jsx)(oR, {ref: u,isNonModal: !0,offset: 4,- className: AF(ime, eV, "p-2", n),- children: /* @__PURE__ */ (0, O.jsx)(cue, {+ className: kF(ame, $B, "p-2", n),+ children: /* @__PURE__ */ (0, O.jsx)(lue, {items: a,- className: AF(ame, "max-h-[240px] overflow-auto"),- children: /* @__PURE__ */ (0, O.jsx)(mU.Provider, {+ className: kF(ome, "max-h-[240px] overflow-auto"),+ children: /* @__PURE__ */ (0, O.jsx)(pU.Provider, {value: r,children: i})@@ -46602,24 +46602,24 @@ function hU({ className: e, triggerClassName: t, popoverClassName: n, size: r =})] })});}-function gU({ className: e, children: t, ...n }) {- let r = (0, D.useContext)(mU);- return /* @__PURE__ */ (0, O.jsx)(due, {+function hU({ className: e, children: t, ...n }) {+ let r = (0, D.useContext)(pU);+ return /* @__PURE__ */ (0, O.jsx)(fue, {...n,- className: (t) => AF(tV, r === "sm" ? "px-2 py-1.5 text-body-2-medium" : "text-body-medium", (t.isFocused || t.isSelected) && "bg-dropdown-item-hover-background", t.isDisabled && "cursor-not-allowed text-text-disabled", typeof e == "function" ? e(t) : e),+ className: (t) => kF(eV, r === "sm" ? "px-2 py-1.5 text-body-2-medium" : "text-body-medium", (t.isFocused || t.isSelected) && "bg-dropdown-item-hover-background", t.isDisabled && "cursor-not-allowed text-text-disabled", typeof e == "function" ? e(t) : e),children: t});}//#endregion//#region src/react/catalog-folders/catalog-folders.ts-var _U = {+var gU = {category: "个人分类",creator: "创作者/账号",performer: "人物",seller: "卖家",studio: "厂牌"};-function vU(e, t = "", n = "") {+function _U(e, t = "", n = "") {let r = new URLSearchParams({...e,folder: t,@@ -46631,15 +46631,15 @@ function vU(e, t = "", n = "") {queryFn: ({ signal: e }) => B(`/api/folders?${r}`, e)};}-function yU(e, t) {+function vU(e, t) {let n = new URLSearchParams(e.search);for (let [e, r] of Object.entries(t)) r ? n.set(e, r) : n.delete(e);return e.pathname + (n.size ? `?${n}` : "");}//#endregion//#region src/react/catalog-folders/folder-rule-dialog.tsx-function Zhe({ folder: e, rule: t, revision: n, close: r }) {- let i = (0, D.useContext)(pU), a = PH(), [o, s] = (0, D.useState)(t?.purpose || "category"), [c, l] = (0, D.useState)(t?.name || ""), [u, d] = (0, D.useState)(t?.recursive ?? !0), [f, p] = (0, D.useState)(t?.future ?? !1), [m, h] = (0, D.useState)(null), [g, _] = (0, D.useState)(!1), v = {+function Qhe({ folder: e, rule: t, revision: n, close: r }) {+ let i = (0, D.useContext)(fU), a = NH(), [o, s] = (0, D.useState)(t?.purpose || "category"), [c, l] = (0, D.useState)(t?.name || ""), [u, d] = (0, D.useState)(t?.recursive ?? !0), [f, p] = (0, D.useState)(t?.future ?? !1), [m, h] = (0, D.useState)(null), [g, _] = (0, D.useState)(!1), v = {folder: e.id,purpose: o,name: c,@@ -46668,7 +46668,7 @@ function Zhe({ folder: e, rule: t, revision: n, close: r }) {})})).confirmed ? b("已移除目录规则") : _(!1);}, w = !!a.busy, T = (e, t) => a.busy === e ? /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)("span", { dangerouslySetInnerHTML: { __html: rs(t) } }), t] }) : null;- return g ? null : /* @__PURE__ */ (0, O.jsx)(Lz, {+ return g ? null : /* @__PURE__ */ (0, O.jsx)(Iz, {isOpen: !0,onOpenChange: (e) => {!e && !w && r();@@ -46682,7 +46682,7 @@ function Zhe({ folder: e, rule: t, revision: n, close: r }) {className: "flex items-start justify-between gap-4 border-b border-separator-border p-5",children: [/* @__PURE__ */ (0, O.jsxs)("div", {className: "min-w-0",- children: [/* @__PURE__ */ (0, O.jsx)(II, {+ children: [/* @__PURE__ */ (0, O.jsx)(FI, {slot: "title",className: "text-title-2-medium",children: "设置目录用途"@@ -46690,7 +46690,7 @@ function Zhe({ folder: e, rule: t, revision: n, close: r }) {className: "mt-1 text-body-2-regular text-text-secondary wrap-anywhere",children: e.path})]- }), /* @__PURE__ */ (0, O.jsx)(Uz, {+ }), /* @__PURE__ */ (0, O.jsx)(Hz, {label: "关闭目录用途",onPress: () => {w || r();@@ -46702,20 +46702,20 @@ function Zhe({ folder: e, rule: t, revision: n, close: r }) {children: [/* @__PURE__ */ (0, O.jsxs)("div", {className: "flex flex-col gap-1",- children: [/* @__PURE__ */ (0, O.jsx)(Az, { children: "这个文件夹用于" }), /* @__PURE__ */ (0, O.jsx)(hU, {+ children: [/* @__PURE__ */ (0, O.jsx)(kz, { children: "这个文件夹用于" }), /* @__PURE__ */ (0, O.jsx)(mU, {"aria-label": "这个文件夹用于",selectedKey: o,isDisabled: w,onSelectionChange: (e) => {s(e), y();},- children: Object.entries(_U).map(([e, t]) => /* @__PURE__ */ (0, O.jsx)(gU, {+ children: Object.entries(gU).map(([e, t]) => /* @__PURE__ */ (0, O.jsx)(hU, {id: e,children: t}, e))})]}),- o === "category" ? null : /* @__PURE__ */ (0, O.jsx)(Iz, {+ o === "category" ? null : /* @__PURE__ */ (0, O.jsx)(Fz, {label: "关联名称",value: c,onChange: (e) => {@@ -46726,7 +46726,7 @@ function Zhe({ folder: e, rule: t, revision: n, close: r }) {isDisabled: w,isRequired: !0}),- /* @__PURE__ */ (0, O.jsx)(sV, {+ /* @__PURE__ */ (0, O.jsx)(oV, {isSelected: u,isDisabled: w,onChange: (e) => {@@ -46734,7 +46734,7 @@ function Zhe({ folder: e, rule: t, revision: n, close: r }) {},children: "应用到子文件夹"}),- /* @__PURE__ */ (0, O.jsx)(sV, {+ /* @__PURE__ */ (0, O.jsx)(oV, {isSelected: f,isDisabled: w,onChange: (e) => {@@ -46771,9 +46771,9 @@ function Zhe({ folder: e, rule: t, revision: n, close: r }) {children: e.name}, e.id))}) : null,- m.conflicts.length ? /* @__PURE__ */ (0, O.jsx)(zz, {+ m.conflicts.length ? /* @__PURE__ */ (0, O.jsx)(Rz, {tone: "warning",- extra: /* @__PURE__ */ (0, O.jsx)(XH, {+ extra: /* @__PURE__ */ (0, O.jsx)(YH, {summary: "查看归属冲突",children: /* @__PURE__ */ (0, O.jsx)("ul", {className: "mt-2 flex flex-col gap-2",@@ -46791,7 +46791,7 @@ function Zhe({ folder: e, rule: t, revision: n, close: r }) {}) : null]}) : null,- a.error ? /* @__PURE__ */ (0, O.jsx)(zz, {+ a.error ? /* @__PURE__ */ (0, O.jsx)(Rz, {tone: "error",children: a.error}) : null@@ -46806,7 +46806,7 @@ function Zhe({ folder: e, rule: t, revision: n, close: r }) {onClick: () => {w || C();},- ...Wz(a.busy === "remove"),+ ...Uz(a.busy === "remove"),children: "移除规则"}) : null,/* @__PURE__ */ (0, O.jsx)(q, {@@ -46818,13 +46818,13 @@ function Zhe({ folder: e, rule: t, revision: n, close: r }) {}),m ? /* @__PURE__ */ (0, O.jsx)(q, {variant: "primary",- ...Wz(a.busy === "save"),+ ...Uz(a.busy === "save"),onClick: S,children: T("save", "正在保存") || "保存目录用途"}) : /* @__PURE__ */ (0, O.jsx)(q, {variant: "primary",disabled: o !== "category" && !c.trim(),- ...Wz(a.busy === "preview"),+ ...Uz(a.busy === "preview"),onClick: () => {x();},@@ -46838,7 +46838,7 @@ function Zhe({ folder: e, rule: t, revision: n, close: r }) {}//#endregion//#region src/react/catalog-folders/use-folder-sticky-offset.ts-function Qhe(e, t) {+function $he(e, t) {(0, D.useLayoutEffect)(() => {if (!e) return;let n = t ? document.getElementById("index") : document.getElementById("catalogFilter"), r = null, i = 0, a = new ResizeObserver(() => s()), o = () => {@@ -46862,35 +46862,35 @@ function Qhe(e, t) {}//#endregion//#region src/react/catalog-folders/catalog-folders-page.tsx-function bU() {- return BB() ? /* @__PURE__ */ (0, O.jsx)($he, {}) : null;+function yU() {+ return zB() ? /* @__PURE__ */ (0, O.jsx)(ege, {}) : null;}-function $he() {- let e = VB(), t = (0, D.useContext)(pU);+function ege() {+ let e = BB(), t = (0, D.useContext)(fU);if (!Qt(e.pathname) && !/^\/(performers|creators|studios|series|agencies|tags)\/[^/]+$/.test(e.pathname)) return null;let n = new URLSearchParams(e.search), r = n.get("browse") === "folders" || !!n.get("folder");- return /* @__PURE__ */ (0, O.jsx)(nI, {+ return /* @__PURE__ */ (0, O.jsx)(tI, {size: "small","data-folder-mode-toggle": "","aria-label": "文件夹模式",title: "文件夹模式","aria-pressed": r,- icon: vz,- onClick: () => t?.navigate(yU(e, r ? {+ icon: _z,+ onClick: () => t?.navigate(vU(e, r ? {browse: null,folder: null,folder_recursive: null} : { browse: "folders" }))});}-function ege({ children: e, enabled: t }) {- return BB() ? /* @__PURE__ */ (0, O.jsx)(tge, {+function tge({ children: e, enabled: t }) {+ return zB() ? /* @__PURE__ */ (0, O.jsx)(nge, {enabled: t,children: e}) : /* @__PURE__ */ (0, O.jsx)(O.Fragment, { children: e });}-function tge({ children: e, enabled: t }) {- let [n, r] = (0, D.useState)(null), [i, a] = (0, D.useState)(null), o = VB(), s = new URLSearchParams(o.search), c = t && (s.get("browse") === "folders" || !!s.get("folder"));+function nge({ children: e, enabled: t }) {+ let [n, r] = (0, D.useState)(null), [i, a] = (0, D.useState)(null), o = BB(), s = new URLSearchParams(o.search), c = t && (s.get("browse") === "folders" || !!s.get("folder"));return /* @__PURE__ */ (0, O.jsxs)("div", {className: "entity-folder-workspace","data-folder-workspace": "",@@ -46909,7 +46909,7 @@ function tge({ children: e, enabled: t }) {hidden: !c}), e]}),- n && i ? /* @__PURE__ */ (0, O.jsx)(xU, {+ n && i ? /* @__PURE__ */ (0, O.jsx)(bU, {treeTarget: n,headerTarget: i,enabled: t@@ -46917,14 +46917,14 @@ function tge({ children: e, enabled: t }) {]});}-function xU({ treeTarget: e, headerTarget: t, enabled: n = !0 } = {}) {- let r = VB(), i = (0, D.useContext)(pU), a = new URLSearchParams(r.search), o = n && (a.get("browse") === "folders" || !!a.get("folder")), s = {+function bU({ treeTarget: e, headerTarget: t, enabled: n = !0 } = {}) {+ let r = BB(), i = (0, D.useContext)(fU), a = new URLSearchParams(r.search), o = n && (a.get("browse") === "folders" || !!a.get("folder")), s = {loc: a.get("loc") ?? "",library: a.get("library") ?? ""};- Qhe(o, e);+ $he(o, e);let c = a.get("folder") || "", l = Ct({- ...vU(s, c),+ ..._U(s, c),enabled: o}), [u, d] = (0, D.useState)(!1), [f, p] = (0, D.useState)(!1), m = e ?? document.getElementById("catalogFoldersTree"), h = t ?? document.getElementById("catalogFolderHeader");if ((0, D.useLayoutEffect)(() => (m && (m.hidden = !o), h && (h.hidden = !o), e || document.body.toggleAttribute("data-folder-browse", o), () => {@@ -46938,11 +46938,11 @@ function xU({ 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(yU(r, {+ d(!1), i.navigate(vU(r, {browse: "folders",folder: e}));- }, _ = l.data, v = /* @__PURE__ */ (0, O.jsx)(rge, {+ }, _ = l.data, v = /* @__PURE__ */ (0, O.jsx)(ige, {scope: s,selected: c,current: _,@@ -46959,21 +46959,21 @@ function xU({ treeTarget: e, headerTarget: t, enabled: n = !0 } = {}) {children: [/* @__PURE__ */ (0, O.jsx)("span", {className: "folder-drawer-trigger",- children: /* @__PURE__ */ (0, O.jsx)(nI, {+ children: /* @__PURE__ */ (0, O.jsx)(tI, {"aria-label": "打开文件夹目录",- icon: kfe,+ icon: Afe,size: "small",onClick: () => d(!0)})}),- /* @__PURE__ */ (0, O.jsxs)(rme, {+ /* @__PURE__ */ (0, O.jsxs)(ime, {"aria-label": "文件夹路径",- children: [/* @__PURE__ */ (0, O.jsx)(QB, {+ children: [/* @__PURE__ */ (0, O.jsx)(ZB, {current: !c,onClick: () => g(""),- icon: vz,+ icon: _z,children: "全部文件夹"- }), _?.ancestors.map((e, t) => /* @__PURE__ */ (0, O.jsx)(QB, {+ }), _?.ancestors.map((e, t) => /* @__PURE__ */ (0, O.jsx)(ZB, {current: t === _.ancestors.length - 1,onClick: () => g(e.id),children: /* @__PURE__ */ (0, O.jsx)("span", {@@ -46983,15 +46983,15 @@ function xU({ treeTarget: e, headerTarget: t, enabled: n = !0 } = {}) {})}, e.id))]}),- _?.selected ? /* @__PURE__ */ (0, O.jsx)(nI, {+ _?.selected ? /* @__PURE__ */ (0, O.jsx)(tI, {"aria-label": "设置目录用途",- icon: bfe,+ icon: xfe,size: "small",onClick: () => p(!0)}) : null]}),- l.error && !u ? /* @__PURE__ */ (0, O.jsx)(zz, {+ l.error && !u ? /* @__PURE__ */ (0, O.jsx)(Rz, {tone: "error",action: /* @__PURE__ */ (0, O.jsx)(q, {variant: "secondary",@@ -47003,7 +47003,7 @@ function xU({ treeTarget: e, headerTarget: t, enabled: n = !0 } = {}) {}),children: jn(l.error)}) : null,- _?.conflicts?.length ? /* @__PURE__ */ (0, O.jsxs)(zz, {+ _?.conflicts?.length ? /* @__PURE__ */ (0, O.jsxs)(Rz, {tone: "warning",action: /* @__PURE__ */ (0, O.jsx)(q, {variant: "secondary",@@ -47015,14 +47015,14 @@ function xU({ treeTarget: e, headerTarget: t, enabled: n = !0 } = {}) {}) : null,_?.selected ? /* @__PURE__ */ (0, O.jsxs)("div", {className: "folder-scope-row",- children: [/* @__PURE__ */ (0, O.jsx)(sV, {+ children: [/* @__PURE__ */ (0, O.jsx)(oV, {size: "sm",isSelected: a.get("folder_recursive") !== "0",- onChange: (e) => i.navigate(yU(r, { folder_recursive: e ? null : "0" })),+ onChange: (e) => i.navigate(vU(r, { folder_recursive: e ? null : "0" })),children: "包含子文件夹"}), /* @__PURE__ */ (0, O.jsx)("span", {className: "text-caption-1-regular text-text-tertiary",- children: _.rule ? `${_U[_.rule.purpose]}${_.rule.name ? ` · ${_.rule.name}` : ""}` : "个人分类"+ children: _.rule ? `${gU[_.rule.purpose]}${_.rule.name ? ` · ${_.rule.name}` : ""}` : "个人分类"})]}) : null,l.isPending ? /* @__PURE__ */ (0, O.jsx)("div", {@@ -47032,13 +47032,13 @@ function xU({ treeTarget: e, headerTarget: t, enabled: n = !0 } = {}) {className: "folder-children",children: Array.from({ length: 6 }, (e, t) => /* @__PURE__ */ (0, O.jsx)("span", { className: "skeleton-sheen h-8 w-28 rounded-lg" }, t))}) : null,- _?.children.length ? /* @__PURE__ */ (0, O.jsx)(nge, {+ _?.children.length ? /* @__PURE__ */ (0, O.jsx)(rge, {nodes: _.children,go: g}, c) : null]}), h),- /* @__PURE__ */ (0, O.jsxs)(Lz, {+ /* @__PURE__ */ (0, O.jsxs)(Iz, {isOpen: u,onOpenChange: d,width: "form",@@ -47048,7 +47048,7 @@ function xU({ treeTarget: e, headerTarget: t, enabled: n = !0 } = {}) {children: [/* @__PURE__ */ (0, O.jsx)("h2", {className: "text-title-2-medium",children: "文件夹"- }), /* @__PURE__ */ (0, O.jsx)(Uz, {+ }), /* @__PURE__ */ (0, O.jsx)(Hz, {label: "关闭文件夹目录",onPress: () => d(!1)})]@@ -47057,7 +47057,7 @@ function xU({ treeTarget: e, headerTarget: t, enabled: n = !0 } = {}) {children: u ? v : null})]}),- f && _?.selected ? /* @__PURE__ */ (0, O.jsx)(Zhe, {+ f && _?.selected ? /* @__PURE__ */ (0, O.jsx)(Qhe, {folder: _.selected,rule: _.rule,revision: _.rules_revision,@@ -47065,7 +47065,7 @@ function xU({ treeTarget: e, headerTarget: t, enabled: n = !0 } = {}) {}, _.selected.id) : null] });}-function nge({ nodes: e, go: t }) {+function rge({ nodes: e, go: t }) {let [n, r] = (0, D.useState)(!1), i = (0, D.useId)(), a = n ? e : e.slice(0, 12);return /* @__PURE__ */ (0, O.jsxs)("div", {className: "flex min-w-0 flex-col items-start gap-2",@@ -47076,7 +47076,7 @@ function nge({ nodes: e, go: t }) {children: a.map((e) => /* @__PURE__ */ (0, O.jsx)(q, {variant: "secondary",size: "small",- leadingIcon: vz,+ leadingIcon: _z,onClick: () => t(e.id),children: /* @__PURE__ */ (0, O.jsx)("span", {className: "truncate",@@ -47093,28 +47093,28 @@ function nge({ nodes: e, go: t }) {}) : null]});}-function rge({ scope: e, selected: t, current: n, go: r, reportedError: i }) {- let a = Ct(vU(e)), [o, s] = (0, D.useState)(/* @__PURE__ */ new Set()), [c, l] = (0, D.useState)(""), u = (0, D.useDeferredValue)(c), d = Ct({- ...vU(e, "", u),+function ige({ scope: e, selected: t, current: n, go: r, reportedError: i }) {+ let a = Ct(_U(e)), [o, s] = (0, D.useState)(/* @__PURE__ */ new Set()), [c, l] = (0, D.useState)(""), u = (0, D.useDeferredValue)(c), d = Ct({+ ..._U(e, "", u),enabled: !!u.trim()- }), f = cV();+ }), f = sV();(0, D.useEffect)(() => {n?.ancestors.length && s((e) => /* @__PURE__ */ new Set([...e, ...n.ancestors.filter((e) => e.has_children).map((e) => e.id)]));}, [n?.ancestors]);- let p = [...o].map(String), m = xt({ queries: p.map((t) => vU(e, t)) }), h = /* @__PURE__ */ new Map();+ let p = [...o].map(String), m = xt({ queries: p.map((t) => _U(e, t)) }), h = /* @__PURE__ */ new Map();m.forEach((e, t) => {e.data && h.set(p[t], e.data.children);}), n?.selected && h.set(n.selected.id, n.children);let g = (e) => {let t = h.get(e.id);- return /* @__PURE__ */ (0, O.jsx)(rV, {+ return /* @__PURE__ */ (0, O.jsx)(nV, {id: e.id,label: e.name,- icon: vz,- expandedIcon: yz,+ icon: _z,+ expandedIcon: vz,iconClassName: "size-(--icon-inline)",trailingContent: e.parent ? void 0 : e.location === "local" ? "本地" : e.location,- children: e.has_children ? t ? t.map(g) : /* @__PURE__ */ (0, O.jsx)(rV, {+ children: e.has_children ? t ? t.map(g) : /* @__PURE__ */ (0, O.jsx)(nV, {id: `${e.id}:loading`,label: "正在读取文件夹",isDisabled: !0@@ -47130,15 +47130,15 @@ function rge({ scope: e, selected: t, current: n, go: r, reportedError: i }) {"aria-label": "文件夹导航",className: "catalog-folder-navigation flex min-h-0 min-w-0 flex-col gap-3",children: [- /* @__PURE__ */ (0, O.jsx)(Iz, {+ /* @__PURE__ */ (0, O.jsx)(Fz, {"aria-label": "查找文件夹",placeholder: "查找文件夹",- leadingIcon: Dz,+ leadingIcon: Ez,value: c,onChange: l,size: "small"}),- v ? /* @__PURE__ */ (0, O.jsx)(zz, {+ v ? /* @__PURE__ */ (0, O.jsx)(Rz, {tone: "error",action: /* @__PURE__ */ (0, O.jsx)(q, {variant: "secondary",@@ -47173,20 +47173,20 @@ function rge({ scope: e, selected: t, current: n, go: r, reportedError: i }) {"aria-busy": "true",className: "h-8 skeleton-sheen","aria-label": "正在查找文件夹"- }) : d.error ? /* @__PURE__ */ (0, O.jsx)(zz, {+ }) : d.error ? /* @__PURE__ */ (0, O.jsx)(Rz, {tone: "error",children: jn(d.error)}) : d.data?.matches.length ? d.data.matches.map((e) => /* @__PURE__ */ (0, O.jsx)(q, {variant: "secondary",size: "small",- leadingIcon: vz,+ leadingIcon: _z,onClick: () => {l(""), r(e.id);},children: e.name- }, e.id)) : /* @__PURE__ */ (0, O.jsx)(Bz, {+ }, e.id)) : /* @__PURE__ */ (0, O.jsx)(zz, {size: "compact",- icon: Dz,+ icon: Ez,title: "没有匹配的文件夹",actions: /* @__PURE__ */ (0, O.jsx)(q, {size: "small",@@ -47195,7 +47195,7 @@ function rge({ scope: e, selected: t, current: n, go: r, reportedError: i }) {}),children: "换个目录名称试试。"})- }) : a.data?.roots.length ? /* @__PURE__ */ (0, O.jsx)(ome, {+ }) : a.data?.roots.length ? /* @__PURE__ */ (0, O.jsx)(sme, {"aria-label": "媒体目录",size: "sm",expandedKeys: o,@@ -47203,11 +47203,11 @@ function rge({ scope: e, selected: t, current: n, go: r, reportedError: i }) {selectedKeys: new Set(t ? [t] : []),onSelectionChange: _,children: a.data?.roots.map(g)- }) : /* @__PURE__ */ (0, O.jsx)(Bz, {+ }) : /* @__PURE__ */ (0, O.jsx)(zz, {size: "compact",- icon: vz,+ icon: _z,title: "尚未添加媒体目录",- actions: /* @__PURE__ */ (0, O.jsx)(mI, {+ actions: /* @__PURE__ */ (0, O.jsx)(pI, {size: "small",href: "/settings/library",children: "添加媒体"@@ -47221,54 +47221,54 @@ function rge({ scope: e, selected: t, current: n, go: r, reportedError: i }) {}//#endregion//#region src/react/components/segmented.tsx-function ige(e) {- let t = aI(EH("selection"));- return /* @__PURE__ */ (0, O.jsx)(cz, {+function age(e) {+ let t = iI(TH("selection"));+ return /* @__PURE__ */ (0, O.jsx)(sz, {...e,ref: t});}-function SU(e) {- let t = aI(EH("selection"));- return /* @__PURE__ */ (0, O.jsx)(DR, {+function xU(e) {+ let t = iI(TH("selection"));+ return /* @__PURE__ */ (0, O.jsx)(ER, {...e,ref: t});}-var CU = "inline-flex w-max max-w-full items-center gap-0.5 overflow-x-auto overscroll-x-contain rounded-2lg bg-background-tertiary-default p-1", wU = "flex min-h-7 flex-none cursor-pointer items-center gap-1.5 rounded-md px-2.5 py-1 max-sm:px-2 text-body-medium whitespace-nowrap text-text-secondary outline-none transition-colors hover:text-text-primary focus-visible:ring-2 focus-visible:ring-border-focus-ring data-focus-visible:ring-2 data-focus-visible:ring-border-focus-ring data-selected:bg-background-primary-default data-selected:text-text-primary data-selected:shadow-card dark:data-selected:bg-background-primary-hover", age = "flex size-7 flex-none cursor-pointer items-center justify-center rounded-md text-text-secondary outline-none transition-colors hover:text-text-primary focus-visible:ring-2 focus-visible:ring-border-focus-ring data-focus-visible:ring-2 data-focus-visible:ring-border-focus-ring data-selected:bg-background-primary-default data-selected:text-text-primary data-selected:shadow-card dark:data-selected:bg-background-primary-hover", TU = "inline-flex w-max max-w-full flex-none items-center gap-0.5 rounded-lg", EU = "relative flex size-8 flex-none cursor-pointer items-center justify-center rounded-lg text-(--glass-text)/62 outline-none transition-colors hover:text-(--glass-text) focus-visible:ring-2 focus-visible:ring-border-focus-ring data-selected:text-(--glass-text)";+var SU = "inline-flex w-max max-w-full items-center gap-0.5 overflow-x-auto overscroll-x-contain rounded-2lg bg-background-tertiary-default p-1", CU = "flex min-h-7 flex-none cursor-pointer items-center gap-1.5 rounded-md px-2.5 py-1 max-sm:px-2 text-body-medium whitespace-nowrap text-text-secondary outline-none transition-colors hover:text-text-primary focus-visible:ring-2 focus-visible:ring-border-focus-ring data-focus-visible:ring-2 data-focus-visible:ring-border-focus-ring data-selected:bg-background-primary-default data-selected:text-text-primary data-selected:shadow-card dark:data-selected:bg-background-primary-hover", oge = "flex size-7 flex-none cursor-pointer items-center justify-center rounded-md text-text-secondary outline-none transition-colors hover:text-text-primary focus-visible:ring-2 focus-visible:ring-border-focus-ring data-focus-visible:ring-2 data-focus-visible:ring-border-focus-ring data-selected:bg-background-primary-default data-selected:text-text-primary data-selected:shadow-card dark:data-selected:bg-background-primary-hover", wU = "inline-flex w-max max-w-full flex-none items-center gap-0.5 rounded-lg", TU = "relative flex size-8 flex-none cursor-pointer items-center justify-center rounded-lg text-(--glass-text)/62 outline-none transition-colors hover:text-(--glass-text) focus-visible:ring-2 focus-visible:ring-border-focus-ring data-selected:text-(--glass-text)";//#endregion//#region src/react/catalog-grid/catalog-view-toggle.tsx-function DU() {- let e = $j();- return /* @__PURE__ */ (0, O.jsxs)(DR, {+function EU() {+ let e = Qj();+ return /* @__PURE__ */ (0, O.jsxs)(ER, {"aria-label": "馆藏显示方式",orientation: "horizontal",value: e,- onChange: Lse,+ onChange: Rse,"data-entity-layout": "",- className: TU,- children: [/* @__PURE__ */ (0, O.jsx)(OR, {+ className: wU,+ children: [/* @__PURE__ */ (0, O.jsx)(DR, {value: "cards","aria-label": "卡片",- className: EU,+ className: TU,"data-glass-segment": "",children: /* @__PURE__ */ (0, O.jsx)("span", {title: "卡片",className: "pointer-events-none contents",- children: /* @__PURE__ */ (0, O.jsx)(Sz, {+ children: /* @__PURE__ */ (0, O.jsx)(xz, {"aria-hidden": "true",className: "size-4"})})- }), /* @__PURE__ */ (0, O.jsx)(OR, {+ }), /* @__PURE__ */ (0, O.jsx)(DR, {value: "list","aria-label": "列表",- className: EU,+ className: TU,"data-glass-segment": "",children: /* @__PURE__ */ (0, O.jsx)("span", {title: "列表",className: "pointer-events-none contents",- children: /* @__PURE__ */ (0, O.jsx)(Dfe, {+ children: /* @__PURE__ */ (0, O.jsx)(Ofe, {"aria-hidden": "true",className: "size-4"})@@ -47278,8 +47278,8 @@ function DU() {}//#endregion//#region src/react/components/icon-swap.tsx-function OU({ a: e, b: t, state: n, className: r }) {- let { isFocusVisible: i } = Hb();+function DU({ a: e, b: t, state: n, className: r }) {+ let { isFocusVisible: i } = Vb();return /* @__PURE__ */ (0, O.jsxs)("span", {"aria-hidden": !0,className: `iconswap ${r || ""}`,@@ -47295,115 +47295,115 @@ function OU({ a: e, b: t, state: n, className: r }) {})]});}-function kU({ className: e }) {- return /* @__PURE__ */ (0, O.jsx)(OU, {- a: $de,- b: Qde,+function OU({ className: e }) {+ return /* @__PURE__ */ (0, O.jsx)(DU, {+ a: efe,+ b: $de,className: e});}//#endregion//#region src/react/follow-feed/follow-marks.ts-var AU = (e) => typeof e == "string" ? e : "", jU = (e) => e.aliases;-function MU(e, t = "") {+var kU = (e) => typeof e == "string" ? e : "", AU = (e) => e.aliases;+function jU(e, t = "") {let n = gi(e);return n ? `<img data-follow-site-icon="" src="${n}" alt="${z(t)}"${t ? ` title="${z(t)}"` : ""} loading="lazy" data-drop="self">` : "";}-function NU(e, t = "") {+function MU(e, t = "") {let n = z(kr(t || e)), r = gi(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 PU = (e) => AU(e.title).trim() || "未命名内容", FU = (e, t) => Or(e, jU(t));-function IU(e) {+var NU = (e) => kU(e.title).trim() || "未命名内容", PU = (e, t) => Or(e, AU(t));+function FU(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 = AU(n.entity_name);+ let n = t[0], r = kU(n.entity_name);return Mt("creator", r, n.entity_id), r;}-function LU(e, t) {+function IU(e, t) {let { src: n, fallback: r } = Ar(e), i = kr(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 RU(e, t, n) {- let r = jU(n), i = e.credit, a = i?.poster;+function LU(e, t, n) {+ let r = AU(n), i = e.credit, a = i?.poster;if (!a) {let n = Or(t, r);return {- author: n || AU(e.author) || AU(e.source_label) || "创作者未取得",- avatar: LU(t, n),+ author: n || kU(e.author) || kU(e.source_label) || "创作者未取得",+ avatar: IU(t, n),credited: "",- entityName: IU(t)+ entityName: FU(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 && Or(c, r) || a;return {author: l,- avatar: LU(c, l),+ avatar: IU(c, l),credited: i.credited || "",- entityName: IU(c)+ entityName: FU(c)};}-function zU(e, t = e.primary) {+function RU(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 = AU(e.primary.version);+ let i = kU(e.primary.version);i && n.push(r("version", z(i)));- let a = AU(t.audio), o = a === "voiced" ? "配音版" : a === "silent" ? "无声版" : "";+ let a = kU(t.audio), o = a === "voiced" ? "配音版" : a === "silent" ? "无声版" : "";return o && n.push(r(a, o)), n.join("");}-function BU(e, t = e.primary) {+function zU(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]) => MU(e, t) || `<span>${z(t)}</span>`).join("");+ let r = [...n].map(([e, t]) => jU(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 VU(e, t) {- let n = AU(e.media_error);+function BU(e, t) {+ let n = kU(e.media_error);return n ? `媒体未取得:${n}` : e.media_needs_credential && !t.credentials.has(e.provider) ? e.playable ? "部分媒体未取得:需要 F95 登录会话解析" : "媒体未取得:需要 F95 登录会话解析" : "";}-var oge = 864e5, sge = (e, t) => {+var sge = 864e5, cge = (e, t) => {let n = new Date(/[Zz]|[+-]\d\d:?\d\d$/.test(e) ? e : `${e}Z`).getTime();- return Number.isFinite(n) && n - t > oge;+ return Number.isFinite(n) && n - t > sge;};-function HU(e, t) {- let n = AU(e.published_at);+function VU(e, t) {+ let n = kU(e.published_at);if (!n) return null;let r = e.published_precision === "approximate", i = Gn(n);return {prefix: r ? "约 " : "",full: r ? i.slice(0, 10) : i,- suffix: sge(n, t) ? " · 晚于现在" : ""+ suffix: cge(n, t) ? " · 晚于现在" : ""};}-function UU(e, t = Date.now()) {- let n = HU(e, t);+function HU(e, t = Date.now()) {+ let n = VU(e, t);return n ? `${n.prefix}${n.full}${n.suffix}` : "时间未取得";}-function cge(e, t = Date.now()) {- let n = HU(e, t);+function lge(e, t = Date.now()) {+ let n = VU(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 WU = /* @__PURE__ */ new Set(), GU = [], KU = null;-function qU() {- if (KU = null, !GU.length) return;- let e = GU.splice(0, 200);+var UU = /* @__PURE__ */ new Set(), WU = [], GU = null;+function KU() {+ if (GU = null, !WU.length) return;+ let e = WU.splice(0, 200);R("/api/follow/image-dims", {method: "POST",body: JSON.stringify({ entries: e })- }).catch(() => {}), GU.length && (KU = setTimeout(qU, 800));+ }).catch(() => {}), WU.length && (GU = setTimeout(KU, 800));}-function lge(e, t, n, r) {+function uge(e, t, n, r) {let i = `${e}:${t ?? ""}`;- WU.has(i) || (WU.add(i), GU.push(t === null ? {+ UU.has(i) || (UU.add(i), WU.push(t === null ? {item: e,width: n,height: r@@ -47412,26 +47412,26 @@ function lge(e, t, n, r) {width: n,height: r,media: t- }), KU ||= setTimeout(qU, 800));+ }), GU ||= setTimeout(KU, 800));}//#endregion//#region src/react/entity-filter/entity-filter.ts-var uge = (e) => e === "videos", JU = () => /* @__PURE__ */ (0, O.jsx)("span", {+var dge = (e) => e === "videos", qU = () => /* @__PURE__ */ (0, O.jsx)("span", {"data-entity-sep": "","aria-hidden": "true"-}), dge = Hz("shuffle"), fge = Hz("arrow-up"), pge = Hz("arrow-down");-function mge(e) {- let { view: t, views: n, state: r, states: i, tags: a, combo: o, actions: s, helpers: c } = e, l = uge(t), u = t === "online" ? e.online : null, d = l || !!u, f = u ? u.status : r, p = u ? u.statuses.map(([e, t]) => ({+}), fge = Vz("shuffle"), pge = Vz("arrow-up"), mge = Vz("arrow-down");+function hge(e) {+ let { view: t, views: n, state: r, states: i, tags: a, combo: o, actions: s, helpers: c } = e, l = dge(t), u = t === "online" ? e.online : null, d = l || !!u, f = u ? u.status : r, p = u ? u.statuses.map(([e, t]) => ({k: e,label: t- })) : i, m = (0, D.useRef)(null), h = (0, D.useRef)(null), g = (0, D.useRef)(null), _ = (0, D.useRef)(null), v = (0, D.useRef)(null), y = (0, D.useRef)(null), b = (0, D.useRef)(null), x = fI(m, g, "[data-entity-state][aria-pressed=\"true\"]", `${t}:${f}`), S = fI(h, _, "[data-media-view][aria-pressed=\"true\"]", `${t}:${!!n}`), C = (0, D.useRef)(null), w = (0, D.useRef)(null), T = u?.mediaCounts ? u : null, E = fI(C, w, "[data-media-view][aria-pressed=\"true\"]", `${t}:${u?.media}:${!!T}`);+ })) : i, m = (0, D.useRef)(null), h = (0, D.useRef)(null), g = (0, D.useRef)(null), _ = (0, D.useRef)(null), v = (0, D.useRef)(null), y = (0, D.useRef)(null), b = (0, D.useRef)(null), x = dI(m, g, "[data-entity-state][aria-pressed=\"true\"]", `${t}:${f}`), S = dI(h, _, "[data-media-view][aria-pressed=\"true\"]", `${t}:${!!n}`), C = (0, D.useRef)(null), w = (0, D.useRef)(null), T = u?.mediaCounts ? u : null, E = dI(C, w, "[data-media-view][aria-pressed=\"true\"]", `${t}:${u?.media}:${!!T}`);return (0, D.useEffect)(() => {c.wireDrag(y.current), c.wireScroller(v.current), c.wireDrag(b.current);- }, [c]), /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)(YU, {+ }, [c]), /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)(JU, {items: o,hidden: !l,actions: s- }), /* @__PURE__ */ (0, O.jsx)(sI, {+ }), /* @__PURE__ */ (0, O.jsx)(oI, {label: "筛选与排序",topLabel: "媒体与标签",attrs: {@@ -47460,19 +47460,19 @@ function mge(e) {})] }),top: !n && !d ? null : /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [- n ? /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)(vge, {+ n ? /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)(yge, {keys: n,view: t,row: _,glide: S,onView: s.setView- }), d ? /* @__PURE__ */ (0, O.jsx)(JU, {}) : null] }) : null,- T ? /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)(gge, {+ }), d ? /* @__PURE__ */ (0, O.jsx)(qU, {}) : null] }) : null,+ T ? /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)(_ge, {head: T,row: w,glide: E,onMedia: s.onlineMedia- }), /* @__PURE__ */ (0, O.jsx)(JU, {})] }) : null,+ }), /* @__PURE__ */ (0, O.jsx)(qU, {})] }) : null,/* @__PURE__ */ (0, O.jsxs)("div", {ref: v,"data-entity-scroll": "",@@ -47493,11 +47493,11 @@ function mge(e) {f !== e.k && (u ? s.onlineStatus(e.k) : s.setState(e.k));},children: e.label- }, e.k)), !u || u.providers.length || u.tags.length ? /* @__PURE__ */ (0, O.jsx)(JU, {}) : null]+ }, e.k)), !u || u.providers.length || u.tags.length ? /* @__PURE__ */ (0, O.jsx)(qU, {}) : null]}), /* @__PURE__ */ (0, O.jsx)("div", {ref: y,"data-entity-tags": "",- children: l ? a.map((e) => /* @__PURE__ */ (0, O.jsxs)(cI, {+ children: l ? a.map((e) => /* @__PURE__ */ (0, O.jsxs)(sI, {"data-entity-tag": e.k,"data-entity-press": "",pressed: e.selected,@@ -47506,17 +47506,17 @@ function mge(e) {"data-count-badge": e.k,children: e.n.toLocaleString()})]- }, e.k)) : u ? /* @__PURE__ */ (0, O.jsx)(_ge, {+ }, e.k)) : u ? /* @__PURE__ */ (0, O.jsx)(vge, {head: u,actions: s}) : null})]})] }),- bottom: /* @__PURE__ */ (0, O.jsx)(yge, { ...e })+ bottom: /* @__PURE__ */ (0, O.jsx)(bge, { ...e })})] });}-var hge = [[+var gge = [["videos","视频","play",@@ -47527,7 +47527,7 @@ var hge = [["pics","image"]];-function gge({ head: e, row: t, glide: n, onMedia: r }) {+function _ge({ head: e, row: t, glide: n, onMedia: r }) {return /* @__PURE__ */ (0, O.jsx)("div", {ref: t,role: "group",@@ -47535,7 +47535,7 @@ function gge({ head: e, row: t, glide: n, onMedia: r }) {"data-entity-media": "","data-online-media": "",onPointerLeave: n.leave,- children: hge.map(([t, i, a, o]) => {+ children: gge.map(([t, i, a, o]) => {let s = `${i} ${Math.max(0, e.mediaCounts?.[t] || 0).toLocaleString()}`;return /* @__PURE__ */ (0, O.jsx)("button", {type: "button",@@ -47553,7 +47553,7 @@ function gge({ head: e, row: t, glide: n, onMedia: r }) {})});}-function _ge({ head: e, actions: t }) {+function vge({ head: e, actions: t }) {return /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [e.providers.map(([n, r]) => /* @__PURE__ */ (0, O.jsx)("button", {type: "button",@@ -47563,10 +47563,10 @@ function _ge({ head: e, actions: t }) {title: r,"aria-label": `来源:${r}`,onClick: () => t.onlineProvider(n),- dangerouslySetInnerHTML: { __html: MU(n) }+ dangerouslySetInnerHTML: { __html: jU(n) }}, n)),- e.providers.length && e.tags.length ? /* @__PURE__ */ (0, O.jsx)(JU, {}) : null,- e.tags.map((e) => /* @__PURE__ */ (0, O.jsxs)(cI, {+ e.providers.length && e.tags.length ? /* @__PURE__ */ (0, O.jsx)(qU, {}) : null,+ e.tags.map((e) => /* @__PURE__ */ (0, O.jsxs)(sI, {"data-follow-tag": e.k,"data-entity-press": "","data-tag-cat": `r34-${e.cat}`,@@ -47579,7 +47579,7 @@ function _ge({ head: e, actions: t }) {}, e.k))] });}-function vge({ keys: e, view: t, row: n, glide: r, onView: i }) {+function yge({ keys: e, view: t, row: n, glide: r, onView: i }) {let a = [];return e.people && a.push({value: "people",@@ -47627,7 +47627,7 @@ function vge({ keys: e, view: t, row: n, glide: r, onView: i }) {})});}-function YU({ items: e, hidden: t, actions: n }) {+function JU({ items: e, hidden: t, actions: n }) {return /* @__PURE__ */ (0, O.jsx)("div", {"data-entity-combo": "",hidden: t,@@ -47647,7 +47647,7 @@ function YU({ items: e, hidden: t, actions: n }) {})] }) : null});}-function yge(e) {+function bge(e) {let { view: t, readout: n, busy: r, video: i, photo: a, actions: o, helpers: s } = e;return /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [t === "photos" && a?.back ? /* @__PURE__ */ (0, O.jsxs)("button", {@@ -47659,27 +47659,27 @@ function yge(e) {dangerouslySetInnerHTML: { __html: L("chevron-left") }}), /* @__PURE__ */ (0, O.jsx)("span", { children: "全部照片" })]}) : null,- /* @__PURE__ */ (0, O.jsx)(bge, {+ /* @__PURE__ */ (0, O.jsx)(xge, {text: n,busy: r}),- /* @__PURE__ */ (0, O.jsx)(rB, { currentHref: () => location.pathname + location.search }),- t === "videos" && i ? /* @__PURE__ */ (0, O.jsx)(QU, {+ /* @__PURE__ */ (0, O.jsx)(nB, { currentHref: () => location.pathname + location.search }),+ t === "videos" && i ? /* @__PURE__ */ (0, O.jsx)(ZU, {head: i,actions: o}) : null,- t === "photos" && a ? /* @__PURE__ */ (0, O.jsx)(tW, {+ t === "photos" && a ? /* @__PURE__ */ (0, O.jsx)(eW, {head: a,actions: o,helpers: s}) : null,- t === "online" && e.online ? /* @__PURE__ */ (0, O.jsx)(eW, {+ t === "online" && e.online ? /* @__PURE__ */ (0, O.jsx)($U, {head: e.online,actions: o}) : null] });}-function bge({ text: e, busy: t }) {+function xge({ text: e, busy: t }) {return /* @__PURE__ */ (0, O.jsx)("h3", {"data-entity-readout": "",children: t ? /* @__PURE__ */ (0, O.jsx)("span", {@@ -47689,22 +47689,22 @@ function bge({ text: e, busy: t }) {}) : e});}-function XU({ name: e, label: t, value: n, options: r, onChange: i }) {- return /* @__PURE__ */ (0, O.jsx)(DR, {+function YU({ name: e, label: t, value: n, options: r, onChange: i }) {+ return /* @__PURE__ */ (0, O.jsx)(ER, {name: e,"aria-label": t,orientation: "horizontal",value: n,onChange: i,"data-entity-layout": "",- className: TU,+ className: wU,children: r.map(([e, t, n]) => {- let r = Hz(n);- return /* @__PURE__ */ (0, O.jsx)(OR, {+ let r = Vz(n);+ return /* @__PURE__ */ (0, O.jsx)(DR, {value: e,"aria-label": t,"data-glass-segment": "",- className: EU,+ className: TU,children: /* @__PURE__ */ (0, O.jsx)("span", {title: t,className: "contents",@@ -47714,38 +47714,38 @@ function XU({ name: e, label: t, value: n, options: r, onChange: i }) {})});}-function ZU({ onPress: e, busy: t = !1 }) {- return /* @__PURE__ */ (0, O.jsx)(oI, {+function XU({ onPress: e, busy: t = !1 }) {+ return /* @__PURE__ */ (0, O.jsx)(aI, {"data-entity-batch": "",label: "换一批",busy: t,busyStyle: "strand",- icon: dge,+ icon: fge,onPress: e});}-function QU({ head: e, actions: t }) {- let n = $j();+function ZU({ head: e, actions: t }) {+ let n = Qj();return /* @__PURE__ */ (0, O.jsxs)("span", {"data-entity-sorts": "",children: [- /* @__PURE__ */ (0, O.jsx)(ZU, { onPress: () => void t.reshuffle() }),- e.jav && n === "cards" ? /* @__PURE__ */ (0, O.jsx)(XU, {+ /* @__PURE__ */ (0, O.jsx)(XU, { onPress: () => void t.reshuffle() }),+ e.jav && n === "cards" ? /* @__PURE__ */ (0, O.jsx)(YU, {label: "JAV 卡片版式",value: e.jav.layout,options: e.jav.options,onChange: t.setJavLayout}) : null,- /* @__PURE__ */ (0, O.jsx)(DU, {}),- /* @__PURE__ */ (0, O.jsx)(bU, {}),- /* @__PURE__ */ (0, O.jsx)($U, {+ /* @__PURE__ */ (0, O.jsx)(EU, {}),+ /* @__PURE__ */ (0, O.jsx)(yU, {}),+ /* @__PURE__ */ (0, O.jsx)(QU, {sorts: e.sorts,onSort: t.setSort})]});}-function $U({ sorts: e, onSort: t }) {+function QU({ sorts: e, onSort: t }) {return /* @__PURE__ */ (0, O.jsx)(O.Fragment, { children: e.map((e) => /* @__PURE__ */ (0, O.jsxs)("button", {type: "button","data-entity-sort": e.key,@@ -47753,20 +47753,20 @@ function $U({ sorts: e, onSort: t }) {"aria-pressed": e.pressed,"aria-label": e.ariaLabel || void 0,onClick: () => t(e.key),- children: [e.label, e.pressed && e.dir ? /* @__PURE__ */ (0, O.jsx)(OU, {- a: fge,- b: pge,+ children: [e.label, e.pressed && e.dir ? /* @__PURE__ */ (0, O.jsx)(DU, {+ a: pge,+ b: mge,state: e.dir === "asc" ? "a" : "b",className: "size-(--icon-inline)"}) : null]}, e.key)) });}-function eW({ head: e, actions: t }) {+function $U({ head: e, actions: t }) {return /* @__PURE__ */ (0, O.jsxs)("span", {"data-entity-sorts": "",children: [- /* @__PURE__ */ (0, O.jsx)(ZU, { onPress: t.onlineShuffle }),- e.media === "images" ? /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)(XU, {+ /* @__PURE__ */ (0, O.jsx)(XU, { onPress: t.onlineShuffle }),+ e.media === "images" ? /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)(YU, {label: "图片布局",value: e.photoLayout,options: e.photoLayouts,@@ -47786,27 +47786,27 @@ function eW({ head: e, actions: t }) {dangerouslySetInnerHTML: { __html: L("captions-off") }})]})] }) : null,- /* @__PURE__ */ (0, O.jsx)($U, {+ /* @__PURE__ */ (0, O.jsx)(QU, {sorts: e.sorts,onSort: t.onlineSort})]});}-function tW({ head: e, actions: t, helpers: n }) {+function eW({ head: e, actions: t, helpers: n }) {let [r, i] = (0, D.useState)(!1), a = (0, D.useRef)(null), o = e.back ? n.sourceToolsHtml(e.setId) : "";return (0, D.useEffect)(() => {a.current && o && n.wireSourceTools(a.current);}, [n, o]), /* @__PURE__ */ (0, O.jsxs)("span", {"data-entity-sorts": "",children: [- e.shuffle ? /* @__PURE__ */ (0, O.jsx)(ZU, {+ e.shuffle ? /* @__PURE__ */ (0, O.jsx)(XU, {onPress: () => {i(!0), t.reshuffle().finally(() => i(!1));},busy: r}) : null,- /* @__PURE__ */ (0, O.jsx)(XU, {+ /* @__PURE__ */ (0, O.jsx)(YU, {label: "图片布局",value: e.layout,options: e.layouts,@@ -47822,8 +47822,8 @@ function tW({ head: e, actions: t, helpers: n }) {}//#endregion//#region src/react/catalog-filter/catalog-filter.ts-var nW = "peach.catalog.tiers.v1";-function rW() {+var tW = "peach.catalog.tiers.v1";+function nW() {try {let e = JSON.parse(localStorage.getItem("peach.catalog.tiers.v1") || "{}");return {@@ -47837,42 +47837,42 @@ function rW() {};}}-function iW(e) {+function rW(e) {try {let t = JSON.stringify({performers: e.performers,studios: e.studios});- localStorage.getItem("peach.catalog.tiers.v1") !== t && localStorage.setItem(nW, t);+ localStorage.getItem("peach.catalog.tiers.v1") !== t && localStorage.setItem(tW, t);} catch {}}//#endregion//#region src/react/catalog-filter/catalog-filter-page.tsx-var aW = "";-function oW(e) {- let t = !e.tiers, n = mW(e.comboHost);+var iW = "";+function aW(e) {+ let t = !e.tiers, n = pW(e.comboHost);return /* @__PURE__ */ (0, O.jsxs)("div", {"data-catalog-root": "","data-loading": t || void 0,"data-refreshing": e.refreshing || void 0,className: "contents",children: [- n ? (0, Et.createPortal)(/* @__PURE__ */ (0, O.jsx)(YU, {+ n ? (0, Et.createPortal)(/* @__PURE__ */ (0, O.jsx)(JU, {items: e.combo,hidden: e.comboHidden,actions: e.actions}), n) : null,- /* @__PURE__ */ (0, O.jsx)(lW, { ...e }),- e.offscreen ? null : /* @__PURE__ */ (0, O.jsx)(sW, { ...e })+ /* @__PURE__ */ (0, O.jsx)(cW, { ...e }),+ e.offscreen ? null : /* @__PURE__ */ (0, O.jsx)(oW, { ...e })]});}-function sW(e) {- let { actions: t, helpers: n } = e, r = (0, D.useRef)(null), i = (0, D.useRef)(null), a = (0, D.useRef)(null), o = (0, D.useRef)(null), s = (0, D.useRef)(null), [c, l] = (0, D.useState)(!1), u = fI(r, i, "[data-catalog-view][aria-pressed=\"true\"]", e.state);+function oW(e) {+ let { actions: t, helpers: n } = e, r = (0, D.useRef)(null), i = (0, D.useRef)(null), a = (0, D.useRef)(null), o = (0, D.useRef)(null), s = (0, D.useRef)(null), [c, l] = (0, D.useState)(!1), u = dI(r, i, "[data-catalog-view][aria-pressed=\"true\"]", e.state);(0, D.useEffect)(() => {n.wireDrag(o.current), n.wireScroller(a.current), n.wireDrag(s.current);}, [n]);- let d = !e.tiers, f = hW(o, e.tags, e.tiers?.key ?? "", e.tagFirst);+ let d = !e.tiers, f = mW(o, e.tags, e.tiers?.key ?? "", e.tagFirst);return (0, D.useLayoutEffect)(() => {let e = a.current?.closest("[data-catalog-frame]");if (!e) return;@@ -47889,7 +47889,7 @@ function sW(e) {e.sorts]), (0, D.useLayoutEffect)(() => {hs(o.current, "tagbar");- }, [f]), /* @__PURE__ */ (0, O.jsx)(sI, {+ }, [f]), /* @__PURE__ */ (0, O.jsx)(oI, {label: "筛选与排序",topLabel: "视图与标签",attrs: {@@ -47933,17 +47933,17 @@ function sW(e) {}), /* @__PURE__ */ (0, O.jsxs)("div", {ref: o,"data-catalog-tags": "",- children: [e.empty || d ? /* @__PURE__ */ (0, O.jsx)(dW, { kind: "tag" }) : null, f.map((e) => /* @__PURE__ */ (0, O.jsx)(cW, {+ children: [e.empty || d ? /* @__PURE__ */ (0, O.jsx)(uW, { kind: "tag" }) : null, f.map((e) => /* @__PURE__ */ (0, O.jsx)(sW, {tag: e,onPress: t.toggleTag}, e.k))]})]}),- bottom: e.trash ? null : /* @__PURE__ */ (0, O.jsx)(fW, { ...e })+ bottom: e.trash ? null : /* @__PURE__ */ (0, O.jsx)(dW, { ...e })});}-function cW({ tag: e, onPress: t }) {- return /* @__PURE__ */ (0, O.jsxs)(cI, {+function sW({ tag: e, onPress: t }) {+ return /* @__PURE__ */ (0, O.jsxs)(sI, {"data-catalog-tag": e.k,"data-entity-press": "",pressed: e.selected,@@ -47954,14 +47954,14 @@ function cW({ tag: e, onPress: t }) {})]});}-function lW(e) {+function cW(e) {let { actions: t, helpers: n } = e, r = e.tiers ?? {key: "",performers: [],studios: []- }, i = !e.tiers, a = e.empty || i, o = (0, D.useRef)(null), s = (0, D.useRef)(null), c = (0, D.useCallback)((e) => () => t.moreTops(e), [t]), l = hW(o, r.performers, r.key, 24, a ? void 0 : c("performers")), u = hW(s, r.studios, r.key, 24, a ? void 0 : c("studios")), d = (0, D.useMemo)(() => i ? rW() : 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, D.useRef)(null), s = (0, D.useRef)(null), c = (0, D.useCallback)((e) => () => t.moreTops(e), [t]), l = mW(o, r.performers, r.key, 24, a ? void 0 : c("performers")), u = mW(s, r.studios, r.key, 24, a ? void 0 : c("studios")), d = (0, D.useMemo)(() => i ? nW() : null, [i]), f = d ? d.performers : e.empty || r.performers.length > 0, p = d ? d.studios : e.empty || r.studios.length > 0;return (0, D.useEffect)(() => {- i || iW({+ i || rW({performers: f,studios: p});@@ -47978,11 +47978,11 @@ function lW(e) {]), /* @__PURE__ */ (0, O.jsxs)("div", {"data-catalog-tiers": "",hidden: !f && !p,- "aria-busy": i || void 0,+ "aria-busy": i && e.tiersPending && !e.offscreen || void 0,children: [f ? /* @__PURE__ */ (0, O.jsx)("div", {ref: o,"data-catalog-tier": "performers",- children: a ? /* @__PURE__ */ (0, O.jsx)(dW, { kind: "performer" }) : l.map((e) => /* @__PURE__ */ (0, O.jsxs)("button", {+ children: a ? /* @__PURE__ */ (0, O.jsx)(uW, { kind: "performer" }) : l.map((e) => /* @__PURE__ */ (0, O.jsxs)("button", {type: "button","data-tier-performer": "","data-entity-kind": "performer",@@ -47999,18 +47999,18 @@ function lW(e) {}) : null, p ? /* @__PURE__ */ (0, O.jsx)("div", {ref: s,"data-catalog-tier": "studios",- children: a ? /* @__PURE__ */ (0, O.jsx)(dW, { kind: "studio" }) : u.map((e) => /* @__PURE__ */ (0, O.jsxs)("button", {+ children: a ? /* @__PURE__ */ (0, O.jsx)(uW, { kind: "studio" }) : u.map((e) => /* @__PURE__ */ (0, O.jsxs)("button", {type: "button","data-tier-studio": "","data-entity-kind": "studio","data-entity-name": e.name,onClick: () => t.openEntity("studio", e.name),- children: [/* @__PURE__ */ (0, O.jsx)(uW, { studio: e }), e.name]+ children: [/* @__PURE__ */ (0, O.jsx)(lW, { studio: e }), e.name]}, e.name))}) : null]});}-function uW({ studio: e }) {+function lW({ studio: e }) {let [t, n] = (0, D.useState)(!1);return /* @__PURE__ */ (0, O.jsx)("span", {"data-tier-mark": "",@@ -48028,7 +48028,7 @@ function uW({ studio: e }) {}) : e.fallback});}-function dW({ kind: e }) {+function uW({ kind: e }) {let t = Array.from({ length: 64 }, (e, t) => t);return e === "tag" ? /* @__PURE__ */ (0, O.jsx)("span", {"data-catalog-placeholder": "tag",@@ -48044,37 +48044,37 @@ function dW({ kind: e }) {children: [/* @__PURE__ */ (0, O.jsx)("span", {}), /* @__PURE__ */ (0, O.jsx)("span", { children: "\xA0" })]}, t)) });}-function fW({ count: e, refreshing: t, layout: n, sorts: r, actions: i }) {- let a = $j(), [o, s] = (0, D.useState)(!1);+function dW({ count: e, refreshing: t, layout: n, sorts: r, actions: i }) {+ let a = Qj(), [o, s] = (0, D.useState)(!1);return /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsxs)("span", {"data-catalog-summary": "",- children: [/* @__PURE__ */ (0, O.jsx)(pW, { count: e }), /* @__PURE__ */ (0, O.jsx)(rB, { currentHref: i.currentHref })]+ children: [/* @__PURE__ */ (0, O.jsx)(fW, { count: e }), /* @__PURE__ */ (0, O.jsx)(nB, { currentHref: i.currentHref })]}), /* @__PURE__ */ (0, O.jsxs)("span", {"data-entity-sorts": "",children: [- /* @__PURE__ */ (0, O.jsx)(ZU, {+ /* @__PURE__ */ (0, O.jsx)(XU, {onPress: () => {s(!0), i.reshuffle().finally(() => s(!1));},busy: o || t}),- n && a === "cards" ? /* @__PURE__ */ (0, O.jsx)(XU, {+ n && a === "cards" ? /* @__PURE__ */ (0, O.jsx)(YU, {name: n.name,label: n.label,value: n.value,options: n.options,onChange: i.setLayout}, n.name) : null,- /* @__PURE__ */ (0, O.jsx)(DU, {}),- /* @__PURE__ */ (0, O.jsx)(bU, {}),- /* @__PURE__ */ (0, O.jsx)($U, {+ /* @__PURE__ */ (0, O.jsx)(EU, {}),+ /* @__PURE__ */ (0, O.jsx)(yU, {}),+ /* @__PURE__ */ (0, O.jsx)(QU, {sorts: r,onSort: i.setSort})]})] });}-function pW({ count: e }) {+function fW({ count: e }) {let t = (0, D.useRef)(null), n = (0, D.useRef)(null), r = e ? `${e.total.toLocaleString()} 个符合 · 显示 ${e.shown.toLocaleString()}` : "";return (0, D.useLayoutEffect)(() => {if (e === !1) return;@@ -48083,7 +48083,7 @@ function pW({ count: e }) {return;}let i = t.current;- i && (aW && i.dataset.popCount === void 0 && (i.dataset.popCount = aW), aW = r, fs(i, r));+ i && (iW && i.dataset.popCount === void 0 && (i.dataset.popCount = iW), iW = r, fs(i, r));}, [e, r]), e === !1 ? /* @__PURE__ */ (0, O.jsx)("span", { "data-catalog-readout": "" }, "failed") : e ? /* @__PURE__ */ (0, O.jsx)("span", {ref: t,"data-catalog-readout": "",@@ -48099,7 +48099,7 @@ function pW({ count: e }) {})}, "skeleton");}-function mW(e) {+function pW(e) {let [t, n] = (0, D.useState)(null);return (0, D.useLayoutEffect)(() => {if (!e) return;@@ -48109,7 +48109,7 @@ function mW(e) {};}, [e]), t;}-function hW(e, t, n, r, i) {+function mW(e, t, n, r, i) {let a = () => ({key: n,limit: r,@@ -48153,8 +48153,8 @@ function hW(e, t, n, r, i) {}//#endregion//#region src/react/components/grid-reveal.tsx-var gW = "100% 0px";-function _W(e, t) {+var hW = "100% 0px";+function gW(e, t) {let [n, r] = (0, D.useState)(e ? "skeleton" : "none"), [i] = (0, D.useState)(() => e ? t() : ""), a = (0, D.useRef)(null);return (0, D.useLayoutEffect)(() => {a.current && Es(a.current);@@ -48180,7 +48180,7 @@ function _W(e, t) {fading: n === "fade"};}-function vW({ message: e, onRetry: t }) {+function _W({ message: e, onRetry: t }) {return /* @__PURE__ */ (0, O.jsx)("div", {"data-media-error": "",onClick: (e) => {@@ -48194,7 +48194,7 @@ function vW({ message: e, onRetry: t }) {}//#endregion//#region src/react/components/art-slot.tsx-function yW({ artwork: e, identity: t = e.html, relayout: n }) {+function vW({ artwork: e, identity: t = e.html, relayout: n }) {let [r, i] = (0, D.useState)({identity: t,artwork: e@@ -48214,64 +48214,64 @@ function yW({ artwork: e, identity: t = e.html, relayout: n }) {}//#endregion//#region src/library-catalog.ts-var bW = "peach.library-colors.v1", xW = null, SW = /* @__PURE__ */ new Set();-function CW() {+var yW = "peach.library-colors.v1", bW = null, xW = /* @__PURE__ */ new Set();+function SW() {try {- let e = JSON.parse(localStorage.getItem(bW) || "{}");+ let e = JSON.parse(localStorage.getItem(yW) || "{}");return e && typeof e == "object" ? e : {};} catch {return {};}}-function wW(e) {- xW = e;+function CW(e) {+ bW = e;try {- localStorage.setItem(bW, JSON.stringify(Object.fromEntries(e.filter((e) => e.color).map((e) => [e.id, e.color]))));+ localStorage.setItem(yW, JSON.stringify(Object.fromEntries(e.filter((e) => e.color).map((e) => [e.id, e.color]))));} catch {}- SW.forEach((t) => t(e));+ xW.forEach((t) => t(e));}-function TW() {- return xW;+function wW() {+ return bW;}-function EW(e) {- return SW.add(e), () => {- SW.delete(e);+function TW(e) {+ return xW.add(e), () => {+ xW.delete(e);};}//#endregion//#region src/react/components/library-tint.ts-var DW = /* @__PURE__ */ new Map(), OW = !1, kW = /* @__PURE__ */ new Set();-function AW(e) {+var EW = /* @__PURE__ */ new Map(), DW = !1, OW = /* @__PURE__ */ new Set();+function kW(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 jW(e) {- DW = e;+function AW(e) {+ EW = e;let t = document.getElementById("peach-library-tints");- t || (t = document.createElement("style"), t.id = "peach-library-tints", document.head.append(t)), t.textContent = [...DW.values()].filter((e) => e.color).map((e) => `[data-library="${CSS.escape(e.id)}"]{--library-color:${AW(e.color)}}`).join("\n");+ t || (t = document.createElement("style"), t.id = "peach-library-tints", document.head.append(t)), t.textContent = [...EW.values()].filter((e) => e.color).map((e) => `[data-library="${CSS.escape(e.id)}"]{--library-color:${kW(e.color)}}`).join("\n");}-function MW(e) {- jW(e), kW.forEach((e) => e());+function jW(e) {+ AW(e), OW.forEach((e) => e());}-var NW = (e) => new Map(e.map((e) => [e.id, {+var MW = (e) => new Map(e.map((e) => [e.id, {id: e.id,name: e.name,icon: Po[e.icon || ""] || e.icon || "database",location: e.roots?.[0]?.location || "",color: e.color || ""-}])), PW = !1;-function FW() {- if (PW) return;- PW = !0, EW((e) => MW(NW(e)));- let e = TW();+}])), NW = !1;+function PW() {+ if (NW) return;+ NW = !0, TW((e) => jW(MW(e)));+ let e = wW();if (e) {- jW(NW(e));+ AW(MW(e));return;}- let t = Object.entries(CW()).filter(([, e]) => e);- t.length && jW(new Map(t.map(([e, t]) => [e, {+ let t = Object.entries(SW()).filter(([, e]) => e);+ t.length && AW(new Map(t.map(([e, t]) => [e, {id: e,name: "",icon: "database",@@ -48279,35 +48279,35 @@ function FW() {color: t}])));}-function IW() {- OW || TW() || (OW = !0, B("/api/libraries").then((e) => wW(e.libraries || [])).catch(() => {- OW = !1;+function FW() {+ DW || wW() || (DW = !0, B("/api/libraries").then((e) => CW(e.libraries || [])).catch(() => {+ DW = !1;}));}-function LW(e, t) {- let n = DW.get(e) ?? {+function IW(e, t) {+ let n = EW.get(e) ?? {id: e,name: "",icon: "database",location: "",color: ""};- MW(new Map([...DW, [e, {+ jW(new Map([...EW, [e, {...n,color: t}]]));}-function RW(e) {- return kW.add(e), () => {- kW.delete(e);+function LW(e) {+ return OW.add(e), () => {+ OW.delete(e);};}-function zW({ names: e = !1 } = {}) {- return FW(), e && IW(), (0, D.useSyncExternalStore)(RW, () => DW, () => DW);+function RW({ names: e = !1 } = {}) {+ return PW(), e && FW(), (0, D.useSyncExternalStore)(LW, () => EW, () => EW);}//#endregion//#region src/react/components/row-click.ts-var BW = [+var zW = ["a","button","input",@@ -48320,46 +48320,46 @@ var BW = ["[role=\"link\"]","[role=\"menu\"]"].join(",");-function VW(e, t) {+function BW(e, t) {let n = e.target;if (!(n instanceof Element) || !t.contains(n)) return !1;- let r = n.closest(BW);+ let r = n.closest(zW);return !r || !t.contains(r) || r === t;}-function HW(e) {+function VW(e) {e.shiftKey && e.preventDefault();}//#endregion//#region src/react/components/media-card.tsx-var UW = 9 / 16, WW = "未命名视频";-function GW({ name: e }) {+var HW = 9 / 16, UW = "未命名视频";+function WW({ name: e }) {return /* @__PURE__ */ (0, O.jsx)("svg", {viewBox: "0 0 24 24","aria-hidden": "true",children: /* @__PURE__ */ (0, O.jsx)("use", { href: `#i-${e}` })});}-var KW = {+var GW = {image: "图片",audio: "音频",archive: "压缩包",other: "其它文件"-}, qW = {+}, KW = {manual: "手动",junk: "垃圾",duplicate: "重复",missing: "文件缺失"};-function JW({ item: e }) {+function qW({ item: e }) {if (e.disposal !== "trash") return null;- let t = e.disposal_reason && qW[e.disposal_reason] || "原因未记录";+ let t = e.disposal_reason && KW[e.disposal_reason] || "原因未记录";return /* @__PURE__ */ (0, O.jsx)("span", {"data-media-disposal-reason": "",title: `归入原因:${t}`,children: t});}-function YW({ item: e, actions: t }) {+function JW({ item: e, actions: t }) {let [n, r] = (0, D.useState)(!1), [i, a] = (0, D.useState)(""), o = e.disposal === "trash" ? "restore" : "dispose", s = o === "restore" ? "还原" : "移入回收站";return /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)("button", {type: "button",@@ -48378,10 +48378,10 @@ function YW({ item: e, actions: t }) {children: i}) : null] });}-function XW(e, t, n) {- return t === "short" ? UW : hA(n);+function YW(e, t, n) {+ return t === "short" ? HW : mA(n);}-function ZW(e) {+function XW(e) {let { kind: t, name: n, coStarred: r, performers: i, refs: a, total: o } = Za(e), s = i[0] || "", c = Ia(e);return {avatar: r ? /* @__PURE__ */ (0, O.jsx)("div", {@@ -48413,7 +48413,7 @@ function ZW(e) {"data-entity-kind": "performer","data-entity-name": s,title: s,- children: [/* @__PURE__ */ (0, O.jsx)(GW, { name: "user-round" }), /* @__PURE__ */ (0, O.jsx)("span", { children: s })]+ children: [/* @__PURE__ */ (0, O.jsx)(WW, { name: "user-round" }), /* @__PURE__ */ (0, O.jsx)("span", { children: s })]}), /* @__PURE__ */ (0, O.jsx)("span", {"data-media-who-more": "",children: `等 ${o} 人`@@ -48423,16 +48423,16 @@ function ZW(e) {"data-entity-kind": t,"data-entity-name": n,title: n,- children: [/* @__PURE__ */ (0, O.jsx)(GW, { name: "user-round" }), /* @__PURE__ */ (0, O.jsx)("span", { children: n })]+ children: [/* @__PURE__ */ (0, O.jsx)(WW, { name: "user-round" }), /* @__PURE__ */ (0, O.jsx)("span", { children: n })]}) : /* @__PURE__ */ (0, O.jsxs)("button", {type: "button","data-media-who": "","data-open-unowned": "",- children: [/* @__PURE__ */ (0, O.jsx)(GW, { name: "user-round" }), /* @__PURE__ */ (0, O.jsx)("span", { children: n })]+ children: [/* @__PURE__ */ (0, O.jsx)(WW, { name: "user-round" }), /* @__PURE__ */ (0, O.jsx)("span", { children: n })]})};}-function QW() {+function ZW() {return /* @__PURE__ */ (0, O.jsxs)("button", {type: "button","data-media-preview": "",@@ -48451,7 +48451,7 @@ function QW() {})]});}-function $W({ item: e, actions: t, on: n, onChange: r }) {+function QW({ item: e, actions: t, on: n, onChange: r }) {let [i, a] = (0, D.useState)(!1);return /* @__PURE__ */ (0, O.jsx)("div", {"data-media-later": "",@@ -48466,11 +48466,11 @@ function $W({ item: e, actions: t, on: n, onChange: r }) {},"aria-busy": i || void 0,"aria-disabled": i || void 0,- children: /* @__PURE__ */ (0, O.jsx)(GW, { name: n ? "check" : "bookmark-plus" })+ children: /* @__PURE__ */ (0, O.jsx)(WW, { name: n ? "check" : "bookmark-plus" })})});}-function eG({ reason: e }) {+function $W({ reason: e }) {let t = (0, D.useRef)(null), [n, r] = (0, D.useState)(!1);return /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)("button", {ref: t,@@ -48484,15 +48484,15 @@ function eG({ reason: e }) {e.stopPropagation(), r(!0);},children: e- }), /* @__PURE__ */ (0, O.jsx)(sR, {+ }), /* @__PURE__ */ (0, O.jsx)(oR, {triggerRef: t,isOpen: n,onOpenChange: r,placement: "top",offset: 8,containerPadding: 12,- className: eV,- children: /* @__PURE__ */ (0, O.jsx)(bR, {+ className: $B,+ children: /* @__PURE__ */ (0, O.jsx)(yR, {"data-media-reason-dialog": "","aria-label": "推荐理由",className: "w-64 max-w-full p-2 text-body-regular whitespace-normal break-words text-text-primary outline-none focus-visible:ring-2 focus-visible:ring-border-focus-ring",@@ -48500,17 +48500,17 @@ function eG({ reason: e }) {})})] });}-function tG(e, t) {+function eG(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 nG({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekSeconds: a, helpers: o, actions: s, onOpen: c, grouped: l = !0 }) {- let u = (0, D.useRef)(null), [d, f] = (0, D.useState)(null), p = d?.id === e.id ? d.on : !!e.watch_later, m = zW(), h = e.library_id && m.get(e.library_id)?.color ? e.library_id : void 0, g = [Number(e.liked) > 0 ? "喜欢" : "", Number(e.o_count) > 0 ? "有高潮记录" : ""].filter(Boolean), _ = (0, D.useRef)(e);+function tG({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekSeconds: a, helpers: o, actions: s, onOpen: c, grouped: l = !0 }) {+ let u = (0, D.useRef)(null), [d, f] = (0, D.useState)(null), p = d?.id === e.id ? d.on : !!e.watch_later, m = RW(), h = e.library_id && m.get(e.library_id)?.color ? e.library_id : void 0, g = [Number(e.liked) > 0 ? "喜欢" : "", Number(e.o_count) > 0 ? "有高潮记录" : ""].filter(Boolean), _ = (0, D.useRef)(e);_.current = e;let v = (0, D.useCallback)((e) => {let t = _.current;u.current && u.current !== e && ul(u.current), u.current = e, e && (!t.medium || t.medium === "video") && fl(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 = XW(e, t, n), w = S ? n.size : "small", T = C === UW && !!e.is_jav, E = T ? Ja(e, !1) : Ka(e, w, !1, n.javImage), k = T || w === "small" ? E.html : Ka(e, "small", !1, n.javImage).html, A = y?.title || e.name || "", j = o.displayName(e, A).trim() || WW, M = o.titleHtml(e, A).trim() || z(WW), N = y?.total_size ?? e.size, ee = y?.total_duration ?? e.duration, te = !y && Number(e.play_seconds) > 0 && Number(e.duration) > 0 ? Math.min(Number(e.play_seconds) / Number(e.duration), 1) : 0, { avatar: P, who: ne } = ZW(e), F = (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 = YW(e, t, n), w = S ? n.size : "small", T = C === HW && !!e.is_jav, E = T ? Ja(e, !1) : Ka(e, w, !1, n.javImage), k = T || w === "small" ? E.html : Ka(e, "small", !1, n.javImage).html, A = y?.title || e.name || "", j = o.displayName(e, A).trim() || UW, M = o.titleHtml(e, A).trim() || z(UW), N = y?.total_size ?? e.size, ee = y?.total_duration ?? e.duration, te = !y && Number(e.play_seconds) > 0 && Number(e.duration) > 0 ? Math.min(Number(e.play_seconds) / Number(e.duration), 1) : 0, { avatar: P, who: ne } = XW(e), F = (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;@@ -48537,10 +48537,10 @@ function nG({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekSel && r.contains(l) ? s.toggleTag(l.dataset.tag || "") : c(e, r);}, ie = /* @__PURE__ */ (0, O.jsxs)("div", {"data-media-pic": "",- "data-pic-portrait": C === UW ? "" : void 0,+ "data-pic-portrait": C === HW ? "" : void 0,style: { "--card-ratio": String(C) },children: [- E.html ? /* @__PURE__ */ (0, O.jsx)(yW, {+ E.html ? /* @__PURE__ */ (0, O.jsx)(vW, {artwork: E,identity: k,relayout: (e) => nl(e, w)@@ -48554,11 +48554,11 @@ function nG({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekSe}),/* @__PURE__ */ (0, O.jsx)("span", {"data-media-check": "",- children: /* @__PURE__ */ (0, O.jsx)(GW, { name: "check" })+ children: /* @__PURE__ */ (0, O.jsx)(WW, { name: "check" })}),/* @__PURE__ */ (0, O.jsxs)("span", {"data-media-trash-mark": "",- children: [/* @__PURE__ */ (0, O.jsx)(GW, { name: "trash" }), /* @__PURE__ */ (0, O.jsx)("b", { children: "回收站" })]+ children: [/* @__PURE__ */ (0, O.jsx)(WW, { name: "trash" }), /* @__PURE__ */ (0, O.jsx)("b", { children: "回收站" })]}),y && !b ? /* @__PURE__ */ (0, O.jsx)("span", {"data-media-group": "",@@ -48573,7 +48573,7 @@ function nG({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekSe"data-media-duration": "",children: gn(ee)}),- !i && e.disposal === "trash" ? /* @__PURE__ */ (0, O.jsx)(YW, {+ !i && e.disposal === "trash" ? /* @__PURE__ */ (0, O.jsx)(JW, {item: e,actions: s}) : null,@@ -48589,22 +48589,22 @@ function nG({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekSe"data-media-scrub": "",children: /* @__PURE__ */ (0, O.jsx)("i", { style: { "--media-fill": `${Math.round(e.leave_ratio * 100)}%` } })}),- /* @__PURE__ */ (0, O.jsx)(QW, {}),+ /* @__PURE__ */ (0, O.jsx)(ZW, {}),p || g.length ? /* @__PURE__ */ (0, O.jsxs)("div", {"data-media-status": "",children: [p ? /* @__PURE__ */ (0, O.jsx)("span", {"data-status": "later",title: "稍后看","aria-label": "稍后看",- children: /* @__PURE__ */ (0, O.jsx)(GW, { name: "bookmark" })+ children: /* @__PURE__ */ (0, O.jsx)(WW, { name: "bookmark" })}) : null, g.length ? /* @__PURE__ */ (0, O.jsx)("span", {"data-status": "flagged",title: `已标记:${g.join("、")}`,"aria-label": `已标记:${g.join("、")}`,- children: /* @__PURE__ */ (0, O.jsx)(GW, { name: "heart" })+ children: /* @__PURE__ */ (0, O.jsx)(WW, { name: "heart" })}) : null]}) : null,- i ? null : /* @__PURE__ */ (0, O.jsx)($W, {+ i ? null : /* @__PURE__ */ (0, O.jsx)(QW, {item: e,actions: s,on: p,@@ -48619,27 +48619,27 @@ function nG({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekSe/* @__PURE__ */ (0, O.jsx)("button", {type: "button",onClick: (e) => {- e.stopPropagation(), tG(u.current, -a);+ e.stopPropagation(), eG(u.current, -a);},title: `后退 ${a} 秒`,"aria-label": `后退 ${a} 秒`,- children: /* @__PURE__ */ (0, O.jsx)(GW, { name: "rotate-ccw" })+ children: /* @__PURE__ */ (0, O.jsx)(WW, { name: "rotate-ccw" })}),/* @__PURE__ */ (0, O.jsx)("button", {type: "button",onClick: (e) => {- e.stopPropagation(), tG(u.current, a);+ e.stopPropagation(), eG(u.current, a);},title: `前进 ${a} 秒`,"aria-label": `前进 ${a} 秒`,- children: /* @__PURE__ */ (0, O.jsx)(GW, { name: "rotate-cw" })+ children: /* @__PURE__ */ (0, O.jsx)(WW, { name: "rotate-cw" })}),/* @__PURE__ */ (0, O.jsx)("button", {type: "button","data-open": "",title: "打开详情","aria-label": "打开详情",- children: /* @__PURE__ */ (0, O.jsx)(GW, { name: "expand" })+ children: /* @__PURE__ */ (0, O.jsx)(WW, { name: "expand" })})]})@@ -48658,7 +48658,7 @@ function nG({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekSe"data-pending-delete": e.disposal === "trash" ? "" : void 0,"data-selected": r ? "" : void 0,onClick: re,- onMouseDown: HW,+ onMouseDown: VW,children: [/* @__PURE__ */ (0, O.jsx)("button", {type: "button",@@ -48698,15 +48698,15 @@ function nG({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekSe"data-media-release": "",dateTime: e.release_date,title: e.release_date,- children: [/* @__PURE__ */ (0, O.jsx)(GW, { name: "calendar" }), e.release_date]+ children: [/* @__PURE__ */ (0, O.jsx)(WW, { name: "calendar" }), e.release_date]}) : null,/* @__PURE__ */ (0, O.jsxs)("span", {"data-media-size": "",- children: [/* @__PURE__ */ (0, O.jsx)(GW, { name: "hard-drive" }), Number(N) > 0 ? vn(Number(N)) : "大小未知"]+ children: [/* @__PURE__ */ (0, O.jsx)(WW, { name: "hard-drive" }), Number(N) > 0 ? vn(Number(N)) : "大小未知"]})]}),- t === "next" ? e.why ? /* @__PURE__ */ (0, O.jsx)(eG, { reason: e.why }) : null : F.length || e.disposal === "trash" ? /* @__PURE__ */ (0, O.jsx)("div", {+ t === "next" ? e.why ? /* @__PURE__ */ (0, O.jsx)($W, { reason: e.why }) : null : F.length || e.disposal === "trash" ? /* @__PURE__ */ (0, O.jsx)("div", {"data-media-tags": "",children: F.map((t) => /* @__PURE__ */ (0, O.jsx)("button", {type: "button",@@ -48716,15 +48716,15 @@ function nG({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekSechildren: o.tagLabel(t)}, t))}) : null,- /* @__PURE__ */ (0, O.jsx)(JW, { item: e })+ /* @__PURE__ */ (0, O.jsx)(qW, { item: e })]})]})]});}-function rG({ item: e, selected: t, selectMode: n, helpers: r, actions: i, onOpen: a }) {- let o = (0, D.useRef)(null), s = e.medium === "image" && e.location !== "online", c = String(e.name || ""), l = c.toLowerCase().endsWith(".url") ? "网址快捷方式" : KW[e.medium || ""] || "其它文件", u = s ? "pics" : l === "网址快捷方式" ? "globe" : "hard-drive";+function nG({ item: e, selected: t, selectMode: n, helpers: r, actions: i, onOpen: a }) {+ let o = (0, D.useRef)(null), s = e.medium === "image" && e.location !== "online", c = String(e.name || ""), l = c.toLowerCase().endsWith(".url") ? "网址快捷方式" : GW[e.medium || ""] || "其它文件", u = s ? "pics" : l === "网址快捷方式" ? "globe" : "hard-drive";return /* @__PURE__ */ (0, O.jsxs)("article", {ref: o,"data-media-card": "",@@ -48736,14 +48736,14 @@ function rG({ item: e, selected: t, selectMode: n, helpers: r, actions: i, onOpeonClick: (t) => {o.current && (n || t.shiftKey || t.ctrlKey || t.metaKey ? (t.preventDefault(), i.toggleSelection(e.id, t.shiftKey)) : a(e, o.current));},- onMouseDown: HW,+ onMouseDown: VW,children: [/* @__PURE__ */ (0, O.jsxs)("div", {"data-media-pic": "",style: { "--card-ratio": "1.7777777777777777" },children: [/* @__PURE__ */ (0, O.jsxs)("span", {"data-media-glyph": "",- children: [/* @__PURE__ */ (0, O.jsx)(GW, { name: u }), /* @__PURE__ */ (0, O.jsx)("b", { children: l })]+ children: [/* @__PURE__ */ (0, O.jsx)(WW, { name: u }), /* @__PURE__ */ (0, O.jsx)("b", { children: l })]}),s ? /* @__PURE__ */ (0, O.jsx)("span", {"data-media-art": "thumb",@@ -48755,13 +48755,13 @@ function rG({ item: e, selected: t, selectMode: n, helpers: r, actions: i, onOpe}),/* @__PURE__ */ (0, O.jsx)("span", {"data-media-check": "",- children: /* @__PURE__ */ (0, O.jsx)(GW, { name: "check" })+ children: /* @__PURE__ */ (0, O.jsx)(WW, { name: "check" })}),/* @__PURE__ */ (0, O.jsxs)("span", {"data-media-trash-mark": "",- children: [/* @__PURE__ */ (0, O.jsx)(GW, { name: "trash" }), /* @__PURE__ */ (0, O.jsx)("b", { children: "回收站" })]+ children: [/* @__PURE__ */ (0, O.jsx)(WW, { name: "trash" }), /* @__PURE__ */ (0, O.jsx)("b", { children: "回收站" })]}),- n ? null : /* @__PURE__ */ (0, O.jsx)(YW, {+ n ? null : /* @__PURE__ */ (0, O.jsx)(JW, {item: e,actions: i})@@ -48772,7 +48772,7 @@ function rG({ item: e, selected: t, selectMode: n, helpers: r, actions: i, onOpe"data-media-avatar": "","data-media-kind-glyph": "","aria-hidden": "true",- children: /* @__PURE__ */ (0, O.jsx)(GW, { name: u })+ children: /* @__PURE__ */ (0, O.jsx)(WW, { name: u })}), /* @__PURE__ */ (0, O.jsxs)("div", {"data-media-text": "",children: [@@ -48800,29 +48800,29 @@ function rG({ item: e, selected: t, selectMode: n, helpers: r, actions: i, onOpe]}),e.disposal === "trash" ? /* @__PURE__ */ (0, O.jsx)("div", { "data-media-tags": "" }) : null,- /* @__PURE__ */ (0, O.jsx)(JW, { item: e })+ /* @__PURE__ */ (0, O.jsx)(qW, { item: e })]})]})]});}-function iG(e) {- return e.variant === "resource" ? /* @__PURE__ */ (0, O.jsx)(rG, { ...e }) : /* @__PURE__ */ (0, O.jsx)(nG, { ...e });+function rG(e) {+ return e.variant === "resource" ? /* @__PURE__ */ (0, O.jsx)(nG, { ...e }) : /* @__PURE__ */ (0, O.jsx)(tG, { ...e });}-var aG = (0, D.memo)(iG), oG = 1100, sG = 340, cG = 5e3;-function lG(e, t, n) {+var iG = (0, D.memo)(rG), aG = 1100, oG = 340, sG = 5e3;+function cG(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, cG);+ }, s = () => o(!1), c = setTimeout(s, sG);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 uG({ load: e, canFlip: t, referrerPolicy: n }) {+function lG({ load: e, canFlip: t, referrerPolicy: n }) {let [r, i] = (0, D.useState)([]), [a, o] = (0, D.useState)(0), [s, c] = (0, D.useState)(null), l = (0, D.useRef)({live: !1,generation: 0,@@ -48864,11 +48864,11 @@ function uG({ load: e, canFlip: t, referrerPolicy: n }) {return;}if (!r() || !u.current.canFlip() || a.length < 2) return;- let s = await Promise.all(a.map((t) => lG(t, e, n)));+ let s = await Promise.all(a.map((t) => cG(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, oG);+ p(), e.cycle = setInterval(p, aG);}));};return (0, D.useEffect)(() => d, [d]), {@@ -48877,7 +48877,7 @@ function uG({ 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(sG, () => {+ e.armed !== null && (clearTimeout(e.armed), e.timers.delete(e.armed)), e.armed = f(oG, () => {e.armed = null, m();});},@@ -48888,8 +48888,8 @@ function uG({ load: e, canFlip: t, referrerPolicy: n }) {}//#endregion//#region src/react/components/mix-card.tsx-var dG = Hz("play");-function fG({ src: e }) {+var uG = Vz("play");+function dG({ src: e }) {let [t, n] = (0, D.useState)(!1);return t ? null : /* @__PURE__ */ (0, O.jsx)("img", {"data-mix-poster": "",@@ -48902,8 +48902,8 @@ function fG({ src: e }) {className: "absolute inset-0 block size-full object-contain"});}-var pG = "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 mG({ faces: e, fallback: t, onOpenEntity: n }) {+var fG = "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 pG({ faces: e, fallback: t, onOpenEntity: n }) {return e.length ? /* @__PURE__ */ (0, O.jsx)("div", {"data-mix-avatars": "",children: e.slice(0, 5).map((e) => /* @__PURE__ */ (0, O.jsx)("button", {@@ -48911,18 +48911,18 @@ function mG({ faces: e, fallback: t, onOpenEntity: n }) {title: `打开资料页:${e.name}`,"aria-label": `打开资料页:${e.name}`,onClick: () => n(e.kind, e.name),- className: `${pG} cursor-pointer outline-none`,+ className: `${fG} cursor-pointer outline-none`,dangerouslySetInnerHTML: { __html: Ra(e.name, e, ya(e.name), e.kind) }}, `${e.kind}:${e.id}`))}) : /* @__PURE__ */ (0, O.jsx)("span", {"data-mix-initial": "","aria-hidden": !0,- className: `${pG} mt-0.5`,+ className: `${fG} mt-0.5`,children: t});}-function hG({ 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 = uG({+function mG({ 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 = lG({load: i,canFlip: a}), x = (0, D.useRef)(b.onPointerLeave);@@ -48949,11 +48949,11 @@ function hG({ name: e, caption: t, count: n, poster: r, flipImages: i, canFlip:style: d === void 0 ? void 0 : { "--card-ratio": String(d) },className: "relative z-1 flex aspect-video items-center justify-center overflow-hidden",children: [- f?.html ? /* @__PURE__ */ (0, O.jsx)(yW, {+ f?.html ? /* @__PURE__ */ (0, O.jsx)(vW, {artwork: f,identity: p,relayout: m- }) : r ? /* @__PURE__ */ (0, O.jsx)(fG, { src: r }, r) : /* @__PURE__ */ (0, O.jsx)("span", {+ }) : r ? /* @__PURE__ */ (0, O.jsx)(dG, { src: r }, r) : /* @__PURE__ */ (0, O.jsx)("span", {className: "text-caption-1-regular tracking-caps text-text-secondary uppercase",children: "无预览"}),@@ -48983,7 +48983,7 @@ function hG({ name: e, caption: t, count: n, poster: r, flipImages: i, canFlip:/* @__PURE__ */ (0, O.jsxs)("span", {"data-mix-badge": "",className: "absolute right-2.25 bottom-2.25 z-6 flex min-h-7 items-center gap-1.5 rounded-2lg px-2.25 py-1 text-caption-1-semibold text-text-white",- children: [/* @__PURE__ */ (0, O.jsx)(dG, {+ children: [/* @__PURE__ */ (0, O.jsx)(uG, {"aria-hidden": !0,className: "size-(--icon-inline)"}), g ?? `${n.toLocaleString()} 个视频`]@@ -48996,8 +48996,8 @@ function hG({ name: e, caption: t, count: n, poster: r, flipImages: i, canFlip:_ ? /* @__PURE__ */ (0, O.jsx)("span", {"data-mix-glyph": "","aria-hidden": !0,- children: /* @__PURE__ */ (0, O.jsx)(dG, {})- }) : /* @__PURE__ */ (0, O.jsx)(mG, {+ children: /* @__PURE__ */ (0, O.jsx)(uG, {})+ }) : /* @__PURE__ */ (0, O.jsx)(pG, {faces: o,fallback: Sn(e),onOpenEntity: s@@ -49021,7 +49021,7 @@ function hG({ name: e, caption: t, count: n, poster: r, flipImages: i, canFlip:}//#endregion//#region src/react/video-wall/folia/blockReflows.ts-var gG = [+var hG = [[[{@@ -52582,7 +52582,7 @@ var gG = [}]]-], _G = [+], gG = [[{x: 0,@@ -52879,89 +52879,89 @@ var gG = [rows: 2}]-], vG = (e) => e.map((e) => ({+], _G = (e) => e.map((e) => ({...e,x: 12 - e.x - e.cols-})), yG = (e) => e.map((e) => ({+})), vG = (e) => e.map((e) => ({...e,y: 8 - e.y - e.rows-})), bG = [+})), yG = [(e) => e,+ _G,vG,- yG,- (e) => vG(yG(e))-], xG = _G.flatMap((e) => bG.map((t) => t(e))), SG = gG.flatMap((e) => bG.map((t) => e.map(t)));-xG.length;-var CG = (e, t) => {+ (e) => _G(vG(e))+], bG = gG.flatMap((e) => yG.map((t) => t(e))), xG = hG.flatMap((e) => yG.map((t) => e.map(t)));+bG.length;+var SG = (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;-}, wG = (e, t) => {- let n = _G.length;- return ((e + t * 2) % n + n) % n * bG.length + CG(e, t) % bG.length;-}, TG = (e, t) => xG[wG(e, t)], EG = (e, t, n) => n < 0 || n >= 12 ? null : SG[wG(e, t)][n], DG = 103.36, OG = 6.08, kG = 12 * DG, AG = 8 * DG, jG = 12, MG = (e, t) => (e % t + t) % t, NG = (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 PG(e, t) {- let n = Math.max(1, Math.ceil(e / jG)), r = t ? 3 : Math.min(3, n);+}, CG = (e, t) => {+ let n = gG.length;+ return ((e + t * 2) % n + n) % n * yG.length + SG(e, t) % yG.length;+}, wG = (e, t) => bG[CG(e, t)], TG = (e, t, n) => n < 0 || n >= 12 ? null : xG[CG(e, t)][n], EG = 103.36, DG = 6.08, OG = 12 * EG, kG = 8 * EG, AG = 12, jG = (e, t) => (e % t + t) % t, MG = (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 NG(e, t) {+ let n = Math.max(1, Math.ceil(e / AG)), r = t ? 3 : Math.min(3, n);return {columns: r,- width: r * kG,- height: Math.ceil(n / r) * AG+ width: r * OG,+ height: Math.ceil(n / r) * kG};}-function FG(e, t, n) {- let { x: r, y: i, cols: a, rows: o } = TG(e, t)[n];+function PG(e, t, n) {+ let { x: r, y: i, cols: a, rows: o } = wG(e, t)[n];return {- x: e * kG + r * DG,- y: t * AG + i * DG,- width: a * DG - OG,- height: o * DG - OG+ x: e * OG + r * EG,+ y: t * kG + i * EG,+ width: a * EG - DG,+ height: o * EG - DG};}-function IG(e) {+function FG(e) {return (!e.medium || e.medium === "video") && !!e.has_cover && !!(e.cover_key || e.code);}-function LG(e, t, n) {+function IG(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 >= jG) return null;- let o = PG(e, t), s = o.height / AG;+ ].every(Number.isInteger) || a < 0 || a >= AG) return null;+ let o = NG(e, t), s = o.height / kG;if (t && (r < 0 || r >= o.columns || i < 0 || i >= s)) return null;- let c = t ? r : MG(r, o.columns), l = ((t ? i : MG(i, s)) * o.columns + c) * jG + a;+ let c = t ? r : jG(r, o.columns), l = ((t ? i : jG(i, s)) * o.columns + c) * AG + a;return t && l >= e ? null : {- ...FG(r, i, a),+ ...PG(r, i, a),index: l % e,key: n};}-function RG(e, t) {+function LG(e, t) {if (t < 0 || t >= e) return null;- let n = Math.floor(t / jG);- return LG(e, !0, `${n % 3}:${Math.floor(n / 3)}:${t % jG}`);+ let n = Math.floor(t / AG);+ return IG(e, !0, `${n % 3}:${Math.floor(n / 3)}:${t % AG}`);}-function zG(e, t, n) {- let [r, i, a] = n.key.split(":").map(Number), o = EG(r, i, a);+function RG(e, t, n) {+ let [r, i, a] = n.key.split(":").map(Number), o = TG(r, i, a);return new Map((o || []).map((e, t) => [`${r}:${i}:${t}`, {- x: r * kG + e.x * DG,- y: i * AG + e.y * DG,- width: e.cols * DG - OG,- height: e.rows * DG - OG+ x: r * OG + e.x * EG,+ y: i * kG + e.y * EG,+ width: e.cols * EG - DG,+ height: e.rows * EG - DG}]));}-function BG(e) {+function zG(e) {let t = 0, n = 0;for (let r = Math.max(0, e - 36); r < e; r += 1) {- let e = Math.floor(r / jG), i = FG(e % 3, Math.floor(e / 3), r % jG);+ let e = Math.floor(r / AG), i = PG(e % 3, Math.floor(e / 3), r % AG);t = Math.max(t, i.x + i.width), n = Math.max(n, i.y + i.height);}return {- width: e >= 36 ? 3 * kG - OG : t,+ width: e >= 36 ? 3 * OG - DG : t,height: n};}-function VG(e, t, n, r) {+function BG(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 {@@ -52970,22 +52970,22 @@ function VG(e, t, n, r) {y: i(e.y, n.height, t.height)};}-function HG(e, t, n, r) {+function VG(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 = PG(e, t), s = o.height / AG, c = [];- for (let n = Math.floor(a.y / AG); n <= Math.floor((a.y + a.height) / AG); n += 1) for (let r = Math.floor(a.x / kG); r <= Math.floor((a.x + a.width) / kG); r += 1) {+ }, o = NG(e, t), s = o.height / kG, c = [];+ for (let n = Math.floor(a.y / kG); n <= Math.floor((a.y + a.height) / kG); n += 1) for (let r = Math.floor(a.x / OG); r <= Math.floor((a.x + a.width) / OG); r += 1) {if (t && (r < 0 || r >= o.columns || n < 0 || n >= s)) continue;- let i = t ? r : MG(r, o.columns), l = t ? n : MG(n, s);- for (let s = 0; s < jG; s += 1) {- let u = (l * o.columns + i) * jG + s;+ let i = t ? r : jG(r, o.columns), l = t ? n : jG(n, s);+ for (let s = 0; s < AG; s += 1) {+ let u = (l * o.columns + i) * AG + s;if (t && u >= e) continue;- let d = FG(r, n, s);- NG(d, a) && c.push({+ let d = PG(r, n, s);+ MG(d, a) && c.push({...d,index: u % e,key: `${r}:${n}:${s}`@@ -52994,7 +52994,7 @@ function HG(e, t, n, r) {}return c;}-var UG = class {+var HG = class {positions = /* @__PURE__ */ new Map();used = /* @__PURE__ */ new Set();cursor = 0;@@ -53006,7 +53006,7 @@ var UG = class {this.cursor = e;}tile(e, t) {- let n = this.positions.get(e), r = n === void 0 ? null : LG(t, !1, e);+ let n = this.positions.get(e), r = n === void 0 ? null : IG(t, !1, e);return r ? {...r,index: n@@ -53036,7 +53036,7 @@ var UG = class {let e = 0;for (let t of this.positions.keys()) e = Math.max(e, Number(t.split(":")[0]));return {- x: (e + 2) * kG,+ x: (e + 2) * OG,y: 0};}@@ -53049,10 +53049,10 @@ var UG = class {c < i && (r = s, i = c);}if (r) return r;- let a = this.fresh(), o = `${Math.round(a.x / kG)}:0:0`;+ let a = this.fresh(), o = `${Math.round(a.x / OG)}:0:0`;return this.positions.set(o, t), this.used.add(t), this.tile(o, e);}-}, WG = [+}, UG = ["q","performer","series",@@ -53067,17 +53067,17 @@ var UG = class {"dur_max","region"];-function GG(e = {}) {- return WG.some((t) => !!e[t]);+function WG(e = {}) {+ return UG.some((t) => !!e[t]);}//#endregion//#region src/react/video-wall/use-wall-camera.ts-var KG = {+var GG = {x: 16,y: 16,scale: 1};-function qG(e, t, n = KG, r = !1) {+function KG(e, t, n = GG, r = !1) {let i = (0, D.useRef)(null), a = (0, D.useRef)(null), o = (0, D.useRef)({width: 0,height: 0@@ -53097,7 +53097,7 @@ function qG(e, t, n = KG, r = !1) {let f = (0, D.useRef)(null), p = (0, D.useRef)(null), m = (0, D.useRef)(!1), h = (0, D.useRef)(null), g = (0, D.useCallback)(() => {p.current?.stop(), p.current = null, f.current !== null && cancelAnimationFrame(f.current), f.current = null;}, []), _ = (0, D.useCallback)((e, t = !1, n = !1) => {- let { count: r, finite: c, focused: f } = d.current, p = VG(e, o.current, BG(r), c && !f && !n);+ let { count: r, finite: c, focused: f } = d.current, p = BG(e, o.current, zG(r), c && !f && !n);s.current = p;let m = window.devicePixelRatio || 1;a.current && (a.current.style.transform = `translate3d(${Math.round(p.x * m) / m}px, ${Math.round(p.y * m) / m}px, 0) scale(${p.scale})`), i.current && (i.current.dataset.cameraX = String(p.x), i.current.dataset.cameraY = String(p.y));@@ -53168,7 +53168,7 @@ function qG(e, t, n = KG, r = !1) {x: o.current.width / 2 - (e.x + e.width / 2) * i,y: o.current.height / 2 - (e.y + e.height / 2) * i};- !t || v() ? _(a, !0, n) : p.current = Jne(0, 1, {+ !t || v() ? _(a, !0, n) : p.current = Yne(0, 1, {duration: .42,ease: [.22,@@ -53197,7 +53197,7 @@ function qG(e, t, n = KG, r = !1) {},snapshot: () => ({ ...s.current }),reset: () => {- g(), _({ ...KG }, !0);+ g(), _({ ...GG }, !0);},pan: (e, t) => {g(), _({@@ -53259,17 +53259,17 @@ function qG(e, t, n = KG, r = !1) {}//#endregion//#region src/react/video-wall/wall-motion.ts-var JG = {+var qG = {type: "spring",stiffness: 300,damping: 34-}, YG = {+}, JG = {delay: .14,duration: .24};//#endregion//#region src/react/video-wall/use-wall-playback.ts-function XG(e, t, n) {+function YG(e, t, n) {let [r, i] = (0, D.useState)({paused: !0,time: 0,@@ -53311,15 +53311,15 @@ function XG(e, t, n) {}//#endregion//#region src/react/video-wall/wall-controls.tsx-function ZG({ 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 = yy(), x = XG(t, n, v), S = x.duration || Number(e.duration) || 0, C = r || i, w = !t || x.paused, T = async () => {+function XG({ 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 = vy(), x = YG(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(Wt(e));}};- return /* @__PURE__ */ (0, O.jsxs)(Oy.div, {+ return /* @__PURE__ */ (0, O.jsxs)(Dy.div, {"data-wall-focus-actions": "",initial: !b && {opacity: 0,@@ -53329,7 +53329,7 @@ function ZG({ item: e, playing: t, frame: n, starting: r, pendingGroup: i, groupopacity: 1,transform: "translateY(0px)"},- transition: b ? { duration: 0 } : YG,+ transition: b ? { duration: 0 } : JG,children: [/* @__PURE__ */ (0, O.jsxs)("div", {"data-wall-control-row": "",children: [@@ -53337,7 +53337,7 @@ function ZG({ item: e, playing: t, frame: n, starting: r, pendingGroup: i, grouptype: "button","data-wall-play": "","data-wall-pause": w ? void 0 : "",- ...Wz(C),+ ...Uz(C),"aria-label": r ? "正在打开" : i ? "正在读取版本" : w ? "播放" : "暂停",title: w ? "播放" : "暂停",onClick: () => void T(),@@ -53387,7 +53387,7 @@ function ZG({ item: e, playing: t, frame: n, starting: r, pendingGroup: i, group}),/* @__PURE__ */ (0, O.jsx)("button", {type: "button",- ...Wz(d),+ ...Uz(d),"aria-label": u ? "移出稍后看" : "稍后看",title: "稍后看","aria-pressed": u,@@ -53434,7 +53434,7 @@ function ZG({ item: e, playing: t, frame: n, starting: r, pendingGroup: i, group}//#endregion//#region src/react/components/mix-queue.tsx-function QG({ kind: e, title: t, summary: n, onClose: r, actions: i, listRef: a, children: o, ...s }) {+function ZG({ kind: e, title: t, summary: n, onClose: r, actions: i, listRef: a, children: o, ...s }) {let c = (0, D.useRef)(null), l = (0, D.useCallback)((e) => {c.current = e, typeof a == "function" ? a(e) : a && (a.current = e);}, [a]);@@ -53470,7 +53470,7 @@ function QG({ kind: e, title: t, summary: n, onClose: r, actions: i, listRef: a,})]});}-function $G({ current: e, pic: t, lead: n, after: r, row: i, children: a, ...o }) {+function QG({ current: e, pic: t, lead: n, after: r, row: i, children: a, ...o }) {let s = /* @__PURE__ */ (0, O.jsx)("span", {"data-mix-item-text": "",children: a@@ -53493,7 +53493,7 @@ function $G({ current: e, pic: t, lead: n, after: r, row: i, children: a, ...o }}), r]});}-var eK = ({ label: e, count: t }) => /* @__PURE__ */ (0, O.jsxs)("h3", {+var $G = ({ label: e, count: t }) => /* @__PURE__ */ (0, O.jsxs)("h3", {"data-mix-group-label": "",children: [e,@@ -53503,28 +53503,28 @@ var eK = ({ label: e, count: t }) => /* @__PURE__ */ (0, O.jsxs)("h3", {});//#endregion//#region src/react/video-wall/wall-queue.tsx-function tK({ items: e, activeId: t, kind: n, label: r, choose: i, close: a }) {+function eK({ items: e, activeId: t, kind: n, label: r, choose: i, close: a }) {return /* @__PURE__ */ (0, O.jsx)("div", {"data-wall-queue": "",id: "wall-queue",- children: /* @__PURE__ */ (0, O.jsx)(QG, {+ children: /* @__PURE__ */ (0, O.jsx)(ZG, {kind: n,title: n === "parts" ? "分卷" : n === "editions" ? "版本" : "作品",summary: `${e.length} 个视频`,onClose: a,- children: e.map((e) => /* @__PURE__ */ (0, O.jsxs)($G, {+ children: e.map((e) => /* @__PURE__ */ (0, O.jsxs)(QG, {current: e.id === t,"data-wall-source": e.id,"aria-label": [e.edition_label,- e.part_label ? AM(e.part_label) : "",+ e.part_label ? kM(e.part_label) : "",r(e)].filter(Boolean).join(" · "),onClick: () => i(e),- pic: /* @__PURE__ */ (0, O.jsx)(yW, { artwork: Ka(e, "small", !0, "cover") }),+ pic: /* @__PURE__ */ (0, O.jsx)(vW, { artwork: Ka(e, "small", !0, "cover") }),children: [/* @__PURE__ */ (0, O.jsx)("b", { children: r(e) }), /* @__PURE__ */ (0, O.jsx)("span", { children: [e.edition_label,- e.part_label ? AM(e.part_label) : "",+ e.part_label ? kM(e.part_label) : "",gn(e.duration)].filter(Boolean).join(" · ") })]}, e.id))@@ -53533,7 +53533,7 @@ function tK({ items: e, activeId: t, kind: n, label: r, choose: i, close: a }) {}//#endregion//#region src/react/video-wall/wall-route.ts-function nK(e = `${location.pathname}${location.search}`, t = {}) {+function tK(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",@@ -53548,18 +53548,18 @@ function nK(e = `${location.pathname}${location.search}`, t = {}) {}return s.set("returnTo", `${n.pathname}${n.search}`), `/wall?${s}`;}-function rK(e = `${location.pathname}${location.search}`) {+function nK(e = `${location.pathname}${location.search}`) {let t = new URL(e, location.origin).searchParams;- for (let e of WG) t.delete(e);+ for (let e of UG) t.delete(e);return t.delete("tag_match"), `/wall${t.size ? `?${t}` : ""}`;}-function iK() {- let e = new URLSearchParams($V.navigation.location.search).get("returnTo") || "/";- $V.replace(e.startsWith("/") && !e.startsWith("//") && !e.startsWith("/wall") ? e : "/");+function rK() {+ let e = new URLSearchParams(QV.navigation.location.search).get("returnTo") || "/";+ QV.replace(e.startsWith("/") && !e.startsWith("//") && !e.startsWith("/wall") ? e : "/");}//#endregion//#region src/react/video-wall/video-wall.tsx-var aK = /* @__PURE__ */ new Map(), oK = (0, D.memo)(function({ item: e, image: t, big: n = !1, ratio: r = 1 }) {+var iK = /* @__PURE__ */ new Map(), aK = (0, D.memo)(function({ item: e, image: t, big: n = !1, ratio: r = 1 }) {let i = Ka(!e.is_jav && t === "thumbnail" && e.has_thumb ? {...e,has_cover: !1@@ -53572,7 +53572,7 @@ var aK = /* @__PURE__ */ new Map(), oK = (0, D.memo)(function({ item: e, image:ref: a,"data-media-pic": "",style: { "--card-ratio": String(r) },- children: /* @__PURE__ */ (0, O.jsx)(yW, {+ children: /* @__PURE__ */ (0, O.jsx)(vW, {artwork: i,relayout: (e) => e.querySelectorAll("img.cover").forEach((e) => {e.complete && e.naturalWidth && Hc(e, r);@@ -53580,31 +53580,31 @@ var aK = /* @__PURE__ */ new Map(), oK = (0, D.memo)(function({ item: e, image:})});});-function sK({ 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 oK({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error: a = "", retry: o, emptyHtml: s = "", loadMore: c, actions: l, helpers: u, javImage: d, sessionKey: f }) {let p = String(e[0]?.id), [m] = (0, D.useState)(() => {- let e = aK.get(f);+ let e = iK.get(f);return e && (i || t || e.pool === p) ? e : void 0;- }), [h] = (0, D.useState)(() => m?.exploration || new UG()), g = (0, D.useRef)(!1), [_, v] = (0, D.useState)(null), y = (0, D.useRef)(null), b = (0, D.useRef)(null), x = (0, D.useRef)(null), S = (0, D.useRef)(null), C = (0, D.useRef)(null), [w, T] = (0, D.useState)(() => e.find((e) => e.id === m?.selectedId) || null), [E, k] = (0, D.useState)(m?.selectedKey || ""), [A, j] = (0, D.useState)(m?.sourceId || null), [M, N] = (0, D.useState)(!1), ee = w?.edition_group ? {+ }), [h] = (0, D.useState)(() => m?.exploration || new HG()), g = (0, D.useRef)(!1), [_, v] = (0, D.useState)(null), y = (0, D.useRef)(null), b = (0, D.useRef)(null), x = (0, D.useRef)(null), S = (0, D.useRef)(null), C = (0, D.useRef)(null), [w, T] = (0, D.useState)(() => e.find((e) => e.id === m?.selectedId) || null), [E, k] = (0, D.useState)(m?.selectedKey || ""), [A, j] = (0, D.useState)(m?.sourceId || null), [M, N] = (0, D.useState)(!1), ee = w?.edition_group ? {kind: "editions",seedId: w.edition_group.seed_id} : w?.part_group ? {kind: "parts",seedId: w.part_group.seed_id} : null, te = Ct({- queryKey: uM(ee || {+ queryKey: lM(ee || {kind: "parts",seedId: 0}),enabled: !!ee,- queryFn: ({ signal: e }) => yM(ee, {+ queryFn: ({ signal: e }) => vM(ee, {tagLabel: u.tagLabel,mixRelated: async () => []}, e)- }), P = ee ? te.data : void 0, ne = P?.items.find((e) => e.id === SM(P, A || w?.id || null)) || w, F = qG(e.length, t && !!e.length, m?.camera || {+ }), P = ee ? te.data : void 0, ne = P?.items.find((e) => e.id === xM(P, A || w?.id || null)) || w, F = KG(e.length, t && !!e.length, m?.camera || {x: 0,y: 0,scale: innerWidth < 640 ? .68 : 1- }, !!w), re = yy(), [ie, ae] = (0, D.useState)(!!m);+ }, !!w), re = vy(), [ie, ae] = (0, D.useState)(!!m);(0, D.useEffect)(() => {if (!e.length || ie || re) return;let t = setTimeout(() => ae(!0), 1100);@@ -53621,7 +53621,7 @@ function sK({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:(0, D.useLayoutEffect)(() => {document.body.append(Ce), F.viewport.current?.focus({ preventScroll: !0 });}, [Ce]), (0, D.useEffect)(() => () => Ce.remove(), [Ce]);- let [we, Te] = (0, D.useState)(() => bV($V.navigation.location.pathname)), [Ee, De] = (0, D.useState)(m?.image || d), Oe = (0, D.useRef)(null), ke = (0, D.useRef)(p), Ae = (0, D.useRef)(!!e.length);+ let [we, Te] = (0, D.useState)(() => yV(QV.navigation.location.pathname)), [Ee, De] = (0, D.useState)(m?.image || d), Oe = (0, D.useRef)(null), ke = (0, D.useRef)(p), Ae = (0, D.useRef)(!!e.length);Ae.current = !!e.length;let je = (0, D.useRef)({selectedId: w?.id || null,@@ -53638,17 +53638,17 @@ function sK({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:pool: p};let Me = () => {- Ae.current && (aK.delete(f), aK.set(f, {+ Ae.current && (iK.delete(f), iK.set(f, {...je.current,camera: F.snapshot(),exploration: h- }), aK.size > 8 && aK.delete(aK.keys().next().value));+ }), iK.size > 8 && iK.delete(iK.keys().next().value));};(0, D.useLayoutEffect)(Me);- let Ne = HG(i ? 12 : t ? e.length : e.length || n ? 12 : 0, t && !i, F.view.camera, F.view.size), Pe = i ? Ne.map((e) => ({+ let Ne = VG(i ? 12 : t ? e.length : e.length || n ? 12 : 0, t && !i, F.view.camera, F.view.size), Pe = i ? Ne.map((e) => ({...e,index: -1- })) : t ? Ne : h.assign(Ne, e.length, n), Fe = w && (t ? LG(e.length, !0, E) : h.tile(E, e.length)), Ie = Fe ? zG(e.length, t, Fe) : /* @__PURE__ */ new Map();+ })) : t ? Ne : h.assign(Ne, e.length, n), Fe = w && (t ? IG(e.length, !0, E) : h.tile(E, e.length)), Ie = Fe ? RG(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, ce(null), fe(!1);@@ -53665,8 +53665,8 @@ function sK({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:t,p,i- ]), (0, D.useEffect)(() => $V.listen((e) => {- let t = bV(e.location.pathname);+ ]), (0, D.useEffect)(() => QV.listen((e) => {+ let t = yV(e.location.pathname);t && (C.current?.abort(), S.current?.(!0), S.current = null, ce(null), fe(!1)), Te(t);}), []), (0, D.useEffect)(() => () => {C.current?.abort(), S.current?.(!0), Me();@@ -53687,7 +53687,7 @@ function sK({ 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- }, me(""), ue(null), T(n), k(r.key), j(null), N(!1), Se(!1), F.reveal(zG(e.length, t, r).get(r.key) || r, i, !0), i || requestAnimationFrame(() => y.current?.querySelector("[data-wall-play]")?.focus({ preventScroll: !0 }));+ }, me(""), ue(null), T(n), k(r.key), j(null), N(!1), Se(!1), F.reveal(RG(e.length, t, r).get(r.key) || r, i, !0), i || requestAnimationFrame(() => y.current?.querySelector("[data-wall-play]")?.focus({ preventScroll: !0 }));}, Be = () => {ne && y.current && (Me(), Le(!0), l.wallDetails?.(ne, y.current.querySelector("[data-wall-focus]") || y.current));}, Ve = async (e = ne) => {@@ -53709,7 +53709,7 @@ function sK({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:C.current === t && fe(!1);}}, He = () => {- let e = CM(P || null, se || 0);+ let e = SM(P || null, se || 0);e && (j(e.id), Ve(e));};(0, D.useEffect)(() => {@@ -53731,7 +53731,7 @@ function sK({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:let r = F.snapshot(), i = e.findIndex((e) => e.id === n.id), a = {x: (F.view.size.width / 2 - r.x) / r.scale,y: (F.view.size.height / 2 - r.y) / r.scale- }, o = t ? RG(e.length, i) : h.nearest(e.length, i, a);+ }, o = t ? LG(e.length, i) : h.nearest(e.length, i, a);o && (ze(n, o), ue(n.id));}, Ke = async () => {if (!(r || g.current)) {@@ -53823,7 +53823,7 @@ function sK({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:/* @__PURE__ */ (0, O.jsx)("div", {"data-wall-focus-backdrop": "","aria-hidden": "true",- children: /* @__PURE__ */ (0, O.jsx)(oK, {+ children: /* @__PURE__ */ (0, O.jsx)(aK, {item: w,image: Ee,big: !0@@ -53831,7 +53831,7 @@ function sK({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:}),/* @__PURE__ */ (0, O.jsx)("div", {"data-wall-scene": "",- children: /* @__PURE__ */ (0, O.jsx)(oK, {+ children: /* @__PURE__ */ (0, O.jsx)(aK, {item: w,image: Ee,big: !0@@ -53860,7 +53860,7 @@ function sK({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:}),Ze.code ? /* @__PURE__ */ (0, O.jsx)("strong", { children: Xe(Ze).startsWith(Ze.code) ? Xe(Ze).slice(Ze.code.length).trim() : Xe(Ze) }) : null,/* @__PURE__ */ (0, O.jsx)("span", { children: Ze.performers?.join(" · ") || Ze.creator || "未归属" }),- P ? /* @__PURE__ */ (0, O.jsx)("small", { children: [Ze.edition_label, Ze.part_label ? AM(Ze.part_label) : ""].filter(Boolean).join(" · ") }) : null+ P ? /* @__PURE__ */ (0, O.jsx)("small", { children: [Ze.edition_label, Ze.part_label ? kM(Ze.part_label) : ""].filter(Boolean).join(" · ") }) : null]}),/* @__PURE__ */ (0, O.jsx)("button", {@@ -53877,7 +53877,7 @@ function sK({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:}),pe || ee && te.error && !P ? /* @__PURE__ */ (0, O.jsxs)("div", {"data-wall-play-error": "",- children: [/* @__PURE__ */ (0, O.jsx)(zz, {+ children: [/* @__PURE__ */ (0, O.jsx)(Rz, {tone: "error",children: pe || Wt(te.error)}), te.error && !P ? /* @__PURE__ */ (0, O.jsx)(q, {@@ -53887,7 +53887,7 @@ function sK({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:children: "立即重试"}) : null]}) : null,- /* @__PURE__ */ (0, O.jsx)(ZG, {+ /* @__PURE__ */ (0, O.jsx)(XG, {item: Ze,playing: se,frame: b,@@ -53909,7 +53909,7 @@ function sK({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:ended: He,error: me}),- M ? /* @__PURE__ */ (0, O.jsx)(tK, {+ M ? /* @__PURE__ */ (0, O.jsx)(eK, {items: Ue,activeId: Ze.id,kind: P?.kind || "wall",@@ -53925,7 +53925,7 @@ function sK({ 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(), M ? N(!1) : w ? Re() : xe ? Se(!1) : iK());+ e.key !== "Escape" || e.defaultPrevented || (e.preventDefault(), e.stopPropagation(), M ? N(!1) : w ? Re() : xe ? Se(!1) : rK());},children: [/* @__PURE__ */ (0, O.jsx)("button", {@@ -53933,7 +53933,7 @@ function sK({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:"data-wall-back": "","aria-label": "退出播放墙",title: "返回",- onClick: iK,+ onClick: rK,children: /* @__PURE__ */ (0, O.jsx)("svg", {viewBox: "0 0 24 24","aria-hidden": "true",@@ -53951,7 +53951,7 @@ function sK({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:}), /* @__PURE__ */ (0, O.jsx)("p", { children: "当前仅显示筛选结果" })] }), /* @__PURE__ */ (0, O.jsx)(q, {size: "small",variant: "ghost",- onClick: () => $V.push(rK()),+ onClick: () => QV.push(nK()),children: "清除筛选"})]}) : null,@@ -53963,7 +53963,7 @@ function sK({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:onSubmit: (e) => {e.preventDefault();let t = new URLSearchParams(location.search), n = String(new FormData(e.currentTarget).get("q") || "").trim();- n ? t.set("q", n) : t.delete("q"), Me(), $V.push(`/wall?${t}`), Se(!1);+ n ? t.set("q", n) : t.delete("q"), Me(), QV.push(`/wall?${t}`), Se(!1);},children: [/* @__PURE__ */ (0, O.jsx)("svg", {viewBox: "0 0 24 24",@@ -53977,18 +53977,18 @@ function sK({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:defaultValue: new URLSearchParams(location.search).get("q") || ""})]}),- /* @__PURE__ */ (0, O.jsxs)(SU, {+ /* @__PURE__ */ (0, O.jsxs)(xU, {"aria-label": "播放墙图片",value: Ee,onChange: De,- className: CU,- children: [/* @__PURE__ */ (0, O.jsx)(OR, {+ className: SU,+ children: [/* @__PURE__ */ (0, O.jsx)(DR, {value: "cover",- className: wU,+ className: CU,children: "封面"- }), /* @__PURE__ */ (0, O.jsx)(OR, {+ }), /* @__PURE__ */ (0, O.jsx)(DR, {value: "thumbnail",- className: wU,+ className: CU,children: "缩略图"})]}),@@ -54060,7 +54060,7 @@ function sK({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:}}, t.key);let n = e[t.index], r = !!w && t.key === E, i = Ie.get(t.key) || t, a = !ie && !r, o = a ? Math.min(.34, (Math.max(0, t.x + F.view.camera.x / F.view.camera.scale) + Math.max(0, t.y + F.view.camera.y / F.view.camera.scale)) / 103.36 * .03) : 0;- return /* @__PURE__ */ (0, O.jsx)(Oy.article, {+ return /* @__PURE__ */ (0, O.jsx)(Dy.article, {layout: !0,layoutDependency: `${i.x}:${i.y}:${i.width}:${i.height}`,"data-wall-tile": t.key,@@ -54081,7 +54081,7 @@ function sK({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:},whileHover: oe && !re && !r && ie ? { transform: `translateY(0px) scale(${(i.width + 12.16) / i.width},${(i.height + 12.16) / i.height})` } : void 0,transition: re ? { duration: 0 } : {- layout: JG,+ layout: qG,transform: a ? {type: "spring",stiffness: 360,@@ -54114,7 +54114,7 @@ function sK({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:!r && ["Enter", " "].includes(e.key) && (e.preventDefault(), ze(n, t, !1));},children: r ? Qe : /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [- /* @__PURE__ */ (0, O.jsx)(oK, {+ /* @__PURE__ */ (0, O.jsx)(aK, {item: n,image: Ee,ratio: i.width / i.height@@ -54140,7 +54140,7 @@ function sK({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:style: { "--wall-progress": `${Math.min(100, Number(n.leave_ratio) * 100)}%` },"aria-label": "观看进度"}) : null,- /* @__PURE__ */ (0, O.jsx)(Oy.span, {+ /* @__PURE__ */ (0, O.jsx)(Dy.span, {"data-wall-dim": "",animate: { opacity: w ? .65 : 0 },transition: { duration: re ? 0 : .24 }@@ -54152,7 +54152,7 @@ function sK({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:}),!i && a ? /* @__PURE__ */ (0, O.jsxs)("div", {"data-wall-error": "",- children: [/* @__PURE__ */ (0, O.jsx)(zz, {+ children: [/* @__PURE__ */ (0, O.jsx)(Rz, {tone: "error",children: a}), /* @__PURE__ */ (0, O.jsx)(q, {@@ -54179,7 +54179,7 @@ function sK({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:}) : null,!t && (n || e.length > 0) ? /* @__PURE__ */ (0, O.jsx)("div", {"data-wall-refresh": "",- children: /* @__PURE__ */ (0, O.jsx)(ZU, {+ children: /* @__PURE__ */ (0, O.jsx)(XU, {busy: r,onPress: () => void Je()})@@ -54189,20 +54189,20 @@ function sK({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:children: /* @__PURE__ */ (0, O.jsxs)(q, {size: "small",variant: "secondary",- ...Wz(r),+ ...Uz(r),onClick: () => void Ke(),children: [r ? /* @__PURE__ */ (0, O.jsx)("span", { dangerouslySetInnerHTML: { __html: rs() } }) : null, "载入更多"]})}) : null,he ? /* @__PURE__ */ (0, O.jsxs)("div", {"data-wall-error": "",- children: [/* @__PURE__ */ (0, O.jsx)(zz, {+ children: [/* @__PURE__ */ (0, O.jsx)(Rz, {tone: "error",children: he}), /* @__PURE__ */ (0, O.jsx)(q, {size: "small",variant: "ghost",- ...Wz(r),+ ...Uz(r),onClick: () => void Ke(),children: "立即重试"})]@@ -54226,7 +54226,7 @@ function sK({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:}//#endregion//#region src/catalog-onboarding.ts-var cK = [+var sK = ["loc","creator","performer",@@ -54244,19 +54244,19 @@ var cK = ["jav","thumb"];-function lK(e = typeof location > "u" ? "/" : location.href) {+function cK(e = typeof location > "u" ? "/" : location.href) {let t = new URL(e, "http://localhost");for (let e of [- ...cK,+ ...sK,"q","category","cat"]) t.searchParams.delete(e);return t.searchParams.set("thumb", "0"), t.pathname + (t.search ? t.search : "") + t.hash;}-async function uK(e, t) {+async function lK(e, t) {let n = new URLSearchParams();- for (let t of cK) e[t] && n.set(t, e[t]);+ for (let t of sK) 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 || [],@@ -54267,9 +54267,9 @@ async function uK(e, t) {return r.set("q", e), r.set("limit", "1"), (await t("/api/items?" + r)).total > 0 ? e : "";}))).filter(Boolean);}-function dK({ kind: e = "catalog", filtered: t = !1, jav: n = !1, configurable: r = !1, online: i = !1 } = {}) {+function uK({ 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 ss("search", n ? "还没有符合条件的 JAV 作品" : "没有符合条件的内容", n ? "已扫描但尚未补充发行资料的视频可在全部内容中查看。" : "清除筛选或搜索条件后查看全部内容。", { actions: `<a class="geist-button primary" href="${t ? z(lK()) : "/?loc=&thumb=0"}">${t ? "清除筛选" : "查看全部内容"}</a>` });+ if (t || n) return ss("search", n ? "还没有符合条件的 JAV 作品" : "没有符合条件的内容", n ? "已扫描但尚未补充发行资料的视频可在全部内容中查看。" : "清除筛选或搜索条件后查看全部内容。", { actions: `<a class="geist-button primary" href="${t ? z(cK()) : "/?loc=&thumb=0"}">${t ? "清除筛选" : "查看全部内容"}</a>` });if (e !== "catalog") {let t = (i ? {tags: "标签",@@ -54288,17 +54288,17 @@ function dK({ kind: e = "catalog", filtered: t = !1, jav: n = !1, configurable:}//#endregion//#region src/react/video-wall/wall-empty.ts-function fK({ libraryEmpty: e, matches: t, hasMore: n, catalogEmpty: r }) {- return e ? r || dK() : t ? ss("image", "这些视频还没有封面", n ? "载入更多作品后继续浏览。" : "为作品补充封面后,可在播放墙中查看。", { actions: "<a class=\"geist-button primary\" href=\"/data-cleanup\">补全封面</a>" + (n ? "<button type=\"button\" class=\"geist-button\" data-wall-load-more>加载更多</button>" : "") }) : ss("search", "没有符合筛选条件的视频", "清除筛选条件后查看全部视频。", { actions: `<a class="geist-button primary" href="${rK()}">清除筛选</a>` });+function dK({ libraryEmpty: e, matches: t, hasMore: n, catalogEmpty: r }) {+ return e ? r || uK() : t ? ss("image", "这些视频还没有封面", n ? "载入更多作品后继续浏览。" : "为作品补充封面后,可在播放墙中查看。", { actions: "<a class=\"geist-button primary\" href=\"/data-cleanup\">补全封面</a>" + (n ? "<button type=\"button\" class=\"geist-button\" data-wall-load-more>加载更多</button>" : "") }) : ss("search", "没有符合筛选条件的视频", "清除筛选条件后查看全部视频。", { actions: `<a class="geist-button primary" href="${nK()}">清除筛选</a>` });}//#endregion//#region src/react/library-processing/processing-actions.tsx-function pK({ command: e, speed: t, dialog: n, onSpeed: r, busy: i }) {+function fK({ command: e, speed: t, dialog: n, onSpeed: r, busy: i }) {let [a, o] = (0, D.useState)(t), [s, c] = (0, D.useState)(), [l, u] = (0, D.useState)("");return (0, D.useEffect)(() => {let t = new AbortController(), r, i = async (a) => {try {- let o = await Hme(e, t.signal, a);+ let o = await Ume(e, t.signal, a);if (!o.traffic) throw Error("服务端未提供流量预估");if (t.signal.aborted) return;c(o.traffic), n.confirmButton.disabled = !1, o.traffic.inventory?.token && (r = setTimeout(() => {@@ -54316,7 +54316,7 @@ function pK({ command: e, speed: t, dialog: n, onSpeed: r, busy: i }) {children: [/* @__PURE__ */ (0, O.jsx)("div", {className: "flex justify-center",- children: /* @__PURE__ */ (0, O.jsx)(NH, {+ children: /* @__PURE__ */ (0, O.jsx)(MH, {value: a,busy: i,onChange: (e) => {@@ -54324,7 +54324,7 @@ function pK({ command: e, speed: t, dialog: n, onSpeed: r, busy: i }) {}})}),- s ? /* @__PURE__ */ (0, O.jsx)(iU, {+ s ? /* @__PURE__ */ (0, O.jsx)(rU, {traffic: s,initial: !0}) : null,@@ -54336,7 +54336,7 @@ function pK({ command: e, speed: t, dialog: n, onSpeed: r, busy: i }) {]});}-function mK({ busy: e, scan: t = !1, metadataOnly: n = !1, speedMode: r = "standard", onRun: i }) {+function pK({ busy: e, scan: t = !1, metadataOnly: n = !1, speedMode: r = "standard", onRun: i }) {let a = (0, D.useRef)(null), o = (0, D.useRef)(null), [s, c] = (0, D.useState)(null), l = (0, D.useRef)(r);(0, D.useEffect)(() => () => o.current?.close(), []);let [u, d] = (0, D.useState)(!1), f = {@@ -54394,7 +54394,7 @@ function mK({ busy: e, scan: t = !1, metadataOnly: n = !1, speedMode: r = "stand});};return /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [- s ? (0, Et.createPortal)(/* @__PURE__ */ (0, O.jsx)(pK, {+ s ? (0, Et.createPortal)(/* @__PURE__ */ (0, O.jsx)(fK, {command: s.command,dialog: s.dialog,speed: r,@@ -54403,11 +54403,11 @@ function mK({ busy: e, scan: t = !1, metadataOnly: n = !1, speedMode: r = "standl.current = e;}}), s.host) : null,- s ? (0, Et.createPortal)(/* @__PURE__ */ (0, O.jsx)(TH, {+ s ? (0, Et.createPortal)(/* @__PURE__ */ (0, O.jsx)(wH, {href: "/settings/library",size: "small",variant: "primary",- trailingIcon: mz,+ trailingIcon: pz,disabled: e,onClick: (e) => {s.dialog.confirmButton.getAttribute("aria-busy") === "true" ? e.preventDefault() : s.dialog.close();@@ -54419,30 +54419,30 @@ function mK({ busy: e, scan: t = !1, metadataOnly: n = !1, speedMode: r = "stand"data-split-button": !0,"data-variant": "primary",children: [/* @__PURE__ */ (0, O.jsx)(q, {- ...Wz(e),+ ...Uz(e),onClick: () => m(f.command),children: f.label}), /* @__PURE__ */ (0, O.jsx)(q, {ref: a,iconOnly: !0,- leadingIcon: pz,+ leadingIcon: fz,"aria-label": "更多同步方式","aria-haspopup": "dialog","aria-expanded": u,- ...Wz(e),+ ...Uz(e),onClick: () => {e || d(!u);}})]}),- /* @__PURE__ */ (0, O.jsx)(sR, {+ /* @__PURE__ */ (0, O.jsx)(oR, {triggerRef: a,isOpen: u,onOpenChange: d,placement: "bottom end",offset: 4,- className: eV,- children: /* @__PURE__ */ (0, O.jsx)(DH, {+ className: $B,+ children: /* @__PURE__ */ (0, O.jsx)(EH, {"aria-label": "同步方式",className: "flex w-80 flex-col gap-1 outline-none",children: p.map(({ label: e, description: t, command: r }) => {@@ -54451,7 +54451,7 @@ function mK({ busy: e, scan: t = !1, metadataOnly: n = !1, speedMode: r = "standtype: "button",disabled: i,title: i ? "请先在媒体库设置中开启视频预览生成" : void 0,- className: AF(tV, nV, "text-body-2-medium"),+ className: kF(eV, tV, "text-body-2-medium"),onClick: () => m(r),children: /* @__PURE__ */ (0, O.jsxs)("span", {className: "flex min-w-0 flex-col gap-1",@@ -54468,48 +54468,48 @@ function mK({ busy: e, scan: t = !1, metadataOnly: n = !1, speedMode: r = "stand}//#endregion//#region src/react/library-processing/library-completion.tsx-function hK(e, t) {+function mK(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) && !Ka(e, "small", !1, t).html).map((e) => e.id))];}-function gK({ assetIds: e, onComplete: t, className: n = "mb-4" }) {- return e.length ? /* @__PURE__ */ (0, O.jsx)(_K, {+function hK({ assetIds: e, onComplete: t, className: n = "mb-4" }) {+ return e.length ? /* @__PURE__ */ (0, O.jsx)(gK, {assetIds: e,onComplete: t,className: n}) : null;}-function _K({ assetIds: e, onComplete: t, className: n }) {+function gK({ assetIds: e, onComplete: t, className: n }) {let r = Ct({- queryKey: mH,- queryFn: ({ signal: e }) => _H(e),- refetchInterval: (e) => bH(e.state.data, !0)+ queryKey: pH,+ queryFn: ({ signal: e }) => gH(e),+ refetchInterval: (e) => yH(e.state.data, !0)}), [i, a] = (0, D.useState)(null), [o, s] = (0, D.useState)(""), c = (0, D.useRef)(null), l = wt({- mutationFn: (t) => V(pH, {+ mutationFn: (t) => V(fH, {...t,asset_ids: e}),onSuccess: (e) => {- a(e.job_id || null), H.setQueryData(mH, e), H.invalidateQueries({ queryKey: mH });+ a(e.job_id || null), H.setQueryData(pH, e), H.invalidateQueries({ queryKey: pH });}}), u = r.data;if ((0, D.useEffect)(() => {- u && i && u.job_id === i && !hH(u) && c.current !== i && (c.current = i, u.status === "complete" && s(`补全完成:取得 ${u.covers || 0} 张封面,生成 ${u.previews || 0} 部视频预览。`), H.invalidateQueries({ queryKey: ["catalog-grid"] }), t?.());+ u && i && u.job_id === i && !mH(u) && c.current !== i && (c.current = i, u.status === "complete" && s(`补全完成:取得 ${u.covers || 0} 张封面,生成 ${u.previews || 0} 部视频预览。`), H.invalidateQueries({ queryKey: ["catalog-grid"] }), t?.());}, [u,i,t- ]), hH(u)) return null;- let d = l.isPending || hH(u), f = l.error ? jn(l.error) : r.error ? yH : i && u?.job_id === i && u.status === "failed" ? u.error || "补全未完成" : "", p = f || (l.isPending ? "正在启动补全…" : o || `这批影片中有 ${e.length.toLocaleString()} 部暂无预览,可补全资料与图片。`);+ ]), mH(u)) return null;+ let d = l.isPending || mH(u), f = l.error ? jn(l.error) : r.error ? vH : i && u?.job_id === i && u.status === "failed" ? u.error || "补全未完成" : "", p = f || (l.isPending ? "正在启动补全…" : o || `这批影片中有 ${e.length.toLocaleString()} 部暂无预览,可补全资料与图片。`);return /* @__PURE__ */ (0, O.jsx)("section", {"aria-label": "补全预览","aria-live": "polite","data-library-completion": "",- className: AF("@container", n),- children: /* @__PURE__ */ (0, O.jsxs)(zz, {+ className: kF("@container", n),+ children: /* @__PURE__ */ (0, O.jsxs)(Rz, {tone: f ? "warning" : "neutral",action: /* @__PURE__ */ (0, O.jsx)("div", {className: "flex flex-wrap items-center gap-2",- children: /* @__PURE__ */ (0, O.jsx)(mK, {+ children: /* @__PURE__ */ (0, O.jsx)(pK, {busy: d,metadataOnly: u?.metadata_only,onRun: (e) => {@@ -54520,10 +54520,10 @@ function _K({ assetIds: e, onComplete: t, className: n }) {children: [p," ",- /* @__PURE__ */ (0, O.jsx)(TH, {+ /* @__PURE__ */ (0, O.jsx)(wH, {href: "/data-cleanup#libraryProcessing",size: "small",- trailingIcon: mz,+ trailingIcon: pz,children: f ? "打开扫描与采集" : "查看处理详情"})]@@ -54532,32 +54532,32 @@ function _K({ assetIds: e, onComplete: t, className: n }) {}//#endregion//#region node_modules/@tanstack/react-table/dist/FlexRender.js-function vK(e) {- return yK(e) || typeof e == "function" || bK(e);+function _K(e) {+ return vK(e) || typeof e == "function" || yK(e);}-function yK(e) {+function vK(e) {return typeof e == "function" && (() => {let t = Object.getPrototypeOf(e);return t.prototype && t.prototype.isReactComponent;})();}-function bK(e) {+function yK(e) {return typeof e == "object" && typeof e.$$typeof == "symbol" && ["react.memo", "react.forward_ref"].includes(e.$$typeof.description);}-function xK(e, t) {- return e == null ? null : vK(e) ? /* @__PURE__ */ D.createElement(e, t) : e;+function bK(e, t) {+ return e == null ? null : _K(e) ? /* @__PURE__ */ D.createElement(e, t) : e;}-function SK(e) {+function xK(e) {if ("cell" in e && e.cell) {let t = e.cell, n = t.column.columnDef, r = t, i = n;- return r.getIsAggregated?.() ? xK(i.aggregatedCell ?? n.cell, t.getContext()) : r.getIsPlaceholder?.() ? null : xK(n.cell, t.getContext());+ return r.getIsAggregated?.() ? bK(i.aggregatedCell ?? n.cell, t.getContext()) : r.getIsPlaceholder?.() ? null : bK(n.cell, t.getContext());}- return "header" in e && e.header ? xK(e.header.column.columnDef.header, e.header.getContext()) : "footer" in e && e.footer ? xK(e.footer.column.columnDef.footer, e.footer.getContext()) : null;+ return "header" in e && e.header ? bK(e.header.column.columnDef.header, e.header.getContext()) : "footer" in e && e.footer ? bK(e.footer.column.columnDef.footer, e.footer.getContext()) : null;}//#endregion//#region node_modules/@tanstack/store/dist/alien.js/* @__NO_SIDE_EFFECTS__ */-function CK({ update: e, notify: t, unwatched: n }) {+function SK({ update: e, notify: t, unwatched: n }) {return {link: r,unlink: i,@@ -54675,7 +54675,7 @@ function CK({ update: e, notify: t, unwatched: n }) {}//#endregion//#region node_modules/@tanstack/store/dist/atom.js-function wK(e, t, n) {+function CK(e, t, n) {let r = typeof e == "object", i = r ? e : void 0;return {next: (r ? e.next : e)?.bind(i),@@ -54683,38 +54683,38 @@ function wK(e, t, n) {complete: (r ? e.complete : n)?.bind(i)};}-var TK = [], EK = 0, { link: DK, unlink: OK, propagate: kK, checkDirty: AK, shallowPropagate: jK } = /* @__PURE__ */ CK({+var wK = [], TK = 0, { link: EK, unlink: DK, propagate: OK, checkDirty: kK, shallowPropagate: AK } = /* @__PURE__ */ SK({update(e) {return e._update();},notify(e) {- TK[NK++] = e, e.flags &= -3;+ wK[MK++] = e, e.flags &= -3;},unwatched(e) {- e.depsTail !== void 0 && (e.depsTail = void 0, e.flags = 17, LK(e));+ e.depsTail !== void 0 && (e.depsTail = void 0, e.flags = 17, IK(e));}-}), MK = 0, NK = 0, PK, FK = 0;-function IK(e) {+}), jK = 0, MK = 0, NK, PK = 0;+function FK(e) {try {- ++FK, e();+ ++PK, e();} finally {- --FK || RK();+ --PK || LK();}}-function LK(e) {+function IK(e) {let t = e.depsTail, n = t === void 0 ? e.deps : t.nextDep;- for (; n !== void 0;) n = OK(n, e);+ for (; n !== void 0;) n = DK(n, e);}-function RK() {- if (!(FK > 0)) {- for (; MK < NK;) {- let e = TK[MK];- TK[MK++] = void 0, e.notify();+function LK() {+ if (!(PK > 0)) {+ for (; jK < MK;) {+ let e = wK[jK];+ wK[jK++] = void 0, e.notify();}- MK = 0, NK = 0;+ jK = 0, MK = 0;}}-function zK(e, t) {+function RK(e, t) {let n = typeof e == "function", r = e, i = {_snapshot: n ? void 0 : e,subs: void 0,@@ -54723,53 +54723,53 @@ function zK(e, t) {depsTail: void 0,flags: +!n,get() {- return PK !== void 0 && DK(i, PK, EK), i._snapshot;+ return NK !== void 0 && EK(i, NK, TK), i._snapshot;},subscribe(e) {- let t = wK(e), n = { current: !1 }, r = BK(() => {- i.get(), n.current ? (PK = void 0, t.next?.(i._snapshot)) : n.current = !0;+ let t = CK(e), n = { current: !1 }, r = zK(() => {+ i.get(), n.current ? (NK = void 0, t.next?.(i._snapshot)) : n.current = !0;});return { unsubscribe: () => {r.stop();} };},_update(e) {- let a = PK, o = t?.compare ?? Object.is;- if (n) PK = i, ++EK, i.depsTail = void 0;+ let a = NK, o = t?.compare ?? Object.is;+ if (n) NK = i, ++TK, 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 {- PK = a, n && (i.flags &= -5), LK(i);+ NK = a, n && (i.flags &= -5), IK(i);}}};return n ? (i.flags = 17, i.get = function() {let e = i.flags;- if (e & 16 || e & 32 && AK(i.deps, i)) {+ if (e & 16 || e & 32 && kK(i.deps, i)) {if (i._update()) {let e = i.subs;- e !== void 0 && jK(e);+ e !== void 0 && AK(e);}} else e & 32 && (i.flags = e & -33);- return PK !== void 0 && DK(i, PK, EK), i._snapshot;+ return NK !== void 0 && EK(i, NK, TK), i._snapshot;}) : i.set = function(e) {if (i._update(e)) {let e = i.subs;- e !== void 0 && (kK(e), jK(e), RK());+ e !== void 0 && (OK(e), AK(e), LK());}}, i;}-function BK(e) {+function zK(e) {let t = () => {- let t = PK;- PK = n, ++EK, n.depsTail = void 0, n.flags = 6;+ let t = NK;+ NK = n, ++TK, n.depsTail = void 0, n.flags = 6;try {return e();} finally {- PK = t, n.flags &= -5, LK(n);+ NK = t, n.flags &= -5, IK(n);}}, n = {deps: void 0,@@ -54779,17 +54779,17 @@ function BK(e) {flags: 6,notify() {let e = this.flags;- e & 16 || e & 32 && AK(this.deps, this) ? t() : this.flags = 2;+ e & 16 || e & 32 && kK(this.deps, this) ? t() : this.flags = 2;},stop() {- this.flags = 0, this.depsTail = void 0, LK(this);+ this.flags = 0, this.depsTail = void 0, IK(this);}};return t(), n;}//#endregion//#region node_modules/@tanstack/store/dist/shallow.js-function VK(e, t) {+function BK(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) {@@ -54803,18 +54803,18 @@ function VK(e, t) {return !0;}if (e instanceof Date && t instanceof Date) return e.getTime() === t.getTime();- let n = HK(e);- if (n.length !== HK(t).length) return !1;+ let n = VK(e);+ if (n.length !== VK(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 HK(e) {+function VK(e) {return Object.keys(e).concat(Object.getOwnPropertySymbols(e));}//#endregion//#region node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.production.js-var UK = /* @__PURE__ */ o(((e) => {- var t = v(), n = yx();+var HK = /* @__PURE__ */ o(((e) => {+ var t = v(), n = vx();function r(e, t) {return e === t && (e !== 0 || 1 / e == 1 / t) || e !== e && t !== t;}@@ -54858,28 +54858,28 @@ var UK = /* @__PURE__ */ o(((e) => {f.hasValue = !0, f.value = p;}, [p]), l(p), p;};-})), WK = /* @__PURE__ */ o(((e, t) => {- t.exports = UK();-})), GK = WK();-function KK(e, t) {+})), UK = /* @__PURE__ */ o(((e, t) => {+ t.exports = HK();+})), WK = UK();+function GK(e, t) {return e === t;}-function qK(e, t = (e) => e, n) {- let r = n?.compare ?? KK, i = (0, D.useCallback)((t) => {+function KK(e, t = (e) => e, n) {+ let r = n?.compare ?? GK, i = (0, D.useCallback)((t) => {let { unsubscribe: n } = e.subscribe(t);return n;}, [e]), a = (0, D.useCallback)(() => e.get(), [e]);- return (0, GK.useSyncExternalStoreWithSelector)(i, a, a, t, r);+ return (0, WK.useSyncExternalStoreWithSelector)(i, a, a, t, r);}//#endregion//#region node_modules/@tanstack/react-table/dist/Subscribe.js-function JK(e) {- let t = qK(e.source, e.selector, { compare: VK });+function qK(e) {+ let t = KK(e.source, e.selector, { compare: BK });return typeof e.children == "function" ? e.children(t) : e.children;}//#endregion//#region node_modules/@tanstack/table-core/dist/core/reactivity/coreReactivityFeature.utils.js-function YK(e) {+function JK(e) {let t = e;return Object.defineProperty(e, "state", { get() {return e.get();@@ -54887,7 +54887,7 @@ function YK(e) {}//#endregion//#region node_modules/@tanstack/table-core/dist/core/reactivity/renderPhaseReactivity.js-function XK(e) {+function YK(e) {let { createAtom: t, batch: n } = e, r = t(0);return {createOptionsStore: !1,@@ -54917,7 +54917,7 @@ function XK(e) {}};}-function ZK(e, t = Object.is) {+function XK(e, t = Object.is) {let n = !1, r;return {get: e.get,@@ -54931,29 +54931,29 @@ function ZK(e, t = Object.is) {}//#endregion//#region node_modules/@tanstack/react-table/dist/reactivity.js-function QK() {- return XK({- createAtom: zK,- batch: IK+function ZK() {+ return YK({+ createAtom: RK,+ batch: FK});}//#endregion//#region node_modules/@tanstack/table-core/dist/utils.js-function $K(e, t) {+function QK(e, t) {return typeof e == "function" ? e(t) : e;}-function eq(e) {- if (Array.isArray(e)) return e.map(eq);+function $K(e) {+ if (Array.isArray(e)) return e.map($K);if (e && typeof e == "object") {let t = Object.getPrototypeOf(e);if (t !== Object.prototype && t !== null) return e;- let n = t === null ? nq() : {}, r = Object.keys(e);+ let n = t === null ? tq() : {}, 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: eq(e[i]),+ value: $K(e[i]),writable: !0});}@@ -54961,7 +54961,7 @@ function eq(e) {}return e;}-function tq(e, t) {+function eq(e, t) {let n = Object.keys(t), r = e;for (let e = 0; e < n.length; e++) {let i = n[e];@@ -54969,53 +54969,53 @@ function tq(e, t) {}return e;}-function nq() {+function tq() {return Object.create(null);}-function rq(e, t) {+function nq(e, t) {return Object.prototype.hasOwnProperty.call(e, t);}-function iq(e, t) {+function rq(e, t) {return (n) => {- (t.options.atoms?.[e] ?? t.baseAtoms[e]).set((e) => $K(n, e));+ (t.options.atoms?.[e] ?? t.baseAtoms[e]).set((e) => QK(n, e));};}-function aq(e) {+function iq(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 oq(e) {+function aq(e) {return Reflect.ownKeys(e).filter((t) => Object.prototype.propertyIsEnumerable.call(e, t));}-var sq = 3;-function cq(e, t) {- return lq(e, t, sq);+var oq = 3;+function sq(e, t) {+ return cq(e, t, oq);}-function lq(e, t, n) {+function cq(e, t, n) {if (Object.is(e, t)) return !0;- 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 (n <= 0 || !iq(e) || !iq(t) || (Array.isArray(e) || Array.isArray(t)) && (!Array.isArray(e) || !Array.isArray(t) || e.length !== t.length)) return !1;+ let r = aq(e), i = aq(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) || !lq(a[i], o[i], n - 1)) return !1;+ if (!Object.prototype.propertyIsEnumerable.call(t, i) || !cq(a[i], o[i], n - 1)) return !1;}return !0;}-function uq(e, t, n, r = cq) {+function lq(e, t, n, r = sq) {let i = `on${t.charAt(0).toUpperCase()}${t.slice(1)}Change`, a = e.options[i];a && a((e) => {- let t = $K(n, e);+ let t = QK(n, e);return r(e, t) ? e : t;});}-function dq(e) {+function uq(e) {return e instanceof Function;}-function fq(e, t) {+function dq(e, t) {let n = [], r = (e) => {e.forEach((e) => {n.push(e);@@ -55025,7 +55025,7 @@ function fq(e, t) {};return r(e), n;}-var pq = ({ fn: e, memoDeps: t, onAfterCompare: n, onAfterUpdate: r, onBeforeCompare: i, onBeforeUpdate: a }) => {+var fq = ({ fn: e, memoDeps: t, onAfterCompare: n, onAfterUpdate: r, onBeforeCompare: i, onBeforeUpdate: a }) => {let o = [], s;return (c) => {i?.();@@ -55039,23 +55039,23 @@ var pq = ({ fn: e, memoDeps: t, onAfterCompare: n, onAfterUpdate: r, onBeforeComreturn n?.(u), u && (o = l, a?.(), s = e(...l ?? []), r?.(s)), s;};};-function mq(e) {+function pq(e) {let t = !1;return () => {t ? e() : t = !0;};}-function hq({ feature: e, fnName: t, objectId: n, onAfterUpdate: r, table: i, ...a }) {+function mq({ 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 pq({+ return fq({...a,...o});}-function gq(e, t = "_") {+function hq(e, t = "_") {let [n, r] = e.replace(t, " ").split(" ");return {fnKey: r,@@ -55063,10 +55063,10 @@ function gq(e, t = "_") {parentName: n};}-function _q(e, t, n) {+function gq(e, t, n) {for (let [r, { fn: i, memoDeps: a }] of Object.entries(n)) {- let { fnKey: n, fnName: o } = gq(r);- t[n] = a ? hq({+ let { fnKey: n, fnName: o } = hq(r);+ t[n] = a ? mq({memoDeps: a,fn: i,fnName: o,@@ -55075,15 +55075,15 @@ function _q(e, t, n) {}) : i;}}-function vq(e, t, n, r) {+function _q(e, t, n, r) {for (let [i, { fn: a, memoDeps: o }] of Object.entries(r)) {- let { fnKey: r, fnName: s } = gq(i);+ let { fnKey: r, fnName: s } = hq(i);if (o) {let i = `_memo_${r}`;t[r] = function(...t) {if (!this[i]) {let t = this;- this[i] = hq({+ this[i] = mq({memoDeps: (e) => o(t, e),fn: (...e) => a(t, ...e),fnName: s,@@ -55099,18 +55099,18 @@ function vq(e, t, n, r) {};}}-function yq(e, t, n, ...r) {+function vq(e, t, n, ...r) {return e[t]?.(...r) ?? n(e, ...r);}//#endregion//#region node_modules/@tanstack/table-core/dist/core/cells/coreCellsFeature.utils.js-function bq(e) {+function yq(e) {return e.row.getValue(e.column.id);}-function xq(e) {+function bq(e) {return e.getValue() ?? e.table.options.renderFallbackValue;}-function Sq(e) {+function xq(e) {return {table: e.table,column: e.column,@@ -55122,19 +55122,19 @@ function Sq(e) {}//#endregion//#region node_modules/@tanstack/table-core/dist/core/cells/coreCellsFeature.js-var Cq = { assignCellPrototype: (e, t) => {- vq("coreCellsFeature", e, t, {- cell_getValue: { fn: (e) => bq(e) },- cell_renderValue: { fn: (e) => xq(e) },+var Sq = { assignCellPrototype: (e, t) => {+ _q("coreCellsFeature", e, t, {+ cell_getValue: { fn: (e) => yq(e) },+ cell_renderValue: { fn: (e) => bq(e) },cell_getContext: {- fn: (e) => Sq(e),+ fn: (e) => xq(e),memoDeps: (e) => [e]}});} };//#endregion//#region node_modules/@tanstack/table-core/dist/core/columns/constructColumn.js-function wq(e) {+function Cq(e) {if (!e._columnPrototype) {e._columnPrototype = { table: e };let t = Object.values(e._features);@@ -55142,7 +55142,7 @@ function wq(e) {}return e._columnPrototype;}-function Tq(e, t, n, r) {+function wq(e, t, n, r) {let i = {...e.getDefaultColumnDef(),...t@@ -55162,7 +55162,7 @@ function Tq(e, t, n, r) {} else c = (e) => e[i.accessorKey];}if (!s) throw Error();- let l = wq(e), u = Object.create(l);+ let l = Cq(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);@@ -55170,47 +55170,47 @@ function Tq(e, t, n, r) {}//#endregion//#region node_modules/@tanstack/table-core/dist/core/featureStubs.js-function Eq(e) {+function Tq(e) {return e.getIsVisible?.() ?? !0;}-function Dq(e) {+function Eq(e) {return e.getVisibleLeafColumns?.() ?? e.getAllLeafColumns();}-function Oq(e, t) {+function Dq(e, t) {let n = e, r = t;return n.getOrderColumnsFn?.()(r) ?? n._orderGroupedColumns?.(r) ?? t;}-function kq(e, t, n, r) {+function Oq(e, t, n, r) {return e._orderByColumnPinning?.(t, n, r) ?? t;}-function Aq(e, t) {+function kq(e, t) {return e._expandRows?.(t) ?? t;}-function jq(e) {+function Aq(e) {e.autoResetExpanded?.();}-function Mq(e) {+function jq(e) {e.autoResetPageIndex?.();}-function Nq(e) {+function Mq(e) {e.autoResetSorting?.();}-function Pq(e) {+function Nq(e) {e.autoResetCellSelection?.();}//#endregion//#region node_modules/@tanstack/table-core/dist/core/columns/coreColumnsFeature.utils.js-function Fq(e) {+function Pq(e) {return [e, ...e.columns.flatMap((e) => e.getFlatColumns())];}-function Iq(e) {+function Fq(e) {if (e.columns.length) {let t = e.columns.flatMap((e) => e.getLeafColumns());- return Oq(e.table, t);+ return Dq(e.table, t);}return [e];}-function Lq(e) {+function Iq(e) {return {header: (e) => {let t = e.header.column.columnDef;@@ -55221,54 +55221,54 @@ function Lq(e) {...e.options.defaultColumn};}-function Rq(e, t, n, r = 0) {+function Lq(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 = Tq(e, o, r, n), c = o;- s.columns = c.columns ? Rq(e, c.columns, s, r + 1) : [], i[a] = s;+ let o = t[a], s = wq(e, o, r, n), c = o;+ s.columns = c.columns ? Lq(e, c.columns, s, r + 1) : [], i[a] = s;}return i;}-function zq(e) {- return Rq(e, e.options.columns);+function Rq(e) {+ return Lq(e, e.options.columns);}-function xge(e) {+function Sge(e) {return e.getAllColumns().flatMap((e) => e.getFlatColumns());}-function Sge(e) {- let t = nq(), n = e.getAllFlatColumns();+function Cge(e) {+ let t = tq(), n = e.getAllFlatColumns();for (let e = 0; e < n.length; e++) {let r = n[e];t[r.id] = r;}return t;}-function Cge(e) {- return Oq(e, e.getAllColumns().flatMap((e) => e.getLeafColumns()));-}function wge(e) {- let t = nq(), n = e.getAllLeafColumns();+ return Dq(e, e.getAllColumns().flatMap((e) => e.getLeafColumns()));+}+function Tge(e) {+ let t = tq(), n = e.getAllLeafColumns();for (let e = 0; e < n.length; e++) {let r = n[e];t[r.id] = r;}return t;}-function Tge(e, t) {+function Ege(e, t) {return e.getAllFlatColumnsById()[t];}//#endregion//#region node_modules/@tanstack/table-core/dist/core/columns/coreColumnsFeature.js-var Ege = {+var Dge = {assignColumnPrototype: (e, t) => {- vq("coreColumnsFeature", e, t, {+ _q("coreColumnsFeature", e, t, {column_getFlatColumns: {- fn: (e) => Fq(e),+ fn: (e) => Pq(e),memoDeps: (e) => [e.table.options.columns]},column_getLeafColumns: {- fn: (e) => Iq(e),+ fn: (e) => Fq(e),memoDeps: (e) => [e.table.atoms.columnOrder?.get(),e.table.atoms.grouping?.get(),@@ -55279,25 +55279,25 @@ var Ege = {});},constructTableAPIs: (e) => {- _q("coreColumnsFeature", e, {+ gq("coreColumnsFeature", e, {table_getDefaultColumnDef: {- fn: () => Lq(e),+ fn: () => Iq(e),memoDeps: () => [e.options.defaultColumn]},table_getAllColumns: {- fn: () => zq(e),+ fn: () => Rq(e),memoDeps: () => [e.options.columns]},table_getAllFlatColumns: {- fn: () => xge(e),+ fn: () => Sge(e),memoDeps: () => [e.options.columns]},table_getAllFlatColumnsById: {- fn: () => Sge(e),+ fn: () => Cge(e),memoDeps: () => [e.options.columns]},table_getAllLeafColumns: {- fn: () => Cge(e),+ fn: () => wge(e),memoDeps: () => [e.atoms.columnOrder?.get(),e.atoms.grouping?.get(),@@ -55306,16 +55306,16 @@ var Ege = {]},table_getAllLeafColumnsById: {- fn: () => wge(e),+ fn: () => Tge(e),memoDeps: () => [e.getAllLeafColumns()]},- table_getColumn: { fn: (t) => Tge(e, t) }+ table_getColumn: { fn: (t) => Ege(e, t) }});}};//#endregion//#region node_modules/@tanstack/table-core/dist/core/headers/constructHeader.js-function Dge(e) {+function Oge(e) {if (!e._headerPrototype) {e._headerPrototype = { table: e };let t = Object.values(e._features);@@ -55323,8 +55323,8 @@ function Dge(e) {}return e._headerPrototype;}-function Bq(e, t, n) {- let r = Dge(e), i = Object.create(r);+function zq(e, t, n) {+ let r = Oge(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);@@ -55332,30 +55332,30 @@ function Bq(e, t, n) {}//#endregion//#region node_modules/@tanstack/table-core/dist/core/headers/buildHeaderGroups.js-function Vq(e, t = 1) {+function Bq(e, t = 1) {let n = t;for (let r = 0; r < e.length; r++) {let i = e[r];- Eq(i) && i.columns.length && (n = Math.max(n, Vq(i.columns, t + 1)));+ Tq(i) && i.columns.length && (n = Math.max(n, Bq(i.columns, t + 1)));}return n;}-function Oge(e, t) {+function kge(e, t) {return e ? `${e}_${t}` : String(t);}-function kge(e, t, n, r) {+function Age(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 Age(e, t) {+function jge(e, t) {let n = 0;for (let r = 0; r < e.length; r++) e[r].column === t && n++;return n;}-function Hq(e, t, n, r, i, a) {+function Vq(e, t, n, r, i, a) {let o = {depth: t,- id: Oge(r, t),+ id: kge(r, t),headers: []}, s = [];for (let i = 0; i < e.length; i++) {@@ -55363,10 +55363,10 @@ function Hq(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 = Bq(n, u, {- id: kge(r, t, u.id, a.id),+ let e = zq(n, u, {+ id: Age(r, t, u.id, a.id),isPlaceholder: d,- placeholderId: d ? String(Age(s, u)) : void 0,+ placeholderId: d ? String(jge(s, u)) : void 0,depth: t,index: s.length});@@ -55375,18 +55375,18 @@ function Hq(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 && Hq(s, t - 1, n, r, i, a);+ i.push(o), t > 0 && Vq(s, t - 1, n, r, i, a);}-function Uq(e) {+function Hq(e) {for (let t = 0; t < e.length; t++) {let n = e[t];- if (!Eq(n.column)) continue;+ if (!Tq(n.column)) continue;let r = 0;if (n.subHeaders.length) {- Uq(n.subHeaders);+ Hq(n.subHeaders);for (let e = 0; e < n.subHeaders.length; e++) {let t = n.subHeaders[e];- Eq(t.column) && (r += t.colSpan);+ Tq(t.column) && (r += t.colSpan);}} else r = 1;if (n.colSpan = r, n.isPlaceholder && n.subHeaders.length === 1 && n.subHeaders[0].column === n.column) {@@ -55396,38 +55396,38 @@ function Uq(e) {} else n.rowSpan = 1;}}-function jge(e, t, n, r) {- let i = Vq(e), a = [], o = n._headerGroupInstanceInitFns, s = Array(t.length);- for (let e = 0; e < t.length; e++) e in t && (s[e] = Bq(n, t[e], {+function Mge(e, t, n, r) {+ let i = Bq(e), a = [], o = n._headerGroupInstanceInitFns, s = Array(t.length);+ for (let e = 0; e < t.length; e++) e in t && (s[e] = zq(n, t[e], {depth: i,index: e}));- return Hq(s, i - 1, n, r, a, o), a.reverse(), Uq(a[0]?.headers ?? []), a;+ return Vq(s, i - 1, n, r, a, o), a.reverse(), Hq(a[0]?.headers ?? []), a;}//#endregion//#region node_modules/@tanstack/table-core/dist/core/headers/coreHeadersFeature.utils.js-function Wq(e, t) {- for (let n = 0; n < e.subHeaders.length; n++) Wq(e.subHeaders[n], t);+function Uq(e, t) {+ for (let n = 0; n < e.subHeaders.length; n++) Uq(e.subHeaders[n], t);t.push(e);}-function Mge(e) {+function Nge(e) {let t = [];- return Wq(e, t), t;+ return Uq(e, t), t;}-function Nge(e) {+function Pge(e) {return {column: e.column,header: e,table: e.column.table};}-function Pge(e) {- return jge(e.getAllColumns(), kq(e, Dq(e), (e) => e.id), e);-}function Fge(e) {- return [...e.getHeaderGroups()].reverse();+ return Mge(e.getAllColumns(), Oq(e, Eq(e), (e) => e.id), e);}function Ige(e) {+ return [...e.getHeaderGroups()].reverse();+}+function Lge(e) {let t = e.getHeaderGroups(), n = [];for (let e = 0; e < t.length; e++) {let r = t[e].headers;@@ -55435,7 +55435,7 @@ function Ige(e) {}return n;}-function Lge(e) {+function Rge(e) {let t = e.getHeaderGroups()[0]?.headers ?? [], n = [];for (let e = 0; e < t.length; e++) {let r = t[e].getLeafHeaders();@@ -55445,23 +55445,23 @@ function Lge(e) {}//#endregion//#region node_modules/@tanstack/table-core/dist/core/headers/coreHeadersFeature.js-var Rge = {+var zge = {assignHeaderPrototype: (e, t) => {- vq("coreHeadersFeature", e, t, {+ _q("coreHeadersFeature", e, t, {header_getLeafHeaders: {- fn: (e) => Mge(e),+ fn: (e) => Nge(e),memoDeps: (e) => [e.column.table.options.columns]},header_getContext: {- fn: (e) => Nge(e),+ fn: (e) => Pge(e),memoDeps: (e) => [e.column.table.options.columns]}});},constructTableAPIs: (e) => {- _q("coreHeadersFeature", e, {+ gq("coreHeadersFeature", e, {table_getHeaderGroups: {- fn: () => Pge(e),+ fn: () => Fge(e),memoDeps: () => [e.options.columns,e.atoms.columnOrder?.get(),@@ -55472,15 +55472,15 @@ var Rge = {]},table_getFooterGroups: {- fn: () => Fge(e),+ fn: () => Ige(e),memoDeps: () => [e.getHeaderGroups()]},table_getFlatHeaders: {- fn: () => Ige(e),+ fn: () => Lge(e),memoDeps: () => [e.getHeaderGroups()]},table_getLeafHeaders: {- fn: () => Lge(e),+ fn: () => Rge(e),memoDeps: () => [e.getHeaderGroups()]}});@@ -55488,7 +55488,7 @@ var Rge = {};//#endregion//#region node_modules/@tanstack/table-core/dist/core/rows/constructRow.js-function zge(e) {+function Bge(e) {if (!e._rowPrototype) {e._rowPrototype = { table: e };let t = Object.values(e._features);@@ -55496,102 +55496,102 @@ function zge(e) {}return e._rowPrototype;}-var Bge = (e, t, n, r, i, a, o) => {- let s = zge(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 ?? [];+var Vge = (e, t, n, r, i, a, o) => {+ let s = Bge(e), c = Object.create(s);+ c._displayIndexCache = -1, c._uniqueValuesCache = tq(), c._valuesCache = tq(), c.depth = i, c.id = t, c.index = r, c.original = n, c.parentId = o, c.subRows = a ?? [];let l = e._rowInstanceInitFns;for (let e = 0; e < l.length; e++) l[e](c);return c;};//#endregion//#region node_modules/@tanstack/table-core/dist/core/row-models/createCoreRowModel.js-function Vge() {- return (e) => hq({+function Hge() {+ return (e) => mq({feature: "coreRowModelsFeature",table: e,fnName: "table.getCoreRowModel",memoDeps: () => [e.options.data],- fn: () => Hge(e, e.options.data),- onAfterUpdate: mq(() => {- jq(e), Mq(e), Nq(e), Pq(e);+ fn: () => Uge(e, e.options.data),+ onAfterUpdate: pq(() => {+ Aq(e), jq(e), Mq(e), Nq(e);})});}-function Gq(e, t, n, r = 0, i) {+function Wq(e, t, n, r = 0, i) {let a = [];for (let o = 0; o < n.length; o++) {- let s = n[o], c = Bge(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 = Gq(e, t, c.originalSubRows, r + 1, c)));+ let s = n[o], c = Vge(e, e.getRowId(s, o, i), s, o, r, void 0, i?.id);+ t.flatRows.push(c), t.rowsById[c.id] = c, a.push(c), e.options.getSubRows && (c.originalSubRows = e.options.getSubRows(s, o), c.originalSubRows?.length && (c.subRows = Wq(e, t, c.originalSubRows, r + 1, c)));}return a;}-function Hge(e, t) {+function Uge(e, t) {let n = {rows: [],flatRows: [],- rowsById: nq()+ rowsById: tq()};- return n.rows = Gq(e, n, t), n;+ return n.rows = Wq(e, n, t), n;}//#endregion//#region node_modules/@tanstack/table-core/dist/core/row-models/coreRowModelsFeature.utils.js-function Uge(e) {- return e._rowModels.coreRowModel || (e._rowModels.coreRowModel = e.options.features.coreRowModel?.(e) ?? Vge()(e)), e._rowModels.coreRowModel();-}function Wge(e) {- return e.getCoreRowModel();+ return e._rowModels.coreRowModel || (e._rowModels.coreRowModel = e.options.features.coreRowModel?.(e) ?? Hge()(e)), e._rowModels.coreRowModel();}function Gge(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 Kge(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 qge(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 Jge(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 Yge(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 Xge(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 Zge(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 Qge(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 $ge(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 e_e(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 t_e(e) {return e.getPaginatedRowModel();}//#endregion//#region node_modules/@tanstack/table-core/dist/core/row-models/coreRowModelsFeature.js-var t_e = { constructTableAPIs: (e) => {- _q("coreRowModelsFeature", e, {- table_getCoreRowModel: { fn: () => Uge(e) },- table_getPreFilteredRowModel: { fn: () => Wge(e) },- table_getFilteredRowModel: { fn: () => Gge(e) },- table_getPreGroupedRowModel: { fn: () => Kge(e) },- table_getGroupedRowModel: { fn: () => qge(e) },- table_getPreSortedRowModel: { fn: () => Jge(e) },- table_getSortedRowModel: { fn: () => Yge(e) },- table_getPreExpandedRowModel: { fn: () => Xge(e) },- table_getExpandedRowModel: { fn: () => Zge(e) },- table_getPrePaginatedRowModel: { fn: () => Qge(e) },- table_getPaginatedRowModel: { fn: () => $ge(e) },- table_getRowModel: { fn: () => e_e(e) }+var n_e = { constructTableAPIs: (e) => {+ gq("coreRowModelsFeature", e, {+ table_getCoreRowModel: { fn: () => Wge(e) },+ table_getPreFilteredRowModel: { fn: () => Gge(e) },+ table_getFilteredRowModel: { fn: () => Kge(e) },+ table_getPreGroupedRowModel: { fn: () => qge(e) },+ table_getGroupedRowModel: { fn: () => Jge(e) },+ table_getPreSortedRowModel: { fn: () => Yge(e) },+ table_getSortedRowModel: { fn: () => Xge(e) },+ table_getPreExpandedRowModel: { fn: () => Zge(e) },+ table_getExpandedRowModel: { fn: () => Qge(e) },+ table_getPrePaginatedRowModel: { fn: () => $ge(e) },+ table_getPaginatedRowModel: { fn: () => e_e(e) },+ table_getRowModel: { fn: () => t_e(e) }});} };//#endregion//#region node_modules/@tanstack/table-core/dist/core/cells/constructCell.js-function n_e(e) {+function r_e(e) {if (!e._cellPrototype) {e._cellPrototype = { table: e };let t = Object.values(e._features);@@ -55599,8 +55599,8 @@ function n_e(e) {}return e._cellPrototype;}-function r_e(e, t, n) {- let r = n_e(n), i = Object.create(r);+function i_e(e, t, n) {+ let r = r_e(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);@@ -55608,40 +55608,40 @@ function r_e(e, t, n) {}//#endregion//#region node_modules/@tanstack/table-core/dist/core/rows/coreRowsFeature.utils.js-function i_e(e) {+function a_e(e) {let t = e.table.getRowsInDisplayOrder(), n = e._displayIndexCache;return t[n] === e ? n : -1;}-function a_e(e) {- let t = e.getPrePaginatedRowModel(), n = e.options.paginateExpandedRows === !1 ? Aq(e, t).rows : t.rows;+function o_e(e) {+ let t = e.getPrePaginatedRowModel(), n = e.options.paginateExpandedRows === !1 ? kq(e, t).rows : t.rows;for (let e = 0; e < n.length; e++) n[e]._displayIndexCache = e;return n;}-function o_e(e, t) {- if (rq(e._valuesCache, t)) return e._valuesCache[t];+function s_e(e, t) {+ if (nq(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 s_e(e, t) {- if (rq(e._uniqueValuesCache, t)) return e._uniqueValuesCache[t];+function c_e(e, t) {+ if (nq(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 c_e(e, t) {+function l_e(e, t) {return e.getValue(t) ?? e.table.options.renderFallbackValue;}-function l_e(e) {- return fq(e.subRows, (e) => e.subRows);-}function u_e(e) {+ return dq(e.subRows, (e) => e.subRows);+}+function d_e(e) {let t = e.getCoreRowModel().flatRows, n = 0;for (let e = 0; e < t.length; e++) n = Math.max(n, t[e].depth);return n;}-function d_e(e) {+function f_e(e) {if (e.parentId) return e.table.getCoreRowModel().rowsById[e.parentId] ?? e.table.getRow(e.parentId, !0);}-function f_e(e) {+function p_e(e) {let t = [], n = e;for (;;) {let e = n.getParentRow();@@ -55650,71 +55650,71 @@ function f_e(e) {}return t.reverse();}-function p_e(e) {+function m_e(e) {let t = e.table.getAllLeafColumns(), n = e._cellsCache;n ||= e._cellsCache = /* @__PURE__ */ new WeakMap();let r = Array(t.length);for (let i = 0; i < t.length; i++) {let a = t[i], o = n.get(a);- o || (o = r_e(a, e, e.table), n.set(a, o)), r[i] = o;+ o || (o = i_e(a, e, e.table), n.set(a, o)), r[i] = o;}return r;}-function m_e(e) {- let t = nq(), n = e.getAllCells();+function h_e(e) {+ let t = tq(), n = e.getAllCells();for (let e = 0; e < n.length; e++) {let r = n[e];t[r.column.id] = r;}return t;}-function h_e(e, t, n, r) {+function g_e(e, t, n, r) {return t.options.getRowId?.(e, n, r) ?? (r ? `${r.id}.${n}` : String(n));}-function g_e(e, t, n) {+function __e(e, t, n) {let r = (n ? e.getPrePaginatedRowModel() : e.getRowModel()).rowsById[t];if (!r && (r = e.getCoreRowModel().rowsById[t], !r)) throw Error();return r;}//#endregion//#region node_modules/@tanstack/table-core/dist/core/rows/coreRowsFeature.js-var __e = {+var v_e = {assignRowPrototype: (e, t) => {- vq("coreRowsFeature", e, t, {- row_getDisplayIndex: { fn: (e) => i_e(e) },+ _q("coreRowsFeature", e, t, {+ row_getDisplayIndex: { fn: (e) => a_e(e) },row_getAllCellsByColumnId: {- fn: (e) => m_e(e),+ fn: (e) => h_e(e),memoDeps: (e) => [e.getAllCells()]},row_getAllCells: {- fn: (e) => p_e(e),+ fn: (e) => m_e(e),memoDeps: (e) => [e.table.getAllLeafColumns()]},row_getLeafRows: {- fn: (e) => l_e(e),+ fn: (e) => u_e(e),memoDeps: (e) => [e.subRows]},- row_getParentRow: { fn: (e) => d_e(e) },- row_getParentRows: { fn: (e) => f_e(e) },- row_getUniqueValues: { fn: (e, t) => s_e(e, t) },- row_getValue: { fn: (e, t) => o_e(e, t) },- row_renderValue: { fn: (e, t) => c_e(e, t) }+ row_getParentRow: { fn: (e) => f_e(e) },+ row_getParentRows: { fn: (e) => p_e(e) },+ row_getUniqueValues: { fn: (e, t) => c_e(e, t) },+ row_getValue: { fn: (e, t) => s_e(e, t) },+ row_renderValue: { fn: (e, t) => l_e(e, t) }});},constructTableAPIs: (e) => {- _q("coreRowsFeature", e, {+ gq("coreRowsFeature", e, {table_getRowsInDisplayOrder: {- fn: () => a_e(e),+ fn: () => o_e(e),memoDeps: () => [e.getPrePaginatedRowModel().rows,e.options.paginateExpandedRows,e.options.paginateExpandedRows === !1 ? e.atoms.expanded?.get() : void 0]},- table_getRowId: { fn: (t, n, r) => h_e(t, e, n, r) },- table_getRow: { fn: (t, n) => g_e(e, t, n) },+ table_getRowId: { fn: (t, n, r) => g_e(t, e, n, r) },+ table_getRow: { fn: (t, n) => __e(e, t, n) },table_getMaxSubRowDepth: {- fn: () => u_e(e),+ fn: () => d_e(e),memoDeps: () => [e.getCoreRowModel()]}});@@ -55722,7 +55722,7 @@ var __e = {};//#endregion//#region node_modules/@tanstack/table-core/dist/core/table/coreTablesFeature.utils.js-function Kq(e, t, n = (e, t) => e === t) {+function Gq(e, t, n = (e, t) => e === t) {let r = t === void 0 ? e.options.state : t;e._reactivity.batch(() => {if (r) for (let t in r) {@@ -55733,13 +55733,13 @@ function Kq(e, t, n = (e, t) => e === t) {}});}-function qq(e, t, n = (e, t) => e === t) {+function Kq(e, t, n = (e, t) => e === t) {e._reactivity.batch(() => {- Kq(e, t, n), e._reactivity.commit?.();+ Gq(e, t, n), e._reactivity.commit?.();});}-function v_e(e) {- let t = eq(e.initialState);+function y_e(e) {+ let t = $K(e.initialState);e._reactivity.batch(() => {let n = Object.keys(t);for (let r = 0; r < n.length; r++) {@@ -55750,7 +55750,7 @@ function v_e(e) {let n = Object.values(e._features);for (let t = 0; t < n.length; t++) n[t].resetTableInstanceData?.(e);}-function y_e(e, t) {+function b_e(e, t) {let { features: n, atoms: r, initialState: i } = e.options;if (!e.options.mergeOptions) return {...e.options,@@ -55782,28 +55782,28 @@ function y_e(e, t) {}});}-function Jq(e, t, n) {- let r = y_e(e, $K(t, e.options));- e.optionsStore ? e.optionsStore.set(() => r) : e.options = r, n?.syncExternalState !== !1 && qq(e, r.state ?? null);+function qq(e, t, n) {+ let r = b_e(e, QK(t, e.options));+ e.optionsStore ? e.optionsStore.set(() => r) : e.options = r, n?.syncExternalState !== !1 && Kq(e, r.state ?? null);}//#endregion//#region node_modules/@tanstack/table-core/dist/core/coreFeatures.js-var b_e = {- coreCellsFeature: Cq,- coreColumnsFeature: Ege,- coreHeadersFeature: Rge,- coreRowModelsFeature: t_e,- coreRowsFeature: __e,+var x_e = {+ coreCellsFeature: Sq,+ coreColumnsFeature: Dge,+ coreHeadersFeature: zge,+ coreRowModelsFeature: n_e,+ coreRowsFeature: v_e,coreTablesFeature: { constructTableAPIs: (e) => {- _q("coreTablesFeature", e, {- table_reset: { fn: () => v_e(e) },- table_setOptions: { fn: (t) => Jq(e, t) }+ gq("coreTablesFeature", e, {+ table_reset: { fn: () => y_e(e) },+ table_setOptions: { fn: (t) => qq(e, t) }});} }};//#endregion//#region node_modules/@tanstack/table-core/dist/helpers/columnHelper.js-function Yq() {+function Jq() {return {accessor: (e, t) => typeof e == "function" ? {...t,@@ -55819,22 +55819,22 @@ function Yq() {}//#endregion//#region node_modules/@tanstack/table-core/dist/helpers/tableFeatures.js-function Xq(e) {+function Yq(e) {return e;}//#endregion//#region node_modules/@tanstack/table-core/dist/core/table/constructTable.js-function x_e(e, t = {}) {+function S_e(e, t = {}) {return Object.values(e).forEach((e) => {t = e.getInitialState?.(t) ?? t;- }), eq(t);+ }), $K(t);}-function S_e(e) {+function C_e(e) {let t = e.features.coreReactivityFeature, { aggregationFns: n, columnMeta: r, coreRowModel: i, expandedRowModel: a, facetedMinMaxValues: o, facetedRowModel: s, facetedUniqueValues: c, filterFns: l, filterMeta: u, filteredRowModel: d, groupedRowModel: f, paginatedRowModel: p, sortFns: m, sortedRowModel: h, tableMeta: g, ..._ } = e.features, v = {_cellInstanceInitFns: [],_columnInstanceInitFns: [],_features: {- ...b_e,+ ...x_e,..._},_headerGroupInstanceInitFns: [],@@ -55872,7 +55872,7 @@ function S_e(e) {set(e) {v.optionsStore.set(() => e);}- })) : v.options = b, v.initialState = x_e(v._features, v.options.initialState);+ })) : v.options = b, v.initialState = S_e(v._features, v.options.initialState);let x = Object.keys(v.initialState);for (let e = 0; e < x.length; e++) {let n = x[e];@@ -55880,14 +55880,14 @@ function S_e(e) {let e = v.options, t = e.atoms?.[n], r = t ? t.get() : v.baseAtoms[n].get();if (t) return r;let i = e.state;- if (i && rq(i, n)) {+ if (i && nq(i, n)) {let e = i[n];return e === void 0 ? v.initialState[n] : e;}return r;}, { debugName: `table/atoms/${n}` });}- Kq(v), v.store = YK(t.createReadonlyAtom(() => {+ Gq(v), v.store = JK(t.createReadonlyAtom(() => {let e = {};for (let t = 0; t < x.length; t++) {let n = x[t];@@ -55895,7 +55895,7 @@ function S_e(e) {}return e;}, {- compare: VK,+ compare: BK,debugName: "table/store"}));for (let e = 0; e < y.length; e++) {@@ -55906,108 +55906,108 @@ function S_e(e) {}//#endregion//#region node_modules/@tanstack/table-core/dist/features/column-visibility/columnVisibilityFeature.utils.js-function C_e() {- return nq();+function w_e() {+ return tq();}-function Zq(e, t) {- $q(e) && tJ(e.table, (n) => {- let r = Object.assign(nq(), n), i = t ?? !yq(e, "getIsVisible", Qq), a = e.getLeafColumns();+function Xq(e, t) {+ Qq(e) && eJ(e.table, (n) => {+ let r = Object.assign(tq(), n), i = t ?? !vq(e, "getIsVisible", Zq), a = e.getLeafColumns();for (let e = 0; e < a.length; e++) {let t = a[e];- $q(t) && (r[t.id] = i);+ Qq(t) && (r[t.id] = i);}return r;});}-function Qq(e) {+function Zq(e) {let t = e.table.atoms.columnVisibility?.get();if (!t) return !0;let n = e.columns;- return n.length ? n.some((e) => yq(e, "getIsVisible", Qq)) : (rq(t, e.id) ? t[e.id] : void 0) ?? !0;+ return n.length ? n.some((e) => vq(e, "getIsVisible", Zq)) : (nq(t, e.id) ? t[e.id] : void 0) ?? !0;}-function $q(e) {+function Qq(e) {return (e.columnDef.enableHiding ?? !0) && (e.table.options.enableHiding ?? !0);}-function w_e(e) {+function T_e(e) {return (t) => {- Zq(e, t.target.checked);+ Xq(e, t.target.checked);};}-function T_e(e) {+function E_e(e) {let t = e.getAllCells(), n = [];for (let e = 0; e < t.length; e++) {let r = t[e];- yq(r.column, "getIsVisible", Qq) && n.push(r);+ vq(r.column, "getIsVisible", Zq) && n.push(r);}- return kq(e.table, n, (e) => e.column.id, () => yq(e, "getVisibleCellsByColumnId", eJ));+ return Oq(e.table, n, (e) => e.column.id, () => vq(e, "getVisibleCellsByColumnId", $q));}-function eJ(e) {- let t = nq(), n = e.getAllCells();+function $q(e) {+ let t = tq(), n = e.getAllCells();for (let e = 0; e < n.length; e++) {let r = n[e];- yq(r.column, "getIsVisible", Qq) && (t[r.column.id] = r);+ vq(r.column, "getIsVisible", Zq) && (t[r.column.id] = r);}return t;}-function E_e(e) {- return e.getAllFlatColumns().filter((e) => yq(e, "getIsVisible", Qq));-}function D_e(e) {- return e.getAllLeafColumns().filter((e) => yq(e, "getIsVisible", Qq));+ return e.getAllFlatColumns().filter((e) => vq(e, "getIsVisible", Zq));}-function tJ(e, t) {- uq(e, "columnVisibility", t);+function O_e(e) {+ return e.getAllLeafColumns().filter((e) => vq(e, "getIsVisible", Zq));+}+function eJ(e, t) {+ lq(e, "columnVisibility", t);}-function O_e(e, t) {- tJ(e, t ? nq() : Object.assign(nq(), eq(e.initialState.columnVisibility ?? {})));+function k_e(e, t) {+ eJ(e, t ? tq() : Object.assign(tq(), $K(e.initialState.columnVisibility ?? {})));}-function nJ(e, t) {- t ??= !rJ(e);- let n = nq(), r = e.getAllLeafColumns();+function tJ(e, t) {+ t ??= !nJ(e);+ let n = tq(), r = e.getAllLeafColumns();for (let e = 0; e < r.length; e++) {let i = r[e];- n[i.id] = t || !$q(i);+ n[i.id] = t || !Qq(i);}- tJ(e, n);-}-function rJ(e) {- return !e.getAllLeafColumns().some((e) => !yq(e, "getIsVisible", Qq));+ eJ(e, n);}-function k_e(e) {- return e.getAllLeafColumns().some((e) => yq(e, "getIsVisible", Qq));+function nJ(e) {+ return !e.getAllLeafColumns().some((e) => !vq(e, "getIsVisible", Zq));}function A_e(e) {+ return e.getAllLeafColumns().some((e) => vq(e, "getIsVisible", Zq));+}+function j_e(e) {return (t) => {- nJ(e, t.target.checked);+ tJ(e, t.target.checked);};}//#endregion//#region node_modules/@tanstack/table-core/dist/features/column-visibility/columnVisibilityFeature.js-var iJ = {+var rJ = {getInitialState: (e) => ({- columnVisibility: C_e(),+ columnVisibility: w_e(),...e}),- getDefaultTableOptions: (e) => ({ onColumnVisibilityChange: iq("columnVisibility", e) }),+ getDefaultTableOptions: (e) => ({ onColumnVisibilityChange: rq("columnVisibility", e) }),assignColumnPrototype: (e, t) => {- vq("columnVisibilityFeature", e, t, {+ _q("columnVisibilityFeature", e, t, {column_getIsVisible: {- fn: (e) => Qq(e),+ fn: (e) => Zq(e),memoDeps: (e) => [t.options.columns,t.atoms.columnVisibility?.get(),e.columns]},- column_getCanHide: { fn: (e) => $q(e) },- column_getToggleVisibilityHandler: { fn: (e) => w_e(e) },- column_toggleVisibility: { fn: (e, t) => Zq(e, t) }+ column_getCanHide: { fn: (e) => Qq(e) },+ column_getToggleVisibilityHandler: { fn: (e) => T_e(e) },+ column_toggleVisibility: { fn: (e, t) => Xq(e, t) }});},assignRowPrototype: (e, t) => {- vq("columnVisibilityFeature", e, t, {+ _q("columnVisibilityFeature", e, t, {row_getVisibleCells: {- fn: (e) => T_e(e),+ fn: (e) => E_e(e),memoDeps: (e) => [e.getAllCells(),t.atoms.columnPinning?.get(),@@ -56015,15 +56015,15 @@ var iJ = {]},row_getVisibleCellsByColumnId: {- fn: (e) => eJ(e),+ fn: (e) => $q(e),memoDeps: (e) => [e.getAllCells(), t.atoms.columnVisibility?.get()]}});},constructTableAPIs: (e) => {- _q("columnVisibilityFeature", e, {+ gq("columnVisibilityFeature", e, {table_getVisibleFlatColumns: {- fn: () => E_e(e),+ fn: () => D_e(e),memoDeps: () => [e.atoms.columnVisibility?.get(),e.atoms.columnOrder?.get(),@@ -56033,7 +56033,7 @@ var iJ = {]},table_getVisibleLeafColumns: {- fn: () => D_e(e),+ fn: () => O_e(e),memoDeps: () => [e.atoms.columnVisibility?.get(),e.atoms.columnOrder?.get(),@@ -56042,51 +56042,51 @@ var iJ = {e.options.groupedColumnMode]},- table_setColumnVisibility: { fn: (t) => tJ(e, t) },- table_resetColumnVisibility: { fn: (t) => O_e(e, t) },- table_toggleAllColumnsVisible: { fn: (t) => nJ(e, t) },- table_getIsAllColumnsVisible: { fn: () => rJ(e) },- table_getIsSomeColumnsVisible: { fn: () => k_e(e) },- table_getToggleAllColumnsVisibilityHandler: { fn: () => A_e(e) }+ table_setColumnVisibility: { fn: (t) => eJ(e, t) },+ table_resetColumnVisibility: { fn: (t) => k_e(e, t) },+ table_toggleAllColumnsVisible: { fn: (t) => tJ(e, t) },+ table_getIsAllColumnsVisible: { fn: () => nJ(e) },+ table_getIsSomeColumnsVisible: { fn: () => A_e(e) },+ table_getToggleAllColumnsVisibilityHandler: { fn: () => j_e(e) }});}-}, aJ = 0, oJ = 10;-function sJ() {+}, iJ = 0, aJ = 10;+function oJ() {return {- pageIndex: aJ,- pageSize: oJ+ pageIndex: iJ,+ pageSize: aJ};}-function j_e(e) {+function M_e(e) {if (e.options.autoResetAll ?? e.options.autoResetPageIndex ?? !e.options.manualPagination) {- if ((e.atoms.pagination?.get()?.pageIndex ?? aJ) === aJ) return;- uJ(e, !0);+ if ((e.atoms.pagination?.get()?.pageIndex ?? iJ) === iJ) return;+ lJ(e, !0);}}-function cJ(e, t) {- uq(e, "pagination", t);+function sJ(e, t) {+ lq(e, "pagination", t);}-function M_e(e, t) {- cJ(e, t ? sJ() : eq(e.initialState.pagination ?? sJ()));+function N_e(e, t) {+ sJ(e, t ? oJ() : $K(e.initialState.pagination ?? oJ()));}-function lJ(e, t) {- cJ(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;+function cJ(e, t) {+ sJ(e, (n) => {+ let r = QK(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 uJ(e, t) {- lJ(e, t ? aJ : e.initialState.pagination?.pageIndex ?? aJ);+function lJ(e, t) {+ cJ(e, t ? iJ : e.initialState.pagination?.pageIndex ?? iJ);}-function N_e(e, t) {- dJ(e, t ? oJ : e.initialState.pagination?.pageSize ?? oJ);+function P_e(e, t) {+ uJ(e, t ? aJ : e.initialState.pagination?.pageSize ?? aJ);}-function dJ(e, t) {- cJ(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);+function uJ(e, t) {+ sJ(e, (e) => {+ let n = Math.max(1, QK(t, e.pageSize)), r = e.pageSize === Infinity ? 0 : e.pageSize * e.pageIndex, i = n === Infinity ? 0 : Math.floor(r / n);return {...e,pageIndex: i,@@ -56094,233 +56094,233 @@ function dJ(e, t) {};});}-function P_e(e) {- let t = fJ(e), n = [];- return t && t > 0 && (n = [...Array(t)].fill(null).map((e, t) => t)), n;-}function F_e(e) {- return (e.atoms.pagination?.get()?.pageIndex ?? 0) > 0;+ let t = dJ(e), n = [];+ return t && t > 0 && (n = [...Array(t)].fill(null).map((e, t) => t)), n;}function I_e(e) {- let t = e.atoms.pagination?.get()?.pageIndex ?? aJ, n = fJ(e);- return n === -1 || n !== 0 && t < n - 1;+ return (e.atoms.pagination?.get()?.pageIndex ?? 0) > 0;}function L_e(e) {- let t = e.atoms.pagination?.get()?.pageIndex ?? aJ, n = fJ(e);- return Number.isFinite(n) && n > 0 && t < n - 1;+ let t = e.atoms.pagination?.get()?.pageIndex ?? iJ, n = dJ(e);+ return n === -1 || n !== 0 && t < n - 1;}function R_e(e) {- return lJ(e, (e) => e - 1);+ let t = e.atoms.pagination?.get()?.pageIndex ?? iJ, n = dJ(e);+ return Number.isFinite(n) && n > 0 && t < n - 1;}function z_e(e) {- return lJ(e, (e) => e + 1);+ return cJ(e, (e) => e - 1);}function B_e(e) {- return lJ(e, 0);+ return cJ(e, (e) => e + 1);}function V_e(e) {- let t = fJ(e);- if (!(!Number.isFinite(t) || t <= 0)) return lJ(e, t - 1);+ return cJ(e, 0);}-function fJ(e) {+function H_e(e) {+ let t = dJ(e);+ if (!(!Number.isFinite(t) || t <= 0)) return cJ(e, t - 1);+}+function dJ(e) {let t = e.options.pageCount;if (t != null) return t;- let n = pJ(e), r = e.atoms.pagination?.get()?.pageSize ?? oJ;+ let n = fJ(e), r = e.atoms.pagination?.get()?.pageSize ?? aJ;return r === Infinity && Number.isFinite(n) && n > 0 ? 1 : Math.ceil(n / r);}-function pJ(e) {+function fJ(e) {return e.options.rowCount ?? e.getPrePaginatedRowModel().rows.length;}//#endregion//#region node_modules/@tanstack/table-core/dist/features/row-pagination/rowPaginationFeature.js-var mJ = {+var pJ = {getInitialState: (e) => ({...e,pagination: {- ...sJ(),+ ...oJ(),...e.pagination}}),- getDefaultTableOptions: (e) => ({ onPaginationChange: iq("pagination", e) }),+ getDefaultTableOptions: (e) => ({ onPaginationChange: rq("pagination", e) }),constructTableAPIs: (e) => {- _q("rowPaginationFeature", e, {- table_autoResetPageIndex: { fn: () => j_e(e) },- table_setPagination: { fn: (t) => cJ(e, t) },- table_resetPagination: { fn: (t) => M_e(e, t) },- table_setPageIndex: { fn: (t) => lJ(e, t) },- table_resetPageIndex: { fn: (t) => uJ(e, t) },- table_setPageSize: { fn: (t) => dJ(e, t) },- table_getPageCount: { fn: () => fJ(e) },- table_resetPageSize: { fn: (t) => N_e(e, t) },- table_getPageOptions: { fn: () => P_e(e) },- table_getCanPreviousPage: { fn: () => F_e(e) },- table_getCanNextPage: { fn: () => I_e(e) },- table_getCanLastPage: { fn: () => L_e(e) },- table_previousPage: { fn: () => R_e(e) },- table_nextPage: { fn: () => z_e(e) },- table_firstPage: { fn: () => B_e(e) },- table_lastPage: { fn: () => V_e(e) },- table_getRowCount: { fn: () => pJ(e) }+ gq("rowPaginationFeature", e, {+ table_autoResetPageIndex: { fn: () => M_e(e) },+ table_setPagination: { fn: (t) => sJ(e, t) },+ table_resetPagination: { fn: (t) => N_e(e, t) },+ table_setPageIndex: { fn: (t) => cJ(e, t) },+ table_resetPageIndex: { fn: (t) => lJ(e, t) },+ table_setPageSize: { fn: (t) => uJ(e, t) },+ table_getPageCount: { fn: () => dJ(e) },+ table_resetPageSize: { fn: (t) => P_e(e, t) },+ table_getPageOptions: { fn: () => F_e(e) },+ table_getCanPreviousPage: { fn: () => I_e(e) },+ table_getCanNextPage: { fn: () => L_e(e) },+ table_getCanLastPage: { fn: () => R_e(e) },+ table_previousPage: { fn: () => z_e(e) },+ table_nextPage: { fn: () => B_e(e) },+ table_firstPage: { fn: () => V_e(e) },+ table_lastPage: { fn: () => H_e(e) },+ table_getRowCount: { fn: () => fJ(e) }});}};//#endregion//#region node_modules/@tanstack/table-core/dist/features/row-selection/rowSelectionFeature.utils.js-function H_e() {- return nq();+function U_e() {+ return tq();}-function hJ(e, t) {+function mJ(e, t) {e.options.onRowSelectionChange?.(t);}-function U_e(e, t) {- e._lastSelectedRowId = null, hJ(e, t ? nq() : Object.assign(nq(), eq(e.initialState.rowSelection ?? {})));+function W_e(e, t) {+ e._lastSelectedRowId = null, mJ(e, t ? tq() : Object.assign(tq(), $K(e.initialState.rowSelection ?? {})));}-function gJ(e, t, n) {- e._lastSelectedRowId = null, hJ(e, (r) => {- if (t = t === void 0 ? !yq(e, "getIsAllRowsSelected", yJ) : t, n?.deselectAll && !t) return nq();- let i = Object.assign(nq(), r), a = e.getPreGroupedRowModel().flatRows;+function hJ(e, t, n) {+ e._lastSelectedRowId = null, mJ(e, (r) => {+ if (t = t === void 0 ? !vq(e, "getIsAllRowsSelected", vJ) : t, n?.deselectAll && !t) return tq();+ let i = Object.assign(tq(), r), a = e.getPreGroupedRowModel().flatRows;if (t) {let e = /* @__PURE__ */ new Map();a.forEach((t) => {- kJ(t, e) && (i[t.id] = !0);+ OJ(t, e) && (i[t.id] = !0);});} else a.forEach((e) => {- TJ(e) && delete i[e.id];+ wJ(e) && delete i[e.id];});return i;});}-function _J(e, t, n) {- e._lastSelectedRowId = null, hJ(e, (r) => {- let i = t === void 0 ? !yq(e, "getIsAllPageRowsSelected", bJ) : t;- if (n?.deselectAll && !i) return nq();- let a = Object.assign(nq(), r);+function gJ(e, t, n) {+ e._lastSelectedRowId = null, mJ(e, (r) => {+ let i = t === void 0 ? !vq(e, "getIsAllPageRowsSelected", yJ) : t;+ if (n?.deselectAll && !i) return tq();+ let a = Object.assign(tq(), r);return e.getRowModel().rows.forEach((t) => {- OJ(a, t.id, i, !0, e, !0);+ DJ(a, t.id, i, !0, e, !0);}), a;});}-function W_e(e) {+function G_e(e) {return e.getCoreRowModel();}-function G_e(e) {+function K_e(e) {let t = e.getCoreRowModel();- return yq(e, "getIsSomeRowsSelected", xJ) ? MJ(t, e) : {+ return vq(e, "getIsSomeRowsSelected", bJ) ? jJ(t, e) : {rows: [],flatRows: [],- rowsById: nq()+ rowsById: tq()};}-function K_e(e) {+function q_e(e) {let t = e.getFilteredRowModel();- return yq(e, "getIsSomeRowsSelected", xJ) ? MJ(t, e) : {+ return vq(e, "getIsSomeRowsSelected", bJ) ? jJ(t, e) : {rows: [],flatRows: [],- rowsById: nq()+ rowsById: tq()};}-function q_e(e) {+function J_e(e) {let t = e.getSortedRowModel();- return yq(e, "getIsSomeRowsSelected", xJ) ? MJ(t, e) : {+ return vq(e, "getIsSomeRowsSelected", bJ) ? jJ(t, e) : {rows: [],flatRows: [],- rowsById: nq()+ rowsById: tq()};}-function vJ(e) {+function _J(e) {return Object.keys(e.atoms.rowSelection?.get() ?? {});}-function yJ(e) {+function vJ(e) {let t = e.getFilteredRowModel().flatRows, n = e.atoms.rowSelection?.get() ?? {}, r = !!(t.length && Object.keys(n).length);if (r) {let e = /* @__PURE__ */ new Map();- t.some((t) => !NJ(t, n) && kJ(t, e)) && (r = !1);+ t.some((t) => !MJ(t, n) && OJ(t, e)) && (r = !1);}return r;}-function bJ(e) {+function yJ(e) {let t = e.getPaginatedRowModel().flatRows, n = e.atoms.rowSelection?.get() ?? {}, r = /* @__PURE__ */ new Map(), i = !1;for (let e = 0; e < t.length; e++) {let a = t[e];- if (NJ(a, n)) !i && kJ(a, r) && (i = !0);- else if (kJ(a, r)) return !1;+ if (MJ(a, n)) !i && OJ(a, r) && (i = !0);+ else if (OJ(a, r)) return !1;}return i;}-function xJ(e) {- return yq(e, "getSelectedRowIds", vJ).length > 0;-}-function J_e(e) {- return e.getPaginatedRowModel().flatRows.filter((e) => TJ(e)).some((e) => CJ(e) || yq(e, "getIsSomeSelected", wJ));+function bJ(e) {+ return vq(e, "getSelectedRowIds", _J).length > 0;}function Y_e(e) {+ return e.getPaginatedRowModel().flatRows.filter((e) => wJ(e)).some((e) => SJ(e) || vq(e, "getIsSomeSelected", CJ));+}+function X_e(e) {return (t) => {- gJ(e, t.target.checked);+ hJ(e, t.target.checked);};}-function X_e(e) {+function Z_e(e) {return (t) => {- _J(e, t.target.checked);+ gJ(e, t.target.checked);};}-function SJ(e, t, n) {- let r = CJ(e);- hJ(e.table, (i) => {+function xJ(e, t, n) {+ let r = SJ(e);+ mJ(e.table, (i) => {t = t === void 0 ? !r : t;- let a = Object.assign(nq(), i);- return OJ(a, e.id, t, (n?.selectChildren ?? !0) && DJ(e), e.table), !t && n?.deselectParents && AJ(a, e), a;+ let a = Object.assign(tq(), i);+ return DJ(a, e.id, t, (n?.selectChildren ?? !0) && EJ(e), e.table), !t && n?.deselectParents && kJ(a, e), a;});}+function SJ(e) {+ return MJ(e, e.table.atoms.rowSelection?.get() ?? {});+}function CJ(e) {- return NJ(e, e.table.atoms.rowSelection?.get() ?? {});+ return NJ(e) === "some";}-function wJ(e) {- return PJ(e) === "some";+function Q_e(e) {+ return NJ(e) === "all";}-function Z_e(e) {- return PJ(e) === "all";-}-function TJ(e) {+function wJ(e) {let t = e.table.options;return typeof t.enableRowSelection == "function" ? t.enableRowSelection(e) : t.enableRowSelection ?? !0;}-function EJ(e) {+function TJ(e) {let t = e.table.options;return typeof t.enableSubRowSelection == "function" ? t.enableSubRowSelection(e) : t.enableSubRowSelection ?? !0;}-function DJ(e) {+function EJ(e) {let t = e.table.options;return typeof t.enableMultiRowSelection == "function" ? t.enableMultiRowSelection(e) : t.enableMultiRowSelection ?? !0;}-function Q_e(e, t) {- let n = TJ(e);+function $_e(e, t) {+ let n = wJ(e);return (r) => {if (!n) return;let i = r, a = e.table, o = i.target.checked, s = a._lastSelectedRowId;- (!(a.options.enableRowRangeSelection !== !1 && s !== null && DJ(e) && (a.options.isRowRangeSelectionEvent?.(r) ?? !1)) || !$_e(e, s, o, t)) && SJ(e, o, t), a._lastSelectedRowId = e.id;+ (!(a.options.enableRowRangeSelection !== !1 && s !== null && EJ(e) && (a.options.isRowRangeSelectionEvent?.(r) ?? !1)) || !eve(e, s, o, t)) && xJ(e, o, t), a._lastSelectedRowId = e.id;};}-function $_e(e, t, n, r) {+function eve(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 || !DJ(s) || !DJ(e)) return !1;+ if (c < 0 || l < 0 || c >= o.length || l >= o.length || u?.id !== s.id || d?.id !== e.id || !EJ(s) || !EJ(e)) return !1;let f = Math.min(c, l), p = Math.max(c, l);- return hJ(a, (e) => {- let t = Object.assign(nq(), e);+ return mJ(a, (e) => {+ let t = Object.assign(tq(), e);for (let e = f; e <= p; e++) {let s = o[e];- TJ(s) && DJ(s) && (OJ(t, s.id, n, i, a), !n && r?.deselectParents && AJ(t, s));+ wJ(s) && EJ(s) && (DJ(t, s.id, n, i, a), !n && r?.deselectParents && kJ(t, s));}return t;}), !0;}-function OJ(e, t, n, r, i, a) {+function DJ(e, t, n, r, i, a) {let o = i.getRow(t, !0);- n ? (DJ(o) || Object.keys(e).forEach((t) => delete e[t]), TJ(o) && (e[t] = !0)) : (!a || TJ(o)) && delete e[t], r && o.subRows.length && EJ(o) && o.subRows.forEach((t) => OJ(e, t.id, n, r, i, a));+ n ? (EJ(o) || Object.keys(e).forEach((t) => delete e[t]), wJ(o) && (e[t] = !0)) : (!a || wJ(o)) && delete e[t], r && o.subRows.length && TJ(o) && o.subRows.forEach((t) => DJ(e, t.id, n, r, i, a));}-function kJ(e, t) {- if (!TJ(e)) return !1;+function OJ(e, t) {+ if (!wJ(e)) return !1;let n = e.table;if (n.options.enableSubRowSelection === !0) return !0;let r = e.parentId;@@ -56336,7 +56336,7 @@ function kJ(e, t) {}o.push(c);let r = a[c] ?? n.getRow(c, !0);- if (!EJ(r)) {+ if (!TJ(r)) {s = !1;break;}@@ -56344,43 +56344,43 @@ function kJ(e, t) {}return o.forEach((e) => t.set(e, s)), s;}-function AJ(e, t) {+function kJ(e, t) {let n = t.table.getCoreRowModel().rowsById, r = t.parentId;for (; r !== void 0;) delete e[r], r = (n[r] ?? t.table.getRow(r, !0)).parentId;}-function jJ(e, t, n, r) {+function AJ(e, t, n, r) {let i = [];for (let a = 0; a < e.length; a++) {- let o = e[a], s = NJ(o, t);+ let o = e[a], s = MJ(o, t);if (s && (n.push(o), r[o.id] = o), o.subRows.length) {- let e = jJ(o.subRows, t, n, r);+ let e = AJ(o.subRows, t, n, r);if (s) {let t = Object.create(Object.getPrototypeOf(o));- tq(t, o), t.subRows = e, i.push(t);+ eq(t, o), t.subRows = e, i.push(t);}} else s && i.push(o);}return i;}-function MJ(e, t) {- let n = [], r = nq(), i = t.atoms.rowSelection?.get() ?? {};+function jJ(e, t) {+ let n = [], r = tq(), i = t.atoms.rowSelection?.get() ?? {};return {- rows: jJ(e.rows, i, n, r),+ rows: AJ(e.rows, i, n, r),flatRows: n,rowsById: r};}-function NJ(e, t) {- return !!(rq(t, e.id) && t[e.id]);+function MJ(e, t) {+ return !!(nq(t, e.id) && t[e.id]);}-function PJ(e) {+function NJ(e) {if (!e.subRows.length) return !1;let t = e.table.atoms.rowSelection?.get() ?? {}, n = !1, r = !0, i = !1;for (let a = 0; a < e.subRows.length; a++) {let o = e.subRows[a];if (n && !r) break;- if (TJ(o) && (i = !0, NJ(o, t) ? n = !0 : r = !1), o.subRows.length) {- let e = PJ(o);+ if (wJ(o) && (i = !0, MJ(o, t) ? n = !0 : r = !1), o.subRows.length) {+ let e = NJ(o);e === "all" ? (n = !0, i = !0) : e === "some" ? (n = !0, r = !1, i = !0) : r = !1;}}@@ -56388,7 +56388,7 @@ function PJ(e) {}//#endregion//#region node_modules/@tanstack/table-core/dist/features/row-selection/rowSelectionFeature.js-var FJ = {+var PJ = {initTableInstanceData: (e) => {e._lastSelectedRowId = null;},@@ -56396,11 +56396,11 @@ var FJ = {e._lastSelectedRowId = null;},getInitialState: (e) => ({- rowSelection: H_e(),+ rowSelection: U_e(),...e}),getDefaultTableOptions: (e) => ({- onRowSelectionChange: iq("rowSelection", e),+ onRowSelectionChange: rq("rowSelection", e),enableRowSelection: !0,enableMultiRowSelection: !0,enableRowRangeSelection: !0,@@ -56411,11 +56411,11 @@ var FJ = {}}),assignRowPrototype: (e, t) => {- vq("rowSelectionFeature", e, t, {- row_toggleSelected: { fn: (e, t, n) => SJ(e, t, n) },- row_getIsSelected: { fn: (e) => CJ(e) },+ _q("rowSelectionFeature", e, t, {+ row_toggleSelected: { fn: (e, t, n) => xJ(e, t, n) },+ row_getIsSelected: { fn: (e) => SJ(e) },row_getIsSomeSelected: {- fn: (e) => wJ(e),+ fn: (e) => CJ(e),memoDeps: (e) => [e.subRows,e.table.atoms.rowSelection?.get(),@@ -56423,44 +56423,44 @@ var FJ = {]},row_getIsAllSubRowsSelected: {- fn: (e) => Z_e(e),+ fn: (e) => Q_e(e),memoDeps: (e) => [e.subRows,e.table.atoms.rowSelection?.get(),e.table.options.enableRowSelection]},- row_getCanSelect: { fn: (e) => TJ(e) },- row_getCanSelectSubRows: { fn: (e) => EJ(e) },- row_getCanMultiSelect: { fn: (e) => DJ(e) },- row_getToggleSelectedHandler: { fn: (e, t) => Q_e(e, t) }+ row_getCanSelect: { fn: (e) => wJ(e) },+ row_getCanSelectSubRows: { fn: (e) => TJ(e) },+ row_getCanMultiSelect: { fn: (e) => EJ(e) },+ row_getToggleSelectedHandler: { fn: (e, t) => $_e(e, t) }});},constructTableAPIs: (e) => {- _q("rowSelectionFeature", e, {- table_setRowSelection: { fn: (t) => hJ(e, t) },- table_resetRowSelection: { fn: (t) => U_e(e, t) },- table_toggleAllRowsSelected: { fn: (t, n) => gJ(e, t, n) },- table_toggleAllPageRowsSelected: { fn: (t, n) => _J(e, t, n) },- table_getPreSelectedRowModel: { fn: () => W_e(e) },+ gq("rowSelectionFeature", e, {+ table_setRowSelection: { fn: (t) => mJ(e, t) },+ table_resetRowSelection: { fn: (t) => W_e(e, t) },+ table_toggleAllRowsSelected: { fn: (t, n) => hJ(e, t, n) },+ table_toggleAllPageRowsSelected: { fn: (t, n) => gJ(e, t, n) },+ table_getPreSelectedRowModel: { fn: () => G_e(e) },table_getSelectedRowModel: {- fn: () => G_e(e),+ fn: () => K_e(e),memoDeps: () => [e.atoms.rowSelection?.get(), e.getCoreRowModel()]},table_getFilteredSelectedRowModel: {- fn: () => K_e(e),+ fn: () => q_e(e),memoDeps: () => [e.atoms.rowSelection?.get(), e.getFilteredRowModel()]},table_getGroupedSelectedRowModel: {- fn: () => q_e(e),+ fn: () => J_e(e),memoDeps: () => [e.atoms.rowSelection?.get(), e.getSortedRowModel()]},table_getSelectedRowIds: {- fn: () => vJ(e),+ fn: () => _J(e),memoDeps: () => [e.atoms.rowSelection?.get()]},table_getIsAllRowsSelected: {- fn: () => yJ(e),+ fn: () => vJ(e),memoDeps: () => [e.atoms.rowSelection?.get(),e.getFilteredRowModel(),@@ -56469,7 +56469,7 @@ var FJ = {]},table_getIsAllPageRowsSelected: {- fn: () => bJ(e),+ fn: () => yJ(e),memoDeps: () => [e.atoms.rowSelection?.get(),e.getPaginatedRowModel(),@@ -56478,49 +56478,49 @@ var FJ = {]},table_getIsSomeRowsSelected: {- fn: () => xJ(e),+ fn: () => bJ(e),memoDeps: () => [e.atoms.rowSelection?.get()]},table_getIsSomePageRowsSelected: {- fn: () => J_e(e),+ fn: () => Y_e(e),memoDeps: () => [e.atoms.rowSelection?.get(),e.getPaginatedRowModel(),e.options.enableRowSelection]},- table_getToggleAllRowsSelectedHandler: { fn: () => Y_e(e) },- table_getToggleAllPageRowsSelectedHandler: { fn: () => X_e(e) }+ table_getToggleAllRowsSelectedHandler: { fn: () => X_e(e) },+ table_getToggleAllPageRowsSelectedHandler: { fn: () => Z_e(e) }});}-}, eve = /([0-9]+)/gm;+}, tve = /([0-9]+)/gm;/* @__NO_SIDE_EFFECTS__ */-function tve(e) {+function nve(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 IJ = /* @__PURE__ */ tve({ sort: (e, t) => nve(e, t) });-function nve(e, t) {+var FJ = /* @__PURE__ */ nve({ sort: (e, t) => rve(e, t) });+function rve(e, t) {return e === t ? 0 : e > t ? 1 : -1;}//#endregion//#region node_modules/@tanstack/table-core/dist/features/row-sorting/rowSortingFeature.utils.js-function rve() {+function ive() {return [];}-function LJ(e, t) {- uq(e, "sorting", t);+function IJ(e, t) {+ lq(e, "sorting", t);}-function RJ(e, t) {- LJ(e, t ? [] : eq(e.initialState.sorting ?? []));+function LJ(e, t) {+ IJ(e, t ? [] : $K(e.initialState.sorting ?? []));}-function ive(e) {- e.atoms.sorting && (e.options.autoResetAll ?? e.options.autoResetSorting ?? !1) && RJ(e);+function ave(e) {+ e.atoms.sorting && (e.options.autoResetAll ?? e.options.autoResetSorting ?? !1) && LJ(e);}-function zJ(e) {+function RJ(e) {let t = e.table._rowModelFns.sortFns, n = e.table.getFilteredRowModel().flatRows.slice(0, 10), r, i = !1;for (let t = 0; t < n.length; t++) {let a = n[t].getValue(e.id);@@ -56528,7 +56528,7 @@ function zJ(e) {r = "datetime";break;}- if (typeof a == "string" && (i = !0, a.split(eve).length > 1)) {+ if (typeof a == "string" && (i = !0, a.split(tve).length > 1)) {r = "alphanumeric";break;}@@ -56537,9 +56537,9 @@ function zJ(e) {let e = t?.[r];if (e || r === "alphanumeric" && (e = t?.text), e) return e;}- return IJ;+ return FJ;}-function BJ(e) {+function zJ(e) {let t = e.table.getFilteredRowModel().flatRows.slice(0, 10);for (let n = 0; n < t.length; n++) {let r = t[n].getValue(e.id);@@ -56547,14 +56547,14 @@ function BJ(e) {}return "desc";}-function VJ(e) {+function BJ(e) {let t = e.table._rowModelFns.sortFns;- return dq(e.columnDef.sortFn) ? e.columnDef.sortFn : e.columnDef.sortFn === "auto" ? zJ(e) : t?.[e.columnDef.sortFn] ?? IJ;+ return uq(e.columnDef.sortFn) ? e.columnDef.sortFn : e.columnDef.sortFn === "auto" ? RJ(e) : t?.[e.columnDef.sortFn] ?? FJ;}-function HJ(e, t, n) {- let r = WJ(e, n && KJ(e)), i = t !== void 0;- LJ(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 && KJ(e) && n);+function VJ(e, t, n) {+ let r = UJ(e, n && GJ(e)), i = t !== void 0;+ IJ(e.table, (a) => {+ let o = a.findIndex((t) => t.id === e.id), s = o === -1 ? void 0 : a[o], c = [], l, u = i ? t : r === "desc", d = !!(a.length && GJ(e) && n);return l = d ? s ? "toggle" : "add" : s ? "toggle" : "replace", l === "toggle" && (i || r || (l = "remove")), l === "add" ? (c = [...a, {id: e.id,desc: u@@ -56570,41 +56570,41 @@ function HJ(e, t, n) {}], c;});}-function UJ(e) {- return e.columnDef.sortDescFirst ?? e.table.options.sortDescFirst ?? BJ(e) === "desc" ? "desc" : "asc";+function HJ(e) {+ return e.columnDef.sortDescFirst ?? e.table.options.sortDescFirst ?? zJ(e) === "desc" ? "desc" : "asc";}-function WJ(e, t) {- let n = UJ(e), r = qJ(e);+function UJ(e, t) {+ let n = HJ(e), r = KJ(e);return r ? r !== n && (e.table.options.enableSortingRemoval ?? !0) && (!t || (e.table.options.enableMultiRemove ?? !0)) ? !1 : r === "desc" ? "asc" : "desc" : n;}-function GJ(e) {+function WJ(e) {return (e.columnDef.enableSorting ?? !0) && (e.table.options.enableSorting ?? !0) && !!e.accessorFn;}-function KJ(e) {+function GJ(e) {return e.columnDef.enableMultiSort ?? e.table.options.enableMultiSort ?? !!e.accessorFn;}-function qJ(e) {+function KJ(e) {let t = e.table.atoms.sorting?.get()?.find((t) => t.id === e.id);return t ? t.desc ? "desc" : "asc" : !1;}-function ave(e) {- return e.table.atoms.sorting?.get()?.findIndex((t) => t.id === e.id) ?? -1;-}function ove(e) {- LJ(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 sve(e) {- let t = GJ(e);+ IJ(e.table, (t) => t.length ? t.filter((t) => t.id !== e.id) : []);+}+function cve(e) {+ let t = WJ(e);return (n) => {- t && HJ(e, void 0, KJ(e) ? e.table.options.isMultiSortEvent?.(n) : !1);+ t && VJ(e, void 0, GJ(e) ? e.table.options.isMultiSortEvent?.(n) : !1);};}//#endregion//#region node_modules/@tanstack/table-core/dist/features/row-sorting/rowSortingFeature.js-var JJ = {+var qJ = {getInitialState(e) {return {- sorting: rve(),+ sorting: ive(),...e};},@@ -56617,58 +56617,58 @@ var JJ = {getDefaultTableOptions(e) {return {autoResetSorting: !1,- onSortingChange: iq("sorting", e),+ onSortingChange: rq("sorting", e),isMultiSortEvent: (e) => e.shiftKey};},assignColumnPrototype(e, t) {- vq("rowSortingFeature", e, t, {- column_getAutoSortFn: { fn: (e) => zJ(e) },- column_getAutoSortDir: { fn: (e) => BJ(e) },- column_getSortFn: { fn: (e) => VJ(e) },- column_toggleSorting: { fn: (e, t, n) => HJ(e, t, n) },- column_getFirstSortDir: { fn: (e) => UJ(e) },- column_getNextSortingOrder: { fn: (e, t) => WJ(e, t) },- column_getCanSort: { fn: (e) => GJ(e) },- column_getCanMultiSort: { fn: (e) => KJ(e) },- column_getIsSorted: { fn: (e) => qJ(e) },- column_getSortIndex: { fn: (e) => ave(e) },- column_clearSorting: { fn: (e) => ove(e) },- column_getToggleSortingHandler: { fn: (e) => sve(e) }+ _q("rowSortingFeature", e, t, {+ column_getAutoSortFn: { fn: (e) => RJ(e) },+ column_getAutoSortDir: { fn: (e) => zJ(e) },+ column_getSortFn: { fn: (e) => BJ(e) },+ column_toggleSorting: { fn: (e, t, n) => VJ(e, t, n) },+ column_getFirstSortDir: { fn: (e) => HJ(e) },+ column_getNextSortingOrder: { fn: (e, t) => UJ(e, t) },+ column_getCanSort: { fn: (e) => WJ(e) },+ column_getCanMultiSort: { fn: (e) => GJ(e) },+ column_getIsSorted: { fn: (e) => KJ(e) },+ column_getSortIndex: { fn: (e) => ove(e) },+ column_clearSorting: { fn: (e) => sve(e) },+ column_getToggleSortingHandler: { fn: (e) => cve(e) }});},constructTableAPIs(e) {- _q("rowSortingFeature", e, {- table_autoResetSorting: { fn: () => ive(e) },- table_setSorting: { fn: (t) => LJ(e, t) },- table_resetSorting: { fn: (t) => RJ(e, t) }+ gq("rowSortingFeature", e, {+ table_autoResetSorting: { fn: () => ave(e) },+ table_setSorting: { fn: (t) => IJ(e, t) },+ table_resetSorting: { fn: (t) => LJ(e, t) }});}-}, cve = typeof window > "u" ? D.useEffect : D.useLayoutEffect;-function YJ(e, t) {+}, lve = typeof window > "u" ? D.useEffect : D.useLayoutEffect;+function JJ(e, t) {let [{ table: n, rootSource: r }] = (0, D.useState)(() => {- let t = S_e({+ let t = C_e({...e,features: {- coreReactivityFeature: QK(),+ coreReactivityFeature: ZK(),...e.features}});- return t.Subscribe = ((e) => JK({+ return t.Subscribe = ((e) => qK({...e,source: e.source ?? t.store- })), t.FlexRender = SK, {+ })), t.FlexRender = xK, {table: t,- rootSource: ZK(t.store, VK)+ rootSource: XK(t.store, BK)};}), i = n;- Jq(i, (t) => ({+ qq(i, (t) => ({...t,...e}), { syncExternalState: !1 });- let a = i.options.state, o = r.get(), s = qK(r, t, { compare: VK });- return cve(() => {- r.markCommitted(o), qq(i, a ?? null, VK);+ let a = i.options.state, o = r.get(), s = KK(r, t, { compare: BK });+ return lve(() => {+ r.markCommitted(o), Kq(i, a ?? null, BK);}), (0, D.useMemo)(() => ({...n,options: e,@@ -56681,19 +56681,19 @@ function YJ(e, t) {}//#endregion//#region src/react/boardui/components/base/table/table.tsx-function XJ({ size: e = "md", className: t, containerClassName: n, ref: r, ...i }) {+function YJ({ size: e = "md", className: t, containerClassName: n, ref: r, ...i }) {return /* @__PURE__ */ (0, O.jsx)("div", {- className: AF("w-full overflow-x-auto", n),- children: /* @__PURE__ */ (0, O.jsx)(lde, {+ className: kF("w-full overflow-x-auto", n),+ children: /* @__PURE__ */ (0, O.jsx)(ude, {ref: r,...i,- className: AF("bui-table", e === "sm" && "bui-table-sm", t)+ className: kF("bui-table", e === "sm" && "bui-table-sm", t)})});}//#endregion//#region src/react/catalog-grid/catalog-table-columns.ts-var ZJ = "peach.catalog-column-widths.v1", QJ = "peach.catalog-column-visibility.v1", lve = {+var XJ = "peach.catalog-column-widths.v1", ZJ = "peach.catalog-column-visibility.v1", uve = {select: {width: 48,min: 48,@@ -56759,13 +56759,13 @@ var ZJ = "peach.catalog-column-widths.v1", QJ = "peach.catalog-column-visibilitymin: 144,max: 560}-}, uve = {+}, dve = {code: !1,o: !1,new: !1,played: !1,release: !1-}, dve = {+}, fve = {select: "选择",name: "作品",dur: "时长",@@ -56779,7 +56779,7 @@ var ZJ = "peach.catalog-column-widths.v1", QJ = "peach.catalog-column-visibilityrelease: "发行时间",code: "番号",tags: "标签"-}, $J = [+}, QJ = ["select","name","tags",@@ -56795,13 +56795,13 @@ var ZJ = "peach.catalog-column-widths.v1", QJ = "peach.catalog-column-visibility"release"].map((e) => ({id: e,- label: dve[e],- ...lve[e],+ label: fve[e],+ ...uve[e],flex: e === "name",required: e === "select" || e === "name",- visible: uve[e] !== !1+ visible: dve[e] !== !1}));-function eY(e) {+function $J(e) {try {let t = JSON.parse(localStorage.getItem(e) || "{}");return t && typeof t == "object" && !Array.isArray(t) ? t : {};@@ -56809,9 +56809,9 @@ function eY(e) {return {};}}-function fve() {- let e = eY(ZJ), t = eY(QJ);- return $J.filter((e) => e.id !== "select" && (e.required || (typeof t[e.id] == "boolean" ? t[e.id] === !0 : e.visible))).map((t) => {+function pve() {+ let e = $J(XJ), t = $J(ZJ);+ return QJ.filter((e) => e.id !== "select" && (e.required || (typeof t[e.id] == "boolean" ? t[e.id] === !0 : e.visible))).map((t) => {let n = e[t.id], r = typeof n == "number" && Number.isFinite(n) && !(t.flex && n === t.width);return {id: t.id,@@ -56823,31 +56823,31 @@ function fve() {}//#endregion//#region src/react/library-processing/completion-row.ts-var tY = "peach.catalog.completion-row";-function nY() {+var eY = "peach.catalog.completion-row";+function tY() {try {- return localStorage.getItem(tY) === "1";+ return localStorage.getItem(eY) === "1";} catch {return !1;}}-function pve(e) {+function mve(e) {try {- e ? localStorage.setItem(tY, "1") : localStorage.removeItem(tY);+ e ? localStorage.setItem(eY, "1") : localStorage.removeItem(eY);} catch {}}-var mve = "<i data-completion-skeleton class=\"skeleton-sheen\"></i>";+var hve = "<i data-completion-skeleton class=\"skeleton-sheen\"></i>";//#endregion//#region src/catalog-content-skeleton.ts-function rY(e) {+function nY(e) {return e === "name" ? "<span data-list-skeleton-name><i class=\"skeleton-sheen\"></i><b class=\"skeleton-sheen\"></b><span><i class=\"skeleton-sheen\"></i><i class=\"skeleton-sheen\"></i></span></span>" : "<i data-list-skeleton-bar class=\"skeleton-sheen\"></i>";}-function hve(e) {- let t = fve(), n = t.some((e) => e.width === null), r = t.reduce((e, t) => e + (t.width ?? t.min), 0), i = t.map((e) => e.width === null ? "<col>" : `<col style="width:${e.width}px">`).join("") + (n ? "" : "<col>"), a = t.map((e) => `<th>${z(e.label)}</th>`).join("") + (n ? "" : "<th></th>"), o = `<tr>${t.map((e) => `<td>${rY(e.id)}</td>`).join("")}${n ? "" : "<td></td>"}</tr>`;- return `<div class="peach-react catalog-skeleton" data-skeleton="catalog/list" role="status" aria-busy="true" aria-label="${z(e)}"><div data-list-skeleton aria-hidden="true"><div data-list-skeleton-tools><i class="skeleton-sheen"></i></div>` + (nY() ? mve : "") + `<div data-board-data-table><div class="w-full overflow-x-auto"><table class="bui-table bui-table-sm" style="table-layout:fixed;min-width:${r}px"><colgroup>${i}</colgroup><thead><tr>${a}</tr></thead><tbody>${o.repeat(6)}</tbody></table></div></div></div></div>`;+function gve(e) {+ let t = pve(), n = t.some((e) => e.width === null), r = t.reduce((e, t) => e + (t.width ?? t.min), 0), i = t.map((e) => e.width === null ? "<col>" : `<col style="width:${e.width}px">`).join("") + (n ? "" : "<col>"), a = t.map((e) => `<th>${z(e.label)}</th>`).join("") + (n ? "" : "<th></th>"), o = `<tr>${t.map((e) => `<td>${nY(e.id)}</td>`).join("")}${n ? "" : "<td></td>"}</tr>`;+ return `<div class="peach-react catalog-skeleton" data-skeleton="catalog/list" role="status" aria-busy="true" aria-label="${z(e)}"><div data-list-skeleton aria-hidden="true"><div data-list-skeleton-tools><i class="skeleton-sheen"></i></div>` + (tY() ? hve : "") + `<div data-board-data-table><div class="w-full overflow-x-auto"><table class="bui-table bui-table-sm" style="table-layout:fixed;min-width:${r}px"><colgroup>${i}</colgroup><thead><tr>${a}</tr></thead><tbody>${o.repeat(6)}</tbody></table></div></div></div></div>`;}-function iY(e, t) {- return Qj() === "list" ? hve(e) : vs(e, {+function rY(e, t) {+ return Zj() === "list" ? gve(e) : vs(e, {variant: "cards",className: "catalog-skeleton postercard-skeleton",cardRatio: t@@ -56855,7 +56855,7 @@ function iY(e, t) {}//#endregion//#region src/react/components/data-table-frame.tsx-function aY({ children: e, follow: t = !1, onRowClick: n, preferences: r }) {+function iY({ children: e, follow: t = !1, onRowClick: n, preferences: r }) {let i = (0, D.useRef)(null);return (0, D.useEffect)(() => {let e = i.current?.querySelector(".overflow-x-auto") ?? null;@@ -56869,9 +56869,9 @@ function aY({ 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 && VW(e, r) && n(r.dataset.key);+ r && BW(e, r) && n(r.dataset.key);} : void 0,- children: r ? /* @__PURE__ */ (0, O.jsx)(sde, {+ children: r ? /* @__PURE__ */ (0, O.jsx)(cde, {className: "relative min-w-0",onResize: r.resize,onResizeEnd: r.save,@@ -56881,8 +56881,8 @@ function aY({ children: e, follow: t = !1, onRowClick: n, preferences: r }) {}//#endregion//#region src/react/components/select.tsx-function oY({ prefix: e, renderValue: t, size: n, ...r }) {- if (e == null) return /* @__PURE__ */ (0, O.jsx)(hU, {+function aY({ prefix: e, renderValue: t, size: n, ...r }) {+ if (e == null) return /* @__PURE__ */ (0, O.jsx)(mU, {...r,size: n,renderValue: t@@ -56892,7 +56892,7 @@ function oY({ prefix: e, renderValue: t, size: n, ...r }) {className: `shrink-0 text-text-tertiary ${i}`,children: e}), typeof t == "function" ? t(n) : t ?? n.defaultChildren] });- return /* @__PURE__ */ (0, O.jsx)(hU, {+ return /* @__PURE__ */ (0, O.jsx)(mU, {...r,size: n,renderValue: a@@ -56900,7 +56900,7 @@ function oY({ prefix: e, renderValue: t, size: n, ...r }) {}//#endregion//#region src/react/components/table-pagination.tsx-function sY({ page: e, pages: t, onPage: n, label: r = "关注列表分页" }) {+function oY({ page: e, pages: t, onPage: n, label: r = "关注列表分页" }) {return t <= 1 ? null : /* @__PURE__ */ (0, O.jsxs)("nav", {"aria-label": r,"data-pagination-layout": "",@@ -56940,11 +56940,11 @@ function sY({ page: e, pages: t, onPage: n, label: r = "关注列表分页" }) {}//#endregion//#region src/react/components/table-controls.tsx-function cY({ label: e, options: t, sorting: n, onChange: r }) {+function sY({ label: e, options: t, sorting: n, onChange: r }) {let i = n[0];return /* @__PURE__ */ (0, O.jsxs)("span", {className: "flex flex-none items-center gap-2",- children: [/* @__PURE__ */ (0, O.jsxs)(oY, {+ children: [/* @__PURE__ */ (0, O.jsxs)(aY, {"aria-label": `${e}排序`,prefix: "排序",selectedKey: i?.id ?? "default",@@ -56954,10 +56954,10 @@ function cY({ label: e, options: t, sorting: n, onChange: r }) {desc: i?.desc ?? !1}]);},- children: [/* @__PURE__ */ (0, O.jsx)(gU, {+ children: [/* @__PURE__ */ (0, O.jsx)(hU, {id: "default",children: "默认顺序"- }), t.map((e) => /* @__PURE__ */ (0, O.jsx)(gU, {+ }), t.map((e) => /* @__PURE__ */ (0, O.jsx)(hU, {id: e.id,children: e.label}, e.id))]@@ -56965,7 +56965,7 @@ function cY({ label: e, options: t, sorting: n, onChange: r }) {variant: "secondary",iconOnly: !0,disabled: !i,- leadingIcon: kU,+ leadingIcon: OU,"data-icon-state": i?.desc ? "b" : "a","aria-label": `${e}改为${i?.desc ? "升序" : "降序"}`,onClick: () => {@@ -56977,7 +56977,7 @@ function cY({ label: e, options: t, sorting: n, onChange: r }) {})]});}-function lY({ label: e, total: t, pagination: n, onChange: r, unit: i = "条记录", pageUnit: a = "条" }) {+function cY({ label: e, total: t, pagination: n, onChange: r, unit: i = "条记录", pageUnit: a = "条" }) {let o = Math.max(1, Math.ceil(t / n.pageSize)), s = Math.min(n.pageIndex, o - 1), c = t ? s * n.pageSize + 1 : 0, l = Math.min((s + 1) * n.pageSize, t);return /* @__PURE__ */ (0, O.jsxs)("div", {"data-table-pagination": !0,@@ -56987,7 +56987,7 @@ function lY({ label: e, total: t, pagination: n, onChange: r, unit: i = "条记children: `${c.toLocaleString()}–${l.toLocaleString()} / ${t.toLocaleString()} ${i}`}), /* @__PURE__ */ (0, O.jsxs)("div", {"data-toolbar-actions": "",- children: [/* @__PURE__ */ (0, O.jsx)(oY, {+ children: [/* @__PURE__ */ (0, O.jsx)(aY, {"aria-label": "每页显示数量",size: "sm",selectedKey: String(n.pageSize),@@ -57002,11 +57002,11 @@ function lY({ label: e, total: t, pagination: n, onChange: r, unit: i = "条记20,50,100- ].map((e) => /* @__PURE__ */ (0, O.jsx)(gU, {+ ].map((e) => /* @__PURE__ */ (0, O.jsx)(hU, {id: String(e),children: `每页 ${e} ${a}`}, e))- }), /* @__PURE__ */ (0, O.jsx)(sY, {+ }), /* @__PURE__ */ (0, O.jsx)(oY, {label: `${e}分页`,page: s + 1,pages: o,@@ -57020,7 +57020,7 @@ function lY({ label: e, total: t, pagination: n, onChange: r, unit: i = "条记}//#endregion//#region src/react/components/table-column-preferences.ts-function uY(e) {+function lY(e) {try {let t = JSON.parse(localStorage.getItem(e) || "{}");return t && typeof t == "object" && !Array.isArray(t) ? t : {};@@ -57028,17 +57028,17 @@ function uY(e) {return {};}}-function dY(e, t) {+function uY(e, t) {try {localStorage.setItem(e, JSON.stringify(t));} catch {}}-function gve(e, t) {+function _ve(e, t) {let n = (e) => Object.fromEntries(Object.entries(t).map(([t, n]) => {let r = e[t];return [t, typeof r == "number" && Number.isFinite(r) ? Math.max(n.min, Math.min(n.max, r)) : n.flex ? "1fr" : n.width];})), [r, i] = (0, D.useState)(() => {- let r = uY(e);+ let r = lY(e);for (let [e, n] of Object.entries(t)) n.flex && r[e] === n.width && delete r[e];return n(r);});@@ -57055,7 +57055,7 @@ function gve(e, t) {...r,...Object.fromEntries(t)});- i(a), dY(e, a);+ i(a), uY(e, a);},reset: () => {i(n({}));@@ -57065,26 +57065,26 @@ function gve(e, t) {}};}-function _ve(e, t, n, r = {}) {+function vve(e, t, n, r = {}) {let i = (e) => ({...r,...Object.fromEntries(t.filter((t) => !n.includes(t) && typeof e[t] == "boolean").map((t) => [t, e[t] === !0]))- }), [a, o] = (0, D.useState)(() => i(uY(e)));+ }), [a, o] = (0, D.useState)(() => i(lY(e)));return {visibility: a,change: (t) => {let n = i(typeof t == "function" ? t(a) : t);- o(n), dY(e, n);+ o(n), uY(e, n);}};}-function fY(e, t, n) {+function dY(e, t, n) {let r = (0, D.useMemo)(() => Object.fromEntries(t.map((e) => [e.id, {width: e.width ?? 180,min: e.min ?? 96,max: e.max ?? (e.flex ? 2e3 : 800),flex: e.flex- }])), [t]), i = gve(n?.widths ?? `peach.table.${e}.widths.v1`, r), a = _ve(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 = _ve(n?.widths ?? `peach.table.${e}.widths.v1`, r), a = vve(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,@@ -57104,16 +57104,16 @@ function fY(e, t, n) {}//#endregion//#region src/react/catalog-grid/catalog-column-widths.ts-function vve() {- return fY("catalog", $J, {- widths: ZJ,- visibility: QJ+function yve() {+ return dY("catalog", QJ, {+ widths: XJ,+ visibility: ZJ});}//#endregion//#region src/react/components/rating-stars.tsx-var pY = Hz("star");-function mY({ value: e, onRate: t, busyStar: n, busyAttrs: r }) {+var fY = Vz("star");+function pY({ value: e, onRate: t, busyStar: n, busyAttrs: r }) {let i = Math.max(0, Math.min(5, e)), a = Math.round(i);return /* @__PURE__ */ (0, O.jsx)("span", {"data-rating-stars": "",@@ -57136,16 +57136,16 @@ function mY({ value: e, onRate: t, busyStar: n, busyAttrs: r }) {onClick: () => {n || t(e);},- children: n === e ? /* @__PURE__ */ (0, O.jsx)("span", { dangerouslySetInnerHTML: { __html: rs("正在保存评分") } }) : /* @__PURE__ */ (0, O.jsx)(pY, {})+ children: n === e ? /* @__PURE__ */ (0, O.jsx)("span", { dangerouslySetInnerHTML: { __html: rs("正在保存评分") } }) : /* @__PURE__ */ (0, O.jsx)(fY, {})}, e) : /* @__PURE__ */ (0, O.jsx)("span", {"data-rate": e,"data-on": String(i >= e),children: /* @__PURE__ */ (0, O.jsxs)("span", {"data-rating-icon": "",- children: [/* @__PURE__ */ (0, O.jsx)(pY, {}), /* @__PURE__ */ (0, O.jsx)("span", {+ children: [/* @__PURE__ */ (0, O.jsx)(fY, {}), /* @__PURE__ */ (0, O.jsx)("span", {"data-rating-fill": "",style: { width: `${Math.max(0, Math.min(1, i - e + 1)) * 100}%` },- children: /* @__PURE__ */ (0, O.jsx)(pY, {})+ children: /* @__PURE__ */ (0, O.jsx)(fY, {})})]})}, e))@@ -57153,9 +57153,9 @@ function mY({ value: e, onRate: t, busyStar: n, busyAttrs: r }) {}//#endregion//#region src/react/catalog-grid/catalog-table-controls.tsx-function yve({ item: e, actions: t }) {- let { rating: n } = e, r = PH(), i = (0, D.useRef)(0), a = sM(n), o = n == null ? "未评分" : `评分 ${a} / 5`, s = (t) => {- iM(e.id, { rating: t }), H.setQueryData(["item", e.id], (e) => e && {+function bve({ item: e, actions: t }) {+ let { rating: n } = e, r = NH(), i = (0, D.useRef)(0), a = oM(n), o = n == null ? "未评分" : `评分 ${a} / 5`, s = (t) => {+ rM(e.id, { rating: t }), H.setQueryData(["item", e.id], (e) => e && {...e,rating: t});@@ -57167,11 +57167,11 @@ function yve({ item: e, actions: t }) {role: "group","aria-label": o,title: o,- children: [/* @__PURE__ */ (0, O.jsx)(mY, {+ children: [/* @__PURE__ */ (0, O.jsx)(pY, {value: a,onRate: c,busyStar: r.busy ? Number(r.busy) : void 0- }), r.error ? /* @__PURE__ */ (0, O.jsx)(zz, {+ }), r.error ? /* @__PURE__ */ (0, O.jsx)(Rz, {tone: "error",action: /* @__PURE__ */ (0, O.jsx)(q, {variant: "secondary",@@ -57184,7 +57184,7 @@ function yve({ item: e, actions: t }) {}) : null]});}-function hY(e) {+function mY(e) {if (e == null || e === "") return "—";let t = String(e);if (/^\d{4}-\d{2}-\d{2}$/.test(t)) return t;@@ -57200,7 +57200,7 @@ function hY(e) {}//#endregion//#region src/react/components/table-column-controls.tsx-function gY({ preferences: e, label: t = "表格" }) {+function hY({ preferences: e, label: t = "表格" }) {let n = (0, D.useRef)(null), [r, i] = (0, D.useState)(!1), a = e.columns.filter((e) => !e.required);return /* @__PURE__ */ (0, O.jsxs)("div", {role: "group",@@ -57216,18 +57216,18 @@ function gY({ preferences: e, label: t = "表格" }) {onClick: () => i(!0),children: "显示列"}),- /* @__PURE__ */ (0, O.jsx)(sR, {+ /* @__PURE__ */ (0, O.jsx)(oR, {triggerRef: n,isOpen: r,onOpenChange: i,placement: "bottom end",offset: 4,- className: `${eV} overscroll-contain`,- children: /* @__PURE__ */ (0, O.jsxs)(DH, {+ className: `${$B} overscroll-contain`,+ children: /* @__PURE__ */ (0, O.jsxs)(EH, {"aria-label": `${t}显示列`,className: "flex w-48 flex-col gap-2 outline-none",children: [- a.map((t) => /* @__PURE__ */ (0, O.jsx)(sV, {+ a.map((t) => /* @__PURE__ */ (0, O.jsx)(oV, {isSelected: e.visibility[t.id] !== !1,onChange: (n) => e.change((e) => ({...e,@@ -57259,41 +57259,41 @@ function gY({ preferences: e, label: t = "表格" }) {]});}-function _Y({ preferences: e, id: t }) {+function gY({ preferences: e, id: t }) {let n = e.columns.find((e) => e.id === t);- return e.canResize(t) ? /* @__PURE__ */ (0, O.jsx)(vde, { "aria-label": `调整${n.label}列宽` }) : null;+ return e.canResize(t) ? /* @__PURE__ */ (0, O.jsx)(yde, { "aria-label": `调整${n.label}列宽` }) : null;}//#endregion//#region src/react/components/table-selection-header.tsx-function vY(e, t) {+function _Y(e, t) {let n = (t ? e.getPaginatedRowModel() : e.getFilteredRowModel()).flatRows.filter((e) => e.getCanSelect()), r = n.filter((e) => e.getIsSelected()).length;return {all: n.length > 0 && r === n.length,some: r > 0 && r < n.length};}-function yY({ table: e, label: t, page: n = !1, disabled: r = !1 }) {- let { all: i, some: a } = vY(e, n);- return /* @__PURE__ */ (0, O.jsx)(sV, {+function vY({ table: e, label: t, page: n = !1, disabled: r = !1 }) {+ let { all: i, some: a } = _Y(e, n);+ return /* @__PURE__ */ (0, O.jsx)(oV, {slot: null,"aria-label": t,isDisabled: r,isSelected: i,isIndeterminate: a,onChange: () => {- let t = !vY(e, n).all;+ let t = !_Y(e, n).all;n ? e.toggleAllPageRowsSelected(t) : e.toggleAllRowsSelected(t);}});}//#endregion//#region src/react/catalog-grid/catalog-list-page.tsx-var bve = Xq({- rowSortingFeature: JJ,- rowSelectionFeature: FJ,- rowPaginationFeature: mJ,- columnVisibilityFeature: iJ-}), xve = [+var xve = Yq({+ rowSortingFeature: qJ,+ rowSelectionFeature: PJ,+ rowPaginationFeature: pJ,+ columnVisibilityFeature: rJ+}), Sve = [{id: "name",label: "名称"@@ -57330,12 +57330,12 @@ var bve = Xq({id: "played",label: "观看时间"}-], bY = /* @__PURE__ */ new Map();-function Sve(e) {- let t = vve(), n = zW(), r = eM(e.filters || {}, !1), [i] = (0, D.useState)(() => {+], yY = /* @__PURE__ */ new Map();+function Cve(e) {+ let t = yve(), n = RW(), r = $j(e.filters || {}, !1), [i] = (0, D.useState)(() => {let t = new URLSearchParams(r);return new URLSearchParams(location.search).has("seed") || t.delete("seed"), `${e.mode}:${e.listScope || e.entityKey || ""}:${t}`;- }), [a, o] = (0, D.useState)(() => bY.get(i) || {+ }), [a, o] = (0, D.useState)(() => yY.get(i) || {sorting: [],pagination: {pageIndex: 0,@@ -57343,7 +57343,7 @@ function Sve(e) {}}), { sorting: s, pagination: c } = a;(0, D.useEffect)(() => {- bY.set(i, a);+ yY.set(i, a);}, [i, a]);let l = c.pageIndex * c.pageSize, u = s[0], d = Ct({queryKey: [@@ -57369,9 +57369,9 @@ function Sve(e) {let i = new URLSearchParams(r);return i.set("offset", String(l)), i.set("limit", String(n.limit)), i.delete("count"), n.sort && i.set("sort", n.sort), n.dir && i.set("dir", n.dir), B(`/api/items?${i}`, t);}- }), f = d.data?.items || [], p = Number(d.data?.total || 0), m = e.filters?.state === "trash" ? [] : hK(f, e.layout.javImage), [h] = (0, D.useState)(nY);+ }), f = d.data?.items || [], p = Number(d.data?.total || 0), m = e.filters?.state === "trash" ? [] : mK(f, e.layout.javImage), [h] = (0, D.useState)(tY);(0, D.useEffect)(() => {- d.data && !d.isPlaceholderData && pve(m.length > 0);+ d.data && !d.isPlaceholderData && mve(m.length > 0);}, [d.data,d.isPlaceholderData,@@ -57403,19 +57403,19 @@ function Sve(e) {p,c.pageIndex]);- let g = e.selectMode ? Object.fromEntries([...e.selected].map((e) => [String(e), !0])) : {}, _ = YJ({- features: bve,+ let g = e.selectMode ? Object.fromEntries([...e.selected].map((e) => [String(e), !0])) : {}, _ = JJ({+ features: xve,columns: (0, D.useMemo)(() => {- let t = Yq();+ let t = Jq();return t.columns([t.display({id: "select",- header: ({ table: e }) => /* @__PURE__ */ (0, O.jsx)(yY, {+ header: ({ table: e }) => /* @__PURE__ */ (0, O.jsx)(vY, {table: e,label: "全选本页作品",disabled: d.isPlaceholderData}),- cell: ({ row: t }) => /* @__PURE__ */ (0, O.jsx)(sV, {+ cell: ({ row: t }) => /* @__PURE__ */ (0, O.jsx)(oV, {slot: null,"aria-label": `选择 ${e.helpers.displayName(t.original, t.original.name || "")}`,isDisabled: d.isPlaceholderData,@@ -57427,7 +57427,7 @@ function Sve(e) {id: "name",header: "作品",enableSorting: !0,- cell: ({ row: t }) => /* @__PURE__ */ (0, O.jsx)(Cve, {+ cell: ({ row: t }) => /* @__PURE__ */ (0, O.jsx)(wve, {item: t.original,props: e,disabled: d.isPlaceholderData@@ -57484,7 +57484,7 @@ function Sve(e) {id: "rating",header: "评分",enableSorting: !0,- cell: ({ row: t }) => /* @__PURE__ */ (0, O.jsx)(yve, {+ cell: ({ row: t }) => /* @__PURE__ */ (0, O.jsx)(bve, {item: t.original,actions: e.actions})@@ -57505,13 +57505,13 @@ function Sve(e) {id: "played",header: "观看时间",enableSorting: !0,- cell: ({ row: e }) => hY(e.original.last_played)+ cell: ({ row: e }) => mY(e.original.last_played)}),t.accessor((e) => e.first_seen, {id: "new",header: "入库时间",enableSorting: !0,- cell: ({ row: e }) => hY(e.original.first_seen)+ cell: ({ row: e }) => mY(e.original.first_seen)}),t.accessor((e) => e.release_date, {id: "release",@@ -57571,9 +57571,9 @@ function Sve(e) {"aria-label": "作品列表工具栏",children: /* @__PURE__ */ (0, O.jsxs)("div", {"data-toolbar-actions": "",- children: [/* @__PURE__ */ (0, O.jsx)(gY, { preferences: t }), /* @__PURE__ */ (0, O.jsx)(cY, {+ children: [/* @__PURE__ */ (0, O.jsx)(hY, { preferences: t }), /* @__PURE__ */ (0, O.jsx)(sY, {label: "作品列表",- options: xve,+ options: Sve,sorting: s,onChange: (e) => _.setSorting(e)})]@@ -57583,21 +57583,21 @@ function Sve(e) {"data-completion-skeleton": "","aria-hidden": "true",className: "skeleton-sheen"- }) : null : /* @__PURE__ */ (0, O.jsx)(gK, {+ }) : null : /* @__PURE__ */ (0, O.jsx)(hK, {className: "",assetIds: m}),- d.isError ? /* @__PURE__ */ (0, O.jsx)(vW, {+ d.isError ? /* @__PURE__ */ (0, O.jsx)(_W, {message: Wt(d.error),onRetry: () => void d.refetch()}) : null,- /* @__PURE__ */ (0, O.jsx)(aY, {+ /* @__PURE__ */ (0, O.jsx)(iY, {follow: !0,preferences: t,onRowClick: e.selectMode ? (t) => {d.isPlaceholderData || e.actions.toggleSelection(Number(t), !1);} : void 0,- children: /* @__PURE__ */ (0, O.jsxs)(XJ, {+ children: /* @__PURE__ */ (0, O.jsxs)(YJ, {"aria-label": "作品列表",size: "sm",sortDescriptor: u ? {@@ -57608,47 +57608,47 @@ function Sve(e) {id: String(e.column),desc: e.direction === "descending"}]),- children: [/* @__PURE__ */ (0, O.jsxs)(YR, { children: [_.getHeaderGroups()[0].headers.map((e) => /* @__PURE__ */ (0, O.jsx)(XR, {+ children: [/* @__PURE__ */ (0, O.jsxs)(JR, { children: [_.getHeaderGroups()[0].headers.map((e) => /* @__PURE__ */ (0, O.jsx)(YR, {id: e.id,isRowHeader: e.id === "name",allowsSorting: e.column.getCanSort(),...t.columnProps(e.id),children: ({ sortDirection: n }) => /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsxs)("span", {className: "flex items-center gap-0.5",- children: [xK(e.column.columnDef.header, e.getContext()), e.column.getCanSort() ? /* @__PURE__ */ (0, O.jsx)("span", {+ children: [bK(e.column.columnDef.header, e.getContext()), e.column.getCanSort() ? /* @__PURE__ */ (0, O.jsx)("span", {"data-sort-indicator": !0,"data-direction": n || void 0,- children: /* @__PURE__ */ (0, O.jsx)(ZB, {})+ children: /* @__PURE__ */ (0, O.jsx)(XB, {})}) : null]- }), /* @__PURE__ */ (0, O.jsx)(_Y, {+ }), /* @__PURE__ */ (0, O.jsx)(gY, {preferences: t,id: e.id})] })- }, e.id)), /* @__PURE__ */ (0, O.jsx)(XR, {+ }, e.id)), /* @__PURE__ */ (0, O.jsx)(YR, {id: "remaining-space","aria-label": "行空白区域","data-table-space": "",width: t.spaceWidth,minWidth: 0- })] }), /* @__PURE__ */ (0, O.jsx)($R, {+ })] }), /* @__PURE__ */ (0, O.jsx)(QR, {renderEmptyState: () => d.isError ? "作品列表未取得" : "没有符合的作品",- children: d.isPending ? Array.from({ length: 6 }, (e, t) => /* @__PURE__ */ (0, O.jsxs)(nz, {+ children: d.isPending ? Array.from({ length: 6 }, (e, t) => /* @__PURE__ */ (0, O.jsxs)(tz, {id: `skeleton-${t}`,"data-list-skeleton-row": "","aria-hidden": "true",- children: [_.getHeaderGroups()[0].headers.map((e) => /* @__PURE__ */ (0, O.jsx)(iz, { children: /* @__PURE__ */ (0, O.jsx)("span", { dangerouslySetInnerHTML: { __html: rY(e.id) } }) }, e.id)), /* @__PURE__ */ (0, O.jsx)(iz, { "data-table-space": "" })]- }, `skeleton-${t}`)) : _.getRowModel().rows.map((e) => /* @__PURE__ */ (0, O.jsxs)(nz, {+ children: [_.getHeaderGroups()[0].headers.map((e) => /* @__PURE__ */ (0, O.jsx)(rz, { children: /* @__PURE__ */ (0, O.jsx)("span", { dangerouslySetInnerHTML: { __html: nY(e.id) } }) }, e.id)), /* @__PURE__ */ (0, O.jsx)(rz, { "data-table-space": "" })]+ }, `skeleton-${t}`)) : _.getRowModel().rows.map((e) => /* @__PURE__ */ (0, O.jsxs)(tz, {id: e.id,"data-catalog-row": "","data-id": e.original.id,"data-library": n.get(e.original.library_id || "")?.color ? e.original.library_id : void 0,"data-board-selected": e.getIsSelected() || void 0,- children: [e.getVisibleCells().map((e) => /* @__PURE__ */ (0, O.jsx)(iz, { children: xK(e.column.columnDef.cell, e.getContext()) }, e.id)), /* @__PURE__ */ (0, O.jsx)(iz, { "data-table-space": "" })]+ children: [e.getVisibleCells().map((e) => /* @__PURE__ */ (0, O.jsx)(rz, { children: bK(e.column.columnDef.cell, e.getContext()) }, e.id)), /* @__PURE__ */ (0, O.jsx)(rz, { "data-table-space": "" })]}, e.id))})]})}),- d.data ? /* @__PURE__ */ (0, O.jsx)(lY, {+ d.data ? /* @__PURE__ */ (0, O.jsx)(cY, {label: "作品列表",total: p,pagination: c,@@ -57659,8 +57659,8 @@ function Sve(e) {]});}-function Cve({ item: e, props: t, disabled: n }) {- let r = Ka(e, "small", !1, t.layout.javImage), i = Number(e.part_group?.count) > 1 && e.part_group || null, a = Number(e.edition_group?.count) > 1 && e.edition_group || null, o = i?.title || e.name || "", s = t.helpers.displayName(e, o).trim() || "未命名作品", c = t.helpers.titleHtml(e, o).trim() || "未命名作品", { avatar: l, who: u } = ZW(e), d = !i && Number(e.play_seconds) > 0 && Number(e.duration) > 0 ? Math.min(Number(e.play_seconds) / Number(e.duration), 1) : 0, f = zW({ names: !0 }), p = e.library_id ? f.get(e.library_id) : void 0, m = [Number(e.liked) > 0 ? "喜欢" : "", Number(e.o_count) > 0 ? "有高潮记录" : ""].filter(Boolean), h = (e) => /* @__PURE__ */ (0, O.jsx)("svg", {+function wve({ item: e, props: t, disabled: n }) {+ let r = Ka(e, "small", !1, t.layout.javImage), i = Number(e.part_group?.count) > 1 && e.part_group || null, a = Number(e.edition_group?.count) > 1 && e.edition_group || null, o = i?.title || e.name || "", s = t.helpers.displayName(e, o).trim() || "未命名作品", c = t.helpers.titleHtml(e, o).trim() || "未命名作品", { avatar: l, who: u } = XW(e), d = !i && Number(e.play_seconds) > 0 && Number(e.duration) > 0 ? Math.min(Number(e.play_seconds) / Number(e.duration), 1) : 0, f = RW({ names: !0 }), p = e.library_id ? f.get(e.library_id) : void 0, m = [Number(e.liked) > 0 ? "喜欢" : "", Number(e.o_count) > 0 ? "有高潮记录" : ""].filter(Boolean), h = (e) => /* @__PURE__ */ (0, O.jsx)("svg", {viewBox: "0 0 24 24","aria-hidden": "true",children: /* @__PURE__ */ (0, O.jsx)("use", { href: `#i-${e}` })@@ -57685,7 +57685,7 @@ function Cve({ item: e, props: t, disabled: n }) {children: /* @__PURE__ */ (0, O.jsxs)("span", {"data-list-picture": "",children: [- r.html ? /* @__PURE__ */ (0, O.jsx)(yW, {+ r.html ? /* @__PURE__ */ (0, O.jsx)(vW, {artwork: r,relayout: (e) => nl(e, "small")}) : /* @__PURE__ */ (0, O.jsx)("span", { children: "无预览" }),@@ -57740,7 +57740,7 @@ function Cve({ item: e, props: t, disabled: n }) {children: [p?.name ? /* @__PURE__ */ (0, O.jsxs)("span", {"data-list-library": "",title: `媒体库:${p.name}`,- children: [/* @__PURE__ */ (0, O.jsx)(ZH, { mark: p.icon }), p.name]+ children: [/* @__PURE__ */ (0, O.jsx)(XH, { mark: p.icon }), p.name]}) : null, u]})]})@@ -57749,20 +57749,20 @@ function Cve({ item: e, props: t, disabled: n }) {}//#endregion//#region src/react/catalog-grid/catalog-grid-page.tsx-function xY(e) {- let t = $j();- if (e.mode === "items") return /* @__PURE__ */ (0, O.jsx)(Tve, { ...e });- let n = e.mode === "entity" ? `entity:${e.entityKey || ""}:${e.revision}` : `catalog:${eM(e.filters || {}, !!e.excludeVertical)}:${e.batchSize || 60}:${e.revision}`;- return t === "list" && !e.wall ? /* @__PURE__ */ (0, O.jsx)(Sve, { ...e }, n) : /* @__PURE__ */ (0, O.jsx)(Eve, { ...e }, n);+function bY(e) {+ let t = Qj();+ if (e.mode === "items") return /* @__PURE__ */ (0, O.jsx)(Eve, { ...e });+ let n = e.mode === "entity" ? `entity:${e.entityKey || ""}:${e.revision}` : `catalog:${$j(e.filters || {}, !!e.excludeVertical)}:${e.batchSize || 60}:${e.revision}`;+ return t === "list" && !e.wall ? /* @__PURE__ */ (0, O.jsx)(Cve, { ...e }, n) : /* @__PURE__ */ (0, O.jsx)(Dve, { ...e }, n);}-function wve({ name: e }) {+function Tve({ name: e }) {return /* @__PURE__ */ (0, O.jsx)("svg", {viewBox: "0 0 24 24","aria-hidden": "true",children: /* @__PURE__ */ (0, O.jsx)("use", { href: `#i-${e}` })});}-function SY({ children: e, selectMode: t }) {+function xY({ children: e, selectMode: t }) {let n = (0, D.useRef)(null), [r, i] = (0, D.useState)(!1);return (0, D.useLayoutEffect)(() => {let e = n.current;@@ -57778,8 +57778,8 @@ function SY({ children: e, selectMode: t }) {children: e});}-function Tve(e) {- let { actions: t } = e, n = (0, D.useCallback)((e, n) => t.open(e, n), [t]), r = e.variant === "next" ? "next" : "grid", i = (e.items || []).map((i) => /* @__PURE__ */ (0, O.jsx)(aG, {+function Eve(e) {+ let { actions: t } = e, n = (0, D.useCallback)((e, n) => t.open(e, n), [t]), r = e.variant === "next" ? "next" : "grid", i = (e.items || []).map((i) => /* @__PURE__ */ (0, O.jsx)(iG, {item: i,variant: r,layout: e.layout,@@ -57793,13 +57793,13 @@ function Tve(e) {return r === "next" ? /* @__PURE__ */ (0, O.jsx)("div", {"data-media-next-row": "",children: i- }) : /* @__PURE__ */ (0, O.jsx)(SY, {+ }) : /* @__PURE__ */ (0, O.jsx)(xY, {selectMode: e.selectMode,children: i});}-function Eve(e) {- let { helpers: t, actions: n, layout: r } = e, i = e.mode === "entity", a = !i && e.filters?.state === "trash", o = i ? Wse(e) : tM(e), [s] = (0, D.useState)(() => e.wall ? Kse(o.queryKey) : void 0), c = s || (i && e.initial ? {+function Dve(e) {+ let { helpers: t, actions: n, layout: r } = e, i = e.mode === "entity", a = !i && e.filters?.state === "trash", o = i ? Gse(e) : eM(e), [s] = (0, D.useState)(() => e.wall ? qse(o.queryKey) : void 0), c = s || (i && e.initial ? {pages: [{...e.initial,items: e.initial.items || [],@@ -57820,7 +57820,7 @@ function Eve(e) {(0, D.useEffect)(() => {l.isPending || u.current || (u.current = !0, e.settled?.(e.revision));}, [l.isPending]);- let { tiles: d, pageStarts: f } = (0, D.useMemo)(() => Jse(l.data?.pages || [], {+ let { tiles: d, pageStarts: f } = (0, D.useMemo)(() => Yse(l.data?.pages || [], {collapse: e.groupCollapse !== !1,mix: !!e.mix && !a,javImage: r.javImage@@ -57830,7 +57830,7 @@ function Eve(e) {e.mix,a,r.javImage- ]), p = d.reduce((e, t) => e + +(t.kind === "card"), 0), m = Number(l.data?.pages[0]?.total || 0), h = i || GG(e.filters), g = !a && !e.selectMode && !!n.wallPlayer && !!n.wallDetails, _ = d.flatMap((e) => e.kind === "card" && IG(e.item) ? [e.item] : []), v = a ? [] : hK(d.flatMap((e) => e.kind === "card" ? [e.item] : []), r.javImage), y = _W(l.isPending, e.skeletonHtml), b = (0, D.useRef)(null), x = Dve(e, l.data, d, f, b);+ ]), p = d.reduce((e, t) => e + +(t.kind === "card"), 0), m = Number(l.data?.pages[0]?.total || 0), h = i || WG(e.filters), g = !a && !e.selectMode && !!n.wallPlayer && !!n.wallDetails, _ = d.flatMap((e) => e.kind === "card" && FG(e.item) ? [e.item] : []), v = a ? [] : mK(d.flatMap((e) => e.kind === "card" ? [e.item] : []), r.javImage), y = gW(l.isPending, e.skeletonHtml), b = (0, D.useRef)(null), x = Ove(e, l.data, d, f, b);(0, D.useLayoutEffect)(() => {if (!l.data) return;let t = !0;@@ -57857,12 +57857,12 @@ function Eve(e) {let C = (0, D.useCallback)((e, t) => n.open(e, t), [n]), w = (0, D.useCallback)((e, t) => n.openResource(e, t), [n]), T = (0, D.useCallback)((e) => n.openShort(e), [n]), E = (0, D.useCallback)(async () => {let e = await l.fetchNextPage();if (e.isFetchNextPageError) throw e.error;- }, [l.fetchNextPage]), k = (i) => i.kind === "mix" ? /* @__PURE__ */ (0, O.jsx)(kve, {+ }, [l.fetchNextPage]), k = (i) => i.kind === "mix" ? /* @__PURE__ */ (0, O.jsx)(Ave, {seed: i.seed,layout: r,helpers: t,actions: n- }, `mix:${i.seed.id}`) : /* @__PURE__ */ (0, O.jsx)(aG, {+ }, `mix:${i.seed.id}`) : /* @__PURE__ */ (0, O.jsx)(iG, {item: i.item,grouped: e.groupCollapse !== !1,variant: a && i.item.medium && i.item.medium !== "video" ? "resource" : "grid",@@ -57880,10 +57880,10 @@ function Eve(e) {"data-grid-reveal": y.fading ? "" : void 0,children: [!e.wall && y.layer,- /* @__PURE__ */ (0, O.jsx)(gK, { assetIds: v }),+ /* @__PURE__ */ (0, O.jsx)(hK, { assetIds: v }),(() => {- if (g && e.wall) return /* @__PURE__ */ (0, O.jsx)(sK, {- sessionKey: i ? `entity:${e.entityKey || ""}` : `catalog:${eM(e.filters || {}, !!e.excludeVertical)}`,+ if (g && e.wall) return /* @__PURE__ */ (0, O.jsx)(oK, {+ sessionKey: i ? `entity:${e.entityKey || ""}` : `catalog:${$j(e.filters || {}, !!e.excludeVertical)}`,items: _,finite: h,hasMore: !!l.hasNextPage,@@ -57891,7 +57891,7 @@ function Eve(e) {loading: l.isPending || !l.data && l.isFetching,error: !l.data && !l.isPending ? Wt(l.error) : "",retry: () => void l.refetch(),- emptyHtml: l.data && !_.length ? fK({+ emptyHtml: l.data && !_.length ? dK({libraryEmpty: !!l.data.pages[0]?.libraryEmpty,matches: m,hasMore: !!l.hasNextPage,@@ -57906,7 +57906,7 @@ function Eve(e) {javImage: r.javImage}, h ? "finite" : "explore");if (l.isPending) return null;- if (!l.data) return /* @__PURE__ */ (0, O.jsx)(vW, {+ if (!l.data) return /* @__PURE__ */ (0, O.jsx)(_W, {message: Wt(l.error),onRetry: () => void l.refetch()});@@ -57923,12 +57923,12 @@ function Eve(e) {return /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)("div", {"data-media-sections": "","data-select-mode": e.selectMode ? "" : void 0,- children: Zse(d, x).map((t) => /* @__PURE__ */ (0, O.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)(SY, { children: t.tiles.map(k) }), t.strip ? /* @__PURE__ */ (0, O.jsx)(Ove, {+ children: Qse(d, x).map((t) => /* @__PURE__ */ (0, O.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)(xY, { children: t.tiles.map(k) }), t.strip ? /* @__PURE__ */ (0, O.jsx)(kve, {cut: t.strip,props: e,onOpen: T}) : null] }, t.start))- }), l.hasNextPage ? /* @__PURE__ */ (0, O.jsx)(CY, {+ }), l.hasNextPage ? /* @__PURE__ */ (0, O.jsx)(SY, {entity: i,load: E,enabled: () => e.canLoadMore?.() !== !1@@ -57937,7 +57937,7 @@ function Eve(e) {]});}-function CY({ entity: e, load: t, enabled: n, children: r }) {+function SY({ entity: e, load: t, enabled: n, children: r }) {let i = (0, D.useRef)(null), a = (0, D.useRef)(null), o = (0, D.useRef)(!1), s = (0, D.useRef)(!1), [c, l] = (0, D.useState)({busy: !1,error: ""@@ -57979,7 +57979,7 @@ function CY({ entity: e, load: t, enabled: n, children: r }) {if (!e) return;let t = new IntersectionObserver((e) => {e.some((e) => e.isIntersecting) && d(!1);- }, { rootMargin: gW });+ }, { rootMargin: hW });return a.current = t, t.observe(e), () => {t.disconnect(), a.current = null;};@@ -58002,12 +58002,12 @@ function CY({ entity: e, load: t, enabled: n, children: r }) {hidden: !!c.error,onClick: () => void d(!0),dangerouslySetInnerHTML: { __html: as(is) }- }), c.error ? /* @__PURE__ */ (0, O.jsx)(vW, {+ }), c.error ? /* @__PURE__ */ (0, O.jsx)(_W, {message: c.error,onRetry: () => void d(!0)}) : null] });}-function Dve(e, t, n, r, i) {+function Ove(e, t, n, r, i) {let [a, o] = (0, D.useState)([]), [s, c] = (0, D.useState)(null), l = (0, D.useRef)(0), u = (0, D.useRef)(0), d = (0, D.useRef)({parts: /* @__PURE__ */ new Set(),editions: /* @__PURE__ */ new Set()@@ -58019,7 +58019,7 @@ function Dve(e, t, n, r, i) {let r = new AbortController();f.current.push(r);let i = n - 1;- B(`/api/items?${Xse(e.filters || {}, l.current)}`, r.signal).then((e) => {+ B(`/api/items?${Zse(e.filters || {}, l.current)}`, r.signal).then((e) => {let t = e.items || [];t.length ? c({page: i,@@ -58031,9 +58031,9 @@ function Dve(e, t, n, r, i) {}, [t]), (0, D.useLayoutEffect)(() => {if (!s) return;c(null);- let t = a.reduce((e, t) => Math.max(e, t.at), 0), u = i.current?.querySelectorAll("[data-media-sections] > [data-media-grid]"), f = u?.[u.length - 1], p = f ? Math.max(1, getComputedStyle(f).gridTemplateColumns.split(" ").length) : 1, m = Math.max(0, (r[s.page] ?? 0) - t), h = Yse(n.length - t, m, p);+ let t = a.reduce((e, t) => Math.max(e, t.at), 0), u = i.current?.querySelectorAll("[data-media-sections] > [data-media-grid]"), f = u?.[u.length - 1], p = f ? Math.max(1, getComputedStyle(f).gridTemplateColumns.split(" ").length) : 1, m = Math.max(0, (r[s.page] ?? 0) - t), h = Xse(n.length - t, m, p);if (!h.length) return;- let g = nM(s.items, d.current, e.groupCollapse !== !1);+ let g = tM(s.items, d.current, e.groupCollapse !== !1);if (l.current = s.more ? l.current + 18 : 0, !g.length) return;let _ = t + (h[Math.floor(Math.random() * h.length)] ?? 0);o((e) => [...e, {@@ -58043,7 +58043,7 @@ function Dve(e, t, n, r, i) {}]);}, [s]), a;}-function Ove({ cut: e, props: t, onOpen: n }) {+function kve({ cut: e, props: t, onOpen: n }) {let r = (0, D.useRef)(null), { wireDrag: i } = t;return (0, D.useEffect)(() => {r.current && i(r.current);@@ -58059,12 +58059,12 @@ function Ove({ cut: e, props: t, onOpen: n }) {type: "button","data-shorts-enter": "",onClick: () => t.actions.openShorts(),- children: [/* @__PURE__ */ (0, O.jsx)(wve, { name: "gallery-vertical-end" }), /* @__PURE__ */ (0, O.jsx)("span", { children: "进入沉浸模式" })]+ children: [/* @__PURE__ */ (0, O.jsx)(Tve, { name: "gallery-vertical-end" }), /* @__PURE__ */ (0, O.jsx)("span", { children: "进入沉浸模式" })]})] }), /* @__PURE__ */ (0, O.jsx)("div", {ref: r,"data-shorts-row": "",- children: e.items.map((e) => /* @__PURE__ */ (0, O.jsx)(aG, {+ children: e.items.map((e) => /* @__PURE__ */ (0, O.jsx)(iG, {item: e,variant: "short",layout: t.layout,@@ -58079,17 +58079,17 @@ function Ove({ cut: e, props: t, onOpen: n }) {})]});}-function wY(e, t, n) {+function CY(e, t, n) {return qa(e, t.active && e.is_jav ? t.size : "small", n, t.javImage);}-function kve({ seed: e, layout: t, helpers: n, actions: r }) {+function Ave({ seed: e, layout: t, helpers: n, actions: r }) {let i = (0, D.useRef)(/* @__PURE__ */ new Map()), a = (0, D.useRef)(t);a.current = t;let o = $a(e, n.tagLabel), s = (0, D.useCallback)(async () => {- let t = a.current, n = [e, ...await r.mixRelated(e.id)].filter((e) => rM(e, t.javImage)).slice(0, 9);- return i.current = new Map(n.map((e) => [String(e.id), wY(e, t, !0).html])), n.map((e) => String(e.id));- }, [e, r]), c = t.active && e.is_jav ? t.size : "small", l = wY(e, t, !1);- return /* @__PURE__ */ (0, O.jsx)(hG, {+ let t = a.current, n = [e, ...await r.mixRelated(e.id)].filter((e) => nM(e, t.javImage)).slice(0, 9);+ return i.current = new Map(n.map((e) => [String(e.id), CY(e, t, !0).html])), n.map((e) => String(e.id));+ }, [e, r]), c = t.active && e.is_jav ? t.size : "small", l = CY(e, t, !1);+ return /* @__PURE__ */ (0, O.jsx)(mG, {"data-mix-seed": String(e.id),name: `Mix · ${o}`,caption: `${n.displayName(e, e.name || "")}及相似作品`,@@ -58099,12 +58099,12 @@ function kve({ seed: e, layout: t, helpers: n, actions: r }) {wholeCard: !0,poster: null,artwork: l,- artworkIdentity: c === "small" ? l.html : wY(e, {+ artworkIdentity: c === "small" ? l.html : CY(e, {...t,size: "small"}, !1).html,relayoutArt: (e) => nl(e, c),- ratio: XW(e, "grid", t),+ ratio: YW(e, "grid", t),flipImages: s,faceHtml: (e) => i.current.get(e) || "",canFlip: r.canFlip,@@ -58116,37 +58116,37 @@ function kve({ seed: e, layout: t, helpers: n, actions: r }) {}//#endregion//#region src/react/media-sources.ts-async function TY(e) {+async function wY(e) {await H.fetchQuery({queryKey: Vn,queryFn: () => Hn(e)});}-var Ave = (e) => (e?.sources ?? []).filter((e) => Vt.includes(e.location) && (e.roots === void 0 || e.roots.length > 0)).map((e) => e.location), jve = "/api/duplicates?limit=120", EY = ["duplicates"], DY = "/api/batch", OY = (e) => B(jve, e), Mve = /[\s\-_.()[\]【】/\\]/;-function Nve(e) {+var jve = (e) => (e?.sources ?? []).filter((e) => Vt.includes(e.location) && (e.roots === void 0 || e.roots.length > 0)).map((e) => e.location), Mve = "/api/duplicates?limit=120", TY = ["duplicates"], EY = "/api/batch", DY = (e) => B(Mve, e), Nve = /[\s\-_.()[\]【】/\\]/;+function Pve(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 && !Mve.test(n[r - 1]);) --r;+ for (; r > 0 && !Nve.test(n[r - 1]);) --r;return r >= 8 ? n.slice(0, r) : "";}-var Pve = (e, t) => t && e.startsWith(t) && e.length > t.length ? `…${e.slice(t.length)}` : e;-async function Fve(e) {+var Fve = (e, t) => t && e.startsWith(t) && e.length > t.length ? `…${e.slice(t.length)}` : e;+async function Ive(e) {await Promise.all([H.fetchQuery({- queryKey: EY,- queryFn: () => OY(e)- }), TY(e)]);+ queryKey: TY,+ queryFn: () => DY(e)+ }), wY(e)]);}-var Ive = {+var Lve = {largest: "最大的一个",longest: "最长的一个",115: "115(没有则留最大)",pikpak: "PikPak(没有则留最大)",all: "零个文件"-}, Lve = (e, t) => t.filter((t) => e.some((e) => e.location === t)), kY = (e, t) => Lve(e, t).filter((t) => e.some((e) => e.location !== t)), Rve = (e, t) => t.filter((t) => e.some((e) => kY(e.files, [t]).length));-function zve(e, t) {+}, Rve = (e, t) => t.filter((t) => e.some((e) => e.location === t)), OY = (e, t) => Rve(e, t).filter((t) => e.some((e) => e.location !== t)), zve = (e, t) => t.filter((t) => e.some((e) => OY(e.files, [t]).length));+function Bve(e, t) {let n = [];for (let r of e) {if (t === "all") {@@ -58165,12 +58165,12 @@ function zve(e, t) {}return n;}-function Bve(e, t) {+function Vve(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 Vve(e, t) {- for (let n = 0; n < e.length; n += 200) await V(DY, {+async function Hve(e, t) {+ for (let n = 0; n < e.length; n += 200) await V(EY, {ids: e.slice(n, n + 200),operation: t,...t === "dispose" ? { disposal_reason: "duplicate" } : {}@@ -58178,7 +58178,7 @@ async function Vve(e, t) {}//#endregion//#region src/react/media-repair/media-repair.ts-var AY = "/api/media-repair", jY = ["media-repair"], MY = ["media-repair", "libraries"], Hve = {+var kY = "/api/media-repair", AY = ["media-repair"], jY = ["media-repair", "libraries"], Uve = {status: "idle",library: "",stage: "",@@ -58190,41 +58190,41 @@ var AY = "/api/media-repair", jY = ["media-repair"], MY = ["media-repair", "librmissing_tool: 0,skipped: 0,message: ""-}, NY = (e) => B(AY, e), PY = async (e) => (await B("/api/libraries", e)).libraries || [];-async function Uve(e) {+}, MY = (e) => B(kY, e), NY = async (e) => (await B("/api/libraries", e)).libraries || [];+async function Wve(e) {await Promise.all([H.fetchQuery({+ queryKey: AY,+ queryFn: () => MY(e)+ }), H.fetchQuery({queryKey: jY,queryFn: () => NY(e)- }), H.fetchQuery({- queryKey: MY,- queryFn: () => PY(e)})]);}-var FY = (e) => Number(e).toLocaleString();-function Wve(e) {+var PY = (e) => Number(e).toLocaleString();+function Gve(e) {if (e.status === "running") {- let t = e.total ? `${FY(Math.min(e.checked || 0, e.total))} / ${FY(e.total)}` : "准备中";+ let t = e.total ? `${PY(Math.min(e.checked || 0, e.total))} / ${PY(e.total)}` : "准备中";return e.stage === "修复" && e.message ? `修复 ${t} · ${e.message}` : `${e.stage || "扫描"} ${t}`;}- return e.status === "complete" && (e.repaired || e.failed) ? e.failed ? `修好 ${FY(e.repaired)} 部,${FY(e.failed)} 部修不了` : `修好 ${FY(e.repaired)} 部` : "";+ return e.status === "complete" && (e.repaired || e.failed) ? e.failed ? `修好 ${PY(e.repaired)} 部,${PY(e.failed)} 部修不了` : `修好 ${PY(e.repaired)} 部` : "";}-var Gve = (e) => `${FY(e.missing_tool)} 部缺索引的片子要装上 untrunc 才修得了,下载入口在配置页的「运行信息」里。`, Kve = "/api/quality-goals?limit=200", IY = ["quality-goals"], LY = (e) => B(Kve, e);-async function qve(e) {+var Kve = (e) => `${PY(e.missing_tool)} 部缺索引的片子要装上 untrunc 才修得了,下载入口在配置页的「运行信息」里。`, qve = "/api/quality-goals?limit=200", FY = ["quality-goals"], IY = (e) => B(qve, e);+async function Jve(e) {await H.fetchQuery({- queryKey: IY,- queryFn: () => LY(e)+ queryKey: FY,+ queryFn: () => IY(e)});}-var Jve = (e) => e.has_cover ? ja(e) : `/poster?id=${e.id}&c=4`;+var Yve = (e) => e.has_cover ? ja(e) : `/poster?id=${e.id}&c=4`;//#endregion//#region src/selection.ts-function RY(e, t, n, r, i, a = i || !e.has(r)) {+function LY(e, t, n, r, i, a = i || !e.has(r)) {let o = n === null ? -1 : t.indexOf(n), s = t.indexOf(r);return i && o >= 0 && s >= 0 ? t.slice(Math.min(o, s), Math.max(o, s) + 1).forEach((t) => e.add(t)) : a ? e.add(r) : e.delete(r), r;}//#endregion//#region src/react/review/review.ts-var Yve = "/api/review", Xve = "/api/review/decision", Zve = "/api/review/genre", zY = ["review"], BY = {+var Xve = "/api/review", Zve = "/api/review/decision", Qve = "/api/review/genre", RY = ["review"], zY = {metadata_fields: "元数据字段",creator_tags: "创作者标签",studio_logos: "厂牌 Logo",@@ -58234,15 +58234,15 @@ var Yve = "/api/review", Xve = "/api/review/decision", Zve = "/api/review/genre"fc2_markings: "FC2 评论标记",fc2_similarity: "FC2 跨号相似",video_endcards: "片尾/出处证据"-}, Qve = Object.keys(BY), $ve = "metadata_fields", VY = (e) => typeof e == "string" && Object.hasOwn(BY, e), eye = {+}, $ve = Object.keys(zY), eye = "metadata_fields", BY = (e) => typeof e == "string" && Object.hasOwn(zY, e), tye = {creator_tags: "creator",western_identity: "creator"};-function tye(e, t) {+function nye(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 HY(e, t) {+function VY(e, t) {let n = /* @__PURE__ */ new Map();for (let r of e) {let e, i;@@ -58259,10 +58259,10 @@ function HY(e, t) {}return [...n.values()];}-function nye(e, t, n) {- return n && HY(e, t).find((e) => e.key === n)?.rows || e;+function rye(e, t, n) {+ return n && VY(e, t).find((e) => e.key === n)?.rows || e;}-function rye(e, t) {+function iye(e, t) {let n = Rn(e.length, 20), r = zn(t, n);return {page: r,@@ -58270,32 +58270,32 @@ function rye(e, t) {rows: e.slice((r - 1) * 20, r * 20)};}-function iye(e) {+function aye(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 aye(e, t, n, r, i, a) {- return RY(e, t, n, r, i, a);+function oye(e, t, n, r, i, a) {+ return LY(e, t, n, r, i, a);}-function oye(e, t) {+function sye(e, t) {return e === "metadata_fields" ? (t.candidates?.length || 0) > 0 : e !== "creator_tags" || String(t.status || "").trim() === "candidate";}-function UY(e, t) {+function HY(e, t) {return String(e === "metadata_fields" ? t.query || t.code || "" : t.creator || t.studio || t.current_name || t.name || t.item_key);}-var WY = (e, t) => e === "metadata_fields" ? String(t.field_label || t.field || "").trim() : "";-function sye(e, t) {- let n = UY(e, t), r = WY(e, t);+var UY = (e, t) => e === "metadata_fields" ? String(t.field_label || t.field || "").trim() : "";+function cye(e, t) {+ let n = HY(e, t), r = UY(e, t);return r ? `${n} · ${r}` : n;}-var cye = (e) => e.reason || e.evidence || e.note || e.decision_note || "", lye = (e) => String(e.tags || "").split("|").filter(Boolean), uye = (e) => [...new Set((e.candidates || []).flatMap((e) => e.unmapped_genres || []))];-function dye(e) {+var lye = (e) => e.reason || e.evidence || e.note || e.decision_note || "", uye = (e) => String(e.tags || "").split("|").filter(Boolean), dye = (e) => [...new Set((e.candidates || []).flatMap((e) => e.unmapped_genres || []))];+function fye(e) {let t = e.candidates || [];return {candidateKey: t.length === 1 ? t[0].candidate_key : "",assets: (e.preview_assets || []).map((e) => e.id)};}-function fye(e, t, n, r) {+function pye(e, t, n, r) {let i = !!t.asset_path && t.asset_mutation_revision != null;return {category: e,@@ -58311,12 +58311,12 @@ function fye(e, t, n, r) {...i ? { expected_revision: t.asset_mutation_revision } : {}};}-var pye = (e) => e === "approved" ? "已通过资料" : e === "rejected" ? "已拒绝资料" : "已跳过资料", GY = (e) => B(Yve, e);-async function mye(e) {- let t = await V(Xve, e);+var mye = (e) => e === "approved" ? "已通过资料" : e === "rejected" ? "已拒绝资料" : "已跳过资料", WY = (e) => B(Xve, e);+async function hye(e) {+ let t = await V(Zve, e);if (t.ok && t.asset_revisions) {let e = t.asset_revisions;- H.setQueryData(zY, (t) => t && {+ H.setQueryData(RY, (t) => t && {...t,sections: {...t.sections,@@ -58332,22 +58332,22 @@ async function mye(e) {}return t;}-function hye(e, t) {- return H.getQueryData(zY)?.sections[e]?.find((e) => e.item_key === t.item_key) || t;+function gye(e, t) {+ return H.getQueryData(RY)?.sections[e]?.find((e) => e.item_key === t.item_key) || t;}-var gye = (e, t) => V(Zve, {+var _ye = (e, t) => V(Qve, {genre: e,tag: t});-async function _ye(e) {+async function vye(e) {await H.fetchQuery({- queryKey: zY,- queryFn: () => GY(e)+ queryKey: RY,+ queryFn: () => WY(e)});}-function vye(e, t) {+function yye(e, t) {let n = new Set(t);- n.size && H.setQueryData(zY, (t) => {+ n.size && H.setQueryData(RY, (t) => {if (!t) return t;let r = t.sections[e] || [], i = r.filter((e) => !n.has(String(e.item_key)));return i.length === r.length ? t : {@@ -58363,228 +58363,228 @@ function vye(e, t) {};});}-var yye = () => H.invalidateQueries({- queryKey: zY,+var bye = () => H.invalidateQueries({+ queryKey: RY,exact: !0});-function bye(e, t) {+function xye(e, t) {return e?.state === "live" ? "正在显示写入端的实时复核队列" : e?.state === "cached" ? `写入端暂时不可达,显示 ${Gn(e.fetched_at)} 的缓存` : e?.error || t;}//#endregion//#region src/react/data-cleanup/links.ts-var xye = "/api/links", KY = "/api/links/check", qY = "/api/links/prune", JY = ["links"], YY = ["links", "check"], XY = ["links", "prune"], Sye = {+var Sye = "/api/links", GY = "/api/links/check", KY = "/api/links/prune", qY = ["links"], JY = ["links", "check"], YY = ["links", "prune"], Cye = {official: "官网/事务所",social: "社交账号",catalog: "作品资料站",source_reference: "资料出处"};-async function ZY(e) {+async function XY(e) {let t = await e;if (t.ok === !1) throw Error(t.error || "操作未完成,请重试");return t;}-var QY = (e) => B(xye, e), $Y = (e) => V(KY, { status_only: !0 }, "POST", e), Cye = ({ retry: e, checkId: t }) => ZY(V(KY, e ? {+var ZY = (e) => B(Sye, e), QY = (e) => V(GY, { status_only: !0 }, "POST", e), wye = ({ retry: e, checkId: t }) => XY(V(GY, e ? {retry: e,check_id: t-} : { restart: !0 })), eX = (e) => B(qY, e), wye = ({ checkId: e, ids: t }) => ZY(V(qY, {+} : { restart: !0 })), $Y = (e) => B(KY, e), Tye = ({ checkId: e, ids: t }) => XY(V(KY, {confirm: !0,check_id: e,background: !0,...t ? { ids: t } : {}-})), tX = (e) => Number(e || 0).toLocaleString(), Tye = (e) => `已删除 ${tX(e.removed)} 条;${e.marked ? `已隐退女优的 ${tX(e.marked)} 条留作不可点的记录;` : ""}保留 ${tX(e.recovered)} 条未确认失效的链接。`;-function Eye(e) {+})), eX = (e) => Number(e || 0).toLocaleString(), Eye = (e) => `已删除 ${eX(e.removed)} 条;${e.marked ? `已隐退女优的 ${eX(e.marked)} 条留作不可点的记录;` : ""}保留 ${eX(e.recovered)} 条未确认失效的链接。`;+function Dye(e) {let t = e.scope === "retry";- return e.total ? `${t ? "已重验" : "已检查"} ${tX(e.checked)} / ${tX(e.total)} 条链接` : t ? "正在重验链接" : "正在检查链接";+ return e.total ? `${t ? "已重验" : "已检查"} ${eX(e.checked)} / ${eX(e.total)} 条链接` : t ? "正在重验链接" : "正在检查链接";}//#endregion//#region src/configuration-endpoints.ts-var nX = "/api/configuration", rX = "/api/pick-folder", iX = "/api/settings", aX = "/api/follow/schedule", oX = "/api/feeds/schedule", sX = "/api/thumbnail-jobs", cX = ["settings"], lX = ["follow-schedule"], uX = ["feed-schedule"], dX = ["thumbnail-jobs"], fX = "/api/media-processing", Dye = ["media-processing"], Oye = (e) => B(fX, e), pX = (e) => B(iX, e), kye = (e) => B(aX, e), Aye = (e) => B(oX, e), jye = (e) => B(sX, e);-function Mye(e = H) {+var tX = "/api/configuration", nX = "/api/pick-folder", rX = "/api/settings", iX = "/api/follow/schedule", aX = "/api/feeds/schedule", oX = "/api/thumbnail-jobs", sX = ["settings"], cX = ["follow-schedule"], lX = ["feed-schedule"], uX = ["thumbnail-jobs"], dX = "/api/media-processing", Oye = ["media-processing"], kye = (e) => B(dX, e), fX = (e) => B(rX, e), Aye = (e) => B(iX, e), jye = (e) => B(aX, e), Mye = (e) => B(oX, e);+function Nye(e = H) {return e.fetchQuery({- queryKey: cX,- queryFn: ({ signal: e }) => pX(e),+ queryKey: sX,+ queryFn: ({ signal: e }) => fX(e),staleTime: 0}).catch(() => null);}-function mX() {+function pX() {return wt({- mutationFn: (e) => V(iX, e),- onSuccess: (e) => H.setQueryData(cX, e)+ mutationFn: (e) => V(rX, e),+ onSuccess: (e) => H.setQueryData(sX, e)});}-function Nye() {+function Pye() {return wt({- mutationFn: (e) => V(aX, {+ mutationFn: (e) => V(iX, {enabled: e > 0,interval_minutes: e || 60}),- onSuccess: (e) => H.setQueryData(lX, e)+ onSuccess: (e) => H.setQueryData(cX, e)});}-var Pye = {+var Fye = {follow: {- url: `${aX}/run`,- key: lX+ url: `${iX}/run`,+ key: cX},feed: {- url: `${oX}/run`,- key: uX+ url: `${aX}/run`,+ key: lX}};-function Fye(e) {- let { url: t, key: n } = Pye[e];+function Iye(e) {+ let { url: t, key: n } = Fye[e];return wt({mutationFn: () => V(t, {}),onSuccess: (e) => H.setQueryData(n, e)});}-var Iye = (e) => e?.running ? 3e3 : !1;-function Lye() {+var Lye = (e) => e?.running ? 3e3 : !1;+function Rye() {return wt({- mutationFn: (e) => V(sX, { mode: e }),- onSuccess: (e) => H.setQueryData(dX, e)+ mutationFn: (e) => V(oX, { mode: e }),+ onSuccess: (e) => H.setQueryData(uX, e)});}//#endregion//#region src/react/data-cleanup/organize.ts-var Rye = "/api/organize", zye = "/api/organize/preview", Bye = "/api/organize/apply", Vye = "/api/organize/rollback", hX = ["organize"], Hye = "/api/organize/example", Uye = (e, t, n) => B(`${Hye}?${new URLSearchParams({+var zye = "/api/organize", Bye = "/api/organize/preview", Vye = "/api/organize/apply", Hye = "/api/organize/rollback", mX = ["organize"], Uye = "/api/organize/example", Wye = (e, t, n) => B(`${Uye}?${new URLSearchParams({file_template: e,dir_template: t-})}`, n), gX = (e) => B(Rye, e);-async function Wye(e) {+})}`, n), hX = (e) => B(zye, e);+async function Gye(e) {await H.fetchQuery({- queryKey: hX,- queryFn: () => gX(e)+ queryKey: mX,+ queryFn: () => hX(e)});}-var Gye = (e) => V(zye, e), Kye = (e) => V(rX, { initial: e }), qye = (e) => e.kind === "apply" ? V(Bye, {+var Kye = (e) => V(Bye, e), qye = (e) => V(nX, { initial: e }), Jye = (e) => e.kind === "apply" ? V(Vye, {...e.request,confirm: !0-}) : V(Vye, { confirm: !0 });-async function Jye(e) {- H.setQueryData(hX, (t) => t && {+}) : V(Hye, { confirm: !0 });+async function Yye(e) {+ H.setQueryData(mX, (t) => t && {...t,templates: e});try {- await V(iX, { organizeTemplates: e });+ await V(rX, { organizeTemplates: e });} catch {}}-var Yye = (e, t) => e && {+var Xye = (e, t) => e && {...e,...t-}, Xye = /目录模板|分隔符|盘符|`\.`/;-function Zye(e) {+}, Zye = /目录模板|分隔符|盘符|`\.`/;+function Qye(e) {let t = String(e || "");return t.slice(Math.max(t.lastIndexOf("\\"), t.lastIndexOf("/")) + 1);}-var _X = (e) => Number(e || 0).toLocaleString();-function Qye(e) {- let t = Object.entries(e.reasons || {}).sort((e, t) => t[1] - e[1]).map(([e, t]) => `${e} ${_X(t)}`).join(" · ");- return Number(e.counts?.change || 0) ? `${_X(e.counts.change)} 个文件会改名或移动,${_X(e.counts.unchanged)} 个已经就是目标名字${t ? `;跳过 ${t}` : ""}。` : `没有要改的文件。${t ? `跳过:${t}。` : ""}`;-}+var gX = (e) => Number(e || 0).toLocaleString();function $ye(e) {+ let t = Object.entries(e.reasons || {}).sort((e, t) => t[1] - e[1]).map(([e, t]) => `${e} ${gX(t)}`).join(" · ");+ return Number(e.counts?.change || 0) ? `${gX(e.counts.change)} 个文件会改名或移动,${gX(e.counts.unchanged)} 个已经就是目标名字${t ? `;跳过 ${t}` : ""}。` : `没有要改的文件。${t ? `跳过:${t}。` : ""}`;+}+function ebe(e) {let t = e.restored !== void 0, n = Number(e.failed || 0), r = Number(t ? e.restored : e.moved || 0);return {- text: t ? `已退回 ${_X(r)} 个文件${n ? `,${_X(n)} 行未能退回` : ""}。` : `已整理 ${_X(r)} 个文件${n ? `,${_X(n)} 行未能处理` : ""}。`,+ text: t ? `已退回 ${gX(r)} 个文件${n ? `,${gX(n)} 行未能退回` : ""}。` : `已整理 ${gX(r)} 个文件${n ? `,${gX(n)} 行未能处理` : ""}。`,failed: n,rollback: t};}//#endregion//#region src/react/data-cleanup/orphan-records.ts-var ebe = "/api/orphan-records", tbe = "/api/orphan-records/attach", vX = ["orphan-records"], nbe = [+var tbe = "/api/orphan-records", nbe = "/api/orphan-records/attach", _X = ["orphan-records"], rbe = [["asset_preference", "喜欢与理由"],["watch_queue", "稍后看"],["playlist_item", "播放列表"],["asset_quality_goal", "寻找更好版本"],["activity_event", "观看历史"],["asset_tag_preference", "隐藏标签"]-], yX = (e) => B(ebe, e), rbe = (e, t) => V(tbe, {+], vX = (e) => B(tbe, e), ibe = (e, t) => V(nbe, {id: e,target: t-}), ibe = (e) => V(DY, {+}), abe = (e) => V(EY, {ids: Array.isArray(e) ? e : [e],operation: "delete"-}), abe = (e) => [+}), obe = (e) => [e.rating ? `评分 ${e.rating}` : "",e.play_count ? `播放 ${Number(e.play_count).toLocaleString()} 次` : e.last_played ? "播放过" : "",e.o_count ? `高潮 ${Number(e.o_count).toLocaleString()} 次` : ""-], obe = (e) => [...nbe.filter(([t]) => e[t]).map(([t, n]) => `${n} ${Number(e[t]).toLocaleString()}`), ...abe(e)].filter(Boolean).join(" · "), sbe = (e) => e ? `${Math.round(e / 60)} 分钟` : "", cbe = (e) => [e.name, sbe(e.duration)].filter(Boolean).join(" · "), bX = "/api/resource-sync/scan", xX = "/api/resource-sync/apply", SX = ["resource-sync", "scan"], CX = ["resource-sync", "apply"], wX = (e) => V(bX, {+], sbe = (e) => [...rbe.filter(([t]) => e[t]).map(([t, n]) => `${n} ${Number(e[t]).toLocaleString()}`), ...obe(e)].filter(Boolean).join(" · "), cbe = (e) => e ? `${Math.round(e / 60)} 分钟` : "", lbe = (e) => [e.name, cbe(e.duration)].filter(Boolean).join(" · "), yX = "/api/resource-sync/scan", bX = "/api/resource-sync/apply", xX = ["resource-sync", "scan"], SX = ["resource-sync", "apply"], CX = (e) => V(yX, {background: !0,status_only: !0-}, "POST", e), lbe = () => V(bX, {+}, "POST", e), ube = () => V(yX, {background: !0,restart: !0-}), TX = (e) => B(xX, e), ube = (e) => V(xX, {+}), wX = (e) => B(bX, e), dbe = (e) => V(bX, {confirm: !0,clean_cache: !0,scan_id: e,background: !0-}), EX = (e) => (e?.sources ?? []).some((e) => Bt.includes(e.location) && Array.isArray(e.roots) && e.roots.length > 0);-async function dbe(e) {- EX(H.getQueryData(Vn)) && await Promise.all([H.fetchQuery({+}), TX = (e) => (e?.sources ?? []).some((e) => Bt.includes(e.location) && Array.isArray(e.roots) && e.roots.length > 0);+async function fbe(e) {+ TX(H.getQueryData(Vn)) && await Promise.all([H.fetchQuery({+ queryKey: xX,+ queryFn: () => CX(e)+ }), H.fetchQuery({queryKey: SX,queryFn: () => wX(e)- }), H.fetchQuery({- queryKey: CX,- queryFn: () => TX(e)})]);}-var fbe = (e) => !!(e?.missing || e?.empty || e?.cache?.files), DX = (e) => Number(e || 0).toLocaleString(), pbe = (e) => e.total_sources ? `已扫描 ${e.completed_sources || 0}/${e.total_sources} 个来源` : "正在扫描来源", OX = (e) => e.purge ?? Number(e.missing || 0) - Number(e.vanish || 0), kX = (e) => e.vanish ? `${DX(e.vanish)} 条作品记录的文件已丢失,个人记录保留,可在「文件已丢失的记录」中转移个人记录或删除记录。` : "", AX = (e) => e.vanish ? "这几样不可撤销。" : "这一步不可撤销。", mbe = (e) => `将永久删除文件已不在盘上的 ${DX(OX(e))} 条记录和 ${DX(e.empty)} 个空文件夹,并清理 ${DX(e.cache?.files)} 个闲置缓存。${AX(e)}${kX(e)}`, hbe = (e) => `将永久删除文件已不在盘上的 ${DX(OX(e))} 条记录(含回收站里的)、${DX(e.empty)} 个空文件夹,并清理 ${DX(e.cache?.files)} 个闲置缓存。来源根目录保留。${AX(e)}${kX(e)}`, gbe = (e) => e.online ? [- `找不到文件 · 共 ${DX(e.total)} 项`,- e.vanish ? `${DX(e.vanish)} 项带个人记录` : "",- e.empty ? `空文件夹 ${DX(e.empty)} 个` : ""-].filter(Boolean).join(" · ") : `馆藏中有 ${DX(e.total)} 项`;-function jX(e) {+var pbe = (e) => !!(e?.missing || e?.empty || e?.cache?.files), EX = (e) => Number(e || 0).toLocaleString(), mbe = (e) => e.total_sources ? `已扫描 ${e.completed_sources || 0}/${e.total_sources} 个来源` : "正在扫描来源", DX = (e) => e.purge ?? Number(e.missing || 0) - Number(e.vanish || 0), OX = (e) => e.vanish ? `${EX(e.vanish)} 条作品记录的文件已丢失,个人记录保留,可在「文件已丢失的记录」中转移个人记录或删除记录。` : "", kX = (e) => e.vanish ? "这几样不可撤销。" : "这一步不可撤销。", hbe = (e) => `将永久删除文件已不在盘上的 ${EX(DX(e))} 条记录和 ${EX(e.empty)} 个空文件夹,并清理 ${EX(e.cache?.files)} 个闲置缓存。${kX(e)}${OX(e)}`, gbe = (e) => `将永久删除文件已不在盘上的 ${EX(DX(e))} 条记录(含回收站里的)、${EX(e.empty)} 个空文件夹,并清理 ${EX(e.cache?.files)} 个闲置缓存。来源根目录保留。${kX(e)}${OX(e)}`, _be = (e) => e.online ? [+ `找不到文件 · 共 ${EX(e.total)} 项`,+ e.vanish ? `${EX(e.vanish)} 项带个人记录` : "",+ e.empty ? `空文件夹 ${EX(e.empty)} 个` : ""+].filter(Boolean).join(" · ") : `馆藏中有 ${EX(e.total)} 项`;+function AX(e) {let t = e.blocked ?? [], n = Number(e.dir_errors || 0), r = e.cache_blocked ?? [], i = Number(e.purged || 0) + Number(e.vanished || 0) + Number(e.reattached || 0) + Number(e.dirs_removed || 0) + Number(e.cache_removed || 0), a = t.length + n + r.length, o = t.slice(0, 3).map((e) => `「${e.name}」`).join("、") + (t.length > 3 ? " 等" : "");return {done: i,left: a,rest: [- t.length ? `${DX(t.length)} 条记录没有删除(${o})` : "",- n ? `${DX(n)} 个文件夹没有删除` : "",- r.length ? `${DX(r.length)} 个缓存没有清理` : ""+ t.length ? `${EX(t.length)} 条记录没有删除(${o})` : "",+ n ? `${EX(n)} 个文件夹没有删除` : "",+ r.length ? `${EX(r.length)} 个缓存没有清理` : ""].filter(Boolean).join(",")};}-var _be = (e, t) => {- let { rest: n } = jX(e), r = `已永久删除 ${DX(e.purged)} 条失效记录和 ${DX(e.dirs_removed)} 个空文件夹,清理 ${DX(e.cache_removed)} 个缓存,释放 ${t(e.bytes_reclaimed || 0)}。` + (e.vanished ? `${DX(e.vanished)} 条作品记录已标为文件丢失,可在「文件已丢失的记录」中处理。` : "") + (e.reattached ? `${DX(e.reattached)} 条的记录已接到库里的另一个版本。` : "");+var vbe = (e, t) => {+ let { rest: n } = AX(e), r = `已永久删除 ${EX(e.purged)} 条失效记录和 ${EX(e.dirs_removed)} 个空文件夹,清理 ${EX(e.cache_removed)} 个缓存,释放 ${t(e.bytes_reclaimed || 0)}。` + (e.vanished ? `${EX(e.vanished)} 条作品记录已标为文件丢失,可在「文件已丢失的记录」中处理。` : "") + (e.reattached ? `${EX(e.reattached)} 条的记录已接到库里的另一个版本。` : "");return n ? `${r}${n},重新检查后可再试。` : r;-}, vbe = "/api/review?counts=1", MX = ["review", "counts"], ybe = "/api/ads?limit=1", NX = ["junk-summary"], PX = "/api/items?state=trash&limit=1", FX = ["trash-summary"], bbe = [+}, ybe = "/api/review?counts=1", jX = ["review", "counts"], bbe = "/api/ads?limit=1", MX = ["junk-summary"], NX = "/api/items?state=trash&limit=1", PX = ["trash-summary"], xbe = [["video", "视频"],["image", "图片"],["archive", "压缩包"],["audio", "音频"],["url", "网址"],["other", "其它"]-], IX = (e) => B(vbe, e), LX = (e) => B(ybe, e), RX = (e) => {+], FX = (e) => B(ybe, e), IX = (e) => B(bbe, e), LX = (e) => {let t = sessionStorage.getItem("peach.library");- return B(t ? `${PX}&library=${encodeURIComponent(t)}` : PX, e);-}, zX = (e) => Number(e || 0).toLocaleString();-function xbe(e) {- let t = BY, 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 ? `${NX}&library=${encodeURIComponent(t)}` : NX, e);+}, RX = (e) => Number(e || 0).toLocaleString();+function Sbe(e) {+ let t = zY, n = Object.entries(e?.counts ?? {}).map(([e, n]) => [t[e] || e, Number(n) || 0]).filter(([, e]) => e > 0).sort((e, t) => t[1] - e[1]), r = n.reduce((e, [, t]) => e + t, 0), i = n.slice(0, 3).map(([e, t]) => `${e} ${t.toLocaleString()}`), a = n.slice(3).reduce((e, [, t]) => e + t, 0);return a && i.push(`其余 ${a.toLocaleString()}`), {figure: `${r.toLocaleString()} 条待复核`,meta: i.join(" · ")};}-function Sbe(e) {+function Cbe(e) {if (!e) return "";- let t = bbe.filter(([t]) => Number(e.counts?.[t]) > 0).map(([t, n]) => `${n} ${zX(e.counts[t])}`);- return Number(e.dismissed_total) > 0 && t.push(`已忽略 ${zX(e.dismissed_total)}`), t.join(" · ");-}-var Cbe = [- [MX, ({ signal: e }) => IX(e)],- [IY, ({ signal: e }) => LY(e)],- [FX, ({ signal: e }) => RX(e)],+ let t = xbe.filter(([t]) => Number(e.counts?.[t]) > 0).map(([t, n]) => `${n} ${RX(e.counts[t])}`);+ return Number(e.dismissed_total) > 0 && t.push(`已忽略 ${RX(e.dismissed_total)}`), t.join(" · ");+}+var wbe = [+ [jX, ({ signal: e }) => FX(e)],+ [FY, ({ signal: e }) => IY(e)],+ [PX, ({ signal: e }) => LX(e)],+ [qY, ({ signal: e }) => ZY(e)],[JY, ({ signal: e }) => QY(e)],[YY, ({ signal: e }) => $Y(e)],- [XY, ({ signal: e }) => eX(e)],- [vX, ({ signal: e }) => yX(e)]+ [_X, ({ signal: e }) => vX(e)]];-async function wbe(e) {- let t = !!location.hash, n = Cbe.map(([n, r]) => {+async function Tbe(e) {+ let t = !!location.hash, n = wbe.map(([n, r]) => {if (t) return H.fetchQuery({queryKey: n,queryFn: () => r({ signal: e })@@ -58597,23 +58597,23 @@ async function wbe(e) {await Promise.all([...n,H.fetchQuery({- queryKey: NX,- queryFn: () => LX(e)+ queryKey: MX,+ queryFn: () => IX(e)}),H.fetchQuery({- queryKey: EY,- queryFn: () => OY(e)+ queryKey: TY,+ queryFn: () => DY(e)}),- TY(e).then(() => dbe(e)),- vH(e),- Uve(e),- Wye(e)+ wY(e).then(() => fbe(e)),+ _H(e),+ Wve(e),+ Gye(e)]);}//#endregion//#region src/react/feed-new/feed-new.ts-var BX = (e) => ["feed-new", e ?? "home"], Tbe = 8, Ebe = 1500;-function Dbe(e, t, n) {+var zX = (e) => ["feed-new", e ?? "home"], Ebe = 8, Dbe = 1500;+function Obe(e, t, n) {let r = document.createElement("template");r.innerHTML = e;let i = [...r.content.querySelectorAll("img[src]")].slice(0, t).map((e) => {@@ -58624,34 +58624,34 @@ function Dbe(e, t, n) {setTimeout(e, n);})]);}-async function Obe(e, t, n) {- let r = new URLSearchParams({ limit: String(Xk().value.feedLimit) });+async function kbe(e, t, n) {+ let r = new URLSearchParams({ limit: String(Yk().value.feedLimit) });e && r.set("entity", String(e));let i = await R(`/api/feeds/discoveries?${r}`).catch(() => null), a = i && !i.error ? i : null, o = a?.items || [], s = t(a);- return n && o.length && await Dbe(s, Tbe, Ebe), {+ return n && o.length && await Obe(s, Ebe, Dbe), {items: o,html: s,fetching: o.some((e) => e.cover_fetching && !e.has_cover)};}-var VX = (e, t, n = !1) => ({- queryKey: BX(e),- queryFn: () => Obe(e, t, n),+var BX = (e, t, n = !1) => ({+ queryKey: zX(e),+ queryFn: () => kbe(e, t, n),staleTime: Infinity,refetchInterval: (e) => e.state.data?.fetching ? 2e3 : !1-}), HX = (e, t) => R("/api/feeds/discovery", {+}), VX = (e, t) => R("/api/feeds/discovery", {method: "POST",body: JSON.stringify({action: t,ids: [e]})}).then(() => void 0, () => void 0);-async function kbe(e) {- H.removeQueries({ queryKey: BX(null) }), await H.fetchQuery(VX(null, e.helpers.feedRowHtml, e.host.getAttribute("aria-busy") === "true"));+async function Abe(e) {+ H.removeQueries({ queryKey: zX(null) }), await H.fetchQuery(BX(null, e.helpers.feedRowHtml, e.host.getAttribute("aria-busy") === "true"));}//#endregion//#region src/react/entity-page/entity-page.ts-var UX = [+var HX = ["loc","creator","tag",@@ -58664,52 +58664,52 @@ var UX = ["browse","folder","folder_recursive"-], WX = {+], UX = {media: "videos",set: 0-}, GX = (e, t) => [+}, WX = (e, t) => ["entity",e,t-], Abe = (e, t, n, r) => [+], jbe = (e, t, n, r) => ["entity-items",e,t,n,r-], KX = (e, t, n, r) => [+], GX = (e, t, n, r) => ["entity-photos",e,t,n,r-], qX = (e) => String(e || "").split(",").filter(Boolean), jbe = (e, t) => qX(e).includes(t);-function JX(e, t, n, r, i = 0) {+], KX = (e) => String(e || "").split(",").filter(Boolean), Mbe = (e, t) => KX(e).includes(t);+function qX(e, t, n, r, i = 0) {let a = new URLSearchParams();- a.set(e, t), e === "tag" && (a.set("tag", [.../* @__PURE__ */ new Set([t, ...qX(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 UX) n[t] && t !== e && t !== "sort" && a.set(t, n[t]);+ a.set(e, t), e === "tag" && (a.set("tag", [.../* @__PURE__ */ new Set([t, ...KX(n.tag)])].join(",")), a.set("tag_match", "all")), a.set("limit", "48"), a.set("offset", String(i)), a.set("sort", n.sort || "new"), n.dir && a.set("dir", n.dir), n.sort === "seed" && a.set("seed", r.seed), i && a.set("count", "0");+ for (let t of HX) n[t] && t !== e && t !== "sort" && a.set(t, n[t]);return r.jav && a.set("jav", "1"), a;}-async function YX(e, t, n, r, i, a, o) {- let s = JX(e, t, n, r, i);+async function JX(e, t, n, r, i, a, o) {+ let s = qX(e, t, n, r, i);return o && (s.set("limit", String(o.limit)), s.delete("count"), o.sort && s.set("sort", o.sort), o.dir && s.set("dir", o.dir)), await R(`/api/items?${s}`, a ? { signal: a } : {});}-var XX = (e) => {+var YX = (e) => {let t = {jav: e.jav,seed: e.seed- }, n = JX(e.kind, e.name, e.filters, t).toString();+ }, n = qX(e.kind, e.name, e.filters, t).toString();return {- queryKey: Abe(e.kind, e.name, n, e.revision),- queryFn: ({ signal: n }) => YX(e.kind, e.name, e.filters, t, 0, n),+ queryKey: jbe(e.kind, e.name, n, e.revision),+ queryFn: ({ signal: n }) => JX(e.kind, e.name, e.filters, t, 0, n),staleTime: Infinity};-}, ZX = (e, t) => ({- queryKey: GX(e, t),+}, XX = (e, t) => ({+ queryKey: WX(e, t),queryFn: ({ signal: n }) => R(`/api/entity?kind=${encodeURIComponent(e)}&name=${encodeURIComponent(t)}`, { signal: n }),staleTime: Infinity});-function Mbe(e, t, n, r, i, a) {+function Nbe(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)}` : ""}`;@@ -58718,10 +58718,10 @@ function Mbe(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 QX = (e, t, n, r) => ({- queryKey: KX(e, t, n, r),+var ZX = (e, t, n, r) => ({+ queryKey: GX(e, t, n, r),queryFn: async ({ pageParam: i }) => {- let a = await R(Mbe(e, t, n, r, i?.offset || 0, i?.seed || "")).catch((e) => {+ let a = await R(Nbe(e, t, n, r, i?.offset || 0, i?.seed || "")).catch((e) => {if (i) throw e;return { error: String(e) };});@@ -58734,8 +58734,8 @@ var QX = (e, t, n, r) => ({seed: t[0]?.seed || ""} : void 0,staleTime: Infinity-}), $X = (e) => e && !e.error ? (e.sets || []).filter((e) => e.kind === "code") : [];-async function Nbe(e) {+}), QX = (e) => e && !e.error ? (e.sets || []).filter((e) => e.kind === "code") : [];+async function Pbe(e) {let { kind: t, name: n } = e;for (let e of ["entity",@@ -58746,26 +58746,26 @@ async function Nbe(e) {t,n] });- e.resolvedEntity?.id && H.setQueryData(GX(t, n), e.resolvedEntity), await Promise.all([- H.fetchQuery(ZX(t, n)).then((t) => !t || t.error || !t.id ? null : (H.removeQueries({ queryKey: BX(Number(t.id)) }), H.fetchQuery(VX(Number(t.id), e.helpers.feedRowHtml, !0)))),- H.fetchQuery(XX(e)),- H.fetchInfiniteQuery(QX(t, n, 0, "")),- e.media.media === "photos" && e.media.set ? H.fetchInfiniteQuery(QX(t, n, e.media.set, "")) : null+ e.resolvedEntity?.id && H.setQueryData(WX(t, n), e.resolvedEntity), await Promise.all([+ H.fetchQuery(XX(t, n)).then((t) => !t || t.error || !t.id ? null : (H.removeQueries({ queryKey: zX(Number(t.id)) }), H.fetchQuery(BX(Number(t.id), e.helpers.feedRowHtml, !0)))),+ H.fetchQuery(YX(e)),+ H.fetchInfiniteQuery(ZX(t, n, 0, "")),+ e.media.media === "photos" && e.media.set ? H.fetchInfiniteQuery(ZX(t, n, e.media.set, "")) : null]);}//#endregion//#region src/identity-filter.ts-var eZ = [+var $X = [["all", "全部"],["japanese_av", "女优"],["amateur", "素人"],["western", "西方"],["blogger", "网黄博主"],["animation", "动画作者"]-], tZ = "mb-4 flex flex-wrap gap-2";-function Pbe(e) {- let t = eZ.some(([t]) => t === e) ? e : "all";- return `<div class="peach-react"><div aria-label="身份分类" class="${tZ}">${eZ.map(([e, n]) => Go({+], eZ = "mb-4 flex flex-wrap gap-2";+function Fbe(e) {+ let t = $X.some(([t]) => t === e) ? e : "all";+ return `<div class="peach-react"><div aria-label="身份分类" class="${eZ}">${$X.map(([e, n]) => Go({variant: e === t ? "primary" : "secondary",size: "small",label: n,@@ -58774,43 +58774,43 @@ function Pbe(e) {}//#endregion//#region src/react/follow/online-vocab.ts-var Fbe = "/api/follow/authors", Ibe = "/api/follow/tags", Lbe = (e) => [+var Ibe = "/api/follow/authors", Lbe = "/api/follow/tags", Rbe = (e) => ["follow","authors",e-], Rbe = (e, t) => [+], zbe = (e, t) => ["follow","tags",e,t];-function zbe(e, t, n) {+function Bbe(e, t, n) {let r = new URLSearchParams({limit: String(t),offset: String(n)});- return e && r.set("q", e), `${Fbe}?${r}`;+ return e && r.set("q", e), `${Ibe}?${r}`;}-function Bbe(e, t, n, r) {+function Vbe(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), `${Ibe}?${i}`;+ return t && t !== "all" && i.set("type", t), e && i.set("q", e), `${Lbe}?${i}`;}-var Vbe = (e, t, n, r) => B(zbe(e, t, n), r), Hbe = (e, t, n, r, i) => B(Bbe(e, t, n, r), i), Ube = "/api/index", nZ = {+var Hbe = (e, t, n, r) => B(Bbe(e, t, n), r), Ube = (e, t, n, r, i) => B(Vbe(e, t, n, r), i), Wbe = "/api/index", tZ = {performers: "艺人",creators: "卖家",studios: "厂牌",agencies: "事务所",tags: "标签"-}, Wbe = {+}, Gbe = {performers: "performer",creators: "creator",studios: "studio",agencies: "agency"-}, rZ = [+}, nZ = [["all", "全部"],["meta", "影片属性"],["relationship", "人物关系"],@@ -58820,31 +58820,31 @@ var Vbe = (e, t, n, r) => B(zbe(e, t, n), r), Hbe = (e, t, n, r, i) => B(Bbe(e,["story", "故事剧情"],["position", "性交体位"],["general", "其他内容"]-], iZ = [+], rZ = [["all", "全部"],["general", "通用"],["artist", "创作者"],["character", "角色"],["copyright", "作品"],["metadata", "元数据"]-], aZ = {+], iZ = {people: 120,tags: 180-}, oZ = (e) => e !== "tags", sZ = (e) => e === "studios" || e === "agencies";-function cZ(e) {- if (e.kind === "creators" && e.category === "animation") return cZ({+}, aZ = (e) => e !== "tags", oZ = (e) => e === "studios" || e === "agencies";+function sZ(e) {+ if (e.kind === "creators" && e.category === "animation") return sZ({...e,kind: "performers",scope: "local"});- let t = e.kind === "tags" || e.kind === "performers" ? e.scope : "local", n = (e.kind === "tags" ? t === "online" ? iZ : rZ : e.kind === "performers" && t === "local" ? eZ : []).some(([t]) => t === e.category);+ let t = e.kind === "tags" || e.kind === "performers" ? e.scope : "local", n = (e.kind === "tags" ? t === "online" ? rZ : nZ : e.kind === "performers" && t === "local" ? $X : []).some(([t]) => t === e.category);return {...e,scope: t,category: n ? e.category : "all"};}-function lZ(e) {+function cZ(e) {let { kind: t, q: n, scope: r, category: i } = e;return t === "tags" ? r === "online" ? {what: "online-tags",@@ -58864,50 +58864,50 @@ function lZ(e) {...i && i !== "all" ? { category: i } : {}};}-var uZ = (e, t, n = "all") => [+var lZ = (e, t, n = "all") => ["index",e,t,...e === "tags" || n !== "all" ? [n] : []];-function dZ(e, t, n, r, i) {+function uZ(e, t, n, r, i) {let a = new URLSearchParams({kind: e,limit: String(r),offset: String(i)});- return t && a.set("q", t), n !== "all" && a.set("category", n), `${Ube}?${a}`;+ return t && a.set("q", t), n !== "all" && a.set("category", n), `${Wbe}?${a}`;}-function fZ(e) {- let t = e.what === "people" || e.what === "online-authors" ? aZ.people : aZ.tags, n = {+function dZ(e) {+ let t = e.what === "people" || e.what === "online-authors" ? iZ.people : iZ.tags, n = {initialPageParam: 0,getNextPageParam: (e, t) => e.has_more ? t.reduce((e, t) => e + t.items.length, 0) : void 0};switch (e.what) {case "people": return {...n,- queryKey: uZ(e.kind, e.q, e.category || "all"),- queryFn: ({ pageParam: n, signal: r }) => B(dZ(e.kind, e.q, e.category || "all", t, n), r)+ queryKey: lZ(e.kind, e.q, e.category || "all"),+ queryFn: ({ pageParam: n, signal: r }) => B(uZ(e.kind, e.q, e.category || "all", t, n), r)};case "tags": return {...n,- queryKey: uZ("tags", e.q, e.category),- queryFn: ({ pageParam: n, signal: r }) => B(dZ("tags", e.q, e.category, t, n), r)+ queryKey: lZ("tags", e.q, e.category),+ queryFn: ({ pageParam: n, signal: r }) => B(uZ("tags", e.q, e.category, t, n), r)};case "online-authors": return {...n,- queryKey: Lbe(e.q),- queryFn: ({ pageParam: n, signal: r }) => Vbe(e.q, t, n, r)+ queryKey: Rbe(e.q),+ queryFn: ({ pageParam: n, signal: r }) => Hbe(e.q, t, n, r)};case "online-tags": return {...n,- queryKey: Rbe(e.q, e.category),- queryFn: ({ pageParam: n, signal: r }) => Hbe(e.q, e.category, t, n, r)+ queryKey: zbe(e.q, e.category),+ queryFn: ({ pageParam: n, signal: r }) => Ube(e.q, e.category, t, n, r)};}}-async function Gbe(e, t) {- let n = fZ(lZ(cZ(e)));+async function Kbe(e, t) {+ let n = dZ(cZ(sZ(e)));H.removeQueries({queryKey: n.queryKey,exact: !0@@ -58921,13 +58921,13 @@ async function Gbe(e, t) {getNextPageParam: n.getNextPageParam});}-var Kbe = (e) => e ? e.pages.flatMap((e) => e.items) : [], qbe = (e, t) => `${e.toLocaleString()}${t ? "+" : ""} 项`, pZ = (e, t) => e ? `r34-${t || "unknown"}` : t || "general", Jbe = (e, t) => e === "agencies" ? `${(t.members || 0).toLocaleString()} 人` : `${(t.n || 0).toLocaleString()} 个视频`, Ybe = {+var qbe = (e) => e ? e.pages.flatMap((e) => e.items) : [], Jbe = (e, t) => `${e.toLocaleString()}${t ? "+" : ""} 项`, fZ = (e, t) => e ? `r34-${t || "unknown"}` : t || "general", Ybe = (e, t) => e === "agencies" ? `${(t.members || 0).toLocaleString()} 人` : `${(t.n || 0).toLocaleString()} 个视频`, Xbe = {numeric: !0,sensitivity: "base"};-function mZ(e, t) {+function pZ(e, t) {let n = /* @__PURE__ */ new Map();- for (let r of [...e].sort((e, t) => e.k.localeCompare(t.k, "zh-CN", Ybe))) {+ for (let r of [...e].sort((e, t) => e.k.localeCompare(t.k, "zh-CN", Xbe))) {let e = Sn(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]);}@@ -58935,7 +58935,7 @@ function mZ(e, t) {}//#endregion//#region src/react/boardui/components/base/badges/chip.tsx-var hZ = jF({+var mZ = AF({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",@@ -58954,16 +58954,16 @@ var hZ = jF({soft: "bg-background-secondary-default text-text-secondary"}});-function gZ({ variant: e = "bold", color: t = "neutral", className: n, ref: r, ...i }) {+function hZ({ variant: e = "bold", color: t = "neutral", className: n, ref: r, ...i }) {return /* @__PURE__ */ (0, O.jsx)("span", {ref: r,- className: AF(hZ.base, hZ.variant[e], hZ.color[t], n),+ className: kF(mZ.base, mZ.variant[e], mZ.color[t], n),...i});}//#endregion//#region src/react/index/index-people.tsx-function _Z({ html: e, face: t, company: n, big: r }) {+function gZ({ html: e, face: t, company: n, big: r }) {let i = (0, D.useRef)(null);return (0, D.useLayoutEffect)(() => {t ? i.current?.style.setProperty("--face", t) : i.current?.style.removeProperty("--face");@@ -58975,18 +58975,18 @@ function _Z({ html: e, face: t, company: n, big: r }) {dangerouslySetInnerHTML: { __html: e }});}-var Xbe = "relative flex cursor-pointer flex-col gap-2 p-3 text-inherit", Zbe = Hz("rss");-function vZ({ name: e, readout: t, big: n, children: r, following: i, onPress: a, ...o }) {+var Zbe = "relative flex cursor-pointer flex-col gap-2 p-3 text-inherit", Qbe = Vz("rss");+function _Z({ name: e, readout: t, big: n, children: r, following: i, onPress: a, ...o }) {return /* @__PURE__ */ (0, O.jsxs)("button", {type: "button",...o,"data-index-cell": "",onClick: a,- className: IH({+ className: FH({radius: "plain",padding: "none",interactive: !0,- className: `${Xbe} ${n ? "items-stretch text-left" : "items-center text-center"}`+ className: `${Zbe} ${n ? "items-stretch text-left" : "items-center text-center"}`}),children: [r,@@ -58995,10 +58995,10 @@ function vZ({ name: e, readout: t, big: n, children: r, following: i, onPress: arole: "img","aria-label": "已订阅新作",className: "index-feed-mark absolute top-4 right-4 z-2 inline-flex",- children: /* @__PURE__ */ (0, O.jsx)(gZ, {+ children: /* @__PURE__ */ (0, O.jsx)(hZ, {variant: "caption",color: "soft",- children: /* @__PURE__ */ (0, O.jsx)(Zbe, {})+ children: /* @__PURE__ */ (0, O.jsx)(Qbe, {})})}) : null,/* @__PURE__ */ (0, O.jsx)("span", {@@ -59014,24 +59014,24 @@ function vZ({ name: e, readout: t, big: n, children: r, following: i, onPress: a]});}-function yZ({ kind: e, items: t, layout: n, props: r }) {- let i = sZ(e), a = n === "big";+function vZ({ kind: e, items: t, layout: n, props: r }) {+ let i = oZ(e), a = n === "big";return /* @__PURE__ */ (0, O.jsx)("div", {"data-index-grid": "","data-layout": n,"data-cells": i ? "company" : "people",className: `${i ? "index-grid-company" : "index-grid-person"} gap-3`,children: t.map((t) => {- let n = t.entity_kind || Wbe[e], o = r.personAvatar(t, n, a);- return /* @__PURE__ */ (0, O.jsx)(vZ, {+ let n = t.entity_kind || Gbe[e], o = r.personAvatar(t, n, a);+ return /* @__PURE__ */ (0, O.jsx)(_Z, {"data-k": t.k,"data-kind": n,name: t.k,- readout: `${Jbe(e, t)}${t.identity_labels?.length ? " · " + t.identity_labels.join(" / ") : ""}`,+ readout: `${Ybe(e, t)}${t.identity_labels?.length ? " · " + t.identity_labels.join(" / ") : ""}`,big: a,following: t.following,onPress: () => r.openEntity(n, t.k),- children: /* @__PURE__ */ (0, O.jsx)(_Z, {+ children: /* @__PURE__ */ (0, O.jsx)(gZ, {html: o.html,face: o.face,company: i,@@ -59041,14 +59041,14 @@ function yZ({ kind: e, items: t, layout: n, props: r }) {})});}-function Qbe({ items: e, layout: t, props: n }) {+function $be({ items: e, layout: t, props: n }) {let r = t === "big";return /* @__PURE__ */ (0, O.jsx)("div", {"data-index-grid": "","data-layout": t,"data-cells": "people",className: "index-grid-person gap-3",- children: e.map((e) => /* @__PURE__ */ (0, O.jsx)(vZ, {+ children: e.map((e) => /* @__PURE__ */ (0, O.jsx)(_Z, {"data-follow-author": e.key,"data-kind": "performer",name: e.k,@@ -59057,7 +59057,7 @@ function Qbe({ items: e, layout: t, props: n }) {onPress: () => {e.entity_id ? n.openEntity("creator", e.k) : e.held_by ? n.openEntity("creator", e.held_by) : n.openFollowAuthor(e.key);},- children: /* @__PURE__ */ (0, O.jsx)(_Z, {+ children: /* @__PURE__ */ (0, O.jsx)(gZ, {html: n.authorAvatar(e),company: !1,big: r@@ -59067,8 +59067,8 @@ function Qbe({ items: e, layout: t, props: n }) {}//#endregion//#region src/board-tooltip.ts-var bZ = (e) => e.replace(/\s+/g, " ").trim();-function xZ(e) {+var yZ = (e) => e.replace(/\s+/g, " ").trim();+function bZ(e) {let t = document.createTreeWalker(e, NodeFilter.SHOW_TEXT), n = "", r;for (; r = t.nextNode();) {let e = r.parentElement;@@ -59076,12 +59076,12 @@ function xZ(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 bZ(n);+ return yZ(n);}-function SZ(e) {+function xZ(e) {let t = e.getBoundingClientRect();if (t.width && t.height) {- if (e.matches("a") && xZ(e) && !CZ(e)) {+ if (e.matches("a") && bZ(e) && !SZ(e)) {let t = document.createRange();t.selectNodeContents(e);let n = t.getBoundingClientRect();@@ -59094,7 +59094,7 @@ function SZ(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 CZ(e) {+function SZ(e) {if (e.matches(".middle-truncated") || e.querySelector(".middle-truncated") || [e, ...e.querySelectorAll("*")].some((e) => e.clientWidth > 0 && (e.scrollWidth > e.clientWidth + 1 || e.scrollHeight > e.clientHeight + 1))) return !0;let t = document.createRange();t.selectNodeContents(e);@@ -59105,19 +59105,19 @@ function CZ(e) {}return !1;}-function $be() {+function exe() {let e = document.createElement("div");e.className = "ui-board-tooltip", e.id = "board-control-tooltip", e.role = "tooltip", e.popover = "manual", e.hidden = !0, document.body.append(e);let t = null, n = "", r = null, i, a = (t) => {- let n = SZ(t), r = e.getBoundingClientRect();+ let n = xZ(t), r = e.getBoundingClientRect();n && (e.style.left = `${Math.max(8, Math.min(innerWidth - r.width - 8, n.left + (n.width - r.width) / 2))}px`, e.style.top = `${n.top >= r.height + 16 ? n.top - r.height - 8 : Math.min(innerHeight - r.height - 8, n.bottom + 8)}px`);}, o = () => {clearTimeout(i), e.matches(":popover-open") && e.hidePopover(), e.hidden = !0, t && (t.hasAttribute("title") || (t.title = n), r === null ? t.removeAttribute("aria-describedby") : t.setAttribute("aria-describedby", r)), t = null;}, s = (s, c) => {if (!(s instanceof Element)) return;let l = s.closest("[title]");- (!t?.contains(s) || l && !l.contains(t)) && l && !l.closest(".vjs-control") && l.title.trim() && (o(), t = l, n = l.title, r = l.getAttribute("aria-describedby"), l.removeAttribute("title"), (xZ(l) !== bZ(n) || CZ(l)) && (i = setTimeout(() => {- t === l && l.isConnected && SZ(l) && ((l.closest("dialog[open]") ?? document.body).append(e), e.textContent = n, e.hidden = !1, e.showPopover(), a(l), l.setAttribute("aria-describedby", [r, e.id].filter(Boolean).join(" ")));+ (!t?.contains(s) || l && !l.contains(t)) && l && !l.closest(".vjs-control") && l.title.trim() && (o(), t = l, n = l.title, r = l.getAttribute("aria-describedby"), l.removeAttribute("title"), (bZ(l) !== yZ(n) || SZ(l)) && (i = setTimeout(() => {+ t === l && l.isConnected && xZ(l) && ((l.closest("dialog[open]") ?? document.body).append(e), e.textContent = n, e.hidden = !1, e.showPopover(), a(l), l.setAttribute("aria-describedby", [r, e.id].filter(Boolean).join(" ")));}, c)));};document.addEventListener("pointerover", (e) => s(e.target, 400)), document.addEventListener("pointerout", (e) => {@@ -59126,33 +59126,33 @@ function $be() {e.key === "Escape" && o();}), document.addEventListener("scroll", (n) => {if (!t || !Oo(n, t)) return;- let r = SZ(t);+ let r = xZ(t);t.matches(":focus-visible") && r && r.bottom > 0 && r.top < innerHeight ? e.matches(":popover-open") && a(t) : o();}, !0), window.addEventListener("resize", o);}//#endregion//#region src/board-controls.ts-function wZ(e) {+function CZ(e) {let t = Number(e.min) || 0, n = Number(e.max) || 100, r = Number(e.value), i = n > t ? Math.max(0, Math.min(100, (r - t) / (n - t) * 100)) : 0;e.style.setProperty("--board-range-value", `${i}%`);}-var TZ = /* @__PURE__ */ new WeakSet();-function exe() {- if (TZ.has(document)) return;- TZ.add(document);+var wZ = /* @__PURE__ */ new WeakSet();+function txe() {+ if (wZ.has(document)) return;+ wZ.add(document);let e = (e) => {- e.querySelectorAll("input[type=range]").forEach(wZ), nxe(e), txe(e);+ e.querySelectorAll("input[type=range]").forEach(CZ), rxe(e), nxe(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]") && wZ(t), e(t));+ for (let n of t) for (let t of n.addedNodes) t instanceof Element && (t.matches("input[type=range]") && CZ(t), e(t));}).observe(document.body, {subtree: !0,childList: !0}), document.addEventListener("input", (e) => {- e.target instanceof HTMLInputElement && e.target.type === "range" && wZ(e.target);- }), $be();+ e.target instanceof HTMLInputElement && e.target.type === "range" && CZ(e.target);+ }), exe();}-function txe(e) {+function nxe(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;@@ -59176,15 +59176,15 @@ function txe(e) {r.observe(e);});}-var EZ = /* @__PURE__ */ new Map();-function nxe(e) {+var TZ = /* @__PURE__ */ new Map();+function rxe(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 = EZ.get(n) ?? null, i = () => {+ let n = e.className + (e.getAttribute("aria-label") ?? ""), r = TZ.get(n) ?? null, i = () => {let i = e.querySelector("label:has(input:checked),button[aria-selected=true]");if (!i || !i.offsetWidth) return;let a = {@@ -59193,7 +59193,7 @@ function nxe(e) {w: i.offsetWidth,h: i.offsetHeight};- rc(t, r, a, "x"), r = a, EZ.set(n, a);+ rc(t, r, a, "x"), r = a, TZ.set(n, a);};e.addEventListener("change", i);let a = new MutationObserver(i);@@ -59210,8 +59210,8 @@ function nxe(e) {}//#endregion//#region src/react/photo-lightbox/photo-lightbox.ts-var DZ = "/vendor/swiper/14.3.0/", OZ = null, rxe = () => OZ ??= Promise.all([new Promise((e, t) => {- let n = `${DZ}swiper-bundle.min.css`, r = document.querySelector(`link[href="${n}"]`);+var EZ = "/vendor/swiper/14.3.0/", DZ = null, ixe = () => DZ ??= Promise.all([new Promise((e, t) => {+ let n = `${EZ}swiper-bundle.min.css`, r = document.querySelector(`link[href="${n}"]`);if (r?.sheet) {e();return;@@ -59225,11 +59225,11 @@ var DZ = "/vendor/swiper/14.3.0/", OZ = null, rxe = () => OZ ??= Promise.all([nereturn;}let r = document.createElement("script");- r.src = `${DZ}swiper-bundle.min.js`, r.onload = () => e(window.Swiper), r.onerror = () => t(/* @__PURE__ */ Error("swiper unavailable")), document.head.append(r);+ r.src = `${EZ}swiper-bundle.min.js`, r.onload = () => e(window.Swiper), r.onerror = () => t(/* @__PURE__ */ Error("swiper unavailable")), document.head.append(r);})]).then(([, e]) => e).catch((e) => {- throw OZ = null, e;+ throw DZ = null, e;});-function ixe(e, t, n) {+function axe(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);@@ -59250,47 +59250,47 @@ function ixe(e, t, n) {}};}-var kZ = (e) => {+var OZ = (e) => {let t = Number(e) || 0;return t ? (t < 1048576 ? `${Math.max(1, Math.round(t / 1024))} KB` : vn(t)).replace(" ", "\xA0") : "大小未知";-}, axe = (e) => e.asset?.name || e.name || "未命名图片";-function oxe(e, t) {+}, oxe = (e) => e.asset?.name || e.name || "未命名图片";+function sxe(e, t) {let n = e.asset;- if (n) return [wn[n.location ?? ""] || n.location || "来源未知", kZ(n.size)].join(" · ");+ if (n) return [wn[n.location ?? ""] || n.location || "来源未知", OZ(n.size)].join(" · ");let r = t?.[0] && t[1] ? `${t[0]} × ${t[1]}` : "";return [e.source || "在线图片",r,- e.size ? kZ(e.size) : ""+ e.size ? OZ(e.size) : ""].filter(Boolean).join(" · ");}//#endregion//#region src/react/photo-lightbox/photo-lightbox-dialog.tsx-var AZ = null, jZ = null, sxe = 0;-function cxe() {- return (!jZ || !AZ?.isConnected) && (jZ?.unmount(), AZ = document.createElement("div"), AZ.className = "peach-react", AZ.dataset.photoLightboxHost = "", document.body.append(AZ), jZ = (0, Dt.createRoot)(AZ)), jZ;+var kZ = null, AZ = null, cxe = 0;+function lxe() {+ return (!AZ || !kZ?.isConnected) && (AZ?.unmount(), kZ = document.createElement("div"), kZ.className = "peach-react", kZ.dataset.photoLightboxHost = "", document.body.append(kZ), AZ = (0, Dt.createRoot)(kZ)), AZ;}-async function MZ(e, t, n) {+async function jZ(e, t, n) {if (!t.length || e < 0 || e >= t.length) return;let r;try {- r = await rxe();+ r = await ixe();} catch {window.open(t[e].src, "_blank", "noopener");return;}- let i = cxe();- (0, Et.flushSync)(() => i.render(/* @__PURE__ */ (0, O.jsx)(lxe, {+ let i = lxe();+ (0, Et.flushSync)(() => i.render(/* @__PURE__ */ (0, O.jsx)(uxe, {slides: t,index: e,Swiper: r,host: n ?? null- }, ++sxe)));+ }, ++cxe)));}-function NZ() {- jZ && (0, Et.flushSync)(() => jZ.render(null));+function MZ() {+ AZ && (0, Et.flushSync)(() => AZ.render(null));}-function lxe({ slides: e, index: t, Swiper: n, host: r }) {+function uxe({ slides: e, index: t, Swiper: n, host: r }) {let i = e.length > 1, a = (0, D.useId)(), o = (0, D.useRef)(null), s = (0, D.useRef)(null), c = (0, D.useRef)(null), l = (0, D.useRef)(null), u = (0, D.useRef)(null), d = (0, D.useRef)(null), f = (0, D.useRef)(null), p = (0, D.useRef)(null), m = (0, D.useRef)(null), h = (0, D.useRef)(null), g = (0, D.useRef)(null), [_, v] = (0, D.useState)(t), [y, b] = (0, D.useState)(100), [x, S] = (0, D.useState)({}), [C, w] = (0, D.useState)(() => /* @__PURE__ */ new Set()), [T, E] = (0, D.useState)(() => /* @__PURE__ */ new Set()), [k, A] = (0, D.useState)(!1), [j, M] = (0, D.useState)({at: t,text: ""@@ -59333,7 +59333,7 @@ function lxe({ slides: e, index: t, Swiper: n, host: r }) {v(this.activeIndex), i(this.activeIndex);} }});- i(t, 0), h.current = ixe(e, a, b);+ i(t, 0), h.current = axe(e, a, b);let m = _c(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();};@@ -59350,13 +59350,13 @@ function lxe({ 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) : NZ());+ e.key === "Escape" && (e.preventDefault(), e.stopImmediatePropagation(), g.current?.isOpen() ? g.current.dismiss(!0) : MZ());};return document.addEventListener("keydown", x, !0), () => {document.removeEventListener("keydown", x, !0), _(), y.disconnect(), a.destroy(!0, !0), r.destroy(!0, !0), h.current = null, g.current = null, e.close(), document.body.classList.remove("photolight-open");};}, []), (0, D.useLayoutEffect)(() => {- m.current && wZ(m.current);+ m.current && CZ(m.current);}, [y]);let N = e[_], ee = N.asset ?? null, te = async (e) => {if (!ee || !r || e.getAttribute("aria-busy") === "true") return;@@ -59387,18 +59387,18 @@ function lxe({ slides: e, index: t, Swiper: n, host: r }) {"data-photo-lightbox": "","data-has-strip": i ? "" : void 0,onCancel: (e) => {- e.preventDefault(), NZ();+ e.preventDefault(), MZ();},onClick: (e) => {let t = e.target;- g.current?.dismissOutside(t) || (t === o.current || t.classList.contains("swiper-zoom-container")) && NZ();+ g.current?.dismissOutside(t) || (t === o.current || t.classList.contains("swiper-zoom-container")) && MZ();},children: [/* @__PURE__ */ (0, O.jsx)("button", {type: "button","data-photo-close": "","aria-label": "关闭",- onClick: NZ,+ onClick: MZ,dangerouslySetInnerHTML: { __html: L("x") }}),/* @__PURE__ */ (0, O.jsxs)("div", {@@ -59534,10 +59534,10 @@ function lxe({ slides: e, index: t, Swiper: n, host: r }) {id: `${a}-title`,"data-middle-truncate": "",tabIndex: -1,- children: axe(N)+ children: oxe(N)}, _), /* @__PURE__ */ (0, O.jsx)("span", {"data-photo-detail-meta": "",- children: oxe(N, x[_])+ children: sxe(N, x[_])})]}),/* @__PURE__ */ (0, O.jsx)("button", {@@ -59576,40 +59576,40 @@ function lxe({ slides: e, index: t, Swiper: n, host: r }) {}//#endregion//#region src/react/entity-body/entity-body-page.tsx-function uxe(e) {- return e.view === "people" && e.roster ? /* @__PURE__ */ (0, O.jsx)(dxe, {+function dxe(e) {+ return e.view === "people" && e.roster ? /* @__PURE__ */ (0, O.jsx)(fxe, {roster: e.roster,props: e- }) : e.view === "videos" ? /* @__PURE__ */ (0, O.jsx)(fxe, { ...e }, e.revision) : e.view === "photos" && e.photos ? /* @__PURE__ */ (0, O.jsx)(hxe, {+ }) : e.view === "videos" ? /* @__PURE__ */ (0, O.jsx)(pxe, { ...e }, e.revision) : e.view === "photos" && e.photos ? /* @__PURE__ */ (0, O.jsx)(gxe, {photos: e.photos,props: e}, e.photos.revision) : null;}-var PZ = aZ.people;-function dxe({ roster: e, props: t }) {+var NZ = iZ.people;+function fxe({ roster: e, props: t }) {let { helpers: n, actions: r } = t, i = (0, D.useMemo)(() => ({personAvatar: n.personAvatar,openEntity: r.openEntity- }), [n, r]), [a, o] = (0, D.useState)(PZ), s = (0, D.useMemo)(() => e.people.slice(0, a), [e.people, a]), c = (0, D.useCallback)(async () => {- o((e) => e + PZ);+ }), [n, r]), [a, o] = (0, D.useState)(NZ), s = (0, D.useMemo)(() => e.people.slice(0, a), [e.people, a]), c = (0, D.useCallback)(async () => {+ o((e) => e + NZ);}, []);- return /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)(yZ, {+ return /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)(vZ, {kind: e.kind,items: s,layout: e.layout,props: i- }), a < e.people.length ? /* @__PURE__ */ (0, O.jsx)(CY, {+ }), a < e.people.length ? /* @__PURE__ */ (0, O.jsx)(SY, {entity: !0,load: c,enabled: () => !0}, a) : null] });}-function fxe(e) {- let t = _W(!e.items, e.skeletonHtml);+function pxe(e) {+ let t = gW(!e.items, e.skeletonHtml);return /* @__PURE__ */ (0, O.jsxs)("div", {"data-entity-grid": "","data-grid-reveal": t.fading ? "" : void 0,- children: [t.layer, e.items ? /* @__PURE__ */ (0, O.jsx)(xY, {+ children: [t.layer, e.items ? /* @__PURE__ */ (0, O.jsx)(bY, {mode: "entity",entityKey: `${e.kind}:${e.name}`,revision: e.revision,@@ -59629,33 +59629,33 @@ function fxe(e) {}) : null]});}-var pxe = (e) => Array.from({ length: e.n }, (t, n) => ({+var mxe = (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 || "官方样张"-})), FZ = (e) => e.sample === !0, IZ = (e) => `code=${encodeURIComponent(e.code)}&n=${e.position}`, LZ = (e) => FZ(e) ? `/sample-thumb?${IZ(e)}` : `/photo-thumb?id=${e.id}`, mxe = (e) => FZ(e) ? {- src: `/sample-image?${IZ(e)}`,- thumb: LZ(e),+})), PZ = (e) => e.sample === !0, FZ = (e) => `code=${encodeURIComponent(e.code)}&n=${e.position}`, IZ = (e) => PZ(e) ? `/sample-thumb?${FZ(e)}` : `/photo-thumb?id=${e.id}`, hxe = (e) => PZ(e) ? {+ src: `/sample-image?${FZ(e)}`,+ thumb: IZ(e),name: e.name,asset: null,source: e.source} : {src: `/photo?id=${e.id}`,- thumb: LZ(e),+ thumb: IZ(e),name: e.name || "",asset: e};-function hxe({ photos: e, props: t }) {- let { photoSize: n, photoLayout: r, actions: i, canLoadMore: a } = t, o = (0, D.useMemo)(() => [...e.codeSets.flatMap(pxe), ...e.items], [e]), [s, c] = (0, D.useState)(() => /* @__PURE__ */ new Set()), l = (0, D.useCallback)((e) => c((t) => {+function gxe({ photos: e, props: t }) {+ let { photoSize: n, photoLayout: r, actions: i, canLoadMore: a } = t, o = (0, D.useMemo)(() => [...e.codeSets.flatMap(mxe), ...e.items], [e]), [s, c] = (0, D.useState)(() => /* @__PURE__ */ new Set()), l = (0, D.useCallback)((e) => c((t) => {if (t.has(e)) return t;let n = new Set(t);return n.add(e), n;}), []), u = (0, D.useCallback)((e) => {- MZ(e, o.map(mxe), { revealSource: i.revealSource });- }, [i, o]), d = (e, t) => /* @__PURE__ */ (0, O.jsx)(gxe, {+ jZ(e, o.map(hxe), { revealSource: i.revealSource });+ }, [i, o]), d = (e, t) => /* @__PURE__ */ (0, O.jsx)(_xe, {item: e,index: t,lost: s.has(t),@@ -59673,7 +59673,7 @@ function hxe({ photos: e, props: t }) {};}), h = p;return /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [- m.map(({ set: e, from: t }) => /* @__PURE__ */ (0, O.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)(RZ, {+ m.map(({ set: e, from: t }) => /* @__PURE__ */ (0, O.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)(LZ, {label: e.code,title: e.name,meta: [@@ -59685,7 +59685,7 @@ function hxe({ photos: e, props: t }) {...f,children: o.slice(t, t + e.n).map((e, n) => d(e, t + n))})] }, e.code)),- m.length && e.total ? /* @__PURE__ */ (0, O.jsx)(RZ, {+ m.length && e.total ? /* @__PURE__ */ (0, O.jsx)(LZ, {label: "本地图片",meta: `${e.total.toLocaleString()} 张`}) : null,@@ -59694,14 +59694,14 @@ function hxe({ photos: e, props: t }) {"data-local-wall": "",children: e.items.map((e, t) => s.has(h + t) ? null : d(e, h + t))}),- e.hasMore ? /* @__PURE__ */ (0, O.jsx)(CY, {+ e.hasMore ? /* @__PURE__ */ (0, O.jsx)(SY, {entity: !0,load: i.loadMorePhotos,enabled: () => a?.() !== !1}, e.items.length) : null] });}-function RZ({ label: e, title: t, meta: n }) {+function LZ({ label: e, title: t, meta: n }) {return /* @__PURE__ */ (0, O.jsxs)("div", {"data-photo-group": "",children: [@@ -59718,7 +59718,7 @@ function RZ({ label: e, title: t, meta: n }) {]});}-function gxe({ item: e, index: t, lost: n, onLose: r, onOpen: i }) {+function _xe({ item: e, index: t, lost: n, onLose: r, onOpen: i }) {let a = e.name ?? "";return /* @__PURE__ */ (0, O.jsx)("button", {type: "button",@@ -59727,7 +59727,7 @@ function gxe({ item: e, index: t, lost: n, onLose: r, onOpen: i }) {title: a,onClick: () => i(t),children: n ? null : /* @__PURE__ */ (0, O.jsx)("img", {- src: LZ(e),+ src: IZ(e),alt: a,loading: "lazy",decoding: "async",@@ -59738,9 +59738,9 @@ function gxe({ item: e, index: t, lost: n, onLose: r, onOpen: i }) {}//#endregion//#region src/react/background-job.ts-var _xe = 2e3, vxe = (e) => e, yxe = (e, t) => t;-function zZ(e) {- let { queryKey: t, jobOf: n = vxe, withJob: r = yxe, idlePollMs: i } = e, [a, o] = (0, D.useState)(!1), [s, c] = (0, D.useState)(null), l = (0, D.useRef)(e);+var vxe = 2e3, yxe = (e) => e, bxe = (e, t) => t;+function RZ(e) {+ let { queryKey: t, jobOf: n = yxe, withJob: r = bxe, idlePollMs: i } = e, [a, o] = (0, D.useState)(!1), [s, c] = (0, D.useState)(null), l = (0, D.useRef)(e);(0, D.useEffect)(() => {l.current = e;});@@ -59749,7 +59749,7 @@ function zZ(e) {queryFn: ({ signal: e }) => l.current.queryFn({ signal: e }),refetchInterval: (e) => {let t = e.state.data;- return t !== void 0 && n(t)?.status === "running" ? _xe : i ?? !1;+ return t !== void 0 && n(t)?.status === "running" ? vxe : i ?? !1;}}), d = wt({mutationFn: (e) => l.current.start(e),@@ -59774,14 +59774,14 @@ function zZ(e) {}//#endregion//#region src/react/follow-feed/follow-check.ts-var BZ = (e) => [...new Set(e)].filter((e) => Number.isSafeInteger(e) && e > 0);-function bxe(e, t) {- return t ? BZ(e.filter((e) => e.author_key === t || t.startsWith("entity:") && String(e.entity_id) === t.slice(7)).map((e) => e.id)) : [];+var zZ = (e) => [...new Set(e)].filter((e) => Number.isSafeInteger(e) && e > 0);+function xxe(e, t) {+ return t ? zZ(e.filter((e) => e.author_key === t || t.startsWith("entity:") && String(e.entity_id) === t.slice(7)).map((e) => e.id)) : [];}//#endregion//#region src/react/follow-feed/follow-check-button.tsx-function xxe({ sources: e, report: t }) {- let n = BZ(e), [r, i] = (0, D.useState)(""), { running: a, start: o } = zZ({+function Sxe({ sources: e, report: t }) {+ let n = zZ(e), [r, i] = (0, D.useState)(""), { running: a, start: o } = RZ({queryKey: sr,queryFn: ({ signal: e }) => Br(e),start: (e) => Ur(e),@@ -59795,12 +59795,12 @@ function xxe({ sources: e, report: t }) {children: [/* @__PURE__ */ (0, O.jsx)(q, {size: "small",disabled: !n.length,- ...Wz(s),+ ...Uz(s),onClick: () => {n.length && !s && (i(""), o.mutate(n));},children: "检查更新"- }), r ? /* @__PURE__ */ (0, O.jsx)(zz, {+ }), r ? /* @__PURE__ */ (0, O.jsx)(Rz, {tone: "error",children: r}) : null]@@ -59808,8 +59808,8 @@ function xxe({ sources: e, report: t }) {}//#endregion//#region src/react/follow-feed/follow-card.tsx-var Sxe = (e) => Number(e) > 0;-function VZ({ name: e, actions: t, children: n, ...r }) {+var Cxe = (e) => Number(e) > 0;+function BZ({ name: e, actions: t, children: n, ...r }) {return /* @__PURE__ */ (0, O.jsx)("a", {...r,href: tn("creator", e),@@ -59819,15 +59819,15 @@ function VZ({ name: e, actions: t, children: n, ...r }) {children: n});}-var HZ = ({ provider: e }) => /* @__PURE__ */ (0, O.jsx)("span", {+var VZ = ({ provider: e }) => /* @__PURE__ */ (0, O.jsx)("span", {"data-follow-nothumb": "",- dangerouslySetInnerHTML: { __html: NU(e) }+ dangerouslySetInnerHTML: { __html: MU(e) }});-function Cxe({ src: e, fallback: t, width: n, height: r, provider: i, onLearn: a, retryKey: o }) {+function wxe({ src: e, fallback: t, width: n, height: r, provider: i, onLearn: a, retryKey: o }) {let [s, c] = (0, D.useState)(!1), [l, u] = (0, D.useState)(!1), [d, f] = (0, D.useState)(null);return (0, D.useEffect)(() => {c(!1);- }, [o]), s ? /* @__PURE__ */ (0, O.jsx)(HZ, { provider: i }) : /* @__PURE__ */ (0, O.jsx)("img", {+ }, [o]), s ? /* @__PURE__ */ (0, O.jsx)(VZ, { provider: i }) : /* @__PURE__ */ (0, O.jsx)("img", {src: l ? t : e,alt: "",loading: "lazy",@@ -59846,8 +59846,8 @@ function Cxe({ src: e, fallback: t, width: n, height: r, provider: i, onLearn: a} : void 0});}-function wxe(e) {- let { group: t, authorSources: n, media: r, context: i, selected: a, selectMode: o, busy: s, failure: c, actions: l } = e, u = Ri(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) => lge(u.id, h ? h.index : null, e, t) : void 0, y = r === "videos" ? Bi(t) : [], b = (u.media_items || []).length > 1 ? u.id : y[0]?.id || u.id, x = Hi({+function Txe(e) {+ let { group: t, authorSources: n, media: r, context: i, selected: a, selectMode: o, busy: s, failure: c, actions: l } = e, u = Ri(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) => uge(u.id, h ? h.index : null, e, t) : void 0, y = r === "videos" ? Bi(t) : [], b = (u.media_items || []).length > 1 ? u.id : y[0]?.id || u.id, x = Hi({cover: p,coverFace: (f?.thumb_url ? f : u).face,stack: t.stack,@@ -59855,7 +59855,7 @@ function wxe(e) {limit: 9}), S = (0, D.useRef)(x.faces);S.current = x.faces;- let C = uG({+ let C = lG({load: async () => S.current,canFlip: () => S.current.length > 1 && l.canFlip(),referrerPolicy: "no-referrer"@@ -59863,7 +59863,7 @@ function wxe(e) {w.current = C.onPointerLeave;let T = (0, D.useCallback)((e) => {e && (e._stopHover = () => w.current());- }, []), E = RU(u, n, i), k = PU(u), A = u.resource_provider || u.provider, j = (u.tags || []).slice(0, 3), M = VU(u, i), N = BU(t, u), ee = u.status === "saved", te = (e) => {+ }, []), E = LU(u, n, i), k = NU(u), A = u.resource_provider || u.provider, j = (u.tags || []).slice(0, 3), M = BU(u, i), N = zU(t, u), ee = u.status === "saved", te = (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));}, P = (e, t) => {e.stopPropagation(), t();@@ -59878,7 +59878,7 @@ function wxe(e) {"data-collection": x.isMix ? "" : void 0,"data-selected": a ? "" : void 0,onClick: te,- onMouseDown: HW,+ onMouseDown: VW,onMouseEnter: C.onPointerEnter,onMouseLeave: C.onPointerLeave,children: [@@ -59892,7 +59892,7 @@ function wxe(e) {}), /* @__PURE__ */ (0, O.jsxs)("div", {"data-media-pic": "",children: [- p ? /* @__PURE__ */ (0, O.jsx)(Cxe, {+ p ? /* @__PURE__ */ (0, O.jsx)(wxe, {src: p,fallback: m,width: _?.width,@@ -59900,7 +59900,7 @@ function wxe(e) {provider: A,onLearn: v,retryKey: e.retryKey- }, p) : /* @__PURE__ */ (0, O.jsx)(HZ, { provider: A }),+ }, p) : /* @__PURE__ */ (0, O.jsx)(VZ, { provider: A }),x.faces.length > 1 ? /* @__PURE__ */ (0, O.jsx)("div", {"data-mix-faces": "",hidden: !C.faces.length,@@ -59920,7 +59920,7 @@ function wxe(e) {"data-media-badge": "",title: u.provider_label || u.provider,"aria-label": `来源:${u.provider_label || u.provider}`,- dangerouslySetInnerHTML: { __html: NU(u.provider, u.provider_label) }+ dangerouslySetInnerHTML: { __html: MU(u.provider, u.provider_label) }}), N ? /* @__PURE__ */ (0, O.jsx)("span", {"data-follow-badges": "",dangerouslySetInnerHTML: { __html: N }@@ -59933,7 +59933,7 @@ function wxe(e) {},dangerouslySetInnerHTML: { __html: L("check") }}) : null,- Sxe(u.duration) ? /* @__PURE__ */ (0, O.jsx)("span", {+ Cxe(u.duration) ? /* @__PURE__ */ (0, O.jsx)("span", {"data-media-duration": "",children: gn(u.duration)}) : null,@@ -60005,7 +60005,7 @@ function wxe(e) {/* @__PURE__ */ (0, O.jsxs)("div", {"data-media-meta": "",children: [- E.entityName ? /* @__PURE__ */ (0, O.jsx)(VZ, {+ E.entityName ? /* @__PURE__ */ (0, O.jsx)(BZ, {name: E.entityName,actions: l,"data-media-avatar": "",@@ -60024,12 +60024,12 @@ function wxe(e) {/* @__PURE__ */ (0, O.jsx)("button", {type: "button","data-media-title": "",- dangerouslySetInnerHTML: { __html: zU(t, u) + z(k) }+ dangerouslySetInnerHTML: { __html: RU(t, u) + z(k) }}),/* @__PURE__ */ (0, O.jsxs)("div", {"data-follow-byline": "",children: [- E.entityName ? /* @__PURE__ */ (0, O.jsx)(VZ, {+ E.entityName ? /* @__PURE__ */ (0, O.jsx)(BZ, {name: E.entityName,actions: l,"data-follow-author": "",@@ -60042,8 +60042,8 @@ function wxe(e) {}),/* @__PURE__ */ (0, O.jsx)("time", {dateTime: u.published_at || "",- title: UU(u),- children: cge(u)+ title: HU(u),+ children: lge(u)}),E.credited ? /* @__PURE__ */ (0, O.jsx)("span", {"data-follow-credit": "",@@ -60078,10 +60078,10 @@ function wxe(e) {]});}-var UZ = (0, D.memo)(wxe);+var HZ = (0, D.memo)(Txe);//#endregion//#region src/react/components/use-masonry-grid.ts-function Txe(e, t) {+function Exe(e, t) {let n = (0, D.useRef)(null);return (0, D.useLayoutEffect)(() => {let t = n.current;@@ -60117,27 +60117,27 @@ function Txe(e, t) {}//#endregion//#region src/react/follow-manage/manage-route.ts-var Exe = [+var Dxe = ["list","add","feeds"];-function WZ(e) {+function UZ(e) {let t = new URLSearchParams(e), n = t.get("tab");return {- tab: Exe.find((e) => e === n) || "list",+ tab: Dxe.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 GZ(e) {+function WZ(e) {let t = new URLSearchParams();return e.tab !== "list" && t.set("tab", e.tab), e.page > 1 && t.set("page", String(e.page)), e.sort && t.set("sort", e.sort), e.dir && t.set("dir", e.dir), "/subscriptions" + (t.size ? `?${t}` : "");}-function KZ(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" : GZ({- tab: t || WZ(e).tab,+function GZ(e, t) {+ return !t && new URLSearchParams(e).get("tab") === "wants" ? "/jav?tab=wants" : !t && new URLSearchParams(e).get("tab") === "source" ? "/settings/library?section=%E6%9D%A5%E6%BA%90%E4%B8%8E%E8%AE%A2%E9%98%85" : WZ({+ tab: t || UZ(e).tab,page: 1,sort: "",dir: ""@@ -60145,10 +60145,10 @@ function KZ(e, t) {}//#endregion//#region src/react/follow-feed/follow-feed-page.tsx-var qZ = () => /* @__PURE__ */ (0, O.jsx)("span", {+var KZ = () => /* @__PURE__ */ (0, O.jsx)("span", {"data-entity-sep": "","aria-hidden": "true"-}), Dxe = Hz("settings"), JZ = Hz("chevron-down"), Oxe = Hz("history"), kxe = Hz("arrow-up"), Axe = Hz("arrow-down"), jxe = [[+}), Oxe = Vz("settings"), qZ = Vz("chevron-down"), kxe = Vz("history"), Axe = Vz("arrow-up"), jxe = Vz("arrow-down"), Mxe = [["fixed","固定比例","layout-grid"@@ -60157,7 +60157,7 @@ var qZ = () => /* @__PURE__ */ (0, O.jsx)("span", {"瀑布流","columns-2"]];-function Mxe(e, t, n) {+function Nxe(e, t, n) {return (0, D.useMemo)(() => {let r = e?.groups || [], i = e?.counts || {}, a = e?.sources || [], o = e?.facets || {}, s = new Set(o.authors || []), c = new Map(a.map((e) => [e.provider, e.provider_label || e.provider])), l = new Map((o.providers || []).map((e) => [e, c.get(e) || e])), u = new Map(o.tags || []), d = /* @__PURE__ */ new Map();a.forEach((e) => {@@ -60205,7 +60205,7 @@ function Mxe(e, t, n) {n]);}-function Nxe(e) {+function Pxe(e) {let { view: t, seed: n, revision: r, actions: i } = e, a = Ti(t, r), o = Tt(a), s = Ct({queryKey: Ei,queryFn: ({ signal: e }) => Di(e)@@ -60213,7 +60213,7 @@ function Nxe(e) {sources: c?.sources || [],aliases: c?.author_aliases || [],credentials: l- }), [c, l]), d = Mxe(c, t, n), f = o.isPending || o.isPlaceholderData, p = !f && !!c, m = (0, D.useMemo)(() => ({+ }), [c, l]), d = Nxe(c, t, n), f = o.isPending || o.isPlaceholderData, p = !f && !!c, m = (0, D.useMemo)(() => ({tags: Sl(d.visible.flatMap(ji).map((e) => ({ tags: e.tags || [] }))),providers: [...d.providers].map(([e, t]) => [e,@@ -60239,10 +60239,10 @@ function Nxe(e) {m,i]);- let h = Fxe(e, !!c);+ let h = Ixe(e, !!c);if (!c) return o.isError ? /* @__PURE__ */ (0, O.jsxs)("div", {"data-follow-feed": "",- children: [/* @__PURE__ */ (0, O.jsx)(YZ, {}), /* @__PURE__ */ (0, O.jsx)(vW, {+ children: [/* @__PURE__ */ (0, O.jsx)(JZ, {}), /* @__PURE__ */ (0, O.jsx)(_W, {message: Wt(o.error),onRetry: () => void o.refetch()})]@@ -60255,7 +60255,7 @@ function Nxe(e) {author: d.author,provider: d.provider}, {- authors: new Map([...d.authorSources].map(([e, t]) => [e, FU(t, u)])),+ authors: new Map([...d.authorSources].map(([e, t]) => [e, PU(t, u)])),providers: d.providers,works: d.workNames}), v = t.status ? d.counts[t.status] || 0 : d.allCount, y = d.sources.some((e) => e.can_backfill);@@ -60264,7 +60264,7 @@ function Nxe(e) {ref: h.host,"data-follow-progress": ""}, h.generation),- !h.busy && h.report ? /* @__PURE__ */ (0, O.jsx)(zz, {+ !h.busy && h.report ? /* @__PURE__ */ (0, O.jsx)(Rz, {tone: "neutral",title: "检查结果",children: h.report@@ -60273,7 +60273,7 @@ function Nxe(e) {"data-follow-feed": "","data-select-mode": e.selectMode ? "" : void 0,children: [- /* @__PURE__ */ (0, O.jsx)(YZ, { children: d.sources.length ? /* @__PURE__ */ (0, O.jsx)(q, {+ /* @__PURE__ */ (0, O.jsx)(JZ, { children: d.sources.length ? /* @__PURE__ */ (0, O.jsx)(q, {variant: "primary","data-follow-recheck": "","aria-label": "检查每个来源的更新",@@ -60284,20 +60284,20 @@ function Nxe(e) {dangerouslySetInnerHTML: { __html: rs("检查中") }}) : "检查更新"}) : null }),- /* @__PURE__ */ (0, O.jsx)(Ixe, {+ /* @__PURE__ */ (0, O.jsx)(Lxe, {facets: d,pressed: d.author,context: u,props: e,onPick: (e) => g({ author: d.author === e ? "" : e })}),- /* @__PURE__ */ (0, O.jsx)(Lxe, {+ /* @__PURE__ */ (0, O.jsx)(Rxe, {rows: d.workRows,pressed: t.work,props: e,onPick: (e) => g({ work: t.work === e ? "" : e })}),- /* @__PURE__ */ (0, O.jsx)(Rxe, {+ /* @__PURE__ */ (0, O.jsx)(zxe, {facets: d,view: t,total: v,@@ -60305,7 +60305,7 @@ function Nxe(e) {props: e,route: g}),- /* @__PURE__ */ (0, O.jsx)(zxe, {+ /* @__PURE__ */ (0, O.jsx)(Bxe, {conditions: _,onDrop: (e) => i.route(Ji(t, e)),onClear: () => g({@@ -60317,8 +60317,8 @@ function Nxe(e) {durMax: 0})}),- d.broken.length ? /* @__PURE__ */ (0, O.jsx)(Bxe, { count: d.broken.length }) : null,- /* @__PURE__ */ (0, O.jsx)(Vxe, {+ d.broken.length ? /* @__PURE__ */ (0, O.jsx)(Vxe, { count: d.broken.length }) : null,+ /* @__PURE__ */ (0, O.jsx)(Hxe, {retryKey: o.dataUpdatedAt,pending: f,facets: d,@@ -60341,14 +60341,14 @@ function Nxe(e) {"data-follow-pagination": "",children: [c.has_more ? /* @__PURE__ */ (0, O.jsx)("span", {"data-follow-page-action": "",- children: c.groups.length < 500 ? /* @__PURE__ */ (0, O.jsxs)(CY, {+ children: c.groups.length < 500 ? /* @__PURE__ */ (0, O.jsxs)(SY, {entity: !0,enabled: () => !h.busyRef.current,load: async () => {await o.fetchNextPage({ throwOnError: !0 });},- children: [/* @__PURE__ */ (0, O.jsx)(JZ, { className: "size-(--icon-inline)" }), "加载更多"]- }, o.data?.pages.length) : /* @__PURE__ */ (0, O.jsx)(Pxe, {+ children: [/* @__PURE__ */ (0, O.jsx)(qZ, { className: "size-(--icon-inline)" }), "加载更多"]+ }, o.data?.pages.length) : /* @__PURE__ */ (0, O.jsx)(Fxe, {busy: o.isFetchingNextPage,error: o.isFetchNextPageError ? Wt(o.error) : "",load: () => {@@ -60359,7 +60359,7 @@ function Nxe(e) {"data-follow-page-action": "",children: [/* @__PURE__ */ (0, O.jsx)(q, {variant: "secondary",- leadingIcon: h.olderBusy ? void 0 : Oxe,+ leadingIcon: h.olderBusy ? void 0 : kxe,"data-follow-older": "","aria-busy": h.busy || void 0,onClick: () => void h.start(!0),@@ -60377,7 +60377,7 @@ function Nxe(e) {})] });}-function YZ({ children: e }) {+function JZ({ children: e }) {return /* @__PURE__ */ (0, O.jsxs)("div", {"data-follow-head": "",children: [/* @__PURE__ */ (0, O.jsx)("h2", {@@ -60385,30 +60385,30 @@ function YZ({ children: e }) {children: "关注"}), /* @__PURE__ */ (0, O.jsxs)("span", {"data-follow-head-actions": "",- children: [/* @__PURE__ */ (0, O.jsx)(mI, {+ children: [/* @__PURE__ */ (0, O.jsx)(pI, {variant: "secondary",- leadingIcon: Dxe,+ leadingIcon: Oxe,"data-follow-manage": "",- href: XZ(),+ href: YZ(),children: "管理关注"}), e]})]});}-function Pxe({ busy: e, error: t, load: n }) {+function Fxe({ busy: e, error: t, load: n }) {return /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsxs)("button", {type: "button","data-entity-more": "","aria-busy": e || void 0,"aria-disabled": e || void 0,onClick: n,- children: [/* @__PURE__ */ (0, O.jsx)(JZ, { className: "size-(--icon-inline)" }), "加载更多"]- }), t ? /* @__PURE__ */ (0, O.jsx)(vW, {+ children: [/* @__PURE__ */ (0, O.jsx)(qZ, { className: "size-(--icon-inline)" }), "加载更多"]+ }), t ? /* @__PURE__ */ (0, O.jsx)(_W, {message: t,onRetry: n}) : null] });}-function Fxe(e, t) {+function Ixe(e, t) {let { helpers: n, actions: r } = e, [i, a] = (0, D.useState)(0), [o, s] = (0, D.useState)(!1), [c, l] = (0, D.useState)(""), [u, d] = (0, D.useState)(""), [f, p] = (0, D.useState)(!1), m = (0, D.useRef)(!1), h = (0, D.useRef)(null), g = (0, D.useRef)({helpers: n,actions: r@@ -60470,12 +60470,12 @@ function Fxe(e, t) {olderBusy: c === "older" || f && o};}-function Ixe({ facets: e, pressed: t, context: n, props: r, onPick: i }) {+function Lxe({ facets: e, pressed: t, context: n, props: r, onPick: i }) {let a = (0, D.useRef)(null);(0, D.useEffect)(() => {r.helpers.wireDrag(a.current);}, [r.helpers]);- let o = (t) => FU(e.authorSources.get(t) || [], n);+ let o = (t) => PU(e.authorSources.get(t) || [], n);return e.authorOrder.length ? /* @__PURE__ */ (0, O.jsx)("div", {"data-follow-authors-bar": "",children: /* @__PURE__ */ (0, O.jsx)("div", {@@ -60483,14 +60483,14 @@ function Ixe({ 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 = IU(a), c = /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)("span", {+ let a = e.authorSources.get(n) || [], s = FU(a), c = /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)("span", {"data-follow-ring": "",- dangerouslySetInnerHTML: { __html: LU(a, o(n)) }+ dangerouslySetInnerHTML: { __html: IU(a, o(n)) }}), /* @__PURE__ */ (0, O.jsx)("span", {"data-follow-name": "",children: o(n)})] });- return s ? /* @__PURE__ */ (0, O.jsx)(VZ, {+ return s ? /* @__PURE__ */ (0, O.jsx)(BZ, {name: s,actions: r.actions,"data-follow-author": n,@@ -60507,7 +60507,7 @@ function Ixe({ facets: e, pressed: t, context: n, props: r, onPick: i }) {})}) : null;}-function Lxe({ rows: e, pressed: t, props: n, onPick: r }) {+function Rxe({ rows: e, pressed: t, props: n, onPick: r }) {let i = (0, D.useRef)(null);return (0, D.useEffect)(() => {n.helpers.wireDrag(i.current);@@ -60528,13 +60528,13 @@ function Lxe({ rows: e, pressed: t, props: n, onPick: r }) {}, e[0]))}) : null;}-function Rxe({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {- let { helpers: o, actions: s } = i, c = (0, D.useRef)(null), l = (0, D.useRef)(null), u = (0, D.useRef)(null), d = (0, D.useRef)(null), f = (0, D.useRef)(null), p = (0, D.useRef)(null), m = !!e.mediaCounts.images || t.media === "images", h = fI(c, u, "[data-follow-filter][aria-pressed=\"true\"]", t.status), g = fI(l, d, "[data-media-view][aria-pressed=\"true\"]", `${t.media}:${m}`);+function zxe({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {+ let { helpers: o, actions: s } = i, c = (0, D.useRef)(null), l = (0, D.useRef)(null), u = (0, D.useRef)(null), d = (0, D.useRef)(null), f = (0, D.useRef)(null), p = (0, D.useRef)(null), m = !!e.mediaCounts.images || t.media === "images", h = dI(c, u, "[data-follow-filter][aria-pressed=\"true\"]", t.status), g = dI(l, d, "[data-media-view][aria-pressed=\"true\"]", `${t.media}:${m}`);(0, D.useEffect)(() => {o.wireDrag(f.current), o.wireDrag(p.current), o.wireScroller(p.current);}, [o]);let _ = [...e.providers], v = _.length + e.tagRows.length > 0, y = t.media === "images";- return /* @__PURE__ */ (0, O.jsx)(sI, {+ return /* @__PURE__ */ (0, O.jsx)(oI, {label: "筛选与排序",topLabel: m ? "媒体与关注筛选" : "关注筛选",attrs: {@@ -60586,7 +60586,7 @@ function Rxe({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {dangerouslySetInnerHTML: { __html: L(i) }}, e);})- }), /* @__PURE__ */ (0, O.jsx)(qZ, {})] }) : null, /* @__PURE__ */ (0, O.jsxs)("div", {+ }), /* @__PURE__ */ (0, O.jsx)(KZ, {})] }) : null, /* @__PURE__ */ (0, O.jsxs)("div", {ref: f,"data-entity-scroll": "",children: [/* @__PURE__ */ (0, O.jsxs)("div", {@@ -60606,7 +60606,7 @@ function Rxe({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {t.status !== e && a({ status: e });},children: n- }, e)), v ? /* @__PURE__ */ (0, O.jsx)(qZ, {}) : null]+ }, e)), v ? /* @__PURE__ */ (0, O.jsx)(KZ, {}) : null]}), /* @__PURE__ */ (0, O.jsxs)("div", {ref: p,"data-entity-tags": "",@@ -60619,10 +60619,10 @@ function Rxe({ 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: NU(t, n) }+ dangerouslySetInnerHTML: { __html: MU(t, n) }}, t)),- _.length && e.tagRows.length ? /* @__PURE__ */ (0, O.jsx)(qZ, {}) : null,- e.tagRows.map(([n, r]) => /* @__PURE__ */ (0, O.jsxs)(cI, {+ _.length && e.tagRows.length ? /* @__PURE__ */ (0, O.jsx)(KZ, {}) : null,+ e.tagRows.map(([n, r]) => /* @__PURE__ */ (0, O.jsxs)(sI, {"data-follow-tag": n,"data-entity-press": "","data-tag-cat": `r34-${Yi(e.groups, n)}`,@@ -60642,18 +60642,18 @@ function Rxe({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {"data-follow-readout": "",children: `${n.toLocaleString()} 项更新 · 显示 ${e.visible.length.toLocaleString()}`}),- /* @__PURE__ */ (0, O.jsx)(rB, {+ /* @__PURE__ */ (0, O.jsx)(nB, {currentHref: () => location.pathname + location.search,kind: "creator"}),/* @__PURE__ */ (0, O.jsxs)("span", {"data-entity-sorts": "",children: [- /* @__PURE__ */ (0, O.jsx)(ZU, { onPress: s.shuffle }),- y ? /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)(XU, {+ /* @__PURE__ */ (0, O.jsx)(XU, { onPress: s.shuffle }),+ y ? /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)(YU, {label: "图片布局",value: i.photoLayout,- options: jxe,+ options: Mxe,onChange: (e) => s.setPhotoLayout(e === "fixed" ? "fixed" : "masonry")}), /* @__PURE__ */ (0, O.jsxs)("button", {type: "button",@@ -60683,9 +60683,9 @@ function Rxe({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {let n = Wi(e, t.sort, t.dir);n && a(n);},- children: [n, r ? /* @__PURE__ */ (0, O.jsx)(OU, {- a: kxe,- b: Axe,+ children: [n, r ? /* @__PURE__ */ (0, O.jsx)(DU, {+ a: Axe,+ b: jxe,state: t.dir === "asc" ? "a" : "b",className: "size-(--icon-inline)"}) : null]@@ -60696,7 +60696,7 @@ function Rxe({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {] })});}-function zxe({ conditions: e, onDrop: t, onClear: n }) {+function Bxe({ conditions: e, onDrop: t, onClear: n }) {return /* @__PURE__ */ (0, O.jsx)("div", {"data-entity-combo": "","data-follow-combo": "",@@ -60721,19 +60721,19 @@ function zxe({ conditions: e, onDrop: t, onClear: n }) {})] }) : null});}-function Bxe({ count: e }) {+function Vxe({ count: e }) {return /* @__PURE__ */ (0, O.jsx)("div", {"data-follow-broken": "",- dangerouslySetInnerHTML: { __html: `<div class="geist-note geist-note-error fwarn" role="alert">${L("alert")}<span>${e} 个来源上次检查失败,去<a class="flink" href="${z(XZ())}" data-follow-manage>管理关注</a>看原因。</span></div>` }+ dangerouslySetInnerHTML: { __html: `<div class="geist-note geist-note-error fwarn" role="alert">${L("alert")}<span>${e} 个来源上次检查失败,去<a class="flink" href="${z(YZ())}" data-follow-manage>管理关注</a>看原因。</span></div>` }});}-var XZ = () => KZ(window.location.search);-function Vxe({ pending: e, facets: t, data: n, context: r, props: i, retryKey: a, checkAction: o }) {- let { view: s, helpers: c } = i, l = s.media === "images", u = _W(e, () => c.listSkeletonHtml(s.media));+var YZ = () => GZ(window.location.search);+function Hxe({ pending: e, facets: t, data: n, context: r, props: i, retryKey: a, checkAction: o }) {+ let { view: s, helpers: c } = i, l = s.media === "images", u = gW(e, () => c.listSkeletonHtml(s.media));return /* @__PURE__ */ (0, O.jsxs)("div", {"data-follow-list-body": "","data-grid-reveal": u.fading ? "" : void 0,- children: [u.layer, e ? null : /* @__PURE__ */ (0, O.jsx)(Hxe, {+ children: [u.layer, e ? null : /* @__PURE__ */ (0, O.jsx)(Uxe, {facets: t,data: n,context: r,@@ -60744,29 +60744,29 @@ function Vxe({ pending: e, facets: t, data: n, context: r, props: i, retryKey: a})]});}-function Hxe({ facets: e, data: t, context: n, props: r, images: i, retryKey: a, checkAction: o }) {- let { view: s, actions: c } = r, l = QZ(r), u = i ? {+function Uxe({ facets: e, data: t, context: n, props: r, images: i, retryKey: a, checkAction: o }) {+ let { view: s, actions: c } = r, l = ZZ(r), u = i ? {"data-size": r.photoSize,"data-layout": r.photoLayout,"data-images-only": String(r.imagesOnly)- } : {}, d = Txe(i && r.photoLayout === "masonry", `${r.photoSize}:${e.visible.map((e) => e.primary.id).join(",")}`), f;+ } : {}, d = Exe(i && r.photoLayout === "masonry", `${r.photoSize}:${e.visible.map((e) => e.primary.id).join(",")}`), f;return f = e.visible.length ? e.visible.map((t) => {let i = e.byId.get(t.primary?.source_id), o = i?.author_key && e.authorSources.get(i.author_key) || [], u = t.primary.id;- return /* @__PURE__ */ (0, O.jsx)(UZ, {+ return /* @__PURE__ */ (0, O.jsx)(HZ, {group: t,authorSources: o,media: s.media,retryKey: a,context: n,- selected: r.selected.has(ZZ(t, s)),+ selected: r.selected.has(XZ(t, s)),selectMode: r.selectMode,- busy: l.busy.get(ZZ(t, s)) || "",- failure: l.failures.get(ZZ(t, s)) || "",+ busy: l.busy.get(XZ(t, s)) || "",+ failure: l.failures.get(XZ(t, s)) || "",actions: c,onStatus: l.status,onSave: l.save}, `${u}:${s.media}`);- }) : /* @__PURE__ */ (0, O.jsx)(Uxe, {+ }) : /* @__PURE__ */ (0, O.jsx)(Wxe, {data: t,filtered: !!(s.status || e.author || e.provider || s.work || s.tags.length || s.durMin || s.durMax),checkAction: o,@@ -60789,22 +60789,22 @@ function Hxe({ facets: e, data: t, context: n, props: r, images: i, retryKey: a,children: f});}-function ZZ(e, t) {+function XZ(e, t) {return Ri(e, t.media).id;}-function Uxe({ data: e, filtered: t, clear: n, checkAction: r }) {+function Wxe({ data: e, filtered: t, clear: n, checkAction: r }) {let i = !!e.groups.length || t, a = !!e.sources.length;return /* @__PURE__ */ (0, O.jsx)("div", {"data-follow-empty": "",className: "contents",- children: /* @__PURE__ */ (0, O.jsx)(Bz, {- icon: Hz(i ? "search-x" : "rss"),+ children: /* @__PURE__ */ (0, O.jsx)(zz, {+ icon: Vz(i ? "search-x" : "rss"),title: i ? "当前筛选下没有更新" : a ? "还没有更新" : "还没有关注任何来源",actions: i ? /* @__PURE__ */ (0, O.jsx)(q, {size: "small",onClick: n,children: "清除筛选"- }) : a ? r : /* @__PURE__ */ (0, O.jsx)(mI, {+ }) : a ? r : /* @__PURE__ */ (0, O.jsx)(pI, {size: "small",href: "/subscriptions?tab=add",children: "添加关注"@@ -60813,12 +60813,12 @@ function Uxe({ data: e, filtered: t, clear: n, checkAction: r }) {})});}-var Wxe = {+var Gxe = {new: "已恢复未看",seen: "已标记已看",ignored: "已忽略"};-function QZ(e) {+function ZZ(e) {let { view: t, revision: n, actions: r } = e, [i, a] = (0, D.useState)(() => /* @__PURE__ */ new Map()), [o, s] = (0, D.useState)(() => /* @__PURE__ */ new Map()), c = Ti(t, n).queryKey, l = (e, t, n) => n((n) => {let r = new Map(n);return t ? r.set(e, t) : r.delete(e), r;@@ -60841,7 +60841,7 @@ function QZ(e) {to: t}),onSuccess: (e, { id: t, to: n, was: i }) => {- u(t, n), d(), r.toast(Wxe[n] || "已更新关注状态", { undo: i === "saved" ? void 0 : async () => {+ u(t, n), d(), r.toast(Gxe[n] || "已更新关注状态", { undo: i === "saved" ? void 0 : async () => {await V(er, {item: t,to: i@@ -60887,9 +60887,9 @@ function QZ(e) {}//#endregion//#region src/react/entity-body/entity-online.tsx-function Gxe(e) {- let { result: t, data: n, media: r, helpers: i } = e, a = t.isPending || t.isPlaceholderData, o = _W(a, () => i.listSkeletonHtml(r));- return !n && t.isError ? /* @__PURE__ */ (0, O.jsx)(vW, {+function Kxe(e) {+ let { result: t, data: n, media: r, helpers: i } = e, a = t.isPending || t.isPlaceholderData, o = gW(a, () => i.listSkeletonHtml(r));+ return !n && t.isError ? /* @__PURE__ */ (0, O.jsx)(_W, {message: Wt(t.error),onRetry: () => {t.refetch();@@ -60900,11 +60900,11 @@ function Gxe(e) {"data-grid-reveal": o.fading ? "" : void 0,children: [o.layer,- a || !n ? null : /* @__PURE__ */ (0, O.jsx)(Kxe, {+ a || !n ? null : /* @__PURE__ */ (0, O.jsx)(qxe, {...e,data: n}),- !a && n?.has_more ? /* @__PURE__ */ (0, O.jsx)(CY, {+ !a && n?.has_more ? /* @__PURE__ */ (0, O.jsx)(SY, {entity: !0,enabled: () => e.canLoadMore?.() !== !1,load: async () => {@@ -60914,8 +60914,8 @@ function Gxe(e) {]});}-function Kxe({ view: e, media: t, data: n, visible: r, context: i, photoSize: a, photoLayout: o, imagesOnly: s, actions: c, clearFilters: l }) {- let u = QZ({+function qxe({ view: e, media: t, data: n, visible: r, context: i, photoSize: a, photoLayout: o, imagesOnly: s, actions: c, clearFilters: l }) {+ let u = ZZ({view: e,revision: 0,actions: c@@ -60933,7 +60933,7 @@ function Kxe({ 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 = Ri(e, t).id, r = d.byId.get(e.primary?.source_id)?.author_key;- return /* @__PURE__ */ (0, O.jsx)(UZ, {+ return /* @__PURE__ */ (0, O.jsx)(HZ, {group: e,authorSources: r && d.byAuthor.get(r) || [],media: t,@@ -60946,11 +60946,11 @@ function Kxe({ view: e, media: t, data: n, visible: r, context: i, photoSize: a,onStatus: u.status,onSave: u.save}, `${e.primary.id}:${t}`);- }) : /* @__PURE__ */ (0, O.jsx)(qxe, {+ }) : /* @__PURE__ */ (0, O.jsx)(Jxe, {searched: !!(n.groups || []).length || !!(e.status || e.provider || e.tags.length || e.durMin || e.durMax),clear: l,actions: c,- sources: bxe(n.sources || [], e.author)+ sources: xxe(n.sources || [], e.author)});return /* @__PURE__ */ (0, O.jsx)("div", {"data-follow-list": "",@@ -60959,21 +60959,21 @@ function Kxe({ view: e, media: t, data: n, visible: r, context: i, photoSize: a,children: m});}-function qxe({ searched: e, clear: t, actions: n, sources: r }) {+function Jxe({ searched: e, clear: t, actions: n, sources: r }) {return /* @__PURE__ */ (0, O.jsx)("div", {"data-follow-empty": "",className: "contents",- children: /* @__PURE__ */ (0, O.jsx)(Bz, {- icon: Hz(e ? "search-x" : "rss"),+ children: /* @__PURE__ */ (0, O.jsx)(zz, {+ icon: Vz(e ? "search-x" : "rss"),title: e ? "当前筛选下没有更新" : "还没有抓到更新",actions: e ? /* @__PURE__ */ (0, O.jsx)(q, {size: "small",onClick: t,children: "清除筛选"- }) : r.length ? /* @__PURE__ */ (0, O.jsx)(xxe, {+ }) : r.length ? /* @__PURE__ */ (0, O.jsx)(Sxe, {sources: r,report: n.checkReport- }) : /* @__PURE__ */ (0, O.jsx)(mI, {+ }) : /* @__PURE__ */ (0, O.jsx)(pI, {size: "small",href: "/subscriptions?tab=add",children: "添加关注"@@ -60982,7 +60982,7 @@ function qxe({ searched: e, clear: t, actions: n, sources: r }) {})});}-function $Z(e) {+function QZ(e) {return {x0: 0,y0: 0,@@ -60990,7 +60990,7 @@ function $Z(e) {y1: e.height};}-function eQ(e) {+function $Z(e) {return {x0: Math.round(e.x0),y0: Math.round(e.y0),@@ -60998,40 +60998,40 @@ function eQ(e) {y1: Math.round(e.y1)};}-function tQ(e) {+function eQ(e) {return !!e && Number.isFinite(e.width) && Number.isFinite(e.height) && e.width > 0 && e.height > 0;}-function nQ(e, t) {- if (!tQ(e)) return {+function tQ(e, t) {+ if (!eQ(e)) return {x0: 0,y0: 0,x1: 0,y1: 0};- if (t == null || !(t > 0)) return $Z(e);+ if (t == null || !(t > 0)) return QZ(e);let n = e.width, r = n / t;r > e.height && (r = e.height, n = r * t);let i = (e.width - n) / 2, a = (e.height - r) / 2;- return eQ({+ return $Z({x0: i,y0: a,x1: i + n,y1: a + r});}-function Jxe(e, t) {- if (!tQ(e) || !(t > 0)) return $Z(e);+function Yxe(e, t) {+ if (!eQ(e) || !(t > 0)) return QZ(e);let n = Math.min(e.width, e.height * t);- return eQ({+ return $Z({x0: e.width - n,y0: 0,x1: e.width,y1: e.height});}-function Yxe(e, t, n) {- if (!tQ(t) || !(n > 0)) return $Z(t);- let r = rQ(e, t), i = nQ({+function Xxe(e, t, n) {+ if (!eQ(t) || !(n > 0)) return QZ(t);+ let r = nQ(e, t), i = tQ({width: r.x1 - r.x0,height: r.y1 - r.y0}, n);@@ -61042,8 +61042,8 @@ function Yxe(e, t, n) {y1: r.y0 + i.y1};}-function rQ(e, t, n = null, r = "width") {- if (!tQ(t)) return {+function nQ(e, t, n = null, r = "width") {+ if (!eQ(t)) return {x0: 0,y0: 0,x1: 0,@@ -61052,43 +61052,43 @@ function rQ(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 eQ({+ return $Z({x0: s,y0: c,x1: s + a,y1: c + o});}-function iQ(e, t, n, r) {+function rQ(e, t, n, r) {let i = e.x1 - e.x0, a = e.y1 - e.y0, o = Math.max(0, Math.min(e.x0 + t, r.width - i)), s = Math.max(0, Math.min(e.y0 + n, r.height - a));- return eQ({+ return $Z({x0: o,y0: s,x1: o + i,y1: s + a});}-function aQ(e, t, n, r = null) {- if (!tQ(n) || !(t > 0)) return e;+function iQ(e, t, n, r = null) {+ if (!eQ(n) || !(t > 0)) return e;let i = (e.x0 + e.x1) / 2, a = (e.y0 + e.y1) / 2, o = (e.x1 - e.x0) * t, s = (e.y1 - e.y0) * t;- return rQ({+ return nQ({x0: i - o / 2,y0: a - s / 2,x1: i + o / 2,y1: a + s / 2}, n, r);}-function Xxe(e, t, n, r, i = null) {+function Zxe(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 rQ(a, r, i, (a.x1 - a.x0) / Math.max(1, a.y1 - a.y0) > (i ?? 1) ? "height" : "width");+ return nQ(a, r, i, (a.x1 - a.x0) / Math.max(1, a.y1 - a.y0) > (i ?? 1) ? "height" : "width");}-function Zxe(e, t) {- return tQ(t) ? {+function Qxe(e, t) {+ return eQ(t) ? {left: e.x0 / t.width * 100,top: e.y0 / t.height * 100,width: (e.x1 - e.x0) / t.width * 100,@@ -61100,8 +61100,8 @@ function Zxe(e, t) {height: 0};}-function Qxe(e, t) {- if (!tQ(t)) return {+function $xe(e, t) {+ if (!eQ(t)) return {size: "cover",position: "50% 50%"};@@ -61111,7 +61111,7 @@ function Qxe(e, t) {position: `${i(e.x0, t.width, n)}% ${i(e.y0, t.height, r)}%`};}-function $xe(e, t) {+function eSe(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}%`,@@ -61120,16 +61120,16 @@ function $xe(e, t) {height: `${t.height / r * 100}%`};}-function oQ(e, t, n) {+function aQ(e, t, n) {return t > 0 ? e * n / t : 0;}-function eSe(e, t) {+function tSe(e, t) {return !t || !(t.width > 0) || !(t.height > 0) ? !1 : Math.min(e.width / 100 * t.width, e.height / 100 * t.height) < 36;}//#endregion//#region src/react/crop/crop-frame.tsx-var tSe = .02, sQ = 1.08;-function cQ({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: o }) {+var nSe = .02, oQ = 1.08;+function sQ({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: o }) {let s = (0, D.useRef)(null), c = (0, D.useRef)(null), [l, u] = (0, D.useState)(!1), [d, f] = (0, D.useState)(null);(0, D.useEffect)(() => {u(!1);@@ -61148,8 +61148,8 @@ function cQ({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: odx: 0,dy: 0} : {- dx: oQ(e, n.clientWidth, r.width),- dy: oQ(t, n.clientHeight, r.height)+ dx: aQ(e, n.clientWidth, r.width),+ dy: aQ(t, n.clientHeight, r.height)};}, [r]);function m(e) {@@ -61166,22 +61166,22 @@ function cQ({ 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(iQ(n.box, o.dx, o.dy, r)) : i(Xxe(n.box, n.box.x0 + (n.box.x1 - n.box.x0) + o.dx, n.box.y0 + (n.box.y1 - n.box.y0) + o.dy, r, t));+ n.mode === "move" ? i(rQ(n.box, o.dx, o.dy, r)) : i(Zxe(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) * tSe), o = {+ let a = Math.max(1, (n.x1 - n.x0) * nSe), o = {ArrowLeft: [-a, 0],ArrowRight: [a, 0],ArrowUp: [0, -a],ArrowDown: [0, a]};- o[e.key] ? (e.preventDefault(), i(iQ(n, o[e.key][0], o[e.key][1], r))) : (e.key === "+" || e.key === "=" || e.key === "-") && (e.preventDefault(), i(aQ(n, e.key === "-" ? 1 / sQ : sQ, r, t)));+ o[e.key] ? (e.preventDefault(), i(rQ(n, o[e.key][0], o[e.key][1], r))) : (e.key === "+" || e.key === "=" || e.key === "-") && (e.preventDefault(), i(iQ(n, e.key === "-" ? 1 / oQ : oQ, r, t)));}- let v = n && r ? Zxe(rQ(n, r, t), r) : null, y = v ? eSe(v, d) : !1, b = v ? {+ let v = n && r ? Qxe(nQ(n, r, t), r) : null, y = v ? tSe(v, d) : !1, b = v ? {"--crop-l": `${v.left}%`,"--crop-t": `${v.top}%`,"--crop-w": `${v.width}%`,@@ -61200,7 +61200,7 @@ function cQ({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: odraggable: !1,onLoad: (e) => {let t = e.currentTarget;- tQ({+ eQ({width: t.naturalWidth,height: t.naturalHeight}) && a({@@ -61239,7 +61239,7 @@ function cQ({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: oonPointerCancel: g,onKeyDown: _,onWheel: (e) => {- n && r && i(aQ(n, e.deltaY > 0 ? sQ : 1 / sQ, r, t));+ n && r && i(iQ(n, e.deltaY > 0 ? oQ : 1 / oQ, r, t));},className: "absolute left-(--crop-l) top-(--crop-t) h-(--crop-h) w-(--crop-w) cursor-move touch-none outline-none ring-2 ring-border-focus-ring ring-inset focus-visible:ring-4",children: /* @__PURE__ */ (0, O.jsx)("span", {@@ -61262,13 +61262,13 @@ function cQ({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: o}//#endregion//#region src/react/avatar-picker/avatar-picker.ts-var nSe = "/api/avatar-choices", lQ = "/api/avatar-pick", rSe = "/api/avatar-code-cover", uQ = "/api/avatar-frame", iSe = "/avatar-choice", dQ = (e, t) => [+var rSe = "/api/avatar-choices", cQ = "/api/avatar-pick", iSe = "/api/avatar-code-cover", lQ = "/api/avatar-frame", aSe = "/avatar-choice", uQ = (e, t) => ["avatar-choices",e,t-], fQ = (e, t) => `?kind=${encodeURIComponent(e)}&id=${t}`, pQ = (e, t, n, r = "") => `${iSe}${fQ(e, t)}&ref=${encodeURIComponent(n)}` + (r ? `&v=${encodeURIComponent(r)}` : ""), mQ = (e, t) => t.startsWith("cover:") || t.endsWith(":cover") ? e.version : "", aSe = (e, t, n) => B(nSe + fQ(e, t), n), oSe = (e) => V(rSe, { code: e });-async function sSe(e, t, n) {- let r = await V(uQ, {+], dQ = (e, t) => `?kind=${encodeURIComponent(e)}&id=${t}`, fQ = (e, t, n, r = "") => `${aSe}${dQ(e, t)}&ref=${encodeURIComponent(n)}` + (r ? `&v=${encodeURIComponent(r)}` : ""), pQ = (e, t) => t.startsWith("cover:") || t.endsWith(":cover") ? e.version : "", oSe = (e, t, n) => B(rSe + dQ(e, t), n), sSe = (e) => V(iSe, { code: e });+async function cSe(e, t, n) {+ let r = await V(lQ, {kind: e,id: t,ref: n.ref@@ -61281,12 +61281,12 @@ async function sSe(e, t, n) {bases: r.bases};}-var cSe = (e, t, n) => V(uQ, {+var lSe = (e, t, n) => V(lQ, {kind: e,id: t,url: n-}), lSe = (e, t, n) => hQ(`${uQ}${fQ(e, t)}&name=${encodeURIComponent(n.name)}`, n);-async function hQ(e, t) {+}), uSe = (e, t, n) => mQ(`${lQ}${dQ(e, t)}&name=${encodeURIComponent(n.name)}`, n);+async function mQ(e, t) {let n = await fetch(e, {method: "POST",credentials: "same-origin",@@ -61295,17 +61295,17 @@ async function hQ(e, t) {if (n.ok) return r;throw new kn(r?.error || `请求失败(${n.status})`, n.status, r);}-function gQ(e, t, n) {+function hQ(e, t, n) {let r = t.width === e.width && t.height === e.height;- return e.focus && r ? Yxe(e.focus, t, n) : nQ(t, n);+ return e.focus && r ? Xxe(e.focus, t, n) : tQ(t, n);}-var uSe = (e) => e.crop && tQ({+var dSe = (e) => e.crop && eQ({width: e.width,height: e.height});-async function dSe(e, t, n) {+async function fSe(e, t, n) {if (!("file" in n)) {- await V(lQ, {+ await V(cQ, {kind: e,id: t,...n@@ -61318,19 +61318,19 @@ async function dSe(e, t, n) {i.x1,i.y1].join(",")}` : "";- await hQ(`${lQ}${fQ(e, t)}&name=${encodeURIComponent(r.name)}${a}`, r);+ await mQ(`${cQ}${dQ(e, t)}&name=${encodeURIComponent(r.name)}${a}`, r);}-var _Q = 2;-function fSe(e, t) {+var gQ = 2;+function pSe(e, t) {if (!t) return e;let n = t.matched_names.filter((t) => t !== e);- return n.length ? `${e}:图库里按${`「${n.slice(0, _Q).join("」「")}」`}${n.length > _Q ? `等 ${n.length.toLocaleString()} 个名字` : ""}找到的。` : t.choices.length ? `${e}:换上的那张留在本机,随时能换回来。` : `${e}:还没有备选图片,可输入番号、图片地址或从本机选择。`;+ return n.length ? `${e}:图库里按${`「${n.slice(0, gQ).join("」「")}」`}${n.length > gQ ? `等 ${n.length.toLocaleString()} 个名字` : ""}找到的。` : t.choices.length ? `${e}:换上的那张留在本机,随时能换回来。` : `${e}:还没有备选图片,可输入番号、图片地址或从本机选择。`;}-var pSe = (e) => e < 48 ? `${Math.max(1, Math.round(e))} 小时` : `${Math.floor(e / 24)} 天`;-function mSe(e) {- return !e || !e.index_stale || e.choices.some((e) => e.source === "gfriends") ? "" : e.index_age_hours === null ? "图库索引还没取过,只能从用过的图里选。" : `图库索引 ${pSe(e.index_age_hours)}没更新,新收的人像这里还查不到。`;+var mSe = (e) => e < 48 ? `${Math.max(1, Math.round(e))} 小时` : `${Math.floor(e / 24)} 天`;+function hSe(e) {+ return !e || !e.index_stale || e.choices.some((e) => e.source === "gfriends") ? "" : e.index_age_hours === null ? "图库索引还没取过,只能从用过的图里选。" : `图库索引 ${mSe(e.index_age_hours)}没更新,新收的人像这里还查不到。`;}-var vQ = (e) => e.cast > 1, hSe = (e) => vQ(e) ? `${e.label}:${e.cast.toLocaleString()} 人合演,先找到她自己的脸,再拖动方框选一块。` : `${e.label}:拖动方框选一块,滚轮或角上那枚方块改大小。`, gSe = {+var _Q = (e) => e.cast > 1, gSe = (e) => _Q(e) ? `${e.label}:${e.cast.toLocaleString()} 人合演,先找到她自己的脸,再拖动方框选一块。` : `${e.label}:拖动方框选一块,滚轮或角上那枚方块改大小。`, _Se = {gfriends: "图库",history: "用过的",asset: "作品画面",@@ -61340,7 +61340,7 @@ var vQ = (e) => e.cast > 1, hSe = (e) => vQ(e) ? `${e.label}:${e.cast.toLocalesocial: "社媒头像",online: "在线作品"};-function _Se(e) {+function vSe(e) {if (e.startsWith("follow:")) {let t = e.split(":")[2];return t === "cover" ? "作品封面" : `内容图片 ${Number(t.replace("image", "") || 0) + 1}`;@@ -61351,19 +61351,19 @@ function _Se(e) {let n = Number(t.replace("cell", ""));return Number.isFinite(n) ? `第 ${n + 1} 格` : t;}-var vSe = (e) => `${gSe[e.source] || e.source} · ${e.label}` + (e.width ? ` · ${e.width}×${e.height}` : "") + (vQ(e) ? ` · ${e.cast.toLocaleString()} 人合演` : "") + (e.found_by ? ` · 按「${e.found_by}」找到` : "") + (e.source === "asset" && e.detail && e.detail !== e.label ? ` · ${e.detail}` : ""), ySe = 8, bSe = 3 / 4;-async function xSe(e, t, n) {+var ySe = (e) => `${_Se[e.source] || e.source} · ${e.label}` + (e.width ? ` · ${e.width}×${e.height}` : "") + (_Q(e) ? ` · ${e.cast.toLocaleString()} 人合演` : "") + (e.found_by ? ` · 按「${e.found_by}」找到` : "") + (e.source === "asset" && e.detail && e.detail !== e.label ? ` · ${e.detail}` : ""), bSe = 8, xSe = 3 / 4;+async function SSe(e, t, n) {switch (n.via) {- case "choice": return { choice: await sSe(e, t, n.choice) };- case "code": return { choice: await oSe(n.code) };- case "url": return { choice: await cSe(e, t, n.url) };+ case "choice": return { choice: await cSe(e, t, n.choice) };+ case "code": return { choice: await sSe(n.code) };+ case "url": return { choice: await lSe(e, t, n.url) };case "file": return {- choice: await lSe(e, t, n.file),+ choice: await uSe(e, t, n.file),file: n.file};}}-function SSe({ kind: e, entityId: t, name: n, onPicked: r }) {+function CSe({ kind: e, entityId: t, name: n, onPicked: r }) {let [i, a] = (0, D.useState)(!1);return /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)("span", {className: "absolute right-1 bottom-1 z-10",@@ -61373,17 +61373,17 @@ function SSe({ kind: e, entityId: t, name: n, onPicked: r }) {"aria-label": `更换${n}的头像`,onClick: () => a(!0),className: "flex size-7 cursor-pointer items-center justify-center rounded-full border border-border-button-default bg-background-primary-default text-foreground-icon-primary shadow-xs outline-none ring-2 ring-background-full transition-colors hover:border-border-button-hover hover:bg-background-primary-hover/60 dark:hover:bg-background-primary-hover focus-visible:ring-border-focus-ring active:bg-background-primary-active",- children: /* @__PURE__ */ (0, O.jsx)(Zde, {+ children: /* @__PURE__ */ (0, O.jsx)(Qde, {"aria-hidden": !0,className: "size-4"})})- }), /* @__PURE__ */ (0, O.jsx)(Lz, {+ }), /* @__PURE__ */ (0, O.jsx)(Iz, {isOpen: i,onOpenChange: a,width: "avatar-picker",label: "更换头像",- children: /* @__PURE__ */ (0, O.jsx)(CSe, {+ children: /* @__PURE__ */ (0, O.jsx)(wSe, {kind: e,entityId: t,name: n,@@ -61392,22 +61392,22 @@ function SSe({ kind: e, entityId: t, name: n, onPicked: r }) {})})] });}-function CSe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {- let a = (0, D.useRef)(null), o = cV(), [s, c] = (0, D.useState)(""), [l, u] = (0, D.useState)(""), [d, f] = (0, D.useState)(null), p = dQ(e, t), m = (0, D.useRef)(!1), h = Ct({+function wSe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {+ let a = (0, D.useRef)(null), o = sV(), [s, c] = (0, D.useState)(""), [l, u] = (0, D.useState)(""), [d, f] = (0, D.useState)(null), p = uQ(e, t), m = (0, D.useRef)(!1), h = Ct({queryKey: p,- queryFn: ({ signal: n }) => aSe(e, t, n),+ queryFn: ({ signal: n }) => oSe(e, t, n),retryOnMount: !0});(0, D.useEffect)(() => () => {- m.current && H.removeQueries({ queryKey: dQ(e, t) });+ m.current && H.removeQueries({ queryKey: uQ(e, t) });}, [e, t]);let g = wt({- mutationFn: (n) => dSe(e, t, n),+ mutationFn: (n) => fSe(e, t, n),onSuccess: () => {m.current = !0, i(), r();}}), _ = wt({- mutationFn: (n) => xSe(e, t, n),+ mutationFn: (n) => SSe(e, t, n),onMutate: () => {g.reset();},@@ -61428,39 +61428,39 @@ function CSe({ 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 ? jn(g.error) : "") || (!d && _.error ? jn(_.error) : "") || (h.error ? jn(h.error) : ""), w = g.isPending || _.isPending, T = d ? "" : mSe(x), E = !!C && !!h.error && C === jn(h.error), k = h.isPending || S.length > 0;+ let x = h.data, S = x?.choices ?? [], C = (g.error ? jn(g.error) : "") || (!d && _.error ? jn(_.error) : "") || (h.error ? jn(h.error) : ""), w = g.isPending || _.isPending, T = d ? "" : hSe(x), E = !!C && !!h.error && C === jn(h.error), k = h.isPending || S.length > 0;return /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsxs)("div", {className: "flex shrink-0 items-start gap-4 p-5",children: [- /* @__PURE__ */ (0, O.jsx)(Rz, { children: /* @__PURE__ */ (0, O.jsx)(Oz, { className: "size-6" }) }),+ /* @__PURE__ */ (0, O.jsx)(Lz, { children: /* @__PURE__ */ (0, O.jsx)(Dz, { className: "size-6" }) }),/* @__PURE__ */ (0, O.jsxs)("div", {className: "flex min-w-0 flex-1 flex-col gap-2",children: [/* @__PURE__ */ (0, O.jsxs)("div", {className: "flex flex-wrap items-center gap-2",- children: [/* @__PURE__ */ (0, O.jsx)(II, {+ children: [/* @__PURE__ */ (0, O.jsx)(FI, {slot: "title",className: "text-title-3-semibold text-text-primary",children: d ? "框出头像那一块" : "更换头像"- }), !d && S.length ? /* @__PURE__ */ (0, O.jsxs)(gZ, {+ }), !d && S.length ? /* @__PURE__ */ (0, O.jsxs)(hZ, {color: "soft",children: [S.length.toLocaleString(), " 张可选"]}) : null]}),/* @__PURE__ */ (0, O.jsx)("p", {className: "text-body-2-regular text-text-secondary",- children: d ? hSe(d.choice) : fSe(n, x)+ children: d ? gSe(d.choice) : pSe(n, x)}),- T ? /* @__PURE__ */ (0, O.jsx)(zz, {+ T ? /* @__PURE__ */ (0, O.jsx)(Rz, {tone: "neutral",children: T}) : null,- C ? /* @__PURE__ */ (0, O.jsx)(zz, {+ C ? /* @__PURE__ */ (0, O.jsx)(Rz, {tone: "error",action: E ? /* @__PURE__ */ (0, O.jsx)(q, {variant: "secondary",size: "small",- ...Wz(h.isFetching),+ ...Uz(h.isFetching),onClick: () => {h.isFetching || h.refetch();},@@ -61470,14 +61470,14 @@ function CSe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {}) : null]}),- /* @__PURE__ */ (0, O.jsx)(nI, {- icon: gz,+ /* @__PURE__ */ (0, O.jsx)(tI, {+ icon: hz,size: "small","aria-label": "关闭",onClick: i})]- }), d ? /* @__PURE__ */ (0, O.jsx)(TSe, {+ }), d ? /* @__PURE__ */ (0, O.jsx)(ESe, {kind: e,entityId: t,choice: d.choice,@@ -61497,7 +61497,7 @@ function CSe({ 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: ySe }, (e, t) => /* @__PURE__ */ (0, O.jsxs)("span", {+ children: h.isPending ? Array.from({ length: bSe }, (e, t) => /* @__PURE__ */ (0, O.jsxs)("span", {"aria-hidden": !0,"data-avatar-skeleton": !0,className: "flex flex-col gap-1 overflow-hidden rounded-2lg border border-separator-border bg-background-secondary-default pb-1 text-caption-1-regular",@@ -61510,8 +61510,8 @@ function CSe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {role: "option","data-avatar-choice": !0,"aria-selected": n.current,- title: vSe(n),- ...Wz(w),+ title: ySe(n),+ ...Uz(w),onClick: () => {w || (n.crop ? (g.reset(), _.reset(), f({ choice: n })) : _.mutate({via: "choice",@@ -61520,8 +61520,8 @@ function CSe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {},className: "relative flex cursor-pointer flex-col gap-1 overflow-hidden rounded-2lg border border-separator-border bg-background-secondary-default pb-1 text-center text-caption-1-regular text-text-secondary outline-none hover:border-border-button-hover hover:text-text-primary focus-visible:ring-2 focus-visible:ring-border-focus-ring aria-selected:border-border-focus-ring aria-selected:bg-background-tertiary-default aria-selected:text-text-primary aria-disabled:cursor-progress aria-disabled:opacity-60",children: [- /* @__PURE__ */ (0, O.jsx)(wSe, {- src: pQ(e, t, n.ref, mQ(n, n.ref)),+ /* @__PURE__ */ (0, O.jsx)(TSe, {+ src: fQ(e, t, n.ref, pQ(n, n.ref)),choice: n}),/* @__PURE__ */ (0, O.jsx)("span", {@@ -61530,15 +61530,15 @@ function CSe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {}),n.current ? /* @__PURE__ */ (0, O.jsx)("span", {className: "absolute top-1 left-1",- children: /* @__PURE__ */ (0, O.jsx)(gZ, {+ children: /* @__PURE__ */ (0, O.jsx)(hZ, {variant: "caption",color: "gray",children: "在用"})}) : null,- vQ(n) ? /* @__PURE__ */ (0, O.jsx)("span", {+ _Q(n) ? /* @__PURE__ */ (0, O.jsx)("span", {className: "absolute top-1 right-1",- children: /* @__PURE__ */ (0, O.jsxs)(gZ, {+ children: /* @__PURE__ */ (0, O.jsxs)(hZ, {variant: "caption",color: "gray",children: [n.cast.toLocaleString(), " 人"]@@ -61560,7 +61560,7 @@ function CSe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {},children: [/* @__PURE__ */ (0, O.jsx)("div", {className: "min-w-0 flex-1",- children: /* @__PURE__ */ (0, O.jsx)(Iz, {+ children: /* @__PURE__ */ (0, O.jsx)(Fz, {"aria-label": "番号",placeholder: "番号,如 ABW-232",value: l,@@ -61570,7 +61570,7 @@ function CSe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {type: "submit",variant: "secondary",disabled: !l.trim(),- ...Wz(v("code")),+ ...Uz(v("code")),children: "取封面来框"})]}), /* @__PURE__ */ (0, O.jsxs)("div", {@@ -61579,7 +61579,7 @@ function CSe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {/* @__PURE__ */ (0, O.jsx)(q, {variant: "secondary",onClick: () => a.current?.click(),- ...Wz(v("file")),+ ...Uz(v("file")),children: "从本机选图片"}),/* @__PURE__ */ (0, O.jsx)("input", {@@ -61599,7 +61599,7 @@ function CSe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {className: "flex min-w-0 flex-1 basis-56 items-center gap-2",children: [/* @__PURE__ */ (0, O.jsx)("div", {className: "min-w-0 flex-1",- children: /* @__PURE__ */ (0, O.jsx)(Iz, {+ children: /* @__PURE__ */ (0, O.jsx)(Fz, {type: "url","aria-label": "图片地址",placeholder: "https://…",@@ -61609,7 +61609,7 @@ function CSe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {}), /* @__PURE__ */ (0, O.jsx)(q, {variant: "secondary",disabled: !s.trim(),- ...Wz(v("url")),+ ...Uz(v("url")),onClick: () => {w || _.mutate({via: "url",@@ -61623,7 +61623,7 @@ function CSe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {})]})] })] });}-function wSe({ src: e, choice: t }) {+function TSe({ src: e, choice: t }) {let n = (0, D.useRef)(null), [r, i] = (0, D.useState)(!1), [a, o] = (0, D.useState)(!1);(0, D.useEffect)(() => {n.current?.complete && n.current.naturalWidth && i(!0);@@ -61631,7 +61631,7 @@ function wSe({ src: e, choice: t }) {let s = {width: t.width,height: t.height- }, c = uSe(t) ? $xe(gQ(t, s, bSe), s) : null, l = r || a ? !0 : void 0;+ }, c = dSe(t) ? eSe(hQ(t, s, xSe), s) : null, l = r || a ? !0 : void 0;return /* @__PURE__ */ (0, O.jsxs)("span", {"data-choice-lost": a || void 0,className: "relative block w-full aspect-avatar-choice overflow-hidden",@@ -61657,23 +61657,23 @@ function wSe({ src: e, choice: t }) {})]});}-function TSe({ kind: e, entityId: t, choice: n, busy: r, back: i, confirm: a }) {- let o = n.bases.length ? n.bases : [n.ref], [s, c] = (0, D.useState)(o[0]), [l, u] = (0, D.useState)(null), [d, f] = (0, D.useState)(null), p = mQ(n, s), m = pQ(e, t, s, p), h = cV();+function ESe({ kind: e, entityId: t, choice: n, busy: r, back: i, confirm: a }) {+ let o = n.bases.length ? n.bases : [n.ref], [s, c] = (0, D.useState)(o[0]), [l, u] = (0, D.useState)(null), [d, f] = (0, D.useState)(null), p = pQ(n, s), m = fQ(e, t, s, p), h = sV();function g(e) {c(e), u(null), f(null);}- let _ = d && l ? Qxe(d, l) : null;+ let _ = d && l ? $xe(d, l) : null;return /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsxs)("div", {ref: h,className: "flex min-h-0 flex-1 flex-col items-center gap-4 overflow-y-auto border-t border-separator-border px-5 py-4",- children: [m ? /* @__PURE__ */ (0, O.jsx)(cQ, {+ children: [m ? /* @__PURE__ */ (0, O.jsx)(sQ, {src: m,aspect: 1,box: d,size: l,label: `${n.label} 的头像取景框`,onSize: (e) => {- u(e), tQ(e) && f(s === n.ref ? gQ(n, e, 1) : nQ(e, 1));+ u(e), eQ(e) && f(s === n.ref ? hQ(n, e, 1) : tQ(e, 1));},onBox: f}) : null, o.length > 1 ? /* @__PURE__ */ (0, O.jsx)("div", {@@ -61687,7 +61687,7 @@ function TSe({ 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: _Se(e)+ children: vSe(e)}, e))}) : null]}), /* @__PURE__ */ (0, O.jsxs)("div", {@@ -61707,12 +61707,12 @@ function TSe({ kind: e, entityId: t, choice: n, busy: r, back: i, confirm: a })/* @__PURE__ */ (0, O.jsx)(q, {variant: "secondary",onClick: i,- ...Wz(r),+ ...Uz(r),children: "返回备选图片"}),n.crop ? null : /* @__PURE__ */ (0, O.jsx)(q, {variant: "secondary",- ...Wz(r),+ ...Uz(r),onClick: () => {r || a(null);},@@ -61720,7 +61720,7 @@ function TSe({ kind: e, entityId: t, choice: n, busy: r, back: i, confirm: a })}),/* @__PURE__ */ (0, O.jsx)(q, {disabled: !d || !l,- ...Wz(r),+ ...Uz(r),onClick: () => {d && !r && a({ref: s,@@ -61736,8 +61736,8 @@ function TSe({ kind: e, entityId: t, choice: n, busy: r, back: i, confirm: a })}//#endregion//#region src/react/components/source-picture.tsx-var yQ = (e, t, n = 0) => `/jav-image?code=${encodeURIComponent(e)}&image=${encodeURIComponent(t)}${n ? `&attempt=${n}` : ""}`;-function bQ({ item: e, image: t, thumbnail: n = !1 }) {+var vQ = (e, t, n = 0) => `/jav-image?code=${encodeURIComponent(e)}&image=${encodeURIComponent(t)}${n ? `&attempt=${n}` : ""}`;+function yQ({ item: e, image: t, thumbnail: n = !1 }) {let [r, i] = (0, D.useState)(0), [a, o] = (0, D.useState)(""), [s, c] = (0, D.useState)(""), l = t === "cover" && e.has_cover, u = !l && (t !== "cover" || e.source_image), d = n ? "" : t === "cover" ? `${e.code} 封面` : `${e.code} 预览 ${Number(t) + 1}`;if (!u) {let r = l ? ja(e, !0) : t === "cover" && !e.source_image ? e.cover_url : "";@@ -61748,16 +61748,16 @@ function bQ({ item: e, image: t, thumbnail: n = !1 }) {referrerPolicy: "no-referrer"}) : n ? /* @__PURE__ */ (0, O.jsx)("span", { children: "预览未取得" }) : /* @__PURE__ */ (0, O.jsx)("div", {"data-jav-picture-wait": "",- children: /* @__PURE__ */ (0, O.jsx)(zz, {+ children: /* @__PURE__ */ (0, O.jsx)(Rz, {tone: "neutral",children: "封面未取得"})});}- let f = yQ(e.code, t, r);+ let f = vQ(e.code, t, r);if (s === f) return n ? /* @__PURE__ */ (0, O.jsx)("span", { children: "预览未取得" }) : /* @__PURE__ */ (0, O.jsx)("div", {"data-jav-picture-wait": "",- children: /* @__PURE__ */ (0, O.jsx)(zz, {+ children: /* @__PURE__ */ (0, O.jsx)(Rz, {tone: "neutral",action: /* @__PURE__ */ (0, O.jsx)(q, {variant: "secondary",@@ -61790,7 +61790,7 @@ function bQ({ item: e, image: t, thumbnail: n = !1 }) {}//#endregion//#region src/react/components/source-avatar.tsx-function xQ({ code: e, person: t, detail: n = !1 }) {+function bQ({ code: e, person: t, detail: n = !1 }) {let r = (0, D.useRef)(null), [i, a] = (0, D.useState)(n || typeof IntersectionObserver > "u");(0, D.useEffect)(() => {if (!r.current || i) return;@@ -61804,7 +61804,7 @@ function xQ({ code: e, person: t, detail: n = !1 }) {"data-source-initial": "",children: Sn(t.name)}), i && t.source_actor_id ? /* @__PURE__ */ (0, O.jsx)("img", {- src: yQ(e, `actor:${t.source_actor_id}`),+ src: vQ(e, `actor:${t.source_actor_id}`),alt: "","data-drop": "self"}) : null] });@@ -61815,8 +61815,8 @@ function xQ({ code: e, person: t, detail: n = !1 }) {}//#endregion//#region src/react/feed-new/feed-new-row.tsx-function SQ({ feedNew: e, host: t, wire: n, act: r, settled: i }) {- let a = (0, D.useContext)(pU), o = (0, D.useRef)(null), [s, c] = (0, D.useState)([]), l = e?.items.length ? e.html : "";+function xQ({ feedNew: e, host: t, wire: n, act: r, settled: i }) {+ let a = (0, D.useContext)(fU), o = (0, D.useRef)(null), [s, c] = (0, D.useState)([]), l = e?.items.length ? e.html : "";(0, D.useLayoutEffect)(() => {t.removeAttribute("aria-busy"), t.hidden = !l, e && i?.(!!l);}, [@@ -61848,7 +61848,7 @@ function SQ({ feedNew: e, host: t, wire: n, act: r, settled: i }) {u(e);},dangerouslySetInnerHTML: { __html: l }- }), s.map((e, t) => (0, Et.createPortal)(/* @__PURE__ */ (0, O.jsx)(xQ, {+ }), s.map((e, t) => (0, Et.createPortal)(/* @__PURE__ */ (0, O.jsx)(bQ, {code: e.dataset.code,person: {name: e.dataset.name,@@ -61858,7 +61858,7 @@ function SQ({ feedNew: e, host: t, wire: n, act: r, settled: i }) {}//#endregion//#region src/react/entity-hero/glyph.tsx-function CQ({ name: e }) {+function SQ({ name: e }) {let { wide: t, viewBox: n } = Kt(e);return /* @__PURE__ */ (0, O.jsx)("svg", {viewBox: n,@@ -61869,20 +61869,20 @@ function CQ({ name: e }) {}//#endregion//#region src/react/entity-hero/hero-pop.tsx-function wQ(e, t) {+function CQ(e, t) {t.style.removeProperty("max-height");let n = e.getBoundingClientRect(), r = t.getBoundingClientRect();t.style.left = `${Math.max(8, Math.min(innerWidth - r.width - 8, n.left))}px`;let i = n.bottom + 8, a = innerHeight - 8 - i, o = n.top - 16, s = r.height <= a || r.height > o && a >= o, c = Math.max(0, s ? a : o);r.height > c && (t.style.maxHeight = `${c}px`), t.style.top = `${s ? i : n.top - 8 - Math.min(r.height, c)}px`;}-var TQ = (e) => !!e?.isConnected && e.matches(":popover-open");-function EQ(e, t, n, r) {+var wQ = (e) => !!e?.isConnected && e.matches(":popover-open");+function TQ(e, t, n, r) {let i = (0, D.useRef)(r);i.current = r, (0, D.useEffect)(() => {if (!e) return;let r = () => {- t.current && TQ(n.current) ? wQ(t.current, n.current) : i.current();+ t.current && wQ(n.current) ? CQ(t.current, n.current) : i.current();};return addEventListener("scroll", r, {capture: !0,@@ -61896,17 +61896,17 @@ function EQ(e, t, n, r) {n]);}-function DQ({ id: e, rest: t, label: n, heading: r, hook: i, children: a }) {+function EQ({ id: e, rest: t, label: n, heading: r, hook: i, children: a }) {let o = (0, D.useRef)(null), s = (0, D.useRef)(null), [c, l] = (0, D.useState)(!1), u = (0, D.useRef)(!1), d = (0, D.useRef)(0), f = () => {- clearTimeout(d.current), u.current = !1, TQ(s.current) && s.current.hidePopover(), l(!1);+ clearTimeout(d.current), u.current = !1, wQ(s.current) && s.current.hidePopover(), l(!1);}, p = () => {- clearTimeout(d.current), s.current && o.current && !TQ(s.current) && (s.current.showPopover(), wQ(o.current, s.current), l(!0));+ clearTimeout(d.current), s.current && o.current && !wQ(s.current) && (s.current.showPopover(), CQ(o.current, s.current), l(!0));}, m = () => {clearTimeout(d.current), d.current = window.setTimeout(() => {!u.current && !o.current?.matches(":hover,:focus-visible") && !s.current?.matches(":hover") && f();}, 150);};- return EQ(c, o, s, f), (0, D.useEffect)(() => {+ return TQ(c, o, s, f), (0, D.useEffect)(() => {if (!c) return;let e = (e) => {let t = e.target;@@ -61932,7 +61932,7 @@ function DQ({ id: e, rest: t, label: n, heading: r, hook: i, children: a }) {u.current ? f() : (p(), u.current = !0);},onKeyDown: (e) => {- e.key === "Escape" && TQ(s.current) && (e.preventDefault(), f());+ e.key === "Escape" && wQ(s.current) && (e.preventDefault(), f());},children: ["+", t]}), /* @__PURE__ */ (0, O.jsxs)("div", {@@ -61950,16 +61950,16 @@ function DQ({ id: e, rest: t, label: n, heading: r, hook: i, children: a }) {}), a]})] });}-function ESe({ following: e, busy: t, onToggle: n, tip: r }) {+function DSe({ following: e, busy: t, onToggle: n, tip: r }) {let i = (0, D.useRef)(null), a = (0, D.useRef)(null), o = (0, D.useRef)(null), [s, c] = (0, D.useState)(!1), l = (0, D.useRef)(!1), u = () => {- TQ(o.current) && o.current.hidePopover(), c(!1);+ wQ(o.current) && o.current.hidePopover(), c(!1);}, d = () => {- !l.current && o.current && i.current && !TQ(o.current) && (o.current.showPopover(), wQ(i.current, o.current), c(!0));+ !l.current && o.current && i.current && !wQ(o.current) && (o.current.showPopover(), CQ(i.current, o.current), c(!0));}, f = () => {l.current = !1, u();};- return EQ(s, i, o, () => c(!1)), (0, D.useEffect)(() => {- i.current && TQ(o.current) && wQ(i.current, o.current);+ return TQ(s, i, o, () => c(!1)), (0, D.useEffect)(() => {+ i.current && wQ(o.current) && CQ(i.current, o.current);}, [r]), /* @__PURE__ */ (0, O.jsxs)("label", {ref: i,"data-entry-feed": "",@@ -61968,7 +61968,7 @@ function ESe({ following: e, busy: t, onToggle: n, tip: r }) {a.current?.matches(":focus-visible") || f();},children: [- /* @__PURE__ */ (0, O.jsx)(CQ, { name: "rss" }),+ /* @__PURE__ */ (0, O.jsx)(SQ, { name: "rss" }),/* @__PURE__ */ (0, O.jsx)("input", {ref: a,type: "checkbox",@@ -62003,29 +62003,29 @@ function ESe({ following: e, busy: t, onToggle: n, tip: r }) {}//#endregion//#region src/react/entity-hero/name-picker.tsx-function DSe({ current: e, choices: t, onChoose: n, onAddAlias: r }) {+function OSe({ current: e, choices: t, onChoose: n, onAddAlias: r }) {let [i, a] = (0, D.useState)(!1), o = (0, D.useRef)(null);return (0, D.useEffect)(() => {o.current?.setAttribute("title", "名字与别名");- }, []), /* @__PURE__ */ (0, O.jsxs)(bue, {+ }, []), /* @__PURE__ */ (0, O.jsxs)(xue, {isOpen: i,onOpenChange: a,- children: [/* @__PURE__ */ (0, O.jsx)(PI, {+ children: [/* @__PURE__ */ (0, O.jsx)(NI, {ref: o,"data-namepick-toggle": "","aria-label": "名字与别名",- children: /* @__PURE__ */ (0, O.jsx)(CQ, { name: "chevron-down" })- }), /* @__PURE__ */ (0, O.jsx)(sR, {+ children: /* @__PURE__ */ (0, O.jsx)(SQ, { name: "chevron-down" })+ }), /* @__PURE__ */ (0, O.jsx)(oR, {placement: "bottom start",offset: 8,containerPadding: 8,- className: eV,+ className: $B,"data-namepick-menu": "",- children: /* @__PURE__ */ (0, O.jsxs)(Sue, {+ children: /* @__PURE__ */ (0, O.jsxs)(Cue, {"aria-label": "名字与别名","data-namepick-list": "",children: [- /* @__PURE__ */ (0, O.jsx)(hR, {+ /* @__PURE__ */ (0, O.jsx)(mR, {selectionMode: "single",disallowEmptySelection: !0,selectedKeys: [e],@@ -62033,31 +62033,31 @@ function DSe({ current: e, choices: t, onChoose: n, onAddAlias: r }) {let r = [...t][0];r && r !== e && n(r);},- children: t.map((e) => /* @__PURE__ */ (0, O.jsxs)(_R, {+ children: t.map((e) => /* @__PURE__ */ (0, O.jsxs)(gR, {id: e,textValue: e,"data-namepick-name": e,- children: [/* @__PURE__ */ (0, O.jsx)(CQ, { name: "check" }), /* @__PURE__ */ (0, O.jsx)("span", { children: e })]+ children: [/* @__PURE__ */ (0, O.jsx)(SQ, { name: "check" }), /* @__PURE__ */ (0, O.jsx)("span", { children: e })]}, e))}),- /* @__PURE__ */ (0, O.jsx)(rue, { "data-namepick-rule": "" }),- /* @__PURE__ */ (0, O.jsx)(hR, { children: /* @__PURE__ */ (0, O.jsxs)(_R, {+ /* @__PURE__ */ (0, O.jsx)(iue, { "data-namepick-rule": "" }),+ /* @__PURE__ */ (0, O.jsx)(mR, { children: /* @__PURE__ */ (0, O.jsxs)(gR, {id: "alias",textValue: "添加别名","data-namepick-alias": "",onAction: r,- children: [/* @__PURE__ */ (0, O.jsx)(CQ, { name: "plus" }), /* @__PURE__ */ (0, O.jsx)("span", { children: "添加别名…" })]+ children: [/* @__PURE__ */ (0, O.jsx)(SQ, { name: "plus" }), /* @__PURE__ */ (0, O.jsx)("span", { children: "添加别名…" })]}) })]})})]});}-var OSe = (e) => e === "studio" || e === "agency", OQ = (e) => e === "performer" || e === "creator", kSe = (e) => e ? "已订阅新作,点击取消订阅" : "订阅新作";-function ASe(e) {+var kSe = (e) => e === "studio" || e === "agency", DQ = (e) => e === "performer" || e === "creator", ASe = (e) => e ? "已订阅新作,点击取消订阅" : "订阅新作";+function jSe(e) {return [e.canonical_name, ...e.aliases || []].filter((e, t, n) => e && n.indexOf(e) === t);}-function kQ(e) {+function OQ(e) {if (e.agency) return {name: e.agency.canonical_name,linked: !0,@@ -62069,13 +62069,13 @@ function kQ(e) {linked: !1} : null;}-function AQ(e, t) {+function kQ(e, t) {let n = mn(e, "performer"), r = dn(t);return r && [e.label, n].map(dn).some((e) => e && (r.includes(e) || e.includes(r))) ? `${t} 官方资料` : n || e.label || "";}-var jQ = (e) => ({ site: sn(e) });-function jSe(e, t) {- let n = kQ(e)?.name || "", r = (e.entry_links || []).filter((e) => e.slot === "pill").map((e) => ({+var AQ = (e) => ({ site: sn(e) });+function MSe(e, t) {+ let n = OQ(e)?.name || "", r = (e.entry_links || []).filter((e) => e.slot === "pill").map((e) => ({type: "icon",url: e.url,title: e.label,@@ -62085,7 +62085,7 @@ function jSe(e, t) {let t = e.retired_year ? `已于 ${e.retired_year} 年隐退` : "链接已失效";return {type: "gone",- title: `${AQ(e, n)} · ${t}`+ title: `${kQ(e, n)} · ${t}`};}let r = e.url || "";@@ -62093,11 +62093,11 @@ function jSe(e, t) {type: "private",label: e.label || e.hostname || "已记录"};- if (OQ(t) && e.link_kind !== "social") return {+ if (DQ(t) && e.link_kind !== "social") return {type: "icon",url: r,- title: AQ(e, n),- mark: jQ(e)+ title: kQ(e, n),+ mark: AQ(e)};if (e.link_kind === "social") {let t = un(r);@@ -62105,7 +62105,7 @@ function jSe(e, t) {type: "icon",url: r,title: e.label || "",- mark: t ? { brand: t } : jQ(e)+ mark: t ? { brand: t } : AQ(e)};}return {@@ -62113,12 +62113,12 @@ function jSe(e, t) {url: r,title: e.label || "",text: mn(e, t, i),- mark: jQ(e)+ mark: AQ(e)};});- return [...r, ...MSe(a)];+ return [...r, ...NSe(a)];}-function MSe(e) {+function NSe(e) {let t = e.filter((e) => e.type === "private");return t.length < 2 ? e : [...e.filter((e) => e.type !== "private"), {type: "private",@@ -62126,8 +62126,8 @@ function MSe(e) {sources: t.map((e) => e.label)}];}-var MQ = (e) => (e.entry_links || []).filter((e) => e.slot === "mark");-function NSe(e) {+var jQ = (e) => (e.entry_links || []).filter((e) => e.slot === "mark");+function PSe(e) {return [["legal_name",@@ -62183,7 +62183,7 @@ function NSe(e) {}]}] : []);}-function PSe(e) {+function FSe(e) {if (!e) return [];let t = [];e.birth_date && t.push({@@ -62240,14 +62240,14 @@ function PSe(e) {tags: e.tags}), t;}-function NQ(e, t = 4) {+function MQ(e, t = 4) {let n = e.length > t + 1 ? t : e.length;return {shown: e.slice(0, n),rest: e.length - n};}-function FSe(e) {+function ISe(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 ? {@@ -62258,7 +62258,7 @@ function FSe(e) {}//#endregion//#region src/react/entity-hero/entity-hero-page.tsx-function ISe(e) {+function LSe(e) {return La({id: e.id,hasImage: e.has_image,@@ -62269,8 +62269,8 @@ function ISe(e) {standIn: e.avatar_stand_in});}-function LSe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a, helpers: o }) {- let s = OQ(e), c = OSe(e), l = s ? PSe(n.profile) : c ? NSe(n.company_profile) : [], u = jSe(n, e), d = MQ(n), f = e === "agency" ? [] : n.related_performers || [], p = (0, D.useRef)(null), m = (0, D.useRef)(null);+function RSe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a, helpers: o }) {+ let s = DQ(e), c = kSe(e), l = s ? FSe(n.profile) : c ? PSe(n.company_profile) : [], u = MSe(n, e), d = jQ(n), f = e === "agency" ? [] : n.related_performers || [], p = (0, D.useRef)(null), m = (0, D.useRef)(null);return (0, D.useEffect)(() => {o.wireScroller(p.current);}, [o, u.length]), (0, D.useEffect)(() => {@@ -62283,7 +62283,7 @@ function LSe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a,children: [/* @__PURE__ */ (0, O.jsxs)("div", {"data-entity-portrait-wrap": "",- children: [/* @__PURE__ */ (0, O.jsx)(RSe, {+ children: [/* @__PURE__ */ (0, O.jsx)(zSe, {kind: e,name: t,helpers: o,@@ -62291,7 +62291,7 @@ function LSe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a,company: c}), s && n.id ? /* @__PURE__ */ (0, O.jsx)("span", {"data-avatar-picker": "",- children: /* @__PURE__ */ (0, O.jsx)(SSe, {+ children: /* @__PURE__ */ (0, O.jsx)(CSe, {kind: e,entityId: Number(n.id),name: n.canonical_name || t,@@ -62306,13 +62306,13 @@ function LSe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a,"data-entity-title": "",children: [/* @__PURE__ */ (0, O.jsx)("h2", { children: n.canonical_name }),- e === "tag" ? null : /* @__PURE__ */ (0, O.jsx)(DSe, {+ e === "tag" ? null : /* @__PURE__ */ (0, O.jsx)(OSe, {current: n.canonical_name,- choices: ASe(n),+ choices: jSe(n),onChoose: a.chooseName,onAddAlias: a.addAlias}),- n.id ? /* @__PURE__ */ (0, O.jsx)(nB, { item: {+ n.id ? /* @__PURE__ */ (0, O.jsx)(tB, { item: {entity_id: Number(n.id),kind: e,name: n.canonical_name || t,@@ -62320,7 +62320,7 @@ function LSe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a,} }) : null]}),- /* @__PURE__ */ (0, O.jsx)(zSe, {+ /* @__PURE__ */ (0, O.jsx)(BSe, {kind: e,entity: n,actions: a@@ -62341,14 +62341,14 @@ function LSe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a,u.length ? /* @__PURE__ */ (0, O.jsx)("div", {ref: p,"data-entity-links": "",- children: u.map((e, t) => /* @__PURE__ */ (0, O.jsx)(GSe, { link: e }, t))+ children: u.map((e, t) => /* @__PURE__ */ (0, O.jsx)(KSe, { link: e }, t))}) : null,- d.length || n.feed ? /* @__PURE__ */ (0, O.jsx)(KSe, {+ d.length || n.feed ? /* @__PURE__ */ (0, O.jsx)(qSe, {entity: n,actions: a,helpers: o}) : null,- n.follow?.held.length ? /* @__PURE__ */ (0, O.jsx)(HSe, {+ n.follow?.held.length ? /* @__PURE__ */ (0, O.jsx)(USe, {follow: n.follow,entity: n,actions: a@@ -62357,11 +62357,11 @@ function LSe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a,}),l.length ? /* @__PURE__ */ (0, O.jsx)("dl", {"data-entity-facts": "",- children: l.map((e) => /* @__PURE__ */ (0, O.jsx)(USe, {+ children: l.map((e) => /* @__PURE__ */ (0, O.jsx)(WSe, {glyph: e.glyph,label: e.label,clip: e.clip,- children: e.tags ? /* @__PURE__ */ (0, O.jsx)(WSe, { tags: e.tags }) : e.parts.map((e, t) => /* @__PURE__ */ (0, O.jsxs)("span", {+ children: e.tags ? /* @__PURE__ */ (0, O.jsx)(GSe, { tags: e.tags }) : e.parts.map((e, t) => /* @__PURE__ */ (0, O.jsxs)("span", {"data-fact-tone": e.tone === "plain" ? void 0 : e.tone,children: [t ? " " : "", e.text]}, t))@@ -62380,7 +62380,7 @@ function LSe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a,onClick: () => a.openEntity("performer", e.k),children: [/* @__PURE__ */ (0, O.jsx)("span", {"data-hero-ring": "",- dangerouslySetInnerHTML: { __html: `<span>${z(Sn(e.k))}</span>${ISe(e)}` }+ dangerouslySetInnerHTML: { __html: `<span>${z(Sn(e.k))}</span>${LSe(e)}` }}), /* @__PURE__ */ (0, O.jsx)("span", {"data-hero-costar-name": "",children: e.k@@ -62388,14 +62388,14 @@ function LSe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a,}, e.k))})}) : null]- }), i ? (0, Et.createPortal)(/* @__PURE__ */ (0, O.jsx)(SQ, {+ }), i ? (0, Et.createPortal)(/* @__PURE__ */ (0, O.jsx)(xQ, {feedNew: r,host: i,wire: o.wireFeedRow,act: (e, t) => a.feedAction(e, t)}), i) : null] });}-function RSe({ kind: e, name: t, helpers: n, people: r, company: i }) {+function zSe({ kind: e, name: t, helpers: n, people: r, company: i }) {let [a] = (0, D.useState)(() => `${n.portraitImg()}<span>${z(Sn(t))}</span>`);return /* @__PURE__ */ (0, O.jsx)("div", {"data-entity-portrait": r ? "round" : "square",@@ -62404,8 +62404,8 @@ function RSe({ kind: e, name: t, helpers: n, people: r, company: i }) {dangerouslySetInnerHTML: { __html: a }});}-function zSe({ kind: e, entity: t, actions: n }) {- let r = kQ(t), i = (e, t) => (r) => {+function BSe({ kind: e, entity: t, actions: n }) {+ let r = OQ(t), i = (e, t) => (r) => {r.preventDefault(), n.openEntity(e, t);}, a = r ? r.linked ? /* @__PURE__ */ (0, O.jsx)("a", {href: tn("agency", r.name, r.id),@@ -62414,44 +62414,44 @@ function zSe({ kind: e, entity: t, actions: n }) {children: r.name}) : r.name : null, o = /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)("b", { children: t.asset_count.toLocaleString() }), " 个视频"] });if (e === "performer" || e === "creator") {- let e = FSe(t.name_groups);+ let e = ISe(t.name_groups);return /* @__PURE__ */ (0, O.jsxs)("div", {"data-entity-alias": "meta",children: [- /* @__PURE__ */ (0, O.jsx)(PQ, { entity: t }),+ /* @__PURE__ */ (0, O.jsx)(NQ, { entity: t }),/* @__PURE__ */ (0, O.jsxs)("span", {"data-meta-item": "",title: "视频",- children: [/* @__PURE__ */ (0, O.jsx)(CQ, { name: "film" }), /* @__PURE__ */ (0, O.jsx)("span", { children: o })]+ children: [/* @__PURE__ */ (0, O.jsx)(SQ, { name: "film" }), /* @__PURE__ */ (0, O.jsx)("span", { children: o })]}),- t.follow?.key ? /* @__PURE__ */ (0, O.jsx)(VSe, {+ t.follow?.key ? /* @__PURE__ */ (0, O.jsx)(HSe, {follow: t.follow,actions: n}) : null,a ? /* @__PURE__ */ (0, O.jsxs)("span", {"data-meta-item": "",title: "事务所",- children: [/* @__PURE__ */ (0, O.jsx)(CQ, { name: "briefcase" }), /* @__PURE__ */ (0, O.jsx)("span", { children: a })]+ children: [/* @__PURE__ */ (0, O.jsx)(SQ, { name: "briefcase" }), /* @__PURE__ */ (0, O.jsx)("span", { children: a })]}) : null,e ? /* @__PURE__ */ (0, O.jsxs)("div", {"data-meta-item": "names",children: [- /* @__PURE__ */ (0, O.jsx)(CQ, { name: "id-card" }),+ /* @__PURE__ */ (0, O.jsx)(SQ, { name: "id-card" }),/* @__PURE__ */ (0, O.jsx)("span", {"data-alias-names": "",title: "别名",children: e.names.map((e, t) => /* @__PURE__ */ (0, O.jsx)("span", {- lang: LF(e),+ lang: IF(e),children: e}, t))}),- e.rest > 0 ? /* @__PURE__ */ (0, O.jsx)(DQ, {+ e.rest > 0 ? /* @__PURE__ */ (0, O.jsx)(EQ, {id: "entityAliasPop",hook: "alias",rest: e.rest,label: `另外 ${e.rest.toLocaleString()} 个别名`,heading: `${e.total.toLocaleString()} 个别名`,- children: /* @__PURE__ */ (0, O.jsx)("dl", { children: (t.name_groups?.groups || []).map((e, t) => /* @__PURE__ */ (0, O.jsx)(FQ, {+ children: /* @__PURE__ */ (0, O.jsx)("dl", { children: (t.name_groups?.groups || []).map((e, t) => /* @__PURE__ */ (0, O.jsx)(PQ, {label: e.label,names: e.names}, t)) })@@ -62473,61 +62473,61 @@ function zSe({ kind: e, entity: t, actions: n }) {return /* @__PURE__ */ (0, O.jsxs)("div", {"data-entity-alias": "meta",children: [- e === "creator" ? /* @__PURE__ */ (0, O.jsx)(PQ, { entity: t }) : null,+ e === "creator" ? /* @__PURE__ */ (0, O.jsx)(NQ, { entity: t }) : null,/* @__PURE__ */ (0, O.jsxs)("span", {"data-meta-item": "",title: "视频",- children: [/* @__PURE__ */ (0, O.jsx)(CQ, { name: "film" }), /* @__PURE__ */ (0, O.jsxs)("span", { children: [o, c] })]+ children: [/* @__PURE__ */ (0, O.jsx)(SQ, { name: "film" }), /* @__PURE__ */ (0, O.jsxs)("span", { children: [o, c] })]}),a ? /* @__PURE__ */ (0, O.jsxs)("span", {"data-meta-item": "",title: "事务所",- children: [/* @__PURE__ */ (0, O.jsx)(CQ, { name: "briefcase" }), /* @__PURE__ */ (0, O.jsx)("span", { children: a })]+ children: [/* @__PURE__ */ (0, O.jsx)(SQ, { name: "briefcase" }), /* @__PURE__ */ (0, O.jsx)("span", { children: a })]}) : null,l ? /* @__PURE__ */ (0, O.jsxs)("span", {"data-meta-item": "",title: "片商",- children: [/* @__PURE__ */ (0, O.jsx)(CQ, { name: "clapperboard" }), /* @__PURE__ */ (0, O.jsx)("a", {+ children: [/* @__PURE__ */ (0, O.jsx)(SQ, { name: "clapperboard" }), /* @__PURE__ */ (0, O.jsx)("a", {href: tn("studio", l.name, l.id),"data-studio-link": l.name,onClick: i("studio", l.name),children: l.name})]}) : null,- s.length ? /* @__PURE__ */ (0, O.jsx)(BSe, { aliases: s }) : null+ s.length ? /* @__PURE__ */ (0, O.jsx)(VSe, { aliases: s }) : null]});}-function BSe({ aliases: e }) {- let { shown: t, rest: n } = NQ(e, 3);+function VSe({ aliases: e }) {+ let { shown: t, rest: n } = MQ(e, 3);return /* @__PURE__ */ (0, O.jsxs)("div", {"data-meta-item": "names","data-company-names": "",children: [- /* @__PURE__ */ (0, O.jsx)(CQ, { name: "id-card" }),+ /* @__PURE__ */ (0, O.jsx)(SQ, { name: "id-card" }),/* @__PURE__ */ (0, O.jsx)("span", {"data-alias-names": "",title: "别名",children: t.map((e, t) => /* @__PURE__ */ (0, O.jsx)("span", { children: e }, t))}),- n ? /* @__PURE__ */ (0, O.jsx)(DQ, {+ n ? /* @__PURE__ */ (0, O.jsx)(EQ, {id: "entityAliasPop",hook: "alias",rest: n,label: `另外 ${n.toLocaleString()} 个别名`,heading: `${e.length.toLocaleString()} 个别名`,- children: /* @__PURE__ */ (0, O.jsx)("dl", { children: /* @__PURE__ */ (0, O.jsx)(FQ, { names: e.map((e) => ({ name: e })) }) })+ children: /* @__PURE__ */ (0, O.jsx)("dl", { children: /* @__PURE__ */ (0, O.jsx)(PQ, { names: e.map((e) => ({ name: e })) }) })}) : null]});}-function VSe({ follow: e, actions: t }) {+function HSe({ follow: e, actions: t }) {let n = e.providers.join(" · ");return /* @__PURE__ */ (0, O.jsxs)("span", {"data-meta-item": "","data-entity-follow": "",title: n ? `关注 · ${n}` : "关注",- children: [/* @__PURE__ */ (0, O.jsx)(CQ, { name: "rss" }), /* @__PURE__ */ (0, O.jsxs)("a", {+ children: [/* @__PURE__ */ (0, O.jsx)(SQ, { name: "rss" }), /* @__PURE__ */ (0, O.jsxs)("a", {href: "?media=online",onClick: (n) => {n.preventDefault(), t.openFollowAuthor(e.key);@@ -62536,7 +62536,7 @@ function VSe({ follow: e, actions: t }) {})]});}-function HSe({ follow: e, entity: t, actions: n }) {+function USe({ follow: e, entity: t, actions: n }) {let [r, i] = (0, D.useState)(""), a = async (e, t) => {if (!r) {i(e);@@ -62550,12 +62550,12 @@ function HSe({ follow: e, entity: t, actions: n }) {return /* @__PURE__ */ (0, O.jsx)("div", {"data-entity-held": "",className: "flex flex-col gap-2",- children: e.held.map((e) => /* @__PURE__ */ (0, O.jsxs)(zz, {+ children: e.held.map((e) => /* @__PURE__ */ (0, O.jsxs)(Rz, {tone: "info",title: `关注里有同名作者 ${e.name}`,action: /* @__PURE__ */ (0, O.jsx)(q, {size: "small",- ...Wz(r === e.key),+ ...Uz(r === e.key),onClick: () => {a(e.key, e.name);},@@ -62570,37 +62570,37 @@ function HSe({ follow: e, entity: t, actions: n }) {}, e.key))});}-function PQ({ entity: e }) {+function NQ({ entity: e }) {return e.identity_labels?.length ? /* @__PURE__ */ (0, O.jsxs)("span", {"data-meta-item": "classification","data-identity-classification": "",- children: [/* @__PURE__ */ (0, O.jsx)(CQ, { name: "user-round" }), /* @__PURE__ */ (0, O.jsx)("span", { children: e.identity_labels.join(" · ") })]+ children: [/* @__PURE__ */ (0, O.jsx)(SQ, { name: "user-round" }), /* @__PURE__ */ (0, O.jsx)("span", { children: e.identity_labels.join(" · ") })]}) : null;}-function FQ({ label: e, names: t }) {+function PQ({ label: e, names: t }) {return /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [e ? /* @__PURE__ */ (0, O.jsx)("dt", { children: e }) : null, /* @__PURE__ */ (0, O.jsx)("dd", {"data-wide": e ? void 0 : "",children: t.map((e, t) => /* @__PURE__ */ (0, O.jsxs)("span", {"data-pop-name": "",- lang: LF(e.name),+ lang: IF(e.name),children: [e.name, e.reading ? /* @__PURE__ */ (0, O.jsx)("small", { children: e.reading }) : null]}, t))})] });}-function USe({ glyph: e, label: t, clip: n, children: r }) {- return /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsxs)("dt", { children: [/* @__PURE__ */ (0, O.jsx)(CQ, { name: e }), t] }), /* @__PURE__ */ (0, O.jsx)("dd", {+function WSe({ glyph: e, label: t, clip: n, children: r }) {+ return /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsxs)("dt", { children: [/* @__PURE__ */ (0, O.jsx)(SQ, { name: e }), t] }), /* @__PURE__ */ (0, O.jsx)("dd", {"data-fact": e === "tags" ? "tags" : n ? "clip" : e === "calendar-range" ? "num" : void 0,title: n,children: r})] });}-function WSe({ tags: e }) {- let { shown: t, rest: n } = NQ(e);+function GSe({ tags: e }) {+ let { shown: t, rest: n } = MQ(e);return /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [t.map((e) => /* @__PURE__ */ (0, O.jsx)("span", {"data-fact-tag": "",title: e,children: e- }, e)), n ? /* @__PURE__ */ (0, O.jsx)(DQ, {+ }, e)), n ? /* @__PURE__ */ (0, O.jsx)(EQ, {id: "entityTagPop",hook: "fact",rest: n,@@ -62616,10 +62616,10 @@ function WSe({ tags: e }) {})}) : null] });}-function IQ({ mark: e }) {+function FQ({ mark: e }) {if ("brand" in e) return /* @__PURE__ */ (0, O.jsx)("span", {"data-link-icon": "brand",- children: /* @__PURE__ */ (0, O.jsx)(CQ, { name: e.brand })+ children: /* @__PURE__ */ (0, O.jsx)(SQ, { name: e.brand })});let t = L("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, O.jsx)("span", {@@ -62627,7 +62627,7 @@ function IQ({ mark: e }) {dangerouslySetInnerHTML: { __html: t }});}-function GSe({ link: e }) {+function KSe({ link: e }) {switch (e.type) {case "icon": return /* @__PURE__ */ (0, O.jsx)("a", {"data-link": "icon",@@ -62636,19 +62636,19 @@ function GSe({ link: e }) {rel: "noopener noreferrer",title: e.title,"aria-label": e.title,- children: /* @__PURE__ */ (0, O.jsx)(IQ, { mark: e.mark })+ children: /* @__PURE__ */ (0, O.jsx)(FQ, { mark: e.mark })});case "gone": return /* @__PURE__ */ (0, O.jsx)("span", {"data-link": "gone",tabIndex: 0,title: e.title,"aria-label": e.title,- children: /* @__PURE__ */ (0, O.jsx)(IQ, { mark: { globe: !0 } })+ children: /* @__PURE__ */ (0, O.jsx)(FQ, { mark: { globe: !0 } })});case "private": return /* @__PURE__ */ (0, O.jsxs)("span", {"data-link": "private",title: e.sources ? e.sources.join("\n") : e.label,- children: [/* @__PURE__ */ (0, O.jsx)(IQ, { mark: { globe: !0 } }), /* @__PURE__ */ (0, O.jsx)("span", {+ children: [/* @__PURE__ */ (0, O.jsx)(FQ, { mark: { globe: !0 } }), /* @__PURE__ */ (0, O.jsx)("span", {"data-link-label": "",children: e.sources ? e.label : `来源 · ${e.label}`})]@@ -62660,7 +62660,7 @@ function GSe({ link: e }) {rel: "noopener noreferrer",title: e.title,children: [- /* @__PURE__ */ (0, O.jsx)(IQ, { mark: e.mark }),+ /* @__PURE__ */ (0, O.jsx)(FQ, { mark: e.mark }),/* @__PURE__ */ (0, O.jsx)("span", {"data-link-label": "",children: e.text@@ -62675,7 +62675,7 @@ function GSe({ link: e }) {});}}-function KSe({ entity: e, actions: t, helpers: n }) {+function qSe({ entity: e, actions: t, helpers: n }) {let [r, i] = (0, D.useState)(!!e.feed?.following), [a, o] = (0, D.useState)(!1), s = (0, D.useRef)(!1), c = async (e) => {if (s.current) return !1;s.current = !0, o(!0);@@ -62693,34 +62693,34 @@ function KSe({ entity: e, actions: t, helpers: n }) {};return /* @__PURE__ */ (0, O.jsxs)("div", {"data-entry-marks": "",- children: [MQ(e).map((e, t) => /* @__PURE__ */ (0, O.jsxs)("a", {+ children: [jQ(e).map((e, t) => /* @__PURE__ */ (0, O.jsxs)("a", {"data-entry-mark": "",href: e.url,target: "_blank",rel: "noopener noreferrer",title: e.label,"aria-label": e.label,- children: [e.mark ? /* @__PURE__ */ (0, O.jsx)(CQ, { name: e.mark }) : /* @__PURE__ */ (0, O.jsxs)("span", {+ children: [e.mark ? /* @__PURE__ */ (0, O.jsx)(SQ, { name: e.mark }) : /* @__PURE__ */ (0, O.jsxs)("span", {"data-missav-mark": "",children: [/* @__PURE__ */ (0, O.jsx)("span", { children: "MISS" }), /* @__PURE__ */ (0, O.jsx)("span", { children: "AV" })]}), e.ordinal ? /* @__PURE__ */ (0, O.jsx)("span", {"data-entry-ordinal": "",children: e.ordinal}) : null]- }, t)), e.feed ? /* @__PURE__ */ (0, O.jsx)(ESe, {+ }, t)), e.feed ? /* @__PURE__ */ (0, O.jsx)(DSe, {following: r,busy: a,onToggle: (e) => {l(e);},- tip: kSe(r)+ tip: ASe(r)}) : null]});}//#endregion//#region src/react/entity-page/use-entity-online.ts-var qSe = () => ((Date.now() ^ (Math.random() * 1e9 | 0)) >>> 0) % 99991;-function JSe(e, t, n) {+var JSe = () => ((Date.now() ^ (Math.random() * 1e9 | 0)) >>> 0) % 99991;+function YSe(e, t, n) {let [r, i] = (0, D.useState)(() => zi(e));r.author !== e && i(zi(e));let [a, o] = (0, D.useState)({@@ -62799,7 +62799,7 @@ function JSe(e, t, n) {onlineMedia: (e) => c(e),onlineShuffle: () => T({sort: Si,- seed: qSe()+ seed: JSe()}),onlineImagesOnly: (e) => n.setImagesOnly(e),onlineStatus: (e) => T({ status: e }),@@ -62830,8 +62830,8 @@ function JSe(e, t, n) {}//#endregion//#region src/react/entity-page/entity-page-view.tsx-function YSe(e) {- let { kind: t, name: n } = e, r = Ct(ZX(t, n)), i = !!r.data?.error, a = r.data?.canonical_name, o = r.data?.redirect ?? (a && a !== n ? {+function XSe(e) {+ let { kind: t, name: n } = e, r = Ct(XX(t, n)), i = !!r.data?.error, a = r.data?.canonical_name, o = r.data?.redirect ?? (a && a !== n ? {kind: t,name: a} : void 0), { actions: s } = e;@@ -62849,17 +62849,17 @@ function YSe(e) {s,o?.kind,o?.name- ]), r.isError ? /* @__PURE__ */ (0, O.jsx)(vW, {+ ]), r.isError ? /* @__PURE__ */ (0, O.jsx)(_W, {message: jn(r.error),onRetry: () => {r.refetch();}- }) : !r.data || i || o ? null : /* @__PURE__ */ (0, O.jsx)(QSe, {+ }) : !r.data || i || o ? null : /* @__PURE__ */ (0, O.jsx)($Se, {...e,entity: r.data});}-function LQ(e) {+function IQ(e) {let [t, n] = (0, D.useState)({key: e,n: 1@@ -62871,22 +62871,22 @@ function LQ(e) {};return n(r), r.n;}-var XSe = () => String(((Date.now() ^ (Math.random() * 1e9 | 0)) >>> 0) % 99991);-function ZSe(e, t) {+var ZSe = () => String(((Date.now() ^ (Math.random() * 1e9 | 0)) >>> 0) % 99991);+function QSe(e, t) {return `照片 · ${[e.total || !t ? `${(e.total || 0).toLocaleString()} 张` : "", t ? `样张 ${(e.sample_total || 0).toLocaleString()} 张 · ${t.toLocaleString()} 部作品` : ""].filter(Boolean).join(" · ")}`;}-function QSe(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 = Tt(QX(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 || $X(p).length > 0, g = t === "creator" && r.follow?.key || "", _ = !!g && !r.asset_count, v = a.media === "photos" && h ? a : (a.media === "online" || _) && g ? {+function $Se(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 = Tt(ZX(t, n, 0, "")).data?.pages[0], p = f && !f.error ? f : null, m = p ? (p.total || 0) + (p.sample_total || 0) : 0, h = (p?.total || 0) > 0 || QX(p).length > 0, g = t === "creator" && r.follow?.key || "", _ = !!g && !r.asset_count, v = a.media === "photos" && h ? a : (a.media === "online" || _) && g ? {media: "online",set: 0- } : WX, [y, b] = (0, D.useState)("people"), x = new URLSearchParams(Object.entries(i).filter(([, e]) => e)).toString(), [S, C] = (0, D.useState)(x);+ } : UX, [y, b] = (0, D.useState)("people"), x = new URLSearchParams(Object.entries(i).filter(([, e]) => e)).toString(), [S, C] = (0, D.useState)(x);S !== x && (C(x), b("videos"));- let w = l && y === "people" && u.length ? "people" : v.media, T = JSe(g, w === "online", {+ let w = l && y === "people" && u.length ? "people" : v.media, T = YSe(g, w === "online", {photoLayout: e.photoLayout,photoLayouts: e.photoLayouts,imagesOnly: e.followImagesOnly,setImagesOnly: e.follow.actions.setImagesOnly- }), E = w === "photos" || w === "online" && T.media === "images", [k, A] = (0, D.useState)(0), j = XX(e), M = Ct(j), N = LQ(JSON.stringify([j.queryKey, k])), [ee] = (0, D.useState)(() => (t === "performer" || t === "studio") && (e.jav || (M.data?.items || []).some((e) => e.is_jav)));+ }), E = w === "photos" || w === "online" && T.media === "images", [k, A] = (0, D.useState)(0), j = YX(e), M = Ct(j), N = IQ(JSON.stringify([j.queryKey, k])), [ee] = (0, D.useState)(() => (t === "performer" || t === "studio") && (e.jav || (M.data?.items || []).some((e) => e.is_jav)));(0, D.useLayoutEffect)(() => {s.javContext(ee);}, [s, ee]);@@ -62896,26 +62896,26 @@ function QSe(e) {}, [e.layout, ee]), P = {jav: e.jav,seed: e.seed- }, ne = (0, D.useCallback)((e, r, a) => YX(t, n, i, P, e, r, a), [N]), [F, re] = (0, D.useState)({}), ie = v.set, ae = F[ie] || "", oe = Tt({- ...QX(t, n, ie, ae),+ }, ne = (0, D.useCallback)((e, r, a) => JX(t, n, i, P, e, r, a), [N]), [F, re] = (0, D.useState)({}), ie = v.set, ae = F[ie] || "", oe = Tt({+ ...ZX(t, n, ie, ae),enabled: w === "photos"- }), se = oe.data?.pages[0], ce = LQ(JSON.stringify(KX(t, n, ie, ae))), le = (0, D.useMemo)(() => {+ }), se = oe.data?.pages[0], ce = IQ(JSON.stringify(GX(t, n, ie, ae))), le = (0, D.useMemo)(() => {let e = oe.data?.pages;if (!e?.[0] || e[0].error) return null;let t = e[0];return {revision: ce,- codeSets: t.id ? [] : $X(t),+ codeSets: t.id ? [] : QX(t),items: e.flatMap((e) => e.items || []),total: t.total || 0,hasMore: !!e[e.length - 1]?.has_more};}, [oe.data, ce]), ue = oe.refetch, de = oe.fetchNextPage, fe = Ct({- ...VX(d, o.feedRowHtml),+ ...BX(d, o.feedRowHtml),enabled: !!d}), pe = (0, D.useRef)(e.feedRevision);(0, D.useEffect)(() => {- pe.current !== e.feedRevision && (pe.current = e.feedRevision, H.invalidateQueries({ queryKey: BX(d) }));+ pe.current !== e.feedRevision && (pe.current = e.feedRevision, H.invalidateQueries({ queryKey: zX(d) }));}, [d, e.feedRevision]);let me = !!M.data;(0, D.useEffect)(() => {@@ -62934,7 +62934,7 @@ function QSe(e) {he.current = !1;}, []);let ge = (0, D.useCallback)(async () => {- await H.invalidateQueries({ queryKey: ["entity-route"] }), await H.invalidateQueries({ queryKey: GX(t, n) }), await H.invalidateQueries({ queryKey: [+ await H.invalidateQueries({ queryKey: ["entity-route"] }), await H.invalidateQueries({ queryKey: WX(t, n) }), await H.invalidateQueries({ queryKey: ["entity-items",t,n@@ -62968,7 +62968,7 @@ function QSe(e) {enabled: e})}),- onSuccess: (e, r) => H.setQueryData(GX(t, n), (e) => e && {+ onSuccess: (e, r) => H.setQueryData(WX(t, n), (e) => e && {...e,feed: {...e.feed,@@ -63022,10 +63022,10 @@ function QSe(e) {let e = await R("/api/feeds/check").catch(() => null);if (!e || e.status !== "running") break;}- he.current && await H.invalidateQueries({ queryKey: BX(d) });+ he.current && await H.invalidateQueries({ queryKey: zX(d) });})();},- feedAction: HX,+ feedAction: VX,avatarPicked: () => {s.avatarChanged(), ge().then(() => {he.current && A((e) => e + 1);@@ -63073,19 +63073,19 @@ function QSe(e) {(e !== w || v.set) && (b(e === "people" ? "people" : "videos"), s.route(i, e === "photos" || e === "online" ? {media: e,set: 0- } : WX));+ } : UX));},setState: (e) => s.route({...i,state: e- }, WX),+ }, UX),toggleTag: s.toggleTag,clearFilter: s.clearFilter,clearAll: s.clearAll,setSort: s.setSort,reshuffle: async () => {if (w !== "photos") {- let r = s.reshuffleVideos(), a = XX({+ let r = s.reshuffleVideos(), a = YX({kind: t,name: n,filters: {@@ -63099,7 +63099,7 @@ function QSe(e) {await H.fetchQuery(a).catch(() => null);return;}- let r = XSe(), a = await H.fetchInfiniteQuery(QX(t, n, ie, r)).catch(() => null);+ let r = ZSe(), a = await H.fetchInfiniteQuery(ZX(t, n, ie, r)).catch(() => null);he.current && a?.pages[0] && !a.pages[0].error && re((e) => ({...e,[ie]: r@@ -63134,7 +63134,7 @@ function QSe(e) {k: e.k,label: pl(e.k),n: e.n,- selected: jbe(i.tag, e.k)+ selected: Mbe(i.tag, e.k)})), Ee = [u.length,!_,@@ -63169,14 +63169,14 @@ function QSe(e) {creator: "",studio: "",owner: ""- }, WX), Pe = "", Fe = !1;+ }, UX), Pe = "", Fe = !1;if (w === "people") Pe = `${t === "studio" ? "厂牌" : "艺人"} · ${u.length.toLocaleString()}`;else if (w === "online") Fe = T.busy, Pe = `在线 · ${(T.total ?? r.follow?.n ?? 0).toLocaleString()} 项更新`;else if (w === "videos") {Fe = !M.data;- let e = qX(i.tag).length;+ let e = KX(i.tag).length;Pe = `视频 · ${(M.data?.work_total ?? M.data?.total ?? 0).toLocaleString()}${e ? ` · 已选 ${e.toLocaleString()} 个标签` : ""}`;- } else se && !se.error ? Pe = Oe ? `${se.title} · ${(se.total || 0).toLocaleString()} 张` : ZSe(se, $X(se).length) : Fe = oe.isPending;+ } else se && !se.error ? Pe = Oe ? `${se.title} · ${(se.total || 0).toLocaleString()} 张` : QSe(se, QX(se).length) : Fe = oe.isPending;let Ie = (0, D.useMemo)(() => ({...e.card.actions,loadMorePhotos: async () => {@@ -63193,7 +63193,7 @@ function QSe(e) {u]);return /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [- /* @__PURE__ */ (0, O.jsx)(LSe, {+ /* @__PURE__ */ (0, O.jsx)(RSe, {kind: t,name: n,entity: r,@@ -63203,7 +63203,7 @@ function QSe(e) {actions: xe,helpers: Se}, k),- (0, Et.createPortal)(/* @__PURE__ */ (0, O.jsx)(mge, {+ (0, Et.createPortal)(/* @__PURE__ */ (0, O.jsx)(hge, {kind: t,name: n,view: w,@@ -63220,9 +63220,9 @@ function QSe(e) {actions: Ce,helpers: we}), c.filter),- (0, Et.createPortal)(/* @__PURE__ */ (0, O.jsx)(ege, {+ (0, Et.createPortal)(/* @__PURE__ */ (0, O.jsx)(tge, {enabled: w === "videos",- children: w === "online" ? /* @__PURE__ */ (0, O.jsx)(Gxe, {+ children: w === "online" ? /* @__PURE__ */ (0, O.jsx)(Kxe, {view: T.view,media: T.media,result: T.result,@@ -63236,16 +63236,16 @@ function QSe(e) {actions: e.follow.actions,canLoadMore: e.canLoadMore,clearFilters: T.clearFilters- }, T.key) : w === "videos" && M.isError ? /* @__PURE__ */ (0, O.jsx)(vW, {+ }, T.key) : w === "videos" && M.isError ? /* @__PURE__ */ (0, O.jsx)(_W, {message: jn(M.error),onRetry: () => {M.refetch();}- }) : Me ? /* @__PURE__ */ (0, O.jsx)($Se, {+ }) : Me ? /* @__PURE__ */ (0, O.jsx)(eCe, {filtered: je,onShowAll: Ne,onOnline: g ? () => Ce.setView("online") : void 0- }) : /* @__PURE__ */ (0, O.jsx)(uxe, {+ }) : /* @__PURE__ */ (0, O.jsx)(dxe, {kind: t,name: n,view: w,@@ -63277,9 +63277,9 @@ function QSe(e) {}), c.body)] });}-function $Se({ filtered: e, onShowAll: t, onOnline: n }) {- return e ? /* @__PURE__ */ (0, O.jsx)(Bz, {- icon: Hz("search"),+function eCe({ filtered: e, onShowAll: t, onOnline: n }) {+ return e ? /* @__PURE__ */ (0, O.jsx)(zz, {+ icon: Vz("search"),title: "没有符合条件的视频",actions: /* @__PURE__ */ (0, O.jsx)(q, {size: "small",@@ -63287,14 +63287,14 @@ function $Se({ filtered: e, onShowAll: t, onOnline: n }) {children: "清除筛选"}),children: "清除筛选后查看名下全部视频。"- }) : /* @__PURE__ */ (0, O.jsx)(Bz, {- icon: Hz("film"),+ }) : /* @__PURE__ */ (0, O.jsx)(zz, {+ icon: Vz("film"),title: "还没有视频",actions: n ? /* @__PURE__ */ (0, O.jsx)(q, {size: "small",onClick: n,children: "查看在线作品"- }) : /* @__PURE__ */ (0, O.jsx)(mI, {+ }) : /* @__PURE__ */ (0, O.jsx)(pI, {size: "small",href: "/",children: "浏览馆藏"@@ -63304,40 +63304,40 @@ function $Se({ filtered: e, onShowAll: t, onOnline: n }) {}//#endregion//#region src/react/diagnostics/diagnostics.ts-var RQ = ["diagnostics"], zQ = (e) => B("/api/diagnostics", e);-async function eCe(e) {+var LQ = ["diagnostics"], RQ = (e) => B("/api/diagnostics", e);+async function tCe(e) {await H.fetchQuery({- queryKey: RQ,- queryFn: () => zQ(e),+ queryKey: LQ,+ queryFn: () => RQ(e),staleTime: 1e4});}//#endregion//#region src/react/feed-new/feed-new-page.tsx-function tCe({ host: e, revision: t, helpers: n, actions: r }) {- let i = Ct(VX(null, n.feedRowHtml)), a = (0, D.useRef)(t);+function nCe({ host: e, revision: t, helpers: n, actions: r }) {+ let i = Ct(BX(null, n.feedRowHtml)), a = (0, D.useRef)(t);return (0, D.useEffect)(() => {- a.current !== t && (a.current = t, H.invalidateQueries({ queryKey: BX(null) }));- }, [t]), (0, Et.createPortal)(/* @__PURE__ */ (0, O.jsx)(SQ, {+ a.current !== t && (a.current = t, H.invalidateQueries({ queryKey: zX(null) }));+ }, [t]), (0, Et.createPortal)(/* @__PURE__ */ (0, O.jsx)(xQ, {feedNew: i.data ?? null,host: e,wire: n.wireFeedRow,- act: HX,+ act: VX,settled: r.settled}), e);}//#endregion//#region src/react/components/board-tabs.tsx-function BQ({ value: e }) {+function zQ({ value: e }) {return /* @__PURE__ */ (0, O.jsx)("span", {"data-tab-count": "",className: "ml-1.5 inline-block rounded-sm bg-text-primary/10 px-1 py-px text-caption-1-medium text-text-primary opacity-50",children: e.toLocaleString()});}-var nCe = "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 VQ({ tabs: e, value: t, label: n, onChange: r, className: i = "mb-5.5" }) {- let a = (0, D.useRef)(null), o = aI(a);+var rCe = "relative flex flex-none cursor-pointer items-center whitespace-nowrap rounded-md px-3 py-2 text-body-regular text-text-secondary outline-none focus-visible:outline-2 focus-visible:-outline-offset-3 focus-visible:outline-border-focus-ring hover:text-text-primary aria-selected:bg-background-tertiary-default aria-selected:text-text-primary max-board-narrow:px-2.25 max-board-narrow:text-body-2-regular";+function BQ({ tabs: e, value: t, label: n, onChange: r, className: i = "mb-5.5" }) {+ let a = (0, D.useRef)(null), o = iI(a);return (0, D.useLayoutEffect)(() => {let e = a.current;e && (() => {@@ -63346,7 +63346,7 @@ function VQ({ tabs: e, value: t, label: n, onChange: r, className: i = "mb-5.5"let n = t.offsetLeft, r = n + t.offsetWidth;n < e.scrollLeft ? e.scrollLeft = n : r > e.scrollLeft + e.clientWidth && (e.scrollLeft = r - e.clientWidth);})();- }, [t]), /* @__PURE__ */ (0, O.jsx)(NF, {+ }, [t]), /* @__PURE__ */ (0, O.jsx)(MF, {ref: o,role: "tablist","aria-label": n,@@ -63361,7 +63361,7 @@ function VQ({ tabs: e, value: t, label: n, onChange: r, className: i = "mb-5.5"},className: `relative flex flex-none gap-1 overflow-x-auto max-board-narrow:gap-0 ${i}`,children: e.map((e) => {- let n = e.symbol ? Hz(e.symbol) : null, i = e.value === t;+ let n = e.symbol ? Vz(e.symbol) : null, i = e.value === t;return /* @__PURE__ */ (0, O.jsxs)("button", {type: "button",role: "tab",@@ -63370,7 +63370,7 @@ function VQ({ tabs: e, value: t, label: n, onChange: r, className: i = "mb-5.5""data-pill-selected": i ? "" : void 0,"data-pill-variant": "gray",tabIndex: i ? 0 : -1,- className: nCe,+ className: rCe,onClick: () => {i || r(e.value);},@@ -63381,11 +63381,11 @@ function VQ({ tabs: e, value: t, label: n, onChange: r, className: i = "mb-5.5"}//#endregion//#region src/react/index/index-tags.tsx-var HQ = () => /* @__PURE__ */ (0, O.jsx)("span", {+var VQ = () => /* @__PURE__ */ (0, O.jsx)("span", {"aria-hidden": !0,"data-tag-dot": "",className: "size-1.75 flex-none rounded-full"-}), UQ = Hz("pencil"), WQ = (e, t) => ({+}), HQ = Vz("pencil"), UQ = (e, t) => ({kind: "tag",name: e.k,favorite: e.favorite,@@ -63394,7 +63394,7 @@ var HQ = () => /* @__PURE__ */ (0, O.jsx)("span", {tag_id: e.id || e.k} : { entity_id: e.entity_id }});-function rCe({ tag: e, actions: t }) {+function iCe({ tag: e, actions: t }) {let n = t.picked.has(e.k);return /* @__PURE__ */ (0, O.jsxs)("div", {className: "flex min-w-0 items-center gap-1",@@ -63403,13 +63403,13 @@ function rCe({ tag: e, actions: t }) {type: "button","data-alpha-tag": "","data-k": e.k,- "data-tag-cat": pZ(t.online, e.cat),+ "data-tag-cat": fZ(t.online, e.cat),"aria-pressed": n,title: e.label,onClick: () => t.press(e.k),className: "flex h-9 min-w-0 flex-1 cursor-pointer items-center gap-2.25 rounded-lg px-2.5 text-left text-body-regular text-text-secondary outline-none hover:text-text-primary focus-visible:ring-2 focus-visible:ring-border-focus-ring",children: [- /* @__PURE__ */ (0, O.jsx)(HQ, {}),+ /* @__PURE__ */ (0, O.jsx)(VQ, {}),/* @__PURE__ */ (0, O.jsx)("span", {className: "min-w-0 flex-1 truncate",children: e.label@@ -63420,32 +63420,32 @@ function rCe({ tag: e, actions: t }) {})]}),- t.favorites === !1 ? null : /* @__PURE__ */ (0, O.jsx)(nB, { item: WQ(e, t.online) }),- t.edit ? /* @__PURE__ */ (0, O.jsx)(tB, {+ t.favorites === !1 ? null : /* @__PURE__ */ (0, O.jsx)(tB, { item: UQ(e, t.online) }),+ t.edit ? /* @__PURE__ */ (0, O.jsx)(eB, {label: `编辑标签 ${e.label}`,onClick: () => t.edit?.(e.k),- children: /* @__PURE__ */ (0, O.jsx)(UQ, {})+ children: /* @__PURE__ */ (0, O.jsx)(HQ, {})}) : null]});}-function GQ({ groups: e, actions: t }) {+function WQ({ groups: e, actions: t }) {return /* @__PURE__ */ (0, O.jsx)("div", {"data-alphabet": "",className: "flex flex-col gap-4",children: e.map(([e, n], r) => /* @__PURE__ */ (0, O.jsxs)("section", {"data-alpha-group": r,- className: IH({+ className: FH({radius: "plain",padding: "none",className: "px-5 pt-4 pb-3"}),children: [/* @__PURE__ */ (0, O.jsxs)("h3", {className: "mb-2 flex items-center text-title-2-medium text-text-primary",- children: [e, /* @__PURE__ */ (0, O.jsx)(BQ, { value: n.length })]+ children: [e, /* @__PURE__ */ (0, O.jsx)(zQ, { value: n.length })]}), /* @__PURE__ */ (0, O.jsx)("div", {className: "index-tag-list gap-x-4 gap-y-0.5",- children: n.map((e) => /* @__PURE__ */ (0, O.jsx)(rCe, {+ children: n.map((e) => /* @__PURE__ */ (0, O.jsx)(iCe, {tag: e,actions: t}, e.k))@@ -63453,26 +63453,26 @@ function GQ({ groups: e, actions: t }) {}, e))});}-var iCe = "\xA0";-function KQ({ tags: e, actions: t }) {+var aCe = "\xA0";+function GQ({ tags: e, actions: t }) {return /* @__PURE__ */ (0, O.jsx)("div", {"data-tag-cloud": "",className: "flex flex-wrap gap-1.75",children: e.map((e) => /* @__PURE__ */ (0, O.jsxs)("span", {"data-tag-token": "",- "data-tag-cat": pZ(t.online, e.cat),+ "data-tag-cat": fZ(t.online, e.cat),className: "inline-flex max-w-full min-w-0 items-center gap-1 rounded-lg border p-1",children: [/* @__PURE__ */ (0, O.jsxs)("button", {type: "button","data-tag-chip": "","data-k": e.k,- "data-tag-cat": pZ(t.online, e.cat),+ "data-tag-cat": fZ(t.online, e.cat),"aria-pressed": t.picked.has(e.k),onClick: () => t.press(e.k),className: "inline-flex max-w-full min-w-0 cursor-pointer items-center rounded-lg px-2 py-0.5 text-body-2-regular text-text-secondary outline-none focus-visible:ring-2 focus-visible:ring-border-focus-ring",children: [/* @__PURE__ */ (0, O.jsx)("span", {className: "min-w-0 truncate",- children: e.label + iCe+ children: e.label + aCe}), /* @__PURE__ */ (0, O.jsx)("span", {"data-tag-n": "",className: "text-caption-1-regular opacity-60",@@ -63481,16 +63481,16 @@ function KQ({ tags: e, actions: t }) {}), t.favorites !== !1 || t.edit ? /* @__PURE__ */ (0, O.jsxs)("span", {"data-tag-actions": "",className: "inline-flex flex-none items-center gap-1",- children: [t.favorites === !1 ? null : /* @__PURE__ */ (0, O.jsx)(nB, { item: WQ(e, t.online) }), t.edit ? /* @__PURE__ */ (0, O.jsx)(tB, {+ children: [t.favorites === !1 ? null : /* @__PURE__ */ (0, O.jsx)(tB, { item: UQ(e, t.online) }), t.edit ? /* @__PURE__ */ (0, O.jsx)(eB, {label: `编辑标签 ${e.label}`,onClick: () => t.edit?.(e.k),- children: /* @__PURE__ */ (0, O.jsx)(UQ, {})+ children: /* @__PURE__ */ (0, O.jsx)(HQ, {})}) : null]}) : null]}, e.k))});}-var aCe = [[+var oCe = [["cloud","标签云","tags"@@ -63499,28 +63499,28 @@ var aCe = [["字母表","text-aa"]];-function qQ({ categories: e, category: t, online: n, readout: r, letters: i, view: a, onCategory: o, onJump: s, onView: c, status: l, actions: u }) {- let d = aI();- return /* @__PURE__ */ (0, O.jsx)(sI, {+function KQ({ categories: e, category: t, online: n, readout: r, letters: i, view: a, onCategory: o, onJump: s, onView: c, status: l, actions: u }) {+ let d = iI();+ return /* @__PURE__ */ (0, O.jsx)(oI, {label: "标签筛选",topLabel: "标签类型",top: /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [l ? /* @__PURE__ */ (0, O.jsx)("div", {role: "group","aria-label": "标签状态",className: "flex flex-none items-center gap-1.75 border-r border-(--glass-low) pr-3",- children: [[!1, "使用中"], [!0, "已隐藏"]].map(([e, t]) => /* @__PURE__ */ (0, O.jsx)(cI, {+ children: [[!1, "使用中"], [!0, "已隐藏"]].map(([e, t]) => /* @__PURE__ */ (0, O.jsx)(sI, {"data-tag-pill": "","data-tag-cat": "all",pressed: l.hidden === e,onPress: () => l.onChange(!!e),children: t}, String(e)))- }) : null, e.map(([e, r]) => /* @__PURE__ */ (0, O.jsxs)(cI, {+ }) : null, e.map(([e, r]) => /* @__PURE__ */ (0, O.jsxs)(sI, {"data-tag-pill": "",- "data-tag-cat": e === "all" ? "all" : pZ(n, e),+ "data-tag-cat": e === "all" ? "all" : fZ(n, e),pressed: t === e,onPress: () => o(e),- children: [/* @__PURE__ */ (0, O.jsx)(HQ, {}), r]+ children: [/* @__PURE__ */ (0, O.jsx)(VQ, {}), r]}, e))] }),bottom: /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)("span", {@@ -63541,19 +63541,19 @@ function qQ({ categories: e, category: t, online: n, readout: r, letters: i, viechildren: e}, e))}) : null,- /* @__PURE__ */ (0, O.jsx)(DR, {+ /* @__PURE__ */ (0, O.jsx)(ER, {"aria-label": "标签视图",orientation: "horizontal",value: a,onChange: (e) => c(e),- className: `ml-auto ${TU}`,- children: aCe.map(([e, t, n]) => {- let r = Hz(n);- return /* @__PURE__ */ (0, O.jsx)(OR, {+ className: `ml-auto ${wU}`,+ children: oCe.map(([e, t, n]) => {+ let r = Vz(n);+ return /* @__PURE__ */ (0, O.jsx)(DR, {value: e,"aria-label": t,"data-glass-segment": "",- className: EU,+ className: TU,children: /* @__PURE__ */ (0, O.jsx)("span", {title: t,className: "contents",@@ -63565,13 +63565,13 @@ function qQ({ categories: e, category: t, online: n, readout: r, letters: i, vie] })});}-function oCe({ count: e, match: t, onMatch: n, onClear: r, onApply: i }) {- return /* @__PURE__ */ (0, O.jsxs)(gk, {+function sCe({ count: e, match: t, onMatch: n, onClear: r, onApply: i }) {+ return /* @__PURE__ */ (0, O.jsxs)(hk, {visible: e > 0,label: "所选标签操作",count: `已选 ${e.toLocaleString()} 个标签`,children: [- /* @__PURE__ */ (0, O.jsx)(sV, {+ /* @__PURE__ */ (0, O.jsx)(oV, {isSelected: t === "any",onChange: (e) => n(e ? "any" : "all"),children: /* @__PURE__ */ (0, O.jsxs)("span", {@@ -63603,29 +63603,29 @@ function oCe({ count: e, match: t, onMatch: n, onClear: r, onApply: i }) {}//#endregion//#region src/react/toaster.tsx-var JQ = (e, t) => /* @__PURE__ */ (0, O.jsx)("span", {+var qQ = (e, t) => /* @__PURE__ */ (0, O.jsx)("span", {"data-toast-glyph": t ? "draw" : "still","aria-hidden": "true",dangerouslySetInnerHTML: { __html: e }-}), YQ = null, XQ = { "--floating-radius": "var(--radius-2xl)" };-function ZQ() {- let e = YQ;- YQ = null, e?.root.unmount();-}-var QQ = (e, t) => {- if (YQ?.host === e) return;- ZQ();+}), JQ = null, YQ = { "--floating-radius": "var(--radius-2xl)" };+function XQ() {+ let e = JQ;+ JQ = null, e?.root.unmount();+}+var ZQ = (e, t) => {+ if (JQ?.host === e) return;+ XQ();let n = (0, Dt.createRoot)(e);- YQ = {+ JQ = {host: e,root: n- }, n.render(/* @__PURE__ */ (0, O.jsxs)(iH, { children: [/* @__PURE__ */ (0, O.jsx)(fH, {+ }, n.render(/* @__PURE__ */ (0, O.jsxs)(rH, { children: [/* @__PURE__ */ (0, O.jsx)(dH, {id: "receipts",position: "bottom-right",closeButton: !0,gap: 8,style: {- ...XQ,+ ...YQ,"--width": "min(560px, calc(100vw - 48px))"},offset: {@@ -63640,16 +63640,16 @@ var QQ = (e, t) => {toastOptions: { closeButtonAriaLabel: "关闭提示" },containerAriaLabel: "通知",icons: {- success: JQ(t.success, !0),- error: JQ(t.error, !1)+ success: qQ(t.success, !0),+ error: qQ(t.error, !1)}- }), /* @__PURE__ */ (0, O.jsx)(fH, {+ }), /* @__PURE__ */ (0, O.jsx)(dH, {id: "processing",position: "bottom-right",gap: 8,expand: !0,style: {- ...XQ,+ ...YQ,"--width": "min(400px, calc(100vw - 32px))"},offset: {@@ -63664,13 +63664,13 @@ var QQ = (e, t) => {toastOptions: { closeButtonAriaLabel: "关闭任务提示" },containerAriaLabel: "后台任务"})] }));-}, sCe = 6e3, $Q = (e, t) => {+}, cCe = 6e3, QQ = (e, t) => {if (!String(t.html ?? "").trim()) return;- let n = t.alert ? sH.error : sH.success, r = t.action;+ let n = t.alert ? oH.error : oH.success, r = t.action;n(/* @__PURE__ */ (0, O.jsx)("span", { dangerouslySetInnerHTML: { __html: t.html } }), {id: e,toasterId: "receipts",- duration: t.timeout > 0 ? t.timeout : sCe,+ duration: t.timeout > 0 ? t.timeout : cCe,action: r ? {label: r.label,onClick: (e) => {@@ -63678,32 +63678,32 @@ var QQ = (e, t) => {}} : void 0});-}, e$ = (e) => e.id ?? e.entity_id, t$ = {+}, $Q = (e) => e.id ?? e.entity_id, e$ = {rename: "重命名标签",merge: "合并标签",hide: "隐藏标签",restore: "恢复标签",repair: "整理重复标签"-}, n$ = (e, t) => V("/api/tag-management/preview", e, "POST", t);-async function r$(e, t, n) {+}, t$ = (e, t) => V("/api/tag-management/preview", e, "POST", t);+async function n$(e, t, n) {if (n?.aborted) return !1;let r = t.tags.map((e) => `「${e.k}」`).join("、"), i = e.operation === "merge" || e.operation === "repair" ? `合并 ${t.tags.length} 个标签,涉及 ${t.assets} 个资源,重叠关联 ${t.overlap} 个。旧名称保留为别名。此操作无法直接撤销。` : e.operation === "rename" ? `${r}将更名为「${t.name || e.name}」,涉及 ${t.assets} 个资源。旧名称保留为别名。` : `${e.operation === "hide" ? "隐藏" : "恢复"} ${t.tags.length} 个标签,涉及 ${t.assets} 个资源。${e.operation === "hide" ? "可在“已隐藏”中恢复。" : ""}`;return !(await Sc({- title: t$[e.operation],+ title: e$[e.operation],body: i,- confirmLabel: t$[e.operation],+ confirmLabel: e$[e.operation],onConfirm: () => V("/api/tag-management", {...e,token: t.token}, "POST", n)- })).confirmed || n?.aborted ? !1 : (await H.invalidateQueries(), $Q(`tag-management-${Date.now()}`, {- html: `已${t$[e.operation]}`,+ })).confirmed || n?.aborted ? !1 : (await H.invalidateQueries(), QQ(`tag-management-${Date.now()}`, {+ html: `已${e$[e.operation]}`,alert: !1,timeout: 6e3,action: null}), !0);}-function cCe({ operation: e, selected: t, close: n, done: r, scope: i = "local" }) {+function lCe({ operation: e, selected: t, close: n, done: r, scope: i = "local" }) {let a = (0, D.useRef)({operation: e,selected: t,@@ -63712,24 +63712,24 @@ function cCe({ operation: e, selected: t, close: n, done: r, scope: i = "local"scope: i}), o = (0, D.useRef)({name: t[0]?.k || "",- target_id: t[0] ? e$(t[0]) : 0+ target_id: t[0] ? $Q(t[0]) : 0}), [s, c] = (0, D.useState)(null);return (0, D.useEffect)(() => {let e = new AbortController(), t = a.current, n = bc({- title: t$[t.operation],+ title: e$[t.operation],confirmLabel: "预览影响范围",confirmDisabled: !0,body: "<div class=\"peach-react\" data-tag-editor-fields></div>",onConfirm: async () => {let n = {operation: t.operation,- ids: t.selected.map(e$),+ ids: t.selected.map($Q),...t.scope === "online" ? { scope: t.scope } : {},...t.operation === "rename" ? { name: o.current.name.trim() } : { target_id: o.current.target_id }};return {command: n,- plan: await n$(n, e.signal)+ plan: await t$(n, e.signal)};}});@@ -63740,14 +63740,14 @@ function cCe({ operation: e, selected: t, close: n, done: r, scope: i = "local"if (!e.signal.aborted) {if (n.confirmed) {let r = n.result;- await r$(r.command, r.plan, e.signal) && t.done();+ await n$(r.command, r.plan, e.signal) && t.done();}e.signal.aborted || t.close();}}), () => {e.abort(), n.close();};- }, []), s ? (0, Et.createPortal)(/* @__PURE__ */ (0, O.jsx)(lCe, {+ }, []), s ? (0, Et.createPortal)(/* @__PURE__ */ (0, O.jsx)(uCe, {operation: a.current.operation,selected: a.current.selected,dialog: s.dialog,@@ -63756,8 +63756,8 @@ function cCe({ operation: e, selected: t, close: n, done: r, scope: i = "local"}}), s.host) : null;}-function lCe({ operation: e, selected: t, dialog: n, update: r }) {- let [i, a] = (0, D.useState)(t[0]?.k || ""), [o, s] = (0, D.useState)(t[0] ? e$(t[0]) : 0);+function uCe({ operation: e, selected: t, dialog: n, update: r }) {+ let [i, a] = (0, D.useState)(t[0]?.k || ""), [o, s] = (0, D.useState)(t[0] ? $Q(t[0]) : 0);return (0, D.useEffect)(() => {r({name: i,@@ -63770,46 +63770,46 @@ function lCe({ operation: e, selected: t, dialog: n, update: r }) {e,t,r- ]), e === "rename" ? /* @__PURE__ */ (0, O.jsx)(Iz, {+ ]), e === "rename" ? /* @__PURE__ */ (0, O.jsx)(Fz, {autoFocus: !0,"aria-label": "标签名称",value: i,onChange: a,maxLength: 80- }) : /* @__PURE__ */ (0, O.jsx)(oY, {+ }) : /* @__PURE__ */ (0, O.jsx)(aY, {"aria-label": "保留的标签",prefix: "保留",selectedKey: String(o),onSelectionChange: (e) => {- let n = t.find((t) => String(e$(t)) === String(e));- n && s(e$(n));+ let n = t.find((t) => String($Q(t)) === String(e));+ n && s($Q(n));},- children: t.map((e) => /* @__PURE__ */ (0, O.jsx)(gU, {- id: String(e$(e)),+ children: t.map((e) => /* @__PURE__ */ (0, O.jsx)(hU, {+ id: String($Q(e)),children: e.k- }, e$(e)))+ }, $Q(e)))});}//#endregion//#region src/react/index/tag-manager.tsx-function uCe({ search: e = "", category: t = "all", view: n = "cloud", onCategory: r, onView: i, onJump: a, scope: o = "local" }) {+function dCe({ search: e = "", category: t = "all", view: n = "cloud", onCategory: r, onView: i, onJump: a, scope: o = "local" }) {let s = o === "online", c = Ct({queryKey: ["tag-management", o],queryFn: ({ signal: e }) => B(`/api/tag-management${s ? "?scope=online" : ""}`, e)- }), [l, u] = (0, D.useState)(!1), [d, f] = (0, D.useState)(/* @__PURE__ */ new Set()), [p, m] = (0, D.useState)(null), h = PH(), g = c.data?.items || [], _ = g.filter((t) => t.hidden === l && [t.k, ...t.aliases].some((t) => t.toLocaleLowerCase().includes(e.trim().toLocaleLowerCase()))), v = _.filter((e) => t === "all" || (e.cat || "general") === t), y = (s ? iZ : rZ).filter(([e]) => e === "all" || e === t || c.isPending || _.some((t) => (t.cat || "general") === e)), b = v.map((e) => ({+ }), [l, u] = (0, D.useState)(!1), [d, f] = (0, D.useState)(/* @__PURE__ */ new Set()), [p, m] = (0, D.useState)(null), h = NH(), g = c.data?.items || [], _ = g.filter((t) => t.hidden === l && [t.k, ...t.aliases].some((t) => t.toLocaleLowerCase().includes(e.trim().toLocaleLowerCase()))), v = _.filter((e) => t === "all" || (e.cat || "general") === t), y = (s ? rZ : nZ).filter(([e]) => e === "all" || e === t || c.isPending || _.some((t) => (t.cat || "general") === e)), b = v.map((e) => ({...e,label: e.k- })), x = n === "alphabet" ? mZ(b, (e) => e) : [], S = g.filter((e) => d.has(e.k)), C = (e) => {+ })), x = n === "alphabet" ? pZ(b, (e) => e) : [], S = g.filter((e) => d.has(e.k)), C = (e) => {h.run(e.operation, async (t) => {let n = s ? {...e,scope: o} : e;- return r$(n, await n$(n, t), t);+ return n$(n, await t$(n, t), t);}, (e) => {e && f(/* @__PURE__ */ new Set());});- }, w = S.map(e$), T = {+ }, w = S.map($Q), T = {online: s,favorites: s,picked: d,@@ -63826,7 +63826,7 @@ function uCe({ search: e = "", category: t = "all", view: n = "cloud", onCategor"data-tag-manager": "",className: "flex min-w-0 flex-col",children: [- /* @__PURE__ */ (0, O.jsx)(qQ, {+ /* @__PURE__ */ (0, O.jsx)(KQ, {categories: y,category: t,online: s,@@ -63845,7 +63845,7 @@ function uCe({ search: e = "", category: t = "all", view: n = "cloud", onCategor}},actions: /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [- c.data?.duplicate_groups.length ? /* @__PURE__ */ (0, O.jsx)(lI, {+ c.data?.duplicate_groups.length ? /* @__PURE__ */ (0, O.jsx)(cI, {busy: h.busy === "repair",onPress: () => C({operation: "repair",@@ -63853,11 +63853,11 @@ function uCe({ search: e = "", category: t = "all", view: n = "cloud", onCategor}),children: "整理重复标签"}) : null,- v.length ? /* @__PURE__ */ (0, O.jsx)(lI, {+ v.length ? /* @__PURE__ */ (0, O.jsx)(cI, {onPress: () => f(new Set(v.map((e) => e.k))),children: "选择当前结果"}) : null,- d.size ? /* @__PURE__ */ (0, O.jsx)(lI, {+ d.size ? /* @__PURE__ */ (0, O.jsx)(cI, {onPress: () => f(/* @__PURE__ */ new Set()),children: "清空选择"}) : null@@ -63867,8 +63867,8 @@ function uCe({ search: e = "", category: t = "all", view: n = "cloud", onCategor"aria-busy": "true","data-skeleton": "",className: "h-24 rounded-lg bg-background-tertiary-default",- children: /* @__PURE__ */ (0, O.jsx)(IC, { children: "正在读取标签" })- }) : c.isError ? /* @__PURE__ */ (0, O.jsx)(zz, {+ children: /* @__PURE__ */ (0, O.jsx)(FC, { children: "正在读取标签" })+ }) : c.isError ? /* @__PURE__ */ (0, O.jsx)(Rz, {tone: "error",action: /* @__PURE__ */ (0, O.jsx)(q, {variant: "secondary",@@ -63876,21 +63876,21 @@ function uCe({ search: e = "", category: t = "all", view: n = "cloud", onCategorchildren: "立即重试"}),children: "无法读取标签"- }) : v.length ? n === "alphabet" ? /* @__PURE__ */ (0, O.jsx)(GQ, {+ }) : v.length ? n === "alphabet" ? /* @__PURE__ */ (0, O.jsx)(WQ, {groups: x,actions: T- }) : /* @__PURE__ */ (0, O.jsx)(KQ, {+ }) : /* @__PURE__ */ (0, O.jsx)(GQ, {tags: b,actions: T- }) : /* @__PURE__ */ (0, O.jsx)(zz, {+ }) : /* @__PURE__ */ (0, O.jsx)(Rz, {tone: "neutral",children: "没有符合条件的标签。"}),- h.error ? /* @__PURE__ */ (0, O.jsx)(zz, {+ h.error ? /* @__PURE__ */ (0, O.jsx)(Rz, {tone: "error",children: h.error}) : null,- /* @__PURE__ */ (0, O.jsxs)(gk, {+ /* @__PURE__ */ (0, O.jsxs)(hk, {label: "标签管理操作",count: `已选 ${d.size} 个标签`,visible: d.size > 0,@@ -63912,7 +63912,7 @@ function uCe({ search: e = "", category: t = "all", view: n = "cloud", onCategor/* @__PURE__ */ (0, O.jsx)(q, {variant: "secondary",size: "small",- ...Wz(!!h.busy),+ ...Uz(!!h.busy),onClick: () => C({operation: l ? "restore" : "hide",ids: w@@ -63921,7 +63921,7 @@ function uCe({ search: e = "", category: t = "all", view: n = "cloud", onCategor})]}),- p ? /* @__PURE__ */ (0, O.jsx)(cCe, {+ p ? /* @__PURE__ */ (0, O.jsx)(lCe, {operation: p,selected: S,scope: o,@@ -63933,7 +63933,7 @@ function uCe({ search: e = "", category: t = "all", view: n = "cloud", onCategor}//#endregion//#region src/react/index/index-page.tsx-var dCe = [{+var fCe = [{value: "studios",label: "厂牌",symbol: "clapperboard"@@ -63941,7 +63941,7 @@ var dCe = [{value: "agencies",label: "事务所",symbol: "briefcase"-}], fCe = [{+}], pCe = [{value: "local",label: "本地",symbol: "hard-drive"@@ -63949,7 +63949,7 @@ var dCe = [{value: "online",label: "在线",symbol: "rss"-}], pCe = [+}], mCe = [{value: "performers",label: "艺人",@@ -63965,7 +63965,7 @@ var dCe = [{label: "在线",symbol: "rss"}-], mCe = {+], hCe = {people: [["big","大图 · 竖幅头像",@@ -63985,20 +63985,20 @@ var dCe = [{"layout-grid"]]};-function hCe({ kind: e, layout: t, onChange: n }) {- return /* @__PURE__ */ (0, O.jsx)(SU, {- "aria-label": `${nZ[e]}索引版式`,+function gCe({ kind: e, layout: t, onChange: n }) {+ return /* @__PURE__ */ (0, O.jsx)(xU, {+ "aria-label": `${tZ[e]}索引版式`,orientation: "horizontal",value: t,onChange: (e) => n(e),"data-index-layout": "",- className: `flex-none ${CU}`,- children: mCe[sZ(e) ? "company" : "people"].map(([e, t, n]) => {- let r = Hz(n);- return /* @__PURE__ */ (0, O.jsx)(OR, {+ className: `flex-none ${SU}`,+ children: hCe[oZ(e) ? "company" : "people"].map(([e, t, n]) => {+ let r = Vz(n);+ return /* @__PURE__ */ (0, O.jsx)(DR, {value: e,"aria-label": t,- className: age,+ className: oge,children: /* @__PURE__ */ (0, O.jsx)("span", {title: t,className: "contents",@@ -64008,8 +64008,8 @@ function hCe({ kind: e, layout: t, onChange: n }) {})});}-var gCe = Hz("search");-function _Ce({ label: e, value: t, onQuery: n }) {+var _Ce = Vz("search");+function vCe({ label: e, value: t, onQuery: n }) {let [r, i] = (0, D.useState)(t), a = (0, D.useRef)(!1), o = (0, D.useRef)(void 0);(0, D.useEffect)(() => {clearTimeout(o.current), i(t);@@ -64026,15 +64026,15 @@ function _Ce({ label: e, value: t, onQuery: n }) {onCompositionEnd: (e) => {a.current = !1, s(e.target.value);},- children: /* @__PURE__ */ (0, O.jsx)(Nz, {+ children: /* @__PURE__ */ (0, O.jsx)(Mz, {"aria-label": e,value: r,onChange: (e) => {i(e), a.current || s(e);},- children: /* @__PURE__ */ (0, O.jsx)(Fz, {+ children: /* @__PURE__ */ (0, O.jsx)(Pz, {type: "search",- leadingIcon: gCe,+ leadingIcon: _Ce,spellCheck: !1,autoComplete: "off",enterKeyHint: "search",@@ -64045,14 +64045,14 @@ function _Ce({ label: e, value: t, onQuery: n }) {})});}-function vCe(e) {- let [t, n] = (0, D.useState)(!1), [r, i] = (0, D.useState)(() => cZ({+function yCe(e) {+ let [t, n] = (0, D.useState)(!1), [r, i] = (0, D.useState)(() => sZ({kind: e.kind,q: e.q,scope: e.scope,view: e.view,category: e.category- })), [a, o] = (0, D.useState)(e.layout), [s, c] = (0, D.useState)(/* @__PURE__ */ new Set()), [l, u] = (0, D.useState)("any"), d = (0, D.useRef)(null), { kind: f, q: p, scope: m, view: h, category: g } = r, _ = nZ[f], v = f === "tags" && m === "online", y = f === "performers" && m === "online";+ })), [a, o] = (0, D.useState)(e.layout), [s, c] = (0, D.useState)(/* @__PURE__ */ new Set()), [l, u] = (0, D.useState)("any"), d = (0, D.useRef)(null), { kind: f, q: p, scope: m, view: h, category: g } = r, _ = tZ[f], v = f === "tags" && m === "online", y = f === "performers" && m === "online";(0, D.useEffect)(() => {if (r.kind === e.kind && r.scope === e.scope && r.category === e.category) return;let t = !0;@@ -64071,7 +64071,7 @@ function vCe(e) {...t};x(Object.keys(t).every((e) => e === "q")), i(o), e.route(o, { replace: a });- }, C = fZ(lZ(r)), w = Tt({+ }, C = dZ(cZ(r)), w = Tt({queryKey: C.queryKey,queryFn: ({ pageParam: e, signal: t }) => C.queryFn({pageParam: e,@@ -64080,7 +64080,7 @@ function vCe(e) {initialPageParam: 0,getNextPageParam: C.getNextPageParam,placeholderData: b ? ve : void 0- }), T = Kbe(w.data), E = !!w.hasNextPage && !w.isPlaceholderData, k = qbe(T.length, !!w.hasNextPage), A = `${f}:${m}:${p}`, j = (0, D.useRef)(null), M = w.data?.pages[0]?.categories;+ }), T = qbe(w.data), E = !!w.hasNextPage && !w.isPlaceholderData, k = Jbe(T.length, !!w.hasNextPage), A = `${f}:${m}:${p}`, j = (0, D.useRef)(null), M = w.data?.pages[0]?.categories;M && !w.isPlaceholderData && (j.current = {key: A,counts: M@@ -64096,15 +64096,15 @@ function vCe(e) {T,f,v- ]), ne = (0, D.useMemo)(() => f === "tags" && h === "alphabet" ? mZ(P, (t) => v ? t : e.tagLabel(t)) : [], [+ ]), ne = (0, D.useMemo)(() => f === "tags" && h === "alphabet" ? pZ(P, (t) => v ? t : e.tagLabel(t)) : [], [P,h,f,v]), F = (t) => {o(t), e.savePreference({ layout: t });- }, re = f === "tags" ? /* @__PURE__ */ (0, O.jsx)(VQ, {- tabs: fCe,+ }, re = f === "tags" ? /* @__PURE__ */ (0, O.jsx)(BQ, {+ tabs: pCe,value: m,label: "词表",onChange: (e) => {@@ -64114,8 +64114,8 @@ function vCe(e) {view: e === "online" ? "alphabet" : h});}- }) : sZ(f) ? /* @__PURE__ */ (0, O.jsx)(VQ, {- tabs: dCe,+ }) : oZ(f) ? /* @__PURE__ */ (0, O.jsx)(BQ, {+ tabs: fCe,value: f,label: "公司类型",onChange: (e) => S({ kind: e })@@ -64124,7 +64124,7 @@ function vCe(e) {let n = new Set(e);return n.delete(t) || n.add(t), n;}) : P.find((e) => e.k === t)?.entity_id ? e.openEntity("tag", t) : e.showTags([t], "all");- }, ae = (v ? iZ : rZ).filter(te);+ }, ae = (v ? rZ : nZ).filter(te);return /* @__PURE__ */ (0, O.jsxs)("div", {ref: d,"data-index-page": f,@@ -64139,23 +64139,23 @@ function vCe(e) {className: "flex flex-none items-center text-display-4-medium whitespace-nowrap text-text-primary max-board-narrow:text-title-1-medium",children: _}),- oZ(f) ? /* @__PURE__ */ (0, O.jsx)("span", {+ aZ(f) ? /* @__PURE__ */ (0, O.jsx)("span", {"data-index-count": "",className: "text-caption-1-regular leading-5 whitespace-nowrap text-text-secondary tabular-nums max-board-narrow:order-1 max-board-narrow:basis-full",children: w.isPending || w.isError ? "" : k}) : null,- oZ(f) ? /* @__PURE__ */ (0, O.jsx)(hCe, {+ aZ(f) ? /* @__PURE__ */ (0, O.jsx)(gCe, {kind: f,layout: a,onChange: F}) : null,- /* @__PURE__ */ (0, O.jsx)(rB, { kind: f === "tags" ? "tag" : f === "studios" ? "studio" : f === "agencies" ? "agency" : f === "creators" ? "creator" : "performer" }),+ /* @__PURE__ */ (0, O.jsx)(nB, { kind: f === "tags" ? "tag" : f === "studios" ? "studio" : f === "agencies" ? "agency" : f === "creators" ? "creator" : "performer" }),f === "tags" ? /* @__PURE__ */ (0, O.jsx)(q, {variant: t ? "primary" : "ghost",iconOnly: !0,className: "flex-none","data-tag-mode": "",- leadingIcon: Hz("pencil"),+ leadingIcon: Vz("pencil"),"aria-label": t ? "返回标签浏览" : "管理标签",title: t ? "返回标签浏览" : "管理标签","aria-pressed": t,@@ -64163,7 +64163,7 @@ function vCe(e) {e.exitSelectMode(), c(/* @__PURE__ */ new Set()), n(!t);}}) : null,- /* @__PURE__ */ (0, O.jsx)(_Ce, {+ /* @__PURE__ */ (0, O.jsx)(vCe, {label: `过滤${_}`,value: p,onQuery: (e) => {@@ -64172,8 +64172,8 @@ function vCe(e) {})]}),- f === "performers" || f === "creators" ? /* @__PURE__ */ (0, O.jsx)(VQ, {- tabs: pCe,+ f === "performers" || f === "creators" ? /* @__PURE__ */ (0, O.jsx)(BQ, {+ tabs: mCe,value: y ? "online" : f,label: "人物名册",onChange: (t) => {@@ -64185,7 +64185,7 @@ function vCe(e) {}}) : null,re,- t && f === "tags" ? /* @__PURE__ */ (0, O.jsx)(uCe, {+ t && f === "tags" ? /* @__PURE__ */ (0, O.jsx)(dCe, {scope: m,search: p,category: g,@@ -64199,8 +64199,8 @@ function vCe(e) {}, m) : /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [f === "performers" && m === "local" ? /* @__PURE__ */ (0, O.jsx)("div", {"aria-label": "身份分类",- className: tZ,- children: eZ.filter((e) => e[0] === g || te(e)).map(([e, t]) => /* @__PURE__ */ (0, O.jsx)(q, {+ className: eZ,+ children: $X.filter((e) => e[0] === g || te(e)).map(([e, t]) => /* @__PURE__ */ (0, O.jsx)(q, {variant: g === e ? "primary" : "secondary",size: "small","aria-pressed": g === e,@@ -64208,7 +64208,7 @@ function vCe(e) {children: t}, e))}) : null,- f === "tags" ? /* @__PURE__ */ (0, O.jsx)(qQ, {+ f === "tags" ? /* @__PURE__ */ (0, O.jsx)(KQ, {categories: ae,category: g,online: v,@@ -64233,8 +64233,8 @@ function vCe(e) {mode: h}) }});- if (w.isError) return /* @__PURE__ */ (0, O.jsx)(Bz, {- icon: Hz("alert"),+ if (w.isError) return /* @__PURE__ */ (0, O.jsx)(zz, {+ icon: Vz("alert"),title: `没能读取${_}`,actions: /* @__PURE__ */ (0, O.jsx)(q, {variant: "secondary",@@ -64243,7 +64243,7 @@ function vCe(e) {}),children: Wt(w.error)});- if (!T.length) return /* @__PURE__ */ (0, O.jsx)(bCe, {+ if (!T.length) return /* @__PURE__ */ (0, O.jsx)(xCe, {kind: f,filtered: !!p || g !== "all",online: v || y,@@ -64252,12 +64252,12 @@ function vCe(e) {category: "all"})});- if (y) return /* @__PURE__ */ (0, O.jsx)(Qbe, {+ if (y) return /* @__PURE__ */ (0, O.jsx)($be, {items: T,layout: a,props: e});- if (oZ(f)) return /* @__PURE__ */ (0, O.jsx)(yZ, {+ if (aZ(f)) return /* @__PURE__ */ (0, O.jsx)(vZ, {kind: f,items: T,layout: a,@@ -64268,10 +64268,10 @@ function vCe(e) {picked: s,press: ie};- return h === "alphabet" ? /* @__PURE__ */ (0, O.jsx)(GQ, {+ return h === "alphabet" ? /* @__PURE__ */ (0, O.jsx)(WQ, {groups: ne,actions: t- }) : /* @__PURE__ */ (0, O.jsx)(KQ, {+ }) : /* @__PURE__ */ (0, O.jsx)(GQ, {tags: P,actions: t});@@ -64292,7 +64292,7 @@ function vCe(e) {}) : null, "载入更多"]})}) : null,- f === "tags" && !v && e.selectMode ? /* @__PURE__ */ (0, O.jsx)(oCe, {+ f === "tags" && !v && e.selectMode ? /* @__PURE__ */ (0, O.jsx)(sCe, {count: s.size,match: l,onMatch: u,@@ -64306,16 +64306,16 @@ function vCe(e) {]});}-var yCe = {+var bCe = {tags: "标签",performers: "艺人",creators: "卖家",studios: "厂牌",agencies: "事务所"};-function bCe({ kind: e, filtered: t, online: n, onClear: r }) {- if (t) return /* @__PURE__ */ (0, O.jsx)(Bz, {- icon: Hz("search"),+function xCe({ kind: e, filtered: t, online: n, onClear: r }) {+ if (t) return /* @__PURE__ */ (0, O.jsx)(zz, {+ icon: Vz("search"),title: "没有符合条件的内容",actions: /* @__PURE__ */ (0, O.jsx)(q, {size: "small",@@ -64324,16 +64324,16 @@ function bCe({ kind: e, filtered: t, online: n, onClear: r }) {}),children: "清除筛选或搜索条件后查看全部内容。"});- let i = n && e === "performers" ? "创作者" : yCe[e], a = /* @__PURE__ */ (0, O.jsx)(mI, {+ let i = n && e === "performers" ? "创作者" : bCe[e], a = /* @__PURE__ */ (0, O.jsx)(pI, {size: "small",variant: n ? "primary" : "secondary",href: "/subscriptions?tab=add",children: "添加关注"});- return /* @__PURE__ */ (0, O.jsx)(Bz, {- icon: Hz(e === "tags" ? "tags" : "user-round"),+ return /* @__PURE__ */ (0, O.jsx)(zz, {+ icon: Vz(e === "tags" ? "tags" : "user-round"),title: `还没有${i}`,- actions: n ? a : /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)(mI, {+ actions: n ? a : /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)(pI, {size: "small",href: "/settings/library",children: "添加媒体"@@ -64341,15 +64341,15 @@ function bCe({ kind: e, filtered: t, online: n, onClear: r }) {children: n ? `添加关注来源并获取内容后,这里会显示来源上的${i}。` : "添加内容并补充资料后,这里会显示对应信息。"});}-var i$ = {+var r$ = {video: ["视频", "play"],image: ["图片", "pics"],archive: ["压缩包", "file-archive"],audio: ["音频", "file-audio"],url: ["网址快捷方式", "globe"],other: ["其它文件", "hard-drive"]-}, xCe = (e) => i$[e.junk_kind || "other"] || i$.other;-function SCe(e) {+}, SCe = (e) => r$[e.junk_kind || "other"] || r$.other;+function CCe(e) {return e === "dismissed" ? {operation: "reconsider-junk",label: "重新判断",@@ -64360,21 +64360,21 @@ function SCe(e) {glyph: "check"};}-var a$ = (e, t) => Number((t ? e.counts?.[t] : e.all_total) || 0), CCe = (e, t) => [+var i$ = (e, t) => Number((t ? e.counts?.[t] : e.all_total) || 0), wCe = (e, t) => ["junk-queue",e.view,e.kind,t];-function wCe({ kind: e, view: t }) {+function TCe({ kind: e, view: t }) {let n = new URLSearchParams({limit: "200",status: t});return e && n.set("kind", e), n.toString();}-async function TCe(e, t) {- let n = await B(`/api/ads?${wCe(e)}`, t);+async function ECe(e, t) {+ let n = await B(`/api/ads?${TCe(e)}`, t);return {...n,items: n.items || []@@ -64382,19 +64382,19 @@ async function TCe(e, t) {}//#endregion//#region src/react/junk-queue/junk-card.tsx-function o$({ name: e }) {+function a$({ name: e }) {return /* @__PURE__ */ (0, O.jsx)("svg", {viewBox: "0 0 24 24","aria-hidden": "true",children: /* @__PURE__ */ (0, O.jsx)("use", { href: `#i-${e}` })});}-var s$ = (e, t) => e || t.shiftKey || t.ctrlKey || t.metaKey;-function ECe({ item: e, view: t, selected: n, selectMode: r, helpers: i, actions: a }) {- let o = (0, D.useRef)(null), [s, c] = (0, D.useState)(""), [l, u] = (0, D.useState)(""), d = e.junk_kind || "other", [f, p] = xCe(e), m = String(e.name || ""), h = SCe(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]") || s$(r, t) && (t.preventDefault(), a.toggleSelection(e.id, t.shiftKey));+var o$ = (e, t) => e || t.shiftKey || t.ctrlKey || t.metaKey;+function DCe({ item: e, view: t, selected: n, selectMode: r, helpers: i, actions: a }) {+ let o = (0, D.useRef)(null), [s, c] = (0, D.useState)(""), [l, u] = (0, D.useState)(""), d = e.junk_kind || "other", [f, p] = SCe(e), m = String(e.name || ""), h = CCe(t), g = d === "video" ? `/thumb?id=${e.id}&c=4` : d === "image" ? `/photo-thumb?id=${e.id}` : "", _ = d === "video" || d === "image", v = (t) => {+ t.target.closest("[data-junk-actions]") || o$(r, t) && (t.preventDefault(), a.toggleSelection(e.id, t.shiftKey));}, y = (t) => {- t.stopPropagation(), s$(r, t) ? (t.preventDefault(), a.toggleSelection(e.id, t.shiftKey)) : o.current && a.open(e, o.current);+ t.stopPropagation(), o$(r, t) ? (t.preventDefault(), a.toggleSelection(e.id, t.shiftKey)) : o.current && a.open(e, o.current);}, b = (t) => {t.preventDefault(), t.stopPropagation(), s !== "reveal" && (c("reveal"), u(""), a.reveal(e).then(u, () => {}).finally(() => c("")));}, x = (t) => (n) => {@@ -64425,7 +64425,7 @@ function ECe({ item: e, view: t, selected: n, selectMode: r, helpers: i, actions"data-junk-kind": d,"data-selected": n ? "" : void 0,onClick: v,- onMouseDown: HW,+ onMouseDown: VW,children: [/* @__PURE__ */ (0, O.jsxs)("div", {"data-media-pic": "",@@ -64433,7 +64433,7 @@ function ECe({ item: e, view: t, selected: n, selectMode: r, helpers: i, actionschildren: [/* @__PURE__ */ (0, O.jsxs)("span", {"data-media-glyph": "",- children: [/* @__PURE__ */ (0, O.jsx)(o$, { name: p }), /* @__PURE__ */ (0, O.jsx)("b", { children: f })]+ children: [/* @__PURE__ */ (0, O.jsx)(a$, { name: p }), /* @__PURE__ */ (0, O.jsx)("b", { children: f })]}),g ? /* @__PURE__ */ (0, O.jsx)("span", {"data-media-art": "thumb",@@ -64445,7 +64445,7 @@ function ECe({ item: e, view: t, selected: n, selectMode: r, helpers: i, actions}),/* @__PURE__ */ (0, O.jsx)("span", {"data-media-check": "",- children: /* @__PURE__ */ (0, O.jsx)(o$, { name: "check" })+ children: /* @__PURE__ */ (0, O.jsx)(a$, { name: "check" })})]}),@@ -64482,7 +64482,7 @@ function ECe({ item: e, view: t, selected: n, selectMode: r, helpers: i, actionschildren: [s === "reveal" ? /* @__PURE__ */ (0, O.jsx)("span", {"data-junk-spinner": "",dangerouslySetInnerHTML: { __html: rs("正在定位") }- }) : /* @__PURE__ */ (0, O.jsx)(o$, { name: "folder-open" }), /* @__PURE__ */ (0, O.jsx)("span", {+ }) : /* @__PURE__ */ (0, O.jsx)(a$, { name: "folder-open" }), /* @__PURE__ */ (0, O.jsx)("span", {"data-junk-label": "",children: "打开位置"})]@@ -64494,7 +64494,7 @@ function ECe({ item: e, view: t, selected: n, selectMode: r, helpers: i, actions"aria-label": h.label,...S(h.operation),onClick: x(h.operation),- children: [/* @__PURE__ */ (0, O.jsx)(o$, { name: h.glyph }), /* @__PURE__ */ (0, O.jsx)("span", {+ children: [/* @__PURE__ */ (0, O.jsx)(a$, { name: h.glyph }), /* @__PURE__ */ (0, O.jsx)("span", {"data-junk-label": "",children: h.label})]@@ -64506,7 +64506,7 @@ function ECe({ item: e, view: t, selected: n, selectMode: r, helpers: i, actions"aria-label": "移入回收站",...S("dispose"),onClick: x("dispose"),- children: [/* @__PURE__ */ (0, O.jsx)(o$, { name: "trash" }), /* @__PURE__ */ (0, O.jsx)("span", {+ children: [/* @__PURE__ */ (0, O.jsx)(a$, { name: "trash" }), /* @__PURE__ */ (0, O.jsx)("span", {"data-junk-label": "",children: "移入回收站"})]@@ -64521,7 +64521,7 @@ function ECe({ item: e, view: t, selected: n, selectMode: r, helpers: i, actions]});}-var DCe = (0, D.memo)(ECe), c$ = [+var OCe = (0, D.memo)(DCe), s$ = [["","全部",@@ -64557,41 +64557,41 @@ var DCe = (0, D.memo)(ECe), c$ = ["其它","hard-drive"]-], OCe = (e) => c$.find(([t]) => t === e)?.[0] ?? "";-function l$(e) {+], kCe = (e) => s$.find(([t]) => t === e)?.[0] ?? "";+function c$(e) {let t = new URLSearchParams(e);return {- kind: OCe(t.get("type")),+ kind: kCe(t.get("type")),view: t.get("view") === "dismissed" ? "dismissed" : "pending"};}-function u$(e = "", t = "pending") {+function l$(e = "", t = "pending") {let n = new URLSearchParams();e && n.set("type", e), t === "dismissed" && n.set("view", "dismissed");let r = n.toString();return `/junk-files${r ? `?${r}` : ""}`;}-function d$(e) {+function u$(e) {return e === "dismissed" ? {view: "pending",label: "返回待判断",glyph: "rotate-ccw",- href: u$("", "pending")+ href: l$("", "pending")} : {view: "dismissed",label: "已排除",glyph: "eye-off",- href: u$("", "dismissed")+ href: l$("", "dismissed")};}-var f$ = (e) => e === "dismissed" ? "已排除" : "待判断", p$ = (e) => `<svg viewBox="0 0 24 24" aria-hidden="true"><use href="#i-${e}"></use></svg>`;-function kCe({ kind: e, view: t }) {- let n = c$.map(([n, r, i]) => `<a href="${u$(n, t)}" data-junk-kind-link="${n}"${n === e ? " aria-current=\"page\"" : ""}>${p$(i)}${z(r)}</a>`).join(""), r = d$(t);- return `<div class="peach-react" data-junk-count-skeleton=""><div data-junk-count=""><div data-junk-summary="" aria-live="polite">${$o(f$(t))}</div><div data-junk-filters-frame="" data-filter-glass="" data-glass-pane=""><span data-view-glide="" aria-hidden="true" hidden></span><nav data-junk-filters="" aria-label="垃圾文件分类">${n}<i data-junk-divider="" aria-hidden="true"></i><a href="${r.href}" data-junk-view-link="${r.view}"${t === "dismissed" ? " aria-current=\"page\"" : ""}>${p$(r.glyph)}${r.label}</a></nav></div></div></div>`;+var d$ = (e) => e === "dismissed" ? "已排除" : "待判断", f$ = (e) => `<svg viewBox="0 0 24 24" aria-hidden="true"><use href="#i-${e}"></use></svg>`;+function ACe({ kind: e, view: t }) {+ let n = s$.map(([n, r, i]) => `<a href="${l$(n, t)}" data-junk-kind-link="${n}"${n === e ? " aria-current=\"page\"" : ""}>${f$(i)}${z(r)}</a>`).join(""), r = u$(t);+ return `<div class="peach-react" data-junk-count-skeleton=""><div data-junk-count=""><div data-junk-summary="" aria-live="polite">${$o(d$(t))}</div><div data-junk-filters-frame="" data-filter-glass="" data-glass-pane=""><span data-view-glide="" aria-hidden="true" hidden></span><nav data-junk-filters="" aria-label="垃圾文件分类">${n}<i data-junk-divider="" aria-hidden="true"></i><a href="${r.href}" data-junk-view-link="${r.view}"${t === "dismissed" ? " aria-current=\"page\"" : ""}>${f$(r.glyph)}${r.label}</a></nav></div></div></div>`;}//#endregion//#region src/react/components/collection-summary.tsx-function m$({ label: e, figure: t, detail: n = "", pending: r = !1, flush: i = !1 }) {+function p$({ label: e, figure: t, detail: n = "", pending: r = !1, flush: i = !1 }) {return /* @__PURE__ */ (0, O.jsxs)("div", {"data-collection-summary": "",className: `${i ? "" : "mb-5 "}flex items-end justify-between gap-4 rounded-surface bg-background-secondary-default px-6 py-5@@ -64618,31 +64618,31 @@ function m$({ label: e, figure: t, detail: n = "", pending: r = !1, flush: i = !}//#endregion//#region src/react/junk-queue/junk-count.tsx-function h$({ name: e }) {+function m$({ name: e }) {return /* @__PURE__ */ (0, O.jsx)("svg", {viewBox: "0 0 24 24","aria-hidden": "true",children: /* @__PURE__ */ (0, O.jsx)("use", { href: `#i-${e}` })});}-function g$({ scope: e, count: t }) {+function h$({ scope: e, count: t }) {return t ? /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [" ", /* @__PURE__ */ (0, O.jsx)("span", {"data-count-badge": `junk:${e}`,children: t.toLocaleString()})] }) : null;}-function ACe({ route: e, page: t, failed: n, onNavigate: r }) {- let i = cV(), a = (0, D.useRef)(null), { kind: o, view: s } = e, c = fI(a, i, "[data-junk-kind-link][aria-current=\"page\"]", `${s}:${o}:${t ? c$.map(([e]) => a$(t, e)).join(",") : ""}`), l = d$(s), u = (e) => {+function jCe({ route: e, page: t, failed: n, onNavigate: r }) {+ let i = sV(), a = (0, D.useRef)(null), { kind: o, view: s } = e, c = dI(a, i, "[data-junk-kind-link][aria-current=\"page\"]", `${s}:${o}:${t ? s$.map(([e]) => i$(t, e)).join(",") : ""}`), l = u$(s), u = (e) => {let t = e.target.closest("a");- !t || e.button !== 0 || e.metaKey || e.ctrlKey || e.shiftKey || e.altKey || (e.preventDefault(), r(t.getAttribute("href") || u$()));+ !t || e.button !== 0 || e.metaKey || e.ctrlKey || e.shiftKey || e.altKey || (e.preventDefault(), r(t.getAttribute("href") || l$()));}, d = t ? `${Number(t.total || 0).toLocaleString()} 个` : n ? "—" : "";return /* @__PURE__ */ (0, O.jsxs)("div", {"data-junk-count": "",children: [/* @__PURE__ */ (0, O.jsx)("div", {"data-junk-summary": "","aria-live": "polite",- children: /* @__PURE__ */ (0, O.jsx)(m$, {- label: f$(s),+ children: /* @__PURE__ */ (0, O.jsx)(p$, {+ label: d$(s),figure: d,pending: !t && !n,flush: !0@@ -64662,17 +64662,17 @@ function ACe({ route: e, page: t, failed: n, onNavigate: r }) {onClick: u,onPointerLeave: c.leave,children: [- c$.map(([e, n, r]) => /* @__PURE__ */ (0, O.jsxs)("a", {- href: u$(e, s),+ s$.map(([e, n, r]) => /* @__PURE__ */ (0, O.jsxs)("a", {+ href: l$(e, s),"data-junk-kind-link": e,"aria-current": e === o ? "page" : void 0,onPointerEnter: c.hover,children: [- /* @__PURE__ */ (0, O.jsx)(h$, { name: r }),+ /* @__PURE__ */ (0, O.jsx)(m$, { name: r }),n,- /* @__PURE__ */ (0, O.jsx)(g$, {+ /* @__PURE__ */ (0, O.jsx)(h$, {scope: e,- count: t ? a$(t, e) : 0+ count: t ? i$(t, e) : 0})]}, e || "all")),@@ -64686,9 +64686,9 @@ function ACe({ route: e, page: t, failed: n, onNavigate: r }) {"aria-current": s === "dismissed" ? "page" : void 0,onPointerEnter: s === "dismissed" ? void 0 : c.hover,children: [- /* @__PURE__ */ (0, O.jsx)(h$, { name: l.glyph }),+ /* @__PURE__ */ (0, O.jsx)(m$, { name: l.glyph }),l.label,- /* @__PURE__ */ (0, O.jsx)(g$, {+ /* @__PURE__ */ (0, O.jsx)(h$, {scope: "dismissed",count: Number(t?.dismissed_total || 0)})@@ -64701,33 +64701,33 @@ function ACe({ route: e, page: t, failed: n, onNavigate: r }) {}//#endregion//#region src/react/junk-queue/junk-queue-page.tsx-var jCe = Hz("check"), MCe = (e, t) => e[1] === t.view && e[2] === t.kind;-function NCe(e) {+var MCe = Vz("check"), NCe = (e, t) => e[1] === t.view && e[2] === t.kind;+function PCe(e) {let t = {kind: e.kind,view: e.view}, n = Ct({- queryKey: CCe(t, e.revision),- queryFn: ({ signal: e }) => TCe(t, e),- placeholderData: (e, n) => n && MCe(n.queryKey, t) ? e : void 0+ queryKey: wCe(t, e.revision),+ queryFn: ({ signal: e }) => ECe(t, e),+ placeholderData: (e, n) => n && NCe(n.queryKey, t) ? e : void 0});(0, D.useEffect)(() => {n.isFetching || e.settled?.(e.revision);}, [n.isFetching, e.revision]);- let r = PCe(e.countRow), i = n.isPending;+ let r = FCe(e.countRow), i = n.isPending;(0, D.useLayoutEffect)(() => {let t = e.countRow;t && (i ? t.setAttribute("aria-busy", "true") : t.removeAttribute("aria-busy"));}, [e.countRow, i]), (0, D.useLayoutEffect)(() => {r && n.data && hs(r, "junk");}, [r, n.data]);- let { navigate: a } = e.actions, o = r ? (0, Et.createPortal)(/* @__PURE__ */ (0, O.jsx)(ACe, {+ let { navigate: a } = e.actions, o = r ? (0, Et.createPortal)(/* @__PURE__ */ (0, O.jsx)(jCe, {route: t,page: n.data,failed: n.isError && !n.data,onNavigate: a}), r) : null;- return /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [o, /* @__PURE__ */ (0, O.jsx)(FCe, {+ return /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [o, /* @__PURE__ */ (0, O.jsx)(ICe, {props: e,data: n.data,pending: i,@@ -64735,7 +64735,7 @@ function NCe(e) {retry: () => void n.refetch()}, `${t.view}:${t.kind}`)] });}-function PCe(e) {+function FCe(e) {let [t, n] = (0, D.useState)(null);return (0, D.useLayoutEffect)(() => {if (!e) return;@@ -64745,8 +64745,8 @@ function PCe(e) {};}, [e]), t;}-function FCe({ props: e, data: t, pending: n, error: r, retry: i }) {- let a = _W(n, e.skeletonHtml), o = Math.max(1, e.batchSize || 60), [s, c] = (0, D.useState)(1), l = t?.items || [], u = l.slice(0, s * o), { canLoadMore: d } = e, f = (0, D.useCallback)(() => {+function ICe({ props: e, data: t, pending: n, error: r, retry: i }) {+ let a = gW(n, e.skeletonHtml), o = Math.max(1, e.batchSize || 60), [s, c] = (0, D.useState)(1), l = t?.items || [], u = l.slice(0, s * o), { canLoadMore: d } = e, f = (0, D.useCallback)(() => {d?.() !== !1 && c((e) => e + 1);}, [d]);return /* @__PURE__ */ (0, O.jsxs)("div", {@@ -64754,16 +64754,16 @@ function FCe({ props: e, data: t, pending: n, error: r, retry: i }) {"data-grid-reveal": a.fading ? "" : void 0,children: [a.layer, (() => {if (n) return null;- if (!t) return /* @__PURE__ */ (0, O.jsx)(vW, {+ if (!t) return /* @__PURE__ */ (0, O.jsx)(_W, {message: Wt(r),onRetry: i});if (!l.length) {let t = e.view === "dismissed";- return /* @__PURE__ */ (0, O.jsx)(Bz, {- icon: jCe,+ return /* @__PURE__ */ (0, O.jsx)(zz, {+ icon: MCe,title: t ? "没有已排除的文件" : "没有待判断的垃圾文件",- actions: t ? /* @__PURE__ */ (0, O.jsx)(mI, {+ actions: t ? /* @__PURE__ */ (0, O.jsx)(pI, {size: "small",href: "/junk-files",children: "查看待判断"@@ -64776,7 +64776,7 @@ function FCe({ props: e, data: t, pending: n, error: r, retry: i }) {"data-media-grid": "","data-junk-grid": "","data-select-mode": e.selectMode ? "" : void 0,- children: u.map((t) => /* @__PURE__ */ (0, O.jsx)(DCe, {+ children: u.map((t) => /* @__PURE__ */ (0, O.jsx)(OCe, {item: t,view: e.view,selected: e.selected.has(t.id),@@ -64785,7 +64785,7 @@ function FCe({ props: e, data: t, pending: n, error: r, retry: i }) {actions: e.actions}, t.id))}),- u.length < l.length ? /* @__PURE__ */ (0, O.jsx)(ICe, { onMore: f }, s) : null,+ u.length < l.length ? /* @__PURE__ */ (0, O.jsx)(LCe, { onMore: f }, s) : null,u.length >= l.length && Number(t.total || 0) > l.length ? /* @__PURE__ */ (0, O.jsx)("p", {"data-junk-truncated": "",className: "py-6 text-center text-caption-1-regular text-text-secondary",@@ -64795,14 +64795,14 @@ function FCe({ props: e, data: t, pending: n, error: r, retry: i }) {})()]});}-function ICe({ onMore: e }) {+function LCe({ onMore: e }) {let t = (0, D.useRef)(null);return (0, D.useEffect)(() => {let n = t.current;if (!n || typeof IntersectionObserver > "u") return;let r = new IntersectionObserver((t) => {t.some((e) => e.isIntersecting) && e();- }, { rootMargin: gW });+ }, { rootMargin: hW });return r.observe(n), () => r.disconnect();}, [e]), /* @__PURE__ */ (0, O.jsx)("div", {ref: t,@@ -64813,18 +64813,18 @@ function ICe({ onMore: e }) {}//#endregion//#region src/react/wants/wants.ts-var _$ = "/api/wants", v$ = ["wants"], LCe = (e) => [+var g$ = "/api/wants", _$ = ["wants"], RCe = (e) => ["wants","follow",e-], RCe = [+], zCe = [["searching", "待找"],["unreleased", "未发售"],["given_up", "暂时放弃"],["acquired", "已入库"]-], y$ = (e) => B(_$, e);-function zCe(e, t) {- H.setQueryData(v$, (n) => n?.items.some((n) => n.id === e && n.has_magnets !== t) ? {+], v$ = (e) => B(g$, e);+function BCe(e, t) {+ H.setQueryData(_$, (n) => n?.items.some((n) => n.id === e && n.has_magnets !== t) ? {...n,items: n.items.map((n) => n.id === e ? {...n,@@ -64832,39 +64832,39 @@ function zCe(e, t) {} : n)} : n);}-var BCe = (e, t) => B(`${_$}?follow=${encodeURIComponent(e)}`, t), b$ = (e, t) => V(_$, {+var VCe = (e, t) => B(`${g$}?follow=${encodeURIComponent(e)}`, t), y$ = (e, t) => V(g$, {action: "add",...e-}, "POST", t), x$ = (e, t) => V(_$, {+}, "POST", t), b$ = (e, t) => V(g$, {action: "remove",ids: e-}, "POST", t), VCe = (e, t) => V(_$, {+}, "POST", t), HCe = (e, t) => V(g$, {action: "reset",ids: e-}, "POST", t), S$ = () => H.invalidateQueries({ queryKey: v$ }), HCe = (e) => e.code || e.title || `关注条目 ${e.follow_item_id ?? e.id}`;-function UCe(e) {+}, "POST", t), x$ = () => H.invalidateQueries({ queryKey: _$ }), UCe = (e) => e.code || e.title || `关注条目 ${e.follow_item_id ?? e.id}`;+function WCe(e) {return e.phase === "acquired" ? e.acquired_at ? `入库于 ${e.acquired_at.slice(0, 10)}` : "已入库" : e.phase === "unreleased" ? e.release_date ? `${e.release_date} 发售` : "还没发售" : e.phase === "given_up" ? `查过 ${e.search_count} 次都没找到` : e.fresh ? "新片:查不到也一直留在待找" : e.search_count ? `查过 ${e.search_count} 次` : "还没查过";}//#endregion//#region src/react/jav/jav-navigation.ts-var C$ = [+var S$ = [["library", "馆藏"],["discover", "发现"],["wants", "想要"]-], w$ = (e) => C$.some(([t]) => t === e) ? e : "library", WCe = (e) => w$(e) === "library" ? "/?jav=1" : `/jav?tab=${e}`;-function GCe(e) {+], C$ = (e) => S$.some(([t]) => t === e) ? e : "library", GCe = (e) => C$(e) === "library" ? "/?jav=1" : `/jav?tab=${e}`;+function KCe(e) {let t = new URLSearchParams(e);return t.delete("tab"), t.set("jav", "1"), "/?" + t;}//#endregion//#region src/react/jav/jav.ts-var T$ = (e, t = "taste", n = "desc") => [+var w$ = (e, t = "taste", n = "desc") => ["jav-discoveries",e,t,n];-function E$(e, t, n = {}) {+function T$(e, t, n = {}) {let r = new URLSearchParams({scope: e,limit: "100",@@ -64873,7 +64873,7 @@ function E$(e, t, n = {}) {});return n.jobId && r.set("metadata_job_id", n.jobId), n.refreshMetadata && r.set("metadata_refresh", "1"), n.cancelMetadata && r.set("metadata_cancel", "1"), B(`/api/jav/discoveries?${r}`, t);}-function KCe(e, t, n) {+function qCe(e, t, n) {let r = Ga({...e,is_jav: !0@@ -64882,84 +64882,84 @@ function KCe(e, t, n) {let i = z(Na(e));return Ua(e, t).replace(/ src="[^"]*"/, ` src="${i}" data-jav-image="${e.id}" data-jav-cover="${i}" data-jav-thumb="" data-jav-image-layout="${t}"${t === "big" ? " data-panel-prior=\"1\"" : ""}`).replace("data-drop=\"self\"", "data-drop=\"initial\" data-initial=\"封面未取得\" data-drop-class=\"media-nopic\"");}-async function qCe(e, t) {+async function JCe(e, t) {e === "wants" ? await H.ensureQueryData({- queryKey: v$,- queryFn: () => y$(t),+ queryKey: _$,+ queryFn: () => v$(t),staleTime: 3e4,revalidateIfStale: !0}) : e === "discover" && await H.ensureQueryData({- queryKey: T$("external"),- queryFn: () => E$("external", t),+ queryKey: w$("external"),+ queryFn: () => T$("external", t),staleTime: 3e4,revalidateIfStale: !0});}//#endregion//#region src/react/components/fieldset-layout.ts-var D$ = IH({+var E$ = FH({padding: "none",bordered: "line",className: "overflow-hidden"-}), O$ = {+}), D$ = {split: "min-w-0 p-6",stack: "flex min-h-30 min-w-0 flex-1 flex-col px-5 pt-5 pb-4 max-cleanup-tight:min-h-0 max-cleanup-tight:p-4.5"-}, k$ = {+}, O$ = {split: "flex flex-wrap items-center justify-end gap-2 self-stretch p-6 max-[1001px]:justify-start max-[1001px]:pt-0",stack: "flex min-h-14 flex-wrap items-center justify-end gap-2 border-t border-border-button-default bg-card-footer px-5 py-3 max-cleanup-tight:px-4.5"};-function A$(e) {- return `${D$} ${e === "split" ? "fieldset-split" : "flex flex-col"}`;+function k$(e) {+ return `${E$} ${e === "split" ? "fieldset-split" : "flex flex-col"}`;}//#endregion//#region src/management.ts-var j$ = "扫描文件并更新馆藏,读取本地资料、补齐缺失资料和封面,按设置生成视频预览。", M$ = "部分视频文件可能播放卡顿、打不开,修复缺时间戳表和缺索引的问题。", N$ = "<span class=\"skeleton skeleton-text\" aria-hidden=\"true\"></span>", P$ = "disabled data-skeleton-action", JCe = "aria-disabled=\"true\"", F$ = (e) => `<div class="peach-react"><div class="flex flex-col gap-4">${e}</div></div>`, I$ = (e, t, n) => `<div class="${O$[n]}"><div class="flex flex-col gap-2">+var A$ = "扫描文件并更新馆藏,读取本地资料、补齐缺失资料和封面,按设置生成视频预览。", j$ = "部分视频文件可能播放卡顿、打不开,修复缺时间戳表和缺索引的问题。", M$ = "<span class=\"skeleton skeleton-text\" aria-hidden=\"true\"></span>", N$ = "disabled data-skeleton-action", YCe = "aria-disabled=\"true\"", P$ = (e) => `<div class="peach-react"><div class="flex flex-col gap-4">${e}</div></div>`, F$ = (e, t, n) => `<div class="${D$[n]}"><div class="flex flex-col gap-2"><h3 class="text-title-2-medium text-text-primary">${e}</h3><p class="text-body-2-regular text-text-secondary">${t}</p></div></div>`;-function YCe() {- return F$(`<section aria-label="扫描与采集" class="${A$("stack")}" data-cleanup-task data-cleanup-processing>- ${I$("扫描与采集", j$, "stack")}- <footer class="${k$.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>${Ho("arrow-up", "size-(--icon-inline) shrink-0 rotate-90")}</a><span data-button-group data-split-button data-variant="primary">${Go({+function XCe() {+ return P$(`<section aria-label="扫描与采集" class="${k$("stack")}" data-cleanup-task data-cleanup-processing>+ ${F$("扫描与采集", A$, "stack")}+ <footer class="${O$.stack}"><a href="/sources" class="inline-flex items-center justify-center gap-1 whitespace-nowrap font-sans rounded-sm text-body-medium text-accent-600"><span>来源和凭证</span>${Ho("arrow-up", "size-(--icon-inline) shrink-0 rotate-90")}</a><span data-button-group data-split-button data-variant="primary">${Go({label: "同步媒体库",- attrs: P$+ attrs: N$})}${Go({glyph: "chevron-down",- attrs: `${P$} aria-label="更多同步方式"`+ attrs: `${N$} aria-label="更多同步方式"`})}</span></footer></section>`);}-function XCe() {- return F$(`<section aria-label="媒体修复" class="${A$("split")}" data-cleanup-task data-cleanup-processing>- ${I$("媒体修复", M$, "split")}- <footer class="${k$.split}">${qo(N$, {+function ZCe() {+ return P$(`<section aria-label="媒体修复" class="${k$("split")}" data-cleanup-task data-cleanup-processing>+ ${F$("媒体修复", j$, "split")}+ <footer class="${O$.split}">${qo(M$, {className: "w-48",- attrs: JCe+ attrs: YCe})}${Go({label: "开始修复",- attrs: P$+ attrs: N$})}</footer></section>`);}-function L$() {+function I$() {let e = [["人工复核", "square-check-big"],["高清版", "sparkles"],["重复文件", "file-stack"],["垃圾文件", "file-archive"],["回收站", "trash"]- ], t = D$, n = O$.stack, r = (e, t = "mb-2") => `<h3 class="text-title-2-medium text-text-primary ${t}">${e}</h3>`, i = (e) => `<footer class="${k$.stack}">${Go({+ ], t = E$, n = D$.stack, r = (e, t = "mb-2") => `<h3 class="text-title-2-medium text-text-primary ${t}">${e}</h3>`, i = (e) => `<footer class="${O$.stack}">${Go({label: e,- attrs: P$+ attrs: N$})}</footer>`, a = (e) => `<div class="flex flex-col gap-1.5"><span class="text-body-medium text-text-primary">${e}</span><span class="skeleton ui-configuration-skeleton-input"></span></div>`;return `<div class="peach-react" data-skeleton="cleanup" aria-busy="true" role="status" aria-label="正在读取数据管理状态"><div aria-hidden="true" inert class="mx-auto flex w-full max-w-board flex-col gap-8">- <div class="inline-grid w-full grid-cols-5 gap-4 max-plain-stat-pair:grid-cols-2 max-plain-stat-single:grid-cols-1">${e.map(([e, t]) => `<div class="min-w-0 bg-background-secondary-default rounded-2xl flex min-h-33 flex-col gap-2 p-4 text-left"><span class="flex min-w-0 items-center gap-2 text-body-medium text-text-secondary"><i class="flex size-8 shrink-0 items-center justify-center rounded-md bg-background-primary-default text-text-primary">${Ho(t, "size-4")}</i>${e}</span><strong class="text-title-1-medium">${N$}</strong><span class="text-caption-1-regular">${N$}</span></div>`).join("")}</div>+ <div class="inline-grid w-full grid-cols-5 gap-4 max-plain-stat-pair:grid-cols-2 max-plain-stat-single:grid-cols-1">${e.map(([e, t]) => `<div class="min-w-0 bg-background-secondary-default rounded-2xl flex min-h-33 flex-col gap-2 p-4 text-left"><span class="flex min-w-0 items-center gap-2 text-body-medium text-text-secondary"><i class="flex size-8 shrink-0 items-center justify-center rounded-md bg-background-primary-default text-text-primary">${Ho(t, "size-4")}</i>${e}</span><strong class="text-title-1-medium">${M$}</strong><span class="text-caption-1-regular">${M$}</span></div>`).join("")}</div><div class="flex flex-col gap-4 max-cleanup-tight:gap-3">- <div id="libraryProcessing">${YCe()}</div><div id="mediaRepair">${XCe()}</div>+ <div id="libraryProcessing">${XCe()}</div><div id="mediaRepair">${ZCe()}</div><section id="organize" class="${t} flex flex-col" data-cleanup-organize><div class="${n}">${r("整理", "mb-3")}<p class="text-body-regular text-text-secondary">清理文件名中的特殊符号与乱码,也可按模板改名并归入目录。先预览,确认后执行;执行过的一批可以整批退回。</p>- <div class="mt-3 flex flex-col gap-3"><div class="flex min-w-0 flex-wrap items-start gap-2">${qo(N$)}<span class="skeleton ui-configuration-skeleton-input min-w-0 basis-64 flex-1"></span></div><p class="text-caption-1-regular text-text-secondary">指定路径时包含子目录,目录模板以该路径为起点。模板均留空时只清理文件名。</p>${a("文件名模板")}${a("目录模板")}<div class="flex flex-wrap gap-2">${Array.from({ length: 3 }, () => Go({+ <div class="mt-3 flex flex-col gap-3"><div class="flex min-w-0 flex-wrap items-start gap-2">${qo(M$)}<span class="skeleton ui-configuration-skeleton-input min-w-0 basis-64 flex-1"></span></div><p class="text-caption-1-regular text-text-secondary">指定路径时包含子目录,目录模板以该路径为起点。模板均留空时只清理文件名。</p>${a("文件名模板")}${a("目录模板")}<div class="flex flex-wrap gap-2">${Array.from({ length: 3 }, () => Go({variant: "secondary",- label: N$,- attrs: P$+ label: M$,+ attrs: N$})).join("")}</div></div></div>${i("预览")}</section></div><section id="link-manager" class="flex scroll-mt-20 flex-col gap-4"><div class="${t} flex flex-col"><div class="${n}">${r("链接管理")}<div class="link-stat-grid mt-4 gap-x-8 gap-y-3">${[@@ -64967,60 +64967,60 @@ function L$() {"官网/事务所","社交账号","作品资料站"- ].map((e) => `<div class="flex min-w-0 flex-col gap-0.5"><span class="text-caption-1-regular text-text-secondary">${e}</span><b class="text-title-2-semibold">${N$}</b></div>`).join("")}</div><div class="mt-4 flex flex-col gap-0.5"><span class="text-caption-1-regular text-text-secondary">主要站点</span>${N$}</div></div>${i("检查死链")}</div></section>+ ].map((e) => `<div class="flex min-w-0 flex-col gap-0.5"><span class="text-caption-1-regular text-text-secondary">${e}</span><b class="text-title-2-semibold">${M$}</b></div>`).join("")}</div><div class="mt-4 flex flex-col gap-0.5"><span class="text-caption-1-regular text-text-secondary">主要站点</span>${M$}</div></div>${i("检查死链")}</div></section></div></div>`;}//#endregion//#region src/react/components/fieldset.tsx-var ZCe = IH({+var QCe = FH({padding: "none",radius: "surface",bordered: "line",className: "overflow-hidden"-}), QCe = "border-t border-border-button-default p-4 first:border-t-0";-function R$({ id: e, gap: t = "none", children: n }) {+}), $Ce = "border-t border-border-button-default p-4 first:border-t-0";+function L$({ id: e, gap: t = "none", children: n }) {return /* @__PURE__ */ (0, O.jsx)("h3", {id: e,className: `text-title-2-medium text-text-primary ${t === "medium" ? "mb-3" : t === "small" ? "mb-2" : ""}`,children: n});}-function z$({ layout: e, label: t, labelledBy: n, id: r, footer: i, children: a, attributes: o }) {+function R$({ layout: e, label: t, labelledBy: n, id: r, footer: i, children: a, attributes: o }) {return /* @__PURE__ */ (0, O.jsxs)("section", {id: r,"aria-label": t,"aria-labelledby": n,...o,- className: A$(e),+ className: k$(e),children: [/* @__PURE__ */ (0, O.jsx)("div", {- className: O$[e],+ className: D$[e],children: a}), i ? /* @__PURE__ */ (0, O.jsx)("footer", {- className: k$[e],+ className: O$[e],children: i}) : null]});}//#endregion//#region src/react/components/status-label.tsx-var $Ce = {+var ewe = {success: "lime",progress: "blue",warning: "yellow",error: "rose",neutral: "neutral"};-function B$({ tone: e = "neutral", ...t }) {- return /* @__PURE__ */ (0, O.jsx)(gZ, {+function z$({ tone: e = "neutral", ...t }) {+ return /* @__PURE__ */ (0, O.jsx)(hZ, {"data-status-tone": e,variant: "caption",- color: $Ce[e],+ color: ewe[e],...t});}//#endregion//#region src/react/components/path-line.tsx-function ewe({ className: e }) {+function twe({ className: e }) {return /* @__PURE__ */ (0, O.jsx)("svg", {"aria-hidden": !0,viewBox: "0 0 24 24",@@ -65033,8 +65033,8 @@ function ewe({ className: e }) {children: /* @__PURE__ */ (0, O.jsx)("use", { href: "#i-folder-open" })});}-var twe = "打开文件管理器失败,请重试";-function V$({ path: e, prefix: t, className: n, onRevealed: r }) {+var nwe = "打开文件管理器失败,请重试";+function B$({ path: e, prefix: t, className: n, onRevealed: r }) {let [i, a] = (0, D.useState)(!1), [o, s] = (0, D.useState)(""), c = (0, D.useRef)(!0);(0, D.useEffect)(() => () => {c.current = !1;@@ -65045,7 +65045,7 @@ function V$({ path: e, prefix: t, className: n, onRevealed: r }) {try {await V("/api/reveal", { path: e }), r?.("已在资源管理器中显示");} catch (e) {- c.current && s(e instanceof kn ? e.message : twe);+ c.current && s(e instanceof kn ? e.message : nwe);} finally {c.current && a(!1);}@@ -65056,15 +65056,15 @@ function V$({ path: e, prefix: t, className: n, onRevealed: r }) {children: [/* @__PURE__ */ (0, O.jsxs)("div", {className: "flex items-center justify-between gap-2",children: [/* @__PURE__ */ (0, O.jsxs)("p", {- className: AF("min-w-0 break-all", n),+ className: kF("min-w-0 break-all", n),children: [t, e]- }), /* @__PURE__ */ (0, O.jsx)(nI, {- icon: ewe,+ }), /* @__PURE__ */ (0, O.jsx)(tI, {+ icon: twe,size: "small",className: "shrink-0","aria-label": "在资源管理器中显示",onClick: () => void l(),- ...Wz(i)+ ...Uz(i)})]}), o ? /* @__PURE__ */ (0, O.jsx)("p", {className: "text-caption-1-regular text-text-error-primary",@@ -65074,24 +65074,24 @@ function V$({ path: e, prefix: t, className: n, onRevealed: r }) {}//#endregion//#region src/react/library-processing/library-processing-card.tsx-var nwe = "这一项耗时较长,暂时没有新进展。任务结束后可以重试未完成的部分。", rwe = (e) => {+var rwe = "这一项耗时较长,暂时没有新进展。任务结束后可以重试未完成的部分。", iwe = (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(",")}。`;-}, iwe = (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} 部视频预览。` : "") + rwe(e);-function awe({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {- let a = Yme(e), o = e.status === "failed" && !!e.retryable_asset_ids?.length, s = Kme(e.notes || {}), c = !!t || e.status === "failed", l = c && !!a?.log, u = cV();+}, awe = (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} 部视频预览。` : "") + iwe(e);+function owe({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {+ let a = Xme(e), o = e.status === "failed" && !!e.retryable_asset_ids?.length, s = qme(e.notes || {}), c = !!t || e.status === "failed", l = c && !!a?.log, u = sV();return /* @__PURE__ */ (0, O.jsxs)("div", {"aria-live": "polite",className: "flex flex-col gap-4 empty:hidden",children: [- e.status === "running" && e.stalled ? /* @__PURE__ */ (0, O.jsx)(zz, {+ e.status === "running" && e.stalled ? /* @__PURE__ */ (0, O.jsx)(Rz, {tone: "warning",title: "处理较慢",- children: nwe+ children: rwe}) : null,- c ? /* @__PURE__ */ (0, O.jsx)(zz, {+ c ? /* @__PURE__ */ (0, O.jsx)(Rz, {tone: "error",className: "gap-0 p-3",action: o ? /* @__PURE__ */ (0, O.jsx)(q, {@@ -65103,7 +65103,7 @@ function awe({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {}) : null,extra: a ? /* @__PURE__ */ (0, O.jsx)("div", {className: "mt-3 border-t border-current/20 pt-3",- children: /* @__PURE__ */ (0, O.jsxs)(XH, {+ children: /* @__PURE__ */ (0, O.jsxs)(YH, {summary: a.label,contentClassName: "gap-0",children: [/* @__PURE__ */ (0, O.jsx)("div", {@@ -65135,7 +65135,7 @@ function awe({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {})}), a.log ? /* @__PURE__ */ (0, O.jsx)("div", {className: "mt-3 border-t border-border-error-default/20 pt-3 text-text-secondary",- children: /* @__PURE__ */ (0, O.jsx)(V$, {+ children: /* @__PURE__ */ (0, O.jsx)(B$, {path: a.log,prefix: "完整记录:",className: "text-caption-1-regular",@@ -65146,17 +65146,17 @@ function awe({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {}) : null,children: t || e.error || "处理未完成,请重试"}) : null,- n?.status === "complete" ? /* @__PURE__ */ (0, O.jsx)(zz, {+ n?.status === "complete" ? /* @__PURE__ */ (0, O.jsx)(Rz, {tone: "success",title: "处理完成",- children: iwe(n)+ children: awe(n)}) : null,- !hH(e) && s ? /* @__PURE__ */ (0, O.jsx)(zz, {+ !mH(e) && s ? /* @__PURE__ */ (0, O.jsx)(Rz, {tone: "neutral",className: "gap-0 p-3",extra: e.issues_log && !l ? /* @__PURE__ */ (0, O.jsx)("div", {className: "mt-3 border-t border-current/20 pt-3 text-text-secondary",- children: /* @__PURE__ */ (0, O.jsx)(V$, {+ children: /* @__PURE__ */ (0, O.jsx)(B$, {path: e.issues_log,prefix: "完整记录:",className: "text-caption-1-regular",@@ -65168,38 +65168,38 @@ function awe({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {]});}-function H$(e) {- let { toast: t, onComplete: n } = e, { job: r, settled: i, forget: a } = FH(e), o = wt({- mutationFn: (e) => V(pH, e),+function V$(e) {+ let { toast: t, onComplete: n } = e, { job: r, settled: i, forget: a } = PH(e), o = wt({+ mutationFn: (e) => V(fH, e),onSuccess: (e) => {- a(), H.setQueryData(mH, e), H.invalidateQueries({ queryKey: mH });+ a(), H.setQueryData(pH, e), H.invalidateQueries({ queryKey: pH });}});(0, D.useEffect)(() => {i && n?.();}, [i, n]);- let s = r.data ?? { status: "idle" }, c = o.error ? jn(o.error) : r.isError ? r.data ? yH : jn(r.error) : "", l = o.isPending || hH(s), u = async (e) => {+ let s = r.data ?? { status: "idle" }, c = o.error ? jn(o.error) : r.isError ? r.data ? vH : jn(r.error) : "", l = o.isPending || mH(s), u = async (e) => {l || (o.reset(), await o.mutateAsync(e));};return /* @__PURE__ */ (0, O.jsxs)("div", {className: "flex flex-col gap-4",- children: [/* @__PURE__ */ (0, O.jsx)(z$, {+ children: [/* @__PURE__ */ (0, O.jsx)(R$, {layout: "stack",label: "扫描与采集",footer: /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [- /* @__PURE__ */ (0, O.jsx)(TH, {+ /* @__PURE__ */ (0, O.jsx)(wH, {href: "/sources",size: "small",- trailingIcon: mz,+ trailingIcon: pz,children: "来源和凭证"}),- s.candidates ? /* @__PURE__ */ (0, O.jsx)(TH, {+ s.candidates ? /* @__PURE__ */ (0, O.jsx)(wH, {href: "/review",size: "small",- trailingIcon: mz,+ trailingIcon: pz,children: "复核资料"}) : null,- /* @__PURE__ */ (0, O.jsx)(mK, {+ /* @__PURE__ */ (0, O.jsx)(pK, {scan: !0,busy: l,metadataOnly: s?.metadata_only,@@ -65210,24 +65210,24 @@ function H$(e) {children: /* @__PURE__ */ (0, O.jsxs)("div", {className: "flex flex-col gap-2",children: [- /* @__PURE__ */ (0, O.jsx)(R$, { children: "扫描与采集" }),+ /* @__PURE__ */ (0, O.jsx)(L$, { children: "扫描与采集" }),/* @__PURE__ */ (0, O.jsx)("p", {className: "text-body-2-regular text-text-secondary",- children: j$+ children: A$}),s.status === "paused" && !s.total ? /* @__PURE__ */ (0, O.jsx)("span", {className: "self-start",- children: /* @__PURE__ */ (0, O.jsx)(B$, { children: "已暂停" })- }) : hH(s) ? /* @__PURE__ */ (0, O.jsx)(fhe, { state: s }) : null,- hH(s) ? /* @__PURE__ */ (0, O.jsx)("p", {+ children: /* @__PURE__ */ (0, O.jsx)(z$, { children: "已暂停" })+ }) : mH(s) ? /* @__PURE__ */ (0, O.jsx)(phe, { state: s }) : null,+ mH(s) ? /* @__PURE__ */ (0, O.jsx)("p", {className: "text-body-2-regular text-text-secondary tabular-nums","data-processing-eta": "",- children: gH(s)+ children: hH(s)}) : null,- hH(s) ? /* @__PURE__ */ (0, O.jsx)(iU, { traffic: s.traffic }) : null+ mH(s) ? /* @__PURE__ */ (0, O.jsx)(rU, { traffic: s.traffic }) : null]})- }), /* @__PURE__ */ (0, O.jsx)(awe, {+ }), /* @__PURE__ */ (0, O.jsx)(owe, {state: s,problem: c,settled: i,@@ -65243,32 +65243,32 @@ function H$(e) {}//#endregion//#region src/react/playlists/playlists.ts-var owe = "/api/playlists", U$ = "/api/playlist", W$ = ["playlists"], G$ = (e) => B(owe, e);-async function swe(e) {+var swe = "/api/playlists", H$ = "/api/playlist", U$ = ["playlists"], W$ = (e) => B(swe, e);+async function cwe(e) {await H.fetchQuery({- queryKey: W$,- queryFn: () => G$(e),+ queryKey: U$,+ queryFn: () => W$(e),staleTime: 0});}-var cwe = () => H.invalidateQueries({- queryKey: W$,+var lwe = () => H.invalidateQueries({+ queryKey: U$,exact: !0-}), lwe = (e) => e.current_asset_id || e.preview_asset_id || null, uwe = (e) => `/poster?id=${e}&c=4`, dwe = (e) => V(U$, {+}), uwe = (e) => e.current_asset_id || e.preview_asset_id || null, dwe = (e) => `/poster?id=${e}&c=4`, fwe = (e) => V(H$, {action: "create",name: e,asset_ids: []-}), fwe = (e, t) => V(U$, {+}), pwe = (e, t) => V(H$, {action: "rename",id: e,name: t-}), pwe = (e) => V(U$, {+}), mwe = (e) => V(H$, {action: "delete",id: e-}), mwe = (e) => B(`${U$}?id=${e}`).catch(() => null);-function hwe(e) {+}), hwe = (e) => B(`${H$}?id=${e}`).catch(() => null);+function gwe(e) {let t = (e.items || []).map((e) => e.id), n = e.source_seed_asset_id;- return V(U$, {+ return V(H$, {action: "create",name: e.name,asset_ids: t,@@ -65278,9 +65278,13 @@ function hwe(e) {}//#endregion//#region src/react/scraping/custom-source-data.ts-var K$ = "/api/custom-metadata", q$ = ["custom-metadata"], J$ = (e) => B(K$, e), gwe = "/api/scraping", _we = "/api/scraping/settings", vwe = "/api/scraping/check", Y$ = "/api/scraping/cover", ywe = "/api/scraping/amane-bridge", bwe = "/api/scraping/amane-bridge/check", xwe = "/api/scraping/amane-bridge/rebuild", X$ = ["scraping"], Z$ = ["scraping", "cover"], Q$ = ["scraping", "amane-bridge"], Swe = 262144, $$ = (e) => B(gwe, e), e1 = (e) => B(Y$, e), t1 = (e) => B(ywe, e);-async function Cwe(e) {+var G$ = "/api/custom-metadata", K$ = ["custom-metadata"], q$ = (e) => B(G$, e), _we = "/api/scraping", vwe = "/api/scraping/settings", ywe = "/api/scraping/check", J$ = "/api/scraping/cover", bwe = "/api/scraping/amane-bridge", xwe = "/api/scraping/amane-bridge/check", Swe = "/api/scraping/amane-bridge/rebuild", Y$ = ["scraping"], X$ = ["scraping", "cover"], Z$ = ["scraping", "amane-bridge"], Cwe = 262144, Q$ = (e) => B(_we, e), $$ = (e) => B(J$, e), e1 = (e) => B(bwe, e);+async function wwe(e) {await Promise.all([+ H.fetchQuery({+ queryKey: Y$,+ queryFn: () => Q$(e)+ }),H.fetchQuery({queryKey: X$,queryFn: () => $$(e)@@ -65290,41 +65294,37 @@ async function Cwe(e) {queryFn: () => e1(e)}),H.fetchQuery({- queryKey: Q$,- queryFn: () => t1(e)- }),- H.fetchQuery({- queryKey: q$,- queryFn: () => J$(e)+ queryKey: K$,+ queryFn: () => q$(e)})]);}-function wwe(e, t) {+function Twe(e, t) {return `${t}${e.label === "来源页面" ? "" : " 高清图片"}:${e.ok ? "可连接" : "不能连接"}` + (e.width ? ` · ${e.width} × ${e.height}` : "") + (e.elapsed_s === void 0 ? "" : ` · ${e.elapsed_s.toFixed(2)} 秒`) + (e.message ? `。${e.message}` : "");}//#endregion//#region src/react/search/search.ts-var n1 = /* @__PURE__ */ new Set([+var t1 = /* @__PURE__ */ new Set(["performer","creator","studio","agency","series"-]), r1 = /* @__PURE__ */ new Set([+]), n1 = /* @__PURE__ */ new Set(["asset","jav","post","photo","release"-]), i1 = (e) => String(e ?? "").normalize("NFKC").trim().toLocaleLowerCase();-function Twe({ query: e, history: t, picks: n, suggestFor: r, groups: i, tabs: a, kind: o, recommendations: s = [] }) {+]), r1 = (e) => String(e ?? "").normalize("NFKC").trim().toLocaleLowerCase();+function Ewe({ 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 || i1(t).includes(i1(e)));+ }, d = t.filter((t) => !e || r1(t).includes(r1(e)));if (!e) {if (s.length) {let e = s.map((e) => ({@@ -65345,8 +65345,8 @@ function Twe({ query: e, history: t, picks: n, suggestFor: r, groups: i, tabs: avalue: e}))} : null,- left: e.filter((e) => !r1.has(e.kind)),- right: e.filter((e) => r1.has(e.kind)),+ left: e.filter((e) => !n1.has(e.kind)),+ right: e.filter((e) => n1.has(e.kind)),empty: !1,options: l};@@ -65396,7 +65396,7 @@ function Twe({ query: e, history: t, picks: n, suggestFor: r, groups: i, tabs: aoptions: n,more: r};- }, g = m.filter((e) => !r1.has(e.kind)).map(h), _ = m.filter((e) => r1.has(e.kind)).map(h), v = f && !m.some((e) => e.items.length);+ }, g = m.filter((e) => !n1.has(e.kind)).map(h), _ = m.filter((e) => n1.has(e.kind)).map(h), v = f && !m.some((e) => e.items.length);return {tabs: f && a.length > 1 ? [...a] : null,recent: p,@@ -65406,17 +65406,17 @@ function Twe({ query: e, history: t, picks: n, suggestFor: r, groups: i, tabs: aoptions: l};}-function Ewe(e, t, n = Math.random) {+function Dwe(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) => i1(t) === i1(e))).slice(0, 5);+ return r.filter((e) => !t.some((t) => r1(t) === r1(e))).slice(0, 5);}//#endregion//#region src/react/search/search-page.tsx-var Dwe = () => ({+var Owe = () => ({history: [],pool: [],poolRequest: 0,@@ -65434,7 +65434,7 @@ var Dwe = () => ({active: -1,reveal: !1,rewind: !1-}), a1 = (e) => Twe({+}), i1 = (e) => Ewe({query: e.query,history: e.history,picks: e.picks,@@ -65443,18 +65443,18 @@ var Dwe = () => ({tabs: e.tabs,kind: e.kind,recommendations: e.recommendations-}), Owe = (e) => !!(e.tabs || e.recent || e.left.length || e.right.length || e.empty), o1 = ({ name: e }) => /* @__PURE__ */ (0, O.jsx)("svg", {+}), kwe = (e) => !!(e.tabs || e.recent || e.left.length || e.right.length || e.empty), a1 = ({ name: e }) => /* @__PURE__ */ (0, O.jsx)("svg", {viewBox: "0 0 24 24","aria-hidden": "true",children: /* @__PURE__ */ (0, O.jsx)("use", { href: `#i-${e}` })});-function kwe(e) {+function Awe(e) {let t = (0, D.useRef)(e);t.current = e;let n = (0, D.useRef)(null);- n.current ??= Dwe();+ n.current ??= Owe();let r = n.current, i = (0, D.useRef)(null), [, a] = (0, D.useReducer)((e) => e + 1, 0), o = (0, D.useRef)(null);- o.current ??= Awe(() => t.current, r, () => i.current?.closest("[data-search-menu]") ?? null, a);+ o.current ??= jwe(() => t.current, r, () => i.current?.closest("[data-search-menu]") ?? null, a);let s = o.current;(0, D.useLayoutEffect)(() => {let { input: e } = t.current, n = (e) => s.input(e), i = () => t.current.helpers.composing(), a = (e) => s.key(e), o = () => s.focus();@@ -65467,7 +65467,7 @@ function kwe(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 = a1(r), l = e.historyLimit, u = (t) => /* @__PURE__ */ (0, O.jsx)(Mwe, {+ let c = i1(r), l = e.historyLimit, u = (t) => /* @__PURE__ */ (0, O.jsx)(Nwe, {entry: t,active: t.index === r.active,helpers: e.helpers,@@ -65480,7 +65480,7 @@ function kwe(e) {children: [/* @__PURE__ */ (0, O.jsxs)("h3", { children: [e.label, e.href ? /* @__PURE__ */ (0, O.jsx)("a", {href: e.href,- onMouseDown: s1,+ onMouseDown: o1,onClick: (t) => {t.ctrlKey || t.metaKey || t.shiftKey || t.altKey || (t.preventDefault(), s.openPath(e.href));},@@ -65499,7 +65499,7 @@ function kwe(e) {"data-search-recommendations": !r.query && r.recommendations.length ? "" : void 0,"data-history-limit": l,children: [- c.tabs ? /* @__PURE__ */ (0, O.jsx)(jwe, {+ c.tabs ? /* @__PURE__ */ (0, O.jsx)(Mwe, {tabs: c.tabs,kind: r.kind,onPick: s.pickKind,@@ -65526,7 +65526,7 @@ function kwe(e) {]});}-function Awe(e, t, n, r) {+function jwe(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 () => {@@ -65537,7 +65537,7 @@ function Awe(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) => i1(e) !== i1(t))]), V("/api/search-history", { query: t }).catch(() => null));+ t && e().historyLimit && (s([t, ...o().filter((e) => r1(e) !== r1(t))]), V("/api/search-history", { query: t }).catch(() => null));}, u = async () => {let n = ++t.poolRequest;t.pool = [];@@ -65583,9 +65583,9 @@ function Awe(e, t, n, r) {let i = n();i && e().helpers.dismiss(i), t.active = -1, r();}, h = () => {- t.query = i().value.trim(), t.picks = t.query ? [] : Ewe(t.pool, o()), t.active = -1;+ t.query = i().value.trim(), t.picks = t.query ? [] : Dwe(t.pool, o()), t.active = -1;let a = n();- a && (Owe(a1(t)) ? e().helpers.present(a) : e().helpers.dismiss(a)), r();+ a && (kwe(i1(t)) ? e().helpers.present(a) : e().helpers.dismiss(a)), r();}, g = () => {t.active = -1, t.kind = "", clearTimeout(t.timer);let e = i().value.trim();@@ -65597,7 +65597,7 @@ function Awe(e, t, n, r) {n && e !== t.kind && (t.kind = e, clearTimeout(t.timer), h(), t.rewind = !0, f(n, e).then(() => {a() && t.kind === e && h();}));- }, v = () => p() ? a1(t).options : [], y = (e) => {+ }, v = () => p() ? i1(t).options : [], y = (e) => {let n = v();return n.length ? (t.active = (t.active + e + n.length) % n.length, t.reveal = !0, r(), !0) : !1;}, b = (t, n) => {@@ -65606,7 +65606,7 @@ function Awe(e, t, n, r) {}, x = (t, n) => {i().blur(), l(n), e().actions.openEntity(t, n);}, S = (t) => {- t.type === "suggest" && t.item.followMedia && t.item.id && e().actions.openFollow ? (i().blur(), e().actions.openFollow(t.item.id, t.item.followMedia, t.item.mediaIndex ?? null)) : t.type === "suggest" && t.item.href ? C(t.item.href) : t.type === "more" ? (b(!1, !0), i().blur()) : t.type === "suggest" && t.kind === "asset" && t.item.id != null ? (i().blur(), e().actions.openItem(t.item.id)) : t.type === "suggest" && n1.has(t.kind) ? x(t.kind, t.value) : (i().value = t.value, b(!1, !0));+ t.type === "suggest" && t.item.followMedia && t.item.id && e().actions.openFollow ? (i().blur(), e().actions.openFollow(t.item.id, t.item.followMedia, t.item.mediaIndex ?? null)) : t.type === "suggest" && t.item.href ? C(t.item.href) : t.type === "more" ? (b(!1, !0), i().blur()) : t.type === "suggest" && t.kind === "asset" && t.item.id != null ? (i().blur(), e().actions.openItem(t.item.id)) : t.type === "suggest" && t1.has(t.kind) ? x(t.kind, t.value) : (i().value = t.value, b(!1, !0));}, C = (t) => {m(), i().blur(), e().actions.openPath?.(t);};@@ -65652,13 +65652,13 @@ function Awe(e, t, n, r) {await V("/api/search-history", {operation: "remove",query: e- }).catch(() => null), s(o().filter((t) => i1(t) !== i1(e))), t.active = -1, r();+ }).catch(() => null), s(o().filter((t) => r1(t) !== r1(e))), t.active = -1, r();},pickKind: _,openPath: C};}-function jwe({ tabs: e, kind: t, onPick: n, wire: r }) {+function Mwe({ tabs: e, kind: t, onPick: n, wire: r }) {let i = (0, D.useRef)(null);(0, D.useLayoutEffect)(() => {r(i.current);@@ -65672,9 +65672,9 @@ function jwe({ tabs: e, kind: t, onPick: n, wire: r }) {"data-pill-variant": "gray",onMouseDown: (e) => e.preventDefault(),onClick: () => n(e),- children: [r, i ? /* @__PURE__ */ (0, O.jsx)(BQ, { value: i }) : null]+ children: [r, i ? /* @__PURE__ */ (0, O.jsx)(zQ, { value: i }) : null]}, e || "all");- return /* @__PURE__ */ (0, O.jsxs)(NF, {+ return /* @__PURE__ */ (0, O.jsxs)(MF, {ref: i,"data-search-tabs": "","data-pill-nav": "",@@ -65683,8 +65683,8 @@ function jwe({ tabs: e, kind: t, onPick: n, wire: r }) {children: [a("", "全部"), e.map((e) => a(e.kind, e.label, e.total))]});}-var s1 = (e) => e.preventDefault();-function Mwe({ entry: e, active: t, helpers: n, onPick: r, onPeek: i, onRemove: a }) {+var o1 = (e) => e.preventDefault();+function Nwe({ entry: e, active: t, helpers: n, onPick: r, onPeek: i, onRemove: a }) {let o = {"data-search-value": e.value,"data-active": t ? "" : void 0,@@ -65696,33 +65696,33 @@ function Mwe({ entry: e, active: t, helpers: n, onPick: r, onPeek: i, onRemove:type: "button","data-search-option": "more",...o,- onMouseDown: s1,+ onMouseDown: o1,children: ["查看全部 ",e.total.toLocaleString()," 个视频",- /* @__PURE__ */ (0, O.jsx)(o1, { name: "chevron-right" })+ /* @__PURE__ */ (0, O.jsx)(a1, { name: "chevron-right" })]});if (e.type !== "suggest") return /* @__PURE__ */ (0, O.jsxs)("div", {"data-search-option": "",...o,children: [- /* @__PURE__ */ (0, O.jsx)(o1, { name: e.type === "history" ? "history" : "sparkles" }),+ /* @__PURE__ */ (0, O.jsx)(a1, { name: e.type === "history" ? "history" : "sparkles" }),/* @__PURE__ */ (0, O.jsx)("span", { children: e.value }),e.type === "history" ? /* @__PURE__ */ (0, O.jsx)("button", {type: "button","data-remove-history": e.value,"aria-label": `删除历史 ${e.value}`,- onMouseDown: s1,+ onMouseDown: o1,onClick: (t) => {t.stopPropagation(), a(e.value);},- children: /* @__PURE__ */ (0, O.jsx)(o1, { name: "x" })+ children: /* @__PURE__ */ (0, O.jsx)(a1, { name: "x" })}) : null]});- let { item: s, kind: c } = e, l = n1.has(c) ? c : void 0;+ let { item: s, kind: c } = e, l = t1.has(c) ? c : void 0;if (["asset","jav",@@ -65736,8 +65736,8 @@ function Mwe({ 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: s1,- children: [/* @__PURE__ */ (0, O.jsx)(c1, {+ onMouseDown: o1,+ children: [/* @__PURE__ */ (0, O.jsx)(s1, {card: s.card,helpers: n}), /* @__PURE__ */ (0, O.jsxs)("span", {@@ -65762,9 +65762,9 @@ function Mwe({ entry: e, active: t, helpers: n, onPick: r, onPeek: i, onRemove:"data-search-option": "person","data-open-entity": l,...o,- onMouseDown: s1,+ onMouseDown: o1,children: [- /* @__PURE__ */ (0, O.jsx)(l1, {+ /* @__PURE__ */ (0, O.jsx)(c1, {item: s,kind: c}),@@ -65787,11 +65787,11 @@ function Mwe({ 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: s1,+ onMouseDown: o1,onClick: (t) => {t.stopPropagation(), i(e);},- children: /* @__PURE__ */ (0, O.jsx)(c1, {+ children: /* @__PURE__ */ (0, O.jsx)(s1, {card: e,helpers: n})@@ -65805,7 +65805,7 @@ function Mwe({ entry: e, active: t, helpers: n, onPick: r, onPeek: i, onRemove:"data-open-entity": l,...o,children: [- c === "studio" || c === "agency" ? /* @__PURE__ */ (0, O.jsx)(l1, {+ c === "studio" || c === "agency" ? /* @__PURE__ */ (0, O.jsx)(c1, {item: s,kind: c}) : null,@@ -65818,13 +65818,13 @@ function Mwe({ entry: e, active: t, helpers: n, onPick: r, onPeek: i, onRemove:]});}-function c1({ card: e, helpers: t }) {+function s1({ card: e, helpers: t }) {return /* @__PURE__ */ (0, O.jsx)("span", {"data-search-pic": "",dangerouslySetInnerHTML: { __html: t.coverHtml(e) }});}-function l1({ item: e, kind: t }) {+function c1({ item: e, kind: t }) {if (e.avatarHtml) return /* @__PURE__ */ (0, O.jsx)("span", {"data-search-face": "",dangerouslySetInnerHTML: { __html: e.avatarHtml }@@ -65844,25 +65844,25 @@ function l1({ item: e, kind: t }) {}//#endregion//#region src/react/settings/configuration.ts-var u1 = ["configuration"], d1 = (e) => B(nX, e);-async function Nwe(e) {+var l1 = ["configuration"], u1 = (e) => B(tX, e);+async function Pwe(e) {await H.fetchQuery({- queryKey: u1,- queryFn: () => d1(e)+ queryKey: l1,+ queryFn: () => u1(e)});}//#endregion//#region src/react/settings-panel/legacy-controls.tsx-var f1 = (e) => e.map(([e, t, n]) => n ? [+var d1 = (e) => e.map(([e, t, n]) => n ? [e,t,n] : [e, t]);-function p1({ id: e, name: t, legend: n, options: r, value: i, attr: a, variant: o, text: s = !1, epoch: c, onChoose: l }) {+function f1({ id: e, name: t, legend: n, options: r, value: i, attr: a, variant: o, text: s = !1, epoch: c, onChoose: l }) {let u = (0, D.useRef)(null), d = (0, D.useRef)(null), f = (0, D.useRef)(l);return f.current = l, (0, D.useLayoutEffect)(() => {let e = u.current;- e && (d.current && d.current.value === i && d.current.epoch === c || (e.innerHTML = fc(t, n, f1(r), i, {+ e && (d.current && d.current.value === i && d.current.epoch === c || (e.innerHTML = fc(t, n, d1(r), i, {attr: a,className: o,text: s@@ -65880,13 +65880,13 @@ function p1({ id: e, name: t, legend: n, options: r, value: i, attr: a, variant:ref: u});}-function m1({ id: e, label: t, options: n, value: r, disabled: i = !1, busy: a = !1, hidden: o, describedBy: s, epoch: c, onPick: l, decorate: u }) {+function p1({ id: e, label: t, options: n, value: r, disabled: i = !1, busy: a = !1, hidden: o, describedBy: s, epoch: c, onPick: l, decorate: u }) {let d = (0, D.useRef)(null), f = (0, D.useRef)(null), p = (0, D.useRef)(-1), m = (0, D.useRef)(l);return m.current = l, (0, D.useLayoutEffect)(() => {let e = d.current;if (!e) return;if (p.current !== c || !f.current) {- e.innerHTML = jo(f1(n), r, { label: t });+ e.innerHTML = jo(d1(n), r, { label: t });let i = Mo(e.firstElementChild);i.addEventListener("change", () => m.current(i.value)), f.current = i, p.current = c;}@@ -65899,7 +65899,7 @@ function m1({ id: e, label: t, options: n, value: r, disabled: i = !1, busy: a ="aria-describedby": s});}-function Pwe({ field: e, label: t, max: n, value: r, hidden: i, onStep: a, onSettle: o }) {+function Fwe({ field: e, label: t, max: n, value: r, hidden: i, onStep: a, onSettle: o }) {let s = (0, D.useRef)(null), c = (0, D.useRef)(null), l = (0, D.useRef)({onStep: a,onSettle: o@@ -65934,7 +65934,7 @@ function Pwe({ field: e, label: t, max: n, value: r, hidden: i, onStep: a, onSet}//#endregion//#region src/react/settings-panel/glow-settings.tsx-var Fwe = [+var Iwe = [["strength","强度",@@ -65961,8 +65961,8 @@ var Fwe = [100]];-function Iwe({ host: e, spot: t, index: n, glow: r }) {- let i = xoe[n], a = (0, D.useRef)(null), o = (0, D.useRef)(null), s = (0, D.useRef)(null), c = cV(), [l, u] = (0, D.useState)("all");+function Lwe({ host: e, spot: t, index: n, glow: r }) {+ let i = Soe[n], a = (0, D.useRef)(null), o = (0, D.useRef)(null), s = (0, D.useRef)(null), c = sV(), [l, u] = (0, D.useState)("all");(0, D.useLayoutEffect)(() => {let [e, t, n] = [a.current,@@ -65975,7 +65975,7 @@ function Iwe({ host: e, spot: t, index: n, glow: r }) {}, []);let d = r[t].color, f = (n) => {let r = e.store.value.homeGlow;- r[t].color = Hk(n, r[t].color), r.preset = "custom", e.store.save(), e.changed("glow"), Co(), o.current?.focus();+ r[t].color = Vk(n, r[t].color), r.preset = "custom", e.store.save(), e.changed("glow"), Co(), o.current?.focus();};return /* @__PURE__ */ (0, O.jsxs)("div", {"data-glow-stop": t,@@ -66000,7 +66000,7 @@ function Iwe({ host: e, spot: t, index: n, glow: r }) {children: d})]}),- /* @__PURE__ */ (0, O.jsx)(ZN, { name: "chevron-down" })+ /* @__PURE__ */ (0, O.jsx)(XN, { name: "chevron-down" })]}), /* @__PURE__ */ (0, O.jsxs)("div", {className: "popmenu",@@ -66012,7 +66012,7 @@ function Iwe({ host: e, spot: t, index: n, glow: r }) {"data-glow-pills": "",role: "group","aria-label": "色系",- children: woe.map(([e, t]) => /* @__PURE__ */ (0, O.jsx)("button", {+ children: Toe.map(([e, t]) => /* @__PURE__ */ (0, O.jsx)("button", {type: "button","data-glow-pill": e,"aria-pressed": e === l,@@ -66026,7 +66026,7 @@ function Iwe({ host: e, spot: t, index: n, glow: r }) {"data-glow-palette": "",role: "radiogroup","aria-label": `${i}颜色`,- children: Toe.map(([e, t, n]) => /* @__PURE__ */ (0, O.jsx)("button", {+ children: Eoe.map(([e, t, n]) => /* @__PURE__ */ (0, O.jsx)("button", {type: "button",role: "radio","aria-checked": n === d,@@ -66043,8 +66043,8 @@ function Iwe({ host: e, spot: t, index: n, glow: r }) {})]});}-function Lwe({ host: e }) {- let t = e.store.value.homeGlow, n = Fk(t.preset);+function Rwe({ host: e }) {+ let t = e.store.value.homeGlow, n = Pk(t.preset);return /* @__PURE__ */ (0, O.jsxs)("section", {"data-glow-setting": "",id: "homeGlowControls",@@ -66063,10 +66063,10 @@ function Lwe({ host: e }) {"data-glow-current": "",children: ["当前配色", /* @__PURE__ */ (0, O.jsx)("b", {"data-glow-preset-name": "",- children: Soe(t.preset)+ children: Coe(t.preset)})]}),- /* @__PURE__ */ (0, O.jsx)(NA, {+ /* @__PURE__ */ (0, O.jsx)(MA, {store: e.store,label: "光晕配色"}),@@ -66077,7 +66077,7 @@ function Lwe({ host: e }) {}),/* @__PURE__ */ (0, O.jsx)("div", {"data-glow-fields": "",- children: Fwe.map(([r, i, a]) => /* @__PURE__ */ (0, O.jsx)(Pwe, {+ children: Iwe.map(([r, i, a]) => /* @__PURE__ */ (0, O.jsx)(Fwe, {field: r,label: i,max: a,@@ -66098,7 +66098,7 @@ function Lwe({ host: e }) {className: "geist-button","data-glow-reset": "",onClick: () => {- e.store.value.homeGlow = Wk(null), e.store.save(), e.changed("glow");+ e.store.value.homeGlow = Uk(null), e.store.save(), e.changed("glow");},children: "恢复默认"})@@ -66117,7 +66117,7 @@ function Lwe({ host: e }) {"data-glow-colour-card": "",children: /* @__PURE__ */ (0, O.jsx)("div", {"data-glow-stops": "",- children: Mk.map((n, r) => /* @__PURE__ */ (0, O.jsx)(Iwe, {+ children: jk.map((n, r) => /* @__PURE__ */ (0, O.jsx)(Lwe, {host: e,spot: n,index: r,@@ -66130,7 +66130,7 @@ function Lwe({ host: e }) {}//#endregion//#region src/react/settings-panel/number-setting.tsx-var Rwe = {+var zwe = {batchSizeSetting: {min: 1,max: 200,@@ -66177,22 +66177,22 @@ var Rwe = {optional: !0,fallback: 60}-}, h1 = (e) => `peach.number.${e}`;-function g1(e, t) {+}, m1 = (e) => `peach.number.${e}`;+function h1(e, t) {if (t !== "分钟" || !Number.isInteger(e) || e < 1440) return "";let n = e / 1440;return Number.isInteger(n) ? `${n.toLocaleString()} 天` : `约 ${n.toFixed(1)} 天`;}-function _1({ id: e, label: t, value: n, disabled: r = !1, onApply: i }) {- let a = Rwe[e], { min: o, max: s, unit: c, fallback: l } = a, u = a.optional === !0, d = (0, D.useRef)(0);- d.current ||= xk(Number(localStorage.getItem(h1(e))), o, s, n && n > 0 ? n : l);+function g1({ id: e, label: t, value: n, disabled: r = !1, onApply: i }) {+ let a = zwe[e], { min: o, max: s, unit: c, fallback: l } = a, u = a.optional === !0, d = (0, D.useRef)(0);+ d.current ||= bk(Number(localStorage.getItem(m1(e))), o, s, n && n > 0 ? n : l);let [f, p] = (0, D.useState)(n ?? 0), [m, h] = (0, D.useState)(String(n && n > 0 ? n : d.current)), [g, _] = (0, D.useState)(""), v = (0, D.useRef)(null), y = (0, D.useRef)(i);y.current = i, (0, D.useLayoutEffect)(() => {n !== null && (p(n), n > 0 && h(String(n)));}, [n]);let b = () => {let t = v.current;- t && (!t.value || !t.checkValidity() ? (t.setAttribute("aria-invalid", "true"), _(`请输入 ${o}–${s} 的整数(${c})`)) : (t.removeAttribute("aria-invalid"), _(""), d.current = Number(t.value), localStorage.setItem(h1(e), String(d.current)), y.current(d.current)));+ t && (!t.value || !t.checkValidity() ? (t.setAttribute("aria-invalid", "true"), _(`请输入 ${o}–${s} 的整数(${c})`)) : (t.removeAttribute("aria-invalid"), _(""), d.current = Number(t.value), localStorage.setItem(m1(e), String(d.current)), y.current(d.current)));}, x = (0, D.useRef)(b);x.current = b, (0, D.useEffect)(() => {let e = v.current;@@ -66202,7 +66202,7 @@ function _1({ 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(h1(e), String(d.current)), p(0), y.current(0)) : (p(d.current), h(String(d.current)), y.current(d.current));+ t?.removeAttribute("aria-invalid"), _(""), S ? (t && t.value && t.checkValidity() && (d.current = Number(t.value)), localStorage.setItem(m1(e), String(d.current)), p(0), y.current(0)) : (p(d.current), h(String(d.current)), y.current(d.current));}, w = r || n === null;return /* @__PURE__ */ (0, O.jsxs)("div", {"data-number-setting": "",@@ -66239,7 +66239,7 @@ function _1({ id: e, label: t, value: n, disabled: r = !1, onApply: i }) {}}), /* @__PURE__ */ (0, O.jsxs)("span", {"aria-hidden": "true",- children: [c, g1(Number(m), c) ? ` · ${g1(Number(m), c)}` : ""]+ children: [c, h1(Number(m), c) ? ` · ${h1(Number(m), c)}` : ""]})]}), /* @__PURE__ */ (0, O.jsx)("small", {id: `${e}-error`,@@ -66253,13 +66253,13 @@ function _1({ id: e, label: t, value: n, disabled: r = !1, onApply: i }) {}//#endregion//#region src/react/sidebar/sidebar-order.ts-function v1(e) {- let { mutate: t } = mX();+function _1(e) {+ let { mutate: t } = pX();return (0, D.useCallback)((n) => {e.value.sidebarOrder = n, e.save(), t({ sidebarOrder: n }, { onError: () => {} });}, [e, t]);}-function y1(e, t, n, r) {+function v1(e, t, n, r) {if (t === n) return null;let i = [...e], a = i.indexOf(t);if (a < 0) return null;@@ -66269,17 +66269,17 @@ function y1(e, t, n, r) {}//#endregion//#region src/react/settings-panel/sidebar-order.tsx-var zwe = "__home__", b1 = (e) => e === "" ? zwe : e;-function Bwe({ host: e }) {- let t = v1(e.store), n = e.store.value.sidebarOrder, r = new Map(e.navCatalog.map((e) => [e[0], e])), i = n.map((e) => r.get(e)).filter((e) => e !== void 0), a = e.navCatalog.filter(([e]) => !n.includes(e)), [o, s] = (0, D.useState)(null), [c, l] = (0, D.useState)(!1), [u, d] = (0, D.useState)(null), [f, p] = (0, D.useState)(null), m = (0, D.useRef)(null), h = (0, D.useRef)(null), g = (e, r, i) => {- let a = y1(n, e, r, i);+var Bwe = "__home__", y1 = (e) => e === "" ? Bwe : e;+function Vwe({ host: e }) {+ let t = _1(e.store), n = e.store.value.sidebarOrder, r = new Map(e.navCatalog.map((e) => [e[0], e])), i = n.map((e) => r.get(e)).filter((e) => e !== void 0), a = e.navCatalog.filter(([e]) => !n.includes(e)), [o, s] = (0, D.useState)(null), [c, l] = (0, D.useState)(!1), [u, d] = (0, D.useState)(null), [f, p] = (0, D.useState)(null), m = (0, D.useRef)(null), h = (0, D.useRef)(null), g = (e, r, i) => {+ let a = v1(n, e, r, i);a && t(a);}, _ = (e, r) => {let i = n.indexOf(e), a = i + r;if (i < 0 || a < 0 || a >= n.length) return;let o = [...n];[o[i], o[a]] = [o[a], o[i]], t(o);- }, v = a.find(([e]) => b1(e) === o) ?? a[0], y = () => {+ }, v = a.find(([e]) => y1(e) === o) ?? a[0], y = () => {h.current && Eo(h.current), l(!1);}, b = () => {let e = h.current;@@ -66300,7 +66300,7 @@ function Bwe({ host: e }) {}, C = (e) => ({draggable: !0,onDragStart: (t) => {- d(e), t.dataTransfer.effectAllowed = "move", t.dataTransfer.setData("text/plain", b1(e));+ d(e), t.dataTransfer.effectAllowed = "move", t.dataTransfer.setData("text/plain", y1(e));},onDragOver: (t) => {if (u === null || u === e) return;@@ -66332,9 +66332,9 @@ function Bwe({ host: e }) {/* @__PURE__ */ (0, O.jsx)("i", {"data-sidebar-grip": "","aria-hidden": "true",- children: /* @__PURE__ */ (0, O.jsx)(ZN, { name: "grip-vertical" })+ children: /* @__PURE__ */ (0, O.jsx)(XN, { name: "grip-vertical" })}),- /* @__PURE__ */ (0, O.jsx)(ZN, { name: a ?? "" }),+ /* @__PURE__ */ (0, O.jsx)(XN, { name: a ?? "" }),/* @__PURE__ */ (0, O.jsx)("b", { children: r })]}), /* @__PURE__ */ (0, O.jsxs)("span", {@@ -66348,7 +66348,7 @@ function Bwe({ host: e }) {title: "上移",disabled: o === 0,onClick: () => _(e, -1),- children: /* @__PURE__ */ (0, O.jsx)(ZN, { name: "chevron-up" })+ children: /* @__PURE__ */ (0, O.jsx)(XN, { name: "chevron-up" })}),/* @__PURE__ */ (0, O.jsx)("button", {type: "button",@@ -66358,7 +66358,7 @@ function Bwe({ host: e }) {title: "下移",disabled: o === i.length - 1,onClick: () => _(e, 1),- children: /* @__PURE__ */ (0, O.jsx)(ZN, { name: "chevron-down" })+ children: /* @__PURE__ */ (0, O.jsx)(XN, { name: "chevron-down" })}),/* @__PURE__ */ (0, O.jsx)("button", {type: "button",@@ -66370,11 +66370,11 @@ function Bwe({ host: e }) {onClick: () => {n.length > 1 && t(n.filter((t) => t !== e));},- children: /* @__PURE__ */ (0, O.jsx)(ZN, { name: "eye-off" })+ children: /* @__PURE__ */ (0, O.jsx)(XN, { name: "eye-off" })})]})]- }, b1(e))), /* @__PURE__ */ (0, O.jsxs)("div", {+ }, y1(e))), /* @__PURE__ */ (0, O.jsxs)("div", {"data-sidebar-add-row": "",children: [/* @__PURE__ */ (0, O.jsxs)("div", {"data-sidebar-add-picker": "",@@ -66390,13 +66390,13 @@ function Bwe({ host: e }) {ref: m,onClick: b,children: v ? /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [- /* @__PURE__ */ (0, O.jsx)(ZN, { name: v[2] ?? "" }),+ /* @__PURE__ */ (0, O.jsx)(XN, { name: v[2] ?? "" }),/* @__PURE__ */ (0, O.jsx)("span", {"data-sidebar-add-label": "",children: v[1]}),- /* @__PURE__ */ (0, O.jsx)(ZN, { name: "chevron-down" })- ] }) : /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)(ZN, { name: "check" }), /* @__PURE__ */ (0, O.jsx)("span", { children: "全部页面都已显示" })] })+ /* @__PURE__ */ (0, O.jsx)(XN, { name: "chevron-down" })+ ] }) : /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)(XN, { name: "check" }), /* @__PURE__ */ (0, O.jsx)("span", { children: "全部页面都已显示" })] })}), a.length ? /* @__PURE__ */ (0, O.jsx)("div", {className: "popmenu","data-sidebar-add-menu": "",@@ -66407,15 +66407,15 @@ function Bwe({ host: e }) {children: a.map(([e, t, n]) => /* @__PURE__ */ (0, O.jsxs)("button", {type: "button",role: "option",- "data-sidebar-add-option": b1(e),+ "data-sidebar-add-option": y1(e),"aria-selected": v?.[0] === e,tabIndex: v?.[0] === e ? 0 : -1,onKeyDown: x,onClick: () => {- s(b1(e)), y(), m.current?.focus();+ s(y1(e)), y(), m.current?.focus();},- children: [/* @__PURE__ */ (0, O.jsx)(ZN, { name: n ?? "" }), /* @__PURE__ */ (0, O.jsx)("span", { children: t })]- }, b1(e)))+ children: [/* @__PURE__ */ (0, O.jsx)(XN, { name: n ?? "" }), /* @__PURE__ */ (0, O.jsx)("span", { children: t })]+ }, y1(e)))}) : null]}), /* @__PURE__ */ (0, O.jsx)("button", {type: "button",@@ -66432,13 +66432,13 @@ function Bwe({ host: e }) {}//#endregion//#region src/react/settings-panel/settings-panel.tsx-var x1 = [+var b1 = [["外观与导航", "ri-palette-line"],["浏览与播放", "ri-play-circle-line"],["JAV 与新作", "jav"],["搜索与推荐", "ri-search-line"],["内容显示", "ri-shield-check-line"]-], Vwe = [+], Hwe = [["seed", "随机"],["rating", "评分"],["o", "高潮计数"],@@ -66447,7 +66447,7 @@ var x1 = [["size", "体积"],["new", "入库时间"],["played", "观看时间"]-], Hwe = [["desc", "降序"], ["asc", "升序"]], Uwe = [[+], Uwe = [["desc", "降序"], ["asc", "升序"]], Wwe = [["cover","官方封面",""@@ -66455,7 +66455,7 @@ var x1 = ["thumbnail","预览图",""-]], Wwe = [+]], Gwe = [["feedHideGroupSetting","feedHideGroupCompilations",@@ -66474,88 +66474,88 @@ var x1 = ["切片","隐藏切片"]-], Gwe = "button:not([disabled]),input:not([disabled]),textarea:not([disabled]),a[href]", S1 = null, C1 = {+], Kwe = "button:not([disabled]),input:not([disabled]),textarea:not([disabled]),a[href]", x1 = null, S1 = {open: !1,closing: !1,epoch: 0,tab: 0,configurable: null-}, w1 = 0, T1 = null, E1 = /* @__PURE__ */ new Set();-function Kwe(e) {- return E1.add(e), () => {- E1.delete(e);+}, C1 = 0, w1 = null, T1 = /* @__PURE__ */ new Set();+function qwe(e) {+ return T1.add(e), () => {+ T1.delete(e);};}-function qwe() {- for (let e of [...E1]) e();+function Jwe() {+ for (let e of [...T1]) e();}-function D1(e) {- C1 = {- ...C1,+function E1(e) {+ S1 = {+ ...S1,...e- }, (0, Et.flushSync)(qwe);+ }, (0, Et.flushSync)(Jwe);}-async function Jwe(e) {- let t = C1.epoch, n = await e.configurable();- C1.open && C1.epoch === t && D1({ configurable: n });+async function Ywe(e) {+ let t = S1.epoch, n = await e.configurable();+ S1.open && S1.epoch === t && E1({ configurable: n });}-function Ywe(e = "") {- let t = S1;+function Xwe(e = "") {+ let t = x1;if (!t) return;- let n = x1.findIndex(([t]) => t === e);- if (C1.open && !C1.closing) {- n >= 0 && n !== C1.tab && D1({ tab: n });+ let n = b1.findIndex(([t]) => t === e);+ if (S1.open && !S1.closing) {+ n >= 0 && n !== S1.tab && E1({ tab: n });return;}- Co(), w1 += 1, T1 ||= document.activeElement, t.sound("whoosh"), document.documentElement.style.overflow = "hidden", document.body.classList.add("settings-open");- let r = Mye();- D1({+ Co(), C1 += 1, w1 ||= document.activeElement, t.sound("whoosh"), document.documentElement.style.overflow = "hidden", document.body.classList.add("settings-open");+ let r = Nye();+ E1({open: !0,closing: !1,configurable: null,- epoch: C1.epoch + 1,- tab: n >= 0 ? n : C1.tab+ epoch: S1.epoch + 1,+ tab: n >= 0 ? n : S1.tab}), r.then((e) => {e && t.syncRemote(e);- }), Jwe(t), queueMicrotask(() => document.getElementById("settingsClose")?.focus());+ }), Ywe(t), queueMicrotask(() => document.getElementById("settingsClose")?.focus());}-function O1(e = !0) {- if (!C1.open || C1.closing) return;- let t = ++w1;- e && S1?.closed?.(), D1({ closing: !0 });+function D1(e = !0) {+ if (!S1.open || S1.closing) return;+ let t = ++C1;+ e && x1?.closed?.(), E1({ closing: !0 });let n = () => {- t === w1 && C1.closing && (D1({+ t === C1 && S1.closing && (E1({open: !1,closing: !1- }), document.documentElement.style.overflow = "", document.body.classList.remove("settings-open"), T1 instanceof HTMLElement && document.contains(T1) && T1.focus(), T1 = null);+ }), document.documentElement.style.overflow = "", document.body.classList.remove("settings-open"), w1 instanceof HTMLElement && document.contains(w1) && w1.focus(), w1 = null);};matchMedia("(prefers-reduced-motion: reduce)").matches ? queueMicrotask(n) : (document.querySelector("#settingsPanel > [data-settings-card]")?.addEventListener("animationend", n, { once: !0 }), setTimeout(n, 380));}-var Xwe = {- open: Ywe,- close: O1,- isOpen: () => C1.open,+var Zwe = {+ open: Xwe,+ close: D1,+ isOpen: () => S1.open,reveal: (e) => queueMicrotask(() => document.querySelector(e)?.scrollIntoView({ block: "nearest" }))};-function Zwe(e) {- return S1 = e, Xwe;+function Qwe(e) {+ return x1 = e, Zwe;}-function Qwe() {- let e = (0, D.useSyncExternalStore)(Kwe, () => C1);- return S1 ? /* @__PURE__ */ (0, O.jsx)(tTe, {- host: S1,+function $we() {+ let e = (0, D.useSyncExternalStore)(qwe, () => S1);+ return x1 ? /* @__PURE__ */ (0, O.jsx)(nTe, {+ host: x1,view: e}) : null;}-function $we(e) {+function eTe(e) {if (e.key !== "Tab") return;- let t = [...e.currentTarget.querySelectorAll(Gwe)].filter((e) => e.getClientRects().length > 0);+ let t = [...e.currentTarget.querySelectorAll(Kwe)].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 k1 = (e) => `settings-tab-${e}`, A1 = (e) => `settings-group-${e}`;-function eTe({ tab: e, epoch: t, configurable: n, openConfiguration: r, onSelect: i }) {+var O1 = (e) => `settings-tab-${e}`, k1 = (e) => `settings-group-${e}`;+function tTe({ tab: e, epoch: t, configurable: n, openConfiguration: r, onSelect: i }) {let a = (0, D.useRef)(null), o = (0, D.useRef)(null), s = (0, D.useRef)(null), c = (0, D.useRef)(e), l = (0, D.useRef)([]), u = (e, t) => {let n = o.current;if (!n) return;@@ -66583,7 +66583,7 @@ function eTe({ 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 = x1.length, r = t;+ let n = b1.length, r = t;if (e.key === "ArrowRight" || e.key === "ArrowDown") r = (t + 1) % n;else if (e.key === "ArrowLeft" || e.key === "ArrowUp") r = (t + n - 1) % n;else if (e.key === "Home") r = 0;@@ -66612,11 +66612,11 @@ function eTe({ tab: e, epoch: t, configurable: n, openConfiguration: r, onSelectrole: "presentation",children: "设置"}),- x1.map(([t, n], r) => /* @__PURE__ */ (0, O.jsxs)("button", {+ b1.map(([t, n], r) => /* @__PURE__ */ (0, O.jsxs)("button", {type: "button",role: "tab",- id: k1(r),- "aria-controls": A1(r),+ id: O1(r),+ "aria-controls": k1(r),"aria-selected": r === e,tabIndex: r === e ? 0 : -1,ref: (e) => {@@ -66627,7 +66627,7 @@ function eTe({ tab: e, epoch: t, configurable: n, openConfiguration: r, onSelectonPointerEnter: (e) => {e.pointerType !== "touch" && u(e.currentTarget, !0);},- children: [n === "jav" ? /* @__PURE__ */ (0, O.jsx)(ZN, { name: n }) : /* @__PURE__ */ (0, O.jsx)(QN, { name: n }), t]+ children: [n === "jav" ? /* @__PURE__ */ (0, O.jsx)(XN, { name: n }) : /* @__PURE__ */ (0, O.jsx)(ZN, { name: n }), t]}, t)),/* @__PURE__ */ (0, O.jsx)("div", {"data-settings-service": "",@@ -66638,27 +66638,27 @@ function eTe({ tab: e, epoch: t, configurable: n, openConfiguration: r, onSelectonClick: r,title: n === !1 ? "请在运行 Peach 的设备上打开 Peach 配置" : void 0,children: [- /* @__PURE__ */ (0, O.jsx)(ZN, { name: "folder-cog" }),+ /* @__PURE__ */ (0, O.jsx)(XN, { name: "folder-cog" }),"Peach 配置",- /* @__PURE__ */ (0, O.jsx)(ZN, { name: "chevron-right" })+ /* @__PURE__ */ (0, O.jsx)(XN, { name: "chevron-right" })]})})]});}-function j1({ index: e, tab: t, children: n, cards: r = !1 }) {+function A1({ index: e, tab: t, children: n, cards: r = !1 }) {return /* @__PURE__ */ (0, O.jsxs)("section", {"data-setting-group": "","data-setting-layout": r ? "cards" : void 0,- id: A1(e),+ id: k1(e),role: "tabpanel",- "aria-labelledby": k1(e),+ "aria-labelledby": O1(e),hidden: e !== t,- children: [/* @__PURE__ */ (0, O.jsx)("h3", { children: x1[e][0] }), n]+ children: [/* @__PURE__ */ (0, O.jsx)("h3", { children: b1[e][0] }), n]});}-function M1({ id: e, title: t, description: n, describedBy: r = `${e.replace(/Setting$/, "")}Description`, checked: i, onToggle: a }) {+function j1({ id: e, title: t, description: n, describedBy: r = `${e.replace(/Setting$/, "")}Description`, checked: i, onToggle: a }) {return /* @__PURE__ */ (0, O.jsxs)("label", {"data-setting-row": "",children: [/* @__PURE__ */ (0, O.jsxs)("span", { children: [/* @__PURE__ */ (0, O.jsx)("b", { children: t }), n ? /* @__PURE__ */ (0, O.jsx)("small", {@@ -66675,7 +66675,7 @@ function M1({ id: e, title: t, description: n, describedBy: r = `${e.replace(/Se})]});}-function N1({ title: e, description: t, kind: n, children: r }) {+function M1({ title: e, description: t, kind: n, children: r }) {return /* @__PURE__ */ (0, O.jsxs)("div", {"data-setting-row": "","data-setting-sort": n === "sort" ? "" : void 0,@@ -66683,7 +66683,7 @@ function N1({ title: e, description: t, kind: n, children: r }) {children: [/* @__PURE__ */ (0, O.jsxs)("span", { children: [/* @__PURE__ */ (0, O.jsx)("b", { children: e }), typeof t == "string" ? /* @__PURE__ */ (0, O.jsx)("small", { children: t }) : t] }), r]});}-function tTe({ host: e, view: t }) {+function nTe({ host: e, view: t }) {(0, D.useSyncExternalStore)(e.store.subscribe, e.store.version);let n = e.store.value, r = (0, D.useRef)(null), i = (0, D.useRef)(null), a = (0, D.useRef)(null), o = (0, D.useRef)(null), s = (0, D.useRef)(null), c = (0, D.useRef)(t.tab), l = () => {let [e, t] = [i.current, o.current];@@ -66704,7 +66704,7 @@ function tTe({ host: e, view: t }) {s.current?.();});let d = t.epoch, f = (t) => {- t !== C1.tab && (D1({ tab: t }), e.selectSection?.(x1[t][0]));+ t !== S1.tab && (E1({ tab: t }), e.selectSection?.(b1[t][0]));}, p = () => e.store.save();return /* @__PURE__ */ (0, O.jsx)("section", {"data-settings-panel": "",@@ -66715,9 +66715,9 @@ function tTe({ host: e, view: t }) {"aria-labelledby": "settingsTitle","data-closing": t.closing ? "" : void 0,ref: r,- onKeyDown: $we,+ onKeyDown: eTe,onClick: (e) => {- e.target === e.currentTarget && O1();+ e.target === e.currentTarget && D1();},children: /* @__PURE__ */ (0, O.jsxs)("div", {"data-settings-card": "",@@ -66728,27 +66728,27 @@ function tTe({ host: e, view: t }) {ref: a,children: [/* @__PURE__ */ (0, O.jsx)("h2", {id: "settingsTitle",- children: x1[t.tab][0]- }), /* @__PURE__ */ (0, O.jsx)(Uz, {+ children: b1[t.tab][0]+ }), /* @__PURE__ */ (0, O.jsx)(Hz, {id: "settingsClose",label: "关闭设置",- onPress: () => O1()+ onPress: () => D1()})]}),- /* @__PURE__ */ (0, O.jsx)(eTe, {+ /* @__PURE__ */ (0, O.jsx)(tTe, {tab: t.tab,epoch: d,configurable: t.configurable,onSelect: f,openConfiguration: () => {- O1(!1), e.openConfiguration();+ D1(!1), e.openConfiguration();}}),/* @__PURE__ */ (0, O.jsxs)("div", {"data-settings-scroll": "",ref: o,children: [- /* @__PURE__ */ (0, O.jsxs)(j1, {+ /* @__PURE__ */ (0, O.jsxs)(A1, {index: 0,tab: t.tab,cards: !0,@@ -66756,9 +66756,9 @@ function tTe({ host: e, view: t }) {/* @__PURE__ */ (0, O.jsxs)("div", {"data-setting-card": "",children: [- /* @__PURE__ */ (0, O.jsx)(N1, {+ /* @__PURE__ */ (0, O.jsx)(M1, {title: "主题",- children: /* @__PURE__ */ (0, O.jsx)(p1, {+ children: /* @__PURE__ */ (0, O.jsx)(f1, {id: "themeSetting",name: "theme",legend: "主题",@@ -66786,7 +66786,7 @@ function tTe({ host: e, view: t }) {onChange: (t) => e.setHighContrast(t.target.checked)})]}),- /* @__PURE__ */ (0, O.jsx)(M1, {+ /* @__PURE__ */ (0, O.jsx)(j1, {id: "uiSoundsSetting",title: "界面音效",checked: n.uiSounds,@@ -66794,7 +66794,7 @@ function tTe({ host: e, view: t }) {n.uiSounds = t, p(), e.changed("uiSounds");}}),- /* @__PURE__ */ (0, O.jsx)(M1, {+ /* @__PURE__ */ (0, O.jsx)(j1, {id: "homeGlowSetting",title: "侧栏光晕",checked: n.homeGlow.on,@@ -66804,7 +66804,7 @@ function tTe({ host: e, view: t }) {})]}),- /* @__PURE__ */ (0, O.jsx)(Lwe, { host: e }),+ /* @__PURE__ */ (0, O.jsx)(Rwe, { host: e }),/* @__PURE__ */ (0, O.jsxs)("section", {"data-setting-block": "","aria-labelledby": "sidebarOrderTitle",@@ -66816,35 +66816,35 @@ function tTe({ host: e, view: t }) {"data-setting-card": "",children: /* @__PURE__ */ (0, O.jsx)("section", {"data-sidebar-setting": "",- children: /* @__PURE__ */ (0, O.jsx)(Bwe, { host: e })+ children: /* @__PURE__ */ (0, O.jsx)(Vwe, { host: e })})})]})]}),- /* @__PURE__ */ (0, O.jsx)(rTe, {+ /* @__PURE__ */ (0, O.jsx)(iTe, {host: e,tab: t.tab,epoch: d}),- /* @__PURE__ */ (0, O.jsx)(iTe, {+ /* @__PURE__ */ (0, O.jsx)(aTe, {host: e,tab: t.tab,epoch: d}),- /* @__PURE__ */ (0, O.jsxs)(j1, {+ /* @__PURE__ */ (0, O.jsxs)(A1, {index: 3,tab: t.tab,children: [- /* @__PURE__ */ (0, O.jsx)(sTe, {+ /* @__PURE__ */ (0, O.jsx)(cTe, {host: e,epoch: d}),- /* @__PURE__ */ (0, O.jsx)(N1, {+ /* @__PURE__ */ (0, O.jsx)(M1, {title: "相关推荐数量",children: /* @__PURE__ */ (0, O.jsx)("div", {id: "relatedLimitSetting",- children: /* @__PURE__ */ (0, O.jsx)(_1, {+ children: /* @__PURE__ */ (0, O.jsx)(g1, {id: "relatedLimitSetting",label: "相关推荐数量",value: n.relatedLimit,@@ -66854,24 +66854,24 @@ function tTe({ host: e, view: t }) {}, d)})}),- /* @__PURE__ */ (0, O.jsx)(N1, {+ /* @__PURE__ */ (0, O.jsx)(M1, {title: "口味与记录",children: /* @__PURE__ */ (0, O.jsx)("div", {className: "peach-react",- children: /* @__PURE__ */ (0, O.jsx)(mI, {+ children: /* @__PURE__ */ (0, O.jsx)(pI, {variant: "secondary",href: "/taste",- onClick: () => O1(!1),+ onClick: () => D1(!1),children: "打开口味与记录"})})})]}),- /* @__PURE__ */ (0, O.jsx)(j1, {+ /* @__PURE__ */ (0, O.jsx)(A1, {index: 4,tab: t.tab,- children: /* @__PURE__ */ (0, O.jsx)(M1, {+ children: /* @__PURE__ */ (0, O.jsx)(j1, {id: "censorSetting",title: "SFW 模式",describedBy: "sfwDescription",@@ -66886,7 +66886,7 @@ function tTe({ host: e, view: t }) {})});}-function nTe(e, t) {+function rTe(e, t) {let n = e.querySelector("[data-select-label]");if (!n) return;n.querySelector("[data-icon-swap]") || (n.innerHTML = ls("arrow-up", "arrow-down", "a", {@@ -66896,9 +66896,9 @@ function nTe(e, t) {let r = n.querySelector("[data-sort-direction-label]");r && (r.textContent = t ? "升序" : "降序");}-function rTe({ host: e, tab: t, epoch: n }) {+function iTe({ host: e, tab: t, epoch: n }) {let r = e.store.value, i = () => e.store.save(), a = r.defaultSort === "seed", o = r.defaultSortDirection === "asc";- return /* @__PURE__ */ (0, O.jsxs)(j1, {+ return /* @__PURE__ */ (0, O.jsxs)(A1, {index: 1,tab: t,children: [@@ -66906,11 +66906,11 @@ function rTe({ host: e, tab: t, epoch: n }) {"data-settings-subheading": "",children: "作品列表"}),- /* @__PURE__ */ (0, O.jsx)(N1, {+ /* @__PURE__ */ (0, O.jsx)(M1, {title: "每批加载作品",children: /* @__PURE__ */ (0, O.jsx)("div", {id: "batchSizeSetting",- children: /* @__PURE__ */ (0, O.jsx)(_1, {+ children: /* @__PURE__ */ (0, O.jsx)(g1, {id: "batchSizeSetting",label: "每批作品",value: r.batchSize,@@ -66920,24 +66920,24 @@ function rTe({ host: e, tab: t, epoch: n }) {}, n)})}),- /* @__PURE__ */ (0, O.jsx)(N1, {+ /* @__PURE__ */ (0, O.jsx)(M1, {title: "默认排序",kind: "sort",children: /* @__PURE__ */ (0, O.jsxs)("div", {"data-setting-sort-controls": "",- children: [/* @__PURE__ */ (0, O.jsx)(m1, {+ children: [/* @__PURE__ */ (0, O.jsx)(p1, {id: "defaultSortSetting",label: "默认排序",- options: Vwe,+ options: Hwe,value: r.defaultSort,epoch: n,onPick: (t) => {r.defaultSort = t, i(), e.changed("defaultSort");}- }), /* @__PURE__ */ (0, O.jsx)(m1, {+ }), /* @__PURE__ */ (0, O.jsx)(p1, {id: "defaultSortDirectionSetting",label: "默认排序方向",- options: Hwe,+ options: Uwe,value: o ? "asc" : "desc",hidden: a,disabled: a,@@ -66945,13 +66945,13 @@ function rTe({ host: e, tab: t, epoch: n }) {onPick: (t) => {r.defaultSortDirection = t, i(), e.changed("sortDirection");},- decorate: (e) => nTe(e, o)+ decorate: (e) => rTe(e, o)})]})}),- /* @__PURE__ */ (0, O.jsx)(N1, {+ /* @__PURE__ */ (0, O.jsx)(M1, {title: "视频卡片大小",- children: /* @__PURE__ */ (0, O.jsx)(p1, {+ children: /* @__PURE__ */ (0, O.jsx)(f1, {id: "javSizeSetting",name: "video-size",legend: "视频卡片大小",@@ -66977,16 +66977,16 @@ function rTe({ host: e, tab: t, epoch: n }) {}})]}),- /* @__PURE__ */ (0, O.jsx)(N1, {+ /* @__PURE__ */ (0, O.jsx)(M1, {title: "悬停预览延迟",children: /* @__PURE__ */ (0, O.jsx)("div", {id: "hoverDelaySetting",- children: /* @__PURE__ */ (0, O.jsx)(_1, {+ children: /* @__PURE__ */ (0, O.jsx)(g1, {id: "hoverDelaySetting",label: "悬停预览延迟",value: r.hoverDelaySeconds,onApply: (t) => {- r.hoverDelaySeconds = xk(t, 0, 60, 5), i(), e.changed("hoverDelay");+ r.hoverDelaySeconds = bk(t, 0, 60, 5), i(), e.changed("hoverDelay");}}, n)})@@ -66995,16 +66995,16 @@ function rTe({ host: e, tab: t, epoch: n }) {"data-settings-subheading": "",children: "播放"}),- /* @__PURE__ */ (0, O.jsx)(oTe, {+ /* @__PURE__ */ (0, O.jsx)(sTe, {host: e,epoch: n})]});}-function iTe({ host: e, tab: t, epoch: n }) {+function aTe({ host: e, tab: t, epoch: n }) {let r = e.store.value, i = () => e.store.save();- return /* @__PURE__ */ (0, O.jsxs)(j1, {+ return /* @__PURE__ */ (0, O.jsxs)(A1, {index: 2,tab: t,children: [@@ -67012,13 +67012,13 @@ function iTe({ host: e, tab: t, epoch: n }) {"data-settings-subheading": "",children: "作品显示"}),- /* @__PURE__ */ (0, O.jsx)(N1, {+ /* @__PURE__ */ (0, O.jsx)(M1, {title: "默认图片",- children: /* @__PURE__ */ (0, O.jsx)(p1, {+ children: /* @__PURE__ */ (0, O.jsx)(f1, {id: "javImageSetting",name: "jav-image",legend: "默认图片",- options: Uwe,+ options: Wwe,value: r.javImage,attr: "data-jav-image-choice",variant: "javimageswitch",@@ -67033,21 +67033,21 @@ function iTe({ host: e, tab: t, epoch: n }) {"data-settings-subheading": "",children: "新作显示"}),- /* @__PURE__ */ (0, O.jsx)(N1, {+ /* @__PURE__ */ (0, O.jsx)(M1, {title: "显示数量",children: /* @__PURE__ */ (0, O.jsx)("div", {id: "feedLimitSetting",- children: /* @__PURE__ */ (0, O.jsx)(_1, {+ children: /* @__PURE__ */ (0, O.jsx)(g1, {id: "feedLimitSetting",label: "新作显示数量",value: r.feedLimit,onApply: (t) => {- r.feedLimit = xk(t, 1, 100, 12), i(), e.changed("feedLimit");+ r.feedLimit = bk(t, 1, 100, 12), i(), e.changed("feedLimit");}}, n)})}),- /* @__PURE__ */ (0, O.jsx)(M1, {+ /* @__PURE__ */ (0, O.jsx)(j1, {id: "feedAutoScrollSetting",title: "自动滚动",checked: r.feedAutoScroll,@@ -67055,7 +67055,7 @@ function iTe({ host: e, tab: t, epoch: n }) {r.feedAutoScroll = t, i(), e.changed("feedAutoScroll");}}),- Wwe.map(([t, n, r, i]) => /* @__PURE__ */ (0, O.jsx)(aTe, {+ Gwe.map(([t, n, r, i]) => /* @__PURE__ */ (0, O.jsx)(oTe, {host: e,id: t,settingKey: n,@@ -67065,8 +67065,8 @@ function iTe({ host: e, tab: t, epoch: n }) {]});}-function aTe({ host: e, id: t, settingKey: n, label: r, title: i }) {- let a = mX(), [o, s] = (0, D.useState)(null), c = (0, D.useRef)(null), l = e.store.value, u = (t) => {+function oTe({ host: e, id: t, settingKey: n, label: r, title: i }) {+ let a = pX(), [o, s] = (0, D.useState)(null), c = (0, D.useRef)(null), l = e.store.value, u = (t) => {s(t), lc(c.current), a.mutate({ [n]: t }, {onSuccess: (i) => {l[n] = i[n] === !0, e.store.save(), e.changed("feedCompilations"), e.receipt(t ? `新作已收起${r}` : `新作已列出${r}`);@@ -67090,10 +67090,10 @@ function aTe({ host: e, id: t, settingKey: n, label: r, title: i }) {})]});}-function oTe({ host: e, epoch: t }) {+function sTe({ host: e, epoch: t }) {let n = e.store.value, r = () => e.store.save();return /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [- /* @__PURE__ */ (0, O.jsx)(M1, {+ /* @__PURE__ */ (0, O.jsx)(j1, {id: "detailAutoplaySetting",title: "打开详情自动播放",checked: n.detailAutoplay,@@ -67101,7 +67101,7 @@ function oTe({ host: e, epoch: t }) {n.detailAutoplay = e, r();}}),- /* @__PURE__ */ (0, O.jsx)(M1, {+ /* @__PURE__ */ (0, O.jsx)(j1, {id: "miniplayerSetting",title: "离开详情后小窗播放",checked: n.miniplayer,@@ -67109,11 +67109,11 @@ function oTe({ host: e, epoch: t }) {n.miniplayer = t, r(), e.changed("miniplayer");}}),- /* @__PURE__ */ (0, O.jsx)(N1, {+ /* @__PURE__ */ (0, O.jsx)(M1, {title: "快进 / 快退步长",children: /* @__PURE__ */ (0, O.jsx)("div", {id: "seekSecondsSetting",- children: /* @__PURE__ */ (0, O.jsx)(_1, {+ children: /* @__PURE__ */ (0, O.jsx)(g1, {id: "seekSecondsSetting",label: "快进 / 快退",value: n.seekSeconds,@@ -67125,18 +67125,18 @@ function oTe({ host: e, epoch: t }) {})] });}-function sTe({ host: e, epoch: t }) {- let n = e.store.value, r = mX();- return /* @__PURE__ */ (0, O.jsx)(N1, {+function cTe({ host: e, epoch: t }) {+ let n = e.store.value, r = pX();+ return /* @__PURE__ */ (0, O.jsx)(M1, {title: "搜索记录数量",children: /* @__PURE__ */ (0, O.jsx)("div", {id: "searchHistoryLimitSetting",- children: /* @__PURE__ */ (0, O.jsx)(_1, {+ children: /* @__PURE__ */ (0, O.jsx)(g1, {id: "searchHistoryLimitSetting",label: "搜索记录",value: n.searchHistoryLimit,onApply: (t) => {- n.searchHistoryLimit = xk(t, 0, 50, 10), e.store.save(), e.changed("searchHistoryLimit"), r.mutate({ searchHistoryLimit: n.searchHistoryLimit }, { onError: () => {} });+ n.searchHistoryLimit = bk(t, 0, 50, 10), e.store.save(), e.changed("searchHistoryLimit"), r.mutate({ searchHistoryLimit: n.searchHistoryLimit }, { onError: () => {} });}}, t)})@@ -67144,68 +67144,68 @@ function sTe({ host: e, epoch: t }) {}//#endregion//#region src/react/sidebar/sidebar-island.tsx-var P1 = "__home__", cTe = {+var N1 = "__home__", lTe = {creator: 26,tag: 30,tech: 16-}, F1 = 180, I1 = null, L1 = {+}, P1 = 180, F1 = null, I1 = {props: {content: null,filters: {},latest: null},epoch: 0-}, R1 = /* @__PURE__ */ new Set();-function lTe(e) {- return R1.add(e), () => {- R1.delete(e);+}, L1 = /* @__PURE__ */ new Set();+function uTe(e) {+ return L1.add(e), () => {+ L1.delete(e);};}-function z1() {- for (let e of [...R1]) e();+function R1() {+ for (let e of [...L1]) e();}-var uTe = {+var dTe = {render(e) {- L1 = {- ...L1,+ I1 = {+ ...I1,props: e- }, (0, Et.flushSync)(z1);+ }, (0, Et.flushSync)(R1);},navChanged() {- L1 = {- ...L1,- epoch: L1.epoch + 1- }, (0, Et.flushSync)(z1);+ I1 = {+ ...I1,+ epoch: I1.epoch + 1+ }, (0, Et.flushSync)(R1);}};-function dTe(e) {- return I1 = e, L1 = {- ...L1,+function fTe(e) {+ return F1 = e, I1 = {+ ...I1,props: {content: null,filters: {},latest: null}- }, uTe;+ }, dTe;}-function fTe() {- let e = (0, D.useSyncExternalStore)(lTe, () => L1);- return I1 ? /* @__PURE__ */ (0, O.jsx)(pTe, {- host: I1,+function pTe() {+ let e = (0, D.useSyncExternalStore)(uTe, () => I1);+ return F1 ? /* @__PURE__ */ (0, O.jsx)(mTe, {+ host: F1,props: e.props,epoch: e.epoch}) : null;}-function pTe({ host: e, props: t, epoch: n }) {+function mTe({ host: e, props: t, epoch: n }) {let r = (0, D.useSyncExternalStore)(e.store.subscribe, e.store.version);return /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)("div", { "data-sidebar-head": "" }),- /* @__PURE__ */ (0, O.jsx)(mTe, {+ /* @__PURE__ */ (0, O.jsx)(hTe, {host: e,epoch: n,version: r}),- t.content ? /* @__PURE__ */ (0, O.jsx)(gTe, {+ t.content ? /* @__PURE__ */ (0, O.jsx)(_Te, {host: e,content: t.content,filters: t.filters,@@ -67213,8 +67213,8 @@ function pTe({ host: e, props: t, epoch: n }) {}) : null] });}-function mTe({ host: e, epoch: t, version: n }) {- let r = v1(e.store), i = e.store.value.sidebarOrder, a = new Map(e.navCatalog.map((e) => [e[0], e])), o = i.map((e) => a.get(e)).filter((e) => e !== void 0), s = o.map(([t]) => e.navOn(t)), c = (0, D.useRef)(null), l = (0, D.useRef)(null), u = fI(l, c, "[data-nav][aria-pressed=\"true\"]", `${t}:${n}:${o.map(([e], t) => s[t] ? e || P1 : "").join(",")}`, { axis: "y" }), { sync: d } = u;+function hTe({ host: e, epoch: t, version: n }) {+ let r = _1(e.store), i = e.store.value.sidebarOrder, a = new Map(e.navCatalog.map((e) => [e[0], e])), o = i.map((e) => a.get(e)).filter((e) => e !== void 0), s = o.map(([t]) => e.navOn(t)), c = (0, D.useRef)(null), l = (0, D.useRef)(null), u = dI(l, c, "[data-nav][aria-pressed=\"true\"]", `${t}:${n}:${o.map(([e], t) => s[t] ? e || N1 : "").join(",")}`, { axis: "y" }), { sync: d } = u;(0, D.useEffect)(() => {let t = e.scroll, n = t.parentElement, r = t.querySelector(":scope > [data-sidebar-head]"), i = new ResizeObserver(() => d());[@@ -67238,7 +67238,7 @@ function mTe({ host: e, epoch: t, version: n }) {}, _ = (e) => ({draggable: !0,onDragStart: (t) => {- p(e), t.dataTransfer.effectAllowed = "move", t.dataTransfer.setData("text/plain", e || P1);+ p(e), t.dataTransfer.effectAllowed = "move", t.dataTransfer.setData("text/plain", e || N1);},onDragOver: (t) => {if (f === null || f === e) return;@@ -67253,7 +67253,7 @@ function mTe({ host: e, epoch: t, version: n }) {t.preventDefault();let n = f, a = m?.key === e && m.after;g();- let o = n === null ? null : y1(i, n, e, a);+ let o = n === null ? null : v1(i, n, e, a);o && r(o);},onDragEnd: g@@ -67281,16 +67281,16 @@ function mTe({ host: e, epoch: t, version: n }) {height: 24,alt: "",decoding: "async"- }) : /* @__PURE__ */ (0, O.jsx)(ZN, { name: r }), /* @__PURE__ */ (0, O.jsx)("span", { children: n })]- }, t || P1))+ }) : /* @__PURE__ */ (0, O.jsx)(XN, { name: r }), /* @__PURE__ */ (0, O.jsx)("span", { children: n })]+ }, t || N1))}), v ? (0, Et.createPortal)(/* @__PURE__ */ (0, O.jsx)("span", {"data-sidebar-glide": "","aria-hidden": "true",ref: l}), v) : null] });}-var B1 = (e, t) => String(e[t] ?? "").split(",").filter(Boolean);-function hTe(e) {+var z1 = (e, t) => String(e[t] ?? "").split(",").filter(Boolean);+function gTe(e) {if (!e) return null;let t = /* @__PURE__ */ new Map(), n = [["loc", e.locations],@@ -67303,7 +67303,7 @@ function hTe(e) {for (let [e, r] of n) for (let n of r) t.set(`${e}\n${n.value}`, n.n ?? 0);return t;}-function gTe({ host: e, content: t, filters: n, latest: r }) {+function _Te({ host: e, content: t, filters: n, latest: r }) {let i = t.kind === "catalog" ? t.key : `follow:${t.selected.join(",")}:${t.tags.map((e) => e.value).join(",")}:${(t.providers || []).map((e) => e.value).join(",")}:${n.provider ?? ""}:${+!!t.duration}:${n.dur_min ?? ""}:${n.dur_max ?? ""}`;(0, D.useLayoutEffect)(() => {t.kind === "catalog" && hs(e.scroll, "drawer");@@ -67312,8 +67312,8 @@ function gTe({ host: e, content: t, filters: n, latest: r }) {i,t.kind]);- let a = t.kind === "catalog" ? _Te(e, t.facets, n, r, i) : vTe(e, t, n), o = 0;- return a.map((e) => e && /* @__PURE__ */ (0, O.jsx)(yTe, {+ let a = t.kind === "catalog" ? vTe(e, t.facets, n, r, i) : yTe(e, t, n), o = 0;+ return a.map((e) => e && /* @__PURE__ */ (0, O.jsx)(bTe, {title: e.title,kind: e.kind,active: e.active,@@ -67322,11 +67322,11 @@ function gTe({ host: e, content: t, filters: n, latest: r }) {children: e.body}, e.title));}-function _Te(e, t, n, r, i) {- let a = hTe(r), o = (t, r, i) => {+function vTe(e, t, n, r, i) {+ let a = gTe(r), o = (t, r, i) => {if (!t.length) return null;- let o = B1(n, r);- return /* @__PURE__ */ (0, O.jsx)(U1, {+ let o = z1(n, r);+ return /* @__PURE__ */ (0, O.jsx)(H1, {rows: t,filterKey: r,multi: i,@@ -67336,7 +67336,7 @@ function _Te(e, t, n, r, i) {});}, s = (t, s, c, l, u, d) => {if (!c.length) return null;- let f = B1(n, l), p = c.some((e) => f.includes(e.value));+ let f = z1(n, l), p = c.some((e) => f.includes(e.value));if (!d) return {title: t,kind: s,@@ -67348,12 +67348,12 @@ function _Te(e, t, n, r, i) {title: t,kind: s,active: p,- body: /* @__PURE__ */ (0, O.jsx)(xTe, {+ body: /* @__PURE__ */ (0, O.jsx)(STe, {epoch: i,title: t,rows: c,latest: m ?? null,- limit: cTe[d],+ limit: lTe[d],filterKey: l,selected: f,counts: a,@@ -67368,7 +67368,7 @@ function _Te(e, t, n, r, i) {title: "时长",kind: "meta",active: !1,- body: /* @__PURE__ */ (0, O.jsx)(K1, {+ body: /* @__PURE__ */ (0, O.jsx)(G1, {host: e,filters: n})@@ -67382,7 +67382,7 @@ function _Te(e, t, n, r, i) {title: "关注标签",kind: "online",active: !1,- body: /* @__PURE__ */ (0, O.jsx)(W1, {+ body: /* @__PURE__ */ (0, O.jsx)(U1, {rows: t.followTags,host: e,selected: null,@@ -67391,14 +67391,14 @@ function _Te(e, t, n, r, i) {} : null];}-function vTe(e, t, n) {- let r = t.providers || [], i = B1(n, "provider"), a = new Set(t.selected);+function yTe(e, t, n) {+ let r = t.providers || [], i = z1(n, "provider"), a = new Set(t.selected);return [r.length ? {title: "来源",kind: "src",active: r.some((e) => i.includes(e.value)),- body: /* @__PURE__ */ (0, O.jsx)(U1, {+ body: /* @__PURE__ */ (0, O.jsx)(H1, {rows: r,filterKey: "provider",multi: !1,@@ -67412,7 +67412,7 @@ function vTe(e, t, n) {title: "时长",kind: "meta",active: !1,- body: /* @__PURE__ */ (0, O.jsx)(K1, {+ body: /* @__PURE__ */ (0, O.jsx)(G1, {host: e,filters: n,commit: e.setFollowDuration@@ -67422,7 +67422,7 @@ function vTe(e, t, n) {title: "内容标签",kind: "online",active: t.tags.some((e) => a.has(e.value)),- body: /* @__PURE__ */ (0, O.jsx)(W1, {+ body: /* @__PURE__ */ (0, O.jsx)(U1, {rows: t.tags,host: e,selected: a,@@ -67431,19 +67431,19 @@ function vTe(e, t, n) {} : null];}-function V1(e, t) {+function B1(e, t) {let n = null;try {n = sessionStorage.getItem(`peach.sidebar.group.${e}`);} catch {}return n === null ? t : n === "open";}-function yTe({ title: e, kind: t, active: n, index: r, epoch: i, children: a }) {- let o = (0, D.useRef)(null), s = (0, D.useRef)(null), [c, l] = (0, D.useState)(() => V1(e, n)), u = (0, D.useRef)(!1);+function bTe({ title: e, kind: t, active: n, index: r, epoch: i, children: a }) {+ let o = (0, D.useRef)(null), s = (0, D.useRef)(null), [c, l] = (0, D.useState)(() => B1(e, n)), u = (0, D.useRef)(!1);(0, D.useLayoutEffect)(() => {let t = o.current, r = s.current;if (!t || !r) return;- let i = u.current ? V1(e, n) : c;+ let i = u.current ? B1(e, n) : c;u.current = !0, t.open !== i && (t.open = i, r.inert = !i, r.style.height = "", r.classList.contains("ui-fcollapse") && r.classList.toggle("ui-fcollapse-settled", i), l(i));}, [i]);let d = (t) => {@@ -67464,7 +67464,7 @@ function yTe({ title: e, kind: t, active: n, index: r, epoch: i, children: a })"aria-expanded": c,"aria-controls": f,onClick: d,- children: [/* @__PURE__ */ (0, O.jsx)(ZN, { name: "chevron-right" }), /* @__PURE__ */ (0, O.jsx)("span", { children: e })]+ children: [/* @__PURE__ */ (0, O.jsx)(XN, { name: "chevron-right" }), /* @__PURE__ */ (0, O.jsx)("span", { children: e })]}), /* @__PURE__ */ (0, O.jsx)("div", {ref: s,"data-sidebar-collapse": "",@@ -67475,7 +67475,7 @@ function yTe({ title: e, kind: t, active: n, index: r, epoch: i, children: a })children: /* @__PURE__ */ (0, O.jsx)("div", {"data-sidebar-body": "",id: `sidebar-group-${encodeURIComponent(e)}`,- children: /* @__PURE__ */ (0, O.jsx)(H1.Provider, {+ children: /* @__PURE__ */ (0, O.jsx)(V1.Provider, {value: d,children: a})@@ -67484,15 +67484,15 @@ function yTe({ title: e, kind: t, active: n, index: r, epoch: i, children: a })})]});}-var H1 = (0, D.createContext)(() => {});-function bTe({ dot: e }) {- return e ? e.kind === "glyph" ? /* @__PURE__ */ (0, O.jsx)(ZN, { name: e.name }) : e.kind === "image" ? /* @__PURE__ */ (0, O.jsx)("img", {+var V1 = (0, D.createContext)(() => {});+function xTe({ dot: e }) {+ return e ? e.kind === "glyph" ? /* @__PURE__ */ (0, O.jsx)(XN, { name: e.name }) : e.kind === "image" ? /* @__PURE__ */ (0, O.jsx)("img", {"data-sidebar-source-icon": "",src: e.src,alt: ""}) : /* @__PURE__ */ (0, O.jsx)("i", { "data-sidebar-cost": e.cost }) : null;}-function U1({ rows: e, filterKey: t, multi: n, selected: r, counts: i, host: a, onToggle: o = a.toggleChip }) {+function H1({ rows: e, filterKey: t, multi: n, selected: r, counts: i, host: a, onToggle: o = a.toggleChip }) {return /* @__PURE__ */ (0, O.jsx)("div", {"data-sidebar-chips": "",children: e.map((e) => {@@ -67509,7 +67509,7 @@ function U1({ rows: e, filterKey: t, multi: n, selected: r, counts: i, host: a,title: e.offline || e.label,onClick: () => o(t, e.value, n),children: [- /* @__PURE__ */ (0, O.jsx)(bTe, { dot: e.dot }),+ /* @__PURE__ */ (0, O.jsx)(xTe, { dot: e.dot }),/* @__PURE__ */ (0, O.jsx)("span", {"data-sidebar-chip-label": "",children: e.label@@ -67524,8 +67524,8 @@ function U1({ rows: e, filterKey: t, multi: n, selected: r, counts: i, host: a,})});}-function xTe({ epoch: e, title: t, rows: n, latest: r, limit: i, filterKey: a, selected: o, counts: s, host: c, expandable: l }) {- let u = (0, D.useContext)(H1), [d, f] = (0, D.useState)(null), [p, m] = (0, D.useState)(e);+function STe({ epoch: e, title: t, rows: n, latest: r, limit: i, filterKey: a, selected: o, counts: s, host: c, expandable: l }) {+ let u = (0, D.useContext)(V1), [d, f] = (0, D.useState)(null), [p, m] = (0, D.useState)(e);p !== e && (m(e), f(null));let h = (0, D.useRef)(null), g = (0, D.useRef)(null), _ = !!d?.all, v = d ? d.rows : n;return (0, D.useLayoutEffect)(() => {@@ -67540,7 +67540,7 @@ function xTe({ epoch: e, title: t, rows: n, latest: r, limit: i, filterKey: a, se.body.classList.add("ui-fcollapse"), oo(e.body, e.before, () => !!t?.open && !e.body.inert);}t(), requestAnimationFrame(t);- }, [d, _]), /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)(U1, {+ }, [d, _]), /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)(H1, {rows: _ ? v : v.slice(0, i),filterKey: a,multi: !1,@@ -67565,10 +67565,10 @@ function xTe({ epoch: e, title: t, rows: n, latest: r, limit: i, filterKey: a, sall: !_}), _ && u());},- children: /* @__PURE__ */ (0, O.jsx)(ZN, { name: "chevron-down" })+ children: /* @__PURE__ */ (0, O.jsx)(XN, { name: "chevron-down" })}) : null] });}-function W1({ rows: e, host: t, selected: n, badges: r }) {+function U1({ rows: e, host: t, selected: n, badges: r }) {return /* @__PURE__ */ (0, O.jsx)("div", {"data-sidebar-chips": "",children: e.map((e) => /* @__PURE__ */ (0, O.jsxs)("button", {@@ -67590,10 +67590,10 @@ function W1({ rows: e, host: t, selected: n, badges: r }) {}, e.value))});}-var G1 = (e, t) => e ? Math.min(F1, Number(e) / 60) : t;-function K1({ host: e, filters: t, commit: n = e.setDuration }) {- let r = `${t.dur_min ?? ""}:${t.dur_max ?? ""}`, [i, a] = (0, D.useState)(r), [o, s] = (0, D.useState)(() => [G1(t.dur_min, 0), G1(t.dur_max, F1)]), [c, l] = (0, D.useState)("max");- i !== r && (a(r), s([G1(t.dur_min, 0), G1(t.dur_max, F1)]));+var W1 = (e, t) => e ? Math.min(P1, Number(e) / 60) : t;+function G1({ host: e, filters: t, commit: n = e.setDuration }) {+ let r = `${t.dur_min ?? ""}:${t.dur_max ?? ""}`, [i, a] = (0, D.useState)(r), [o, s] = (0, D.useState)(() => [W1(t.dur_min, 0), W1(t.dur_max, P1)]), [c, l] = (0, D.useState)("max");+ i !== r && (a(r), s([W1(t.dur_min, 0), W1(t.dur_max, P1)]));let [u, d] = o, f = (0, D.useRef)(null), p = (0, D.useRef)(null), m = (0, D.useRef)(null), h = (0, D.useRef)(o);h.current = o;let g = (e, t) => {@@ -67606,11 +67606,11 @@ function K1({ host: e, filters: t, commit: n = e.setDuration }) {}, [n]), (0, D.useLayoutEffect)(() => {let e = f.current;if (!e) return;- e.style.setProperty("--lo", `${u / F1 * 100}%`), e.style.setProperty("--hi", `${d / F1 * 100}%`);+ e.style.setProperty("--lo", `${u / P1 * 100}%`), e.style.setProperty("--hi", `${d / P1 * 100}%`);let t = e.getBoundingClientRect();e.querySelectorAll("[data-sidebar-range-tip]").forEach((e) => {let n = e.dataset.rangeEnd === "max" ? d : u;- e.style.left = `${n / F1 * 100}%`, e.style.setProperty("--range-tip-shift", "0px");+ e.style.left = `${n / P1 * 100}%`, e.style.setProperty("--range-tip-shift", "0px");let r = e.getBoundingClientRect(), i = r.right > t.right ? t.right - r.right : r.left < t.left ? t.left - r.left : 0;i && e.style.setProperty("--range-tip-shift", `${Math.round(i)}px`);});@@ -67620,7 +67620,7 @@ function K1({ 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 >= F1 ? "不限" : `${t} 分钟`+ children: e === "max" && t >= P1 ? "不限" : `${t} 分钟`});return /* @__PURE__ */ (0, O.jsx)("div", {"data-sidebar-duration": "",@@ -67635,7 +67635,7 @@ function K1({ host: e, filters: t, commit: n = e.setDuration }) {id: "durMin",type: "range",min: "0",- max: F1,+ max: P1,step: "5",value: u,"aria-label": "最短时长(分钟)",@@ -67646,7 +67646,7 @@ function K1({ host: e, filters: t, commit: n = e.setDuration }) {id: "durMax",type: "range",min: "0",- max: F1,+ max: P1,step: "5",value: d,"aria-label": "最长时长(分钟)",@@ -67661,7 +67661,7 @@ function K1({ host: e, filters: t, commit: n = e.setDuration }) {}//#endregion//#region src/diagnostics-skeleton.ts-function q1() {+function K1() {let e = (e) => Go({label: e,variant: "secondary",@@ -67676,11 +67676,11 @@ function q1() {}//#endregion//#region src/react/settings/library-policy-copy.ts-var J1 = "每个媒体库都先读本地 NFO 和同目录图片;处理方式只决定要不要联网补全。", STe = [+var q1 = "每个媒体库都先读本地 NFO 和同目录图片;处理方式只决定要不要联网补全。", CTe = ["自动补全","仅使用本地资料","自定义"-], CTe = [+], wTe = [["读本地 NFO 和图片","✓",@@ -67711,7 +67711,7 @@ var J1 = "每个媒体库都先读本地 NFO 和同目录图片;处理方式"—","可选"]-], wTe = "本地只有竖版海报时:自动补全会联网找完整封套(FC2 商品图除外),仅使用本地资料直接用竖版。", Y1 = "一个媒体库可以有多个文件夹,作品合在一起显示,共用名称、颜色和处理方式;要分开显示或分开设置时再添加媒体库。", X1 = "JavDB 或 MISSAV 打不开时,填一个能打开的镜像域名。", Z1 = "只填域名,留空用默认地址", TTe = [+], TTe = "本地只有竖版海报时:自动补全会联网找完整封套(FC2 商品图除外),仅使用本地资料直接用竖版。", J1 = "一个媒体库可以有多个文件夹,作品合在一起显示,共用名称、颜色和处理方式;要分开显示或分开设置时再添加媒体库。", Y1 = "JavDB 或 MISSAV 打不开时,填一个能打开的镜像域名。", X1 = "只填域名,留空用默认地址", ETe = [{provider: "coomer",label: "Coomer",@@ -67792,8 +67792,8 @@ var J1 = "每个媒体库都先读本地 NFO 和同目录图片;处理方式label: "SubscribeStar",requirement: "none"}-], Q1 = "API 代理用于列目录和查询文件信息,数据代理用于读取视频及配套文件。保存后,同一网盘账号在 CloudDrive 中的其他读取也会使用此设置。", ETe = "peach.configuration.shape.v1";-function $1() {+], Z1 = "API 代理用于列目录和查询文件信息,数据代理用于读取视频及配套文件。保存后,同一网盘账号在 CloudDrive 中的其他读取也会使用此设置。", DTe = "peach.configuration.shape.v1";+function Q1() {try {let e = JSON.parse(localStorage.getItem("peach.configuration.shape.v1") || "{}");return e && typeof e == "object" ? e : {};@@ -67801,28 +67801,28 @@ function $1() {return {};}}-function DTe(e, t) {+function OTe(e, t) {try {- let n = $1();+ let n = Q1();if (JSON.stringify(n[e]) === JSON.stringify(t)) return;- localStorage.setItem(ETe, JSON.stringify({+ localStorage.setItem(DTe, JSON.stringify({...n,[e]: t}));} catch {}}-var e0 = (e) => $1()[e], t0 = (e) => e === !0, n0 = (e, t) => Number.isInteger(e) && e > 0 ? Math.min(e, t) : 0, r0 = (e, t, n) => Array.isArray(e) ? e.slice(0, t).map(n) : [], i0 = "disabled data-skeleton-action", a0 = (e = "60%") => `<span class="skeleton skeleton-text" style="width:${e}"></span>`, o0 = (e = "100%") => `<span class="skeleton ui-configuration-skeleton-input" style="width:${e}"></span>`, s0 = (e, t) => `<span class="skeleton shrink-0" style="width:${e};height:${t}"></span>`, c0 = (e = "3em") => s0(e, "24px"), l0 = () => s0("var(--icon-inline)", "var(--icon-inline)"), u0 = (e, t = "primary", n = "medium") => Go({+var $1 = (e) => Q1()[e], e0 = (e) => e === !0, t0 = (e, t) => Number.isInteger(e) && e > 0 ? Math.min(e, t) : 0, n0 = (e, t, n) => Array.isArray(e) ? e.slice(0, t).map(n) : [], r0 = "disabled data-skeleton-action", i0 = (e = "60%") => `<span class="skeleton skeleton-text" style="width:${e}"></span>`, a0 = (e = "100%") => `<span class="skeleton ui-configuration-skeleton-input" style="width:${e}"></span>`, o0 = (e, t) => `<span class="skeleton shrink-0" style="width:${e};height:${t}"></span>`, s0 = (e = "3em") => o0(e, "24px"), c0 = () => o0("var(--icon-inline)", "var(--icon-inline)"), l0 = (e, t = "primary", n = "medium") => Go({label: e,variant: t,size: n,- attrs: i0-}), d0 = (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>`, f0 = (e, t = !1) => `<div class="flex flex-col gap-4 ${t ? "border-t border-separator-border " : ""}py-4 pr-3">${e}</div>`, OTe = (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">${l0()}${e}</span>` : e}</p>`;+ attrs: r0+}), u0 = (e, t = "") => `<div class="-ml-3 flex flex-wrap items-center justify-end gap-3 rounded-b-2xl border-t border-separator-border bg-card-footer px-3 py-3">${t ? `<div class="mr-auto min-w-0 text-body-2-regular text-text-secondary">${t}</div>` : ""}${e}</div>`, d0 = (e, t = !1) => `<div class="flex flex-col gap-4 ${t ? "border-t border-separator-border " : ""}py-4 pr-3">${e}</div>`, kTe = (e, t, n) => {+ let r = `<p class="w-full px-3 text-body-2-medium text-text-secondary">${n ? `<span class="inline-flex items-center gap-1.5">${c0()}${e}</span>` : e}</p>`;return t ? `<div class="flex w-full flex-wrap items-center justify-between gap-2"><div class="min-w-40 flex-1">${r}</div><div class="flex min-w-0 max-w-full">${t}</div></div>` : r;-}, p0 = (e, t, n = "", { aside: r = "", status: i = "", mark: a = !1 } = {}) => `<section aria-label="${e}" class="flex w-full flex-col gap-2 wrap-anywhere">${OTe(e, r, a)}<div class="flex w-full flex-col rounded-2xl bg-background-secondary-default pl-3">${t}${n ? d0(n, i) : ""}</div></section>`, m0 = (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>`, h0 = (e, t = "", n = "ui-configuration-skeleton-toggle") => m0(e, t, `<span class="skeleton ${n}"></span>`), g0 = (e, t = "4em") => m0(e, "", a0(t)), _0 = (e) => `<p class="text-body-2-regular text-text-secondary">${e}</p>`, v0 = (e) => `<p class="text-body-medium text-text-primary">${e}</p>`, y0 = (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>${o0()}${t ? `<span class="pt-px text-caption-1-medium text-text-secondary">${t}</span>` : ""}</div>`, b0 = (e) => `<div class="flex flex-col gap-1">${v0(e)}${qo(a0("8em"))}</div>`, x0 = (e) => `<span class="flex items-center gap-2 text-body-regular text-text-primary">${s0("16px", "16px")}${e}</span>`, S0 = (e) => `<span class="inline-flex items-center gap-1">${l0()}${e}</span>`, C0 = (e, t = !1) => `<span class="flex w-fit items-center gap-1 text-body-2-medium text-text-secondary">${Ho("chevron-right", `size-(--icon-inline) shrink-0${t ? " rotate-90" : ""}`)}${e}</span>`, kTe = /* @__PURE__ */ new Set(["FFmpeg", "untrunc"]), w0 = (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">${kTe.has(e) ? a0("100%") + a0("80%") + a0("6em") : a0("6em")}</dd></div>`).join("")}</dl>`, ATe = TTe;-function jTe(e = e0("credentials")) {- let t = new Set(r0(e?.done, 64, String));- return ATe.map((e) => {+}, f0 = (e, t, n = "", { aside: r = "", status: i = "", mark: a = !1 } = {}) => `<section aria-label="${e}" class="flex w-full flex-col gap-2 wrap-anywhere">${kTe(e, r, a)}<div class="flex w-full flex-col rounded-2xl bg-background-secondary-default pl-3">${t}${n ? u0(n, i) : ""}</div></section>`, p0 = (e, t, n) => `<div class="flex min-h-[52px] w-full items-center justify-between gap-4 py-2.5 pr-2.5 border-b border-separator-border last:border-b-0"><div class="flex min-w-0 flex-col"><p class="text-body-regular text-text-primary">${e}</p>${t ? `<p class="text-body-2-regular text-text-secondary">${t}</p>` : ""}</div>${n}</div>`, m0 = (e, t = "", n = "ui-configuration-skeleton-toggle") => p0(e, t, `<span class="skeleton ${n}"></span>`), h0 = (e, t = "4em") => p0(e, "", i0(t)), g0 = (e) => `<p class="text-body-2-regular text-text-secondary">${e}</p>`, _0 = (e) => `<p class="text-body-medium text-text-primary">${e}</p>`, v0 = (e, t = "") => `<div class="flex w-full flex-col items-start gap-1"><span class="flex items-center gap-0.5 text-body-medium text-text-primary">${e}</span>${a0()}${t ? `<span class="pt-px text-caption-1-medium text-text-secondary">${t}</span>` : ""}</div>`, y0 = (e) => `<div class="flex flex-col gap-1">${_0(e)}${qo(i0("8em"))}</div>`, b0 = (e) => `<span class="flex items-center gap-2 text-body-regular text-text-primary">${o0("16px", "16px")}${e}</span>`, x0 = (e) => `<span class="inline-flex items-center gap-1">${c0()}${e}</span>`, S0 = (e, t = !1) => `<span class="flex w-fit items-center gap-1 text-body-2-medium text-text-secondary">${Ho("chevron-right", `size-(--icon-inline) shrink-0${t ? " rotate-90" : ""}`)}${e}</span>`, ATe = /* @__PURE__ */ new Set(["FFmpeg", "untrunc"]), C0 = (e) => `<dl class="ui-settings-facts flex flex-col">${e.map((e) => `<div class="flex min-h-11 items-center justify-between gap-4 border-b border-separator-border py-2.5 pr-3 last:border-b-0"><dt class="flex max-w-1/2 min-w-0 shrink-0 items-center gap-2 text-body-regular text-text-secondary">${e}</dt><dd class="flex min-w-0 flex-wrap items-center justify-end gap-2 text-body-regular text-text-primary">${ATe.has(e) ? i0("100%") + i0("80%") + i0("6em") : i0("6em")}</dd></div>`).join("")}</dl>`, jTe = ETe;+function MTe(e = $1("credentials")) {+ let t = new Set(n0(e?.done, 64, String));+ return jTe.map((e) => {let n = t.has(e.provider);return {...e,@@ -67831,131 +67831,131 @@ function jTe(e = e0("credentials")) {};});}-function MTe(e) {- let t = e.fields ?? [], n = e.requirement !== "none" && e.requirement !== "blocked", r = c0() + (n && !e.done ? t.map(() => c0("4.5em")).join("") : ""), i = `<span class="flex min-w-0 flex-wrap items-center gap-2">${s0("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 ? _0(z(e.why)) : ""}</div>`;- let a = e.open ? "<div class=\"flex flex-col gap-2 pt-3\"><div class=\"flex flex-col gap-3\">" + _0(`${z(e.why ?? "")}${e.where ? " 获取凭据" : ""}`) + (e.howto ? _0(z(e.howto)) : "") + `<div class="flex w-full flex-col gap-3">${t.map((e) => y0(z(e))).join("")}</div><div class="flex flex-wrap items-center gap-2">${u0("保存配置")}</div>${C0("凭据文件")}</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>${C0(e.done ? "修改凭据" : "填写凭据", e.open)}${a}</div></div>`;+function NTe(e) {+ let t = e.fields ?? [], n = e.requirement !== "none" && e.requirement !== "blocked", r = s0() + (n && !e.done ? t.map(() => s0("4.5em")).join("") : ""), i = `<span class="flex min-w-0 flex-wrap items-center gap-2">${o0("14px", "14px")}<b class="min-w-0 text-body-medium wrap-anywhere text-text-primary">${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 ? g0(z(e.why)) : ""}</div>`;+ let a = e.open ? "<div class=\"flex flex-col gap-2 pt-3\"><div class=\"flex flex-col gap-3\">" + g0(`${z(e.why ?? "")}${e.where ? " 获取凭据" : ""}`) + (e.howto ? g0(z(e.howto)) : "") + `<div class="flex w-full flex-col gap-3">${t.map((e) => v0(z(e))).join("")}</div><div class="flex flex-wrap items-center gap-2">${l0("保存配置")}</div>${S0("凭据文件")}</div></div>` : "";+ return `<div class="flex flex-col gap-2 border-b border-separator-border px-6 py-5 last:border-b-0 max-sm:px-4">${i}<div>${S0(e.done ? "修改凭据" : "填写凭据", e.open)}${a}</div></div>`;}-function T0() {- let e = jTe(), t = e.filter((e) => e.requirement === "required" && !e.done).length;- return p0("来源凭据", f0(`<div class="flex flex-col gap-4">${[+function w0() {+ let e = MTe(), t = e.filter((e) => e.requirement === "required" && !e.done).length;+ return f0("来源凭据", d0(`<div class="flex flex-col gap-4">${[["可配置凭据", e.filter((e) => e.requirement !== "none" && e.requirement !== "blocked")],["不需要凭据", e.filter((e) => e.requirement === "none")],["暂不支持", e.filter((e) => e.requirement === "blocked")]- ].filter(([, e]) => e.length).map(([e, t]) => `<div class="flex flex-col gap-2"><h4 class="text-body-medium text-text-secondary">${e}</h4><div class="min-w-0 border border-separator-border bg-background-primary-default rounded-surface flex flex-col overflow-hidden">${t.map(MTe).join("")}</div></div>`).join("")}</div>`), "", { aside: t ? a0("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(NTe).join("")}</div></div>`).join("")}</div>`), "", { aside: t ? i0("5em") : "" });}-function E0() {- let e = r0(e0("indexers")?.open, 20, t0).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">${Ho("chevron-right", `size-(--icon-inline) shrink-0 text-text-secondary${e ? " rotate-90" : ""}`)}${a0("6em")}${a0("12em")}</span>` + (e ? `<div class="flex flex-col gap-2 pt-3"><div class="flex min-w-0 flex-col gap-4">${y0("名称")}${y0("Torznab 地址")}${y0("API key")}<div class="flex flex-wrap items-center gap-x-6 gap-y-2">${x0("启用")}${u0("移除", "secondary", "small")}</div></div></div>` : "") + "</div>").join("");- return p0("资源搜索", f0(`<div class="flex min-w-0 flex-col gap-4">${C0("索引器连接帮助")}${e}</div>`), u0("添加索引器", "secondary") + u0("保存配置"));+function T0() {+ let e = n0($1("indexers")?.open, 20, e0).map((e) => `<div class="min-w-0 border-t border-separator-border pt-2"><span class="flex w-full min-w-0 items-center gap-1 text-body-2-medium">${Ho("chevron-right", `size-(--icon-inline) shrink-0 text-text-secondary${e ? " rotate-90" : ""}`)}${i0("6em")}${i0("12em")}</span>` + (e ? `<div class="flex flex-col gap-2 pt-3"><div class="flex min-w-0 flex-col gap-4">${v0("名称")}${v0("Torznab 地址")}${v0("API key")}<div class="flex flex-wrap items-center gap-x-6 gap-y-2">${b0("启用")}${l0("移除", "secondary", "small")}</div></div></div>` : "") + "</div>").join("");+ return f0("资源搜索", d0(`<div class="flex min-w-0 flex-col gap-4">${S0("索引器连接帮助")}${e}</div>`), l0("添加索引器", "secondary") + l0("保存配置"));}-function D0() {- let e = e0("javBrowser"), t = t0(e?.enabled);- return p0("浏览器添加 JAV", f0(`<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>${a0("4em")}</div><div class="flex flex-wrap items-center justify-between gap-3"><span class="text-body-regular text-text-secondary">浏览器添加</span>${c0()}</div><p class="text-caption-1-regular text-text-secondary">${a0("70%")}</p><div class="flex flex-wrap items-center gap-2">${u0("重新检测", "secondary")}</div></div>`}${b0("浏览器添加的下载渠道")}${t0(e?.ready) ? "" : _0("请在媒体库中添加支持云下载的网盘,并配置账号与目标目录。")}${y0("Peach 地址")}</div>`), (t ? u0("关闭浏览器添加", "secondary") : "") + u0(t ? "更新渠道与令牌" : "启用并生成令牌"));+function E0() {+ let e = $1("javBrowser"), t = e0(e?.enabled);+ return f0("浏览器添加 JAV", d0(`<div class="flex min-w-0 flex-col gap-4">${`<div class="min-w-0 bg-background-primary-default rounded-2xl shadow-card p-5 border border-border-button-default flex flex-col gap-3"><div class="flex flex-wrap items-center justify-between gap-3"><span class="text-body-medium text-text-primary">Peach 用户脚本</span>${i0("4em")}</div><div class="flex flex-wrap items-center justify-between gap-3"><span class="text-body-regular text-text-secondary">浏览器添加</span>${s0()}</div><p class="text-caption-1-regular text-text-secondary">${i0("70%")}</p><div class="flex flex-wrap items-center gap-2">${l0("重新检测", "secondary")}</div></div>`}${y0("浏览器添加的下载渠道")}${e0(e?.ready) ? "" : g0("请在媒体库中添加支持云下载的网盘,并配置账号与目标目录。")}${v0("Peach 地址")}</div>`), (t ? l0("关闭浏览器添加", "secondary") : "") + l0(t ? "更新渠道与令牌" : "启用并生成令牌"));}-var O0 = (e, t) => `<div class="flex min-w-0 flex-col gap-3">${v0(e)}${qo(a0("6em"))}` + (t ? `<div class="flex flex-wrap gap-3"><div class="min-w-40 flex-1">${y0(`${e}地址`)}</div><div class="w-full sm:w-28">${y0(`${e}端口`)}</div></div>${C0("代理认证")}` : "") + "</div>";-function k0() {- let e = e0("cloudProxy"), t = r0(e?.accounts, 12, (e) => Array.isArray(e) ? [t0(e[0]), t0(e[1])] : [!1, !1]), n = n0(e?.unlinked, 12), r = t.length || n ? Array.from({ length: n }, () => `<div class="flex min-w-0 flex-col gap-1">${v0(S0(a0("6em")))}${_0(a0("9em"))}</div>`).join("") + t.map(([e, t]) => `<div class="flex min-w-0 flex-col gap-4 border-t border-separator-border pt-4">${v0(S0(a0("8em")))}${_0(a0("50%"))}${O0("数据代理", e)}${O0("API 代理", t)}<div class="flex justify-end">${u0("保存配置")}</div></div>`).join("") : _0(a0("60%"));- return p0("CloudDrive 代理", f0(`${_0(Q1)}<div class="flex min-w-0 flex-col gap-4">${r}</div>`), u0("重新读取", "secondary"));+var D0 = (e, t) => `<div class="flex min-w-0 flex-col gap-3">${_0(e)}${qo(i0("6em"))}` + (t ? `<div class="flex flex-wrap gap-3"><div class="min-w-40 flex-1">${v0(`${e}地址`)}</div><div class="w-full sm:w-28">${v0(`${e}端口`)}</div></div>${S0("代理认证")}` : "") + "</div>";+function O0() {+ let e = $1("cloudProxy"), t = n0(e?.accounts, 12, (e) => Array.isArray(e) ? [e0(e[0]), e0(e[1])] : [!1, !1]), n = t0(e?.unlinked, 12), r = t.length || n ? Array.from({ length: n }, () => `<div class="flex min-w-0 flex-col gap-1">${_0(x0(i0("6em")))}${g0(i0("9em"))}</div>`).join("") + t.map(([e, t]) => `<div class="flex min-w-0 flex-col gap-4 border-t border-separator-border pt-4">${_0(x0(i0("8em")))}${g0(i0("50%"))}${D0("数据代理", e)}${D0("API 代理", t)}<div class="flex justify-end">${l0("保存配置")}</div></div>`).join("") : g0(i0("60%"));+ return f0("CloudDrive 代理", d0(`${g0(Z1)}<div class="flex min-w-0 flex-col gap-4">${r}</div>`), l0("重新读取", "secondary"));}-var A0 = (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>`, NTe = (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">${o0()}</span>${Go({+var k0 = (e, t, n) => `<div class="flex min-w-0 flex-col gap-1 ${n}"><span class="flex items-center gap-0.5 text-body-medium text-text-primary" aria-hidden="true">${e}</span>${t}</div>`, PTe = (e) => `<div data-folder-row class="@container flex flex-col gap-2 rounded-2lg border border-separator-border bg-background-primary-default p-3">+ <div class="flex items-start gap-2"><span class="min-w-0 flex-1">${a0()}</span>${Go({glyph: "folder-search",variant: "secondary",- attrs: i0+ attrs: r0})}</div>- <div class="flex flex-wrap items-end gap-2"><div class="flex w-full flex-wrap items-start gap-2">${A0("来源", qo(a0("6em")), "w-full @lg:w-60")}${A0("读取策略", qo(a0("4em")), "w-full @lg:w-32")}${e > 1 ? A0("移到媒体库", qo(a0("4em")), "w-full @lg:w-48") : ""}</div></div>- </div>`, PTe = (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">${k0("来源", qo(i0("6em")), "w-full @lg:w-60")}${k0("读取策略", qo(i0("4em")), "w-full @lg:w-32")}${e > 1 ? k0("移到媒体库", qo(i0("4em")), "w-full @lg:w-48") : ""}</div></div>+ </div>`, FTe = (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>${Go({label: "自动识别",variant: "secondary",- attrs: i0-})}${o0()}<span class="skeleton ui-configuration-skeleton-input" style="width:136px"></span>${qo(a0("4em"), { prefix: "处理方式" })}</div>- <div data-library-folders>${NTe(t).repeat(e)}<div class="flex">${Go({+ attrs: r0+})}${a0()}<span class="skeleton ui-configuration-skeleton-input" style="width:136px"></span>${qo(i0("4em"), { prefix: "处理方式" })}</div>+ <div data-library-folders>${PTe(t).repeat(e)}<div class="flex">${Go({label: "添加文件夹",variant: "secondary",- attrs: i0-})}</div></div></div>`, FTe = `<div data-policy-legend class="flex flex-col gap-1"><p class="text-body-2-regular text-text-secondary">${J1}</p><span class="flex items-center gap-1 text-body-2-medium text-text-secondary">三种处理方式对比</span></div>`, ITe = "<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 LTe(e = e0("media")) {- let t = r0(e?.folders, 12, (e) => n0(e, 50)).filter(Boolean);+ attrs: r0+})}</div></div></div>`, ITe = `<div data-policy-legend class="flex flex-col gap-1"><p class="text-body-2-regular text-text-secondary">${q1}</p><span class="flex items-center gap-1 text-body-2-medium text-text-secondary">三种处理方式对比</span></div>`, LTe = "<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 RTe(e = $1("media")) {+ let t = n0(e?.folders, 12, (e) => t0(e, 50)).filter(Boolean);return t.length ? {folders: t,- cloud: t0(e?.cloud)+ cloud: e0(e?.cloud)} : {folders: [1],cloud: !1};}-function RTe() {- let e = e0("discovery"), t = t0(e?.enabled), n = t && t0(e?.cloud), r = n && t0(e?.webhook), i = `<div class="flex items-start gap-2"><span class="min-w-0 flex-1">${o0()}</span>${qo(a0("4em"), { prefix: "对应目录" })}${Go({+function zTe() {+ let e = $1("discovery"), t = e0(e?.enabled), n = t && e0(e?.cloud), r = n && e0(e?.webhook), i = `<div class="flex items-start gap-2"><span class="min-w-0 flex-1">${a0()}</span>${qo(i0("4em"), { prefix: "对应目录" })}${Go({glyph: "trash",variant: "secondary",- attrs: i0+ attrs: r0})}</div>`;- return p0("自动发现新文件", f0(`<div class="flex flex-wrap items-center gap-2"><span class="text-body-regular text-text-secondary">本机监视</span>${c0()}</div>`) + h0("发现新文件后自动入库", t ? a0("10em") : "") + h0("监视本机文件夹", t && t0(e?.watchLocal) ? a0("12em") : "") + h0("接收 CloudDrive2 通知") + (n ? m0("Webhook 配置", a0("20em"), "") : "") + (r ? f0(C0("查看配置"), !0) : "") + (n ? f0(`<div class="flex flex-col gap-3">${v0("云端路径前缀")}<div class="flex flex-col gap-3">${i.repeat(n0(e?.prefixes, 20))}</div><div>${u0("添加前缀", "secondary")}</div></div>`, !0) : ""), (r ? u0("更换密钥", "secondary") : "") + u0("保存配置"));-}-var zTe = () => {- let e = LTe();- return p0("媒体库与目录", f0(`${FTe}<div class="flex flex-col gap-4">${e.folders.map((t) => PTe(t, e.folders.length)).join("")}</div>- <div class="self-start">${u0("添加媒体库", "secondary")}</div>- <p class="text-body-2-regular text-text-secondary">${Y1}</p>- ${e.cloud ? ITe : ""}<span class="text-body-medium text-text-primary">${a0("15em")}</span>`), u0("保存配置"), { status: "保存后 Peach 会重新启动。" }) + (e.cloud ? k0() : "") + RTe() + p0("番号识别规则", f0(`${a0("90%")}${a0("60%")}<span class="skeleton ui-configuration-skeleton-input" style="width:100%;height:88px"></span>`), u0("保存配置")) + p0("视频预览", h0("生成视频预览", "为本地视频生成九宫格与时间轴预览;关闭后仍按入库规则探测时长与分辨率。") + h0("时间轴预览", "按所选间隔抽帧,仅处理本机磁盘上的视频。", "ui-configuration-skeleton-select") + h0("抽帧解码方式", "用于生成封面、九宫格和时间轴。", "ui-configuration-skeleton-select"));-}, BTe = () => `<div>${u0("采集来源与登录状态", "secondary")}</div>` + T0() + p0("关注采集", m0("自动检查更新", "", "<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>") + g0("订阅源拉取") + h0("首次采集范围", "", "ui-configuration-skeleton-select") + g0("头像刷新") + g0("favicon 刷新")) + E0() + p0("作品资料站点", f0(`<p class="text-body-2-regular text-text-secondary">${X1}</p>${y0(S0("JavDB 地址"), Z1)}${y0(S0("MISSAV 地址"), Z1)}`), u0("保存配置")), VTe = () => {- let e = e0("downloads"), t = t0(e?.pikpak), n = t0(e?.pikpakRoots) ? b0(S0("PikPak 根目录对应的媒体目录")) : `<div class="flex flex-col gap-1">${v0(S0("PikPak 根目录对应的媒体目录"))}${_0("先在「媒体库与入库」添加 PikPak 挂载文件夹。")}</div>`, r = t0(e?.cloud) ? p0("云下载", f0(y0("CloudDrive2 地址") + y0("CloudDrive2 API 令牌", "需要离线任务权限。") + (t0(e?.has115) ? y0(S0("115 目标目录"), "应位于自动入库的云端路径前缀内。") : "") + (t ? y0(S0("PikPak 目标目录"), "目录要已经存在。") + n : "") + y0("等待上限(小时)", a0("14em"))), u0("检查连接", "secondary") + u0("保存配置")) : "", i = t0(e?.pikpakLoggedIn);- return r + (t ? p0("PikPak 账号", i ? w0(["账号", a0("4em")]) : f0(y0("账号") + y0("密码") + x0("保存密码,登录过期时自动重新登录")), i ? u0("登出", "secondary") : (t0(e?.browserLogin) ? u0("用浏览器登录", "secondary") : "") + u0("登录"), {- aside: c0(),+ return f0("自动发现新文件", d0(`<div class="flex flex-wrap items-center gap-2"><span class="text-body-regular text-text-secondary">本机监视</span>${s0()}</div>`) + m0("发现新文件后自动入库", t ? i0("10em") : "") + m0("监视本机文件夹", t && e0(e?.watchLocal) ? i0("12em") : "") + m0("接收 CloudDrive2 通知") + (n ? p0("Webhook 配置", i0("20em"), "") : "") + (r ? d0(S0("查看配置"), !0) : "") + (n ? d0(`<div class="flex flex-col gap-3">${_0("云端路径前缀")}<div class="flex flex-col gap-3">${i.repeat(t0(e?.prefixes, 20))}</div><div>${l0("添加前缀", "secondary")}</div></div>`, !0) : ""), (r ? l0("更换密钥", "secondary") : "") + l0("保存配置"));+}+var BTe = () => {+ let e = RTe();+ return f0("媒体库与目录", d0(`${ITe}<div class="flex flex-col gap-4">${e.folders.map((t) => FTe(t, e.folders.length)).join("")}</div>+ <div class="self-start">${l0("添加媒体库", "secondary")}</div>+ <p class="text-body-2-regular text-text-secondary">${J1}</p>+ ${e.cloud ? LTe : ""}<span class="text-body-medium text-text-primary">${i0("15em")}</span>`), l0("保存配置"), { status: "保存后 Peach 会重新启动。" }) + (e.cloud ? O0() : "") + zTe() + f0("番号识别规则", d0(`${i0("90%")}${i0("60%")}<span class="skeleton ui-configuration-skeleton-input" style="width:100%;height:88px"></span>`), l0("保存配置")) + f0("视频预览", m0("生成视频预览", "为本地视频生成九宫格与时间轴预览;关闭后仍按入库规则探测时长与分辨率。") + m0("时间轴预览", "按所选间隔抽帧,仅处理本机磁盘上的视频。", "ui-configuration-skeleton-select") + m0("抽帧解码方式", "用于生成封面、九宫格和时间轴。", "ui-configuration-skeleton-select"));+}, VTe = () => `<div>${l0("采集来源与登录状态", "secondary")}</div>` + w0() + f0("关注采集", p0("自动检查更新", "", "<span class=\"flex items-center gap-2\"><span class=\"skeleton ui-configuration-skeleton-toggle\"></span><span class=\"skeleton ui-configuration-skeleton-input\" style=\"width:96px\"></span></span>") + h0("订阅源拉取") + m0("首次采集范围", "", "ui-configuration-skeleton-select") + h0("头像刷新") + h0("favicon 刷新")) + T0() + f0("作品资料站点", d0(`<p class="text-body-2-regular text-text-secondary">${Y1}</p>${v0(x0("JavDB 地址"), X1)}${v0(x0("MISSAV 地址"), X1)}`), l0("保存配置")), HTe = () => {+ let e = $1("downloads"), t = e0(e?.pikpak), n = e0(e?.pikpakRoots) ? y0(x0("PikPak 根目录对应的媒体目录")) : `<div class="flex flex-col gap-1">${_0(x0("PikPak 根目录对应的媒体目录"))}${g0("先在「媒体库与入库」添加 PikPak 挂载文件夹。")}</div>`, r = e0(e?.cloud) ? f0("云下载", d0(v0("CloudDrive2 地址") + v0("CloudDrive2 API 令牌", "需要离线任务权限。") + (e0(e?.has115) ? v0(x0("115 目标目录"), "应位于自动入库的云端路径前缀内。") : "") + (t ? v0(x0("PikPak 目标目录"), "目录要已经存在。") + n : "") + v0("等待上限(小时)", i0("14em"))), l0("检查连接", "secondary") + l0("保存配置")) : "", i = e0(e?.pikpakLoggedIn);+ return r + (t ? f0("PikPak 账号", i ? C0(["账号", i0("4em")]) : d0(v0("账号") + v0("密码") + b0("保存密码,登录过期时自动重新登录")), i ? l0("登出", "secondary") : (e0(e?.browserLogin) ? l0("用浏览器登录", "secondary") : "") + l0("登录"), {+ aside: s0(),mark: !0- }) : "") + D0();-}, j0 = {+ }) : "") + E0();+}, A0 = {legacy: "当前使用系统生成的访问口令。改设自己的密码,或关闭登录要求。",locked: "访问设置无法读取,请在本机检查配置文件。",password: "已设置密码。新设备需要登录,登录时勾选「保持登录」可保持 30 天。"-}, M0 = {+}, j0 = {quick: "临时预览用,地址随机,重启后会变。启动前要先设置访问密码。",named: "使用你在 Cloudflare 绑定的固定域名。启动前要先设置访问密码。"};-function HTe(e) {- let t = e === "locked" ? "" : y0(e === "password" ? "新访问密码 *" : "设置访问密码 *", "至少 8 个字符。保存后其他设备需要重新登录。") + y0(e === "password" ? "确认新访问密码 *" : "确认访问密码 *");- return (j0[e] ? _0(j0[e]) : "") + (e === "open" ? s0("100%", "64px") : "") + (e === "password" || e === "legacy" ? x0("关闭访问密码") : "") + (e === "password" ? y0("当前访问密码 *") : "") + t;-}-var UTe = () => {- let e = e0("network"), t = typeof e?.access == "string" && e.access ? e.access : "legacy", n = t0(e?.tunnelNamed), r = (n && t0(e?.tunnelNamedMode) ? _0(M0.named) + y0("公开主机名", "Cloudflare Zero Trust 里指向这台电脑的主机名。") + y0("隧道令牌", a0("16em")) : _0(M0.quick)) + (t0(e?.tunnelNote) ? s0("100%", "64px") : "");- return (t0(e?.port) ? p0("本机访问端口", f0(o0("128px")), u0("保存配置"), { status: "保存后 Peach 会重启,并跳转到新地址。" }) : "") + p0("Peach 代理", h0("连接方式", "", "ui-configuration-skeleton-select") + (t0(e?.proxyAddress) ? f0(y0("代理地址"), !0) : ""), u0("保存配置")) + p0("访问密码", f0(HTe(t)), t === "locked" ? "" : u0("保存配置")) + p0("Cloudflare 公网入口", f0((n ? s0("10.5em", "36px") : "") + r), u0("启动公网入口", n ? "secondary" : "primary") + (n ? u0("保存配置") : ""), { aside: c0() });-}, WTe = [+function UTe(e) {+ let t = e === "locked" ? "" : v0(e === "password" ? "新访问密码 *" : "设置访问密码 *", "至少 8 个字符。保存后其他设备需要重新登录。") + v0(e === "password" ? "确认新访问密码 *" : "确认访问密码 *");+ return (A0[e] ? g0(A0[e]) : "") + (e === "open" ? o0("100%", "64px") : "") + (e === "password" || e === "legacy" ? b0("关闭访问密码") : "") + (e === "password" ? v0("当前访问密码 *") : "") + t;+}+var WTe = () => {+ let e = $1("network"), t = typeof e?.access == "string" && e.access ? e.access : "legacy", n = e0(e?.tunnelNamed), r = (n && e0(e?.tunnelNamedMode) ? g0(j0.named) + v0("公开主机名", "Cloudflare Zero Trust 里指向这台电脑的主机名。") + v0("隧道令牌", i0("16em")) : g0(j0.quick)) + (e0(e?.tunnelNote) ? o0("100%", "64px") : "");+ return (e0(e?.port) ? f0("本机访问端口", d0(a0("128px")), l0("保存配置"), { status: "保存后 Peach 会重启,并跳转到新地址。" }) : "") + f0("Peach 代理", m0("连接方式", "", "ui-configuration-skeleton-select") + (e0(e?.proxyAddress) ? d0(v0("代理地址"), !0) : ""), l0("保存配置")) + f0("访问密码", d0(UTe(t)), t === "locked" ? "" : l0("保存配置")) + f0("Cloudflare 公网入口", d0((n ? o0("10.5em", "36px") : "") + r), l0("启动公网入口", n ? "secondary" : "primary") + (n ? l0("保存配置") : ""), { aside: s0() });+}, GTe = ["版本","操作系统","数据目录","设置文件","日志目录"-], GTe = () => {- let e = e0("maintenance"), t = [+], KTe = () => {+ let e = $1("maintenance"), t = ["当前版本","安装方式","更新通道","最新版本","下载内容"- ].slice(0, Math.max(4, n0(e?.releaseFacts, 5))), n = n0(e?.releaseNotes, 4), r = n0(e?.storageRows, 12), i = n0(e?.storageNotes, 3), a = r0(e?.facts, 12, (e) => z(String(e))), o = `<span class="self-start">${c0("6em")}</span>`, s = (t) => !e || t0(t), c = s(e?.reporting) ? h0("发送版本统计与错误诊断(推荐)", "上传版本、系统信息、故障类型、代码位置与发生次数。") + (t0(e?.reportingIdle) ? f0(o, !0) : "") : "", l = s(e?.sharing) ? `<div class="border-t border-separator-border">${h0("上传馆藏与口味明细", t0(e?.sharingNotice) ? a0("12em") : "")}${t0(e?.sharingIdle) ? f0(o, !0) : ""}${d0(u0("预览上传内容", "secondary"))}</div>` : "";- return p0("检查更新", w0(t) + (n ? f0(_0(a0("50%")).repeat(n), !0) : ""), u0("检查更新"), {- aside: c0("4em"),- status: a0("5em")- }) + p0("自动更新", h0("自动检查新版本") + h0("自动下载更新") + h0("检查频率", t0(e?.autoUpdateHelp) ? a0("12em") : "", "ui-configuration-skeleton-select"), u0("保存配置")) + p0("开机自启", h0("开机后启动 Peach") + h0("只启动托盘,不打开网页") + h0("在桌面创建快捷方式", t0(e?.desktopNote) ? a0("12em") : "") + (t0(e?.startupNote) ? f0(_0(a0("60%")), !0) : ""), u0("保存配置")) + p0("视频播放", h0("转码方式", "用于播放时的视频转码。", "ui-configuration-skeleton-select")) + p0("存储空间", w0(["数据目录", "所在磁盘"]) + (r ? Array.from({ length: r }, () => m0(a0("6em"), "", a0("4em"))).join("") : f0(_0("统计后显示各类数据的占用,并可清理缓存与旧备份。"), !0)) + (i ? f0(_0(a0("80%")).repeat(i), !0) : ""), u0("更改位置", "secondary") + u0(r ? "重新统计" : "统计占用")) + (c || l ? p0("数据上传", c + l) : "") + p0("运行信息", w0(a.length ? a : WTe)) + `<section aria-label="安装教程" class="w-full"><div class="flex w-full flex-col rounded-2xl bg-background-secondary-default pl-3">${m0("安装教程", "", u0("重新打开教程", "secondary"))}</div></section>` + (s(e?.uninstall) ? p0("卸载 Peach", (t0(e?.uninstallHelp) ? f0(_0("卸载移除 Peach 程序本身,原始媒体文件保留。")) : "") + h0("完全卸载", "同时删除设置、本地数据库、观看记录、凭据和缓存") + f0(C0("数据目录"), !0), u0("卸载 Peach"), { status: a0("16em") }) : "");+ ].slice(0, Math.max(4, t0(e?.releaseFacts, 5))), n = t0(e?.releaseNotes, 4), r = t0(e?.storageRows, 12), i = t0(e?.storageNotes, 3), a = n0(e?.facts, 12, (e) => z(String(e))), o = `<span class="self-start">${s0("6em")}</span>`, s = (t) => !e || e0(t), c = s(e?.reporting) ? m0("发送版本统计与错误诊断(推荐)", "上传版本、系统信息、故障类型、代码位置与发生次数。") + (e0(e?.reportingIdle) ? d0(o, !0) : "") : "", l = s(e?.sharing) ? `<div class="border-t border-separator-border">${m0("上传馆藏与口味明细", e0(e?.sharingNotice) ? i0("12em") : "")}${e0(e?.sharingIdle) ? d0(o, !0) : ""}${u0(l0("预览上传内容", "secondary"))}</div>` : "";+ return f0("检查更新", C0(t) + (n ? d0(g0(i0("50%")).repeat(n), !0) : ""), l0("检查更新"), {+ aside: s0("4em"),+ status: i0("5em")+ }) + f0("自动更新", m0("自动检查新版本") + m0("自动下载更新") + m0("检查频率", e0(e?.autoUpdateHelp) ? i0("12em") : "", "ui-configuration-skeleton-select"), l0("保存配置")) + f0("开机自启", m0("开机后启动 Peach") + m0("只启动托盘,不打开网页") + m0("在桌面创建快捷方式", e0(e?.desktopNote) ? i0("12em") : "") + (e0(e?.startupNote) ? d0(g0(i0("60%")), !0) : ""), l0("保存配置")) + f0("视频播放", m0("转码方式", "用于播放时的视频转码。", "ui-configuration-skeleton-select")) + f0("存储空间", C0(["数据目录", "所在磁盘"]) + (r ? Array.from({ length: r }, () => p0(i0("6em"), "", i0("4em"))).join("") : d0(g0("统计后显示各类数据的占用,并可清理缓存与旧备份。"), !0)) + (i ? d0(g0(i0("80%")).repeat(i), !0) : ""), l0("更改位置", "secondary") + l0(r ? "重新统计" : "统计占用")) + (c || l ? f0("数据上传", c + l) : "") + f0("运行信息", C0(a.length ? a : GTe)) + `<section aria-label="安装教程" class="w-full"><div class="flex w-full flex-col rounded-2xl bg-background-secondary-default pl-3">${p0("安装教程", "", l0("重新打开教程", "secondary"))}</div></section>` + (s(e?.uninstall) ? f0("卸载 Peach", (e0(e?.uninstallHelp) ? d0(g0("卸载移除 Peach 程序本身,原始媒体文件保留。")) : "") + m0("完全卸载", "同时删除设置、本地数据库、观看记录、凭据和缓存") + d0(S0("数据目录"), !0), l0("卸载 Peach"), { status: i0("16em") }) : "");};-function KTe(e) {+function qTe(e) {switch (e) {- case "系统诊断": return q1();- case "来源与订阅": return BTe();- case "下载渠道": return VTe();- case "网络与访问": return UTe();- case "应用与维护": return GTe();- default: return zTe();+ case "系统诊断": return K1();+ case "来源与订阅": return VTe();+ case "下载渠道": return HTe();+ case "网络与访问": return WTe();+ case "应用与维护": return KTe();+ default: return BTe();}}-function qTe(e = "媒体库与入库") {- return `<div class="peach-react"><div class="ui-configpage">${`<div class="ui-board-local-nav" data-section-nav data-section-items>${Object.values(uV).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">${KTe(e)}</div></div></div>`;+function JTe(e = "媒体库与入库") {+ return `<div class="peach-react"><div class="ui-configpage">${`<div class="ui-board-local-nav" data-section-nav data-section-items>${Object.values(lV).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">${qTe(e)}</div></div></div>`;}//#endregion//#region src/react/jav/discovery-sorts.ts-var N0 = [+var M0 = [["taste","口味",@@ -67963,7 +67963,7 @@ var N0 = [],["release_date",- Ck[1],+ Sk[1],"按发行日期排序"],[@@ -67982,10 +67982,10 @@ var N0 = ["按番号排序"]];-function JTe(e) {+function YTe(e) {return typeof e == "number" && Number.isFinite(e) ? e.toFixed(3) : "—";}-function YTe(e) {+function XTe(e) {if (typeof e != "number" || !Number.isFinite(e)) return {score: "—",label: "资料未取得",@@ -68011,8 +68011,8 @@ function YTe(e) {}//#endregion//#region src/jav-skeleton.ts-var P0 = (e) => `<span data-jav-skeleton-text class="skeleton block rounded-md" style="width:${e}" aria-hidden="true"></span>`, XTe = (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>`, ZTe = (e) => `<span data-jav-skeleton-cover class="skeleton ${e}"></span>`, P0 = "w-full min-w-0";+function F0() {return ["w-20","w-16",@@ -68022,26 +68022,26 @@ function I0() {"w-24"].map((e) => `<span data-skeleton="tag" aria-hidden="true" class="skeleton-sheen relative block h-8 flex-none rounded-(--tag-radius) ${e}"></span>`).join("");}-function L0(e, t = sA()) {- 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">${XTe("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 = hA({- ...mA({+function I0(e, t = oA()) {+ 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">${ZTe("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 = mA({+ ...pA({active: !0,home: !1,portrait: !1}),size: t});- return `<div data-media-grid class="${F0}" data-skeleton="jav-discover">${Array.from({ length: 6 }, () => `<div data-jav-skeleton-card data-media-card data-jav-card class="flex min-w-0 flex-col gap-3">+ return `<div data-media-grid class="${P0}" data-skeleton="jav-discover">${Array.from({ length: 6 }, () => `<div data-jav-skeleton-card data-media-card data-jav-card class="flex min-w-0 flex-col gap-3"><span data-jav-skeleton-cover class="skeleton block w-full rounded-2lg" style="aspect-ratio:${n}"></span><div data-media-meta><span data-jav-skeleton-avatar class="skeleton block shrink-0"></span><div data-media-text>- <div data-media-title>${P0("85%")}${P0("65%")}</div><div data-media-byline>${P0("55%")}</div>+ <div data-media-title>${N0("85%")}${N0("65%")}</div><div data-media-byline>${N0("55%")}</div><div data-media-tags><span class="skeleton block h-5 w-20 rounded-md"></span><span class="skeleton block h-5 w-24 rounded-md"></span></div></div></div><div data-jav-skeleton-actions class="flex flex-wrap gap-2"><span data-jav-skeleton-action class="skeleton block h-9 w-20 rounded-md"></span><span data-jav-skeleton-action class="skeleton block h-9 w-12 rounded-md"></span><span data-jav-skeleton-action class="skeleton block h-9 w-26 rounded-md"></span></div></div>`).join("")}</div>`;}-function ZTe(e) {+function QTe(e) {let t = e === "wants" ? "筛选想要" : "筛选推荐";return `<div class="peach-react"><div class="flex w-full flex-col gap-6"><div class="flex w-full flex-col gap-4"><div class="flex flex-wrap items-center justify-between gap-2"><h2 data-page-title class="text-display-4-medium text-text-primary max-board-narrow:text-title-1-medium">JAV</h2>${Go({@@ -68049,29 +68049,29 @@ function ZTe(e) {label: "查找资源",attrs: "disabled data-skeleton-action"})}</div>- <div class="relative flex flex-none gap-1 overflow-x-auto max-board-narrow:gap-0">${C$.map(([t, n]) => `<span class="relative flex flex-none items-center whitespace-nowrap rounded-md px-3 py-2 text-body-regular max-board-narrow:px-2.25 max-board-narrow:text-body-2-regular ${t === e ? "bg-background-tertiary-default text-text-primary" : "text-text-secondary"}">${n}</span>`).join("")}</div></div>+ <div class="relative flex flex-none gap-1 overflow-x-auto max-board-narrow:gap-0">${S$.map(([t, n]) => `<span class="relative flex flex-none items-center whitespace-nowrap rounded-md px-3 py-2 text-body-regular max-board-narrow:px-2.25 max-board-narrow:text-body-2-regular ${t === e ? "bg-background-tertiary-default text-text-primary" : "text-text-secondary"}">${n}</span>`).join("")}</div></div><form aria-label="${t}">${Wo("筛选番号、女优或标题", "", t)}</form>- ${e === "wants" ? `<div class="rounded-2lg bg-background-secondary-default px-6 py-5"><h3 class="mb-4 text-title-2-medium text-text-primary">按番号添加</h3>${P0("100%")}</div>${L0(e)}` : `<section class="flex min-w-0 flex-col gap-4">${QTe()}${L0(e)}</section>`}</div></div>`;+ ${e === "wants" ? `<div class="rounded-2lg bg-background-secondary-default px-6 py-5"><h3 class="mb-4 text-title-2-medium text-text-primary">按番号添加</h3>${N0("100%")}</div>${I0(e)}` : `<section class="flex min-w-0 flex-col gap-4">${$Te()}${I0(e)}</section>`}</div></div>`;}-function QTe() {- 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="" ${sA() === e ? "data-selected=\"true\"" : ""} class="flex size-8 flex-none items-center justify-center rounded-lg text-(--glass-text)/62">${Ho(t, "size-4")}</span>`;+function $Te() {+ 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="" ${oA() === e ? "data-selected=\"true\"" : ""} class="flex size-8 flex-none items-center justify-center rounded-lg text-(--glass-text)/62">${Ho(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>${Uo()}<span data-entity-sorts><button type="button" data-entity-batch data-filter-action data-skeleton-action data-jav-metadata-update title="更新资料" aria-label="更新资料" disabled>${Ho("refresh-cw", "size-4")}</button><span data-entity-layout class="inline-flex w-max max-w-full flex-none items-center gap-0.5 rounded-lg">${t("big", "maximize")}${t("small", "layout-grid")}</span>- ${N0.map(([e, t]) => `<button type="button" data-entity-sort="${e}" data-entity-press aria-pressed="${e === "taste"}">${t}${e === "taste" ? Ho("arrow-down", "size-3.5") : ""}</button>`).join("")}+ ${M0.map(([e, t]) => `<button type="button" data-entity-sort="${e}" data-entity-press aria-pressed="${e === "taste"}">${t}${e === "taste" ? Ho("arrow-down", "size-3.5") : ""}</button>`).join("")}</span></div></div>`;}//#endregion//#region src/management-skeletons.ts-var R0 = "relative overflow-hidden skeleton-sheen bg-background-tertiary-default rounded-lg", z0 = (e = "60%") => `<span class="${R0} inline-block max-w-full align-middle" style="width:${e};height:1em"></span>`, B0 = "disabled data-skeleton-action", V0 = "min-w-0 rounded-2-5xl bg-background-secondary-default p-5 flex flex-col gap-4 max-sm:p-4";-function $Te() {+var L0 = "relative overflow-hidden skeleton-sheen bg-background-tertiary-default rounded-lg", R0 = (e = "60%") => `<span class="${L0} inline-block max-w-full align-middle" style="width:${e};height:1em"></span>`, z0 = "disabled data-skeleton-action", B0 = "min-w-0 rounded-2-5xl bg-background-secondary-default p-5 flex flex-col gap-4 max-sm:p-4";+function eEe() {let e = ["馆藏视频","看过",@@ -68079,27 +68079,27 @@ function $Te() {"使用空间"].map((e, t) => `<div class="min-w-0 rounded-2xl shadow-card flex flex-col overflow-hidden pt-4 text-left ${t === 0 ? "ring-2 ring-border-focus-ring bg-background-primary-default" : "bg-background-secondary-default"}">- <span class="flex min-w-0 items-center gap-2 px-4 text-body-regular text-text-secondary max-sm:gap-1.5 max-sm:px-3"><i class="${R0} size-7 max-sm:size-6"></i>${e}</span>- <b class="px-4 pt-3 pb-4 text-title-1-medium max-sm:px-3 max-sm:pb-3 max-sm:text-title-3-medium">${z0("4em")}</b>- <small class="mt-auto block min-h-9.5 bg-card-footer px-4 py-2.5 text-caption-1-regular max-sm:px-3 max-sm:py-2">${z0("6em")}</small>- </div>`).join(""), t = (e) => `<section class="${V0}" data-stats-chart>- <header class="flex flex-wrap items-end justify-between gap-x-4 gap-y-1"><span class="flex min-w-0 flex-col gap-1"><h3 class="text-title-2-medium text-text-primary">${e}</h3><b class="text-display-4-medium">${z0("4em")}</b></span><small class="text-caption-1-regular text-text-secondary">个视频</small></header>+ <span class="flex min-w-0 items-center gap-2 px-4 text-body-regular text-text-secondary max-sm:gap-1.5 max-sm:px-3"><i class="${L0} size-7 max-sm:size-6"></i>${e}</span>+ <b class="px-4 pt-3 pb-4 text-title-1-medium max-sm:px-3 max-sm:pb-3 max-sm:text-title-3-medium">${R0("4em")}</b>+ <small class="mt-auto block min-h-9.5 bg-card-footer px-4 py-2.5 text-caption-1-regular max-sm:px-3 max-sm:py-2">${R0("6em")}</small>+ </div>`).join(""), t = (e) => `<section class="${B0}" data-stats-chart>+ <header class="flex flex-wrap items-end justify-between gap-x-4 gap-y-1"><span class="flex min-w-0 flex-col gap-1"><h3 class="text-title-2-medium text-text-primary">${e}</h3><b class="text-display-4-medium">${R0("4em")}</b></span><small class="text-caption-1-regular text-text-secondary">个视频</small></header><svg class="h-75 w-full max-sm:h-65 text-background-tertiary-default" viewBox="0 0 200 200" fill="none" stroke="currentColor" stroke-width="12">${[76,54,32].map((e) => `<circle cx="100" cy="100" r="${e}"/>`).join("")}</svg>- <div class="inline-grid w-full grid-cols-3 gap-2 max-sm:grid-cols-2">${Array.from({ length: 3 }, () => `<div class="flex min-w-0 flex-col gap-1 rounded-xl bg-background-tertiary-default p-2.5"><span class="text-caption-1-regular">${z0()}</span><b class="text-title-2-medium">${z0("3em")}</b><small class="text-caption-1-regular">${z0()}</small></div>`).join("")}</div>+ <div class="inline-grid w-full grid-cols-3 gap-2 max-sm:grid-cols-2">${Array.from({ length: 3 }, () => `<div class="flex min-w-0 flex-col gap-1 rounded-xl bg-background-tertiary-default p-2.5"><span class="text-caption-1-regular">${R0()}</span><b class="text-title-2-medium">${R0("3em")}</b><small class="text-caption-1-regular">${R0()}</small></div>`).join("")}</div></section>`;return `<div class="peach-react"><div class="mx-auto flex w-full max-w-board flex-col gap-8">- <p class="text-caption-1-regular text-text-secondary">数据库中的当前统计 · ${z0("12em")}</p>+ <p class="text-caption-1-regular text-text-secondary">数据库中的当前统计 · ${R0("12em")}</p><div class="flex flex-col gap-4"><div class="inline-grid w-full grid-cols-2 gap-3 sm:gap-4 lg:grid-cols-4" data-stats-metrics>${e}</div><div class="flex flex-col gap-5"><div class="inline-grid w-full gap-5 md:grid-cols-2">${t("网盘与本地")}${t("媒体库")}</div><div class="inline-grid w-full gap-5 md:grid-cols-2 xl:grid-cols-3">${["时长","画质","文件类型"- ].map((e) => `<section class="${V0}"><h3 class="text-title-2-medium">${e}</h3><div class="${R0} h-64"></div></section>`).join("")}</div>+ ].map((e) => `<section class="${B0}"><h3 class="text-title-2-medium">${e}</h3><div class="${L0} h-64"></div></section>`).join("")}</div></div></div><section class="rounded-surface bg-background-secondary-default dark:bg-background-primary-default">@@ -68108,11 +68108,11 @@ function $Te() {"最近看过","标签来源"].map((e) => `<span>${e}</span>`).join("")}</div>- <div class="flex flex-col gap-3 px-4 pt-3.5 pb-4">${Array.from({ length: 5 }, () => `<div class="${R0} h-7"></div>`).join("")}</div>+ <div class="flex flex-col gap-3 px-4 pt-3.5 pb-4">${Array.from({ length: 5 }, () => `<div class="${L0} h-7"></div>`).join("")}</div></section></div></div>`;}-function eEe() {+function tEe() {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 = ["浏览记录","口味维度",@@ -68120,20 +68120,20 @@ function eEe() {"私有导出"].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">${qo("全部时间")}<span data-button-group data-split-button data-variant="primary">${Go({glyph: "compass",label: "读取浏览器历史",- attrs: B0+ attrs: z0})}${Go({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>@@ -68151,11 +68151,11 @@ function eEe() {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(["标签",@@ -68163,20 +68163,20 @@ function eEe() {"常访问网站","浏览线索"])}</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 tEe() {+function nEe() {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">${["留最大","留最长",@@ -68185,27 +68185,27 @@ function tEe() {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 nEe() {+function rEe() {let e = `<li class="min-w-0 bg-background-secondary-default rounded-2xl shadow-card border border-separator-border flex flex-col gap-3 p-3">- <div class="flex min-w-0 gap-4"><span class="${R0} inline-grid w-card-cover shrink-0 aspect-card-cover rounded-2lg"></span>- <div class="flex min-w-0 flex-1 flex-col gap-1.5"><h3 class="text-headline-medium">${z0("80%")}</h3><p class="text-body-2-regular">${z0("60%")}</p></div>+ <div class="flex min-w-0 gap-4"><span class="${L0} inline-grid w-card-cover shrink-0 aspect-card-cover rounded-2lg"></span>+ <div class="flex min-w-0 flex-1 flex-col gap-1.5"><h3 class="text-headline-medium">${R0("80%")}</h3><p class="text-body-2-regular">${R0("60%")}</p></div></div><footer class="flex justify-end">${Go({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">@@ -68215,24 +68215,24 @@ function nEe() {}//#endregion//#region src/board-skeleton.ts-var H0 = (e = "60%") => `<span class="skeleton" style="width:${e}"></span>`, rEe = () => `${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>`, iEe = "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>`, iEe = () => `${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>`, aEe = "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="${iEe}"><span class="text-body-medium text-text-secondary">${e}</span><b class="text-title-1-medium tabular-nums text-text-primary">${G0("3em")}</b></div>`).join("")}</div>`, J0 = [+].map((e) => `<div class="${aEe}"><span class="text-body-medium text-text-secondary">${e}</span><b class="text-title-1-medium tabular-nums text-text-primary">${W0("3em")}</b></div>`).join("")}</div>`, q0 = [["list", "关注列表"],["add", "添加关注"],["feeds", "JAV 订阅源"]-], aEe = (e = "") => J0.some(([t]) => t === e) ? e : "list", Y0 = (e) => `<div data-section-nav data-section-items class="flex max-w-full flex-nowrap overflow-x-auto">${J0.map(([t, n]) => `<span class="whitespace-nowrap" aria-selected="${t === e}">${n}</span>`).join("")}</div>`, X0 = (e = "") => `<span class="group inline-flex items-center select-none gap-2"><span class="flex shrink-0 items-center justify-center rounded-sm size-4 border bg-background-primary-default shadow-xs border-border-checkbox-default"></span>${e ? `<span class="text-body-medium text-text-primary">${e}</span>` : ""}</span>`, oEe = ({ table: e, sort: t, dir: n }) => {+], oEe = (e = "") => q0.some(([t]) => t === e) ? e : "list", J0 = (e) => `<div data-section-nav data-section-items class="flex max-w-full flex-nowrap overflow-x-auto">${q0.map(([t, n]) => `<span class="whitespace-nowrap" aria-selected="${t === e}">${n}</span>`).join("")}</div>`, Y0 = (e = "") => `<span class="group inline-flex items-center select-none gap-2"><span class="flex shrink-0 items-center justify-center rounded-sm size-4 border bg-background-primary-default shadow-xs border-border-checkbox-default"></span>${e ? `<span class="text-body-medium text-text-primary">${e}</span>` : ""}</span>`, sEe = ({ table: e, sort: t, dir: n }) => {let r = Mn.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>${Go({+ 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>${Go({glyph: "refresh-cw",label: "检查全部",compact: !0,- attrs: W0+ attrs: U0})}<span data-follow-toolbar-controls class="contents"><span data-button-group role="group">${Go({variant: "ghost",glyph: "layout-grid",@@ -68249,42 +68249,42 @@ var H0 = (e = "60%") => `<span class="skeleton" style="width:${e}"></span>`, rEeglyph: "chevron-up",label: "全部收起",compact: !0,- attrs: W0+ attrs: U0})}</span></div></div>`;-}, Z0 = () => `<span class="flex shrink-0 items-center gap-1">${Go({+}, X0 = () => `<span class="flex shrink-0 items-center gap-1">${Go({variant: "secondary",size: "small",glyph: "refresh-cw",- attrs: W0+ attrs: U0})}${Go({variant: "secondary",size: "small",glyph: "trash",- attrs: W0-})}</span>`, sEe = () => `<div class="flex min-h-16 flex-wrap items-center gap-3 px-2 py-3 max-sm:gap-x-2 follow-skeleton-source">${X0()}<span class="flex min-w-0 grow basis-0 flex-col gap-0.5"><span class="text-body-medium">${G0("8em")}</span></span><span class="flex shrink-0 items-center gap-1.5">${K0(14, 14)}</span>${K0(48, 24)}<span data-follow-source-controls class="flex w-max max-w-full flex-none flex-wrap items-center gap-1.5 max-sm:w-full"><span class="shrink-0 text-body-2-regular whitespace-nowrap text-text-secondary max-sm:mr-auto max-sm:text-caption-1-regular">${G0("113px")}</span>${Z0()}</span></div>`, Q0 = (e) => `<section class="min-w-0 bg-background-primary-default rounded-2xl shadow-card flex flex-col overflow-hidden p-2 follow-skeleton-author"><div class="flex flex-wrap items-center gap-3 px-2 py-2.5" data-follow-author-header data-open>${K0(32, 32, !0)}<b class="min-w-0 grow text-body-medium wrap-anywhere text-text-primary max-sm:basis-0">${G0("92px")}</b><span data-follow-author-controls class="flex w-max max-w-full flex-none flex-wrap items-center gap-2 max-sm:w-full">${Go({+ attrs: U0+})}</span>`, cEe = () => `<div class="flex min-h-16 flex-wrap items-center gap-3 px-2 py-3 max-sm:gap-x-2 follow-skeleton-source">${Y0()}<span class="flex min-w-0 grow basis-0 flex-col gap-0.5"><span class="text-body-medium">${W0("8em")}</span></span><span class="flex shrink-0 items-center gap-1.5">${G0(14, 14)}</span>${G0(48, 24)}<span data-follow-source-controls class="flex w-max max-w-full flex-none flex-wrap items-center gap-1.5 max-sm:w-full"><span class="shrink-0 text-body-2-regular whitespace-nowrap text-text-secondary max-sm:mr-auto max-sm:text-caption-1-regular">${W0("113px")}</span>${X0()}</span></div>`, Z0 = (e) => `<section class="min-w-0 bg-background-primary-default rounded-2xl shadow-card flex flex-col overflow-hidden p-2 follow-skeleton-author"><div class="flex flex-wrap items-center gap-3 px-2 py-2.5" data-follow-author-header data-open>${G0(32, 32, !0)}<b class="min-w-0 grow text-body-medium wrap-anywhere text-text-primary max-sm:basis-0">${W0("92px")}</b><span data-follow-author-controls class="flex w-max max-w-full flex-none flex-wrap items-center gap-2 max-sm:w-full">${Go({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">${Go({+ 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">${Go({variant: "secondary",size: "small",glyph: "check-check",label: "全选",- attrs: W0+ attrs: U0})}${Go({variant: "secondary",size: "small",glyph: "chevron-up",label: "收起",- attrs: W0-})}</span></span></div><div data-source-divider>${U0(sEe(), e)}</div></section>`, cEe = () => {+ attrs: U0+})}</span></span></div><div data-source-divider>${H0(cEe(), e)}</div></section>`, lEe = () => {try {return Number(JSON.parse(localStorage.getItem("peach.settings.v1") || "{}").followPageSize) || 20;} catch {return 20;}-}, lEe = [+}, uEe = [["select", ""],["author", "创作者"],["source", "来源"],@@ -68292,83 +68292,83 @@ var H0 = (e = "60%") => `<span class="skeleton" style="width:${e}"></span>`, rEe["status", "状态"],["checked", "上次检查"],["actions", ""]-], uEe = {+], dEe = {name: "author",source: "source",provider: "provider",status: "status",checked: "checked"-}, dEe = "<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>", fEe = (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>${lEe.map(([e, r]) => r ? `<th><span class="flex items-center gap-0.5">${r}<span data-sort-indicator${uEe[t] === e ? ` data-direction="${n === "asc" ? "ascending" : "descending"}"` : ""}>${dEe}</span></span></th>` : "<th></th>").join("")}</tr></thead><tbody>${U0(`<tr>${[- X0(),- `<span class="flex min-w-0 items-center gap-2">${K0(32, 32, !0)}${G0("5em")}</span>`,- G0("10em"),- `<span class="flex items-center gap-1.5">${K0(14, 14)}${G0("4em")}</span>`,- K0(48, 24),- G0("113px"),- Z0()-].map((e) => `<td>${e}</td>`).join("")}</tr>`, e)}</tbody></table></div></div>`, pEe = (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>${qo(`每页 ${t} ${e ? "条" : "位"}`, { size: "sm" })}${K0(204, 32)}</div></div>`, mEe = () => `<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>${[+}, fEe = "<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>", pEe = (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>${uEe.map(([e, r]) => r ? `<th><span class="flex items-center gap-0.5">${r}<span data-sort-indicator${dEe[t] === e ? ` data-direction="${n === "asc" ? "ascending" : "descending"}"` : ""}>${fEe}</span></span></th>` : "<th></th>").join("")}</tr></thead><tbody>${H0(`<tr>${[+ Y0(),+ `<span class="flex min-w-0 items-center gap-2">${G0(32, 32, !0)}${W0("5em")}</span>`,+ W0("10em"),+ `<span class="flex items-center gap-1.5">${G0(14, 14)}${W0("4em")}</span>`,+ G0(48, 24),+ W0("113px"),+ X0()+].map((e) => `<td>${e}</td>`).join("")}</tr>`, e)}</tbody></table></div></div>`, mEe = (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>${qo(`每页 ${t} ${e ? "条" : "位"}`, { size: "sm" })}${G0(204, 32)}</div></div>`, hEe = () => `<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>`, hEe = (e) => {- let t = aEe(e.followTab);- if (t !== "list") return `<div class="peach-react"><div class="mx-auto flex w-full max-w-board flex-col gap-8">${q0()}<div class="flex flex-col gap-6">${Y0(t)}<div class="flex flex-col gap-4">${mEe()}</div></div></div></div>`;- let n = e.followLayout === "table", r = In(e.followSort, e.followDir), i = e.followPageSize || cEe(), a = n ? fEe(i, r) : `${X0("全选本页")}<div class="flex flex-col gap-3">${Q0(3)}${Q0(4)}${Q0(3)}</div>`;- return `<div class="peach-react"><div class="mx-auto flex w-full max-w-board flex-col gap-8">${q0()}<div class="flex flex-col gap-6">${Y0(t)}<div class="flex flex-col gap-4"><div class="min-w-0 bg-background-secondary-default rounded-2xl shadow-card flex flex-col gap-4 px-6 py-5 max-sm:px-4 ui-follow-skeleton-surface" data-layout="${n ? "table" : "default"}">${oEe({+].map((e) => `<span class="text-body-medium">${W0(e)}</span>`).join("")}</div>`, gEe = (e) => {+ let t = oEe(e.followTab);+ if (t !== "list") return `<div class="peach-react"><div class="mx-auto flex w-full max-w-board flex-col gap-8">${K0()}<div class="flex flex-col gap-6">${J0(t)}<div class="flex flex-col gap-4">${hEe()}</div></div></div></div>`;+ let n = e.followLayout === "table", r = In(e.followSort, e.followDir), i = e.followPageSize || lEe(), a = n ? pEe(i, r) : `${Y0("全选本页")}<div class="flex flex-col gap-3">${Z0(3)}${Z0(4)}${Z0(3)}</div>`;+ return `<div class="peach-react"><div class="mx-auto flex w-full max-w-board flex-col gap-8">${K0()}<div class="flex flex-col gap-6">${J0(t)}<div class="flex flex-col gap-4"><div class="min-w-0 bg-background-secondary-default rounded-2xl shadow-card flex flex-col gap-4 px-6 py-5 max-sm:px-4 ui-follow-skeleton-surface" data-layout="${n ? "table" : "default"}">${sEe({table: n,...r- })}${a}${pEe(n, i)}</div></div></div></div></div>`;+ })}${a}${mEe(n, i)}</div></div></div></div></div>`;};-function gEe() {- 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(rEe(), 4)}</div></aside></div>`;+function _Ee() {+ 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(iEe(), 4)}</div></aside></div>`;}-function _Ee(e, t = {}) {+function vEe(e, t = {}) {let n = "";- if (e === "/stats") n = $Te();- else if (e === "/jav") n = ZTe(new URLSearchParams(location.search).get("tab") === "wants" ? "wants" : "discover");- else if (e === "/taste") n = eEe();- else if (e === "/subscriptions") n = hEe(t);- else if (e.startsWith("/settings/") && e.split("/")[2] in uV) n = qTe(uV[e.split("/")[2]]);+ if (e === "/stats") n = eEe();+ else if (e === "/jav") n = QTe(new URLSearchParams(location.search).get("tab") === "wants" ? "wants" : "discover");+ else if (e === "/taste") n = tEe();+ else if (e === "/subscriptions") n = gEe(t);+ else if (e.startsWith("/settings/") && e.split("/")[2] in lV) n = JTe(lV[e.split("/")[2]]);else if (e === "/tasks") n = `<div class="peach-react"><div class="mx-auto flex w-full max-w-board flex-col gap-8">${["正在进行","本次未执行","最近完成"- ].map((e) => `<section class="activitysection flex min-w-0 flex-col gap-3"><h3 class="text-title-2-medium text-text-primary">${e}</h3><div class="min-w-0 rounded-2xl shadow-card border border-border-button-default bg-background-secondary-default"><div class="flex flex-col gap-1.5 px-5 pt-5 pb-4"><span class="text-title-1-medium">${G0("8em")}</span><span class="text-caption-1-regular">${G0("14em")}</span>${G0("60%")}${G0("40%")}</div><div class="border-t border-separator-border px-5 py-2.5">${G0("6em")}</div></div></section>`).join("")}</div></div>`;- else if (e === "/duplicates") n = tEe();- else if (e === "/quality-goals") n = nEe();+ ].map((e) => `<section class="activitysection flex min-w-0 flex-col gap-3"><h3 class="text-title-2-medium text-text-primary">${e}</h3><div class="min-w-0 rounded-2xl shadow-card border border-border-button-default bg-background-secondary-default"><div class="flex flex-col gap-1.5 px-5 pt-5 pb-4"><span class="text-title-1-medium">${W0("8em")}</span><span class="text-caption-1-regular">${W0("14em")}</span>${W0("60%")}${W0("40%")}</div><div class="border-t border-separator-border px-5 py-2.5">${W0("6em")}</div></div></section>`).join("")}</div></div>`;+ else if (e === "/duplicates") n = nEe();+ else if (e === "/quality-goals") n = rEe();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>${Go({label: "新建",- attrs: W0- })}</div></header><div class="mx-auto w-full max-w-board"><div class="ui-playlistcards card-grid-cover gap-4.5">${U0("<article class=\"playlistcard skeletoncard\"><i></i><b></b><em></em></article>", 6)}</div></div></section></div>`;+ attrs: U0+ })}</div></header><div class="mx-auto w-full max-w-board"><div class="ui-playlistcards card-grid-cover gap-4.5">${H0("<article class=\"playlistcard skeletoncard\"><i></i><b></b><em></em></article>", 6)}</div></div></section></div>`;else return "";return `<div class="board-page-skeleton" data-skeleton="board${e}" role="status" aria-label="正在读取页面"><div aria-hidden="true" inert>${n}</div></div>`;}//#endregion//#region src/react/components/overlay-host.ts-function vEe(e) {+function yEe(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 vEe(n ?? t.body);+ return yEe(n ?? t.body);}-function e2(e) {+function $0(e) {let t = document.getElementById("toasts"), n = e?.open ? e : document.body;t && t.parentElement !== n && n.append(t);}//#endregion//#region src/react/follow-detail/follow-detail.ts-var t2 = (e) => ["follow-item", e], yEe = (e) => `/api/follow?item=${encodeURIComponent(e)}`, bEe = "/api/follow/save", xEe = "/api/follow/media/hide", n2 = class extends Error {+var e2 = (e) => ["follow-item", e], bEe = (e) => `/api/follow?item=${encodeURIComponent(e)}`, xEe = "/api/follow/save", SEe = "/api/follow/media/hide", t2 = class extends Error {constructor() {super("这条关注内容已不存在");}};-async function r2(e, t) {- let n = await B(yEe(e), t);+async function n2(e, t) {+ let n = await B(bEe(e), t);for (let t of n.groups || []) {let r = ji(t).find((t) => t.id === e);if (r) return {@@ -68378,9 +68378,9 @@ async function r2(e, t) {aliases: n.author_aliases || []};}- throw new n2();+ throw new t2();}-function SEe(e) {+function CEe(e) {for (let [, t] of H.getQueriesData({ queryKey: ["follow-item"] })) {if (!t?.group) continue;let n = ji(t.group).find((t) => t.id === e);@@ -68391,20 +68391,20 @@ function SEe(e) {}return null;}-async function i2(e, t) {- let n = t2(e.id), r = Mi(e.id), i = H.getQueryData(Ei) ? null : H.fetchQuery({+async function r2(e, t) {+ let n = e2(e.id), r = Mi(e.id), i = H.getQueryData(Ei) ? null : H.fetchQuery({queryKey: Ei,queryFn: () => Di(t)}), a = r ? {...r,item: r.item- } : H.getQueryData(n) ?? SEe(e.id);+ } : H.getQueryData(n) ?? CEe(e.id);a ? H.setQueryData(n, a) : await H.fetchQuery({queryKey: n,- queryFn: () => r2(e.id, t)+ queryFn: () => n2(e.id, t)}), await i;}-function CEe(e, t, n, r) {+function wEe(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 && Bi(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,@@ -68419,32 +68419,32 @@ function CEe(e, t, n, r) {src: e.playable ? `/follow-stream?id=${e.id}${s ? `&media=${s.index}` : ""}` : ""};}-var wEe = (e) => ji(e).find((e) => (e.media_items || []).some((e) => e.resource_group)), TEe = {+var TEe = (e) => ji(e).find((e) => (e.media_items || []).some((e) => e.resource_group)), EEe = {"gofile.io": "Gofile","pixeldrain.com": "Pixeldrain","mega.nz": "MEGA","mega.io": "MEGA","mediafire.com": "MediaFire","drive.google.com": "Google Drive"-}, EEe = {+}, DEe = {gofile: "Gofile",pixeldrain: "Pixeldrain",mega: "MEGA",mediafire: "MediaFire",google_drive: "Google Drive"};-function DEe(e) {+function OEe(e) {try {let t = new URL(e).hostname.replace(/^www\./, "");- return TEe[t] || t;+ return EEe[t] || t;} catch {return "外部文件页";}}-function a2(e, t) {- return EEe[e?.resource_provider || ""] || t.provider_label || t.provider || "在线图片";+function i2(e, t) {+ return DEe[e?.resource_provider || ""] || t.provider_label || t.provider || "在线图片";}-function OEe(e, t, n = "") {+function kEe(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;@@ -68453,54 +68453,54 @@ function OEe(e, t, n = "") {title: e.is_release && t.author ? `${t.author}:${i}` : i};}-var kEe = (e) => String(e.name || "").trim(), o2 = (e, t) => e.tag_types?.[t] || "unknown", AEe = /* @__PURE__ */ new Set([+var AEe = (e) => String(e.name || "").trim(), a2 = (e, t) => e.tag_types?.[t] || "unknown", jEe = /* @__PURE__ */ new Set(["artist","character","copyright","metadata","unknown"]);-function jEe(e, t) {- let n = o2(e, t);- return `r34-${AEe.has(n) ? n : "general"}`;+function MEe(e, t) {+ let n = a2(e, t);+ return `r34-${jEe.has(n) ? n : "general"}`;}-var s2 = [+var o2 = ["copyright","character","artist","general","metadata"];-function MEe(e, t) {+function NEe(e, t) {let n = e.detail_tags || e.tags || [], r = (t) => {- let n = s2.indexOf(o2(e, t));- return n < 0 ? s2.length : n;+ let n = o2.indexOf(a2(e, t));+ return n < 0 ? o2.length : n;};return [...n].sort((e, n) => r(e) - r(n) || t(e).localeCompare(t(n)));}-function c2(e, t) {+function s2(e, t) {let n = t.find((t) => t.id === e.source_id), r = t.filter((e) => n?.author_key && e.author_key === n.author_key);return !r.length && n && r.push(n), r;}-var NEe = (e, t) => ({+var PEe = (e, t) => ({sources: e.sources,aliases: e.aliases,credentials: t-}), l2 = (e) => e?.size ? { size: e.size } : {};-function PEe(e, t) {+}), c2 = (e) => e?.size ? { size: e.size } : {};+function FEe(e, t) {let { images: n, kind: r, src: i, selected: a } = t;return n.length ? n.map((t) => ({src: `/follow-stream?id=${e.id}&media=${t.index}`,thumb: t.thumb_url || e.thumb_url || `/follow-stream?id=${e.id}&media=${t.index}`,name: t.name || e.title,- source: a2(t, e),- ...l2(t)+ source: i2(t, e),+ ...c2(t)})) : r === "image" && i ? [{src: i,thumb: e.thumb_url || i,name: e.title,- source: a2(a, e),- ...l2(a)+ source: i2(a, e),+ ...c2(a)}] : e.thumb_url ? [{src: e.thumb_url,thumb: e.thumb_url,@@ -68508,7 +68508,7 @@ function PEe(e, t) {source: e.provider_label || e.provider || "在线图片"}] : [];}-var FEe = (e) => e === "seen" ? "已标记看过" : "已更新关注状态", u2 = (e, { cards: t = !1, className: n = "", variant: r = "", count: i, fill: a, cardRatio: o, gridClass: s = "", gridSize: c = "" } = {}) => vs(e, {+var IEe = (e) => e === "seen" ? "已标记看过" : "已更新关注状态", l2 = (e, { cards: t = !1, className: n = "", variant: r = "", count: i, fill: a, cardRatio: o, gridClass: s = "", gridSize: c = "" } = {}) => vs(e, {variant: r || (t ? "cards" : "panel"),className: n,gridClass: s,@@ -68516,7 +68516,7 @@ var FEe = (e) => e === "seen" ? "已标记看过" : "已更新关注状态", u2...i ? { count: i } : {},...a === void 0 ? {} : { fill: a },...o ? { cardRatio: o } : {}-}), IEe = [+}), LEe = ["元数据字段","创作者标签","厂牌 Logo",@@ -68526,39 +68526,39 @@ var FEe = (e) => e === "seen" ? "已标记看过" : "已更新关注状态", u2"FC2 评论标记","FC2 跨号相似","片尾/出处证据"-], LEe = (e = "正在读取复核队列") => `<div class="review review-workspace review-skeleton" data-skeleton="review" aria-busy="true" aria-label="${z(e)}">+], REe = (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>${IEe.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>${LEe.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>`, REe = {- "/data-cleanup": () => L$(),- "/resource-sync": () => L$(),- "/review": () => LEe(),+ <section class="reviewsection"><div class="reviewlist">${"<div class=\"skeletoncard\" aria-hidden=\"true\"><i></i><b></b><em></em></div>".repeat(6)}</div></section></div>`, zEe = {+ "/data-cleanup": () => I$(),+ "/resource-sync": () => I$(),+ "/review": () => REe(),"/sources": () => `<div class="scraping-page"><p>高清图片可能要经代理才能下载,先检查连接。</p>- ${u2("正在读取采集来源", {+ ${l2("正在读取采集来源", {cards: !0,count: 4,fill: !1,className: "cleanup-skeleton"})}</div>`};-function d2(e, { followLayout: t, followSort: n, followDir: r }) {- return _Ee(e, {+function u2(e, { followLayout: t, followSort: n, followDir: r }) {+ return vEe(e, {followLayout: t,...e === "/subscriptions" ? {followSort: n,followDir: r} : {}- }) || (REe[e] ?? (() => u2("正在读取页面")))();+ }) || (zEe[e] ?? (() => l2("正在读取页面")))();}-var f2 = (e) => String(e).match(/data-skeleton="([^"]*)"/)?.[1] || "";-function p2(e, t) {- let n = e.querySelector("[data-skeleton]")?.dataset.skeleton || "", r = f2(t);+var d2 = (e) => String(e).match(/data-skeleton="([^"]*)"/)?.[1] || "";+function f2(e, t) {+ let n = e.querySelector("[data-skeleton]")?.dataset.skeleton || "", r = d2(t);(!r || r !== n) && (e.innerHTML = t, Es(e));}//#endregion//#region src/react/components/related-section.tsx-function m2({ children: e, wireDrag: t, busy: n, empty: r, error: i, onRetry: a, online: o = !1, ...s }) {+function p2({ children: e, wireDrag: t, busy: n, empty: r, error: i, onRetry: a, online: o = !1, ...s }) {let c = (0, D.useCallback)((e) => {e && (Es(e), t(e));}, [t]);@@ -68571,17 +68571,17 @@ function m2({ children: e, wireDrag: t, busy: n, empty: r, error: i, onRetry: a,children: "接着看"}), i ? /* @__PURE__ */ (0, O.jsx)("div", {"data-related-state": "",- children: /* @__PURE__ */ (0, O.jsx)(vW, {+ children: /* @__PURE__ */ (0, O.jsx)(_W, {message: i,onRetry: a || (() => {})})}) : r && !n ? /* @__PURE__ */ (0, O.jsx)("div", {"data-related-state": "",- children: /* @__PURE__ */ (0, O.jsx)(Bz, {+ children: /* @__PURE__ */ (0, O.jsx)(zz, {size: "compact",- icon: kz,+ icon: Oz,title: "暂无接着看的内容",- actions: /* @__PURE__ */ (0, O.jsx)(mI, {+ actions: /* @__PURE__ */ (0, O.jsx)(pI, {size: "small",href: o ? "/follow" : "/",children: o ? "返回关注" : "浏览馆藏"@@ -68598,7 +68598,7 @@ function m2({ children: e, wireDrag: t, busy: n, empty: r, error: i, onRetry: a,}//#endregion//#region src/react/components/detail-continuation.tsx-function h2({ queue: e, children: t, editionCards: n }) {+function m2({ queue: e, children: t, editionCards: n }) {return /* @__PURE__ */ (0, O.jsxs)("div", {"data-detail-continuation": "","data-edition-cards": n == null ? void 0 : Math.min(3, n),@@ -68607,7 +68607,7 @@ function h2({ queue: e, children: t, editionCards: n }) {}//#endregion//#region src/react/components/media-carousel.tsx-function g2({ items: e, position: t, onSelect: n, below: r = !1, renderThumbnail: i }) {+function h2({ items: e, position: t, onSelect: n, below: r = !1, renderThumbnail: i }) {let a = (0, D.useRef)(null), o = e.some((e) => e.video), s = !!i;if ((0, D.useLayoutEffect)(() => {let e = a.current?.querySelector("[data-media-thumbnails]");@@ -68687,7 +68687,7 @@ function g2({ items: e, position: t, onSelect: n, below: r = !1, renderThumbnail"data-media-thumbnails": "",role: "group","aria-label": "媒体缩略图",- children: e.map((e, r) => /* @__PURE__ */ (0, O.jsx)(zEe, {+ children: e.map((e, r) => /* @__PURE__ */ (0, O.jsx)(BEe, {item: e,selected: r === t,onSelect: n,@@ -68706,7 +68706,7 @@ function g2({ items: e, position: t, onSelect: n, below: r = !1, renderThumbnail]});}-function zEe({ item: e, selected: t, onSelect: n, render: r }) {+function BEe({ item: e, selected: t, onSelect: n, render: r }) {let i = (0, D.useRef)(null), [a, o] = (0, D.useState)(typeof IntersectionObserver > "u");return (0, D.useEffect)(() => {if (!i.current || a) return;@@ -68733,14 +68733,14 @@ function zEe({ item: e, selected: t, onSelect: n, render: r }) {}//#endregion//#region src/react/follow-detail/follow-related.ts-var BEe = (e, t, n) => [+var VEe = (e, t, n) => ["follow-feed","related",e,t,n];-function _2(e, t, n, r) {+function g2(e, t, n, r) {let i = new Set((t.group ? ji(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 = ji(e);@@ -68755,7 +68755,7 @@ function _2(e, t, n, r) {};}).sort((e, t) => Number(t.sameAuthor) - Number(e.sameAuthor) || t.common - e.common || e.order - t.order).slice(0, r).map((e) => e.group);}-async function VEe(e, t, n, r) {+async function HEe(e, t, n, r) {let i = e.sources.find((t) => t.id === e.item.source_id)?.author_key || "", a = {...zi(i),status: "new",@@ -68769,29 +68769,29 @@ async function VEe(e, t, n, r) {}, t), r);return o.push(n), n;}, c = await s(i, 0);- return _2(o, e, t, n).length < n && c.has_more && await s(i, (c.offset || 0) + 100), i && _2(o, e, t, n).length < n && await s("", 0), {+ return g2(o, e, t, n).length < n && c.has_more && await s(i, (c.offset || 0) + 100), i && g2(o, e, t, n).length < n && await s("", 0), {pages: o,pageParams: o.map((e) => e.offset || 0)};}//#endregion//#region src/react/follow-detail/follow-detail-page.tsx-var v2 = (e) => Number(e) > 0, HEe = ({ name: e }) => /* @__PURE__ */ (0, O.jsx)("span", {+var _2 = (e) => Number(e) > 0, UEe = ({ name: e }) => /* @__PURE__ */ (0, O.jsx)("span", {className: "contents",dangerouslySetInnerHTML: { __html: L(e) }-}), y2 = L("external-link", "ui-externalmark");-function UEe(e) {+}), v2 = L("external-link", "ui-externalmark");+function WEe(e) {let { id: t, actions: n } = e, r = Ct({- queryKey: t2(t),- queryFn: ({ signal: e }) => r2(t, e)+ queryKey: e2(t),+ queryFn: ({ signal: e }) => n2(t, e)}), i = Ct({queryKey: Ei,queryFn: ({ signal: e }) => Di(e)}), a = (0, D.useMemo)(() => new Set((i.data?.providers || []).filter((e) => e.present).map((e) => e.provider)), [i.data]), [o, s] = (0, D.useState)(e.mediaIndex);- return r.data ? /* @__PURE__ */ (0, O.jsx)(KEe, {+ return r.data ? /* @__PURE__ */ (0, O.jsx)(qEe, {...e,data: r.data,- context: NEe(r.data, a),+ context: PEe(r.data, a),mediaIndex: o,onMedia: s}) : /* @__PURE__ */ (0, O.jsx)("div", {@@ -68800,9 +68800,9 @@ function UEe(e) {children: /* @__PURE__ */ (0, O.jsxs)("div", {"data-stage-media": "","data-follow-detail-media": "none",- children: [/* @__PURE__ */ (0, O.jsx)(b2, { onClose: n.close }), /* @__PURE__ */ (0, O.jsx)("div", {+ children: [/* @__PURE__ */ (0, O.jsx)(y2, { onClose: n.close }), /* @__PURE__ */ (0, O.jsx)("div", {"data-follow-detail-placeholder": "",- children: r.isError ? WEe(r.error) ? /* @__PURE__ */ (0, O.jsx)(GEe, { onBack: n.close }) : /* @__PURE__ */ (0, O.jsx)(vW, {+ children: r.isError ? GEe(r.error) ? /* @__PURE__ */ (0, O.jsx)(KEe, { onBack: n.close }) : /* @__PURE__ */ (0, O.jsx)(_W, {message: Wt(r.error),onRetry: () => void r.refetch()}) : null@@ -68810,8 +68810,8 @@ function UEe(e) {})});}-var WEe = (e) => e instanceof n2 || e instanceof kn && e.status === 404;-function GEe({ onBack: e }) {+var GEe = (e) => e instanceof t2 || e instanceof kn && e.status === 404;+function KEe({ onBack: e }) {return /* @__PURE__ */ (0, O.jsx)("div", {"data-follow-detail-gone": "",onClick: (t) => {@@ -68820,7 +68820,7 @@ function GEe({ onBack: e }) {dangerouslySetInnerHTML: { __html: ns("这条关注内容已不存在,可能已被来源删除或已清理。", { actionLabel: "回到关注" }) }});}-var b2 = ({ onClose: e }) => /* @__PURE__ */ (0, O.jsx)("button", {+var y2 = ({ onClose: e }) => /* @__PURE__ */ (0, O.jsx)("button", {type: "button","data-stage-close": "",id: "closeStage",@@ -68829,8 +68829,8 @@ var b2 = ({ onClose: e }) => /* @__PURE__ */ (0, O.jsx)("button", {onClick: e,dangerouslySetInnerHTML: { __html: L("x") }});-function KEe({ data: e, context: t, mediaIndex: n, onMedia: r, mediaView: i, relatedLimit: a, helpers: o, actions: s }) {- let { item: c, group: l } = e, u = CEe(c, l, n, i), d = QEe(c, s, r), f = `${c.id}:${u.selected?.index ?? ""}`, [p, m] = (0, D.useState)({+function qEe({ data: e, context: t, mediaIndex: n, onMedia: r, mediaView: i, relatedLimit: a, helpers: o, actions: s }) {+ let { item: c, group: l } = e, u = wEe(c, l, n, i), d = $Ee(c, s, r), f = `${c.id}:${u.selected?.index ?? ""}`, [p, m] = (0, D.useState)({key: "",kind: ""}), h = {@@ -68850,20 +68850,20 @@ function KEe({ data: e, context: t, mediaIndex: n, onMedia: r, mediaView: i, relc,u.kind]);- let g = !u.embedded.length && u.collection ? wEe(u.collection) : void 0, _ = u.embeddedQueue ? /* @__PURE__ */ (0, O.jsx)(w2, {+ let g = !u.embedded.length && u.collection ? TEe(u.collection) : void 0, _ = u.embeddedQueue ? /* @__PURE__ */ (0, O.jsx)(C2, {item: c,current: u.selected.index,helpers: o,actions: s,onMedia: r- }) : u.collection ? g ? /* @__PURE__ */ (0, O.jsx)(w2, {+ }) : u.collection ? g ? /* @__PURE__ */ (0, O.jsx)(C2, {item: g,current: null,helpers: o,actions: s,onMedia: r,currentId: c.id- }) : /* @__PURE__ */ (0, O.jsx)(YEe, {+ }) : /* @__PURE__ */ (0, O.jsx)(XEe, {group: u.collection,itemId: c.id,helpers: o,@@ -68873,14 +68873,14 @@ function KEe({ data: e, context: t, mediaIndex: n, onMedia: r, mediaView: i, rel"data-stage-grid": "","data-with-queue": _ ? "" : void 0,"data-follow-detail": "",- children: [/* @__PURE__ */ (0, O.jsx)(JEe, {+ children: [/* @__PURE__ */ (0, O.jsx)(YEe, {item: c,media: u,helpers: o,actions: s,onMedia: r,issues: h- }, f), /* @__PURE__ */ (0, O.jsx)(XEe, {+ }, f), /* @__PURE__ */ (0, O.jsx)(ZEe, {item: c,data: e,context: t,@@ -68890,9 +68890,9 @@ function KEe({ data: e, context: t, mediaIndex: n, onMedia: r, mediaView: i, relhelpers: o,actions: s})]- }), /* @__PURE__ */ (0, O.jsx)(h2, {+ }), /* @__PURE__ */ (0, O.jsx)(m2, {queue: _,- children: a > 0 ? /* @__PURE__ */ (0, O.jsx)(qEe, {+ children: a > 0 ? /* @__PURE__ */ (0, O.jsx)(JEe, {data: e,media: u.kind === "image" ? "images" : u.kind === "video" ? "videos" : i,limit: a,@@ -68902,23 +68902,23 @@ function KEe({ data: e, context: t, mediaIndex: n, onMedia: r, mediaView: i, rel}) : null})] });}-function qEe({ data: e, media: t, limit: n, context: r, helpers: i, actions: a }) {+function JEe({ data: e, media: t, limit: n, context: r, helpers: i, actions: a }) {let o = Ct({- queryKey: BEe(e.item.id, t, n),- queryFn: ({ signal: r }) => VEe(e, t, n, r)- }), [s] = (0, D.useState)(() => u2("正在读取推荐", {+ queryKey: VEe(e.item.id, t, n),+ queryFn: ({ signal: r }) => HEe(e, t, n, r)+ }), [s] = (0, D.useState)(() => l2("正在读取推荐", {cards: !0,className: "related-skeleton"})), c = (0, D.useMemo)(() => ({openDetail: a.openItem,openAuthor: a.openAuthor,canFlip: () => !1- }), [a]), l = _2(o.data?.pages || [], e, t, n), u = o.data?.pages.at(-1)?.sources || e.sources, d = {+ }), [a]), l = g2(o.data?.pages || [], e, t, n), u = o.data?.pages.at(-1)?.sources || e.sources, d = {...r,sources: u,aliases: o.data?.pages.at(-1)?.author_aliases || r.aliases};- return /* @__PURE__ */ (0, O.jsx)(m2, {+ return /* @__PURE__ */ (0, O.jsx)(p2, {online: !0,"data-follow-related": "",wireDrag: i.wireDrag,@@ -68928,11 +68928,11 @@ function qEe({ data: e, media: t, limit: n, context: r, helpers: i, actions: a }onRetry: () => {o.refetch();},- children: o.data ? l.map((e) => /* @__PURE__ */ (0, O.jsx)(UZ, {+ children: o.data ? l.map((e) => /* @__PURE__ */ (0, O.jsx)(HZ, {variant: "next",group: e,media: t,- authorSources: c2(e.primary, u),+ authorSources: s2(e.primary, u),context: d,selected: !1,selectMode: !1,@@ -68945,8 +68945,8 @@ function qEe({ data: e, media: t, limit: n, context: r, helpers: i, actions: a }})});}-function JEe({ item: e, media: t, actions: n, onMedia: r, issues: i }) {- let { kind: a, selected: o, src: s, images: c, position: l, carousel: u, frameRatio: d } = t, f = (0, D.useRef)(null), p = PEe(e, t), m = o?.thumb_url || e.thumb_url || "", h = e.playable && a === "video", g = e.playable && a === "image" ? s : e.thumb_url || "", _ = e.playable && a === "image" && m && m !== s ? m : "", [v, y] = (0, D.useState)(g), b = (0, D.useRef)({+function YEe({ item: e, media: t, actions: n, onMedia: r, issues: i }) {+ let { kind: a, selected: o, src: s, images: c, position: l, carousel: u, frameRatio: d } = t, f = (0, D.useRef)(null), p = FEe(e, t), m = o?.thumb_url || e.thumb_url || "", h = e.playable && a === "video", g = e.playable && a === "image" ? s : e.thumb_url || "", _ = e.playable && a === "image" && m && m !== s ? m : "", [v, y] = (0, D.useState)(g), b = (0, D.useRef)({item: e,selected: o}), x = (0, D.useRef)(i.failed);@@ -68960,14 +68960,14 @@ function JEe({ item: e, media: t, actions: n, onMedia: r, issues: i }) {"data-framed": d ? "" : void 0,style: { "--follow-frame-ratio": d ? d.toFixed(4) : void 0 },children: [- /* @__PURE__ */ (0, O.jsx)(b2, { onClose: n.close }),+ /* @__PURE__ */ (0, O.jsx)(y2, { onClose: n.close }),h ? null : g ? /* @__PURE__ */ (0, O.jsx)("img", {"data-follow-detail-poster": "","data-zoomable": p.length ? "" : void 0,src: v,alt: e.title,referrerPolicy: "no-referrer",- onClick: p.length ? () => void MZ(Math.max(0, l), p) : void 0,+ onClick: p.length ? () => void jZ(Math.max(0, l), p) : void 0,onError: () => {_ && v !== _ ? (y(_), i.thumbFallback()) : i.failed();}@@ -68975,10 +68975,10 @@ function JEe({ item: e, media: t, actions: n, onMedia: r, issues: i }) {"data-follow-detail-placeholder": "",children: [/* @__PURE__ */ (0, O.jsx)("span", {className: "contents",- dangerouslySetInnerHTML: { __html: MU(e.resource_provider || e.provider) }+ dangerouslySetInnerHTML: { __html: jU(e.resource_provider || e.provider) }}), /* @__PURE__ */ (0, O.jsx)("span", { children: "没有可用预览" })]}),- u ? /* @__PURE__ */ (0, O.jsx)(g2, {+ u ? /* @__PURE__ */ (0, O.jsx)(h2, {items: c,position: l,onSelect: r,@@ -68995,11 +68995,11 @@ function JEe({ item: e, media: t, actions: n, onMedia: r, issues: i }) {]});}-var x2 = ({ kind: e }) => /* @__PURE__ */ (0, O.jsx)("span", {+var b2 = ({ kind: e }) => /* @__PURE__ */ (0, O.jsx)("span", {"data-follow-nothumb": "",dangerouslySetInnerHTML: { __html: L(e === "image" ? "image-off" : "play") }});-function S2({ src: e }) {+function x2({ src: e }) {let [t, n] = (0, D.useState)(!1);return t ? null : /* @__PURE__ */ (0, O.jsx)("img", {src: e,@@ -69009,27 +69009,27 @@ function S2({ src: e }) {onError: () => n(!0)});}-function C2(e) {+function S2(e) {return (0, D.useCallback)((t) => {t && e.wireDrag(t);}, [e]);}-function YEe({ group: e, itemId: t, helpers: n, actions: r }) {- let i = Bi(e), a = C2(n);- return /* @__PURE__ */ (0, O.jsx)(QG, {+function XEe({ group: e, itemId: t, helpers: n, actions: r }) {+ let i = Bi(e), a = S2(n);+ return /* @__PURE__ */ (0, O.jsx)(ZG, {kind: "collection","data-follow-queue": "",title: "视频合集",onClose: r.close,listRef: a,- summary: `${PU(e.primary)} · ${i.length} 个视频`,+ summary: `${NU(e.primary)} · ${i.length} 个视频`,children: i.map((n) => {- let i = e.duplicates.includes(n), a = OEe(e, n, i ? n.provider_label : ""), o = i ? MU(n.provider, n.provider_label) : "";- return /* @__PURE__ */ (0, O.jsxs)($G, {+ let i = e.duplicates.includes(n), a = kEe(e, n, i ? n.provider_label : ""), o = i ? jU(n.provider, n.provider_label) : "";+ return /* @__PURE__ */ (0, O.jsxs)(QG, {current: n.id === t,"data-follow-queue-item": n.id,onClick: () => r.openItem(n.id),- pic: /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [n.thumb_url ? /* @__PURE__ */ (0, O.jsx)(S2, { src: n.thumb_url }) : /* @__PURE__ */ (0, O.jsx)(x2, { kind: "video" }), v2(n.duration) ? /* @__PURE__ */ (0, O.jsx)("i", {+ pic: /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [n.thumb_url ? /* @__PURE__ */ (0, O.jsx)(x2, { src: n.thumb_url }) : /* @__PURE__ */ (0, O.jsx)(b2, { kind: "video" }), _2(n.duration) ? /* @__PURE__ */ (0, O.jsx)("i", {className: "mono","data-mix-item-duration": "",children: gn(n.duration)@@ -69047,15 +69047,15 @@ function YEe({ group: e, itemId: t, helpers: n, actions: r }) {children: a.label}), /* @__PURE__ */ (0, O.jsx)("time", {dateTime: n.published_at || "",- children: UU(n)+ children: HU(n)})]})]}, n.id);})});}-function w2({ item: e, current: t, currentId: n = e.id, helpers: r, actions: i, onMedia: a }) {- let o = e.media_items || [], s = C2(r), c = [];+function C2({ item: e, current: t, currentId: n = e.id, helpers: r, actions: i, onMedia: a }) {+ let o = e.media_items || [], s = S2(r), c = [];o.forEach((e) => {let t = e.resource_group || "ungrouped", n = c.find((e) => e.key === t);n || (n = {@@ -69065,26 +69065,26 @@ function w2({ item: e, current: t, currentId: n = e.id, helpers: r, actions: i,}, c.push(n)), n.items.push(e);});let l = (t) => e.id === n ? a(t.index) : i.openItem(e.id, t.index);- return /* @__PURE__ */ (0, O.jsx)(QG, {+ return /* @__PURE__ */ (0, O.jsx)(ZG, {kind: "media","data-follow-queue": "",title: "多媒体",onClose: i.close,listRef: s,- summary: `${PU(e)} · ${o.length} 个媒体`,- children: c.map((n) => [n.label ? /* @__PURE__ */ (0, O.jsx)(eK, {+ summary: `${NU(e)} · ${o.length} 个媒体`,+ children: c.map((n) => [n.label ? /* @__PURE__ */ (0, O.jsx)($G, {label: n.label,count: n.items.length- }, `label:${n.key}`) : null, ...n.items.map((n) => /* @__PURE__ */ (0, O.jsxs)($G, {+ }, `label:${n.key}`) : null, ...n.items.map((n) => /* @__PURE__ */ (0, O.jsxs)(QG, {current: n.index === t,"data-follow-media-owner": e.id,"data-follow-media-item": n.index,"data-media-kind": n.media_kind || "",onClick: () => l(n),- pic: n.thumb_url ? /* @__PURE__ */ (0, O.jsx)(S2, { src: n.thumb_url }) : /* @__PURE__ */ (0, O.jsx)(x2, { kind: n.media_kind || "" }),+ pic: n.thumb_url ? /* @__PURE__ */ (0, O.jsx)(x2, { src: n.thumb_url }) : /* @__PURE__ */ (0, O.jsx)(b2, { kind: n.media_kind || "" }),children: [/* @__PURE__ */ (0, O.jsx)("b", {"data-middle-truncate": "",- children: kEe(n)+ children: AEe(n)}), /* @__PURE__ */ (0, O.jsx)("span", {"data-truncate-end": "",children: n.media_kind === "image" ? "图片" : "视频"@@ -69092,13 +69092,13 @@ function w2({ item: e, current: t, currentId: n = e.id, helpers: r, actions: i,}, n.index))])});}-function XEe({ item: e, data: t, context: n, media: r, write: i, issue: a, helpers: o, actions: s }) {+function ZEe({ 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 = BU(d, e), p = RU(e, c2(e, t.sources), n), m = p.credited ? "" : e.author && dn(e.author) !== dn(p.author) ? e.author : "", h = VU(e, n), g = MEe(e, o.tagLabel), _ = e.status === "saved", { busy: v } = i, y = (e) => v.has(e) ? {+ }, f = zU(d, e), p = LU(e, s2(e, t.sources), n), m = p.credited ? "" : e.author && dn(e.author) !== dn(p.author) ? e.author : "", h = BU(e, n), g = NEe(e, o.tagLabel), _ = e.status === "saved", { busy: v } = i, y = (e) => v.has(e) ? {"aria-busy": !0,"aria-disabled": !0} : {};@@ -69114,7 +69114,7 @@ function XEe({ 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: zU(d, e) + z(PU(e)) }+ dangerouslySetInnerHTML: { __html: RU(d, e) + z(NU(e)) }}), e.url ? /* @__PURE__ */ (0, O.jsx)("a", {"data-follow-origin": "",href: e.url,@@ -69122,7 +69122,7 @@ function XEe({ item: e, data: t, context: n, media: r, write: i, issue: a, helperel: "noreferrer noopener",title: "打开来源页面","aria-label": "打开来源页面",- dangerouslySetInnerHTML: { __html: y2 }+ dangerouslySetInnerHTML: { __html: v2 }}) : null]}),/* @__PURE__ */ (0, O.jsxs)("div", {@@ -69130,8 +69130,8 @@ function XEe({ item: e, data: t, context: n, media: r, write: i, issue: a, helpe"data-stage-meta": "","data-reveal-line": "",children: [- /* @__PURE__ */ (0, O.jsx)("span", { children: UU(e) }),- v2(e.duration) ? /* @__PURE__ */ (0, O.jsx)("span", { children: gn(e.duration) }) : null,+ /* @__PURE__ */ (0, O.jsx)("span", { children: HU(e) }),+ _2(e.duration) ? /* @__PURE__ */ (0, O.jsx)("span", { children: gn(e.duration) }) : null,f ? /* @__PURE__ */ (0, O.jsx)("span", {"data-follow-badges": "",dangerouslySetInnerHTML: { __html: f }@@ -69148,7 +69148,7 @@ function XEe({ item: e, data: t, context: n, media: r, write: i, issue: a, helpechildren: "创作者"}), /* @__PURE__ */ (0, O.jsx)("div", {"data-id-row": "",- children: p.entityName ? /* @__PURE__ */ (0, O.jsxs)(VZ, {+ children: p.entityName ? /* @__PURE__ */ (0, O.jsxs)(BZ, {name: p.entityName,actions: s,"data-id-cell": "creator",@@ -69180,7 +69180,7 @@ function XEe({ item: e, data: t, context: n, media: r, write: i, issue: a, helpechildren: [m ? /* @__PURE__ */ (0, O.jsxs)("span", { children: ["发布者 ", m] }) : null, p.credited ? /* @__PURE__ */ (0, O.jsxs)("span", { children: ["署名含 ", p.credited] }) : null]}) : null]}),- e.summary ? /* @__PURE__ */ (0, O.jsx)(ZEe, { text: e.summary }, e.id) : null,+ e.summary ? /* @__PURE__ */ (0, O.jsx)(QEe, { text: e.summary }, e.id) : null,h ? /* @__PURE__ */ (0, O.jsx)("p", {"data-follow-media-issue": "",children: h@@ -69203,9 +69203,9 @@ function XEe({ item: e, data: t, context: n, media: r, write: i, issue: a, helpehref: e,target: "_blank",rel: "noreferrer noopener",- children: [DEe(e), /* @__PURE__ */ (0, O.jsx)("span", {+ children: [OEe(e), /* @__PURE__ */ (0, O.jsx)("span", {className: "contents",- dangerouslySetInnerHTML: { __html: y2 }+ dangerouslySetInnerHTML: { __html: v2 }})]}, e))}) : null,@@ -69305,7 +69305,7 @@ function XEe({ item: e, data: t, context: n, media: r, write: i, issue: a, helpe"aria-label": `恢复显示 ${e.name || ""}`,...y(`restore:${e.index}`),onClick: () => i.restore(e.index),- children: [e.thumb_url ? /* @__PURE__ */ (0, O.jsx)(S2, { src: e.thumb_url }) : /* @__PURE__ */ (0, O.jsx)(HEe, { name: "image-off" }), /* @__PURE__ */ (0, O.jsx)("i", { dangerouslySetInnerHTML: { __html: L("rotate-ccw") } })]+ children: [e.thumb_url ? /* @__PURE__ */ (0, O.jsx)(x2, { src: e.thumb_url }) : /* @__PURE__ */ (0, O.jsx)(UEe, { name: "image-off" }), /* @__PURE__ */ (0, O.jsx)("i", { dangerouslySetInnerHTML: { __html: L("rotate-ccw") } })]}, e.index))})]}) : null,@@ -69319,7 +69319,7 @@ function XEe({ item: e, data: t, context: n, media: r, write: i, issue: a, helpe"data-follow-detail-tags": "",children: g.map((t) => /* @__PURE__ */ (0, O.jsx)("button", {type: "button",- "data-tag-cat": jEe(e, t),+ "data-tag-cat": MEe(e, t),"data-follow-tag": t,onClick: () => s.openTag(t),children: o.tagLabel(t)@@ -69329,7 +69329,7 @@ function XEe({ item: e, data: t, context: n, media: r, write: i, issue: a, helpe})});}-function ZEe({ text: e }) {+function QEe({ text: e }) {let t = (0, D.useRef)(null), [n, r] = (0, D.useState)(!1), [i, a] = (0, D.useState)(!1);return (0, D.useLayoutEffect)(() => {let e = t.current;@@ -69342,7 +69342,7 @@ function ZEe({ text: e }) {ref: t,"data-follow-detail-summary": "","data-long-text": "",- lang: LF(e),+ lang: IF(e),"data-clamped": n ? void 0 : "",children: e}), i || n ? /* @__PURE__ */ (0, O.jsx)(q, {@@ -69354,8 +69354,8 @@ function ZEe({ text: e }) {children: n ? "收起" : "展开"}) : null] });}-function QEe(e, t, n) {- let r = e.id, i = t2(r), [a, o] = (0, D.useState)(() => /* @__PURE__ */ new Set()), [s, c] = (0, D.useState)(""), l = (e, t) => o((n) => {+function $Ee(e, t, n) {+ let r = e.id, i = e2(r), [a, o] = (0, D.useState)(() => /* @__PURE__ */ new Set()), [s, c] = (0, D.useState)(""), l = (e, t) => o((n) => {let r = new Set(n);return t ? r.add(e) : r.delete(e), r;}), u = (e) => {@@ -69374,7 +69374,7 @@ function QEe(e, t, n) {to: e}),onSuccess: (e, { to: n, was: i }) => {- u(n), c(""), n === "ignored" && S$(), t.toast(FEe(n), { undo: i === "saved" ? void 0 : async () => {+ u(n), c(""), n === "ignored" && x$(), t.toast(IEe(n), { undo: i === "saved" ? void 0 : async () => {await V(er, {item: r,to: i@@ -69384,7 +69384,7 @@ function QEe(e, t, n) {onError: d,onSettled: (e, t, { to: n }) => l(n, !1)}), p = wt({- mutationFn: () => V(bEe, { item: r }),+ mutationFn: () => V(xEe, { item: r }),onSuccess: () => {u("saved"), c(""), t.toast("已保存到数据库");},@@ -69392,7 +69392,7 @@ function QEe(e, t, n) {onSettled: () => l("save", !1)}), m = wt({mutationFn: async ({ index: e, hidden: t }) => {- await V(xEe, {+ await V(SEe, {item: r,media: e,hidden: t@@ -69408,12 +69408,12 @@ function QEe(e, t, n) {onError: d,onSettled: (e, t, { index: n, hidden: r }) => l(`${r ? "hide" : "restore"}:${n}`, !1)}), h = Ct({- queryKey: LCe(r),- queryFn: ({ signal: e }) => BCe(r, e)+ queryKey: RCe(r),+ queryFn: ({ signal: e }) => VCe(r, e)}).data?.want ?? null, g = wt({- mutationFn: async (e) => (e ? await x$([e.id]) : await b$({ follow: r }), !e),+ mutationFn: async (e) => (e ? await b$([e.id]) : await y$({ follow: r }), !e),onSuccess: (e) => {- c(""), t.toast(e ? "已加入想要" : "已取消想要"), S$();+ c(""), t.toast(e ? "已加入想要" : "已取消想要"), x$();},onError: d,onSettled: () => l("want", !1)@@ -69453,7 +69453,7 @@ function QEe(e, t, n) {}//#endregion//#region src/react/components/identity-cell.tsx-function T2({ kind: e, person: t, onOpen: n, hidden: r, overflow: i, face: a }) {+function w2({ kind: e, person: t, onOpen: n, hidden: r, overflow: i, face: a }) {let o = e === "performer" || e === "creator" ? /* @__PURE__ */ (0, O.jsx)("span", {"data-id-face": "",dangerouslySetInnerHTML: { __html: `<span>${z(Sn(t.name))}</span>` + La({@@ -69499,7 +69499,7 @@ function T2({ kind: e, person: t, onOpen: n, hidden: r, overflow: i, face: a })children: s});}-function E2({ people: e, onOpen: t }) {+function T2({ people: e, onOpen: t }) {if (!e.length) return null;let n = (e) => /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)("span", {className: "contents",@@ -69533,7 +69533,7 @@ function E2({ people: e, onOpen: t }) {}//#endregion//#region src/react/components/folded-title.ts-function D2(e) {+function E2(e) {let t = (0, D.useRef)(null), [n, r] = (0, D.useState)(!1), [i, a] = (0, D.useState)(!1);return (0, D.useLayoutEffect)(() => {let e = t.current;@@ -69551,9 +69551,9 @@ function D2(e) {}//#endregion//#region src/react/item-detail/catalog-picture.tsx-function O2({ item: e, image: t, source: n = !1, thumbnail: r = !1 }) {+function D2({ item: e, image: t, source: n = !1, thumbnail: r = !1 }) {let [i, a] = (0, D.useState)(!1), [o, s] = (0, D.useState)(0);- if (n && t > 0 && e.code) return /* @__PURE__ */ (0, O.jsx)(bQ, {+ if (n && t > 0 && e.code) return /* @__PURE__ */ (0, O.jsx)(yQ, {item: {code: e.code,has_cover: !1,@@ -69567,7 +69567,7 @@ function O2({ item: e, image: t, source: n = !1, thumbnail: r = !1 }) {src: c,alt: "",onError: () => a(!0)- }) : i ? /* @__PURE__ */ (0, O.jsx)(zz, {+ }) : i ? /* @__PURE__ */ (0, O.jsx)(Rz, {tone: "neutral",action: /* @__PURE__ */ (0, O.jsx)(q, {variant: "secondary",@@ -69586,81 +69586,81 @@ function O2({ item: e, image: t, source: n = !1, thumbnail: r = !1 }) {}//#endregion//#region src/react/jav-detail/jav-detail.ts-var k2 = (e) => ["jav-detail", e], A2 = (e, t, n = !1) => B(`/api/jav/detail?code=${encodeURIComponent(e)}${n ? "&refresh=1" : ""}`, t), $Ee = (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: () => A2(e.code, t),+var O2 = (e) => ["jav-detail", e], k2 = (e, t, n = !1) => B(`/api/jav/detail?code=${encodeURIComponent(e)}${n ? "&refresh=1" : ""}`, t), eDe = (e, t, n, r = !1) => B(`/api/jav/reviews?code=${encodeURIComponent(e)}&page=${t}${r ? "&refresh=1" : ""}`, n), A2 = (e, t) => H.ensureQueryData({+ queryKey: O2(e.code),+ queryFn: () => k2(e.code, t),staleTime: 216e5,revalidateIfStale: !0});-function eDe(e, t) {+function tDe(e, t) {if (!e.ok || !e.more) return;let n = new Set(t.slice(0, -1).flatMap((e) => e.items.map((e) => e.id)));return e.items.some((e) => !n.has(e.id)) ? e.page + 1 : void 0;}//#endregion//#region src/react/item-detail/external-playback.tsx-var M2 = "peach.external-player.v1", N2 = [+var j2 = "peach.external-player.v1", M2 = [["m3u", "M3U 播放列表"],["vlc-ios", "VLC(iPhone / iPad)"],["iina", "IINA(Mac)"]];-function tDe(e, t, n) {+function nDe(e, t, n) {return e === "vlc-ios" ? `vlc-x-callback://x-callback-url/stream?url=${encodeURIComponent(t)}` : e === "iina" ? `iina://weblink?url=${encodeURIComponent(t)}` : n;}-function P2({ id: e }) {+function N2({ id: e }) {let [t, n] = (0, D.useState)(() => {try {- return N2.find(([e]) => e === localStorage.getItem(M2))?.[0] || "m3u";+ return M2.find(([e]) => e === localStorage.getItem(j2))?.[0] || "m3u";} catch {return "m3u";}- }), [r, i] = (0, D.useState)(null), a = PH();- return /* @__PURE__ */ (0, O.jsx)(XH, {+ }), [r, i] = (0, D.useState)(null), a = NH();+ return /* @__PURE__ */ (0, O.jsx)(YH, {summary: "外部播放器 / VR",- children: /* @__PURE__ */ (0, O.jsxs)(KH, { children: [- /* @__PURE__ */ (0, O.jsx)(m1, {+ children: /* @__PURE__ */ (0, O.jsxs)(GH, { children: [+ /* @__PURE__ */ (0, O.jsx)(p1, {id: `external-player-${e}`,label: "此设备的外部播放器",- options: N2,+ options: M2,value: t,epoch: 0,onPick: (e) => {- let t = N2.find(([t]) => t === e)?.[0] || "m3u";+ let t = M2.find(([t]) => t === e)?.[0] || "m3u";n(t);try {- localStorage.setItem(M2, t);+ localStorage.setItem(j2, t);} catch {}}}),/* @__PURE__ */ (0, O.jsx)(q, {variant: "secondary",- ...Wz(a.busy === "prepare"),+ ...Uz(a.busy === "prepare"),onClick: () => void a.run("prepare", (t) => V(`/api/external-playback?id=${e}`, {}, "POST", t), (e) => i({url: new URL(e.url, location.origin).href,playlist: new URL(e.playlist, location.origin).href})),children: "生成播放链接"}),- a.error ? /* @__PURE__ */ (0, O.jsx)(JH, { children: a.error }) : null,+ a.error ? /* @__PURE__ */ (0, O.jsx)(qH, { children: a.error }) : null,r ? /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)("a", {- href: tDe(t, r.url, r.playlist),+ href: nDe(t, r.url, r.playlist),rel: "noreferrer",- children: t === "m3u" ? "下载 M3U 播放列表" : `打开 ${N2.find(([e]) => e === t)?.[1]}`+ children: t === "m3u" ? "下载 M3U 播放列表" : `打开 ${M2.find(([e]) => e === t)?.[1]}`}),- /* @__PURE__ */ (0, O.jsx)(Iz, {+ /* @__PURE__ */ (0, O.jsx)(Fz, {label: "网络播放地址",value: r.url,isReadOnly: !0}),- /* @__PURE__ */ (0, O.jsx)(qH, { children: "链接有效期为 6 小时。VR 播放器可使用网络播放地址;另一台设备需要能访问当前 Peach 地址。" })+ /* @__PURE__ */ (0, O.jsx)(KH, { children: "链接有效期为 6 小时。VR 播放器可使用网络播放地址;另一台设备需要能访问当前 Peach 地址。" })] }) : null] })}, e);}//#endregion//#region src/react/boardui/components/base/switch/switch.tsx-var nDe = jF({+var rDe = AF({sm: {track: "h-4 w-7",trackRadius: {@@ -69722,23 +69722,23 @@ var nDe = jF({}}});-function rDe({ state: e, size: t = "md", shape: n = "pill" }) {- let r = nDe[t];+function iDe({ state: e, size: t = "md", shape: n = "pill" }) {+ let r = rDe[t];return /* @__PURE__ */ (0, O.jsx)("span", {"aria-hidden": !0,- className: AF("relative shrink-0 transition-colors duration-200 ease", r.track, r.trackRadius[n], e.isSelected ? AF("bg-linear-to-b from-accent-500 to-accent-600", r.onShadow) : "bg-background-tertiary-default", e.isDisabled && "opacity-50", e.isFocusVisible && "ring-2 ring-border-focus-ring ring-offset-2"),+ className: kF("relative shrink-0 transition-colors duration-200 ease", r.track, r.trackRadius[n], e.isSelected ? kF("bg-linear-to-b from-accent-500 to-accent-600", r.onShadow) : "bg-background-tertiary-default", e.isDisabled && "opacity-50", e.isFocusVisible && "ring-2 ring-border-focus-ring ring-offset-2"),children: /* @__PURE__ */ (0, O.jsx)("span", {- className: AF("absolute flex items-center justify-center", "bg-linear-to-b from-control-indicator-background from-[43.837%] to-control-indicator-background-subtle", "shadow-[0_3px_3px_0_rgb(0_0_0/0.03),0_0.75px_0_0_rgb(0_0_0/0.05)]", "transition-transform duration-200 ease", r.thumb, r.thumbRadius[n], r.offset, e.isSelected && r.travel),- children: /* @__PURE__ */ (0, O.jsx)("span", { className: AF("border-solid bg-linear-to-t from-[43.837%]", r.chip, r.chipRadius[n], e.isSelected ? "border-accent-600 from-switch-on-chip-start to-switch-on-chip-end" : "border-border-button-default/50 from-switch-off-chip-start to-switch-off-chip-end") })+ className: kF("absolute flex items-center justify-center", "bg-linear-to-b from-control-indicator-background from-[43.837%] to-control-indicator-background-subtle", "shadow-[0_3px_3px_0_rgb(0_0_0/0.03),0_0.75px_0_0_rgb(0_0_0/0.05)]", "transition-transform duration-200 ease", r.thumb, r.thumbRadius[n], r.offset, e.isSelected && r.travel),+ children: /* @__PURE__ */ (0, O.jsx)("span", { className: kF("border-solid bg-linear-to-t from-[43.837%]", r.chip, r.chipRadius[n], e.isSelected ? "border-accent-600 from-switch-on-chip-start to-switch-on-chip-end" : "border-border-button-default/50 from-switch-off-chip-start to-switch-off-chip-end") })})});}-function F2({ className: e, children: t, size: n = "md", shape: r = "pill", ref: i, ...a }) {- return /* @__PURE__ */ (0, O.jsx)(Gue, {+function P2({ className: e, children: t, size: n = "md", shape: r = "pill", ref: i, ...a }) {+ return /* @__PURE__ */ (0, O.jsx)(Kue, {ref: i,...a,- className: (t) => AF("group inline-flex items-center gap-2 select-none", t.isDisabled ? "cursor-not-allowed" : "cursor-pointer", typeof e == "function" ? e(t) : e),- children: (e) => /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)(rDe, {+ className: (t) => kF("group inline-flex items-center gap-2 select-none", t.isDisabled ? "cursor-not-allowed" : "cursor-pointer", typeof e == "function" ? e(t) : e),+ children: (e) => /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)(iDe, {state: e,size: n,shape: r@@ -69750,13 +69750,13 @@ function F2({ className: e, children: t, size: n = "md", shape: r = "pill", ref:}//#endregion//#region src/react/cover-crop/cover-crop.ts-var iDe = "/api/cover-crop", aDe = (e, t) => V(iDe, {+var aDe = "/api/cover-crop", oDe = (e, t) => V(aDe, {code: e,box: t});//#endregion//#region src/react/cover-crop/cover-crop-page.tsx-function I2({ className: e }) {+function F2({ className: e }) {return /* @__PURE__ */ (0, O.jsx)("svg", {"aria-hidden": !0,viewBox: "0 0 24 24",@@ -69769,7 +69769,7 @@ function I2({ className: e }) {children: /* @__PURE__ */ (0, O.jsx)("use", { href: "#i-crop" })});}-function oDe({ code: e, coverUrl: t, box: n, onSaved: r }) {+function sDe({ code: e, coverUrl: t, box: n, onSaved: r }) {let [i, a] = (0, D.useState)(!1);return /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)("button", {type: "button",@@ -69779,13 +69779,13 @@ function oDe({ code: e, coverUrl: t, box: n, onSaved: r }) {title: "裁剪封面:框出正封那一块",onClick: () => a(!0),className: "flex size-7 cursor-pointer items-center justify-center rounded-lg text-foreground-icon-secondary outline-none transition-colors hover:bg-background-primary-hover hover:text-foreground-icon-primary focus-visible:ring-2 focus-visible:ring-border-focus-ring",- children: /* @__PURE__ */ (0, O.jsx)(I2, { className: "size-3.75" })- }), /* @__PURE__ */ (0, O.jsx)(Lz, {+ children: /* @__PURE__ */ (0, O.jsx)(F2, { className: "size-3.75" })+ }), /* @__PURE__ */ (0, O.jsx)(Iz, {isOpen: i,onOpenChange: a,width: "cover-crop",label: "裁剪封面",- children: /* @__PURE__ */ (0, O.jsx)(sDe, {+ children: /* @__PURE__ */ (0, O.jsx)(cDe, {code: e,coverUrl: t,box: n,@@ -69794,9 +69794,9 @@ function oDe({ code: e, coverUrl: t, box: n, onSaved: r }) {})})] });}-function sDe({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {- let [a, o] = (0, D.useState)(null), [s, c] = (0, D.useState)(null), [l, u] = (0, D.useState)(!0), d = cV(), f = wt({- mutationFn: (t) => aDe(e, t),+function cDe({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {+ let [a, o] = (0, D.useState)(null), [s, c] = (0, D.useState)(null), [l, u] = (0, D.useState)(!0), d = sV(), f = wt({+ mutationFn: (t) => oDe(e, t),onSuccess: (e) => {i(), r(e.poster_box);}@@ -69808,19 +69808,19 @@ function sDe({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {y0: n.y0,x1: n.x1,y1: n.y1- } : Jxe(e, wa);- c(rQ(t, e, null));+ } : Yxe(e, wa);+ c(nQ(t, e, null));}let m = f.isPending;return /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsxs)("div", {className: "flex shrink-0 items-start gap-4 p-5",children: [- /* @__PURE__ */ (0, O.jsx)(Rz, { children: /* @__PURE__ */ (0, O.jsx)(I2, { className: "size-6" }) }),+ /* @__PURE__ */ (0, O.jsx)(Lz, { children: /* @__PURE__ */ (0, O.jsx)(F2, { className: "size-6" }) }),/* @__PURE__ */ (0, O.jsxs)("div", {className: "flex min-w-0 flex-1 flex-col gap-2",children: [- /* @__PURE__ */ (0, O.jsx)(II, {+ /* @__PURE__ */ (0, O.jsx)(FI, {slot: "title",className: "text-title-3-semibold text-text-primary",children: "裁剪封面"@@ -69829,14 +69829,14 @@ function sDe({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {className: "text-body-2-regular text-text-secondary",children: [e, ":框出正封那一块,封面原图不动。拖动方框移动,滚轮或角上那枚方块改大小。"]}),- f.error ? /* @__PURE__ */ (0, O.jsx)(zz, {+ f.error ? /* @__PURE__ */ (0, O.jsx)(Rz, {tone: "error",children: jn(f.error)}) : null]}),- /* @__PURE__ */ (0, O.jsx)(nI, {- icon: gz,+ /* @__PURE__ */ (0, O.jsx)(tI, {+ icon: hz,size: "small","aria-label": "关闭",onClick: i@@ -69846,24 +69846,24 @@ function sDe({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {/* @__PURE__ */ (0, O.jsx)("div", {ref: d,className: "flex min-h-0 flex-1 flex-col items-center gap-4 overflow-y-auto border-t border-separator-border px-5 py-4",- children: /* @__PURE__ */ (0, O.jsx)(cQ, {+ children: /* @__PURE__ */ (0, O.jsx)(sQ, {src: t,aspect: l ? wa : null,box: s,size: a,label: `${e} 的正封取景框`,onSize: (e) => {- tQ(e) && p(e);+ eQ(e) && p(e);},onBox: c})}),/* @__PURE__ */ (0, O.jsxs)("div", {className: "flex shrink-0 flex-wrap items-center gap-3 border-t border-separator-border p-5",- children: [/* @__PURE__ */ (0, O.jsx)(F2, {+ children: [/* @__PURE__ */ (0, O.jsx)(P2, {isSelected: l,onChange: (e) => {- u(e), e && s && a && c(rQ(s, a, wa));+ u(e), e && s && a && c(nQ(s, a, wa));},children: /* @__PURE__ */ (0, O.jsx)("span", {className: "text-body-2-regular text-text-secondary",@@ -69873,14 +69873,14 @@ function sDe({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {className: "flex flex-1 flex-wrap items-center justify-end gap-3",children: [/* @__PURE__ */ (0, O.jsx)(q, {variant: "secondary",- ...Wz(m),+ ...Uz(m),onClick: () => {m || f.mutate(null);},children: "恢复默认"}), /* @__PURE__ */ (0, O.jsx)(q, {disabled: !s || !a,- ...Wz(m),+ ...Uz(m),onClick: () => {s && !m && f.mutate(s);},@@ -69892,21 +69892,21 @@ function sDe({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {}//#endregion//#region src/react/item-detail/item-detail-page.tsx-var L2 = ({ name: e }) => /* @__PURE__ */ (0, O.jsx)("span", {+var I2 = ({ name: e }) => /* @__PURE__ */ (0, O.jsx)("span", {className: "contents",dangerouslySetInnerHTML: { __html: L(e) }-}), R2 = ({ html: e }) => /* @__PURE__ */ (0, O.jsx)("span", {+}), L2 = ({ html: e }) => /* @__PURE__ */ (0, O.jsx)("span", {className: "contents",dangerouslySetInnerHTML: { __html: e }-}), z2 = (e) => Number(e) > 0 ? vn(Number(e)) : "大小未知";-function cDe(e) {+}), R2 = (e) => Number(e) > 0 ? vn(Number(e)) : "大小未知";+function lDe(e) {let { queue: t, actions: n } = e, r = Ct({- queryKey: t ? uM(t) : ["item-queue", "none"],- queryFn: ({ signal: n }) => yM(t, e.helpers, n),+ queryKey: t ? lM(t) : ["item-queue", "none"],+ queryFn: ({ signal: n }) => vM(t, e.helpers, n),enabled: !!t- }), i = t && r.data || null, a = i ? SM(i, e.id) : t ? null : e.id, o = Ct({- queryKey: lM(a ?? 0),- queryFn: ({ signal: e }) => vM(a, e),+ }), i = t && r.data || null, a = i ? xM(i, e.id) : t ? null : e.id, o = Ct({+ queryKey: cM(a ?? 0),+ queryFn: ({ signal: e }) => _M(a, e),enabled: a != null});if (!o.data || t && !i) {@@ -69917,9 +69917,9 @@ function cDe(e) {children: /* @__PURE__ */ (0, O.jsxs)("div", {"data-stage-media": "","data-item-media": "none",- children: [/* @__PURE__ */ (0, O.jsx)(B2, { onClose: n.close }), /* @__PURE__ */ (0, O.jsx)("div", {+ children: [/* @__PURE__ */ (0, O.jsx)(z2, { onClose: n.close }), /* @__PURE__ */ (0, O.jsx)("div", {"data-item-placeholder": "",- children: e ? /* @__PURE__ */ (0, O.jsx)(vW, {+ children: e ? /* @__PURE__ */ (0, O.jsx)(_W, {message: Wt(e),onRetry: () => {r.error && r.refetch(), o.error && o.refetch();@@ -69929,13 +69929,13 @@ function cDe(e) {})});}- return /* @__PURE__ */ (0, O.jsx)(lDe, {+ return /* @__PURE__ */ (0, O.jsx)(uDe, {...e,- item: nce(o.data, i),+ item: rce(o.data, i),queue: i}, o.data.id);}-var B2 = ({ onClose: e }) => /* @__PURE__ */ (0, O.jsx)("button", {+var z2 = ({ onClose: e }) => /* @__PURE__ */ (0, O.jsx)("button", {type: "button","data-stage-close": "",id: "closeStage",@@ -69944,23 +69944,23 @@ var B2 = ({ onClose: e }) => /* @__PURE__ */ (0, O.jsx)("button", {onClick: e,dangerouslySetInnerHTML: { __html: L("x") }});-function lDe(e) {- let { item: t, queue: n, actions: r, helpers: i } = e, a = TDe(t, r, i.tagLabel), o = (0, D.useRef)(t);+function uDe(e) {+ let { item: t, queue: n, actions: r, helpers: i } = e, a = EDe(t, r, i.tagLabel), o = (0, D.useRef)(t);(0, D.useLayoutEffect)(() => {r.present(o.current, n);}, [r]), (0, D.useEffect)(() => {- n?.kind === "playlist" && V(dM, {+ n?.kind === "playlist" && V(uM, {action: "progress",id: n.playlistId,asset_id: t.id}).catch(() => {});}, []);- let s = pce(t, i.sourceOffline(String(t.root_id || t.location || ""))), c = CM(n, t.id);+ let s = mce(t, i.sourceOffline(String(t.root_id || t.location || ""))), c = SM(n, t.id);return /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsxs)("div", {"data-stage-grid": "","data-with-queue": n ? "" : void 0,"data-item-detail": "",- children: [/* @__PURE__ */ (0, O.jsx)(uDe, {+ children: [/* @__PURE__ */ (0, O.jsx)(dDe, {item: t,gate: s,helpers: i,@@ -69973,22 +69973,22 @@ function lDe(e) {autoplay: !0}, c.id);}- }), /* @__PURE__ */ (0, O.jsx)(hDe, {+ }), /* @__PURE__ */ (0, O.jsx)(gDe, {item: t,queue: n,write: a,helpers: i,actions: r})]- }), /* @__PURE__ */ (0, O.jsx)(h2, {+ }), /* @__PURE__ */ (0, O.jsx)(m2, {editionCards: n?.kind === "editions" ? n.items.length : void 0,- queue: n ? /* @__PURE__ */ (0, O.jsx)(fDe, {+ queue: n ? /* @__PURE__ */ (0, O.jsx)(pDe, {queue: n,itemId: t.id,helpers: i,actions: r}) : null,- children: e.relatedLimit > 0 && (!n || n.kind === "parts" || n.kind === "editions") ? /* @__PURE__ */ (0, O.jsx)(wDe, {+ children: e.relatedLimit > 0 && (!n || n.kind === "parts" || n.kind === "editions") ? /* @__PURE__ */ (0, O.jsx)(TDe, {...e,item: n ? {...t,@@ -69997,12 +69997,12 @@ function lDe(e) {}) : null})] });}-function uDe({ item: e, gate: t, helpers: n, actions: r, autoplay: i, onEnded: a }) {+function dDe({ item: e, gate: t, helpers: n, actions: r, autoplay: i, onEnded: a }) {let [o, s] = (0, D.useState)(t ? "" : "auto"), c = (0, D.useRef)(null), [l, u] = (0, D.useState)(-2), d = (0, D.useRef)(!1), f = Ct({- queryKey: k2(e.code || ""),+ queryKey: O2(e.code || ""),queryFn: ({ signal: t }) => {let n = d.current;- return d.current = !1, A2(e.code, t, n);+ return d.current = !1, k2(e.code, t, n);},staleTime: 216e5,enabled: !!e.is_jav && !!e.code && !e.sample_images?.length@@ -70047,26 +70047,26 @@ function uDe({ item: e, gate: t, helpers: n, actions: r, autoplay: i, onEnded: a"data-item-gallery": h ? "" : void 0,"data-item-picture": l === -2 ? void 0 : "",children: [- /* @__PURE__ */ (0, O.jsx)(B2, { onClose: r.close }),+ /* @__PURE__ */ (0, O.jsx)(z2, { onClose: r.close }),h ? /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsxs)("button", {type: "button","data-jav-preview-toggle": "","aria-pressed": l !== -2,onClick: () => g(l === -2 ? m[0].index : -2),- children: [/* @__PURE__ */ (0, O.jsx)(L2, { name: l === -2 ? "image" : "play" }), l === -2 ? "查看图片" : "播放正片"]+ children: [/* @__PURE__ */ (0, O.jsx)(I2, { name: l === -2 ? "image" : "play" }), l === -2 ? "查看图片" : "播放正片"]}),- l === -2 ? null : /* @__PURE__ */ (0, O.jsx)(O2, {+ l === -2 ? null : /* @__PURE__ */ (0, O.jsx)(D2, {item: e,image: l,source: p.find((e) => e.index === l)?.source}, l),- /* @__PURE__ */ (0, O.jsx)(g2, {+ /* @__PURE__ */ (0, O.jsx)(h2, {items: m,position: Math.max(0, m.findIndex((e) => e.index === l)),onSelect: g,below: !0,- renderThumbnail: (t) => /* @__PURE__ */ (0, O.jsx)(O2, {+ renderThumbnail: (t) => /* @__PURE__ */ (0, O.jsx)(D2, {item: e,image: t.index === -2 ? m[0].index : t.index,source: p.find((e) => e.index === (t.index === -2 ? m[0].index : t.index))?.source,@@ -70083,7 +70083,7 @@ function uDe({ item: e, gate: t, helpers: n, actions: r, autoplay: i, onEnded: aclassName: "relative block h-12 w-20 skeleton-sheen"}) : /* @__PURE__ */ (0, O.jsx)(q, {variant: "secondary",- ...Wz(f.isFetching),+ ...Uz(f.isFetching),title: f.data?.message || Wt(f.error),"aria-label": "立即重试样图",onClick: () => {@@ -70092,7 +70092,7 @@ function uDe({ item: e, gate: t, helpers: n, actions: r, autoplay: i, onEnded: achildren: "立即重试"})}) : null,- t === "offline" ? /* @__PURE__ */ (0, O.jsx)(dDe, {+ t === "offline" ? /* @__PURE__ */ (0, O.jsx)(fDe, {item: e,badge: y,helpers: n,@@ -70103,14 +70103,14 @@ function uDe({ item: e, gate: t, helpers: n, actions: r, autoplay: i, onEnded: achildren: [/* @__PURE__ */ (0, O.jsx)("b", { children: "ISO 原盘" }),/* @__PURE__ */ (0, O.jsx)("span", { children: "请使用支持原盘的外部播放器打开。" }),- /* @__PURE__ */ (0, O.jsx)(P2, { id: e.id })+ /* @__PURE__ */ (0, O.jsx)(N2, { id: e.id })]}) : t === "online" ? /* @__PURE__ */ (0, O.jsxs)("div", {id: "onlineGate",role: "status","data-item-gate": "online",children: [- /* @__PURE__ */ (0, O.jsx)(R2, { html: y }),+ /* @__PURE__ */ (0, O.jsx)(L2, { html: y }),/* @__PURE__ */ (0, O.jsx)("b", { children: "在线作品" }),/* @__PURE__ */ (0, O.jsx)("span", { children: "这条没有对应的关注条目,媒体地址无从解析。" }),/* @__PURE__ */ (0, O.jsx)("button", {@@ -70125,12 +70125,12 @@ function uDe({ item: e, gate: t, helpers: n, actions: r, autoplay: i, onEnded: aid: "gate","data-item-gate": "metered",onClick: () => s("clicked"),- children: [/* @__PURE__ */ (0, O.jsx)(R2, { html: y }), /* @__PURE__ */ (0, O.jsxs)("span", { children: ["点此开始拉流 · ", z2(e.size)] })]+ children: [/* @__PURE__ */ (0, O.jsx)(L2, { html: y }), /* @__PURE__ */ (0, O.jsxs)("span", { children: ["点此开始拉流 · ", R2(e.size)] })]}) : null]});}-function dDe({ item: e, badge: t, helpers: n, actions: r }) {+function fDe({ item: e, badge: t, helpers: n, actions: r }) {let [i, a] = (0, D.useState)(!1), [o, s] = (0, D.useState)(!1), c = async () => {a(!0);let t = await r.checkSource(e.location || "").catch(() => !1);@@ -70141,7 +70141,7 @@ function dDe({ item: e, badge: t, helpers: n, actions: r }) {role: "status","data-item-gate": "offline",children: [- /* @__PURE__ */ (0, O.jsx)(R2, { html: t }),+ /* @__PURE__ */ (0, O.jsx)(L2, { html: t }),/* @__PURE__ */ (0, O.jsx)("b", { children: "媒体目录无法访问" }),/* @__PURE__ */ (0, O.jsx)("span", { children: n.offlineReason(String(e.root_id || e.location || "")) }),/* @__PURE__ */ (0, O.jsx)("button", {@@ -70155,8 +70155,8 @@ function dDe({ item: e, badge: t, helpers: n, actions: r }) {]});}-function fDe({ queue: e, itemId: t, helpers: n, actions: r }) {- let i = lce(e), a = (0, D.useRef)(null), o = mDe(e, t, r), s = (0, D.useRef)(o);+function pDe({ queue: e, itemId: t, helpers: n, actions: r }) {+ let i = uce(e), a = (0, D.useRef)(null), o = hDe(e, t, r), s = (0, D.useRef)(o);s.current = o;let c = (0, D.useCallback)((t) => {a.current = t, t && (n.wireDrag(t), e.kind === "playlist" && n.wireDragReorder(t, {@@ -70164,7 +70164,7 @@ function fDe({ 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 = pDe(e, r), u = e.kind === "mix" ? /* @__PURE__ */ (0, O.jsx)("button", {+ }, [n, e.kind]), l = mDe(e, r), u = e.kind === "mix" ? /* @__PURE__ */ (0, O.jsx)("button", {type: "button","data-save-mix": "",title: "保存为播放列表",@@ -70183,7 +70183,7 @@ function fDe({ queue: e, itemId: t, helpers: n, actions: r }) {seedId: e.seedId,playlistId: e.playlistId};- return /* @__PURE__ */ (0, O.jsx)(QG, {+ return /* @__PURE__ */ (0, O.jsx)(ZG, {kind: e.kind,title: i.title,summary: i.summary,@@ -70192,11 +70192,11 @@ function fDe({ queue: e, itemId: t, helpers: n, actions: r }) {listRef: c,children: e.items.map((i) => {let a = e.kind === "editions" && i.edition_label ? /* @__PURE__ */ (0, O.jsx)("i", {- className: `javedition ${sce[i.edition_label] || "censored"}`,+ className: `javedition ${cce[i.edition_label] || "censored"}`,"data-queue-edition": "",children: i.edition_label- }) : null, s = e.kind === "playlist" && xM(i);- return /* @__PURE__ */ (0, O.jsxs)($G, {+ }) : null, s = e.kind === "playlist" && bM(i);+ return /* @__PURE__ */ (0, O.jsxs)(QG, {current: i.id === t,"data-queue-item": i.id,row: { "data-queue-row": i.id },@@ -70206,25 +70206,25 @@ function fDe({ queue: e, itemId: t, helpers: n, actions: r }) {onClick: () => {s || r.openQueueItem(d, i.id);},- pic: /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)(R2, { html: Ya(i, n.javImage()) }), /* @__PURE__ */ (0, O.jsx)("i", {+ pic: /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)(L2, { html: Ya(i, n.javImage()) }), /* @__PURE__ */ (0, O.jsx)("i", {className: "mono","data-mix-item-duration": "",children: gn(i.duration)})] }),- lead: /* @__PURE__ */ (0, O.jsx)(R2, { html: Qa(i) }),+ lead: /* @__PURE__ */ (0, O.jsx)(L2, { html: Qa(i) }),after: e.kind === "playlist" ? /* @__PURE__ */ (0, O.jsxs)("span", {"data-queue-edit": "",children: [/* @__PURE__ */ (0, O.jsx)("i", {"data-queue-grip": "","aria-hidden": "true",- children: /* @__PURE__ */ (0, O.jsx)(L2, { name: "grip-vertical" })+ children: /* @__PURE__ */ (0, O.jsx)(I2, { name: "grip-vertical" })}), /* @__PURE__ */ (0, O.jsx)("button", {type: "button","data-queue-remove": i.id,title: "移出播放列表","aria-label": "移出播放列表",onClick: () => o.remove(i.id),- children: /* @__PURE__ */ (0, O.jsx)(L2, { name: "x" })+ children: /* @__PURE__ */ (0, O.jsx)(I2, { name: "x" })})]}) : null,children: [/* @__PURE__ */ (0, O.jsxs)("span", {@@ -70235,14 +70235,14 @@ function fDe({ queue: e, itemId: t, helpers: n, actions: r }) {})]}), /* @__PURE__ */ (0, O.jsx)("span", {"data-truncate-end": "",- children: s ? "已消失 · 文件已不在盘上" : e.kind === "parts" || e.kind === "editions" && i.part_label ? AM(i.part_label) : $a(i, n.tagLabel)+ children: s ? "已消失 · 文件已不在盘上" : e.kind === "parts" || e.kind === "editions" && i.part_label ? kM(i.part_label) : $a(i, n.tagLabel)})]}, i.id);})});}-function pDe(e, t) {- let n = wt({ mutationFn: (t) => V(dM, {+function mDe(e, t) {+ let n = wt({ mutationFn: (t) => V(uM, {action: "create",name: t,asset_ids: e.items.map((e) => e.id),@@ -70255,11 +70255,11 @@ function pDe(e, t) {save: (e) => n.mutateAsync(e)});}-function mDe(e, t, n) {- let r = uM({+function hDe(e, t, n) {+ let r = lM({kind: "playlist",playlistId: e.playlistId- }), i = (e) => (H.setQueryData(r, bM(e)), e), a = (t) => V(dM, {+ }), i = (e) => (H.setQueryData(r, yM(e)), e), a = (t) => V(uM, {id: e.playlistId,...t}).then((e) => e.playlist), o = wt({@@ -70275,8 +70275,8 @@ function mDe(e, t, n) {return {move: async (t, r, c) => {if (e.kind !== "playlist") return;- let l = dce(s, t, r, c);- if (fce(l, s)) return;+ let l = fce(s, t, r, c);+ if (pce(l, s)) return;let u = s;await o.mutateAsync(l), n.toast("已调整播放顺序", { undo: async () => {i(await a({@@ -70318,7 +70318,7 @@ function mDe(e, t, n) {}};}-function hDe({ item: e, queue: t, write: n, helpers: r, actions: i }) {+function gDe({ item: e, queue: t, write: n, helpers: r, actions: i }) {let a = e.location === "online", o = n.busyAttrs, [s, c] = (0, D.useState)(!1);return /* @__PURE__ */ (0, O.jsx)("div", {"data-stage-side": "",@@ -70326,7 +70326,7 @@ function hDe({ item: e, queue: t, write: n, helpers: r, actions: i }) {children: /* @__PURE__ */ (0, O.jsxs)("div", {"data-stage-side-content": "",children: [- /* @__PURE__ */ (0, O.jsx)(gDe, {+ /* @__PURE__ */ (0, O.jsx)(_De, {item: e,queue: t,helpers: r,@@ -70338,7 +70338,7 @@ function hDe({ item: e, queue: t, write: n, helpers: r, actions: i }) {"aria-live": "polite",children: n.sourceState}),- /* @__PURE__ */ (0, O.jsx)(vDe, {+ /* @__PURE__ */ (0, O.jsx)(yDe, {item: e,write: n}),@@ -70349,7 +70349,7 @@ function hDe({ item: e, queue: t, write: n, helpers: r, actions: i }) {children: [e.width && e.height ? /* @__PURE__ */ (0, O.jsxs)("span", {"data-spec-item": "",- children: [/* @__PURE__ */ (0, O.jsx)(L2, { name: "monitor" }), /* @__PURE__ */ (0, O.jsxs)("span", { children: [+ children: [/* @__PURE__ */ (0, O.jsx)(I2, { name: "monitor" }), /* @__PURE__ */ (0, O.jsxs)("span", { children: [e.width,"×",e.height@@ -70357,11 +70357,11 @@ function hDe({ item: e, queue: t, write: n, helpers: r, actions: i }) {}) : null,/* @__PURE__ */ (0, O.jsxs)("span", {"data-spec-item": "",- children: [/* @__PURE__ */ (0, O.jsx)(L2, { name: "hard-drive" }), /* @__PURE__ */ (0, O.jsx)("span", { children: z2(e.size) })]+ children: [/* @__PURE__ */ (0, O.jsx)(I2, { name: "hard-drive" }), /* @__PURE__ */ (0, O.jsx)("span", { children: R2(e.size) })]}),e.release_date ? /* @__PURE__ */ (0, O.jsxs)("span", {"data-spec-item": "",- children: [/* @__PURE__ */ (0, O.jsx)(L2, { name: "calendar" }), /* @__PURE__ */ (0, O.jsx)("span", { children: e.release_date })]+ children: [/* @__PURE__ */ (0, O.jsx)(I2, { name: "calendar" }), /* @__PURE__ */ (0, O.jsx)("span", { children: e.release_date })]}) : null,e.region_label ? /* @__PURE__ */ (0, O.jsxs)("button", {type: "button",@@ -70369,29 +70369,29 @@ function hDe({ item: e, queue: t, write: n, helpers: r, actions: i }) {"data-open-region": e.region || "",title: e.region_settled ? "已判定的产地;打开同产地的作品" : "按番号或厂牌推断的产地,批量判定后不再变;打开同产地的作品",onClick: () => i.openRegion(e.region || ""),- children: [/* @__PURE__ */ (0, O.jsx)(L2, { name: "globe" }), /* @__PURE__ */ (0, O.jsxs)("span", { children: [e.region_label, e.region_settled ? "" : "(推断)"] })]+ children: [/* @__PURE__ */ (0, O.jsx)(I2, { name: "globe" }), /* @__PURE__ */ (0, O.jsxs)("span", { children: [e.region_label, e.region_settled ? "" : "(推断)"] })]}) : null]}),- /* @__PURE__ */ (0, O.jsx)(yDe, {+ /* @__PURE__ */ (0, O.jsx)(bDe, {item: e,helpers: r,actions: i}),- /* @__PURE__ */ (0, O.jsx)(bDe, {+ /* @__PURE__ */ (0, O.jsx)(xDe, {item: e,write: n,helpers: r,actions: i}),- /* @__PURE__ */ (0, O.jsx)(gK, {- assetIds: hK([e], r.javImage()),+ /* @__PURE__ */ (0, O.jsx)(hK, {+ assetIds: mK([e], r.javImage()),onComplete: () => {- H.invalidateQueries({ queryKey: lM(e.id) });+ H.invalidateQueries({ queryKey: cM(e.id) });}}),- /* @__PURE__ */ (0, O.jsx)(SDe, { item: e }),- e.medium === "video" && e.location !== "online" ? /* @__PURE__ */ (0, O.jsx)(P2, { id: e.id }, e.id) : null,+ /* @__PURE__ */ (0, O.jsx)(CDe, { item: e }),+ e.medium === "video" && e.location !== "online" ? /* @__PURE__ */ (0, O.jsx)(N2, { id: e.id }, e.id) : null,/* @__PURE__ */ (0, O.jsxs)("div", {"data-stage-actions": "","data-item-feedback": "",@@ -70405,7 +70405,7 @@ function hDe({ item: e, queue: t, write: n, helpers: r, actions: i }) {"aria-pressed": !!e.liked,...o("like"),onClick: () => n.preference({ liked: !e.liked }),- children: /* @__PURE__ */ (0, O.jsx)(L2, { name: "thumbs-up" })+ children: /* @__PURE__ */ (0, O.jsx)(I2, { name: "thumbs-up" })}),/* @__PURE__ */ (0, O.jsx)("button", {type: "button",@@ -70417,7 +70417,7 @@ function hDe({ item: e, queue: t, write: n, helpers: r, actions: i }) {"aria-controls": "preferencePanel","data-has-reason": String(!!e.like_reason),onClick: () => c((e) => !e),- children: /* @__PURE__ */ (0, O.jsx)(L2, { name: "notebook-pen" })+ children: /* @__PURE__ */ (0, O.jsx)(I2, { name: "notebook-pen" })}),/* @__PURE__ */ (0, O.jsx)("button", {type: "button",@@ -70428,7 +70428,7 @@ function hDe({ item: e, queue: t, write: n, helpers: r, actions: i }) {"aria-pressed": e.feedback === "dislike",...o("dislike"),onClick: () => n.feedback("dislike"),- children: /* @__PURE__ */ (0, O.jsx)(L2, { name: "thumbs-down" })+ children: /* @__PURE__ */ (0, O.jsx)(I2, { name: "thumbs-down" })}),/* @__PURE__ */ (0, O.jsx)("button", {type: "button",@@ -70439,7 +70439,7 @@ function hDe({ item: e, queue: t, write: n, helpers: r, actions: i }) {"aria-pressed": e.feedback === "seen",...o("seen"),onClick: () => n.feedback("seen"),- children: /* @__PURE__ */ (0, O.jsx)(L2, { name: "eye" })+ children: /* @__PURE__ */ (0, O.jsx)(I2, { name: "eye" })}),/* @__PURE__ */ (0, O.jsx)("button", {type: "button",@@ -70450,7 +70450,7 @@ function hDe({ item: e, queue: t, write: n, helpers: r, actions: i }) {"aria-pressed": !!e.watch_later,...o("later"),onClick: n.later,- children: /* @__PURE__ */ (0, O.jsx)(L2, { name: e.watch_later ? "check" : "bookmark-plus" })+ children: /* @__PURE__ */ (0, O.jsx)(I2, { name: e.watch_later ? "check" : "bookmark-plus" })}),/* @__PURE__ */ (0, O.jsx)("button", {type: "button",@@ -70459,7 +70459,7 @@ function hDe({ item: e, queue: t, write: n, helpers: r, actions: i }) {"aria-label": "加入播放列表",title: "加入播放列表",onClick: () => i.addToPlaylist(e),- children: /* @__PURE__ */ (0, O.jsx)(L2, { name: "playlist" })+ children: /* @__PURE__ */ (0, O.jsx)(I2, { name: "playlist" })}),/* @__PURE__ */ (0, O.jsx)("button", {type: "button",@@ -70470,7 +70470,7 @@ function hDe({ item: e, queue: t, write: n, helpers: r, actions: i }) {"aria-pressed": !!e.better_version,...o("quality"),onClick: n.quality,- children: /* @__PURE__ */ (0, O.jsx)(L2, { name: "sparkles" })+ children: /* @__PURE__ */ (0, O.jsx)(I2, { name: "sparkles" })}),/* @__PURE__ */ (0, O.jsx)("button", {type: "button",@@ -70481,11 +70481,11 @@ function hDe({ item: e, queue: t, write: n, helpers: r, actions: i }) {"aria-pressed": e.disposal === "trash",...o("dispose"),onClick: () => n.feedback("dispose"),- children: /* @__PURE__ */ (0, O.jsx)(L2, { name: "trash" })+ children: /* @__PURE__ */ (0, O.jsx)(I2, { name: "trash" })})]}),- /* @__PURE__ */ (0, O.jsx)(CDe, {+ /* @__PURE__ */ (0, O.jsx)(wDe, {item: e,open: s,write: n@@ -70496,7 +70496,7 @@ function hDe({ item: e, queue: t, write: n, helpers: r, actions: i }) {...o("o"),onClick: () => n.feedback("o"),children: [- /* @__PURE__ */ (0, O.jsx)(L2, { name: "sperm" }),+ /* @__PURE__ */ (0, O.jsx)(I2, { name: "sperm" }),/* @__PURE__ */ (0, O.jsx)("span", { children: "记一次高潮" }),/* @__PURE__ */ (0, O.jsx)("b", {className: "mono",@@ -70509,8 +70509,8 @@ function hDe({ item: e, queue: t, write: n, helpers: r, actions: i }) {})});}-function gDe({ item: e, queue: t, helpers: n, actions: r, onStatus: i }) {- let { text: a, expanded: o, foldable: s, toggle: c } = D2(String(e.title || e.name || "")), l = n.badgeHtml(e.location || "", e.cost || "", "srcbig") + n.titleHtml(e) + uce(e, t);+function _De({ item: e, queue: t, helpers: n, actions: r, onStatus: i }) {+ let { text: a, expanded: o, foldable: s, toggle: c } = E2(String(e.title || e.name || "")), l = n.badgeHtml(e.location || "", e.cost || "", "srcbig") + n.titleHtml(e) + dce(e, t);return /* @__PURE__ */ (0, O.jsx)("div", {"data-item-title": "",children: /* @__PURE__ */ (0, O.jsxs)("div", {@@ -70537,23 +70537,23 @@ function gDe({ item: e, queue: t, helpers: n, actions: r, onStatus: i }) {"aria-label": o ? "收起标题" : "展开标题",title: o ? "收起标题" : "展开完整标题",onClick: c,- children: /* @__PURE__ */ (0, O.jsx)(UH, {})+ children: /* @__PURE__ */ (0, O.jsx)(HH, {})}),e.has_cover && (e.cover_key || e.code) ? /* @__PURE__ */ (0, O.jsx)("span", {"data-cover-crop-host": "",- children: /* @__PURE__ */ (0, O.jsx)(oDe, {+ children: /* @__PURE__ */ (0, O.jsx)(sDe, {code: e.cover_key || e.code || "",coverUrl: ja(e),box: e.poster_box || null,onSaved: (t) => {H.invalidateQueries({- queryKey: lM(e.id),+ queryKey: cM(e.id),exact: !0- }), aM((t) => (t.cover_key || t.code) === (e.cover_key || e.code), { poster_box: t });+ }), iM((t) => (t.cover_key || t.code) === (e.cover_key || e.code), { poster_box: t });}})}) : null,- e.location === "online" ? null : /* @__PURE__ */ (0, O.jsx)(_De, {+ e.location === "online" ? null : /* @__PURE__ */ (0, O.jsx)(vDe, {id: e.id,actions: r,onStatus: i@@ -70563,7 +70563,7 @@ function gDe({ item: e, queue: t, helpers: n, actions: r, onStatus: i }) {})});}-function _De({ id: e, actions: t, onStatus: n }) {+function vDe({ id: e, actions: t, onStatus: n }) {let [r, i] = (0, D.useState)(""), a = async () => {r || (i("reveal"), n(""), n(await t.reveal(e)), i(""));}, o = async () => {@@ -70593,18 +70593,18 @@ function _De({ id: e, actions: t, onStatus: n }) {"aria-disabled": !0} : {},onClick: () => void o(),- children: /* @__PURE__ */ (0, O.jsx)(L2, { name: "folder-sync" })+ children: /* @__PURE__ */ (0, O.jsx)(I2, { name: "folder-sync" })})] });}-function vDe({ item: e, write: t }) {- let n = sM(e.rating);+function yDe({ item: e, write: t }) {+ let n = oM(e.rating);return /* @__PURE__ */ (0, O.jsxs)("div", {id: "detailRating",role: "group","data-item-rating": "","aria-label": "评分",- "data-value": oM(e.rating),- children: [/* @__PURE__ */ (0, O.jsx)(mY, {+ "data-value": aM(e.rating),+ children: [/* @__PURE__ */ (0, O.jsx)(pY, {value: n,onRate: (e) => t.rate(e),busyStar: [@@ -70618,14 +70618,14 @@ function vDe({ item: e, write: t }) {}), /* @__PURE__ */ (0, O.jsx)("span", {"data-rating-value": "","aria-live": "polite",- children: Qse(e.rating)+ children: $se(e.rating)})]});}-function yDe({ item: e, actions: t }) {- let n = (0, D.useMemo)(() => rce(e), [e]), [r, i] = (0, D.useState)(!1), a = Math.max(0, n.cast.length - 8), o = (e, n, i) => {+function bDe({ item: e, actions: t }) {+ let n = (0, D.useMemo)(() => ice(e), [e]), [r, i] = (0, D.useState)(!1), a = Math.max(0, n.cast.length - 8), o = (e, n, i) => {let a = e === "performer" && i >= 8 && !r;- return /* @__PURE__ */ (0, O.jsx)(T2, {+ return /* @__PURE__ */ (0, O.jsx)(w2, {kind: e,person: n,onOpen: t.openEntity,@@ -70657,7 +70657,7 @@ function yDe({ item: e, actions: t }) {onClick: t.openUnowned,children: [/* @__PURE__ */ (0, O.jsx)("span", {"data-id-face": "",- children: /* @__PURE__ */ (0, O.jsx)(L2, { name: "user-round" })+ children: /* @__PURE__ */ (0, O.jsx)(I2, { name: "user-round" })}), /* @__PURE__ */ (0, O.jsx)("span", {"data-id-name": "",children: "未归属"@@ -70669,7 +70669,7 @@ function yDe({ item: e, actions: t }) {size: "small",id: "castMore","data-cast-more": "",- trailingIcon: pz,+ trailingIcon: fz,"aria-expanded": !1,onClick: () => i(!0),children: [@@ -70688,14 +70688,14 @@ function yDe({ item: e, actions: t }) {children: [c.length ? /* @__PURE__ */ (0, O.jsx)("div", {"data-identity-primary": "",children: c- }) : null, /* @__PURE__ */ (0, O.jsx)(E2, {+ }) : null, /* @__PURE__ */ (0, O.jsx)(T2, {people: n.series,onOpen: t.openEntity})]});}-function bDe({ item: e, write: t, helpers: n, actions: r }) {- let i = ice(e, n);+function xDe({ item: e, write: t, helpers: n, actions: r }) {+ let i = ace(e, n);return /* @__PURE__ */ (0, O.jsxs)("div", {"data-stage-tags": "",id: "detailTags",@@ -70715,16 +70715,16 @@ function bDe({ item: e, write: t, helpers: n, actions: r }) {"aria-label": `删除标签 ${n.tagLabel(e.k)}`,...t.busyAttrs(`tag:${e.k}`),onClick: () => t.removeTag(e),- children: /* @__PURE__ */ (0, O.jsx)(L2, { name: "x" })+ children: /* @__PURE__ */ (0, O.jsx)(I2, { name: "x" })})]- }, e.k)), /* @__PURE__ */ (0, O.jsx)(xDe, {+ }, e.k)), /* @__PURE__ */ (0, O.jsx)(SDe, {item: e,write: t,helpers: n})]});}-function xDe({ item: e, write: t, helpers: n }) {+function SDe({ item: e, write: t, helpers: n }) {let r = (0, D.useRef)(null), i = (0, D.useRef)(null), a = (0, D.useRef)(null), o = (0, D.useRef)(!1), [s, c] = (0, D.useState)(!1), [l, u] = (0, D.useState)(""), [d, f] = (0, D.useState)(""), [p, m] = (0, D.useState)(-1), h = (0, D.useCallback)(() => {i.current && Eo(i.current), c(!1);}, []);@@ -70738,7 +70738,7 @@ function xDe({ item: e, write: t, helpers: n }) {clearTimeout(t), document.removeEventListener("pointerdown", e, !0);};}, [s, h]);- let g = s ? oce(d, n.tagCandidates(), kM()) : {+ let g = s ? sce(d, n.tagCandidates(), OM()) : {recent: [],results: [],create: ""@@ -70761,12 +70761,12 @@ function xDe({ item: e, write: t, helpers: n }) {} else if (n.key === "Enter") {n.preventDefault();let r = p >= 0 ? _[p] : null;- r ? v(r, r.n !== -1 && TM(e, r.k)) : l.trim() && (h(), t.addTag(l.trim()));+ r ? v(r, r.n !== -1 && wM(e, r.k)) : l.trim() && (h(), t.addTag(l.trim()));}}}, b = -1, x = (t) => {b += 1;- let r = b, i = TM(e, t.k);+ let r = b, i = wM(e, t.k);return /* @__PURE__ */ (0, O.jsxs)("button", {type: "button","data-pick": t.k,@@ -70774,7 +70774,7 @@ function xDe({ item: e, write: t, helpers: n }) {"aria-pressed": i,onClick: () => v(t, i),children: [- /* @__PURE__ */ (0, O.jsx)(L2, { name: i ? "check" : "tags" }),+ /* @__PURE__ */ (0, O.jsx)(I2, { name: i ? "check" : "tags" }),/* @__PURE__ */ (0, O.jsx)("span", {"data-pick-name": "",children: n.tagLabel(t.k)@@ -70797,7 +70797,7 @@ function xDe({ item: e, write: t, helpers: n }) {onClick: () => {i.current && (To(i.current), c(!0), u(""), f(""), m(-1), requestAnimationFrame(() => a.current?.focus()));},- children: /* @__PURE__ */ (0, O.jsx)(L2, { name: "plus" })+ children: /* @__PURE__ */ (0, O.jsx)(I2, { name: "plus" })}), /* @__PURE__ */ (0, O.jsxs)("div", {ref: i,id: "tagPicker",@@ -70807,7 +70807,7 @@ function xDe({ item: e, write: t, helpers: n }) {hidden: !0,children: [/* @__PURE__ */ (0, O.jsxs)("label", {"data-tag-search": "",- children: [/* @__PURE__ */ (0, O.jsx)(L2, { name: "search" }), /* @__PURE__ */ (0, O.jsx)("input", {+ children: [/* @__PURE__ */ (0, O.jsx)(I2, { name: "search" }), /* @__PURE__ */ (0, O.jsx)("input", {ref: a,id: "tagPickSearch",maxLength: 80,@@ -70848,7 +70848,7 @@ function xDe({ item: e, write: t, helpers: n }) {onClick: () => {h(), t.addTag(g.create);},- children: [/* @__PURE__ */ (0, O.jsx)(L2, { name: "plus" }), /* @__PURE__ */ (0, O.jsxs)("span", {+ children: [/* @__PURE__ */ (0, O.jsx)(I2, { name: "plus" }), /* @__PURE__ */ (0, O.jsxs)("span", {"data-pick-name": "",children: ["新建“",@@ -70863,8 +70863,8 @@ function xDe({ item: e, write: t, helpers: n }) {})]})] });}-function SDe({ item: e }) {- let t = mce(e);+function CDe({ item: e }) {+ let t = hce(e);return /* @__PURE__ */ (0, O.jsxs)("div", {"data-item-trace": "",children: [/* @__PURE__ */ (0, O.jsxs)("div", {@@ -70898,7 +70898,7 @@ function SDe({ item: e }) {})]});}-function CDe({ item: e, open: t, write: n }) {+function wDe({ item: e, open: t, write: n }) {let [r, i] = (0, D.useState)(e.like_reason || ""), a = (0, D.useRef)(null);(0, D.useEffect)(() => {t && a.current?.focus();@@ -70937,12 +70937,12 @@ function CDe({ item: e, open: t, write: n }) {})]});}-function wDe(e) {+function TDe(e) {let { item: t, relatedLimit: n, helpers: r, grid: i } = e, a = Ct({- queryKey: $se(t.id, n),- queryFn: async ({ signal: e }) => (await B(tce(t.id, n), e)).items || []+ queryKey: ece(t.id, n),+ queryFn: async ({ signal: e }) => (await B(nce(t.id, n), e)).items || []}), [o] = (0, D.useState)(() => r.relatedSkeletonHtml());- return /* @__PURE__ */ (0, O.jsx)(m2, {+ return /* @__PURE__ */ (0, O.jsx)(p2, {wireDrag: r.wireDrag,busy: a.isPending,empty: a.data?.length === 0,@@ -70950,7 +70950,7 @@ function wDe(e) {onRetry: () => {a.refetch();},- children: a.data ? /* @__PURE__ */ (0, O.jsx)(xY, {+ children: a.data ? /* @__PURE__ */ (0, O.jsx)(bY, {mode: "items",variant: "next",items: a.data,@@ -70963,11 +70963,11 @@ function wDe(e) {revision: 0,wireDrag: r.wireDrag,skeletonHtml: () => ""- }) : /* @__PURE__ */ (0, O.jsx)(R2, { html: o })+ }) : /* @__PURE__ */ (0, O.jsx)(L2, { html: o })});}-function TDe(e, t, n) {- let r = e.id, i = lM(r), [a, o] = (0, D.useState)(() => /* @__PURE__ */ new Set()), [s, c] = (0, D.useState)(""), [l, u] = (0, D.useState)(""), d = (e, t) => o((n) => {+function EDe(e, t, n) {+ let r = e.id, i = cM(r), [a, o] = (0, D.useState)(() => /* @__PURE__ */ new Set()), [s, c] = (0, D.useState)(""), [l, u] = (0, D.useState)(""), d = (e, t) => o((n) => {let r = new Set(n);return t ? r.add(e) : r.delete(e), r;}), f = () => H.getQueryData(i) || e, p = (e) => {@@ -70983,7 +70983,7 @@ function TDe(e, t, n) {rating: t.rating,o_count: t.o_count};- return iM(r, n), t;+ return rM(r, n), t;}, m = (e, t) => V(e, {id: r,...t@@ -70998,7 +70998,7 @@ function TDe(e, t, n) {run: n}));}, _ = async (e, t) => {- let n = await m(fM, t === void 0 ? { kind: e } : {+ let n = await m(dM, t === void 0 ? { kind: e } : {kind: e,value: t});@@ -71018,21 +71018,21 @@ function TDe(e, t, n) {"aria-disabled": !0} : {},rate: (e) => g(`rate:${e}`, "评分", async () => {- let n = f().rating || 0, r = cM(n, e);- await _("rate", r), t.toast(r ? `已评 ${sM(r)} 星` : "已取消评分", { undo: async () => {+ let n = f().rating || 0, r = sM(n, e);+ await _("rate", r), t.toast(r ? `已评 ${oM(r)} 星` : "已取消评分", { undo: async () => {await _("rate", n);} });}),feedback: (e) => g(e, "操作", async () => {let n = { feedback: f().feedback || null }, r = await _(e);- t.toast(jM(e, r), { undo: async () => {+ t.toast(AM(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(mM, {});+ let e = await m(pM, {});p({ watch_later: e.watch_later }), t.toast(e.watch_later ? "已加入稍后看" : "已移出稍后看", { undo: async () => {- p({ watch_later: (await m(mM, {})).watch_later });+ p({ watch_later: (await m(pM, {})).watch_later });} });}),quality: () => g("quality", "更新版本需求", async () => {@@ -71042,9 +71042,9 @@ function TDe(e, t, n) {}, n = (e) => p({better_version: e.better_version,better_version_reason: e.better_version_reason || ""- }), r = await m(hM, { wanted: !e.wanted });+ }), r = await m(mM, { wanted: !e.wanted });n(r), t.toast(r.better_version ? "已标记寻找更好版本" : "已取消寻找更好版本", { undo: async () => {- n(await m(hM, e));+ n(await m(mM, e));} });}),preference: ({ liked: e, reason: n }) => {@@ -71058,7 +71058,7 @@ function TDe(e, t, n) {});u("保存中…");try {- o(await m(gM, {+ o(await m(hM, {liked: a,reason: i}));@@ -71068,7 +71068,7 @@ function TDe(e, t, n) {u("已保存"), setTimeout(() => u((e) => e === "已保存" ? "" : e), 1400);let s = f();t.toast(s.liked ? "已保存喜欢偏好" : "已取消喜欢", { undo: async () => {- o(await m(gM, r));+ o(await m(hM, r));} });});},@@ -71077,30 +71077,30 @@ function TDe(e, t, n) {operation: "remove",tag: e.k})).ok) throw Error("标签未删除");- p((t) => EM(t, e.k)), t.toast(`已删除标签「${n(e.k)}」`, { undo: async () => {- await m(pM, {+ p((t) => TM(t, e.k)), t.toast(`已删除标签「${n(e.k)}」`, { undo: async () => {+ await m(fM, {operation: "add",tag: e.k- }), p((t) => DM(t, e));+ }), p((t) => EM(t, e));} });}),addTag: (e) => {let r = e.trim();r && g(`add:${r}`, "添加标签", async () => {- let e = await m(pM, {+ let e = await m(fM, {operation: "add",tag: r});if (!e.ok) return;let i = e.tag || r;- TM(f(), i) ? t.toast(`标签「${n(i)}」已存在`) : (p((e) => DM(e, {+ wM(f(), i) ? t.toast(`标签「${n(i)}」已存在`) : (p((e) => EM(e, {k: i,cat: "general"- })), ace(i), t.toast(`已添加标签「${n(i)}」`, { undo: async () => {- await m(pM, {+ })), oce(i), t.toast(`已添加标签「${n(i)}」`, { undo: async () => {+ await m(fM, {operation: "remove",tag: i- }), p((e) => EM(e, i));+ }), p((e) => TM(e, i));} }));});}@@ -71108,7 +71108,7 @@ function TDe(e, t, n) {}//#endregion//#region src/react/activity/downloads-panel.tsx-var V2 = "/api/downloads", H2 = ["downloads"], EDe = "/api/downloads/cancel", DDe = "/api/downloads/postprocess", U2 = (e) => e?.tasks.some((e) => e.cancellable || e.postprocess_active) ? 5e3 : 3e4, ODe = {+var B2 = "/api/downloads", V2 = ["downloads"], DDe = "/api/downloads/cancel", ODe = "/api/downloads/postprocess", H2 = (e) => e?.tasks.some((e) => e.cancellable || e.postprocess_active) ? 5e3 : 3e4, kDe = {ingested: "lime",failed: "rose",cancelled: "neutral",@@ -71117,21 +71117,21 @@ var V2 = "/api/downloads", H2 = ["downloads"], EDe = "/api/downloads/cancel", DDremote_done: "lime",landed: "lime",submitted: "neutral"-}, W2 = (e) => {- let t = e.display_code || e.code || "", { title: n } = RF({+}, U2 = (e) => {+ let t = e.display_code || e.code || "", { title: n } = LF({is_jav: !!t,code: t,name: e.display_title ?? e.title ?? e.display_name ?? e.remote_name});return [t, n].filter(Boolean).join(" · ") || `磁力 ${e.info_hash?.slice(0, 8) ?? e.id}`;-}, G2 = (e) => e.failure_label ? [e.failure_label, e.failure_detail].filter(Boolean).join(":") : "", kDe = (e) => (e.postprocess_detail || "").replace("正片已绑定", "已确认主视频对应的作品").replace("整理跳过:", "未整理文件:");-function ADe() {+}, W2 = (e) => e.failure_label ? [e.failure_label, e.failure_detail].filter(Boolean).join(":") : "", ADe = (e) => (e.postprocess_detail || "").replace("正片已绑定", "已确认主视频对应的作品").replace("整理跳过:", "未整理文件:");+function jDe() {let e = (0, D.useId)(), t = Tt({- queryKey: [...H2, "pages"],+ queryKey: [...V2, "pages"],initialPageParam: null,- queryFn: ({ signal: e, pageParam: t }) => B(`${V2}?limit=20${t === null ? "" : `&before_id=${t}`}`, e),+ queryFn: ({ signal: e, pageParam: t }) => B(`${B2}?limit=20${t === null ? "" : `&before_id=${t}`}`, e),getNextPageParam: (e) => e.has_more ? e.next_before_id ?? void 0 : void 0,- refetchInterval: (e) => e.state.data?.pages.some((e) => U2(e) === 5e3) ? 5e3 : 3e4+ refetchInterval: (e) => e.state.data?.pages.some((e) => H2(e) === 5e3) ? 5e3 : 3e4}), n = t.data?.pages || [], r = [...new Map(n.flatMap((e) => e.tasks).map((e) => [e.id, e])).values()];return !r.length && !t.error ? null : /* @__PURE__ */ (0, O.jsxs)("section", {id: "cloudDownloads",@@ -71143,14 +71143,14 @@ function ADe() {className: "text-title-2-medium text-text-primary",children: "云下载"}),- t.error ? /* @__PURE__ */ (0, O.jsx)(zz, {+ t.error ? /* @__PURE__ */ (0, O.jsx)(Rz, {tone: "error",children: jn(t.error)}) : null,r.length ? /* @__PURE__ */ (0, O.jsx)("ul", {"aria-live": "polite",className: "flex min-w-0 flex-col gap-3",- children: r.map((e) => /* @__PURE__ */ (0, O.jsx)(jDe, {+ children: r.map((e) => /* @__PURE__ */ (0, O.jsx)(MDe, {task: e,writable: n[0]?.available ?? !1}, e.id))@@ -71158,9 +71158,9 @@ function ADe() {t.hasNextPage ? /* @__PURE__ */ (0, O.jsx)(q, {variant: "secondary",size: "small",- leadingIcon: pz,+ leadingIcon: fz,className: "self-start",- ...Wz(t.isFetchingNextPage),+ ...Uz(t.isFetchingNextPage),onClick: () => {t.isFetching || t.fetchNextPage();},@@ -71169,15 +71169,15 @@ function ADe() {]});}-function jDe({ task: e, writable: t }) {- let n = A(), r = PH(), [i, a] = (0, D.useState)(!1), [o, s] = (0, D.useState)(!1), c = (0, D.useId)(), l = G2(e) || (e.cancellable && e.failure_detail ? `稍后自动重试 · ${e.failure_detail}` : ""), u = e.artwork, d = u?.performer_entities || [], f = e.state === "ingested" && e.asset_id ? `/assets/${e.asset_id}` : void 0, p = e.state === "failed" || e.postprocess_state === "failed", m = [+function MDe({ task: e, writable: t }) {+ let n = A(), r = NH(), [i, a] = (0, D.useState)(!1), [o, s] = (0, D.useState)(!1), c = (0, D.useId)(), l = W2(e) || (e.cancellable && e.failure_detail ? `稍后自动重试 · ${e.failure_detail}` : ""), u = e.artwork, d = u?.performer_entities || [], f = e.state === "ingested" && e.asset_id ? `/assets/${e.asset_id}` : void 0, p = e.state === "failed" || e.postprocess_state === "failed", m = [e.display_code || e.code ? "" : "番号未识别",e.target,- $F(e.submitted_at)+ QF(e.submitted_at)].filter(Boolean).join(" · "), h = () => {- n.invalidateQueries({ queryKey: H2 });+ n.invalidateQueries({ queryKey: V2 });}, g = () => {- r.run("cancel", (t) => V(EDe, { id: e.id }, "POST", t), h);+ r.run("cancel", (t) => V(DDe, { id: e.id }, "POST", t), h);}, _ = () => {let t = {magnet: e.source_uri,@@ -71187,16 +71187,16 @@ function jDe({ task: e, writable: t }) {title: e.title,origin: e.origin};- r.run("resubmit", (e) => V(V2, t, "POST", e), h);+ r.run("resubmit", (e) => V(B2, t, "POST", e), h);}, v = () => {navigator.clipboard.writeText(e.source_uri).then(() => a(!0), () => a(!1));}, y = () => {- r.run("postprocess", (t) => V(DDe, { id: e.id }, "POST", t), h);+ r.run("postprocess", (t) => V(ODe, { id: e.id }, "POST", t), h);};return /* @__PURE__ */ (0, O.jsxs)("li", {"data-download-state": e.state,"data-download-id": e.id,- className: IH({+ className: FH({padding: "none",bordered: "line",className: p ? "flex flex-col border-border-error-default" : "flex flex-col"@@ -71207,14 +71207,14 @@ function jDe({ task: e, writable: t }) {children: [/* @__PURE__ */ (0, O.jsxs)("div", {"data-download-cover": "","data-media-pic": "",- style: { "--card-ratio": String(aA) },+ style: { "--card-ratio": String(iA) },className: "w-20 shrink-0 self-start text-caption-1-regular text-text-secondary sm:w-32",children: [u?.has_cover ? null : /* @__PURE__ */ (0, O.jsx)("span", {"data-media-nopic": "",children: "无封面"}),- u?.has_cover ? /* @__PURE__ */ (0, O.jsx)(yW, {+ u?.has_cover ? /* @__PURE__ */ (0, O.jsx)(vW, {artwork: {kind: "cover",html: Ua(u, "big")@@ -71224,7 +71224,7 @@ function jDe({ task: e, writable: t }) {f ? /* @__PURE__ */ (0, O.jsx)("a", {"data-download-cover-link": "",href: f,- "aria-label": `打开作品详情:${W2(e)}`,+ "aria-label": `打开作品详情:${U2(e)}`,className: "absolute inset-0 z-1 rounded-lg outline-none focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-border-focus-ring"}) : null]@@ -71235,19 +71235,19 @@ function jDe({ task: e, writable: t }) {className: "flex min-w-0 flex-col items-start gap-1 sm:flex-row sm:items-center sm:gap-2",children: [/* @__PURE__ */ (0, O.jsx)("strong", {className: "min-w-0 w-full flex-1 truncate text-title-1-medium text-text-primary sm:w-auto",- title: W2(e),+ title: U2(e),children: f ? /* @__PURE__ */ (0, O.jsx)("a", {"data-download-title-link": "",href: f,className: "block truncate rounded-sm outline-none hover:underline focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-border-focus-ring",- children: W2(e)- }) : W2(e)+ children: U2(e)+ }) : U2(e)}), /* @__PURE__ */ (0, O.jsxs)("div", {className: "flex shrink-0 items-center gap-2",- children: [/* @__PURE__ */ (0, O.jsx)(gZ, {- color: ODe[e.state] ?? "neutral",+ children: [/* @__PURE__ */ (0, O.jsx)(hZ, {+ color: kDe[e.state] ?? "neutral",children: e.state_label- }), e.state === "ingested" ? /* @__PURE__ */ (0, O.jsx)(gZ, {+ }), e.state === "ingested" ? /* @__PURE__ */ (0, O.jsx)(hZ, {color: e.postprocess_state === "complete" ? "lime" : e.postprocess_state === "failed" ? "rose" : e.postprocess_state === "running" ? "blue" : "neutral",children: e.postprocess_label}) : null]@@ -71257,7 +71257,7 @@ function jDe({ task: e, writable: t }) {className: "flex min-w-0 items-center gap-2 text-caption-1-regular text-text-secondary",children: [/* @__PURE__ */ (0, O.jsx)("span", {className: "flex shrink-0",- children: /* @__PURE__ */ (0, O.jsx)(eU, {+ children: /* @__PURE__ */ (0, O.jsx)($H, {source: e.provider,label: e.provider_label})@@ -71284,7 +71284,7 @@ function jDe({ task: e, writable: t }) {children: [d.map((e) => e.name).join("、"), (u?.performer_total || 0) > d.length ? ` 等 ${u.performer_total} 人` : ""]})]}) : null,- e.state === "remote_running" && e.progress != null ? /* @__PURE__ */ (0, O.jsx)(zH, {+ e.state === "remote_running" && e.progress != null ? /* @__PURE__ */ (0, O.jsx)(RH, {label: "远端下载进度",value: Math.round(e.progress * 100),max: 100@@ -71294,7 +71294,7 @@ function jDe({ task: e, writable: t }) {title: e.ledger_path,children: e.ledger_path}) : null,- r.error ? /* @__PURE__ */ (0, O.jsx)(JH, { children: r.error }) : null,+ r.error ? /* @__PURE__ */ (0, O.jsx)(qH, { children: r.error }) : null,/* @__PURE__ */ (0, O.jsxs)("div", {"data-download-actions": "",className: "flex flex-wrap items-center gap-2 pt-1 sm:mt-auto",@@ -71319,21 +71319,21 @@ function jDe({ task: e, writable: t }) {e.cancellable ? /* @__PURE__ */ (0, O.jsx)(q, {variant: "secondary",size: "small",- ...Wz(r.busy === "cancel"),+ ...Uz(r.busy === "cancel"),onClick: g,children: "取消"}) : null,e.resubmittable ? /* @__PURE__ */ (0, O.jsx)(q, {variant: "secondary",size: "small",- ...Wz(r.busy === "resubmit"),+ ...Uz(r.busy === "resubmit"),onClick: _,children: "重新提交"}) : null,e.postprocess_retryable ? /* @__PURE__ */ (0, O.jsx)(q, {variant: "secondary",size: "small",- ...Wz(r.busy === "postprocess"),+ ...Uz(r.busy === "postprocess"),onClick: y,children: "重试入库后整理"}) : null@@ -71348,13 +71348,13 @@ function jDe({ task: e, writable: t }) {id: c,"data-download-title-full": !0,className: "wrap-anywhere px-5 pb-4 text-body-2-regular text-text-secondary",- children: W2(e)+ children: U2(e)}) : null,l || e.postprocess_detail ? /* @__PURE__ */ (0, O.jsx)("div", {className: "flex min-h-14 flex-col justify-center rounded-b-2xl border-t border-separator-border bg-card-footer px-5 py-3",children: /* @__PURE__ */ (0, O.jsx)("p", {className: "wrap-anywhere text-caption-1-regular text-text-secondary",- children: l || kDe(e)+ children: l || ADe(e)})}) : null]@@ -71362,21 +71362,21 @@ function jDe({ task: e, writable: t }) {}//#endregion//#region src/react/activity/work-code.ts-var K2 = (e) => (e || "").toUpperCase().replace(/[^A-Z0-9]/g, ""), q2 = (e, t) => !!K2(e) && K2(e) === K2(t);+var G2 = (e) => (e || "").toUpperCase().replace(/[^A-Z0-9]/g, ""), K2 = (e, t) => !!G2(e) && G2(e) === G2(t);//#endregion//#region src/react/activity/resource-search.tsx-function MDe({ className: e }) {+function NDe({ className: e }) {return /* @__PURE__ */ (0, O.jsx)("span", {className: e,"aria-hidden": !0,dangerouslySetInnerHTML: { __html: rs("") }});}-function NDe(e) {+function PDe(e) {return ["中字", "中文字幕"].includes(e?.trim() ?? "") ? "chinese" : ["无码", "无码破解"].includes(e?.trim() ?? "") ? "uncensored" : "quality";}-function PDe({ initialCode: e, reason: t, choose: n, onSearch: r, onWork: i }) {- let [a, o] = (0, D.useState)(e), [s, c] = (0, D.useState)(() => NDe(t)), [l, u] = (0, D.useState)(""), [d, f] = (0, D.useState)(""), [p, m] = (0, D.useState)(null), [h, g] = (0, D.useState)(""), [_, v] = (0, D.useState)(""), y = PH(), b = (0, D.useRef)(null);+function FDe({ initialCode: e, reason: t, choose: n, onSearch: r, onWork: i }) {+ let [a, o] = (0, D.useState)(e), [s, c] = (0, D.useState)(() => PDe(t)), [l, u] = (0, D.useState)(""), [d, f] = (0, D.useState)(""), [p, m] = (0, D.useState)(null), [h, g] = (0, D.useState)(""), [_, v] = (0, D.useState)(""), y = NH(), b = (0, D.useRef)(null);(0, D.useEffect)(() => () => b.current?.abort(), []);let x = () => {if (!a.trim() || y.busy) return;@@ -71392,7 +71392,7 @@ function PDe({ initialCode: e, reason: t, choose: n, onSearch: r, onWork: i }) {let e = new AbortController();b.current = e, B(`/api/items?jav=1&q=${encodeURIComponent(t)}&limit=10`, e.signal).then((n) => {if (e.signal.aborted) return;- let r = (n.items || []).find((e) => q2(e.code, t));+ let r = (n.items || []).find((e) => K2(e.code, t));i(r ? {code: r.code,title: String(r.catalog_title || r.name || ""),@@ -71413,18 +71413,18 @@ function PDe({ initialCode: e, reason: t, choose: n, onSearch: r, onWork: i }) {"aria-busy": !!y.busy,className: "flex min-w-0 flex-col gap-4",children: [- t ? /* @__PURE__ */ (0, O.jsxs)(qH, { children: [+ t ? /* @__PURE__ */ (0, O.jsxs)(KH, { children: ["版本目标:",t,"。可在下方调整搜索优先项;完整度与水印需要逐条复核。"] }) : null,- /* @__PURE__ */ (0, O.jsx)(Iz, {+ /* @__PURE__ */ (0, O.jsx)(Fz, {label: "按番号查找资源",value: a,maxLength: 80,placeholder: "输入番号,按回车搜索",enterKeyHint: "search",- leadingIcon: y.busy ? MDe : Dz,+ leadingIcon: y.busy ? NDe : Ez,isReadOnly: !!y.busy,"aria-busy": !!y.busy,onChange: o,@@ -71434,7 +71434,7 @@ function PDe({ initialCode: e, reason: t, choose: n, onSearch: r, onWork: i }) {}),/* @__PURE__ */ (0, O.jsxs)("div", {className: "flex flex-col gap-1",- children: [/* @__PURE__ */ (0, O.jsx)(YH, { children: "优先寻找" }), /* @__PURE__ */ (0, O.jsxs)(hU, {+ children: [/* @__PURE__ */ (0, O.jsx)(JH, { children: "优先寻找" }), /* @__PURE__ */ (0, O.jsxs)(mU, {"aria-label": "优先寻找",selectedKey: s,isDisabled: !!y.busy,@@ -71442,15 +71442,15 @@ function PDe({ initialCode: e, reason: t, choose: n, onSearch: r, onWork: i }) {e !== null && c(String(e));},children: [- /* @__PURE__ */ (0, O.jsx)(gU, {+ /* @__PURE__ */ (0, O.jsx)(hU, {id: "quality",children: "高清"}),- /* @__PURE__ */ (0, O.jsx)(gU, {+ /* @__PURE__ */ (0, O.jsx)(hU, {id: "chinese",children: "中字"}),- /* @__PURE__ */ (0, O.jsx)(gU, {+ /* @__PURE__ */ (0, O.jsx)(hU, {id: "uncensored",children: "无码"})@@ -71459,32 +71459,32 @@ function PDe({ initialCode: e, reason: t, choose: n, onSearch: r, onWork: i }) {}),/* @__PURE__ */ (0, O.jsxs)("div", {className: "flex gap-3 max-sm:flex-col",- children: [/* @__PURE__ */ (0, O.jsx)(Iz, {+ children: [/* @__PURE__ */ (0, O.jsx)(Fz, {label: "最小体积(GiB)",inputMode: "decimal",value: l,onChange: u- }), /* @__PURE__ */ (0, O.jsx)(Iz, {+ }), /* @__PURE__ */ (0, O.jsx)(Fz, {label: "最大体积(GiB)",inputMode: "decimal",value: d,onChange: f})]}),- y.busy ? /* @__PURE__ */ (0, O.jsx)(qH, {+ y.busy ? /* @__PURE__ */ (0, O.jsx)(KH, {role: "status",children: "正在搜索资源"}) : null,- y.error ? /* @__PURE__ */ (0, O.jsx)(JH, { children: y.error }) : null,- p?.error ? /* @__PURE__ */ (0, O.jsx)(qH, {+ y.error ? /* @__PURE__ */ (0, O.jsx)(qH, { children: y.error }) : null,+ p?.error ? /* @__PURE__ */ (0, O.jsx)(KH, {role: "status",children: p.error}) : null,- p?.state === "ready" && !p.items.length ? /* @__PURE__ */ (0, O.jsx)(qH, {+ p?.state === "ready" && !p.items.length ? /* @__PURE__ */ (0, O.jsx)(KH, {role: "status",children: "没有符合条件的资源。"}) : null,- p?.warnings.map((e) => /* @__PURE__ */ (0, O.jsx)(qH, { children: e }, e)),+ p?.warnings.map((e) => /* @__PURE__ */ (0, O.jsx)(KH, { children: e }, e)),p?.items.length ? /* @__PURE__ */ (0, O.jsx)("ul", {className: "flex min-w-0 flex-col gap-4",children: p.items.map((e) => /* @__PURE__ */ (0, O.jsxs)("li", {@@ -71494,7 +71494,7 @@ function PDe({ initialCode: e, reason: t, choose: n, onSearch: r, onWork: i }) {className: "break-words text-body-2-medium text-text-primary",children: e.name}),- /* @__PURE__ */ (0, O.jsx)(qH, { children: [+ /* @__PURE__ */ (0, O.jsx)(KH, { children: [e.size > 0 ? `${(e.size / 1024 ** 3).toFixed(2)} GiB` : "体积未取得",e.seeders >= 0 ? `${e.seeders} 个做种` : "做种未取得",e.resolution ? `${e.resolution}p` : "",@@ -71519,19 +71519,19 @@ function PDe({ initialCode: e, reason: t, choose: n, onSearch: r, onWork: i }) {}//#endregion//#region src/react/activity/cloud-download-dialog.tsx-var FDe = {+var IDe = {submitted: "已提交离线下载,进度在任务中心",adopted: "这个磁力已有任务,没有重复提交",adopted_remote: "网盘中已有相同的下载任务,Peach 已开始跟踪进度"};-function J2({ prefill: e, close: t, receipt: n, provider: r }) {- return /* @__PURE__ */ (0, O.jsx)(Lz, {+function q2({ prefill: e, close: t, receipt: n, provider: r }) {+ return /* @__PURE__ */ (0, O.jsx)(Iz, {isOpen: !!e,onOpenChange: (e) => {e || t();},width: "form",- children: e ? /* @__PURE__ */ (0, O.jsx)(IDe, {+ children: e ? /* @__PURE__ */ (0, O.jsx)(LDe, {prefill: e,close: t,receipt: n,@@ -71539,26 +71539,26 @@ function J2({ prefill: e, close: t, receipt: n, provider: r }) {}) : null});}-function IDe({ prefill: e, close: t, receipt: n, provider: r }) {+function LDe({ prefill: e, close: t, receipt: n, provider: r }) {let i = Ct({- queryKey: H2,- queryFn: ({ signal: e }) => B(`${V2}?limit=50`, e),- refetchInterval: (e) => U2(e.state.data)+ queryKey: V2,+ queryFn: ({ signal: e }) => B(`${B2}?limit=50`, e),+ refetchInterval: (e) => H2(e.state.data)}), a = i.data, o = /* @__PURE__ */ (0, O.jsxs)("div", {className: "flex items-center justify-between gap-4 px-5 pt-5",- children: [/* @__PURE__ */ (0, O.jsx)(II, {+ children: [/* @__PURE__ */ (0, O.jsx)(FI, {slot: "title",className: "text-title-2-semibold text-text-primary",children: "查找资源"}), /* @__PURE__ */ (0, O.jsx)(q, {variant: "ghost",iconOnly: !0,- leadingIcon: gz,+ leadingIcon: hz,"aria-label": "关闭资源面板",onClick: t})]});- return a ? /* @__PURE__ */ (0, O.jsx)(LDe, {+ return a ? /* @__PURE__ */ (0, O.jsx)(RDe, {header: o,snapshot: a,prefill: e,@@ -71571,7 +71571,7 @@ function IDe({ prefill: e, close: t, receipt: n, provider: r }) {o,/* @__PURE__ */ (0, O.jsx)("div", {className: "flex min-h-0 flex-col gap-4 overflow-y-auto p-5",- children: i.error ? /* @__PURE__ */ (0, O.jsx)(zz, {+ children: i.error ? /* @__PURE__ */ (0, O.jsx)(Rz, {tone: "error",children: jn(i.error)}) : null@@ -71587,8 +71587,8 @@ function IDe({ prefill: e, close: t, receipt: n, provider: r }) {]});}-function LDe({ header: e, snapshot: t, prefill: n, close: r, receipt: i, provider: a }) {- let o = A(), s = t.providers.filter((e) => e.configured), c = s.find((e) => e.key === a) ?? s[0], [l, u] = (0, D.useState)(c?.key || ""), [d, f] = (0, D.useState)(""), [p, m] = (0, D.useState)(n.code ?? ""), [h, g] = (0, D.useState)(c?.target || ""), [_, v] = (0, D.useState)(n.code ? n : null), [y, b] = (0, D.useState)(""), x = t.available && s.some((e) => e.key === l), S = PH(), C = (0, D.useRef)(null), w = (e) => {+function RDe({ header: e, snapshot: t, prefill: n, close: r, receipt: i, provider: a }) {+ let o = A(), s = t.providers.filter((e) => e.configured), c = s.find((e) => e.key === a) ?? s[0], [l, u] = (0, D.useState)(c?.key || ""), [d, f] = (0, D.useState)(""), [p, m] = (0, D.useState)(n.code ?? ""), [h, g] = (0, D.useState)(c?.target || ""), [_, v] = (0, D.useState)(n.code ? n : null), [y, b] = (0, D.useState)(""), x = t.available && s.some((e) => e.key === l), S = NH(), C = (0, D.useRef)(null), w = (e) => {u(e), g(s.find((t) => t.key === e)?.target ?? "");};return /* @__PURE__ */ (0, O.jsxs)("form", {@@ -71604,14 +71604,14 @@ function LDe({ header: e, snapshot: t, prefill: n, close: r, receipt: i, providetitle: _?.title,origin: _?.origin};- b(""), S.run("submit", (e) => V(V2, t, "POST", e), (e) => {- o.invalidateQueries({ queryKey: H2 });- let t = FDe[e.outcome];+ b(""), S.run("submit", (e) => V(B2, t, "POST", e), (e) => {+ o.invalidateQueries({ queryKey: V2 });+ let t = IDe[e.outcome];if (e.ok && t) {i(t), r();return;}- let n = G2(e.task);+ let n = W2(e.task);b(e.outcome === "refused" ? "这个资源被判为违规,不再提交。" : n ? `提交没有成功:${n}` : "提交没有成功。");});},@@ -71635,7 +71635,7 @@ function LDe({ header: e, snapshot: t, prefill: n, close: r, receipt: i, providechildren: [/* @__PURE__ */ (0, O.jsx)("p", {className: "break-words text-body-medium text-text-primary",children: _ ? [_.code, _.title].filter(Boolean).join(" · ") : "作品资料未取得"- }), _ ? /* @__PURE__ */ (0, O.jsx)(qH, { children: [+ }), _ ? /* @__PURE__ */ (0, O.jsx)(KH, { children: [_.performers,_.studio,_.release_date,@@ -71643,22 +71643,22 @@ function LDe({ header: e, snapshot: t, prefill: n, close: r, receipt: i, provide].filter(Boolean).join(" · ") }) : null]})]}) : null,- /* @__PURE__ */ (0, O.jsx)(PDe, {+ /* @__PURE__ */ (0, O.jsx)(FDe, {initialCode: n.code ?? "",reason: n.searchReason,onSearch: (e) => {- q2(e, _?.code) || (v(q2(e, n.code) ? n : null), f("")), m(e);+ K2(e, _?.code) || (v(K2(e, n.code) ? n : null), f("")), m(e);},- onWork: (e) => v((t) => e ? q2(t?.code, e.code) ? {+ onWork: (e) => v((t) => e ? K2(t?.code, e.code) ? {...t,...e,origin: t?.origin || e.origin- } : e : q2(t?.code, n.code) ? t : null),+ } : e : K2(t?.code, n.code) ? t : null),choose: (e, t) => {f(e), m(t), C.current?.focus();}}),- /* @__PURE__ */ (0, O.jsx)(Iz, {+ /* @__PURE__ */ (0, O.jsx)(Fz, {ref: C,label: "磁力链接",placeholder: "magnet:?xt=urn:btih:…",@@ -71670,38 +71670,38 @@ function LDe({ header: e, snapshot: t, prefill: n, close: r, receipt: i, provide/* @__PURE__ */ (0, O.jsxs)("div", {className: "flex flex-col gap-1",children: [- /* @__PURE__ */ (0, O.jsx)(YH, { children: "下载到" }),- /* @__PURE__ */ (0, O.jsx)(hU, {+ /* @__PURE__ */ (0, O.jsx)(JH, { children: "下载到" }),+ /* @__PURE__ */ (0, O.jsx)(mU, {"aria-label": "下载到",selectedKey: l || null,isDisabled: !s.length,onSelectionChange: (e) => {e !== null && w(String(e));},- children: s.map((e) => /* @__PURE__ */ (0, O.jsx)(gU, {+ children: s.map((e) => /* @__PURE__ */ (0, O.jsx)(hU, {id: e.key,textValue: e.label,- children: /* @__PURE__ */ (0, O.jsx)(eU, {+ children: /* @__PURE__ */ (0, O.jsx)($H, {source: e.key,label: e.label})}, e.key))}),- l === "115" ? /* @__PURE__ */ (0, O.jsx)(qH, { children: "每提交一次扣一条离线配额,重新提交也算。" }) : null+ l === "115" ? /* @__PURE__ */ (0, O.jsx)(KH, { children: "每提交一次扣一条离线配额,重新提交也算。" }) : null]}),- t.available ? null : /* @__PURE__ */ (0, O.jsx)(zz, {+ t.available ? null : /* @__PURE__ */ (0, O.jsx)(Rz, {tone: "neutral",children: "云下载只在允许修改数据库的设备上可用。"}),- s.length ? null : /* @__PURE__ */ (0, O.jsxs)(zz, {+ s.length ? null : /* @__PURE__ */ (0, O.jsxs)(Rz, {tone: "neutral",children: ["尚未配置下载渠道。", /* @__PURE__ */ (0, O.jsx)("a", {href: "/settings/library?section=%E4%B8%8B%E8%BD%BD%E6%B8%A0%E9%81%93",children: "下载渠道设置"})]}),- /* @__PURE__ */ (0, O.jsx)(Iz, {+ /* @__PURE__ */ (0, O.jsx)(Fz, {label: "目标目录",placeholder: "/云下载",autoComplete: "off",@@ -71709,17 +71709,17 @@ function LDe({ header: e, snapshot: t, prefill: n, close: r, receipt: i, providevalue: h,onChange: g}),- n.code ? null : /* @__PURE__ */ (0, O.jsx)(Iz, {+ n.code ? null : /* @__PURE__ */ (0, O.jsx)(Fz, {label: "番号",placeholder: "可不填",autoComplete: "off",maxLength: 60,value: p,onChange: (e) => {- m(e), q2(e, _?.code) || v(null);+ m(e), K2(e, _?.code) || v(null);}}),- y || S.error ? /* @__PURE__ */ (0, O.jsx)(JH, { children: y || S.error }) : null+ y || S.error ? /* @__PURE__ */ (0, O.jsx)(qH, { children: y || S.error }) : null]}),/* @__PURE__ */ (0, O.jsxs)("div", {@@ -71731,7 +71731,7 @@ function LDe({ header: e, snapshot: t, prefill: n, close: r, receipt: i, provide}), /* @__PURE__ */ (0, O.jsx)(q, {type: "submit",disabled: !d.trim() || !x,- ...Wz(S.busy === "submit"),+ ...Uz(S.busy === "submit"),children: "提交下载"})]})@@ -71740,11 +71740,11 @@ function LDe({ header: e, snapshot: t, prefill: n, close: r, receipt: i, provide}//#endregion//#region src/react/publication-cache.ts-var Y2 = 864e5, X2 = (e) => {+var J2 = 864e5, Y2 = (e) => {let t = new Date(e);return Date.UTC(t.getFullYear(), t.getMonth(), t.getDate());};-function Z2(e) {+function X2(e) {let t = /^(\d{4})-(\d{2})-(\d{2})(?:$|T)/.exec(e || "");if (!t) return;let n = Number(t[1]), r = Number(t[2]) - 1, i = Number(t[3]), a = new Date(Date.UTC(n, r, i));@@ -71752,26 +71752,26 @@ function Z2(e) {let o = new Date(Date.UTC(n, r + 2, 0)).getUTCDate();return Date.UTC(n, r + 1, Math.min(i, o));}-function RDe(e, t = Date.now()) {- let n = Z2(e);- return n !== void 0 && X2(t) > n ? Infinity : Y2;+function zDe(e, t = Date.now()) {+ let n = X2(e);+ return n !== void 0 && Y2(t) > n ? Infinity : J2;}-function Q2(e, t, n = Date.now()) {- return !Number.isFinite(e) || e <= 0 || e > n ? !1 : RDe(t, n) === Infinity ? X2(e) > Z2(t) : n - e < Y2;+function Z2(e, t, n = Date.now()) {+ return !Number.isFinite(e) || e <= 0 || e > n ? !1 : zDe(t, n) === Infinity ? Y2(e) > X2(t) : n - e < J2;}//#endregion//#region src/react/wants/resource-cache.ts-var $2 = "peach.want-resources.v1";-function e4(e) {+var Q2 = "peach.want-resources.v1";+function $2(e) {return !e.cache_stale && (e.complete === !0 || !e.warnings?.length);}-function t4(e, t, n) {- return !!e && !e.cache_stale && (e.state === "error" || !e4(e) ? Date.now() - t < 6e4 : Q2(t, n));+function e4(e, t, n) {+ return !!e && !e.cache_stale && (e.state === "error" || !$2(e) ? Date.now() - t < 6e4 : Z2(t, n));}-function n4() {+function t4() {try {- let e = JSON.parse(localStorage.getItem($2) || "[]");- return Array.isArray(e) ? e.filter((e) => typeof e?.code == "string" && Number.isFinite(e.saved) && e.result?.state === "ready" && Array.isArray(e.result.items) && e4(e.result) && e.result.items.every((e) => e && [+ let e = JSON.parse(localStorage.getItem(Q2) || "[]");+ return Array.isArray(e) ? e.filter((e) => typeof e?.code == "string" && Number.isFinite(e.saved) && e.result?.state === "ready" && Array.isArray(e.result.items) && $2(e.result) && e.result.items.every((e) => e && ["magnet","ed2k","url"@@ -71780,23 +71780,23 @@ function n4() {return [];}}-function zDe(e, t) {- let n = n4().find((t) => t.code === e);- return n && Q2(n.saved, t) ? n : void 0;+function BDe(e, t) {+ let n = t4().find((t) => t.code === e);+ return n && Z2(n.saved, t) ? n : void 0;}-function BDe(e) {- let t = new Map(n4().map((e) => [e.code, e])), n = /* @__PURE__ */ new Map();+function VDe(e) {+ let t = new Map(t4().map((e) => [e.code, e])), n = /* @__PURE__ */ new Map();for (let r of e) {if (!r.code) continue;let e = t.get(`all-sources:${r.code}`);- e && Q2(e.saved, r.release_date) && n.set(r.code, e.result.items.some((e) => e.protocol === "magnet"));+ e && Z2(e.saved, r.release_date) && n.set(r.code, e.result.items.some((e) => e.protocol === "magnet"));}return n;}-function VDe(e, t) {- if (t.state === "ready" && e4(t)) try {- let n = n4().filter((t) => t.code !== e), r = Date.parse(t.checked_at || "");- localStorage.setItem($2, JSON.stringify([{+function HDe(e, t) {+ if (t.state === "ready" && $2(t)) try {+ let n = t4().filter((t) => t.code !== e), r = Date.parse(t.checked_at || "");+ localStorage.setItem(Q2, JSON.stringify([{code: e,saved: Number.isFinite(r) ? r : Date.now(),result: t@@ -71805,16 +71805,16 @@ function VDe(e, t) {}//#endregion//#region src/react/wants/resource-display.ts-function HDe(e) {+function UDe(e) {let t = /^([\d,]+)\s*B$/i.exec(e.trim());return /^[\d,.]+$/.test(e.trim()) ? "大小未知" : t ? vn(Number(t[1].replaceAll(",", ""))) : e || "大小未知";}-function UDe(e) {+function WDe(e) {return /^更多评论.*(?:VIP|官方 App)/.test(e) ? "来源只返回了部分评论,资源链接可能不完整。" : e;}//#endregion//#region src/react/wants/want-magnets.tsx-function r4({ icon: e, children: t, title: n }) {+function n4({ icon: e, children: t, title: n }) {return /* @__PURE__ */ (0, O.jsxs)("span", {title: n,className: "inline-flex items-center gap-1",@@ -71824,8 +71824,8 @@ function r4({ icon: e, children: t, title: n }) {}), t]});}-function i4({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSource: a, queryUrl: o }) {- let s = (0, D.useRef)(null), [c, l] = (0, D.useState)(typeof IntersectionObserver > "u"), [u, d] = (0, D.useState)([]), f = PH(), p = A(), m = (0, D.useRef)(!1), h = o ? `comment-resources:${o}:${e.code}` : `all-sources:${e.code || ""}`, g = (0, D.useMemo)(() => zDe(h, e.release_date), [h, e.release_date]);+function r4({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSource: a, queryUrl: o }) {+ let s = (0, D.useRef)(null), [c, l] = (0, D.useState)(typeof IntersectionObserver > "u"), [u, d] = (0, D.useState)([]), f = NH(), p = A(), m = (0, D.useRef)(!1), h = o ? `comment-resources:${o}:${e.code}` : `all-sources:${e.code || ""}`, g = (0, D.useMemo)(() => BDe(h, e.release_date), [h, e.release_date]);(0, D.useEffect)(() => {if (!s.current || c) return;let e = new IntersectionObserver((t) => {@@ -71845,22 +71845,22 @@ function i4({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSourc],queryFn: async ({ signal: t }) => {let n = m.current, r = o || `/api/wants/magnets?id=${e.id}`, i = await B(`${r}${n ? `${r.includes("?") ? "&" : "?"}refresh=1` : ""}`, t);- return m.current = n && i.state === "busy", VDe(h, i), i;+ return m.current = n && i.state === "busy", HDe(h, i), i;},initialData: g?.result,initialDataUpdatedAt: g?.saved,enabled: c,retry: !1,- staleTime: (t) => t4(t.state.data, Date.parse(t.state.data?.checked_at || "") || t.state.dataUpdatedAt, e.release_date) ? Infinity : 0,+ staleTime: (t) => e4(t.state.data, Date.parse(t.state.data?.checked_at || "") || t.state.dataUpdatedAt, e.release_date) ? Infinity : 0,gcTime: 864e5,- refetchOnMount: (t) => !t4(t.state.data, Date.parse(t.state.data?.checked_at || "") || t.state.dataUpdatedAt, e.release_date) && "always",+ refetchOnMount: (t) => !e4(t.state.data, Date.parse(t.state.data?.checked_at || "") || t.state.dataUpdatedAt, e.release_date) && "always",refetchOnWindowFocus: !1,refetchInterval: (e) => e.state.data?.state === "busy" && 3e3});(0, D.useEffect)(() => {_.data?.source_url && a?.(_.data.source_url);}, [_.data?.source_url, a]), (0, D.useEffect)(() => {- !o && _.data && (_.data.state === "ready" || _.data.items.length > 0) && zCe(e.id, _.data.items.some((e) => e.protocol === "magnet"));+ !o && _.data && (_.data.state === "ready" || _.data.items.length > 0) && BCe(e.id, _.data.items.some((e) => e.protocol === "magnet"));}, [_.data,o,@@ -71868,7 +71868,7 @@ function i4({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSourc]);let v = n?.providers.find((e) => e.key === r && e.configured), y = (r) => {!t && n?.available && v && r.protocol === "magnet" && f.run(r.id, async (t) => {- let n = await V(V2, {+ let n = await V(B2, {magnet: r.uri,provider: v.key,target: v.target,@@ -71879,7 +71879,7 @@ function i4({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSourcif (!n.ok) throw Error(n.task.failure_detail || n.task.failure_label || "添加下载失败");return n;}, (e) => {- d((e) => [...e, r.id]), i(e.outcome === "submitted" ? `已添加下载:${r.name}` : `已关联现有下载:${r.name}`), p.invalidateQueries({ queryKey: H2 });+ d((e) => [...e, r.id]), i(e.outcome === "submitted" ? `已添加下载:${r.name}` : `已关联现有下载:${r.name}`), p.invalidateQueries({ queryKey: V2 });});}, b = (e) => {f.run(`copy:${e.id}`, () => navigator.clipboard.writeText(e.uri), () => i("已复制链接"));@@ -71897,39 +71897,39 @@ function i4({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSourc}), /* @__PURE__ */ (0, O.jsx)(q, {variant: "secondary",size: "small",- leadingIcon: Ez,- ...Wz(x),+ leadingIcon: Tz,+ ...Uz(x),onClick: () => {x || (m.current = !0, _.refetch());},children: "重新查询"})]}),- x ? /* @__PURE__ */ (0, O.jsx)(LH, { label: "正在查找资源链接" }) : null,- S ? /* @__PURE__ */ (0, O.jsx)(zz, {+ x ? /* @__PURE__ */ (0, O.jsx)(IH, { label: "正在查找资源链接" }) : null,+ S ? /* @__PURE__ */ (0, O.jsx)(Rz, {tone: "error",title: "资源链接未取得",children: S}) : null,- _.data?.warnings?.map((e) => /* @__PURE__ */ (0, O.jsx)(zz, {+ _.data?.warnings?.map((e) => /* @__PURE__ */ (0, O.jsx)(Rz, {tone: "neutral",- children: UDe(e)+ children: WDe(e)}, e)),- _.data?.warnings?.length && _.data.source_url ? /* @__PURE__ */ (0, O.jsx)(mI, {+ _.data?.warnings?.length && _.data.source_url ? /* @__PURE__ */ (0, O.jsx)(pI, {variant: "secondary",size: "small",className: "self-start",- trailingIcon: _z,+ trailingIcon: gz,href: _.data.source_url,target: "_blank",rel: "noopener noreferrer",children: "查看来源页"}) : null,- _.data?.state === "ready" && !_.data.items.length && !_.data.warnings?.length ? /* @__PURE__ */ (0, O.jsx)(zz, {+ _.data?.state === "ready" && !_.data.items.length && !_.data.warnings?.length ? /* @__PURE__ */ (0, O.jsx)(Rz, {tone: "neutral",children: "暂未找到资源链接。"}) : null,- f.error ? /* @__PURE__ */ (0, O.jsx)(zz, {+ f.error ? /* @__PURE__ */ (0, O.jsx)(Rz, {tone: "error",title: "操作未完成",children: f.error@@ -71944,7 +71944,7 @@ function i4({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSourcclassName: "flex min-w-0 flex-col gap-1",children: [/* @__PURE__ */ (0, O.jsxs)("div", {className: "flex min-w-0 flex-wrap items-center gap-2",- children: [/* @__PURE__ */ (0, O.jsx)(gZ, {+ children: [/* @__PURE__ */ (0, O.jsx)(hZ, {variant: "caption",color: e.protocol === "magnet" ? "blue" : e.protocol === "ed2k" ? "purple" : "neutral",children: e.protocol === "magnet" ? "磁链" : e.protocol === "ed2k" ? "ED2K" : "网页链接"@@ -71958,26 +71958,26 @@ function i4({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSourc"data-resource-facts": "",className: "flex flex-wrap gap-x-2 gap-y-1 text-caption-1-regular text-text-secondary",children: [- /* @__PURE__ */ (0, O.jsx)(r4, {- icon: Efe,+ /* @__PURE__ */ (0, O.jsx)(n4, {+ icon: Dfe,children: e.source}),- /* @__PURE__ */ (0, O.jsx)(r4, {- icon: xz,+ /* @__PURE__ */ (0, O.jsx)(n4, {+ icon: bz,title: `来源大小:${e.size}`,- children: HDe(e.size)+ children: UDe(e.size)}),- e.files ? /* @__PURE__ */ (0, O.jsx)(r4, {- icon: _fe,+ e.files ? /* @__PURE__ */ (0, O.jsx)(n4, {+ icon: vfe,children: e.files.replaceAll("個", "个")}) : null,- /* @__PURE__ */ (0, O.jsx)(r4, {- icon: rfe,+ /* @__PURE__ */ (0, O.jsx)(n4, {+ icon: ife,title: e.source === "JavDB 评论" ? "评论日期" : "收录日期",children: e.date ? e.date.slice(0, 10) : "日期未知"}),- e.attributes.filter((e) => e !== "高清").map((e) => /* @__PURE__ */ (0, O.jsx)(r4, {- icon: Tz,+ e.attributes.filter((e) => e !== "高清").map((e) => /* @__PURE__ */ (0, O.jsx)(n4, {+ icon: wz,children: e}, e))]@@ -71986,11 +71986,11 @@ function i4({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSourc"data-resource-actions": "",className: "flex flex-wrap gap-2",children: [- /* @__PURE__ */ (0, O.jsx)(mI, {+ /* @__PURE__ */ (0, O.jsx)(pI, {"data-button-link": "",variant: "secondary",size: "small",- trailingIcon: _z,+ trailingIcon: gz,href: e.source_url,target: "_blank",rel: "noopener noreferrer",@@ -71999,18 +71999,18 @@ function i4({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSourc/* @__PURE__ */ (0, O.jsx)(q, {variant: "secondary",size: "small",- leadingIcon: hfe,- ...Wz(f.busy === `copy:${e.id}`),+ leadingIcon: gfe,+ ...Uz(f.busy === `copy:${e.id}`),onClick: () => b(e),children: "复制链接"}),e.protocol === "magnet" ? /* @__PURE__ */ (0, O.jsx)(q, {variant: "primary",size: "small",- leadingIcon: v ? $H(v.key) : lfe,+ leadingIcon: v ? QH(v.key) : ufe,title: v ? `下载到 ${v.label}` : void 0,disabled: t || !n?.available || !v || r,- ...Wz(f.busy === e.id),+ ...Uz(f.busy === e.id),onClick: () => y(e),children: r ? "已添加" : "添加下载"}) : null@@ -72021,7 +72021,7 @@ function i4({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSourcreturn /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)("ul", {className: "flex min-w-0 flex-col gap-4",children: e.slice(0, 3)- }), e.length > 3 ? /* @__PURE__ */ (0, O.jsx)(XH, {+ }), e.length > 3 ? /* @__PURE__ */ (0, O.jsx)(YH, {summary: `更多资源(${e.length - 3} 条)`,children: /* @__PURE__ */ (0, O.jsx)("ul", {className: "flex min-w-0 flex-col gap-4",@@ -72034,10 +72034,10 @@ function i4({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSourc}//#endregion//#region src/react/jav-detail/review-cache.ts-var a4 = "peach.jav-reviews.v1";-function o4() {+var i4 = "peach.jav-reviews.v1";+function a4() {try {- let e = localStorage.getItem(a4) || "[]";+ let e = localStorage.getItem(i4) || "[]";if (e.length > 2e6) return [];let t = JSON.parse(e);return Array.isArray(t) ? t.filter((e) => typeof e?.code == "string" && Number.isFinite(e.saved) && e.result?.ok === !0 && !e.result.cache_stale && Number.isInteger(e.result.page) && e.result.page >= 1 && e.result.page <= 8 && Array.isArray(e.result.items) && e.result.items.length <= 10 && e.result.items.every((e) => typeof e?.id == "string" && typeof e.content == "string" && typeof e.username == "string" && typeof e.created_at == "string")) : [];@@ -72045,21 +72045,21 @@ function o4() {return [];}}-function WDe(e, t) {+function GDe(e, t) {if (t.ok && !t.cache_stale) try {let n = Date.parse(t.checked_at || ""), r = [{code: e,saved: Number.isFinite(n) ? n : Date.now(),result: t- }, ...o4().filter((n) => n.code !== e || n.result.page !== t.page)].slice(0, 128), i = JSON.stringify(r);- i.length <= 2e6 && localStorage.setItem(a4, i);+ }, ...a4().filter((n) => n.code !== e || n.result.page !== t.page)].slice(0, 128), i = JSON.stringify(r);+ i.length <= 2e6 && localStorage.setItem(i4, i);} catch {}}-function GDe(e, t) {- let n = o4(), r = [], i = Infinity;+function KDe(e, t) {+ let n = a4(), r = [], i = Infinity;for (let a = 1; a <= 8; a++) {let o = n.find((t) => t.code === e && t.result.page === a);- if (!o || !Q2(o.saved, t) || (r.push(o.result), i = Math.min(i, o.saved), !o.result.more)) break;+ if (!o || !Z2(o.saved, t) || (r.push(o.result), i = Math.min(i, o.saved), !o.result.more)) break;}return r.length ? {pages: r,@@ -72067,17 +72067,17 @@ function GDe(e, t) {saved: i} : void 0;}-function KDe(e, t, n) {- return e.length > 0 && e.every((e) => e.ok && !e.cache_stale && Q2(Date.parse(e.checked_at || "") || t, n));+function qDe(e, t, n) {+ return e.length > 0 && e.every((e) => e.ok && !e.cache_stale && Z2(Date.parse(e.checked_at || "") || t, n));}//#endregion//#region src/react/jav-detail/jav-detail-page.tsx-function qDe(e) {+function JDe(e) {let t = (0, D.useRef)(!1), n = Ct({- queryKey: k2(e.code),+ queryKey: O2(e.code),queryFn: ({ signal: n }) => {let r = t.current;- return t.current = !1, A2(e.code, n, r);+ return t.current = !1, k2(e.code, n, r);},staleTime: 216e5}), r = () => {@@ -72087,21 +72087,21 @@ function qDe(e) {"data-jav-detail": "","data-item-detail": "","data-stage-grid": "",- children: n.data ? /* @__PURE__ */ (0, O.jsx)(JDe, {+ children: n.data ? /* @__PURE__ */ (0, O.jsx)(YDe, {...e,item: n.data,retry: r,retrying: n.isFetching}, e.code) : /* @__PURE__ */ (0, O.jsxs)("div", {"data-jav-failure": "",- children: [/* @__PURE__ */ (0, O.jsx)(s4, { close: e.actions.close }), n.error ? /* @__PURE__ */ (0, O.jsx)(vW, {+ children: [/* @__PURE__ */ (0, O.jsx)(o4, { close: e.actions.close }), n.error ? /* @__PURE__ */ (0, O.jsx)(_W, {message: jn(n.error),onRetry: r}) : null]})});}-var s4 = ({ close: e }) => /* @__PURE__ */ (0, O.jsx)("button", {+var o4 = ({ close: e }) => /* @__PURE__ */ (0, O.jsx)("button", {type: "button","data-stage-close": "",id: "closeStage",@@ -72110,7 +72110,7 @@ var s4 = ({ close: e }) => /* @__PURE__ */ (0, O.jsx)("button", {onClick: e,dangerouslySetInnerHTML: { __html: L("x") }});-function JDe({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: a }) {+function YDe({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: a }) {(0, D.useEffect)(() => {n.canonicalCode?.(t.code);}, [n, t.code]), (0, D.useEffect)(() => {@@ -72130,13 +72130,13 @@ function JDe({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: alabel: "视频预览",video: !0}] : []- ], [l, u] = (0, D.useState)(null), [d, f] = (0, D.useState)(t.want_id), p = PH(), m = () => {- p.run("want", async (e) => d ? (await x$([d], e), null) : (await b$({ code: t.code }, e)).want.id, (t) => {- f(t), H.setQueryData(k2(e), (e) => e && {+ ], [l, u] = (0, D.useState)(null), [d, f] = (0, D.useState)(t.want_id), p = NH(), m = () => {+ p.run("want", async (e) => d ? (await b$([d], e), null) : (await y$({ code: t.code }, e)).want.id, (t) => {+ f(t), H.setQueryData(O2(e), (e) => e && {...e,wanted: !!t,want_id: t- }), n.receipt(t ? "已加入想要" : "已取消想要"), S$(), H.invalidateQueries({ queryKey: ["feed-new"] }), H.invalidateQueries({ queryKey: ["jav-discoveries"] });+ }), n.receipt(t ? "已加入想要" : "已取消想要"), x$(), H.invalidateQueries({ queryKey: ["feed-new"] }), H.invalidateQueries({ queryKey: ["jav-discoveries"] });});};return /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [@@ -72145,24 +72145,24 @@ function JDe({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: a"data-jav-art": "","data-jav-playing": o === -2 ? "" : void 0,children: [- /* @__PURE__ */ (0, O.jsx)(s4, { close: n.close }),+ /* @__PURE__ */ (0, O.jsx)(o4, { close: n.close }),t.preview_video_url ? /* @__PURE__ */ (0, O.jsxs)("button", {type: "button","data-jav-preview-toggle": "","aria-pressed": o === -2,onClick: () => s(o === -2 ? -1 : -2),- children: [/* @__PURE__ */ (0, O.jsx)(c4, { name: o === -2 ? "image" : "play" }), o === -2 ? "查看图片" : "视频预览"]+ children: [/* @__PURE__ */ (0, O.jsx)(s4, { name: o === -2 ? "image" : "play" }), o === -2 ? "查看图片" : "视频预览"]}) : null,- o === -2 && t.preview_video_url ? /* @__PURE__ */ (0, O.jsx)(ZDe, { src: t.preview_video_url }, t.preview_video_url) : /* @__PURE__ */ (0, O.jsx)(bQ, {+ o === -2 && t.preview_video_url ? /* @__PURE__ */ (0, O.jsx)(QDe, { src: t.preview_video_url }, t.preview_video_url) : /* @__PURE__ */ (0, O.jsx)(yQ, {item: t,image: o === -1 ? "cover" : String(o)}, o),- /* @__PURE__ */ (0, O.jsx)(g2, {+ /* @__PURE__ */ (0, O.jsx)(h2, {items: c,position: Math.max(0, c.findIndex((e) => e.index === o)),onSelect: s,below: !0,- renderThumbnail: (e) => /* @__PURE__ */ (0, O.jsx)(bQ, {+ renderThumbnail: (e) => /* @__PURE__ */ (0, O.jsx)(yQ, {item: t,image: e.index < 0 ? "cover" : String(e.index),thumbnail: !0@@ -72176,33 +72176,33 @@ function JDe({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: a"data-stage-side-content": "","data-jav-info": "",children: [- /* @__PURE__ */ (0, O.jsx)(YDe, { item: t }),- Number(t.score) > 0 ? /* @__PURE__ */ (0, O.jsx)(u4, { score: Number(t.score) }) : null,+ /* @__PURE__ */ (0, O.jsx)(XDe, { item: t }),+ Number(t.score) > 0 ? /* @__PURE__ */ (0, O.jsx)(l4, { score: Number(t.score) }) : null,/* @__PURE__ */ (0, O.jsxs)("div", {className: "mono","data-stage-meta": "","data-reveal-line": "",- children: [/* @__PURE__ */ (0, O.jsx)(l4, {+ children: [/* @__PURE__ */ (0, O.jsx)(c4, {glyph: "calendar",label: "发行日期",value: t.release_date- }), /* @__PURE__ */ (0, O.jsx)(l4, {+ }), /* @__PURE__ */ (0, O.jsx)(c4, {glyph: "clock",label: "时长",value: t.duration ? `${t.duration} 分钟` : void 0})]}),- /* @__PURE__ */ (0, O.jsx)(XDe, {+ /* @__PURE__ */ (0, O.jsx)(ZDe, {item: t,navigate: n.navigate}),/* @__PURE__ */ (0, O.jsxs)("div", {"data-jav-facts": "",- children: [/* @__PURE__ */ (0, O.jsx)(l4, {+ children: [/* @__PURE__ */ (0, O.jsx)(c4, {glyph: "briefcase",label: "发行商",value: t.publisher- }), /* @__PURE__ */ (0, O.jsx)(l4, {+ }), /* @__PURE__ */ (0, O.jsx)(c4, {glyph: "clapperboard",label: "导演",value: t.director@@ -72230,14 +72230,14 @@ function JDe({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: at.summary ? /* @__PURE__ */ (0, O.jsx)("p", {"data-jav-summary": "","data-long-text": "",- lang: LF(t.summary),+ lang: IF(t.summary),children: t.summary}) : null,- t.message ? /* @__PURE__ */ (0, O.jsx)(zz, {+ t.message ? /* @__PURE__ */ (0, O.jsx)(Rz, {tone: "neutral",action: /* @__PURE__ */ (0, O.jsx)(q, {variant: "secondary",- ...Wz(a),+ ...Uz(a),onClick: i,children: "立即重试"}),@@ -72246,10 +72246,10 @@ function JDe({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: a/* @__PURE__ */ (0, O.jsxs)("div", {"data-jav-actions": "",children: [- t.source_url ? /* @__PURE__ */ (0, O.jsx)(mI, {+ t.source_url ? /* @__PURE__ */ (0, O.jsx)(pI, {"data-button-link": "",variant: "secondary",- trailingIcon: _z,+ trailingIcon: gz,href: t.source_url,target: "_blank",rel: "noopener noreferrer",@@ -72259,7 +72259,7 @@ function JDe({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: avariant: "secondary",disabled: r,"aria-pressed": !!d,- ...Wz(!!p.busy),+ ...Uz(!!p.busy),onClick: m,children: d ? "取消想要" : "想要"}),@@ -72277,16 +72277,16 @@ function JDe({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: a})]}),- p.error ? /* @__PURE__ */ (0, O.jsx)(zz, {+ p.error ? /* @__PURE__ */ (0, O.jsx)(Rz, {tone: "error",children: p.error}) : null,- /* @__PURE__ */ (0, O.jsx)(QDe, {+ /* @__PURE__ */ (0, O.jsx)($De, {code: t.code,count: t.comments_count,released: t.release_date}),- /* @__PURE__ */ (0, O.jsx)($De, {+ /* @__PURE__ */ (0, O.jsx)(eOe, {item: t,actions: n,readOnly: r@@ -72294,24 +72294,24 @@ function JDe({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: a]})}),- /* @__PURE__ */ (0, O.jsx)(J2, {+ /* @__PURE__ */ (0, O.jsx)(q2, {prefill: l,close: () => u(null),receipt: n.receipt})] });}-var c4 = ({ name: e }) => /* @__PURE__ */ (0, O.jsx)("span", {+var s4 = ({ name: e }) => /* @__PURE__ */ (0, O.jsx)("span", {className: "contents","aria-hidden": "true",dangerouslySetInnerHTML: { __html: L(e) }-}), l4 = ({ glyph: e, label: t, value: n }) => n ? /* @__PURE__ */ (0, O.jsxs)("span", {+}), c4 = ({ glyph: e, label: t, value: n }) => n ? /* @__PURE__ */ (0, O.jsxs)("span", {"data-spec-item": "",title: t,- children: [/* @__PURE__ */ (0, O.jsx)(c4, { name: e }), /* @__PURE__ */ (0, O.jsx)("span", { children: n })]+ children: [/* @__PURE__ */ (0, O.jsx)(s4, { name: e }), /* @__PURE__ */ (0, O.jsx)("span", { children: n })]}) : null;-function YDe({ item: e }) {- let { text: t, expanded: n, foldable: r, toggle: i } = D2(e.title), a = e.title === e.code ? "" : e.title;+function XDe({ item: e }) {+ let { text: t, expanded: n, foldable: r, toggle: i } = E2(e.title), a = e.title === e.code ? "" : e.title;return /* @__PURE__ */ (0, O.jsxs)("div", {"data-item-title": "",children: [/* @__PURE__ */ (0, O.jsx)("h1", {@@ -72327,7 +72327,7 @@ function YDe({ item: e }) {r && !String(getSelection() || "") && i();},children: [/* @__PURE__ */ (0, O.jsx)("b", { children: e.code }), a ? /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [" ", /* @__PURE__ */ (0, O.jsx)("span", {- lang: LF(a),+ lang: IF(a),children: a})] }) : null]})@@ -72341,25 +72341,25 @@ function YDe({ item: e }) {"aria-label": n ? "收起标题" : "展开标题",title: n ? "收起标题" : "展开完整标题",onClick: i,- children: /* @__PURE__ */ (0, O.jsx)(UH, {})+ children: /* @__PURE__ */ (0, O.jsx)(HH, {})})})]});}-function u4({ score: e, review: t = !1 }) {+function l4({ score: e, review: t = !1 }) {return /* @__PURE__ */ (0, O.jsxs)("div", {"data-item-rating": "","data-jav-rating": "","data-review-rating": t ? "" : void 0,role: "img","aria-label": `${t ? "评论" : "JavDB"}评分 ${e} / 5`,- children: [/* @__PURE__ */ (0, O.jsx)(mY, { value: e }), /* @__PURE__ */ (0, O.jsxs)("span", {+ children: [/* @__PURE__ */ (0, O.jsx)(pY, { value: e }), /* @__PURE__ */ (0, O.jsxs)("span", {"data-rating-value": "",children: [e.toFixed(1), " / 5"]})]});}-function XDe({ item: e, navigate: t }) {+function ZDe({ item: e, navigate: t }) {let n = (e, n) => t(tn(e, n)), r = (t, r, i, a) => i.length ? /* @__PURE__ */ (0, O.jsxs)("section", {"data-id-group": t,"data-id-gender": a,@@ -72368,14 +72368,14 @@ function XDe({ item: e, navigate: t }) {children: r}), /* @__PURE__ */ (0, O.jsx)("div", {"data-id-row": "",- children: i.map((r) => /* @__PURE__ */ (0, O.jsx)(T2, {+ children: i.map((r) => /* @__PURE__ */ (0, O.jsx)(w2, {kind: t,person: {...r,id: r.id ?? null},onOpen: n,- face: t === "performer" && !r.has_image && !r.has_avatar && r.source_avatar && r.source_actor_id ? /* @__PURE__ */ (0, O.jsx)(xQ, {+ face: t === "performer" && !r.has_image && !r.has_avatar && r.source_avatar && r.source_actor_id ? /* @__PURE__ */ (0, O.jsx)(bQ, {code: e.code,person: r,detail: !0@@ -72392,7 +72392,7 @@ function XDe({ item: e, navigate: t }) {r("performer", "出演者", e.performer_refs.filter((e) => !e.gender || e.gender === "unknown"), "unknown"),r("studio", "厂牌", e.studio_refs)]- }), /* @__PURE__ */ (0, O.jsx)(E2, {+ }), /* @__PURE__ */ (0, O.jsx)(T2, {people: e.series_refs.map((e) => ({...e,id: e.id ?? null@@ -72401,18 +72401,18 @@ function XDe({ item: e, navigate: t }) {})]});}-function ZDe({ src: e }) {+function QDe({ src: e }) {let t = (0, D.useRef)(null), [n, r] = (0, D.useState)(!1), [i, a] = (0, D.useState)(0);return (0, D.useLayoutEffect)(() => {let n = t.current, i = document.createElement("video");- return i.className = "video-js vjs-big-play-centered", i.controls = !0, i.setAttribute("playsinline", ""), i.setAttribute("aria-label", "视频预览"), n.append(i), Ise(i, {+ return i.className = "video-js vjs-big-play-centered", i.controls = !0, i.setAttribute("playsinline", ""), i.setAttribute("aria-label", "视频预览"), n.append(i), Lse(i, {src: e,type: /\.m3u8(?:\?|$)/i.test(e) ? "application/x-mpegURL" : "video/mp4"}, () => r(!0));}, [e, i]), /* @__PURE__ */ (0, O.jsx)("div", {ref: t,"data-jav-video": "",- children: n ? /* @__PURE__ */ (0, O.jsx)(zz, {+ children: n ? /* @__PURE__ */ (0, O.jsx)(Rz, {tone: "neutral",action: /* @__PURE__ */ (0, O.jsx)(q, {variant: "secondary",@@ -72425,8 +72425,8 @@ function ZDe({ src: e }) {}) : null});}-function QDe({ code: e, count: t, released: n }) {- let r = A(), [i, a] = (0, D.useState)(!1), o = (0, D.useMemo)(() => GDe(e, n), [e, n]), s = (0, D.useRef)(!1), c = Tt({+function $De({ code: e, count: t, released: n }) {+ let r = A(), [i, a] = (0, D.useState)(!1), o = (0, D.useMemo)(() => KDe(e, n), [e, n]), s = (0, D.useRef)(!1), c = Tt({queryKey: ["jav-reviews", e],enabled: i,initialPageParam: 1,@@ -72435,12 +72435,12 @@ function QDe({ code: e, count: t, released: n }) {pageParams: o.pageParams} : void 0,initialDataUpdatedAt: o?.saved,- staleTime: (e) => KDe(e.state.data?.pages || [], e.state.dataUpdatedAt, n) ? Infinity : 0,+ staleTime: (e) => qDe(e.state.data?.pages || [], e.state.dataUpdatedAt, n) ? Infinity : 0,gcTime: 864e5,refetchOnWindowFocus: !1,queryFn: async ({ signal: t, pageParam: n }) => {- let i = await $Ee(e, n, t, s.current);- if (WDe(e, i), !i.ok || i.cache_stale) {+ let i = await eDe(e, n, t, s.current);+ if (GDe(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,@@ -72450,7 +72450,7 @@ function QDe({ code: e, count: t, released: n }) {}return i;},- getNextPageParam: eDe+ getNextPageParam: tDe});(0, D.useEffect)(() => {c.isFetching || (s.current = !1);@@ -72458,10 +72458,10 @@ function QDe({ code: e, count: t, released: n }) {let l = c.data?.pages || [], u = [...new Map(l.flatMap((e) => e.items).map((e) => [e.id, e])).values()], d = c.error ? jn(c.error) : l.find((e) => !e.ok || e.cache_stale)?.message;return /* @__PURE__ */ (0, O.jsx)("section", {"data-jav-reviews": "",- children: /* @__PURE__ */ (0, O.jsxs)(XH, {+ children: /* @__PURE__ */ (0, O.jsxs)(YH, {trailing: !0,summary: /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [- /* @__PURE__ */ (0, O.jsx)(ife, { "aria-hidden": !0 }),+ /* @__PURE__ */ (0, O.jsx)(afe, { "aria-hidden": !0 }),"评论",t > 0 ? ` · ${t}` : ""] }),@@ -72498,7 +72498,7 @@ function QDe({ code: e, count: t, released: n }) {"data-jav-review-meta": "",children: [/* @__PURE__ */ (0, O.jsx)("b", { children: e.username }),- Number(e.score) > 0 ? /* @__PURE__ */ (0, O.jsx)(u4, {+ Number(e.score) > 0 ? /* @__PURE__ */ (0, O.jsx)(l4, {score: Number(e.score),review: !0}) : null,@@ -72510,28 +72510,28 @@ function QDe({ code: e, count: t, released: n }) {]}), /* @__PURE__ */ (0, O.jsx)("p", {"data-long-text": "",- lang: LF(e.content),+ lang: IF(e.content),children: e.content})]}, e.id)),- d ? /* @__PURE__ */ (0, O.jsx)(zz, {+ d ? /* @__PURE__ */ (0, O.jsx)(Rz, {tone: "neutral",action: /* @__PURE__ */ (0, O.jsx)(q, {variant: "secondary",- ...Wz(c.isFetching),+ ...Uz(c.isFetching),onClick: () => {s.current = !0, c.refetch();},children: "立即重试"}),children: d- }) : !c.isPending && !u.length ? /* @__PURE__ */ (0, O.jsx)(zz, {+ }) : !c.isPending && !u.length ? /* @__PURE__ */ (0, O.jsx)(Rz, {tone: "neutral",children: "暂无评论"}) : null,!d && l.length ? /* @__PURE__ */ (0, O.jsx)(q, {variant: "secondary",- ...Wz(c.isFetching),+ ...Uz(c.isFetching),onClick: () => {s.current = !0, c.refetch();},@@ -72539,13 +72539,13 @@ function QDe({ code: e, count: t, released: n }) {}) : null,c.hasNextPage ? /* @__PURE__ */ (0, O.jsx)(q, {variant: "secondary",- ...Wz(c.isFetchingNextPage),+ ...Uz(c.isFetchingNextPage),onClick: () => {c.isFetchingNextPage || c.fetchNextPage();},children: "更多评论"}) : null,- !d && l.at(-1)?.page === 8 && t > u.length ? /* @__PURE__ */ (0, O.jsxs)(zz, {+ !d && l.at(-1)?.page === 8 && t > u.length ? /* @__PURE__ */ (0, O.jsxs)(Rz, {tone: "neutral",children: ["已显示 ",@@ -72557,21 +72557,21 @@ function QDe({ code: e, count: t, released: n }) {})});}-function $De({ item: e, actions: t, readOnly: n }) {+function eOe({ item: e, actions: t, readOnly: n }) {let [r, i] = (0, D.useState)(!1), a = Ct({- queryKey: H2,+ queryKey: V2,enabled: r,- queryFn: ({ signal: e }) => B(`${V2}?limit=50`, e)+ queryFn: ({ signal: e }) => B(`${B2}?limit=50`, e)}), o = a.data?.providers.find((e) => e.configured)?.key || "", [s, c] = (0, D.useState)(!1);return /* @__PURE__ */ (0, O.jsx)("section", {"data-jav-resources": "",- children: /* @__PURE__ */ (0, O.jsx)(XH, {+ children: /* @__PURE__ */ (0, O.jsx)(YH, {trailing: !0,- summary: /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)(c4, { name: "link" }), "资源"] }),+ summary: /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)(s4, { name: "link" }), "资源"] }),onOpenChange: (e) => {i(e), e && c(!0);},- children: s ? /* @__PURE__ */ (0, O.jsx)(i4, {+ children: s ? /* @__PURE__ */ (0, O.jsx)(r4, {want: {id: 0,code: e.code,@@ -72589,31 +72589,31 @@ function $De({ item: e, actions: t, readOnly: n }) {}//#endregion//#region src/react/stage/stage-player.ts-var d4 = null, f4 = null, p4 = null, m4 = null, h4 = null, g4 = !1, _4 = 0, v4 = null, y4 = () => !1, b4 = (e, t, n) => `${e}:${t}:${n ?? ""}`;-function eOe(e, t) {- d4 = e, y4 = () => t.isOpen(), v4 = () => t.requestClose(), tse({+var u4 = null, d4 = null, f4 = null, p4 = null, m4 = null, h4 = !1, g4 = 0, _4 = null, v4 = () => !1, y4 = (e, t, n) => `${e}:${t}:${n ?? ""}`;+function tOe(e, t) {+ u4 = e, v4 = () => t.isOpen(), _4 = () => t.requestClose(), nse({...e.player,stage: () => document.getElementById("stage")- }), nse({- inMiniplayer: (e) => f4?.player === e,- kind: (e) => f4?.player === e ? f4.kind : p4?.kind ?? m4?.kind ?? "item",- expand: () => B4(),- toMiniplayer: () => V4()- }), x4 || (x4 = !0, addEventListener("pagehide", () => Fj()));-}-var x4 = !1;-function S4() {- if (!d4) throw Error("舞台播放器还没有接上宿主(configureStagePlayer)");- return d4;-}-function C4(e) {- m4 = e;-}-var tOe = () => m4;-function w4(e, t) {- let { kind: n, item: r, media: i = null } = t, a = b4(n, r.id, i?.index ?? null);- if (f4 && f4.key === a) return rOe(e, f4);- f4 && z4();+ }), rse({+ inMiniplayer: (e) => d4?.player === e,+ kind: (e) => d4?.player === e ? d4.kind : f4?.kind ?? p4?.kind ?? "item",+ expand: () => z4(),+ toMiniplayer: () => B4()+ }), b4 || (b4 = !0, addEventListener("pagehide", () => Pj()));+}+var b4 = !1;+function x4() {+ if (!u4) throw Error("舞台播放器还没有接上宿主(configureStagePlayer)");+ return u4;+}+function S4(e) {+ p4 = e;+}+var nOe = () => p4;+function C4(e, t) {+ let { kind: n, item: r, media: i = null } = t, a = y4(n, r.id, i?.index ?? null);+ if (d4 && d4.key === a) return iOe(e, d4);+ d4 && R4();let o = {player: null,kind: n,@@ -72621,52 +72621,52 @@ function w4(e, t) {mediaIndex: i?.index ?? null,key: a};- p4 = o;+ f4 = o;let s = document.createElement("video");t.id && (s.id = t.id), s.className = "video-js vjs-big-play-centered", s.controls = !1, s.setAttribute("playsinline", ""), s.preload = "metadata", t.poster && (s.poster = t.poster), t.onError && s.addEventListener("error", t.onError), e.append(s);- let c = Kj(s, {+ let c = Gj(s, {kind: n,item: r,media: i,autoplay: t.autoplay,resume: t.resume ?? null,onPlayer: (e) => {- p4 === o && (o.player = e);+ f4 === o && (o.player = e);},- handedOff: (e) => f4?.player === e+ handedOff: (e) => d4?.player === e});return () => {- let e = !!o.player && f4?.player === o.player;- p4 === o && (p4 = null), c(), !e && (o.player || (s.pause(), s.removeAttribute("src"), s.load()), Fj());+ let e = !!o.player && d4?.player === o.player;+ f4 === o && (f4 = null), c(), !e && (o.player || (s.pause(), s.removeAttribute("src"), s.load()), Pj());};}-async function nOe(e, t, n) {+async function rOe(e, t, n) {let r = await R(`/api/item?id=${e.id}`, { signal: n });if (n.throwIfAborted(), !r || r.error) throw Error(r?.error || "作品未取得");if (r.medium && r.medium !== "video") throw Error("这条作品没有可播放的视频");if (r.location === "online") throw Error("请打开详情播放在线作品");if (r.cost === "metered") throw Error("请打开详情确认计费来源");- let i = await S4().player.loadSourceStatus();- if (n.throwIfAborted(), i[String(r.root_id || r.location || "")] === !1) throw Error(S4().player.offlineReason(String(r.root_id || r.location || "")));+ let i = await x4().player.loadSourceStatus();+ if (n.throwIfAborted(), i[String(r.root_id || r.location || "")] === !1) throw Error(x4().player.offlineReason(String(r.root_id || r.location || "")));let a = {kind: "item",item: r,title: String(r.title || r.name || ""),sub: String(r.performers?.[0] || r.creator || "未归属")};- C4(a);- let o = w4(t, {+ S4(a);+ let o = C4(t, {kind: "item",item: r,autoplay: !0}), s = !1;return (e = !1) => {- s || (s = !0, e && m4 === a && E4(!0), o(), m4 === a && C4(null));+ s || (s = !0, e && p4 === a && T4(!0), o(), p4 === a && S4(null));};}-function rOe(e, t) {+function iOe(e, t) {let { player: n } = t;- L4(t), f4 = null, R4(), n.el().classList.remove("vjs-peach-mini"), Wj(e), e.append(n.el()), UA(n);+ I4(t), d4 = null, L4(), n.el().classList.remove("vjs-peach-mini"), Uj(e), e.append(n.el()), HA(n);let r = {player: n,kind: t.kind,@@ -72674,23 +72674,23 @@ function rOe(e, t) {mediaIndex: t.mediaIndex,key: t.key};- p4 = r;- let i = Gj(n, e);- return WA(n), () => {- p4 === r && (p4 = null), i(), f4?.player !== n && (HA() === n && UA(null), Ej(n), Fj());+ f4 = r;+ let i = Wj(n, e);+ return UA(n), () => {+ f4 === r && (f4 = null), i(), d4?.player !== n && (VA() === n && HA(null), Tj(n), Pj());};}-var T4 = () => {- let e = p4?.player;+var w4 = () => {+ let e = f4?.player;return e && !e.isDisposed() ? e : null;};-function E4(e) {- let t = g4;- g4 = !1, f4?.pending && z4();- let n = p4, r = n?.player, i = m4;- if (!n || !r || r.isDisposed() || !i || !h4) return;- let a = S4().player.settings();- (t || e && a.miniplayer && !r.paused() && !r.ended() && !r.error()) && sOe({+function T4(e) {+ let t = h4;+ h4 = !1, d4?.pending && R4();+ let n = f4, r = n?.player, i = p4;+ if (!n || !r || r.isDisposed() || !i || !m4) return;+ let a = x4().player.settings();+ (t || e && a.miniplayer && !r.paused() && !r.ended() && !r.error()) && cOe({player: r,kind: n.kind,item: n.item,@@ -72698,46 +72698,46 @@ function E4(e) {key: n.key}, i);}-function D4(e, t) {- g4 = !1, f4 && (f4.kind === e && f4.item.id === t ? (f4.pending = !0, R4()) : z4());+function E4(e, t) {+ h4 = !1, d4 && (d4.kind === e && d4.item.id === t ? (d4.pending = !0, L4()) : R4());}-function O4(e) {- h4 = e, h4 && F4();-}-var k4 = () => !!f4 && !f4.pending && !f4.player.isDisposed();-function iOe() {- return k4() ? h4?.frame.querySelector("video") ?? null : null;+function D4(e) {+ m4 = e, m4 && P4();}+var O4 = () => !!d4 && !d4.pending && !d4.player.isDisposed();function aOe() {- return y4() ? document.getElementById("stage")?.querySelector("video") ?? null : T4()?.el().querySelector("video") ?? iOe();-}-function A4(e) {- h4 && (h4.title.textContent = e.title || "", h4.sub.textContent = e.sub || "", h4.info.setAttribute("aria-label", e.title ? `展开到详情:${e.title}` : "展开到详情"));+ return O4() ? m4?.frame.querySelector("video") ?? null : null;}-function j4(e = f4?.item) {- if (!h4) return;- let t = h4.frame.querySelector("video"), n = t?.videoWidth || Number(e?.width) || 16, r = t?.videoHeight || Number(e?.height) || 9;- h4.frame.style.setProperty("--miniplayer-aspect", `${Math.max(n, r)}/${r}`);+function oOe() {+ return v4() ? document.getElementById("stage")?.querySelector("video") ?? null : w4()?.el().querySelector("video") ?? aOe();}-function M4() {- let e = f4?.player;- if (!e || e.isDisposed() || !h4) return;- let t = e.paused();- h4.play.setAttribute("aria-label", t ? "播放" : "暂停"), h4.play.querySelector("[data-icon-swap]") || (h4.play.innerHTML = ls("player-pause", "player-play", t ? "b" : "a")), us(h4.play, t ? "b" : "a");+function k4(e) {+ m4 && (m4.title.textContent = e.title || "", m4.sub.textContent = e.sub || "", m4.info.setAttribute("aria-label", e.title ? `展开到详情:${e.title}` : "展开到详情"));}-function N4() {- let e = f4?.player;- if (!e || e.isDisposed() || !h4) return;- let t = hn(f4?.item.duration) || hn(e.duration());- h4.time.textContent = `${_n(e.currentTime())} / ${t ? _n(t) : "0:00"}`;+function A4(e = d4?.item) {+ if (!m4) return;+ let t = m4.frame.querySelector("video"), n = t?.videoWidth || Number(e?.width) || 16, r = t?.videoHeight || Number(e?.height) || 9;+ m4.frame.style.setProperty("--miniplayer-aspect", `${Math.max(n, r)}/${r}`);}-var P4 = () => Math.max(1, Number(S4().player.settings().seekSeconds) || 10);-function F4() {- if (!h4 || !d4) return;- let e = P4();- for (let [t, n] of [[h4.back, `后退 ${e} 秒`], [h4.ahead, `前进 ${e} 秒`]]) t.setAttribute("aria-label", n), t.title = n;+function j4() {+ let e = d4?.player;+ if (!e || e.isDisposed() || !m4) return;+ let t = e.paused();+ m4.play.setAttribute("aria-label", t ? "播放" : "暂停"), m4.play.querySelector("[data-icon-swap]") || (m4.play.innerHTML = ls("player-pause", "player-play", t ? "b" : "a")), us(m4.play, t ? "b" : "a");}-function I4(e) {+function M4() {+ let e = d4?.player;+ if (!e || e.isDisposed() || !m4) return;+ let t = hn(d4?.item.duration) || hn(e.duration());+ m4.time.textContent = `${_n(e.currentTime())} / ${t ? _n(t) : "0:00"}`;+}+var N4 = () => Math.max(1, Number(x4().player.settings().seekSeconds) || 10);+function P4() {+ if (!m4 || !u4) return;+ let e = N4();+ for (let [t, n] of [[m4.back, `后退 ${e} 秒`], [m4.ahead, `前进 ${e} 秒`]]) t.setAttribute("aria-label", n), t.title = n;+}+function F4(e) {let t = (t, n) => {e.player.on(t, n), e.off.push(() => {try {@@ -72749,17 +72749,17 @@ function I4(e) {"play","pause","ended"- ], M4), t([+ ], j4), t(["timeupdate","durationchange","loadedmetadata"- ], N4), t("loadedmetadata", () => j4()), M4(), N4(), j4(), F4();+ ], M4), t("loadedmetadata", () => A4()), j4(), M4(), A4(), P4();}-function L4(e) {+function I4(e) {e.off.forEach((e) => e()), e.off = [];}-function oOe() {- let e = h4?.root;+function sOe() {+ let e = m4?.root;if (!e) return;let t = e.hidden;if (e.hidden = !1, !t) return;@@ -72767,8 +72767,8 @@ function oOe() {let n = () => e.removeAttribute("data-miniplayer-enter");e.addEventListener("animationend", n, { once: !0 }), setTimeout(n, 500);}-function R4() {- let e = h4?.root;+function L4() {+ let e = m4?.root;if (e) {e.hidden = !0;for (let t of [@@ -72779,73 +72779,73 @@ function R4() {e.style.transform = "";}}-function sOe(e, t) {- if (!h4) return;+function cOe(e, t) {+ if (!m4) return;let n = {...e,meta: t,off: [],pending: !1};- f4 = n, _4++, e.player.el().classList.add("vjs-peach-mini"), h4.frame.prepend(e.player.el()), A4(t), I4(n), oOe(), WA(e.player);+ d4 = n, g4++, e.player.el().classList.add("vjs-peach-mini"), m4.frame.prepend(e.player.el()), k4(t), F4(n), sOe(), UA(e.player);}-function z4() {- let e = f4;- e && L4(e), f4 = null, _4++;+function R4() {+ let e = d4;+ e && I4(e), d4 = null, g4++;let t = e?.player ?? null;- t && HA() === t && UA(null), Ej(t), t && Fj(), h4?.frame.querySelectorAll(".video-js,video").forEach((e) => e.remove()), BA(), R4();+ t && VA() === t && HA(null), Tj(t), t && Pj(), m4?.frame.querySelectorAll(".video-js,video").forEach((e) => e.remove()), zA(), L4();}-function B4() {- if (!k4() || !f4) return;- let { kind: e, item: t, mediaIndex: n } = f4;- S4().expand(e, t.id, n);+function z4() {+ if (!O4() || !d4) return;+ let { kind: e, item: t, mediaIndex: n } = d4;+ x4().expand(e, t.id, n);}-function V4() {- k4() && !y4() ? B4() : y4() && T4() && v4 && (g4 = !0, v4());+function B4() {+ O4() && !v4() ? z4() : v4() && w4() && _4 && (h4 = !0, _4());}-function cOe() {- let e = f4?.player;+function lOe() {+ let e = d4?.player;e && !e.isDisposed() && (e.paused() ? e.play()?.catch(() => {}) : e.pause());}-function H4(e) {- let t = f4?.player;+function V4(e) {+ let t = d4?.player;if (!t || t.isDisposed()) return;- let n = hn(t.duration()) || hn(f4?.item.duration) || 0, r = Math.max(0, (Number(t.currentTime()) || 0) + P4() * e);+ let n = hn(t.duration()) || hn(d4?.item.duration) || 0, r = Math.max(0, (Number(t.currentTime()) || 0) + N4() * e);t.currentTime(n ? Math.min(n, r) : r);}-function U4(e) {- return !(!k4() || !e || e.part_group || e.edition_group || e.medium && e.medium !== "video" || e.cost === "metered" && e.location !== "online" || e.location === "online" && !e.follow_item_id || S4().sourceOffline(String(e.root_id || e.location || "")));-}-async function lOe(e) {- if (!k4() || !f4 || !h4) return;- let t = ++_4, n = await R(`/api/item?id=${e}`).catch(() => null);- if (t !== _4 || !k4() || !f4 || !h4 || !n || n.error) return;- if (!U4(n)) {- S4().openItem(e);+function H4(e) {+ return !(!O4() || !e || e.part_group || e.edition_group || e.medium && e.medium !== "video" || e.cost === "metered" && e.location !== "online" || e.location === "online" && !e.follow_item_id || x4().sourceOffline(String(e.root_id || e.location || "")));+}+async function uOe(e) {+ if (!O4() || !d4 || !m4) return;+ let t = ++g4, n = await R(`/api/item?id=${e}`).catch(() => null);+ if (t !== g4 || !O4() || !d4 || !m4 || !n || n.error) return;+ if (!H4(n)) {+ x4().openItem(e);return;}- let r = f4;- L4(r), HA() === r.player && UA(null), Ej(r.player), Fj(), h4.frame.querySelectorAll(".video-js,video").forEach((e) => e.remove());+ let r = d4;+ I4(r), VA() === r.player && HA(null), Tj(r.player), Pj(), m4.frame.querySelectorAll(".video-js,video").forEach((e) => e.remove());let i = document.createElement("video");- i.className = "video-js", i.setAttribute("playsinline", ""), i.preload = "metadata", h4.frame.prepend(i);+ i.className = "video-js", i.setAttribute("playsinline", ""), i.preload = "metadata", m4.frame.prepend(i);let a = {kind: "item",item: n,title: String(n.title || n.name || ""),sub: String(n.performers?.[0] || n.creator || "未归属")};- A4(a), Kj(i, {+ k4(a), Gj(i, {kind: "item",item: n,autoplay: !0,chrome: !1,onPlayer: (r) => {- if (t !== _4) {- r && HA() === r && UA(null), Ej(r);+ if (t !== g4) {+ r && VA() === r && HA(null), Tj(r);return;}if (!r) {- z4(), S4().openItem(e);+ R4(), x4().openItem(e);return;}r.el().classList.add("vjs-peach-mini");@@ -72854,26 +72854,26 @@ async function lOe(e) {kind: "item",item: n,mediaIndex: null,- key: b4("item", n.id, null),+ key: y4("item", n.id, null),meta: a,off: [],pending: !1};- f4 = i, I4(i);+ d4 = i, F4(i);}- }), j4(n);+ }), A4(n);}//#endregion//#region src/react/stage/miniplayer.tsx-var W4 = ({ name: e }) => /* @__PURE__ */ (0, O.jsx)("svg", {+var U4 = ({ name: e }) => /* @__PURE__ */ (0, O.jsx)("svg", {viewBox: "0 0 24 24","aria-hidden": "true",children: /* @__PURE__ */ (0, O.jsx)("use", { href: `#i-${e}` })-}), uOe = { __html: "<svg viewBox=\"0 0 24 24\" aria-hidden=\"true\"><use href=\"#i-player-pause\"/></svg>" }, G4 = (e) => (t) => {+}), dOe = { __html: "<svg viewBox=\"0 0 24 24\" aria-hidden=\"true\"><use href=\"#i-player-pause\"/></svg>" }, W4 = (e) => (t) => {t.stopPropagation(), e();-}, dOe = (0, D.memo)(function() {+}, fOe = (0, D.memo)(function() {let e = (0, D.useRef)(null), t = (0, D.useRef)(null), n = (0, D.useRef)(null), r = (0, D.useRef)(null), i = (0, D.useRef)(null), a = (0, D.useRef)(null), o = (0, D.useRef)(null), s = (0, D.useRef)(null), c = (0, D.useRef)(null), l = (0, D.useRef)(null);- return (0, D.useLayoutEffect)(() => (O4({+ return (0, D.useLayoutEffect)(() => (D4({root: e.current,frame: n.current,play: r.current,@@ -72883,7 +72883,7 @@ var W4 = ({ name: e }) => /* @__PURE__ */ (0, O.jsx)("svg", {title: s.current,sub: c.current,info: l.current- }), () => O4(null)), []), (0, D.useEffect)(() => pOe(e.current, t.current), []), /* @__PURE__ */ (0, O.jsx)("aside", {+ }), () => D4(null)), []), (0, D.useEffect)(() => mOe(e.current, t.current), []), /* @__PURE__ */ (0, O.jsx)("aside", {ref: e,"data-miniplayer": "",id: "miniplayer",@@ -72907,24 +72907,24 @@ var W4 = ({ name: e }) => /* @__PURE__ */ (0, O.jsx)("svg", {id: "miniplayerExpand","aria-label": "展开到详情","aria-keyshortcuts": "i",- onClick: G4(B4),- children: /* @__PURE__ */ (0, O.jsx)(W4, { name: "maximize-2" })+ onClick: W4(z4),+ children: /* @__PURE__ */ (0, O.jsx)(U4, { name: "maximize-2" })}),/* @__PURE__ */ (0, O.jsx)("button", {type: "button","data-miniplayer-button": "close",id: "miniplayerClose","aria-label": "关闭小窗",- onClick: G4(z4),- children: /* @__PURE__ */ (0, O.jsx)(W4, { name: "x" })+ onClick: W4(R4),+ children: /* @__PURE__ */ (0, O.jsx)(U4, { name: "x" })}),/* @__PURE__ */ (0, O.jsx)("button", {ref: a,type: "button","data-miniplayer-seek": "",id: "miniplayerBack",- onClick: G4(() => H4(-1)),- children: /* @__PURE__ */ (0, O.jsx)(W4, { name: "rotate-ccw" })+ onClick: W4(() => V4(-1)),+ children: /* @__PURE__ */ (0, O.jsx)(U4, { name: "rotate-ccw" })}),/* @__PURE__ */ (0, O.jsx)("button", {ref: r,@@ -72933,16 +72933,16 @@ var W4 = ({ name: e }) => /* @__PURE__ */ (0, O.jsx)("svg", {id: "miniplayerPlay","aria-label": "暂停","aria-keyshortcuts": "k",- onClick: G4(cOe),- dangerouslySetInnerHTML: uOe+ onClick: W4(lOe),+ dangerouslySetInnerHTML: dOe}),/* @__PURE__ */ (0, O.jsx)("button", {ref: o,type: "button","data-miniplayer-seek": "",id: "miniplayerAhead",- onClick: G4(() => H4(1)),- children: /* @__PURE__ */ (0, O.jsx)(W4, { name: "rotate-cw" })+ onClick: W4(() => V4(1)),+ children: /* @__PURE__ */ (0, O.jsx)(U4, { name: "rotate-cw" })}),/* @__PURE__ */ (0, O.jsx)("span", {ref: i,@@ -72959,7 +72959,7 @@ var W4 = ({ name: e }) => /* @__PURE__ */ (0, O.jsx)("svg", {"data-miniplayer-info": "",id: "miniplayerInfo","aria-label": "展开到详情",- onClick: () => B4(),+ onClick: () => z4(),children: [/* @__PURE__ */ (0, O.jsx)("span", {ref: s,"data-miniplayer-title": "",@@ -72973,7 +72973,7 @@ var W4 = ({ name: e }) => /* @__PURE__ */ (0, O.jsx)("svg", {})});});-function fOe(e, t, n) {+function pOe(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@@ -72995,7 +72995,7 @@ function fOe(e, t, n) {};e.addEventListener("transitionend", u), setTimeout(u, 600);}-function pOe(e, t) {+function mOe(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 = {@@ -73021,7 +73021,7 @@ function pOe(e, t) {} catch {}i.moved && (e.dataset.dragged = "1", setTimeout(() => {delete e.dataset.dragged;- }, 0), fOe(e, i.dx, i.dy));+ }, 0), pOe(e, i.dx, i.dy));}, o = (t) => {e.dataset.dragged && (t.stopPropagation(), t.preventDefault());}, s = (e) => {@@ -73033,49 +73033,49 @@ function pOe(e, t) {}//#endregion//#region src/react/stage/stage.tsx-var K4 = null, q4 = null, J4 = /* @__PURE__ */ new Set(), Y4 = 0, X4 = null, Z4 = !1, Q4 = !1, $4 = () => {+var G4 = null, K4 = null, q4 = /* @__PURE__ */ new Set(), J4 = 0, Y4 = null, X4 = !1, Z4 = !1, Q4 = () => {let e = document.getElementById("stage");return e instanceof HTMLDialogElement ? e : null;};-function e3() {- if (!K4) throw Error("舞台还没有接上宿主(configureStage)");- return K4;+function $4() {+ if (!G4) throw Error("舞台还没有接上宿主(configureStage)");+ return G4;}-function mOe(e) {- return J4.add(e), () => {- J4.delete(e);+function hOe(e) {+ return q4.add(e), () => {+ q4.delete(e);};}-function hOe() {- for (let e of [...J4]) e();+function gOe() {+ for (let e of [...q4]) e();}-function t3() {- (0, Et.flushSync)(hOe);+function e3() {+ (0, Et.flushSync)(gOe);}-function gOe({ view: e }) {- return /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [e ? /* @__PURE__ */ (0, O.jsx)(_Oe, { view: e }, e.generation) : null, /* @__PURE__ */ (0, O.jsx)(dOe, {})] });+function _Oe({ view: e }) {+ return /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [e ? /* @__PURE__ */ (0, O.jsx)(vOe, { view: e }, e.generation) : null, /* @__PURE__ */ (0, O.jsx)(fOe, {})] });}-var n3 = () => /* @__PURE__ */ (0, O.jsx)("div", {+var t3 = () => /* @__PURE__ */ (0, O.jsx)("div", {"data-skeleton": "detail",role: "status","aria-label": "正在读取作品详情",- dangerouslySetInnerHTML: { __html: gEe() }+ dangerouslySetInnerHTML: { __html: _Ee() }});-function r3(e) {+function n3(e) {let t = e.currentTarget;if (e.target !== t) return !1;let n = t.getBoundingClientRect();return e.clientX < n.left || e.clientX > n.right || e.clientY < n.top || e.clientY > n.bottom;}-function _Oe({ view: e }) {+function vOe({ view: e }) {let t = (0, D.useRef)(null);(0, D.useLayoutEffect)(() => {let e = t.current, n = (t) => {- t.target === e && (t.preventDefault(), i3());+ t.target === e && (t.preventDefault(), r3());};return e.addEventListener("cancel", n), () => e.removeEventListener("cancel", n);}, []);- let { phase: n, content: r } = e, i = r.kind === "item" ? /* @__PURE__ */ (0, O.jsx)(cDe, { ...r.props }) : r.kind === "jav" ? /* @__PURE__ */ (0, O.jsx)(qDe, { ...r.props }, r.props.code) : /* @__PURE__ */ (0, O.jsx)(UEe, { ...r.props }, r.props.id);+ let { phase: n, content: r } = e, i = r.kind === "item" ? /* @__PURE__ */ (0, O.jsx)(lDe, { ...r.props }) : r.kind === "jav" ? /* @__PURE__ */ (0, O.jsx)(JDe, { ...r.props }, r.props.code) : /* @__PURE__ */ (0, O.jsx)(WEe, { ...r.props }, r.props.id);return /* @__PURE__ */ (0, O.jsxs)("dialog", {ref: t,id: "stage",@@ -73083,27 +73083,27 @@ function _Oe({ view: e }) {"data-stage-kind": r.kind,"aria-label": "作品详情",onKeyDown: (e) => {- e.key !== "Escape" || e.defaultPrevented || (e.preventDefault(), i3());+ e.key !== "Escape" || e.defaultPrevented || (e.preventDefault(), r3());},onPointerDown: (e) => {- Q4 = r3(e);+ Z4 = n3(e);},onClick: (e) => {- Q4 && r3(e) && i3();+ Z4 && n3(e) && r3();},children: [- n === "skeleton" ? /* @__PURE__ */ (0, O.jsx)(n3, {}, "skeleton") : null,+ n === "skeleton" ? /* @__PURE__ */ (0, O.jsx)(t3, {}, "skeleton") : null,n === "reveal" ? /* @__PURE__ */ (0, O.jsx)("div", {"data-stage-fade": "","aria-hidden": "true",- children: /* @__PURE__ */ (0, O.jsx)(n3, {})+ children: /* @__PURE__ */ (0, O.jsx)(t3, {})}, "fade") : null,n === "skeleton" ? null : /* @__PURE__ */ (0, O.jsx)("div", {"data-stage-scroll": "",children: /* @__PURE__ */ (0, O.jsx)("div", {className: "peach-react",- children: /* @__PURE__ */ (0, O.jsx)(Yw, {- getContainer: () => $0(t.current),+ children: /* @__PURE__ */ (0, O.jsx)(Jw, {+ getContainer: () => Q0(t.current),children: i})})@@ -73111,14 +73111,14 @@ function _Oe({ view: e }) {]});}-function i3() {- q4 && !Z4 && (Z4 = !0, q4.request.actions.close());+function r3() {+ K4 && !X4 && (X4 = !0, K4.request.actions.close());}-function a3(e, t) {- let n = $4();+function i3(e, t) {+ let n = Q4();n?.toggleAttribute("data-ambient", e), n?.toggleAttribute("data-theater", t);}-function o3(e) {+function a3(e) {if (e.kind === "jav") return {kind: "jav",props: {@@ -73126,30 +73126,30 @@ function o3(e) {readOnly: e.readOnly,actions: {...e.actions,- close: i3+ close: r3}}};let t = e.resume ?? null, n = (n) => {let r = t && (e.id == null || e.id === n) ? t : null;return t = null, r;- }, r = () => e3().player.settings(), i = () => q4?.request === e;+ }, r = () => $4().player.settings(), i = () => K4?.request === e;if (e.kind === "item") {let { kind: t, resume: a, actions: o, ...s } = e, c = {...o,- close: i3,+ close: r3,present: (e, t) => {let n = e.performers;- C4({+ S4({kind: "item",item: e,title: String(e.title || e.name || ""),sub: String(n?.[0] || e.creator || "未归属")- }), a3(r().ambientMode, r().theaterMode), queueMicrotask(() => {+ }), i3(r().ambientMode, r().theaterMode), queueMicrotask(() => {i() && o.present(e, t);});},- mountPlayer: (e, t, r, i) => w4(e, {+ mountPlayer: (e, t, r, i) => C4(e, {kind: "item",item: t,autoplay: i?.autoplay,@@ -73167,18 +73167,18 @@ function o3(e) {}let { kind: a, resume: o, actions: s, ...c } = e, l = {...s,- close: i3,+ close: r3,present: (e, t) => {- C4({+ S4({kind: "follow",item: e,title: e.title || "",sub: e.author || e.source_label || ""- }), a3(t === "video" && r().ambientMode, t === "video" && r().theaterMode), queueMicrotask(() => {+ }), i3(t === "video" && r().ambientMode, t === "video" && r().theaterMode), queueMicrotask(() => {i() && s.present(e, t);});},- mountPlayer: (e, t, r, i) => w4(e, {+ mountPlayer: (e, t, r, i) => C4(e, {kind: "follow",item: t,media: r,@@ -73195,101 +73195,101 @@ function o3(e) {}};}-function vOe(e, t) {+function yOe(e, t) {let n = e.querySelector(":scope > [data-stage-fade]");e.setAttribute("data-stage-reveal", ""), e.getBoundingClientRect(), e.setAttribute("data-stage-revealing", "");let r = 0, i = () => {- clearTimeout(r), n?.removeEventListener("transitionend", a), e.removeAttribute("data-stage-reveal"), e.removeAttribute("data-stage-revealing"), q4?.generation === t && q4.phase === "reveal" && (q4 = {- ...q4,+ clearTimeout(r), n?.removeEventListener("transitionend", a), e.removeAttribute("data-stage-reveal"), e.removeAttribute("data-stage-revealing"), K4?.generation === t && K4.phase === "reveal" && (K4 = {+ ...K4,phase: "content"- }, t3());+ }, e3());}, a = (e) => {e.target === n && i();};n?.addEventListener("transitionend", a), r = window.setTimeout(i, 1e3);}-function s3(e) {- let t = $4();- return !q4 || q4.content.kind !== e || Z4 || !t?.open || t.hasAttribute("data-closing") ? null : t;+function o3(e) {+ let t = Q4();+ return !K4 || K4.content.kind !== e || X4 || !t?.open || t.hasAttribute("data-closing") ? null : t;}-async function yOe(e) {- let t = s3(e.kind);+async function bOe(e) {+ let t = o3(e.kind);if (t) {- await xOe(e, t);+ await SOe(e, t);return;}- q4 && c3({ miniplayer: !1 });- let n = ++Y4, r = new AbortController();- X4 = r, Z4 = !1, Q4 = !1, e.kind === "jav" ? z4() : D4(e.kind, e.id ?? NaN);- let i = o3(e);- q4 = {+ K4 && s3({ miniplayer: !1 });+ let n = ++J4, r = new AbortController();+ Y4 = r, X4 = !1, Z4 = !1, e.kind === "jav" ? R4() : E4(e.kind, e.id ?? NaN);+ let i = a3(e);+ K4 = {generation: n,request: e,content: i,phase: "skeleton"};- let a = i.kind === "item" ? wM(i.props, r.signal) : i.kind === "jav" ? j2(i.props, r.signal) : i2(i.props, r.signal);- if (n !== Y4 || q4?.request !== e) {+ let a = i.kind === "item" ? CM(i.props, r.signal) : i.kind === "jav" ? A2(i.props, r.signal) : r2(i.props, r.signal);+ if (n !== J4 || K4?.request !== e) {await a.catch(() => {});return;}- let o = bOe(i);- q4 = {- ...q4,+ let o = xOe(i);+ K4 = {+ ...K4,phase: o ? "content" : "skeleton"- }, t3();- let s = $4();+ }, e3();+ let s = Q4();if (!s) {await a.catch(() => {});return;}- o || Es(s), document.body.setAttribute("data-detail-open", ""), s.open || s.showModal(), e2(s);+ o || Es(s), document.body.setAttribute("data-detail-open", ""), s.open || s.showModal(), $0(s);try {await a;} catch {if (r.signal.aborted) return;}- if (n !== Y4 || !q4 || o) return;+ if (n !== J4 || !K4 || o) return;let c = !!s.querySelector(".skeleton-awaiting");- q4 = {- ...q4,+ K4 = {+ ...K4,phase: c ? "content" : "reveal"- }, t3(), c || vOe(s, n), gs(s, ":scope>:not([data-stage-fade]) [data-reveal-line]");+ }, e3(), c || yOe(s, n), gs(s, ":scope>:not([data-stage-fade]) [data-reveal-line]");let l = document.activeElement;(l === s || !s.contains(l)) && s.querySelector("#closeStage")?.focus();}-function bOe(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(uM(t)) : null;+function xOe(e) {+ if (e.kind === "jav") return !!H.getQueryData(O2(e.props.code));+ if (e.kind === "follow") return !!H.getQueryData(e2(e.props.id));+ let { queue: t, id: n } = e.props, r = t ? H.getQueryData(lM(t)) : null;if (t && !r) return !1;- let i = r ? SM(r, n) : n;- return i != null && !!H.getQueryData(lM(i));+ let i = r ? xM(r, n) : n;+ return i != null && !!H.getQueryData(cM(i));}-async function xOe(e, t) {- let n = ++Y4;- X4?.abort();+async function SOe(e, t) {+ let n = ++J4;+ Y4?.abort();let r = new AbortController();- X4 = r, Q4 = !1;- let i = o3(e);+ Y4 = r, Z4 = !1;+ let i = a3(e);try {- i.kind === "item" ? await wM(i.props, r.signal) : i.kind === "jav" ? await j2(i.props, r.signal) : await i2(i.props, r.signal);+ i.kind === "item" ? await CM(i.props, r.signal) : i.kind === "jav" ? await A2(i.props, r.signal) : await r2(i.props, r.signal);} catch {if (r.signal.aborted) return;}- if (n !== Y4 || !q4 || s3(e.kind) !== t) return;- e.kind === "jav" ? z4() : D4(e.kind, e.id ?? NaN), ll(t), BA(), q4 = {- ...q4,+ if (n !== J4 || !K4 || o3(e.kind) !== t) return;+ e.kind === "jav" ? R4() : E4(e.kind, e.id ?? NaN), ll(t), zA(), K4 = {+ ...K4,request: e,content: i,phase: "content"- }, t3(), t.removeAttribute("data-stage-reveal"), t.removeAttribute("data-stage-revealing"), t.querySelector(":scope > [data-stage-scroll]")?.scrollTo({ top: 0 }), gs(t, ":scope>:not([data-stage-fade]) [data-reveal-line]");+ }, e3(), t.removeAttribute("data-stage-reveal"), t.removeAttribute("data-stage-revealing"), t.querySelector(":scope > [data-stage-scroll]")?.scrollTo({ top: 0 }), gs(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 SOe() {- e2(null);- let e = $4();+function COe() {+ $0(null);+ let e = Q4();return !e?.open || e.hasAttribute("data-closing") || matchMedia("(prefers-reduced-motion: reduce)").matches ? Promise.resolve() : (e.setAttribute("data-closing", ""), new Promise((t) => {let n = 0, r = () => {clearTimeout(n), e.removeEventListener("animationend", i), t();@@ -73299,85 +73299,85 @@ function SOe() {e.addEventListener("animationend", i), n = window.setTimeout(r, 380);}));}-function c3({ miniplayer: e = !0 } = {}) {- if (Y4++, X4?.abort(), X4 = null, E4(e), !q4) return;- let t = $4();- t && ll(t), BA(), e2(null), t?.open && t.close(), q4 = null, Z4 = !1, Q4 = !1, t3(), C4(null), document.body.removeAttribute("data-detail-open");+function s3({ miniplayer: e = !0 } = {}) {+ if (J4++, Y4?.abort(), Y4 = null, T4(e), !K4) return;+ let t = Q4();+ t && ll(t), zA(), $0(null), t?.open && t.close(), K4 = null, X4 = !1, Z4 = !1, e3(), S4(null), document.body.removeAttribute("data-detail-open");}-function COe(e) {- q4 && (q4 = {- ...q4,- content: q4.content.kind === "item" ? {+function wOe(e) {+ K4 && (K4 = {+ ...K4,+ content: K4.content.kind === "item" ? {kind: "item",props: {- ...q4.content.props,+ ...K4.content.props,...e}- } : q4.content.kind === "jav" ? q4.content : {+ } : K4.content.kind === "jav" ? K4.content : {kind: "follow",props: {- ...q4.content.props,+ ...K4.content.props,...e.relatedLimit === void 0 ? {} : { relatedLimit: e.relatedLimit }}}- }, t3());+ }, e3());}-function wOe() {- let e = tOe(), t = e?.kind === "item" ? e.item : null, n = t ? Xa(t, e3().player.settings().javImage) : "";+function TOe() {+ let e = nOe(), t = e?.kind === "item" ? e.item : null, n = t ? Xa(t, $4().player.settings().javImage) : "";if (!n) return;- let r = T4();+ let r = w4();r ? r.poster(n) : document.getElementById("vid")?.setAttribute("poster", n);}-var TOe = {- open: yOe,- update: COe,- exit: SOe,- dispose: c3,- requestClose: i3,- repaintPoster: wOe,- isOpen: () => !!q4,- showing: () => q4 && s3(q4.content.kind) ? q4.content.kind : null,- activeVideo: () => aOe(),- mountWallPlayer: nOe,+var EOe = {+ open: bOe,+ update: wOe,+ exit: COe,+ dispose: s3,+ requestClose: r3,+ repaintPoster: TOe,+ isOpen: () => !!K4,+ showing: () => K4 && o3(K4.content.kind) ? K4.content.kind : null,+ activeVideo: () => oOe(),+ mountWallPlayer: rOe,toggleTheater: () => {- q4 && pj(!e3().player.settings().theaterMode);+ K4 && fj(!$4().player.settings().theaterMode);},- toggleMiniplayer: () => V4(),- closeMiniplayer: () => z4(),- miniplayerActive: () => k4(),- miniplayerTakesCard: (e) => U4(e),+ toggleMiniplayer: () => B4(),+ closeMiniplayer: () => R4(),+ miniplayerActive: () => O4(),+ miniplayerTakesCard: (e) => H4(e),miniplayerPlay: (e) => {- lOe(e);+ uOe(e);}};-function EOe(e) {- return K4 = e, eOe(e, {- isOpen: () => !!q4,- requestClose: i3- }), TOe;+function DOe(e) {+ return G4 = e, tOe(e, {+ isOpen: () => !!K4,+ requestClose: r3+ }), EOe;}-function DOe() {- let e = (0, D.useSyncExternalStore)(mOe, () => q4);- return K4 ? /* @__PURE__ */ (0, O.jsx)(gOe, { view: e }) : null;+function OOe() {+ let e = (0, D.useSyncExternalStore)(hOe, () => K4);+ return G4 ? /* @__PURE__ */ (0, O.jsx)(_Oe, { view: e }) : null;}//#endregion//#region src/react/stats/stats.ts-var OOe = "/api/stats", l3 = ["stats"], u3 = (e) => B(OOe, e);-async function kOe(e) {+var kOe = "/api/stats", c3 = ["stats"], l3 = (e) => B(kOe, e);+async function AOe(e) {await H.fetchQuery({- queryKey: l3,- queryFn: () => u3(e)+ queryKey: c3,+ queryFn: () => l3(e)});}-var d3 = (e) => e != null && Number.isFinite(e), AOe = (e) => d3(e) ? e.toLocaleString() : "未取得", jOe = (e, t) => d3(e) && d3(t) && t > 0 ? Math.min(100, Math.max(0, Math.round(e / t * 100))) : 0, MOe = (e, t) => {- let n = jOe(e, t);- return !n && d3(e) && e > 0 && d3(t) && t > 0 ? "<1%" : `${n}%`;-}, f3 = (e) => {- if (!d3(e)) return "未取得";+var u3 = (e) => e != null && Number.isFinite(e), jOe = (e) => u3(e) ? e.toLocaleString() : "未取得", MOe = (e, t) => u3(e) && u3(t) && t > 0 ? Math.min(100, Math.max(0, Math.round(e / t * 100))) : 0, NOe = (e, t) => {+ let n = MOe(e, t);+ return !n && u3(e) && e > 0 && u3(t) && t > 0 ? "<1%" : `${n}%`;+}, d3 = (e) => {+ if (!u3(e)) return "未取得";let t = Math.max(0, e);return t >= 172800 ? `${(t / 86400).toLocaleString(void 0, { maximumFractionDigits: 1 })} 天` : t >= 3600 ? `${(t / 3600).toFixed(1)} 小时` : `${Math.round(t / 60)} 分钟`;-}, p3 = (e) => e.duration ? Math.min(e.play_seconds / e.duration, 1) * 100 : 0, m3 = (e) => (e.max_reached || 0) * 100, NOe = (e) => e.kind === "online" ? "在线直接观看" : p3(e) < m3(e) - 25 ? "快进扫过" : e.o_count ? `高潮 ${e.o_count}` : "正常观看", POe = (e) => `${e.kind === "online" ? "/posts/" : "/assets/"}${e.id}`;-function FOe(e, t = 6) {+}, f3 = (e) => e.duration ? Math.min(e.play_seconds / e.duration, 1) * 100 : 0, p3 = (e) => (e.max_reached || 0) * 100, POe = (e) => e.kind === "online" ? "在线直接观看" : f3(e) < p3(e) - 25 ? "快进扫过" : e.o_count ? `高潮 ${e.o_count}` : "正常观看", FOe = (e) => `${e.kind === "online" ? "/posts/" : "/assets/"}${e.id}`;+function IOe(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);@@ -73387,7 +73387,7 @@ function FOe(e, t = 6) {bytes: i.reduce((e, t) => e + (t.bytes ?? 0), 0)}];}-var IOe = (e) => Math.max(1, ...e) * 1.1, LOe = (e, t) => e > 0 ? Math.max(e, t * .02) : 0, ROe = (e) => Math.max(4, Math.min(14, Math.round(90 / Math.max(1, e)))), zOe = {+var LOe = (e) => Math.max(1, ...e) * 1.1, ROe = (e, t) => e > 0 ? Math.max(e, t * .02) : 0, zOe = (e) => Math.max(4, Math.min(14, Math.round(90 / Math.max(1, e)))), BOe = {video: "视频",image: "图片",illustration: "插画",@@ -73395,18 +73395,18 @@ var IOe = (e) => Math.max(1, ...e) * 1.1, LOe = (e, t) => e > 0 ? Math.max(e, taudio: "音频",account: "账号",other: "其它文件"-}, BOe = (e) => e.map((e) => ({- name: zOe[e.k] ?? e.k,+}, VOe = (e) => e.map((e) => ({+ name: BOe[e.k] ?? e.k,value: e.n-})).sort((e, t) => t.value - e.value), VOe = {+})).sort((e, t) => t.value - e.value), HOe = {速食: "<5 分钟",短: "5–15 分钟",中: "15–40 分钟",长: ">40 分钟"-}, h3 = (e, t = {}) => e.map((e) => ({+}, m3 = (e, t = {}) => e.map((e) => ({name: t[e.k] ?? e.k,value: e.n-})), HOe = (e) => h3(e, VOe), UOe = [+})), UOe = (e) => m3(e, HOe), WOe = [[1,1,@@ -73442,13 +73442,13 @@ var IOe = (e) => Math.max(1, ...e) * 1.1, LOe = (e, t) => e > 0 ? Math.max(e, tInfinity,"≥10"]-], WOe = (e) => UOe.map(([t, n, r]) => ({+], GOe = (e) => WOe.map(([t, n, r]) => ({name: r,value: e.filter((e) => e.k >= t && e.k <= n).reduce((e, t) => e + t.n, 0)}));//#endregion//#region node_modules/d3-array/src/max.js-function g3(e, t) {+function h3(e, t) {let n;if (t === void 0) for (let t of e) t != null && (n < t || n === void 0 && t >= t) && (n = t);else {@@ -73459,7 +73459,7 @@ function g3(e, t) {}//#endregion//#region node_modules/d3-array/src/min.js-function _3(e, t) {+function g3(e, t) {let n;if (t === void 0) for (let t of e) t != null && (n > t || n === void 0 && t >= t) && (n = t);else {@@ -73470,7 +73470,7 @@ function _3(e, t) {}//#endregion//#region node_modules/d3-array/src/sum.js-function v3(e, t) {+function _3(e, t) {let n = 0;if (t === void 0) for (let t of e) (t = +t) && (n += t);else {@@ -73481,66 +73481,66 @@ function v3(e, t) {}//#endregion//#region node_modules/d3-sankey/src/align.js-function GOe(e, t) {+function KOe(e, t) {return e.sourceLinks.length ? e.depth : t - 1;}//#endregion//#region node_modules/d3-sankey/src/constant.js-function y3(e) {+function v3(e) {return function() {return e;};}//#endregion//#region node_modules/d3-sankey/src/sankey.js+function y3(e, t) {+ return x3(e.source, t.source) || e.index - t.index;+}function b3(e, t) {- return S3(e.source, t.source) || e.index - t.index;+ return x3(e.target, t.target) || e.index - t.index;}function x3(e, t) {- return S3(e.target, t.target) || e.index - t.index;-}-function S3(e, t) {return e.y0 - t.y0;}-function C3(e) {+function S3(e) {return e.value;}-function KOe(e) {+function qOe(e) {return e.index;}-function qOe(e) {+function JOe(e) {return e.nodes;}-function JOe(e) {+function YOe(e) {return e.links;}-function w3(e, t) {+function C3(e, t) {let n = e.get(t);if (!n) throw Error("missing: " + t);return n;}-function T3({ nodes: e }) {+function w3({ nodes: e }) {for (let t of e) {let e = t.y0, n = e;for (let n of t.sourceLinks) n.y0 = e + n.width / 2, e += n.width;for (let e of t.targetLinks) e.y1 = n + e.width / 2, n += e.width;}}-function YOe() {- let e = 0, t = 0, n = 1, r = 1, i = 24, a = 8, o, s = KOe, c = GOe, l, u, d = qOe, f = JOe, p = 6;+function XOe() {+ let e = 0, t = 0, n = 1, r = 1, i = 24, a = 8, o, s = qOe, c = KOe, l, u, d = JOe, f = YOe, p = 6;function m() {let e = {nodes: d.apply(null, arguments),links: f.apply(null, arguments)};- return h(e), g(e), _(e), v(e), x(e), T3(e), e;+ return h(e), g(e), _(e), v(e), x(e), w3(e), e;}m.update = function(e) {- return T3(e), e;+ return w3(e), e;}, m.nodeId = function(e) {- return arguments.length ? (s = typeof e == "function" ? e : y3(e), m) : s;+ return arguments.length ? (s = typeof e == "function" ? e : v3(e), m) : s;}, m.nodeAlign = function(e) {- return arguments.length ? (c = typeof e == "function" ? e : y3(e), m) : c;+ return arguments.length ? (c = typeof e == "function" ? e : v3(e), m) : c;}, m.nodeSort = function(e) {return arguments.length ? (l = e, m) : l;}, m.nodeWidth = function(e) {@@ -73548,9 +73548,9 @@ function YOe() {}, m.nodePadding = function(e) {return arguments.length ? (a = o = +e, m) : a;}, m.nodes = function(e) {- return arguments.length ? (d = typeof e == "function" ? e : y3(e), m) : d;+ return arguments.length ? (d = typeof e == "function" ? e : v3(e), m) : d;}, m.links = function(e) {- return arguments.length ? (f = typeof e == "function" ? e : y3(e), m) : f;+ return arguments.length ? (f = typeof e == "function" ? e : v3(e), m) : f;}, m.linkSort = function(e) {return arguments.length ? (u = e, m) : u;}, m.size = function(i) {@@ -73566,12 +73566,12 @@ function YOe() {for (let [e, r] of t.entries()) {r.index = e;let { source: t, target: i } = r;- typeof t != "object" && (t = r.source = w3(n, t)), typeof i != "object" && (i = r.target = w3(n, i)), t.sourceLinks.push(r), i.targetLinks.push(r);+ typeof t != "object" && (t = r.source = C3(n, t)), typeof i != "object" && (i = r.target = C3(n, i)), t.sourceLinks.push(r), i.targetLinks.push(r);}if (u != null) for (let { sourceLinks: t, targetLinks: n } of e) t.sort(u), n.sort(u);}function g({ nodes: e }) {- for (let t of e) t.value = t.fixedValue === void 0 ? Math.max(v3(t.sourceLinks, C3), v3(t.targetLinks, C3)) : t.fixedValue;+ for (let t of e) t.value = t.fixedValue === void 0 ? Math.max(_3(t.sourceLinks, S3), _3(t.targetLinks, S3)) : t.fixedValue;}function _({ nodes: e }) {let t = e.length, n = new Set(e), r = /* @__PURE__ */ new Set(), i = 0;@@ -73596,7 +73596,7 @@ function YOe() {}}function y({ nodes: t }) {- let r = g3(t, (e) => e.depth) + 1, a = (n - e - i) / (r - 1), o = Array(r);+ let r = h3(t, (e) => e.depth) + 1, a = (n - e - i) / (r - 1), o = Array(r);for (let n of t) {let t = Math.max(0, Math.min(r - 1, Math.floor(c.call(null, n, r))));n.layer = t, n.x0 = e + t * a, n.x1 = n.x0 + i, o[t] ? o[t].push(n) : o[t] = [n];@@ -73605,7 +73605,7 @@ function YOe() {return o;}function b(e) {- let n = _3(e, (e) => (r - t - (e.length - 1) * o) / v3(e, C3));+ let n = g3(e, (e) => (r - t - (e.length - 1) * o) / _3(e, S3));for (let i of e) {let e = t;for (let t of i) {@@ -73622,7 +73622,7 @@ function YOe() {}function x(e) {let n = y(e);- o = Math.min(a, (r - t) / (g3(n, (e) => e.length) - 1)), b(n);+ o = Math.min(a, (r - t) / (h3(n, (e) => e.length) - 1)), b(n);for (let e = 0; e < p; ++e) {let t = .99 ** e, r = Math.max(1 - t, (e + 1) / p);C(n, t, r), S(n, t, r);@@ -73641,7 +73641,7 @@ function YOe() {let i = (n / r - e.y0) * t;e.y0 += i, e.y1 += i, D(e);}- l === void 0 && i.sort(S3), w(i, n);+ l === void 0 && i.sort(x3), w(i, n);}}function C(e, t, n) {@@ -73657,7 +73657,7 @@ function YOe() {let i = (n / r - e.y0) * t;e.y0 += i, e.y1 += i, D(e);}- l === void 0 && i.sort(S3), w(i, n);+ l === void 0 && i.sort(x3), w(i, n);}}function w(e, n) {@@ -73678,12 +73678,12 @@ function YOe() {}function D({ sourceLinks: e, targetLinks: t }) {if (u === void 0) {- for (let { source: { sourceLinks: e } } of t) e.sort(x3);- for (let { target: { targetLinks: t } } of e) t.sort(b3);+ for (let { source: { sourceLinks: e } } of t) e.sort(b3);+ for (let { target: { targetLinks: t } } of e) t.sort(y3);}}function O(e) {- if (u === void 0) for (let { sourceLinks: t, targetLinks: n } of e) t.sort(x3), n.sort(b3);+ if (u === void 0) for (let { sourceLinks: t, targetLinks: n } of e) t.sort(b3), n.sort(y3);}function k(e, t) {let n = e.y0 - (e.sourceLinks.length - 1) * o / 2;@@ -73713,15 +73713,15 @@ function YOe() {}//#endregion//#region node_modules/d3-path/src/path.js-var E3 = Math.PI, D3 = 2 * E3, O3 = 1e-6, XOe = D3 - O3;-function k3() {+var T3 = Math.PI, E3 = 2 * T3, D3 = 1e-6, ZOe = E3 - D3;+function O3() {this._x0 = this._y0 = this._x1 = this._y1 = null, this._ = "";}-function A3() {- return new k3();+function k3() {+ return new O3();}-k3.prototype = A3.prototype = {- constructor: k3,+O3.prototype = k3.prototype = {+ constructor: O3,moveTo: function(e, t) {this._ += "M" + (this._x0 = this._x1 = +e) + "," + (this._y0 = this._y1 = +t);},@@ -73742,11 +73742,11 @@ k3.prototype = A3.prototype = {var a = this._x1, o = this._y1, s = n - e, c = r - t, l = a - e, u = o - t, d = l * l + u * u;if (i < 0) throw Error("negative radius: " + i);if (this._x1 === null) this._ += "M" + (this._x1 = e) + "," + (this._y1 = t);- else if (d > O3) {- if (!(Math.abs(u * s - c * l) > O3) || !i) this._ += "L" + (this._x1 = e) + "," + (this._y1 = t);+ else if (d > D3) {+ if (!(Math.abs(u * s - c * l) > D3) || !i) this._ += "L" + (this._x1 = e) + "," + (this._y1 = t);else {- var f = n - a, p = r - o, m = s * s + c * c, h = f * f + p * p, g = Math.sqrt(m), _ = Math.sqrt(d), v = i * Math.tan((E3 - Math.acos((m + d - h) / (2 * g * _))) / 2), y = v / _, b = v / g;- Math.abs(y - 1) > O3 && (this._ += "L" + (e + y * l) + "," + (t + y * u)), this._ += "A" + i + "," + i + ",0,0," + +(u * f > l * p) + "," + (this._x1 = e + b * s) + "," + (this._y1 = t + b * c);+ var f = n - a, p = r - o, m = s * s + c * c, h = f * f + p * p, g = Math.sqrt(m), _ = Math.sqrt(d), v = i * Math.tan((T3 - Math.acos((m + d - h) / (2 * g * _))) / 2), y = v / _, b = v / g;+ Math.abs(y - 1) > D3 && (this._ += "L" + (e + y * l) + "," + (t + y * u)), this._ += "A" + i + "," + i + ",0,0," + +(u * f > l * p) + "," + (this._x1 = e + b * s) + "," + (this._y1 = t + b * c);}}},@@ -73754,7 +73754,7 @@ k3.prototype = A3.prototype = {e = +e, t = +t, n = +n, a = !!a;var o = n * Math.cos(r), s = n * Math.sin(r), c = e + o, l = t + s, u = 1 ^ a, d = a ? r - i : i - r;if (n < 0) throw Error("negative radius: " + n);- this._x1 === null ? this._ += "M" + c + "," + l : (Math.abs(this._x1 - c) > O3 || Math.abs(this._y1 - l) > O3) && (this._ += "L" + c + "," + l), n && (d < 0 && (d = d % D3 + D3), d > XOe ? this._ += "A" + n + "," + n + ",0,1," + u + "," + (e - o) + "," + (t - s) + "A" + n + "," + n + ",0,1," + u + "," + (this._x1 = c) + "," + (this._y1 = l) : d > O3 && (this._ += "A" + n + "," + n + ",0," + +(d >= E3) + "," + u + "," + (this._x1 = e + n * Math.cos(i)) + "," + (this._y1 = t + n * Math.sin(i))));+ this._x1 === null ? this._ += "M" + c + "," + l : (Math.abs(this._x1 - c) > D3 || Math.abs(this._y1 - l) > D3) && (this._ += "L" + c + "," + l), n && (d < 0 && (d = d % E3 + E3), d > ZOe ? this._ += "A" + n + "," + n + ",0,1," + u + "," + (e - o) + "," + (t - s) + "A" + n + "," + n + ",0,1," + u + "," + (this._x1 = c) + "," + (this._y1 = l) : d > D3 && (this._ += "A" + n + "," + n + ",0," + +(d >= T3) + "," + u + "," + (this._x1 = e + n * Math.cos(i)) + "," + (this._y1 = t + n * Math.sin(i))));},rect: function(e, t, n, r) {this._ += "M" + (this._x0 = this._x1 = +e) + "," + (this._y0 = this._y1 = +t) + "h" + +n + "v" + +r + "h" + -n + "Z";@@ -73765,98 +73765,98 @@ k3.prototype = A3.prototype = {};//#endregion//#region node_modules/d3-shape/src/constant.js-function j3(e) {+function A3(e) {return function() {return e;};}//#endregion//#region node_modules/d3-shape/src/point.js-function ZOe(e) {+function QOe(e) {return e[0];}-function QOe(e) {+function $Oe(e) {return e[1];}//#endregion//#region node_modules/d3-shape/src/array.js-var $Oe = Array.prototype.slice;+var eke = Array.prototype.slice;//#endregion//#region node_modules/d3-shape/src/link/index.js-function eke(e) {+function tke(e) {return e.source;}-function tke(e) {+function nke(e) {return e.target;}-function nke(e) {- var t = eke, n = tke, r = ZOe, i = QOe, a = null;+function rke(e) {+ var t = tke, n = nke, r = QOe, i = $Oe, a = null;function o() {- var o, s = $Oe.call(arguments), c = t.apply(this, s), l = n.apply(this, s);- if (a ||= o = A3(), e(a, +r.apply(this, (s[0] = c, s)), +i.apply(this, s), +r.apply(this, (s[0] = l, s)), +i.apply(this, s)), o) return a = null, o + "" || null;+ var o, s = eke.call(arguments), c = t.apply(this, s), l = n.apply(this, s);+ if (a ||= o = k3(), e(a, +r.apply(this, (s[0] = c, s)), +i.apply(this, s), +r.apply(this, (s[0] = l, s)), +i.apply(this, s)), o) return a = null, o + "" || null;}return o.source = function(e) {return arguments.length ? (t = e, o) : t;}, o.target = function(e) {return arguments.length ? (n = e, o) : n;}, o.x = function(e) {- return arguments.length ? (r = typeof e == "function" ? e : j3(+e), o) : r;+ return arguments.length ? (r = typeof e == "function" ? e : A3(+e), o) : r;}, o.y = function(e) {- return arguments.length ? (i = typeof e == "function" ? e : j3(+e), o) : i;+ return arguments.length ? (i = typeof e == "function" ? e : A3(+e), o) : i;}, o.context = function(e) {return arguments.length ? (a = e ?? null, o) : a;}, o;}-function rke(e, t, n, r, i) {+function ike(e, t, n, r, i) {e.moveTo(t, n), e.bezierCurveTo(t = (t + r) / 2, n, t, i, r, i);}-function ike() {- return nke(rke);+function ake() {+ return rke(ike);}//#endregion//#region node_modules/d3-sankey/src/sankeyLinkHorizontal.js-function ake(e) {+function oke(e) {return [e.source.x1, e.y0];}-function oke(e) {+function ske(e) {return [e.target.x0, e.y1];}-function ske() {- return ike().source(ake).target(oke);+function cke() {+ return ake().source(oke).target(ske);}//#endregion//#region src/react/taste/taste.ts-var cke = "/api/taste", M3 = "/api/taste/refresh", lke = "/api/taste/import", N3 = "/api/taste/source", P3 = (e) => ["taste", e], uke = ["taste", "refresh"], dke = [+var lke = "/api/taste", j3 = "/api/taste/refresh", uke = "/api/taste/import", M3 = "/api/taste/source", N3 = (e) => ["taste", e], dke = ["taste", "refresh"], fke = [["7d", "最近 7 天"],["30d", "最近 30 天"],["90d", "最近 90 天"],["365d", "最近一年"],["all", "全部时间"]-], fke = 2e3, pke = (e) => e?.stale && !e.error ? fke : !1, mke = (e) => e ? new Date(e).toLocaleString("zh-CN", {+], pke = 2e3, mke = (e) => e?.stale && !e.error ? pke : !1, hke = (e) => e ? new Date(e).toLocaleString("zh-CN", {month: "numeric",day: "numeric",hour: "2-digit",minute: "2-digit"-}) : "—", hke = (e, t) => V(N3, {+}) : "—", gke = (e, t) => V(M3, {...e,window: t-}), F3 = (e, t, n = !1) => B(`${cke}?window=${e}${n ? "&retry=1" : ""}`, t), gke = (e) => B(M3, e);-async function _ke(e, t) {+}), P3 = (e, t, n = !1) => B(`${lke}?window=${e}${n ? "&retry=1" : ""}`, t), _ke = (e) => B(j3, e);+async function vke(e, t) {await H.fetchQuery({- queryKey: P3(e),- queryFn: () => F3(e, t)+ queryKey: N3(e),+ queryFn: () => P3(e, t)});}-var vke = (e) => V(M3, {+var yke = (e) => V(j3, {window: e,background: !0-}), yke = (e, t) => V(N3, {+}), bke = (e, t) => V(M3, {operation: "remove",source_key: e,window: t});-async function bke(e) {- let t = await fetch(lke, {+async function xke(e) {+ let t = await fetch(uke, {method: "POST",credentials: "same-origin",headers: {@@ -73874,52 +73874,52 @@ async function bke(e) {}return n;}-var xke = 1e4, I3 = (e) => e ? new Date(e).toLocaleDateString("zh-CN") : "—";-function Ske(e) {+var Ske = 1e4, F3 = (e) => e ? new Date(e).toLocaleDateString("zh-CN") : "—";+function Cke(e) {let t = `${Number(e.history_sources || 0).toLocaleString()} 个数据源`;if (!e.range_start && !e.range_end) return t;let n = e.range_start?.slice(0, 4) === e.range_end?.slice(0, 4), r = (e) => e && n ? new Date(e).toLocaleDateString("zh-CN", {month: "numeric",day: "numeric"- }) : I3(e);+ }) : F3(e);return `${t} · ${r(e.range_start)}–${r(e.range_end)}`;}-var Cke = f3, wke = (e) => e.filter((e) => Number.isFinite(Number(e.score)) && Number(e.score) > 0).sort((e, t) => Number(t.score) - Number(e.score)), Tke = (e) => Number(e.web_visits ?? e.score ?? e.visits ?? e.peach_items ?? 0);-function Eke(e) {+var wke = d3, Tke = (e) => e.filter((e) => Number.isFinite(Number(e.score)) && Number(e.score) > 0).sort((e, t) => Number(t.score) - Number(e.score)), Eke = (e) => Number(e.web_visits ?? e.score ?? e.visits ?? e.peach_items ?? 0);+function Dke(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 Dke(e) {- let t = e.map(Tke), n = Math.max(1, ...t);+function Oke(e) {+ let t = e.map(Eke), n = Math.max(1, ...t);return t.map((e) => Math.max(0, Math.min(100, e / n * 100)));}-var L3 = (e, t) => e.filter((e) => Number.isFinite(Number(e.score)) && Number(e.score) > 0).map((e) => ({+var I3 = (e, t) => e.filter((e) => Number.isFinite(Number(e.score)) && Number(e.score) > 0).map((e) => ({name: e.name,value: Number(e.score)})).sort((e, t) => t.value - e.value).slice(0, t);-function Oke(e) {- let t = L3(e, 6);+function kke(e) {+ let t = I3(e, 6);return t.length < 3 ? [] : t;}-var R3 = {+var L3 = {width: 720,height: 435-}, kke = {+}, Ake = {source: 145,target: 545-}, z3 = 30, Ake = 240;-function B3(e, t, n) {+}, R3 = 30, jke = 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 jke(e = []) {+function Mke(e = []) {let t = e.filter((e) => e.source && e.target && Number.isFinite(e.value) && e.value > 0);if (!t.length) return null;- let n = B3(t, "source", (e) => `其余 ${e.toLocaleString()} 个网站`), r = B3(t, "target", (e) => `其余 ${e.toLocaleString()} 位创作者`), i = /* @__PURE__ */ new Map();+ let n = z3(t, "source", (e) => `其余 ${e.toLocaleString()} 个网站`), r = z3(t, "target", (e) => `其余 ${e.toLocaleString()} 位创作者`), i = /* @__PURE__ */ new Map();for (let e of t) {let t = n(e.source), a = r(e.target), o = JSON.stringify([t, a]), s = i.get(o);s ? s.value += e.value : i.set(o, {@@ -73928,7 +73928,7 @@ function jke(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 + Ake), u = YOe().nodeId((e) => e.id).nodeWidth(10).nodePadding(z3).extent([[155, 16], [535, l]])({+ let a = [...i.values()], o = [...new Set(a.map((e) => e.source))], s = [...new Set(a.map((e) => e.target))], c = Math.max(o.length, s.length), l = Math.max(404, 16 + (c - 1) * R3 + jke), u = XOe().nodeId((e) => e.id).nodeWidth(10).nodePadding(R3).extent([[155, 16], [535, l]])({nodes: [...o.map((e) => ({id: `source:${e}`,name: e,@@ -73943,7 +73943,7 @@ function jke(e = []) {target: `target:${e.target}`,value: e.value}))- }), d = a.reduce((e, t) => e + t.value, 0), f = ske();+ }), d = a.reduce((e, t) => e + t.value, 0), f = cke();return {nodes: u.nodes.map((e) => ({id: e.id,@@ -73971,16 +73971,16 @@ function jke(e = []) {};}),total: d,- height: l + R3.height - 404+ height: l + L3.height - 404};}-var Mke = (e) => Cn(e, 17), V3 = {+var Nke = (e) => Cn(e, 17), B3 = {performers: "艺人",creators: "卖家",studios: "厂牌",agencies: "事务所",tags: "标签"-}, Nke = [[+}, Pke = [["big","大图 · 竖幅头像","maximize"@@ -73988,7 +73988,7 @@ var Mke = (e) => Cn(e, 17), V3 = {"compact","紧凑 · 圆形头像","layout-grid"-]], Pke = [[+]], Fke = [["big","大图 · 完整标识","maximize"@@ -73996,7 +73996,7 @@ var Mke = (e) => Cn(e, 17), V3 = {"compact","紧凑 · 圆形标识","layout-grid"-]], Fke = [[+]], Ike = [["studios","厂牌","clapperboard"@@ -74004,7 +74004,7 @@ var Mke = (e) => Cn(e, 17), V3 = {"agencies","事务所","briefcase"-]], Ike = [[+]], Lke = [["local","本地","hard-drive"@@ -74012,7 +74012,7 @@ var Mke = (e) => Cn(e, 17), V3 = {"online","在线","rss"-]], Lke = [+]], Rke = [["performers","艺人",@@ -74028,7 +74028,7 @@ var Mke = (e) => Cn(e, 17), V3 = {"在线","rss"]-], Rke = [[+], zke = [["cloud","标签云","tags"@@ -74036,8 +74036,8 @@ var Mke = (e) => Cn(e, 17), V3 = {"alphabet","字母表","text-aa"-]], H3 = (e) => e === "compact" ? "compact" : "big";-function U3(e, t) {+]], V3 = (e) => e === "compact" ? "compact" : "big";+function H3(e, t) {let n = new URLSearchParams(t);return {kind: e,@@ -74047,7 +74047,7 @@ function U3(e, t) {category: n.get("category") || "all"};}-var W3 = (e, t, n) => os(e.map(([e, t, n]) => ({+var U3 = (e, t, n) => os(e.map(([e, t, n]) => ({value: e,label: t,symbol: n@@ -74055,12 +74055,12 @@ var W3 = (e, t, n) => os(e.map(([e, t, n]) => ({active: t,label: n,className: "indextabs"-}), zke = (e) => `<div class="board-filter-frame" data-filter-frame>+}), Bke = (e) => `<div class="board-filter-frame" data-filter-frame><div class="tagbar" data-filter-row="top" data-skeleton-tier="pill" aria-label="标签类型"></div><div class="count" data-filter-row="bottom"><span class="mono"><span class="countskeleton"></span></span>- ${fc("tag-view", "标签视图", Rke, e)}</div></div>`;-function Bke({ kind: e, q: t, scope: n, view: r, category: i }, a) {- let o = V3[e] || "标签", s = e !== "tags", c = e === "studios" || e === "agencies", l = s ? fc("people-layout", o + "索引版式", c ? Pke : Nke, a) : "";+ ${fc("tag-view", "标签视图", zke, e)}</div></div>`;+function Vke({ kind: e, q: t, scope: n, view: r, category: i }, a) {+ let o = B3[e] || "标签", s = e !== "tags", c = e === "studios" || e === "agencies", l = s ? fc("people-layout", o + "索引版式", c ? Fke : Pke, 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}@@ -74072,27 +74072,27 @@ function Bke({ 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">${Wo("", t, "过滤" + o)}</div></div>- ${e === "tags" ? W3(Ike, n, "词表") : e === "performers" || e === "creators" ? W3(Lke, e === "performers" && n === "online" ? "online" : e, "人物名册") : c ? W3(Fke, e, "公司类型") : ""}- ${e === "tags" ? zke(r) : ""}- ${e === "performers" && n !== "online" ? Pbe(i) : ""}+ ${e === "tags" ? U3(Lke, n, "词表") : e === "performers" || e === "creators" ? U3(Rke, e === "performers" && n === "online" ? "online" : e, "人物名册") : c ? U3(Ike, e, "公司类型") : ""}+ ${e === "tags" ? Bke(r) : ""}+ ${e === "performers" && n !== "online" ? Fbe(i) : ""}${ys({kind: e,layout: a,mode: r})}`;}-var Vke = (e) => e.match(/data-skeleton="([^"]*)"/)?.[1] || "";-function G3(e, t, n) {- let r = Bke(t, n);- e.querySelector("[data-skeleton]")?.dataset.skeleton !== Vke(r) && (e.innerHTML = r, Es(e));+var Hke = (e) => e.match(/data-skeleton="([^"]*)"/)?.[1] || "";+function W3(e, t, n) {+ let r = Vke(t, n);+ e.querySelector("[data-skeleton]")?.dataset.skeleton !== Hke(r) && (e.innerHTML = r, Es(e));}//#endregion//#region src/react/router/pages/index-entity.tsx-var Hke = () => Ul, Uke = () => Ol, K3 = () => document.getElementById("index");-function q3(e, t, n = {}) {- let r = (0, D.useSyncExternalStore)(eu, Hke);- VB();- let i = bV($V.navigation.location.pathname), a = (0, D.useRef)({+var Uke = () => Ul, Wke = () => Ol, G3 = () => document.getElementById("index");+function K3(e, t, n = {}) {+ let r = (0, D.useSyncExternalStore)(eu, Uke);+ BB();+ let i = yV(QV.navigation.location.pathname), a = (0, D.useRef)({mounted: !0,epoch: -1,opens: -1,@@ -74117,7 +74117,7 @@ function q3(e, t, n = {}) {let t = a.current;if (!t.mounted) return;let n = t.epoch !== e || t.opens !== Ul, r = t.opens !== Ul;- if (t.epoch = e, t.opens = Ul, bV($V.navigation.location.pathname)) {+ if (t.epoch = e, t.opens = Ul, yV(QV.navigation.location.pathname)) {n && o.current.options.onCovered?.();return;}@@ -74138,13 +74138,13 @@ function q3(e, t, n = {}) {i]);}-async function Wke(e, t, n, r) {- let i = K3();+async function Gke(e, t, n, r) {+ let i = G3();if (!i) return;let a = `/${t}`;e.surfaceChanged("index", a);- let o = U3(t, n), s = H3(Xk().value.peopleLayout);- G3(i, o, s), await HV(a, {+ let o = H3(t, n), s = V3(Yk().value.peopleLayout);+ W3(i, o, s), await VV(a, {...o,layout: s,selectMode: Ol,@@ -74154,23 +74154,23 @@ async function Wke(e, t, n, r) {isCurrent: r}) && r() && e.surfaceShown?.("index", a);}-function Gke(e) {- let t = K3(), n = t ? RV(t) : null;+function Kke(e) {+ let t = G3(), n = t ? LV(t) : null;return !!t && !t.hidden && !!n && n.path === e && n.host.isConnected;}-function Kke({ epoch: e }) {- let t = (0, D.useContext)(pU), n = VB(), r = n.pathname.split("/").filter(Boolean)[0];- return q3(e, (e, i) => {- t && Wke(t, r, n.search, i);- }, { shown: () => Gke(`/${r}`) }), null;+function qke({ epoch: e }) {+ let t = (0, D.useContext)(fU), n = BB(), r = n.pathname.split("/").filter(Boolean)[0];+ return K3(e, (e, i) => {+ t && Gke(t, r, n.search, i);+ }, { shown: () => Kke(`/${r}`) }), null;}-function qke() {- let e = fU(), t = (0, D.useSyncExternalStore)(eu, Uke), n = (0, D.useRef)(t);+function Jke() {+ let e = dU(), t = (0, D.useSyncExternalStore)(eu, Wke), n = (0, D.useRef)(t);return (0, D.useEffect)(() => {- n.current !== t && (n.current = t, window.location.pathname === "/tags" && UV(K3(), { selectMode: t }));- }, [t]), /* @__PURE__ */ (0, O.jsx)(Kke, { epoch: e }, e);+ n.current !== t && (n.current = t, window.location.pathname === "/tags" && HV(G3(), { selectMode: t }));+ }, [t]), /* @__PURE__ */ (0, O.jsx)(qke, { epoch: e }, e);}-function J3(e) {+function q3(e) {let t;try {t = decodeURIComponent(e);@@ -74184,9 +74184,9 @@ function J3(e) {name: a} : null;}-var Y3 = /* @__PURE__ */ new WeakMap();-function Jke(e) {- let t = Y3.get(e);+var J3 = /* @__PURE__ */ new WeakMap();+function Yke(e) {+ let t = J3.get(e);return t || (t = {helpers: {...e.grid.helpers,@@ -74196,14 +74196,14 @@ function Jke(e) {...e.grid.actions,revealSource: e.revealSource}- }, Y3.set(e, t)), t;+ }, J3.set(e, t)), t;}-function X3() {- let e = K3(), t = e ? RV(e) : null;+function Y3() {+ let e = G3(), t = e ? LV(e) : null;return !!t && t.path.endsWith("/*") && t.host.isConnected;}-async function Yke(e, t, n, r, i, a, o) {- let s = K3();+async function Xke(e, t, n, r, i, a, o) {+ let s = G3();if (!s) return;let { segment: c, kind: l, name: u } = n;if (e.surfaceChanged("entity", r), await t.loading(l, u, a), !a()) return;@@ -74217,7 +74217,7 @@ async function Yke(e, t, n, r, i, a, o) {}, h = t.props(l, u, i), g = {...h,hosts: m,- card: Jke(e),+ card: Yke(e),resolvedEntity: o,actions: {...h.actions,@@ -74226,18 +74226,18 @@ async function Yke(e, t, n, r, i, a, o) {}}};- await HV(`/${c}/*`, g, {+ await VV(`/${c}/*`, g, {container: s,isCurrent: a,place: (e) => (e.replaceChildren(...f), p.firstElementChild)- }) && a() && X3() && (e.surfaceShown?.("entity", r), window.scrollTo({+ }) && a() && Y3() && (e.surfaceShown?.("entity", r), window.scrollTo({top: 0,behavior: "smooth"}));}-function Xke({ target: e }) {- let t = (0, D.useContext)(pU), n = fU(), r = VB();- return q3(n, (n, i) => {+function Zke({ target: e }) {+ let t = (0, D.useContext)(fU), n = dU(), r = BB();+ return K3(n, (n, i) => {let a = t?.entity;t && a && (async () => {let o = new URLSearchParams({ kind: e.kind });@@ -74253,9 +74253,9 @@ function Xke({ target: e }) {}).catch(() => null);if (!i()) return;if (s?.redirect) {- eH(tn(s.redirect.kind, s.redirect.name, s.redirect.id) + r.search + r.hash, {+ $V(tn(s.redirect.kind, s.redirect.name, s.redirect.id) + r.search + r.hash, {replace: !0,- state: $V.navigation.location.state+ state: QV.navigation.location.state});return;}@@ -74264,23 +74264,23 @@ function Xke({ target: e }) {return;}let c = String(s.canonical_name || e.name), l = tn(e.kind, c, Number(s.id));- l === r.pathname ? (n || !a.refresh(e.kind, c, r.search)) && Yke(t, a, {+ l === r.pathname ? (n || !a.refresh(e.kind, c, r.search)) && Xke(t, a, {...e,name: c- }, r.pathname, r.search, i, s) : eH(l + r.search + r.hash, {+ }, r.pathname, r.search, i, s) : $V(l + r.search + r.hash, {replace: !0,- state: $V.navigation.location.state+ state: QV.navigation.location.state});})();- }, { shown: () => X3() && !K3()?.hidden }), null;+ }, { shown: () => Y3() && !G3()?.hidden }), null;}-function Zke() {- let e = J3(VB().pathname);- return e ? /* @__PURE__ */ (0, O.jsx)(Xke, { target: e }, JSON.stringify([e.kind, e.name])) : null;+function Qke() {+ let e = q3(BB().pathname);+ return e ? /* @__PURE__ */ (0, O.jsx)(Zke, { target: e }, JSON.stringify([e.kind, e.name])) : null;}//#endregion//#region src/react/jav/jav-header.tsx-function Z3({ tab: e, navigate: t, find: n }) {+function X3({ tab: e, navigate: t, find: n }) {return /* @__PURE__ */ (0, O.jsxs)("div", {className: "flex w-full flex-col gap-4",children: [/* @__PURE__ */ (0, O.jsxs)("div", {@@ -74294,25 +74294,25 @@ function Z3({ tab: e, navigate: t, find: n }) {onClick: n,children: "查找资源"})]- }), /* @__PURE__ */ (0, O.jsx)(VQ, {- tabs: C$.map(([e, t]) => ({+ }), /* @__PURE__ */ (0, O.jsx)(BQ, {+ tabs: S$.map(([e, t]) => ({value: e,label: t})),value: e,label: "JAV 分区",className: "",- onChange: (e) => t(WCe(e))+ onChange: (e) => t(GCe(e))})]});}-function Qke({ navigate: e, receipt: t }) {+function $ke({ navigate: e, receipt: t }) {let [n, r] = (0, D.useState)(null);- return /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)(Z3, {+ return /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)(X3, {tab: "library",navigate: e,find: () => r({})- }), /* @__PURE__ */ (0, O.jsx)(J2, {+ }), /* @__PURE__ */ (0, O.jsx)(q2, {prefill: n,close: () => r(null),receipt: t@@ -74320,21 +74320,21 @@ function Qke({ navigate: e, receipt: t }) {}//#endregion//#region src/react/router/pages/catalog.tsx-var $ke = () => Ul, Q3 = $V.navigation.seq, $3 = $V.navigation.openEpoch, e6 = $V.navigation.location.pathname, t6 = {- seq: Q3,+var eAe = () => Ul, Z3 = QV.navigation.seq, Q3 = QV.navigation.openEpoch, $3 = QV.navigation.location.pathname, e6 = {+ seq: Z3,claimed: !0,- from: e6+ from: $3};-$V.listen((e) => {- t6 = {+QV.listen((e) => {+ e6 = {seq: e.seq,- claimed: e.openEpoch === $3,- from: e6- }, $3 = e.openEpoch, e6 = e.location.pathname;+ claimed: e.openEpoch === Q3,+ from: $3+ }, Q3 = e.openEpoch, $3 = e.location.pathname;});-var n6 = !1;-function r6(e) {- let { seq: t, openEpoch: n, location: r } = $V.navigation, i = bV(r.pathname), a = nH() ?? r, o = U ?? {};+var t6 = !1;+function n6(e) {+ let { seq: t, openEpoch: n, location: r } = QV.navigation, i = yV(r.pathname), a = tH() ?? r, o = U ?? {};return {seq: t,epoch: n,@@ -74345,7 +74345,7 @@ function r6(e) {opened: e};}-function eAe(e, t, n, r) {+function tAe(e, t, n, r) {let i = { ...U };if (e === "/trash") return {...i,@@ -74356,7 +74356,7 @@ function eAe(e, t, n, r) {state: "trash",q: ""};- let a = new URLSearchParams(t), { defaultSort: o, defaultSortDirection: s } = Xk().value;+ let a = new URLSearchParams(t), { defaultSort: o, defaultSortDirection: s } = Yk().value;return {...i,loc: a.get("loc") ?? r.defaultLoc(),@@ -74370,7 +74370,7 @@ function eAe(e, t, n, r) {dur_max: a.get("dur_max") || "",orient: a.get("orient") || "",state: Xt[e] || a.get("state") || "",- ...jk(a.get("sort"), a.get("dir"), o, s),+ ...Ak(a.get("sort"), a.get("dir"), o, s),seed: a.get("seed") || (n ? En() : i.seed || En()),q: a.get("q") || "",jav: a.get("jav") || "",@@ -74381,13 +74381,13 @@ function eAe(e, t, n, r) {folder_recursive: a.get("folder_recursive") === "0" ? "0" : ""};}-function tAe(e, t) {- let n = { ...e }, r = r6(n.opened);+function nAe(e, t) {+ let n = { ...e }, r = n6(n.opened);Object.assign(e, r);let i = t.catalog;if (!i || r.opens === 0) return;if (r.covered) {- nH() || i.fill();+ tH() || i.fill();return;}let a = !1;@@ -74397,41 +74397,41 @@ function tAe(e, t) {i.load();return;}- r.epoch !== n.epoch && (a = $V.navigation.action === "POP" && t6.from !== "/");+ r.epoch !== n.epoch && (a = QV.navigation.action === "POP" && e6.from !== "/");}- let { pathname: o, search: s } = $V.navigation.location;+ let { pathname: o, search: s } = QV.navigation.location;if (o === "/" && new URLSearchParams(s).get("state") === "ads") {- let { kind: e, view: t } = l$(s);- n6 = !0, eH(u$(e, t), { replace: !0 });+ let { kind: e, view: t } = c$(s);+ t6 = !0, $V(l$(e, t), { replace: !0 });return;}- let c = n6;- n6 = !1, a &&= o === "/", e.opened = !0, Ql({ state: eAe(o, s, a, i) }), i.open(o, {+ let c = t6;+ t6 = !1, a &&= o === "/", e.opened = !0, Ql({ state: tAe(o, s, a, i) }), i.open(o, {entering: a,retitle: c});}-function nAe(e) {- return Qt(e) || e === "/trash" || bV(e) || e === "/immerse" || !!J3(e);+function rAe(e) {+ return Qt(e) || e === "/trash" || yV(e) || e === "/immerse" || !!q3(e);}-function rAe() {- let e = (0, D.useContext)(pU), t = fU(), n = (0, D.useSyncExternalStore)(eu, $ke), r = VB(), i = (0, D.useRef)(null), a = (0, D.useRef)({+function iAe() {+ let e = (0, D.useContext)(fU), t = dU(), n = (0, D.useSyncExternalStore)(eu, eAe), r = BB(), i = (0, D.useRef)(null), a = (0, D.useRef)({mounted: !0,queued: !1});return (0, D.useEffect)(() => {let t = a.current;t.mounted = !0;- let n = r6(!bV($V.navigation.location.pathname));- return !n.covered && n.opens > 0 && (n6 || t6.seq === Q3 ? n.opens = -1 : t6.claimed ? n.seq = -1 : n.epoch = -1), i.current = n, () => {+ let n = n6(!yV(QV.navigation.location.pathname));+ return !n.covered && n.opens > 0 && (t6 || e6.seq === Z3 ? n.opens = -1 : e6.claimed ? n.seq = -1 : n.epoch = -1), i.current = n, () => {t.mounted = !1, queueMicrotask(() => {- e?.catalog && !nAe($V.navigation.location.pathname) && e.catalog.release();+ e?.catalog && !rAe(QV.navigation.location.pathname) && e.catalog.release();});};}, []), (0, D.useEffect)(() => {let t = a.current;!t.queued && e && (t.queued = !0, queueMicrotask(() => {- t.queued = !1, t.mounted && i.current && tAe(i.current, e);+ t.queued = !1, t.mounted && i.current && nAe(i.current, e);}));}, [t,@@ -74440,8 +74440,8 @@ function rAe() {e]), null;}-function i6() {- let { pathname: e, search: t } = VB();+function r6() {+ let { pathname: e, search: t } = BB();(0, D.useLayoutEffect)(() => {if (e !== "/wall") return;document.body.setAttribute("data-wall-open", ""), document.documentElement.removeAttribute("data-wall-entry");@@ -74454,15 +74454,15 @@ function i6() {});};}, [e]);- let n = (0, D.useContext)(pU), r = document.getElementById("javLibraryHeader"), i = Qt(e) && new URLSearchParams(t).get("jav") === "1";+ let n = (0, D.useContext)(fU), r = document.getElementById("javLibraryHeader"), i = Qt(e) && new URLSearchParams(t).get("jav") === "1";return (0, D.useLayoutEffect)(() => {if (r) return r.hidden = !i, () => {r.hidden = !0;};- }, [r, i]), bV(e) && !yV(e) ? null : /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [- /* @__PURE__ */ (0, O.jsx)(rAe, {}, e === "/junk-files" ? "/junk-files" : "/"),- Qt(e) ? /* @__PURE__ */ (0, O.jsx)(xU, {}) : null,- i && r && n ? (0, Et.createPortal)(/* @__PURE__ */ (0, O.jsx)(Qke, {+ }, [r, i]), yV(e) && !vV(e) ? null : /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [+ /* @__PURE__ */ (0, O.jsx)(iAe, {}, e === "/junk-files" ? "/junk-files" : "/"),+ Qt(e) ? /* @__PURE__ */ (0, O.jsx)(bU, {}) : null,+ i && r && n ? (0, Et.createPortal)(/* @__PURE__ */ (0, O.jsx)($ke, {navigate: n.navigate,receipt: (e) => n.receipt(e)}), r) : null@@ -74470,21 +74470,21 @@ function i6() {}//#endregion//#region src/react/router/pages/follow.tsx-var a6 = () => document.getElementById("stats"), iAe = () => Yl;-function aAe(e) {+var i6 = () => document.getElementById("stats"), aAe = () => Yl;+function oAe(e) {let t = document.createElement("div");return t.className = "peach-react", _s(e, () => {e.textContent = "", e.append(t);}), t;}-async function oAe(e, t) {- let n = a6(), r = e.follow;+async function sAe(e, t) {+ let n = i6(), r = e.follow;if (!n || !r || r.refresh()) return;let i = Jl;- e.surfaceChanged("follow", "/follow"), p2(n, r.skeleton()), await HV("/follow", r.props(), {+ e.surfaceChanged("follow", "/follow"), f2(n, r.skeleton()), await VV("/follow", r.props(), {container: n,isCurrent: t,- place: aAe+ place: oAe}), t() && window.scrollTo(i ? {top: i,behavior: "instant"@@ -74493,32 +74493,32 @@ async function oAe(e, t) {behavior: "smooth"});}-function sAe() {- let e = a6(), t = e ? RV(e) : null;+function cAe() {+ let e = i6(), t = e ? LV(e) : null;return !!e && !e.hidden && !!t && t.path === "/follow" && t.host.isConnected;}-function cAe() {- let e = (0, D.useContext)(pU);- return q3(fU(), (t, n) => {- e && oAe(e, n);+function lAe() {+ let e = (0, D.useContext)(fU);+ return K3(dU(), (t, n) => {+ e && sAe(e, n);}, {- shown: sAe,+ shown: cAe,onCovered: () => {- $V.navigation.location.pathname.startsWith("/posts/") && e?.follow?.ground();+ QV.navigation.location.pathname.startsWith("/posts/") && e?.follow?.ground();}}), null;}-function o6(e) {- let t = e ? RV(e) : null;+function a6(e) {+ let t = e ? LV(e) : null;return !!t && t.path === "/playlists" && t.host.isConnected;}-async function lAe(e, t) {- let n = a6();- n && (e.surfaceChanged("playlists", "/playlists"), p2(n, d2("/playlists", {+async function uAe(e, t) {+ let n = i6();+ n && (e.surfaceChanged("playlists", "/playlists"), f2(n, u2("/playlists", {followLayout: "",followSort: "",followDir: ""- })), await HV("/playlists", { revision: Yl }, {+ })), await VV("/playlists", { revision: Yl }, {container: n,isCurrent: t}), t() && window.scrollTo({@@ -74526,39 +74526,39 @@ async function lAe(e, t) {behavior: "smooth"}));}-function uAe() {- let e = (0, D.useContext)(pU), t = (0, D.useSyncExternalStore)(eu, iAe), n = (0, D.useRef)(t);+function dAe() {+ let e = (0, D.useContext)(fU), t = (0, D.useSyncExternalStore)(eu, aAe), n = (0, D.useRef)(t);return (0, D.useEffect)(() => {if (n.current === t) return;n.current = t;- let e = a6();- o6(e) && UV(e, { revision: t });- }, [t]), q3(fU(), (t, n) => {- e && lAe(e, n);+ let e = i6();+ a6(e) && HV(e, { revision: t });+ }, [t]), K3(dU(), (t, n) => {+ e && uAe(e, n);}, { shown: () => {- let e = a6();- return o6(e) && !e.hidden;+ let e = i6();+ return a6(e) && !e.hidden;} }), null;}//#endregion//#region src/react/router/pages/immerse.tsx-function dAe() {- let e = new URLSearchParams($V.navigation.location.search).get("id");+function fAe() {+ let e = new URLSearchParams(QV.navigation.location.search).get("id");return /^\d+$/.test(e || "") ? Number(e) : void 0;}-function fAe() {- let e = (0, D.useContext)(pU);- return uU(() => {- e?.openImmerse(dAe());+function pAe() {+ let e = (0, D.useContext)(fU);+ return lU(() => {+ e?.openImmerse(fAe());}, !0), null;}-function pAe() {- return /* @__PURE__ */ (0, O.jsx)(fAe, {}, fU());+function mAe() {+ return /* @__PURE__ */ (0, O.jsx)(pAe, {}, dU());}//#endregion//#region src/ui-kit/anchor-scroll.ts-var s6 = () => window.matchMedia("(prefers-reduced-motion: reduce)").matches ? "instant" : "smooth";-async function c6(e, t) {+var o6 = () => window.matchMedia("(prefers-reduced-motion: reduce)").matches ? "instant" : "smooth";+async function s6(e, t) {let n;try {n = decodeURIComponent(e.slice(1));@@ -74573,42 +74573,42 @@ async function c6(e, t) {let r = document.getElementById(n);r?.getClientRects().length && r.scrollIntoView({block: "start",- behavior: s6()+ behavior: o6()});}//#endregion//#region src/react/router/pages/managed.tsx-var mAe = [+var hAe = ["list","add","feeds"-], hAe = () => Ul > 0, l6 = () => (0, D.useSyncExternalStore)(eu, hAe), u6 = () => Xk().value.followLayout === "table" ? "table" : "default", d6 = () => new URLSearchParams(window.location.search);-function gAe(e) {- let t = d6();- return d2(e, {- followLayout: u6(),+], gAe = () => Ul > 0, c6 = () => (0, D.useSyncExternalStore)(eu, gAe), l6 = () => Yk().value.followLayout === "table" ? "table" : "default", u6 = () => new URLSearchParams(window.location.search);+function _Ae(e) {+ let t = u6();+ return u2(e, {+ followLayout: l6(),followSort: t.get("sort") || "",followDir: t.get("dir") || ""});}-function f6(e) {+function d6(e) {return R("/healthz", { signal: e.controller.signal }).catch((e) => {if (qt(e)) return null;throw e;});}-function p6(e, t) {+function f6(e, t) {return {readOnly: !!e?.ledger_read_only,readOnlyMessage: e?.ledger_read_only_message || "本机当前只能浏览",writerUrl: e?.ledger_writer_origin ? new URL(t, e.ledger_writer_origin).href : ""};}-async function _Ae(e, t) {+async function vAe(e, t) {if (e === "/jav") {- let e = await f6(t);+ let e = await d6(t);return t.live ? {- tab: w$(d6().get("tab")),+ tab: C$(u6().get("tab")),readOnly: !!e?.ledger_read_only} : null;}@@ -74619,40 +74619,40 @@ async function _Ae(e, t) {}if (e.startsWith("/settings/")) {window.location.hash === "#peachProxy" && Ql({ configurationRequestedSection: "网络与访问" });- let t = d6().get("section") || Bl || dV(e);+ let t = u6().get("section") || Bl || uV(e);return t ? { section: t } : {};}if (e === "/review") {- let e = d6().get("category") || "", n = await f6(t);+ let e = u6().get("category") || "", n = await d6(t);return t.live ? {- category: VY(e) ? e : "",- ...p6(n, "/review")+ category: BY(e) ? e : "",+ ...f6(n, "/review")} : null;}if (e === "/subscriptions") {- let e = d6(), n = e.get("tab") || "", r = {- tab: mAe.includes(n) ? n : "list",+ let e = u6(), n = e.get("tab") || "", r = {+ tab: hAe.includes(n) ? n : "list",page: Math.max(1, Math.floor(Number(e.get("page"))) || 1),sort: e.get("sort") || "",dir: e.get("dir") || ""- }, i = await f6(t);+ }, i = await d6(t);if (!t.live) return null;- let a = Xk().value;+ let a = Yk().value;return {...r,pageSize: Number(a.followPageSize) || 20,- layout: u6(),- ...p6(i, "/subscriptions")+ layout: l6(),+ ...f6(i, "/subscriptions")};}return {};}-var vAe = () => {+var yAe = () => {window.scrollTo({top: 0,- behavior: s6()+ behavior: o6()});-}, yAe = /* @__PURE__ */ new Set([+}, bAe = /* @__PURE__ */ new Set(["/stats","/taste","/review",@@ -74660,18 +74660,18 @@ var vAe = () => {"/tasks","/subscriptions"]);-async function bAe(e, t, n) {- let r = $V.navigation.seq, i = () => n.live && $V.navigation.seq === r;- if (e === "/jav" && w$(d6().get("tab")) === "library") {- $V.replace(GCe(window.location.search));+async function xAe(e, t, n) {+ let r = QV.navigation.seq, i = () => n.live && QV.navigation.seq === r;+ if (e === "/jav" && C$(u6().get("tab")) === "library") {+ QV.replace(KCe(window.location.search));return;}- if (e === "/subscriptions" && d6().get("tab") === "wants") {- eH("/jav?tab=wants", { replace: !0 });+ if (e === "/subscriptions" && u6().get("tab") === "wants") {+ $V("/jav?tab=wants", { replace: !0 });return;}- if (e === "/subscriptions" && d6().get("tab") === "source") {- eH("/settings/subscriptions", { replace: !0 });+ if (e === "/subscriptions" && u6().get("tab") === "source") {+ $V("/settings/subscriptions", { replace: !0 });return;}let a = document.getElementById("stats");@@ -74693,38 +74693,38 @@ async function bAe(e, t, n) {state: "",q: "",jav: ""- } }), t.clearSearch()), p2(a, gAe(e));- let o = await _Ae(e, n);+ } }), t.clearSearch()), f2(a, _Ae(e));+ let o = await vAe(e, n);if (!o) return;- let s = await HV(e, o, {+ let s = await VV(e, o, {container: a,isCurrent: () => n.live});- if (s && (n.revision = RV(a)?.revision ?? 0), e.startsWith("/settings/") && s && Ql({ configurationRequestedSection: "" }), s && i()) {+ if (s && (n.revision = LV(a)?.revision ?? 0), e.startsWith("/settings/") && s && Ql({ configurationRequestedSection: "" }), s && i()) {let { hash: t } = window.location;e === "/settings/library" && t === "#libraryProcessing" ? queueMicrotask(() => {- i() && eH("/data-cleanup#libraryProcessing", {+ i() && $V("/data-cleanup#libraryProcessing", {replace: !0,state: null});- }) : t ? c6(t, i) : (yAe.has(e) || e === "/settings/library") && vAe();+ }) : t ? s6(t, i) : (bAe.has(e) || e === "/settings/library") && yAe();}}-function m6({ path: e }) {- let t = fU();- VB();- let n = bV($V.navigation.location.pathname), r = (0, D.useRef)(n ? null : t), i = (0, D.useRef)(n);+function p6({ path: e }) {+ let t = dU();+ BB();+ let n = yV(QV.navigation.location.pathname), r = (0, D.useRef)(n ? null : t), i = (0, D.useRef)(n);!n && (!i.current || r.current === null) && (r.current = t), i.current = n;let a = e.startsWith("/settings/") ? "/settings/configuration" : e;- return /* @__PURE__ */ (0, O.jsx)(xAe, {+ return /* @__PURE__ */ (0, O.jsx)(SAe, {path: e,covered: r.current === null}, `${a} ${r.current ?? "covered"}`);}-function xAe({ path: e, covered: t }) {- let n = (0, D.useContext)(pU), r = l6(), i = (0, D.useRef)(null);+function SAe({ path: e, covered: t }) {+ let n = (0, D.useContext)(fU), r = c6(), i = (0, D.useRef)(null);return (0, D.useEffect)(() => {- e.startsWith("/settings/") && UV(document.getElementById("stats"), { section: dV(e) });+ e.startsWith("/settings/") && HV(document.getElementById("stats"), { section: uV(e) });}, [e]), (0, D.useEffect)(() => {if (t || !n || !r || i.current) return;let a = {@@ -74733,7 +74733,7 @@ function xAe({ path: e, covered: t }) {controller: new AbortController()};i.current = a, queueMicrotask(() => {- a.live && bAe(e, n, a);+ a.live && xAe(e, n, a);});}, [r]), (0, D.useEffect)(() => () => {let e = i.current;@@ -74741,18 +74741,18 @@ function xAe({ path: e, covered: t }) {e.live = !1, e.controller.abort();let t = document.getElementById("stats");queueMicrotask(() => {- t && e.revision && !t.hidden && RV(t)?.revision === e.revision && WV(t);+ t && e.revision && !t.hidden && LV(t)?.revision === e.revision && UV(t);});}, []), null;}-function SAe() {- let e = l6(), t = (0, D.useRef)(!1);+function CAe() {+ let e = c6(), t = (0, D.useRef)(!1);return (0, D.useEffect)(() => {- if (!e || t.current || bV($V.navigation.location.pathname)) return;+ if (!e || t.current || yV(QV.navigation.location.pathname)) return;t.current = !0;let n = !0;return queueMicrotask(() => {- n && eH("/data-cleanup#resource-sync", { replace: !0 });+ n && $V("/data-cleanup#resource-sync", { replace: !0 });}), () => {n = !1;};@@ -74760,24 +74760,24 @@ function SAe() {}//#endregion//#region src/react/router/route-chunk.ts-var h6 = [], g6 = "peach.chunkReloadAt", CAe = 3e4;-async function wAe() {+var m6 = [], h6 = "peach.chunkReloadAt", wAe = 3e4;+async function TAe() {try {- let e = Number(sessionStorage.getItem(g6) || 0);- if (Date.now() - e < CAe || !(await fetch("/healthz", {+ let e = Number(sessionStorage.getItem(h6) || 0);+ if (Date.now() - e < wAe || !(await fetch("/healthz", {cache: "no-store",credentials: "same-origin"})).ok) return;- sessionStorage.setItem(g6, String(Date.now())), location.reload();+ sessionStorage.setItem(h6, String(Date.now())), location.reload();} catch {}}-function _6(e) {+function g6(e) {let t = null, n = null, r = () => n ??= e().then((e) => (t = { module: e }, e), (e) => {throw n = null, e;});- return h6.push(r), {+ return m6.push(r), {preload: () => r().catch(async (e) => {- throw await wAe(), e;+ throw await TAe(), e;}),get: () => {if (!t) throw Error("页面代码还没装载");@@ -74785,10 +74785,10 @@ function _6(e) {}};}-function TAe() {+function EAe() {let e = globalThis.requestIdleCallback;if (typeof e != "function") return;- let t = [...h6], n = () => {+ let t = [...m6], n = () => {let r = t.shift();r && e(() => {r().catch(() => {}).finally(n);@@ -74798,31 +74798,31 @@ function TAe() {}//#endregion//#region src/react/router/managed-routes.tsx-async function v6(e, t) {+async function _6(e, t) {let [n, r] = await Promise.allSettled([e.preload(), t]);if (r.status === "rejected") throw r.reason;if (n.status === "rejected") throw n.reason;}-var y6 = _6(() => import("./peach-app.jav-page-B55byEeQ.js")), b6 = _6(() => import("./peach-app.stats-page-Dl0lm7Yt.js")), x6 = _6(() => import("./peach-app.taste-page-CidGJvZ7.js")), S6 = _6(() => import("./peach-app.review-page-CPsgIxd6.js")), C6 = _6(() => import("./peach-app.data-cleanup-page-DPCNx1GU.js")), w6 = _6(() => import("./peach-app.duplicates-page-CoHPntSW.js")), T6 = _6(() => import("./peach-app.quality-goals-page-CjcBIXAC.js")), E6 = _6(() => import("./peach-app.scraping-page-DM0a_K9-.js")), D6 = _6(async () => {+var v6 = g6(() => import("./peach-app.jav-page-B55byEeQ.js")), y6 = g6(() => import("./peach-app.stats-page-Dl0lm7Yt.js")), b6 = g6(() => import("./peach-app.taste-page-CidGJvZ7.js")), x6 = g6(() => import("./peach-app.review-page-CPsgIxd6.js")), S6 = g6(() => import("./peach-app.data-cleanup-page-DPCNx1GU.js")), C6 = g6(() => import("./peach-app.duplicates-page-CoHPntSW.js")), w6 = g6(() => import("./peach-app.quality-goals-page-CjcBIXAC.js")), T6 = g6(() => import("./peach-app.scraping-page-DM0a_K9-.js")), E6 = g6(async () => {let [{ ConfigurationPage: e }, { DiagnosticsPage: t }] = await Promise.all([import("./peach-app.configuration-page-Bxq5ZZc_.js"), import("./peach-app.diagnostics-page-bdA2qUuj.js")]);return {ConfigurationPage: e,DiagnosticsPage: t};-}), O6 = _6(() => import("./peach-app.activity-page-ClyZLUeQ.js")), k6 = _6(() => import("./peach-app.follow-manage-page-K8kzYRBb.js")), A6 = _6(() => import("./peach-app.playlists-page-DKMNf-v5.js"));-function EAe(e, t, n) {+}), D6 = g6(() => import("./peach-app.activity-page-ClyZLUeQ.js")), O6 = g6(() => import("./peach-app.follow-manage-page-K8kzYRBb.js")), k6 = g6(() => import("./peach-app.playlists-page-DKMNf-v5.js"));+function DAe(e, t, n) {if (e === "duplicates") {n("/duplicates");return;}let r = t.managePath(e);- N6(r) ? n(r) : t.openManage(e);+ M6(r) ? n(r) : t.openManage(e);}-var j6 = (e) => ({- element: /* @__PURE__ */ (0, O.jsx)(m6, { path: e }),- prefetch: (t, n) => v6(D6, Promise.all([Nwe(n), ...e === "/settings/diagnostics" ? [eCe(n)] : []]).then(() => {})),+var A6 = (e) => ({+ element: /* @__PURE__ */ (0, O.jsx)(p6, { path: e }),+ prefetch: (t, n) => _6(E6, Promise.all([Pwe(n), ...e === "/settings/diagnostics" ? [tCe(n)] : []]).then(() => {})),page: (t, n) => {- let { ConfigurationPage: r, DiagnosticsPage: i } = D6.get();+ let { ConfigurationPage: r, DiagnosticsPage: i } = E6.get();return /* @__PURE__ */ (0, O.jsx)(r, {receipt: (e) => n.receipt(e),reopenTutorial: n.reopenTutorial,@@ -74833,12 +74833,12 @@ var j6 = (e) => ({})});}-}), M6 = {+}), j6 = {"/jav": {- element: /* @__PURE__ */ (0, O.jsx)(m6, { path: "/jav" }),- prefetch: (e, t) => v6(y6, qCe(e.tab, t)),+ element: /* @__PURE__ */ (0, O.jsx)(p6, { path: "/jav" }),+ prefetch: (e, t) => _6(v6, JCe(e.tab, t)),page: (e, t) => {- let { JavPage: n } = y6.get();+ let { JavPage: n } = v6.get();return /* @__PURE__ */ (0, O.jsx)(n, {...e,navigate: t.navigate,@@ -74847,10 +74847,10 @@ var j6 = (e) => ({}},"/stats": {- element: /* @__PURE__ */ (0, O.jsx)(m6, { path: "/stats" }),- prefetch: (e, t) => v6(b6, kOe(t)),+ element: /* @__PURE__ */ (0, O.jsx)(p6, { path: "/stats" }),+ prefetch: (e, t) => _6(y6, AOe(t)),page: (e, t) => {- let { StatsPage: n } = b6.get();+ let { StatsPage: n } = y6.get();return /* @__PURE__ */ (0, O.jsx)(n, {tagLabel: pl,onTag: t.openTag@@ -74858,10 +74858,10 @@ var j6 = (e) => ({}},"/taste": {- element: /* @__PURE__ */ (0, O.jsx)(m6, { path: "/taste" }),- prefetch: (e, t) => v6(x6, _ke("all", t)),+ element: /* @__PURE__ */ (0, O.jsx)(p6, { path: "/taste" }),+ prefetch: (e, t) => _6(b6, vke("all", t)),page: (e, t, n) => {- let { TastePage: r } = x6.get();+ let { TastePage: r } = b6.get();return /* @__PURE__ */ (0, O.jsx)(r, {onSignal: t.openTasteSignal,navigate: n,@@ -74871,10 +74871,10 @@ var j6 = (e) => ({}},"/review": {- element: /* @__PURE__ */ (0, O.jsx)(m6, { path: "/review" }),- prefetch: (e, t) => v6(S6, _ye(t)),+ element: /* @__PURE__ */ (0, O.jsx)(p6, { path: "/review" }),+ prefetch: (e, t) => _6(x6, vye(t)),page: (e, t) => {- let { ReviewPage: n } = S6.get();+ let { ReviewPage: n } = x6.get();return /* @__PURE__ */ (0, O.jsx)(n, {...e,route: t.routeReview,@@ -74886,22 +74886,22 @@ var j6 = (e) => ({}},"/data-cleanup": {- element: /* @__PURE__ */ (0, O.jsx)(m6, { path: "/data-cleanup" }),- prefetch: (e, t) => v6(C6, wbe(t)),+ element: /* @__PURE__ */ (0, O.jsx)(p6, { path: "/data-cleanup" }),+ prefetch: (e, t) => _6(S6, Tbe(t)),page: (e, t, n) => {- let { DataCleanupPage: r } = C6.get();+ let { DataCleanupPage: r } = S6.get();return /* @__PURE__ */ (0, O.jsx)(r, {failure: t.failure,- open: (e) => EAe(e, t, n),+ open: (e) => DAe(e, t, n),toast: (e, { warning: n = !1 } = {}) => n ? t.toast({ text: e }, { sound: "warning" }) : t.receipt(e)});}},"/duplicates": {- element: /* @__PURE__ */ (0, O.jsx)(m6, { path: "/duplicates" }),- prefetch: (e, t) => v6(w6, Fve(t)),+ element: /* @__PURE__ */ (0, O.jsx)(p6, { path: "/duplicates" }),+ prefetch: (e, t) => _6(C6, Ive(t)),page: (e, t) => {- let { DuplicatesPage: n } = w6.get();+ let { DuplicatesPage: n } = C6.get();return /* @__PURE__ */ (0, O.jsx)(n, {openItem: t.openItem,failure: t.failure,@@ -74910,46 +74910,46 @@ var j6 = (e) => ({}},"/quality-goals": {- element: /* @__PURE__ */ (0, O.jsx)(m6, { path: "/quality-goals" }),- prefetch: (e, t) => v6(T6, qve(t)),+ element: /* @__PURE__ */ (0, O.jsx)(p6, { path: "/quality-goals" }),+ prefetch: (e, t) => _6(w6, Jve(t)),page: (e, t) => {- let { QualityGoalsPage: n } = T6.get();+ let { QualityGoalsPage: n } = w6.get();return /* @__PURE__ */ (0, O.jsx)(n, {openItem: t.openItem,- javTitleHtml: BF,- javDisplayName: zF,+ javTitleHtml: zF,+ javDisplayName: RF,toast: (e) => t.receipt(e),srcBadge: t.srcBadge});}},"/sources": {- element: /* @__PURE__ */ (0, O.jsx)(m6, { path: "/sources" }),- prefetch: (e, t) => v6(E6, Cwe(t)),+ element: /* @__PURE__ */ (0, O.jsx)(p6, { path: "/sources" }),+ prefetch: (e, t) => _6(T6, wwe(t)),page: (e, t) => {- let { ScrapingPage: n } = E6.get();+ let { ScrapingPage: n } = T6.get();return /* @__PURE__ */ (0, O.jsx)(n, { toast: (e) => t.toast(e) });}},- "/settings/library": j6("/settings/library"),- "/settings/subscriptions": j6("/settings/subscriptions"),- "/settings/downloads": j6("/settings/downloads"),- "/settings/network": j6("/settings/network"),- "/settings/maintenance": j6("/settings/maintenance"),- "/settings/diagnostics": j6("/settings/diagnostics"),+ "/settings/library": A6("/settings/library"),+ "/settings/subscriptions": A6("/settings/subscriptions"),+ "/settings/downloads": A6("/settings/downloads"),+ "/settings/network": A6("/settings/network"),+ "/settings/maintenance": A6("/settings/maintenance"),+ "/settings/diagnostics": A6("/settings/diagnostics"),"/tasks": {- element: /* @__PURE__ */ (0, O.jsx)(m6, { path: "/tasks" }),- prefetch: (e, t) => v6(O6, ule(t)),+ element: /* @__PURE__ */ (0, O.jsx)(p6, { path: "/tasks" }),+ prefetch: (e, t) => _6(D6, dle(t)),page: () => {- let { ActivityPage: e } = O6.get();+ let { ActivityPage: e } = D6.get();return /* @__PURE__ */ (0, O.jsx)(e, {});}},"/subscriptions": {- element: /* @__PURE__ */ (0, O.jsx)(m6, { path: "/subscriptions" }),- prefetch: (e, t) => v6(k6, oi(t, e.tab)),+ element: /* @__PURE__ */ (0, O.jsx)(p6, { path: "/subscriptions" }),+ prefetch: (e, t) => _6(O6, oi(t, e.tab)),page: (e, t) => {- let { FollowManagePage: n } = k6.get();+ let { FollowManagePage: n } = O6.get();return /* @__PURE__ */ (0, O.jsx)(n, {...e,route: t.routeFollowManage,@@ -74959,12 +74959,12 @@ var j6 = (e) => ({});}}-}, N6 = (e) => Object.hasOwn(M6, e), DAe = { "/resource-sync": { element: /* @__PURE__ */ (0, O.jsx)(SAe, {}) } }, OAe = { "/immerse": { element: /* @__PURE__ */ (0, O.jsx)(pAe, {}) } }, P6 = {+}, M6 = (e) => Object.hasOwn(j6, e), OAe = { "/resource-sync": { element: /* @__PURE__ */ (0, O.jsx)(CAe, {}) } }, kAe = { "/immerse": { element: /* @__PURE__ */ (0, O.jsx)(mAe, {}) } }, N6 = {"/playlists": {- element: /* @__PURE__ */ (0, O.jsx)(uAe, {}),- prefetch: (e, t) => v6(A6, swe(t)),+ element: /* @__PURE__ */ (0, O.jsx)(dAe, {}),+ prefetch: (e, t) => _6(k6, cwe(t)),page: (e, t) => {- let { PlaylistsPage: n } = A6.get();+ let { PlaylistsPage: n } = k6.get();return /* @__PURE__ */ (0, O.jsx)(n, {revision: e.revision,openPlaylist: t.openPlaylist,@@ -74975,14 +74975,14 @@ var j6 = (e) => ({}},"/follow": {- element: /* @__PURE__ */ (0, O.jsx)(cAe, {}),+ element: /* @__PURE__ */ (0, O.jsx)(lAe, {}),prefetch: (e, t) => Oi(e, t),- page: (e) => /* @__PURE__ */ (0, O.jsx)(Nxe, { ...e })+ page: (e) => /* @__PURE__ */ (0, O.jsx)(Pxe, { ...e })}-}, F6 = (e) => Object.hasOwn(P6, e), I6 = {- element: /* @__PURE__ */ (0, O.jsx)(qke, {}),- prefetch: (e, t) => Gbe(e, t),- page: (e, t) => /* @__PURE__ */ (0, O.jsx)(vCe, {+}, P6 = (e) => Object.hasOwn(N6, e), F6 = {+ element: /* @__PURE__ */ (0, O.jsx)(Jke, {}),+ prefetch: (e, t) => Kbe(e, t),+ page: (e, t) => /* @__PURE__ */ (0, O.jsx)(yCe, {...e,route: t.routeIndex,savePreference: t.savePeopleLayout,@@ -74995,81 +74995,81 @@ var j6 = (e) => ({openFollowAuthor: t.openFollowAuthor,openFollowTag: t.openFollowTag})+}, I6 = {+ "/performers": F6,+ "/creators": F6,+ "/studios": F6,+ "/agencies": F6,+ "/tags": F6}, L6 = {- "/performers": I6,- "/creators": I6,- "/studios": I6,- "/agencies": I6,- "/tags": I6+ element: /* @__PURE__ */ (0, O.jsx)(Qke, {}),+ prefetch: (e) => Pbe(e),+ page: (e) => /* @__PURE__ */ (0, O.jsx)(XSe, { ...e })}, R6 = {- element: /* @__PURE__ */ (0, O.jsx)(Zke, {}),- prefetch: (e) => Nbe(e),- page: (e) => /* @__PURE__ */ (0, O.jsx)(YSe, { ...e })+ "/performers/*": L6,+ "/studios/*": L6,+ "/creators/*": L6,+ "/series/*": L6,+ "/agencies/*": L6,+ "/tags/*": L6}, z6 = {- "/performers/*": R6,- "/studios/*": R6,- "/creators/*": R6,- "/series/*": R6,- "/agencies/*": R6,- "/tags/*": R6-}, B6 = {"/": {- element: /* @__PURE__ */ (0, O.jsx)(i6, {}),- prefetch: (e, t) => Gse(e, t),- page: (e) => /* @__PURE__ */ (0, O.jsx)(xY, { ...e })+ element: /* @__PURE__ */ (0, O.jsx)(r6, {}),+ prefetch: (e, t) => Kse(e, t),+ page: (e) => /* @__PURE__ */ (0, O.jsx)(bY, { ...e })},"/junk-files": {- element: /* @__PURE__ */ (0, O.jsx)(i6, {}),+ element: /* @__PURE__ */ (0, O.jsx)(r6, {}),prefetch: async () => {},- page: (e) => /* @__PURE__ */ (0, O.jsx)(NCe, { ...e })+ page: (e) => /* @__PURE__ */ (0, O.jsx)(PCe, { ...e })}-}, V6 = (e) => Object.hasOwn(B6, e), kAe = (e) => e.mode === "notice" ? /* @__PURE__ */ (0, O.jsx)(Dhe, { ...e }) : /* @__PURE__ */ (0, O.jsx)(H$, { ...e }), H6 = {+}, B6 = (e) => Object.hasOwn(z6, e), AAe = (e) => e.mode === "notice" ? /* @__PURE__ */ (0, O.jsx)(Ohe, { ...e }) : /* @__PURE__ */ (0, O.jsx)(V$, { ...e }), V6 = {"catalog-filter": {prefetch: async () => {},- page: (e) => /* @__PURE__ */ (0, O.jsx)(oW, { ...e })+ page: (e) => /* @__PURE__ */ (0, O.jsx)(aW, { ...e })},"feed-new": {- prefetch: (e) => kbe(e),- page: (e) => /* @__PURE__ */ (0, O.jsx)(tCe, { ...e })+ prefetch: (e) => Abe(e),+ page: (e) => /* @__PURE__ */ (0, O.jsx)(nCe, { ...e })},"library-processing": {- prefetch: (e, t) => vH(t),- page: (e) => /* @__PURE__ */ (0, O.jsx)(kAe, { ...e })+ prefetch: (e, t) => _H(t),+ page: (e) => /* @__PURE__ */ (0, O.jsx)(AAe, { ...e })},search: {prefetch: async () => {},- page: (e) => /* @__PURE__ */ (0, O.jsx)(kwe, { ...e })+ page: (e) => /* @__PURE__ */ (0, O.jsx)(Awe, { ...e })}-}, U6 = (e) => Object.hasOwn(H6, e), W6 = {+}, H6 = (e) => Object.hasOwn(V6, e), U6 = {"batch-dock": {prefetch: async () => {},- page: () => /* @__PURE__ */ (0, O.jsx)(voe, {})+ page: () => /* @__PURE__ */ (0, O.jsx)(yoe, {})},"glow-picker": {prefetch: async () => {},- page: () => /* @__PURE__ */ (0, O.jsx)($oe, {})+ page: () => /* @__PURE__ */ (0, O.jsx)(ese, {})},"manage-header": {prefetch: async () => {},- page: () => /* @__PURE__ */ (0, O.jsx)(Kce, {})+ page: () => /* @__PURE__ */ (0, O.jsx)(qce, {})},immerse: {prefetch: async () => {},- page: () => /* @__PURE__ */ (0, O.jsx)(BN, {})+ page: () => /* @__PURE__ */ (0, O.jsx)(zN, {})},"settings-panel": {prefetch: async () => {},- page: () => /* @__PURE__ */ (0, O.jsx)(Qwe, {})+ page: () => /* @__PURE__ */ (0, O.jsx)($we, {})},sidebar: {prefetch: async () => {},- page: () => /* @__PURE__ */ (0, O.jsx)(fTe, {})+ page: () => /* @__PURE__ */ (0, O.jsx)(pTe, {})},stage: {prefetch: async () => {},- page: () => /* @__PURE__ */ (0, O.jsx)(DOe, {})+ page: () => /* @__PURE__ */ (0, O.jsx)(OOe, {})}-}, G6 = (e) => Object.hasOwn(W6, e), K6 = [+}, W6 = (e) => Object.hasOwn(U6, e), G6 = ["/","/wall","/unseen",@@ -75079,101 +75079,101 @@ var j6 = (e) => ({"/junk-files"];[- ...Object.keys(M6),- ...Object.keys(P6),- ...Object.keys(L6),- ...Object.keys(z6),- ...K6+ ...Object.keys(j6),+ ...Object.keys(N6),+ ...Object.keys(I6),+ ...Object.keys(R6),+ ...G6];-var q6 = (e) => N6(e) || F6(e) || Object.hasOwn(L6, e) || Object.hasOwn(z6, e) || V6(e) || U6(e) || G6(e);-function J6(e) {- return N6(e) ? M6[e] : F6(e) ? P6[e] : V6(e) ? B6[e] : U6(e) ? H6[e] : G6(e) ? W6[e] : Object.hasOwn(L6, e) ? L6[e] : z6[e];+var K6 = (e) => M6(e) || P6(e) || Object.hasOwn(I6, e) || Object.hasOwn(R6, e) || B6(e) || H6(e) || W6(e);+function q6(e) {+ return M6(e) ? j6[e] : P6(e) ? N6[e] : B6(e) ? z6[e] : H6(e) ? V6[e] : W6(e) ? U6[e] : Object.hasOwn(I6, e) ? I6[e] : R6[e];}-function AAe(e, t, n) {- return q6(e) ? J6(e).prefetch(t, n) : Promise.reject(/* @__PURE__ */ Error(`路由树里没有这一页:${e}`));+function jAe(e, t, n) {+ return K6(e) ? q6(e).prefetch(t, n) : Promise.reject(/* @__PURE__ */ Error(`路由树里没有这一页:${e}`));}-function jAe(e, t, n, r) {- return J6(e).page(t, n, r);+function MAe(e, t, n, r) {+ return q6(e).page(t, n, r);}//#endregion//#region src/react/application-residents.ts-var Y6 = null, X6 = null, Z6 = 0, Q6 = /* @__PURE__ */ new Set();-function MAe(e) {- return Y6 = e, X6 && e(X6), () => {- Y6 === e && (Y6 = null);+var J6 = null, Y6 = null, X6 = 0, Z6 = /* @__PURE__ */ new Set();+function NAe(e) {+ return J6 = e, Y6 && e(Y6), () => {+ J6 === e && (J6 = null);};}-function NAe(e) {- return Y6 && (X6 = e, Y6(e), fme(Promise.resolve(AAe)), TAe()), Promise.resolve();+function PAe(e) {+ return J6 && (Y6 = e, J6(e), pme(Promise.resolve(jAe)), EAe()), Promise.resolve();}-async function $6(e, t, n = (e) => e) {- let r = Z6;- if (t.isConnected || Q6.add(t), !await HV(e, {}, {+async function Q6(e, t, n = (e) => e) {+ let r = X6;+ if (t.isConnected || Z6.add(t), !await VV(e, {}, {container: t,resident: !0,- isCurrent: () => !!Y6 && r === Z6,+ isCurrent: () => !!J6 && r === X6,place: () => n(t)- }) || r !== Z6 || !Y6) throw new DOMException("应用已卸载", "AbortError");-}-function PAe() {- 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(), ZQ();-}-var e8 = null, t8 = null;-function n8(e) {- return e8 ??= (async () => {- let t = EOe(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 FAe(e) {- return i8 ??= (async () => {- let t = zN(e), n = document.createElement("div");- return n.dataset.immerseHost = "", await $6("immerse", n, (e) => (document.body.append(e), e)), a8 = t, t;- })(), i8;-}-var o8 = () => a8, s8 = null, c8 = null;+ }) || r !== X6 || !J6) throw new DOMException("应用已卸载", "AbortError");+}+function FAe() {+ X6 += 1, J6 = null, Y6 = null, $6 = null, e8 = null, r8 = null, i8 = null, o8 = null, s8 = null, l8 = null, u8 = null, f8 = null, p8 = null, h8 = null, g8 = null, v8 = null;+ for (let e of Z6) e.remove();+ Z6.clear(), XQ();+}+var $6 = null, e8 = null;+function t8(e) {+ return $6 ??= (async () => {+ let t = DOe(e), n = document.createElement("div");+ return n.dataset.stageHost = "", await Q6("stage", n, (e) => (document.body.append(e), e)), e8 = t, t;+ })(), $6;+}+var n8 = () => e8, r8 = null, i8 = null;function IAe(e) {- return s8 ??= (async () => {- let t = Zwe(e), n = document.createElement("div");- return n.dataset.settingsHost = "", await $6("settings-panel", n, (e) => (document.body.append(e), e)), c8 = t, t;- })(), s8;+ return r8 ??= (async () => {+ let t = RN(e), n = document.createElement("div");+ return n.dataset.immerseHost = "", await Q6("immerse", n, (e) => (document.body.append(e), e)), i8 = t, t;+ })(), r8;}-var l8 = () => c8, u8 = null, d8 = null;+var a8 = () => i8, o8 = null, s8 = null;function LAe(e) {- return u8 ??= (async () => {- let t = dTe(e);- return await $6("sidebar", e.scroll, (e) => (e.replaceChildren(), e)), e.attached(), d8 = t, t;- })(), u8;+ return o8 ??= (async () => {+ let t = Qwe(e), n = document.createElement("div");+ return n.dataset.settingsHost = "", await Q6("settings-panel", n, (e) => (document.body.append(e), e)), s8 = t, t;+ })(), o8;}-var f8 = () => d8, p8 = null, m8 = null;+var c8 = () => s8, l8 = null, u8 = null;function RAe(e) {- return p8 ??= (async () => {- let t = Gce(e);- return await $6("manage-header", e.root, (e) => (e.replaceChildren(), e)), m8 = t, t;- })(), p8;+ return l8 ??= (async () => {+ let t = fTe(e);+ return await Q6("sidebar", e.scroll, (e) => (e.replaceChildren(), e)), e.attached(), u8 = t, t;+ })(), l8;}-var h8 = () => m8, g8 = null, _8 = null;+var d8 = () => u8, f8 = null, p8 = null;function zAe(e) {- return g8 ??= (async () => {- let t = _oe(e);- return await $6("batch-dock", e.root), _8 = t, t;- })(), g8;+ return f8 ??= (async () => {+ let t = Kce(e);+ return await Q6("manage-header", e.root, (e) => (e.replaceChildren(), e)), p8 = t, t;+ })(), f8;}-var v8 = () => _8, y8 = null;+var m8 = () => p8, h8 = null, g8 = null;function BAe(e) {- return y8 ??= (async () => {- Qoe(e), await $6("glow-picker", e.root);- })(), y8;+ return h8 ??= (async () => {+ let t = voe(e);+ return await Q6("batch-dock", e.root), g8 = t, t;+ })(), h8;}-function b8(e, t, n, r) {- QQ(e, t), $Q(n, r);+var _8 = () => g8, v8 = null;+function VAe(e) {+ return v8 ??= (async () => {+ $oe(e), await Q6("glow-picker", e.root);+ })(), v8;+}+function y8(e, t, n, r) {+ ZQ(e, t), QQ(n, r);}//#endregion//#region src/application/effects.ts-var x8 = class {+var b8 = class {cleanups = /* @__PURE__ */ new Set();active = !0;disposed = !1;@@ -75254,13 +75254,13 @@ var x8 = class {}if (e.length) throw AggregateError(e, "应用资源清理未全部完成");}-}, J = new x8();-function VAe() {- return J.dispose(), J = new x8(), J;+}, J = new b8();+function HAe() {+ return J.dispose(), J = new b8(), J;}//#endregion//#region src/application/receipts.js-var S8 = {+var x8 = {toastBody: void 0,toastSeq: void 0,toast: void 0,@@ -75270,13 +75270,13 @@ var S8 = {rollSeed: void 0,seededSample: void 0};-function HAe() {- QQ(I("#toasts"), {+function UAe() {+ ZQ(I("#toasts"), {success: L("check"),error: L("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) => {- ho(i || (t ? "error" : "success")), b8(I("#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) => {+ ho(i || (t ? "error" : "success")), y8(I("#toasts"), {success: L("check"),error: L("circle-alert")}, a, {@@ -75291,13 +75291,13 @@ function HAe() {} : null});};- return o(S8.toastBody(e), n, t, r), { replaceMessage: (e, { warn: t = !1, timeout: n = 4e3 } = {}) => o(S8.toastBody(e), t, n, null) };- }, S8.liftToastsOverTutorial = () => {+ return o(x8.toastBody(e), n, t, r), { replaceMessage: (e, { warn: t = !1, timeout: n = 4e3 } = {}) => o(x8.toastBody(e), t, n, null) };+ }, x8.liftToastsOverTutorial = () => {let e = I("#postSetupTutorial"), t = I("#toasts"), n = e.hidden ? innerHeight : e.getBoundingClientRect().top;e.hidden || !e.offsetHeight || n < 160 ? t.style.removeProperty("--toast-bottom") : t.style.setProperty("--toast-bottom", `${Math.round(innerHeight - n + 12)}px`);- }, J.resize(S8.liftToastsOverTutorial).observe(I("#postSetupTutorial")), J.listen.bind(J, window)("resize", S8.liftToastsOverTutorial), S8.actionReceipt = (e, { undo: t = null, timeout: n = t ? 8e3 : 6e3 } = {}) => {+ }, J.resize(x8.liftToastsOverTutorial).observe(I("#postSetupTutorial")), J.listen.bind(J, window)("resize", x8.liftToastsOverTutorial), x8.actionReceipt = (e, { undo: t = null, timeout: n = t ? 8e3 : 6e3 } = {}) => {let r = null;- return r = S8.toast({ text: e }, {+ return r = x8.toast({ text: e }, {timeout: n,action: t ? {label: "撤销",@@ -75310,7 +75310,7 @@ function HAe() {}} : null}), r;- }, S8.actionFailure = (e, t) => S8.toast({ text: `${e}失败:${t?.message || "请重试"}` }, { warn: !0 }), S8.rollSeed = () => En(), S8.seededSample = (e, t, n, r = (e) => e.k) => {+ }, x8.actionFailure = (e, t) => x8.toast({ text: `${e}失败:${t?.message || "请重试"}` }, { warn: !0 }), x8.rollSeed = () => En(), x8.seededSample = (e, t, n, r = (e) => e.k) => {if (e.length <= t) return e;let i = new Set([...e].sort((e, t) => Tn(n, r(e)) - Tn(n, r(t))).slice(0, t).map(r));return e.filter((e) => i.has(r(e)));@@ -75318,7 +75318,7 @@ function HAe() {}//#endregion//#region src/react/catalog-grid/catalog-state.ts-var UAe = [+var WAe = ["loc","creator","studio",@@ -75338,10 +75338,10 @@ var UAe = ["folder","folder_recursive"];-function C8(e, t, n, r = n.defaultSort) {- return jk(e, t, n.defaultSort, n.defaultSortDirection, r);+function S8(e, t, n, r = n.defaultSort) {+ return Ak(e, t, n.defaultSort, n.defaultSortDirection, r);}-function WAe(e, t, n) {+function GAe(e, t, n) {let r = decodeURIComponent(e.pathname), i = new URLSearchParams(e.search), a = Qt(r) || r === "/trash", o = (e) => a ? i.get(e) : null;return {loc: i.get("loc") ?? "local,115",@@ -75356,7 +75356,7 @@ function WAe(e, t, n) {orient: o("orient") || "",region: o("region") || "",state: Xt[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") || "",@@ -75366,18 +75366,18 @@ function WAe(e, t, n) {folder_recursive: o("folder_recursive") === "0" ? "0" : ""};}-function GAe(e, t) {+function KAe(e, t) {return e.split(",").filter(Boolean).filter((e) => t[e] !== !1).join(",") || e;}-function KAe(e) {+function qAe(e) {let t = Yt[e.state ?? ""] || "/", n = new URLSearchParams();- for (let t of UAe) {+ for (let t of WAe) {let r = e[t];- r && (t !== "tag_match" || r !== "all") && (t !== "dir" || r !== Ok(e.sort ?? "")) && n.set(t, r);+ r && (t !== "tag_match" || r !== "all") && (t !== "dir" || r !== Dk(e.sort ?? "")) && n.set(t, r);}return !Yt[e.state ?? ""] && e.state && n.set("state", e.state), t + (n.size ? `?${n}` : "");}-function qAe(e, t, n) {+function JAe(e, t, n) {return {loc: e.loc ?? "",creator: "",@@ -75392,7 +75392,7 @@ function qAe(e, t, n) {region: "",state: "",sort: t.defaultSort,- dir: Ak(t.defaultSort, t.defaultSort, t.defaultSortDirection),+ dir: kk(t.defaultSort, t.defaultSort, t.defaultSortDirection),seed: n(),q: "",jav: "",@@ -75402,7 +75402,7 @@ function qAe(e, t, n) {folder_recursive: ""};}-function w8(e) {+function C8(e) {return {state: e,barsContext: {@@ -75414,7 +75414,7 @@ function w8(e) {}//#endregion//#region src/react/catalog-grid/catalog-controller.ts-var JAe = class {+var YAe = class {currentRevision = 0;currentPage = "";painting = null;@@ -75459,44 +75459,44 @@ var JAe = class {let e = [...this.waiters.values()];this.waiters.clear(), e.forEach((e) => e());}-}, T8 = 3e4, E8 = 0, YAe = (e, t = E8) => [+}, w8 = 3e4, T8 = 0, XAe = (e, t = T8) => ["facets",e,t-], XAe = (e, t, n = E8) => [+], ZAe = (e, t, n = T8) => ["tops",e,t,n-], ZAe = (e, t = E8) => [+], QAe = (e, t = T8) => ["tops",e,t];-async function D8(e) {+async function E8(e) {let t = String(e), n = await R(`/api/tops?${t}`), r = new URLSearchParams(t);return n.performers.length || n.studios.length || !r.has("state") ? n : (r.delete("state"), await R(`/api/tops?${r}`));}-function QAe(e, t) {+function $Ae(e, t) {return Promise.all([H.fetchQuery({- queryKey: YAe(e),+ queryKey: XAe(e),queryFn: () => R(`/api/facets${e ? `?${e}` : ""}`),- staleTime: T8+ staleTime: w8}), H.fetchQuery({- queryKey: XAe(t, e),- queryFn: () => D8(t),- staleTime: T8+ queryKey: ZAe(t, e),+ queryFn: () => E8(t),+ staleTime: w8})]);}-function $Ae(e) {+function eje(e) {return H.fetchQuery({- queryKey: ZAe(e),- queryFn: () => D8(e),- staleTime: T8+ queryKey: QAe(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"],@@ -75508,7 +75508,7 @@ function O8() {}//#endregion//#region src/application/navigation-items.ts-var k8 = [+var O8 = [["","首页",@@ -75559,7 +75559,7 @@ var k8 = ["管理","wrench"]-], A8 = [+], k8 = [["stats","统计",@@ -75605,18 +75605,18 @@ var k8 = ["Peach 配置","folder-cog"]-], j8 = [+], A8 = ["stats","taste","cleanup","follow","activity","configuration"-], eje = (e) => A8.filter(([t]) => j8.includes(t) && (t !== "configuration" || e)), M8 = A8.flatMap(([e, t, n]) => e === "configuration" ? [] : [[+], tje = (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-]]), tje = [...k8, ...M8], nje = {+]]), nje = [...O8, ...j8], rje = {stats: "stats",review: "review","data-cleanup": "cleanup",@@ -75624,7 +75624,7 @@ var k8 = ["follow-manage": "follow",quality: "quality",activity: "activity"-}, N8 = [+}, M8 = [["0", "不限时间"],["7", "最近 7 天"],["30", "最近 30 天"],@@ -75632,11 +75632,11 @@ var k8 = [];//#endregion//#region src/react/index/index-controller.ts-function P8({ kind: e, q: t, scope: n, view: r, category: i }) {+function N8({ kind: e, q: t, scope: n, view: r, category: i }) {let a = new URLSearchParams();return t && a.set("q", t), e === "tags" && (a.set("view", r), n === "online" && a.set("scope", n), i !== "all" && a.set("category", i)), e === "performers" && n === "online" && a.set("scope", n), e === "performers" && n !== "online" && i !== "all" && a.set("category", i), `/${e}` + (a.size ? `?${a}` : "");}-function F8(e, t, n) {+function P8(e, t, n) {let r = e.entity_id || e.id, i = t === "studio" || t === "agency";return {html: Ra(e.k, r ? {@@ -75649,20 +75649,20 @@ function F8(e, t, n) {face: Ba(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" ${la({ fallbacks: [e.avatar_fallback || ""] })}>` : "";return `<span class="ini">${z(n)}</span>${r}`;}-function rje(e) {+function ije(e) {let t = (t) => {e.adoptFollowView(t), e.hideIndex(), e.openPage(Zi(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(Qi(e.followView(), n));},@@ -75673,7 +75673,7 @@ function rje(e) {}//#endregion//#region src/application/source-action.ts-function ije(e) {+function aje(e) {return async (t, n, { button: r = null } = {}) => {if (r?.getAttribute("aria-busy") === "true") return;let i = r?.innerHTML ?? "", a = r?.textContent?.trim() ?? "";@@ -75689,36 +75689,36 @@ function ije(e) {}//#endregion//#region src/react/entity-page/entity-route.ts-var L8 = () => Object.fromEntries(UX.map((e) => [e, e === "sort" ? "new" : e === "dir" ? "desc" : ""]));-function R8(e, t) {- let n = new URLSearchParams(e), r = L8();- for (let e of UX) e !== "sort" && e !== "dir" && (r[e] = n.get(e) || "");+var I8 = () => Object.fromEntries(HX.map((e) => [e, e === "sort" ? "new" : e === "dir" ? "desc" : ""]));+function L8(e, t) {+ let n = new URLSearchParams(e), r = I8();+ for (let e of HX) e !== "sort" && e !== "dir" && (r[e] = n.get(e) || "");return {...r,- ...jk(n.get("sort"), n.get("dir"), t.sort, t.dir, "new")+ ...Ak(n.get("sort"), n.get("dir"), t.sort, t.dir, "new")};}-function z8(e) {+function R8(e) {let t = new URLSearchParams();- for (let n of UX) e[n] && (n !== "sort" || e[n] !== "new") && (n !== "dir" || e[n] !== Ok(e.sort || "")) && t.set(n, e[n]);+ for (let n of HX) e[n] && (n !== "sort" || e[n] !== "new") && (n !== "dir" || e[n] !== Dk(e.sort || "")) && t.set(n, e[n]);return t.toString();}-function B8(e) {+function z8(e) {let t = new URLSearchParams(e), n = t.get("set") || "", r = t.get("media");return {media: r === "photos" || r === "online" ? r : "videos",set: r === "photos" && /^\d+$/.test(n) ? Number(n) : 0};}-function V8(e, t) {- let n = new URLSearchParams(z8(e));+function B8(e, t) {+ let n = new URLSearchParams(R8(e));return t?.media === "photos" ? (n.set("media", "photos"), t.set && n.set("set", String(t.set))) : t?.media === "online" && n.set("media", "online"), n.toString();}-function aje(e, t, n, r) {- let i = V8(n, r);+function oje(e, t, n, r) {+ let i = B8(n, r);return tn(e, t) + (i ? `?${i}` : "");}-function oje() {+function sje() {let e = "";return {fresh(t, n) {@@ -75727,23 +75727,23 @@ function oje() {read(t, n, r, i) {let a = e === tn(t, n) && !r;e = "";- let o = a ? L8() : { ...R8(r, i) };+ let o = a ? I8() : { ...L8(r, i) };return t === "creator" && (o.creator = ""), {filters: o,media: a ? {media: "videos",set: 0- } : B8(r)+ } : z8(r)};}};}//#endregion//#region src/react/entity-page/photo-surface.ts-function sje(e, t) {+function cje(e, t) {return e.entityWall && e.entityCurrent && e.indexVisible || e.pathname === "/follow" && e.followMedia === "images" && e.statsVisible ? !0 : t();}-function cje(e) {+function lje(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);@@ -75766,12 +75766,12 @@ function cje(e) {}//#endregion//#region src/react/entity-page/entity-controller.ts-function lje(e, t, n) {+function uje(e, t, n) {let r = (t, n, r, i = {media: "videos",set: 0}, { push: a = !0 } = {}) => {- if (a && e.route(aje(t, n, r, i)), e.restoreHomeContext(), !e.live(t, n)) return !1;+ if (a && e.route(oje(t, n, r, i)), e.restoreHomeContext(), !e.live(t, n)) return !1;e.releaseBodyPreviews();let o = e.state();return e.push({@@ -75785,7 +75785,7 @@ function lje(e, t, n) {if (s) return s;let c = () => {let n = e.context();- return n?.kind === t && n.name === a ? n.filters : L8();+ return n?.kind === t && n.name === a ? n.filters : I8();}, l = {...n,route: (e, n) => {@@ -75798,7 +75798,7 @@ function lje(e, t, n) {e.tag = "", e.creator = "", e.studio = "", e.owner = "";}),setSort: (e) => {- let n = c(), i = kk(e, n.sort || "new", n.dir || "");+ let n = c(), i = Ok(e, n.sort || "new", n.dir || "");i && r(t, a, {...n,...i@@ -75850,7 +75850,7 @@ function lje(e, t, n) {}//#endregion//#region src/react/entity-page/entity-loading.ts-function uje(e) {+function dje(e) {return async (t, n, r) => {!e.shapesReady(t, n) && (await e.waitShapes(), !r()) || (e.paintSkeleton(t, n), e.resetView(), e.loadShapes().then(() => {r() && e.syncParts(t, n);@@ -75859,7 +75859,7 @@ function uje(e) {}//#endregion//#region src/react/entity-page/entity-portrait.ts-function dje(e, t) {+function fje(e, t) {let n = e === "studio" || e === "agency", r = t.id ? La({kind: e,id: t.id,@@ -75882,11 +75882,11 @@ function dje(e, t) {}//#endregion//#region src/react/entity-page/entity-application.ts-function fje(e) {- let t = oje(), n = {+function pje(e) {+ let t = sje(), n = {...e.helpers,- portraitImg: dje- }, r = lje(e.controller, n, e.actions);+ portraitImg: fje+ }, r = uje(e.controller, n, e.actions);return {...r,helpers: n,@@ -75895,13 +75895,13 @@ function fje(e) {let { filters: o, media: s } = t.read(n, i, a, e.sortPreference());return r.props(n, i, o, s);},- loading: uje(e.loading),- photos: cje(e.photos)+ loading: dje(e.loading),+ photos: lje(e.photos)};}//#endregion//#region src/card-art/feed-identity.ts-function pje(e) {+function mje(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 ? "" : Ra(t.name, t, null);return "id" in t && t.id ? `<a class="mav"${r} href="${z(tn("performer", t.name, t.id))}" aria-label="打开女优页:${z(t.name)}">${i}</a>` : `<span class="mav"${r} title="${z(t.name)}">${i}</span>`;@@ -75910,7 +75910,7 @@ function pje(e) {}//#endregion//#region src/application/feed.js-var H8 = {+var V8 = {FEED_SKELETON_CARDS: void 0,feedNewSkeletonHtml: void 0,entityShapes: void 0,@@ -75926,56 +75926,56 @@ var H8 = {feedNewActions: void 0,HERO_WIDE_PX: void 0};-function U8(e) {+function H8(e) {return e.has_cover ? Ua(e, "big") : !e.cover_url || !e.code ? e.cover_fetching ? `<span class="nopic" data-feed-cover-state="fetching">${as("抓取中")}</span>` : "<span class=\"nopic\" data-feed-cover-state=\"missing\">无封面</span>" : Ua(e, "big").replace(/ src="[^"]*"/, ` src="${z(Na(e))}" data-panel-prior="1"`).replace("data-drop=\"self\"", "data-drop=\"initial\" data-initial=\"封面未取得\" data-drop-class=\"nopic\"");}-function mje(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 = U8(e), r = e.code || String(e.title || "").trim() || "未命名新作", i = e.code ? BF({+function hje(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 = H8(e), r = e.code || String(e.title || "").trim() || "未命名新作", i = e.code ? zF({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:${aA}">${n}+ ${a}<div class="pic" style="--card-ratio:${iA}">${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)}">${L("star")}</button><button type="button" data-feed-action="ignore" title="不想看" aria-label="不想看 ${z(r)}">${L("x")}</button><button type="button" data-feed-action="read" title="标为已看过" aria-label="标为已看过 ${z(r)}">${L("check")}</button></div></div>- <div class="meta">${pje(e)}<div class="mtext"><span class="t">${i}</span>+ <div class="meta">${mje(e)}<div class="mtext"><span class="t">${i}</span><div class="s mono">${t || (e.title ? "" : "资料还没取到")}</div></div></div></article>`;}-function hje() {+function gje() {let e = document.getElementById("peach-entity-shape");if (e) try {let t = JSON.parse(e.textContent || "null");if (!t?.id || typeof t.kind != "string" || !Array.isArray(t.names) || !Array.isArray(t.parts)) return;- H8.entityShapes = new Map([String(t.id), ...t.names].map((e) => [`${t.kind}/${dn(e)}`, t.parts]));+ V8.entityShapes = new Map([String(t.id), ...t.names].map((e) => [`${t.kind}/${dn(e)}`, t.parts]));} catch {}}-async function W8() {+async function U8() {let e = J, t = await R("/api/entity/shapes", { signal: e.signal }).catch(() => null);- return e.isActive && t && !t.error && (H8.entityShapesComplete = !0, H8.entityShapes = new Map((t.entities || []).flatMap((e) => [String(e.id), ...e.names].map((t) => [`${e.kind}/${dn(t)}`, e.parts]))), typeof t.home?.feed == "boolean" && K8(t.home.feed), X8(location.pathname) && q8(I("#feedNew"))), H8.entityShapes;+ return e.isActive && t && !t.error && (V8.entityShapesComplete = !0, V8.entityShapes = new Map((t.entities || []).flatMap((e) => [String(e.id), ...e.names].map((t) => [`${e.kind}/${dn(t)}`, e.parts]))), typeof t.home?.feed == "boolean" && G8(t.home.feed), Y8(location.pathname) && K8(I("#feedNew"))), V8.entityShapes;}-var G8 = "peach.home-feed.v1";-function K8(e) {+var W8 = "peach.home-feed.v1";+function G8(e) {X.homeHasFeed = e;try {- localStorage.setItem(G8, e ? "1" : "0");+ localStorage.setItem(W8, e ? "1" : "0");} catch {}}-function gje() {+function _je() {try {- let e = localStorage.getItem(G8);+ let e = localStorage.getItem(W8);return e === "1" || e !== "0" && null;} catch {return null;}}-function q8(e) {- !e || zV(e) || e.querySelector("[data-feed-id]") || (e.hidden = X.homeHasFeed !== !0, X.homeHasFeed === !0 && (e.setAttribute("aria-busy", "true"), e.querySelector(".feednewskeleton") || (e.innerHTML = H8.feedNewSkeletonHtml())));+function K8(e) {+ !e || RV(e) || e.querySelector("[data-feed-id]") || (e.hidden = X.homeHasFeed !== !0, X.homeHasFeed === !0 && (e.setAttribute("aria-busy", "true"), e.querySelector(".feednewskeleton") || (e.innerHTML = V8.feedNewSkeletonHtml())));}-function _je(e, t) {+function vje(e, t) {return !(e > 0) || !t.some((e) => !e.has_cover) ? "" : ns(`${e} 部新作的封面连不上 DMM 图片主机,中国移动宽带常见。把 DMM / FANZA 的连接方式设成 Peach 代理,下一轮会自动重取。`, {variant: "warning",className: "feednetwork",@@ -75983,56 +75983,56 @@ function _je(e, t) {actionHref: "/sources"});}-function J8(e) {+function q8(e) {let t = e && !e.error && e.items || [];- return _je(e?.cover_network, t) + `<div class="feednewrow srow">${t.map(mje).join("")}</div>`;+ return vje(e?.cover_network, t) + `<div class="feednewrow srow">${t.map(hje).join("")}</div>`;}-function Y8(e) {+function J8(e) {e && (e9(e), Z.appSettings.feedAutoScroll && $s(e));}-function X8(e) {+function Y8(e) {return Qt(e) && e !== "/junk-files";}-function vje() {+function yje() {let e = I("#feedNew");- zV(e) ? UV(e, { revision: ++H8.feedRevision }) : (q8(e), HV("feed-new", {+ RV(e) ? HV(e, { revision: ++V8.feedRevision }) : (K8(e), VV("feed-new", {host: e,- revision: H8.feedRevision,- helpers: H8.feedNewHelpers,- actions: H8.feedNewActions+ revision: V8.feedRevision,+ helpers: V8.feedNewHelpers,+ actions: V8.feedNewActions}, {container: e,- isCurrent: () => X8(location.pathname)+ isCurrent: () => Y8(location.pathname)}));}-function Z8() {+function X8() {let e = I("#feedNew");- e.querySelectorAll(".feednewrow").forEach(ec), WV(e), e.hidden = !0, e.innerHTML = "", e.removeAttribute("aria-busy");+ e.querySelectorAll(".feednewrow").forEach(ec), UV(e), e.hidden = !0, e.innerHTML = "", e.removeAttribute("aria-busy");}-function Q8() {- H8.feedRevision += 1, UV(I("#feedNew"), { revision: H8.feedRevision }), a5({ feedRevision: H8.feedRevision });+function Z8() {+ V8.feedRevision += 1, HV(I("#feedNew"), { revision: V8.feedRevision }), i5({ feedRevision: V8.feedRevision });}-function yje() {+function bje() {document.querySelectorAll(".feednewrow").forEach((e) => Z.appSettings.feedAutoScroll ? $s(e) : ec(e));}-var $8 = 0;-function bje([e]) {- let t = e.contentRect.width >= H8.HERO_WIDE_PX;- cancelAnimationFrame($8), $8 = requestAnimationFrame(() => {- $8 = 0, I("#index")?.toggleAttribute("data-hero-wide", t);+var Q8 = 0;+function xje([e]) {+ let t = e.contentRect.width >= V8.HERO_WIDE_PX;+ cancelAnimationFrame(Q8), Q8 = requestAnimationFrame(() => {+ Q8 = 0, I("#index")?.toggleAttribute("data-hero-wide", t);});}-function xje() {- H8.FEED_SKELETON_CARDS = 8, H8.feedNewSkeletonHtml = () => `<div class="feednewrow srow" aria-hidden="true">${`<article class="card feednewcard feednewskeleton"><div class="pic imgwait" style="--card-ratio:${aA}"></div>+function Sje() {+ V8.FEED_SKELETON_CARDS = 8, V8.feedNewSkeletonHtml = () => `<div class="feednewrow srow" aria-hidden="true">${`<article class="card feednewcard feednewskeleton"><div class="pic imgwait" style="--card-ratio:${iA}"></div><div class="meta"><div class="mtext"><span class="t"><span class="skeleton"></span></span>- <div class="s mono"><span class="skeleton">​</span></div></div></div></article>`.repeat(H8.FEED_SKELETON_CARDS)}</div>`, H8.entityShapes = null, H8.entityShapesComplete = !1, H8.hasEntityShape = (e, t) => H8.entityShapesComplete || !!H8.entityShapes?.has(`${e}/${dn(t)}`), H8.hasEntityPart = (e, t, n) => !!t && !!H8.entityShapes?.get(`${e}/${dn(t)}`)?.includes(n), H8.feedNewSkeletonSection = () => `<section class="feednew">${H8.feedNewSkeletonHtml()}</section>`, H8.COSTAR_SKELETON_PEOPLE = 12, H8.costarSkeletonFoot = () => `<div class="entityfoot" data-entity-foot><div class="relatedpeople" data-related-people>${"<button type=\"button\" disabled tabindex=\"-1\"><span class=\"skeleton\" data-hero-ring></span><span class=\"skeleton\" data-hero-costar-name>​</span></button>".repeat(H8.COSTAR_SKELETON_PEOPLE)}</div></div>`, H8.factsSkeleton = () => `<dl class="entityfacts" data-entity-facts>${"<dt><span class=\"skeleton\"></span></dt><dd><span class=\"skeleton\"></span></dd>".repeat(5)}</dl>`, H8.feedRevision = 0, H8.feedNewHelpers = {- feedRowHtml: J8,- wireFeedRow: (e) => Y8(e)- }, H8.feedNewActions = { settled: (e) => K8(e) }, H8.HERO_WIDE_PX = 900, J.resize(bje).observe(I("#index"));+ <div class="s mono"><span class="skeleton">​</span></div></div></div></article>`.repeat(V8.FEED_SKELETON_CARDS)}</div>`, V8.entityShapes = null, V8.entityShapesComplete = !1, V8.hasEntityShape = (e, t) => V8.entityShapesComplete || !!V8.entityShapes?.has(`${e}/${dn(t)}`), V8.hasEntityPart = (e, t, n) => !!t && !!V8.entityShapes?.get(`${e}/${dn(t)}`)?.includes(n), V8.feedNewSkeletonSection = () => `<section class="feednew">${V8.feedNewSkeletonHtml()}</section>`, V8.COSTAR_SKELETON_PEOPLE = 12, V8.costarSkeletonFoot = () => `<div class="entityfoot" data-entity-foot><div class="relatedpeople" data-related-people>${"<button type=\"button\" disabled tabindex=\"-1\"><span class=\"skeleton\" data-hero-ring></span><span class=\"skeleton\" data-hero-costar-name>​</span></button>".repeat(V8.COSTAR_SKELETON_PEOPLE)}</div></div>`, V8.factsSkeleton = () => `<dl class="entityfacts" data-entity-facts>${"<dt><span class=\"skeleton\"></span></dt><dd><span class=\"skeleton\"></span></dd>".repeat(5)}</dl>`, V8.feedRevision = 0, V8.feedNewHelpers = {+ feedRowHtml: q8,+ wireFeedRow: (e) => J8(e)+ }, V8.feedNewActions = { settled: (e) => G8(e) }, V8.HERO_WIDE_PX = 900, J.resize(xje).observe(I("#index"));}//#endregion//#region src/entity-skeleton.ts-function Sje(e, t, n, r = "") {+function Cje(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">@@ -76047,10 +76047,10 @@ function Sje(e, t, n, r = "") {}//#endregion//#region src/filter-controls-skeleton.ts-var e5 = (e) => e.startsWith("ri-") ? `<svg class="size-4 shrink-0" viewBox="0 0 24 24" fill="currentColor" stroke="none" aria-hidden="true"><use href="#${e}"/></svg>` : Ho(e, "size-4 shrink-0"), t5 = "inert aria-disabled=\"true\" tabindex=\"-1\" data-skeleton-control", n5 = (e, t, n) => `<span data-entity-layout="" class="${TU}" role="radiogroup" aria-label="${z(e)}">${n.map(([e, n, r]) => `<span class="${EU}" role="radio" aria-label="${z(n)}" aria-checked="${e === t}" data-glass-segment=""${e === t ? " data-selected=\"\"" : ""} ${t5}>${e5(r)}</span>`).join("")}</span>`;-function r5(e, t) {- let n = Qj(), r = new URLSearchParams(location.search), i = t && n === "cards" ? n5(t.label, t.value, t.options) : "";- return `<span data-entity-sorts=""><button type="button" data-entity-batch="" data-filter-action="" aria-label="换一批" ${t5}>${e5("shuffle")}</button>${i}${n5("馆藏显示方式", n, [[+var $8 = (e) => e.startsWith("ri-") ? `<svg class="size-4 shrink-0" viewBox="0 0 24 24" fill="currentColor" stroke="none" aria-hidden="true"><use href="#${e}"/></svg>` : Ho(e, "size-4 shrink-0"), e5 = "inert aria-disabled=\"true\" tabindex=\"-1\" data-skeleton-control", t5 = (e, t, n) => `<span data-entity-layout="" class="${wU}" role="radiogroup" aria-label="${z(e)}">${n.map(([e, n, r]) => `<span class="${TU}" role="radio" aria-label="${z(n)}" aria-checked="${e === t}" data-glass-segment=""${e === t ? " data-selected=\"\"" : ""} ${e5}>${$8(r)}</span>`).join("")}</span>`;+function n5(e, t) {+ let n = Zj(), r = new URLSearchParams(location.search), i = t && n === "cards" ? t5(t.label, t.value, t.options) : "";+ return `<span data-entity-sorts=""><button type="button" data-entity-batch="" data-filter-action="" aria-label="换一批" ${e5}>${$8("shuffle")}</button>${i}${t5("馆藏显示方式", n, [["cards","卡片","ri-layout-grid-line"@@ -76058,7 +76058,7 @@ function r5(e, t) {"list","列表","ri-list-unordered"- ]])}<button type="button" data-folder-mode-toggle="" aria-label="文件夹模式" aria-pressed="${r.get("browse") === "folders" || !!r.get("folder")}" ${t5}>${e5("ri-folder-3-line")}</button>${e.map((e) => `<button type="button" data-entity-sort="${z(e.key)}" aria-pressed="${e.pressed}" ${t5}>${z(e.label)}${e.dir ? e5(e.dir === "asc" ? "arrow-up" : "arrow-down") : ""}</button>`).join("")}</span>`;+ ]])}<button type="button" data-folder-mode-toggle="" aria-label="文件夹模式" aria-pressed="${r.get("browse") === "folders" || !!r.get("folder")}" ${e5}>${$8("ri-folder-3-line")}</button>${e.map((e) => `<button type="button" data-entity-sort="${z(e.key)}" aria-pressed="${e.pressed}" ${e5}>${z(e.label)}${e.dir ? $8(e.dir === "asc" ? "arrow-up" : "arrow-down") : ""}</button>`).join("")}</span>`;}//#endregion//#region src/application/entity.js@@ -76087,16 +76087,16 @@ var Y = {sourceToolButtons: void 0,application: void 0};-function i5() {- let e = RV(I("#index"));+function r5() {+ let e = LV(I("#index"));return e && e.path.endsWith("/*") && e.host.isConnected ? e : null;}-function a5(e) {- Y.entityPageCurrent() && UV(I("#index"), e);+function i5(e) {+ Y.entityPageCurrent() && HV(I("#index"), e);}-function o5() {+function a5() {if (wl.type === "item") return wl;- let e = i5();+ let e = r5();if (e) {let { kind: t, name: n, filters: r } = e.props;return {@@ -76108,23 +76108,23 @@ function o5() {}return wl;}-function s5(e, t, n = t7()) {- return hMe(n).map(([n, r]) => {- let i = e === n, a = kk(n, e, t);+function o5(e, t, n = e7()) {+ return gMe(n).map(([n, r]) => {+ let i = e === n, a = Ok(n, e, t);return {key: n,label: r,pressed: i,- dir: i && Dk(n, t) ? t === "asc" ? "asc" : "desc" : "",- ariaLabel: a ? `按${r}${a.dir ? Dk(a.sort, a.dir) : ""}排序` : ""+ dir: i && Ek(n, t) ? t === "asc" ? "asc" : "desc" : "",+ ariaLabel: a ? `按${r}${a.dir ? Ek(a.sort, a.dir) : ""}排序` : ""};});}-function c5(e, t, n, r = Y.EMPTY_ENTITY_MEDIA, i = {}) {+function s5(e, t, n, r = Y.EMPTY_ENTITY_MEDIA, i = {}) {return Y.application.route(e, t, n, r, i);}-function l5() {- return sje({+function c5() {+ return cje({entityWall: Y.entityPageWall,entityCurrent: Y.entityPageCurrent(),indexVisible: !I("#index").hidden,@@ -76133,37 +76133,37 @@ function l5() {statsVisible: !I("#stats").hidden}, () => [...document.querySelectorAll(".followphotowall")].some((e) => e.getClientRects().length > 0));}-function u5() {+function l5() {Y.photos.sync();}-function d5() {- l5() ? Koe(dA()) : wA();+function u5() {+ c5() ? qoe(uA()) : CA();}-function Cje(e) {+function wje(e) {Y.photos.setSize(e);}-var f5 = ije({+var d5 = aje({request: (e) => R("/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 p5(e) {+async function f5(e) {let t = { textContent: "" };- return await f5(e, t), t.textContent;+ return await d5(e, t), t.textContent;}-async function wje(e) {+async function Tje(e) {let t = { textContent: "" }, n = [];- return await m5(e, t, (e) => {+ return await p5(e, t, (e) => {e.items && (n = e.items.map((e) => e.id));}), {text: t.textContent,removed: n};}-async function m5(e, t, n) {+async function p5(e, t, n) {t.textContent = "正在核对目录…";try {let r = await R("/api/purge-missing", {@@ -76176,7 +76176,7 @@ async function m5(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 R("/api/batch", {method: "POST",body: JSON.stringify({@@ -76188,22 +76188,22 @@ async function m5(e, t, n) {restored: e.length});} : null });- } else S8.actionReceipt("目录核对完成,无需改动");+ } else x8.actionReceipt("目录核对完成,无需改动");} catch (e) {- t.textContent = Y.sourceHint(e.message), S8.actionFailure("核对目录", e);+ t.textContent = Y.sourceHint(e.message), x8.actionFailure("核对目录", e);}}-function Tje(e) {+function Eje(e) {return `<div class="srctools">${Y.sourceToolButtons(e)}<span class="srcstate" aria-live="polite"></span></div>`;}-function Eje(e, t) {+function Dje(e, t) {let n = e.querySelector(".srcstate");if (!n) return;let r = e.querySelector("[data-reveal]"), i = e.querySelector("[data-sync]");- r && J.handler(r, "onclick", () => f5(Number(r.dataset.reveal), n, { button: r })), i && J.handler(i, "onclick", () => m5(Number(i.dataset.sync), n, t));+ r && J.handler(r, "onclick", () => d5(Number(r.dataset.reveal), n, { button: r })), i && J.handler(i, "onclick", () => p5(Number(i.dataset.sync), n, t));}-async function Dje(e, t) {+async function Oje(e, t) {let n = bc({title: "添加别名",description: "图库按名字查找图片,添加别名可能找到更多备选图片;也可以将别名设为统一显示的名称。",@@ -76226,53 +76226,53 @@ async function Dje(e, t) {remove: !0});} catch (e) {- S8.actionFailure("撤销别名", e);+ x8.actionFailure("撤销别名", e);return;}- S8.actionReceipt(`已撤销别名 ${r}`, { undo: async () => {+ x8.actionReceipt(`已撤销别名 ${r}`, { undo: async () => {await t({ alias: r });} });}));let { confirmed: i, result: a } = await n.done;- i && (a?.added ? S8.actionReceipt(`已添加别名 ${a.alias}`, { undo: async () => {+ i && (a?.added ? x8.actionReceipt(`已添加别名 ${a.alias}`, { undo: async () => {await t({alias: a.alias,remove: !0});- } }) : S8.actionReceipt(`${a?.alias} 已经是这份档案中的名字`));+ } }) : x8.actionReceipt(`${a?.alias} 已经是这份档案中的名字`));}-function h5(e, t) {- let n = ["performer", "studio"].includes(e) && H8.hasEntityPart(e, t, "jav"), r = `<div data-filter-row="bottom" class="flex min-w-0 items-center gap-3 px-3 py-2 min-h-12"><h3 data-entity-readout><span data-skeleton="count" class="relative inline-block h-3.5 w-24 rounded-md align-middle skeleton-sheen"></span></h3>${Uo()}${e === "agency" ? "" : r5(s5(U.sort, U.dir, n), n ? {+function m5(e, t) {+ let n = ["performer", "studio"].includes(e) && V8.hasEntityPart(e, t, "jav"), r = `<div data-filter-row="bottom" class="flex min-w-0 items-center gap-3 px-3 py-2 min-h-12"><h3 data-entity-readout><span data-skeleton="count" class="relative inline-block h-3.5 w-24 rounded-md align-middle skeleton-sheen"></span></h3>${Uo()}${e === "agency" ? "" : n5(o5(U.sort, U.dir, n), n ? {name: "jav-layout",label: "JAV 卡片版式",- value: sA(),- options: nA- } : null)}</div>`, i = e === "agency" ? "" : `<div data-entity-media><button type="button" data-media-view="videos" aria-label="视频" aria-pressed="true" ${t5}>${L("play")}</button><button type="button" data-media-view="photos" data-media-icon="image" aria-label="照片" ${t5}>${L("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}" ${t5}>${z(e.label)}</button>`).join("")}<span data-entity-sep></span></div>`, a = Sje(e, r, e === "agency" ? ys({+ value: oA(),+ options: tA+ } : null)}</div>`, i = e === "agency" ? "" : `<div data-entity-media><button type="button" data-media-view="videos" aria-label="视频" aria-pressed="true" ${e5}>${L("play")}</button><button type="button" data-media-view="photos" data-media-icon="image" aria-label="照片" ${e5}>${L("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}" ${e5}>${z(e.label)}</button>`).join("")}<span data-entity-sep></span></div>`, a = Cje(e, r, e === "agency" ? ys({kind: "performers",- layout: M5.peopleIndexLayout()- }) : iY("正在读取作品", hA(mA({+ layout: j5.peopleIndexLayout()+ }) : rY("正在读取作品", mA(pA({active: n,home: !1,portrait: !1}))), i);- I("#index").firstElementChild?.dataset.skeleton === `entity/${e}` ? g5(e, t) : (I("#index").innerHTML = a, g5(e, t), Es(I("#index")));+ I("#index").firstElementChild?.dataset.skeleton === `entity/${e}` ? h5(e, t) : (I("#index").innerHTML = a, h5(e, t), Es(I("#index")));}-function g5(e, t) {+function h5(e, t) {let n = I("#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" && H8.hasEntityPart(e, t, "costars"), () => n.querySelector(".entityhero")?.insertAdjacentHTML("beforeend", H8.costarSkeletonFoot())), r(n.querySelector(".feednew"), H8.hasEntityPart(e, t, "feed"), () => n.querySelector(".entitysection")?.insertAdjacentHTML("beforebegin", H8.feedNewSkeletonSection())), r(n.querySelector(".entityfacts"), e === "performer" && H8.hasEntityPart(e, t, "facts"), () => n.querySelector(".entityprofile")?.insertAdjacentHTML("beforeend", H8.factsSkeleton()));+ r(n.querySelector(".entityfoot"), e !== "agency" && V8.hasEntityPart(e, t, "costars"), () => n.querySelector(".entityhero")?.insertAdjacentHTML("beforeend", V8.costarSkeletonFoot())), r(n.querySelector(".feednew"), V8.hasEntityPart(e, t, "feed"), () => n.querySelector(".entitysection")?.insertAdjacentHTML("beforebegin", V8.feedNewSkeletonSection())), r(n.querySelector(".entityfacts"), e === "performer" && V8.hasEntityPart(e, t, "facts"), () => n.querySelector(".entityprofile")?.insertAdjacentHTML("beforeend", V8.factsSkeleton()));}-function _5(e) {- let t = $t[e] || e, n = V3[t] || "条目", r = V3[t] ? `<a class="geist-button primary" href="/${t}">返回${n}列表</a>` : "";+function g5(e) {+ let t = $t[e] || e, n = B3[t] || "条目", r = B3[t] ? `<a class="geist-button primary" href="/${t}">返回${n}列表</a>` : "";I("#index").innerHTML = Z.emptyState("search-x", `找不到这个${n}`, "名字可能拼错了,或者已经合并到别的名字下;回列表里重新找。", { actions: r });}-function v5(e, t) {+function _5(e, t) {b9(Y.application.fresh(e, t));}-function Oje() {+function kje() {Y.ENTITY_FILTER_KEYS = ["loc","creator",@@ -76283,40 +76283,40 @@ function Oje() {"orient","sort","dir"- ], Y.emptyEntityFilters = L8, Y.parseEntityFilters = (e) => R8(e, {+ ], Y.emptyEntityFilters = I8, Y.parseEntityFilters = (e) => L8(e, {sort: Z.appSettings.defaultSort,dir: Z.appSettings.defaultSortDirection- }), Y.entityFilterSearch = z8, Y.cloneBarsContext = (e) => e && e.type === "entity" ? {+ }), Y.entityFilterSearch = R8, Y.cloneBarsContext = (e) => e && e.type === "entity" ? {...e,filters: { ...e.filters }} : e, Y.activeFilterState = () => {- let e = o5();+ let e = a5();return e.type === "home" ? U : e.filters;}, I("#q").value = U.q, X.rememberSearchValue();}-function kje() {- Y.entityPageView = "", Y.entityPageWall = !1, Y.entityPageRevision = 0, Y.entityPageCurrent = () => !!i5(), Y.entityPageLive = (e, t) => {- let n = i5();+function Aje() {+ Y.entityPageView = "", Y.entityPageWall = !1, Y.entityPageRevision = 0, Y.entityPageCurrent = () => !!r5(), Y.entityPageLive = (e, t) => {+ let n = r5();return !!n && !I("#index").hidden && n.props.kind === e && n.props.name === t;}, Y.EMPTY_ENTITY_MEDIA = {media: "videos",set: 0- }, Y.parseMediaView = B8, Y.entityViewSearch = V8, Y.entityBodyCanLoadMore = () => !I("#index").hidden && I("#stats").hidden, Y.entityBodySkeleton = () => K7(), Y.entityPageHelpers = {+ }, Y.parseMediaView = z8, Y.entityViewSearch = B8, Y.entityBodyCanLoadMore = () => !I("#index").hidden && I("#stats").hidden, Y.entityBodySkeleton = () => K7(), Y.entityPageHelpers = {wireDrag: (e) => {e && e9(e);},wireScroller: (e) => {e && Us(e);},- wireFeedRow: (e) => Y8(e),- feedRowHtml: J8,- receipt: (e, t) => S8.actionReceipt(e, t),- failure: (e, t) => S8.actionFailure(e, t),- aliasForm: (e, t) => Dje(e, t),- sourceToolsHtml: (e) => Tje(e),- wireSourceTools: (e, t) => Eje(e, t),+ wireFeedRow: (e) => J8(e),+ feedRowHtml: q8,+ receipt: (e, t) => x8.actionReceipt(e, t),+ failure: (e, t) => x8.actionFailure(e, t),+ aliasForm: (e, t) => Oje(e, t),+ sourceToolsHtml: (e) => Eje(e),+ wireSourceTools: (e, t) => Dje(e, t),comboItems: (e) => F7(e),- sortKeys: (e, t, n) => s5(e, t, n)+ sortKeys: (e, t, n) => o5(e, t, n)}, Y.entityFollowActions = {...$.followFeedActions,route: () => {},@@ -76339,11 +76339,11 @@ function kje() {<button type="button" data-sync="${e}" title="核对该目录:磁盘上已删除的移入 Peach 回收站,带个人记录的标为已消失"aria-label="同步删除">${L("folder-sync")}</button>`;}-function Aje() {- Y.application = fje({+function jje() {+ Y.application = pje({controller: {context: () => {- let e = o5();+ let e = a5();return e.type === "entity" ? e : null;},live: (e, t) => Y.entityPageLive(e, t),@@ -76355,22 +76355,22 @@ function Aje() {filters: U} }),releaseBodyPreviews: () => ll(I("#index [data-entity-body]")),- push: a5,+ push: i5,state: () => ({seed: String(U.seed || ""),jav: U.jav === "1"}),preferences: () => ({revision: Y.entityPageRevision,- feedRevision: H8.feedRevision,- photoSize: dA(),- photoLayout: fA(),- photoLayouts: iA,+ feedRevision: V8.feedRevision,+ photoSize: uA(),+ photoLayout: dA(),+ photoLayouts: rA,followImagesOnly: !!Z.appSettings.followImagesOnly,- javLayout: sA(),- javLayouts: nA,+ javLayout: oA(),+ javLayouts: tA,states: X.VIEW_PILLS,- peopleLayout: M5.peopleIndexLayout(),+ peopleLayout: j5.peopleIndexLayout(),layout: G7(),selectMode: Ol,selected: new Set(El),@@ -76384,52 +76384,52 @@ function Aje() {actions: Y.entityFollowActions}}),- changeFilter: C7,- rollSeed: () => S8.rollSeed(),+ changeFilter: S7,+ rollSeed: () => x8.rollSeed(),writeSeed: (e) => {U.seed = e, $l();},- setJavLayout: i7,- javLayout: sA,- setPhotoLayout: _A,- syncPhotoWalls: u5,- openEntity: v5,- photoViewActive: l5,+ setJavLayout: r7,+ javLayout: oA,+ setPhotoLayout: gA,+ syncPhotoWalls: l5,+ openEntity: _5,+ photoViewActive: c5,recordPainted: (e, t) => {Y.entityPageView = e, Y.entityPageWall = t;},- syncDensity: d5,- scheduleSticky: d7,- releasePage: () => WV(I("#index")),- showMissing: _5,- dropBars: O8+ syncDensity: u5,+ scheduleSticky: u7,+ releasePage: () => UV(I("#index")),+ showMissing: g5,+ dropBars: D8},loading: {- shapesReady: (e, t) => H8.hasEntityShape(e, t),- waitShapes: z5,- paintSkeleton: h5,+ shapesReady: (e, t) => V8.hasEntityShape(e, t),+ waitShapes: R5,+ paintSkeleton: m5,resetView: () => {Ql({ detailReturnBarsContext: null }), Y.entityPageView = "", Y.entityPageWall = !1;},- loadShapes: W8,- syncParts: g5+ loadShapes: U8,+ syncParts: h5},photos: {preferences: () => ({- size: dA(),- layout: fA(),+ size: uA(),+ layout: dA(),imagesOnly: !!Z.appSettings.followImagesOnly}),walls: () => document.querySelectorAll(".followphotowall"),- pushEntity: a5,+ pushEntity: i5,pushFollow: T9,- syncDensity: d5,- storeSize: Woe+ syncDensity: u5,+ storeSize: Goe},helpers: Y.entityPageHelpers,actions: {toggleTag: P7,- openFollowAuthor: F5,+ openFollowAuthor: P5,javContext: (e) => Ql({ entityJavLayout: !!e })},sortPreference: () => ({@@ -76440,8 +76440,8 @@ function Aje() {}//#endregion//#region src/application/playlists.js-var y5 = { playlistWrite: void 0 };-function jje(e, t) {+var v5 = { playlistWrite: void 0 };+function Mje(e, t) {e === "tag" ? (Ql({ state: {...U,tag: t,@@ -76451,17 +76451,17 @@ function jje(e, t) {q: "",state: "",orient: ""- } }), X.clearSearchField(), Q.route(g7()), W5(), M7()) : v5(e, t);+ } }), X.clearSearchField(), Q.route(h7()), U5(), M7()) : _5(e, t);}-function b5(e = "") {+function y5(e = "") {return `<label class="modalfield"><span>名称</span><input class="geist-input" name="name"maxlength="80" placeholder="输入名称" value="${z(e)}"></label>`;}-async function x5({ title: e, count: t, save: n }) {+async function b5({ title: e, count: t, save: n }) {let r = bc({title: "保存为播放列表",description: `这个 Mix 的 ${t} 个视频会存成一份可以继续播放的列表。`,- body: b5(e),+ body: y5(e),confirmLabel: "保存为播放列表",onConfirm: () => {let e = r.dialog.querySelector("[name=\"name\"]").value.trim();@@ -76471,28 +76471,28 @@ async function x5({ title: e, count: t, save: n }) {});r.dialog.querySelector("[name=\"name\"]").select();let { confirmed: i, result: a } = await r.done;- i && (await o9(a.id, a.current_asset_id, !0), S8.actionReceipt("已保存为播放列表", { undo: async () => {- await y5.playlistWrite({+ i && (await o9(a.id, a.current_asset_id, !0), x8.actionReceipt("已保存为播放列表", { undo: async () => {+ await v5.playlistWrite({action: "delete",id: a.id}), b9("/playlists");} }));}-async function Mje(e) {+async function Nje(e) {let t = ((await R("/api/playlists")).items || []).map((e) => `<label class="pickrow">${cs(`data-pick-playlist="${e.id}"`)}<span class="pickrowtext"><b>${z(e.name)}</b><small>${e.item_count} 个视频</small></span></label>`).join(""), n = bc({title: "加入播放列表",description: "勾选要加入的列表,或者填个名称新建一份。",- body: b5() + (t ? `<div class="picklist" role="group" aria-label="已有播放列表">${t}</div>` : ns("还没有播放列表,填个名称就能新建一份。", { size: "small" })),+ body: y5() + (t ? `<div class="picklist" role="group" aria-label="已有播放列表">${t}</div>` : ns("还没有播放列表,填个名称就能新建一份。", { 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 y5.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 v5.playlistWrite({action: "create",name: t,asset_ids: [e.id]})).playlist : null;- for (let t of r) await y5.playlistWrite({+ for (let t of r) await v5.playlistWrite({action: "add",id: t,asset_ids: [e.id]@@ -76510,41 +76510,41 @@ async function Mje(e) {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 y5.playlistWrite({+ x8.actionReceipt(`已加入 ${o} 个播放列表`, { undo: async () => {+ for (let t of a.added) await v5.playlistWrite({action: "remove",id: t,asset_id: e.id});- a.created && await y5.playlistWrite({+ a.created && await v5.playlistWrite({action: "delete",id: a.created.id});} });}-function S5() {- ll(), i9(!1), U5();- let e = RV(I("#stats"));- e?.path !== "/playlists" || !e.host.isConnected ? Ql({ pageOpens: Ul + 1 }) : (H5({ manage: !1 }), Ql({ playlistsRevision: Yl + 1 }));+function x5() {+ ll(), i9(!1), H5();+ let e = LV(I("#stats"));+ e?.path !== "/playlists" || !e.host.isConnected ? Ql({ pageOpens: Ul + 1 }) : (V5({ manage: !1 }), Ql({ playlistsRevision: Yl + 1 }));}-function Nje(e) {+function Pje(e) {Q.route("/review" + (e.category ? "?category=" + encodeURIComponent(e.category) : ""));}-function C5(e) {- Ql({ configurationRequestedSection: e }), Q.navigatePath(hV(e));+function S5(e) {+ Ql({ configurationRequestedSection: e }), Q.navigatePath(mV(e));}-function Pje() {- y5.playlistWrite = (e) => R("/api/playlist", {+function Fje() {+ v5.playlistWrite = (e) => R("/api/playlist", {method: "POST",body: JSON.stringify(e)});}//#endregion//#region src/react/catalog-grid/selection-controller.ts-function w5(e) {+function C5(e) {return e === "/follow" ? "follow" : e === "/junk-files" ? "junk" : "catalog";}-function T5(e, t, n, r, i = !1) {+function w5(e, t, n, r, i = !1) {return i && (e.selected.clear(), e.followSelected.clear()), {selectMode: r,selectSurface: r ? t.selectMode ? t.selectSurface : n : "",@@ -76552,24 +76552,24 @@ function T5(e, t, n, r, i = !1) {followLastSelectedId: i ? null : t.followLastSelectedId};}-function E5(e, t, n, r, i, a = !1) {- let o = n === "follow", s = RY(o ? e.followSelected : e.selected, r, o ? t.followLastSelectedId : t.lastSelectedId, i, a);+function T5(e, t, n, r, i, a = !1) {+ let o = n === "follow", s = LY(o ? e.followSelected : e.selected, r, o ? t.followLastSelectedId : t.lastSelectedId, i, a);return {- ...T5(e, t, n, !0),+ ...w5(e, t, n, !0),...o ? { followLastSelectedId: s } : { lastSelectedId: s }};}-function Fje(e, t, n, r) {- let i = w5(t);+function Ije(e, t, n, r) {+ let i = C5(t);return {count: (i === "follow" ? e.followSelected : e.selected).size,context: i === "catalog" && r === "trash" ? "trash" : i,- junkDismissed: l$(n).view === "dismissed"+ junkDismissed: c$(n).view === "dismissed"};}//#endregion//#region src/application/selection.js-var D5 = {+var E5 = {batchDockProps: void 0,trashCount: void 0,currentSelectSurface: void 0,@@ -76577,43 +76577,43 @@ var D5 = {BATCH_RUNNERS: void 0,coverRecheck: void 0};-function O5() {+function D5() {U7({selected: new Set(El),selectMode: Ol- }), a5({+ }), i5({selected: new Set(El),selectMode: Ol}), T9({selected: new Set(Dl),selectMode: Ol- }), D5.batchDockProps = Gje(), v8() && (v8().render(D5.batchDockProps), Z.syncGlassOptics());+ }), E5.batchDockProps = Kje(), _8() && (_8().render(E5.batchDockProps), Z.syncGlassOptics());}-function k5(e, t = !1) {- Ql(T5({+function O5(e, t = !1) {+ Ql(w5({selected: El,followSelected: Dl- }, j5(), w5(location.pathname), !!e, t)), document.body.classList.toggle("select-mode", Ol), Ol && ll(), I("#selectMode").setAttribute("aria-pressed", String(Ol)), O5();+ }, A5(), C5(location.pathname), !!e, t)), document.body.classList.toggle("select-mode", Ol), Ol && ll(), I("#selectMode").setAttribute("aria-pressed", String(Ol)), D5();}-function Ije() {- return [...I5.gridCards()].map((e) => +e.dataset.id);+function Lje() {+ return [...F5.gridCards()].map((e) => +e.dataset.id);}-function A5(e, t = !1) {- Ql(E5({+function k5(e, t = !1) {+ Ql(T5({selected: El,followSelected: Dl- }, j5(), w5(location.pathname), Ije(), e, t)), k5(!0);+ }, A5(), C5(location.pathname), Lje(), e, t)), O5(!0);}-function Lje() {+function Rje() {return [...document.querySelectorAll("[data-follow-list] > [data-follow-item]")].map((e) => +e.dataset.followItem);}-function Rje(e, t = !1) {- Ql(E5({+function zje(e, t = !1) {+ Ql(T5({selected: El,followSelected: Dl- }, j5(), "follow", Lje(), e, t)), k5(!0);+ }, A5(), "follow", Rje(), e, t)), O5(!0);}-async function zje(e, t) {+async function Bje(e, t) {let n = {like: "喜欢",seen: "标为看过",@@ -76645,9 +76645,9 @@ async function zje(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"));- k5(!1, !0), await o7();+ O5(!1, !0), await a7();let r = e === "dispose" ? "restore" : e === "restore" ? "dispose" : null;- S8.actionReceipt(`已${n[e]} ${i.length} 项`, { undo: r ? async () => {+ x8.actionReceipt(`已${n[e]} ${i.length} 项`, { undo: r ? async () => {if (r === "dispose" && t.restored_reasons) for (let e of [null,"manual",@@ -76672,23 +76672,23 @@ async function zje(e, t) {operation: r})});- await o7();+ await a7();} : null });} catch (e) {throw lc(t, !1), e;} finally {- lc(t, !1), O5();+ lc(t, !1), D5();}}});}-async function Bje() {+async function Vje() {let e = [...El];if (!e.length) return;let t = bc({title: "判定产地",description: `选中的 ${e.length} 项归为同一个产地。判定之后,刮削和自动推断不再改写产地。`,- body: "<div class=\"chips\" role=\"group\" aria-label=\"产地\">" + D5.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=\"产地\">" + E5.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,@@ -76712,9 +76712,9 @@ async function Bje() {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 && (k5(!1, !0), await o7(), S8.actionReceipt(r.region === "none" ? `已撤回 ${e.length} 项的产地判定` : `已判为${r.label}:${e.length} 项`));+ n && (O5(!1, !0), await a7(), x8.actionReceipt(r.region === "none" ? `已撤回 ${e.length} 项的产地判定` : `已判为${r.label}:${e.length} 项`));}-async function Vje(e, t) {+async function Hje(e, t) {let n = [...Dl];if (!n.length) return;let r = {@@ -76740,16 +76740,16 @@ async function Vje(e, t) {items: n,to: e})- }), k5(!1, !0), location.pathname === "/follow" && Ql({ pageOpens: Ul + 1 }), S8.actionReceipt(`已${r[e]} ${n.length} 项`);+ }), O5(!1, !0), location.pathname === "/follow" && Ql({ pageOpens: Ul + 1 }), x8.actionReceipt(`已${r[e]} ${n.length} 项`);} catch (e) {throw lc(t, !1), e;} finally {- lc(t, !1), O5();+ lc(t, !1), D5();}}});}-async function Hje(e, t) {+async function Uje(e, t) {let n = [...El];if (!n.length) return;let r = {@@ -76776,9 +76776,9 @@ async function Hje(e, t) {operation: e,...e === "dispose" ? { disposal_reason: "junk" } : {}})- }), k5(!1, !0), await L7();+ }), O5(!1, !0), await L7();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 R("/api/batch", {method: "POST",body: JSON.stringify({@@ -76790,54 +76790,54 @@ async function Hje(e, t) {} catch (e) {throw lc(t, !1), e;} finally {- lc(t, !1), O5();+ lc(t, !1), D5();}}});}-function Uje() {- zAe({+function Wje() {+ BAe({root: I("[data-batch-dock]"),run: (e, t, n) => {- D5.BATCH_RUNNERS[e]?.(t, n);+ E5.BATCH_RUNNERS[e]?.(t, n);}}).then((e) => {- e.render(D5.batchDockProps), Z.syncGlassOptics();+ e.render(E5.batchDockProps), Z.syncGlassOptics();}).catch(() => {});}-function Wje() {- D5.batchDockProps = {+function Gje() {+ E5.batchDockProps = {count: 0,context: "catalog",junkDismissed: !1- }, D5.trashCount = null, D5.currentSelectSurface = () => w5(location.pathname), J.handler(I("#selectMode"), "onclick", () => k5(!Ol, !!Ol)), D5.REGION_CHOICES = [+ }, E5.trashCount = null, E5.currentSelectSurface = () => C5(location.pathname), J.handler(I("#selectMode"), "onclick", () => O5(!Ol, !!Ol)), E5.REGION_CHOICES = [["jp", "日本"],["kr", "韩国"],["cn", "国产"],["west", "欧美"],["other", "其他"],["none", "撤回判定"]- ], D5.BATCH_RUNNERS = {- batch: zje,- region: Bje,- follow: Vje,- junk: Hje,- clear: () => k5(!1, !0)+ ], E5.BATCH_RUNNERS = {+ batch: Bje,+ region: Vje,+ follow: Hje,+ junk: Uje,+ clear: () => O5(!1, !0)}, J.handler(I("#density"), "onclick", () => {- l5() ? Cje(dA() === "big" ? "small" : "big") : Goe();- }), wA(), sl({+ c5() ? wje(uA() === "big" ? "small" : "big") : Koe();+ }), CA(), sl({selecting: () => Ol,censored: () => Q7(),delaySeconds: () => Z.appSettings.hoverDelaySeconds}), J.listen(window, "pagehide", () => ll()), J.listen(document, "visibilitychange", () => {document.hidden && ll();- }), il(), D5.coverRecheck = 0, J.listen(window, "resize", () => {- tl(I("#index")), clearTimeout(D5.coverRecheck), D5.coverRecheck = J.delay(() => I("#index").querySelectorAll("img.cover").forEach((e) => {+ }), il(), E5.coverRecheck = 0, J.listen(window, "resize", () => {+ tl(I("#index")), clearTimeout(E5.coverRecheck), E5.coverRecheck = J.delay(() => I("#index").querySelectorAll("img.cover").forEach((e) => {e.complete && Kc(e);}), 200);}, { passive: !0 });}-function j5() {+function A5() {return {selectMode: Ol,selectSurface: jl,@@ -76845,67 +76845,67 @@ function j5() {followLastSelectedId: Al};}-function Gje() {- return Fje({+function Kje() {+ return Ije({selected: El,followSelected: Dl}, location.pathname, location.search, U.state);}//#endregion//#region src/application/index.js-var M5 = {+var j5 = {peopleIndexLayout: void 0,personAvatar: void 0};-function Kje() {- return Z.appSettings.followLayout === "table" ? "table" : "default";-}function qje() {- return WZ(location.search);+ return Z.appSettings.followLayout === "table" ? "table" : "default";}-function Jje(e) {- return GZ(e);+function Jje() {+ return UZ(location.search);}function Yje(e) {- Q.route(Jje(e));+ return WZ(e);}-function Xje(e = "") {- return KZ(location.search, e);+function Xje(e) {+ Q.route(Yje(e));}-function Zje(e) {- return I8(e);+function Zje(e = "") {+ return GZ(location.search, e);}-function N5(e) {- return P8(e);+function Qje(e) {+ return F8(e);}-function P5() {+function M5(e) {+ return N8(e);+}+function N5() {I("#stats").hidden = !0, I("#index").hidden = !1, z7(), X.hideCatalogCombo(), I("#count").textContent = "", I("#loadSentinel").hidden = !0;}-function Qje(e, t) {+function $je(e, t) {Ql({ state: {...U,state: "",tag: e.join(","),tag_match: t- } }), k5(!1, !1), Q.route(g7()), W5(), g9(), M7();+ } }), O5(!1, !1), Q.route(h7()), U5(), g9(), M7();}-function F5(e) {- M5.controller.openFollowAuthor(e);+function P5(e) {+ j5.controller.openFollowAuthor(e);}-function $je(e) {- M5.controller.openFollowTag(e);+function eMe(e) {+ j5.controller.openFollowTag(e);}-function eMe() {+function tMe() {$.FOLLOW_MANAGE_TABS = ["list","add","feeds"], J.listen(document, "click", (e) => {- e.target.closest?.("[data-empty-settings]") && C5("媒体库与入库");- }), M5.peopleIndexLayout = () => H3(Z.appSettings.peopleLayout), M5.personAvatar = F8;+ e.target.closest?.("[data-empty-settings]") && S5("媒体库与入库");+ }), j5.peopleIndexLayout = () => V3(Z.appSettings.peopleLayout), j5.personAvatar = P8;}-function tMe() {- M5.controller = rje({+function nMe() {+ j5.controller = ije({route: Q.route,followView: S9,adoptFollowView: C9,@@ -76917,7 +76917,7 @@ function tMe() {}//#endregion//#region src/application/loading.js-var I5 = {+var F5 = {setGridCards: void 0,gridCards: void 0,managementPlaceholder: void 0,@@ -76926,58 +76926,58 @@ var I5 = {ENTITY_SHAPES_WAIT: void 0,syncPageTitle: void 0};-function L5(e = "正在读取作品") {+function I5(e = "正在读取作品") {if (location.pathname === "/wall") {I("#loadSentinel").hidden = !0;return;}let t = I("#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 = kCe(l$(location.search)), Es(t)) : (t.removeAttribute("aria-busy"), t.removeAttribute("aria-label"), t.textContent = "", U && T7({+ 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 = ACe(c$(location.search)), Es(t)) : (t.removeAttribute("aria-busy"), t.removeAttribute("aria-label"), t.textContent = "", U && w7({count: null,- ...O7()+ ...D7()})), I("#loadSentinel").hidden = !0, H7()) return;let r = I("#grid"), i = K7(e), a = r.querySelector(".catalog-skeleton");- (a?.dataset.skeleton !== f2(i) || Number(a.querySelector("[style]")?.style.getPropertyValue("--skeleton-card-ratio")) !== q7()) && (a ? r.innerHTML = `<div class="grid">${i}</div>` : I5.setGridCards(i), Es(I("#grid")));+ (a?.dataset.skeleton !== d2(i) || Number(a.querySelector("[style]")?.style.getPropertyValue("--skeleton-card-ratio")) !== q7()) && (a ? r.innerHTML = `<div class="grid">${i}</div>` : F5.setGridCards(i), Es(I("#grid")));}-function R5() {- I("#catalogFilter").style.display = "none", w7();+function L5() {+ I("#catalogFilter").style.display = "none", C7();}-function z5() {+function R5() {let e = new Promise((e) => {- let t = I5.ENTITY_SHAPES_WAIT, n = performance.now(), r = () => {+ let t = F5.ENTITY_SHAPES_WAIT, n = performance.now(), r = () => {let i = performance.now();t -= Math.min(i - n, 50), n = i, t > 0 ? J.delay(r, Math.min(t, 50)) : e();};J.delay(r, 50);});- return Promise.race([I5.entityShapesReady ||= W8(), e]);+ return Promise.race([F5.entityShapesReady ||= U8(), e]);}-function nMe() {+function rMe() {let e = decodeURIComponent(location.pathname);- if (document.body.dataset.surface = location.pathname, e === "/wall") document.body.setAttribute("data-wall-open", ""), R5();- else if (/^\/assets\/\d+$/.test(e)) R5();- else if (e === "/settings" || /^\/settings\/(appearance|playback|jav|search|content)$/.test(e) || e.startsWith("/posts/") || e.startsWith("/works/")) R5();- else if (e === "/junk-files") L5("正在读取垃圾文件");- else if (e === "/jav" && w$(new URLSearchParams(location.search).get("tab")) === "library") L5("正在读取馆藏");+ if (document.body.dataset.surface = location.pathname, e === "/wall") document.body.setAttribute("data-wall-open", ""), L5();+ else if (/^\/assets\/\d+$/.test(e)) L5();+ else if (e === "/settings" || /^\/settings\/(appearance|playback|jav|search|content)$/.test(e) || e.startsWith("/posts/") || e.startsWith("/works/")) L5();+ else if (e === "/junk-files") I5("正在读取垃圾文件");+ else if (e === "/jav" && C$(new URLSearchParams(location.search).get("tab")) === "library") I5("正在读取馆藏");else if (Q.managedPagePath(e)) {- R5();+ L5();let t = I("#stats");- t.hidden = !1, z7(), t.innerHTML = e.startsWith("/follow") && e !== "/subscriptions" ? $.followSkeletonHtml("正在读取关注内容") : I5.managementPlaceholder(e), Es(t);- } else if (/^\/(performers|creators|studios|agencies|tags)$/.test(e)) R5(), P5(), G3(I("#index"), U3(e.slice(1), location.search), M5.peopleIndexLayout());+ t.hidden = !1, z7(), t.innerHTML = e.startsWith("/follow") && e !== "/subscriptions" ? $.followSkeletonHtml("正在读取关注内容") : F5.managementPlaceholder(e), Es(t);+ } else if (/^\/(performers|creators|studios|agencies|tags)$/.test(e)) L5(), N5(), W3(I("#index"), H3(e.slice(1), location.search), j5.peopleIndexLayout());else if (/^\/(?:performers|creators|studios|agencies|series|tags)\//.test(e)) {- R5(), I("#index").hidden = !1, z7();+ L5(), I("#index").hidden = !1, z7();let t = en[e.split("/")[1]], n = e.split("/").slice(2).join("/");- (H8.hasEntityShape(t, n) ? Promise.resolve() : z5()).then(() => {- I("#index").firstElementChild || decodeURIComponent(location.pathname) !== e || (h5(t, n), Es(I("#index")));+ (V8.hasEntityShape(t, n) ? Promise.resolve() : R5()).then(() => {+ I("#index").firstElementChild || decodeURIComponent(location.pathname) !== e || (m5(t, n), Es(I("#index")));});- } else Q.routeMeta(e) ? L5() : (z7(), I("#count").textContent = "", I("#loadSentinel").hidden = !0);+ } else Q.routeMeta(e) ? I5() : (z7(), I("#count").textContent = "", I("#loadSentinel").hidden = !0);}-function rMe() {- $.followContentSkeletonHtml = (e = new URLSearchParams(location.search).get("media") === "images" ? "images" : "videos", t = "正在读取关注内容") => u2(t, {+function iMe() {+ $.followContentSkeletonHtml = (e = new URLSearchParams(location.search).get("media") === "images" ? "images" : "videos", t = "正在读取关注内容") => l2(t, {cards: !0,className: "follow-content-skeleton postercard-skeleton",gridClass: e === "images" ? "followlist followphotowall" : "",- gridSize: dA()+ gridSize: uA()}), $.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>@@ -76985,39 +76985,39 @@ function rMe() {<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>`, I("#loadSentinel").innerHTML = as(is), I5.setGridCards = (e) => _s(I("#grid"), () => {+ ${$.followContentSkeletonHtml(void 0, e)}</div></div>`, I("#loadSentinel").innerHTML = as(is), F5.setGridCards = (e) => _s(I("#grid"), () => {I("#grid").innerHTML = `<div class="grid">${e}</div>`;- }), I5.gridCards = () => document.querySelectorAll(":is(#grid,#index [data-entity-grid]) :is([data-media-grid] > [data-media-card][data-id],[data-catalog-row][data-id])"), I5.managementPlaceholder = (e) => d2(e, {- followLayout: Kje(),+ }), F5.gridCards = () => document.querySelectorAll(":is(#grid,#index [data-entity-grid]) :is([data-media-grid] > [data-media-card][data-id],[data-catalog-row][data-id])"), F5.managementPlaceholder = (e) => u2(e, {+ followLayout: qje(),...(({ sort: e, dir: t, tab: n }) => ({followSort: e,followDir: t,followTab: n- }))(qje())- }), I5.wantsDiscoveryBars = () => I("#catalogFilter").style.display !== "none", I5.entityShapesReady = null, I5.ENTITY_SHAPES_WAIT = 400, I5.syncPageTitle = (e) => {- let t = new URL(e, location.origin), n = AV(decodeURIComponent(t.pathname))?.title;+ }))(Jje())+ }), F5.wantsDiscoveryBars = () => I("#catalogFilter").style.display !== "none", F5.entityShapesReady = null, F5.ENTITY_SHAPES_WAIT = 400, F5.syncPageTitle = (e) => {+ let t = new URL(e, location.origin), n = kV(decodeURIComponent(t.pathname))?.title;document.title = n ? `${n} · Peach` : "Peach · 蜜桃", document.body.dataset.surface = t.pathname, m9();};}//#endregion//#region src/sidebar-skeleton.ts-var B5 = (e) => e.replace(/[&<>"']/g, (e) => ({+var z5 = (e) => e.replace(/[&<>"']/g, (e) => ({"&": "&","<": "<",">": ">","\"": ""","'": "'"})[e]);-function iMe(e, t, n) {+function aMe(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-${B5(r)}"/></svg>`;- return `<button type="button" data-nav="${B5(e)}" aria-pressed="${n(e)}" aria-label="${B5(t)}">${i}<span>${B5(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-${z5(r)}"/></svg>`;+ return `<button type="button" data-nav="${z5(e)}" aria-pressed="${n(e)}" aria-label="${z5(t)}">${i}<span>${z5(t)}</span></button>`;}).join("")}</div>`;}//#endregion//#region src/application/filter-scroll.js-function aMe(e, t, n, r = !1) {+function oMe(e, t, n, r = !1) {if (t = Math.max(0, t), !e || !n || r || t <= 8) return {y: t,origin: t,@@ -77036,7 +77036,7 @@ function aMe(e, t, n, r = !1) {}//#endregion//#region src/application/layout.js-var V5 = {+var B5 = {sidebarProps: void 0,sidebarSurface: void 0,sidebarCatalog: void 0,@@ -77058,19 +77058,19 @@ var V5 = {mobileFilterHost: void 0,mobileFilterPath: void 0};-function H5({ manage: e = !0, placeholder: t = "" } = {}) {- I("#stats").hidden = !1, I("#index").hidden = !0, z7(), I("#count").textContent = "", I("#loadSentinel").hidden = !0, e ? Z5() : (Q5(""), g9()), t && p2(I("#stats"), t);+function V5({ manage: e = !0, placeholder: t = "" } = {}) {+ I("#stats").hidden = !1, I("#index").hidden = !0, z7(), I("#count").textContent = "", I("#loadSentinel").hidden = !0, e ? X5() : (Z5(""), g9()), t && f2(I("#stats"), t);}-function U5() {- X.hideCatalogCombo(), R5(), document.body.classList.remove("entity-open", "index-open");+function H5() {+ X.hideCatalogCombo(), L5(), document.body.classList.remove("entity-open", "index-open");}-function W5() {- document.body.classList.remove("entity-open", "index-open"), WV(I("#index")), I("#stats").hidden = !0, I("#index").hidden = !0, X8(location.pathname) || (I("#feedNew").hidden = !0), I("#catalogFilter").style.display = "", w7(), Z5(), $5();+function U5() {+ document.body.classList.remove("entity-open", "index-open"), UV(I("#index")), I("#stats").hidden = !0, I("#index").hidden = !0, Y8(location.pathname) || (I("#feedNew").hidden = !0), I("#catalogFilter").style.display = "", C7(), X5(), Q5();}-function oMe() {- Q.route("/"), W5();+function sMe() {+ Q.route("/"), U5();}-function G5({ tags: e = [], providers: t = [], duration: n = !1 }) {+function W5({ tags: e = [], providers: t = [], duration: n = !1 }) {h9({content: e.length || t.length || n ? {kind: "follow",@@ -77094,69 +77094,69 @@ function G5({ tags: e = [], providers: t = [], duration: n = !1 }) {filters: $.followSidebarFilters()});}-function K5(e) {- fNe({+function G5(e) {+ pNe({...S9(),...e}), h9({ filters: $.followSidebarFilters() });}-function q5() {+function K5() {return matchMedia("(max-width:760px)").matches;}-function J5(e) {+function q5(e) {let t = I("#drawer"), n = !e && t.contains(document.activeElement);- t.inert = !e && q5(), t.classList.toggle("open", e), I("#scrim").classList.toggle("on", e), document.body.classList.toggle("drawer-open", !!e), document.dispatchEvent(new Event("board:sidebar")), I("#filterBtn").setAttribute("aria-expanded", String(!!e)), I("#filterBtn").setAttribute("aria-controls", "drawer"), I("#filterBtn").setAttribute("aria-label", e ? "收起侧栏" : "展开侧栏"), n && I("#filterBtn").focus(), sessionStorage.setItem("board.sidebar", e ? "open" : "closed");-}-function sMe() {- q5() && J5(!1);+ t.inert = !e && K5(), t.classList.toggle("open", e), I("#scrim").classList.toggle("on", e), document.body.classList.toggle("drawer-open", !!e), document.dispatchEvent(new Event("board:sidebar")), I("#filterBtn").setAttribute("aria-expanded", String(!!e)), I("#filterBtn").setAttribute("aria-controls", "drawer"), I("#filterBtn").setAttribute("aria-label", e ? "收起侧栏" : "展开侧栏"), n && I("#filterBtn").focus(), sessionStorage.setItem("board.sidebar", e ? "open" : "closed");}function cMe() {+ K5() && q5(!1);+}+function lMe() {Vl === null && (Ql({ runtimeConfigurable: !1 }), R("/healthz").then((e) => {- Ql({ runtimeConfigurable: !!e.configurable }), Vl && X5() && Z5();+ Ql({ runtimeConfigurable: !!e.configurable }), Vl && Y5() && X5();}).catch(() => {}));}-function Y5(e = "", t = !1) {- if (!t && !pV(location.pathname)) {- let t = $V.navigation;- $V.push(hV(e), { settingsBackground: {+function J5(e = "", t = !1) {+ if (!t && !fV(location.pathname)) {+ let t = QV.navigation;+ QV.push(mV(e), { settingsBackground: {pathname: location.pathname,search: location.search,state: t.location.state,seq: t.seq} });- } else !t && e && eH(hV(e), {+ } else !t && e && $V(mV(e), {replace: !0,- state: $V.navigation.location.state+ state: QV.navigation.location.state});- return e ||= mV(location.pathname), IAe(V5.settingsHost()).then((t) => (t.open(e), t));-}-function lMe() {- pV(location.pathname) && (gV($V.navigation.location.state) ? $V.go(-1) : Q.navigatePath("/", !0));+ return e ||= pV(location.pathname), LAe(B5.settingsHost()).then((t) => (t.open(e), t));}function uMe() {+ fV(location.pathname) && (hV(QV.navigation.location.state) ? QV.go(-1) : Q.navigatePath("/", !0));+}+function dMe() {return {scroll: I("#drawerScroll"),store: Z.settingsStore,- navCatalog: V5.NAV_CATALOG,- navOn: c7,- navTo: l7,- toggleChip: (e, t, n) => C7((r) => {+ navCatalog: B5.NAV_CATALOG,+ navOn: s7,+ navTo: c7,+ toggleChip: (e, t, n) => S7((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) => C7((n) => {+ setDuration: (e, t) => S7((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]), J5(!1), b9(x9());+ $.followAuthors = /* @__PURE__ */ new Set(), $.followProviders = /* @__PURE__ */ new Set(), $.followMediaView = "videos", $.followFilter = "saved", $.followDurMin = $.followDurMax = 0, $.followTags = /* @__PURE__ */ new Set([e]), q5(!1), b9(x9());},selectFollowTag: (e) => {- $.followTags = /* @__PURE__ */ new Set([e]), J5(!1), b9(x9());+ $.followTags = /* @__PURE__ */ new Set([e]), q5(!1), b9(x9());},- selectFollowProvider: (e) => K5({ provider: $.followProviders.has(e) ? "" : e }),- setFollowDuration: (e, t) => K5({+ selectFollowProvider: (e) => G5({ provider: $.followProviders.has(e) ? "" : e }),+ setFollowDuration: (e, t) => G5({durMin: e ? e * 60 : 0,durMax: t < 180 ? t * 60 : 0}),@@ -77165,137 +77165,137 @@ function uMe() {}};}-function dMe() {+function fMe() {let e = I("#drawerScroll"), t = [...e.querySelector("[data-sidebar-head]")?.children || []];- e.innerHTML = iMe(Z.appSettings.sidebarOrder, V5.NAV_CATALOG, c7), e.querySelector("[data-sidebar-head]").append(...t), J.listen(e, "click", (e) => {- if (f8()) return;+ e.innerHTML = aMe(Z.appSettings.sidebarOrder, B5.NAV_CATALOG, s7), e.querySelector("[data-sidebar-head]").append(...t), J.listen(e, "click", (e) => {+ if (d8()) return;let t = e.target.closest?.("[data-nav]");- t && l7(t.dataset.nav);- }), LAe(uMe()).then((e) => e.render(V5.sidebarProps)).catch(() => {});+ t && c7(t.dataset.nav);+ }), RAe(dMe()).then((e) => e.render(B5.sidebarProps)).catch(() => {});}-async function fMe() {+async function pMe() {let e = J, t = null;try {t = await R("/api/settings", { signal: e.signal });} catch {return;}- e.isActive && Zk(t, (e) => Z.settingsEffects[e]?.());+ e.isActive && Xk(t, (e) => Z.settingsEffects[e]?.());}-function X5() {+function Y5() {return Q.routeMeta(decodeURIComponent(location.pathname))?.route.section || (U.state === "ads" ? "cleanup" : "");}-function Z5() {- let e = X5();- cMe(), e && R5(), I("#count").classList.toggle("no-tagbar", !!e), g9(), e !== "trash" && (D5.trashCount = null), Q5(e);+function X5() {+ let e = Y5();+ lMe(), e && L5(), I("#count").classList.toggle("no-tagbar", !!e), g9(), e !== "trash" && (E5.trashCount = null), Z5(e);}-function pMe(e) {+function mMe(e) {return {section: e,path: decodeURIComponent(location.pathname),- sections: V5.MANAGE_SECTIONS,- menu: e ? V5.manageMenuSections() : [],- trash: D5.trashCount+ sections: B5.MANAGE_SECTIONS,+ menu: e ? B5.manageMenuSections() : [],+ trash: E5.trashCount};}-function Q5(e = X5()) {- $5();- let t = pMe(e), n = h8();+function Z5(e = Y5()) {+ Q5();+ let t = mMe(e), n = m8();if (n) n.render(t);else {- let e = YN(t);- e !== V5.manageHeaderSkeleton && (V5.manageHeaderSkeleton = e, V5.manageHeaderRoot().innerHTML = e);+ let e = JN(t);+ e !== B5.manageHeaderSkeleton && (B5.manageHeaderSkeleton = e, B5.manageHeaderRoot().innerHTML = e);}- let r = GN(t)?.title || "";- r !== V5.lastManagePageLabel && (V5.lastManagePageLabel = r, r && gs(V5.manageHeaderRoot(), "[data-manage-title],[data-manage-lede]"));+ let r = WN(t)?.title || "";+ r !== B5.lastManagePageLabel && (B5.lastManagePageLabel = r, r && gs(B5.manageHeaderRoot(), "[data-manage-title],[data-manage-lede]"));}-function mMe() {- let e = V5.manageHeaderRoot();+function hMe() {+ let e = B5.manageHeaderRoot();J.listen(e, "click", (e) => {- if (h8()) return;+ if (m8()) return;let t = e.target.closest?.("[data-manage]");- if (t) e7(t.dataset.manage);+ if (t) $5(t.dataset.manage);else if (e.target.closest?.("[data-manage-crumb] a[href]")) {if (e.metaKey || e.ctrlKey || e.shiftKey || e.altKey || e.button) return;e.preventDefault(), Q.navigatePath("/data-cleanup");} else e.target.closest?.("[data-empty-trash]") && N7();- }), RAe({+ }), zAe({root: e,- openManage: e7,+ openManage: $5,openDataCleanup: () => Q.navigatePath("/data-cleanup"),emptyTrash: N7- }).then(() => Q5()).catch(() => {});+ }).then(() => Z5()).catch(() => {});}-function $5() {+function Q5() {let e = I("#listTitle");if (!e) return;- let t = decodeURIComponent(location.pathname), n = !X5() && Qt(t) && Zt[U.state] || "";- e.hidden = !n, n && (e.textContent = n), I("#catalogPageHeading").hidden = !!X5() || !Qt(t) || !!n || U.jav === "1";+ let t = decodeURIComponent(location.pathname), n = !Y5() && Qt(t) && Zt[U.state] || "";+ e.hidden = !n, n && (e.textContent = n), I("#catalogPageHeading").hidden = !!Y5() || !Qt(t) || !!n || U.jav === "1";}-function e7(e = "stats") {+function $5(e = "stats") {let t = Q.routePathOf("section", e);- t ? Q.openRoutePath(t) : (U.orient = "", U.state = "ads", $l(), Q.route(u$()), W5(), g9(), M7());+ t ? Q.openRoutePath(t) : (U.orient = "", U.state = "ads", $l(), Q.route(l$()), U5(), g9(), M7());}-function t7() {+function e7() {let e = decodeURIComponent(location.pathname);return e === "/" ? U.jav === "1" : e.startsWith("/performers/") || e.startsWith("/studios/") ? U.jav === "1" || Gl : !1;}-function hMe(e = t7()) {- let t = Sk.filter(([e]) => e !== "seed");- return e ? [Ck, ...t] : t;+function gMe(e = e7()) {+ let t = xk.filter(([e]) => e !== "seed");+ return e ? [Sk, ...t] : t;}-function n7() {+function t7() {return decodeURIComponent(location.pathname) === "/" && U.jav !== "1";}-function r7() {- return cA(n7());+function n7() {+ return sA(t7());}-function gMe(e) {- Hoe(e), a7(), I("#grid").hidden || J7();+function _Me(e) {+ Uoe(e), i7(), I("#grid").hidden || J7();}-function i7(e) {- gA(e), a7(), J7();+function r7(e) {+ hA(e), i7(), J7();}-function a7() {+function i7() {document.querySelectorAll("[data-video-layout]").forEach((e) => {- e.checked = e.value === r7();- }), X.catalogFilterProps && T7({ layout: D7() });+ e.checked = e.value === n7();+ }), X.catalogFilterProps && w7({ layout: E7() });}-function _Me(e) {- Uoe(e), a7(), J7();+function vMe(e) {+ Woe(e), i7(), J7();}-async function o7() {- O8(), X.mixRelatedCache.clear(), await Promise.all([s7(), M7()]);+async function a7() {+ D8(), X.mixRelatedCache.clear(), await Promise.all([o7(), M7()]);}-async function s7() {+async function o7() {if (Y.entityPageCurrent() && !I("#index").hidden) {- a5({ revision: ++Y.entityPageRevision });+ i5({ revision: ++Y.entityPageRevision });return;}let e = decodeURIComponent(location.pathname);- if (AV(e)?.reload === "reopen" || e === "/follow") {+ if (kV(e)?.reload === "reopen" || e === "/follow") {Ql({ pageOpens: Ul + 1 });return;}let t = Q.routeMeta(e);t?.route.reload ? await t.route.reload() : await L7();}-function c7(e) {- let t = decodeURIComponent(location.pathname), n = Q.routeMeta(t)?.route.nav || "", r = V5.DIRECT_MANAGE_NAV[e];- if (r) return X5() === r;+function s7(e) {+ let t = decodeURIComponent(location.pathname), n = Q.routeMeta(t)?.route.nav || "", r = B5.DIRECT_MANAGE_NAV[e];+ if (r) return Y5() === r;if (e === "manage") {- let e = X5();- return !!e && !Z.appSettings.sidebarOrder.some((t) => V5.DIRECT_MANAGE_NAV[t] === e);+ let e = Y5();+ return !!e && !Z.appSettings.sidebarOrder.some((t) => B5.DIRECT_MANAGE_NAV[t] === e);}- return e === "jav" ? t === "/jav" || t7() : e === "shorts" ? U.orient === "竖屏" : e === "" ? t === "/" && !X5() && !U.state && !t7() && U.orient !== "竖屏" : Yt[e] ? n === e && U.orient !== "竖屏" : n ? n === e : t === "/" && U.state === e && U.orient !== "竖屏";+ return e === "jav" ? t === "/jav" || e7() : e === "shorts" ? U.orient === "竖屏" : e === "" ? t === "/" && !Y5() && !U.state && !e7() && U.orient !== "竖屏" : Yt[e] ? n === e && U.orient !== "竖屏" : n ? n === e : t === "/" && U.state === e && U.orient !== "竖屏";}-function l7(e) {- if (sMe(), V5.DIRECT_MANAGE_NAV[e]) {- e7(V5.DIRECT_MANAGE_NAV[e]);+function c7(e) {+ if (cMe(), B5.DIRECT_MANAGE_NAV[e]) {+ $5(B5.DIRECT_MANAGE_NAV[e]);return;}if (e === "manage") {- e7();+ $5();return;}if (e === "jav") {@@ -77303,25 +77303,25 @@ function l7(e) {return;}if (e === "") {- _7();+ g7();return;}let t = Yt[e] ? null : Q.routePathOf("nav", e);- t ? Q.openRoutePath(t) : (e === "shorts" ? (U.orient = "竖屏", U.state = "") : (U.orient = "", U.state = e), $l(), Q.route(g7()), W5(), g9(), M7());+ t ? Q.openRoutePath(t) : (e === "shorts" ? (U.orient = "竖屏", U.state = "") : (U.orient = "", U.state = e), $l(), Q.route(h7()), U5(), g9(), M7());}-function u7() {+function l7() {let e = decodeURIComponent(location.pathname), t = e.split("/").filter(Boolean);- Ol && jl !== D5.currentSelectSurface() && k5(!1, !0);+ Ol && jl !== E5.currentSelectSurface() && O5(!1, !0);let n = t.length > 1 && Object.prototype.hasOwnProperty.call(en, t[0]), r = Qt(e) || e === "/trash", i = r || n || e === "/tags" || e === "/follow", a = r || n || e === "/follow";- I("#selectMode").hidden = !i, I("#density").hidden = !a, u5(), !i && Ol && k5(!1, !0);+ I("#selectMode").hidden = !i, I("#density").hidden = !a, l5(), !i && Ol && O5(!1, !0);}-function vMe() {+function yMe() {let e = [...document.querySelectorAll("[data-filter-frame]")], t = e.find((e) => e.offsetParent !== null);- (t !== V5.mobileFilterHost || location.pathname !== V5.mobileFilterPath) && (V5.mobileFilterScroll = null), V5.mobileFilterHost = t, V5.mobileFilterPath = location.pathname;+ (t !== B5.mobileFilterHost || location.pathname !== B5.mobileFilterPath) && (B5.mobileFilterScroll = null), B5.mobileFilterHost = t, B5.mobileFilterPath = location.pathname;let n = Math.max(0, Math.min(scrollY, document.documentElement.scrollHeight - innerHeight)), r = !!t?.querySelector(":focus-visible,input:focus,select:focus,textarea:focus,[aria-expanded=\"true\"]");- V5.mobileFilterScroll = aMe(V5.mobileFilterScroll, n, innerWidth <= 760, r);+ B5.mobileFilterScroll = oMe(B5.mobileFilterScroll, n, innerWidth <= 760, r);for (let n of e) {- let e = n === t && V5.mobileFilterScroll.free;+ let e = n === t && B5.mobileFilterScroll.free;if (e && n.style.setProperty("--filter-free-top", `${-n.offsetHeight - 12}px`), e === n.hasAttribute("data-filter-free")) continue;let r = n.getBoundingClientRect().top;n.getAnimations().forEach((e) => e.id === "filter-slide" && e.cancel()), n.toggleAttribute("data-filter-free", e);@@ -77333,70 +77333,71 @@ function vMe() {});}}-function yMe() {- vMe(), [".board-filter-frame", "#count"].forEach((e) => {+function bMe() {+ yMe(), [".board-filter-frame", "#count"].forEach((e) => {let t = I(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 d7() {- V5.stickyFrame ||= J.frame(() => {- V5.stickyFrame = 0, yMe();+function u7() {+ B5.stickyFrame ||= J.frame(() => {+ B5.stickyFrame = 0, bMe();});}-function bMe() {+function xMe() {$.followSidebarFilters = () => ({provider: [...$.followProviders][0] || "",dur_min: $.followDurMin || "",dur_max: $.followDurMax || ""- }), J.handler(I("#filterBtn"), "onclick", () => J5(!I("#drawer").classList.contains("open"))), V5.SIDEBAR_ITEMS = k8, V5.MANAGE_SECTIONS = A8, V5.MANAGE_MENU_SECTIONS = j8, V5.manageMenuSections = () => eje(Vl === !0), V5.OPTIONAL_SIDEBAR_ITEMS = M8, V5.NAV_CATALOG = tje, V5.DIRECT_MANAGE_NAV = nje, V5.settingsHost = () => ({- selectSection: (e) => eH(hV(e), {+ }), J.handler(I("#filterBtn"), "onclick", () => q5(!I("#drawer").classList.contains("open"))), B5.SIDEBAR_ITEMS = O8, B5.MANAGE_SECTIONS = k8, B5.MANAGE_MENU_SECTIONS = A8, B5.manageMenuSections = () => tje(Vl === !0), B5.OPTIONAL_SIDEBAR_ITEMS = j8, B5.NAV_CATALOG = nje, B5.DIRECT_MANAGE_NAV = rje, B5.settingsHost = () => ({+ selectSection: (e) => $V(mV(e), {replace: !0,- state: $V.navigation.location.state+ state: QV.navigation.location.state}),- closed: lMe,+ closed: uMe,store: Z.settingsStore,changed: (e) => Z.settingsEffects[e]?.(),sound: (e) => ho(e),- navCatalog: V5.NAV_CATALOG,- themeOptions: Loe,- videoLayouts: nA,- followInitialRanges: N8,- videoLayout: () => r7(),- setVideoLayout: _Me,+ navCatalog: B5.NAV_CATALOG,+ themeOptions: Roe,+ videoLayouts: tA,+ followInitialRanges: M8,+ videoLayout: () => n7(),+ setVideoLayout: vMe,censored: Q7,- setCensored: UMe,+ setCensored: WMe,highContrast: () => document.documentElement.classList.contains("board-high-contrast"),- setHighContrast: WMe,- receipt: (e) => S8.actionReceipt(e),- failure: S8.actionFailure,- syncRemote: (e) => Zk(e, (e) => Z.settingsEffects[e]?.()),+ setHighContrast: GMe,+ receipt: (e) => x8.actionReceipt(e),+ failure: x8.actionFailure,+ syncRemote: (e) => Xk(e, (e) => Z.settingsEffects[e]?.()),openConfiguration: () => Q.navigatePath("/settings/library"),attached: () => Z.syncGlassOptics(),configurable: () => R("/healthz").then((e) => (Ql({ runtimeConfigurable: !!e.configurable }), Vl)).catch(() => null)- }), J.handler(I("#settingsBtn"), "onclick", () => void Y5()), V5.lastManagePageLabel = "", V5.manageHeaderSkeleton = "", V5.manageHeaderRoot = () => I("[data-manage-header]"), window.__scrolling = !1, V5.scrollT = null, V5.stickyFrame = 0, V5.mobileFilterScroll = null, V5.mobileFilterHost = null, V5.mobileFilterPath = "", J.listen(document, "focusin", d7), J.listen(document, "focusout", d7), J.listen(window, "scroll", () => {- d7(), location.pathname === "/follow" && w9() && Ql({ followScrollY: scrollY }), window.__scrolling = !0, ll(), clearTimeout(V5.scrollT), V5.scrollT = J.delay(() => {+ }), J.handler(I("#settingsBtn"), "onclick", () => void J5()), B5.lastManagePageLabel = "", B5.manageHeaderSkeleton = "", B5.manageHeaderRoot = () => I("[data-manage-header]"), window.__scrolling = !1, B5.scrollT = null, B5.stickyFrame = 0, B5.mobileFilterScroll = null, B5.mobileFilterHost = null, B5.mobileFilterPath = "", J.listen(document, "focusin", u7), J.listen(document, "focusout", u7), J.listen(window, "scroll", () => {+ u7(), location.pathname === "/follow" && w9() && Ql({ followScrollY: scrollY }), window.__scrolling = !0, ll(), clearTimeout(B5.scrollT), B5.scrollT = J.delay(() => {window.__scrolling = !1;}, 180);- }, { passive: !0 }), J.listen(window, "resize", d7, { passive: !0 }), J.handler(I("#scrim"), "onclick", () => J5(!1));+ }, { passive: !0 }), J.listen(window, "resize", u7, { passive: !0 }), J.handler(I("#scrim"), "onclick", () => q5(!1));}//#endregion//#region src/catalog-filter-skeleton.ts-var f7 = 64, p7 = (e) => e.replace(/[&<>"]/g, (e) => ({+var d7 = 64, f7 = (e) => e.replace(/[&<>"]/g, (e) => ({"&": "&","<": "<",">": ">","\"": """-})[e]), m7 = (e) => e.repeat(f7);-function xMe(e, t, n) {- let r = e.map((e) => `<a href="${p7(e.href)}" data-catalog-view="${p7(e.k)}" data-entity-press="" aria-pressed="${t === e.k}">${p7(e.label)}</a>`).join(""), i = rW();- 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\">" + m7("<span data-catalog-placeholder=\"performer\" aria-hidden=\"true\"><span></span><span> </span></span>") + "</div>" : "") + (i.studios ? "<div data-catalog-tier=\"studios\">" + m7("<span data-catalog-placeholder=\"studio\" aria-hidden=\"true\"><span></span><span> </span></span>") + "</div>" : "") + `</div><div role="group" aria-label="筛选与排序" data-filter-glass="" data-glass-pane="" data-filter-frame="" data-catalog-frame="" class="sticky top-topbar z-10 mb-5.5 flex flex-col mx-4"><div role="group" aria-label="视图与标签" data-filter-row="top" class="flex h-12 min-w-0 items-center overscroll-x-contain px-3 py-2 gap-1.5 overflow-visible"><div data-catalog-scroll=""><div role="group" aria-label="视图" data-catalog-views="">${r}<span data-entity-sep="" aria-hidden="true"></span></div><div data-catalog-tags=""><span data-catalog-placeholder="tag" aria-hidden="true">` + "<span></span>".repeat(f7) + `</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>${Uo()}</span>` + (n ? r5(n.sorts, n.layout) : "") + "</div></div></div></div>";+})[e]), p7 = (e) => e.repeat(d7);+function SMe(e, t, n) {+ let r = e.map((e) => `<a href="${f7(e.href)}" data-catalog-view="${f7(e.k)}" data-entity-press="" aria-pressed="${t === e.k}">${f7(e.label)}</a>`).join(""), i = nW();+ 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\">" + p7("<span data-catalog-placeholder=\"performer\" aria-hidden=\"true\"><span></span><span> </span></span>") + "</div>" : "") + (i.studios ? "<div data-catalog-tier=\"studios\">" + p7("<span data-catalog-placeholder=\"studio\" aria-hidden=\"true\"><span></span><span> </span></span>") + "</div>" : "") + `</div><div role="group" aria-label="筛选与排序" data-filter-glass="" data-glass-pane="" data-filter-frame="" data-catalog-frame="" class="sticky top-topbar z-10 mb-5.5 flex flex-col mx-4"><div role="group" aria-label="视图与标签" data-filter-row="top" class="flex h-12 min-w-0 items-center overscroll-x-contain px-3 py-2 gap-1.5 overflow-visible"><div data-catalog-scroll=""><div role="group" aria-label="视图" data-catalog-views="">${r}<span data-entity-sep="" aria-hidden="true"></span></div><div data-catalog-tags=""><span data-catalog-placeholder="tag" aria-hidden="true">` + "<span></span>".repeat(d7) + `</span></div></div></div><div data-filter-row="bottom" aria-busy="true" class="flex min-w-0 items-center gap-3 px-3 py-2 min-h-12"><span data-catalog-summary=""><span data-catalog-readout=""><span data-skeleton="count" aria-hidden="true" class="relative inline-block h-3.5 w-37.5 rounded-md align-middle skeleton-sheen"></span></span>${Uo()}</span>` + (n ? n5(n.sorts, n.layout) : "") + "</div></div></div></div>";}//#endregion//#region src/application/catalog.jsvar X = {homeHasFeed: void 0,barsRequestSeq: void 0,+ barsPendingSeq: void 0,barsRendered: void 0,catalogFilterProps: void 0,catalogFilterMounting: void 0,@@ -77429,46 +77430,46 @@ var X = {junkQueueHelpers: void 0,junkQueueActions: void 0};-function SMe() {- X.initialParams.has("loc") || (U.loc = h7(U.loc), $l());+function CMe() {+ X.initialParams.has("loc") || (U.loc = m7(U.loc), $l());}-function h7(e) {- return GAe(e, Z.sourceOnline);+function m7(e) {+ return KAe(e, Z.sourceOnline);}-function g7(e = U) {- return KAe(e);+function h7(e = U) {+ return qAe(e);}-function CMe() {- Ql(w8(qAe(U, Z.appSettings, S8.rollSeed))), O8();+function wMe() {+ Ql(C8(JAe(U, Z.appSettings, x8.rollSeed))), D8();}-function _7(e = null, t = !1) {- CMe(), e && (Object.assign(U, e), $l()), Q.route(e ? g7() : "/"), X.clearSearchField(), i9(!1), W5(), g9(), M7(), t && window.scrollTo({+function g7(e = null, t = !1) {+ wMe(), e && (Object.assign(U, e), $l()), Q.route(e ? h7() : "/"), X.clearSearchField(), i9(!1), U5(), g9(), M7(), t && window.scrollTo({top: 0,behavior: "smooth"});}-function wMe(e, t = null) {+function TMe(e, t = null) {let n = e.id;- !e.medium || e.medium === "video" ? c9(n, !0, null, t) : e.medium === "image" && e.location !== "online" ? window.open("/photo?id=" + n, "_blank", "noopener") : A5(n);+ !e.medium || e.medium === "video" ? c9(n, !0, null, t) : e.medium === "image" && e.location !== "online" ? window.open("/photo?id=" + n, "_blank", "noopener") : k5(n);}-function v7(e) {+function _7(e) {return X.mixRelatedCache.has(e) || X.mixRelatedCache.set(e, R("/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 TMe(e, t) {- r8()?.miniplayerTakesCard(e) ? r8().miniplayerPlay(e.id) : y7(e, t);+function EMe(e, t) {+ n8()?.miniplayerTakesCard(e) ? n8().miniplayerPlay(e.id) : v7(e, t);}-function y7(e, t) {- e.edition_group ? ZMe(e.edition_group.seed_id, e.id, !0, t) : e.part_group ? QMe(e.part_group.seed_id, e.id, !0, t) : c9(e.id, !0, null, t);+function v7(e, t) {+ e.edition_group ? QMe(e.edition_group.seed_id, e.id, !0, t) : e.part_group ? $Me(e.part_group.seed_id, e.id, !0, t) : c9(e.id, !0, null, t);}-async function EMe(e, t) {+async function DMe(e, t) {try {let n = await R("/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 R("/api/watch-later", {method: "POST",body: JSON.stringify({ id: e.id })@@ -77476,10 +77477,10 @@ async function EMe(e, t) {e.watch_later = n.watch_later, t(!!n.watch_later);} });} catch (e) {- S8.actionFailure("更新稍后看", e);+ x8.actionFailure("更新稍后看", e);}}-async function DMe(e, t) {+async function OMe(e, t) {try {await R("/api/batch", {method: "POST",@@ -77489,7 +77490,7 @@ async function DMe(e, t) {})}), await L7();let n = t === "restore" ? "dispose" : "restore";- S8.actionReceipt(t === "restore" ? "已还原" : "已移入回收站", { undo: async () => {+ x8.actionReceipt(t === "restore" ? "已还原" : "已移入回收站", { undo: async () => {await R("/api/batch", {method: "POST",body: JSON.stringify({@@ -77500,11 +77501,11 @@ async function DMe(e, t) {}), await L7();} });} catch (e) {- throw S8.actionFailure("操作", e), e;+ throw x8.actionFailure("操作", e), e;}}-async function OMe(e, t, n, r) {- let i = Number(e.rating) || 0, a = cM(i, t), o = async (t, r) => {+async function kMe(e, t, n, r) {+ let i = Number(e.rating) || 0, a = sM(i, t), o = async (t, r) => {let i = (await R("/api/feedback", {method: "POST",body: JSON.stringify({@@ -77518,14 +77519,14 @@ async function OMe(e, t, n, r) {};try {let e = await o(a, r);- S8.actionReceipt(e ? `已评 ${sM(e)} 星` : "已取消评分", { undo: () => o(i) });+ x8.actionReceipt(e ? `已评 ${oM(e)} 星` : "已取消评分", { undo: () => o(i) });} catch (e) {- throw r?.aborted || S8.actionFailure("评分", e), e;+ throw r?.aborted || x8.actionFailure("评分", e), e;}}-async function b7(e) {+async function y7(e) {let t = new URLSearchParams();- 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") {+ if (e7() && t.set("jav", "1"), e.type === "entity" ? (t.set("scope_kind", e.kind), t.set("scope_name", e.name)) : e.type === "item" && t.set("id", String(e.id)), e.type === "home" && U.state && t.set("state", U.state), e.type !== "item") {let e = Y.activeFilterState();["loc",@@ -77546,9 +77547,9 @@ async function b7(e) {e[n] && t.set(n, e[n]);});}- return QAe(t.toString(), X.topsQueryParams(e).toString());+ return $Ae(t.toString(), X.topsQueryParams(e).toString());}-function kMe() {+function AMe() {if (scrollY <= 0) return;let e = document.documentElement;e.classList.add("refiltering");@@ -77560,34 +77561,35 @@ function kMe() {behavior: matchMedia("(prefers-reduced-motion: reduce)").matches ? "auto" : "smooth"});}-function x7(e) {- o5().type !== "entity" && T7({ tags: k7(e) }), h9({ filters: { ...e } }), I7();+function b7(e) {+ a5().type !== "entity" && w7({ tags: O7(e) }), h9({ filters: { ...e } }), I7();}-async function S7(e) {- let t = ++X.facetCountsSeq, [n] = await b7(e);+async function x7(e) {+ let t = ++X.facetCountsSeq, [n] = await y7(e);t === X.facetCountsSeq && (e.type === "home" && (t9.facets = n), h9({ latest: Z7(n, e) }));}-function C7(e) {- kMe();- let t = o5();+function S7(e) {+ AMe();+ let t = a5();if (t.type === "entity") {let n = { ...t.filters };- e(n), c5(t.kind, t.name, n), x7(n), S7(o5());+ e(n), s5(t.kind, t.name, n), b7(n), x7(a5());} else if (t.type === "item") {let t = Y.cloneBarsContext(Tl);if (i9(!1), Ql({ detailReturnBarsContext: null }), t && t.type === "entity") {- e(t.filters), c5(t.kind, t.name, t.filters) ? M7() : Ql({ pageOpens: Ul + 1 });+ e(t.filters), s5(t.kind, t.name, t.filters) ? M7() : Ql({ pageOpens: Ul + 1 });return;}e(U), Ql({ barsContext: {type: "home",filters: U- } }), Q.route(g7()), W5(), M7();- } else e(U), $l(), Q.route(g7()), x7(U), S7(wl);+ } }), Q.route(h7()), U5(), M7();+ } else e(U), $l(), Q.route(h7()), b7(U), x7(wl);}-function AMe() {+function jMe() {return {tiers: null,+ tiersPending: !1,empty: !1,tags: [],tagFirst: X.TAGS_FIRST,@@ -77602,7 +77604,7 @@ function AMe() {combo: [],comboHidden: !0,comboHost: I("#combo"),- actions: E7(),+ actions: T7(),helpers: {wireDrag: e9,wireScroller: (e) => {@@ -77611,85 +77613,85 @@ function AMe() {}};}-function w7() {- X.catalogFilterProps && T7({});+function C7() {+ X.catalogFilterProps && w7({});}-function T7(e) {+function w7(e) {let t = I("#catalogFilter"), n = t.style.display === "none" || document.body.matches(".entity-open,.index-open");e = {...e,offscreen: n}, X.catalogFilterProps = {- ...X.catalogFilterProps || AMe(),+ ...X.catalogFilterProps || jMe(),...e- }, !X.catalogFilterMounting && (zV(t) ? UV(t, e) : (!t.firstChild && !n && (t.innerHTML = xMe(X.catalogViews(), X.catalogFilterProps.state, O7()), Es(t)), X.catalogFilterMounting = HV("catalog-filter", X.catalogFilterProps, {+ }, !X.catalogFilterMounting && (RV(t) ? HV(t, e) : (!t.firstChild && !n && (t.innerHTML = SMe(X.catalogViews(), X.catalogFilterProps.state, D7()), Es(t)), X.catalogFilterMounting = VV("catalog-filter", X.catalogFilterProps, {container: t,isCurrent: () => !0- }).then(() => UV(t, X.catalogFilterProps)).finally(() => {+ }).then(() => HV(t, X.catalogFilterProps)).finally(() => {X.catalogFilterMounting = null;})));}-function E7() {+function T7() {return {currentHref: () => {- let e = new URL(g7(), location.origin);+ let e = new URL(h7(), 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) => v5(e, t),+ openEntity: (e, t) => _5(e, t),setView: (e) => {- U.state = e, $l(), T7({ state: e }), Q.route(g7()), M7();+ U.state = e, $l(), w7({ state: e }), Q.route(h7()), M7();},toggleTag: (e) => P7(e),- clearFilter: (e) => C7((t) => {+ clearFilter: (e) => S7((t) => {t[e] = "";}),- clearAll: () => C7((e) => {+ clearAll: () => S7((e) => {e.tag = "", e.creator = "", e.studio = "", e.owner = "";}),setSort: (e) => {- let t = kk(e, U.sort, U.dir);+ let t = Ok(e, U.sort, U.dir);t && (U.sort = t.sort, U.dir = t.dir, $l(), X7());},- reshuffle: () => HMe(),+ reshuffle: () => UMe(),setLayout: (e) => {- t7() ? i7(e) : gMe(e);+ e7() ? r7(e) : _Me(e);},moreTops: async (e) => {let t = X.catalogTopsPages;if (!t) return [];- let n = (await $Ae(X.topsQueryParams(t.context, ++t[e]).toString()))[e] || [];- return e === "performers" ? n.map(A7) : n.map(j7);+ let n = (await eje(X.topsQueryParams(t.context, ++t[e]).toString()))[e] || [];+ return e === "performers" ? n.map(k7) : n.map(A7);}};}-function D7() {- return t7() ? {+function E7() {+ return e7() ? {name: "jav-layout",label: "JAV 卡片版式",- value: sA(),- options: nA- } : n7() ? {+ value: oA(),+ options: tA+ } : t7() ? {name: "home-layout",label: "首页卡片版式",- value: r7(),- options: nA+ value: n7(),+ options: tA} : null;}-function O7() {+function D7() {return {- sorts: s5(U.sort, U.dir),- layout: D7(),+ sorts: o5(U.sort, U.dir),+ layout: E7(),state: U.state || "",trash: U.state === "trash"};}-function k7(e) {+function O7(e) {return X.catalogTagRows.map((t) => ({...t,selected: X.tagPressed(e.tag, t.k)}));}-function A7(e) {+function k7(e) {return {name: e.k,ringHtml: `<span data-tier-initial>${z(Sn(e.k))}</span>${La({@@ -77703,80 +77705,94 @@ function A7(e) {})}`};}-function j7(e) {+function A7(e) {return {name: e.k,fallback: xn(e.k, 2),logo: e.has_logo ? Pa(e.k, "icon", e.logo_version) : ""};}-function jMe(e) {- X.catalogFilterProps?.tiers || (X.barsRendered = "", T7({+function MMe(e, t) {+ X.catalogFilterProps?.tiers || (X.barsRendered = "", X.barsPendingSeq = t, w7({tiers: null,+ tiersPending: !0,state: e.state || ""}));}+function j7(e) {+ X.barsPendingSeq === e && (X.barsPendingSeq = 0, w7({ tiersPending: !1 }));+}async function M7() {let e = ++X.barsRequestSeq;if (h9(), !xl(location.pathname) || wl.type === "item") return;- let t = o5(), n = Y.activeFilterState(), r = JSON.stringify([+ let t = a5(), n = Y.activeFilterState(), r = JSON.stringify([t,n,U.state || "",U.seed || "",- t7()+ e7()]);- jMe(n);- let [i, a] = await b7(t);- if (e !== X.barsRequestSeq) return;- let o = r + "\n" + JSON.stringify([i, a]);- if (o === X.barsRendered) {- V5.sidebarCatalog && h9({- content: V5.sidebarCatalog,+ MMe(n, e);+ let i;+ try {+ i = await y7(t);+ } catch (t) {+ throw j7(e), t;+ }+ let [a, o] = i;+ if (e !== X.barsRequestSeq) {+ j7(e);+ return;+ }+ let s = r + "\n" + JSON.stringify([a, o]);+ if (s === X.barsRendered) {+ B5.sidebarCatalog && h9({+ content: B5.sidebarCatalog,filters: { ...n }});return;}- X.barsRendered = o, t.type === "home" && (t9.facets = i);- let s = i.tags || [];- va(a.performers), va(a.studios);- let c = t.type === "home" && !t7() && !U.state && !U.q && !i.locations.some((e) => e.n > 0);+ X.barsRendered = s, t.type === "home" && (t9.facets = a);+ let c = a.tags || [];+ va(o.performers), va(o.studios);+ let l = t.type === "home" && !e7() && !U.state && !U.q && !a.locations.some((e) => e.n > 0);X.catalogTopsPages = {context: t,performers: 0,studios: 0};- let l = X.tagList(n.tag), u = new Map(s.map((e) => [e.k, e])), d = l.map((e) => u.get(e) || { k: e }), f = s.filter((e) => !l.includes(e.k)), p = S8.seededSample(f, X.TAGS_FIRST, `tags:${U.seed || ""}`), m = new Set(p.map((e) => e.k));- X.catalogTagRows = d.concat(p, f.filter((e) => !m.has(e.k))).map((e) => ({+ 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: pl(e.k),n: e.n ?? null- })), T7({+ })), X.barsPendingSeq = 0, w7({tiers: {key: String(X.barsRequestSeq),- performers: a.performers.map(A7),- studios: a.studios.map(j7)+ performers: o.performers.map(k7),+ studios: o.studios.map(A7)},- empty: c,- tags: k7(n),- tagFirst: d.length + p.length,+ tiersPending: !1,+ empty: l,+ tags: O7(n),+ tagFirst: f.length + m.length,views: X.catalogViews(),state: n.state || ""- }), I7(), V5.sidebarCatalog = {+ }), I7(), B5.sidebarCatalog = {kind: "catalog",- key: String(++V5.sidebarContentSeq),- facets: Z7(i, t)+ key: String(++B5.sidebarContentSeq),+ facets: Z7(a, t)}, h9({- content: V5.sidebarCatalog,+ content: B5.sidebarCatalog,filters: { ...n },latest: null});}-function MMe(e, t) {- t9.total = e, U.state === "trash" && (D5.trashCount = {+function NMe(e, t) {+ t9.total = e, U.state === "trash" && (E5.trashCount = {total: t9.total,shown: t- }), Z5(), T7({ count: {+ }), X5(), w7({ count: {total: t9.total,shown: t} });@@ -77791,7 +77807,7 @@ function N7() {try {let e = await R("/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 L7();}@@ -77799,7 +77815,7 @@ function N7() {});}function P7(e) {- C7((t) => {+ S7((t) => {t.tag = e ? X.withTagToggled(t.tag, e) : "";});}@@ -77824,7 +77840,7 @@ function F7(e) {})), t;}function I7() {- T7({+ w7({combo: F7(U),comboHidden: !X.catalogOnScreen()});@@ -77837,11 +77853,11 @@ async function L7() {filters: U},detailReturnBarsContext: null- }), i9(!1), U.state === "ads") return FMe(e);- if (X.controller.page === "/junk-files" && z7(), L5(), W5(), X8(location.pathname) && U.browse !== "folders") {- if (await I5.entityShapesReady, !Q.surfaceCurrent(e)) return;- vje();- } else Z8();+ }), i9(!1), U.state === "ads") return IMe(e);+ if (X.controller.page === "/junk-files" && z7(), I5(), U5(), Y8(location.pathname) && U.browse !== "folders") {+ if (await F5.entityShapesReady, !Q.surfaceCurrent(e)) return;+ yje();+ } else X8();return I7(), I("#count").classList.remove("manage-static", "junkcount"), B7(e);}function R7(e) {@@ -77849,22 +77865,22 @@ function R7(e) {}function z7() {let e = I("#grid");- ll(e), WV(e), X.controller.clear(), e.innerHTML = "";+ ll(e), UV(e), X.controller.clear(), e.innerHTML = "";}function B7(e) {- return W7("/", PMe, e, { place: mNe });+ return W7("/", FMe, e, { place: hNe });}-function NMe(e) {- return W7("/junk-files", LMe, e);+function PMe(e) {+ return W7("/junk-files", RMe, e);}function V7() {- return !!RV(I("#grid"));+ return !!LV(I("#grid"));}function H7() {return X.controller.taken(V7());}function U7(e) {- UV(I("#grid"), e);+ HV(I("#grid"), e);}function W7(e, t, n, r = {}) {let i = I("#grid");@@ -77872,8 +77888,8 @@ function W7(e, t, n, r = {}) {let a = X.controller.begin(e, V7()), o = t();if (!a.mount) return U7(o), a.settled;ll(i);- let s = () => WV(i);- return a.signal.addEventListener("abort", s, { once: !0 }), HV(e, o, {+ let s = () => UV(i);+ return a.signal.addEventListener("abort", s, { once: !0 }), VV(e, o, {...r,container: i,isCurrent: () => Q.surfaceCurrent(n) && a.isCurrent()@@ -77882,29 +77898,29 @@ function W7(e, t, n, r = {}) {}), a.settled;}function G7() {- let e = n7();- return mA({- active: t7() || e,+ let e = t7();+ return pA({+ active: e7() || e,home: e,portrait: U.orient === "竖屏"});}function K7(e = "正在读取作品") {- return iY(e, q7());+ return rY(e, q7());}function q7() {- return U ? hA(G7()) : 16 / 9;+ return U ? mA(G7()) : 16 / 9;}function J7() {H7() && (ll(I("#grid")), U7({layout: G7(),seekSeconds: Z.appSettings.seekSeconds- })), Y.entityPageCurrent() && (ll(I("#index [data-entity-hero]")), a5({+ })), Y.entityPageCurrent() && (ll(I("#index [data-entity-hero]")), i5({layout: G7(),seekSeconds: Z.appSettings.seekSeconds}));}-function PMe() {+function FMe() {let e = decodeURIComponent(location.pathname), t = Qt(e), n = U.state === "trash";return {mode: "catalog",@@ -77924,23 +77940,23 @@ function PMe() {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" && !t7() && U.orient !== "竖屏" && !n && U.browse !== "folders",+ shorts: t && e !== "/wall" && !e7() && U.orient !== "竖屏" && !n && U.browse !== "folders",countRow: I("#count"),- onCount: MMe,- onCountFailed: () => T7({ count: !1 }),- emptyHtml: ({ trash: e, libraryEmpty: t }) => e ? Z.emptyState("trash", "回收站是空的", "删掉的内容会先到这里;确认不再需要后再清空。") : dK({- jav: t7() && !t,+ onCount: NMe,+ onCountFailed: () => w7({ count: !1 }),+ emptyHtml: ({ trash: e, libraryEmpty: t }) => e ? Z.emptyState("trash", "回收站是空的", "删掉的内容会先到这里;确认不再需要后再清空。") : uK({+ jav: e7() && !t,configurable: Vl,filtered: !t}),canLoadMore: () => I("#stats").hidden && I("#index").hidden};}-function FMe(e) {+function IMe(e) {let t = I("#count");- return X.controller.page === "/junk-files" && V7() && !X.controller.pending && t.querySelector(":scope > .peach-react:not([data-junk-count-skeleton])") || (z7(), L5("正在读取垃圾文件")), W5(), I7(), t.classList.add("manage-static", "junkcount"), t.classList.remove("is-stuck"), NMe(e);+ return X.controller.page === "/junk-files" && V7() && !X.controller.pending && t.querySelector(":scope > .peach-react:not([data-junk-count-skeleton])") || (z7(), I5("正在读取垃圾文件")), U5(), I7(), t.classList.add("manage-static", "junkcount"), t.classList.remove("is-stuck"), PMe(e);}-async function IMe(e, t) {+async function LMe(e, t) {let n = [e.id], r = t === "dispose", i = t === "reconsider-junk";try {await R("/api/batch", {@@ -77952,7 +77968,7 @@ async function IMe(e, t) {})}), await L7();let e = r ? "restore" : i ? "dismiss-junk" : "reconsider-junk";- S8.actionReceipt(r ? "已移入回收站" : i ? "已重新加入垃圾判断" : "已标记为不是垃圾", { undo: async () => {+ x8.actionReceipt(r ? "已移入回收站" : i ? "已重新加入垃圾判断" : "已标记为不是垃圾", { undo: async () => {await R("/api/batch", {method: "POST",body: JSON.stringify({@@ -77962,12 +77978,12 @@ async function IMe(e, t) {}), await L7();} });} catch (e) {- throw S8.actionFailure("操作", e), e;+ throw x8.actionFailure("操作", e), e;}}-function LMe() {+function RMe() {return {- ...l$(location.search),+ ...c$(location.search),helpers: X.junkQueueHelpers,actions: X.junkQueueActions,batchSize: Z.appSettings.batchSize,@@ -77976,15 +77992,15 @@ function LMe() {selected: new Set(El),countRow: I("#count"),settled: R7,- skeletonHtml: () => u2("正在读取垃圾文件", {+ skeletonHtml: () => l2("正在读取垃圾文件", {cards: !0,className: "catalog-skeleton postercard-skeleton"}),canLoadMore: () => I("#stats").hidden && I("#index").hidden};}-function RMe() {- X.initialParams = new URLSearchParams(location.search), X.resolveSort = (e, t, n = Z.appSettings.defaultSort) => C8(e, t, Z.appSettings, n), Ql(w8(WAe(location, Z.appSettings, S8.rollSeed))), X.searchValueSnapshot = {+function zMe() {+ X.initialParams = new URLSearchParams(location.search), X.resolveSort = (e, t, n = Z.appSettings.defaultSort) => S8(e, t, Z.appSettings, n), Ql(C8(GAe(location, Z.appSettings, x8.rollSeed))), X.searchValueSnapshot = {text: "",scrollLeft: 0}, X.cancelSearchDissolve = () => {}, X.rememberSearchValue = (e = I("#q")) => {@@ -78005,55 +78021,55 @@ function RMe() {};};}-function zMe() {+function BMe() {J.handler(I("#wallBtn"), "onclick", () => {- k5(!1, !0);- let e = o5(), t = {+ O5(!1, !0);+ let e = a5(), t = {...Y.activeFilterState(),- jav: t7() ? "1" : ""+ jav: e7() ? "1" : ""};- e.type === "entity" && e.kind !== "tag" && (t[e.kind] = e.name), Q.navigatePath(nK(void 0, t));+ e.type === "entity" && e.kind !== "tag" && (t[e.kind] = e.name), Q.navigatePath(tK(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) => BF(e, t),- displayName: (e, t) => zF(e, t),+ titleHtml: (e, t) => zF(e, t),+ displayName: (e, t) => RF(e, t),tagLabel: (e) => pl(e)}, X.gridActions = {wallPlayer: async (e, t, n) => {- let r = await n8(t9.stageHost);+ let r = await t8(t9.stageHost);return n.throwIfAborted(), r.mountWallPlayer(e, t, n);},- wallDetails: y7,- open: (e, t) => TMe(e, t),- openResource: (e, t) => r8()?.miniplayerTakesCard(e) ? r8().miniplayerPlay(e.id) : wMe(e, t),- openShort: (e) => r8()?.miniplayerTakesCard(e) ? r8().miniplayerPlay(e.id) : d9(e.id),+ wallDetails: v7,+ open: (e, t) => EMe(e, t),+ openResource: (e, t) => n8()?.miniplayerTakesCard(e) ? n8().miniplayerPlay(e.id) : TMe(e, t),+ openShort: (e) => n8()?.miniplayerTakesCard(e) ? n8().miniplayerPlay(e.id) : d9(e.id),openShorts: () => d9(),- openMix: (e, t) => XMe(e, e, !0, t),- openEntity: (e, t) => v5(e, t),- openUnowned: () => _7({ owner: "none" }, !0),+ openMix: (e, t) => ZMe(e, e, !0, t),+ openEntity: (e, t) => _5(e, t),+ openUnowned: () => g7({ owner: "none" }, !0),toggleTag: (e) => {- C7((t) => {+ S7((t) => {t.tag = X.tagPressed(t.tag, e) ? "" : e;}), window.scrollTo({top: 0,behavior: "smooth"});},- toggleSelection: (e, t) => A5(e, t),- watchLater: (e, t) => EMe(e, t),- rate: (e, t, n, r) => OMe(e, t, n, r),- resourceOperation: (e, t) => DMe(e, t),- mixRelated: (e) => v7(e),+ toggleSelection: (e, t) => k5(e, t),+ watchLater: (e, t) => DMe(e, t),+ rate: (e, t, n, r) => kMe(e, t, n, r),+ resourceOperation: (e, t) => OMe(e, t),+ mixRelated: (e) => _7(e),canFlip: () => !Ol && !Q7() && !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)), 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;+ return t && n.set("page", String(t)), e7() && 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: "",@@ -78076,36 +78092,36 @@ function zMe() {href: e.k ? Yt[e.k] : "/"})), X.TAGS_FIRST = 26, J.listen(I("#catalogFilter"), "click", (e) => {let t = e.target.closest?.("[data-catalog-view]");- t && !e.defaultPrevented && (e.preventDefault(), E7().setView(t.dataset.catalogView));+ t && !e.defaultPrevented && (e.preventDefault(), T7().setView(t.dataset.catalogView));}), X.catalogOnScreen = () => I("#index").hidden && I("#stats").hidden, X.COMBO_LABELS = {creator: "创作者",studio: "厂牌",owner: "归属"}, X.hideCatalogCombo = () => {- X.catalogFilterProps && T7({ comboHidden: !0 });+ X.catalogFilterProps && w7({ comboHidden: !0 });};}-function BMe() {+function VMe() {X.junkQueueHelpers = { badgeHtml: (e, t) => Z.srcBadge(e, t) }, X.junkQueueActions = {navigate: (e) => {- Ol && k5(!1, !0), Q.route(e);+ Ol && O5(!1, !0), Q.route(e);},- toggleSelection: (e, t) => A5(e, t),+ toggleSelection: (e, t) => k5(e, t),open: (e, t) => e.junk_kind === "image" ? window.open("/photo?id=" + e.id, "_blank", "noopener") : c9(e.id, !0, null, t),reveal: async (e) => {try {return await R("/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) => IMe(e, t)+ operate: (e, t) => LMe(e, t)};}-X.controller = new JAe();+X.controller = new YAe();//#endregion//#region src/application/preferences.jsvar Z = {@@ -78140,18 +78156,18 @@ async function Y7() {if (!e.isActive) return Z.sourceOnline;Z.sourceOnline = {}, Z.sourceProblems = {};}- return document.body.classList.toggle("offline-source", Object.values(Z.sourceOnline).includes(!1)), SMe(), Z.sourceOnline;+ return document.body.classList.toggle("offline-source", Object.values(Z.sourceOnline).includes(!1)), CMe(), Z.sourceOnline;}function X7() {let e = Q.surfacePath();if (!Qt(e) || e === "/junk-files") return L7();let t = Z.nextCatalogLoad();- return eH(g7(), {+ return $V(h7(), {replace: !0,- state: $V.navigation.location.state+ state: QV.navigation.location.state}), t;}-function VMe(e) {+function HMe(e) {if (e === "local") return {kind: "glyph",name: "hard-drive"@@ -78183,7 +78199,7 @@ function Z7(e, t) {value: e.k,label: wn[e.k] || e.k,n: e.n ?? null,- dot: VMe(e.k),+ dot: HMe(e.k),...Z.sourceOffline(e.k) ? { offline: Z.OFFLINE_HINT } : {}})),regions: n(e.regions),@@ -78195,24 +78211,24 @@ function Z7(e, t) {duration: !!e.stats?.duration};}-async function HMe(e = !1) {+async function UMe(e = !1) {if (e && (document.hidden || !Qt(decodeURIComponent(location.pathname)) || t9.stageOpen() || t9.immerseOpen() || Ol || El.size || document.activeElement === I("#q"))) return !1;if (!I("#stats").hidden) {let e = decodeURIComponent(location.pathname), t = Q.routeMeta(e)?.route.refresh;if (t === "skip") return;if (e === "/playlists") {- S5();+ x5();return;}let n = t === "reopen" ? e : "/stats";- n === e ? Q.navigatePath(location.pathname + location.search + location.hash, !0, $V.navigation.location.state) : Q.navigatePath(n);+ n === e ? Q.navigatePath(location.pathname + location.search + location.hash, !0, QV.navigation.location.state) : Q.navigatePath(n);} else if (I("#index").hidden) {- U.sort = "seed", U.dir = "", U.seed = S8.rollSeed(), $l(), O8(), T7({ refreshing: !0 });+ U.sort = "seed", U.dir = "", U.seed = x8.rollSeed(), $l(), D8(), w7({ refreshing: !0 });try {let e = X7();await null, await Promise.all([e, M7()]);} finally {- T7({ refreshing: !1 });+ w7({ refreshing: !1 });}return e || window.scrollTo({top: 0,@@ -78226,44 +78242,44 @@ function Q7() {function $7(e) {document.body.classList.toggle("censor", e), Z.settingsStore.notify();}-function UMe(e) {+function WMe(e) {localStorage.setItem(Z.CENSOR_KEY, e ? "1" : "0"), $7(e), e && ll();}-function WMe(e) {+function GMe(e) {localStorage.setItem("peach.high-contrast", String(e)), document.documentElement.classList.toggle("board-high-contrast", e), Z.settingsStore.notify();}function e9(e) {return Us(e, { drag: !0 });}-function GMe() {+function KMe() {["#nrow", "#count"].forEach((e) => e9(I(e))), document.querySelectorAll(".tier,.srow").forEach(e9);}-function KMe() {+function qMe() {let e = new URLSearchParams(location.search).get("id");return /^\d+$/.test(e || "") ? Number(e) : void 0;}-function qMe() {+function JMe() {Z.sourceOnline = {}, Z.sourceProblems = {}, Z.sourceOffline = (e) => Z.sourceOnline[e] === !1, Z.OFFLINE_HINT = "媒体目录无法访问,请检查目录、读取权限和网盘挂载状态", Z.OFFLINE_REASON = {local: "无法读取媒体目录,请检查目录是否存在及读取权限。",115: "无法读取 115 媒体目录,请检查目录权限及网盘挂载工具是否正常运行。",pikpak: "无法读取 PikPak 媒体目录,请检查目录权限及网盘挂载工具是否正常运行。"- }, Z.offlineReason = (e) => Z.sourceProblems[e] || Z.OFFLINE_REASON[e] || "无法读取这个来源的媒体目录,请检查目录权限及挂载状态。", Z.settingsStore = Xk(), Z.appSettings = Z.settingsStore.value, Z.saveSettings = () => Z.settingsStore.save(), document.documentElement.style.setProperty("--hover-delay", `${Z.appSettings.hoverDelaySeconds}s`), mo(Z.appSettings.uiSounds), bo(), eA(), Boe(), TA(), OA(), kA(), Z.catalogLoadWaiters = [], Z.nextCatalogLoad = () => new Promise((e) => Z.catalogLoadWaiters.push(e)), Z.handOff = (e) => (Z.catalogLoadWaiters.splice(0).forEach((t) => t(e)), e), Z.settingsEffects = {- theme: () => eA(),+ }, Z.offlineReason = (e) => Z.sourceProblems[e] || Z.OFFLINE_REASON[e] || "无法读取这个来源的媒体目录,请检查目录权限及挂载状态。", Z.settingsStore = Yk(), Z.appSettings = Z.settingsStore.value, Z.saveSettings = () => Z.settingsStore.save(), document.documentElement.style.setProperty("--hover-delay", `${Z.appSettings.hoverDelaySeconds}s`), mo(Z.appSettings.uiSounds), bo(), $k(), Voe(), wA(), DA(), OA(), Z.catalogLoadWaiters = [], Z.nextCatalogLoad = () => new Promise((e) => Z.catalogLoadWaiters.push(e)), Z.handOff = (e) => (Z.catalogLoadWaiters.splice(0).forEach((t) => t(e)), e), Z.settingsEffects = {+ theme: () => $k(),uiSounds: () => {mo(Z.appSettings.uiSounds), Z.appSettings.uiSounds && ho("toggle-on");},- glowFrame: () => DA(),+ glowFrame: () => EA(),glow: () => {- DA(), OA();+ EA(), DA();},batchSize: () => {location.pathname === "/" && L7();},defaultSort: () => {- U.sort = Z.appSettings.defaultSort, U.dir = Ak(U.sort, Z.appSettings.defaultSort, Z.appSettings.defaultSortDirection), $l(), location.pathname === "/" && X7();+ U.sort = Z.appSettings.defaultSort, U.dir = kk(U.sort, Z.appSettings.defaultSort, Z.appSettings.defaultSortDirection), $l(), location.pathname === "/" && X7();},sortDirection: () => {- U.dir = Ak(U.sort, Z.appSettings.defaultSort, Z.appSettings.defaultSortDirection), $l(), location.pathname === "/" && X7();+ U.dir = kk(U.sort, Z.appSettings.defaultSort, Z.appSettings.defaultSortDirection), $l(), location.pathname === "/" && X7();},hoverDelay: () => {Z.appSettings.hoverDelaySeconds || document.querySelectorAll("[data-previewing],[data-longhover]").forEach((e) => {@@ -78271,17 +78287,17 @@ function qMe() {}), document.documentElement.style.setProperty("--hover-delay", `${Z.appSettings.hoverDelaySeconds}s`);},seekSeconds: () => J7(),- groupCollapse: () => s7(),- feedAutoScroll: () => yje(),- feedLimit: () => Q8(),- feedCompilations: () => Q8(),+ groupCollapse: () => o7(),+ feedAutoScroll: () => bje(),+ feedLimit: () => Z8(),+ feedCompilations: () => Z8(),miniplayer: () => {- Z.appSettings.miniplayer || r8()?.closeMiniplayer();+ Z.appSettings.miniplayer || n8()?.closeMiniplayer();},javImage: () => {- Da(document, Z.appSettings.javImage), J7(), document.querySelectorAll("img[data-jav-image].cover").forEach(Hc), YMe();+ Da(document, Z.appSettings.javImage), J7(), document.querySelectorAll("img[data-jav-image].cover").forEach(Hc), XMe();},- searchHistoryLimit: () => UV(I("#searchMenu"), { historyLimit: Z.appSettings.searchHistoryLimit })+ searchHistoryLimit: () => HV(I("#searchMenu"), { historyLimit: Z.appSettings.searchHistoryLimit })}, Z.syncGlassOptics = () => {}, Z.placeSidebarHead = () => {}, Z.SRCICON = {...Object.fromEntries(Object.entries(Po).map(([e, t]) => [e, t.startsWith("data:") ? `<img class="source-icon" src="${t}" alt="">` : L(t)])),online: L("rss")@@ -78290,7 +78306,7 @@ function qMe() {return `<span class="${n || "src"} ${t === "metered" ? "metered" : "free"}" title="${z(r)}" aria-label="${z(r)}">` + (Z.SRCICON[e] || "") + "</span>";}, Z.emptyState = ss;}-function JMe() {+function YMe() {Z.CENSOR_KEY = "peach-censor", $7(localStorage.getItem(Z.CENSOR_KEY) === "1");}//#endregion@@ -78314,10 +78330,10 @@ function n9() {} : null;}function r9() {- return r8()?.exit() || Promise.resolve();+ return n8()?.exit() || Promise.resolve();}function i9(e = !1, t = !1, { miniplayer: n = !0, preserveQueueRequest: r = null } = {}) {- Q.queueOpenRequest !== r && _9(), r8()?.dispose({ miniplayer: n }), Ql({+ Q.queueOpenRequest !== r && _9(), n8()?.dispose({ miniplayer: n }), Ql({activeQueue: null,pendingQueueRoute: null,presentedItem: null@@ -78325,15 +78341,15 @@ function i9(e = !1, t = !1, { miniplayer: n = !0, preserveQueueRequest: r = nulldetailOriginAnchor: null,detailOriginAbove: !1,detailReturnNeedsRestore: !1- }), d7(), e && Q.route(Ml || "/");+ }), u7(), e && Q.route(Ml || "/");}-function YMe() {- r8()?.repaintPoster();+function XMe() {+ n8()?.repaintPoster();}function a9(e, t, n, r, i = null, a = {}) {t = +t;let o = Il?.kind === e && (e === "playlist" ? Il.playlistId : Il.seedId) === t;- r && !o && Ql({ detailReturnPath: location.pathname + location.search }), r && wV();+ r && !o && Ql({ detailReturnPath: location.pathname + location.search }), r && CV();let s = e === "playlist" ? {kind: e,playlistId: t,@@ -78346,19 +78362,19 @@ function a9(e, t, n, r, i = null, a = {}) {if (a.autoplay && (s.autoplay = !0), r) {_9();let e = Q.queueOpenRequest = {- seq: $V.navigation.seq,+ seq: QV.navigation.seq,cancelled: !1};Q.requestedQueue = () => c9(n == null ? null : +n, !1, s, i, !0, e), Ql({ queueOpens: Wl + 1 });} else return c9(n == null ? null : +n, !1, s, i, r);}-function XMe(e, t = e, n = !0, r = null) {+function ZMe(e, t = e, n = !0, r = null) {return a9("mix", e, t, n, r);}-function ZMe(e, t = e, n = !0, r = null) {+function QMe(e, t = e, n = !0, r = null) {return a9("editions", e, t, n, r);}-function QMe(e, t = e, n = !0, r = null) {+function $Me(e, t = e, n = !0, r = null) {return a9("parts", e, t, n, r);}function o9(e, t = null, n = !0) {@@ -78374,8 +78390,8 @@ async function c9(e, t = !0, n = null, r = null, i = !1, a = null) {return;}ll(), e = e == null ? null : +e;- let o = r?.isConnected ? r : Nl?.isConnected ? Nl : null, s = r?.isConnected ? r.getBoundingClientRect().top + r.getBoundingClientRect().height / 2 > window.innerHeight / 2 : Pl, c = s9(), l = Fl || !t && !c, u = wl.type === "item" ? Tl : Y.cloneBarsContext(o5());- t ? Ql({ detailReturnPath: location.pathname + location.search }) : i || Ql({ detailReturnPath: EV() || Ml }), t && wV(), r8()?.showing() !== "item" && i9(!1, !0, {+ let o = r?.isConnected ? r : Nl?.isConnected ? Nl : null, s = r?.isConnected ? r.getBoundingClientRect().top + r.getBoundingClientRect().height / 2 > window.innerHeight / 2 : Pl, c = s9(), l = Fl || !t && !c, u = wl.type === "item" ? Tl : Y.cloneBarsContext(a5());+ t ? Ql({ detailReturnPath: location.pathname + location.search }) : i || Ql({ detailReturnPath: TV() || Ml }), t && CV(), n8()?.showing() !== "item" && i9(!1, !0, {miniplayer: !1,preserveQueueRequest: a}), Ql({@@ -78386,8 +78402,8 @@ async function c9(e, t = !0, n = null, r = null, i = !1, a = null) {kind: n.kind,seedId: n.seedId,playlistId: n.playlistId- } }), Ql({ pendingQueueRoute: n && i ? `${n.kind}=${n.kind === "playlist" ? n.playlistId : n.seedId}` : null }), t && !n && Q.route("/assets/" + e, !1, DV("item"));- let d = await n8(t9.stageHost);+ } }), Ql({ pendingQueueRoute: n && i ? `${n.kind}=${n.kind === "playlist" ? n.playlistId : n.seedId}` : null }), t && !n && Q.route("/assets/" + e, !1, EV("item"));+ let d = await t8(t9.stageHost);if (a?.cancelled) return;let f = a ? {...t9.itemDetailActions,@@ -78414,11 +78430,11 @@ async function c9(e, t = !0, n = null, r = null, i = !1, a = null) {selected: new Set(El),seekSeconds: Z.appSettings.seekSeconds,resume: t || e == null ? null : n9()- }), d7();+ }), u7();}async function l9() {let e = Y.cloneBarsContext(Tl), t = Ml || "/", n = Fl;- await r9(), i9(!1, !1, { miniplayer: !1 }), Ql({ detailReturnBarsContext: null }), TV(), Ql({ barsContext: e || {+ await r9(), i9(!1, !1, { miniplayer: !1 }), Ql({ detailReturnBarsContext: null }), wV(), Ql({ barsContext: e || {type: "home",filters: U} }), n && Q.managedPagePath(new URL(t, location.href).pathname) ? Q.navigatePath(t) : (Q.route(t), n ? Ql({ pageOpens: Ul + 1 }) : (M7(), location.pathname === "/playlists" && Ql({ pageOpens: Ul + 1 })));@@ -78428,14 +78444,14 @@ async function u9(e, t = !0) {Ql({ detailReturnPath: location.pathname + location.search }), v9("/works/" + encodeURIComponent(e), "jav", () => u9(e, !1));return;}- let n = $V.navigation.seq, r = Y.cloneBarsContext(o5()), i = !s9(), a = EV() || (i ? "/jav?tab=discover" : Ml) || "/jav?tab=discover";- r8()?.showing() !== "jav" && i9(!1, !0, { miniplayer: !1 }), Ql({+ let n = QV.navigation.seq, r = Y.cloneBarsContext(a5()), i = !s9(), a = TV() || (i ? "/jav?tab=discover" : Ml) || "/jav?tab=discover";+ n8()?.showing() !== "jav" && i9(!1, !0, { miniplayer: !1 }), Ql({detailReturnPath: a,detailReturnBarsContext: r,detailReturnNeedsRestore: i}), ll();- let [o, s] = await Promise.all([n8(t9.stageHost), B("/healthz")]);- $V.navigation.seq === n && (await o.open({+ let [o, s] = await Promise.all([t8(t9.stageHost), B("/healthz")]);+ QV.navigation.seq === n && (await o.open({kind: "jav",code: e,readOnly: !!s.ledger_read_only,@@ -78443,32 +78459,32 @@ async function u9(e, t = !0) {close: () => void l9(),navigate: (e) => Q.navigatePath(e),canonicalCode: (t) => {- $V.navigation.seq === n && t && t !== e && eH("/works/" + encodeURIComponent(t) + location.search + location.hash, {+ QV.navigation.seq === n && t && t !== e && $V("/works/" + encodeURIComponent(t) + location.search + location.hash, {replace: !0,- state: $V.navigation.location.state+ state: QV.navigation.location.state});},openTag: (e) => {- C7((t) => {+ S7((t) => {t.tag = e;}), window.scrollTo({top: 0,behavior: "smooth"});},- receipt: (e) => S8.toast({ text: e })+ receipt: (e) => x8.toast({ text: e })}- }), d7());+ }), u7());}async function d9(e = null, t = !0) {- t ? (t9.requestedImmerseId = e, Q.route("/immerse")) : (r8()?.closeMiniplayer(), await (await FAe(t9.immerseHost)).open(e));+ t ? (t9.requestedImmerseId = e, Q.route("/immerse")) : (n8()?.closeMiniplayer(), await (await IAe(t9.immerseHost)).open(e));}-function $Me() {+function eNe() {t9.total = 0, t9.facets = null, t9.stageHost = {player: {settings: () => Z.appSettings,saveSettings: () => Z.saveSettings(),- toast: (e, t) => S8.toast({ text: e }, t),+ toast: (e, t) => x8.toast({ text: e }, t),loadSourceStatus: () => Y7(),offlineReason: (e) => Z.offlineReason(e)},@@ -78477,24 +78493,24 @@ function $Me() {e === "follow" ? D9(t, !0, n) : c9(t, !0);},openItem: (e) => void c9(e)- }, t9.stageOpen = () => !!r8()?.isOpen();+ }, t9.stageOpen = () => !!n8()?.isOpen();}-function eNe() {+function tNe() {t9.itemDetailHelpers = {badgeHtml: (e, t, n) => Z.srcBadge(e, t, n),- titleHtml: (e) => BF(e),- displayName: (e) => zF(e),+ titleHtml: (e) => zF(e),+ displayName: (e) => RF(e),javImage: () => Z.appSettings.javImage,tagLabel: (e) => pl(e),isDurationTag: (e) => Dn.has(e),tagCandidates: () => t9.facets && t9.facets.tags || [],sourceOffline: (e) => Z.sourceOffline(e),offlineReason: (e) => Z.offlineReason(e),- relatedSkeletonHtml: () => u2("正在读取推荐", {+ relatedSkeletonHtml: () => l2("正在读取推荐", {cards: !0,className: "related-skeleton"}),- mixRelated: (e) => v7(e),+ mixRelated: (e) => _7(e),wireDrag: (e) => e9(e),wireDragReorder: (e, t) => vc(e, t)}, t9.itemDetailActions = {@@ -78506,14 +78522,14 @@ function eNe() {type: "item",id: e.id,filters: t?.type === "entity" ? { ...t.filters } : Y.emptyEntityFilters()- } }), Ll && (Q.queueOpenRequest = null, Q.route(`/assets/${e.id}?${Ll}`, !1, DV("item")), Ql({ pendingQueueRoute: null })), M7();+ } }), Ll && (Q.queueOpenRequest = null, Q.route(`/assets/${e.id}?${Ll}`, !1, EV("item")), Ql({ pendingQueueRoute: null })), M7();},redirect: (e) => {let t = !!Ll;e.kind === "follow" ? (Q.queueOpenRequest = null, Ql({pendingQueueRoute: null,followDetailReturnPath: Ml || "/"- }), Q.route(`/posts/${e.id}`, !t, DV("follow")), D9(e.id, !1, null, !0)) : e.kind === "item" ? c9(e.id, !0) : e.kind === "playlists" ? t || location.pathname !== "/playlists" ? b9("/playlists") : S5() : i9(!1);+ }), Q.route(`/posts/${e.id}`, !t, EV("follow")), D9(e.id, !1, null, !0)) : e.kind === "item" ? c9(e.id, !0) : e.kind === "playlists" ? t || location.pathname !== "/playlists" ? b9("/playlists") : x5() : i9(!1);},openQueueItem: (e, t, n = !0) => void a9(e.kind, e.kind === "playlist" ? e.playlistId : e.seedId, t, n, null, { autoplay: e.autoplay }),reopen: () => {@@ -78526,42 +78542,42 @@ function eNe() {openSavedFollow: () => {$.followAuthors = /* @__PURE__ */ new Set(), $.followProviders = /* @__PURE__ */ new Set(), $.followTags = /* @__PURE__ */ new Set(), $.followWorks = /* @__PURE__ */ new Set(), $.followMediaView = "videos", $.followDurMin = $.followDurMax = 0, $.followFilter = "saved", b9(x9());},- openEntity: (e, t) => v5(e, t),- openUnowned: () => _7({ owner: "none" }, !0),- openRegion: (e) => _7({ region: e || "none" }, !0),+ openEntity: (e, t) => _5(e, t),+ openUnowned: () => g7({ owner: "none" }, !0),+ openRegion: (e) => g7({ region: e || "none" }, !0),openTag: (e) => {- C7((t) => {+ S7((t) => {t.tag = e;}), window.scrollTo({top: 0,behavior: "smooth"});},- addToPlaylist: (e) => Mje(e),- saveMix: (e) => x5(e),+ addToPlaylist: (e) => Nje(e),+ saveMix: (e) => b5(e),editPlaylist: () => b9("/playlists"),openPlaylists: () => b9("/playlists"),- reveal: (e) => p5(e),- sync: (e) => wje(e),+ reveal: (e) => f5(e),+ sync: (e) => Tje(e),trashChanged: async (e, t) => {- U.state === "ads" && (t || e === "trash") && (t || (TV(), i9(!0, !1, { miniplayer: !1 })), await L7());+ U.state === "ads" && (t || e === "trash") && (t || (wV(), i9(!0, !1, { miniplayer: !1 })), await L7());},- 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)}, t9.immerseHost = {filters: () => U,seekSeconds: () => Z.appSettings.seekSeconds,sourceOffline: (e) => Z.sourceOffline(e),- displayName: (e) => zF(e),+ displayName: (e) => RF(e),route: (e) => Q.route("/immerse?id=" + e, !0),- closed: () => _7(),+ closed: () => g7(),openItem: (e) => void c9(e),- openEntity: (e, t) => v5(e, t),- openUnowned: () => _7({ owner: "none" }, !0),- toast: (e, { undo: t } = {}) => S8.actionReceipt(e, { undo: t }),- warn: (e) => S8.toast({ text: e }, { sound: "warning" }),- failure: (e, t) => S8.actionFailure(e, t)- }, t9.immerseOpen = () => !!o8()?.isOpen(), J.handler(I("#immerseBtn"), "onclick", () => d9());+ openEntity: (e, t) => _5(e, t),+ openUnowned: () => g7({ owner: "none" }, !0),+ toast: (e, { undo: t } = {}) => x8.actionReceipt(e, { undo: t }),+ warn: (e) => x8.toast({ text: e }, { sound: "warning" }),+ failure: (e, t) => x8.actionFailure(e, t)+ }, t9.immerseOpen = () => !!a8()?.isOpen(), J.handler(I("#immerseBtn"), "onclick", () => d9());}//#endregion//#region src/application/tutorial.js@@ -78574,7 +78590,7 @@ var f9 = {readPostSetupTutorialDone: void 0,openTutorialTarget: void 0};-async function tNe() {+async function nNe() {Rc(), await f9.writePostSetupTutorialDone(!1), await p9();}async function p9() {@@ -78611,7 +78627,7 @@ async function p9() {t.dataset.collapsed = String(n), jc(n), u.setAttribute("aria-expanded", String(!n)), u.setAttribute("aria-label", n ? "展开安装教程" : "折叠安装教程"), ro(d, !n);}), e.querySelectorAll("[data-tutorial-skip]").forEach((e) => J.handler(e, "onclick", () => {let t = Mc(), n = e.dataset.tutorialSkip;- t.add(n), Nc(t), S8.actionReceipt(`已跳过「${e.dataset.tutorialLabel}」`, { undo: async () => {+ t.add(n), Nc(t), x8.actionReceipt(`已跳过「${e.dataset.tutorialLabel}」`, { undo: async () => {let e = Mc();e.delete(n), Nc(e), kc("pending"), await p9();} }), p9();@@ -78628,20 +78644,20 @@ async function p9() {}), J.handler(e.querySelector("[data-tutorial-dismiss]"), "onclick", t);}}-function nNe() {+function rNe() {if (Ql({ cameFromSetup: new URLSearchParams(location.search).get("onboarding") === "1" }), f9.postSetupTutorialDone = null, f9.postSetupTutorialNeedsReopen = !1, Hl) {kc("pending"), f9.postSetupTutorialDone = !1, f9.postSetupTutorialNeedsReopen = !0;let e = new URL(location.href);- e.searchParams.delete("onboarding"), eH(e, {+ e.searchParams.delete("onboarding"), $V(e, {replace: !0,- state: $V.navigation.location.state+ state: QV.navigation.location.state});}{let e = new URL(location.href), t = e.searchParams.get("agentation");- localStorage.removeItem("peach.agentation"), t !== null && (e.searchParams.delete("agentation"), eH(e, {+ localStorage.removeItem("peach.agentation"), t !== null && (e.searchParams.delete("agentation"), $V(e, {replace: !0,- state: $V.navigation.location.state+ state: QV.navigation.location.state})), t === "on" && import("/dev/agentation.js").catch(() => {});}f9.postSetupTutorialTasks = async () => {@@ -78756,47 +78772,47 @@ var Q = {initialOverlayOpened: void 0};function m9() {- let e = f8();- e ? e.navChanged() : I("#drawerScroll")?.querySelectorAll("[data-nav]").forEach((e) => e.setAttribute("aria-pressed", String(c7(e.dataset.nav))));+ let e = d8();+ e ? e.navChanged() : I("#drawerScroll")?.querySelectorAll("[data-nav]").forEach((e) => e.setAttribute("aria-pressed", String(s7(e.dataset.nav))));}function h9(e = {}) {let t = Q.surfacePath();- t !== V5.sidebarSurface && (V5.sidebarSurface = t, V5.sidebarProps = {- ...V5.sidebarProps,+ t !== B5.sidebarSurface && (B5.sidebarSurface = t, B5.sidebarProps = {+ ...B5.sidebarProps,content: null,latest: null- }), V5.sidebarProps = {- ...V5.sidebarProps,+ }), B5.sidebarProps = {+ ...B5.sidebarProps,...e- }, f8()?.render(V5.sidebarProps);+ }, d8()?.render(B5.sidebarProps);}function g9() {- h9(), m9(), u7();+ h9(), m9(), l7();}function _9() {Q.queueOpenRequest && (Q.queueOpenRequest.cancelled = !0), Q.queueOpenRequest = null, Q.requestedQueue = null, Ql({ pendingQueueRoute: null });}function v9(e, t, n) {- _9(), wV(), Q.requestedOverlay = {+ _9(), CV(), Q.requestedOverlay = {path: e,open: n- }, Q.route(e, !1, DV(t));+ }, Q.route(e, !1, EV(t));}function y9() {- Q.surfaceEpoch++, X.barsRequestSeq++, I5.syncPageTitle(location.href), h9(), TV(), p9();+ Q.surfaceEpoch++, X.barsRequestSeq++, F5.syncPageTitle(location.href), h9(), wV(), p9();}function b9(e) {Q.route(e), Ql({ pageOpens: Ul + 1 });}-function rNe() {+function iNe() {Q.routeMeta = (e) => {- let t = AV(e);+ let t = kV(e);return t ? { route: t } : null;- }, Q.routePathOf = (e, t) => Object.keys(kV).find((n) => kV[n][e] === t), Q.catalogPage = (e) => Qt(e) || e === "/trash", Q.managedPagePath = (e) => {- let t = AV(e);- return !!t && t.reload !== "reopen" && !Q.catalogPage(e) && !bV(e) && e !== "/immerse";+ }, Q.routePathOf = (e, t) => Object.keys(OV).find((n) => OV[n][e] === t), Q.catalogPage = (e) => Qt(e) || e === "/trash", Q.managedPagePath = (e) => {+ let t = kV(e);+ return !!t && t.reload !== "reopen" && !Q.catalogPage(e) && !yV(e) && e !== "/immerse";}, Q.openRoutePath = (e) => {- e === "/immerse" ? d9(KMe()) : e === "/follow" ? E9() : e === "/playlists" || Q.catalogPage(e) ? b9(e) : Q.managedPagePath(e) ? Q.navigatePath(e === "/subscriptions" ? Xje() : e) : (k5(!1, !0), b9(N5({+ e === "/immerse" ? d9(qMe()) : e === "/follow" ? E9() : e === "/playlists" || Q.catalogPage(e) ? b9(e) : Q.managedPagePath(e) ? Q.navigatePath(e === "/subscriptions" ? Zje() : e) : (O5(!1, !0), b9(M5({kind: e.slice(1),q: "",scope: "local",@@ -78805,35 +78821,35 @@ function rNe() {})));};}-function iNe() {+function aNe() {Q.surfaceEpoch = 0, Q.surfacePath = () => decodeURIComponent(location.pathname), Q.surfaceRequests = null, Q.surfaceToken = (e) => ({epoch: Q.surfaceEpoch,path: e,signal: Q.surfaceRequests?.signal- }), Q.surfaceCurrent = (e) => e.epoch === Q.surfaceEpoch && Q.surfacePath() === e.path, Q.claimSurface = (e) => (X8(e) || Z8(), WV(I("#stats"), I("#index")), !Qt(e) && e !== "/trash" && z7(), Q.surfaceRequests?.abort(), Q.surfaceRequests = new AbortController(), Q.surfaceEpoch++, Q.surfaceToken(e)), Q.route = (e, t = !1, n) => {- Q.surfaceEpoch++, X.barsRequestSeq++, eH(e, {+ }), Q.surfaceCurrent = (e) => e.epoch === Q.surfaceEpoch && Q.surfacePath() === e.path, Q.claimSurface = (e) => (Y8(e) || X8(), UV(I("#stats"), I("#index")), !Qt(e) && e !== "/trash" && z7(), Q.surfaceRequests?.abort(), Q.surfaceRequests = new AbortController(), Q.surfaceEpoch++, Q.surfaceToken(e)), Q.route = (e, t = !1, n) => {+ Q.surfaceEpoch++, X.barsRequestSeq++, $V(e, {replace: t,state: n- }), I5.syncPageTitle(e), queueMicrotask(() => {- u7(), $5(), h9(), p9();+ }), F5.syncPageTitle(e), queueMicrotask(() => {+ l7(), Q5(), h9(), p9();});}, Q.navigatePath = (e, t = !1, n) => {- t ? $V.replace(e, n) : $V.push(e, n), queueMicrotask(() => {- u7(), $5();+ t ? QV.replace(e, n) : QV.push(e, n), queueMicrotask(() => {+ l7(), Q5();});}, Q.requestedOverlay = null, Q.requestedQueue = null, Q.queueOpenRequest = null, Q.initialOverlayOpened = !1;}//#endregion//#region src/jobs.ts-function aNe(e, t, n) {+function oNe(e, t, n) {if (!Number.isFinite(n) || n <= 0) return "";let r = Math.max(0, Math.min(n, Number.isFinite(t) ? t : 0)), i = r / n * 100;return `<div class="ui-board-job-progress" role="progressbar" aria-label="${z(e)}" aria-valuemin="0" aria-valuemax="${n}" aria-valuenow="${r}"><svg width="36" height="36" viewBox="0 0 36 36" aria-hidden="true"><circle class="ui-board-job-track" cx="18" cy="18" r="15"/><circle class="ui-board-job-fill" cx="18" cy="18" r="15" pathLength="100" stroke-dasharray="${i} ${100 - i}" transform="rotate(-90 18 18)"/></svg><span>${z(e)}<small>${Math.round(i)}%</small></span></div>`;}-function oNe(e, t = 0, n = 0) {- return n > 0 ? aNe(e, t, n) : as(e);+function sNe(e, t = 0, n = 0) {+ return n > 0 ? oNe(e, t, n) : as(e);}-async function sNe(e) {+async function cNe(e) {let t = e.pause || ((e) => new Promise((t) => setTimeout(t, e))), n = 0;for (; e.active();) {let r;@@ -78848,14 +78864,14 @@ async function sNe(e) {await t(2e3);}}-function cNe(e) {+function lNe(e) {let t = e.note || ((e) => ns(e, {label: "任务状态",variant: "error"- })), n = e.loading || as, r = e.progress || ((e, t, n) => oNe(n || `已处理 ${e} / ${t}`, e, t)), i = e.container || ((e) => `<section class="followtask" data-geist-fieldset aria-label="任务进度"><div class="geist-fieldset-content">${e}</div></section>`), a = document.createElement("div");+ })), n = e.loading || as, r = e.progress || ((e, t, n) => sNe(n || `已处理 ${e} / ${t}`, e, t)), i = e.container || ((e) => `<section class="followtask" data-geist-fieldset aria-label="任务进度"><div class="geist-fieldset-content">${e}</div></section>`), a = document.createElement("div");e.host.hidden = !0, a.dataset.followJob = "", a.setAttribute("aria-live", "polite"), e.host.prepend(a);let o = e.storageKey || "peach-follow-job", s = sessionStorage.getItem(o) || void 0, c = !1;- sNe({+ cNe({read: e.read,active: () => !c && e.active() && a.isConnected,keepWatching: e.watchIdle !== !1,@@ -78905,9 +78921,9 @@ var $ = {FOLLOW_MANAGE_TABS: void 0,followSidebarFilters: void 0};-function lNe(e) {+function uNe(e) {let t = (e.results || []).filter((e) => !e.ok).length;- S8.toast({ text: ui(e) }, {+ x8.toast({ text: ui(e) }, {warn: !!t,timeout: t ? 8e3 : 6e3,sound: t ? "warning" : "success",@@ -78920,7 +78936,7 @@ function lNe(e) {function x9() {return Zi(S9());}-function uNe() {+function dNe() {return $.controller.read();}function S9() {@@ -78941,17 +78957,17 @@ function S9() {function C9(e) {$.followFilter = e.status, $.followMediaView = e.media, $.followAuthors = new Set(e.author ? [e.author] : []), $.followProviders = new Set(e.provider ? [e.provider] : []), $.followWorks = new Set(e.work ? [e.work] : []), $.followTags = new Set(e.tags), $.followDurMin = e.durMin || 0, $.followDurMax = e.durMax || 0, $.followSort = e.sort, $.followDir = e.dir, $.followSeed = e.seed;}-function dNe() {- let e = RV(I("#stats"));+function fNe() {+ let e = LV(I("#stats"));return e && e.path === "/follow" && e.host.isConnected ? e : null;}function w9() {- return !!dNe();+ return !!fNe();}function T9(e) {- w9() && UV(I("#stats"), e);+ w9() && HV(I("#stats"), e);}-function fNe(e, t = {}) {+function pNe(e, t = {}) {return $.controller.route(e, t);}function E9(e = !1) {@@ -78964,7 +78980,7 @@ async function D9(e, t = !0, n = null, r = !1) {}ll(), e = +e;let i = !location.pathname.startsWith("/posts/");- t && i && !r && Ql({ followDetailReturnPath: location.pathname + location.search }), !t && !r && Ql({ followDetailReturnPath: EV() || "/follow" }), t && wV(), r8()?.showing() !== "follow" && i9(!1, !1, { miniplayer: !1 }), t && Q.route(`/posts/${e}`, !1, DV("follow")), await (await n8(t9.stageHost)).open({+ t && i && !r && Ql({ followDetailReturnPath: location.pathname + location.search }), !t && !r && Ql({ followDetailReturnPath: TV() || "/follow" }), t && CV(), n8()?.showing() !== "follow" && i9(!1, !1, { miniplayer: !1 }), t && Q.route(`/posts/${e}`, !1, EV("follow")), await (await t8(t9.stageHost)).open({kind: "follow",id: e,mediaIndex: n,@@ -78973,18 +78989,18 @@ async function D9(e, t = !0, n = null, r = !1) {helpers: $.followFeedHelpers,actions: $.followDetailActions,resume: t ? null : n9()- }), d7();+ }), u7();}-async function pNe() {- await r9(), i9(!1, !1, { miniplayer: !1 }), TV(), Q.route(zl || "/follow"), !(Y.entityPageView && Y.entityPageCurrent() && !I("#index").hidden) && (location.pathname === "/follow" && w9() ? (uNe(), T9({ view: S9() })) : Ql({ pageOpens: Ul + 1 }));+async function mNe() {+ await r9(), i9(!1, !1, { miniplayer: !1 }), wV(), Q.route(zl || "/follow"), !(Y.entityPageView && Y.entityPageCurrent() && !I("#index").hidden) && (location.pathname === "/follow" && w9() ? (dNe(), T9({ view: S9() })) : Ql({ pageOpens: Ul + 1 }));}-function mNe(e) {+function hNe(e) {let t = document.createElement("div");return t.className = "peach-react", _s(e, () => {e.textContent = "", e.append(t);}), t;}-function hNe() {+function gNe() {$.followFeedHelpers = hl({wireDrag: (e) => {e && e9(e);@@ -78993,41 +79009,41 @@ function hNe() {e && Us(e);},listSkeletonHtml: (e) => $.followContentSkeletonHtml(e),- jobProgress: cNe+ jobProgress: lNe}), $.followFeedActions = {- loaded: (e) => G5(e),+ loaded: (e) => W5(e),openDetail: (e) => D9(e),openAuthor: (e) => Q.navigatePath(tn("creator", e)),- toggleSelection: (e, t) => Rje(e, t),+ toggleSelection: (e, t) => zje(e, t),setImagesOnly: (e) => {- Z.appSettings.followImagesOnly = !!e, Z.saveSettings(), u5();+ Z.appSettings.followImagesOnly = !!e, Z.saveSettings(), l5();},setPhotoLayout: (e) => {- _A(e), u5();+ gA(e), l5();},canFlip: () => !Ol && !Q7() && !window.__scrolling && !X.reduceMotion(),- toast: (e, { undo: t } = {}) => S8.actionReceipt(e, { undo: t }),- failure: (e, t) => S8.actionFailure(e, t),- checkReport: (e) => lNe(e)+ toast: (e, { undo: t } = {}) => x8.actionReceipt(e, { undo: t }),+ failure: (e, t) => x8.actionFailure(e, t),+ checkReport: (e) => uNe(e)}, $.followFeedShell = {skeleton: () => $.followSkeletonHtml("正在读取关注内容"),ground: () => {- r8()?.showing() !== "follow" && (ll(), i9(!1), U5(), !w9() && (Q.claimSurface(Q.surfacePath()), H5({ manage: !1 }), I("#stats").querySelector(".peach-react") && WV(I("#stats")), I("#stats").replaceChildren()));+ n8()?.showing() !== "follow" && (ll(), i9(!1), H5(), !w9() && (Q.claimSurface(Q.surfacePath()), V5({ manage: !1 }), I("#stats").querySelector(".peach-react") && UV(I("#stats")), I("#stats").replaceChildren()));}}, $.followDetailActions = Cl({view: S9,adoptView: C9,rememberReturn: (e) => Ql({ followDetailReturnPath: e }),- close: () => void pNe(),+ close: () => void mNe(),open: (e, t, n) => void D9(e, !0, t, n),- drawer: G5,+ drawer: W5,openAuthor: (e) => Q.navigatePath(tn("creator", e))}, {- toast: (e, { undo: t } = {}) => S8.actionReceipt(e, { undo: t }),- failure: S8.actionFailure+ toast: (e, { undo: t } = {}) => x8.actionReceipt(e, { undo: t }),+ failure: x8.actionFailure});}-function gNe() {+function _Ne() {$.controller = ea({location: () => location,view: S9,@@ -79045,20 +79061,20 @@ function gNe() {preferences: () => ({selectMode: Ol,selected: Dl,- photoSize: dA(),- photoLayout: fA(),+ photoSize: uA(),+ photoLayout: dA(),imagesOnly: !!Z.appSettings.followImagesOnly}),live: w9,push: T9,route: Q.route,openPage: b9,- rollSeed: () => Number(S8.rollSeed()),+ rollSeed: () => Number(x8.rollSeed()),enterSeed: () => Math.floor(Math.random() * 4294967295),revealFeed: () => {- ll(), U5(), H5({ manage: !1 });+ ll(), H5(), V5({ manage: !1 });},- syncPhotoWalls: u5,+ syncPhotoWalls: l5,scrollTop: () => window.scrollTo({top: 0,behavior: "smooth"@@ -79068,19 +79084,19 @@ function gNe() {//#endregion//#region src/application/lifecycle.jsvar O9 = { overlayScan: void 0 };-function _Ne() {- exe(), dc(document), eo(document.documentElement, { variant: "page" }), eo(I("#drawerScroll")), O9.overlayScan = 0, J.mutation(() => {+function vNe() {+ txe(), dc(document), eo(document.documentElement, { variant: "page" }), eo(I("#drawerScroll")), O9.overlayScan = 0, J.mutation(() => {O9.overlayScan ||= J.delay(() => {O9.overlayScan = 0, cc();});}).observe(document.body, {childList: !0,subtree: !0- }), cc(), fa(document.body), X.homeHasFeed = gje(), X.barsRequestSeq = 0, X.barsRendered = "", X.catalogFilterProps = null, X.catalogFilterMounting = null, X.catalogTagRows = [], X.catalogTopsPages = null, V5.sidebarProps = {+ }), cc(), fa(document.body), X.homeHasFeed = _je(), X.barsRequestSeq = 0, X.barsPendingSeq = 0, X.barsRendered = "", X.catalogFilterProps = null, X.catalogFilterMounting = null, X.catalogTagRows = [], X.catalogTopsPages = null, B5.sidebarProps = {content: null,filters: {},latest: null- }, V5.sidebarSurface = "", V5.sidebarCatalog = null, V5.sidebarContentSeq = 0, $.followFilter = "", $.followAuthors = /* @__PURE__ */ new Set(), $.followProviders = /* @__PURE__ */ new Set(), $.followTags = /* @__PURE__ */ new Set(), $.followWorks = /* @__PURE__ */ new Set(), $.followMediaView = "videos", $.FOLLOW_FEED_SORTS = [+ }, B5.sidebarSurface = "", B5.sidebarCatalog = null, B5.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", "时长"]@@ -79088,7 +79104,7 @@ function _Ne() {}//#endregion//#region src/react/search/recommendations.ts-async function vNe(e) {+async function yNe(e) {let t = (await Promise.allSettled([e("/api/items?sort=rand&limit=5"),e("/api/jav/discoveries?scope=library&limit=5"),@@ -79112,9 +79128,9 @@ async function vNe(e) {let t = Li(e);for (let n of ["videos", "images"]) {if (n === "images" ? !t.has("image") : t.size && !t.has("video")) continue;- let r = Ri(e, n), i = l.sources.find((e) => e.id === r.source_id), a = RU(r, i?.author_key ? l.sources.filter((e) => e.author_key === i.author_key) : i ? [i] : [], l), o = n === "images" ? r.media_items?.find((e) => e.media_kind === "image") : void 0;+ let r = Ri(e, n), i = l.sources.find((e) => e.id === r.source_id), a = LU(r, i?.author_key ? l.sources.filter((e) => e.author_key === i.author_key) : i ? [i] : [], l), o = n === "images" ? r.media_items?.find((e) => e.media_kind === "image") : void 0;(n === "images" ? c : s).push({- value: PU(r),+ value: NU(r),id: r.id,who: a.author,href: `/posts/${r.id}`,@@ -79130,7 +79146,7 @@ async function vNe(e) {let u = (t[4]?.items || []).map((e) => ({value: e.k,href: e.entity_id ? `/creators/${e.entity_id}` : `/follow?author=${encodeURIComponent(e.key)}`,- avatarHtml: LU(l.sources.filter((t) => t.author_key === e.key), e.k),+ avatarHtml: IU(l.sources.filter((t) => t.author_key === e.key), e.k),subtitle: "关注中的作者"})), d = /* @__PURE__ */ new Map();for (let e of r) for (let t of e.performer_refs || []) t.id && !d.has(t.name) && d.set(t.name, {@@ -79201,7 +79217,7 @@ async function vNe(e) {}//#endregion//#region src/application/search-morph.js-function yNe(e, t, n, r, i, a, o) {+function bNe(e, t, n, r, i, a, o) {let s = a.startsWith("linear(") ? a.slice(7, -1).split(",").map(Number) : [0, 1];return s.map((a, c) => {let l = c / (s.length - 1), u = (e, t) => e + (t - e) * a, d = Math.max(8, Math.min(o - 44, u(e.left, t.left))), f = Math.max(36, Math.min(o - 8 - d, u(e.width, t.width))), p = u(e.height, t.height) + Math.sin(Math.PI * l) * t.height * .12, m = u(e.top + e.height / 2, t.top + t.height / 2);@@ -79227,7 +79243,7 @@ var k9 = {function A9() {k9.searchControl?.close();}-function bNe(e) {+function xNe(e) {let t = e ? Ca({...e,is_jav: !!e.code@@ -79246,7 +79262,7 @@ function M9(e) {if (t.classList.toggle("open", e), I("#searchBtn").setAttribute("aria-expanded", String(e)), innerWidth > 760 || matchMedia("(prefers-reduced-motion:reduce)").matches) return;let s = t.getBoundingClientRect(), c = getComputedStyle(t), l = parseFloat(c.paddingLeft), u = t.querySelector("svg").getBoundingClientRect().width, d = Math.max(0, (o.width - u) / 2 - parseFloat(c.borderLeftWidth)), f = r ? i : e ? o : s, p = e ? s : o, m = nc();t.classList.add("search-morphing");- let h = t.animate(yNe(f, p, s, r ? a : e ? d : l, e ? l : d, m.easing, innerWidth), {+ let h = t.animate(bNe(f, p, s, r ? a : e ? d : l, e ? l : d, m.easing, innerWidth), {duration: m.duration,easing: "linear",fill: "both"@@ -79255,27 +79271,27 @@ function M9(e) {k9.searchMorph === h && j9();});}-function xNe() {- return t9.immerseOpen() ? o8().activeVideo() : r8()?.activeVideo() || null;+function SNe() {+ return t9.immerseOpen() ? a8().activeVideo() : n8()?.activeVideo() || null;}-function SNe(e) {+function CNe(e) {return !!e && (e.tagName === "INPUT" || e.tagName === "TEXTAREA" || e.isContentEditable);}-function CNe() {+function wNe() {k9.searchControl = null, k9.searchActions = {search: (e) => {- X.rememberSearchValue(), i9(!1), U.q = e, $l(), Q.route(U.jav === "1" ? g7() : U.q ? "/?q=" + encodeURIComponent(U.q) : "/", !0);+ X.rememberSearchValue(), i9(!1), U.q = e, $l(), Q.route(U.jav === "1" ? h7() : U.q ? "/?q=" + encodeURIComponent(U.q) : "/", !0);},openItem: (e) => c9(e),- openEntity: (e, t) => v5(e, t),+ openEntity: (e, t) => _5(e, t),openPath: (e) => Q.route(e, !1),openFollow: (e, t, n) => {$.followMediaView = t, D9(e, !0, n);}}, k9.searchHelpers = {- pool: () => uK(U, R),- recommendations: () => vNe(R),- 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 ? U8(e) : bNe(e)}</span>`,+ pool: () => lK(U, R),+ recommendations: () => yNe(R),+ 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 ? H8(e) : xNe(e)}</span>`,present: (e) => To(e),dismiss: (e) => Eo(e),wireScroller: (e) => Us(e),@@ -79290,7 +79306,7 @@ function CNe() {text: e.value,scrollLeft: e.scrollLeft || X.searchValueSnapshot.scrollLeft})- }, HV("search", {+ }, VV("search", {input: I("#q"),historyLimit: Z.appSettings.searchHistoryLimit,actions: k9.searchActions,@@ -79309,7 +79325,7 @@ function CNe() {e.currentTarget.value && X.rememberSearchValue(e.currentTarget);});}-function wNe() {+function TNe() {k9.searchMorph = null, k9.searchMorphViewport = innerWidth, J.listen.bind(J, window)("resize", () => {innerWidth !== k9.searchMorphViewport && (k9.searchMorphViewport = innerWidth, j9());}, { passive: !0 }), J.listen(matchMedia("(prefers-reduced-motion:reduce)"), "change", j9), J.handler(I("#searchBtn"), "onclick", () => {@@ -79321,10 +79337,10 @@ function wNe() {e.target.closest(".search") || (e.type !== "focusin" || e.target !== document.body && e.target !== document.documentElement) && (I("#q").value || M9(!1), A9());};J.listen(document, "pointerdown", e, !0), J.listen(document, "focusin", e), J.handler(I("#brandHome"), "onclick", (e) => {- e.preventDefault(), _7(null, !0);+ e.preventDefault(), g7(null, !0);}), J.listen(document, "keydown", (e) => {if (e.key === "Escape") {- let t = l8();+ let t = c8();if (t?.isOpen()) {t.close();return;@@ -79334,24 +79350,24 @@ function wNe() {return;}if (t9.immerseOpen()) {- o8().close();+ a8().close();return;}if (t9.stageOpen()) {- e.defaultPrevented || (e.preventDefault(), r8().requestClose());+ e.defaultPrevented || (e.preventDefault(), n8().requestClose());return;}if (I("#drawer").classList.contains("open")) {- J5(!1);+ q5(!1);return;}if (Ol || El.size || Dl.size) {- k5(!1, !0);+ O5(!1, !0);return;}return;}- if (SNe(e.target) || e.ctrlKey || e.metaKey || e.altKey) return;+ if (CNe(e.target) || e.ctrlKey || e.metaKey || e.altKey) return;if (e.key === "ArrowLeft" || e.key === "ArrowRight") {let t = document.querySelector(`#stage[open] [data-media-carousel]:not([data-carousel-video-active]) [data-follow-image-step="${e.key === "ArrowRight" ? 1 : -1}"]`);if (t) {@@ -79359,30 +79375,30 @@ function wNe() {return;}}- let t = xNe();+ let t = SNe();if (t) {if (e.key === "t" || e.key === "T") {- e.preventDefault(), r8()?.toggleTheater();+ e.preventDefault(), n8()?.toggleTheater();return;}if (e.key === "ArrowLeft" || e.key === "ArrowRight") {- e.preventDefault(), Jj(t, Z.appSettings.seekSeconds * (e.key === "ArrowRight" ? 1 : -1));+ e.preventDefault(), qj(t, Z.appSettings.seekSeconds * (e.key === "ArrowRight" ? 1 : -1));return;}if (e.key === " " || e.key === "k" || e.key === "K") {- e.preventDefault(), qj(t);+ e.preventDefault(), Kj(t);return;}if (e.key === "m" || e.key === "M") {- e.preventDefault(), uj(t, ".vjs-mute-control");+ e.preventDefault(), lj(t, ".vjs-mute-control");return;}if (e.key === "f" || e.key === "F") {- e.preventDefault(), uj(t, ".vjs-fullscreen-control");+ e.preventDefault(), lj(t, ".vjs-fullscreen-control");return;}if (e.key === "i" || e.key === "I") {- e.preventDefault(), r8()?.toggleMiniplayer();+ e.preventDefault(), n8()?.toggleMiniplayer();return;}}@@ -79390,7 +79406,7 @@ function wNe() {}//#endregion//#region src/history/links.ts-function TNe(e) {+function ENe(e) {if (e.defaultPrevented || e.button !== 0 || e.ctrlKey || e.metaKey || e.shiftKey || e.altKey) return null;let t = e.target instanceof Element ? e.target.closest("a[href]") : null;if (!t || t.hasAttribute("download") || t.target && t.target.toLowerCase() !== "_self") return null;@@ -79404,9 +79420,9 @@ function TNe(e) {} catch {return null;}- if (i.origin !== window.location.origin || n.startsWith("#") && bV(i.pathname)) return null;- let a = AV(i.pathname);- return n.startsWith("#") && !a?.section || !yV(i.pathname, i.search) && !a ? null : i.pathname + i.search + i.hash;+ if (i.origin !== window.location.origin || n.startsWith("#") && yV(i.pathname)) return null;+ let a = kV(i.pathname);+ return n.startsWith("#") && !a?.section || !vV(i.pathname, i.search) && !a ? null : i.pathname + i.search + i.hash;}//#endregion//#region src/application/composition.js@@ -79414,65 +79430,65 @@ var N9 = {shellActions: void 0,routing: void 0};-function ENe() {+function DNe() {let e = J, t = (e) => {e.kind === "item" ? c9(e.id, !1) : e.kind === "jav" ? u9(e.code, !1) : e.kind === "follow" ? D9(e.id, !1) : a9(e.queue, e.key, e.item, !1);};- if (hje(), I5.entityShapesReady = W8(), nMe(), location.pathname === "/") {+ if (gje(), F5.entityShapesReady = U8(), rMe(), location.pathname === "/") {let e = new URLSearchParams(location.search);!e.has("state") && e.get("jav") !== "1" && (I("#catalogPageHeading").hidden = !1);}- X8(decodeURIComponent(location.pathname)) && q8(I("#feedNew")), dMe(), N9.shellActions = {- openSettings: (e) => Y5(e, !0),- closeSettings: () => l8()?.close(!1),+ Y8(decodeURIComponent(location.pathname)) && K8(I("#feedNew")), fMe(), N9.shellActions = {+ openSettings: (e) => J5(e, !0),+ closeSettings: () => c8()?.close(!1),openItem: (e) => void c9(e),- openEntity: (e, t) => void v5(e, t),+ openEntity: (e, t) => void _5(e, t),openTag: (e) => {- oMe(), P7(e);+ sMe(), P7(e);},- openTasteSignal: jje,+ openTasteSignal: Mje,navigate: (e) => {- let n = new URL(e, location.href), r = yV(n.pathname, n.search);+ let n = new URL(e, location.href), r = vV(n.pathname, n.search);if (r) {let e = r.kind === "queue" ? "item" : r.kind;v9(n.pathname + n.search + n.hash, e, () => t(r));- } else if (n.hash && n.pathname === location.pathname && n.search === location.search && !bV(location.pathname)) {+ } else if (n.hash && n.pathname === location.pathname && n.search === location.search && !yV(location.pathname)) {Q.route(e);- let t = $V.navigation.seq;- c6(n.hash, () => $V.navigation.seq === t);+ let t = QV.navigation.seq;+ s6(n.hash, () => QV.navigation.seq === t);} else Q.navigatePath(e);},- openManage: e7,+ openManage: $5,managePath: (e) => Q.routePathOf("section", e) || "",openFollow: () => E9(),- receipt: (e, t) => S8.actionReceipt(e, t),- toast: (e, t) => S8.toast(e, t),- failure: S8.actionFailure,- revealSource: p5,- reopenTutorial: tNe,- routeReview: Nje,- routeFollowManage: Yje,+ receipt: (e, t) => x8.actionReceipt(e, t),+ toast: (e, t) => x8.toast(e, t),+ failure: x8.actionFailure,+ revealSource: f5,+ reopenTutorial: nNe,+ routeReview: Pje,+ routeFollowManage: Xje,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(N5(e), t),+ routeIndex: (e, { replace: t = !1 } = {}) => Q.route(M5(e), t),savePeopleLayout: ({ layout: e }) => {Z.appSettings.peopleLayout = e, Z.saveSettings();},- exitSelectMode: () => k5(!1, !1),- personAvatar: (e, t, n) => M5.personAvatar(e, t, n),- authorAvatar: (e) => Zje(e),- showIndexTags: Qje,- openFollowAuthor: F5,- openFollowTag: $je,+ exitSelectMode: () => O5(!1, !1),+ personAvatar: (e, t, n) => j5.personAvatar(e, t, n),+ authorAvatar: (e) => Qje(e),+ showIndexTags: $je,+ openFollowAuthor: P5,+ openFollowTag: eMe,openPlaylist: (e, t) => void o9(e, t, !0),canFlip: () => !Ol && !Q7() && !window.__scrolling && !X.reduceMotion(),surfaceChanged: (e, t) => {e === "entity" ? (ll(), Ql({ barsContext: {type: "home",filters: U- } }), W5(), document.body.classList.add("entity-open"), w7(), P5()) : e === "index" ? (ll(), document.body.classList.remove("entity-open"), Q.claimSurface(t), W5(), document.body.classList.add("index-open"), w7(), P5()) : (ll(), Q.claimSurface(t), e === "catalog" ? W5() : (U5(), H5({ manage: e === "management" })));+ } }), U5(), document.body.classList.add("entity-open"), C7(), N5()) : e === "index" ? (ll(), document.body.classList.remove("entity-open"), Q.claimSurface(t), U5(), document.body.classList.add("index-open"), C7(), N5()) : (ll(), Q.claimSurface(t), e === "catalog" ? U5() : (H5(), V5({ manage: e === "management" })));},clearSearch: () => X.clearSearchField(),openImmerse: (e) => {@@ -79485,7 +79501,7 @@ function ENe() {},openOverlay: (e) => {let n = Q.requestedOverlay;- Q.requestedOverlay = null, $V.navigation.claimed && (!tH() || Q.initialOverlayOpened) ? n?.path === location.pathname + location.search + location.hash && n.open() : (tH() && (Q.initialOverlayOpened = !0), t(e));+ Q.requestedOverlay = null, QV.navigation.claimed && (!eH() || Q.initialOverlayOpened) ? n?.path === location.pathname + location.search + location.hash && n.open() : (eH() && (Q.initialOverlayOpened = !0), t(e));},closeStage: () => {t9.stageOpen() && i9(!1);@@ -79496,50 +79512,50 @@ function ENe() {},configurable: () => !!Vl,surfaceShown: (e) => {- e === "index" ? (g9(), d7()) : M7();+ e === "index" ? (g9(), u7()) : M7();},entity: {missing: (e) => {- N9.shellActions.surfaceChanged("entity", location.pathname), _5(e);+ N9.shellActions.surfaceChanged("entity", location.pathname), g5(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 = o5();- return i.type !== "entity" || i.kind !== e || i.name !== t || !c5(e, t, r, Y.parseMediaView(n), { push: !1 }) ? !1 : (x7(r), S7(o5()), !0);+ let i = a5();+ return i.type !== "entity" || i.kind !== e || i.name !== t || !s5(e, t, r, Y.parseMediaView(n), { push: !1 }) ? !1 : (b7(r), x7(a5()), !0);}},follow: $.followFeedShell,catalog: {- defaultLoc: () => h7("local,115"),+ defaultLoc: () => m7("local,115"),open: (e, { entering: t = !1, retitle: n = !1 } = {}) => {- n && (y9(), u7(), $5()), t && O8(), e === "/trash" ? (X.clearSearchField(), W5()) : (I("#q").value = U.q, X.rememberSearchValue()), g9(), M7(), Z.handOff(L7());+ n && (y9(), l7(), Q5()), t && D8(), e === "/trash" ? (X.clearSearchField(), U5()) : (I("#q").value = U.q, X.rememberSearchValue()), g9(), M7(), Z.handOff(L7());},load: () => {Z.handOff(L7());},fill: () => {- if (H7() || !tH() && !I("#grid").querySelector(".catalog-skeleton")) return;+ if (H7() || !eH() && !I("#grid").querySelector(".catalog-skeleton")) return;let e = I("#count");e.removeAttribute("aria-busy"), e.removeAttribute("aria-label"), B7(Q.surfaceToken(Q.surfacePath()));},release: () => {- z7(), Z8();+ z7(), X8();}}}, N9.routing = !1, e.listen(document, "click", (e) => {- let t = TNe(e);+ let t = ENe(e);t && (e.preventDefault(), N9.shellActions.navigate(t));- }), J.own($V.listen((e) => {- Q.queueOpenRequest && e.seq !== Q.queueOpenRequest.seq && !bV(e.location.pathname) && i9(!1), N9.routing && !e.claimed && y9();- })), NAe(N9.shellActions).catch((e) => console.error("客户端导航装载失败", e)), mMe(), Uje(), Z5(), Promise.all([+ }), J.own(QV.listen((e) => {+ Q.queueOpenRequest && e.seq !== Q.queueOpenRequest.seq && !yV(e.location.pathname) && i9(!1), N9.routing && !e.claimed && y9();+ })), PAe(N9.shellActions).catch((e) => console.error("客户端导航装载失败", e)), hMe(), Wje(), X5(), Promise.all([Y7(),- fMe(),- I5.entityShapesReady+ pMe(),+ F5.entityShapesReady]).then(() => {- e.isActive && (I5.wantsDiscoveryBars() && M7().catch((e) => console.error("首页横条装载失败", e)), g9(), GMe(), N9.routing = !0, Ql({ pageOpens: 1 }), y9(), d7());+ e.isActive && (F5.wantsDiscoveryBars() && M7().catch((e) => console.error("首页横条装载失败", e)), g9(), KMe(), N9.routing = !0, Ql({ pageOpens: 1 }), y9(), u7());}).catch((t) => {e.isActive && console.error("应用启动失败", t);});@@ -79547,7 +79563,7 @@ function ENe() {//#endregion//#region src/theme-transition.tsvar P9 = !1;-async function DNe(e, t) {+async function ONe(e, t) {if (P9) return;if (!document.startViewTransition || matchMedia("(prefers-reduced-motion: reduce)").matches) {t();@@ -79570,7 +79586,7 @@ async function DNe(e, t) {}//#endregion//#region src/application/chrome.js-function ONe() {+function kNe() {(() => {let e = J, t = ["#brandHome",@@ -79632,7 +79648,7 @@ function ONe() {e.key === "Escape" && (e.stopPropagation(), u.setOpen(!1), c.focus());}), R("/api/libraries", { signal: e.signal }).then((t) => {if (!e.isActive) return;- wW(t.libraries);+ CW(t.libraries);let n = [["","全部媒体库",@@ -79653,7 +79669,7 @@ function ONe() {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), J5(!1), C5("媒体库与入库");+ u.setOpen(!1), q5(!1), S5("媒体库与入库");});let d = l.querySelector(".board-library-rows");e.listen(d, "pointerover", (e) => {@@ -79670,18 +79686,18 @@ function ONe() {(document.querySelector(".top") || m.closest("header")).prepend(h), e.own(() => h.remove());let g = document.createElement("div");g.className = "board-sidebar-foot", e.own(() => g.remove()), g.innerHTML = `<div class="board-theme-toggle" role="group" aria-label="明暗主题"><span class="board-theme-thumb" aria-hidden="true"></span><button type="button" data-board-theme="light" aria-label="浅色主题">${L("sun")}</button><button type="button" data-board-theme="dark" aria-label="深色主题">${L("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" && DNe(t, () => {- Z.appSettings.theme = t.dataset.boardTheme, Z.saveSettings(), eA();+ t.getAttribute("aria-pressed") !== "true" && ONe(t, () => {+ Z.appSettings.theme = t.dataset.boardTheme, Z.saveSettings(), $k();});- })), eA();+ })), $k();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 = ko(g, v, _);- e.own(y.dispose), e.own(Zoe(v)), BAe({+ e.own(y.dispose), e.own(Qoe(v)), VAe({root: _,store: Z.settingsStore,openDetails: () => {- e.isActive && (y.setOpen(!1), J5(!1), Y5("外观与导航").then((t) => {+ e.isActive && (y.setOpen(!1), q5(!1), J5("外观与导航").then((t) => {e.isActive && t.reveal("#homeGlowControls");}));}@@ -79693,7 +79709,7 @@ function ONe() {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 = !q5();+ let r = n.classList.contains("open"), i = !K5();i || r ? m.parentElement !== t && t.append(m) : m.parentElement !== h.parentElement && h.after(m), n.inert = !i && !r;}Z.placeSidebarHead = b, b(), e.listen(document, "board:sidebar", b), e.listen.bind(J, window)("resize", b);@@ -79817,17 +79833,17 @@ function ONe() {subtree: !0}), y();}- })(), J5(!q5() && sessionStorage.getItem("board.sidebar") !== "closed");+ })(), q5(!K5() && sessionStorage.getItem("board.sidebar") !== "closed");}//#endregion//#region src/application/initialize.js-function kNe() {- _Ne(), rNe(), rMe(), iNe(), qMe(), HAe(), RMe(), nNe(), Oje(), $Me(), Wje(), zMe(), xje(), Pje(), hNe(), eMe(), kje(), gNe(), tMe(), Aje(), bMe(), BMe(), CNe(), eNe(), wNe(), JMe(), ENe(), ONe(), J.own(z7), J.own(_9);+function ANe() {+ vNe(), iNe(), iMe(), aNe(), JMe(), UAe(), zMe(), rNe(), kje(), eNe(), Gje(), BMe(), Sje(), Fje(), gNe(), tMe(), Aje(), _Ne(), nMe(), jje(), xMe(), VMe(), wNe(), tNe(), TNe(), YMe(), DNe(), kNe(), J.own(z7), J.own(_9);}//#endregion//#region src/ui-kit/middle-truncate.tsvar F9 = "…", I9 = typeof Intl.Segmenter == "function" ? new Intl.Segmenter(void 0, { granularity: "grapheme" }) : null, L9 = /* @__PURE__ */ new WeakMap(), R9 = /* @__PURE__ */ new WeakSet(), z9 = null, B9 = null, V9 = /* @__PURE__ */ new Set(), H9 = (e) => I9 ? [...I9.segment(String(e ?? ""))].map((e) => e.segment) : Array.from(String(e ?? ""));-function ANe(e, t) {+function jNe(e, t) {let n = H9(e);if (!n.length || t(e)) return String(e ?? "");let r = 0, i = Math.max(0, n.length - 1), a = F9;@@ -79845,7 +79861,7 @@ var U9 = Object.assign((e, t) => {Number.isFinite(a) && (i += Math.max(0, H9(t).length - 1) * a);let o = parseFloat(n.wordSpacing);return Number.isFinite(o) && (i += (t.match(/\s/g) || []).length * o), i;-}, { canvas: null }), jNe = (e) => {+}, { canvas: null }), MNe = (e) => {if (e.dataset.middleTruncateWithin === void 0) return e.clientWidth;let t = e.parentElement;if (!t) return e.clientWidth;@@ -79855,17 +79871,17 @@ var U9 = Object.assign((e, t) => {n === e ? a++ : t > 0 && (i += t, a++);}return t.getBoundingClientRect().width - (parseFloat(n.paddingLeft) || 0) - (parseFloat(n.paddingRight) || 0) - i - r * Math.max(0, a - 1);-}, MNe = (e) => {+}, NNe = (e) => {let t = L9.get(e);if (!t || !e.isConnected) return;- let n = jNe(e), r = n > 0 ? ANe(t.full, (t) => U9(e, t) <= n) : t.full;+ let n = MNe(e), r = n > 0 ? jNe(t.full, (t) => U9(e, t) <= n) : t.full;t.rendered = r, e.textContent !== r && (e.textContent = r);let i = r !== t.full;e.classList.toggle("middle-truncated", i), e.setAttribute("aria-label", t.full), (!e.hasAttribute("title") || e.dataset.middleTitle === "true") && (e.title = t.full, e.dataset.middleTitle = "true");}, W9 = (e) => {let t = L9.get(e);t && !t.raf && (t.raf = requestAnimationFrame(() => {- t.raf = 0, MNe(e);+ t.raf = 0, NNe(e);}));}, G9 = (e) => {e instanceof HTMLElement && (L9.has(e) || L9.set(e, {@@ -79878,7 +79894,7 @@ var U9 = Object.assign((e, t) => {let t = e;t.matches("[data-middle-truncate]") && G9(t), t.querySelectorAll("[data-middle-truncate]").forEach(G9);};-function NNe(e = document) {+function PNe(e = document) {B9?.(), R9 = /* @__PURE__ */ new WeakSet(), V9 = /* @__PURE__ */ new Set();let t = V9, n = !0;z9 = new ResizeObserver((e) => e.forEach((e) => {@@ -79953,7 +79969,7 @@ var q9 = ["jav-detail","wants","index"-], PNe = {+], FNe = {catalog: [...q9,...J9,@@ -79974,10 +79990,10 @@ var q9 = ["avatar-choices"]};-function FNe() {+function INe() {let e = /* @__PURE__ */ new Set(), t = null;return (n, r) => {- for (let t of Object.keys(r)) if (r[t] !== n[t]) for (let n of PNe[t] || []) e.add(n);+ for (let t of Object.keys(r)) if (r[t] !== n[t]) for (let n of FNe[t] || []) e.add(n);return !t && e.size && (t = (async () => {for (; e.size;) {let t = new Set(e);@@ -79990,12 +80006,12 @@ function FNe() {})), t || Promise.resolve();};}-function INe() {+function LNe() {let e = Ct({- queryKey: HF,- queryFn: ({ signal: e }) => WF(e),- refetchInterval: (e) => UF(e.state.data)- }), t = (0, D.useRef)(void 0), [n] = (0, D.useState)(FNe), r = e.data?.result_versions;+ queryKey: VF,+ queryFn: ({ signal: e }) => UF(e),+ refetchInterval: (e) => HF(e.state.data)+ }), t = (0, D.useRef)(void 0), [n] = (0, D.useState)(INe), r = e.data?.result_versions;return (0, D.useEffect)(() => {r && (t.current && n(t.current, r), t.current = r);}, [r, n]), null;@@ -80006,54 +80022,54 @@ var X9 = null;function Z9(e) {X9 !== e || e.owners || (X9 = null, e.effects.dispose());}-function LNe() {+function RNe() {if (!X9) {- let e = VAe();+ let e = HAe();X9 = {effects: e,owners: 0- }, e.own(NNe(document)), e.own(() => {+ }, e.own(PNe(document)), e.own(() => {ll(), H.cancelQueries();- }), e.own(PAe), e.own(hme), e.own(Co);+ }), e.own(FAe), e.own(gme), e.own(Co);}return X9.owners += 1, X9.effects.resume(), X9;}-function RNe() {+function zNe() {let [e, t] = (0, D.useState)(null);return (0, D.useLayoutEffect)(() => {- let e = X9 === null, n = LNe(), r = MAe(t);+ let e = X9 === null, n = RNe(), r = NAe(t);if (e) try {- kNe();+ ANe();} catch (e) {throw r(), n.effects.dispose(), X9 = null, e;}return () => {r(), --n.owners, !n.owners && (n.effects.pause(), queueMicrotask(() => Z9(n)));};- }, []), /* @__PURE__ */ (0, O.jsx)(qhe, {+ }, []), /* @__PURE__ */ (0, O.jsx)(Jhe, {actions: e,processing: !0,- background: e ? /* @__PURE__ */ (0, O.jsx)(INe, {}) : null+ background: e ? /* @__PURE__ */ (0, O.jsx)(LNe, {}) : null});}var Q9 = /* @__PURE__ */ new WeakMap();-function zNe(e) {+function BNe(e) {let t = Q9.get(e);if (t) return t;- let n = (0, Dt.createRoot)(e, Jhe);+ let n = (0, Dt.createRoot)(e, Yhe);Q9.set(e, n);let r = n.unmount.bind(n);return n.unmount = () => {Q9.get(e) === n && (Q9.delete(e), r(), X9 && Z9(X9));- }, (0, Et.flushSync)(() => n.render(/* @__PURE__ */ (0, O.jsx)(RNe, {}))), n;+ }, (0, Et.flushSync)(() => n.render(/* @__PURE__ */ (0, O.jsx)(zNe, {}))), n;}//#endregion//#region src/react/bootstrap.tsxg();var $9 = document.getElementById("appRoot");if (!$9) throw Error("主界面宿主缺失");-zNe($9);+BNe($9);//#endregion-export { II as $2ec61d1d4f780267$export$a8a3e93435678ff9, WI as $3a442827418ebe87$export$eb2fcfdbd7ba97d4, sR as $542a13ca2fa5b484$export$5b6b19405a83ff9d, Yw as $72abaeab4d80592f$export$78efe591171d7d45, $R as $76d00c5a4edb230a$export$76ccd210b9029917, XR as $76d00c5a4edb230a$export$816b5d811295e6bc, nz as $76d00c5a4edb230a$export$b59bdbef9ce70de2, iz as $76d00c5a4edb230a$export$f6f0c3fe4ec306ea, YR as $76d00c5a4edb230a$export$f850895b287ef28e, Pde as $b4f18e3395fe64d7$export$3d96ec278d3efce4, Nde as $b4f18e3395fe64d7$export$3e41faf802a29e71, Ade as $b4f18e3395fe64d7$export$b2539bed5023c21c, cz as $b4f18e3395fe64d7$export$e51a686c67fdaa2d, Lde as $bd263d78e9bf3c56$export$f5c9f3c2c4054eec, IC as $ea3928288112382f$export$439d29a4e110a164, bR as $f2ff30fde7b014be$export$3ddf2d174ce01153, DR as $fe21c36db05242bb$export$a98f0dcb43a68a25, OR as $fe21c36db05242bb$export$d7b12c4107be0d61, yfe as $l, jA as ACCENT_CHOICES, bwe as AMANE_BRIDGE_CHECK_URL, Q$ as AMANE_BRIDGE_KEY, xwe as AMANE_BRIDGE_REBUILD_URL, kn as ApiError, yW as ArtSlot, q as Button, mI as ButtonLink, Ofe as Bx, Vt as CLOUD_LOCATIONS, Q1 as CLOUD_PROXY_HELP, mr as COLUMN_SORT, u1 as CONFIGURATION_KEY, nX as CONFIGURATION_URL, Swe as COOKIE_TEXT_LIMIT, Z$ as COVER_JOB_KEY, _i as CREDENTIAL_STATE, q$ as CUSTOM_SOURCES_KEY, K$ as CUSTOM_SOURCES_URL, sV as Checkbox, oV as CheckboxGlyph, ZB as ChevronSortDown, gZ as Chip, J2 as CloudDownloadDialog, UH as CollapseChevron, HH as CollapseRegion, m$ as CollectionSummary, $ve as DEFAULT_CATEGORY, Nn as DEFAULT_SORT, RQ as DIAGNOSTICS_KEY, Xye as DIRECTORY_TEMPLATE_ERROR, N0 as DISCOVERY_SORTS, H2 as DOWNLOADS_KEY, V2 as DOWNLOADS_URL, EY as DUPLICATES_KEY, lY as DataTableFooter, aY as DataTableFrame, cY as DataTableSort, XH as Disclosure, ADe as DownloadsPanel, ufe as E3, eye as ENTITY_REVIEW_KINDS, X1 as ENTRY_LINKS_HELP, Z1 as ENTRY_LINKS_HINT, Sfe as Ea, zfe as EmptyFocusButton, Bz as EmptyState, JH as ErrorText, vhe as ExternalLink, lr as FEEDS_KEY, uX as FEED_SCHEDULE_KEY, kke as FLOW_LABEL_X, R3 as FLOW_VIEWBOX, sr as FOLLOW_CHECK_KEY, or as FOLLOW_CREDENTIALS_KEY, N8 as FOLLOW_INITIAL_RANGE_OPTIONS, ar as FOLLOW_MANAGE_KEY, cr as FOLLOW_RESOLVE_KEY, lX as FOLLOW_SCHEDULE_KEY, bhe as Fact, yhe as FactList, YH as FieldLabel, z$ as Fieldset, R$ as FieldsetTitle, jle as FilterGlass, sI as FilterGlassRows, oI as FilterIconButton, cI as FilterPill, _he as Footer, wz as Gg, lI as GlassPill, qH as Help, jz as HintText, xke as IDLE_POLL_MS, Hve as IDLE_REPAIR, nI as IconButton, Iz as Input, Fz as InputBase, nA as JAV_LAYOUTS, F0 as JAV_RECOMMENDATION_GRID, NX as JUNK_KEY, Z3 as JavHeader, Ive as KEEP_LABELS, dr as LAYOUTS, Y1 as LIBRARY_FOLDER_HELP, mH as LIBRARY_PROCESSING_KEY, JY as LINKS_KEY, YY as LINK_CHECK_KEY, Sye as LINK_KINDS, XY as LINK_PRUNE_KEY, wn as LOC, Az as Label, H$ as LibraryProcessingCard, rB as LibraryShortcuts, TH as LinkButton, LH as LoadingDots, ffe as M6, Dye as MEDIA_PROCESSING_KEY, fX as MEDIA_PROCESSING_URL, jY as MEDIA_REPAIR_KEY, AY as MEDIA_REPAIR_URL, Vn as MEDIA_SOURCES_KEY, Po as MEDIA_SOURCE_ICONS, zt as MEDIA_SOURCE_OPTIONS, tV as MENU_ITEM, nV as MENU_ITEM_INTERACTIVE, eV as MENU_POPOVER_SURFACE, DH as MenuDialog, hG as MixCard, Lz as ModalFrame, gv as MotionConfigContext, kz as NR, zz as Note, Ffe as OA, hX as ORGANIZE_KEY, vX as ORPHAN_RECORDS_KEY, Cz as OV, gz as P7, RCe as PHASES, rX as PICK_FOLDER_URL, W$ as PLAYLISTS_KEY, STe as POLICY_COLUMNS, wTe as POLICY_COVER_NOTE, CTe as POLICY_MATRIX, J1 as POLICY_SUMMARY, sY as Pagination, V$ as PathLine, NF as PillTabList, zH as Progress, IY as QUALITY_GOALS_KEY, M$ as REPAIR_CARD_TEXT, MY as REPAIR_LIBRARIES_KEY, CX as RESOURCE_APPLY_KEY, SX as RESOURCE_SCAN_KEY, ZCe as RESULT_PANEL, QCe as RESULT_SECTION, Qve as REVIEW_CATEGORIES, MX as REVIEW_COUNTS_KEY, zY as REVIEW_KEY, BY as REVIEW_LABELS, vW as RetryNote, Pfe as Rf, hhe as Rows, vwe as SCRAPING_CHECK_URL, Y$ as SCRAPING_COVER_URL, X$ as SCRAPING_KEY, _we as SCRAPING_SETTINGS_URL, wU as SEGMENT, CU as SEGMENTED_TRACK, cX as SETTINGS_KEY, iX as SETTINGS_URL, Pn as SORT_DEFAULT_DIR, Mn as SORT_OPTIONS, Ht as SOURCE_LABELS, l3 as STATS_KEY, mhe as Section, ghe as SectionSkeleton, SU as SegmentedRadioGroup, ige as SegmentedTabList, XU as Segments, oY as Select, hU as Select$1, m1 as SelectField, gU as SelectItem, gk as SelectionDock, WH as SettingsCard, phe as SettingsRow, GH as SettingsSectionLabel, whe as SiteLabel, kU as SortDirectionIcon, $U as SortKeys, xQ as SourceAvatar, eU as SourceLabel, ZH as SourceMark, KH as Stack, B$ as StatusLabel, F2 as Switch, HF as TASKS_KEY, uke as TASTE_REFRESH_KEY, dke as TASTE_WINDOWS, dX as THUMBNAIL_JOBS_KEY, FX as TRASH_KEY, dle as TRIGGER_LABELS, XJ as Table, gY as TableColumnControls, _Y as TableColumnResizer, yY as TableSelectionHeader, BH as TaskProgress, Nz as TextField, Mz as TextFieldContext, Sz as Un, v$ as WANTS_KEY, i4 as WantMagnets, Yf as WithPromise, _z as Wt, xz as Xc, Oz as Xf, mfe as Xt, dfe as _8, o as __commonJSMin, s as __exportAll, l as __toESM, Nfe as aB, Jr as addAlias, qr as addSource, b$ as addWant, B as apiGet, V as apiSend, Xk as appSettingsStore, hbe as applyConfirmText, jX as applyLeftovers, mbe as applyPlanText, _be as applyText, eA as applyTheme, qg as asNumber, rbe as attachOrphan, Ar as authorAvatar, Mr as authorGroups, kr as authorInitial, Or as authorName, Mq as autoResetPageIndex, Ra as avatarInner, h3 as bandRows, Zye as baseName, Vve as batchOperate, xk as boundedPreference, Rve as bulkCloudPreferences, Wz as busyProps, Mfe as cB, BDe as cachedMagnetStates, zf as calcGeneratorVelocity, oye as canApprove, uf as cancelFrame, cbe as candidateText, IH as cardClass, hA as cardRatio, bz as cc, pi as checkEvidenceGap, fi as checkFailures, ri as checkFeeds, Eye as checkLine, ui as checkReceipt, di as checkSummary, wwe as checkText, mi as checkedText, VW as clickedBlank, Ave as cloudLocations, k0 as cloudProxySkeleton, ox as clsx, Tfe as cn, Gm as collectMotionValues, iJ as columnVisibilityFeature, GJ as column_getCanSort, VJ as column_getSortFn, iye as commonReviewSources, dV as configurationSection, hke as configureTasteBrowser, Sc as confirmModal, tq as copyInstancePropertiesWithoutMemos, ja as coverUrl, Yq as createColumnHelper, dwe as createPlaylist, vi as credentialDone, T0 as credentialsSkeleton, hye as currentReviewRow, AF as cx, Ez as dZ, fye as decisionPayload, pye as decisionReceipt, dye as defaultChoice, pwe as deletePlaylist, q1 as diagnosticsSkeleton, KCe as discoveryArtwork, T$ as discoveryKey, JTe as discoveryScore, Pve as distinctName, vye as dropReviewRows, ci as dropSources, jfe as du, zve as duplicateVictims, YF as elapsedText, La as entityFaceImg, tn as entityPath, Cr as errorHeadline, jn as errorMessage, z as esc, Aq as expandRowModel, pz as f1, Sr as feedIntervalText, t1 as fetchAmaneBridge, Br as fetchCheckJob, d1 as fetchConfiguration, e1 as fetchCoverJob, zr as fetchCredentials, J$ as fetchCustomSources, zQ as fetchDiagnostics, E$ as fetchDiscoveries, OY as fetchDuplicates, ole as fetchEarlier, Aye as fetchFeedSchedule, ei as fetchFeeds, Rr as fetchFollow, kye as fetchFollowSchedule, LX as fetchJunkSummary, $Y as fetchLinkCheck, eX as fetchLinkPrune, QY as fetchLinkStats, Oye as fetchMediaProcessing, NY as fetchMediaRepair, Hn as fetchMediaSources, gX as fetchOrganize, Uye as fetchOrganizeExample, yX as fetchOrphanRecords, $r as fetchPending, G$ as fetchPlaylists, LY as fetchQualityGoals, PY as fetchRepairLibraries, Vr as fetchResolveJob, TX as fetchResourceApply, wX as fetchResourceScan, GY as fetchReview, IX as fetchReviewCounts, pX as fetchSettings, $$ as fetchSources, u3 as fetchStats, Hr as fetchSuggestions, WF as fetchTasks, F3 as fetchTaste, gke as fetchTasteJob, jye as fetchThumbnailJobs, RX as fetchTrashSummary, y$ as fetchWants, nye as filterReviewRows, Sn as firstGrapheme, xK as flexRender, jke as flowGraph, Mke as flowLabel, AOe as fmtCount, gn as fmtDur, vn as fmtSize, ble as foldRoutine, ai as followFeedByName, ur as followSuggestKey, Sle as followupDetail, lf as frame, tfe as g4, sJ as getDefaultPaginationState, mA as gridLayout, jr as groupByAuthor, yle as groupFollowups, HY as groupReviewRows, fbe as hasChanges, EX as hasResourceRoots, KF as hasResultProblems, Ske as historySpan, mz as i2, bke as importTasteExport, E0 as indexersSkeleton, jf as interpolate, S$ as invalidateWants, JF as isActive, xr as isBroken, hr as isLayout, gh as isMotionValue, VY as isReviewCategory, xle as isRoutine, D0 as javBrowserSkeleton, L0 as javContentSkeleton, sA as javLayout, I0 as javTagSkeleton, Sbe as junkBreakdown, mwe as keepPlaylist, ve as keepPreviousData, Fr as keepSelected, d3 as known, afe as l7, vle as latestOfKind, HOe as lengthRows, Gn as localTime, ii as lookupFeedActor, cfe as m7, Tz as mM, Jt as mapLimit, Qr as markItem, g3 as max, BOe as mediumRows, sle as mergeFinished, _3 as min, bye as mirrorText, Gve as missingToolText, kY as mixedCloudPreferences, $F as momentText, Oy as motion, qm as motionValue, $ye as organizeOutcome, $0 as overlayHost, gr as pageSizeOf, Pr as pageWindow, Ln as paginationRange, si as patchSource, $V as peachHistory, $V as peachHistory$1, uye as pendingGenres, MOe as percentText, Kye as pickOrganizeFolder, Qye as planSummary, f3 as playedFor, POe as playedItemUrl, UF as pollInterval, fs as popCount, uwe as posterUrl, LW as previewLibraryColor, Gye as previewOrganize, Jve as previewUrl, _le as problemDestination, XF as progressText, $H as providerIcon, Tye as pruneText, OX as purgeCount, ibe as purgeOrphan, Dz as pv, Afe as qE, H as queryClient, hz as r2, Oke as radarRows, LOe as radialArc, ROe as radialBarSize, IOe as radialCeiling, FOe as radialSlices, Dj as randomId, Eke as rankDetail, Dke as rankShares, m3 as reachedShare, ZF as readableErrorHeadline, YTe as recommendationScore, gye as recordGenre, obe as recordsText, hwe as recreatePlaylist, cwe as refreshPlaylists, nl as relayoutCovers, li as reloadFollowManage, yye as reloadReview, DTe as rememberShape, Jye as rememberTemplates, Yr as removeAlias, ni as removeFeed, Kr as removeSource, yke as removeTasteSource, x$ as removeWants, Xr as renameAliasGroup, fwe as renamePlaylist, WOe as replayRows, E as require_jsx_runtime, v as require_react, S as require_react_dom, WK as require_with_selector, VCe as resetWants, In as resolveFollowSort, Gf as resolveStartTime, lwe as resumeAssetId, tye as reviewGroupingOptions, xbe as reviewSummary, rye as reviewWindow, cye as rowEvidence, WY as rowFieldName, mJ as rowPaginationFeature, FJ as rowSelectionFeature, JJ as rowSortingFeature, UY as rowSubject, lye as rowTags, sye as rowTitle, nfe as s5, Zr as saveCredential, pbe as scanLine, Iye as schedulePollInterval, UCe as searchNote, aye as selectReviewRange, Ir as selectionState, ti as setFeedEnabled, Gr as setSourceEnabled, hV as settingsPath, Nve as sharedNamePrefix, eH as shellNavigate, b8 as showToast, cn as siteMarkUrl, mq as skipFirstRun, jF as sortCx, vr as sortLabel, Ut as sourceDefaultCost, gi as sourceIconUrl, gbe as sourceMeta, rs as spinnerHtml, Of as spring, Hz as spriteGlyph, Ur as startCheck, Cye as startLinkCheck, wye as startLinkPrune, qye as startOrganize, Wr as startResolve, ube as startResourceApply, lbe as startResourceScan, vke as startTasteRefresh, ple as statusLabel, Wve as statusLine, br as statusText, gA as storeJavLayout, mye as submitDecision, eI as summaryItems, Xq as tableFeatures, hq as tableMemo, Nr as tableRows, gle as taskIssues, I3 as tasteDate, wke as tasteDimensions, Cke as tasteHours, P3 as tasteKey, pke as tasteRefetchInterval, mke as tasteTime, LF as textLang, Wu as time, vfe as tl, Lr as toggleGroup, L3 as topScores, xfe as uo, PH as useAction, zZ as useBackgroundJob, nu as useConstant, aI as useHorizontalScroller, ru as useIsomorphicLayoutEffect, zW as useLibraryTints, wt as useMutation, cV as useOverlayScrollbar, Ct as useQuery, A as useQueryClient, yy as useReducedMotion, Fye as useRunSchedule, Nye as useSaveFollowSchedule, mX as useSaveSettings, Lye as useSaveThumbnailMode, YJ as useTable, fY as useTablePreferences, Bve as victimBytes, HCe as wantName, NOe as watchNote, p3 as watchedShare, Us as wireHorizontalScroller, Yye as withOrganizeJob };+export { FI as $2ec61d1d4f780267$export$a8a3e93435678ff9, UI as $3a442827418ebe87$export$eb2fcfdbd7ba97d4, oR as $542a13ca2fa5b484$export$5b6b19405a83ff9d, Jw as $72abaeab4d80592f$export$78efe591171d7d45, QR as $76d00c5a4edb230a$export$76ccd210b9029917, YR as $76d00c5a4edb230a$export$816b5d811295e6bc, tz as $76d00c5a4edb230a$export$b59bdbef9ce70de2, rz as $76d00c5a4edb230a$export$f6f0c3fe4ec306ea, JR as $76d00c5a4edb230a$export$f850895b287ef28e, Fde as $b4f18e3395fe64d7$export$3d96ec278d3efce4, Pde as $b4f18e3395fe64d7$export$3e41faf802a29e71, jde as $b4f18e3395fe64d7$export$b2539bed5023c21c, sz as $b4f18e3395fe64d7$export$e51a686c67fdaa2d, Rde as $bd263d78e9bf3c56$export$f5c9f3c2c4054eec, FC as $ea3928288112382f$export$439d29a4e110a164, yR as $f2ff30fde7b014be$export$3ddf2d174ce01153, ER as $fe21c36db05242bb$export$a98f0dcb43a68a25, DR as $fe21c36db05242bb$export$d7b12c4107be0d61, bfe as $l, AA as ACCENT_CHOICES, xwe as AMANE_BRIDGE_CHECK_URL, Z$ as AMANE_BRIDGE_KEY, Swe as AMANE_BRIDGE_REBUILD_URL, kn as ApiError, vW as ArtSlot, q as Button, pI as ButtonLink, kfe as Bx, Vt as CLOUD_LOCATIONS, Z1 as CLOUD_PROXY_HELP, mr as COLUMN_SORT, l1 as CONFIGURATION_KEY, tX as CONFIGURATION_URL, Cwe as COOKIE_TEXT_LIMIT, X$ as COVER_JOB_KEY, _i as CREDENTIAL_STATE, K$ as CUSTOM_SOURCES_KEY, G$ as CUSTOM_SOURCES_URL, oV as Checkbox, aV as CheckboxGlyph, XB as ChevronSortDown, hZ as Chip, q2 as CloudDownloadDialog, HH as CollapseChevron, VH as CollapseRegion, p$ as CollectionSummary, eye as DEFAULT_CATEGORY, Nn as DEFAULT_SORT, LQ as DIAGNOSTICS_KEY, Zye as DIRECTORY_TEMPLATE_ERROR, M0 as DISCOVERY_SORTS, V2 as DOWNLOADS_KEY, B2 as DOWNLOADS_URL, TY as DUPLICATES_KEY, cY as DataTableFooter, iY as DataTableFrame, sY as DataTableSort, YH as Disclosure, jDe as DownloadsPanel, dfe as E3, tye as ENTITY_REVIEW_KINDS, Y1 as ENTRY_LINKS_HELP, X1 as ENTRY_LINKS_HINT, Cfe as Ea, Bfe as EmptyFocusButton, zz as EmptyState, qH as ErrorText, yhe as ExternalLink, lr as FEEDS_KEY, lX as FEED_SCHEDULE_KEY, Ake as FLOW_LABEL_X, L3 as FLOW_VIEWBOX, sr as FOLLOW_CHECK_KEY, or as FOLLOW_CREDENTIALS_KEY, M8 as FOLLOW_INITIAL_RANGE_OPTIONS, ar as FOLLOW_MANAGE_KEY, cr as FOLLOW_RESOLVE_KEY, cX as FOLLOW_SCHEDULE_KEY, xhe as Fact, bhe as FactList, JH as FieldLabel, R$ as Fieldset, L$ as FieldsetTitle, Mle as FilterGlass, oI as FilterGlassRows, aI as FilterIconButton, sI as FilterPill, vhe as Footer, Cz as Gg, cI as GlassPill, KH as Help, Az as HintText, Ske as IDLE_POLL_MS, Uve as IDLE_REPAIR, tI as IconButton, Fz as Input, Pz as InputBase, tA as JAV_LAYOUTS, P0 as JAV_RECOMMENDATION_GRID, MX as JUNK_KEY, X3 as JavHeader, Lve as KEEP_LABELS, dr as LAYOUTS, J1 as LIBRARY_FOLDER_HELP, pH as LIBRARY_PROCESSING_KEY, qY as LINKS_KEY, JY as LINK_CHECK_KEY, Cye as LINK_KINDS, YY as LINK_PRUNE_KEY, wn as LOC, kz as Label, V$ as LibraryProcessingCard, nB as LibraryShortcuts, wH as LinkButton, IH as LoadingDots, pfe as M6, Oye as MEDIA_PROCESSING_KEY, dX as MEDIA_PROCESSING_URL, AY as MEDIA_REPAIR_KEY, kY as MEDIA_REPAIR_URL, Vn as MEDIA_SOURCES_KEY, Po as MEDIA_SOURCE_ICONS, zt as MEDIA_SOURCE_OPTIONS, eV as MENU_ITEM, tV as MENU_ITEM_INTERACTIVE, $B as MENU_POPOVER_SURFACE, EH as MenuDialog, mG as MixCard, Iz as ModalFrame, hv as MotionConfigContext, Oz as NR, Rz as Note, Ife as OA, mX as ORGANIZE_KEY, _X as ORPHAN_RECORDS_KEY, Sz as OV, hz as P7, zCe as PHASES, nX as PICK_FOLDER_URL, U$ as PLAYLISTS_KEY, CTe as POLICY_COLUMNS, TTe as POLICY_COVER_NOTE, wTe as POLICY_MATRIX, q1 as POLICY_SUMMARY, oY as Pagination, B$ as PathLine, MF as PillTabList, RH as Progress, FY as QUALITY_GOALS_KEY, j$ as REPAIR_CARD_TEXT, jY as REPAIR_LIBRARIES_KEY, SX as RESOURCE_APPLY_KEY, xX as RESOURCE_SCAN_KEY, QCe as RESULT_PANEL, $Ce as RESULT_SECTION, $ve as REVIEW_CATEGORIES, jX as REVIEW_COUNTS_KEY, RY as REVIEW_KEY, zY as REVIEW_LABELS, _W as RetryNote, Ffe as Rf, ghe as Rows, ywe as SCRAPING_CHECK_URL, J$ as SCRAPING_COVER_URL, Y$ as SCRAPING_KEY, vwe as SCRAPING_SETTINGS_URL, CU as SEGMENT, SU as SEGMENTED_TRACK, sX as SETTINGS_KEY, rX as SETTINGS_URL, Pn as SORT_DEFAULT_DIR, Mn as SORT_OPTIONS, Ht as SOURCE_LABELS, c3 as STATS_KEY, hhe as Section, _he as SectionSkeleton, xU as SegmentedRadioGroup, age as SegmentedTabList, YU as Segments, aY as Select, mU as Select$1, p1 as SelectField, hU as SelectItem, hk as SelectionDock, UH as SettingsCard, mhe as SettingsRow, WH as SettingsSectionLabel, The as SiteLabel, OU as SortDirectionIcon, QU as SortKeys, bQ as SourceAvatar, $H as SourceLabel, XH as SourceMark, GH as Stack, z$ as StatusLabel, P2 as Switch, VF as TASKS_KEY, dke as TASTE_REFRESH_KEY, fke as TASTE_WINDOWS, uX as THUMBNAIL_JOBS_KEY, PX as TRASH_KEY, fle as TRIGGER_LABELS, YJ as Table, hY as TableColumnControls, gY as TableColumnResizer, vY as TableSelectionHeader, zH as TaskProgress, Mz as TextField, jz as TextFieldContext, xz as Un, _$ as WANTS_KEY, r4 as WantMagnets, Yf as WithPromise, gz as Wt, bz as Xc, Dz as Xf, hfe as Xt, ffe as _8, o as __commonJSMin, s as __exportAll, l as __toESM, Pfe as aB, Jr as addAlias, qr as addSource, y$ as addWant, B as apiGet, V as apiSend, Yk as appSettingsStore, gbe as applyConfirmText, AX as applyLeftovers, hbe as applyPlanText, vbe as applyText, $k as applyTheme, qg as asNumber, ibe as attachOrphan, Ar as authorAvatar, Mr as authorGroups, kr as authorInitial, Or as authorName, jq as autoResetPageIndex, Ra as avatarInner, m3 as bandRows, Qye as baseName, Hve as batchOperate, bk as boundedPreference, zve as bulkCloudPreferences, Uz as busyProps, Nfe as cB, VDe as cachedMagnetStates, zf as calcGeneratorVelocity, sye as canApprove, uf as cancelFrame, lbe as candidateText, FH as cardClass, mA as cardRatio, yz as cc, pi as checkEvidenceGap, fi as checkFailures, ri as checkFeeds, Dye as checkLine, ui as checkReceipt, di as checkSummary, Twe as checkText, mi as checkedText, BW as clickedBlank, jve as cloudLocations, O0 as cloudProxySkeleton, ax as clsx, Efe as cn, Gm as collectMotionValues, rJ as columnVisibilityFeature, WJ as column_getCanSort, BJ as column_getSortFn, aye as commonReviewSources, uV as configurationSection, gke as configureTasteBrowser, Sc as confirmModal, eq as copyInstancePropertiesWithoutMemos, ja as coverUrl, Jq as createColumnHelper, fwe as createPlaylist, vi as credentialDone, w0 as credentialsSkeleton, gye as currentReviewRow, kF as cx, Tz as dZ, pye as decisionPayload, mye as decisionReceipt, fye as defaultChoice, mwe as deletePlaylist, K1 as diagnosticsSkeleton, qCe as discoveryArtwork, w$ as discoveryKey, YTe as discoveryScore, Fve as distinctName, yye as dropReviewRows, ci as dropSources, Mfe as du, Bve as duplicateVictims, JF as elapsedText, La as entityFaceImg, tn as entityPath, Cr as errorHeadline, jn as errorMessage, z as esc, kq as expandRowModel, fz as f1, Sr as feedIntervalText, e1 as fetchAmaneBridge, Br as fetchCheckJob, u1 as fetchConfiguration, $$ as fetchCoverJob, zr as fetchCredentials, q$ as fetchCustomSources, RQ as fetchDiagnostics, T$ as fetchDiscoveries, DY as fetchDuplicates, sle as fetchEarlier, jye as fetchFeedSchedule, ei as fetchFeeds, Rr as fetchFollow, Aye as fetchFollowSchedule, IX as fetchJunkSummary, QY as fetchLinkCheck, $Y as fetchLinkPrune, ZY as fetchLinkStats, kye as fetchMediaProcessing, MY as fetchMediaRepair, Hn as fetchMediaSources, hX as fetchOrganize, Wye as fetchOrganizeExample, vX as fetchOrphanRecords, $r as fetchPending, W$ as fetchPlaylists, IY as fetchQualityGoals, NY as fetchRepairLibraries, Vr as fetchResolveJob, wX as fetchResourceApply, CX as fetchResourceScan, WY as fetchReview, FX as fetchReviewCounts, fX as fetchSettings, Q$ as fetchSources, l3 as fetchStats, Hr as fetchSuggestions, UF as fetchTasks, P3 as fetchTaste, _ke as fetchTasteJob, Mye as fetchThumbnailJobs, LX as fetchTrashSummary, v$ as fetchWants, rye as filterReviewRows, Sn as firstGrapheme, bK as flexRender, Mke as flowGraph, Nke as flowLabel, jOe as fmtCount, gn as fmtDur, vn as fmtSize, xle as foldRoutine, ai as followFeedByName, ur as followSuggestKey, Cle as followupDetail, lf as frame, nfe as g4, oJ as getDefaultPaginationState, pA as gridLayout, jr as groupByAuthor, ble as groupFollowups, VY as groupReviewRows, pbe as hasChanges, TX as hasResourceRoots, GF as hasResultProblems, Cke as historySpan, pz as i2, xke as importTasteExport, T0 as indexersSkeleton, jf as interpolate, x$ as invalidateWants, qF as isActive, xr as isBroken, hr as isLayout, gh as isMotionValue, BY as isReviewCategory, Sle as isRoutine, E0 as javBrowserSkeleton, I0 as javContentSkeleton, oA as javLayout, F0 as javTagSkeleton, Cbe as junkBreakdown, hwe as keepPlaylist, ve as keepPreviousData, Fr as keepSelected, u3 as known, ofe as l7, yle as latestOfKind, UOe as lengthRows, Gn as localTime, ii as lookupFeedActor, lfe as m7, wz as mM, Jt as mapLimit, Qr as markItem, h3 as max, VOe as mediumRows, cle as mergeFinished, g3 as min, xye as mirrorText, Kve as missingToolText, OY as mixedCloudPreferences, QF as momentText, Dy as motion, qm as motionValue, ebe as organizeOutcome, Q0 as overlayHost, gr as pageSizeOf, Pr as pageWindow, Ln as paginationRange, si as patchSource, QV as peachHistory, QV as peachHistory$1, dye as pendingGenres, NOe as percentText, qye as pickOrganizeFolder, $ye as planSummary, d3 as playedFor, FOe as playedItemUrl, HF as pollInterval, fs as popCount, dwe as posterUrl, IW as previewLibraryColor, Kye as previewOrganize, Yve as previewUrl, vle as problemDestination, YF as progressText, QH as providerIcon, Eye as pruneText, DX as purgeCount, abe as purgeOrphan, Ez as pv, jfe as qE, H as queryClient, mz as r2, kke as radarRows, ROe as radialArc, zOe as radialBarSize, LOe as radialCeiling, IOe as radialSlices, Ej as randomId, Dke as rankDetail, Oke as rankShares, p3 as reachedShare, XF as readableErrorHeadline, XTe as recommendationScore, _ye as recordGenre, sbe as recordsText, gwe as recreatePlaylist, lwe as refreshPlaylists, nl as relayoutCovers, li as reloadFollowManage, bye as reloadReview, OTe as rememberShape, Yye as rememberTemplates, Yr as removeAlias, ni as removeFeed, Kr as removeSource, bke as removeTasteSource, b$ as removeWants, Xr as renameAliasGroup, pwe as renamePlaylist, GOe as replayRows, E as require_jsx_runtime, v as require_react, S as require_react_dom, UK as require_with_selector, HCe as resetWants, In as resolveFollowSort, Gf as resolveStartTime, uwe as resumeAssetId, nye as reviewGroupingOptions, Sbe as reviewSummary, iye as reviewWindow, lye as rowEvidence, UY as rowFieldName, pJ as rowPaginationFeature, PJ as rowSelectionFeature, qJ as rowSortingFeature, HY as rowSubject, uye as rowTags, cye as rowTitle, rfe as s5, Zr as saveCredential, mbe as scanLine, Lye as schedulePollInterval, WCe as searchNote, oye as selectReviewRange, Ir as selectionState, ti as setFeedEnabled, Gr as setSourceEnabled, mV as settingsPath, Pve as sharedNamePrefix, $V as shellNavigate, y8 as showToast, cn as siteMarkUrl, pq as skipFirstRun, AF as sortCx, vr as sortLabel, Ut as sourceDefaultCost, gi as sourceIconUrl, _be as sourceMeta, rs as spinnerHtml, Of as spring, Vz as spriteGlyph, Ur as startCheck, wye as startLinkCheck, Tye as startLinkPrune, Jye as startOrganize, Wr as startResolve, dbe as startResourceApply, ube as startResourceScan, yke as startTasteRefresh, mle as statusLabel, Gve as statusLine, br as statusText, hA as storeJavLayout, hye as submitDecision, $F as summaryItems, Yq as tableFeatures, mq as tableMemo, Nr as tableRows, _le as taskIssues, F3 as tasteDate, Tke as tasteDimensions, wke as tasteHours, N3 as tasteKey, mke as tasteRefetchInterval, hke as tasteTime, IF as textLang, Wu as time, yfe as tl, Lr as toggleGroup, I3 as topScores, Sfe as uo, NH as useAction, RZ as useBackgroundJob, nu as useConstant, iI as useHorizontalScroller, ru as useIsomorphicLayoutEffect, RW as useLibraryTints, wt as useMutation, sV as useOverlayScrollbar, Ct as useQuery, A as useQueryClient, vy as useReducedMotion, Iye as useRunSchedule, Pye as useSaveFollowSchedule, pX as useSaveSettings, Rye as useSaveThumbnailMode, JJ as useTable, dY as useTablePreferences, Vve as victimBytes, UCe as wantName, POe as watchNote, f3 as watchedShare, Us as wireHorizontalScroller, Xye as withOrganizeJob };-//# debugId=72b8ac76-9c32-47e6-ab82-65ea6182723f\ No newline at end of file+//# debugId=e51ad429-7728-473f-ac70-484fe2795a25\ No newline at end of file