ai_co_discuss 0.2.79 → 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 +545 -539
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>\"},\"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\\\"/>\"}}}]");
|
|
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({
|
|
@@ -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,31 +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 = { class: "expert-card-heading-tools" }, VJ = ["title", "aria-label"],
|
|
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
|
-
},
|
|
48184
|
+
}, JJ = ["aria-label"], YJ = ["aria-checked", "onClick"], XJ = { class: "expert-card-field" }, ZJ = {
|
|
48190
48185
|
key: 0,
|
|
48191
48186
|
class: "expert-card-catalog"
|
|
48192
|
-
},
|
|
48187
|
+
}, QJ = {
|
|
48193
48188
|
key: 1,
|
|
48194
48189
|
class: "expert-card-effort"
|
|
48195
|
-
},
|
|
48190
|
+
}, $J = {
|
|
48196
48191
|
key: 2,
|
|
48197
48192
|
class: "expert-card-note"
|
|
48198
|
-
},
|
|
48193
|
+
}, eY = ["aria-label", "disabled"], tY = {
|
|
48199
48194
|
key: 7,
|
|
48200
48195
|
class: "expert-card-note"
|
|
48201
|
-
},
|
|
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({
|
|
48202
48197
|
__name: "ExpertCard",
|
|
48203
48198
|
props: {
|
|
48204
48199
|
name: {
|
|
@@ -48351,7 +48346,7 @@ var hU = /*#__PURE__*/ XH({
|
|
|
48351
48346
|
});
|
|
48352
48347
|
}
|
|
48353
48348
|
function ge(e) {
|
|
48354
|
-
let t = e >=
|
|
48349
|
+
let t = e >= aY / 2;
|
|
48355
48350
|
f.value !== t && (f.value = t, he());
|
|
48356
48351
|
}
|
|
48357
48352
|
let N = o.on("change", ge), _e = o.on("animationComplete", he), ve = null, ye = "";
|
|
@@ -48364,29 +48359,29 @@ var hU = /*#__PURE__*/ XH({
|
|
|
48364
48359
|
function xe() {
|
|
48365
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);
|
|
48366
48361
|
}
|
|
48367
|
-
let Se = Z(() => i.value && a.description_draft(n.name).trim()), Ce = /* @__PURE__ */ F(!1);
|
|
48368
|
-
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 }) {
|
|
48369
48364
|
a.write_description_draft(n.name, e), t && a.save_description_template(n.name, e), Ce.value = !1;
|
|
48370
48365
|
}
|
|
48371
|
-
let
|
|
48372
|
-
let e =
|
|
48373
|
-
return e ? e ===
|
|
48374
|
-
}),
|
|
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() ? {
|
|
48375
48370
|
tag: "软件预设",
|
|
48376
|
-
text:
|
|
48371
|
+
text: Ee.value,
|
|
48377
48372
|
action: "恢复预设"
|
|
48378
48373
|
} : null);
|
|
48379
|
-
function Pe() {
|
|
48380
|
-
Ae.value = De.value, ke.value = !0;
|
|
48381
|
-
}
|
|
48382
48374
|
function Fe() {
|
|
48383
|
-
|
|
48384
|
-
a.write_launch(n.name, "system_prompt", e === Te.value.trim() ? null : e), ke.value = !1;
|
|
48375
|
+
je.value = Oe.value, Ae.value = !0;
|
|
48385
48376
|
}
|
|
48386
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() {
|
|
48387
48382
|
a.write_launch(n.name, "model", ""), a.write_launch(n.name, "effort", "");
|
|
48388
48383
|
}
|
|
48389
|
-
function
|
|
48384
|
+
function Re(e) {
|
|
48390
48385
|
let t = {
|
|
48391
48386
|
ArrowLeft: -1,
|
|
48392
48387
|
ArrowUp: -1,
|
|
@@ -48398,16 +48393,16 @@ var hU = /*#__PURE__*/ XH({
|
|
|
48398
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];
|
|
48399
48394
|
r("mode", o), e.currentTarget.querySelector(`[data-mode="${o}"]`)?.focus();
|
|
48400
48395
|
}
|
|
48401
|
-
function
|
|
48396
|
+
function ze(e) {
|
|
48402
48397
|
d.value && (e.stopPropagation(), e.preventDefault(), xe());
|
|
48403
48398
|
}
|
|
48404
|
-
function
|
|
48405
|
-
|
|
48399
|
+
function Be(e) {
|
|
48400
|
+
Ae.value || Ce.value || c.value?.contains(e.target) || e.target.closest?.(oY) || be(!1);
|
|
48406
48401
|
}
|
|
48407
48402
|
return R(d, (e) => {
|
|
48408
|
-
e ? document.addEventListener("pointerdown",
|
|
48403
|
+
e ? document.addEventListener("pointerdown", Be, !0) : document.removeEventListener("pointerdown", Be, !0);
|
|
48409
48404
|
}), R([d, s], ([e, t]) => {
|
|
48410
|
-
let n = e ?
|
|
48405
|
+
let n = e ? aY : 0;
|
|
48411
48406
|
t ? (o.jump(n), he()) : o.set(n);
|
|
48412
48407
|
}), R(() => [
|
|
48413
48408
|
te.value,
|
|
@@ -48416,7 +48411,7 @@ var hU = /*#__PURE__*/ XH({
|
|
|
48416
48411
|
], ([e, t]) => {
|
|
48417
48412
|
e && t && a.load_launch_models(n.name);
|
|
48418
48413
|
}, { immediate: !0 }), ta(() => {
|
|
48419
|
-
document.removeEventListener("pointerdown",
|
|
48414
|
+
document.removeEventListener("pointerdown", Be, !0), N(), _e(), o.stop();
|
|
48420
48415
|
}), (t, n) => {
|
|
48421
48416
|
let s = pA, d = sA, x = MA, S = bH, w = YV;
|
|
48422
48417
|
return U(), W("div", {
|
|
@@ -48430,7 +48425,7 @@ var hU = /*#__PURE__*/ XH({
|
|
|
48430
48425
|
"data-identity": I(a).identities[e.name]?.style,
|
|
48431
48426
|
"data-face": f.value ? "back" : "front",
|
|
48432
48427
|
tabindex: "-1",
|
|
48433
|
-
onKeydown: fu(
|
|
48428
|
+
onKeydown: fu(ze, ["esc"])
|
|
48434
48429
|
}, [
|
|
48435
48430
|
q(I(bV).div, {
|
|
48436
48431
|
class: "expert-card-turn",
|
|
@@ -48473,8 +48468,8 @@ var hU = /*#__PURE__*/ XH({
|
|
|
48473
48468
|
class: M(e.tone ? ["expert-card-status", `is-${e.tone}`] : ""),
|
|
48474
48469
|
title: e.value
|
|
48475
48470
|
}, [e.tone ? (U(), W("i", DJ)) : Y("", !0), J(P(e.value), 1)], 10, EJ)]))), 128))]),
|
|
48476
|
-
C.value ? (U(), W("div", OJ, [n[
|
|
48477
|
-
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)
|
|
48478
48473
|
]),
|
|
48479
48474
|
_: 1
|
|
48480
48475
|
}, 8, [
|
|
@@ -48488,7 +48483,7 @@ var hU = /*#__PURE__*/ XH({
|
|
|
48488
48483
|
class: "expert-card-modes expert-card-front-modes",
|
|
48489
48484
|
role: "radiogroup",
|
|
48490
48485
|
"aria-label": `${e.name} 启动方式`,
|
|
48491
|
-
onKeydown:
|
|
48486
|
+
onKeydown: Re
|
|
48492
48487
|
}, [(U(!0), W(H, null, B(h.value, (t) => (U(), W("button", {
|
|
48493
48488
|
key: t,
|
|
48494
48489
|
type: "button",
|
|
@@ -48499,15 +48494,16 @@ var hU = /*#__PURE__*/ XH({
|
|
|
48499
48494
|
onClick: (e) => r("mode", t)
|
|
48500
48495
|
}, P(_[t]), 9, MJ))), 128))], 40, jJ)) : Y("", !0),
|
|
48501
48496
|
K("span", NJ, [
|
|
48502
|
-
|
|
48497
|
+
O.value ? Y("", !0) : (U(), W("button", {
|
|
48498
|
+
key: 0,
|
|
48503
48499
|
type: "button",
|
|
48504
48500
|
class: M({ "is-set": Se.value }),
|
|
48505
48501
|
"aria-label": `编辑 ${e.name} 的描述`,
|
|
48506
|
-
title:
|
|
48502
|
+
title: we.value,
|
|
48507
48503
|
onClick: n[1] ||= (e) => Ce.value = !0
|
|
48508
|
-
}, [q(d, { name: "i-lucide-user-pen" })], 10, PJ),
|
|
48504
|
+
}, [q(d, { name: "i-lucide-user-pen" })], 10, PJ)),
|
|
48509
48505
|
e.hostable ? (U(), W("button", {
|
|
48510
|
-
key:
|
|
48506
|
+
key: 1,
|
|
48511
48507
|
type: "button",
|
|
48512
48508
|
class: "expert-card-host",
|
|
48513
48509
|
"aria-pressed": e.host,
|
|
@@ -48528,46 +48524,56 @@ var hU = /*#__PURE__*/ XH({
|
|
|
48528
48524
|
inert: !f.value,
|
|
48529
48525
|
"aria-hidden": !f.value
|
|
48530
48526
|
}, [K("div", RJ, [
|
|
48531
|
-
K("div", zJ, [K("strong", null, [J(P(e.name), 1), K("span", null, "设置" + P(j.value ? " · 不访问项目" : ""), 1)]), K("span", BJ, [
|
|
48532
|
-
|
|
48533
|
-
|
|
48534
|
-
|
|
48535
|
-
"
|
|
48536
|
-
|
|
48537
|
-
|
|
48538
|
-
|
|
48539
|
-
"
|
|
48540
|
-
|
|
48541
|
-
|
|
48542
|
-
|
|
48543
|
-
|
|
48544
|
-
|
|
48545
|
-
|
|
48546
|
-
|
|
48547
|
-
|
|
48548
|
-
|
|
48549
|
-
|
|
48550
|
-
|
|
48551
|
-
|
|
48552
|
-
|
|
48553
|
-
|
|
48554
|
-
|
|
48555
|
-
|
|
48556
|
-
|
|
48557
|
-
|
|
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
|
+
])]),
|
|
48558
48564
|
v.value && y.value.message ? (U(), W("p", {
|
|
48559
48565
|
key: 0,
|
|
48560
48566
|
role: y.value.state === "error" ? "alert" : "status",
|
|
48561
48567
|
class: "expert-card-check"
|
|
48562
|
-
}, P(y.value.message), 9,
|
|
48563
|
-
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, {
|
|
48564
48570
|
"model-value": p.value.adapter || "",
|
|
48565
48571
|
items: m.value,
|
|
48566
48572
|
placeholder: "选择 API / App / CLI",
|
|
48567
48573
|
"aria-label": `${e.name} 软件入口`,
|
|
48568
48574
|
size: "xs",
|
|
48569
48575
|
class: "w-full",
|
|
48570
|
-
"onUpdate:modelValue": n[
|
|
48576
|
+
"onUpdate:modelValue": n[5] ||= (t) => I(a).write_launch(e.name, "adapter", t)
|
|
48571
48577
|
}, null, 8, [
|
|
48572
48578
|
"model-value",
|
|
48573
48579
|
"items",
|
|
@@ -48589,16 +48595,16 @@ var hU = /*#__PURE__*/ XH({
|
|
|
48589
48595
|
"aria-label",
|
|
48590
48596
|
"onUpdate:modelValue"
|
|
48591
48597
|
])]))), 128)),
|
|
48592
|
-
E.value ? (U(), W("div",
|
|
48598
|
+
E.value ? (U(), W("div", GJ, [n[17] ||= K("span", null, "会话", -1), q(w, {
|
|
48593
48599
|
"model-value": e.session,
|
|
48594
48600
|
placeholder: "续接已有会话 ID,留空则新建",
|
|
48595
48601
|
"aria-label": `${e.name} 要续接的已有会话 ID`,
|
|
48596
48602
|
size: "xs",
|
|
48597
48603
|
class: "w-full",
|
|
48598
|
-
"onUpdate:modelValue": n[
|
|
48604
|
+
"onUpdate:modelValue": n[6] ||= (e) => r("session", e)
|
|
48599
48605
|
}, null, 8, ["model-value", "aria-label"])])) : Y("", !0),
|
|
48600
|
-
E.value && e.session.trim() && T.value ? (U(), W("p",
|
|
48601
|
-
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", {
|
|
48602
48608
|
class: "expert-card-modes",
|
|
48603
48609
|
role: "radiogroup",
|
|
48604
48610
|
"aria-label": `${e.name} 的项目文件权限`
|
|
@@ -48614,73 +48620,73 @@ var hU = /*#__PURE__*/ XH({
|
|
|
48614
48620
|
role: "radio",
|
|
48615
48621
|
"aria-checked": oe.value === t.value,
|
|
48616
48622
|
onClick: (n) => I(a).write_launch(e.name, "project_access", t.value)
|
|
48617
|
-
}, P(t.label), 9,
|
|
48623
|
+
}, P(t.label), 9, YJ)), 64))], 8, JJ)])) : Y("", !0),
|
|
48618
48624
|
v.value ? (U(), G(yK, {
|
|
48619
48625
|
key: 5,
|
|
48620
48626
|
name: e.name
|
|
48621
48627
|
}, null, 8, ["name"])) : te.value && !me.value.length ? (U(), W(H, { key: 6 }, [
|
|
48622
|
-
K("div",
|
|
48628
|
+
K("div", XJ, [n[19] ||= K("span", null, "模型", -1), q(S, {
|
|
48623
48629
|
"model-value": p.value.model || "__default__",
|
|
48624
48630
|
items: k.value.items,
|
|
48625
48631
|
title: k.value.source,
|
|
48626
48632
|
"aria-label": `${e.name} 使用的模型`,
|
|
48627
48633
|
size: "xs",
|
|
48628
48634
|
class: "w-full",
|
|
48629
|
-
"onUpdate:modelValue": n[
|
|
48635
|
+
"onUpdate:modelValue": n[7] ||= (t) => I(a).write_launch_model(e.name, t)
|
|
48630
48636
|
}, null, 8, [
|
|
48631
48637
|
"model-value",
|
|
48632
48638
|
"items",
|
|
48633
48639
|
"title",
|
|
48634
48640
|
"aria-label"
|
|
48635
48641
|
])]),
|
|
48636
|
-
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", {
|
|
48637
48643
|
key: 0,
|
|
48638
48644
|
type: "button",
|
|
48639
|
-
onClick: n[
|
|
48645
|
+
onClick: n[8] ||= (t) => I(a).load_launch_models(e.name, !0)
|
|
48640
48646
|
}, "重试")) : Y("", !0)])) : Y("", !0),
|
|
48641
|
-
re.value ? (U(), W("div",
|
|
48647
|
+
re.value ? (U(), W("div", QJ, [q(uJ, {
|
|
48642
48648
|
caption: "强度",
|
|
48643
48649
|
items: re.value,
|
|
48644
48650
|
"model-value": p.value.effort || "",
|
|
48645
48651
|
label: `${e.name} 的思考强度`,
|
|
48646
|
-
"onUpdate:modelValue": n[
|
|
48652
|
+
"onUpdate:modelValue": n[9] ||= (t) => I(a).write_launch(e.name, "effort", t)
|
|
48647
48653
|
}, null, 8, [
|
|
48648
48654
|
"items",
|
|
48649
48655
|
"model-value",
|
|
48650
48656
|
"label"
|
|
48651
|
-
])])) : (U(), W("p",
|
|
48657
|
+
])])) : (U(), W("p", $J, P(k.value.effort_note), 1)),
|
|
48652
48658
|
K("button", {
|
|
48653
48659
|
type: "button",
|
|
48654
48660
|
class: "expert-card-defaults",
|
|
48655
48661
|
title: "留空使用 CLI 默认值",
|
|
48656
48662
|
"aria-label": `恢复 ${e.name} 的默认模型与强度`,
|
|
48657
48663
|
disabled: !p.value.model && !p.value.effort,
|
|
48658
|
-
onClick:
|
|
48659
|
-
}, "恢复默认", 8,
|
|
48660
|
-
], 64)) : (U(), W("p",
|
|
48661
|
-
]), 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", {
|
|
48662
48668
|
type: "button",
|
|
48663
48669
|
class: "expert-card-flip is-cancel",
|
|
48664
48670
|
"aria-label": `放弃 ${e.name} 的修改`,
|
|
48665
48671
|
onClick: xe
|
|
48666
|
-
}, "取消", 8,
|
|
48672
|
+
}, "取消", 8, rY), K("button", {
|
|
48667
48673
|
ref_key: "back_button",
|
|
48668
48674
|
ref: u,
|
|
48669
48675
|
type: "button",
|
|
48670
48676
|
class: "expert-card-flip is-done",
|
|
48671
48677
|
"aria-label": `保存并返回 ${e.name} 角色卡片`,
|
|
48672
|
-
onClick: n[
|
|
48673
|
-
}, [q(d, { name: "i-lucide-check" }), n[
|
|
48678
|
+
onClick: n[10] ||= (e) => be(!1)
|
|
48679
|
+
}, [q(d, { name: "i-lucide-check" }), n[20] ||= J("完成", -1)], 8, iY)])], 8, LJ)) : Y("", !0)]),
|
|
48674
48680
|
_: 1
|
|
48675
48681
|
}, 8, ["style"]),
|
|
48676
48682
|
q(gJ, {
|
|
48677
48683
|
open: Ce.value,
|
|
48678
|
-
"onUpdate:open": n[
|
|
48684
|
+
"onUpdate:open": n[11] ||= (e) => Ce.value = e,
|
|
48679
48685
|
name: e.name,
|
|
48680
48686
|
platform: I(a).platform_of(e.name),
|
|
48681
48687
|
text: Se.value,
|
|
48682
48688
|
template: I(a).description_template(e.name),
|
|
48683
|
-
onSave:
|
|
48689
|
+
onSave: Te
|
|
48684
48690
|
}, null, 8, [
|
|
48685
48691
|
"open",
|
|
48686
48692
|
"name",
|
|
@@ -48689,20 +48695,20 @@ var hU = /*#__PURE__*/ XH({
|
|
|
48689
48695
|
"template"
|
|
48690
48696
|
]),
|
|
48691
48697
|
q(mJ, {
|
|
48692
|
-
open:
|
|
48693
|
-
"onUpdate:open": n[
|
|
48694
|
-
draft:
|
|
48695
|
-
"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,
|
|
48696
48702
|
title: `${e.name} 的专属提示词`,
|
|
48697
48703
|
description: "只发给这位专家,补充它的做法与偏好;不改变权限和技能规则。",
|
|
48698
48704
|
label: `${e.name} 的专属提示词`,
|
|
48699
48705
|
placeholder: "例如:回答先给结论,控制在三段以内。",
|
|
48700
48706
|
max: I(_J),
|
|
48701
48707
|
rows: 8,
|
|
48702
|
-
note:
|
|
48703
|
-
source:
|
|
48704
|
-
changed:
|
|
48705
|
-
onSave:
|
|
48708
|
+
note: Ne.value,
|
|
48709
|
+
source: Pe.value,
|
|
48710
|
+
changed: Me.value,
|
|
48711
|
+
onSave: Ie
|
|
48706
48712
|
}, null, 8, [
|
|
48707
48713
|
"open",
|
|
48708
48714
|
"draft",
|
|
@@ -48716,12 +48722,12 @@ var hU = /*#__PURE__*/ XH({
|
|
|
48716
48722
|
], 42, yJ);
|
|
48717
48723
|
};
|
|
48718
48724
|
}
|
|
48719
|
-
}, [["__scopeId", "data-v-
|
|
48725
|
+
}, [["__scopeId", "data-v-18d3f253"]]), cY = ["aria-label"], lY = [
|
|
48720
48726
|
"disabled",
|
|
48721
48727
|
"title",
|
|
48722
48728
|
"aria-label",
|
|
48723
48729
|
"onClick"
|
|
48724
|
-
],
|
|
48730
|
+
], uY = /*#__PURE__*/ XH({
|
|
48725
48731
|
__name: "RosterAdd",
|
|
48726
48732
|
props: {
|
|
48727
48733
|
label: {
|
|
@@ -48769,17 +48775,17 @@ var hU = /*#__PURE__*/ XH({
|
|
|
48769
48775
|
]),
|
|
48770
48776
|
J(P(e.name), 1),
|
|
48771
48777
|
q(o, { name: "i-lucide-plus" })
|
|
48772
|
-
], 8,
|
|
48778
|
+
], 8, lY))), 128))], 8, cY);
|
|
48773
48779
|
};
|
|
48774
48780
|
}
|
|
48775
|
-
}, [["__scopeId", "data-v-155b366c"]]),
|
|
48781
|
+
}, [["__scopeId", "data-v-155b366c"]]), dY = { class: "scheduler-settings" }, fY = { class: "scheduler-title" }, pY = { class: "scheduler-description" }, mY = {
|
|
48776
48782
|
key: 0,
|
|
48777
48783
|
class: "scheduler-cards"
|
|
48778
|
-
},
|
|
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 = {
|
|
48779
48785
|
key: 0,
|
|
48780
48786
|
role: "alert",
|
|
48781
48787
|
class: "scheduler-error"
|
|
48782
|
-
},
|
|
48788
|
+
}, EY = ["role"], DY = { class: "scheduler-flip-actions" }, OY = "••••••••••••", kY = /*#__PURE__*/ XH({
|
|
48783
48789
|
__name: "SchedulerSettings",
|
|
48784
48790
|
props: {
|
|
48785
48791
|
free: {
|
|
@@ -48891,8 +48897,8 @@ var hU = /*#__PURE__*/ XH({
|
|
|
48891
48897
|
}
|
|
48892
48898
|
return (t, a) => {
|
|
48893
48899
|
let g = WV, D = pA, O = sA, ee = MA, k = uK, te = YV;
|
|
48894
|
-
return U(), W("div",
|
|
48895
|
-
K("div", null, [K("p",
|
|
48900
|
+
return U(), W("div", dY, [
|
|
48901
|
+
K("div", null, [K("p", fY, [
|
|
48896
48902
|
a[5] ||= J("智能调度", -1),
|
|
48897
48903
|
q(g, {
|
|
48898
48904
|
size: "xs",
|
|
@@ -48903,16 +48909,16 @@ var hU = /*#__PURE__*/ XH({
|
|
|
48903
48909
|
_: 1
|
|
48904
48910
|
}),
|
|
48905
48911
|
a[6] ||= K("small", null, "可选", -1)
|
|
48906
|
-
]), K("p",
|
|
48907
|
-
q(
|
|
48912
|
+
]), K("p", pY, P(e.blocker ? `${T.value}(${e.blocker})` : T.value), 1)]),
|
|
48913
|
+
q(uY, {
|
|
48908
48914
|
ref_key: "add_row",
|
|
48909
48915
|
ref: l,
|
|
48910
48916
|
label: "添加决策模型",
|
|
48911
48917
|
items: u.value,
|
|
48912
48918
|
onAdd: y
|
|
48913
48919
|
}, null, 8, ["items"]),
|
|
48914
|
-
c.value ? (U(), W("div",
|
|
48915
|
-
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, {
|
|
48916
48922
|
icon: "i-lucide-zap",
|
|
48917
48923
|
"aria-label": "检查智能调度配置",
|
|
48918
48924
|
title: "检查配置:向决策模型发送一道极短的是非题,核对供应商、模型与密钥",
|
|
@@ -48927,7 +48933,7 @@ var hU = /*#__PURE__*/ XH({
|
|
|
48927
48933
|
"loading",
|
|
48928
48934
|
"disabled"
|
|
48929
48935
|
])]),
|
|
48930
|
-
K("div",
|
|
48936
|
+
K("div", CY, [a[12] ||= K("span", null, "模型", -1), q(k, {
|
|
48931
48937
|
mode: "autocomplete",
|
|
48932
48938
|
"ignore-filter": "",
|
|
48933
48939
|
"model-value": i.value.model || "",
|
|
@@ -48939,7 +48945,7 @@ var hU = /*#__PURE__*/ XH({
|
|
|
48939
48945
|
class: "w-full",
|
|
48940
48946
|
"onUpdate:modelValue": a[0] ||= (e) => I(r).write_scheduler("model", e)
|
|
48941
48947
|
}, null, 8, ["model-value", "items"])]),
|
|
48942
|
-
K("div",
|
|
48948
|
+
K("div", wY, [a[13] ||= K("span", null, "密钥", -1), q(te, {
|
|
48943
48949
|
modelValue: d.value,
|
|
48944
48950
|
"onUpdate:modelValue": a[2] ||= (e) => d.value = e,
|
|
48945
48951
|
type: "text",
|
|
@@ -48947,7 +48953,7 @@ var hU = /*#__PURE__*/ XH({
|
|
|
48947
48953
|
spellcheck: "false",
|
|
48948
48954
|
"data-1p-ignore": "",
|
|
48949
48955
|
"data-lpignore": "true",
|
|
48950
|
-
placeholder: i.value.api_key_ref ?
|
|
48956
|
+
placeholder: i.value.api_key_ref ? OY : "填写所选供应商的 API Key",
|
|
48951
48957
|
title: i.value.api_key_ref && !d.value ? "已保存;本机不回传密钥,输入新 Key 可更换" : void 0,
|
|
48952
48958
|
"aria-label": "智能调度 API Key",
|
|
48953
48959
|
size: "xs",
|
|
@@ -48982,14 +48988,14 @@ var hU = /*#__PURE__*/ XH({
|
|
|
48982
48988
|
"loading",
|
|
48983
48989
|
"ui"
|
|
48984
48990
|
])]),
|
|
48985
|
-
m.value ? (U(), W("p",
|
|
48991
|
+
m.value ? (U(), W("p", TY, P(m.value), 1)) : Y("", !0),
|
|
48986
48992
|
C.value.message ? (U(), W("p", {
|
|
48987
48993
|
key: 1,
|
|
48988
48994
|
role: C.value.state === "error" ? "alert" : "status",
|
|
48989
48995
|
class: M(C.value.state === "error" ? "scheduler-error" : "scheduler-ok")
|
|
48990
|
-
}, P(C.value.message), 11,
|
|
48996
|
+
}, P(C.value.message), 11, EY)) : Y("", !0),
|
|
48991
48997
|
a[14] ||= K("p", { class: "scheduler-note" }, "决策模型只做选择、不生成文本,只按输入计费。判断时会把房间标题和最近 10 条消息发给所选供应商;密钥只存本机。", -1)
|
|
48992
|
-
]), K("span",
|
|
48998
|
+
]), K("span", DY, [K("button", {
|
|
48993
48999
|
type: "button",
|
|
48994
49000
|
class: "scheduler-flip is-cancel",
|
|
48995
49001
|
"aria-label": "放弃决策模型的修改",
|
|
@@ -49006,7 +49012,7 @@ var hU = /*#__PURE__*/ XH({
|
|
|
49006
49012
|
title: "点击设置",
|
|
49007
49013
|
onClick: _
|
|
49008
49014
|
}, [
|
|
49009
|
-
K("span",
|
|
49015
|
+
K("span", hY, [q(D, {
|
|
49010
49016
|
src: s[i.value.provider]?.icon,
|
|
49011
49017
|
text: x.value.slice(0, 2),
|
|
49012
49018
|
alt: x.value,
|
|
@@ -49018,40 +49024,40 @@ var hU = /*#__PURE__*/ XH({
|
|
|
49018
49024
|
"alt",
|
|
49019
49025
|
"class"
|
|
49020
49026
|
]), K("strong", null, P(x.value), 1)]),
|
|
49021
|
-
K("dl",
|
|
49022
|
-
K("span",
|
|
49023
|
-
]), 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", {
|
|
49024
49030
|
type: "button",
|
|
49025
49031
|
"aria-label": `移出决策模型 ${x.value}`,
|
|
49026
49032
|
title: "移出",
|
|
49027
49033
|
onClick: b
|
|
49028
|
-
}, [q(O, { name: "i-lucide-x" })], 8,
|
|
49034
|
+
}, [q(O, { name: "i-lucide-x" })], 8, bY)])], 64))], 2)])) : Y("", !0)
|
|
49029
49035
|
]);
|
|
49030
49036
|
};
|
|
49031
49037
|
}
|
|
49032
|
-
}, [["__scopeId", "data-v-3e1049d5"]]),
|
|
49038
|
+
}, [["__scopeId", "data-v-3e1049d5"]]), AY = { class: "create-discussion" }, jY = {
|
|
49033
49039
|
key: 0,
|
|
49034
49040
|
class: "create-connect",
|
|
49035
49041
|
role: "status"
|
|
49036
|
-
},
|
|
49042
|
+
}, MY = { class: "create-connect-command" }, NY = {
|
|
49037
49043
|
key: 1,
|
|
49038
49044
|
class: "channel-create-location"
|
|
49039
|
-
},
|
|
49045
|
+
}, PY = { class: "create-section" }, FY = { class: "create-section" }, IY = {
|
|
49040
49046
|
key: 0,
|
|
49041
49047
|
class: "create-experts",
|
|
49042
49048
|
role: "group",
|
|
49043
49049
|
"aria-label": "参与的 AI"
|
|
49044
|
-
},
|
|
49050
|
+
}, LY = {
|
|
49045
49051
|
key: 1,
|
|
49046
49052
|
class: "create-experts-empty"
|
|
49047
|
-
},
|
|
49053
|
+
}, RY = {
|
|
49048
49054
|
key: 2,
|
|
49049
49055
|
class: "fine-print create-hint create-host-hint"
|
|
49050
|
-
},
|
|
49056
|
+
}, zY = { class: "create-section" }, BY = { class: "create-footer" }, VY = {
|
|
49051
49057
|
key: 0,
|
|
49052
49058
|
role: "alert",
|
|
49053
49059
|
class: "create-error"
|
|
49054
|
-
},
|
|
49060
|
+
}, HY = { class: "create-footer-row" }, UY = ["title"], WY = "new-expert-modes", GY = 3e3, KY = /*#__PURE__*/ XH({
|
|
49055
49061
|
__name: "CreateDiscussion",
|
|
49056
49062
|
props: { targetFolder: {
|
|
49057
49063
|
type: Object,
|
|
@@ -49059,7 +49065,7 @@ var hU = /*#__PURE__*/ XH({
|
|
|
49059
49065
|
} },
|
|
49060
49066
|
emits: ["submit", "cancel"],
|
|
49061
49067
|
setup(e, { emit: t }) {
|
|
49062
|
-
let n = t, { view: r, bridge: i, pending: a, act: o } = xr("discussion"), s = Object.keys(i.identities).filter((e) => e !== "用户"), c = (e) => `new-room-${e}`, l = (e) => r.value.fields[c(e)] ?? "", u = (e, t) => i.write_field(c(e), t), d = Z(() => !!r.value.create_discussion), f = Z(() => r.value.experts[
|
|
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]));
|
|
49063
49069
|
R(m, (e) => {
|
|
49064
49070
|
p.value = [...p.value.filter((t) => e.includes(t)), ...e.filter((e) => !p.value.includes(e))];
|
|
49065
49071
|
}, { immediate: !0 });
|
|
@@ -49083,14 +49089,14 @@ var hU = /*#__PURE__*/ XH({
|
|
|
49083
49089
|
Qi(() => {
|
|
49084
49090
|
ae(), ie = window.setInterval(() => {
|
|
49085
49091
|
re.value && !document.hidden && o("check_launch_connection");
|
|
49086
|
-
},
|
|
49092
|
+
}, GY);
|
|
49087
49093
|
}), ta(() => window.clearInterval(ie));
|
|
49088
49094
|
function oe(e) {
|
|
49089
49095
|
i.write_create_discussion(e), Qn(ae);
|
|
49090
49096
|
}
|
|
49091
49097
|
let se = (e) => i.launch_clients[e]?.some((e) => e.value !== "api"), ce = (e) => d.value && e === v.value ? [] : ["cli", "manual"];
|
|
49092
49098
|
function le(e, t) {
|
|
49093
|
-
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();
|
|
49094
49100
|
}
|
|
49095
49101
|
function ue(e) {
|
|
49096
49102
|
if (f.value[e] === "online") return {
|
|
@@ -49129,7 +49135,7 @@ var hU = /*#__PURE__*/ XH({
|
|
|
49129
49135
|
aria_label: `添加 ${e} 实例`
|
|
49130
49136
|
})));
|
|
49131
49137
|
function pe(e) {
|
|
49132
|
-
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());
|
|
49133
49139
|
}
|
|
49134
49140
|
function me(e) {
|
|
49135
49141
|
le(e, ""), Qn(() => _.value?.focus_first());
|
|
@@ -49151,20 +49157,20 @@ var hU = /*#__PURE__*/ XH({
|
|
|
49151
49157
|
});
|
|
49152
49158
|
return (t, s) => {
|
|
49153
49159
|
let c = sA, p = MA, m = YV, g = zV, x = Xq, T = HV;
|
|
49154
|
-
return U(), W("div",
|
|
49160
|
+
return U(), W("div", AY, [K("form", {
|
|
49155
49161
|
id: "create-discussion-form",
|
|
49156
49162
|
class: "create-scroll dialog-form",
|
|
49157
49163
|
onSubmit: uu(he, ["prevent"])
|
|
49158
49164
|
}, [
|
|
49159
|
-
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, {
|
|
49160
49166
|
icon: "i-lucide-copy",
|
|
49161
49167
|
"aria-label": "复制本机连接命令",
|
|
49162
49168
|
variant: "ghost",
|
|
49163
49169
|
color: "neutral",
|
|
49164
49170
|
onClick: s[0] ||= (e) => I(o)("copy", I(r).launch.connect_command)
|
|
49165
49171
|
})])])) : Y("", !0),
|
|
49166
|
-
e.targetFolder?.id ? (U(), W("p",
|
|
49167
|
-
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, [
|
|
49168
49174
|
s[10] ||= K("h3", null, [K("span", null, "1"), J("这次做什么")], -1),
|
|
49169
49175
|
q(g, {
|
|
49170
49176
|
label: "话题名称",
|
|
@@ -49190,16 +49196,16 @@ var hU = /*#__PURE__*/ XH({
|
|
|
49190
49196
|
_: 1
|
|
49191
49197
|
}, 8, ["description"])
|
|
49192
49198
|
]),
|
|
49193
|
-
K("section",
|
|
49199
|
+
K("section", FY, [
|
|
49194
49200
|
s[11] ||= K("h3", null, [K("span", null, "2"), J("谁来参与")], -1),
|
|
49195
|
-
q(
|
|
49201
|
+
q(uY, {
|
|
49196
49202
|
ref_key: "library",
|
|
49197
49203
|
ref: _,
|
|
49198
49204
|
label: "添加 AI",
|
|
49199
49205
|
items: fe.value,
|
|
49200
49206
|
onAdd: pe
|
|
49201
49207
|
}, null, 8, ["items"]),
|
|
49202
|
-
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, {
|
|
49203
49209
|
key: e,
|
|
49204
49210
|
name: e,
|
|
49205
49211
|
mode: f.value[e],
|
|
@@ -49221,14 +49227,14 @@ var hU = /*#__PURE__*/ XH({
|
|
|
49221
49227
|
"onHost",
|
|
49222
49228
|
"onRemove",
|
|
49223
49229
|
"onMode"
|
|
49224
|
-
]))), 128))])) : (U(), W("p",
|
|
49225
|
-
h.value.length ? (U(), W("div",
|
|
49226
|
-
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, {
|
|
49227
49233
|
free: !0,
|
|
49228
49234
|
blocker: te.value
|
|
49229
49235
|
}, null, 8, ["blocker"])
|
|
49230
49236
|
]),
|
|
49231
|
-
K("section",
|
|
49237
|
+
K("section", zY, [
|
|
49232
49238
|
s[12] ||= K("h3", null, [K("span", null, "3"), J("推进方式(可选)")], -1),
|
|
49233
49239
|
q(x, {
|
|
49234
49240
|
"model-value": d.value,
|
|
@@ -49274,7 +49280,7 @@ var hU = /*#__PURE__*/ XH({
|
|
|
49274
49280
|
"execution_minutes"
|
|
49275
49281
|
])], 64)) : Y("", !0)
|
|
49276
49282
|
])
|
|
49277
|
-
], 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, [
|
|
49278
49284
|
K("span", {
|
|
49279
49285
|
class: M(["create-summary", { "is-blocked": A.value }]),
|
|
49280
49286
|
title: A.value || ge.value,
|
|
@@ -49282,7 +49288,7 @@ var hU = /*#__PURE__*/ XH({
|
|
|
49282
49288
|
}, [A.value ? (U(), G(c, {
|
|
49283
49289
|
key: 0,
|
|
49284
49290
|
name: "i-lucide-circle-alert"
|
|
49285
|
-
})) : 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),
|
|
49286
49292
|
q(p, {
|
|
49287
49293
|
label: "取消",
|
|
49288
49294
|
color: "neutral",
|
|
@@ -49306,46 +49312,46 @@ var hU = /*#__PURE__*/ XH({
|
|
|
49306
49312
|
])])]);
|
|
49307
49313
|
};
|
|
49308
49314
|
}
|
|
49309
|
-
}, [["__scopeId", "data-v-61eb0b0c"]]),
|
|
49315
|
+
}, [["__scopeId", "data-v-61eb0b0c"]]), qY = {
|
|
49310
49316
|
class: "account-settings",
|
|
49311
49317
|
"aria-labelledby": "account-heading"
|
|
49312
|
-
},
|
|
49318
|
+
}, JY = {
|
|
49313
49319
|
key: 0,
|
|
49314
49320
|
class: "fine-print",
|
|
49315
49321
|
role: "status"
|
|
49316
|
-
},
|
|
49322
|
+
}, YY = ["aria-label"], XY = { class: "fine-print account-intro" }, ZY = {
|
|
49317
49323
|
key: 0,
|
|
49318
49324
|
class: "account-message is-error",
|
|
49319
49325
|
role: "status"
|
|
49320
|
-
}, ZY = {
|
|
49321
|
-
key: 1,
|
|
49322
|
-
class: "fine-print"
|
|
49323
49326
|
}, QY = {
|
|
49324
49327
|
key: 1,
|
|
49325
49328
|
class: "fine-print"
|
|
49326
49329
|
}, $Y = {
|
|
49330
|
+
key: 1,
|
|
49331
|
+
class: "fine-print"
|
|
49332
|
+
}, eX = {
|
|
49327
49333
|
key: 2,
|
|
49328
49334
|
class: "account-message is-error",
|
|
49329
49335
|
role: "alert"
|
|
49330
|
-
},
|
|
49336
|
+
}, tX = {
|
|
49331
49337
|
key: 3,
|
|
49332
49338
|
class: "account-message",
|
|
49333
49339
|
role: "status"
|
|
49334
|
-
},
|
|
49340
|
+
}, nX = { class: "account-actions" }, rX = {
|
|
49335
49341
|
key: 2,
|
|
49336
49342
|
class: "account-profile"
|
|
49337
|
-
},
|
|
49343
|
+
}, iX = { class: "account-identity" }, aX = { class: "account-avatar-actions" }, oX = { class: "account-name-row" }, sX = {
|
|
49338
49344
|
key: 0,
|
|
49339
49345
|
class: "account-message is-error",
|
|
49340
49346
|
role: "alert"
|
|
49341
|
-
},
|
|
49347
|
+
}, cX = {
|
|
49342
49348
|
key: 1,
|
|
49343
49349
|
class: "account-message",
|
|
49344
49350
|
role: "status"
|
|
49345
|
-
},
|
|
49351
|
+
}, lX = {
|
|
49346
49352
|
key: 2,
|
|
49347
49353
|
class: "account-signout account-actions"
|
|
49348
|
-
},
|
|
49354
|
+
}, uX = {
|
|
49349
49355
|
__name: "AccountSettings",
|
|
49350
49356
|
setup(e) {
|
|
49351
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({
|
|
@@ -49413,13 +49419,13 @@ var hU = /*#__PURE__*/ XH({
|
|
|
49413
49419
|
}
|
|
49414
49420
|
return (e, t) => {
|
|
49415
49421
|
let p = YV, y = zV, b = MA, x = pA;
|
|
49416
|
-
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", {
|
|
49417
49423
|
key: 1,
|
|
49418
49424
|
class: "dialog-form account-form",
|
|
49419
49425
|
"aria-label": a.value === "register" ? "设置管理员账号" : "登录管理员账号",
|
|
49420
49426
|
onSubmit: uu(m, ["prevent"])
|
|
49421
49427
|
}, [
|
|
49422
|
-
K("p",
|
|
49428
|
+
K("p", XY, [a.value === "register" ? (U(), W(H, { key: 0 }, [J("设置站点管理员账号:名称和头像对所有访客可见,登录后可在没有房间凭据的浏览器中存档、恢复、删除房间。")], 64)) : (U(), W(H, { key: 1 }, [J("登录后可管理房间;未登录时仍可阅读并使用本浏览器创建的房间。")], 64))]),
|
|
49423
49429
|
q(y, {
|
|
49424
49430
|
label: "用户名",
|
|
49425
49431
|
description: a.value === "register" ? "1–30 个字符,也是公开显示的名称" : void 0,
|
|
@@ -49486,18 +49492,18 @@ var hU = /*#__PURE__*/ XH({
|
|
|
49486
49492
|
}, null, 8, ["modelValue", "disabled"])]),
|
|
49487
49493
|
_: 1
|
|
49488
49494
|
}),
|
|
49489
|
-
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] ||= [
|
|
49490
49496
|
J("首个注册者需要安装令牌,防止他人抢注。本地版见服务端启动日志;Cloudflare 版为部署机密 ADMIN_SETUP_KEY。忘记密码:本地版运行 ", -1),
|
|
49491
49497
|
K("code", null, "python server.py --reset-admin", -1),
|
|
49492
49498
|
J(" 后重新注册;Cloudflare 版需清空管理员表(见部署文档)。", -1)
|
|
49493
49499
|
]]))
|
|
49494
|
-
], 64)) : (U(), W("p",
|
|
49500
|
+
], 64)) : (U(), W("p", $Y, [...t[7] ||= [
|
|
49495
49501
|
J("忘记密码:本地版运行 ", -1),
|
|
49496
49502
|
K("code", null, "python server.py --reset-admin", -1),
|
|
49497
49503
|
J(" 后重新注册;Cloudflare 版需清空管理员表(见部署文档)。", -1)
|
|
49498
49504
|
]])),
|
|
49499
|
-
s.auth.error ? (U(), W("p",
|
|
49500
|
-
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, {
|
|
49501
49507
|
type: "submit",
|
|
49502
49508
|
class: "channel-primary-button",
|
|
49503
49509
|
label: a.value === "register" ? "创建并登录" : "登录",
|
|
@@ -49508,13 +49514,13 @@ var hU = /*#__PURE__*/ XH({
|
|
|
49508
49514
|
"loading",
|
|
49509
49515
|
"disabled"
|
|
49510
49516
|
])])
|
|
49511
|
-
], 40,
|
|
49512
|
-
K("div",
|
|
49517
|
+
], 40, YY)) : (U(), W("div", rX, [
|
|
49518
|
+
K("div", iX, [q(x, {
|
|
49513
49519
|
src: I(n).identities.用户.icon,
|
|
49514
49520
|
alt: `${I(n).display_name("用户")} 的头像`,
|
|
49515
49521
|
size: "lg",
|
|
49516
49522
|
class: "channel-avatar user account-avatar"
|
|
49517
|
-
}, null, 8, ["src", "alt"]), K("div",
|
|
49523
|
+
}, null, 8, ["src", "alt"]), K("div", aX, [
|
|
49518
49524
|
K("input", {
|
|
49519
49525
|
ref_key: "avatar_input",
|
|
49520
49526
|
ref: u,
|
|
@@ -49552,7 +49558,7 @@ var hU = /*#__PURE__*/ XH({
|
|
|
49552
49558
|
label: "显示名称",
|
|
49553
49559
|
description: "即用户名,对所有访客可见"
|
|
49554
49560
|
}, {
|
|
49555
|
-
default: L(() => [K("div",
|
|
49561
|
+
default: L(() => [K("div", oX, [q(p, {
|
|
49556
49562
|
modelValue: l.value,
|
|
49557
49563
|
"onUpdate:modelValue": t[5] ||= (e) => l.value = e,
|
|
49558
49564
|
autocomplete: "username",
|
|
@@ -49570,8 +49576,8 @@ var hU = /*#__PURE__*/ XH({
|
|
|
49570
49576
|
}, null, 8, ["loading", "disabled"])])]),
|
|
49571
49577
|
_: 1
|
|
49572
49578
|
})], 32),
|
|
49573
|
-
s.profile.error ? (U(), W("p",
|
|
49574
|
-
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, {
|
|
49575
49581
|
label: "退出登录",
|
|
49576
49582
|
icon: "i-lucide-log-out",
|
|
49577
49583
|
color: "neutral",
|
|
@@ -49584,65 +49590,65 @@ var hU = /*#__PURE__*/ XH({
|
|
|
49584
49590
|
]))]);
|
|
49585
49591
|
};
|
|
49586
49592
|
}
|
|
49587
|
-
},
|
|
49593
|
+
}, dX = {
|
|
49588
49594
|
key: 0,
|
|
49589
49595
|
class: "channel-archive-manager"
|
|
49590
|
-
},
|
|
49596
|
+
}, fX = { class: "channel-archive-toolbar" }, pX = {
|
|
49591
49597
|
key: 0,
|
|
49592
49598
|
class: "channel-archive-confirm channel-archive-bulk",
|
|
49593
49599
|
role: "alert"
|
|
49594
|
-
},
|
|
49600
|
+
}, mX = {
|
|
49595
49601
|
key: 1,
|
|
49596
49602
|
role: "alert",
|
|
49597
49603
|
class: "channel-directory-error"
|
|
49598
|
-
},
|
|
49604
|
+
}, hX = { class: "channel-archive-results" }, gX = {
|
|
49599
49605
|
key: 0,
|
|
49600
49606
|
class: "channel-archive-list",
|
|
49601
49607
|
"aria-label": "已存档房间列表"
|
|
49602
|
-
},
|
|
49608
|
+
}, _X = { class: "channel-archive-row" }, vX = { class: "channel-archive-info" }, yX = [
|
|
49603
49609
|
"title",
|
|
49604
49610
|
"disabled",
|
|
49605
49611
|
"onClick"
|
|
49606
|
-
],
|
|
49612
|
+
], bX = { key: 0 }, xX = ["datetime"], SX = { class: "channel-archive-actions" }, CX = {
|
|
49607
49613
|
key: 0,
|
|
49608
49614
|
class: "channel-archive-confirm channel-archive-bulk",
|
|
49609
49615
|
role: "alert"
|
|
49610
|
-
},
|
|
49616
|
+
}, wX = {
|
|
49611
49617
|
key: 1,
|
|
49612
49618
|
class: "channel-archive-empty"
|
|
49613
|
-
},
|
|
49619
|
+
}, TX = { class: "fine-print" }, EX = { class: "dialog-actions" }, DX = { class: "dialog-actions" }, OX = { class: "channel-management-target" }, kX = {
|
|
49614
49620
|
key: 0,
|
|
49615
49621
|
class: "fine-print"
|
|
49616
|
-
},
|
|
49622
|
+
}, AX = {
|
|
49617
49623
|
key: 1,
|
|
49618
49624
|
class: "fine-print"
|
|
49619
|
-
},
|
|
49625
|
+
}, jX = {
|
|
49620
49626
|
key: 2,
|
|
49621
49627
|
class: "fine-print"
|
|
49622
|
-
},
|
|
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 = {
|
|
49623
49629
|
class: "channel-reading-options",
|
|
49624
49630
|
role: "group",
|
|
49625
49631
|
"aria-labelledby": "channel-reading-label"
|
|
49626
|
-
},
|
|
49632
|
+
}, zX = { class: "channel-reading-setting" }, BX = {
|
|
49627
49633
|
class: "channel-reading-options channel-effect-options",
|
|
49628
49634
|
role: "group",
|
|
49629
49635
|
"aria-labelledby": "channel-effects-label"
|
|
49630
|
-
},
|
|
49636
|
+
}, VX = { class: "form-two-columns" }, HX = { class: "advanced-content" }, UX = {
|
|
49631
49637
|
key: 0,
|
|
49632
49638
|
class: "fine-print"
|
|
49633
|
-
},
|
|
49639
|
+
}, WX = { class: "advanced-content" }, GX = { class: "expert-fields" }, KX = { class: "dialog-actions" }, qX = { class: "dialog-actions" }, JX = {
|
|
49634
49640
|
key: 8,
|
|
49635
49641
|
class: "original-message"
|
|
49636
|
-
},
|
|
49642
|
+
}, YX = {
|
|
49637
49643
|
key: 0,
|
|
49638
49644
|
role: "alert"
|
|
49639
|
-
},
|
|
49645
|
+
}, XX = { class: "original-meta" }, ZX = { class: "fine-print" }, QX = {
|
|
49640
49646
|
key: 0,
|
|
49641
49647
|
class: "channel-answer-summary"
|
|
49642
|
-
},
|
|
49648
|
+
}, $X = { class: "message-prose" }, eZ = { class: "message-prose" }, tZ = ["innerHTML"], nZ = {
|
|
49643
49649
|
key: 2,
|
|
49644
49650
|
class: "fine-print"
|
|
49645
|
-
},
|
|
49651
|
+
}, rZ = "topic-expert-modes", iZ = {
|
|
49646
49652
|
__name: "WorkspaceDialogs",
|
|
49647
49653
|
props: /*@__PURE__*/ Fa({
|
|
49648
49654
|
detailId: {
|
|
@@ -49920,8 +49926,8 @@ var hU = /*#__PURE__*/ XH({
|
|
|
49920
49926
|
} : void 0,
|
|
49921
49927
|
"onAfter:leave": be
|
|
49922
49928
|
}, {
|
|
49923
|
-
body: L(() => [a.value === "archives" ? (U(), W("section",
|
|
49924
|
-
K("div",
|
|
49929
|
+
body: L(() => [a.value === "archives" ? (U(), W("section", dX, [
|
|
49930
|
+
K("div", fX, [
|
|
49925
49931
|
q(x, {
|
|
49926
49932
|
modelValue: h.value,
|
|
49927
49933
|
"onUpdate:modelValue": c[0] ||= (e) => h.value = e,
|
|
@@ -49950,7 +49956,7 @@ var hU = /*#__PURE__*/ XH({
|
|
|
49950
49956
|
}
|
|
49951
49957
|
}, null, 8, ["label", "disabled"])
|
|
49952
49958
|
]),
|
|
49953
|
-
b.value && v.value.length ? (U(), W("div",
|
|
49959
|
+
b.value && v.value.length ? (U(), W("div", pX, [
|
|
49954
49960
|
K("span", null, "将永久删除当前列表中的 " + P(v.value.length) + " 个房间及其全部记录,无法撤销。", 1),
|
|
49955
49961
|
q(le, {
|
|
49956
49962
|
label: "取消",
|
|
@@ -49966,20 +49972,20 @@ var hU = /*#__PURE__*/ XH({
|
|
|
49966
49972
|
onClick: D
|
|
49967
49973
|
})
|
|
49968
49974
|
])) : Y("", !0),
|
|
49969
|
-
I(o).directory_error ? (U(), W("p",
|
|
49970
|
-
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", {
|
|
49971
49977
|
key: e.id,
|
|
49972
49978
|
class: "channel-archive-item"
|
|
49973
|
-
}, [K("div",
|
|
49979
|
+
}, [K("div", _X, [K("div", vX, [K("button", {
|
|
49974
49980
|
class: "channel-archive-title",
|
|
49975
49981
|
title: e.title,
|
|
49976
49982
|
disabled: !!I(u),
|
|
49977
49983
|
onClick: (t) => T(e)
|
|
49978
|
-
}, P(e.title), 9,
|
|
49984
|
+
}, P(e.title), 9, yX), K("small", null, [e.created_at ? (U(), W("span", bX, [
|
|
49979
49985
|
c[26] ||= J("创建于 ", -1),
|
|
49980
|
-
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),
|
|
49981
49987
|
c[27] ||= J(" · ", -1)
|
|
49982
|
-
])) : Y("", !0), J(P(e.message_count) + " 条消息", 1)])]), K("div",
|
|
49988
|
+
])) : Y("", !0), J(P(e.message_count) + " 条消息", 1)])]), K("div", SX, [q(le, {
|
|
49983
49989
|
"aria-label": `彻底删除 ${e.title}`,
|
|
49984
49990
|
title: "彻底删除",
|
|
49985
49991
|
icon: "i-lucide-trash-2",
|
|
@@ -50011,7 +50017,7 @@ var hU = /*#__PURE__*/ XH({
|
|
|
50011
50017
|
"aria-label",
|
|
50012
50018
|
"disabled",
|
|
50013
50019
|
"onClick"
|
|
50014
|
-
])])]), y.value === e.id ? (U(), W("div",
|
|
50020
|
+
])])]), y.value === e.id ? (U(), W("div", CX, [
|
|
50015
50021
|
K("span", null, "永久删除「" + P(e.title) + "」及其全部记录,无法撤销。", 1),
|
|
50016
50022
|
q(le, {
|
|
50017
50023
|
label: "取消",
|
|
@@ -50027,12 +50033,12 @@ var hU = /*#__PURE__*/ XH({
|
|
|
50027
50033
|
disabled: w(e),
|
|
50028
50034
|
onClick: E
|
|
50029
50035
|
}, null, 8, ["disabled"])
|
|
50030
|
-
])) : Y("", !0)]))), 128))])) : (U(), W("p",
|
|
50036
|
+
])) : Y("", !0)]))), 128))])) : (U(), W("p", wX, P(m.value.length ? "没有匹配的存档房间" : "暂无已存档房间"), 1))])
|
|
50031
50037
|
])) : a.value === "delete-folder" ? (U(), W("form", {
|
|
50032
50038
|
key: 1,
|
|
50033
50039
|
class: "dialog-form",
|
|
50034
50040
|
onSubmit: uu(re, ["prevent"])
|
|
50035
|
-
}, [K("p",
|
|
50041
|
+
}, [K("p", TX, "移除「" + P(e.targetFolder?.name) + "」后,房间不再归属文件夹,所有消息和存档状态都会保留。", 1), K("div", EX, [q(le, {
|
|
50036
50042
|
label: "取消",
|
|
50037
50043
|
color: "neutral",
|
|
50038
50044
|
variant: "ghost",
|
|
@@ -50063,7 +50069,7 @@ var hU = /*#__PURE__*/ XH({
|
|
|
50063
50069
|
"modelValue",
|
|
50064
50070
|
"aria-label",
|
|
50065
50071
|
"readonly"
|
|
50066
|
-
]), K("div",
|
|
50072
|
+
]), K("div", DX, [q(le, {
|
|
50067
50073
|
label: "取消",
|
|
50068
50074
|
color: "neutral",
|
|
50069
50075
|
variant: "ghost",
|
|
@@ -50088,10 +50094,10 @@ var hU = /*#__PURE__*/ XH({
|
|
|
50088
50094
|
class: "dialog-form",
|
|
50089
50095
|
onSubmit: uu(te, ["prevent"])
|
|
50090
50096
|
}, [
|
|
50091
|
-
K("p",
|
|
50092
|
-
a.value === "archive" ? (U(), W("p",
|
|
50093
|
-
a.value === "restore" ? (U(), W("p",
|
|
50094
|
-
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),
|
|
50095
50101
|
a.value === "rename" ? (U(), G(ue, {
|
|
50096
50102
|
key: 3,
|
|
50097
50103
|
label: "房间名称",
|
|
@@ -50108,7 +50114,7 @@ var hU = /*#__PURE__*/ XH({
|
|
|
50108
50114
|
}, null, 8, ["modelValue"])]),
|
|
50109
50115
|
_: 1
|
|
50110
50116
|
})) : Y("", !0),
|
|
50111
|
-
K("div",
|
|
50117
|
+
K("div", MX, [q(le, {
|
|
50112
50118
|
label: "取消",
|
|
50113
50119
|
color: "neutral",
|
|
50114
50120
|
variant: "ghost",
|
|
@@ -50125,10 +50131,10 @@ var hU = /*#__PURE__*/ XH({
|
|
|
50125
50131
|
"loading",
|
|
50126
50132
|
"disabled"
|
|
50127
50133
|
])])
|
|
50128
|
-
], 32)) : a.value === "settings" ? (U(), W("div",
|
|
50129
|
-
q(
|
|
50134
|
+
], 32)) : a.value === "settings" ? (U(), W("div", NX, [
|
|
50135
|
+
q(uX),
|
|
50130
50136
|
c[32] ||= K("h3", { class: "account-appearance-heading" }, "外观", -1),
|
|
50131
|
-
K("div",
|
|
50137
|
+
K("div", PX, [(U(), W(H, null, B(he, (e) => K("button", {
|
|
50132
50138
|
key: e.value,
|
|
50133
50139
|
class: M({ chosen: I(o).theme === e.value }),
|
|
50134
50140
|
"aria-pressed": I(o).theme === e.value,
|
|
@@ -50143,12 +50149,12 @@ var hU = /*#__PURE__*/ XH({
|
|
|
50143
50149
|
K("b")
|
|
50144
50150
|
], -1)]], 2),
|
|
50145
50151
|
K("span", null, [K("strong", null, P(e.title), 1), K("small", null, P(e.description), 1)]),
|
|
50146
|
-
K("span",
|
|
50152
|
+
K("span", IX, [I(o).theme === e.value ? (U(), G(ve, {
|
|
50147
50153
|
key: 0,
|
|
50148
50154
|
name: "i-lucide-check"
|
|
50149
50155
|
})) : Y("", !0)])
|
|
50150
|
-
], 10,
|
|
50151
|
-
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, {
|
|
50152
50158
|
key: e.value,
|
|
50153
50159
|
label: e.label,
|
|
50154
50160
|
color: "neutral",
|
|
@@ -50162,9 +50168,9 @@ var hU = /*#__PURE__*/ XH({
|
|
|
50162
50168
|
"aria-pressed",
|
|
50163
50169
|
"onClick"
|
|
50164
50170
|
]))), 128))])]),
|
|
50165
|
-
K("section",
|
|
50171
|
+
K("section", zX, [
|
|
50166
50172
|
c[30] ||= K("h3", { id: "channel-effects-label" }, "视觉效果", -1),
|
|
50167
|
-
K("div",
|
|
50173
|
+
K("div", BX, [(U(!0), W(H, null, B(e.effectOptions, (e) => (U(), G(le, {
|
|
50168
50174
|
key: e.value,
|
|
50169
50175
|
label: e.label,
|
|
50170
50176
|
color: "neutral",
|
|
@@ -50180,7 +50186,7 @@ var hU = /*#__PURE__*/ XH({
|
|
|
50180
50186
|
]))), 128))]),
|
|
50181
50187
|
c[31] ||= K("p", { class: "fine-print" }, "精简模式关闭毛玻璃模糊与多层阴影,适合配置较低或需要更流畅滚动的设备。", -1)
|
|
50182
50188
|
])
|
|
50183
|
-
])) : a.value === "create" ? (U(), G(
|
|
50189
|
+
])) : a.value === "create" ? (U(), G(KY, {
|
|
50184
50190
|
key: 5,
|
|
50185
50191
|
"target-folder": e.targetFolder,
|
|
50186
50192
|
onSubmit: N,
|
|
@@ -50215,7 +50221,7 @@ var hU = /*#__PURE__*/ XH({
|
|
|
50215
50221
|
}, null, 8, ["model-value"])]),
|
|
50216
50222
|
_: 1
|
|
50217
50223
|
}),
|
|
50218
|
-
K("div",
|
|
50224
|
+
K("div", VX, [q(ue, { label: "主持人" }, {
|
|
50219
50225
|
default: L(() => [q(S, {
|
|
50220
50226
|
"model-value": I(o).fields[ge("host")],
|
|
50221
50227
|
items: I(A),
|
|
@@ -50249,7 +50255,7 @@ var hU = /*#__PURE__*/ XH({
|
|
|
50249
50255
|
}, null, 8, ["model-value"])]),
|
|
50250
50256
|
_: 1
|
|
50251
50257
|
})) : Y("", !0),
|
|
50252
|
-
K("section",
|
|
50258
|
+
K("section", HX, [
|
|
50253
50259
|
c[33] ||= K("h3", null, "讨论上限", -1),
|
|
50254
50260
|
q(bU, {
|
|
50255
50261
|
ref_key: "topic_limits",
|
|
@@ -50269,14 +50275,14 @@ var hU = /*#__PURE__*/ XH({
|
|
|
50269
50275
|
"execution",
|
|
50270
50276
|
"disabled"
|
|
50271
50277
|
]),
|
|
50272
|
-
ce.value ? (U(), W("p",
|
|
50278
|
+
ce.value ? (U(), W("p", UX, "修改上限前,请先把阶段保存为“已暂停”。")) : Y("", !0)
|
|
50273
50279
|
]),
|
|
50274
50280
|
q(we, {
|
|
50275
50281
|
open: oe.value,
|
|
50276
50282
|
"onUpdate:open": c[20] ||= (e) => oe.value = e,
|
|
50277
50283
|
class: "advanced-fields"
|
|
50278
50284
|
}, {
|
|
50279
|
-
content: L(() => [K("div",
|
|
50285
|
+
content: L(() => [K("div", WX, [
|
|
50280
50286
|
(U(), W(H, null, B([
|
|
50281
50287
|
{
|
|
50282
50288
|
key: "user_request",
|
|
@@ -50303,11 +50309,11 @@ var hU = /*#__PURE__*/ XH({
|
|
|
50303
50309
|
}, null, 8, ["model-value", "onUpdate:modelValue"])]),
|
|
50304
50310
|
_: 2
|
|
50305
50311
|
}, 1032, ["label"])), 64)),
|
|
50306
|
-
K("div",
|
|
50307
|
-
"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",
|
|
50308
50314
|
items: ae,
|
|
50309
50315
|
"aria-label": `${e} 参与方式`,
|
|
50310
|
-
"onUpdate:modelValue": (t) => I(s).write_expert(
|
|
50316
|
+
"onUpdate:modelValue": (t) => I(s).write_expert(rZ, e, t === "none" ? "" : t)
|
|
50311
50317
|
}, null, 8, [
|
|
50312
50318
|
"model-value",
|
|
50313
50319
|
"aria-label",
|
|
@@ -50325,7 +50331,7 @@ var hU = /*#__PURE__*/ XH({
|
|
|
50325
50331
|
}, null, 8, ["trailing-icon"])]),
|
|
50326
50332
|
_: 1
|
|
50327
50333
|
}, 8, ["open"]),
|
|
50328
|
-
K("div",
|
|
50334
|
+
K("div", KX, [q(le, {
|
|
50329
50335
|
label: "取消",
|
|
50330
50336
|
color: "neutral",
|
|
50331
50337
|
variant: "ghost",
|
|
@@ -50369,7 +50375,7 @@ var hU = /*#__PURE__*/ XH({
|
|
|
50369
50375
|
_: 1
|
|
50370
50376
|
}),
|
|
50371
50377
|
c[35] ||= K("p", { class: "fine-print" }, "创建后为待通知状态;由主持人实际联系专家。", -1),
|
|
50372
|
-
K("div",
|
|
50378
|
+
K("div", qX, [q(le, {
|
|
50373
50379
|
label: "取消",
|
|
50374
50380
|
variant: "ghost",
|
|
50375
50381
|
color: "neutral",
|
|
@@ -50380,8 +50386,8 @@ var hU = /*#__PURE__*/ XH({
|
|
|
50380
50386
|
label: "创建发言安排",
|
|
50381
50387
|
loading: I(u) === "schedule"
|
|
50382
50388
|
}, null, 8, ["loading"])])
|
|
50383
|
-
], 32)) : a.value === "message" ? (U(), W("div",
|
|
50384
|
-
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, [
|
|
50385
50391
|
K("strong", null, P(I(s).display_name(de.value.author)), 1),
|
|
50386
50392
|
K("span", null, "#" + P(de.value.id), 1),
|
|
50387
50393
|
q(Te, {
|
|
@@ -50392,14 +50398,14 @@ var hU = /*#__PURE__*/ XH({
|
|
|
50392
50398
|
_: 1
|
|
50393
50399
|
})
|
|
50394
50400
|
]),
|
|
50395
|
-
K("p",
|
|
50396
|
-
de.value.summary ? (U(), W("section",
|
|
50397
|
-
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),
|
|
50398
50404
|
de.value.attachments?.length ? (U(), W("div", {
|
|
50399
50405
|
key: 1,
|
|
50400
50406
|
onClick: ye,
|
|
50401
50407
|
innerHTML: I(s).attachment_markup(de.value.attachments)
|
|
50402
|
-
}, null, 8,
|
|
50408
|
+
}, null, 8, tZ)) : Y("", !0),
|
|
50403
50409
|
de.value.reply_to ? (U(), G(le, {
|
|
50404
50410
|
key: 2,
|
|
50405
50411
|
label: `查看被回复的原文 #${de.value.reply_to}`,
|
|
@@ -50409,7 +50415,7 @@ var hU = /*#__PURE__*/ XH({
|
|
|
50409
50415
|
class: "channel-surface-button",
|
|
50410
50416
|
onClick: xe
|
|
50411
50417
|
}, null, 8, ["label"])) : Y("", !0)
|
|
50412
|
-
], 64)) : (U(), W("p",
|
|
50418
|
+
], 64)) : (U(), W("p", nZ, "正在读取原文…"))])) : Y("", !0)]),
|
|
50413
50419
|
_: 1
|
|
50414
50420
|
}, 8, [
|
|
50415
50421
|
"open",
|
|
@@ -50420,7 +50426,7 @@ var hU = /*#__PURE__*/ XH({
|
|
|
50420
50426
|
]);
|
|
50421
50427
|
};
|
|
50422
50428
|
}
|
|
50423
|
-
},
|
|
50429
|
+
}, aZ = {
|
|
50424
50430
|
__name: "ContextMenuContent",
|
|
50425
50431
|
props: {
|
|
50426
50432
|
items: {
|
|
@@ -50715,7 +50721,7 @@ var hU = /*#__PURE__*/ XH({
|
|
|
50715
50721
|
"disabled",
|
|
50716
50722
|
"text-value",
|
|
50717
50723
|
"class"
|
|
50718
|
-
]), q(
|
|
50724
|
+
]), q(aZ, X({
|
|
50719
50725
|
sub: "",
|
|
50720
50726
|
class: r.ui?.content,
|
|
50721
50727
|
ui: e.ui,
|
|
@@ -50826,7 +50832,7 @@ var hU = /*#__PURE__*/ XH({
|
|
|
50826
50832
|
_: 3
|
|
50827
50833
|
}, 16)], 64));
|
|
50828
50834
|
}
|
|
50829
|
-
},
|
|
50835
|
+
}, oZ = {
|
|
50830
50836
|
slots: {
|
|
50831
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",
|
|
50832
50838
|
viewport: "relative divide-y divide-default scroll-py-1 overflow-y-auto flex-1",
|
|
@@ -51014,7 +51020,7 @@ var hU = /*#__PURE__*/ XH({
|
|
|
51014
51020
|
}
|
|
51015
51021
|
],
|
|
51016
51022
|
defaultVariants: { size: "md" }
|
|
51017
|
-
},
|
|
51023
|
+
}, sZ = {
|
|
51018
51024
|
__name: "ContextMenu",
|
|
51019
51025
|
props: {
|
|
51020
51026
|
size: {
|
|
@@ -51084,7 +51090,7 @@ var hU = /*#__PURE__*/ XH({
|
|
|
51084
51090
|
emits: ["update:open"],
|
|
51085
51091
|
setup(e, { emit: t }) {
|
|
51086
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({
|
|
51087
|
-
extend:
|
|
51093
|
+
extend: oZ,
|
|
51088
51094
|
...o.ui?.contextMenu || {}
|
|
51089
51095
|
})({ size: a.size }));
|
|
51090
51096
|
return (e, t) => (U(), G(I(iC), N(Ss(I(s))), {
|
|
@@ -51096,7 +51102,7 @@ var hU = /*#__PURE__*/ XH({
|
|
|
51096
51102
|
}, {
|
|
51097
51103
|
default: L(() => [V(e.$slots, "default")]),
|
|
51098
51104
|
_: 3
|
|
51099
|
-
}, 8, ["disabled", "class"])) : Y("", !0), q(
|
|
51105
|
+
}, 8, ["disabled", "class"])) : Y("", !0), q(aZ, X({
|
|
51100
51106
|
class: u.value.content({ class: [!i.default && I(a).class, I(a).ui?.content] }),
|
|
51101
51107
|
ui: u.value,
|
|
51102
51108
|
"ui-override": I(a).ui
|
|
@@ -51126,47 +51132,47 @@ var hU = /*#__PURE__*/ XH({
|
|
|
51126
51132
|
_: 3
|
|
51127
51133
|
}, 16));
|
|
51128
51134
|
}
|
|
51129
|
-
},
|
|
51135
|
+
}, cZ = { class: "channel-directory-manager" }, lZ = { class: "channel-directory-heading" }, uZ = ["aria-expanded"], dZ = { class: "channel-directory-actions" }, fZ = {
|
|
51130
51136
|
"aria-label": "协作房间列表",
|
|
51131
51137
|
class: "channel-room-list",
|
|
51132
51138
|
"data-room-directory": ""
|
|
51133
|
-
},
|
|
51139
|
+
}, pZ = ["data-room-folder", "data-drag-folder"], mZ = [
|
|
51134
51140
|
"disabled",
|
|
51135
51141
|
"aria-label",
|
|
51136
51142
|
"aria-expanded",
|
|
51137
51143
|
"onKeydown",
|
|
51138
51144
|
"onClick"
|
|
51139
|
-
],
|
|
51145
|
+
], hZ = { class: "channel-folder-name" }, gZ = { class: "channel-folder-actions" }, _Z = {
|
|
51140
51146
|
class: "channel-directory-count",
|
|
51141
51147
|
"aria-hidden": "true"
|
|
51142
|
-
},
|
|
51148
|
+
}, vZ = ["data-drop-folder"], yZ = {
|
|
51143
51149
|
key: 0,
|
|
51144
51150
|
class: "channel-directory-empty",
|
|
51145
51151
|
role: "status"
|
|
51146
|
-
},
|
|
51152
|
+
}, bZ = ["data-drag-room"], xZ = [
|
|
51147
51153
|
"aria-label",
|
|
51148
51154
|
"disabled",
|
|
51149
51155
|
"onKeydown"
|
|
51150
|
-
],
|
|
51156
|
+
], SZ = [
|
|
51151
51157
|
"title",
|
|
51152
51158
|
"aria-label",
|
|
51153
51159
|
"aria-current",
|
|
51154
51160
|
"onClick"
|
|
51155
|
-
],
|
|
51161
|
+
], CZ = { class: "channel-room-actions" }, wZ = {
|
|
51156
51162
|
key: 0,
|
|
51157
51163
|
class: "channel-directory-empty"
|
|
51158
|
-
},
|
|
51164
|
+
}, TZ = {
|
|
51159
51165
|
key: 0,
|
|
51160
51166
|
class: "channel-archive-count"
|
|
51161
|
-
},
|
|
51167
|
+
}, EZ = {
|
|
51162
51168
|
key: 0,
|
|
51163
51169
|
role: "status",
|
|
51164
51170
|
class: "channel-directory-notice"
|
|
51165
|
-
},
|
|
51171
|
+
}, DZ = {
|
|
51166
51172
|
key: 1,
|
|
51167
51173
|
role: "alert",
|
|
51168
51174
|
class: "channel-directory-error"
|
|
51169
|
-
},
|
|
51175
|
+
}, OZ = {
|
|
51170
51176
|
__name: "ChannelDirectory",
|
|
51171
51177
|
emits: [
|
|
51172
51178
|
"select",
|
|
@@ -51380,8 +51386,8 @@ var hU = /*#__PURE__*/ XH({
|
|
|
51380
51386
|
];
|
|
51381
51387
|
}
|
|
51382
51388
|
return (e, t) => {
|
|
51383
|
-
let u = MA, _ = sA, v = CH, x = $V, S =
|
|
51384
|
-
return U(), W("div",
|
|
51389
|
+
let u = MA, _ = sA, v = CH, x = $V, S = sZ;
|
|
51390
|
+
return U(), W("div", cZ, [
|
|
51385
51391
|
q(u, {
|
|
51386
51392
|
label: "新建对话",
|
|
51387
51393
|
icon: "i-lucide-plus",
|
|
@@ -51390,12 +51396,12 @@ var hU = /*#__PURE__*/ XH({
|
|
|
51390
51396
|
disabled: I(r).directory_pending.includes("create-room"),
|
|
51391
51397
|
onClick: t[0] ||= (e) => n("create", null)
|
|
51392
51398
|
}, null, 8, ["disabled"]),
|
|
51393
|
-
K("div",
|
|
51399
|
+
K("div", lZ, [K("button", {
|
|
51394
51400
|
type: "button",
|
|
51395
51401
|
class: "channel-section-toggle",
|
|
51396
51402
|
"aria-expanded": m.value,
|
|
51397
51403
|
onClick: t[1] ||= (e) => m.value = !m.value
|
|
51398
|
-
}, [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, [
|
|
51399
51405
|
q(v, {
|
|
51400
51406
|
items: d.value,
|
|
51401
51407
|
content: {
|
|
@@ -51437,7 +51443,7 @@ var hU = /*#__PURE__*/ XH({
|
|
|
51437
51443
|
onChange: p
|
|
51438
51444
|
}, null, 544)
|
|
51439
51445
|
])]),
|
|
51440
|
-
vr(K("nav",
|
|
51446
|
+
vr(K("nav", fZ, [(U(!0), W(H, null, B(l.value, (e, s) => (U(), W("section", {
|
|
51441
51447
|
key: e.order_id,
|
|
51442
51448
|
class: "channel-folder-section",
|
|
51443
51449
|
"data-room-folder": e.id,
|
|
@@ -51467,9 +51473,9 @@ var hU = /*#__PURE__*/ XH({
|
|
|
51467
51473
|
}, [
|
|
51468
51474
|
q(_, { name: h.value.has(e.id) ? "i-lucide-chevron-right" : "i-lucide-chevron-down" }, null, 8, ["name"]),
|
|
51469
51475
|
q(_, { name: "i-lucide-folder" }),
|
|
51470
|
-
K("span",
|
|
51471
|
-
], 40,
|
|
51472
|
-
K("div",
|
|
51476
|
+
K("span", hZ, P(e.name), 1)
|
|
51477
|
+
], 40, mZ),
|
|
51478
|
+
K("div", gZ, [q(v, {
|
|
51473
51479
|
items: g(e, s),
|
|
51474
51480
|
content: {
|
|
51475
51481
|
align: "start",
|
|
@@ -51503,12 +51509,12 @@ var hU = /*#__PURE__*/ XH({
|
|
|
51503
51509
|
])]),
|
|
51504
51510
|
_: 2
|
|
51505
51511
|
}, 1032, ["text"])]),
|
|
51506
|
-
K("small",
|
|
51512
|
+
K("small", _Z, P(e.pending ? "保存中" : e.rooms.length), 1)
|
|
51507
51513
|
], 2)) : Y("", !0), !e.id || !h.value.has(e.id) ? (U(), W("div", {
|
|
51508
51514
|
key: 1,
|
|
51509
51515
|
class: M(e.id ? "channel-folder-rooms" : "channel-root-rooms"),
|
|
51510
51516
|
"data-drop-folder": e.id ? void 0 : ""
|
|
51511
|
-
}, [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, {
|
|
51512
51518
|
key: s.id,
|
|
51513
51519
|
items: b(s, c, s.folder_id || null, e.rooms.length),
|
|
51514
51520
|
ui: { content: "channel-menu channel-topic-menu" }
|
|
@@ -51533,7 +51539,7 @@ var hU = /*#__PURE__*/ XH({
|
|
|
51533
51539
|
direction: 1,
|
|
51534
51540
|
folder_id: s.folder_id || null
|
|
51535
51541
|
}), ["prevent"]), ["down"])]
|
|
51536
|
-
}, [q(_, { name: "i-lucide-grip-vertical" })], 40,
|
|
51542
|
+
}, [q(_, { name: "i-lucide-grip-vertical" })], 40, xZ),
|
|
51537
51543
|
K("button", {
|
|
51538
51544
|
class: "channel-room-select",
|
|
51539
51545
|
"data-drag-title": "",
|
|
@@ -51542,8 +51548,8 @@ var hU = /*#__PURE__*/ XH({
|
|
|
51542
51548
|
"aria-current": s.id === I(r).room?.id ? "page" : void 0,
|
|
51543
51549
|
onPointerdown: t[5] ||= (e) => !I(o) && I(i).start_drag(e),
|
|
51544
51550
|
onClick: (e) => n("select", s.id)
|
|
51545
|
-
}, [K("span", null, P(s.title), 1)], 40,
|
|
51546
|
-
K("div",
|
|
51551
|
+
}, [K("span", null, P(s.title), 1)], 40, SZ),
|
|
51552
|
+
K("div", CZ, [q(x, {
|
|
51547
51553
|
text: s.archived ? "恢复房间" : "存档房间",
|
|
51548
51554
|
ui: { content: "channel-topic-tooltip" }
|
|
51549
51555
|
}, {
|
|
@@ -51584,9 +51590,9 @@ var hU = /*#__PURE__*/ XH({
|
|
|
51584
51590
|
}, null, 8, ["aria-label"])]),
|
|
51585
51591
|
_: 2
|
|
51586
51592
|
}, 1032, ["items"])])
|
|
51587
|
-
], 10,
|
|
51593
|
+
], 10, bZ)]),
|
|
51588
51594
|
_: 2
|
|
51589
|
-
}, 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]]),
|
|
51590
51596
|
vr(q(u, {
|
|
51591
51597
|
icon: "i-lucide-archive",
|
|
51592
51598
|
color: "neutral",
|
|
@@ -51595,48 +51601,48 @@ var hU = /*#__PURE__*/ XH({
|
|
|
51595
51601
|
"aria-haspopup": "dialog",
|
|
51596
51602
|
onClick: t[6] ||= (e) => n("archives")
|
|
51597
51603
|
}, {
|
|
51598
|
-
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)]),
|
|
51599
51605
|
_: 1
|
|
51600
51606
|
}, 512), [[Vc, m.value]]),
|
|
51601
|
-
I(r).directory_notice ? (U(), W("p",
|
|
51602
|
-
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)
|
|
51603
51609
|
]);
|
|
51604
51610
|
};
|
|
51605
51611
|
}
|
|
51606
|
-
},
|
|
51612
|
+
}, kZ = {
|
|
51607
51613
|
key: 0,
|
|
51608
51614
|
class: "pb-invite",
|
|
51609
51615
|
"aria-label": "启动手动成员"
|
|
51610
|
-
},
|
|
51616
|
+
}, AZ = { class: "pb-invite-lead" }, jZ = {
|
|
51611
51617
|
key: 0,
|
|
51612
51618
|
role: "alert",
|
|
51613
51619
|
class: "pb-free-note is-error"
|
|
51614
|
-
},
|
|
51620
|
+
}, MZ = { class: "pb-invite-launches" }, NZ = { class: "pb-invite-footer" }, PZ = {
|
|
51615
51621
|
class: "pb-invite-library",
|
|
51616
51622
|
role: "group",
|
|
51617
51623
|
"aria-label": "选择 AI(可多选)"
|
|
51618
|
-
},
|
|
51624
|
+
}, FZ = [
|
|
51619
51625
|
"aria-pressed",
|
|
51620
51626
|
"title",
|
|
51621
51627
|
"onClick"
|
|
51622
|
-
],
|
|
51628
|
+
], IZ = {
|
|
51623
51629
|
key: 0,
|
|
51624
51630
|
class: "pb-invite-cards"
|
|
51625
|
-
},
|
|
51631
|
+
}, LZ = {
|
|
51626
51632
|
key: 0,
|
|
51627
51633
|
class: "fine-print"
|
|
51628
|
-
},
|
|
51634
|
+
}, RZ = ["aria-hidden"], zZ = {
|
|
51629
51635
|
key: 2,
|
|
51630
51636
|
class: "pb-invite-empty"
|
|
51631
|
-
},
|
|
51637
|
+
}, BZ = {
|
|
51632
51638
|
key: 3,
|
|
51633
51639
|
role: "alert",
|
|
51634
51640
|
class: "fine-print"
|
|
51635
|
-
},
|
|
51641
|
+
}, VZ = {
|
|
51636
51642
|
key: 4,
|
|
51637
51643
|
role: "alert",
|
|
51638
51644
|
class: "pb-free-note is-error"
|
|
51639
|
-
},
|
|
51645
|
+
}, HZ = { class: "pb-invite-footer" }, UZ = 2e3, WZ = /*#__PURE__*/ XH({
|
|
51640
51646
|
__name: "InviteDialog",
|
|
51641
51647
|
props: /*@__PURE__*/ Fa({ description: {
|
|
51642
51648
|
type: String,
|
|
@@ -51654,7 +51660,7 @@ var hU = /*#__PURE__*/ XH({
|
|
|
51654
51660
|
async function u(e) {
|
|
51655
51661
|
clearTimeout(l), c.value = "", await i("copy_member_launch", e) && (c.value = e, l = setTimeout(() => {
|
|
51656
51662
|
c.value = "";
|
|
51657
|
-
},
|
|
51663
|
+
}, UZ));
|
|
51658
51664
|
}
|
|
51659
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(() => {
|
|
51660
51666
|
let e = [...g.value];
|
|
@@ -51718,10 +51724,10 @@ var hU = /*#__PURE__*/ XH({
|
|
|
51718
51724
|
body: "dialog-body"
|
|
51719
51725
|
}
|
|
51720
51726
|
}, {
|
|
51721
|
-
body: L(() => [p.value.length && !d.value.length ? (U(), W("div",
|
|
51722
|
-
K("p",
|
|
51723
|
-
I(n).access?.error ? (U(), W("p",
|
|
51724
|
-
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 }, [
|
|
51725
51731
|
q(l, {
|
|
51726
51732
|
src: I(r).identities[I(r).platform_of(e)]?.icon,
|
|
51727
51733
|
text: I(r).identities[I(r).platform_of(e)]?.initials,
|
|
@@ -51756,7 +51762,7 @@ var hU = /*#__PURE__*/ XH({
|
|
|
51756
51762
|
])
|
|
51757
51763
|
]))), 128))]),
|
|
51758
51764
|
o[3] ||= K("p", { class: "fine-print" }, "指令含该成员的凭证,只交给对应的会话;关闭后仍可在参与者列表中复制。", -1),
|
|
51759
|
-
K("div",
|
|
51765
|
+
K("div", NZ, [q(f, {
|
|
51760
51766
|
label: "完成",
|
|
51761
51767
|
class: "channel-primary-button",
|
|
51762
51768
|
onClick: o[0] ||= (e) => t.value = !1
|
|
@@ -51767,7 +51773,7 @@ var hU = /*#__PURE__*/ XH({
|
|
|
51767
51773
|
"aria-label": "邀请专家",
|
|
51768
51774
|
onSubmit: uu(w, ["prevent"])
|
|
51769
51775
|
}, [
|
|
51770
|
-
K("div",
|
|
51776
|
+
K("div", PZ, [(U(!0), W(H, null, B(h.value, (e) => (U(), W("button", {
|
|
51771
51777
|
key: e,
|
|
51772
51778
|
type: "button",
|
|
51773
51779
|
"aria-pressed": d.value.some((t) => t.name === e),
|
|
@@ -51784,11 +51790,11 @@ var hU = /*#__PURE__*/ XH({
|
|
|
51784
51790
|
"text",
|
|
51785
51791
|
"alt",
|
|
51786
51792
|
"class"
|
|
51787
|
-
]), J(P(e), 1)], 8,
|
|
51788
|
-
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", {
|
|
51789
51795
|
key: e.id,
|
|
51790
51796
|
class: "pb-invite-pick"
|
|
51791
|
-
}, [q(
|
|
51797
|
+
}, [q(sY, {
|
|
51792
51798
|
name: e.name,
|
|
51793
51799
|
mode: e.mode,
|
|
51794
51800
|
choices: ["cli", "manual"],
|
|
@@ -51805,15 +51811,15 @@ var hU = /*#__PURE__*/ XH({
|
|
|
51805
51811
|
"onMode",
|
|
51806
51812
|
"onSession",
|
|
51807
51813
|
"onRemove"
|
|
51808
|
-
]), 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),
|
|
51809
51815
|
d.value.length ? (U(), W("p", {
|
|
51810
51816
|
key: 1,
|
|
51811
51817
|
class: M(["fine-print", { "pb-invite-reserved": !(d.value.some((e) => e.mode === "manual") && d.value.some((e) => e.mode !== "manual")) }]),
|
|
51812
51818
|
"aria-hidden": !(d.value.some((e) => e.mode === "manual") && d.value.some((e) => e.mode !== "manual"))
|
|
51813
|
-
}, "手动启动的成员排在程序启动的成员之后加入队列。", 10,
|
|
51814
|
-
d.value.some((e) => e.mode === "cli") && !I(n).launch.available ? (U(), W("p",
|
|
51815
|
-
m.value && I(n).free_error ? (U(), W("p",
|
|
51816
|
-
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, {
|
|
51817
51823
|
label: "取消",
|
|
51818
51824
|
color: "neutral",
|
|
51819
51825
|
variant: "ghost",
|
|
@@ -51835,40 +51841,40 @@ var hU = /*#__PURE__*/ XH({
|
|
|
51835
51841
|
}, 8, ["open", "description"]);
|
|
51836
51842
|
};
|
|
51837
51843
|
}
|
|
51838
|
-
}, [["__scopeId", "data-v-
|
|
51844
|
+
}, [["__scopeId", "data-v-d697d015"]]), GZ = { class: "speaking-order" }, KZ = {
|
|
51839
51845
|
key: 0,
|
|
51840
51846
|
class: "speaking-order-divider",
|
|
51841
51847
|
"aria-hidden": "true"
|
|
51842
|
-
},
|
|
51848
|
+
}, qZ = ["data-key", "data-movable"], JZ = [
|
|
51843
51849
|
"aria-disabled",
|
|
51844
51850
|
"aria-label",
|
|
51845
51851
|
"title",
|
|
51846
51852
|
"onPointerdown",
|
|
51847
51853
|
"onKeydown"
|
|
51848
|
-
],
|
|
51854
|
+
], YZ = { class: "speaking-order-number" }, XZ = {
|
|
51849
51855
|
key: 1,
|
|
51850
51856
|
class: "speaking-order-place",
|
|
51851
51857
|
title: "已发言",
|
|
51852
51858
|
"aria-label": "已发言"
|
|
51853
|
-
},
|
|
51859
|
+
}, ZZ = ["title"], QZ = {
|
|
51854
51860
|
key: 0,
|
|
51855
51861
|
class: "speaking-order-later"
|
|
51856
|
-
},
|
|
51862
|
+
}, $Z = {
|
|
51857
51863
|
key: 1,
|
|
51858
51864
|
class: "speaking-order-divider",
|
|
51859
51865
|
"aria-hidden": "true"
|
|
51860
|
-
},
|
|
51866
|
+
}, eQ = {
|
|
51861
51867
|
key: 0,
|
|
51862
51868
|
role: "status",
|
|
51863
51869
|
class: "pb-free-note"
|
|
51864
|
-
},
|
|
51870
|
+
}, tQ = {
|
|
51865
51871
|
key: 1,
|
|
51866
51872
|
role: "alert",
|
|
51867
51873
|
class: "pb-free-note is-error"
|
|
51868
|
-
},
|
|
51874
|
+
}, nQ = {
|
|
51869
51875
|
class: "speaking-order-live",
|
|
51870
51876
|
"aria-live": "polite"
|
|
51871
|
-
},
|
|
51877
|
+
}, rQ = "发言顺序刚有变化,已更新为最新顺序,请重新调整", iQ = /*#__PURE__*/ XH({
|
|
51872
51878
|
__name: "SpeakingOrder",
|
|
51873
51879
|
props: {
|
|
51874
51880
|
away: {
|
|
@@ -51888,7 +51894,7 @@ var hU = /*#__PURE__*/ XH({
|
|
|
51888
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 = {
|
|
51889
51895
|
queue: "不在本次依次回答中",
|
|
51890
51896
|
turns: "本轮未安排"
|
|
51891
|
-
}, 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("");
|
|
51892
51898
|
R(() => s.value.revision, () => {
|
|
51893
51899
|
g.value = null;
|
|
51894
51900
|
}), R(() => o.value.id, () => {
|
|
@@ -51975,13 +51981,13 @@ var hU = /*#__PURE__*/ XH({
|
|
|
51975
51981
|
}
|
|
51976
51982
|
return (e, n) => {
|
|
51977
51983
|
let i = sA;
|
|
51978
|
-
return U(), W("div",
|
|
51984
|
+
return U(), W("div", GZ, [
|
|
51979
51985
|
K("ul", {
|
|
51980
51986
|
ref_key: "list",
|
|
51981
51987
|
ref: m,
|
|
51982
51988
|
class: M(["pb-members", { "is-dragging": h.value }])
|
|
51983
51989
|
}, [
|
|
51984
|
-
(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", {
|
|
51985
51991
|
class: M(["pb-member speaking-order-row", [
|
|
51986
51992
|
`is-${t.state}`,
|
|
51987
51993
|
E(r),
|
|
@@ -52002,19 +52008,19 @@ var hU = /*#__PURE__*/ XH({
|
|
|
52002
52008
|
onPointercancel: n[0] ||= (e) => w(e, !0),
|
|
52003
52009
|
onLostpointercapture: n[1] ||= (e) => w(e, !0),
|
|
52004
52010
|
onKeydown: [fu((e) => D(e, b(r), -1), ["up"]), fu((e) => D(e, b(r), 1), ["down"])]
|
|
52005
|
-
}, [K("span",
|
|
52011
|
+
}, [K("span", YZ, P(t.place), 1), q(i, {
|
|
52006
52012
|
name: "i-lucide-grip-vertical",
|
|
52007
52013
|
class: "speaking-order-handle"
|
|
52008
|
-
})], 40,
|
|
52014
|
+
})], 40, JZ)) : t.state === "done" ? (U(), W("span", XZ, [q(i, { name: "i-lucide-check" })])) : (U(), W("span", {
|
|
52009
52015
|
key: 2,
|
|
52010
52016
|
class: "speaking-order-place",
|
|
52011
52017
|
title: t.state === "speaking" ? "正在发言" : void 0
|
|
52012
|
-
}, P(t.place || ""), 9,
|
|
52018
|
+
}, P(t.place || ""), 9, ZZ)), V(e.$slots, "default", {
|
|
52013
52019
|
item: t,
|
|
52014
52020
|
place: t.place
|
|
52015
|
-
}, void 0, !0)], 10,
|
|
52016
|
-
s.value.later?.length ? (U(), W("li",
|
|
52017
|
-
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),
|
|
52018
52024
|
(U(!0), W(H, null, B(t.away, (t) => (U(), W("li", {
|
|
52019
52025
|
key: `away-${t}`,
|
|
52020
52026
|
class: "pb-member speaking-order-row is-away"
|
|
@@ -52026,78 +52032,78 @@ var hU = /*#__PURE__*/ XH({
|
|
|
52026
52032
|
place: 0
|
|
52027
52033
|
}, void 0, !0)]))), 128))
|
|
52028
52034
|
], 2),
|
|
52029
|
-
p.value ===
|
|
52030
|
-
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)
|
|
52031
52037
|
]);
|
|
52032
52038
|
};
|
|
52033
52039
|
}
|
|
52034
|
-
}, [["__scopeId", "data-v-dc33a051"]]),
|
|
52040
|
+
}, [["__scopeId", "data-v-dc33a051"]]), aQ = {
|
|
52035
52041
|
key: 0,
|
|
52036
52042
|
class: "pb-header"
|
|
52037
|
-
},
|
|
52043
|
+
}, oQ = { class: "pb-mode" }, sQ = { class: "pb-status-line" }, cQ = { role: "status" }, lQ = {
|
|
52038
52044
|
key: 0,
|
|
52039
52045
|
class: "pb-mode"
|
|
52040
|
-
},
|
|
52046
|
+
}, uQ = {
|
|
52041
52047
|
key: 0,
|
|
52042
52048
|
class: "pb-status-detail"
|
|
52043
|
-
},
|
|
52049
|
+
}, dQ = {
|
|
52044
52050
|
key: 1,
|
|
52045
52051
|
class: "pb-status-detail"
|
|
52046
|
-
},
|
|
52052
|
+
}, fQ = { class: "pb-error-detail" }, pQ = {
|
|
52047
52053
|
key: 3,
|
|
52048
52054
|
class: "pb-meters"
|
|
52049
|
-
},
|
|
52055
|
+
}, mQ = { class: "pb-meter-label" }, hQ = {
|
|
52050
52056
|
key: 0,
|
|
52051
52057
|
class: "pb-bar"
|
|
52052
|
-
},
|
|
52058
|
+
}, gQ = {
|
|
52053
52059
|
key: 1,
|
|
52054
52060
|
class: "pb-section",
|
|
52055
52061
|
"aria-label": "当前焦点"
|
|
52056
|
-
},
|
|
52062
|
+
}, _Q = {
|
|
52057
52063
|
class: "pb-section",
|
|
52058
52064
|
"aria-label": "发言顺序"
|
|
52059
|
-
},
|
|
52065
|
+
}, vQ = { class: "pb-heading" }, yQ = {
|
|
52060
52066
|
key: 0,
|
|
52061
52067
|
class: "pb-status-detail pb-held"
|
|
52062
|
-
},
|
|
52068
|
+
}, bQ = { class: "pb-member-body" }, xQ = { class: "pb-member-name" }, SQ = { class: "pb-member-body" }, CQ = { class: "pb-member-name" }, wQ = {
|
|
52063
52069
|
key: 0,
|
|
52064
52070
|
class: "pb-member-model",
|
|
52065
52071
|
title: "本场启动配置;默认模型与默认强度由对应软件决定"
|
|
52066
|
-
},
|
|
52072
|
+
}, TQ = {
|
|
52067
52073
|
key: 1,
|
|
52068
52074
|
class: "pb-member-model",
|
|
52069
52075
|
title: "续接你已有的会话;它工作时请不要在原窗口继续操作"
|
|
52070
|
-
},
|
|
52076
|
+
}, EQ = { key: 0 }, DQ = {
|
|
52071
52077
|
key: 3,
|
|
52072
52078
|
class: "pb-member-manual"
|
|
52073
|
-
},
|
|
52079
|
+
}, OQ = { key: 0 }, kQ = ["onClick"], AQ = {
|
|
52074
52080
|
key: 1,
|
|
52075
52081
|
role: "alert",
|
|
52076
52082
|
class: "pb-free-note is-error"
|
|
52077
|
-
},
|
|
52083
|
+
}, jQ = {
|
|
52078
52084
|
key: 2,
|
|
52079
52085
|
role: "status",
|
|
52080
52086
|
class: "pb-free-note"
|
|
52081
|
-
},
|
|
52087
|
+
}, MQ = {
|
|
52082
52088
|
key: 2,
|
|
52083
52089
|
class: "pb-actions",
|
|
52084
52090
|
"aria-label": "操作"
|
|
52085
|
-
},
|
|
52091
|
+
}, NQ = {
|
|
52086
52092
|
key: 3,
|
|
52087
52093
|
class: "pb-section",
|
|
52088
52094
|
"aria-label": "阶段耗时"
|
|
52089
|
-
},
|
|
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 = {
|
|
52090
52096
|
key: 0,
|
|
52091
52097
|
class: "pb-note"
|
|
52092
|
-
},
|
|
52098
|
+
}, UQ = { class: "pb-connection" }, WQ = { class: "fine-print" }, GQ = {
|
|
52093
52099
|
key: 0,
|
|
52094
52100
|
role: "status",
|
|
52095
52101
|
class: "fine-print"
|
|
52096
|
-
},
|
|
52102
|
+
}, KQ = {
|
|
52097
52103
|
key: 2,
|
|
52098
52104
|
role: "alert",
|
|
52099
52105
|
class: "fine-print"
|
|
52100
|
-
},
|
|
52106
|
+
}, qQ = { key: 2 }, JQ = { class: "pb-invite-footer" }, YQ = { class: "progress-ending" }, XQ = ["disabled"], ZQ = 2e3, QQ = 90, $Q = 100, e$ = /*#__PURE__*/ XH({
|
|
52101
52107
|
__name: "ProgressBoard",
|
|
52102
52108
|
props: { docked: {
|
|
52103
52109
|
type: Boolean,
|
|
@@ -52108,7 +52114,7 @@ var hU = /*#__PURE__*/ XH({
|
|
|
52108
52114
|
async function l(e) {
|
|
52109
52115
|
clearTimeout(c), s.value = "", await i("copy_member_launch", e) && (s.value = e, c = setTimeout(() => {
|
|
52110
52116
|
s.value = "";
|
|
52111
|
-
},
|
|
52117
|
+
}, ZQ));
|
|
52112
52118
|
}
|
|
52113
52119
|
let u = /* @__PURE__ */ F(!1), d = /* @__PURE__ */ F(null), f = /* @__PURE__ */ F(!1), p = ["pending", "notified"], m = {
|
|
52114
52120
|
dispatched: "已交付,等待开始",
|
|
@@ -52140,7 +52146,7 @@ var hU = /*#__PURE__*/ XH({
|
|
|
52140
52146
|
R(() => _.value.id, () => {
|
|
52141
52147
|
he.value = !1;
|
|
52142
52148
|
});
|
|
52143
|
-
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 || {
|
|
52144
52150
|
items: [],
|
|
52145
52151
|
totals: {},
|
|
52146
52152
|
count: 0
|
|
@@ -52174,7 +52180,7 @@ var hU = /*#__PURE__*/ XH({
|
|
|
52174
52180
|
};
|
|
52175
52181
|
let e = ce.value;
|
|
52176
52182
|
if (e) {
|
|
52177
|
-
let t = e.result.startsWith(e.name) ? e.result : `${r.display_name(e.name)} 执行失败:${e.result}`, n = t.split("\n")[0], i = n.length >
|
|
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;
|
|
52178
52184
|
return {
|
|
52179
52185
|
tone: "error",
|
|
52180
52186
|
title: "已暂停",
|
|
@@ -52334,18 +52340,18 @@ var hU = /*#__PURE__*/ XH({
|
|
|
52334
52340
|
return (e, c) => {
|
|
52335
52341
|
let f = MA, p = sA, m = pA, v = CH, T = bH, k = zV, se = YH;
|
|
52336
52342
|
return U(), W("div", { class: M(["progress-board", { "is-docked": t.docked }]) }, [
|
|
52337
|
-
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),
|
|
52338
52344
|
K("section", {
|
|
52339
52345
|
class: M(["pb-status", `is-${be.value.tone}`]),
|
|
52340
52346
|
"aria-label": "讨论状态"
|
|
52341
52347
|
}, [
|
|
52342
|
-
K("div",
|
|
52348
|
+
K("div", sQ, [
|
|
52343
52349
|
c[20] ||= K("span", { class: "pb-dot" }, null, -1),
|
|
52344
|
-
K("strong",
|
|
52345
|
-
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))
|
|
52346
52352
|
]),
|
|
52347
|
-
be.value.detail ? (U(), W("p",
|
|
52348
|
-
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),
|
|
52349
52355
|
ue.value && I(n).launch.available && !I(n).launch.remote ? (U(), G(f, {
|
|
52350
52356
|
key: 2,
|
|
52351
52357
|
icon: "i-lucide-arrow-left-right",
|
|
@@ -52357,12 +52363,12 @@ var hU = /*#__PURE__*/ XH({
|
|
|
52357
52363
|
disabled: !!I(a),
|
|
52358
52364
|
onClick: c[0] ||= (e) => ke(ue.value, "codex")
|
|
52359
52365
|
}, null, 8, ["disabled"])) : Y("", !0),
|
|
52360
|
-
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", {
|
|
52361
52367
|
key: e.label,
|
|
52362
52368
|
class: "pb-meter"
|
|
52363
|
-
}, [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)
|
|
52364
52370
|
], 2),
|
|
52365
|
-
ge.value ? (U(), W("section",
|
|
52371
|
+
ge.value ? (U(), W("section", gQ, [
|
|
52366
52372
|
c[22] ||= K("h4", null, "当前焦点", -1),
|
|
52367
52373
|
K("p", { class: M(["pb-focus", { "is-expanded": u.value }]) }, P(ge.value), 3),
|
|
52368
52374
|
N.value ? (U(), W("button", {
|
|
@@ -52372,15 +52378,15 @@ var hU = /*#__PURE__*/ XH({
|
|
|
52372
52378
|
onClick: c[1] ||= (e) => u.value = !u.value
|
|
52373
52379
|
}, P(u.value ? "收起" : "展开"), 1)) : Y("", !0)
|
|
52374
52380
|
])) : Y("", !0),
|
|
52375
|
-
K("section",
|
|
52376
|
-
K("div",
|
|
52381
|
+
K("section", _Q, [
|
|
52382
|
+
K("div", vQ, [c[24] ||= K("h4", null, "发言顺序", -1), me.value ? (U(), W("button", {
|
|
52377
52383
|
key: 0,
|
|
52378
52384
|
type: "button",
|
|
52379
52385
|
class: "pb-link",
|
|
52380
52386
|
onClick: Oe
|
|
52381
52387
|
}, [q(p, { name: "i-lucide-plus" }), c[23] ||= J("邀请", -1)])) : Y("", !0)]),
|
|
52382
|
-
_.value.held_since && x.value && !S.value ? (U(), W("p",
|
|
52383
|
-
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, {
|
|
52384
52390
|
away: de.value.map((e) => e.name),
|
|
52385
52391
|
round: Se.value
|
|
52386
52392
|
}, {
|
|
@@ -52397,7 +52403,7 @@ var hU = /*#__PURE__*/ XH({
|
|
|
52397
52403
|
"alt",
|
|
52398
52404
|
"class"
|
|
52399
52405
|
]),
|
|
52400
|
-
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)]),
|
|
52401
52407
|
we({ name: e.name }).length ? (U(), G(v, {
|
|
52402
52408
|
key: 0,
|
|
52403
52409
|
items: we({ name: e.name }),
|
|
@@ -52427,8 +52433,8 @@ var hU = /*#__PURE__*/ XH({
|
|
|
52427
52433
|
"alt",
|
|
52428
52434
|
"class"
|
|
52429
52435
|
]),
|
|
52430
|
-
K("div",
|
|
52431
|
-
K("div",
|
|
52436
|
+
K("div", SQ, [
|
|
52437
|
+
K("div", CQ, [
|
|
52432
52438
|
J(P(I(r).display_name(e.name)), 1),
|
|
52433
52439
|
e.is_host ? (U(), G(p, {
|
|
52434
52440
|
key: 0,
|
|
@@ -52437,22 +52443,22 @@ var hU = /*#__PURE__*/ XH({
|
|
|
52437
52443
|
})) : Y("", !0),
|
|
52438
52444
|
K("small", null, P(e.is_host ? `主持 · ${e.mode}` : e.mode), 1)
|
|
52439
52445
|
]),
|
|
52440
|
-
e.model ? (U(), W("div",
|
|
52441
|
-
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),
|
|
52442
52448
|
w.value ? Y("", !0) : (U(), W("div", {
|
|
52443
52449
|
key: 2,
|
|
52444
52450
|
class: M(["pb-member-status", `is-${e.tone}`])
|
|
52445
52451
|
}, [
|
|
52446
52452
|
c[27] ||= K("span", { class: "pb-dot" }, null, -1),
|
|
52447
52453
|
J(P(e.text), 1),
|
|
52448
|
-
e.failures ? (U(), W("small",
|
|
52454
|
+
e.failures ? (U(), W("small", EQ, " · 失败 " + P(e.failures) + " 次", 1)) : Y("", !0)
|
|
52449
52455
|
], 2)),
|
|
52450
|
-
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", {
|
|
52451
52457
|
key: 1,
|
|
52452
52458
|
type: "button",
|
|
52453
52459
|
class: "pb-link",
|
|
52454
52460
|
onClick: (t) => l(e.name)
|
|
52455
|
-
}, [q(p, { name: s.value === e.name ? "i-lucide-check" : "i-lucide-rocket" }, null, 8, ["name"]), J(P(s.value === e.name ? "已复制" : "复制启动指令"), 1)], 8,
|
|
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)
|
|
52456
52462
|
]),
|
|
52457
52463
|
we(e).length ? (U(), G(v, {
|
|
52458
52464
|
key: 0,
|
|
@@ -52473,9 +52479,9 @@ var hU = /*#__PURE__*/ XH({
|
|
|
52473
52479
|
], 64))), 128))]),
|
|
52474
52480
|
_: 1
|
|
52475
52481
|
}, 8, ["away", "round"]),
|
|
52476
|
-
!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)
|
|
52477
52483
|
]),
|
|
52478
|
-
oe.value ? (U(), W("section",
|
|
52484
|
+
oe.value ? (U(), W("section", MQ, [
|
|
52479
52485
|
ne.value ? (U(), G(f, {
|
|
52480
52486
|
key: 0,
|
|
52481
52487
|
icon: "i-lucide-rotate-ccw",
|
|
@@ -52557,8 +52563,8 @@ var hU = /*#__PURE__*/ XH({
|
|
|
52557
52563
|
onClick: c[6] ||= (e) => o.value = !0
|
|
52558
52564
|
}, null, 8, ["disabled"])) : Y("", !0)
|
|
52559
52565
|
])) : Y("", !0),
|
|
52560
|
-
b.value && _e.value.count ? (U(), W("section",
|
|
52561
|
-
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)]),
|
|
52562
52568
|
K("div", {
|
|
52563
52569
|
class: "pb-timing-bar",
|
|
52564
52570
|
role: "img",
|
|
@@ -52567,18 +52573,18 @@ var hU = /*#__PURE__*/ XH({
|
|
|
52567
52573
|
key: e.key,
|
|
52568
52574
|
class: M(`is-${e.key}`),
|
|
52569
52575
|
style: fe({ width: `${e.percent}%` })
|
|
52570
|
-
}, null, 6))), 128))], 8,
|
|
52571
|
-
K("dl",
|
|
52576
|
+
}, null, 6))), 128))], 8, FQ),
|
|
52577
|
+
K("dl", IQ, [(U(!0), W(H, null, B(je.value, (e) => (U(), W("div", {
|
|
52572
52578
|
key: e.key,
|
|
52573
52579
|
title: e.hint
|
|
52574
|
-
}, [K("dt", null, [K("span", { class: M(`pb-timing-dot is-${e.key}`) }, null, 2), J(P(e.label), 1)]), K("dd", null, [J(P(Me(e.seconds)), 1), K("small", null, P(e.percent) + "%", 1)])], 8,
|
|
52575
|
-
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, [
|
|
52576
52582
|
c[29] ||= K("summary", null, "查看每次执行", -1),
|
|
52577
|
-
K("ol", null, [(U(!0), W(H, null, B(_e.value.items, (e) => (U(), W("li", { key: e.id }, [K("span",
|
|
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", {
|
|
52578
52584
|
key: t.key,
|
|
52579
52585
|
title: t.hint
|
|
52580
|
-
}, P(t.label) + " " + P(Me(e[t.key])), 9,
|
|
52581
|
-
_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)
|
|
52582
52588
|
])
|
|
52583
52589
|
])) : Y("", !0),
|
|
52584
52590
|
q(se, {
|
|
@@ -52591,7 +52597,7 @@ var hU = /*#__PURE__*/ XH({
|
|
|
52591
52597
|
body: "dialog-body"
|
|
52592
52598
|
}
|
|
52593
52599
|
}, {
|
|
52594
|
-
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, {
|
|
52595
52601
|
label: "暂停并读取配置",
|
|
52596
52602
|
icon: "i-lucide-pause",
|
|
52597
52603
|
class: "channel-primary-button",
|
|
@@ -52614,7 +52620,7 @@ var hU = /*#__PURE__*/ XH({
|
|
|
52614
52620
|
}, null, 8, ["model-value", "disabled"])]),
|
|
52615
52621
|
_: 1
|
|
52616
52622
|
}),
|
|
52617
|
-
K("p",
|
|
52623
|
+
K("p", WQ, P(ye.value.adapter === "codex" ? "App 需保持运行,模型与权限沿用原聊天设置。" : "切回 CLI 前,需让 App 释放原聊天;仍被占用时无法执行。"), 1),
|
|
52618
52624
|
q(f, {
|
|
52619
52625
|
label: "保存接入方式",
|
|
52620
52626
|
class: "channel-primary-button",
|
|
@@ -52622,7 +52628,7 @@ var hU = /*#__PURE__*/ XH({
|
|
|
52622
52628
|
disabled: !!I(a),
|
|
52623
52629
|
onClick: c[8] ||= (e) => I(i)("save_room_configuration")
|
|
52624
52630
|
}, null, 8, ["loading", "disabled"]),
|
|
52625
|
-
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),
|
|
52626
52632
|
I(n).launch.repair?.applied && ne.value ? (U(), G(f, {
|
|
52627
52633
|
key: 1,
|
|
52628
52634
|
label: "重启讨论",
|
|
@@ -52642,10 +52648,10 @@ var hU = /*#__PURE__*/ XH({
|
|
|
52642
52648
|
color: "neutral",
|
|
52643
52649
|
loading: !!I(a),
|
|
52644
52650
|
onClick: Ae
|
|
52645
|
-
}, 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, "本场状态已变化,请关闭后重新核对。"))])]),
|
|
52646
52652
|
_: 1
|
|
52647
52653
|
}, 8, ["open"]),
|
|
52648
|
-
q(
|
|
52654
|
+
q(WZ, {
|
|
52649
52655
|
open: he.value,
|
|
52650
52656
|
"onUpdate:open": c[11] ||= (e) => he.value = e,
|
|
52651
52657
|
description: "新专家由程序按本机软件配置启动,或由你手动启动,加入本轮发言队列。"
|
|
@@ -52690,7 +52696,7 @@ var hU = /*#__PURE__*/ XH({
|
|
|
52690
52696
|
minutes: ee.value,
|
|
52691
52697
|
"onUpdate:minutes": c[14] ||= (e) => ee.value = e,
|
|
52692
52698
|
execution: !1
|
|
52693
|
-
}, null, 8, ["rounds", "minutes"]), K("div",
|
|
52699
|
+
}, null, 8, ["rounds", "minutes"]), K("div", JQ, [q(f, {
|
|
52694
52700
|
label: "取消",
|
|
52695
52701
|
color: "neutral",
|
|
52696
52702
|
variant: "ghost",
|
|
@@ -52715,18 +52721,18 @@ var hU = /*#__PURE__*/ XH({
|
|
|
52715
52721
|
body: "dialog-body"
|
|
52716
52722
|
}
|
|
52717
52723
|
}, {
|
|
52718
|
-
body: L(() => [K("div",
|
|
52724
|
+
body: L(() => [K("div", YQ, [K("button", {
|
|
52719
52725
|
type: "button",
|
|
52720
52726
|
class: "progress-ending-option",
|
|
52721
52727
|
disabled: C.value || !!I(a),
|
|
52722
52728
|
onClick: c[17] ||= (e) => Fe("end_room_discussion")
|
|
52723
|
-
}, [...c[31] ||= [K("strong", null, "结束讨论", -1), K("span", null, "保留全部记录,自动运行随之停止,房间回到自由协作;需要总结时可直接请主持人写一份。", -1)]], 8,
|
|
52729
|
+
}, [...c[31] ||= [K("strong", null, "结束讨论", -1), K("span", null, "保留全部记录,自动运行随之停止,房间回到自由协作;需要总结时可直接请主持人写一份。", -1)]], 8, XQ)])]),
|
|
52724
52730
|
_: 1
|
|
52725
52731
|
}, 8, ["open"])
|
|
52726
52732
|
], 2);
|
|
52727
52733
|
};
|
|
52728
52734
|
}
|
|
52729
|
-
}, [["__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$ = {
|
|
52730
52736
|
__name: "ProgressPanel",
|
|
52731
52737
|
setup(e) {
|
|
52732
52738
|
let { view: t, bridge: n } = xr("discussion"), r = /* @__PURE__ */ F(!1), i = Z(() => t.value.room), a = Z(() => i.value.limits || {}), o = Z(() => {
|
|
@@ -52753,7 +52759,7 @@ var hU = /*#__PURE__*/ XH({
|
|
|
52753
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}`);
|
|
52754
52760
|
return (e, t) => {
|
|
52755
52761
|
let n = $V, a = NV;
|
|
52756
|
-
return U(), W("div",
|
|
52762
|
+
return U(), W("div", t$, [q(n, { text: "查看讨论进度" }, {
|
|
52757
52763
|
default: L(() => [K("button", {
|
|
52758
52764
|
type: "button",
|
|
52759
52765
|
class: M(["progress-chip", `is-${o.value.tone}`]),
|
|
@@ -52761,7 +52767,7 @@ var hU = /*#__PURE__*/ XH({
|
|
|
52761
52767
|
"aria-expanded": r.value,
|
|
52762
52768
|
"aria-label": `查看讨论进度:${c.value}`,
|
|
52763
52769
|
onClick: t[0] ||= (e) => r.value = !0
|
|
52764
|
-
}, [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$)]),
|
|
52765
52771
|
_: 1
|
|
52766
52772
|
}), q(a, {
|
|
52767
52773
|
open: r.value,
|
|
@@ -52774,12 +52780,12 @@ var hU = /*#__PURE__*/ XH({
|
|
|
52774
52780
|
body: "progress-drawer-body"
|
|
52775
52781
|
}
|
|
52776
52782
|
}, {
|
|
52777
|
-
body: L(() => [q($
|
|
52783
|
+
body: L(() => [q(e$)]),
|
|
52778
52784
|
_: 1
|
|
52779
52785
|
}, 8, ["open", "description"])]);
|
|
52780
52786
|
};
|
|
52781
52787
|
}
|
|
52782
|
-
},
|
|
52788
|
+
}, o$ = { class: "start-discussion-footer" }, s$ = 3, c$ = /*#__PURE__*/ XH({
|
|
52783
52789
|
__name: "StartDiscussionDialog",
|
|
52784
52790
|
props: {
|
|
52785
52791
|
open: {
|
|
@@ -52790,9 +52796,9 @@ var hU = /*#__PURE__*/ XH({
|
|
|
52790
52796
|
},
|
|
52791
52797
|
emits: ["update:open"],
|
|
52792
52798
|
setup(e) {
|
|
52793
|
-
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);
|
|
52794
52800
|
R(t, (e) => {
|
|
52795
|
-
e && (a.value = "", o.value =
|
|
52801
|
+
e && (a.value = "", o.value = s$, s.value = 0, c.value = "", l.value = !1);
|
|
52796
52802
|
});
|
|
52797
52803
|
async function d() {
|
|
52798
52804
|
u.value?.settle();
|
|
@@ -52860,7 +52866,7 @@ var hU = /*#__PURE__*/ XH({
|
|
|
52860
52866
|
"minutes",
|
|
52861
52867
|
"execution_minutes"
|
|
52862
52868
|
]),
|
|
52863
|
-
K("div",
|
|
52869
|
+
K("div", o$, [q(h, {
|
|
52864
52870
|
label: "取消",
|
|
52865
52871
|
color: "neutral",
|
|
52866
52872
|
variant: "ghost",
|
|
@@ -52878,58 +52884,58 @@ var hU = /*#__PURE__*/ XH({
|
|
|
52878
52884
|
}, 8, ["open"]);
|
|
52879
52885
|
};
|
|
52880
52886
|
}
|
|
52881
|
-
}, [["__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$ = {
|
|
52882
52888
|
key: 0,
|
|
52883
52889
|
class: "pb-status-detail"
|
|
52884
|
-
},
|
|
52890
|
+
}, h$ = { class: "pb-meters" }, g$ = { class: "pb-meter-label" }, _$ = {
|
|
52885
52891
|
key: 0,
|
|
52886
52892
|
class: "pb-bar"
|
|
52887
|
-
},
|
|
52893
|
+
}, v$ = {
|
|
52888
52894
|
key: 0,
|
|
52889
52895
|
class: "pb-section",
|
|
52890
52896
|
"aria-label": "当前任务"
|
|
52891
|
-
},
|
|
52897
|
+
}, y$ = {
|
|
52892
52898
|
class: "pb-section",
|
|
52893
52899
|
"aria-label": "发言顺序"
|
|
52894
|
-
},
|
|
52900
|
+
}, b$ = { class: "pb-member-body" }, x$ = ["title"], S$ = {
|
|
52895
52901
|
key: 0,
|
|
52896
52902
|
class: "pb-member-model"
|
|
52897
|
-
},
|
|
52903
|
+
}, C$ = {
|
|
52898
52904
|
key: 1,
|
|
52899
52905
|
class: "pb-member-model",
|
|
52900
52906
|
title: "它工作时请不要在原窗口继续操作"
|
|
52901
|
-
},
|
|
52907
|
+
}, w$ = ["title"], T$ = {
|
|
52902
52908
|
key: 0,
|
|
52903
52909
|
role: "alert",
|
|
52904
52910
|
class: "pb-free-note is-error"
|
|
52905
|
-
},
|
|
52911
|
+
}, E$ = {
|
|
52906
52912
|
key: 1,
|
|
52907
52913
|
role: "status",
|
|
52908
52914
|
class: "pb-free-note"
|
|
52909
|
-
},
|
|
52915
|
+
}, D$ = {
|
|
52910
52916
|
key: 2,
|
|
52911
52917
|
role: "alert",
|
|
52912
52918
|
class: "pb-free-note is-error"
|
|
52913
|
-
},
|
|
52919
|
+
}, O$ = {
|
|
52914
52920
|
key: 3,
|
|
52915
52921
|
role: "status",
|
|
52916
52922
|
class: "pb-free-note"
|
|
52917
|
-
},
|
|
52923
|
+
}, k$ = {
|
|
52918
52924
|
key: 1,
|
|
52919
52925
|
class: "pb-section",
|
|
52920
52926
|
"aria-label": "头脑风暴"
|
|
52921
|
-
},
|
|
52927
|
+
}, A$ = ["onClick"], j$ = {
|
|
52922
52928
|
key: 2,
|
|
52923
52929
|
class: "pb-actions",
|
|
52924
52930
|
"aria-label": "操作"
|
|
52925
|
-
},
|
|
52931
|
+
}, M$ = {
|
|
52926
52932
|
key: 0,
|
|
52927
52933
|
class: "pb-free-note"
|
|
52928
|
-
},
|
|
52934
|
+
}, N$ = {
|
|
52929
52935
|
key: 3,
|
|
52930
52936
|
class: "pb-section",
|
|
52931
52937
|
"aria-label": "执行耗时"
|
|
52932
|
-
},
|
|
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({
|
|
52933
52939
|
__name: "FreeBoard",
|
|
52934
52940
|
setup(e) {
|
|
52935
52941
|
let { view: t, bridge: n, act: r, pending: i } = xr("discussion"), a = ["dispatched", "started"], o = {
|
|
@@ -53101,32 +53107,32 @@ var hU = /*#__PURE__*/ XH({
|
|
|
53101
53107
|
k.value = !1;
|
|
53102
53108
|
}), (e, i) => {
|
|
53103
53109
|
let a = pA, p = sA, h = MA, ne = CH;
|
|
53104
|
-
return U(), W("div",
|
|
53105
|
-
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)]),
|
|
53106
53112
|
K("section", {
|
|
53107
53113
|
class: M(["pb-status", `is-${y.value.tone}`]),
|
|
53108
53114
|
"aria-label": "房间状态"
|
|
53109
53115
|
}, [
|
|
53110
|
-
K("div",
|
|
53111
|
-
y.value.detail ? (U(), W("p",
|
|
53112
|
-
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", {
|
|
53113
53119
|
key: e.label,
|
|
53114
53120
|
class: "pb-meter"
|
|
53115
|
-
}, [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))])
|
|
53116
53122
|
], 2),
|
|
53117
|
-
x.value ? (U(), W("section",
|
|
53123
|
+
x.value ? (U(), W("section", v$, [
|
|
53118
53124
|
i[8] ||= K("h4", null, "当前任务", -1),
|
|
53119
53125
|
K("p", { class: M(["pb-focus", { "is-expanded": S.value }]) }, P(x.value), 3),
|
|
53120
|
-
x.value.length >
|
|
53126
|
+
x.value.length > R$ ? (U(), W("button", {
|
|
53121
53127
|
key: 0,
|
|
53122
53128
|
type: "button",
|
|
53123
53129
|
class: "pb-link",
|
|
53124
53130
|
onClick: i[0] ||= (e) => S.value = !S.value
|
|
53125
53131
|
}, P(S.value ? "收起" : "展开"), 1)) : Y("", !0)
|
|
53126
53132
|
])) : Y("", !0),
|
|
53127
|
-
K("section",
|
|
53133
|
+
K("section", y$, [
|
|
53128
53134
|
i[10] ||= K("h4", null, "发言顺序", -1),
|
|
53129
|
-
q(
|
|
53135
|
+
q(iQ, { away: f.value }, {
|
|
53130
53136
|
default: L(({ item: e }) => [(U(!0), W(H, null, B([d(e.name)].filter(Boolean), (t) => (U(), W(H, { key: t.id }, [
|
|
53131
53137
|
q(a, {
|
|
53132
53138
|
src: I(n).identities[t.name]?.icon,
|
|
@@ -53140,7 +53146,7 @@ var hU = /*#__PURE__*/ XH({
|
|
|
53140
53146
|
"alt",
|
|
53141
53147
|
"class"
|
|
53142
53148
|
]),
|
|
53143
|
-
K("div",
|
|
53149
|
+
K("div", b$, [
|
|
53144
53150
|
K("div", {
|
|
53145
53151
|
class: "pb-member-name",
|
|
53146
53152
|
title: c.value.descriptions?.[t.name] || void 0
|
|
@@ -53152,13 +53158,13 @@ var hU = /*#__PURE__*/ XH({
|
|
|
53152
53158
|
title: "主持人"
|
|
53153
53159
|
})) : Y("", !0),
|
|
53154
53160
|
K("small", null, P(t.role === "host" ? `主持 · ${s[t.access]}` : s[t.access]), 1)
|
|
53155
|
-
], 8,
|
|
53156
|
-
v(t) ? (U(), W("div",
|
|
53157
|
-
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),
|
|
53158
53164
|
K("div", { class: M(["pb-member-status", `is-${g(t)}`]) }, [i[9] ||= K("span", { class: "pb-dot" }, null, -1), K("span", {
|
|
53159
53165
|
class: "pb-member-status-text",
|
|
53160
53166
|
title: t.execution?.status === "failed" ? t.execution.result : void 0
|
|
53161
|
-
}, P(_(t, e.state)), 9,
|
|
53167
|
+
}, P(_(t, e.state)), 9, w$)], 2)
|
|
53162
53168
|
]),
|
|
53163
53169
|
q(ne, {
|
|
53164
53170
|
items: T(t),
|
|
@@ -53182,8 +53188,8 @@ var hU = /*#__PURE__*/ XH({
|
|
|
53182
53188
|
key: e.executions.join("-"),
|
|
53183
53189
|
class: "pb-free-note is-warning"
|
|
53184
53190
|
}, "可能冲突:" + P(e.members.map((e) => I(n).display_name(e)).join(" 与 ")) + " 的重叠执行观察到 " + P(e.files.join("、")) + " 变化;修改者未确认。", 1))), 128)),
|
|
53185
|
-
I(t).free_error ? (U(), W("p",
|
|
53186
|
-
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),
|
|
53187
53193
|
c.value.archived ? Y("", !0) : (U(), G(h, {
|
|
53188
53194
|
key: 4,
|
|
53189
53195
|
icon: "i-lucide-plus",
|
|
@@ -53195,13 +53201,13 @@ var hU = /*#__PURE__*/ XH({
|
|
|
53195
53201
|
onClick: i[1] ||= (e) => E.value = !0
|
|
53196
53202
|
}))
|
|
53197
53203
|
]),
|
|
53198
|
-
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", {
|
|
53199
53205
|
key: e.id,
|
|
53200
53206
|
type: "button",
|
|
53201
53207
|
class: "pb-link pb-free-linked",
|
|
53202
53208
|
onClick: (t) => I(r)("room", e.id)
|
|
53203
|
-
}, [J(P(e.title), 1), K("small", null, P(I(n).phases[e.phase] || e.phase), 1)], 8,
|
|
53204
|
-
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, {
|
|
53205
53211
|
icon: "i-lucide-messages-square",
|
|
53206
53212
|
label: "开启讨论",
|
|
53207
53213
|
size: "sm",
|
|
@@ -53211,13 +53217,13 @@ var hU = /*#__PURE__*/ XH({
|
|
|
53211
53217
|
title: "由主持人推进成员轮流发言,到上限或结束后房间回到自由协作",
|
|
53212
53218
|
disabled: !te.value,
|
|
53213
53219
|
onClick: i[2] ||= (e) => k.value = !0
|
|
53214
|
-
}, null, 8, ["disabled"]), te.value ? Y("", !0) : (U(), W("p",
|
|
53215
|
-
C.value.items.length ? (U(), W("section",
|
|
53216
|
-
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$, {
|
|
53217
53223
|
open: k.value,
|
|
53218
53224
|
"onUpdate:open": i[3] ||= (e) => k.value = e
|
|
53219
53225
|
}, null, 8, ["open"]),
|
|
53220
|
-
q(
|
|
53226
|
+
q(WZ, {
|
|
53221
53227
|
open: E.value,
|
|
53222
53228
|
"onUpdate:open": i[4] ||= (e) => E.value = e,
|
|
53223
53229
|
description: "新成员加入后不打断其他成员;点卡片翻面可设置软件、模型、项目权限和要续接的已有会话。"
|
|
@@ -53244,47 +53250,47 @@ var hU = /*#__PURE__*/ XH({
|
|
|
53244
53250
|
]);
|
|
53245
53251
|
};
|
|
53246
53252
|
}
|
|
53247
|
-
}, [["__scopeId", "data-v-776a1930"]]),
|
|
53253
|
+
}, [["__scopeId", "data-v-776a1930"]]), B$ = {
|
|
53248
53254
|
id: "channel-sidebar",
|
|
53249
53255
|
class: "channel-sidebar",
|
|
53250
53256
|
"aria-label": "房间导航"
|
|
53251
|
-
},
|
|
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$ = [
|
|
53252
53258
|
"aria-valuemax",
|
|
53253
53259
|
"aria-valuenow",
|
|
53254
53260
|
"aria-valuetext"
|
|
53255
|
-
],
|
|
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 = {
|
|
53256
53262
|
key: 0,
|
|
53257
53263
|
class: "channel-header-context"
|
|
53258
|
-
},
|
|
53264
|
+
}, n1 = { class: "channel-header-actions" }, r1 = {
|
|
53259
53265
|
key: 0,
|
|
53260
53266
|
class: "channel-launch-recovery",
|
|
53261
53267
|
"aria-label": "未完成的创建或启动请求"
|
|
53262
|
-
},
|
|
53268
|
+
}, i1 = { role: "status" }, a1 = { class: "button-row" }, o1 = {
|
|
53263
53269
|
key: 1,
|
|
53264
53270
|
class: "channel-tabbar"
|
|
53265
|
-
},
|
|
53271
|
+
}, s1 = { class: "channel-brief-inner" }, c1 = { class: "channel-brief-heading" }, l1 = ["aria-label", "aria-expanded"], u1 = {
|
|
53266
53272
|
key: 0,
|
|
53267
53273
|
class: "channel-brief-preview"
|
|
53268
|
-
},
|
|
53274
|
+
}, d1 = {
|
|
53269
53275
|
id: "channel-brief-content",
|
|
53270
53276
|
class: "channel-brief-content"
|
|
53271
|
-
},
|
|
53277
|
+
}, f1 = ["innerHTML"], p1 = { class: "channel-brief-footer" }, m1 = { class: "channel-brief-status" }, h1 = { class: "channel-content" }, g1 = {
|
|
53272
53278
|
key: 0,
|
|
53273
53279
|
class: "content-page channel-summary",
|
|
53274
53280
|
role: "tabpanel",
|
|
53275
53281
|
"aria-label": "共识"
|
|
53276
|
-
},
|
|
53282
|
+
}, _1 = { class: "page-heading" }, v1 = { class: "form-footer" }, y1 = {
|
|
53277
53283
|
key: 1,
|
|
53278
53284
|
class: "channel-empty"
|
|
53279
|
-
},
|
|
53285
|
+
}, b1 = ["aria-valuenow", "aria-valuetext"], x1 = {
|
|
53280
53286
|
key: 2,
|
|
53281
53287
|
id: "channel-member-rail",
|
|
53282
53288
|
class: "channel-member-rail",
|
|
53283
53289
|
"aria-label": "当前焦点与讨论进度"
|
|
53284
|
-
},
|
|
53290
|
+
}, S1 = { class: "channel-rail-board" }, C1 = {
|
|
53285
53291
|
key: 2,
|
|
53286
53292
|
class: "progress-board is-docked"
|
|
53287
|
-
},
|
|
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 = {
|
|
53288
53294
|
__name: "ChannelWorkspace",
|
|
53289
53295
|
setup(e) {
|
|
53290
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 = [{
|
|
@@ -53306,14 +53312,14 @@ var hU = /*#__PURE__*/ XH({
|
|
|
53306
53312
|
label: "宽",
|
|
53307
53313
|
width: 1240
|
|
53308
53314
|
}
|
|
53309
|
-
}, b = Te(), x = /* @__PURE__ */ F(b.reading), S = /* @__PURE__ */ F(b.effects), C = /* @__PURE__ */ F(b.rail), w = /* @__PURE__ */ F(b.nav), T = /* @__PURE__ */ F(typeof window > "u" ? 728 : window.innerWidth), E = /* @__PURE__ */ F(b.collapsed), D = /* @__PURE__ */ F(!0), O = /* @__PURE__ */ F(b.rail_collapsed), ee = Z(() => T.value >=
|
|
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(() => {
|
|
53310
53316
|
let e = document.createElement("template");
|
|
53311
53317
|
return e.innerHTML = o.value?.rendered_brief || "", e.content.textContent.replace(/\s+/g, " ").trim();
|
|
53312
|
-
}), 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(() => ({
|
|
53313
53319
|
"--channel-reading-width": `${y[x.value].width}px`,
|
|
53314
53320
|
"--channel-rail-width": `${C.value}px`,
|
|
53315
53321
|
"--channel-topbar-height": `${ie.value}px`,
|
|
53316
|
-
"--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)`
|
|
53317
53323
|
})), le = Object.entries(y).map(([e, t]) => ({
|
|
53318
53324
|
value: e,
|
|
53319
53325
|
label: t.label
|
|
@@ -53396,12 +53402,12 @@ var hU = /*#__PURE__*/ XH({
|
|
|
53396
53402
|
}
|
|
53397
53403
|
function Te() {
|
|
53398
53404
|
try {
|
|
53399
|
-
let e = JSON.parse(localStorage.getItem(
|
|
53405
|
+
let e = JSON.parse(localStorage.getItem(E1)) || {};
|
|
53400
53406
|
return {
|
|
53401
53407
|
reading: Object.hasOwn(y, e.reading) ? e.reading : "default",
|
|
53402
53408
|
effects: e.effects === "reduced" ? "reduced" : "full",
|
|
53403
|
-
rail: Number.isFinite(e.rail) ? Math.min(
|
|
53404
|
-
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(),
|
|
53405
53411
|
collapsed: e.collapsed === !0,
|
|
53406
53412
|
brief_collapsed: e.brief_collapsed === !0,
|
|
53407
53413
|
rail_collapsed: e.rail_collapsed === !0
|
|
@@ -53410,7 +53416,7 @@ var hU = /*#__PURE__*/ XH({
|
|
|
53410
53416
|
return {
|
|
53411
53417
|
reading: "default",
|
|
53412
53418
|
effects: "full",
|
|
53413
|
-
rail:
|
|
53419
|
+
rail: k1,
|
|
53414
53420
|
nav: Ee(),
|
|
53415
53421
|
collapsed: !1,
|
|
53416
53422
|
brief_collapsed: !1,
|
|
@@ -53419,11 +53425,11 @@ var hU = /*#__PURE__*/ XH({
|
|
|
53419
53425
|
}
|
|
53420
53426
|
}
|
|
53421
53427
|
function Ee() {
|
|
53422
|
-
return typeof window > "u" ?
|
|
53428
|
+
return typeof window > "u" ? N1 : window.innerWidth >= 1900 ? 280 : window.innerWidth <= 980 ? 220 : N1;
|
|
53423
53429
|
}
|
|
53424
53430
|
function De() {
|
|
53425
53431
|
try {
|
|
53426
|
-
localStorage.setItem(
|
|
53432
|
+
localStorage.setItem(E1, JSON.stringify({
|
|
53427
53433
|
reading: x.value,
|
|
53428
53434
|
effects: S.value,
|
|
53429
53435
|
rail: C.value,
|
|
@@ -53454,19 +53460,19 @@ var hU = /*#__PURE__*/ XH({
|
|
|
53454
53460
|
}, e.currentTarget.setPointerCapture(e.pointerId));
|
|
53455
53461
|
}
|
|
53456
53462
|
function Ne(e) {
|
|
53457
|
-
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))));
|
|
53458
53464
|
}
|
|
53459
53465
|
function Pe(e) {
|
|
53460
53466
|
j.value?.pointer === e.pointerId && (j.value = null, e.currentTarget.hasPointerCapture(e.pointerId) && e.currentTarget.releasePointerCapture(e.pointerId), De());
|
|
53461
53467
|
}
|
|
53462
53468
|
function Fe(e) {
|
|
53463
53469
|
let t = {
|
|
53464
|
-
ArrowLeft: C.value +
|
|
53465
|
-
ArrowRight: C.value -
|
|
53466
|
-
Home:
|
|
53467
|
-
End:
|
|
53470
|
+
ArrowLeft: C.value + A1,
|
|
53471
|
+
ArrowRight: C.value - A1,
|
|
53472
|
+
Home: D1,
|
|
53473
|
+
End: O1
|
|
53468
53474
|
};
|
|
53469
|
-
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());
|
|
53470
53476
|
}
|
|
53471
53477
|
function Ie(e) {
|
|
53472
53478
|
e.button === 0 && (e.preventDefault(), e.currentTarget.focus(), ae.value = {
|
|
@@ -53476,19 +53482,19 @@ var hU = /*#__PURE__*/ XH({
|
|
|
53476
53482
|
}, e.currentTarget.setPointerCapture(e.pointerId));
|
|
53477
53483
|
}
|
|
53478
53484
|
function Le(e) {
|
|
53479
|
-
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))));
|
|
53480
53486
|
}
|
|
53481
53487
|
function Re(e) {
|
|
53482
53488
|
ae.value?.pointer === e.pointerId && (ae.value = null, e.currentTarget.hasPointerCapture(e.pointerId) && e.currentTarget.releasePointerCapture(e.pointerId), De());
|
|
53483
53489
|
}
|
|
53484
53490
|
function ze(e) {
|
|
53485
53491
|
let t = {
|
|
53486
|
-
ArrowLeft: se.value -
|
|
53487
|
-
ArrowRight: se.value +
|
|
53488
|
-
Home:
|
|
53492
|
+
ArrowLeft: se.value - P1,
|
|
53493
|
+
ArrowRight: se.value + P1,
|
|
53494
|
+
Home: j1,
|
|
53489
53495
|
End: oe.value
|
|
53490
53496
|
};
|
|
53491
|
-
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());
|
|
53492
53498
|
}
|
|
53493
53499
|
return (e, r) => {
|
|
53494
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;
|
|
@@ -53500,10 +53506,10 @@ var hU = /*#__PURE__*/ XH({
|
|
|
53500
53506
|
}]),
|
|
53501
53507
|
style: fe(ce.value)
|
|
53502
53508
|
}, [
|
|
53503
|
-
K("aside",
|
|
53509
|
+
K("aside", B$, [
|
|
53504
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),
|
|
53505
|
-
K("div",
|
|
53506
|
-
q(
|
|
53511
|
+
K("div", V$, [
|
|
53512
|
+
q(OZ, {
|
|
53507
53513
|
onSelect: ye,
|
|
53508
53514
|
onManage: _e,
|
|
53509
53515
|
onCreate: xe,
|
|
@@ -53512,12 +53518,12 @@ var hU = /*#__PURE__*/ XH({
|
|
|
53512
53518
|
onDeleteFolder: we,
|
|
53513
53519
|
onArchives: ve
|
|
53514
53520
|
}),
|
|
53515
|
-
K("div",
|
|
53521
|
+
K("div", H$, [K("button", {
|
|
53516
53522
|
type: "button",
|
|
53517
53523
|
class: "channel-section-toggle",
|
|
53518
53524
|
"aria-expanded": f.value,
|
|
53519
53525
|
onClick: r[0] ||= (e) => f.value = !f.value
|
|
53520
|
-
}, [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$)]),
|
|
53521
53527
|
f.value ? (U(), G(b, {
|
|
53522
53528
|
key: 0,
|
|
53523
53529
|
items: he.value,
|
|
@@ -53533,7 +53539,7 @@ var hU = /*#__PURE__*/ XH({
|
|
|
53533
53539
|
}
|
|
53534
53540
|
}, null, 8, ["items"])) : Y("", !0)
|
|
53535
53541
|
]),
|
|
53536
|
-
K("footer",
|
|
53542
|
+
K("footer", W$, [K("button", {
|
|
53537
53543
|
type: "button",
|
|
53538
53544
|
class: "channel-self-button",
|
|
53539
53545
|
"aria-label": `账号与设置:${I(n).display_name(I(_))}${ge.value ? "," + ge.value : ""}`,
|
|
@@ -53549,10 +53555,10 @@ var hU = /*#__PURE__*/ XH({
|
|
|
53549
53555
|
"text",
|
|
53550
53556
|
"alt",
|
|
53551
53557
|
"class"
|
|
53552
|
-
]), 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", {
|
|
53553
53559
|
class: M({ connected: I(t).connected }),
|
|
53554
53560
|
title: I(t).connected ? "网站已连接" : "网站未连接"
|
|
53555
|
-
}, null, 10,
|
|
53561
|
+
}, null, 10, q$), J(P(ge.value || (I(t).connected ? "网站已连接" : "网站未连接")), 1)], 2)])], 8, G$), q(O, { text: "设置" }, {
|
|
53556
53562
|
default: L(() => [q(T, {
|
|
53557
53563
|
icon: "i-lucide-settings-2",
|
|
53558
53564
|
color: "neutral",
|
|
@@ -53573,7 +53579,7 @@ var hU = /*#__PURE__*/ XH({
|
|
|
53573
53579
|
"aria-label": "调整房间栏宽度",
|
|
53574
53580
|
"aria-orientation": "vertical",
|
|
53575
53581
|
"aria-controls": "channel-sidebar",
|
|
53576
|
-
"aria-valuemin":
|
|
53582
|
+
"aria-valuemin": j1,
|
|
53577
53583
|
"aria-valuemax": oe.value,
|
|
53578
53584
|
"aria-valuenow": se.value,
|
|
53579
53585
|
"aria-valuetext": `${se.value} 像素`,
|
|
@@ -53584,13 +53590,13 @@ var hU = /*#__PURE__*/ XH({
|
|
|
53584
53590
|
onPointercancel: Re,
|
|
53585
53591
|
onLostpointercapture: Re,
|
|
53586
53592
|
onKeydown: ze
|
|
53587
|
-
}, null, 40,
|
|
53588
|
-
K("main",
|
|
53593
|
+
}, null, 40, J$)),
|
|
53594
|
+
K("main", Y$, [K("div", {
|
|
53589
53595
|
ref_key: "topbar",
|
|
53590
53596
|
ref: re,
|
|
53591
53597
|
class: M(["channel-topbar", { "is-overlay": o.value && I(t).tab === "discussion" }])
|
|
53592
53598
|
}, [
|
|
53593
|
-
K("header",
|
|
53599
|
+
K("header", X$, [
|
|
53594
53600
|
q(O, { text: E.value ? "展开房间栏" : "收起房间栏" }, {
|
|
53595
53601
|
default: L(() => [q(T, {
|
|
53596
53602
|
icon: "i-lucide-panel-left",
|
|
@@ -53615,8 +53621,8 @@ var hU = /*#__PURE__*/ XH({
|
|
|
53615
53621
|
"aria-expanded": d.value,
|
|
53616
53622
|
onClick: r[4] ||= (e) => d.value = !0
|
|
53617
53623
|
}, null, 8, ["aria-expanded"]),
|
|
53618
|
-
K("span",
|
|
53619
|
-
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, {
|
|
53620
53626
|
key: 0,
|
|
53621
53627
|
color: "neutral",
|
|
53622
53628
|
variant: "subtle",
|
|
@@ -53625,12 +53631,12 @@ var hU = /*#__PURE__*/ XH({
|
|
|
53625
53631
|
default: L(() => [...r[26] ||= [J("已存档", -1)]]),
|
|
53626
53632
|
_: 1
|
|
53627
53633
|
})) : Y("", !0)]),
|
|
53628
|
-
o.value ? (U(), W("span",
|
|
53634
|
+
o.value ? (U(), W("span", t1, [
|
|
53629
53635
|
J(P(me.value.find((e) => e.value === I(t).tab)?.label), 1),
|
|
53630
53636
|
r[27] ||= K("span", null, "·", -1),
|
|
53631
53637
|
J(P(o.value.message_count) + " 条记录", 1)
|
|
53632
53638
|
])) : Y("", !0),
|
|
53633
|
-
K("div",
|
|
53639
|
+
K("div", n1, [
|
|
53634
53640
|
I(t).tab === "discussion" ? (U(), W("form", {
|
|
53635
53641
|
key: 0,
|
|
53636
53642
|
class: "channel-search",
|
|
@@ -53688,7 +53694,7 @@ var hU = /*#__PURE__*/ XH({
|
|
|
53688
53694
|
])]),
|
|
53689
53695
|
_: 1
|
|
53690
53696
|
})) : Y("", !0),
|
|
53691
|
-
o.value && !(k.value && ee.value) ? (U(), G(
|
|
53697
|
+
o.value && !(k.value && ee.value) ? (U(), G(a$, { key: 2 })) : Y("", !0)
|
|
53692
53698
|
]),
|
|
53693
53699
|
q(O, { text: te.value }, {
|
|
53694
53700
|
default: L(() => [q(T, {
|
|
@@ -53709,12 +53715,12 @@ var hU = /*#__PURE__*/ XH({
|
|
|
53709
53715
|
_: 1
|
|
53710
53716
|
}, 8, ["text"])
|
|
53711
53717
|
]),
|
|
53712
|
-
I(t).launch.recoveries.length ? (U(), W("section",
|
|
53718
|
+
I(t).launch.recoveries.length ? (U(), W("section", r1, [
|
|
53713
53719
|
r[28] ||= K("h2", null, "继续未完成的请求", -1),
|
|
53714
53720
|
(U(!0), W(H, null, B(I(t).launch.recoveries, (e) => (U(), W("article", { key: e.id }, [
|
|
53715
53721
|
K("strong", null, P(e.title), 1),
|
|
53716
|
-
K("p",
|
|
53717
|
-
K("div",
|
|
53722
|
+
K("p", i1, P(e.error || "启动结果尚未确认;原请求已保存在此浏览器中。"), 1),
|
|
53723
|
+
K("div", a1, [
|
|
53718
53724
|
q(T, {
|
|
53719
53725
|
label: e.direct ? "继续创建房间" : "继续本次启动",
|
|
53720
53726
|
size: "sm",
|
|
@@ -53747,7 +53753,7 @@ var hU = /*#__PURE__*/ XH({
|
|
|
53747
53753
|
]))), 128)),
|
|
53748
53754
|
r[29] ||= K("small", null, "移除待办不会删除房间或停止讨论。", -1)
|
|
53749
53755
|
])) : Y("", !0),
|
|
53750
|
-
o.value ? (U(), W("div",
|
|
53756
|
+
o.value ? (U(), W("div", o1, [q(de, {
|
|
53751
53757
|
modelValue: ue.value,
|
|
53752
53758
|
"onUpdate:modelValue": r[9] ||= (e) => ue.value = e,
|
|
53753
53759
|
items: me.value,
|
|
@@ -53762,7 +53768,7 @@ var hU = /*#__PURE__*/ XH({
|
|
|
53762
53768
|
key: 2,
|
|
53763
53769
|
class: M(["channel-host-brief", { "is-collapsed": D.value }]),
|
|
53764
53770
|
"aria-label": "主持简报"
|
|
53765
|
-
}, [K("div",
|
|
53771
|
+
}, [K("div", s1, [K("div", c1, [K("button", {
|
|
53766
53772
|
type: "button",
|
|
53767
53773
|
class: "channel-brief-toggle",
|
|
53768
53774
|
"aria-label": D.value ? "展开主持简报" : "收起主持简报",
|
|
@@ -53772,8 +53778,8 @@ var hU = /*#__PURE__*/ XH({
|
|
|
53772
53778
|
}, [
|
|
53773
53779
|
q(y, { name: D.value ? "i-lucide-chevron-right" : "i-lucide-chevron-down" }, null, 8, ["name"]),
|
|
53774
53780
|
K("strong", null, "主持简报" + P(D.value ? ":" : ""), 1),
|
|
53775
|
-
D.value ? (U(), W("span",
|
|
53776
|
-
], 8,
|
|
53781
|
+
D.value ? (U(), W("span", u1, P(ne.value), 1)) : Y("", !0)
|
|
53782
|
+
], 8, l1), D.value ? Y("", !0) : (U(), G(T, {
|
|
53777
53783
|
key: 0,
|
|
53778
53784
|
label: "更新简报",
|
|
53779
53785
|
color: "neutral",
|
|
@@ -53781,19 +53787,19 @@ var hU = /*#__PURE__*/ XH({
|
|
|
53781
53787
|
size: "xs",
|
|
53782
53788
|
class: "channel-brief-update",
|
|
53783
53789
|
onClick: r[10] ||= (e) => I(i)("tab", "context")
|
|
53784
|
-
}))]), vr(K("div",
|
|
53790
|
+
}))]), vr(K("div", d1, [K("div", {
|
|
53785
53791
|
class: "channel-brief-text markdown-body",
|
|
53786
53792
|
innerHTML: o.value.rendered_brief
|
|
53787
|
-
}, 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)
|
|
53788
53794
|
], 2), o.value ? (U(), W("div", {
|
|
53789
53795
|
key: 0,
|
|
53790
53796
|
class: M(["channel-body", { "channel-body-discussion": I(t).tab === "discussion" }])
|
|
53791
|
-
}, [K("div",
|
|
53797
|
+
}, [K("div", h1, [
|
|
53792
53798
|
vr(q(cK, {
|
|
53793
53799
|
onDetail: be,
|
|
53794
53800
|
onEdit: r[11] ||= (e) => s.value = "edit"
|
|
53795
53801
|
}, null, 512), [[Vc, I(t).tab === "discussion"]]),
|
|
53796
|
-
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, {
|
|
53797
53803
|
color: "neutral",
|
|
53798
53804
|
variant: "outline"
|
|
53799
53805
|
}, {
|
|
@@ -53834,7 +53840,7 @@ var hU = /*#__PURE__*/ XH({
|
|
|
53834
53840
|
}, null, 8, ["modelValue"])]),
|
|
53835
53841
|
_: 1
|
|
53836
53842
|
}),
|
|
53837
|
-
K("div",
|
|
53843
|
+
K("div", v1, [K("span", null, "依据消息截止 #" + P(I(t).snapshot_id), 1), q(T, {
|
|
53838
53844
|
type: "submit",
|
|
53839
53845
|
color: "neutral",
|
|
53840
53846
|
icon: "i-lucide-check",
|
|
@@ -53848,7 +53854,7 @@ var hU = /*#__PURE__*/ XH({
|
|
|
53848
53854
|
onOpen: r[15] ||= (e) => s.value = e,
|
|
53849
53855
|
onDetail: be
|
|
53850
53856
|
})) : Y("", !0)
|
|
53851
|
-
])], 2)) : (U(), W("div",
|
|
53857
|
+
])], 2)) : (U(), W("div", y1, [
|
|
53852
53858
|
q(y, { name: "i-lucide-hash" }),
|
|
53853
53859
|
r[31] ||= K("h2", null, "新建一个协作房间", -1),
|
|
53854
53860
|
r[32] ||= K("p", null, "邀请 AI 一起协作,随时 @ 提问;需要时开启讨论,保留所有人的观点。", -1),
|
|
@@ -53867,8 +53873,8 @@ var hU = /*#__PURE__*/ XH({
|
|
|
53867
53873
|
"aria-label": "调整右侧栏宽度",
|
|
53868
53874
|
"aria-orientation": "vertical",
|
|
53869
53875
|
"aria-controls": "channel-member-rail",
|
|
53870
|
-
"aria-valuemin":
|
|
53871
|
-
"aria-valuemax":
|
|
53876
|
+
"aria-valuemin": D1,
|
|
53877
|
+
"aria-valuemax": O1,
|
|
53872
53878
|
"aria-valuenow": C.value,
|
|
53873
53879
|
"aria-valuetext": `${C.value} 像素`,
|
|
53874
53880
|
title: "拖动调整右侧栏宽度,也可使用左右方向键",
|
|
@@ -53878,11 +53884,11 @@ var hU = /*#__PURE__*/ XH({
|
|
|
53878
53884
|
onPointercancel: Pe,
|
|
53879
53885
|
onLostpointercapture: Pe,
|
|
53880
53886
|
onKeydown: Fe
|
|
53881
|
-
}, null, 40,
|
|
53882
|
-
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$, {
|
|
53883
53889
|
key: 1,
|
|
53884
53890
|
docked: ""
|
|
53885
|
-
})) : (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),
|
|
53886
53892
|
q(De, {
|
|
53887
53893
|
open: d.value,
|
|
53888
53894
|
"onUpdate:open": r[18] ||= (e) => d.value = e,
|
|
@@ -53894,7 +53900,7 @@ var hU = /*#__PURE__*/ XH({
|
|
|
53894
53900
|
body: "channel-drawer-body"
|
|
53895
53901
|
}
|
|
53896
53902
|
}, {
|
|
53897
|
-
body: L(() => [q(
|
|
53903
|
+
body: L(() => [q(OZ, {
|
|
53898
53904
|
onSelect: ye,
|
|
53899
53905
|
onManage: _e,
|
|
53900
53906
|
onCreate: xe,
|
|
@@ -53925,7 +53931,7 @@ var hU = /*#__PURE__*/ XH({
|
|
|
53925
53931
|
}
|
|
53926
53932
|
}, {
|
|
53927
53933
|
body: L(() => [o.value ? (U(), W(H, { key: 0 }, [
|
|
53928
|
-
K("div",
|
|
53934
|
+
K("div", w1, [q(y, { name: "i-lucide-hash" }), K("h2", null, P(o.value.title), 1)]),
|
|
53929
53935
|
(U(), W(H, null, B([
|
|
53930
53936
|
{
|
|
53931
53937
|
key: "goal",
|
|
@@ -53952,7 +53958,7 @@ var hU = /*#__PURE__*/ XH({
|
|
|
53952
53958
|
class: "info-section"
|
|
53953
53959
|
}, [K("h3", null, P(e.label), 1), K("p", null, P(o.value[e.key] || "尚未填写"), 1)])), 64)),
|
|
53954
53960
|
q(ke),
|
|
53955
|
-
K("section",
|
|
53961
|
+
K("section", T1, [r[34] ||= K("h3", null, "参与身份", -1), (U(!0), W(H, null, B(N.value, (e) => (U(), W("div", {
|
|
53956
53962
|
key: e.name,
|
|
53957
53963
|
class: "expert-row"
|
|
53958
53964
|
}, [
|
|
@@ -53985,7 +53991,7 @@ var hU = /*#__PURE__*/ XH({
|
|
|
53985
53991
|
], 64)) : Y("", !0)]),
|
|
53986
53992
|
_: 1
|
|
53987
53993
|
}, 8, ["open"]),
|
|
53988
|
-
q(
|
|
53994
|
+
q(iZ, {
|
|
53989
53995
|
modelValue: s.value,
|
|
53990
53996
|
"onUpdate:modelValue": r[21] ||= (e) => s.value = e,
|
|
53991
53997
|
"reading-width": x.value,
|
|
@@ -54009,7 +54015,7 @@ var hU = /*#__PURE__*/ XH({
|
|
|
54009
54015
|
], 6);
|
|
54010
54016
|
};
|
|
54011
54017
|
}
|
|
54012
|
-
},
|
|
54018
|
+
}, z1 = {
|
|
54013
54019
|
__name: "App",
|
|
54014
54020
|
setup(e) {
|
|
54015
54021
|
return br("discussion", OV()), (e, t) => {
|
|
@@ -54020,7 +54026,7 @@ var hU = /*#__PURE__*/ XH({
|
|
|
54020
54026
|
toaster: null
|
|
54021
54027
|
}, {
|
|
54022
54028
|
default: L(() => [q(I(Qz), { "reduced-motion": "user" }, {
|
|
54023
|
-
default: L(() => [q(
|
|
54029
|
+
default: L(() => [q(R1)]),
|
|
54024
54030
|
_: 1
|
|
54025
54031
|
})]),
|
|
54026
54032
|
_: 1
|
|
@@ -54030,8 +54036,8 @@ var hU = /*#__PURE__*/ XH({
|
|
|
54030
54036
|
};
|
|
54031
54037
|
//#endregion
|
|
54032
54038
|
//#region frontend/main.js
|
|
54033
|
-
function
|
|
54034
|
-
bu(
|
|
54039
|
+
function B1() {
|
|
54040
|
+
bu(z1).use(ph).mount("#modern-root");
|
|
54035
54041
|
}
|
|
54036
|
-
document.readyState === "loading" ? document.addEventListener("DOMContentLoaded",
|
|
54042
|
+
document.readyState === "loading" ? document.addEventListener("DOMContentLoaded", B1) : B1();
|
|
54037
54043
|
//#endregion
|