dsh-crate 0.5.5 → 0.5.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/client/client.js +1832 -617
- package/lib/changelog.js +71 -28
- package/lib/gist.js +1 -1
- package/lib/hot.js +18 -6
- package/lib/index.js +10 -3
- package/lib/install.js +200 -9
- package/lib/official-desktop.js +80 -16
- package/lib/patch.js +223 -25
- package/lib/pending-checkout-links.js +123 -0
- package/lib/pending-updates.js +7 -4
- package/lib/profile.js +36 -0
- package/lib/registry.js +38 -20
- package/lib/release-blockers.js +177 -0
- package/lib/release-history.js +149 -0
- package/lib/release-updates.js +1 -34
- package/lib/routes.js +843 -166
- package/lib/sources.js +42 -2
- package/lib/startup-repair-report.js +46 -0
- package/lib/themes.js +7 -5
- package/lib/types/changelog.d.ts +4 -1
- package/lib/types/dsh-cli.d.ts +8 -0
- package/lib/types/gist.d.ts +1 -1
- package/lib/types/hot.d.ts +2 -1
- package/lib/types/install.d.ts +22 -4
- package/lib/types/official-desktop.d.ts +4 -0
- package/lib/types/patch.d.ts +36 -0
- package/lib/types/pending-checkout-links.d.ts +35 -0
- package/lib/types/pending-updates.d.ts +2 -0
- package/lib/types/profile.d.ts +3 -0
- package/lib/types/registry.d.ts +6 -8
- package/lib/types/release-blockers.d.ts +34 -0
- package/lib/types/release-history.d.ts +34 -0
- package/lib/types/release-updates.d.ts +2 -11
- package/lib/types/routes.d.ts +3 -0
- package/lib/types/sources.d.ts +11 -0
- package/lib/types/startup-repair-report.d.ts +20 -0
- package/lib/types/themes.d.ts +2 -2
- package/lib/types/update-notifications.d.ts +6 -0
- package/lib/types/updates.d.ts +19 -0
- package/lib/update-notifications.js +6 -4
- package/lib/updates.js +16 -0
- package/locale/en.json +1 -1
- package/locale/ja.json +5 -0
- package/package.json +2 -2
package/client/client.js
CHANGED
|
@@ -198,8 +198,6 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
198
198
|
//#region src/client/locales.ts
|
|
199
199
|
/** zh/en/ja dictionaries for the Market settings section and install toast. */
|
|
200
200
|
const zh = {
|
|
201
|
-
nav: "插件箱子",
|
|
202
|
-
setCardDesc: "查看插件箱子版本与设置。",
|
|
203
201
|
updateChecksTitle: "更新检查",
|
|
204
202
|
updateChecksAutomatic: "自动检查更新",
|
|
205
203
|
updateChecksNow: "立即检查",
|
|
@@ -214,11 +212,16 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
214
212
|
updateChecksNone: "暂无更新提醒",
|
|
215
213
|
updateChecksFailed: "检查暂未完成",
|
|
216
214
|
updateChecksFailedHint: "部分信息暂时无法获取,保留上次结果。请稍后重试。",
|
|
215
|
+
updateChecksChanged: "插件清单已变更",
|
|
216
|
+
updateChecksChangedHint: "上次检查后有插件被安装或移除,之前的结果已不适用。重新检查即可刷新。",
|
|
217
217
|
updateChecksLastSuccess: "最近完整检查:{0}",
|
|
218
218
|
updateChecksOpenHost: "到插件页查看",
|
|
219
219
|
updateNotificationsAnnouncement: "有 {count} 个插件可更新。打开插件箱子查看。",
|
|
220
|
+
nav: "插件箱子",
|
|
221
|
+
setCardDesc: "查看插件箱子版本与设置。",
|
|
220
222
|
setSelfUpToDate: "已是最新版本",
|
|
221
223
|
setSelfUpdateReady: "有新版本",
|
|
224
|
+
setSelfUpdateWaiting: "新版等待中",
|
|
222
225
|
setSelfUpdateHint: "更新会下载新版本,重启后生效。",
|
|
223
226
|
setSelfUpToDateHint: "",
|
|
224
227
|
setSelfHostManagedHint: "这份市场由桌面端安装,新版本请在桌面端更新。",
|
|
@@ -236,6 +239,10 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
236
239
|
setEntryLastDoorHint: "至少保留一个入口;这是当前唯一可用的入口。",
|
|
237
240
|
setEntryShow: "显示",
|
|
238
241
|
setEntryHide: "不显示",
|
|
242
|
+
noticeText: "插件箱子已移到「插件」页,设置里的这个入口之后会逐步下线。",
|
|
243
|
+
noticeTextManual: "插件箱子已移到「插件」页的「插件箱子」页签,设置里的这个入口之后会逐步下线。",
|
|
244
|
+
noticeGo: "去插件页",
|
|
245
|
+
noticeFailed: "没能打开插件页。请在侧栏点「插件」,再选「插件箱子」页签。",
|
|
239
246
|
setIndexSource: "官方 Discover 索引",
|
|
240
247
|
setIndexSourceHint: "dsh 0.2.1 起,官方的「插件 → 发现 → 索引源」可以添加 https://dshcrate.com/data/index.json —— 官方发现页和 plugin_crate 智能体工具会搜索同一份目录。",
|
|
241
248
|
setSidebarOn: "显示",
|
|
@@ -283,6 +290,9 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
283
290
|
setSelfRemovedHint: "重启 DeepSeek Harness 后完全清理。",
|
|
284
291
|
setSelfFailed: "操作失败",
|
|
285
292
|
versionHint: "插件箱子版本 — 反馈问题时请附上",
|
|
293
|
+
marketVersionWaiting: "(有新版)",
|
|
294
|
+
marketVersionAvailableAt: "{0} 于 {1} 可更新",
|
|
295
|
+
marketVersionAvailableNow: "{0} 现在可更新",
|
|
286
296
|
subtitle: "发现社区为 DeepSeek Harness 开发的插件",
|
|
287
297
|
submitPlugin: "申请收录插件 ↗",
|
|
288
298
|
descExpand: "展开",
|
|
@@ -414,6 +424,7 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
414
424
|
agentDrainHistoryFailedShort: "上次排队的操作失败了。请检查「已安装」或导出的日志。",
|
|
415
425
|
agentDrainHistoryCancelled: "上次排队的操作已取消。",
|
|
416
426
|
favoriteFailed: "收藏失败,请稍后重试",
|
|
427
|
+
favoriteLimitReached: "最多可收藏 {0} 个插件。",
|
|
417
428
|
favoriteUnavailable: "收藏功能暂不可用。请刷新页面或重启 dsh web。",
|
|
418
429
|
favoriteBusy: "插件操作未结束,收藏未保存,请稍后重试",
|
|
419
430
|
compatRiskBanner: "检测到兼容性风险,建议重启前到诊断页处理,或回滚本次操作。",
|
|
@@ -438,8 +449,16 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
438
449
|
updateHeldTag: "新版等待中",
|
|
439
450
|
updateHeldTarget: "最新版 {0} 刚发布,还要约 {1} 小时。先更新到 {2}。",
|
|
440
451
|
updateHeldTargetUnknown: "最新版 {0} 的发布时间暂不确定,还需等待。先更新到 {2}。",
|
|
441
|
-
|
|
442
|
-
|
|
452
|
+
updateHeldBeside: "约 {1} h",
|
|
453
|
+
updateHeldBesideUnknown: "还需等待",
|
|
454
|
+
updateHeldBesideEstimated: "约 {1} min",
|
|
455
|
+
updateHeldHint: "当前设置要求新版本发布满一段时间才允许安装,大约还要 {1} 小时。",
|
|
456
|
+
updateHeldEstimatedHint: "新版本已出现,但目录信息还没同步,所以先不提供更新;大约 {1} 分钟后会再检查。",
|
|
457
|
+
profileBlockedBeside: "等待中",
|
|
458
|
+
profileBlockedNote: "要等 {0} {1} 满安全等待期(约 {2})后才能更新。到时再点更新即可。",
|
|
459
|
+
profileBlockedNoteUnknown: "要等 {0} {1} 满安全等待期后才能更新(时间未知)。稍后市场会再确认。",
|
|
460
|
+
profileBlockedSkipped: "已跳过:{0}",
|
|
461
|
+
restartFirstNote: "这一轮只能更新到这里。重启后再点「全部更新」继续。",
|
|
443
462
|
newerPrereleaseAvailable: "预发布版 {0} 已发布",
|
|
444
463
|
newerPrereleaseHint: "npm 上的 latest 没有更新;你在跟的这条预发布线发布了更新的版本。",
|
|
445
464
|
unreleasedCommits: "有新提交(未发版){0}",
|
|
@@ -449,9 +468,16 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
449
468
|
hostUpdateHint: "本市场由桌面端安装和更新,新版本请在桌面端更新",
|
|
450
469
|
notesLink: "更新内容",
|
|
451
470
|
notesRelease: "版本说明",
|
|
471
|
+
notesHistory: "本次更新",
|
|
472
|
+
notesHistoryPartial: "部分版本的说明暂缺。",
|
|
473
|
+
notesHistoryEmpty: "暂时读不到本次更新的版本说明。",
|
|
474
|
+
notesHistoryReleasePage: "查看发布页",
|
|
475
|
+
notesHistoryRetry: "请稍后重试。",
|
|
476
|
+
notesHistoryVersionMissing: "这个版本暂无更新说明。",
|
|
477
|
+
notesHeldRelease: "暂不可安装",
|
|
452
478
|
notesBeyondTarget: "下面是 {0} 的说明,这个版本还不能装。现在更新到的是 {1}。",
|
|
453
479
|
notesCommits: "提交记录",
|
|
454
|
-
notesCommitsRecent: "
|
|
480
|
+
notesCommitsRecent: "最近提交(无法确认本次更新范围,仅供参考)",
|
|
455
481
|
notesNpm: "版本发布时间",
|
|
456
482
|
notesNone: "该插件未提供更新说明。",
|
|
457
483
|
notesSource: "市场还没收录这个插件的更新说明。",
|
|
@@ -498,6 +524,11 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
498
524
|
hostIncompatibleBodyInstall: "{plugin} 声明需要 DSH {requirement},而你现在运行的是 {host}。装上去很可能用不了。\n已停止,没有安装任何东西。\n如果你确定这个版本号不准(例如桌面端自带的 DSH 不报告版本),仍可继续安装。",
|
|
499
525
|
hostIncompatibleCancel: "取消安装",
|
|
500
526
|
hostIncompatibleInstallAnyway: "仍然安装",
|
|
527
|
+
installedIncompatTitle: "与当前 DSH 不兼容",
|
|
528
|
+
installedIncompatWhy: "它需要 DSH {0},你正在运行 {1}。",
|
|
529
|
+
installedIncompatNextUpdate: "可以先试更新插件;若仍不行再升级 DSH。",
|
|
530
|
+
installedIncompatNextHost: "需要升级 DSH 后才能用。",
|
|
531
|
+
installedIncompatNextUnknown: "更新插件或升级 DSH 后再看这里。",
|
|
501
532
|
restoreNameOnlyHint: "本地副本未注明来源仓库,市场只能按包名在精选目录中匹配。下方插件可能是其他作者的同名插件,并非你本地副本的来源。确认前请核对作者和仓库地址。此操作会卸载本地版本并安装该插件,无法撤销。",
|
|
502
533
|
restoreContinue: "继续更新",
|
|
503
534
|
restoreProceed: "确认恢复",
|
|
@@ -536,6 +567,25 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
536
567
|
conflictOutcomeRemove: "卸载",
|
|
537
568
|
conflictWhy: "cordis 不接受重复的条目 id,保留它会让 DeepSeek Harness 下次启动失败。",
|
|
538
569
|
opTitle: "任务",
|
|
570
|
+
startupRepairBadge: "启动恢复",
|
|
571
|
+
startupRepairTitle: "启动时处理的中断更新",
|
|
572
|
+
startupRepairReinstalled: "已重新装好。",
|
|
573
|
+
startupRepairVerified: "已核对,现有版本完整。",
|
|
574
|
+
startupRepairPending: "下次启动时会检查是否还能重试。",
|
|
575
|
+
startupRepairAbandoned: "已停止自动重试。请从「设置 → 插件」重新安装。",
|
|
576
|
+
startupRepairVersion: "现有版本与原计划不同,已保留现有版本。下次启动时会重新核对。请到「已安装」检查。",
|
|
577
|
+
startupRepairRefused: "桌面端拒绝重新安装。请到「设置 → 插件」检查是否可以安装该插件。",
|
|
578
|
+
startupRepairNotComposed: "文件已装好,桌面端未能加载插件。请到「已安装」检查插件状态。",
|
|
579
|
+
startupRepairTimeout: "等待桌面端操作完成时超时。请等操作结束后到「已安装」确认结果。",
|
|
580
|
+
startupRepairUnknown: "重新安装失败。导出日志可查看原因。",
|
|
581
|
+
checkoutRecoveryTitle: "本地链接未恢复",
|
|
582
|
+
checkoutSourceRetained: "源码仍在,链接未恢复。",
|
|
583
|
+
checkoutSourceUnconfirmed: "无法确认源码位置。请检查本地目录。",
|
|
584
|
+
checkoutRecoveryBusy: "市场无法确认插件操作已结束。",
|
|
585
|
+
checkoutRecoveryRun: "市场无法确认包管理器已结束。",
|
|
586
|
+
checkoutRecoveryLock: "插件设置的写入锁仍在。",
|
|
587
|
+
checkoutRecoveryCheck: "市场无法核实原链接能否安全接回。",
|
|
588
|
+
checkoutRecoveryRetry: "请在插件操作结束后重启 DSH。",
|
|
539
589
|
opInstalling: "正在安装",
|
|
540
590
|
opNeedsYou: "项需处理",
|
|
541
591
|
opQueued: "排队中",
|
|
@@ -635,6 +685,7 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
635
685
|
marketUpdate: "更新插件箱子",
|
|
636
686
|
updateAll: "全部更新",
|
|
637
687
|
updateCheckFailed: "暂时无法检查更新",
|
|
688
|
+
sponsorsLabel: "赞助",
|
|
638
689
|
updateCheckRetry: "重试检查更新",
|
|
639
690
|
heldReleaseNotice: "已安装,但不是最新版:这个 profile 的 minimumReleaseAge 挡住了 {0},安装的是 {1}。",
|
|
640
691
|
versionUnverifiedNote: "已安装,但版本没能确认:registry 两次都查不到,这次装的是 {0}。插件页会显示实际版本,可以在那里核对。",
|
|
@@ -678,7 +729,7 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
678
729
|
credsWarning: "请注意:备份包含 profile 配置,以及可能含密钥的文件(config.toml、.env 等)。本地导出的文件会原样包含这些内容,上传 WebDAV 前请确认目标可信。",
|
|
679
730
|
gist: "GitHub Gist",
|
|
680
731
|
gistToken: "GitHub token(仅本次会话内存,刷新后需重新输入;留空则使用服务端 DSH_GITHUB_TOKEN 或已登录的 gh CLI)",
|
|
681
|
-
gistId: "Gist ID
|
|
732
|
+
gistId: "Gist ID 或链接",
|
|
682
733
|
gistVerify: "验证连接",
|
|
683
734
|
gistExport: "导出到 Gist…",
|
|
684
735
|
gistImport: "从 Gist 导入",
|
|
@@ -692,6 +743,8 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
692
743
|
gistSelectAll: "全选",
|
|
693
744
|
gistSelectNone: "全不选",
|
|
694
745
|
gistIncludeConfig: "包含配置文件(可能含密钥)",
|
|
746
|
+
gistConfigWarning: "备份包含可能含有密钥的配置文件。持有链接的人可以查看备份。",
|
|
747
|
+
bundleTag: "插件包(Bundle)",
|
|
695
748
|
gistNoPlugins: "当前 profile 没有可导出的插件",
|
|
696
749
|
gistSpecLocal: "本地",
|
|
697
750
|
gistExportGo: "导出",
|
|
@@ -703,9 +756,9 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
703
756
|
gistErrRateLimit: "GitHub 限流或 Token 权限不足",
|
|
704
757
|
gistErrInvalid: "Gist 内容无效或备份格式不受支持",
|
|
705
758
|
gistModeUpdate: "更新到输入框中的 Gist",
|
|
706
|
-
gistModeCreate: "
|
|
759
|
+
gistModeCreate: "新建 Secret Gist",
|
|
707
760
|
gistErrNoId: "更新模式需要 Gist ID:请填写,或切换为「新建」",
|
|
708
|
-
gistNote: "
|
|
761
|
+
gistNote: "Gist 用于跨机器同步:导出后,可在其他电脑用同一账号导入复用。持有链接的人可以查看新建的 Gist。Token 仅保存在本次会话内存中,绝不写入浏览器存储;已登录 gh CLI 或设置 DSH_GITHUB_TOKEN 则无需输入。单文件上限 1 MB。",
|
|
709
762
|
backupWorking: "处理中…",
|
|
710
763
|
backupDone: "备份已上传",
|
|
711
764
|
restoreDone: "恢复完成,请重启 DeepSeek Harness",
|
|
@@ -1026,8 +1079,6 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
1026
1079
|
hostRecoveryNote: "恢复前会自动存快照,随时能退回。"
|
|
1027
1080
|
};
|
|
1028
1081
|
const en = {
|
|
1029
|
-
nav: "Plugin Crate",
|
|
1030
|
-
setCardDesc: "View the Plugin Crate version and settings.",
|
|
1031
1082
|
updateChecksTitle: "Update checks",
|
|
1032
1083
|
updateChecksAutomatic: "Check for updates automatically",
|
|
1033
1084
|
updateChecksNow: "Check now",
|
|
@@ -1042,11 +1093,16 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
1042
1093
|
updateChecksNone: "No pending update reminders",
|
|
1043
1094
|
updateChecksFailed: "Check incomplete",
|
|
1044
1095
|
updateChecksFailedHint: "Some information is unavailable. Previous results are kept; try again later.",
|
|
1096
|
+
updateChecksChanged: "Plugin list changed",
|
|
1097
|
+
updateChecksChangedHint: "A plugin was installed or removed after the last check, so earlier results no longer apply. Re-check to refresh them.",
|
|
1045
1098
|
updateChecksLastSuccess: "Last complete check: {0}",
|
|
1046
1099
|
updateChecksOpenHost: "View in Plugins",
|
|
1047
1100
|
updateNotificationsAnnouncement: "{count} plugin updates available. Open Plugin Crate to review.",
|
|
1101
|
+
nav: "Plugin Crate",
|
|
1102
|
+
setCardDesc: "View the Plugin Crate version and settings.",
|
|
1048
1103
|
setSelfUpToDate: "Up to date",
|
|
1049
1104
|
setSelfUpdateReady: "New version available:",
|
|
1105
|
+
setSelfUpdateWaiting: "New version pending",
|
|
1050
1106
|
setSelfUpdateHint: "Updating downloads the new version; it takes effect after a restart.",
|
|
1051
1107
|
setSelfUpToDateHint: "",
|
|
1052
1108
|
setSelfHostManagedHint: "This copy was installed by the desktop app; update it from there.",
|
|
@@ -1064,6 +1120,10 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
1064
1120
|
setEntryLastDoorHint: "Keep at least one entry; this is the only one left.",
|
|
1065
1121
|
setEntryShow: "Show",
|
|
1066
1122
|
setEntryHide: "Hide",
|
|
1123
|
+
noticeText: "The Plugin Crate has moved to the Plugins page. This entry in Settings will be phased out.",
|
|
1124
|
+
noticeTextManual: "The Plugin Crate has moved to the Plugin Crate tab on the Plugins page. This entry in Settings will be phased out.",
|
|
1125
|
+
noticeGo: "Go to Plugins",
|
|
1126
|
+
noticeFailed: "Couldn't open the Plugins page. Open Plugins in the sidebar, then the Plugin Crate tab.",
|
|
1067
1127
|
setIndexSource: "Discover index",
|
|
1068
1128
|
setIndexSourceHint: "On dsh 0.2.1 and newer, add https://dshcrate.com/data/index.json under Plugins → Discover → Index sources — the official Discover tab and the plugin_crate agent tool then search the same catalog.",
|
|
1069
1129
|
setSidebarOn: "Show",
|
|
@@ -1092,15 +1152,15 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
1092
1152
|
setChannelStable: "Stable",
|
|
1093
1153
|
setChannelBeta: "Beta",
|
|
1094
1154
|
setChannelStableHint: "Released versions only.",
|
|
1095
|
-
setChannelBetaHint: "Early access to unverified versions. Affects the
|
|
1155
|
+
setChannelBetaHint: "Early access to unverified versions. Affects the Plugin Crate only.",
|
|
1096
1156
|
setChannelDev: "Dev",
|
|
1097
1157
|
setChannelDevHint: "Unverified builds from a development branch. Not recommended for general use.",
|
|
1098
1158
|
setChannelSwitch: "Switch to",
|
|
1099
1159
|
setChannelSwitchHint: "This version is lower than the one installed.",
|
|
1100
|
-
setSelfRemove: "Uninstall the
|
|
1160
|
+
setSelfRemove: "Uninstall the Plugin Crate",
|
|
1101
1161
|
setSelfRemoveHint: "Uninstall the market from this profile. Your other plugins are untouched.",
|
|
1102
1162
|
setSelfRemoveRemote: "This page was not opened on the machine running DSH, so the market cannot remove itself from here. Remove it there: Settings → Plugins on the desktop app, or the command line elsewhere.",
|
|
1103
|
-
setSelfConfirm: "Uninstall the
|
|
1163
|
+
setSelfConfirm: "Uninstall the Plugin Crate? Reinstalling it requires the command line.",
|
|
1104
1164
|
setSelfPurge: "Also clear the market's own data",
|
|
1105
1165
|
setSelfPurgeOn: "Will delete: the market's disable list and custom groups, plus the disable entries it wrote into your config file — plugins it switched off will run again. No passwords or tokens are involved; the market never stores those on disk.",
|
|
1106
1166
|
setSelfPurgeOff: "Keeps the market's data. Note: plugins the market switched off stay off, and once it is removed there is no UI left to switch them back on.",
|
|
@@ -1111,6 +1171,9 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
1111
1171
|
setSelfRemovedHint: "Restart DeepSeek Harness to finish cleaning up.",
|
|
1112
1172
|
setSelfFailed: "The operation failed",
|
|
1113
1173
|
versionHint: "Plugin market version — include it when reporting an issue",
|
|
1174
|
+
marketVersionWaiting: "(New version)",
|
|
1175
|
+
marketVersionAvailableAt: "{0} available at {1}",
|
|
1176
|
+
marketVersionAvailableNow: "{0} available now",
|
|
1114
1177
|
subtitle: "Discover community plugins for DeepSeek Harness",
|
|
1115
1178
|
submitPlugin: "Submit a plugin ↗",
|
|
1116
1179
|
descExpand: "Show more",
|
|
@@ -1202,7 +1265,7 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
1202
1265
|
empty: "No plugins match",
|
|
1203
1266
|
clearFilters: "Clear filters",
|
|
1204
1267
|
installedEmpty: "No community plugins yet — browse the Discover tab",
|
|
1205
|
-
marketGoneTitle: "The
|
|
1268
|
+
marketGoneTitle: "The Plugin Crate stopped running",
|
|
1206
1269
|
marketGoneBody: "DSH unloaded the market while reloading plugins. It reconnects on its own. If it stays gone, quit DSH completely and open it again. The last operation may already have finished.",
|
|
1207
1270
|
marketGoneRecord: "DSH unloaded the market, so this operation got no result. Once the market is back, check Installed.",
|
|
1208
1271
|
marketGoneReconnecting: "Reconnecting…",
|
|
@@ -1241,6 +1304,7 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
1241
1304
|
agentDrainHistoryFailedShort: "The last deferred operation failed. Check Installed or the exported log.",
|
|
1242
1305
|
agentDrainHistoryCancelled: "The last deferred operation was cancelled.",
|
|
1243
1306
|
favoriteFailed: "Could not update favorites. Try again.",
|
|
1307
|
+
favoriteLimitReached: "You can save up to {0} favorites.",
|
|
1244
1308
|
favoriteUnavailable: "Favorites are unavailable. Refresh the page or restart dsh web.",
|
|
1245
1309
|
favoriteBusy: "A plugin operation is still running. Favorites were not saved — try again shortly.",
|
|
1246
1310
|
compatRiskBanner: "Compatibility risk detected — open Diagnostics before restarting, or roll this operation back.",
|
|
@@ -1265,8 +1329,16 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
1265
1329
|
updateHeldTag: "new version waiting",
|
|
1266
1330
|
updateHeldTarget: "Latest {0} was just released; about {1} hours to wait. Update to {2} for now.",
|
|
1267
1331
|
updateHeldTargetUnknown: "The release time of latest {0} is unknown, so it still needs to wait. Update to {2} for now.",
|
|
1268
|
-
|
|
1332
|
+
updateHeldBeside: "~{1} h",
|
|
1333
|
+
updateHeldBesideUnknown: "still waiting",
|
|
1334
|
+
updateHeldBesideEstimated: "~{1} min",
|
|
1335
|
+
updateHeldHint: "Your settings wait a while before installing a fresh release; about {1} hour(s) left.",
|
|
1269
1336
|
updateHeldEstimatedHint: "The new version is listed, but the registry mirror has not caught up with its metadata, so the update is held; the market checks again in about {1} minute(s).",
|
|
1337
|
+
profileBlockedBeside: "waiting",
|
|
1338
|
+
profileBlockedNote: "Updates wait until {0} {1} has passed the safety wait (about {2}). Update again then.",
|
|
1339
|
+
profileBlockedNoteUnknown: "Updates wait until {0} {1} has passed the safety wait (time unknown). The market will check again shortly.",
|
|
1340
|
+
profileBlockedSkipped: "Skipped: {0}",
|
|
1341
|
+
restartFirstNote: "This run can only go this far. Restart, then click Update all to continue.",
|
|
1270
1342
|
newerPrereleaseAvailable: "prerelease {0} published",
|
|
1271
1343
|
newerPrereleaseHint: "The package's latest tag has no update; the prerelease line you are on published a newer build.",
|
|
1272
1344
|
unreleasedCommits: "New commits (unreleased) {0}",
|
|
@@ -1276,9 +1348,16 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
1276
1348
|
hostUpdateHint: "Installed and updated by the desktop app; update it there.",
|
|
1277
1349
|
notesLink: "What changed",
|
|
1278
1350
|
notesRelease: "Release notes",
|
|
1351
|
+
notesHistory: "This update",
|
|
1352
|
+
notesHistoryPartial: "Some release notes are missing.",
|
|
1353
|
+
notesHistoryEmpty: "Release notes for this update are unavailable right now.",
|
|
1354
|
+
notesHistoryReleasePage: "View release page",
|
|
1355
|
+
notesHistoryRetry: "Try again later.",
|
|
1356
|
+
notesHistoryVersionMissing: "Release notes for this version are missing.",
|
|
1357
|
+
notesHeldRelease: "Not yet available to install",
|
|
1279
1358
|
notesBeyondTarget: "These are the notes for {0}, which cannot be installed yet. Update installs {1}.",
|
|
1280
1359
|
notesCommits: "Commits",
|
|
1281
|
-
notesCommitsRecent: "Recent commits (
|
|
1360
|
+
notesCommitsRecent: "Recent commits (update range unconfirmed, for reference only)",
|
|
1282
1361
|
notesNpm: "Version publish times",
|
|
1283
1362
|
notesNone: "This plugin does not publish update notes.",
|
|
1284
1363
|
notesSource: "The market doesn't have update notes for this plugin yet.",
|
|
@@ -1325,6 +1404,11 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
1325
1404
|
hostIncompatibleBodyInstall: "{plugin} declares that it needs DSH {requirement}, and you are running {host}. Installing it would most likely break the plugin.\nNothing was installed.\nIf you know the version number is wrong (a bundled DSH that does not report one, for example), you can install anyway.",
|
|
1326
1405
|
hostIncompatibleCancel: "Cancel install",
|
|
1327
1406
|
hostIncompatibleInstallAnyway: "Install anyway",
|
|
1407
|
+
installedIncompatTitle: "Incompatible with this DSH",
|
|
1408
|
+
installedIncompatWhy: "It needs DSH {0}; you are running {1}.",
|
|
1409
|
+
installedIncompatNextUpdate: "Try updating the plugin first; if it still fails, upgrade DSH.",
|
|
1410
|
+
installedIncompatNextHost: "Upgrade DSH before this plugin can run.",
|
|
1411
|
+
installedIncompatNextUnknown: "Update the plugin or upgrade DSH, then check here again.",
|
|
1328
1412
|
restoreNameOnlyHint: "Your local copy does not name its source repository, so the market could only match it by package name. The plugin below may be another author's plugin with the same name, not the source of your copy. Check the owner and repository before confirming. This uninstalls the local version, installs that plugin, and cannot be undone.",
|
|
1329
1413
|
restoreContinue: "Continue update",
|
|
1330
1414
|
restoreProceed: "Confirm restore",
|
|
@@ -1333,8 +1417,8 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
1333
1417
|
restoreNoMatch: "A same-named plugin exists in the catalog, but it does not match your local repository, so restore is not safe. Uninstall the local copy, or keep developing it locally.",
|
|
1334
1418
|
restoreFail: "Restore failed",
|
|
1335
1419
|
exportLog: "Export log",
|
|
1336
|
-
crashTitle: "The
|
|
1337
|
-
crashHint: "
|
|
1420
|
+
crashTitle: "The Plugin Crate could not be displayed",
|
|
1421
|
+
crashHint: "The market could not be displayed. Your plugins are unaffected and nothing was changed.\nReload usually fixes this. If it keeps happening, export the log and attach it to an issue — the log records where the error occurred.\nIf your browser is translating this page, turn translation off and reload. This is a known cause.",
|
|
1338
1422
|
crashReload: "Reload",
|
|
1339
1423
|
crashDetails: "Error details",
|
|
1340
1424
|
exportingLog: "Exporting…",
|
|
@@ -1363,6 +1447,25 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
1363
1447
|
conflictOutcomeRemove: "uninstall",
|
|
1364
1448
|
conflictWhy: "cordis rejects duplicate entry ids; keeping this plugin would stop DeepSeek Harness from starting.",
|
|
1365
1449
|
opTitle: "Tasks",
|
|
1450
|
+
startupRepairBadge: "Startup recovery",
|
|
1451
|
+
startupRepairTitle: "Interrupted updates at startup",
|
|
1452
|
+
startupRepairReinstalled: "Reinstalled.",
|
|
1453
|
+
startupRepairVerified: "The installed version is intact.",
|
|
1454
|
+
startupRepairPending: "The next start will check whether another retry is available.",
|
|
1455
|
+
startupRepairAbandoned: "Automatic retries stopped. Reinstall it from Settings → Plugins.",
|
|
1456
|
+
startupRepairVersion: "The installed version differs from the planned update and has been kept. DSH will check it again on the next start. Check Installed for the current version.",
|
|
1457
|
+
startupRepairRefused: "The desktop app refused to reinstall the plugin. Check whether it can be installed in Settings → Plugins.",
|
|
1458
|
+
startupRepairNotComposed: "The files are installed. The desktop app could not load the plugin. Check its status in Installed.",
|
|
1459
|
+
startupRepairTimeout: "Timed out waiting for the desktop app. When the operation finishes, check Installed.",
|
|
1460
|
+
startupRepairUnknown: "Reinstalling failed. Export the log to see why.",
|
|
1461
|
+
checkoutRecoveryTitle: "Local link needs attention",
|
|
1462
|
+
checkoutSourceRetained: "The source files are still there. The link was not restored.",
|
|
1463
|
+
checkoutSourceUnconfirmed: "The source location could not be confirmed. Check the local directory.",
|
|
1464
|
+
checkoutRecoveryBusy: "The market could not confirm that the plugin operation had finished.",
|
|
1465
|
+
checkoutRecoveryRun: "The market could not confirm that the package manager had finished.",
|
|
1466
|
+
checkoutRecoveryLock: "The lock on the plugin settings is still present.",
|
|
1467
|
+
checkoutRecoveryCheck: "The market could not confirm that it was safe to restore the original link.",
|
|
1468
|
+
checkoutRecoveryRetry: "Reopen DSH after the plugin operation has finished.",
|
|
1366
1469
|
opInstalling: "Installing",
|
|
1367
1470
|
opNeedsYou: "need attention",
|
|
1368
1471
|
opQueued: "Queued",
|
|
@@ -1459,9 +1562,10 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
1459
1562
|
loadMore: "Load more",
|
|
1460
1563
|
pageInfo: "Page {0} of {1}",
|
|
1461
1564
|
perPage: "Per page",
|
|
1462
|
-
marketUpdate: "Update the
|
|
1565
|
+
marketUpdate: "Update the Plugin Crate",
|
|
1463
1566
|
updateAll: "Update all",
|
|
1464
1567
|
updateCheckFailed: "Could not check for updates",
|
|
1568
|
+
sponsorsLabel: "Sponsor",
|
|
1465
1569
|
updateCheckRetry: "Retry update check",
|
|
1466
1570
|
heldReleaseNotice: "Installed, but not the newest: this profile's minimumReleaseAge held {0} back, so {1} was installed.",
|
|
1467
1571
|
versionUnverifiedNote: "Installed, but the version could not be confirmed: both registry lookups failed, so {0} is what pnpm chose. The plugin page shows the version actually on disk.",
|
|
@@ -1505,7 +1609,7 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
1505
1609
|
credsWarning: "Note: backups include profile configuration and files that may hold secrets (config.toml, .env, …). Local exports are unmodified, so upload only to a WebDAV target you trust.",
|
|
1506
1610
|
gist: "GitHub Gist",
|
|
1507
1611
|
gistToken: "GitHub token (session memory only — re-enter after refresh; leave empty to use server-side DSH_GITHUB_TOKEN or a logged-in gh CLI)",
|
|
1508
|
-
gistId: "Gist ID or URL
|
|
1612
|
+
gistId: "Gist ID or URL",
|
|
1509
1613
|
gistVerify: "Verify connection",
|
|
1510
1614
|
gistExport: "Export to Gist…",
|
|
1511
1615
|
gistImport: "Import from Gist",
|
|
@@ -1519,6 +1623,8 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
1519
1623
|
gistSelectAll: "Select all",
|
|
1520
1624
|
gistSelectNone: "Select none",
|
|
1521
1625
|
gistIncludeConfig: "Include config files (may contain secrets)",
|
|
1626
|
+
gistConfigWarning: "This backup includes configuration files that may contain secrets. Anyone with the link can view it.",
|
|
1627
|
+
bundleTag: "Bundle",
|
|
1522
1628
|
gistNoPlugins: "This profile has no plugins to export",
|
|
1523
1629
|
gistSpecLocal: "local",
|
|
1524
1630
|
gistExportGo: "Export",
|
|
@@ -1530,9 +1636,9 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
1530
1636
|
gistErrRateLimit: "GitHub rate limit hit, or the token lacks the gist scope",
|
|
1531
1637
|
gistErrInvalid: "Gist content is invalid or uses an unsupported backup format",
|
|
1532
1638
|
gistModeUpdate: "Update the Gist in the field",
|
|
1533
|
-
gistModeCreate: "Create a
|
|
1639
|
+
gistModeCreate: "Create a secret Gist",
|
|
1534
1640
|
gistErrNoId: "Update mode needs a Gist ID — fill it in, or switch to “Create”",
|
|
1535
|
-
gistNote: "
|
|
1641
|
+
gistNote: "Export to a Gist and import it on another computer with the same account to reuse your plugins. Anyone with the link can view the new Gist. The token lives in this session's memory only and is never written to browser storage; a logged-in gh CLI or DSH_GITHUB_TOKEN skips entering it. The limit is 1 MB per file.",
|
|
1536
1642
|
backupWorking: "In progress…",
|
|
1537
1643
|
backupDone: "Backup uploaded",
|
|
1538
1644
|
restoreDone: "Restore complete — restart DeepSeek Harness",
|
|
@@ -1853,8 +1959,6 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
1853
1959
|
hostRecoveryNote: "A snapshot is taken first, so you can roll this back."
|
|
1854
1960
|
};
|
|
1855
1961
|
const ja = {
|
|
1856
|
-
nav: "プラグインボックス",
|
|
1857
|
-
setCardDesc: "プラグインボックスのバージョンと設定を確認します。",
|
|
1858
1962
|
updateChecksTitle: "更新の確認",
|
|
1859
1963
|
updateChecksAutomatic: "更新を自動で確認",
|
|
1860
1964
|
updateChecksNow: "今すぐ確認",
|
|
@@ -1869,11 +1973,16 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
1869
1973
|
updateChecksNone: "通知する更新はありません",
|
|
1870
1974
|
updateChecksFailed: "確認が完了していません",
|
|
1871
1975
|
updateChecksFailedHint: "一部の情報を取得できないため、前回の結果を保持しています。後でもう一度お試しください。",
|
|
1976
|
+
updateChecksChanged: "プラグイン構成が変更されました",
|
|
1977
|
+
updateChecksChangedHint: "前回の確認後にプラグインが追加または削除されたため、以前の結果は適用できません。再確認すると更新されます。",
|
|
1872
1978
|
updateChecksLastSuccess: "前回の確認完了:{0}",
|
|
1873
1979
|
updateChecksOpenHost: "プラグイン画面で確認",
|
|
1874
1980
|
updateNotificationsAnnouncement: "{count} 件のプラグイン更新があります。プラグインボックスで確認してください。",
|
|
1981
|
+
nav: "プラグインボックス",
|
|
1982
|
+
setCardDesc: "プラグインボックスのバージョンと設定を確認します。",
|
|
1875
1983
|
setSelfUpToDate: "最新バージョンです",
|
|
1876
1984
|
setSelfUpdateReady: "新しいバージョンがあります",
|
|
1985
|
+
setSelfUpdateWaiting: "新バージョン(更新待ち)",
|
|
1877
1986
|
setSelfUpdateHint: "更新すると新しいバージョンをダウンロードし、再起動後に有効になります。",
|
|
1878
1987
|
setSelfUpToDateHint: "",
|
|
1879
1988
|
setSelfHostManagedHint: "このマーケットはデスクトップアプリがインストールしたものです。新しいバージョンへの更新はデスクトップアプリで行ってください。",
|
|
@@ -1891,6 +2000,10 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
1891
2000
|
setEntryLastDoorHint: "入口を最低 1 つ残してください。現在はこれが唯一の入口です。",
|
|
1892
2001
|
setEntryShow: "表示",
|
|
1893
2002
|
setEntryHide: "表示しない",
|
|
2003
|
+
noticeText: "プラグインボックスは「プラグイン」ページに移動しました。設定のこの入口は順次廃止されます。",
|
|
2004
|
+
noticeTextManual: "プラグインボックスは「プラグイン」ページの「プラグインボックス」タブに移動しました。設定のこの入口は順次廃止されます。",
|
|
2005
|
+
noticeGo: "プラグインへ",
|
|
2006
|
+
noticeFailed: "プラグインページを開けませんでした。サイドバーの「プラグイン」から「プラグインボックス」タブを開いてください。",
|
|
1894
2007
|
setIndexSource: "公式 Discover インデックス",
|
|
1895
2008
|
setIndexSourceHint: "dsh 0.2.1 以降では、公式の「プラグイン → 見つける → インデックスソース」に https://dshcrate.com/data/index.json を追加できます。公式の見つけるページと plugin_crate エージェントツールが同じカタログを検索するようになります。",
|
|
1896
2009
|
setSidebarOn: "表示",
|
|
@@ -1938,6 +2051,9 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
1938
2051
|
setSelfRemovedHint: "DeepSeek Harness を再起動すると完全にクリーンアップされます。",
|
|
1939
2052
|
setSelfFailed: "操作に失敗しました",
|
|
1940
2053
|
versionHint: "プラグインボックスのバージョン — 問題を報告するときに添えてください",
|
|
2054
|
+
marketVersionWaiting: "(新バージョン)",
|
|
2055
|
+
marketVersionAvailableAt: "{0} は {1} に更新可能",
|
|
2056
|
+
marketVersionAvailableNow: "{0} は今すぐ更新可能",
|
|
1941
2057
|
subtitle: "DeepSeek Harness のためにコミュニティが開発したプラグインを見つけましょう",
|
|
1942
2058
|
submitPlugin: "プラグインの収録を申請 ↗",
|
|
1943
2059
|
descExpand: "展開",
|
|
@@ -2068,6 +2184,7 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
2068
2184
|
agentDrainHistoryFailedShort: "前回の保留操作は失敗しました。「インストール済み」またはエクスポートしたログを確認してください。",
|
|
2069
2185
|
agentDrainHistoryCancelled: "前回の保留操作はキャンセルされました。",
|
|
2070
2186
|
favoriteFailed: "お気に入りを更新できませんでした。しばらくしてから再試行してください",
|
|
2187
|
+
favoriteLimitReached: "お気に入りには最大 {0} 件まで登録できます。",
|
|
2071
2188
|
favoriteUnavailable: "お気に入り機能は現在使えません。ページを更新するか、dsh web を再起動してください。",
|
|
2072
2189
|
favoriteBusy: "プラグインの操作が終わっていないため、お気に入りは保存されませんでした。しばらくしてから再試行してください",
|
|
2073
2190
|
compatRiskBanner: "互換性のリスクが検出されました。再起動する前に診断ページで対処するか、この操作をロールバックすることをおすすめします。",
|
|
@@ -2092,8 +2209,16 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
2092
2209
|
updateHeldTag: "新しいバージョンは保留中",
|
|
2093
2210
|
updateHeldTarget: "最新版 {0} は公開されたばかりで、あと約 {1} 時間待つ必要があります。まずは {2} に更新してください。",
|
|
2094
2211
|
updateHeldTargetUnknown: "最新版 {0} の公開時刻が不明なため、まだ待つ必要があります。まずは {2} に更新してください。",
|
|
2095
|
-
|
|
2096
|
-
|
|
2212
|
+
updateHeldBeside: "約 {1} h",
|
|
2213
|
+
updateHeldBesideUnknown: "待機中",
|
|
2214
|
+
updateHeldBesideEstimated: "約 {1} min",
|
|
2215
|
+
updateHeldHint: "現在の設定では、新しいバージョンが公開されてから一定期間が経つまでインストールできません。あと約 {1} 時間です。",
|
|
2216
|
+
updateHeldEstimatedHint: "新しいバージョンは出ていますが、ディレクトリ情報がまだ同期されていないため、更新は保留しています。約 {1} 分後に再確認します。",
|
|
2217
|
+
profileBlockedBeside: "待機中",
|
|
2218
|
+
profileBlockedNote: "{0} {1} が安全待機期間を過ぎる(約 {2})まで更新できません。その頃にもう一度更新してください。",
|
|
2219
|
+
profileBlockedNoteUnknown: "{0} {1} が安全待機期間を過ぎるまで更新できません(時刻は不明)。しばらくしてからもう一度確認します。",
|
|
2220
|
+
profileBlockedSkipped: "スキップしました:{0}",
|
|
2221
|
+
restartFirstNote: "今回の更新はここまでです。再起動してから「すべて更新」をもう一度押してください。",
|
|
2097
2222
|
newerPrereleaseAvailable: "プレリリース版 {0} が公開されました",
|
|
2098
2223
|
newerPrereleaseHint: "npm の latest は更新されていません。あなたが追っているプレリリースの系列で、より新しいバージョンが公開されました。",
|
|
2099
2224
|
unreleasedCommits: "新しいコミットがあります(未リリース){0}",
|
|
@@ -2103,9 +2228,16 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
2103
2228
|
hostUpdateHint: "このマーケットはデスクトップアプリがインストールと更新を行います。新しいバージョンへの更新はデスクトップアプリで行ってください",
|
|
2104
2229
|
notesLink: "変更内容",
|
|
2105
2230
|
notesRelease: "リリースノート",
|
|
2231
|
+
notesHistory: "今回の更新",
|
|
2232
|
+
notesHistoryPartial: "一部のリリースノートがありません。",
|
|
2233
|
+
notesHistoryEmpty: "今回の更新のリリースノートを現在確認できません。",
|
|
2234
|
+
notesHistoryReleasePage: "リリースページを見る",
|
|
2235
|
+
notesHistoryRetry: "しばらくしてから再試行してください。",
|
|
2236
|
+
notesHistoryVersionMissing: "このバージョンのリリースノートはありません。",
|
|
2237
|
+
notesHeldRelease: "まだインストールできないバージョン",
|
|
2106
2238
|
notesBeyondTarget: "以下は {0} の説明です。このバージョンはまだ入れられません。今回の更新で入るのは {1} です。",
|
|
2107
2239
|
notesCommits: "コミット履歴",
|
|
2108
|
-
notesCommitsRecent: "
|
|
2240
|
+
notesCommitsRecent: "最近のコミット(今回の更新範囲を確認できないため、参考情報として表示しています)",
|
|
2109
2241
|
notesNpm: "バージョンの公開日時",
|
|
2110
2242
|
notesNone: "このプラグインは更新内容を公開していません。",
|
|
2111
2243
|
notesSource: "このプラグインの更新内容は、マーケットにはまだ収録されていません。",
|
|
@@ -2152,6 +2284,11 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
2152
2284
|
hostIncompatibleBodyInstall: "{plugin} は DSH {requirement} が必要だと宣言していますが、現在動作しているのは {host} です。インストールしてもほぼ確実に使えなくなります。\n何もインストールされていません。\nバージョン番号が正しくないと分かっている場合(バージョンを報告しない同梱の DSH など)は、そのままインストールできます。",
|
|
2153
2285
|
hostIncompatibleCancel: "インストールをキャンセル",
|
|
2154
2286
|
hostIncompatibleInstallAnyway: "それでもインストールする",
|
|
2287
|
+
installedIncompatTitle: "現在の DSH と互換性がありません",
|
|
2288
|
+
installedIncompatWhy: "DSH {0} が必要ですが、実行中は {1} です。",
|
|
2289
|
+
installedIncompatNextUpdate: "まずはプラグインの更新を試してください。だめなら DSH をアップグレードしてください。",
|
|
2290
|
+
installedIncompatNextHost: "このプラグインを使うには DSH のアップグレードが必要です。",
|
|
2291
|
+
installedIncompatNextUnknown: "プラグインの更新か DSH のアップグレード後にもう一度確認してください。",
|
|
2155
2292
|
restoreNameOnlyHint: "あなたのローカルコピーには入手元のリポジトリが記されていないため、マーケットはパッケージ名で厳選カタログと照合することしかできませんでした。下のプラグインは、別の作者による同名のプラグインで、あなたのコピーの入手元ではない可能性があります。確認する前に作者とリポジトリのアドレスを確かめてください。この操作はローカル版をアンインストールしてそのプラグインをインストールし、取り消せません。",
|
|
2156
2293
|
restoreContinue: "更新を続行",
|
|
2157
2294
|
restoreProceed: "復元を確認",
|
|
@@ -2190,6 +2327,25 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
2190
2327
|
conflictOutcomeRemove: "アンインストール",
|
|
2191
2328
|
conflictWhy: "cordis は重複したエントリ id を受け付けません。これを残すと、DeepSeek Harness は次回起動できなくなります。",
|
|
2192
2329
|
opTitle: "タスク",
|
|
2330
|
+
startupRepairBadge: "起動時の復旧",
|
|
2331
|
+
startupRepairTitle: "起動時に確認した中断済みの更新",
|
|
2332
|
+
startupRepairReinstalled: "再インストールしました。",
|
|
2333
|
+
startupRepairVerified: "インストール済みのバージョンが正常なことを確認しました。",
|
|
2334
|
+
startupRepairPending: "次回起動時に再試行できるか確認します。",
|
|
2335
|
+
startupRepairAbandoned: "自動での再試行を終了しました。「設定 → プラグイン」から再インストールしてください。",
|
|
2336
|
+
startupRepairVersion: "更新予定とは異なるため、現在のバージョンはそのままです。次回起動時に再確認します。「インストール済み」で確認してください。",
|
|
2337
|
+
startupRepairRefused: "デスクトップアプリが再インストールを拒否しました。「設定 → プラグイン」でインストールできるか確認してください。",
|
|
2338
|
+
startupRepairNotComposed: "ファイルはインストール済みです。デスクトップアプリでプラグインを読み込めませんでした。「インストール済み」で状態を確認してください。",
|
|
2339
|
+
startupRepairTimeout: "デスクトップアプリの操作完了を待機中にタイムアウトしました。操作が終わってから「インストール済み」で結果を確認してください。",
|
|
2340
|
+
startupRepairUnknown: "再インストールに失敗しました。ログをエクスポートして原因を確認してください。",
|
|
2341
|
+
checkoutRecoveryTitle: "ローカルリンクを復元できませんでした",
|
|
2342
|
+
checkoutSourceRetained: "ソースは残っています。リンクを復元できませんでした。",
|
|
2343
|
+
checkoutSourceUnconfirmed: "ソースの場所を確認できませんでした。ローカルフォルダーを確認してください。",
|
|
2344
|
+
checkoutRecoveryBusy: "プラグイン操作が終了したか確認できませんでした。",
|
|
2345
|
+
checkoutRecoveryRun: "パッケージマネージャーが終了したか確認できませんでした。",
|
|
2346
|
+
checkoutRecoveryLock: "プラグイン設定の書き込みロックが残っています。",
|
|
2347
|
+
checkoutRecoveryCheck: "元のリンクを安全に復元できるか確認できませんでした。",
|
|
2348
|
+
checkoutRecoveryRetry: "プラグイン操作が終了した後、DSH を起動し直してください。",
|
|
2193
2349
|
opInstalling: "インストール中",
|
|
2194
2350
|
opNeedsYou: "件は対応が必要です",
|
|
2195
2351
|
opQueued: "キュー待ち",
|
|
@@ -2288,6 +2444,7 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
2288
2444
|
marketUpdate: "プラグインボックスを更新",
|
|
2289
2445
|
updateAll: "すべて更新",
|
|
2290
2446
|
updateCheckFailed: "更新を確認できませんでした",
|
|
2447
|
+
sponsorsLabel: "スポンサー",
|
|
2291
2448
|
updateCheckRetry: "更新確認を再試行",
|
|
2292
2449
|
heldReleaseNotice: "インストールしましたが、最新版ではありません。この profile の minimumReleaseAge が {0} を保留したため、{1} がインストールされました。",
|
|
2293
2450
|
versionUnverifiedNote: "インストールしましたが、バージョンを確認できませんでした。レジストリの照会が 2 回とも失敗したため、pnpm が選んだ {0} が入っています。実際のバージョンはプラグイン画面で確認できます。",
|
|
@@ -2331,7 +2488,7 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
2331
2488
|
credsWarning: "注意:バックアップには profile の設定と、キーを含む可能性のあるファイル(config.toml、.env など)が含まれます。ローカルにエクスポートしたファイルにはそれらがそのまま入るため、WebDAV にアップロードする前に、送信先が信頼できることを確認してください。",
|
|
2332
2489
|
gist: "GitHub Gist",
|
|
2333
2490
|
gistToken: "GitHub token(このセッションのメモリにのみ保持され、更新後は再入力が必要です。空欄にすると、サーバー側の DSH_GITHUB_TOKEN またはサインイン済みの gh CLI を使います)",
|
|
2334
|
-
gistId: "Gist ID
|
|
2491
|
+
gistId: "Gist ID または URL",
|
|
2335
2492
|
gistVerify: "接続を確認",
|
|
2336
2493
|
gistExport: "Gist にエクスポート…",
|
|
2337
2494
|
gistImport: "Gist からインポート",
|
|
@@ -2345,6 +2502,8 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
2345
2502
|
gistSelectAll: "すべて選択",
|
|
2346
2503
|
gistSelectNone: "すべて解除",
|
|
2347
2504
|
gistIncludeConfig: "設定ファイルを含める(キーを含むことがあります)",
|
|
2505
|
+
gistConfigWarning: "このバックアップには、シークレットが含まれる可能性のある設定ファイルが入っています。リンクを知っている人は閲覧できます。",
|
|
2506
|
+
bundleTag: "バンドル",
|
|
2348
2507
|
gistNoPlugins: "現在の profile にはエクスポートできるプラグインがありません",
|
|
2349
2508
|
gistSpecLocal: "ローカル",
|
|
2350
2509
|
gistExportGo: "エクスポート",
|
|
@@ -2356,9 +2515,9 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
2356
2515
|
gistErrRateLimit: "GitHub のレート制限に達したか、Token に gist スコープがありません",
|
|
2357
2516
|
gistErrInvalid: "Gist の内容が無効か、対応していないバックアップ形式です",
|
|
2358
2517
|
gistModeUpdate: "入力欄の Gist を更新",
|
|
2359
|
-
gistModeCreate: "
|
|
2518
|
+
gistModeCreate: "Secret Gist を作成",
|
|
2360
2519
|
gistErrNoId: "更新モードには Gist ID が必要です。記入するか、「新規作成」に切り替えてください",
|
|
2361
|
-
gistNote: "
|
|
2520
|
+
gistNote: "Gist にエクスポートすると、他のコンピュータでも同じアカウントからインポートしてプラグインを再利用できます。作成した Gist は、リンクを知っている人なら誰でも閲覧できます。Token はこのセッションのメモリにのみ保持され、ブラウザのストレージには書き込まれません。gh CLI にサインイン済みか DSH_GITHUB_TOKEN が設定されていれば、入力は不要です。ファイルの上限は 1 MB です。",
|
|
2362
2521
|
backupWorking: "処理中…",
|
|
2363
2522
|
backupDone: "バックアップをアップロードしました",
|
|
2364
2523
|
restoreDone: "復元が完了しました。DeepSeek Harness を再起動してください",
|
|
@@ -2850,6 +3009,8 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
2850
3009
|
* installable pnpm target. Pure string logic, no I/O.
|
|
2851
3010
|
*/
|
|
2852
3011
|
const REPO_RE = /^[A-Za-z0-9_.-]+\/[A-Za-z0-9_.-]+$/;
|
|
3012
|
+
const MARKET_REPO = "dsh-crate/dsh-crate";
|
|
3013
|
+
const MARKET_NPM_NAME = "dsh-crate";
|
|
2853
3014
|
function validSubpath(subpath) {
|
|
2854
3015
|
if (!/^[A-Za-z0-9_./-]+$/.test(subpath)) return false;
|
|
2855
3016
|
return !subpath.split("/").some((seg) => seg === "" || seg === "." || seg === "..");
|
|
@@ -2857,6 +3018,38 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
2857
3018
|
/** Registry tarball names must be plain npm package names, nothing fancier. */
|
|
2858
3019
|
const NPM_NAME_RE = /^(@[a-z0-9-~][a-z0-9-._~]*\/)?[a-z0-9-~][a-z0-9-._~]*$/;
|
|
2859
3020
|
/**
|
|
3021
|
+
* A curated, prebuilt GitHub Release archive accepted as a pnpm target —
|
|
3022
|
+
* but only one belonging to `repo`, the entry's own `owner/name`.
|
|
3023
|
+
*
|
|
3024
|
+
* The binding is the whole point. `npm` gets the same treatment one branch
|
|
3025
|
+
* up (repo-verified, "name-squatting protection"); without it here, an entry
|
|
3026
|
+
* could name a trusted repo and install an archive from somewhere else:
|
|
3027
|
+
*
|
|
3028
|
+
* url: https://github.com/good/plugin
|
|
3029
|
+
* tarball: https://github.com/evil/repo/releases/download/v1/p.tgz
|
|
3030
|
+
*
|
|
3031
|
+
* That is also why the release CDNs (`objects.githubusercontent.com`,
|
|
3032
|
+
* `release-assets.githubusercontent.com`) are not accepted: their paths
|
|
3033
|
+
* carry no owner or repo, so there is nothing to bind the archive to and no
|
|
3034
|
+
* way to tell whose release it is. All 70 entries carrying `tarball` today
|
|
3035
|
+
* use github.com and match their own repo, so nothing real is turned away.
|
|
3036
|
+
*/
|
|
3037
|
+
function releaseTarballTarget(value, repo) {
|
|
3038
|
+
if (typeof value !== "string") return null;
|
|
3039
|
+
const target = value.trim();
|
|
3040
|
+
let url;
|
|
3041
|
+
try {
|
|
3042
|
+
url = new URL(target);
|
|
3043
|
+
} catch {
|
|
3044
|
+
return null;
|
|
3045
|
+
}
|
|
3046
|
+
if (url.protocol !== "https:" || url.hostname !== "github.com") return null;
|
|
3047
|
+
if (!url.pathname.endsWith(".tgz") && !url.pathname.endsWith(".tar.gz")) return null;
|
|
3048
|
+
const segments = url.pathname.split("/").filter((segment) => segment !== "");
|
|
3049
|
+
if (segments.length < 4 || segments[2] !== "releases") return null;
|
|
3050
|
+
return `${segments[0]}/${segments[1]}`.toLowerCase() === repo.toLowerCase() ? target : null;
|
|
3051
|
+
}
|
|
3052
|
+
/**
|
|
2860
3053
|
* Parse a registry source url: a github repo, optionally with a
|
|
2861
3054
|
* `/tree/<branch>/<subpath>` suffix (how the curated list links monorepo
|
|
2862
3055
|
* subpackages, e.g. dsh-plugins#theme-gallery).
|
|
@@ -2873,6 +3066,51 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
2873
3066
|
subpath
|
|
2874
3067
|
};
|
|
2875
3068
|
}
|
|
3069
|
+
/**
|
|
3070
|
+
* The pnpm install target for a registry entry. Repo-verified npm packages
|
|
3071
|
+
* win, followed by author-supplied prebuilt GitHub Release tarballs; both avoid
|
|
3072
|
+
* full-repo downloads and local build scripts.
|
|
3073
|
+
* @returns the target spec, or null when the source url is unsupported.
|
|
3074
|
+
*/
|
|
3075
|
+
function installTargetFor(entry) {
|
|
3076
|
+
const source = parseSourceUrl(entry.url);
|
|
3077
|
+
if (source === null) return null;
|
|
3078
|
+
if (source.subpath === null && source.repo.toLowerCase() === MARKET_REPO) return MARKET_NPM_NAME;
|
|
3079
|
+
if (typeof entry.npm === "string" && NPM_NAME_RE.test(entry.npm)) return entry.npm;
|
|
3080
|
+
const tarball = releaseTarballTarget(entry.tarball, source.repo);
|
|
3081
|
+
if (tarball !== null) return tarball;
|
|
3082
|
+
return githubSourceTarget(source);
|
|
3083
|
+
}
|
|
3084
|
+
/** Only the catalog's own floating asset opts an existing archive into updates. */
|
|
3085
|
+
function catalogReleaseSourceOf(spec, entry) {
|
|
3086
|
+
if (entry.npm !== null && entry.npm !== void 0) return null;
|
|
3087
|
+
const source = parseSourceUrl(entry.url);
|
|
3088
|
+
if (source === null || typeof entry.tarball !== "string" || installTargetFor(entry) !== entry.tarball) return null;
|
|
3089
|
+
try {
|
|
3090
|
+
const approved = new URL(entry.tarball);
|
|
3091
|
+
const installed = new URL(spec);
|
|
3092
|
+
const asset = /^\/[^/]+\/[^/]+\/releases\/latest\/download\/([A-Za-z0-9._-]+\.(?:tgz|tar\.gz))$/.exec(approved.pathname)?.[1];
|
|
3093
|
+
if (asset === void 0) return null;
|
|
3094
|
+
for (const url of [approved, installed]) if (url.protocol !== "https:" || url.host !== "github.com" || url.username !== "" || url.password !== "" || url.search !== "" || url.hash !== "") return null;
|
|
3095
|
+
const match = /^\/([^/]+\/[^/]+)\/releases\/(?:latest\/download|download\/([^/]+))\/([^/]+)$/.exec(installed.pathname);
|
|
3096
|
+
if (match === null || match[1].toLowerCase() !== source.repo.toLowerCase()) return null;
|
|
3097
|
+
const [, , tag, installedAsset] = match;
|
|
3098
|
+
if (installedAsset !== asset) {
|
|
3099
|
+
const version = /^v?(\d+\.\d+\.\d+)$/.exec(tag ?? "")?.[1];
|
|
3100
|
+
if (version === void 0 || installedAsset !== asset.replace(/\.(?:tgz|tar\.gz)$/, (extension) => `-${version}${extension}`)) return null;
|
|
3101
|
+
}
|
|
3102
|
+
return {
|
|
3103
|
+
repo: source.repo,
|
|
3104
|
+
asset,
|
|
3105
|
+
manifest: source.subpath === null ? "package.json" : `${source.subpath}/package.json`
|
|
3106
|
+
};
|
|
3107
|
+
} catch {
|
|
3108
|
+
return null;
|
|
3109
|
+
}
|
|
3110
|
+
}
|
|
3111
|
+
function githubSourceTarget(source) {
|
|
3112
|
+
return source.subpath !== null ? `github:${source.repo}#path:/${source.subpath}` : `github:${source.repo}`;
|
|
3113
|
+
}
|
|
2876
3114
|
//#endregion
|
|
2877
3115
|
//#region src/client/market-data.ts
|
|
2878
3116
|
/** One registry entry from /dsh-crate/registry. */
|
|
@@ -2936,7 +3174,7 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
2936
3174
|
return world.plugins.some((plugin) => plugin.url === row.url) ? null : "gone";
|
|
2937
3175
|
}
|
|
2938
3176
|
if (world.installed[row.name] === void 0) return "gone";
|
|
2939
|
-
if (row.kind === "update" && world.updates[row.name]?.updateAvailable !== true) {
|
|
3177
|
+
if (row.kind === "update" && world.updates[row.name]?.updateAvailable !== true && world.updates[row.name]?.profileBlocked === void 0) {
|
|
2940
3178
|
if (row.restore === true && world.updates[row.name]?.kind === "linked" && findCatalogEntryForLocal(world.plugins, row.name) !== null) return null;
|
|
2941
3179
|
return "no-update";
|
|
2942
3180
|
}
|
|
@@ -3016,6 +3254,34 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
3016
3254
|
else anyOn = true;
|
|
3017
3255
|
return anyOn && anyOff ? "mixed" : anyOff ? "off" : "on";
|
|
3018
3256
|
}
|
|
3257
|
+
/** Match the languages for which the market registers its own dictionary. */
|
|
3258
|
+
function marketUiLocale(active) {
|
|
3259
|
+
const language = active.toLowerCase().split(/[-_]/)[0];
|
|
3260
|
+
return language === "zh" ? "zh-CN" : language === "ja" ? "ja" : "en";
|
|
3261
|
+
}
|
|
3262
|
+
/** Release versions get a prefix and commit targets get a short SHA. */
|
|
3263
|
+
function displayLatest(latest) {
|
|
3264
|
+
if (/^\d/.test(latest)) return "v" + latest;
|
|
3265
|
+
if (/^[0-9a-f]{12,40}$/i.test(latest)) return latest.slice(0, 7);
|
|
3266
|
+
return latest;
|
|
3267
|
+
}
|
|
3268
|
+
/** A time is shown only when a future eligibility deadline is known. */
|
|
3269
|
+
function marketHeldVersionText(held, locale, t) {
|
|
3270
|
+
const version = displayLatest(held.latest);
|
|
3271
|
+
const until = new Date(typeof held.until === "string" ? held.until : NaN);
|
|
3272
|
+
const now = /* @__PURE__ */ new Date();
|
|
3273
|
+
if (held.estimated === true || !(until.getTime() > now.getTime())) return version;
|
|
3274
|
+
const time = new Intl.DateTimeFormat(marketUiLocale(locale), {
|
|
3275
|
+
...until.toDateString() === now.toDateString() ? {} : {
|
|
3276
|
+
month: "short",
|
|
3277
|
+
day: "numeric"
|
|
3278
|
+
},
|
|
3279
|
+
hour: "2-digit",
|
|
3280
|
+
minute: "2-digit",
|
|
3281
|
+
hourCycle: "h23"
|
|
3282
|
+
}).format(until);
|
|
3283
|
+
return t("marketVersionAvailableAt").replace("{0}", version).replace("{1}", time);
|
|
3284
|
+
}
|
|
3019
3285
|
function avatarColor(name) {
|
|
3020
3286
|
let hash = 0;
|
|
3021
3287
|
for (let i = 0; i < name.length; i++) hash = hash * 31 + name.charCodeAt(i) | 0;
|
|
@@ -3023,7 +3289,7 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
3023
3289
|
}
|
|
3024
3290
|
function readSession(key) {
|
|
3025
3291
|
try {
|
|
3026
|
-
return JSON.parse(
|
|
3292
|
+
return JSON.parse(sessionStorage.getItem(key) || "null");
|
|
3027
3293
|
} catch {
|
|
3028
3294
|
return null;
|
|
3029
3295
|
}
|
|
@@ -3980,8 +4246,8 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
3980
4246
|
* The repository name IS the plugin name in the ordinary case, because a
|
|
3981
4247
|
* repository holding one plugin is named after it. Only the compound form
|
|
3982
4248
|
* needs unpicking. Prefer its mapped npm package when available: a generic
|
|
3983
|
-
* directory such as `plugin` is not the product name.
|
|
3984
|
-
*
|
|
4249
|
+
* directory such as `plugin` is not the product name. For a source-only entry,
|
|
4250
|
+
* use the repository name when its directory leaf is empty or generic.
|
|
3985
4251
|
*
|
|
3986
4252
|
* Not a substitute for the identity: every key, lookup and install still
|
|
3987
4253
|
* uses `name` unchanged.
|
|
@@ -3992,7 +4258,7 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
3992
4258
|
if (typeof npm === "string" && npm.trim() !== "") return npm.trim();
|
|
3993
4259
|
const sub = name.slice(hash + 1);
|
|
3994
4260
|
const leaf = sub.slice(sub.lastIndexOf("/") + 1);
|
|
3995
|
-
return leaf === "" ? name.slice(0, hash) : leaf;
|
|
4261
|
+
return leaf === "" || /^(?:dsh|plugin)$/i.test(leaf) ? name.slice(0, hash) : leaf;
|
|
3996
4262
|
}
|
|
3997
4263
|
/**
|
|
3998
4264
|
* The catalog package name used for the local block list (#657).
|
|
@@ -4033,6 +4299,10 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
4033
4299
|
/** Catalog row for an installed dependency — strict for local link:/file: specs. */
|
|
4034
4300
|
function catalogEntryForInstalled(plugins, name, spec, repoIdentities = [], repoHints = []) {
|
|
4035
4301
|
if (/^(?:link|file):/i.test(spec)) return findCatalogEntryForLocal(plugins, name, repoIdentities, repoHints) ?? void 0;
|
|
4302
|
+
if (spec.startsWith("https://github.com/") && spec.includes("/releases/")) {
|
|
4303
|
+
const matches = plugins.filter((plugin) => catalogReleaseSourceOf(spec, plugin) !== null && !sameSourceConflict(plugin, spec, repoIdentities));
|
|
4304
|
+
if (matches.length === 1) return matches[0];
|
|
4305
|
+
}
|
|
4036
4306
|
return entryForDep(plugins, name, spec, repoIdentities, repoHints);
|
|
4037
4307
|
}
|
|
4038
4308
|
/** The date a row shows, in the reader's own timezone; null when unknown. */
|
|
@@ -4072,6 +4342,42 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
4072
4342
|
if (left === right) return a.name.localeCompare(b.name);
|
|
4073
4343
|
return sort === "newest" ? right - left : left - right;
|
|
4074
4344
|
}
|
|
4345
|
+
/** Masonry column count for a given content width. `maxColumns` caps Discover(3) vs Installed(2). */
|
|
4346
|
+
function masonryColumnCount(width, maxColumns, minColWidth = 290, minColumns = 1) {
|
|
4347
|
+
if (!Number.isFinite(width) || width <= 0) return minColumns;
|
|
4348
|
+
const fitted = Math.floor((width + 10) / minColWidth);
|
|
4349
|
+
return Math.min(maxColumns, Math.max(minColumns, fitted));
|
|
4350
|
+
}
|
|
4351
|
+
/**
|
|
4352
|
+
* The one plain sentence for "another release in this profile is still inside
|
|
4353
|
+
* the safety wait" (#1252): what to wait for, and until when. Says the time is
|
|
4354
|
+
* unknown when it is, instead of inventing one.
|
|
4355
|
+
* @param blocked - the blocker the server named.
|
|
4356
|
+
* @param t - the locale lookup; `{0}` package, `{1}` version, `{2}` time.
|
|
4357
|
+
* @param now - injectable for tests.
|
|
4358
|
+
*/
|
|
4359
|
+
function profileBlockedText(blocked, t, now = /* @__PURE__ */ new Date()) {
|
|
4360
|
+
const ready = blocked.readyAt === null ? NaN : Date.parse(blocked.readyAt);
|
|
4361
|
+
if (!Number.isFinite(ready)) return t("profileBlockedNoteUnknown").replace("{0}", blocked.name).replace("{1}", blocked.version);
|
|
4362
|
+
const at = new Date(ready);
|
|
4363
|
+
const time = new Intl.DateTimeFormat(void 0, {
|
|
4364
|
+
...at.toDateString() === now.toDateString() ? {} : {
|
|
4365
|
+
month: "2-digit",
|
|
4366
|
+
day: "2-digit"
|
|
4367
|
+
},
|
|
4368
|
+
hour: "2-digit",
|
|
4369
|
+
minute: "2-digit",
|
|
4370
|
+
hourCycle: "h23"
|
|
4371
|
+
}).format(at);
|
|
4372
|
+
return t("profileBlockedNote").replace("{0}", blocked.name).replace("{1}", blocked.version).replace("{2}", time);
|
|
4373
|
+
}
|
|
4374
|
+
/** Whether a blocker still holds at `now`; an unknown end is believed until the server says otherwise. */
|
|
4375
|
+
function profileBlockStillHolds(blocked, now = Date.now()) {
|
|
4376
|
+
if (blocked === null || blocked === void 0) return false;
|
|
4377
|
+
if (blocked.readyAt === null) return true;
|
|
4378
|
+
const ready = Date.parse(blocked.readyAt);
|
|
4379
|
+
return !Number.isFinite(ready) || ready > now;
|
|
4380
|
+
}
|
|
4075
4381
|
//#endregion
|
|
4076
4382
|
//#region src/client/InstallToast.tsx
|
|
4077
4383
|
/**
|
|
@@ -4099,142 +4405,8 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
4099
4405
|
});
|
|
4100
4406
|
}
|
|
4101
4407
|
//#endregion
|
|
4102
|
-
//#region src/client/ErrorBoundary.tsx
|
|
4103
|
-
/**
|
|
4104
|
-
* The market's last line of defence: a crash renders a way out, not a blank.
|
|
4105
|
-
*
|
|
4106
|
-
* Every part of the market UI is inside one React tree. When that tree
|
|
4107
|
-
* throws during render or commit, React unmounts it — and what the user gets
|
|
4108
|
-
* is an empty settings panel, with the "export log" button gone along with
|
|
4109
|
-
* everything else. That is not hypothetical: it is #293, where browser page
|
|
4110
|
-
* translation replaced text nodes under React and the resulting
|
|
4111
|
-
* NotFoundError blanked the panel for months, and every request for a log
|
|
4112
|
-
* came back empty because there was no longer a button to press.
|
|
4113
|
-
*
|
|
4114
|
-
* #513 fixed that particular trigger. This exists because the next one will
|
|
4115
|
-
* be different, and the property worth having is not "translation is
|
|
4116
|
-
* handled" but "a crash is survivable and reportable".
|
|
4117
|
-
*
|
|
4118
|
-
* Deliberately not a retry loop. If the same render throws again the
|
|
4119
|
-
* boundary catches it again and the user is back here, which is honest —
|
|
4120
|
-
* an automatic remount would flicker between a broken UI and this panel
|
|
4121
|
-
* with no way to read either.
|
|
4122
|
-
*/
|
|
4123
|
-
/**
|
|
4124
|
-
* The last crash this boundary caught, for the exported log.
|
|
4125
|
-
*
|
|
4126
|
-
* Module-level rather than component state because the log export runs
|
|
4127
|
-
* outside this tree — and a crash the user has already dismissed is still
|
|
4128
|
-
* the most useful line in their report.
|
|
4129
|
-
*/
|
|
4130
|
-
let lastCrash = null;
|
|
4131
|
-
/** The crash to report in the exported log, or null when there was none. */
|
|
4132
|
-
function lastMarketCrash() {
|
|
4133
|
-
return lastCrash;
|
|
4134
|
-
}
|
|
4135
|
-
var MarketErrorBoundary = class extends react.Component {
|
|
4136
|
-
state = { error: null };
|
|
4137
|
-
static getDerivedStateFromError(error) {
|
|
4138
|
-
return { error };
|
|
4139
|
-
}
|
|
4140
|
-
componentDidCatch(error, info) {
|
|
4141
|
-
lastCrash = {
|
|
4142
|
-
message: error.message,
|
|
4143
|
-
stack: info.componentStack ?? error.stack ?? null,
|
|
4144
|
-
at: (/* @__PURE__ */ new Date()).toISOString()
|
|
4145
|
-
};
|
|
4146
|
-
console.error("[dsh-crate] the market UI crashed and was replaced by its recovery panel", error, info.componentStack);
|
|
4147
|
-
}
|
|
4148
|
-
render() {
|
|
4149
|
-
const { error } = this.state;
|
|
4150
|
-
if (error === null) return this.props.children;
|
|
4151
|
-
const { text, actions } = this.props;
|
|
4152
|
-
return (0, react.createElement)("div", {
|
|
4153
|
-
"data-dsh-crate-root": "",
|
|
4154
|
-
"data-dsh-crate-crashed": "",
|
|
4155
|
-
translate: "no",
|
|
4156
|
-
className: "notranslate",
|
|
4157
|
-
style: {
|
|
4158
|
-
padding: "24px",
|
|
4159
|
-
display: "flex",
|
|
4160
|
-
flexDirection: "column",
|
|
4161
|
-
gap: "12px",
|
|
4162
|
-
alignItems: "flex-start"
|
|
4163
|
-
}
|
|
4164
|
-
}, [
|
|
4165
|
-
(0, react.createElement)("div", {
|
|
4166
|
-
key: "title",
|
|
4167
|
-
style: {
|
|
4168
|
-
fontSize: "14px",
|
|
4169
|
-
fontWeight: 600
|
|
4170
|
-
}
|
|
4171
|
-
}, text.title),
|
|
4172
|
-
(0, react.createElement)("div", {
|
|
4173
|
-
key: "hint",
|
|
4174
|
-
style: {
|
|
4175
|
-
fontSize: "12px",
|
|
4176
|
-
lineHeight: "19px",
|
|
4177
|
-
opacity: .8,
|
|
4178
|
-
whiteSpace: "pre-wrap"
|
|
4179
|
-
}
|
|
4180
|
-
}, text.hint),
|
|
4181
|
-
(0, react.createElement)("div", {
|
|
4182
|
-
key: "actions",
|
|
4183
|
-
style: {
|
|
4184
|
-
display: "flex",
|
|
4185
|
-
gap: "8px",
|
|
4186
|
-
flexWrap: "wrap"
|
|
4187
|
-
}
|
|
4188
|
-
}, [(0, react.createElement)("button", {
|
|
4189
|
-
key: "reload",
|
|
4190
|
-
type: "button",
|
|
4191
|
-
onClick: () => {
|
|
4192
|
-
this.setState({ error: null });
|
|
4193
|
-
}
|
|
4194
|
-
}, text.reload), actions]),
|
|
4195
|
-
(0, react.createElement)("details", {
|
|
4196
|
-
key: "details",
|
|
4197
|
-
style: {
|
|
4198
|
-
fontSize: "11px",
|
|
4199
|
-
opacity: .7
|
|
4200
|
-
}
|
|
4201
|
-
}, [(0, react.createElement)("summary", {
|
|
4202
|
-
key: "summary",
|
|
4203
|
-
style: { cursor: "pointer" }
|
|
4204
|
-
}, text.details), (0, react.createElement)("pre", {
|
|
4205
|
-
key: "body",
|
|
4206
|
-
style: {
|
|
4207
|
-
whiteSpace: "pre-wrap",
|
|
4208
|
-
wordBreak: "break-word",
|
|
4209
|
-
margin: "8px 0 0"
|
|
4210
|
-
}
|
|
4211
|
-
}, error.message)])
|
|
4212
|
-
]);
|
|
4213
|
-
}
|
|
4214
|
-
};
|
|
4215
|
-
//#endregion
|
|
4216
|
-
//#region src/client/optional-primitives.ts
|
|
4217
|
-
function optionalComponent(name) {
|
|
4218
|
-
let value;
|
|
4219
|
-
try {
|
|
4220
|
-
value = _deepseek_ai_dsh_client_ui_primitives[name];
|
|
4221
|
-
} catch {
|
|
4222
|
-
return null;
|
|
4223
|
-
}
|
|
4224
|
-
if (typeof value === "function") return value;
|
|
4225
|
-
if (value !== null && typeof value === "object" && "$$typeof" in value) return value;
|
|
4226
|
-
return null;
|
|
4227
|
-
}
|
|
4228
|
-
/**
|
|
4229
|
-
* `Tag` — the host's read-only chip, for facts with no status meaning
|
|
4230
|
-
* (capabilities, categories). Null on hosts older than 0.1.7-rc.2.
|
|
4231
|
-
*/
|
|
4232
|
-
const HostTag = optionalComponent("Tag");
|
|
4233
|
-
const HostSwitch = optionalComponent("Switch");
|
|
4234
|
-
const HostCheckbox = optionalComponent("Checkbox");
|
|
4235
|
-
//#endregion
|
|
4236
4408
|
//#region \0dsh-css:src/client/Market.module.css.mjs
|
|
4237
|
-
const css = ".nUhMVa_root{min-width:0;height:100%;color:var(--dsw-alias-label-primary,#1f2328);flex-direction:column;display:flex;position:relative;container-type:inline-size}.nUhMVa_head{flex-direction:column;gap:8px;padding:0 4px 4px;display:flex}.nUhMVa_headTop{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:6px 16px;min-width:0;display:flex}.nUhMVa_headTop>.nUhMVa_titleRow>.nUhMVa_sub{max-width:100%}.nUhMVa_title{white-space:nowrap;color:var(--dsw-alias-label-primary,#1f2328);margin:0;font-size:15px;font-weight:600;line-height:22px}.nUhMVa_sub{min-width:0;color:var(--dsw-alias-label-tertiary,#8b93a1);flex:auto;margin:0;font-size:12px;line-height:18px}.nUhMVa_sidebarTip{color:var(--dsw-alias-label-secondary,#5c6570);flex-wrap:wrap;align-items:center;gap:6px 8px;margin:0;font-size:12px;line-height:18px;display:flex}.nUhMVa_updateCheckNotice{color:var(--dsw-alias-label-secondary,#5c6570);flex-wrap:wrap;align-items:center;gap:0 6px;font-size:12px;line-height:18px;display:flex}.nUhMVa_submitLink{color:var(--dsw-alias-label-tertiary,#8b93a1);white-space:nowrap;font-size:12px;line-height:18px;text-decoration:none}.nUhMVa_submitLink:hover{color:var(--dsw-alias-brand-primary,#4f6ef7);text-decoration:underline}.nUhMVa_tabs{flex-wrap:wrap;align-items:center;gap:4px;padding:0 0 2px;display:flex;position:relative}.nUhMVa_tab{height:32px;font:inherit;color:var(--dsw-alias-label-secondary,#5c6570);border-radius:var(--dsw-radius-sm,#8px);cursor:pointer;white-space:nowrap;background:0 0;border:none;align-items:center;padding:0 10px;font-size:13px;line-height:20px;transition:background-color .12s,color .12s;display:inline-flex;position:relative}.nUhMVa_tab:hover:not(.nUhMVa_on){background:var(--dsw-alias-interactive-bg-hover,#2631480f);color:var(--dsw-alias-label-primary,#1f2328)}.nUhMVa_tab.nUhMVa_on{color:var(--dsw-alias-label-primary,#1f2328);font-weight:600}.nUhMVa_tab.nUhMVa_on:after{content:\"\";background:var(--dsw-alias-label-primary,#1f2328);border-radius:1px;height:2px;position:absolute;bottom:3px;left:10px;right:10px}.nUhMVa_subTabs{flex-wrap:wrap;align-items:center;gap:4px;margin:0 0 2px;display:flex}.nUhMVa_banner{background:var(--dsw-alias-bg-layer-2,#fdf3e3);border:1px solid var(--dsw-alias-border-l2,#f3e3c3);border-radius:8px;align-items:center;gap:8px;margin:0;padding:8px 12px;font-size:12px;display:flex}.nUhMVa_bannerIcon{color:var(--dsw-alias-label-secondary,#6b7280);flex-shrink:0}.nUhMVa_bannerHint{color:var(--dsw-alias-label-tertiary,#8b93a1);cursor:help;display:inline-flex}.nUhMVa_body{overflow-anchor:none;flex:1;padding:8px 4px 64px;scroll-padding-bottom:64px;overflow-x:hidden;overflow-y:auto}.nUhMVa_stickyHead{z-index:5;background:var(--dsw-alias-bg-base,#fff);position:sticky;top:-1px}.nUhMVa_stickyHead:before{content:\"\";background:inherit;pointer-events:none;height:14px;position:absolute;bottom:100%;left:0;right:0}.nUhMVa_cats{margin:0 -4px 2px;padding:0 4px 4px}.nUhMVa_catsRow{align-items:flex-start;gap:6px;display:flex;position:relative}.nUhMVa_star{color:var(--dsw-alias-label-tertiary,#8b93a1);white-space:nowrap;flex:none;font-size:11px;line-height:18px}.nUhMVa_top{z-index:20;background:var(--dsw-alias-bg-layer-1,#fff);box-shadow:var(--dsw-shadow-lv1,0 4px 12px #1f232814);border-radius:99px;display:inline-flex;position:absolute;bottom:18px;right:18px}.nUhMVa_topBtn{border-radius:99px;width:38px;height:38px;padding:0}.nUhMVa_tag{border:.5px solid var(--dsw-alias-border-l3,#d9dde3);color:var(--dsw-alias-label-secondary,#5c6570);white-space:nowrap;border-radius:999px;flex-shrink:0;padding:1px 8px;font-size:11px;font-weight:500;line-height:17px}.nUhMVa_hostRequirement{border:.5px solid var(--dsw-alias-border-l3,#d9dde3);color:var(--dsw-alias-label-secondary,#5c6570);text-overflow:ellipsis;white-space:nowrap;border-radius:999px;min-width:0;max-width:18em;padding:1px 8px;font-size:11px;font-weight:500;line-height:17px;overflow:hidden}.nUhMVa_hostRequirementBad{border-color:var(--dsw-alias-state-error-primary,#dc2626);color:var(--dsw-alias-state-error-primary,#dc2626);background:#dc262614}.nUhMVa_hostFilterNote{color:var(--dsw-alias-label-tertiary,#8b93a1);margin-top:6px;font-size:12px;line-height:18px}.nUhMVa_okState{color:var(--dsw-alias-state-success-primary,#16a34a);white-space:nowrap;font-size:12px;font-weight:600}.nUhMVa_catsWrap{flex-wrap:wrap;flex:1;align-items:center;gap:6px;min-width:0;display:flex}.nUhMVa_catsCollapsed{max-height:62px;overflow:hidden}.nUhMVa_catsToggle.nUhMVa_catsToggle{height:26px;min-height:26px;color:var(--dsw-alias-label-secondary,#5c6570);flex:none;padding:0 6px}.nUhMVa_shots{-webkit-overflow-scrolling:touch;scrollbar-width:thin;gap:8px;margin:6px 0 8px;padding:2px 0 6px;display:flex;overflow-x:auto}.nUhMVa_shot{object-fit:cover;border-radius:var(--dsw-radius-lg,16px);border:.5px solid var(--dsw-alias-border-l3,#d9dde3);background:var(--dsw-alias-bg-layer-2,#f3f4f6);cursor:pointer;flex:none;width:220px;height:150px}.nUhMVa_cardShots{-webkit-overflow-scrolling:touch;scrollbar-width:thin;gap:6px;margin:0 0 6px;padding:0 0 2px;display:flex;overflow-x:auto}.nUhMVa_cardShot{object-fit:contain;border-radius:var(--dsw-radius-lg,16px);border:.5px solid var(--dsw-alias-border-l3,#d9dde3);background:var(--dsw-alias-bg-layer-2,#f3f4f6);cursor:pointer;flex:none;width:132px;height:88px;display:block}.nUhMVa_lightbox{z-index:10000;cursor:zoom-out;background:#000000d9;justify-content:center;align-items:center;display:flex;position:fixed;top:0;bottom:0;left:0;right:0}.nUhMVa_lightboxImg{object-fit:contain;cursor:default;border-radius:4px;max-width:90vw;max-height:85vh}.nUhMVa_lightboxClose{color:#fff;cursor:pointer;background:#ffffff1f;border:none;border-radius:99px;place-items:center;width:36px;height:36px;font-size:22px;line-height:1;display:grid;position:absolute;top:16px;right:16px}.nUhMVa_lightboxClose:hover{background:#ffffff38}.nUhMVa_lightboxNav{color:#fff;cursor:pointer;background:#ffffff1f;border:none;border-radius:99px;place-items:center;width:44px;height:44px;display:grid;position:absolute;top:50%;transform:translateY(-50%)}.nUhMVa_lightboxNav:hover{background:#ffffff38}.nUhMVa_lightboxPrev{left:16px}.nUhMVa_lightboxNext{right:16px}.nUhMVa_lightboxDots{gap:8px;display:flex;position:absolute;bottom:20px;left:50%;transform:translate(-50%)}.nUhMVa_lightboxDot{cursor:pointer;background:#fff6;border-radius:99px;width:7px;height:7px}.nUhMVa_lightboxDotOn{background:#fff}.nUhMVa_cmd{background:var(--dsw-alias-bg-layer-2,#f3f4f6);font-size:11px;line-height:18px;font-family:var(--ds-font-family-code,ui-monospace,Menlo,Consolas,monospace);word-break:break-all;border-radius:6px;margin:8px 0 0;padding:8px 10px}.nUhMVa_warnLine{color:var(--dsw-alias-state-warn-primary,#b45309);flex-wrap:wrap;align-items:center;gap:4px;margin:0;font-size:12px;font-weight:600;line-height:18px;display:flex}.nUhMVa_modalNote{color:var(--dsw-alias-label-tertiary,#8b93a1);align-items:center;gap:4px;margin:12px 0 0;font-size:12px;line-height:18px;display:flex}.nUhMVa_confirmBody{flex-direction:column;gap:12px;display:flex}.nUhMVa_confirmModal{width:min(560px,92vw);max-width:min(560px,92vw);max-height:100%}.nUhMVa_confirmContent{flex:auto;min-height:0;overflow:hidden}.nUhMVa_confirmContent>:first-child{flex-shrink:0}.nUhMVa_confirmContent>:last-child{overscroll-behavior:contain;flex:auto;min-height:0;margin-top:0;overflow-y:auto}.nUhMVa_confirmModal>:last-child{flex-shrink:0}.nUhMVa_confirmBody .nUhMVa_byline{flex-wrap:nowrap;margin-top:0}.nUhMVa_confirmBody .nUhMVa_owner{min-width:0}.nUhMVa_confirmBody .nUhMVa_shots{margin:0;padding:0}.nUhMVa_confirmBody .nUhMVa_modalNote{margin:0}.nUhMVa_confirmTags{flex-wrap:wrap;gap:6px;display:flex}.nUhMVa_confirmDesc{color:var(--dsw-alias-label-primary,#1f2328);white-space:pre-wrap;margin:0;font-size:13px;line-height:20px}.nUhMVa_confirmFold{border-top:1px solid var(--dsw-alias-border-l2,#e5e7eb);flex-direction:column;gap:8px;padding-top:12px;display:flex}.nUhMVa_confirmPanel{--fold-bg:#f7f8fa;--fold-border:#e7e8ea;--fold-ink:#1c1d1f;--fold-on-ink:#fff;background:var(--fold-bg);border:1px solid var(--fold-border);border-radius:8px}body[data-ds-dark-theme] .nUhMVa_confirmPanel{--fold-bg:var(--dsw-alias-bg-layer-3,#353638);--fold-border:var(--dsw-alias-border-l2,#ffffff1f);--fold-ink:var(--dsw-alias-label-primary,#f9fafb);--fold-on-ink:var(--dsw-alias-bg-layer-2,#2c2c2e)}.nUhMVa_confirmPanelRow{box-sizing:border-box;width:100%;min-height:40px;color:inherit;font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;border-radius:8px;align-items:center;gap:8px;padding:0 12px;display:flex}.nUhMVa_confirmPanelRow:focus-visible{outline:2px solid var(--dsw-alias-state-business-primary,#4176e6);outline-offset:-2px}.nUhMVa_confirmPanelIcon{color:var(--fold-ink);flex:none;display:inline-flex}.nUhMVa_confirmTerminalIcon{color:var(--fold-ink);flex:none;display:block}.nUhMVa_confirmTerminalPrompt{stroke:var(--fold-on-ink);fill:none}.nUhMVa_confirmTerminalDot{fill:var(--fold-on-ink)}.nUhMVa_confirmPanelTitle{min-width:0;color:var(--fold-ink);flex:1 0 auto;font-size:13px;line-height:20px}.nUhMVa_confirmPanelRowStatic{cursor:default}.nUhMVa_confirmPanel[data-state=unchecked]{background:color-mix(in srgb, var(--fold-bg) 35%, transparent);border-style:dashed}.nUhMVa_confirmPanelMeta{min-width:0;color:var(--dsw-alias-label-secondary,#6b7280);text-align:right;flex:0 auto;font-size:12px;line-height:20px}.nUhMVa_confirmPanelChevron{color:var(--dsw-alias-label-tertiary,#8b93a1);flex:none}.nUhMVa_confirmPanelBody{flex-direction:column;gap:10px;padding:0 12px 10px 16px;display:flex}.nUhMVa_confirmCmd{align-items:center;gap:8px;display:flex}.nUhMVa_confirmPanel .nUhMVa_cmd{background:0 0;border-radius:0;flex:1;min-width:0;margin:0;padding:0;line-height:24px}.nUhMVa_confirmCopied{color:var(--dsw-alias-state-success-primary,#22c55e);white-space:nowrap;flex:none;font-size:12px;line-height:24px}.nUhMVa_confirmCopy{width:24px;height:24px;color:var(--fold-ink,#1c1d1f);cursor:pointer;background:0 0;border:0;border-radius:6px;flex:none;justify-content:center;align-items:center;padding:0;display:inline-flex}.nUhMVa_confirmCopy:hover{background:color-mix(in srgb, var(--fold-ink,#1c1d1f) 8%, transparent)}.nUhMVa_confirmCopy:focus-visible{outline:2px solid var(--dsw-alias-state-business-primary,#4176e6);outline-offset:1px}.nUhMVa_confirmPanel .nUhMVa_caps{gap:6px;padding:0}.nUhMVa_confirmPanel .nUhMVa_caps .nUhMVa_capChip{background:var(--fold-on-ink,#fff);border:1px solid var(--fold-border,#e7e8ea);color:var(--fold-ink,#1c1d1f);border-radius:999px;padding:2px 8px;font-size:12px;line-height:18px}.nUhMVa_confirmPanel .nUhMVa_caps .nUhMVa_capChip.nUhMVa_capChipUncommon{background:var(--fold-ink,#1c1d1f);border-color:var(--fold-ink,#1c1d1f);color:var(--fold-on-ink,#fff);font-weight:600}.nUhMVa_capGroups{grid-template-columns:auto minmax(0,1fr);align-items:baseline;gap:8px 12px;display:grid}.nUhMVa_capGroupLabel{color:var(--dsw-alias-label-secondary,#6b7280);white-space:nowrap;font-size:12px;line-height:22px}.nUhMVa_confirmPanel .nUhMVa_caps .nUhMVa_capMuted{border-color:var(--fold-border,#e7e8ea);color:var(--dsw-alias-label-secondary,#6b7280);padding:2px 8px;font-size:12px;line-height:18px}.nUhMVa_capAhead{flex-direction:column;gap:6px;display:flex}.nUhMVa_capAheadLabel{color:var(--dsw-alias-label-secondary,#6b7280);margin:0;font-size:12px;line-height:18px}.nUhMVa_capAheadRow{color:var(--dsw-alias-label-primary,#1f2328);align-items:flex-start;gap:8px;margin:0;font-size:13px;line-height:20px;display:flex}.nUhMVa_capAheadIcon{color:var(--dsw-alias-label-primary,#1f2328);flex:none;margin-top:2px}.nUhMVa_confirmPanel .nUhMVa_caps .nUhMVa_capAddress{color:var(--fold-ink,#1c1d1f);flex-basis:100%;margin:0 0 2px;font-size:13px;line-height:20px}.nUhMVa_capNote,.nUhMVa_confirmPanel .nUhMVa_capCaveat{color:var(--dsw-alias-label-secondary,#6b7280);margin:0;font-size:12px;line-height:18px}.nUhMVa_installCaution{background:color-mix(in srgb, var(--dsw-alias-state-warn-primary,#b45309) 12%, transparent);border-radius:8px;padding:12px 13px}.nUhMVa_installCautionLabel{color:var(--dsw-alias-label-secondary,#6b7280);margin:0 0 8px;font-size:12px;line-height:18px}.nUhMVa_installCautionHead{color:var(--dsw-alias-label-primary,#1f2328);align-items:center;gap:6px;margin:0;font-size:13px;font-weight:600;line-height:20px;display:flex}.nUhMVa_installCautionMark{flex:none;display:block}.nUhMVa_installCautionBody{color:var(--dsw-alias-label-primary,#1f2328);margin:6px 0 0;font-size:13px;line-height:20px}.nUhMVa_installCautionFoot{color:var(--dsw-alias-label-primary,#1f2328);align-items:baseline;gap:12px;margin:0;font-size:13px;line-height:20px;display:flex}.nUhMVa_installCautionLink{white-space:nowrap;color:var(--dsw-alias-link,#3b82f6);flex:none;margin-left:auto;font-size:13px;font-weight:600;line-height:20px;text-decoration:none}.nUhMVa_installCautionLink:hover{text-decoration:underline}.nUhMVa_confirmFineprint{color:var(--dsw-alias-label-secondary,#6b7280);margin:0;font-size:12px;line-height:18px}.nUhMVa_grid{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:10px;display:grid}.nUhMVa_recentBlock{margin:2px 0 4px;padding:0 0 8px}.nUhMVa_recentRow{-webkit-overflow-scrolling:touch;scrollbar-width:thin;scrollbar-color:var(--dsw-alias-border-l3,#d9dde3) transparent;align-items:stretch;gap:8px;margin-bottom:0;padding-bottom:4px;display:flex;overflow-x:auto}.nUhMVa_recentRow::-webkit-scrollbar{height:6px}.nUhMVa_recentRow::-webkit-scrollbar-thumb{background:var(--dsw-alias-border-l3,#d9dde3);border-radius:99px}.nUhMVa_recentRow::-webkit-scrollbar-track{background:0 0}.nUhMVa_recentRow>*{box-sizing:border-box;flex:none;width:min(320px,30.7692% - 7.38462px);min-width:220px}.nUhMVa_recentRow.nUhMVa_recentCollapsed{visibility:hidden;max-height:0;margin-bottom:0;padding-bottom:0;overflow:hidden}.nUhMVa_recentTile{box-sizing:border-box;background:var(--dsw-alias-settings-card-fill,var(--dsw-alias-bg-layer-1,#fff));border:.5px solid var(--dsw-alias-settings-card-stroke,var(--dsw-alias-border-l4,#00000029));border-radius:var(--dsw-radius-lg,16px);flex-direction:column;justify-content:space-between;gap:4px;height:80px;padding:8px 12px;transition:background-image .16s cubic-bezier(.16,1,.3,1);display:flex;overflow:hidden}.nUhMVa_recentTile .nUhMVa_installBtn.nUhMVa_installBtn{height:24px;min-height:24px;padding:0 8px}.nUhMVa_recentAv.nUhMVa_recentAv{flex-shrink:0;width:24px;height:24px;font-size:11px}.nUhMVa_recentTitle{align-items:center;gap:8px;min-width:0;display:flex}.nUhMVa_recentTitle>:last-child{flex-shrink:0}.nUhMVa_recentName{flex:1;min-width:0}.nUhMVa_recentTitle .nUhMVa_nm{font-size:14px;line-height:20px}.nUhMVa_recentBottom{align-items:flex-end;gap:8px;min-width:0;display:flex}.nUhMVa_recentBottom>:last-child{flex-shrink:0;margin-left:auto}.nUhMVa_recentBottom>:not(:last-child){flex:1;min-width:0}.nUhMVa_recentDesc{color:var(--dsw-alias-label-tertiary,#8b93a1);-webkit-line-clamp:2;-webkit-box-orient:vertical;margin:0;font-size:12px;line-height:16px;display:-webkit-box;overflow:hidden}.nUhMVa_recentBottom .nUhMVa_cardMore{padding:0}.nUhMVa_recentHead{justify-content:space-between;align-items:center;gap:8px;margin:10px 0 8px;padding:0 4px;display:flex}.nUhMVa_recentHead .nUhMVa_favoritesSectionHead{margin:0;padding:0;font-weight:600}.nUhMVa_recentToggle{font:inherit;color:inherit;cursor:pointer;background:0 0;border:0;align-items:center;gap:4px;margin:0;padding:0;display:inline-flex}.nUhMVa_recentToggle:hover{color:var(--dsw-alias-label-secondary,#6b7280)}.nUhMVa_recentHide.nUhMVa_recentHide{height:26px;min-height:26px;color:var(--dsw-alias-label-secondary,#6b7280);padding:0 6px}.nUhMVa_recentShow{font:inherit;color:var(--dsw-alias-label-secondary,#8b93a1);cursor:pointer;background:0 0;border:0;align-items:center;gap:4px;margin:0 0 8px;padding:0 4px;font-size:12px;line-height:18px;display:inline-flex}.nUhMVa_recentShow:hover{color:var(--dsw-alias-label-primary,#1f2328)}.nUhMVa_masonry{align-items:flex-start;gap:10px;display:flex}.nUhMVa_masonryCol{flex-direction:column;flex:1;gap:10px;min-width:0;display:flex}.nUhMVa_masonry>.nUhMVa_masonryCol>*{align-self:stretch;min-width:0}@media (max-width:680px){.nUhMVa_masonry{flex-direction:column}.nUhMVa_masonryCol{width:100%}.nUhMVa_grid{grid-template-columns:minmax(0,1fr)}}.nUhMVa_swatches{border:1px solid var(--dsw-alias-border-l2,#e5e7eb);border-radius:8px;gap:0;height:34px;display:flex;overflow:hidden}.nUhMVa_themesGrid{margin-bottom:12px}.nUhMVa_swatches i{flex:1}.nUhMVa_themeToolbar{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px;padding:0 4px 12px;display:grid}.nUhMVa_themeSearch{box-sizing:border-box;width:100%;min-width:0}.nUhMVa_themeToolbarActions{justify-content:flex-end;align-items:center;gap:8px;display:flex}.nUhMVa_themeFullscreenBtn.nUhMVa_themeFullscreenBtn{width:28px;min-width:28px;padding:0}.nUhMVa_themeResultBar{min-height:24px;color:var(--dsw-alias-label-tertiary,#8b93a1);align-items:center;padding:0 4px 8px;font-size:12px;line-height:18px;display:flex}.nUhMVa_favoritesSectionHead{color:var(--dsw-alias-label-primary,#1f2328);margin:16px 0 8px;padding:0 4px;font-size:14px;font-weight:500;line-height:22px}.nUhMVa_favoritesSectionHead:first-of-type{margin-top:0}.nUhMVa_brokenPluginNotice{flex-direction:column;gap:8px;margin:0 0 8px;display:flex}.nUhMVa_brokenPluginItem{border:1px solid var(--dsw-alias-state-warn-tertiary,#b4530933);background:var(--dsw-alias-state-warn-tertiary,#b453090f);color:var(--dsw-alias-state-warn-primary,#b45309);border-radius:8px;flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:10px;padding:8px 10px;font-size:12px;line-height:18px;display:flex}.nUhMVa_brokenPluginText{flex-direction:column;gap:2px;min-width:0;display:flex}.nUhMVa_favoritesStaleBar{border:1px solid var(--dsw-alias-state-warn-tertiary,#b4530933);background:var(--dsw-alias-state-warn-tertiary,#b453090f);color:var(--dsw-alias-state-warn-primary,#b45309);border-radius:8px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;margin:0 0 8px;padding:8px 10px;font-size:12px;line-height:18px;display:flex}.nUhMVa_favoritesStaleOnly{flex-direction:column;align-items:flex-start;gap:10px;display:flex}.nUhMVa_themeGallery{grid-template-columns:repeat(4,minmax(0,1fr));align-items:stretch;gap:10px;display:grid}.nUhMVa_themeCard{border:.5px solid var(--dsw-alias-settings-card-stroke,var(--dsw-alias-border-l4,#00000029));border-radius:var(--dsw-radius-lg,16px);background:var(--dsw-alias-bg-layer-1,#fff);flex-direction:column;min-width:0;transition:border-color .16s cubic-bezier(.16,1,.3,1),box-shadow .16s cubic-bezier(.16,1,.3,1),transform .16s cubic-bezier(.16,1,.3,1);display:flex;overflow:hidden}.nUhMVa_themeCard:hover{border-color:var(--dsw-alias-label-dimmed,#c8ccd4);box-shadow:var(--dsw-shadow-lv1,0 4px 12px #1f232814);transform:translateY(-1px)}.nUhMVa_themeCover{aspect-ratio:16/10;border:0;border-bottom:.5px solid var(--dsw-alias-border-l3,#d9dde3);background:var(--dsw-alias-bg-layer-2,#f3f4f6);width:100%;color:var(--dsw-alias-label-secondary,#6b7280);cursor:zoom-in;border-radius:0;padding:0;display:block;position:relative;overflow:hidden}.nUhMVa_themeCover img{object-fit:contain;background:var(--dsw-alias-bg-layer-2,#f3f4f6);width:100%;height:100%;transition:transform .18s cubic-bezier(.16,1,.3,1);display:block}.nUhMVa_themeCover:hover img{transform:scale(1.012)}.nUhMVa_themeCover:focus-visible{outline:2px solid var(--dsw-alias-state-business-primary,#4f6ef7);outline-offset:-3px}.nUhMVa_themeCoverEmpty{cursor:default;color:var(--dsw-alias-label-tertiary,#8b93a1);background:var(--dsw-alias-bg-module-platform,#f4f5f7);border-radius:var(--dsw-radius-lg,16px) 0 0 0;flex-direction:column;justify-content:center;align-items:center;gap:8px;font-size:12px;line-height:18px;display:flex}.nUhMVa_themePreviewAction,.nUhMVa_themePreviewCount{color:#fff;background:#14181fc7;border:1px solid #ffffff57;border-radius:4px;align-items:center;height:24px;padding:0 8px;font-size:11px;line-height:16px;display:inline-flex;position:absolute;bottom:8px}.nUhMVa_themePreviewAction{gap:4px;right:8px}.nUhMVa_themePreviewCount{left:8px}.nUhMVa_themeCardBody{flex-direction:column;flex:1;gap:8px;padding:14px;display:flex}.nUhMVa_themeCardHead{align-items:flex-start;gap:8px;min-width:0;display:flex}.nUhMVa_themeIdentity{flex:1;min-width:0}.nUhMVa_themeStatus,.nUhMVa_themeStatusMuted{white-space:nowrap;border-radius:4px;flex:none;align-items:center;min-height:22px;padding:0 8px;font-size:11px;font-weight:600;display:inline-flex}.nUhMVa_themeStatus{background:var(--dsw-alias-state-success-tertiary,#16a34a1a);color:var(--dsw-alias-state-success-primary,#15803d)}.nUhMVa_themeStatusMuted{background:var(--dsw-alias-bg-layer-2,#f3f4f6);color:var(--dsw-alias-label-secondary,#6b7280)}.nUhMVa_themeDescription{min-height:36px;color:var(--dsw-alias-label-tertiary,#8b93a1);-webkit-line-clamp:3;-webkit-box-orient:vertical;margin:0;font-size:12px;line-height:18px;display:-webkit-box;overflow:hidden}.nUhMVa_themeCardFooter{justify-content:space-between;align-items:center;gap:8px;margin-top:auto;padding-top:4px;display:flex}.nUhMVa_themeLifecycle{min-width:0;color:var(--dsw-alias-label-tertiary,#8b93a1);text-overflow:ellipsis;white-space:nowrap;font-size:11px;line-height:18px;overflow:hidden}.nUhMVa_themeActions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px;margin-left:auto;display:flex}@container (width<=900px){.nUhMVa_themeGallery{grid-template-columns:repeat(3,minmax(0,1fr))}}@container (width<=680px){.nUhMVa_themeGallery{grid-template-columns:repeat(2,minmax(0,1fr))}}@container (width<=460px){.nUhMVa_themeGallery{grid-template-columns:minmax(0,1fr)}}.nUhMVa_exportLogBtn{white-space:nowrap;flex-shrink:0}@container (width<=560px){.nUhMVa_headTop{flex-direction:column;align-items:stretch}.nUhMVa_headTop>.nUhMVa_titleRow{margin-left:0}}@container (width<=420px){.nUhMVa_exportLogBtn{align-self:center}.nUhMVa_themeToolbar{grid-template-columns:minmax(0,1fr)}.nUhMVa_themeCardHead{flex-wrap:wrap}.nUhMVa_themeStatus,.nUhMVa_themeStatusMuted{order:3}}@container (width<=280px){.nUhMVa_themeCardFooter{flex-direction:column;align-items:flex-start}.nUhMVa_themeActions{justify-content:flex-start;width:100%;margin-left:0}}@media (max-width:560px){[role=dialog]:has([data-dsh-crate-root])>nav{display:none}[role=dialog]:has([data-dsh-crate-root])>div{flex:100%;width:100%;min-width:0}}.nUhMVa_panelHost{box-sizing:border-box;height:100%;min-height:0;padding:calc(28px + var(--dsh-frame-top-clearance,0px)) 0 0;flex-direction:column;display:flex}.nUhMVa_panelHost>.nUhMVa_root{flex:1;width:100%;min-width:0;min-height:0;container-type:normal}.nUhMVa_panelHost .nUhMVa_head,.nUhMVa_panelHost .nUhMVa_body{padding-left:max(max(16px,min(4vw,48px)),50% - 480px);padding-right:max(max(16px,min(4vw,48px)),50% - 480px);container-type:inline-size}[data-dsh-crate-plugins-tab=true]{--dshm-host-sticky-top:0px;--dshm-plugins-head-height:0px}[data-dsh-crate-plugins-tab=true]:not([data-dsh-crate-fullscreen=true]){--dshm-empty-view-height:100vh;height:auto}[data-dsh-crate-plugins-tab=true]:not([data-dsh-crate-fullscreen=true]) .nUhMVa_body{min-height:calc(100vh - var(--dshm-host-sticky-top,0px) - var(--dshm-plugins-head-height,0px));flex-direction:column;flex:none;display:flex;overflow:visible}[data-dsh-crate-plugins-tab=true]:not([data-dsh-crate-fullscreen=true]) .nUhMVa_body>.nUhMVa_empty{box-sizing:border-box;width:100%;max-width:none;max-height:var(--dshm-empty-view-height,100vh);flex-direction:column;flex:auto;justify-content:center;align-items:center;margin:0;padding:32px;display:flex}[data-dsh-crate-plugins-tab=true]:not([data-dsh-crate-fullscreen=true]) .nUhMVa_top{position:fixed}[data-dsh-crate-plugins-tab=true]:not([data-dsh-crate-fullscreen=true]) .nUhMVa_stickyHead{display:contents}[data-dsh-crate-plugins-tab=true]:not([data-dsh-crate-fullscreen=true]) .nUhMVa_head{z-index:6;top:var(--dshm-host-sticky-top,0px);background:var(--dsw-alias-bg-base,#fff);margin:0 -4px;padding:4px 4px 6px;position:sticky}[data-dsh-crate-plugins-tab=true]:not([data-dsh-crate-fullscreen=true]) .nUhMVa_cats{z-index:5;top:calc(var(--dshm-host-sticky-top,0px) + var(--dshm-plugins-head-height,0px));background:var(--dsw-alias-bg-base,#fff);position:sticky}[role=dialog]:has([data-dsh-crate-fullscreen=true]){border-radius:0;width:100vw;max-width:none;height:100vh;max-height:none;position:fixed;top:0;bottom:0;left:0;right:0}[data-dsh-crate-plugins-tab=true][data-dsh-crate-fullscreen=true]{z-index:60;background:var(--dsw-alias-bg-layer-1,#fff);position:fixed;top:0;bottom:0;left:0;right:0;height:100vh!important}[data-dsh-crate-surface=settings]:not([data-dsh-crate-fullscreen=true]){--dshm-head-h:0px;height:auto}[data-dsh-crate-surface=settings]:not([data-dsh-crate-fullscreen=true]) .nUhMVa_body{flex:none;overflow:visible}[data-dsh-crate-surface=settings]:not([data-dsh-crate-fullscreen=true]) .nUhMVa_head{z-index:6;background:var(--dsw-alias-bg-layer-2,var(--dsw-alias-bg-base,#fff));position:sticky;top:0}[data-dsh-crate-surface=settings]:not([data-dsh-crate-fullscreen=true]) .nUhMVa_stickyHead{top:calc(var(--dshm-head-h,0px) + 8px);background:var(--dsw-alias-bg-layer-2,var(--dsw-alias-bg-base,#fff))}@media (prefers-reduced-motion:reduce){.nUhMVa_themeCard,.nUhMVa_themeCover img{transition:none}.nUhMVa_themeCard:hover{transform:none}}.nUhMVa_card{background:var(--dsw-alias-settings-card-fill,var(--dsw-alias-bg-layer-1,#fff));border:.5px solid var(--dsw-alias-settings-card-stroke,var(--dsw-alias-border-l4,#00000029));border-radius:var(--dsw-radius-xl,20px);flex-direction:column;align-self:start;gap:10px;min-width:0;padding:12px 14px;transition:background-image .16s cubic-bezier(.16,1,.3,1);display:flex}@media (hover:hover){.nUhMVa_card:hover,.nUhMVa_recentTile:hover{background-image:linear-gradient(var(--dsw-alias-interactive-bg-hover,#2631480f),var(--dsw-alias-interactive-bg-hover,#2631480f))}.nUhMVa_installBtn:hover:not(:disabled){background:var(--dsw-alias-button-primary-fill,#0f1115);color:var(--dsw-alias-label-primary-foreground,#fff);border-color:#0000}}.nUhMVa_row1{align-items:flex-start;gap:10px;min-width:0;display:flex}.nUhMVa_cardAction{flex-shrink:0;align-items:center;display:inline-flex}.nUhMVa_installBtn.nUhMVa_installBtn{min-width:64px}.nUhMVa_av{width:16px;height:16px;color:var(--dsw-alias-label-primary,#1f2328);object-fit:cover;background:var(--dsw-alias-bg-layer-2,#f3f4f6);border-radius:50%;flex-shrink:0;place-items:center;font-size:9px;font-weight:700;display:grid}.nUhMVa_nm{text-overflow:ellipsis;white-space:nowrap;font-size:14px;font-weight:500;line-height:20px;overflow:hidden}.nUhMVa_nmLink{color:inherit;text-decoration:none;display:block}.nUhMVa_nmLink:hover{color:var(--dsw-alias-brand-primary,#4f6ef7);text-decoration:underline}.nUhMVa_repoMark{color:var(--dsw-alias-label-secondary,#6b7280);vertical-align:-1px;flex-shrink:0;margin-left:5px;display:inline-block}.nUhMVa_nmLink:hover .nUhMVa_repoMark{color:var(--dsw-alias-brand-primary,#4f6ef7)}.nUhMVa_byline{flex-wrap:wrap;align-items:center;gap:6px;min-width:0;margin-top:2px;display:flex}.nUhMVa_meta{color:var(--dsw-alias-label-secondary,#9ca3af);margin-top:2px;font-size:11px}.nUhMVa_metaInline{color:var(--dsw-alias-label-secondary,#9ca3af);font-size:11px}.nUhMVa_owner{color:var(--dsw-alias-label-secondary,#5c6570);text-overflow:ellipsis;white-space:nowrap;flex:0 auto;min-width:44px;font-size:11px;line-height:18px;overflow:hidden}.nUhMVa_desc{color:var(--dsw-alias-label-tertiary,#8b93a1);margin:0;font-size:12px;line-height:18px}.nUhMVa_descClamp{-webkit-line-clamp:5;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.nUhMVa_descClamp3{-webkit-line-clamp:3;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.nUhMVa_descToggle{width:20px;height:16px;color:var(--dsw-alias-label-tertiary,#8b93a1);cursor:pointer;background:0 0;border:none;justify-content:center;align-items:center;margin-top:2px;padding:0;display:flex}.nUhMVa_descToggle:hover{color:var(--dsw-alias-brand-primary,#4f6ef7)}.nUhMVa_foot{flex-wrap:nowrap;align-items:flex-end;gap:8px;display:flex}.nUhMVa_foot .nUhMVa_metaInline,.nUhMVa_foot .nUhMVa_src{white-space:nowrap}.nUhMVa_footTags{flex-wrap:wrap;flex:1 1 0;align-items:center;gap:8px;min-width:0;display:flex}.nUhMVa_grow{flex:1}.nUhMVa_titleRow{flex-wrap:wrap;align-items:center;gap:8px 10px;display:flex}.nUhMVa_titleActions{flex-wrap:wrap;flex:0 auto;justify-content:flex-end;align-items:center;gap:4px 10px;min-width:0;margin-left:auto;display:flex}.nUhMVa_titleActions:empty{display:none}.nUhMVa_titleActions>*{white-space:nowrap;flex-shrink:0}.nUhMVa_version{color:var(--dsw-alias-label-tertiary,#8b93a1);font-variant-numeric:tabular-nums;flex-shrink:0;font-size:12px;line-height:20px}.nUhMVa_repoLink{color:var(--dsw-alias-label-tertiary,#8b93a1);flex-shrink:0;font-size:12px;line-height:20px;text-decoration:none}.nUhMVa_repoLink:hover{color:var(--dsw-alias-brand-primary,#4f6ef7)}.nUhMVa_noteRow{flex-wrap:wrap;align-items:baseline;gap:6px;min-width:0;display:flex}.nUhMVa_desc.nUhMVa_noteRow,.nUhMVa_desc.nUhMVa_noteRow+.nUhMVa_noteRow,.nUhMVa_noteEdit+.nUhMVa_noteRow{margin-top:6px}.nUhMVa_noteMine{color:var(--dsw-alias-label-primary,#1f2328)}.nUhMVa_noteToggle{font:inherit;color:var(--dsw-alias-label-tertiary,#8b93a1);cursor:pointer;white-space:nowrap;background:0 0;border:none;flex-shrink:0;padding:0;font-size:11px;line-height:16px}.nUhMVa_noteToggle:hover{color:var(--dsw-alias-brand-primary,#4f6ef7);text-decoration:underline}.nUhMVa_noteEdit{flex-direction:column;gap:6px;min-width:0;margin-top:6px;display:flex}.nUhMVa_noteInput{box-sizing:border-box;width:100%;min-width:0;max-width:100%;display:flex}.nUhMVa_noteInput input{box-sizing:border-box;flex:auto;width:100%;min-width:0}.nUhMVa_noteEditBar{justify-content:flex-end;align-items:center;gap:6px;display:flex}.nUhMVa_noteCount{font-variant-numeric:tabular-nums;color:var(--dsw-alias-label-tertiary,#8b93a1);margin-right:auto;font-size:11px;line-height:16px}.nUhMVa_descTight{min-height:0}.nUhMVa_src{color:var(--dsw-alias-label-secondary,#9ca3af);font-size:11px;text-decoration:none}.nUhMVa_src:hover{color:var(--dsw-alias-brand-primary,#4f6ef7)}.nUhMVa_dot{vertical-align:2px;margin-left:5px}.nUhMVa_act{flex-wrap:wrap;align-items:center;gap:6px;margin-top:6px;font-size:11px;display:flex}.nUhMVa_actLive{color:var(--dsw-alias-state-success-primary,#16a34a);align-items:center;gap:4px;font-weight:600;display:inline-flex}.nUhMVa_actWarn{color:var(--dsw-alias-state-warn-primary,#b45309);align-items:center;gap:4px;font-weight:600;display:inline-flex}.nUhMVa_actBroken{color:var(--dsw-alias-state-error-primary,#dc2626);align-items:center;gap:4px;font-weight:600;display:inline-flex}.nUhMVa_actWhy{color:var(--dsw-alias-label-secondary,#6b7280);margin-top:2px}.nUhMVa_loading{color:var(--dsw-alias-label-secondary,#9ca3af);flex-direction:column;align-items:center;gap:12px;padding:48px;font-size:13px;display:flex}.nUhMVa_spin{color:var(--dsw-alias-brand-primary,#4f6ef7);flex-shrink:0;animation:.8s linear infinite nUhMVa_sp;display:inline-flex}.nUhMVa_logoMark{color:var(--dsw-alias-brand-primary,#4f6ef7);flex-shrink:0;display:inline-flex}.nUhMVa_logoSweep{animation:3s linear infinite nUhMVa_dshmCrateSweep}@keyframes nUhMVa_dshmCrateSweep{0%{transform:translate(-13px)}30%,to{transform:translate(18px)}}@media (prefers-reduced-motion:reduce){.nUhMVa_logoSweep{display:none}.nUhMVa_spin{animation:1.5s ease-in-out infinite nUhMVa_dshmPlugFade}}@keyframes nUhMVa_dshmPlugFade{0%,to{opacity:1}50%{opacity:.35}}@keyframes nUhMVa_sp{to{transform:rotate(360deg)}}.nUhMVa_progress{background:var(--dsw-alias-bg-layer-2,#f3f4f6);border:1px solid var(--dsw-alias-border-l2,#e5e7eb);color:var(--dsw-alias-label-secondary,#6b7280);border-radius:8px;flex-wrap:wrap;align-items:center;gap:9px;margin:0;padding:8px 12px;font-size:12px;display:flex}.nUhMVa_bar{background:var(--dsw-alias-border-l1,#e5e7eb);border-radius:99px;width:100%;height:4px;overflow:hidden}.nUhMVa_barFill{background:var(--dsw-alias-brand-primary,#4f6ef7);border-radius:99px;height:100%;transition:width .6s}.nUhMVa_barWave{width:30%;animation:1.2s ease-in-out infinite nUhMVa_dshmSlide}@keyframes nUhMVa_dshmSlide{0%{margin-left:-30%}to{margin-left:100%}}.nUhMVa_irow .nUhMVa_progress{margin-top:8px}.nUhMVa_progress code{font-family:var(--ds-font-family-code,ui-monospace,Menlo,Consolas,monospace);text-overflow:ellipsis;white-space:nowrap;font-size:11px;overflow:hidden}.nUhMVa_empty{color:var(--dsw-alias-label-secondary,#5c6570);text-align:center;max-width:520px;margin:0 auto;padding:56px 32px 40px;font-size:13px;line-height:20px}.nUhMVa_err{color:var(--dsw-alias-state-error-primary,#dc2626);white-space:pre-wrap;word-break:break-all;margin:8px 0;font-size:12px}.nUhMVa_cardBlocked{border-color:var(--dsw-alias-state-error-primary,#dc2626)}.nUhMVa_conflictHead{align-items:flex-start;gap:8px;display:flex}.nUhMVa_conflictIcon{color:var(--dsw-alias-state-error-primary,#dc2626);flex-shrink:0;margin-top:1px}.nUhMVa_conflictTitle{color:var(--dsw-alias-state-error-primary,#dc2626);font-size:13px;font-weight:600;line-height:18px}.nUhMVa_conflictBody{margin:0;font-size:12px;line-height:19px}.nUhMVa_roster{background:var(--dsw-alias-border-l2,#e5e7eb);border:1px solid var(--dsw-alias-border-l2,#e5e7eb);border-radius:8px;flex-direction:column;gap:1px;display:flex;overflow:hidden}.nUhMVa_rosterRow{background:var(--dsw-alias-bg-layer-1,#fff);align-items:center;gap:8px;padding:7px 10px;display:flex}.nUhMVa_rosterMain{flex-direction:column;min-width:0;display:flex}.nUhMVa_rosterName{text-overflow:ellipsis;white-space:nowrap;min-width:0;font-size:12px;font-weight:600;overflow:hidden}.nUhMVa_rosterAuthor{color:var(--dsw-alias-label-secondary,#9ca3af);text-overflow:ellipsis;white-space:nowrap;font-size:10.5px;overflow:hidden}.nUhMVa_rosterTag{border-radius:4px;flex-shrink:0;margin-left:auto;padding:1px 6px;font-size:10.5px;font-weight:600}.nUhMVa_rosterTagKeep{color:var(--dsw-alias-state-success-primary,#16a34a);background:#16a34a1f}.nUhMVa_rosterTagDrop{color:var(--dsw-alias-state-error-primary,#dc2626);background:#dc26261f}.nUhMVa_rosterRowOut .nUhMVa_rosterName{text-decoration:line-through}.nUhMVa_rosterRowOut{opacity:.62}.nUhMVa_rosterSplit{background:var(--dsw-alias-border-l2,#e5e7eb);height:1px}.nUhMVa_reassure{color:var(--dsw-alias-label-secondary,#6b7280);align-items:center;gap:5px;margin:0;font-size:11.5px;line-height:17px;display:flex}.nUhMVa_reassureOk{color:var(--dsw-alias-state-success-primary,#16a34a);flex-shrink:0}.nUhMVa_conflictWhy{color:var(--dsw-alias-label-tertiary,#8b93a1);font-size:11px;line-height:17px;font-family:var(--ds-font-family-code,ui-monospace,Menlo,Consolas,monospace);overflow-wrap:anywhere;margin-top:2px}.nUhMVa_conflictWhyText{margin-top:5px;font-family:-apple-system,BlinkMacSystemFont,PingFang SC,sans-serif}.nUhMVa_choices{flex-direction:column;gap:7px;display:flex}.nUhMVa_choice{text-align:left;font:inherit;cursor:pointer;background:var(--dsw-alias-bg-layer-1,#fff);border:1px solid var(--dsw-alias-border-l3,#d9dde3);border-radius:9px;align-items:flex-start;gap:9px;padding:9px 11px;display:flex}.nUhMVa_choice:has(input:disabled){cursor:default;opacity:.6}.nUhMVa_choiceOn{border-color:var(--dsw-alias-brand-primary,#4f6ef7);background:var(--dsw-alias-bg-layer-2,#f5f7ff)}.nUhMVa_choiceRadio{width:13px;height:13px;accent-color:var(--dsw-alias-brand-primary,#4f6ef7);flex-shrink:0;margin:2px 0 0}.nUhMVa_choiceMain{flex-direction:column;gap:3px;min-width:0;display:flex}.nUhMVa_choiceTitle{font-size:12px;font-weight:600;line-height:17px}.nUhMVa_choiceNote{color:var(--dsw-alias-label-tertiary,#8b93a1);font-size:11px;line-height:16px}.nUhMVa_choiceSafe{color:var(--dsw-alias-state-success-primary,#16a34a)}.nUhMVa_stateTag{white-space:nowrap;background:var(--dsw-alias-bg-layer-2,#f3f4f6);min-height:20px;color:var(--dsw-alias-label-secondary,#6b7280);border-radius:5px;flex-shrink:0;align-items:center;gap:5px;padding:1px 7px;font-size:11px;line-height:16px;display:inline-flex}.nUhMVa_stateTag[data-on=true]{color:var(--dsw-alias-state-success-primary,#16a34a);background:color-mix(in srgb, var(--dsw-alias-state-success-primary,#16a34a) 10%, transparent)}.nUhMVa_stateDot{background:var(--dsw-alias-label-tertiary,#8b93a1);border-radius:999px;flex:none;width:6px;height:6px}.nUhMVa_stateDot[data-on=true]{background:var(--dsw-alias-state-success-primary,#16a34a)}.nUhMVa_metaTag{text-overflow:ellipsis;white-space:nowrap;background:var(--dsw-alias-bg-layer-2,#f3f4f6);min-width:0;max-width:100%;min-height:20px;color:var(--dsw-alias-label-tertiary,#8b93a1);border-radius:5px;flex-shrink:1;padding:1px 7px;font-size:11px;line-height:18px;display:inline-block;overflow:hidden}.nUhMVa_metaTagOk{color:var(--dsw-alias-state-success-primary,#16a34a);background:color-mix(in srgb, var(--dsw-alias-state-success-primary,#16a34a) 10%, transparent)}.nUhMVa_irow{transition:background-image .16s cubic-bezier(.16,1,.3,1)}.nUhMVa_irow:hover{background-image:linear-gradient(var(--dsw-alias-interactive-bg-hover,#2631480f),var(--dsw-alias-interactive-bg-hover,#2631480f))}.nUhMVa_irowHead{align-items:flex-start;gap:8px;min-width:0;display:flex}.nUhMVa_irowHead .nUhMVa_irowName{flex:1 1 0;min-width:0}.nUhMVa_irowMenu{flex-shrink:0;margin-top:-4px;margin-left:auto;margin-right:-6px}.nUhMVa_irowMeta{color:var(--dsw-alias-label-secondary,#6b7280);margin-top:2px;font-size:12px;line-height:18px}.nUhMVa_irowPath{align-items:center;gap:6px;min-width:0;margin-top:6px;display:flex}.nUhMVa_irowPath .nUhMVa_spec{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.nUhMVa_irowPathIcon,.nUhMVa_irowStatusIcon{color:var(--dsw-alias-label-tertiary,#8b93a1);flex-shrink:0;display:inline-flex}.nUhMVa_irowPathCopy{flex-shrink:0;align-items:center;gap:4px;margin-left:auto;display:inline-flex}.nUhMVa_irowPath .nUhMVa_confirmCopy{width:20px;height:20px;color:var(--dsw-alias-label-tertiary,#8b93a1)}.nUhMVa_irowPath .nUhMVa_confirmCopy:hover{color:var(--dsw-alias-label-primary,#1f2328)}.nUhMVa_irowPath .nUhMVa_confirmCopied{color:var(--dsw-alias-label-secondary,#6b7280);order:1;font-size:11px}.nUhMVa_irowDesc{flex:100%;min-width:0}.nUhMVa_irowStatus{flex-wrap:wrap;align-items:center;gap:6px;min-width:0;margin-top:8px;font-size:12px;line-height:18px;display:flex}.nUhMVa_irowStatus+.nUhMVa_irowStatus{margin-top:4px}.nUhMVa_irowStatusPart{align-items:baseline;gap:6px;display:inline-flex}.nUhMVa_irowStatus .nUhMVa_notesLink{margin:0;display:inline}.nUhMVa_irowStatus .nUhMVa_metaInline{font-size:12px}.nUhMVa_irowStatusAction{margin-left:auto;display:inline-flex}.nUhMVa_irowStatusAction .nUhMVa_noteToggle{color:var(--dsw-alias-label-secondary,#6b7280);font-size:12px;line-height:18px}.nUhMVa_irowStatusAction .nUhMVa_noteToggle:hover{color:var(--dsw-alias-label-primary,#1f2328);text-decoration:none}.nUhMVa_descMore{cursor:pointer;font:inherit;color:var(--dsw-alias-label-secondary,#6b7280);background:0 0;border:none;align-items:center;gap:2px;margin-top:4px;padding:0;font-size:12px;line-height:18px;display:inline-flex}.nUhMVa_descMore:hover{color:var(--dsw-alias-label-primary,#1f2328)}.nUhMVa_noteAdd{cursor:pointer;font:inherit;color:var(--dsw-alias-label-secondary,#6b7280);white-space:nowrap;background:0 0;border:none;align-items:center;gap:6px;margin-top:4px;padding:0;font-size:12px;line-height:18px;display:inline-flex}.nUhMVa_noteAdd:hover,.nUhMVa_irowStatusFact{color:var(--dsw-alias-label-primary,#1f2328)}.nUhMVa_irowStatusSep{color:var(--dsw-alias-label-tertiary,#8b93a1)}.nUhMVa_nameLink{color:inherit;text-decoration:none}.nUhMVa_irowName{text-overflow:clip;flex-wrap:wrap;align-items:baseline;gap:6px;min-width:0;display:flex;overflow:visible}.nUhMVa_irowNameText{overflow-wrap:anywhere;white-space:normal;min-width:0}.nUhMVa_irowName>.nUhMVa_owner{flex:none}.nUhMVa_nameLink:hover{color:var(--dsw-alias-brand-primary,#4f6ef7);text-decoration:underline}.nUhMVa_opWrap{flex-shrink:0;margin-bottom:6px;display:inline-flex}.nUhMVa_opEntry{font:inherit;cursor:pointer;white-space:nowrap;height:28px;color:var(--dsw-alias-label-primary,#1f2328);background:var(--dsw-alias-bg-layer-1,#fff);border:.5px solid var(--dsw-alias-border-l3,#d9dde3);border-radius:8px;align-items:center;gap:5px;padding:0 7px 0 10px;font-size:12px;transition:background-color .12s,color .12s,border-color .12s;display:inline-flex;position:relative}.nUhMVa_opEntryQuiet{background:var(--dsw-alias-bg-module-platform,#f4f5f7);color:var(--dsw-alias-label-secondary,#5c6570)}.nUhMVa_opEntry:hover{color:var(--dsw-alias-label-primary,#1f2328);border-color:var(--dsw-alias-border-l2,#e5e7eb);background:var(--dsw-alias-bg-module-platform,#f4f5f7)}.nUhMVa_opChevron{color:var(--dsw-alias-label-tertiary,#8b93a1);flex-shrink:0;transition:transform .14s cubic-bezier(.16,1,.3,1);display:inline-flex}.nUhMVa_opChevronOpen{transform:rotate(180deg)}.nUhMVa_opEntryAlert{border-color:var(--dsw-alias-state-error-primary,#dc2626);color:var(--dsw-alias-state-error-primary,#dc2626)}.nUhMVa_opDot{background:var(--dsw-alias-state-error-primary,#dc2626);border-radius:99px;width:8px;height:8px;position:absolute;top:-3px;right:-3px}.nUhMVa_opPanel{z-index:40;background:var(--dsw-alias-bg-layer-1,#fff);border:1px solid var(--dsw-alias-border-l3,#d9dde3);border-radius:12px;width:460px;max-width:100%;max-height:70vh;position:absolute;top:calc(100% + 6px);right:0;overflow-y:auto;box-shadow:0 20px 52px #00000047}.nUhMVa_opHead{border-bottom:1px solid var(--dsw-alias-border-l2,#e5e7eb);align-items:center;gap:8px;padding:9px 14px;display:flex}.nUhMVa_opPanelTitle{font-size:12.5px;font-weight:600}.nUhMVa_opCloseBtn.nUhMVa_opCloseBtn{min-width:0;color:var(--dsw-alias-label-secondary,#6b7280);padding:0 6px}.nUhMVa_opAggregate{border-bottom:1px solid var(--dsw-alias-border-l2,#e5e7eb);background:var(--dsw-alias-bg-layer-2,#f7f8fa);padding:9px 14px}.nUhMVa_opAggregateTop{font-variant-numeric:tabular-nums;font-size:12px;font-weight:600}.nUhMVa_opAggregateHint{color:var(--dsw-alias-label-tertiary,#8b93a1);margin-top:4px;font-size:10.5px}.nUhMVa_opRow{border-bottom:1px solid var(--dsw-alias-border-l2,#e5e7eb);align-items:flex-start;gap:9px;padding:9px 14px;display:flex}.nUhMVa_opRow:last-child{border-bottom:none}.nUhMVa_opRowAlert{background:#dc26260f}.nUhMVa_opIcon{flex-shrink:0;place-items:center;width:14px;margin-top:1px;display:grid}.nUhMVa_opQueuedIcon{color:var(--dsw-alias-label-tertiary,#8b93a1);font-size:12px}.nUhMVa_opMain{flex-direction:column;flex:1;gap:3px;min-width:0;display:flex}.nUhMVa_opTop{align-items:baseline;gap:6px;min-width:0;display:flex}.nUhMVa_opVerb{color:var(--dsw-alias-label-secondary,#6b7280);flex-shrink:0;font-size:12px}.nUhMVa_opName{text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-weight:600;overflow:hidden}.nUhMVa_opStatus{color:var(--dsw-alias-label-tertiary,#8b93a1);overflow-wrap:anywhere;font-size:10.5px;line-height:16px}.nUhMVa_opStatusBad{color:var(--dsw-alias-state-error-primary,#dc2626)}.nUhMVa_opAgents{color:var(--dsw-alias-label-tertiary,#8b93a1);margin:2px 0 0;font-size:10.5px;line-height:16px}.nUhMVa_opAgentsSummary{cursor:pointer;color:var(--dsw-alias-label-secondary,#5c6570);font-size:10.5px;line-height:16px;list-style:none}.nUhMVa_opAgentsSummary::-webkit-details-marker{display:none}.nUhMVa_opAgentsSummary:before{content:\"▸\";width:10px;transition:transform .12s cubic-bezier(.16,1,.3,1);display:inline-block}.nUhMVa_opAgents[open]>.nUhMVa_opAgentsSummary:before{transform:rotate(90deg)}.nUhMVa_opAgentsList{flex-direction:column;gap:1px;margin:2px 0 0;padding:0 0 0 12px;list-style:none;display:flex}.nUhMVa_opAgentsId{font-family:var(--ds-font-family-code,ui-monospace,Menlo,Consolas,monospace);white-space:nowrap;text-overflow:ellipsis;font-size:10.5px;line-height:15px;overflow:hidden}.nUhMVa_opActions{flex-shrink:0;align-items:center;gap:6px;margin-top:1px;display:flex}.nUhMVa_opDecision{border-top:1px dashed var(--dsw-alias-border-l2,#e5e7eb);flex-direction:column;gap:8px;margin-top:8px;padding-top:8px;display:flex}.nUhMVa_opDecisionFoot{align-items:center;gap:8px;display:flex}.nUhMVa_conflictDetailsToggle{font:inherit;cursor:pointer;color:var(--dsw-alias-label-tertiary,#8b93a1);background:0 0;border:none;align-items:center;gap:4px;padding:2px 0;font-size:11px;display:inline-flex}.nUhMVa_conflictDetailsToggle:hover{color:var(--dsw-alias-label-secondary,#6b7280)}.nUhMVa_opEmpty{text-align:center;color:var(--dsw-alias-label-secondary,#6b7280);padding:30px 14px;font-size:12px}.nUhMVa_opEmptyHint{color:var(--dsw-alias-label-tertiary,#8b93a1);margin-top:4px;font-size:11px}.nUhMVa_cardBlockedMark{font:inherit;cursor:pointer;color:var(--dsw-alias-state-error-primary,#dc2626);border:1px solid var(--dsw-alias-state-error-primary,#dc2626);background:#dc262614;border-radius:7px;align-items:center;gap:5px;padding:4px 9px;font-size:11px;display:inline-flex}.nUhMVa_dangerBtn.nUhMVa_dangerBtn{color:var(--dsw-alias-state-error-primary,#dc2626);border-color:var(--dsw-alias-state-error-primary,#dc2626)}.nUhMVa_dangerBtn.nUhMVa_dangerBtn:hover:not(:disabled){background:var(--dsw-alias-state-error-primary,#dc2626);color:#fff}.nUhMVa_dangerArmed.nUhMVa_dangerArmed{background:var(--dsw-alias-state-error-primary,#dc2626);border-color:var(--dsw-alias-state-error-primary,#dc2626);color:var(--dsw-alias-label-primary-foreground,#fff)}.nUhMVa_retryBtn{margin-top:4px}.nUhMVa_irow{background:var(--dsw-alias-settings-card-fill,var(--dsw-alias-bg-layer-1,#fff));border:.5px solid var(--dsw-alias-settings-card-stroke,var(--dsw-alias-border-l4,#00000029));border-radius:var(--dsw-radius-xl,20px);flex-direction:column;gap:10px;min-width:0;padding:12px 14px;display:flex}.nUhMVa_irowActions{flex-wrap:wrap;justify-content:flex-start;align-items:center;gap:8px;min-width:0;display:flex}.nUhMVa_irowTrailing{flex-wrap:nowrap;flex-shrink:0;align-items:center;gap:8px;min-width:0;display:inline-flex}.nUhMVa_irowTrailing .nUhMVa_metaTag{flex-shrink:1;min-width:0}.nUhMVa_irowMissing{filter:grayscale();opacity:.5}.nUhMVa_irow>.nUhMVa_src,.nUhMVa_irow>.nUhMVa_owner,.nUhMVa_irow button{white-space:nowrap;flex-shrink:0}.nUhMVa_tabSearchRow{align-items:center;gap:8px;padding:0 4px 10px;display:flex}.nUhMVa_tabSearch{flex:1;min-width:0}.nUhMVa_groupBulkActions{flex-wrap:wrap;align-items:center;gap:8px;padding:0 4px 10px;display:flex}.nUhMVa_caps{flex-wrap:wrap;align-items:center;gap:4px;min-width:0;padding:0 2px 6px;font-size:11px;line-height:1.5;display:flex}.nUhMVa_capsTitle{color:var(--dsw-alias-label-secondary,#8b949e);cursor:help}.nUhMVa_capChip{border:1px solid var(--dsw-alias-border-l2,#30363d);color:var(--dsw-alias-label-primary,#c9d1d9);white-space:nowrap;border-radius:999px;padding:0 6px}.nUhMVa_capMuted{border:1px dashed var(--dsw-alias-border-l2,#30363d);color:var(--dsw-alias-label-secondary,#8b949e);white-space:nowrap;border-radius:999px;padding:0 6px}.nUhMVa_capCaveat{color:var(--dsw-alias-label-tertiary,#8b93a1);align-items:baseline;gap:12px;margin:6px 0 0;font-size:11px;line-height:16px;display:flex}.nUhMVa_capCaveatNote{min-width:0}.nUhMVa_capCaveatAt{white-space:nowrap;flex:none;margin-left:auto}.nUhMVa_searchField{box-sizing:border-box;min-width:0;position:relative}.nUhMVa_searchInput.nUhMVa_searchInput{box-sizing:border-box;width:100%;min-width:0;padding-right:34px}.nUhMVa_searchClear{width:24px;height:24px;color:var(--dsw-alias-label-secondary,#59636e);font:inherit;cursor:pointer;background:0 0;border:0;border-radius:4px;justify-content:center;align-items:center;padding:0;font-size:20px;line-height:1;display:flex;position:absolute;top:50%;right:5px;transform:translateY(-50%)}.nUhMVa_searchClear:hover{background:var(--dsw-alias-bg-layer-2,#f3f4f6);color:var(--dsw-alias-label-primary,#1f2328)}.nUhMVa_searchClear:focus-visible{outline:2px solid var(--dsw-alias-state-business-primary,#4f6ef7);outline-offset:1px}.nUhMVa_spec{color:var(--dsw-alias-label-secondary,#9ca3af);font-size:11px;font-family:var(--ds-font-family-code,ui-monospace,Menlo,Consolas,monospace);overflow-wrap:anywhere;min-width:0}.nUhMVa_specTag{white-space:nowrap;border-radius:4px;flex-shrink:0;align-items:center;height:16px;padding:0 5px;font-size:10px;font-weight:600;display:inline-flex}.nUhMVa_specTagGit{color:var(--dsw-alias-state-business-primary,#0b7285);background:#12a3c41f}.nUhMVa_specTagFile{color:var(--dsw-alias-state-warn-primary,#b07d1b);background:#f0b42924}.nUhMVa_backupCheckList .nUhMVa_grow{white-space:nowrap;text-overflow:ellipsis;flex:70%;min-width:0;overflow:hidden}.nUhMVa_backupCheckList .nUhMVa_spec{text-align:right;white-space:nowrap;text-overflow:ellipsis;flex:0 30%;max-width:30%;overflow:hidden}.nUhMVa_staleAction{word-break:normal;flex-wrap:wrap;align-items:center;gap:8px;margin-top:8px;display:flex}.nUhMVa_pct{color:var(--dsw-alias-label-secondary,#6b7280);flex-shrink:0;font-size:11px;font-weight:600}.nUhMVa_pager{flex-wrap:nowrap;justify-content:space-between;align-items:center;gap:8px;margin:16px 0 4px;display:flex}.nUhMVa_loadMore{justify-content:center;margin:16px 0 4px;display:flex}.nUhMVa_pagerPages{flex-wrap:nowrap;flex:1;justify-content:center;align-items:center;gap:4px;min-width:0;display:flex}.nUhMVa_pagerMeta{flex-wrap:nowrap;flex-shrink:0;align-items:center;gap:6px;display:flex}.nUhMVa_pagerPages button,.nUhMVa_pagerMeta button{min-width:0;padding:0 8px}.nUhMVa_pageEllipsis{color:var(--dsw-alias-label-secondary,#9ca3af);padding:0 1px;font-size:12px}.nUhMVa_pageInfo{color:var(--dsw-alias-label-secondary,#6b7280);white-space:nowrap;font-size:12px}@container (width<=544px){.nUhMVa_pager{flex-wrap:wrap;justify-content:center;gap:8px}.nUhMVa_pagerPages{flex-basis:100%}}.nUhMVa_depBadge{border:1px solid var(--dsw-alias-state-warn-primary,#b45309);color:var(--dsw-alias-state-warn-primary,#b45309);white-space:nowrap;border-radius:4px;flex-shrink:0;margin-left:6px;padding:1px 6px;font-size:11px;font-weight:600;line-height:16px}.nUhMVa_deprecate{color:var(--dsw-alias-state-warn-primary,#b45309);background:var(--dsw-alias-bg-layer-2,#fdf3e3);border:1px solid var(--dsw-alias-border-l2,#f3e3c3);border-radius:8px;margin:0;padding:8px 10px;font-size:12px;line-height:18px}.nUhMVa_deprecate a{color:var(--dsw-alias-state-warn-primary,#b45309);text-decoration:underline}.nUhMVa_deprecate .nUhMVa_src{margin-left:8px}.nUhMVa_depLine{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.nUhMVa_switch{border:1px solid var(--dsw-alias-border-l2,#d9dde3);background:var(--dsw-alias-bg-layer-2,#e5e7eb);cursor:pointer;border-radius:99px;flex-shrink:0;width:38px;height:22px;padding:0;transition:background .15s,border-color .15s;position:relative}.nUhMVa_switchOn{background:var(--dsw-alias-state-success-primary,#16a34a);border-color:var(--dsw-alias-state-success-primary,#16a34a)}.nUhMVa_switchMixed{background:var(--dsw-alias-state-warn-primary,#b45309);border-color:var(--dsw-alias-state-warn-primary,#b45309)}.nUhMVa_switchKnob{background:#fff;border-radius:99px;width:16px;height:16px;transition:left .15s;position:absolute;top:2px;left:2px;box-shadow:0 1px 2px #00000040}.nUhMVa_switchOn .nUhMVa_switchKnob,.nUhMVa_switchMixed .nUhMVa_switchKnob{left:18px}.nUhMVa_switch:disabled{opacity:.5;cursor:default}.nUhMVa_viewBar{border-radius:var(--dsw-radius-md,12px);background:var(--dsw-alias-bg-module-platform,#f4f5f7);border:none;align-items:center;gap:2px;width:fit-content;margin-bottom:12px;padding:3px;display:flex}.nUhMVa_viewBtn{font:inherit;color:var(--dsw-alias-label-secondary,#5c6570);border-radius:var(--dsw-radius-sm,8px);cursor:pointer;white-space:nowrap;background:0 0;border:none;height:26px;padding:0 10px;font-size:12px;line-height:18px;transition:background-color .12s,color .12s}.nUhMVa_viewBtn:hover{color:var(--dsw-alias-brand-primary,#4f6ef7)}.nUhMVa_viewOn{background:var(--dsw-alias-bg-layer-3,#fff);color:var(--dsw-alias-label-primary,#1f2328);box-shadow:0 0 0 .5px var(--dsw-alias-border-l3,#0000001f);font-weight:600}.nUhMVa_groupRow{background:var(--dsw-alias-settings-card-fill,var(--dsw-alias-bg-layer-1,#fff));border:.5px solid var(--dsw-alias-settings-card-stroke,var(--dsw-alias-border-l4,#00000029));border-radius:var(--dsw-radius-xl,20px);margin-bottom:10px;padding:12px 14px}.nUhMVa_groupHead{flex-wrap:wrap;align-items:center;gap:10px;min-width:0;display:flex}.nUhMVa_groupCollapse{width:22px;height:22px;color:var(--dsw-alias-label-secondary,#6b7280);cursor:pointer;background:0 0;border:none;border-radius:6px;flex-shrink:0;justify-content:center;align-items:center;padding:0;display:inline-flex}.nUhMVa_groupCollapse:hover{background:var(--dsw-alias-bg-layer-2,#eef0f4);color:var(--dsw-alias-label-primary,#1f2328)}.nUhMVa_groupTitle{flex-direction:column;flex:auto;gap:1px;min-width:0;display:flex}.nUhMVa_groupTitle .nUhMVa_groupHint{margin-top:0}.nUhMVa_groupName{text-overflow:ellipsis;white-space:nowrap;font-size:13px;font-weight:600;line-height:20px;overflow:hidden}.nUhMVa_groupMeta{color:var(--dsw-alias-label-tertiary,#8b93a1);font-size:11px;line-height:16px}.nUhMVa_groupActions{flex-wrap:wrap;flex-shrink:0;align-items:center;gap:6px;margin-left:auto;display:flex}.nUhMVa_groupMembers{flex-direction:column;gap:6px;margin-top:10px;display:flex}.nUhMVa_groupMember{background:var(--dsw-alias-bg-layer-2,#f7f8fa);border-radius:8px;align-items:center;gap:8px;min-width:0;padding:6px 8px;font-size:12px;line-height:18px;display:flex}.nUhMVa_groupMember .nUhMVa_nm{flex:1;min-width:0;font-size:12px}.nUhMVa_memberName{flex:auto;align-items:center;gap:6px;min-width:0;display:flex}.nUhMVa_memberName .nUhMVa_nm{flex:0 auto;min-width:0}.nUhMVa_memberNameWithDesc{flex:0 auto;max-width:42%}.nUhMVa_memberKind{color:var(--dsw-alias-label-tertiary,#8b93a1);white-space:nowrap;flex:none;font-size:11px;line-height:16px}.nUhMVa_themeSlot{box-shadow:inset 0 -1px 0 var(--dsw-alias-border-l2,#e5e7eb);border-radius:8px 8px 0 0;margin-bottom:4px}.nUhMVa_groupMember>.nUhMVa_switch,.nUhMVa_groupMember>button{flex-shrink:0}.nUhMVa_groupMemberAction{flex:none;margin-left:auto}.nUhMVa_groupMemberAction button{white-space:nowrap}.nUhMVa_groupAddPanel{border-top:1px dashed var(--dsw-alias-border-l2,#e5e7eb);flex-direction:column;gap:6px;margin-top:10px;padding-top:10px;display:flex}.nUhMVa_groupAddModalBody{flex-direction:column;gap:10px;min-width:0;display:flex}.nUhMVa_groupAddFilters{flex-wrap:wrap;gap:6px;display:flex}.nUhMVa_groupAddModalList{flex-direction:column;gap:6px;max-height:min(50vh,360px);padding-right:2px;display:flex;overflow-y:auto}.nUhMVa_groupAddModalHint{color:var(--dsw-alias-label-secondary,#6b7280);margin:0;font-size:12px;line-height:18px}.nUhMVa_groupAddPick{background:var(--dsw-alias-bg-layer-2,#f7f8fa);cursor:pointer;border-radius:8px;align-items:center;gap:8px;min-width:0;padding:8px 10px;display:flex}.nUhMVa_groupAddPick:hover{background:var(--dsw-alias-bg-layer-2,#eef0f4)}.nUhMVa_groupAddPick input{flex-shrink:0;margin:0}.nUhMVa_groupAddPick .nUhMVa_nm{text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;font-size:12px;overflow:hidden}.nUhMVa_groupAddFooterMeta{color:var(--dsw-alias-label-secondary,#6b7280);align-self:center;margin-right:auto;font-size:12px;line-height:18px}.nUhMVa_groupOrgHint{color:var(--dsw-alias-label-tertiary,#8b93a1);margin:4px 0 0;font-size:11px;line-height:16px}.nUhMVa_groupRenameField{flex-direction:column;gap:6px;min-width:min(100%,320px);display:flex}.nUhMVa_groupRenameField label{color:var(--dsw-alias-label-secondary,#6b7280);font-size:12px;line-height:18px}.nUhMVa_groupRenameField .nUhMVa_inlineInput{width:100%}.nUhMVa_groupCreate{align-items:center;gap:8px;margin-bottom:10px;display:flex}.nUhMVa_groupCreateInline{flex-shrink:0;align-items:center;gap:8px;display:flex}.nUhMVa_groupCreateInline .nUhMVa_inlineInput{flex:none;width:160px}.nUhMVa_inlineInput{flex:1;min-width:120px}.nUhMVa_ungroupedRow{flex-wrap:nowrap}.nUhMVa_ungroupedRow>.nUhMVa_nm{flex:0 auto;max-width:42%;font-size:12px;line-height:18px}.nUhMVa_ungroupedState{flex:0 auto;align-items:center;min-width:0;max-width:46%;margin:0;display:inline-flex}.nUhMVa_ungroupedState>span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.nUhMVa_ungroupedDesc{text-overflow:ellipsis;white-space:nowrap;min-width:0;color:var(--dsw-alias-label-tertiary,#8b93a1);flex:1 1 0;font-size:12px;line-height:18px;overflow:hidden}.nUhMVa_ungroupedDesc.nUhMVa_noteMine{color:var(--dsw-alias-label-primary,#1f2328)}.nUhMVa_groupHint{color:var(--dsw-alias-label-tertiary,#8b93a1);font-size:11px}.nUhMVa_sect{color:var(--dsw-alias-label-secondary,#6b7280);margin:14px 2px 8px;font-size:12px;font-weight:600}.nUhMVa_sectAction{color:var(--dsw-alias-label-secondary,#6b7280);align-items:center;gap:8px;margin:14px 2px 8px;font-size:12px;font-weight:600;display:flex}.nUhMVa_backupGrid{grid-template-columns:minmax(0,1fr);gap:12px;display:grid}.nUhMVa_backupCard{background:var(--dsw-alias-settings-card-fill,var(--dsw-alias-bg-layer-1,#fff));border:.5px solid var(--dsw-alias-settings-card-stroke,var(--dsw-alias-border-l4,#00000029));border-radius:var(--dsw-radius-xl,20px);flex-direction:column;gap:10px;padding:16px;display:flex}.nUhMVa_backupCard h3{margin:0;font-size:14px}.nUhMVa_backupCard p{color:var(--dsw-alias-label-secondary,#6b7280);margin:0;font-size:12px;line-height:18px}.nUhMVa_backupActions{flex-wrap:wrap;gap:8px;display:flex;position:relative}.nUhMVa_hiddenFile{opacity:0;pointer-events:none;width:1px;height:1px;position:absolute}.nUhMVa_backupInput{box-sizing:border-box;width:100%}.nUhMVa_backupCheck{cursor:pointer;align-items:center;gap:6px;font-size:12px;display:flex}.nUhMVa_backupWarn{margin:0;font-size:12px;line-height:18px;color:var(--dsw-alias-state-warn-primary,#b45309)!important}.nUhMVa_backupMessage{color:var(--dsw-alias-label-secondary,#6b7280);grid-column:1/-1;font-size:12px}.nUhMVa_backupCheckList{flex-direction:column;gap:6px;max-height:260px;margin:10px 0 4px;padding-right:4px;display:flex;overflow-y:auto}.nUhMVa_backupCheckList .nUhMVa_backupCheck{justify-content:space-between;gap:8px}.nUhMVa_diagPage{flex-direction:column;gap:12px;height:100%;min-height:0;display:flex;overflow-y:auto}.nUhMVa_panelHost .nUhMVa_diagPage{height:auto;overflow:visible}.nUhMVa_diagSummary{background:var(--dsw-alias-settings-card-fill,var(--dsw-alias-bg-layer-1,#fff));border:.5px solid var(--dsw-alias-settings-card-stroke,var(--dsw-alias-border-l4,#00000029));border-radius:var(--dsw-radius-lg,16px);flex-wrap:wrap;align-items:center;gap:12px;padding:10px 14px;font-size:12px;display:flex}.nUhMVa_diagSummaryItem{color:var(--dsw-alias-label-secondary,#6b7280);white-space:nowrap;align-items:center;gap:6px;display:inline-flex}.nUhMVa_diagSummaryMeta{color:var(--dsw-alias-label-tertiary,#9ca3af);font-family:var(--ds-font-family-code,ui-monospace,Menlo,Consolas,monospace);text-overflow:ellipsis;white-space:nowrap;max-width:320px;font-size:11px;overflow:hidden}.nUhMVa_diagSection{background:var(--dsw-alias-settings-card-fill,var(--dsw-alias-bg-layer-1,#fff));border:.5px solid var(--dsw-alias-settings-card-stroke,var(--dsw-alias-border-l4,#00000029));border-radius:var(--dsw-radius-lg,16px);flex-direction:column;gap:8px;padding:12px 14px;display:flex}.nUhMVa_diagSection h3{color:var(--dsw-alias-label-primary,#1f2328);margin:0;font-size:13px;font-weight:600}.nUhMVa_diagCount{color:var(--dsw-alias-label-tertiary,#9ca3af);font-size:11px;font-weight:400}.nUhMVa_diagEmpty{color:var(--dsw-alias-label-secondary,#9ca3af);padding:8px 0;font-size:12px}.nUhMVa_diagBundle{border-top:1px solid var(--dsw-alias-border-l2,#f0f1f3);flex-direction:column;gap:6px;padding-top:8px;display:flex}.nUhMVa_diagBundle:first-of-type{border-top:none;padding-top:0}.nUhMVa_diagRow{flex-wrap:wrap;align-items:center;gap:8px;min-width:0;font-size:12px;line-height:18px;display:flex}.nUhMVa_diagMeta{align-items:baseline;gap:8px;min-width:0;font-size:12px;display:flex}.nUhMVa_diagKey{color:var(--dsw-alias-label-tertiary,#9ca3af);flex-shrink:0;min-width:64px;font-size:11px}.nUhMVa_diagVal{color:var(--dsw-alias-label-primary,#1f2328);font-size:12px;font-weight:500;font-family:var(--ds-font-family-code,ui-monospace,Menlo,Consolas,monospace);overflow-wrap:anywhere;min-width:0}.nUhMVa_diagIndex{background:var(--dsw-alias-bg-layer-2,#f3f4f6);min-width:18px;height:18px;color:var(--dsw-alias-label-secondary,#6b7280);border-radius:9px;flex-shrink:0;justify-content:center;align-items:center;font-size:11px;font-weight:600;display:inline-flex}.nUhMVa_diagArrow{color:var(--dsw-alias-label-tertiary,#9ca3af);flex-shrink:0;font-size:12px}.nUhMVa_diagBadgeOfficial{background:var(--dsw-alias-button-primary-fill,var(--dsw-alias-brand-primary,#4f6ef7));height:18px;color:var(--dsw-alias-label-primary-foreground,#fff);border-radius:9px;flex-shrink:0;align-items:center;padding:0 8px;font-size:11px;font-weight:600;display:inline-flex}.nUhMVa_diagBadgeCommunity{background:var(--dsw-alias-bg-layer-2,#f3f4f6);height:18px;color:var(--dsw-alias-label-secondary,#6b7280);border-radius:9px;flex-shrink:0;align-items:center;padding:0 8px;font-size:11px;display:inline-flex}.nUhMVa_diagBadgeShadow{background:var(--dsw-alias-state-error-primary,#dc2626);height:18px;color:var(--dsw-alias-label-primary-foreground,#fff);border-radius:9px;flex-shrink:0;align-items:center;padding:0 8px;font-size:11px;font-weight:600;display:inline-flex}.nUhMVa_diagBadgeWarn{background:var(--dsw-alias-state-warn-primary,#b45309);height:18px;color:var(--dsw-alias-label-primary-foreground,#fff);white-space:nowrap;border-radius:9px;flex-shrink:0;align-items:center;padding:0 8px;font-size:11px;font-weight:600;display:inline-flex}.nUhMVa_diagBadgeInfo{background:var(--dsw-alias-bg-layer-2,#f3f4f6);height:18px;color:var(--dsw-alias-label-secondary,#6b7280);white-space:nowrap;border-radius:9px;flex-shrink:0;align-items:center;padding:0 8px;font-size:11px;display:inline-flex}.nUhMVa_diagList{flex-direction:column;gap:6px;display:flex}.nUhMVa_sectionOverview{color:var(--dsw-alias-label-tertiary,#8b93a1);text-overflow:ellipsis;white-space:nowrap;max-width:100%;padding:2px 0 6px;font-size:12px;line-height:18px;overflow:hidden}.nUhMVa_diagAlert{color:var(--dsw-alias-state-warn-primary,#b45309)}.nUhMVa_ovRow{background:var(--dsw-alias-bg-layer-2,#f7f8fa);border-radius:8px;flex-wrap:wrap;align-items:center;gap:8px;min-width:0;padding:6px 10px;font-size:12px;line-height:18px;display:flex}.nUhMVa_ovArrow{color:var(--dsw-alias-label-tertiary,#9ca3af);flex-shrink:0;font-size:12px}.nUhMVa_ovByTag{background:var(--dsw-alias-button-primary-fill,var(--dsw-alias-brand-primary,#4f6ef7));height:18px;color:var(--dsw-alias-label-primary-foreground,#fff);text-overflow:ellipsis;white-space:nowrap;border-radius:9px;flex-shrink:0;align-items:center;max-width:260px;padding:0 8px;font-size:11px;font-weight:600;display:inline-flex;overflow:hidden}.nUhMVa_ovFrom{color:var(--dsw-alias-label-secondary,#6b7280);text-overflow:ellipsis;white-space:nowrap;min-width:0;font-size:12px;overflow:hidden}.nUhMVa_orphRow{background:var(--dsw-alias-bg-layer-2,#f7f8fa);border-radius:8px;flex-wrap:wrap;align-items:center;gap:8px;min-width:0;padding:6px 10px;font-size:12px;line-height:18px;display:flex}.nUhMVa_orphBadge{background:var(--dsw-alias-state-warn-primary,#b45309);height:18px;color:var(--dsw-alias-label-primary-foreground,#fff);white-space:nowrap;border-radius:9px;flex-shrink:0;align-items:center;padding:0 8px;font-size:11px;font-weight:600;display:inline-flex}.nUhMVa_dragHandle{width:20px;height:20px;color:var(--dsw-alias-label-tertiary,#9ca3af);cursor:grab;-webkit-user-select:none;user-select:none;flex-shrink:0;justify-content:center;align-items:center;font-size:12px;line-height:20px;display:inline-flex}.nUhMVa_dragOver{outline:2px dashed var(--dsw-alias-brand-primary,#4f6ef7);outline-offset:2px;background:var(--dsw-alias-bg-layer-2,#f0f2f8);border-radius:8px}.nUhMVa_dragging{opacity:.45;background:var(--dsw-alias-bg-layer-2,#f3f4f6)}.nUhMVa_collapseHead{font:inherit;color:var(--dsw-alias-label-primary,#1f2328);cursor:pointer;text-align:left;background:0 0;border:none;align-items:center;gap:8px;width:100%;padding:0;font-size:13px;font-weight:600;display:flex}.nUhMVa_collapseIcon{color:var(--dsw-alias-label-secondary,#6b7280);flex-shrink:0;display:inline-flex}.nUhMVa_collapseTitle{flex:0 auto;min-width:0}.nUhMVa_collapseHead .nUhMVa_diagCount{flex-shrink:0}.nUhMVa_collapseBody{border-top:1px solid var(--dsw-alias-border-l2,#f0f1f3);overflow-wrap:anywhere;flex-direction:column;gap:10px;min-width:0;margin-top:8px;padding-top:10px;display:flex}.nUhMVa_orderPanel{flex-direction:column;gap:10px;min-width:0;display:flex}.nUhMVa_panelNote{color:var(--dsw-alias-label-secondary,#6b7280);margin:0;font-size:12px;line-height:18px}.nUhMVa_panelActions{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.nUhMVa_presetList{flex-direction:column;gap:6px;min-width:0;display:flex}.nUhMVa_presetRow{background:var(--dsw-alias-bg-layer-2,#f7f8fa);border-radius:8px;flex-direction:column;align-items:stretch;gap:6px;min-width:0;max-width:100%;padding:8px 10px;font-size:12px;line-height:18px;display:flex}.nUhMVa_presetName{text-overflow:ellipsis;white-space:nowrap;min-width:0;font-size:13px;font-weight:600;overflow:hidden}.nUhMVa_snapList{flex-direction:column;gap:6px;min-width:0;display:flex}.nUhMVa_snapRow{background:var(--dsw-alias-bg-layer-2,#f7f8fa);border-radius:8px;flex-direction:column;align-items:stretch;gap:8px;padding:10px 12px;font-size:12px;line-height:18px;display:flex}.nUhMVa_snapMeta{flex-wrap:wrap;align-items:center;gap:8px;min-width:0;display:flex}.nUhMVa_snapConfirmText{color:var(--dsw-alias-state-warn-primary,#b45309);margin:0;font-size:12px;line-height:18px}.nUhMVa_confirmRow{flex-wrap:wrap;align-items:center;gap:6px;display:inline-flex}.nUhMVa_fixFallback{flex-direction:column;gap:6px;margin:8px 0;display:flex}.nUhMVa_fixFallbackText,.nUhMVa_envEditor{box-sizing:border-box;width:100%;font-family:var(--ds-font-family-code,ui-monospace,Menlo,Consolas,monospace);color:var(--dsw-alias-label-primary,#1f2328);background:var(--dsw-alias-bg-layer-2,#f3f4f6);border:1px solid var(--dsw-alias-border-l2,#e5e7eb);resize:vertical;white-space:pre-wrap;word-break:break-all;border-radius:6px;padding:8px 10px;font-size:11px;line-height:16px}.nUhMVa_setCard{border:.5px solid var(--dsw-alias-settings-card-stroke,var(--dsw-alias-border-l4,#00000029));background:var(--dsw-alias-bg-layer-3,#fff);border-radius:var(--dsw-radius-lg,16px);list-style:none;transition:border-color .16s,background .16s}.nUhMVa_setCard:hover{border-color:var(--dsw-alias-label-dimmed,#c8ccd4)}.nUhMVa_setCardOpen{background:var(--dsw-alias-bg-layer-2,#f7f8fa);border-color:var(--dsw-alias-label-dimmed,#c8ccd4)}.nUhMVa_setHeader{-webkit-appearance:none;appearance:none;width:100%;font:inherit;color:inherit;text-align:left;cursor:pointer;border-radius:var(--dsw-radius-lg,16px);background:0 0;border:0;align-items:center;gap:12px;padding:14px 16px;display:flex}.nUhMVa_setHeader:focus-visible{outline:2px solid var(--dsw-alias-brand-primary,#4f6ef7);outline-offset:-2px}.nUhMVa_setHeadText{flex-direction:column;flex:1;gap:4px;min-width:0;display:flex}.nUhMVa_setName{color:var(--dsw-alias-label-primary,#1f2328);font-size:15px;font-weight:600;line-height:1.4}.nUhMVa_setDesc{color:var(--dsw-alias-label-tertiary,#8b93a1);font-size:13px;line-height:1.5}.nUhMVa_setChevron{color:var(--dsw-alias-label-tertiary,#8b93a1);flex:none;transition:transform .16s;display:inline-flex}.nUhMVa_setChevronOpen{transform:rotate(180deg)}.nUhMVa_setBody{border-top:1px solid var(--dsw-alias-border-l2,#e5e7eb);margin:0 16px;padding-bottom:8px}.nUhMVa_setRow{align-items:center;gap:12px;padding:12px 0;display:flex}.nUhMVa_setRow+.nUhMVa_setRow{border-top:1px solid var(--dsw-alias-border-l2,#e5e7eb)}.nUhMVa_setLabelBox{flex-direction:column;flex:1;gap:3px;min-width:0;display:flex}.nUhMVa_setLabel{font-size:13px;line-height:20px}.nUhMVa_setHint{color:var(--dsw-alias-label-tertiary,#8b93a1);font-size:12px;line-height:18px}.nUhMVa_setAdvanced{border-bottom:1px solid var(--dsw-alias-border-l2,#e5e7eb)}.nUhMVa_setAdvancedHead{-webkit-appearance:none;appearance:none;width:100%;font:inherit;color:inherit;text-align:left;cursor:pointer;background:0 0;border:0;align-items:center;gap:12px;padding:12px 0;display:flex}.nUhMVa_setAdvancedHead:focus-visible{outline:2px solid var(--dsw-alias-brand-primary,#4f6ef7);outline-offset:-2px}.nUhMVa_setAdvancedBody{padding-bottom:4px}.nUhMVa_setConfirm{border-top:1px solid var(--dsw-alias-border-l2,#e5e7eb);flex-direction:column;gap:8px;padding:12px 0 4px;display:flex}.nUhMVa_setCheck{cursor:pointer;align-items:center;gap:8px;font-size:12px;line-height:18px;display:flex}.nUhMVa_setActions{border-top:1px solid var(--dsw-alias-border-l2,#e5e7eb);justify-content:flex-end;align-items:center;gap:8px;padding:12px 0 4px;display:flex}.nUhMVa_setInlineActions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:6px;display:flex}.nUhMVa_setProxyEditor{border-top:1px solid var(--dsw-alias-border-l2,#e5e7eb);flex-wrap:wrap;align-items:flex-end;gap:10px;padding:12px 0;display:flex}.nUhMVa_setProxyLabel{min-width:180px;color:var(--dsw-alias-label-secondary,#6b7280);flex-direction:column;flex:1;gap:5px;font-size:12px;line-height:18px;display:flex}.nUhMVa_setProxyInput{box-sizing:border-box;border:1px solid var(--dsw-alias-border-l2,#d1d5db);background:var(--dsw-alias-bg-layer-3,#fff);width:100%;min-width:0;color:var(--dsw-alias-label-primary,#1f2328);font:inherit;border-radius:7px;padding:6px 8px;font-size:12px;line-height:18px}.nUhMVa_setProxyInput:focus{border-color:var(--dsw-alias-brand-primary,#4f6ef7);outline:2px solid color-mix(in srgb,var(--dsw-alias-brand-primary,#4f6ef7) 18%,transparent)}.nUhMVa_setDanger{color:var(--dsw-alias-state-error-primary,#dc2626)}.nUhMVa_setSeg{border-radius:var(--dsw-radius-md,12px);background:var(--dsw-alias-bg-module-platform,#f4f5f7);border:none;flex-shrink:0;gap:2px;padding:3px;display:inline-flex}.nUhMVa_setSegBtn{font:inherit;border-radius:var(--dsw-radius-sm,8px);height:26px;color:var(--dsw-alias-label-secondary,#5c6570);cursor:pointer;background:0 0;border:none;padding:0 10px;font-size:12px;line-height:18px}.nUhMVa_setSegBtn:disabled{cursor:default;opacity:.5}.nUhMVa_setSegOn{background:var(--dsw-alias-bg-layer-3,#fff);color:var(--dsw-alias-label-primary,#1f2328);box-shadow:0 0 0 .5px var(--dsw-alias-border-l3,#0000001f);font-weight:600}.nUhMVa_setBetaTag{background:var(--dsw-alias-bg-module-platform,#eef0f4);color:var(--dsw-alias-label-secondary,#6b7280);border-radius:9px;margin-left:6px;padding:0 6px;font-size:11px;font-weight:600;line-height:17px}.nUhMVa_commentsLink{cursor:pointer;white-space:nowrap;color:var(--dsw-alias-label-tertiary,#8b93a1);background:0 0;border:0;padding:0;font-size:12px;line-height:18px}.nUhMVa_commentsLink:hover{color:var(--dsw-alias-brand-primary,#4f6ef7)}.nUhMVa_footActions{flex-shrink:0;align-items:center;gap:8px;display:inline-flex}.nUhMVa_favoriteBtn{cursor:pointer;color:var(--dsw-alias-label-secondary,#9ca3af);background:0 0;border:0;align-items:center;padding:0;display:inline-flex}.nUhMVa_favoriteMark{transform-box:fill-box;transform-origin:50% 0;display:block}.nUhMVa_favoriteBtn:hover,.nUhMVa_favoriteOn{color:var(--dsw-alias-brand-primary,#4f6ef7)}.nUhMVa_cardMore{cursor:pointer;font:inherit;letter-spacing:1px;color:var(--dsw-alias-label-secondary,#9ca3af);background:0 0;border:0;padding:0 2px;font-size:14px;line-height:16px}.nUhMVa_cardMore:hover{color:var(--dsw-alias-label-primary,#1f2328)}.nUhMVa_blockedTabHint{color:var(--dsw-alias-label-secondary,#9ca3af);margin:0 0 12px;font-size:12px;line-height:18px}.nUhMVa_blockedMissing{flex-direction:column;gap:4px;margin-top:8px;display:flex}.nUhMVa_blockedBarRow{justify-content:space-between;align-items:center;gap:8px;min-width:0;display:flex}.nUhMVa_blockedBarName{text-overflow:ellipsis;white-space:nowrap;min-width:0;font-size:13px;line-height:20px;overflow:hidden}.nUhMVa_blockedBarUndo{cursor:pointer;font:inherit;color:var(--dsw-alias-brand-primary,#4f6ef7);background:0 0;border:0;padding:0;font-size:12px;line-height:18px}.nUhMVa_commentsNote{color:var(--dsw-alias-label-secondary,#9ca3af);margin:0 0 8px;font-size:11px;line-height:16px}.nUhMVa_commentsGithubPrompt{border:1px solid color-mix(in srgb,var(--dsw-alias-brand-primary,#4f6ef7) 24%,transparent);background:color-mix(in srgb,var(--dsw-alias-brand-primary,#4f6ef7) 6%,transparent);border-radius:8px;margin:0 0 10px;padding:10px}.nUhMVa_commentsGithubHint{color:var(--dsw-alias-label-primary,#1f2328);margin:0 0 8px;font-size:12px;line-height:17px}.nUhMVa_commentsGithubAction{box-sizing:border-box;border:1px solid var(--dsw-alias-brand-primary,#4f6ef7);min-height:28px;color:var(--dsw-alias-brand-primary,#4f6ef7);border-radius:6px;justify-content:center;align-items:center;padding:5px 10px;font-size:12px;font-weight:600;line-height:16px;text-decoration:none;display:inline-flex}.nUhMVa_commentsGithubAction:hover{background:color-mix(in srgb,var(--dsw-alias-brand-primary,#4f6ef7) 9%,transparent)}.nUhMVa_commentsStatus{color:var(--dsw-alias-label-secondary,#9ca3af);margin:0;font-size:12px}.nUhMVa_commentsStatus:empty{display:none}.nUhMVa_commentsError{color:var(--dsw-alias-label-primary,#1f2328);margin:0 0 8px;font-size:12px}.nUhMVa_commentsFail{flex-direction:column;align-items:flex-start;gap:8px;padding:12px 0;display:flex}.nUhMVa_commentsMount{width:100%;min-height:240px;max-height:56vh;overflow:auto}.nUhMVa_commentsMount iframe{width:100%}.nUhMVa_notesLink{font:inherit;color:var(--dsw-alias-label-secondary,#6b7280);cursor:pointer;text-align:left;background:0 0;border:none;margin:2px 0 0;padding:0;font-size:12px;line-height:18px;display:block}.nUhMVa_notesLink:hover{color:var(--dsw-alias-label-primary,#1f2328)}.nUhMVa_notesModalWide{width:min(640px,92vw);max-width:min(640px,92vw)}.nUhMVa_notesBody{overscroll-behavior:contain;flex-direction:column;flex:0 auto;gap:10px;min-width:0;max-height:min(60vh,520px);padding:0 2px 8px 0;display:flex;overflow-y:auto}.nUhMVa_notesRange{align-items:center;gap:8px;margin-bottom:4px;font-size:12px;line-height:18px;display:flex}.nUhMVa_notesArrow{color:var(--dsw-alias-label-tertiary,#8b93a1)}.nUhMVa_notesMeta{letter-spacing:.02em;text-transform:uppercase;color:var(--dsw-alias-label-secondary,#6b7280);flex-wrap:wrap;align-items:baseline;gap:6px;margin-top:4px;font-size:12px;line-height:18px;display:flex}.nUhMVa_notesBody>.nUhMVa_notesMeta:first-child{margin-top:0}.nUhMVa_notesPre{white-space:pre-wrap;word-break:break-word;background:var(--dsw-alias-bg-layer-2,#eef0f4);border-radius:8px;max-height:40vh;margin:0;padding:10px 12px;font-size:13px;line-height:20px;overflow:auto}.nUhMVa_notesRendered{flex-direction:column;gap:8px;min-width:0;display:flex}.nUhMVa_notesImg{border-radius:6px;max-width:100%;height:auto;margin:4px 0;display:block}.nUhMVa_notesH{margin-top:4px;font-size:13px;font-weight:650;line-height:20px}.nUhMVa_notesP{font-size:13px;line-height:20px}.nUhMVa_notesQuote{border-left:3px solid var(--dsw-alias-border-l3,#d9dde3);background:var(--dsw-alias-bg-layer-2,#f7f8fa);color:var(--dsw-alias-label-primary,#1f2328);border-radius:0 6px 6px 0;margin:0;padding:8px 10px;font-size:13px;line-height:20px}.nUhMVa_notesFence{background:var(--dsw-alias-bg-layer-2,#eef0f4);font-family:var(--ds-font-family-code,ui-monospace,Menlo,Consolas,monospace);white-space:pre;border-radius:8px;margin:0;padding:10px 12px;font-size:12px;line-height:18px;overflow-x:auto}.nUhMVa_notesFence code{font:inherit;background:0 0;padding:0}.nUhMVa_notesBullets{flex-direction:column;gap:4px;margin:0;padding-left:18px;font-size:13px;line-height:20px;display:flex}.nUhMVa_notesA{color:var(--dsw-alias-brand-primary,#4f6ef7);text-decoration:none}.nUhMVa_notesA:hover{text-decoration:underline}.nUhMVa_notesCode{font-family:var(--ds-font-family-code,ui-monospace,Menlo,Consolas,monospace);background:var(--dsw-alias-bg-layer-2,#eef0f4);border-radius:5px;padding:1px 5px;font-size:12px}.nUhMVa_notesList{flex-direction:column;margin:0;padding:0;list-style:none;display:flex}.nUhMVa_notesRow{border-bottom:1px solid var(--dsw-alias-border-l2,#e5e7eb);align-items:baseline;gap:12px;padding:6px 0;display:flex}.nUhMVa_notesRow:last-child{border-bottom:none}.nUhMVa_notesDate{color:var(--dsw-alias-label-tertiary,#8b93a1);font-variant-numeric:tabular-nums;flex-shrink:0;font-size:12px}.nUhMVa_notesMsg{word-break:break-word;word-break:break-word;-webkit-line-clamp:3;-webkit-box-orient:vertical;min-width:0;font-size:13px;line-height:20px;display:-webkit-box;overflow:hidden}.nUhMVa_notesSha{color:var(--dsw-alias-label-secondary,#6b7280);font-variant-numeric:tabular-nums;flex-shrink:0;margin-left:auto;font-size:12px;text-decoration:none}.nUhMVa_recoverySummary{color:var(--dsw-alias-state-error-primary,#dc2626);word-break:break-word;align-items:flex-start;gap:8px;margin-bottom:8px;font-size:12px;display:flex}.nUhMVa_recoveryHint{color:var(--dsw-alias-label-secondary,#6b7280);margin:8px 0;font-size:12px}.nUhMVa_recoveryList{border:1px solid var(--dsw-alias-border-l2,#e5e7eb);border-radius:8px;flex-direction:column;max-height:320px;display:flex;overflow-x:hidden;overflow-y:auto}.nUhMVa_recoveryRow{border-top:1px solid var(--dsw-alias-border-l2,#eef0f4);align-items:flex-start;gap:8px;padding:6px 10px;font-size:12px;display:flex}.nUhMVa_recoveryRow:first-child{border-top:none}.nUhMVa_recoveryBlamed{box-shadow:inset 3px 0 0 var(--dsw-alias-state-error-primary,#dc2626);background:#dc262612}.nUhMVa_recoveryMuted{opacity:.6}.nUhMVa_recoveryName{word-break:break-word;flex-direction:column;gap:2px;min-width:0;display:flex}.nUhMVa_recoveryReason{color:var(--dsw-alias-state-error-primary,#dc2626);word-break:break-word;font-size:11px}.nUhMVa_recoveryNote{color:var(--dsw-alias-label-tertiary,#8b93a1);word-break:break-word;margin-top:8px;font-size:11px}.nUhMVa_recoveryBadge{background:var(--dsw-alias-bg-layer-2,#eef0f4);color:var(--dsw-alias-label-secondary,#6b7280);border-radius:5px;margin-left:6px;padding:0 5px;font-size:10px}.nUhMVa_recoveryLog{color:var(--dsw-alias-label-secondary,#6b7280);margin:4px 0 8px;font-size:11px}.nUhMVa_recoveryLog pre{white-space:pre-wrap;word-break:break-word;max-height:180px;margin:6px 0 0;overflow:auto}.nUhMVa_notesSha:hover{color:var(--dsw-alias-label-primary,#1f2328);text-decoration:underline}.nUhMVa_notesVer{color:inherit;font-weight:600;text-decoration:none}.nUhMVa_notesVer:hover{text-decoration:underline}.nUhMVa_notesSourceLink{color:var(--dsw-alias-brand-primary,#4f6ef7);white-space:nowrap;text-decoration:none}.nUhMVa_notesSourceLink:hover{text-decoration:underline}.nUhMVa_migrationSources{flex-direction:column;gap:8px;margin-top:4px;display:flex}.nUhMVa_migrationSource{border:1px solid var(--dsw-alias-border-l2,#e5e7eb);border-radius:8px;flex-direction:column;gap:4px;padding:10px 12px;display:flex}.nUhMVa_migrationSource code{font-size:12px;font-family:var(--ds-font-family-code,ui-monospace,Menlo,Consolas,monospace);overflow-wrap:anywhere}.nUhMVa_migrationLabel{color:var(--dsw-alias-label-secondary,#9ca3af);font-size:11px}.nUhMVa_migrationArrow{text-align:center;color:var(--dsw-alias-label-secondary,#9ca3af)}.nUhMVa_migrationWarning{color:var(--dsw-alias-state-warn-primary,#b45309);align-items:flex-start;gap:6px;margin:12px 0 0;font-size:12px;line-height:18px;display:flex}.nUhMVa_migrationNote{color:var(--dsw-alias-label-secondary,#6b7280);margin:12px 0 0;font-size:12px;line-height:18px}.nUhMVa_sourceRepo{color:var(--dsw-alias-label-secondary,#5c6570);align-self:flex-end;align-items:center;gap:2px;font-size:13px;line-height:20px;text-decoration:none;display:inline-flex}.nUhMVa_sourceRepo:hover{color:var(--dsw-alias-brand-primary,#4f6ef7);text-decoration:underline}.nUhMVa_sourceRepo:focus-visible{outline:2px solid var(--dsw-alias-brand-primary,#4f6ef7);outline-offset:2px;border-radius:4px}.nUhMVa_updateChecks{margin:12px 0;font-size:13px}.nUhMVa_updateChecks summary{cursor:pointer}.nUhMVa_updateChecksSummary{opacity:.7;margin-left:8px}.nUhMVa_updateChecksControls{flex-wrap:wrap;align-items:center;gap:12px;margin-top:12px;display:flex}.nUhMVa_updateChecksToggle{align-items:center;gap:8px;display:inline-flex}.nUhMVa_updateChecksHint{opacity:.7;margin:8px 0}.nUhMVa_updateChecksList{margin:12px 0;padding:0;list-style:none}.nUhMVa_updateChecksList li{flex-wrap:wrap;align-items:center;gap:12px;padding:8px 0;display:flex}.nUhMVa_updateChecksPackage{overflow-wrap:anywhere;flex-direction:column;flex:1;min-width:0;display:flex}.nUhMVa_updateChecksPackage>span{opacity:.7;font-size:12px}.nUhMVa_updateChecksInterval{align-items:center;gap:8px;display:inline-flex}.nUhMVa_updateChecksInterval select{color:inherit;background:var(--dsw-alias-bg-layer-1,#fff);border:1px solid var(--dsw-alias-border-l2,#e5e7eb);font:inherit;border-radius:6px;padding:4px 8px}";
|
|
4409
|
+
const css = ".nUhMVa_root{min-width:0;height:100%;color:var(--dsw-alias-label-primary,#1f2328);flex-direction:column;display:flex;position:relative;container-type:inline-size}.nUhMVa_head{flex-direction:column;gap:8px;padding:0 4px 4px;display:flex}.nUhMVa_headTop{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:6px 16px;min-width:0;display:flex}.nUhMVa_headTop>.nUhMVa_titleRow>.nUhMVa_sub{max-width:100%}.nUhMVa_title{white-space:nowrap;color:var(--dsw-alias-label-primary,#1f2328);margin:0;font-size:15px;font-weight:600;line-height:22px}.nUhMVa_sub{min-width:0;color:var(--dsw-alias-label-tertiary,#8b93a1);flex:auto;margin:0;font-size:12px;line-height:18px}.nUhMVa_sidebarTip{color:var(--dsw-alias-label-secondary,#5c6570);flex-wrap:wrap;align-items:center;gap:6px 8px;margin:0;font-size:12px;line-height:18px;display:flex}.nUhMVa_updateCheckNotice{color:var(--dsw-alias-label-secondary,#5c6570);flex-wrap:wrap;align-items:center;gap:0 6px;font-size:12px;line-height:18px;display:flex}.nUhMVa_submitLink{color:var(--dsw-alias-label-tertiary,#8b93a1);white-space:nowrap;font-size:12px;line-height:18px;text-decoration:none}.nUhMVa_submitLink:hover{color:var(--dsw-alias-brand-primary,#4f6ef7);text-decoration:underline}.nUhMVa_tabs{flex-wrap:wrap;align-items:center;gap:4px;padding:0 0 2px;display:flex;position:relative}.nUhMVa_tab{height:32px;font:inherit;color:var(--dsw-alias-label-secondary,#5c6570);border-radius:var(--dsw-radius-sm,#8px);cursor:pointer;white-space:nowrap;background:0 0;border:none;align-items:center;padding:0 10px;font-size:13px;line-height:20px;transition:background-color .12s,color .12s;display:inline-flex;position:relative}.nUhMVa_tab:hover:not(.nUhMVa_on){background:var(--dsw-alias-interactive-bg-hover,#2631480f);color:var(--dsw-alias-label-primary,#1f2328)}.nUhMVa_tab.nUhMVa_on{color:var(--dsw-alias-label-primary,#1f2328);font-weight:600}.nUhMVa_tab.nUhMVa_on:after{content:\"\";background:var(--dsw-alias-label-primary,#1f2328);border-radius:1px;height:2px;position:absolute;bottom:3px;left:10px;right:10px}.nUhMVa_subTabs{flex-wrap:wrap;align-items:center;gap:4px;margin:0 0 2px;display:flex}.nUhMVa_banner{background:var(--dsw-alias-bg-layer-2,#fdf3e3);border:1px solid var(--dsw-alias-border-l2,#f3e3c3);border-radius:8px;align-items:center;gap:8px;margin:0;padding:8px 12px;font-size:12px;display:flex}.nUhMVa_bannerIcon{color:var(--dsw-alias-label-secondary,#6b7280);flex-shrink:0}.nUhMVa_bannerHint{color:var(--dsw-alias-label-tertiary,#8b93a1);cursor:help;display:inline-flex}.nUhMVa_body{overflow-anchor:none;flex:1;padding:8px 4px 64px;scroll-padding-bottom:64px;overflow-x:hidden;overflow-y:auto}.nUhMVa_stickyHead{z-index:5;background:var(--dshm-sticky-bg,var(--dsw-alias-bg-base,#fff));position:sticky;top:-1px}.nUhMVa_stickyHead:before{content:\"\";background:inherit;pointer-events:none;height:14px;position:absolute;bottom:100%;left:0;right:0}.nUhMVa_cats{margin:0 -4px 2px;padding:0 4px 4px}.nUhMVa_catsRow{align-items:flex-start;gap:6px;display:flex;position:relative}.nUhMVa_star{color:var(--dsw-alias-label-tertiary,#8b93a1);white-space:nowrap;flex:none;font-size:11px;line-height:18px}.nUhMVa_top{z-index:20;background:var(--dsw-alias-bg-layer-1,#fff);box-shadow:var(--dsw-shadow-lv1,0 4px 12px #1f232814);border-radius:99px;display:inline-flex;position:absolute;bottom:18px;right:18px}.nUhMVa_topBtn{border-radius:99px;width:38px;height:38px;padding:0}.nUhMVa_tag{border:.5px solid var(--dsw-alias-border-l3,#d9dde3);color:var(--dsw-alias-label-secondary,#5c6570);white-space:nowrap;border-radius:999px;flex-shrink:0;padding:1px 8px;font-size:11px;font-weight:500;line-height:17px}.nUhMVa_hostRequirement{border:.5px solid var(--dsw-alias-border-l3,#d9dde3);color:var(--dsw-alias-label-secondary,#5c6570);text-overflow:ellipsis;white-space:nowrap;border-radius:999px;min-width:0;max-width:18em;padding:1px 8px;font-size:11px;font-weight:500;line-height:17px;overflow:hidden}.nUhMVa_hostRequirementBad{border-color:var(--dsw-alias-state-error-primary,#dc2626);color:var(--dsw-alias-state-error-primary,#dc2626);background:#dc262614}.nUhMVa_hostFilterNote{color:var(--dsw-alias-label-tertiary,#8b93a1);margin-top:6px;font-size:12px;line-height:18px}.nUhMVa_okState{color:var(--dsw-alias-state-success-primary,#16a34a);white-space:nowrap;font-size:12px;font-weight:600}.nUhMVa_catsWrap{flex-wrap:wrap;flex:1;align-items:center;gap:6px;min-width:0;display:flex}.nUhMVa_catsCollapsed{max-height:62px;overflow:hidden}.nUhMVa_catsToggle.nUhMVa_catsToggle{height:26px;min-height:26px;color:var(--dsw-alias-label-secondary,#5c6570);flex:none;padding:0 6px}.nUhMVa_shots{-webkit-overflow-scrolling:touch;scrollbar-width:thin;gap:8px;margin:6px 0 8px;padding:2px 0 6px;display:flex;overflow-x:auto}.nUhMVa_shot{object-fit:cover;border-radius:var(--dsw-radius-lg,16px);border:.5px solid var(--dsw-alias-border-l3,#d9dde3);background:var(--dsw-alias-bg-layer-2,#f3f4f6);cursor:pointer;flex:none;width:220px;height:150px}.nUhMVa_cardShots{-webkit-overflow-scrolling:touch;scrollbar-width:thin;gap:6px;margin:0 0 6px;padding:0 0 2px;display:flex;overflow-x:auto}.nUhMVa_cardShot{object-fit:contain;border-radius:var(--dsw-radius-lg,16px);border:.5px solid var(--dsw-alias-border-l3,#d9dde3);background:var(--dsw-alias-bg-layer-2,#f3f4f6);cursor:pointer;flex:none;width:132px;height:88px;display:block}.nUhMVa_lightbox{z-index:10000;cursor:zoom-out;background:#000000d9;justify-content:center;align-items:center;display:flex;position:fixed;top:0;bottom:0;left:0;right:0}.nUhMVa_lightboxImg{object-fit:contain;cursor:default;border-radius:4px;max-width:90vw;max-height:85vh}.nUhMVa_lightboxClose{color:#fff;cursor:pointer;background:#ffffff1f;border:none;border-radius:99px;place-items:center;width:36px;height:36px;font-size:22px;line-height:1;display:grid;position:absolute;top:16px;right:16px}.nUhMVa_lightboxClose:hover{background:#ffffff38}.nUhMVa_lightboxNav{color:#fff;cursor:pointer;background:#ffffff1f;border:none;border-radius:99px;place-items:center;width:44px;height:44px;display:grid;position:absolute;top:50%;transform:translateY(-50%)}.nUhMVa_lightboxNav:hover{background:#ffffff38}.nUhMVa_lightboxPrev{left:16px}.nUhMVa_lightboxNext{right:16px}.nUhMVa_lightboxDots{gap:8px;display:flex;position:absolute;bottom:20px;left:50%;transform:translate(-50%)}.nUhMVa_lightboxDot{cursor:pointer;background:#fff6;border-radius:99px;width:7px;height:7px}.nUhMVa_lightboxDotOn{background:#fff}.nUhMVa_cmd{background:var(--dsw-alias-bg-layer-2,#f3f4f6);font-size:11px;line-height:18px;font-family:var(--ds-font-family-code,ui-monospace,Menlo,Consolas,monospace);word-break:break-all;border-radius:6px;margin:8px 0 0;padding:8px 10px}.nUhMVa_warnLine{color:var(--dsw-alias-state-warn-primary,#b45309);flex-wrap:wrap;align-items:center;gap:4px;margin:0;font-size:12px;font-weight:600;line-height:18px;display:flex}.nUhMVa_modalNote{color:var(--dsw-alias-label-tertiary,#8b93a1);align-items:center;gap:4px;margin:12px 0 0;font-size:12px;line-height:18px;display:flex}.nUhMVa_confirmBody{flex-direction:column;gap:12px;display:flex}.nUhMVa_confirmModal{width:min(560px,92vw);max-width:min(560px,92vw);max-height:100%}.nUhMVa_confirmContent{flex:auto;min-height:0;overflow:hidden}.nUhMVa_confirmContent>:first-child{flex-shrink:0}.nUhMVa_confirmContent>:last-child{overscroll-behavior:contain;flex:auto;min-height:0;margin-top:0;overflow-y:auto}.nUhMVa_confirmModal>:last-child{flex-shrink:0}.nUhMVa_confirmBody .nUhMVa_byline{flex-wrap:nowrap;margin-top:0}.nUhMVa_confirmBody .nUhMVa_owner{min-width:0}.nUhMVa_confirmBody .nUhMVa_shots{margin:0;padding:0}.nUhMVa_confirmBody .nUhMVa_modalNote{margin:0}.nUhMVa_confirmTags{flex-wrap:wrap;gap:6px;display:flex}.nUhMVa_confirmDesc{color:var(--dsw-alias-label-primary,#1f2328);white-space:pre-wrap;margin:0;font-size:13px;line-height:20px}.nUhMVa_confirmFold{border-top:1px solid var(--dsw-alias-border-l2,#e5e7eb);flex-direction:column;gap:8px;padding-top:12px;display:flex}.nUhMVa_confirmPanel{--fold-bg:#f7f8fa;--fold-border:#e7e8ea;--fold-ink:#1c1d1f;--fold-on-ink:#fff;background:var(--fold-bg);border:1px solid var(--fold-border);border-radius:8px}body[data-ds-dark-theme] .nUhMVa_confirmPanel{--fold-bg:var(--dsw-alias-bg-layer-3,#353638);--fold-border:var(--dsw-alias-border-l2,#ffffff1f);--fold-ink:var(--dsw-alias-label-primary,#f9fafb);--fold-on-ink:var(--dsw-alias-bg-layer-2,#2c2c2e)}.nUhMVa_confirmPanelRow{box-sizing:border-box;width:100%;min-height:40px;color:inherit;font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;border-radius:8px;align-items:center;gap:8px;padding:0 12px;display:flex}.nUhMVa_confirmPanelRow:focus-visible{outline:2px solid var(--dsw-alias-state-business-primary,#4176e6);outline-offset:-2px}.nUhMVa_confirmPanelIcon{color:var(--fold-ink);flex:none;display:inline-flex}.nUhMVa_confirmTerminalIcon{color:var(--fold-ink);flex:none;display:block}.nUhMVa_confirmTerminalPrompt{stroke:var(--fold-on-ink);fill:none}.nUhMVa_confirmTerminalDot{fill:var(--fold-on-ink)}.nUhMVa_confirmPanelTitle{min-width:0;color:var(--fold-ink);flex:1 0 auto;font-size:13px;line-height:20px}.nUhMVa_confirmPanelRowStatic{cursor:default}.nUhMVa_confirmPanel[data-state=unchecked]{background:color-mix(in srgb, var(--fold-bg) 35%, transparent);border-style:dashed}.nUhMVa_confirmPanelMeta{min-width:0;color:var(--dsw-alias-label-secondary,#6b7280);text-align:right;flex:0 auto;font-size:12px;line-height:20px}.nUhMVa_confirmPanelChevron{color:var(--dsw-alias-label-tertiary,#8b93a1);flex:none}.nUhMVa_confirmPanelBody{flex-direction:column;gap:10px;padding:0 12px 10px 16px;display:flex}.nUhMVa_confirmCmd{align-items:center;gap:8px;display:flex}.nUhMVa_confirmPanel .nUhMVa_cmd{background:0 0;border-radius:0;flex:1;min-width:0;margin:0;padding:0;line-height:24px}.nUhMVa_confirmCopied{color:var(--dsw-alias-state-success-primary,#22c55e);white-space:nowrap;flex:none;font-size:12px;line-height:24px}.nUhMVa_confirmCopy{width:24px;height:24px;color:var(--fold-ink,#1c1d1f);cursor:pointer;background:0 0;border:0;border-radius:6px;flex:none;justify-content:center;align-items:center;padding:0;display:inline-flex}.nUhMVa_confirmCopy:hover{background:color-mix(in srgb, var(--fold-ink,#1c1d1f) 8%, transparent)}.nUhMVa_confirmCopy:focus-visible{outline:2px solid var(--dsw-alias-state-business-primary,#4176e6);outline-offset:1px}.nUhMVa_confirmPanel .nUhMVa_caps{gap:6px;padding:0}.nUhMVa_confirmPanel .nUhMVa_caps .nUhMVa_capChip{background:var(--fold-on-ink,#fff);border:1px solid var(--fold-border,#e7e8ea);color:var(--fold-ink,#1c1d1f);border-radius:999px;padding:2px 8px;font-size:12px;line-height:18px}.nUhMVa_confirmPanel .nUhMVa_caps .nUhMVa_capChip.nUhMVa_capChipUncommon{background:var(--fold-ink,#1c1d1f);border-color:var(--fold-ink,#1c1d1f);color:var(--fold-on-ink,#fff);font-weight:600}.nUhMVa_capGroups{grid-template-columns:auto minmax(0,1fr);align-items:baseline;gap:8px 12px;display:grid}.nUhMVa_capGroupLabel{color:var(--dsw-alias-label-secondary,#6b7280);white-space:nowrap;font-size:12px;line-height:22px}.nUhMVa_confirmPanel .nUhMVa_caps .nUhMVa_capMuted{border-color:var(--fold-border,#e7e8ea);color:var(--dsw-alias-label-secondary,#6b7280);padding:2px 8px;font-size:12px;line-height:18px}.nUhMVa_capAhead{flex-direction:column;gap:6px;display:flex}.nUhMVa_capAheadLabel{color:var(--dsw-alias-label-secondary,#6b7280);margin:0;font-size:12px;line-height:18px}.nUhMVa_capAheadRow{color:var(--dsw-alias-label-primary,#1f2328);align-items:flex-start;gap:8px;margin:0;font-size:13px;line-height:20px;display:flex}.nUhMVa_capAheadIcon{color:var(--dsw-alias-label-primary,#1f2328);flex:none;margin-top:2px}.nUhMVa_confirmPanel .nUhMVa_caps .nUhMVa_capAddress{color:var(--fold-ink,#1c1d1f);flex-basis:100%;margin:0 0 2px;font-size:13px;line-height:20px}.nUhMVa_capNote,.nUhMVa_confirmPanel .nUhMVa_capCaveat{color:var(--dsw-alias-label-secondary,#6b7280);margin:0;font-size:12px;line-height:18px}.nUhMVa_installCaution{background:color-mix(in srgb, var(--dsw-alias-state-warn-primary,#b45309) 12%, transparent);border-radius:8px;padding:12px 13px}.nUhMVa_installCautionLabel{color:var(--dsw-alias-label-secondary,#6b7280);margin:0 0 8px;font-size:12px;line-height:18px}.nUhMVa_installCautionHead{color:var(--dsw-alias-label-primary,#1f2328);align-items:center;gap:6px;margin:0;font-size:13px;font-weight:600;line-height:20px;display:flex}.nUhMVa_installCautionMark{flex:none;display:block}.nUhMVa_installCautionBody{color:var(--dsw-alias-label-primary,#1f2328);margin:6px 0 0;font-size:13px;line-height:20px}.nUhMVa_installCautionFoot{color:var(--dsw-alias-label-primary,#1f2328);align-items:baseline;gap:12px;margin:0;font-size:13px;line-height:20px;display:flex}.nUhMVa_installCautionLink{white-space:nowrap;color:var(--dsw-alias-link,#3b82f6);flex:none;margin-left:auto;font-size:13px;font-weight:600;line-height:20px;text-decoration:none}.nUhMVa_installCautionLink:hover{text-decoration:underline}.nUhMVa_confirmFineprint{color:var(--dsw-alias-label-secondary,#6b7280);margin:0;font-size:12px;line-height:18px}.nUhMVa_grid{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:10px;display:grid}.nUhMVa_recentBlock{margin:2px 0 4px;padding:0 0 8px}.nUhMVa_recentRow{-webkit-overflow-scrolling:touch;scrollbar-width:thin;scrollbar-color:var(--dsw-alias-border-l3,#d9dde3) transparent;align-items:stretch;gap:8px;margin-bottom:0;padding-bottom:4px;display:flex;overflow-x:auto}.nUhMVa_recentRow::-webkit-scrollbar{height:6px}.nUhMVa_recentRow::-webkit-scrollbar-thumb{background:var(--dsw-alias-border-l3,#d9dde3);border-radius:99px}.nUhMVa_recentRow::-webkit-scrollbar-track{background:0 0}.nUhMVa_recentRow>*{box-sizing:border-box;flex:none;width:min(320px,30.7692% - 7.38462px);min-width:220px}.nUhMVa_recentRow.nUhMVa_recentCollapsed{visibility:hidden;max-height:0;margin-bottom:0;padding-bottom:0;overflow:hidden}.nUhMVa_recentTile{box-sizing:border-box;background:var(--dsw-alias-settings-card-fill,var(--dsw-alias-bg-layer-1,#fff));border:.5px solid var(--dsw-alias-settings-card-stroke,var(--dsw-alias-border-l4,#00000029));border-radius:var(--dsw-radius-lg,16px);flex-direction:column;justify-content:space-between;gap:4px;height:80px;padding:8px 12px;transition:background-image .16s cubic-bezier(.16,1,.3,1);display:flex;overflow:hidden}.nUhMVa_recentTile .nUhMVa_installBtn.nUhMVa_installBtn{height:24px;min-height:24px;padding:0 8px}.nUhMVa_recentAv.nUhMVa_recentAv{flex-shrink:0;width:24px;height:24px;font-size:11px}.nUhMVa_recentTitle{align-items:center;gap:8px;min-width:0;display:flex}.nUhMVa_recentTitle>:last-child{flex-shrink:0}.nUhMVa_recentName{flex:1;min-width:0}.nUhMVa_recentTitle .nUhMVa_nm{font-size:14px;line-height:20px}.nUhMVa_recentBottom{align-items:flex-end;gap:8px;min-width:0;display:flex}.nUhMVa_recentBottom>:last-child{flex-shrink:0;margin-left:auto}.nUhMVa_recentBottom>:not(:last-child){flex:1;min-width:0}.nUhMVa_recentDesc{color:var(--dsw-alias-label-tertiary,#8b93a1);-webkit-line-clamp:2;-webkit-box-orient:vertical;margin:0;font-size:12px;line-height:16px;display:-webkit-box;overflow:hidden}.nUhMVa_recentBottom .nUhMVa_cardMore{padding:0}.nUhMVa_recentHead{justify-content:space-between;align-items:center;gap:8px;margin:10px 0 8px;padding:0 4px;display:flex}.nUhMVa_recentHead .nUhMVa_favoritesSectionHead{margin:0;padding:0;font-weight:600}.nUhMVa_recentToggle{font:inherit;color:inherit;cursor:pointer;background:0 0;border:0;align-items:center;gap:4px;margin:0;padding:0;display:inline-flex}.nUhMVa_recentToggle:hover{color:var(--dsw-alias-label-secondary,#6b7280)}.nUhMVa_recentHide.nUhMVa_recentHide{height:26px;min-height:26px;color:var(--dsw-alias-label-secondary,#6b7280);padding:0 6px}.nUhMVa_recentShow{font:inherit;color:var(--dsw-alias-label-secondary,#8b93a1);cursor:pointer;background:0 0;border:0;align-items:center;gap:4px;margin:0 0 8px;padding:0 4px;font-size:12px;line-height:18px;display:inline-flex}.nUhMVa_recentShow:hover{color:var(--dsw-alias-label-primary,#1f2328)}.nUhMVa_masonry{align-items:flex-start;gap:10px;display:flex}.nUhMVa_masonryCol{flex-direction:column;flex:1;gap:10px;min-width:0;display:flex}.nUhMVa_masonryInstalled,.nUhMVa_masonryInstalled .nUhMVa_masonryCol{gap:14px}.nUhMVa_masonry>.nUhMVa_masonryCol>*{align-self:stretch;min-width:0}@media (max-width:680px){.nUhMVa_masonry{flex-direction:column}.nUhMVa_masonryCol{width:100%}.nUhMVa_grid{grid-template-columns:minmax(0,1fr)}}.nUhMVa_swatches{border:1px solid var(--dsw-alias-border-l2,#e5e7eb);border-radius:8px;gap:0;height:34px;display:flex;overflow:hidden}.nUhMVa_themesGrid{margin-bottom:12px}.nUhMVa_swatches i{flex:1}.nUhMVa_themeToolbar{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px;padding:0 4px 12px;display:grid}.nUhMVa_themeSearch{box-sizing:border-box;width:100%;min-width:0}.nUhMVa_themeToolbarActions{justify-content:flex-end;align-items:center;gap:8px;display:flex}.nUhMVa_themeFullscreenBtn.nUhMVa_themeFullscreenBtn{width:28px;min-width:28px;padding:0}.nUhMVa_themeResultBar{min-height:24px;color:var(--dsw-alias-label-tertiary,#8b93a1);align-items:center;padding:0 4px 8px;font-size:12px;line-height:18px;display:flex}.nUhMVa_favoritesSectionHead{color:var(--dsw-alias-label-primary,#1f2328);margin:16px 0 8px;padding:0 4px;font-size:14px;font-weight:500;line-height:22px}.nUhMVa_favoritesSectionHead:first-of-type{margin-top:0}.nUhMVa_brokenPluginNotice{flex-direction:column;gap:8px;margin:0 0 8px;display:flex}.nUhMVa_brokenPluginItem{border:1px solid var(--dsw-alias-state-warn-tertiary,#b4530933);background:var(--dsw-alias-state-warn-tertiary,#b453090f);color:var(--dsw-alias-state-warn-primary,#b45309);border-radius:8px;flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:10px;padding:8px 10px;font-size:12px;line-height:18px;display:flex}.nUhMVa_brokenPluginText{flex-direction:column;gap:2px;min-width:0;display:flex}.nUhMVa_favoritesStaleBar{border:1px solid var(--dsw-alias-state-warn-tertiary,#b4530933);background:var(--dsw-alias-state-warn-tertiary,#b453090f);color:var(--dsw-alias-state-warn-primary,#b45309);border-radius:8px;flex-flow:column wrap;justify-content:space-between;align-items:stretch;gap:8px;margin:0 0 8px;padding:8px 10px;font-size:12px;line-height:18px;display:flex}.nUhMVa_favoritesStaleRow{justify-content:space-between;align-items:center;gap:8px;min-width:0;display:flex}.nUhMVa_favoritesStaleName{overflow-wrap:anywhere;min-width:0}.nUhMVa_favoritesStaleOnly{flex-direction:column;align-items:flex-start;gap:10px;display:flex}.nUhMVa_themeGallery{grid-template-columns:repeat(4,minmax(0,1fr));align-items:stretch;gap:10px;display:grid}.nUhMVa_themeCard{border:.5px solid var(--dsw-alias-settings-card-stroke,var(--dsw-alias-border-l4,#00000029));border-radius:var(--dsw-radius-lg,16px);background:var(--dsw-alias-bg-layer-1,#fff);flex-direction:column;min-width:0;transition:border-color .16s cubic-bezier(.16,1,.3,1),box-shadow .16s cubic-bezier(.16,1,.3,1),transform .16s cubic-bezier(.16,1,.3,1);display:flex;overflow:hidden}.nUhMVa_themeCard:hover{border-color:var(--dsw-alias-label-dimmed,#c8ccd4);box-shadow:var(--dsw-shadow-lv1,0 4px 12px #1f232814);transform:translateY(-1px)}.nUhMVa_themeCover{aspect-ratio:16/10;border:0;border-bottom:.5px solid var(--dsw-alias-border-l3,#d9dde3);background:var(--dsw-alias-bg-layer-2,#f3f4f6);width:100%;color:var(--dsw-alias-label-secondary,#6b7280);cursor:zoom-in;border-radius:0;padding:0;display:block;position:relative;overflow:hidden}.nUhMVa_themeCover img{object-fit:contain;background:var(--dsw-alias-bg-layer-2,#f3f4f6);width:100%;height:100%;transition:transform .18s cubic-bezier(.16,1,.3,1);display:block}.nUhMVa_themeCover:hover img{transform:scale(1.012)}.nUhMVa_themeCover:focus-visible{outline:2px solid var(--dsw-alias-state-business-primary,#4f6ef7);outline-offset:-3px}.nUhMVa_themeCoverEmpty{cursor:default;color:var(--dsw-alias-label-tertiary,#8b93a1);background:var(--dsw-alias-bg-module-platform,#f4f5f7);border-radius:var(--dsw-radius-lg,16px) 0 0 0;flex-direction:column;justify-content:center;align-items:center;gap:8px;font-size:12px;line-height:18px;display:flex}.nUhMVa_themePreviewAction,.nUhMVa_themePreviewCount{color:#fff;background:#14181fc7;border:1px solid #ffffff57;border-radius:4px;align-items:center;height:24px;padding:0 8px;font-size:11px;line-height:16px;display:inline-flex;position:absolute;bottom:8px}.nUhMVa_themePreviewAction{gap:4px;right:8px}.nUhMVa_themePreviewCount{left:8px}.nUhMVa_themeCardBody{flex-direction:column;flex:1;gap:8px;padding:14px;display:flex}.nUhMVa_themeCardHead{align-items:flex-start;gap:8px;min-width:0;display:flex}.nUhMVa_themeIdentity{flex:1;min-width:0}.nUhMVa_themeStatus,.nUhMVa_themeStatusMuted{white-space:nowrap;border-radius:4px;flex:none;align-items:center;min-height:22px;padding:0 8px;font-size:11px;font-weight:600;display:inline-flex}.nUhMVa_themeStatus{background:var(--dsw-alias-state-success-tertiary,#16a34a1a);color:var(--dsw-alias-state-success-primary,#15803d)}.nUhMVa_themeStatusMuted{background:var(--dsw-alias-bg-layer-2,#f3f4f6);color:var(--dsw-alias-label-secondary,#6b7280)}.nUhMVa_themeDescription{min-height:36px;color:var(--dsw-alias-label-tertiary,#8b93a1);-webkit-line-clamp:3;-webkit-box-orient:vertical;margin:0;font-size:12px;line-height:18px;display:-webkit-box;overflow:hidden}.nUhMVa_themeCardFooter{justify-content:space-between;align-items:center;gap:8px;margin-top:auto;padding-top:4px;display:flex}.nUhMVa_themeLifecycle{min-width:0;color:var(--dsw-alias-label-tertiary,#8b93a1);text-overflow:ellipsis;white-space:nowrap;font-size:11px;line-height:18px;overflow:hidden}.nUhMVa_themeActions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px;margin-left:auto;display:flex}@container (width<=900px){.nUhMVa_themeGallery{grid-template-columns:repeat(3,minmax(0,1fr))}}@container (width<=680px){.nUhMVa_themeGallery{grid-template-columns:repeat(2,minmax(0,1fr))}}@container (width<=460px){.nUhMVa_themeGallery{grid-template-columns:minmax(0,1fr)}}.nUhMVa_exportLogBtn{white-space:nowrap;flex-shrink:0}@container (width<=560px){.nUhMVa_headTop{flex-direction:column;align-items:stretch}.nUhMVa_headTop>.nUhMVa_titleRow{margin-left:0}}@container (width<=420px){.nUhMVa_exportLogBtn{align-self:center}.nUhMVa_themeToolbar{grid-template-columns:minmax(0,1fr)}.nUhMVa_themeCardHead{flex-wrap:wrap}.nUhMVa_themeStatus,.nUhMVa_themeStatusMuted{order:3}}@container (width<=280px){.nUhMVa_themeCardFooter{flex-direction:column;align-items:flex-start}.nUhMVa_themeActions{justify-content:flex-start;width:100%;margin-left:0}}@media (max-width:560px){[role=dialog]:has([data-dsh-crate-root])>nav{display:none}[role=dialog]:has([data-dsh-crate-root])>div{flex:100%;width:100%;min-width:0}}.nUhMVa_panelHost{box-sizing:border-box;height:100%;min-height:0;padding:calc(28px + var(--dsh-frame-top-clearance,0px)) 0 0;flex-direction:column;display:flex}.nUhMVa_panelHost>.nUhMVa_root{flex:1;width:100%;min-width:0;min-height:0;container-type:normal}.nUhMVa_panelHost .nUhMVa_head,.nUhMVa_panelHost .nUhMVa_body{padding-left:max(max(16px,min(4vw,48px)),50% - 480px);padding-right:max(max(16px,min(4vw,48px)),50% - 480px);container-type:inline-size}[data-dsh-crate-plugins-tab=true]{--dshm-host-sticky-top:0px;--dshm-plugins-head-height:0px}[data-dsh-crate-plugins-tab=true]:not([data-dsh-crate-fullscreen=true]){--dshm-empty-view-height:100vh;height:auto}[data-dsh-crate-plugins-tab=true]:not([data-dsh-crate-fullscreen=true]) .nUhMVa_body{min-height:calc(100vh - var(--dshm-host-sticky-top,0px) - var(--dshm-plugins-head-height,0px));flex-direction:column;flex:none;display:flex;overflow:visible}[data-dsh-crate-plugins-tab=true]:not([data-dsh-crate-fullscreen=true]) .nUhMVa_body>.nUhMVa_empty{box-sizing:border-box;width:100%;max-width:none;max-height:var(--dshm-empty-view-height,100vh);flex-direction:column;flex:auto;justify-content:center;align-items:center;margin:0;padding:32px;display:flex}[data-dsh-crate-plugins-tab=true]:not([data-dsh-crate-fullscreen=true]) .nUhMVa_top{position:fixed}[data-dsh-crate-plugins-tab=true]:not([data-dsh-crate-fullscreen=true]) .nUhMVa_stickyHead{display:contents}[data-dsh-crate-plugins-tab=true]:not([data-dsh-crate-fullscreen=true]) .nUhMVa_head{z-index:6;top:var(--dshm-host-sticky-top,0px);background:var(--dshm-sticky-bg,var(--dsw-alias-bg-base,#fff));margin:0 -4px;padding:4px 4px 6px;position:sticky}[data-dsh-crate-plugins-tab=true]:not([data-dsh-crate-fullscreen=true]) .nUhMVa_cats{z-index:5;top:calc(var(--dshm-host-sticky-top,0px) + var(--dshm-plugins-head-height,0px));background:var(--dshm-sticky-bg,var(--dsw-alias-bg-base,#fff));position:sticky}[data-dsh-crate-plugins-tab=true]:not([data-dsh-crate-fullscreen=true]) .nUhMVa_head[data-dshm-stuck=true],[data-dsh-crate-plugins-tab=true]:not([data-dsh-crate-fullscreen=true]) .nUhMVa_cats[data-dshm-stuck=true]{background:var(--dshm-stuck-bg,var(--dshm-sticky-bg,var(--dsw-alias-bg-base,#fff)))}[role=dialog]:has([data-dsh-crate-fullscreen=true]){border-radius:0;width:100vw;max-width:none;height:100vh;max-height:none;position:fixed;top:0;bottom:0;left:0;right:0}[data-dsh-crate-plugins-tab=true][data-dsh-crate-fullscreen=true]{z-index:60;background:var(--dsw-alias-bg-layer-1,#fff);position:fixed;top:0;bottom:0;left:0;right:0;height:100vh!important}[data-dsh-crate-surface=settings]:not([data-dsh-crate-fullscreen=true]){--dshm-head-h:0px;height:auto}[data-dsh-crate-surface=settings]:not([data-dsh-crate-fullscreen=true]) .nUhMVa_body{flex:none;overflow:visible}[data-dsh-crate-surface=settings]:not([data-dsh-crate-fullscreen=true]) .nUhMVa_head{z-index:6;background:var(--dsw-alias-bg-layer-2,var(--dsw-alias-bg-base,#fff));position:sticky;top:0}[data-dsh-crate-surface=settings]:not([data-dsh-crate-fullscreen=true]) .nUhMVa_stickyHead{top:calc(var(--dshm-head-h,0px) + 8px);background:var(--dsw-alias-bg-layer-2,var(--dsw-alias-bg-base,#fff))}@media (prefers-reduced-motion:reduce){.nUhMVa_themeCard,.nUhMVa_themeCover img{transition:none}.nUhMVa_themeCard:hover{transform:none}}.nUhMVa_card{background:var(--dsw-alias-settings-card-fill,var(--dsw-alias-bg-layer-1,#fff));border:.5px solid var(--dsw-alias-settings-card-stroke,var(--dsw-alias-border-l4,#00000029));border-radius:var(--dsw-radius-xl,20px);flex-direction:column;align-self:start;gap:10px;min-width:0;padding:12px 14px;transition:background-image .16s cubic-bezier(.16,1,.3,1);display:flex}@media (hover:hover){.nUhMVa_card:hover,.nUhMVa_recentTile:hover{background-image:linear-gradient(var(--dsw-alias-interactive-bg-hover,#2631480f),var(--dsw-alias-interactive-bg-hover,#2631480f))}.nUhMVa_installBtn:hover:not(:disabled){background:var(--dsw-alias-button-primary-fill,#0f1115);color:var(--dsw-alias-label-primary-foreground,#fff);border-color:#0000}}.nUhMVa_row1{align-items:flex-start;gap:10px;min-width:0;display:flex}.nUhMVa_cardAction{flex-shrink:0;align-items:center;display:inline-flex}.nUhMVa_installBtn.nUhMVa_installBtn{min-width:64px}.nUhMVa_av{width:16px;height:16px;color:var(--dsw-alias-label-primary,#1f2328);object-fit:cover;background:var(--dsw-alias-bg-layer-2,#f3f4f6);border-radius:50%;flex-shrink:0;place-items:center;font-size:9px;font-weight:700;display:grid}.nUhMVa_nm{text-overflow:ellipsis;white-space:nowrap;font-size:14px;font-weight:500;line-height:20px;overflow:hidden}.nUhMVa_nmLink{color:inherit;text-decoration:none;display:block}.nUhMVa_nmLink:hover{color:var(--dsw-alias-brand-primary,#4f6ef7);text-decoration:underline}.nUhMVa_repoMark{color:var(--dsw-alias-label-secondary,#6b7280);vertical-align:-1px;flex-shrink:0;margin-left:5px;display:inline-block}.nUhMVa_nmLink:hover .nUhMVa_repoMark{color:var(--dsw-alias-brand-primary,#4f6ef7)}.nUhMVa_byline{flex-wrap:wrap;align-items:center;gap:6px;min-width:0;margin-top:2px;display:flex}.nUhMVa_meta{color:var(--dsw-alias-label-secondary,#9ca3af);margin-top:2px;font-size:11px}.nUhMVa_metaInline{color:var(--dsw-alias-label-secondary,#9ca3af);font-size:11px}.nUhMVa_owner{color:var(--dsw-alias-label-secondary,#5c6570);text-overflow:ellipsis;white-space:nowrap;flex:0 auto;min-width:44px;font-size:11px;line-height:18px;overflow:hidden}.nUhMVa_desc{color:var(--dsw-alias-label-tertiary,#8b93a1);margin:0;font-size:12px;line-height:18px}.nUhMVa_descClamp{-webkit-line-clamp:5;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.nUhMVa_descClamp3{-webkit-line-clamp:3;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.nUhMVa_descToggle{width:20px;height:16px;color:var(--dsw-alias-label-tertiary,#8b93a1);cursor:pointer;background:0 0;border:none;justify-content:center;align-items:center;margin-top:2px;padding:0;display:flex}.nUhMVa_descToggle:hover{color:var(--dsw-alias-brand-primary,#4f6ef7)}.nUhMVa_foot{flex-wrap:nowrap;align-items:flex-end;gap:8px;display:flex}.nUhMVa_foot .nUhMVa_metaInline,.nUhMVa_foot .nUhMVa_src{white-space:nowrap}.nUhMVa_footTags{flex-wrap:wrap;flex:1 1 0;align-items:center;gap:8px;min-width:0;display:flex}.nUhMVa_grow{flex:1}.nUhMVa_titleRow{flex-wrap:wrap;align-items:center;gap:8px 10px;display:flex}.nUhMVa_titleActions{flex-wrap:wrap;flex:0 auto;justify-content:flex-end;align-items:center;gap:4px 10px;min-width:0;margin-left:auto;display:flex}.nUhMVa_titleActions:empty{display:none}.nUhMVa_titleActions>*{white-space:nowrap;flex-shrink:0}.nUhMVa_version{color:var(--dsw-alias-label-tertiary,#8b93a1);font-variant-numeric:tabular-nums;flex-shrink:0;font-size:12px;line-height:20px}.nUhMVa_marketVersionGroup{align-items:center;gap:6px;display:inline-flex}.nUhMVa_marketVersionWait{color:var(--dsw-alias-label-secondary,#5c6570);font-size:12px;line-height:20px}.nUhMVa_repoLink{color:var(--dsw-alias-label-tertiary,#8b93a1);flex-shrink:0;font-size:12px;line-height:20px;text-decoration:none}.nUhMVa_repoLink:hover{color:var(--dsw-alias-brand-primary,#4f6ef7)}.nUhMVa_noteRow{flex-wrap:wrap;align-items:baseline;gap:6px;min-width:0;display:flex}.nUhMVa_desc.nUhMVa_noteRow,.nUhMVa_desc.nUhMVa_noteRow+.nUhMVa_noteRow,.nUhMVa_noteEdit+.nUhMVa_noteRow{margin-top:6px}.nUhMVa_noteMine{color:var(--dsw-alias-label-primary,#1f2328)}.nUhMVa_noteToggle{font:inherit;color:var(--dsw-alias-label-tertiary,#8b93a1);cursor:pointer;white-space:nowrap;background:0 0;border:none;flex-shrink:0;padding:0;font-size:11px;line-height:16px}.nUhMVa_noteToggle:hover{color:var(--dsw-alias-brand-primary,#4f6ef7);text-decoration:underline}.nUhMVa_noteEdit{flex-direction:column;gap:6px;min-width:0;margin-top:6px;display:flex}.nUhMVa_noteInput{box-sizing:border-box;width:100%;min-width:0;max-width:100%;display:flex}.nUhMVa_noteInput input{box-sizing:border-box;flex:auto;width:100%;min-width:0}.nUhMVa_noteEditBar{justify-content:flex-end;align-items:center;gap:6px;display:flex}.nUhMVa_noteCount{font-variant-numeric:tabular-nums;color:var(--dsw-alias-label-tertiary,#8b93a1);margin-right:auto;font-size:11px;line-height:16px}.nUhMVa_descTight{min-height:0}.nUhMVa_src{color:var(--dsw-alias-label-secondary,#9ca3af);font-size:11px;text-decoration:none}.nUhMVa_src:hover{color:var(--dsw-alias-brand-primary,#4f6ef7)}.nUhMVa_dot{vertical-align:2px;margin-left:5px}.nUhMVa_act{flex-wrap:wrap;align-items:center;gap:6px;margin-top:6px;font-size:11px;display:flex}.nUhMVa_actLive{color:var(--dsw-alias-state-success-primary,#16a34a);align-items:center;gap:4px;font-weight:600;display:inline-flex}.nUhMVa_actWarn{color:var(--dsw-alias-state-warn-primary,#b45309);align-items:center;gap:4px;font-weight:600;display:inline-flex}.nUhMVa_actBroken{color:var(--dsw-alias-state-error-primary,#dc2626);align-items:center;gap:4px;font-weight:600;display:inline-flex}.nUhMVa_actWhy{color:var(--dsw-alias-label-secondary,#6b7280);margin-top:2px}.nUhMVa_loading{color:var(--dsw-alias-label-secondary,#9ca3af);flex-direction:column;align-items:center;gap:12px;padding:48px;font-size:13px;display:flex}.nUhMVa_spin{color:var(--dsw-alias-brand-primary,#4f6ef7);flex-shrink:0;animation:.8s linear infinite nUhMVa_sp;display:inline-flex}.nUhMVa_logoMark{color:var(--dsw-alias-brand-primary,#4f6ef7);flex-shrink:0;display:inline-flex}.nUhMVa_logoSweep{animation:3s linear infinite nUhMVa_dshmCrateSweep}@keyframes nUhMVa_dshmCrateSweep{0%{transform:translate(-13px)}30%,to{transform:translate(18px)}}@media (prefers-reduced-motion:reduce){.nUhMVa_logoSweep{display:none}.nUhMVa_spin{animation:1.5s ease-in-out infinite nUhMVa_dshmPlugFade}}@keyframes nUhMVa_dshmPlugFade{0%,to{opacity:1}50%{opacity:.35}}@keyframes nUhMVa_sp{to{transform:rotate(360deg)}}.nUhMVa_progress{background:var(--dsw-alias-bg-layer-2,#f3f4f6);border:1px solid var(--dsw-alias-border-l2,#e5e7eb);color:var(--dsw-alias-label-secondary,#6b7280);border-radius:8px;flex-wrap:wrap;align-items:center;gap:9px;margin:0;padding:8px 12px;font-size:12px;display:flex}.nUhMVa_bar{background:var(--dsw-alias-border-l1,#e5e7eb);border-radius:99px;width:100%;height:4px;overflow:hidden}.nUhMVa_barFill{background:var(--dsw-alias-brand-primary,#4f6ef7);border-radius:99px;height:100%;transition:width .6s}.nUhMVa_barWave{width:30%;animation:1.2s ease-in-out infinite nUhMVa_dshmSlide}@keyframes nUhMVa_dshmSlide{0%{margin-left:-30%}to{margin-left:100%}}.nUhMVa_irow .nUhMVa_progress{margin-top:8px}.nUhMVa_progress code{font-family:var(--ds-font-family-code,ui-monospace,Menlo,Consolas,monospace);text-overflow:ellipsis;white-space:nowrap;font-size:11px;overflow:hidden}.nUhMVa_empty{color:var(--dsw-alias-label-secondary,#5c6570);text-align:center;max-width:520px;margin:0 auto;padding:56px 32px 40px;font-size:13px;line-height:20px}.nUhMVa_err{color:var(--dsw-alias-state-error-primary,#dc2626);white-space:pre-wrap;word-break:break-all;margin:8px 0;font-size:12px}.nUhMVa_cardBlocked{border-color:var(--dsw-alias-state-error-primary,#dc2626)}.nUhMVa_conflictHead{align-items:flex-start;gap:8px;display:flex}.nUhMVa_conflictIcon{color:var(--dsw-alias-state-error-primary,#dc2626);flex-shrink:0;margin-top:1px}.nUhMVa_conflictTitle{color:var(--dsw-alias-state-error-primary,#dc2626);font-size:13px;font-weight:600;line-height:18px}.nUhMVa_conflictBody{margin:0;font-size:12px;line-height:19px}.nUhMVa_roster{background:var(--dsw-alias-border-l2,#e5e7eb);border:1px solid var(--dsw-alias-border-l2,#e5e7eb);border-radius:8px;flex-direction:column;gap:1px;display:flex;overflow:hidden}.nUhMVa_rosterRow{background:var(--dsw-alias-bg-layer-1,#fff);align-items:center;gap:8px;padding:7px 10px;display:flex}.nUhMVa_rosterMain{flex-direction:column;min-width:0;display:flex}.nUhMVa_rosterName{text-overflow:ellipsis;white-space:nowrap;min-width:0;font-size:12px;font-weight:600;overflow:hidden}.nUhMVa_rosterAuthor{color:var(--dsw-alias-label-secondary,#9ca3af);text-overflow:ellipsis;white-space:nowrap;font-size:10.5px;overflow:hidden}.nUhMVa_rosterTag{border-radius:4px;flex-shrink:0;margin-left:auto;padding:1px 6px;font-size:10.5px;font-weight:600}.nUhMVa_rosterTagKeep{color:var(--dsw-alias-state-success-primary,#16a34a);background:#16a34a1f}.nUhMVa_rosterTagDrop{color:var(--dsw-alias-state-error-primary,#dc2626);background:#dc26261f}.nUhMVa_rosterRowOut .nUhMVa_rosterName{text-decoration:line-through}.nUhMVa_rosterRowOut{opacity:.62}.nUhMVa_rosterSplit{background:var(--dsw-alias-border-l2,#e5e7eb);height:1px}.nUhMVa_reassure{color:var(--dsw-alias-label-secondary,#6b7280);align-items:center;gap:5px;margin:0;font-size:11.5px;line-height:17px;display:flex}.nUhMVa_reassureOk{color:var(--dsw-alias-state-success-primary,#16a34a);flex-shrink:0}.nUhMVa_conflictWhy{color:var(--dsw-alias-label-tertiary,#8b93a1);font-size:11px;line-height:17px;font-family:var(--ds-font-family-code,ui-monospace,Menlo,Consolas,monospace);overflow-wrap:anywhere;margin-top:2px}.nUhMVa_conflictWhyText{margin-top:5px;font-family:-apple-system,BlinkMacSystemFont,PingFang SC,sans-serif}.nUhMVa_choices{flex-direction:column;gap:7px;display:flex}.nUhMVa_choice{text-align:left;font:inherit;cursor:pointer;background:var(--dsw-alias-bg-layer-1,#fff);border:1px solid var(--dsw-alias-border-l3,#d9dde3);border-radius:9px;align-items:flex-start;gap:9px;padding:9px 11px;display:flex}.nUhMVa_choice:has(input:disabled){cursor:default;opacity:.6}.nUhMVa_choiceOn{border-color:var(--dsw-alias-brand-primary,#4f6ef7);background:var(--dsw-alias-bg-layer-2,#f5f7ff)}.nUhMVa_choiceRadio{width:13px;height:13px;accent-color:var(--dsw-alias-brand-primary,#4f6ef7);flex-shrink:0;margin:2px 0 0}.nUhMVa_choiceMain{flex-direction:column;gap:3px;min-width:0;display:flex}.nUhMVa_choiceTitle{font-size:12px;font-weight:600;line-height:17px}.nUhMVa_choiceNote{color:var(--dsw-alias-label-tertiary,#8b93a1);font-size:11px;line-height:16px}.nUhMVa_choiceSafe{color:var(--dsw-alias-state-success-primary,#16a34a)}.nUhMVa_stateTag{white-space:nowrap;background:var(--dsw-alias-bg-layer-2,#f3f4f6);min-height:20px;color:var(--dsw-alias-label-secondary,#6b7280);border-radius:5px;flex-shrink:0;align-items:center;gap:5px;padding:1px 7px;font-size:11px;line-height:16px;display:inline-flex}.nUhMVa_stateTag[data-on=true]{color:var(--dsw-alias-state-success-primary,#16a34a);background:color-mix(in srgb, var(--dsw-alias-state-success-primary,#16a34a) 10%, transparent)}.nUhMVa_stateDot{background:var(--dsw-alias-label-tertiary,#8b93a1);border-radius:999px;flex:none;width:6px;height:6px}.nUhMVa_stateDot[data-on=true]{background:var(--dsw-alias-state-success-primary,#16a34a)}.nUhMVa_metaTag{text-overflow:ellipsis;white-space:nowrap;background:var(--dsw-alias-bg-layer-2,#f3f4f6);min-width:0;max-width:100%;min-height:20px;color:var(--dsw-alias-label-tertiary,#8b93a1);border-radius:5px;flex-shrink:1;padding:1px 7px;font-size:11px;line-height:18px;display:inline-block;overflow:hidden}.nUhMVa_metaTagOk{color:var(--dsw-alias-state-success-primary,#16a34a);background:color-mix(in srgb, var(--dsw-alias-state-success-primary,#16a34a) 10%, transparent)}.nUhMVa_irow{transition:background-image .16s cubic-bezier(.16,1,.3,1)}.nUhMVa_irow:hover{background-image:linear-gradient(var(--dsw-alias-interactive-bg-hover,#2631480f),var(--dsw-alias-interactive-bg-hover,#2631480f))}.nUhMVa_irowHead{align-items:flex-start;gap:8px;min-width:0;display:flex}.nUhMVa_irowHead .nUhMVa_irowName{flex:1 1 0;min-width:0}.nUhMVa_irowMenu{flex-shrink:0;margin-top:-4px;margin-left:auto;margin-right:-6px}.nUhMVa_irowMeta{min-width:0;color:var(--dsw-alias-label-secondary,#6b7280);flex-wrap:wrap;align-items:baseline;gap:4px 10px;margin-top:2px;font-size:12px;line-height:18px;display:flex}.nUhMVa_irowMetaText{min-width:0}.nUhMVa_irowMeta .nUhMVa_notesLink{flex-shrink:0;margin:0;display:inline}.nUhMVa_irowPath{align-items:center;gap:6px;min-width:0;margin-top:6px;display:flex}.nUhMVa_irowPath .nUhMVa_spec{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.nUhMVa_irowPathIcon,.nUhMVa_irowStatusIcon{color:var(--dsw-alias-label-tertiary,#8b93a1);flex-shrink:0;display:inline-flex}.nUhMVa_irowPathCopy{flex-shrink:0;align-items:center;gap:4px;margin-left:auto;display:inline-flex}.nUhMVa_irowPath .nUhMVa_confirmCopy{width:20px;height:20px;color:var(--dsw-alias-label-tertiary,#8b93a1)}.nUhMVa_irowPath .nUhMVa_confirmCopy:hover{color:var(--dsw-alias-label-primary,#1f2328)}.nUhMVa_irowPath .nUhMVa_confirmCopied{color:var(--dsw-alias-label-secondary,#6b7280);order:1;font-size:11px}.nUhMVa_irowDesc{flex:100%;min-width:0}.nUhMVa_irowStatus{flex-wrap:wrap;align-items:center;gap:6px;min-width:0;margin-top:8px;font-size:12px;line-height:18px;display:flex}.nUhMVa_irowStatus+.nUhMVa_irowStatus{margin-top:4px}.nUhMVa_irowStatusPart{align-items:baseline;gap:6px;display:inline-flex}.nUhMVa_irowStatus .nUhMVa_notesLink{margin:0;display:inline}.nUhMVa_irowStatus .nUhMVa_metaInline{font-size:12px}.nUhMVa_irowStatusAction{margin-left:auto;display:inline-flex}.nUhMVa_irowStatusAction .nUhMVa_noteToggle{color:var(--dsw-alias-label-secondary,#6b7280);font-size:12px;line-height:18px}.nUhMVa_irowStatusAction .nUhMVa_noteToggle:hover{color:var(--dsw-alias-label-primary,#1f2328);text-decoration:none}.nUhMVa_descMore{cursor:pointer;font:inherit;color:var(--dsw-alias-label-secondary,#6b7280);background:0 0;border:none;align-items:center;gap:2px;margin-top:4px;padding:0;font-size:12px;line-height:18px;display:inline-flex}.nUhMVa_descMore:hover{color:var(--dsw-alias-label-primary,#1f2328)}.nUhMVa_noteAdd{cursor:pointer;font:inherit;color:var(--dsw-alias-label-secondary,#6b7280);white-space:nowrap;background:0 0;border:none;align-items:center;gap:6px;margin-top:4px;padding:0;font-size:12px;line-height:18px;display:inline-flex}.nUhMVa_noteAdd:hover,.nUhMVa_irowStatusFact{color:var(--dsw-alias-label-primary,#1f2328)}.nUhMVa_irowStatusSep{color:var(--dsw-alias-label-tertiary,#8b93a1)}.nUhMVa_nameLink{color:inherit;text-decoration:none}.nUhMVa_irowName{text-overflow:clip;flex-wrap:wrap;align-items:baseline;gap:6px;min-width:0;display:flex;overflow:visible}.nUhMVa_irowNameText{overflow-wrap:anywhere;white-space:normal;min-width:0}.nUhMVa_irowName>.nUhMVa_owner{flex:none}.nUhMVa_nameLink:hover{color:var(--dsw-alias-brand-primary,#4f6ef7);text-decoration:underline}.nUhMVa_opWrap{flex-shrink:0;margin-bottom:6px;display:inline-flex}.nUhMVa_opEntry{font:inherit;cursor:pointer;white-space:nowrap;height:28px;color:var(--dsw-alias-label-primary,#1f2328);background:var(--dsw-alias-bg-layer-1,#fff);border:.5px solid var(--dsw-alias-border-l3,#d9dde3);border-radius:8px;align-items:center;gap:5px;padding:0 7px 0 10px;font-size:12px;transition:background-color .12s,color .12s,border-color .12s;display:inline-flex;position:relative}.nUhMVa_opEntryQuiet{background:var(--dsw-alias-bg-module-platform,#f4f5f7);color:var(--dsw-alias-label-secondary,#5c6570)}.nUhMVa_opEntry:hover{color:var(--dsw-alias-label-primary,#1f2328);border-color:var(--dsw-alias-border-l2,#e5e7eb);background:var(--dsw-alias-bg-module-platform,#f4f5f7)}.nUhMVa_opChevron{color:var(--dsw-alias-label-tertiary,#8b93a1);flex-shrink:0;transition:transform .14s cubic-bezier(.16,1,.3,1);display:inline-flex}.nUhMVa_opChevronOpen{transform:rotate(180deg)}.nUhMVa_opEntryAlert{border-color:var(--dsw-alias-state-error-primary,#dc2626);color:var(--dsw-alias-state-error-primary,#dc2626)}.nUhMVa_opDot{background:var(--dsw-alias-state-error-primary,#dc2626);border-radius:99px;width:8px;height:8px;position:absolute;top:-3px;right:-3px}.nUhMVa_opPanel{z-index:40;background:var(--dsw-alias-bg-layer-1,#fff);border:1px solid var(--dsw-alias-border-l3,#d9dde3);border-radius:12px;width:460px;max-width:100%;max-height:70vh;position:absolute;top:calc(100% + 6px);right:0;overflow-y:auto;box-shadow:0 20px 52px #00000047}.nUhMVa_opHead{border-bottom:1px solid var(--dsw-alias-border-l2,#e5e7eb);align-items:center;gap:8px;padding:9px 14px;display:flex}.nUhMVa_opPanelTitle{font-size:12.5px;font-weight:600}.nUhMVa_opRepairTitle{color:var(--dsw-alias-label-secondary,#667085);padding:9px 14px 3px;font-size:12px;font-weight:600}.nUhMVa_opCloseBtn.nUhMVa_opCloseBtn{min-width:0;color:var(--dsw-alias-label-secondary,#6b7280);padding:0 6px}.nUhMVa_opAggregate{border-bottom:1px solid var(--dsw-alias-border-l2,#e5e7eb);background:var(--dsw-alias-bg-layer-2,#f7f8fa);padding:9px 14px}.nUhMVa_opAggregateTop{font-variant-numeric:tabular-nums;font-size:12px;font-weight:600}.nUhMVa_opAggregateHint{color:var(--dsw-alias-label-tertiary,#8b93a1);margin-top:4px;font-size:10.5px}.nUhMVa_opRow{border-bottom:1px solid var(--dsw-alias-border-l2,#e5e7eb);align-items:flex-start;gap:9px;padding:9px 14px;display:flex}.nUhMVa_opRow:last-child{border-bottom:none}.nUhMVa_opRowAlert{background:#dc26260f}.nUhMVa_opIcon{flex-shrink:0;place-items:center;width:14px;margin-top:1px;display:grid}.nUhMVa_opQueuedIcon{color:var(--dsw-alias-label-tertiary,#8b93a1);font-size:12px}.nUhMVa_opMain{flex-direction:column;flex:1;gap:3px;min-width:0;display:flex}.nUhMVa_opTop{align-items:baseline;gap:6px;min-width:0;display:flex}.nUhMVa_opVerb{color:var(--dsw-alias-label-secondary,#6b7280);flex-shrink:0;font-size:12px}.nUhMVa_opName{text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-weight:600;overflow:hidden}.nUhMVa_opStatus{color:var(--dsw-alias-label-tertiary,#8b93a1);overflow-wrap:anywhere;font-size:10.5px;line-height:16px}.nUhMVa_opStatusBad{color:var(--dsw-alias-state-error-primary,#dc2626)}.nUhMVa_opAgents{color:var(--dsw-alias-label-tertiary,#8b93a1);margin:2px 0 0;font-size:10.5px;line-height:16px}.nUhMVa_opAgentsSummary{cursor:pointer;color:var(--dsw-alias-label-secondary,#5c6570);font-size:10.5px;line-height:16px;list-style:none}.nUhMVa_opAgentsSummary::-webkit-details-marker{display:none}.nUhMVa_opAgentsSummary:before{content:\"▸\";width:10px;transition:transform .12s cubic-bezier(.16,1,.3,1);display:inline-block}.nUhMVa_opAgents[open]>.nUhMVa_opAgentsSummary:before{transform:rotate(90deg)}.nUhMVa_opAgentsList{flex-direction:column;gap:1px;margin:2px 0 0;padding:0 0 0 12px;list-style:none;display:flex}.nUhMVa_opAgentsId{font-family:var(--ds-font-family-code,ui-monospace,Menlo,Consolas,monospace);white-space:nowrap;text-overflow:ellipsis;font-size:10.5px;line-height:15px;overflow:hidden}.nUhMVa_opActions{flex-shrink:0;align-items:center;gap:6px;margin-top:1px;display:flex}.nUhMVa_opDecision{border-top:1px dashed var(--dsw-alias-border-l2,#e5e7eb);flex-direction:column;gap:8px;margin-top:8px;padding-top:8px;display:flex}.nUhMVa_opDecisionFoot{align-items:center;gap:8px;display:flex}.nUhMVa_conflictDetailsToggle{font:inherit;cursor:pointer;color:var(--dsw-alias-label-tertiary,#8b93a1);background:0 0;border:none;align-items:center;gap:4px;padding:2px 0;font-size:11px;display:inline-flex}.nUhMVa_conflictDetailsToggle:hover{color:var(--dsw-alias-label-secondary,#6b7280)}.nUhMVa_opEmpty{text-align:center;color:var(--dsw-alias-label-secondary,#6b7280);padding:30px 14px;font-size:12px}.nUhMVa_opEmptyHint{color:var(--dsw-alias-label-tertiary,#8b93a1);margin-top:4px;font-size:11px}.nUhMVa_cardBlockedMark{font:inherit;cursor:pointer;color:var(--dsw-alias-state-error-primary,#dc2626);border:1px solid var(--dsw-alias-state-error-primary,#dc2626);background:#dc262614;border-radius:7px;align-items:center;gap:5px;padding:4px 9px;font-size:11px;display:inline-flex}.nUhMVa_dangerBtn.nUhMVa_dangerBtn{color:var(--dsw-alias-state-error-primary,#dc2626);border-color:var(--dsw-alias-state-error-primary,#dc2626)}.nUhMVa_dangerBtn.nUhMVa_dangerBtn:hover:not(:disabled){background:var(--dsw-alias-state-error-primary,#dc2626);color:#fff}.nUhMVa_dangerArmed.nUhMVa_dangerArmed{background:var(--dsw-alias-state-error-primary,#dc2626);border-color:var(--dsw-alias-state-error-primary,#dc2626);color:var(--dsw-alias-label-primary-foreground,#fff)}.nUhMVa_retryBtn{margin-top:4px}.nUhMVa_irow{background:var(--dsw-alias-settings-card-fill,var(--dsw-alias-bg-layer-1,#fff));border:.5px solid var(--dsw-alias-settings-card-stroke,var(--dsw-alias-border-l4,#00000029));border-radius:var(--dsw-radius-xl,20px);flex-direction:column;gap:12px;min-width:0;padding:16px 18px;display:flex}.nUhMVa_irowDescBand{flex-direction:column;gap:10px;min-width:0;margin-top:10px;display:flex}.nUhMVa_irowDescBand .nUhMVa_noteEdit{margin-top:0}.nUhMVa_irowBody{min-width:0;color:var(--dsw-alias-label-secondary,#5c6570);flex-direction:column;gap:10px;margin:0;font-size:13px;line-height:20px;display:flex}.nUhMVa_irowBody .nUhMVa_irowDesc{flex:none;width:100%}.nUhMVa_irowBody .nUhMVa_desc{color:var(--dsw-alias-label-secondary,#5c6570);font-size:13px;line-height:20px}.nUhMVa_irowBody .nUhMVa_noteMine{color:var(--dsw-alias-label-primary,#1f2328)}.nUhMVa_irowBody .nUhMVa_descMore{color:var(--dsw-alias-label-tertiary,#8b93a1);font-size:12px;line-height:18px}.nUhMVa_irowFootRow{flex-wrap:wrap;align-items:center;gap:6px 10px;min-width:0;display:flex}.nUhMVa_irowFootRow .nUhMVa_hostRequirement{flex:0 auto;min-width:0}.nUhMVa_irowNoteActions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:6px 10px;min-width:0;margin-left:auto;display:flex}.nUhMVa_irowNoteActionsSpaced{margin-top:0}.nUhMVa_irowNoteActions .nUhMVa_noteAdd,.nUhMVa_irowNoteActions .nUhMVa_noteToggle{color:var(--dsw-alias-label-tertiary,#8b93a1);margin-top:0;font-size:12px;line-height:18px}.nUhMVa_irowNoteActions .nUhMVa_noteAdd:hover,.nUhMVa_irowNoteActions .nUhMVa_noteToggle:hover{color:var(--dsw-alias-label-primary,#1f2328);text-decoration:none}.nUhMVa_irowStatusBand{background:var(--dsw-alias-bg-module-platform,#f4f5f7);border-radius:10px;flex-direction:column;gap:6px;min-width:0;margin-top:2px;padding:10px 12px;display:flex}.nUhMVa_irowStatusBand .nUhMVa_irowStatus{margin-top:0}.nUhMVa_irowStatusBand .nUhMVa_irowStatus+.nUhMVa_irowStatus{margin-top:4px}.nUhMVa_irowStatusMuted{color:var(--dsw-alias-label-secondary,#6b7280);font-size:12px;line-height:18px}.nUhMVa_irowIncompat{flex-direction:column;gap:4px;min-width:0;display:flex}.nUhMVa_irowIncompatTitle{color:var(--dsw-alias-label-primary,#1f2328);font-size:12px;font-weight:600;line-height:18px}.nUhMVa_irowIncompatBody{color:var(--dsw-alias-label-secondary,#6b7280);font-size:12px;line-height:18px}.nUhMVa_irowActions{border-top:.5px solid var(--dsw-alias-border-l2,#e5e7eb);flex-wrap:wrap;justify-content:flex-start;align-items:center;gap:8px;min-width:0;margin-top:-6px;padding-top:12px;display:flex}.nUhMVa_irowTrailing{flex-flow:column;flex-shrink:0;align-items:flex-end;gap:4px;min-width:0;margin-left:auto;display:inline-flex}.nUhMVa_irowTrailingRow{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:6px 8px;min-width:0;display:inline-flex}.nUhMVa_irowTrailingHint{color:var(--dsw-alias-label-tertiary,#8b93a1);white-space:nowrap;flex-shrink:0;align-items:center;gap:4px;font-size:11px;line-height:16px;display:inline-flex}.nUhMVa_irowTrailingHint svg{flex-shrink:0}.nUhMVa_irowTrailing .nUhMVa_metaTag{flex-shrink:1;min-width:0}.nUhMVa_irowUpdateBtn.nUhMVa_irowUpdateBtn{color:var(--dsw-alias-label-primary,#1f2328);border-color:var(--dsw-alias-border-l3,#b8bec8);background:var(--dsw-alias-bg-layer-1,#fff)}.nUhMVa_irowUpdateBtn.nUhMVa_irowUpdateBtn:hover:not(:disabled){border-color:var(--dsw-alias-label-secondary,#6b7280);background:var(--dsw-alias-bg-module-platform,#f4f5f7)}.nUhMVa_irowMissing{filter:grayscale();opacity:.5}.nUhMVa_irow>.nUhMVa_src,.nUhMVa_irow>.nUhMVa_owner,.nUhMVa_irow button{white-space:nowrap;flex-shrink:0}.nUhMVa_tabSearchRow{align-items:center;gap:8px;padding:0 4px 10px;display:flex}.nUhMVa_tabSearch{flex:1;min-width:0}.nUhMVa_groupBulkActions{flex-wrap:wrap;align-items:center;gap:8px;padding:0 4px 10px;display:flex}.nUhMVa_caps{flex-wrap:wrap;align-items:center;gap:4px;min-width:0;padding:0 2px 6px;font-size:11px;line-height:1.5;display:flex}.nUhMVa_capsTitle{color:var(--dsw-alias-label-secondary,#8b949e);cursor:help}.nUhMVa_capChip{border:1px solid var(--dsw-alias-border-l2,#30363d);color:var(--dsw-alias-label-primary,#c9d1d9);white-space:nowrap;border-radius:999px;padding:0 6px}.nUhMVa_capMuted{border:1px dashed var(--dsw-alias-border-l2,#30363d);color:var(--dsw-alias-label-secondary,#8b949e);white-space:nowrap;border-radius:999px;padding:0 6px}.nUhMVa_capCaveat{color:var(--dsw-alias-label-tertiary,#8b93a1);align-items:baseline;gap:12px;margin:6px 0 0;font-size:11px;line-height:16px;display:flex}.nUhMVa_capCaveatNote{min-width:0}.nUhMVa_capCaveatAt{white-space:nowrap;flex:none;margin-left:auto}.nUhMVa_searchField{box-sizing:border-box;min-width:0;position:relative}.nUhMVa_searchInput.nUhMVa_searchInput{box-sizing:border-box;width:100%;min-width:0;padding-right:34px}.nUhMVa_searchClear{width:24px;height:24px;color:var(--dsw-alias-label-secondary,#59636e);font:inherit;cursor:pointer;background:0 0;border:0;border-radius:4px;justify-content:center;align-items:center;padding:0;font-size:20px;line-height:1;display:flex;position:absolute;top:50%;right:5px;transform:translateY(-50%)}.nUhMVa_searchClear:hover{background:var(--dsw-alias-bg-layer-2,#f3f4f6);color:var(--dsw-alias-label-primary,#1f2328)}.nUhMVa_searchClear:focus-visible{outline:2px solid var(--dsw-alias-state-business-primary,#4f6ef7);outline-offset:1px}.nUhMVa_spec{color:var(--dsw-alias-label-secondary,#9ca3af);font-size:11px;font-family:var(--ds-font-family-code,ui-monospace,Menlo,Consolas,monospace);overflow-wrap:anywhere;min-width:0}.nUhMVa_specTag{white-space:nowrap;border-radius:4px;flex-shrink:0;align-items:center;height:16px;padding:0 5px;font-size:10px;font-weight:600;display:inline-flex}.nUhMVa_specTagGit{color:var(--dsw-alias-state-business-primary,#0b7285);background:#12a3c41f}.nUhMVa_specTagFile{color:var(--dsw-alias-state-warn-primary,#b07d1b);background:#f0b42924}.nUhMVa_backupCheckList .nUhMVa_grow{white-space:nowrap;text-overflow:ellipsis;flex:70%;min-width:0;overflow:hidden}.nUhMVa_backupCheckList .nUhMVa_spec{text-align:right;white-space:nowrap;text-overflow:ellipsis;flex:0 30%;max-width:30%;overflow:hidden}.nUhMVa_staleAction{word-break:normal;flex-wrap:wrap;align-items:center;gap:8px;margin-top:8px;display:flex}.nUhMVa_pct{color:var(--dsw-alias-label-secondary,#6b7280);flex-shrink:0;font-size:11px;font-weight:600}.nUhMVa_pager{flex-wrap:nowrap;justify-content:space-between;align-items:center;gap:8px;margin:16px 0 4px;display:flex}.nUhMVa_loadMore{justify-content:center;margin:16px 0 4px;display:flex}.nUhMVa_pagerPages{flex-wrap:nowrap;flex:1;justify-content:center;align-items:center;gap:4px;min-width:0;display:flex}.nUhMVa_pagerMeta{flex-wrap:nowrap;flex-shrink:0;align-items:center;gap:6px;display:flex}.nUhMVa_pagerPages button,.nUhMVa_pagerMeta button{min-width:0;padding:0 8px}.nUhMVa_pageEllipsis{color:var(--dsw-alias-label-secondary,#9ca3af);padding:0 1px;font-size:12px}.nUhMVa_pageInfo{color:var(--dsw-alias-label-secondary,#6b7280);white-space:nowrap;font-size:12px}@container (width<=544px){.nUhMVa_pager{flex-wrap:wrap;justify-content:center;gap:8px}.nUhMVa_pagerPages{flex-basis:100%}}.nUhMVa_depBadge{border:1px solid var(--dsw-alias-state-warn-primary,#b45309);color:var(--dsw-alias-state-warn-primary,#b45309);white-space:nowrap;border-radius:4px;flex-shrink:0;margin-left:6px;padding:1px 6px;font-size:11px;font-weight:600;line-height:16px}.nUhMVa_deprecate{color:var(--dsw-alias-state-warn-primary,#b45309);background:var(--dsw-alias-bg-layer-2,#fdf3e3);border:1px solid var(--dsw-alias-border-l2,#f3e3c3);border-radius:8px;margin:0;padding:8px 10px;font-size:12px;line-height:18px}.nUhMVa_deprecate a{color:var(--dsw-alias-state-warn-primary,#b45309);text-decoration:underline}.nUhMVa_deprecate .nUhMVa_src{margin-left:8px}.nUhMVa_depLine{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.nUhMVa_switch{border:1px solid var(--dsw-alias-border-l2,#d9dde3);background:var(--dsw-alias-bg-layer-2,#e5e7eb);cursor:pointer;border-radius:99px;flex-shrink:0;width:38px;height:22px;padding:0;transition:background .15s,border-color .15s;position:relative}.nUhMVa_switchOn{background:var(--dsw-alias-state-success-primary,#16a34a);border-color:var(--dsw-alias-state-success-primary,#16a34a)}.nUhMVa_switchMixed{background:var(--dsw-alias-state-warn-primary,#b45309);border-color:var(--dsw-alias-state-warn-primary,#b45309)}.nUhMVa_switchKnob{background:#fff;border-radius:99px;width:16px;height:16px;transition:left .15s;position:absolute;top:2px;left:2px;box-shadow:0 1px 2px #00000040}.nUhMVa_switchOn .nUhMVa_switchKnob,.nUhMVa_switchMixed .nUhMVa_switchKnob{left:18px}.nUhMVa_switch:disabled{opacity:.5;cursor:default}.nUhMVa_viewBar{border-radius:var(--dsw-radius-md,12px);background:var(--dsw-alias-bg-module-platform,#f4f5f7);border:none;align-items:center;gap:2px;width:fit-content;margin-bottom:12px;padding:3px;display:flex}.nUhMVa_viewBtn{font:inherit;color:var(--dsw-alias-label-secondary,#5c6570);border-radius:var(--dsw-radius-sm,8px);cursor:pointer;white-space:nowrap;background:0 0;border:none;height:26px;padding:0 10px;font-size:12px;line-height:18px;transition:background-color .12s,color .12s}.nUhMVa_viewBtn:hover{color:var(--dsw-alias-brand-primary,#4f6ef7)}.nUhMVa_viewOn{background:var(--dsw-alias-bg-layer-3,#fff);color:var(--dsw-alias-label-primary,#1f2328);box-shadow:0 0 0 .5px var(--dsw-alias-border-l3,#0000001f);font-weight:600}.nUhMVa_groupRow{background:var(--dsw-alias-settings-card-fill,var(--dsw-alias-bg-layer-1,#fff));border:.5px solid var(--dsw-alias-settings-card-stroke,var(--dsw-alias-border-l4,#00000029));border-radius:var(--dsw-radius-xl,20px);margin-bottom:10px;padding:12px 14px}.nUhMVa_groupHead{flex-wrap:wrap;align-items:center;gap:10px;min-width:0;display:flex}.nUhMVa_groupCollapse{width:22px;height:22px;color:var(--dsw-alias-label-secondary,#6b7280);cursor:pointer;background:0 0;border:none;border-radius:6px;flex-shrink:0;justify-content:center;align-items:center;padding:0;display:inline-flex}.nUhMVa_groupCollapse:hover{background:var(--dsw-alias-bg-layer-2,#eef0f4);color:var(--dsw-alias-label-primary,#1f2328)}.nUhMVa_groupTitle{flex-direction:column;flex:auto;gap:1px;min-width:0;display:flex}.nUhMVa_groupTitle .nUhMVa_groupHint{margin-top:0}.nUhMVa_groupName{text-overflow:ellipsis;white-space:nowrap;font-size:13px;font-weight:600;line-height:20px;overflow:hidden}.nUhMVa_groupMeta{color:var(--dsw-alias-label-tertiary,#8b93a1);font-size:11px;line-height:16px}.nUhMVa_groupActions{flex-wrap:wrap;flex-shrink:0;align-items:center;gap:6px;margin-left:auto;display:flex}.nUhMVa_groupMembers{flex-direction:column;gap:6px;margin-top:10px;display:flex}.nUhMVa_groupMember{background:var(--dsw-alias-bg-layer-2,#f7f8fa);border-radius:8px;align-items:center;gap:8px;min-width:0;padding:6px 8px;font-size:12px;line-height:18px;display:flex}.nUhMVa_groupMember .nUhMVa_nm{flex:1;min-width:0;font-size:12px}.nUhMVa_memberName{flex:auto;align-items:center;gap:6px;min-width:0;display:flex}.nUhMVa_memberName .nUhMVa_nm{flex:0 auto;min-width:0}.nUhMVa_memberNameWithDesc{flex:0 auto;max-width:42%}.nUhMVa_memberKind{color:var(--dsw-alias-label-tertiary,#8b93a1);white-space:nowrap;flex:none;font-size:11px;line-height:16px}.nUhMVa_themeSlot{box-shadow:inset 0 -1px 0 var(--dsw-alias-border-l2,#e5e7eb);border-radius:8px 8px 0 0;margin-bottom:4px}.nUhMVa_groupMember>.nUhMVa_switch,.nUhMVa_groupMember>button{flex-shrink:0}.nUhMVa_groupMemberAction{flex:none;margin-left:auto}.nUhMVa_groupMemberAction button{white-space:nowrap}.nUhMVa_groupAddPanel{border-top:1px dashed var(--dsw-alias-border-l2,#e5e7eb);flex-direction:column;gap:6px;margin-top:10px;padding-top:10px;display:flex}.nUhMVa_groupAddModalBody{flex-direction:column;gap:10px;min-width:0;display:flex}.nUhMVa_groupAddFilters{flex-wrap:wrap;gap:6px;display:flex}.nUhMVa_groupAddModalList{flex-direction:column;gap:6px;max-height:min(50vh,360px);padding-right:2px;display:flex;overflow-y:auto}.nUhMVa_groupAddModalHint{color:var(--dsw-alias-label-secondary,#6b7280);margin:0;font-size:12px;line-height:18px}.nUhMVa_groupAddPick{background:var(--dsw-alias-bg-layer-2,#f7f8fa);cursor:pointer;border-radius:8px;align-items:center;gap:8px;min-width:0;padding:8px 10px;display:flex}.nUhMVa_groupAddPick:hover{background:var(--dsw-alias-bg-layer-2,#eef0f4)}.nUhMVa_groupAddPick input{flex-shrink:0;margin:0}.nUhMVa_groupAddPick .nUhMVa_nm{text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;font-size:12px;overflow:hidden}.nUhMVa_groupAddFooterMeta{color:var(--dsw-alias-label-secondary,#6b7280);align-self:center;margin-right:auto;font-size:12px;line-height:18px}.nUhMVa_groupOrgHint{color:var(--dsw-alias-label-tertiary,#8b93a1);margin:4px 0 0;font-size:11px;line-height:16px}.nUhMVa_groupRenameField{flex-direction:column;gap:6px;min-width:min(100%,320px);display:flex}.nUhMVa_groupRenameField label{color:var(--dsw-alias-label-secondary,#6b7280);font-size:12px;line-height:18px}.nUhMVa_groupRenameField .nUhMVa_inlineInput{width:100%}.nUhMVa_groupCreate{align-items:center;gap:8px;margin-bottom:10px;display:flex}.nUhMVa_groupCreateInline{flex-shrink:0;align-items:center;gap:8px;display:flex}.nUhMVa_groupCreateInline .nUhMVa_inlineInput{flex:none;width:160px}.nUhMVa_inlineInput{flex:1;min-width:120px}.nUhMVa_ungroupedRow{flex-wrap:nowrap}.nUhMVa_ungroupedRow>.nUhMVa_nm{flex:0 auto;max-width:42%;font-size:12px;line-height:18px}.nUhMVa_ungroupedState{flex:0 auto;align-items:center;min-width:0;max-width:46%;margin:0;display:inline-flex}.nUhMVa_ungroupedState>span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.nUhMVa_ungroupedDesc{text-overflow:ellipsis;white-space:nowrap;min-width:0;color:var(--dsw-alias-label-tertiary,#8b93a1);flex:1 1 0;font-size:12px;line-height:18px;overflow:hidden}.nUhMVa_ungroupedDesc.nUhMVa_noteMine{color:var(--dsw-alias-label-primary,#1f2328)}.nUhMVa_groupHint{color:var(--dsw-alias-label-tertiary,#8b93a1);font-size:11px}.nUhMVa_sect{color:var(--dsw-alias-label-secondary,#6b7280);margin:14px 2px 8px;font-size:12px;font-weight:600}.nUhMVa_sectAction{color:var(--dsw-alias-label-secondary,#6b7280);align-items:center;gap:8px;margin:14px 2px 8px;font-size:12px;font-weight:600;display:flex}.nUhMVa_backupGrid{grid-template-columns:minmax(0,1fr);gap:12px;display:grid}.nUhMVa_backupCard{background:var(--dsw-alias-settings-card-fill,var(--dsw-alias-bg-layer-1,#fff));border:.5px solid var(--dsw-alias-settings-card-stroke,var(--dsw-alias-border-l4,#00000029));border-radius:var(--dsw-radius-xl,20px);flex-direction:column;gap:10px;padding:16px;display:flex}.nUhMVa_backupCard h3{margin:0;font-size:14px}.nUhMVa_backupCard p{color:var(--dsw-alias-label-secondary,#6b7280);margin:0;font-size:12px;line-height:18px}.nUhMVa_backupActions{flex-wrap:wrap;gap:8px;display:flex;position:relative}.nUhMVa_hiddenFile{opacity:0;pointer-events:none;width:1px;height:1px;position:absolute}.nUhMVa_backupInput{box-sizing:border-box;width:100%}.nUhMVa_backupCheck{cursor:pointer;align-items:center;gap:6px;font-size:12px;display:flex}.nUhMVa_backupWarn{margin:0;font-size:12px;line-height:18px;color:var(--dsw-alias-state-warn-primary,#b45309)!important}.nUhMVa_backupMessage{color:var(--dsw-alias-label-secondary,#6b7280);grid-column:1/-1;font-size:12px}.nUhMVa_backupCheckList{flex-direction:column;gap:6px;max-height:260px;margin:10px 0 4px;padding-right:4px;display:flex;overflow-y:auto}.nUhMVa_backupCheckList .nUhMVa_backupCheck{justify-content:space-between;gap:8px}.nUhMVa_diagPage{flex-direction:column;gap:12px;height:100%;min-height:0;display:flex;overflow-y:auto}.nUhMVa_panelHost .nUhMVa_diagPage{height:auto;overflow:visible}.nUhMVa_diagSummary{background:var(--dsw-alias-settings-card-fill,var(--dsw-alias-bg-layer-1,#fff));border:.5px solid var(--dsw-alias-settings-card-stroke,var(--dsw-alias-border-l4,#00000029));border-radius:var(--dsw-radius-lg,16px);flex-wrap:wrap;align-items:center;gap:12px;padding:10px 14px;font-size:12px;display:flex}.nUhMVa_diagSummaryItem{color:var(--dsw-alias-label-secondary,#6b7280);white-space:nowrap;align-items:center;gap:6px;display:inline-flex}.nUhMVa_diagSummaryMeta{color:var(--dsw-alias-label-tertiary,#9ca3af);font-family:var(--ds-font-family-code,ui-monospace,Menlo,Consolas,monospace);text-overflow:ellipsis;white-space:nowrap;max-width:320px;font-size:11px;overflow:hidden}.nUhMVa_diagSection{background:var(--dsw-alias-settings-card-fill,var(--dsw-alias-bg-layer-1,#fff));border:.5px solid var(--dsw-alias-settings-card-stroke,var(--dsw-alias-border-l4,#00000029));border-radius:var(--dsw-radius-lg,16px);flex-direction:column;gap:8px;padding:12px 14px;display:flex}.nUhMVa_diagSection h3{color:var(--dsw-alias-label-primary,#1f2328);margin:0;font-size:13px;font-weight:600}.nUhMVa_diagCount{color:var(--dsw-alias-label-tertiary,#9ca3af);font-size:11px;font-weight:400}.nUhMVa_diagEmpty{color:var(--dsw-alias-label-secondary,#9ca3af);padding:8px 0;font-size:12px}.nUhMVa_diagBundle{border-top:1px solid var(--dsw-alias-border-l2,#f0f1f3);flex-direction:column;gap:6px;padding-top:8px;display:flex}.nUhMVa_diagBundle:first-of-type{border-top:none;padding-top:0}.nUhMVa_diagRow{flex-wrap:wrap;align-items:center;gap:8px;min-width:0;font-size:12px;line-height:18px;display:flex}.nUhMVa_diagMeta{align-items:baseline;gap:8px;min-width:0;font-size:12px;display:flex}.nUhMVa_diagKey{color:var(--dsw-alias-label-tertiary,#9ca3af);flex-shrink:0;min-width:64px;font-size:11px}.nUhMVa_diagVal{color:var(--dsw-alias-label-primary,#1f2328);font-size:12px;font-weight:500;font-family:var(--ds-font-family-code,ui-monospace,Menlo,Consolas,monospace);overflow-wrap:anywhere;min-width:0}.nUhMVa_diagIndex{background:var(--dsw-alias-bg-layer-2,#f3f4f6);min-width:18px;height:18px;color:var(--dsw-alias-label-secondary,#6b7280);border-radius:9px;flex-shrink:0;justify-content:center;align-items:center;font-size:11px;font-weight:600;display:inline-flex}.nUhMVa_diagArrow{color:var(--dsw-alias-label-tertiary,#9ca3af);flex-shrink:0;font-size:12px}.nUhMVa_diagBadgeOfficial{background:var(--dsw-alias-button-primary-fill,var(--dsw-alias-brand-primary,#4f6ef7));height:18px;color:var(--dsw-alias-label-primary-foreground,#fff);border-radius:9px;flex-shrink:0;align-items:center;padding:0 8px;font-size:11px;font-weight:600;display:inline-flex}.nUhMVa_diagBadgeCommunity{background:var(--dsw-alias-bg-layer-2,#f3f4f6);height:18px;color:var(--dsw-alias-label-secondary,#6b7280);border-radius:9px;flex-shrink:0;align-items:center;padding:0 8px;font-size:11px;display:inline-flex}.nUhMVa_diagBadgeShadow{background:var(--dsw-alias-state-error-primary,#dc2626);height:18px;color:var(--dsw-alias-label-primary-foreground,#fff);border-radius:9px;flex-shrink:0;align-items:center;padding:0 8px;font-size:11px;font-weight:600;display:inline-flex}.nUhMVa_diagBadgeWarn{background:var(--dsw-alias-state-warn-primary,#b45309);height:18px;color:var(--dsw-alias-label-primary-foreground,#fff);white-space:nowrap;border-radius:9px;flex-shrink:0;align-items:center;padding:0 8px;font-size:11px;font-weight:600;display:inline-flex}.nUhMVa_diagBadgeInfo{background:var(--dsw-alias-bg-layer-2,#f3f4f6);height:18px;color:var(--dsw-alias-label-secondary,#6b7280);white-space:nowrap;border-radius:9px;flex-shrink:0;align-items:center;padding:0 8px;font-size:11px;display:inline-flex}.nUhMVa_diagList{flex-direction:column;gap:6px;display:flex}.nUhMVa_sectionOverview{color:var(--dsw-alias-label-tertiary,#8b93a1);text-overflow:ellipsis;white-space:nowrap;max-width:100%;padding:2px 0 6px;font-size:12px;line-height:18px;overflow:hidden}.nUhMVa_diagAlert{color:var(--dsw-alias-state-warn-primary,#b45309)}.nUhMVa_ovRow{background:var(--dsw-alias-bg-layer-2,#f7f8fa);border-radius:8px;flex-wrap:wrap;align-items:center;gap:8px;min-width:0;padding:6px 10px;font-size:12px;line-height:18px;display:flex}.nUhMVa_ovArrow{color:var(--dsw-alias-label-tertiary,#9ca3af);flex-shrink:0;font-size:12px}.nUhMVa_ovByTag{background:var(--dsw-alias-button-primary-fill,var(--dsw-alias-brand-primary,#4f6ef7));height:18px;color:var(--dsw-alias-label-primary-foreground,#fff);text-overflow:ellipsis;white-space:nowrap;border-radius:9px;flex-shrink:0;align-items:center;max-width:260px;padding:0 8px;font-size:11px;font-weight:600;display:inline-flex;overflow:hidden}.nUhMVa_ovFrom{color:var(--dsw-alias-label-secondary,#6b7280);text-overflow:ellipsis;white-space:nowrap;min-width:0;font-size:12px;overflow:hidden}.nUhMVa_orphRow{background:var(--dsw-alias-bg-layer-2,#f7f8fa);border-radius:8px;flex-wrap:wrap;align-items:center;gap:8px;min-width:0;padding:6px 10px;font-size:12px;line-height:18px;display:flex}.nUhMVa_orphBadge{background:var(--dsw-alias-state-warn-primary,#b45309);height:18px;color:var(--dsw-alias-label-primary-foreground,#fff);white-space:nowrap;border-radius:9px;flex-shrink:0;align-items:center;padding:0 8px;font-size:11px;font-weight:600;display:inline-flex}.nUhMVa_dragHandle{width:20px;height:20px;color:var(--dsw-alias-label-tertiary,#9ca3af);cursor:grab;-webkit-user-select:none;user-select:none;flex-shrink:0;justify-content:center;align-items:center;font-size:12px;line-height:20px;display:inline-flex}.nUhMVa_dragOver{outline:2px dashed var(--dsw-alias-brand-primary,#4f6ef7);outline-offset:2px;background:var(--dsw-alias-bg-layer-2,#f0f2f8);border-radius:8px}.nUhMVa_dragging{opacity:.45;background:var(--dsw-alias-bg-layer-2,#f3f4f6)}.nUhMVa_collapseHead{font:inherit;color:var(--dsw-alias-label-primary,#1f2328);cursor:pointer;text-align:left;background:0 0;border:none;align-items:center;gap:8px;width:100%;padding:0;font-size:13px;font-weight:600;display:flex}.nUhMVa_collapseIcon{color:var(--dsw-alias-label-secondary,#6b7280);flex-shrink:0;display:inline-flex}.nUhMVa_collapseTitle{flex:0 auto;min-width:0}.nUhMVa_collapseHead .nUhMVa_diagCount{flex-shrink:0}.nUhMVa_collapseBody{border-top:1px solid var(--dsw-alias-border-l2,#f0f1f3);overflow-wrap:anywhere;flex-direction:column;gap:10px;min-width:0;margin-top:8px;padding-top:10px;display:flex}.nUhMVa_orderPanel{flex-direction:column;gap:10px;min-width:0;display:flex}.nUhMVa_panelNote{color:var(--dsw-alias-label-secondary,#6b7280);margin:0;font-size:12px;line-height:18px}.nUhMVa_panelActions{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.nUhMVa_presetList{flex-direction:column;gap:6px;min-width:0;display:flex}.nUhMVa_presetRow{background:var(--dsw-alias-bg-layer-2,#f7f8fa);border-radius:8px;flex-direction:column;align-items:stretch;gap:6px;min-width:0;max-width:100%;padding:8px 10px;font-size:12px;line-height:18px;display:flex}.nUhMVa_presetName{text-overflow:ellipsis;white-space:nowrap;min-width:0;font-size:13px;font-weight:600;overflow:hidden}.nUhMVa_snapList{flex-direction:column;gap:6px;min-width:0;display:flex}.nUhMVa_snapRow{background:var(--dsw-alias-bg-layer-2,#f7f8fa);border-radius:8px;flex-direction:column;align-items:stretch;gap:8px;padding:10px 12px;font-size:12px;line-height:18px;display:flex}.nUhMVa_snapMeta{flex-wrap:wrap;align-items:center;gap:8px;min-width:0;display:flex}.nUhMVa_snapConfirmText{color:var(--dsw-alias-state-warn-primary,#b45309);margin:0;font-size:12px;line-height:18px}.nUhMVa_confirmRow{flex-wrap:wrap;align-items:center;gap:6px;display:inline-flex}.nUhMVa_fixFallback{flex-direction:column;gap:6px;margin:8px 0;display:flex}.nUhMVa_fixFallbackText,.nUhMVa_envEditor{box-sizing:border-box;width:100%;font-family:var(--ds-font-family-code,ui-monospace,Menlo,Consolas,monospace);color:var(--dsw-alias-label-primary,#1f2328);background:var(--dsw-alias-bg-layer-2,#f3f4f6);border:1px solid var(--dsw-alias-border-l2,#e5e7eb);resize:vertical;white-space:pre-wrap;word-break:break-all;border-radius:6px;padding:8px 10px;font-size:11px;line-height:16px}.nUhMVa_setCard{border:.5px solid var(--dsw-alias-settings-card-stroke,var(--dsw-alias-border-l4,#00000029));background:var(--dsw-alias-bg-layer-3,#fff);border-radius:var(--dsw-radius-lg,16px);list-style:none;transition:border-color .16s,background .16s}.nUhMVa_setCard:hover{border-color:var(--dsw-alias-label-dimmed,#c8ccd4)}.nUhMVa_setCardOpen{background:var(--dsw-alias-bg-layer-2,#f7f8fa);border-color:var(--dsw-alias-label-dimmed,#c8ccd4)}.nUhMVa_setHeader{-webkit-appearance:none;appearance:none;width:100%;font:inherit;color:inherit;text-align:left;cursor:pointer;border-radius:var(--dsw-radius-lg,16px);background:0 0;border:0;align-items:center;gap:12px;padding:14px 16px;display:flex}.nUhMVa_setHeader:focus-visible{outline:2px solid var(--dsw-alias-brand-primary,#4f6ef7);outline-offset:-2px}.nUhMVa_setHeadText{flex-direction:column;flex:1;gap:4px;min-width:0;display:flex}.nUhMVa_setName{color:var(--dsw-alias-label-primary,#1f2328);font-size:15px;font-weight:600;line-height:1.4}.nUhMVa_setDesc{color:var(--dsw-alias-label-tertiary,#8b93a1);font-size:13px;line-height:1.5}.nUhMVa_setChevron{color:var(--dsw-alias-label-tertiary,#8b93a1);flex:none;transition:transform .16s;display:inline-flex}.nUhMVa_setChevronOpen{transform:rotate(180deg)}.nUhMVa_setBody{border-top:1px solid var(--dsw-alias-border-l2,#e5e7eb);margin:0 16px;padding-bottom:8px}.nUhMVa_setRow{align-items:center;gap:12px;padding:12px 0;display:flex}.nUhMVa_setRow+.nUhMVa_setRow{border-top:1px solid var(--dsw-alias-border-l2,#e5e7eb)}.nUhMVa_setLabelBox{flex-direction:column;flex:1;gap:3px;min-width:0;display:flex}.nUhMVa_setLabel{font-size:13px;line-height:20px}.nUhMVa_setHint{color:var(--dsw-alias-label-tertiary,#8b93a1);font-size:12px;line-height:18px}.nUhMVa_setAdvanced{border-bottom:1px solid var(--dsw-alias-border-l2,#e5e7eb)}.nUhMVa_setAdvancedHead{-webkit-appearance:none;appearance:none;width:100%;font:inherit;color:inherit;text-align:left;cursor:pointer;background:0 0;border:0;align-items:center;gap:12px;padding:12px 0;display:flex}.nUhMVa_setAdvancedHead:focus-visible{outline:2px solid var(--dsw-alias-brand-primary,#4f6ef7);outline-offset:-2px}.nUhMVa_setAdvancedBody{padding-bottom:4px}.nUhMVa_setConfirm{border-top:1px solid var(--dsw-alias-border-l2,#e5e7eb);flex-direction:column;gap:8px;padding:12px 0 4px;display:flex}.nUhMVa_setCheck{cursor:pointer;align-items:center;gap:8px;font-size:12px;line-height:18px;display:flex}.nUhMVa_setActions{border-top:1px solid var(--dsw-alias-border-l2,#e5e7eb);justify-content:flex-end;align-items:center;gap:8px;padding:12px 0 4px;display:flex}.nUhMVa_setInlineActions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:6px;display:flex}.nUhMVa_setProxyEditor{border-top:1px solid var(--dsw-alias-border-l2,#e5e7eb);flex-wrap:wrap;align-items:flex-end;gap:10px;padding:12px 0;display:flex}.nUhMVa_setProxyLabel{min-width:180px;color:var(--dsw-alias-label-secondary,#6b7280);flex-direction:column;flex:1;gap:5px;font-size:12px;line-height:18px;display:flex}.nUhMVa_setProxyInput{box-sizing:border-box;border:1px solid var(--dsw-alias-border-l2,#d1d5db);background:var(--dsw-alias-bg-layer-3,#fff);width:100%;min-width:0;color:var(--dsw-alias-label-primary,#1f2328);font:inherit;border-radius:7px;padding:6px 8px;font-size:12px;line-height:18px}.nUhMVa_setProxyInput:focus{border-color:var(--dsw-alias-brand-primary,#4f6ef7);outline:2px solid color-mix(in srgb,var(--dsw-alias-brand-primary,#4f6ef7) 18%,transparent)}.nUhMVa_setDanger{color:var(--dsw-alias-state-error-primary,#dc2626)}.nUhMVa_setSeg{border-radius:var(--dsw-radius-md,12px);background:var(--dsw-alias-bg-module-platform,#f4f5f7);border:none;flex-shrink:0;gap:2px;padding:3px;display:inline-flex}.nUhMVa_setSegBtn{font:inherit;border-radius:var(--dsw-radius-sm,8px);height:26px;color:var(--dsw-alias-label-secondary,#5c6570);cursor:pointer;background:0 0;border:none;padding:0 10px;font-size:12px;line-height:18px}.nUhMVa_setSegBtn:disabled{cursor:default;opacity:.5}.nUhMVa_setSegOn{background:var(--dsw-alias-bg-layer-3,#fff);color:var(--dsw-alias-label-primary,#1f2328);box-shadow:0 0 0 .5px var(--dsw-alias-border-l3,#0000001f);font-weight:600}.nUhMVa_setBetaTag{background:var(--dsw-alias-bg-module-platform,#eef0f4);color:var(--dsw-alias-label-secondary,#6b7280);border-radius:9px;margin-left:6px;padding:0 6px;font-size:11px;font-weight:600;line-height:17px}.nUhMVa_commentsLink{cursor:pointer;white-space:nowrap;color:var(--dsw-alias-label-tertiary,#8b93a1);background:0 0;border:0;padding:0;font-size:12px;line-height:18px}.nUhMVa_commentsLink:hover{color:var(--dsw-alias-brand-primary,#4f6ef7)}.nUhMVa_footActions{flex-shrink:0;align-items:center;gap:8px;display:inline-flex}.nUhMVa_favoriteBtn{cursor:pointer;color:var(--dsw-alias-label-secondary,#9ca3af);background:0 0;border:0;align-items:center;padding:0;display:inline-flex}.nUhMVa_favoriteMark{transform-box:fill-box;transform-origin:50% 0;display:block}.nUhMVa_favoriteBtn:hover,.nUhMVa_favoriteOn{color:var(--dsw-alias-brand-primary,#4f6ef7)}.nUhMVa_cardMore{cursor:pointer;font:inherit;letter-spacing:1px;color:var(--dsw-alias-label-secondary,#9ca3af);background:0 0;border:0;padding:0 2px;font-size:14px;line-height:16px}.nUhMVa_cardMore:hover{color:var(--dsw-alias-label-primary,#1f2328)}.nUhMVa_blockedTabHint{color:var(--dsw-alias-label-secondary,#9ca3af);margin:0 0 12px;font-size:12px;line-height:18px}.nUhMVa_blockedMissing{flex-direction:column;gap:4px;margin-top:8px;display:flex}.nUhMVa_blockedBarRow{justify-content:space-between;align-items:center;gap:8px;min-width:0;display:flex}.nUhMVa_blockedBarName{text-overflow:ellipsis;white-space:nowrap;min-width:0;font-size:13px;line-height:20px;overflow:hidden}.nUhMVa_blockedBarUndo{cursor:pointer;font:inherit;color:var(--dsw-alias-brand-primary,#4f6ef7);background:0 0;border:0;padding:0;font-size:12px;line-height:18px}.nUhMVa_commentsNote{color:var(--dsw-alias-label-secondary,#9ca3af);margin:0 0 8px;font-size:11px;line-height:16px}.nUhMVa_commentsGithubPrompt{border:1px solid color-mix(in srgb,var(--dsw-alias-brand-primary,#4f6ef7) 24%,transparent);background:color-mix(in srgb,var(--dsw-alias-brand-primary,#4f6ef7) 6%,transparent);border-radius:8px;margin:0 0 10px;padding:10px}.nUhMVa_commentsGithubHint{color:var(--dsw-alias-label-primary,#1f2328);margin:0 0 8px;font-size:12px;line-height:17px}.nUhMVa_commentsGithubAction{box-sizing:border-box;border:1px solid var(--dsw-alias-brand-primary,#4f6ef7);min-height:28px;color:var(--dsw-alias-brand-primary,#4f6ef7);border-radius:6px;justify-content:center;align-items:center;padding:5px 10px;font-size:12px;font-weight:600;line-height:16px;text-decoration:none;display:inline-flex}.nUhMVa_commentsGithubAction:hover{background:color-mix(in srgb,var(--dsw-alias-brand-primary,#4f6ef7) 9%,transparent)}.nUhMVa_commentsStatus{color:var(--dsw-alias-label-secondary,#9ca3af);margin:0;font-size:12px}.nUhMVa_commentsStatus:empty{display:none}.nUhMVa_commentsError{color:var(--dsw-alias-label-primary,#1f2328);margin:0 0 8px;font-size:12px}.nUhMVa_commentsFail{flex-direction:column;align-items:flex-start;gap:8px;padding:12px 0;display:flex}.nUhMVa_commentsMount{width:100%;min-height:240px;max-height:56vh;overflow:auto}.nUhMVa_commentsMount iframe{width:100%}.nUhMVa_notesLink{font:inherit;color:var(--dsw-alias-label-secondary,#6b7280);cursor:pointer;text-align:left;background:0 0;border:none;margin:2px 0 0;padding:0;font-size:12px;line-height:18px;display:block}.nUhMVa_notesLink:hover{color:var(--dsw-alias-label-primary,#1f2328)}.nUhMVa_notesModalWide{width:min(640px,92vw);max-width:min(640px,92vw)}.nUhMVa_notesBody{overscroll-behavior:contain;flex-direction:column;flex:0 auto;gap:10px;min-width:0;max-height:min(60vh,520px);padding:0 2px 8px 0;display:flex;overflow-y:auto}.nUhMVa_notesRange{align-items:center;gap:8px;margin-bottom:4px;font-size:12px;line-height:18px;display:flex}.nUhMVa_notesArrow{color:var(--dsw-alias-label-tertiary,#8b93a1)}.nUhMVa_notesMeta{letter-spacing:.02em;text-transform:uppercase;color:var(--dsw-alias-label-secondary,#6b7280);flex-wrap:wrap;align-items:baseline;gap:6px;margin-top:4px;font-size:12px;line-height:18px;display:flex}.nUhMVa_notesBody>.nUhMVa_notesMeta:first-child{margin-top:0}.nUhMVa_notesHistory,.nUhMVa_notesHeld{flex-direction:column;gap:8px;min-width:0;display:flex}.nUhMVa_notesHistory>.nUhMVa_notesMeta:first-child,.nUhMVa_notesHeld>.nUhMVa_notesMeta:first-child{margin-top:0}.nUhMVa_notesHeld:not(:first-child){border-top:1px solid var(--dsw-alias-border-l2,#e5e7eb);padding-top:10px}.nUhMVa_notesEntry{border-bottom:1px solid var(--dsw-alias-border-l2,#e5e7eb);padding-bottom:8px}.nUhMVa_notesEntry:last-child{border-bottom:none}.nUhMVa_notesSummary{cursor:pointer;overflow-wrap:anywhere;font-size:13px;line-height:20px}.nUhMVa_notesSummary+.nUhMVa_notesRendered{margin-top:8px}.nUhMVa_notesPre{white-space:pre-wrap;word-break:break-word;background:var(--dsw-alias-bg-layer-2,#eef0f4);border-radius:8px;max-height:40vh;margin:0;padding:10px 12px;font-size:13px;line-height:20px;overflow:auto}.nUhMVa_notesRendered{flex-direction:column;gap:8px;min-width:0;display:flex}.nUhMVa_notesImg{border-radius:6px;max-width:100%;height:auto;margin:4px 0;display:block}.nUhMVa_notesH{margin-top:4px;font-size:13px;font-weight:650;line-height:20px}.nUhMVa_notesP{font-size:13px;line-height:20px}.nUhMVa_notesQuote{border-left:3px solid var(--dsw-alias-border-l3,#d9dde3);background:var(--dsw-alias-bg-layer-2,#f7f8fa);color:var(--dsw-alias-label-primary,#1f2328);border-radius:0 6px 6px 0;margin:0;padding:8px 10px;font-size:13px;line-height:20px}.nUhMVa_notesFence{background:var(--dsw-alias-bg-layer-2,#eef0f4);font-family:var(--ds-font-family-code,ui-monospace,Menlo,Consolas,monospace);white-space:pre;border-radius:8px;margin:0;padding:10px 12px;font-size:12px;line-height:18px;overflow-x:auto}.nUhMVa_notesFence code{font:inherit;background:0 0;padding:0}.nUhMVa_notesBullets{flex-direction:column;gap:4px;margin:0;padding-left:18px;font-size:13px;line-height:20px;display:flex}.nUhMVa_notesA{color:var(--dsw-alias-brand-primary,#4f6ef7);text-decoration:none}.nUhMVa_notesA:hover{text-decoration:underline}.nUhMVa_notesCode{font-family:var(--ds-font-family-code,ui-monospace,Menlo,Consolas,monospace);background:var(--dsw-alias-bg-layer-2,#eef0f4);border-radius:5px;padding:1px 5px;font-size:12px}.nUhMVa_notesList{flex-direction:column;margin:0;padding:0;list-style:none;display:flex}.nUhMVa_notesRow{border-bottom:1px solid var(--dsw-alias-border-l2,#e5e7eb);align-items:baseline;gap:12px;padding:6px 0;display:flex}.nUhMVa_notesRow:last-child{border-bottom:none}.nUhMVa_notesDate{color:var(--dsw-alias-label-tertiary,#8b93a1);font-variant-numeric:tabular-nums;flex-shrink:0;font-size:12px}.nUhMVa_notesMsg{word-break:break-word;word-break:break-word;-webkit-line-clamp:3;-webkit-box-orient:vertical;min-width:0;font-size:13px;line-height:20px;display:-webkit-box;overflow:hidden}.nUhMVa_notesSha{color:var(--dsw-alias-label-secondary,#6b7280);font-variant-numeric:tabular-nums;flex-shrink:0;margin-left:auto;font-size:12px;text-decoration:none}.nUhMVa_recoverySummary{color:var(--dsw-alias-state-error-primary,#dc2626);word-break:break-word;align-items:flex-start;gap:8px;margin-bottom:8px;font-size:12px;display:flex}.nUhMVa_recoveryHint{color:var(--dsw-alias-label-secondary,#6b7280);margin:8px 0;font-size:12px}.nUhMVa_recoveryList{border:1px solid var(--dsw-alias-border-l2,#e5e7eb);border-radius:8px;flex-direction:column;max-height:320px;display:flex;overflow-x:hidden;overflow-y:auto}.nUhMVa_recoveryRow{border-top:1px solid var(--dsw-alias-border-l2,#eef0f4);align-items:flex-start;gap:8px;padding:6px 10px;font-size:12px;display:flex}.nUhMVa_recoveryRow:first-child{border-top:none}.nUhMVa_recoveryBlamed{box-shadow:inset 3px 0 0 var(--dsw-alias-state-error-primary,#dc2626);background:#dc262612}.nUhMVa_recoveryMuted{opacity:.6}.nUhMVa_recoveryName{word-break:break-word;flex-direction:column;gap:2px;min-width:0;display:flex}.nUhMVa_recoveryReason{color:var(--dsw-alias-state-error-primary,#dc2626);word-break:break-word;font-size:11px}.nUhMVa_recoveryNote{color:var(--dsw-alias-label-tertiary,#8b93a1);word-break:break-word;margin-top:8px;font-size:11px}.nUhMVa_recoveryBadge{background:var(--dsw-alias-bg-layer-2,#eef0f4);color:var(--dsw-alias-label-secondary,#6b7280);border-radius:5px;margin-left:6px;padding:0 5px;font-size:10px}.nUhMVa_recoveryLog{color:var(--dsw-alias-label-secondary,#6b7280);margin:4px 0 8px;font-size:11px}.nUhMVa_recoveryLog pre{white-space:pre-wrap;word-break:break-word;max-height:180px;margin:6px 0 0;overflow:auto}.nUhMVa_notesSha:hover{color:var(--dsw-alias-label-primary,#1f2328);text-decoration:underline}.nUhMVa_notesVer{color:inherit;font-weight:600;text-decoration:none}.nUhMVa_notesVer:hover{text-decoration:underline}.nUhMVa_notesSourceLink{color:var(--dsw-alias-brand-primary,#4f6ef7);white-space:nowrap;text-decoration:none}.nUhMVa_notesSourceLink:hover{text-decoration:underline}.nUhMVa_migrationSources{flex-direction:column;gap:8px;margin-top:4px;display:flex}.nUhMVa_migrationSource{border:1px solid var(--dsw-alias-border-l2,#e5e7eb);border-radius:8px;flex-direction:column;gap:4px;padding:10px 12px;display:flex}.nUhMVa_migrationSource code{font-size:12px;font-family:var(--ds-font-family-code,ui-monospace,Menlo,Consolas,monospace);overflow-wrap:anywhere}.nUhMVa_migrationLabel{color:var(--dsw-alias-label-secondary,#9ca3af);font-size:11px}.nUhMVa_migrationArrow{text-align:center;color:var(--dsw-alias-label-secondary,#9ca3af)}.nUhMVa_migrationWarning{color:var(--dsw-alias-state-warn-primary,#b45309);align-items:flex-start;gap:6px;margin:12px 0 0;font-size:12px;line-height:18px;display:flex}.nUhMVa_migrationNote{color:var(--dsw-alias-label-secondary,#6b7280);margin:12px 0 0;font-size:12px;line-height:18px}.nUhMVa_sourceRepo{color:var(--dsw-alias-label-secondary,#5c6570);align-self:flex-end;align-items:center;gap:2px;font-size:13px;line-height:20px;text-decoration:none;display:inline-flex}.nUhMVa_sourceRepo:hover{color:var(--dsw-alias-brand-primary,#4f6ef7);text-decoration:underline}.nUhMVa_sourceRepo:focus-visible{outline:2px solid var(--dsw-alias-brand-primary,#4f6ef7);outline-offset:2px;border-radius:4px}.nUhMVa_updateChecks{margin:12px 0;font-size:13px}.nUhMVa_updateChecks summary{cursor:pointer}.nUhMVa_updateChecksSummary{opacity:.7;margin-left:8px}.nUhMVa_updateChecksControls{flex-wrap:wrap;align-items:center;gap:12px;margin-top:12px;display:flex}.nUhMVa_updateChecksToggle{align-items:center;gap:8px;display:inline-flex}.nUhMVa_updateChecksHint{opacity:.7;margin:8px 0}.nUhMVa_updateChecksList{margin:12px 0;padding:0;list-style:none}.nUhMVa_updateChecksList li{flex-wrap:wrap;align-items:center;gap:12px;padding:8px 0;display:flex}.nUhMVa_updateChecksPackage{overflow-wrap:anywhere;flex-direction:column;flex:1;min-width:0;display:flex}.nUhMVa_updateChecksPackage>span{opacity:.7;font-size:12px}.nUhMVa_updateChecksInterval{align-items:center;gap:8px;display:inline-flex}.nUhMVa_updateChecksInterval select{color:inherit;background:var(--dsw-alias-bg-layer-1,#fff);border:1px solid var(--dsw-alias-border-l2,#e5e7eb);font:inherit;border-radius:6px;padding:4px 8px}.nUhMVa_noticeFrame{flex-direction:column;min-width:0;height:100%;min-height:0;display:flex}.nUhMVa_noticeFrameOff{display:contents}.nUhMVa_noticeBody{flex-direction:column;flex:1;min-width:0;min-height:0;display:flex}.nUhMVa_moveNotice{box-sizing:border-box;border-radius:var(--dsw-radius-md,12px);background:var(--dsw-alias-bg-module-platform,#f4f5f7);color:var(--dsw-alias-label-secondary,#5c6570);flex-wrap:wrap;flex:none;align-items:center;gap:8px 12px;margin:0 0 8px;padding:8px 12px;font-size:12px;line-height:18px;display:flex}.nUhMVa_moveNoticeText{flex:220px;min-width:0}.nUhMVa_sponsorMark{white-space:nowrap;color:var(--dsw-alias-label-tertiary,#8b93a1);flex-wrap:nowrap;flex:none;align-items:center;gap:6px;font-size:12px;line-height:20px;display:inline-flex}.nUhMVa_sponsorItem{color:inherit;align-items:center;gap:4px;text-decoration:none;display:inline-flex}.nUhMVa_sponsorItem:hover{color:var(--dsw-alias-brand-primary,#4f6ef7)}.nUhMVa_sponsorLogo{object-fit:contain;background:#fff;border-radius:3px;width:auto;max-width:56px;height:14px;display:block}.nUhMVa_sponsorSlot{flex-wrap:wrap;justify-content:flex-end;align-self:center;align-items:center;min-width:0;height:20px;padding-right:4px;display:flex;overflow:hidden}.nUhMVa_sponsorWrapFloor{flex:none;width:0;height:20px}";
|
|
4238
4410
|
const tagId = "dsh-crate/Market.module.css";
|
|
4239
4411
|
if (typeof document !== "undefined" && document.querySelector("style[data-plugin-css=" + JSON.stringify(tagId) + "]") === null) {
|
|
4240
4412
|
const tag = document.createElement("style");
|
|
@@ -4401,7 +4573,9 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
4401
4573
|
"favoriteOn": "nUhMVa_favoriteOn",
|
|
4402
4574
|
"favoritesSectionHead": "nUhMVa_favoritesSectionHead",
|
|
4403
4575
|
"favoritesStaleBar": "nUhMVa_favoritesStaleBar",
|
|
4576
|
+
"favoritesStaleName": "nUhMVa_favoritesStaleName",
|
|
4404
4577
|
"favoritesStaleOnly": "nUhMVa_favoritesStaleOnly",
|
|
4578
|
+
"favoritesStaleRow": "nUhMVa_favoritesStaleRow",
|
|
4405
4579
|
"fixFallback": "nUhMVa_fixFallback",
|
|
4406
4580
|
"fixFallbackText": "nUhMVa_fixFallbackText",
|
|
4407
4581
|
"foot": "nUhMVa_foot",
|
|
@@ -4449,23 +4623,37 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
4449
4623
|
"installCautionMark": "nUhMVa_installCautionMark",
|
|
4450
4624
|
"irow": "nUhMVa_irow",
|
|
4451
4625
|
"irowActions": "nUhMVa_irowActions",
|
|
4626
|
+
"irowBody": "nUhMVa_irowBody",
|
|
4452
4627
|
"irowDesc": "nUhMVa_irowDesc",
|
|
4628
|
+
"irowDescBand": "nUhMVa_irowDescBand",
|
|
4629
|
+
"irowFootRow": "nUhMVa_irowFootRow",
|
|
4453
4630
|
"irowHead": "nUhMVa_irowHead",
|
|
4631
|
+
"irowIncompat": "nUhMVa_irowIncompat",
|
|
4632
|
+
"irowIncompatBody": "nUhMVa_irowIncompatBody",
|
|
4633
|
+
"irowIncompatTitle": "nUhMVa_irowIncompatTitle",
|
|
4454
4634
|
"irowMenu": "nUhMVa_irowMenu",
|
|
4455
4635
|
"irowMeta": "nUhMVa_irowMeta",
|
|
4636
|
+
"irowMetaText": "nUhMVa_irowMetaText",
|
|
4456
4637
|
"irowMissing": "nUhMVa_irowMissing",
|
|
4457
4638
|
"irowName": "nUhMVa_irowName",
|
|
4458
4639
|
"irowNameText": "nUhMVa_irowNameText",
|
|
4640
|
+
"irowNoteActions": "nUhMVa_irowNoteActions",
|
|
4641
|
+
"irowNoteActionsSpaced": "nUhMVa_irowNoteActionsSpaced",
|
|
4459
4642
|
"irowPath": "nUhMVa_irowPath",
|
|
4460
4643
|
"irowPathCopy": "nUhMVa_irowPathCopy",
|
|
4461
4644
|
"irowPathIcon": "nUhMVa_irowPathIcon",
|
|
4462
4645
|
"irowStatus": "nUhMVa_irowStatus",
|
|
4463
4646
|
"irowStatusAction": "nUhMVa_irowStatusAction",
|
|
4647
|
+
"irowStatusBand": "nUhMVa_irowStatusBand",
|
|
4464
4648
|
"irowStatusFact": "nUhMVa_irowStatusFact",
|
|
4465
4649
|
"irowStatusIcon": "nUhMVa_irowStatusIcon",
|
|
4650
|
+
"irowStatusMuted": "nUhMVa_irowStatusMuted",
|
|
4466
4651
|
"irowStatusPart": "nUhMVa_irowStatusPart",
|
|
4467
4652
|
"irowStatusSep": "nUhMVa_irowStatusSep",
|
|
4468
4653
|
"irowTrailing": "nUhMVa_irowTrailing",
|
|
4654
|
+
"irowTrailingHint": "nUhMVa_irowTrailingHint",
|
|
4655
|
+
"irowTrailingRow": "nUhMVa_irowTrailingRow",
|
|
4656
|
+
"irowUpdateBtn": "nUhMVa_irowUpdateBtn",
|
|
4469
4657
|
"lightbox": "nUhMVa_lightbox",
|
|
4470
4658
|
"lightboxClose": "nUhMVa_lightboxClose",
|
|
4471
4659
|
"lightboxDot": "nUhMVa_lightboxDot",
|
|
@@ -4479,8 +4667,11 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
4479
4667
|
"loadMore": "nUhMVa_loadMore",
|
|
4480
4668
|
"logoMark": "nUhMVa_logoMark",
|
|
4481
4669
|
"logoSweep": "nUhMVa_logoSweep",
|
|
4670
|
+
"marketVersionGroup": "nUhMVa_marketVersionGroup",
|
|
4671
|
+
"marketVersionWait": "nUhMVa_marketVersionWait",
|
|
4482
4672
|
"masonry": "nUhMVa_masonry",
|
|
4483
4673
|
"masonryCol": "nUhMVa_masonryCol",
|
|
4674
|
+
"masonryInstalled": "nUhMVa_masonryInstalled",
|
|
4484
4675
|
"memberKind": "nUhMVa_memberKind",
|
|
4485
4676
|
"memberName": "nUhMVa_memberName",
|
|
4486
4677
|
"memberNameWithDesc": "nUhMVa_memberNameWithDesc",
|
|
@@ -4495,6 +4686,8 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
4495
4686
|
"migrationSources": "nUhMVa_migrationSources",
|
|
4496
4687
|
"migrationWarning": "nUhMVa_migrationWarning",
|
|
4497
4688
|
"modalNote": "nUhMVa_modalNote",
|
|
4689
|
+
"moveNotice": "nUhMVa_moveNotice",
|
|
4690
|
+
"moveNoticeText": "nUhMVa_moveNoticeText",
|
|
4498
4691
|
"nameLink": "nUhMVa_nameLink",
|
|
4499
4692
|
"nm": "nUhMVa_nm",
|
|
4500
4693
|
"nmLink": "nUhMVa_nmLink",
|
|
@@ -4511,8 +4704,11 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
4511
4704
|
"notesBullets": "nUhMVa_notesBullets",
|
|
4512
4705
|
"notesCode": "nUhMVa_notesCode",
|
|
4513
4706
|
"notesDate": "nUhMVa_notesDate",
|
|
4707
|
+
"notesEntry": "nUhMVa_notesEntry",
|
|
4514
4708
|
"notesFence": "nUhMVa_notesFence",
|
|
4515
4709
|
"notesH": "nUhMVa_notesH",
|
|
4710
|
+
"notesHeld": "nUhMVa_notesHeld",
|
|
4711
|
+
"notesHistory": "nUhMVa_notesHistory",
|
|
4516
4712
|
"notesImg": "nUhMVa_notesImg",
|
|
4517
4713
|
"notesLink": "nUhMVa_notesLink",
|
|
4518
4714
|
"notesList": "nUhMVa_notesList",
|
|
@@ -4527,8 +4723,12 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
4527
4723
|
"notesRow": "nUhMVa_notesRow",
|
|
4528
4724
|
"notesSha": "nUhMVa_notesSha",
|
|
4529
4725
|
"notesSourceLink": "nUhMVa_notesSourceLink",
|
|
4726
|
+
"notesSummary": "nUhMVa_notesSummary",
|
|
4530
4727
|
"notesVer": "nUhMVa_notesVer",
|
|
4531
4728
|
"noteToggle": "nUhMVa_noteToggle",
|
|
4729
|
+
"noticeBody": "nUhMVa_noticeBody",
|
|
4730
|
+
"noticeFrame": "nUhMVa_noticeFrame",
|
|
4731
|
+
"noticeFrameOff": "nUhMVa_noticeFrameOff",
|
|
4532
4732
|
"okState": "nUhMVa_okState",
|
|
4533
4733
|
"on": "nUhMVa_on",
|
|
4534
4734
|
"opActions": "nUhMVa_opActions",
|
|
@@ -4557,6 +4757,7 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
4557
4757
|
"opPanel": "nUhMVa_opPanel",
|
|
4558
4758
|
"opPanelTitle": "nUhMVa_opPanelTitle",
|
|
4559
4759
|
"opQueuedIcon": "nUhMVa_opQueuedIcon",
|
|
4760
|
+
"opRepairTitle": "nUhMVa_opRepairTitle",
|
|
4560
4761
|
"opRow": "nUhMVa_opRow",
|
|
4561
4762
|
"opRowAlert": "nUhMVa_opRowAlert",
|
|
4562
4763
|
"opStatus": "nUhMVa_opStatus",
|
|
@@ -4674,6 +4875,11 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
4674
4875
|
"specTagFile": "nUhMVa_specTagFile",
|
|
4675
4876
|
"specTagGit": "nUhMVa_specTagGit",
|
|
4676
4877
|
"spin": "nUhMVa_spin",
|
|
4878
|
+
"sponsorItem": "nUhMVa_sponsorItem",
|
|
4879
|
+
"sponsorLogo": "nUhMVa_sponsorLogo",
|
|
4880
|
+
"sponsorMark": "nUhMVa_sponsorMark",
|
|
4881
|
+
"sponsorSlot": "nUhMVa_sponsorSlot",
|
|
4882
|
+
"sponsorWrapFloor": "nUhMVa_sponsorWrapFloor",
|
|
4677
4883
|
"src": "nUhMVa_src",
|
|
4678
4884
|
"staleAction": "nUhMVa_staleAction",
|
|
4679
4885
|
"star": "nUhMVa_star",
|
|
@@ -4739,6 +4945,307 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
4739
4945
|
"warnLine": "nUhMVa_warnLine"
|
|
4740
4946
|
};
|
|
4741
4947
|
//#endregion
|
|
4948
|
+
//#region src/client/SettingsNotice.tsx
|
|
4949
|
+
/**
|
|
4950
|
+
* The "this has moved" line at the top of the market in Settings.
|
|
4951
|
+
*
|
|
4952
|
+
* On a host that has the Plugins page tab, the tab is where the market lives
|
|
4953
|
+
* now and the Settings entry is on its way out. The market stays fully usable
|
|
4954
|
+
* below the line; the line is a statement with one way to the new place, not a
|
|
4955
|
+
* warning. Everywhere else (older hosts, the sidebar, the Plugins tab itself)
|
|
4956
|
+
* nothing is added.
|
|
4957
|
+
*
|
|
4958
|
+
* The frame keeps the market at the same place in the tree whether or not the
|
|
4959
|
+
* line is showing, so the line appearing when the host's slot or the saved
|
|
4960
|
+
* answer arrives late never remounts (and so never resets) the market.
|
|
4961
|
+
*/
|
|
4962
|
+
/** The id the market registers its Plugins page tab under. */
|
|
4963
|
+
const MARKET_TAB_ID = "dsh-crate";
|
|
4964
|
+
const CLOSE_LABEL = /^(关闭|关闭对话框|Close|Close dialog|閉じる)$/i;
|
|
4965
|
+
function wait(ms) {
|
|
4966
|
+
return new Promise((resolve) => {
|
|
4967
|
+
setTimeout(resolve, ms);
|
|
4968
|
+
});
|
|
4969
|
+
}
|
|
4970
|
+
/** Poll until `probe` answers truthy; null on timeout. */
|
|
4971
|
+
async function until(probe, timeoutMs) {
|
|
4972
|
+
const deadline = Date.now() + timeoutMs;
|
|
4973
|
+
for (;;) {
|
|
4974
|
+
const found = probe();
|
|
4975
|
+
if (found) return found;
|
|
4976
|
+
if (Date.now() >= deadline) return null;
|
|
4977
|
+
await wait(40);
|
|
4978
|
+
}
|
|
4979
|
+
}
|
|
4980
|
+
/** The market's tab in the Plugins page's tab row, once it is in the page. */
|
|
4981
|
+
function findMarketTab(doc) {
|
|
4982
|
+
const tabs = doc.querySelectorAll(`[role="tab"][id$="-${MARKET_TAB_ID}"]`);
|
|
4983
|
+
for (const tab of Array.from(tabs)) if (tab.closest("[role=\"dialog\"]") === null) return tab;
|
|
4984
|
+
return null;
|
|
4985
|
+
}
|
|
4986
|
+
/** Close the dialog that holds `from`. Resolves true once it is gone. */
|
|
4987
|
+
async function closeDialogOf(from, doc) {
|
|
4988
|
+
const dialog = from.closest("[role=\"dialog\"]");
|
|
4989
|
+
if (dialog === null) return true;
|
|
4990
|
+
const closeButton = Array.from(dialog.querySelectorAll("button")).find((button) => CLOSE_LABEL.test((button.getAttribute("aria-label") ?? button.textContent ?? "").trim()));
|
|
4991
|
+
if (closeButton !== void 0) closeButton.click();
|
|
4992
|
+
else {
|
|
4993
|
+
const init = {
|
|
4994
|
+
key: "Escape",
|
|
4995
|
+
code: "Escape",
|
|
4996
|
+
keyCode: 27,
|
|
4997
|
+
bubbles: true,
|
|
4998
|
+
cancelable: true
|
|
4999
|
+
};
|
|
5000
|
+
const focused = doc.activeElement;
|
|
5001
|
+
(focused !== null && dialog.contains(focused) ? focused : dialog).dispatchEvent(new KeyboardEvent("keydown", init));
|
|
5002
|
+
}
|
|
5003
|
+
return await until(() => !from.isConnected || !dialog.isConnected, 1500) !== null;
|
|
5004
|
+
}
|
|
5005
|
+
/**
|
|
5006
|
+
* Take the user to the Plugins page, select the market tab there when it can
|
|
5007
|
+
* be found, and close the Settings dialog `from` sits in.
|
|
5008
|
+
*
|
|
5009
|
+
* Landing on the Plugins page without the market tab selected is still a
|
|
5010
|
+
* success: the user is where the market lives, one click from it.
|
|
5011
|
+
* @returns false when the user was NOT taken anywhere (no navigation, the
|
|
5012
|
+
* host threw, or the dialog would not close), so the caller can say so.
|
|
5013
|
+
*/
|
|
5014
|
+
async function openMarketTab(navigation, from, doc = document) {
|
|
5015
|
+
if (navigation?.openList === void 0) return false;
|
|
5016
|
+
try {
|
|
5017
|
+
navigation.openList();
|
|
5018
|
+
const tab = await until(() => findMarketTab(doc), 3e3);
|
|
5019
|
+
if (tab !== null) {
|
|
5020
|
+
tab.click();
|
|
5021
|
+
await until(() => tab.getAttribute("aria-selected") === "true", 1e3);
|
|
5022
|
+
}
|
|
5023
|
+
return await closeDialogOf(from, doc);
|
|
5024
|
+
} catch {
|
|
5025
|
+
return false;
|
|
5026
|
+
}
|
|
5027
|
+
}
|
|
5028
|
+
function Notice({ t, hostNavigation }) {
|
|
5029
|
+
const rootRef = (0, react.useRef)(null);
|
|
5030
|
+
const mounted = (0, react.useRef)(true);
|
|
5031
|
+
const [, bump] = (0, react.useState)(0);
|
|
5032
|
+
const [busy, setBusy] = (0, react.useState)(false);
|
|
5033
|
+
const [failed, setFailed] = (0, react.useState)(false);
|
|
5034
|
+
(0, react.useEffect)(() => {
|
|
5035
|
+
mounted.current = true;
|
|
5036
|
+
return () => {
|
|
5037
|
+
mounted.current = false;
|
|
5038
|
+
};
|
|
5039
|
+
}, []);
|
|
5040
|
+
(0, react.useEffect)(() => hostNavigation?.subscribe(() => {
|
|
5041
|
+
bump((n) => n + 1);
|
|
5042
|
+
}), [hostNavigation]);
|
|
5043
|
+
const canGo = typeof hostNavigation?.get()?.openList === "function";
|
|
5044
|
+
const go = (0, react.useCallback)(() => {
|
|
5045
|
+
if (rootRef.current === null) return;
|
|
5046
|
+
setBusy(true);
|
|
5047
|
+
setFailed(false);
|
|
5048
|
+
openMarketTab(hostNavigation?.get(), rootRef.current).then((ok) => {
|
|
5049
|
+
if (!mounted.current) return;
|
|
5050
|
+
setBusy(false);
|
|
5051
|
+
setFailed(!ok);
|
|
5052
|
+
});
|
|
5053
|
+
}, [hostNavigation]);
|
|
5054
|
+
return (0, react.createElement)("div", {
|
|
5055
|
+
className: Market_module_css_default.moveNotice,
|
|
5056
|
+
ref: rootRef,
|
|
5057
|
+
"data-dsh-crate-notice": ""
|
|
5058
|
+
}, (0, react.createElement)("span", { className: Market_module_css_default.moveNoticeText }, failed ? t("noticeFailed") : canGo ? t("noticeText") : t("noticeTextManual")), canGo ? (0, react.createElement)(_deepseek_ai_dsh_client_ui_primitives.Button, {
|
|
5059
|
+
variant: "outline",
|
|
5060
|
+
size: "sm",
|
|
5061
|
+
disabled: busy,
|
|
5062
|
+
onClick: go
|
|
5063
|
+
}, t("noticeGo")) : null);
|
|
5064
|
+
}
|
|
5065
|
+
/**
|
|
5066
|
+
* Wraps the Settings surface's market. The line shows while the host has the
|
|
5067
|
+
* Plugins tab and the user keeps it on — the only case where "it moved" is
|
|
5068
|
+
* true and there is somewhere to go.
|
|
5069
|
+
*/
|
|
5070
|
+
function SettingsNoticeFrame({ t, entries, hostNavigation, children }) {
|
|
5071
|
+
const [, bump] = (0, react.useState)(0);
|
|
5072
|
+
(0, react.useEffect)(() => entries?.subscribe(() => {
|
|
5073
|
+
bump((n) => n + 1);
|
|
5074
|
+
}), [entries]);
|
|
5075
|
+
const show = entries !== void 0 && entries.pluginsTabSupported() && entries.pluginsTab();
|
|
5076
|
+
return (0, react.createElement)("div", { className: show ? Market_module_css_default.noticeFrame : Market_module_css_default.noticeFrameOff }, show ? (0, react.createElement)(Notice, {
|
|
5077
|
+
t,
|
|
5078
|
+
hostNavigation
|
|
5079
|
+
}) : null, (0, react.createElement)("div", { className: show ? Market_module_css_default.noticeBody : Market_module_css_default.noticeFrameOff }, children));
|
|
5080
|
+
}
|
|
5081
|
+
//#endregion
|
|
5082
|
+
//#region src/client/ErrorBoundary.tsx
|
|
5083
|
+
/**
|
|
5084
|
+
* The market's last line of defence: a crash renders a way out, not a blank.
|
|
5085
|
+
*
|
|
5086
|
+
* Every part of the market UI is inside one React tree. When that tree
|
|
5087
|
+
* throws during render or commit, React unmounts it — and what the user gets
|
|
5088
|
+
* is an empty settings panel, with the "export log" button gone along with
|
|
5089
|
+
* everything else. That is not hypothetical: it is #293, where browser page
|
|
5090
|
+
* translation replaced text nodes under React and the resulting
|
|
5091
|
+
* NotFoundError blanked the panel for months, and every request for a log
|
|
5092
|
+
* came back empty because there was no longer a button to press.
|
|
5093
|
+
*
|
|
5094
|
+
* #513 fixed that particular trigger. This exists because the next one will
|
|
5095
|
+
* be different, and the property worth having is not "translation is
|
|
5096
|
+
* handled" but "a crash is survivable and reportable".
|
|
5097
|
+
*
|
|
5098
|
+
* Deliberately not a retry loop. If the same render throws again the
|
|
5099
|
+
* boundary catches it again and the user is back here, which is honest —
|
|
5100
|
+
* an automatic remount would flicker between a broken UI and this panel
|
|
5101
|
+
* with no way to read either.
|
|
5102
|
+
*/
|
|
5103
|
+
/**
|
|
5104
|
+
* The last crash this boundary caught, for the exported log.
|
|
5105
|
+
*
|
|
5106
|
+
* Module-level rather than component state because the log export runs
|
|
5107
|
+
* outside this tree — and a crash the user has already dismissed is still
|
|
5108
|
+
* the most useful line in their report.
|
|
5109
|
+
*/
|
|
5110
|
+
let lastCrash = null;
|
|
5111
|
+
/** The crash to report in the exported log, or null when there was none. */
|
|
5112
|
+
function lastMarketCrash() {
|
|
5113
|
+
return lastCrash;
|
|
5114
|
+
}
|
|
5115
|
+
var MarketErrorBoundary = class extends react.Component {
|
|
5116
|
+
state = { error: null };
|
|
5117
|
+
static getDerivedStateFromError(error) {
|
|
5118
|
+
return { error };
|
|
5119
|
+
}
|
|
5120
|
+
componentDidCatch(error, info) {
|
|
5121
|
+
lastCrash = {
|
|
5122
|
+
message: error.message,
|
|
5123
|
+
stack: info.componentStack ?? error.stack ?? null,
|
|
5124
|
+
at: (/* @__PURE__ */ new Date()).toISOString()
|
|
5125
|
+
};
|
|
5126
|
+
console.error("[dsh-crate] the market UI crashed and was replaced by its recovery panel", error, info.componentStack);
|
|
5127
|
+
}
|
|
5128
|
+
render() {
|
|
5129
|
+
const { error } = this.state;
|
|
5130
|
+
if (error === null) return this.props.children;
|
|
5131
|
+
const { text, actions } = this.props;
|
|
5132
|
+
return (0, react.createElement)("div", {
|
|
5133
|
+
"data-dsh-crate-root": "",
|
|
5134
|
+
"data-dsh-crate-crashed": "",
|
|
5135
|
+
translate: "no",
|
|
5136
|
+
className: "notranslate",
|
|
5137
|
+
style: {
|
|
5138
|
+
padding: "24px",
|
|
5139
|
+
display: "flex",
|
|
5140
|
+
flexDirection: "column",
|
|
5141
|
+
gap: "12px",
|
|
5142
|
+
alignItems: "flex-start"
|
|
5143
|
+
}
|
|
5144
|
+
}, [
|
|
5145
|
+
(0, react.createElement)("div", {
|
|
5146
|
+
key: "title",
|
|
5147
|
+
style: {
|
|
5148
|
+
fontSize: "14px",
|
|
5149
|
+
fontWeight: 600
|
|
5150
|
+
}
|
|
5151
|
+
}, text.title),
|
|
5152
|
+
(0, react.createElement)("div", {
|
|
5153
|
+
key: "hint",
|
|
5154
|
+
style: {
|
|
5155
|
+
fontSize: "12px",
|
|
5156
|
+
lineHeight: "19px",
|
|
5157
|
+
opacity: .8,
|
|
5158
|
+
whiteSpace: "pre-wrap"
|
|
5159
|
+
}
|
|
5160
|
+
}, text.hint),
|
|
5161
|
+
(0, react.createElement)("div", {
|
|
5162
|
+
key: "actions",
|
|
5163
|
+
style: {
|
|
5164
|
+
display: "flex",
|
|
5165
|
+
gap: "8px",
|
|
5166
|
+
flexWrap: "wrap"
|
|
5167
|
+
}
|
|
5168
|
+
}, [(0, react.createElement)("button", {
|
|
5169
|
+
key: "reload",
|
|
5170
|
+
type: "button",
|
|
5171
|
+
onClick: () => {
|
|
5172
|
+
this.setState({ error: null });
|
|
5173
|
+
}
|
|
5174
|
+
}, text.reload), actions]),
|
|
5175
|
+
(0, react.createElement)("details", {
|
|
5176
|
+
key: "details",
|
|
5177
|
+
style: {
|
|
5178
|
+
fontSize: "11px",
|
|
5179
|
+
opacity: .7
|
|
5180
|
+
}
|
|
5181
|
+
}, [(0, react.createElement)("summary", {
|
|
5182
|
+
key: "summary",
|
|
5183
|
+
style: { cursor: "pointer" }
|
|
5184
|
+
}, text.details), (0, react.createElement)("pre", {
|
|
5185
|
+
key: "body",
|
|
5186
|
+
style: {
|
|
5187
|
+
whiteSpace: "pre-wrap",
|
|
5188
|
+
wordBreak: "break-word",
|
|
5189
|
+
margin: "8px 0 0"
|
|
5190
|
+
}
|
|
5191
|
+
}, error.message)])
|
|
5192
|
+
]);
|
|
5193
|
+
}
|
|
5194
|
+
};
|
|
5195
|
+
//#endregion
|
|
5196
|
+
//#region src/client/sponsors.generated.ts
|
|
5197
|
+
const SPONSORS = [{
|
|
5198
|
+
"id": "qiniu",
|
|
5199
|
+
"name": {
|
|
5200
|
+
"zh": "七牛云",
|
|
5201
|
+
"en": "Qiniu Cloud",
|
|
5202
|
+
"ja": "七牛云 (Qiniu Cloud)"
|
|
5203
|
+
},
|
|
5204
|
+
"scope": {
|
|
5205
|
+
"zh": "企业级 MaaS 平台",
|
|
5206
|
+
"en": "Enterprise MaaS platform",
|
|
5207
|
+
"ja": "エンタープライズ MaaS プラットフォーム"
|
|
5208
|
+
},
|
|
5209
|
+
"url": "https://www.qiniu.com/ai/free-models/conatus-2026?utm_source=dsh-crate&utm_medium=oss&utm_campaign=comatus_202611&utm_content=market",
|
|
5210
|
+
"until": null,
|
|
5211
|
+
"logo": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAAQKADAAQAAAABAAAAQAAAAABGUUKwAAANg0lEQVR4Ae1bCXBV1Rn+38vLvhMCWdgSwiqYBGQREIY40ILTUqiDZaYyQGGstSO1tljt2FIoo2Vaact0w3ZUaBHLUItQhUIR2QQiEGQJYEjCkoWQhQSyL6/fd967Lzcv7yW5N3nKTPzhvXfvueeefzn/+bdzYomet9te19AivRGCAqxiq61vkbq6ZhFLLxOBXcSOj81CxrVPL5MBebf2Mp7bsfulANqJpJc1mNOARniNehjO+wVIC2kyAcYF0NQizz0xTJbPSzaN1ASd3l8B4yu+kSw/WJgiAtqMgnEBNNulAYhe/3G6fHc+hFDb5BknfYyvAbifBg2bfpQOmoAPtBkF4wJA8LB5z3XJuXlPNj6bKk99c6gI4wgdbnrViFB/kRY0+kIQxAWcxE0aPgMtW/ZeFwFtRsH4G3Ced6saZM3my2Lzs8iffpguq1eMFiuZ1ang9p9NlC0vjpcgG1DohGOUwHb9gYO4iJO4/UADaSFNooKadm902GBcABwu0E+27rsuHxwvVjh/vmSUbF8zSQb1C1FLwg6j1IC1+e3ZgyRjfD/Yih4wmBQiVJ44iIs4ye/7oOFt0EKazIA5AQBxM2bh+787K0VldQrvgukJcvSPM5RBsoHYi9eqVPus8bGOpWCGOr7DJQSBUrtp7IiDuAhFpXWKBtJiNpS3qZHMfEG1c2/ckyWvnJJ3102WEMzAgNhg2bRqnDz5lUFSea9RjTojta+IP2aHRFppHboA6KqWE9Q9NCJAvjYjUVY+niKTH+jjerkGQlnyq1OSBxrMzj4HswTPec9e251kCO8unDVQ3noJ6z2gvRrWNeD56pNy4NRtqa6BUGipXUG4JhC00YNxtrGmQ8MC5MGkcHlscpwsAPOjBoe7GOcFs9clr34i7+y9IRLUHmebzt5ugCoY73ZfAIqiZpmfkSh/WzVeosNh/d2gBYzlFdbIudxKOZ9XJXnFNXK7ol44iwRqT2x0oCTFhciYIREydmiEJCeEebRpd+42ynfWn5Z/Hbhpnnki7VEBcEBowgSo6F8QH6QPi2JLj8OZz+7IU78+I5nny7vHPClzCsDPf9ii1U0MIjRtNEs2bELhrVrZhpmx4F9qSqQE+puzse4k3IP137A9R5Zj5nMLqru15vVj+4PmnlkC+lFp7LBGx46Ikp2/nCxJCaH6p4auK6Du735UIL/dcVXOXbnjCHS6akg7w+TUAPNewBsCEgjjcu5SBdZ8lUsAJVjzzTCA8X2DvL2p2tkvC6r+H/j3944VSz6iPBpG08auQ2yoCHXy3Pxj0Hzjdq3r/QswfvQGKQPDJDk+VOL6BEposAN9NVS8uLxecouqJbewWkrKEVswu8MsoWbVdffpwtb1C98JADRcv1XjomTc8CjxD7TK8axSOX621MGcK0YGk/iv4gTONtwk/f/SOYMlIz1WNu3Olz3QCOkhm+IiChe+EwCYuFbSqgGRYf4y7YEY2V4EoXQUtsKGRIXaZMfayZIxDlEk4M3/ItSlbfEB9IyZ9kQYbMFN3RJgl1nMCzrjA6r/08UjXcwzzL0O76LsgCc83WzzqQCKK+qk1hnskM5HUmMkEJrgVQgImCKiAmVRxgAXW/dqmuR2Zb0jenS19tyF7wSApVyGFLXiLtJUJ6QkhslohrW6tFl7pn4b7TIOQVQicgoN1BjMK3xEqY+GBfmwAXcxeyUVrQJg/SAjDclRs5fSFdofTcdzHdxiyAwv4TEu1vUze+lDAYBPBESFZa2GkETOmdTfsQTo5tw/FJDT8GkMFZTifW8ao3Xqxq/vvACJwoxe07lCNk1HevzSstGyP/OW2HVRHas8c6fEy8RRrSkv+6v3feQBOL5vBYBlcOBMqTzNCrITGH+vWz5afZj9oovKgvnrCT7E+12uI3gaoJM23y0BIkZ94P1jRXIiu8IjGRrT2q97p0MImKgpqqDi/rCH7n0rAMwqc/7F6zLlxEWksAbg6LkyWYpqUz3thBftMDCc1649nw16QgUjFhxkw/qPkcH9Q8SKte8pHiKfLVjveYgWD31aKvWMIbBkfAIggBUh39oAjXIwUYuZ3Psx4nkvHlDrqn5pHBn3+4p5HbLPRwBEyOn1UDPU0fKFXPpIv74QXkwh7fUCML8EaMVopCjCrqo2HT/fo99TFg83KJurte5tvXc1CNLGNKgH5gQAukNhQZfOS5JSJDzbPizo3FXhnbBgfwlGUaSyukka6ptkCErf86fGS+aVCjmSVQZBUCqtwDuWy/39rJAbJecZWIQtQ9KlTru1HcLzC7pWcwLAXl8I6v/cmT17tVK2cWfWUzRDYvjh7CIs/uvzaTITFZ7pKw/L5QtlMhLlsdeeGSuv/TNHjqD+h51UR396AXxsEMieV6fI6CHhHW4yE/WCl0+ooKvL2ugUgnEBQI3Xf2+spKVEqf3BQfDrO9dP0cm09ZIzk3m5Qta+kS1BITZ5aES09MOM/mFlqlTXNkpcjCPtnQctSEmYJhYrBAVm/rHvhryDDU+7n01OoRrM2eXq8QYUQDkqyGZCZhMCEOF+38TRjqSFO0FfRxLjDfw4m6gGx0UHoRAapAIdBkRWUK0pTVJCiAzGrhB6KgGoqBFrvwnvrXj1lPcCih4pl483O6Lv53ZtXABgaOGaTBmCmd+Dmb+CsvUTuCf1igE9AnB4l7k8JnYomAwN9pOdRwpl5YYsdLbIzAn95I0Xxsvru/LllTezVa2QWlNRjRoCDGsYqsZxiaEdzj7RES/3IG86d6r1JHR2bVwAGPEaSteM8amWPGl6CSXv9tw7UXOaMZvpWDKED06WqPcpgCKUwgl3qhvRhmIpDKsCCIy1grmoHWx7eYJaao0Ip6lNzCbbq4RFjp0vk2nPHjK8DEwJgAVKf5avAeRPqZ7jVrW1+7JbJQvGchm2trbux44uvAEPTajlgc5cDqro6RxTvQ9muUnyP2SD/WOCsGEaqc4inM+pFIu+HzoT9YX8DiZBDej5y5wAPI/VtpVVHH4YIyCu338SaS19Ou87EpY2Ct45mHVbDh4tko0/GacE8OKmC/LWv3PbltUZixCoPZ+LDXCg6/gbjM+eFCczUf/bjJp+dv5dB9NkXDsuA8J5jIZAY+cKqlQLOjoPPMXCBnzr0QFyC7tFu7g5Am+irD2Eyb2G53BwgpXnDdg/VON1RbgKh+Or2xrA9FWdEtMjrmvEjk5feWHRcMlEMSQbn2UgdM7E/rAb6A+w470EZ/WXR16GxsMLQO25Gqj6z//5vNQhyJo/LV76RgbK+revSHkB9gkZK6gBRCrR76swpJPgkY4hrjjM6pHB3SPTAiChZIZ+fcm8ISCpVQJ2zDIPOig6yS9m+CHsFj8+I0G1uX+NQEDEjwYF2FBZBXW3YrksxkErQiO0ZdFjSVBzHR4UXa/hsAUFwL2EwziFYhRMC4DHaqpQ9k7G9jddmTco574A1ue6v1+WTbvyXAbcDoam4wDV7xFNbsEy+Q2eW2gfAPVYQlTrALzH8QncLeoIEhhUQYOMgjkBABEjL/r/qWNjHJ7ADTM1JA/u8ihUk3uBnNUCfYUYAgiLDFAHLs9erZKzVyrRjy7OCYj/aRvWbrkkfcIDvGYCxMO1v+NQoSkBdK8kBsTK0lPwjqWtke80enjgbvXZj/0BdH8BUOkm2ANlCB3Nbb9p5TuKg1VvDMi17+Ye2w7kdgc6ulUS4y5Pi8UqflDTRhyx8Qcjehnw2A1PcZJXMugHZnlP389CZwuSoxaLXeruQYhUXRJPt0lXxiM7VAa2c4rpEbBtpoDX7MdnNMB83g0wtQRI2y+eHCGNiAJtkPy+0yUyHPt+cx+OQ6yP7ey917Ch2SAxcFNpSRGyE+5rTHKkDITVDwQDOTjnc+CTEjiPFpk5JValxzwcwW2zPZklMgkGkzvLudgVnoWdooMojz+CA1hWCGn7R4XCswbcek9G/kDhU8Ac99RlHKOhIA2AKQFQ6PFIbpoxEzkgPLFvsJqIEOWi7FINA8k8n4ekEhHF7Uaq2x/eIhr7/vwjpeHw7bmFoUprxmCzlFVingALR+yflhyBM4IRUosc4uExMTJqQJhk4rgN5KpOlghcI7fXwgNtEg0bkotcZDbun9n4qQG2W7tyMg2DFsLyWMuMtFgVy9eA6dI79VJcVq+092R2uWzFibFj2A9gXt8EYVEIDUhaAmDgIhDQcN3zjCCBhyHTcLLsIoKmjxE3TEXGWVPXpJKcgUi8eNhqF6rKqdCEBri/cwh9aYg5BlPmUQOx69yprWjPqnEjiGXHv7eb+WAMiLeJP2Y5r7haqlDlSUO8XoiM7AY2NG2Y1QokOUE4JpuKg4/5qPVTIyrRRkZ5AIqqO3JQODSmSR2g4lHbHHgOqjYTJVabqA2nkUfEQ3jFCHwSkFLXI85gVSkKqTgDKl5TuHl6L9Oe17Yt4KN7J0VpiGiXKHXMqLJ2mlHSliF/2QezpIwW+9J48R7CUMBrAvvymmuY47Af1xrshBqf7/Jem+U213iXa8TI+sdw3fICHhMPEu0ObHK1O5+77vFMT7TWrv1yLC3BIcME7df92rGSVBcjX6ZsgBEE93vfLwVwv8+Qr+mzKZsCg9DrADyTdxs3KvR2pTcJgu78/+8vKZ1vFswbAAAAAElFTkSuQmCC"
|
|
5212
|
+
}, {
|
|
5213
|
+
"id": "fenno",
|
|
5214
|
+
"name": {
|
|
5215
|
+
"zh": "Fenno.ai",
|
|
5216
|
+
"en": "Fenno.ai",
|
|
5217
|
+
"ja": "Fenno.ai"
|
|
5218
|
+
},
|
|
5219
|
+
"scope": {
|
|
5220
|
+
"zh": "编程模型 API 中转",
|
|
5221
|
+
"en": "API relay for coding models",
|
|
5222
|
+
"ja": "コーディング向けモデルの API 中継"
|
|
5223
|
+
},
|
|
5224
|
+
"url": "https://api.fenno.ai/?utm_source=dsh-crate&utm_medium=oss&utm_campaign=fenno_202611&utm_content=market",
|
|
5225
|
+
"until": null,
|
|
5226
|
+
"logo": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGAAAAAoCAYAAAABk/85AAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAAYKADAAQAAAABAAAAKAAAAADBsEzGAAAL50lEQVRoBe1aeWwc1R3+5tzL6/uI7dwhhAQTQjgSaFS1Sk9BW/WQEGqFql5S+bNq/ylFrVpRqSr/tBL80QJSC0VtaUSqRBUgLgUCDTGQi2ASE2KcOPG9nt2Z2bn7vdms7RgnWh9KUrIvWs/Om/fmvfd9v3sjRVGUR7VdNgQkEhBdttWrC0OuYnB5EagScHnxr2rAZcZ/kQmoepM587m4JkiaWj9f9OD54VRH9dusCCwOAZOSX/pytM/AywdyyBeDWRetdk4hsDgECMk/R8ILBwzs2mdBSdVjtgg3iqpaMQU/FssHEH0pwn/2G9j9uoXlyxohy+F5BFheiDHTRRhOqsv0fVy139X5n7wMZMnw7+o28cweD13XZaElJCpEBElVMFTw0XvWR84N0FoD3LxUm/+Sn8CZCyBgyuM++04Bf3/RwZJmHbU1MvwggpxQsf9DGyeGAiQTabTUylhSS1IWx+h9YqhYABwlDXj5sIlHd7lI6BpamxOIQko/zbzHCkdE4Ntak0jpQEMqRGtWLbuKTwyACz3IgjSgu9fGw/+wECoJNNQR5Uhi6Ck0gASEIbRIRjP73ZSDZfURdEUBPQOmdGeh2///nz9vDTh2xsXvnzSQy0vQNImmRYLLuD+g9AcEOSAZER1uQOdbk9LQmNUrlP6ybymDO/1efBfepXQthV7l7xcaL/rLY8RVtPK1dHf+34s9mz7yYuMu9mz6O+YZBY3kffzxXwX0nwkhM/phyAP6WBQ9BTlTwnAuwig/lg+EfO54EcadsELJn6kf4r58IPGdZMdvKo8r9Yljleq65X7RI1p5bvkq+sSY6feir9xmzi/3l6/leaVxIqiLw+1yd/zeyZvypAte52yCfK741+dNHP9Igu/ZCBM1CAMJuZyEgf4irLxDUlQkErT7TSE2bFBw/boMxuwInRlhfqgZJKUE4sf3dWbYxH8PTCCSFT7kOI79zK316O1z0D/oQFLkGOiGbIQ7NjXidSZ8RgHoWpvEqs4M9hwcR77gYWtXLXyaw+73C9CTwKc31nJcgP29FpprIty6roH7lBileXjzmIFhClUmI2Hzygyuac58fGPnekxq+ZEhFy41flWdjA5qt8C8SPZ7iUfEd66QGYyI7VfQKidAkErSXz1qYu8RSnbgw3GKCDI1cIoKJnI2CgIJRkCapiDwMyQoiT0jNkZyBrbdkUGz7aMzLcLQC0tZzwkTP/3dSahykv7Egara2PHwRvzz2Rx2vmLG5i6kWdu4xsLm627BI0+N4ugpCdtu8PHQz67Fozt5f9zB4w/oMIoqHnzMgKxF+Pl3wzgg+O3fJnDTapcE1OPdAQsP7RzG6XFqp0Rt1lXszBr43rY6fO76lhnwlQDoHrDx5BHuKy1jy9IA37mmESqPY9P0vsY8x1cCfC0po1YI0IWPOfnuygmgJBYcH//eS7uipOA6BiUsQECj73k+bNuGZeah0iH77Av8PNLpBPQaDT0fSigqPkY2RNjY6qOrMUmAubtZNihU2vUCNDWZuOfrzUhTw1pbEnBIrOvb2HZzEutXagx5m6DQ9Pl06+BZ33jXx+5Xz1LaVSZ7xdgshPRD4rnEAU8+N4x7v9rKg8uxn7L9CI89N4RjA8C6Ng/bN6dxqN/FO6cVPLF3EF3Lahg2pyaBEl8cSvmeE3maWgmZQMV7I0UMd7poTzH64zqOw0RT5Ted9niWs533snM3lRPAN+4/7qLvjIKUSLSCYJKAwPeRnxiDYeTRQvW+/cYUbrmhAW0tIfzIo5oDozZg0md4aRVSEzdMVZ1tjyJTdl0fw4aCHc+NYfUyCd//Rgo+D+e6IfYfstF92MAXtqRw95dl2D77HQGrjMefGYbO0DfwCASFwOce7WIROgk41h/i6Zdy3DNJ8T2MG0wQ+y1EboRvbmnAnbd1YPOgiUNPnMQpg+ccMmcQIOHYqIWDpzysaY3QVg8czvk4NJJH+zLaOCE4rhsXIMM0M84KW8UEiMjjzaMewkjjcUJQ0GJQPJqDopXH0EA/blqr4Bc/Xo+tm5ZQpc83ggHnKOcqHyIULUUys5BAKQsInEftyhMki75F5BUiovLp6Zd3yFi2RMe1q5LcC8eS/KRkY9N1abxxyIFO86fKjMP4TKAiyFy3ioGAC7z9Lplidk6GoDH+U0KaUa51Nl+M4RqlP/AdzqO2JinJM9tLPfQ3lgsz0FDwWO3l3O5BA5/tbIqFKaAl8CT/3NozZ89+XzEBFqOY06eBBEFUqditLWl8cMJF4HqMeAxsWFrAnx/cjo6WOkJNtZ8sutFp8p/MLTJHIybCsZY3Iw45eRN3ih6XpK6hA3/64dtRn9Gh6Qr8UJg7CoCfgCYl8WG/g9FxqhXf53oOvn3XCgwND+LEWdJLOyyaIMghQR10lttuasKv/zIARUrTZIZoqNVx61odJ96YwFMv53CkrwcnRxyYtocbOwOsbquL31H+M2h52HdsgqRFODPsYJwlFikr4wMD6OX5l9bXci0PRITrltYvz73YteI8YIIRRIH/f0LloTQiuKS1Dtm0FNt9ORjCb36ymeDXx+DHCwpcz30kYW5i1Akvrz5tsy0SBt4KSS1/xDxh1XVlFCmlgJZsErVZYYdpxbU8TV8OPcfHsOv5j/Dinj6Gtz4Skgk5NNDerOFHd7dRG3L8GIJugh0gLU0wSLBw17YWbN0gQfVzSERWHAH98Csr8cWNGhzbxGsHhjA2MoGulgD33bmWuQvzFu6t3N7qHcY4n69OOrj/8+341faV6GJ5JeTct08NEfQQCdpCzbEhibNV2Cr+XxEnBxz88hGb/OrIUqJaWHbo6xNAnMSXtmr404O3xZJdCjCnm5YpjsW2bGbI45QQnTctqoiIpg4pSMozjP2gnyAlFKxd0QCFYadofWdE0ucSuPgWCnV3dUc9Bs7mY6e9tLOO5RCFmjFO+w90LmF4TBr6B0xkKCgrOrKMxlzmKEVk6MOWt9eTIAkO9/M+5wyNmqhlhHbt8gZqXVIEc7H8lNcbNCzkqAVZmrj2xgTPqmDELqLAvgQT0aaaDP1ckQEAtSupI60xDq+gVUzA6UEXD/yhQDOSRm2Ditq6kBsGXtnbg091+bj/vk2UGOH9Bfhl0IW0RzAZOBVpf+jyYDGaEv+a+WnT6JA5/lI0seZ0sRBrCgmvdH1fmL9Ysin1QnM5X2FlURAk8hphcUWhUeQWEqMzca2kVewD6msU1NEa5Ezac4qHxFAMjEq2b1mHxrox9gfIZkQsIroj5K0IwxxruBICEShTIGQKvEwJUoSj4s5nAlLJhuc7Zra1KgVfrCnLqkj4Y62YdQ/07YIUWtc5tYoJyGQUrO6UsO8wwzv+1MiqA601bSqBtQqN2P0Cy9FtOnTW5EQ45kcckFKhpCN+eHySJnIThVLHIWCuEp9GSKZoswEUP7hC/lQi0QJ7cZq5cFAxAQKHOzZreOuAg7CYgseliqRbZsVTot3LMb62WPzRaV+TBF7n7wKqeC5CH9aCOJARoAyN2lGnhMhKWqzKYrdz2bDYx5Xc5nqWORFw4/Vp3LCmiPd6fZaaNdDlMNxk2EXbGNtAASalXIAeMtOUCbyk8MpVJPbxKzXBpe1nRkATJIKMuW74SgZ/PnsThqDipjJ7uedbNWistRm6UbAthpP5kAU4ZrkmP+xjUACTcbZJ/2AydyiSBJdksLoQ5wztTJKa6HxjVaXzEvnBlW5+KgZoHgPnRIB4f0dnEj+4l5FQapzAE1hLg2vJKDoKbEdFoSgTfCkmwCLwNoEvMgoSydIy1cP6VCqOHER6JsC/2lvFYehMoE6fKmDHDgPv9aQgJXQk+HtvilmryjJIooa/hmVYXWR5V2EJuj7rYlMHy9ItmbgEUJL4KvgC03kTICaHrIUcPGhgX7eNj4ZZLaRj1dI6kgQ/nQUrlhJWLVewvjOBZpLDGfxHHxEHq+IN1bYgAqbgi5BjbWTCYC2EP1hojPdrmFXWZVRoovh1Xout/3k9V/PNIhFwNUO4sLPP2QkvbLnq7JkIVAmYicglvq8ScIkBn7lclYCZiFzie1GK4C+21Xa5EPgfxH5MAuje8YkAAAAASUVORK5CYII="
|
|
5227
|
+
}];
|
|
5228
|
+
//#endregion
|
|
5229
|
+
//#region src/client/optional-primitives.ts
|
|
5230
|
+
function optionalComponent(name) {
|
|
5231
|
+
let value;
|
|
5232
|
+
try {
|
|
5233
|
+
value = _deepseek_ai_dsh_client_ui_primitives[name];
|
|
5234
|
+
} catch {
|
|
5235
|
+
return null;
|
|
5236
|
+
}
|
|
5237
|
+
if (typeof value === "function") return value;
|
|
5238
|
+
if (value !== null && typeof value === "object" && "$$typeof" in value) return value;
|
|
5239
|
+
return null;
|
|
5240
|
+
}
|
|
5241
|
+
/**
|
|
5242
|
+
* `Tag` — the host's read-only chip, for facts with no status meaning
|
|
5243
|
+
* (capabilities, categories). Null on hosts older than 0.1.7-rc.2.
|
|
5244
|
+
*/
|
|
5245
|
+
const HostTag = optionalComponent("Tag");
|
|
5246
|
+
const HostSwitch = optionalComponent("Switch");
|
|
5247
|
+
const HostCheckbox = optionalComponent("Checkbox");
|
|
5248
|
+
//#endregion
|
|
4742
5249
|
//#region src/client/market-mark.ts
|
|
4743
5250
|
/**
|
|
4744
5251
|
* 描边宽度。坐标都落在 0.5 的偏移上,1.25 在 16px 下是一条实心线加一点边缘过渡;
|
|
@@ -4805,7 +5312,7 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
4805
5312
|
return `https://github.com/${GISCUS.repo}/discussions?discussions_q=${encodeURIComponent(term)}`;
|
|
4806
5313
|
}
|
|
4807
5314
|
/** giscus's own locale codes, which are not the ones this plugin uses. */
|
|
4808
|
-
const giscusLang = (lang) => lang === "zh" ? "zh-CN" : "en";
|
|
5315
|
+
const giscusLang = (lang) => lang === "zh" || lang === "zh-CN" ? "zh-CN" : lang === "ja" ? "ja" : "en";
|
|
4809
5316
|
//#endregion
|
|
4810
5317
|
//#region src/client/CommentsModal.tsx
|
|
4811
5318
|
/**
|
|
@@ -5750,6 +6257,25 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
5750
6257
|
* decision — off screen. It reports the batch as one aggregate ("installing
|
|
5751
6258
|
* 3 / 7") instead of one line per plugin.
|
|
5752
6259
|
*/
|
|
6260
|
+
const repairStates = {
|
|
6261
|
+
reinstalled: "startupRepairReinstalled",
|
|
6262
|
+
verified: "startupRepairVerified",
|
|
6263
|
+
abandoned: "startupRepairAbandoned"
|
|
6264
|
+
};
|
|
6265
|
+
const repairCauses = {
|
|
6266
|
+
"version-changed": "startupRepairVersion",
|
|
6267
|
+
refused: "startupRepairRefused",
|
|
6268
|
+
"not-composed": "startupRepairNotComposed",
|
|
6269
|
+
timeout: "startupRepairTimeout",
|
|
6270
|
+
unknown: "startupRepairUnknown",
|
|
6271
|
+
abandoned: "startupRepairAbandoned"
|
|
6272
|
+
};
|
|
6273
|
+
const checkoutRecoveryCauses = {
|
|
6274
|
+
"profile-busy": "checkoutRecoveryBusy",
|
|
6275
|
+
"package-run": "checkoutRecoveryRun",
|
|
6276
|
+
"writer-lock": "checkoutRecoveryLock",
|
|
6277
|
+
"check-failed": "checkoutRecoveryCheck"
|
|
6278
|
+
};
|
|
5753
6279
|
/** What the two clash outcomes are, in the order they are offered. */
|
|
5754
6280
|
const CHOICES = [{
|
|
5755
6281
|
id: "keep",
|
|
@@ -5927,11 +6453,15 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
5927
6453
|
}
|
|
5928
6454
|
}
|
|
5929
6455
|
function OperationsPanel(props) {
|
|
5930
|
-
const { t, records, open } = props;
|
|
6456
|
+
const { t, records, open, startupRepairEntries = [], checkoutRecoveryEntries = [] } = props;
|
|
6457
|
+
const hasStartupRepair = startupRepairEntries.length > 0;
|
|
6458
|
+
const needsCheckoutRecovery = checkoutRecoveryEntries.length > 0;
|
|
5931
6459
|
const setOpen = props.onOpenChange;
|
|
5932
6460
|
const wrapRef = (0, react.useRef)(null);
|
|
5933
6461
|
const summary = summarize(records);
|
|
5934
6462
|
const busy = summary.running + summary.queued > 0;
|
|
6463
|
+
const showStartupRepairBadge = !busy && summary.attention === 0 && startupRepairEntries.some((entry) => entry.state === "pending" || entry.state === "abandoned");
|
|
6464
|
+
const attention = summary.attention > 0 || showStartupRepairBadge || needsCheckoutRecovery;
|
|
5935
6465
|
const waitingOnHost = records.some((record) => record.hostOperationId !== void 0 && record.state === "queued" && record.waitSince !== void 0);
|
|
5936
6466
|
const [, setClock] = (0, react.useState)(0);
|
|
5937
6467
|
(0, react.useEffect)(() => {
|
|
@@ -5957,14 +6487,14 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
5957
6487
|
}, [open, setOpen]);
|
|
5958
6488
|
const waitingOnAgents = summary.running === 0 && summary.blocked > 0;
|
|
5959
6489
|
const batchLabel = waitingOnAgents ? t("opWaitingAgents").replace("{0}", String(summary.blocked)) : `${t("opInstalling")} ${String(summary.progressed)}/${String(summary.total)}`;
|
|
5960
|
-
const label = busy ? batchLabel : summary.attention > 0 ? `${String(summary.attention)} ${t("opNeedsYou")}` : t("opTitle");
|
|
5961
|
-
const quiet = records.length === 0 && !open;
|
|
6490
|
+
const label = busy ? batchLabel : summary.attention > 0 ? `${String(summary.attention)} ${t("opNeedsYou")}` : showStartupRepairBadge ? `${t("opTitle")} · ${t("startupRepairBadge")}` : t("opTitle");
|
|
6491
|
+
const quiet = records.length === 0 && !showStartupRepairBadge && !needsCheckoutRecovery && !open;
|
|
5962
6492
|
return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
5963
6493
|
className: Market_module_css_default.opWrap,
|
|
5964
6494
|
ref: wrapRef,
|
|
5965
6495
|
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("button", {
|
|
5966
6496
|
type: "button",
|
|
5967
|
-
className: quiet ? `${Market_module_css_default.opEntry} ${Market_module_css_default.opEntryQuiet}` :
|
|
6497
|
+
className: quiet ? `${Market_module_css_default.opEntry} ${Market_module_css_default.opEntryQuiet}` : attention ? `${Market_module_css_default.opEntry} ${Market_module_css_default.opEntryAlert}` : Market_module_css_default.opEntry,
|
|
5968
6498
|
"aria-expanded": open,
|
|
5969
6499
|
onClick: () => setOpen(quiet ? true : !open),
|
|
5970
6500
|
children: [
|
|
@@ -5972,12 +6502,12 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
5972
6502
|
className: Market_module_css_default.spin,
|
|
5973
6503
|
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(IconLoadingOutline16, { size: 12 })
|
|
5974
6504
|
}),
|
|
5975
|
-
|
|
6505
|
+
needsCheckoutRecovery ? `${label} · ${t("checkoutRecoveryTitle")}` : label,
|
|
5976
6506
|
!busy && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
5977
6507
|
className: open ? `${Market_module_css_default.opChevron} ${Market_module_css_default.opChevronOpen}` : Market_module_css_default.opChevron,
|
|
5978
6508
|
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(IconChevronDownOutline14, { size: 12 })
|
|
5979
6509
|
}),
|
|
5980
|
-
!quiet &&
|
|
6510
|
+
!quiet && attention && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", { className: Market_module_css_default.opDot })
|
|
5981
6511
|
]
|
|
5982
6512
|
}), open && /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
5983
6513
|
className: Market_module_css_default.opPanel,
|
|
@@ -6027,7 +6557,65 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
6027
6557
|
})
|
|
6028
6558
|
]
|
|
6029
6559
|
}),
|
|
6030
|
-
|
|
6560
|
+
hasStartupRepair && /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("section", {
|
|
6561
|
+
"aria-label": t("startupRepairTitle"),
|
|
6562
|
+
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
6563
|
+
className: Market_module_css_default.opRepairTitle,
|
|
6564
|
+
children: t("startupRepairTitle")
|
|
6565
|
+
}), startupRepairEntries.map((entry) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
6566
|
+
className: Market_module_css_default.opRow,
|
|
6567
|
+
children: /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
6568
|
+
className: Market_module_css_default.opMain,
|
|
6569
|
+
children: [
|
|
6570
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
6571
|
+
className: Market_module_css_default.opName,
|
|
6572
|
+
title: entry.name,
|
|
6573
|
+
children: entry.name
|
|
6574
|
+
}),
|
|
6575
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
6576
|
+
className: Market_module_css_default.opStatus,
|
|
6577
|
+
children: t(entry.state === "pending" ? repairCauses[entry.cause] ?? "startupRepairUnknown" : repairStates[entry.state])
|
|
6578
|
+
}),
|
|
6579
|
+
entry.state === "pending" && entry.cause !== "version-changed" && entry.cause !== "abandoned" && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
6580
|
+
className: Market_module_css_default.opStatus,
|
|
6581
|
+
children: t("startupRepairPending")
|
|
6582
|
+
})
|
|
6583
|
+
]
|
|
6584
|
+
})
|
|
6585
|
+
}, entry.name))]
|
|
6586
|
+
}),
|
|
6587
|
+
needsCheckoutRecovery && /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("section", {
|
|
6588
|
+
"aria-label": t("checkoutRecoveryTitle"),
|
|
6589
|
+
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
6590
|
+
className: Market_module_css_default.opRepairTitle,
|
|
6591
|
+
children: t("checkoutRecoveryTitle")
|
|
6592
|
+
}), checkoutRecoveryEntries.map((entry) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
6593
|
+
className: `${Market_module_css_default.opRow} ${Market_module_css_default.opRowAlert}`,
|
|
6594
|
+
children: /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
6595
|
+
className: Market_module_css_default.opMain,
|
|
6596
|
+
children: [
|
|
6597
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
6598
|
+
className: Market_module_css_default.opName,
|
|
6599
|
+
title: entry.name,
|
|
6600
|
+
children: entry.name
|
|
6601
|
+
}),
|
|
6602
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
6603
|
+
className: Market_module_css_default.opStatus,
|
|
6604
|
+
children: t(entry.sourceExists ? "checkoutSourceRetained" : "checkoutSourceUnconfirmed")
|
|
6605
|
+
}),
|
|
6606
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
6607
|
+
className: Market_module_css_default.opStatus,
|
|
6608
|
+
children: t(checkoutRecoveryCauses[entry.reason])
|
|
6609
|
+
}),
|
|
6610
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
6611
|
+
className: Market_module_css_default.opStatus,
|
|
6612
|
+
children: t("checkoutRecoveryRetry")
|
|
6613
|
+
})
|
|
6614
|
+
]
|
|
6615
|
+
})
|
|
6616
|
+
}, entry.name))]
|
|
6617
|
+
}),
|
|
6618
|
+
records.length === 0 && !hasStartupRepair && !needsCheckoutRecovery && /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
6031
6619
|
className: Market_module_css_default.opEmpty,
|
|
6032
6620
|
children: [t("opEmpty"), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
6033
6621
|
className: Market_module_css_default.opEmptyHint,
|
|
@@ -6913,7 +7501,9 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
6913
7501
|
}
|
|
6914
7502
|
};
|
|
6915
7503
|
const entries = notificationNames(snapshot).map((name) => [name, snapshot.updates[name]]);
|
|
6916
|
-
const
|
|
7504
|
+
const failedNotice = failed || snapshot.stale && snapshot.error !== null;
|
|
7505
|
+
const changedNotice = !failedNotice && snapshot.stale;
|
|
7506
|
+
const state = failedNotice ? t("updateChecksFailed") : changedNotice ? t("updateChecksChanged") : snapshot.checking || pending ? t("updateChecksChecking") : snapshot.checkedAt === null ? t("updateChecksPending") : entries.length > 0 ? t("updateChecksFound").replace("{0}", String(entries.length)) : t("updateChecksNone");
|
|
6917
7507
|
return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("details", {
|
|
6918
7508
|
className: Market_module_css_default.updateChecks,
|
|
6919
7509
|
"data-dsh-crate-update-checks": true,
|
|
@@ -6983,10 +7573,10 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
6983
7573
|
className: Market_module_css_default.updateChecksHint,
|
|
6984
7574
|
children: t(snapshot.intervalHours === null ? "updateChecksLegacyHint" : "updateChecksHint")
|
|
6985
7575
|
}),
|
|
6986
|
-
(
|
|
7576
|
+
(failedNotice || changedNotice) && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("p", {
|
|
6987
7577
|
role: "status",
|
|
6988
7578
|
className: Market_module_css_default.updateChecksHint,
|
|
6989
|
-
children: t("updateChecksFailedHint")
|
|
7579
|
+
children: t(failedNotice ? "updateChecksFailedHint" : "updateChecksChangedHint")
|
|
6990
7580
|
}),
|
|
6991
7581
|
snapshot.lastSuccessAt !== null && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("p", {
|
|
6992
7582
|
className: Market_module_css_default.updateChecksHint,
|
|
@@ -7048,7 +7638,7 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
7048
7638
|
/** Oldest first, newest last: the order that makes a cap drop the oldest. */
|
|
7049
7639
|
function read() {
|
|
7050
7640
|
try {
|
|
7051
|
-
const raw =
|
|
7641
|
+
const raw = localStorage.getItem(DISMISSED_HOST_STORAGE_KEY);
|
|
7052
7642
|
if (raw === null) return [];
|
|
7053
7643
|
const parsed = JSON.parse(raw);
|
|
7054
7644
|
if (!Array.isArray(parsed)) return [];
|
|
@@ -7064,7 +7654,7 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
7064
7654
|
}
|
|
7065
7655
|
function write(ids) {
|
|
7066
7656
|
try {
|
|
7067
|
-
|
|
7657
|
+
localStorage.setItem(DISMISSED_HOST_STORAGE_KEY, JSON.stringify(ids));
|
|
7068
7658
|
} catch {}
|
|
7069
7659
|
}
|
|
7070
7660
|
let cache = null;
|
|
@@ -7080,11 +7670,11 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
7080
7670
|
/** The user cleared this host row: it must stay cleared across a reload. */
|
|
7081
7671
|
function rememberDismissedHostId(id) {
|
|
7082
7672
|
if (id === "") return;
|
|
7083
|
-
const ids =
|
|
7084
|
-
if (ids.
|
|
7085
|
-
ids.
|
|
7086
|
-
|
|
7087
|
-
write([...
|
|
7673
|
+
const ids = cache ??= new Set(read());
|
|
7674
|
+
if (ids.has(id)) return;
|
|
7675
|
+
ids.add(id);
|
|
7676
|
+
if (ids.size > 100) ids.delete(ids.values().next().value);
|
|
7677
|
+
write([...ids]);
|
|
7088
7678
|
}
|
|
7089
7679
|
//#endregion
|
|
7090
7680
|
//#region src/client/preset-panel.tsx
|
|
@@ -8924,12 +9514,102 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
8924
9514
|
];
|
|
8925
9515
|
}
|
|
8926
9516
|
//#endregion
|
|
9517
|
+
//#region src/client/sort-preference.ts
|
|
9518
|
+
/** The one key all four lists share; exported for the specs' assertions. */
|
|
9519
|
+
const SORT_PREFERENCE_KEY = "dshm-sort-v1";
|
|
9520
|
+
const DEFAULT_CHOICE = {
|
|
9521
|
+
field: "downloads",
|
|
9522
|
+
dir: "desc"
|
|
9523
|
+
};
|
|
9524
|
+
const FIELDS = [
|
|
9525
|
+
"downloads",
|
|
9526
|
+
"stars",
|
|
9527
|
+
"added"
|
|
9528
|
+
];
|
|
9529
|
+
const DIRS = ["desc", "asc"];
|
|
9530
|
+
const INSTALLED_SORTS = [
|
|
9531
|
+
"default",
|
|
9532
|
+
"name",
|
|
9533
|
+
"newest",
|
|
9534
|
+
"oldest"
|
|
9535
|
+
];
|
|
9536
|
+
/** Whatever is in storage, as an object; anything unreadable reads as empty. */
|
|
9537
|
+
function readStored() {
|
|
9538
|
+
try {
|
|
9539
|
+
const raw = localStorage.getItem(SORT_PREFERENCE_KEY);
|
|
9540
|
+
if (raw === null) return {};
|
|
9541
|
+
const parsed = JSON.parse(raw);
|
|
9542
|
+
return parsed !== null && typeof parsed === "object" && !Array.isArray(parsed) ? parsed : {};
|
|
9543
|
+
} catch {
|
|
9544
|
+
return {};
|
|
9545
|
+
}
|
|
9546
|
+
}
|
|
9547
|
+
/**
|
|
9548
|
+
* One list's stored choice, key by key.
|
|
9549
|
+
*
|
|
9550
|
+
* A half-written entry (`field` but no `dir`, or the reverse) keeps the part
|
|
9551
|
+
* that is still a known value and fills the rest from the default: falling back
|
|
9552
|
+
* on the whole object would discard a choice the file does record.
|
|
9553
|
+
*/
|
|
9554
|
+
function choiceFrom(value) {
|
|
9555
|
+
if (value === null || typeof value !== "object" || Array.isArray(value)) return DEFAULT_CHOICE;
|
|
9556
|
+
const record = value;
|
|
9557
|
+
const field = typeof record.field === "string" ? FIELDS.find((known) => known === record.field) : void 0;
|
|
9558
|
+
const dir = typeof record.dir === "string" ? DIRS.find((known) => known === record.dir) : void 0;
|
|
9559
|
+
return {
|
|
9560
|
+
field: field ?? DEFAULT_CHOICE.field,
|
|
9561
|
+
dir: dir ?? DEFAULT_CHOICE.dir
|
|
9562
|
+
};
|
|
9563
|
+
}
|
|
9564
|
+
/** Replace one entry, leaving every other list's choice where it was. */
|
|
9565
|
+
function writeStored(list, value) {
|
|
9566
|
+
try {
|
|
9567
|
+
localStorage.setItem(SORT_PREFERENCE_KEY, JSON.stringify({
|
|
9568
|
+
...readStored(),
|
|
9569
|
+
[list]: value
|
|
9570
|
+
}));
|
|
9571
|
+
} catch {}
|
|
9572
|
+
}
|
|
9573
|
+
function readSortChoice(list) {
|
|
9574
|
+
return choiceFrom(readStored()[list]);
|
|
9575
|
+
}
|
|
9576
|
+
/**
|
|
9577
|
+
* Save `patch` on top of the stored choice. The merge base is the file, not
|
|
9578
|
+
* the caller's React state: a field click and a direction click arrive as two
|
|
9579
|
+
* separate calls, and each one has to keep the other half.
|
|
9580
|
+
*/
|
|
9581
|
+
function rememberSortChoice(list, patch) {
|
|
9582
|
+
const current = readSortChoice(list);
|
|
9583
|
+
writeStored(list, {
|
|
9584
|
+
field: patch.field ?? current.field,
|
|
9585
|
+
dir: patch.dir ?? current.dir
|
|
9586
|
+
});
|
|
9587
|
+
}
|
|
9588
|
+
function readInstalledSort() {
|
|
9589
|
+
const value = readStored().installed;
|
|
9590
|
+
return typeof value === "string" ? INSTALLED_SORTS.find((known) => known === value) ?? "default" : "default";
|
|
9591
|
+
}
|
|
9592
|
+
function rememberInstalledSort(value) {
|
|
9593
|
+
writeStored("installed", value);
|
|
9594
|
+
}
|
|
9595
|
+
//#endregion
|
|
8927
9596
|
//#region src/client/MarketSection.tsx
|
|
8928
9597
|
/**
|
|
8929
9598
|
* The Market settings section: Discover / Favorites / Themes / Installed tabs over the
|
|
8930
9599
|
* /dsh-crate/* host routes, with install/update/uninstall flows and the
|
|
8931
9600
|
* pending-restart bookkeeping in window.sessionStorage.
|
|
8932
9601
|
*/
|
|
9602
|
+
/** Discover + Installed share one chip: same label fallbacks, status tip, bad ink. */
|
|
9603
|
+
function hostRequirementChip(compatibility, key, t) {
|
|
9604
|
+
const label = compatibility?.requirement !== null && compatibility?.requirement !== void 0 ? t("hostRequirement").replace("{0}", compatibility.requirement) : key === null ? t("hostRequirementUnavailable") : compatibility === void 0 ? t("hostRequirementLoading") : compatibility.basis === "undeclared" ? t("hostRequirementUndeclared") : t("hostRequirementUnavailable");
|
|
9605
|
+
const detail = compatibility?.declarations.map((declaration) => declaration.kind === "engine" ? `engines.dsh: ${declaration.range}` : `${declaration.package ?? "peer"}: ${declaration.range}`).join("\n") || label;
|
|
9606
|
+
return {
|
|
9607
|
+
label,
|
|
9608
|
+
title: (compatibility?.status === "compatible" || compatibility?.status === "incompatible" ? t(compatibility.status === "compatible" ? "hostStatusCompatible" : "hostStatusIncompatible") + "\n" : "") + detail,
|
|
9609
|
+
bad: compatibility?.status === "incompatible",
|
|
9610
|
+
status: compatibility?.status ?? "unknown"
|
|
9611
|
+
};
|
|
9612
|
+
}
|
|
8933
9613
|
function isHostDependencyFinding(value) {
|
|
8934
9614
|
if (value === null || typeof value !== "object") return false;
|
|
8935
9615
|
const finding = value;
|
|
@@ -9477,6 +10157,186 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
9477
10157
|
flushFence();
|
|
9478
10158
|
return out;
|
|
9479
10159
|
}
|
|
10160
|
+
function notesReleaseBody(release) {
|
|
10161
|
+
return typeof release?.body === "string" && release.body.trim() !== "" ? release.body : "";
|
|
10162
|
+
}
|
|
10163
|
+
/** Bind a supplied release page to the repository and the selected release tag. */
|
|
10164
|
+
function notesReleasePage(repo, release) {
|
|
10165
|
+
if (repo === void 0) return null;
|
|
10166
|
+
const canonicalRepo = repo.replace(/\.git$/iu, "");
|
|
10167
|
+
if (canonicalRepo.split("/").some((segment) => segment === "" || segment === "." || segment === "..")) return null;
|
|
10168
|
+
const releasesPath = "/" + canonicalRepo + "/releases";
|
|
10169
|
+
const releasesUrl = "https://github.com" + releasesPath;
|
|
10170
|
+
if (release?.url && release.tag) try {
|
|
10171
|
+
const page = new URL(release.url);
|
|
10172
|
+
const tagPrefix = releasesPath + "/tag/";
|
|
10173
|
+
if (page.origin === "https://github.com" && page.username === "" && page.password === "" && page.pathname.slice(0, tagPrefix.length).toLowerCase() === tagPrefix.toLowerCase() && decodeURIComponent(page.pathname.slice(tagPrefix.length)) === release.tag) return page.origin + page.pathname;
|
|
10174
|
+
} catch {}
|
|
10175
|
+
return releasesUrl;
|
|
10176
|
+
}
|
|
10177
|
+
function UpdateNotesContent({ notes, name, target, repoUrl, t, lang }) {
|
|
10178
|
+
const items = notes.history?.items ?? [];
|
|
10179
|
+
const release = notes.kind === "release" ? notes.release : null;
|
|
10180
|
+
const beyondTarget = notes.kind === "release" ? notes.beyondTarget : void 0;
|
|
10181
|
+
const versionOf = (value) => value?.replace(/^v(?=\d)/i, "");
|
|
10182
|
+
const expandedVersion = target !== null && /^[0-9a-f]{40}$/i.test(target) ? items[0]?.version : versionOf(target);
|
|
10183
|
+
const snapshotRelease = beyondTarget === void 0 ? release : null;
|
|
10184
|
+
const matchesSnapshot = (item) => snapshotRelease !== null && (snapshotRelease.tag !== null && snapshotRelease.tag === item.tag || versionOf(snapshotRelease.tag) === versionOf(item.version));
|
|
10185
|
+
const legacyRelease = items.some(matchesSnapshot) ? null : snapshotRelease;
|
|
10186
|
+
const snapshotBody = notesReleaseBody(snapshotRelease);
|
|
10187
|
+
const history = snapshotBody !== "" ? items.map((item) => notesReleaseBody(item) === "" && item.tag !== null && item.tag === snapshotRelease?.tag ? {
|
|
10188
|
+
...item,
|
|
10189
|
+
body: snapshotBody
|
|
10190
|
+
} : item) : items;
|
|
10191
|
+
const commits = notes.kind === "commits" || notes.kind === "release" && (notes.commits?.items.length ?? 0) > 0 ? notes.commits : void 0;
|
|
10192
|
+
const sourceUrl = notes.kind === "source" ? notes.sourceUrl ?? "" : "";
|
|
10193
|
+
const repo = parseSourceUrl(repoUrl ?? "")?.repo ?? parseSourceUrl(sourceUrl)?.repo;
|
|
10194
|
+
const targetRelease = history.find((item) => versionOf(item.version) === expandedVersion) ?? (expandedVersion !== void 0 && versionOf(legacyRelease?.tag ?? null) === expandedVersion ? legacyRelease ?? void 0 : void 0);
|
|
10195
|
+
const targetBodyMissing = targetRelease !== void 0 && notesReleaseBody(targetRelease) === "";
|
|
10196
|
+
const legacyBody = notesReleaseBody(legacyRelease);
|
|
10197
|
+
const historyIncomplete = notes.history?.partial === true || history.length === 0 && (notes.history !== void 0 || notes.kind === "none");
|
|
10198
|
+
const showSourceNotice = notes.kind === "source" && (!historyIncomplete || notes.reason === "unreadable");
|
|
10199
|
+
const missingNotes = (message, page) => /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(react_jsx_runtime.Fragment, { children: [
|
|
10200
|
+
message,
|
|
10201
|
+
lang === "zh" ? "" : " ",
|
|
10202
|
+
page === null ? t("notesHistoryRetry") : /* @__PURE__ */ (0, react_jsx_runtime.jsx)("a", {
|
|
10203
|
+
className: Market_module_css_default.notesSourceLink,
|
|
10204
|
+
href: page,
|
|
10205
|
+
target: "_blank",
|
|
10206
|
+
rel: "noreferrer",
|
|
10207
|
+
children: t("notesHistoryReleasePage")
|
|
10208
|
+
})
|
|
10209
|
+
] });
|
|
10210
|
+
const historyHint = !targetBodyMissing && historyIncomplete && !showSourceNotice ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
10211
|
+
className: Market_module_css_default.spec,
|
|
10212
|
+
children: missingNotes(t(history.length === 0 ? "notesHistoryEmpty" : "notesHistoryPartial"), notesReleasePage(repo))
|
|
10213
|
+
}) : null;
|
|
10214
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
10215
|
+
className: Market_module_css_default.notesBody,
|
|
10216
|
+
children: [
|
|
10217
|
+
history.length === 0 && historyHint,
|
|
10218
|
+
history.length > 0 && /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("section", {
|
|
10219
|
+
className: Market_module_css_default.notesHistory,
|
|
10220
|
+
children: [
|
|
10221
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
10222
|
+
className: Market_module_css_default.notesMeta,
|
|
10223
|
+
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)("strong", { children: t("notesHistory") })
|
|
10224
|
+
}),
|
|
10225
|
+
historyHint,
|
|
10226
|
+
history.map((item) => /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("details", {
|
|
10227
|
+
className: Market_module_css_default.notesEntry,
|
|
10228
|
+
open: versionOf(item.version) === expandedVersion,
|
|
10229
|
+
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("summary", {
|
|
10230
|
+
className: Market_module_css_default.notesSummary,
|
|
10231
|
+
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("strong", { children: displayLatest(item.version) }), item.publishedAt !== null && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
10232
|
+
className: Market_module_css_default.notesDate,
|
|
10233
|
+
children: " · " + item.publishedAt.slice(0, 10)
|
|
10234
|
+
})]
|
|
10235
|
+
}), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
10236
|
+
className: Market_module_css_default.notesRendered,
|
|
10237
|
+
children: notesReleaseBody(item) !== "" ? renderMarkdown(item.body) : item === targetRelease ? missingNotes(t("notesHistoryVersionMissing"), notesReleasePage(repo, item)) : t("notesHistoryVersionMissing")
|
|
10238
|
+
})]
|
|
10239
|
+
}, item.version))
|
|
10240
|
+
]
|
|
10241
|
+
}),
|
|
10242
|
+
legacyRelease !== null && (legacyBody !== "" || historyHint === null) && /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(react_jsx_runtime.Fragment, { children: [/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
10243
|
+
className: Market_module_css_default.notesMeta,
|
|
10244
|
+
children: [
|
|
10245
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("strong", { children: t("notesRelease") }),
|
|
10246
|
+
legacyRelease.tag !== null && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", { children: legacyRelease.tag }),
|
|
10247
|
+
legacyRelease.publishedAt !== null && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", { children: " · " + legacyRelease.publishedAt.slice(0, 10) })
|
|
10248
|
+
]
|
|
10249
|
+
}), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
10250
|
+
className: Market_module_css_default.notesRendered,
|
|
10251
|
+
children: legacyBody === "" ? missingNotes(t("notesHistoryVersionMissing"), notesReleasePage(repo, legacyRelease)) : renderMarkdown(legacyBody)
|
|
10252
|
+
})] }),
|
|
10253
|
+
commits !== void 0 && /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(react_jsx_runtime.Fragment, { children: [
|
|
10254
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
10255
|
+
className: Market_module_css_default.notesMeta,
|
|
10256
|
+
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)("strong", { children: t("notesCommits") })
|
|
10257
|
+
}),
|
|
10258
|
+
!commits.found && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
10259
|
+
className: Market_module_css_default.notesMeta,
|
|
10260
|
+
children: t("notesCommitsRecent")
|
|
10261
|
+
}),
|
|
10262
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("ul", {
|
|
10263
|
+
className: Market_module_css_default.notesList,
|
|
10264
|
+
children: commits.items.map((c) => /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("li", {
|
|
10265
|
+
className: Market_module_css_default.notesRow,
|
|
10266
|
+
children: [
|
|
10267
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
10268
|
+
className: Market_module_css_default.notesDate,
|
|
10269
|
+
children: c.date !== null ? c.date.slice(0, 10) : ""
|
|
10270
|
+
}),
|
|
10271
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
10272
|
+
className: Market_module_css_default.notesMsg,
|
|
10273
|
+
children: mdInline(c.message)
|
|
10274
|
+
}),
|
|
10275
|
+
repoUrl !== null && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("a", {
|
|
10276
|
+
className: Market_module_css_default.notesSha,
|
|
10277
|
+
href: repoUrl + "/commit/" + c.sha,
|
|
10278
|
+
target: "_blank",
|
|
10279
|
+
rel: "noreferrer",
|
|
10280
|
+
title: c.message,
|
|
10281
|
+
children: c.sha.slice(0, 7)
|
|
10282
|
+
})
|
|
10283
|
+
]
|
|
10284
|
+
}, c.sha))
|
|
10285
|
+
})
|
|
10286
|
+
] }),
|
|
10287
|
+
notes.kind === "npm" && /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(react_jsx_runtime.Fragment, { children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
10288
|
+
className: Market_module_css_default.notesMeta,
|
|
10289
|
+
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)("strong", { children: t("notesNpm") })
|
|
10290
|
+
}), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("ul", {
|
|
10291
|
+
className: Market_module_css_default.notesList,
|
|
10292
|
+
children: notes.npmTimes.map((v) => /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("li", {
|
|
10293
|
+
className: Market_module_css_default.notesRow,
|
|
10294
|
+
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
10295
|
+
className: Market_module_css_default.notesDate,
|
|
10296
|
+
children: v.date.slice(0, 10)
|
|
10297
|
+
}), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("a", {
|
|
10298
|
+
className: Market_module_css_default.notesVer,
|
|
10299
|
+
href: `https://www.npmjs.com/package/${encodeURIComponent(name)}/v/${encodeURIComponent(v.version)}`,
|
|
10300
|
+
target: "_blank",
|
|
10301
|
+
rel: "noreferrer",
|
|
10302
|
+
children: v.version
|
|
10303
|
+
})]
|
|
10304
|
+
}, v.version))
|
|
10305
|
+
})] }),
|
|
10306
|
+
notes.kind === "source" && showSourceNotice && /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
10307
|
+
className: Market_module_css_default.spec,
|
|
10308
|
+
children: [t(notes.reason === "unavailable" ? "notesLoadFail" : notes.reason === "unreadable" ? "notesSourceUnreadable" : "notesSource"), typeof notes.sourceUrl === "string" && /^https?:\/\//i.test(notes.sourceUrl) ? /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(react_jsx_runtime.Fragment, { children: [lang === "zh" ? "" : " ", /* @__PURE__ */ (0, react_jsx_runtime.jsx)("a", {
|
|
10309
|
+
className: Market_module_css_default.notesSourceLink,
|
|
10310
|
+
href: notes.sourceUrl,
|
|
10311
|
+
target: "_blank",
|
|
10312
|
+
rel: "noreferrer",
|
|
10313
|
+
children: t("notesSourceLink")
|
|
10314
|
+
})] }) : notes.reason !== "unavailable" && /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(react_jsx_runtime.Fragment, { children: [lang === "zh" ? "" : " ", t("notesSourceNoLink")] })]
|
|
10315
|
+
}),
|
|
10316
|
+
release !== null && beyondTarget !== void 0 && /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("section", {
|
|
10317
|
+
className: Market_module_css_default.notesHeld,
|
|
10318
|
+
children: [
|
|
10319
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
10320
|
+
className: Market_module_css_default.notesMeta,
|
|
10321
|
+
children: [
|
|
10322
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("strong", { children: t("notesHeldRelease") }),
|
|
10323
|
+
release.tag !== null && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", { children: release.tag }),
|
|
10324
|
+
release.publishedAt !== null && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", { children: " · " + release.publishedAt.slice(0, 10) })
|
|
10325
|
+
]
|
|
10326
|
+
}),
|
|
10327
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
10328
|
+
className: Market_module_css_default.spec,
|
|
10329
|
+
children: t("notesBeyondTarget").replace("{0}", release.tag ?? "").replace("{1}", beyondTarget)
|
|
10330
|
+
}),
|
|
10331
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
10332
|
+
className: Market_module_css_default.notesRendered,
|
|
10333
|
+
children: notesReleaseBody(release) === "" ? t("notesHistoryVersionMissing") : renderMarkdown(release.body)
|
|
10334
|
+
})
|
|
10335
|
+
]
|
|
10336
|
+
})
|
|
10337
|
+
]
|
|
10338
|
+
});
|
|
10339
|
+
}
|
|
9480
10340
|
function OwnerAvatar({ name, owner, icon, className }) {
|
|
9481
10341
|
const [failed, setFailed] = (0, react.useState)(false);
|
|
9482
10342
|
const [routeIndex, setRouteIndex] = (0, react.useState)(0);
|
|
@@ -9861,7 +10721,7 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
9861
10721
|
* Two columns at the settings dialog's width; the sidebar page is wider and
|
|
9862
10722
|
* gets a third once each column still has room for a full card.
|
|
9863
10723
|
*/
|
|
9864
|
-
function Masonry({ items, render }) {
|
|
10724
|
+
function Masonry({ items, render, maxColumns = 3, minColumns = 2, className }) {
|
|
9865
10725
|
const wide = useMediaWide();
|
|
9866
10726
|
const ref = (0, react.useRef)(null);
|
|
9867
10727
|
const [columns, setColumns] = (0, react.useState)(2);
|
|
@@ -9869,13 +10729,18 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
9869
10729
|
const el = ref.current;
|
|
9870
10730
|
if (el === null || typeof ResizeObserver === "undefined") return;
|
|
9871
10731
|
const observer = new ResizeObserver(([entry]) => {
|
|
9872
|
-
if (entry !== void 0) setColumns(
|
|
10732
|
+
if (entry !== void 0) setColumns(masonryColumnCount(entry.contentRect.width, maxColumns, 290, minColumns));
|
|
9873
10733
|
});
|
|
9874
10734
|
observer.observe(el);
|
|
9875
10735
|
return () => observer.disconnect();
|
|
9876
|
-
}, [
|
|
10736
|
+
}, [
|
|
10737
|
+
wide,
|
|
10738
|
+
maxColumns,
|
|
10739
|
+
minColumns
|
|
10740
|
+
]);
|
|
10741
|
+
const masonryClass = [Market_module_css_default.masonry, className].filter(Boolean).join(" ");
|
|
9877
10742
|
if (!wide) return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
9878
|
-
className:
|
|
10743
|
+
className: masonryClass,
|
|
9879
10744
|
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
9880
10745
|
className: Market_module_css_default.masonryCol,
|
|
9881
10746
|
children: items.map(render)
|
|
@@ -9887,7 +10752,7 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
9887
10752
|
});
|
|
9888
10753
|
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
9889
10754
|
ref,
|
|
9890
|
-
className:
|
|
10755
|
+
className: masonryClass,
|
|
9891
10756
|
children: buckets.map((bucket, index) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
9892
10757
|
className: Market_module_css_default.masonryCol,
|
|
9893
10758
|
children: bucket.map(render)
|
|
@@ -10625,6 +11490,26 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
10625
11490
|
})
|
|
10626
11491
|
});
|
|
10627
11492
|
}
|
|
11493
|
+
/** Clock face for held-wait hints (Lucide `clock` geometry). */
|
|
11494
|
+
function IconClock({ size = 12 }) {
|
|
11495
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("svg", {
|
|
11496
|
+
viewBox: "0 0 24 24",
|
|
11497
|
+
width: size,
|
|
11498
|
+
height: size,
|
|
11499
|
+
fill: "none",
|
|
11500
|
+
stroke: "currentColor",
|
|
11501
|
+
strokeWidth: "1.75",
|
|
11502
|
+
strokeLinecap: "round",
|
|
11503
|
+
strokeLinejoin: "round",
|
|
11504
|
+
"aria-hidden": "true",
|
|
11505
|
+
focusable: "false",
|
|
11506
|
+
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("circle", {
|
|
11507
|
+
cx: "12",
|
|
11508
|
+
cy: "12",
|
|
11509
|
+
r: "10"
|
|
11510
|
+
}), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", { d: "M12 6v6l4 2" })]
|
|
11511
|
+
});
|
|
11512
|
+
}
|
|
10628
11513
|
/** Reminders off (Lucide `bell-off` geometry): the body breaks where the slash crosses it. */
|
|
10629
11514
|
function IconBellOff({ size = 16 }) {
|
|
10630
11515
|
return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("svg", {
|
|
@@ -10880,6 +11765,35 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
10880
11765
|
});
|
|
10881
11766
|
};
|
|
10882
11767
|
}
|
|
11768
|
+
/**
|
|
11769
|
+
* Sponsors sit in the row that already holds the repo link and version, so they
|
|
11770
|
+
* add no height. One sponsor shows its name; several show logos only (the name is
|
|
11771
|
+
* in the tooltip) and never more than three, so the row cannot grow with the list.
|
|
11772
|
+
*/
|
|
11773
|
+
function SponsorMark({ lang, t }) {
|
|
11774
|
+
const today = (/* @__PURE__ */ new Date()).toISOString().slice(0, 10);
|
|
11775
|
+
const list = SPONSORS.filter((sponsor) => sponsor.until === null || sponsor.until >= today).slice(0, 3);
|
|
11776
|
+
if (list.length === 0) return null;
|
|
11777
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("span", {
|
|
11778
|
+
className: Market_module_css_default.sponsorMark,
|
|
11779
|
+
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
11780
|
+
className: Market_module_css_default.sponsorLabel,
|
|
11781
|
+
children: t("sponsorsLabel")
|
|
11782
|
+
}), list.map((sponsor) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)("a", {
|
|
11783
|
+
className: Market_module_css_default.sponsorItem,
|
|
11784
|
+
href: sponsor.url,
|
|
11785
|
+
target: "_blank",
|
|
11786
|
+
rel: "noreferrer sponsored",
|
|
11787
|
+
title: `${sponsor.name[lang]} · ${sponsor.scope[lang]}`,
|
|
11788
|
+
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)("img", {
|
|
11789
|
+
className: Market_module_css_default.sponsorLogo,
|
|
11790
|
+
src: sponsor.logo,
|
|
11791
|
+
alt: sponsor.name[lang],
|
|
11792
|
+
height: 14
|
|
11793
|
+
})
|
|
11794
|
+
}, sponsor.id))]
|
|
11795
|
+
});
|
|
11796
|
+
}
|
|
10883
11797
|
/** Discover grid page-size choices — the catalog grows daily, so cap each page. */
|
|
10884
11798
|
const PAGE_SIZES = [
|
|
10885
11799
|
24,
|
|
@@ -10997,11 +11911,24 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
10997
11911
|
}
|
|
10998
11912
|
/** Same cap as `MAX_NOTE` in hot.ts; the server trims anything longer. */
|
|
10999
11913
|
const NOTE_MAX = 200;
|
|
11000
|
-
/**
|
|
11001
|
-
function
|
|
11002
|
-
|
|
11003
|
-
if (
|
|
11004
|
-
return
|
|
11914
|
+
/** Describe the pending release separately from any version the update button can install. */
|
|
11915
|
+
function marketWaitTip(held, eligible, locale, t) {
|
|
11916
|
+
const pending = marketHeldVersionText(held, locale, t);
|
|
11917
|
+
if (eligible === null) return pending;
|
|
11918
|
+
return `${t("marketVersionAvailableNow").replace("{0}", displayLatest(eligible))} · ${pending}`;
|
|
11919
|
+
}
|
|
11920
|
+
/** Compact held-wait for the trailing row (clock + short label); version/reason in title. */
|
|
11921
|
+
function heldUpdateBeside(held, t) {
|
|
11922
|
+
const left = Date.parse(held.until) - Date.now();
|
|
11923
|
+
const estimated = held.estimated === true;
|
|
11924
|
+
const known = Number.isFinite(left) && left > 0;
|
|
11925
|
+
const amount = known ? String(Math.max(1, Math.ceil(left / (estimated ? 6e4 : 36e5)))) : "";
|
|
11926
|
+
const label = !known ? t("updateHeldBesideUnknown") : estimated ? t("updateHeldBesideEstimated").replace("{1}", amount) : t("updateHeldBeside").replace("{1}", amount);
|
|
11927
|
+
const reason = !known ? t("updateHeldBesideUnknown") : t(estimated ? "updateHeldEstimatedHint" : "updateHeldHint").replace("{1}", amount);
|
|
11928
|
+
return {
|
|
11929
|
+
label,
|
|
11930
|
+
title: `${displayLatest(held.latest)} · ${reason}`
|
|
11931
|
+
};
|
|
11005
11932
|
}
|
|
11006
11933
|
/** The tail of a local checkout path; the full path stays in the title and the copy button. */
|
|
11007
11934
|
function shortLocalPath(path) {
|
|
@@ -11155,7 +12082,7 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
11155
12082
|
* are display preferences, not profile settings: since 0.1.7 the settings
|
|
11156
12083
|
* surface is deliberately just `allowRestart`.
|
|
11157
12084
|
*
|
|
11158
|
-
* When localStorage is unavailable, the preference falls
|
|
12085
|
+
* When window.localStorage is unavailable, the preference falls
|
|
11159
12086
|
* back to the default, and the default is "expanded and shown".
|
|
11160
12087
|
*/
|
|
11161
12088
|
const RECENT_COLLAPSED_KEY = "dshm-recent-collapsed";
|
|
@@ -11306,6 +12233,26 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
11306
12233
|
return top <= line + 2 && top >= line - 4;
|
|
11307
12234
|
}
|
|
11308
12235
|
/**
|
|
12236
|
+
* Mirrors "this row is sitting on its sticky line" onto the row itself (#1237).
|
|
12237
|
+
*
|
|
12238
|
+
* A theme may set `--dsw-alias-bg-base` to a transparent colour so the
|
|
12239
|
+
* wallpaper shows through — that is the host's own page-background token, and
|
|
12240
|
+
* the market's sticky rows are the only thing between that transparency and
|
|
12241
|
+
* the cards scrolling underneath them. Such a theme wants no surface while the
|
|
12242
|
+
* row is still in flow and one once it sticks; until now it had no way to tell
|
|
12243
|
+
* the two apart except by matching the CSS modules' hashed class names.
|
|
12244
|
+
*
|
|
12245
|
+
* `data-dshm-stuck` is that state, on a selector that survives the hashes.
|
|
12246
|
+
* The market's own stylesheet reads it only to pick `--dshm-stuck-bg`; with
|
|
12247
|
+
* that hook unset the surface stays exactly `--dsw-alias-bg-base`, so a host
|
|
12248
|
+
* without such a theme is unchanged.
|
|
12249
|
+
*/
|
|
12250
|
+
function markStuck(el, pinned) {
|
|
12251
|
+
if (!(el instanceof HTMLElement)) return;
|
|
12252
|
+
if (pinned) el.dataset.dshmStuck = "true";
|
|
12253
|
+
else delete el.dataset.dshmStuck;
|
|
12254
|
+
}
|
|
12255
|
+
/**
|
|
11309
12256
|
* ScrollTop where the market's tab row first sticks under the host chrome.
|
|
11310
12257
|
* Unsticks for one measurement so a currently-pinned head still reports its
|
|
11311
12258
|
* in-flow offset. That is the "top" Plugins back-to-top aims for — tabs stay
|
|
@@ -11322,8 +12269,8 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
11322
12269
|
function MarketSection(props) {
|
|
11323
12270
|
const t = props.t;
|
|
11324
12271
|
const initialWebdav = (0, react.useMemo)(savedWebdav, []);
|
|
11325
|
-
const
|
|
11326
|
-
const lang =
|
|
12272
|
+
const uiLocale = marketUiLocale((0, react.useSyncExternalStore)((cb) => props.locale.subscribe(cb), () => props.locale.getSnapshot()).active);
|
|
12273
|
+
const lang = uiLocale === "zh-CN" ? "zh" : "en";
|
|
11327
12274
|
const surface = props.surface ?? "settings";
|
|
11328
12275
|
const sidebar = props.sidebar;
|
|
11329
12276
|
const notificationSnapshot = useUpdateNotifications();
|
|
@@ -11376,6 +12323,9 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
11376
12323
|
* exactly why it owes the user this sentence instead of a spinner.
|
|
11377
12324
|
*/
|
|
11378
12325
|
const [marketGone, setMarketGone] = (0, react.useState)(false);
|
|
12326
|
+
const [startupRepair, setStartupRepair] = (0, react.useState)();
|
|
12327
|
+
const [checkoutRecovery, setCheckoutRecovery] = (0, react.useState)();
|
|
12328
|
+
const repairStatusRequest = (0, react.useRef)(0);
|
|
11379
12329
|
const [reconnecting, setReconnecting] = (0, react.useState)(true);
|
|
11380
12330
|
const [reconnectRound, setReconnectRound] = (0, react.useState)(0);
|
|
11381
12331
|
const [installed, setInstalledState] = (0, react.useState)(cachedInstalled ?? {});
|
|
@@ -11445,16 +12395,43 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
11445
12395
|
const recordSeq = (0, react.useRef)(0);
|
|
11446
12396
|
/** The synthetic install task rebuilt from dshm-pending after a remount. */
|
|
11447
12397
|
const recoveredInstall = (0, react.useRef)(null);
|
|
11448
|
-
/** The
|
|
11449
|
-
const
|
|
12398
|
+
/** The local task tracking dshm-updating, either awaiting its reply or recovering it. */
|
|
12399
|
+
const pendingUpdate = (0, react.useRef)(null);
|
|
12400
|
+
const mountedRef = (0, react.useRef)(true);
|
|
12401
|
+
(0, react.useEffect)(() => {
|
|
12402
|
+
mountedRef.current = true;
|
|
12403
|
+
return () => {
|
|
12404
|
+
mountedRef.current = false;
|
|
12405
|
+
pendingUpdate.current = null;
|
|
12406
|
+
};
|
|
12407
|
+
}, []);
|
|
11450
12408
|
/**
|
|
11451
12409
|
* The install queue: agents-busy 409s become `queued` records instead of
|
|
11452
12410
|
* failures, and drain automatically when agents go idle (see drainQueue).
|
|
11453
|
-
* Persisted in localStorage so a refresh keeps the queue; only `queued`
|
|
12411
|
+
* Persisted in window.localStorage so a refresh keeps the queue; only `queued`
|
|
11454
12412
|
* records persist — `running` recovery stays on the dshm-pending paths.
|
|
11455
12413
|
*/
|
|
11456
12414
|
const updateCheck = (0, react.useSyncExternalStore)(subscribeUpdateCheck, getUpdateCheckSnapshot);
|
|
11457
12415
|
const { updates } = updateCheck;
|
|
12416
|
+
/**
|
|
12417
|
+
* The release in this profile that is still inside the safety wait, as last
|
|
12418
|
+
* heard from the server (#1252). pnpm refuses every change while it holds,
|
|
12419
|
+
* so a batch or the queue stops at the first such refusal instead of trying
|
|
12420
|
+
* each plugin in turn. The update check is the authority: whatever it says
|
|
12421
|
+
* next replaces this.
|
|
12422
|
+
*/
|
|
12423
|
+
const profileBlockRef = (0, react.useRef)(null);
|
|
12424
|
+
const profileBlocked = (0, react.useMemo)(() => Object.values(updates).find((status) => status.profileBlocked !== void 0)?.profileBlocked ?? null, [updates]);
|
|
12425
|
+
(0, react.useEffect)(() => {
|
|
12426
|
+
profileBlockRef.current = profileBlocked;
|
|
12427
|
+
}, [profileBlocked]);
|
|
12428
|
+
/**
|
|
12429
|
+
* The host answered an update with "restart first" (#1253): an earlier one in
|
|
12430
|
+
* this run already moved the loaded packages, and every later one would be
|
|
12431
|
+
* refused the same way. Tied to the host's boot id, so a restart ends it.
|
|
12432
|
+
*/
|
|
12433
|
+
const [restartHold, setRestartHold] = (0, react.useState)(null);
|
|
12434
|
+
const restartHoldRef = (0, react.useRef)(false);
|
|
11458
12435
|
const queueRestoredRef = (0, react.useRef)(false);
|
|
11459
12436
|
const [installedReady, setInstalledReady] = (0, react.useState)(cachedInstalledReady);
|
|
11460
12437
|
(0, react.useEffect)(() => {
|
|
@@ -11740,6 +12717,8 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
11740
12717
|
const [notesFor, setNotesFor] = (0, react.useState)(null);
|
|
11741
12718
|
const [updateNotes, setUpdateNotes] = (0, react.useState)(null);
|
|
11742
12719
|
const [notesState, setNotesState] = (0, react.useState)("loading");
|
|
12720
|
+
const notesRequest = (0, react.useRef)(null);
|
|
12721
|
+
(0, react.useEffect)(() => () => notesRequest.current?.abort(), []);
|
|
11743
12722
|
const [staleName, setStaleName] = (0, react.useState)(null);
|
|
11744
12723
|
const [restoreConfirm, setRestoreConfirm] = (0, react.useState)(null);
|
|
11745
12724
|
/** A release whose declared host requirement this host does not meet (#404). kind distinguishes the update dialog from the fresh-install dialog. */
|
|
@@ -11835,9 +12814,10 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
11835
12814
|
* market's `SortField`: that one is downloads/stars/added, and none of the
|
|
11836
12815
|
* three exist for an installed package — `added` is the catalog's
|
|
11837
12816
|
* collection date, which is a different question from when the user
|
|
11838
|
-
* installed it.
|
|
12817
|
+
* installed it. The choice outlives this mount (#1142) — the mirror effect
|
|
12818
|
+
* below keeps it in window.localStorage.
|
|
11839
12819
|
*/
|
|
11840
|
-
const [installedSort, setInstalledSort] = (0, react.useState)(
|
|
12820
|
+
const [installedSort, setInstalledSort] = (0, react.useState)(() => readInstalledSort());
|
|
11841
12821
|
/** Catalog URLs bookmarked for later install (#414). */
|
|
11842
12822
|
const [favoriteUrls, setFavoriteUrlsState] = (0, react.useState)(() => cachedFavoriteUrls);
|
|
11843
12823
|
const setFavoriteUrls = (0, react.useCallback)(cacheState((value) => {
|
|
@@ -11942,7 +12922,7 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
11942
12922
|
/**
|
|
11943
12923
|
* Dismissal of the host-reported restart notice, keyed to the current boot
|
|
11944
12924
|
* so it reappears after a restart that did not happen and after any new
|
|
11945
|
-
* change. sessionStorage, not local: closing the tab is a fresh start.
|
|
12925
|
+
* change. window.sessionStorage, not local: closing the tab is a fresh start.
|
|
11946
12926
|
*/
|
|
11947
12927
|
const [restartNoticeDismissed, setRestartNoticeDismissed] = (0, react.useState)(false);
|
|
11948
12928
|
/** Client-part plugins toggled this session — their UI needs a refresh. */
|
|
@@ -11979,6 +12959,11 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
11979
12959
|
const [envFixing, setEnvFixing] = (0, react.useState)(false);
|
|
11980
12960
|
const [envFailed, setEnvFailed] = (0, react.useState)(false);
|
|
11981
12961
|
const [bootId, setBootId] = (0, react.useState)(null);
|
|
12962
|
+
const bootIdRef = (0, react.useRef)(null);
|
|
12963
|
+
(0, react.useEffect)(() => {
|
|
12964
|
+
bootIdRef.current = bootId;
|
|
12965
|
+
restartHoldRef.current = restartHold !== null && restartHold.boot === bootId;
|
|
12966
|
+
}, [bootId, restartHold]);
|
|
11982
12967
|
/** One-click restart (#14 by @ysyyhhh): server capability + in-flight state. */
|
|
11983
12968
|
const [restartEnabled, setRestartEnabled] = (0, react.useState)(false);
|
|
11984
12969
|
/** Supervisor the host detected around itself, when it named one (#229). */
|
|
@@ -12050,8 +13035,8 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
12050
13035
|
const restoringStickRef = (0, react.useRef)(false);
|
|
12051
13036
|
/** Hidden file input behind the Import button (a Button can't host an <input>). */
|
|
12052
13037
|
const fileInputRef = (0, react.useRef)(null);
|
|
12053
|
-
const [sortField, setSortField] = (0, react.useState)("
|
|
12054
|
-
const [sortDir, setSortDir] = (0, react.useState)("
|
|
13038
|
+
const [sortField, setSortField] = (0, react.useState)(() => readSortChoice("discover").field);
|
|
13039
|
+
const [sortDir, setSortDir] = (0, react.useState)(() => readSortChoice("discover").dir);
|
|
12055
13040
|
const [timeRange, setTimeRange] = (0, react.useState)("all");
|
|
12056
13041
|
const setCompatibleWithHost = (0, react.useCallback)((next) => {
|
|
12057
13042
|
discoveryScan.setEnabled(next);
|
|
@@ -12063,12 +13048,47 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
12063
13048
|
const [catsOpen, setCatsOpen] = (0, react.useState)(false);
|
|
12064
13049
|
/** Themes tab: independent from Discover's sort/time state above — a
|
|
12065
13050
|
* search or sort choice in one tab has no business resetting the other. */
|
|
12066
|
-
const [themeSortField, setThemeSortField] = (0, react.useState)("
|
|
12067
|
-
const [themeSortDir, setThemeSortDir] = (0, react.useState)("
|
|
13051
|
+
const [themeSortField, setThemeSortField] = (0, react.useState)(() => readSortChoice("themes").field);
|
|
13052
|
+
const [themeSortDir, setThemeSortDir] = (0, react.useState)(() => readSortChoice("themes").dir);
|
|
12068
13053
|
const [themeTimeRange, setThemeTimeRange] = (0, react.useState)("all");
|
|
12069
|
-
const [favSortField, setFavSortField] = (0, react.useState)("
|
|
12070
|
-
const [favSortDir, setFavSortDir] = (0, react.useState)("
|
|
13054
|
+
const [favSortField, setFavSortField] = (0, react.useState)(() => readSortChoice("favorites").field);
|
|
13055
|
+
const [favSortDir, setFavSortDir] = (0, react.useState)(() => readSortChoice("favorites").dir);
|
|
12071
13056
|
const [favTimeRange, setFavTimeRange] = (0, react.useState)("all");
|
|
13057
|
+
/**
|
|
13058
|
+
* Each list's order is a display preference, not a profile setting (#1142):
|
|
13059
|
+
* the choice used to live only in this component's state, so a tab switch or
|
|
13060
|
+
* a reload put every list back on its default. The mirror writes the value
|
|
13061
|
+
* that is on screen, which is why it also runs on the first render — a fresh
|
|
13062
|
+
* profile records the default it started from, a reloaded one records the
|
|
13063
|
+
* choice it restored, and neither can drift from what the user is seeing.
|
|
13064
|
+
*
|
|
13065
|
+
* window.localStorage rather than state.json: the same line the catalog's
|
|
13066
|
+
* compatibility filter (`dshm-host-filter`) and the "recently added" flags
|
|
13067
|
+
* (#940) take.
|
|
13068
|
+
*/
|
|
13069
|
+
(0, react.useEffect)(() => {
|
|
13070
|
+
rememberSortChoice("discover", {
|
|
13071
|
+
field: sortField,
|
|
13072
|
+
dir: sortDir
|
|
13073
|
+
});
|
|
13074
|
+
rememberSortChoice("themes", {
|
|
13075
|
+
field: themeSortField,
|
|
13076
|
+
dir: themeSortDir
|
|
13077
|
+
});
|
|
13078
|
+
rememberSortChoice("favorites", {
|
|
13079
|
+
field: favSortField,
|
|
13080
|
+
dir: favSortDir
|
|
13081
|
+
});
|
|
13082
|
+
rememberInstalledSort(installedSort);
|
|
13083
|
+
}, [
|
|
13084
|
+
sortField,
|
|
13085
|
+
sortDir,
|
|
13086
|
+
themeSortField,
|
|
13087
|
+
themeSortDir,
|
|
13088
|
+
favSortField,
|
|
13089
|
+
favSortDir,
|
|
13090
|
+
installedSort
|
|
13091
|
+
]);
|
|
12072
13092
|
/** WebDAV provider-preset dropdown (primitives Menu). */
|
|
12073
13093
|
const [presetOpen, setPresetOpen] = (0, react.useState)(false);
|
|
12074
13094
|
/** Install-command disclosure inside the confirm dialog. */
|
|
@@ -12525,12 +13545,17 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
12525
13545
|
* with the user left to guess whether the plugin landed.
|
|
12526
13546
|
*/
|
|
12527
13547
|
const noteMarketGone = (0, react.useCallback)(() => {
|
|
13548
|
+
if (!mountedRef.current) return;
|
|
12528
13549
|
discoveryScan.setUnavailable();
|
|
12529
13550
|
refreshRequest.current = 0;
|
|
13551
|
+
repairStatusRequest.current += 1;
|
|
13552
|
+
setStartupRepair(void 0);
|
|
13553
|
+
setCheckoutRecovery(void 0);
|
|
12530
13554
|
setCheckingUpdates(false);
|
|
12531
13555
|
setMarketGone(true);
|
|
12532
13556
|
setBusyUrl(null);
|
|
12533
13557
|
setUpdatingName(null);
|
|
13558
|
+
pendingUpdate.current = null;
|
|
12534
13559
|
setRemovingName(null);
|
|
12535
13560
|
setRecords((list) => list.map((record) => record.state === "running" || record.state === "queued" ? {
|
|
12536
13561
|
...record,
|
|
@@ -12550,13 +13575,64 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
12550
13575
|
* poll that reads this stops on the null: the market is no longer mounted,
|
|
12551
13576
|
* so there is no status to read and nothing left to poll for.
|
|
12552
13577
|
*/
|
|
12553
|
-
const readMarketStatus = (0, react.useCallback)(async (res) => {
|
|
13578
|
+
const readMarketStatus = (0, react.useCallback)(async (res, repairRequest) => {
|
|
12554
13579
|
if (res.status === 404) {
|
|
12555
|
-
noteMarketGone();
|
|
13580
|
+
if (repairRequest === void 0 || repairRequest === repairStatusRequest.current) noteMarketGone();
|
|
12556
13581
|
return null;
|
|
12557
13582
|
}
|
|
12558
13583
|
return await res.json();
|
|
12559
13584
|
}, [noteMarketGone]);
|
|
13585
|
+
const applyRepairStatus = (0, react.useCallback)((status, request) => {
|
|
13586
|
+
if (!mounted.current || request !== repairStatusRequest.current) return;
|
|
13587
|
+
const report = status.startupRepair;
|
|
13588
|
+
setStartupRepair((previous) => report && previous?.id === report.id && previous.revision > report.revision ? previous : report);
|
|
13589
|
+
setCheckoutRecovery(status.checkoutRecovery);
|
|
13590
|
+
}, []);
|
|
13591
|
+
const refreshRepairStatus = (0, react.useCallback)(async (signal) => {
|
|
13592
|
+
const request = ++repairStatusRequest.current;
|
|
13593
|
+
try {
|
|
13594
|
+
const res = await fetch(api("/dsh-crate/status"), {
|
|
13595
|
+
cache: "no-store",
|
|
13596
|
+
signal: signal ?? null
|
|
13597
|
+
});
|
|
13598
|
+
if (!signal?.aborted && (res.ok || res.status === 404)) {
|
|
13599
|
+
const status = await readMarketStatus(res, request);
|
|
13600
|
+
if (!signal?.aborted && status !== null) applyRepairStatus(status, request);
|
|
13601
|
+
}
|
|
13602
|
+
} catch {}
|
|
13603
|
+
}, [readMarketStatus, applyRepairStatus]);
|
|
13604
|
+
const checkingRepair = startupRepair?.checking === true || checkoutRecovery?.checking === true;
|
|
13605
|
+
(0, react.useEffect)(() => {
|
|
13606
|
+
if (!checkingRepair || marketGone) return;
|
|
13607
|
+
const controller = new AbortController();
|
|
13608
|
+
let timer = setTimeout(() => {
|
|
13609
|
+
poll();
|
|
13610
|
+
}, 2e3);
|
|
13611
|
+
async function poll() {
|
|
13612
|
+
await refreshRepairStatus(controller.signal);
|
|
13613
|
+
if (!controller.signal.aborted) timer = setTimeout(() => {
|
|
13614
|
+
poll();
|
|
13615
|
+
}, 2e3);
|
|
13616
|
+
}
|
|
13617
|
+
return () => {
|
|
13618
|
+
controller.abort();
|
|
13619
|
+
clearTimeout(timer);
|
|
13620
|
+
};
|
|
13621
|
+
}, [
|
|
13622
|
+
checkingRepair,
|
|
13623
|
+
marketGone,
|
|
13624
|
+
refreshRepairStatus
|
|
13625
|
+
]);
|
|
13626
|
+
const wasCheckingCheckout = (0, react.useRef)(false);
|
|
13627
|
+
(0, react.useEffect)(() => {
|
|
13628
|
+
const checking = checkoutRecovery?.checking === true;
|
|
13629
|
+
if (wasCheckingCheckout.current && !checking && !marketGone) refreshInstalled();
|
|
13630
|
+
wasCheckingCheckout.current = checking;
|
|
13631
|
+
}, [
|
|
13632
|
+
checkoutRecovery,
|
|
13633
|
+
marketGone,
|
|
13634
|
+
refreshInstalled
|
|
13635
|
+
]);
|
|
12560
13636
|
const loadCatalog = (0, react.useCallback)(() => {
|
|
12561
13637
|
setLoadError(null);
|
|
12562
13638
|
return discoveryScan.resume().then((outcome) => {
|
|
@@ -12589,6 +13665,7 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
12589
13665
|
let stopped = false;
|
|
12590
13666
|
const attempt = async () => {
|
|
12591
13667
|
const boot = updateCheckBoot;
|
|
13668
|
+
const repairRequest = ++repairStatusRequest.current;
|
|
12592
13669
|
inFlight = new AbortController();
|
|
12593
13670
|
const cutoff = setTimeout(() => inFlight?.abort(), RECONNECT_REQUEST_MS);
|
|
12594
13671
|
try {
|
|
@@ -12598,6 +13675,7 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
12598
13675
|
});
|
|
12599
13676
|
const status = res.ok ? await res.json() : null;
|
|
12600
13677
|
if (!stopped && status !== null && typeof status === "object" && typeof status.boot === "string") {
|
|
13678
|
+
applyRepairStatus(status, repairRequest);
|
|
12601
13679
|
discoveryScan.setBoot(status.boot);
|
|
12602
13680
|
observeUpdateCheckBoot(status.boot, boot);
|
|
12603
13681
|
setMarketGone(false);
|
|
@@ -12630,13 +13708,16 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
12630
13708
|
marketGone,
|
|
12631
13709
|
reconnectRound,
|
|
12632
13710
|
loadCatalog,
|
|
12633
|
-
refreshInstalled
|
|
13711
|
+
refreshInstalled,
|
|
13712
|
+
applyRepairStatus
|
|
12634
13713
|
]);
|
|
12635
13714
|
(0, react.useEffect)(() => {
|
|
12636
13715
|
loadCatalog();
|
|
12637
13716
|
const boot = updateCheckBoot;
|
|
12638
|
-
|
|
13717
|
+
const repairRequest = ++repairStatusRequest.current;
|
|
13718
|
+
fetch(api("/dsh-crate/status"), { cache: "no-store" }).then((res) => readMarketStatus(res, repairRequest)).then((status) => {
|
|
12639
13719
|
if (status === null) return;
|
|
13720
|
+
applyRepairStatus(status, repairRequest);
|
|
12640
13721
|
statusRef.current = {
|
|
12641
13722
|
busy: status.busy === true,
|
|
12642
13723
|
runningAgents: Array.isArray(status.runningAgents) ? status.runningAgents.map(String) : [],
|
|
@@ -12669,7 +13750,8 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
12669
13750
|
refreshInstalled,
|
|
12670
13751
|
loadCatalog,
|
|
12671
13752
|
readMarketStatus,
|
|
12672
|
-
restoreDrainMarkers
|
|
13753
|
+
restoreDrainMarkers,
|
|
13754
|
+
applyRepairStatus
|
|
12673
13755
|
]);
|
|
12674
13756
|
(0, react.useEffect)(() => {
|
|
12675
13757
|
if (bootId === null) return;
|
|
@@ -12738,7 +13820,10 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
12738
13820
|
if (updating !== null && typeof updating.name === "string" && updating.name !== "") {
|
|
12739
13821
|
setUpdatingName(updating.name);
|
|
12740
13822
|
const id = `recovered-update:${updating.name}`;
|
|
12741
|
-
|
|
13823
|
+
pendingUpdate.current = {
|
|
13824
|
+
recordId: id,
|
|
13825
|
+
recovering: true
|
|
13826
|
+
};
|
|
12742
13827
|
setRecords((list) => list.some((record) => record.kind === "update" && record.name === updating.name && record.state === "running") ? list : enqueue(list, {
|
|
12743
13828
|
id,
|
|
12744
13829
|
kind: "update",
|
|
@@ -12776,8 +13861,11 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
12776
13861
|
return;
|
|
12777
13862
|
}
|
|
12778
13863
|
const timer = setInterval(() => {
|
|
12779
|
-
|
|
13864
|
+
const polledUpdate = pendingUpdate.current;
|
|
13865
|
+
const repairRequest = polledUpdate === null ? void 0 : ++repairStatusRequest.current;
|
|
13866
|
+
fetch(api("/dsh-crate/status"), { cache: "no-store" }).then((res) => readMarketStatus(res, repairRequest)).then((status) => {
|
|
12780
13867
|
if (status === null) return;
|
|
13868
|
+
if (repairRequest !== void 0 && typeof status.boot === "string") applyRepairStatus(status, repairRequest);
|
|
12781
13869
|
statusRef.current = {
|
|
12782
13870
|
busy: status.busy === true,
|
|
12783
13871
|
runningAgents: Array.isArray(status.runningAgents) ? status.runningAgents.map(String) : [],
|
|
@@ -12789,6 +13877,7 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
12789
13877
|
setHostBusy(status.busy === true);
|
|
12790
13878
|
setDebuggerLatch(typeof status.debugger === "string" ? status.debugger : null);
|
|
12791
13879
|
if (status.active) {
|
|
13880
|
+
if (pendingUpdate.current === polledUpdate) updateIdleStrikes.current = 0;
|
|
12792
13881
|
setCancelling(status.cancelling === true);
|
|
12793
13882
|
if (status.phase !== null && status.phase !== void 0) {
|
|
12794
13883
|
setProgressPhase(status.phase);
|
|
@@ -12851,25 +13940,27 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
12851
13940
|
setInstallError(t("installFail") + " — " + t("exportLog"));
|
|
12852
13941
|
}
|
|
12853
13942
|
}
|
|
12854
|
-
if (
|
|
12855
|
-
|
|
12856
|
-
|
|
12857
|
-
|
|
12858
|
-
|
|
12859
|
-
|
|
12860
|
-
|
|
12861
|
-
|
|
12862
|
-
|
|
12863
|
-
|
|
12864
|
-
|
|
12865
|
-
|
|
12866
|
-
|
|
13943
|
+
if (pendingUpdate.current !== polledUpdate) return;
|
|
13944
|
+
if (updatingName === null || status.busy === true || polledUpdate?.recovering === false) {
|
|
13945
|
+
updateIdleStrikes.current = 0;
|
|
13946
|
+
return;
|
|
13947
|
+
}
|
|
13948
|
+
if (++updateIdleStrikes.current < 2) return;
|
|
13949
|
+
updateIdleStrikes.current = 0;
|
|
13950
|
+
if (polledUpdate !== null) {
|
|
13951
|
+
window.sessionStorage.removeItem("dshm-updating");
|
|
13952
|
+
pendingUpdate.current = null;
|
|
13953
|
+
setRecords((list) => list.filter((record) => record.id !== polledUpdate.recordId || record.state !== "running" || record.hostOperationId !== void 0));
|
|
13954
|
+
}
|
|
13955
|
+
setUpdatingName(null);
|
|
13956
|
+
refreshInstalled();
|
|
12867
13957
|
}
|
|
12868
13958
|
}).catch(() => {});
|
|
12869
13959
|
}, 2e3);
|
|
12870
13960
|
return () => clearInterval(timer);
|
|
12871
13961
|
}, [
|
|
12872
13962
|
applyDrainStatus,
|
|
13963
|
+
applyRepairStatus,
|
|
12873
13964
|
busyUrl,
|
|
12874
13965
|
updatingName,
|
|
12875
13966
|
removingName,
|
|
@@ -12990,10 +14081,16 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
12990
14081
|
}, [surface, themesFullscreen]);
|
|
12991
14082
|
(0, react.useLayoutEffect)(() => {
|
|
12992
14083
|
const root = rootRef.current;
|
|
14084
|
+
/** Drops #1237's stuck marks. Scroll state, so it leaves with the offsets. */
|
|
14085
|
+
const clearStuck = () => {
|
|
14086
|
+
markStuck(headRef.current, false);
|
|
14087
|
+
markStuck(root?.querySelector(`.${Market_module_css_default.cats}`) ?? null, false);
|
|
14088
|
+
};
|
|
12993
14089
|
if (surface !== "plugins" || root === null || themesFullscreen) {
|
|
12994
14090
|
root?.style.removeProperty("--dshm-host-sticky-top");
|
|
12995
14091
|
root?.style.removeProperty("--dshm-plugins-head-height");
|
|
12996
14092
|
root?.style.removeProperty("--dshm-empty-view-height");
|
|
14093
|
+
clearStuck();
|
|
12997
14094
|
return;
|
|
12998
14095
|
}
|
|
12999
14096
|
const host = listScroller(surface, root, null, false);
|
|
@@ -13001,6 +14098,7 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
13001
14098
|
root.style.removeProperty("--dshm-host-sticky-top");
|
|
13002
14099
|
root.style.removeProperty("--dshm-plugins-head-height");
|
|
13003
14100
|
root.style.removeProperty("--dshm-empty-view-height");
|
|
14101
|
+
clearStuck();
|
|
13004
14102
|
return;
|
|
13005
14103
|
}
|
|
13006
14104
|
let frame = 0;
|
|
@@ -13020,14 +14118,19 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
13020
14118
|
const view = Math.max(0, Math.round(hostRect.bottom - top));
|
|
13021
14119
|
root.style.setProperty("--dshm-empty-view-height", `${String(view)}px`);
|
|
13022
14120
|
}
|
|
14121
|
+
const cats = root.querySelector(`.${Market_module_css_default.cats}`);
|
|
14122
|
+
const catsEl = cats instanceof HTMLElement ? cats : null;
|
|
14123
|
+
const headPinned = head !== null && isPinned(host, head, hostTop);
|
|
14124
|
+
const catsPinned = catsEl !== null && isPinned(host, catsEl, hostTop + headHeight);
|
|
14125
|
+
markStuck(head, headPinned);
|
|
14126
|
+
markStuck(catsEl, catsPinned);
|
|
13023
14127
|
if (restoringStickRef.current) return;
|
|
13024
14128
|
const y = host.scrollTop;
|
|
13025
14129
|
if (y > 0) pluginsYRef.current = y;
|
|
13026
|
-
if (
|
|
14130
|
+
if (headPinned) headFloorRef.current = headFloorRef.current === null ? y : Math.min(headFloorRef.current, y);
|
|
13027
14131
|
else if (headFloorRef.current !== null && y > 0 && y + 4 < headFloorRef.current) headFloorRef.current = null;
|
|
13028
|
-
|
|
13029
|
-
if (
|
|
13030
|
-
else if (cats === null) catsFloorRef.current = null;
|
|
14132
|
+
if (catsPinned) catsFloorRef.current = catsFloorRef.current === null ? y : Math.min(catsFloorRef.current, y);
|
|
14133
|
+
else if (catsEl === null) catsFloorRef.current = null;
|
|
13031
14134
|
else if (catsFloorRef.current !== null && y > 0 && y + 4 < catsFloorRef.current) catsFloorRef.current = null;
|
|
13032
14135
|
};
|
|
13033
14136
|
const schedule = () => {
|
|
@@ -13042,6 +14145,7 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
13042
14145
|
root.style.removeProperty("--dshm-host-sticky-top");
|
|
13043
14146
|
root.style.removeProperty("--dshm-plugins-head-height");
|
|
13044
14147
|
root.style.removeProperty("--dshm-empty-view-height");
|
|
14148
|
+
clearStuck();
|
|
13045
14149
|
};
|
|
13046
14150
|
apply();
|
|
13047
14151
|
host.addEventListener("scroll", schedule, { passive: true });
|
|
@@ -13259,7 +14363,18 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
13259
14363
|
const favoriteThemeMore = useShownCount(favoriteThemes.length, favResetDeps, DEFAULT_PAGE_SIZE);
|
|
13260
14364
|
const favoritePagePlugins = surface === "plugins" ? favoritePlugins.slice(0, favoritePluginMore.shown) : favoritePlugins.slice((favoritePluginPagination.currentPage - 1) * favoritePluginPagination.pageSize, favoritePluginPagination.currentPage * favoritePluginPagination.pageSize);
|
|
13261
14365
|
const favoritePageThemes = surface === "plugins" ? favoriteThemes.slice(0, favoriteThemeMore.shown) : favoriteThemes.slice((favoriteThemePagination.currentPage - 1) * favoriteThemePagination.pageSize, favoriteThemePagination.currentPage * favoriteThemePagination.pageSize);
|
|
13262
|
-
const
|
|
14366
|
+
const installedHostPackages = (0, react.useMemo)(() => [...new Set(Object.entries(installed).flatMap(([name, spec]) => {
|
|
14367
|
+
const entry = data === null ? void 0 : catalogEntryForInstalled(data.plugins, name, String(spec), repoIdentities[name], repoHints[name]);
|
|
14368
|
+
if (entry === void 0) return [];
|
|
14369
|
+
const key = hostCompatibilityKey(entry);
|
|
14370
|
+
return key === null ? [] : [key];
|
|
14371
|
+
}))], [
|
|
14372
|
+
installed,
|
|
14373
|
+
data,
|
|
14374
|
+
repoIdentities,
|
|
14375
|
+
repoHints
|
|
14376
|
+
]);
|
|
14377
|
+
const compatibilityKeys = (marketGone ? [] : tab === "discover" ? pageHostPackages : tab === "favorites" ? favoritePagePlugins.map(hostCompatibilityKey).filter((key) => key !== null) : tab === "installed" ? installedHostPackages : []).join("\0");
|
|
13263
14378
|
(0, react.useEffect)(() => {
|
|
13264
14379
|
discoveryScan.setDemand(compatibilityDemandOwner.current, data, compatibilityKeys === "" ? [] : compatibilityKeys.split("\0"));
|
|
13265
14380
|
}, [data, compatibilityKeys]);
|
|
@@ -13756,6 +14871,11 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
13756
14871
|
updateIdleStrikes.current = 0;
|
|
13757
14872
|
window.sessionStorage.setItem("dshm-updating", JSON.stringify({ name }));
|
|
13758
14873
|
const updateRecordId = nextRecordId();
|
|
14874
|
+
const attempt = {
|
|
14875
|
+
recordId: updateRecordId,
|
|
14876
|
+
recovering: false
|
|
14877
|
+
};
|
|
14878
|
+
pendingUpdate.current = attempt;
|
|
13759
14879
|
setRecords((list) => enqueue(list, {
|
|
13760
14880
|
id: updateRecordId,
|
|
13761
14881
|
kind: "update",
|
|
@@ -13775,12 +14895,19 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
13775
14895
|
...confirmAgentsRunning ? { confirmAgentsRunning: true } : {},
|
|
13776
14896
|
...!restore && statusRef.current.agentDrain && !preferReject ? { busyPolicy: "drain" } : {}
|
|
13777
14897
|
})
|
|
13778
|
-
}).then((res) =>
|
|
13779
|
-
|
|
13780
|
-
body
|
|
13781
|
-
|
|
13782
|
-
|
|
13783
|
-
|
|
14898
|
+
}).then(async (res) => {
|
|
14899
|
+
const body = await res.json();
|
|
14900
|
+
if (body === null || typeof body !== "object" || Array.isArray(body)) throw new Error("Invalid update response");
|
|
14901
|
+
return {
|
|
14902
|
+
status: res.status,
|
|
14903
|
+
body
|
|
14904
|
+
};
|
|
14905
|
+
}).then(({ status, body }) => {
|
|
14906
|
+
if (pendingUpdate.current === attempt) {
|
|
14907
|
+
pendingUpdate.current = null;
|
|
14908
|
+
window.sessionStorage.removeItem("dshm-updating");
|
|
14909
|
+
setUpdatingName(null);
|
|
14910
|
+
}
|
|
13784
14911
|
if (status === 202 && typeof body.operationId === "string") {
|
|
13785
14912
|
const operation = body.operation;
|
|
13786
14913
|
setRecords((list) => patch(withoutHostProjection(list, body.operationId, updateRecordId), updateRecordId, {
|
|
@@ -13806,6 +14933,24 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
13806
14933
|
if (body.partial === true) setInstallError(t("partialNote"));
|
|
13807
14934
|
return;
|
|
13808
14935
|
}
|
|
14936
|
+
const releaseBlocked = body.failureCode === "PROFILE_RELEASE_BLOCKED" && body.profileBlocked !== null && typeof body.profileBlocked === "object" ? body.profileBlocked : null;
|
|
14937
|
+
if (releaseBlocked !== null && typeof releaseBlocked.name === "string" && typeof releaseBlocked.version === "string") {
|
|
14938
|
+
profileBlockRef.current = {
|
|
14939
|
+
name: releaseBlocked.name,
|
|
14940
|
+
version: releaseBlocked.version,
|
|
14941
|
+
readyAt: typeof releaseBlocked.readyAt === "string" ? releaseBlocked.readyAt : null
|
|
14942
|
+
};
|
|
14943
|
+
refreshInstalled(true);
|
|
14944
|
+
}
|
|
14945
|
+
if (body.failureCode === "RESTART_REQUIRED") {
|
|
14946
|
+
restartHoldRef.current = true;
|
|
14947
|
+
setRestartHold({ boot: bootIdRef.current });
|
|
14948
|
+
setRecords((list) => patch(list, updateRecordId, {
|
|
14949
|
+
state: "warned",
|
|
14950
|
+
reason: t("restartFirstNote")
|
|
14951
|
+
}));
|
|
14952
|
+
return;
|
|
14953
|
+
}
|
|
13809
14954
|
if (status === 409 && body.staleTarget === true) {
|
|
13810
14955
|
setRecords((list) => patch(list, updateRecordId, {
|
|
13811
14956
|
state: "failed",
|
|
@@ -13841,7 +14986,7 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
13841
14986
|
doUpdate(name, force, restore, compatVersion, confirmAgentsRunning, eligibleVersion, true);
|
|
13842
14987
|
return;
|
|
13843
14988
|
}
|
|
13844
|
-
if (status === 409) {
|
|
14989
|
+
if (status === 409 && releaseBlocked === null) {
|
|
13845
14990
|
if (body.failureCode === "AGENT_BARRIER_LOST") {
|
|
13846
14991
|
setRecords((list) => patch(list, updateRecordId, {
|
|
13847
14992
|
state: "failed",
|
|
@@ -13909,9 +15054,17 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
13909
15054
|
}));
|
|
13910
15055
|
setInstallError((restore ? t("restoreFail") : t("updateFail")) + ": " + name + " — " + localizeBilingual(clipped, lang));
|
|
13911
15056
|
}
|
|
13912
|
-
}).catch(() => {
|
|
15057
|
+
}).catch(() => {
|
|
15058
|
+
if (pendingUpdate.current === attempt) pendingUpdate.current = {
|
|
15059
|
+
...attempt,
|
|
15060
|
+
recovering: true
|
|
15061
|
+
};
|
|
15062
|
+
}).finally(() => {
|
|
15063
|
+
if (restore && mounted.current) refreshRepairStatus();
|
|
15064
|
+
});
|
|
13913
15065
|
}, [
|
|
13914
15066
|
refreshInstalled,
|
|
15067
|
+
refreshRepairStatus,
|
|
13915
15068
|
installed,
|
|
13916
15069
|
rememberDrainMarker,
|
|
13917
15070
|
t,
|
|
@@ -14039,6 +15192,9 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
14039
15192
|
closing the dialog abandons the render — the server side caches the
|
|
14040
15193
|
payload, so reopening is cheap. */
|
|
14041
15194
|
const openNotes = (0, react.useCallback)((name, current, latest, target, repoUrl) => {
|
|
15195
|
+
notesRequest.current?.abort();
|
|
15196
|
+
const request = new AbortController();
|
|
15197
|
+
notesRequest.current = request;
|
|
14042
15198
|
setNotesFor({
|
|
14043
15199
|
name,
|
|
14044
15200
|
current,
|
|
@@ -14048,10 +15204,18 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
14048
15204
|
});
|
|
14049
15205
|
setUpdateNotes(null);
|
|
14050
15206
|
setNotesState("loading");
|
|
14051
|
-
fetch(`${api("/dsh-crate/changelog")}?name=${encodeURIComponent(name)}${target !== null ? `&target=${encodeURIComponent(target)}` : ""}
|
|
15207
|
+
fetch(`${api("/dsh-crate/changelog")}?name=${encodeURIComponent(name)}${target !== null ? `&target=${encodeURIComponent(target)}` : ""}`, { signal: request.signal }).then((res) => res.json()).then((body) => {
|
|
15208
|
+
if (request.signal.aborted) return;
|
|
14052
15209
|
setUpdateNotes(body);
|
|
14053
15210
|
setNotesState("ready");
|
|
14054
|
-
}).catch(() =>
|
|
15211
|
+
}).catch(() => {
|
|
15212
|
+
if (!request.signal.aborted) setNotesState("fail");
|
|
15213
|
+
});
|
|
15214
|
+
}, []);
|
|
15215
|
+
const closeNotes = (0, react.useCallback)(() => {
|
|
15216
|
+
notesRequest.current?.abort();
|
|
15217
|
+
notesRequest.current = null;
|
|
15218
|
+
setNotesFor(null);
|
|
14055
15219
|
}, []);
|
|
14056
15220
|
const doUseSkin = (0, react.useCallback)((name) => {
|
|
14057
15221
|
setInstallError(null);
|
|
@@ -14136,6 +15300,10 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
14136
15300
|
setFavoriteError(t("favoriteBusy"));
|
|
14137
15301
|
return;
|
|
14138
15302
|
}
|
|
15303
|
+
if (body?.code === "FAVORITES_LIMIT_REACHED" && typeof body.limit === "number") {
|
|
15304
|
+
setFavoriteError(t("favoriteLimitReached").replace("{0}", String(body.limit)));
|
|
15305
|
+
return;
|
|
15306
|
+
}
|
|
14139
15307
|
setFavoriteError(typeof body?.error === "string" ? body.error : t("favoriteFailed"));
|
|
14140
15308
|
}).catch((error) => {
|
|
14141
15309
|
if (gen !== favoriteOpGen.current) return;
|
|
@@ -14558,6 +15726,16 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
14558
15726
|
if (operationInFlight()) return;
|
|
14559
15727
|
const task = recordsRef.current.find((record) => record.state === "queued" && record.hostOperationId === void 0 && (record.kind === "install" || runningAgents.length === 0));
|
|
14560
15728
|
if (task === void 0 || recordsRef.current.some((record) => record.state === "running" && record.hostOperationId === void 0)) return;
|
|
15729
|
+
if (task.kind === "update" && restartHoldRef.current) return;
|
|
15730
|
+
const blocked = profileBlockRef.current;
|
|
15731
|
+
if (task.kind === "update" && blocked !== null && profileBlockStillHolds(blocked)) {
|
|
15732
|
+
const reason = t("profileBlockedSkipped").replace("{0}", profileBlockedText(blocked, t));
|
|
15733
|
+
setRecords((list) => patch(list, task.id, {
|
|
15734
|
+
state: "failed",
|
|
15735
|
+
reason
|
|
15736
|
+
}));
|
|
15737
|
+
return;
|
|
15738
|
+
}
|
|
14561
15739
|
setRecords((list) => list.filter((record) => record.id !== task.id));
|
|
14562
15740
|
drainingRef.current = true;
|
|
14563
15741
|
try {
|
|
@@ -14578,7 +15756,8 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
14578
15756
|
}, [
|
|
14579
15757
|
applyDrainStatus,
|
|
14580
15758
|
readMarketStatus,
|
|
14581
|
-
restoreDrainMarkers
|
|
15759
|
+
restoreDrainMarkers,
|
|
15760
|
+
t
|
|
14582
15761
|
]);
|
|
14583
15762
|
/** A queued record's "run now": retry immediately instead of waiting for idle. */
|
|
14584
15763
|
const runQueuedNow = (0, react.useCallback)((record, confirmAgentsRunning = false) => {
|
|
@@ -14699,6 +15878,10 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
14699
15878
|
return true;
|
|
14700
15879
|
}
|
|
14701
15880
|
const text = (v) => typeof v === "string" ? v : v == null ? "" : JSON.stringify(v);
|
|
15881
|
+
if (body.partial === true) {
|
|
15882
|
+
setGroupPayload(body);
|
|
15883
|
+
refreshInstalled();
|
|
15884
|
+
}
|
|
14702
15885
|
setInstallError(text(body.error) || t("toggleFail"));
|
|
14703
15886
|
if (Array.isArray(body.restartMembers) && body.restartMembers.length > 0) setToggleRestart((n) => n + body.restartMembers.length);
|
|
14704
15887
|
if (Array.isArray(body.refreshMembers) && body.refreshMembers.length > 0) setRefreshNames((names) => [.../* @__PURE__ */ new Set([...names, ...body.refreshMembers])]);
|
|
@@ -14882,6 +16065,19 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
14882
16065
|
}));
|
|
14883
16066
|
setUpdatingAll(true);
|
|
14884
16067
|
const next = () => {
|
|
16068
|
+
const blocked = profileBlockRef.current;
|
|
16069
|
+
if (names.length > 0 && blocked !== null && profileBlockStillHolds(blocked)) {
|
|
16070
|
+
const reason = t("profileBlockedSkipped").replace("{0}", profileBlockedText(blocked, t));
|
|
16071
|
+
const skipped = names.splice(0, names.length);
|
|
16072
|
+
setRecords((list) => skipped.reduce((acc, item) => enqueue(acc, {
|
|
16073
|
+
id: nextRecordId(),
|
|
16074
|
+
kind: "update",
|
|
16075
|
+
name: item.name,
|
|
16076
|
+
state: "failed",
|
|
16077
|
+
reason
|
|
16078
|
+
}), list));
|
|
16079
|
+
}
|
|
16080
|
+
if (restartHoldRef.current) names.splice(0, names.length);
|
|
14885
16081
|
const item = names.shift();
|
|
14886
16082
|
if (item === void 0) {
|
|
14887
16083
|
setUpdatingAll(false);
|
|
@@ -14895,7 +16091,9 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
14895
16091
|
reminderBatchUpdatableNames,
|
|
14896
16092
|
doUpdate,
|
|
14897
16093
|
refreshInstalled,
|
|
14898
|
-
updates
|
|
16094
|
+
updates,
|
|
16095
|
+
t,
|
|
16096
|
+
nextRecordId
|
|
14899
16097
|
]);
|
|
14900
16098
|
const finishRestore = (0, react.useCallback)((body) => {
|
|
14901
16099
|
const errors = Array.isArray(body.errors) ? body.errors : [];
|
|
@@ -15006,6 +16204,11 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
15006
16204
|
if (error instanceof TypeError) return t("gistErrNetwork");
|
|
15007
16205
|
return String(error);
|
|
15008
16206
|
};
|
|
16207
|
+
/** The picker list: dependency plugins + bundle-only plugins, deduplicated. */
|
|
16208
|
+
const exportOptions = (0, react.useMemo)(() => {
|
|
16209
|
+
return [.../* @__PURE__ */ new Set([...Object.keys(installed), ...installedBundles])].sort();
|
|
16210
|
+
}, [installed, installedBundles]);
|
|
16211
|
+
const exportAllSelected = exportOptions.length > 0 && exportOptions.every((name) => exportSelection.has(name));
|
|
15009
16212
|
const runGist = (0, react.useCallback)((action) => {
|
|
15010
16213
|
setGistBusy(true);
|
|
15011
16214
|
setGistMessage(null);
|
|
@@ -15027,12 +16230,9 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
15027
16230
|
}
|
|
15028
16231
|
body.gistId = gistId.trim();
|
|
15029
16232
|
}
|
|
15030
|
-
if (action === "export") {
|
|
15031
|
-
|
|
15032
|
-
if (
|
|
15033
|
-
body.includeDeps = [...exportSelection];
|
|
15034
|
-
if (exportIncludeConfig) body.includeConfig = true;
|
|
15035
|
-
}
|
|
16233
|
+
if (action === "export" && !exportAllSelected) {
|
|
16234
|
+
body.includeDeps = [...exportSelection];
|
|
16235
|
+
if (exportIncludeConfig) body.includeConfig = true;
|
|
15036
16236
|
}
|
|
15037
16237
|
fetch(api("/dsh-crate/gist"), {
|
|
15038
16238
|
method: "POST",
|
|
@@ -15075,19 +16275,15 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
15075
16275
|
if (action === "export") setExportError(message);
|
|
15076
16276
|
}).finally(() => setGistBusy(false));
|
|
15077
16277
|
}, [
|
|
16278
|
+
exportAllSelected,
|
|
15078
16279
|
exportIncludeConfig,
|
|
15079
16280
|
exportSelection,
|
|
15080
16281
|
gistId,
|
|
16282
|
+
gistMode,
|
|
15081
16283
|
gistToken,
|
|
15082
|
-
installed,
|
|
15083
|
-
installedBundles,
|
|
15084
16284
|
previewBackup,
|
|
15085
16285
|
t
|
|
15086
16286
|
]);
|
|
15087
|
-
/** The picker list: dependency plugins + bundle-only plugins, deduplicated. */
|
|
15088
|
-
const exportOptions = (0, react.useMemo)(() => {
|
|
15089
|
-
return [.../* @__PURE__ */ new Set([...Object.keys(installed), ...installedBundles])].sort();
|
|
15090
|
-
}, [installed, installedBundles]);
|
|
15091
16287
|
/** Classify an install spec for the export picker badge. */
|
|
15092
16288
|
const specKind = (spec) => {
|
|
15093
16289
|
if (spec === void 0) return "bundle";
|
|
@@ -15096,11 +16292,10 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
15096
16292
|
return "npm";
|
|
15097
16293
|
};
|
|
15098
16294
|
const openExportPicker = (0, react.useCallback)(() => {
|
|
15099
|
-
|
|
15100
|
-
setExportSelection(new Set(names));
|
|
16295
|
+
setExportSelection(new Set(exportOptions));
|
|
15101
16296
|
setExportIncludeConfig(false);
|
|
15102
16297
|
setExportOpen(true);
|
|
15103
|
-
}, [
|
|
16298
|
+
}, [exportOptions]);
|
|
15104
16299
|
const runWebdavRef = (0, react.useRef)(runWebdav);
|
|
15105
16300
|
(0, react.useEffect)(() => {
|
|
15106
16301
|
runWebdavRef.current = runWebdav;
|
|
@@ -15208,6 +16403,36 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
15208
16403
|
label: favoriteUrlSet.has(url) ? t("favoriteRemove") : t("favoriteAdd"),
|
|
15209
16404
|
onToggle: () => toggleFavorite(url)
|
|
15210
16405
|
});
|
|
16406
|
+
/** Bookmarks with no catalog entry have no card, so each gets its own row
|
|
16407
|
+
* and its own remove button; a bulk clear sits beside them when there are several. */
|
|
16408
|
+
const renderStaleFavorites = () => /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
16409
|
+
className: Market_module_css_default.favoritesStaleBar,
|
|
16410
|
+
"data-testid": "favorites-stale",
|
|
16411
|
+
children: [
|
|
16412
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", { children: t("favoritesStaleNote").replace("{0}", String(favoriteStale.length)) }),
|
|
16413
|
+
favoriteStale.map((url) => /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
16414
|
+
className: Market_module_css_default.favoritesStaleRow,
|
|
16415
|
+
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
16416
|
+
className: Market_module_css_default.favoritesStaleName,
|
|
16417
|
+
children: url.replace(/^https?:\/\/(www\.)?github\.com\//, "")
|
|
16418
|
+
}), /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.Button, {
|
|
16419
|
+
variant: "outline",
|
|
16420
|
+
size: "sm",
|
|
16421
|
+
disabled: clearingStale,
|
|
16422
|
+
"aria-label": `${t("favoriteRemove")} ${url}`,
|
|
16423
|
+
onClick: () => toggleFavorite(url),
|
|
16424
|
+
children: t("favoriteRemove")
|
|
16425
|
+
})]
|
|
16426
|
+
}, url)),
|
|
16427
|
+
favoriteStale.length > 1 && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.Button, {
|
|
16428
|
+
variant: "outline",
|
|
16429
|
+
size: "sm",
|
|
16430
|
+
disabled: clearingStale,
|
|
16431
|
+
onClick: () => clearStaleFavorites(),
|
|
16432
|
+
children: clearingStale ? t("favoritesClearingStale") : t("favoritesClearStale")
|
|
16433
|
+
})
|
|
16434
|
+
]
|
|
16435
|
+
});
|
|
15211
16436
|
const renderPluginMenu = (plugin, key = plugin.url) => {
|
|
15212
16437
|
const aliases = blockAliases(plugin, matchInstalledName(plugin, installed, repoIdentities, data?.plugins, repoHints));
|
|
15213
16438
|
const hidden = aliases.some((name) => blockedNameSet.has(name));
|
|
@@ -15216,6 +16441,7 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
15216
16441
|
onClose: () => setPluginMenuUrl(null),
|
|
15217
16442
|
onSelect: (id) => {
|
|
15218
16443
|
setPluginMenuUrl(null);
|
|
16444
|
+
if (id === "favorite") toggleFavorite(plugin.url);
|
|
15219
16445
|
if (id === "block") toggleBlock(blockToggleName(aliases));
|
|
15220
16446
|
},
|
|
15221
16447
|
align: "end",
|
|
@@ -15229,6 +16455,9 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
15229
16455
|
children: "···"
|
|
15230
16456
|
}),
|
|
15231
16457
|
items: [{
|
|
16458
|
+
id: "favorite",
|
|
16459
|
+
label: favoriteUrlSet.has(plugin.url) ? t("favoriteRemove") : t("favoriteAdd")
|
|
16460
|
+
}, {
|
|
15232
16461
|
id: "block",
|
|
15233
16462
|
label: hidden ? t("blockRemove") : t("blockAdd")
|
|
15234
16463
|
}]
|
|
@@ -15654,9 +16883,7 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
15654
16883
|
const record = recordForUrl(records, p.url);
|
|
15655
16884
|
const blocked = record !== null && (record.state === "input" || record.state === "failed");
|
|
15656
16885
|
const compatibilityKey = hostCompatibilityKey(p);
|
|
15657
|
-
const
|
|
15658
|
-
const hostRequirementLabel = compatibility?.requirement !== null && compatibility?.requirement !== void 0 ? t("hostRequirement").replace("{0}", compatibility.requirement) : compatibilityKey === null ? t("hostRequirementUnavailable") : compatibility === void 0 ? t("hostRequirementLoading") : compatibility.basis === "undeclared" ? t("hostRequirementUndeclared") : t("hostRequirementUnavailable");
|
|
15659
|
-
const hostRequirementTitle = compatibility?.declarations.map((declaration) => declaration.kind === "engine" ? `engines.dsh: ${declaration.range}` : `${declaration.package ?? "peer"}: ${declaration.range}`).join("\n") || hostRequirementLabel;
|
|
16886
|
+
const hostChip = hostRequirementChip(compatibilityKey === null ? void 0 : hostCompatibility[compatibilityKey], compatibilityKey, t);
|
|
15660
16887
|
return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
15661
16888
|
className: blocked ? `${Market_module_css_default.card} ${Market_module_css_default.cardBlocked}` : Market_module_css_default.card,
|
|
15662
16889
|
children: [
|
|
@@ -15740,11 +16967,15 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
15740
16967
|
className: Market_module_css_default.foot,
|
|
15741
16968
|
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
15742
16969
|
className: Market_module_css_default.footTags,
|
|
15743
|
-
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(
|
|
15744
|
-
|
|
15745
|
-
|
|
15746
|
-
|
|
15747
|
-
|
|
16970
|
+
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(CardTip, {
|
|
16971
|
+
label: hostChip.title,
|
|
16972
|
+
maxWidth: 320,
|
|
16973
|
+
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
16974
|
+
className: hostChip.bad ? `${Market_module_css_default.hostRequirement} ${Market_module_css_default.hostRequirementBad}` : Market_module_css_default.hostRequirement,
|
|
16975
|
+
"data-status": hostChip.status,
|
|
16976
|
+
tabIndex: 0,
|
|
16977
|
+
children: hostChip.label
|
|
16978
|
+
})
|
|
15748
16979
|
}), pluginCategories(p).map((category) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
15749
16980
|
className: Market_module_css_default.tag,
|
|
15750
16981
|
children: data.categories[category] && (data.categories[category][lang] || data.categories[category].en) || category
|
|
@@ -16185,6 +17416,10 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
16185
17416
|
groups,
|
|
16186
17417
|
installedThemeNames
|
|
16187
17418
|
]);
|
|
17419
|
+
const marketUpdateStatus = updates[selfName];
|
|
17420
|
+
const eligibleMarketVersion = marketUpdateStatus?.updateAvailable === true ? marketUpdateStatus.eligibleVersion ?? marketUpdateStatus.latest ?? null : null;
|
|
17421
|
+
const heldMarketVersion = marketUpdateStatus?.heldUpdate;
|
|
17422
|
+
const showMarketWait = typeof heldMarketVersion?.latest === "string" && heldMarketVersion.latest !== "" && heldMarketVersion.latest !== eligibleMarketVersion && !updatedNames.includes(selfName) && !quietUpdateSet.has(selfName);
|
|
16188
17423
|
const batchActions = /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(react_jsx_runtime.Fragment, { children: [
|
|
16189
17424
|
(() => {
|
|
16190
17425
|
const self = installed["dsh-crate"] !== void 0 ? "dsh-crate" : "dsh-crate";
|
|
@@ -16227,7 +17462,7 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
16227
17462
|
onClick: doExportLog,
|
|
16228
17463
|
children: exportState === "busy" ? t("exportingLog") : t("exportLog")
|
|
16229
17464
|
});
|
|
16230
|
-
const updateCheckFailed = updateCheck.failed === null || updateCheck.failed.size > 0;
|
|
17465
|
+
const updateCheckFailed = updateCheck.failed === null || updateCheck.failed.size > 0 && updateCheck.failed.size >= Object.keys(updateCheck.updates).length;
|
|
16231
17466
|
return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
16232
17467
|
ref: rootRef,
|
|
16233
17468
|
className: `${Market_module_css_default.root} notranslate`,
|
|
@@ -16276,9 +17511,23 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
16276
17511
|
children: "dsh-crate"
|
|
16277
17512
|
}),
|
|
16278
17513
|
version !== null && /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("span", {
|
|
16279
|
-
className: Market_module_css_default.
|
|
16280
|
-
|
|
16281
|
-
|
|
17514
|
+
className: Market_module_css_default.marketVersionGroup,
|
|
17515
|
+
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("span", {
|
|
17516
|
+
className: Market_module_css_default.version,
|
|
17517
|
+
title: t("versionHint"),
|
|
17518
|
+
children: ["v", version]
|
|
17519
|
+
}), showMarketWait && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.Tooltip, {
|
|
17520
|
+
label: () => marketWaitTip(heldMarketVersion, eligibleMarketVersion, uiLocale, t),
|
|
17521
|
+
side: "bottom",
|
|
17522
|
+
delayMs: HOVER_TIP_DELAY_MS,
|
|
17523
|
+
portal: true,
|
|
17524
|
+
maxWidth: 320,
|
|
17525
|
+
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
17526
|
+
className: Market_module_css_default.marketVersionWait,
|
|
17527
|
+
tabIndex: 0,
|
|
17528
|
+
children: t("marketVersionWaiting")
|
|
17529
|
+
})
|
|
17530
|
+
})]
|
|
16282
17531
|
}),
|
|
16283
17532
|
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("a", {
|
|
16284
17533
|
className: Market_module_css_default.submitLink,
|
|
@@ -16358,7 +17607,13 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
16358
17607
|
},
|
|
16359
17608
|
children: t("tabAdvanced")
|
|
16360
17609
|
}),
|
|
16361
|
-
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
17610
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
17611
|
+
className: surface === "plugins" ? `${Market_module_css_default.grow} ${Market_module_css_default.sponsorSlot}` : Market_module_css_default.grow,
|
|
17612
|
+
children: surface === "plugins" && /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(react_jsx_runtime.Fragment, { children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", { className: Market_module_css_default.sponsorWrapFloor }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)(SponsorMark, {
|
|
17613
|
+
lang,
|
|
17614
|
+
t
|
|
17615
|
+
})] })
|
|
17616
|
+
}),
|
|
16362
17617
|
surface === "plugins" && batchActions,
|
|
16363
17618
|
surface === "plugins" && exportLogButton,
|
|
16364
17619
|
/* @__PURE__ */ (0, react_jsx_runtime.jsx)(OperationsPanel, {
|
|
@@ -16366,23 +17621,19 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
16366
17621
|
lang,
|
|
16367
17622
|
describe: describePlugin,
|
|
16368
17623
|
records,
|
|
17624
|
+
startupRepairEntries: startupRepair?.entries,
|
|
17625
|
+
checkoutRecoveryEntries: checkoutRecovery?.entries,
|
|
16369
17626
|
open: operationsOpen,
|
|
16370
17627
|
onOpenChange: setOperationsOpen,
|
|
16371
17628
|
replacing,
|
|
16372
17629
|
envReady,
|
|
16373
17630
|
onClearSettled: () => {
|
|
16374
|
-
for (const record of recordsRef.current) if (record.hostOperationId !== void 0 && (record.state === "done" || record.state === "warned" || record.state === "failed"))
|
|
16375
|
-
dismissedHostRef.current.add(record.hostOperationId);
|
|
16376
|
-
rememberDismissedHostId(record.hostOperationId);
|
|
16377
|
-
}
|
|
17631
|
+
for (const record of recordsRef.current) if (record.hostOperationId !== void 0 && (record.state === "done" || record.state === "warned" || record.state === "failed")) rememberDismissedHostId(record.hostOperationId);
|
|
16378
17632
|
setRecords((list) => clearSettled(list));
|
|
16379
17633
|
},
|
|
16380
17634
|
onCancel: (record) => doCancel(record),
|
|
16381
17635
|
onDismiss: (record) => {
|
|
16382
|
-
if (record.hostOperationId !== void 0)
|
|
16383
|
-
dismissedHostRef.current.add(record.hostOperationId);
|
|
16384
|
-
rememberDismissedHostId(record.hostOperationId);
|
|
16385
|
-
}
|
|
17636
|
+
if (record.hostOperationId !== void 0) rememberDismissedHostId(record.hostOperationId);
|
|
16386
17637
|
setRecords((list) => drop(list, record.id));
|
|
16387
17638
|
},
|
|
16388
17639
|
onRefresh: () => location.reload(),
|
|
@@ -16421,6 +17672,20 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
16421
17672
|
children: t("loadRetry")
|
|
16422
17673
|
})]
|
|
16423
17674
|
}),
|
|
17675
|
+
!marketGone && restartHold !== null && restartHold.boot === bootId && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
17676
|
+
className: Market_module_css_default.updateCheckNotice,
|
|
17677
|
+
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
17678
|
+
role: "status",
|
|
17679
|
+
children: t("restartFirstNote")
|
|
17680
|
+
})
|
|
17681
|
+
}),
|
|
17682
|
+
!marketGone && profileBlocked !== null && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
17683
|
+
className: Market_module_css_default.updateCheckNotice,
|
|
17684
|
+
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
17685
|
+
role: "status",
|
|
17686
|
+
children: profileBlockedText(profileBlocked, t)
|
|
17687
|
+
})
|
|
17688
|
+
}),
|
|
16424
17689
|
(tab === "backup" || tab === "diagnostics") && /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
16425
17690
|
className: Market_module_css_default.subTabs,
|
|
16426
17691
|
children: [
|
|
@@ -17217,27 +18482,12 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
17217
18482
|
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
17218
18483
|
className: Market_module_css_default.empty,
|
|
17219
18484
|
children: t("favoritesStaleEmpty")
|
|
17220
|
-
}),
|
|
17221
|
-
variant: "outline",
|
|
17222
|
-
size: "sm",
|
|
17223
|
-
disabled: clearingStale,
|
|
17224
|
-
onClick: () => clearStaleFavorites(),
|
|
17225
|
-
children: clearingStale ? t("favoritesClearingStale") : t("favoritesClearStale")
|
|
17226
|
-
})]
|
|
18485
|
+
}), renderStaleFavorites()]
|
|
17227
18486
|
}) : /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
17228
18487
|
className: Market_module_css_default.empty,
|
|
17229
18488
|
children: t("empty")
|
|
17230
18489
|
}) : /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(react_jsx_runtime.Fragment, { children: [
|
|
17231
|
-
favoriteStale.length > 0 &&
|
|
17232
|
-
className: Market_module_css_default.favoritesStaleBar,
|
|
17233
|
-
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", { children: t("favoritesStaleNote").replace("{0}", String(favoriteStale.length)) }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.Button, {
|
|
17234
|
-
variant: "outline",
|
|
17235
|
-
size: "sm",
|
|
17236
|
-
disabled: clearingStale,
|
|
17237
|
-
onClick: () => clearStaleFavorites(),
|
|
17238
|
-
children: clearingStale ? t("favoritesClearingStale") : t("favoritesClearStale")
|
|
17239
|
-
})]
|
|
17240
|
-
}),
|
|
18490
|
+
favoriteStale.length > 0 && renderStaleFavorites(),
|
|
17241
18491
|
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
17242
18492
|
className: Market_module_css_default.themeResultBar,
|
|
17243
18493
|
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", { children: t("favoritesResultCount").replace("{0}", String(favoriteListed.length)) })
|
|
@@ -17779,6 +19029,9 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
17779
19029
|
className: Market_module_css_default.empty,
|
|
17780
19030
|
children: t("installedEmpty")
|
|
17781
19031
|
}) : /* @__PURE__ */ (0, react_jsx_runtime.jsx)(Masonry, {
|
|
19032
|
+
maxColumns: 2,
|
|
19033
|
+
minColumns: 1,
|
|
19034
|
+
className: Market_module_css_default.masonryInstalled,
|
|
17782
19035
|
items: orderedInstalledEntries.filter(([name, spec]) => {
|
|
17783
19036
|
const needle = qInstalled.trim().toLowerCase();
|
|
17784
19037
|
if (needle === "") return true;
|
|
@@ -17806,11 +19059,27 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
17806
19059
|
const installedWhenTitle = [installedOn === null ? t("installedAtUnknown") : `${t("installedAtLabel")} ${installedOn}`, updatedOn === null ? "" : `${t("updatedAtLabel")} ${updatedOn}`].filter(Boolean).join(" · ");
|
|
17807
19060
|
const specText = String(spec);
|
|
17808
19061
|
const specRedundant = version !== "" && /^[\^~]?\d/.test(specText);
|
|
19062
|
+
const releaseSource = entry !== void 0 && catalogReleaseSourceOf(specText, entry) !== null;
|
|
17809
19063
|
const localPath = localPathOf(specText);
|
|
17810
19064
|
const ghSpec = /^github:([A-Za-z0-9_.-]+\/[A-Za-z0-9_.-]+?)(?:#|$)/.exec(specText);
|
|
17811
19065
|
const repoUrl = entry !== void 0 ? entry.url : ghSpec !== null ? "https://github.com/" + ghSpec[1] : null;
|
|
17812
19066
|
const off = act?.library !== true && effectiveDisabledSet.has(name);
|
|
17813
19067
|
const toggleable = act?.library !== true && (off || act !== void 0 && (act.state === "live" || act.state === "restart"));
|
|
19068
|
+
const updatable = isPluginUpdatable(name, String(spec), status, updatedNames);
|
|
19069
|
+
const metaBits = [
|
|
19070
|
+
version,
|
|
19071
|
+
localDev ? t("linkedDev") : "",
|
|
19072
|
+
installedOn === null ? "" : `${t("installedAtLabel")} ${installedOn}`
|
|
19073
|
+
].filter(Boolean);
|
|
19074
|
+
const compatibilityKey = entry !== void 0 ? hostCompatibilityKey(entry) : null;
|
|
19075
|
+
const compatibility = compatibilityKey === null ? void 0 : hostCompatibility[compatibilityKey];
|
|
19076
|
+
const hostChip = hostRequirementChip(compatibility, compatibilityKey, t);
|
|
19077
|
+
const showIncompat = !localDev && act?.state === "incompatible";
|
|
19078
|
+
const showHostRequirement = !missing && !localDev && !showIncompat && entry !== void 0 && compatibility?.requirement != null;
|
|
19079
|
+
const note = notes[name];
|
|
19080
|
+
const authored = authoredDescription(name, entry);
|
|
19081
|
+
const theirs = showTheirs.includes(name);
|
|
19082
|
+
const shown = note !== void 0 && !theirs ? note : authored;
|
|
17814
19083
|
return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
17815
19084
|
className: missing ? `${Market_module_css_default.irow} ${Market_module_css_default.irowMissing}` : Market_module_css_default.irow,
|
|
17816
19085
|
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
@@ -17840,14 +19109,18 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
17840
19109
|
children: renderInstalledBlockMenu(name)
|
|
17841
19110
|
})]
|
|
17842
19111
|
}),
|
|
17843
|
-
(
|
|
19112
|
+
(metaBits.length > 0 || updatable) && /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
17844
19113
|
className: Market_module_css_default.irowMeta,
|
|
17845
|
-
|
|
17846
|
-
|
|
17847
|
-
|
|
17848
|
-
|
|
17849
|
-
|
|
17850
|
-
|
|
19114
|
+
children: [metaBits.length > 0 && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
19115
|
+
className: Market_module_css_default.irowMetaText,
|
|
19116
|
+
title: installedWhenTitle,
|
|
19117
|
+
children: metaBits.join(" · ")
|
|
19118
|
+
}), updatable && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("button", {
|
|
19119
|
+
type: "button",
|
|
19120
|
+
className: Market_module_css_default.notesLink,
|
|
19121
|
+
onClick: () => openNotes(name, status?.current ?? null, status?.latest ?? null, status?.eligibleVersion ?? status?.latest ?? null, repoUrl),
|
|
19122
|
+
children: `${t("notesLink")} ›`
|
|
19123
|
+
})]
|
|
17851
19124
|
}),
|
|
17852
19125
|
specRedundant ? null : localPath !== null ? /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
17853
19126
|
className: Market_module_css_default.irowPath,
|
|
@@ -17870,6 +19143,19 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
17870
19143
|
})
|
|
17871
19144
|
})
|
|
17872
19145
|
]
|
|
19146
|
+
}) : releaseSource ? /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
19147
|
+
className: Market_module_css_default.irowPath,
|
|
19148
|
+
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
19149
|
+
className: Market_module_css_default.irowPathIcon,
|
|
19150
|
+
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(IconLinkOutline14, { size: 14 })
|
|
19151
|
+
}), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("a", {
|
|
19152
|
+
className: `${Market_module_css_default.spec} ${Market_module_css_default.src}`,
|
|
19153
|
+
href: specText,
|
|
19154
|
+
title: specText,
|
|
19155
|
+
target: "_blank",
|
|
19156
|
+
rel: "noreferrer",
|
|
19157
|
+
children: "GitHub Release"
|
|
19158
|
+
})]
|
|
17873
19159
|
}) : repoUrl !== null ? /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
17874
19160
|
className: Market_module_css_default.irowPath,
|
|
17875
19161
|
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
@@ -17886,66 +19172,74 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
17886
19172
|
className: Market_module_css_default.spec,
|
|
17887
19173
|
children: specText
|
|
17888
19174
|
}),
|
|
17889
|
-
|
|
17890
|
-
className: Market_module_css_default.
|
|
17891
|
-
children: [/* @__PURE__ */ (0, react_jsx_runtime.
|
|
17892
|
-
className: Market_module_css_default.
|
|
17893
|
-
|
|
17894
|
-
|
|
17895
|
-
|
|
17896
|
-
|
|
17897
|
-
|
|
17898
|
-
|
|
17899
|
-
|
|
17900
|
-
|
|
17901
|
-
|
|
17902
|
-
|
|
17903
|
-
|
|
17904
|
-
|
|
17905
|
-
|
|
17906
|
-
|
|
17907
|
-
|
|
17908
|
-
|
|
17909
|
-
|
|
17910
|
-
|
|
17911
|
-
|
|
17912
|
-
|
|
17913
|
-
|
|
17914
|
-
|
|
17915
|
-
|
|
17916
|
-
|
|
17917
|
-
|
|
17918
|
-
|
|
17919
|
-
|
|
17920
|
-
|
|
17921
|
-
|
|
19175
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
19176
|
+
className: Market_module_css_default.irowDescBand,
|
|
19177
|
+
children: [notingName === name ? /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
19178
|
+
className: Market_module_css_default.noteEdit,
|
|
19179
|
+
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.Input, {
|
|
19180
|
+
className: Market_module_css_default.noteInput,
|
|
19181
|
+
value: noteDraft,
|
|
19182
|
+
maxLength: NOTE_MAX,
|
|
19183
|
+
autoFocus: true,
|
|
19184
|
+
placeholder: t("notePlaceholder"),
|
|
19185
|
+
onChange: (e) => setNoteDraft(e.target.value),
|
|
19186
|
+
onKeyDown: (e) => {
|
|
19187
|
+
if (e.nativeEvent.isComposing || e.keyCode === 229) return;
|
|
19188
|
+
if (e.key === "Enter") saveNote(name, noteDraft);
|
|
19189
|
+
if (e.key === "Escape") setNotingName(null);
|
|
19190
|
+
}
|
|
19191
|
+
}), /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
19192
|
+
className: Market_module_css_default.noteEditBar,
|
|
19193
|
+
children: [
|
|
19194
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
19195
|
+
className: Market_module_css_default.noteCount,
|
|
19196
|
+
"aria-hidden": "true",
|
|
19197
|
+
children: `${noteDraft.length}/${NOTE_MAX}`
|
|
19198
|
+
}),
|
|
19199
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.Button, {
|
|
19200
|
+
variant: "ghost",
|
|
19201
|
+
size: "sm",
|
|
19202
|
+
onClick: () => setNotingName(null),
|
|
19203
|
+
children: t("cancel")
|
|
19204
|
+
}),
|
|
19205
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.Button, {
|
|
19206
|
+
variant: "primary",
|
|
19207
|
+
size: "sm",
|
|
19208
|
+
onClick: () => saveNote(name, noteDraft),
|
|
19209
|
+
children: t("noteSave")
|
|
19210
|
+
})
|
|
19211
|
+
]
|
|
19212
|
+
})]
|
|
19213
|
+
}) : shown !== "" ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
19214
|
+
className: `${Market_module_css_default.desc} ${Market_module_css_default.descTight} ${Market_module_css_default.irowBody}`,
|
|
19215
|
+
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(CardDesc, {
|
|
19216
|
+
text: shown,
|
|
19217
|
+
t,
|
|
19218
|
+
lines: 3,
|
|
19219
|
+
className: Market_module_css_default.irowDesc,
|
|
19220
|
+
textClassName: note !== void 0 && !theirs ? Market_module_css_default.noteMine : void 0
|
|
19221
|
+
}, shown)
|
|
19222
|
+
}) : null, (showHostRequirement || notingName !== name) && /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
19223
|
+
className: shown === "" || notingName === name ? `${Market_module_css_default.irowFootRow} ${Market_module_css_default.irowNoteActionsSpaced}` : Market_module_css_default.irowFootRow,
|
|
19224
|
+
children: [showHostRequirement && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(CardTip, {
|
|
19225
|
+
label: hostChip.title,
|
|
19226
|
+
maxWidth: 320,
|
|
19227
|
+
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
19228
|
+
className: hostChip.bad ? `${Market_module_css_default.hostRequirement} ${Market_module_css_default.hostRequirementBad}` : Market_module_css_default.hostRequirement,
|
|
19229
|
+
"data-status": hostChip.status,
|
|
19230
|
+
tabIndex: 0,
|
|
19231
|
+
children: hostChip.label
|
|
17922
19232
|
})
|
|
17923
|
-
|
|
17924
|
-
|
|
17925
|
-
|
|
17926
|
-
const note = notes[name];
|
|
17927
|
-
const authored = authoredDescription(name, entry);
|
|
17928
|
-
const theirs = showTheirs.includes(name);
|
|
17929
|
-
const shown = note !== void 0 && !theirs ? note : authored;
|
|
17930
|
-
return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
17931
|
-
className: `${Market_module_css_default.desc} ${Market_module_css_default.descTight} ${Market_module_css_default.noteRow}`,
|
|
17932
|
-
children: [
|
|
17933
|
-
shown !== "" && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(CardDesc, {
|
|
17934
|
-
text: shown,
|
|
17935
|
-
t,
|
|
17936
|
-
lines: 3,
|
|
17937
|
-
className: Market_module_css_default.irowDesc,
|
|
17938
|
-
textClassName: note !== void 0 && !theirs ? Market_module_css_default.noteMine : void 0
|
|
17939
|
-
}, shown),
|
|
17940
|
-
note !== void 0 && authored !== "" && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("button", {
|
|
19233
|
+
}), notingName !== name && /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
19234
|
+
className: Market_module_css_default.irowNoteActions,
|
|
19235
|
+
children: [note !== void 0 && authored !== "" && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("button", {
|
|
17941
19236
|
type: "button",
|
|
17942
19237
|
className: Market_module_css_default.noteToggle,
|
|
17943
19238
|
title: theirs ? t("noteSeeMine") : t("noteSeeTheirs"),
|
|
17944
19239
|
"aria-label": theirs ? t("noteSeeMine") : t("noteSeeTheirs"),
|
|
17945
19240
|
onClick: () => setShowTheirs((list) => theirs ? list.filter((n) => n !== name) : list.concat(name)),
|
|
17946
19241
|
children: theirs ? t("noteMine") : t("noteTheirs")
|
|
17947
|
-
}),
|
|
17948
|
-
/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("button", {
|
|
19242
|
+
}), /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("button", {
|
|
17949
19243
|
type: "button",
|
|
17950
19244
|
className: Market_module_css_default.noteAdd,
|
|
17951
19245
|
onClick: () => {
|
|
@@ -17953,48 +19247,33 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
17953
19247
|
setNotingName(name);
|
|
17954
19248
|
},
|
|
17955
19249
|
children: [note === void 0 && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(IconPlus, { size: 14 }), note === void 0 ? t("noteAdd") : t("noteEdit")]
|
|
17956
|
-
})
|
|
17957
|
-
]
|
|
17958
|
-
})
|
|
17959
|
-
})
|
|
19250
|
+
})]
|
|
19251
|
+
})]
|
|
19252
|
+
})]
|
|
19253
|
+
}),
|
|
17960
19254
|
(() => {
|
|
17961
|
-
const updatable = isPluginUpdatable(name, String(spec), status, updatedNames);
|
|
17962
19255
|
const exempt = updateExemptSet.has(name);
|
|
17963
|
-
if (!updatable && !exempt) return null;
|
|
17964
19256
|
const ignored = !exempt && bootId !== null && ignoredUpdateSet.has(name);
|
|
17965
|
-
|
|
17966
|
-
|
|
17967
|
-
|
|
17968
|
-
children: "
|
|
17969
|
-
|
|
17970
|
-
|
|
17971
|
-
|
|
17972
|
-
|
|
17973
|
-
|
|
17974
|
-
|
|
17975
|
-
|
|
17976
|
-
className: Market_module_css_default.
|
|
17977
|
-
children:
|
|
17978
|
-
}),
|
|
17979
|
-
|
|
17980
|
-
|
|
17981
|
-
|
|
17982
|
-
onClick: () => openNotes(name, status?.current ?? null, status?.latest ?? null, status?.eligibleVersion ?? null, repoUrl),
|
|
17983
|
-
children: `${t("notesLink")} ›`
|
|
17984
|
-
})]
|
|
17985
|
-
}),
|
|
17986
|
-
updatable && status?.eligibleVersion !== void 0 && status.restoreRequired !== true && status.heldUpdate !== void 0 && status.heldUpdate.latest !== status.eligibleVersion && (() => {
|
|
17987
|
-
const left = Date.parse(status.heldUpdate.until) - Date.now();
|
|
17988
|
-
const known = status.heldUpdate.estimated !== true && Number.isFinite(left) && left > 0;
|
|
17989
|
-
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
17990
|
-
className: Market_module_css_default.irowStatus,
|
|
17991
|
-
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
17992
|
-
className: Market_module_css_default.metaInline,
|
|
17993
|
-
children: t(known ? "updateHeldTarget" : "updateHeldTargetUnknown").replace("{0}", displayLatest(status.heldUpdate.latest)).replace("{1}", String(Math.max(1, Math.ceil(left / 36e5)))).replace("{2}", displayLatest(status.eligibleVersion))
|
|
19257
|
+
if (!exempt && !ignored && !showIncompat) return null;
|
|
19258
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
19259
|
+
className: Market_module_css_default.irowStatusBand,
|
|
19260
|
+
children: [showIncompat && /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
19261
|
+
className: Market_module_css_default.irowIncompat,
|
|
19262
|
+
children: [
|
|
19263
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
19264
|
+
className: Market_module_css_default.irowIncompatTitle,
|
|
19265
|
+
children: t("installedIncompatTitle")
|
|
19266
|
+
}),
|
|
19267
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
19268
|
+
className: Market_module_css_default.irowIncompatBody,
|
|
19269
|
+
children: t("installedIncompatWhy").replace("{0}", compatibility?.requirement ?? t("hostIncompatibleUnknown")).replace("{1}", (typeof hostVersion === "string" ? hostVersion : null) ?? t("hostIncompatibleUnknown"))
|
|
19270
|
+
}),
|
|
19271
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
19272
|
+
className: Market_module_css_default.irowIncompatBody,
|
|
19273
|
+
children: status?.updateAvailable === true ? t("installedIncompatNextUpdate") : compatibility?.status === "incompatible" ? t("installedIncompatNextHost") : t("installedIncompatNextUnknown")
|
|
17994
19274
|
})
|
|
17995
|
-
|
|
17996
|
-
})(),
|
|
17997
|
-
(exempt || ignored) && /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
19275
|
+
]
|
|
19276
|
+
}), (exempt || ignored) && /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
17998
19277
|
className: Market_module_css_default.irowStatus,
|
|
17999
19278
|
children: [
|
|
18000
19279
|
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
@@ -18029,8 +19308,8 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
18029
19308
|
})
|
|
18030
19309
|
})
|
|
18031
19310
|
]
|
|
18032
|
-
})
|
|
18033
|
-
|
|
19311
|
+
})]
|
|
19312
|
+
});
|
|
18034
19313
|
})(),
|
|
18035
19314
|
!off && act !== void 0 && meta !== null && /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
18036
19315
|
className: Market_module_css_default.act,
|
|
@@ -18038,7 +19317,7 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
18038
19317
|
act.library === true ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
18039
19318
|
className: Market_module_css_default.metaTag,
|
|
18040
19319
|
children: meta.label
|
|
18041
|
-
}) : meta.dot !== "done" && /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("span", {
|
|
19320
|
+
}) : meta.dot !== "done" && (localDev || act.state !== "incompatible") && /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("span", {
|
|
18042
19321
|
className: meta.dot === "error" ? Market_module_css_default.actBroken : Market_module_css_default.actWarn,
|
|
18043
19322
|
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.StateDot, {
|
|
18044
19323
|
state: meta.dot,
|
|
@@ -18144,79 +19423,108 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
18144
19423
|
children: t("installReplacement")
|
|
18145
19424
|
})] });
|
|
18146
19425
|
})(),
|
|
18147
|
-
/* @__PURE__ */ (0, react_jsx_runtime.
|
|
19426
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
18148
19427
|
className: Market_module_css_default.irowTrailing,
|
|
18149
|
-
children:
|
|
18150
|
-
|
|
18151
|
-
|
|
18152
|
-
|
|
18153
|
-
|
|
18154
|
-
|
|
18155
|
-
|
|
18156
|
-
|
|
18157
|
-
|
|
18158
|
-
|
|
18159
|
-
|
|
18160
|
-
}) : updatedNames.includes(name) ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
18161
|
-
className: `${Market_module_css_default.metaTag} ${Market_module_css_default.metaTagOk}`,
|
|
18162
|
-
children: act?.library === true ? t("updatedLibrary") : act?.state === "live" ? t("updatedLive") : t("updated")
|
|
18163
|
-
}) : updatingName === name ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.Button, {
|
|
18164
|
-
variant: "outline",
|
|
18165
|
-
size: "sm",
|
|
18166
|
-
className: Market_module_css_default.warnBtn,
|
|
18167
|
-
disabled: true,
|
|
18168
|
-
children: t("updating")
|
|
18169
|
-
}) : status !== void 0 && generation && status.latest != null ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
18170
|
-
className: Market_module_css_default.metaTag,
|
|
18171
|
-
title: t("hostUpdateHint"),
|
|
18172
|
-
children: t("hostUpdateReady").replace("{0}", status.latest)
|
|
18173
|
-
}) : status && status.updateAvailable ? /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(react_jsx_runtime.Fragment, { children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.Button, {
|
|
18174
|
-
variant: "outline",
|
|
18175
|
-
size: "sm",
|
|
18176
|
-
className: Market_module_css_default.warnBtn,
|
|
18177
|
-
disabled: updatingName !== null,
|
|
18178
|
-
onClick: () => {
|
|
18179
|
-
if (status.restoreRequired === true) askRestore(name);
|
|
18180
|
-
else doUpdate(name);
|
|
18181
|
-
},
|
|
18182
|
-
children: status.restoreRequired === true ? t("restoreOnline") : status.eligibleVersion !== void 0 ? `${t("update")} ${displayLatest(status.eligibleVersion)}` : t("update")
|
|
18183
|
-
}), status.heldUpdate !== void 0 && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
18184
|
-
className: Market_module_css_default.metaTag,
|
|
18185
|
-
children: t("updateHeldTag").replace("{0}", displayLatest(status.heldUpdate.latest))
|
|
18186
|
-
})] }) : status?.heldUpdate !== void 0 ? (() => {
|
|
18187
|
-
const left = Date.parse(status.heldUpdate.until) - Date.now();
|
|
18188
|
-
const estimated = status.heldUpdate.estimated === true;
|
|
18189
|
-
const amount = String(Math.max(1, Math.ceil(left / (estimated ? 6e4 : 36e5))));
|
|
18190
|
-
const hint = t(estimated ? "updateHeldEstimatedHint" : "updateHeldHint").replace("{1}", amount);
|
|
18191
|
-
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
19428
|
+
children: /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("span", {
|
|
19429
|
+
className: Market_module_css_default.irowTrailingRow,
|
|
19430
|
+
children: [
|
|
19431
|
+
!missing && status?.sourceMigration !== void 0 && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.Button, {
|
|
19432
|
+
variant: "outline",
|
|
19433
|
+
size: "sm",
|
|
19434
|
+
disabled: updatingName !== null || removingName !== null || busyUrl !== null,
|
|
19435
|
+
onClick: () => askSourceMigration(name),
|
|
19436
|
+
children: status.sourceMigration.kind === "npm-rename" ? t("renameRowAction") : t("migrateNpm")
|
|
19437
|
+
}),
|
|
19438
|
+
missing ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
18192
19439
|
className: Market_module_css_default.metaTag,
|
|
18193
|
-
|
|
18194
|
-
|
|
18195
|
-
|
|
18196
|
-
|
|
18197
|
-
|
|
18198
|
-
|
|
18199
|
-
|
|
18200
|
-
|
|
18201
|
-
|
|
18202
|
-
|
|
18203
|
-
|
|
18204
|
-
|
|
18205
|
-
|
|
18206
|
-
|
|
18207
|
-
|
|
18208
|
-
|
|
18209
|
-
|
|
18210
|
-
|
|
18211
|
-
|
|
18212
|
-
|
|
18213
|
-
|
|
18214
|
-
|
|
18215
|
-
|
|
18216
|
-
|
|
18217
|
-
|
|
18218
|
-
|
|
18219
|
-
|
|
19440
|
+
children: t("notInstalled")
|
|
19441
|
+
}) : updatedNames.includes(name) ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
19442
|
+
className: `${Market_module_css_default.metaTag} ${Market_module_css_default.metaTagOk}`,
|
|
19443
|
+
children: act?.library === true ? t("updatedLibrary") : act?.state === "live" ? t("updatedLive") : t("updated")
|
|
19444
|
+
}) : updatingName === name ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.Button, {
|
|
19445
|
+
variant: "outline",
|
|
19446
|
+
size: "sm",
|
|
19447
|
+
className: Market_module_css_default.irowUpdateBtn,
|
|
19448
|
+
disabled: true,
|
|
19449
|
+
children: t("updating")
|
|
19450
|
+
}) : status !== void 0 && generation && status.latest != null ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
19451
|
+
className: Market_module_css_default.metaTag,
|
|
19452
|
+
title: t("hostUpdateHint"),
|
|
19453
|
+
children: t("hostUpdateReady").replace("{0}", status.latest)
|
|
19454
|
+
}) : status?.profileBlocked !== void 0 && status.updateAvailable !== true ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.Tooltip, {
|
|
19455
|
+
label: profileBlockedText(status.profileBlocked, t),
|
|
19456
|
+
side: "top",
|
|
19457
|
+
delayMs: HOVER_TIP_DELAY_MS,
|
|
19458
|
+
portal: true,
|
|
19459
|
+
maxWidth: 280,
|
|
19460
|
+
children: /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("span", {
|
|
19461
|
+
className: Market_module_css_default.irowTrailingHint,
|
|
19462
|
+
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(IconClock, { size: 12 }), t("profileBlockedBeside")]
|
|
19463
|
+
})
|
|
19464
|
+
}) : status && status.updateAvailable ? (() => {
|
|
19465
|
+
const held = status.heldUpdate !== void 0 ? heldUpdateBeside(status.heldUpdate, t) : null;
|
|
19466
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(react_jsx_runtime.Fragment, { children: [held !== null && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.Tooltip, {
|
|
19467
|
+
label: held.title,
|
|
19468
|
+
side: "top",
|
|
19469
|
+
delayMs: HOVER_TIP_DELAY_MS,
|
|
19470
|
+
portal: true,
|
|
19471
|
+
maxWidth: 280,
|
|
19472
|
+
children: /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("span", {
|
|
19473
|
+
className: Market_module_css_default.irowTrailingHint,
|
|
19474
|
+
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(IconClock, { size: 12 }), held.label]
|
|
19475
|
+
})
|
|
19476
|
+
}), /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.Button, {
|
|
19477
|
+
variant: "outline",
|
|
19478
|
+
size: "sm",
|
|
19479
|
+
className: Market_module_css_default.irowUpdateBtn,
|
|
19480
|
+
disabled: updatingName !== null,
|
|
19481
|
+
onClick: () => {
|
|
19482
|
+
if (status.restoreRequired === true) askRestore(name);
|
|
19483
|
+
else doUpdate(name);
|
|
19484
|
+
},
|
|
19485
|
+
children: status.restoreRequired === true ? t("restoreOnline") : (() => {
|
|
19486
|
+
const target = status.eligibleVersion ?? status.latest;
|
|
19487
|
+
return target != null && target !== "" ? `${t("update")} ${displayLatest(target)}` : t("update");
|
|
19488
|
+
})()
|
|
19489
|
+
})] });
|
|
19490
|
+
})() : status?.heldUpdate !== void 0 ? (() => {
|
|
19491
|
+
const held = heldUpdateBeside(status.heldUpdate, t);
|
|
19492
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.Tooltip, {
|
|
19493
|
+
label: held.title,
|
|
19494
|
+
side: "top",
|
|
19495
|
+
delayMs: HOVER_TIP_DELAY_MS,
|
|
19496
|
+
portal: true,
|
|
19497
|
+
maxWidth: 280,
|
|
19498
|
+
children: /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("span", {
|
|
19499
|
+
className: Market_module_css_default.irowTrailingHint,
|
|
19500
|
+
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(IconClock, { size: 12 }), held.label]
|
|
19501
|
+
})
|
|
19502
|
+
});
|
|
19503
|
+
})() : localDev ? null : status?.unreleasedCommit != null ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
19504
|
+
className: Market_module_css_default.metaTag,
|
|
19505
|
+
title: t("unreleasedCommitsHint"),
|
|
19506
|
+
children: t("unreleasedCommits").replace("{0}", displayLatest(status.unreleasedCommit))
|
|
19507
|
+
}) : status?.newerPrerelease !== void 0 ? /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(react_jsx_runtime.Fragment, { children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
19508
|
+
className: Market_module_css_default.metaTag,
|
|
19509
|
+
title: t("newerPrereleaseHint"),
|
|
19510
|
+
children: t("newerPrereleaseAvailable").replace("{0}", status.newerPrerelease)
|
|
19511
|
+
}), /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.Button, {
|
|
19512
|
+
variant: "outline",
|
|
19513
|
+
size: "sm",
|
|
19514
|
+
disabled: updatingName !== null || removingName !== null || busyUrl !== null,
|
|
19515
|
+
onClick: () => doUpdate(name, false, false, status.newerPrerelease),
|
|
19516
|
+
children: t("install")
|
|
19517
|
+
})] }) : updateCheck.failed === null || updateCheck.failed.has(name) ? null : /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
19518
|
+
className: Market_module_css_default.metaTag,
|
|
19519
|
+
title: t("upToDate"),
|
|
19520
|
+
children: t("upToDate")
|
|
19521
|
+
}),
|
|
19522
|
+
removingName === name && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
19523
|
+
className: Market_module_css_default.metaTag,
|
|
19524
|
+
children: t("uninstalling")
|
|
19525
|
+
})
|
|
19526
|
+
]
|
|
19527
|
+
})
|
|
18220
19528
|
})
|
|
18221
19529
|
]
|
|
18222
19530
|
})]
|
|
@@ -18577,7 +19885,7 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
18577
19885
|
commentsFor !== null && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(CommentsModal, {
|
|
18578
19886
|
name: pluginName(commentsFor.name, commentsFor.npm),
|
|
18579
19887
|
url: commentsFor.url,
|
|
18580
|
-
lang,
|
|
19888
|
+
lang: uiLocale,
|
|
18581
19889
|
onClose: () => setCommentsFor(null),
|
|
18582
19890
|
t
|
|
18583
19891
|
}, commentsFor.url),
|
|
@@ -18749,8 +20057,8 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
18749
20057
|
}),
|
|
18750
20058
|
notesFor !== null && /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(_deepseek_ai_dsh_client_ui_primitives.Modal, {
|
|
18751
20059
|
open: true,
|
|
18752
|
-
onClose:
|
|
18753
|
-
className: notesState === "ready" && updateNotes?.kind === "release" ? Market_module_css_default.notesModalWide : void 0,
|
|
20060
|
+
onClose: closeNotes,
|
|
20061
|
+
className: notesState === "ready" && (updateNotes?.kind === "release" || (updateNotes?.history?.items.length ?? 0) > 0) ? Market_module_css_default.notesModalWide : void 0,
|
|
18754
20062
|
title: notesFor.repoUrl !== null ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)("a", {
|
|
18755
20063
|
className: Market_module_css_default.nameLink,
|
|
18756
20064
|
href: notesFor.repoUrl + "#readme",
|
|
@@ -18760,7 +20068,7 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
18760
20068
|
}) : notesFor.name,
|
|
18761
20069
|
footer: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.Button, {
|
|
18762
20070
|
variant: "ghost",
|
|
18763
|
-
onClick:
|
|
20071
|
+
onClick: closeNotes,
|
|
18764
20072
|
children: t("gotIt")
|
|
18765
20073
|
}),
|
|
18766
20074
|
children: [
|
|
@@ -18792,130 +20100,14 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
18792
20100
|
className: Market_module_css_default.spec,
|
|
18793
20101
|
children: t("notesLoadFail")
|
|
18794
20102
|
}),
|
|
18795
|
-
notesState === "ready" && updateNotes !== null &&
|
|
18796
|
-
|
|
18797
|
-
|
|
18798
|
-
|
|
18799
|
-
|
|
18800
|
-
|
|
18801
|
-
|
|
18802
|
-
|
|
18803
|
-
updateNotes.release.publishedAt !== null && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", { children: " · " + updateNotes.release.publishedAt.slice(0, 10) })
|
|
18804
|
-
]
|
|
18805
|
-
}),
|
|
18806
|
-
updateNotes.beyondTarget !== void 0 && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
18807
|
-
className: Market_module_css_default.notesMeta,
|
|
18808
|
-
children: t("notesBeyondTarget").replace("{0}", updateNotes.release.tag ?? "").replace("{1}", updateNotes.beyondTarget)
|
|
18809
|
-
}),
|
|
18810
|
-
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
18811
|
-
className: Market_module_css_default.notesRendered,
|
|
18812
|
-
children: renderMarkdown(updateNotes.release.body || t("notesNone"))
|
|
18813
|
-
}),
|
|
18814
|
-
updateNotes.commits !== void 0 && updateNotes.commits.items.length > 0 && /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(react_jsx_runtime.Fragment, { children: [
|
|
18815
|
-
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
18816
|
-
className: Market_module_css_default.notesMeta,
|
|
18817
|
-
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)("strong", { children: t("notesCommits") })
|
|
18818
|
-
}),
|
|
18819
|
-
!updateNotes.commits.found && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
18820
|
-
className: Market_module_css_default.notesMeta,
|
|
18821
|
-
children: t("notesCommitsRecent")
|
|
18822
|
-
}),
|
|
18823
|
-
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("ul", {
|
|
18824
|
-
className: Market_module_css_default.notesList,
|
|
18825
|
-
children: updateNotes.commits.items.map((c) => /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("li", {
|
|
18826
|
-
className: Market_module_css_default.notesRow,
|
|
18827
|
-
children: [
|
|
18828
|
-
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
18829
|
-
className: Market_module_css_default.notesDate,
|
|
18830
|
-
children: c.date !== null ? c.date.slice(0, 10) : ""
|
|
18831
|
-
}),
|
|
18832
|
-
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
18833
|
-
className: Market_module_css_default.notesMsg,
|
|
18834
|
-
children: mdInline(c.message)
|
|
18835
|
-
}),
|
|
18836
|
-
notesFor.repoUrl !== null && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("a", {
|
|
18837
|
-
className: Market_module_css_default.notesSha,
|
|
18838
|
-
href: notesFor.repoUrl + "/commit/" + c.sha,
|
|
18839
|
-
target: "_blank",
|
|
18840
|
-
rel: "noreferrer",
|
|
18841
|
-
title: c.message,
|
|
18842
|
-
children: c.sha.slice(0, 7)
|
|
18843
|
-
})
|
|
18844
|
-
]
|
|
18845
|
-
}, c.sha))
|
|
18846
|
-
})
|
|
18847
|
-
] })
|
|
18848
|
-
]
|
|
18849
|
-
}) : updateNotes.kind === "commits" ? /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
18850
|
-
className: Market_module_css_default.notesBody,
|
|
18851
|
-
children: [
|
|
18852
|
-
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
18853
|
-
className: Market_module_css_default.notesMeta,
|
|
18854
|
-
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)("strong", { children: t("notesCommits") })
|
|
18855
|
-
}),
|
|
18856
|
-
!updateNotes.commits.found && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
18857
|
-
className: Market_module_css_default.notesMeta,
|
|
18858
|
-
children: t("notesCommitsRecent")
|
|
18859
|
-
}),
|
|
18860
|
-
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("ul", {
|
|
18861
|
-
className: Market_module_css_default.notesList,
|
|
18862
|
-
children: updateNotes.commits.items.map((c) => /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("li", {
|
|
18863
|
-
className: Market_module_css_default.notesRow,
|
|
18864
|
-
children: [
|
|
18865
|
-
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
18866
|
-
className: Market_module_css_default.notesDate,
|
|
18867
|
-
children: c.date !== null ? c.date.slice(0, 10) : ""
|
|
18868
|
-
}),
|
|
18869
|
-
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
18870
|
-
className: Market_module_css_default.notesMsg,
|
|
18871
|
-
children: mdInline(c.message)
|
|
18872
|
-
}),
|
|
18873
|
-
notesFor.repoUrl !== null && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("a", {
|
|
18874
|
-
className: Market_module_css_default.notesSha,
|
|
18875
|
-
href: notesFor.repoUrl + "/commit/" + c.sha,
|
|
18876
|
-
target: "_blank",
|
|
18877
|
-
rel: "noreferrer",
|
|
18878
|
-
title: c.message,
|
|
18879
|
-
children: c.sha.slice(0, 7)
|
|
18880
|
-
})
|
|
18881
|
-
]
|
|
18882
|
-
}, c.sha))
|
|
18883
|
-
})
|
|
18884
|
-
]
|
|
18885
|
-
}) : updateNotes.kind === "npm" ? /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
18886
|
-
className: Market_module_css_default.notesBody,
|
|
18887
|
-
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
18888
|
-
className: Market_module_css_default.notesMeta,
|
|
18889
|
-
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)("strong", { children: t("notesNpm") })
|
|
18890
|
-
}), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("ul", {
|
|
18891
|
-
className: Market_module_css_default.notesList,
|
|
18892
|
-
children: updateNotes.npmTimes.map((v) => /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("li", {
|
|
18893
|
-
className: Market_module_css_default.notesRow,
|
|
18894
|
-
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
18895
|
-
className: Market_module_css_default.notesDate,
|
|
18896
|
-
children: v.date.slice(0, 10)
|
|
18897
|
-
}), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("a", {
|
|
18898
|
-
className: Market_module_css_default.notesVer,
|
|
18899
|
-
href: `https://www.npmjs.com/package/${encodeURIComponent(notesFor.name)}/v/${encodeURIComponent(v.version)}`,
|
|
18900
|
-
target: "_blank",
|
|
18901
|
-
rel: "noreferrer",
|
|
18902
|
-
children: v.version
|
|
18903
|
-
})]
|
|
18904
|
-
}, v.version))
|
|
18905
|
-
})]
|
|
18906
|
-
}) : updateNotes.kind === "source" ? /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
18907
|
-
className: Market_module_css_default.spec,
|
|
18908
|
-
children: [t(updateNotes.reason === "unavailable" ? "notesLoadFail" : updateNotes.reason === "unreadable" ? "notesSourceUnreadable" : "notesSource"), typeof updateNotes.sourceUrl === "string" && /^https?:\/\//i.test(updateNotes.sourceUrl) ? /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(react_jsx_runtime.Fragment, { children: [lang === "zh" ? "" : " ", /* @__PURE__ */ (0, react_jsx_runtime.jsx)("a", {
|
|
18909
|
-
className: Market_module_css_default.notesSourceLink,
|
|
18910
|
-
href: updateNotes.sourceUrl,
|
|
18911
|
-
target: "_blank",
|
|
18912
|
-
rel: "noreferrer",
|
|
18913
|
-
children: t("notesSourceLink")
|
|
18914
|
-
})] }) : updateNotes.reason !== "unavailable" && /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(react_jsx_runtime.Fragment, { children: [lang === "zh" ? "" : " ", t("notesSourceNoLink")] })]
|
|
18915
|
-
}) : /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
18916
|
-
className: Market_module_css_default.spec,
|
|
18917
|
-
children: t("notesNone")
|
|
18918
|
-
}))
|
|
20103
|
+
notesState === "ready" && updateNotes !== null && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(UpdateNotesContent, {
|
|
20104
|
+
notes: updateNotes,
|
|
20105
|
+
name: notesFor.name,
|
|
20106
|
+
target: notesFor.target ?? notesFor.latest,
|
|
20107
|
+
repoUrl: notesFor.repoUrl,
|
|
20108
|
+
t,
|
|
20109
|
+
lang
|
|
20110
|
+
})
|
|
18919
20111
|
]
|
|
18920
20112
|
}),
|
|
18921
20113
|
restoreConfirmOpen && pendingBackup !== null && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.Modal, {
|
|
@@ -19004,9 +20196,9 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
19004
20196
|
className: Market_module_css_default.backupCheck,
|
|
19005
20197
|
onChange: setExportIncludeConfig
|
|
19006
20198
|
}),
|
|
19007
|
-
exportIncludeConfig && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("p", {
|
|
20199
|
+
(exportAllSelected || exportIncludeConfig) && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("p", {
|
|
19008
20200
|
className: Market_module_css_default.backupWarn,
|
|
19009
|
-
children: t("
|
|
20201
|
+
children: t("gistConfigWarning")
|
|
19010
20202
|
}),
|
|
19011
20203
|
exportError !== null && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("p", {
|
|
19012
20204
|
className: Market_module_css_default.backupWarn,
|
|
@@ -19406,9 +20598,12 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
19406
20598
|
return {
|
|
19407
20599
|
updateAvailable: own.updateAvailable === true,
|
|
19408
20600
|
latest: own.latest ?? null,
|
|
20601
|
+
eligibleVersion: own.eligibleVersion ?? null,
|
|
20602
|
+
heldUpdate: own.heldUpdate ?? null,
|
|
19409
20603
|
channelSwitch: own.channelSwitch ?? null,
|
|
19410
20604
|
restoreRequired: own.restoreRequired === true,
|
|
19411
|
-
hostManaged: own.kind === "generation"
|
|
20605
|
+
hostManaged: own.kind === "generation",
|
|
20606
|
+
profileBlocked: own.profileBlocked ?? null
|
|
19412
20607
|
};
|
|
19413
20608
|
}
|
|
19414
20609
|
/**
|
|
@@ -19425,7 +20620,8 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
19425
20620
|
storage.removeItem(key);
|
|
19426
20621
|
} catch {}
|
|
19427
20622
|
}
|
|
19428
|
-
function SettingsCard({ t, onRemoved, sidebar, entries }) {
|
|
20623
|
+
function SettingsCard({ t, locale, onRemoved, sidebar, entries }) {
|
|
20624
|
+
const activeLocale = (0, react.useSyncExternalStore)((listener) => locale?.subscribe(listener) ?? (() => {}), () => locale?.getSnapshot().active ?? "en");
|
|
19429
20625
|
const [open, setOpen] = (0, react.useState)(false);
|
|
19430
20626
|
const [advancedOpen, setAdvancedOpen] = (0, react.useState)(false);
|
|
19431
20627
|
const advancedId = (0, react.useId)();
|
|
@@ -19462,7 +20658,7 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
19462
20658
|
const notificationSnapshot = useUpdateNotifications();
|
|
19463
20659
|
(0, react.useEffect)(() => {
|
|
19464
20660
|
if (!notificationSnapshot.loaded) return;
|
|
19465
|
-
const own = notificationSnapshot.updates["dsh-crate"];
|
|
20661
|
+
const own = notificationSnapshot.updates["dsh-crate"] ?? notificationSnapshot.updates["dsh-crate"];
|
|
19466
20662
|
setUpdate(own === void 0 ? null : readUpdate(own));
|
|
19467
20663
|
}, [notificationSnapshot.updates, notificationSnapshot.loaded]);
|
|
19468
20664
|
const [phase, setPhase] = (0, react.useState)("idle");
|
|
@@ -19536,6 +20732,7 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
19536
20732
|
const body = await post(api("/dsh-crate/update"), {
|
|
19537
20733
|
name: "dsh-crate",
|
|
19538
20734
|
...update?.restoreRequired === true ? { restore: true } : {},
|
|
20735
|
+
...update?.eligibleVersion != null ? { eligibleVersion: update.eligibleVersion } : {},
|
|
19539
20736
|
...force ? { force: true } : {}
|
|
19540
20737
|
});
|
|
19541
20738
|
if (body.ok === true) setPhase("updated");
|
|
@@ -19552,6 +20749,7 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
19552
20749
|
}, [
|
|
19553
20750
|
post,
|
|
19554
20751
|
t,
|
|
20752
|
+
update?.eligibleVersion,
|
|
19555
20753
|
update?.restoreRequired
|
|
19556
20754
|
]);
|
|
19557
20755
|
const onRemove = (0, react.useCallback)(() => {
|
|
@@ -19583,7 +20781,9 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
19583
20781
|
t
|
|
19584
20782
|
]);
|
|
19585
20783
|
const busy = phase === "working";
|
|
19586
|
-
const
|
|
20784
|
+
const checkStale = notificationSnapshot.loaded && notificationSnapshot.stale;
|
|
20785
|
+
const checkFailed = checkStale && notificationSnapshot.error !== null;
|
|
20786
|
+
const pluginListChanged = checkStale && !checkFailed;
|
|
19587
20787
|
const version = status?.version ?? null;
|
|
19588
20788
|
const prerelease = version !== null && version.includes("-");
|
|
19589
20789
|
/** Re-ask what this channel offers; the previous answer was for another one. */
|
|
@@ -19794,7 +20994,10 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
19794
20994
|
id: advancedId,
|
|
19795
20995
|
className: Market_module_css_default.setAdvancedBody
|
|
19796
20996
|
}, entryRows.map((node, index) => (0, react.createElement)(react.Fragment, { key: index }, node))) : null) : null;
|
|
19797
|
-
const
|
|
20997
|
+
const offeredVersion = update?.eligibleVersion ?? update?.latest ?? null;
|
|
20998
|
+
const held = update?.heldUpdate;
|
|
20999
|
+
const heldVersionText = held != null && typeof held.latest === "string" && held.latest !== "" && (update?.updateAvailable !== true || held.latest !== offeredVersion) ? marketHeldVersionText(held, activeLocale, t) : null;
|
|
21000
|
+
const body = phase === "removed" ? row(t("setSelfRemoved"), t("setSelfRemovedHint"), null) : (0, react.createElement)(react.Fragment, null, advanced, row(t("setIndexSource"), t("setIndexSourceHint"), null), status?.selfManaged === true ? row((update?.updateAvailable === true || update?.hostManaged === true) && offeredVersion !== null ? `${t("setSelfUpdateReady")} ${offeredVersion}` : update?.channelSwitch != null ? `${t("setChannelSwitch")} ${update.channelSwitch}` : checkFailed ? t("updateChecksFailed") : pluginListChanged ? t("updateChecksChanged") : update?.profileBlocked != null || heldVersionText !== null ? t("setSelfUpdateWaiting") : update === null ? t("updateChecksPending") : t("setSelfUpToDate"), phase === "updated" ? t("setSelfUpdatedHint") : update?.channelSwitch != null ? t("setChannelSwitchHint") : update?.updateAvailable === true ? [t("setSelfUpdateHint"), heldVersionText].filter(Boolean).join(" · ") : update?.hostManaged === true && update.latest !== null ? t("setSelfHostManagedHint") : checkFailed ? t("updateChecksFailedHint") : pluginListChanged ? t("updateChecksChangedHint") : update?.profileBlocked != null ? profileBlockedText(update.profileBlocked, t) : heldVersionText ?? t("setSelfUpToDateHint"), phase === "updated" ? null : update?.updateAvailable === true ? (0, react.createElement)(_deepseek_ai_dsh_client_ui_primitives.Button, {
|
|
19798
21001
|
variant: "primary",
|
|
19799
21002
|
size: "sm",
|
|
19800
21003
|
disabled: busy,
|
|
@@ -20483,7 +21686,7 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
20483
21686
|
//#region src/client/index.ts
|
|
20484
21687
|
/**
|
|
20485
21688
|
* dsh-crate client: registers a "Market" settings section rendering the
|
|
20486
|
-
*
|
|
21689
|
+
* Plugin Crate UI, plus the post-install toast in the shell overlay layer.
|
|
20487
21690
|
* Built by tsdown into the __ModuleLoader__ factory bundle at
|
|
20488
21691
|
* client/client.js; the only externals are the loader module table's react
|
|
20489
21692
|
* entries.
|
|
@@ -20532,7 +21735,7 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
20532
21735
|
try {
|
|
20533
21736
|
mountMarket(ctx);
|
|
20534
21737
|
} catch (error) {
|
|
20535
|
-
console.error("[dsh-crate] mounting failed, so the market is missing for this session. The rest of the app is unaffected. Report at https://github.com/crate/dsh-crate/issues with this line and the stack below:", error);
|
|
21738
|
+
console.error("[dsh-crate] mounting failed, so the market is missing for this session. The rest of the app is unaffected. Report at https://github.com/dsh-crate/dsh-crate/issues with this line and the stack below:", error);
|
|
20536
21739
|
}
|
|
20537
21740
|
}
|
|
20538
21741
|
/**
|
|
@@ -20608,10 +21811,14 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
20608
21811
|
label: () => t("nav"),
|
|
20609
21812
|
locale: NS,
|
|
20610
21813
|
inject: () => ({ t })
|
|
20611
|
-
}, (ownerProps = {}) =>
|
|
21814
|
+
}, (ownerProps = {}) => (0, react.createElement)(SettingsNoticeFrame, {
|
|
21815
|
+
t,
|
|
21816
|
+
entries,
|
|
21817
|
+
hostNavigation
|
|
21818
|
+
}, buildMarketElement({
|
|
20612
21819
|
...ownerProps,
|
|
20613
21820
|
surface: "settings"
|
|
20614
|
-
}));
|
|
21821
|
+
})));
|
|
20615
21822
|
return typeof off === "function" ? off : () => {};
|
|
20616
21823
|
}),
|
|
20617
21824
|
pluginsTabGate: createSectionGate(() => {
|
|
@@ -20674,9 +21881,14 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
20674
21881
|
layout = scoped.layout;
|
|
20675
21882
|
});
|
|
20676
21883
|
ctx.inject(["pluginNavigation"], (scoped) => {
|
|
20677
|
-
hostNavigation.attach({
|
|
20678
|
-
|
|
20679
|
-
|
|
21884
|
+
hostNavigation.attach({
|
|
21885
|
+
openBundle: (name) => {
|
|
21886
|
+
scoped.pluginNavigation.openBundle(name);
|
|
21887
|
+
},
|
|
21888
|
+
...typeof scoped.pluginNavigation.openList === "function" ? { openList: () => {
|
|
21889
|
+
scoped.pluginNavigation.openList?.();
|
|
21890
|
+
} } : {}
|
|
21891
|
+
});
|
|
20680
21892
|
});
|
|
20681
21893
|
const retire = () => {
|
|
20682
21894
|
entries.retire();
|
|
@@ -20709,6 +21921,7 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
20709
21921
|
inject: () => ({ t })
|
|
20710
21922
|
}, () => (0, react.createElement)(SettingsCard, {
|
|
20711
21923
|
t,
|
|
21924
|
+
locale: ctx.locale,
|
|
20712
21925
|
sidebar,
|
|
20713
21926
|
entries,
|
|
20714
21927
|
onRemoved: retire
|
|
@@ -20722,6 +21935,7 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
20722
21935
|
inject: () => ({ t })
|
|
20723
21936
|
}, (ownerProps = {}) => ownerProps.view === "summary" ? null : (0, react.createElement)(SettingsCard, {
|
|
20724
21937
|
t,
|
|
21938
|
+
locale: ctx.locale,
|
|
20725
21939
|
sidebar,
|
|
20726
21940
|
entries,
|
|
20727
21941
|
onRemoved: retire
|
|
@@ -20736,6 +21950,7 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
20736
21950
|
inject: () => ({ t })
|
|
20737
21951
|
}, () => (0, react.createElement)(SettingsCard, {
|
|
20738
21952
|
t,
|
|
21953
|
+
locale: ctx.locale,
|
|
20739
21954
|
sidebar,
|
|
20740
21955
|
entries,
|
|
20741
21956
|
onRemoved: retire
|