Skip to content

armgit / peach

Public Imported from GitHub
0

Peach: Local-first video metadata scraper and media manager.

fix(stats): 热力图只占一个 Tab 停靠点,方向键在格子之间挪

longmeidao6f92fc869d8c
diff --git a/frontend/src/react/charts/heat-card.tsx b/frontend/src/react/charts/heat-card.tsx
index b75f1395d..bd53f356d 100644
--- a/frontend/src/react/charts/heat-card.tsx
+++ b/frontend/src/react/charts/heat-card.tsx
@@ -3,9 +3,12 @@
* Recharts 没有热力图,EvilCharts 的 Recharts 分支也没有,所以格子仍是自绘的 SVG:一格一个
* `rect`,浓度是 `fill-opacity`,几何全写成属性。外观对齐同页的 EvilCharts 图:颜色只取
* `chart-*`,指到一格时其余格子淡下去,浮层与柱状、径向图共用 `./chart-tip.tsx` 那一块面;
- * 页头读数也跟着换,键盘聚焦一格时读的是它。取舍见 ADR-0076。 */
-import { useState } from 'react';
-import type { ReactNode } from 'react';
+ * 页头读数也跟着换,键盘聚焦一格时读的是它。取舍见 ADR-0076。
+ *
+ * 一张图只占一个 Tab 停靠点(漫游焦点,同 EvilCharts 日历热力图 `4c2dd7c9`):星期 × 小时有
+ * 168 格,一格一个停靠点要按上百次 Tab 才走得出这张卡。进卡之后用方向键与 Home/End 挪。 */
+import { useRef, useState } from 'react';
+import type { KeyboardEvent, ReactNode } from 'react';
import { CHART_CARD, ChartEmpty, ChartHead } from './chart-card';
import { TIP_SURFACE, TIP_SWATCH, TipRow } from './chart-tip';
@@ -55,6 +58,10 @@ export function HeatCard(
},
) {
const [shown, setShown] = useState(-1);
+ const [stop, setStop] = useState(0);
+ const grid = useRef<SVGSVGElement>(null);
+ // 数据换了、格子变少时停靠点落回第一格,不让整张图一个停靠点都没有。
+ const focusable = stop < cells.length ? stop : 0;
const left = axis ? 30 : 0;
const top = axis ? 18 : 0;
const width = left + columns * STEP;
@@ -67,6 +74,18 @@ export function HeatCard(
const share = pin ? (pin.x + SIZE / 2) / width : 0;
const anchor = share < 0.1 ? 'start' : share > 0.9 ? 'end' : 'center';
const edge = pin ? { start: pin.x, center: pin.x + SIZE / 2, end: pin.x + SIZE }[anchor] : 0;
+ const move = (event: KeyboardEvent<SVGRectElement>, index: number) => {
+ const rowStart = index - (index % columns);
+ const next = {
+ ArrowLeft: index - 1, ArrowRight: index + 1, ArrowUp: index - columns, ArrowDown: index + columns,
+ Home: rowStart, End: Math.min(rowStart + columns, cells.length) - 1,
+ }[event.key];
+ if (next === undefined) return;
+ event.preventDefault();
+ if (next < 0 || next >= cells.length) return;
+ setStop(next);
+ grid.current?.querySelector<SVGRectElement>(`rect[data-cell="${next}"]`)?.focus();
+ };
return (
<section className={CHART_CARD}>
<ChartHead title={title} figure={(cell ? cell.count : total).toLocaleString()}
@@ -75,20 +94,22 @@ export function HeatCard(
每日那张只有 13 列,跟着卡片缩,最近几天不会藏到右边看不见的地方。 */}
<div className="relative">
<div className="min-w-0 overflow-x-auto">
- <svg role="img" aria-label={title} onPointerLeave={() => setShown(-1)}
+ <svg ref={grid} role="img" aria-label={title} onPointerLeave={() => setShown(-1)}
viewBox={`0 0 ${width} ${height}`} className={axis ? 'block h-auto min-w-80 w-full' : 'block h-auto w-full'}>
{axis}
{cells.map((item, index) => {
const { x, y } = at(index);
return (
- <rect key={item.key} tabIndex={0} role="img" aria-label={`${item.label},${item.count} ${words.cellUnit}`}
+ <rect key={item.key} data-cell={index} tabIndex={index === focusable ? 0 : -1} role="img"
+ aria-label={`${item.label},${item.count} ${words.cellUnit}`}
x={x} y={y} width={SIZE} height={SIZE} rx={3} fillOpacity={item.share || 1}
opacity={shown >= 0 && shown !== index ? 0.4 : 1}
className={item.share
? `outline-none transition-opacity duration-200 focus-visible:stroke-border-focus-ring ${TONES[tone].fill}`
: 'fill-chart-track outline-none transition-opacity duration-200 focus-visible:stroke-border-focus-ring'}
onPointerEnter={() => setShown(index)}
- onFocus={() => setShown(index)} onBlur={() => setShown(-1)} />
+ onFocus={() => { setShown(index); setStop(index); }} onBlur={() => setShown(-1)}
+ onKeyDown={(event) => move(event, index)} />
);
})}
</svg>
diff --git a/frontend/test/react/stats.test.tsx b/frontend/test/react/stats.test.tsx
index 9d3162cd6..203e60bae 100644
--- a/frontend/test/react/stats.test.tsx
+++ b/frontend/test/react/stats.test.tsx
@@ -227,6 +227,28 @@ it('看过那一层有播放时间的两张热力图,指到一格读数换成
expect(liked?.nextElementSibling?.textContent).toBe('1');
});
+it('一张热力图只占一个 Tab 停靠点,方向键在格子之间挪', async () => {
+ const { host } = await open();
+ await click(tabNamed(host, '看过'));
+ const card = host.querySelector('[role=tabpanel] svg[role=img]')!.closest('section')!;
+ const stops = () => [...card.querySelectorAll<SVGRectElement>('rect[tabindex="0"]')];
+ expect(card.querySelectorAll('rect').length).toBe(168);
+ expect(stops().map((cell) => cell.dataset.cell)).toEqual(['0']);
+ const first = stops()[0]!;
+ await act(async () => { first.focus(); });
+ await act(async () => {
+ first.dispatchEvent(new KeyboardEvent('keydown', { key: 'ArrowDown', bubbles: true }));
+ });
+ expect(document.activeElement?.getAttribute('data-cell')).toBe('24');
+ expect(stops().map((cell) => cell.dataset.cell)).toEqual(['24']);
+ expect(card.querySelector('header small')?.textContent).toBe(
+ document.activeElement?.getAttribute('aria-label')?.split(',')[0]);
+ await act(async () => {
+ document.activeElement!.dispatchEvent(new KeyboardEvent('keydown', { key: 'End', bubbles: true }));
+ });
+ expect(document.activeElement?.getAttribute('data-cell')).toBe('47');
+});
+
it('没有播放时间记录时看过那一层不出热力图,留一张说明卡', async () => {
const { host } = await open(payload({ play_activity: { timezone: 'UTC+08:00', days: [], hours: [] } }));
await click(tabNamed(host, '看过'));
diff --git a/web/dist/peach-app.expandable-ranking-dFA65P9N.js b/web/dist/peach-app.expandable-ranking-DrIZgDjz.js
similarity index 67%
rename from web/dist/peach-app.expandable-ranking-dFA65P9N.js
rename to web/dist/peach-app.expandable-ranking-DrIZgDjz.js
index 176039514..6c4d63f22 100644
--- a/web/dist/peach-app.expandable-ranking-dFA65P9N.js
+++ b/web/dist/peach-app.expandable-ranking-DrIZgDjz.js
@@ -1,37 +1,37 @@
(function() {
try {
var e = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, t = new e.Error().stack;
- t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "ee7ee7be-7043-4ddc-aba3-507f6b680211", e._sentryDebugIdIdentifier = "sentry-dbid-ee7ee7be-7043-4ddc-aba3-507f6b680211");
+ t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "85dcd517-300a-485d-95f1-8f0b87d3c4e2", e._sentryDebugIdIdentifier = "sentry-dbid-85dcd517-300a-485d-95f1-8f0b87d3c4e2");
} catch {}
})();
-import { CHART_CARD as e, CategoryTick as t, ChartEmpty as n, ChartHead as r, ChartTip as i, Dot as a, EvilBarChart as o, Layer as s, TIP_SURFACE as c, TIP_SWATCH as l, Text as u, TipRow as d, ZIndexLayer as f, adaptEventsOfChild as p, addAngleAxis as m, categoryAxisWidth as h, combineAxisTicks as g, combineCategoricalDomain as _, combineConfiguredScale as v, combineGraphicalItemTicks as y, createSelector as b, defaultPolarAngleAxisProps as x, degreeToRadian as S, getAxisTypeBasedOnLayout as ee, getClassNameFromUnknown as te, noop as ne, pickAxisType as C, polarToCartesian as w, rechartsScaleFactory as re, removeAngleAxis as ie, resolveDefaultProps as ae, roundTemplateLiteral as oe, selectAngleAxis as T, selectAngleAxisRangeWithReversed as se, selectChartLayout as E, selectDuplicateDomain as D, selectPolarAppliedValues as ce, selectPolarAxisCheckedDomain as le, selectPolarNiceTicks as ue, selectPolarViewBox as de, selectRadiusAxis as fe, selectRadiusAxisRangeWithReversed as pe, selectRealScaleType as me, selectRenderableAxisSettings as he, svgPropertiesAndEvents as O, svgPropertiesNoEvents as k, svgPropertiesNoEventsFromUnknown as ge, tone as _e, useAppDispatch as ve, useAppSelector as A, useIsPanorama as ye, usePolarChartLayout as be } from "./peach-app.chart-tip-CRxYp6KT.js";
-import { __toESM as xe, clsx as j, f1 as Se, require_jsx_runtime as Ce, require_react as we } from "./peach-app.js";
+import { CHART_CARD as e, CategoryTick as t, ChartEmpty as n, ChartHead as r, ChartTip as i, Dot as a, EvilBarChart as o, Layer as s, TIP_SURFACE as c, TIP_SWATCH as l, Text as u, TipRow as d, ZIndexLayer as f, adaptEventsOfChild as p, addAngleAxis as m, categoryAxisWidth as h, combineAxisTicks as g, combineCategoricalDomain as _, combineConfiguredScale as v, combineGraphicalItemTicks as y, createSelector as b, defaultPolarAngleAxisProps as x, degreeToRadian as S, getAxisTypeBasedOnLayout as C, getClassNameFromUnknown as w, noop as T, pickAxisType as E, polarToCartesian as D, rechartsScaleFactory as ee, removeAngleAxis as te, resolveDefaultProps as ne, roundTemplateLiteral as re, selectAngleAxis as O, selectAngleAxisRangeWithReversed as ie, selectChartLayout as k, selectDuplicateDomain as A, selectPolarAppliedValues as ae, selectPolarAxisCheckedDomain as oe, selectPolarNiceTicks as se, selectPolarViewBox as ce, selectRadiusAxis as le, selectRadiusAxisRangeWithReversed as ue, selectRealScaleType as de, selectRenderableAxisSettings as fe, svgPropertiesAndEvents as j, svgPropertiesNoEvents as M, svgPropertiesNoEventsFromUnknown as pe, tone as me, useAppDispatch as he, useAppSelector as N, useIsPanorama as ge, usePolarChartLayout as _e } from "./peach-app.chart-tip-CRxYp6KT.js";
+import { __toESM as ve, clsx as P, f1 as ye, require_jsx_runtime as be, require_react as xe } from "./peach-app.js";
// node_modules/recharts/es6/shape/Polygon.js
-var M = /* @__PURE__ */ xe(we()), Te = [
+var F = /* @__PURE__ */ ve(xe()), Se = [
"points",
"className",
"baseLinePoints",
"connectNulls"
-], Ee;
-function N() {
- return N = Object.assign ? Object.assign.bind() : function(e) {
+], Ce;
+function I() {
+ return I = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t];
for (var r in n) ({}).hasOwnProperty.call(n, r) && (e[r] = n[r]);
}
return e;
- }, N.apply(null, arguments);
+ }, I.apply(null, arguments);
}
-function De(e, t) {
+function we(e, t) {
if (e == null) return {};
- var n, r, i = Oe(e, t);
+ var n, r, i = Te(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function Oe(e, t) {
+function Te(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -40,23 +40,23 @@ function Oe(e, t) {
}
return n;
}
-function ke(e, t) {
+function Ee(e, t) {
return t ||= e.slice(0), Object.freeze(Object.defineProperties(e, { raw: { value: Object.freeze(t) } }));
}
-var P = (e) => e != null && e.x === +e.x && e.y === +e.y, Ae = function() {
+var L = (e) => e != null && e.x === +e.x && e.y === +e.y, De = function() {
var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : [], t = [[]];
e.forEach((e) => {
var n = t[t.length - 1];
- P(e) ? n && n.push(e) : n && n.length > 0 && t.push([]);
+ L(e) ? n && n.push(e) : n && n.length > 0 && t.push([]);
});
var n = e[0], r = t[t.length - 1];
- P(n) && r && r.push(n);
+ L(n) && r && r.push(n);
var i = t[t.length - 1];
return i && i.length <= 0 && (t = t.slice(0, -1)), t;
-}, F = (e, t) => {
- var n = Ae(e);
+}, R = (e, t) => {
+ var n = De(e);
t && (n = [n.reduce((e, t) => [...e, ...t], [])]);
- var r = n.map((e) => e.reduce((e, t, n) => oe(Ee ||= ke([
+ var r = n.map((e) => e.reduce((e, t, n) => re(Ce ||= Ee([
"",
"",
"",
@@ -64,66 +64,66 @@ var P = (e) => e != null && e.x === +e.x && e.y === +e.y, Ae = function() {
""
]), e, n === 0 ? "M" : "L", t.x, t.y), "")).join("");
return n.length === 1 ? `${r}Z` : r;
-}, je = (e, t, n) => {
- var r = F(e, n);
- return `${r.slice(-1) === "Z" ? r.slice(0, -1) : r}L${F(Array.from(t).reverse(), n).slice(1)}`;
-}, I = (e) => {
- var t = e.points, n = e.className, r = e.baseLinePoints, i = e.connectNulls, a = De(e, Te);
+}, Oe = (e, t, n) => {
+ var r = R(e, n);
+ return `${r.slice(-1) === "Z" ? r.slice(0, -1) : r}L${R(Array.from(t).reverse(), n).slice(1)}`;
+}, z = (e) => {
+ var t = e.points, n = e.className, r = e.baseLinePoints, i = e.connectNulls, a = we(e, Se);
if (!t || !t.length) return null;
- var o = j("recharts-polygon", n);
+ var o = P("recharts-polygon", n);
if (r && r.length) {
- var s = a.stroke && a.stroke !== "none", c = je(t, r, i);
- return /*#__PURE__*/ M.createElement("g", { className: o }, /*#__PURE__*/ M.createElement("path", N({}, O(a), {
+ var s = a.stroke && a.stroke !== "none", c = Oe(t, r, i);
+ return /*#__PURE__*/ F.createElement("g", { className: o }, /*#__PURE__*/ F.createElement("path", I({}, j(a), {
fill: c.slice(-1) === "Z" ? a.fill : "none",
stroke: "none",
d: c
- })), s ? /*#__PURE__*/ M.createElement("path", N({}, O(a), {
+ })), s ? /*#__PURE__*/ F.createElement("path", I({}, j(a), {
fill: "none",
- d: F(t, i)
- })) : null, s ? /*#__PURE__*/ M.createElement("path", N({}, O(a), {
+ d: R(t, i)
+ })) : null, s ? /*#__PURE__*/ F.createElement("path", I({}, j(a), {
fill: "none",
- d: F(r, i)
+ d: R(r, i)
})) : null);
}
- var l = F(t, i);
- return /*#__PURE__*/ M.createElement("path", N({}, O(a), {
+ var l = R(t, i);
+ return /*#__PURE__*/ F.createElement("path", I({}, j(a), {
fill: l.slice(-1) === "Z" ? a.fill : "none",
className: o,
d: l
}));
-}, L = (e, t, n) => {
+}, B = (e, t, n) => {
switch (t) {
- case "angleAxis": return T(e, n);
- case "radiusAxis": return fe(e, n);
+ case "angleAxis": return O(e, n);
+ case "radiusAxis": return le(e, n);
default: throw Error(`Unexpected axis type: ${t}`);
}
-}, R = (e, t, n) => {
+}, V = (e, t, n) => {
switch (t) {
- case "angleAxis": return se(e, n);
- case "radiusAxis": return pe(e, n);
+ case "angleAxis": return ie(e, n);
+ case "radiusAxis": return ue(e, n);
default: throw Error(`Unexpected axis type: ${t}`);
}
-}, Me = b([
- L,
- me,
- le,
- R
-], v), z = b([Me], re), B = b([
- E,
- ce,
- he,
- C
-], _), V = b([
- E,
- L,
- me,
- z,
- ue,
- R,
- D,
+}, ke = b([
B,
- C
-], g), Ne = b([V], (e) => {
+ de,
+ oe,
+ V
+], v), H = b([ke], ee), U = b([
+ k,
+ ae,
+ fe,
+ E
+], _), W = b([
+ k,
+ B,
+ de,
+ H,
+ se,
+ V,
+ A,
+ U,
+ E
+], g), Ae = b([W], (e) => {
if (e) {
var t = /* @__PURE__ */ new Map();
return e.forEach((e) => {
@@ -131,25 +131,25 @@ var P = (e) => e != null && e.x === +e.x && e.y === +e.y, Ae = function() {
t.has(n) || t.set(n, e);
}), Array.from(t.values());
}
-}), Pe = b([
- E,
- L,
- z,
- R,
- D,
+}), je = b([
+ k,
B,
- C
-], y), Fe = ["children", "type"], Ie = ["ref"];
-function H() {
- return H = Object.assign ? Object.assign.bind() : function(e) {
+ H,
+ V,
+ A,
+ U,
+ E
+], y), Me = ["children", "type"], Ne = ["ref"];
+function G() {
+ return G = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t];
for (var r in n) ({}).hasOwnProperty.call(n, r) && (e[r] = n[r]);
}
return e;
- }, H.apply(null, arguments);
+ }, G.apply(null, arguments);
}
-function U(e, t) {
+function K(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -159,30 +159,30 @@ function U(e, t) {
}
return n;
}
-function W(e) {
+function q(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? U(Object(n), !0).forEach(function(t) {
- Le(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : U(Object(n)).forEach(function(t) {
+ t % 2 ? K(Object(n), !0).forEach(function(t) {
+ Pe(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : K(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function Le(e, t, n) {
- return (t = Re(t)) in e ? Object.defineProperty(e, t, {
+function Pe(e, t, n) {
+ return (t = Fe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function Re(e) {
- var t = ze(e, "string");
+function Fe(e) {
+ var t = Ie(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function ze(e, t) {
+function Ie(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -192,16 +192,16 @@ function ze(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function G(e, t) {
+function Le(e, t) {
if (e == null) return {};
- var n, r, i = Be(e, t);
+ var n, r, i = Re(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function Be(e, t) {
+function Re(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -210,50 +210,50 @@ function Be(e, t) {
}
return n;
}
-var K = 1e-5, Ve = Math.cos(S(45)), He = "angleAxis";
-function Ue(e) {
- var t = ve(), n = be(), r = (0, M.useMemo)(() => {
+var ze = 1e-5, Be = Math.cos(S(45)), Ve = "angleAxis";
+function He(e) {
+ var t = he(), n = _e(), r = (0, F.useMemo)(() => {
e.children;
- var t = e.type, r = G(e, Fe), i = ee(n, "angleAxis", t);
- if (i != null) return W(W({}, r), {}, { type: i });
- }, [e, n]), i = r === A((e) => T(e, r?.id));
- return (0, M.useEffect)(() => r == null ? ne : (t(m(r)), () => {
- t(ie(r));
+ var t = e.type, r = Le(e, Me), i = C(n, "angleAxis", t);
+ if (i != null) return q(q({}, r), {}, { type: i });
+ }, [e, n]), i = r === N((e) => O(e, r?.id));
+ return (0, F.useEffect)(() => r == null ? T : (t(m(r)), () => {
+ t(te(r));
}), [t, r]), i ? e.children : null;
}
-var We = (e, t) => {
- var n = t.cx, r = t.cy, i = t.radius, a = t.orientation, o = t.tickSize || 8, s = w(n, r, i, e.coordinate), c = w(n, r, i + (a === "inner" ? -1 : 1) * o, e.coordinate);
+var Ue = (e, t) => {
+ var n = t.cx, r = t.cy, i = t.radius, a = t.orientation, o = t.tickSize || 8, s = D(n, r, i, e.coordinate), c = D(n, r, i + (a === "inner" ? -1 : 1) * o, e.coordinate);
return {
x1: s.x,
y1: s.y,
x2: c.x,
y2: c.y
};
-}, Ge = (e, t) => {
+}, We = (e, t) => {
var n = Math.cos(S(-e.coordinate));
- return n > K ? t === "outer" ? "start" : "end" : n < -K ? t === "outer" ? "end" : "start" : "middle";
-}, Ke = (e) => {
+ return n > ze ? t === "outer" ? "start" : "end" : n < -ze ? t === "outer" ? "end" : "start" : "middle";
+}, Ge = (e) => {
var t = Math.cos(S(-e.coordinate)), n = Math.sin(S(-e.coordinate));
- return Math.abs(t) <= Ve ? n > 0 ? "start" : "end" : "middle";
-}, qe = (e) => {
+ return Math.abs(t) <= Be ? n > 0 ? "start" : "end" : "middle";
+}, Ke = (e) => {
var t = e.cx, n = e.cy, r = e.radius, i = e.axisLineType, o = e.axisLine, s = e.ticks;
if (!o) return null;
- var c = W(W({}, k(e)), {}, { fill: "none" }, k(o));
- if (i === "circle") return /*#__PURE__*/ M.createElement(a, H({ className: "recharts-polar-angle-axis-line" }, c, {
+ var c = q(q({}, M(e)), {}, { fill: "none" }, M(o));
+ if (i === "circle") return /*#__PURE__*/ F.createElement(a, G({ className: "recharts-polar-angle-axis-line" }, c, {
cx: t,
cy: n,
r
}));
- var l = s.map((e) => w(t, n, r, e.coordinate));
- return /*#__PURE__*/ M.createElement(I, H({ className: "recharts-polar-angle-axis-line" }, c, { points: l }));
-}, Je = (e) => {
+ var l = s.map((e) => D(t, n, r, e.coordinate));
+ return /*#__PURE__*/ F.createElement(z, G({ className: "recharts-polar-angle-axis-line" }, c, { points: l }));
+}, qe = (e) => {
var t = e.tick, n = e.tickProps, r = e.value;
- return t ? /*#__PURE__*/ M.isValidElement(t) ? /*#__PURE__*/ M.cloneElement(t, n) : typeof t == "function" ? t(n) : /*#__PURE__*/ M.createElement(u, H({}, n, { className: "recharts-polar-angle-axis-tick-value" }), r) : null;
-}, Ye = (e) => {
- var t = e.tick, n = e.tickLine, r = e.tickFormatter, i = e.stroke, a = e.ticks, o = k(e);
+ return t ? /*#__PURE__*/ F.isValidElement(t) ? /*#__PURE__*/ F.cloneElement(t, n) : typeof t == "function" ? t(n) : /*#__PURE__*/ F.createElement(u, G({}, n, { className: "recharts-polar-angle-axis-tick-value" }), r) : null;
+}, Je = (e) => {
+ var t = e.tick, n = e.tickLine, r = e.tickFormatter, i = e.stroke, a = e.ticks, o = M(e);
o.ref;
- var c = G(o, Ie), l = ge(t), u = W(W({}, c), {}, { fill: "none" }, k(n)), d = a.map((a, o) => {
- var d = We(a, e), f = Ge(a, e.orientation), m = Ke(a), h = W(W(W({}, c), {}, {
+ var c = Le(o, Ne), l = pe(t), u = q(q({}, c), {}, { fill: "none" }, M(n)), d = a.map((a, o) => {
+ var d = Ue(a, e), f = We(a, e.orientation), m = Ge(a), h = q(q(q({}, c), {}, {
textAnchor: f,
verticalAnchor: m,
stroke: "none",
@@ -264,28 +264,28 @@ var We = (e, t) => {
x: d.x2,
y: d.y2
});
- return /*#__PURE__*/ M.createElement(s, H({
- className: j("recharts-polar-angle-axis-tick", te(t)),
+ return /*#__PURE__*/ F.createElement(s, G({
+ className: P("recharts-polar-angle-axis-tick", w(t)),
key: `tick-${a.coordinate}`
- }, p(e, a, o)), n && /*#__PURE__*/ M.createElement("line", H({ className: "recharts-polar-angle-axis-tick-line" }, u, d)), /*#__PURE__*/ M.createElement(Je, {
+ }, p(e, a, o)), n && /*#__PURE__*/ F.createElement("line", G({ className: "recharts-polar-angle-axis-tick-line" }, u, d)), /*#__PURE__*/ F.createElement(qe, {
tick: t,
tickProps: h,
value: r ? r(a.value, o) : a.value
}));
});
- return /*#__PURE__*/ M.createElement(s, { className: "recharts-polar-angle-axis-ticks" }, d);
-}, Xe = (e) => {
- var t = e.angleAxisId, n = A(de), r = A((e) => z(e, "angleAxis", t)), i = ye(), a = A((e) => Ne(e, "angleAxis", t, i));
+ return /*#__PURE__*/ F.createElement(s, { className: "recharts-polar-angle-axis-ticks" }, d);
+}, Ye = (e) => {
+ var t = e.angleAxisId, n = N(ce), r = N((e) => H(e, "angleAxis", t)), i = ge(), a = N((e) => Ae(e, "angleAxis", t, i));
if (n == null || !a || !a.length || r == null) return null;
- var o = W(W(W({}, e), {}, { scale: r }, n), {}, {
+ var o = q(q(q({}, e), {}, { scale: r }, n), {}, {
radius: n.outerRadius,
ticks: a
});
- return /*#__PURE__*/ M.createElement(f, { zIndex: o.zIndex }, /*#__PURE__*/ M.createElement(s, { className: j("recharts-polar-angle-axis", He, o.className) }, /*#__PURE__*/ M.createElement(qe, o), /*#__PURE__*/ M.createElement(Ye, o)));
+ return /*#__PURE__*/ F.createElement(f, { zIndex: o.zIndex }, /*#__PURE__*/ F.createElement(s, { className: P("recharts-polar-angle-axis", Ve, o.className) }, /*#__PURE__*/ F.createElement(Ke, o), /*#__PURE__*/ F.createElement(Je, o)));
};
-function q(e) {
- var t = ae(e, x);
- return /*#__PURE__*/ M.createElement(Ue, {
+function Xe(e) {
+ var t = ne(e, x);
+ return /*#__PURE__*/ F.createElement(He, {
id: t.angleAxisId,
scale: t.scale,
type: t.type,
@@ -302,11 +302,11 @@ function q(e) {
ticks: t.ticks,
tick: t.tick,
domain: t.domain
- }, /*#__PURE__*/ M.createElement(Xe, t));
+ }, /*#__PURE__*/ F.createElement(Ye, t));
}
-q.displayName = "PolarAngleAxis";
+Xe.displayName = "PolarAngleAxis";
// src/react/charts/bar-card.tsx
-var J = Ce(), Y = [0, (e) => e * 1.2];
+var J = be(), Y = [0, (e) => e * 1.2];
function Ze(e) {
let t = Math.abs(e), n = (t, n) => {
let r = e / t;
@@ -340,7 +340,7 @@ function Qe({ title: a, unit: s, series: c, rows: l, color: u, empty: d, layout:
data: p,
config: { value: {
label: c,
- colors: _e(u)
+ colors: me(u)
} },
layout: f,
barRadius: 4,
@@ -472,36 +472,48 @@ function at({ cell: e, series: t, tone: n, left: r, top: i, anchor: a }) {
});
}
function $({ title: t, words: n, cells: i, total: a, columns: o, rows: s, axis: c, footer: l, tone: u }) {
- let [d, f] = (0, M.useState)(-1), p = c ? 30 : 0, m = c ? 18 : 0, h = p + o * Q, g = m + s * Q, _ = (e) => ({
- x: p + e % o * Q,
- y: m + Math.floor(e / o) * Q
- }), v = i[d], y = v ? _(d) : null, b = y ? (y.x + Z / 2) / h : 0, x = b < .1 ? "start" : b > .9 ? "end" : "center", S = y ? {
- start: y.x,
- center: y.x + Z / 2,
- end: y.x + Z
- }[x] : 0;
+ let [d, f] = (0, F.useState)(-1), [p, m] = (0, F.useState)(0), h = (0, F.useRef)(null), g = p < i.length ? p : 0, _ = c ? 30 : 0, v = c ? 18 : 0, y = _ + o * Q, b = v + s * Q, x = (e) => ({
+ x: _ + e % o * Q,
+ y: v + Math.floor(e / o) * Q
+ }), S = i[d], C = S ? x(d) : null, w = C ? (C.x + Z / 2) / y : 0, T = w < .1 ? "start" : w > .9 ? "end" : "center", E = C ? {
+ start: C.x,
+ center: C.x + Z / 2,
+ end: C.x + Z
+ }[T] : 0, D = (e, t) => {
+ let n = t - t % o, r = {
+ ArrowLeft: t - 1,
+ ArrowRight: t + 1,
+ ArrowUp: t - o,
+ ArrowDown: t + o,
+ Home: n,
+ End: Math.min(n + o, i.length) - 1
+ }[e.key];
+ r !== void 0 && (e.preventDefault(), !(r < 0 || r >= i.length) && (m(r), h.current?.querySelector(`rect[data-cell="${r}"]`)?.focus()));
+ };
return /* @__PURE__ */ (0, J.jsxs)("section", {
className: e,
children: [
/* @__PURE__ */ (0, J.jsx)(r, {
title: t,
- figure: (v ? v.count : a).toLocaleString(),
- note: v ? v.label : n.unit
+ figure: (S ? S.count : a).toLocaleString(),
+ note: S ? S.label : n.unit
}),
/* @__PURE__ */ (0, J.jsxs)("div", {
className: "relative",
children: [/* @__PURE__ */ (0, J.jsx)("div", {
className: "min-w-0 overflow-x-auto",
children: /* @__PURE__ */ (0, J.jsxs)("svg", {
+ ref: h,
role: "img",
"aria-label": t,
onPointerLeave: () => f(-1),
- viewBox: `0 0 ${h} ${g}`,
+ viewBox: `0 0 ${y} ${b}`,
className: c ? "block h-auto min-w-80 w-full" : "block h-auto w-full",
children: [c, i.map((e, t) => {
- let { x: r, y: i } = _(t);
+ let { x: r, y: i } = x(t);
return /* @__PURE__ */ (0, J.jsx)("rect", {
- tabIndex: 0,
+ "data-cell": t,
+ tabIndex: t === g ? 0 : -1,
role: "img",
"aria-label": `${e.label},${e.count} ${n.cellUnit}`,
x: r,
@@ -513,18 +525,21 @@ function $({ title: t, words: n, cells: i, total: a, columns: o, rows: s, axis:
opacity: d >= 0 && d !== t ? .4 : 1,
className: e.share ? `outline-none transition-opacity duration-200 focus-visible:stroke-border-focus-ring ${rt[u].fill}` : "fill-chart-track outline-none transition-opacity duration-200 focus-visible:stroke-border-focus-ring",
onPointerEnter: () => f(t),
- onFocus: () => f(t),
- onBlur: () => f(-1)
+ onFocus: () => {
+ f(t), m(t);
+ },
+ onBlur: () => f(-1),
+ onKeyDown: (e) => D(e, t)
}, e.key);
})]
})
- }), v && y ? /* @__PURE__ */ (0, J.jsx)(at, {
- cell: v,
+ }), S && C ? /* @__PURE__ */ (0, J.jsx)(at, {
+ cell: S,
series: n.series,
tone: u,
- anchor: x,
- left: S / h * 100,
- top: y.y / g * 100
+ anchor: T,
+ left: E / y * 100,
+ top: C.y / b * 100
}) : null]
}),
/* @__PURE__ */ (0, J.jsx)("footer", {
@@ -578,8 +593,8 @@ function st({ activity: e, title: t, dailyTitle: r, words: i, tone: a, empty: o
}
// src/react/components/expandable-ranking.tsx
function ct({ children: e, className: t = "", previewCount: n = 10 }) {
- let r = (0, M.useId)(), i = (0, M.useRef)(null), [a, o] = (0, M.useState)(!1), [s, c] = (0, M.useState)(!1), l = M.Children.toArray(e), u = l.length > n;
- (0, M.useLayoutEffect)(() => {
+ let r = (0, F.useId)(), i = (0, F.useRef)(null), [a, o] = (0, F.useState)(!1), [s, c] = (0, F.useState)(!1), l = F.Children.toArray(e), u = l.length > n;
+ (0, F.useLayoutEffect)(() => {
let e = i.current;
if (!e || !u) return;
let t = () => {
@@ -594,7 +609,7 @@ function ct({ children: e, className: t = "", previewCount: n = 10 }) {
n,
l.length
]);
- let d = l.map((e, t) => !(0, M.isValidElement)(e) || t < n ? e : (0, M.cloneElement)(e, { inert: !a || void 0 }));
+ let d = l.map((e, t) => !(0, F.isValidElement)(e) || t < n ? e : (0, F.cloneElement)(e, { inert: !a || void 0 }));
return /* @__PURE__ */ (0, J.jsxs)("div", {
"data-expandable-ranking": !0,
"data-expandable": u || void 0,
@@ -618,10 +633,10 @@ function ct({ children: e, className: t = "", previewCount: n = 10 }) {
onClick: () => {
c(!0), o((e) => !e);
},
- children: /* @__PURE__ */ (0, J.jsx)(Se, { "aria-hidden": !0 })
+ children: /* @__PURE__ */ (0, J.jsx)(ye, { "aria-hidden": !0 })
}) : null]
});
}
-export { st as ActivityHeat, Y as BAR_DOMAIN, Qe as BarCard, ct as ExpandableRanking, q as PolarAngleAxis, I as Polygon, X as barLabel, z as selectPolarAxisScale, V as selectPolarAxisTicks, Pe as selectPolarGraphicalItemAxisTicks };
+export { st as ActivityHeat, Y as BAR_DOMAIN, Qe as BarCard, ct as ExpandableRanking, Xe as PolarAngleAxis, z as Polygon, X as barLabel, H as selectPolarAxisScale, W as selectPolarAxisTicks, je as selectPolarGraphicalItemAxisTicks };
-//# debugId=ee7ee7be-7043-4ddc-aba3-507f6b680211
\ No newline at end of file
+//# debugId=85dcd517-300a-485d-95f1-8f0b87d3c4e2
\ No newline at end of file
diff --git a/web/dist/peach-app.js b/web/dist/peach-app.js
index 7bfc31edb..ac1fd947f 100644
--- a/web/dist/peach-app.js
+++ b/web/dist/peach-app.js
@@ -2,7 +2,7 @@
(function() {
try {
var e = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, t = new e.Error().stack;
- t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "5a9bc9b9-3012-4a6c-a6df-be4202ab4bcc", e._sentryDebugIdIdentifier = "sentry-dbid-5a9bc9b9-3012-4a6c-a6df-be4202ab4bcc");
+ t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "a660c5d4-fec3-4d84-9481-15e3179f8b26", e._sentryDebugIdIdentifier = "sentry-dbid-a660c5d4-fec3-4d84-9481-15e3179f8b26");
} catch {}
})();
var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescriptor, r = Object.getOwnPropertyNames, i = Object.getPrototypeOf, a = Object.prototype.hasOwnProperty, o = (e, t) => () => (t || (e((t = { exports: {} }).exports, t, t.exports), e = null), t.exports), s = (e, n) => {
@@ -79000,7 +79000,7 @@ async function y6(e, t) {
if (r.status === "rejected") throw r.reason;
if (n.status === "rejected") throw n.reason;
}
-var b6 = v6(() => import("./peach-app.jav-page-DXAjQAx0.js")), x6 = v6(() => import("./peach-app.stats-page-fAkPsLC6.js")), S6 = v6(() => import("./peach-app.taste-page-O5P41pRb.js")), C6 = v6(() => import("./peach-app.review-page-kd1HFP2A.js")), w6 = v6(() => import("./peach-app.data-cleanup-page-CZOBqkVd.js")), T6 = v6(() => import("./peach-app.duplicates-page-Bau8HIlx.js")), E6 = v6(() => import("./peach-app.quality-goals-page-Deoy7rhD.js")), D6 = v6(() => import("./peach-app.scraping-page-Ddbx11Bn.js")), O6 = v6(async () => {
+var b6 = v6(() => import("./peach-app.jav-page-DXAjQAx0.js")), x6 = v6(() => import("./peach-app.stats-page-oKmjqWrd.js")), S6 = v6(() => import("./peach-app.taste-page-BTxSs8dl.js")), C6 = v6(() => import("./peach-app.review-page-kd1HFP2A.js")), w6 = v6(() => import("./peach-app.data-cleanup-page-CZOBqkVd.js")), T6 = v6(() => import("./peach-app.duplicates-page-Bau8HIlx.js")), E6 = v6(() => import("./peach-app.quality-goals-page-Deoy7rhD.js")), D6 = v6(() => import("./peach-app.scraping-page-Ddbx11Bn.js")), O6 = v6(async () => {
let [{ ConfigurationPage: e }, { DiagnosticsPage: t }] = await Promise.all([import("./peach-app.configuration-page-BY1Gq6Cj.js"), import("./peach-app.diagnostics-page-DS1L_wLs.js")]);
return {
ConfigurationPage: e,
@@ -84200,4 +84200,4 @@ if (!$9) throw Error("主界面宿主缺失");
qze($9);
export { HL as $2ec61d1d4f780267$export$a8a3e93435678ff9, XL as $3a442827418ebe87$export$eb2fcfdbd7ba97d4, pz as $542a13ca2fa5b484$export$5b6b19405a83ff9d, TD as $72abaeab4d80592f$export$78efe591171d7d45, aB as $76d00c5a4edb230a$export$76ccd210b9029917, nB as $76d00c5a4edb230a$export$816b5d811295e6bc, cB as $76d00c5a4edb230a$export$b59bdbef9ce70de2, uB as $76d00c5a4edb230a$export$f6f0c3fe4ec306ea, tB as $76d00c5a4edb230a$export$f850895b287ef28e, khe as $b4f18e3395fe64d7$export$3d96ec278d3efce4, Ohe as $b4f18e3395fe64d7$export$3e41faf802a29e71, The as $b4f18e3395fe64d7$export$b2539bed5023c21c, mB as $b4f18e3395fe64d7$export$e51a686c67fdaa2d, Mhe as $bd263d78e9bf3c56$export$f5c9f3c2c4054eec, fE as $ea3928288112382f$export$439d29a4e110a164, Ez as $f2ff30fde7b014be$export$3ddf2d174ce01153, Nz as $fe21c36db05242bb$export$a98f0dcb43a68a25, Pz as $fe21c36db05242bb$export$d7b12c4107be0d61, dge as $l, qj as ACCENTS, fAe as AMANE_BRIDGE_CHECK_URL, R$ as AMANE_BRIDGE_KEY, pAe as AMANE_BRIDGE_REBUILD_URL, sr as ApiError, JU as ArtSlot, g2 as BATCH_DELETE_TEXT, J as Button, bL as ButtonLink, KB as Bx, p$ as CLEANUP_ENTRY, f$ as CLEANUP_ENTRY_GRID, Zf as CLEANUP_HASH_REDIRECTS, Yf as CLEANUP_TOOLS, vn as CLOUD_LOCATIONS, U1 as CLOUD_PROXY_HELP, Kr as COLUMN_SORT, t1 as CONFIGURATION_KEY, qY as CONFIGURATION_URL, mAe as COOKIE_TEXT_LIMIT, L$ as COVER_JOB_KEY, Yi as CREDENTIAL_STATE, N$ as CUSTOM_SOURCES_KEY, M$ as CUSTOM_SOURCES_URL, dG as CatalogViewToggle, BV as Checkbox, zV as CheckboxGlyph, AV as ChevronSortDown, qU as Chip, nW as CloudDownloadDialog, PH as CollapseChevron, NH as CollapseRegion, o$ as CollectionSummary, Gwe as DEFAULT_CATEGORY, dr as DEFAULT_SORT, MQ as DIAGNOSTICS_KEY, WTe as DIRECTORY_TEMPLATE_ERROR, lW as DISCOVERY_SORTS, XU as DOWNLOADS_KEY, YU as DOWNLOADS_URL, pY as DUPLICATES_KEY, qJ as DataTableFooter, UJ as DataTableFrame, KJ as DataTableSort, BH as Disclosure, aye as DownloadsPanel, nge as E3, Kwe as ENTITY_REVIEW_KINDS, V1 as ENTRY_LINKS_HELP, H1 as ENTRY_LINKS_HINT, RB as Ea, Ige as EmptyFocusButton, fV as EmptyState, RH as ErrorText, Q_e as ExternalLink, Vr as FEEDS_KEY, tX as FEED_SCHEDULE_KEY, u$ as FIELDSET_FOOT, MFe as FLOW_LABEL_X, X3 as FLOW_VIEWBOX, zr as FOLLOW_CHECK_KEY, Rr as FOLLOW_CREDENTIALS_KEY, N8 as FOLLOW_INITIAL_RANGE_OPTIONS, Lr as FOLLOW_MANAGE_KEY, FZ as FOLLOW_MANAGE_NAV, Br as FOLLOW_RESOLVE_KEY, eX as FOLLOW_SCHEDULE_KEY, tve as Fact, eve as FactList, zH as FieldLabel, C$ as Fieldset, S$ as FieldsetTitle, Epe as FilterGlass, pL as FilterGlassRows, fL as FilterIconButton, mL as FilterPill, Z_e as Footer, UB as Gg, hL as GlassPill, XB as HN, LH as Help, rV as HintText, wFe as IDLE_POLL_MS, Pwe as IDLE_REPAIR, cL as IconButton, PQ as IndexSearch, cV as Input, sV as InputBase, T$ as IssueRow, dM as JAV_LAYOUTS, F0 as JAV_RECOMMENDATION_GRID, EX as JUNK_KEY, vW as JavHeader, Owe as KEEP_LABELS, Ur as LAYOUTS, B1 as LIBRARY_FOLDER_HELP, $V as LIBRARY_PROCESSING_KEY, zY as LINKS_KEY, BY as LINK_CHECK_KEY, gTe as LINK_KINDS, VY as LINK_PRUNE_KEY, nr as LOC, nV as Label, O$ as LibraryProcessingCard, kV as LibraryShortcuts, hH as LinkButton, pge as Lo, OH as LoadingDots, rge as M6, xTe as MEDIA_PROCESSING_KEY, rX as MEDIA_PROCESSING_URL, vY as MEDIA_REPAIR_KEY, _Y as MEDIA_REPAIR_URL, yr as MEDIA_SOURCES_KEY, _s as MEDIA_SOURCE_ICONS, gn as MEDIA_SOURCE_OPTIONS, PV as MENU_ITEM, FV as MENU_ITEM_INTERACTIVE, NV as MENU_POPOVER_SURFACE, hge as Ma, yH as MenuDialog, xK as MixCard, lV as ModalFrame, Sx as MotionConfigContext, eV as NR, w$ as NameLink, dV as Note, Mge as OA, oX as ORGANIZE_KEY, p2 as ORGANIZE_PARAMETER_HINT, f2 as ORGANIZE_SCOPE_HINT, d2 as ORGANIZE_TEXT, lX as ORPHAN_RECORDS_KEY, h2 as ORPHAN_RECORDS_TEXT, VB as OV, EB as P7, CX as PERFORMER_DELETE_KEY, mye as PHASES, JY as PICK_FOLDER_URL, h$ as PLAIN_STAT_STRIP, A$ as PLAYLISTS_KEY, yje as POLICY_COLUMNS, xje as POLICY_COVER_NOTE, bje as POLICY_MATRIX, z1 as POLICY_SUMMARY, GJ as Pagination, D$ as PathLine, QB as Pf, LI as PillTabList, Pke as PlainStat, AH as Progress, CY as QUALITY_GOALS_KEY, ZB as RB, M0 as RELEASE_COLUMN_VISIBILITY_KEY, j0 as RELEASE_COLUMN_WIDTHS_KEY, uW as RELEASE_SORTS, Yje as RELEASE_SORT_COLUMNS, _$ as REPAIR_CARD_TEXT, yY as REPAIR_LIBRARIES_KEY, mX as RESOURCE_APPLY_KEY, pX as RESOURCE_SCAN_KEY, m2 as RESOURCE_SYNC_TEXT, Bke as RESULT_PANEL, Vke as RESULT_SECTION, Wwe as REVIEW_CATEGORIES, TX as REVIEW_COUNTS_KEY, qwe as REVIEW_DECISION_LABELS, EY as REVIEW_KEY, DY as REVIEW_LABELS, kY as REVIEW_QUEUES, AY as REVIEW_QUEUE_LABELS, HG as RetryNote, jge as Rf, tV as Rk, J_e as Rows, uAe as SCRAPING_CHECK_URL, F$ as SCRAPING_COVER_URL, I$ as SCRAPING_KEY, lAe as SCRAPING_SETTINGS_URL, oU as SEGMENT, aU as SEGMENTED_TRACK, $Y as SETTINGS_KEY, YY as SETTINGS_URL, fr as SORT_DEFAULT_DIR, ur as SORT_OPTIONS, yn as SOURCE_LABELS, x3 as STATS_KEY, Mke as STAT_STRIP, Nke as STAT_STRIP_SIX, q_e as Section, Hke as SectionHeading, X_e as SectionSkeleton, iU as SegmentedRadioGroup, gve as SegmentedTabList, FG as Segments, WJ as Select, WU as Select$1, a1 as SelectField, GU as SelectItem, eY as SelectionActions, Tj as SelectionDock, tY as SelectionPopover, FH as SettingsCard, K_e as SettingsRow, IH as SettingsSectionLabel, IG as Shuffle, ave as SiteLabel, pG as SortDirectionIcon, LG as SortKeys, hQ as SourceAvatar, WH as SourceLabel, VH as SourceMark, Y_e as Stack, Fke as StatCard, E$ as StatusLabel, Oge as Su, $2 as Switch, KI as TASKS_KEY, pFe as TASTE_REFRESH_KEY, mFe as TASTE_WINDOWS, nX as THUMBNAIL_JOBS_KEY, OX as TRASH_KEY, ape as TRIGGER_LABELS, MJ as Table, nY as TableColumnControls, rY as TableColumnResizer, aY as TableSelectionHeader, t$ as TagManager, $_e as TaskCenterLink, jH as TaskProgress, aV as TextField, iV as TextFieldContext, zB as Un, iW as WANTS_KEY, m4 as WantMagnets, Kg as WithPromise, AB as Wt, LB as Xc, $B as Xf, MB as Xl, jB as Xt, OB as _8, o as __commonJSMin, s as __exportAll, l as __toESM, Age as aB, Ei as addAlias, Ti as addSource, oW as addWant, dS as animate, B as apiGet, V as apiSend, aM as appSettingsStore, lEe as applyConfirmText, SX as applyLeftovers, cEe as applyPlanText, dEe as applyText, lM as applyTheme, vy as asNumber, ZTe as attachOrphan, ci as authorAvatar, ui as authorGroups, si as authorInitial, oi as authorName, bq as autoResetPageIndex, _o as avatarInner, D3 as bandRows, GTe as baseName, Nwe as batchOperate, Cue as beginPlayerGuidePreview, Aj as boundedPreference, Awe as bulkCloudPreferences, gV as busyProps, kge as cB, HNe as cachedMagnetStates, Bg as calcGeneratorVelocity, eTe as canApprove, mg as cancelFrame, nEe as candidateText, wU as cardClass, wM as cardRatio, BJ as catalogListSkeletonCellHtml, IB as cc, Gi as checkEvidenceGap, Wi as checkFailures, Fi as checkFeeds, bTe as checkLine, Hi as checkReceipt, Ui as checkSummary, gAe as checkText, Ki as checkedText, cK as clickedBlank, K5 as closeDrawerAfterNav, Swe as cloudLocations, b0 as cloudProxySkeleton, GC as clsx, vge as cn, sv as collectMotionValues, Bq as columnVisibilityFeature, DJ as column_getCanSort, CJ as column_getSortFn, Qwe as commonReviewSources, Af as configurationSection, vFe as configureTasteBrowser, ll as confirmModal, rpe as controlTask, nq as copyInstancePropertiesWithoutMemos, lo as coverUrl, jq as createColumnHelper, rAe as createPlaylist, Xi as credentialDone, g0 as credentialsSkeleton, lTe as currentReviewRow, q as cx, GB as dZ, oTe as decisionPayload, sTe as decisionReceipt, aTe as defaultChoice, pEe as deletePerformerVideos, aAe as deletePlaylist, x as diagnosticHeaders, R1 as diagnosticsSkeleton, Cye as discoveryArtwork, dW as discoveryKey, bye as discoveryScore, r9 as disposeStage, Ewe as distinctName, Bi as dropSources, Dge as du, jwe as duplicateVictims, $I as elapsedText, nn as entityDisplayName, go as entityFaceImg, Pn as entityPath, ti as errorHeadline, lr as errorMessage, z as esc, yq as expandRowModel, yB as f1, bo as facePos, ei as feedIntervalText, V$ as fetchAmaneBridge, vi as fetchCheckJob, n1 as fetchConfiguration, B$ as fetchCoverJob, _i as fetchCredentials, P$ as fetchCustomSources, wX as fetchDeletePerformers, fEe as fetchDeletePlan, NQ as fetchDiagnostics, fW as fetchDiscoveries, hY as fetchDuplicates, $fe as fetchEarlier, wTe as fetchFeedSchedule, Mi as fetchFeeds, gi as fetchFollow, CTe as fetchFollowSchedule, AX as fetchJunkSummary, sH as fetchLibraryProcessing, WY as fetchLinkCheck, GY as fetchLinkPrune, UY as fetchLinkStats, STe as fetchMediaProcessing, bY as fetchMediaRepair, br as fetchMediaSources, sX as fetchOrganize, LTe as fetchOrganizeExample, uX as fetchOrphanRecords, ji as fetchPending, j$ as fetchPlaylists, wY as fetchQualityGoals, hW as fetchReleases, xY as fetchRepairLibraries, yi as fetchResolveJob, gX as fetchResourceApply, hX as fetchResourceScan, IY as fetchReview, kX as fetchReviewCounts, iX as fetchSettings, z$ as fetchSources, S3 as fetchStats, bi as fetchSuggestions, JI as fetchTasks, q3 as fetchTaste, yFe as fetchTasteJob, TTe as fetchThumbnailJobs, jX as fetchTrashSummary, aW as fetchWants, Xwe as filterReviewRows, er as firstGrapheme, RK as flexRender, PFe as flowGraph, FFe as flowLabel, NPe as fmtCount, Jn as fmtDur, Xn as fmtSize, Qfe as foldByKind, hpe as foldRoutine, Li as followFeedByName, Hr as followSuggestKey, _pe as followupDetail, Zfe as followupTally, pg as frame, wB as g4, Uq as getDefaultPaginationState, CM as gridLayout, li as groupByAuthor, mpe as groupFollowups, NY as groupReviewRows, oEe as hasChanges, _X as hasResourceRoots, XI as hasResultProblems, TFe as historySpan, bB as i2, CFe as importTasteExport, _0 as indexersSkeleton, Ig as interpolate, cW as invalidateWants, QI as isActive, $r as isBroken, qr as isLayout, vv as isMotionValue, OY as isReviewCategory, gpe as isRoutine, v0 as javBrowserSkeleton, L0 as javContentSkeleton, gM as javLayout, I0 as javTagSkeleton, vEe as junkBreakdown, oAe as keepPlaylist, ke as keepPreviousData, pi as keepSelected, C3 as known, Qhe as l7, ppe as latestOfKind, $n as leadingGraphemes, GPe as lengthRows, Cr as localTime, po as logoUrl, Ii as lookupFeedActor, TB as m7, WB as mM, Dn as mapLimit, Ai as markItem, O3 as max, UPe as mediumRows, epe as mergeFinished, k3 as min, mTe as mirrorText, Lwe as missingToolText, gY as mixedCloudPreferences, rL as momentText, fS as motion, lv as motionValue, rn as nameFallback, Ue as notifyManager, ige as oe, qTe as organizeOutcome, $0 as overlayHost, Jr as pageSizeOf, fi as pageWindow, hr as paginationRange, zi as patchSource, Op as peachHistory, Op as peachHistory$1, iTe as pendingGenres, FPe as percentText, BTe as pickOrganizeFolder, m$ as plainStatClass, KTe as planSummary, w3 as playedFor, LPe as playedItemUrl, qI as pollInterval, Ys as popCount, nAe as posterUrl, Kbe as previewLibraryColor, zTe as previewOrganize, Bwe as previewUrl, dpe as problemDestination, nH as processingActive, eL as progressText, UH as providerIcon, yTe as pruneText, yX as purgeCount, QTe as purgeOrphan, qB as pv, Ege as qE, H as queryClient, xB as r2, jFe as radarRows, BPe as radialArc, VPe as radialBarSize, zPe as radialCeiling, RPe as radialSlices, zN as randomId, kFe as rankDetail, AFe as rankShares, E3 as reachedShare, tL as readableErrorHeadline, xye as recommendationScore, uTe as recordGenre, eEe as recordsText, sAe as recreatePlaylist, eAe as refreshPlaylists, El as relayoutCovers, N0 as releaseColumns, pW as releaseFilters, mW as releaseKey, Vi as reloadFollowManage, pTe as reloadReview, wje as rememberShape, HTe as rememberTemplates, Di as removeAlias, Pi as removeFeed, wi as removeSource, SFe as removeTasteSource, sW as removeWants, Oi as renameAliasGroup, iAe as renamePlaylist, Se as replaceEqualDeep, qPe as replayRows, re as require_jsx_runtime, A as require_react, N as require_react_dom, QK as require_with_selector, _ye as resetWants, mr as resolveFollowSort, Ug as resolveStartTime, O_e as restartEffectText, tAe as resumeAssetId, Ywe as reviewGroupingOptions, MY as reviewQueueData, jY as reviewQueueOf, _Ee as reviewSummary, Zwe as reviewWindow, nTe as rowEvidence, FY as rowFieldName, Xq as rowPaginationFeature, _J as rowSelectionFeature, AJ as rowSortingFeature, PY as rowSubject, rTe as rowTags, tTe as rowTitle, Yhe as s5, ki as saveCredential, sEe as scanLine, ATe as schedulePollInterval, yye as searchNote, $we as selectReviewRange, mi as selectionState, Ni as setFeedEnabled, Ci as setSourceEnabled, Pf as settingsPath, fTe as settleReviewRows, Twe as sharedNamePrefix, kp as shellNavigate, x8 as showToast, Bn as siteMarkUrl, uq as skipFirstRun, FI as sortCx, Xr as sortLabel, bn as sourceDefaultCost, Ji as sourceIconUrl, uEe as sourceMeta, Bs as spinnerHtml, Pg as spring, mV as spriteGlyph, xi as startCheck, _Te as startLinkCheck, vTe as startLinkPrune, VTe as startOrganize, Si as startResolve, iEe as startResourceApply, rEe as startResourceScan, xFe as startTasteRefresh, jke as statCardClass, spe as statusLabel, Iwe as statusLine, Qr as statusText, TM as storeJavLayout, cTe as submitDecision, iL as summaryItems, Mq as tableFeatures, dq as tableMemo, di as tableRows, upe as taskIssues, fpe as taskSubject, J3 as tasteDate, DFe as tasteDimensions, EFe as tasteHours, K3 as tasteKey, gFe as tasteRefetchInterval, _Fe as tasteTime, VI as textLang, A0 as tierPlaceholdersHtml, rh as time, lge as tl, hi as toggleGroup, Y3 as topScores, bge as um, mge as uo, gH as useAction, AZ as useBackgroundJob, uG as useCatalogView, IU as useClientUpdates, hm as useConstant, aL as useEntityNames, dL as useHorizontalScroller, gm as useIsomorphicLayoutEffect, sK as useLibraryTints, It as useMutation, VV as useOverlayScrollbar, Ft as useQuery, ae as useQueryClient, eS as useReducedMotion, kTe as useRunSchedule, DTe as useSaveFollowSchedule, aX as useSaveSettings, jTe as useSaveThumbnailMode, jJ as useTable, XJ as useTablePreferences, vL as useViewGlide, Mwe as victimBytes, uge as vl, vye as wantName, IPe as watchNote, T3 as watchedShare, Ac as wireHorizontalScroller, UTe as withOrganizeJob, Sye as writeJavQuery };
-//# debugId=5a9bc9b9-3012-4a6c-a6df-be4202ab4bcc
\ No newline at end of file
+//# debugId=a660c5d4-fec3-4d84-9481-15e3179f8b26
\ No newline at end of file
diff --git a/web/dist/peach-app.stats-page-fAkPsLC6.js b/web/dist/peach-app.stats-page-oKmjqWrd.js
similarity index 99%
rename from web/dist/peach-app.stats-page-fAkPsLC6.js
rename to web/dist/peach-app.stats-page-oKmjqWrd.js
index bd208a859..eb70c0de2 100644
--- a/web/dist/peach-app.stats-page-fAkPsLC6.js
+++ b/web/dist/peach-app.stats-page-oKmjqWrd.js
@@ -1,14 +1,14 @@
(function() {
try {
var e = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, t = new e.Error().stack;
- t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "994f0254-5425-4c98-9acd-e046d82c113a", e._sentryDebugIdIdentifier = "sentry-dbid-994f0254-5425-4c98-9acd-e046d82c113a");
+ t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "62e6fd12-aa83-4daf-8158-da194786fece", e._sentryDebugIdIdentifier = "sentry-dbid-62e6fd12-aa83-4daf-8158-da194786fece");
} catch {}
})();
import { AnimatedItems as e, CHART_CARD as t, CHART_COLORS as n, Cell as r, ChartBackground as i, ChartContainer as a, ChartEmpty as o, ChartLegend as s, ChartLegendContent as c, ChartTip as l, ChartTooltip as u, ChartTooltipContent as d, DefaultZIndexes as f, LabelListFromLabelProp as p, Layer as m, LoadingIndicator as h, PolarChart as g, PolarLabelListContextProvider as _, RegisterGraphicalItemId as v, Sector as y, SetPolarGraphicalItem as b, SetPolarLegendPayload as x, SetTooltipEntrySettings as S, Shape as C, ZIndexLayer as w, adaptEventsOfChild as T, arrayTooltipSearcher as E, combineAllBarPositions as ee, combineBarPosition as D, combineBarSizeList as te, combineDisplayedStackedData as ne, combineStackGroups as re, combineStackedData as ie, createSelector as O, defaultPolarChartProps as ae, findAllByType as oe, getBandSizeOfAxis as k, getBaseValueOfBar as se, getCateCoordinateOfBar as ce, getColorsCount as le, getNormalizedStackId as ue, getTooltipNameProp as de, getValueByDataKey as fe, getZIndexFromUnknown as pe, interpolate as me, isCategoricalAxis as he, isNullish as ge, isStacked as _e, matchAppend as ve, mathSign as ye, noop as be, resolveDefaultProps as xe, selectActiveTooltipIndex as Se, selectAngleAxis as Ce, selectBarCategoryGap as we, selectBarGap as Te, selectChartDataAndAlwaysIgnoreIndexes as Ee, selectChartDataWithIndexes as De, selectChartLayout as A, selectPolarItemsSettings as Oe, selectPolarViewBox as ke, selectRadiusAxis as Ae, selectReverseStackOrder as je, selectRootBarSize as Me, selectRootMaxBarSize as Ne, selectStackOffsetType as Pe, selectTooltipAxis as Fe, selectUnfilteredPolarItems as Ie, sliceConfig as Le, sliceKey as Re, svgPropertiesNoEvents as ze, svgPropertiesNoEventsFromUnknown as Be, truncateByDomain as Ve, useAnimationCallbacks as He, useAppSelector as j, useMouseClickItemDispatch as Ue, useMouseEnterItemDispatch as We, useMouseLeaveItemDispatch as Ge, usePolarChartLayout as Ke } from "./peach-app.chart-tip-CRxYp6KT.js";
import { $b4f18e3395fe64d7$export$3d96ec278d3efce4 as M, $b4f18e3395fe64d7$export$3e41faf802a29e71 as N, $b4f18e3395fe64d7$export$b2539bed5023c21c as qe, $b4f18e3395fe64d7$export$e51a686c67fdaa2d as Je, ButtonLink as P, EmptyState as F, LOC as Ye, MEDIA_SOURCE_ICONS as Xe, NR as Ze, Note as Qe, Progress as I, SEGMENT as $e, SEGMENTED_TRACK as et, STATS_KEY as tt, STAT_STRIP as nt, SegmentedTabList as rt, SourceMark as it, StatCard as at, StatusLabel as ot, Xc as st, Xt as ct, _8 as lt, __toESM as ut, bandRows as dt, cardClass as ft, clsx as pt, errorMessage as mt, fetchStats as ht, fmtCount as L, fmtSize as R, known as gt, lengthRows as _t, mM as z, mediumRows as vt, percentText as B, playedFor as yt, playedItemUrl as bt, radialArc as xt, radialBarSize as St, radialCeiling as Ct, radialSlices as wt, reachedShare as Tt, replayRows as Et, require_jsx_runtime as Dt, require_react as Ot, settingsPath as kt, statCardClass as At, uo as jt, useQuery as Mt, watchNote as Nt, watchedShare as Pt } from "./peach-app.js";
import { Page as Ft } from "./peach-app.page-QAncjzM1.js";
import { ConnectionStatus as It } from "./peach-app.connection-status-DI6kgn3i.js";
-import { ActivityHeat as Lt, BarCard as V, ExpandableRanking as Rt, PolarAngleAxis as zt, selectPolarAxisScale as Bt, selectPolarAxisTicks as Vt, selectPolarGraphicalItemAxisTicks as Ht } from "./peach-app.expandable-ranking-dFA65P9N.js";
+import { ActivityHeat as Lt, BarCard as V, ExpandableRanking as Rt, PolarAngleAxis as zt, selectPolarAxisScale as Bt, selectPolarAxisTicks as Vt, selectPolarGraphicalItemAxisTicks as Ht } from "./peach-app.expandable-ranking-DrIZgDjz.js";
// node_modules/recharts/es6/util/RadialBarUtils.js
var H = /* @__PURE__ */ ut(Ot()), Ut = ["option"];
function Wt(e, t) {
@@ -1473,4 +1473,4 @@ function Vr(e) {
}
export { Vr as StatsPage };
-//# debugId=994f0254-5425-4c98-9acd-e046d82c113a
\ No newline at end of file
+//# debugId=62e6fd12-aa83-4daf-8158-da194786fece
\ No newline at end of file
diff --git a/web/dist/peach-app.taste-page-O5P41pRb.js b/web/dist/peach-app.taste-page-BTxSs8dl.js
similarity index 99%
rename from web/dist/peach-app.taste-page-O5P41pRb.js
rename to web/dist/peach-app.taste-page-BTxSs8dl.js
index 74daa29e8..be9187063 100644
--- a/web/dist/peach-app.taste-page-O5P41pRb.js
+++ b/web/dist/peach-app.taste-page-BTxSs8dl.js
@@ -1,14 +1,14 @@
(function() {
try {
var e = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, t = new e.Error().stack;
- t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "9b65577e-8550-4492-95cf-43eb640447a0", e._sentryDebugIdIdentifier = "sentry-dbid-9b65577e-8550-4492-95cf-43eb640447a0");
+ t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "56054fde-cf3a-40f8-8048-1b5c772b817b", e._sentryDebugIdIdentifier = "sentry-dbid-56054fde-cf3a-40f8-8048-1b5c772b817b");
} catch {}
})();
import { ActivePoints as e, AnimatedItems as t, CHART_CARD as n, CHART_COLORS as r, CartesianLabelListContextProvider as i, CategoryTick as a, ChartBackground as o, ChartContainer as s, ChartHead as c, ChartLegend as l, ChartLegendContent as u, ChartTip as d, ChartTooltip as f, ChartTooltipContent as p, DefaultZIndexes as m, Dots as h, EvilBarChart as g, LabelListFromLabelProp as _, Layer as v, LoadingIndicator as y, PolarChart as b, PolarLabelContextProvider as x, PolarLabelFromLabelProp as S, RegisterGraphicalItemId as C, SetPolarGraphicalItem as ee, SetPolarLegendPayload as w, SetTooltipEntrySettings as T, Text as te, ZIndexLayer as E, adaptEventsOfChild as ne, addRadiusAxis as re, arrayTooltipSearcher as ie, categoryAxisWidth as ae, cn as oe, createSelector as D, defaultPolarChartProps as se, defaultPolarRadiusAxisProps as ce, fitLabel as le, getAxisTypeBasedOnLayout as ue, getBandSizeOfAxis as de, getClassNameFromUnknown as fe, getColorsCount as pe, getTooltipNameProp as me, getValueByDataKey as he, identity as ge, interpolate as _e, isArrayLike as ve, isCategoricalAxis as ye, isNullish as be, iteratee as xe, matchAnimationItems as Se, matchByIndex as Ce, noop as we, polarToCartesian as O, removeRadiusAxis as Te, resolveDefaultProps as Ee, selectAngleAxis as De, selectChartDataAndAlwaysIgnoreIndexes as Oe, selectChartLayout as ke, selectPolarViewBox as Ae, selectRadiusAxis as je, selectUnfilteredPolarItems as Me, svgPropertiesAndEvents as Ne, svgPropertiesNoEvents as k, svgPropertiesNoEventsFromUnknown as Pe, tone as Fe, useAnimationCallbacks as Ie, useAnimationStartSnapshot as Le, useAppDispatch as Re, useAppSelector as A, useIsPanorama as ze, usePolarChartLayout as Be } from "./peach-app.chart-tip-CRxYp6KT.js";
import { $542a13ca2fa5b484$export$5b6b19405a83ff9d as Ve, $b4f18e3395fe64d7$export$3d96ec278d3efce4 as He, $b4f18e3395fe64d7$export$3e41faf802a29e71 as Ue, $b4f18e3395fe64d7$export$b2539bed5023c21c as We, Button as j, ButtonLink as Ge, Disclosure as Ke, E3 as qe, EmptyState as M, FLOW_LABEL_X as Je, FLOW_VIEWBOX as Ye, Gg as Xe, IDLE_POLL_MS as Ze, Input as Qe, M6 as $e, MENU_ITEM as et, MENU_ITEM_INTERACTIVE as tt, MENU_POPOVER_SURFACE as nt, MenuDialog as rt, Note as N, OV as it, Progress as at, Rf as ot, SEGMENT as st, SEGMENTED_TRACK as ct, STAT_STRIP as lt, SegmentedTabList as ut, Select$1 as dt, SelectItem as ft, StatCard as pt, TASTE_REFRESH_KEY as mt, TASTE_WINDOWS as ht, TaskProgress as gt, Wt as _t, Xt as vt, _8 as yt, __toESM as bt, aB as xt, avatarInner as St, busyProps as P, cB as Ct, cardClass as F, clsx as I, configureTasteBrowser as wt, confirmModal as Tt, cx as Et, errorMessage as L, f1 as Dt, fetchTaste as Ot, fetchTasteJob as kt, firstGrapheme as At, flowGraph as jt, flowLabel as Mt, fmtSize as Nt, g4 as Pt, historySpan as Ft, importTasteExport as It, keepPreviousData as Lt, mM as Rt, pv as R, queryClient as z, r2 as zt, radarRows as Bt, rankDetail as Vt, rankShares as Ht, removeTasteSource as Ut, require_jsx_runtime as Wt, require_react as Gt, siteMarkUrl as Kt, startTasteRefresh as qt, statCardClass as Jt, tasteDate as Yt, tasteDimensions as Xt, tasteHours as Zt, tasteKey as B, tasteRefetchInterval as Qt, tasteTime as $t, topScores as en, uo as tn, useBackgroundJob as nn, useMutation as V, useQuery as rn } from "./peach-app.js";
import { Page as an } from "./peach-app.page-QAncjzM1.js";
import { LEGACY_AVATAR_IMG as on } from "./peach-app.legacy-avatar-NSITxLRS.js";
-import { ActivityHeat as sn, BAR_DOMAIN as cn, ExpandableRanking as ln, PolarAngleAxis as un, Polygon as dn, barLabel as fn, selectPolarAxisScale as pn, selectPolarAxisTicks as H } from "./peach-app.expandable-ranking-dFA65P9N.js";
+import { ActivityHeat as sn, BAR_DOMAIN as cn, ExpandableRanking as ln, PolarAngleAxis as un, Polygon as dn, barLabel as fn, selectPolarAxisScale as pn, selectPolarAxisTicks as H } from "./peach-app.expandable-ranking-DrIZgDjz.js";
var mn = D([(e, t) => H(e, "angleAxis", t, !1)], (e) => {
if (e) return e.map((e) => e.coordinate);
}), hn = D([(e, t) => H(e, "radiusAxis", t, !1)], (e) => {
@@ -3309,4 +3309,4 @@ function ha({ term: e, value: t, rest: n }) {
}
export { ra as TASTE_GUIDE_KEY, ma as TastePage };
-//# debugId=9b65577e-8550-4492-95cf-43eb640447a0
\ No newline at end of file
+//# debugId=56054fde-cf3a-40f8-8048-1b5c772b817b
\ No newline at end of file