rssany 0.1.5 → 0.1.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/app/plugins/builtin/theinformation-briefings.rssany.js +136 -0
- package/app/plugins/builtin/x.rssany.js +192 -23
- package/package.json +1 -1
- package/webui/build/200.html +6 -6
- package/webui/build/_app/immutable/assets/homeFeedPanelStore.CSvlNcpm.css +1 -0
- package/webui/build/_app/immutable/chunks/BwlaCkNX.js +36 -0
- package/webui/build/_app/immutable/chunks/C0J2-L94.js +1 -0
- package/webui/build/_app/immutable/chunks/CLOXMsDk.js +36 -0
- package/webui/build/_app/immutable/chunks/{D6VIKef0.js → DgceFEv5.js} +1 -1
- package/webui/build/_app/immutable/chunks/{Dbqx2mXq.js → SqCUd34O.js} +1 -1
- package/webui/build/_app/immutable/entry/{app.XPso7q7g.js → app.B8zBPipq.js} +2 -2
- package/webui/build/_app/immutable/entry/start.CxRCKeCl.js +1 -0
- package/webui/build/_app/immutable/nodes/{0.BKTQePmA.js → 0.ChLNE3xy.js} +1 -1
- package/webui/build/_app/immutable/nodes/{1.BS3_Rfxm.js → 1.1N74-4Io.js} +1 -1
- package/webui/build/_app/immutable/nodes/{10.CyyxDCIS.js → 10.DY30t9Ib.js} +1 -1
- package/webui/build/_app/immutable/nodes/{11.CtYgIaGj.js → 11.ITuxnukH.js} +1 -1
- package/webui/build/_app/immutable/nodes/12.qLzWqB1c.js +1 -0
- package/webui/build/_app/immutable/nodes/{14.D5OEGPR2.js → 14.BHnIxbVM.js} +1 -1
- package/webui/build/_app/immutable/nodes/{15.B4dFN1Gk.js → 15.CLjT9il3.js} +1 -1
- package/webui/build/_app/immutable/nodes/{16.M7ZII7tl.js → 16.BD-mKCLN.js} +1 -1
- package/webui/build/_app/immutable/nodes/{3.7r8v7qkm.js → 3.Dt5o2Fmz.js} +1 -1
- package/webui/build/_app/immutable/nodes/{5.CHIzoGrb.js → 5.Dy3vSsIP.js} +1 -1
- package/webui/build/_app/immutable/nodes/{6.BDBqx-GY.js → 6.DvclsL6H.js} +1 -1
- package/webui/build/_app/immutable/nodes/{7.D5czsDmz.js → 7.D2nJy-Uz.js} +1 -1
- package/webui/build/_app/immutable/nodes/{8.pjVNsCdV.js → 8.C75mhrqs.js} +1 -1
- package/webui/build/_app/immutable/nodes/{9.CsARv1BH.js → 9.Bp_QXw3w.js} +1 -1
- package/webui/build/_app/version.json +1 -1
- package/webui/build/_app/immutable/assets/homeFeedPanelStore.iOmfP2qL.css +0 -1
- package/webui/build/_app/immutable/chunks/CZD-YNDw.js +0 -31
- package/webui/build/_app/immutable/chunks/DeX-oq5W.js +0 -41
- package/webui/build/_app/immutable/chunks/dhB8G5Is.js +0 -1
- package/webui/build/_app/immutable/entry/start.Db4snNCd.js +0 -1
- package/webui/build/_app/immutable/nodes/12.Cg8AeCSH.js +0 -1
|
@@ -0,0 +1,136 @@
|
|
|
1
|
+
let _deps;
|
|
2
|
+
|
|
3
|
+
// The Information — Briefings 列表页:https://www.theinformation.com/briefings
|
|
4
|
+
// 结构:.content-feed .article.briefing.feed-item,标题 h3.title a,摘要 .briefing-dek,时间 .authors
|
|
5
|
+
|
|
6
|
+
const ORIGIN = "https://www.theinformation.com";
|
|
7
|
+
const LIST_URL_RE =
|
|
8
|
+
/^https?:\/\/(www\.)?theinformation\.com\/briefings\/?(\?.*)?$/i;
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
function normalizeText(text) {
|
|
12
|
+
return (text ?? "").replace(/\s+/g, " ").trim();
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
function hashGuid(input) {
|
|
17
|
+
return _deps.createHash("sha256").update(input).digest("hex");
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
function toAbsoluteHttpUrl(rawHref, baseUrl) {
|
|
22
|
+
if (!rawHref) return null;
|
|
23
|
+
const href = rawHref.trim();
|
|
24
|
+
if (!href || href.startsWith("#") || href.startsWith("javascript:")) return null;
|
|
25
|
+
try {
|
|
26
|
+
const url = new URL(href, baseUrl);
|
|
27
|
+
if (!/^https?:$/i.test(url.protocol)) return null;
|
|
28
|
+
return url.href;
|
|
29
|
+
} catch {
|
|
30
|
+
return null;
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
function pad2(n) {
|
|
36
|
+
return String(n).padStart(2, "0");
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
/** .authors 文本:Apr 14, 2026 · 5:41am PDT(可含 · 1 comment);Node 不能可靠解析 PDT 缩写,手动换算 offset */
|
|
41
|
+
function parseBriefingAuthorsDate(raw) {
|
|
42
|
+
let t = normalizeText(raw);
|
|
43
|
+
t = t.replace(/\s*·\s*\d+\s+comments?\s*$/i, "").trim();
|
|
44
|
+
|
|
45
|
+
const m = t.match(
|
|
46
|
+
/^(.+?\d{4})\s*·\s*(\d{1,2}:\d{2}\s*(?:am|pm))\s*(PDT|PST|PT)\s*$/i
|
|
47
|
+
);
|
|
48
|
+
if (m) {
|
|
49
|
+
const datePart = m[1].trim();
|
|
50
|
+
const timePart = m[2].trim();
|
|
51
|
+
const tz = m[3].toUpperCase();
|
|
52
|
+
const offset = tz === "PDT" ? "-07:00" : "-08:00";
|
|
53
|
+
|
|
54
|
+
const hm = timePart.match(/(\d{1,2}):(\d{2})\s*(am|pm)/i);
|
|
55
|
+
const d0 = new Date(datePart);
|
|
56
|
+
if (hm && !Number.isNaN(d0.getTime())) {
|
|
57
|
+
let h = Number(hm[1]);
|
|
58
|
+
const min = Number(hm[2]);
|
|
59
|
+
const ap = hm[3].toLowerCase();
|
|
60
|
+
if (ap === "pm" && h < 12) h += 12;
|
|
61
|
+
if (ap === "am" && h === 12) h = 0;
|
|
62
|
+
const y = d0.getFullYear();
|
|
63
|
+
const mo = d0.getMonth() + 1;
|
|
64
|
+
const da = d0.getDate();
|
|
65
|
+
const iso = `${y}-${pad2(mo)}-${pad2(da)}T${pad2(h)}:${pad2(min)}:00${offset}`;
|
|
66
|
+
const out = new Date(iso);
|
|
67
|
+
if (!Number.isNaN(out.getTime())) return out;
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
const first = t.split("·")[0].trim();
|
|
72
|
+
const fallback = new Date(first);
|
|
73
|
+
return Number.isNaN(fallback.getTime()) ? new Date() : fallback;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
|
|
77
|
+
function parseBriefingItems(html, pageUrl) {
|
|
78
|
+
const root = _deps.parseHtml(html);
|
|
79
|
+
const items = [];
|
|
80
|
+
const seen = new Set();
|
|
81
|
+
|
|
82
|
+
for (const node of root.querySelectorAll(".content-feed .article.briefing.feed-item")) {
|
|
83
|
+
const linkEl = node.querySelector("h3.title a[href]");
|
|
84
|
+
if (!linkEl) continue;
|
|
85
|
+
|
|
86
|
+
const title = normalizeText(linkEl.textContent);
|
|
87
|
+
const link = toAbsoluteHttpUrl(linkEl.getAttribute("href"), pageUrl);
|
|
88
|
+
if (!title || !link || seen.has(link)) continue;
|
|
89
|
+
seen.add(link);
|
|
90
|
+
|
|
91
|
+
const authorsText = normalizeText(node.querySelector(".authors")?.textContent ?? "");
|
|
92
|
+
const pubDate = parseBriefingAuthorsDate(authorsText);
|
|
93
|
+
const summary = normalizeText(node.querySelector(".briefing-dek")?.textContent ?? "") || undefined;
|
|
94
|
+
|
|
95
|
+
items.push({
|
|
96
|
+
guid: hashGuid(link),
|
|
97
|
+
title,
|
|
98
|
+
link,
|
|
99
|
+
pubDate,
|
|
100
|
+
summary,
|
|
101
|
+
});
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
return items;
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
|
|
108
|
+
async function fetchItems(sourceId, ctx) {
|
|
109
|
+
_deps = ctx.deps;
|
|
110
|
+
const { html, finalUrl, status } = await ctx.fetchHtml(sourceId, {
|
|
111
|
+
waitMs: 5000,
|
|
112
|
+
waitForSelector: ".content-feed .article.briefing",
|
|
113
|
+
waitForSelectorTimeoutMs: 25_000,
|
|
114
|
+
});
|
|
115
|
+
|
|
116
|
+
const pageUrl = finalUrl || sourceId || ORIGIN;
|
|
117
|
+
const items = parseBriefingItems(html, pageUrl);
|
|
118
|
+
|
|
119
|
+
if (items.length === 0) {
|
|
120
|
+
const hint = status && status >= 400 ? ` HTTP ${status}` : "";
|
|
121
|
+
throw new Error(
|
|
122
|
+
`[theinformation-briefings] 未解析到条目,页面结构可能已变化或需登录后抓取。${hint}`
|
|
123
|
+
);
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
items.sort((a, b) => b.pubDate.getTime() - a.pubDate.getTime());
|
|
127
|
+
return items;
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
|
|
131
|
+
export default {
|
|
132
|
+
id: "theinformation-briefings",
|
|
133
|
+
listUrlPattern: LIST_URL_RE,
|
|
134
|
+
refreshInterval: "1h",
|
|
135
|
+
fetchItems,
|
|
136
|
+
};
|
|
@@ -34,6 +34,153 @@ function statusPathFromHref(href) {
|
|
|
34
34
|
}
|
|
35
35
|
|
|
36
36
|
|
|
37
|
+
/** 非推文正文链接:头像区、分析页、单张图/视频子路径等,避免误当作主帖 ID */
|
|
38
|
+
function isAuxStatusSubpath(href) {
|
|
39
|
+
return /\/status\/\d+\/(photo|video|analytics|likes|retweets|quotes)\b/i.test(href || "");
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
/**
|
|
44
|
+
* 主帖路径:优先取时间戳旁 permalink(与 UI 一致),避免首条任意 /status/ 链到引用帖或图集子链。
|
|
45
|
+
*/
|
|
46
|
+
function extractPrimaryStatusPath(article) {
|
|
47
|
+
const timeEl = article.querySelector("time[datetime]");
|
|
48
|
+
if (timeEl) {
|
|
49
|
+
const a = timeEl.closest("a[href*='/status/']");
|
|
50
|
+
if (a) {
|
|
51
|
+
const href = a.getAttribute("href") || "";
|
|
52
|
+
if (!isAuxStatusSubpath(href)) {
|
|
53
|
+
const p = statusPathFromHref(href);
|
|
54
|
+
if (p) return p;
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
for (const a of article.querySelectorAll('a[href*="/status/"]')) {
|
|
59
|
+
const href = a.getAttribute("href") || "";
|
|
60
|
+
if (isAuxStatusSubpath(href)) continue;
|
|
61
|
+
const p = statusPathFromHref(href);
|
|
62
|
+
if (p) return p;
|
|
63
|
+
}
|
|
64
|
+
return null;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
|
|
68
|
+
/** 引用/转推卡片内层 article 再解析会重复 guid,只处理时间轴最外层 tweet */
|
|
69
|
+
function isNestedTweetArticle(article) {
|
|
70
|
+
let p = article.parentElement;
|
|
71
|
+
while (p) {
|
|
72
|
+
if (p.matches?.("article[data-testid='tweet']")) return true;
|
|
73
|
+
p = p.parentElement;
|
|
74
|
+
}
|
|
75
|
+
return false;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
|
|
79
|
+
function extractSocialContext(article) {
|
|
80
|
+
const el = article.querySelector('[data-testid="socialContext"]');
|
|
81
|
+
return normalizeText(el?.textContent);
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
|
|
85
|
+
/** 时间轴上「转推/转发」帖:socialContext 含 Repost/Retweet 或中文 */
|
|
86
|
+
function isRepostArticle(article) {
|
|
87
|
+
const ctx = extractSocialContext(article);
|
|
88
|
+
if (!ctx) return false;
|
|
89
|
+
if (/reposted?|retweet/i.test(ctx)) return true;
|
|
90
|
+
if (/转推|转发/.test(ctx)) return true;
|
|
91
|
+
return false;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
|
|
95
|
+
function normalizeTwimgUrl(src) {
|
|
96
|
+
if (!src || typeof src !== "string") return src;
|
|
97
|
+
try {
|
|
98
|
+
const u = new URL(src, X_ORIGIN);
|
|
99
|
+
if (u.hostname.includes("twimg.com") && u.pathname.includes("/media/")) {
|
|
100
|
+
u.searchParams.set("format", "jpg");
|
|
101
|
+
u.searchParams.set("name", "small");
|
|
102
|
+
}
|
|
103
|
+
return u.href;
|
|
104
|
+
} catch {
|
|
105
|
+
return src;
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
|
|
110
|
+
/** 链接预览卡大图(card_img),与推文配图 /media/ 不同 */
|
|
111
|
+
function normalizeCardImgUrl(src) {
|
|
112
|
+
if (!src || typeof src !== "string") return src;
|
|
113
|
+
try {
|
|
114
|
+
const u = new URL(src, X_ORIGIN);
|
|
115
|
+
if (u.hostname.includes("twimg.com") && /\/card_img\//.test(u.pathname)) {
|
|
116
|
+
if (!u.searchParams.has("format")) u.searchParams.set("format", "jpg");
|
|
117
|
+
if (!u.searchParams.has("name")) u.searchParams.set("name", "small");
|
|
118
|
+
}
|
|
119
|
+
return u.href;
|
|
120
|
+
} catch {
|
|
121
|
+
return src;
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
|
|
126
|
+
/**
|
|
127
|
+
* 无 tweetText 时:从链接卡 aria-label("domain.com 标题…")或 small 卡正文取一行摘要
|
|
128
|
+
*/
|
|
129
|
+
function extractLinkCardSummary(article) {
|
|
130
|
+
const a = article.querySelector('[data-testid="card.wrapper"] a[aria-label]');
|
|
131
|
+
if (a) {
|
|
132
|
+
const label = a.getAttribute("aria-label") || "";
|
|
133
|
+
const idx = label.indexOf(" ");
|
|
134
|
+
if (idx > 0) {
|
|
135
|
+
const rest = normalizeText(label.slice(idx + 1));
|
|
136
|
+
if (rest) return rest;
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
const detail = article.querySelector('[data-testid="card.layoutSmall.detail"]');
|
|
140
|
+
if (detail) {
|
|
141
|
+
for (const el of detail.querySelectorAll(':scope > div[dir="auto"]')) {
|
|
142
|
+
const t = normalizeText(el.textContent);
|
|
143
|
+
if (t && t.length > 8 && !/^[a-z0-9.-]+\.[a-z]{2,}$/i.test(t)) return t;
|
|
144
|
+
}
|
|
145
|
+
}
|
|
146
|
+
return "";
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
|
|
150
|
+
/**
|
|
151
|
+
* 首图:推文配图 > 视频 poster(blob 源无法持久化,仅 poster 可作缩略图)
|
|
152
|
+
*/
|
|
153
|
+
function extractMediaUrl(article) {
|
|
154
|
+
for (const img of article.querySelectorAll('[data-testid="tweetPhoto"] img[src]')) {
|
|
155
|
+
const src = img.getAttribute("src");
|
|
156
|
+
if (!src || /profile_images/i.test(src)) continue;
|
|
157
|
+
if (/pbs\.twimg\.com\/media/i.test(src) || /twimg\.com\/media/i.test(src)) {
|
|
158
|
+
return normalizeTwimgUrl(src);
|
|
159
|
+
}
|
|
160
|
+
}
|
|
161
|
+
const video = article.querySelector("video[poster]");
|
|
162
|
+
if (video) {
|
|
163
|
+
const poster = video.getAttribute("poster");
|
|
164
|
+
if (poster && /^https?:\/\//i.test(poster)) return poster;
|
|
165
|
+
}
|
|
166
|
+
for (const img of article.querySelectorAll(
|
|
167
|
+
'[data-testid="card.wrapper"] img[src*="twimg.com/card_img"], [data-testid="card.wrapper"] img[src*="pbs.twimg.com/card_img"]',
|
|
168
|
+
)) {
|
|
169
|
+
const src = img.getAttribute("src");
|
|
170
|
+
if (src && /^https?:\/\//i.test(src) && !/profile_images/i.test(src)) {
|
|
171
|
+
return normalizeCardImgUrl(src);
|
|
172
|
+
}
|
|
173
|
+
}
|
|
174
|
+
for (const img of article.querySelectorAll('img[src*="pbs.twimg.com/media"], img[src*="twimg.com/media"]')) {
|
|
175
|
+
const src = img.getAttribute("src");
|
|
176
|
+
if (src && !/profile_images/i.test(src) && !img.closest('[data-testid="User-Name"]')) {
|
|
177
|
+
return normalizeTwimgUrl(src);
|
|
178
|
+
}
|
|
179
|
+
}
|
|
180
|
+
return undefined;
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
|
|
37
184
|
function extractAuthor(article, statusPath) {
|
|
38
185
|
const nameBlock = article.querySelector('[data-testid="User-Name"]');
|
|
39
186
|
if (nameBlock) {
|
|
@@ -55,35 +202,49 @@ function extractAuthor(article, statusPath) {
|
|
|
55
202
|
|
|
56
203
|
|
|
57
204
|
function extractTweetText(article) {
|
|
58
|
-
const
|
|
59
|
-
const
|
|
205
|
+
const nodes = article.querySelectorAll('[data-testid="tweetText"]');
|
|
206
|
+
const parts = [];
|
|
207
|
+
for (const node of nodes) {
|
|
208
|
+
const t = normalizeText(node.textContent);
|
|
209
|
+
if (t) parts.push(t);
|
|
210
|
+
}
|
|
211
|
+
let body = parts.length ? parts.join("\n\n") : "";
|
|
60
212
|
const hasShowMore = !!article.querySelector('[data-testid="tweet-text-show-more-link"]');
|
|
61
|
-
if (!
|
|
62
|
-
|
|
213
|
+
if (!body) {
|
|
214
|
+
body = extractLinkCardSummary(article);
|
|
215
|
+
}
|
|
216
|
+
if (!body) {
|
|
217
|
+
body = hasShowMore ? "推文内容较长,请打开原文查看" : "";
|
|
218
|
+
} else if (hasShowMore) {
|
|
219
|
+
body = `${body} ...`;
|
|
220
|
+
}
|
|
221
|
+
if (!body) {
|
|
222
|
+
const fallback = article.querySelector("[lang]");
|
|
223
|
+
body = normalizeText(fallback?.textContent) || "";
|
|
224
|
+
}
|
|
225
|
+
return normalizeText(body);
|
|
63
226
|
}
|
|
64
227
|
|
|
65
228
|
|
|
66
229
|
function parseArticles(root, origin) {
|
|
67
230
|
const entries = [];
|
|
68
231
|
const seen = new Set();
|
|
69
|
-
|
|
232
|
+
let articles = root.querySelectorAll('article[data-testid="tweet"]');
|
|
233
|
+
if (articles.length === 0) {
|
|
234
|
+
articles = root.querySelectorAll('article[role="article"]');
|
|
235
|
+
}
|
|
70
236
|
for (const article of articles) {
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
for (const a of links) {
|
|
74
|
-
const p = statusPathFromHref(a.getAttribute("href"));
|
|
75
|
-
if (p) {
|
|
76
|
-
statusPath = p;
|
|
77
|
-
break;
|
|
78
|
-
}
|
|
79
|
-
}
|
|
237
|
+
if (isNestedTweetArticle(article)) continue;
|
|
238
|
+
const statusPath = extractPrimaryStatusPath(article);
|
|
80
239
|
if (!statusPath || seen.has(statusPath)) continue;
|
|
81
240
|
seen.add(statusPath);
|
|
82
241
|
const link = new URL(statusPath, origin).href;
|
|
83
242
|
const text = extractTweetText(article);
|
|
84
243
|
const author = extractAuthor(article, statusPath);
|
|
85
244
|
const pubDate = article.querySelector("time[datetime]")?.getAttribute("datetime") || undefined;
|
|
86
|
-
|
|
245
|
+
const imageUrl = extractMediaUrl(article);
|
|
246
|
+
const isRepost = isRepostArticle(article);
|
|
247
|
+
entries.push({ link, text, author, pubDate, imageUrl, isRepost });
|
|
87
248
|
}
|
|
88
249
|
return entries;
|
|
89
250
|
}
|
|
@@ -108,14 +269,22 @@ function extractEntriesFromJson(data, origin) {
|
|
|
108
269
|
|
|
109
270
|
|
|
110
271
|
function entriesToFeedItems(entries) {
|
|
111
|
-
return entries.map(({ link, text, author, pubDate }) =>
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
272
|
+
return entries.map(({ link, text, author, pubDate, imageUrl, isRepost }) => {
|
|
273
|
+
const item = {
|
|
274
|
+
guid: _deps.createHash("sha256").update(link).digest("hex"),
|
|
275
|
+
/** 转发帖显示标题 Repost;其余不展示标题 */
|
|
276
|
+
title: isRepost ? "Repost" : "",
|
|
277
|
+
link,
|
|
278
|
+
pubDate: pubDate ? new Date(pubDate) : new Date(),
|
|
279
|
+
author,
|
|
280
|
+
summary: text || undefined,
|
|
281
|
+
};
|
|
282
|
+
if (imageUrl) {
|
|
283
|
+
item.imageUrl = imageUrl;
|
|
284
|
+
item.cover_img = imageUrl;
|
|
285
|
+
}
|
|
286
|
+
return item;
|
|
287
|
+
});
|
|
119
288
|
}
|
|
120
289
|
|
|
121
290
|
|
package/package.json
CHANGED
package/webui/build/200.html
CHANGED
|
@@ -10,13 +10,13 @@
|
|
|
10
10
|
rel="stylesheet"
|
|
11
11
|
/>
|
|
12
12
|
<link rel="icon" href="/favicon.png" />
|
|
13
|
-
<link href="/_app/immutable/entry/start.
|
|
14
|
-
<link href="/_app/immutable/chunks/
|
|
13
|
+
<link href="/_app/immutable/entry/start.CxRCKeCl.js" rel="modulepreload">
|
|
14
|
+
<link href="/_app/immutable/chunks/C0J2-L94.js" rel="modulepreload">
|
|
15
15
|
<link href="/_app/immutable/chunks/BbWUOQ_m.js" rel="modulepreload">
|
|
16
16
|
<link href="/_app/immutable/chunks/D5GvRCv7.js" rel="modulepreload">
|
|
17
17
|
<link href="/_app/immutable/chunks/BUApaBEI.js" rel="modulepreload">
|
|
18
18
|
<link href="/_app/immutable/chunks/Bp63qm3L.js" rel="modulepreload">
|
|
19
|
-
<link href="/_app/immutable/entry/app.
|
|
19
|
+
<link href="/_app/immutable/entry/app.B8zBPipq.js" rel="modulepreload">
|
|
20
20
|
<link href="/_app/immutable/chunks/DMWEh-Ek.js" rel="modulepreload">
|
|
21
21
|
<link href="/_app/immutable/chunks/BK3WtZwv.js" rel="modulepreload">
|
|
22
22
|
<link href="/_app/immutable/chunks/Dt2CddFe.js" rel="modulepreload">
|
|
@@ -30,15 +30,15 @@
|
|
|
30
30
|
<div id="svelte">
|
|
31
31
|
<script>
|
|
32
32
|
{
|
|
33
|
-
|
|
33
|
+
__sveltekit_1f5fyk0 = {
|
|
34
34
|
base: ""
|
|
35
35
|
};
|
|
36
36
|
|
|
37
37
|
const element = document.currentScript.parentElement;
|
|
38
38
|
|
|
39
39
|
Promise.all([
|
|
40
|
-
import("/_app/immutable/entry/start.
|
|
41
|
-
import("/_app/immutable/entry/app.
|
|
40
|
+
import("/_app/immutable/entry/start.CxRCKeCl.js"),
|
|
41
|
+
import("/_app/immutable/entry/app.B8zBPipq.js")
|
|
42
42
|
]).then(([kit, app]) => {
|
|
43
43
|
kit.start(app, element);
|
|
44
44
|
});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.feed-card.svelte-1dgd2z5{display:flex;align-items:flex-start;gap:.75rem;padding:1rem 1.25rem 1.1rem;transition:background .1s;min-width:0}.feed-card.svelte-1dgd2z5:hover{background:var(--color-muted)}.feed-card.ctx-deletable.svelte-1dgd2z5{cursor:context-menu}.feed-card-aside.svelte-1dgd2z5{flex-shrink:0}.feed-card-icon.svelte-1dgd2z5{width:1.625rem;height:1.625rem;border-radius:.375rem;border:none;overflow:hidden;display:flex;align-items:center;justify-content:center;text-decoration:none;box-sizing:border-box}a.feed-card-icon.svelte-1dgd2z5:hover{opacity:.92}.feed-card-icon--favicon.svelte-1dgd2z5{padding:.125rem;box-sizing:border-box}.feed-card-favicon.svelte-1dgd2z5{width:100%;height:100%;object-fit:contain;display:block;border-radius:inherit}.feed-card-icon-letter.svelte-1dgd2z5{font-size:.75rem;font-weight:600;line-height:1;color:inherit;-webkit-user-select:none;user-select:none}.feed-card-main.svelte-1dgd2z5{flex:1;min-width:0;display:flex;flex-direction:column;gap:.35rem}.feed-card-author-line.svelte-1dgd2z5{display:flex;align-items:center;flex-wrap:wrap;gap:.35rem .5rem;min-width:0}.feed-card-author.svelte-1dgd2z5{flex:0 1 auto;max-width:100%;font-size:.8125rem;line-height:1.4;color:var(--color-foreground);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}.feed-card-author-link.svelte-1dgd2z5{color:inherit;text-decoration:none;font-weight:500}.feed-card-author-link.svelte-1dgd2z5:hover{color:var(--color-primary);text-decoration:underline}.feed-card-author-plain.svelte-1dgd2z5{font-weight:500;color:inherit}.feed-card-author-sep.svelte-1dgd2z5{color:var(--color-muted-foreground-soft);font-weight:400;pointer-events:none}.feed-card-author-empty.svelte-1dgd2z5{color:var(--color-muted-foreground-soft);font-weight:400}.feed-card-title-row.svelte-1dgd2z5{min-width:0}.feed-card-title.svelte-1dgd2z5{display:block;min-width:0;font-size:.9375rem;font-weight:600;line-height:1.45;color:var(--color-foreground);text-decoration:none}a.feed-card-title.svelte-1dgd2z5:hover{color:var(--color-primary);text-decoration:underline}.feed-card-title-text.svelte-1dgd2z5{cursor:default}.feed-card-time.svelte-1dgd2z5{flex-shrink:0;font-size:.75rem;line-height:1.35;color:var(--color-muted-foreground-soft);font-variant-numeric:tabular-nums;white-space:nowrap}.feed-card-summary-link.svelte-1dgd2z5{display:block;min-width:0;margin:0;text-decoration:none;color:inherit;border-radius:.25rem;outline-offset:2px}.feed-card-summary-link.svelte-1dgd2z5:hover .feed-card-summary:where(.svelte-1dgd2z5){color:var(--color-primary)}.feed-card-summary.svelte-1dgd2z5{margin:0;font-size:.8125rem;line-height:1.6;color:var(--color-muted-foreground-strong);display:-webkit-box;-webkit-line-clamp:8;line-clamp:8;-webkit-box-orient:vertical;overflow:hidden;word-break:break-word}.feed-card-open-original.svelte-1dgd2z5{font-size:.8125rem;color:var(--color-primary);text-decoration:none;align-self:flex-start}.feed-card-open-original.svelte-1dgd2z5:hover{text-decoration:underline}.feed-card-media.svelte-1dgd2z5{margin-top:.5rem;max-width:100%;border-radius:.5rem;border:1px solid var(--color-border);overflow:hidden;background:var(--color-muted);align-self:flex-start}.feed-card-media-anchor.svelte-1dgd2z5{display:block;line-height:0}.feed-card-media-img.svelte-1dgd2z5{display:block;max-height:300px;width:auto;max-width:100%;height:auto;object-fit:contain}.ctx-menu-backdrop.svelte-1dgd2z5{position:fixed;top:0;right:0;bottom:0;left:0;z-index:9998}.ctx-menu.svelte-1dgd2z5{position:fixed;z-index:9999;min-width:100px;padding:.25rem 0;background:var(--color-card-elevated);border:1px solid var(--color-border);border-radius:var(--radius-md, 0);box-shadow:var(--shadow-panel)}.ctx-menu-item.svelte-1dgd2z5{display:block;width:100%;padding:.4rem 1rem;font-size:.875rem;text-align:left;border:none;background:none;cursor:pointer;color:var(--color-foreground);font-family:inherit}.ctx-menu-item.svelte-1dgd2z5:hover{background:var(--color-muted)}.ctx-menu-item.ctx-delete.svelte-1dgd2z5:hover{background:color-mix(in srgb,var(--color-destructive) 14%,transparent);color:var(--color-destructive)}@keyframes svelte-ypseth-source-sheet-overlay-in{0%{opacity:0}to{opacity:1}}@keyframes svelte-ypseth-source-sheet-overlay-out{0%{opacity:1}to{opacity:0}}@keyframes svelte-ypseth-source-sheet-panel-in{0%{opacity:.92;transform:translate3d(100%,0,0)}to{opacity:1;transform:translateZ(0)}}@keyframes svelte-ypseth-source-sheet-panel-out{0%{opacity:1;transform:translateZ(0)}to{opacity:.92;transform:translate3d(100%,0,0)}}.source-sheet-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#0006;z-index:110}.source-sheet-overlay[data-state=open]{animation:svelte-ypseth-source-sheet-overlay-in .28s cubic-bezier(.32,.72,0,1) both}.source-sheet-overlay[data-state=closed]{animation:svelte-ypseth-source-sheet-overlay-out .22s cubic-bezier(.36,0,.2,1) both}.source-sheet-panel{position:fixed;top:0;right:0;bottom:0;width:min(28rem,100vw);max-width:100%;z-index:111;display:flex;flex-direction:column;background:var(--color-card-elevated);border-left:1px solid var(--color-border);box-shadow:-8px 0 40px #00000059;outline:none;will-change:transform,opacity;backface-visibility:hidden}.source-sheet-panel[data-state=open]{animation:svelte-ypseth-source-sheet-panel-in .34s cubic-bezier(.32,.72,0,1) both}.source-sheet-panel[data-state=closed]{animation:svelte-ypseth-source-sheet-panel-out .28s cubic-bezier(.36,0,.2,1) both}@media(prefers-reduced-motion:reduce){.source-sheet-overlay[data-state=open],.source-sheet-overlay[data-state=closed],.source-sheet-panel[data-state=open],.source-sheet-panel[data-state=closed]{animation-duration:.01ms;animation-iteration-count:1}}.source-feed-panel-inline.svelte-ypseth{box-sizing:border-box;flex:1 1 auto;min-width:0;width:100%;max-width:none;display:flex;flex-direction:column;min-height:0;background:transparent;border-left:none;border-right:none}.source-sheet-inline-empty.svelte-ypseth{flex:1;min-height:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.5rem;padding:.5rem 1rem 1.25rem;text-align:center}.source-sheet-inline-empty-title.svelte-ypseth{margin:0;font-size:.875rem;font-weight:600;color:var(--color-muted-foreground-strong)}.source-sheet-inline-empty-hint.svelte-ypseth{margin:0;font-size:.78rem;line-height:1.45;color:var(--color-muted-foreground-soft);max-width:16rem}.source-feed-panel-inline.svelte-ypseth .source-sheet-header-inline:where(.svelte-ypseth){padding:0 .85rem .75rem 1rem;align-items:flex-start}.source-feed-panel-inline.svelte-ypseth h2.source-sheet-title:where(.svelte-ypseth){font-size:.9375rem;font-weight:600;margin:0;color:var(--color-foreground);line-height:1.35;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.source-sheet-pull-status.svelte-ypseth{flex-shrink:0;display:inline-flex;align-items:center;justify-content:center;width:2.25rem;height:2.25rem;margin:-.1rem 0 0;color:var(--color-primary)}.source-sheet-pull-status.svelte-ypseth svg{animation:svelte-ypseth-source-sheet-spin .8s linear infinite}@keyframes svelte-ypseth-source-sheet-spin{to{transform:rotate(360deg)}}@media(max-width:720px){.source-feed-panel-inline.svelte-ypseth{flex:1 1 auto;max-width:none;min-width:0;min-height:12rem;max-height:min(42vh,22rem);border-left:none;border-right:none;border-top:none}}.source-sheet-header.svelte-ypseth{flex-shrink:0;display:flex;align-items:flex-start;justify-content:space-between;gap:.75rem;padding:1rem 1rem .75rem 1.25rem;border-bottom:1px solid var(--color-border-muted)}.source-sheet-title-wrap.svelte-ypseth{flex:1 1 auto;min-width:0}.source-sheet-title-row.svelte-ypseth{min-width:0}.source-sheet-title-cluster.svelte-ypseth{display:flex;align-items:center;gap:.35rem;min-width:0;max-width:100%}.source-sheet-title-cluster.svelte-ypseth .source-sheet-title,.source-sheet-title-cluster.svelte-ypseth h2.source-sheet-title:where(.svelte-ypseth){flex:1 1 0%;min-width:0}.source-sheet-header-icons.svelte-ypseth{flex-shrink:0;display:inline-flex;align-items:center;gap:.3rem;line-height:0}.source-sheet-meta-icon.svelte-ypseth{display:inline-flex;align-items:center;color:var(--color-muted-foreground-soft)}.source-sheet-meta-icon-svg{opacity:.92}.source-sheet-proxy.svelte-ypseth{flex-shrink:0;display:inline-flex;align-items:center;line-height:0;color:var(--color-muted-foreground-soft)}.source-sheet-proxy-globe{opacity:.9}.source-sheet-title{font-size:.9375rem;font-weight:600;margin:0;color:var(--color-foreground);line-height:1.35;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.source-sheet-sub.svelte-ypseth{margin:.35rem 0 0;font-size:.72rem;color:var(--color-muted-foreground-soft);line-height:1.35;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.source-sheet-sub.source-sheet-sub-desc.svelte-ypseth{white-space:normal;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;line-clamp:3;overflow:hidden;word-break:break-word;text-overflow:unset}.source-sheet-close{flex-shrink:0;display:inline-flex;align-items:center;justify-content:center;padding:.35rem;color:var(--color-muted-foreground);background:transparent;border:none;border-radius:var(--radius-sm);cursor:pointer;transition:color .15s,background .15s}.source-sheet-close:hover{color:var(--color-foreground);background:var(--color-muted)}.source-sheet-body.svelte-ypseth{flex:1;min-height:0;overflow-y:auto;padding:.5rem 0 1rem}.source-sheet-body.svelte-ypseth::-webkit-scrollbar{width:5px}.source-sheet-body.svelte-ypseth::-webkit-scrollbar-thumb{background:var(--color-scrollbar-thumb);border-radius:4px}.source-sheet-state.svelte-ypseth{padding:2rem 1.25rem;text-align:center;font-size:.875rem;color:var(--color-muted-foreground)}.source-sheet-state.err.svelte-ypseth{color:var(--color-destructive)}.source-feed-cards.svelte-ypseth{min-width:0}
|