rssany 0.1.5 → 0.2.0
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/README.md +1 -5
- package/app/plugins/builtin/agi-eval-evaluation.rssany.js +1 -1
- package/app/plugins/builtin/brightdata-blog.rssany.js +1 -1
- package/app/plugins/builtin/five-radar.rssany.js +1 -1
- package/app/plugins/builtin/google-deepmind-research.rssany.js +1 -1
- package/app/plugins/builtin/opendrivelab-publications.rssany.js +1 -1
- package/app/plugins/builtin/pjlab-adg-publications.rssany.js +1 -1
- package/app/plugins/builtin/theinformation-briefings.rssany.js +150 -0
- package/app/plugins/builtin/x.rssany.js +192 -23
- package/app/plugins/builtin/zhipu-research.rssany.js +2 -2
- package/app/plugins/site.rssany.js +1 -0
- package/dist/index.js +347 -255
- package/dist/index.js.map +1 -1
- package/init/config.json +1 -1
- package/package.json +8 -8
- package/webui/build/200.html +6 -6
- package/webui/build/_app/immutable/assets/12.DfJcfUWl.css +1 -0
- package/webui/build/_app/immutable/assets/5.B-dPiwB7.css +1 -0
- package/webui/build/_app/immutable/assets/6.B27N7pdA.css +1 -0
- package/webui/build/_app/immutable/assets/8.Cgji2b15.css +1 -0
- package/webui/build/_app/immutable/assets/9.BsCIAvn3.css +1 -0
- package/webui/build/_app/immutable/assets/homeFeedPanelStore.CSvlNcpm.css +1 -0
- package/webui/build/_app/immutable/chunks/5LVkDJzw.js +1 -0
- package/webui/build/_app/immutable/chunks/Bns1MuyM.js +36 -0
- package/webui/build/_app/immutable/chunks/{D6VIKef0.js → Bu9HsS-V.js} +1 -1
- package/webui/build/_app/immutable/chunks/{Dbqx2mXq.js → CmjOpds-.js} +1 -1
- package/webui/build/_app/immutable/chunks/bvuf_jZd.js +36 -0
- package/webui/build/_app/immutable/entry/{app.XPso7q7g.js → app.BVkrDt5l.js} +2 -2
- package/webui/build/_app/immutable/entry/start.D3Q-BMMd.js +1 -0
- package/webui/build/_app/immutable/nodes/{0.BKTQePmA.js → 0.I1lQdWMl.js} +1 -1
- package/webui/build/_app/immutable/nodes/{1.BS3_Rfxm.js → 1.BiQQfx2j.js} +1 -1
- package/webui/build/_app/immutable/nodes/{10.CyyxDCIS.js → 10.CvfUsqsw.js} +1 -1
- package/webui/build/_app/immutable/nodes/{11.CtYgIaGj.js → 11.B4LHPNL6.js} +1 -1
- package/webui/build/_app/immutable/nodes/12.DVFJuIWI.js +1 -0
- package/webui/build/_app/immutable/nodes/{14.D5OEGPR2.js → 14.DfaAf0f8.js} +1 -1
- package/webui/build/_app/immutable/nodes/{15.B4dFN1Gk.js → 15.CMzkX9OK.js} +1 -1
- package/webui/build/_app/immutable/nodes/{16.M7ZII7tl.js → 16.zPgTQNze.js} +1 -1
- package/webui/build/_app/immutable/nodes/{18.Ba_qJjp6.js → 18.BIzqhTqv.js} +1 -1
- package/webui/build/_app/immutable/nodes/{3.7r8v7qkm.js → 3.B8Viux9S.js} +1 -1
- package/webui/build/_app/immutable/nodes/5.B6fR3n6J.js +2 -0
- package/webui/build/_app/immutable/nodes/{6.BDBqx-GY.js → 6.j2O5Mwjv.js} +1 -1
- package/webui/build/_app/immutable/nodes/{7.D5czsDmz.js → 7.Bd2USIrl.js} +1 -1
- package/webui/build/_app/immutable/nodes/{8.pjVNsCdV.js → 8.Bw_d63B_.js} +1 -1
- package/webui/build/_app/immutable/nodes/{9.CsARv1BH.js → 9.pMMi5PP6.js} +1 -1
- package/webui/build/_app/version.json +1 -1
- package/app/plugins/builtin/google.rssany.js +0 -187
- package/webui/build/_app/immutable/assets/12.Ct59LCqW.css +0 -1
- package/webui/build/_app/immutable/assets/5.ClehBQ0g.css +0 -1
- package/webui/build/_app/immutable/assets/6.DSJfjJwx.css +0 -1
- package/webui/build/_app/immutable/assets/8.Ba5_jYIY.css +0 -1
- package/webui/build/_app/immutable/assets/9.m-LCx_kl.css +0 -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
- package/webui/build/_app/immutable/nodes/5.CHIzoGrb.js +0 -1
package/init/config.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "rssany",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2.0",
|
|
4
4
|
"description": "Universal RSS/Atom/JSON Feed pipeline — fetches, extracts, parses and converts any web content into consumable feeds with plugin support",
|
|
5
5
|
"author": "Joo",
|
|
6
6
|
"type": "module",
|
|
@@ -28,7 +28,8 @@
|
|
|
28
28
|
},
|
|
29
29
|
"scripts": {
|
|
30
30
|
"build": "vite build",
|
|
31
|
-
|
|
31
|
+
"dev": "concurrently -k \"npm run dev:backend\" \"npm run webui:dev\"",
|
|
32
|
+
"dev:backend": "cross-env PORT=3999 tsx app/index.ts",
|
|
32
33
|
"start": "node dist/index.js",
|
|
33
34
|
"serve:route": "node scripts/serve-route.mjs",
|
|
34
35
|
"serve:app": "npx tsx app/index.ts",
|
|
@@ -40,9 +41,10 @@
|
|
|
40
41
|
"reset": "node scripts/reset.mjs",
|
|
41
42
|
"proxy-browser": "tsx scripts/proxy-browser.ts",
|
|
42
43
|
"webui:install": "cd webui && npm install",
|
|
43
|
-
"webui:dev": "cd webui &&
|
|
44
|
+
"webui:dev": "cd webui && npm run dev",
|
|
44
45
|
"webui:build": "cd webui && npm run build",
|
|
45
46
|
"webui:watch": "cd webui && npm run build:watch",
|
|
47
|
+
"dev:all": "concurrently -k \"npm run dev\" \"npm run webui:dev\"",
|
|
46
48
|
"build:all": "npm run build && npm run webui:build",
|
|
47
49
|
"prepublishOnly": "npm run build:all",
|
|
48
50
|
"docker:build": "bash scripts/docker-build.sh",
|
|
@@ -60,7 +62,6 @@
|
|
|
60
62
|
"@eslint/js": "^9.15.0",
|
|
61
63
|
"@types/jsdom": "^21.1.7",
|
|
62
64
|
"@types/mailparser": "^3.4.6",
|
|
63
|
-
"@types/better-sqlite3": "^7.6.13",
|
|
64
65
|
"@types/node": "^25.2.0",
|
|
65
66
|
"@types/node-cron": "^3.0.11",
|
|
66
67
|
"@types/nodemailer": "^7.0.11",
|
|
@@ -71,16 +72,15 @@
|
|
|
71
72
|
"tsx": "^4.19.0",
|
|
72
73
|
"typescript": "~5.6.0",
|
|
73
74
|
"typescript-eslint": "^8.15.0",
|
|
74
|
-
"vite": "^6.
|
|
75
|
+
"vite": "^6.4.2",
|
|
75
76
|
"vitest": "^2.1.0"
|
|
76
77
|
},
|
|
77
78
|
"dependencies": {
|
|
78
|
-
"@hono/node-server": "^1.
|
|
79
|
+
"@hono/node-server": "^1.19.10",
|
|
79
80
|
"@mozilla/readability": "^0.6.0",
|
|
80
|
-
"better-sqlite3": "^12.6.2",
|
|
81
81
|
"cron-parser": "^5.0.0",
|
|
82
82
|
"dotenv": "^16.4.7",
|
|
83
|
-
"hono": "^4.
|
|
83
|
+
"hono": "^4.12.12",
|
|
84
84
|
"https-proxy-agent": "^7.0.6",
|
|
85
85
|
"imapflow": "^1.2.10",
|
|
86
86
|
"jsdom": "^25.0.0",
|
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.D3Q-BMMd.js" rel="modulepreload">
|
|
14
|
+
<link href="/_app/immutable/chunks/5LVkDJzw.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.BVkrDt5l.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_1ciqfeh = {
|
|
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.D3Q-BMMd.js"),
|
|
41
|
+
import("/_app/immutable/entry/app.BVkrDt5l.js")
|
|
42
42
|
]).then(([kit, app]) => {
|
|
43
43
|
kit.start(app, element);
|
|
44
44
|
});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.feed-wrap.svelte-1s5glru{margin-top:calc(-1 * var(--main-padding-top));width:100%;max-width:42rem;display:flex;flex-direction:column}.feed-col.svelte-1s5glru{padding:0}.feed-toolbar-block.svelte-1s5glru{flex-shrink:0;padding-top:var(--main-padding-top);padding-bottom:var(--feed-sticky-gap-after)}.body.svelte-1s5glru{flex:1;overflow:visible;padding:1rem 0}.section-title.svelte-1s5glru{font-size:.8125rem;font-weight:600;color:var(--color-muted-foreground);margin:0 0 .5rem}.tags-section.svelte-1s5glru,.suggested-section.svelte-1s5glru{margin-bottom:1.25rem}.empty-hint.svelte-1s5glru{font-size:.8125rem;color:var(--color-muted-foreground-soft);margin:0}.tag-list.svelte-1s5glru{display:flex;flex-wrap:wrap;gap:.5rem}.tag-badge.svelte-1s5glru{display:inline-flex;align-items:center;gap:.35rem;padding:.25rem .5rem;background:var(--color-muted);border-radius:var(--radius-sm);font-size:.8125rem}.tag-name.svelte-1s5glru{color:var(--color-foreground);text-decoration:none}.tag-name.svelte-1s5glru:hover{color:var(--color-primary)}.tag-meta.svelte-1s5glru{font-size:.7rem;color:var(--color-muted-foreground-soft)}.tag-remove.svelte-1s5glru,.tag-add.svelte-1s5glru{padding:0 .2rem;font-size:1rem;line-height:1;color:var(--color-muted-foreground-soft);background:none;border:none;cursor:pointer;border-radius:2px}.tag-remove.svelte-1s5glru:hover:not(:disabled),.tag-add.svelte-1s5glru:hover:not(:disabled){color:var(--color-destructive);background:color-mix(in srgb,var(--color-destructive) 16%,transparent)}.tag-add.svelte-1s5glru:hover:not(:disabled){color:var(--color-success);background:color-mix(in srgb,var(--color-success) 18%,transparent)}.tag-badge.suggested.svelte-1s5glru{background:color-mix(in srgb,var(--color-primary) 14%,transparent)}.context-menu.svelte-1s5glru{position:fixed;z-index:100;min-width:180px;padding:.25rem 0;background:var(--color-card-elevated);border:1px solid var(--color-border);border-radius:var(--radius-sm);box-shadow:var(--shadow-panel)}.context-menu-item.svelte-1s5glru{display:block;width:100%;padding:.4rem .75rem;font-size:.8125rem;text-align:left;color:var(--color-foreground);background:none;border:none;cursor:pointer}.context-menu-item.svelte-1s5glru:hover:not(:disabled){background:var(--color-muted)}.context-menu-item.svelte-1s5glru:disabled{opacity:.5;cursor:not-allowed}.state.svelte-1s5glru{text-align:center;padding:4rem;color:var(--color-muted-foreground-soft);font-size:.875rem}@media(max-width:600px){.feed-wrap.svelte-1s5glru{max-width:100%}}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.feed-wrap.svelte-bhaf7m{margin-top:calc(-1 * var(--main-padding-top));width:100%;max-width:42rem}.feed-col.svelte-bhaf7m{padding:0}.body.svelte-bhaf7m{overflow:visible;padding:1rem 0}.intro.svelte-bhaf7m{color:var(--color-muted-foreground-strong);margin:0 0 1.25rem;line-height:1.5;font-size:.875rem}.intro.svelte-bhaf7m code:where(.svelte-bhaf7m){font-size:.8125rem}.section-title.svelte-bhaf7m{font-size:.8125rem;font-weight:600;color:var(--color-muted-foreground);margin:0 0 .5rem}.form-section.svelte-bhaf7m{margin-bottom:1.25rem}.url-input.svelte-bhaf7m{width:100%;box-sizing:border-box;padding:.5rem .75rem;font-size:.875rem;border:1px solid var(--color-input);border-radius:var(--radius-sm);background:var(--color-card-elevated);color:var(--color-foreground)}.url-input.svelte-bhaf7m::placeholder{color:var(--color-muted-foreground-soft)}.hint.svelte-bhaf7m{font-size:.75rem;color:var(--color-muted-foreground-soft);margin:.5rem 0 0;line-height:1.45}.btn-row.svelte-bhaf7m{display:flex;gap:.75rem;flex-wrap:wrap}.btn.svelte-bhaf7m{padding:.5rem 1rem;font-size:.875rem;border-radius:6px;cursor:pointer;border:none}.btn-primary.svelte-bhaf7m{background:var(--color-primary);color:var(--color-primary-foreground)}.btn-primary.svelte-bhaf7m:hover:not(:disabled){background:var(--color-primary-hover)}.btn-secondary.svelte-bhaf7m{background:var(--color-muted);color:var(--color-foreground);border:1px solid var(--color-border)}.btn-secondary.svelte-bhaf7m:hover:not(:disabled){background:var(--color-accent)}.btn.svelte-bhaf7m:disabled{opacity:.6;cursor:not-allowed}@media(max-width:600px){.feed-wrap.svelte-bhaf7m{max-width:100%}}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.feed-wrap.svelte-1a0dvmg{margin-top:calc(-1 * var(--main-padding-top));width:100%;max-width:42rem}.feed-col.svelte-1a0dvmg{padding:0}.body.svelte-1a0dvmg{overflow:visible;padding:1rem 0}.intro.svelte-1a0dvmg{color:var(--color-muted-foreground-strong);margin:0 0 1.25rem;line-height:1.5;font-size:.875rem}.section-title.svelte-1a0dvmg{font-size:.8125rem;font-weight:600;color:var(--color-muted-foreground);margin:0 0 .5rem}.form-section.svelte-1a0dvmg{margin-bottom:1.25rem}.text-input.svelte-1a0dvmg{width:100%;box-sizing:border-box;padding:.5rem .75rem;font-size:.875rem;border:1px solid var(--color-input);border-radius:var(--radius-sm);background:var(--color-card-elevated);color:var(--color-foreground)}.text-input.svelte-1a0dvmg::placeholder{color:var(--color-muted-foreground-soft)}.hint.svelte-1a0dvmg{font-size:.75rem;color:var(--color-muted-foreground-soft);margin:.5rem 0 0;line-height:1.45}.btn-row.svelte-1a0dvmg{display:flex;gap:.75rem}.btn.svelte-1a0dvmg{padding:.5rem 1rem;font-size:.875rem;border-radius:6px;cursor:pointer;border:none}.btn-primary.svelte-1a0dvmg{background:var(--color-primary);color:var(--color-primary-foreground)}.btn-primary.svelte-1a0dvmg:hover:not(:disabled){background:var(--color-primary-hover)}.btn-secondary.svelte-1a0dvmg{background:var(--color-muted);color:var(--color-foreground);border:1px solid var(--color-border)}.btn-secondary.svelte-1a0dvmg:hover:not(:disabled){background:var(--color-accent)}.btn.svelte-1a0dvmg:disabled{opacity:.6;cursor:not-allowed}@media(max-width:600px){.feed-wrap.svelte-1a0dvmg{max-width:100%}}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.feed-wrap.svelte-1x680s0{margin-top:calc(-1 * var(--main-padding-top));width:100%;max-width:42rem}.feed-col.svelte-1x680s0{padding:0}.feed-header.svelte-1x680s0{padding:.875rem 0;flex-shrink:0;border-bottom:1px solid var(--color-border-muted)}.feed-header.svelte-1x680s0 h2:where(.svelte-1x680s0){font-size:.9375rem;font-weight:600;margin:0 0 .25rem;color:var(--color-foreground)}.page-desc.svelte-1x680s0{font-size:.75rem;color:var(--color-muted-foreground-soft);margin:0;line-height:1.5}.body.svelte-1x680s0{flex:1;overflow:visible;padding:1rem 0}.url-row.svelte-1x680s0{display:flex;gap:.5rem;margin-bottom:.75rem}.url-row.svelte-1x680s0 input:where(.svelte-1x680s0){flex:1;padding:.65rem 1rem;border:1px solid var(--color-input);border-radius:var(--radius-md);font-size:.9375rem;outline:none;transition:border .15s,box-shadow .15s;min-width:0;background:var(--color-card-elevated);color:var(--color-foreground);font-family:inherit}.url-row.svelte-1x680s0 input:where(.svelte-1x680s0):focus{border-color:var(--color-primary);box-shadow:0 0 0 3px var(--color-primary-light)}.url-row.svelte-1x680s0 button:where(.svelte-1x680s0){padding:.65rem 1.375rem;background:var(--color-primary);color:var(--color-primary-foreground);border:none;border-radius:8px;cursor:pointer;font-size:.9rem;font-family:inherit;white-space:nowrap;transition:background .15s}.url-row.svelte-1x680s0 button:where(.svelte-1x680s0):hover:not(:disabled){background:var(--color-primary-hover)}.url-row.svelte-1x680s0 button:where(.svelte-1x680s0):disabled{opacity:.65;cursor:not-allowed}.result-error.svelte-1x680s0{margin-top:1rem;width:100%;padding:.75rem 1rem;border-radius:var(--radius-md);background:color-mix(in srgb,var(--color-destructive, #c00) 12%,transparent);color:var(--color-foreground);font-size:.8125rem;white-space:pre-wrap;word-break:break-word}.result-wrap.svelte-1x680s0{margin-top:1rem;width:100%}.result-label.svelte-1x680s0{font-size:.75rem;font-weight:600;color:var(--color-muted-foreground);margin:0 0 .4rem}.result-json.svelte-1x680s0{margin:0;padding:1rem;max-height:min(70vh,520px);overflow:auto;font-size:.75rem;line-height:1.45;border-radius:var(--radius-md);border:1px solid var(--color-input);background:var(--color-muted);color:var(--color-foreground)}.proxy-row.svelte-1x680s0{margin-bottom:.75rem}.proxy-row.svelte-1x680s0 input:where(.svelte-1x680s0){width:100%;box-sizing:border-box;padding:.55rem 1rem;border:1px solid var(--color-input);border-radius:var(--radius-md);font-size:.8125rem;outline:none;transition:border .15s,box-shadow .15s;background:var(--color-card-elevated);color:var(--color-foreground);font-family:ui-monospace,monospace}.proxy-row.svelte-1x680s0 input:where(.svelte-1x680s0):focus{border-color:var(--color-primary);box-shadow:0 0 0 3px var(--color-primary-light)}.info-box.svelte-1x680s0{margin-top:2rem;width:100%;background:var(--color-primary-light);border:1px solid color-mix(in srgb,var(--color-primary) 38%,transparent);border-radius:var(--radius-md);padding:.875rem 1.125rem;font-size:.8rem;color:var(--color-muted-foreground-strong);line-height:1.7}.info-box.svelte-1x680s0 p:where(.svelte-1x680s0){margin:0 0 .65rem}.info-box.svelte-1x680s0 p:where(.svelte-1x680s0):last-child{margin-bottom:0}.info-note.svelte-1x680s0{color:var(--color-muted-foreground);font-size:.78rem}.info-box.svelte-1x680s0 code:where(.svelte-1x680s0){background:var(--color-muted);padding:.1rem .35rem;border-radius:3px;font-family:monospace}@media(max-width:600px){.feed-wrap.svelte-1x680s0{max-width:100%}}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.feed-wrap.svelte-jqd85f{margin-top:calc(-1 * var(--main-padding-top));width:100%;max-width:42rem}.feed-col.svelte-jqd85f{padding:0}.feed-header.svelte-jqd85f{padding:.875rem 0;flex-shrink:0;border-bottom:1px solid var(--color-border-muted)}.feed-header.svelte-jqd85f h2:where(.svelte-jqd85f){font-size:.9375rem;font-weight:600;margin:0 0 .25rem;color:var(--color-foreground)}.page-desc.svelte-jqd85f{font-size:.75rem;color:var(--color-muted-foreground-soft);margin:0}.state.svelte-jqd85f{padding:2rem;text-align:center;color:var(--color-muted-foreground);font-size:.875rem}.body.svelte-jqd85f{flex:1;overflow:visible;padding:1rem 0}.section-title.svelte-jqd85f{font-size:.8125rem;font-weight:600;color:var(--color-muted-foreground);margin:0 0 .25rem}.hint.svelte-jqd85f{font-size:.75rem;color:var(--color-muted-foreground-soft);margin:0 0 .5rem}.pipeline-section.svelte-jqd85f{margin-bottom:1.5rem}.step-list.svelte-jqd85f{display:flex;flex-direction:column;gap:0;border:1px solid var(--color-border);border-radius:var(--radius-sm);overflow:hidden}.step-row.svelte-jqd85f{display:flex;align-items:center;gap:.5rem;padding:.5rem .75rem;background:var(--color-card);border-bottom:1px solid var(--color-border);cursor:grab}.step-row.svelte-jqd85f:last-child{border-bottom:none}.step-row.dragging.svelte-jqd85f{opacity:.5;cursor:grabbing}.drag-handle.svelte-jqd85f{color:var(--color-muted-foreground-soft);font-size:.875rem;cursor:grab;-webkit-user-select:none;user-select:none}.toggle-wrap.svelte-jqd85f{display:flex;align-items:center;cursor:pointer}.toggle-wrap.svelte-jqd85f input:where(.svelte-jqd85f){position:absolute;opacity:0;width:0;height:0}.toggle-slider.svelte-jqd85f{width:36px;height:20px;background:var(--color-input);border-radius:10px;transition:background .2s}.toggle-slider.svelte-jqd85f:after{content:"";display:block;width:16px;height:16px;background:var(--color-card-elevated);border-radius:50%;margin:2px 0 0 2px;transition:transform .2s;box-shadow:0 1px 2px #00000059}.toggle-wrap.svelte-jqd85f input:where(.svelte-jqd85f):checked+.toggle-slider:where(.svelte-jqd85f){background:var(--color-success)}.toggle-wrap.svelte-jqd85f input:where(.svelte-jqd85f):checked+.toggle-slider:where(.svelte-jqd85f):after{transform:translate(16px)}.step-label.svelte-jqd85f{flex:1;font-size:.875rem;min-width:0;color:var(--color-foreground)}.btn-add.svelte-jqd85f{margin-top:.5rem;padding:.35rem .75rem;font-size:.8125rem;color:var(--color-muted-foreground);background:var(--color-muted);border:1px solid var(--color-border);border-radius:4px;cursor:pointer}.btn-add.svelte-jqd85f:hover:not(:disabled){background:var(--color-accent)}.save-row.svelte-jqd85f{margin-top:1rem}.btn.svelte-jqd85f{padding:.5rem 1rem;font-size:.875rem;border-radius:var(--radius-sm);cursor:pointer;border:none}.btn-primary.svelte-jqd85f{background:var(--color-primary);color:var(--color-primary-foreground)}.btn-primary.svelte-jqd85f:hover:not(:disabled){background:var(--color-primary-hover)}.btn.svelte-jqd85f:disabled{opacity:.6;cursor:not-allowed}@media(max-width:600px){.feed-wrap.svelte-jqd85f{max-width:100%}}
|
|
@@ -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}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var Zt=t=>{throw TypeError(t)};var Ne=(t,e,n)=>e.has(t)||Zt("Cannot "+n);var v=(t,e,n)=>(Ne(t,e,"read from private field"),n?n.call(t):e.get(t)),A=(t,e,n)=>e.has(t)?Zt("Cannot add the same private member more than once"):e instanceof WeakSet?e.add(t):e.set(t,n);import{b4 as P,i as T,a5 as I,T as gt,bq as qe}from"./BbWUOQ_m.js";import{w as qt}from"./D5GvRCv7.js";import{b as De,H as Dt,S as Vt,R as Bt}from"./BUApaBEI.js";import{o as te}from"./Bp63qm3L.js";new URL("sveltekit-internal://");function Ve(t,e){return t==="/"||e==="ignore"?t:e==="never"?t.endsWith("/")?t.slice(0,-1):t:e==="always"&&!t.endsWith("/")?t+"/":t}function Be(t){return t.split("%25").map(decodeURI).join("%25")}function Ke(t){for(const e in t)t[e]=decodeURIComponent(t[e]);return t}function At({href:t}){return t.split("#")[0]}function Fe(t,e,n,a=!1){const r=new URL(t);Object.defineProperty(r,"searchParams",{value:new Proxy(r.searchParams,{get(i,o){if(o==="get"||o==="getAll"||o==="has")return(c,...p)=>(n(c),i[o](c,...p));e();const l=Reflect.get(i,o);return typeof l=="function"?l.bind(i):l}}),enumerable:!0,configurable:!0});const s=["href","pathname","search","toString","toJSON"];a&&s.push("hash");for(const i of s)Object.defineProperty(r,i,{get(){return e(),t[i]},enumerable:!0,configurable:!0});return r}function Ge(...t){let e=5381;for(const n of t)if(typeof n=="string"){let a=n.length;for(;a;)e=e*33^n.charCodeAt(--a)}else if(ArrayBuffer.isView(n)){const a=new Uint8Array(n.buffer,n.byteOffset,n.byteLength);let r=a.length;for(;r;)e=e*33^a[--r]}else throw new TypeError("value must be a string or TypedArray");return(e>>>0).toString(36)}const He=window.fetch;window.fetch=(t,e)=>((t instanceof Request?t.method:(e==null?void 0:e.method)||"GET")!=="GET"&&z.delete(Kt(t)),He(t,e));const z=new Map;function Me(t,e){const n=Kt(t,e),a=document.querySelector(n);if(a!=null&&a.textContent){a.remove();let{body:r,...s}=JSON.parse(a.textContent);const i=a.getAttribute("data-ttl");return i&&z.set(n,{body:r,init:s,ttl:1e3*Number(i)}),a.getAttribute("data-b64")!==null&&(r=De(r)),Promise.resolve(new Response(r,s))}return window.fetch(t,e)}function We(t,e,n){if(z.size>0){const a=Kt(t,n),r=z.get(a);if(r){if(performance.now()<r.ttl&&["default","force-cache","only-if-cached",void 0].includes(n==null?void 0:n.cache))return new Response(r.body,r.init);z.delete(a)}}return window.fetch(e,n)}function Kt(t,e){let a=`script[data-sveltekit-fetched][data-url=${JSON.stringify(t instanceof Request?t.url:t)}]`;if(e!=null&&e.headers||e!=null&&e.body){const r=[];e.headers&&r.push([...new Headers(e.headers)].join(",")),e.body&&(typeof e.body=="string"||ArrayBuffer.isView(e.body))&&r.push(e.body),a+=`[data-hash="${Ge(...r)}"]`}return a}const Ye=/^(\[)?(\.\.\.)?(\w+)(?:=(\w+))?(\])?$/;function ze(t){const e=[];return{pattern:t==="/"?/^\/$/:new RegExp(`^${Xe(t).map(a=>{const r=/^\[\.\.\.(\w+)(?:=(\w+))?\]$/.exec(a);if(r)return e.push({name:r[1],matcher:r[2],optional:!1,rest:!0,chained:!0}),"(?:/([^]*))?";const s=/^\[\[(\w+)(?:=(\w+))?\]\]$/.exec(a);if(s)return e.push({name:s[1],matcher:s[2],optional:!0,rest:!1,chained:!0}),"(?:/([^/]+))?";if(!a)return;const i=a.split(/\[(.+?)\](?!\])/);return"/"+i.map((l,c)=>{if(c%2){if(l.startsWith("x+"))return Pt(String.fromCharCode(parseInt(l.slice(2),16)));if(l.startsWith("u+"))return Pt(String.fromCharCode(...l.slice(2).split("-").map(f=>parseInt(f,16))));const p=Ye.exec(l),[,h,_,g,d]=p;return e.push({name:g,matcher:d,optional:!!h,rest:!!_,chained:_?c===1&&i[0]==="":!1}),_?"([^]*?)":h?"([^/]*)?":"([^/]+?)"}return Pt(l)}).join("")}).join("")}/?$`),params:e}}function Je(t){return t!==""&&!/^\([^)]+\)$/.test(t)}function Xe(t){return t.slice(1).split("/").filter(Je)}function Qe(t,e,n){const a={},r=t.slice(1),s=r.filter(o=>o!==void 0);let i=0;for(let o=0;o<e.length;o+=1){const l=e[o];let c=r[o-i];if(l.chained&&l.rest&&i&&(c=r.slice(o-i,o+1).filter(p=>p).join("/"),i=0),c===void 0)if(l.rest)c="";else continue;if(!l.matcher||n[l.matcher](c)){a[l.name]=c;const p=e[o+1],h=r[o+1];p&&!p.rest&&p.optional&&h&&l.chained&&(i=0),!p&&!h&&Object.keys(a).length===s.length&&(i=0);continue}if(l.optional&&l.chained){i++;continue}return}if(!i)return a}function Pt(t){return t.normalize().replace(/[[\]]/g,"\\$&").replace(/%/g,"%25").replace(/\//g,"%2[Ff]").replace(/\?/g,"%3[Ff]").replace(/#/g,"%23").replace(/[.*+?^${}()|\\]/g,"\\$&")}function Ze({nodes:t,server_loads:e,dictionary:n,matchers:a}){const r=new Set(e);return Object.entries(n).map(([o,[l,c,p]])=>{const{pattern:h,params:_}=ze(o),g={id:o,exec:d=>{const f=h.exec(d);if(f)return Qe(f,_,a)},errors:[1,...p||[]].map(d=>t[d]),layouts:[0,...c||[]].map(i),leaf:s(l)};return g.errors.length=g.layouts.length=Math.max(g.errors.length,g.layouts.length),g});function s(o){const l=o<0;return l&&(o=~o),[l,t[o]]}function i(o){return o===void 0?o:[r.has(o),t[o]]}}function ge(t,e=JSON.parse){try{return e(sessionStorage[t])}catch{}}function ee(t,e,n=JSON.stringify){const a=n(e);try{sessionStorage[t]=a}catch{}}var fe;const U=((fe=globalThis.__sveltekit_1ciqfeh)==null?void 0:fe.base)??"";var ue;const tn=((ue=globalThis.__sveltekit_1ciqfeh)==null?void 0:ue.assets)??U??"",en="1776565808782",me="sveltekit:snapshot",_e="sveltekit:scroll",we="sveltekit:states",nn="sveltekit:pageurl",F="sveltekit:history",X="sveltekit:navigation",q={tap:1,hover:2,viewport:3,eager:4,off:-1,false:-1},Et=location.origin;function Ft(t){if(t instanceof URL)return t;let e=document.baseURI;if(!e){const n=document.getElementsByTagName("base");e=n.length?n[0].href:document.URL}return new URL(t,e)}function V(){return{x:pageXOffset,y:pageYOffset}}function K(t,e){return t.getAttribute(`data-sveltekit-${e}`)}const ne={...q,"":q.hover};function ve(t){let e=t.assignedSlot??t.parentNode;return(e==null?void 0:e.nodeType)===11&&(e=e.host),e}function ye(t,e){for(;t&&t!==e;){if(t.nodeName.toUpperCase()==="A"&&t.hasAttribute("href"))return t;t=ve(t)}}function Ot(t,e,n){let a;try{if(a=new URL(t instanceof SVGAElement?t.href.baseVal:t.href,document.baseURI),n&&a.hash.match(/^#[^/]/)){const o=location.hash.split("#")[1]||"/";a.hash=`#${o}${a.hash}`}}catch{}const r=t instanceof SVGAElement?t.target.baseVal:t.target,s=!a||!!r||St(a,e,n)||(t.getAttribute("rel")||"").split(/\s+/).includes("external"),i=(a==null?void 0:a.origin)===Et&&t.hasAttribute("download");return{url:a,external:s,target:r,download:i}}function mt(t){let e=null,n=null,a=null,r=null,s=null,i=null,o=t;for(;o&&o!==document.documentElement;)a===null&&(a=K(o,"preload-code")),r===null&&(r=K(o,"preload-data")),e===null&&(e=K(o,"keepfocus")),n===null&&(n=K(o,"noscroll")),s===null&&(s=K(o,"reload")),i===null&&(i=K(o,"replacestate")),o=ve(o);function l(c){switch(c){case"":case"true":return!0;case"off":case"false":return!1;default:return}}return{preload_code:ne[a??"off"],preload_data:ne[r??"off"],keepfocus:l(e),noscroll:l(n),reload:l(s),replace_state:l(i)}}function re(t){const e=qt(t);let n=!0;function a(){n=!0,e.update(i=>i)}function r(i){n=!1,e.set(i)}function s(i){let o;return e.subscribe(l=>{(o===void 0||n&&l!==o)&&i(o=l)})}return{notify:a,set:r,subscribe:s}}const be={v:()=>{}};function rn(){const{set:t,subscribe:e}=qt(!1);let n;async function a(){clearTimeout(n);try{const r=await fetch(`${tn}/_app/version.json`,{headers:{pragma:"no-cache","cache-control":"no-cache"}});if(!r.ok)return!1;const i=(await r.json()).version!==en;return i&&(t(!0),be.v(),clearTimeout(n)),i}catch{return!1}}return{subscribe:e,check:a}}function St(t,e,n){return t.origin!==Et||!t.pathname.startsWith(e)?!0:n?t.pathname!==location.pathname:!1}function Cn(t){}const ke=new Set(["load","prerender","csr","ssr","trailingSlash","config"]);[...ke];const an=new Set([...ke]);[...an];function on(t){return t.filter(e=>e!=null)}function Gt(t){return t instanceof Dt||t instanceof Vt?t.status:500}function sn(t){return t instanceof Vt?t.text:"Internal Error"}let S,Q,Tt;const ln=te.toString().includes("$$")||/function \w+\(\) \{\}/.test(te.toString()),ae="a:";var rt,at,ot,it,st,lt,ct,ft,de,ut,he,dt,pe;ln?(S={data:{},form:null,error:null,params:{},route:{id:null},state:{},status:-1,url:new URL(ae)},Q={current:null},Tt={current:!1}):(S=new(de=class{constructor(){A(this,rt,P({}));A(this,at,P(null));A(this,ot,P(null));A(this,it,P({}));A(this,st,P({id:null}));A(this,lt,P({}));A(this,ct,P(-1));A(this,ft,P(new URL(ae)))}get data(){return T(v(this,rt))}set data(e){I(v(this,rt),e)}get form(){return T(v(this,at))}set form(e){I(v(this,at),e)}get error(){return T(v(this,ot))}set error(e){I(v(this,ot),e)}get params(){return T(v(this,it))}set params(e){I(v(this,it),e)}get route(){return T(v(this,st))}set route(e){I(v(this,st),e)}get state(){return T(v(this,lt))}set state(e){I(v(this,lt),e)}get status(){return T(v(this,ct))}set status(e){I(v(this,ct),e)}get url(){return T(v(this,ft))}set url(e){I(v(this,ft),e)}},rt=new WeakMap,at=new WeakMap,ot=new WeakMap,it=new WeakMap,st=new WeakMap,lt=new WeakMap,ct=new WeakMap,ft=new WeakMap,de),Q=new(he=class{constructor(){A(this,ut,P(null))}get current(){return T(v(this,ut))}set current(e){I(v(this,ut),e)}},ut=new WeakMap,he),Tt=new(pe=class{constructor(){A(this,dt,P(!1))}get current(){return T(v(this,dt))}set current(e){I(v(this,dt),e)}},dt=new WeakMap,pe),be.v=()=>Tt.current=!0);function cn(t){Object.assign(S,t)}const oe={spanContext(){return fn},setAttribute(){return this},setAttributes(){return this},addEvent(){return this},setStatus(){return this},updateName(){return this},end(){return this},isRecording(){return!1},recordException(){return this},addLink(){return this},addLinks(){return this}},fn={traceId:"",spanId:"",traceFlags:0},un=new Set(["icon","shortcut icon","apple-touch-icon"]);let W=null;const j=ge(_e)??{},Z=ge(me)??{},$={url:re({}),page:re({}),navigating:qt(null),updated:rn()};function Ht(t){j[t]=V()}function dn(t,e){let n=t+1;for(;j[n];)delete j[n],n+=1;for(n=e+1;Z[n];)delete Z[n],n+=1}function tt(t,e=!1){return e?location.replace(t.href):location.href=t.href,new Promise(()=>{})}async function Re(){if("serviceWorker"in navigator){const t=await navigator.serviceWorker.getRegistration(U||"/");t&&await t.update()}}function ie(){}let Mt,Ct,_t,O,$t,k;const wt=[],vt=[];let b=null;function jt(){var t;(t=b==null?void 0:b.fork)==null||t.then(e=>e==null?void 0:e.discard()),b=null}const pt=new Map,Ee=new Set,hn=new Set,J=new Set;let w={branch:[],error:null,url:null},Se=!1,yt=!1,se=!0,et=!1,Y=!1,xe=!1,Wt=!1,Le,R,L,D;const bt=new Set,le=new Map;async function qn(t,e,n){var s,i,o,l,c;(s=globalThis.__sveltekit_1ciqfeh)!=null&&s.data&&globalThis.__sveltekit_1ciqfeh.data,document.URL!==location.href&&(location.href=location.href),k=t,await((o=(i=t.hooks).init)==null?void 0:o.call(i)),Mt=Ze(t),O=document.documentElement,$t=e,Ct=t.nodes[0],_t=t.nodes[1],Ct(),_t(),R=(l=history.state)==null?void 0:l[F],L=(c=history.state)==null?void 0:c[X],R||(R=L=Date.now(),history.replaceState({...history.state,[F]:R,[X]:L},""));const a=j[R];function r(){a&&(history.scrollRestoration="manual",scrollTo(a.x,a.y))}n?(r(),await Sn($t,n)):(await G({type:"enter",url:Ft(k.hash?Un(new URL(location.href)):location.href),replace_state:!0}),r()),En()}function pn(){wt.length=0,Wt=!1}function Ue(t){vt.some(e=>e==null?void 0:e.snapshot)&&(Z[t]=vt.map(e=>{var n;return(n=e==null?void 0:e.snapshot)==null?void 0:n.capture()}))}function Ae(t){var e;(e=Z[t])==null||e.forEach((n,a)=>{var r,s;(s=(r=vt[a])==null?void 0:r.snapshot)==null||s.restore(n)})}function ce(){Ht(R),ee(_e,j),Ue(L),ee(me,Z)}async function Pe(t,e,n,a){let r;e.invalidateAll&&jt(),await G({type:"goto",url:Ft(t),keepfocus:e.keepFocus,noscroll:e.noScroll,replace_state:e.replaceState,state:e.state,redirect_count:n,nav_token:a,accept:()=>{e.invalidateAll&&(Wt=!0,r=[...le.keys()]),e.invalidate&&e.invalidate.forEach(Rn)}}),e.invalidateAll&>().then(gt).then(()=>{le.forEach(({resource:s},i)=>{var o;r!=null&&r.includes(i)&&((o=s.refresh)==null||o.call(s))})})}async function gn(t){if(t.id!==(b==null?void 0:b.id)){jt();const e={};bt.add(e),b={id:t.id,token:e,promise:Oe({...t,preload:e}).then(n=>(bt.delete(e),n.type==="loaded"&&n.state.error&&jt(),n)),fork:null}}return b.promise}async function It(t){var n;const e=(n=await xt(t,!1))==null?void 0:n.route;e&&await Promise.all([...e.layouts,e.leaf].filter(Boolean).map(a=>a[1]()))}async function Te(t,e,n){var s;const a={params:w.params,route:{id:((s=w.route)==null?void 0:s.id)??null},url:new URL(location.href)};w={...t.state,nav:a};const r=document.querySelector("style[data-sveltekit]");if(r&&r.remove(),Object.assign(S,t.props.page),Le=new k.root({target:e,props:{...t.props,stores:$,components:vt},hydrate:n,sync:!1,transformError:void 0}),await Promise.resolve(),Ae(L),n){const i={from:null,to:{...a,scroll:j[R]??V()},willUnload:!1,type:"enter",complete:Promise.resolve()};J.forEach(o=>o(i))}yt=!0}async function kt({url:t,params:e,branch:n,errors:a,status:r,error:s,route:i,form:o}){let l="never";if(U&&(t.pathname===U||t.pathname===U+"/"))l="always";else for(const d of n)(d==null?void 0:d.slash)!==void 0&&(l=d.slash);t.pathname=Ve(t.pathname,l),t.search=t.search;const c={type:"loaded",state:{url:t,params:e,branch:n,error:s,route:i},props:{constructors:on(n).map(d=>d.node.component),page:Qt(S)}};o!==void 0&&(c.props.form=o);let p={},h=!S,_=0;for(let d=0;d<Math.max(n.length,w.branch.length);d+=1){const f=n[d],u=w.branch[d];(f==null?void 0:f.data)!==(u==null?void 0:u.data)&&(h=!0),f&&(p={...p,...f.data},h&&(c.props[`data_${_}`]=p),_+=1)}return(!w.url||t.href!==w.url.href||w.error!==s||o!==void 0&&o!==S.form||h)&&(c.props.page={error:s,params:e,route:{id:(i==null?void 0:i.id)??null},state:{},status:r,url:new URL(t),form:o??null,data:h?p:S.data}),c}async function Yt({loader:t,parent:e,url:n,params:a,route:r,server_data_node:s}){var p,h,_;let i=null,o=!0;const l={dependencies:new Set,params:new Set,parent:!1,route:!1,url:!1,search_params:new Set},c=await t();if((p=c.universal)!=null&&p.load){let g=function(...f){for(const u of f){const{href:m}=new URL(u,n);l.dependencies.add(m)}};const d={tracing:{enabled:!1,root:oe,current:oe},route:new Proxy(r,{get:(f,u)=>(o&&(l.route=!0),f[u])}),params:new Proxy(a,{get:(f,u)=>(o&&l.params.add(u),f[u])}),data:(s==null?void 0:s.data)??null,url:Fe(n,()=>{o&&(l.url=!0)},f=>{o&&l.search_params.add(f)},k.hash),async fetch(f,u){f instanceof Request&&(u={body:f.method==="GET"||f.method==="HEAD"?void 0:await f.blob(),cache:f.cache,credentials:f.credentials,headers:[...f.headers].length>0?f==null?void 0:f.headers:void 0,integrity:f.integrity,keepalive:f.keepalive,method:f.method,mode:f.mode,redirect:f.redirect,referrer:f.referrer,referrerPolicy:f.referrerPolicy,signal:f.signal,...u});const{resolved:m,promise:y}=Ie(f,u,n);return o&&g(m.href),y},setHeaders:()=>{},depends:g,parent(){return o&&(l.parent=!0),e()},untrack(f){o=!1;try{return f()}finally{o=!0}}};i=await c.universal.load.call(null,d)??null}return{node:c,loader:t,server:s,universal:(h=c.universal)!=null&&h.load?{type:"data",data:i,uses:l}:null,data:i??(s==null?void 0:s.data)??null,slash:((_=c.universal)==null?void 0:_.trailingSlash)??(s==null?void 0:s.slash)}}function Ie(t,e,n){let a=t instanceof Request?t.url:t;const r=new URL(a,n);r.origin===n.origin&&(a=r.href.slice(n.origin.length));const s=yt?We(a,r.href,e):Me(a,e);return{resolved:r,promise:s}}function mn(t,e,n,a,r,s){if(Wt)return!0;if(!r)return!1;if(r.parent&&t||r.route&&e||r.url&&n)return!0;for(const i of r.search_params)if(a.has(i))return!0;for(const i of r.params)if(s[i]!==w.params[i])return!0;for(const i of r.dependencies)if(wt.some(o=>o(new URL(i))))return!0;return!1}function zt(t,e){return(t==null?void 0:t.type)==="data"?t:(t==null?void 0:t.type)==="skip"?e??null:null}function _n(t,e){if(!t)return new Set(e.searchParams.keys());const n=new Set([...t.searchParams.keys(),...e.searchParams.keys()]);for(const a of n){const r=t.searchParams.getAll(a),s=e.searchParams.getAll(a);r.every(i=>s.includes(i))&&s.every(i=>r.includes(i))&&n.delete(a)}return n}function wn({error:t,url:e,route:n,params:a}){return{type:"loaded",state:{error:t,url:e,route:n,params:a,branch:[]},props:{page:Qt(S),constructors:[]}}}async function Oe({id:t,invalidating:e,url:n,params:a,route:r,preload:s}){if((b==null?void 0:b.id)===t)return bt.delete(b.token),b.promise;const{errors:i,layouts:o,leaf:l}=r,c=[...o,l];i.forEach(u=>u==null?void 0:u().catch(()=>{})),c.forEach(u=>u==null?void 0:u[1]().catch(()=>{}));const p=w.url?t!==Rt(w.url):!1,h=w.route?r.id!==w.route.id:!1,_=_n(w.url,n);let g=!1;const d=c.map(async(u,m)=>{var C;if(!u)return;const y=w.branch[m];return u[1]===(y==null?void 0:y.loader)&&!mn(g,h,p,_,(C=y.universal)==null?void 0:C.uses,a)?y:(g=!0,Yt({loader:u[1],url:n,params:a,route:r,parent:async()=>{var ht;const N={};for(let B=0;B<m;B+=1)Object.assign(N,(ht=await d[B])==null?void 0:ht.data);return N},server_data_node:zt(u[0]?{type:"skip"}:null,u[0]?y==null?void 0:y.server:void 0)}))});for(const u of d)u.catch(()=>{});const f=[];for(let u=0;u<c.length;u+=1)if(c[u])try{f.push(await d[u])}catch(m){if(m instanceof Bt)return{type:"redirect",location:m.location};if(bt.has(s))return wn({error:await nt(m,{params:a,url:n,route:{id:r.id}}),url:n,params:a,route:r});let y=Gt(m),x;if(m instanceof Dt)x=m.body;else{if(await $.updated.check())return await Re(),await tt(n);x=await nt(m,{params:a,url:n,route:{id:r.id}})}const C=await vn(u,f,i);return C?kt({url:n,params:a,branch:f.slice(0,C.idx).concat(C.node),errors:i,status:y,error:x,route:r}):await $e(n,{id:r.id},x,y)}else f.push(void 0);return kt({url:n,params:a,branch:f,errors:i,status:200,error:null,route:r,form:e?void 0:null})}async function vn(t,e,n){for(;t--;)if(n[t]){let a=t;for(;!e[a];)a-=1;try{return{idx:a+1,node:{node:await n[t](),loader:n[t],data:{},server:null,universal:null}}}catch{continue}}}async function Jt({status:t,error:e,url:n,route:a}){const r={};let s=null;try{const i=await Yt({loader:Ct,url:n,params:r,route:a,parent:()=>Promise.resolve({}),server_data_node:zt(s)}),o={node:await _t(),loader:_t,universal:null,server:null,data:null};return kt({url:n,params:r,branch:[i,o],status:t,error:e,errors:[],route:null})}catch(i){if(i instanceof Bt)return Pe(new URL(i.location,location.href),{},0);throw i}}async function yn(t){const e=t.href;if(pt.has(e))return pt.get(e);let n;try{const a=(async()=>{let r=await k.hooks.reroute({url:new URL(t),fetch:async(s,i)=>Ie(s,i,t).promise})??t;if(typeof r=="string"){const s=new URL(t);k.hash?s.hash=r:s.pathname=r,r=s}return r})();pt.set(e,a),n=await a}catch{pt.delete(e);return}return n}async function xt(t,e){if(t&&!St(t,U,k.hash)){const n=await yn(t);if(!n)return;const a=bn(n);for(const r of Mt){const s=r.exec(a);if(s)return{id:Rt(t),invalidating:e,route:r,params:Ke(s),url:t}}}}function bn(t){return Be(k.hash?t.hash.replace(/^#/,"").replace(/[?#].+/,""):t.pathname.slice(U.length))||"/"}function Rt(t){return(k.hash?t.hash.replace(/^#/,""):t.pathname)+t.search}function Ce({url:t,type:e,intent:n,delta:a,event:r,scroll:s}){let i=!1;const o=Xt(w,n,t,e,s??null);a!==void 0&&(o.navigation.delta=a),r!==void 0&&(o.navigation.event=r);const l={...o.navigation,cancel:()=>{i=!0,o.reject(new Error("navigation cancelled"))}};return et||Ee.forEach(c=>c(l)),i?null:o}async function G({type:t,url:e,popped:n,keepfocus:a,noscroll:r,replace_state:s,state:i={},redirect_count:o=0,nav_token:l={},accept:c=ie,block:p=ie,event:h}){var B;const _=D;D=l;const g=await xt(e,!1),d=t==="enter"?Xt(w,g,e,t):Ce({url:e,type:t,delta:n==null?void 0:n.delta,intent:g,scroll:n==null?void 0:n.scroll,event:h});if(!d){p(),D===l&&(D=_);return}const f=R,u=L;c(),et=!0,yt&&d.navigation.type!=="enter"&&$.navigating.set(Q.current=d.navigation);let m=g&&await Oe(g);if(!m){if(St(e,U,k.hash))return await tt(e,s);m=await $e(e,{id:null},await nt(new Vt(404,"Not Found",`Not found: ${e.pathname}`),{url:e,params:{},route:{id:null}}),404,s)}if(e=(g==null?void 0:g.url)||e,D!==l)return d.reject(new Error("navigation aborted")),!1;if(m.type==="redirect"){if(o<20){await G({type:t,url:new URL(m.location,e),popped:n,keepfocus:a,noscroll:r,replace_state:s,state:i,redirect_count:o+1,nav_token:l}),d.fulfil(void 0);return}m=await Jt({status:500,error:await nt(new Error("Redirect loop"),{url:e,params:{},route:{id:null}}),url:e,route:{id:null}})}else m.props.page.status>=400&&await $.updated.check()&&(await Re(),await tt(e,s));if(pn(),Ht(f),Ue(u),m.props.page.url.pathname!==e.pathname&&(e.pathname=m.props.page.url.pathname),i=n?n.state:i,!n){const E=s?0:1,H={[F]:R+=E,[X]:L+=E,[we]:i};(s?history.replaceState:history.pushState).call(history,H,"",e),s||dn(R,L)}const y=g&&(b==null?void 0:b.id)===g.id?b.fork:null;b=null,m.props.page.state=i;let x;if(yt){const E=(await Promise.all(Array.from(hn,M=>M(d.navigation)))).filter(M=>typeof M=="function");if(E.length>0){let M=function(){E.forEach(Ut=>{J.delete(Ut)})};E.push(M),E.forEach(Ut=>{J.add(Ut)})}const H=d.navigation.to;w={...m.state,nav:{params:H.params,route:H.route,url:H.url}},m.props.page&&(m.props.page.url=e);const Lt=y&&await y;Lt?x=Lt.commit():(W=null,Le.$set(m.props),W&&Object.assign(m.props.page,W),cn(m.props.page),x=(B=qe)==null?void 0:B()),xe=!0}else await Te(m,$t,!1);const{activeElement:C}=document;await x,await gt(),await gt();let N=null;if(se){const E=n?n.scroll:r?V():null;E?scrollTo(E.x,E.y):(N=e.hash&&document.getElementById(je(e)))?N.scrollIntoView():scrollTo(0,0)}const ht=document.activeElement!==C&&document.activeElement!==document.body;!a&&!ht&&Ln(e,!N),se=!0,m.props.page&&(W&&Object.assign(m.props.page,W),Object.assign(S,m.props.page)),et=!1,t==="popstate"&&Ae(L),d.fulfil(void 0),d.navigation.to&&(d.navigation.to.scroll=V()),J.forEach(E=>E(d.navigation)),$.navigating.set(Q.current=null)}async function $e(t,e,n,a,r){return t.origin===Et&&t.pathname===location.pathname&&!Se?await Jt({status:a,error:n,url:t,route:e}):await tt(t,r)}function kn(){let t,e={element:void 0,href:void 0},n;O.addEventListener("mousemove",o=>{const l=o.target;clearTimeout(t),t=setTimeout(()=>{s(l,q.hover)},20)});function a(o){o.defaultPrevented||s(o.composedPath()[0],q.tap)}O.addEventListener("mousedown",a),O.addEventListener("touchstart",a,{passive:!0});const r=new IntersectionObserver(o=>{for(const l of o)l.isIntersecting&&(It(new URL(l.target.href)),r.unobserve(l.target))},{threshold:0});async function s(o,l){const c=ye(o,O),p=c===e.element&&(c==null?void 0:c.href)===e.href&&l>=n;if(!c||p)return;const{url:h,external:_,download:g}=Ot(c,U,k.hash);if(_||g)return;const d=mt(c),f=h&&Rt(w.url)===Rt(h);if(!(d.reload||f))if(l<=d.preload_data){e={element:c,href:c.href},n=q.tap;const u=await xt(h,!1);if(!u)return;gn(u)}else l<=d.preload_code&&(e={element:c,href:c.href},n=l,It(h))}function i(){r.disconnect();for(const o of O.querySelectorAll("a")){const{url:l,external:c,download:p}=Ot(o,U,k.hash);if(c||p)continue;const h=mt(o);h.reload||(h.preload_code===q.viewport&&r.observe(o),h.preload_code===q.eager&&It(l))}}J.add(i),i()}function nt(t,e){if(t instanceof Dt)return t.body;const n=Gt(t),a=sn(t);return k.hooks.handleError({error:t,event:e,status:n,message:a})??{message:a}}function Dn(t,e={}){return t=new URL(Ft(t)),t.origin!==Et?Promise.reject(new Error("goto: invalid URL")):Pe(t,e,0)}function Rn(t){if(typeof t=="function")wt.push(t);else{const{href:e}=new URL(t,location.href);wt.push(n=>n.href===e)}}function En(){var e;history.scrollRestoration="manual",addEventListener("beforeunload",n=>{let a=!1;if(ce(),!et){const r=Xt(w,void 0,null,"leave"),s={...r.navigation,cancel:()=>{a=!0,r.reject(new Error("navigation cancelled"))}};Ee.forEach(i=>i(s))}a?(n.preventDefault(),n.returnValue=""):history.scrollRestoration="auto"}),addEventListener("visibilitychange",()=>{document.visibilityState==="hidden"&&ce()}),(e=navigator.connection)!=null&&e.saveData||kn(),O.addEventListener("click",async n=>{if(n.button||n.which!==1||n.metaKey||n.ctrlKey||n.shiftKey||n.altKey||n.defaultPrevented)return;const a=ye(n.composedPath()[0],O);if(!a)return;const{url:r,external:s,target:i,download:o}=Ot(a,U,k.hash);if(!r)return;if(i==="_parent"||i==="_top"){if(window.parent!==window)return}else if(i&&i!=="_self")return;const l=mt(a);if(!(a instanceof SVGAElement)&&r.protocol!==location.protocol&&!(r.protocol==="https:"||r.protocol==="http:")||o)return;const[p,h]=(k.hash?r.hash.replace(/^#/,""):r.href).split("#"),_=p===At(location);if(s||l.reload&&(!_||!h)){Ce({url:r,type:"link",event:n})?et=!0:n.preventDefault();return}if(h!==void 0&&_){const[,g]=w.url.href.split("#");if(g===h){if(n.preventDefault(),h===""||h==="top"&&a.ownerDocument.getElementById("top")===null)scrollTo({top:0});else{const d=a.ownerDocument.getElementById(decodeURIComponent(h));d&&(d.scrollIntoView(),d.focus())}return}if(Y=!0,Ht(R),t(r),!l.replace_state)return;Y=!1}n.preventDefault(),await new Promise(g=>{requestAnimationFrame(()=>{setTimeout(g,0)}),setTimeout(g,100)}),await G({type:"link",url:r,keepfocus:l.keepfocus,noscroll:l.noscroll,replace_state:l.replace_state??r.href===location.href,event:n})}),O.addEventListener("submit",n=>{if(n.defaultPrevented)return;const a=HTMLFormElement.prototype.cloneNode.call(n.target),r=n.submitter;if(((r==null?void 0:r.formTarget)||a.target)==="_blank"||((r==null?void 0:r.formMethod)||a.method)!=="get")return;const o=new URL((r==null?void 0:r.hasAttribute("formaction"))&&(r==null?void 0:r.formAction)||a.action);if(St(o,U,!1))return;const l=n.target,c=mt(l);if(c.reload)return;n.preventDefault(),n.stopPropagation();const p=new FormData(l,r);o.search=new URLSearchParams(p).toString(),G({type:"form",url:o,keepfocus:c.keepfocus,noscroll:c.noscroll,replace_state:c.replace_state??o.href===location.href,event:n})}),addEventListener("popstate",async n=>{var a;if(!Nt){if((a=n.state)!=null&&a[F]){const r=n.state[F];if(D={},r===R)return;const s=j[r],i=n.state[we]??{},o=new URL(n.state[nn]??location.href),l=n.state[X],c=w.url?At(location)===At(w.url):!1;if(l===L&&(xe||c)){i!==S.state&&(S.state=i),t(o),j[R]=V(),s&&scrollTo(s.x,s.y),R=r;return}const h=r-R;await G({type:"popstate",url:o,popped:{state:i,scroll:s,delta:h},accept:()=>{R=r,L=l},block:()=>{history.go(-h)},nav_token:D,event:n})}else if(!Y){const r=new URL(location.href);t(r),k.hash&&location.reload()}}}),addEventListener("hashchange",()=>{Y&&(Y=!1,history.replaceState({...history.state,[F]:++R,[X]:L},"",location.href))});for(const n of document.querySelectorAll("link"))un.has(n.rel)&&(n.href=n.href);addEventListener("pageshow",n=>{n.persisted&&$.navigating.set(Q.current=null)});function t(n){w.url=S.url=n,$.page.set(Qt(S)),$.page.notify()}}async function Sn(t,{status:e=200,error:n,node_ids:a,params:r,route:s,server_route:i,data:o,form:l}){Se=!0;const c=new URL(location.href);let p;({params:r={},route:s={id:null}}=await xt(c,!1)||{}),p=Mt.find(({id:g})=>g===s.id);let h,_=!0;try{const g=a.map(async(f,u)=>{const m=o[u];return m!=null&&m.uses&&(m.uses=xn(m.uses)),Yt({loader:k.nodes[f],url:c,params:r,route:s,parent:async()=>{const y={};for(let x=0;x<u;x+=1)Object.assign(y,(await g[x]).data);return y},server_data_node:zt(m)})}),d=await Promise.all(g);if(p){const f=p.layouts;for(let u=0;u<f.length;u++)f[u]||d.splice(u,0,void 0)}h=await kt({url:c,params:r,branch:d,status:e,error:n,errors:p==null?void 0:p.errors,form:l,route:p??null})}catch(g){if(g instanceof Bt){await tt(new URL(g.location,location.href));return}h=await Jt({status:Gt(g),error:await nt(g,{url:c,params:r,route:s}),url:c,route:s}),t.textContent="",_=!1}h.props.page&&(h.props.page.state={}),await Te(h,t,_)}function xn(t){return{dependencies:new Set((t==null?void 0:t.dependencies)??[]),params:new Set((t==null?void 0:t.params)??[]),parent:!!(t!=null&&t.parent),route:!!(t!=null&&t.route),url:!!(t!=null&&t.url),search_params:new Set((t==null?void 0:t.search_params)??[])}}let Nt=!1;function Ln(t,e=!0){const n=document.querySelector("[autofocus]");if(n)n.focus();else{const a=je(t);if(a&&document.getElementById(a)){const{x:s,y:i}=V();setTimeout(()=>{const o=history.state;Nt=!0,location.replace(new URL(`#${a}`,location.href)),history.replaceState(o,"",t),e&&scrollTo(s,i),Nt=!1})}else{const s=document.body,i=s.getAttribute("tabindex");s.tabIndex=-1,s.focus({preventScroll:!0,focusVisible:!1}),i!==null?s.setAttribute("tabindex",i):s.removeAttribute("tabindex")}const r=getSelection();if(r&&r.type!=="None"){const s=[];for(let i=0;i<r.rangeCount;i+=1)s.push(r.getRangeAt(i));setTimeout(()=>{if(r.rangeCount===s.length){for(let i=0;i<r.rangeCount;i+=1){const o=s[i],l=r.getRangeAt(i);if(o.commonAncestorContainer!==l.commonAncestorContainer||o.startContainer!==l.startContainer||o.endContainer!==l.endContainer||o.startOffset!==l.startOffset||o.endOffset!==l.endOffset)return}r.removeAllRanges()}})}}}function Xt(t,e,n,a,r=null){var c,p;let s,i;const o=new Promise((h,_)=>{s=h,i=_});return o.catch(()=>{}),{navigation:{from:{params:t.params,route:{id:((c=t.route)==null?void 0:c.id)??null},url:t.url,scroll:V()},to:n&&{params:(e==null?void 0:e.params)??null,route:{id:((p=e==null?void 0:e.route)==null?void 0:p.id)??null},url:n,scroll:r},willUnload:!e,type:a,complete:o},fulfil:s,reject:i}}function Qt(t){return{data:t.data,error:t.error,form:t.form,params:t.params,route:t.route,state:t.state,status:t.status,url:t.url}}function Un(t){const e=new URL(t);return e.hash=decodeURIComponent(t.hash),e}function je(t){let e;if(k.hash){const[,,n]=t.hash.split("#",3);e=n??""}else e=t.hash.slice(1);return decodeURIComponent(e)}export{qn as a,Dn as g,Cn as l,S as p,$ as s};
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import{c as q,a as o,f as h,t as yt}from"./BK3WtZwv.js";import{f as T,at as ft,b4 as oe,a4 as Ze,an as Oe,a5 as w,av as v,ax as d,aw as I,i as e,az as P,au as ht,aA as z,U as Ke,ay as zt}from"./BbWUOQ_m.js";import{d as bt,a as Ue,s as B,e as at,r as rt}from"./DMWEh-Ek.js";import{i as L}from"./Dt2CddFe.js";import{e as et,i as xt}from"./BQqoDzLx.js";import{c as He}from"./DFuhmi31.js";import{a as Qe,s as M,d as Ve}from"./B2Q1a1-H.js";import{l as ye,s as ze,p as R}from"./xtNWTdbD.js";import{a as st}from"./CBY2biv-.js";import{s as nt}from"./tB7QMF3U.js";import{w as mt}from"./D5GvRCv7.js";import{I as be,P as $t,a as Pt,b as kt,c as Mt,d as Lt,D as Dt}from"./mW5RwvnK.js";import"./lk5LaiqA.js";import{s as xe}from"./B-OsL1Ct.js";function ot(m,t){const u=ye(t,["children","$$slots","$$events","$$legacy"]);/**
|
|
2
|
+
* @license lucide-svelte v0.460.1 - ISC
|
|
3
|
+
*
|
|
4
|
+
* This source code is licensed under the ISC license.
|
|
5
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
6
|
+
*/const l=[["path",{d:"M4 11a9 9 0 0 1 9 9"}],["path",{d:"M4 4a16 16 0 0 1 16 16"}],["circle",{cx:"5",cy:"19",r:"1"}]];be(m,ze({name:"rss"},()=>u,{get iconNode(){return l},children:(p,F)=>{var g=q(),f=T(g);xe(f,t,"default",{}),o(p,g)},$$slots:{default:!0}}))}function it(m,t){const u=ye(t,["children","$$slots","$$events","$$legacy"]);/**
|
|
7
|
+
* @license lucide-svelte v0.460.1 - ISC
|
|
8
|
+
*
|
|
9
|
+
* This source code is licensed under the ISC license.
|
|
10
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
11
|
+
*/const l=[["path",{d:"M15.39 4.39a1 1 0 0 0 1.68-.474 2.5 2.5 0 1 1 3.014 3.015 1 1 0 0 0-.474 1.68l1.683 1.682a2.414 2.414 0 0 1 0 3.414L19.61 15.39a1 1 0 0 1-1.68-.474 2.5 2.5 0 1 0-3.014 3.015 1 1 0 0 1 .474 1.68l-1.683 1.682a2.414 2.414 0 0 1-3.414 0L8.61 19.61a1 1 0 0 0-1.68.474 2.5 2.5 0 1 1-3.014-3.015 1 1 0 0 0 .474-1.68l-1.683-1.682a2.414 2.414 0 0 1 0-3.414L4.39 8.61a1 1 0 0 1 1.68.474 2.5 2.5 0 1 0 3.014-3.015 1 1 0 0 1-.474-1.68l1.683-1.682a2.414 2.414 0 0 1 3.414 0z"}]];be(m,ze({name:"puzzle"},()=>u,{get iconNode(){return l},children:(p,F)=>{var g=q(),f=T(g);xe(f,t,"default",{}),o(p,g)},$$slots:{default:!0}}))}function St(m,t){const u=ye(t,["children","$$slots","$$events","$$legacy"]);/**
|
|
12
|
+
* @license lucide-svelte v0.460.1 - ISC
|
|
13
|
+
*
|
|
14
|
+
* This source code is licensed under the ISC license.
|
|
15
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
16
|
+
*/const l=[["path",{d:"M18 6 6 18"}],["path",{d:"m6 6 12 12"}]];be(m,ze({name:"x"},()=>u,{get iconNode(){return l},children:(p,F)=>{var g=q(),f=T(g);xe(f,t,"default",{}),o(p,g)},$$slots:{default:!0}}))}function lt(m){const t=m.trim();if(!t)return"";const u=t.charAt(0);return/[a-z0-9\u4e00-\u9fff]/i.test(u)?u.toUpperCase():""}function _t(m,t){const u=l=>{const p=l==null?void 0:l.trim();if(!p)return"";try{return new URL(p.startsWith("http")?p:`https://${p}`).hostname.replace(/^www\./i,"")||""}catch{return""}};return u(m)||u(t||"")}function wt(m){if(!m)return"";const t=m.charAt(0);return/[a-z0-9\u4e00-\u9fff]/i.test(t)?t.toUpperCase():""}function Rt(m,t,u,l){const p=_t(m,t),F=wt(p);if(F)return F;if(u&&u.length>0){const f=lt(u[0].name);if(f)return f}if(l){const f=lt(l);if(f)return f}const g=(t||"").trim();if(g){const f=g.charAt(0);return/[a-z0-9\u4e00-\u9fff]/i.test(f)?f.toUpperCase():"?"}return"?"}function Ht(m){return m?`/api/feed-favicon?domain=${encodeURIComponent(m)}`:""}function Nt(m){let t=2166136261;for(let p=0;p<m.length;p++)t^=m.charCodeAt(p),t=Math.imul(t,16777619);return`hsl(${(t>>>0)%360} 46% 46%)`}function At(m){const t=m.link||"",u=m.sourceRef,{author:l,authors:p,guid:F,title:g}=m,f=_t(t,u),G=Ht(f),ie=Rt(t,u,p,l),N=(F||[t,u,g,l,p==null?void 0:p.map(C=>C.name).join("|")].filter(Boolean).join("|")||ie).trim(),j=Nt(N||"feed");return{siteHost:f,faviconSrc:G,letter:ie,avatarSeed:N,avatarBg:j}}var It=h('<img alt="" class="feed-card-favicon svelte-1dgd2z5" width="26" height="26" loading="lazy" decoding="async"/>'),Tt=h('<span class="feed-card-icon-letter svelte-1dgd2z5" aria-hidden="true"> </span>'),Ft=h('<a data-sveltekit-preload-data="hover"><!></a>'),Ct=h('<img alt="" class="feed-card-favicon svelte-1dgd2z5" width="26" height="26" loading="lazy" decoding="async"/>'),Ut=h('<span class="feed-card-icon-letter svelte-1dgd2z5" aria-hidden="true"> </span>'),Et=h('<div role="img"><!></div>'),Bt=h('<span class="feed-card-author-sep svelte-1dgd2z5">、</span>'),jt=h('<a class="feed-card-author-link svelte-1dgd2z5"> </a><!>',1),Ot=h('<a class="feed-card-author-link svelte-1dgd2z5"> </a>'),qt=h('<span class="feed-card-author-plain svelte-1dgd2z5"> </span>'),Xt=h('<span class="feed-card-author-empty svelte-1dgd2z5">未署名</span>'),Gt=h('<time class="feed-card-time svelte-1dgd2z5"> </time>'),Jt=h('<a class="feed-card-title svelte-1dgd2z5" target="_blank" rel="noopener noreferrer"> </a>'),Wt=h('<span class="feed-card-title feed-card-title-text svelte-1dgd2z5"> </span>'),Yt=h('<div class="feed-card-title-row svelte-1dgd2z5"><!></div>'),Kt=h('<a class="feed-card-summary-link svelte-1dgd2z5" target="_blank" rel="noopener noreferrer" title="打开原文"><p class="feed-card-summary svelte-1dgd2z5"> </p></a>'),Qt=h('<p class="feed-card-summary svelte-1dgd2z5"> </p>'),Vt=h('<a class="feed-card-open-original svelte-1dgd2z5" target="_blank" rel="noopener noreferrer">查看原文</a>'),Zt=h('<a class="feed-card-media-anchor svelte-1dgd2z5" target="_blank" rel="noopener noreferrer" title="打开原文"><img alt="" class="feed-card-media-img svelte-1dgd2z5" loading="lazy" decoding="async"/></a>'),ea=h('<img alt="" class="feed-card-media-img svelte-1dgd2z5" loading="lazy" decoding="async"/>'),ta=h('<div class="feed-card-media svelte-1dgd2z5"><!></div>'),aa=h('<div class="ctx-menu-backdrop svelte-1dgd2z5" role="presentation"><div class="ctx-menu svelte-1dgd2z5" role="menu" tabindex="-1"><button class="ctx-menu-item ctx-delete svelte-1dgd2z5" type="button">删除</button></div></div>'),ra=h('<div role="article"><div class="feed-card-aside svelte-1dgd2z5"><!></div> <div class="feed-card-main svelte-1dgd2z5"><div class="feed-card-author-line svelte-1dgd2z5"><span class="feed-card-author svelte-1dgd2z5"><!></span> <!></div> <!> <!> <!></div></div> <!>',1);function ct(m,t){ft(t,!0);let u=R(t,"title",3,""),l=R(t,"link",3,""),p=R(t,"summary",3,void 0),F=R(t,"content",3,void 0),g=R(t,"author",3,void 0),f=R(t,"pubDate",3,void 0),G=R(t,"sourceRef",3,void 0),ie=R(t,"sourceHref",3,void 0),N=R(t,"authorHref",3,void 0),j=R(t,"authors",3,void 0),C=R(t,"guid",3,void 0),X=R(t,"coverImg",3,void 0),W=R(t,"onDelete",3,void 0),Y=oe(Ze({show:!1,x:0,y:0})),le=oe(!1);function Ee(r){return r.replace(/<script\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>/gi,"").replace(/<style\b[^<]*(?:(?!<\/style>)<[^<]*)*<\/style>/gi,"").replace(/<[^>]+>/g," ").replace(/\s+/g," ").trim()}function Be(r){if(!r)return"";const s=new Date(r);if(Number.isNaN(s.getTime()))return"";const i=Date.now()-s.getTime(),c=s.toLocaleDateString("en-US",{year:"numeric",month:"short",day:"numeric"});if(i<0)return c;const n=Math.floor(i/36e5),a=Math.floor(i/864e5);return a>=7?c:a>=1?`${a} day${a===1?"":"s"} ago`:n>=1?`${n} hour${n===1?"":"s"} ago`:"just now"}Oe(()=>{l(),G(),w(le,!1)});const $e=z(()=>At({link:l()||"",sourceRef:G(),author:g(),authors:j(),guid:C(),title:u()})),Pe=z(()=>e($e).siteHost),ke=z(()=>e($e).faviconSrc),K=z(()=>!!(e(ke)&&!e(le))),Ne=z(()=>e($e).letter),Ae=z(()=>e($e).avatarBg),Ie=z(()=>{var r,s;return(((r=F())==null?void 0:r.trim())||((s=p())==null?void 0:s.trim())||"").trim()}),ce=z(()=>e(Ie)?Ee(e(Ie)):""),Te=z(()=>{var r;return!!((r=u())!=null&&r.trim())}),qe=z(()=>!!(l()&&!e(Te)&&e(ce)));function Xe(r){!C()||!W()||(r.preventDefault(),w(Y,{show:!0,x:r.clientX,y:r.clientY},!0))}function b(){w(Y,{...e(Y),show:!1},!0)}function D(){C()&&W()&&(W()(C()),b())}var S=ra(),A=T(S);let Q;var V=v(A),Z=v(V);{var ee=r=>{var s=Ft();let x,i;var c=v(s);{var n=_=>{var $=It();P(()=>M($,"src",e(ke))),at("error",$,()=>w(le,!0)),rt($),o(_,$)},a=_=>{var $=Tt(),J=v($,!0);d($),P(()=>B(J,e(Ne))),o(_,$)};L(c,_=>{e(K)?_(n):_(a,-1)})}d(s),P(()=>{x=Qe(s,1,"feed-card-icon svelte-1dgd2z5",null,x,{"feed-card-icon--favicon":e(K)}),M(s,"href",ie()),M(s,"title",G()||e(Pe)||"筛选该来源"),i=Ve(s,"",i,{"background-color":e(K)?"var(--color-muted)":e(Ae),color:"#fff"})}),o(r,s)},de=r=>{var s=Et();let x,i;var c=v(s);{var n=_=>{var $=Ct();P(()=>M($,"src",e(ke))),at("error",$,()=>w(le,!0)),rt($),o(_,$)},a=_=>{var $=Ut(),J=v($,!0);d($),P(()=>B(J,e(Ne))),o(_,$)};L(c,_=>{e(K)?_(n):_(a,-1)})}d(s),P(()=>{x=Qe(s,1,"feed-card-icon svelte-1dgd2z5",null,x,{"feed-card-icon--favicon":e(K)}),M(s,"title",G()||e(Pe)||"来源"),M(s,"aria-label",G()||e(Pe)||"来源"),i=Ve(s,"",i,{"background-color":e(K)?"var(--color-muted)":e(Ae),color:"#fff"})}),o(r,s)};L(Z,r=>{ie()?r(ee):r(de,-1)})}d(V);var se=I(V,2),te=v(se),ne=v(te),ve=v(ne);{var Me=r=>{var s=q(),x=T(s);et(x,17,j,xt,(i,c,n)=>{var a=jt(),_=T(a),$=v(_,!0);d(_);var J=I(_);{var H=re=>{var Fe=Bt();o(re,Fe)};L(J,re=>{n<j().length-1&&re(H)})}P(()=>{M(_,"href",e(c).href),B($,e(c).name)}),o(i,a)}),o(r,s)},ue=r=>{var s=q(),x=T(s);{var i=n=>{var a=Ot(),_=v(a,!0);d(a),P(()=>{M(a,"href",N()),B(_,g())}),o(n,a)},c=n=>{var a=qt(),_=v(a,!0);d(a),P(()=>B(_,g())),o(n,a)};L(x,n=>{N()?n(i):n(c,-1)})}o(r,s)},Le=r=>{var s=Xt();o(r,s)};L(ve,r=>{j()&&j().length>0?r(Me):g()?r(ue,1):r(Le,-1)})}d(ne);var fe=I(ne,2);{var he=r=>{var s=Gt(),x=v(s,!0);d(s),P(i=>{M(s,"datetime",f()),M(s,"title",f()),B(x,i)},[()=>Be(f())]),o(r,s)};L(fe,r=>{f()&&r(he)})}d(te);var De=I(te,2);{var je=r=>{var s=Yt(),x=v(s);{var i=n=>{var a=Jt(),_=v(a,!0);d(a),P(()=>{M(a,"href",l()),B(_,u())}),o(n,a)},c=n=>{var a=Wt(),_=v(a,!0);d(a),P(()=>B(_,u())),o(n,a)};L(x,n=>{l()?n(i):n(c,-1)})}d(s),o(r,s)};L(De,r=>{e(Te)&&r(je)})}var ae=I(De,2);{var me=r=>{var s=q(),x=T(s);{var i=n=>{var a=Kt(),_=v(a),$=v(_,!0);d(_),d(a),P(()=>{M(a,"href",l()),B($,e(ce))}),o(n,a)},c=n=>{var a=Qt(),_=v(a,!0);d(a),P(()=>B(_,e(ce))),o(n,a)};L(x,n=>{e(qe)?n(i):n(c,-1)})}o(r,s)},_e=r=>{var s=Vt();P(()=>M(s,"href",l())),o(r,s)};L(ae,r=>{e(ce)?r(me):l()&&!e(Te)&&r(_e,1)})}var ge=I(ae,2);{var pe=r=>{var s=ta(),x=v(s);{var i=n=>{var a=Zt(),_=v(a);d(a),P(()=>{M(a,"href",l()),M(_,"src",X())}),o(n,a)},c=n=>{var a=ea();P(()=>M(a,"src",X())),o(n,a)};L(x,n=>{l()?n(i):n(c,-1)})}d(s),o(r,s)};L(ge,r=>{X()&&r(pe)})}d(se),d(A);var Se=I(A,2);{var we=r=>{var s=aa(),x=v(s);let i;var c=v(x);d(x),d(s),P(()=>i=Ve(x,"",i,{left:`${e(Y).x}px`,top:`${e(Y).y}px`})),Ue("click",s,b),Ue("click",x,n=>n.stopPropagation()),Ue("keydown",x,n=>n.stopPropagation()),Ue("click",c,D),o(r,s)};L(Se,r=>{e(Y).show&&C()&&W()&&r(we)})}P(()=>Q=Qe(A,1,"feed-card svelte-1dgd2z5",null,Q,{"ctx-deletable":!!C()&&!!W()})),Ue("contextmenu",A,Xe),o(m,S),ht()}bt(["contextmenu","click","keydown"]);function sa(m,t){const u=ye(t,["children","$$slots","$$events","$$legacy"]);/**
|
|
17
|
+
* @license lucide-svelte v0.460.1 - ISC
|
|
18
|
+
*
|
|
19
|
+
* This source code is licensed under the ISC license.
|
|
20
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
21
|
+
*/const l=[["path",{d:"M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8"}],["path",{d:"M21 3v5h-5"}],["path",{d:"M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16"}],["path",{d:"M8 16H3v5"}]];be(m,ze({name:"refresh-cw"},()=>u,{get iconNode(){return l},children:(p,F)=>{var g=q(),f=T(g);xe(f,t,"default",{}),o(p,g)},$$slots:{default:!0}}))}function dt(m,t){const u=ye(t,["children","$$slots","$$events","$$legacy"]);/**
|
|
22
|
+
* @license lucide-svelte v0.460.1 - ISC
|
|
23
|
+
*
|
|
24
|
+
* This source code is licensed under the ISC license.
|
|
25
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
26
|
+
*/const l=[["circle",{cx:"12",cy:"12",r:"10"}],["path",{d:"M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20"}],["path",{d:"M2 12h20"}]];be(m,ze({name:"globe"},()=>u,{get iconNode(){return l},children:(p,F)=>{var g=q(),f=T(g);xe(f,t,"default",{}),o(p,g)},$$slots:{default:!0}}))}function vt(m,t){const u=ye(t,["children","$$slots","$$events","$$legacy"]);/**
|
|
27
|
+
* @license lucide-svelte v0.460.1 - ISC
|
|
28
|
+
*
|
|
29
|
+
* This source code is licensed under the ISC license.
|
|
30
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
31
|
+
*/const l=[["rect",{width:"20",height:"16",x:"2",y:"4",rx:"2"}],["path",{d:"m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7"}]];be(m,ze({name:"mail"},()=>u,{get iconNode(){return l},children:(p,F)=>{var g=q(),f=T(g);xe(f,t,"default",{}),o(p,g)},$$slots:{default:!0}}))}function ut(m,t){const u=ye(t,["children","$$slots","$$events","$$legacy"]);/**
|
|
32
|
+
* @license lucide-svelte v0.460.1 - ISC
|
|
33
|
+
*
|
|
34
|
+
* This source code is licensed under the ISC license.
|
|
35
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
36
|
+
*/const l=[["path",{d:"M9.937 15.5A2 2 0 0 0 8.5 14.063l-6.135-1.582a.5.5 0 0 1 0-.962L8.5 9.936A2 2 0 0 0 9.937 8.5l1.582-6.135a.5.5 0 0 1 .963 0L14.063 8.5A2 2 0 0 0 15.5 9.937l6.135 1.581a.5.5 0 0 1 0 .964L15.5 14.063a2 2 0 0 0-1.437 1.437l-1.582 6.135a.5.5 0 0 1-.963 0z"}],["path",{d:"M20 3v4"}],["path",{d:"M22 5h-4"}],["path",{d:"M4 17v2"}],["path",{d:"M5 18H3"}]];be(m,ze({name:"sparkles"},()=>u,{get iconNode(){return l},children:(p,F)=>{var g=q(),f=T(g);xe(f,t,"default",{}),o(p,g)},$$slots:{default:!0}}))}const tt=mt({});function Fa(m,t){tt.update(u=>({...u,[m]:t}))}function Ca(m){tt.update(t=>{const u={...t};return delete u[m],u})}var na=h('<span class="source-sheet-meta-icon svelte-ypseth"><!></span>'),oa=h('<span class="source-sheet-proxy svelte-ypseth" aria-label="已配置代理"><!></span>'),ia=h('<div class="source-sheet-state svelte-ypseth">加载中…</div>'),la=h('<div class="source-sheet-state err svelte-ypseth"> </div>'),ca=h('<div class="source-sheet-state svelte-ypseth">暂无条目</div>'),da=h('<div class="source-feed-cards svelte-ypseth"></div>'),va=h('<header class="source-sheet-header svelte-ypseth"><div class="source-sheet-title-wrap svelte-ypseth"><div class="source-sheet-title-row svelte-ypseth"><div class="source-sheet-title-cluster svelte-ypseth"><!> <div class="source-sheet-header-icons svelte-ypseth"><!> <!></div></div></div> <p class="source-sheet-sub source-sheet-sub-desc svelte-ypseth"> </p></div> <!></header> <div class="source-sheet-body svelte-ypseth"><!></div>',1),ua=h("<!> <!>",1),fa=h('<span class="source-sheet-meta-icon svelte-ypseth"><!></span>'),ha=h('<span class="source-sheet-proxy svelte-ypseth" aria-label="已配置代理"><!></span>'),ma=h('<div class="source-sheet-pull-status svelte-ypseth" title="拉取中…" aria-live="polite"><!></div>'),_a=h('<div class="source-sheet-state svelte-ypseth">加载中…</div>'),ga=h('<div class="source-sheet-state err svelte-ypseth"> </div>'),pa=h('<div class="source-sheet-state svelte-ypseth">暂无条目</div>'),ya=h('<div class="source-feed-cards svelte-ypseth"></div>'),za=h('<header class="source-sheet-header source-sheet-header-inline svelte-ypseth"><div class="source-sheet-title-wrap svelte-ypseth"><div class="source-sheet-title-row svelte-ypseth"><div class="source-sheet-title-cluster svelte-ypseth"><h2 class="source-sheet-title svelte-ypseth"> </h2> <div class="source-sheet-header-icons svelte-ypseth"><!> <!></div></div></div> <p class="source-sheet-sub source-sheet-sub-desc svelte-ypseth"> </p></div> <!></header> <div class="source-sheet-body svelte-ypseth"><!></div>',1),ba=h('<div class="source-sheet-inline-empty svelte-ypseth"><p class="source-sheet-inline-empty-title svelte-ypseth">信源条目</p> <p class="source-sheet-inline-empty-hint svelte-ypseth">在左侧列表中点击某一信源,在此查看已拉取的条目。</p></div>'),xa=h('<aside class="source-feed-panel-inline svelte-ypseth" aria-label="信源条目列表"><!></aside>');function Ua(m,t){ft(t,!0);let u=R(t,"open",3,!1),l=R(t,"sourceRef",3,""),p=R(t,"sourceLabel",3,""),F=R(t,"sourceDescription",3,""),g=R(t,"sourceProxy",3,""),f=R(t,"sourceParseHint",3,null),G=R(t,"variant",3,"overlay"),ie=R(t,"onOpenChange",3,()=>{}),N=oe(Ze([])),j=oe(!1),C=oe(""),X=oe(0),W=oe(null),Y=oe(Ze({}));Oe(()=>{const b=tt.subscribe(D=>{w(Y,D,!0)});return()=>b()});async function le(){const b=l().trim();if(!b){w(N,[],!0);return}w(X,e(X)+1);const D=e(X);w(j,!0),w(C,"");try{const S=new URLSearchParams;S.set("ref",b),S.set("limit","100"),S.set("offset","0");const A=await st("/api/items?"+S.toString());if(D!==e(X))return;if(!A.ok)throw new Error(await A.text().catch(()=>`HTTP ${A.status}`));const Q=await A.json();w(N,Array.isArray(Q.items)?Q.items:[],!0)}catch(S){if(D!==e(X))return;w(C,S instanceof Error?S.message:String(S),!0),w(N,[],!0)}finally{D===e(X)&&w(j,!1)}}Oe(()=>{if(u()&&l()){if(!l().trim()){w(N,[],!0);return}Ke(()=>void le())}else u()||Ke(()=>{w(X,e(X)+1),w(N,[],!0),w(C,""),w(j,!1)})});function Ee(b){const D=b.author;if(D!=null&&D.length)return D.join(", ")}function Be(b){$e(b)}async function $e(b){const D=b.trim();if(!(!D||e(W))){w(W,D,!0);try{const S=await st("/api/items/"+encodeURIComponent(D),{method:"DELETE"});if(!S.ok){const A=await S.text().catch(()=>"");throw new Error(A.trim()||`HTTP ${S.status}`)}w(N,e(N).filter(A=>A.id!==D),!0),nt("已删除该条目","success")}catch(S){nt(S instanceof Error?S.message:String(S),"error")}finally{w(W,null)}}}const Pe=z(()=>F().trim()?F().trim():"—"),ke=z(()=>[p(),l()].filter(Boolean).join(" · ")||void 0),K=z(()=>G()==="inline"&&u()&&l().trim()!==""&&l()in e(Y));let Ne=!1;Oe(()=>{const b=e(K);Ne&&!b&&u()&&G()==="inline"&&l().trim()&&Ke(()=>void le()),Ne=b});function Ae(b){switch(b){case"rss":return"标准 RSS/Atom/JSON Feed(内置 __rss__)";case"plugin":return"Site 插件(listUrlPattern)或语鲸协议(lingowhale://)";case"llm":return"通用网页列表:LLM 解析(generic)";case"email":return"内置 IMAP 邮件插件(__email__)";default:return""}}function Ie(b){switch(b){case"rss":return"解析方式:RSS/Atom";case"plugin":return"解析方式:插件";case"llm":return"解析方式:LLM";case"email":return"解析方式:邮箱";default:return"解析方式"}}var ce=q(),Te=T(ce);{var qe=b=>{var D=q(),S=T(D);He(S,()=>Dt,(A,Q)=>{Q(A,{get open(){return u()},onOpenChange:V=>ie()(V),children:(V,Z)=>{var ee=q(),de=T(ee);He(de,()=>$t,(se,te)=>{te(se,{children:(ne,ve)=>{var Me=ua(),ue=T(Me);He(ue,()=>Pt,(fe,he)=>{he(fe,{class:"source-sheet-overlay"})});var Le=I(ue,2);He(Le,()=>kt,(fe,he)=>{he(fe,{class:"source-sheet-panel","aria-describedby":void 0,children:(De,je)=>{var ae=va(),me=T(ae),_e=v(me),ge=v(_e),pe=v(ge),Se=v(pe);He(Se,()=>Mt,(y,k)=>{k(y,{class:"source-sheet-title",get title(){return e(ke)},children:(O,U)=>{zt();var Re=yt();P(()=>B(Re,p()||l()||"信源条目")),o(O,Re)},$$slots:{default:!0}})});var we=I(Se,2),r=v(we);{var s=y=>{var k=na(),O=v(k);{var U=E=>{ot(E,{size:16,class:"source-sheet-meta-icon-svg"})},Re=E=>{it(E,{size:16,class:"source-sheet-meta-icon-svg"})},Je=E=>{ut(E,{size:16,class:"source-sheet-meta-icon-svg"})},We=E=>{vt(E,{size:16,class:"source-sheet-meta-icon-svg"})};L(O,E=>{f()==="rss"?E(U):f()==="plugin"?E(Re,1):f()==="llm"?E(Je,2):f()==="email"&&E(We,3)})}d(k),P((E,Ye)=>{M(k,"title",`解析方式:${E??""}`),M(k,"aria-label",Ye)},[()=>Ae(f()),()=>Ie(f())]),o(y,k)};L(r,y=>{f()&&y(s)})}var x=I(r,2);{var i=y=>{var k=oa(),O=v(k);dt(O,{size:16,class:"source-sheet-proxy-globe","aria-hidden":"true"}),d(k),P(U=>M(k,"title",`代理:${U??""}`),[()=>g().trim()]),o(y,k)},c=z(()=>g().trim());L(x,y=>{e(c)&&y(i)})}d(we),d(pe),d(ge);var n=I(ge,2),a=v(n,!0);d(n),d(_e);var _=I(_e,2);He(_,()=>Lt,(y,k)=>{k(y,{class:"source-sheet-close","aria-label":"关闭",children:(O,U)=>{St(O,{size:18})},$$slots:{default:!0}})}),d(me);var $=I(me,2),J=v($);{var H=y=>{var k=ia();o(y,k)},re=y=>{var k=la(),O=v(k,!0);d(k),P(()=>B(O,e(C))),o(y,k)},Fe=y=>{var k=ca();o(y,k)},Ge=y=>{var k=da();et(k,21,()=>e(N),O=>O.id,(O,U)=>{{let Re=z(()=>{var Ce;return((Ce=e(U).title)==null?void 0:Ce.trim())||""}),Je=z(()=>e(U).summary??void 0),We=z(()=>e(U).content??void 0),E=z(()=>Ee(e(U))),Ye=z(()=>e(U).pub_date||e(U).fetched_at),gt=z(()=>l().trim()),pt=z(()=>{var Ce;return(Ce=e(U).image_url)!=null&&Ce.trim()?e(U).image_url:void 0});ct(O,{get title(){return e(Re)},get link(){return e(U).url},get summary(){return e(Je)},get content(){return e(We)},get author(){return e(E)},get pubDate(){return e(Ye)},get sourceRef(){return e(gt)},get coverImg(){return e(pt)},get guid(){return e(U).id},onDelete:Be})}}),d(k),o(y,k)};L(J,y=>{e(j)&&e(N).length===0?y(H):e(C)?y(re,1):e(N).length===0?y(Fe,2):y(Ge,-1)})}d($),P(()=>{M(n,"title",l()),B(a,e(Pe))}),o(De,ae)},$$slots:{default:!0}})}),o(ne,Me)},$$slots:{default:!0}})}),o(V,ee)},$$slots:{default:!0}})}),o(b,D)},Xe=b=>{var D=xa(),S=v(D);{var A=Z=>{var ee=za(),de=T(ee),se=v(de),te=v(se),ne=v(te),ve=v(ne),Me=v(ve,!0);d(ve);var ue=I(ve,2),Le=v(ue);{var fe=i=>{var c=fa(),n=v(c);{var a=H=>{ot(H,{size:16,class:"source-sheet-meta-icon-svg"})},_=H=>{it(H,{size:16,class:"source-sheet-meta-icon-svg"})},$=H=>{ut(H,{size:16,class:"source-sheet-meta-icon-svg"})},J=H=>{vt(H,{size:16,class:"source-sheet-meta-icon-svg"})};L(n,H=>{f()==="rss"?H(a):f()==="plugin"?H(_,1):f()==="llm"?H($,2):f()==="email"&&H(J,3)})}d(c),P((H,re)=>{M(c,"title",`解析方式:${H??""}`),M(c,"aria-label",re)},[()=>Ae(f()),()=>Ie(f())]),o(i,c)};L(Le,i=>{f()&&i(fe)})}var he=I(Le,2);{var De=i=>{var c=ha(),n=v(c);dt(n,{size:16,class:"source-sheet-proxy-globe","aria-hidden":"true"}),d(c),P(a=>M(c,"title",`代理:${a??""}`),[()=>g().trim()]),o(i,c)},je=z(()=>g().trim());L(he,i=>{e(je)&&i(De)})}d(ue),d(ne),d(te);var ae=I(te,2),me=v(ae,!0);d(ae),d(se);var _e=I(se,2);{var ge=i=>{var c=ma(),n=v(c);sa(n,{size:18}),d(c),o(i,c)};L(_e,i=>{e(K)&&i(ge)})}d(de);var pe=I(de,2),Se=v(pe);{var we=i=>{var c=_a();o(i,c)},r=i=>{var c=ga(),n=v(c,!0);d(c),P(()=>B(n,e(C))),o(i,c)},s=i=>{var c=pa();o(i,c)},x=i=>{var c=ya();et(c,21,()=>e(N),n=>n.id,(n,a)=>{{let _=z(()=>{var y;return((y=e(a).title)==null?void 0:y.trim())||""}),$=z(()=>e(a).summary??void 0),J=z(()=>e(a).content??void 0),H=z(()=>Ee(e(a))),re=z(()=>e(a).pub_date||e(a).fetched_at),Fe=z(()=>l().trim()),Ge=z(()=>{var y;return(y=e(a).image_url)!=null&&y.trim()?e(a).image_url:void 0});ct(n,{get title(){return e(_)},get link(){return e(a).url},get summary(){return e($)},get content(){return e(J)},get author(){return e(H)},get pubDate(){return e(re)},get sourceRef(){return e(Fe)},get coverImg(){return e(Ge)},get guid(){return e(a).id},onDelete:Be})}}),d(c),o(i,c)};L(Se,i=>{e(j)&&e(N).length===0?i(we):e(C)?i(r,1):e(N).length===0?i(s,2):i(x,-1)})}d(pe),P(()=>{M(ve,"title",e(ke)),B(Me,p()||l()||"信源条目"),M(ae,"title",l()),B(me,e(Pe))}),o(Z,ee)},Q=z(()=>u()&&l().trim()),V=Z=>{var ee=ba();o(Z,ee)};L(S,Z=>{e(Q)?Z(A):Z(V,-1)})}d(D),o(b,D)};L(Te,b=>{G()==="overlay"?b(qe):b(Xe,-1)})}o(m,ce),ht()}const Ea=mt(null);export{vt as M,it as P,ot as R,Ua as S,ut as a,sa as b,Ca as c,Ea as h,tt as r,Fa as s};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{s as e}from"./
|
|
1
|
+
import{s as e}from"./5LVkDJzw.js";const r=()=>{const s=e;return{page:{subscribe:s.page.subscribe},navigating:{subscribe:s.navigating.subscribe},updated:s.updated}},b={subscribe(s){return r().page.subscribe(s)}};export{b as p};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{c as _,a as s,f as g}from"./BK3WtZwv.js";import"./lk5LaiqA.js";import{at as d,aC as b,aD as h,f as v,au as $,a5 as k,i as n,z as y,az as B}from"./BbWUOQ_m.js";import{s as z,a as j}from"./DjNLq3TF.js";import{i as x}from"./Dt2CddFe.js";import{s as C}from"./B2Q1a1-H.js";import{i as D}from"./CVzlFH44.js";import{p as H}from"./
|
|
1
|
+
import{c as _,a as s,f as g}from"./BK3WtZwv.js";import"./lk5LaiqA.js";import{at as d,aC as b,aD as h,f as v,au as $,a5 as k,i as n,z as y,az as B}from"./BbWUOQ_m.js";import{s as z,a as j}from"./DjNLq3TF.js";import{i as x}from"./Dt2CddFe.js";import{s as C}from"./B2Q1a1-H.js";import{i as D}from"./CVzlFH44.js";import{p as H}from"./Bu9HsS-V.js";var P=g('<a class="back-to-parent admin-toolbar-btn admin-toolbar-btn--secondary svelte-1md38m6" data-sveltekit-preload-data="hover" aria-label="返回上一层">返回</a>');function I(i,p){d(p,!1);const r=()=>j(H,"$page",f),[f,l]=z(),e=y();function m(t){const a=t.split("/").filter(Boolean);return a.length===0?null:a.length===1?a[0]==="admin"?null:a[0]==="plugins"||a[0]==="logs"?"/":null:(a.pop(),"/"+a.join("/"))}b(()=>r(),()=>{k(e,m(r().url.pathname))}),h(),D();var o=_(),c=v(o);{var u=t=>{var a=P();B(()=>C(a,"href",n(e))),s(t,a)};x(c,t=>{n(e)&&t(u)})}s(i,o),$(),l()}export{I as B};
|