Skip to content

armgit / peach

Public Imported from GitHub
0

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

feat(web): 关注推荐覆盖全部状态与图片

longmeidao77b3d90cdabf
diff --git a/README.md b/README.md
index 725859b8f..b83e2745b 100644
--- a/README.md
+++ b/README.md
@@ -62,7 +62,7 @@ https://github.com/user-attachments/assets/a5610874-e611-41bb-be22-7d99f0d64b62
## 能做什么
-- **搜索**:聚焦搜索框可按封面浏览作品、JAV、关注作品与订阅新作,按头像进入艺人和关注作者;可直接进入关注与新作订阅。输入几个字,女优、番号和影片一起出来。
+- **搜索**:聚焦搜索框可按封面浏览作品、JAV、关注视频、关注图片与订阅新作,按头像进入艺人和关注作者;可直接进入关注与新作订阅。输入几个字,女优、番号和影片一起出来。
- **我的收藏**:资料页名字旁的星星收藏常用人物、片商、厂牌、系列和标签,黄色实心表示已收藏。馆藏筛选栏的读数旁可打开「我的收藏」,按类型和名称查找,显示资料图、厂牌标识或代表作头像;窗口也可管理保存的筛选,打开已标记作品与稍后看清单。馆藏页可给当前筛选起个名字,随时打开或删除。
- **来源检查**:逐站选择直连或 Peach 代理,查看连接失败原因、耗时与冷却状态;公开 JSON 接口可在来源页配置、试查和启停,见[自定义来源](docs/CUSTOM_SOURCES.md)。复核来源图片点击后才加载,失败可重试。
- **外部播放器与 VR**:作品详情可生成限时网络播放链接,下载 M3U,或在 VLC(iPhone / iPad)、IINA(Mac)打开;使用方式见[外部播放器](docs/EXTERNAL_PLAYERS.md)。
diff --git a/docs/REUSE.md b/docs/REUSE.md
index 73a6b82f8..0d23facdb 100644
--- a/docs/REUSE.md
+++ b/docs/REUSE.md
@@ -76,7 +76,7 @@ JAV 作品详情与馆藏视频共用 `IdentityCell` 的头像、标识和首字
## 发现推荐缓存
-搜索推荐复用 `/api/items`、馆藏范围的 `/api/jav/discoveries`、`/api/follow`、`/api/follow/authors` 与 `/api/feeds/discoveries`,图片复用 `coverImage`、`feedNewCoverHtml`、`avatarInner` 和 `authorAvatarHtml`。JAV 保留 IDF/MMR 口味排序,关注署名沿用 `followIdentity` 的发布者判据。搜索框不启动库外资料补齐;详情与订阅分别沿用现有作品、作者、关注管理路由。无新增依赖、迁移或 ledger 写入。
+搜索推荐复用 `/api/items`、馆藏范围的 `/api/jav/discoveries`、`/api/follow`、`/api/follow/authors` 与 `/api/feeds/discoveries`,图片复用 `coverImage`、`feedNewCoverHtml`、`avatarInner` 和 `authorAvatarHtml`。JAV 保留 IDF/MMR 口味排序,关注取全部状态的随机作品,视频与图片复用 `groupMediaKinds`、`itemForMedia` 和附件缩略图;署名沿用 `followIdentity` 的发布者判据。搜索框不启动库外资料补齐;详情与订阅分别沿用现有作品、作者、关注管理路由。无新增依赖、迁移或 ledger 写入。
发现推荐的浏览证据复用 `taste_history` 私有历史库、规范身份和原子 JSON 写入;按日取证与同地址身份解析独立缓存。缓存只保存实体计数,历史、别名、关注、标签决定和解析规则参与失效;观看反馈不重复解析历史,任务心跳不影响偏好版本。页面预取复用 TanStack Query 的 `ensureQueryData`,无新增依赖。
diff --git a/frontend/e2e/search.test.ts b/frontend/e2e/search.test.ts
index dab353b39..1d2ea6dff 100644
--- a/frontend/e2e/search.test.ts
+++ b/frontend/e2e/search.test.ts
@@ -94,7 +94,9 @@ describe('顶栏搜索', () => {
] } }));
await page.route(/\/api\/follow\?/, route => route.fulfill({ json: {
sources: [{ id: 1, author_key: 'name:作者', label: '作者', ref: '作者', provider: 'pixiv', official_avatar_url: '/poster?id=11' }],
- groups: [{ primary: { id: 901, source_id: 1, title: '关注作品', thumb_url: '/poster?id=11' } }],
+ groups: [{ primary: { id: 901, source_id: 1, title: '关注作品', thumb_url: '/poster?id=11', media_kind: 'video', status: 'saved' },
+ variants: [{ id: 902, source_id: 1, title: '图片作品', thumb_url: '/poster?id=12', media_kind: 'image', status: 'seen',
+ media_items: [{ index: 2, media_kind: 'image', thumb_url: '/poster?id=13' }] }], duplicates: [] }],
} }));
await page.route(/\/api\/follow\/authors\?/, route => route.fulfill({ json: {
items: [{ k: '作者', key: 'name:作者', entity_id: 90002 }],
@@ -106,7 +108,7 @@ describe('顶栏搜索', () => {
await page.locator('#q').click();
await page.locator(`${MENU} [data-search-recommendations]`).waitFor();
assert.equal(await page.locator(`${MENU} [data-kind="author"] [data-search-face] img`).count(), 1);
- for (const kind of ['asset', 'jav', 'post', 'release']) {
+ for (const kind of ['asset', 'jav', 'post', 'photo', 'release']) {
const cover = page.locator(`${MENU} [data-kind="${kind}"] [data-search-pic] img`).first();
assert.ok(await cover.count(), `${kind} 没有图片`);
const box = await cover.boundingBox();
@@ -118,6 +120,8 @@ describe('顶栏搜索', () => {
}));
assert.ok(overflow.scrollWidth <= overflow.width + 1);
assert.ok(overflow.right <= overflow.viewport + 1);
+ assert.equal(await page.locator(`${MENU} [data-kind="photo"] h3 a`).getAttribute('href'), '/follow?media=images');
+ assert.ok((await page.locator(`${MENU} [data-kind="photo"] img`).getAttribute('src'))?.includes('id=13'));
await page.screenshot({ path: `../build/agent-verification/browser/search-recommendations-${viewport.name}.png` });
const subscription = page.locator(`${MENU} [data-kind="performer"] h3 a`);
await subscription.focus();
diff --git a/frontend/src/application/search.js b/frontend/src/application/search.js
index da63bc589..d2d5963ba 100644
--- a/frontend/src/application/search.js
+++ b/frontend/src/application/search.js
@@ -10,6 +10,7 @@ import { openEntity } from './entity.js';
import { catalogSuggestions } from './../catalog-onboarding';
import { searchRecommendations } from '../react/search/recommendations';
import { feedNewCoverHtml } from './feed.js';
+import { followState, openFollowDetail } from './follow.js';
import { $, api, esc } from '../core';
import { dismissMenu, glideEase, presentMenu, wireHorizontalScroller } from '../ui-kit';
import { openManagedRoute } from './../history/managed';
@@ -80,6 +81,7 @@ searchState.searchActions = {
openItem:id=>openItem(id),
openEntity:(kind,name)=>openEntity(kind,name),
openPath:path=>navigationState.route(path,false),
+ openFollow:(id,media,index)=>{followState.followMediaView=media;void openFollowDetail(id,true,index)},
};
searchState.searchHelpers = {
pool:()=>catalogSuggestions(state,api),
diff --git a/frontend/src/react/search/recommendations.ts b/frontend/src/react/search/recommendations.ts
index 81a858e28..21d7c3268 100644
--- a/frontend/src/react/search/recommendations.ts
+++ b/frontend/src/react/search/recommendations.ts
@@ -1,5 +1,5 @@
import { authorAvatarHtml, followIdentity, followTitle } from '../follow-feed/follow-marks';
-import type { FollowPage } from '../follow-feed/follow-feed';
+import { groupMediaKinds, itemForMedia, type FollowPage } from '../follow-feed/follow-feed';
import type { Discovery } from '../jav/jav';
import type { SuggestCard, SuggestGroup, SuggestItem } from './search';
@@ -10,7 +10,7 @@ export async function searchRecommendations(request: Request): Promise<SuggestGr
const results = await Promise.allSettled([
request('/api/items?sort=rand&limit=5'),
request('/api/jav/discoveries?scope=library&limit=5'),
- request('/api/follow?status=new&limit=5'),
+ request(`/api/follow?limit=20&sort=rand&seed=${Date.now() >>> 0}`),
request('/api/feeds/discoveries?limit=5'),
request('/api/follow/authors?limit=3'),
]);
@@ -25,15 +25,22 @@ export async function searchRecommendations(request: Request): Promise<SuggestGr
who: String(card.performers || card.creator || ''), card, href,
});
const posts: SuggestItem[] = [];
+ const photos: SuggestItem[] = [];
const context = { sources: follow?.sources || [], aliases: follow?.author_aliases || [], credentials: new Set<string>() };
for (const group of follow?.groups || []) {
- const item = group.primary;
- const source = context.sources.find(source => source.id === item.source_id);
- const sources = source?.author_key ? context.sources.filter(row => row.author_key === source.author_key) : source ? [source] : [];
- const identity = followIdentity(item, sources, context);
- posts.push({ value: followTitle(item), id: item.id, who: identity.author,
- href: `/posts/${item.id}`, card: { id: item.id, thumb_url: item.thumb_url },
- });
+ const kinds = groupMediaKinds(group);
+ for (const media of ['videos', 'images'] as const) {
+ if (media === 'images' ? !kinds.has('image') : kinds.size && !kinds.has('video')) continue;
+ const item = itemForMedia(group, media);
+ const source = context.sources.find(source => source.id === item.source_id);
+ const sources = source?.author_key ? context.sources.filter(row => row.author_key === source.author_key) : source ? [source] : [];
+ const identity = followIdentity(item, sources, context);
+ const image = media === 'images' ? item.media_items?.find(entry => entry.media_kind === 'image') : undefined;
+ (media === 'images' ? photos : posts).push({ value: followTitle(item), id: item.id, who: identity.author,
+ href: `/posts/${item.id}`, followMedia: media, mediaIndex: image?.index ?? null,
+ card: { id: item.id, thumb_url: image?.thumb_url || item.thumb_url },
+ });
+ }
}
const authors: SuggestItem[] = (data[4]?.items || []).map((row: { k: string; key: string; entity_id?: number }) => ({
value: row.k, href: row.entity_id ? `/creators/${row.entity_id}` : `/follow?author=${encodeURIComponent(row.key)}`,
@@ -56,7 +63,8 @@ export async function searchRecommendations(request: Request): Promise<SuggestGr
{ kind: 'author', label: '关注作者', items: authors, href: '/subscriptions?tab=add', action: '添加关注' },
{ kind: 'asset', label: '作品推荐', items: library.map(card => work(card)), href: '/', action: '全部作品' },
{ kind: 'jav', label: 'JAV 推荐', items: jav.map(card => work(card, `/assets/${card.asset_id || card.id}`)), href: '/jav?tab=discover', action: '发现 JAV' },
- { kind: 'post', label: '关注作品', items: posts, href: '/follow', action: '全部关注作品' },
+ { kind: 'post', label: '关注作品', items: posts.slice(0, 5), href: '/follow', action: '全部关注作品' },
+ { kind: 'photo', label: '关注图片', items: photos.slice(0, 5), href: '/follow?media=images', action: '全部关注图片' },
{ kind: 'release', label: '订阅新作', items: releases.filter(card => card.code).map(card => work({ ...card, sourceWork: true }, `/works/${encodeURIComponent(card.code)}`)), href: '/subscriptions?tab=feeds', action: '管理订阅' },
];
}
diff --git a/frontend/src/react/search/search-page.tsx b/frontend/src/react/search/search-page.tsx
index 6608ba122..65bcf7902 100644
--- a/frontend/src/react/search/search-page.tsx
+++ b/frontend/src/react/search/search-page.tsx
@@ -280,6 +280,11 @@ function createOps(props: () => SearchProps, s: Store, menu: () => HTMLElement |
};
/** 选中一行,点它和回车落在同一处。作品开详情,有资料页的开资料页,其余按这个词搜。 */
const choose = (entry: SearchOption) => {
+ if (entry.type === 'suggest' && entry.item.followMedia && entry.item.id && props().actions.openFollow) {
+ input().blur();
+ props().actions.openFollow!(entry.item.id, entry.item.followMedia, entry.item.mediaIndex ?? null);
+ return;
+ }
if (entry.type === 'suggest' && entry.item.href) { openPath(entry.item.href); return }
if (entry.type === 'more') { runSearch(false, true); input().blur(); return }
if (entry.type === 'suggest' && entry.kind === 'asset' && entry.item.id != null) {
@@ -410,7 +415,7 @@ function Row({ entry, active, helpers, onPick, onPeek, onRemove }: {
}
const { item, kind } = entry;
const opens = SUGGEST_PROFILE_KINDS.has(kind) ? kind : undefined;
- if (['asset', 'jav', 'post', 'release'].includes(kind)) {
+ if (['asset', 'jav', 'post', 'photo', 'release'].includes(kind)) {
/* 作品点开是详情,不是一个搜索词:整句标题填回搜索框,下一次搜索会因为其中任何一个字符对不上
而落空。 */
const byline = [item.who, item.code ? item.title : ''].filter(Boolean).join(' · ');
diff --git a/frontend/src/react/search/search.ts b/frontend/src/react/search/search.ts
index db0c80e23..80ab6d392 100644
--- a/frontend/src/react/search/search.ts
+++ b/frontend/src/react/search/search.ts
@@ -32,6 +32,8 @@ export interface SuggestItem {
href?: string;
avatarHtml?: string;
subtitle?: string;
+ followMedia?: 'videos' | 'images';
+ mediaIndex?: number | null;
[key: string]: unknown;
}
@@ -62,6 +64,7 @@ export interface SearchActions {
openItem(id: number): void;
openEntity(kind: string, name: string): void;
openPath?(path: string): void;
+ openFollow?(id: number, media: 'videos' | 'images', mediaIndex: number | null): void;
}
/** 仍由遗留层给的几样。 */
@@ -107,7 +110,7 @@ export const SUGGEST_ONE_KIND = 20;
/** 有脸的那几类点开的是资料页;标签没有资料页,点它照旧是按这个词搜。 */
export const SUGGEST_PROFILE_KINDS = new Set(['performer', 'creator', 'studio', 'agency', 'series']);
/** 下拉栏按宽度分两栏:左栏是身份和词,右栏是作品封面格。 */
-export const SUGGEST_RIGHT_KINDS = new Set(['asset', 'jav', 'post', 'release']);
+export const SUGGEST_RIGHT_KINDS = new Set(['asset', 'jav', 'post', 'photo', 'release']);
/** 空输入时推荐几条。 */
export const PICKS = 5;
diff --git a/frontend/test/react/search-recommendations.test.ts b/frontend/test/react/search-recommendations.test.ts
index f53ccfc91..c4efc76c6 100644
--- a/frontend/test/react/search-recommendations.test.ts
+++ b/frontend/test/react/search-recommendations.test.ts
@@ -11,7 +11,11 @@ describe('搜索图片推荐', () => {
performer_refs: [{ id: 15, name: '女优', has_image: true }] }] };
if (url.startsWith('/api/feeds/')) return { items: [{ id: 12, code: 'ABW-102', cover_url: '/release-cover' }] };
if (url.startsWith('/api/follow/authors')) return { items: [{ k: '作者', key: source.author_key, entity_id: 20 }] };
- return { sources: [source], groups: [{ primary: { id: 12, source_id: 8, title: '关注作品', thumb_url: '/post-cover' } }] };
+ return { sources: [source], groups: [{
+ primary: { id: 12, source_id: 8, title: '关注作品', thumb_url: '/post-cover', media_kind: 'video', status: 'saved' },
+ variants: [{ id: 13, source_id: 8, title: '图片作品', status: 'seen', media_kind: 'image',
+ media_items: [{ index: 2, media_kind: 'image', thumb_url: '/photo-cover' }] }], duplicates: [],
+ }] };
});
const groups = await searchRecommendations(request);
const entry = (kind: string) => groups.find(group => group.kind === kind)!.items[0]!;
@@ -22,10 +26,15 @@ describe('搜索图片推荐', () => {
expect(entry('post').href).toBe('/posts/12');
expect(entry('post').who).toBe('作者');
expect(entry('post').card?.thumb_url).toBe('/post-cover');
+ expect(entry('photo').href).toBe('/posts/13');
+ expect(entry('photo').mediaIndex).toBe(2);
+ expect(entry('photo').followMedia).toBe('images');
+ expect(entry('photo').card?.thumb_url).toBe('/photo-cover');
expect(entry('author').href).toBe('/creators/20');
expect(entry('author').avatarHtml).toContain('/avatar-fixture');
expect(entry('performer').entity_id).toBe(15);
expect(request.mock.calls.every(([url]) => !url.includes('scope=external'))).toBe(true);
+ expect(request.mock.calls.filter(([url]) => url.startsWith('/api/follow?')).every(([url]) => !url.includes('status='))).toBe(true);
});
it('一类读取失败不会丢失其他推荐,无实体的作者进入自己的关注筛选', async () => {
diff --git a/frontend/test/react/search.test.tsx b/frontend/test/react/search.test.tsx
index d7465602c..2e5ca6bef 100644
--- a/frontend/test/react/search.test.tsx
+++ b/frontend/test/react/search.test.tsx
@@ -98,6 +98,7 @@ async function stage({ pool = ['剧情'], loadPool = async () => pool,
openItem: vi.fn<SearchProps['actions']['openItem']>(),
openEntity: vi.fn<SearchProps['actions']['openEntity']>(),
openPath: vi.fn<NonNullable<SearchProps['actions']['openPath']>>(),
+ openFollow: vi.fn<NonNullable<SearchProps['actions']['openFollow']>>(),
};
const out: Stage = {
input, menu, actions, posts, api: null,
@@ -149,6 +150,18 @@ describe('输入框上的时序', () => {
await settle();
expect(s.menu.hidden).toBe(true);
});
+ it('选择关注图片以指定附件进入图片详情', async () => {
+ const s = await stage({ recommendations: async () => [{ kind: 'photo', label: '关注图片',
+ items: [{ value: '图片作品', id: 88, href: '/posts/88', followMedia: 'images', mediaIndex: 2,
+ card: { id: 88, thumb_url: '/image-thumb' } }],
+ }] });
+ await act(async () => s.input.focus());
+ await settle();
+ await s.key('ArrowDown');
+ await s.key('Enter');
+ expect(s.actions.openFollow).toHaveBeenCalledWith(88, 'images', 2);
+ expect(s.actions.openPath).not.toHaveBeenCalled();
+ });
it('单类视频预览请求二十条,完整结果入口用当前搜索词', async () => {
vi.useFakeTimers();
diff --git a/web/dist/peach-app.js b/web/dist/peach-app.js
index 1f165fad8..87ec4b011 100644
--- a/web/dist/peach-app.js
+++ b/web/dist/peach-app.js
@@ -64319,6 +64319,7 @@ var MH = /* @__PURE__ */ new Set([
"asset",
"jav",
"post",
+ "photo",
"release"
]), PH = (e) => String(e ?? "").normalize("NFKC").trim().toLocaleLowerCase();
function Gke({ query: e, history: t, picks: n, suggestFor: r, groups: i, tabs: a, kind: o, recommendations: s = [] }) {
@@ -64610,7 +64611,7 @@ function Xke(e, t, n, r) {
}, x = (t, n) => {
i().blur(), l(n), e().actions.openEntity(t, n);
}, S = (t) => {
- 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" && MH.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" && MH.has(t.kind) ? x(t.kind, t.value) : (i().value = t.value, b(!1, !0));
}, C = (t) => {
m(), i().blur(), e().actions.openPath?.(t);
};
@@ -64728,6 +64729,7 @@ function Qke({ entry: e, active: t, helpers: n, onPick: r, onPeek: i, onRemove:
"asset",
"jav",
"post",
+ "photo",
"release"
].includes(c)) {
let e = [s.who, s.code ? s.title : ""].filter(Boolean).join(" · ");
@@ -104005,7 +104007,7 @@ async function Aut(e) {
let t = (await Promise.allSettled([
e("/api/items?sort=rand&limit=5"),
e("/api/jav/discoveries?scope=library&limit=5"),
- e("/api/follow?status=new&limit=5"),
+ e(`/api/follow?limit=20&sort=rand&seed=${Date.now() >>> 0}`),
e("/api/feeds/discoveries?limit=5"),
e("/api/follow/authors?limit=3")
])).map((e) => e.status === "fulfilled" ? e.value : null), n = (t[0]?.items || []).slice(0, 5), r = (t[1]?.items || []).slice(0, 5), i = t[2], a = t[3]?.items || [], o = (e, t) => ({
@@ -104016,31 +104018,37 @@ async function Aut(e) {
who: String(e.performers || e.creator || ""),
card: e,
href: t
- }), s = [], c = {
+ }), s = [], c = [], l = {
sources: i?.sources || [],
aliases: i?.author_aliases || [],
credentials: /* @__PURE__ */ new Set()
};
for (let e of i?.groups || []) {
- let t = e.primary, n = c.sources.find((e) => e.id === t.source_id), r = dP(t, n?.author_key ? c.sources.filter((e) => e.author_key === n.author_key) : n ? [n] : [], c);
- s.push({
- value: sP(t),
- id: t.id,
- who: r.author,
- href: `/posts/${t.id}`,
- card: {
- id: t.id,
- thumb_url: t.thumb_url
- }
- });
+ let t = ci(e);
+ for (let n of ["videos", "images"]) {
+ if (n === "images" ? !t.has("image") : t.size && !t.has("video")) continue;
+ let r = li(e, n), i = l.sources.find((e) => e.id === r.source_id), a = dP(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: sP(r),
+ id: r.id,
+ who: a.author,
+ href: `/posts/${r.id}`,
+ followMedia: n,
+ mediaIndex: o?.index ?? null,
+ card: {
+ id: r.id,
+ thumb_url: o?.thumb_url || r.thumb_url
+ }
+ });
+ }
}
- let l = (t[4]?.items || []).map((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: uP(c.sources.filter((t) => t.author_key === e.key), e.k),
+ avatarHtml: uP(l.sources.filter((t) => t.author_key === e.key), e.k),
subtitle: "关注中的作者"
- })), u = /* @__PURE__ */ new Map();
- for (let e of r) for (let t of e.performer_refs || []) t.id && !u.has(t.name) && u.set(t.name, {
+ })), 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, {
value: t.name,
entity_id: t.id,
has_image: t.has_image,
@@ -104055,14 +104063,14 @@ async function Aut(e) {
{
kind: "performer",
label: "艺人与新作",
- items: [...u.values()].slice(0, 3),
+ items: [...d.values()].slice(0, 3),
href: "/subscriptions?tab=feeds",
action: "订阅新作"
},
{
kind: "author",
label: "关注作者",
- items: l,
+ items: u,
href: "/subscriptions?tab=add",
action: "添加关注"
},
@@ -104083,10 +104091,17 @@ async function Aut(e) {
{
kind: "post",
label: "关注作品",
- items: s,
+ items: s.slice(0, 5),
href: "/follow",
action: "全部关注作品"
},
+ {
+ kind: "photo",
+ label: "关注图片",
+ items: c.slice(0, 5),
+ href: "/follow?media=images",
+ action: "全部关注图片"
+ },
{
kind: "release",
label: "订阅新作",
@@ -104168,7 +104183,10 @@ function Fut() {
},
openItem: (e) => x9(e),
openEntity: (e, t) => m7(e, t),
- openPath: (e) => Q.route(e, !1)
+ openPath: (e) => Q.route(e, !1),
+ openFollow: (e, t, n) => {
+ $.followMediaView = t, R9(e, !0, n);
+ }
}, B9.searchHelpers = {
pool: () => llt(W, Et),
recommendations: () => Aut(Et),