dsh-life-pack 0.3.85 → 0.3.87

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.
Files changed (74) hide show
  1. package/dist/base-ui.d.ts +25 -0
  2. package/dist/base-ui.d.ts.map +1 -0
  3. package/dist/base-ui.js +67 -0
  4. package/dist/base-ui.js.map +1 -0
  5. package/dist/client.js +3201 -380
  6. package/dist/client.js.map +1 -1
  7. package/dist/config-panel-contract.d.ts +4 -1
  8. package/dist/config-panel-contract.d.ts.map +1 -1
  9. package/dist/config-panel-contract.js +4 -1
  10. package/dist/config-panel-contract.js.map +1 -1
  11. package/dist/config-panel-value.d.ts.map +1 -1
  12. package/dist/config-panel-value.js +18 -11
  13. package/dist/config-panel-value.js.map +1 -1
  14. package/dist/config-panel-view.d.ts +2 -0
  15. package/dist/config-panel-view.d.ts.map +1 -1
  16. package/dist/config-panel-view.js +48 -41
  17. package/dist/config-panel-view.js.map +1 -1
  18. package/dist/config-panel.d.ts.map +1 -1
  19. package/dist/config-panel.js +4 -3
  20. package/dist/config-panel.js.map +1 -1
  21. package/dist/directory-browser-contract.d.ts +0 -1
  22. package/dist/directory-browser-contract.d.ts.map +1 -1
  23. package/dist/directory-browser-contract.js +12 -8
  24. package/dist/directory-browser-contract.js.map +1 -1
  25. package/dist/directory-browser-parts.d.ts.map +1 -1
  26. package/dist/directory-browser-parts.js +13 -8
  27. package/dist/directory-browser-parts.js.map +1 -1
  28. package/dist/directory-browser-state.d.ts.map +1 -1
  29. package/dist/directory-browser-state.js +7 -3
  30. package/dist/directory-browser-state.js.map +1 -1
  31. package/dist/entries/en.d.ts +147 -0
  32. package/dist/entries/en.d.ts.map +1 -0
  33. package/dist/entries/en.js +162 -0
  34. package/dist/entries/en.js.map +1 -0
  35. package/dist/entries/index.d.ts +307 -0
  36. package/dist/entries/index.d.ts.map +1 -0
  37. package/dist/entries/index.js +16 -0
  38. package/dist/entries/index.js.map +1 -0
  39. package/dist/entries/zh.d.ts +147 -0
  40. package/dist/entries/zh.d.ts.map +1 -0
  41. package/dist/entries/zh.js +162 -0
  42. package/dist/entries/zh.js.map +1 -0
  43. package/dist/health-contract.d.ts +6 -0
  44. package/dist/health-contract.d.ts.map +1 -1
  45. package/dist/health-contract.js +6 -0
  46. package/dist/health-contract.js.map +1 -1
  47. package/dist/health-fetch.d.ts.map +1 -1
  48. package/dist/health-fetch.js +9 -6
  49. package/dist/health-fetch.js.map +1 -1
  50. package/dist/health-view.d.ts +2 -0
  51. package/dist/health-view.d.ts.map +1 -1
  52. package/dist/health-view.js +38 -24
  53. package/dist/health-view.js.map +1 -1
  54. package/dist/manual-entry.d.ts.map +1 -1
  55. package/dist/manual-entry.js +7 -6
  56. package/dist/manual-entry.js.map +1 -1
  57. package/dist/nav.d.ts +17 -38
  58. package/dist/nav.d.ts.map +1 -1
  59. package/dist/nav.js +35 -56
  60. package/dist/nav.js.map +1 -1
  61. package/dist/shared-copy.generated.d.ts +15 -0
  62. package/dist/shared-copy.generated.d.ts.map +1 -0
  63. package/dist/shared-copy.generated.js +15 -0
  64. package/dist/shared-copy.generated.js.map +1 -0
  65. package/dist/update-batch.js +2 -2
  66. package/dist/update-batch.js.map +1 -1
  67. package/dist/update-contract.d.ts.map +1 -1
  68. package/dist/update-contract.js +10 -6
  69. package/dist/update-contract.js.map +1 -1
  70. package/dist/update-targets.d.ts +3 -0
  71. package/dist/update-targets.d.ts.map +1 -1
  72. package/dist/update-targets.js +21 -11
  73. package/dist/update-targets.js.map +1 -1
  74. package/package.json +7 -3
package/dist/client.js CHANGED
@@ -28,125 +28,2991 @@ window.__ModuleLoader__.load({
28
28
  //#endregion
29
29
  let react = require("react");
30
30
  react = __toESM(react, 1);
31
+ //#region ../base-entries/dist/catalog.js
32
+ /**
33
+ * 定义词条表集合:原样返回入参,只为让调用处拿到**逐字窄类型**——
34
+ * `MessageId<typeof catalog>` 是字面量联合,不是 `string`。`const` 类型参数=调用处不必再写 `as const`。
35
+ */
36
+ function defineCatalog(catalog) {
37
+ return catalog;
38
+ }
39
+ /** 当前渲染语言;未进入上下文时是基准语言 zh(不启用多语言=逐字节不变)。 */
40
+ function currentRenderLanguage() {
41
+ return "zh";
42
+ }
43
+ //#endregion
44
+ //#region ../base-entries/dist/errors.js
45
+ /**
46
+ * 词条层错误:坏输入一律 throw,绝不返空串/undefined 冒充正常(ADR-0004 §2)。
47
+ *
48
+ * 判据面是 `code` 与结构化字段:诊断文本是开发者面向的串,**不进词条表**
49
+ * (词条表装的是显示文本);调用方与门禁读 code/字段,不读 message 的字面。
50
+ */
51
+ /** 词条层错误基类。 */
52
+ var EntriesError = class extends Error {
53
+ code;
54
+ constructor(code, message, options) {
55
+ super(message, options);
56
+ this.name = "EntriesError";
57
+ this.code = code;
58
+ }
59
+ };
60
+ /** 缺词条:回退链走完仍没有这条 key(ADR-0004 §2:不许静默出 undefined)。 */
61
+ var MissingMessageError = class extends EntriesError {
62
+ /** 缺的是哪条 key。 */
63
+ id;
64
+ /** 走过的回退链(按顺序,已去重)。 */
65
+ languages;
66
+ constructor(id, languages) {
67
+ super("ENTRIES_MISSING_MESSAGE", "缺词条「" + id + "」:回退链走完(" + languages.join(" → ") + ")都没有这条 key,不回退成空串——请补词条,或换用词条表里有的 key。");
68
+ this.name = "MissingMessageError";
69
+ this.id = id;
70
+ this.languages = languages;
71
+ }
72
+ };
73
+ /** 插值缺参:模板里有 `{name}`,params 里没有这个 name(缺参抛错,不静默留空)。 */
74
+ var MissingParamError = class extends EntriesError {
75
+ /** 缺的是哪个参数名。 */
76
+ param;
77
+ /** 出这条消息的模板(诊断用)。 */
78
+ template;
79
+ constructor(param, template) {
80
+ super("ENTRIES_MISSING_PARAM", "消息插值缺参数「" + param + "」(模板:" + template + ")——缺参不静默留空。");
81
+ this.name = "MissingParamError";
82
+ this.param = param;
83
+ this.template = template;
84
+ }
85
+ };
86
+ //#endregion
87
+ //#region ../base-entries/dist/evaluate.js
88
+ /** 具名占位:`{name}`,name 取标识符形(首字符字母或下划线)。 */
89
+ const PLACEHOLDER = /\{([A-Za-z_][A-Za-z0-9_]*)\}/g;
90
+ /** 参数取值:按 `string | number | undefined` 读——缺参是这一格的常态。 */
91
+ function paramOf(params, name) {
92
+ if (params === void 0) return void 0;
93
+ return params[name];
94
+ }
95
+ /**
96
+ * 默认后端:把 `{name}` 按参数替换掉。
97
+ *
98
+ * 缺参**抛 MissingParamError**(不静默留空);其余花括号形态(`{0}` 位置参数、
99
+ * 复数/选择)**原样留在文本里**——这是本期的已知近似,真 ICU/MF2 后端从端口接。
100
+ */
101
+ function evaluate(request) {
102
+ return request.template.replace(PLACEHOLDER, (_matched, name) => {
103
+ const value = paramOf(request.params, name);
104
+ if (value === void 0) throw new MissingParamError(name, request.template);
105
+ return String(value);
106
+ });
107
+ }
108
+ //#endregion
109
+ //#region ../base-entries/dist/language.js
110
+ /**
111
+ * 语言标识在本层只做一件事:**BCP 47 大小写不敏感**,取去空白的小写 canonical 形。
112
+ *
113
+ * 铁律二(概念唯一):可用语言清单**不在这里,也不在本包任何地方**。清单与
114
+ * 「未识别的值报错并列出可用语言」的唯一权威是
115
+ * `packages/base-link-core/src/config/language.ts`(AVAILABLE_LANGUAGES/DEFAULT_LANGUAGE,
116
+ * ADR-0004 §4)。本包零运行时依赖,故不 import 它、也不复制那份清单;只复述
117
+ * 「大小写不敏感」这一条口径(去空白 + 小写)。合法性判定仍归语言选择层:
118
+ * 本层对任何 `string` 都走回退链,不判合法性。
119
+ */
120
+ /** BCP 47 大小写不敏感:去空白后取小写 canonical 形(`EN` → `en`)。 */
121
+ function canonicalLanguage(tag) {
122
+ return tag.trim().toLowerCase();
123
+ }
124
+ //#endregion
125
+ //#region ../base-entries/dist/resolve.js
126
+ /** 终站语言:回退链的最后一站(DSH 宿主口径:缺词条回退终止于 en)。 */
127
+ const TERMINAL_LANGUAGE = "en";
128
+ /** 回退链:请求语言 → 基准语言 → 终站,去重保序。空串(调用方没给语言)退化为 [zh, en]。 */
129
+ function fallbackChain(language) {
130
+ const chain = [];
131
+ for (const candidate of [
132
+ canonicalLanguage(language),
133
+ "zh",
134
+ TERMINAL_LANGUAGE
135
+ ]) if (candidate !== "" && !chain.includes(candidate)) chain.push(candidate);
136
+ return chain;
137
+ }
138
+ /** 按链上这一站取表:先逐字命中语言键,再按 canonical 形命中一次(表键大小写不敏感)。 */
139
+ function tableFor(catalog, language) {
140
+ const exact = catalog[language];
141
+ if (exact !== void 0) return exact;
142
+ for (const key of Object.keys(catalog)) if (canonicalLanguage(key) === language) return catalog[key];
143
+ }
144
+ /**
145
+ * 表里读一条可用模板:按 `string | undefined` 读——表可能来自外部数据,运行期真会有缺口。
146
+ *
147
+ * 缺键与**空白值**都算「未录」(票 #1306)。空白值不当作显式空白:原样交给求值端口就等于
148
+ * 在页面上留一块看不见的空白,不崩、不报错、机器也查不到;按未录处理才会继续沿回退链取到
149
+ * 看得懂的那一站,全部语言都空白时由调用方收到 MissingMessageError。门禁同口径拒绝空白词条值
150
+ * (tooling/check-i18n-entries.mjs),两头都不放行「留空串当待译」。
151
+ */
152
+ function templateOf(table, id) {
153
+ const raw = table[id];
154
+ if (raw === void 0 || raw.trim() === "") return void 0;
155
+ return raw;
156
+ }
157
+ /**
158
+ * 按 key 取词条:请求语言 → 基准语言 zh → 终站 en,取到的那一条交给求值端口。
159
+ *
160
+ * 端口拿到的两种语言用途不同:`language`=调用方请求的语言(读者语言,数字形态按它走);
161
+ * `sourceLanguage`=实际取到这条词条的语言(回退命中时两者不同,真 ICU 后端按它判模板里的
162
+ * 复数/选择类别)。
163
+ */
164
+ function resolve(catalog, language, id, params, options) {
165
+ const requested = canonicalLanguage(language);
166
+ const chain = fallbackChain(language);
167
+ const evaluate$1 = options?.evaluate ?? evaluate;
168
+ for (const candidate of chain) {
169
+ const table = tableFor(catalog, candidate);
170
+ if (table === void 0) continue;
171
+ const template = templateOf(table, id);
172
+ if (template === void 0) continue;
173
+ return evaluate$1({
174
+ template,
175
+ language: requested === "" ? candidate : requested,
176
+ sourceLanguage: candidate,
177
+ ...params === void 0 ? {} : { params }
178
+ });
179
+ }
180
+ throw new MissingMessageError(id, chain);
181
+ }
182
+ //#endregion
183
+ //#region src/entries/index.ts
184
+ /** plugin-manager · 词条表集合(**加一门语言=加一个语言键**,不改代码)。
185
+ *
186
+ * 取词一律经 base-entries 的 resolve(回退链:请求语言 → zh → en,全缺抛 MissingMessageError):
187
+ * 本文件不自己实现回退链、不实现求值端口——机制住公共层包,词住本包(ADR-0004 §2/§3)。
188
+ * 形状照 `packages/skill-bill/src/entries/index.ts`(#1202 试点形状,不另起形状)。
189
+ */
190
+ /** 本包词条表集合。key 类型从 zh 那份派生:**拼错 key 编译期红**(TS2345)。 */
191
+ const PLUGIN_MANAGER_CATALOG = defineCatalog({
192
+ zh: {
193
+ "plugin-manager.client.c001": "翻到第{p0}页",
194
+ "plugin-manager.client.c002": "翻到第{p0}页",
195
+ "plugin-manager.client.c003": "上一跨页",
196
+ "plugin-manager.client.c004": "‹ 上一页",
197
+ "plugin-manager.client.c005": "下一跨页",
198
+ "plugin-manager.client.c006": "下一页 ›",
199
+ "plugin-manager.client.c007": "点一下翻到这一页 ›",
200
+ "plugin-manager.client.c008": "复制",
201
+ "plugin-manager.client.c009": "{p0} 未安装",
202
+ "plugin-manager.client.c010": "请补装后使用。",
203
+ "plugin-manager.client.c011": "一键安装",
204
+ "plugin-manager.client.c012": "备选:手动安装",
205
+ "plugin-manager.client.c013": "✓ 已复制",
206
+ "plugin-manager.client.c014": "爱生活",
207
+ "plugin-manager.client.c015": "对六家各跑一次配置体检(只看不改:不建目录、不改配置、不自动重置)",
208
+ "plugin-manager.client.c016": "体检",
209
+ "plugin-manager.client.c017": "体检中…",
210
+ "plugin-manager.client.c018": "体检",
211
+ "plugin-manager.client.c019": "爱生活技能页签",
212
+ "plugin-manager.client.c020": "这一家没装(或产物没注册页签槽)",
213
+ "plugin-manager.client.c021": "还没体检",
214
+ "plugin-manager.client.c022": "体检读数见本页签下方的表",
215
+ "plugin-manager.client.c023": "没有配置体检出口",
216
+ "plugin-manager.client.c024": "关闭使用手册",
217
+ "plugin-manager.client.c025": "关闭使用手册",
218
+ "plugin-manager.client.c026": "关闭",
219
+ "plugin-manager.client.c027": "爱生活",
220
+ "plugin-manager.config-panel-value.c001": "({p0},宿主未给报文)",
221
+ "plugin-manager.config-panel-value.c002": "{p0}\n改回「键: 值」的写法,或点「重置为默认」。",
222
+ "plugin-manager.config-panel-value.c003": "{p0}\n删掉页面上没有的行,或点「重置为默认」。",
223
+ "plugin-manager.config-panel-value.c004": "{p0}\n按本页的控件形状填,或点「重置为默认」。",
224
+ "plugin-manager.config-panel-value.c005": "{p0}\n技能出口没找到:先确认技能包已装好,再点「重新读取」。",
225
+ "plugin-manager.config-panel-value.c006": "{p0}\n改不动就点「重置为默认」,或照上面那条路径手工改配置文件。",
226
+ "plugin-manager.config-panel-value.c007": "宿主连接缺席:connection.rpc.call 不可用(通道 {p0}),稍后重试",
227
+ "plugin-manager.config-panel-value.c008": "回执信封异常(通道 {p0}),点重试重新读取",
228
+ "plugin-manager.config-panel-value.c009": "配置请求超时({p0}s,通道 {p1}):宿主未回,点重试重新读取",
229
+ "plugin-manager.config-panel-value.c010": "配置失败(通道 {p0}):{p1},点重试重新读取",
230
+ "plugin-manager.config-panel-view.c001": "已复制",
231
+ "plugin-manager.config-panel-view.c002": "复制失败",
232
+ "plugin-manager.config-panel-view.c003": "复制",
233
+ "plugin-manager.config-panel-view.c004": "{p0} 项未保存",
234
+ "plugin-manager.config-panel-view.c005": "正在写入",
235
+ "plugin-manager.config-panel-view.c006": "已保存",
236
+ "plugin-manager.config-panel-view.c007": "配置里有值用不了",
237
+ "plugin-manager.config-panel-view.c008": "写入失败",
238
+ "plugin-manager.config-panel-view.c009": "将跟随更新",
239
+ "plugin-manager.config-panel-view.c010": "浏览文件夹",
240
+ "plugin-manager.config-panel-view.c011": "可改",
241
+ "plugin-manager.config-panel-view.c012": "配置",
242
+ "plugin-manager.config-panel-view.c013": "配置文件",
243
+ "plugin-manager.config-panel-view.c014": "(配置文件刚按默认值生成)",
244
+ "plugin-manager.config-panel-view.c015": "数据目录",
245
+ "plugin-manager.config-panel-view.c016": "重试",
246
+ "plugin-manager.config-panel-view.c017": "重置为默认",
247
+ "plugin-manager.config-panel-view.c018": "处理中",
248
+ "plugin-manager.config-panel-view.c019": "保存({p0} 项未保存)",
249
+ "plugin-manager.config-panel-view.c020": "保存",
250
+ "plugin-manager.config-panel-view.c021": "重置为默认",
251
+ "plugin-manager.config-panel-view.c022": "重新读取",
252
+ "plugin-manager.config-panel-view.c023": "浏览改动后请点保存({p0} 项未保存),保存后跟随项自动更新",
253
+ "plugin-manager.config-panel-view.c024": "没有未保存的改动",
254
+ "plugin-manager.config-panel-view.c025": "配置读取中",
255
+ "plugin-manager.config-panel-view.c026": "已唤起系统文件夹对话框:选中后自动填上,取消则不动。",
256
+ "plugin-manager.config-panel-view.c027": "选择文件夹",
257
+ "plugin-manager.config-panel-view.c028": "关闭",
258
+ "plugin-manager.config-panel-view.c029": "上一级",
259
+ "plugin-manager.config-panel-view.c030": "直接填绝对路径,回车即进入",
260
+ "plugin-manager.config-panel-view.c031": "转到",
261
+ "plugin-manager.config-panel-view.c032": "显示隐藏目录({p0})",
262
+ "plugin-manager.config-panel-view.c033": "这个目录里没有子目录。",
263
+ "plugin-manager.config-panel-view.c034": "正在读取",
264
+ "plugin-manager.config-panel-view.c035": "新建文件夹",
265
+ "plugin-manager.config-panel-view.c036": "创建",
266
+ "plugin-manager.config-panel-view.c037": "取消",
267
+ "plugin-manager.config-panel-view.c038": "选",
268
+ "plugin-manager.config-panel-view.c039": "已选",
269
+ "plugin-manager.config-panel-view.c040": "选定这个目录",
270
+ "plugin-manager.config-panel-view.c041": "取消",
271
+ "plugin-manager.config-panel-view.c042": "将选定:",
272
+ "plugin-manager.config-panel.c001": "打不开系统文件夹对话框({p0}):请直接在框里填绝对路径。",
273
+ "plugin-manager.config-panel.c002": "已保存,立即生效(不用重启宿主)",
274
+ "plugin-manager.config-panel.c003": "已重置为默认(原配置已另存一份 .bak)",
275
+ "plugin-manager.directory-browser-contract.c001": "打不开系统文件夹对话框{p0}:请直接在框里填绝对路径。",
276
+ "plugin-manager.directory-browser-contract.c002": "列举目录",
277
+ "plugin-manager.directory-browser-contract.c003": "列举目录",
278
+ "plugin-manager.directory-browser-contract.c004": "列举目录",
279
+ "plugin-manager.directory-browser-contract.c005": "新建文件夹",
280
+ "plugin-manager.directory-browser-contract.c006": "文件夹名不能为空。",
281
+ "plugin-manager.directory-browser-contract.c007": "文件夹名里不能带路径分隔符。",
282
+ "plugin-manager.directory-browser-contract.c008": "「.」与「..」不是文件夹名。",
283
+ "plugin-manager.directory-browser-state.c001": "浏览失败",
284
+ "plugin-manager.directory-browser-state.c002": "还没有打开任何目录,无法新建文件夹。",
285
+ "plugin-manager.directory-browser-state.c003": "{p0}({p1} 行)",
286
+ "plugin-manager.health-fetch.c001": "体检超时({p0}s):技能没在时限内回话。",
287
+ "plugin-manager.health-fetch.c002": "回执信封异常(非 ok 信封)。",
288
+ "plugin-manager.health-fetch.c003": "体检没跑起来。",
289
+ "plugin-manager.health-fetch.c004": "体检报告形状认不出(技能包与总管版本对不上?)。",
290
+ "plugin-manager.health-fetch.c005": "体检没跑起来:{p0}",
291
+ "plugin-manager.health-fetch.c006": "宿主连接缺席:connection.rpc.call 不可用",
292
+ "plugin-manager.nav.c001": "未安装[{p0}],请补装后使用:{p1}",
293
+ "plugin-manager.nav.c008": "使用手册",
294
+ "plugin-manager.nav.c009": "打开使用手册",
295
+ "plugin-manager.update-contract.c001": "面板不认识这个原因码({p0})。",
296
+ "plugin-manager.update-contract.c002": "面板连不上总管插件。重启 DSH 后重试。",
297
+ "plugin-manager.update-contract.c003": "面板与总管之间的请求出错了(属程序缺陷)。",
298
+ "plugin-manager.update-contract.c004": "面板与总管之间的请求出错了(属程序缺陷)。",
299
+ "plugin-manager.health-view.c001": "红",
300
+ "plugin-manager.health-view.c002": "黄",
301
+ "plugin-manager.health-view.c003": "绿",
302
+ "plugin-manager.health-view.c004": "{p0} 家没有体检出口",
303
+ "plugin-manager.health-view.c005": "还没有任何一家登记体检出口",
304
+ "plugin-manager.health-view.c006": "{p0} 家都没有体检出口(通道名没登记上)",
305
+ "plugin-manager.health-view.c007": "没有可体检的家:{p0}",
306
+ "plugin-manager.health-view.c008": "六家正常",
307
+ "plugin-manager.health-view.c009": "有出口的都正常",
308
+ "plugin-manager.health-view.c010": "还没体检",
309
+ "plugin-manager.health-view.c011": "要处理{p0}",
310
+ "plugin-manager.health-view.c012": "配置体检",
311
+ "plugin-manager.health-view.c013": "对六家各跑一次配置体检(只看不改:不建目录、不改配置、不自动重置)",
312
+ "plugin-manager.health-view.c014": "体检中…",
313
+ "plugin-manager.health-view.c015": "体检",
314
+ "plugin-manager.health-view.c016": "体检",
315
+ "plugin-manager.health-view.c017": "还没体检:点标题行那个「体检」。",
316
+ "plugin-manager.health-view.c018": "正在体检…",
317
+ "plugin-manager.health-view.c019": "落点根目录:{p0}",
318
+ "plugin-manager.health-view.c020": "(配置文件 {p0})",
319
+ "plugin-manager.health-view.c021": "· 来自{p0}",
320
+ "plugin-manager.health-view.c022": "去哪修:{p0}",
321
+ "plugin-manager.health-view.c023": "正常 {p0} 条",
322
+ "plugin-manager.health-view.c024": "(下列各项都正常工作)",
323
+ "plugin-manager.config-panel-value.c011": "配置请求超时({p0}s):宿主未回",
324
+ "plugin-manager.directory-browser-parts.c001": "固定磁盘",
325
+ "plugin-manager.directory-browser-parts.c002": "网络驱动器",
326
+ "plugin-manager.directory-browser-parts.c003": "可移动磁盘",
327
+ "plugin-manager.directory-browser-parts.c004": "光驱",
328
+ "plugin-manager.directory-browser-parts.c005": "磁盘",
329
+ "plugin-manager.update-targets.c001": "爱生活",
330
+ "plugin-manager.config-panel-contract.c001": "高级",
331
+ "plugin-manager.nav.c002": "饼干记账",
332
+ "plugin-manager.nav.c003": "卡路里",
333
+ "plugin-manager.nav.c004": "备忘录",
334
+ "plugin-manager.nav.c005": "作息管家",
335
+ "plugin-manager.nav.c006": "居家管家",
336
+ "plugin-manager.nav.c007": "私家大厨"
337
+ },
338
+ en: {
339
+ "plugin-manager.client.c001": "Go to page {p0}",
340
+ "plugin-manager.client.c002": "Go to page {p0}",
341
+ "plugin-manager.client.c003": "Previous page group",
342
+ "plugin-manager.client.c004": "‹ Previous page",
343
+ "plugin-manager.client.c005": "Next page group",
344
+ "plugin-manager.client.c006": "Next page ›",
345
+ "plugin-manager.client.c007": "Click to go to this page ›",
346
+ "plugin-manager.client.c008": "Copy",
347
+ "plugin-manager.client.c009": "{p0} is not installed",
348
+ "plugin-manager.client.c010": "Please install it before use.",
349
+ "plugin-manager.client.c011": "One-click install",
350
+ "plugin-manager.client.c012": "Alternative: manual install",
351
+ "plugin-manager.client.c013": "✓ Copied",
352
+ "plugin-manager.client.c014": "iLife",
353
+ "plugin-manager.client.c015": "Run a config health check on all six plugins (read-only: no directories created, no config changed, no auto reset)",
354
+ "plugin-manager.client.c016": "Health check",
355
+ "plugin-manager.client.c017": "Checking…",
356
+ "plugin-manager.client.c018": "Health check",
357
+ "plugin-manager.client.c019": "iLife skill tab",
358
+ "plugin-manager.client.c020": "This plugin is not installed (or its output did not register a tab slot)",
359
+ "plugin-manager.client.c021": "Not checked yet",
360
+ "plugin-manager.client.c022": "Health check readings are in the table below this tab",
361
+ "plugin-manager.client.c023": "No config health check exit",
362
+ "plugin-manager.client.c024": "Close user manual",
363
+ "plugin-manager.client.c025": "Close user manual",
364
+ "plugin-manager.client.c026": "Close",
365
+ "plugin-manager.client.c027": "iLife",
366
+ "plugin-manager.config-panel-value.c001": "({p0}, host gave no payload)",
367
+ "plugin-manager.config-panel-value.c002": "{p0}\nRewrite it as `key: value`, or click \"Reset to default\".",
368
+ "plugin-manager.config-panel-value.c003": "{p0}\nDelete the lines not on the page, or click \"Reset to default\".",
369
+ "plugin-manager.config-panel-value.c004": "{p0}\nFill it in the control shape on this page, or click \"Reset to default\".",
370
+ "plugin-manager.config-panel-value.c005": "{p0}\nSkill exit not found: confirm the skill package is installed, then click \"Reload\".",
371
+ "plugin-manager.config-panel-value.c006": "{p0}\nIf it still won't change, click \"Reset to default\", or edit the config file manually at the path above.",
372
+ "plugin-manager.config-panel-value.c007": "Host connection missing: connection.rpc.call is unavailable (channel {p0}); try again later",
373
+ "plugin-manager.config-panel-value.c008": "Malformed receipt envelope (channel {p0}); click Retry to reload",
374
+ "plugin-manager.config-panel-value.c009": "Config request timed out ({p0}s, channel {p1}): no reply from the host; click Retry to reload",
375
+ "plugin-manager.config-panel-value.c010": "Config failed (channel {p0}): {p1}; click Retry to reload",
376
+ "plugin-manager.config-panel-view.c001": "Copied",
377
+ "plugin-manager.config-panel-view.c002": "Copy failed",
378
+ "plugin-manager.config-panel-view.c003": "Copy",
379
+ "plugin-manager.config-panel-view.c004": "{p0} items not saved",
380
+ "plugin-manager.config-panel-view.c005": "Saving",
381
+ "plugin-manager.config-panel-view.c006": "Saved",
382
+ "plugin-manager.config-panel-view.c007": "A value in the config cannot be used",
383
+ "plugin-manager.config-panel-view.c008": "Save failed",
384
+ "plugin-manager.config-panel-view.c009": "Follows updates",
385
+ "plugin-manager.config-panel-view.c010": "Browse folder",
386
+ "plugin-manager.config-panel-view.c011": "Editable",
387
+ "plugin-manager.config-panel-view.c012": "Config",
388
+ "plugin-manager.config-panel-view.c013": "Config file",
389
+ "plugin-manager.config-panel-view.c014": "(config file was just generated from defaults)",
390
+ "plugin-manager.config-panel-view.c015": "Data directory",
391
+ "plugin-manager.config-panel-view.c016": "Retry",
392
+ "plugin-manager.config-panel-view.c017": "Reset to default",
393
+ "plugin-manager.config-panel-view.c018": "Working",
394
+ "plugin-manager.config-panel-view.c019": "Save ({p0} items not saved)",
395
+ "plugin-manager.config-panel-view.c020": "Save",
396
+ "plugin-manager.config-panel-view.c021": "Reset to default",
397
+ "plugin-manager.config-panel-view.c022": "Reload",
398
+ "plugin-manager.config-panel-view.c023": "After browsing, click Save ({p0} items not saved); following items update automatically after saving",
399
+ "plugin-manager.config-panel-view.c024": "No unsaved changes",
400
+ "plugin-manager.config-panel-view.c025": "Reading config",
401
+ "plugin-manager.config-panel-view.c026": "The system folder dialog is open: pick a folder to fill it in, or cancel to leave it unchanged.",
402
+ "plugin-manager.config-panel-view.c027": "Choose folder",
403
+ "plugin-manager.config-panel-view.c028": "Close",
404
+ "plugin-manager.config-panel-view.c029": "Up",
405
+ "plugin-manager.config-panel-view.c030": "Type an absolute path and press Enter to open",
406
+ "plugin-manager.config-panel-view.c031": "Go",
407
+ "plugin-manager.config-panel-view.c032": "Show hidden folders ({p0})",
408
+ "plugin-manager.config-panel-view.c033": "No subfolders in this folder.",
409
+ "plugin-manager.config-panel-view.c034": "Reading",
410
+ "plugin-manager.config-panel-view.c035": "New folder",
411
+ "plugin-manager.config-panel-view.c036": "Create",
412
+ "plugin-manager.config-panel-view.c037": "Cancel",
413
+ "plugin-manager.config-panel-view.c038": "Select",
414
+ "plugin-manager.config-panel-view.c039": "Selected",
415
+ "plugin-manager.config-panel-view.c040": "Use this folder",
416
+ "plugin-manager.config-panel-view.c041": "Cancel",
417
+ "plugin-manager.config-panel-view.c042": "Selected:",
418
+ "plugin-manager.config-panel.c001": "Cannot open the system folder dialog ({p0}): please type an absolute path in the field.",
419
+ "plugin-manager.config-panel.c002": "Saved; takes effect immediately (no host restart needed)",
420
+ "plugin-manager.config-panel.c003": "Reset to default (the original config was saved as a .bak copy)",
421
+ "plugin-manager.directory-browser-contract.c001": "Cannot open the system folder dialog{p0}: please type an absolute path in the field.",
422
+ "plugin-manager.directory-browser-contract.c002": "List directory",
423
+ "plugin-manager.directory-browser-contract.c003": "List directory",
424
+ "plugin-manager.directory-browser-contract.c004": "List directory",
425
+ "plugin-manager.directory-browser-contract.c005": "New folder",
426
+ "plugin-manager.directory-browser-contract.c006": "Folder name cannot be empty.",
427
+ "plugin-manager.directory-browser-contract.c007": "Folder name cannot contain a path separator.",
428
+ "plugin-manager.directory-browser-contract.c008": "\".\" and \"..\" are not folder names.",
429
+ "plugin-manager.directory-browser-state.c001": "Browse failed",
430
+ "plugin-manager.directory-browser-state.c002": "No directory is open, cannot create a folder.",
431
+ "plugin-manager.directory-browser-state.c003": "{p0} ({p1} rows)",
432
+ "plugin-manager.health-fetch.c001": "Health check timed out ({p0}s): the skill did not reply in time.",
433
+ "plugin-manager.health-fetch.c002": "Malformed receipt envelope (not an ok envelope).",
434
+ "plugin-manager.health-fetch.c003": "Health check did not start.",
435
+ "plugin-manager.health-fetch.c004": "Health report shape not recognized (skill package and manager versions out of sync?).",
436
+ "plugin-manager.health-fetch.c005": "Health check did not start: {p0}",
437
+ "plugin-manager.health-fetch.c006": "Host connection missing: connection.rpc.call is unavailable",
438
+ "plugin-manager.nav.c001": "Not installed [{p0}]; install it before use: {p1}",
439
+ "plugin-manager.nav.c008": "User manual",
440
+ "plugin-manager.nav.c009": "Open user manual",
441
+ "plugin-manager.update-contract.c001": "The panel does not recognize this reason code ({p0}).",
442
+ "plugin-manager.update-contract.c002": "The panel cannot reach the manager plugin. Restart DSH and try again.",
443
+ "plugin-manager.update-contract.c003": "The request between the panel and the manager failed (a program defect).",
444
+ "plugin-manager.update-contract.c004": "The request between the panel and the manager failed (a program defect).",
445
+ "plugin-manager.health-view.c001": "Red",
446
+ "plugin-manager.health-view.c002": "Yellow",
447
+ "plugin-manager.health-view.c003": "Green",
448
+ "plugin-manager.health-view.c004": "{p0} plugins have no health check exit",
449
+ "plugin-manager.health-view.c005": "No plugin has registered a health check exit yet",
450
+ "plugin-manager.health-view.c006": "None of the {p0} plugins has a health check exit (channel name not registered)",
451
+ "plugin-manager.health-view.c007": "No plugin can be checked: {p0}",
452
+ "plugin-manager.health-view.c008": "All six are normal",
453
+ "plugin-manager.health-view.c009": "All with exits are normal",
454
+ "plugin-manager.health-view.c010": "Not checked yet",
455
+ "plugin-manager.health-view.c011": "to fix{p0}",
456
+ "plugin-manager.health-view.c012": "Config health check",
457
+ "plugin-manager.health-view.c013": "Run a config health check on all six plugins (read-only: no directories created, no config changed, no auto reset)",
458
+ "plugin-manager.health-view.c014": "Checking…",
459
+ "plugin-manager.health-view.c015": "Health check",
460
+ "plugin-manager.health-view.c016": "Health check",
461
+ "plugin-manager.health-view.c017": "Not checked yet: click the \"Health check\" in the title row.",
462
+ "plugin-manager.health-view.c018": "Checking…",
463
+ "plugin-manager.health-view.c019": "Root directory: {p0}",
464
+ "plugin-manager.health-view.c020": " (config file {p0})",
465
+ "plugin-manager.health-view.c021": "· from {p0}",
466
+ "plugin-manager.health-view.c022": "Where to fix: {p0}",
467
+ "plugin-manager.health-view.c023": "{p0} normal",
468
+ "plugin-manager.health-view.c024": "(everything below works normally)",
469
+ "plugin-manager.config-panel-value.c011": "Config request timed out ({p0}s): no reply from the host",
470
+ "plugin-manager.directory-browser-parts.c001": "Fixed disk",
471
+ "plugin-manager.directory-browser-parts.c002": "Network drive",
472
+ "plugin-manager.directory-browser-parts.c003": "Removable disk",
473
+ "plugin-manager.directory-browser-parts.c004": "Optical drive",
474
+ "plugin-manager.directory-browser-parts.c005": "Disk",
475
+ "plugin-manager.update-targets.c001": "iLife",
476
+ "plugin-manager.config-panel-contract.c001": "Advanced",
477
+ "plugin-manager.nav.c002": "Cookie Accounting",
478
+ "plugin-manager.nav.c003": "Calories",
479
+ "plugin-manager.nav.c004": "Memos",
480
+ "plugin-manager.nav.c005": "Schedule Keeper",
481
+ "plugin-manager.nav.c006": "Home Keeper",
482
+ "plugin-manager.nav.c007": "Private Chef"
483
+ }
484
+ });
485
+ /** 取一条词条:语言来自渲染语言上下文;未进入上下文=zh,故不启用多语言时逐字节不变。 */
486
+ function m(id, params) {
487
+ return resolve(PLUGIN_MANAGER_CATALOG, currentRenderLanguage(), id, params);
488
+ }
489
+ //#endregion
490
+ //#region src/shared-copy.generated.ts
491
+ /** @generated —— 由 tooling/gen-shared-copy.mjs 自 tooling/shared-copy.json 生成,手改无效(#1231 守漂移)。
492
+ *
493
+ * 客户端通道名原先是七份手写副本(六家各自的契约件 + 总管导航表);漂开一次,面板就取不到那家
494
+ * 的配置体检(#735 实测的恒空回执)。现在唯一可编辑处是 tooling/shared-copy.json:改那张表再跑
495
+ * `node tooling/gen-shared-copy.mjs`,`--check` 判「盘上 ≡ 表派生」。
496
+ */
497
+ const PLUGIN_CHANNELS = {
498
+ bill: "/ilife-bill-ilife",
499
+ calorie: "/ilife-calorie",
500
+ memo: "/ilife-memo",
501
+ schedule: "/ilife-schedule-ilife",
502
+ home: "/ilife-home-ilife",
503
+ chef: "/ilife-chef"
504
+ };
31
505
  function dualInstallCmd(singlePlugin) {
32
506
  return "dsh plugin add dsh-life-pack " + singlePlugin;
33
507
  }
34
- /** P3 定案 6 tab(order 升序即 + 号菜单顺序;已打开条不受 order 控制)。 */
35
- const MANAGER_TABS = [
36
- {
37
- skill: "bill",
38
- slotId: "ilife:cookie",
39
- order: 70,
40
- title: "饼干记账",
41
- plugin: "dsh-bill-ilife",
42
- channel: "/ilife-bill-ilife"
43
- },
44
- {
45
- skill: "calorie",
46
- slotId: "ilife:calorie",
47
- order: 75,
48
- title: "卡路里",
49
- plugin: "dsh-calorie",
50
- channel: "/ilife-calorie"
51
- },
52
- {
53
- skill: "memo",
54
- slotId: "ilife:memo",
55
- order: 80,
56
- title: "备忘录",
57
- plugin: "dsh-memo-ilife",
58
- channel: "/ilife-memo"
59
- },
60
- {
61
- skill: "schedule",
62
- slotId: "ilife:schedule",
63
- order: 85,
64
- title: "作息管家",
65
- plugin: "dsh-schedule-ilife",
66
- channel: "/ilife-schedule-ilife"
67
- },
68
- {
69
- skill: "home",
70
- slotId: "ilife:home",
71
- order: 90,
72
- title: "居家管家",
73
- plugin: "dsh-home-ilife",
74
- channel: "/ilife-home-ilife"
508
+ /** P3 定案 6 tab(order 升序即 + 号菜单顺序;已打开条不受 order 控制)。 */
509
+ function buildManagerTabs() {
510
+ return [
511
+ {
512
+ skill: "bill",
513
+ slotId: "ilife:cookie",
514
+ order: 70,
515
+ title: m("plugin-manager.nav.c002"),
516
+ plugin: "dsh-bill-ilife",
517
+ channel: PLUGIN_CHANNELS.bill
518
+ },
519
+ {
520
+ skill: "calorie",
521
+ slotId: "ilife:calorie",
522
+ order: 75,
523
+ title: m("plugin-manager.nav.c003"),
524
+ plugin: "dsh-calorie",
525
+ channel: PLUGIN_CHANNELS.calorie
526
+ },
527
+ {
528
+ skill: "memo",
529
+ slotId: "ilife:memo",
530
+ order: 80,
531
+ title: m("plugin-manager.nav.c004"),
532
+ plugin: "dsh-memo-ilife",
533
+ channel: PLUGIN_CHANNELS.memo
534
+ },
535
+ {
536
+ skill: "schedule",
537
+ slotId: "ilife:schedule",
538
+ order: 85,
539
+ title: m("plugin-manager.nav.c005"),
540
+ plugin: "dsh-schedule-ilife",
541
+ channel: PLUGIN_CHANNELS.schedule
542
+ },
543
+ {
544
+ skill: "home",
545
+ slotId: "ilife:home",
546
+ order: 90,
547
+ title: m("plugin-manager.nav.c006"),
548
+ plugin: "dsh-home-ilife",
549
+ channel: PLUGIN_CHANNELS.home
550
+ },
551
+ {
552
+ skill: "chef",
553
+ slotId: "ilife:chef",
554
+ order: 95,
555
+ title: m("plugin-manager.nav.c007"),
556
+ plugin: "dsh-chef",
557
+ channel: PLUGIN_CHANNELS.chef
558
+ }
559
+ ];
560
+ }
561
+ /** 渲染期现取:产品名随语言走(#1229)。 */
562
+ function managerTabs() {
563
+ return buildManagerTabs();
564
+ }
565
+ /** 兼容镜像:模块加载期取一次(仓库级边界测试与 update-batch 按常量读);渲染路径用 managerTabs()。 */
566
+ const MANAGER_TABS = buildManagerTabs();
567
+ function recoFor(tab) {
568
+ const installCmd = dualInstallCmd(tab.plugin);
569
+ return {
570
+ ...tab,
571
+ kind: "reco",
572
+ installCmd,
573
+ hint: m("plugin-manager.nav.c001", {
574
+ p0: String(tab.plugin),
575
+ p1: String(installCmd)
576
+ })
577
+ };
578
+ }
579
+ /** 使用手册入口那一行(渲染期现取)。 */
580
+ function manualEntry() {
581
+ return {
582
+ key: "manual",
583
+ title: m("plugin-manager.nav.c008"),
584
+ tip: m("plugin-manager.nav.c009")
585
+ };
586
+ }
587
+ /** 兼容镜像:模块加载期取一次;渲染路径用 manualEntry()。 */
588
+ const MANUAL_ENTRY = manualEntry();
589
+ //#endregion
590
+ //#region ../../node_modules/.pnpm/dsh-featherhunter-plugin-base@0.1.8_react@19.2.8/node_modules/dsh-featherhunter-plugin-base/dist/client/index.js
591
+ /*! dsh-featherhunter-plugin-base v0.1.8 */
592
+ var BASELINE = {
593
+ "manifest": {
594
+ "schema": 1,
595
+ "version": "0.1.8",
596
+ "revision": 3,
597
+ "updatedAt": "2026-11-01T00:00:00+08:00",
598
+ "fallbackUrl": "https://github.com/FeatherHunter/featherhunter-plugin-manage",
599
+ "groups": [
600
+ {
601
+ "id": "feishu",
602
+ "platform": "feishu",
603
+ "order": 10,
604
+ "readmeTitle": {
605
+ "zh": "飞书群(主)",
606
+ "en": "Feishu Group (Main)"
607
+ },
608
+ "alt": {
609
+ "zh": "DSH 插件交流群 飞书群二维码",
610
+ "en": "DSH plugin community group Feishu QR code"
611
+ },
612
+ "card": "card-feishu.png",
613
+ "qr": {
614
+ "kind": "bundled",
615
+ "key": "qr-feishu"
616
+ },
617
+ "title": {
618
+ "zh": "DSH 插件交流群",
619
+ "en": "DSH Plugin Community"
620
+ },
621
+ "subtitle": {
622
+ "zh": "用户418832的组织",
623
+ "en": "User 418832's organization"
624
+ },
625
+ "note": {
626
+ "zh": "该二维码永久有效",
627
+ "en": "This QR code never expires"
628
+ }
629
+ },
630
+ {
631
+ "id": "qq",
632
+ "platform": "qq",
633
+ "order": 20,
634
+ "readmeTitle": {
635
+ "zh": "QQ群(新)",
636
+ "en": "QQ Group (New)"
637
+ },
638
+ "alt": {
639
+ "zh": "DSH 插件交流群 QQ 群二维码",
640
+ "en": "DSH plugin community group QQ QR code"
641
+ },
642
+ "card": "card-qq.png",
643
+ "qr": {
644
+ "kind": "bundled",
645
+ "key": "qr-qq"
646
+ },
647
+ "title": {
648
+ "zh": "DSH 插件交流群",
649
+ "en": "DSH Plugin Community"
650
+ },
651
+ "subtitle": {
652
+ "zh": "群号:1020866453",
653
+ "en": "Group ID: 1020866453"
654
+ },
655
+ "note": {
656
+ "zh": "扫一扫二维码,加入群聊",
657
+ "en": "Scan the QR code to join the group chat"
658
+ }
659
+ },
660
+ {
661
+ "id": "wechat",
662
+ "platform": "wechat",
663
+ "order": 30,
664
+ "readmeTitle": {
665
+ "zh": "微信群(新)",
666
+ "en": "WeChat Group (New)"
667
+ },
668
+ "alt": {
669
+ "zh": "DSH 插件交流群微信群二维码",
670
+ "en": "DSH plugin community group WeChat QR code"
671
+ },
672
+ "card": "card-wechat-2026-10-31.png",
673
+ "qr": {
674
+ "kind": "bundled",
675
+ "key": "qr-wechat"
676
+ },
677
+ "title": {
678
+ "zh": "DSH 插件交流群",
679
+ "en": "DSH Plugin Community"
680
+ },
681
+ "validUntil": "2026-11-07"
682
+ }
683
+ ],
684
+ "plugins": [
685
+ {
686
+ "id": "deck",
687
+ "order": 10,
688
+ "verifiedAt": "2026-10-30",
689
+ "name": "dsh-mattpocock-skills-deck",
690
+ "repo": "FeatherHunter/dsh-mattpocock-skills-deck",
691
+ "desc": {
692
+ "zh": "近 30 万 star 的 mattpocock/skills 整套预置好(27 个技能),装好即用。",
693
+ "en": "The whole mattpocock/skills set (nearly 300k stars) preinstalled — 27 skills, ready as soon as it is installed."
694
+ },
695
+ "url": "https://github.com/FeatherHunter/dsh-mattpocock-skills-deck"
696
+ },
697
+ {
698
+ "id": "prompt",
699
+ "order": 20,
700
+ "verifiedAt": "2026-10-30",
701
+ "name": "dsh-prompt",
702
+ "repo": "FeatherHunter/dsh-prompt",
703
+ "desc": {
704
+ "zh": "经常反复重复的模板化提示词,存成自定义模板,选中后直接注入,不再需要耗费精力。",
705
+ "en": "The boilerplate prompts you keep retyping, saved as custom templates and injected on selection — no more wasted effort."
706
+ },
707
+ "url": "https://github.com/FeatherHunter/dsh-prompt"
708
+ },
709
+ {
710
+ "id": "palette",
711
+ "order": 30,
712
+ "verifiedAt": "2026-10-30",
713
+ "name": "dsh-opencode-palette",
714
+ "repo": "FeatherHunter/dsh-opencode-palette",
715
+ "desc": {
716
+ "zh": "38 款 opencode 经典配色 + 20+自定义主题 一键换装 DSH。",
717
+ "en": "38 classic opencode themes + 20+ custom themes — reskin DSH in one click."
718
+ },
719
+ "url": "https://github.com/FeatherHunter/dsh-opencode-palette"
720
+ },
721
+ {
722
+ "id": "im",
723
+ "order": 40,
724
+ "verifiedAt": "2026-10-30",
725
+ "name": "dsh-im-companion",
726
+ "repo": "FeatherHunter/dsh-im-companion",
727
+ "desc": {
728
+ "zh": "给 dsh-im 加了「助理」和「家」的概念。",
729
+ "en": "Adds the ideas of an “assistant” and a “home” to dsh-im."
730
+ },
731
+ "url": "https://github.com/FeatherHunter/dsh-im-companion"
732
+ },
733
+ {
734
+ "id": "ilife",
735
+ "order": 50,
736
+ "verifiedAt": "2026-10-30",
737
+ "name": "ilife",
738
+ "repo": "FeatherHunter/ilife",
739
+ "desc": {
740
+ "zh": "⚠️建设中⚠️爱生活:居家生活套件,记账、运动、饮食、体重、食谱、物品管理、作息规划、备忘录等。",
741
+ "en": "⚠️Work in progress⚠️ iLife, the home-life suite: bookkeeping, exercise, diet, weight, recipes, item management, schedule planning, memos and more."
742
+ },
743
+ "url": "https://github.com/FeatherHunter/ilife"
744
+ }
745
+ ]
746
+ },
747
+ "qr": {
748
+ "qr-feishu": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAUAAAAFABAMAAAA/vriZAAAAMFBMVEUBAQELCwsqKipUVFR1dXV/f383ZMthnZmLi4uXl5i9vb3g4uLv7+/6+vr9/f3///+Ul/FRAAAfyUlEQVR42u2df4wUx5XHu2dBwso/04sjYfhnGYhkFv8BNEiGJZGBsRSDbQXbK8U/yJ+czv7/LN3ldPHhSGOf7fMCkTz8WMtg35les5aBKPYOO0gG62yYXaSLT2cWepCsWIp3d6qkJP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gCcATgDcAbgDMAZgDMAYxz/D3/9zb4M9D4UAAAAAElFTkSuQmCC"
751
+ }
752
+ };
753
+ var DAY_MS = 864e5;
754
+ var DATE_ONLY_RE = /^(\d{4})-(\d{2})-(\d{2})$/;
755
+ function pickText$1(text, lang) {
756
+ if (!text) return "";
757
+ return text[lang] ?? text.zh ?? text.en ?? "";
758
+ }
759
+ function normalizeLang(value) {
760
+ if (!value) return null;
761
+ const lower = value.toLowerCase();
762
+ if (lower.startsWith("zh")) return "zh";
763
+ if (lower.startsWith("en")) return "en";
764
+ return null;
765
+ }
766
+ function resolveLang$1(hints = {}) {
767
+ const explicit = normalizeLang(hints.explicit);
768
+ if (explicit) return explicit;
769
+ const html = normalizeLang(hints.htmlLang);
770
+ if (html) return html;
771
+ for (const candidate of hints.navigatorLanguages ?? []) {
772
+ const normalized = normalizeLang(candidate);
773
+ if (normalized) return normalized;
774
+ }
775
+ return "zh";
776
+ }
777
+ function sortByOrder(items) {
778
+ return [...items].sort((a, b) => a.order - b.order);
779
+ }
780
+ function pluginHref(plugin) {
781
+ const url = plugin.url;
782
+ return url !== void 0 && url.length > 0 ? url : "https://github.com/" + plugin.repo;
783
+ }
784
+ function parseDateOnly(value) {
785
+ const match = DATE_ONLY_RE.exec(value);
786
+ if (!match) return null;
787
+ const year = Number(match[1]);
788
+ const month = Number(match[2]);
789
+ const day = Number(match[3]);
790
+ const date = new Date(Date.UTC(year, month - 1, day));
791
+ if (date.getUTCFullYear() !== year || date.getUTCMonth() !== month - 1 || date.getUTCDate() !== day) return null;
792
+ return date;
793
+ }
794
+ function startOfLocalDay(now) {
795
+ return Date.UTC(now.getFullYear(), now.getMonth(), now.getDate());
796
+ }
797
+ function isExpired(validUntil, now = /* @__PURE__ */ new Date()) {
798
+ if (!validUntil) return false;
799
+ const until = parseDateOnly(validUntil);
800
+ if (!until) return false;
801
+ return until.getTime() < startOfLocalDay(now);
802
+ }
803
+ function formatValidity(validUntil, options) {
804
+ if (!validUntil) return null;
805
+ const until = parseDateOnly(validUntil);
806
+ if (!until) return null;
807
+ const now = options.now ?? /* @__PURE__ */ new Date();
808
+ if (isExpired(validUntil, now)) return null;
809
+ const days = Math.round((until.getTime() - startOfLocalDay(now)) / DAY_MS);
810
+ const month = until.getUTCMonth() + 1;
811
+ const day = until.getUTCDate();
812
+ if (days <= 0) {
813
+ if (options.lang === "en") return `Valid today (until ${month}/${day})`;
814
+ return `\u8BE5\u4E8C\u7EF4\u7801\u4ECA\u5929\uFF08${month} \u6708 ${day} \u65E5\u524D\uFF09\u6709\u6548`;
815
+ }
816
+ if (options.lang === "en") return `Valid for ${days} day${days === 1 ? "" : "s"} (until ${month}/${day})`;
817
+ return `\u8BE5\u4E8C\u7EF4\u7801 ${days} \u5929\u5185\uFF08${month} \u6708 ${day} \u65E5\u524D\uFF09\u6709\u6548`;
818
+ }
819
+ function isRecord(value) {
820
+ return typeof value === "object" && value !== null && !Array.isArray(value);
821
+ }
822
+ function requireString(record, key, where) {
823
+ const value = record[key];
824
+ if (typeof value !== "string" || value.length === 0) throw new Error(`manifest: ${where}.${key} must be a non-empty string`);
825
+ return value;
826
+ }
827
+ function requireI18n(record, key, where) {
828
+ const value = record[key];
829
+ if (!isRecord(value)) throw new Error(`manifest: ${where}.${key} must be an object`);
830
+ const zh = value.zh;
831
+ const en = value.en;
832
+ if (typeof zh !== "string" || zh.length === 0) throw new Error(`manifest: ${where}.${key}.zh must be a non-empty string`);
833
+ if (typeof en !== "string" || en.length === 0) throw new Error(`manifest: ${where}.${key}.en must be a non-empty string`);
834
+ return {
835
+ zh,
836
+ en
837
+ };
838
+ }
839
+ function requireOrder(record, where) {
840
+ const value = record["order"];
841
+ if (typeof value !== "number" || !Number.isFinite(value)) throw new Error(`manifest: ${where}.order must be a number`);
842
+ return value;
843
+ }
844
+ function validateGroup(value, index) {
845
+ const where = `groups[${index}]`;
846
+ if (!isRecord(value)) throw new Error(`manifest: ${where} must be an object`);
847
+ const id = requireString(value, "id", where);
848
+ const platform = requireString(value, "platform", where);
849
+ const order = requireOrder(value, where);
850
+ const readmeTitle = requireI18n(value, "readmeTitle", where);
851
+ const alt = requireI18n(value, "alt", where);
852
+ const card = requireString(value, "card", where);
853
+ const title = requireI18n(value, "title", where);
854
+ const qrRaw = value["qr"];
855
+ if (!isRecord(qrRaw)) throw new Error(`manifest: ${where}.qr must be an object`);
856
+ const kind = qrRaw["kind"];
857
+ let qr;
858
+ if (kind === "bundled") qr = {
859
+ kind: "bundled",
860
+ key: requireString(qrRaw, "key", `${where}.qr`)
861
+ };
862
+ else if (kind === "remote") qr = {
863
+ kind: "remote",
864
+ path: requireString(qrRaw, "path", `${where}.qr`)
865
+ };
866
+ else throw new Error(`manifest: ${where}.qr.kind must be "bundled" or "remote"`);
867
+ const group = {
868
+ id,
869
+ platform,
870
+ order,
871
+ readmeTitle,
872
+ alt,
873
+ card,
874
+ qr,
875
+ title
876
+ };
877
+ const subtitle = value["subtitle"];
878
+ if (subtitle !== void 0) {
879
+ if (!isRecord(subtitle)) throw new Error(`manifest: ${where}.subtitle must be an object`);
880
+ group.subtitle = requireI18n(value, "subtitle", where);
881
+ }
882
+ const note = value["note"];
883
+ if (note !== void 0) {
884
+ if (!isRecord(note)) throw new Error(`manifest: ${where}.note must be an object`);
885
+ group.note = requireI18n(value, "note", where);
886
+ }
887
+ const validUntil = value["validUntil"];
888
+ if (validUntil !== void 0) {
889
+ if (typeof validUntil !== "string" || parseDateOnly(validUntil) === null) throw new Error(`manifest: ${where}.validUntil must be a valid YYYY-MM-DD date`);
890
+ group.validUntil = validUntil;
891
+ }
892
+ return group;
893
+ }
894
+ function validatePlugin(value, index) {
895
+ const where = `plugins[${index}]`;
896
+ if (!isRecord(value)) throw new Error(`manifest: ${where} must be an object`);
897
+ const id = requireString(value, "id", where);
898
+ const order = requireOrder(value, where);
899
+ const verifiedAt = requireString(value, "verifiedAt", where);
900
+ if (parseDateOnly(verifiedAt) === null) throw new Error(`manifest: ${where}.verifiedAt must be a valid YYYY-MM-DD date`);
901
+ const entry = {
902
+ id,
903
+ order,
904
+ verifiedAt,
905
+ name: requireString(value, "name", where),
906
+ repo: requireString(value, "repo", where),
907
+ desc: requireI18n(value, "desc", where)
908
+ };
909
+ if (value["url"] !== void 0) entry.url = requireString(value, "url", where);
910
+ return entry;
911
+ }
912
+ function parseManifest(raw) {
913
+ if (!isRecord(raw)) throw new Error("manifest: root must be an object");
914
+ if (raw["schema"] !== 1) throw new Error("manifest: schema must be 1");
915
+ const version = requireString(raw, "version", "manifest");
916
+ const revision = raw["revision"];
917
+ if (typeof revision !== "number" || !Number.isInteger(revision) || revision < 0) throw new Error("manifest: revision must be a non-negative integer");
918
+ const updatedAt = requireString(raw, "updatedAt", "manifest");
919
+ if (Number.isNaN(Date.parse(updatedAt))) throw new Error("manifest: updatedAt must be a parseable timestamp");
920
+ const fallbackUrl = requireString(raw, "fallbackUrl", "manifest");
921
+ if (!/^https?:\/\//.test(fallbackUrl)) throw new Error("manifest: fallbackUrl must be an absolute http(s) URL");
922
+ const groupsRaw = raw["groups"];
923
+ if (!Array.isArray(groupsRaw)) throw new Error("manifest: groups must be an array");
924
+ if (groupsRaw.length === 0) throw new Error("manifest: groups must not be empty");
925
+ const pluginsRaw = raw["plugins"];
926
+ if (!Array.isArray(pluginsRaw)) throw new Error("manifest: plugins must be an array");
927
+ if (pluginsRaw.length === 0) throw new Error("manifest: plugins must not be empty");
928
+ const groups = groupsRaw.map(validateGroup);
929
+ const plugins = pluginsRaw.map(validatePlugin);
930
+ const ids = /* @__PURE__ */ new Set();
931
+ for (const group of groups) {
932
+ if (ids.has(group.id)) throw new Error(`manifest: duplicate group id "${group.id}"`);
933
+ ids.add(group.id);
934
+ }
935
+ return {
936
+ schema: 1,
937
+ version,
938
+ revision,
939
+ updatedAt,
940
+ fallbackUrl,
941
+ groups,
942
+ plugins
943
+ };
944
+ }
945
+ var TIP_CLASS = "dsh-base-tip";
946
+ var GAP = 8;
947
+ var EDGE = 8;
948
+ var activeDispose = null;
949
+ var tipSerial = 0;
950
+ var TIP_HIDE_DELAY = 160;
951
+ function createTipController(options = {}) {
952
+ const hideDelay = options.hideDelay ?? TIP_HIDE_DELAY;
953
+ let handle = null;
954
+ let described = null;
955
+ let hideTimer = null;
956
+ let onKeyDown = null;
957
+ function boundedDocument() {
958
+ return typeof document === "undefined" ? null : document;
959
+ }
960
+ function unbindEscape() {
961
+ const doc = boundedDocument();
962
+ if (!doc || !onKeyDown) return;
963
+ doc.removeEventListener("keydown", onKeyDown, true);
964
+ onKeyDown = null;
965
+ }
966
+ function clearDescribed() {
967
+ if (!described) return;
968
+ described.removeAttribute("aria-describedby");
969
+ described = null;
970
+ }
971
+ function hideNow() {
972
+ if (hideTimer !== null) {
973
+ clearTimeout(hideTimer);
974
+ hideTimer = null;
975
+ }
976
+ unbindEscape();
977
+ if (handle) {
978
+ handle.dispose();
979
+ handle = null;
980
+ }
981
+ clearDescribed();
982
+ }
983
+ return {
984
+ show(anchor, content) {
985
+ if (typeof document === "undefined") return;
986
+ if (hideTimer !== null) {
987
+ clearTimeout(hideTimer);
988
+ hideTimer = null;
989
+ }
990
+ if (handle) {
991
+ handle.dispose();
992
+ handle = null;
993
+ }
994
+ clearDescribed();
995
+ const tip = mountTip(anchor, content, {
996
+ exclusive: true,
997
+ maxWidth: options.maxWidth
998
+ });
999
+ handle = tip;
1000
+ if (tip.id) {
1001
+ anchor.setAttribute("aria-describedby", tip.id);
1002
+ described = anchor;
1003
+ }
1004
+ const doc = boundedDocument();
1005
+ if (doc && !onKeyDown) {
1006
+ onKeyDown = (event) => {
1007
+ if (event.key === "Escape") hideNow();
1008
+ };
1009
+ doc.addEventListener("keydown", onKeyDown, true);
1010
+ }
1011
+ },
1012
+ hideSoon() {
1013
+ if (hideTimer !== null) clearTimeout(hideTimer);
1014
+ hideTimer = setTimeout(() => {
1015
+ hideTimer = null;
1016
+ hideNow();
1017
+ }, hideDelay);
1018
+ },
1019
+ hideNow,
1020
+ dispose: hideNow
1021
+ };
1022
+ }
1023
+ function mountTip(anchor, content, options = {}) {
1024
+ if (typeof document === "undefined") return {
1025
+ id: "",
1026
+ dispose: () => {}
1027
+ };
1028
+ const exclusive = options.exclusive ?? true;
1029
+ if (exclusive) activeDispose?.();
1030
+ const el = document.createElement("div");
1031
+ el.className = TIP_CLASS;
1032
+ el.id = "dsh-base-tip-" + (tipSerial += 1);
1033
+ el.setAttribute("role", "tooltip");
1034
+ el.textContent = content;
1035
+ el.style.maxWidth = String(options.maxWidth ?? 320) + "px";
1036
+ const place = () => {
1037
+ if (!el.isConnected || !anchor.isConnected) return;
1038
+ const rect = anchor.getBoundingClientRect();
1039
+ const width = el.offsetWidth;
1040
+ const height = el.offsetHeight;
1041
+ const viewW = window.innerWidth;
1042
+ const viewH = window.innerHeight;
1043
+ let side = options.placement ?? "top";
1044
+ if (side === "top" && rect.top - height - GAP < EDGE) side = "bottom";
1045
+ if (side === "bottom" && rect.bottom + height + GAP > viewH - EDGE) side = rect.top - height - GAP >= EDGE ? "top" : "bottom";
1046
+ const centered = rect.left + rect.width / 2 - width / 2;
1047
+ const maxLeft = Math.max(EDGE, viewW - width - EDGE);
1048
+ const left = Math.min(Math.max(centered, EDGE), maxLeft);
1049
+ const wanted = side === "top" ? rect.top - height - GAP : rect.bottom + GAP;
1050
+ el.style.left = Math.round(left) + "px";
1051
+ el.style.top = Math.round(Math.max(EDGE, Math.min(wanted, viewH - height - EDGE))) + "px";
1052
+ el.dataset.side = side;
1053
+ };
1054
+ document.body.appendChild(el);
1055
+ place();
1056
+ let frame = 0;
1057
+ if (typeof window.requestAnimationFrame === "function") frame = window.requestAnimationFrame(() => {
1058
+ el.dataset.show = "true";
1059
+ });
1060
+ else el.dataset.show = "true";
1061
+ const onViewportChange = () => place();
1062
+ window.addEventListener("scroll", onViewportChange, true);
1063
+ window.addEventListener("resize", onViewportChange);
1064
+ const dispose = () => {
1065
+ window.removeEventListener("scroll", onViewportChange, true);
1066
+ window.removeEventListener("resize", onViewportChange);
1067
+ if (typeof window.cancelAnimationFrame === "function") window.cancelAnimationFrame(frame);
1068
+ el.remove();
1069
+ if (activeDispose === dispose) activeDispose = null;
1070
+ };
1071
+ if (exclusive) activeDispose = dispose;
1072
+ return {
1073
+ id: el.id,
1074
+ dispose
1075
+ };
1076
+ }
1077
+ function createHoverTip(React) {
1078
+ const h = React.createElement;
1079
+ function HoverTip(props) {
1080
+ const anchorRef = React.useRef(null);
1081
+ const hideTimer = React.useRef(null);
1082
+ const [hovered, setHovered] = React.useState(false);
1083
+ const [dismissed, setDismissed] = React.useState(false);
1084
+ const controlled = props.visible !== void 0;
1085
+ const active = (controlled ? Boolean(props.visible) : hovered) && !dismissed;
1086
+ const hideDelay = props.hideDelay ?? 160;
1087
+ const clearHide = React.useCallback(() => {
1088
+ if (hideTimer.current === null) return;
1089
+ clearTimeout(hideTimer.current);
1090
+ hideTimer.current = null;
1091
+ }, []);
1092
+ const show = React.useCallback(() => {
1093
+ clearHide();
1094
+ setDismissed(false);
1095
+ setHovered(true);
1096
+ }, [clearHide]);
1097
+ const hideSoon = React.useCallback(() => {
1098
+ clearHide();
1099
+ hideTimer.current = setTimeout(() => {
1100
+ hideTimer.current = null;
1101
+ setHovered(false);
1102
+ }, hideDelay);
1103
+ }, [clearHide, hideDelay]);
1104
+ React.useEffect(() => clearHide, [clearHide]);
1105
+ React.useEffect(() => {
1106
+ setDismissed(false);
1107
+ }, [props.visible, props.content]);
1108
+ React.useEffect(() => {
1109
+ if (!active || !props.content) return void 0;
1110
+ if (typeof document === "undefined") return void 0;
1111
+ const anchor = anchorRef.current;
1112
+ if (!anchor) return void 0;
1113
+ const tip = mountTip(anchor, props.content, {
1114
+ maxWidth: props.maxWidth,
1115
+ placement: props.placement,
1116
+ exclusive: !controlled
1117
+ });
1118
+ const onKeyDown = (event) => {
1119
+ if (event.key !== "Escape") return;
1120
+ setHovered(false);
1121
+ setDismissed(true);
1122
+ tip.dispose();
1123
+ };
1124
+ document.addEventListener("keydown", onKeyDown, true);
1125
+ return () => {
1126
+ document.removeEventListener("keydown", onKeyDown, true);
1127
+ tip.dispose();
1128
+ };
1129
+ }, [
1130
+ active,
1131
+ controlled,
1132
+ props.content,
1133
+ props.maxWidth,
1134
+ props.placement
1135
+ ]);
1136
+ return h("span", {
1137
+ ref: (node) => {
1138
+ anchorRef.current = node;
1139
+ },
1140
+ className: "dsh-base-tip-anchor" + (props.className ? " " + props.className : ""),
1141
+ onMouseEnter: show,
1142
+ onMouseLeave: hideSoon,
1143
+ onFocus: show,
1144
+ onBlur: hideSoon
1145
+ }, props.children ?? null);
1146
+ }
1147
+ return HoverTip;
1148
+ }
1149
+ function contactIcon(h, size) {
1150
+ return h("svg", {
1151
+ width: size,
1152
+ height: size,
1153
+ viewBox: "0 0 24 24",
1154
+ fill: "none",
1155
+ stroke: "currentColor",
1156
+ strokeWidth: 1.8,
1157
+ strokeLinecap: "round",
1158
+ strokeLinejoin: "round",
1159
+ "aria-hidden": "true",
1160
+ focusable: "false"
1161
+ }, h("rect", {
1162
+ x: 3,
1163
+ y: 3,
1164
+ width: 18,
1165
+ height: 18,
1166
+ rx: 4,
1167
+ key: "frame"
1168
+ }), h("rect", {
1169
+ x: 7,
1170
+ y: 7,
1171
+ width: 3.6,
1172
+ height: 3.6,
1173
+ rx: 1,
1174
+ key: "tl"
1175
+ }), h("rect", {
1176
+ x: 13.4,
1177
+ y: 7,
1178
+ width: 3.6,
1179
+ height: 3.6,
1180
+ rx: 1,
1181
+ key: "tr"
1182
+ }), h("rect", {
1183
+ x: 7,
1184
+ y: 13.4,
1185
+ width: 3.6,
1186
+ height: 3.6,
1187
+ rx: 1,
1188
+ key: "bl"
1189
+ }), h("path", {
1190
+ d: "M13.4 14h1.4M13.4 17.2h1.4M16.8 14h1.4M16.8 17.2h1.4",
1191
+ key: "data"
1192
+ }));
1193
+ }
1194
+ function gridIcon(h, size) {
1195
+ return h("svg", {
1196
+ width: size,
1197
+ height: size,
1198
+ viewBox: "0 0 24 24",
1199
+ fill: "none",
1200
+ stroke: "currentColor",
1201
+ strokeWidth: 2,
1202
+ strokeLinecap: "round",
1203
+ strokeLinejoin: "round",
1204
+ "aria-hidden": "true",
1205
+ focusable: "false"
1206
+ }, h("rect", {
1207
+ x: 3,
1208
+ y: 3,
1209
+ width: 7,
1210
+ height: 7,
1211
+ rx: 1,
1212
+ key: "tl"
1213
+ }), h("rect", {
1214
+ x: 14,
1215
+ y: 3,
1216
+ width: 7,
1217
+ height: 7,
1218
+ rx: 1,
1219
+ key: "tr"
1220
+ }), h("rect", {
1221
+ x: 3,
1222
+ y: 14,
1223
+ width: 7,
1224
+ height: 7,
1225
+ rx: 1,
1226
+ key: "bl"
1227
+ }), h("rect", {
1228
+ x: 14,
1229
+ y: 14,
1230
+ width: 7,
1231
+ height: 7,
1232
+ rx: 1,
1233
+ key: "br"
1234
+ }));
1235
+ }
1236
+ function starIcon(h, size) {
1237
+ return h("svg", {
1238
+ width: size,
1239
+ height: size,
1240
+ viewBox: "0 0 24 24",
1241
+ fill: "none",
1242
+ stroke: "currentColor",
1243
+ strokeWidth: 1.8,
1244
+ strokeLinecap: "round",
1245
+ strokeLinejoin: "round",
1246
+ "aria-hidden": "true",
1247
+ focusable: "false"
1248
+ }, h("path", {
1249
+ d: "M12 3.6l2.5 5.2 5.7.8-4.1 4 1 5.6-5.1-2.7-5.1 2.7 1-5.6-4.1-4 5.7-.8Z",
1250
+ key: "star"
1251
+ }));
1252
+ }
1253
+ function issueIcon(h, size) {
1254
+ return h("svg", {
1255
+ width: size,
1256
+ height: size,
1257
+ viewBox: "0 0 24 24",
1258
+ fill: "none",
1259
+ stroke: "currentColor",
1260
+ strokeWidth: 1.8,
1261
+ strokeLinecap: "round",
1262
+ strokeLinejoin: "round",
1263
+ "aria-hidden": "true",
1264
+ focusable: "false"
1265
+ }, h("circle", {
1266
+ cx: 12,
1267
+ cy: 12,
1268
+ r: 9,
1269
+ key: "ring"
1270
+ }), h("path", {
1271
+ d: "M12 7.8v4.8",
1272
+ key: "stem"
1273
+ }), h("path", {
1274
+ d: "M12 16.2h.01",
1275
+ key: "dot"
1276
+ }));
1277
+ }
1278
+ function externalLinkIcon(h) {
1279
+ return h("svg", {
1280
+ width: 14,
1281
+ height: 14,
1282
+ viewBox: "0 0 24 24",
1283
+ fill: "none",
1284
+ stroke: "currentColor",
1285
+ strokeWidth: 2,
1286
+ strokeLinecap: "round",
1287
+ strokeLinejoin: "round",
1288
+ "aria-hidden": "true",
1289
+ focusable: "false"
1290
+ }, h("path", {
1291
+ d: "M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6",
1292
+ key: "box"
1293
+ }), h("polyline", {
1294
+ points: "15 3 21 3 21 9",
1295
+ key: "arrow"
1296
+ }), h("line", {
1297
+ x1: 10,
1298
+ y1: 14,
1299
+ x2: 21,
1300
+ y2: 3,
1301
+ key: "line"
1302
+ }));
1303
+ }
1304
+ function classes(first, extra) {
1305
+ return extra ? first + " " + extra : first;
1306
+ }
1307
+ function trimSlashes(url) {
1308
+ return url.replace(/\/+$/, "");
1309
+ }
1310
+ function createActions(React, deps) {
1311
+ const h = React.createElement;
1312
+ const HoverTip = createHoverTip(React);
1313
+ function iconAction(spec) {
1314
+ const body = h("span", {
1315
+ className: "dsh-base-icon-action__icon",
1316
+ key: "icon",
1317
+ "aria-hidden": "true"
1318
+ }, spec.icon);
1319
+ const control = spec.href ? h("a", {
1320
+ className: classes("dsh-base-icon-action", spec.className),
1321
+ href: spec.href,
1322
+ target: "_blank",
1323
+ rel: "noreferrer noopener",
1324
+ "aria-label": spec.label,
1325
+ key: "control"
1326
+ }, body) : h("button", {
1327
+ type: "button",
1328
+ className: classes("dsh-base-icon-action", spec.className),
1329
+ "aria-label": spec.label,
1330
+ key: "control",
1331
+ onClick: (event) => {
1332
+ spec.onClick?.(event.currentTarget);
1333
+ }
1334
+ }, body);
1335
+ return h(HoverTip, { content: spec.tip }, control);
1336
+ }
1337
+ function ContactButton(props) {
1338
+ const size = props.size ?? 16;
1339
+ return iconAction({
1340
+ className: classes("dsh-base-contact-button", props.className),
1341
+ label: props.title ?? deps.text("contact"),
1342
+ tip: props.tip ?? deps.text("contactTip"),
1343
+ icon: contactIcon(h, size),
1344
+ onClick: (trigger) => deps.openContact(trigger)
1345
+ });
1346
+ }
1347
+ function StarButton(props) {
1348
+ const href = props.repoUrl ?? deps.repoUrl;
1349
+ if (!href) return null;
1350
+ return iconAction({
1351
+ className: props.className,
1352
+ label: props.label ?? deps.text("starLabel"),
1353
+ tip: props.tip ?? deps.text("starTip"),
1354
+ href,
1355
+ icon: starIcon(h, props.size ?? 16)
1356
+ });
1357
+ }
1358
+ function IssueButton(props) {
1359
+ const explicit = props.issuesUrl ?? deps.issuesUrl;
1360
+ const repo = props.repoUrl ?? deps.repoUrl;
1361
+ const href = explicit ?? (repo ? trimSlashes(repo) + "/issues" : void 0);
1362
+ if (!href) return null;
1363
+ return iconAction({
1364
+ className: props.className,
1365
+ label: props.label ?? deps.text("issueLabel"),
1366
+ tip: props.tip ?? deps.text("issueTip"),
1367
+ href,
1368
+ icon: issueIcon(h, props.size ?? 16)
1369
+ });
1370
+ }
1371
+ function actionSet(props, grouped) {
1372
+ return h("span", {
1373
+ className: classes(grouped ? "dsh-base-actions dsh-base-actions--group" : "dsh-base-actions", props.className),
1374
+ role: "group",
1375
+ "aria-label": deps.text("actionsLabel")
1376
+ }, h(ContactButton, {
1377
+ size: props.size,
1378
+ key: "contact"
1379
+ }), h(StarButton, {
1380
+ size: props.size,
1381
+ repoUrl: props.repoUrl,
1382
+ key: "star"
1383
+ }), h(IssueButton, {
1384
+ size: props.size,
1385
+ repoUrl: props.repoUrl,
1386
+ issuesUrl: props.issuesUrl,
1387
+ key: "issue"
1388
+ }));
1389
+ }
1390
+ function ActionButtons(props) {
1391
+ return actionSet(props, false);
1392
+ }
1393
+ function ActionGroup(props) {
1394
+ return actionSet(props, true);
1395
+ }
1396
+ return {
1397
+ ContactButton,
1398
+ StarButton,
1399
+ IssueButton,
1400
+ ActionButtons,
1401
+ ActionGroup,
1402
+ HoverTip
1403
+ };
1404
+ }
1405
+ function gradientId(name, uid) {
1406
+ const suffix = uid && uid.length > 0 ? uid : "base";
1407
+ return "dsh-base-cluster-" + name + "-" + suffix;
1408
+ }
1409
+ var SVG_CLASS = "dsh-base-cluster__svg";
1410
+ function contactClusterIcon(h, size = 16, uid) {
1411
+ return h("svg", {
1412
+ width: size,
1413
+ height: size,
1414
+ viewBox: "0 0 24 24",
1415
+ className: SVG_CLASS + " dsh-base-cluster__svg--contact",
1416
+ "aria-hidden": "true",
1417
+ focusable: "false"
1418
+ }, h("defs", { key: "defs" }, h("linearGradient", {
1419
+ id: gradientId("ca", uid),
1420
+ x1: "0",
1421
+ y1: "0",
1422
+ x2: "1",
1423
+ y2: "1",
1424
+ key: "ca"
1425
+ }, h("stop", {
1426
+ offset: "0",
1427
+ stopColor: "#7cc4ff",
1428
+ key: "s1"
1429
+ }), h("stop", {
1430
+ offset: ".55",
1431
+ stopColor: "#4f8bff",
1432
+ key: "s2"
1433
+ }), h("stop", {
1434
+ offset: "1",
1435
+ stopColor: "#3f5cff",
1436
+ key: "s3"
1437
+ })), h("linearGradient", {
1438
+ id: gradientId("cb", uid),
1439
+ x1: "0",
1440
+ y1: "0",
1441
+ x2: "1",
1442
+ y2: "1",
1443
+ key: "cb"
1444
+ }, h("stop", {
1445
+ offset: "0",
1446
+ stopColor: "#c79bff",
1447
+ key: "s1"
1448
+ }), h("stop", {
1449
+ offset: "1",
1450
+ stopColor: "#8b5cf6",
1451
+ key: "s2"
1452
+ }))), h("g", {
1453
+ className: "dsh-base-ico-bob",
1454
+ key: "bob"
1455
+ }, h("path", {
1456
+ d: "M3 7.4A3.4 3.4 0 0 1 6.4 4h7.1A3.4 3.4 0 0 1 16.9 7.4v3.1a3.4 3.4 0 0 1-3.4 3.4H8.3l-3.9 3.05a.65.65 0 0 1-1.05-.51v-2.9A3.4 3.4 0 0 1 3 10.5z",
1457
+ fill: "url(#" + gradientId("ca", uid) + ")",
1458
+ key: "back"
1459
+ }), h("ellipse", {
1460
+ cx: 6.8,
1461
+ cy: 7.4,
1462
+ rx: 3.1,
1463
+ ry: 1.35,
1464
+ fill: "#fff",
1465
+ opacity: ".32",
1466
+ key: "shine"
1467
+ }), h("path", {
1468
+ d: "M10.5 11.2A3.5 3.5 0 0 1 14 7.7h5.2a3.5 3.5 0 0 1 3.5 3.5v3a3.5 3.5 0 0 1-3.5 3.5h-4.9l-3.15 2.5a.62.62 0 0 1-1-.49v-2.24a3.5 3.5 0 0 1-1.86-3.12z",
1469
+ fill: "url(#" + gradientId("cb", uid) + ")",
1470
+ key: "front"
1471
+ }), h("circle", {
1472
+ className: "dsh-base-ico-dot dsh-base-ico-dot--1",
1473
+ cx: 13.1,
1474
+ cy: 14.1,
1475
+ r: 1.2,
1476
+ fill: "#fff",
1477
+ key: "d1"
1478
+ }), h("circle", {
1479
+ className: "dsh-base-ico-dot dsh-base-ico-dot--2",
1480
+ cx: 16.2,
1481
+ cy: 14.1,
1482
+ r: 1.2,
1483
+ fill: "#fff",
1484
+ key: "d2"
1485
+ }), h("circle", {
1486
+ className: "dsh-base-ico-dot dsh-base-ico-dot--3",
1487
+ cx: 19.3,
1488
+ cy: 14.1,
1489
+ r: 1.2,
1490
+ fill: "#fff",
1491
+ key: "d3"
1492
+ })));
1493
+ }
1494
+ function starClusterIcon(h, size = 16, uid) {
1495
+ return h("svg", {
1496
+ width: size,
1497
+ height: size,
1498
+ viewBox: "0 0 24 24",
1499
+ className: SVG_CLASS + " dsh-base-cluster__svg--star",
1500
+ "aria-hidden": "true",
1501
+ focusable: "false"
1502
+ }, h("defs", { key: "defs" }, h("linearGradient", {
1503
+ id: gradientId("sa", uid),
1504
+ x1: "0",
1505
+ y1: "0",
1506
+ x2: ".85",
1507
+ y2: "1",
1508
+ key: "sa"
1509
+ }, h("stop", {
1510
+ offset: "0",
1511
+ stopColor: "#ffe98a",
1512
+ key: "s1"
1513
+ }), h("stop", {
1514
+ offset: ".45",
1515
+ stopColor: "#ffc12e",
1516
+ key: "s2"
1517
+ }), h("stop", {
1518
+ offset: "1",
1519
+ stopColor: "#ff8a1e",
1520
+ key: "s3"
1521
+ })), h("radialGradient", {
1522
+ id: gradientId("sg", uid),
1523
+ cx: ".5",
1524
+ cy: ".5",
1525
+ r: ".5",
1526
+ key: "sg"
1527
+ }, h("stop", {
1528
+ offset: "0",
1529
+ stopColor: "#ffd75e",
1530
+ stopOpacity: ".55",
1531
+ key: "s1"
1532
+ }), h("stop", {
1533
+ offset: "1",
1534
+ stopColor: "#ffd75e",
1535
+ stopOpacity: "0",
1536
+ key: "s2"
1537
+ }))), h("circle", {
1538
+ className: "dsh-base-ico-halo",
1539
+ cx: 12,
1540
+ cy: 12,
1541
+ r: 10.6,
1542
+ fill: "url(#" + gradientId("sg", uid) + ")",
1543
+ key: "halo"
1544
+ }), h("g", {
1545
+ className: "dsh-base-ico-bigstar",
1546
+ key: "bigstar"
1547
+ }, h("path", {
1548
+ d: "M12 2.7l2.72 5.49 6.06.89-4.39 4.27 1.04 6.04L12 16.55l-5.43 2.84 1.04-6.04L3.22 9.08l6.06-.89z",
1549
+ fill: "url(#" + gradientId("sa", uid) + ")",
1550
+ stroke: "#ffb020",
1551
+ strokeWidth: ".35",
1552
+ strokeLinejoin: "round",
1553
+ key: "star"
1554
+ }), h("path", {
1555
+ d: "M12 5.35l1.55 3.13 3.45.51-2.5 2.43.6 3.44L12 13.2l-3.1 1.66.6-3.44-2.5-2.43 3.45-.51z",
1556
+ fill: "#fff",
1557
+ opacity: ".33",
1558
+ key: "shine"
1559
+ })), h("g", {
1560
+ className: "dsh-base-ico-spark dsh-base-ico-spark--1",
1561
+ fill: "#fff",
1562
+ key: "sp1"
1563
+ }, h("path", {
1564
+ d: "M19.9 3.0l.52 1.3 1.3.52-1.3.52-.52 1.3-.52-1.3-1.3-.52 1.3-.52z",
1565
+ key: "p"
1566
+ })), h("g", {
1567
+ className: "dsh-base-ico-spark dsh-base-ico-spark--2",
1568
+ fill: "#ffe27a",
1569
+ key: "sp2"
1570
+ }, h("path", {
1571
+ d: "M4.2 16.4l.38.95.95.38-.95.38-.38.95-.38-.95-.95-.38.95-.38z",
1572
+ key: "p"
1573
+ })), h("g", {
1574
+ className: "dsh-base-ico-spark dsh-base-ico-spark--3",
1575
+ fill: "#fff",
1576
+ key: "sp3"
1577
+ }, h("path", {
1578
+ d: "M21.1 17.2l.3.76.76.3-.76.3-.3.76-.3-.76-.76-.3.76-.3z",
1579
+ key: "p"
1580
+ })), h("g", {
1581
+ className: "dsh-base-ico-spark dsh-base-ico-spark--4",
1582
+ fill: "#ffd75e",
1583
+ key: "sp4"
1584
+ }, h("path", {
1585
+ d: "M5.7 3.9l.3.76.76.3-.76.3-.3.76-.3-.76-.76-.3.76-.3z",
1586
+ key: "p"
1587
+ })));
1588
+ }
1589
+ function issueClusterIcon(h, size = 16, uid) {
1590
+ return h("svg", {
1591
+ width: size,
1592
+ height: size,
1593
+ viewBox: "0 0 24 24",
1594
+ className: SVG_CLASS + " dsh-base-cluster__svg--issue",
1595
+ "aria-hidden": "true",
1596
+ focusable: "false"
1597
+ }, h("defs", { key: "defs" }, h("linearGradient", {
1598
+ id: gradientId("ia", uid),
1599
+ x1: "0",
1600
+ y1: "0",
1601
+ x2: "1",
1602
+ y2: "1",
1603
+ key: "ia"
1604
+ }, h("stop", {
1605
+ offset: "0",
1606
+ stopColor: "#ffa3b5",
1607
+ key: "s1"
1608
+ }), h("stop", {
1609
+ offset: ".5",
1610
+ stopColor: "#ff6b8a",
1611
+ key: "s2"
1612
+ }), h("stop", {
1613
+ offset: "1",
1614
+ stopColor: "#f43f5e",
1615
+ key: "s3"
1616
+ }))), h("g", {
1617
+ className: "dsh-base-ico-bubble",
1618
+ key: "bubble"
1619
+ }, h("path", {
1620
+ d: "M6.6 4.4h10.8A3.6 3.6 0 0 1 21 8v6.2a3.6 3.6 0 0 1-3.6 3.6h-6.1l-4.4 3.4a.72.72 0 0 1-1.15-.57v-2.83H6.6A3.6 3.6 0 0 1 3 14.2V8a3.6 3.6 0 0 1 3.6-3.6z",
1621
+ fill: "url(#" + gradientId("ia", uid) + ")",
1622
+ key: "bubble"
1623
+ }), h("ellipse", {
1624
+ cx: 7.3,
1625
+ cy: 6.2,
1626
+ rx: 3.3,
1627
+ ry: 1.3,
1628
+ fill: "#fff",
1629
+ opacity: ".3",
1630
+ key: "shine"
1631
+ }), h("rect", {
1632
+ className: "dsh-base-ico-bang",
1633
+ x: 11.05,
1634
+ y: 6.55,
1635
+ width: 1.9,
1636
+ height: 5.35,
1637
+ rx: ".95",
1638
+ fill: "#fff",
1639
+ key: "stem"
1640
+ }), h("circle", {
1641
+ className: "dsh-base-ico-bang",
1642
+ cx: 12,
1643
+ cy: 14.15,
1644
+ r: 1.02,
1645
+ fill: "#fff",
1646
+ key: "dot"
1647
+ })), h("g", {
1648
+ className: "dsh-base-ico-spark",
1649
+ fill: "#fff",
1650
+ opacity: ".9",
1651
+ key: "spark"
1652
+ }, h("path", {
1653
+ d: "M19.7 2.2l.46 1.15 1.15.46-1.15.46-.46 1.15-.46-1.15-1.15-.46 1.15-.46z",
1654
+ key: "p"
1655
+ })));
1656
+ }
1657
+ function moreClusterIcon(h, size = 16) {
1658
+ return h("svg", {
1659
+ width: size,
1660
+ height: size,
1661
+ viewBox: "0 0 24 24",
1662
+ className: SVG_CLASS + " dsh-base-cluster__svg--more",
1663
+ "aria-hidden": "true",
1664
+ focusable: "false"
1665
+ }, h("g", {
1666
+ fill: "currentColor",
1667
+ key: "dots"
1668
+ }, h("circle", {
1669
+ cx: 5.5,
1670
+ cy: 12,
1671
+ r: 1.8,
1672
+ key: "a"
1673
+ }), h("circle", {
1674
+ cx: 12,
1675
+ cy: 12,
1676
+ r: 1.8,
1677
+ key: "b"
1678
+ }), h("circle", {
1679
+ cx: 18.5,
1680
+ cy: 12,
1681
+ r: 1.8,
1682
+ key: "c"
1683
+ })));
1684
+ }
1685
+ var DEFAULT_SIZE = 16;
1686
+ var DEFAULT_GAP = 4;
1687
+ var BUTTON_PADDING = 12;
1688
+ function trimSlashes2(url) {
1689
+ return url.replace(/\/+$/, "");
1690
+ }
1691
+ function classes2(...parts) {
1692
+ return parts.filter(Boolean).join(" ");
1693
+ }
1694
+ function actionClass(id) {
1695
+ return "dsh-base-cluster__btn--" + id.replace(/[^a-zA-Z0-9_-]/g, "-");
1696
+ }
1697
+ function createActionCluster(React, deps) {
1698
+ const h = React.createElement;
1699
+ function defaultItems(size, uid) {
1700
+ const repo = deps.repoUrl;
1701
+ const issues = deps.issuesUrl ?? (repo ? trimSlashes2(repo) + "/issues" : void 0);
1702
+ const items = [{
1703
+ id: "contact",
1704
+ icon: contactClusterIcon(h, size, uid + "c"),
1705
+ label: deps.text("contact"),
1706
+ tip: deps.text("contactTip"),
1707
+ onClick: (trigger) => deps.openContact(trigger)
1708
+ }];
1709
+ if (repo) items.push({
1710
+ id: "star",
1711
+ icon: starClusterIcon(h, size, uid + "s"),
1712
+ label: deps.text("starLabel"),
1713
+ tip: deps.text("starTip"),
1714
+ href: repo
1715
+ });
1716
+ if (issues) items.push({
1717
+ id: "issue",
1718
+ icon: issueClusterIcon(h, size, uid + "i"),
1719
+ label: deps.text("issueLabel"),
1720
+ tip: deps.text("issueTip"),
1721
+ href: issues
1722
+ });
1723
+ return items;
1724
+ }
1725
+ function ActionCluster(props) {
1726
+ const size = props.size ?? DEFAULT_SIZE;
1727
+ const gap = props.gap ?? DEFAULT_GAP;
1728
+ const uid = React.useId().replace(/[^a-zA-Z0-9_-]/g, "");
1729
+ const tip = React.useMemo(() => createTipController(), []);
1730
+ const [menuOpen, setMenuOpen] = React.useState(false);
1731
+ const moreRef = React.useRef(null);
1732
+ const menuRef = React.useRef(null);
1733
+ React.useEffect(() => () => tip.dispose(), [tip]);
1734
+ const items = props.items ?? defaultItems(size, uid);
1735
+ const cap = props.maxVisible === void 0 ? items.length : Math.max(0, Math.floor(props.maxVisible));
1736
+ const visible = items.slice(0, Math.min(items.length, cap));
1737
+ const overflow = items.slice(visible.length);
1738
+ const overflowLabel = props.overflowLabel ?? deps.text("moreActions");
1739
+ const showTip = (anchor, item) => {
1740
+ if (item.disabled || !item.tip) return;
1741
+ tip.show(anchor, item.tip);
1742
+ };
1743
+ const hideTip = () => tip.hideSoon();
1744
+ const renderButton = (item) => {
1745
+ const icon = h("span", {
1746
+ className: "dsh-base-cluster__icon",
1747
+ key: "icon",
1748
+ "aria-hidden": "true"
1749
+ }, item.icon);
1750
+ const shared = {
1751
+ className: classes2("dsh-base-cluster__btn", actionClass(item.id), item.className),
1752
+ style: {
1753
+ width: size + BUTTON_PADDING,
1754
+ height: size + BUTTON_PADDING
1755
+ },
1756
+ "aria-label": item.label,
1757
+ "data-cluster-item": item.id,
1758
+ onMouseEnter: (event) => showTip(event.currentTarget, item),
1759
+ onMouseLeave: hideTip,
1760
+ onFocus: (event) => showTip(event.currentTarget, item),
1761
+ onBlur: hideTip
1762
+ };
1763
+ if (item.disabled) return h("button", {
1764
+ ...shared,
1765
+ key: item.id,
1766
+ type: "button",
1767
+ disabled: true,
1768
+ "aria-disabled": "true"
1769
+ }, icon);
1770
+ if (item.href) return h("a", {
1771
+ ...shared,
1772
+ key: item.id,
1773
+ href: item.href,
1774
+ target: "_blank",
1775
+ rel: "noreferrer noopener",
1776
+ onClick: (event) => {
1777
+ item.onClick?.(event.currentTarget);
1778
+ }
1779
+ }, icon);
1780
+ return h("button", {
1781
+ ...shared,
1782
+ key: item.id,
1783
+ type: "button",
1784
+ onClick: (event) => {
1785
+ item.onClick?.(event.currentTarget);
1786
+ }
1787
+ }, icon);
1788
+ };
1789
+ const renderMenuItem = (item) => {
1790
+ const icon = h("span", {
1791
+ className: "dsh-base-cluster__icon",
1792
+ key: "icon",
1793
+ "aria-hidden": "true"
1794
+ }, item.icon);
1795
+ const label = h("span", {
1796
+ className: "dsh-base-cluster__menu-label",
1797
+ key: "label"
1798
+ }, item.label);
1799
+ const shared = {
1800
+ className: "dsh-base-cluster__menu-item",
1801
+ role: "menuitem",
1802
+ "data-cluster-item": item.id
1803
+ };
1804
+ if (item.disabled) return h("button", {
1805
+ ...shared,
1806
+ key: item.id,
1807
+ type: "button",
1808
+ disabled: true
1809
+ }, icon, label);
1810
+ if (item.href) return h("a", {
1811
+ ...shared,
1812
+ key: item.id,
1813
+ href: item.href,
1814
+ target: "_blank",
1815
+ rel: "noreferrer noopener",
1816
+ onClick: (event) => {
1817
+ item.onClick?.(event.currentTarget);
1818
+ setMenuOpen(false);
1819
+ }
1820
+ }, icon, label);
1821
+ return h("button", {
1822
+ ...shared,
1823
+ key: item.id,
1824
+ type: "button",
1825
+ onClick: (event) => {
1826
+ item.onClick?.(event.currentTarget);
1827
+ setMenuOpen(false);
1828
+ }
1829
+ }, icon, label);
1830
+ };
1831
+ const overflowButton = overflow.length > 0 ? h("button", {
1832
+ key: "__more",
1833
+ ref: moreRef,
1834
+ type: "button",
1835
+ className: classes2("dsh-base-cluster__btn", "dsh-base-cluster__btn--more", menuOpen && "is-open"),
1836
+ style: {
1837
+ width: size + BUTTON_PADDING,
1838
+ height: size + BUTTON_PADDING
1839
+ },
1840
+ "aria-label": overflowLabel,
1841
+ "aria-haspopup": "menu",
1842
+ "aria-expanded": menuOpen,
1843
+ "data-cluster-item": "__more",
1844
+ onMouseEnter: (event) => {
1845
+ if (!menuOpen) tip.show(event.currentTarget, overflowLabel);
1846
+ },
1847
+ onMouseLeave: hideTip,
1848
+ onFocus: (event) => {
1849
+ if (!menuOpen) tip.show(event.currentTarget, overflowLabel);
1850
+ },
1851
+ onBlur: hideTip,
1852
+ onClick: (event) => {
1853
+ event.stopPropagation();
1854
+ setMenuOpen((open) => !open);
1855
+ }
1856
+ }, h("span", {
1857
+ className: "dsh-base-cluster__icon",
1858
+ key: "icon",
1859
+ "aria-hidden": "true"
1860
+ }, moreClusterIcon(h, size))) : null;
1861
+ const menu = overflow.length > 0 && menuOpen ? h("div", {
1862
+ key: "menu",
1863
+ ref: menuRef,
1864
+ className: "dsh-base-cluster__menu",
1865
+ role: "menu",
1866
+ "aria-label": props.ariaLabel ?? deps.text("actionsLabel")
1867
+ }, overflow.map(renderMenuItem)) : null;
1868
+ React.useEffect(() => {
1869
+ if (!menuOpen) return void 0;
1870
+ if (typeof document === "undefined") return void 0;
1871
+ const onPointerDown = (event) => {
1872
+ const target = event.target;
1873
+ if (target && (menuRef.current?.contains(target) || moreRef.current?.contains(target))) return;
1874
+ setMenuOpen(false);
1875
+ };
1876
+ const onKeyDown = (event) => {
1877
+ if (event.key !== "Escape") return;
1878
+ setMenuOpen(false);
1879
+ moreRef.current?.focus();
1880
+ };
1881
+ document.addEventListener("pointerdown", onPointerDown, true);
1882
+ document.addEventListener("keydown", onKeyDown, true);
1883
+ (menuRef.current?.querySelector("[role='menuitem']"))?.focus();
1884
+ return () => {
1885
+ document.removeEventListener("pointerdown", onPointerDown, true);
1886
+ document.removeEventListener("keydown", onKeyDown, true);
1887
+ };
1888
+ }, [menuOpen]);
1889
+ return h("div", {
1890
+ className: classes2("dsh-base-cluster", props.variant === "tray" && "dsh-base-cluster--tray", props.className),
1891
+ role: "group",
1892
+ "aria-label": props.ariaLabel ?? deps.text("actionsLabel"),
1893
+ style: { gap: gap + "px" }
1894
+ }, visible.map(renderButton), overflowButton, menu);
1895
+ }
1896
+ return ActionCluster;
1897
+ }
1898
+ var PACKAGE_NAME = "dsh-featherhunter-plugin-base";
1899
+ var CONTENT_IMAGE_TIMEOUT_MS = 6e3;
1900
+ var MANIFEST_CACHE_TTL_MS = 18e5;
1901
+ var MANIFEST_FAILURE_TTL_MS = 6e4;
1902
+ var MAX_MANIFEST_BYTES = 524288;
1903
+ var UTF8_ENCODER = new TextEncoder();
1904
+ function utf8ByteLength$1(value) {
1905
+ return UTF8_ENCODER.encode(value).byteLength;
1906
+ }
1907
+ var ALLOWED_CDN_HOSTS = [
1908
+ "unpkg.com",
1909
+ "registry.npmmirror.com",
1910
+ "cdn.jsdelivr.net"
1911
+ ];
1912
+ var SEMVER_PATTERN = /^\d+\.\d+\.\d+(?:-[0-9A-Za-z.-]+)?(?:\+[0-9A-Za-z.-]+)?$/;
1913
+ var PACKAGE_NAME_PATTERN = /^[a-z0-9][a-z0-9._-]*$/;
1914
+ var IMAGE_PATH_PATTERN = /^[a-z0-9][a-z0-9._-]*\.(?:png|jpe?g)$/i;
1915
+ var MAX_ID_LENGTH = 64;
1916
+ var MAX_TEXT_LENGTH = 200;
1917
+ var MAX_NOTE_LENGTH = 300;
1918
+ var MAX_PATH_LENGTH = 128;
1919
+ function fail(message) {
1920
+ throw new Error("manifest: " + message);
1921
+ }
1922
+ function requireString2(value, field, maxLength) {
1923
+ if (typeof value !== "string" || value.length === 0) fail(field + " must be a non-empty string");
1924
+ if (value.length > maxLength) fail(field + " is longer than " + maxLength + " characters");
1925
+ return value;
1926
+ }
1927
+ function requireI18nText(value, field) {
1928
+ if (!isRecord(value)) fail(field + " must be an object with zh/en");
1929
+ requireString2(value["zh"], field + ".zh", MAX_TEXT_LENGTH);
1930
+ requireString2(value["en"], field + ".en", MAX_TEXT_LENGTH);
1931
+ }
1932
+ function parseUrl(value) {
1933
+ try {
1934
+ return new URL(value);
1935
+ } catch {
1936
+ return null;
1937
+ }
1938
+ }
1939
+ function isHttpsUrl(value) {
1940
+ const url = parseUrl(value);
1941
+ return url !== null && url.protocol === "https:";
1942
+ }
1943
+ function isAllowedCdnUrl(value) {
1944
+ const url = parseUrl(value);
1945
+ if (!url || url.protocol !== "https:") return false;
1946
+ return ALLOWED_CDN_HOSTS.includes(url.hostname);
1947
+ }
1948
+ function imageUrls(version, path, packageName = PACKAGE_NAME) {
1949
+ if (!SEMVER_PATTERN.test(version)) return [];
1950
+ if (!IMAGE_PATH_PATTERN.test(path) || path.length > MAX_PATH_LENGTH) return [];
1951
+ return ["https://cdn.jsdelivr.net/npm/" + packageName + "@" + version + "/data/img/" + path, "https://registry.npmmirror.com/" + packageName + "/" + version + "/files/data/img/" + path];
1952
+ }
1953
+ function defaultChannels(packageName = PACKAGE_NAME) {
1954
+ const unpkgUrl = "https://unpkg.com/" + packageName + "@latest/data/manifest.json";
1955
+ const npmmirrorLatest = "https://registry.npmmirror.com/" + packageName + "/latest";
1956
+ const jsdelivrUrl = "https://cdn.jsdelivr.net/npm/" + packageName + "@latest/data/manifest.json";
1957
+ return [
1958
+ {
1959
+ name: "unpkg",
1960
+ load: async (context) => ({
1961
+ raw: JSON.parse(await context.fetchText(unpkgUrl)),
1962
+ url: unpkgUrl
1963
+ })
1964
+ },
1965
+ {
1966
+ name: "npmmirror",
1967
+ load: async (context) => {
1968
+ const latest = await context.fetchJson(npmmirrorLatest);
1969
+ const version = isRecord(latest) ? latest["version"] : void 0;
1970
+ if (typeof version !== "string" || !SEMVER_PATTERN.test(version)) fail("npmmirror latest is missing a usable version");
1971
+ const url = "https://registry.npmmirror.com/" + packageName + "/" + version + "/files/data/manifest.json";
1972
+ return {
1973
+ raw: JSON.parse(await context.fetchText(url)),
1974
+ url
1975
+ };
1976
+ }
1977
+ },
1978
+ {
1979
+ name: "jsdelivr",
1980
+ load: async (context) => ({
1981
+ raw: JSON.parse(await context.fetchText(jsdelivrUrl)),
1982
+ url: jsdelivrUrl
1983
+ })
1984
+ }
1985
+ ];
1986
+ }
1987
+ function validateRemoteManifest(raw) {
1988
+ const manifest = parseManifest(raw);
1989
+ if (!SEMVER_PATTERN.test(manifest.version)) fail("version must be a semantic version");
1990
+ if (!isHttpsUrl(manifest.fallbackUrl)) fail("fallbackUrl must be https");
1991
+ const seen = /* @__PURE__ */ new Set();
1992
+ for (const group of manifest.groups) {
1993
+ if (group.id.length > MAX_ID_LENGTH) fail("group id is too long");
1994
+ if (seen.has(group.id)) fail("duplicate group id " + group.id);
1995
+ seen.add(group.id);
1996
+ requireString2(group.platform, "group.platform", MAX_ID_LENGTH);
1997
+ requireI18nText(group.readmeTitle, "group.readmeTitle");
1998
+ requireI18nText(group.alt, "group.alt");
1999
+ requireI18nText(group.title, "group.title");
2000
+ if (group.subtitle) requireI18nText(group.subtitle, "group.subtitle");
2001
+ if (group.note) {
2002
+ if (!isRecord(group.note)) fail("group.note must be an object with zh/en");
2003
+ requireString2(group.note.zh, "group.note.zh", MAX_NOTE_LENGTH);
2004
+ requireString2(group.note.en, "group.note.en", MAX_NOTE_LENGTH);
2005
+ }
2006
+ requireString2(group.card, "group.card", MAX_PATH_LENGTH);
2007
+ if (!IMAGE_PATH_PATTERN.test(group.card)) fail("group.card must be a png/jpg file name");
2008
+ if (group.qr.kind === "remote") {
2009
+ if (!IMAGE_PATH_PATTERN.test(group.qr.path)) fail("group.qr.path must be a png/jpg file name");
2010
+ if (group.qr.path.length > MAX_PATH_LENGTH) fail("group.qr.path is too long");
2011
+ } else requireString2(group.qr.key, "group.qr.key", MAX_ID_LENGTH);
2012
+ }
2013
+ return manifest;
2014
+ }
2015
+ function toDataUrl(bytes, contentType) {
2016
+ let binary = "";
2017
+ const chunk = 32768;
2018
+ for (let index = 0; index < bytes.length; index += chunk) binary += String.fromCharCode(...bytes.subarray(index, index + chunk));
2019
+ return "data:" + (contentType && contentType.startsWith("image/") ? contentType : "image/png") + ";base64," + btoa(binary);
2020
+ }
2021
+ var sessionCache = null;
2022
+ var inFlight = null;
2023
+ var ContentLoader = class {
2024
+ packageName;
2025
+ timeoutMs;
2026
+ imageTimeoutMs;
2027
+ failureTtlMs;
2028
+ maxImageBytes;
2029
+ fetchImpl;
2030
+ now;
2031
+ channels;
2032
+ constructor(options = {}) {
2033
+ this.packageName = options.packageName ?? PACKAGE_NAME;
2034
+ if (!PACKAGE_NAME_PATTERN.test(this.packageName)) throw new Error("invalid package name: " + this.packageName);
2035
+ this.timeoutMs = options.timeoutMs ?? 1500;
2036
+ this.imageTimeoutMs = options.imageTimeoutMs ?? CONTENT_IMAGE_TIMEOUT_MS;
2037
+ this.failureTtlMs = options.failureTtlMs ?? MANIFEST_FAILURE_TTL_MS;
2038
+ this.maxImageBytes = options.maxImageBytes ?? 524288;
2039
+ this.now = options.now ?? (() => Date.now());
2040
+ const injected = options.fetchImpl ?? globalThis.fetch;
2041
+ if (typeof injected !== "function") throw new Error("fetch is not available in this environment");
2042
+ this.fetchImpl = injected;
2043
+ if (options.manifestUrl !== void 0) {
2044
+ if (!isHttpsUrl(options.manifestUrl)) throw new Error("manifestUrl must be https");
2045
+ const url = options.manifestUrl;
2046
+ this.channels = [{
2047
+ name: "custom",
2048
+ load: async (context) => ({
2049
+ raw: JSON.parse(await context.fetchText(url)),
2050
+ url
2051
+ })
2052
+ }];
2053
+ } else if (options.channels) this.channels = options.channels.slice();
2054
+ else this.channels = defaultChannels(this.packageName);
2055
+ }
2056
+ /** Success lives 30 minutes; a hard failure only 60 seconds. */
2057
+ ttlFor(content) {
2058
+ return content === null ? this.failureTtlMs : MANIFEST_CACHE_TTL_MS;
2059
+ }
2060
+ /** Cached result while it is still inside its own window. */
2061
+ getCached() {
2062
+ if (!sessionCache) return null;
2063
+ if (this.now() - sessionCache.at >= this.ttlFor(sessionCache.content)) return null;
2064
+ return sessionCache.content;
2065
+ }
2066
+ /**
2067
+ * Fetch and validate the manifest once per window; concurrent callers share
2068
+ * one request. Resolves to null when every channel failed, and that empty
2069
+ * result is only kept for a minute so the next open can retry.
2070
+ */
2071
+ load() {
2072
+ if (sessionCache !== null && this.now() - sessionCache.at < this.ttlFor(sessionCache.content)) return Promise.resolve(sessionCache.content);
2073
+ if (inFlight) return inFlight;
2074
+ const startedAt = this.now();
2075
+ const promise = this.fetchContent(startedAt).then((content) => {
2076
+ sessionCache = {
2077
+ at: this.now(),
2078
+ content
2079
+ };
2080
+ return content;
2081
+ }).finally(() => {
2082
+ inFlight = null;
2083
+ });
2084
+ inFlight = promise;
2085
+ return promise;
2086
+ }
2087
+ /** Prefetch every remote QR image of a manifest (best effort). */
2088
+ async ensureImages(content) {
2089
+ const pending = [];
2090
+ for (const group of content.manifest.groups) {
2091
+ if (group.qr.kind !== "remote") continue;
2092
+ const key = content.manifest.version + "/" + group.qr.path;
2093
+ if (content.images.has(key)) continue;
2094
+ pending.push(this.loadImage(content, group.qr.path, key));
2095
+ }
2096
+ await Promise.all(pending);
2097
+ }
2098
+ /** Data URI for a remote QR path, or null when it is not prefetched. */
2099
+ imageFor(content, path) {
2100
+ if (!content) return null;
2101
+ return content.images.get(content.manifest.version + "/" + path) ?? null;
2102
+ }
2103
+ /** Warm the cache: manifest plus images. Never rejects. */
2104
+ async preload() {
2105
+ try {
2106
+ const content = await this.load();
2107
+ if (content) await this.ensureImages(content);
2108
+ } catch {}
2109
+ }
2110
+ async loadImage(content, path, key) {
2111
+ for (const url of imageUrls(content.manifest.version, path, this.packageName)) {
2112
+ if (!isAllowedCdnUrl(url)) continue;
2113
+ try {
2114
+ const data = await this.fetchImage(url);
2115
+ if (data) {
2116
+ content.images.set(key, data);
2117
+ return;
2118
+ }
2119
+ } catch {}
2120
+ }
2121
+ }
2122
+ async fetchImage(url) {
2123
+ const response = await this.request(url, this.imageTimeoutMs);
2124
+ if (!response.ok) return null;
2125
+ const declared = Number(response.headers.get("content-length"));
2126
+ if (Number.isFinite(declared) && declared > this.maxImageBytes) return null;
2127
+ const buffer = await response.arrayBuffer();
2128
+ if (buffer.byteLength > this.maxImageBytes) return null;
2129
+ return toDataUrl(new Uint8Array(buffer), response.headers.get("content-type"));
2130
+ }
2131
+ async fetchContent(fetchedAt) {
2132
+ const context = {
2133
+ packageName: this.packageName,
2134
+ fetchText: (url) => this.fetchText(url),
2135
+ fetchJson: async (url) => JSON.parse(await this.fetchText(url))
2136
+ };
2137
+ for (const channel of this.channels) try {
2138
+ return {
2139
+ manifest: validateRemoteManifest((await channel.load(context)).raw),
2140
+ source: channel.name,
2141
+ fetchedAt,
2142
+ images: /* @__PURE__ */ new Map()
2143
+ };
2144
+ } catch {}
2145
+ return null;
2146
+ }
2147
+ async fetchText(url) {
2148
+ const response = await this.request(url);
2149
+ if (!response.ok) throw new Error("HTTP " + response.status);
2150
+ const declared = Number(response.headers.get("content-length"));
2151
+ if (Number.isFinite(declared) && declared > 524288) throw new Error("manifest text exceeds " + MAX_MANIFEST_BYTES + " bytes");
2152
+ const text = await response.text();
2153
+ if (utf8ByteLength$1(text) > 524288) throw new Error("manifest text exceeds " + MAX_MANIFEST_BYTES + " bytes");
2154
+ return text;
2155
+ }
2156
+ /** One request with its own abort window; the timer is always cleared. */
2157
+ async request(url, timeoutMs = this.timeoutMs) {
2158
+ if (!isAllowedCdnUrl(url)) throw new Error("blocked url: " + url);
2159
+ const controller = typeof AbortController === "function" ? new AbortController() : null;
2160
+ let timer;
2161
+ const timeout = new Promise((_resolve, reject) => {
2162
+ timer = setTimeout(() => {
2163
+ if (controller) controller.abort();
2164
+ reject(/* @__PURE__ */ new Error("timeout after " + timeoutMs + "ms"));
2165
+ }, timeoutMs);
2166
+ });
2167
+ try {
2168
+ const request = this.fetchImpl(url, {
2169
+ signal: controller ? controller.signal : void 0,
2170
+ cache: "no-store",
2171
+ credentials: "omit"
2172
+ });
2173
+ request.catch(() => {});
2174
+ return await Promise.race([request, timeout]);
2175
+ } finally {
2176
+ if (timer !== void 0) clearTimeout(timer);
2177
+ }
2178
+ }
2179
+ };
2180
+ function createContentLoader(options = {}) {
2181
+ return new ContentLoader(options);
2182
+ }
2183
+ var CHANNEL_BADGES = {
2184
+ feishu: {
2185
+ platform: "feishu",
2186
+ labelKey: "channelFeishu",
2187
+ color: "#3370FF",
2188
+ viewBox: "0 0 48 48",
2189
+ fillRule: "evenodd",
2190
+ paths: ["M41.0716 5.99409L3.31071 16.5187L12.3856 25.8126L20.7998 25.9594L30.4827 16.5187C30.2266 15.9943 30.0985 15.5552 30.0985 15.2013C30.0985 14.4074 30.4104 13.7786 30.8947 13.333C31.7241 12.57 32.7222 12.4558 33.8889 12.9905L41.0716 5.99409Z", "M42.1021 6.72842L31.5775 44.4893L22.2836 35.4144L22.1367 27.0002L31.5115 17.4816C32.0195 17.8454 32.5743 18.0105 33.1759 17.9769C34.0784 17.9264 34.6614 17.3813 34.9349 17.0602C35.2083 16.7392 35.5293 16.2051 35.5025 15.4113C35.4847 14.8821 35.3109 14.3941 34.9812 13.9472L42.1021 6.72842Z"]
2191
+ },
2192
+ qq: {
2193
+ platform: "qq",
2194
+ labelKey: "channelQq",
2195
+ color: "#12B7F5",
2196
+ viewBox: "0 0 24 24",
2197
+ fillRule: "nonzero",
2198
+ paths: ["M21.395 15.035a40 40 0 0 0-.803-2.264l-1.079-2.695c.001-.032.014-.562.014-.836C19.526 4.632 17.351 0 12 0S4.474 4.632 4.474 9.241c0 .274.013.804.014.836l-1.08 2.695a39 39 0 0 0-.802 2.264c-1.021 3.283-.69 4.643-.438 4.673c.54.065 2.103-2.472 2.103-2.472c0 1.469.756 3.387 2.394 4.771c-.612.188-1.363.479-1.845.835c-.434.32-.379.646-.301.778c.343.578 5.883.369 7.482.189c1.6.18 7.14.389 7.483-.189c.078-.132.132-.458-.301-.778c-.483-.356-1.233-.646-1.846-.836c1.637-1.384 2.393-3.302 2.393-4.771c0 0 1.563 2.537 2.103 2.472c.251-.03.581-1.39-.438-4.673"]
75
2199
  },
76
- {
77
- skill: "chef",
78
- slotId: "ilife:chef",
79
- order: 95,
80
- title: "私家大厨",
81
- plugin: "dsh-chef",
82
- channel: "/ilife-chef"
2200
+ wechat: {
2201
+ platform: "wechat",
2202
+ labelKey: "channelWechat",
2203
+ color: "#07C160",
2204
+ viewBox: "0 0 24 24",
2205
+ fillRule: "nonzero",
2206
+ paths: ["M8.691 2.188C3.891 2.188 0 5.476 0 9.53c0 2.212 1.17 4.203 3.002 5.55a.59.59 0 0 1 .213.665l-.39 1.48c-.019.07-.048.141-.048.213c0 .163.13.295.29.295a.33.33 0 0 0 .167-.054l1.903-1.114a.86.86 0 0 1 .717-.098a10.2 10.2 0 0 0 2.837.403c.276 0 .543-.027.811-.05c-.857-2.578.157-4.972 1.932-6.446c1.703-1.415 3.882-1.98 5.853-1.838c-.576-3.583-4.196-6.348-8.596-6.348M5.785 5.991c.642 0 1.162.529 1.162 1.18a1.17 1.17 0 0 1-1.162 1.178A1.17 1.17 0 0 1 4.623 7.17c0-.651.52-1.18 1.162-1.18zm5.813 0c.642 0 1.162.529 1.162 1.18a1.17 1.17 0 0 1-1.162 1.178a1.17 1.17 0 0 1-1.162-1.178c0-.651.52-1.18 1.162-1.18m5.34 2.867c-1.797-.052-3.746.512-5.28 1.786c-1.72 1.428-2.687 3.72-1.78 6.22c.942 2.453 3.666 4.229 6.884 4.229c.826 0 1.622-.12 2.361-.336a.72.72 0 0 1 .598.082l1.584.926a.3.3 0 0 0 .14.047c.134 0 .24-.111.24-.247c0-.06-.023-.12-.038-.177l-.327-1.233a.6.6 0 0 1-.023-.156a.49.49 0 0 1 .201-.398C23.024 18.48 24 16.82 24 14.98c0-3.21-2.931-5.837-6.656-6.088V8.89c-.135-.01-.27-.027-.407-.03zm-2.53 3.274c.535 0 .969.44.969.982a.976.976 0 0 1-.969.983a.976.976 0 0 1-.969-.983c0-.542.434-.982.97-.982zm4.844 0c.535 0 .969.44.969.982a.976.976 0 0 1-.969.983a.976.976 0 0 1-.969-.983c0-.542.434-.982.969-.982"]
2207
+ }
2208
+ };
2209
+ function channelBadge(platform) {
2210
+ return Object.prototype.hasOwnProperty.call(CHANNEL_BADGES, platform) ? CHANNEL_BADGES[platform] : void 0;
2211
+ }
2212
+ var SVG_NS = "http://www.w3.org/2000/svg";
2213
+ function createChannelBadge(doc, badge) {
2214
+ const tile = doc.createElement("span");
2215
+ tile.className = "dsh-base-modal__card-badge";
2216
+ tile.dataset.platform = badge.platform;
2217
+ tile.setAttribute("aria-hidden", "true");
2218
+ tile.style.setProperty("--dsh-base-badge-color", badge.color);
2219
+ const svg = doc.createElementNS(SVG_NS, "svg");
2220
+ svg.setAttribute("viewBox", badge.viewBox);
2221
+ svg.setAttribute("focusable", "false");
2222
+ svg.setAttribute("role", "presentation");
2223
+ for (const d of badge.paths) {
2224
+ const path = doc.createElementNS(SVG_NS, "path");
2225
+ path.setAttribute("d", d);
2226
+ path.setAttribute("fill", "currentColor");
2227
+ if (badge.fillRule === "evenodd") path.setAttribute("fill-rule", "evenodd");
2228
+ svg.append(path);
2229
+ }
2230
+ tile.append(svg);
2231
+ return tile;
2232
+ }
2233
+ var BASE_STYLE_ID = "dsh-base-ui-style";
2234
+ function rowSkin(className) {
2235
+ return [
2236
+ "." + className + "{display:flex;align-items:center;gap:8px;min-width:0;padding:7px 4px;border-radius:6px;color:inherit;text-decoration:none;transition:background .15s ease}",
2237
+ "." + className + ":hover{background:rgba(127,127,127,.1)}",
2238
+ "." + className + ":focus-visible{outline:2px solid #4d6bfe;outline-offset:2px}"
2239
+ ];
2240
+ }
2241
+ var BASE_CSS = [
2242
+ ".dsh-base-contact-button{display:inline-flex;align-items:center;justify-content:center;padding:6px;border:0;border-radius:6px;background:transparent;color:inherit;font:inherit;line-height:0;cursor:pointer;transition:background .15s ease}",
2243
+ ".dsh-base-contact-button:hover{background:var(--dsw-alias-bg-layer-2,rgba(127,127,127,.12))}",
2244
+ ".dsh-base-contact-button:focus-visible{outline:2px solid var(--dsw-alias-link,#4d6bfe);outline-offset:2px}",
2245
+ ".dsh-base-contact-button__icon{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto}",
2246
+ ".dsh-base-contact-button__icon svg{display:block}",
2247
+ ...rowSkin("dsh-base-contact-row"),
2248
+ ".dsh-base-contact-row{border:0;background:transparent;font:inherit;text-align:left;cursor:pointer;width:100%;text-decoration:none}",
2249
+ ".dsh-base-contact-row__icon{display:inline-flex;flex:0 0 auto;align-items:center;color:var(--dsw-alias-label-secondary,#86909c)}",
2250
+ ".dsh-base-contact-row__icon svg{display:block}",
2251
+ ".dsh-base-contact-row__label{flex:1 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px;line-height:1.5}",
2252
+ ".dsh-base-contact-row__hint{font-size:12px;color:var(--dsw-alias-label-tertiary,#a9aeb8)}",
2253
+ ".dsh-base-contact-row__ext{display:inline-flex;flex:0 0 auto;align-items:center;color:var(--dsw-alias-label-tertiary,#a9aeb8)}",
2254
+ ".dsh-base-contact-row__ext svg{display:block}",
2255
+ ".dsh-base-icon-action{display:inline-flex;align-items:center;justify-content:center;padding:6px;border:0;border-radius:6px;background:transparent;color:inherit;font:inherit;line-height:0;text-decoration:none;cursor:pointer;transition:background .15s ease,color .15s ease}",
2256
+ ".dsh-base-icon-action:hover{background:var(--dsw-alias-bg-layer-2,rgba(127,127,127,.12))}",
2257
+ ".dsh-base-icon-action:focus-visible{outline:2px solid var(--dsw-alias-link,#4d6bfe);outline-offset:2px}",
2258
+ ".dsh-base-icon-action__icon{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto}",
2259
+ ".dsh-base-icon-action__icon svg{display:block}",
2260
+ ".dsh-base-actions{display:inline-flex;flex:0 0 auto;align-items:center;gap:2px}",
2261
+ ".dsh-base-actions--group{gap:0;padding:1px;border:1px solid var(--dsw-alias-border-l1,rgba(127,127,127,.2));border-radius:10px;background:var(--dsw-alias-bg-layer-2,rgba(127,127,127,.04))}",
2262
+ ".dsh-base-cluster{position:relative;display:inline-flex;flex:0 0 auto;align-items:center;gap:var(--dsh-base-cluster-gap,4px);color:inherit}",
2263
+ ".dsh-base-cluster--tray{gap:0;padding:1px;border:1px solid var(--dsw-alias-border-l1,rgba(127,127,127,.2));border-radius:10px;background:var(--dsw-alias-bg-layer-2,rgba(127,127,127,.04))}",
2264
+ ".dsh-base-cluster__btn{--dsh-base-glow:rgba(127,127,127,.42);position:relative;isolation:isolate;display:inline-flex;flex:0 0 auto;align-items:center;justify-content:center;padding:0;border:0;border-radius:8px;background:transparent;color:inherit;font:inherit;line-height:0;text-decoration:none;cursor:pointer;transition:transform .1s ease}",
2265
+ ".dsh-base-cluster__btn::before{content:'';position:absolute;inset:-10px;z-index:0;border-radius:50%;background:radial-gradient(circle at 50% 50%,var(--dsh-base-glow) 0%,transparent 62%);opacity:0;transform:scale(.5);transition:opacity .16s ease,transform .2s ease;pointer-events:none}",
2266
+ ".dsh-base-cluster__btn:hover::before,.dsh-base-cluster__btn.is-hover::before,.dsh-base-cluster__btn.is-open::before{opacity:.85;transform:scale(1)}",
2267
+ ".dsh-base-cluster__btn:active,.dsh-base-cluster__btn.is-active{transform:translateY(1px) scale(.88)}",
2268
+ ".dsh-base-cluster__btn:active::before,.dsh-base-cluster__btn.is-active::before{opacity:.95;transform:scale(1.02)}",
2269
+ ".dsh-base-cluster__btn:focus-visible,.dsh-base-cluster__btn.is-focus{outline:2px solid var(--dsw-alias-link,#4d6bfe);outline-offset:2px}",
2270
+ ".dsh-base-cluster__btn:disabled{opacity:.38;filter:grayscale(1) saturate(.25);cursor:default}",
2271
+ ".dsh-base-cluster__btn:disabled::before{display:none}",
2272
+ ".dsh-base-cluster__icon{position:relative;z-index:1;display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;line-height:0}",
2273
+ ".dsh-base-cluster__icon svg{display:block;overflow:visible}",
2274
+ ".dsh-base-cluster__btn--contact{--dsh-base-glow:rgba(79,139,255,.55)}",
2275
+ ".dsh-base-cluster__btn--star{--dsh-base-glow:rgba(255,193,46,.6)}",
2276
+ ".dsh-base-cluster__btn--issue{--dsh-base-glow:rgba(255,107,138,.55)}",
2277
+ ".dsh-base-cluster__btn:hover .dsh-base-cluster__svg--contact .dsh-base-ico-bob,.dsh-base-cluster__btn.is-hover .dsh-base-cluster__svg--contact .dsh-base-ico-bob{animation:dsh-base-cluster-floaty 2.4s ease-in-out infinite}",
2278
+ ".dsh-base-cluster__btn:hover .dsh-base-cluster__svg--contact .dsh-base-ico-dot,.dsh-base-cluster__btn.is-hover .dsh-base-cluster__svg--contact .dsh-base-ico-dot{animation:dsh-base-cluster-dotpulse 1.2s ease-in-out infinite}",
2279
+ ".dsh-base-cluster__btn:hover .dsh-base-cluster__svg--contact .dsh-base-ico-dot--2,.dsh-base-cluster__btn.is-hover .dsh-base-cluster__svg--contact .dsh-base-ico-dot--2{animation-delay:.18s}",
2280
+ ".dsh-base-cluster__btn:hover .dsh-base-cluster__svg--contact .dsh-base-ico-dot--3,.dsh-base-cluster__btn.is-hover .dsh-base-cluster__svg--contact .dsh-base-ico-dot--3{animation-delay:.36s}",
2281
+ ".dsh-base-cluster__btn:hover .dsh-base-cluster__svg--star .dsh-base-ico-bigstar,.dsh-base-cluster__btn.is-hover .dsh-base-cluster__svg--star .dsh-base-ico-bigstar{animation:dsh-base-cluster-twinkle 1.7s ease-in-out infinite}",
2282
+ ".dsh-base-cluster__btn:hover .dsh-base-cluster__svg--star .dsh-base-ico-halo,.dsh-base-cluster__btn.is-hover .dsh-base-cluster__svg--star .dsh-base-ico-halo{animation:dsh-base-cluster-halo 1.7s ease-in-out infinite}",
2283
+ ".dsh-base-cluster__btn:hover .dsh-base-cluster__svg--star .dsh-base-ico-spark,.dsh-base-cluster__btn.is-hover .dsh-base-cluster__svg--star .dsh-base-ico-spark{animation:dsh-base-cluster-blink 1.3s ease-in-out infinite}",
2284
+ ".dsh-base-cluster__btn:hover .dsh-base-cluster__svg--star .dsh-base-ico-spark--2,.dsh-base-cluster__btn.is-hover .dsh-base-cluster__svg--star .dsh-base-ico-spark--2{animation-delay:.22s}",
2285
+ ".dsh-base-cluster__btn:hover .dsh-base-cluster__svg--star .dsh-base-ico-spark--3,.dsh-base-cluster__btn.is-hover .dsh-base-cluster__svg--star .dsh-base-ico-spark--3{animation-delay:.44s}",
2286
+ ".dsh-base-cluster__btn:hover .dsh-base-cluster__svg--star .dsh-base-ico-spark--4,.dsh-base-cluster__btn.is-hover .dsh-base-cluster__svg--star .dsh-base-ico-spark--4{animation-delay:.66s}",
2287
+ ".dsh-base-cluster__btn:hover .dsh-base-cluster__svg--issue .dsh-base-ico-bubble,.dsh-base-cluster__btn.is-hover .dsh-base-cluster__svg--issue .dsh-base-ico-bubble{animation:dsh-base-cluster-wiggle 1.1s ease-in-out infinite}",
2288
+ ".dsh-base-cluster__btn:hover .dsh-base-cluster__svg--issue .dsh-base-ico-bang,.dsh-base-cluster__btn.is-hover .dsh-base-cluster__svg--issue .dsh-base-ico-bang{animation:dsh-base-cluster-bounce 1.1s ease-in-out infinite}",
2289
+ ".dsh-base-cluster__btn:hover .dsh-base-cluster__svg--issue .dsh-base-ico-spark,.dsh-base-cluster__btn.is-hover .dsh-base-cluster__svg--issue .dsh-base-ico-spark{animation:dsh-base-cluster-blink 1.2s ease-in-out .3s infinite}",
2290
+ "@keyframes dsh-base-cluster-floaty{0%,100%{transform:translateY(0)}50%{transform:translateY(-1.8px)}}",
2291
+ "@keyframes dsh-base-cluster-dotpulse{0%,100%{opacity:.35;transform:scale(.75)}50%{opacity:1;transform:scale(1.18)}}",
2292
+ "@keyframes dsh-base-cluster-twinkle{0%,100%{transform:scale(1) rotate(0);filter:brightness(1)}45%{transform:scale(1.1) rotate(7deg);filter:brightness(1.2)}}",
2293
+ "@keyframes dsh-base-cluster-halo{0%,100%{opacity:.3;transform:scale(.9)}50%{opacity:.85;transform:scale(1.1)}}",
2294
+ "@keyframes dsh-base-cluster-blink{0%,100%{opacity:.18;transform:scale(.55)}50%{opacity:1;transform:scale(1.15)}}",
2295
+ "@keyframes dsh-base-cluster-wiggle{0%,100%{transform:rotate(0)}25%{transform:rotate(-5deg)}70%{transform:rotate(5deg)}}",
2296
+ "@keyframes dsh-base-cluster-bounce{0%,100%{transform:translateY(0) scale(1)}50%{transform:translateY(-1.6px) scale(1.05)}}",
2297
+ ".dsh-base-cluster__menu{position:absolute;top:calc(100% + 6px);right:0;z-index:2147482000;display:flex;flex-direction:column;gap:2px;min-width:170px;padding:6px;border:1px solid var(--dsw-alias-border-l1,rgba(127,127,127,.2));border-radius:10px;background:var(--dsw-alias-bg-layer-2,#fff);box-shadow:0 12px 32px rgba(0,0,0,.18)}",
2298
+ ".dsh-base-cluster__menu-item{display:flex;align-items:center;gap:8px;width:100%;padding:6px 8px;border:0;border-radius:8px;background:transparent;color:inherit;font:inherit;font-size:12.5px;line-height:1.5;text-align:left;text-decoration:none;cursor:pointer}",
2299
+ ".dsh-base-cluster__menu-item:hover{background:rgba(127,127,127,.12)}",
2300
+ ".dsh-base-cluster__menu-item:focus-visible{outline:2px solid var(--dsw-alias-link,#4d6bfe);outline-offset:-2px}",
2301
+ ".dsh-base-cluster__menu-item:disabled{opacity:.38;cursor:default}",
2302
+ ".dsh-base-cluster__menu-label{flex:1 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}",
2303
+ "@media (prefers-reduced-motion:reduce){.dsh-base-cluster__btn,.dsh-base-cluster__btn::before,.dsh-base-cluster__btn svg *{animation:none!important;transition:none!important}}",
2304
+ ".dsh-base-tip-anchor{display:inline-flex;align-items:center}",
2305
+ ".dsh-base-tip{position:fixed;z-index:2147483000;max-width:320px;padding:6px 10px;border-radius:8px;background:rgba(23,23,26,.94);color:#fff;font-size:12px;font-weight:400;line-height:1.55;letter-spacing:0;text-align:left;white-space:normal;overflow-wrap:anywhere;pointer-events:none;box-shadow:0 8px 24px rgba(0,0,0,.28);opacity:0;transform:translateY(2px);transition:opacity .12s ease,transform .12s ease}",
2306
+ ".dsh-base-tip[data-side='bottom']{transform:translateY(-2px)}",
2307
+ ".dsh-base-tip[data-show='true']{opacity:1;transform:none}",
2308
+ ".dsh-base-modal{position:fixed;inset:0;margin:auto;width:min(800px,92vw);max-width:min(800px,92vw);max-height:88vh;padding:0;border:0;border-radius:18px;background:var(--dsw-alias-bg-layer-2,#fff);color:var(--dsw-alias-label-primary,#1f2329);box-shadow:0 24px 64px rgba(0,0,0,.24);overflow:hidden}",
2309
+ ".dsh-base-modal[open]{display:block}",
2310
+ ".dsh-base-modal::backdrop{background:rgba(0,0,0,.45)}",
2311
+ ".dsh-base-modal__panel{display:flex;flex-direction:column;max-height:88vh}",
2312
+ ".dsh-base-modal__header{position:relative;padding:22px 56px 8px;text-align:center}",
2313
+ ".dsh-base-modal__heading{display:flex;flex-direction:column;align-items:center;gap:2px}",
2314
+ ".dsh-base-modal__kicker{display:block;font-size:10px;font-weight:600;letter-spacing:.18em;text-transform:uppercase;color:var(--dsw-alias-label-tertiary,#86909c)}",
2315
+ ".dsh-base-modal__title{margin:0;font-size:18px;font-weight:600;line-height:1.4;letter-spacing:.01em;color:var(--dsw-alias-label-primary,#1f2329)}",
2316
+ ".dsh-base-modal__close{position:absolute;top:14px;right:14px;width:32px;height:32px;padding:0;border:0;border-radius:10px;background:transparent;color:var(--dsw-alias-label-tertiary,#86909c);font:inherit;font-size:20px;line-height:1;cursor:pointer;transition:background .15s ease,color .15s ease}",
2317
+ ".dsh-base-modal__close:hover{background:var(--dsw-alias-fill-tsp-secondary,rgba(0,0,0,.06));color:var(--dsw-alias-label-primary,#1f2329)}",
2318
+ ".dsh-base-modal__close:focus-visible{outline:2px solid var(--dsw-alias-link,#4d6bfe);outline-offset:2px}",
2319
+ ".dsh-base-modal__welcome{margin:4px auto 16px;padding:0 24px;font-size:13px;line-height:1.75;color:var(--dsw-alias-label-secondary,#4e5969);text-align:center;max-width:640px}",
2320
+ ".dsh-base-modal__body{flex:1 1 auto;min-height:0;padding:0 24px 18px;overflow:auto;overscroll-behavior:contain}",
2321
+ ".dsh-base-modal__grid{display:grid;grid-template-columns:repeat(var(--dsh-base-columns,4),minmax(0,1fr));gap:14px;align-items:start}",
2322
+ ".dsh-base-modal__card{display:flex;flex-direction:column;align-items:stretch;gap:6px;min-width:0;padding:14px 12px;border:1px solid var(--dsw-alias-border-l1,rgba(127,127,127,.2));border-radius:14px;background:var(--dsw-alias-bg-layer-2,#fff);text-align:center}",
2323
+ ".dsh-base-modal__card--expired{background:var(--dsw-alias-state-warn-tertiary,#fffaf3);border-color:var(--dsw-alias-state-warn-secondary,rgba(180,83,9,.28))}",
2324
+ ".dsh-base-modal__card-title{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:4px 6px;margin:0;font-size:13px;font-weight:600;line-height:1.4;color:var(--dsw-alias-label-primary,#1f2329)}",
2325
+ ".dsh-base-modal__card-name{min-width:0}",
2326
+ ".dsh-base-modal__card-badge{display:inline-flex;flex:0 0 auto;align-items:center;justify-content:center;width:18px;height:18px;border-radius:5px;background:var(--dsh-base-badge-color,#6b7280);color:#fff;box-shadow:inset 0 0 0 1px rgba(255,255,255,.16)}",
2327
+ ".dsh-base-modal__card-badge svg{display:block;width:12px;height:12px}",
2328
+ ".dsh-base-modal__card-subtitle{display:inline-block;align-self:center;margin:0;padding:2px 6px;border:0;border-radius:6px;background:transparent;color:var(--dsw-alias-label-tertiary,#86909c);font:inherit;font-size:11px;line-height:1.5;cursor:pointer;transition:background .15s ease,color .15s ease}",
2329
+ ".dsh-base-modal__card-subtitle:hover{background:rgba(127,127,127,.1);color:var(--dsw-alias-label-secondary,#4e5969)}",
2330
+ ".dsh-base-modal__card-subtitle[data-copied='true']{color:var(--dsw-alias-link,#4d6bfe)}",
2331
+ ".dsh-base-modal__card-subtitle:focus-visible{outline:2px solid var(--dsw-alias-link,#4d6bfe);outline-offset:2px}",
2332
+ ".dsh-base-modal__card-subtitle-gap{display:block;align-self:center;min-height:1.5em;padding:2px 6px;font-size:11px;line-height:1.5;visibility:hidden;pointer-events:none}",
2333
+ ".dsh-base-modal__qr{box-sizing:border-box;max-width:100%;width:100%;height:auto;min-height:150px;padding:6px;border-radius:8px;background:#fff;object-fit:contain;image-rendering:pixelated}",
2334
+ ".dsh-base-modal__card-note{margin-top:2px;font-size:10.5px;line-height:1.5;color:var(--dsw-alias-label-tertiary,#86909c)}",
2335
+ ".dsh-base-modal__card-expired{margin-top:2px;font-size:10.5px;line-height:1.5;color:var(--dsw-alias-state-warn-label,#b45309)}",
2336
+ ".dsh-base-modal__card-link{align-self:center;margin-top:4px;padding:6px 10px;border:1px solid var(--dsw-alias-border-l2,rgba(77,107,254,.35));border-radius:8px;color:var(--dsw-alias-link,#4d6bfe);font-size:11.5px;line-height:1.4;text-decoration:none;word-break:break-all}",
2337
+ ".dsh-base-modal__card-link:hover{background:var(--dsw-alias-fill-tsp-secondary,rgba(77,107,254,.08))}",
2338
+ ".dsh-base-modal__card-link:focus-visible{outline:2px solid var(--dsw-alias-link,#4d6bfe);outline-offset:2px}",
2339
+ ".dsh-base-modal__footer{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:4px 10px;padding:0 24px 18px;font-size:11.5px;line-height:1.6;color:var(--dsw-alias-label-tertiary,#86909c);text-align:center}",
2340
+ ".dsh-base-modal__mobile-hint{display:none}",
2341
+ ".dsh-base-plugins{display:flex;flex-direction:column;gap:10px;padding:12px 14px;border:1px solid var(--dsw-alias-border-l1,rgba(127,127,127,.2));border-radius:10px;background:var(--dsw-alias-bg-layer-2,rgba(127,127,127,.06))}",
2342
+ ".dsh-base-plugins__title{display:flex;align-items:center;gap:6px;margin:0;font-size:13px;font-weight:600;line-height:1.4;color:inherit}",
2343
+ ".dsh-base-plugins__title-icon{display:inline-flex;flex:0 0 auto;align-items:center;color:var(--dsw-alias-label-secondary,#86909c)}",
2344
+ ".dsh-base-plugins__title-icon svg{display:block}",
2345
+ ".dsh-base-plugins__list{display:flex;flex-direction:column;gap:2px;margin:0;padding:0;list-style:none}",
2346
+ ".dsh-base-plugins__item{min-width:0}",
2347
+ ...rowSkin("dsh-base-plugins__row"),
2348
+ ".dsh-base-plugins__icon{display:inline-flex;flex:0 0 auto;align-items:center;color:var(--dsw-alias-label-secondary,#86909c)}",
2349
+ ".dsh-base-plugins__icon svg{display:block}",
2350
+ ".dsh-base-plugins__name{flex:0 0 auto;font-family:var(--ds-font-family-code,Consolas,Menlo,monospace);font-size:12px;font-weight:650;line-height:1.5;white-space:nowrap;color:inherit}",
2351
+ ".dsh-base-plugins__desc{flex:1 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;line-height:1.5;color:var(--dsw-alias-label-secondary,#86909c)}",
2352
+ ".dsh-base-plugins__ext{display:inline-flex;flex:0 0 auto;align-items:center;color:var(--dsw-alias-label-tertiary,#a9aeb8)}",
2353
+ ".dsh-base-plugins__ext svg{display:block}",
2354
+ "@media (max-width:719px){.dsh-base-modal__grid{grid-template-columns:repeat(2,minmax(0,1fr))}}",
2355
+ "@media (max-width:479px){.dsh-base-modal__grid{grid-template-columns:minmax(0,1fr)}}",
2356
+ "@media (max-width:719px){.dsh-base-modal__mobile-hint{display:inline}}",
2357
+ "@media (prefers-reduced-motion:reduce){.dsh-base-modal__close,.dsh-base-modal__card-subtitle,.dsh-base-contact-button,.dsh-base-contact-row,.dsh-base-plugins__row,.dsh-base-icon-action,.dsh-base-tip{transition:none}}",
2358
+ ".dsh-base-visually-hidden{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap;border:0}"
2359
+ ].join("\n");
2360
+ function ensureBaseStyles(doc) {
2361
+ if (doc.getElementById("dsh-base-ui-style")) return;
2362
+ const style = doc.createElement("style");
2363
+ style.id = BASE_STYLE_ID;
2364
+ style.textContent = BASE_CSS;
2365
+ (doc.head ?? doc.documentElement).appendChild(style);
2366
+ }
2367
+ var MESSAGES = {
2368
+ zh: {
2369
+ contact: "联系我们",
2370
+ contactHint: "加入交流群",
2371
+ kicker: "CONNECT",
2372
+ modalTitle: "反馈与联系",
2373
+ welcome: "👏欢迎提交PR、ISSUE。星星之火可以燎原🔥有任何建议、意见、想法、吐槽、idea都可以进群交流。",
2374
+ scanHint: "扫描二维码加入我们",
2375
+ mobileHint: "请在手机上扫码,或复制群号搜索",
2376
+ close: "关闭",
2377
+ copyHint: "点击复制",
2378
+ copied: "已复制",
2379
+ expired: "该二维码已过期,请点击下方链接获取最新群码",
2380
+ fallback: "点此获取最新群二维码",
2381
+ plugins: "作者的其他插件",
2382
+ contactTip: "扫码加入交流群,反馈、建议、idea 都欢迎🎉",
2383
+ starTip: "您的🌟是我夜空中最亮的星🌹",
2384
+ issueTip: "任何功能需求、故障、建议、意见都可以提ISSUE问题单🙏",
2385
+ starLabel: "Star 这个项目",
2386
+ issueLabel: "提交 Issue",
2387
+ actionsLabel: "快捷操作",
2388
+ moreActions: "更多操作",
2389
+ channelFeishu: "飞书群",
2390
+ channelQq: "QQ群",
2391
+ channelWechat: "微信群"
2392
+ },
2393
+ en: {
2394
+ contact: "Contact us",
2395
+ contactHint: "Join the community",
2396
+ kicker: "CONNECT",
2397
+ modalTitle: "Feedback and Contact",
2398
+ welcome: "👏Welcome PRs and issues. A single spark can start a prairie fire 🔥. Any suggestion, opinion, idea or rant — come join the group and talk.",
2399
+ scanHint: "Scan the QR code to join us",
2400
+ mobileHint: "Scan with your phone, or copy the group ID to search",
2401
+ close: "Close",
2402
+ copyHint: "Click to copy",
2403
+ copied: "Copied",
2404
+ expired: "This QR code has expired. Use the link below for the latest one.",
2405
+ fallback: "Get the latest QR code",
2406
+ plugins: "More plugins by the author",
2407
+ contactTip: "Scan to join the community — feedback, ideas and rants are all welcome 🎉",
2408
+ starTip: "Your ⭐ is the brightest star in my night sky 🌹",
2409
+ issueTip: "Feature requests, bugs or ideas — just open an ISSUE ticket 🙏",
2410
+ starLabel: "Star this project",
2411
+ issueLabel: "Open an issue",
2412
+ actionsLabel: "Quick actions",
2413
+ moreActions: "More actions",
2414
+ channelFeishu: "Feishu group",
2415
+ channelQq: "QQ group",
2416
+ channelWechat: "WeChat group"
2417
+ }
2418
+ };
2419
+ function resolveText(key, lang, overrides) {
2420
+ const custom = overrides?.[key];
2421
+ if (typeof custom === "string" && custom.length > 0) return custom;
2422
+ return MESSAGES[lang][key];
2423
+ }
2424
+ var TITLE_ID = "dsh-base-modal-title";
2425
+ var DESC_ID = "dsh-base-modal-desc";
2426
+ var FOCUSABLE_SELECTOR = "a[href], button:not([disabled]), input:not([disabled]), select:not([disabled]), textarea:not([disabled]), [tabindex]:not([tabindex=\"-1\"])";
2427
+ function mountContactModal(config) {
2428
+ const { doc, lang } = config;
2429
+ const win = doc.defaultView;
2430
+ let current = config;
2431
+ const t = (key) => resolveText(key, lang, config.texts);
2432
+ ensureBaseStyles(doc);
2433
+ const dialog = doc.createElement("dialog");
2434
+ dialog.className = "dsh-base-modal";
2435
+ dialog.setAttribute("role", "dialog");
2436
+ dialog.setAttribute("aria-modal", "true");
2437
+ dialog.setAttribute("aria-labelledby", TITLE_ID);
2438
+ dialog.setAttribute("aria-describedby", DESC_ID);
2439
+ const panel = doc.createElement("div");
2440
+ panel.className = "dsh-base-modal__panel";
2441
+ const header = doc.createElement("div");
2442
+ header.className = "dsh-base-modal__header";
2443
+ const heading = doc.createElement("div");
2444
+ heading.className = "dsh-base-modal__heading";
2445
+ const kicker = doc.createElement("span");
2446
+ kicker.className = "dsh-base-modal__kicker";
2447
+ kicker.textContent = t("kicker");
2448
+ const title = doc.createElement("h2");
2449
+ title.id = TITLE_ID;
2450
+ title.className = "dsh-base-modal__title";
2451
+ title.textContent = t("modalTitle");
2452
+ heading.append(kicker, title);
2453
+ const closeButton = doc.createElement("button");
2454
+ closeButton.type = "button";
2455
+ closeButton.className = "dsh-base-modal__close";
2456
+ closeButton.setAttribute("aria-label", t("close"));
2457
+ closeButton.title = t("close");
2458
+ closeButton.textContent = "×";
2459
+ header.append(heading, closeButton);
2460
+ const welcome = doc.createElement("p");
2461
+ welcome.id = DESC_ID;
2462
+ welcome.className = "dsh-base-modal__welcome";
2463
+ welcome.textContent = t("welcome");
2464
+ const body = doc.createElement("div");
2465
+ body.className = "dsh-base-modal__body";
2466
+ const grid = doc.createElement("div");
2467
+ grid.className = "dsh-base-modal__grid";
2468
+ function renderGroups(groups, columns) {
2469
+ grid.style.setProperty("--dsh-base-columns", String(columns));
2470
+ grid.replaceChildren(...sortByOrder(groups).map((group) => buildCard(group)));
2471
+ }
2472
+ renderGroups(current.groups, current.columns);
2473
+ body.append(grid);
2474
+ const footer = doc.createElement("div");
2475
+ footer.className = "dsh-base-modal__footer";
2476
+ const scanHint = doc.createElement("span");
2477
+ scanHint.className = "dsh-base-modal__hint";
2478
+ scanHint.textContent = t("scanHint");
2479
+ const mobileHint = doc.createElement("span");
2480
+ mobileHint.className = "dsh-base-modal__mobile-hint";
2481
+ mobileHint.textContent = t("mobileHint");
2482
+ footer.append(scanHint, mobileHint);
2483
+ panel.append(header, welcome, body, footer);
2484
+ dialog.append(panel);
2485
+ const previousOverflow = doc.body.style.overflow;
2486
+ doc.body.style.overflow = "hidden";
2487
+ let closed = false;
2488
+ function destroy(restoreFocus = true) {
2489
+ if (closed) return;
2490
+ closed = true;
2491
+ if (typeof dialog.close === "function" && dialog.hasAttribute("open")) try {
2492
+ dialog.close();
2493
+ } catch {
2494
+ dialog.removeAttribute("open");
2495
+ }
2496
+ if (dialog.isConnected) {
2497
+ dialog.remove();
2498
+ doc.body.style.overflow = previousOverflow;
2499
+ }
2500
+ if (restoreFocus && config.trigger && config.trigger.isConnected && typeof config.trigger.focus === "function") config.trigger.focus();
2501
+ }
2502
+ function trapFocus(event) {
2503
+ const focusable = Array.from(dialog.querySelectorAll(FOCUSABLE_SELECTOR)).filter((element) => !element.hasAttribute("disabled"));
2504
+ if (focusable.length === 0) return;
2505
+ const first = focusable[0];
2506
+ const last = focusable[focusable.length - 1];
2507
+ const active = doc.activeElement;
2508
+ if (event.shiftKey) {
2509
+ if (active === first || !dialog.contains(active)) {
2510
+ event.preventDefault();
2511
+ last.focus();
2512
+ }
2513
+ } else if (active === last || !dialog.contains(active)) {
2514
+ event.preventDefault();
2515
+ first.focus();
2516
+ }
2517
+ }
2518
+ dialog.addEventListener("keydown", (event) => {
2519
+ if (event.key === "Escape") {
2520
+ event.preventDefault();
2521
+ destroy(true);
2522
+ return;
2523
+ }
2524
+ if (event.key === "Tab") trapFocus(event);
2525
+ });
2526
+ dialog.addEventListener("cancel", (event) => {
2527
+ event.preventDefault();
2528
+ destroy(true);
2529
+ });
2530
+ dialog.addEventListener("click", (event) => {
2531
+ if (event.target === dialog) destroy(true);
2532
+ });
2533
+ dialog.addEventListener("close", () => destroy(true));
2534
+ closeButton.addEventListener("click", () => destroy(true));
2535
+ doc.body.append(dialog);
2536
+ let inTopLayer = false;
2537
+ if (typeof dialog.showModal === "function") try {
2538
+ dialog.showModal();
2539
+ inTopLayer = true;
2540
+ } catch {
2541
+ inTopLayer = false;
2542
+ }
2543
+ if (!inTopLayer) dialog.setAttribute("open", "");
2544
+ closeButton.focus();
2545
+ function buildCard(group) {
2546
+ const card = doc.createElement("div");
2547
+ card.className = "dsh-base-modal__card";
2548
+ card.dataset.groupId = group.id;
2549
+ const expired = isExpired(group.validUntil, current.now);
2550
+ if (expired) card.classList.add("dsh-base-modal__card--expired");
2551
+ const qrSrc = expired ? null : current.resolveQr(group);
2552
+ const cardTitle = doc.createElement("h3");
2553
+ cardTitle.className = "dsh-base-modal__card-title";
2554
+ const badge = channelBadge(group.platform);
2555
+ if (badge) {
2556
+ cardTitle.append(createChannelBadge(doc, badge));
2557
+ const channel = doc.createElement("span");
2558
+ channel.className = "dsh-base-visually-hidden";
2559
+ channel.textContent = t(badge.labelKey);
2560
+ cardTitle.append(channel);
2561
+ }
2562
+ const cardName = doc.createElement("span");
2563
+ cardName.className = "dsh-base-modal__card-name";
2564
+ cardName.textContent = pickText$1(group.title, lang);
2565
+ cardTitle.append(cardName);
2566
+ card.append(cardTitle);
2567
+ if (group.subtitle) {
2568
+ const subtitle = doc.createElement("button");
2569
+ subtitle.type = "button";
2570
+ subtitle.className = "dsh-base-modal__card-subtitle";
2571
+ subtitle.textContent = pickText$1(group.subtitle, lang);
2572
+ subtitle.title = t("copyHint");
2573
+ subtitle.addEventListener("click", () => copyText(subtitle, subtitle.textContent ?? ""));
2574
+ card.append(subtitle);
2575
+ } else {
2576
+ const gap = doc.createElement("span");
2577
+ gap.className = "dsh-base-modal__card-subtitle-gap";
2578
+ gap.setAttribute("aria-hidden", "true");
2579
+ card.append(gap);
2580
+ }
2581
+ if (qrSrc) {
2582
+ const image = doc.createElement("img");
2583
+ image.className = "dsh-base-modal__qr";
2584
+ image.src = qrSrc;
2585
+ image.alt = pickText$1(group.alt, lang);
2586
+ image.loading = "lazy";
2587
+ image.decoding = "async";
2588
+ card.append(image);
2589
+ }
2590
+ if (expired) {
2591
+ const note = doc.createElement("span");
2592
+ note.className = "dsh-base-modal__card-expired";
2593
+ note.textContent = t("expired");
2594
+ card.append(note);
2595
+ } else {
2596
+ const noteText = formatValidity(group.validUntil, {
2597
+ lang,
2598
+ now: current.now
2599
+ }) ?? (group.note ? pickText$1(group.note, lang) : null);
2600
+ if (noteText) {
2601
+ const note = doc.createElement("span");
2602
+ note.className = "dsh-base-modal__card-note";
2603
+ note.textContent = noteText;
2604
+ card.append(note);
2605
+ }
2606
+ }
2607
+ if (!qrSrc) {
2608
+ const link = doc.createElement("a");
2609
+ link.className = "dsh-base-modal__card-link";
2610
+ link.href = current.fallbackUrl;
2611
+ link.target = "_blank";
2612
+ link.rel = "noopener noreferrer";
2613
+ link.textContent = t("fallback");
2614
+ card.append(link);
2615
+ }
2616
+ return card;
2617
+ }
2618
+ function copyText(button, text) {
2619
+ const markCopied = () => {
2620
+ button.dataset.copied = "true";
2621
+ button.setAttribute("aria-label", t("copied"));
2622
+ };
2623
+ const selectText = () => {
2624
+ const selection = win?.getSelection?.();
2625
+ if (!selection) return;
2626
+ const range = doc.createRange();
2627
+ range.selectNodeContents(button);
2628
+ selection.removeAllRanges();
2629
+ selection.addRange(range);
2630
+ };
2631
+ const clipboard = win?.navigator?.clipboard;
2632
+ if (clipboard && typeof clipboard.writeText === "function") clipboard.writeText(text).then(markCopied, selectText);
2633
+ else selectText();
2634
+ }
2635
+ function update(next) {
2636
+ if (closed) return;
2637
+ current = {
2638
+ ...current,
2639
+ ...next
2640
+ };
2641
+ renderGroups(current.groups, current.columns);
83
2642
  }
84
- ];
85
- function recoFor(tab) {
86
- const installCmd = dualInstallCmd(tab.plugin);
87
2643
  return {
88
- ...tab,
89
- kind: "reco",
90
- installCmd,
91
- hint: "未安装[" + tab.plugin + "],请补装后使用:" + installCmd
2644
+ dialog,
2645
+ close: (restoreFocus = true) => destroy(restoreFocus),
2646
+ update
2647
+ };
2648
+ }
2649
+ var DEFAULT_MAX_ROWS = 5;
2650
+ function selectAuthorPlugins(options) {
2651
+ const cap = typeof options.maxRows === "number" && Number.isFinite(options.maxRows) ? Math.max(0, Math.floor(options.maxRows)) : DEFAULT_MAX_ROWS;
2652
+ const sorted = sortByOrder(options.plugins);
2653
+ return (options.showSelf || !options.selfId ? sorted : sorted.filter((plugin) => plugin.id !== options.selfId)).slice(0, cap);
2654
+ }
2655
+ function renderAuthorPlugins(options) {
2656
+ const rows = selectAuthorPlugins(options);
2657
+ if (rows.length === 0) return null;
2658
+ if (typeof document !== "undefined") ensureBaseStyles(document);
2659
+ const h = options.React.createElement;
2660
+ return h("div", { className: options.className ? "dsh-base-plugins " + options.className : "dsh-base-plugins" }, h("h3", {
2661
+ className: "dsh-base-plugins__title",
2662
+ key: "title"
2663
+ }, h("span", {
2664
+ className: "dsh-base-plugins__title-icon",
2665
+ key: "icon",
2666
+ "aria-hidden": "true"
2667
+ }, gridIcon(h, 14)), h("span", {
2668
+ className: "dsh-base-plugins__title-text",
2669
+ key: "text"
2670
+ }, options.title)), h("ul", {
2671
+ className: "dsh-base-plugins__list",
2672
+ key: "list"
2673
+ }, rows.map((plugin) => {
2674
+ const desc = pickText$1(plugin.desc, options.lang);
2675
+ const tip = options.tip;
2676
+ const rowTip = tip && desc ? {
2677
+ onMouseEnter: (event) => {
2678
+ tip.show(event.currentTarget, desc);
2679
+ },
2680
+ onMouseLeave: () => tip.hideSoon(),
2681
+ onFocus: (event) => {
2682
+ tip.show(event.currentTarget, desc);
2683
+ },
2684
+ onBlur: () => tip.hideSoon()
2685
+ } : {};
2686
+ return h("li", {
2687
+ className: "dsh-base-plugins__item",
2688
+ key: plugin.id
2689
+ }, h("a", {
2690
+ className: "dsh-base-plugins__row",
2691
+ href: pluginHref(plugin),
2692
+ target: "_blank",
2693
+ rel: "noopener noreferrer",
2694
+ ...rowTip
2695
+ }, h("span", {
2696
+ className: "dsh-base-plugins__icon",
2697
+ key: "icon",
2698
+ "aria-hidden": "true"
2699
+ }, gridIcon(h, 12)), h("span", {
2700
+ className: "dsh-base-plugins__name",
2701
+ key: "name"
2702
+ }, plugin.name), h("span", {
2703
+ className: "dsh-base-plugins__desc",
2704
+ key: "desc"
2705
+ }, desc), h("span", {
2706
+ className: "dsh-base-plugins__ext",
2707
+ key: "ext",
2708
+ "aria-hidden": "true"
2709
+ }, externalLinkIcon(h))));
2710
+ })));
2711
+ }
2712
+ var MAX_COLUMNS = 4;
2713
+ var sharedModal = null;
2714
+ function detectLang(explicit) {
2715
+ return resolveLang$1({
2716
+ explicit: explicit ?? null,
2717
+ htmlLang: typeof document === "undefined" ? null : document.documentElement.lang,
2718
+ navigatorLanguages: typeof navigator === "undefined" ? null : navigator.languages
2719
+ });
2720
+ }
2721
+ function clampColumns(requested, groupCount) {
2722
+ if (typeof requested === "number" && Number.isFinite(requested)) return Math.min(MAX_COLUMNS, Math.max(1, Math.floor(requested)));
2723
+ return Math.max(1, Math.min(MAX_COLUMNS, groupCount));
2724
+ }
2725
+ function resolveBaselineQr(group) {
2726
+ if (group.qr.kind !== "bundled") return null;
2727
+ return BASELINE.qr[group.qr.key] ?? null;
2728
+ }
2729
+ function resolveBundledQrForGroupId(id) {
2730
+ return BASELINE.qr["qr-" + id] ?? null;
2731
+ }
2732
+ function resolveGroupQr(group, content, loader) {
2733
+ if (group.qr.kind === "bundled") return resolveBaselineQr(group);
2734
+ return (content && loader ? loader.imageFor(content, group.qr.path) : null) ?? resolveBundledQrForGroupId(group.id);
2735
+ }
2736
+ function mergeTexts(overrides, extra) {
2737
+ if (!overrides && !extra) return void 0;
2738
+ return {
2739
+ ...overrides,
2740
+ ...extra
2741
+ };
2742
+ }
2743
+ function classes3(base, extra) {
2744
+ return extra ? base + " " + extra : base;
2745
+ }
2746
+ function createBaseUI(React, options = {}) {
2747
+ let active = null;
2748
+ let loader = options.contentLoader ?? null;
2749
+ function getLoader() {
2750
+ if (loader) return loader;
2751
+ try {
2752
+ loader = createContentLoader({
2753
+ manifestUrl: options.manifestUrl,
2754
+ fetchImpl: options.fetchImpl
2755
+ });
2756
+ } catch {
2757
+ loader = null;
2758
+ }
2759
+ return loader;
2760
+ }
2761
+ function widgetText(key) {
2762
+ return resolveText(key, detectLang(options.lang), options.texts);
2763
+ }
2764
+ function closeActive(restoreFocus) {
2765
+ const handle = active;
2766
+ active = null;
2767
+ if (!handle) return;
2768
+ if (sharedModal === handle) sharedModal = null;
2769
+ handle.close(restoreFocus);
2770
+ }
2771
+ function closeContactModal() {
2772
+ closeActive(true);
2773
+ }
2774
+ function buildResolver(callOptions, content) {
2775
+ const custom = callOptions.resolveQr ?? options.resolveQr;
2776
+ if (custom) return custom;
2777
+ return (group) => resolveGroupQr(group, content, loader);
2778
+ }
2779
+ function applyContent(handle, content) {
2780
+ if (active !== handle) return;
2781
+ const groups = content.manifest.groups.length > 0 ? content.manifest.groups : BASELINE.manifest.groups;
2782
+ handle.update({
2783
+ groups,
2784
+ columns: clampColumns(void 0, groups.length),
2785
+ fallbackUrl: content.manifest.fallbackUrl,
2786
+ resolveQr: (group) => resolveGroupQr(group, content, loader) ?? null
2787
+ });
2788
+ }
2789
+ async function refreshRemote(handle, callOptions) {
2790
+ if (callOptions.groups && callOptions.groups.length > 0) return;
2791
+ const currentLoader = getLoader();
2792
+ if (!currentLoader) return;
2793
+ const content = await currentLoader.load();
2794
+ if (!content || active !== handle) return;
2795
+ await currentLoader.ensureImages(content);
2796
+ if (active !== handle) return;
2797
+ const custom = callOptions.resolveQr ?? options.resolveQr;
2798
+ if (custom) {
2799
+ handle.update({
2800
+ groups: content.manifest.groups,
2801
+ columns: clampColumns(callOptions.columns ?? options.columns, content.manifest.groups.length),
2802
+ fallbackUrl: content.manifest.fallbackUrl,
2803
+ resolveQr: (group) => custom(group) ?? null
2804
+ });
2805
+ return;
2806
+ }
2807
+ applyContent(handle, content);
2808
+ }
2809
+ function openContactModal(callOptions = {}) {
2810
+ if (typeof document === "undefined") return () => {};
2811
+ const previous = sharedModal;
2812
+ sharedModal = null;
2813
+ active = null;
2814
+ if (previous) previous.close(false);
2815
+ const groups = callOptions.groups && callOptions.groups.length > 0 ? callOptions.groups : BASELINE.manifest.groups;
2816
+ const lang = detectLang(callOptions.lang ?? options.lang);
2817
+ const candidate = callOptions.trigger ?? document.activeElement;
2818
+ const trigger = candidate && typeof candidate.focus === "function" ? candidate : null;
2819
+ const cached = getLoader()?.getCached() ?? null;
2820
+ const resolver = buildResolver(callOptions, cached);
2821
+ const handle = mountContactModal({
2822
+ doc: document,
2823
+ lang,
2824
+ groups,
2825
+ columns: clampColumns(callOptions.columns ?? options.columns, groups.length),
2826
+ trigger,
2827
+ fallbackUrl: callOptions.fallbackUrl ?? options.fallbackUrl ?? cached?.manifest.fallbackUrl ?? BASELINE.manifest.fallbackUrl,
2828
+ texts: mergeTexts(options.texts, callOptions.texts),
2829
+ resolveQr: (group) => resolver(group) ?? null,
2830
+ now: callOptions.now
2831
+ });
2832
+ active = handle;
2833
+ sharedModal = handle;
2834
+ handle.dialog.addEventListener("close", () => {
2835
+ if (active === handle) active = null;
2836
+ if (sharedModal === handle) sharedModal = null;
2837
+ });
2838
+ refreshRemote(handle, callOptions);
2839
+ return () => {
2840
+ if (active === handle) active = null;
2841
+ if (sharedModal === handle) sharedModal = null;
2842
+ handle.close();
2843
+ };
2844
+ }
2845
+ const actions = createActions(React, {
2846
+ text: widgetText,
2847
+ openContact: (trigger) => {
2848
+ openContactModal({ trigger });
2849
+ },
2850
+ repoUrl: options.repoUrl,
2851
+ issuesUrl: options.issuesUrl
2852
+ });
2853
+ const cluster = createActionCluster(React, {
2854
+ text: widgetText,
2855
+ openContact: (trigger) => {
2856
+ openContactModal({ trigger });
2857
+ },
2858
+ repoUrl: options.repoUrl,
2859
+ issuesUrl: options.issuesUrl
2860
+ });
2861
+ let hostIconSerial = 0;
2862
+ const clusterIcons = {
2863
+ contact: (size = 16) => contactClusterIcon(React.createElement, size, "host" + (hostIconSerial += 1)),
2864
+ star: (size = 16) => starClusterIcon(React.createElement, size, "host" + (hostIconSerial += 1)),
2865
+ issue: (size = 16) => issueClusterIcon(React.createElement, size, "host" + (hostIconSerial += 1))
2866
+ };
2867
+ function ContactRow(props) {
2868
+ const h = React.createElement;
2869
+ return h("button", {
2870
+ type: "button",
2871
+ className: classes3("dsh-base-contact-row", props.className),
2872
+ onClick: (event) => {
2873
+ openContactModal({ trigger: event.currentTarget });
2874
+ }
2875
+ }, h("span", {
2876
+ className: "dsh-base-contact-row__icon",
2877
+ key: "icon",
2878
+ "aria-hidden": "true"
2879
+ }, contactIcon(h, 16)), h("span", {
2880
+ className: "dsh-base-contact-row__label",
2881
+ key: "label"
2882
+ }, props.label ?? widgetText("contact"), props.hint ? h("span", {
2883
+ className: "dsh-base-contact-row__hint",
2884
+ key: "hint"
2885
+ }, " · " + props.hint) : null), h("span", {
2886
+ className: "dsh-base-contact-row__ext",
2887
+ key: "ext",
2888
+ "aria-hidden": "true"
2889
+ }, externalLinkIcon(h)));
2890
+ }
2891
+ function AuthorPlugins(props) {
2892
+ const explicitPlugins = props.plugins;
2893
+ const [remotePlugins, setRemotePlugins] = React.useState(null);
2894
+ const tip = React.useMemo(() => createTipController(), []);
2895
+ React.useEffect(() => () => tip.dispose(), [tip]);
2896
+ React.useEffect(() => {
2897
+ if (explicitPlugins !== void 0) return void 0;
2898
+ const currentLoader = getLoader();
2899
+ if (!currentLoader) return void 0;
2900
+ let alive = true;
2901
+ (async () => {
2902
+ try {
2903
+ const content = await currentLoader.load();
2904
+ if (!alive || !content) return;
2905
+ const plugins = content.manifest.plugins;
2906
+ if (plugins.length === 0) return;
2907
+ setRemotePlugins(plugins);
2908
+ } catch {}
2909
+ })();
2910
+ return () => {
2911
+ alive = false;
2912
+ };
2913
+ }, [explicitPlugins]);
2914
+ const lang = props.lang ?? detectLang(options.lang);
2915
+ return renderAuthorPlugins({
2916
+ React,
2917
+ lang,
2918
+ plugins: explicitPlugins ?? remotePlugins ?? BASELINE.manifest.plugins,
2919
+ selfId: props.selfId ?? options.selfId,
2920
+ showSelf: props.showSelf ?? options.showSelf,
2921
+ maxRows: props.maxRows ?? options.maxRows,
2922
+ title: props.title ?? resolveText("plugins", lang, options.texts),
2923
+ className: props.className,
2924
+ tip
2925
+ });
2926
+ }
2927
+ async function preloadContent() {
2928
+ const currentLoader = getLoader();
2929
+ if (!currentLoader) return;
2930
+ await currentLoader.preload();
2931
+ if (options.resolveQr) return;
2932
+ const content = currentLoader.getCached();
2933
+ const handle = active;
2934
+ if (!content || !handle) return;
2935
+ if (active !== handle) return;
2936
+ applyContent(handle, content);
2937
+ }
2938
+ return {
2939
+ ContactButton: actions.ContactButton,
2940
+ StarButton: actions.StarButton,
2941
+ IssueButton: actions.IssueButton,
2942
+ ActionButtons: actions.ActionButtons,
2943
+ ActionGroup: actions.ActionGroup,
2944
+ ActionCluster: cluster,
2945
+ clusterIcons,
2946
+ HoverTip: actions.HoverTip,
2947
+ ContactRow,
2948
+ AuthorPlugins,
2949
+ openContactModal,
2950
+ closeContactModal,
2951
+ preloadContent
92
2952
  };
93
2953
  }
94
- /** 面板右上角两个入口:星(去本仓点 star)+ 气泡(去本仓开 issue)。
2954
+ //#endregion
2955
+ //#region src/base-ui.ts
2956
+ /** base 包通用件的适配层(本仓唯一接触 dsh-featherhunter-plugin-base/client 的地方)。
95
2957
  *
96
- * 两处都指本仓 FeatherHunter/ilife——这是 map #671 裁定过的(「星与气泡指向哪个仓」
97
- * 一问:反馈要落在本仓的需求池,「引流到作者其他技能」是底部那张卡的事)。
98
- * 三件并排里的第三件「检查更新」住隔壁票(#678),本表不管它。
99
- */
100
- const PANEL_LINKS = [{
101
- key: "star",
102
- icon: {
103
- path: "M12 2.6l2.9 6.1 6.6.8-4.9 4.6 1.3 6.6-5.9-3.2-5.9 3.2 1.3-6.6L2.5 9.5l6.6-.8z",
104
- filled: true
105
- },
106
- tip: "你的🌟是我夜空中最亮的星。",
107
- url: "https://github.com/FeatherHunter/ilife"
108
- }, {
109
- key: "feedback",
110
- icon: {
111
- path: "M5 4h14a1 1 0 0 1 1 1v8a1 1 0 0 1-1 1h-7.5L7 18v-4H5a1 1 0 0 1-1-1V5a1 1 0 0 1 1-1z",
112
- filled: false
113
- },
114
- tip: "反馈问题",
115
- url: "https://github.com/FeatherHunter/ilife/issues/new"
116
- }];
117
- const MANUAL_ENTRY = {
118
- key: "manual",
119
- title: "使用手册",
120
- tip: "打开使用手册"
121
- };
122
- /** 「作者其他插件」四行:包名 + 一句说明 + 仓库地址。
2958
+ * 为什么单独一层:base 的 createBaseUI 要「宿主把 React 交进来」(它自己不 import React,
2959
+ * 保证与宿主同一个 React 实例);本面板产物是手写 createElement 的 browser bundle,
2960
+ * 这里只做两件事——(1) 按 React 身份缓存一个 baseUI 单例;(2) 首次渲染时把 base 的
2961
+ * 全局样式(BASE_STYLE_ID)插进 document(幂等;无 document 的环境跳过)。
123
2962
  *
124
- * 文案口径(用户 2026-09-18 拍板):**不写数字**——数字会过期(用户截图里的「34 款」实测已到 38 款),
125
- * 写错最伤推荐位的可信度;第一行也不用 deck 自己面板里的自指「本面板自己」,改成不自指的说法。
126
- * 只收真实存在的仓库,网址已逐个验真。第一行的说明描述的是 deck 那个包(工程技能面板),不是爱生活面板。
2963
+ * 作者推荐卡(AuthorPlugins)与页头动作簇(ActionCluster:联系/Star/Issue)都从这里出:
2964
+ * 文案、二维码卡、离线兜底(飞书+QQ 内置)、插件清单与图标全部来自 base 包(唯一真源
2965
+ * contact/ → data/manifest.json),本仓不再维护第二份。
127
2966
  */
128
- const MORE_PLUGINS = [
129
- {
130
- pkg: "dsh-mattpocock-skills-deck",
131
- desc: "工程技能面板:装好就能在右侧直接用",
132
- url: "https://github.com/FeatherHunter/dsh-mattpocock-skills-deck"
133
- },
134
- {
135
- pkg: "dsh-opencode-palette",
136
- desc: "多款长时间编程护眼配色,一键换上",
137
- url: "https://github.com/FeatherHunter/dsh-opencode-palette"
138
- },
139
- {
140
- pkg: "dsh-prompt",
141
- desc: "常用提示模板随手点,不用来回复制粘贴",
142
- url: "https://github.com/FeatherHunter/dsh-prompt"
143
- },
144
- {
145
- pkg: "dsh-im-companion",
146
- desc: "聊天机器人的伴侣插件:扫码或填凭据就把飞书、微信等聊天接进来",
147
- url: "https://github.com/FeatherHunter/dsh-im-companion"
2967
+ const LANG = "zh";
2968
+ const SELF_ID = "ilife";
2969
+ /** 本仓地址:页头三件套里 Star 的目标、Issue 的派生基准(base 由 repoUrl 拼出 <repo>/issues)。 */
2970
+ const REPO_URL = "https://github.com/FeatherHunter/ilife";
2971
+ let cachedReact = null;
2972
+ let cachedUI = null;
2973
+ let stylesReady = false;
2974
+ /** baseUI 单例:React 身份或语言变了才重建(同一份 react 只造一次,避免弹窗状态跟着组件走丢)。 */
2975
+ function baseUI() {
2976
+ if (cachedUI !== null && cachedReact === react) return cachedUI;
2977
+ try {
2978
+ cachedUI = createBaseUI(react, {
2979
+ lang: LANG,
2980
+ selfId: SELF_ID,
2981
+ repoUrl: REPO_URL
2982
+ });
2983
+ cachedReact = react;
2984
+ } catch {
2985
+ cachedUI = null;
2986
+ cachedReact = null;
148
2987
  }
149
- ];
2988
+ return cachedUI;
2989
+ }
2990
+ /** base 的全局样式只插一次;样式注入失败不影响功能(base 组件自带内联兜底,不抛给人看)。 */
2991
+ function ensureStylesOnce() {
2992
+ if (stylesReady || typeof document === "undefined") return;
2993
+ try {
2994
+ ensureBaseStyles(document);
2995
+ stylesReady = true;
2996
+ } catch {}
2997
+ }
2998
+ /** 作者推荐卡:插件清单与文案全部由 base 包渲染(本仓只传 selfId,排除爱生活自己)。 */
2999
+ function AuthorPlugins(props = {}) {
3000
+ const ui = baseUI();
3001
+ if (ui === null) return null;
3002
+ ensureStylesOnce();
3003
+ return react.createElement(ui.AuthorPlugins, { title: props.title });
3004
+ }
3005
+ /** 页头动作簇 v2(票 05):联系/Star/Issue 三枚彩色静默按钮(无外框、间距 4),图标、
3006
+ * 悬停文案、联系弹窗与目标网址全部由 base 渲染;本仓只给 React 身份、尺寸与本仓 repoUrl
3007
+ * (base 由它派生 Star 目标与 <repo>/issues 列表页)。
3008
+ *
3009
+ * 尺寸缺省 16:base 的页头默认档,与面板标题行同一视觉重量(14 紧凑/18 宽松留给别的场景)。 */
3010
+ function ActionCluster(props) {
3011
+ const ui = baseUI();
3012
+ if (ui === null) return null;
3013
+ ensureStylesOnce();
3014
+ return react.createElement(ui.ActionCluster, { size: props.size ?? 16 });
3015
+ }
150
3016
  //#endregion
151
3017
  //#region src/manual-plan.ts
152
3018
  const TAB_WIDTH = 5.9;
@@ -456,12 +3322,6 @@ window.__ModuleLoader__.load({
456
3322
  }
457
3323
  //#endregion
458
3324
  //#region src/update-contract.ts
459
- /** 总管与面板之间的共享常量:载体、槽名、电话名、版本降级字面量。
460
- *
461
- * 说明(票 1168 缺席态):本仓更新代码已全部移除,更新区藏入口。
462
- * 本文件仅保留仍被非更新代码取用的共享位,更新专用部分已随更新代码删除。
463
- * 0.5.1 新接线由 wire 票 1170 重建,此处不预留。
464
- */
465
3325
  const CONFIG_TAB_SLOT = "ilife.config-tab";
466
3326
  const CARRIER_BASE = "/api";
467
3327
  const MANAGER_RPC = {
@@ -471,7 +3331,7 @@ window.__ModuleLoader__.load({
471
3331
  path: "/api/ilife-manager"
472
3332
  };
473
3333
  //#endregion
474
- //#region ../../node_modules/.pnpm/dsh-plugin-update@0.18.38/node_modules/dsh-plugin-update/dist/shared/config.js
3334
+ //#region ../../node_modules/.pnpm/dsh-plugin-update@0.18.39/node_modules/dsh-plugin-update/dist/shared/config.js
475
3335
  const DEFAULT_PANEL_POLL_MS = 1e3;
476
3336
  function assertPrefix(value, role) {
477
3337
  if (typeof value !== "string" || value.length === 0) throw new Error("[dsh-plugin-update] " + role + " 非法:须为非空字符串(收到 " + JSON.stringify(value) + ")");
@@ -493,7 +3353,7 @@ window.__ModuleLoader__.load({
493
3353
  return buildPhoneNames(prefix).logAppend;
494
3354
  }
495
3355
  //#endregion
496
- //#region ../../node_modules/.pnpm/dsh-plugin-update@0.18.38/node_modules/dsh-plugin-update/dist/shared/codes.js
3356
+ //#region ../../node_modules/.pnpm/dsh-plugin-update@0.18.39/node_modules/dsh-plugin-update/dist/shared/codes.js
497
3357
  const BLOCKED_REASONS = [
498
3358
  "unknown-profile",
499
3359
  "channel-mismatch",
@@ -530,7 +3390,7 @@ window.__ModuleLoader__.load({
530
3390
  return typeof code === "string" && isOneOf(CHECK_SIDE_FAILURE_CODES, code.trim());
531
3391
  }
532
3392
  //#endregion
533
- //#region ../../node_modules/.pnpm/dsh-plugin-update@0.18.38/node_modules/dsh-plugin-update/dist/shared/lang.js
3393
+ //#region ../../node_modules/.pnpm/dsh-plugin-update@0.18.39/node_modules/dsh-plugin-update/dist/shared/lang.js
534
3394
  function normalizeLangTag(tag) {
535
3395
  if (typeof tag !== "string") return "zh";
536
3396
  const s = tag.trim().toLowerCase().replace(/_/g, "-");
@@ -672,7 +3532,7 @@ window.__ModuleLoader__.load({
672
3532
  };
673
3533
  }
674
3534
  //#endregion
675
- //#region ../../node_modules/.pnpm/dsh-plugin-update@0.18.38/node_modules/dsh-plugin-update/dist/core/i18n/dictionary.js
3535
+ //#region ../../node_modules/.pnpm/dsh-plugin-update@0.18.39/node_modules/dsh-plugin-update/dist/core/i18n/dictionary.js
676
3536
  const BILINGUAL_STRINGS = {
677
3537
  "entry.label.idle": {
678
3538
  en: "Check for updates",
@@ -1614,6 +4474,11 @@ window.__ModuleLoader__.load({
1614
4474
  zh: "凭上方请求/检查编号在 {eFail} 中匹配;基线耗时请查看 {eCall},执行结果请查看 {eExec}。",
1615
4475
  draft: true
1616
4476
  },
4477
+ "panel.history.failure-settled": {
4478
+ en: "An earlier attempt failed ({code}); target version {version} or newer is running.",
4479
+ zh: "上次尝试失败({code});目标版本 {version} 或更新版本正在运行。",
4480
+ draft: true
4481
+ },
1617
4482
  "panel.loghealth.line": {
1618
4483
  en: "Log: {text}",
1619
4484
  zh: "日志:{text}",
@@ -2751,7 +5616,7 @@ window.__ModuleLoader__.load({
2751
5616
  }
2752
5617
  };
2753
5618
  //#endregion
2754
- //#region ../../node_modules/.pnpm/dsh-plugin-update@0.18.38/node_modules/dsh-plugin-update/dist/core/i18n/text.js
5619
+ //#region ../../node_modules/.pnpm/dsh-plugin-update@0.18.39/node_modules/dsh-plugin-update/dist/core/i18n/text.js
2755
5620
  function escapeHtml$4(value) {
2756
5621
  return String(value ?? "").replace(/&/g, "&amp;").replace(/</g, "&lt;").replace(/>/g, "&gt;").replace(/"/g, "&quot;");
2757
5622
  }
@@ -2780,7 +5645,7 @@ window.__ModuleLoader__.load({
2780
5645
  return "<span class=\"dsh-upd-bi\"><span lang=\"" + l + "\">" + text + "</span></span>";
2781
5646
  }
2782
5647
  //#endregion
2783
- //#region ../../node_modules/.pnpm/dsh-plugin-update@0.18.38/node_modules/dsh-plugin-update/dist/core/cause.js
5648
+ //#region ../../node_modules/.pnpm/dsh-plugin-update@0.18.39/node_modules/dsh-plugin-update/dist/core/cause.js
2784
5649
  const CAUSE_KINDS = ["minimum-release-age"];
2785
5650
  const CAUSE_SIGNATURES = [{
2786
5651
  kind: "minimum-release-age",
@@ -2900,7 +5765,7 @@ window.__ModuleLoader__.load({
2900
5765
  }
2901
5766
  }
2902
5767
  //#endregion
2903
- //#region ../../node_modules/.pnpm/dsh-plugin-update@0.18.38/node_modules/dsh-plugin-update/dist/shared/redaction.js
5768
+ //#region ../../node_modules/.pnpm/dsh-plugin-update@0.18.39/node_modules/dsh-plugin-update/dist/shared/redaction.js
2904
5769
  const COPY_BUDGET_CHARS = 1500;
2905
5770
  const REDACTED_PATH = "<路径>";
2906
5771
  const REDACTED_SECRET = "<脱敏>";
@@ -2980,7 +5845,7 @@ window.__ModuleLoader__.load({
2980
5845
  return userinfo.masked ? truncateWithMaskNote(scrubbed, COPY_BUDGET_CHARS) : truncateForCopy(scrubbed);
2981
5846
  }
2982
5847
  //#endregion
2983
- //#region ../../node_modules/.pnpm/dsh-plugin-update@0.18.38/node_modules/dsh-plugin-update/dist/shared/copy.js
5848
+ //#region ../../node_modules/.pnpm/dsh-plugin-update@0.18.39/node_modules/dsh-plugin-update/dist/shared/copy.js
2984
5849
  const BLOCKED_KEYS = {
2985
5850
  "unknown-profile": {
2986
5851
  title: "panel.blocked.unknown-profile.title",
@@ -3398,7 +6263,7 @@ window.__ModuleLoader__.load({
3398
6263
  return blockLines.join("\n");
3399
6264
  }
3400
6265
  //#endregion
3401
- //#region ../../node_modules/.pnpm/dsh-plugin-update@0.18.38/node_modules/dsh-plugin-update/dist/panel/theme.js
6266
+ //#region ../../node_modules/.pnpm/dsh-plugin-update@0.18.39/node_modules/dsh-plugin-update/dist/panel/theme.js
3402
6267
  function normalizePanelTheme(value) {
3403
6268
  return value === "archive" ? "archive" : "default";
3404
6269
  }
@@ -3510,7 +6375,7 @@ window.__ModuleLoader__.load({
3510
6375
  return parts.join(";");
3511
6376
  }
3512
6377
  //#endregion
3513
- //#region ../../node_modules/.pnpm/dsh-plugin-update@0.18.38/node_modules/dsh-plugin-update/dist/core/judgment.js
6378
+ //#region ../../node_modules/.pnpm/dsh-plugin-update@0.18.39/node_modules/dsh-plugin-update/dist/core/judgment.js
3514
6379
  function updateError(code) {
3515
6380
  return Object.assign(new Error(code), { code });
3516
6381
  }
@@ -3597,7 +6462,7 @@ window.__ModuleLoader__.load({
3597
6462
  return 0;
3598
6463
  }
3599
6464
  //#endregion
3600
- //#region ../../node_modules/.pnpm/dsh-plugin-update@0.18.38/node_modules/dsh-plugin-update/dist/shared/hash.js
6465
+ //#region ../../node_modules/.pnpm/dsh-plugin-update@0.18.39/node_modules/dsh-plugin-update/dist/shared/hash.js
3601
6466
  function hash8(value) {
3602
6467
  try {
3603
6468
  const text = String(value ?? "");
@@ -3609,8 +6474,12 @@ window.__ModuleLoader__.load({
3609
6474
  }
3610
6475
  }
3611
6476
  [...CORE_ERROR_CODES];
6477
+ function normalizeRunningVersion(value) {
6478
+ const trimmed = typeof value === "string" && value.trim() ? value.trim() : null;
6479
+ return trimmed === "0.0.0" ? null : trimmed;
6480
+ }
3612
6481
  //#endregion
3613
- //#region ../../node_modules/.pnpm/dsh-plugin-update@0.18.38/node_modules/dsh-plugin-update/dist/panel/skip-store.js
6482
+ //#region ../../node_modules/.pnpm/dsh-plugin-update@0.18.39/node_modules/dsh-plugin-update/dist/panel/skip-store.js
3614
6483
  const PANEL_SKIPPED_MAX = 50;
3615
6484
  function panelSkipKey(pluginId) {
3616
6485
  return `dsh-upd-skipped/${String(pluginId)}`;
@@ -3713,7 +6582,33 @@ window.__ModuleLoader__.load({
3713
6582
  };
3714
6583
  }
3715
6584
  //#endregion
3716
- //#region ../../node_modules/.pnpm/dsh-plugin-update@0.18.38/node_modules/dsh-plugin-update/dist/panel/view-model.js
6585
+ //#region ../../node_modules/.pnpm/dsh-plugin-update@0.18.39/node_modules/dsh-plugin-update/dist/shared/failure-settled.js
6586
+ function failureSettledOf(snapshot) {
6587
+ try {
6588
+ if (!snapshot || typeof snapshot !== "object") return false;
6589
+ const job = snapshot.job;
6590
+ if (!job || typeof job !== "object") return false;
6591
+ if (job.state !== "failed" && job.state !== "interrupted") return false;
6592
+ const target = typeof job.targetVersion === "string" ? job.targetVersion.trim() : "";
6593
+ if (!target || !validReleaseVersion(target)) return false;
6594
+ if (snapshot.installed !== true) return false;
6595
+ if (snapshot.registered !== true) return false;
6596
+ const installed = typeof snapshot.installedVersion === "string" ? snapshot.installedVersion.trim() : "";
6597
+ if (!installed || !validReleaseVersion(installed)) return false;
6598
+ const running = normalizeRunningVersion(snapshot.runningVersion);
6599
+ if (!running || !validReleaseVersion(running)) return false;
6600
+ if (compareReleaseVersions(installed, running) !== 0) return false;
6601
+ return compareReleaseVersions(installed, target) >= 0;
6602
+ } catch {
6603
+ return false;
6604
+ }
6605
+ }
6606
+ function settledClearsLatch(latch) {
6607
+ if (!latch || typeof latch !== "object") return false;
6608
+ return latch.source === "install" || !isCheckSideFailureCode(latch.code);
6609
+ }
6610
+ //#endregion
6611
+ //#region ../../node_modules/.pnpm/dsh-plugin-update@0.18.39/node_modules/dsh-plugin-update/dist/panel/view-model.js
3717
6612
  const SEAL_KEYS = {
3718
6613
  loading: {
3719
6614
  text: "panel.seal.loading.text",
@@ -3770,6 +6665,9 @@ window.__ModuleLoader__.load({
3770
6665
  const at = message.indexOf(":");
3771
6666
  return (at < 0 ? message : message.slice(0, at)).trim();
3772
6667
  }
6668
+ function jobFailureCodeOf(job) {
6669
+ return job && job.state === "failed" ? messageCodeOf(job.message) || "install-failed" : "install-failed";
6670
+ }
3773
6671
  function panelViewModel(input, lang) {
3774
6672
  const l = normalizeLangTag(lang ?? input.lang ?? "zh");
3775
6673
  const view = panelViewModelCore(input, l);
@@ -3819,6 +6717,7 @@ window.__ModuleLoader__.load({
3819
6717
  }
3820
6718
  const job = snapshot.job ?? null;
3821
6719
  const jobState = job?.state ?? null;
6720
+ const jobFailureSettled = failureSettledOf(snapshot);
3822
6721
  const queueNote = queue && queue.busy ? queue.position === 0 ? copyText("panel.queue.busy-self", l) : typeof queue.position === "number" ? copyText("panel.queue.busy-queued", l, { n: queue.position }) : copyText("panel.queue.busy-other", l) : null;
3823
6722
  if (skippedLatest && snapshot.latestVersion) return {
3824
6723
  banner: {
@@ -3851,8 +6750,11 @@ window.__ModuleLoader__.load({
3851
6750
  queueNote
3852
6751
  };
3853
6752
  }
3854
- const jobCode = jobState === "failed" ? messageCodeOf(job?.message) || "install-failed" : "";
3855
- const failedCode = typeof errorKind === "string" && errorKind.trim() || lastError || jobCode || "";
6753
+ const failureJobState = jobState === "failed" || jobState === "interrupted";
6754
+ const freshFailure = typeof errorKind === "string" && errorKind.trim() || lastError;
6755
+ const jobFailureCurrent = failureJobState && !jobFailureSettled && !(snapshot.installed === false && !freshFailure);
6756
+ const jobCode = jobFailureCurrent ? jobFailureCodeOf(job) : "";
6757
+ const failedCode = freshFailure || jobCode || "";
3856
6758
  let staleFailure = false;
3857
6759
  try {
3858
6760
  const target = typeof job?.targetVersion === "string" ? job.targetVersion.trim() : "";
@@ -3862,9 +6764,8 @@ window.__ModuleLoader__.load({
3862
6764
  } catch {
3863
6765
  staleFailure = false;
3864
6766
  }
3865
- const gated = !(typeof errorKind === "string" && errorKind.trim()) && !lastError ? checkPrejudgeOfView(input.checkPrejudge, snapshot) : null;
3866
- const historicalJobFailure = !(typeof errorKind === "string" && errorKind.trim() || lastError) && snapshot.installed === false && (jobState === "failed" || jobState === "interrupted");
3867
- if (!staleFailure && !gated && !historicalJobFailure && (failedCode || jobState === "failed" || jobState === "interrupted")) {
6767
+ const gated = freshFailure ? null : checkPrejudgeOfView(input.checkPrejudge, snapshot);
6768
+ if (!staleFailure && !gated && (failedCode || jobFailureCurrent)) {
3868
6769
  const code = failedCode || "install-failed";
3869
6770
  const copy = failureCopy(code, l);
3870
6771
  const checkDetail = copy?.zh ?? code;
@@ -4027,7 +6928,7 @@ window.__ModuleLoader__.load({
4027
6928
  }
4028
6929
  }
4029
6930
  //#endregion
4030
- //#region ../../node_modules/.pnpm/dsh-plugin-update@0.18.38/node_modules/dsh-plugin-update/dist/core/changelog/parse.js
6931
+ //#region ../../node_modules/.pnpm/dsh-plugin-update@0.18.39/node_modules/dsh-plugin-update/dist/core/changelog/parse.js
4031
6932
  const CHANGELOG_MAX_CHARS = 65536;
4032
6933
  const CHANGELOG_ALL_CATEGORIES = [
4033
6934
  "Added",
@@ -4627,7 +7528,7 @@ window.__ModuleLoader__.load({
4627
7528
  return String(text ?? "").replace(/&/g, "&amp;").replace(/</g, "&lt;").replace(/>/g, "&gt;").replace(/"/g, "&quot;");
4628
7529
  }
4629
7530
  //#endregion
4630
- //#region ../../node_modules/.pnpm/dsh-plugin-update@0.18.38/node_modules/dsh-plugin-update/dist/core/changelog/render-model.js
7531
+ //#region ../../node_modules/.pnpm/dsh-plugin-update@0.18.39/node_modules/dsh-plugin-update/dist/core/changelog/render-model.js
4631
7532
  const MD_URL_MAX = 2048;
4632
7533
  const MD_MAX_DEPTH = 2;
4633
7534
  function isHttpUrl(u) {
@@ -5148,7 +8049,7 @@ ${note}${blocks.join("\n")}
5148
8049
  }
5149
8050
  }
5150
8051
  //#endregion
5151
- //#region ../../node_modules/.pnpm/dsh-plugin-update@0.18.38/node_modules/dsh-plugin-update/dist/shared/last-resort.js
8052
+ //#region ../../node_modules/.pnpm/dsh-plugin-update@0.18.39/node_modules/dsh-plugin-update/dist/shared/last-resort.js
5152
8053
  const STAGES = [
5153
8054
  "install",
5154
8055
  "check",
@@ -5248,12 +8149,12 @@ ${note}${blocks.join("\n")}
5248
8149
  return verdict("unknown");
5249
8150
  }
5250
8151
  //#endregion
5251
- //#region ../../node_modules/.pnpm/dsh-plugin-update@0.18.38/node_modules/dsh-plugin-update/dist/shared/log-events.js
8152
+ //#region ../../node_modules/.pnpm/dsh-plugin-update@0.18.39/node_modules/dsh-plugin-update/dist/shared/log-events.js
5252
8153
  const LOG_EVENT_CALL = "host.call";
5253
8154
  const LOG_EVENT_CALL_FAIL = "host.call.fail";
5254
8155
  const LOG_EVENT_INSTALL_EXEC = "update.install.exec";
5255
8156
  //#endregion
5256
- //#region ../../node_modules/.pnpm/dsh-plugin-update@0.18.38/node_modules/dsh-plugin-update/dist/shared/commands.js
8157
+ //#region ../../node_modules/.pnpm/dsh-plugin-update@0.18.39/node_modules/dsh-plugin-update/dist/shared/commands.js
5257
8158
  const MANUAL_SUPPRESSING_REASONS = [
5258
8159
  "source-install",
5259
8160
  "unknown-profile",
@@ -5263,7 +8164,7 @@ ${note}${blocks.join("\n")}
5263
8164
  return reason !== null && reason !== void 0 && MANUAL_SUPPRESSING_REASONS.includes(reason);
5264
8165
  }
5265
8166
  //#endregion
5266
- //#region ../../node_modules/.pnpm/dsh-plugin-update@0.18.38/node_modules/dsh-plugin-update/dist/shared/manual-absent.js
8167
+ //#region ../../node_modules/.pnpm/dsh-plugin-update@0.18.39/node_modules/dsh-plugin-update/dist/shared/manual-absent.js
5267
8168
  const REASON_KEYS = {
5268
8169
  "unknown-profile": "panel.manual.absent.unknown-profile",
5269
8170
  "source-install": "panel.manual.absent.source-install",
@@ -5299,7 +8200,7 @@ ${note}${blocks.join("\n")}
5299
8200
  return manualAbsentReasonTextOf(null, lang) + joiner + manualAbsentReasonTextOf(reason, lang);
5300
8201
  }
5301
8202
  //#endregion
5302
- //#region ../../node_modules/.pnpm/dsh-plugin-update@0.18.38/node_modules/dsh-plugin-update/dist/panel/archive-theme.js
8203
+ //#region ../../node_modules/.pnpm/dsh-plugin-update@0.18.39/node_modules/dsh-plugin-update/dist/panel/archive-theme.js
5303
8204
  const UPDATE_PANEL_ARCHIVE_CSS = [
5304
8205
  "/* Archive 档案卷可选主题:只换颜色/字体/间距;内核 DOM 顺序一字不动,不断复制诊断。 */",
5305
8206
  ".dsh-upd[data-theme=\"archive\"]{--dsh-update-bg-soft:#f7f3ea;--dsh-update-bg:#fffdf6;--dsh-update-text:#1a1a1a;--dsh-update-text-muted:#6f675a;",
@@ -5438,7 +8339,7 @@ ${note}${blocks.join("\n")}
5438
8339
  "@media (prefers-reduced-motion: reduce){.dsh-upd[data-theme=\"archive\"] *{transition:none !important;animation:none !important}}"
5439
8340
  ].join("\n");
5440
8341
  //#endregion
5441
- //#region ../../node_modules/.pnpm/dsh-plugin-update@0.18.38/node_modules/dsh-plugin-update/dist/panel/failure-latch.js
8342
+ //#region ../../node_modules/.pnpm/dsh-plugin-update@0.18.39/node_modules/dsh-plugin-update/dist/panel/failure-latch.js
5442
8343
  function formatLatchTime(atMs, lang) {
5443
8344
  if (typeof atMs !== "number" || !Number.isFinite(atMs) || atMs <= 0) return null;
5444
8345
  const raw = typeof lang === "string" ? lang.trim().replace(/_/g, "-") : "";
@@ -5455,7 +8356,7 @@ ${note}${blocks.join("\n")}
5455
8356
  return null;
5456
8357
  }
5457
8358
  //#endregion
5458
- //#region ../../node_modules/.pnpm/dsh-plugin-update@0.18.38/node_modules/dsh-plugin-update/dist/panel/render.js
8359
+ //#region ../../node_modules/.pnpm/dsh-plugin-update@0.18.39/node_modules/dsh-plugin-update/dist/panel/render.js
5459
8360
  const UPDATE_PANEL_CSS = [
5460
8361
  ".dsh-upd{font:var(--dsh-update-panel-font-size,14px)/1.75 system-ui,\"Microsoft YaHei\",sans-serif;color:var(--dsh-update-text,#1f2937);",
5461
8362
  "background:var(--dsh-update-bg,#ffffff);border:1px solid var(--dsh-update-border,#e5e7eb);border-radius:8px;padding:12px 14px;max-width:560px;",
@@ -5472,6 +8373,7 @@ ${note}${blocks.join("\n")}
5472
8373
  ".dsh-upd-banner[data-kind=\"failed\"],.dsh-upd-banner[data-kind=\"blocked\"]{border-color:var(--dsh-update-bad-border);background:var(--dsh-update-bad-bg)}",
5473
8374
  ".dsh-upd-banner[data-kind=\"update\"]{border-color:var(--dsh-update-ok-border);background:var(--dsh-update-ok-bg)}",
5474
8375
  ".dsh-upd-banner[data-kind=\"busy\"]{border-color:var(--dsh-update-busy-border);background:var(--dsh-update-busy-bg)}",
8376
+ ".dsh-upd-settled{font-size:var(--dsh-update-panel-small-font-size,12px);opacity:.75;margin:0 0 8px;overflow-wrap:anywhere}",
5475
8377
  ".dsh-upd-lastresort{display:flex;align-items:flex-start;gap:9px;flex-wrap:wrap;border:1px solid var(--dsh-update-bad-border,#dc2626);border-left:4px solid var(--dsh-update-bad-text,#b91c1c);background:var(--dsh-update-bad-bg,#fef2f2);padding:8px 10px;margin:0 0 8px}",
5476
8378
  ".dsh-upd-lr-ico{flex:none;width:18px;height:18px;color:var(--dsh-update-bad-border,#dc2626);margin-top:2px}",
5477
8379
  ".dsh-upd-lr-main{flex:1 1 220px;min-width:0}",
@@ -5806,6 +8708,15 @@ ${note}${blocks.join("\n")}
5806
8708
  parts.push(`<div>${b.kind === "restart" ? "" : `<span class="dsh-upd-sealmini" aria-hidden="true">${escapeHtml$3(seal.mini)}</span>`}<strong>${escapeHtml$3(b.title)}</strong></div>`);
5807
8709
  parts.push("</div>");
5808
8710
  if (b.action) parts.push(`<div class="dsh-upd-banner-sub">${escapeHtml$3(b.action)}</div>`);
8711
+ const settledJob = snapshot && failureSettledOf(snapshot) ? snapshot.job : null;
8712
+ if (settledJob && b.kind !== "failed") {
8713
+ const settledCode = jobFailureCodeOf(settledJob);
8714
+ const settledTarget = typeof settledJob.targetVersion === "string" ? settledJob.targetVersion.trim() : "";
8715
+ parts.push(`<div class="dsh-upd-settled" data-settled="1">${escapeHtml$3(copyText("panel.history.failure-settled", l, {
8716
+ code: settledCode,
8717
+ version: settledTarget
8718
+ }))}</div>`);
8719
+ }
5809
8720
  parts.push(snapshot ? versionStrip(snapshot, l) : skeletonStrip(view.banner.kind === "loading", l));
5810
8721
  const actions = [];
5811
8722
  if (showActions) {
@@ -6312,7 +9223,7 @@ ${body}`;
6312
9223
  };
6313
9224
  }
6314
9225
  //#endregion
6315
- //#region ../../node_modules/.pnpm/dsh-plugin-update@0.18.38/node_modules/dsh-plugin-update/dist/log/panel-client.js
9226
+ //#region ../../node_modules/.pnpm/dsh-plugin-update@0.18.39/node_modules/dsh-plugin-update/dist/log/panel-client.js
6316
9227
  const RENDER_FAIL_DEDUPE_MS = 6e4;
6317
9228
  function createPanelClientLogShell(options) {
6318
9229
  const option = options.clientLog;
@@ -6532,10 +9443,10 @@ ${body}`;
6532
9443
  }
6533
9444
  }
6534
9445
  //#endregion
6535
- //#region ../../node_modules/.pnpm/dsh-plugin-update@0.18.38/node_modules/dsh-plugin-update/dist/core/i18n/styles.js
9446
+ //#region ../../node_modules/.pnpm/dsh-plugin-update@0.18.39/node_modules/dsh-plugin-update/dist/core/i18n/styles.js
6536
9447
  const BILINGUAL_CSS = [".dsh-upd-bi{display:inline;overflow-wrap:anywhere}", ".dsh-upd-bi [lang]{overflow-wrap:anywhere}"].join("\n");
6537
9448
  //#endregion
6538
- //#region ../../node_modules/.pnpm/dsh-plugin-update@0.18.38/node_modules/dsh-plugin-update/dist/panel/entry.js
9449
+ //#region ../../node_modules/.pnpm/dsh-plugin-update@0.18.39/node_modules/dsh-plugin-update/dist/panel/entry.js
6539
9450
  const UPDATE_ENTRY_CSS = [
6540
9451
  ".dsh-upd-entry{display:inline-flex;align-items:center;gap:8px;font:13px/1.6 var(--dsh-update-font-sans,system-ui,\"Microsoft YaHei\",sans-serif);font-size:var(--dsh-update-entry-font-size,13px);color:var(--dsh-update-text,#1f2937)}",
6541
9452
  ".dsh-upd-entry-btn{font:inherit;border:1px solid var(--dsh-update-border,#d1d5db);border-radius:var(--dsh-update-entry-border-radius,6px);",
@@ -6570,7 +9481,7 @@ ${body}`;
6570
9481
  ".dsh-upd-entry-btn{--dsh-update-button-bg:#1f2937;--dsh-update-border:#374151}}"
6571
9482
  ].join("\n");
6572
9483
  //#endregion
6573
- //#region ../../node_modules/.pnpm/dsh-plugin-update@0.18.38/node_modules/dsh-plugin-update/dist/panel/batch/helpers.js
9484
+ //#region ../../node_modules/.pnpm/dsh-plugin-update@0.18.39/node_modules/dsh-plugin-update/dist/panel/batch/helpers.js
6574
9485
  const BATCH_PANEL_POLL = {
6575
9486
  defaultMs: 1500,
6576
9487
  minMs: 250
@@ -6756,7 +9667,7 @@ ${body}`;
6756
9667
  };
6757
9668
  }
6758
9669
  //#endregion
6759
- //#region ../../node_modules/.pnpm/dsh-plugin-update@0.18.38/node_modules/dsh-plugin-update/dist/panel/batch/ledger.js
9670
+ //#region ../../node_modules/.pnpm/dsh-plugin-update@0.18.39/node_modules/dsh-plugin-update/dist/panel/batch/ledger.js
6760
9671
  function noteRestart(counts, row) {
6761
9672
  if (restartUnregistered(row)) counts.restartUnregistered += 1;
6762
9673
  else counts.restart += 1;
@@ -7003,7 +9914,7 @@ ${body}`;
7003
9914
  return null;
7004
9915
  }
7005
9916
  //#endregion
7006
- //#region ../../node_modules/.pnpm/dsh-plugin-update@0.18.38/node_modules/dsh-plugin-update/dist/panel/batch/styles.js
9917
+ //#region ../../node_modules/.pnpm/dsh-plugin-update@0.18.39/node_modules/dsh-plugin-update/dist/panel/batch/styles.js
7007
9918
  const UPDATE_BATCH_PANEL_CSS = [
7008
9919
  "/* 批量面板(#25):类名沿用 dsh-upd-* 前缀;默认(最小)主题,Archive 皮肤见 UPDATE_BATCH_PANEL_ARCHIVE_CSS。 */",
7009
9920
  ".dsh-upd-overlay .dsh-upd.dsh-upd-batch{overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain}",
@@ -7115,7 +10026,7 @@ ${body}`;
7115
10026
  ".dsh-upd[data-theme=\"archive\"] .dsh-upd-banner>.dsh-upd-browline button:not([data-primary=\"1\"]):not([data-busy=\"1\"]){background:transparent}"
7116
10027
  ].join(String.fromCharCode(10));
7117
10028
  //#endregion
7118
- //#region ../../node_modules/.pnpm/dsh-plugin-update@0.18.38/node_modules/dsh-plugin-update/dist/panel/batch/render.js
10029
+ //#region ../../node_modules/.pnpm/dsh-plugin-update@0.18.39/node_modules/dsh-plugin-update/dist/panel/batch/render.js
7119
10030
  function renderBatchPanelHTML(input) {
7120
10031
  const rows = Array.isArray(input.rows) ? input.rows : [];
7121
10032
  const theme = normalizePanelTheme(input.theme);
@@ -7571,7 +10482,7 @@ ${body}`;
7571
10482
  };
7572
10483
  }
7573
10484
  //#endregion
7574
- //#region ../../node_modules/.pnpm/dsh-plugin-update@0.18.38/node_modules/dsh-plugin-update/dist/panel/batch/mount.js
10485
+ //#region ../../node_modules/.pnpm/dsh-plugin-update@0.18.39/node_modules/dsh-plugin-update/dist/panel/batch/mount.js
7575
10486
  function singleInstallPhoneOf(row) {
7576
10487
  const phones = isObject$2(row.phoneNames) ? row.phoneNames : null;
7577
10488
  if (!phones) return null;
@@ -8968,7 +11879,7 @@ ${body}`;
8968
11879
  };
8969
11880
  }
8970
11881
  //#endregion
8971
- //#region ../../node_modules/.pnpm/dsh-plugin-update@0.18.38/node_modules/dsh-plugin-update/dist/panel/batch/entry-batch.js
11882
+ //#region ../../node_modules/.pnpm/dsh-plugin-update@0.18.39/node_modules/dsh-plugin-update/dist/panel/batch/entry-batch.js
8972
11883
  const ENTRY_WATCH_MAX_MS = 6e5;
8973
11884
  function isObject$1(value) {
8974
11885
  return !!value && typeof value === "object" && !Array.isArray(value);
@@ -9383,7 +12294,7 @@ ${body}`;
9383
12294
  };
9384
12295
  }
9385
12296
  //#endregion
9386
- //#region ../../node_modules/.pnpm/dsh-plugin-update@0.18.38/node_modules/dsh-plugin-update/dist/core/install-button/styles.js
12297
+ //#region ../../node_modules/.pnpm/dsh-plugin-update@0.18.39/node_modules/dsh-plugin-update/dist/core/install-button/styles.js
9387
12298
  const INSTALL_BUTTON_CSS = [
9388
12299
  ".dsh-upd-ib{display:flex;flex-direction:column;gap:8px;font:inherit}",
9389
12300
  ".dsh-upd-ib-status{font-weight:600;overflow-wrap:anywhere}",
@@ -9407,7 +12318,7 @@ ${body}`;
9407
12318
  ".dsh-upd-ib[data-theme=\"archive\"] .dsh-upd-ib-status{font-family:serif}"
9408
12319
  ].join("\n");
9409
12320
  //#endregion
9410
- //#region ../../node_modules/.pnpm/dsh-plugin-update@0.18.38/node_modules/dsh-plugin-update/dist/core/install-button/widgets.js
12321
+ //#region ../../node_modules/.pnpm/dsh-plugin-update@0.18.39/node_modules/dsh-plugin-update/dist/core/install-button/widgets.js
9411
12322
  function isObject(value) {
9412
12323
  return typeof value === "object" && value !== null && !Array.isArray(value);
9413
12324
  }
@@ -9476,7 +12387,7 @@ ${body}`;
9476
12387
  } catch {}
9477
12388
  }
9478
12389
  //#endregion
9479
- //#region ../../node_modules/.pnpm/dsh-plugin-update@0.18.38/node_modules/dsh-plugin-update/dist/core/install-button/view.js
12390
+ //#region ../../node_modules/.pnpm/dsh-plugin-update@0.18.39/node_modules/dsh-plugin-update/dist/core/install-button/view.js
9480
12391
  function installButtonFallbackOf(input, bannerKind) {
9481
12392
  try {
9482
12393
  if (bannerKind !== "failed") return null;
@@ -9607,7 +12518,7 @@ ${body}`;
9607
12518
  };
9608
12519
  }
9609
12520
  //#endregion
9610
- //#region ../../node_modules/.pnpm/dsh-plugin-update@0.18.38/node_modules/dsh-plugin-update/dist/core/install-button/render.js
12521
+ //#region ../../node_modules/.pnpm/dsh-plugin-update@0.18.39/node_modules/dsh-plugin-update/dist/core/install-button/render.js
9611
12522
  function renderInstallButtonHTML(view, opts) {
9612
12523
  const l = opts.lang;
9613
12524
  const manualSource = opts.manualSource === "carried-over" ? "carried-over" : opts.manualSource === null ? null : "frame";
@@ -9995,8 +12906,12 @@ ${body}`;
9995
12906
  if (jobState === "installing" || jobState === "verifying") clearLatch();
9996
12907
  else if (jobState === "completed" || jobState === "restart-required") clearLatch();
9997
12908
  else if ((jobState === "failed" || jobState === "interrupted") && snapshot?.job) {
9998
- const next = latchFromJob(snapshot.job, snapshot, isObject(reply["diag"]) ? reply["diag"] : null);
9999
- if (!latch || latch.volatile || latch.code !== next.code || latch.targetVersion !== next.targetVersion || latch.latestVersion !== next.latestVersion) setLatch(next);
12909
+ if (failureSettledOf(snapshot)) {
12910
+ if (settledClearsLatch(latch)) clearLatch();
12911
+ } else {
12912
+ const next = latchFromJob(snapshot.job, snapshot, isObject(reply["diag"]) ? reply["diag"] : null);
12913
+ if (!latch || latch.volatile || latch.code !== next.code || latch.targetVersion !== next.targetVersion || latch.latestVersion !== next.latestVersion) setLatch(next);
12914
+ }
10000
12915
  } else if (via === "install") clearLatch();
10001
12916
  else if (via === "check" && latch?.source === "check") clearLatch();
10002
12917
  else if (latch?.volatile) clearLatch();
@@ -10696,19 +13611,27 @@ ${body}`;
10696
13611
  const MANAGER_TARGET_KEY = "life-pack";
10697
13612
  /** 批量电话前缀:宿主与面板共用,唯一定义地(面板 mount 参数与宿主登记同源)。 */
10698
13613
  const BATCH_PREFIX = "life";
10699
- const UPDATE_TARGETS = [{
10700
- key: MANAGER_TARGET_KEY,
10701
- title: "爱生活",
10702
- packageName: MANAGER_PACKAGE,
10703
- phonePrefix: "ilife-life-pack"
10704
- }, ...MANAGER_TABS.map((tab) => ({
10705
- key: tab.skill,
10706
- title: tab.title,
10707
- packageName: tab.plugin,
10708
- phonePrefix: "ilife-" + tab.skill
10709
- }))];
13614
+ /** 七行更新目标(渲染期现取:标题随语言走)。 */
13615
+ function buildUpdateTargets() {
13616
+ return [{
13617
+ key: MANAGER_TARGET_KEY,
13618
+ title: m("plugin-manager.update-targets.c001"),
13619
+ packageName: MANAGER_PACKAGE,
13620
+ phonePrefix: "ilife-life-pack"
13621
+ }, ...managerTabs().map((tab) => ({
13622
+ key: tab.skill,
13623
+ title: tab.title,
13624
+ packageName: tab.plugin,
13625
+ phonePrefix: "ilife-" + tab.skill
13626
+ }))];
13627
+ }
13628
+ /** 渲染期现取。 */
13629
+ function updateTargets() {
13630
+ return buildUpdateTargets();
13631
+ }
13632
+ buildUpdateTargets();
10710
13633
  function targetFor(packageName) {
10711
- return UPDATE_TARGETS.find((target) => target.packageName === packageName);
13634
+ return updateTargets().find((target) => target.packageName === packageName);
10712
13635
  }
10713
13636
  //#endregion
10714
13637
  //#region src/update-dialog.ts
@@ -10826,6 +13749,21 @@ ${body}`;
10826
13749
  const LIQUID_DIST_FACTOR = .35;
10827
13750
  //#endregion
10828
13751
  //#region src/directory-browser-contract.ts
13752
+ /** 目录浏览器的纯逻辑半(**不认识宿主**:只认两格原语)。
13753
+ *
13754
+ * 为什么在这里:六个单品插件的设置页各有一批「值是一个目录」的行,它们要的界面是同一个东西。
13755
+ * 界面的**取数**来自宿主给的两个原语(`list`/`createDirectory`),而这两个原语的形状是**调用方喂进来的**
13756
+ * ——本件不 import 宿主的任何实现,也不认识 `remote.directoryPicker` 这个名字(那两件住在各家的
13757
+ * `dsh-ctx.ts` 镜像里)。于是本件在 Windows 桌面、远程浏览器、SSH 三种部署下是同一份代码。
13758
+ *
13759
+ * 装什么:本次要浏览的那一层怎么走(进子目录/回上一级/跳面包屑)、路径怎么切出「目录部分」与
13760
+ * 「筛选词」、回执怎么认。**不装**任何 IO、不装任何持久化——`list`/`createDirectory` 由调用方执行。
13761
+ *
13762
+ * 与平台自带浏览器件的关系:`@deepseek-ai/dsh-client-ui-directory-picker-browse` 的 `DirectoryBrowser`
13763
+ * 是包内私有件(只经 `ui-workspace` 的流程空位暴露),插件侧取不到,所以这里是一份独立实现,
13764
+ * 只对齐它的**交互结果**(进/选/新建),不对齐它的 DOM。
13765
+ */
13766
+ /** 一层目录里的一个子目录。`hidden` 由宿主判,本件只照传。 */
10829
13767
  /** 认一认某个值是不是可用的目录取数面(软依赖守卫用:认不出就当没有,绝不把页面带下来)。 */
10830
13768
  function isBrowseFace(raw) {
10831
13769
  if (typeof raw !== "object" || raw === null) return false;
@@ -10870,7 +13808,7 @@ ${body}`;
10870
13808
  return {
10871
13809
  kind: "unavailable",
10872
13810
  ...typeof code === "string" && code !== "" ? { code } : {},
10873
- message: "打不开系统文件夹对话框" + (detail === "" ? "" : "(" + detail + ")") + ":请直接在框里填绝对路径。"
13811
+ message: m("plugin-manager.directory-browser-contract.c001", { p0: String(detail === "" ? "" : "(" + detail + ")") })
10874
13812
  };
10875
13813
  }
10876
13814
  /** 一段路径里最后那个分隔符的位置(Windows 上 `\` 与 `/` 都算;POSIX 上 `\` 是合法文件名字符,不算)。 */
@@ -10938,15 +13876,15 @@ ${body}`;
10938
13876
  const trimmed = name.trim();
10939
13877
  if (trimmed === "") return {
10940
13878
  ok: false,
10941
- reason: "文件夹名不能为空。"
13879
+ reason: m("plugin-manager.directory-browser-contract.c006")
10942
13880
  };
10943
13881
  if (/[\\/]/.test(trimmed)) return {
10944
13882
  ok: false,
10945
- reason: "文件夹名里不能带路径分隔符。"
13883
+ reason: m("plugin-manager.directory-browser-contract.c007")
10946
13884
  };
10947
13885
  if (trimmed === "." || trimmed === "..") return {
10948
13886
  ok: false,
10949
- reason: "「.」与「..」不是文件夹名。"
13887
+ reason: m("plugin-manager.directory-browser-contract.c008")
10950
13888
  };
10951
13889
  return { ok: true };
10952
13890
  }
@@ -10954,7 +13892,7 @@ ${body}`;
10954
13892
  //#region src/directory-browser-state.ts
10955
13893
  /** 建一个浏览器控制器。取数、回调、初值全部由调用方给。 */
10956
13894
  function createBrowseController(deps) {
10957
- const label = deps.failureLabel ?? "浏览失败";
13895
+ const label = deps.failureLabel ?? m("plugin-manager.directory-browser-state.c001");
10958
13896
  const listeners = /* @__PURE__ */ new Set();
10959
13897
  let state = {
10960
13898
  phase: "idle",
@@ -11105,7 +14043,7 @@ ${body}`;
11105
14043
  }
11106
14044
  const base = state.selected ?? state.listing?.path ?? null;
11107
14045
  if (base === null) {
11108
- emit({ notice: "还没有打开任何目录,无法新建文件夹。" });
14046
+ emit({ notice: m("plugin-manager.directory-browser-state.c002") });
11109
14047
  return;
11110
14048
  }
11111
14049
  try {
@@ -11144,7 +14082,10 @@ ${body}`;
11144
14082
  function describe(state) {
11145
14083
  if (state.phase === "failed") return `${state.failure?.code ?? "browse-failed"} @ ${state.draft}`;
11146
14084
  if (state.listing === null) return `${state.phase}`;
11147
- return `${state.listing.path}(${rowsOf(state).length} 行)`;
14085
+ return m("plugin-manager.directory-browser-state.c003", {
14086
+ p0: String(state.listing.path),
14087
+ p1: String(rowsOf(state).length)
14088
+ });
11148
14089
  }
11149
14090
  /** 一行子目录的完整路径(图上点行时用)。 */
11150
14091
  function entryPath(directory, entry) {
@@ -11192,13 +14133,17 @@ ${body}`;
11192
14133
  * 本件与视图半同样**不认识宿主**:只认状态与文案。
11193
14134
  */
11194
14135
  /** 根的类型说明(悬停可见):**本件自己的词汇**,与取数方无关。 */
11195
- const ROOT_KIND_TEXT = {
11196
- fixed: "固定磁盘",
11197
- network: "网络驱动器",
11198
- removable: "可移动磁盘",
11199
- optical: "光驱",
11200
- other: "磁盘"
11201
- };
14136
+ /** 根的类型说明:渲染期现取(#1229)。 */
14137
+ function rootKindText(kind) {
14138
+ const table = {
14139
+ fixed: m("plugin-manager.directory-browser-parts.c001"),
14140
+ network: m("plugin-manager.directory-browser-parts.c002"),
14141
+ removable: m("plugin-manager.directory-browser-parts.c003"),
14142
+ optical: m("plugin-manager.directory-browser-parts.c004"),
14143
+ other: m("plugin-manager.directory-browser-parts.c005")
14144
+ };
14145
+ return table[kind] ?? table.other;
14146
+ }
11202
14147
  const S$4 = {
11203
14148
  scrim: {
11204
14149
  position: "fixed",
@@ -11384,7 +14329,7 @@ ${body}`;
11384
14329
  ...S$4.chromeButton,
11385
14330
  ...S$4.rootButton
11386
14331
  },
11387
- title: ROOT_KIND_TEXT[root.kind] ?? ROOT_KIND_TEXT.other,
14332
+ title: rootKindText(root.kind),
11388
14333
  "data-ilife-press": "dialog-root",
11389
14334
  "data-ilife-longpress": "dialog-root",
11390
14335
  onClick: () => onEnter(root.path)
@@ -11758,25 +14703,7 @@ ${body}`;
11758
14703
  /** 卡面 em 值(乘缩放后收 4 位小数:0.3×0.7 在浮点里是 0.21000000000000002,直接拼串会带尾巴)。 */
11759
14704
  const sealEm = (n) => String(Math.round(n * SEAL_SCALE * 1e4) / 1e4) + "em";
11760
14705
  "" + PANEL_CARD_EDGE, sealEm(9), "" + PANEL_FIELD_EDGE;
11761
- //#endregion
11762
- //#region src/manual-entry.ts
11763
- /** 使用手册入口与书式弹层(票 #1237 起;#1240 接线书体、2026-10-10 按用户验收改尺寸与形态)。
11764
- *
11765
- * 真值:
11766
- * - 冻结原型 docs/plugins/plugin-manager/proto-manual-4scenes.html(最高真值,每字每像素);
11767
- * - 定版 docs/plugins/plugin-manager/手册正文-定版-20261009.html 的入口六条(v2 甲)。
11768
- * **两处 2026-10-10 的用户改动(记在票 #1240)**:① 入口图标按 ≈62% 收小(原型 76×104 → 48×66);
11769
- * ② 打开书从「整屏舞台」改成「居中限制尺寸的弹层+常驻关闭钮」。除这两处,其余取值照原型。
11770
- *
11771
- * 形态:纯函数,吃 props 回元素树,不留状态、不取数、不碰 DOM(document/window/process)。
11772
- * 手写 React.createElement(本包 client 束禁 JSX)。样式只此一处生成,挂法照 config-panel-view
11773
- * 的 interactionCss 先例:调用方在卡片首位挂一枚 <style>,类名即原型那六个(bkbtn/stage/
11774
- * eabook/eaband/plate),外加弹层两条(manual-popover/manual-popover-close)。
11775
- *
11776
- * 卷轴旧实现只读不改:本件不引用旧卷轴两件。
11777
- */
11778
- /** 入口上的两处字样(腰封+名牌各印一次,定义只此一处)。单一来源=导航表那行。 */
11779
- const MANUAL_ENTRY_LABEL = MANUAL_ENTRY.title;
14706
+ MANUAL_ENTRY.title;
11780
14707
  /** 入口 CSS(书那五条源自 v2 甲)+弹层两组(透明点外关闭层 + 书那一格,关闭钮)。
11781
14708
  *
11782
14709
  * **2026-10-10 用户验收(记在票 #1240)**:
@@ -11808,17 +14735,18 @@ ${body}`;
11808
14735
  * data-ilife-press(与标题行两入口同语言)。
11809
14736
  */
11810
14737
  function ManualEntryButton(props) {
14738
+ const entry = manualEntry();
11811
14739
  return react.createElement("button", {
11812
14740
  type: "button",
11813
14741
  className: "bkbtn",
11814
- title: MANUAL_ENTRY.tip,
11815
- "aria-label": MANUAL_ENTRY.tip,
11816
- "data-ilife-press": MANUAL_ENTRY.key,
14742
+ title: entry.tip,
14743
+ "aria-label": entry.tip,
14744
+ "data-ilife-press": entry.key,
11817
14745
  onClick: props.onOpen
11818
14746
  }, react.createElement("span", {
11819
14747
  className: "eaaura",
11820
14748
  "aria-hidden": "true"
11821
- }), react.createElement("span", { className: "stage" }, react.createElement("span", { className: "eabook" }, react.createElement("span", { className: "eaband" }, MANUAL_ENTRY_LABEL))));
14749
+ }), react.createElement("span", { className: "stage" }, react.createElement("span", { className: "eabook" }, react.createElement("span", { className: "eaband" }, entry.title))));
11822
14750
  }
11823
14751
  /** 弹出弹层:关着回 null,开着回**透明的满屏 `<dialog>`**(书体由调用方经 children 传进来)。
11824
14752
  *
@@ -11842,7 +14770,7 @@ ${body}`;
11842
14770
  }, react.createElement("div", {
11843
14771
  className: "manual-popover",
11844
14772
  role: "dialog",
11845
- "aria-label": MANUAL_ENTRY_LABEL,
14773
+ "aria-label": manualEntry().title,
11846
14774
  "data-ilife-manual": "book-shell",
11847
14775
  onClick: (event) => {
11848
14776
  event.stopPropagation();
@@ -11918,7 +14846,7 @@ ${body}`;
11918
14846
  * 单家的错照样逐家报(那家页签里的体检表会写「体检超时(60s)…」)。 */
11919
14847
  const HEALTH_TIMEOUT_MS = 6e4;
11920
14848
  function timeoutText() {
11921
- return "体检超时(" + String(Math.round(HEALTH_TIMEOUT_MS / 1e3)) + "s):技能没在时限内回话。";
14849
+ return m("plugin-manager.health-fetch.c001", { p0: String(String(Math.round(HEALTH_TIMEOUT_MS / 1e3))) });
11922
14850
  }
11923
14851
  async function fetchOne(call, row) {
11924
14852
  try {
@@ -11928,19 +14856,19 @@ ${body}`;
11928
14856
  }, AbortSignal.timeout(HEALTH_TIMEOUT_MS));
11929
14857
  if (!result || typeof result !== "object" || typeof result.ok !== "boolean") return {
11930
14858
  report: null,
11931
- error: "回执信封异常(非 ok 信封)。"
14859
+ error: m("plugin-manager.health-fetch.c002")
11932
14860
  };
11933
14861
  if (!result.ok) {
11934
14862
  const error = result.error;
11935
14863
  return {
11936
14864
  report: null,
11937
- error: typeof error?.message === "string" && error.message.length > 0 ? error.message : "体检没跑起来。"
14865
+ error: typeof error?.message === "string" && error.message.length > 0 ? error.message : m("plugin-manager.health-fetch.c003")
11938
14866
  };
11939
14867
  }
11940
14868
  const value = result.value;
11941
14869
  if (!isHealthReport(value)) return {
11942
14870
  report: null,
11943
- error: "体检报告形状认不出(技能包与总管版本对不上?)。"
14871
+ error: m("plugin-manager.health-fetch.c004")
11944
14872
  };
11945
14873
  return {
11946
14874
  report: value,
@@ -11953,7 +14881,7 @@ ${body}`;
11953
14881
  };
11954
14882
  return {
11955
14883
  report: null,
11956
- error: "体检没跑起来:" + (error instanceof Error ? error.message : String(error))
14884
+ error: m("plugin-manager.health-fetch.c005", { p0: String(error instanceof Error ? error.message : String(error)) })
11957
14885
  };
11958
14886
  }
11959
14887
  }
@@ -11965,7 +14893,7 @@ ${body}`;
11965
14893
  async function loadHealthReports(call, tabs, onRow) {
11966
14894
  if (typeof call !== "function") return {
11967
14895
  rows: [],
11968
- error: "宿主连接缺席:connection.rpc.call 不可用"
14896
+ error: m("plugin-manager.health-fetch.c006")
11969
14897
  };
11970
14898
  return {
11971
14899
  rows: await Promise.all(tabs.map(async (tab) => {
@@ -12086,11 +15014,15 @@ ${body}`;
12086
15014
  yellow: "#8a5200",
12087
15015
  green: "var(--dsw-alias-state-success-primary, #4ec9a0)"
12088
15016
  };
12089
- const STATUS_LABEL = {
12090
- red: "红",
12091
- yellow: "黄",
12092
- green: "绿"
15017
+ const STATUS_LABEL_KEY = {
15018
+ red: "plugin-manager.health-view.c001",
15019
+ yellow: "plugin-manager.health-view.c002",
15020
+ green: "plugin-manager.health-view.c003"
12093
15021
  };
15022
+ /** 档位词(渲染期取词:模块级只留 key,不把词固定成加载期那一种语言)。 */
15023
+ function statusLabel(status) {
15024
+ return m(STATUS_LABEL_KEY[status]);
15025
+ }
12094
15026
  /** 档位的**形状**标记:颜色之外的第二条读数(灰度截图、色弱视角下也分得开谁要处理)。 */
12095
15027
  const STATUS_MARK = {
12096
15028
  red: "✕",
@@ -12339,17 +15271,19 @@ ${body}`;
12339
15271
  function HealthTable(props) {
12340
15272
  const { report } = props;
12341
15273
  const prefixes = report ? dirPrefixesOf(report) : [];
15274
+ const configNote = report !== null && report.configPath !== "" ? m("plugin-manager.health-view.c020", { p0: report.configPath }) : "";
15275
+ const dataDirLine = report !== null && report.dataDir !== "" ? m("plugin-manager.health-view.c019", { p0: report.dataDir + configNote }) : null;
12342
15276
  return react.createElement("div", {
12343
15277
  style: HEALTH_STYLE.box,
12344
15278
  "data-ilife-health": "table"
12345
15279
  }, react.createElement("div", { style: HEALTH_STYLE.headRow }, react.createElement(TitleBlock, {
12346
15280
  product: props.title,
12347
- purpose: "体检"
12348
- }), report ? headerCounts(report) : null), props.phase === "idle" ? react.createElement("div", { style: HEALTH_STYLE.meta }, "还没体检:点标题行那个「体检」。") : null, props.phase === "running" ? react.createElement("div", { style: HEALTH_STYLE.meta }, "正在体检…") : null, props.error !== null ? react.createElement("div", { style: HEALTH_STYLE.error }, props.error) : null, report ? react.createElement("div", null, report.dataDir !== "" ? react.createElement("div", { style: {
15281
+ purpose: m("plugin-manager.health-view.c016")
15282
+ }), report ? headerCounts(report) : null), props.phase === "idle" ? react.createElement("div", { style: HEALTH_STYLE.meta }, m("plugin-manager.health-view.c017")) : null, props.phase === "running" ? react.createElement("div", { style: HEALTH_STYLE.meta }, m("plugin-manager.health-view.c018")) : null, props.error !== null ? react.createElement("div", { style: HEALTH_STYLE.error }, props.error) : null, report ? react.createElement("div", null, dataDirLine !== null ? react.createElement("div", { style: {
12349
15283
  color: INK_DIM,
12350
15284
  fontSize: 11.5,
12351
15285
  marginTop: 2
12352
- } }, "落点根目录:" + report.dataDir + (report.configPath !== "" ? "(配置文件 " + report.configPath + ")" : "")) : null, report.items.filter(isAttentionItem).map((item) => react.createElement("div", {
15286
+ } }, dataDirLine) : null, report.items.filter(isAttentionItem).map((item) => react.createElement("div", {
12353
15287
  key: item.id,
12354
15288
  "data-ilife-health": "item",
12355
15289
  "data-status": item.status,
@@ -12381,10 +15315,10 @@ ${body}`;
12381
15315
  } }, item.title), react.createElement("span", { style: {
12382
15316
  color: STATUS_TEXT[item.status],
12383
15317
  fontWeight: 700
12384
- } }, STATUS_LABEL[item.status]), item.source && item.source !== "默认值" ? react.createElement("span", { style: { color: INK_DIM } }, "· 来自" + item.source) : null), react.createElement("div", {
15318
+ } }, statusLabel(item.status)), item.source && item.source !== "默认值" ? react.createElement("span", { style: { color: INK_DIM } }, m("plugin-manager.health-view.c021", { p0: item.source })) : null), react.createElement("div", {
12385
15319
  style: { color: INK },
12386
15320
  title: item.message
12387
- }, shortenPathsIn(item.message, prefixes)), item.action.length > 0 ? react.createElement("div", { style: { color: INK_DIM } }, "去哪修:" + actionText(item.action)) : null)), report.items.some((item) => !isAttentionItem(item)) ? react.createElement("div", {
15321
+ }, shortenPathsIn(item.message, prefixes)), item.action.length > 0 ? react.createElement("div", { style: { color: INK_DIM } }, m("plugin-manager.health-view.c022", { p0: actionText(item.action) })) : null)), report.items.some((item) => !isAttentionItem(item)) ? react.createElement("div", {
12388
15322
  "data-ilife-health": "ok",
12389
15323
  style: {
12390
15324
  display: "flex",
@@ -12412,7 +15346,7 @@ ${body}`;
12412
15346
  }), react.createElement("span", { style: {
12413
15347
  fontWeight: 650,
12414
15348
  color: INK
12415
- } }, "正常 " + String(countByStatus(report.items).green) + " 条"), react.createElement("span", { style: { color: INK_DIM } }, "(下列各项都正常工作)"), report.items.filter((item) => !isAttentionItem(item)).map((item) => react.createElement("span", {
15349
+ } }, m("plugin-manager.health-view.c023", { p0: String(countByStatus(report.items).green) })), react.createElement("span", { style: { color: INK_DIM } }, m("plugin-manager.health-view.c024")), report.items.filter((item) => !isAttentionItem(item)).map((item) => react.createElement("span", {
12416
15350
  key: item.id,
12417
15351
  "data-ilife-health": "ok-item"
12418
15352
  }, "· " + item.title))) : null) : null);
@@ -12469,9 +15403,11 @@ ${body}`;
12469
15403
  * 按 `{only}` 投影(一次只挂载一个)+ visited 缓存;ledger 无某技能=缺席,
12470
15404
  * 显示推荐安装只读文本(不返空冒充)。
12471
15405
  * - 组件 React.createElement 手写(禁 JSX),无数据轮询、无 document/window/process。
12472
- * - 面板外壳两处(票 #679):标题行右上角两个入口(星/气泡,悬停出说明文字,
12473
- * 窄窗口折到标题下方);页签面板之后是底部「作者其他插件」引流卡(四行,点开新窗口)。
12474
- * 文案与网址都取自 nav.ts 的两张静态表,本文件只画不算。
15406
+ * - 面板外壳两处(票 #679;#12 起作者推荐卡改由 base 包通用件渲染,票 05 起页头三件套迁
15407
+ * ActionCluster):标题行右上角的联系/Star/Issue 动作簇由 dsh-featherhunter-plugin-base
15408
+ * 绘制(悬停出说明文字,窄窗口折到标题下方);页签面板之后只剩作者推荐卡,同样由 base 绘制——
15409
+ * 插件清单、二维码卡、离线兜底全部单一真源在 base 的 data/manifest.json,本仓不再维护
15410
+ * 第二份(本文件只画不算)。底部整行联系入口自票 05 起退场,联系入口只留页头动作簇。
12475
15411
  */
12476
15412
  const inject = ["slots", "connection"];
12477
15413
  /** 包名 → 本家那条客户端通道(票 #735)。取值面是导航表那份镜像,不再从页签槽账本的自定义选项里读:
@@ -12499,19 +15435,6 @@ ${body}`;
12499
15435
  marginLeft: "auto",
12500
15436
  flex: "0 0 auto"
12501
15437
  },
12502
- iconLink: {
12503
- display: "inline-flex",
12504
- alignItems: "center",
12505
- justifyContent: "center",
12506
- width: 26,
12507
- height: 26,
12508
- borderRadius: 6,
12509
- border: "1px solid transparent",
12510
- color: "var(--dsw-alias-label-primary, inherit)",
12511
- textDecoration: "none",
12512
- fontSize: 14,
12513
- lineHeight: 1
12514
- },
12515
15438
  /** 书的舞台层:书壳与铜扣行都铺在这一层上(原型里是 `body` 上并列的 `.scroll` 与 `.deck`)。 */
12516
15439
  manualStageLayer: { position: "relative" },
12517
15440
  /** 书壳(`proto-manual-4scenes.html` 的 `.scroll`)。红框金边+米纸+零宽脊鎏金线+签。
@@ -12720,48 +15643,6 @@ ${body}`;
12720
15643
  display: "block",
12721
15644
  marginTop: 8
12722
15645
  },
12723
- moreCard: {
12724
- marginTop: 16,
12725
- padding: "10px 12px",
12726
- borderRadius: 10,
12727
- border: "1px solid var(--dsw-alias-border-l1, rgba(128,128,128,.35))"
12728
- },
12729
- moreTitle: {
12730
- fontSize: 13,
12731
- fontWeight: 700,
12732
- marginBottom: 4,
12733
- color: "var(--dsw-alias-label-primary, inherit)"
12734
- },
12735
- moreRow: {
12736
- display: "flex",
12737
- flexWrap: "wrap",
12738
- alignItems: "center",
12739
- gap: "2px 8px",
12740
- padding: "7px 4px",
12741
- textDecoration: "none",
12742
- color: "inherit"
12743
- },
12744
- morePkg: {
12745
- flex: "0 1 auto",
12746
- minWidth: 0,
12747
- overflowWrap: "anywhere",
12748
- fontFamily: "ui-monospace, SFMono-Regular, Menlo, monospace",
12749
- fontSize: 12,
12750
- fontWeight: 650
12751
- },
12752
- moreDesc: {
12753
- flex: "1 1 180px",
12754
- minWidth: 0,
12755
- fontSize: 11.5,
12756
- lineHeight: 1.6,
12757
- color: "var(--dsw-alias-label-secondary, #9a9a9a)"
12758
- },
12759
- moreIcon: {
12760
- flex: "0 0 auto",
12761
- marginLeft: "auto",
12762
- display: "inline-flex",
12763
- color: "var(--dsw-alias-label-secondary, #9a9a9a)"
12764
- },
12765
15646
  /** 更新入口挂点:只占位,按钮本体由上游入口件渲染(票 1170);批量弹窗壳亦由上游提供,本包零自家样式。 */
12766
15647
  updateEntrySlot: {
12767
15648
  display: "inline-flex",
@@ -12785,37 +15666,7 @@ ${body}`;
12785
15666
  if (typeof label === "function") return label();
12786
15667
  return label ?? "";
12787
15668
  }
12788
- /** 外链图标(行尾那个;纯装饰,语义在链接自己的 aria-label/文字上)。 */
12789
- function ExternalIcon() {
12790
- return react.createElement("svg", {
12791
- viewBox: "0 0 24 24",
12792
- width: 13,
12793
- height: 13,
12794
- fill: "none",
12795
- stroke: "currentColor",
12796
- strokeWidth: 1.9,
12797
- strokeLinecap: "round",
12798
- strokeLinejoin: "round",
12799
- "aria-hidden": "true",
12800
- focusable: "false"
12801
- }, react.createElement("path", { d: "M13.5 4.5H19.5V10.5" }), react.createElement("path", { d: "M19.5 4.5L11 13" }), react.createElement("path", { d: "M18 14.5V18A2 2 0 0 1 16 20H6A2 2 0 0 1 4 18V8A2 2 0 0 1 6 6H9.5" }));
12802
- }
12803
- /** 标题行入口图标(#1174:星星实心填色、气泡描边,与行尾外链图标同线形语言;语义仍在链接的 title/aria-label 上)。 */
12804
- function PanelLinkIcon(props) {
12805
- return react.createElement("svg", {
12806
- viewBox: "0 0 24 24",
12807
- width: 14,
12808
- height: 14,
12809
- fill: props.filled ? "currentColor" : "none",
12810
- stroke: props.filled ? "none" : "currentColor",
12811
- strokeWidth: 1.9,
12812
- strokeLinecap: "round",
12813
- strokeLinejoin: "round",
12814
- "aria-hidden": "true",
12815
- focusable: "false"
12816
- }, react.createElement("path", { d: props.path }));
12817
- }
12818
- /** 缺席标记(#1282):下载箭头="待安装";描边取缺席标记色,与 PanelLinkIcon 同线形语言。
15669
+ /** 缺席标记(#1282):下载箭头="待安装";描边取缺席标记色,与页头三件套的线形图标同语言。
12819
15670
  * 注意不用圆点:圆=体检档位,缺席没有健康值,不进那套分级(形状即第二通道)。 */
12820
15671
  function AbsentDownloadIcon(props) {
12821
15672
  return react.createElement("svg", {
@@ -12906,8 +15757,8 @@ ${body}`;
12906
15757
  key: "sh" + sh.sheet,
12907
15758
  role: "button",
12908
15759
  tabIndex: 0,
12909
- "aria-label": "翻到第" + sh.facing + "页",
12910
- title: "翻到第" + sh.facing + "页",
15760
+ "aria-label": m("plugin-manager.client.c001", { p0: String(sh.facing) }),
15761
+ title: m("plugin-manager.client.c002", { p0: String(sh.facing) }),
12911
15762
  "data-ilife-manual": "tab",
12912
15763
  "data-pg": sh.facing,
12913
15764
  onClick: () => {
@@ -13235,26 +16086,26 @@ ${body}`;
13235
16086
  ...prevOff ? S.manualBrassOff : null
13236
16087
  },
13237
16088
  disabled: prevOff,
13238
- "aria-label": "上一跨页",
16089
+ "aria-label": m("plugin-manager.client.c003"),
13239
16090
  "data-ilife-manual": "prev",
13240
16091
  "data-ilife-press": "manual-prev",
13241
16092
  onClick: () => {
13242
16093
  startTurn(-1);
13243
16094
  }
13244
- }, "‹ 上一页"), react.createElement("button", {
16095
+ }, m("plugin-manager.client.c004")), react.createElement("button", {
13245
16096
  type: "button",
13246
16097
  style: {
13247
16098
  ...S.manualBrass,
13248
16099
  ...nextOff ? S.manualBrassOff : null
13249
16100
  },
13250
16101
  disabled: nextOff,
13251
- "aria-label": "下一跨页",
16102
+ "aria-label": m("plugin-manager.client.c005"),
13252
16103
  "data-ilife-manual": "next",
13253
16104
  "data-ilife-press": "manual-next",
13254
16105
  onClick: () => {
13255
16106
  startTurn(1);
13256
16107
  }
13257
- }, "下一页 ›")), hover === null ? null : react.createElement("div", {
16108
+ }, m("plugin-manager.client.c006"))), hover === null ? null : react.createElement("div", {
13258
16109
  role: "status",
13259
16110
  "data-ilife-manual": "tab-card",
13260
16111
  onClick: () => {
@@ -13265,33 +16116,8 @@ ${body}`;
13265
16116
  left: hover.x + 12,
13266
16117
  top: hover.y + 16
13267
16118
  }
13268
- }, tabCardLine(hover.pg, hoverScene), tabCardLine(hoverOtherPage, hoverOtherScene), react.createElement("div", null, "点一下翻到这一页 ›")));
16119
+ }, tabCardLine(hover.pg, hoverScene), tabCardLine(hoverOtherPage, hoverOtherScene), react.createElement("div", null, m("plugin-manager.client.c007"))));
13269
16120
  }
13270
- /** 标题行右上角两件:星(去本仓点 Star)+ 气泡(去本仓开 issue),SVG 图标+悬停说明+按压反馈(#1174)。
13271
- *
13272
- * 三件并排里的第三件「检查更新」住隔壁票(#678):本票只留位子——它就接在本组件之前,
13273
- * 不画一个点了没反应的假按钮。窄窗口靠 headRow 的 flexWrap 折到标题下方,
13274
- * 标题与两件都是 flex:'0 0 auto',谁也不挤谁。
13275
- */
13276
- function PanelActions() {
13277
- return react.createElement("div", { style: S.headActions }, PANEL_LINKS.map((link) => react.createElement("a", {
13278
- key: link.key,
13279
- href: link.url,
13280
- target: "_blank",
13281
- rel: "noreferrer",
13282
- title: link.tip,
13283
- "aria-label": link.tip,
13284
- style: S.iconLink,
13285
- "data-ilife-press": link.key
13286
- }, react.createElement(PanelLinkIcon, {
13287
- filled: link.icon.filled,
13288
- path: link.icon.path
13289
- }))));
13290
- }
13291
- /** 底部「作者其他插件」引流卡:四行(包名 + 一句说明 + 行尾外链图标),点开新窗口。
13292
- *
13293
- * 卡片在页签面板之后,六页签切换它都在(它不属于任何一个页签)。
13294
- */
13295
16121
  /** 缺席页签的单包安装按钮(#1282):挂载位+挂载一体,连接不到或目标表无此包就不画。
13296
16122
  *
13297
16123
  * 与标题行批量入口同形(ref 占位+effect 挂载+卸载 unmount),区别只有两处:调的是单包安装
@@ -13388,7 +16214,7 @@ ${body}`;
13388
16214
  onClick: () => {
13389
16215
  copyCmdText(props.text).then(props.onCopied, () => void 0);
13390
16216
  }
13391
- }, "复制");
16217
+ }, m("plugin-manager.client.c008"));
13392
16218
  }
13393
16219
  /** 缺席页签整块面板(#1282 v4):容器 `S.reco` 不动,子顺序 hint→槽→命令不动,只做三步呈现。
13394
16220
  *
@@ -13429,10 +16255,10 @@ ${body}`;
13429
16255
  }, react.createElement("style", { "data-ilife-absent": "steps-css" }, absentStepsCss()), react.createElement("div", {
13430
16256
  className: "ilife-step",
13431
16257
  "data-step": "1"
13432
- }, react.createElement("span", { className: "ilife-step-t" }, props.tab.plugin + " 未安装"), "请补装后使用。"), react.createElement("div", {
16258
+ }, react.createElement("span", { className: "ilife-step-t" }, m("plugin-manager.client.c009", { p0: String(props.tab.plugin) })), m("plugin-manager.client.c010")), react.createElement("div", {
13433
16259
  className: "ilife-step",
13434
16260
  "data-step": "2"
13435
- }, react.createElement("span", { className: "ilife-step-t" }, "一键安装"), react.createElement("div", { className: "ilife-tray" }, react.createElement(TabInstallSlot, {
16261
+ }, react.createElement("span", { className: "ilife-step-t" }, m("plugin-manager.client.c011")), react.createElement("div", { className: "ilife-tray" }, react.createElement(TabInstallSlot, {
13436
16262
  tab: props.tab,
13437
16263
  getCall: props.getCall,
13438
16264
  onManual: (text) => {
@@ -13441,7 +16267,7 @@ ${body}`;
13441
16267
  }))), react.createElement("div", {
13442
16268
  className: "ilife-step",
13443
16269
  "data-step": "3"
13444
- }, react.createElement("span", { className: "ilife-step-t" }, "备选:手动安装"), cmdRows.map((row) => react.createElement("span", {
16270
+ }, react.createElement("span", { className: "ilife-step-t" }, m("plugin-manager.client.c012")), cmdRows.map((row) => react.createElement("span", {
13445
16271
  key: row.key,
13446
16272
  className: "ilife-cmdrow"
13447
16273
  }, react.createElement("code", { className: row.plain ? "plain" : void 0 }, row.text), react.createElement(CopyCmdButton, {
@@ -13450,21 +16276,10 @@ ${body}`;
13450
16276
  })))), toastOn ? react.createElement("div", {
13451
16277
  "data-ilife-absent": "toast",
13452
16278
  role: "status"
13453
- }, "✓ 已复制") : null);
13454
- }
13455
- function MorePluginsCard() {
13456
- return react.createElement("div", { style: S.moreCard }, react.createElement("div", { style: S.moreTitle }, "作者其他插件"), MORE_PLUGINS.map((row) => react.createElement("a", {
13457
- key: row.pkg,
13458
- href: row.url,
13459
- target: "_blank",
13460
- rel: "noreferrer",
13461
- title: row.pkg + " 的 GitHub 仓库",
13462
- style: S.moreRow,
13463
- "data-ilife-press": "more"
13464
- }, react.createElement("span", { style: S.morePkg }, row.pkg), react.createElement("span", { style: S.moreDesc }, row.desc), react.createElement("span", { style: S.moreIcon }, react.createElement(ExternalIcon, null)))));
16279
+ }, m("plugin-manager.client.c013")) : null);
13465
16280
  }
13466
16281
  /** 版本胶囊那一行字:只在这里拼一次,屏上与用例读的是同一串。 */
13467
- const MANAGER_VERSION_TEXT = "dsh-life-pack · 0.3.85";
16282
+ const MANAGER_VERSION_TEXT = "dsh-life-pack · 0.3.87";
13468
16283
  /** 右下角那本书离面板两沿的距离:用户口径「一直处于面板右下角、不随列表滑动消失」
13469
16284
  * ⇒ sticky 吸附(面板相对,视口多大都落在面板角上);INSET=右沿,BOTTOM=底沿。 */
13470
16285
  const MANUAL_ENTRY_INSET = 16;
@@ -13544,7 +16359,8 @@ ${body}`;
13544
16359
  };
13545
16360
  }, [callReady]);
13546
16361
  const [visitedIds, setVisitedIds] = react.useState(() => /* @__PURE__ */ new Set());
13547
- const active = MANAGER_TABS.some((t) => t.plugin === activeId) ? activeId : MANAGER_TABS[0].plugin;
16362
+ const tabs = managerTabs();
16363
+ const active = tabs.some((t) => t.plugin === activeId) ? activeId : tabs[0].plugin;
13548
16364
  react.useEffect(() => {
13549
16365
  setVisitedIds((previous) => {
13550
16366
  if (previous.has(active)) return previous;
@@ -13566,21 +16382,21 @@ ${body}`;
13566
16382
  let nextIndex;
13567
16383
  switch (event.key) {
13568
16384
  case "ArrowRight":
13569
- nextIndex = (index + 1) % MANAGER_TABS.length;
16385
+ nextIndex = (index + 1) % managerTabs().length;
13570
16386
  break;
13571
16387
  case "ArrowLeft":
13572
- nextIndex = (index - 1 + MANAGER_TABS.length) % MANAGER_TABS.length;
16388
+ nextIndex = (index - 1 + managerTabs().length) % managerTabs().length;
13573
16389
  break;
13574
16390
  case "Home":
13575
16391
  nextIndex = 0;
13576
16392
  break;
13577
16393
  case "End":
13578
- nextIndex = MANAGER_TABS.length - 1;
16394
+ nextIndex = managerTabs().length - 1;
13579
16395
  break;
13580
16396
  default: return;
13581
16397
  }
13582
16398
  event.preventDefault();
13583
- const next = MANAGER_TABS[nextIndex];
16399
+ const next = managerTabs()[nextIndex];
13584
16400
  setActiveId(next.plugin);
13585
16401
  tabRefs.current[nextIndex]?.focus();
13586
16402
  }
@@ -13594,7 +16410,7 @@ ${body}`;
13594
16410
  const ghostRef = react.useRef(null);
13595
16411
  const prevTabRect = react.useRef(null);
13596
16412
  react.useEffect(() => {
13597
- const index = MANAGER_TABS.findIndex((tab) => tab.plugin === active);
16413
+ const index = managerTabs().findIndex((tab) => tab.plugin === active);
13598
16414
  const el = index < 0 ? null : tabRefs.current[index];
13599
16415
  const glider = gliderRef.current;
13600
16416
  const ghost = ghostRef.current;
@@ -13684,7 +16500,7 @@ ${body}`;
13684
16500
  ref: (element) => {
13685
16501
  rootRef.current = element;
13686
16502
  }
13687
- }, react.createElement("div", { style: S.headRow }, react.createElement("div", { style: S.head }, "爱生活"), react.createElement("span", {
16503
+ }, react.createElement("div", { style: S.headRow }, react.createElement("div", { style: S.head }, m("plugin-manager.client.c014")), react.createElement("span", {
13688
16504
  style: S.versionCapsule,
13689
16505
  "data-ilife-version": "capsule"
13690
16506
  }, MANAGER_VERSION_TEXT), react.createElement("div", { style: S.headActions }, react.createElement("button", {
@@ -13696,18 +16512,18 @@ ${body}`;
13696
16512
  } : S.healthBtn,
13697
16513
  disabled: health.running,
13698
16514
  onClick: health.run,
13699
- title: "对六家各跑一次配置体检(只看不改:不建目录、不改配置、不自动重置)",
13700
- "aria-label": "体检",
16515
+ title: m("plugin-manager.client.c015"),
16516
+ "aria-label": m("plugin-manager.client.c016"),
13701
16517
  "data-ilife-press": "health-run",
13702
16518
  "data-ilife-longpress": "health-run"
13703
- }, health.running ? "体检中…" : "体检"), react.createElement("style", { "data-ilife-interaction": "t1" }, interactionCss()), react.createElement("span", {
16519
+ }, health.running ? m("plugin-manager.client.c017") : m("plugin-manager.client.c018")), react.createElement("style", { "data-ilife-interaction": "t1" }, interactionCss()), react.createElement("span", {
13704
16520
  style: S.updateEntrySlot,
13705
16521
  ref: (element) => {
13706
16522
  entryRef.current = element;
13707
16523
  }
13708
- }), react.createElement(PanelActions, null))), react.createElement("div", {
16524
+ }), react.createElement(ActionCluster, { size: 16 }))), react.createElement("div", {
13709
16525
  role: "tablist",
13710
- "aria-label": "爱生活技能页签",
16526
+ "aria-label": m("plugin-manager.client.c019"),
13711
16527
  style: {
13712
16528
  ...S.tablist,
13713
16529
  position: "relative",
@@ -13739,7 +16555,7 @@ ${body}`;
13739
16555
  ref: (element) => {
13740
16556
  gliderRef.current = element;
13741
16557
  }
13742
- })), MANAGER_TABS.map((tab, index) => {
16558
+ })), managerTabs().map((tab, index) => {
13743
16559
  const selected = tab.plugin === active;
13744
16560
  const light = lightOf(tab.plugin);
13745
16561
  const dotColor = light === void 0 ? present.has(tab.plugin) ? TAB_DOT.unchecked : TAB_DOT.absent : tabDotColor(light);
@@ -13769,7 +16585,7 @@ ${body}`;
13769
16585
  onKeyDown: (event) => {
13770
16586
  onTabKeyDown(event, index);
13771
16587
  },
13772
- title: light === void 0 ? "这一家没装(或产物没注册页签槽)" : light.title + ":" + (light.hasChannel ? light.status === null ? "还没体检" : "体检读数见本页签下方的表" : "没有配置体检出口")
16588
+ title: light === void 0 ? m("plugin-manager.client.c020") : light.title + ":" + (light.hasChannel ? light.status === null ? m("plugin-manager.client.c021") : m("plugin-manager.client.c022") : m("plugin-manager.client.c023"))
13773
16589
  }, isAbsent ? react.createElement("span", {
13774
16590
  "data-ilife-health": "tab-dot",
13775
16591
  style: {
@@ -13797,7 +16613,7 @@ ${body}`;
13797
16613
  color: note.status === null ? void 0 : STATUS_TEXT[note.status]
13798
16614
  }
13799
16615
  }, note.text));
13800
- })), MANAGER_TABS.filter((tab) => tab.plugin === active || visitedIds.has(tab.plugin)).map((tab) => {
16616
+ })), managerTabs().filter((tab) => tab.plugin === active || visitedIds.has(tab.plugin)).map((tab) => {
13801
16617
  const selected = tab.plugin === active;
13802
16618
  return react.createElement("div", {
13803
16619
  key: tab.plugin,
@@ -13818,7 +16634,12 @@ ${body}`;
13818
16634
  getCall: props.getCall
13819
16635
  });
13820
16636
  })());
13821
- }), react.createElement(MorePluginsCard, null), react.createElement("div", {
16637
+ }), react.createElement("div", { style: {
16638
+ marginTop: 16,
16639
+ display: "flex",
16640
+ flexDirection: "column",
16641
+ gap: 8
16642
+ } }, react.createElement(AuthorPlugins, null)), react.createElement("div", {
13822
16643
  style: {
13823
16644
  position: "sticky",
13824
16645
  bottom: MANUAL_ENTRY_BOTTOM,
@@ -13850,13 +16671,13 @@ ${body}`;
13850
16671
  }, react.createElement("button", {
13851
16672
  type: "button",
13852
16673
  style: S.manualBrass,
13853
- title: "关闭使用手册",
13854
- "aria-label": "关闭使用手册",
16674
+ title: m("plugin-manager.client.c024"),
16675
+ "aria-label": m("plugin-manager.client.c025"),
13855
16676
  "data-ilife-press": "manual-close",
13856
16677
  onClick: () => {
13857
16678
  setManualOpen(false);
13858
16679
  }
13859
- }, "关闭"))
16680
+ }, m("plugin-manager.client.c026")))
13860
16681
  })))));
13861
16682
  }
13862
16683
  function apply(ctx) {
@@ -13883,7 +16704,7 @@ ${body}`;
13883
16704
  name: "settings.section",
13884
16705
  id: "dsh-life-pack",
13885
16706
  order: 21,
13886
- label: () => "爱生活",
16707
+ label: () => m("plugin-manager.client.c027"),
13887
16708
  inject: sectionInjected,
13888
16709
  children: { "ilife.config-tab": {
13889
16710
  kind: "list",