ai_co_discuss 0.2.77 → 0.2.79
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/.agents/skills/discuss-host/SKILL.md +1 -1
- package/.agents/skills/discuss-participant/references/free.md +1 -1
- package/backend/free_room.py +29 -0
- package/backend/schema.sql +8 -0
- package/backend/server.py +7 -2
- package/docs/runner.md +2 -0
- package/docs/workflow.md +2 -0
- package/package.json +1 -1
- package/runner/api_participant.mjs +4 -2
- package/runner/discussion_launch.mjs +3 -1
- package/runner/discussion_runner.mjs +4 -3
- package/runner/expert_prompts.mjs +25 -0
- package/runner/free_runner.mjs +7 -5
- package/runner/scheduler.mjs +12 -5
- package/web/app.js +57 -2
- package/web/modern.css +1 -1
- package/web/modern.js +1045 -670
package/web/modern.js
CHANGED
|
@@ -5938,7 +5938,7 @@ var mf = {
|
|
|
5938
5938
|
}), gf = !1;
|
|
5939
5939
|
function _f(e) {
|
|
5940
5940
|
if (gf) return;
|
|
5941
|
-
let t = JSON.parse("[{\"prefix\":\"lucide\",\"icons\":{\"archive\":{\"width\":24,\"height\":24,\"body\":\"<g fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\"><rect width=\\\"20\\\" height=\\\"5\\\" x=\\\"2\\\" y=\\\"3\\\" rx=\\\"1\\\"/><path d=\\\"M4 8v11a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8m-10 4h4\\\"/></g>\"},\"archive-restore\":{\"width\":24,\"height\":24,\"body\":\"<g fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\"><rect width=\\\"20\\\" height=\\\"5\\\" x=\\\"2\\\" y=\\\"3\\\" rx=\\\"1\\\"/><path d=\\\"M4 8v11a2 2 0 0 0 2 2h2M20 8v11a2 2 0 0 1-2 2h-2m-7-6l3-3l3 3m-3-3v9\\\"/></g>\"},\"arrow-down\":{\"width\":24,\"height\":24,\"body\":\"<path fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\" d=\\\"M12 5v14m7-7l-7 7l-7-7\\\"/>\"},\"arrow-left\":{\"width\":24,\"height\":24,\"body\":\"<path fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\" d=\\\"m12 19l-7-7l7-7m7 7H5\\\"/>\"},\"arrow-left-right\":{\"width\":24,\"height\":24,\"body\":\"<path fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\" d=\\\"M8 3L4 7l4 4M4 7h16m-4 14l4-4l-4-4m4 4H4\\\"/>\"},\"arrow-right\":{\"width\":24,\"height\":24,\"body\":\"<path fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\" d=\\\"M5 12h14m-7-7l7 7l-7 7\\\"/>\"},\"arrow-up\":{\"width\":24,\"height\":24,\"body\":\"<path fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\" d=\\\"m5 12l7-7l7 7m-7 7V5\\\"/>\"},\"arrow-up-right\":{\"width\":24,\"height\":24,\"body\":\"<path fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\" d=\\\"M7 7h10v10M7 17L17 7\\\"/>\"},\"at-sign\":{\"width\":24,\"height\":24,\"body\":\"<g fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\"><circle cx=\\\"12\\\" cy=\\\"12\\\" r=\\\"4\\\"/><path d=\\\"M16 8v5a3 3 0 0 0 6 0v-1a10 10 0 1 0-4 8\\\"/></g>\"},\"check\":{\"width\":24,\"height\":24,\"body\":\"<path fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\" d=\\\"M20 6L9 17l-5-5\\\"/>\"},\"check-check\":{\"width\":24,\"height\":24,\"body\":\"<path fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\" d=\\\"M18 6L7 17l-5-5m20-2l-7.5 7.5L13 16\\\"/>\"},\"chevron-down\":{\"width\":24,\"height\":24,\"body\":\"<path fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\" d=\\\"m6 9l6 6l6-6\\\"/>\"},\"chevron-left\":{\"width\":24,\"height\":24,\"body\":\"<path fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\" d=\\\"m15 18l-6-6l6-6\\\"/>\"},\"chevron-right\":{\"width\":24,\"height\":24,\"body\":\"<path fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\" d=\\\"m9 18l6-6l-6-6\\\"/>\"},\"chevron-up\":{\"width\":24,\"height\":24,\"body\":\"<path fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\" d=\\\"m18 15l-6-6l-6 6\\\"/>\"},\"chevrons-left\":{\"width\":24,\"height\":24,\"body\":\"<path fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\" d=\\\"m11 17l-5-5l5-5m7 10l-5-5l5-5\\\"/>\"},\"chevrons-right\":{\"width\":24,\"height\":24,\"body\":\"<path fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\" d=\\\"m6 17l5-5l-5-5m7 10l5-5l-5-5\\\"/>\"},\"chevrons-up-down\":{\"width\":24,\"height\":24,\"body\":\"<path fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\" d=\\\"m7 15l5 5l5-5M7 9l5-5l5 5\\\"/>\"},\"circle-alert\":{\"width\":24,\"height\":24,\"body\":\"<g fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\"><circle cx=\\\"12\\\" cy=\\\"12\\\" r=\\\"10\\\"/><path d=\\\"M12 8v4m0 4h.01\\\"/></g>\"},\"circle-check\":{\"width\":24,\"height\":24,\"body\":\"<g fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\"><circle cx=\\\"12\\\" cy=\\\"12\\\" r=\\\"10\\\"/><path d=\\\"m16 9l-5.5 5.5L8 12\\\"/></g>\"},\"circle-slash\":{\"width\":24,\"height\":24,\"body\":\"<g fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\"><circle cx=\\\"12\\\" cy=\\\"12\\\" r=\\\"10\\\"/><path d=\\\"m9 15l6-6\\\"/></g>\"},\"circle-x\":{\"width\":24,\"height\":24,\"body\":\"<g fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\"><circle cx=\\\"12\\\" cy=\\\"12\\\" r=\\\"10\\\"/><path d=\\\"m15 9l-6 6m0-6l6 6\\\"/></g>\"},\"clock\":{\"width\":24,\"height\":24,\"body\":\"<g fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\"><circle cx=\\\"12\\\" cy=\\\"12\\\" r=\\\"10\\\"/><path d=\\\"M12 6v6l4 2\\\"/></g>\"},\"copy\":{\"width\":24,\"height\":24,\"body\":\"<g fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\"><rect width=\\\"14\\\" height=\\\"14\\\" x=\\\"8\\\" y=\\\"8\\\" rx=\\\"2\\\" ry=\\\"2\\\"/><path d=\\\"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2\\\"/></g>\"},\"copy-check\":{\"width\":24,\"height\":24,\"body\":\"<g fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\"><path d=\\\"m12 15l2 2l4-4\\\"/><rect width=\\\"14\\\" height=\\\"14\\\" x=\\\"8\\\" y=\\\"8\\\" rx=\\\"2\\\" ry=\\\"2\\\"/><path d=\\\"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2\\\"/></g>\"},\"corner-down-left\":{\"width\":24,\"height\":24,\"body\":\"<g fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\"><path d=\\\"M20 4v7a4 4 0 0 1-4 4H4\\\"/><path d=\\\"m9 10l-5 5l5 5\\\"/></g>\"},\"corner-up-left\":{\"width\":24,\"height\":24,\"body\":\"<g fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\"><path d=\\\"M20 20v-7a4 4 0 0 0-4-4H4\\\"/><path d=\\\"M9 14L4 9l5-5\\\"/></g>\"},\"crown\":{\"width\":24,\"height\":24,\"body\":\"<path fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\" d=\\\"M11.562 3.266a.5.5 0 0 1 .876 0L15.39 8.87a1 1 0 0 0 1.516.294L21.183 5.5a.5.5 0 0 1 .798.519l-2.834 10.246a1 1 0 0 1-.956.734H5.81a1 1 0 0 1-.957-.734L2.02 6.02a.5.5 0 0 1 .798-.519l4.276 3.664a1 1 0 0 0 1.516-.294zM5 21h14\\\"/>\"},\"download\":{\"width\":24,\"height\":24,\"body\":\"<g fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\"><path d=\\\"M12 15V3m9 12v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4\\\"/><path d=\\\"m7 10l5 5l5-5\\\"/></g>\"},\"ellipsis\":{\"width\":24,\"height\":24,\"body\":\"<g fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\"><circle cx=\\\"12\\\" cy=\\\"12\\\" r=\\\"1\\\"/><circle cx=\\\"19\\\" cy=\\\"12\\\" r=\\\"1\\\"/><circle cx=\\\"5\\\" cy=\\\"12\\\" r=\\\"1\\\"/></g>\"},\"expand\":{\"width\":24,\"height\":24,\"body\":\"<path fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\" d=\\\"m15 15l6 6M15 9l6-6m0 13v5h-5m5-13V3h-5M3 16v5h5m-5 0l6-6M3 8V3h5m1 6L3 3\\\"/>\"},\"eye\":{\"width\":24,\"height\":24,\"body\":\"<g fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\"><path d=\\\"M2.062 12.348a1 1 0 0 1 0-.696a10.75 10.75 0 0 1 19.876 0a1 1 0 0 1 0 .696a10.75 10.75 0 0 1-19.876 0\\\"/><circle cx=\\\"12\\\" cy=\\\"12\\\" r=\\\"3\\\"/></g>\"},\"eye-off\":{\"width\":24,\"height\":24,\"body\":\"<g fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\"><path d=\\\"M10.733 5.076a10.744 10.744 0 0 1 11.205 6.575a1 1 0 0 1 0 .696a10.8 10.8 0 0 1-1.444 2.49m-6.41-.679a3 3 0 0 1-4.242-4.242\\\"/><path d=\\\"M17.479 17.499a10.75 10.75 0 0 1-15.417-5.151a1 1 0 0 1 0-.696a10.75 10.75 0 0 1 4.446-5.143M2 2l20 20\\\"/></g>\"},\"file\":{\"width\":24,\"height\":24,\"body\":\"<g fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\"><path d=\\\"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z\\\"/><path d=\\\"M14 2v5a1 1 0 0 0 1 1h5\\\"/></g>\"},\"file-text\":{\"width\":24,\"height\":24,\"body\":\"<g fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\"><path d=\\\"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z\\\"/><path d=\\\"M14 2v5a1 1 0 0 0 1 1h5M10 9H8m8 4H8m8 4H8\\\"/></g>\"},\"flag\":{\"width\":24,\"height\":24,\"body\":\"<path fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\" d=\\\"M4 22V4a1 1 0 0 1 .4-.8A6 6 0 0 1 8 2c3 0 5 2 7.333 2q2 0 3.067-.8A1 1 0 0 1 20 4v10a1 1 0 0 1-.4.8A6 6 0 0 1 16 16c-3 0-5-2-8-2a6 6 0 0 0-4 1.528\\\"/>\"},\"folder\":{\"width\":24,\"height\":24,\"body\":\"<path fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\" d=\\\"M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z\\\"/>\"},\"folder-input\":{\"width\":24,\"height\":24,\"body\":\"<g fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\"><path d=\\\"M2 9V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H20a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2v-1m0-4h10\\\"/><path d=\\\"m9 16l3-3l-3-3\\\"/></g>\"},\"folder-minus\":{\"width\":24,\"height\":24,\"body\":\"<path fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\" d=\\\"M9 13h6m5 7a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z\\\"/>\"},\"folder-open\":{\"width\":24,\"height\":24,\"body\":\"<path fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\" d=\\\"m6 14l1.5-2.9A2 2 0 0 1 9.24 10H20a2 2 0 0 1 1.94 2.5l-1.54 6a2 2 0 0 1-1.95 1.5H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H18a2 2 0 0 1 2 2v2\\\"/>\"},\"folder-search\":{\"width\":24,\"height\":24,\"body\":\"<g fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\"><path d=\\\"M10.7 20H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H20a2 2 0 0 1 2 2v4.1M21 21l-1.9-1.9\\\"/><circle cx=\\\"17\\\" cy=\\\"17\\\" r=\\\"3\\\"/></g>\"},\"forward\":{\"width\":24,\"height\":24,\"body\":\"<g fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\"><path d=\\\"m15 17l5-5l-5-5\\\"/><path d=\\\"M4 18v-2a4 4 0 0 1 4-4h12\\\"/></g>\"},\"globe\":{\"width\":24,\"height\":24,\"body\":\"<g fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\"><circle cx=\\\"12\\\" cy=\\\"12\\\" r=\\\"10\\\"/><path d=\\\"M12 2a14.5 14.5 0 0 0 0 20a14.5 14.5 0 0 0 0-20M2 12h20\\\"/></g>\"},\"grip-vertical\":{\"width\":24,\"height\":24,\"body\":\"<g fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\"><circle cx=\\\"9\\\" cy=\\\"12\\\" r=\\\"1\\\"/><circle cx=\\\"9\\\" cy=\\\"5\\\" r=\\\"1\\\"/><circle cx=\\\"9\\\" cy=\\\"19\\\" r=\\\"1\\\"/><circle cx=\\\"15\\\" cy=\\\"12\\\" r=\\\"1\\\"/><circle cx=\\\"15\\\" cy=\\\"5\\\" r=\\\"1\\\"/><circle cx=\\\"15\\\" cy=\\\"19\\\" r=\\\"1\\\"/></g>\"},\"hash\":{\"width\":24,\"height\":24,\"body\":\"<path fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\" d=\\\"M4 9h16M4 15h16M10 3L8 21m8-18l-2 18\\\"/>\"},\"image-up\":{\"width\":24,\"height\":24,\"body\":\"<g fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\"><path d=\\\"M10.3 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2v10l-3.1-3.1a2 2 0 0 0-2.814.014L6 21\\\"/><path d=\\\"m14 19.5l3-3l3 3M17 22v-5.5\\\"/><circle cx=\\\"9\\\" cy=\\\"9\\\" r=\\\"2\\\"/></g>\"},\"infinity\":{\"width\":24,\"height\":24,\"body\":\"<path fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\" d=\\\"M6 16c5 0 7-8 12-8a4 4 0 0 1 0 8c-5 0-7-8-12-8a4 4 0 1 0 0 8\\\"/>\"},\"info\":{\"width\":24,\"height\":24,\"body\":\"<g fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\"><circle cx=\\\"12\\\" cy=\\\"12\\\" r=\\\"10\\\"/><path d=\\\"M12 16v-4m0-4h.01\\\"/></g>\"},\"key-round\":{\"width\":24,\"height\":24,\"body\":\"<g fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\"><path d=\\\"M2.586 17.414A2 2 0 0 0 2 18.828V21a1 1 0 0 0 1 1h3a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1h1a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1h.172a2 2 0 0 0 1.414-.586l.814-.814a6.5 6.5 0 1 0-4-4z\\\"/><circle cx=\\\"16.5\\\" cy=\\\"7.5\\\" r=\\\".5\\\" fill=\\\"currentColor\\\"/></g>\"},\"lightbulb\":{\"width\":24,\"height\":24,\"body\":\"<path fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\" d=\\\"M15 14c.2-1 .7-1.7 1.5-2.5c1-.9 1.5-2.2 1.5-3.5A6 6 0 0 0 6 8c0 1 .2 2.2 1.5 3.5c.7.7 1.3 1.5 1.5 2.5m0 4h6m-5 4h4\\\"/>\"},\"link\":{\"width\":24,\"height\":24,\"body\":\"<g fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\"><path d=\\\"M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71\\\"/><path d=\\\"M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71\\\"/></g>\"},\"list-checks\":{\"width\":24,\"height\":24,\"body\":\"<path fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\" d=\\\"M13 5h8m-8 7h8m-8 7h8M3 17l2 2l4-4M3 7l2 2l4-4\\\"/>\"},\"list-filter\":{\"width\":24,\"height\":24,\"body\":\"<path fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\" d=\\\"M2 5h20M6 12h12m-9 7h6\\\"/>\"},\"list-ordered\":{\"width\":24,\"height\":24,\"body\":\"<path fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\" d=\\\"M11 5h10m-10 7h10m-10 7h10M4 4h1v5M4 9h2m.5 11H3.4c0-1 2.6-1.925 2.6-3.5a1.5 1.5 0 0 0-2.6-1.02\\\"/>\"},\"loader-circle\":{\"width\":24,\"height\":24,\"body\":\"<path fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\" d=\\\"M21 12a9 9 0 1 1-6.219-8.56\\\"/>\"},\"log-in\":{\"width\":24,\"height\":24,\"body\":\"<path fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\" d=\\\"m10 17l5-5l-5-5m5 5H3m12-9h4a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-4\\\"/>\"},\"log-out\":{\"width\":24,\"height\":24,\"body\":\"<path fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\" d=\\\"m16 17l5-5l-5-5m5 5H9m0 9H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4\\\"/>\"},\"menu\":{\"width\":24,\"height\":24,\"body\":\"<path fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\" d=\\\"M4 5h16M4 12h16M4 19h16\\\"/>\"},\"message-square\":{\"width\":24,\"height\":24,\"body\":\"<path fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\" d=\\\"M22 17a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 21.286V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2z\\\"/>\"},\"message-square-plus\":{\"width\":24,\"height\":24,\"body\":\"<path fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\" d=\\\"M22 17a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 21.286V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2zM12 8v6m-3-3h6\\\"/>\"},\"messages-square\":{\"width\":24,\"height\":24,\"body\":\"<path fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\" d=\\\"M16 10a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 14.286V4a2 2 0 0 1 2-2h10a2 2 0 0 1 2 2zm4-1a2 2 0 0 1 2 2v10.286a.71.71 0 0 1-1.212.502l-2.202-2.202A2 2 0 0 0 17.172 19H10a2 2 0 0 1-2-2v-1\\\"/>\"},\"minus\":{\"width\":24,\"height\":24,\"body\":\"<path fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\" d=\\\"M5 12h14\\\"/>\"},\"monitor\":{\"width\":24,\"height\":24,\"body\":\"<g fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\"><rect width=\\\"20\\\" height=\\\"14\\\" x=\\\"2\\\" y=\\\"3\\\" rx=\\\"2\\\"/><path d=\\\"M8 21h8m-4-4v4\\\"/></g>\"},\"moon\":{\"width\":24,\"height\":24,\"body\":\"<path fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\" d=\\\"M20.985 12.486a9 9 0 1 1-9.473-9.472c.405-.022.617.46.402.803a6 6 0 0 0 8.268 8.268c.344-.215.825-.004.803.401\\\"/>\"},\"panel-left\":{\"width\":24,\"height\":24,\"body\":\"<g fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\"><rect width=\\\"18\\\" height=\\\"18\\\" x=\\\"3\\\" y=\\\"3\\\" rx=\\\"2\\\"/><path d=\\\"M9 3v18\\\"/></g>\"},\"panel-left-close\":{\"width\":24,\"height\":24,\"body\":\"<g fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\"><rect width=\\\"18\\\" height=\\\"18\\\" x=\\\"3\\\" y=\\\"3\\\" rx=\\\"2\\\"/><path d=\\\"M9 3v18m7-6l-3-3l3-3\\\"/></g>\"},\"panel-left-open\":{\"width\":24,\"height\":24,\"body\":\"<g fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\"><rect width=\\\"18\\\" height=\\\"18\\\" x=\\\"3\\\" y=\\\"3\\\" rx=\\\"2\\\"/><path d=\\\"M9 3v18m5-12l3 3l-3 3\\\"/></g>\"},\"panel-right\":{\"width\":24,\"height\":24,\"body\":\"<g fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\"><rect width=\\\"18\\\" height=\\\"18\\\" x=\\\"3\\\" y=\\\"3\\\" rx=\\\"2\\\"/><path d=\\\"M15 3v18\\\"/></g>\"},\"paperclip\":{\"width\":24,\"height\":24,\"body\":\"<path fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\" d=\\\"m16 6l-8.414 8.586a2 2 0 0 0 2.829 2.829l8.414-8.586a4 4 0 1 0-5.657-5.657l-8.379 8.551a6 6 0 1 0 8.485 8.485l8.379-8.551\\\"/>\"},\"pause\":{\"width\":24,\"height\":24,\"body\":\"<g fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\"><rect width=\\\"5\\\" height=\\\"18\\\" x=\\\"14\\\" y=\\\"3\\\" rx=\\\"1\\\"/><rect width=\\\"5\\\" height=\\\"18\\\" x=\\\"5\\\" y=\\\"3\\\" rx=\\\"1\\\"/></g>\"},\"pencil\":{\"width\":24,\"height\":24,\"body\":\"<path fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\" d=\\\"M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497zM15 5l4 4\\\"/>\"},\"play\":{\"width\":24,\"height\":24,\"body\":\"<path fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\" d=\\\"M5 5a2 2 0 0 1 3.008-1.728l11.997 6.998a2 2 0 0 1 .003 3.458l-12 7A2 2 0 0 1 5 19z\\\"/>\"},\"plug\":{\"width\":24,\"height\":24,\"body\":\"<path fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\" d=\\\"M12 22v-5m3-9V2m2 6a1 1 0 0 1 1 1v4a4 4 0 0 1-4 4h-4a4 4 0 0 1-4-4V9a1 1 0 0 1 1-1zM9 8V2\\\"/>\"},\"plug-zap\":{\"width\":24,\"height\":24,\"body\":\"<path fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\" d=\\\"M6.3 20.3a2.4 2.4 0 0 0 3.4 0L12 18l-6-6l-2.3 2.3a2.4 2.4 0 0 0 0 3.4ZM2 22l3-3m2.5-5.5L10 11m.5 5.5L13 14m5-11l-4 4h6l-4 4\\\"/>\"},\"plus\":{\"width\":24,\"height\":24,\"body\":\"<path fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\" d=\\\"M5 12h14m-7-7v14\\\"/>\"},\"refresh-cw\":{\"width\":24,\"height\":24,\"body\":\"<g fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\"><path d=\\\"M3 12a9 9 0 0 1 9-9a9.75 9.75 0 0 1 6.74 2.74L21 8\\\"/><path d=\\\"M21 3v5h-5m5 4a9 9 0 0 1-9 9a9.75 9.75 0 0 1-6.74-2.74L3 16\\\"/><path d=\\\"M8 16H3v5\\\"/></g>\"},\"rocket\":{\"width\":24,\"height\":24,\"body\":\"<g fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\"><path d=\\\"M12 15v5s3.03-.55 4-2c1.08-1.62 0-5 0-5M4.5 16.5c-1.5 1.26-2 5-2 5s3.74-.5 5-2c.71-.84.7-2.13-.09-2.91a2.18 2.18 0 0 0-2.91-.09\\\"/><path d=\\\"M9 12a22 22 0 0 1 2-3.95A12.88 12.88 0 0 1 22 2c0 2.72-.78 7.5-6 11a22.4 22.4 0 0 1-4 2z\\\"/><path d=\\\"M9 12H4s.55-3.03 2-4c1.62-1.08 5 .05 5 .05\\\"/></g>\"},\"rotate-ccw\":{\"width\":24,\"height\":24,\"body\":\"<g fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\"><path d=\\\"M3 12a9 9 0 1 0 9-9a9.75 9.75 0 0 0-6.74 2.74L3 8\\\"/><path d=\\\"M3 3v5h5\\\"/></g>\"},\"search\":{\"width\":24,\"height\":24,\"body\":\"<g fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\"><path d=\\\"m21 21l-4.34-4.34\\\"/><circle cx=\\\"11\\\" cy=\\\"11\\\" r=\\\"8\\\"/></g>\"},\"send\":{\"width\":24,\"height\":24,\"body\":\"<path fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\" d=\\\"M14.536 21.686a.5.5 0 0 0 .937-.024l6.5-19a.496.496 0 0 0-.635-.635l-19 6.5a.5.5 0 0 0-.024.937l7.93 3.18a2 2 0 0 1 1.112 1.11zm7.318-19.539l-10.94 10.939\\\"/>\"},\"settings-2\":{\"width\":24,\"height\":24,\"body\":\"<g fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\"><path d=\\\"M14 17H5M19 7h-9\\\"/><circle cx=\\\"17\\\" cy=\\\"17\\\" r=\\\"3\\\"/><circle cx=\\\"7\\\" cy=\\\"7\\\" r=\\\"3\\\"/></g>\"},\"skip-forward\":{\"width\":24,\"height\":24,\"body\":\"<path fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\" d=\\\"M21 4v16M6.029 4.285A2 2 0 0 0 3 6v12a2 2 0 0 0 3.029 1.715l9.997-5.998a2 2 0 0 0 .003-3.432z\\\"/>\"},\"square\":{\"width\":24,\"height\":24,\"body\":\"<rect width=\\\"18\\\" height=\\\"18\\\" x=\\\"3\\\" y=\\\"3\\\" fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\" rx=\\\"2\\\"/>\"},\"square-pen\":{\"width\":24,\"height\":24,\"body\":\"<g fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\"><path d=\\\"M12 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7\\\"/><path d=\\\"M18.375 2.625a1 1 0 0 1 3 3l-9.013 9.014a2 2 0 0 1-.853.505l-2.873.84a.5.5 0 0 1-.62-.62l.84-2.873a2 2 0 0 1 .506-.852z\\\"/></g>\"},\"star\":{\"width\":24,\"height\":24,\"body\":\"<path fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\" d=\\\"M11.525 2.295a.53.53 0 0 1 .95 0l2.31 4.679a2.12 2.12 0 0 0 1.595 1.16l5.166.756a.53.53 0 0 1 .294.904l-3.736 3.638a2.12 2.12 0 0 0-.611 1.878l.882 5.14a.53.53 0 0 1-.771.56l-4.618-2.428a2.12 2.12 0 0 0-1.973 0L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.12 2.12 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.12 2.12 0 0 0 1.597-1.16z\\\"/>\"},\"sun\":{\"width\":24,\"height\":24,\"body\":\"<g fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\"><circle cx=\\\"12\\\" cy=\\\"12\\\" r=\\\"4\\\"/><path d=\\\"M12 2v2m0 16v2M4.93 4.93l1.41 1.41m11.32 11.32l1.41 1.41M2 12h2m16 0h2M6.34 17.66l-1.41 1.41M19.07 4.93l-1.41 1.41\\\"/></g>\"},\"target\":{\"width\":24,\"height\":24,\"body\":\"<g fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\"><circle cx=\\\"12\\\" cy=\\\"12\\\" r=\\\"10\\\"/><circle cx=\\\"12\\\" cy=\\\"12\\\" r=\\\"6\\\"/><circle cx=\\\"12\\\" cy=\\\"12\\\" r=\\\"2\\\"/></g>\"},\"thumbs-down\":{\"width\":24,\"height\":24,\"body\":\"<path fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\" d=\\\"M9 18.12L10 14H4.17a2 2 0 0 1-1.92-2.56l2.33-8A2 2 0 0 1 6.5 2H20a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2h-2.76a2 2 0 0 0-1.79 1.11L12 22a3.13 3.13 0 0 1-3-3.88M17 14V2\\\"/>\"},\"thumbs-up\":{\"width\":24,\"height\":24,\"body\":\"<path fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\" d=\\\"M15 5.88L14 10h5.83a2 2 0 0 1 1.92 2.56l-2.33 8A2 2 0 0 1 17.5 22H4a2 2 0 0 1-2-2v-8a2 2 0 0 1 2-2h2.76a2 2 0 0 0 1.79-1.11L12 2a3.13 3.13 0 0 1 3 3.88M7 10v12\\\"/>\"},\"trash-2\":{\"width\":24,\"height\":24,\"body\":\"<path fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\" d=\\\"M10 11v6m4-6v6m5-11v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6M3 6h18M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2\\\"/>\"},\"triangle-alert\":{\"width\":24,\"height\":24,\"body\":\"<path fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\" d=\\\"m21.73 18l-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3M12 9v4m0 4h.01\\\"/>\"},\"upload\":{\"width\":24,\"height\":24,\"body\":\"<path fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\" d=\\\"M12 3v12m5-7l-5-5l-5 5m14 7v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4\\\"/>\"},\"user-plus\":{\"width\":24,\"height\":24,\"body\":\"<g fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\"><path d=\\\"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2\\\"/><circle cx=\\\"9\\\" cy=\\\"7\\\" r=\\\"4\\\"/><path d=\\\"M19 8v6m3-3h-6\\\"/></g>\"},\"user-round-x\":{\"width\":24,\"height\":24,\"body\":\"<g fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\"><path d=\\\"m16.5 16.5l5 5M2 21a8 8 0 0 1 11.531-7.18M21.5 16.5l-5 5\\\"/><circle cx=\\\"10\\\" cy=\\\"8\\\" r=\\\"5\\\"/></g>\"},\"users\":{\"width\":24,\"height\":24,\"body\":\"<g fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\"><path d=\\\"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2M16 3.128a4 4 0 0 1 0 7.744M22 21v-2a4 4 0 0 0-3-3.87\\\"/><circle cx=\\\"9\\\" cy=\\\"7\\\" r=\\\"4\\\"/></g>\"},\"x\":{\"width\":24,\"height\":24,\"body\":\"<path fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\" d=\\\"M18 6L6 18M6 6l12 12\\\"/>\"},\"zap\":{\"width\":24,\"height\":24,\"body\":\"<path fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\" d=\\\"M15.914 4a1.5 1.5 0 0 0-2.474-1.561l-9 9A1.5 1.5 0 0 0 5.5 14h4.002a.5.5 0 0 1 .471.666L8.086 20a1.5 1.5 0 0 0 2.475 1.56l9-9A1.5 1.5 0 0 0 18.5 10h-3.997a.5.5 0 0 1-.472-.667z\\\"/>\"}}}]");
|
|
5941
|
+
let t = JSON.parse("[{\"prefix\":\"lucide\",\"icons\":{\"archive\":{\"width\":24,\"height\":24,\"body\":\"<g fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\"><rect width=\\\"20\\\" height=\\\"5\\\" x=\\\"2\\\" y=\\\"3\\\" rx=\\\"1\\\"/><path d=\\\"M4 8v11a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8m-10 4h4\\\"/></g>\"},\"archive-restore\":{\"width\":24,\"height\":24,\"body\":\"<g fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\"><rect width=\\\"20\\\" height=\\\"5\\\" x=\\\"2\\\" y=\\\"3\\\" rx=\\\"1\\\"/><path d=\\\"M4 8v11a2 2 0 0 0 2 2h2M20 8v11a2 2 0 0 1-2 2h-2m-7-6l3-3l3 3m-3-3v9\\\"/></g>\"},\"arrow-down\":{\"width\":24,\"height\":24,\"body\":\"<path fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\" d=\\\"M12 5v14m7-7l-7 7l-7-7\\\"/>\"},\"arrow-left\":{\"width\":24,\"height\":24,\"body\":\"<path fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\" d=\\\"m12 19l-7-7l7-7m7 7H5\\\"/>\"},\"arrow-left-right\":{\"width\":24,\"height\":24,\"body\":\"<path fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\" d=\\\"M8 3L4 7l4 4M4 7h16m-4 14l4-4l-4-4m4 4H4\\\"/>\"},\"arrow-right\":{\"width\":24,\"height\":24,\"body\":\"<path fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\" d=\\\"M5 12h14m-7-7l7 7l-7 7\\\"/>\"},\"arrow-up\":{\"width\":24,\"height\":24,\"body\":\"<path fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\" d=\\\"m5 12l7-7l7 7m-7 7V5\\\"/>\"},\"arrow-up-right\":{\"width\":24,\"height\":24,\"body\":\"<path fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\" d=\\\"M7 7h10v10M7 17L17 7\\\"/>\"},\"at-sign\":{\"width\":24,\"height\":24,\"body\":\"<g fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\"><circle cx=\\\"12\\\" cy=\\\"12\\\" r=\\\"4\\\"/><path d=\\\"M16 8v5a3 3 0 0 0 6 0v-1a10 10 0 1 0-4 8\\\"/></g>\"},\"bookmark\":{\"width\":24,\"height\":24,\"body\":\"<path fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\" d=\\\"M17 3a2 2 0 0 1 2 2v15a1 1 0 0 1-1.496.868l-4.512-2.578a2 2 0 0 0-1.984 0l-4.512 2.578A1 1 0 0 1 5 20V5a2 2 0 0 1 2-2z\\\"/>\"},\"check\":{\"width\":24,\"height\":24,\"body\":\"<path fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\" d=\\\"M20 6L9 17l-5-5\\\"/>\"},\"check-check\":{\"width\":24,\"height\":24,\"body\":\"<path fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\" d=\\\"M18 6L7 17l-5-5m20-2l-7.5 7.5L13 16\\\"/>\"},\"chevron-down\":{\"width\":24,\"height\":24,\"body\":\"<path fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\" d=\\\"m6 9l6 6l6-6\\\"/>\"},\"chevron-left\":{\"width\":24,\"height\":24,\"body\":\"<path fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\" d=\\\"m15 18l-6-6l6-6\\\"/>\"},\"chevron-right\":{\"width\":24,\"height\":24,\"body\":\"<path fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\" d=\\\"m9 18l6-6l-6-6\\\"/>\"},\"chevron-up\":{\"width\":24,\"height\":24,\"body\":\"<path fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\" d=\\\"m18 15l-6-6l-6 6\\\"/>\"},\"chevrons-left\":{\"width\":24,\"height\":24,\"body\":\"<path fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\" d=\\\"m11 17l-5-5l5-5m7 10l-5-5l5-5\\\"/>\"},\"chevrons-right\":{\"width\":24,\"height\":24,\"body\":\"<path fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\" d=\\\"m6 17l5-5l-5-5m7 10l5-5l-5-5\\\"/>\"},\"chevrons-up-down\":{\"width\":24,\"height\":24,\"body\":\"<path fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\" d=\\\"m7 15l5 5l5-5M7 9l5-5l5 5\\\"/>\"},\"circle-alert\":{\"width\":24,\"height\":24,\"body\":\"<g fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\"><circle cx=\\\"12\\\" cy=\\\"12\\\" r=\\\"10\\\"/><path d=\\\"M12 8v4m0 4h.01\\\"/></g>\"},\"circle-check\":{\"width\":24,\"height\":24,\"body\":\"<g fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\"><circle cx=\\\"12\\\" cy=\\\"12\\\" r=\\\"10\\\"/><path d=\\\"m16 9l-5.5 5.5L8 12\\\"/></g>\"},\"circle-slash\":{\"width\":24,\"height\":24,\"body\":\"<g fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\"><circle cx=\\\"12\\\" cy=\\\"12\\\" r=\\\"10\\\"/><path d=\\\"m9 15l6-6\\\"/></g>\"},\"circle-x\":{\"width\":24,\"height\":24,\"body\":\"<g fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\"><circle cx=\\\"12\\\" cy=\\\"12\\\" r=\\\"10\\\"/><path d=\\\"m15 9l-6 6m0-6l6 6\\\"/></g>\"},\"clock\":{\"width\":24,\"height\":24,\"body\":\"<g fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\"><circle cx=\\\"12\\\" cy=\\\"12\\\" r=\\\"10\\\"/><path d=\\\"M12 6v6l4 2\\\"/></g>\"},\"copy\":{\"width\":24,\"height\":24,\"body\":\"<g fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\"><rect width=\\\"14\\\" height=\\\"14\\\" x=\\\"8\\\" y=\\\"8\\\" rx=\\\"2\\\" ry=\\\"2\\\"/><path d=\\\"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2\\\"/></g>\"},\"copy-check\":{\"width\":24,\"height\":24,\"body\":\"<g fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\"><path d=\\\"m12 15l2 2l4-4\\\"/><rect width=\\\"14\\\" height=\\\"14\\\" x=\\\"8\\\" y=\\\"8\\\" rx=\\\"2\\\" ry=\\\"2\\\"/><path d=\\\"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2\\\"/></g>\"},\"corner-down-left\":{\"width\":24,\"height\":24,\"body\":\"<g fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\"><path d=\\\"M20 4v7a4 4 0 0 1-4 4H4\\\"/><path d=\\\"m9 10l-5 5l5 5\\\"/></g>\"},\"corner-up-left\":{\"width\":24,\"height\":24,\"body\":\"<g fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\"><path d=\\\"M20 20v-7a4 4 0 0 0-4-4H4\\\"/><path d=\\\"M9 14L4 9l5-5\\\"/></g>\"},\"crown\":{\"width\":24,\"height\":24,\"body\":\"<path fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\" d=\\\"M11.562 3.266a.5.5 0 0 1 .876 0L15.39 8.87a1 1 0 0 0 1.516.294L21.183 5.5a.5.5 0 0 1 .798.519l-2.834 10.246a1 1 0 0 1-.956.734H5.81a1 1 0 0 1-.957-.734L2.02 6.02a.5.5 0 0 1 .798-.519l4.276 3.664a1 1 0 0 0 1.516-.294zM5 21h14\\\"/>\"},\"download\":{\"width\":24,\"height\":24,\"body\":\"<g fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\"><path d=\\\"M12 15V3m9 12v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4\\\"/><path d=\\\"m7 10l5 5l5-5\\\"/></g>\"},\"ellipsis\":{\"width\":24,\"height\":24,\"body\":\"<g fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\"><circle cx=\\\"12\\\" cy=\\\"12\\\" r=\\\"1\\\"/><circle cx=\\\"19\\\" cy=\\\"12\\\" r=\\\"1\\\"/><circle cx=\\\"5\\\" cy=\\\"12\\\" r=\\\"1\\\"/></g>\"},\"expand\":{\"width\":24,\"height\":24,\"body\":\"<path fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\" d=\\\"m15 15l6 6M15 9l6-6m0 13v5h-5m5-13V3h-5M3 16v5h5m-5 0l6-6M3 8V3h5m1 6L3 3\\\"/>\"},\"eye\":{\"width\":24,\"height\":24,\"body\":\"<g fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\"><path d=\\\"M2.062 12.348a1 1 0 0 1 0-.696a10.75 10.75 0 0 1 19.876 0a1 1 0 0 1 0 .696a10.75 10.75 0 0 1-19.876 0\\\"/><circle cx=\\\"12\\\" cy=\\\"12\\\" r=\\\"3\\\"/></g>\"},\"eye-off\":{\"width\":24,\"height\":24,\"body\":\"<g fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\"><path d=\\\"M10.733 5.076a10.744 10.744 0 0 1 11.205 6.575a1 1 0 0 1 0 .696a10.8 10.8 0 0 1-1.444 2.49m-6.41-.679a3 3 0 0 1-4.242-4.242\\\"/><path d=\\\"M17.479 17.499a10.75 10.75 0 0 1-15.417-5.151a1 1 0 0 1 0-.696a10.75 10.75 0 0 1 4.446-5.143M2 2l20 20\\\"/></g>\"},\"file\":{\"width\":24,\"height\":24,\"body\":\"<g fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\"><path d=\\\"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z\\\"/><path d=\\\"M14 2v5a1 1 0 0 0 1 1h5\\\"/></g>\"},\"file-text\":{\"width\":24,\"height\":24,\"body\":\"<g fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\"><path d=\\\"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z\\\"/><path d=\\\"M14 2v5a1 1 0 0 0 1 1h5M10 9H8m8 4H8m8 4H8\\\"/></g>\"},\"flag\":{\"width\":24,\"height\":24,\"body\":\"<path fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\" d=\\\"M4 22V4a1 1 0 0 1 .4-.8A6 6 0 0 1 8 2c3 0 5 2 7.333 2q2 0 3.067-.8A1 1 0 0 1 20 4v10a1 1 0 0 1-.4.8A6 6 0 0 1 16 16c-3 0-5-2-8-2a6 6 0 0 0-4 1.528\\\"/>\"},\"folder\":{\"width\":24,\"height\":24,\"body\":\"<path fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\" d=\\\"M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z\\\"/>\"},\"folder-input\":{\"width\":24,\"height\":24,\"body\":\"<g fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\"><path d=\\\"M2 9V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H20a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2v-1m0-4h10\\\"/><path d=\\\"m9 16l3-3l-3-3\\\"/></g>\"},\"folder-minus\":{\"width\":24,\"height\":24,\"body\":\"<path fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\" d=\\\"M9 13h6m5 7a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z\\\"/>\"},\"folder-open\":{\"width\":24,\"height\":24,\"body\":\"<path fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\" d=\\\"m6 14l1.5-2.9A2 2 0 0 1 9.24 10H20a2 2 0 0 1 1.94 2.5l-1.54 6a2 2 0 0 1-1.95 1.5H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H18a2 2 0 0 1 2 2v2\\\"/>\"},\"folder-search\":{\"width\":24,\"height\":24,\"body\":\"<g fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\"><path d=\\\"M10.7 20H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H20a2 2 0 0 1 2 2v4.1M21 21l-1.9-1.9\\\"/><circle cx=\\\"17\\\" cy=\\\"17\\\" r=\\\"3\\\"/></g>\"},\"forward\":{\"width\":24,\"height\":24,\"body\":\"<g fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\"><path d=\\\"m15 17l5-5l-5-5\\\"/><path d=\\\"M4 18v-2a4 4 0 0 1 4-4h12\\\"/></g>\"},\"globe\":{\"width\":24,\"height\":24,\"body\":\"<g fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\"><circle cx=\\\"12\\\" cy=\\\"12\\\" r=\\\"10\\\"/><path d=\\\"M12 2a14.5 14.5 0 0 0 0 20a14.5 14.5 0 0 0 0-20M2 12h20\\\"/></g>\"},\"grip-vertical\":{\"width\":24,\"height\":24,\"body\":\"<g fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\"><circle cx=\\\"9\\\" cy=\\\"12\\\" r=\\\"1\\\"/><circle cx=\\\"9\\\" cy=\\\"5\\\" r=\\\"1\\\"/><circle cx=\\\"9\\\" cy=\\\"19\\\" r=\\\"1\\\"/><circle cx=\\\"15\\\" cy=\\\"12\\\" r=\\\"1\\\"/><circle cx=\\\"15\\\" cy=\\\"5\\\" r=\\\"1\\\"/><circle cx=\\\"15\\\" cy=\\\"19\\\" r=\\\"1\\\"/></g>\"},\"hash\":{\"width\":24,\"height\":24,\"body\":\"<path fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\" d=\\\"M4 9h16M4 15h16M10 3L8 21m8-18l-2 18\\\"/>\"},\"image-up\":{\"width\":24,\"height\":24,\"body\":\"<g fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\"><path d=\\\"M10.3 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2v10l-3.1-3.1a2 2 0 0 0-2.814.014L6 21\\\"/><path d=\\\"m14 19.5l3-3l3 3M17 22v-5.5\\\"/><circle cx=\\\"9\\\" cy=\\\"9\\\" r=\\\"2\\\"/></g>\"},\"infinity\":{\"width\":24,\"height\":24,\"body\":\"<path fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\" d=\\\"M6 16c5 0 7-8 12-8a4 4 0 0 1 0 8c-5 0-7-8-12-8a4 4 0 1 0 0 8\\\"/>\"},\"info\":{\"width\":24,\"height\":24,\"body\":\"<g fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\"><circle cx=\\\"12\\\" cy=\\\"12\\\" r=\\\"10\\\"/><path d=\\\"M12 16v-4m0-4h.01\\\"/></g>\"},\"key-round\":{\"width\":24,\"height\":24,\"body\":\"<g fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\"><path d=\\\"M2.586 17.414A2 2 0 0 0 2 18.828V21a1 1 0 0 0 1 1h3a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1h1a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1h.172a2 2 0 0 0 1.414-.586l.814-.814a6.5 6.5 0 1 0-4-4z\\\"/><circle cx=\\\"16.5\\\" cy=\\\"7.5\\\" r=\\\".5\\\" fill=\\\"currentColor\\\"/></g>\"},\"lightbulb\":{\"width\":24,\"height\":24,\"body\":\"<path fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\" d=\\\"M15 14c.2-1 .7-1.7 1.5-2.5c1-.9 1.5-2.2 1.5-3.5A6 6 0 0 0 6 8c0 1 .2 2.2 1.5 3.5c.7.7 1.3 1.5 1.5 2.5m0 4h6m-5 4h4\\\"/>\"},\"link\":{\"width\":24,\"height\":24,\"body\":\"<g fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\"><path d=\\\"M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71\\\"/><path d=\\\"M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71\\\"/></g>\"},\"list-checks\":{\"width\":24,\"height\":24,\"body\":\"<path fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\" d=\\\"M13 5h8m-8 7h8m-8 7h8M3 17l2 2l4-4M3 7l2 2l4-4\\\"/>\"},\"list-filter\":{\"width\":24,\"height\":24,\"body\":\"<path fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\" d=\\\"M2 5h20M6 12h12m-9 7h6\\\"/>\"},\"list-ordered\":{\"width\":24,\"height\":24,\"body\":\"<path fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\" d=\\\"M11 5h10m-10 7h10m-10 7h10M4 4h1v5M4 9h2m.5 11H3.4c0-1 2.6-1.925 2.6-3.5a1.5 1.5 0 0 0-2.6-1.02\\\"/>\"},\"loader-circle\":{\"width\":24,\"height\":24,\"body\":\"<path fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\" d=\\\"M21 12a9 9 0 1 1-6.219-8.56\\\"/>\"},\"log-in\":{\"width\":24,\"height\":24,\"body\":\"<path fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\" d=\\\"m10 17l5-5l-5-5m5 5H3m12-9h4a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-4\\\"/>\"},\"log-out\":{\"width\":24,\"height\":24,\"body\":\"<path fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\" d=\\\"m16 17l5-5l-5-5m5 5H9m0 9H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4\\\"/>\"},\"menu\":{\"width\":24,\"height\":24,\"body\":\"<path fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\" d=\\\"M4 5h16M4 12h16M4 19h16\\\"/>\"},\"message-square\":{\"width\":24,\"height\":24,\"body\":\"<path fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\" d=\\\"M22 17a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 21.286V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2z\\\"/>\"},\"message-square-plus\":{\"width\":24,\"height\":24,\"body\":\"<path fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\" d=\\\"M22 17a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 21.286V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2zM12 8v6m-3-3h6\\\"/>\"},\"messages-square\":{\"width\":24,\"height\":24,\"body\":\"<path fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\" d=\\\"M16 10a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 14.286V4a2 2 0 0 1 2-2h10a2 2 0 0 1 2 2zm4-1a2 2 0 0 1 2 2v10.286a.71.71 0 0 1-1.212.502l-2.202-2.202A2 2 0 0 0 17.172 19H10a2 2 0 0 1-2-2v-1\\\"/>\"},\"minus\":{\"width\":24,\"height\":24,\"body\":\"<path fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\" d=\\\"M5 12h14\\\"/>\"},\"monitor\":{\"width\":24,\"height\":24,\"body\":\"<g fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\"><rect width=\\\"20\\\" height=\\\"14\\\" x=\\\"2\\\" y=\\\"3\\\" rx=\\\"2\\\"/><path d=\\\"M8 21h8m-4-4v4\\\"/></g>\"},\"moon\":{\"width\":24,\"height\":24,\"body\":\"<path fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\" d=\\\"M20.985 12.486a9 9 0 1 1-9.473-9.472c.405-.022.617.46.402.803a6 6 0 0 0 8.268 8.268c.344-.215.825-.004.803.401\\\"/>\"},\"panel-left\":{\"width\":24,\"height\":24,\"body\":\"<g fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\"><rect width=\\\"18\\\" height=\\\"18\\\" x=\\\"3\\\" y=\\\"3\\\" rx=\\\"2\\\"/><path d=\\\"M9 3v18\\\"/></g>\"},\"panel-left-close\":{\"width\":24,\"height\":24,\"body\":\"<g fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\"><rect width=\\\"18\\\" height=\\\"18\\\" x=\\\"3\\\" y=\\\"3\\\" rx=\\\"2\\\"/><path d=\\\"M9 3v18m7-6l-3-3l3-3\\\"/></g>\"},\"panel-left-open\":{\"width\":24,\"height\":24,\"body\":\"<g fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\"><rect width=\\\"18\\\" height=\\\"18\\\" x=\\\"3\\\" y=\\\"3\\\" rx=\\\"2\\\"/><path d=\\\"M9 3v18m5-12l3 3l-3 3\\\"/></g>\"},\"panel-right\":{\"width\":24,\"height\":24,\"body\":\"<g fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\"><rect width=\\\"18\\\" height=\\\"18\\\" x=\\\"3\\\" y=\\\"3\\\" rx=\\\"2\\\"/><path d=\\\"M15 3v18\\\"/></g>\"},\"paperclip\":{\"width\":24,\"height\":24,\"body\":\"<path fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\" d=\\\"m16 6l-8.414 8.586a2 2 0 0 0 2.829 2.829l8.414-8.586a4 4 0 1 0-5.657-5.657l-8.379 8.551a6 6 0 1 0 8.485 8.485l8.379-8.551\\\"/>\"},\"pause\":{\"width\":24,\"height\":24,\"body\":\"<g fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\"><rect width=\\\"5\\\" height=\\\"18\\\" x=\\\"14\\\" y=\\\"3\\\" rx=\\\"1\\\"/><rect width=\\\"5\\\" height=\\\"18\\\" x=\\\"5\\\" y=\\\"3\\\" rx=\\\"1\\\"/></g>\"},\"pencil\":{\"width\":24,\"height\":24,\"body\":\"<path fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\" d=\\\"M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497zM15 5l4 4\\\"/>\"},\"play\":{\"width\":24,\"height\":24,\"body\":\"<path fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\" d=\\\"M5 5a2 2 0 0 1 3.008-1.728l11.997 6.998a2 2 0 0 1 .003 3.458l-12 7A2 2 0 0 1 5 19z\\\"/>\"},\"plug\":{\"width\":24,\"height\":24,\"body\":\"<path fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\" d=\\\"M12 22v-5m3-9V2m2 6a1 1 0 0 1 1 1v4a4 4 0 0 1-4 4h-4a4 4 0 0 1-4-4V9a1 1 0 0 1 1-1zM9 8V2\\\"/>\"},\"plug-zap\":{\"width\":24,\"height\":24,\"body\":\"<path fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\" d=\\\"M6.3 20.3a2.4 2.4 0 0 0 3.4 0L12 18l-6-6l-2.3 2.3a2.4 2.4 0 0 0 0 3.4ZM2 22l3-3m2.5-5.5L10 11m.5 5.5L13 14m5-11l-4 4h6l-4 4\\\"/>\"},\"plus\":{\"width\":24,\"height\":24,\"body\":\"<path fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\" d=\\\"M5 12h14m-7-7v14\\\"/>\"},\"refresh-cw\":{\"width\":24,\"height\":24,\"body\":\"<g fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\"><path d=\\\"M3 12a9 9 0 0 1 9-9a9.75 9.75 0 0 1 6.74 2.74L21 8\\\"/><path d=\\\"M21 3v5h-5m5 4a9 9 0 0 1-9 9a9.75 9.75 0 0 1-6.74-2.74L3 16\\\"/><path d=\\\"M8 16H3v5\\\"/></g>\"},\"rocket\":{\"width\":24,\"height\":24,\"body\":\"<g fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\"><path d=\\\"M12 15v5s3.03-.55 4-2c1.08-1.62 0-5 0-5M4.5 16.5c-1.5 1.26-2 5-2 5s3.74-.5 5-2c.71-.84.7-2.13-.09-2.91a2.18 2.18 0 0 0-2.91-.09\\\"/><path d=\\\"M9 12a22 22 0 0 1 2-3.95A12.88 12.88 0 0 1 22 2c0 2.72-.78 7.5-6 11a22.4 22.4 0 0 1-4 2z\\\"/><path d=\\\"M9 12H4s.55-3.03 2-4c1.62-1.08 5 .05 5 .05\\\"/></g>\"},\"rotate-ccw\":{\"width\":24,\"height\":24,\"body\":\"<g fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\"><path d=\\\"M3 12a9 9 0 1 0 9-9a9.75 9.75 0 0 0-6.74 2.74L3 8\\\"/><path d=\\\"M3 3v5h5\\\"/></g>\"},\"scroll-text\":{\"width\":24,\"height\":24,\"body\":\"<g fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\"><path d=\\\"M15 12h-5m5-4h-5m9 9V5a2 2 0 0 0-2-2H4\\\"/><path d=\\\"M8 21h12a2 2 0 0 0 2-2v-1a1 1 0 0 0-1-1H11a1 1 0 0 0-1 1v1a2 2 0 1 1-4 0V5a2 2 0 1 0-4 0v2a1 1 0 0 0 1 1h3\\\"/></g>\"},\"search\":{\"width\":24,\"height\":24,\"body\":\"<g fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\"><path d=\\\"m21 21l-4.34-4.34\\\"/><circle cx=\\\"11\\\" cy=\\\"11\\\" r=\\\"8\\\"/></g>\"},\"send\":{\"width\":24,\"height\":24,\"body\":\"<path fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\" d=\\\"M14.536 21.686a.5.5 0 0 0 .937-.024l6.5-19a.496.496 0 0 0-.635-.635l-19 6.5a.5.5 0 0 0-.024.937l7.93 3.18a2 2 0 0 1 1.112 1.11zm7.318-19.539l-10.94 10.939\\\"/>\"},\"settings-2\":{\"width\":24,\"height\":24,\"body\":\"<g fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\"><path d=\\\"M14 17H5M19 7h-9\\\"/><circle cx=\\\"17\\\" cy=\\\"17\\\" r=\\\"3\\\"/><circle cx=\\\"7\\\" cy=\\\"7\\\" r=\\\"3\\\"/></g>\"},\"skip-forward\":{\"width\":24,\"height\":24,\"body\":\"<path fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\" d=\\\"M21 4v16M6.029 4.285A2 2 0 0 0 3 6v12a2 2 0 0 0 3.029 1.715l9.997-5.998a2 2 0 0 0 .003-3.432z\\\"/>\"},\"square\":{\"width\":24,\"height\":24,\"body\":\"<rect width=\\\"18\\\" height=\\\"18\\\" x=\\\"3\\\" y=\\\"3\\\" fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\" rx=\\\"2\\\"/>\"},\"square-pen\":{\"width\":24,\"height\":24,\"body\":\"<g fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\"><path d=\\\"M12 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7\\\"/><path d=\\\"M18.375 2.625a1 1 0 0 1 3 3l-9.013 9.014a2 2 0 0 1-.853.505l-2.873.84a.5.5 0 0 1-.62-.62l.84-2.873a2 2 0 0 1 .506-.852z\\\"/></g>\"},\"star\":{\"width\":24,\"height\":24,\"body\":\"<path fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\" d=\\\"M11.525 2.295a.53.53 0 0 1 .95 0l2.31 4.679a2.12 2.12 0 0 0 1.595 1.16l5.166.756a.53.53 0 0 1 .294.904l-3.736 3.638a2.12 2.12 0 0 0-.611 1.878l.882 5.14a.53.53 0 0 1-.771.56l-4.618-2.428a2.12 2.12 0 0 0-1.973 0L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.12 2.12 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.12 2.12 0 0 0 1.597-1.16z\\\"/>\"},\"sun\":{\"width\":24,\"height\":24,\"body\":\"<g fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\"><circle cx=\\\"12\\\" cy=\\\"12\\\" r=\\\"4\\\"/><path d=\\\"M12 2v2m0 16v2M4.93 4.93l1.41 1.41m11.32 11.32l1.41 1.41M2 12h2m16 0h2M6.34 17.66l-1.41 1.41M19.07 4.93l-1.41 1.41\\\"/></g>\"},\"target\":{\"width\":24,\"height\":24,\"body\":\"<g fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\"><circle cx=\\\"12\\\" cy=\\\"12\\\" r=\\\"10\\\"/><circle cx=\\\"12\\\" cy=\\\"12\\\" r=\\\"6\\\"/><circle cx=\\\"12\\\" cy=\\\"12\\\" r=\\\"2\\\"/></g>\"},\"thumbs-down\":{\"width\":24,\"height\":24,\"body\":\"<path fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\" d=\\\"M9 18.12L10 14H4.17a2 2 0 0 1-1.92-2.56l2.33-8A2 2 0 0 1 6.5 2H20a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2h-2.76a2 2 0 0 0-1.79 1.11L12 22a3.13 3.13 0 0 1-3-3.88M17 14V2\\\"/>\"},\"thumbs-up\":{\"width\":24,\"height\":24,\"body\":\"<path fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\" d=\\\"M15 5.88L14 10h5.83a2 2 0 0 1 1.92 2.56l-2.33 8A2 2 0 0 1 17.5 22H4a2 2 0 0 1-2-2v-8a2 2 0 0 1 2-2h2.76a2 2 0 0 0 1.79-1.11L12 2a3.13 3.13 0 0 1 3 3.88M7 10v12\\\"/>\"},\"trash-2\":{\"width\":24,\"height\":24,\"body\":\"<path fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\" d=\\\"M10 11v6m4-6v6m5-11v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6M3 6h18M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2\\\"/>\"},\"triangle-alert\":{\"width\":24,\"height\":24,\"body\":\"<path fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\" d=\\\"m21.73 18l-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3M12 9v4m0 4h.01\\\"/>\"},\"upload\":{\"width\":24,\"height\":24,\"body\":\"<path fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\" d=\\\"M12 3v12m5-7l-5-5l-5 5m14 7v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4\\\"/>\"},\"user-pen\":{\"width\":24,\"height\":24,\"body\":\"<g fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\"><path d=\\\"M11.5 15H7a4 4 0 0 0-4 4v2m18.378-4.374a1 1 0 0 0-3.004-3.004l-4.01 4.012a2 2 0 0 0-.506.854l-.837 2.87a.5.5 0 0 0 .62.62l2.87-.837a2 2 0 0 0 .854-.506z\\\"/><circle cx=\\\"10\\\" cy=\\\"7\\\" r=\\\"4\\\"/></g>\"},\"user-plus\":{\"width\":24,\"height\":24,\"body\":\"<g fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\"><path d=\\\"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2\\\"/><circle cx=\\\"9\\\" cy=\\\"7\\\" r=\\\"4\\\"/><path d=\\\"M19 8v6m3-3h-6\\\"/></g>\"},\"user-round-x\":{\"width\":24,\"height\":24,\"body\":\"<g fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\"><path d=\\\"m16.5 16.5l5 5M2 21a8 8 0 0 1 11.531-7.18M21.5 16.5l-5 5\\\"/><circle cx=\\\"10\\\" cy=\\\"8\\\" r=\\\"5\\\"/></g>\"},\"users\":{\"width\":24,\"height\":24,\"body\":\"<g fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\"><path d=\\\"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2M16 3.128a4 4 0 0 1 0 7.744M22 21v-2a4 4 0 0 0-3-3.87\\\"/><circle cx=\\\"9\\\" cy=\\\"7\\\" r=\\\"4\\\"/></g>\"},\"x\":{\"width\":24,\"height\":24,\"body\":\"<path fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\" d=\\\"M18 6L6 18M6 6l12 12\\\"/>\"},\"zap\":{\"width\":24,\"height\":24,\"body\":\"<path fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\" d=\\\"M15.914 4a1.5 1.5 0 0 0-2.474-1.561l-9 9A1.5 1.5 0 0 0 5.5 14h4.002a.5.5 0 0 1 .471.666L8.086 20a1.5 1.5 0 0 0 2.475 1.56l9-9A1.5 1.5 0 0 0 18.5 10h-3.997a.5.5 0 0 1-.472-.667z\\\"/>\"}}}]");
|
|
5942
5942
|
for (let n of t) for (let [t, r] of Object.entries(n.icons)) e(n.prefix ? n.prefix + ":" + t : t, r);
|
|
5943
5943
|
gf = !0;
|
|
5944
5944
|
}
|
|
@@ -47930,52 +47930,275 @@ var hU = /*#__PURE__*/ XH({
|
|
|
47930
47930
|
}, null, -1)
|
|
47931
47931
|
], 46, $q)]));
|
|
47932
47932
|
}
|
|
47933
|
-
}, [["__scopeId", "data-v-f27db748"]]), dJ =
|
|
47933
|
+
}, [["__scopeId", "data-v-f27db748"]]), dJ = {
|
|
47934
|
+
key: 0,
|
|
47935
|
+
class: "member-text-source"
|
|
47936
|
+
}, fJ = { class: "member-text-meta" }, pJ = { class: "member-text-footer" }, mJ = /*#__PURE__*/ XH({
|
|
47937
|
+
__name: "MemberTextDialog",
|
|
47938
|
+
props: /*@__PURE__*/ Fa({
|
|
47939
|
+
title: {
|
|
47940
|
+
type: String,
|
|
47941
|
+
required: !0
|
|
47942
|
+
},
|
|
47943
|
+
description: {
|
|
47944
|
+
type: String,
|
|
47945
|
+
default: ""
|
|
47946
|
+
},
|
|
47947
|
+
label: {
|
|
47948
|
+
type: String,
|
|
47949
|
+
required: !0
|
|
47950
|
+
},
|
|
47951
|
+
placeholder: {
|
|
47952
|
+
type: String,
|
|
47953
|
+
default: ""
|
|
47954
|
+
},
|
|
47955
|
+
max: {
|
|
47956
|
+
type: Number,
|
|
47957
|
+
required: !0
|
|
47958
|
+
},
|
|
47959
|
+
rows: {
|
|
47960
|
+
type: Number,
|
|
47961
|
+
default: 5
|
|
47962
|
+
},
|
|
47963
|
+
note: {
|
|
47964
|
+
type: String,
|
|
47965
|
+
default: ""
|
|
47966
|
+
},
|
|
47967
|
+
source: {
|
|
47968
|
+
type: Object,
|
|
47969
|
+
default: null
|
|
47970
|
+
},
|
|
47971
|
+
changed: Boolean,
|
|
47972
|
+
saving: Boolean
|
|
47973
|
+
}, {
|
|
47974
|
+
open: {
|
|
47975
|
+
type: Boolean,
|
|
47976
|
+
default: !1
|
|
47977
|
+
},
|
|
47978
|
+
openModifiers: {},
|
|
47979
|
+
draft: {
|
|
47980
|
+
type: String,
|
|
47981
|
+
default: ""
|
|
47982
|
+
},
|
|
47983
|
+
draftModifiers: {}
|
|
47984
|
+
}),
|
|
47985
|
+
emits: /*@__PURE__*/ Fa(["save"], ["update:open", "update:draft"]),
|
|
47986
|
+
setup(e, { emit: t }) {
|
|
47987
|
+
let n = e, r = ro(e, "open"), i = ro(e, "draft"), a = t, o = Z(() => i.value.length >= n.max * .9);
|
|
47988
|
+
function s() {
|
|
47989
|
+
n.changed && !n.saving && a("save");
|
|
47990
|
+
}
|
|
47991
|
+
return (t, n) => {
|
|
47992
|
+
let a = sA, c = HV, l = MA, u = YH;
|
|
47993
|
+
return U(), G(u, {
|
|
47994
|
+
open: r.value,
|
|
47995
|
+
"onUpdate:open": n[3] ||= (e) => r.value = e,
|
|
47996
|
+
title: e.title,
|
|
47997
|
+
description: e.description,
|
|
47998
|
+
ui: {
|
|
47999
|
+
content: "glass-panel studio-modal",
|
|
48000
|
+
body: "dialog-body"
|
|
48001
|
+
}
|
|
48002
|
+
}, {
|
|
48003
|
+
body: L(() => [K("form", {
|
|
48004
|
+
class: "member-text",
|
|
48005
|
+
onSubmit: uu(s, ["prevent"])
|
|
48006
|
+
}, [
|
|
48007
|
+
e.source ? (U(), W("div", dJ, [
|
|
48008
|
+
q(a, { name: "i-lucide-bookmark" }),
|
|
48009
|
+
K("p", null, [K("b", null, P(e.source.tag), 1), J(P(e.source.text), 1)]),
|
|
48010
|
+
K("button", {
|
|
48011
|
+
type: "button",
|
|
48012
|
+
onClick: n[0] ||= (t) => i.value = e.source.text
|
|
48013
|
+
}, P(e.source.action), 1)
|
|
48014
|
+
])) : Y("", !0),
|
|
48015
|
+
q(c, {
|
|
48016
|
+
modelValue: i.value,
|
|
48017
|
+
"onUpdate:modelValue": n[1] ||= (e) => i.value = e,
|
|
48018
|
+
rows: e.rows,
|
|
48019
|
+
maxlength: e.max,
|
|
48020
|
+
autoresize: "",
|
|
48021
|
+
maxrows: e.rows * 2,
|
|
48022
|
+
autofocus: "",
|
|
48023
|
+
class: "w-full",
|
|
48024
|
+
"aria-label": e.label,
|
|
48025
|
+
placeholder: e.placeholder,
|
|
48026
|
+
onKeydown: [fu(uu(s, ["ctrl", "prevent"]), ["enter"]), fu(uu(s, ["meta", "prevent"]), ["enter"])]
|
|
48027
|
+
}, null, 8, [
|
|
48028
|
+
"modelValue",
|
|
48029
|
+
"rows",
|
|
48030
|
+
"maxlength",
|
|
48031
|
+
"maxrows",
|
|
48032
|
+
"aria-label",
|
|
48033
|
+
"placeholder",
|
|
48034
|
+
"onKeydown"
|
|
48035
|
+
]),
|
|
48036
|
+
K("div", fJ, [K("span", null, P(e.note), 1), K("span", { class: M({ "is-near": o.value }) }, P(i.value.length) + " / " + P(e.max), 3)]),
|
|
48037
|
+
K("div", pJ, [
|
|
48038
|
+
K("div", null, [V(t.$slots, "extra", {}, void 0, !0)]),
|
|
48039
|
+
q(l, {
|
|
48040
|
+
label: "取消",
|
|
48041
|
+
color: "neutral",
|
|
48042
|
+
variant: "ghost",
|
|
48043
|
+
onClick: n[2] ||= (e) => r.value = !1
|
|
48044
|
+
}),
|
|
48045
|
+
q(l, {
|
|
48046
|
+
type: "submit",
|
|
48047
|
+
label: "保存",
|
|
48048
|
+
class: "channel-primary-button",
|
|
48049
|
+
loading: e.saving,
|
|
48050
|
+
disabled: !e.changed
|
|
48051
|
+
}, null, 8, ["loading", "disabled"])
|
|
48052
|
+
])
|
|
48053
|
+
], 32)]),
|
|
48054
|
+
_: 3
|
|
48055
|
+
}, 8, [
|
|
48056
|
+
"open",
|
|
48057
|
+
"title",
|
|
48058
|
+
"description"
|
|
48059
|
+
]);
|
|
48060
|
+
};
|
|
48061
|
+
}
|
|
48062
|
+
}, [["__scopeId", "data-v-e3ec37df"]]), hJ = 500, gJ = {
|
|
48063
|
+
__name: "MemberDescriptionDialog",
|
|
48064
|
+
props: /*@__PURE__*/ Fa({
|
|
48065
|
+
name: {
|
|
48066
|
+
type: String,
|
|
48067
|
+
required: !0
|
|
48068
|
+
},
|
|
48069
|
+
platform: {
|
|
48070
|
+
type: String,
|
|
48071
|
+
default: ""
|
|
48072
|
+
},
|
|
48073
|
+
text: {
|
|
48074
|
+
type: String,
|
|
48075
|
+
default: ""
|
|
48076
|
+
},
|
|
48077
|
+
template: {
|
|
48078
|
+
type: String,
|
|
48079
|
+
default: ""
|
|
48080
|
+
},
|
|
48081
|
+
saving: Boolean
|
|
48082
|
+
}, {
|
|
48083
|
+
open: {
|
|
48084
|
+
type: Boolean,
|
|
48085
|
+
default: !1
|
|
48086
|
+
},
|
|
48087
|
+
openModifiers: {}
|
|
48088
|
+
}),
|
|
48089
|
+
emits: /*@__PURE__*/ Fa(["save"], ["update:open"]),
|
|
48090
|
+
setup(e, { emit: t }) {
|
|
48091
|
+
let n = e, r = ro(e, "open"), i = t, a = /* @__PURE__ */ F(""), o = /* @__PURE__ */ F(!1), s = /* @__PURE__ */ F({
|
|
48092
|
+
name: "",
|
|
48093
|
+
platform: "",
|
|
48094
|
+
text: "",
|
|
48095
|
+
template: ""
|
|
48096
|
+
});
|
|
48097
|
+
R(r, (e) => {
|
|
48098
|
+
e && (s.value = {
|
|
48099
|
+
name: n.name,
|
|
48100
|
+
platform: n.platform,
|
|
48101
|
+
text: n.text.trim(),
|
|
48102
|
+
template: n.template.trim()
|
|
48103
|
+
}, a.value = n.text, o.value = !1);
|
|
48104
|
+
}, { immediate: !0 });
|
|
48105
|
+
let c = Z(() => a.value.trim()), l = Z(() => s.value.template && c.value !== s.value.template ? {
|
|
48106
|
+
tag: `${s.value.platform} 的默认描述`,
|
|
48107
|
+
text: s.value.template,
|
|
48108
|
+
action: "填入"
|
|
48109
|
+
} : null), u = Z(() => !!(s.value.platform && c.value && c.value !== s.value.template)), d = Z(() => c.value !== s.value.text || o.value && u.value), f = Z(() => o.value && u.value ? `之后添加 ${s.value.platform} 时自动填入这段描述` : c.value ? "标签或一段话都行,Ctrl + Enter 保存" : "留空表示不提供描述");
|
|
48110
|
+
R(u, (e) => {
|
|
48111
|
+
e || (o.value = !1);
|
|
48112
|
+
});
|
|
48113
|
+
function p() {
|
|
48114
|
+
i("save", {
|
|
48115
|
+
text: c.value,
|
|
48116
|
+
as_template: o.value && u.value
|
|
48117
|
+
});
|
|
48118
|
+
}
|
|
48119
|
+
return (t, n) => {
|
|
48120
|
+
let i = Xq;
|
|
48121
|
+
return U(), G(mJ, {
|
|
48122
|
+
open: r.value,
|
|
48123
|
+
"onUpdate:open": n[1] ||= (e) => r.value = e,
|
|
48124
|
+
draft: a.value,
|
|
48125
|
+
"onUpdate:draft": n[2] ||= (e) => a.value = e,
|
|
48126
|
+
title: `${s.value.name} 的描述`,
|
|
48127
|
+
description: "擅长什么、适合分到什么工作。智能调度和 AI 主持人分派时参考,房间所有成员都能看到。",
|
|
48128
|
+
label: `${s.value.name} 的描述`,
|
|
48129
|
+
placeholder: "例如:擅长前端和交互细节,适合出方案、做评审;大段重构交给别人",
|
|
48130
|
+
max: hJ,
|
|
48131
|
+
note: f.value,
|
|
48132
|
+
source: l.value,
|
|
48133
|
+
changed: d.value,
|
|
48134
|
+
saving: e.saving,
|
|
48135
|
+
onSave: p
|
|
48136
|
+
}, {
|
|
48137
|
+
extra: L(() => [u.value ? (U(), G(i, {
|
|
48138
|
+
key: 0,
|
|
48139
|
+
modelValue: o.value,
|
|
48140
|
+
"onUpdate:modelValue": n[0] ||= (e) => o.value = e,
|
|
48141
|
+
label: `存为 ${s.value.platform} 的默认描述`
|
|
48142
|
+
}, null, 8, ["modelValue", "label"])) : Y("", !0)]),
|
|
48143
|
+
_: 1
|
|
48144
|
+
}, 8, [
|
|
48145
|
+
"open",
|
|
48146
|
+
"draft",
|
|
48147
|
+
"title",
|
|
48148
|
+
"label",
|
|
48149
|
+
"note",
|
|
48150
|
+
"source",
|
|
48151
|
+
"changed",
|
|
48152
|
+
"saving"
|
|
48153
|
+
]);
|
|
48154
|
+
};
|
|
48155
|
+
}
|
|
48156
|
+
}, _J = 4e3, vJ = { antigravity_cli: "无人值守下 run_command 只能运行 codiscuss 的子命令,其他命令会被自动拒绝并使会话直接结束;列目录、搜索或读取文件用 list_dir、find_by_name、grep_search、view_file。\n任务需要多步操作时,在读完材料、改定方案、验证结果这类关键转折处,用一两句中文写出进展再继续。" }, yJ = ["data-identity", "data-face"], bJ = ["inert", "aria-hidden"], xJ = { class: "expert-card-identity" }, SJ = { class: "expert-card-names" }, CJ = {
|
|
47934
48157
|
key: 0,
|
|
47935
48158
|
class: "expert-card-badge"
|
|
47936
|
-
},
|
|
48159
|
+
}, wJ = ["title"], TJ = { class: "expert-card-facts" }, EJ = ["title"], DJ = {
|
|
47937
48160
|
key: 0,
|
|
47938
48161
|
"aria-hidden": "true"
|
|
47939
|
-
},
|
|
48162
|
+
}, OJ = {
|
|
47940
48163
|
key: 0,
|
|
47941
48164
|
class: "expert-card-manual"
|
|
47942
|
-
},
|
|
48165
|
+
}, kJ = { key: 0 }, AJ = {
|
|
47943
48166
|
key: 1,
|
|
47944
48167
|
class: "expert-card-flip"
|
|
47945
|
-
},
|
|
48168
|
+
}, jJ = ["aria-label"], MJ = [
|
|
47946
48169
|
"aria-checked",
|
|
47947
48170
|
"tabindex",
|
|
47948
48171
|
"data-mode",
|
|
47949
48172
|
"onClick"
|
|
47950
|
-
],
|
|
48173
|
+
], NJ = { class: "expert-card-tools" }, PJ = ["aria-label", "title"], FJ = [
|
|
47951
48174
|
"aria-pressed",
|
|
47952
48175
|
"aria-label",
|
|
47953
48176
|
"title"
|
|
47954
|
-
],
|
|
48177
|
+
], IJ = ["aria-label"], LJ = ["inert", "aria-hidden"], RJ = { class: "expert-card-back-body" }, zJ = { class: "expert-card-heading" }, BJ = { class: "expert-card-heading-tools" }, VJ = ["title", "aria-label"], HJ = ["role"], UJ = {
|
|
47955
48178
|
key: 1,
|
|
47956
48179
|
class: "expert-card-field"
|
|
47957
|
-
},
|
|
48180
|
+
}, WJ = {
|
|
47958
48181
|
key: 2,
|
|
47959
48182
|
class: "expert-card-field"
|
|
47960
|
-
},
|
|
48183
|
+
}, GJ = {
|
|
47961
48184
|
key: 3,
|
|
47962
48185
|
class: "expert-card-check"
|
|
47963
|
-
},
|
|
48186
|
+
}, KJ = {
|
|
47964
48187
|
key: 4,
|
|
47965
48188
|
class: "expert-card-field"
|
|
47966
|
-
},
|
|
48189
|
+
}, qJ = ["aria-label"], JJ = ["aria-checked", "onClick"], YJ = { class: "expert-card-field" }, XJ = {
|
|
47967
48190
|
key: 0,
|
|
47968
48191
|
class: "expert-card-catalog"
|
|
47969
|
-
},
|
|
48192
|
+
}, ZJ = {
|
|
47970
48193
|
key: 1,
|
|
47971
48194
|
class: "expert-card-effort"
|
|
47972
|
-
},
|
|
48195
|
+
}, QJ = {
|
|
47973
48196
|
key: 2,
|
|
47974
48197
|
class: "expert-card-note"
|
|
47975
|
-
},
|
|
48198
|
+
}, $J = ["aria-label", "disabled"], eY = {
|
|
47976
48199
|
key: 7,
|
|
47977
48200
|
class: "expert-card-note"
|
|
47978
|
-
},
|
|
48201
|
+
}, tY = { class: "expert-card-flip-actions" }, nY = ["aria-label"], rY = ["aria-label"], iY = 180, aY = "[role='listbox'], [role='menu'], [data-reka-popper-content-wrapper]", oY = /*#__PURE__*/ XH({
|
|
47979
48202
|
__name: "ExpertCard",
|
|
47980
48203
|
props: {
|
|
47981
48204
|
name: {
|
|
@@ -48128,7 +48351,7 @@ var hU = /*#__PURE__*/ XH({
|
|
|
48128
48351
|
});
|
|
48129
48352
|
}
|
|
48130
48353
|
function ge(e) {
|
|
48131
|
-
let t = e >=
|
|
48354
|
+
let t = e >= iY / 2;
|
|
48132
48355
|
f.value !== t && (f.value = t, he());
|
|
48133
48356
|
}
|
|
48134
48357
|
let N = o.on("change", ge), _e = o.on("animationComplete", he), ve = null, ye = "";
|
|
@@ -48141,10 +48364,29 @@ var hU = /*#__PURE__*/ XH({
|
|
|
48141
48364
|
function xe() {
|
|
48142
48365
|
ve &&= (a.restore_launch_profile(n.name, ve.profile), ve.mode !== n.mode && r("mode", ve.mode), n.session !== null && n.session !== ye && r("session", ye), null), be(!1);
|
|
48143
48366
|
}
|
|
48144
|
-
|
|
48367
|
+
let Se = Z(() => i.value && a.description_draft(n.name).trim()), Ce = /* @__PURE__ */ F(!1);
|
|
48368
|
+
function we({ text: e, as_template: t }) {
|
|
48369
|
+
a.write_description_draft(n.name, e), t && a.save_description_template(n.name, e), Ce.value = !1;
|
|
48370
|
+
}
|
|
48371
|
+
let Te = Z(() => vJ[p.value.adapter] || ""), Ee = Z(() => Object.hasOwn(p.value, "system_prompt")), De = Z(() => (Ee.value ? p.value.system_prompt : Te.value).trim()), Oe = Z(() => De.value ? `专属提示词(${Ee.value ? "自定义" : "软件预设"}):${De.value.split("\n")[0]}` : "专属提示词:未设置,点击添加"), ke = /* @__PURE__ */ F(!1), Ae = /* @__PURE__ */ F(""), je = Z(() => Ae.value.trim() !== De.value), Me = Z(() => {
|
|
48372
|
+
let e = Ae.value.trim();
|
|
48373
|
+
return e ? e === Te.value.trim() ? "与软件预设一致,预设更新时自动跟随" : Te.value ? "已改写,不再跟随软件预设" : "只发给这位专家,Ctrl + Enter 保存" : Te.value ? "留空:这位专家不使用预设,也没有专属提示词" : "留空表示不使用";
|
|
48374
|
+
}), Ne = Z(() => Te.value && Ae.value.trim() !== Te.value.trim() ? {
|
|
48375
|
+
tag: "软件预设",
|
|
48376
|
+
text: Te.value,
|
|
48377
|
+
action: "恢复预设"
|
|
48378
|
+
} : null);
|
|
48379
|
+
function Pe() {
|
|
48380
|
+
Ae.value = De.value, ke.value = !0;
|
|
48381
|
+
}
|
|
48382
|
+
function Fe() {
|
|
48383
|
+
let e = Ae.value.trim();
|
|
48384
|
+
a.write_launch(n.name, "system_prompt", e === Te.value.trim() ? null : e), ke.value = !1;
|
|
48385
|
+
}
|
|
48386
|
+
function Ie() {
|
|
48145
48387
|
a.write_launch(n.name, "model", ""), a.write_launch(n.name, "effort", "");
|
|
48146
48388
|
}
|
|
48147
|
-
function
|
|
48389
|
+
function Le(e) {
|
|
48148
48390
|
let t = {
|
|
48149
48391
|
ArrowLeft: -1,
|
|
48150
48392
|
ArrowUp: -1,
|
|
@@ -48156,16 +48398,16 @@ var hU = /*#__PURE__*/ XH({
|
|
|
48156
48398
|
let i = h.value, a = i.indexOf(n.mode), o = e.key === "Home" ? i[0] : e.key === "End" ? i.at(-1) : i[(a + t[e.key] + i.length) % i.length];
|
|
48157
48399
|
r("mode", o), e.currentTarget.querySelector(`[data-mode="${o}"]`)?.focus();
|
|
48158
48400
|
}
|
|
48159
|
-
function
|
|
48401
|
+
function Re(e) {
|
|
48160
48402
|
d.value && (e.stopPropagation(), e.preventDefault(), xe());
|
|
48161
48403
|
}
|
|
48162
|
-
function
|
|
48163
|
-
c.value?.contains(e.target) || e.target.closest?.(
|
|
48404
|
+
function ze(e) {
|
|
48405
|
+
ke.value || Ce.value || c.value?.contains(e.target) || e.target.closest?.(aY) || be(!1);
|
|
48164
48406
|
}
|
|
48165
48407
|
return R(d, (e) => {
|
|
48166
|
-
e ? document.addEventListener("pointerdown",
|
|
48408
|
+
e ? document.addEventListener("pointerdown", ze, !0) : document.removeEventListener("pointerdown", ze, !0);
|
|
48167
48409
|
}), R([d, s], ([e, t]) => {
|
|
48168
|
-
let n = e ?
|
|
48410
|
+
let n = e ? iY : 0;
|
|
48169
48411
|
t ? (o.jump(n), he()) : o.set(n);
|
|
48170
48412
|
}), R(() => [
|
|
48171
48413
|
te.value,
|
|
@@ -48174,7 +48416,7 @@ var hU = /*#__PURE__*/ XH({
|
|
|
48174
48416
|
], ([e, t]) => {
|
|
48175
48417
|
e && t && a.load_launch_models(n.name);
|
|
48176
48418
|
}, { immediate: !0 }), ta(() => {
|
|
48177
|
-
document.removeEventListener("pointerdown",
|
|
48419
|
+
document.removeEventListener("pointerdown", ze, !0), N(), _e(), o.stop();
|
|
48178
48420
|
}), (t, n) => {
|
|
48179
48421
|
let s = pA, d = sA, x = MA, S = bH, w = YV;
|
|
48180
48422
|
return U(), W("div", {
|
|
@@ -48188,31 +48430,31 @@ var hU = /*#__PURE__*/ XH({
|
|
|
48188
48430
|
"data-identity": I(a).identities[e.name]?.style,
|
|
48189
48431
|
"data-face": f.value ? "back" : "front",
|
|
48190
48432
|
tabindex: "-1",
|
|
48191
|
-
onKeydown: fu(
|
|
48192
|
-
}, [
|
|
48193
|
-
|
|
48194
|
-
|
|
48195
|
-
|
|
48196
|
-
|
|
48197
|
-
|
|
48198
|
-
|
|
48199
|
-
|
|
48200
|
-
|
|
48201
|
-
|
|
48202
|
-
|
|
48203
|
-
|
|
48204
|
-
|
|
48205
|
-
|
|
48206
|
-
"
|
|
48207
|
-
|
|
48208
|
-
|
|
48209
|
-
|
|
48210
|
-
|
|
48211
|
-
|
|
48212
|
-
|
|
48213
|
-
|
|
48214
|
-
|
|
48215
|
-
q(s, {
|
|
48433
|
+
onKeydown: fu(Re, ["esc"])
|
|
48434
|
+
}, [
|
|
48435
|
+
q(I(bV).div, {
|
|
48436
|
+
class: "expert-card-turn",
|
|
48437
|
+
style: fe({ rotateY: I(o) })
|
|
48438
|
+
}, {
|
|
48439
|
+
default: L(() => [K("div", {
|
|
48440
|
+
class: "expert-card-face expert-card-front",
|
|
48441
|
+
inert: f.value,
|
|
48442
|
+
"aria-hidden": f.value
|
|
48443
|
+
}, [
|
|
48444
|
+
(U(), G(da(O.value ? "button" : "div"), {
|
|
48445
|
+
ref_key: "front_button",
|
|
48446
|
+
ref: l,
|
|
48447
|
+
type: O.value ? "button" : void 0,
|
|
48448
|
+
class: M(["expert-card-open", {
|
|
48449
|
+
"is-static": !O.value,
|
|
48450
|
+
"has-modes": h.value.length > 1
|
|
48451
|
+
}]),
|
|
48452
|
+
"aria-label": O.value ? ee.value : void 0,
|
|
48453
|
+
title: O.value ? "点击翻面设置" : void 0,
|
|
48454
|
+
onClick: n[0] ||= (e) => be(!0)
|
|
48455
|
+
}, {
|
|
48456
|
+
default: L(() => [
|
|
48457
|
+
K("span", xJ, [q(s, {
|
|
48216
48458
|
src: I(a).identities[e.name]?.icon,
|
|
48217
48459
|
text: I(a).identities[e.name]?.initials,
|
|
48218
48460
|
alt: e.name,
|
|
@@ -48223,202 +48465,263 @@ var hU = /*#__PURE__*/ XH({
|
|
|
48223
48465
|
"text",
|
|
48224
48466
|
"alt",
|
|
48225
48467
|
"class"
|
|
48226
|
-
]),
|
|
48227
|
-
|
|
48228
|
-
|
|
48468
|
+
]), K("span", SJ, [K("span", null, [K("strong", null, P(e.name), 1), e.host ? (U(), W("span", CJ, "主持")) : Y("", !0)]), Se.value ? (U(), W("small", {
|
|
48469
|
+
key: 0,
|
|
48470
|
+
title: Se.value
|
|
48471
|
+
}, P(Se.value), 9, wJ)) : Y("", !0)])]),
|
|
48472
|
+
K("dl", TJ, [(U(!0), W(H, null, B(le.value, (e) => (U(), W("div", { key: e.label }, [K("dt", null, P(e.label), 1), K("dd", {
|
|
48473
|
+
class: M(e.tone ? ["expert-card-status", `is-${e.tone}`] : ""),
|
|
48474
|
+
title: e.value
|
|
48475
|
+
}, [e.tone ? (U(), W("i", DJ)) : Y("", !0), J(P(e.value), 1)], 10, EJ)]))), 128))]),
|
|
48476
|
+
C.value ? (U(), W("div", OJ, [n[13] ||= K("p", null, "会话自行注册后才算到场。", -1), T.value ? (U(), W("p", kJ, P(T.value), 1)) : Y("", !0)])) : Y("", !0),
|
|
48477
|
+
O.value ? (U(), W("span", AJ, [q(d, { name: "i-lucide-settings-2" }), n[14] ||= J("设置", -1)])) : Y("", !0)
|
|
48229
48478
|
]),
|
|
48230
|
-
|
|
48231
|
-
|
|
48232
|
-
|
|
48233
|
-
|
|
48234
|
-
|
|
48235
|
-
|
|
48236
|
-
]),
|
|
48237
|
-
|
|
48238
|
-
|
|
48239
|
-
|
|
48240
|
-
|
|
48241
|
-
|
|
48242
|
-
|
|
48243
|
-
|
|
48244
|
-
|
|
48245
|
-
|
|
48246
|
-
|
|
48247
|
-
|
|
48248
|
-
|
|
48249
|
-
|
|
48250
|
-
|
|
48251
|
-
|
|
48252
|
-
|
|
48253
|
-
|
|
48254
|
-
|
|
48255
|
-
|
|
48256
|
-
|
|
48257
|
-
|
|
48258
|
-
|
|
48259
|
-
|
|
48260
|
-
|
|
48261
|
-
|
|
48262
|
-
|
|
48263
|
-
|
|
48264
|
-
|
|
48265
|
-
|
|
48266
|
-
|
|
48267
|
-
|
|
48268
|
-
|
|
48269
|
-
|
|
48270
|
-
|
|
48271
|
-
|
|
48272
|
-
|
|
48273
|
-
|
|
48274
|
-
|
|
48275
|
-
|
|
48276
|
-
|
|
48277
|
-
"aria-hidden": !f.value
|
|
48278
|
-
}, [K("div", DJ, [
|
|
48279
|
-
K("div", OJ, [K("strong", null, [J(P(e.name), 1), K("span", null, "设置" + P(j.value ? " · 不访问项目" : ""), 1)]), v.value ? (U(), G(x, {
|
|
48280
|
-
key: 0,
|
|
48281
|
-
icon: "i-lucide-zap",
|
|
48282
|
-
"aria-label": `检查 ${e.name} 的 API 配置`,
|
|
48283
|
-
title: "检查配置:发送一次极短请求,核对地址、密钥、协议与模型",
|
|
48284
|
-
size: "xs",
|
|
48285
|
-
color: y.value.state === "ok" ? "success" : y.value.state === "error" ? "error" : "neutral",
|
|
48286
|
-
variant: "ghost",
|
|
48287
|
-
loading: y.value.state === "loading",
|
|
48288
|
-
disabled: !p.value.api_key_ref || !p.value.model || !I(i).launch.available,
|
|
48289
|
-
onClick: b
|
|
48290
|
-
}, null, 8, [
|
|
48291
|
-
"aria-label",
|
|
48292
|
-
"color",
|
|
48293
|
-
"loading",
|
|
48294
|
-
"disabled"
|
|
48295
|
-
])) : Y("", !0)]),
|
|
48296
|
-
v.value && y.value.message ? (U(), W("p", {
|
|
48479
|
+
_: 1
|
|
48480
|
+
}, 8, [
|
|
48481
|
+
"type",
|
|
48482
|
+
"class",
|
|
48483
|
+
"aria-label",
|
|
48484
|
+
"title"
|
|
48485
|
+
])),
|
|
48486
|
+
h.value.length > 1 ? (U(), W("div", {
|
|
48487
|
+
key: 0,
|
|
48488
|
+
class: "expert-card-modes expert-card-front-modes",
|
|
48489
|
+
role: "radiogroup",
|
|
48490
|
+
"aria-label": `${e.name} 启动方式`,
|
|
48491
|
+
onKeydown: Le
|
|
48492
|
+
}, [(U(!0), W(H, null, B(h.value, (t) => (U(), W("button", {
|
|
48493
|
+
key: t,
|
|
48494
|
+
type: "button",
|
|
48495
|
+
role: "radio",
|
|
48496
|
+
"aria-checked": e.mode === t,
|
|
48497
|
+
tabindex: e.mode === t ? 0 : -1,
|
|
48498
|
+
"data-mode": t,
|
|
48499
|
+
onClick: (e) => r("mode", t)
|
|
48500
|
+
}, P(_[t]), 9, MJ))), 128))], 40, jJ)) : Y("", !0),
|
|
48501
|
+
K("span", NJ, [
|
|
48502
|
+
K("button", {
|
|
48503
|
+
type: "button",
|
|
48504
|
+
class: M({ "is-set": Se.value }),
|
|
48505
|
+
"aria-label": `编辑 ${e.name} 的描述`,
|
|
48506
|
+
title: Se.value ? "编辑描述" : "添加描述:擅长什么、适合分到什么工作",
|
|
48507
|
+
onClick: n[1] ||= (e) => Ce.value = !0
|
|
48508
|
+
}, [q(d, { name: "i-lucide-user-pen" })], 10, PJ),
|
|
48509
|
+
e.hostable ? (U(), W("button", {
|
|
48510
|
+
key: 0,
|
|
48511
|
+
type: "button",
|
|
48512
|
+
class: "expert-card-host",
|
|
48513
|
+
"aria-pressed": e.host,
|
|
48514
|
+
"aria-label": e.host ? `${e.name} 是主持人` : `设 ${e.name} 为主持人`,
|
|
48515
|
+
title: e.host ? "主持人" : "设为主持人",
|
|
48516
|
+
onClick: n[2] ||= (e) => r("host")
|
|
48517
|
+
}, [q(d, { name: "i-lucide-crown" })], 8, FJ)) : Y("", !0),
|
|
48518
|
+
K("button", {
|
|
48519
|
+
type: "button",
|
|
48520
|
+
"aria-label": `移出 ${e.name}`,
|
|
48521
|
+
title: "移出",
|
|
48522
|
+
onClick: n[3] ||= (e) => r("remove")
|
|
48523
|
+
}, [q(d, { name: "i-lucide-x" })], 8, IJ)
|
|
48524
|
+
])
|
|
48525
|
+
], 8, bJ), O.value ? (U(), W("div", {
|
|
48297
48526
|
key: 0,
|
|
48298
|
-
|
|
48299
|
-
|
|
48300
|
-
|
|
48301
|
-
|
|
48302
|
-
"
|
|
48303
|
-
|
|
48304
|
-
|
|
48305
|
-
|
|
48306
|
-
|
|
48307
|
-
|
|
48308
|
-
|
|
48309
|
-
|
|
48310
|
-
|
|
48311
|
-
|
|
48312
|
-
"
|
|
48313
|
-
|
|
48314
|
-
|
|
48315
|
-
|
|
48316
|
-
|
|
48317
|
-
|
|
48318
|
-
|
|
48319
|
-
|
|
48320
|
-
|
|
48321
|
-
|
|
48322
|
-
|
|
48323
|
-
|
|
48324
|
-
|
|
48325
|
-
|
|
48326
|
-
|
|
48327
|
-
|
|
48328
|
-
|
|
48329
|
-
|
|
48330
|
-
|
|
48331
|
-
|
|
48332
|
-
|
|
48333
|
-
|
|
48334
|
-
|
|
48335
|
-
|
|
48336
|
-
|
|
48337
|
-
|
|
48338
|
-
|
|
48339
|
-
A.value ? (U(), W("div", NJ, [n[13] ||= K("span", null, "项目", -1), K("div", {
|
|
48340
|
-
class: "expert-card-modes",
|
|
48341
|
-
role: "radiogroup",
|
|
48342
|
-
"aria-label": `${e.name} 的项目文件权限`
|
|
48343
|
-
}, [(U(), W(H, null, B([{
|
|
48344
|
-
value: "read",
|
|
48345
|
-
label: "只读"
|
|
48346
|
-
}, {
|
|
48347
|
-
value: "write",
|
|
48348
|
-
label: "可写"
|
|
48349
|
-
}], (t) => K("button", {
|
|
48350
|
-
key: t.value,
|
|
48351
|
-
type: "button",
|
|
48352
|
-
role: "radio",
|
|
48353
|
-
"aria-checked": oe.value === t.value,
|
|
48354
|
-
onClick: (n) => I(a).write_launch(e.name, "project_access", t.value)
|
|
48355
|
-
}, P(t.label), 9, FJ)), 64))], 8, PJ)])) : Y("", !0),
|
|
48356
|
-
v.value ? (U(), G(yK, {
|
|
48357
|
-
key: 5,
|
|
48358
|
-
name: e.name
|
|
48359
|
-
}, null, 8, ["name"])) : te.value && !me.value.length ? (U(), W(H, { key: 6 }, [
|
|
48360
|
-
K("div", IJ, [n[14] ||= K("span", null, "模型", -1), q(S, {
|
|
48361
|
-
"model-value": p.value.model || "__default__",
|
|
48362
|
-
items: k.value.items,
|
|
48363
|
-
title: k.value.source,
|
|
48364
|
-
"aria-label": `${e.name} 使用的模型`,
|
|
48527
|
+
class: "expert-card-face expert-card-back",
|
|
48528
|
+
inert: !f.value,
|
|
48529
|
+
"aria-hidden": !f.value
|
|
48530
|
+
}, [K("div", RJ, [
|
|
48531
|
+
K("div", zJ, [K("strong", null, [J(P(e.name), 1), K("span", null, "设置" + P(j.value ? " · 不访问项目" : ""), 1)]), K("span", BJ, [p.value.adapter ? (U(), W("button", {
|
|
48532
|
+
key: 0,
|
|
48533
|
+
type: "button",
|
|
48534
|
+
class: M(["expert-card-prompt", {
|
|
48535
|
+
"is-set": De.value,
|
|
48536
|
+
"is-own": Ee.value && De.value
|
|
48537
|
+
}]),
|
|
48538
|
+
title: Oe.value,
|
|
48539
|
+
"aria-label": `编辑 ${e.name} 的专属提示词`,
|
|
48540
|
+
onClick: Pe
|
|
48541
|
+
}, [q(d, { name: "i-lucide-scroll-text" })], 10, VJ)) : Y("", !0), v.value ? (U(), G(x, {
|
|
48542
|
+
key: 1,
|
|
48543
|
+
icon: "i-lucide-zap",
|
|
48544
|
+
"aria-label": `检查 ${e.name} 的 API 配置`,
|
|
48545
|
+
title: "检查配置:发送一次极短请求,核对地址、密钥、协议与模型",
|
|
48546
|
+
size: "xs",
|
|
48547
|
+
color: y.value.state === "ok" ? "success" : y.value.state === "error" ? "error" : "neutral",
|
|
48548
|
+
variant: "ghost",
|
|
48549
|
+
loading: y.value.state === "loading",
|
|
48550
|
+
disabled: !p.value.api_key_ref || !p.value.model || !I(i).launch.available,
|
|
48551
|
+
onClick: b
|
|
48552
|
+
}, null, 8, [
|
|
48553
|
+
"aria-label",
|
|
48554
|
+
"color",
|
|
48555
|
+
"loading",
|
|
48556
|
+
"disabled"
|
|
48557
|
+
])) : Y("", !0)])]),
|
|
48558
|
+
v.value && y.value.message ? (U(), W("p", {
|
|
48559
|
+
key: 0,
|
|
48560
|
+
role: y.value.state === "error" ? "alert" : "status",
|
|
48561
|
+
class: "expert-card-check"
|
|
48562
|
+
}, P(y.value.message), 9, HJ)) : Y("", !0),
|
|
48563
|
+
g.value && m.value.length > 1 ? (U(), W("div", UJ, [n[15] ||= K("span", null, "接入", -1), q(S, {
|
|
48564
|
+
"model-value": p.value.adapter || "",
|
|
48565
|
+
items: m.value,
|
|
48566
|
+
placeholder: "选择 API / App / CLI",
|
|
48567
|
+
"aria-label": `${e.name} 软件入口`,
|
|
48365
48568
|
size: "xs",
|
|
48366
48569
|
class: "w-full",
|
|
48367
|
-
"onUpdate:modelValue": n[
|
|
48570
|
+
"onUpdate:modelValue": n[4] ||= (t) => I(a).write_launch(e.name, "adapter", t)
|
|
48368
48571
|
}, null, 8, [
|
|
48369
48572
|
"model-value",
|
|
48370
48573
|
"items",
|
|
48371
|
-
"title",
|
|
48372
48574
|
"aria-label"
|
|
48373
|
-
])]),
|
|
48374
|
-
|
|
48375
|
-
key:
|
|
48376
|
-
|
|
48377
|
-
|
|
48378
|
-
|
|
48379
|
-
|
|
48380
|
-
|
|
48381
|
-
|
|
48382
|
-
|
|
48383
|
-
|
|
48384
|
-
"onUpdate:modelValue": n[7] ||= (t) => I(a).write_launch(e.name, "effort", t)
|
|
48575
|
+
])])) : Y("", !0),
|
|
48576
|
+
(U(!0), W(H, null, B(me.value, (t) => (U(), W("div", {
|
|
48577
|
+
key: t.field,
|
|
48578
|
+
class: "expert-card-field"
|
|
48579
|
+
}, [K("span", null, P(t.label), 1), q(w, {
|
|
48580
|
+
"model-value": p.value[t.field] || "",
|
|
48581
|
+
placeholder: t.placeholder,
|
|
48582
|
+
"aria-label": `${e.name} ${t.placeholder}`,
|
|
48583
|
+
size: "xs",
|
|
48584
|
+
class: "w-full",
|
|
48585
|
+
"onUpdate:modelValue": (n) => I(a).write_launch(e.name, t.field, n)
|
|
48385
48586
|
}, null, 8, [
|
|
48386
|
-
"items",
|
|
48387
48587
|
"model-value",
|
|
48388
|
-
"
|
|
48389
|
-
|
|
48390
|
-
|
|
48588
|
+
"placeholder",
|
|
48589
|
+
"aria-label",
|
|
48590
|
+
"onUpdate:modelValue"
|
|
48591
|
+
])]))), 128)),
|
|
48592
|
+
E.value ? (U(), W("div", WJ, [n[16] ||= K("span", null, "会话", -1), q(w, {
|
|
48593
|
+
"model-value": e.session,
|
|
48594
|
+
placeholder: "续接已有会话 ID,留空则新建",
|
|
48595
|
+
"aria-label": `${e.name} 要续接的已有会话 ID`,
|
|
48596
|
+
size: "xs",
|
|
48597
|
+
class: "w-full",
|
|
48598
|
+
"onUpdate:modelValue": n[5] ||= (e) => r("session", e)
|
|
48599
|
+
}, null, 8, ["model-value", "aria-label"])])) : Y("", !0),
|
|
48600
|
+
E.value && e.session.trim() && T.value ? (U(), W("p", GJ, P(T.value), 1)) : Y("", !0),
|
|
48601
|
+
A.value ? (U(), W("div", KJ, [n[17] ||= K("span", null, "项目", -1), K("div", {
|
|
48602
|
+
class: "expert-card-modes",
|
|
48603
|
+
role: "radiogroup",
|
|
48604
|
+
"aria-label": `${e.name} 的项目文件权限`
|
|
48605
|
+
}, [(U(), W(H, null, B([{
|
|
48606
|
+
value: "read",
|
|
48607
|
+
label: "只读"
|
|
48608
|
+
}, {
|
|
48609
|
+
value: "write",
|
|
48610
|
+
label: "可写"
|
|
48611
|
+
}], (t) => K("button", {
|
|
48612
|
+
key: t.value,
|
|
48391
48613
|
type: "button",
|
|
48392
|
-
|
|
48393
|
-
|
|
48394
|
-
|
|
48395
|
-
|
|
48396
|
-
|
|
48397
|
-
|
|
48398
|
-
|
|
48399
|
-
|
|
48400
|
-
|
|
48401
|
-
|
|
48402
|
-
|
|
48403
|
-
|
|
48404
|
-
|
|
48405
|
-
|
|
48406
|
-
|
|
48407
|
-
|
|
48408
|
-
|
|
48409
|
-
|
|
48410
|
-
|
|
48411
|
-
|
|
48412
|
-
|
|
48413
|
-
|
|
48614
|
+
role: "radio",
|
|
48615
|
+
"aria-checked": oe.value === t.value,
|
|
48616
|
+
onClick: (n) => I(a).write_launch(e.name, "project_access", t.value)
|
|
48617
|
+
}, P(t.label), 9, JJ)), 64))], 8, qJ)])) : Y("", !0),
|
|
48618
|
+
v.value ? (U(), G(yK, {
|
|
48619
|
+
key: 5,
|
|
48620
|
+
name: e.name
|
|
48621
|
+
}, null, 8, ["name"])) : te.value && !me.value.length ? (U(), W(H, { key: 6 }, [
|
|
48622
|
+
K("div", YJ, [n[18] ||= K("span", null, "模型", -1), q(S, {
|
|
48623
|
+
"model-value": p.value.model || "__default__",
|
|
48624
|
+
items: k.value.items,
|
|
48625
|
+
title: k.value.source,
|
|
48626
|
+
"aria-label": `${e.name} 使用的模型`,
|
|
48627
|
+
size: "xs",
|
|
48628
|
+
class: "w-full",
|
|
48629
|
+
"onUpdate:modelValue": n[6] ||= (t) => I(a).write_launch_model(e.name, t)
|
|
48630
|
+
}, null, 8, [
|
|
48631
|
+
"model-value",
|
|
48632
|
+
"items",
|
|
48633
|
+
"title",
|
|
48634
|
+
"aria-label"
|
|
48635
|
+
])]),
|
|
48636
|
+
k.value.loading || k.value.error ? (U(), W("div", XJ, [K("span", null, P(k.value.loading ? "正在读取软件模型列表…" : k.value.error), 1), !k.value.loading && k.value.error && I(i).launch.available ? (U(), W("button", {
|
|
48637
|
+
key: 0,
|
|
48638
|
+
type: "button",
|
|
48639
|
+
onClick: n[7] ||= (t) => I(a).load_launch_models(e.name, !0)
|
|
48640
|
+
}, "重试")) : Y("", !0)])) : Y("", !0),
|
|
48641
|
+
re.value ? (U(), W("div", ZJ, [q(uJ, {
|
|
48642
|
+
caption: "强度",
|
|
48643
|
+
items: re.value,
|
|
48644
|
+
"model-value": p.value.effort || "",
|
|
48645
|
+
label: `${e.name} 的思考强度`,
|
|
48646
|
+
"onUpdate:modelValue": n[8] ||= (t) => I(a).write_launch(e.name, "effort", t)
|
|
48647
|
+
}, null, 8, [
|
|
48648
|
+
"items",
|
|
48649
|
+
"model-value",
|
|
48650
|
+
"label"
|
|
48651
|
+
])])) : (U(), W("p", QJ, P(k.value.effort_note), 1)),
|
|
48652
|
+
K("button", {
|
|
48653
|
+
type: "button",
|
|
48654
|
+
class: "expert-card-defaults",
|
|
48655
|
+
title: "留空使用 CLI 默认值",
|
|
48656
|
+
"aria-label": `恢复 ${e.name} 的默认模型与强度`,
|
|
48657
|
+
disabled: !p.value.model && !p.value.effort,
|
|
48658
|
+
onClick: Ie
|
|
48659
|
+
}, "恢复默认", 8, $J)
|
|
48660
|
+
], 64)) : (U(), W("p", eY, [q(d, { name: e.mode === "online" ? "i-lucide-globe" : "i-lucide-monitor" }, null, 8, ["name"]), J(P(ne.value), 1)]))
|
|
48661
|
+
]), K("span", tY, [K("button", {
|
|
48662
|
+
type: "button",
|
|
48663
|
+
class: "expert-card-flip is-cancel",
|
|
48664
|
+
"aria-label": `放弃 ${e.name} 的修改`,
|
|
48665
|
+
onClick: xe
|
|
48666
|
+
}, "取消", 8, nY), K("button", {
|
|
48667
|
+
ref_key: "back_button",
|
|
48668
|
+
ref: u,
|
|
48669
|
+
type: "button",
|
|
48670
|
+
class: "expert-card-flip is-done",
|
|
48671
|
+
"aria-label": `保存并返回 ${e.name} 角色卡片`,
|
|
48672
|
+
onClick: n[9] ||= (e) => be(!1)
|
|
48673
|
+
}, [q(d, { name: "i-lucide-check" }), n[19] ||= J("完成", -1)], 8, rY)])], 8, LJ)) : Y("", !0)]),
|
|
48674
|
+
_: 1
|
|
48675
|
+
}, 8, ["style"]),
|
|
48676
|
+
q(gJ, {
|
|
48677
|
+
open: Ce.value,
|
|
48678
|
+
"onUpdate:open": n[10] ||= (e) => Ce.value = e,
|
|
48679
|
+
name: e.name,
|
|
48680
|
+
platform: I(a).platform_of(e.name),
|
|
48681
|
+
text: Se.value,
|
|
48682
|
+
template: I(a).description_template(e.name),
|
|
48683
|
+
onSave: we
|
|
48684
|
+
}, null, 8, [
|
|
48685
|
+
"open",
|
|
48686
|
+
"name",
|
|
48687
|
+
"platform",
|
|
48688
|
+
"text",
|
|
48689
|
+
"template"
|
|
48690
|
+
]),
|
|
48691
|
+
q(mJ, {
|
|
48692
|
+
open: ke.value,
|
|
48693
|
+
"onUpdate:open": n[11] ||= (e) => ke.value = e,
|
|
48694
|
+
draft: Ae.value,
|
|
48695
|
+
"onUpdate:draft": n[12] ||= (e) => Ae.value = e,
|
|
48696
|
+
title: `${e.name} 的专属提示词`,
|
|
48697
|
+
description: "只发给这位专家,补充它的做法与偏好;不改变权限和技能规则。",
|
|
48698
|
+
label: `${e.name} 的专属提示词`,
|
|
48699
|
+
placeholder: "例如:回答先给结论,控制在三段以内。",
|
|
48700
|
+
max: I(_J),
|
|
48701
|
+
rows: 8,
|
|
48702
|
+
note: Me.value,
|
|
48703
|
+
source: Ne.value,
|
|
48704
|
+
changed: je.value,
|
|
48705
|
+
onSave: Fe
|
|
48706
|
+
}, null, 8, [
|
|
48707
|
+
"open",
|
|
48708
|
+
"draft",
|
|
48709
|
+
"title",
|
|
48710
|
+
"label",
|
|
48711
|
+
"max",
|
|
48712
|
+
"note",
|
|
48713
|
+
"source",
|
|
48714
|
+
"changed"
|
|
48715
|
+
])
|
|
48716
|
+
], 42, yJ);
|
|
48414
48717
|
};
|
|
48415
48718
|
}
|
|
48416
|
-
}, [["__scopeId", "data-v-
|
|
48719
|
+
}, [["__scopeId", "data-v-da98ab12"]]), sY = ["aria-label"], cY = [
|
|
48417
48720
|
"disabled",
|
|
48418
48721
|
"title",
|
|
48419
48722
|
"aria-label",
|
|
48420
48723
|
"onClick"
|
|
48421
|
-
],
|
|
48724
|
+
], lY = /*#__PURE__*/ XH({
|
|
48422
48725
|
__name: "RosterAdd",
|
|
48423
48726
|
props: {
|
|
48424
48727
|
label: {
|
|
@@ -48466,17 +48769,17 @@ var hU = /*#__PURE__*/ XH({
|
|
|
48466
48769
|
]),
|
|
48467
48770
|
J(P(e.name), 1),
|
|
48468
48771
|
q(o, { name: "i-lucide-plus" })
|
|
48469
|
-
], 8,
|
|
48772
|
+
], 8, cY))), 128))], 8, sY);
|
|
48470
48773
|
};
|
|
48471
48774
|
}
|
|
48472
|
-
}, [["__scopeId", "data-v-155b366c"]]),
|
|
48775
|
+
}, [["__scopeId", "data-v-155b366c"]]), uY = { class: "scheduler-settings" }, dY = { class: "scheduler-title" }, fY = { class: "scheduler-description" }, pY = {
|
|
48473
48776
|
key: 0,
|
|
48474
48777
|
class: "scheduler-cards"
|
|
48475
|
-
},
|
|
48778
|
+
}, mY = { class: "scheduler-identity" }, hY = { class: "scheduler-facts" }, gY = ["title"], _Y = { class: "scheduler-flip" }, vY = { class: "scheduler-tools" }, yY = ["aria-label"], bY = { class: "scheduler-back" }, xY = { class: "scheduler-heading" }, SY = { class: "scheduler-field" }, CY = { class: "scheduler-field" }, wY = {
|
|
48476
48779
|
key: 0,
|
|
48477
48780
|
role: "alert",
|
|
48478
48781
|
class: "scheduler-error"
|
|
48479
|
-
},
|
|
48782
|
+
}, TY = ["role"], EY = { class: "scheduler-flip-actions" }, DY = "••••••••••••", OY = /*#__PURE__*/ XH({
|
|
48480
48783
|
__name: "SchedulerSettings",
|
|
48481
48784
|
props: {
|
|
48482
48785
|
free: {
|
|
@@ -48588,8 +48891,8 @@ var hU = /*#__PURE__*/ XH({
|
|
|
48588
48891
|
}
|
|
48589
48892
|
return (t, a) => {
|
|
48590
48893
|
let g = WV, D = pA, O = sA, ee = MA, k = uK, te = YV;
|
|
48591
|
-
return U(), W("div",
|
|
48592
|
-
K("div", null, [K("p",
|
|
48894
|
+
return U(), W("div", uY, [
|
|
48895
|
+
K("div", null, [K("p", dY, [
|
|
48593
48896
|
a[5] ||= J("智能调度", -1),
|
|
48594
48897
|
q(g, {
|
|
48595
48898
|
size: "xs",
|
|
@@ -48600,16 +48903,16 @@ var hU = /*#__PURE__*/ XH({
|
|
|
48600
48903
|
_: 1
|
|
48601
48904
|
}),
|
|
48602
48905
|
a[6] ||= K("small", null, "可选", -1)
|
|
48603
|
-
]), K("p",
|
|
48604
|
-
q(
|
|
48906
|
+
]), K("p", fY, P(e.blocker ? `${T.value}(${e.blocker})` : T.value), 1)]),
|
|
48907
|
+
q(lY, {
|
|
48605
48908
|
ref_key: "add_row",
|
|
48606
48909
|
ref: l,
|
|
48607
48910
|
label: "添加决策模型",
|
|
48608
48911
|
items: u.value,
|
|
48609
48912
|
onAdd: y
|
|
48610
48913
|
}, null, 8, ["items"]),
|
|
48611
|
-
c.value ? (U(), W("div",
|
|
48612
|
-
K("div",
|
|
48914
|
+
c.value ? (U(), W("div", pY, [K("div", { class: M(["scheduler-card", { "is-editing": h.value }]) }, [h.value ? (U(), W(H, { key: 1 }, [K("div", bY, [
|
|
48915
|
+
K("div", xY, [K("strong", null, [J(P(x.value), 1), a[11] ||= K("span", null, "设置", -1)]), q(ee, {
|
|
48613
48916
|
icon: "i-lucide-zap",
|
|
48614
48917
|
"aria-label": "检查智能调度配置",
|
|
48615
48918
|
title: "检查配置:向决策模型发送一道极短的是非题,核对供应商、模型与密钥",
|
|
@@ -48624,7 +48927,7 @@ var hU = /*#__PURE__*/ XH({
|
|
|
48624
48927
|
"loading",
|
|
48625
48928
|
"disabled"
|
|
48626
48929
|
])]),
|
|
48627
|
-
K("div",
|
|
48930
|
+
K("div", SY, [a[12] ||= K("span", null, "模型", -1), q(k, {
|
|
48628
48931
|
mode: "autocomplete",
|
|
48629
48932
|
"ignore-filter": "",
|
|
48630
48933
|
"model-value": i.value.model || "",
|
|
@@ -48636,7 +48939,7 @@ var hU = /*#__PURE__*/ XH({
|
|
|
48636
48939
|
class: "w-full",
|
|
48637
48940
|
"onUpdate:modelValue": a[0] ||= (e) => I(r).write_scheduler("model", e)
|
|
48638
48941
|
}, null, 8, ["model-value", "items"])]),
|
|
48639
|
-
K("div",
|
|
48942
|
+
K("div", CY, [a[13] ||= K("span", null, "密钥", -1), q(te, {
|
|
48640
48943
|
modelValue: d.value,
|
|
48641
48944
|
"onUpdate:modelValue": a[2] ||= (e) => d.value = e,
|
|
48642
48945
|
type: "text",
|
|
@@ -48644,7 +48947,7 @@ var hU = /*#__PURE__*/ XH({
|
|
|
48644
48947
|
spellcheck: "false",
|
|
48645
48948
|
"data-1p-ignore": "",
|
|
48646
48949
|
"data-lpignore": "true",
|
|
48647
|
-
placeholder: i.value.api_key_ref ?
|
|
48950
|
+
placeholder: i.value.api_key_ref ? DY : "填写所选供应商的 API Key",
|
|
48648
48951
|
title: i.value.api_key_ref && !d.value ? "已保存;本机不回传密钥,输入新 Key 可更换" : void 0,
|
|
48649
48952
|
"aria-label": "智能调度 API Key",
|
|
48650
48953
|
size: "xs",
|
|
@@ -48679,14 +48982,14 @@ var hU = /*#__PURE__*/ XH({
|
|
|
48679
48982
|
"loading",
|
|
48680
48983
|
"ui"
|
|
48681
48984
|
])]),
|
|
48682
|
-
m.value ? (U(), W("p",
|
|
48985
|
+
m.value ? (U(), W("p", wY, P(m.value), 1)) : Y("", !0),
|
|
48683
48986
|
C.value.message ? (U(), W("p", {
|
|
48684
48987
|
key: 1,
|
|
48685
48988
|
role: C.value.state === "error" ? "alert" : "status",
|
|
48686
48989
|
class: M(C.value.state === "error" ? "scheduler-error" : "scheduler-ok")
|
|
48687
|
-
}, P(C.value.message), 11,
|
|
48990
|
+
}, P(C.value.message), 11, TY)) : Y("", !0),
|
|
48688
48991
|
a[14] ||= K("p", { class: "scheduler-note" }, "决策模型只做选择、不生成文本,只按输入计费。判断时会把房间标题和最近 10 条消息发给所选供应商;密钥只存本机。", -1)
|
|
48689
|
-
]), K("span",
|
|
48992
|
+
]), K("span", EY, [K("button", {
|
|
48690
48993
|
type: "button",
|
|
48691
48994
|
class: "scheduler-flip is-cancel",
|
|
48692
48995
|
"aria-label": "放弃决策模型的修改",
|
|
@@ -48703,7 +49006,7 @@ var hU = /*#__PURE__*/ XH({
|
|
|
48703
49006
|
title: "点击设置",
|
|
48704
49007
|
onClick: _
|
|
48705
49008
|
}, [
|
|
48706
|
-
K("span",
|
|
49009
|
+
K("span", mY, [q(D, {
|
|
48707
49010
|
src: s[i.value.provider]?.icon,
|
|
48708
49011
|
text: x.value.slice(0, 2),
|
|
48709
49012
|
alt: x.value,
|
|
@@ -48715,40 +49018,40 @@ var hU = /*#__PURE__*/ XH({
|
|
|
48715
49018
|
"alt",
|
|
48716
49019
|
"class"
|
|
48717
49020
|
]), K("strong", null, P(x.value), 1)]),
|
|
48718
|
-
K("dl",
|
|
48719
|
-
K("span",
|
|
48720
|
-
]), K("span",
|
|
49021
|
+
K("dl", hY, [K("div", null, [a[8] ||= K("dt", null, "状态", -1), K("dd", { class: M(`is-${S.value.tone}`) }, [a[7] ||= K("i", { "aria-hidden": "true" }, null, -1), J(P(S.value.text), 1)], 2)]), K("div", null, [a[9] ||= K("dt", null, "模型", -1), K("dd", { title: i.value.model }, P(i.value.model || "未选择"), 9, gY)])]),
|
|
49022
|
+
K("span", _Y, [q(O, { name: "i-lucide-settings-2" }), a[10] ||= J("设置", -1)])
|
|
49023
|
+
]), K("span", vY, [K("button", {
|
|
48721
49024
|
type: "button",
|
|
48722
49025
|
"aria-label": `移出决策模型 ${x.value}`,
|
|
48723
49026
|
title: "移出",
|
|
48724
49027
|
onClick: b
|
|
48725
|
-
}, [q(O, { name: "i-lucide-x" })], 8,
|
|
49028
|
+
}, [q(O, { name: "i-lucide-x" })], 8, yY)])], 64))], 2)])) : Y("", !0)
|
|
48726
49029
|
]);
|
|
48727
49030
|
};
|
|
48728
49031
|
}
|
|
48729
|
-
}, [["__scopeId", "data-v-3e1049d5"]]),
|
|
49032
|
+
}, [["__scopeId", "data-v-3e1049d5"]]), kY = { class: "create-discussion" }, AY = {
|
|
48730
49033
|
key: 0,
|
|
48731
49034
|
class: "create-connect",
|
|
48732
49035
|
role: "status"
|
|
48733
|
-
},
|
|
49036
|
+
}, jY = { class: "create-connect-command" }, MY = {
|
|
48734
49037
|
key: 1,
|
|
48735
49038
|
class: "channel-create-location"
|
|
48736
|
-
},
|
|
49039
|
+
}, NY = { class: "create-section" }, PY = { class: "create-section" }, FY = {
|
|
48737
49040
|
key: 0,
|
|
48738
49041
|
class: "create-experts",
|
|
48739
49042
|
role: "group",
|
|
48740
49043
|
"aria-label": "参与的 AI"
|
|
48741
|
-
},
|
|
49044
|
+
}, IY = {
|
|
48742
49045
|
key: 1,
|
|
48743
49046
|
class: "create-experts-empty"
|
|
48744
|
-
},
|
|
49047
|
+
}, LY = {
|
|
48745
49048
|
key: 2,
|
|
48746
49049
|
class: "fine-print create-hint create-host-hint"
|
|
48747
|
-
},
|
|
49050
|
+
}, RY = { class: "create-section" }, zY = { class: "create-footer" }, BY = {
|
|
48748
49051
|
key: 0,
|
|
48749
49052
|
role: "alert",
|
|
48750
49053
|
class: "create-error"
|
|
48751
|
-
},
|
|
49054
|
+
}, VY = { class: "create-footer-row" }, HY = ["title"], UY = "new-expert-modes", WY = 3e3, GY = /*#__PURE__*/ XH({
|
|
48752
49055
|
__name: "CreateDiscussion",
|
|
48753
49056
|
props: { targetFolder: {
|
|
48754
49057
|
type: Object,
|
|
@@ -48756,7 +49059,7 @@ var hU = /*#__PURE__*/ XH({
|
|
|
48756
49059
|
} },
|
|
48757
49060
|
emits: ["submit", "cancel"],
|
|
48758
49061
|
setup(e, { emit: t }) {
|
|
48759
|
-
let n = t, { view: r, bridge: i, pending: a, act: o } = xr("discussion"), s = Object.keys(i.identities).filter((e) => e !== "用户"), c = (e) => `new-room-${e}`, l = (e) => r.value.fields[c(e)] ?? "", u = (e, t) => i.write_field(c(e), t), d = Z(() => !!r.value.create_discussion), f = Z(() => r.value.experts[
|
|
49062
|
+
let n = t, { view: r, bridge: i, pending: a, act: o } = xr("discussion"), s = Object.keys(i.identities).filter((e) => e !== "用户"), c = (e) => `new-room-${e}`, l = (e) => r.value.fields[c(e)] ?? "", u = (e, t) => i.write_field(c(e), t), d = Z(() => !!r.value.create_discussion), f = Z(() => r.value.experts[UY] || {}), p = /* @__PURE__ */ F([]), m = Z(() => Object.keys(f.value).filter((e) => f.value[e]));
|
|
48760
49063
|
R(m, (e) => {
|
|
48761
49064
|
p.value = [...p.value.filter((t) => e.includes(t)), ...e.filter((e) => !p.value.includes(e))];
|
|
48762
49065
|
}, { immediate: !0 });
|
|
@@ -48780,14 +49083,14 @@ var hU = /*#__PURE__*/ XH({
|
|
|
48780
49083
|
Qi(() => {
|
|
48781
49084
|
ae(), ie = window.setInterval(() => {
|
|
48782
49085
|
re.value && !document.hidden && o("check_launch_connection");
|
|
48783
|
-
},
|
|
49086
|
+
}, WY);
|
|
48784
49087
|
}), ta(() => window.clearInterval(ie));
|
|
48785
49088
|
function oe(e) {
|
|
48786
49089
|
i.write_create_discussion(e), Qn(ae);
|
|
48787
49090
|
}
|
|
48788
49091
|
let se = (e) => i.launch_clients[e]?.some((e) => e.value !== "api"), ce = (e) => d.value && e === v.value ? [] : ["cli", "manual"];
|
|
48789
49092
|
function le(e, t) {
|
|
48790
|
-
t === "cli" && !se(e) && !r.value.launch.profiles[e]?.adapter && i.write_launch(e, "adapter", "api"), i.write_expert(
|
|
49093
|
+
t === "cli" && !se(e) && !r.value.launch.profiles[e]?.adapter && i.write_launch(e, "adapter", "api"), i.write_expert(UY, e, t), ae();
|
|
48791
49094
|
}
|
|
48792
49095
|
function ue(e) {
|
|
48793
49096
|
if (f.value[e] === "online") return {
|
|
@@ -48826,7 +49129,7 @@ var hU = /*#__PURE__*/ XH({
|
|
|
48826
49129
|
aria_label: `添加 ${e} 实例`
|
|
48827
49130
|
})));
|
|
48828
49131
|
function pe(e) {
|
|
48829
|
-
i.launch_clients[e] && (!se(e) && !r.value.launch.profiles[e]?.adapter && i.write_launch(e, "adapter", "api"), g(e) ? i.add_instance(
|
|
49132
|
+
i.launch_clients[e] && (!se(e) && !r.value.launch.profiles[e]?.adapter && i.write_launch(e, "adapter", "api"), g(e) ? i.add_instance(UY, e, "cli") : le(e, "cli"), ae());
|
|
48830
49133
|
}
|
|
48831
49134
|
function me(e) {
|
|
48832
49135
|
le(e, ""), Qn(() => _.value?.focus_first());
|
|
@@ -48848,20 +49151,20 @@ var hU = /*#__PURE__*/ XH({
|
|
|
48848
49151
|
});
|
|
48849
49152
|
return (t, s) => {
|
|
48850
49153
|
let c = sA, p = MA, m = YV, g = zV, x = Xq, T = HV;
|
|
48851
|
-
return U(), W("div",
|
|
49154
|
+
return U(), W("div", kY, [K("form", {
|
|
48852
49155
|
id: "create-discussion-form",
|
|
48853
49156
|
class: "create-scroll dialog-form",
|
|
48854
49157
|
onSubmit: uu(he, ["prevent"])
|
|
48855
49158
|
}, [
|
|
48856
|
-
re.value ? (U(), W("div",
|
|
49159
|
+
re.value ? (U(), W("div", AY, [K("p", null, [q(c, { name: "i-lucide-plug-zap" }), s[9] ||= J("本机服务未连接,连接后才能唤醒本机 AI。在运行 AI 的电脑上执行下面的命令并完成网页授权,连上后自动检测。", -1)]), K("div", jY, [K("code", null, P(I(r).launch.connect_command), 1), q(p, {
|
|
48857
49160
|
icon: "i-lucide-copy",
|
|
48858
49161
|
"aria-label": "复制本机连接命令",
|
|
48859
49162
|
variant: "ghost",
|
|
48860
49163
|
color: "neutral",
|
|
48861
49164
|
onClick: s[0] ||= (e) => I(o)("copy", I(r).launch.connect_command)
|
|
48862
49165
|
})])])) : Y("", !0),
|
|
48863
|
-
e.targetFolder?.id ? (U(), W("p",
|
|
48864
|
-
K("section",
|
|
49166
|
+
e.targetFolder?.id ? (U(), W("p", MY, [q(c, { name: "i-lucide-folder" }), J(P(e.targetFolder.name), 1)])) : Y("", !0),
|
|
49167
|
+
K("section", NY, [
|
|
48865
49168
|
s[10] ||= K("h3", null, [K("span", null, "1"), J("这次做什么")], -1),
|
|
48866
49169
|
q(g, {
|
|
48867
49170
|
label: "话题名称",
|
|
@@ -48887,16 +49190,16 @@ var hU = /*#__PURE__*/ XH({
|
|
|
48887
49190
|
_: 1
|
|
48888
49191
|
}, 8, ["description"])
|
|
48889
49192
|
]),
|
|
48890
|
-
K("section",
|
|
49193
|
+
K("section", PY, [
|
|
48891
49194
|
s[11] ||= K("h3", null, [K("span", null, "2"), J("谁来参与")], -1),
|
|
48892
|
-
q(
|
|
49195
|
+
q(lY, {
|
|
48893
49196
|
ref_key: "library",
|
|
48894
49197
|
ref: _,
|
|
48895
49198
|
label: "添加 AI",
|
|
48896
49199
|
items: fe.value,
|
|
48897
49200
|
onAdd: pe
|
|
48898
49201
|
}, null, 8, ["items"]),
|
|
48899
|
-
h.value.length ? (U(), W("div",
|
|
49202
|
+
h.value.length ? (U(), W("div", FY, [(U(!0), W(H, null, B(h.value, (e) => (U(), G(oY, {
|
|
48900
49203
|
key: e,
|
|
48901
49204
|
name: e,
|
|
48902
49205
|
mode: f.value[e],
|
|
@@ -48918,14 +49221,14 @@ var hU = /*#__PURE__*/ XH({
|
|
|
48918
49221
|
"onHost",
|
|
48919
49222
|
"onRemove",
|
|
48920
49223
|
"onMode"
|
|
48921
|
-
]))), 128))])) : (U(), W("p",
|
|
48922
|
-
h.value.length ? (U(), W("div",
|
|
48923
|
-
q(
|
|
49224
|
+
]))), 128))])) : (U(), W("p", IY, "请至少添加一位成员。同一平台可添加多位,各自独立会话。")),
|
|
49225
|
+
h.value.length ? (U(), W("div", LY, [q(c, { name: "i-lucide-crown" }), K("span", null, P(y.value.length ? "点卡片上的皇冠指定主持人:没 @ 任何人的消息由它分配;其他成员只在被你或主持人点名时发言。" : "需要一位本地 AI 做主持人,没 @ 的消息才有人接。"), 1)])) : Y("", !0),
|
|
49226
|
+
q(OY, {
|
|
48924
49227
|
free: !0,
|
|
48925
49228
|
blocker: te.value
|
|
48926
49229
|
}, null, 8, ["blocker"])
|
|
48927
49230
|
]),
|
|
48928
|
-
K("section",
|
|
49231
|
+
K("section", RY, [
|
|
48929
49232
|
s[12] ||= K("h3", null, [K("span", null, "3"), J("推进方式(可选)")], -1),
|
|
48930
49233
|
q(x, {
|
|
48931
49234
|
"model-value": d.value,
|
|
@@ -48971,7 +49274,7 @@ var hU = /*#__PURE__*/ XH({
|
|
|
48971
49274
|
"execution_minutes"
|
|
48972
49275
|
])], 64)) : Y("", !0)
|
|
48973
49276
|
])
|
|
48974
|
-
], 32), K("footer",
|
|
49277
|
+
], 32), K("footer", zY, [D.value && I(r).launch.error ? (U(), W("p", BY, P(I(r).launch.error), 1)) : Y("", !0), K("div", VY, [
|
|
48975
49278
|
K("span", {
|
|
48976
49279
|
class: M(["create-summary", { "is-blocked": A.value }]),
|
|
48977
49280
|
title: A.value || ge.value,
|
|
@@ -48979,7 +49282,7 @@ var hU = /*#__PURE__*/ XH({
|
|
|
48979
49282
|
}, [A.value ? (U(), G(c, {
|
|
48980
49283
|
key: 0,
|
|
48981
49284
|
name: "i-lucide-circle-alert"
|
|
48982
|
-
})) : Y("", !0), J(P(A.value ? `还差:${A.value}` : h.value.length || d.value ? ge.value : ""), 1)], 10,
|
|
49285
|
+
})) : Y("", !0), J(P(A.value ? `还差:${A.value}` : h.value.length || d.value ? ge.value : ""), 1)], 10, HY),
|
|
48983
49286
|
q(p, {
|
|
48984
49287
|
label: "取消",
|
|
48985
49288
|
color: "neutral",
|
|
@@ -49003,46 +49306,46 @@ var hU = /*#__PURE__*/ XH({
|
|
|
49003
49306
|
])])]);
|
|
49004
49307
|
};
|
|
49005
49308
|
}
|
|
49006
|
-
}, [["__scopeId", "data-v-61eb0b0c"]]),
|
|
49309
|
+
}, [["__scopeId", "data-v-61eb0b0c"]]), KY = {
|
|
49007
49310
|
class: "account-settings",
|
|
49008
49311
|
"aria-labelledby": "account-heading"
|
|
49009
|
-
},
|
|
49312
|
+
}, qY = {
|
|
49010
49313
|
key: 0,
|
|
49011
49314
|
class: "fine-print",
|
|
49012
49315
|
role: "status"
|
|
49013
|
-
},
|
|
49316
|
+
}, JY = ["aria-label"], YY = { class: "fine-print account-intro" }, XY = {
|
|
49014
49317
|
key: 0,
|
|
49015
49318
|
class: "account-message is-error",
|
|
49016
49319
|
role: "status"
|
|
49017
|
-
},
|
|
49320
|
+
}, ZY = {
|
|
49018
49321
|
key: 1,
|
|
49019
49322
|
class: "fine-print"
|
|
49020
|
-
},
|
|
49323
|
+
}, QY = {
|
|
49021
49324
|
key: 1,
|
|
49022
49325
|
class: "fine-print"
|
|
49023
|
-
},
|
|
49326
|
+
}, $Y = {
|
|
49024
49327
|
key: 2,
|
|
49025
49328
|
class: "account-message is-error",
|
|
49026
49329
|
role: "alert"
|
|
49027
|
-
},
|
|
49330
|
+
}, eX = {
|
|
49028
49331
|
key: 3,
|
|
49029
49332
|
class: "account-message",
|
|
49030
49333
|
role: "status"
|
|
49031
|
-
},
|
|
49334
|
+
}, tX = { class: "account-actions" }, nX = {
|
|
49032
49335
|
key: 2,
|
|
49033
49336
|
class: "account-profile"
|
|
49034
|
-
},
|
|
49337
|
+
}, rX = { class: "account-identity" }, iX = { class: "account-avatar-actions" }, aX = { class: "account-name-row" }, oX = {
|
|
49035
49338
|
key: 0,
|
|
49036
49339
|
class: "account-message is-error",
|
|
49037
49340
|
role: "alert"
|
|
49038
|
-
},
|
|
49341
|
+
}, sX = {
|
|
49039
49342
|
key: 1,
|
|
49040
49343
|
class: "account-message",
|
|
49041
49344
|
role: "status"
|
|
49042
|
-
},
|
|
49345
|
+
}, cX = {
|
|
49043
49346
|
key: 2,
|
|
49044
49347
|
class: "account-signout account-actions"
|
|
49045
|
-
},
|
|
49348
|
+
}, lX = {
|
|
49046
49349
|
__name: "AccountSettings",
|
|
49047
49350
|
setup(e) {
|
|
49048
49351
|
let { view: t, bridge: n } = xr("discussion"), r = Z(() => t.value.admin), i = Z(() => r.value.profile), a = Z(() => r.value.loaded ? r.value.registered ? r.value.logged_in ? "profile" : "login" : "register" : "loading"), o = /* @__PURE__ */ F(""), s = /* @__PURE__ */ Yt({
|
|
@@ -49110,13 +49413,13 @@ var hU = /*#__PURE__*/ XH({
|
|
|
49110
49413
|
}
|
|
49111
49414
|
return (e, t) => {
|
|
49112
49415
|
let p = YV, y = zV, b = MA, x = pA;
|
|
49113
|
-
return U(), W("section",
|
|
49416
|
+
return U(), W("section", KY, [t[8] ||= K("h3", { id: "account-heading" }, "账号", -1), a.value === "loading" ? (U(), W("p", qY, "正在读取账号状态…")) : a.value === "register" || a.value === "login" ? (U(), W("form", {
|
|
49114
49417
|
key: 1,
|
|
49115
49418
|
class: "dialog-form account-form",
|
|
49116
49419
|
"aria-label": a.value === "register" ? "设置管理员账号" : "登录管理员账号",
|
|
49117
49420
|
onSubmit: uu(m, ["prevent"])
|
|
49118
49421
|
}, [
|
|
49119
|
-
K("p",
|
|
49422
|
+
K("p", YY, [a.value === "register" ? (U(), W(H, { key: 0 }, [J("设置站点管理员账号:名称和头像对所有访客可见,登录后可在没有房间凭据的浏览器中存档、恢复、删除房间。")], 64)) : (U(), W(H, { key: 1 }, [J("登录后可管理房间;未登录时仍可阅读并使用本浏览器创建的房间。")], 64))]),
|
|
49120
49423
|
q(y, {
|
|
49121
49424
|
label: "用户名",
|
|
49122
49425
|
description: a.value === "register" ? "1–30 个字符,也是公开显示的名称" : void 0,
|
|
@@ -49183,18 +49486,18 @@ var hU = /*#__PURE__*/ XH({
|
|
|
49183
49486
|
}, null, 8, ["modelValue", "disabled"])]),
|
|
49184
49487
|
_: 1
|
|
49185
49488
|
}),
|
|
49186
|
-
f.value ? (U(), W("p",
|
|
49489
|
+
f.value ? (U(), W("p", XY, "服务端未配置安装令牌,暂时无法注册。本地版请设置环境变量 DISCUSS_ADMIN_SETUP_KEY 后重启;Cloudflare 版请配置部署机密 ADMIN_SETUP_KEY。")) : (U(), W("p", ZY, [...t[6] ||= [
|
|
49187
49490
|
J("首个注册者需要安装令牌,防止他人抢注。本地版见服务端启动日志;Cloudflare 版为部署机密 ADMIN_SETUP_KEY。忘记密码:本地版运行 ", -1),
|
|
49188
49491
|
K("code", null, "python server.py --reset-admin", -1),
|
|
49189
49492
|
J(" 后重新注册;Cloudflare 版需清空管理员表(见部署文档)。", -1)
|
|
49190
49493
|
]]))
|
|
49191
|
-
], 64)) : (U(), W("p",
|
|
49494
|
+
], 64)) : (U(), W("p", QY, [...t[7] ||= [
|
|
49192
49495
|
J("忘记密码:本地版运行 ", -1),
|
|
49193
49496
|
K("code", null, "python server.py --reset-admin", -1),
|
|
49194
49497
|
J(" 后重新注册;Cloudflare 版需清空管理员表(见部署文档)。", -1)
|
|
49195
49498
|
]])),
|
|
49196
|
-
s.auth.error ? (U(), W("p",
|
|
49197
|
-
K("div",
|
|
49499
|
+
s.auth.error ? (U(), W("p", $Y, P(s.auth.error), 1)) : s.auth.notice ? (U(), W("p", eX, P(s.auth.notice), 1)) : Y("", !0),
|
|
49500
|
+
K("div", tX, [q(b, {
|
|
49198
49501
|
type: "submit",
|
|
49199
49502
|
class: "channel-primary-button",
|
|
49200
49503
|
label: a.value === "register" ? "创建并登录" : "登录",
|
|
@@ -49205,13 +49508,13 @@ var hU = /*#__PURE__*/ XH({
|
|
|
49205
49508
|
"loading",
|
|
49206
49509
|
"disabled"
|
|
49207
49510
|
])])
|
|
49208
|
-
], 40,
|
|
49209
|
-
K("div",
|
|
49511
|
+
], 40, JY)) : (U(), W("div", nX, [
|
|
49512
|
+
K("div", rX, [q(x, {
|
|
49210
49513
|
src: I(n).identities.用户.icon,
|
|
49211
49514
|
alt: `${I(n).display_name("用户")} 的头像`,
|
|
49212
49515
|
size: "lg",
|
|
49213
49516
|
class: "channel-avatar user account-avatar"
|
|
49214
|
-
}, null, 8, ["src", "alt"]), K("div",
|
|
49517
|
+
}, null, 8, ["src", "alt"]), K("div", iX, [
|
|
49215
49518
|
K("input", {
|
|
49216
49519
|
ref_key: "avatar_input",
|
|
49217
49520
|
ref: u,
|
|
@@ -49249,7 +49552,7 @@ var hU = /*#__PURE__*/ XH({
|
|
|
49249
49552
|
label: "显示名称",
|
|
49250
49553
|
description: "即用户名,对所有访客可见"
|
|
49251
49554
|
}, {
|
|
49252
|
-
default: L(() => [K("div",
|
|
49555
|
+
default: L(() => [K("div", aX, [q(p, {
|
|
49253
49556
|
modelValue: l.value,
|
|
49254
49557
|
"onUpdate:modelValue": t[5] ||= (e) => l.value = e,
|
|
49255
49558
|
autocomplete: "username",
|
|
@@ -49267,8 +49570,8 @@ var hU = /*#__PURE__*/ XH({
|
|
|
49267
49570
|
}, null, 8, ["loading", "disabled"])])]),
|
|
49268
49571
|
_: 1
|
|
49269
49572
|
})], 32),
|
|
49270
|
-
s.profile.error ? (U(), W("p",
|
|
49271
|
-
r.value.local ? Y("", !0) : (U(), W("div",
|
|
49573
|
+
s.profile.error ? (U(), W("p", oX, P(s.profile.error), 1)) : s.profile.notice ? (U(), W("p", sX, P(s.profile.notice), 1)) : Y("", !0),
|
|
49574
|
+
r.value.local ? Y("", !0) : (U(), W("div", cX, [q(b, {
|
|
49272
49575
|
label: "退出登录",
|
|
49273
49576
|
icon: "i-lucide-log-out",
|
|
49274
49577
|
color: "neutral",
|
|
@@ -49281,65 +49584,65 @@ var hU = /*#__PURE__*/ XH({
|
|
|
49281
49584
|
]))]);
|
|
49282
49585
|
};
|
|
49283
49586
|
}
|
|
49284
|
-
},
|
|
49587
|
+
}, uX = {
|
|
49285
49588
|
key: 0,
|
|
49286
49589
|
class: "channel-archive-manager"
|
|
49287
|
-
},
|
|
49590
|
+
}, dX = { class: "channel-archive-toolbar" }, fX = {
|
|
49288
49591
|
key: 0,
|
|
49289
49592
|
class: "channel-archive-confirm channel-archive-bulk",
|
|
49290
49593
|
role: "alert"
|
|
49291
|
-
},
|
|
49594
|
+
}, pX = {
|
|
49292
49595
|
key: 1,
|
|
49293
49596
|
role: "alert",
|
|
49294
49597
|
class: "channel-directory-error"
|
|
49295
|
-
},
|
|
49598
|
+
}, mX = { class: "channel-archive-results" }, hX = {
|
|
49296
49599
|
key: 0,
|
|
49297
49600
|
class: "channel-archive-list",
|
|
49298
49601
|
"aria-label": "已存档房间列表"
|
|
49299
|
-
},
|
|
49602
|
+
}, gX = { class: "channel-archive-row" }, _X = { class: "channel-archive-info" }, vX = [
|
|
49300
49603
|
"title",
|
|
49301
49604
|
"disabled",
|
|
49302
49605
|
"onClick"
|
|
49303
|
-
],
|
|
49606
|
+
], yX = { key: 0 }, bX = ["datetime"], xX = { class: "channel-archive-actions" }, SX = {
|
|
49304
49607
|
key: 0,
|
|
49305
49608
|
class: "channel-archive-confirm channel-archive-bulk",
|
|
49306
49609
|
role: "alert"
|
|
49307
|
-
},
|
|
49610
|
+
}, CX = {
|
|
49308
49611
|
key: 1,
|
|
49309
49612
|
class: "channel-archive-empty"
|
|
49310
|
-
},
|
|
49613
|
+
}, wX = { class: "fine-print" }, TX = { class: "dialog-actions" }, EX = { class: "dialog-actions" }, DX = { class: "channel-management-target" }, OX = {
|
|
49311
49614
|
key: 0,
|
|
49312
49615
|
class: "fine-print"
|
|
49313
|
-
},
|
|
49616
|
+
}, kX = {
|
|
49314
49617
|
key: 1,
|
|
49315
49618
|
class: "fine-print"
|
|
49316
|
-
},
|
|
49619
|
+
}, AX = {
|
|
49317
49620
|
key: 2,
|
|
49318
49621
|
class: "fine-print"
|
|
49319
|
-
},
|
|
49622
|
+
}, jX = { class: "dialog-actions" }, MX = { key: 4 }, NX = { class: "theme-choices" }, PX = ["aria-pressed", "onClick"], FX = { class: "theme-check" }, IX = { class: "channel-reading-setting" }, LX = {
|
|
49320
49623
|
class: "channel-reading-options",
|
|
49321
49624
|
role: "group",
|
|
49322
49625
|
"aria-labelledby": "channel-reading-label"
|
|
49323
|
-
},
|
|
49626
|
+
}, RX = { class: "channel-reading-setting" }, zX = {
|
|
49324
49627
|
class: "channel-reading-options channel-effect-options",
|
|
49325
49628
|
role: "group",
|
|
49326
49629
|
"aria-labelledby": "channel-effects-label"
|
|
49327
|
-
},
|
|
49630
|
+
}, BX = { class: "form-two-columns" }, VX = { class: "advanced-content" }, HX = {
|
|
49328
49631
|
key: 0,
|
|
49329
49632
|
class: "fine-print"
|
|
49330
|
-
},
|
|
49633
|
+
}, UX = { class: "advanced-content" }, WX = { class: "expert-fields" }, GX = { class: "dialog-actions" }, KX = { class: "dialog-actions" }, qX = {
|
|
49331
49634
|
key: 8,
|
|
49332
49635
|
class: "original-message"
|
|
49333
|
-
},
|
|
49636
|
+
}, JX = {
|
|
49334
49637
|
key: 0,
|
|
49335
49638
|
role: "alert"
|
|
49336
|
-
},
|
|
49639
|
+
}, YX = { class: "original-meta" }, XX = { class: "fine-print" }, ZX = {
|
|
49337
49640
|
key: 0,
|
|
49338
49641
|
class: "channel-answer-summary"
|
|
49339
|
-
},
|
|
49642
|
+
}, QX = { class: "message-prose" }, $X = { class: "message-prose" }, eZ = ["innerHTML"], tZ = {
|
|
49340
49643
|
key: 2,
|
|
49341
49644
|
class: "fine-print"
|
|
49342
|
-
},
|
|
49645
|
+
}, nZ = "topic-expert-modes", rZ = {
|
|
49343
49646
|
__name: "WorkspaceDialogs",
|
|
49344
49647
|
props: /*@__PURE__*/ Fa({
|
|
49345
49648
|
detailId: {
|
|
@@ -49617,8 +49920,8 @@ var hU = /*#__PURE__*/ XH({
|
|
|
49617
49920
|
} : void 0,
|
|
49618
49921
|
"onAfter:leave": be
|
|
49619
49922
|
}, {
|
|
49620
|
-
body: L(() => [a.value === "archives" ? (U(), W("section",
|
|
49621
|
-
K("div",
|
|
49923
|
+
body: L(() => [a.value === "archives" ? (U(), W("section", uX, [
|
|
49924
|
+
K("div", dX, [
|
|
49622
49925
|
q(x, {
|
|
49623
49926
|
modelValue: h.value,
|
|
49624
49927
|
"onUpdate:modelValue": c[0] ||= (e) => h.value = e,
|
|
@@ -49647,7 +49950,7 @@ var hU = /*#__PURE__*/ XH({
|
|
|
49647
49950
|
}
|
|
49648
49951
|
}, null, 8, ["label", "disabled"])
|
|
49649
49952
|
]),
|
|
49650
|
-
b.value && v.value.length ? (U(), W("div",
|
|
49953
|
+
b.value && v.value.length ? (U(), W("div", fX, [
|
|
49651
49954
|
K("span", null, "将永久删除当前列表中的 " + P(v.value.length) + " 个房间及其全部记录,无法撤销。", 1),
|
|
49652
49955
|
q(le, {
|
|
49653
49956
|
label: "取消",
|
|
@@ -49663,20 +49966,20 @@ var hU = /*#__PURE__*/ XH({
|
|
|
49663
49966
|
onClick: D
|
|
49664
49967
|
})
|
|
49665
49968
|
])) : Y("", !0),
|
|
49666
|
-
I(o).directory_error ? (U(), W("p",
|
|
49667
|
-
K("div",
|
|
49969
|
+
I(o).directory_error ? (U(), W("p", pX, P(I(o).directory_error), 1)) : Y("", !0),
|
|
49970
|
+
K("div", mX, [v.value.length ? (U(), W("ul", hX, [(U(!0), W(H, null, B(v.value, (e) => (U(), W("li", {
|
|
49668
49971
|
key: e.id,
|
|
49669
49972
|
class: "channel-archive-item"
|
|
49670
|
-
}, [K("div",
|
|
49973
|
+
}, [K("div", gX, [K("div", _X, [K("button", {
|
|
49671
49974
|
class: "channel-archive-title",
|
|
49672
49975
|
title: e.title,
|
|
49673
49976
|
disabled: !!I(u),
|
|
49674
49977
|
onClick: (t) => T(e)
|
|
49675
|
-
}, P(e.title), 9,
|
|
49978
|
+
}, P(e.title), 9, vX), K("small", null, [e.created_at ? (U(), W("span", yX, [
|
|
49676
49979
|
c[26] ||= J("创建于 ", -1),
|
|
49677
|
-
K("time", { datetime: e.created_at }, P(C(e.created_at)), 9,
|
|
49980
|
+
K("time", { datetime: e.created_at }, P(C(e.created_at)), 9, bX),
|
|
49678
49981
|
c[27] ||= J(" · ", -1)
|
|
49679
|
-
])) : Y("", !0), J(P(e.message_count) + " 条消息", 1)])]), K("div",
|
|
49982
|
+
])) : Y("", !0), J(P(e.message_count) + " 条消息", 1)])]), K("div", xX, [q(le, {
|
|
49680
49983
|
"aria-label": `彻底删除 ${e.title}`,
|
|
49681
49984
|
title: "彻底删除",
|
|
49682
49985
|
icon: "i-lucide-trash-2",
|
|
@@ -49708,7 +50011,7 @@ var hU = /*#__PURE__*/ XH({
|
|
|
49708
50011
|
"aria-label",
|
|
49709
50012
|
"disabled",
|
|
49710
50013
|
"onClick"
|
|
49711
|
-
])])]), y.value === e.id ? (U(), W("div",
|
|
50014
|
+
])])]), y.value === e.id ? (U(), W("div", SX, [
|
|
49712
50015
|
K("span", null, "永久删除「" + P(e.title) + "」及其全部记录,无法撤销。", 1),
|
|
49713
50016
|
q(le, {
|
|
49714
50017
|
label: "取消",
|
|
@@ -49724,12 +50027,12 @@ var hU = /*#__PURE__*/ XH({
|
|
|
49724
50027
|
disabled: w(e),
|
|
49725
50028
|
onClick: E
|
|
49726
50029
|
}, null, 8, ["disabled"])
|
|
49727
|
-
])) : Y("", !0)]))), 128))])) : (U(), W("p",
|
|
50030
|
+
])) : Y("", !0)]))), 128))])) : (U(), W("p", CX, P(m.value.length ? "没有匹配的存档房间" : "暂无已存档房间"), 1))])
|
|
49728
50031
|
])) : a.value === "delete-folder" ? (U(), W("form", {
|
|
49729
50032
|
key: 1,
|
|
49730
50033
|
class: "dialog-form",
|
|
49731
50034
|
onSubmit: uu(re, ["prevent"])
|
|
49732
|
-
}, [K("p",
|
|
50035
|
+
}, [K("p", wX, "移除「" + P(e.targetFolder?.name) + "」后,房间不再归属文件夹,所有消息和存档状态都会保留。", 1), K("div", TX, [q(le, {
|
|
49733
50036
|
label: "取消",
|
|
49734
50037
|
color: "neutral",
|
|
49735
50038
|
variant: "ghost",
|
|
@@ -49760,7 +50063,7 @@ var hU = /*#__PURE__*/ XH({
|
|
|
49760
50063
|
"modelValue",
|
|
49761
50064
|
"aria-label",
|
|
49762
50065
|
"readonly"
|
|
49763
|
-
]), K("div",
|
|
50066
|
+
]), K("div", EX, [q(le, {
|
|
49764
50067
|
label: "取消",
|
|
49765
50068
|
color: "neutral",
|
|
49766
50069
|
variant: "ghost",
|
|
@@ -49785,10 +50088,10 @@ var hU = /*#__PURE__*/ XH({
|
|
|
49785
50088
|
class: "dialog-form",
|
|
49786
50089
|
onSubmit: uu(te, ["prevent"])
|
|
49787
50090
|
}, [
|
|
49788
|
-
K("p",
|
|
49789
|
-
a.value === "archive" ? (U(), W("p",
|
|
49790
|
-
a.value === "restore" ? (U(), W("p",
|
|
49791
|
-
a.value === "delete" ? (U(), W("p",
|
|
50091
|
+
K("p", DX, [J(P(e.targetRoom?.title) + " ", 1), K("span", null, "· " + P(e.targetRoom?.message_count) + " 条消息", 1)]),
|
|
50092
|
+
a.value === "archive" ? (U(), W("p", OX, "存档后可在侧栏「已存档」中查阅与恢复。已有发言安排会保留;专家需在下次检查时停止自己的定时任务。")) : Y("", !0),
|
|
50093
|
+
a.value === "restore" ? (U(), W("p", kX, "恢复不会自动继续讨论;需要继续时,在主持设置中调整阶段。")) : Y("", !0),
|
|
50094
|
+
a.value === "delete" ? (U(), W("p", AX, "消息、共识和发言安排将一起删除,无法撤销。")) : Y("", !0),
|
|
49792
50095
|
a.value === "rename" ? (U(), G(ue, {
|
|
49793
50096
|
key: 3,
|
|
49794
50097
|
label: "房间名称",
|
|
@@ -49805,7 +50108,7 @@ var hU = /*#__PURE__*/ XH({
|
|
|
49805
50108
|
}, null, 8, ["modelValue"])]),
|
|
49806
50109
|
_: 1
|
|
49807
50110
|
})) : Y("", !0),
|
|
49808
|
-
K("div",
|
|
50111
|
+
K("div", jX, [q(le, {
|
|
49809
50112
|
label: "取消",
|
|
49810
50113
|
color: "neutral",
|
|
49811
50114
|
variant: "ghost",
|
|
@@ -49822,10 +50125,10 @@ var hU = /*#__PURE__*/ XH({
|
|
|
49822
50125
|
"loading",
|
|
49823
50126
|
"disabled"
|
|
49824
50127
|
])])
|
|
49825
|
-
], 32)) : a.value === "settings" ? (U(), W("div",
|
|
49826
|
-
q(
|
|
50128
|
+
], 32)) : a.value === "settings" ? (U(), W("div", MX, [
|
|
50129
|
+
q(lX),
|
|
49827
50130
|
c[32] ||= K("h3", { class: "account-appearance-heading" }, "外观", -1),
|
|
49828
|
-
K("div",
|
|
50131
|
+
K("div", NX, [(U(), W(H, null, B(he, (e) => K("button", {
|
|
49829
50132
|
key: e.value,
|
|
49830
50133
|
class: M({ chosen: I(o).theme === e.value }),
|
|
49831
50134
|
"aria-pressed": I(o).theme === e.value,
|
|
@@ -49840,12 +50143,12 @@ var hU = /*#__PURE__*/ XH({
|
|
|
49840
50143
|
K("b")
|
|
49841
50144
|
], -1)]], 2),
|
|
49842
50145
|
K("span", null, [K("strong", null, P(e.title), 1), K("small", null, P(e.description), 1)]),
|
|
49843
|
-
K("span",
|
|
50146
|
+
K("span", FX, [I(o).theme === e.value ? (U(), G(ve, {
|
|
49844
50147
|
key: 0,
|
|
49845
50148
|
name: "i-lucide-check"
|
|
49846
50149
|
})) : Y("", !0)])
|
|
49847
|
-
], 10,
|
|
49848
|
-
K("section",
|
|
50150
|
+
], 10, PX)), 64))]),
|
|
50151
|
+
K("section", IX, [c[29] ||= K("h3", { id: "channel-reading-label" }, "对话宽度", -1), K("div", LX, [(U(!0), W(H, null, B(e.readingOptions, (e) => (U(), G(le, {
|
|
49849
50152
|
key: e.value,
|
|
49850
50153
|
label: e.label,
|
|
49851
50154
|
color: "neutral",
|
|
@@ -49859,9 +50162,9 @@ var hU = /*#__PURE__*/ XH({
|
|
|
49859
50162
|
"aria-pressed",
|
|
49860
50163
|
"onClick"
|
|
49861
50164
|
]))), 128))])]),
|
|
49862
|
-
K("section",
|
|
50165
|
+
K("section", RX, [
|
|
49863
50166
|
c[30] ||= K("h3", { id: "channel-effects-label" }, "视觉效果", -1),
|
|
49864
|
-
K("div",
|
|
50167
|
+
K("div", zX, [(U(!0), W(H, null, B(e.effectOptions, (e) => (U(), G(le, {
|
|
49865
50168
|
key: e.value,
|
|
49866
50169
|
label: e.label,
|
|
49867
50170
|
color: "neutral",
|
|
@@ -49877,7 +50180,7 @@ var hU = /*#__PURE__*/ XH({
|
|
|
49877
50180
|
]))), 128))]),
|
|
49878
50181
|
c[31] ||= K("p", { class: "fine-print" }, "精简模式关闭毛玻璃模糊与多层阴影,适合配置较低或需要更流畅滚动的设备。", -1)
|
|
49879
50182
|
])
|
|
49880
|
-
])) : a.value === "create" ? (U(), G(
|
|
50183
|
+
])) : a.value === "create" ? (U(), G(GY, {
|
|
49881
50184
|
key: 5,
|
|
49882
50185
|
"target-folder": e.targetFolder,
|
|
49883
50186
|
onSubmit: N,
|
|
@@ -49912,7 +50215,7 @@ var hU = /*#__PURE__*/ XH({
|
|
|
49912
50215
|
}, null, 8, ["model-value"])]),
|
|
49913
50216
|
_: 1
|
|
49914
50217
|
}),
|
|
49915
|
-
K("div",
|
|
50218
|
+
K("div", BX, [q(ue, { label: "主持人" }, {
|
|
49916
50219
|
default: L(() => [q(S, {
|
|
49917
50220
|
"model-value": I(o).fields[ge("host")],
|
|
49918
50221
|
items: I(A),
|
|
@@ -49946,7 +50249,7 @@ var hU = /*#__PURE__*/ XH({
|
|
|
49946
50249
|
}, null, 8, ["model-value"])]),
|
|
49947
50250
|
_: 1
|
|
49948
50251
|
})) : Y("", !0),
|
|
49949
|
-
K("section",
|
|
50252
|
+
K("section", VX, [
|
|
49950
50253
|
c[33] ||= K("h3", null, "讨论上限", -1),
|
|
49951
50254
|
q(bU, {
|
|
49952
50255
|
ref_key: "topic_limits",
|
|
@@ -49966,14 +50269,14 @@ var hU = /*#__PURE__*/ XH({
|
|
|
49966
50269
|
"execution",
|
|
49967
50270
|
"disabled"
|
|
49968
50271
|
]),
|
|
49969
|
-
ce.value ? (U(), W("p",
|
|
50272
|
+
ce.value ? (U(), W("p", HX, "修改上限前,请先把阶段保存为“已暂停”。")) : Y("", !0)
|
|
49970
50273
|
]),
|
|
49971
50274
|
q(we, {
|
|
49972
50275
|
open: oe.value,
|
|
49973
50276
|
"onUpdate:open": c[20] ||= (e) => oe.value = e,
|
|
49974
50277
|
class: "advanced-fields"
|
|
49975
50278
|
}, {
|
|
49976
|
-
content: L(() => [K("div",
|
|
50279
|
+
content: L(() => [K("div", UX, [
|
|
49977
50280
|
(U(), W(H, null, B([
|
|
49978
50281
|
{
|
|
49979
50282
|
key: "user_request",
|
|
@@ -50000,11 +50303,11 @@ var hU = /*#__PURE__*/ XH({
|
|
|
50000
50303
|
}, null, 8, ["model-value", "onUpdate:modelValue"])]),
|
|
50001
50304
|
_: 2
|
|
50002
50305
|
}, 1032, ["label"])), 64)),
|
|
50003
|
-
K("div",
|
|
50004
|
-
"model-value": I(o).experts[
|
|
50306
|
+
K("div", WX, [(U(!0), W(H, null, B(I(ie), (e) => (U(), W("div", { key: e }, [K("label", null, P(e), 1), q(S, {
|
|
50307
|
+
"model-value": I(o).experts[nZ]?.[e] || "none",
|
|
50005
50308
|
items: ae,
|
|
50006
50309
|
"aria-label": `${e} 参与方式`,
|
|
50007
|
-
"onUpdate:modelValue": (t) => I(s).write_expert(
|
|
50310
|
+
"onUpdate:modelValue": (t) => I(s).write_expert(nZ, e, t === "none" ? "" : t)
|
|
50008
50311
|
}, null, 8, [
|
|
50009
50312
|
"model-value",
|
|
50010
50313
|
"aria-label",
|
|
@@ -50022,7 +50325,7 @@ var hU = /*#__PURE__*/ XH({
|
|
|
50022
50325
|
}, null, 8, ["trailing-icon"])]),
|
|
50023
50326
|
_: 1
|
|
50024
50327
|
}, 8, ["open"]),
|
|
50025
|
-
K("div",
|
|
50328
|
+
K("div", GX, [q(le, {
|
|
50026
50329
|
label: "取消",
|
|
50027
50330
|
color: "neutral",
|
|
50028
50331
|
variant: "ghost",
|
|
@@ -50066,7 +50369,7 @@ var hU = /*#__PURE__*/ XH({
|
|
|
50066
50369
|
_: 1
|
|
50067
50370
|
}),
|
|
50068
50371
|
c[35] ||= K("p", { class: "fine-print" }, "创建后为待通知状态;由主持人实际联系专家。", -1),
|
|
50069
|
-
K("div",
|
|
50372
|
+
K("div", KX, [q(le, {
|
|
50070
50373
|
label: "取消",
|
|
50071
50374
|
variant: "ghost",
|
|
50072
50375
|
color: "neutral",
|
|
@@ -50077,8 +50380,8 @@ var hU = /*#__PURE__*/ XH({
|
|
|
50077
50380
|
label: "创建发言安排",
|
|
50078
50381
|
loading: I(u) === "schedule"
|
|
50079
50382
|
}, null, 8, ["loading"])])
|
|
50080
|
-
], 32)) : a.value === "message" ? (U(), W("div",
|
|
50081
|
-
K("div",
|
|
50383
|
+
], 32)) : a.value === "message" ? (U(), W("div", qX, [fe.value ? (U(), W("p", JX, P(fe.value), 1)) : de.value ? (U(), W(H, { key: 1 }, [
|
|
50384
|
+
K("div", YX, [
|
|
50082
50385
|
K("strong", null, P(I(s).display_name(de.value.author)), 1),
|
|
50083
50386
|
K("span", null, "#" + P(de.value.id), 1),
|
|
50084
50387
|
q(Te, {
|
|
@@ -50089,14 +50392,14 @@ var hU = /*#__PURE__*/ XH({
|
|
|
50089
50392
|
_: 1
|
|
50090
50393
|
})
|
|
50091
50394
|
]),
|
|
50092
|
-
K("p",
|
|
50093
|
-
de.value.summary ? (U(), W("section",
|
|
50094
|
-
K("p",
|
|
50395
|
+
K("p", XX, P(I(s).provenance(de.value)) + " · " + P(new Date(de.value.created_at).toLocaleString("zh-CN")), 1),
|
|
50396
|
+
de.value.summary ? (U(), W("section", ZX, [K("small", null, "回答摘要 · " + P(I(s).display_name(de.value.summary_by)), 1), K("p", QX, P(de.value.summary), 1)])) : Y("", !0),
|
|
50397
|
+
K("p", $X, P(de.value.text), 1),
|
|
50095
50398
|
de.value.attachments?.length ? (U(), W("div", {
|
|
50096
50399
|
key: 1,
|
|
50097
50400
|
onClick: ye,
|
|
50098
50401
|
innerHTML: I(s).attachment_markup(de.value.attachments)
|
|
50099
|
-
}, null, 8,
|
|
50402
|
+
}, null, 8, eZ)) : Y("", !0),
|
|
50100
50403
|
de.value.reply_to ? (U(), G(le, {
|
|
50101
50404
|
key: 2,
|
|
50102
50405
|
label: `查看被回复的原文 #${de.value.reply_to}`,
|
|
@@ -50106,7 +50409,7 @@ var hU = /*#__PURE__*/ XH({
|
|
|
50106
50409
|
class: "channel-surface-button",
|
|
50107
50410
|
onClick: xe
|
|
50108
50411
|
}, null, 8, ["label"])) : Y("", !0)
|
|
50109
|
-
], 64)) : (U(), W("p",
|
|
50412
|
+
], 64)) : (U(), W("p", tZ, "正在读取原文…"))])) : Y("", !0)]),
|
|
50110
50413
|
_: 1
|
|
50111
50414
|
}, 8, [
|
|
50112
50415
|
"open",
|
|
@@ -50117,7 +50420,7 @@ var hU = /*#__PURE__*/ XH({
|
|
|
50117
50420
|
]);
|
|
50118
50421
|
};
|
|
50119
50422
|
}
|
|
50120
|
-
},
|
|
50423
|
+
}, iZ = {
|
|
50121
50424
|
__name: "ContextMenuContent",
|
|
50122
50425
|
props: {
|
|
50123
50426
|
items: {
|
|
@@ -50412,7 +50715,7 @@ var hU = /*#__PURE__*/ XH({
|
|
|
50412
50715
|
"disabled",
|
|
50413
50716
|
"text-value",
|
|
50414
50717
|
"class"
|
|
50415
|
-
]), q(
|
|
50718
|
+
]), q(iZ, X({
|
|
50416
50719
|
sub: "",
|
|
50417
50720
|
class: r.ui?.content,
|
|
50418
50721
|
ui: e.ui,
|
|
@@ -50523,7 +50826,7 @@ var hU = /*#__PURE__*/ XH({
|
|
|
50523
50826
|
_: 3
|
|
50524
50827
|
}, 16)], 64));
|
|
50525
50828
|
}
|
|
50526
|
-
},
|
|
50829
|
+
}, aZ = {
|
|
50527
50830
|
slots: {
|
|
50528
50831
|
content: "min-w-32 max-h-(--reka-context-menu-content-available-height) bg-default shadow-lg rounded-md ring ring-default overflow-hidden data-[state=open]:animate-[scale-in_100ms_var(--ease-out)] data-[state=closed]:animate-[scale-out_100ms_var(--ease-out)] origin-(--reka-context-menu-content-transform-origin) flex flex-col",
|
|
50529
50832
|
viewport: "relative divide-y divide-default scroll-py-1 overflow-y-auto flex-1",
|
|
@@ -50711,7 +51014,7 @@ var hU = /*#__PURE__*/ XH({
|
|
|
50711
51014
|
}
|
|
50712
51015
|
],
|
|
50713
51016
|
defaultVariants: { size: "md" }
|
|
50714
|
-
},
|
|
51017
|
+
}, oZ = {
|
|
50715
51018
|
__name: "ContextMenu",
|
|
50716
51019
|
props: {
|
|
50717
51020
|
size: {
|
|
@@ -50781,7 +51084,7 @@ var hU = /*#__PURE__*/ XH({
|
|
|
50781
51084
|
emits: ["update:open"],
|
|
50782
51085
|
setup(e, { emit: t }) {
|
|
50783
51086
|
let n = e, r = t, i = Aa(), a = AE("contextMenu", n), o = Cm(), s = jE(om(a, "modal"), r), c = /* @__PURE__ */ Sn(() => a.content), l = () => Vm(i, ["default"]), u = Z(() => oA({
|
|
50784
|
-
extend:
|
|
51087
|
+
extend: aZ,
|
|
50785
51088
|
...o.ui?.contextMenu || {}
|
|
50786
51089
|
})({ size: a.size }));
|
|
50787
51090
|
return (e, t) => (U(), G(I(iC), N(Ss(I(s))), {
|
|
@@ -50793,7 +51096,7 @@ var hU = /*#__PURE__*/ XH({
|
|
|
50793
51096
|
}, {
|
|
50794
51097
|
default: L(() => [V(e.$slots, "default")]),
|
|
50795
51098
|
_: 3
|
|
50796
|
-
}, 8, ["disabled", "class"])) : Y("", !0), q(
|
|
51099
|
+
}, 8, ["disabled", "class"])) : Y("", !0), q(iZ, X({
|
|
50797
51100
|
class: u.value.content({ class: [!i.default && I(a).class, I(a).ui?.content] }),
|
|
50798
51101
|
ui: u.value,
|
|
50799
51102
|
"ui-override": I(a).ui
|
|
@@ -50823,47 +51126,47 @@ var hU = /*#__PURE__*/ XH({
|
|
|
50823
51126
|
_: 3
|
|
50824
51127
|
}, 16));
|
|
50825
51128
|
}
|
|
50826
|
-
},
|
|
51129
|
+
}, sZ = { class: "channel-directory-manager" }, cZ = { class: "channel-directory-heading" }, lZ = ["aria-expanded"], uZ = { class: "channel-directory-actions" }, dZ = {
|
|
50827
51130
|
"aria-label": "协作房间列表",
|
|
50828
51131
|
class: "channel-room-list",
|
|
50829
51132
|
"data-room-directory": ""
|
|
50830
|
-
},
|
|
51133
|
+
}, fZ = ["data-room-folder", "data-drag-folder"], pZ = [
|
|
50831
51134
|
"disabled",
|
|
50832
51135
|
"aria-label",
|
|
50833
51136
|
"aria-expanded",
|
|
50834
51137
|
"onKeydown",
|
|
50835
51138
|
"onClick"
|
|
50836
|
-
],
|
|
51139
|
+
], mZ = { class: "channel-folder-name" }, hZ = { class: "channel-folder-actions" }, gZ = {
|
|
50837
51140
|
class: "channel-directory-count",
|
|
50838
51141
|
"aria-hidden": "true"
|
|
50839
|
-
},
|
|
51142
|
+
}, _Z = ["data-drop-folder"], vZ = {
|
|
50840
51143
|
key: 0,
|
|
50841
51144
|
class: "channel-directory-empty",
|
|
50842
51145
|
role: "status"
|
|
50843
|
-
},
|
|
51146
|
+
}, yZ = ["data-drag-room"], bZ = [
|
|
50844
51147
|
"aria-label",
|
|
50845
51148
|
"disabled",
|
|
50846
51149
|
"onKeydown"
|
|
50847
|
-
],
|
|
51150
|
+
], xZ = [
|
|
50848
51151
|
"title",
|
|
50849
51152
|
"aria-label",
|
|
50850
51153
|
"aria-current",
|
|
50851
51154
|
"onClick"
|
|
50852
|
-
],
|
|
51155
|
+
], SZ = { class: "channel-room-actions" }, CZ = {
|
|
50853
51156
|
key: 0,
|
|
50854
51157
|
class: "channel-directory-empty"
|
|
50855
|
-
},
|
|
51158
|
+
}, wZ = {
|
|
50856
51159
|
key: 0,
|
|
50857
51160
|
class: "channel-archive-count"
|
|
50858
|
-
},
|
|
51161
|
+
}, TZ = {
|
|
50859
51162
|
key: 0,
|
|
50860
51163
|
role: "status",
|
|
50861
51164
|
class: "channel-directory-notice"
|
|
50862
|
-
},
|
|
51165
|
+
}, EZ = {
|
|
50863
51166
|
key: 1,
|
|
50864
51167
|
role: "alert",
|
|
50865
51168
|
class: "channel-directory-error"
|
|
50866
|
-
},
|
|
51169
|
+
}, DZ = {
|
|
50867
51170
|
__name: "ChannelDirectory",
|
|
50868
51171
|
emits: [
|
|
50869
51172
|
"select",
|
|
@@ -51077,8 +51380,8 @@ var hU = /*#__PURE__*/ XH({
|
|
|
51077
51380
|
];
|
|
51078
51381
|
}
|
|
51079
51382
|
return (e, t) => {
|
|
51080
|
-
let u = MA, _ = sA, v = CH, x = $V, S =
|
|
51081
|
-
return U(), W("div",
|
|
51383
|
+
let u = MA, _ = sA, v = CH, x = $V, S = oZ;
|
|
51384
|
+
return U(), W("div", sZ, [
|
|
51082
51385
|
q(u, {
|
|
51083
51386
|
label: "新建对话",
|
|
51084
51387
|
icon: "i-lucide-plus",
|
|
@@ -51087,12 +51390,12 @@ var hU = /*#__PURE__*/ XH({
|
|
|
51087
51390
|
disabled: I(r).directory_pending.includes("create-room"),
|
|
51088
51391
|
onClick: t[0] ||= (e) => n("create", null)
|
|
51089
51392
|
}, null, 8, ["disabled"]),
|
|
51090
|
-
K("div",
|
|
51393
|
+
K("div", cZ, [K("button", {
|
|
51091
51394
|
type: "button",
|
|
51092
51395
|
class: "channel-section-toggle",
|
|
51093
51396
|
"aria-expanded": m.value,
|
|
51094
51397
|
onClick: t[1] ||= (e) => m.value = !m.value
|
|
51095
|
-
}, [q(_, { name: m.value ? "i-lucide-chevron-down" : "i-lucide-chevron-right" }, null, 8, ["name"]), t[7] ||= J("协作房间", -1)], 8,
|
|
51398
|
+
}, [q(_, { name: m.value ? "i-lucide-chevron-down" : "i-lucide-chevron-right" }, null, 8, ["name"]), t[7] ||= J("协作房间", -1)], 8, lZ), K("div", uZ, [
|
|
51096
51399
|
q(v, {
|
|
51097
51400
|
items: d.value,
|
|
51098
51401
|
content: {
|
|
@@ -51134,7 +51437,7 @@ var hU = /*#__PURE__*/ XH({
|
|
|
51134
51437
|
onChange: p
|
|
51135
51438
|
}, null, 544)
|
|
51136
51439
|
])]),
|
|
51137
|
-
vr(K("nav",
|
|
51440
|
+
vr(K("nav", dZ, [(U(!0), W(H, null, B(l.value, (e, s) => (U(), W("section", {
|
|
51138
51441
|
key: e.order_id,
|
|
51139
51442
|
class: "channel-folder-section",
|
|
51140
51443
|
"data-room-folder": e.id,
|
|
@@ -51164,9 +51467,9 @@ var hU = /*#__PURE__*/ XH({
|
|
|
51164
51467
|
}, [
|
|
51165
51468
|
q(_, { name: h.value.has(e.id) ? "i-lucide-chevron-right" : "i-lucide-chevron-down" }, null, 8, ["name"]),
|
|
51166
51469
|
q(_, { name: "i-lucide-folder" }),
|
|
51167
|
-
K("span",
|
|
51168
|
-
], 40,
|
|
51169
|
-
K("div",
|
|
51470
|
+
K("span", mZ, P(e.name), 1)
|
|
51471
|
+
], 40, pZ),
|
|
51472
|
+
K("div", hZ, [q(v, {
|
|
51170
51473
|
items: g(e, s),
|
|
51171
51474
|
content: {
|
|
51172
51475
|
align: "start",
|
|
@@ -51200,12 +51503,12 @@ var hU = /*#__PURE__*/ XH({
|
|
|
51200
51503
|
])]),
|
|
51201
51504
|
_: 2
|
|
51202
51505
|
}, 1032, ["text"])]),
|
|
51203
|
-
K("small",
|
|
51506
|
+
K("small", gZ, P(e.pending ? "保存中" : e.rooms.length), 1)
|
|
51204
51507
|
], 2)) : Y("", !0), !e.id || !h.value.has(e.id) ? (U(), W("div", {
|
|
51205
51508
|
key: 1,
|
|
51206
51509
|
class: M(e.id ? "channel-folder-rooms" : "channel-root-rooms"),
|
|
51207
51510
|
"data-drop-folder": e.id ? void 0 : ""
|
|
51208
|
-
}, [I(r).creating_room && (I(r).creating_room.folder_id || "") === e.id ? (U(), W("p",
|
|
51511
|
+
}, [I(r).creating_room && (I(r).creating_room.folder_id || "") === e.id ? (U(), W("p", vZ, "正在创建:" + P(I(r).creating_room.title), 1)) : Y("", !0), (U(!0), W(H, null, B(e.rooms, (s, c) => (U(), G(S, {
|
|
51209
51512
|
key: s.id,
|
|
51210
51513
|
items: b(s, c, s.folder_id || null, e.rooms.length),
|
|
51211
51514
|
ui: { content: "channel-menu channel-topic-menu" }
|
|
@@ -51230,7 +51533,7 @@ var hU = /*#__PURE__*/ XH({
|
|
|
51230
51533
|
direction: 1,
|
|
51231
51534
|
folder_id: s.folder_id || null
|
|
51232
51535
|
}), ["prevent"]), ["down"])]
|
|
51233
|
-
}, [q(_, { name: "i-lucide-grip-vertical" })], 40,
|
|
51536
|
+
}, [q(_, { name: "i-lucide-grip-vertical" })], 40, bZ),
|
|
51234
51537
|
K("button", {
|
|
51235
51538
|
class: "channel-room-select",
|
|
51236
51539
|
"data-drag-title": "",
|
|
@@ -51239,8 +51542,8 @@ var hU = /*#__PURE__*/ XH({
|
|
|
51239
51542
|
"aria-current": s.id === I(r).room?.id ? "page" : void 0,
|
|
51240
51543
|
onPointerdown: t[5] ||= (e) => !I(o) && I(i).start_drag(e),
|
|
51241
51544
|
onClick: (e) => n("select", s.id)
|
|
51242
|
-
}, [K("span", null, P(s.title), 1)], 40,
|
|
51243
|
-
K("div",
|
|
51545
|
+
}, [K("span", null, P(s.title), 1)], 40, xZ),
|
|
51546
|
+
K("div", SZ, [q(x, {
|
|
51244
51547
|
text: s.archived ? "恢复房间" : "存档房间",
|
|
51245
51548
|
ui: { content: "channel-topic-tooltip" }
|
|
51246
51549
|
}, {
|
|
@@ -51281,9 +51584,9 @@ var hU = /*#__PURE__*/ XH({
|
|
|
51281
51584
|
}, null, 8, ["aria-label"])]),
|
|
51282
51585
|
_: 2
|
|
51283
51586
|
}, 1032, ["items"])])
|
|
51284
|
-
], 10,
|
|
51587
|
+
], 10, yZ)]),
|
|
51285
51588
|
_: 2
|
|
51286
|
-
}, 1032, ["items"]))), 128))], 10,
|
|
51589
|
+
}, 1032, ["items"]))), 128))], 10, _Z)) : Y("", !0)], 8, fZ))), 128)), s.value.length ? Y("", !0) : (U(), W("p", CZ, "暂无协作房间"))], 512), [[Vc, m.value]]),
|
|
51287
51590
|
vr(q(u, {
|
|
51288
51591
|
icon: "i-lucide-archive",
|
|
51289
51592
|
color: "neutral",
|
|
@@ -51292,48 +51595,48 @@ var hU = /*#__PURE__*/ XH({
|
|
|
51292
51595
|
"aria-haspopup": "dialog",
|
|
51293
51596
|
onClick: t[6] ||= (e) => n("archives")
|
|
51294
51597
|
}, {
|
|
51295
|
-
default: L(() => [t[8] ||= K("span", { class: "channel-archive-label" }, "已存档", -1), c.value ? (U(), W("small",
|
|
51598
|
+
default: L(() => [t[8] ||= K("span", { class: "channel-archive-label" }, "已存档", -1), c.value ? (U(), W("small", wZ, P(c.value), 1)) : Y("", !0)]),
|
|
51296
51599
|
_: 1
|
|
51297
51600
|
}, 512), [[Vc, m.value]]),
|
|
51298
|
-
I(r).directory_notice ? (U(), W("p",
|
|
51299
|
-
I(r).directory_error ? (U(), W("p",
|
|
51601
|
+
I(r).directory_notice ? (U(), W("p", TZ, P(I(r).directory_notice), 1)) : Y("", !0),
|
|
51602
|
+
I(r).directory_error ? (U(), W("p", EZ, P(I(r).directory_error), 1)) : Y("", !0)
|
|
51300
51603
|
]);
|
|
51301
51604
|
};
|
|
51302
51605
|
}
|
|
51303
|
-
},
|
|
51606
|
+
}, OZ = {
|
|
51304
51607
|
key: 0,
|
|
51305
51608
|
class: "pb-invite",
|
|
51306
51609
|
"aria-label": "启动手动成员"
|
|
51307
|
-
},
|
|
51610
|
+
}, kZ = { class: "pb-invite-lead" }, AZ = {
|
|
51308
51611
|
key: 0,
|
|
51309
51612
|
role: "alert",
|
|
51310
51613
|
class: "pb-free-note is-error"
|
|
51311
|
-
},
|
|
51614
|
+
}, jZ = { class: "pb-invite-launches" }, MZ = { class: "pb-invite-footer" }, NZ = {
|
|
51312
51615
|
class: "pb-invite-library",
|
|
51313
51616
|
role: "group",
|
|
51314
51617
|
"aria-label": "选择 AI(可多选)"
|
|
51315
|
-
},
|
|
51618
|
+
}, PZ = [
|
|
51316
51619
|
"aria-pressed",
|
|
51317
51620
|
"title",
|
|
51318
51621
|
"onClick"
|
|
51319
|
-
],
|
|
51622
|
+
], FZ = {
|
|
51320
51623
|
key: 0,
|
|
51321
51624
|
class: "pb-invite-cards"
|
|
51322
|
-
},
|
|
51625
|
+
}, IZ = {
|
|
51323
51626
|
key: 0,
|
|
51324
51627
|
class: "fine-print"
|
|
51325
|
-
},
|
|
51628
|
+
}, LZ = ["aria-hidden"], RZ = {
|
|
51326
51629
|
key: 2,
|
|
51327
51630
|
class: "pb-invite-empty"
|
|
51328
|
-
},
|
|
51631
|
+
}, zZ = {
|
|
51329
51632
|
key: 3,
|
|
51330
51633
|
role: "alert",
|
|
51331
51634
|
class: "fine-print"
|
|
51332
|
-
},
|
|
51635
|
+
}, BZ = {
|
|
51333
51636
|
key: 4,
|
|
51334
51637
|
role: "alert",
|
|
51335
51638
|
class: "pb-free-note is-error"
|
|
51336
|
-
},
|
|
51639
|
+
}, VZ = { class: "pb-invite-footer" }, HZ = 2e3, UZ = /*#__PURE__*/ XH({
|
|
51337
51640
|
__name: "InviteDialog",
|
|
51338
51641
|
props: /*@__PURE__*/ Fa({ description: {
|
|
51339
51642
|
type: String,
|
|
@@ -51351,7 +51654,7 @@ var hU = /*#__PURE__*/ XH({
|
|
|
51351
51654
|
async function u(e) {
|
|
51352
51655
|
clearTimeout(l), c.value = "", await i("copy_member_launch", e) && (c.value = e, l = setTimeout(() => {
|
|
51353
51656
|
c.value = "";
|
|
51354
|
-
},
|
|
51657
|
+
}, HZ));
|
|
51355
51658
|
}
|
|
51356
51659
|
let d = /* @__PURE__ */ F([]), f = 0, p = /* @__PURE__ */ F([]), m = /* @__PURE__ */ F(!1), h = Z(() => Object.keys(r.launch_clients)), g = Z(() => (o.value.members || []).map((e) => e.name)), _ = (e) => g.value.filter((t) => r.platform_of(t) === e).length, v = Z(() => [...d.value.filter((e) => e.mode !== "manual"), ...d.value.filter((e) => e.mode === "manual")]), y = Z(() => {
|
|
51357
51660
|
let e = [...g.value];
|
|
@@ -51415,10 +51718,10 @@ var hU = /*#__PURE__*/ XH({
|
|
|
51415
51718
|
body: "dialog-body"
|
|
51416
51719
|
}
|
|
51417
51720
|
}, {
|
|
51418
|
-
body: L(() => [p.value.length && !d.value.length ? (U(), W("div",
|
|
51419
|
-
K("p",
|
|
51420
|
-
I(n).access?.error ? (U(), W("p",
|
|
51421
|
-
K("ul",
|
|
51721
|
+
body: L(() => [p.value.length && !d.value.length ? (U(), W("div", OZ, [
|
|
51722
|
+
K("p", kZ, P(p.value.length > 1 ? `${p.value.length} 位手动成员已加入` : "手动成员已加入") + ",把启动指令交给各自的 AI 会话,注册后才算到场。", 1),
|
|
51723
|
+
I(n).access?.error ? (U(), W("p", AZ, P(I(n).access.error), 1)) : Y("", !0),
|
|
51724
|
+
K("ul", jZ, [(U(!0), W(H, null, B(p.value, (e) => (U(), W("li", { key: e }, [
|
|
51422
51725
|
q(l, {
|
|
51423
51726
|
src: I(r).identities[I(r).platform_of(e)]?.icon,
|
|
51424
51727
|
text: I(r).identities[I(r).platform_of(e)]?.initials,
|
|
@@ -51453,7 +51756,7 @@ var hU = /*#__PURE__*/ XH({
|
|
|
51453
51756
|
])
|
|
51454
51757
|
]))), 128))]),
|
|
51455
51758
|
o[3] ||= K("p", { class: "fine-print" }, "指令含该成员的凭证,只交给对应的会话;关闭后仍可在参与者列表中复制。", -1),
|
|
51456
|
-
K("div",
|
|
51759
|
+
K("div", MZ, [q(f, {
|
|
51457
51760
|
label: "完成",
|
|
51458
51761
|
class: "channel-primary-button",
|
|
51459
51762
|
onClick: o[0] ||= (e) => t.value = !1
|
|
@@ -51464,7 +51767,7 @@ var hU = /*#__PURE__*/ XH({
|
|
|
51464
51767
|
"aria-label": "邀请专家",
|
|
51465
51768
|
onSubmit: uu(w, ["prevent"])
|
|
51466
51769
|
}, [
|
|
51467
|
-
K("div",
|
|
51770
|
+
K("div", NZ, [(U(!0), W(H, null, B(h.value, (e) => (U(), W("button", {
|
|
51468
51771
|
key: e,
|
|
51469
51772
|
type: "button",
|
|
51470
51773
|
"aria-pressed": d.value.some((t) => t.name === e),
|
|
@@ -51481,11 +51784,11 @@ var hU = /*#__PURE__*/ XH({
|
|
|
51481
51784
|
"text",
|
|
51482
51785
|
"alt",
|
|
51483
51786
|
"class"
|
|
51484
|
-
]), J(P(e), 1)], 8,
|
|
51485
|
-
d.value.length ? (U(), W("div",
|
|
51787
|
+
]), J(P(e), 1)], 8, PZ))), 128))]),
|
|
51788
|
+
d.value.length ? (U(), W("div", FZ, [(U(!0), W(H, null, B(d.value, (e) => (U(), W("div", {
|
|
51486
51789
|
key: e.id,
|
|
51487
51790
|
class: "pb-invite-pick"
|
|
51488
|
-
}, [q(
|
|
51791
|
+
}, [q(oY, {
|
|
51489
51792
|
name: e.name,
|
|
51490
51793
|
mode: e.mode,
|
|
51491
51794
|
choices: ["cli", "manual"],
|
|
@@ -51502,15 +51805,15 @@ var hU = /*#__PURE__*/ XH({
|
|
|
51502
51805
|
"onMode",
|
|
51503
51806
|
"onSession",
|
|
51504
51807
|
"onRemove"
|
|
51505
|
-
]), y.value.get(e) === e.name ? Y("", !0) : (U(), W("p",
|
|
51808
|
+
]), y.value.get(e) === e.name ? Y("", !0) : (U(), W("p", IZ, "同一 AI 已有实例,将以 " + P(y.value.get(e)) + " 加入,使用独立会话。", 1))]))), 128))])) : Y("", !0),
|
|
51506
51809
|
d.value.length ? (U(), W("p", {
|
|
51507
51810
|
key: 1,
|
|
51508
51811
|
class: M(["fine-print", { "pb-invite-reserved": !(d.value.some((e) => e.mode === "manual") && d.value.some((e) => e.mode !== "manual")) }]),
|
|
51509
51812
|
"aria-hidden": !(d.value.some((e) => e.mode === "manual") && d.value.some((e) => e.mode !== "manual"))
|
|
51510
|
-
}, "手动启动的成员排在程序启动的成员之后加入队列。", 10,
|
|
51511
|
-
d.value.some((e) => e.mode === "cli") && !I(n).launch.available ? (U(), W("p",
|
|
51512
|
-
m.value && I(n).free_error ? (U(), W("p",
|
|
51513
|
-
K("div",
|
|
51813
|
+
}, "手动启动的成员排在程序启动的成员之后加入队列。", 10, LZ)) : (U(), W("p", RZ, "选择一位或多位 AI(同一 AI 可重复添加),点卡片翻面设置软件、模型与项目权限。")),
|
|
51814
|
+
d.value.some((e) => e.mode === "cli") && !I(n).launch.available ? (U(), W("p", zZ, "邀请需要本机服务,请在运行 AI 的电脑打开本机网站。")) : Y("", !0),
|
|
51815
|
+
m.value && I(n).free_error ? (U(), W("p", BZ, P(I(n).free_error), 1)) : Y("", !0),
|
|
51816
|
+
K("div", VZ, [q(f, {
|
|
51514
51817
|
label: "取消",
|
|
51515
51818
|
color: "neutral",
|
|
51516
51819
|
variant: "ghost",
|
|
@@ -51532,40 +51835,40 @@ var hU = /*#__PURE__*/ XH({
|
|
|
51532
51835
|
}, 8, ["open", "description"]);
|
|
51533
51836
|
};
|
|
51534
51837
|
}
|
|
51535
|
-
}, [["__scopeId", "data-v-3ca69064"]]),
|
|
51838
|
+
}, [["__scopeId", "data-v-3ca69064"]]), WZ = { class: "speaking-order" }, GZ = {
|
|
51536
51839
|
key: 0,
|
|
51537
51840
|
class: "speaking-order-divider",
|
|
51538
51841
|
"aria-hidden": "true"
|
|
51539
|
-
},
|
|
51842
|
+
}, KZ = ["data-key", "data-movable"], qZ = [
|
|
51540
51843
|
"aria-disabled",
|
|
51541
51844
|
"aria-label",
|
|
51542
51845
|
"title",
|
|
51543
51846
|
"onPointerdown",
|
|
51544
51847
|
"onKeydown"
|
|
51545
|
-
],
|
|
51848
|
+
], JZ = { class: "speaking-order-number" }, YZ = {
|
|
51546
51849
|
key: 1,
|
|
51547
51850
|
class: "speaking-order-place",
|
|
51548
51851
|
title: "已发言",
|
|
51549
51852
|
"aria-label": "已发言"
|
|
51550
|
-
},
|
|
51853
|
+
}, XZ = ["title"], ZZ = {
|
|
51551
51854
|
key: 0,
|
|
51552
51855
|
class: "speaking-order-later"
|
|
51553
|
-
},
|
|
51856
|
+
}, QZ = {
|
|
51554
51857
|
key: 1,
|
|
51555
51858
|
class: "speaking-order-divider",
|
|
51556
51859
|
"aria-hidden": "true"
|
|
51557
|
-
},
|
|
51860
|
+
}, $Z = {
|
|
51558
51861
|
key: 0,
|
|
51559
51862
|
role: "status",
|
|
51560
51863
|
class: "pb-free-note"
|
|
51561
|
-
},
|
|
51864
|
+
}, eQ = {
|
|
51562
51865
|
key: 1,
|
|
51563
51866
|
role: "alert",
|
|
51564
51867
|
class: "pb-free-note is-error"
|
|
51565
|
-
},
|
|
51868
|
+
}, tQ = {
|
|
51566
51869
|
class: "speaking-order-live",
|
|
51567
51870
|
"aria-live": "polite"
|
|
51568
|
-
},
|
|
51871
|
+
}, nQ = "发言顺序刚有变化,已更新为最新顺序,请重新调整", rQ = /*#__PURE__*/ XH({
|
|
51569
51872
|
__name: "SpeakingOrder",
|
|
51570
51873
|
props: {
|
|
51571
51874
|
away: {
|
|
@@ -51585,7 +51888,7 @@ var hU = /*#__PURE__*/ XH({
|
|
|
51585
51888
|
}), c = Z(() => s.value.kind === "default" ? "idle" : "queued"), l = Z(() => !!n.value.access?.can_manage && !o.value.archived && s.value.movable.length > 1), u = {
|
|
51586
51889
|
queue: "不在本次依次回答中",
|
|
51587
51890
|
turns: "本轮未安排"
|
|
51588
|
-
}, d = Z(() => s.value.kind === "default" ? "拖动设置默认发言顺序,@全体依次 按此顺序;聚焦后可用上下方向键" : "拖动调整还没发言的顺序,立即生效;聚焦后可用上下方向键"), f = /* @__PURE__ */ F(!1), p = Z(() => f.value ?
|
|
51891
|
+
}, d = Z(() => s.value.kind === "default" ? "拖动设置默认发言顺序,@全体依次 按此顺序;聚焦后可用上下方向键" : "拖动调整还没发言的顺序,立即生效;聚焦后可用上下方向键"), f = /* @__PURE__ */ F(!1), p = Z(() => f.value ? nQ : n.value.order_error?.room_id === o.value.id ? n.value.order_error.message : ""), m = /* @__PURE__ */ F(null), h = /* @__PURE__ */ F(null), g = /* @__PURE__ */ F(null), _ = /* @__PURE__ */ F("");
|
|
51589
51892
|
R(() => s.value.revision, () => {
|
|
51590
51893
|
g.value = null;
|
|
51591
51894
|
}), R(() => o.value.id, () => {
|
|
@@ -51672,13 +51975,13 @@ var hU = /*#__PURE__*/ XH({
|
|
|
51672
51975
|
}
|
|
51673
51976
|
return (e, n) => {
|
|
51674
51977
|
let i = sA;
|
|
51675
|
-
return U(), W("div",
|
|
51978
|
+
return U(), W("div", WZ, [
|
|
51676
51979
|
K("ul", {
|
|
51677
51980
|
ref_key: "list",
|
|
51678
51981
|
ref: m,
|
|
51679
51982
|
class: M(["pb-members", { "is-dragging": h.value }])
|
|
51680
51983
|
}, [
|
|
51681
|
-
(U(!0), W(H, null, B(y.value, (t, r) => (U(), W(H, { key: t.key }, [t.outside ? (U(), W("li",
|
|
51984
|
+
(U(!0), W(H, null, B(y.value, (t, r) => (U(), W(H, { key: t.key }, [t.outside ? (U(), W("li", GZ, [K("span", null, P(u[s.value.kind]), 1)])) : Y("", !0), K("li", {
|
|
51682
51985
|
class: M(["pb-member speaking-order-row", [
|
|
51683
51986
|
`is-${t.state}`,
|
|
51684
51987
|
E(r),
|
|
@@ -51699,19 +52002,19 @@ var hU = /*#__PURE__*/ XH({
|
|
|
51699
52002
|
onPointercancel: n[0] ||= (e) => w(e, !0),
|
|
51700
52003
|
onLostpointercapture: n[1] ||= (e) => w(e, !0),
|
|
51701
52004
|
onKeydown: [fu((e) => D(e, b(r), -1), ["up"]), fu((e) => D(e, b(r), 1), ["down"])]
|
|
51702
|
-
}, [K("span",
|
|
52005
|
+
}, [K("span", JZ, P(t.place), 1), q(i, {
|
|
51703
52006
|
name: "i-lucide-grip-vertical",
|
|
51704
52007
|
class: "speaking-order-handle"
|
|
51705
|
-
})], 40,
|
|
52008
|
+
})], 40, qZ)) : t.state === "done" ? (U(), W("span", YZ, [q(i, { name: "i-lucide-check" })])) : (U(), W("span", {
|
|
51706
52009
|
key: 2,
|
|
51707
52010
|
class: "speaking-order-place",
|
|
51708
52011
|
title: t.state === "speaking" ? "正在发言" : void 0
|
|
51709
|
-
}, P(t.place || ""), 9,
|
|
52012
|
+
}, P(t.place || ""), 9, XZ)), V(e.$slots, "default", {
|
|
51710
52013
|
item: t,
|
|
51711
52014
|
place: t.place
|
|
51712
|
-
}, void 0, !0)], 10,
|
|
51713
|
-
s.value.later?.length ? (U(), W("li",
|
|
51714
|
-
t.away.length ? (U(), W("li",
|
|
52015
|
+
}, void 0, !0)], 10, KZ)], 64))), 128)),
|
|
52016
|
+
s.value.later?.length ? (U(), W("li", ZZ, [K("details", null, [K("summary", null, "后续已排 " + P(s.value.later.length) + " 轮", 1), K("ol", null, [(U(!0), W(H, null, B(s.value.later, (e, n) => (U(), W("li", { key: n }, [K("span", null, P(t.round ? `第 ${t.round + n + 1} 轮` : `后续第 ${n + 1} 轮`), 1), J(P(e.map((e) => I(r).display_name(e)).join(" → ")), 1)]))), 128))])])])) : Y("", !0),
|
|
52017
|
+
t.away.length ? (U(), W("li", QZ, [...n[2] ||= [K("span", null, "已离开", -1)]])) : Y("", !0),
|
|
51715
52018
|
(U(!0), W(H, null, B(t.away, (t) => (U(), W("li", {
|
|
51716
52019
|
key: `away-${t}`,
|
|
51717
52020
|
class: "pb-member speaking-order-row is-away"
|
|
@@ -51723,78 +52026,78 @@ var hU = /*#__PURE__*/ XH({
|
|
|
51723
52026
|
place: 0
|
|
51724
52027
|
}, void 0, !0)]))), 128))
|
|
51725
52028
|
], 2),
|
|
51726
|
-
p.value ===
|
|
51727
|
-
K("p",
|
|
52029
|
+
p.value === nQ ? (U(), W("p", $Z, P(p.value), 1)) : p.value ? (U(), W("p", eQ, P(p.value), 1)) : Y("", !0),
|
|
52030
|
+
K("p", tQ, P(_.value), 1)
|
|
51728
52031
|
]);
|
|
51729
52032
|
};
|
|
51730
52033
|
}
|
|
51731
|
-
}, [["__scopeId", "data-v-dc33a051"]]),
|
|
52034
|
+
}, [["__scopeId", "data-v-dc33a051"]]), iQ = {
|
|
51732
52035
|
key: 0,
|
|
51733
52036
|
class: "pb-header"
|
|
51734
|
-
},
|
|
52037
|
+
}, aQ = { class: "pb-mode" }, oQ = { class: "pb-status-line" }, sQ = { role: "status" }, cQ = {
|
|
51735
52038
|
key: 0,
|
|
51736
52039
|
class: "pb-mode"
|
|
51737
|
-
},
|
|
52040
|
+
}, lQ = {
|
|
51738
52041
|
key: 0,
|
|
51739
52042
|
class: "pb-status-detail"
|
|
51740
|
-
},
|
|
52043
|
+
}, uQ = {
|
|
51741
52044
|
key: 1,
|
|
51742
52045
|
class: "pb-status-detail"
|
|
51743
|
-
},
|
|
52046
|
+
}, dQ = { class: "pb-error-detail" }, fQ = {
|
|
51744
52047
|
key: 3,
|
|
51745
52048
|
class: "pb-meters"
|
|
51746
|
-
},
|
|
52049
|
+
}, pQ = { class: "pb-meter-label" }, mQ = {
|
|
51747
52050
|
key: 0,
|
|
51748
52051
|
class: "pb-bar"
|
|
51749
|
-
},
|
|
52052
|
+
}, hQ = {
|
|
51750
52053
|
key: 1,
|
|
51751
52054
|
class: "pb-section",
|
|
51752
52055
|
"aria-label": "当前焦点"
|
|
51753
|
-
},
|
|
52056
|
+
}, gQ = {
|
|
51754
52057
|
class: "pb-section",
|
|
51755
52058
|
"aria-label": "发言顺序"
|
|
51756
|
-
},
|
|
52059
|
+
}, _Q = { class: "pb-heading" }, vQ = {
|
|
51757
52060
|
key: 0,
|
|
51758
52061
|
class: "pb-status-detail pb-held"
|
|
51759
|
-
},
|
|
52062
|
+
}, yQ = { class: "pb-member-body" }, bQ = { class: "pb-member-name" }, xQ = { class: "pb-member-body" }, SQ = { class: "pb-member-name" }, CQ = {
|
|
51760
52063
|
key: 0,
|
|
51761
52064
|
class: "pb-member-model",
|
|
51762
52065
|
title: "本场启动配置;默认模型与默认强度由对应软件决定"
|
|
51763
|
-
},
|
|
52066
|
+
}, wQ = {
|
|
51764
52067
|
key: 1,
|
|
51765
52068
|
class: "pb-member-model",
|
|
51766
52069
|
title: "续接你已有的会话;它工作时请不要在原窗口继续操作"
|
|
51767
|
-
},
|
|
52070
|
+
}, TQ = { key: 0 }, EQ = {
|
|
51768
52071
|
key: 3,
|
|
51769
52072
|
class: "pb-member-manual"
|
|
51770
|
-
},
|
|
52073
|
+
}, DQ = { key: 0 }, OQ = ["onClick"], kQ = {
|
|
51771
52074
|
key: 1,
|
|
51772
52075
|
role: "alert",
|
|
51773
52076
|
class: "pb-free-note is-error"
|
|
51774
|
-
},
|
|
52077
|
+
}, AQ = {
|
|
51775
52078
|
key: 2,
|
|
51776
52079
|
role: "status",
|
|
51777
52080
|
class: "pb-free-note"
|
|
51778
|
-
},
|
|
52081
|
+
}, jQ = {
|
|
51779
52082
|
key: 2,
|
|
51780
52083
|
class: "pb-actions",
|
|
51781
52084
|
"aria-label": "操作"
|
|
51782
|
-
},
|
|
52085
|
+
}, MQ = {
|
|
51783
52086
|
key: 3,
|
|
51784
52087
|
class: "pb-section",
|
|
51785
52088
|
"aria-label": "阶段耗时"
|
|
51786
|
-
},
|
|
52089
|
+
}, NQ = { class: "pb-timing-heading" }, PQ = ["aria-label"], FQ = { class: "pb-timing-totals" }, IQ = ["title"], LQ = { class: "pb-timings" }, RQ = { class: "pb-timing-who" }, zQ = { class: "pb-timing-stages" }, BQ = ["title"], VQ = {
|
|
51787
52090
|
key: 0,
|
|
51788
52091
|
class: "pb-note"
|
|
51789
|
-
},
|
|
52092
|
+
}, HQ = { class: "pb-connection" }, UQ = { class: "fine-print" }, WQ = {
|
|
51790
52093
|
key: 0,
|
|
51791
52094
|
role: "status",
|
|
51792
52095
|
class: "fine-print"
|
|
51793
|
-
},
|
|
52096
|
+
}, GQ = {
|
|
51794
52097
|
key: 2,
|
|
51795
52098
|
role: "alert",
|
|
51796
52099
|
class: "fine-print"
|
|
51797
|
-
},
|
|
52100
|
+
}, KQ = { key: 2 }, qQ = { class: "pb-invite-footer" }, JQ = { class: "progress-ending" }, YQ = ["disabled"], XQ = 2e3, ZQ = 90, QQ = 100, $Q = /*#__PURE__*/ XH({
|
|
51798
52101
|
__name: "ProgressBoard",
|
|
51799
52102
|
props: { docked: {
|
|
51800
52103
|
type: Boolean,
|
|
@@ -51805,7 +52108,7 @@ var hU = /*#__PURE__*/ XH({
|
|
|
51805
52108
|
async function l(e) {
|
|
51806
52109
|
clearTimeout(c), s.value = "", await i("copy_member_launch", e) && (s.value = e, c = setTimeout(() => {
|
|
51807
52110
|
s.value = "";
|
|
51808
|
-
},
|
|
52111
|
+
}, XQ));
|
|
51809
52112
|
}
|
|
51810
52113
|
let u = /* @__PURE__ */ F(!1), d = /* @__PURE__ */ F(null), f = /* @__PURE__ */ F(!1), p = ["pending", "notified"], m = {
|
|
51811
52114
|
dispatched: "已交付,等待开始",
|
|
@@ -51837,7 +52140,7 @@ var hU = /*#__PURE__*/ XH({
|
|
|
51837
52140
|
R(() => _.value.id, () => {
|
|
51838
52141
|
he.value = !1;
|
|
51839
52142
|
});
|
|
51840
|
-
let ge = Z(() => x.value?.question || _.value.focus || _.value.goal || ""), N = Z(() => ge.value.length >
|
|
52143
|
+
let ge = Z(() => x.value?.question || _.value.focus || _.value.goal || ""), N = Z(() => ge.value.length > ZQ), _e = Z(() => y.value.timings || {
|
|
51841
52144
|
items: [],
|
|
51842
52145
|
totals: {},
|
|
51843
52146
|
count: 0
|
|
@@ -51871,7 +52174,7 @@ var hU = /*#__PURE__*/ XH({
|
|
|
51871
52174
|
};
|
|
51872
52175
|
let e = ce.value;
|
|
51873
52176
|
if (e) {
|
|
51874
|
-
let t = e.result.startsWith(e.name) ? e.result : `${r.display_name(e.name)} 执行失败:${e.result}`, n = t.split("\n")[0], i = n.length >
|
|
52177
|
+
let t = e.result.startsWith(e.name) ? e.result : `${r.display_name(e.name)} 执行失败:${e.result}`, n = t.split("\n")[0], i = n.length > QQ ? `${n.slice(0, QQ)}…` : n;
|
|
51875
52178
|
return {
|
|
51876
52179
|
tone: "error",
|
|
51877
52180
|
title: "已暂停",
|
|
@@ -51946,7 +52249,13 @@ var hU = /*#__PURE__*/ XH({
|
|
|
51946
52249
|
icon: "i-lucide-copy",
|
|
51947
52250
|
onSelect: () => i("copy", e.session)
|
|
51948
52251
|
}] : [];
|
|
51949
|
-
|
|
52252
|
+
n.value.access?.can_manage && t.push({
|
|
52253
|
+
label: "编辑描述",
|
|
52254
|
+
icon: "i-lucide-user-pen",
|
|
52255
|
+
onSelect: () => {
|
|
52256
|
+
Te.value = e.name;
|
|
52257
|
+
}
|
|
52258
|
+
}), pe(e.name)?.access === "manual" && t.push({
|
|
51950
52259
|
label: "复制启动指令(含凭证)",
|
|
51951
52260
|
icon: "i-lucide-rocket",
|
|
51952
52261
|
onSelect: () => i("copy_member_launch", e.name)
|
|
@@ -51954,7 +52263,7 @@ var hU = /*#__PURE__*/ XH({
|
|
|
51954
52263
|
label: "切换 App / CLI",
|
|
51955
52264
|
icon: "i-lucide-arrow-left-right",
|
|
51956
52265
|
disabled: !!a.value,
|
|
51957
|
-
onSelect: () =>
|
|
52266
|
+
onSelect: () => ke(e)
|
|
51958
52267
|
});
|
|
51959
52268
|
let r = pe(e.name);
|
|
51960
52269
|
if (!r || e.is_host || w.value) return [t].filter((e) => e.length);
|
|
@@ -51974,21 +52283,30 @@ var hU = /*#__PURE__*/ XH({
|
|
|
51974
52283
|
[o("移除", "i-lucide-trash-2", "remove", { color: "error" })]
|
|
51975
52284
|
].filter((e) => e.length);
|
|
51976
52285
|
}
|
|
51977
|
-
|
|
52286
|
+
let Te = /* @__PURE__ */ F(""), Ee = /* @__PURE__ */ F(!1);
|
|
52287
|
+
async function De({ text: e, as_template: t }) {
|
|
52288
|
+
Ee.value = !0;
|
|
52289
|
+
try {
|
|
52290
|
+
await r.describe_member(Te.value, e), t && r.save_description_template(Te.value, e), Te.value = "";
|
|
52291
|
+
} catch {} finally {
|
|
52292
|
+
Ee.value = !1;
|
|
52293
|
+
}
|
|
52294
|
+
}
|
|
52295
|
+
function Oe() {
|
|
51978
52296
|
he.value = !0;
|
|
51979
52297
|
}
|
|
51980
|
-
async function
|
|
52298
|
+
async function ke(e, t = "") {
|
|
51981
52299
|
d.value = {
|
|
51982
52300
|
room_id: _.value.id,
|
|
51983
52301
|
name: e.name,
|
|
51984
52302
|
prefer: t
|
|
51985
|
-
}, f.value = !1, y.value.status === "paused" && await
|
|
52303
|
+
}, f.value = !1, y.value.status === "paused" && await Ae();
|
|
51986
52304
|
}
|
|
51987
|
-
async function
|
|
52305
|
+
async function Ae() {
|
|
51988
52306
|
let e = d.value;
|
|
51989
52307
|
e && e.room_id === _.value.id && (y.value.status !== "running" || await i("pause_runtime")) && d.value === e && _.value.id === e.room_id && y.value.status === "paused" && (await i("load_room_configuration"), d.value === e && _.value.id === e.room_id && (f.value = !n.value.launch.repair_error && n.value.launch.repair?.room_id === e.room_id, f.value && e.prefer && ye.value?.adapter !== e.prefer && r.write_room_adapter(e.name, e.prefer)));
|
|
51990
52308
|
}
|
|
51991
|
-
let
|
|
52309
|
+
let je = Z(() => {
|
|
51992
52310
|
let e = _e.value.totals || {}, t = h.reduce((t, n) => t + (e[n.key] || 0), 0);
|
|
51993
52311
|
return h.map((n) => ({
|
|
51994
52312
|
...n,
|
|
@@ -51996,13 +52314,13 @@ var hU = /*#__PURE__*/ XH({
|
|
|
51996
52314
|
percent: t ? Math.round((e[n.key] || 0) / t * 100) : 0
|
|
51997
52315
|
}));
|
|
51998
52316
|
});
|
|
51999
|
-
function
|
|
52317
|
+
function Me(e) {
|
|
52000
52318
|
return e == null ? "—" : e < 60 ? `${e}秒` : e < 3600 ? `${Math.floor(e / 60)}分${String(e % 60).padStart(2, "0")}秒` : `${Math.floor(e / 3600)}小时${Math.floor(e % 3600 / 60)}分`;
|
|
52001
52319
|
}
|
|
52002
|
-
function
|
|
52320
|
+
function Ne() {
|
|
52003
52321
|
O.value = v.value.max_rounds || 0, ee.value = v.value.max_minutes || 0, E.value = !0;
|
|
52004
52322
|
}
|
|
52005
|
-
async function
|
|
52323
|
+
async function Pe() {
|
|
52006
52324
|
D.value?.settle();
|
|
52007
52325
|
let e = (e) => Number.isInteger(e) && e >= 0 ? e : 0;
|
|
52008
52326
|
await i("reopen_discussion", {
|
|
@@ -52010,24 +52328,24 @@ var hU = /*#__PURE__*/ XH({
|
|
|
52010
52328
|
max_minutes: e(ee.value)
|
|
52011
52329
|
}) && (E.value = !1);
|
|
52012
52330
|
}
|
|
52013
|
-
async function
|
|
52331
|
+
async function Fe(e) {
|
|
52014
52332
|
await i(e) && (o.value = !1);
|
|
52015
52333
|
}
|
|
52016
52334
|
return (e, c) => {
|
|
52017
52335
|
let f = MA, p = sA, m = pA, v = CH, T = bH, k = zV, se = YH;
|
|
52018
52336
|
return U(), W("div", { class: M(["progress-board", { "is-docked": t.docked }]) }, [
|
|
52019
|
-
t.docked ? (U(), W("header",
|
|
52337
|
+
t.docked ? (U(), W("header", iQ, [c[19] ||= K("strong", null, "讨论进度", -1), K("span", aQ, P(b.value ? "全自动" : "手动"), 1)])) : Y("", !0),
|
|
52020
52338
|
K("section", {
|
|
52021
52339
|
class: M(["pb-status", `is-${be.value.tone}`]),
|
|
52022
52340
|
"aria-label": "讨论状态"
|
|
52023
52341
|
}, [
|
|
52024
|
-
K("div",
|
|
52025
|
-
c[
|
|
52026
|
-
K("strong",
|
|
52027
|
-
t.docked ? Y("", !0) : (U(), W("span",
|
|
52342
|
+
K("div", oQ, [
|
|
52343
|
+
c[20] ||= K("span", { class: "pb-dot" }, null, -1),
|
|
52344
|
+
K("strong", sQ, P(be.value.title), 1),
|
|
52345
|
+
t.docked ? Y("", !0) : (U(), W("span", cQ, P(b.value ? "全自动" : "手动"), 1))
|
|
52028
52346
|
]),
|
|
52029
|
-
be.value.detail ? (U(), W("p",
|
|
52030
|
-
be.value.full_detail ? (U(), W("details",
|
|
52347
|
+
be.value.detail ? (U(), W("p", lQ, P(be.value.detail), 1)) : Y("", !0),
|
|
52348
|
+
be.value.full_detail ? (U(), W("details", uQ, [c[21] ||= K("summary", null, "查看错误详情", -1), K("pre", dQ, P(be.value.full_detail), 1)])) : Y("", !0),
|
|
52031
52349
|
ue.value && I(n).launch.available && !I(n).launch.remote ? (U(), G(f, {
|
|
52032
52350
|
key: 2,
|
|
52033
52351
|
icon: "i-lucide-arrow-left-right",
|
|
@@ -52037,15 +52355,15 @@ var hU = /*#__PURE__*/ XH({
|
|
|
52037
52355
|
variant: "outline",
|
|
52038
52356
|
title: "会话正被 Codex App 占用时,改由 App 接入,沿用原聊天和讨论进度",
|
|
52039
52357
|
disabled: !!I(a),
|
|
52040
|
-
onClick: c[0] ||= (e) =>
|
|
52358
|
+
onClick: c[0] ||= (e) => ke(ue.value, "codex")
|
|
52041
52359
|
}, null, 8, ["disabled"])) : Y("", !0),
|
|
52042
|
-
xe.value.length ? (U(), W("div",
|
|
52360
|
+
xe.value.length ? (U(), W("div", fQ, [(U(!0), W(H, null, B(xe.value, (e) => (U(), W("div", {
|
|
52043
52361
|
key: e.label,
|
|
52044
52362
|
class: "pb-meter"
|
|
52045
|
-
}, [K("div",
|
|
52363
|
+
}, [K("div", pQ, [K("span", null, P(e.label), 1), K("b", null, P(e.text), 1)]), e.ratio === null ? Y("", !0) : (U(), W("div", mQ, [K("i", { style: fe({ width: `${Math.min(100, Math.round(e.ratio * 100))}%` }) }, null, 4)]))]))), 128))])) : Y("", !0)
|
|
52046
52364
|
], 2),
|
|
52047
|
-
ge.value ? (U(), W("section",
|
|
52048
|
-
c[
|
|
52365
|
+
ge.value ? (U(), W("section", hQ, [
|
|
52366
|
+
c[22] ||= K("h4", null, "当前焦点", -1),
|
|
52049
52367
|
K("p", { class: M(["pb-focus", { "is-expanded": u.value }]) }, P(ge.value), 3),
|
|
52050
52368
|
N.value ? (U(), W("button", {
|
|
52051
52369
|
key: 0,
|
|
@@ -52054,15 +52372,15 @@ var hU = /*#__PURE__*/ XH({
|
|
|
52054
52372
|
onClick: c[1] ||= (e) => u.value = !u.value
|
|
52055
52373
|
}, P(u.value ? "收起" : "展开"), 1)) : Y("", !0)
|
|
52056
52374
|
])) : Y("", !0),
|
|
52057
|
-
K("section",
|
|
52058
|
-
K("div",
|
|
52375
|
+
K("section", gQ, [
|
|
52376
|
+
K("div", _Q, [c[24] ||= K("h4", null, "发言顺序", -1), me.value ? (U(), W("button", {
|
|
52059
52377
|
key: 0,
|
|
52060
52378
|
type: "button",
|
|
52061
52379
|
class: "pb-link",
|
|
52062
|
-
onClick:
|
|
52063
|
-
}, [q(p, { name: "i-lucide-plus" }), c[
|
|
52064
|
-
_.value.held_since && x.value && !S.value ? (U(), W("p",
|
|
52065
|
-
q(
|
|
52380
|
+
onClick: Oe
|
|
52381
|
+
}, [q(p, { name: "i-lucide-plus" }), c[23] ||= J("邀请", -1)])) : Y("", !0)]),
|
|
52382
|
+
_.value.held_since && x.value && !S.value ? (U(), W("p", vQ, "用户有新操作," + P(I(r).display_name(x.value.expert)) + " 说完后交给主持人", 1)) : Y("", !0),
|
|
52383
|
+
q(rQ, {
|
|
52066
52384
|
away: de.value.map((e) => e.name),
|
|
52067
52385
|
round: Se.value
|
|
52068
52386
|
}, {
|
|
@@ -52079,7 +52397,7 @@ var hU = /*#__PURE__*/ XH({
|
|
|
52079
52397
|
"alt",
|
|
52080
52398
|
"class"
|
|
52081
52399
|
]),
|
|
52082
|
-
K("div",
|
|
52400
|
+
K("div", yQ, [K("div", bQ, [J(P(I(r).display_name(e.name)), 1), c[25] ||= K("small", null, "暂离", -1)]), c[26] ||= K("div", { class: "pb-member-status is-neutral" }, [K("span", { class: "pb-dot" }), J("保留位置和会话,不参与安排")], -1)]),
|
|
52083
52401
|
we({ name: e.name }).length ? (U(), G(v, {
|
|
52084
52402
|
key: 0,
|
|
52085
52403
|
items: we({ name: e.name }),
|
|
@@ -52109,8 +52427,8 @@ var hU = /*#__PURE__*/ XH({
|
|
|
52109
52427
|
"alt",
|
|
52110
52428
|
"class"
|
|
52111
52429
|
]),
|
|
52112
|
-
K("div",
|
|
52113
|
-
K("div",
|
|
52430
|
+
K("div", xQ, [
|
|
52431
|
+
K("div", SQ, [
|
|
52114
52432
|
J(P(I(r).display_name(e.name)), 1),
|
|
52115
52433
|
e.is_host ? (U(), G(p, {
|
|
52116
52434
|
key: 0,
|
|
@@ -52119,22 +52437,22 @@ var hU = /*#__PURE__*/ XH({
|
|
|
52119
52437
|
})) : Y("", !0),
|
|
52120
52438
|
K("small", null, P(e.is_host ? `主持 · ${e.mode}` : e.mode), 1)
|
|
52121
52439
|
]),
|
|
52122
|
-
e.model ? (U(), W("div",
|
|
52123
|
-
pe(e.name)?.session_mode === "borrowed" ? (U(), W("div",
|
|
52440
|
+
e.model ? (U(), W("div", CQ, P(e.model), 1)) : Y("", !0),
|
|
52441
|
+
pe(e.name)?.session_mode === "borrowed" ? (U(), W("div", wQ, "借用已有会话")) : Y("", !0),
|
|
52124
52442
|
w.value ? Y("", !0) : (U(), W("div", {
|
|
52125
52443
|
key: 2,
|
|
52126
52444
|
class: M(["pb-member-status", `is-${e.tone}`])
|
|
52127
52445
|
}, [
|
|
52128
|
-
c[
|
|
52446
|
+
c[27] ||= K("span", { class: "pb-dot" }, null, -1),
|
|
52129
52447
|
J(P(e.text), 1),
|
|
52130
|
-
e.failures ? (U(), W("small",
|
|
52448
|
+
e.failures ? (U(), W("small", TQ, " · 失败 " + P(e.failures) + " 次", 1)) : Y("", !0)
|
|
52131
52449
|
], 2)),
|
|
52132
|
-
e.manual && !w.value ? (U(), W("div",
|
|
52450
|
+
e.manual && !w.value ? (U(), W("div", EQ, [!pe(e.name)?.registered_at && !e.is_host ? (U(), W("span", DQ, "需在它的会话中注册,才算到场")) : Y("", !0), A.value ? (U(), W("button", {
|
|
52133
52451
|
key: 1,
|
|
52134
52452
|
type: "button",
|
|
52135
52453
|
class: "pb-link",
|
|
52136
52454
|
onClick: (t) => l(e.name)
|
|
52137
|
-
}, [q(p, { name: s.value === e.name ? "i-lucide-check" : "i-lucide-rocket" }, null, 8, ["name"]), J(P(s.value === e.name ? "已复制" : "复制启动指令"), 1)], 8,
|
|
52455
|
+
}, [q(p, { name: s.value === e.name ? "i-lucide-check" : "i-lucide-rocket" }, null, 8, ["name"]), J(P(s.value === e.name ? "已复制" : "复制启动指令"), 1)], 8, OQ)) : Y("", !0)])) : Y("", !0)
|
|
52138
52456
|
]),
|
|
52139
52457
|
we(e).length ? (U(), G(v, {
|
|
52140
52458
|
key: 0,
|
|
@@ -52155,9 +52473,9 @@ var hU = /*#__PURE__*/ XH({
|
|
|
52155
52473
|
], 64))), 128))]),
|
|
52156
52474
|
_: 1
|
|
52157
52475
|
}, 8, ["away", "round"]),
|
|
52158
|
-
!he.value && I(n).free_error && _.value.phase !== "paused" ? (U(), W("p",
|
|
52476
|
+
!he.value && I(n).free_error && _.value.phase !== "paused" ? (U(), W("p", kQ, P(I(n).free_error), 1)) : I(n).free_notice ? (U(), W("p", AQ, P(I(n).free_notice), 1)) : Y("", !0)
|
|
52159
52477
|
]),
|
|
52160
|
-
oe.value ? (U(), W("section",
|
|
52478
|
+
oe.value ? (U(), W("section", jQ, [
|
|
52161
52479
|
ne.value ? (U(), G(f, {
|
|
52162
52480
|
key: 0,
|
|
52163
52481
|
icon: "i-lucide-rotate-ccw",
|
|
@@ -52211,7 +52529,7 @@ var hU = /*#__PURE__*/ XH({
|
|
|
52211
52529
|
class: "pb-action pb-restart",
|
|
52212
52530
|
title: "保留全部记录,设定新的轮次与时长上限后继续讨论,需本机接入程序在运行",
|
|
52213
52531
|
disabled: !A.value || !!I(a),
|
|
52214
|
-
onClick:
|
|
52532
|
+
onClick: Ne
|
|
52215
52533
|
}, null, 8, ["disabled"])) : Y("", !0),
|
|
52216
52534
|
ae.value ? (U(), G(f, {
|
|
52217
52535
|
key: 4,
|
|
@@ -52239,28 +52557,28 @@ var hU = /*#__PURE__*/ XH({
|
|
|
52239
52557
|
onClick: c[6] ||= (e) => o.value = !0
|
|
52240
52558
|
}, null, 8, ["disabled"])) : Y("", !0)
|
|
52241
52559
|
])) : Y("", !0),
|
|
52242
|
-
b.value && _e.value.count ? (U(), W("section",
|
|
52243
|
-
K("div",
|
|
52560
|
+
b.value && _e.value.count ? (U(), W("section", MQ, [
|
|
52561
|
+
K("div", NQ, [c[28] ||= K("h4", null, "耗时", -1), K("small", null, "共 " + P(_e.value.count) + " 次执行", 1)]),
|
|
52244
52562
|
K("div", {
|
|
52245
52563
|
class: "pb-timing-bar",
|
|
52246
52564
|
role: "img",
|
|
52247
|
-
"aria-label":
|
|
52248
|
-
}, [(U(!0), W(H, null, B(
|
|
52565
|
+
"aria-label": je.value.map((e) => `${e.label} ${e.percent}%`).join(",")
|
|
52566
|
+
}, [(U(!0), W(H, null, B(je.value, (e) => (U(), W("i", {
|
|
52249
52567
|
key: e.key,
|
|
52250
52568
|
class: M(`is-${e.key}`),
|
|
52251
52569
|
style: fe({ width: `${e.percent}%` })
|
|
52252
|
-
}, null, 6))), 128))], 8,
|
|
52253
|
-
K("dl",
|
|
52570
|
+
}, null, 6))), 128))], 8, PQ),
|
|
52571
|
+
K("dl", FQ, [(U(!0), W(H, null, B(je.value, (e) => (U(), W("div", {
|
|
52254
52572
|
key: e.key,
|
|
52255
52573
|
title: e.hint
|
|
52256
|
-
}, [K("dt", null, [K("span", { class: M(`pb-timing-dot is-${e.key}`) }, null, 2), J(P(e.label), 1)]), K("dd", null, [J(P(
|
|
52257
|
-
K("details",
|
|
52258
|
-
c[
|
|
52259
|
-
K("ol", null, [(U(!0), W(H, null, B(_e.value.items, (e) => (U(), W("li", { key: e.id }, [K("span",
|
|
52574
|
+
}, [K("dt", null, [K("span", { class: M(`pb-timing-dot is-${e.key}`) }, null, 2), J(P(e.label), 1)]), K("dd", null, [J(P(Me(e.seconds)), 1), K("small", null, P(e.percent) + "%", 1)])], 8, IQ))), 128))]),
|
|
52575
|
+
K("details", LQ, [
|
|
52576
|
+
c[29] ||= K("summary", null, "查看每次执行", -1),
|
|
52577
|
+
K("ol", null, [(U(!0), W(H, null, B(_e.value.items, (e) => (U(), W("li", { key: e.id }, [K("span", RQ, [J("#" + P(e.id) + " " + P(I(r).display_name(e.participant)), 1), K("small", null, P(e.role === "host" ? "主持" : "专家") + " · " + P(g[e.status] || e.status), 1)]), K("span", zQ, [(U(), W(H, null, B(h, (t) => K("span", {
|
|
52260
52578
|
key: t.key,
|
|
52261
52579
|
title: t.hint
|
|
52262
|
-
}, P(t.label) + " " + P(
|
|
52263
|
-
_e.value.count > _e.value.items.length ? (U(), W("p",
|
|
52580
|
+
}, P(t.label) + " " + P(Me(e[t.key])), 9, BQ)), 64))])]))), 128))]),
|
|
52581
|
+
_e.value.count > _e.value.items.length ? (U(), W("p", VQ, "只列出最近 " + P(_e.value.items.length) + " 次,共 " + P(_e.value.count) + " 次执行。", 1)) : Y("", !0)
|
|
52264
52582
|
])
|
|
52265
52583
|
])) : Y("", !0),
|
|
52266
52584
|
q(se, {
|
|
@@ -52273,12 +52591,12 @@ var hU = /*#__PURE__*/ XH({
|
|
|
52273
52591
|
body: "dialog-body"
|
|
52274
52592
|
}
|
|
52275
52593
|
}, {
|
|
52276
|
-
body: L(() => [K("div",
|
|
52594
|
+
body: L(() => [K("div", HQ, [y.value.status === "running" ? (U(), W(H, { key: 0 }, [c[30] ||= K("p", null, "切换前需要暂停讨论,当前执行会停止,原发言安排保留。", -1), q(f, {
|
|
52277
52595
|
label: "暂停并读取配置",
|
|
52278
52596
|
icon: "i-lucide-pause",
|
|
52279
52597
|
class: "channel-primary-button",
|
|
52280
52598
|
loading: !!I(a),
|
|
52281
|
-
onClick:
|
|
52599
|
+
onClick: Ae
|
|
52282
52600
|
}, null, 8, ["loading"])], 64)) : y.value.status === "paused" ? (U(), W(H, { key: 1 }, [ye.value ? (U(), W(H, { key: 0 }, [
|
|
52283
52601
|
q(k, { label: "接入方式" }, {
|
|
52284
52602
|
default: L(() => [q(T, {
|
|
@@ -52296,7 +52614,7 @@ var hU = /*#__PURE__*/ XH({
|
|
|
52296
52614
|
}, null, 8, ["model-value", "disabled"])]),
|
|
52297
52615
|
_: 1
|
|
52298
52616
|
}),
|
|
52299
|
-
K("p",
|
|
52617
|
+
K("p", UQ, P(ye.value.adapter === "codex" ? "App 需保持运行,模型与权限沿用原聊天设置。" : "切回 CLI 前,需让 App 释放原聊天;仍被占用时无法执行。"), 1),
|
|
52300
52618
|
q(f, {
|
|
52301
52619
|
label: "保存接入方式",
|
|
52302
52620
|
class: "channel-primary-button",
|
|
@@ -52304,7 +52622,7 @@ var hU = /*#__PURE__*/ XH({
|
|
|
52304
52622
|
disabled: !!I(a),
|
|
52305
52623
|
onClick: c[8] ||= (e) => I(i)("save_room_configuration")
|
|
52306
52624
|
}, null, 8, ["loading", "disabled"]),
|
|
52307
|
-
I(n).launch.repair?.notice ? (U(), W("p",
|
|
52625
|
+
I(n).launch.repair?.notice ? (U(), W("p", WQ, P(I(n).launch.repair.notice), 1)) : Y("", !0),
|
|
52308
52626
|
I(n).launch.repair?.applied && ne.value ? (U(), G(f, {
|
|
52309
52627
|
key: 1,
|
|
52310
52628
|
label: "重启讨论",
|
|
@@ -52323,18 +52641,37 @@ var hU = /*#__PURE__*/ XH({
|
|
|
52323
52641
|
variant: "outline",
|
|
52324
52642
|
color: "neutral",
|
|
52325
52643
|
loading: !!I(a),
|
|
52326
|
-
onClick:
|
|
52327
|
-
}, null, 8, ["loading"])), I(n).launch.repair_error ? (U(), W("p",
|
|
52644
|
+
onClick: Ae
|
|
52645
|
+
}, null, 8, ["loading"])), I(n).launch.repair_error ? (U(), W("p", GQ, P(I(n).launch.repair_error), 1)) : Y("", !0)], 64)) : (U(), W("p", KQ, "本场状态已变化,请关闭后重新核对。"))])]),
|
|
52328
52646
|
_: 1
|
|
52329
52647
|
}, 8, ["open"]),
|
|
52330
|
-
q(
|
|
52648
|
+
q(UZ, {
|
|
52331
52649
|
open: he.value,
|
|
52332
52650
|
"onUpdate:open": c[11] ||= (e) => he.value = e,
|
|
52333
52651
|
description: "新专家由程序按本机软件配置启动,或由你手动启动,加入本轮发言队列。"
|
|
52334
52652
|
}, null, 8, ["open"]),
|
|
52653
|
+
q(gJ, {
|
|
52654
|
+
open: !!Te.value,
|
|
52655
|
+
name: Te.value || " ",
|
|
52656
|
+
platform: Te.value ? I(r).platform_of(Te.value) : "",
|
|
52657
|
+
text: _.value.descriptions?.[Te.value] || "",
|
|
52658
|
+
template: Te.value ? I(r).description_template(Te.value) : "",
|
|
52659
|
+
saving: Ee.value,
|
|
52660
|
+
"onUpdate:open": c[12] ||= (e) => {
|
|
52661
|
+
e || (Te.value = "");
|
|
52662
|
+
},
|
|
52663
|
+
onSave: De
|
|
52664
|
+
}, null, 8, [
|
|
52665
|
+
"open",
|
|
52666
|
+
"name",
|
|
52667
|
+
"platform",
|
|
52668
|
+
"text",
|
|
52669
|
+
"template",
|
|
52670
|
+
"saving"
|
|
52671
|
+
]),
|
|
52335
52672
|
q(se, {
|
|
52336
52673
|
open: E.value,
|
|
52337
|
-
"onUpdate:open": c[
|
|
52674
|
+
"onUpdate:open": c[16] ||= (e) => E.value = e,
|
|
52338
52675
|
title: "重新开始讨论",
|
|
52339
52676
|
description: "保留全部记录和原结论,按新的上限继续。",
|
|
52340
52677
|
ui: {
|
|
@@ -52344,20 +52681,20 @@ var hU = /*#__PURE__*/ XH({
|
|
|
52344
52681
|
}, {
|
|
52345
52682
|
body: L(() => [K("form", {
|
|
52346
52683
|
class: "pb-reopen",
|
|
52347
|
-
onSubmit: uu(
|
|
52684
|
+
onSubmit: uu(Pe, ["prevent"])
|
|
52348
52685
|
}, [q(bU, {
|
|
52349
52686
|
ref_key: "reopen_limits",
|
|
52350
52687
|
ref: D,
|
|
52351
52688
|
rounds: O.value,
|
|
52352
|
-
"onUpdate:rounds": c[
|
|
52689
|
+
"onUpdate:rounds": c[13] ||= (e) => O.value = e,
|
|
52353
52690
|
minutes: ee.value,
|
|
52354
|
-
"onUpdate:minutes": c[
|
|
52691
|
+
"onUpdate:minutes": c[14] ||= (e) => ee.value = e,
|
|
52355
52692
|
execution: !1
|
|
52356
|
-
}, null, 8, ["rounds", "minutes"]), K("div",
|
|
52693
|
+
}, null, 8, ["rounds", "minutes"]), K("div", qQ, [q(f, {
|
|
52357
52694
|
label: "取消",
|
|
52358
52695
|
color: "neutral",
|
|
52359
52696
|
variant: "ghost",
|
|
52360
|
-
onClick: c[
|
|
52697
|
+
onClick: c[15] ||= (e) => E.value = !1
|
|
52361
52698
|
}), q(f, {
|
|
52362
52699
|
type: "submit",
|
|
52363
52700
|
icon: "i-lucide-rotate-ccw",
|
|
@@ -52370,7 +52707,7 @@ var hU = /*#__PURE__*/ XH({
|
|
|
52370
52707
|
}, 8, ["open"]),
|
|
52371
52708
|
q(se, {
|
|
52372
52709
|
open: o.value,
|
|
52373
|
-
"onUpdate:open": c[
|
|
52710
|
+
"onUpdate:open": c[18] ||= (e) => o.value = e,
|
|
52374
52711
|
title: "结束讨论",
|
|
52375
52712
|
description: "当前发言安排会被取消,已有消息全部保留。",
|
|
52376
52713
|
ui: {
|
|
@@ -52378,18 +52715,18 @@ var hU = /*#__PURE__*/ XH({
|
|
|
52378
52715
|
body: "dialog-body"
|
|
52379
52716
|
}
|
|
52380
52717
|
}, {
|
|
52381
|
-
body: L(() => [K("div",
|
|
52718
|
+
body: L(() => [K("div", JQ, [K("button", {
|
|
52382
52719
|
type: "button",
|
|
52383
52720
|
class: "progress-ending-option",
|
|
52384
52721
|
disabled: C.value || !!I(a),
|
|
52385
|
-
onClick: c[
|
|
52386
|
-
}, [...c[
|
|
52722
|
+
onClick: c[17] ||= (e) => Fe("end_room_discussion")
|
|
52723
|
+
}, [...c[31] ||= [K("strong", null, "结束讨论", -1), K("span", null, "保留全部记录,自动运行随之停止,房间回到自由协作;需要总结时可直接请主持人写一份。", -1)]], 8, YQ)])]),
|
|
52387
52724
|
_: 1
|
|
52388
52725
|
}, 8, ["open"])
|
|
52389
52726
|
], 2);
|
|
52390
52727
|
};
|
|
52391
52728
|
}
|
|
52392
|
-
}, [["__scopeId", "data-v-
|
|
52729
|
+
}, [["__scopeId", "data-v-a01e3534"]]), e$ = { class: "progress-panel-anchor" }, t$ = ["aria-expanded", "aria-label"], n$ = { class: "progress-chip-text" }, r$ = { class: "progress-chip-rounds" }, i$ = {
|
|
52393
52730
|
__name: "ProgressPanel",
|
|
52394
52731
|
setup(e) {
|
|
52395
52732
|
let { view: t, bridge: n } = xr("discussion"), r = /* @__PURE__ */ F(!1), i = Z(() => t.value.room), a = Z(() => i.value.limits || {}), o = Z(() => {
|
|
@@ -52416,7 +52753,7 @@ var hU = /*#__PURE__*/ XH({
|
|
|
52416
52753
|
}), s = Z(() => a.value.round_cap || a.value.max_rounds ? n.limit_rounds(a.value).text.replace(" / ", "/") : n.progress_round(i.value)), c = Z(() => `${o.value.title} · ${s.value}`);
|
|
52417
52754
|
return (e, t) => {
|
|
52418
52755
|
let n = $V, a = NV;
|
|
52419
|
-
return U(), W("div",
|
|
52756
|
+
return U(), W("div", e$, [q(n, { text: "查看讨论进度" }, {
|
|
52420
52757
|
default: L(() => [K("button", {
|
|
52421
52758
|
type: "button",
|
|
52422
52759
|
class: M(["progress-chip", `is-${o.value.tone}`]),
|
|
@@ -52424,7 +52761,7 @@ var hU = /*#__PURE__*/ XH({
|
|
|
52424
52761
|
"aria-expanded": r.value,
|
|
52425
52762
|
"aria-label": `查看讨论进度:${c.value}`,
|
|
52426
52763
|
onClick: t[0] ||= (e) => r.value = !0
|
|
52427
|
-
}, [t[2] ||= K("span", { class: "progress-dot" }, null, -1), K("span",
|
|
52764
|
+
}, [t[2] ||= K("span", { class: "progress-dot" }, null, -1), K("span", n$, [J(P(o.value.title), 1), K("span", r$, " · " + P(s.value), 1)])], 10, t$)]),
|
|
52428
52765
|
_: 1
|
|
52429
52766
|
}), q(a, {
|
|
52430
52767
|
open: r.value,
|
|
@@ -52437,12 +52774,12 @@ var hU = /*#__PURE__*/ XH({
|
|
|
52437
52774
|
body: "progress-drawer-body"
|
|
52438
52775
|
}
|
|
52439
52776
|
}, {
|
|
52440
|
-
body: L(() => [q(
|
|
52777
|
+
body: L(() => [q($Q)]),
|
|
52441
52778
|
_: 1
|
|
52442
52779
|
}, 8, ["open", "description"])]);
|
|
52443
52780
|
};
|
|
52444
52781
|
}
|
|
52445
|
-
},
|
|
52782
|
+
}, a$ = { class: "start-discussion-footer" }, o$ = 3, s$ = /*#__PURE__*/ XH({
|
|
52446
52783
|
__name: "StartDiscussionDialog",
|
|
52447
52784
|
props: {
|
|
52448
52785
|
open: {
|
|
@@ -52453,9 +52790,9 @@ var hU = /*#__PURE__*/ XH({
|
|
|
52453
52790
|
},
|
|
52454
52791
|
emits: ["update:open"],
|
|
52455
52792
|
setup(e) {
|
|
52456
|
-
let t = ro(e, "open"), { view: n, act: r, pending: i } = xr("discussion"), a = /* @__PURE__ */ F(""), o = /* @__PURE__ */ F(
|
|
52793
|
+
let t = ro(e, "open"), { view: n, act: r, pending: i } = xr("discussion"), a = /* @__PURE__ */ F(""), o = /* @__PURE__ */ F(o$), s = /* @__PURE__ */ F(0), c = /* @__PURE__ */ F(""), l = /* @__PURE__ */ F(!1), u = /* @__PURE__ */ F(null);
|
|
52457
52794
|
R(t, (e) => {
|
|
52458
|
-
e && (a.value = "", o.value =
|
|
52795
|
+
e && (a.value = "", o.value = o$, s.value = 0, c.value = "", l.value = !1);
|
|
52459
52796
|
});
|
|
52460
52797
|
async function d() {
|
|
52461
52798
|
u.value?.settle();
|
|
@@ -52523,7 +52860,7 @@ var hU = /*#__PURE__*/ XH({
|
|
|
52523
52860
|
"minutes",
|
|
52524
52861
|
"execution_minutes"
|
|
52525
52862
|
]),
|
|
52526
|
-
K("div",
|
|
52863
|
+
K("div", a$, [q(h, {
|
|
52527
52864
|
label: "取消",
|
|
52528
52865
|
color: "neutral",
|
|
52529
52866
|
variant: "ghost",
|
|
@@ -52541,58 +52878,58 @@ var hU = /*#__PURE__*/ XH({
|
|
|
52541
52878
|
}, 8, ["open"]);
|
|
52542
52879
|
};
|
|
52543
52880
|
}
|
|
52544
|
-
}, [["__scopeId", "data-v-dee972d6"]]),
|
|
52881
|
+
}, [["__scopeId", "data-v-dee972d6"]]), c$ = { class: "progress-board is-docked" }, l$ = { class: "pb-header" }, u$ = { class: "pb-mode" }, d$ = { class: "pb-status-line" }, f$ = { role: "status" }, p$ = {
|
|
52545
52882
|
key: 0,
|
|
52546
52883
|
class: "pb-status-detail"
|
|
52547
|
-
},
|
|
52884
|
+
}, m$ = { class: "pb-meters" }, h$ = { class: "pb-meter-label" }, g$ = {
|
|
52548
52885
|
key: 0,
|
|
52549
52886
|
class: "pb-bar"
|
|
52550
|
-
},
|
|
52887
|
+
}, _$ = {
|
|
52551
52888
|
key: 0,
|
|
52552
52889
|
class: "pb-section",
|
|
52553
52890
|
"aria-label": "当前任务"
|
|
52554
|
-
},
|
|
52891
|
+
}, v$ = {
|
|
52555
52892
|
class: "pb-section",
|
|
52556
52893
|
"aria-label": "发言顺序"
|
|
52557
|
-
},
|
|
52894
|
+
}, y$ = { class: "pb-member-body" }, b$ = ["title"], x$ = {
|
|
52558
52895
|
key: 0,
|
|
52559
52896
|
class: "pb-member-model"
|
|
52560
|
-
},
|
|
52897
|
+
}, S$ = {
|
|
52561
52898
|
key: 1,
|
|
52562
52899
|
class: "pb-member-model",
|
|
52563
52900
|
title: "它工作时请不要在原窗口继续操作"
|
|
52564
|
-
},
|
|
52901
|
+
}, C$ = ["title"], w$ = {
|
|
52565
52902
|
key: 0,
|
|
52566
52903
|
role: "alert",
|
|
52567
52904
|
class: "pb-free-note is-error"
|
|
52568
|
-
},
|
|
52905
|
+
}, T$ = {
|
|
52569
52906
|
key: 1,
|
|
52570
52907
|
role: "status",
|
|
52571
52908
|
class: "pb-free-note"
|
|
52572
|
-
},
|
|
52909
|
+
}, E$ = {
|
|
52573
52910
|
key: 2,
|
|
52574
52911
|
role: "alert",
|
|
52575
52912
|
class: "pb-free-note is-error"
|
|
52576
|
-
},
|
|
52913
|
+
}, D$ = {
|
|
52577
52914
|
key: 3,
|
|
52578
52915
|
role: "status",
|
|
52579
52916
|
class: "pb-free-note"
|
|
52580
|
-
},
|
|
52917
|
+
}, O$ = {
|
|
52581
52918
|
key: 1,
|
|
52582
52919
|
class: "pb-section",
|
|
52583
52920
|
"aria-label": "头脑风暴"
|
|
52584
|
-
},
|
|
52921
|
+
}, k$ = ["onClick"], A$ = {
|
|
52585
52922
|
key: 2,
|
|
52586
52923
|
class: "pb-actions",
|
|
52587
52924
|
"aria-label": "操作"
|
|
52588
|
-
},
|
|
52925
|
+
}, j$ = {
|
|
52589
52926
|
key: 0,
|
|
52590
52927
|
class: "pb-free-note"
|
|
52591
|
-
},
|
|
52928
|
+
}, M$ = {
|
|
52592
52929
|
key: 3,
|
|
52593
52930
|
class: "pb-section",
|
|
52594
52931
|
"aria-label": "执行耗时"
|
|
52595
|
-
},
|
|
52932
|
+
}, N$ = { class: "pb-timing-heading" }, P$ = { class: "pb-timings" }, F$ = { class: "pb-timing-who" }, I$ = { class: "pb-timing-stages" }, L$ = 90, R$ = /*#__PURE__*/ XH({
|
|
52596
52933
|
__name: "FreeBoard",
|
|
52597
52934
|
setup(e) {
|
|
52598
52935
|
let { view: t, bridge: n, act: r, pending: i } = xr("discussion"), a = ["dispatched", "started"], o = {
|
|
@@ -52701,6 +53038,14 @@ var hU = /*#__PURE__*/ XH({
|
|
|
52701
53038
|
disabled: !i?.can_manage || !a,
|
|
52702
53039
|
onSelect: () => r("copy_member_launch", e.name)
|
|
52703
53040
|
}] : [],
|
|
53041
|
+
{
|
|
53042
|
+
label: "编辑描述",
|
|
53043
|
+
icon: "i-lucide-user-pen",
|
|
53044
|
+
disabled: !i?.can_manage,
|
|
53045
|
+
onSelect: () => {
|
|
53046
|
+
D.value = e.name;
|
|
53047
|
+
}
|
|
53048
|
+
},
|
|
52704
53049
|
{
|
|
52705
53050
|
label: "复制参与说明",
|
|
52706
53051
|
icon: "i-lucide-copy",
|
|
@@ -52739,41 +53084,49 @@ var hU = /*#__PURE__*/ XH({
|
|
|
52739
53084
|
}]
|
|
52740
53085
|
];
|
|
52741
53086
|
}
|
|
52742
|
-
let E = /* @__PURE__ */ F(!1);
|
|
53087
|
+
let E = /* @__PURE__ */ F(!1), D = /* @__PURE__ */ F(""), O = /* @__PURE__ */ F(!1);
|
|
52743
53088
|
R(() => c.value.id, () => {
|
|
52744
|
-
E.value = !1;
|
|
53089
|
+
E.value = !1, D.value = "";
|
|
52745
53090
|
});
|
|
52746
|
-
|
|
53091
|
+
async function ee({ text: e, as_template: t }) {
|
|
53092
|
+
O.value = !0;
|
|
53093
|
+
try {
|
|
53094
|
+
await n.describe_member(D.value, e), t && n.save_description_template(D.value, e), D.value = "";
|
|
53095
|
+
} catch {} finally {
|
|
53096
|
+
O.value = !1;
|
|
53097
|
+
}
|
|
53098
|
+
}
|
|
53099
|
+
let k = /* @__PURE__ */ F(!1), te = Z(() => !!(u.value && u.value.access === "runner") && t.value.launch.available);
|
|
52747
53100
|
return R(() => c.value.id, () => {
|
|
52748
|
-
|
|
53101
|
+
k.value = !1;
|
|
52749
53102
|
}), (e, i) => {
|
|
52750
|
-
let a = pA, p = sA, h = MA,
|
|
52751
|
-
return U(), W("div",
|
|
52752
|
-
K("header",
|
|
53103
|
+
let a = pA, p = sA, h = MA, ne = CH;
|
|
53104
|
+
return U(), W("div", c$, [
|
|
53105
|
+
K("header", l$, [i[6] ||= K("strong", null, "自由协作", -1), K("span", u$, P(u.value ? `${I(n).display_name(u.value.name)} 主持` : "无主持人"), 1)]),
|
|
52753
53106
|
K("section", {
|
|
52754
53107
|
class: M(["pb-status", `is-${y.value.tone}`]),
|
|
52755
53108
|
"aria-label": "房间状态"
|
|
52756
53109
|
}, [
|
|
52757
|
-
K("div",
|
|
52758
|
-
y.value.detail ? (U(), W("p",
|
|
52759
|
-
K("div",
|
|
53110
|
+
K("div", d$, [i[7] ||= K("span", { class: "pb-dot" }, null, -1), K("strong", f$, P(y.value.title), 1)]),
|
|
53111
|
+
y.value.detail ? (U(), W("p", p$, P(y.value.detail), 1)) : Y("", !0),
|
|
53112
|
+
K("div", m$, [(U(!0), W(H, null, B(b.value, (e) => (U(), W("div", {
|
|
52760
53113
|
key: e.label,
|
|
52761
53114
|
class: "pb-meter"
|
|
52762
|
-
}, [K("div",
|
|
53115
|
+
}, [K("div", h$, [K("span", null, P(e.label), 1), K("b", null, P(e.text), 1)]), e.ratio === null ? Y("", !0) : (U(), W("div", g$, [K("i", { style: fe({ width: `${Math.min(100, Math.round(e.ratio * 100))}%` }) }, null, 4)]))]))), 128))])
|
|
52763
53116
|
], 2),
|
|
52764
|
-
x.value ? (U(), W("section",
|
|
52765
|
-
i[
|
|
53117
|
+
x.value ? (U(), W("section", _$, [
|
|
53118
|
+
i[8] ||= K("h4", null, "当前任务", -1),
|
|
52766
53119
|
K("p", { class: M(["pb-focus", { "is-expanded": S.value }]) }, P(x.value), 3),
|
|
52767
|
-
x.value.length >
|
|
53120
|
+
x.value.length > L$ ? (U(), W("button", {
|
|
52768
53121
|
key: 0,
|
|
52769
53122
|
type: "button",
|
|
52770
53123
|
class: "pb-link",
|
|
52771
53124
|
onClick: i[0] ||= (e) => S.value = !S.value
|
|
52772
53125
|
}, P(S.value ? "收起" : "展开"), 1)) : Y("", !0)
|
|
52773
53126
|
])) : Y("", !0),
|
|
52774
|
-
K("section",
|
|
52775
|
-
i[
|
|
52776
|
-
q(
|
|
53127
|
+
K("section", v$, [
|
|
53128
|
+
i[10] ||= K("h4", null, "发言顺序", -1),
|
|
53129
|
+
q(rQ, { away: f.value }, {
|
|
52777
53130
|
default: L(({ item: e }) => [(U(!0), W(H, null, B([d(e.name)].filter(Boolean), (t) => (U(), W(H, { key: t.id }, [
|
|
52778
53131
|
q(a, {
|
|
52779
53132
|
src: I(n).identities[t.name]?.icon,
|
|
@@ -52787,8 +53140,11 @@ var hU = /*#__PURE__*/ XH({
|
|
|
52787
53140
|
"alt",
|
|
52788
53141
|
"class"
|
|
52789
53142
|
]),
|
|
52790
|
-
K("div",
|
|
52791
|
-
K("div",
|
|
53143
|
+
K("div", y$, [
|
|
53144
|
+
K("div", {
|
|
53145
|
+
class: "pb-member-name",
|
|
53146
|
+
title: c.value.descriptions?.[t.name] || void 0
|
|
53147
|
+
}, [
|
|
52792
53148
|
J(P(I(n).display_name(t.name)), 1),
|
|
52793
53149
|
t.role === "host" ? (U(), G(p, {
|
|
52794
53150
|
key: 0,
|
|
@@ -52796,15 +53152,15 @@ var hU = /*#__PURE__*/ XH({
|
|
|
52796
53152
|
title: "主持人"
|
|
52797
53153
|
})) : Y("", !0),
|
|
52798
53154
|
K("small", null, P(t.role === "host" ? `主持 · ${s[t.access]}` : s[t.access]), 1)
|
|
52799
|
-
]),
|
|
52800
|
-
v(t) ? (U(), W("div",
|
|
52801
|
-
t.session_mode === "borrowed" ? (U(), W("div",
|
|
52802
|
-
K("div", { class: M(["pb-member-status", `is-${g(t)}`]) }, [i[
|
|
53155
|
+
], 8, b$),
|
|
53156
|
+
v(t) ? (U(), W("div", x$, P(v(t)), 1)) : Y("", !0),
|
|
53157
|
+
t.session_mode === "borrowed" ? (U(), W("div", S$, "借用已有会话")) : Y("", !0),
|
|
53158
|
+
K("div", { class: M(["pb-member-status", `is-${g(t)}`]) }, [i[9] ||= K("span", { class: "pb-dot" }, null, -1), K("span", {
|
|
52803
53159
|
class: "pb-member-status-text",
|
|
52804
53160
|
title: t.execution?.status === "failed" ? t.execution.result : void 0
|
|
52805
|
-
}, P(_(t, e.state)), 9,
|
|
53161
|
+
}, P(_(t, e.state)), 9, C$)], 2)
|
|
52806
53162
|
]),
|
|
52807
|
-
q(
|
|
53163
|
+
q(ne, {
|
|
52808
53164
|
items: T(t),
|
|
52809
53165
|
content: { align: "end" },
|
|
52810
53166
|
ui: { content: "channel-menu" }
|
|
@@ -52826,8 +53182,8 @@ var hU = /*#__PURE__*/ XH({
|
|
|
52826
53182
|
key: e.executions.join("-"),
|
|
52827
53183
|
class: "pb-free-note is-warning"
|
|
52828
53184
|
}, "可能冲突:" + P(e.members.map((e) => I(n).display_name(e)).join(" 与 ")) + " 的重叠执行观察到 " + P(e.files.join("、")) + " 变化;修改者未确认。", 1))), 128)),
|
|
52829
|
-
I(t).free_error ? (U(), W("p",
|
|
52830
|
-
I(t).access?.error ? (U(), W("p",
|
|
53185
|
+
I(t).free_error ? (U(), W("p", w$, P(I(t).free_error), 1)) : I(t).free_notice ? (U(), W("p", T$, P(I(t).free_notice), 1)) : Y("", !0),
|
|
53186
|
+
I(t).access?.error ? (U(), W("p", E$, P(I(t).access.error), 1)) : I(t).access?.notice ? (U(), W("p", D$, P(I(t).access.notice), 1)) : Y("", !0),
|
|
52831
53187
|
c.value.archived ? Y("", !0) : (U(), G(h, {
|
|
52832
53188
|
key: 4,
|
|
52833
53189
|
icon: "i-lucide-plus",
|
|
@@ -52839,13 +53195,13 @@ var hU = /*#__PURE__*/ XH({
|
|
|
52839
53195
|
onClick: i[1] ||= (e) => E.value = !0
|
|
52840
53196
|
}))
|
|
52841
53197
|
]),
|
|
52842
|
-
c.value.linked_rooms?.length ? (U(), W("section",
|
|
53198
|
+
c.value.linked_rooms?.length ? (U(), W("section", O$, [i[11] ||= K("h4", null, "头脑风暴", -1), (U(!0), W(H, null, B(c.value.linked_rooms, (e) => (U(), W("button", {
|
|
52843
53199
|
key: e.id,
|
|
52844
53200
|
type: "button",
|
|
52845
53201
|
class: "pb-link pb-free-linked",
|
|
52846
53202
|
onClick: (t) => I(r)("room", e.id)
|
|
52847
|
-
}, [J(P(e.title), 1), K("small", null, P(I(n).phases[e.phase] || e.phase), 1)], 8,
|
|
52848
|
-
c.value.archived ? Y("", !0) : (U(), W("section",
|
|
53203
|
+
}, [J(P(e.title), 1), K("small", null, P(I(n).phases[e.phase] || e.phase), 1)], 8, k$))), 128))])) : Y("", !0),
|
|
53204
|
+
c.value.archived ? Y("", !0) : (U(), W("section", A$, [q(h, {
|
|
52849
53205
|
icon: "i-lucide-messages-square",
|
|
52850
53206
|
label: "开启讨论",
|
|
52851
53207
|
size: "sm",
|
|
@@ -52853,63 +53209,82 @@ var hU = /*#__PURE__*/ XH({
|
|
|
52853
53209
|
variant: "outline",
|
|
52854
53210
|
class: "pb-action pb-action-block pb-restart",
|
|
52855
53211
|
title: "由主持人推进成员轮流发言,到上限或结束后房间回到自由协作",
|
|
52856
|
-
disabled: !
|
|
52857
|
-
onClick: i[2] ||= (e) =>
|
|
52858
|
-
}, null, 8, ["disabled"]),
|
|
52859
|
-
C.value.items.length ? (U(), W("section",
|
|
52860
|
-
q(
|
|
52861
|
-
open:
|
|
52862
|
-
"onUpdate:open": i[3] ||= (e) =>
|
|
53212
|
+
disabled: !te.value,
|
|
53213
|
+
onClick: i[2] ||= (e) => k.value = !0
|
|
53214
|
+
}, null, 8, ["disabled"]), te.value ? Y("", !0) : (U(), W("p", j$, "开启讨论需要一位由本机唤醒的 AI 主持人。"))])),
|
|
53215
|
+
C.value.items.length ? (U(), W("section", M$, [K("div", N$, [i[12] ||= K("h4", null, "耗时", -1), K("small", null, "共 " + P(C.value.items.length) + " 次执行 · " + P(w(C.value.total)), 1)]), K("details", P$, [i[13] ||= K("summary", null, "查看每次执行", -1), K("ol", null, [(U(!0), W(H, null, B(C.value.items, (e) => (U(), W("li", { key: e.id }, [K("span", F$, [J("#" + P(e.id) + " " + P(m(e.member_id)), 1), K("small", null, P(o[e.status] || e.status), 1)]), K("span", I$, [K("span", null, "用时 " + P(w(e.seconds)), 1)])]))), 128))])])])) : Y("", !0),
|
|
53216
|
+
q(s$, {
|
|
53217
|
+
open: k.value,
|
|
53218
|
+
"onUpdate:open": i[3] ||= (e) => k.value = e
|
|
52863
53219
|
}, null, 8, ["open"]),
|
|
52864
|
-
q(
|
|
53220
|
+
q(UZ, {
|
|
52865
53221
|
open: E.value,
|
|
52866
53222
|
"onUpdate:open": i[4] ||= (e) => E.value = e,
|
|
52867
53223
|
description: "新成员加入后不打断其他成员;点卡片翻面可设置软件、模型、项目权限和要续接的已有会话。"
|
|
52868
|
-
}, null, 8, ["open"])
|
|
53224
|
+
}, null, 8, ["open"]),
|
|
53225
|
+
q(gJ, {
|
|
53226
|
+
open: !!D.value,
|
|
53227
|
+
name: D.value || " ",
|
|
53228
|
+
platform: D.value ? I(n).platform_of(D.value) : "",
|
|
53229
|
+
text: c.value.descriptions?.[D.value] || "",
|
|
53230
|
+
template: D.value ? I(n).description_template(D.value) : "",
|
|
53231
|
+
saving: O.value,
|
|
53232
|
+
"onUpdate:open": i[5] ||= (e) => {
|
|
53233
|
+
e || (D.value = "");
|
|
53234
|
+
},
|
|
53235
|
+
onSave: ee
|
|
53236
|
+
}, null, 8, [
|
|
53237
|
+
"open",
|
|
53238
|
+
"name",
|
|
53239
|
+
"platform",
|
|
53240
|
+
"text",
|
|
53241
|
+
"template",
|
|
53242
|
+
"saving"
|
|
53243
|
+
])
|
|
52869
53244
|
]);
|
|
52870
53245
|
};
|
|
52871
53246
|
}
|
|
52872
|
-
}, [["__scopeId", "data-v-
|
|
53247
|
+
}, [["__scopeId", "data-v-776a1930"]]), z$ = {
|
|
52873
53248
|
id: "channel-sidebar",
|
|
52874
53249
|
class: "channel-sidebar",
|
|
52875
53250
|
"aria-label": "房间导航"
|
|
52876
|
-
},
|
|
53251
|
+
}, B$ = { class: "channel-sidebar-content" }, V$ = { class: "channel-directory-heading channel-tools-heading" }, H$ = ["aria-expanded"], U$ = { class: "channel-sidebar-footer" }, W$ = ["aria-label"], G$ = { class: "channel-self" }, K$ = ["title"], q$ = [
|
|
52877
53252
|
"aria-valuemax",
|
|
52878
53253
|
"aria-valuenow",
|
|
52879
53254
|
"aria-valuetext"
|
|
52880
|
-
],
|
|
53255
|
+
], J$ = { class: "channel-main" }, Y$ = { class: "channel-header" }, X$ = { class: "channel-title-icon" }, Z$ = { class: "channel-title" }, Q$ = { class: "channel-title-copy" }, $$ = ["title"], e1 = {
|
|
52881
53256
|
key: 0,
|
|
52882
53257
|
class: "channel-header-context"
|
|
52883
|
-
},
|
|
53258
|
+
}, t1 = { class: "channel-header-actions" }, n1 = {
|
|
52884
53259
|
key: 0,
|
|
52885
53260
|
class: "channel-launch-recovery",
|
|
52886
53261
|
"aria-label": "未完成的创建或启动请求"
|
|
52887
|
-
},
|
|
53262
|
+
}, r1 = { role: "status" }, i1 = { class: "button-row" }, a1 = {
|
|
52888
53263
|
key: 1,
|
|
52889
53264
|
class: "channel-tabbar"
|
|
52890
|
-
},
|
|
53265
|
+
}, o1 = { class: "channel-brief-inner" }, s1 = { class: "channel-brief-heading" }, c1 = ["aria-label", "aria-expanded"], l1 = {
|
|
52891
53266
|
key: 0,
|
|
52892
53267
|
class: "channel-brief-preview"
|
|
52893
|
-
},
|
|
53268
|
+
}, u1 = {
|
|
52894
53269
|
id: "channel-brief-content",
|
|
52895
53270
|
class: "channel-brief-content"
|
|
52896
|
-
},
|
|
53271
|
+
}, d1 = ["innerHTML"], f1 = { class: "channel-brief-footer" }, p1 = { class: "channel-brief-status" }, m1 = { class: "channel-content" }, h1 = {
|
|
52897
53272
|
key: 0,
|
|
52898
53273
|
class: "content-page channel-summary",
|
|
52899
53274
|
role: "tabpanel",
|
|
52900
53275
|
"aria-label": "共识"
|
|
52901
|
-
},
|
|
53276
|
+
}, g1 = { class: "page-heading" }, _1 = { class: "form-footer" }, v1 = {
|
|
52902
53277
|
key: 1,
|
|
52903
53278
|
class: "channel-empty"
|
|
52904
|
-
},
|
|
53279
|
+
}, y1 = ["aria-valuenow", "aria-valuetext"], b1 = {
|
|
52905
53280
|
key: 2,
|
|
52906
53281
|
id: "channel-member-rail",
|
|
52907
53282
|
class: "channel-member-rail",
|
|
52908
53283
|
"aria-label": "当前焦点与讨论进度"
|
|
52909
|
-
},
|
|
53284
|
+
}, x1 = { class: "channel-rail-board" }, S1 = {
|
|
52910
53285
|
key: 2,
|
|
52911
53286
|
class: "progress-board is-docked"
|
|
52912
|
-
},
|
|
53287
|
+
}, C1 = { class: "channel-detail-title" }, w1 = { class: "info-section" }, T1 = "ai-codiscuss-channel-layout", E1 = 220, D1 = 440, O1 = 280, k1 = 16, A1 = 180, j1 = 400, M1 = 248, N1 = 16, P1 = 480, F1 = 1200, I1 = 0, L1 = {
|
|
52913
53288
|
__name: "ChannelWorkspace",
|
|
52914
53289
|
setup(e) {
|
|
52915
53290
|
let { view: t, bridge: n, field: r, act: i, pending: a } = xr("discussion"), o = Z(() => t.value.room), s = /* @__PURE__ */ F(""), c = /* @__PURE__ */ F(null), l = /* @__PURE__ */ F(null), u = /* @__PURE__ */ F(null), d = /* @__PURE__ */ F(!1), f = /* @__PURE__ */ F(!0), p = /* @__PURE__ */ F(!1), m = r("state-input"), h = r("brief-input"), g = r("search-input"), _ = r("author-select"), v = [{
|
|
@@ -52931,14 +53306,14 @@ var hU = /*#__PURE__*/ XH({
|
|
|
52931
53306
|
label: "宽",
|
|
52932
53307
|
width: 1240
|
|
52933
53308
|
}
|
|
52934
|
-
}, b = Te(), x = /* @__PURE__ */ F(b.reading), S = /* @__PURE__ */ F(b.effects), C = /* @__PURE__ */ F(b.rail), w = /* @__PURE__ */ F(b.nav), T = /* @__PURE__ */ F(typeof window > "u" ? 728 : window.innerWidth), E = /* @__PURE__ */ F(b.collapsed), D = /* @__PURE__ */ F(!0), O = /* @__PURE__ */ F(b.rail_collapsed), ee = Z(() => T.value >=
|
|
53309
|
+
}, b = Te(), x = /* @__PURE__ */ F(b.reading), S = /* @__PURE__ */ F(b.effects), C = /* @__PURE__ */ F(b.rail), w = /* @__PURE__ */ F(b.nav), T = /* @__PURE__ */ F(typeof window > "u" ? 728 : window.innerWidth), E = /* @__PURE__ */ F(b.collapsed), D = /* @__PURE__ */ F(!0), O = /* @__PURE__ */ F(b.rail_collapsed), ee = Z(() => T.value >= F1), k = Z(() => t.value.tab === "discussion" && !O.value), te = Z(() => ee.value && t.value.tab === "discussion" ? O.value ? "展开房间概览" : "收起房间概览" : "房间资料与参与者"), ne = Z(() => {
|
|
52935
53310
|
let e = document.createElement("template");
|
|
52936
53311
|
return e.innerHTML = o.value?.rendered_brief || "", e.content.textContent.replace(/\s+/g, " ").trim();
|
|
52937
|
-
}), re = /* @__PURE__ */ F(null), ie = /* @__PURE__ */ F(0), A = null, j = /* @__PURE__ */ F(null), ae = /* @__PURE__ */ F(null), oe = Z(() => Math.min(
|
|
53312
|
+
}), re = /* @__PURE__ */ F(null), ie = /* @__PURE__ */ F(0), A = null, j = /* @__PURE__ */ F(null), ae = /* @__PURE__ */ F(null), oe = Z(() => Math.min(j1, Math.max(A1, T.value - P1 - I1))), se = Z(() => Math.min(w.value, oe.value)), ce = Z(() => ({
|
|
52938
53313
|
"--channel-reading-width": `${y[x.value].width}px`,
|
|
52939
53314
|
"--channel-rail-width": `${C.value}px`,
|
|
52940
53315
|
"--channel-topbar-height": `${ie.value}px`,
|
|
52941
|
-
"--channel-main-columns": E.value ? "minmax(0, 1fr)" : `${se.value}px ${
|
|
53316
|
+
"--channel-main-columns": E.value ? "minmax(0, 1fr)" : `${se.value}px ${I1}px minmax(0, 1fr)`
|
|
52942
53317
|
})), le = Object.entries(y).map(([e, t]) => ({
|
|
52943
53318
|
value: e,
|
|
52944
53319
|
label: t.label
|
|
@@ -53021,12 +53396,12 @@ var hU = /*#__PURE__*/ XH({
|
|
|
53021
53396
|
}
|
|
53022
53397
|
function Te() {
|
|
53023
53398
|
try {
|
|
53024
|
-
let e = JSON.parse(localStorage.getItem(
|
|
53399
|
+
let e = JSON.parse(localStorage.getItem(T1)) || {};
|
|
53025
53400
|
return {
|
|
53026
53401
|
reading: Object.hasOwn(y, e.reading) ? e.reading : "default",
|
|
53027
53402
|
effects: e.effects === "reduced" ? "reduced" : "full",
|
|
53028
|
-
rail: Number.isFinite(e.rail) ? Math.min(
|
|
53029
|
-
nav: Number.isFinite(e.nav) ? Math.min(
|
|
53403
|
+
rail: Number.isFinite(e.rail) ? Math.min(D1, Math.max(E1, e.rail)) : O1,
|
|
53404
|
+
nav: Number.isFinite(e.nav) ? Math.min(j1, Math.max(A1, e.nav)) : Ee(),
|
|
53030
53405
|
collapsed: e.collapsed === !0,
|
|
53031
53406
|
brief_collapsed: e.brief_collapsed === !0,
|
|
53032
53407
|
rail_collapsed: e.rail_collapsed === !0
|
|
@@ -53035,7 +53410,7 @@ var hU = /*#__PURE__*/ XH({
|
|
|
53035
53410
|
return {
|
|
53036
53411
|
reading: "default",
|
|
53037
53412
|
effects: "full",
|
|
53038
|
-
rail:
|
|
53413
|
+
rail: O1,
|
|
53039
53414
|
nav: Ee(),
|
|
53040
53415
|
collapsed: !1,
|
|
53041
53416
|
brief_collapsed: !1,
|
|
@@ -53044,11 +53419,11 @@ var hU = /*#__PURE__*/ XH({
|
|
|
53044
53419
|
}
|
|
53045
53420
|
}
|
|
53046
53421
|
function Ee() {
|
|
53047
|
-
return typeof window > "u" ?
|
|
53422
|
+
return typeof window > "u" ? M1 : window.innerWidth >= 1900 ? 280 : window.innerWidth <= 980 ? 220 : M1;
|
|
53048
53423
|
}
|
|
53049
53424
|
function De() {
|
|
53050
53425
|
try {
|
|
53051
|
-
localStorage.setItem(
|
|
53426
|
+
localStorage.setItem(T1, JSON.stringify({
|
|
53052
53427
|
reading: x.value,
|
|
53053
53428
|
effects: S.value,
|
|
53054
53429
|
rail: C.value,
|
|
@@ -53079,19 +53454,19 @@ var hU = /*#__PURE__*/ XH({
|
|
|
53079
53454
|
}, e.currentTarget.setPointerCapture(e.pointerId));
|
|
53080
53455
|
}
|
|
53081
53456
|
function Ne(e) {
|
|
53082
|
-
j.value?.pointer === e.pointerId && (C.value = Math.round(Math.min(
|
|
53457
|
+
j.value?.pointer === e.pointerId && (C.value = Math.round(Math.min(D1, Math.max(E1, j.value.width + j.value.x - e.clientX))));
|
|
53083
53458
|
}
|
|
53084
53459
|
function Pe(e) {
|
|
53085
53460
|
j.value?.pointer === e.pointerId && (j.value = null, e.currentTarget.hasPointerCapture(e.pointerId) && e.currentTarget.releasePointerCapture(e.pointerId), De());
|
|
53086
53461
|
}
|
|
53087
53462
|
function Fe(e) {
|
|
53088
53463
|
let t = {
|
|
53089
|
-
ArrowLeft: C.value +
|
|
53090
|
-
ArrowRight: C.value -
|
|
53091
|
-
Home:
|
|
53092
|
-
End:
|
|
53464
|
+
ArrowLeft: C.value + k1,
|
|
53465
|
+
ArrowRight: C.value - k1,
|
|
53466
|
+
Home: E1,
|
|
53467
|
+
End: D1
|
|
53093
53468
|
};
|
|
53094
|
-
Object.hasOwn(t, e.key) && (e.preventDefault(), C.value = Math.min(
|
|
53469
|
+
Object.hasOwn(t, e.key) && (e.preventDefault(), C.value = Math.min(D1, Math.max(E1, t[e.key])), De());
|
|
53095
53470
|
}
|
|
53096
53471
|
function Ie(e) {
|
|
53097
53472
|
e.button === 0 && (e.preventDefault(), e.currentTarget.focus(), ae.value = {
|
|
@@ -53101,19 +53476,19 @@ var hU = /*#__PURE__*/ XH({
|
|
|
53101
53476
|
}, e.currentTarget.setPointerCapture(e.pointerId));
|
|
53102
53477
|
}
|
|
53103
53478
|
function Le(e) {
|
|
53104
|
-
ae.value?.pointer === e.pointerId && (w.value = Math.round(Math.min(oe.value, Math.max(
|
|
53479
|
+
ae.value?.pointer === e.pointerId && (w.value = Math.round(Math.min(oe.value, Math.max(A1, ae.value.width + e.clientX - ae.value.x))));
|
|
53105
53480
|
}
|
|
53106
53481
|
function Re(e) {
|
|
53107
53482
|
ae.value?.pointer === e.pointerId && (ae.value = null, e.currentTarget.hasPointerCapture(e.pointerId) && e.currentTarget.releasePointerCapture(e.pointerId), De());
|
|
53108
53483
|
}
|
|
53109
53484
|
function ze(e) {
|
|
53110
53485
|
let t = {
|
|
53111
|
-
ArrowLeft: se.value -
|
|
53112
|
-
ArrowRight: se.value +
|
|
53113
|
-
Home:
|
|
53486
|
+
ArrowLeft: se.value - N1,
|
|
53487
|
+
ArrowRight: se.value + N1,
|
|
53488
|
+
Home: A1,
|
|
53114
53489
|
End: oe.value
|
|
53115
53490
|
};
|
|
53116
|
-
Object.hasOwn(t, e.key) && (e.preventDefault(), w.value = Math.min(oe.value, Math.max(
|
|
53491
|
+
Object.hasOwn(t, e.key) && (e.preventDefault(), w.value = Math.min(oe.value, Math.max(A1, t[e.key])), De());
|
|
53117
53492
|
}
|
|
53118
53493
|
return (e, r) => {
|
|
53119
53494
|
let y = sA, b = lH, w = pA, T = MA, O = $V, ie = WV, A = YV, de = KV, Te = HV, Ee = zV, De = NV, ke = AV;
|
|
@@ -53125,10 +53500,10 @@ var hU = /*#__PURE__*/ XH({
|
|
|
53125
53500
|
}]),
|
|
53126
53501
|
style: fe(ce.value)
|
|
53127
53502
|
}, [
|
|
53128
|
-
K("aside",
|
|
53503
|
+
K("aside", z$, [
|
|
53129
53504
|
r[25] ||= ws("<header class=\"channel-workspace-heading\"><span class=\"channel-brand-icon\" aria-hidden=\"true\"><svg class=\"channel-brand-dark\" viewBox=\"0 0 100 100\"><defs><linearGradient id=\"brand-d0\" gradientUnits=\"userSpaceOnUse\" x1=\"4.5\" y1=\"64\" x2=\"95.5\" y2=\"64\"><stop offset=\"0.0%\" stop-color=\"#e9ebed\"></stop><stop offset=\"6.3%\" stop-color=\"#e2e5e7\"></stop><stop offset=\"12.5%\" stop-color=\"#dcdee1\"></stop><stop offset=\"18.8%\" stop-color=\"#d5d8db\"></stop><stop offset=\"25.0%\" stop-color=\"#ced2d5\"></stop><stop offset=\"31.3%\" stop-color=\"#c8cbcf\"></stop><stop offset=\"37.5%\" stop-color=\"#c1c5ca\"></stop><stop offset=\"43.8%\" stop-color=\"#babfc4\"></stop><stop offset=\"50.0%\" stop-color=\"#b4b9be\"></stop><stop offset=\"56.3%\" stop-color=\"#a9aeb3\"></stop><stop offset=\"62.5%\" stop-color=\"#9ea3a9\"></stop><stop offset=\"68.8%\" stop-color=\"#93999f\"></stop><stop offset=\"75.0%\" stop-color=\"#888e95\"></stop><stop offset=\"81.3%\" stop-color=\"#7e848a\"></stop><stop offset=\"87.5%\" stop-color=\"#737a80\"></stop><stop offset=\"93.8%\" stop-color=\"#697077\"></stop><stop offset=\"100.0%\" stop-color=\"#5f666d\"></stop></linearGradient><linearGradient id=\"brand-d1\" gradientUnits=\"userSpaceOnUse\" x1=\"8.5\" y1=\"36\" x2=\"91.5\" y2=\"36\"><stop offset=\"0.0%\" stop-color=\"#3f86ff\"></stop><stop offset=\"6.3%\" stop-color=\"#5588ff\"></stop><stop offset=\"12.5%\" stop-color=\"#6889ff\"></stop><stop offset=\"18.8%\" stop-color=\"#788aff\"></stop><stop offset=\"25.0%\" stop-color=\"#878bff\"></stop><stop offset=\"31.3%\" stop-color=\"#958cff\"></stop><stop offset=\"37.5%\" stop-color=\"#a78aef\"></stop><stop offset=\"43.8%\" stop-color=\"#b986d7\"></stop><stop offset=\"50.0%\" stop-color=\"#ca80bf\"></stop><stop offset=\"56.3%\" stop-color=\"#da78a6\"></stop><stop offset=\"62.5%\" stop-color=\"#ea6e8c\"></stop><stop offset=\"68.8%\" stop-color=\"#f56d78\"></stop><stop offset=\"75.0%\" stop-color=\"#f77f72\"></stop><stop offset=\"81.3%\" stop-color=\"#f8906b\"></stop><stop offset=\"87.5%\" stop-color=\"#f9a163\"></stop><stop offset=\"93.8%\" stop-color=\"#fab058\"></stop><stop offset=\"100.0%\" stop-color=\"#fac04a\"></stop></linearGradient><linearGradient id=\"brand-d2\" gradientUnits=\"userSpaceOnUse\" x1=\"28.021\" y1=\"95.435\" x2=\"39.978\" y2=\"4.564\"><stop offset=\"0.0%\" stop-color=\"#d06a49\"></stop><stop offset=\"6.3%\" stop-color=\"#d36f4f\"></stop><stop offset=\"12.5%\" stop-color=\"#d67456\"></stop><stop offset=\"18.8%\" stop-color=\"#d97a5c\"></stop><stop offset=\"25.0%\" stop-color=\"#dc7f62\"></stop><stop offset=\"31.3%\" stop-color=\"#df8468\"></stop><stop offset=\"37.5%\" stop-color=\"#e2896e\"></stop><stop offset=\"43.8%\" stop-color=\"#e58e74\"></stop><stop offset=\"50.0%\" stop-color=\"#e8937a\"></stop><stop offset=\"56.3%\" stop-color=\"#eb9d85\"></stop><stop offset=\"62.5%\" stop-color=\"#eea68f\"></stop><stop offset=\"68.8%\" stop-color=\"#f1b09a\"></stop><stop offset=\"75.0%\" stop-color=\"#f4baa4\"></stop><stop offset=\"81.3%\" stop-color=\"#f6c3af\"></stop><stop offset=\"87.5%\" stop-color=\"#f9cdb9\"></stop><stop offset=\"93.8%\" stop-color=\"#fbd6c4\"></stop><stop offset=\"100.0%\" stop-color=\"#fde0cf\"></stop></linearGradient><linearGradient id=\"brand-d3\" gradientUnits=\"userSpaceOnUse\" x1=\"71.978\" y1=\"95.435\" x2=\"60.021\" y2=\"4.564\"><stop offset=\"0.0%\" stop-color=\"#4a5cff\"></stop><stop offset=\"6.3%\" stop-color=\"#5062ff\"></stop><stop offset=\"12.5%\" stop-color=\"#5768ff\"></stop><stop offset=\"18.8%\" stop-color=\"#5d6dff\"></stop><stop offset=\"25.0%\" stop-color=\"#6472ff\"></stop><stop offset=\"31.3%\" stop-color=\"#6b77ff\"></stop><stop offset=\"37.5%\" stop-color=\"#717cff\"></stop><stop offset=\"43.8%\" stop-color=\"#7881ff\"></stop><stop offset=\"50.0%\" stop-color=\"#7f86ff\"></stop><stop offset=\"56.3%\" stop-color=\"#8990ff\"></stop><stop offset=\"62.5%\" stop-color=\"#9399ff\"></stop><stop offset=\"68.8%\" stop-color=\"#9da2ff\"></stop><stop offset=\"75.0%\" stop-color=\"#a8abff\"></stop><stop offset=\"81.3%\" stop-color=\"#b3b4ff\"></stop><stop offset=\"87.5%\" stop-color=\"#bebdff\"></stop><stop offset=\"93.8%\" stop-color=\"#c9c5ff\"></stop><stop offset=\"100.0%\" stop-color=\"#d4ceff\"></stop></linearGradient><clipPath id=\"brand-d4\"><polygon points=\"16,46.5 84,46.5 84,25.5 16,25.5\"></polygon></clipPath><clipPath id=\"brand-d5\"><polygon points=\"16,48.5 84,48.5 84,23.5 16,23.5\"></polygon></clipPath><clipPath id=\"brand-d6\"><polygon points=\"81.410,86.630 71.410,10.630 50.589,13.369 60.589,89.369\"></polygon></clipPath><clipPath id=\"brand-d7\"><polygon points=\"83.393,86.369 73.393,10.369 48.606,13.630 58.606,89.630\"></polygon></clipPath><clipPath id=\"brand-d8\"><polygon points=\"12,74.5 88,74.5 88,53.5 12,53.5\"></polygon></clipPath><clipPath id=\"brand-d9\"><polygon points=\"12,76.5 88,76.5 88,51.5 12,51.5\"></polygon></clipPath><clipPath id=\"brand-d10\"><polygon points=\"39.410,89.369 49.410,13.369 28.589,10.630 18.589,86.630\"></polygon></clipPath><clipPath id=\"brand-d11\"><polygon points=\"41.393,89.630 51.393,13.630 26.606,10.369 16.606,86.369\"></polygon></clipPath></defs><line x1=\"12\" y1=\"64\" x2=\"88\" y2=\"64\" stroke=\"url(#brand-d0)\" stroke-width=\"15\" stroke-linecap=\"round\"></line><line x1=\"16\" y1=\"36\" x2=\"84\" y2=\"36\" stroke=\"url(#brand-d1)\" stroke-width=\"15\" stroke-linecap=\"round\"></line><line x1=\"29\" y1=\"88\" x2=\"39\" y2=\"12\" stroke=\"url(#brand-d2)\" stroke-width=\"15\" stroke-linecap=\"round\"></line><line x1=\"71\" y1=\"88\" x2=\"61\" y2=\"12\" stroke=\"url(#brand-d3)\" stroke-width=\"15\" stroke-linecap=\"round\"></line><g clip-path=\"url(#brand-d4)\"><line x1=\"29\" y1=\"88\" x2=\"39\" y2=\"12\" stroke=\"#202127\" stroke-width=\"21\" stroke-linecap=\"round\"></line></g><g clip-path=\"url(#brand-d5)\"><line x1=\"29\" y1=\"88\" x2=\"39\" y2=\"12\" stroke=\"url(#brand-d2)\" stroke-width=\"15\" stroke-linecap=\"round\"></line></g><g clip-path=\"url(#brand-d6)\"><line x1=\"16\" y1=\"36\" x2=\"84\" y2=\"36\" stroke=\"#202127\" stroke-width=\"21\" stroke-linecap=\"round\"></line></g><g clip-path=\"url(#brand-d7)\"><line x1=\"16\" y1=\"36\" x2=\"84\" y2=\"36\" stroke=\"url(#brand-d1)\" stroke-width=\"15\" stroke-linecap=\"round\"></line></g><g clip-path=\"url(#brand-d8)\"><line x1=\"71\" y1=\"88\" x2=\"61\" y2=\"12\" stroke=\"#202127\" stroke-width=\"21\" stroke-linecap=\"round\"></line></g><g clip-path=\"url(#brand-d9)\"><line x1=\"71\" y1=\"88\" x2=\"61\" y2=\"12\" stroke=\"url(#brand-d3)\" stroke-width=\"15\" stroke-linecap=\"round\"></line></g><g clip-path=\"url(#brand-d10)\"><line x1=\"12\" y1=\"64\" x2=\"88\" y2=\"64\" stroke=\"#202127\" stroke-width=\"21\" stroke-linecap=\"round\"></line></g><g clip-path=\"url(#brand-d11)\"><line x1=\"12\" y1=\"64\" x2=\"88\" y2=\"64\" stroke=\"url(#brand-d0)\" stroke-width=\"15\" stroke-linecap=\"round\"></line></g></svg><svg class=\"channel-brand-light\" viewBox=\"0 0 100 100\"><defs><linearGradient id=\"brand-l0\" gradientUnits=\"userSpaceOnUse\" x1=\"4.5\" y1=\"64\" x2=\"95.5\" y2=\"64\"><stop offset=\"0.0%\" stop-color=\"#0b0d0f\"></stop><stop offset=\"6.3%\" stop-color=\"#101315\"></stop><stop offset=\"12.5%\" stop-color=\"#16191b\"></stop><stop offset=\"18.8%\" stop-color=\"#1c1f22\"></stop><stop offset=\"25.0%\" stop-color=\"#222529\"></stop><stop offset=\"31.3%\" stop-color=\"#282c2f\"></stop><stop offset=\"37.5%\" stop-color=\"#2e3237\"></stop><stop offset=\"43.8%\" stop-color=\"#34393e\"></stop><stop offset=\"50.0%\" stop-color=\"#3b4045\"></stop><stop offset=\"56.3%\" stop-color=\"#484d52\"></stop><stop offset=\"62.5%\" stop-color=\"#555a5f\"></stop><stop offset=\"68.8%\" stop-color=\"#62676d\"></stop><stop offset=\"75.0%\" stop-color=\"#70757b\"></stop><stop offset=\"81.3%\" stop-color=\"#7e8389\"></stop><stop offset=\"87.5%\" stop-color=\"#8c9297\"></stop><stop offset=\"93.8%\" stop-color=\"#9aa0a6\"></stop><stop offset=\"100.0%\" stop-color=\"#a9afb5\"></stop></linearGradient><linearGradient id=\"brand-l1\" gradientUnits=\"userSpaceOnUse\" x1=\"8.5\" y1=\"36\" x2=\"91.5\" y2=\"36\"><stop offset=\"0.0%\" stop-color=\"#2f7bff\"></stop><stop offset=\"6.3%\" stop-color=\"#487cff\"></stop><stop offset=\"12.5%\" stop-color=\"#5a7cff\"></stop><stop offset=\"18.8%\" stop-color=\"#6a7dff\"></stop><stop offset=\"25.0%\" stop-color=\"#797dff\"></stop><stop offset=\"31.3%\" stop-color=\"#877dff\"></stop><stop offset=\"37.5%\" stop-color=\"#997cee\"></stop><stop offset=\"43.8%\" stop-color=\"#ae79d3\"></stop><stop offset=\"50.0%\" stop-color=\"#c174b8\"></stop><stop offset=\"56.3%\" stop-color=\"#d36b9d\"></stop><stop offset=\"62.5%\" stop-color=\"#e56080\"></stop><stop offset=\"68.8%\" stop-color=\"#f15d69\"></stop><stop offset=\"75.0%\" stop-color=\"#f37162\"></stop><stop offset=\"81.3%\" stop-color=\"#f5835a\"></stop><stop offset=\"87.5%\" stop-color=\"#f79550\"></stop><stop offset=\"93.8%\" stop-color=\"#f8a542\"></stop><stop offset=\"100.0%\" stop-color=\"#f8b52c\"></stop></linearGradient><linearGradient id=\"brand-l2\" gradientUnits=\"userSpaceOnUse\" x1=\"28.021\" y1=\"95.435\" x2=\"39.978\" y2=\"4.564\"><stop offset=\"0.0%\" stop-color=\"#b9502f\"></stop><stop offset=\"6.3%\" stop-color=\"#bd5534\"></stop><stop offset=\"12.5%\" stop-color=\"#c15a39\"></stop><stop offset=\"18.8%\" stop-color=\"#c55f3e\"></stop><stop offset=\"25.0%\" stop-color=\"#c96443\"></stop><stop offset=\"31.3%\" stop-color=\"#cd6848\"></stop><stop offset=\"37.5%\" stop-color=\"#d16d4d\"></stop><stop offset=\"43.8%\" stop-color=\"#d57252\"></stop><stop offset=\"50.0%\" stop-color=\"#d97757\"></stop><stop offset=\"56.3%\" stop-color=\"#dd8060\"></stop><stop offset=\"62.5%\" stop-color=\"#e08a69\"></stop><stop offset=\"68.8%\" stop-color=\"#e49372\"></stop><stop offset=\"75.0%\" stop-color=\"#e79c7b\"></stop><stop offset=\"81.3%\" stop-color=\"#eaa584\"></stop><stop offset=\"87.5%\" stop-color=\"#edae8d\"></stop><stop offset=\"93.8%\" stop-color=\"#f0b796\"></stop><stop offset=\"100.0%\" stop-color=\"#f3c09f\"></stop></linearGradient><linearGradient id=\"brand-l3\" gradientUnits=\"userSpaceOnUse\" x1=\"71.978\" y1=\"95.435\" x2=\"60.021\" y2=\"4.564\"><stop offset=\"0.0%\" stop-color=\"#2b33e6\"></stop><stop offset=\"6.3%\" stop-color=\"#3139e9\"></stop><stop offset=\"12.5%\" stop-color=\"#363fec\"></stop><stop offset=\"18.8%\" stop-color=\"#3c44ef\"></stop><stop offset=\"25.0%\" stop-color=\"#4249f3\"></stop><stop offset=\"31.3%\" stop-color=\"#484ef6\"></stop><stop offset=\"37.5%\" stop-color=\"#4e53f9\"></stop><stop offset=\"43.8%\" stop-color=\"#5457fc\"></stop><stop offset=\"50.0%\" stop-color=\"#5a5cff\"></stop><stop offset=\"56.3%\" stop-color=\"#6569ff\"></stop><stop offset=\"62.5%\" stop-color=\"#7075ff\"></stop><stop offset=\"68.8%\" stop-color=\"#7c80ff\"></stop><stop offset=\"75.0%\" stop-color=\"#888bff\"></stop><stop offset=\"81.3%\" stop-color=\"#9595ff\"></stop><stop offset=\"87.5%\" stop-color=\"#a29fff\"></stop><stop offset=\"93.8%\" stop-color=\"#afa9ff\"></stop><stop offset=\"100.0%\" stop-color=\"#bdb3ff\"></stop></linearGradient><clipPath id=\"brand-l4\"><polygon points=\"16,46.5 84,46.5 84,25.5 16,25.5\"></polygon></clipPath><clipPath id=\"brand-l5\"><polygon points=\"16,48.5 84,48.5 84,23.5 16,23.5\"></polygon></clipPath><clipPath id=\"brand-l6\"><polygon points=\"81.410,86.630 71.410,10.630 50.589,13.369 60.589,89.369\"></polygon></clipPath><clipPath id=\"brand-l7\"><polygon points=\"83.393,86.369 73.393,10.369 48.606,13.630 58.606,89.630\"></polygon></clipPath><clipPath id=\"brand-l8\"><polygon points=\"12,74.5 88,74.5 88,53.5 12,53.5\"></polygon></clipPath><clipPath id=\"brand-l9\"><polygon points=\"12,76.5 88,76.5 88,51.5 12,51.5\"></polygon></clipPath><clipPath id=\"brand-l10\"><polygon points=\"39.410,89.369 49.410,13.369 28.589,10.630 18.589,86.630\"></polygon></clipPath><clipPath id=\"brand-l11\"><polygon points=\"41.393,89.630 51.393,13.630 26.606,10.369 16.606,86.369\"></polygon></clipPath></defs><line x1=\"12\" y1=\"64\" x2=\"88\" y2=\"64\" stroke=\"url(#brand-l0)\" stroke-width=\"15\" stroke-linecap=\"round\"></line><line x1=\"16\" y1=\"36\" x2=\"84\" y2=\"36\" stroke=\"url(#brand-l1)\" stroke-width=\"15\" stroke-linecap=\"round\"></line><line x1=\"29\" y1=\"88\" x2=\"39\" y2=\"12\" stroke=\"url(#brand-l2)\" stroke-width=\"15\" stroke-linecap=\"round\"></line><line x1=\"71\" y1=\"88\" x2=\"61\" y2=\"12\" stroke=\"url(#brand-l3)\" stroke-width=\"15\" stroke-linecap=\"round\"></line><g clip-path=\"url(#brand-l4)\"><line x1=\"29\" y1=\"88\" x2=\"39\" y2=\"12\" stroke=\"#f6f6f6\" stroke-width=\"21\" stroke-linecap=\"round\"></line></g><g clip-path=\"url(#brand-l5)\"><line x1=\"29\" y1=\"88\" x2=\"39\" y2=\"12\" stroke=\"url(#brand-l2)\" stroke-width=\"15\" stroke-linecap=\"round\"></line></g><g clip-path=\"url(#brand-l6)\"><line x1=\"16\" y1=\"36\" x2=\"84\" y2=\"36\" stroke=\"#f6f6f6\" stroke-width=\"21\" stroke-linecap=\"round\"></line></g><g clip-path=\"url(#brand-l7)\"><line x1=\"16\" y1=\"36\" x2=\"84\" y2=\"36\" stroke=\"url(#brand-l1)\" stroke-width=\"15\" stroke-linecap=\"round\"></line></g><g clip-path=\"url(#brand-l8)\"><line x1=\"71\" y1=\"88\" x2=\"61\" y2=\"12\" stroke=\"#f6f6f6\" stroke-width=\"21\" stroke-linecap=\"round\"></line></g><g clip-path=\"url(#brand-l9)\"><line x1=\"71\" y1=\"88\" x2=\"61\" y2=\"12\" stroke=\"url(#brand-l3)\" stroke-width=\"15\" stroke-linecap=\"round\"></line></g><g clip-path=\"url(#brand-l10)\"><line x1=\"12\" y1=\"64\" x2=\"88\" y2=\"64\" stroke=\"#f6f6f6\" stroke-width=\"21\" stroke-linecap=\"round\"></line></g><g clip-path=\"url(#brand-l11)\"><line x1=\"12\" y1=\"64\" x2=\"88\" y2=\"64\" stroke=\"url(#brand-l0)\" stroke-width=\"15\" stroke-linecap=\"round\"></line></g></svg></span><span class=\"channel-brand-text\"><strong>共议</strong><span>AI CoDiscuss</span></span></header>", 1),
|
|
53130
|
-
K("div",
|
|
53131
|
-
q(
|
|
53505
|
+
K("div", B$, [
|
|
53506
|
+
q(DZ, {
|
|
53132
53507
|
onSelect: ye,
|
|
53133
53508
|
onManage: _e,
|
|
53134
53509
|
onCreate: xe,
|
|
@@ -53137,12 +53512,12 @@ var hU = /*#__PURE__*/ XH({
|
|
|
53137
53512
|
onDeleteFolder: we,
|
|
53138
53513
|
onArchives: ve
|
|
53139
53514
|
}),
|
|
53140
|
-
K("div",
|
|
53515
|
+
K("div", V$, [K("button", {
|
|
53141
53516
|
type: "button",
|
|
53142
53517
|
class: "channel-section-toggle",
|
|
53143
53518
|
"aria-expanded": f.value,
|
|
53144
53519
|
onClick: r[0] ||= (e) => f.value = !f.value
|
|
53145
|
-
}, [q(y, { name: f.value ? "i-lucide-chevron-down" : "i-lucide-chevron-right" }, null, 8, ["name"]), r[24] ||= J("频道工具", -1)], 8,
|
|
53520
|
+
}, [q(y, { name: f.value ? "i-lucide-chevron-down" : "i-lucide-chevron-right" }, null, 8, ["name"]), r[24] ||= J("频道工具", -1)], 8, H$)]),
|
|
53146
53521
|
f.value ? (U(), G(b, {
|
|
53147
53522
|
key: 0,
|
|
53148
53523
|
items: he.value,
|
|
@@ -53158,7 +53533,7 @@ var hU = /*#__PURE__*/ XH({
|
|
|
53158
53533
|
}
|
|
53159
53534
|
}, null, 8, ["items"])) : Y("", !0)
|
|
53160
53535
|
]),
|
|
53161
|
-
K("footer",
|
|
53536
|
+
K("footer", U$, [K("button", {
|
|
53162
53537
|
type: "button",
|
|
53163
53538
|
class: "channel-self-button",
|
|
53164
53539
|
"aria-label": `账号与设置:${I(n).display_name(I(_))}${ge.value ? "," + ge.value : ""}`,
|
|
@@ -53174,10 +53549,10 @@ var hU = /*#__PURE__*/ XH({
|
|
|
53174
53549
|
"text",
|
|
53175
53550
|
"alt",
|
|
53176
53551
|
"class"
|
|
53177
|
-
]), K("span",
|
|
53552
|
+
]), K("span", G$, [K("strong", null, P(I(n).display_name(I(_))), 1), K("span", { class: M(["channel-connection", { "is-action": ge.value }]) }, [K("span", {
|
|
53178
53553
|
class: M({ connected: I(t).connected }),
|
|
53179
53554
|
title: I(t).connected ? "网站已连接" : "网站未连接"
|
|
53180
|
-
}, null, 10,
|
|
53555
|
+
}, null, 10, K$), J(P(ge.value || (I(t).connected ? "网站已连接" : "网站未连接")), 1)], 2)])], 8, W$), q(O, { text: "设置" }, {
|
|
53181
53556
|
default: L(() => [q(T, {
|
|
53182
53557
|
icon: "i-lucide-settings-2",
|
|
53183
53558
|
color: "neutral",
|
|
@@ -53198,7 +53573,7 @@ var hU = /*#__PURE__*/ XH({
|
|
|
53198
53573
|
"aria-label": "调整房间栏宽度",
|
|
53199
53574
|
"aria-orientation": "vertical",
|
|
53200
53575
|
"aria-controls": "channel-sidebar",
|
|
53201
|
-
"aria-valuemin":
|
|
53576
|
+
"aria-valuemin": A1,
|
|
53202
53577
|
"aria-valuemax": oe.value,
|
|
53203
53578
|
"aria-valuenow": se.value,
|
|
53204
53579
|
"aria-valuetext": `${se.value} 像素`,
|
|
@@ -53209,13 +53584,13 @@ var hU = /*#__PURE__*/ XH({
|
|
|
53209
53584
|
onPointercancel: Re,
|
|
53210
53585
|
onLostpointercapture: Re,
|
|
53211
53586
|
onKeydown: ze
|
|
53212
|
-
}, null, 40,
|
|
53213
|
-
K("main",
|
|
53587
|
+
}, null, 40, q$)),
|
|
53588
|
+
K("main", J$, [K("div", {
|
|
53214
53589
|
ref_key: "topbar",
|
|
53215
53590
|
ref: re,
|
|
53216
53591
|
class: M(["channel-topbar", { "is-overlay": o.value && I(t).tab === "discussion" }])
|
|
53217
53592
|
}, [
|
|
53218
|
-
K("header",
|
|
53593
|
+
K("header", Y$, [
|
|
53219
53594
|
q(O, { text: E.value ? "展开房间栏" : "收起房间栏" }, {
|
|
53220
53595
|
default: L(() => [q(T, {
|
|
53221
53596
|
icon: "i-lucide-panel-left",
|
|
@@ -53240,8 +53615,8 @@ var hU = /*#__PURE__*/ XH({
|
|
|
53240
53615
|
"aria-expanded": d.value,
|
|
53241
53616
|
onClick: r[4] ||= (e) => d.value = !0
|
|
53242
53617
|
}, null, 8, ["aria-expanded"]),
|
|
53243
|
-
K("span",
|
|
53244
|
-
K("div",
|
|
53618
|
+
K("span", X$, [q(y, { name: "i-lucide-hash" })]),
|
|
53619
|
+
K("div", Z$, [K("div", Q$, [K("h1", { title: o.value?.title }, P(o.value?.title || "共议"), 9, $$)]), o.value?.archived ? (U(), G(ie, {
|
|
53245
53620
|
key: 0,
|
|
53246
53621
|
color: "neutral",
|
|
53247
53622
|
variant: "subtle",
|
|
@@ -53250,12 +53625,12 @@ var hU = /*#__PURE__*/ XH({
|
|
|
53250
53625
|
default: L(() => [...r[26] ||= [J("已存档", -1)]]),
|
|
53251
53626
|
_: 1
|
|
53252
53627
|
})) : Y("", !0)]),
|
|
53253
|
-
o.value ? (U(), W("span",
|
|
53628
|
+
o.value ? (U(), W("span", e1, [
|
|
53254
53629
|
J(P(me.value.find((e) => e.value === I(t).tab)?.label), 1),
|
|
53255
53630
|
r[27] ||= K("span", null, "·", -1),
|
|
53256
53631
|
J(P(o.value.message_count) + " 条记录", 1)
|
|
53257
53632
|
])) : Y("", !0),
|
|
53258
|
-
K("div",
|
|
53633
|
+
K("div", t1, [
|
|
53259
53634
|
I(t).tab === "discussion" ? (U(), W("form", {
|
|
53260
53635
|
key: 0,
|
|
53261
53636
|
class: "channel-search",
|
|
@@ -53313,7 +53688,7 @@ var hU = /*#__PURE__*/ XH({
|
|
|
53313
53688
|
])]),
|
|
53314
53689
|
_: 1
|
|
53315
53690
|
})) : Y("", !0),
|
|
53316
|
-
o.value && !(k.value && ee.value) ? (U(), G(
|
|
53691
|
+
o.value && !(k.value && ee.value) ? (U(), G(i$, { key: 2 })) : Y("", !0)
|
|
53317
53692
|
]),
|
|
53318
53693
|
q(O, { text: te.value }, {
|
|
53319
53694
|
default: L(() => [q(T, {
|
|
@@ -53334,12 +53709,12 @@ var hU = /*#__PURE__*/ XH({
|
|
|
53334
53709
|
_: 1
|
|
53335
53710
|
}, 8, ["text"])
|
|
53336
53711
|
]),
|
|
53337
|
-
I(t).launch.recoveries.length ? (U(), W("section",
|
|
53712
|
+
I(t).launch.recoveries.length ? (U(), W("section", n1, [
|
|
53338
53713
|
r[28] ||= K("h2", null, "继续未完成的请求", -1),
|
|
53339
53714
|
(U(!0), W(H, null, B(I(t).launch.recoveries, (e) => (U(), W("article", { key: e.id }, [
|
|
53340
53715
|
K("strong", null, P(e.title), 1),
|
|
53341
|
-
K("p",
|
|
53342
|
-
K("div",
|
|
53716
|
+
K("p", r1, P(e.error || "启动结果尚未确认;原请求已保存在此浏览器中。"), 1),
|
|
53717
|
+
K("div", i1, [
|
|
53343
53718
|
q(T, {
|
|
53344
53719
|
label: e.direct ? "继续创建房间" : "继续本次启动",
|
|
53345
53720
|
size: "sm",
|
|
@@ -53372,7 +53747,7 @@ var hU = /*#__PURE__*/ XH({
|
|
|
53372
53747
|
]))), 128)),
|
|
53373
53748
|
r[29] ||= K("small", null, "移除待办不会删除房间或停止讨论。", -1)
|
|
53374
53749
|
])) : Y("", !0),
|
|
53375
|
-
o.value ? (U(), W("div",
|
|
53750
|
+
o.value ? (U(), W("div", a1, [q(de, {
|
|
53376
53751
|
modelValue: ue.value,
|
|
53377
53752
|
"onUpdate:modelValue": r[9] ||= (e) => ue.value = e,
|
|
53378
53753
|
items: me.value,
|
|
@@ -53387,7 +53762,7 @@ var hU = /*#__PURE__*/ XH({
|
|
|
53387
53762
|
key: 2,
|
|
53388
53763
|
class: M(["channel-host-brief", { "is-collapsed": D.value }]),
|
|
53389
53764
|
"aria-label": "主持简报"
|
|
53390
|
-
}, [K("div",
|
|
53765
|
+
}, [K("div", o1, [K("div", s1, [K("button", {
|
|
53391
53766
|
type: "button",
|
|
53392
53767
|
class: "channel-brief-toggle",
|
|
53393
53768
|
"aria-label": D.value ? "展开主持简报" : "收起主持简报",
|
|
@@ -53397,8 +53772,8 @@ var hU = /*#__PURE__*/ XH({
|
|
|
53397
53772
|
}, [
|
|
53398
53773
|
q(y, { name: D.value ? "i-lucide-chevron-right" : "i-lucide-chevron-down" }, null, 8, ["name"]),
|
|
53399
53774
|
K("strong", null, "主持简报" + P(D.value ? ":" : ""), 1),
|
|
53400
|
-
D.value ? (U(), W("span",
|
|
53401
|
-
], 8,
|
|
53775
|
+
D.value ? (U(), W("span", l1, P(ne.value), 1)) : Y("", !0)
|
|
53776
|
+
], 8, c1), D.value ? Y("", !0) : (U(), G(T, {
|
|
53402
53777
|
key: 0,
|
|
53403
53778
|
label: "更新简报",
|
|
53404
53779
|
color: "neutral",
|
|
@@ -53406,19 +53781,19 @@ var hU = /*#__PURE__*/ XH({
|
|
|
53406
53781
|
size: "xs",
|
|
53407
53782
|
class: "channel-brief-update",
|
|
53408
53783
|
onClick: r[10] ||= (e) => I(i)("tab", "context")
|
|
53409
|
-
}))]), vr(K("div",
|
|
53784
|
+
}))]), vr(K("div", u1, [K("div", {
|
|
53410
53785
|
class: "channel-brief-text markdown-body",
|
|
53411
53786
|
innerHTML: o.value.rendered_brief
|
|
53412
|
-
}, null, 8,
|
|
53787
|
+
}, null, 8, d1), K("div", f1, [K("span", p1, P(I(n).progress_speaker(o.value)), 1), K("small", null, P(I(n).brief_meta(o.value)), 1)])], 512), [[Vc, !D.value]])])], 2)) : Y("", !0)
|
|
53413
53788
|
], 2), o.value ? (U(), W("div", {
|
|
53414
53789
|
key: 0,
|
|
53415
53790
|
class: M(["channel-body", { "channel-body-discussion": I(t).tab === "discussion" }])
|
|
53416
|
-
}, [K("div",
|
|
53791
|
+
}, [K("div", m1, [
|
|
53417
53792
|
vr(q(cK, {
|
|
53418
53793
|
onDetail: be,
|
|
53419
53794
|
onEdit: r[11] ||= (e) => s.value = "edit"
|
|
53420
53795
|
}, null, 512), [[Vc, I(t).tab === "discussion"]]),
|
|
53421
|
-
I(t).tab === "context" ? (U(), W("section",
|
|
53796
|
+
I(t).tab === "context" ? (U(), W("section", h1, [K("div", g1, [r[30] ||= K("div", null, [K("h2", null, "共识与分歧"), K("p", null, "整理讨论进展,用 #消息编号 保留依据。")], -1), q(ie, {
|
|
53422
53797
|
color: "neutral",
|
|
53423
53798
|
variant: "outline"
|
|
53424
53799
|
}, {
|
|
@@ -53459,7 +53834,7 @@ var hU = /*#__PURE__*/ XH({
|
|
|
53459
53834
|
}, null, 8, ["modelValue"])]),
|
|
53460
53835
|
_: 1
|
|
53461
53836
|
}),
|
|
53462
|
-
K("div",
|
|
53837
|
+
K("div", _1, [K("span", null, "依据消息截止 #" + P(I(t).snapshot_id), 1), q(T, {
|
|
53463
53838
|
type: "submit",
|
|
53464
53839
|
color: "neutral",
|
|
53465
53840
|
icon: "i-lucide-check",
|
|
@@ -53473,7 +53848,7 @@ var hU = /*#__PURE__*/ XH({
|
|
|
53473
53848
|
onOpen: r[15] ||= (e) => s.value = e,
|
|
53474
53849
|
onDetail: be
|
|
53475
53850
|
})) : Y("", !0)
|
|
53476
|
-
])], 2)) : (U(), W("div",
|
|
53851
|
+
])], 2)) : (U(), W("div", v1, [
|
|
53477
53852
|
q(y, { name: "i-lucide-hash" }),
|
|
53478
53853
|
r[31] ||= K("h2", null, "新建一个协作房间", -1),
|
|
53479
53854
|
r[32] ||= K("p", null, "邀请 AI 一起协作,随时 @ 提问;需要时开启讨论,保留所有人的观点。", -1),
|
|
@@ -53492,8 +53867,8 @@ var hU = /*#__PURE__*/ XH({
|
|
|
53492
53867
|
"aria-label": "调整右侧栏宽度",
|
|
53493
53868
|
"aria-orientation": "vertical",
|
|
53494
53869
|
"aria-controls": "channel-member-rail",
|
|
53495
|
-
"aria-valuemin":
|
|
53496
|
-
"aria-valuemax":
|
|
53870
|
+
"aria-valuemin": E1,
|
|
53871
|
+
"aria-valuemax": D1,
|
|
53497
53872
|
"aria-valuenow": C.value,
|
|
53498
53873
|
"aria-valuetext": `${C.value} 像素`,
|
|
53499
53874
|
title: "拖动调整右侧栏宽度,也可使用左右方向键",
|
|
@@ -53503,11 +53878,11 @@ var hU = /*#__PURE__*/ XH({
|
|
|
53503
53878
|
onPointercancel: Pe,
|
|
53504
53879
|
onLostpointercapture: Pe,
|
|
53505
53880
|
onKeydown: Fe
|
|
53506
|
-
}, null, 40,
|
|
53507
|
-
k.value ? (U(), W("aside",
|
|
53881
|
+
}, null, 40, y1)) : Y("", !0),
|
|
53882
|
+
k.value ? (U(), W("aside", b1, [K("section", x1, [o.value && pe.value ? (U(), G(R$, { key: 0 })) : o.value ? (U(), G($Q, {
|
|
53508
53883
|
key: 1,
|
|
53509
53884
|
docked: ""
|
|
53510
|
-
})) : (U(), W("div",
|
|
53885
|
+
})) : (U(), W("div", S1, [...r[33] ||= [K("header", { class: "pb-header" }, [K("strong", null, "讨论进度")], -1), K("p", { class: "channel-rail-empty" }, "暂无房间,新建讨论后在这里查看进度与参与者。", -1)]]))])])) : Y("", !0),
|
|
53511
53886
|
q(De, {
|
|
53512
53887
|
open: d.value,
|
|
53513
53888
|
"onUpdate:open": r[18] ||= (e) => d.value = e,
|
|
@@ -53519,7 +53894,7 @@ var hU = /*#__PURE__*/ XH({
|
|
|
53519
53894
|
body: "channel-drawer-body"
|
|
53520
53895
|
}
|
|
53521
53896
|
}, {
|
|
53522
|
-
body: L(() => [q(
|
|
53897
|
+
body: L(() => [q(DZ, {
|
|
53523
53898
|
onSelect: ye,
|
|
53524
53899
|
onManage: _e,
|
|
53525
53900
|
onCreate: xe,
|
|
@@ -53550,7 +53925,7 @@ var hU = /*#__PURE__*/ XH({
|
|
|
53550
53925
|
}
|
|
53551
53926
|
}, {
|
|
53552
53927
|
body: L(() => [o.value ? (U(), W(H, { key: 0 }, [
|
|
53553
|
-
K("div",
|
|
53928
|
+
K("div", C1, [q(y, { name: "i-lucide-hash" }), K("h2", null, P(o.value.title), 1)]),
|
|
53554
53929
|
(U(), W(H, null, B([
|
|
53555
53930
|
{
|
|
53556
53931
|
key: "goal",
|
|
@@ -53577,7 +53952,7 @@ var hU = /*#__PURE__*/ XH({
|
|
|
53577
53952
|
class: "info-section"
|
|
53578
53953
|
}, [K("h3", null, P(e.label), 1), K("p", null, P(o.value[e.key] || "尚未填写"), 1)])), 64)),
|
|
53579
53954
|
q(ke),
|
|
53580
|
-
K("section",
|
|
53955
|
+
K("section", w1, [r[34] ||= K("h3", null, "参与身份", -1), (U(!0), W(H, null, B(N.value, (e) => (U(), W("div", {
|
|
53581
53956
|
key: e.name,
|
|
53582
53957
|
class: "expert-row"
|
|
53583
53958
|
}, [
|
|
@@ -53610,7 +53985,7 @@ var hU = /*#__PURE__*/ XH({
|
|
|
53610
53985
|
], 64)) : Y("", !0)]),
|
|
53611
53986
|
_: 1
|
|
53612
53987
|
}, 8, ["open"]),
|
|
53613
|
-
q(
|
|
53988
|
+
q(rZ, {
|
|
53614
53989
|
modelValue: s.value,
|
|
53615
53990
|
"onUpdate:modelValue": r[21] ||= (e) => s.value = e,
|
|
53616
53991
|
"reading-width": x.value,
|
|
@@ -53634,7 +54009,7 @@ var hU = /*#__PURE__*/ XH({
|
|
|
53634
54009
|
], 6);
|
|
53635
54010
|
};
|
|
53636
54011
|
}
|
|
53637
|
-
},
|
|
54012
|
+
}, R1 = {
|
|
53638
54013
|
__name: "App",
|
|
53639
54014
|
setup(e) {
|
|
53640
54015
|
return br("discussion", OV()), (e, t) => {
|
|
@@ -53645,7 +54020,7 @@ var hU = /*#__PURE__*/ XH({
|
|
|
53645
54020
|
toaster: null
|
|
53646
54021
|
}, {
|
|
53647
54022
|
default: L(() => [q(I(Qz), { "reduced-motion": "user" }, {
|
|
53648
|
-
default: L(() => [q(
|
|
54023
|
+
default: L(() => [q(L1)]),
|
|
53649
54024
|
_: 1
|
|
53650
54025
|
})]),
|
|
53651
54026
|
_: 1
|
|
@@ -53655,8 +54030,8 @@ var hU = /*#__PURE__*/ XH({
|
|
|
53655
54030
|
};
|
|
53656
54031
|
//#endregion
|
|
53657
54032
|
//#region frontend/main.js
|
|
53658
|
-
function
|
|
53659
|
-
bu(
|
|
54033
|
+
function z1() {
|
|
54034
|
+
bu(R1).use(ph).mount("#modern-root");
|
|
53660
54035
|
}
|
|
53661
|
-
document.readyState === "loading" ? document.addEventListener("DOMContentLoaded",
|
|
54036
|
+
document.readyState === "loading" ? document.addEventListener("DOMContentLoaded", z1) : z1();
|
|
53662
54037
|
//#endregion
|