ai_co_discuss 0.2.78 → 0.2.80
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/package.json +1 -1
- package/runner/discussion_adapters.mjs +5 -0
- package/runner/discussion_runner.mjs +2 -2
- package/runner/expert_prompts.mjs +2 -3
- package/runner/free_runner.mjs +2 -2
- package/web/markdown.css +1 -1
- package/web/modern.css +1 -1
- package/web/modern.js +549 -550
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>\"},\"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>\"},\"pen-line\":{\"width\":24,\"height\":24,\"body\":\"<path fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\" d=\\\"M13 21h8m.174-14.188a1 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-.497z\\\"/>\"},\"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-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\\\"/>\"}}}]");
|
|
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>\"},\"folders\":{\"width\":24,\"height\":24,\"body\":\"<g fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\"><path d=\\\"M20 5a2 2 0 0 1 2 2v7a2 2 0 0 1-2 2H9a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h2.5a1.5 1.5 0 0 1 1.2.6l.6.8a1.5 1.5 0 0 0 1.2.6z\\\"/><path d=\\\"M3 8.268a2 2 0 0 0-1 1.738V19a2 2 0 0 0 2 2h11a2 2 0 0 0 1.732-1\\\"/></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
|
}
|
|
@@ -45991,7 +45991,7 @@ var hU = /*#__PURE__*/ XH({
|
|
|
45991
45991
|
}, xK = ["disabled"], SK = {
|
|
45992
45992
|
key: 0,
|
|
45993
45993
|
class: "project-note"
|
|
45994
|
-
}, CK = ["title"], wK =
|
|
45994
|
+
}, CK = ["title", "disabled"], wK = ["disabled"], TK = {
|
|
45995
45995
|
key: 0,
|
|
45996
45996
|
class: "project-rows",
|
|
45997
45997
|
"aria-label": "常用项目"
|
|
@@ -46129,65 +46129,60 @@ var hU = /*#__PURE__*/ XH({
|
|
|
46129
46129
|
"is-chosen": l.value
|
|
46130
46130
|
}])
|
|
46131
46131
|
}, [
|
|
46132
|
-
|
|
46133
|
-
key: 0,
|
|
46134
|
-
class: "project-chip",
|
|
46135
|
-
title: l.value.path
|
|
46136
|
-
}, [q(r, { name: "i-lucide-folder" }), J(P(l.value.name), 1)], 8, CK)) : Y("", !0),
|
|
46137
|
-
q(u, {
|
|
46138
|
-
"model-value": c.value,
|
|
46139
|
-
placeholder: t.placeholder,
|
|
46140
|
-
variant: "none",
|
|
46141
|
-
class: "project-path",
|
|
46142
|
-
"aria-label": "项目目录完整路径",
|
|
46143
|
-
disabled: t.disabled,
|
|
46144
|
-
"onUpdate:modelValue": d
|
|
46145
|
-
}, null, 8, [
|
|
46146
|
-
"model-value",
|
|
46147
|
-
"placeholder",
|
|
46148
|
-
"disabled"
|
|
46149
|
-
]),
|
|
46150
|
-
K("div", wK, [o.value.length ? (U(), G(i, {
|
|
46132
|
+
o.value.length ? (U(), G(i, {
|
|
46151
46133
|
key: 0,
|
|
46152
46134
|
items: h.value,
|
|
46153
46135
|
content: {
|
|
46154
|
-
align: "
|
|
46136
|
+
align: "start",
|
|
46155
46137
|
sideOffset: 6
|
|
46156
46138
|
},
|
|
46157
46139
|
ui: { content: "channel-menu project-menu" },
|
|
46158
46140
|
disabled: t.disabled
|
|
46159
46141
|
}, {
|
|
46160
|
-
default: L(() => [
|
|
46161
|
-
|
|
46162
|
-
"
|
|
46163
|
-
|
|
46164
|
-
variant: "ghost",
|
|
46165
|
-
size: "xs",
|
|
46166
|
-
class: "project-trigger",
|
|
46142
|
+
default: L(() => [K("button", {
|
|
46143
|
+
type: "button",
|
|
46144
|
+
class: M(["project-prefix", { "is-chosen": l.value }]),
|
|
46145
|
+
title: l.value ? l.value.path : "从常用项目中选择",
|
|
46167
46146
|
"aria-label": "选择常用项目",
|
|
46168
46147
|
disabled: t.disabled
|
|
46169
|
-
},
|
|
46148
|
+
}, [
|
|
46149
|
+
q(r, { name: l.value ? "i-lucide-folder" : "i-lucide-folders" }, null, 8, ["name"]),
|
|
46150
|
+
K("span", null, P(l.value ? l.value.name : "常用项目"), 1),
|
|
46151
|
+
q(r, {
|
|
46152
|
+
name: "i-lucide-chevron-down",
|
|
46153
|
+
class: "project-prefix-chevron"
|
|
46154
|
+
})
|
|
46155
|
+
], 10, CK)]),
|
|
46170
46156
|
_: 1
|
|
46171
|
-
}, 8, ["items", "disabled"])) : (U(),
|
|
46157
|
+
}, 8, ["items", "disabled"])) : (U(), W("button", {
|
|
46172
46158
|
key: 1,
|
|
46173
|
-
|
|
46174
|
-
|
|
46175
|
-
color: "neutral",
|
|
46176
|
-
variant: "ghost",
|
|
46177
|
-
size: "xs",
|
|
46178
|
-
class: "project-trigger",
|
|
46159
|
+
type: "button",
|
|
46160
|
+
class: "project-prefix",
|
|
46179
46161
|
"aria-label": "添加常用项目",
|
|
46180
46162
|
title: "保存常用项目,之后一键选择;其他设备也能用",
|
|
46181
46163
|
disabled: t.disabled,
|
|
46182
46164
|
onClick: w
|
|
46183
|
-
},
|
|
46184
|
-
|
|
46185
|
-
"
|
|
46186
|
-
|
|
46165
|
+
}, [q(r, { name: "i-lucide-plus" }), n[8] ||= K("span", null, "常用项目", -1)], 8, wK)),
|
|
46166
|
+
q(u, {
|
|
46167
|
+
"model-value": c.value,
|
|
46168
|
+
placeholder: t.placeholder,
|
|
46169
|
+
variant: "none",
|
|
46170
|
+
class: "project-path",
|
|
46171
|
+
"aria-label": "项目目录完整路径",
|
|
46172
|
+
disabled: t.disabled,
|
|
46173
|
+
"onUpdate:modelValue": d
|
|
46174
|
+
}, null, 8, [
|
|
46175
|
+
"model-value",
|
|
46176
|
+
"placeholder",
|
|
46177
|
+
"disabled"
|
|
46178
|
+
]),
|
|
46179
|
+
s.value ? (U(), G(f, {
|
|
46180
|
+
key: 2,
|
|
46187
46181
|
icon: "i-lucide-folder-open",
|
|
46188
46182
|
color: "neutral",
|
|
46189
46183
|
variant: "ghost",
|
|
46190
46184
|
size: "xs",
|
|
46185
|
+
class: "project-browse",
|
|
46191
46186
|
"aria-label": "在本机选择项目目录",
|
|
46192
46187
|
title: p.value ? "目录选择窗口已打开,请在本机窗口中选择" : "在本机选择文件夹",
|
|
46193
46188
|
loading: p.value,
|
|
@@ -46197,7 +46192,7 @@ var hU = /*#__PURE__*/ XH({
|
|
|
46197
46192
|
"title",
|
|
46198
46193
|
"loading",
|
|
46199
46194
|
"disabled"
|
|
46200
|
-
])
|
|
46195
|
+
])) : Y("", !0)
|
|
46201
46196
|
], 2)), q(re, {
|
|
46202
46197
|
open: g.value,
|
|
46203
46198
|
"onUpdate:open": n[7] ||= (e) => g.value = e,
|
|
@@ -46346,7 +46341,7 @@ var hU = /*#__PURE__*/ XH({
|
|
|
46346
46341
|
}, 8, ["open"])], 64);
|
|
46347
46342
|
};
|
|
46348
46343
|
}
|
|
46349
|
-
}, [["__scopeId", "data-v-
|
|
46344
|
+
}, [["__scopeId", "data-v-91d0fef5"]]), IK = {
|
|
46350
46345
|
class: "launch-settings",
|
|
46351
46346
|
"aria-label": "启动配置"
|
|
46352
46347
|
}, LK = { class: "launch-connect-command" }, RK = {
|
|
@@ -47930,7 +47925,7 @@ var hU = /*#__PURE__*/ XH({
|
|
|
47930
47925
|
}, null, -1)
|
|
47931
47926
|
], 46, $q)]));
|
|
47932
47927
|
}
|
|
47933
|
-
}, [["__scopeId", "data-v-
|
|
47928
|
+
}, [["__scopeId", "data-v-a98d65a2"]]), dJ = {
|
|
47934
47929
|
key: 0,
|
|
47935
47930
|
class: "member-text-source"
|
|
47936
47931
|
}, fJ = { class: "member-text-meta" }, pJ = { class: "member-text-footer" }, mJ = /*#__PURE__*/ XH({
|
|
@@ -48126,7 +48121,7 @@ var hU = /*#__PURE__*/ XH({
|
|
|
48126
48121
|
title: `${s.value.name} 的描述`,
|
|
48127
48122
|
description: "擅长什么、适合分到什么工作。智能调度和 AI 主持人分派时参考,房间所有成员都能看到。",
|
|
48128
48123
|
label: `${s.value.name} 的描述`,
|
|
48129
|
-
placeholder: "
|
|
48124
|
+
placeholder: "例如:擅长前端和交互细节,适合出方案、做评审;大段重构交给别人",
|
|
48130
48125
|
max: hJ,
|
|
48131
48126
|
note: f.value,
|
|
48132
48127
|
source: l.value,
|
|
@@ -48153,7 +48148,7 @@ var hU = /*#__PURE__*/ XH({
|
|
|
48153
48148
|
]);
|
|
48154
48149
|
};
|
|
48155
48150
|
}
|
|
48156
|
-
}, _J = 4e3, vJ = { antigravity_cli: "
|
|
48151
|
+
}, _J = 4e3, vJ = { antigravity_cli: "多步任务中,在关键转折处用一句话写出进展再继续。" }, yJ = ["data-identity", "data-face"], bJ = ["inert", "aria-hidden"], xJ = { class: "expert-card-identity" }, SJ = { class: "expert-card-names" }, CJ = {
|
|
48157
48152
|
key: 0,
|
|
48158
48153
|
class: "expert-card-badge"
|
|
48159
48154
|
}, wJ = ["title"], TJ = { class: "expert-card-facts" }, EJ = ["title"], DJ = {
|
|
@@ -48174,34 +48169,31 @@ var hU = /*#__PURE__*/ XH({
|
|
|
48174
48169
|
"aria-pressed",
|
|
48175
48170
|
"aria-label",
|
|
48176
48171
|
"title"
|
|
48177
|
-
], IJ = ["aria-label"], LJ = ["inert", "aria-hidden"], RJ = { class: "expert-card-back-body" }, zJ = { class: "expert-card-heading" }, BJ = ["role"],
|
|
48172
|
+
], 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 = ["aria-label", "title"], HJ = ["title", "aria-label"], UJ = ["role"], WJ = {
|
|
48178
48173
|
key: 1,
|
|
48179
48174
|
class: "expert-card-field"
|
|
48180
|
-
},
|
|
48175
|
+
}, GJ = {
|
|
48181
48176
|
key: 2,
|
|
48182
48177
|
class: "expert-card-field"
|
|
48183
|
-
},
|
|
48178
|
+
}, KJ = {
|
|
48184
48179
|
key: 3,
|
|
48185
48180
|
class: "expert-card-check"
|
|
48186
|
-
},
|
|
48181
|
+
}, qJ = {
|
|
48187
48182
|
key: 4,
|
|
48188
48183
|
class: "expert-card-field"
|
|
48189
|
-
},
|
|
48190
|
-
key: 5,
|
|
48191
|
-
class: "expert-card-field"
|
|
48192
|
-
}, JJ = ["title", "aria-label"], YJ = { class: "expert-card-field" }, XJ = {
|
|
48184
|
+
}, JJ = ["aria-label"], YJ = ["aria-checked", "onClick"], XJ = { class: "expert-card-field" }, ZJ = {
|
|
48193
48185
|
key: 0,
|
|
48194
48186
|
class: "expert-card-catalog"
|
|
48195
|
-
},
|
|
48187
|
+
}, QJ = {
|
|
48196
48188
|
key: 1,
|
|
48197
48189
|
class: "expert-card-effort"
|
|
48198
|
-
},
|
|
48190
|
+
}, $J = {
|
|
48199
48191
|
key: 2,
|
|
48200
48192
|
class: "expert-card-note"
|
|
48201
|
-
},
|
|
48202
|
-
key:
|
|
48193
|
+
}, eY = ["aria-label", "disabled"], tY = {
|
|
48194
|
+
key: 7,
|
|
48203
48195
|
class: "expert-card-note"
|
|
48204
|
-
},
|
|
48196
|
+
}, nY = { class: "expert-card-flip-actions" }, rY = ["aria-label"], iY = ["aria-label"], aY = 180, oY = "[role='listbox'], [role='menu'], [data-reka-popper-content-wrapper]", sY = /*#__PURE__*/ XH({
|
|
48205
48197
|
__name: "ExpertCard",
|
|
48206
48198
|
props: {
|
|
48207
48199
|
name: {
|
|
@@ -48354,7 +48346,7 @@ var hU = /*#__PURE__*/ XH({
|
|
|
48354
48346
|
});
|
|
48355
48347
|
}
|
|
48356
48348
|
function ge(e) {
|
|
48357
|
-
let t = e >=
|
|
48349
|
+
let t = e >= aY / 2;
|
|
48358
48350
|
f.value !== t && (f.value = t, he());
|
|
48359
48351
|
}
|
|
48360
48352
|
let N = o.on("change", ge), _e = o.on("animationComplete", he), ve = null, ye = "";
|
|
@@ -48367,29 +48359,29 @@ var hU = /*#__PURE__*/ XH({
|
|
|
48367
48359
|
function xe() {
|
|
48368
48360
|
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);
|
|
48369
48361
|
}
|
|
48370
|
-
let Se = Z(() => i.value && a.description_draft(n.name).trim()), Ce = /* @__PURE__ */ F(!1);
|
|
48371
|
-
function
|
|
48362
|
+
let Se = Z(() => i.value && a.description_draft(n.name).trim()), Ce = /* @__PURE__ */ F(!1), we = Z(() => Se.value ? `描述:${Se.value}` : "添加描述:擅长什么、适合分到什么工作");
|
|
48363
|
+
function Te({ text: e, as_template: t }) {
|
|
48372
48364
|
a.write_description_draft(n.name, e), t && a.save_description_template(n.name, e), Ce.value = !1;
|
|
48373
48365
|
}
|
|
48374
|
-
let
|
|
48375
|
-
let e =
|
|
48376
|
-
return e ? e ===
|
|
48377
|
-
}),
|
|
48366
|
+
let Ee = Z(() => vJ[p.value.adapter] || ""), De = Z(() => Object.hasOwn(p.value, "system_prompt")), Oe = Z(() => (De.value ? p.value.system_prompt : Ee.value).trim()), ke = Z(() => Oe.value ? `专属提示词(${De.value ? "自定义" : "软件预设"}):${Oe.value.split("\n")[0]}` : "专属提示词:未设置,点击添加"), Ae = /* @__PURE__ */ F(!1), je = /* @__PURE__ */ F(""), Me = Z(() => je.value.trim() !== Oe.value), Ne = Z(() => {
|
|
48367
|
+
let e = je.value.trim();
|
|
48368
|
+
return e ? e === Ee.value.trim() ? "与软件预设一致,预设更新时自动跟随" : Ee.value ? "已改写,不再跟随软件预设" : "只发给这位专家,Ctrl + Enter 保存" : Ee.value ? "留空:这位专家不使用预设,也没有专属提示词" : "留空表示不使用";
|
|
48369
|
+
}), Pe = Z(() => Ee.value && je.value.trim() !== Ee.value.trim() ? {
|
|
48378
48370
|
tag: "软件预设",
|
|
48379
|
-
text:
|
|
48371
|
+
text: Ee.value,
|
|
48380
48372
|
action: "恢复预设"
|
|
48381
48373
|
} : null);
|
|
48382
|
-
function Pe() {
|
|
48383
|
-
Ae.value = De.value, ke.value = !0;
|
|
48384
|
-
}
|
|
48385
48374
|
function Fe() {
|
|
48386
|
-
|
|
48387
|
-
a.write_launch(n.name, "system_prompt", e === Te.value.trim() ? null : e), ke.value = !1;
|
|
48375
|
+
je.value = Oe.value, Ae.value = !0;
|
|
48388
48376
|
}
|
|
48389
48377
|
function Ie() {
|
|
48378
|
+
let e = je.value.trim();
|
|
48379
|
+
a.write_launch(n.name, "system_prompt", e === Ee.value.trim() ? null : e), Ae.value = !1;
|
|
48380
|
+
}
|
|
48381
|
+
function Le() {
|
|
48390
48382
|
a.write_launch(n.name, "model", ""), a.write_launch(n.name, "effort", "");
|
|
48391
48383
|
}
|
|
48392
|
-
function
|
|
48384
|
+
function Re(e) {
|
|
48393
48385
|
let t = {
|
|
48394
48386
|
ArrowLeft: -1,
|
|
48395
48387
|
ArrowUp: -1,
|
|
@@ -48401,16 +48393,16 @@ var hU = /*#__PURE__*/ XH({
|
|
|
48401
48393
|
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];
|
|
48402
48394
|
r("mode", o), e.currentTarget.querySelector(`[data-mode="${o}"]`)?.focus();
|
|
48403
48395
|
}
|
|
48404
|
-
function
|
|
48396
|
+
function ze(e) {
|
|
48405
48397
|
d.value && (e.stopPropagation(), e.preventDefault(), xe());
|
|
48406
48398
|
}
|
|
48407
|
-
function
|
|
48408
|
-
|
|
48399
|
+
function Be(e) {
|
|
48400
|
+
Ae.value || Ce.value || c.value?.contains(e.target) || e.target.closest?.(oY) || be(!1);
|
|
48409
48401
|
}
|
|
48410
48402
|
return R(d, (e) => {
|
|
48411
|
-
e ? document.addEventListener("pointerdown",
|
|
48403
|
+
e ? document.addEventListener("pointerdown", Be, !0) : document.removeEventListener("pointerdown", Be, !0);
|
|
48412
48404
|
}), R([d, s], ([e, t]) => {
|
|
48413
|
-
let n = e ?
|
|
48405
|
+
let n = e ? aY : 0;
|
|
48414
48406
|
t ? (o.jump(n), he()) : o.set(n);
|
|
48415
48407
|
}), R(() => [
|
|
48416
48408
|
te.value,
|
|
@@ -48419,7 +48411,7 @@ var hU = /*#__PURE__*/ XH({
|
|
|
48419
48411
|
], ([e, t]) => {
|
|
48420
48412
|
e && t && a.load_launch_models(n.name);
|
|
48421
48413
|
}, { immediate: !0 }), ta(() => {
|
|
48422
|
-
document.removeEventListener("pointerdown",
|
|
48414
|
+
document.removeEventListener("pointerdown", Be, !0), N(), _e(), o.stop();
|
|
48423
48415
|
}), (t, n) => {
|
|
48424
48416
|
let s = pA, d = sA, x = MA, S = bH, w = YV;
|
|
48425
48417
|
return U(), W("div", {
|
|
@@ -48433,7 +48425,7 @@ var hU = /*#__PURE__*/ XH({
|
|
|
48433
48425
|
"data-identity": I(a).identities[e.name]?.style,
|
|
48434
48426
|
"data-face": f.value ? "back" : "front",
|
|
48435
48427
|
tabindex: "-1",
|
|
48436
|
-
onKeydown: fu(
|
|
48428
|
+
onKeydown: fu(ze, ["esc"])
|
|
48437
48429
|
}, [
|
|
48438
48430
|
q(I(bV).div, {
|
|
48439
48431
|
class: "expert-card-turn",
|
|
@@ -48476,8 +48468,8 @@ var hU = /*#__PURE__*/ XH({
|
|
|
48476
48468
|
class: M(e.tone ? ["expert-card-status", `is-${e.tone}`] : ""),
|
|
48477
48469
|
title: e.value
|
|
48478
48470
|
}, [e.tone ? (U(), W("i", DJ)) : Y("", !0), J(P(e.value), 1)], 10, EJ)]))), 128))]),
|
|
48479
|
-
C.value ? (U(), W("div", OJ, [n[
|
|
48480
|
-
O.value ? (U(), W("span", AJ, [q(d, { name: "i-lucide-settings-2" }), n[
|
|
48471
|
+
C.value ? (U(), W("div", OJ, [n[14] ||= K("p", null, "会话自行注册后才算到场。", -1), T.value ? (U(), W("p", kJ, P(T.value), 1)) : Y("", !0)])) : Y("", !0),
|
|
48472
|
+
O.value ? (U(), W("span", AJ, [q(d, { name: "i-lucide-settings-2" }), n[15] ||= J("设置", -1)])) : Y("", !0)
|
|
48481
48473
|
]),
|
|
48482
48474
|
_: 1
|
|
48483
48475
|
}, 8, [
|
|
@@ -48491,7 +48483,7 @@ var hU = /*#__PURE__*/ XH({
|
|
|
48491
48483
|
class: "expert-card-modes expert-card-front-modes",
|
|
48492
48484
|
role: "radiogroup",
|
|
48493
48485
|
"aria-label": `${e.name} 启动方式`,
|
|
48494
|
-
onKeydown:
|
|
48486
|
+
onKeydown: Re
|
|
48495
48487
|
}, [(U(!0), W(H, null, B(h.value, (t) => (U(), W("button", {
|
|
48496
48488
|
key: t,
|
|
48497
48489
|
type: "button",
|
|
@@ -48502,15 +48494,16 @@ var hU = /*#__PURE__*/ XH({
|
|
|
48502
48494
|
onClick: (e) => r("mode", t)
|
|
48503
48495
|
}, P(_[t]), 9, MJ))), 128))], 40, jJ)) : Y("", !0),
|
|
48504
48496
|
K("span", NJ, [
|
|
48505
|
-
|
|
48497
|
+
O.value ? Y("", !0) : (U(), W("button", {
|
|
48498
|
+
key: 0,
|
|
48506
48499
|
type: "button",
|
|
48507
48500
|
class: M({ "is-set": Se.value }),
|
|
48508
48501
|
"aria-label": `编辑 ${e.name} 的描述`,
|
|
48509
|
-
title:
|
|
48502
|
+
title: we.value,
|
|
48510
48503
|
onClick: n[1] ||= (e) => Ce.value = !0
|
|
48511
|
-
}, [q(d, { name: "i-lucide-user-pen" })], 10, PJ),
|
|
48504
|
+
}, [q(d, { name: "i-lucide-user-pen" })], 10, PJ)),
|
|
48512
48505
|
e.hostable ? (U(), W("button", {
|
|
48513
|
-
key:
|
|
48506
|
+
key: 1,
|
|
48514
48507
|
type: "button",
|
|
48515
48508
|
class: "expert-card-host",
|
|
48516
48509
|
"aria-pressed": e.host,
|
|
@@ -48531,36 +48524,56 @@ var hU = /*#__PURE__*/ XH({
|
|
|
48531
48524
|
inert: !f.value,
|
|
48532
48525
|
"aria-hidden": !f.value
|
|
48533
48526
|
}, [K("div", RJ, [
|
|
48534
|
-
K("div", zJ, [K("strong", null, [J(P(e.name), 1), K("span", null, "设置" + P(j.value ? " · 不访问项目" : ""), 1)]),
|
|
48535
|
-
|
|
48536
|
-
|
|
48537
|
-
|
|
48538
|
-
|
|
48539
|
-
|
|
48540
|
-
|
|
48541
|
-
|
|
48542
|
-
|
|
48543
|
-
|
|
48544
|
-
|
|
48545
|
-
|
|
48546
|
-
|
|
48547
|
-
|
|
48548
|
-
|
|
48549
|
-
|
|
48550
|
-
|
|
48527
|
+
K("div", zJ, [K("strong", null, [J(P(e.name), 1), K("span", null, "设置" + P(j.value ? " · 不访问项目" : ""), 1)]), K("span", BJ, [
|
|
48528
|
+
K("button", {
|
|
48529
|
+
type: "button",
|
|
48530
|
+
class: M(["expert-card-back-tool", { "is-set": Se.value }]),
|
|
48531
|
+
"aria-label": `编辑 ${e.name} 的描述`,
|
|
48532
|
+
title: we.value,
|
|
48533
|
+
onClick: n[4] ||= (e) => Ce.value = !0
|
|
48534
|
+
}, [q(d, { name: "i-lucide-user-pen" })], 10, VJ),
|
|
48535
|
+
p.value.adapter ? (U(), W("button", {
|
|
48536
|
+
key: 0,
|
|
48537
|
+
type: "button",
|
|
48538
|
+
class: M(["expert-card-back-tool", {
|
|
48539
|
+
"is-set": Oe.value,
|
|
48540
|
+
"is-own": De.value && Oe.value
|
|
48541
|
+
}]),
|
|
48542
|
+
title: ke.value,
|
|
48543
|
+
"aria-label": `编辑 ${e.name} 的专属提示词`,
|
|
48544
|
+
onClick: Fe
|
|
48545
|
+
}, [q(d, { name: "i-lucide-scroll-text" })], 10, HJ)) : Y("", !0),
|
|
48546
|
+
v.value ? (U(), G(x, {
|
|
48547
|
+
key: 1,
|
|
48548
|
+
icon: "i-lucide-zap",
|
|
48549
|
+
"aria-label": `检查 ${e.name} 的 API 配置`,
|
|
48550
|
+
title: "检查配置:发送一次极短请求,核对地址、密钥、协议与模型",
|
|
48551
|
+
size: "xs",
|
|
48552
|
+
color: y.value.state === "ok" ? "success" : y.value.state === "error" ? "error" : "neutral",
|
|
48553
|
+
variant: "ghost",
|
|
48554
|
+
loading: y.value.state === "loading",
|
|
48555
|
+
disabled: !p.value.api_key_ref || !p.value.model || !I(i).launch.available,
|
|
48556
|
+
onClick: b
|
|
48557
|
+
}, null, 8, [
|
|
48558
|
+
"aria-label",
|
|
48559
|
+
"color",
|
|
48560
|
+
"loading",
|
|
48561
|
+
"disabled"
|
|
48562
|
+
])) : Y("", !0)
|
|
48563
|
+
])]),
|
|
48551
48564
|
v.value && y.value.message ? (U(), W("p", {
|
|
48552
48565
|
key: 0,
|
|
48553
48566
|
role: y.value.state === "error" ? "alert" : "status",
|
|
48554
48567
|
class: "expert-card-check"
|
|
48555
|
-
}, P(y.value.message), 9,
|
|
48556
|
-
g.value && m.value.length > 1 ? (U(), W("div",
|
|
48568
|
+
}, P(y.value.message), 9, UJ)) : Y("", !0),
|
|
48569
|
+
g.value && m.value.length > 1 ? (U(), W("div", WJ, [n[16] ||= K("span", null, "接入", -1), q(S, {
|
|
48557
48570
|
"model-value": p.value.adapter || "",
|
|
48558
48571
|
items: m.value,
|
|
48559
48572
|
placeholder: "选择 API / App / CLI",
|
|
48560
48573
|
"aria-label": `${e.name} 软件入口`,
|
|
48561
48574
|
size: "xs",
|
|
48562
48575
|
class: "w-full",
|
|
48563
|
-
"onUpdate:modelValue": n[
|
|
48576
|
+
"onUpdate:modelValue": n[5] ||= (t) => I(a).write_launch(e.name, "adapter", t)
|
|
48564
48577
|
}, null, 8, [
|
|
48565
48578
|
"model-value",
|
|
48566
48579
|
"items",
|
|
@@ -48582,16 +48595,16 @@ var hU = /*#__PURE__*/ XH({
|
|
|
48582
48595
|
"aria-label",
|
|
48583
48596
|
"onUpdate:modelValue"
|
|
48584
48597
|
])]))), 128)),
|
|
48585
|
-
E.value ? (U(), W("div",
|
|
48598
|
+
E.value ? (U(), W("div", GJ, [n[17] ||= K("span", null, "会话", -1), q(w, {
|
|
48586
48599
|
"model-value": e.session,
|
|
48587
48600
|
placeholder: "续接已有会话 ID,留空则新建",
|
|
48588
48601
|
"aria-label": `${e.name} 要续接的已有会话 ID`,
|
|
48589
48602
|
size: "xs",
|
|
48590
48603
|
class: "w-full",
|
|
48591
|
-
"onUpdate:modelValue": n[
|
|
48604
|
+
"onUpdate:modelValue": n[6] ||= (e) => r("session", e)
|
|
48592
48605
|
}, null, 8, ["model-value", "aria-label"])])) : Y("", !0),
|
|
48593
|
-
E.value && e.session.trim() && T.value ? (U(), W("p",
|
|
48594
|
-
A.value ? (U(), W("div",
|
|
48606
|
+
E.value && e.session.trim() && T.value ? (U(), W("p", KJ, P(T.value), 1)) : Y("", !0),
|
|
48607
|
+
A.value ? (U(), W("div", qJ, [n[18] ||= K("span", null, "项目", -1), K("div", {
|
|
48595
48608
|
class: "expert-card-modes",
|
|
48596
48609
|
role: "radiogroup",
|
|
48597
48610
|
"aria-label": `${e.name} 的项目文件权限`
|
|
@@ -48607,87 +48620,73 @@ var hU = /*#__PURE__*/ XH({
|
|
|
48607
48620
|
role: "radio",
|
|
48608
48621
|
"aria-checked": oe.value === t.value,
|
|
48609
48622
|
onClick: (n) => I(a).write_launch(e.name, "project_access", t.value)
|
|
48610
|
-
}, P(t.label), 9,
|
|
48611
|
-
p.value.adapter ? (U(), W("div", qJ, [n[18] ||= K("span", null, "提示", -1), K("button", {
|
|
48612
|
-
type: "button",
|
|
48613
|
-
class: "expert-card-prompt",
|
|
48614
|
-
title: De.value || "未设置专属提示词",
|
|
48615
|
-
"aria-label": `编辑 ${e.name} 的专属提示词`,
|
|
48616
|
-
onClick: Pe
|
|
48617
|
-
}, [
|
|
48618
|
-
Oe.value ? (U(), W("b", {
|
|
48619
|
-
key: 0,
|
|
48620
|
-
class: M({ "is-own": Ee.value })
|
|
48621
|
-
}, P(Oe.value), 3)) : Y("", !0),
|
|
48622
|
-
K("em", null, P(De.value.split("\n")[0] || "未设置,点击添加"), 1),
|
|
48623
|
-
q(d, { name: "i-lucide-pen-line" })
|
|
48624
|
-
], 8, JJ)])) : Y("", !0),
|
|
48623
|
+
}, P(t.label), 9, YJ)), 64))], 8, JJ)])) : Y("", !0),
|
|
48625
48624
|
v.value ? (U(), G(yK, {
|
|
48626
|
-
key:
|
|
48625
|
+
key: 5,
|
|
48627
48626
|
name: e.name
|
|
48628
|
-
}, null, 8, ["name"])) : te.value && !me.value.length ? (U(), W(H, { key:
|
|
48629
|
-
K("div",
|
|
48627
|
+
}, null, 8, ["name"])) : te.value && !me.value.length ? (U(), W(H, { key: 6 }, [
|
|
48628
|
+
K("div", XJ, [n[19] ||= K("span", null, "模型", -1), q(S, {
|
|
48630
48629
|
"model-value": p.value.model || "__default__",
|
|
48631
48630
|
items: k.value.items,
|
|
48632
48631
|
title: k.value.source,
|
|
48633
48632
|
"aria-label": `${e.name} 使用的模型`,
|
|
48634
48633
|
size: "xs",
|
|
48635
48634
|
class: "w-full",
|
|
48636
|
-
"onUpdate:modelValue": n[
|
|
48635
|
+
"onUpdate:modelValue": n[7] ||= (t) => I(a).write_launch_model(e.name, t)
|
|
48637
48636
|
}, null, 8, [
|
|
48638
48637
|
"model-value",
|
|
48639
48638
|
"items",
|
|
48640
48639
|
"title",
|
|
48641
48640
|
"aria-label"
|
|
48642
48641
|
])]),
|
|
48643
|
-
k.value.loading || k.value.error ? (U(), W("div",
|
|
48642
|
+
k.value.loading || k.value.error ? (U(), W("div", ZJ, [K("span", null, P(k.value.loading ? "正在读取软件模型列表…" : k.value.error), 1), !k.value.loading && k.value.error && I(i).launch.available ? (U(), W("button", {
|
|
48644
48643
|
key: 0,
|
|
48645
48644
|
type: "button",
|
|
48646
|
-
onClick: n[
|
|
48645
|
+
onClick: n[8] ||= (t) => I(a).load_launch_models(e.name, !0)
|
|
48647
48646
|
}, "重试")) : Y("", !0)])) : Y("", !0),
|
|
48648
|
-
re.value ? (U(), W("div",
|
|
48647
|
+
re.value ? (U(), W("div", QJ, [q(uJ, {
|
|
48649
48648
|
caption: "强度",
|
|
48650
48649
|
items: re.value,
|
|
48651
48650
|
"model-value": p.value.effort || "",
|
|
48652
48651
|
label: `${e.name} 的思考强度`,
|
|
48653
|
-
"onUpdate:modelValue": n[
|
|
48652
|
+
"onUpdate:modelValue": n[9] ||= (t) => I(a).write_launch(e.name, "effort", t)
|
|
48654
48653
|
}, null, 8, [
|
|
48655
48654
|
"items",
|
|
48656
48655
|
"model-value",
|
|
48657
48656
|
"label"
|
|
48658
|
-
])])) : (U(), W("p",
|
|
48657
|
+
])])) : (U(), W("p", $J, P(k.value.effort_note), 1)),
|
|
48659
48658
|
K("button", {
|
|
48660
48659
|
type: "button",
|
|
48661
48660
|
class: "expert-card-defaults",
|
|
48662
48661
|
title: "留空使用 CLI 默认值",
|
|
48663
48662
|
"aria-label": `恢复 ${e.name} 的默认模型与强度`,
|
|
48664
48663
|
disabled: !p.value.model && !p.value.effort,
|
|
48665
|
-
onClick:
|
|
48666
|
-
}, "恢复默认", 8,
|
|
48667
|
-
], 64)) : (U(), W("p",
|
|
48668
|
-
]), K("span",
|
|
48664
|
+
onClick: Le
|
|
48665
|
+
}, "恢复默认", 8, eY)
|
|
48666
|
+
], 64)) : (U(), W("p", tY, [q(d, { name: e.mode === "online" ? "i-lucide-globe" : "i-lucide-monitor" }, null, 8, ["name"]), J(P(ne.value), 1)]))
|
|
48667
|
+
]), K("span", nY, [K("button", {
|
|
48669
48668
|
type: "button",
|
|
48670
48669
|
class: "expert-card-flip is-cancel",
|
|
48671
48670
|
"aria-label": `放弃 ${e.name} 的修改`,
|
|
48672
48671
|
onClick: xe
|
|
48673
|
-
}, "取消", 8,
|
|
48672
|
+
}, "取消", 8, rY), K("button", {
|
|
48674
48673
|
ref_key: "back_button",
|
|
48675
48674
|
ref: u,
|
|
48676
48675
|
type: "button",
|
|
48677
48676
|
class: "expert-card-flip is-done",
|
|
48678
48677
|
"aria-label": `保存并返回 ${e.name} 角色卡片`,
|
|
48679
|
-
onClick: n[
|
|
48680
|
-
}, [q(d, { name: "i-lucide-check" }), n[20] ||= J("完成", -1)], 8,
|
|
48678
|
+
onClick: n[10] ||= (e) => be(!1)
|
|
48679
|
+
}, [q(d, { name: "i-lucide-check" }), n[20] ||= J("完成", -1)], 8, iY)])], 8, LJ)) : Y("", !0)]),
|
|
48681
48680
|
_: 1
|
|
48682
48681
|
}, 8, ["style"]),
|
|
48683
48682
|
q(gJ, {
|
|
48684
48683
|
open: Ce.value,
|
|
48685
|
-
"onUpdate:open": n[
|
|
48684
|
+
"onUpdate:open": n[11] ||= (e) => Ce.value = e,
|
|
48686
48685
|
name: e.name,
|
|
48687
48686
|
platform: I(a).platform_of(e.name),
|
|
48688
48687
|
text: Se.value,
|
|
48689
48688
|
template: I(a).description_template(e.name),
|
|
48690
|
-
onSave:
|
|
48689
|
+
onSave: Te
|
|
48691
48690
|
}, null, 8, [
|
|
48692
48691
|
"open",
|
|
48693
48692
|
"name",
|
|
@@ -48696,20 +48695,20 @@ var hU = /*#__PURE__*/ XH({
|
|
|
48696
48695
|
"template"
|
|
48697
48696
|
]),
|
|
48698
48697
|
q(mJ, {
|
|
48699
|
-
open:
|
|
48700
|
-
"onUpdate:open": n[
|
|
48701
|
-
draft:
|
|
48702
|
-
"onUpdate:draft": n[
|
|
48698
|
+
open: Ae.value,
|
|
48699
|
+
"onUpdate:open": n[12] ||= (e) => Ae.value = e,
|
|
48700
|
+
draft: je.value,
|
|
48701
|
+
"onUpdate:draft": n[13] ||= (e) => je.value = e,
|
|
48703
48702
|
title: `${e.name} 的专属提示词`,
|
|
48704
48703
|
description: "只发给这位专家,补充它的做法与偏好;不改变权限和技能规则。",
|
|
48705
48704
|
label: `${e.name} 的专属提示词`,
|
|
48706
48705
|
placeholder: "例如:回答先给结论,控制在三段以内。",
|
|
48707
48706
|
max: I(_J),
|
|
48708
48707
|
rows: 8,
|
|
48709
|
-
note:
|
|
48710
|
-
source:
|
|
48711
|
-
changed:
|
|
48712
|
-
onSave:
|
|
48708
|
+
note: Ne.value,
|
|
48709
|
+
source: Pe.value,
|
|
48710
|
+
changed: Me.value,
|
|
48711
|
+
onSave: Ie
|
|
48713
48712
|
}, null, 8, [
|
|
48714
48713
|
"open",
|
|
48715
48714
|
"draft",
|
|
@@ -48723,12 +48722,12 @@ var hU = /*#__PURE__*/ XH({
|
|
|
48723
48722
|
], 42, yJ);
|
|
48724
48723
|
};
|
|
48725
48724
|
}
|
|
48726
|
-
}, [["__scopeId", "data-v-
|
|
48725
|
+
}, [["__scopeId", "data-v-18d3f253"]]), cY = ["aria-label"], lY = [
|
|
48727
48726
|
"disabled",
|
|
48728
48727
|
"title",
|
|
48729
48728
|
"aria-label",
|
|
48730
48729
|
"onClick"
|
|
48731
|
-
],
|
|
48730
|
+
], uY = /*#__PURE__*/ XH({
|
|
48732
48731
|
__name: "RosterAdd",
|
|
48733
48732
|
props: {
|
|
48734
48733
|
label: {
|
|
@@ -48776,17 +48775,17 @@ var hU = /*#__PURE__*/ XH({
|
|
|
48776
48775
|
]),
|
|
48777
48776
|
J(P(e.name), 1),
|
|
48778
48777
|
q(o, { name: "i-lucide-plus" })
|
|
48779
|
-
], 8,
|
|
48778
|
+
], 8, lY))), 128))], 8, cY);
|
|
48780
48779
|
};
|
|
48781
48780
|
}
|
|
48782
|
-
}, [["__scopeId", "data-v-155b366c"]]),
|
|
48781
|
+
}, [["__scopeId", "data-v-155b366c"]]), dY = { class: "scheduler-settings" }, fY = { class: "scheduler-title" }, pY = { class: "scheduler-description" }, mY = {
|
|
48783
48782
|
key: 0,
|
|
48784
48783
|
class: "scheduler-cards"
|
|
48785
|
-
},
|
|
48784
|
+
}, hY = { class: "scheduler-identity" }, gY = { class: "scheduler-facts" }, _Y = ["title"], vY = { class: "scheduler-flip" }, yY = { class: "scheduler-tools" }, bY = ["aria-label"], xY = { class: "scheduler-back" }, SY = { class: "scheduler-heading" }, CY = { class: "scheduler-field" }, wY = { class: "scheduler-field" }, TY = {
|
|
48786
48785
|
key: 0,
|
|
48787
48786
|
role: "alert",
|
|
48788
48787
|
class: "scheduler-error"
|
|
48789
|
-
},
|
|
48788
|
+
}, EY = ["role"], DY = { class: "scheduler-flip-actions" }, OY = "••••••••••••", kY = /*#__PURE__*/ XH({
|
|
48790
48789
|
__name: "SchedulerSettings",
|
|
48791
48790
|
props: {
|
|
48792
48791
|
free: {
|
|
@@ -48898,8 +48897,8 @@ var hU = /*#__PURE__*/ XH({
|
|
|
48898
48897
|
}
|
|
48899
48898
|
return (t, a) => {
|
|
48900
48899
|
let g = WV, D = pA, O = sA, ee = MA, k = uK, te = YV;
|
|
48901
|
-
return U(), W("div",
|
|
48902
|
-
K("div", null, [K("p",
|
|
48900
|
+
return U(), W("div", dY, [
|
|
48901
|
+
K("div", null, [K("p", fY, [
|
|
48903
48902
|
a[5] ||= J("智能调度", -1),
|
|
48904
48903
|
q(g, {
|
|
48905
48904
|
size: "xs",
|
|
@@ -48910,16 +48909,16 @@ var hU = /*#__PURE__*/ XH({
|
|
|
48910
48909
|
_: 1
|
|
48911
48910
|
}),
|
|
48912
48911
|
a[6] ||= K("small", null, "可选", -1)
|
|
48913
|
-
]), K("p",
|
|
48914
|
-
q(
|
|
48912
|
+
]), K("p", pY, P(e.blocker ? `${T.value}(${e.blocker})` : T.value), 1)]),
|
|
48913
|
+
q(uY, {
|
|
48915
48914
|
ref_key: "add_row",
|
|
48916
48915
|
ref: l,
|
|
48917
48916
|
label: "添加决策模型",
|
|
48918
48917
|
items: u.value,
|
|
48919
48918
|
onAdd: y
|
|
48920
48919
|
}, null, 8, ["items"]),
|
|
48921
|
-
c.value ? (U(), W("div",
|
|
48922
|
-
K("div",
|
|
48920
|
+
c.value ? (U(), W("div", mY, [K("div", { class: M(["scheduler-card", { "is-editing": h.value }]) }, [h.value ? (U(), W(H, { key: 1 }, [K("div", xY, [
|
|
48921
|
+
K("div", SY, [K("strong", null, [J(P(x.value), 1), a[11] ||= K("span", null, "设置", -1)]), q(ee, {
|
|
48923
48922
|
icon: "i-lucide-zap",
|
|
48924
48923
|
"aria-label": "检查智能调度配置",
|
|
48925
48924
|
title: "检查配置:向决策模型发送一道极短的是非题,核对供应商、模型与密钥",
|
|
@@ -48934,7 +48933,7 @@ var hU = /*#__PURE__*/ XH({
|
|
|
48934
48933
|
"loading",
|
|
48935
48934
|
"disabled"
|
|
48936
48935
|
])]),
|
|
48937
|
-
K("div",
|
|
48936
|
+
K("div", CY, [a[12] ||= K("span", null, "模型", -1), q(k, {
|
|
48938
48937
|
mode: "autocomplete",
|
|
48939
48938
|
"ignore-filter": "",
|
|
48940
48939
|
"model-value": i.value.model || "",
|
|
@@ -48946,7 +48945,7 @@ var hU = /*#__PURE__*/ XH({
|
|
|
48946
48945
|
class: "w-full",
|
|
48947
48946
|
"onUpdate:modelValue": a[0] ||= (e) => I(r).write_scheduler("model", e)
|
|
48948
48947
|
}, null, 8, ["model-value", "items"])]),
|
|
48949
|
-
K("div",
|
|
48948
|
+
K("div", wY, [a[13] ||= K("span", null, "密钥", -1), q(te, {
|
|
48950
48949
|
modelValue: d.value,
|
|
48951
48950
|
"onUpdate:modelValue": a[2] ||= (e) => d.value = e,
|
|
48952
48951
|
type: "text",
|
|
@@ -48954,7 +48953,7 @@ var hU = /*#__PURE__*/ XH({
|
|
|
48954
48953
|
spellcheck: "false",
|
|
48955
48954
|
"data-1p-ignore": "",
|
|
48956
48955
|
"data-lpignore": "true",
|
|
48957
|
-
placeholder: i.value.api_key_ref ?
|
|
48956
|
+
placeholder: i.value.api_key_ref ? OY : "填写所选供应商的 API Key",
|
|
48958
48957
|
title: i.value.api_key_ref && !d.value ? "已保存;本机不回传密钥,输入新 Key 可更换" : void 0,
|
|
48959
48958
|
"aria-label": "智能调度 API Key",
|
|
48960
48959
|
size: "xs",
|
|
@@ -48989,14 +48988,14 @@ var hU = /*#__PURE__*/ XH({
|
|
|
48989
48988
|
"loading",
|
|
48990
48989
|
"ui"
|
|
48991
48990
|
])]),
|
|
48992
|
-
m.value ? (U(), W("p",
|
|
48991
|
+
m.value ? (U(), W("p", TY, P(m.value), 1)) : Y("", !0),
|
|
48993
48992
|
C.value.message ? (U(), W("p", {
|
|
48994
48993
|
key: 1,
|
|
48995
48994
|
role: C.value.state === "error" ? "alert" : "status",
|
|
48996
48995
|
class: M(C.value.state === "error" ? "scheduler-error" : "scheduler-ok")
|
|
48997
|
-
}, P(C.value.message), 11,
|
|
48996
|
+
}, P(C.value.message), 11, EY)) : Y("", !0),
|
|
48998
48997
|
a[14] ||= K("p", { class: "scheduler-note" }, "决策模型只做选择、不生成文本,只按输入计费。判断时会把房间标题和最近 10 条消息发给所选供应商;密钥只存本机。", -1)
|
|
48999
|
-
]), K("span",
|
|
48998
|
+
]), K("span", DY, [K("button", {
|
|
49000
48999
|
type: "button",
|
|
49001
49000
|
class: "scheduler-flip is-cancel",
|
|
49002
49001
|
"aria-label": "放弃决策模型的修改",
|
|
@@ -49013,7 +49012,7 @@ var hU = /*#__PURE__*/ XH({
|
|
|
49013
49012
|
title: "点击设置",
|
|
49014
49013
|
onClick: _
|
|
49015
49014
|
}, [
|
|
49016
|
-
K("span",
|
|
49015
|
+
K("span", hY, [q(D, {
|
|
49017
49016
|
src: s[i.value.provider]?.icon,
|
|
49018
49017
|
text: x.value.slice(0, 2),
|
|
49019
49018
|
alt: x.value,
|
|
@@ -49025,40 +49024,40 @@ var hU = /*#__PURE__*/ XH({
|
|
|
49025
49024
|
"alt",
|
|
49026
49025
|
"class"
|
|
49027
49026
|
]), K("strong", null, P(x.value), 1)]),
|
|
49028
|
-
K("dl",
|
|
49029
|
-
K("span",
|
|
49030
|
-
]), K("span",
|
|
49027
|
+
K("dl", gY, [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, _Y)])]),
|
|
49028
|
+
K("span", vY, [q(O, { name: "i-lucide-settings-2" }), a[10] ||= J("设置", -1)])
|
|
49029
|
+
]), K("span", yY, [K("button", {
|
|
49031
49030
|
type: "button",
|
|
49032
49031
|
"aria-label": `移出决策模型 ${x.value}`,
|
|
49033
49032
|
title: "移出",
|
|
49034
49033
|
onClick: b
|
|
49035
|
-
}, [q(O, { name: "i-lucide-x" })], 8,
|
|
49034
|
+
}, [q(O, { name: "i-lucide-x" })], 8, bY)])], 64))], 2)])) : Y("", !0)
|
|
49036
49035
|
]);
|
|
49037
49036
|
};
|
|
49038
49037
|
}
|
|
49039
|
-
}, [["__scopeId", "data-v-3e1049d5"]]),
|
|
49038
|
+
}, [["__scopeId", "data-v-3e1049d5"]]), AY = { class: "create-discussion" }, jY = {
|
|
49040
49039
|
key: 0,
|
|
49041
49040
|
class: "create-connect",
|
|
49042
49041
|
role: "status"
|
|
49043
|
-
},
|
|
49042
|
+
}, MY = { class: "create-connect-command" }, NY = {
|
|
49044
49043
|
key: 1,
|
|
49045
49044
|
class: "channel-create-location"
|
|
49046
|
-
},
|
|
49045
|
+
}, PY = { class: "create-section" }, FY = { class: "create-section" }, IY = {
|
|
49047
49046
|
key: 0,
|
|
49048
49047
|
class: "create-experts",
|
|
49049
49048
|
role: "group",
|
|
49050
49049
|
"aria-label": "参与的 AI"
|
|
49051
|
-
},
|
|
49050
|
+
}, LY = {
|
|
49052
49051
|
key: 1,
|
|
49053
49052
|
class: "create-experts-empty"
|
|
49054
|
-
},
|
|
49053
|
+
}, RY = {
|
|
49055
49054
|
key: 2,
|
|
49056
49055
|
class: "fine-print create-hint create-host-hint"
|
|
49057
|
-
},
|
|
49056
|
+
}, zY = { class: "create-section" }, BY = { class: "create-footer" }, VY = {
|
|
49058
49057
|
key: 0,
|
|
49059
49058
|
role: "alert",
|
|
49060
49059
|
class: "create-error"
|
|
49061
|
-
},
|
|
49060
|
+
}, HY = { class: "create-footer-row" }, UY = ["title"], WY = "new-expert-modes", GY = 3e3, KY = /*#__PURE__*/ XH({
|
|
49062
49061
|
__name: "CreateDiscussion",
|
|
49063
49062
|
props: { targetFolder: {
|
|
49064
49063
|
type: Object,
|
|
@@ -49066,7 +49065,7 @@ var hU = /*#__PURE__*/ XH({
|
|
|
49066
49065
|
} },
|
|
49067
49066
|
emits: ["submit", "cancel"],
|
|
49068
49067
|
setup(e, { emit: t }) {
|
|
49069
|
-
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[
|
|
49068
|
+
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[WY] || {}), p = /* @__PURE__ */ F([]), m = Z(() => Object.keys(f.value).filter((e) => f.value[e]));
|
|
49070
49069
|
R(m, (e) => {
|
|
49071
49070
|
p.value = [...p.value.filter((t) => e.includes(t)), ...e.filter((e) => !p.value.includes(e))];
|
|
49072
49071
|
}, { immediate: !0 });
|
|
@@ -49090,14 +49089,14 @@ var hU = /*#__PURE__*/ XH({
|
|
|
49090
49089
|
Qi(() => {
|
|
49091
49090
|
ae(), ie = window.setInterval(() => {
|
|
49092
49091
|
re.value && !document.hidden && o("check_launch_connection");
|
|
49093
|
-
},
|
|
49092
|
+
}, GY);
|
|
49094
49093
|
}), ta(() => window.clearInterval(ie));
|
|
49095
49094
|
function oe(e) {
|
|
49096
49095
|
i.write_create_discussion(e), Qn(ae);
|
|
49097
49096
|
}
|
|
49098
49097
|
let se = (e) => i.launch_clients[e]?.some((e) => e.value !== "api"), ce = (e) => d.value && e === v.value ? [] : ["cli", "manual"];
|
|
49099
49098
|
function le(e, t) {
|
|
49100
|
-
t === "cli" && !se(e) && !r.value.launch.profiles[e]?.adapter && i.write_launch(e, "adapter", "api"), i.write_expert(
|
|
49099
|
+
t === "cli" && !se(e) && !r.value.launch.profiles[e]?.adapter && i.write_launch(e, "adapter", "api"), i.write_expert(WY, e, t), ae();
|
|
49101
49100
|
}
|
|
49102
49101
|
function ue(e) {
|
|
49103
49102
|
if (f.value[e] === "online") return {
|
|
@@ -49136,7 +49135,7 @@ var hU = /*#__PURE__*/ XH({
|
|
|
49136
49135
|
aria_label: `添加 ${e} 实例`
|
|
49137
49136
|
})));
|
|
49138
49137
|
function pe(e) {
|
|
49139
|
-
i.launch_clients[e] && (!se(e) && !r.value.launch.profiles[e]?.adapter && i.write_launch(e, "adapter", "api"), g(e) ? i.add_instance(
|
|
49138
|
+
i.launch_clients[e] && (!se(e) && !r.value.launch.profiles[e]?.adapter && i.write_launch(e, "adapter", "api"), g(e) ? i.add_instance(WY, e, "cli") : le(e, "cli"), ae());
|
|
49140
49139
|
}
|
|
49141
49140
|
function me(e) {
|
|
49142
49141
|
le(e, ""), Qn(() => _.value?.focus_first());
|
|
@@ -49158,20 +49157,20 @@ var hU = /*#__PURE__*/ XH({
|
|
|
49158
49157
|
});
|
|
49159
49158
|
return (t, s) => {
|
|
49160
49159
|
let c = sA, p = MA, m = YV, g = zV, x = Xq, T = HV;
|
|
49161
|
-
return U(), W("div",
|
|
49160
|
+
return U(), W("div", AY, [K("form", {
|
|
49162
49161
|
id: "create-discussion-form",
|
|
49163
49162
|
class: "create-scroll dialog-form",
|
|
49164
49163
|
onSubmit: uu(he, ["prevent"])
|
|
49165
49164
|
}, [
|
|
49166
|
-
re.value ? (U(), W("div",
|
|
49165
|
+
re.value ? (U(), W("div", jY, [K("p", null, [q(c, { name: "i-lucide-plug-zap" }), s[9] ||= J("本机服务未连接,连接后才能唤醒本机 AI。在运行 AI 的电脑上执行下面的命令并完成网页授权,连上后自动检测。", -1)]), K("div", MY, [K("code", null, P(I(r).launch.connect_command), 1), q(p, {
|
|
49167
49166
|
icon: "i-lucide-copy",
|
|
49168
49167
|
"aria-label": "复制本机连接命令",
|
|
49169
49168
|
variant: "ghost",
|
|
49170
49169
|
color: "neutral",
|
|
49171
49170
|
onClick: s[0] ||= (e) => I(o)("copy", I(r).launch.connect_command)
|
|
49172
49171
|
})])])) : Y("", !0),
|
|
49173
|
-
e.targetFolder?.id ? (U(), W("p",
|
|
49174
|
-
K("section",
|
|
49172
|
+
e.targetFolder?.id ? (U(), W("p", NY, [q(c, { name: "i-lucide-folder" }), J(P(e.targetFolder.name), 1)])) : Y("", !0),
|
|
49173
|
+
K("section", PY, [
|
|
49175
49174
|
s[10] ||= K("h3", null, [K("span", null, "1"), J("这次做什么")], -1),
|
|
49176
49175
|
q(g, {
|
|
49177
49176
|
label: "话题名称",
|
|
@@ -49197,16 +49196,16 @@ var hU = /*#__PURE__*/ XH({
|
|
|
49197
49196
|
_: 1
|
|
49198
49197
|
}, 8, ["description"])
|
|
49199
49198
|
]),
|
|
49200
|
-
K("section",
|
|
49199
|
+
K("section", FY, [
|
|
49201
49200
|
s[11] ||= K("h3", null, [K("span", null, "2"), J("谁来参与")], -1),
|
|
49202
|
-
q(
|
|
49201
|
+
q(uY, {
|
|
49203
49202
|
ref_key: "library",
|
|
49204
49203
|
ref: _,
|
|
49205
49204
|
label: "添加 AI",
|
|
49206
49205
|
items: fe.value,
|
|
49207
49206
|
onAdd: pe
|
|
49208
49207
|
}, null, 8, ["items"]),
|
|
49209
|
-
h.value.length ? (U(), W("div",
|
|
49208
|
+
h.value.length ? (U(), W("div", IY, [(U(!0), W(H, null, B(h.value, (e) => (U(), G(sY, {
|
|
49210
49209
|
key: e,
|
|
49211
49210
|
name: e,
|
|
49212
49211
|
mode: f.value[e],
|
|
@@ -49228,14 +49227,14 @@ var hU = /*#__PURE__*/ XH({
|
|
|
49228
49227
|
"onHost",
|
|
49229
49228
|
"onRemove",
|
|
49230
49229
|
"onMode"
|
|
49231
|
-
]))), 128))])) : (U(), W("p",
|
|
49232
|
-
h.value.length ? (U(), W("div",
|
|
49233
|
-
q(
|
|
49230
|
+
]))), 128))])) : (U(), W("p", LY, "请至少添加一位成员。同一平台可添加多位,各自独立会话。")),
|
|
49231
|
+
h.value.length ? (U(), W("div", RY, [q(c, { name: "i-lucide-crown" }), K("span", null, P(y.value.length ? "点卡片上的皇冠指定主持人:没 @ 任何人的消息由它分配;其他成员只在被你或主持人点名时发言。" : "需要一位本地 AI 做主持人,没 @ 的消息才有人接。"), 1)])) : Y("", !0),
|
|
49232
|
+
q(kY, {
|
|
49234
49233
|
free: !0,
|
|
49235
49234
|
blocker: te.value
|
|
49236
49235
|
}, null, 8, ["blocker"])
|
|
49237
49236
|
]),
|
|
49238
|
-
K("section",
|
|
49237
|
+
K("section", zY, [
|
|
49239
49238
|
s[12] ||= K("h3", null, [K("span", null, "3"), J("推进方式(可选)")], -1),
|
|
49240
49239
|
q(x, {
|
|
49241
49240
|
"model-value": d.value,
|
|
@@ -49281,7 +49280,7 @@ var hU = /*#__PURE__*/ XH({
|
|
|
49281
49280
|
"execution_minutes"
|
|
49282
49281
|
])], 64)) : Y("", !0)
|
|
49283
49282
|
])
|
|
49284
|
-
], 32), K("footer",
|
|
49283
|
+
], 32), K("footer", BY, [D.value && I(r).launch.error ? (U(), W("p", VY, P(I(r).launch.error), 1)) : Y("", !0), K("div", HY, [
|
|
49285
49284
|
K("span", {
|
|
49286
49285
|
class: M(["create-summary", { "is-blocked": A.value }]),
|
|
49287
49286
|
title: A.value || ge.value,
|
|
@@ -49289,7 +49288,7 @@ var hU = /*#__PURE__*/ XH({
|
|
|
49289
49288
|
}, [A.value ? (U(), G(c, {
|
|
49290
49289
|
key: 0,
|
|
49291
49290
|
name: "i-lucide-circle-alert"
|
|
49292
|
-
})) : Y("", !0), J(P(A.value ? `还差:${A.value}` : h.value.length || d.value ? ge.value : ""), 1)], 10,
|
|
49291
|
+
})) : Y("", !0), J(P(A.value ? `还差:${A.value}` : h.value.length || d.value ? ge.value : ""), 1)], 10, UY),
|
|
49293
49292
|
q(p, {
|
|
49294
49293
|
label: "取消",
|
|
49295
49294
|
color: "neutral",
|
|
@@ -49313,46 +49312,46 @@ var hU = /*#__PURE__*/ XH({
|
|
|
49313
49312
|
])])]);
|
|
49314
49313
|
};
|
|
49315
49314
|
}
|
|
49316
|
-
}, [["__scopeId", "data-v-61eb0b0c"]]),
|
|
49315
|
+
}, [["__scopeId", "data-v-61eb0b0c"]]), qY = {
|
|
49317
49316
|
class: "account-settings",
|
|
49318
49317
|
"aria-labelledby": "account-heading"
|
|
49319
|
-
},
|
|
49318
|
+
}, JY = {
|
|
49320
49319
|
key: 0,
|
|
49321
49320
|
class: "fine-print",
|
|
49322
49321
|
role: "status"
|
|
49323
|
-
},
|
|
49322
|
+
}, YY = ["aria-label"], XY = { class: "fine-print account-intro" }, ZY = {
|
|
49324
49323
|
key: 0,
|
|
49325
49324
|
class: "account-message is-error",
|
|
49326
49325
|
role: "status"
|
|
49327
|
-
}, ZY = {
|
|
49328
|
-
key: 1,
|
|
49329
|
-
class: "fine-print"
|
|
49330
49326
|
}, QY = {
|
|
49331
49327
|
key: 1,
|
|
49332
49328
|
class: "fine-print"
|
|
49333
49329
|
}, $Y = {
|
|
49330
|
+
key: 1,
|
|
49331
|
+
class: "fine-print"
|
|
49332
|
+
}, eX = {
|
|
49334
49333
|
key: 2,
|
|
49335
49334
|
class: "account-message is-error",
|
|
49336
49335
|
role: "alert"
|
|
49337
|
-
},
|
|
49336
|
+
}, tX = {
|
|
49338
49337
|
key: 3,
|
|
49339
49338
|
class: "account-message",
|
|
49340
49339
|
role: "status"
|
|
49341
|
-
},
|
|
49340
|
+
}, nX = { class: "account-actions" }, rX = {
|
|
49342
49341
|
key: 2,
|
|
49343
49342
|
class: "account-profile"
|
|
49344
|
-
},
|
|
49343
|
+
}, iX = { class: "account-identity" }, aX = { class: "account-avatar-actions" }, oX = { class: "account-name-row" }, sX = {
|
|
49345
49344
|
key: 0,
|
|
49346
49345
|
class: "account-message is-error",
|
|
49347
49346
|
role: "alert"
|
|
49348
|
-
},
|
|
49347
|
+
}, cX = {
|
|
49349
49348
|
key: 1,
|
|
49350
49349
|
class: "account-message",
|
|
49351
49350
|
role: "status"
|
|
49352
|
-
},
|
|
49351
|
+
}, lX = {
|
|
49353
49352
|
key: 2,
|
|
49354
49353
|
class: "account-signout account-actions"
|
|
49355
|
-
},
|
|
49354
|
+
}, uX = {
|
|
49356
49355
|
__name: "AccountSettings",
|
|
49357
49356
|
setup(e) {
|
|
49358
49357
|
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({
|
|
@@ -49420,13 +49419,13 @@ var hU = /*#__PURE__*/ XH({
|
|
|
49420
49419
|
}
|
|
49421
49420
|
return (e, t) => {
|
|
49422
49421
|
let p = YV, y = zV, b = MA, x = pA;
|
|
49423
|
-
return U(), W("section",
|
|
49422
|
+
return U(), W("section", qY, [t[8] ||= K("h3", { id: "account-heading" }, "账号", -1), a.value === "loading" ? (U(), W("p", JY, "正在读取账号状态…")) : a.value === "register" || a.value === "login" ? (U(), W("form", {
|
|
49424
49423
|
key: 1,
|
|
49425
49424
|
class: "dialog-form account-form",
|
|
49426
49425
|
"aria-label": a.value === "register" ? "设置管理员账号" : "登录管理员账号",
|
|
49427
49426
|
onSubmit: uu(m, ["prevent"])
|
|
49428
49427
|
}, [
|
|
49429
|
-
K("p",
|
|
49428
|
+
K("p", XY, [a.value === "register" ? (U(), W(H, { key: 0 }, [J("设置站点管理员账号:名称和头像对所有访客可见,登录后可在没有房间凭据的浏览器中存档、恢复、删除房间。")], 64)) : (U(), W(H, { key: 1 }, [J("登录后可管理房间;未登录时仍可阅读并使用本浏览器创建的房间。")], 64))]),
|
|
49430
49429
|
q(y, {
|
|
49431
49430
|
label: "用户名",
|
|
49432
49431
|
description: a.value === "register" ? "1–30 个字符,也是公开显示的名称" : void 0,
|
|
@@ -49493,18 +49492,18 @@ var hU = /*#__PURE__*/ XH({
|
|
|
49493
49492
|
}, null, 8, ["modelValue", "disabled"])]),
|
|
49494
49493
|
_: 1
|
|
49495
49494
|
}),
|
|
49496
|
-
f.value ? (U(), W("p",
|
|
49495
|
+
f.value ? (U(), W("p", ZY, "服务端未配置安装令牌,暂时无法注册。本地版请设置环境变量 DISCUSS_ADMIN_SETUP_KEY 后重启;Cloudflare 版请配置部署机密 ADMIN_SETUP_KEY。")) : (U(), W("p", QY, [...t[6] ||= [
|
|
49497
49496
|
J("首个注册者需要安装令牌,防止他人抢注。本地版见服务端启动日志;Cloudflare 版为部署机密 ADMIN_SETUP_KEY。忘记密码:本地版运行 ", -1),
|
|
49498
49497
|
K("code", null, "python server.py --reset-admin", -1),
|
|
49499
49498
|
J(" 后重新注册;Cloudflare 版需清空管理员表(见部署文档)。", -1)
|
|
49500
49499
|
]]))
|
|
49501
|
-
], 64)) : (U(), W("p",
|
|
49500
|
+
], 64)) : (U(), W("p", $Y, [...t[7] ||= [
|
|
49502
49501
|
J("忘记密码:本地版运行 ", -1),
|
|
49503
49502
|
K("code", null, "python server.py --reset-admin", -1),
|
|
49504
49503
|
J(" 后重新注册;Cloudflare 版需清空管理员表(见部署文档)。", -1)
|
|
49505
49504
|
]])),
|
|
49506
|
-
s.auth.error ? (U(), W("p",
|
|
49507
|
-
K("div",
|
|
49505
|
+
s.auth.error ? (U(), W("p", eX, P(s.auth.error), 1)) : s.auth.notice ? (U(), W("p", tX, P(s.auth.notice), 1)) : Y("", !0),
|
|
49506
|
+
K("div", nX, [q(b, {
|
|
49508
49507
|
type: "submit",
|
|
49509
49508
|
class: "channel-primary-button",
|
|
49510
49509
|
label: a.value === "register" ? "创建并登录" : "登录",
|
|
@@ -49515,13 +49514,13 @@ var hU = /*#__PURE__*/ XH({
|
|
|
49515
49514
|
"loading",
|
|
49516
49515
|
"disabled"
|
|
49517
49516
|
])])
|
|
49518
|
-
], 40,
|
|
49519
|
-
K("div",
|
|
49517
|
+
], 40, YY)) : (U(), W("div", rX, [
|
|
49518
|
+
K("div", iX, [q(x, {
|
|
49520
49519
|
src: I(n).identities.用户.icon,
|
|
49521
49520
|
alt: `${I(n).display_name("用户")} 的头像`,
|
|
49522
49521
|
size: "lg",
|
|
49523
49522
|
class: "channel-avatar user account-avatar"
|
|
49524
|
-
}, null, 8, ["src", "alt"]), K("div",
|
|
49523
|
+
}, null, 8, ["src", "alt"]), K("div", aX, [
|
|
49525
49524
|
K("input", {
|
|
49526
49525
|
ref_key: "avatar_input",
|
|
49527
49526
|
ref: u,
|
|
@@ -49559,7 +49558,7 @@ var hU = /*#__PURE__*/ XH({
|
|
|
49559
49558
|
label: "显示名称",
|
|
49560
49559
|
description: "即用户名,对所有访客可见"
|
|
49561
49560
|
}, {
|
|
49562
|
-
default: L(() => [K("div",
|
|
49561
|
+
default: L(() => [K("div", oX, [q(p, {
|
|
49563
49562
|
modelValue: l.value,
|
|
49564
49563
|
"onUpdate:modelValue": t[5] ||= (e) => l.value = e,
|
|
49565
49564
|
autocomplete: "username",
|
|
@@ -49577,8 +49576,8 @@ var hU = /*#__PURE__*/ XH({
|
|
|
49577
49576
|
}, null, 8, ["loading", "disabled"])])]),
|
|
49578
49577
|
_: 1
|
|
49579
49578
|
})], 32),
|
|
49580
|
-
s.profile.error ? (U(), W("p",
|
|
49581
|
-
r.value.local ? Y("", !0) : (U(), W("div",
|
|
49579
|
+
s.profile.error ? (U(), W("p", sX, P(s.profile.error), 1)) : s.profile.notice ? (U(), W("p", cX, P(s.profile.notice), 1)) : Y("", !0),
|
|
49580
|
+
r.value.local ? Y("", !0) : (U(), W("div", lX, [q(b, {
|
|
49582
49581
|
label: "退出登录",
|
|
49583
49582
|
icon: "i-lucide-log-out",
|
|
49584
49583
|
color: "neutral",
|
|
@@ -49591,65 +49590,65 @@ var hU = /*#__PURE__*/ XH({
|
|
|
49591
49590
|
]))]);
|
|
49592
49591
|
};
|
|
49593
49592
|
}
|
|
49594
|
-
},
|
|
49593
|
+
}, dX = {
|
|
49595
49594
|
key: 0,
|
|
49596
49595
|
class: "channel-archive-manager"
|
|
49597
|
-
},
|
|
49596
|
+
}, fX = { class: "channel-archive-toolbar" }, pX = {
|
|
49598
49597
|
key: 0,
|
|
49599
49598
|
class: "channel-archive-confirm channel-archive-bulk",
|
|
49600
49599
|
role: "alert"
|
|
49601
|
-
},
|
|
49600
|
+
}, mX = {
|
|
49602
49601
|
key: 1,
|
|
49603
49602
|
role: "alert",
|
|
49604
49603
|
class: "channel-directory-error"
|
|
49605
|
-
},
|
|
49604
|
+
}, hX = { class: "channel-archive-results" }, gX = {
|
|
49606
49605
|
key: 0,
|
|
49607
49606
|
class: "channel-archive-list",
|
|
49608
49607
|
"aria-label": "已存档房间列表"
|
|
49609
|
-
},
|
|
49608
|
+
}, _X = { class: "channel-archive-row" }, vX = { class: "channel-archive-info" }, yX = [
|
|
49610
49609
|
"title",
|
|
49611
49610
|
"disabled",
|
|
49612
49611
|
"onClick"
|
|
49613
|
-
],
|
|
49612
|
+
], bX = { key: 0 }, xX = ["datetime"], SX = { class: "channel-archive-actions" }, CX = {
|
|
49614
49613
|
key: 0,
|
|
49615
49614
|
class: "channel-archive-confirm channel-archive-bulk",
|
|
49616
49615
|
role: "alert"
|
|
49617
|
-
},
|
|
49616
|
+
}, wX = {
|
|
49618
49617
|
key: 1,
|
|
49619
49618
|
class: "channel-archive-empty"
|
|
49620
|
-
},
|
|
49619
|
+
}, TX = { class: "fine-print" }, EX = { class: "dialog-actions" }, DX = { class: "dialog-actions" }, OX = { class: "channel-management-target" }, kX = {
|
|
49621
49620
|
key: 0,
|
|
49622
49621
|
class: "fine-print"
|
|
49623
|
-
},
|
|
49622
|
+
}, AX = {
|
|
49624
49623
|
key: 1,
|
|
49625
49624
|
class: "fine-print"
|
|
49626
|
-
},
|
|
49625
|
+
}, jX = {
|
|
49627
49626
|
key: 2,
|
|
49628
49627
|
class: "fine-print"
|
|
49629
|
-
},
|
|
49628
|
+
}, MX = { class: "dialog-actions" }, NX = { key: 4 }, PX = { class: "theme-choices" }, FX = ["aria-pressed", "onClick"], IX = { class: "theme-check" }, LX = { class: "channel-reading-setting" }, RX = {
|
|
49630
49629
|
class: "channel-reading-options",
|
|
49631
49630
|
role: "group",
|
|
49632
49631
|
"aria-labelledby": "channel-reading-label"
|
|
49633
|
-
},
|
|
49632
|
+
}, zX = { class: "channel-reading-setting" }, BX = {
|
|
49634
49633
|
class: "channel-reading-options channel-effect-options",
|
|
49635
49634
|
role: "group",
|
|
49636
49635
|
"aria-labelledby": "channel-effects-label"
|
|
49637
|
-
},
|
|
49636
|
+
}, VX = { class: "form-two-columns" }, HX = { class: "advanced-content" }, UX = {
|
|
49638
49637
|
key: 0,
|
|
49639
49638
|
class: "fine-print"
|
|
49640
|
-
},
|
|
49639
|
+
}, WX = { class: "advanced-content" }, GX = { class: "expert-fields" }, KX = { class: "dialog-actions" }, qX = { class: "dialog-actions" }, JX = {
|
|
49641
49640
|
key: 8,
|
|
49642
49641
|
class: "original-message"
|
|
49643
|
-
},
|
|
49642
|
+
}, YX = {
|
|
49644
49643
|
key: 0,
|
|
49645
49644
|
role: "alert"
|
|
49646
|
-
},
|
|
49645
|
+
}, XX = { class: "original-meta" }, ZX = { class: "fine-print" }, QX = {
|
|
49647
49646
|
key: 0,
|
|
49648
49647
|
class: "channel-answer-summary"
|
|
49649
|
-
},
|
|
49648
|
+
}, $X = { class: "message-prose" }, eZ = { class: "message-prose" }, tZ = ["innerHTML"], nZ = {
|
|
49650
49649
|
key: 2,
|
|
49651
49650
|
class: "fine-print"
|
|
49652
|
-
},
|
|
49651
|
+
}, rZ = "topic-expert-modes", iZ = {
|
|
49653
49652
|
__name: "WorkspaceDialogs",
|
|
49654
49653
|
props: /*@__PURE__*/ Fa({
|
|
49655
49654
|
detailId: {
|
|
@@ -49927,8 +49926,8 @@ var hU = /*#__PURE__*/ XH({
|
|
|
49927
49926
|
} : void 0,
|
|
49928
49927
|
"onAfter:leave": be
|
|
49929
49928
|
}, {
|
|
49930
|
-
body: L(() => [a.value === "archives" ? (U(), W("section",
|
|
49931
|
-
K("div",
|
|
49929
|
+
body: L(() => [a.value === "archives" ? (U(), W("section", dX, [
|
|
49930
|
+
K("div", fX, [
|
|
49932
49931
|
q(x, {
|
|
49933
49932
|
modelValue: h.value,
|
|
49934
49933
|
"onUpdate:modelValue": c[0] ||= (e) => h.value = e,
|
|
@@ -49957,7 +49956,7 @@ var hU = /*#__PURE__*/ XH({
|
|
|
49957
49956
|
}
|
|
49958
49957
|
}, null, 8, ["label", "disabled"])
|
|
49959
49958
|
]),
|
|
49960
|
-
b.value && v.value.length ? (U(), W("div",
|
|
49959
|
+
b.value && v.value.length ? (U(), W("div", pX, [
|
|
49961
49960
|
K("span", null, "将永久删除当前列表中的 " + P(v.value.length) + " 个房间及其全部记录,无法撤销。", 1),
|
|
49962
49961
|
q(le, {
|
|
49963
49962
|
label: "取消",
|
|
@@ -49973,20 +49972,20 @@ var hU = /*#__PURE__*/ XH({
|
|
|
49973
49972
|
onClick: D
|
|
49974
49973
|
})
|
|
49975
49974
|
])) : Y("", !0),
|
|
49976
|
-
I(o).directory_error ? (U(), W("p",
|
|
49977
|
-
K("div",
|
|
49975
|
+
I(o).directory_error ? (U(), W("p", mX, P(I(o).directory_error), 1)) : Y("", !0),
|
|
49976
|
+
K("div", hX, [v.value.length ? (U(), W("ul", gX, [(U(!0), W(H, null, B(v.value, (e) => (U(), W("li", {
|
|
49978
49977
|
key: e.id,
|
|
49979
49978
|
class: "channel-archive-item"
|
|
49980
|
-
}, [K("div",
|
|
49979
|
+
}, [K("div", _X, [K("div", vX, [K("button", {
|
|
49981
49980
|
class: "channel-archive-title",
|
|
49982
49981
|
title: e.title,
|
|
49983
49982
|
disabled: !!I(u),
|
|
49984
49983
|
onClick: (t) => T(e)
|
|
49985
|
-
}, P(e.title), 9,
|
|
49984
|
+
}, P(e.title), 9, yX), K("small", null, [e.created_at ? (U(), W("span", bX, [
|
|
49986
49985
|
c[26] ||= J("创建于 ", -1),
|
|
49987
|
-
K("time", { datetime: e.created_at }, P(C(e.created_at)), 9,
|
|
49986
|
+
K("time", { datetime: e.created_at }, P(C(e.created_at)), 9, xX),
|
|
49988
49987
|
c[27] ||= J(" · ", -1)
|
|
49989
|
-
])) : Y("", !0), J(P(e.message_count) + " 条消息", 1)])]), K("div",
|
|
49988
|
+
])) : Y("", !0), J(P(e.message_count) + " 条消息", 1)])]), K("div", SX, [q(le, {
|
|
49990
49989
|
"aria-label": `彻底删除 ${e.title}`,
|
|
49991
49990
|
title: "彻底删除",
|
|
49992
49991
|
icon: "i-lucide-trash-2",
|
|
@@ -50018,7 +50017,7 @@ var hU = /*#__PURE__*/ XH({
|
|
|
50018
50017
|
"aria-label",
|
|
50019
50018
|
"disabled",
|
|
50020
50019
|
"onClick"
|
|
50021
|
-
])])]), y.value === e.id ? (U(), W("div",
|
|
50020
|
+
])])]), y.value === e.id ? (U(), W("div", CX, [
|
|
50022
50021
|
K("span", null, "永久删除「" + P(e.title) + "」及其全部记录,无法撤销。", 1),
|
|
50023
50022
|
q(le, {
|
|
50024
50023
|
label: "取消",
|
|
@@ -50034,12 +50033,12 @@ var hU = /*#__PURE__*/ XH({
|
|
|
50034
50033
|
disabled: w(e),
|
|
50035
50034
|
onClick: E
|
|
50036
50035
|
}, null, 8, ["disabled"])
|
|
50037
|
-
])) : Y("", !0)]))), 128))])) : (U(), W("p",
|
|
50036
|
+
])) : Y("", !0)]))), 128))])) : (U(), W("p", wX, P(m.value.length ? "没有匹配的存档房间" : "暂无已存档房间"), 1))])
|
|
50038
50037
|
])) : a.value === "delete-folder" ? (U(), W("form", {
|
|
50039
50038
|
key: 1,
|
|
50040
50039
|
class: "dialog-form",
|
|
50041
50040
|
onSubmit: uu(re, ["prevent"])
|
|
50042
|
-
}, [K("p",
|
|
50041
|
+
}, [K("p", TX, "移除「" + P(e.targetFolder?.name) + "」后,房间不再归属文件夹,所有消息和存档状态都会保留。", 1), K("div", EX, [q(le, {
|
|
50043
50042
|
label: "取消",
|
|
50044
50043
|
color: "neutral",
|
|
50045
50044
|
variant: "ghost",
|
|
@@ -50070,7 +50069,7 @@ var hU = /*#__PURE__*/ XH({
|
|
|
50070
50069
|
"modelValue",
|
|
50071
50070
|
"aria-label",
|
|
50072
50071
|
"readonly"
|
|
50073
|
-
]), K("div",
|
|
50072
|
+
]), K("div", DX, [q(le, {
|
|
50074
50073
|
label: "取消",
|
|
50075
50074
|
color: "neutral",
|
|
50076
50075
|
variant: "ghost",
|
|
@@ -50095,10 +50094,10 @@ var hU = /*#__PURE__*/ XH({
|
|
|
50095
50094
|
class: "dialog-form",
|
|
50096
50095
|
onSubmit: uu(te, ["prevent"])
|
|
50097
50096
|
}, [
|
|
50098
|
-
K("p",
|
|
50099
|
-
a.value === "archive" ? (U(), W("p",
|
|
50100
|
-
a.value === "restore" ? (U(), W("p",
|
|
50101
|
-
a.value === "delete" ? (U(), W("p",
|
|
50097
|
+
K("p", OX, [J(P(e.targetRoom?.title) + " ", 1), K("span", null, "· " + P(e.targetRoom?.message_count) + " 条消息", 1)]),
|
|
50098
|
+
a.value === "archive" ? (U(), W("p", kX, "存档后可在侧栏「已存档」中查阅与恢复。已有发言安排会保留;专家需在下次检查时停止自己的定时任务。")) : Y("", !0),
|
|
50099
|
+
a.value === "restore" ? (U(), W("p", AX, "恢复不会自动继续讨论;需要继续时,在主持设置中调整阶段。")) : Y("", !0),
|
|
50100
|
+
a.value === "delete" ? (U(), W("p", jX, "消息、共识和发言安排将一起删除,无法撤销。")) : Y("", !0),
|
|
50102
50101
|
a.value === "rename" ? (U(), G(ue, {
|
|
50103
50102
|
key: 3,
|
|
50104
50103
|
label: "房间名称",
|
|
@@ -50115,7 +50114,7 @@ var hU = /*#__PURE__*/ XH({
|
|
|
50115
50114
|
}, null, 8, ["modelValue"])]),
|
|
50116
50115
|
_: 1
|
|
50117
50116
|
})) : Y("", !0),
|
|
50118
|
-
K("div",
|
|
50117
|
+
K("div", MX, [q(le, {
|
|
50119
50118
|
label: "取消",
|
|
50120
50119
|
color: "neutral",
|
|
50121
50120
|
variant: "ghost",
|
|
@@ -50132,10 +50131,10 @@ var hU = /*#__PURE__*/ XH({
|
|
|
50132
50131
|
"loading",
|
|
50133
50132
|
"disabled"
|
|
50134
50133
|
])])
|
|
50135
|
-
], 32)) : a.value === "settings" ? (U(), W("div",
|
|
50136
|
-
q(
|
|
50134
|
+
], 32)) : a.value === "settings" ? (U(), W("div", NX, [
|
|
50135
|
+
q(uX),
|
|
50137
50136
|
c[32] ||= K("h3", { class: "account-appearance-heading" }, "外观", -1),
|
|
50138
|
-
K("div",
|
|
50137
|
+
K("div", PX, [(U(), W(H, null, B(he, (e) => K("button", {
|
|
50139
50138
|
key: e.value,
|
|
50140
50139
|
class: M({ chosen: I(o).theme === e.value }),
|
|
50141
50140
|
"aria-pressed": I(o).theme === e.value,
|
|
@@ -50150,12 +50149,12 @@ var hU = /*#__PURE__*/ XH({
|
|
|
50150
50149
|
K("b")
|
|
50151
50150
|
], -1)]], 2),
|
|
50152
50151
|
K("span", null, [K("strong", null, P(e.title), 1), K("small", null, P(e.description), 1)]),
|
|
50153
|
-
K("span",
|
|
50152
|
+
K("span", IX, [I(o).theme === e.value ? (U(), G(ve, {
|
|
50154
50153
|
key: 0,
|
|
50155
50154
|
name: "i-lucide-check"
|
|
50156
50155
|
})) : Y("", !0)])
|
|
50157
|
-
], 10,
|
|
50158
|
-
K("section",
|
|
50156
|
+
], 10, FX)), 64))]),
|
|
50157
|
+
K("section", LX, [c[29] ||= K("h3", { id: "channel-reading-label" }, "对话宽度", -1), K("div", RX, [(U(!0), W(H, null, B(e.readingOptions, (e) => (U(), G(le, {
|
|
50159
50158
|
key: e.value,
|
|
50160
50159
|
label: e.label,
|
|
50161
50160
|
color: "neutral",
|
|
@@ -50169,9 +50168,9 @@ var hU = /*#__PURE__*/ XH({
|
|
|
50169
50168
|
"aria-pressed",
|
|
50170
50169
|
"onClick"
|
|
50171
50170
|
]))), 128))])]),
|
|
50172
|
-
K("section",
|
|
50171
|
+
K("section", zX, [
|
|
50173
50172
|
c[30] ||= K("h3", { id: "channel-effects-label" }, "视觉效果", -1),
|
|
50174
|
-
K("div",
|
|
50173
|
+
K("div", BX, [(U(!0), W(H, null, B(e.effectOptions, (e) => (U(), G(le, {
|
|
50175
50174
|
key: e.value,
|
|
50176
50175
|
label: e.label,
|
|
50177
50176
|
color: "neutral",
|
|
@@ -50187,7 +50186,7 @@ var hU = /*#__PURE__*/ XH({
|
|
|
50187
50186
|
]))), 128))]),
|
|
50188
50187
|
c[31] ||= K("p", { class: "fine-print" }, "精简模式关闭毛玻璃模糊与多层阴影,适合配置较低或需要更流畅滚动的设备。", -1)
|
|
50189
50188
|
])
|
|
50190
|
-
])) : a.value === "create" ? (U(), G(
|
|
50189
|
+
])) : a.value === "create" ? (U(), G(KY, {
|
|
50191
50190
|
key: 5,
|
|
50192
50191
|
"target-folder": e.targetFolder,
|
|
50193
50192
|
onSubmit: N,
|
|
@@ -50222,7 +50221,7 @@ var hU = /*#__PURE__*/ XH({
|
|
|
50222
50221
|
}, null, 8, ["model-value"])]),
|
|
50223
50222
|
_: 1
|
|
50224
50223
|
}),
|
|
50225
|
-
K("div",
|
|
50224
|
+
K("div", VX, [q(ue, { label: "主持人" }, {
|
|
50226
50225
|
default: L(() => [q(S, {
|
|
50227
50226
|
"model-value": I(o).fields[ge("host")],
|
|
50228
50227
|
items: I(A),
|
|
@@ -50256,7 +50255,7 @@ var hU = /*#__PURE__*/ XH({
|
|
|
50256
50255
|
}, null, 8, ["model-value"])]),
|
|
50257
50256
|
_: 1
|
|
50258
50257
|
})) : Y("", !0),
|
|
50259
|
-
K("section",
|
|
50258
|
+
K("section", HX, [
|
|
50260
50259
|
c[33] ||= K("h3", null, "讨论上限", -1),
|
|
50261
50260
|
q(bU, {
|
|
50262
50261
|
ref_key: "topic_limits",
|
|
@@ -50276,14 +50275,14 @@ var hU = /*#__PURE__*/ XH({
|
|
|
50276
50275
|
"execution",
|
|
50277
50276
|
"disabled"
|
|
50278
50277
|
]),
|
|
50279
|
-
ce.value ? (U(), W("p",
|
|
50278
|
+
ce.value ? (U(), W("p", UX, "修改上限前,请先把阶段保存为“已暂停”。")) : Y("", !0)
|
|
50280
50279
|
]),
|
|
50281
50280
|
q(we, {
|
|
50282
50281
|
open: oe.value,
|
|
50283
50282
|
"onUpdate:open": c[20] ||= (e) => oe.value = e,
|
|
50284
50283
|
class: "advanced-fields"
|
|
50285
50284
|
}, {
|
|
50286
|
-
content: L(() => [K("div",
|
|
50285
|
+
content: L(() => [K("div", WX, [
|
|
50287
50286
|
(U(), W(H, null, B([
|
|
50288
50287
|
{
|
|
50289
50288
|
key: "user_request",
|
|
@@ -50310,11 +50309,11 @@ var hU = /*#__PURE__*/ XH({
|
|
|
50310
50309
|
}, null, 8, ["model-value", "onUpdate:modelValue"])]),
|
|
50311
50310
|
_: 2
|
|
50312
50311
|
}, 1032, ["label"])), 64)),
|
|
50313
|
-
K("div",
|
|
50314
|
-
"model-value": I(o).experts[
|
|
50312
|
+
K("div", GX, [(U(!0), W(H, null, B(I(ie), (e) => (U(), W("div", { key: e }, [K("label", null, P(e), 1), q(S, {
|
|
50313
|
+
"model-value": I(o).experts[rZ]?.[e] || "none",
|
|
50315
50314
|
items: ae,
|
|
50316
50315
|
"aria-label": `${e} 参与方式`,
|
|
50317
|
-
"onUpdate:modelValue": (t) => I(s).write_expert(
|
|
50316
|
+
"onUpdate:modelValue": (t) => I(s).write_expert(rZ, e, t === "none" ? "" : t)
|
|
50318
50317
|
}, null, 8, [
|
|
50319
50318
|
"model-value",
|
|
50320
50319
|
"aria-label",
|
|
@@ -50332,7 +50331,7 @@ var hU = /*#__PURE__*/ XH({
|
|
|
50332
50331
|
}, null, 8, ["trailing-icon"])]),
|
|
50333
50332
|
_: 1
|
|
50334
50333
|
}, 8, ["open"]),
|
|
50335
|
-
K("div",
|
|
50334
|
+
K("div", KX, [q(le, {
|
|
50336
50335
|
label: "取消",
|
|
50337
50336
|
color: "neutral",
|
|
50338
50337
|
variant: "ghost",
|
|
@@ -50376,7 +50375,7 @@ var hU = /*#__PURE__*/ XH({
|
|
|
50376
50375
|
_: 1
|
|
50377
50376
|
}),
|
|
50378
50377
|
c[35] ||= K("p", { class: "fine-print" }, "创建后为待通知状态;由主持人实际联系专家。", -1),
|
|
50379
|
-
K("div",
|
|
50378
|
+
K("div", qX, [q(le, {
|
|
50380
50379
|
label: "取消",
|
|
50381
50380
|
variant: "ghost",
|
|
50382
50381
|
color: "neutral",
|
|
@@ -50387,8 +50386,8 @@ var hU = /*#__PURE__*/ XH({
|
|
|
50387
50386
|
label: "创建发言安排",
|
|
50388
50387
|
loading: I(u) === "schedule"
|
|
50389
50388
|
}, null, 8, ["loading"])])
|
|
50390
|
-
], 32)) : a.value === "message" ? (U(), W("div",
|
|
50391
|
-
K("div",
|
|
50389
|
+
], 32)) : a.value === "message" ? (U(), W("div", JX, [fe.value ? (U(), W("p", YX, P(fe.value), 1)) : de.value ? (U(), W(H, { key: 1 }, [
|
|
50390
|
+
K("div", XX, [
|
|
50392
50391
|
K("strong", null, P(I(s).display_name(de.value.author)), 1),
|
|
50393
50392
|
K("span", null, "#" + P(de.value.id), 1),
|
|
50394
50393
|
q(Te, {
|
|
@@ -50399,14 +50398,14 @@ var hU = /*#__PURE__*/ XH({
|
|
|
50399
50398
|
_: 1
|
|
50400
50399
|
})
|
|
50401
50400
|
]),
|
|
50402
|
-
K("p",
|
|
50403
|
-
de.value.summary ? (U(), W("section",
|
|
50404
|
-
K("p",
|
|
50401
|
+
K("p", ZX, P(I(s).provenance(de.value)) + " · " + P(new Date(de.value.created_at).toLocaleString("zh-CN")), 1),
|
|
50402
|
+
de.value.summary ? (U(), W("section", QX, [K("small", null, "回答摘要 · " + P(I(s).display_name(de.value.summary_by)), 1), K("p", $X, P(de.value.summary), 1)])) : Y("", !0),
|
|
50403
|
+
K("p", eZ, P(de.value.text), 1),
|
|
50405
50404
|
de.value.attachments?.length ? (U(), W("div", {
|
|
50406
50405
|
key: 1,
|
|
50407
50406
|
onClick: ye,
|
|
50408
50407
|
innerHTML: I(s).attachment_markup(de.value.attachments)
|
|
50409
|
-
}, null, 8,
|
|
50408
|
+
}, null, 8, tZ)) : Y("", !0),
|
|
50410
50409
|
de.value.reply_to ? (U(), G(le, {
|
|
50411
50410
|
key: 2,
|
|
50412
50411
|
label: `查看被回复的原文 #${de.value.reply_to}`,
|
|
@@ -50416,7 +50415,7 @@ var hU = /*#__PURE__*/ XH({
|
|
|
50416
50415
|
class: "channel-surface-button",
|
|
50417
50416
|
onClick: xe
|
|
50418
50417
|
}, null, 8, ["label"])) : Y("", !0)
|
|
50419
|
-
], 64)) : (U(), W("p",
|
|
50418
|
+
], 64)) : (U(), W("p", nZ, "正在读取原文…"))])) : Y("", !0)]),
|
|
50420
50419
|
_: 1
|
|
50421
50420
|
}, 8, [
|
|
50422
50421
|
"open",
|
|
@@ -50427,7 +50426,7 @@ var hU = /*#__PURE__*/ XH({
|
|
|
50427
50426
|
]);
|
|
50428
50427
|
};
|
|
50429
50428
|
}
|
|
50430
|
-
},
|
|
50429
|
+
}, aZ = {
|
|
50431
50430
|
__name: "ContextMenuContent",
|
|
50432
50431
|
props: {
|
|
50433
50432
|
items: {
|
|
@@ -50722,7 +50721,7 @@ var hU = /*#__PURE__*/ XH({
|
|
|
50722
50721
|
"disabled",
|
|
50723
50722
|
"text-value",
|
|
50724
50723
|
"class"
|
|
50725
|
-
]), q(
|
|
50724
|
+
]), q(aZ, X({
|
|
50726
50725
|
sub: "",
|
|
50727
50726
|
class: r.ui?.content,
|
|
50728
50727
|
ui: e.ui,
|
|
@@ -50833,7 +50832,7 @@ var hU = /*#__PURE__*/ XH({
|
|
|
50833
50832
|
_: 3
|
|
50834
50833
|
}, 16)], 64));
|
|
50835
50834
|
}
|
|
50836
|
-
},
|
|
50835
|
+
}, oZ = {
|
|
50837
50836
|
slots: {
|
|
50838
50837
|
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",
|
|
50839
50838
|
viewport: "relative divide-y divide-default scroll-py-1 overflow-y-auto flex-1",
|
|
@@ -51021,7 +51020,7 @@ var hU = /*#__PURE__*/ XH({
|
|
|
51021
51020
|
}
|
|
51022
51021
|
],
|
|
51023
51022
|
defaultVariants: { size: "md" }
|
|
51024
|
-
},
|
|
51023
|
+
}, sZ = {
|
|
51025
51024
|
__name: "ContextMenu",
|
|
51026
51025
|
props: {
|
|
51027
51026
|
size: {
|
|
@@ -51091,7 +51090,7 @@ var hU = /*#__PURE__*/ XH({
|
|
|
51091
51090
|
emits: ["update:open"],
|
|
51092
51091
|
setup(e, { emit: t }) {
|
|
51093
51092
|
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({
|
|
51094
|
-
extend:
|
|
51093
|
+
extend: oZ,
|
|
51095
51094
|
...o.ui?.contextMenu || {}
|
|
51096
51095
|
})({ size: a.size }));
|
|
51097
51096
|
return (e, t) => (U(), G(I(iC), N(Ss(I(s))), {
|
|
@@ -51103,7 +51102,7 @@ var hU = /*#__PURE__*/ XH({
|
|
|
51103
51102
|
}, {
|
|
51104
51103
|
default: L(() => [V(e.$slots, "default")]),
|
|
51105
51104
|
_: 3
|
|
51106
|
-
}, 8, ["disabled", "class"])) : Y("", !0), q(
|
|
51105
|
+
}, 8, ["disabled", "class"])) : Y("", !0), q(aZ, X({
|
|
51107
51106
|
class: u.value.content({ class: [!i.default && I(a).class, I(a).ui?.content] }),
|
|
51108
51107
|
ui: u.value,
|
|
51109
51108
|
"ui-override": I(a).ui
|
|
@@ -51133,47 +51132,47 @@ var hU = /*#__PURE__*/ XH({
|
|
|
51133
51132
|
_: 3
|
|
51134
51133
|
}, 16));
|
|
51135
51134
|
}
|
|
51136
|
-
},
|
|
51135
|
+
}, cZ = { class: "channel-directory-manager" }, lZ = { class: "channel-directory-heading" }, uZ = ["aria-expanded"], dZ = { class: "channel-directory-actions" }, fZ = {
|
|
51137
51136
|
"aria-label": "协作房间列表",
|
|
51138
51137
|
class: "channel-room-list",
|
|
51139
51138
|
"data-room-directory": ""
|
|
51140
|
-
},
|
|
51139
|
+
}, pZ = ["data-room-folder", "data-drag-folder"], mZ = [
|
|
51141
51140
|
"disabled",
|
|
51142
51141
|
"aria-label",
|
|
51143
51142
|
"aria-expanded",
|
|
51144
51143
|
"onKeydown",
|
|
51145
51144
|
"onClick"
|
|
51146
|
-
],
|
|
51145
|
+
], hZ = { class: "channel-folder-name" }, gZ = { class: "channel-folder-actions" }, _Z = {
|
|
51147
51146
|
class: "channel-directory-count",
|
|
51148
51147
|
"aria-hidden": "true"
|
|
51149
|
-
},
|
|
51148
|
+
}, vZ = ["data-drop-folder"], yZ = {
|
|
51150
51149
|
key: 0,
|
|
51151
51150
|
class: "channel-directory-empty",
|
|
51152
51151
|
role: "status"
|
|
51153
|
-
},
|
|
51152
|
+
}, bZ = ["data-drag-room"], xZ = [
|
|
51154
51153
|
"aria-label",
|
|
51155
51154
|
"disabled",
|
|
51156
51155
|
"onKeydown"
|
|
51157
|
-
],
|
|
51156
|
+
], SZ = [
|
|
51158
51157
|
"title",
|
|
51159
51158
|
"aria-label",
|
|
51160
51159
|
"aria-current",
|
|
51161
51160
|
"onClick"
|
|
51162
|
-
],
|
|
51161
|
+
], CZ = { class: "channel-room-actions" }, wZ = {
|
|
51163
51162
|
key: 0,
|
|
51164
51163
|
class: "channel-directory-empty"
|
|
51165
|
-
},
|
|
51164
|
+
}, TZ = {
|
|
51166
51165
|
key: 0,
|
|
51167
51166
|
class: "channel-archive-count"
|
|
51168
|
-
},
|
|
51167
|
+
}, EZ = {
|
|
51169
51168
|
key: 0,
|
|
51170
51169
|
role: "status",
|
|
51171
51170
|
class: "channel-directory-notice"
|
|
51172
|
-
},
|
|
51171
|
+
}, DZ = {
|
|
51173
51172
|
key: 1,
|
|
51174
51173
|
role: "alert",
|
|
51175
51174
|
class: "channel-directory-error"
|
|
51176
|
-
},
|
|
51175
|
+
}, OZ = {
|
|
51177
51176
|
__name: "ChannelDirectory",
|
|
51178
51177
|
emits: [
|
|
51179
51178
|
"select",
|
|
@@ -51387,8 +51386,8 @@ var hU = /*#__PURE__*/ XH({
|
|
|
51387
51386
|
];
|
|
51388
51387
|
}
|
|
51389
51388
|
return (e, t) => {
|
|
51390
|
-
let u = MA, _ = sA, v = CH, x = $V, S =
|
|
51391
|
-
return U(), W("div",
|
|
51389
|
+
let u = MA, _ = sA, v = CH, x = $V, S = sZ;
|
|
51390
|
+
return U(), W("div", cZ, [
|
|
51392
51391
|
q(u, {
|
|
51393
51392
|
label: "新建对话",
|
|
51394
51393
|
icon: "i-lucide-plus",
|
|
@@ -51397,12 +51396,12 @@ var hU = /*#__PURE__*/ XH({
|
|
|
51397
51396
|
disabled: I(r).directory_pending.includes("create-room"),
|
|
51398
51397
|
onClick: t[0] ||= (e) => n("create", null)
|
|
51399
51398
|
}, null, 8, ["disabled"]),
|
|
51400
|
-
K("div",
|
|
51399
|
+
K("div", lZ, [K("button", {
|
|
51401
51400
|
type: "button",
|
|
51402
51401
|
class: "channel-section-toggle",
|
|
51403
51402
|
"aria-expanded": m.value,
|
|
51404
51403
|
onClick: t[1] ||= (e) => m.value = !m.value
|
|
51405
|
-
}, [q(_, { name: m.value ? "i-lucide-chevron-down" : "i-lucide-chevron-right" }, null, 8, ["name"]), t[7] ||= J("协作房间", -1)], 8,
|
|
51404
|
+
}, [q(_, { name: m.value ? "i-lucide-chevron-down" : "i-lucide-chevron-right" }, null, 8, ["name"]), t[7] ||= J("协作房间", -1)], 8, uZ), K("div", dZ, [
|
|
51406
51405
|
q(v, {
|
|
51407
51406
|
items: d.value,
|
|
51408
51407
|
content: {
|
|
@@ -51444,7 +51443,7 @@ var hU = /*#__PURE__*/ XH({
|
|
|
51444
51443
|
onChange: p
|
|
51445
51444
|
}, null, 544)
|
|
51446
51445
|
])]),
|
|
51447
|
-
vr(K("nav",
|
|
51446
|
+
vr(K("nav", fZ, [(U(!0), W(H, null, B(l.value, (e, s) => (U(), W("section", {
|
|
51448
51447
|
key: e.order_id,
|
|
51449
51448
|
class: "channel-folder-section",
|
|
51450
51449
|
"data-room-folder": e.id,
|
|
@@ -51474,9 +51473,9 @@ var hU = /*#__PURE__*/ XH({
|
|
|
51474
51473
|
}, [
|
|
51475
51474
|
q(_, { name: h.value.has(e.id) ? "i-lucide-chevron-right" : "i-lucide-chevron-down" }, null, 8, ["name"]),
|
|
51476
51475
|
q(_, { name: "i-lucide-folder" }),
|
|
51477
|
-
K("span",
|
|
51478
|
-
], 40,
|
|
51479
|
-
K("div",
|
|
51476
|
+
K("span", hZ, P(e.name), 1)
|
|
51477
|
+
], 40, mZ),
|
|
51478
|
+
K("div", gZ, [q(v, {
|
|
51480
51479
|
items: g(e, s),
|
|
51481
51480
|
content: {
|
|
51482
51481
|
align: "start",
|
|
@@ -51510,12 +51509,12 @@ var hU = /*#__PURE__*/ XH({
|
|
|
51510
51509
|
])]),
|
|
51511
51510
|
_: 2
|
|
51512
51511
|
}, 1032, ["text"])]),
|
|
51513
|
-
K("small",
|
|
51512
|
+
K("small", _Z, P(e.pending ? "保存中" : e.rooms.length), 1)
|
|
51514
51513
|
], 2)) : Y("", !0), !e.id || !h.value.has(e.id) ? (U(), W("div", {
|
|
51515
51514
|
key: 1,
|
|
51516
51515
|
class: M(e.id ? "channel-folder-rooms" : "channel-root-rooms"),
|
|
51517
51516
|
"data-drop-folder": e.id ? void 0 : ""
|
|
51518
|
-
}, [I(r).creating_room && (I(r).creating_room.folder_id || "") === e.id ? (U(), W("p",
|
|
51517
|
+
}, [I(r).creating_room && (I(r).creating_room.folder_id || "") === e.id ? (U(), W("p", yZ, "正在创建:" + P(I(r).creating_room.title), 1)) : Y("", !0), (U(!0), W(H, null, B(e.rooms, (s, c) => (U(), G(S, {
|
|
51519
51518
|
key: s.id,
|
|
51520
51519
|
items: b(s, c, s.folder_id || null, e.rooms.length),
|
|
51521
51520
|
ui: { content: "channel-menu channel-topic-menu" }
|
|
@@ -51540,7 +51539,7 @@ var hU = /*#__PURE__*/ XH({
|
|
|
51540
51539
|
direction: 1,
|
|
51541
51540
|
folder_id: s.folder_id || null
|
|
51542
51541
|
}), ["prevent"]), ["down"])]
|
|
51543
|
-
}, [q(_, { name: "i-lucide-grip-vertical" })], 40,
|
|
51542
|
+
}, [q(_, { name: "i-lucide-grip-vertical" })], 40, xZ),
|
|
51544
51543
|
K("button", {
|
|
51545
51544
|
class: "channel-room-select",
|
|
51546
51545
|
"data-drag-title": "",
|
|
@@ -51549,8 +51548,8 @@ var hU = /*#__PURE__*/ XH({
|
|
|
51549
51548
|
"aria-current": s.id === I(r).room?.id ? "page" : void 0,
|
|
51550
51549
|
onPointerdown: t[5] ||= (e) => !I(o) && I(i).start_drag(e),
|
|
51551
51550
|
onClick: (e) => n("select", s.id)
|
|
51552
|
-
}, [K("span", null, P(s.title), 1)], 40,
|
|
51553
|
-
K("div",
|
|
51551
|
+
}, [K("span", null, P(s.title), 1)], 40, SZ),
|
|
51552
|
+
K("div", CZ, [q(x, {
|
|
51554
51553
|
text: s.archived ? "恢复房间" : "存档房间",
|
|
51555
51554
|
ui: { content: "channel-topic-tooltip" }
|
|
51556
51555
|
}, {
|
|
@@ -51591,9 +51590,9 @@ var hU = /*#__PURE__*/ XH({
|
|
|
51591
51590
|
}, null, 8, ["aria-label"])]),
|
|
51592
51591
|
_: 2
|
|
51593
51592
|
}, 1032, ["items"])])
|
|
51594
|
-
], 10,
|
|
51593
|
+
], 10, bZ)]),
|
|
51595
51594
|
_: 2
|
|
51596
|
-
}, 1032, ["items"]))), 128))], 10,
|
|
51595
|
+
}, 1032, ["items"]))), 128))], 10, vZ)) : Y("", !0)], 8, pZ))), 128)), s.value.length ? Y("", !0) : (U(), W("p", wZ, "暂无协作房间"))], 512), [[Vc, m.value]]),
|
|
51597
51596
|
vr(q(u, {
|
|
51598
51597
|
icon: "i-lucide-archive",
|
|
51599
51598
|
color: "neutral",
|
|
@@ -51602,48 +51601,48 @@ var hU = /*#__PURE__*/ XH({
|
|
|
51602
51601
|
"aria-haspopup": "dialog",
|
|
51603
51602
|
onClick: t[6] ||= (e) => n("archives")
|
|
51604
51603
|
}, {
|
|
51605
|
-
default: L(() => [t[8] ||= K("span", { class: "channel-archive-label" }, "已存档", -1), c.value ? (U(), W("small",
|
|
51604
|
+
default: L(() => [t[8] ||= K("span", { class: "channel-archive-label" }, "已存档", -1), c.value ? (U(), W("small", TZ, P(c.value), 1)) : Y("", !0)]),
|
|
51606
51605
|
_: 1
|
|
51607
51606
|
}, 512), [[Vc, m.value]]),
|
|
51608
|
-
I(r).directory_notice ? (U(), W("p",
|
|
51609
|
-
I(r).directory_error ? (U(), W("p",
|
|
51607
|
+
I(r).directory_notice ? (U(), W("p", EZ, P(I(r).directory_notice), 1)) : Y("", !0),
|
|
51608
|
+
I(r).directory_error ? (U(), W("p", DZ, P(I(r).directory_error), 1)) : Y("", !0)
|
|
51610
51609
|
]);
|
|
51611
51610
|
};
|
|
51612
51611
|
}
|
|
51613
|
-
},
|
|
51612
|
+
}, kZ = {
|
|
51614
51613
|
key: 0,
|
|
51615
51614
|
class: "pb-invite",
|
|
51616
51615
|
"aria-label": "启动手动成员"
|
|
51617
|
-
},
|
|
51616
|
+
}, AZ = { class: "pb-invite-lead" }, jZ = {
|
|
51618
51617
|
key: 0,
|
|
51619
51618
|
role: "alert",
|
|
51620
51619
|
class: "pb-free-note is-error"
|
|
51621
|
-
},
|
|
51620
|
+
}, MZ = { class: "pb-invite-launches" }, NZ = { class: "pb-invite-footer" }, PZ = {
|
|
51622
51621
|
class: "pb-invite-library",
|
|
51623
51622
|
role: "group",
|
|
51624
51623
|
"aria-label": "选择 AI(可多选)"
|
|
51625
|
-
},
|
|
51624
|
+
}, FZ = [
|
|
51626
51625
|
"aria-pressed",
|
|
51627
51626
|
"title",
|
|
51628
51627
|
"onClick"
|
|
51629
|
-
],
|
|
51628
|
+
], IZ = {
|
|
51630
51629
|
key: 0,
|
|
51631
51630
|
class: "pb-invite-cards"
|
|
51632
|
-
},
|
|
51631
|
+
}, LZ = {
|
|
51633
51632
|
key: 0,
|
|
51634
51633
|
class: "fine-print"
|
|
51635
|
-
},
|
|
51634
|
+
}, RZ = ["aria-hidden"], zZ = {
|
|
51636
51635
|
key: 2,
|
|
51637
51636
|
class: "pb-invite-empty"
|
|
51638
|
-
},
|
|
51637
|
+
}, BZ = {
|
|
51639
51638
|
key: 3,
|
|
51640
51639
|
role: "alert",
|
|
51641
51640
|
class: "fine-print"
|
|
51642
|
-
},
|
|
51641
|
+
}, VZ = {
|
|
51643
51642
|
key: 4,
|
|
51644
51643
|
role: "alert",
|
|
51645
51644
|
class: "pb-free-note is-error"
|
|
51646
|
-
},
|
|
51645
|
+
}, HZ = { class: "pb-invite-footer" }, UZ = 2e3, WZ = /*#__PURE__*/ XH({
|
|
51647
51646
|
__name: "InviteDialog",
|
|
51648
51647
|
props: /*@__PURE__*/ Fa({ description: {
|
|
51649
51648
|
type: String,
|
|
@@ -51661,7 +51660,7 @@ var hU = /*#__PURE__*/ XH({
|
|
|
51661
51660
|
async function u(e) {
|
|
51662
51661
|
clearTimeout(l), c.value = "", await i("copy_member_launch", e) && (c.value = e, l = setTimeout(() => {
|
|
51663
51662
|
c.value = "";
|
|
51664
|
-
},
|
|
51663
|
+
}, UZ));
|
|
51665
51664
|
}
|
|
51666
51665
|
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(() => {
|
|
51667
51666
|
let e = [...g.value];
|
|
@@ -51725,10 +51724,10 @@ var hU = /*#__PURE__*/ XH({
|
|
|
51725
51724
|
body: "dialog-body"
|
|
51726
51725
|
}
|
|
51727
51726
|
}, {
|
|
51728
|
-
body: L(() => [p.value.length && !d.value.length ? (U(), W("div",
|
|
51729
|
-
K("p",
|
|
51730
|
-
I(n).access?.error ? (U(), W("p",
|
|
51731
|
-
K("ul",
|
|
51727
|
+
body: L(() => [p.value.length && !d.value.length ? (U(), W("div", kZ, [
|
|
51728
|
+
K("p", AZ, P(p.value.length > 1 ? `${p.value.length} 位手动成员已加入` : "手动成员已加入") + ",把启动指令交给各自的 AI 会话,注册后才算到场。", 1),
|
|
51729
|
+
I(n).access?.error ? (U(), W("p", jZ, P(I(n).access.error), 1)) : Y("", !0),
|
|
51730
|
+
K("ul", MZ, [(U(!0), W(H, null, B(p.value, (e) => (U(), W("li", { key: e }, [
|
|
51732
51731
|
q(l, {
|
|
51733
51732
|
src: I(r).identities[I(r).platform_of(e)]?.icon,
|
|
51734
51733
|
text: I(r).identities[I(r).platform_of(e)]?.initials,
|
|
@@ -51763,7 +51762,7 @@ var hU = /*#__PURE__*/ XH({
|
|
|
51763
51762
|
])
|
|
51764
51763
|
]))), 128))]),
|
|
51765
51764
|
o[3] ||= K("p", { class: "fine-print" }, "指令含该成员的凭证,只交给对应的会话;关闭后仍可在参与者列表中复制。", -1),
|
|
51766
|
-
K("div",
|
|
51765
|
+
K("div", NZ, [q(f, {
|
|
51767
51766
|
label: "完成",
|
|
51768
51767
|
class: "channel-primary-button",
|
|
51769
51768
|
onClick: o[0] ||= (e) => t.value = !1
|
|
@@ -51774,7 +51773,7 @@ var hU = /*#__PURE__*/ XH({
|
|
|
51774
51773
|
"aria-label": "邀请专家",
|
|
51775
51774
|
onSubmit: uu(w, ["prevent"])
|
|
51776
51775
|
}, [
|
|
51777
|
-
K("div",
|
|
51776
|
+
K("div", PZ, [(U(!0), W(H, null, B(h.value, (e) => (U(), W("button", {
|
|
51778
51777
|
key: e,
|
|
51779
51778
|
type: "button",
|
|
51780
51779
|
"aria-pressed": d.value.some((t) => t.name === e),
|
|
@@ -51791,11 +51790,11 @@ var hU = /*#__PURE__*/ XH({
|
|
|
51791
51790
|
"text",
|
|
51792
51791
|
"alt",
|
|
51793
51792
|
"class"
|
|
51794
|
-
]), J(P(e), 1)], 8,
|
|
51795
|
-
d.value.length ? (U(), W("div",
|
|
51793
|
+
]), J(P(e), 1)], 8, FZ))), 128))]),
|
|
51794
|
+
d.value.length ? (U(), W("div", IZ, [(U(!0), W(H, null, B(d.value, (e) => (U(), W("div", {
|
|
51796
51795
|
key: e.id,
|
|
51797
51796
|
class: "pb-invite-pick"
|
|
51798
|
-
}, [q(
|
|
51797
|
+
}, [q(sY, {
|
|
51799
51798
|
name: e.name,
|
|
51800
51799
|
mode: e.mode,
|
|
51801
51800
|
choices: ["cli", "manual"],
|
|
@@ -51812,15 +51811,15 @@ var hU = /*#__PURE__*/ XH({
|
|
|
51812
51811
|
"onMode",
|
|
51813
51812
|
"onSession",
|
|
51814
51813
|
"onRemove"
|
|
51815
|
-
]), y.value.get(e) === e.name ? Y("", !0) : (U(), W("p",
|
|
51814
|
+
]), y.value.get(e) === e.name ? Y("", !0) : (U(), W("p", LZ, "同一 AI 已有实例,将以 " + P(y.value.get(e)) + " 加入,使用独立会话。", 1))]))), 128))])) : Y("", !0),
|
|
51816
51815
|
d.value.length ? (U(), W("p", {
|
|
51817
51816
|
key: 1,
|
|
51818
51817
|
class: M(["fine-print", { "pb-invite-reserved": !(d.value.some((e) => e.mode === "manual") && d.value.some((e) => e.mode !== "manual")) }]),
|
|
51819
51818
|
"aria-hidden": !(d.value.some((e) => e.mode === "manual") && d.value.some((e) => e.mode !== "manual"))
|
|
51820
|
-
}, "手动启动的成员排在程序启动的成员之后加入队列。", 10,
|
|
51821
|
-
d.value.some((e) => e.mode === "cli") && !I(n).launch.available ? (U(), W("p",
|
|
51822
|
-
m.value && I(n).free_error ? (U(), W("p",
|
|
51823
|
-
K("div",
|
|
51819
|
+
}, "手动启动的成员排在程序启动的成员之后加入队列。", 10, RZ)) : (U(), W("p", zZ, "选择一位或多位 AI(同一 AI 可重复添加),点卡片翻面设置软件、模型与项目权限。")),
|
|
51820
|
+
d.value.some((e) => e.mode === "cli") && !I(n).launch.available ? (U(), W("p", BZ, "邀请需要本机服务,请在运行 AI 的电脑打开本机网站。")) : Y("", !0),
|
|
51821
|
+
m.value && I(n).free_error ? (U(), W("p", VZ, P(I(n).free_error), 1)) : Y("", !0),
|
|
51822
|
+
K("div", HZ, [q(f, {
|
|
51824
51823
|
label: "取消",
|
|
51825
51824
|
color: "neutral",
|
|
51826
51825
|
variant: "ghost",
|
|
@@ -51842,40 +51841,40 @@ var hU = /*#__PURE__*/ XH({
|
|
|
51842
51841
|
}, 8, ["open", "description"]);
|
|
51843
51842
|
};
|
|
51844
51843
|
}
|
|
51845
|
-
}, [["__scopeId", "data-v-
|
|
51844
|
+
}, [["__scopeId", "data-v-d697d015"]]), GZ = { class: "speaking-order" }, KZ = {
|
|
51846
51845
|
key: 0,
|
|
51847
51846
|
class: "speaking-order-divider",
|
|
51848
51847
|
"aria-hidden": "true"
|
|
51849
|
-
},
|
|
51848
|
+
}, qZ = ["data-key", "data-movable"], JZ = [
|
|
51850
51849
|
"aria-disabled",
|
|
51851
51850
|
"aria-label",
|
|
51852
51851
|
"title",
|
|
51853
51852
|
"onPointerdown",
|
|
51854
51853
|
"onKeydown"
|
|
51855
|
-
],
|
|
51854
|
+
], YZ = { class: "speaking-order-number" }, XZ = {
|
|
51856
51855
|
key: 1,
|
|
51857
51856
|
class: "speaking-order-place",
|
|
51858
51857
|
title: "已发言",
|
|
51859
51858
|
"aria-label": "已发言"
|
|
51860
|
-
},
|
|
51859
|
+
}, ZZ = ["title"], QZ = {
|
|
51861
51860
|
key: 0,
|
|
51862
51861
|
class: "speaking-order-later"
|
|
51863
|
-
},
|
|
51862
|
+
}, $Z = {
|
|
51864
51863
|
key: 1,
|
|
51865
51864
|
class: "speaking-order-divider",
|
|
51866
51865
|
"aria-hidden": "true"
|
|
51867
|
-
},
|
|
51866
|
+
}, eQ = {
|
|
51868
51867
|
key: 0,
|
|
51869
51868
|
role: "status",
|
|
51870
51869
|
class: "pb-free-note"
|
|
51871
|
-
},
|
|
51870
|
+
}, tQ = {
|
|
51872
51871
|
key: 1,
|
|
51873
51872
|
role: "alert",
|
|
51874
51873
|
class: "pb-free-note is-error"
|
|
51875
|
-
},
|
|
51874
|
+
}, nQ = {
|
|
51876
51875
|
class: "speaking-order-live",
|
|
51877
51876
|
"aria-live": "polite"
|
|
51878
|
-
},
|
|
51877
|
+
}, rQ = "发言顺序刚有变化,已更新为最新顺序,请重新调整", iQ = /*#__PURE__*/ XH({
|
|
51879
51878
|
__name: "SpeakingOrder",
|
|
51880
51879
|
props: {
|
|
51881
51880
|
away: {
|
|
@@ -51895,7 +51894,7 @@ var hU = /*#__PURE__*/ XH({
|
|
|
51895
51894
|
}), c = Z(() => s.value.kind === "default" ? "idle" : "queued"), l = Z(() => !!n.value.access?.can_manage && !o.value.archived && s.value.movable.length > 1), u = {
|
|
51896
51895
|
queue: "不在本次依次回答中",
|
|
51897
51896
|
turns: "本轮未安排"
|
|
51898
|
-
}, d = Z(() => s.value.kind === "default" ? "拖动设置默认发言顺序,@全体依次 按此顺序;聚焦后可用上下方向键" : "拖动调整还没发言的顺序,立即生效;聚焦后可用上下方向键"), f = /* @__PURE__ */ F(!1), p = Z(() => f.value ?
|
|
51897
|
+
}, d = Z(() => s.value.kind === "default" ? "拖动设置默认发言顺序,@全体依次 按此顺序;聚焦后可用上下方向键" : "拖动调整还没发言的顺序,立即生效;聚焦后可用上下方向键"), f = /* @__PURE__ */ F(!1), p = Z(() => f.value ? rQ : 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("");
|
|
51899
51898
|
R(() => s.value.revision, () => {
|
|
51900
51899
|
g.value = null;
|
|
51901
51900
|
}), R(() => o.value.id, () => {
|
|
@@ -51982,13 +51981,13 @@ var hU = /*#__PURE__*/ XH({
|
|
|
51982
51981
|
}
|
|
51983
51982
|
return (e, n) => {
|
|
51984
51983
|
let i = sA;
|
|
51985
|
-
return U(), W("div",
|
|
51984
|
+
return U(), W("div", GZ, [
|
|
51986
51985
|
K("ul", {
|
|
51987
51986
|
ref_key: "list",
|
|
51988
51987
|
ref: m,
|
|
51989
51988
|
class: M(["pb-members", { "is-dragging": h.value }])
|
|
51990
51989
|
}, [
|
|
51991
|
-
(U(!0), W(H, null, B(y.value, (t, r) => (U(), W(H, { key: t.key }, [t.outside ? (U(), W("li",
|
|
51990
|
+
(U(!0), W(H, null, B(y.value, (t, r) => (U(), W(H, { key: t.key }, [t.outside ? (U(), W("li", KZ, [K("span", null, P(u[s.value.kind]), 1)])) : Y("", !0), K("li", {
|
|
51992
51991
|
class: M(["pb-member speaking-order-row", [
|
|
51993
51992
|
`is-${t.state}`,
|
|
51994
51993
|
E(r),
|
|
@@ -52009,19 +52008,19 @@ var hU = /*#__PURE__*/ XH({
|
|
|
52009
52008
|
onPointercancel: n[0] ||= (e) => w(e, !0),
|
|
52010
52009
|
onLostpointercapture: n[1] ||= (e) => w(e, !0),
|
|
52011
52010
|
onKeydown: [fu((e) => D(e, b(r), -1), ["up"]), fu((e) => D(e, b(r), 1), ["down"])]
|
|
52012
|
-
}, [K("span",
|
|
52011
|
+
}, [K("span", YZ, P(t.place), 1), q(i, {
|
|
52013
52012
|
name: "i-lucide-grip-vertical",
|
|
52014
52013
|
class: "speaking-order-handle"
|
|
52015
|
-
})], 40,
|
|
52014
|
+
})], 40, JZ)) : t.state === "done" ? (U(), W("span", XZ, [q(i, { name: "i-lucide-check" })])) : (U(), W("span", {
|
|
52016
52015
|
key: 2,
|
|
52017
52016
|
class: "speaking-order-place",
|
|
52018
52017
|
title: t.state === "speaking" ? "正在发言" : void 0
|
|
52019
|
-
}, P(t.place || ""), 9,
|
|
52018
|
+
}, P(t.place || ""), 9, ZZ)), V(e.$slots, "default", {
|
|
52020
52019
|
item: t,
|
|
52021
52020
|
place: t.place
|
|
52022
|
-
}, void 0, !0)], 10,
|
|
52023
|
-
s.value.later?.length ? (U(), W("li",
|
|
52024
|
-
t.away.length ? (U(), W("li",
|
|
52021
|
+
}, void 0, !0)], 10, qZ)], 64))), 128)),
|
|
52022
|
+
s.value.later?.length ? (U(), W("li", QZ, [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),
|
|
52023
|
+
t.away.length ? (U(), W("li", $Z, [...n[2] ||= [K("span", null, "已离开", -1)]])) : Y("", !0),
|
|
52025
52024
|
(U(!0), W(H, null, B(t.away, (t) => (U(), W("li", {
|
|
52026
52025
|
key: `away-${t}`,
|
|
52027
52026
|
class: "pb-member speaking-order-row is-away"
|
|
@@ -52033,78 +52032,78 @@ var hU = /*#__PURE__*/ XH({
|
|
|
52033
52032
|
place: 0
|
|
52034
52033
|
}, void 0, !0)]))), 128))
|
|
52035
52034
|
], 2),
|
|
52036
|
-
p.value ===
|
|
52037
|
-
K("p",
|
|
52035
|
+
p.value === rQ ? (U(), W("p", eQ, P(p.value), 1)) : p.value ? (U(), W("p", tQ, P(p.value), 1)) : Y("", !0),
|
|
52036
|
+
K("p", nQ, P(_.value), 1)
|
|
52038
52037
|
]);
|
|
52039
52038
|
};
|
|
52040
52039
|
}
|
|
52041
|
-
}, [["__scopeId", "data-v-dc33a051"]]),
|
|
52040
|
+
}, [["__scopeId", "data-v-dc33a051"]]), aQ = {
|
|
52042
52041
|
key: 0,
|
|
52043
52042
|
class: "pb-header"
|
|
52044
|
-
},
|
|
52043
|
+
}, oQ = { class: "pb-mode" }, sQ = { class: "pb-status-line" }, cQ = { role: "status" }, lQ = {
|
|
52045
52044
|
key: 0,
|
|
52046
52045
|
class: "pb-mode"
|
|
52047
|
-
},
|
|
52046
|
+
}, uQ = {
|
|
52048
52047
|
key: 0,
|
|
52049
52048
|
class: "pb-status-detail"
|
|
52050
|
-
},
|
|
52049
|
+
}, dQ = {
|
|
52051
52050
|
key: 1,
|
|
52052
52051
|
class: "pb-status-detail"
|
|
52053
|
-
},
|
|
52052
|
+
}, fQ = { class: "pb-error-detail" }, pQ = {
|
|
52054
52053
|
key: 3,
|
|
52055
52054
|
class: "pb-meters"
|
|
52056
|
-
},
|
|
52055
|
+
}, mQ = { class: "pb-meter-label" }, hQ = {
|
|
52057
52056
|
key: 0,
|
|
52058
52057
|
class: "pb-bar"
|
|
52059
|
-
},
|
|
52058
|
+
}, gQ = {
|
|
52060
52059
|
key: 1,
|
|
52061
52060
|
class: "pb-section",
|
|
52062
52061
|
"aria-label": "当前焦点"
|
|
52063
|
-
},
|
|
52062
|
+
}, _Q = {
|
|
52064
52063
|
class: "pb-section",
|
|
52065
52064
|
"aria-label": "发言顺序"
|
|
52066
|
-
},
|
|
52065
|
+
}, vQ = { class: "pb-heading" }, yQ = {
|
|
52067
52066
|
key: 0,
|
|
52068
52067
|
class: "pb-status-detail pb-held"
|
|
52069
|
-
},
|
|
52068
|
+
}, bQ = { class: "pb-member-body" }, xQ = { class: "pb-member-name" }, SQ = { class: "pb-member-body" }, CQ = { class: "pb-member-name" }, wQ = {
|
|
52070
52069
|
key: 0,
|
|
52071
52070
|
class: "pb-member-model",
|
|
52072
52071
|
title: "本场启动配置;默认模型与默认强度由对应软件决定"
|
|
52073
|
-
},
|
|
52072
|
+
}, TQ = {
|
|
52074
52073
|
key: 1,
|
|
52075
52074
|
class: "pb-member-model",
|
|
52076
52075
|
title: "续接你已有的会话;它工作时请不要在原窗口继续操作"
|
|
52077
|
-
},
|
|
52076
|
+
}, EQ = { key: 0 }, DQ = {
|
|
52078
52077
|
key: 3,
|
|
52079
52078
|
class: "pb-member-manual"
|
|
52080
|
-
},
|
|
52079
|
+
}, OQ = { key: 0 }, kQ = ["onClick"], AQ = {
|
|
52081
52080
|
key: 1,
|
|
52082
52081
|
role: "alert",
|
|
52083
52082
|
class: "pb-free-note is-error"
|
|
52084
|
-
},
|
|
52083
|
+
}, jQ = {
|
|
52085
52084
|
key: 2,
|
|
52086
52085
|
role: "status",
|
|
52087
52086
|
class: "pb-free-note"
|
|
52088
|
-
},
|
|
52087
|
+
}, MQ = {
|
|
52089
52088
|
key: 2,
|
|
52090
52089
|
class: "pb-actions",
|
|
52091
52090
|
"aria-label": "操作"
|
|
52092
|
-
},
|
|
52091
|
+
}, NQ = {
|
|
52093
52092
|
key: 3,
|
|
52094
52093
|
class: "pb-section",
|
|
52095
52094
|
"aria-label": "阶段耗时"
|
|
52096
|
-
},
|
|
52095
|
+
}, PQ = { class: "pb-timing-heading" }, FQ = ["aria-label"], IQ = { class: "pb-timing-totals" }, LQ = ["title"], RQ = { class: "pb-timings" }, zQ = { class: "pb-timing-who" }, BQ = { class: "pb-timing-stages" }, VQ = ["title"], HQ = {
|
|
52097
52096
|
key: 0,
|
|
52098
52097
|
class: "pb-note"
|
|
52099
|
-
},
|
|
52098
|
+
}, UQ = { class: "pb-connection" }, WQ = { class: "fine-print" }, GQ = {
|
|
52100
52099
|
key: 0,
|
|
52101
52100
|
role: "status",
|
|
52102
52101
|
class: "fine-print"
|
|
52103
|
-
},
|
|
52102
|
+
}, KQ = {
|
|
52104
52103
|
key: 2,
|
|
52105
52104
|
role: "alert",
|
|
52106
52105
|
class: "fine-print"
|
|
52107
|
-
},
|
|
52106
|
+
}, qQ = { key: 2 }, JQ = { class: "pb-invite-footer" }, YQ = { class: "progress-ending" }, XQ = ["disabled"], ZQ = 2e3, QQ = 90, $Q = 100, e$ = /*#__PURE__*/ XH({
|
|
52108
52107
|
__name: "ProgressBoard",
|
|
52109
52108
|
props: { docked: {
|
|
52110
52109
|
type: Boolean,
|
|
@@ -52115,7 +52114,7 @@ var hU = /*#__PURE__*/ XH({
|
|
|
52115
52114
|
async function l(e) {
|
|
52116
52115
|
clearTimeout(c), s.value = "", await i("copy_member_launch", e) && (s.value = e, c = setTimeout(() => {
|
|
52117
52116
|
s.value = "";
|
|
52118
|
-
},
|
|
52117
|
+
}, ZQ));
|
|
52119
52118
|
}
|
|
52120
52119
|
let u = /* @__PURE__ */ F(!1), d = /* @__PURE__ */ F(null), f = /* @__PURE__ */ F(!1), p = ["pending", "notified"], m = {
|
|
52121
52120
|
dispatched: "已交付,等待开始",
|
|
@@ -52147,7 +52146,7 @@ var hU = /*#__PURE__*/ XH({
|
|
|
52147
52146
|
R(() => _.value.id, () => {
|
|
52148
52147
|
he.value = !1;
|
|
52149
52148
|
});
|
|
52150
|
-
let ge = Z(() => x.value?.question || _.value.focus || _.value.goal || ""), N = Z(() => ge.value.length >
|
|
52149
|
+
let ge = Z(() => x.value?.question || _.value.focus || _.value.goal || ""), N = Z(() => ge.value.length > QQ), _e = Z(() => y.value.timings || {
|
|
52151
52150
|
items: [],
|
|
52152
52151
|
totals: {},
|
|
52153
52152
|
count: 0
|
|
@@ -52181,7 +52180,7 @@ var hU = /*#__PURE__*/ XH({
|
|
|
52181
52180
|
};
|
|
52182
52181
|
let e = ce.value;
|
|
52183
52182
|
if (e) {
|
|
52184
|
-
let t = e.result.startsWith(e.name) ? e.result : `${r.display_name(e.name)} 执行失败:${e.result}`, n = t.split("\n")[0], i = n.length >
|
|
52183
|
+
let t = e.result.startsWith(e.name) ? e.result : `${r.display_name(e.name)} 执行失败:${e.result}`, n = t.split("\n")[0], i = n.length > $Q ? `${n.slice(0, $Q)}…` : n;
|
|
52185
52184
|
return {
|
|
52186
52185
|
tone: "error",
|
|
52187
52186
|
title: "已暂停",
|
|
@@ -52341,18 +52340,18 @@ var hU = /*#__PURE__*/ XH({
|
|
|
52341
52340
|
return (e, c) => {
|
|
52342
52341
|
let f = MA, p = sA, m = pA, v = CH, T = bH, k = zV, se = YH;
|
|
52343
52342
|
return U(), W("div", { class: M(["progress-board", { "is-docked": t.docked }]) }, [
|
|
52344
|
-
t.docked ? (U(), W("header",
|
|
52343
|
+
t.docked ? (U(), W("header", aQ, [c[19] ||= K("strong", null, "讨论进度", -1), K("span", oQ, P(b.value ? "全自动" : "手动"), 1)])) : Y("", !0),
|
|
52345
52344
|
K("section", {
|
|
52346
52345
|
class: M(["pb-status", `is-${be.value.tone}`]),
|
|
52347
52346
|
"aria-label": "讨论状态"
|
|
52348
52347
|
}, [
|
|
52349
|
-
K("div",
|
|
52348
|
+
K("div", sQ, [
|
|
52350
52349
|
c[20] ||= K("span", { class: "pb-dot" }, null, -1),
|
|
52351
|
-
K("strong",
|
|
52352
|
-
t.docked ? Y("", !0) : (U(), W("span",
|
|
52350
|
+
K("strong", cQ, P(be.value.title), 1),
|
|
52351
|
+
t.docked ? Y("", !0) : (U(), W("span", lQ, P(b.value ? "全自动" : "手动"), 1))
|
|
52353
52352
|
]),
|
|
52354
|
-
be.value.detail ? (U(), W("p",
|
|
52355
|
-
be.value.full_detail ? (U(), W("details",
|
|
52353
|
+
be.value.detail ? (U(), W("p", uQ, P(be.value.detail), 1)) : Y("", !0),
|
|
52354
|
+
be.value.full_detail ? (U(), W("details", dQ, [c[21] ||= K("summary", null, "查看错误详情", -1), K("pre", fQ, P(be.value.full_detail), 1)])) : Y("", !0),
|
|
52356
52355
|
ue.value && I(n).launch.available && !I(n).launch.remote ? (U(), G(f, {
|
|
52357
52356
|
key: 2,
|
|
52358
52357
|
icon: "i-lucide-arrow-left-right",
|
|
@@ -52364,12 +52363,12 @@ var hU = /*#__PURE__*/ XH({
|
|
|
52364
52363
|
disabled: !!I(a),
|
|
52365
52364
|
onClick: c[0] ||= (e) => ke(ue.value, "codex")
|
|
52366
52365
|
}, null, 8, ["disabled"])) : Y("", !0),
|
|
52367
|
-
xe.value.length ? (U(), W("div",
|
|
52366
|
+
xe.value.length ? (U(), W("div", pQ, [(U(!0), W(H, null, B(xe.value, (e) => (U(), W("div", {
|
|
52368
52367
|
key: e.label,
|
|
52369
52368
|
class: "pb-meter"
|
|
52370
|
-
}, [K("div",
|
|
52369
|
+
}, [K("div", mQ, [K("span", null, P(e.label), 1), K("b", null, P(e.text), 1)]), e.ratio === null ? Y("", !0) : (U(), W("div", hQ, [K("i", { style: fe({ width: `${Math.min(100, Math.round(e.ratio * 100))}%` }) }, null, 4)]))]))), 128))])) : Y("", !0)
|
|
52371
52370
|
], 2),
|
|
52372
|
-
ge.value ? (U(), W("section",
|
|
52371
|
+
ge.value ? (U(), W("section", gQ, [
|
|
52373
52372
|
c[22] ||= K("h4", null, "当前焦点", -1),
|
|
52374
52373
|
K("p", { class: M(["pb-focus", { "is-expanded": u.value }]) }, P(ge.value), 3),
|
|
52375
52374
|
N.value ? (U(), W("button", {
|
|
@@ -52379,15 +52378,15 @@ var hU = /*#__PURE__*/ XH({
|
|
|
52379
52378
|
onClick: c[1] ||= (e) => u.value = !u.value
|
|
52380
52379
|
}, P(u.value ? "收起" : "展开"), 1)) : Y("", !0)
|
|
52381
52380
|
])) : Y("", !0),
|
|
52382
|
-
K("section",
|
|
52383
|
-
K("div",
|
|
52381
|
+
K("section", _Q, [
|
|
52382
|
+
K("div", vQ, [c[24] ||= K("h4", null, "发言顺序", -1), me.value ? (U(), W("button", {
|
|
52384
52383
|
key: 0,
|
|
52385
52384
|
type: "button",
|
|
52386
52385
|
class: "pb-link",
|
|
52387
52386
|
onClick: Oe
|
|
52388
52387
|
}, [q(p, { name: "i-lucide-plus" }), c[23] ||= J("邀请", -1)])) : Y("", !0)]),
|
|
52389
|
-
_.value.held_since && x.value && !S.value ? (U(), W("p",
|
|
52390
|
-
q(
|
|
52388
|
+
_.value.held_since && x.value && !S.value ? (U(), W("p", yQ, "用户有新操作," + P(I(r).display_name(x.value.expert)) + " 说完后交给主持人", 1)) : Y("", !0),
|
|
52389
|
+
q(iQ, {
|
|
52391
52390
|
away: de.value.map((e) => e.name),
|
|
52392
52391
|
round: Se.value
|
|
52393
52392
|
}, {
|
|
@@ -52404,7 +52403,7 @@ var hU = /*#__PURE__*/ XH({
|
|
|
52404
52403
|
"alt",
|
|
52405
52404
|
"class"
|
|
52406
52405
|
]),
|
|
52407
|
-
K("div",
|
|
52406
|
+
K("div", bQ, [K("div", xQ, [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)]),
|
|
52408
52407
|
we({ name: e.name }).length ? (U(), G(v, {
|
|
52409
52408
|
key: 0,
|
|
52410
52409
|
items: we({ name: e.name }),
|
|
@@ -52434,8 +52433,8 @@ var hU = /*#__PURE__*/ XH({
|
|
|
52434
52433
|
"alt",
|
|
52435
52434
|
"class"
|
|
52436
52435
|
]),
|
|
52437
|
-
K("div",
|
|
52438
|
-
K("div",
|
|
52436
|
+
K("div", SQ, [
|
|
52437
|
+
K("div", CQ, [
|
|
52439
52438
|
J(P(I(r).display_name(e.name)), 1),
|
|
52440
52439
|
e.is_host ? (U(), G(p, {
|
|
52441
52440
|
key: 0,
|
|
@@ -52444,22 +52443,22 @@ var hU = /*#__PURE__*/ XH({
|
|
|
52444
52443
|
})) : Y("", !0),
|
|
52445
52444
|
K("small", null, P(e.is_host ? `主持 · ${e.mode}` : e.mode), 1)
|
|
52446
52445
|
]),
|
|
52447
|
-
e.model ? (U(), W("div",
|
|
52448
|
-
pe(e.name)?.session_mode === "borrowed" ? (U(), W("div",
|
|
52446
|
+
e.model ? (U(), W("div", wQ, P(e.model), 1)) : Y("", !0),
|
|
52447
|
+
pe(e.name)?.session_mode === "borrowed" ? (U(), W("div", TQ, "借用已有会话")) : Y("", !0),
|
|
52449
52448
|
w.value ? Y("", !0) : (U(), W("div", {
|
|
52450
52449
|
key: 2,
|
|
52451
52450
|
class: M(["pb-member-status", `is-${e.tone}`])
|
|
52452
52451
|
}, [
|
|
52453
52452
|
c[27] ||= K("span", { class: "pb-dot" }, null, -1),
|
|
52454
52453
|
J(P(e.text), 1),
|
|
52455
|
-
e.failures ? (U(), W("small",
|
|
52454
|
+
e.failures ? (U(), W("small", EQ, " · 失败 " + P(e.failures) + " 次", 1)) : Y("", !0)
|
|
52456
52455
|
], 2)),
|
|
52457
|
-
e.manual && !w.value ? (U(), W("div",
|
|
52456
|
+
e.manual && !w.value ? (U(), W("div", DQ, [!pe(e.name)?.registered_at && !e.is_host ? (U(), W("span", OQ, "需在它的会话中注册,才算到场")) : Y("", !0), A.value ? (U(), W("button", {
|
|
52458
52457
|
key: 1,
|
|
52459
52458
|
type: "button",
|
|
52460
52459
|
class: "pb-link",
|
|
52461
52460
|
onClick: (t) => l(e.name)
|
|
52462
|
-
}, [q(p, { name: s.value === e.name ? "i-lucide-check" : "i-lucide-rocket" }, null, 8, ["name"]), J(P(s.value === e.name ? "已复制" : "复制启动指令"), 1)], 8,
|
|
52461
|
+
}, [q(p, { name: s.value === e.name ? "i-lucide-check" : "i-lucide-rocket" }, null, 8, ["name"]), J(P(s.value === e.name ? "已复制" : "复制启动指令"), 1)], 8, kQ)) : Y("", !0)])) : Y("", !0)
|
|
52463
52462
|
]),
|
|
52464
52463
|
we(e).length ? (U(), G(v, {
|
|
52465
52464
|
key: 0,
|
|
@@ -52480,9 +52479,9 @@ var hU = /*#__PURE__*/ XH({
|
|
|
52480
52479
|
], 64))), 128))]),
|
|
52481
52480
|
_: 1
|
|
52482
52481
|
}, 8, ["away", "round"]),
|
|
52483
|
-
!he.value && I(n).free_error && _.value.phase !== "paused" ? (U(), W("p",
|
|
52482
|
+
!he.value && I(n).free_error && _.value.phase !== "paused" ? (U(), W("p", AQ, P(I(n).free_error), 1)) : I(n).free_notice ? (U(), W("p", jQ, P(I(n).free_notice), 1)) : Y("", !0)
|
|
52484
52483
|
]),
|
|
52485
|
-
oe.value ? (U(), W("section",
|
|
52484
|
+
oe.value ? (U(), W("section", MQ, [
|
|
52486
52485
|
ne.value ? (U(), G(f, {
|
|
52487
52486
|
key: 0,
|
|
52488
52487
|
icon: "i-lucide-rotate-ccw",
|
|
@@ -52564,8 +52563,8 @@ var hU = /*#__PURE__*/ XH({
|
|
|
52564
52563
|
onClick: c[6] ||= (e) => o.value = !0
|
|
52565
52564
|
}, null, 8, ["disabled"])) : Y("", !0)
|
|
52566
52565
|
])) : Y("", !0),
|
|
52567
|
-
b.value && _e.value.count ? (U(), W("section",
|
|
52568
|
-
K("div",
|
|
52566
|
+
b.value && _e.value.count ? (U(), W("section", NQ, [
|
|
52567
|
+
K("div", PQ, [c[28] ||= K("h4", null, "耗时", -1), K("small", null, "共 " + P(_e.value.count) + " 次执行", 1)]),
|
|
52569
52568
|
K("div", {
|
|
52570
52569
|
class: "pb-timing-bar",
|
|
52571
52570
|
role: "img",
|
|
@@ -52574,18 +52573,18 @@ var hU = /*#__PURE__*/ XH({
|
|
|
52574
52573
|
key: e.key,
|
|
52575
52574
|
class: M(`is-${e.key}`),
|
|
52576
52575
|
style: fe({ width: `${e.percent}%` })
|
|
52577
|
-
}, null, 6))), 128))], 8,
|
|
52578
|
-
K("dl",
|
|
52576
|
+
}, null, 6))), 128))], 8, FQ),
|
|
52577
|
+
K("dl", IQ, [(U(!0), W(H, null, B(je.value, (e) => (U(), W("div", {
|
|
52579
52578
|
key: e.key,
|
|
52580
52579
|
title: e.hint
|
|
52581
|
-
}, [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,
|
|
52582
|
-
K("details",
|
|
52580
|
+
}, [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, LQ))), 128))]),
|
|
52581
|
+
K("details", RQ, [
|
|
52583
52582
|
c[29] ||= K("summary", null, "查看每次执行", -1),
|
|
52584
|
-
K("ol", null, [(U(!0), W(H, null, B(_e.value.items, (e) => (U(), W("li", { key: e.id }, [K("span",
|
|
52583
|
+
K("ol", null, [(U(!0), W(H, null, B(_e.value.items, (e) => (U(), W("li", { key: e.id }, [K("span", zQ, [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", BQ, [(U(), W(H, null, B(h, (t) => K("span", {
|
|
52585
52584
|
key: t.key,
|
|
52586
52585
|
title: t.hint
|
|
52587
|
-
}, P(t.label) + " " + P(Me(e[t.key])), 9,
|
|
52588
|
-
_e.value.count > _e.value.items.length ? (U(), W("p",
|
|
52586
|
+
}, P(t.label) + " " + P(Me(e[t.key])), 9, VQ)), 64))])]))), 128))]),
|
|
52587
|
+
_e.value.count > _e.value.items.length ? (U(), W("p", HQ, "只列出最近 " + P(_e.value.items.length) + " 次,共 " + P(_e.value.count) + " 次执行。", 1)) : Y("", !0)
|
|
52589
52588
|
])
|
|
52590
52589
|
])) : Y("", !0),
|
|
52591
52590
|
q(se, {
|
|
@@ -52598,7 +52597,7 @@ var hU = /*#__PURE__*/ XH({
|
|
|
52598
52597
|
body: "dialog-body"
|
|
52599
52598
|
}
|
|
52600
52599
|
}, {
|
|
52601
|
-
body: L(() => [K("div",
|
|
52600
|
+
body: L(() => [K("div", UQ, [y.value.status === "running" ? (U(), W(H, { key: 0 }, [c[30] ||= K("p", null, "切换前需要暂停讨论,当前执行会停止,原发言安排保留。", -1), q(f, {
|
|
52602
52601
|
label: "暂停并读取配置",
|
|
52603
52602
|
icon: "i-lucide-pause",
|
|
52604
52603
|
class: "channel-primary-button",
|
|
@@ -52621,7 +52620,7 @@ var hU = /*#__PURE__*/ XH({
|
|
|
52621
52620
|
}, null, 8, ["model-value", "disabled"])]),
|
|
52622
52621
|
_: 1
|
|
52623
52622
|
}),
|
|
52624
|
-
K("p",
|
|
52623
|
+
K("p", WQ, P(ye.value.adapter === "codex" ? "App 需保持运行,模型与权限沿用原聊天设置。" : "切回 CLI 前,需让 App 释放原聊天;仍被占用时无法执行。"), 1),
|
|
52625
52624
|
q(f, {
|
|
52626
52625
|
label: "保存接入方式",
|
|
52627
52626
|
class: "channel-primary-button",
|
|
@@ -52629,7 +52628,7 @@ var hU = /*#__PURE__*/ XH({
|
|
|
52629
52628
|
disabled: !!I(a),
|
|
52630
52629
|
onClick: c[8] ||= (e) => I(i)("save_room_configuration")
|
|
52631
52630
|
}, null, 8, ["loading", "disabled"]),
|
|
52632
|
-
I(n).launch.repair?.notice ? (U(), W("p",
|
|
52631
|
+
I(n).launch.repair?.notice ? (U(), W("p", GQ, P(I(n).launch.repair.notice), 1)) : Y("", !0),
|
|
52633
52632
|
I(n).launch.repair?.applied && ne.value ? (U(), G(f, {
|
|
52634
52633
|
key: 1,
|
|
52635
52634
|
label: "重启讨论",
|
|
@@ -52649,10 +52648,10 @@ var hU = /*#__PURE__*/ XH({
|
|
|
52649
52648
|
color: "neutral",
|
|
52650
52649
|
loading: !!I(a),
|
|
52651
52650
|
onClick: Ae
|
|
52652
|
-
}, null, 8, ["loading"])), I(n).launch.repair_error ? (U(), W("p",
|
|
52651
|
+
}, null, 8, ["loading"])), I(n).launch.repair_error ? (U(), W("p", KQ, P(I(n).launch.repair_error), 1)) : Y("", !0)], 64)) : (U(), W("p", qQ, "本场状态已变化,请关闭后重新核对。"))])]),
|
|
52653
52652
|
_: 1
|
|
52654
52653
|
}, 8, ["open"]),
|
|
52655
|
-
q(
|
|
52654
|
+
q(WZ, {
|
|
52656
52655
|
open: he.value,
|
|
52657
52656
|
"onUpdate:open": c[11] ||= (e) => he.value = e,
|
|
52658
52657
|
description: "新专家由程序按本机软件配置启动,或由你手动启动,加入本轮发言队列。"
|
|
@@ -52697,7 +52696,7 @@ var hU = /*#__PURE__*/ XH({
|
|
|
52697
52696
|
minutes: ee.value,
|
|
52698
52697
|
"onUpdate:minutes": c[14] ||= (e) => ee.value = e,
|
|
52699
52698
|
execution: !1
|
|
52700
|
-
}, null, 8, ["rounds", "minutes"]), K("div",
|
|
52699
|
+
}, null, 8, ["rounds", "minutes"]), K("div", JQ, [q(f, {
|
|
52701
52700
|
label: "取消",
|
|
52702
52701
|
color: "neutral",
|
|
52703
52702
|
variant: "ghost",
|
|
@@ -52722,18 +52721,18 @@ var hU = /*#__PURE__*/ XH({
|
|
|
52722
52721
|
body: "dialog-body"
|
|
52723
52722
|
}
|
|
52724
52723
|
}, {
|
|
52725
|
-
body: L(() => [K("div",
|
|
52724
|
+
body: L(() => [K("div", YQ, [K("button", {
|
|
52726
52725
|
type: "button",
|
|
52727
52726
|
class: "progress-ending-option",
|
|
52728
52727
|
disabled: C.value || !!I(a),
|
|
52729
52728
|
onClick: c[17] ||= (e) => Fe("end_room_discussion")
|
|
52730
|
-
}, [...c[31] ||= [K("strong", null, "结束讨论", -1), K("span", null, "保留全部记录,自动运行随之停止,房间回到自由协作;需要总结时可直接请主持人写一份。", -1)]], 8,
|
|
52729
|
+
}, [...c[31] ||= [K("strong", null, "结束讨论", -1), K("span", null, "保留全部记录,自动运行随之停止,房间回到自由协作;需要总结时可直接请主持人写一份。", -1)]], 8, XQ)])]),
|
|
52731
52730
|
_: 1
|
|
52732
52731
|
}, 8, ["open"])
|
|
52733
52732
|
], 2);
|
|
52734
52733
|
};
|
|
52735
52734
|
}
|
|
52736
|
-
}, [["__scopeId", "data-v-a01e3534"]]),
|
|
52735
|
+
}, [["__scopeId", "data-v-a01e3534"]]), t$ = { class: "progress-panel-anchor" }, n$ = ["aria-expanded", "aria-label"], r$ = { class: "progress-chip-text" }, i$ = { class: "progress-chip-rounds" }, a$ = {
|
|
52737
52736
|
__name: "ProgressPanel",
|
|
52738
52737
|
setup(e) {
|
|
52739
52738
|
let { view: t, bridge: n } = xr("discussion"), r = /* @__PURE__ */ F(!1), i = Z(() => t.value.room), a = Z(() => i.value.limits || {}), o = Z(() => {
|
|
@@ -52760,7 +52759,7 @@ var hU = /*#__PURE__*/ XH({
|
|
|
52760
52759
|
}), 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}`);
|
|
52761
52760
|
return (e, t) => {
|
|
52762
52761
|
let n = $V, a = NV;
|
|
52763
|
-
return U(), W("div",
|
|
52762
|
+
return U(), W("div", t$, [q(n, { text: "查看讨论进度" }, {
|
|
52764
52763
|
default: L(() => [K("button", {
|
|
52765
52764
|
type: "button",
|
|
52766
52765
|
class: M(["progress-chip", `is-${o.value.tone}`]),
|
|
@@ -52768,7 +52767,7 @@ var hU = /*#__PURE__*/ XH({
|
|
|
52768
52767
|
"aria-expanded": r.value,
|
|
52769
52768
|
"aria-label": `查看讨论进度:${c.value}`,
|
|
52770
52769
|
onClick: t[0] ||= (e) => r.value = !0
|
|
52771
|
-
}, [t[2] ||= K("span", { class: "progress-dot" }, null, -1), K("span",
|
|
52770
|
+
}, [t[2] ||= K("span", { class: "progress-dot" }, null, -1), K("span", r$, [J(P(o.value.title), 1), K("span", i$, " · " + P(s.value), 1)])], 10, n$)]),
|
|
52772
52771
|
_: 1
|
|
52773
52772
|
}), q(a, {
|
|
52774
52773
|
open: r.value,
|
|
@@ -52781,12 +52780,12 @@ var hU = /*#__PURE__*/ XH({
|
|
|
52781
52780
|
body: "progress-drawer-body"
|
|
52782
52781
|
}
|
|
52783
52782
|
}, {
|
|
52784
|
-
body: L(() => [q($
|
|
52783
|
+
body: L(() => [q(e$)]),
|
|
52785
52784
|
_: 1
|
|
52786
52785
|
}, 8, ["open", "description"])]);
|
|
52787
52786
|
};
|
|
52788
52787
|
}
|
|
52789
|
-
},
|
|
52788
|
+
}, o$ = { class: "start-discussion-footer" }, s$ = 3, c$ = /*#__PURE__*/ XH({
|
|
52790
52789
|
__name: "StartDiscussionDialog",
|
|
52791
52790
|
props: {
|
|
52792
52791
|
open: {
|
|
@@ -52797,9 +52796,9 @@ var hU = /*#__PURE__*/ XH({
|
|
|
52797
52796
|
},
|
|
52798
52797
|
emits: ["update:open"],
|
|
52799
52798
|
setup(e) {
|
|
52800
|
-
let t = ro(e, "open"), { view: n, act: r, pending: i } = xr("discussion"), a = /* @__PURE__ */ F(""), o = /* @__PURE__ */ F(
|
|
52799
|
+
let t = ro(e, "open"), { view: n, act: r, pending: i } = xr("discussion"), a = /* @__PURE__ */ F(""), o = /* @__PURE__ */ F(s$), s = /* @__PURE__ */ F(0), c = /* @__PURE__ */ F(""), l = /* @__PURE__ */ F(!1), u = /* @__PURE__ */ F(null);
|
|
52801
52800
|
R(t, (e) => {
|
|
52802
|
-
e && (a.value = "", o.value =
|
|
52801
|
+
e && (a.value = "", o.value = s$, s.value = 0, c.value = "", l.value = !1);
|
|
52803
52802
|
});
|
|
52804
52803
|
async function d() {
|
|
52805
52804
|
u.value?.settle();
|
|
@@ -52867,7 +52866,7 @@ var hU = /*#__PURE__*/ XH({
|
|
|
52867
52866
|
"minutes",
|
|
52868
52867
|
"execution_minutes"
|
|
52869
52868
|
]),
|
|
52870
|
-
K("div",
|
|
52869
|
+
K("div", o$, [q(h, {
|
|
52871
52870
|
label: "取消",
|
|
52872
52871
|
color: "neutral",
|
|
52873
52872
|
variant: "ghost",
|
|
@@ -52885,58 +52884,58 @@ var hU = /*#__PURE__*/ XH({
|
|
|
52885
52884
|
}, 8, ["open"]);
|
|
52886
52885
|
};
|
|
52887
52886
|
}
|
|
52888
|
-
}, [["__scopeId", "data-v-dee972d6"]]),
|
|
52887
|
+
}, [["__scopeId", "data-v-dee972d6"]]), l$ = { class: "progress-board is-docked" }, u$ = { class: "pb-header" }, d$ = { class: "pb-mode" }, f$ = { class: "pb-status-line" }, p$ = { role: "status" }, m$ = {
|
|
52889
52888
|
key: 0,
|
|
52890
52889
|
class: "pb-status-detail"
|
|
52891
|
-
},
|
|
52890
|
+
}, h$ = { class: "pb-meters" }, g$ = { class: "pb-meter-label" }, _$ = {
|
|
52892
52891
|
key: 0,
|
|
52893
52892
|
class: "pb-bar"
|
|
52894
|
-
},
|
|
52893
|
+
}, v$ = {
|
|
52895
52894
|
key: 0,
|
|
52896
52895
|
class: "pb-section",
|
|
52897
52896
|
"aria-label": "当前任务"
|
|
52898
|
-
},
|
|
52897
|
+
}, y$ = {
|
|
52899
52898
|
class: "pb-section",
|
|
52900
52899
|
"aria-label": "发言顺序"
|
|
52901
|
-
},
|
|
52900
|
+
}, b$ = { class: "pb-member-body" }, x$ = ["title"], S$ = {
|
|
52902
52901
|
key: 0,
|
|
52903
52902
|
class: "pb-member-model"
|
|
52904
|
-
},
|
|
52903
|
+
}, C$ = {
|
|
52905
52904
|
key: 1,
|
|
52906
52905
|
class: "pb-member-model",
|
|
52907
52906
|
title: "它工作时请不要在原窗口继续操作"
|
|
52908
|
-
},
|
|
52907
|
+
}, w$ = ["title"], T$ = {
|
|
52909
52908
|
key: 0,
|
|
52910
52909
|
role: "alert",
|
|
52911
52910
|
class: "pb-free-note is-error"
|
|
52912
|
-
},
|
|
52911
|
+
}, E$ = {
|
|
52913
52912
|
key: 1,
|
|
52914
52913
|
role: "status",
|
|
52915
52914
|
class: "pb-free-note"
|
|
52916
|
-
},
|
|
52915
|
+
}, D$ = {
|
|
52917
52916
|
key: 2,
|
|
52918
52917
|
role: "alert",
|
|
52919
52918
|
class: "pb-free-note is-error"
|
|
52920
|
-
},
|
|
52919
|
+
}, O$ = {
|
|
52921
52920
|
key: 3,
|
|
52922
52921
|
role: "status",
|
|
52923
52922
|
class: "pb-free-note"
|
|
52924
|
-
},
|
|
52923
|
+
}, k$ = {
|
|
52925
52924
|
key: 1,
|
|
52926
52925
|
class: "pb-section",
|
|
52927
52926
|
"aria-label": "头脑风暴"
|
|
52928
|
-
},
|
|
52927
|
+
}, A$ = ["onClick"], j$ = {
|
|
52929
52928
|
key: 2,
|
|
52930
52929
|
class: "pb-actions",
|
|
52931
52930
|
"aria-label": "操作"
|
|
52932
|
-
},
|
|
52931
|
+
}, M$ = {
|
|
52933
52932
|
key: 0,
|
|
52934
52933
|
class: "pb-free-note"
|
|
52935
|
-
},
|
|
52934
|
+
}, N$ = {
|
|
52936
52935
|
key: 3,
|
|
52937
52936
|
class: "pb-section",
|
|
52938
52937
|
"aria-label": "执行耗时"
|
|
52939
|
-
},
|
|
52938
|
+
}, P$ = { class: "pb-timing-heading" }, F$ = { class: "pb-timings" }, I$ = { class: "pb-timing-who" }, L$ = { class: "pb-timing-stages" }, R$ = 90, z$ = /*#__PURE__*/ XH({
|
|
52940
52939
|
__name: "FreeBoard",
|
|
52941
52940
|
setup(e) {
|
|
52942
52941
|
let { view: t, bridge: n, act: r, pending: i } = xr("discussion"), a = ["dispatched", "started"], o = {
|
|
@@ -53108,32 +53107,32 @@ var hU = /*#__PURE__*/ XH({
|
|
|
53108
53107
|
k.value = !1;
|
|
53109
53108
|
}), (e, i) => {
|
|
53110
53109
|
let a = pA, p = sA, h = MA, ne = CH;
|
|
53111
|
-
return U(), W("div",
|
|
53112
|
-
K("header",
|
|
53110
|
+
return U(), W("div", l$, [
|
|
53111
|
+
K("header", u$, [i[6] ||= K("strong", null, "自由协作", -1), K("span", d$, P(u.value ? `${I(n).display_name(u.value.name)} 主持` : "无主持人"), 1)]),
|
|
53113
53112
|
K("section", {
|
|
53114
53113
|
class: M(["pb-status", `is-${y.value.tone}`]),
|
|
53115
53114
|
"aria-label": "房间状态"
|
|
53116
53115
|
}, [
|
|
53117
|
-
K("div",
|
|
53118
|
-
y.value.detail ? (U(), W("p",
|
|
53119
|
-
K("div",
|
|
53116
|
+
K("div", f$, [i[7] ||= K("span", { class: "pb-dot" }, null, -1), K("strong", p$, P(y.value.title), 1)]),
|
|
53117
|
+
y.value.detail ? (U(), W("p", m$, P(y.value.detail), 1)) : Y("", !0),
|
|
53118
|
+
K("div", h$, [(U(!0), W(H, null, B(b.value, (e) => (U(), W("div", {
|
|
53120
53119
|
key: e.label,
|
|
53121
53120
|
class: "pb-meter"
|
|
53122
|
-
}, [K("div",
|
|
53121
|
+
}, [K("div", g$, [K("span", null, P(e.label), 1), K("b", null, P(e.text), 1)]), e.ratio === null ? Y("", !0) : (U(), W("div", _$, [K("i", { style: fe({ width: `${Math.min(100, Math.round(e.ratio * 100))}%` }) }, null, 4)]))]))), 128))])
|
|
53123
53122
|
], 2),
|
|
53124
|
-
x.value ? (U(), W("section",
|
|
53123
|
+
x.value ? (U(), W("section", v$, [
|
|
53125
53124
|
i[8] ||= K("h4", null, "当前任务", -1),
|
|
53126
53125
|
K("p", { class: M(["pb-focus", { "is-expanded": S.value }]) }, P(x.value), 3),
|
|
53127
|
-
x.value.length >
|
|
53126
|
+
x.value.length > R$ ? (U(), W("button", {
|
|
53128
53127
|
key: 0,
|
|
53129
53128
|
type: "button",
|
|
53130
53129
|
class: "pb-link",
|
|
53131
53130
|
onClick: i[0] ||= (e) => S.value = !S.value
|
|
53132
53131
|
}, P(S.value ? "收起" : "展开"), 1)) : Y("", !0)
|
|
53133
53132
|
])) : Y("", !0),
|
|
53134
|
-
K("section",
|
|
53133
|
+
K("section", y$, [
|
|
53135
53134
|
i[10] ||= K("h4", null, "发言顺序", -1),
|
|
53136
|
-
q(
|
|
53135
|
+
q(iQ, { away: f.value }, {
|
|
53137
53136
|
default: L(({ item: e }) => [(U(!0), W(H, null, B([d(e.name)].filter(Boolean), (t) => (U(), W(H, { key: t.id }, [
|
|
53138
53137
|
q(a, {
|
|
53139
53138
|
src: I(n).identities[t.name]?.icon,
|
|
@@ -53147,7 +53146,7 @@ var hU = /*#__PURE__*/ XH({
|
|
|
53147
53146
|
"alt",
|
|
53148
53147
|
"class"
|
|
53149
53148
|
]),
|
|
53150
|
-
K("div",
|
|
53149
|
+
K("div", b$, [
|
|
53151
53150
|
K("div", {
|
|
53152
53151
|
class: "pb-member-name",
|
|
53153
53152
|
title: c.value.descriptions?.[t.name] || void 0
|
|
@@ -53159,13 +53158,13 @@ var hU = /*#__PURE__*/ XH({
|
|
|
53159
53158
|
title: "主持人"
|
|
53160
53159
|
})) : Y("", !0),
|
|
53161
53160
|
K("small", null, P(t.role === "host" ? `主持 · ${s[t.access]}` : s[t.access]), 1)
|
|
53162
|
-
], 8,
|
|
53163
|
-
v(t) ? (U(), W("div",
|
|
53164
|
-
t.session_mode === "borrowed" ? (U(), W("div",
|
|
53161
|
+
], 8, x$),
|
|
53162
|
+
v(t) ? (U(), W("div", S$, P(v(t)), 1)) : Y("", !0),
|
|
53163
|
+
t.session_mode === "borrowed" ? (U(), W("div", C$, "借用已有会话")) : Y("", !0),
|
|
53165
53164
|
K("div", { class: M(["pb-member-status", `is-${g(t)}`]) }, [i[9] ||= K("span", { class: "pb-dot" }, null, -1), K("span", {
|
|
53166
53165
|
class: "pb-member-status-text",
|
|
53167
53166
|
title: t.execution?.status === "failed" ? t.execution.result : void 0
|
|
53168
|
-
}, P(_(t, e.state)), 9,
|
|
53167
|
+
}, P(_(t, e.state)), 9, w$)], 2)
|
|
53169
53168
|
]),
|
|
53170
53169
|
q(ne, {
|
|
53171
53170
|
items: T(t),
|
|
@@ -53189,8 +53188,8 @@ var hU = /*#__PURE__*/ XH({
|
|
|
53189
53188
|
key: e.executions.join("-"),
|
|
53190
53189
|
class: "pb-free-note is-warning"
|
|
53191
53190
|
}, "可能冲突:" + P(e.members.map((e) => I(n).display_name(e)).join(" 与 ")) + " 的重叠执行观察到 " + P(e.files.join("、")) + " 变化;修改者未确认。", 1))), 128)),
|
|
53192
|
-
I(t).free_error ? (U(), W("p",
|
|
53193
|
-
I(t).access?.error ? (U(), W("p",
|
|
53191
|
+
I(t).free_error ? (U(), W("p", T$, P(I(t).free_error), 1)) : I(t).free_notice ? (U(), W("p", E$, P(I(t).free_notice), 1)) : Y("", !0),
|
|
53192
|
+
I(t).access?.error ? (U(), W("p", D$, P(I(t).access.error), 1)) : I(t).access?.notice ? (U(), W("p", O$, P(I(t).access.notice), 1)) : Y("", !0),
|
|
53194
53193
|
c.value.archived ? Y("", !0) : (U(), G(h, {
|
|
53195
53194
|
key: 4,
|
|
53196
53195
|
icon: "i-lucide-plus",
|
|
@@ -53202,13 +53201,13 @@ var hU = /*#__PURE__*/ XH({
|
|
|
53202
53201
|
onClick: i[1] ||= (e) => E.value = !0
|
|
53203
53202
|
}))
|
|
53204
53203
|
]),
|
|
53205
|
-
c.value.linked_rooms?.length ? (U(), W("section",
|
|
53204
|
+
c.value.linked_rooms?.length ? (U(), W("section", k$, [i[11] ||= K("h4", null, "头脑风暴", -1), (U(!0), W(H, null, B(c.value.linked_rooms, (e) => (U(), W("button", {
|
|
53206
53205
|
key: e.id,
|
|
53207
53206
|
type: "button",
|
|
53208
53207
|
class: "pb-link pb-free-linked",
|
|
53209
53208
|
onClick: (t) => I(r)("room", e.id)
|
|
53210
|
-
}, [J(P(e.title), 1), K("small", null, P(I(n).phases[e.phase] || e.phase), 1)], 8,
|
|
53211
|
-
c.value.archived ? Y("", !0) : (U(), W("section",
|
|
53209
|
+
}, [J(P(e.title), 1), K("small", null, P(I(n).phases[e.phase] || e.phase), 1)], 8, A$))), 128))])) : Y("", !0),
|
|
53210
|
+
c.value.archived ? Y("", !0) : (U(), W("section", j$, [q(h, {
|
|
53212
53211
|
icon: "i-lucide-messages-square",
|
|
53213
53212
|
label: "开启讨论",
|
|
53214
53213
|
size: "sm",
|
|
@@ -53218,13 +53217,13 @@ var hU = /*#__PURE__*/ XH({
|
|
|
53218
53217
|
title: "由主持人推进成员轮流发言,到上限或结束后房间回到自由协作",
|
|
53219
53218
|
disabled: !te.value,
|
|
53220
53219
|
onClick: i[2] ||= (e) => k.value = !0
|
|
53221
|
-
}, null, 8, ["disabled"]), te.value ? Y("", !0) : (U(), W("p",
|
|
53222
|
-
C.value.items.length ? (U(), W("section",
|
|
53223
|
-
q(
|
|
53220
|
+
}, null, 8, ["disabled"]), te.value ? Y("", !0) : (U(), W("p", M$, "开启讨论需要一位由本机唤醒的 AI 主持人。"))])),
|
|
53221
|
+
C.value.items.length ? (U(), W("section", N$, [K("div", P$, [i[12] ||= K("h4", null, "耗时", -1), K("small", null, "共 " + P(C.value.items.length) + " 次执行 · " + P(w(C.value.total)), 1)]), K("details", F$, [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", I$, [J("#" + P(e.id) + " " + P(m(e.member_id)), 1), K("small", null, P(o[e.status] || e.status), 1)]), K("span", L$, [K("span", null, "用时 " + P(w(e.seconds)), 1)])]))), 128))])])])) : Y("", !0),
|
|
53222
|
+
q(c$, {
|
|
53224
53223
|
open: k.value,
|
|
53225
53224
|
"onUpdate:open": i[3] ||= (e) => k.value = e
|
|
53226
53225
|
}, null, 8, ["open"]),
|
|
53227
|
-
q(
|
|
53226
|
+
q(WZ, {
|
|
53228
53227
|
open: E.value,
|
|
53229
53228
|
"onUpdate:open": i[4] ||= (e) => E.value = e,
|
|
53230
53229
|
description: "新成员加入后不打断其他成员;点卡片翻面可设置软件、模型、项目权限和要续接的已有会话。"
|
|
@@ -53251,47 +53250,47 @@ var hU = /*#__PURE__*/ XH({
|
|
|
53251
53250
|
]);
|
|
53252
53251
|
};
|
|
53253
53252
|
}
|
|
53254
|
-
}, [["__scopeId", "data-v-776a1930"]]),
|
|
53253
|
+
}, [["__scopeId", "data-v-776a1930"]]), B$ = {
|
|
53255
53254
|
id: "channel-sidebar",
|
|
53256
53255
|
class: "channel-sidebar",
|
|
53257
53256
|
"aria-label": "房间导航"
|
|
53258
|
-
},
|
|
53257
|
+
}, V$ = { class: "channel-sidebar-content" }, H$ = { class: "channel-directory-heading channel-tools-heading" }, U$ = ["aria-expanded"], W$ = { class: "channel-sidebar-footer" }, G$ = ["aria-label"], K$ = { class: "channel-self" }, q$ = ["title"], J$ = [
|
|
53259
53258
|
"aria-valuemax",
|
|
53260
53259
|
"aria-valuenow",
|
|
53261
53260
|
"aria-valuetext"
|
|
53262
|
-
],
|
|
53261
|
+
], Y$ = { class: "channel-main" }, X$ = { class: "channel-header" }, Z$ = { class: "channel-title-icon" }, Q$ = { class: "channel-title" }, $$ = { class: "channel-title-copy" }, e1 = ["title"], t1 = {
|
|
53263
53262
|
key: 0,
|
|
53264
53263
|
class: "channel-header-context"
|
|
53265
|
-
},
|
|
53264
|
+
}, n1 = { class: "channel-header-actions" }, r1 = {
|
|
53266
53265
|
key: 0,
|
|
53267
53266
|
class: "channel-launch-recovery",
|
|
53268
53267
|
"aria-label": "未完成的创建或启动请求"
|
|
53269
|
-
},
|
|
53268
|
+
}, i1 = { role: "status" }, a1 = { class: "button-row" }, o1 = {
|
|
53270
53269
|
key: 1,
|
|
53271
53270
|
class: "channel-tabbar"
|
|
53272
|
-
},
|
|
53271
|
+
}, s1 = { class: "channel-brief-inner" }, c1 = { class: "channel-brief-heading" }, l1 = ["aria-label", "aria-expanded"], u1 = {
|
|
53273
53272
|
key: 0,
|
|
53274
53273
|
class: "channel-brief-preview"
|
|
53275
|
-
},
|
|
53274
|
+
}, d1 = {
|
|
53276
53275
|
id: "channel-brief-content",
|
|
53277
53276
|
class: "channel-brief-content"
|
|
53278
|
-
},
|
|
53277
|
+
}, f1 = ["innerHTML"], p1 = { class: "channel-brief-footer" }, m1 = { class: "channel-brief-status" }, h1 = { class: "channel-content" }, g1 = {
|
|
53279
53278
|
key: 0,
|
|
53280
53279
|
class: "content-page channel-summary",
|
|
53281
53280
|
role: "tabpanel",
|
|
53282
53281
|
"aria-label": "共识"
|
|
53283
|
-
},
|
|
53282
|
+
}, _1 = { class: "page-heading" }, v1 = { class: "form-footer" }, y1 = {
|
|
53284
53283
|
key: 1,
|
|
53285
53284
|
class: "channel-empty"
|
|
53286
|
-
},
|
|
53285
|
+
}, b1 = ["aria-valuenow", "aria-valuetext"], x1 = {
|
|
53287
53286
|
key: 2,
|
|
53288
53287
|
id: "channel-member-rail",
|
|
53289
53288
|
class: "channel-member-rail",
|
|
53290
53289
|
"aria-label": "当前焦点与讨论进度"
|
|
53291
|
-
},
|
|
53290
|
+
}, S1 = { class: "channel-rail-board" }, C1 = {
|
|
53292
53291
|
key: 2,
|
|
53293
53292
|
class: "progress-board is-docked"
|
|
53294
|
-
},
|
|
53293
|
+
}, w1 = { class: "channel-detail-title" }, T1 = { class: "info-section" }, E1 = "ai-codiscuss-channel-layout", D1 = 220, O1 = 440, k1 = 280, A1 = 16, j1 = 180, M1 = 400, N1 = 248, P1 = 16, F1 = 480, I1 = 1200, L1 = 0, R1 = {
|
|
53295
53294
|
__name: "ChannelWorkspace",
|
|
53296
53295
|
setup(e) {
|
|
53297
53296
|
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 = [{
|
|
@@ -53313,14 +53312,14 @@ var hU = /*#__PURE__*/ XH({
|
|
|
53313
53312
|
label: "宽",
|
|
53314
53313
|
width: 1240
|
|
53315
53314
|
}
|
|
53316
|
-
}, 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 >=
|
|
53315
|
+
}, 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 >= I1), k = Z(() => t.value.tab === "discussion" && !O.value), te = Z(() => ee.value && t.value.tab === "discussion" ? O.value ? "展开房间概览" : "收起房间概览" : "房间资料与参与者"), ne = Z(() => {
|
|
53317
53316
|
let e = document.createElement("template");
|
|
53318
53317
|
return e.innerHTML = o.value?.rendered_brief || "", e.content.textContent.replace(/\s+/g, " ").trim();
|
|
53319
|
-
}), re = /* @__PURE__ */ F(null), ie = /* @__PURE__ */ F(0), A = null, j = /* @__PURE__ */ F(null), ae = /* @__PURE__ */ F(null), oe = Z(() => Math.min(
|
|
53318
|
+
}), re = /* @__PURE__ */ F(null), ie = /* @__PURE__ */ F(0), A = null, j = /* @__PURE__ */ F(null), ae = /* @__PURE__ */ F(null), oe = Z(() => Math.min(M1, Math.max(j1, T.value - F1 - L1))), se = Z(() => Math.min(w.value, oe.value)), ce = Z(() => ({
|
|
53320
53319
|
"--channel-reading-width": `${y[x.value].width}px`,
|
|
53321
53320
|
"--channel-rail-width": `${C.value}px`,
|
|
53322
53321
|
"--channel-topbar-height": `${ie.value}px`,
|
|
53323
|
-
"--channel-main-columns": E.value ? "minmax(0, 1fr)" : `${se.value}px ${
|
|
53322
|
+
"--channel-main-columns": E.value ? "minmax(0, 1fr)" : `${se.value}px ${L1}px minmax(0, 1fr)`
|
|
53324
53323
|
})), le = Object.entries(y).map(([e, t]) => ({
|
|
53325
53324
|
value: e,
|
|
53326
53325
|
label: t.label
|
|
@@ -53403,12 +53402,12 @@ var hU = /*#__PURE__*/ XH({
|
|
|
53403
53402
|
}
|
|
53404
53403
|
function Te() {
|
|
53405
53404
|
try {
|
|
53406
|
-
let e = JSON.parse(localStorage.getItem(
|
|
53405
|
+
let e = JSON.parse(localStorage.getItem(E1)) || {};
|
|
53407
53406
|
return {
|
|
53408
53407
|
reading: Object.hasOwn(y, e.reading) ? e.reading : "default",
|
|
53409
53408
|
effects: e.effects === "reduced" ? "reduced" : "full",
|
|
53410
|
-
rail: Number.isFinite(e.rail) ? Math.min(
|
|
53411
|
-
nav: Number.isFinite(e.nav) ? Math.min(
|
|
53409
|
+
rail: Number.isFinite(e.rail) ? Math.min(O1, Math.max(D1, e.rail)) : k1,
|
|
53410
|
+
nav: Number.isFinite(e.nav) ? Math.min(M1, Math.max(j1, e.nav)) : Ee(),
|
|
53412
53411
|
collapsed: e.collapsed === !0,
|
|
53413
53412
|
brief_collapsed: e.brief_collapsed === !0,
|
|
53414
53413
|
rail_collapsed: e.rail_collapsed === !0
|
|
@@ -53417,7 +53416,7 @@ var hU = /*#__PURE__*/ XH({
|
|
|
53417
53416
|
return {
|
|
53418
53417
|
reading: "default",
|
|
53419
53418
|
effects: "full",
|
|
53420
|
-
rail:
|
|
53419
|
+
rail: k1,
|
|
53421
53420
|
nav: Ee(),
|
|
53422
53421
|
collapsed: !1,
|
|
53423
53422
|
brief_collapsed: !1,
|
|
@@ -53426,11 +53425,11 @@ var hU = /*#__PURE__*/ XH({
|
|
|
53426
53425
|
}
|
|
53427
53426
|
}
|
|
53428
53427
|
function Ee() {
|
|
53429
|
-
return typeof window > "u" ?
|
|
53428
|
+
return typeof window > "u" ? N1 : window.innerWidth >= 1900 ? 280 : window.innerWidth <= 980 ? 220 : N1;
|
|
53430
53429
|
}
|
|
53431
53430
|
function De() {
|
|
53432
53431
|
try {
|
|
53433
|
-
localStorage.setItem(
|
|
53432
|
+
localStorage.setItem(E1, JSON.stringify({
|
|
53434
53433
|
reading: x.value,
|
|
53435
53434
|
effects: S.value,
|
|
53436
53435
|
rail: C.value,
|
|
@@ -53461,19 +53460,19 @@ var hU = /*#__PURE__*/ XH({
|
|
|
53461
53460
|
}, e.currentTarget.setPointerCapture(e.pointerId));
|
|
53462
53461
|
}
|
|
53463
53462
|
function Ne(e) {
|
|
53464
|
-
j.value?.pointer === e.pointerId && (C.value = Math.round(Math.min(
|
|
53463
|
+
j.value?.pointer === e.pointerId && (C.value = Math.round(Math.min(O1, Math.max(D1, j.value.width + j.value.x - e.clientX))));
|
|
53465
53464
|
}
|
|
53466
53465
|
function Pe(e) {
|
|
53467
53466
|
j.value?.pointer === e.pointerId && (j.value = null, e.currentTarget.hasPointerCapture(e.pointerId) && e.currentTarget.releasePointerCapture(e.pointerId), De());
|
|
53468
53467
|
}
|
|
53469
53468
|
function Fe(e) {
|
|
53470
53469
|
let t = {
|
|
53471
|
-
ArrowLeft: C.value +
|
|
53472
|
-
ArrowRight: C.value -
|
|
53473
|
-
Home:
|
|
53474
|
-
End:
|
|
53470
|
+
ArrowLeft: C.value + A1,
|
|
53471
|
+
ArrowRight: C.value - A1,
|
|
53472
|
+
Home: D1,
|
|
53473
|
+
End: O1
|
|
53475
53474
|
};
|
|
53476
|
-
Object.hasOwn(t, e.key) && (e.preventDefault(), C.value = Math.min(
|
|
53475
|
+
Object.hasOwn(t, e.key) && (e.preventDefault(), C.value = Math.min(O1, Math.max(D1, t[e.key])), De());
|
|
53477
53476
|
}
|
|
53478
53477
|
function Ie(e) {
|
|
53479
53478
|
e.button === 0 && (e.preventDefault(), e.currentTarget.focus(), ae.value = {
|
|
@@ -53483,19 +53482,19 @@ var hU = /*#__PURE__*/ XH({
|
|
|
53483
53482
|
}, e.currentTarget.setPointerCapture(e.pointerId));
|
|
53484
53483
|
}
|
|
53485
53484
|
function Le(e) {
|
|
53486
|
-
ae.value?.pointer === e.pointerId && (w.value = Math.round(Math.min(oe.value, Math.max(
|
|
53485
|
+
ae.value?.pointer === e.pointerId && (w.value = Math.round(Math.min(oe.value, Math.max(j1, ae.value.width + e.clientX - ae.value.x))));
|
|
53487
53486
|
}
|
|
53488
53487
|
function Re(e) {
|
|
53489
53488
|
ae.value?.pointer === e.pointerId && (ae.value = null, e.currentTarget.hasPointerCapture(e.pointerId) && e.currentTarget.releasePointerCapture(e.pointerId), De());
|
|
53490
53489
|
}
|
|
53491
53490
|
function ze(e) {
|
|
53492
53491
|
let t = {
|
|
53493
|
-
ArrowLeft: se.value -
|
|
53494
|
-
ArrowRight: se.value +
|
|
53495
|
-
Home:
|
|
53492
|
+
ArrowLeft: se.value - P1,
|
|
53493
|
+
ArrowRight: se.value + P1,
|
|
53494
|
+
Home: j1,
|
|
53496
53495
|
End: oe.value
|
|
53497
53496
|
};
|
|
53498
|
-
Object.hasOwn(t, e.key) && (e.preventDefault(), w.value = Math.min(oe.value, Math.max(
|
|
53497
|
+
Object.hasOwn(t, e.key) && (e.preventDefault(), w.value = Math.min(oe.value, Math.max(j1, t[e.key])), De());
|
|
53499
53498
|
}
|
|
53500
53499
|
return (e, r) => {
|
|
53501
53500
|
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;
|
|
@@ -53507,10 +53506,10 @@ var hU = /*#__PURE__*/ XH({
|
|
|
53507
53506
|
}]),
|
|
53508
53507
|
style: fe(ce.value)
|
|
53509
53508
|
}, [
|
|
53510
|
-
K("aside",
|
|
53509
|
+
K("aside", B$, [
|
|
53511
53510
|
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),
|
|
53512
|
-
K("div",
|
|
53513
|
-
q(
|
|
53511
|
+
K("div", V$, [
|
|
53512
|
+
q(OZ, {
|
|
53514
53513
|
onSelect: ye,
|
|
53515
53514
|
onManage: _e,
|
|
53516
53515
|
onCreate: xe,
|
|
@@ -53519,12 +53518,12 @@ var hU = /*#__PURE__*/ XH({
|
|
|
53519
53518
|
onDeleteFolder: we,
|
|
53520
53519
|
onArchives: ve
|
|
53521
53520
|
}),
|
|
53522
|
-
K("div",
|
|
53521
|
+
K("div", H$, [K("button", {
|
|
53523
53522
|
type: "button",
|
|
53524
53523
|
class: "channel-section-toggle",
|
|
53525
53524
|
"aria-expanded": f.value,
|
|
53526
53525
|
onClick: r[0] ||= (e) => f.value = !f.value
|
|
53527
|
-
}, [q(y, { name: f.value ? "i-lucide-chevron-down" : "i-lucide-chevron-right" }, null, 8, ["name"]), r[24] ||= J("频道工具", -1)], 8,
|
|
53526
|
+
}, [q(y, { name: f.value ? "i-lucide-chevron-down" : "i-lucide-chevron-right" }, null, 8, ["name"]), r[24] ||= J("频道工具", -1)], 8, U$)]),
|
|
53528
53527
|
f.value ? (U(), G(b, {
|
|
53529
53528
|
key: 0,
|
|
53530
53529
|
items: he.value,
|
|
@@ -53540,7 +53539,7 @@ var hU = /*#__PURE__*/ XH({
|
|
|
53540
53539
|
}
|
|
53541
53540
|
}, null, 8, ["items"])) : Y("", !0)
|
|
53542
53541
|
]),
|
|
53543
|
-
K("footer",
|
|
53542
|
+
K("footer", W$, [K("button", {
|
|
53544
53543
|
type: "button",
|
|
53545
53544
|
class: "channel-self-button",
|
|
53546
53545
|
"aria-label": `账号与设置:${I(n).display_name(I(_))}${ge.value ? "," + ge.value : ""}`,
|
|
@@ -53556,10 +53555,10 @@ var hU = /*#__PURE__*/ XH({
|
|
|
53556
53555
|
"text",
|
|
53557
53556
|
"alt",
|
|
53558
53557
|
"class"
|
|
53559
|
-
]), K("span",
|
|
53558
|
+
]), K("span", K$, [K("strong", null, P(I(n).display_name(I(_))), 1), K("span", { class: M(["channel-connection", { "is-action": ge.value }]) }, [K("span", {
|
|
53560
53559
|
class: M({ connected: I(t).connected }),
|
|
53561
53560
|
title: I(t).connected ? "网站已连接" : "网站未连接"
|
|
53562
|
-
}, null, 10,
|
|
53561
|
+
}, null, 10, q$), J(P(ge.value || (I(t).connected ? "网站已连接" : "网站未连接")), 1)], 2)])], 8, G$), q(O, { text: "设置" }, {
|
|
53563
53562
|
default: L(() => [q(T, {
|
|
53564
53563
|
icon: "i-lucide-settings-2",
|
|
53565
53564
|
color: "neutral",
|
|
@@ -53580,7 +53579,7 @@ var hU = /*#__PURE__*/ XH({
|
|
|
53580
53579
|
"aria-label": "调整房间栏宽度",
|
|
53581
53580
|
"aria-orientation": "vertical",
|
|
53582
53581
|
"aria-controls": "channel-sidebar",
|
|
53583
|
-
"aria-valuemin":
|
|
53582
|
+
"aria-valuemin": j1,
|
|
53584
53583
|
"aria-valuemax": oe.value,
|
|
53585
53584
|
"aria-valuenow": se.value,
|
|
53586
53585
|
"aria-valuetext": `${se.value} 像素`,
|
|
@@ -53591,13 +53590,13 @@ var hU = /*#__PURE__*/ XH({
|
|
|
53591
53590
|
onPointercancel: Re,
|
|
53592
53591
|
onLostpointercapture: Re,
|
|
53593
53592
|
onKeydown: ze
|
|
53594
|
-
}, null, 40,
|
|
53595
|
-
K("main",
|
|
53593
|
+
}, null, 40, J$)),
|
|
53594
|
+
K("main", Y$, [K("div", {
|
|
53596
53595
|
ref_key: "topbar",
|
|
53597
53596
|
ref: re,
|
|
53598
53597
|
class: M(["channel-topbar", { "is-overlay": o.value && I(t).tab === "discussion" }])
|
|
53599
53598
|
}, [
|
|
53600
|
-
K("header",
|
|
53599
|
+
K("header", X$, [
|
|
53601
53600
|
q(O, { text: E.value ? "展开房间栏" : "收起房间栏" }, {
|
|
53602
53601
|
default: L(() => [q(T, {
|
|
53603
53602
|
icon: "i-lucide-panel-left",
|
|
@@ -53622,8 +53621,8 @@ var hU = /*#__PURE__*/ XH({
|
|
|
53622
53621
|
"aria-expanded": d.value,
|
|
53623
53622
|
onClick: r[4] ||= (e) => d.value = !0
|
|
53624
53623
|
}, null, 8, ["aria-expanded"]),
|
|
53625
|
-
K("span",
|
|
53626
|
-
K("div",
|
|
53624
|
+
K("span", Z$, [q(y, { name: "i-lucide-hash" })]),
|
|
53625
|
+
K("div", Q$, [K("div", $$, [K("h1", { title: o.value?.title }, P(o.value?.title || "共议"), 9, e1)]), o.value?.archived ? (U(), G(ie, {
|
|
53627
53626
|
key: 0,
|
|
53628
53627
|
color: "neutral",
|
|
53629
53628
|
variant: "subtle",
|
|
@@ -53632,12 +53631,12 @@ var hU = /*#__PURE__*/ XH({
|
|
|
53632
53631
|
default: L(() => [...r[26] ||= [J("已存档", -1)]]),
|
|
53633
53632
|
_: 1
|
|
53634
53633
|
})) : Y("", !0)]),
|
|
53635
|
-
o.value ? (U(), W("span",
|
|
53634
|
+
o.value ? (U(), W("span", t1, [
|
|
53636
53635
|
J(P(me.value.find((e) => e.value === I(t).tab)?.label), 1),
|
|
53637
53636
|
r[27] ||= K("span", null, "·", -1),
|
|
53638
53637
|
J(P(o.value.message_count) + " 条记录", 1)
|
|
53639
53638
|
])) : Y("", !0),
|
|
53640
|
-
K("div",
|
|
53639
|
+
K("div", n1, [
|
|
53641
53640
|
I(t).tab === "discussion" ? (U(), W("form", {
|
|
53642
53641
|
key: 0,
|
|
53643
53642
|
class: "channel-search",
|
|
@@ -53695,7 +53694,7 @@ var hU = /*#__PURE__*/ XH({
|
|
|
53695
53694
|
])]),
|
|
53696
53695
|
_: 1
|
|
53697
53696
|
})) : Y("", !0),
|
|
53698
|
-
o.value && !(k.value && ee.value) ? (U(), G(
|
|
53697
|
+
o.value && !(k.value && ee.value) ? (U(), G(a$, { key: 2 })) : Y("", !0)
|
|
53699
53698
|
]),
|
|
53700
53699
|
q(O, { text: te.value }, {
|
|
53701
53700
|
default: L(() => [q(T, {
|
|
@@ -53716,12 +53715,12 @@ var hU = /*#__PURE__*/ XH({
|
|
|
53716
53715
|
_: 1
|
|
53717
53716
|
}, 8, ["text"])
|
|
53718
53717
|
]),
|
|
53719
|
-
I(t).launch.recoveries.length ? (U(), W("section",
|
|
53718
|
+
I(t).launch.recoveries.length ? (U(), W("section", r1, [
|
|
53720
53719
|
r[28] ||= K("h2", null, "继续未完成的请求", -1),
|
|
53721
53720
|
(U(!0), W(H, null, B(I(t).launch.recoveries, (e) => (U(), W("article", { key: e.id }, [
|
|
53722
53721
|
K("strong", null, P(e.title), 1),
|
|
53723
|
-
K("p",
|
|
53724
|
-
K("div",
|
|
53722
|
+
K("p", i1, P(e.error || "启动结果尚未确认;原请求已保存在此浏览器中。"), 1),
|
|
53723
|
+
K("div", a1, [
|
|
53725
53724
|
q(T, {
|
|
53726
53725
|
label: e.direct ? "继续创建房间" : "继续本次启动",
|
|
53727
53726
|
size: "sm",
|
|
@@ -53754,7 +53753,7 @@ var hU = /*#__PURE__*/ XH({
|
|
|
53754
53753
|
]))), 128)),
|
|
53755
53754
|
r[29] ||= K("small", null, "移除待办不会删除房间或停止讨论。", -1)
|
|
53756
53755
|
])) : Y("", !0),
|
|
53757
|
-
o.value ? (U(), W("div",
|
|
53756
|
+
o.value ? (U(), W("div", o1, [q(de, {
|
|
53758
53757
|
modelValue: ue.value,
|
|
53759
53758
|
"onUpdate:modelValue": r[9] ||= (e) => ue.value = e,
|
|
53760
53759
|
items: me.value,
|
|
@@ -53769,7 +53768,7 @@ var hU = /*#__PURE__*/ XH({
|
|
|
53769
53768
|
key: 2,
|
|
53770
53769
|
class: M(["channel-host-brief", { "is-collapsed": D.value }]),
|
|
53771
53770
|
"aria-label": "主持简报"
|
|
53772
|
-
}, [K("div",
|
|
53771
|
+
}, [K("div", s1, [K("div", c1, [K("button", {
|
|
53773
53772
|
type: "button",
|
|
53774
53773
|
class: "channel-brief-toggle",
|
|
53775
53774
|
"aria-label": D.value ? "展开主持简报" : "收起主持简报",
|
|
@@ -53779,8 +53778,8 @@ var hU = /*#__PURE__*/ XH({
|
|
|
53779
53778
|
}, [
|
|
53780
53779
|
q(y, { name: D.value ? "i-lucide-chevron-right" : "i-lucide-chevron-down" }, null, 8, ["name"]),
|
|
53781
53780
|
K("strong", null, "主持简报" + P(D.value ? ":" : ""), 1),
|
|
53782
|
-
D.value ? (U(), W("span",
|
|
53783
|
-
], 8,
|
|
53781
|
+
D.value ? (U(), W("span", u1, P(ne.value), 1)) : Y("", !0)
|
|
53782
|
+
], 8, l1), D.value ? Y("", !0) : (U(), G(T, {
|
|
53784
53783
|
key: 0,
|
|
53785
53784
|
label: "更新简报",
|
|
53786
53785
|
color: "neutral",
|
|
@@ -53788,19 +53787,19 @@ var hU = /*#__PURE__*/ XH({
|
|
|
53788
53787
|
size: "xs",
|
|
53789
53788
|
class: "channel-brief-update",
|
|
53790
53789
|
onClick: r[10] ||= (e) => I(i)("tab", "context")
|
|
53791
|
-
}))]), vr(K("div",
|
|
53790
|
+
}))]), vr(K("div", d1, [K("div", {
|
|
53792
53791
|
class: "channel-brief-text markdown-body",
|
|
53793
53792
|
innerHTML: o.value.rendered_brief
|
|
53794
|
-
}, null, 8,
|
|
53793
|
+
}, null, 8, f1), K("div", p1, [K("span", m1, 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)
|
|
53795
53794
|
], 2), o.value ? (U(), W("div", {
|
|
53796
53795
|
key: 0,
|
|
53797
53796
|
class: M(["channel-body", { "channel-body-discussion": I(t).tab === "discussion" }])
|
|
53798
|
-
}, [K("div",
|
|
53797
|
+
}, [K("div", h1, [
|
|
53799
53798
|
vr(q(cK, {
|
|
53800
53799
|
onDetail: be,
|
|
53801
53800
|
onEdit: r[11] ||= (e) => s.value = "edit"
|
|
53802
53801
|
}, null, 512), [[Vc, I(t).tab === "discussion"]]),
|
|
53803
|
-
I(t).tab === "context" ? (U(), W("section",
|
|
53802
|
+
I(t).tab === "context" ? (U(), W("section", g1, [K("div", _1, [r[30] ||= K("div", null, [K("h2", null, "共识与分歧"), K("p", null, "整理讨论进展,用 #消息编号 保留依据。")], -1), q(ie, {
|
|
53804
53803
|
color: "neutral",
|
|
53805
53804
|
variant: "outline"
|
|
53806
53805
|
}, {
|
|
@@ -53841,7 +53840,7 @@ var hU = /*#__PURE__*/ XH({
|
|
|
53841
53840
|
}, null, 8, ["modelValue"])]),
|
|
53842
53841
|
_: 1
|
|
53843
53842
|
}),
|
|
53844
|
-
K("div",
|
|
53843
|
+
K("div", v1, [K("span", null, "依据消息截止 #" + P(I(t).snapshot_id), 1), q(T, {
|
|
53845
53844
|
type: "submit",
|
|
53846
53845
|
color: "neutral",
|
|
53847
53846
|
icon: "i-lucide-check",
|
|
@@ -53855,7 +53854,7 @@ var hU = /*#__PURE__*/ XH({
|
|
|
53855
53854
|
onOpen: r[15] ||= (e) => s.value = e,
|
|
53856
53855
|
onDetail: be
|
|
53857
53856
|
})) : Y("", !0)
|
|
53858
|
-
])], 2)) : (U(), W("div",
|
|
53857
|
+
])], 2)) : (U(), W("div", y1, [
|
|
53859
53858
|
q(y, { name: "i-lucide-hash" }),
|
|
53860
53859
|
r[31] ||= K("h2", null, "新建一个协作房间", -1),
|
|
53861
53860
|
r[32] ||= K("p", null, "邀请 AI 一起协作,随时 @ 提问;需要时开启讨论,保留所有人的观点。", -1),
|
|
@@ -53874,8 +53873,8 @@ var hU = /*#__PURE__*/ XH({
|
|
|
53874
53873
|
"aria-label": "调整右侧栏宽度",
|
|
53875
53874
|
"aria-orientation": "vertical",
|
|
53876
53875
|
"aria-controls": "channel-member-rail",
|
|
53877
|
-
"aria-valuemin":
|
|
53878
|
-
"aria-valuemax":
|
|
53876
|
+
"aria-valuemin": D1,
|
|
53877
|
+
"aria-valuemax": O1,
|
|
53879
53878
|
"aria-valuenow": C.value,
|
|
53880
53879
|
"aria-valuetext": `${C.value} 像素`,
|
|
53881
53880
|
title: "拖动调整右侧栏宽度,也可使用左右方向键",
|
|
@@ -53885,11 +53884,11 @@ var hU = /*#__PURE__*/ XH({
|
|
|
53885
53884
|
onPointercancel: Pe,
|
|
53886
53885
|
onLostpointercapture: Pe,
|
|
53887
53886
|
onKeydown: Fe
|
|
53888
|
-
}, null, 40,
|
|
53889
|
-
k.value ? (U(), W("aside",
|
|
53887
|
+
}, null, 40, b1)) : Y("", !0),
|
|
53888
|
+
k.value ? (U(), W("aside", x1, [K("section", S1, [o.value && pe.value ? (U(), G(z$, { key: 0 })) : o.value ? (U(), G(e$, {
|
|
53890
53889
|
key: 1,
|
|
53891
53890
|
docked: ""
|
|
53892
|
-
})) : (U(), W("div",
|
|
53891
|
+
})) : (U(), W("div", C1, [...r[33] ||= [K("header", { class: "pb-header" }, [K("strong", null, "讨论进度")], -1), K("p", { class: "channel-rail-empty" }, "暂无房间,新建讨论后在这里查看进度与参与者。", -1)]]))])])) : Y("", !0),
|
|
53893
53892
|
q(De, {
|
|
53894
53893
|
open: d.value,
|
|
53895
53894
|
"onUpdate:open": r[18] ||= (e) => d.value = e,
|
|
@@ -53901,7 +53900,7 @@ var hU = /*#__PURE__*/ XH({
|
|
|
53901
53900
|
body: "channel-drawer-body"
|
|
53902
53901
|
}
|
|
53903
53902
|
}, {
|
|
53904
|
-
body: L(() => [q(
|
|
53903
|
+
body: L(() => [q(OZ, {
|
|
53905
53904
|
onSelect: ye,
|
|
53906
53905
|
onManage: _e,
|
|
53907
53906
|
onCreate: xe,
|
|
@@ -53932,7 +53931,7 @@ var hU = /*#__PURE__*/ XH({
|
|
|
53932
53931
|
}
|
|
53933
53932
|
}, {
|
|
53934
53933
|
body: L(() => [o.value ? (U(), W(H, { key: 0 }, [
|
|
53935
|
-
K("div",
|
|
53934
|
+
K("div", w1, [q(y, { name: "i-lucide-hash" }), K("h2", null, P(o.value.title), 1)]),
|
|
53936
53935
|
(U(), W(H, null, B([
|
|
53937
53936
|
{
|
|
53938
53937
|
key: "goal",
|
|
@@ -53959,7 +53958,7 @@ var hU = /*#__PURE__*/ XH({
|
|
|
53959
53958
|
class: "info-section"
|
|
53960
53959
|
}, [K("h3", null, P(e.label), 1), K("p", null, P(o.value[e.key] || "尚未填写"), 1)])), 64)),
|
|
53961
53960
|
q(ke),
|
|
53962
|
-
K("section",
|
|
53961
|
+
K("section", T1, [r[34] ||= K("h3", null, "参与身份", -1), (U(!0), W(H, null, B(N.value, (e) => (U(), W("div", {
|
|
53963
53962
|
key: e.name,
|
|
53964
53963
|
class: "expert-row"
|
|
53965
53964
|
}, [
|
|
@@ -53992,7 +53991,7 @@ var hU = /*#__PURE__*/ XH({
|
|
|
53992
53991
|
], 64)) : Y("", !0)]),
|
|
53993
53992
|
_: 1
|
|
53994
53993
|
}, 8, ["open"]),
|
|
53995
|
-
q(
|
|
53994
|
+
q(iZ, {
|
|
53996
53995
|
modelValue: s.value,
|
|
53997
53996
|
"onUpdate:modelValue": r[21] ||= (e) => s.value = e,
|
|
53998
53997
|
"reading-width": x.value,
|
|
@@ -54016,7 +54015,7 @@ var hU = /*#__PURE__*/ XH({
|
|
|
54016
54015
|
], 6);
|
|
54017
54016
|
};
|
|
54018
54017
|
}
|
|
54019
|
-
},
|
|
54018
|
+
}, z1 = {
|
|
54020
54019
|
__name: "App",
|
|
54021
54020
|
setup(e) {
|
|
54022
54021
|
return br("discussion", OV()), (e, t) => {
|
|
@@ -54027,7 +54026,7 @@ var hU = /*#__PURE__*/ XH({
|
|
|
54027
54026
|
toaster: null
|
|
54028
54027
|
}, {
|
|
54029
54028
|
default: L(() => [q(I(Qz), { "reduced-motion": "user" }, {
|
|
54030
|
-
default: L(() => [q(
|
|
54029
|
+
default: L(() => [q(R1)]),
|
|
54031
54030
|
_: 1
|
|
54032
54031
|
})]),
|
|
54033
54032
|
_: 1
|
|
@@ -54037,8 +54036,8 @@ var hU = /*#__PURE__*/ XH({
|
|
|
54037
54036
|
};
|
|
54038
54037
|
//#endregion
|
|
54039
54038
|
//#region frontend/main.js
|
|
54040
|
-
function
|
|
54041
|
-
bu(
|
|
54039
|
+
function B1() {
|
|
54040
|
+
bu(z1).use(ph).mount("#modern-root");
|
|
54042
54041
|
}
|
|
54043
|
-
document.readyState === "loading" ? document.addEventListener("DOMContentLoaded",
|
|
54042
|
+
document.readyState === "loading" ? document.addEventListener("DOMContentLoaded", B1) : B1();
|
|
54044
54043
|
//#endregion
|