@blueking/chat-x 0.0.49-beta.13 → 0.0.49-beta.14
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/dist/components/chat-input/build-default-placeholder.d.ts +7 -0
- package/dist/components/chat-input/chat-input.vue.d.ts +0 -1
- package/dist/index.css +1 -1
- package/dist/index.js +493 -469
- package/dist/index.js.map +1 -1
- package/dist/mcp/generated/docs/ai-slash-input.md +2 -0
- package/dist/mcp/generated/docs/chat-container.md +2 -1
- package/dist/mcp/generated/docs/chat-input.md +12 -8
- package/dist/mcp/generated/docs/cite-content.md +3 -3
- package/dist/mcp/generated/docs/file-upload-btn.md +1 -1
- package/dist/mcp/generated/docs/toolcall-render.md +2 -0
- package/dist/mcp/generated/docs/user-question-card.md +2 -0
- package/dist/mcp/generated/index.json +1 -1
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -1328,10 +1328,17 @@ var qt = m({
|
|
|
1328
1328
|
} }), [g("path", { d: "M800 128c17.664 0 32 12.288 32 27.424v545.408L594.016 896H224c-17.664 0-32-12.288-32-27.424V155.424C192 140.288 206.336 128 224 128z m-26.176 59.072H250.176v649.856h276.384v-134.88c0-31.52 28.704-57.12 64-57.12h183.264V187.072zM735.52 704h-144.96a13.024 13.024 0 0 0-5.824 1.216v122.432L735.52 704zM704 480v64H320v-64h384z m-128-96v64h-256v-64h256z m96-128v64H320V256h352z" })]), un = g("svg", X(X({}, Y), {}, { class: {
|
|
1329
1329
|
[Y.class]: !0,
|
|
1330
1330
|
"ai-node-tab-icon": !0
|
|
1331
|
-
} }), [g("path", { d: "M374.656 640c57.184 0 105.184 41.088 118.72 96.384 1.312-0.16 2.624-0.384 3.968-0.384h368c16.928 0 30.656 14.336 30.656 32s-13.76 32-30.656 32h-368c-1.376 0-2.656-0.256-3.936-0.384-13.568 55.296-61.568 96.384-118.72 96.384-57.184 0-105.216-41.088-118.72-96.384-1.344 0.16-2.624 0.384-3.968 0.384H190.656C173.76 800 160 785.664 160 768s13.76-32 30.656-32h61.344c1.344 0 2.624 0.256 3.936 0.384C269.472 681.088 317.504 640 374.656 640z m0 64c-33.824 0-61.312 28.704-61.312 64s27.52 64 61.312 64c33.824 0 61.344-28.704 61.344-64s-27.52-64-61.344-64z m306.688-320c57.152 0 105.184 41.088 118.72 96.384 1.28-0.16 2.56-0.384 3.936-0.384h61.344c16.928 0 30.656 14.336 30.656 32s-13.76 32-30.656 32h-61.344c-1.344 0-2.624-0.256-3.936-0.384-13.536 55.296-61.568 96.384-118.72 96.384-57.184 0-105.184-41.088-118.72-96.384-1.312 0.16-2.624 0.384-3.968 0.384h-368C173.76 544 160 529.664 160 512s13.76-32 30.656-32h368c1.376 0 2.656 0.256 3.936 0.384 13.568-55.296 61.568-96.384 118.72-96.384z m0 64c-33.824 0-61.344 28.704-61.344 64s27.52 64 61.344 64 61.312-28.704 61.312-64-27.52-64-61.312-64z m-306.688-288c57.184 0 105.184 41.088 118.72 96.384 1.312-0.16 2.624-0.384 3.968-0.384h368c16.928 0 30.656 14.336 30.656 32s-13.76 32-30.656 32h-368c-1.376 0-2.656-0.256-3.936-0.384-13.568 55.296-61.568 96.384-118.72 96.384-57.184 0-105.216-41.088-118.72-96.384-1.344 0.16-2.624 0.384-3.968 0.384H190.656C173.76 320 160 305.664 160 288s13.76-32 30.656-32h61.344c1.344 0 2.624 0.256 3.936 0.384C269.472 201.088 317.504 160 374.656 160z m0 64c-33.824 0-61.312 28.704-61.312 64s27.52 64 61.312 64c33.824 0 61.344-28.704 61.344-64s-27.52-64-61.344-64z" })]), dn = g("svg", X(X({}, Y), {}, {
|
|
1332
|
-
|
|
1333
|
-
|
|
1334
|
-
|
|
1331
|
+
} }), [g("path", { d: "M374.656 640c57.184 0 105.184 41.088 118.72 96.384 1.312-0.16 2.624-0.384 3.968-0.384h368c16.928 0 30.656 14.336 30.656 32s-13.76 32-30.656 32h-368c-1.376 0-2.656-0.256-3.936-0.384-13.568 55.296-61.568 96.384-118.72 96.384-57.184 0-105.216-41.088-118.72-96.384-1.344 0.16-2.624 0.384-3.968 0.384H190.656C173.76 800 160 785.664 160 768s13.76-32 30.656-32h61.344c1.344 0 2.624 0.256 3.936 0.384C269.472 681.088 317.504 640 374.656 640z m0 64c-33.824 0-61.312 28.704-61.312 64s27.52 64 61.312 64c33.824 0 61.344-28.704 61.344-64s-27.52-64-61.344-64z m306.688-320c57.152 0 105.184 41.088 118.72 96.384 1.28-0.16 2.56-0.384 3.936-0.384h61.344c16.928 0 30.656 14.336 30.656 32s-13.76 32-30.656 32h-61.344c-1.344 0-2.624-0.256-3.936-0.384-13.536 55.296-61.568 96.384-118.72 96.384-57.184 0-105.184-41.088-118.72-96.384-1.312 0.16-2.624 0.384-3.968 0.384h-368C173.76 544 160 529.664 160 512s13.76-32 30.656-32h368c1.376 0 2.656 0.256 3.936 0.384 13.568-55.296 61.568-96.384 118.72-96.384z m0 64c-33.824 0-61.344 28.704-61.344 64s27.52 64 61.344 64 61.312-28.704 61.312-64-27.52-64-61.312-64z m-306.688-288c57.184 0 105.184 41.088 118.72 96.384 1.312-0.16 2.624-0.384 3.968-0.384h368c16.928 0 30.656 14.336 30.656 32s-13.76 32-30.656 32h-368c-1.376 0-2.656-0.256-3.936-0.384-13.568 55.296-61.568 96.384-118.72 96.384-57.184 0-105.216-41.088-118.72-96.384-1.344 0.16-2.624 0.384-3.968 0.384H190.656C173.76 320 160 305.664 160 288s13.76-32 30.656-32h61.344c1.344 0 2.624 0.256 3.936 0.384C269.472 201.088 317.504 160 374.656 160z m0 64c-33.824 0-61.312 28.704-61.312 64s27.52 64 61.312 64c33.824 0 61.344-28.704 61.344-64s-27.52-64-61.344-64z" })]), dn = g("svg", X(X({}, Y), {}, {
|
|
1332
|
+
viewBox: "0 0 16 16",
|
|
1333
|
+
class: {
|
|
1334
|
+
[Y.class]: !0,
|
|
1335
|
+
"ai-file-artifact-tab-icon": !0
|
|
1336
|
+
}
|
|
1337
|
+
}), [g("path", {
|
|
1338
|
+
"fill-rule": "evenodd",
|
|
1339
|
+
"clip-rule": "evenodd",
|
|
1340
|
+
d: "M3.5 14C3.22386 14 3 13.8082 3 13.5715L3 5.04938L6.71864 2L12.5 2C12.7761 2 13 2.192 13 2.42854L13 13.5715C13 13.8082 12.7761 14 12.5 14L3.5 14ZM3.90909 13.0769L12.0909 13.0769L12.0909 2.92308L7.77273 2.92308L7.77273 5.03069C7.77273 5.52292 7.32409 5.92308 6.77273 5.92308L3.90909 5.92308L3.90909 13.0769ZM4.50727 5L6.77273 5C6.81523 5 6.84568 4.98985 6.86364 4.98085L6.86363 3.06777L4.50727 5ZM5 8.5L5 7.5L11 7.5L11 8.5L5 8.5ZM7 10L7 9L11 9L11 10L7 10ZM5.5 12L5.5 11L11 11L11 12L5.5 12Z"
|
|
1341
|
+
})]), fn = g("svg", X(X({}, Y), {}, { class: {
|
|
1335
1342
|
[Y.class]: !0,
|
|
1336
1343
|
"ai-file-download-icon": !0
|
|
1337
1344
|
} }), [g("path", { d: "M192 640v192h640v-192h64v224c0 17.6-14.4 32-32 32h-704a32.064 32.064 0 0 1-32-32V640h64z m352-512v452.8l104-102.4 44.8 44.8L556.8 659.2 512 704l-44.8-44.8-136-136 44.8-44.8 104 102.4V128h64z" })]), pn = "<svg width=\"16\" height=\"16\" viewBox=\"0 0 16 16\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n<g id=\"c\">\n<path id=\"path4-path\" fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M11.5109 11.4029L11.8566 13.4943C11.6374 13.6143 11.2832 13.7257 10.811 13.8286C10.3304 13.94 9.76538 14 9.11607 14C7.25248 13.9657 5.85268 13.4 4.91667 12.32C3.97222 11.2314 3.5 9.85143 3.5 8.18C3.54216 6.2 4.10714 4.68286 5.18651 3.62C6.2996 2.54857 7.68254 2 9.35218 2C9.98462 2 10.5327 2.06 10.9881 2.16286C11.4435 2.26571 11.7808 2.37714 12 2.50571L11.5109 4.64L10.6171 4.34857C10.2798 4.26286 9.89187 4.22 9.44494 4.22C8.46677 4.21143 7.65724 4.52857 7.0248 5.16286C6.38393 5.78857 6.05506 6.74857 6.02976 8.02571C6.02976 9.19143 6.34177 10.1 6.94048 10.7686C7.53919 11.4286 8.38244 11.7714 9.46181 11.78L10.5833 11.6771C10.9459 11.6086 11.2495 11.5143 11.5109 11.4029Z\" fill=\"#3965BD\"/>\n</g>\n</svg>\n", mn = "<svg width=\"16\" height=\"16\" viewBox=\"0 0 16 16\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n<g id=\"cmd\">\n<g id=\"window-code\">\n<path id=\"Shape\" d=\"M4 4V2.5H2.5C2.224 2.5 2 2.724 2 3V4H4Z\" fill=\"#89DDFF\"/>\n<path id=\"Shape_2\" d=\"M14 4V3C14 2.724 13.776 2.5 13.5 2.5H5V4H14Z\" fill=\"#89DDFF\"/>\n<path id=\"Shape_3\" fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M2 5V13C2 13.276 2.224 13.5 2.5 13.5H13.5C13.776 13.5 14 13.276 14 13V5H2ZM6.3535 9.3535L4.5 11.207L3.793 10.5L5.293 9L3.793 7.5L4.5 6.793L6.3535 8.6465C6.549 8.842 6.549 9.158 6.3535 9.3535ZM7.5 11H10.5V10H7.5V11Z\" fill=\"#3965BD\"/>\n</g>\n</g>\n</svg>\n", hn = "<svg width=\"16\" height=\"16\" viewBox=\"0 0 16 16\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n<g id=\"console\">\n<g id=\"window-code\">\n<path id=\"Shape\" d=\"M4 4V2.5H2.5C2.224 2.5 2 2.724 2 3V4H4Z\" fill=\"#89DDFF\"/>\n<path id=\"Shape_2\" d=\"M14 4V3C14 2.724 13.776 2.5 13.5 2.5H5V4H14Z\" fill=\"#89DDFF\"/>\n<path id=\"Shape_3\" fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M2 5V13C2 13.276 2.224 13.5 2.5 13.5H13.5C13.776 13.5 14 13.276 14 13V5H2ZM6.3535 9.3535L4.5 11.207L3.793 10.5L5.293 9L3.793 7.5L4.5 6.793L6.3535 8.6465C6.549 8.842 6.549 9.158 6.3535 9.3535ZM7.5 11H10.5V10H7.5V11Z\" fill=\"#FF9CAC\"/>\n</g>\n</g>\n</svg>\n", gn = "<svg width=\"16\" height=\"16\" viewBox=\"0 0 16 16\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n<g id=\"cpp\">\n<path id=\"path4\" fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M7.86957 10.2686L8.1013 11.6629C7.95435 11.7429 7.71696 11.8171 7.40043 11.8857C7.07826 11.96 6.69956 12 6.26435 12C5.01522 11.9771 4.07696 11.6 3.44957 10.88C2.81652 10.1543 2.5 9.23429 2.5 8.12C2.52826 6.8 2.90696 5.78857 3.63043 5.08C4.37652 4.36571 5.30348 4 6.42261 4C6.84652 4 7.21391 4.04 7.51913 4.10857C7.82435 4.17714 8.05044 4.25143 8.19739 4.33714L7.86957 5.76L7.27043 5.56571C7.04435 5.50857 6.78435 5.48 6.48478 5.48C5.82913 5.47429 5.28652 5.68571 4.86261 6.10857C4.43304 6.52571 4.21261 7.16571 4.19565 8.01714C4.19565 8.79429 4.40478 9.4 4.80609 9.84571C5.20739 10.2857 5.77261 10.5143 6.49609 10.52L7.24783 10.4514C7.49087 10.4057 7.69435 10.3429 7.86957 10.2686ZM7.15218 7.42856H8.28261V6.28571H9.41305V7.42856H10.5435V8.57142H9.41305V9.71428H8.28261V8.57142H7.15218V7.42856ZM12.2391 7.42856H11.1087V8.57142H12.2391V9.71428H13.3696V8.57142H14.5V7.42856H13.3696V6.28571H12.2391V7.42856Z\" fill=\"#3965BD\"/>\n</g>\n</svg>\n", _n = "<svg width=\"16\" height=\"16\" viewBox=\"0 0 16 16\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n<g id=\"csharp\">\n<g id=\"Group 2\">\n<path id=\"Shape\" fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M4.47381 12.5714H6.21707L6.68203 10.0492H8.4253L7.96034 12.5714H9.70361L10.1686 10.0492H12.0668V8.74906H10.4785L10.7885 7.1727H12.5714V5.87252H11.0216L11.525 3.42854H9.82016L9.31677 5.87252H7.5735L8.07689 3.42854H6.33362L5.86867 5.87252H3.97042V7.1727H5.59837L5.28841 8.74906H3.42859V10.0492H4.97844L4.47381 12.5714ZM8.7365 8.74906H6.99323L7.3032 7.1727H9.04647L8.7365 8.74906Z\" fill=\"#89DDFF\"/>\n</g>\n</g>\n</svg>\n", vn = "<svg width=\"16\" height=\"16\" viewBox=\"0 0 16 16\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n<g id=\"css\">\n<path id=\"Vector\" d=\"M3.80077 2.00002C3.37577 2.00002 3 2.358 3 2.77614L3.88672 10.6043C3.92682 10.9173 4.07847 11.0925 4.3515 11.2498L7.711 12.9246C7.92166 13.0165 8.14422 13.0334 8.38675 12.9246L11.7382 11.2498C12.0131 11.1104 12.1768 10.8211 12.164 10.5171L13 2.75431C13 2.36152 12.6515 2 12.2265 2L3.80077 2.00002ZM6.28128 7.91174C6.27985 8.53654 6.27393 8.71843 6.41015 8.85799C6.54969 8.96399 6.79913 8.98069 7.19928 8.97684V9.57871H6.52352C5.91018 9.56524 5.2175 9.47936 5.21878 8.58886C5.2188 8.04912 5.25457 7.71343 5.05078 7.51577C4.89014 7.36514 4.54108 7.34022 4.25003 7.35739V6.75945C4.6498 6.77166 4.92362 6.7229 5.05078 6.605C5.45575 6.2295 4.91321 5.22116 5.53128 4.74797C5.85607 4.48458 6.43717 4.5028 7.19928 4.51039V5.11225C6.79643 5.10213 6.4993 5.13574 6.41015 5.2311C6.12266 5.51623 6.44634 6.31974 6.14065 6.78328C6.04715 6.91011 5.8849 6.99589 5.65628 7.04062C6.15268 7.1347 6.28515 7.42742 6.28128 7.91174ZM10.3438 7.04062C10.1152 6.99589 9.9529 6.91011 9.8594 6.78328C9.55371 6.31974 9.87739 5.51623 9.5899 5.2311C9.50075 5.13574 9.20362 5.10213 8.80078 5.11225V4.51039C9.56288 4.5028 10.144 4.48458 10.4688 4.74797C11.0868 5.22116 10.5443 6.2295 10.9493 6.605C11.0764 6.7229 11.3503 6.77166 11.75 6.75945V7.35739C11.459 7.34022 11.1099 7.36514 10.9493 7.51577C10.7455 7.71343 10.7813 8.04912 10.7813 8.58886C10.7826 9.47936 10.0899 9.56524 9.47653 9.57871H8.80078L8.80078 8.97684C9.20092 8.98069 9.45036 8.96399 9.5899 8.85799C9.72612 8.71843 9.7202 8.53654 9.71878 7.91174C9.7149 7.42742 9.84737 7.1347 10.3438 7.04062Z\" fill=\"#89DDFF\"/>\n</g>\n</svg>\n", yn = "<svg width=\"16\" height=\"16\" viewBox=\"0 0 16 16\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n<g id=\"dart\">\n<g id=\"dart_2\">\n<path id=\"Shape\" d=\"M8.32492 2.30799C8.19113 2.30799 8.057 2.36014 7.95354 2.46114C7.95196 2.46268 7.95 2.46339 7.94842 2.46496L4.47064 4.47503L7.93949 7.94388V7.94644L12.109 12.1159L12.904 10.684L10.0376 3.80245L8.70016 2.46496C8.59608 2.36089 8.46077 2.30798 8.32494 2.30798L8.32492 2.30799Z\" fill=\"#2ECC71\"/>\n<path id=\"Shape_2\" d=\"M4.47895 4.46698L2.46965 7.94171C2.46808 7.94329 2.46739 7.94525 2.46582 7.94683C2.36481 8.05028 2.31237 8.18557 2.31235 8.31935C2.31232 8.45518 2.36494 8.58933 2.469 8.69343L4.13434 10.3604L10.6473 12.9224L12.1195 12.1043L12.08 12.0648L12.0698 12.0661L7.98681 7.97598L7.98169 7.97597L4.47892 4.46705L4.47895 4.46698Z\" fill=\"#3965BD\"/>\n<path id=\"Shape_3\" d=\"M4.46986 4.46863L8.01852 8.02099L8.02364 8.021L12.108 12.1097L13.6626 11.8131L13.665 7.21356L12.0233 5.60463C11.6638 5.2522 11.1112 5.02509 10.556 4.95045L10.5573 4.93258L4.47014 4.46867L4.46986 4.46863Z\" fill=\"#3965BD\"/>\n<path id=\"Shape_4\" d=\"M4.47449 4.4727L8.025 8.02322V8.02833L12.1115 12.1148L11.8141 13.6693H7.21457L5.60651 12.0267C5.25426 11.667 5.02746 11.1143 4.95309 10.559L4.93523 10.5603L4.4745 4.4726L4.47449 4.4727Z\" fill=\"#2ECC71\"/>\n</g>\n</g>\n</svg>\n", bn = "<svg width=\"16\" height=\"16\" viewBox=\"0 0 16 16\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M7.54228 4H8.53197V4.98969H7.54228V4ZM12.2812 7.32311C11.8692 6.92917 11.7564 5.75576 12.2812 5.2361L12.4373 5.06009L12.5935 5.21096C13.0966 5.59651 13.3829 6.03235 13.4523 6.51848C14.1522 6.31286 14.6663 6.44739 15.1959 6.76992C14.8525 7.46312 14.3234 7.89784 13.14 7.85114C12.0686 10.4297 9.76555 11.9749 6.34774 12C4.54342 12 3.2509 11.3714 2.47018 10.0639C2.03632 9.2936 1.9445 8.73864 2.02777 7.67513H3.17282L3.40704 7.70027H4.57812H4.76028H5.93136H6.11353H7.28461H7.46677H8.61183H8.79399H9.96507L10.1993 7.67513C11.1268 7.70112 11.7031 7.64575 12.2812 7.32311ZM4.47423 6.63917H3.48454V7.62886H4.47423V6.63917ZM4.84536 6.63917H5.83506V7.62886H4.84536V6.63917ZM7.19588 6.63917H6.20619V7.62886H7.19588V6.63917ZM7.54228 6.63917H8.53197V7.62886H7.54228V6.63917ZM5.83506 5.31959H4.84536V6.30928H5.83506V5.31959ZM6.20619 5.31959H7.19588V6.30928H6.20619V5.31959ZM8.53197 5.31959H7.54228V6.30928H8.53197V5.31959ZM9.8763 6.63917H8.88661V7.62886H9.8763V6.63917Z\" fill=\"#3965BD\"/>\n</svg>\n", xn = "<svg width=\"16\" height=\"16\" viewBox=\"0 0 16 16\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n<g id=\"document\">\n<path id=\"Rectangle\" d=\"M4 3H9L11 4L12 6V13H4V3Z\" fill=\"#A9B4CB\"/>\n<path id=\"Union\" fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M9 2C9.26522 2 9.51957 2.10536 9.70711 2.29289L12.7071 5.29289C12.8946 5.48043 13 5.73478 13 6V12C13 12.5304 12.7893 13.0391 12.4142 13.4142C12.0391 13.7893 11.5304 14 11 14H5C4.46957 14 3.96086 13.7893 3.58579 13.4142C3.21071 13.0391 3 12.5304 3 12V4C3 3.46957 3.21071 2.96086 3.58579 2.58579C3.96086 2.21071 4.46957 2 5 2H9ZM12 6V12C12 12.2652 11.8946 12.5196 11.7071 12.7071C11.5196 12.8946 11.2652 13 11 13H5C4.73478 13 4.48043 12.8946 4.29289 12.7071C4.10536 12.5196 4 12.2652 4 12V4C4 3.73478 4.10536 3.48043 4.29289 3.29289C4.48043 3.10536 4.73478 3 5 3H9L12 6Z\" fill=\"#A9B4CB\"/>\n<path id=\"Vector\" d=\"M9 3V6H12\" fill=\"#F5F7F9\"/>\n<path id=\"Vector_2\" d=\"M10 8.5H6\" stroke=\"#434F65\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n<path id=\"Vector_3\" d=\"M10 10.5H6\" stroke=\"#434F65\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n<path id=\"Vector_4\" d=\"M7 6.5H6.5H6\" stroke=\"#252D3A\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n</g>\n</svg>\n", Sn = "<svg width=\"16\" height=\"16\" viewBox=\"0 0 16 16\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n<g id=\"git\">\n<path id=\"Vector\" d=\"M13.7737 7.46552L8.53425 2.22634C8.23272 1.92455 7.74334 1.92455 7.44145 2.22634L6.35353 3.31438L7.73357 4.69452C8.05438 4.58619 8.42212 4.65884 8.67773 4.91453C8.93471 5.17175 9.00683 5.54265 8.89581 5.86455L10.2259 7.19466C10.5477 7.08376 10.919 7.15545 11.176 7.41287C11.5352 7.77199 11.5352 8.35395 11.176 8.7132C10.8167 9.07259 10.2347 9.07259 9.87526 8.7132C9.60512 8.44286 9.53831 8.04601 9.67513 7.71316L8.43465 6.47262L8.43452 9.73704C8.52216 9.78037 8.60476 9.83824 8.67773 9.91095C9.03692 10.27 9.03692 10.8519 8.67773 11.2116C8.31848 11.5707 7.73627 11.5707 7.3774 11.2116C7.01822 10.8519 7.01822 10.27 7.3774 9.91095C7.4662 9.82229 7.56886 9.75524 7.67848 9.7103V6.41558C7.56886 6.37077 7.46632 6.30417 7.3774 6.21493C7.10533 5.94305 7.03983 5.54374 7.17933 5.20962L5.81889 3.8489L2.22638 7.44128C1.92454 7.74331 1.92454 8.2327 2.22638 8.53448L7.46581 13.7737C7.76745 14.0754 8.25671 14.0754 8.55873 13.7737L13.7737 8.55878C14.0754 8.25687 14.0754 7.7673 13.7737 7.46552Z\" fill=\"#FC8289\"/>\n</g>\n</svg>\n", Cn = "<svg width=\"16\" height=\"16\" viewBox=\"0 0 16 16\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n<path d=\"M1.16986 6.81872L1.3969 6.52901L4.28142 6.52764L4.0957 6.81735L1.16986 6.81872ZM3.78602 7.5314L3.8817 7.24169L0.227042 7.24422L0 7.53392L3.78602 7.5314ZM3.681 8.24661L3.70862 7.9569L2.04622 7.95827L1.88487 8.24797L3.681 8.24661ZM14.2842 10.5153C12.6848 11.3964 10.4997 11.0233 9.91546 9.11298C9.57021 9.7924 9.00651 10.3492 8.33473 10.6668C6.74306 11.4191 4.58207 10.763 4.30413 8.70126C4.10059 6.72509 5.70002 5.50395 6.64553 5.19565C8.14817 4.72756 9.63016 5.27759 10.1426 6.64649L8.52854 7.06955C8.35707 6.59232 7.42504 6.24867 6.70859 6.76666C5.5818 7.46187 5.60262 9.21139 6.964 9.47119C7.6708 9.5618 8.14558 9.21255 8.50149 8.67536L6.74877 8.67911L7.31195 7.46472H9.93871C11.0764 4.25516 15.5134 4.3957 15.9644 7.27974C16.1247 8.3048 15.7747 9.69424 14.2842 10.5153ZM12.8265 6.54437C11.6121 6.80568 11.3094 7.87842 11.4968 8.56573C11.6963 9.29717 12.469 9.77678 13.4494 9.31812C15.0207 8.58303 14.6088 6.16086 12.8265 6.54437Z\" fill=\"#89DDFF\"/>\n</svg>\n", wn = "<svg width=\"48\" height=\"48\" viewBox=\"0 0 48 48\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n<g id=\"html\">\n<path id=\"Vector\" d=\"M12.9759 36.7521L23.0939 41.7708C23.6775 42.0336 24.3251 42.1164 25.1251 41.7708L35.2055 36.7525C36.0326 36.3343 36.5219 35.4599 36.4839 34.5479L38.9668 11.5471C39.2187 10.2568 37.9963 9.05282 36.6724 9H11.3209C10.0416 9.10287 8.80205 10.0473 9.02649 11.6232L11.5842 34.8136C11.7502 35.7729 12.0397 36.2177 12.9759 36.7521ZM18.9564 31.4678L13.352 25.804C12.2184 24.9545 12.621 23.5981 13.352 22.9143L18.9941 17.2117C20.9784 15.455 23.4365 18.0715 21.7398 19.987L17.4519 24.3969L21.7022 28.6929C23.4646 30.871 20.6574 33.1333 18.9564 31.4678ZM35.2431 25.7656L29.6011 31.4678C27.677 33.1852 25.1021 30.6576 26.8553 28.6929L31.1056 24.3969L26.8177 20.063C25.1573 18.3572 27.4543 15.4892 29.5638 17.2877L35.1678 22.9523C35.9766 23.8034 35.9347 25.0644 35.2431 25.7656Z\" fill=\"#F78C6C\"/>\n</g>\n</svg>\n", Tn = "<svg width=\"16\" height=\"16\" viewBox=\"0 0 16 16\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n<g id=\"image\">\n<g id=\"Group\">\n<mask id=\"mask0\" mask-type=\"alpha\" maskUnits=\"userSpaceOnUse\" x=\"1\" y=\"3\" width=\"14\" height=\"10\">\n<rect id=\"Rectangle\" x=\"1.75\" y=\"3\" width=\"12.5\" height=\"10\" rx=\"2\" fill=\"#00B6C2\"/>\n</mask>\n<g mask=\"url(#mask0)\">\n<rect id=\"Rectangle_2\" x=\"1.75\" y=\"3\" width=\"12.5\" height=\"10\" fill=\"#80CBC4\"/>\n<path id=\"Vector 2\" d=\"M11.5625 8L4.25 14.25L14.9375 13.8036L15.5 9.78571L11.5625 8Z\" fill=\"#343944\"/>\n<path id=\"Vector\" d=\"M5.39583 8.20834C6.25877 8.20834 6.95833 7.50878 6.95833 6.64584C6.95833 5.78289 6.25877 5.08334 5.39583 5.08334C4.53288 5.08334 3.83333 5.78289 3.83333 6.64584C3.83333 7.50878 4.53288 8.20834 5.39583 8.20834Z\" fill=\"white\"/>\n</g>\n</g>\n</g>\n</svg>\n", En = "<svg width=\"14\" height=\"14\" viewBox=\"0 0 14 14\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n<g id=\"java\" clip-path=\"url(#clip0)\">\n<path id=\"Vector\" d=\"M9.74874 3.06384C8.68604 3.38456 7.53474 3.82383 6.90394 4.78631C6.45468 5.48669 6.78078 6.3859 7.30761 6.94371C7.67275 7.30287 7.52877 7.89222 7.15503 8.18561C6.76336 8.5277 7.21559 8.46773 7.44281 8.30342C7.99824 7.96047 8.61867 7.33393 8.38147 6.61919C8.19481 6.07947 7.49423 5.63219 7.74173 5.00145C8.22248 4.13391 9.22404 3.75228 9.97842 3.16332C10.2686 2.96958 9.86106 3.09017 9.74874 3.06384ZM7.89455 0C7.92802 0.154513 7.9615 0.309139 7.99497 0.463653C8.57682 2.77083 5.67838 3.29948 4.9858 4.93503C4.70077 5.77097 5.36128 6.53378 5.88965 7.10453C6.25317 7.47304 6.62234 7.84713 7.04664 8.15275C6.85309 7.17179 5.76065 6.53971 5.85881 5.48524C6.05372 4.47249 7.11552 4.02797 7.72462 3.29695C8.73632 2.17383 8.96067 0.999391 7.89455 0Z\" fill=\"#FC8289\"/>\n<path id=\"Vector_2\" d=\"M4.99939 10.7141C4.69734 10.7935 4.15521 10.9931 4.30216 11.4017C4.58287 11.8456 5.18354 11.9103 5.65799 12.0063C6.86108 12.1748 8.1107 11.9943 9.20797 11.4712C8.83106 11.3528 8.47798 11.129 8.13021 10.9922C7.11726 11.1988 6.03634 11.2857 5.02835 11.0154C5.07993 10.8951 5.54194 10.6186 5.15633 10.7026C5.10401 10.7064 5.0517 10.7103 4.99939 10.7141ZM4.67481 9.24399C4.37286 9.36552 3.83524 9.51038 3.8868 9.93157C4.07347 10.3532 4.63475 10.3918 5.02945 10.4839C6.52927 10.7016 8.06738 10.51 9.50721 10.061C9.18946 9.94198 8.85015 9.82972 8.61489 9.57232C7.33888 9.82527 5.99129 9.95245 4.71534 9.68242C4.53585 9.58784 4.89914 9.41113 4.91929 9.31561C5.27954 9.0072 4.79365 9.27048 4.67481 9.24399ZM2.85718 12.3479C3.32117 12.0395 3.89285 11.9595 4.44094 12.035C4.18415 11.8489 3.94933 11.6383 3.61054 11.6854C2.97402 11.7475 2.29236 11.914 1.82795 12.3807C1.5977 12.6516 1.92434 12.9611 2.20072 12.993C4.5554 13.4362 7.00888 13.5013 9.37379 13.0876C9.99121 12.927 10.7292 12.8562 11.1758 12.3576C11.3841 12.0044 10.8942 11.7458 10.6071 11.7235C10.4885 11.7532 10.8178 11.9634 10.8088 12.1181C10.5197 12.4373 10.0079 12.4284 9.60364 12.5295C6.60351 12.9199 3.64006 12.7639 2.85718 12.3479ZM9.28334 8.63784C9.51219 8.51413 9.75434 8.41702 9.94388 8.23224C9.20141 8.18784 8.47521 8.43212 7.73654 8.45826C6.53686 8.53185 5.30771 8.66892 4.11872 8.44084C3.93484 8.39829 4.26825 8.30242 4.31572 8.26508C4.74337 8.07498 5.21583 8.03256 5.62714 7.80154C5.45659 7.76274 5.29121 7.69061 5.11335 7.7127C4.34281 7.75564 3.5492 7.94506 2.90572 8.37517C2.67806 8.59057 2.96161 8.87002 3.19736 8.89858C4.83307 9.35146 8.54492 9.1237 9.28334 8.63784ZM10.5155 7.58524C10.1254 7.58361 9.75065 7.77028 9.59218 8.14508C9.40939 8.39295 9.89841 8.03153 10.0617 8.03528C10.5826 7.81908 11.2136 8.38584 10.9656 8.91988C10.7094 9.56876 10.0151 9.88017 9.49382 10.2525C9.06023 10.6078 9.19869 10.6243 9.66152 10.4561C10.4995 10.211 11.5038 9.81866 11.7787 8.9063C11.9768 8.15533 11.2467 7.51553 10.5155 7.58524ZM3.23199 13.3212C3.83735 13.9077 4.74025 13.8681 5.51883 13.9605C7.29614 14.0372 9.12159 14.0534 10.8303 13.5182C11.3177 13.3597 11.9404 12.9761 11.8038 12.3692C11.8443 12.0059 11.6607 12.4839 11.5835 12.5467C10.5277 13.5933 5.82457 13.7369 3.23199 13.3212Z\" fill=\"#80CBC4\"/>\n</g>\n<defs>\n<clipPath id=\"clip0\">\n<rect width=\"14\" height=\"14\" fill=\"white\"/>\n</clipPath>\n</defs>\n</svg>\n", Dn = "<svg width=\"16\" height=\"16\" viewBox=\"0 0 16 16\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n<g id=\"js\">\n<path id=\"Vector\" d=\"M11.0513 10.5305C11.5994 11.2632 10.1354 11.7956 9.54524 10.7368L8.74348 11.202L8.79262 11.2834C9.09465 11.792 9.56643 12.0899 10.2041 12.1755C11.6003 12.3424 12.5117 11.4521 12.017 10.1878C11.6654 9.46484 10.7441 9.32812 10.207 8.97168C9.89117 8.78766 9.95692 8.39816 10.2106 8.2419C10.4079 8.12037 10.8613 8.10498 11.0949 8.58927L11.8621 8.09481C11.2568 7.00391 9.82617 7.22363 9.39734 7.71929C8.81422 8.40435 8.98102 9.16895 9.49414 9.66016C9.89324 10.0422 10.5196 10.1719 11.0513 10.5305ZM7.42652 12.0748C7.86852 11.8961 8.12778 11.5265 8.19637 10.9771C8.20232 10.9215 8.2063 7.37171 8.2063 7.37171H7.23387L7.22685 10.883C7.2041 11.1104 7.0682 11.2733 6.86963 11.3052C6.53083 11.3598 6.30496 11.2611 6.06957 10.8204L5.27788 11.299C5.61719 12.0967 6.64009 12.3896 7.42652 12.0748ZM3.87643 3H12.1236C12.6091 3 13 3.39088 13 3.87643V12.1236C13 12.6091 12.6091 13 12.1236 13H3.87643C3.39088 13 3 12.6091 3 12.1236V3.87643C3 3.39088 3.39088 3 3.87643 3Z\" fill=\"#FFCB6B\"/>\n</g>\n</svg>\n", On = "<svg width=\"16\" height=\"16\" viewBox=\"0 0 16 16\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n<g id=\"json\">\n<path id=\"path4\" fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M5.5 3.5H4.5C3.94772 3.5 3.5 3.94772 3.5 4.5V6.5C3.5 7.05228 3.05228 7.5 2.5 7.5H2V8.5H2.5C3.05228 8.5 3.5 8.94772 3.5 9.5V11.5C3.5 12.05 3.965 12.365 4.5 12.5H5.5V11.5H4.5V9C4.5 8.44772 4.05228 8 3.5 8C4.05228 8 4.5 7.55228 4.5 7V4.5H5.5V3.5ZM12.5 4.5C12.5 3.94772 12.0523 3.5 11.5 3.5H10.5V4.5H11.5V7C11.5 7.55228 11.9477 8 12.5 8C11.9477 8 11.5 8.44772 11.5 9V11.5H10.5V12.5H11.5C12.0523 12.5 12.5 12.0523 12.5 11.5V9.5C12.5 8.94772 12.9477 8.5 13.5 8.5H14V7.5H13.5C12.9477 7.5 12.5 7.05228 12.5 6.5V4.5Z\" fill=\"#89DDFF\"/>\n<path id=\"Union\" fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M6 7.5C6.27614 7.5 6.5 7.72386 6.5 8C6.5 8.27614 6.27614 8.5 6 8.5C5.72386 8.5 5.5 8.27614 5.5 8C5.5 7.72386 5.72386 7.5 6 7.5ZM8 7.5C8.27614 7.5 8.5 7.72386 8.5 8C8.5 8.27614 8.27614 8.5 8 8.5C7.72386 8.5 7.5 8.27614 7.5 8C7.5 7.72386 7.72386 7.5 8 7.5ZM10.5 8C10.5 7.72386 10.2761 7.5 10 7.5C9.72386 7.5 9.5 7.72386 9.5 8C9.5 8.27614 9.72386 8.5 10 8.5C10.2761 8.5 10.5 8.27614 10.5 8Z\" fill=\"#FFCB6B\"/>\n</g>\n</svg>\n", kn = "<svg width=\"16\" height=\"16\" viewBox=\"0 0 16 16\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n<g id=\"kotlin\">\n<path id=\"XMLID_2_\" d=\"M2 14L8.02 7.97998L14 14H2Z\" fill=\"#3965BD\"/>\n<path id=\"Shape\" d=\"M2 2H8.02L2 8.5V2Z\" fill=\"#3965BD\"/>\n<path id=\"Shape_2\" d=\"M8.02 2L2 8.34V14L8.02 7.98L14 2H8.02Z\" fill=\"#F78C6C\"/>\n</g>\n</svg>\n", An = "<svg width=\"16\" height=\"16\" viewBox=\"0 0 16 16\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n<g id=\"less\">\n<path id=\"Shape\" fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M6.06815 6.76679C5.289 6.76679 4.54187 7.41075 4.56322 8.42418C4.56322 9.46929 5.25698 10.0816 6.17488 10.0816C6.55912 10.0816 6.98605 9.94434 7.31692 9.72265L6.99672 9.16315C6.76191 9.30038 6.53777 9.36372 6.30296 9.36372C5.87603 9.36372 5.54516 9.16315 5.45977 8.67754H7.39163C7.4023 8.60364 7.42365 8.45585 7.42365 8.28695C7.43432 7.43186 6.9647 6.76679 6.06815 6.76679ZM9.07759 8.09806C9.1228 8.11457 9.16945 8.1316 9.21675 8.14971C9.63301 8.28694 10.092 8.52975 10.092 9.11036C10.092 9.69098 9.63301 10.1344 8.77915 10.1344C8.37357 10.1344 7.8826 9.95489 7.5624 9.69097L7.97866 9.07869C8.26683 9.30038 8.53366 9.40595 8.8005 9.40595C9.08867 9.40595 9.21675 9.30038 9.21675 9.14203C9.21675 8.94566 8.93977 8.84061 8.63483 8.72496L8.56568 8.69865C8.18145 8.55086 7.7225 8.28694 7.7225 7.76967C7.7225 7.18906 8.21347 6.77735 8.93925 6.77735C9.43022 6.77735 9.79311 6.98848 10.0599 7.18906L9.63301 7.74856C9.3982 7.57965 9.18473 7.48464 8.94992 7.48464C8.71511 7.48464 8.58703 7.57965 8.58703 7.738C8.58703 7.91895 8.80654 7.9991 9.07759 8.09806ZM11.6557 8.09479L11.6557 8.09479C11.7026 8.11232 11.7509 8.1304 11.7997 8.14971C12.2159 8.28694 12.6749 8.52975 12.6749 9.11036C12.6749 9.69098 12.2159 10.1344 11.3621 10.1344C10.9565 10.1344 10.4655 9.95489 10.1453 9.69097L10.5723 9.07869C10.8604 9.30038 11.1273 9.40595 11.3941 9.40595C11.6823 9.40595 11.8104 9.30038 11.8104 9.14203C11.8104 8.94566 11.5334 8.84061 11.2284 8.72496L11.1593 8.69865C10.775 8.55086 10.3161 8.28694 10.3161 7.76967C10.3161 7.18906 10.8071 6.77735 11.5328 6.77735C12.0238 6.77735 12.3867 6.98848 12.6535 7.18906L12.2266 7.74856C11.9918 7.57965 11.7783 7.48464 11.5435 7.48464C11.3087 7.48464 11.1806 7.57965 11.1806 7.738C11.1806 7.91695 11.3953 7.99732 11.6557 8.09479ZM6.07882 7.47408C5.77997 7.47408 5.52381 7.67466 5.45977 8.09693H6.61248C6.61248 7.738 6.46306 7.47408 6.07882 7.47408Z\" fill=\"#69A7D3\"/>\n<path id=\"Path\" fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M3.39082 5.5C3.3161 5.5 2.82348 5.5 2.82348 5.5C2.24713 5.5 1.99097 5.72169 1.99097 6.40787C1.99097 6.8618 2.05501 7.11516 2.05501 7.50576C2.05501 7.72745 1.91626 7.95969 1.5 7.98081V8.52975C1.91626 8.54031 2.05501 8.77255 2.05501 8.99424C2.05501 9.38484 1.99097 9.61708 1.99097 10.071C1.99097 10.7572 2.24713 10.9789 2.81281 10.9789H3.22906V10.4933H3.10099C2.83415 10.4933 2.74877 10.3877 2.74877 10.0393C2.74877 9.69098 2.78079 9.39539 2.78079 9.0048C2.78079 8.51919 2.62069 8.32917 2.30049 8.25528V8.22361C2.62069 8.14971 2.78079 7.95969 2.78079 7.47409C2.78079 7.09405 2.74877 6.78791 2.74877 6.43954C2.74877 6.09117 2.82348 5.99616 3.10099 5.99616H3.39082C3.39082 5.81374 3.39082 5.61331 3.39082 5.5Z\" fill=\"#89DDFF\"/>\n<path id=\"Path_2\" fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M13.945 7.50576C13.945 7.09405 14.009 6.85125 14.009 6.40787C14.009 5.72169 13.7529 5.5 13.1872 5.5H12.7709V5.9856H12.899C13.1872 5.9856 13.2512 6.08061 13.2512 6.42898C13.2512 6.75624 13.2192 7.08349 13.2192 7.46353C13.2192 7.94914 13.3793 8.13916 13.6995 8.21305V8.24472C13.3793 8.31862 13.2192 8.50864 13.2192 8.99424C13.2192 9.37428 13.2512 9.68042 13.2512 10.0288C13.2512 10.3877 13.1765 10.4827 12.899 10.4827V10.4933H12.7709V11H13.1872C13.7529 11 14.009 10.7783 14.009 10.0921C14.009 9.6382 13.945 9.40595 13.945 8.99424C13.945 8.77255 14.0837 8.54031 14.5 8.51919V7.97025C14.0837 7.95969 13.945 7.72745 13.945 7.50576Z\" fill=\"#89DDFF\"/>\n<path id=\"Path_3\" fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M4.33908 9.07869V6.00672V5.54223V5.5L3.81936 5.5C3.81936 5.5 3.43826 5.5 3.38916 5.5C3.38916 5.61813 3.38916 5.99616 3.38916 5.99616C3.38916 6.68234 3.38916 9.02591 3.38916 9.02591C3.38916 9.66987 3.6133 10.0921 4.26437 10.0921C4.46716 10.0921 4.62726 10.0605 4.74466 10.0182L4.63793 9.33205C4.57389 9.34261 4.33908 9.27927 4.33908 9.07869Z\" fill=\"#69A7D3\"/>\n</g>\n</svg>\n", jn = "<svg width=\"16\" height=\"16\" viewBox=\"0 0 16 16\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n<g id=\"lua\">\n<g id=\"lua_2\">\n<path id=\"Oval\" fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M8.26067 13.6464C11.2349 13.6464 13.6461 11.2353 13.6461 8.261C13.6461 5.28673 11.2349 2.87561 8.26067 2.87561C5.2864 2.87561 2.87527 5.28673 2.87527 8.261C2.87527 11.2353 5.2864 13.6464 8.26067 13.6464Z\" stroke=\"#42A5F5\" stroke-width=\"1.04348\"/>\n<path id=\"Shape\" fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M8.32693 4.94489C6.45908 4.94508 4.94496 6.4355 4.94481 8.27405C4.94496 10.1126 6.45908 11.603 8.32693 11.6032C9.22409 11.6034 10.0846 11.2527 10.7191 10.6284C11.3535 10.004 11.71 9.15714 11.7101 8.27405C11.71 7.39096 11.3535 6.54407 10.7191 5.91972C10.0846 5.29537 9.22409 4.94471 8.32693 4.94489ZM9.29705 5.94454C9.61947 5.94439 9.92873 6.07038 10.1567 6.29476C10.3848 6.51914 10.5128 6.82352 10.5128 7.14089C10.5123 7.80138 9.96807 8.33651 9.29705 8.33619C8.62645 8.33594 8.08283 7.80098 8.08239 7.14089C8.08225 6.48039 8.62603 5.9448 9.29705 5.94454Z\" fill=\"#3965BD\"/>\n<path id=\"Oval_2\" fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M12.1361 5.55105C12.8072 5.55105 13.3513 5.01554 13.3513 4.35496C13.3513 3.69438 12.8072 3.15887 12.1361 3.15887C11.465 3.15887 10.921 3.69438 10.921 4.35496C10.921 5.01554 11.465 5.55105 12.1361 5.55105Z\" fill=\"#3965BD\"/>\n</g>\n</g>\n</svg>\n", Mn = "<svg width=\"16\" height=\"16\" viewBox=\"0 0 16 16\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n<g id=\"markdown\">\n<path id=\"Shape\" fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M8.87005 10.7094H7.12995V8.00128L5.81435 9.73322L4.49876 8.00128V10.7094H2.75866V5.29312H4.49876L5.81435 7.10535L7.12995 5.29312H8.87005V10.7094ZM11.4814 11.1466L9.3156 8H10.6312V5.29184H12.3713V8H13.6869L11.4827 11.1466H11.4814ZM13.995 3.5H2.00495C1.73432 3.5 1.49917 3.6028 1.2995 3.80841C1.09983 4.01402 1 4.25616 1 4.53483V11.4652C1 11.7574 1.09983 12.003 1.2995 12.2018C1.49917 12.4006 1.73432 12.5 2.00495 12.5H13.995C14.2657 12.5 14.5008 12.4006 14.7005 12.2018C14.9002 12.003 15 11.7574 15 11.4652V4.53483C15 4.25616 14.9002 4.01402 14.7005 3.80841C14.5008 3.6028 14.2657 3.5 13.995 3.5Z\" fill=\"#F78C6C\"/>\n</g>\n</svg>\n", Nn = "<svg\n xmlns:dc=\"http://purl.org/dc/elements/1.1/\"\n xmlns:cc=\"http://creativecommons.org/ns#\"\n xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\"\n xmlns:svg=\"http://www.w3.org/2000/svg\"\n xmlns=\"http://www.w3.org/2000/svg\"\n xmlns:sodipodi=\"http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd\"\n xmlns:inkscape=\"http://www.inkscape.org/namespaces/inkscape\"\n version=\"1.1\"\n width=\"24\"\n height=\"24\"\n viewBox=\"0 0 24 24\"\n id=\"svg2\"\n inkscape:version=\"0.91 r13725\"\n sodipodi:docname=\"pdf.svg\">\n <metadata\n id=\"metadata10\">\n <rdf:RDF>\n <cc:Work\n rdf:about=\"\">\n <dc:format>image/svg+xml</dc:format>\n <dc:type\n rdf:resource=\"http://purl.org/dc/dcmitype/StillImage\" />\n </cc:Work>\n </rdf:RDF>\n </metadata>\n <defs\n id=\"defs8\" />\n <sodipodi:namedview\n pagecolor=\"#ffffff\"\n bordercolor=\"#666666\"\n borderopacity=\"1\"\n objecttolerance=\"10\"\n gridtolerance=\"10\"\n guidetolerance=\"10\"\n inkscape:pageopacity=\"0\"\n inkscape:pageshadow=\"2\"\n inkscape:window-width=\"729\"\n inkscape:window-height=\"480\"\n id=\"namedview6\"\n showgrid=\"false\"\n inkscape:zoom=\"9.8333333\"\n inkscape:cx=\"12\"\n inkscape:cy=\"11.898305\"\n inkscape:window-x=\"0\"\n inkscape:window-y=\"0\"\n inkscape:window-maximized=\"0\"\n inkscape:current-layer=\"svg2\" />\n <path\n d=\"M14,9H19.5L14,3.5V9M7,2H15L21,8V20A2,2 0 0,1 19,22H7C5.89,22 5,21.1 5,20V4A2,2 0 0,1 7,2M11.93,12.44C12.34,13.34 12.86,14.08 13.46,14.59L13.87,14.91C13,15.07 11.8,15.35 10.53,15.84V15.84L10.42,15.88L10.92,14.84C11.37,13.97 11.7,13.18 11.93,12.44M18.41,16.25C18.59,16.07 18.68,15.84 18.69,15.59C18.72,15.39 18.67,15.2 18.57,15.04C18.28,14.57 17.53,14.35 16.29,14.35L15,14.42L14.13,13.84C13.5,13.32 12.93,12.41 12.53,11.28L12.57,11.14C12.9,9.81 13.21,8.2 12.55,7.54C12.39,7.38 12.17,7.3 11.94,7.3H11.7C11.33,7.3 11,7.69 10.91,8.07C10.54,9.4 10.76,10.13 11.13,11.34V11.35C10.88,12.23 10.56,13.25 10.05,14.28L9.09,16.08L8.2,16.57C7,17.32 6.43,18.16 6.32,18.69C6.28,18.88 6.3,19.05 6.37,19.23L6.4,19.28L6.88,19.59L7.32,19.7C8.13,19.7 9.05,18.75 10.29,16.63L10.47,16.56C11.5,16.23 12.78,16 14.5,15.81C15.53,16.32 16.74,16.55 17.5,16.55C17.94,16.55 18.24,16.44 18.41,16.25M18,15.54L18.09,15.65C18.08,15.75 18.05,15.76 18,15.78H17.96L17.77,15.8C17.31,15.8 16.6,15.61 15.87,15.29C15.96,15.19 16,15.19 16.1,15.19C17.5,15.19 17.9,15.44 18,15.54M8.83,17C8.18,18.19 7.59,18.85 7.14,19C7.19,18.62 7.64,17.96 8.35,17.31L8.83,17M11.85,10.09C11.62,9.19 11.61,8.46 11.78,8.04L11.85,7.92L12,7.97C12.17,8.21 12.19,8.53 12.09,9.07L12.06,9.23L11.9,10.05L11.85,10.09Z\"\n id=\"path4\"\n style=\"fill:#D14748;fill-opacity:1\" />\n</svg>\n", Pn = "<svg width=\"16\" height=\"16\" viewBox=\"0 0 16 16\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n<g id=\"php\">\n<path id=\"Shape\" fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M5.97072 10.1917C6.05917 10.5873 6.05917 10.9842 5.88227 11.3798C6.27679 11.5558 6.27679 11.9077 6.27679 12.2597H6.32031C6.75975 12.3033 7.15427 12.3033 7.54878 12.171C7.72428 12.1274 7.7678 12.0823 7.72428 11.9063C7.68075 11.598 7.63583 11.2461 7.5923 10.9378C7.5923 10.6731 7.63583 10.4099 7.81132 10.1903C7.9433 9.97066 8.07527 9.92561 8.33781 10.0143C8.82077 10.1903 9.30374 10.1903 9.7853 9.92561C9.96079 9.83692 10.1363 9.88197 10.2683 10.0143C10.4002 10.1903 10.4438 10.4099 10.4002 10.6309C10.3567 10.8519 10.3118 11.1152 10.2247 11.3784C10.5757 11.5544 10.5322 11.9063 10.5322 12.2583H11.4981C11.6736 12.2583 11.8926 12.2146 12.0681 12.1259C12.3321 12.0373 12.4191 11.8613 12.3756 11.598C12.3321 11.0701 12.2436 10.5859 12.2001 10.0579C12.2001 9.83833 12.2001 9.61731 12.2436 9.35406C12.2436 9.31042 12.2872 9.17809 12.3321 9.13445C12.7715 8.69382 13.0341 8.12227 13.2096 7.55071C13.2096 7.50707 13.2096 7.41838 13.2531 7.37474C13.2531 7.28605 13.2966 7.28605 13.3851 7.37474C13.4286 7.46343 13.517 7.55071 13.5606 7.6394C13.649 7.72809 13.7361 7.81537 13.8245 7.85901C13.913 7.9477 14 7.90266 14 7.81537C13.9565 7.6394 13.9565 7.46343 13.9116 7.3311C13.6041 6.23164 13.0341 5.35179 12.0681 4.73519C11.4532 4.33961 10.7962 4.11859 10.0492 4.07495C9.43431 3.98626 8.82077 4.03131 8.20584 4.16364C8.11739 4.16364 8.07386 4.20728 8.03034 4.20728C7.94189 4.25092 7.89837 4.33961 7.94189 4.42689C7.94189 4.60286 7.98541 4.73519 8.03034 4.91116C8.16231 5.74737 8.07386 6.53853 7.54738 7.19877C7.10794 7.81537 6.45088 8.07863 5.70397 7.99134C5.48495 7.99134 5.35298 7.85901 5.26453 7.68304C5.04551 7.37474 5.00058 7.0228 4.91354 6.67086C4.95706 6.7145 4.95706 6.75955 5.00199 6.80319C5.00199 6.80319 5.00199 6.84683 5.04551 6.89188L5.44003 7.55212C5.65904 7.81678 5.83454 7.86042 6.18553 7.77173C6.97596 7.55212 7.5895 6.84824 7.67795 6.01203C7.67795 5.5714 7.67795 5.17582 7.54597 4.78024C7.32695 4.16364 6.88751 3.85674 6.27398 3.76805C5.52848 3.63572 4.87002 3.76805 4.16803 3.94402C3.90409 4.03271 3.64155 4.07635 3.42253 4.16364C3.07154 4.33961 2.85252 4.64791 2.67702 4.95621C2.15054 5.74878 1.93152 6.67227 2.01856 7.6394C2.06209 8.47561 2.41308 9.1795 3.11506 9.75105C3.37901 9.97066 3.64155 10.2353 3.90549 10.4549C3.99394 10.4986 4.03746 10.5873 4.03746 10.6745C4.12591 10.8069 4.08099 10.9392 3.94901 11.0701C3.90549 11.0701 3.86057 11.1138 3.81704 11.1588C3.59802 11.2911 3.5531 11.4671 3.72859 11.6431C3.90409 11.7754 4.07958 11.8627 4.2986 11.8627C4.34213 11.8627 4.38705 11.8627 4.43057 11.8191C4.78157 11.5108 4.95706 11.1588 5.00058 10.7196C5.00058 10.5 4.91213 10.324 4.78157 10.1917C4.69312 10.0157 4.51762 9.88338 4.38705 9.70741C4.34353 9.61872 4.25508 9.53144 4.16803 9.39911C4.12451 9.31042 4.07958 9.22314 4.12451 9.09081C4.21296 9.00212 4.34353 8.91484 4.4755 8.95848C4.651 9.00212 4.82649 9.09081 4.95847 9.17809C5.13396 9.22173 5.26593 9.31042 5.39791 9.3977C5.79242 9.53003 5.92439 9.83833 5.96792 10.1903L5.97072 10.1917ZM3.55731 8.8712C3.38181 9.00353 3.20632 9.04717 2.9873 9.04717H2.72335C2.59138 9.00353 2.54786 8.91484 2.59138 8.78251C2.6349 8.73887 2.6349 8.69383 2.67983 8.69383C2.85533 8.47421 2.9873 8.29824 3.16279 8.12227C3.20632 8.03358 3.29477 8.03358 3.38181 8.07863C3.55731 8.16732 3.7328 8.43057 3.68928 8.65018C3.68928 8.69383 3.60083 8.78251 3.55731 8.8698V8.8712ZM3.60083 6.84824C3.60083 6.98057 3.46886 7.1129 3.33689 7.1129C3.16139 7.1129 3.07294 6.98057 3.02942 6.84824C3.02942 6.67227 3.16139 6.53994 3.29336 6.53994C3.46886 6.58358 3.55731 6.67227 3.60083 6.84824Z\" fill=\"#FF9CAC\"/>\n</g>\n</svg>\n", Fn = "<svg width=\"16\" height=\"16\" viewBox=\"0 0 16 16\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n<g id=\"powerpoint\">\n<g id=\"player-19\">\n<path id=\"Shape\" d=\"M11 13.5H5C4.7235 13.5 4.5 13.276 4.5 13C4.5 12.724 4.7235 12.5 5 12.5H11C11.2765 12.5 11.5 12.724 11.5 13C11.5 13.276 11.2765 13.5 11 13.5Z\" fill=\"#FFCB6B\"/>\n<path id=\"Shape_2\" fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M2.5 2.5H13.5C13.7765 2.5 14 2.724 14 3V11C14 11.276 13.7765 11.5 13.5 11.5H2.5C2.2235 11.5 2 11.276 2 11V3C2 2.724 2.2235 2.5 2.5 2.5ZM7.2575 8.9285L9.7575 7.4285C9.9075 7.3385 10 7.1755 10 7C10 6.8245 9.9075 6.6615 9.7575 6.5715L7.2575 5.0715C7.1025 4.978 6.91 4.976 6.7535 5.065C6.5965 5.1535 6.5 5.32 6.5 5.5V8.5C6.5 8.68 6.5965 8.8465 6.7535 8.935C6.83 8.9785 6.915 9 7 9C7.089 9 7.178 8.9765 7.2575 8.9285Z\" fill=\"#F07178\"/>\n</g>\n</g>\n</svg>\n", In = "<svg width=\"16\" height=\"16\" viewBox=\"0 0 16 16\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n<g id=\"python\">\n<g id=\"Group\">\n<path id=\"Subtract\" fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M11.7026 5.79572L10.847 5.79572V7.10477C10.847 7.10477 10.8931 8.6663 9.43631 8.6663H7.00699C7.00699 8.6663 5.64216 8.64227 5.64216 10.1032V12.5188C5.43274 14.4191 10.5664 14.4787 10.5237 12.768L10.5209 11.5119H8.07157V11.1348H11.4938C13.7438 11.3233 13.6007 5.71718 11.7026 5.79572ZM9.24701 13.0712C8.95391 12.8871 8.95391 12.4245 9.24701 12.2404C9.54012 12.0564 9.90849 12.2877 9.90849 12.6558C9.90849 13.0239 9.54012 13.2553 9.24701 13.0712Z\" fill=\"#FFCB6B\"/>\n<path id=\"Subtract_2\" fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M4.45814 11.2093H5.3137V9.90025C5.3137 9.90025 5.26758 8.33871 6.72442 8.33871H9.15374C9.15374 8.33871 10.5186 8.36275 10.5186 6.90185V4.29366C10.3024 2.50375 5.48021 2.64641 5.63699 4.2584L5.63699 5.49309H8.08916V5.87023H4.66692C2.35573 5.81698 2.60267 11.2093 4.45814 11.2093ZM6.47205 4.7646C6.17895 4.58054 6.17895 4.11788 6.47205 3.93381C6.76516 3.74975 7.13353 3.98108 7.13353 4.34921C7.13353 4.71734 6.76516 4.94867 6.47205 4.7646Z\" fill=\"#89DDFF\"/>\n</g>\n</g>\n</svg>\n", Ln = "<svg\n xmlns:dc=\"http://purl.org/dc/elements/1.1/\"\n xmlns:cc=\"http://creativecommons.org/ns#\"\n xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\"\n xmlns:svg=\"http://www.w3.org/2000/svg\"\n xmlns=\"http://www.w3.org/2000/svg\"\n xmlns:sodipodi=\"http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd\"\n xmlns:inkscape=\"http://www.inkscape.org/namespaces/inkscape\"\n version=\"1.1\"\n width=\"24\"\n height=\"24\"\n viewBox=\"0 0 24 24\"\n id=\"svg2\"\n inkscape:version=\"0.91 r13725\"\n sodipodi:docname=\"r.svg\">\n <metadata\n id=\"metadata10\">\n <rdf:RDF>\n <cc:Work\n rdf:about=\"\">\n <dc:format>image/svg+xml</dc:format>\n <dc:type\n rdf:resource=\"http://purl.org/dc/dcmitype/StillImage\" />\n <dc:title />\n </cc:Work>\n </rdf:RDF>\n </metadata>\n <defs\n id=\"defs8\" />\n <sodipodi:namedview\n pagecolor=\"#ffffff\"\n bordercolor=\"#666666\"\n borderopacity=\"1\"\n objecttolerance=\"10\"\n gridtolerance=\"10\"\n guidetolerance=\"10\"\n inkscape:pageopacity=\"0\"\n inkscape:pageshadow=\"2\"\n inkscape:window-width=\"1366\"\n inkscape:window-height=\"705\"\n id=\"namedview6\"\n showgrid=\"false\"\n showguides=\"true\"\n inkscape:guide-bbox=\"true\"\n inkscape:zoom=\"19.666667\"\n inkscape:cx=\"15.291475\"\n inkscape:cy=\"12.315657\"\n inkscape:window-x=\"-8\"\n inkscape:window-y=\"-8\"\n inkscape:window-maximized=\"1\"\n inkscape:current-layer=\"svg2\" />\n <path\n style=\"fill:#6A9FB5;fill-opacity:1;stroke:none;stroke-width:1.20520186;stroke-opacity:1\"\n d=\"M 11.631317,5.8368312 A 11.290695,7.6323623 1.1322919 0 0 0.90486413,11.408015 c -0.0111635,0.01944 -0.023793,0.0377 -0.0332732,0.05823 -0.0466029,0.07537 -0.0568806,0.162618 -0.0748646,0.24747 a 11.290695,7.6323623 1.1322919 0 0 -0.27450419,1.75724 11.290695,7.6323623 1.1322919 0 0 7.23692446,7.076798 l 0,-11.7558428 4.5937824,0 c 0.627897,0 1.168095,0.04191 1.619991,0.1268542 0.451895,0.084943 0.875806,0.2700224 1.27062,0.5531671 0.399572,0.2831449 0.715204,0.6512235 0.948287,1.1042545 0.23784,0.447369 0.357688,1.011148 0.357688,1.690696 0,0.934377 -0.184815,1.696512 -0.551088,2.285454 -0.361517,0.58894 -0.880058,1.07744 -1.555523,1.46818 l 2.84486,4.346314 A 10.182443,7.631434 1.725488 0 0 20.558937,18.389151 11.290695,7.6323623 1.1322919 0 0 23.098099,13.470954 11.290695,7.6323623 1.1322919 0 0 18.444007,7.377797 10.182443,7.631434 1.725488 0 0 13.92301,5.9969585 11.290695,7.6323623 1.1322919 0 0 13.67554,5.9678445 10.182443,7.631434 1.725488 0 0 13.38232,5.9387305 11.290695,7.6323623 1.1322919 0 0 11.631317,5.8368312 Z m -1.147926,5.2821228 0,3.406345 0.842229,0 c 0.437624,0 0.803094,-0.0239 1.098016,-0.07486 0.294921,-0.05097 0.542623,-0.168156 0.742408,-0.349369 0.190271,-0.175549 0.328213,-0.368594 0.413836,-0.578121 0.09037,-0.215191 0.135172,-0.500023 0.135172,-0.856785 0,-0.317122 -0.0528,-0.588678 -0.162207,-0.815194 -0.109406,-0.226521 -0.299264,-0.406289 -0.565645,-0.536535 -0.185514,-0.09061 -0.401474,-0.143139 -0.648827,-0.160128 -0.247353,-0.02265 -0.534805,-0.03535 -0.863024,-0.03535 l -0.991958,0 z m 0,5.683481 0,4.225699 a 11.290695,7.6323623 1.1322919 0 0 0.840148,0.05407 10.182443,7.631434 1.725488 0 0 1.449466,0.08942 10.182443,7.631434 1.725488 0 0 1.638705,-0.103982 l -2.666016,-4.26521 -1.262303,0 z\"\n id=\"path4143\"\n inkscape:connector-curvature=\"0\" />\n</svg>\n", Rn = "<svg width=\"16\" height=\"16\" viewBox=\"0 0 16 16\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n<g id=\"react\">\n<path id=\"Vector\" fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M7.99304 11.9444C8.40983 12.3565 8.813 12.677 9.20254 12.9058C9.59208 13.1347 9.94974 13.2494 10.2755 13.25C10.3752 13.25 10.4749 13.2383 10.5746 13.215C10.6743 13.1916 10.7651 13.1518 10.8468 13.0954C11.1366 12.9271 11.3337 12.6324 11.4381 12.2112C11.5424 11.7901 11.5447 11.2707 11.445 10.6531C11.427 10.5405 11.4068 10.4281 11.3842 10.3161C11.3615 10.2041 11.3366 10.0918 11.3094 9.97914C11.4184 9.9414 11.5247 9.90635 11.6285 9.874C11.7322 9.84166 11.8343 9.80661 11.9346 9.76887C12.505 9.54422 12.9397 9.28214 13.2388 8.98261C13.5379 8.68308 13.6875 8.36018 13.6875 8.01393C13.6875 7.66767 13.5379 7.34478 13.2388 7.04525C12.9397 6.74572 12.505 6.48363 11.9346 6.25899C11.8349 6.22125 11.7328 6.1838 11.6285 6.14666C11.5241 6.10952 11.4178 6.07687 11.3094 6.04872C11.3366 5.93609 11.3615 5.82377 11.3842 5.71175C11.4068 5.59972 11.427 5.49219 11.445 5.38915C11.5354 4.75235 11.5308 4.22129 11.4311 3.79596C11.3314 3.37062 11.1366 3.07349 10.8468 2.90456C10.7564 2.84825 10.6613 2.80841 10.5616 2.78505C10.4619 2.76168 10.3622 2.75 10.2625 2.75C9.9454 2.75 9.58976 2.86472 9.19558 3.09416C8.8014 3.3236 8.40056 3.64409 7.99304 4.05565C7.58553 3.6435 7.187 3.323 6.79746 3.09416C6.40792 2.86532 6.05026 2.7506 5.72448 2.75C5.62477 2.75 5.52507 2.76168 5.42536 2.78505C5.32566 2.80841 5.23494 2.84825 5.15321 2.90456C4.86337 3.07289 4.66628 3.36763 4.56194 3.78877C4.45759 4.20991 4.45528 4.72929 4.55498 5.34692C4.57295 5.45954 4.59324 5.57187 4.61585 5.68389C4.63845 5.79591 4.66338 5.90824 4.69062 6.02086C4.58165 6.0586 4.47527 6.09365 4.37151 6.12599C4.26775 6.15834 4.16573 6.19339 4.06544 6.23113C3.49504 6.45578 3.06028 6.71786 2.76117 7.01739C2.46206 7.31692 2.3125 7.63982 2.3125 7.98607C2.3125 8.33233 2.46206 8.65522 2.76117 8.95475C3.06028 9.25428 3.49504 9.51637 4.06544 9.74101C4.16515 9.77876 4.26717 9.8162 4.37151 9.85334C4.47585 9.89048 4.58222 9.92313 4.69062 9.95128C4.66338 10.0639 4.63845 10.1762 4.61585 10.2883C4.59324 10.4003 4.57295 10.5078 4.55498 10.6108C4.46455 11.2285 4.46919 11.7503 4.56889 12.1762C4.6686 12.6021 4.86337 12.8993 5.15321 13.0676C5.23494 13.1143 5.32566 13.1518 5.42536 13.1799C5.52507 13.2081 5.62477 13.2221 5.72448 13.2221C6.05084 13.2317 6.4085 13.1218 6.79746 12.8924C7.18642 12.6629 7.58495 12.3469 7.99304 11.9444ZM7.36786 10.3853C7.47684 10.3949 7.58321 10.3997 7.68697 10.3997H8.31216C8.31216 10.3997 8.41853 10.3949 8.63127 10.3853C8.52229 10.5255 8.41592 10.6588 8.31216 10.7852C8.20839 10.9116 8.10202 11.0356 7.99304 11.1572C7.89334 11.0356 7.79132 10.9116 7.68697 10.7852C7.58263 10.6588 7.47626 10.5255 7.36786 10.3853ZM5.98272 9.19198C6.04591 9.29501 6.10243 9.39326 6.15228 9.48671C6.20213 9.58017 6.25865 9.67392 6.32184 9.76797C6.14967 9.73982 5.98214 9.71166 5.81926 9.68351C5.65637 9.65535 5.49782 9.6227 5.34363 9.58556C5.38885 9.43579 5.44102 9.27914 5.50014 9.1156C5.55927 8.95205 5.62043 8.79061 5.68361 8.63126C5.72883 8.72471 5.77636 8.81846 5.82621 8.91252C5.87606 9.00657 5.92823 9.10032 5.98272 9.19377V9.19198ZM5.34363 6.41175C5.49782 6.374 5.65637 6.34136 5.81926 6.3138C5.98214 6.28624 6.14967 6.25809 6.32184 6.22933L6.15837 6.51059C6.15837 6.51059 6.09953 6.60884 5.98185 6.80533C5.92737 6.89878 5.87519 6.99253 5.82534 7.08659C5.77549 7.18064 5.72796 7.27888 5.68274 7.38132C5.61028 7.21299 5.54681 7.04675 5.49232 6.88261C5.43783 6.71846 5.38798 6.56181 5.34276 6.41264L5.34363 6.41175ZM5.9549 7.99865C6.02736 7.8393 6.10214 7.68265 6.17923 7.52869C6.25633 7.37473 6.3401 7.21808 6.43052 7.05873L6.70268 6.60944C6.70268 6.60944 6.79775 6.45967 6.98788 6.16014C7.15077 6.14157 7.31598 6.12989 7.48351 6.1251C7.65103 6.1203 7.82088 6.11791 7.99304 6.11791C8.17448 6.11791 8.34897 6.1203 8.51649 6.1251C8.68402 6.12989 8.84923 6.14157 9.01212 6.16014C9.1211 6.30991 9.21848 6.45967 9.30427 6.60944C9.39007 6.7592 9.47847 6.90896 9.56948 7.05873C9.6599 7.21808 9.74367 7.37473 9.82077 7.52869C9.89786 7.68265 9.97264 7.8393 10.0451 7.99865L9.82077 8.46232C9.82077 8.46232 9.737 8.61688 9.56948 8.92599L9.29732 9.37529C9.29732 9.37529 9.20225 9.52505 9.01212 9.82458C8.84923 9.84315 8.68402 9.85484 8.51649 9.85963C8.34897 9.86442 8.17448 9.86682 7.99304 9.86682C7.82088 9.86682 7.65103 9.86442 7.48351 9.85963C7.31598 9.85484 7.15077 9.84315 6.98788 9.82458C6.8789 9.67482 6.78152 9.52505 6.69573 9.37529C6.60993 9.22552 6.52153 9.07576 6.43052 8.92599C6.33952 8.77623 6.25575 8.62167 6.17923 8.46232L5.9549 7.99865ZM10.3303 7.36694L10.0181 6.79095C9.96366 6.68791 9.91148 6.59206 9.86163 6.5034C9.81178 6.41474 9.75526 6.32338 9.69208 6.22933C9.86424 6.2479 10.0318 6.27127 10.1947 6.29942C10.3575 6.32758 10.5161 6.36023 10.6703 6.39737C10.6251 6.55672 10.5729 6.71816 10.5138 6.88171C10.4546 7.04525 10.3935 7.2067 10.3303 7.36605V7.36694ZM10.3303 8.61688C10.3935 8.77623 10.4546 8.93768 10.5138 9.10122C10.5729 9.26476 10.6251 9.42142 10.6703 9.57118C10.5161 9.60892 10.3575 9.64157 10.1947 9.66913C10.0318 9.69668 9.86424 9.72484 9.69208 9.75359L9.85555 9.47234C9.85555 9.47234 9.91004 9.37409 10.019 9.1776C10.0735 9.09313 10.1257 9.00417 10.1755 8.91072C10.2254 8.81727 10.2776 8.71902 10.332 8.61598L10.3303 8.61688ZM10.5885 12.6318C10.5433 12.6599 10.4935 12.6788 10.439 12.6884C10.3845 12.698 10.3257 12.7028 10.2625 12.7028C9.99061 12.7028 9.68947 12.5973 9.35905 12.3865C9.02864 12.1756 8.6959 11.897 8.36085 11.5508C8.52374 11.3729 8.6846 11.1832 8.84343 10.982C9.00226 10.7807 9.15848 10.5677 9.3121 10.3431C9.57469 10.3149 9.83062 10.2823 10.0799 10.2451C10.3291 10.208 10.5714 10.1565 10.8068 10.0906C10.834 10.1936 10.8566 10.299 10.8746 10.4069C10.8926 10.5147 10.9108 10.6201 10.9294 10.7232C11.0111 11.2102 11.0224 11.6221 10.9633 11.9587C10.9042 12.2954 10.7796 12.52 10.5894 12.6327L10.5885 12.6318ZM11.1589 6.53845C11.7931 6.72595 12.2867 6.9506 12.6397 7.21239C12.9928 7.47418 13.1693 7.73626 13.1693 7.99865C13.1693 8.2233 13.0446 8.44315 12.7954 8.65822C12.5461 8.87328 12.1951 9.06977 11.7424 9.24769C11.652 9.28543 11.5592 9.32047 11.4641 9.35282C11.3691 9.38517 11.2671 9.41573 11.1581 9.44448C11.0856 9.21025 11.0042 8.97152 10.9137 8.72831C10.8233 8.48509 10.7236 8.24157 10.6146 7.99775C10.7236 7.74495 10.8256 7.49694 10.9207 7.25372C11.0158 7.01051 11.0949 6.77178 11.1581 6.53755L11.1589 6.53845ZM10.2755 3.28107C10.33 3.28107 10.3845 3.28586 10.439 3.29544C10.4935 3.30503 10.5433 3.32839 10.5885 3.36553C10.7787 3.46857 10.9056 3.68633 10.9694 4.01881C11.0332 4.35128 11.0242 4.76553 10.9424 5.26155C10.9245 5.36459 10.9042 5.46763 10.8816 5.57067C10.859 5.67371 10.8387 5.78124 10.8207 5.89326C10.5854 5.83695 10.3431 5.79022 10.0938 5.75308C9.84453 5.71594 9.5886 5.68329 9.32601 5.65513C9.17182 5.4209 9.01559 5.20315 8.85734 5.00186C8.69909 4.80058 8.53823 4.61098 8.37476 4.43306C8.70981 4.09579 9.04052 3.81962 9.36688 3.60456C9.69324 3.3895 9.9967 3.28196 10.2773 3.28196L10.2755 3.28107ZM8.63214 5.59763C8.52316 5.59763 8.41679 5.59523 8.31303 5.59044C8.20926 5.58564 8.10289 5.58325 7.99391 5.58325C7.89421 5.58325 7.79219 5.58564 7.68784 5.59044C7.5835 5.59523 7.47713 5.59763 7.36873 5.59763C7.47771 5.45745 7.58408 5.32415 7.68784 5.19775C7.79161 5.07135 7.89363 4.94735 7.99391 4.82574C8.10289 4.94735 8.20926 5.07375 8.31303 5.20494C8.41679 5.33614 8.52316 5.46733 8.63214 5.59852V5.59763ZM5.41145 3.36553C5.45667 3.32779 5.50652 3.30443 5.56101 3.29544C5.6155 3.28646 5.67434 3.28166 5.73752 3.28107C6.00939 3.28107 6.31053 3.3865 6.64095 3.59737C6.97136 3.80824 7.3041 4.0868 7.63915 4.43306C7.47626 4.61098 7.3154 4.80058 7.15657 5.00186C6.99774 5.20315 6.84152 5.4209 6.6879 5.65513C6.42531 5.67371 6.16938 5.70426 5.92012 5.74679C5.67086 5.78932 5.42855 5.83845 5.1932 5.89416C5.16596 5.79112 5.14335 5.68569 5.12538 5.57786C5.10741 5.47003 5.08915 5.36459 5.0706 5.26155C4.98887 4.77452 4.97756 4.36506 5.03669 4.03318C5.09582 3.70131 5.22045 3.47905 5.41058 3.36643L5.41145 3.36553ZM4.84105 9.44448C4.20688 9.26656 3.71329 9.04431 3.36027 8.77773C3.00724 8.51115 2.83073 8.25145 2.83073 7.99865C2.83073 7.774 2.95536 7.55175 3.20462 7.3319C3.45388 7.11205 3.80488 6.91316 4.25761 6.73524C4.34804 6.6975 4.44078 6.66245 4.53585 6.6301C4.63092 6.59775 4.73294 6.5672 4.84192 6.53845C4.91438 6.77268 4.99582 7.0114 5.08625 7.25462C5.17668 7.49784 5.27639 7.74585 5.38537 7.99865C5.27639 8.24187 5.17436 8.48748 5.0793 8.73549C4.98423 8.9835 4.90511 9.21983 4.84192 9.44448H4.84105ZM5.07234 10.7223L5.12712 10.4132C5.12712 10.4132 5.14973 10.3056 5.19494 10.0906C5.43029 10.1469 5.6726 10.196 5.92186 10.2379C6.17112 10.2799 6.42705 10.3149 6.68964 10.3431C6.84383 10.5677 7.00006 10.7807 7.15831 10.982C7.31656 11.1832 7.47742 11.3729 7.64089 11.5508C7.30584 11.897 6.9731 12.1756 6.64269 12.3865C6.31227 12.5973 6.01113 12.7028 5.73926 12.7028C5.67608 12.7028 5.61956 12.698 5.5697 12.6884C5.51985 12.6788 5.46768 12.6599 5.41319 12.6318C5.22306 12.5191 5.09843 12.2945 5.0393 11.9578C4.98017 11.6212 4.99148 11.2093 5.07321 10.7223H5.07234Z\" fill=\"#69A7D3\"/>\n<path id=\"Vector_2\" fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M9.03907 7.99866C9.03907 8.28861 8.93705 8.53901 8.733 8.74988C8.52896 8.96075 8.28201 9.06618 7.99217 9.06618C7.71161 9.06618 7.46931 8.96075 7.26526 8.74988C7.06121 8.53901 6.95919 8.28861 6.95919 7.99866C6.95919 7.69913 7.06121 7.44393 7.26526 7.23307C7.46931 7.0222 7.71161 6.91676 7.99217 6.91676C8.28201 6.91676 8.52896 7.0222 8.733 7.23307C8.93705 7.44393 9.03907 7.69913 9.03907 7.99866Z\" fill=\"#3965BD\"/>\n</g>\n</svg>\n", zn = "<svg width=\"16\" height=\"16\" viewBox=\"0 0 16 16\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n<g id=\"ruby\">\n<g id=\"ruby-rough\" clip-path=\"url(#clip0)\">\n<path id=\"Vector\" d=\"M9.43963 4.82805C8.61484 7.03412 7.0761 8.55947 4.8704 9.34145C3.78936 9.72471 2.89315 8.78746 3.69544 7.18318C4.54439 5.48557 5.84188 4.24554 7.58279 3.49409C9.14583 2.96771 9.76432 3.57969 9.43963 4.82805ZM9.11123 6.49135L9.1117 6.4923L12.7563 6.23677C12.6654 6.15018 12.6143 6.09339 12.5552 6.04607L9.30288 3.43541C9.19593 3.34882 9.12969 3.21253 8.98678 3.02325C9.45099 3.02325 9.82624 3.01899 10.2015 3.0242C10.6543 3.03082 11.1181 2.98682 11.5582 3.06821C12.5098 3.24424 13.0175 3.85798 12.9995 4.82521C12.983 5.73186 12.4397 12.4617 12.4397 12.4617L10.9752 11.1567C10.9752 11.1567 10.8616 11.0298 10.793 10.9858C10.2057 10.612 9.96063 10.0546 9.82719 9.3883C9.59179 8.26394 9.2485 7.08223 9.11123 6.49135ZM6.23369 9.1711C7.49335 9.57427 8.74308 9.9746 10.0297 10.3863C9.36013 11.062 8.64797 11.6284 7.85204 12.1376L12.1066 12.4627L12.1071 12.5171C12.1071 12.5171 5.20495 12.987 4.91866 12.9818C3.70443 12.9596 3.01639 12.2942 3.00078 11.0762C2.99178 10.392 3.06229 9.70676 3.10583 9.02251C3.10914 8.97093 3.18296 8.92361 3.22413 8.8744C3.28517 8.92882 3.37413 8.97141 3.40394 9.03955C3.76642 9.87996 4.57654 11.7931 4.57654 11.7931C4.57654 11.7931 5.07766 11.742 5.30858 11.6824C5.39944 11.6592 5.50496 11.5485 5.5343 11.4557C5.83951 10.5232 6.12743 9.40052 6.23369 9.1711Z\" fill=\"#FC8289\"/>\n</g>\n</g>\n<defs>\n<clipPath id=\"clip0\">\n<rect width=\"10\" height=\"10\" fill=\"white\" transform=\"translate(3 3)\"/>\n</clipPath>\n</defs>\n</svg>\n", Bn = "<svg width=\"16\" height=\"16\" viewBox=\"0 0 16 16\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n<g id=\"rust\">\n<path id=\"Shape\" fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M13.9331 7.85821L13.4275 7.55159C13.4275 7.52777 13.4244 7.50356 13.4182 7.47897C13.4121 7.45438 13.409 7.43017 13.409 7.40634L13.8419 6.99252C13.8657 6.96869 13.8807 6.94448 13.8869 6.91989C13.893 6.8953 13.8961 6.86533 13.8961 6.82998C13.8838 6.80616 13.8688 6.78195 13.8511 6.75736C13.8334 6.73277 13.8122 6.71471 13.7876 6.70318L13.2289 6.50491C13.2166 6.48109 13.2078 6.45688 13.2024 6.43229C13.197 6.4077 13.1939 6.38349 13.1932 6.35967L13.536 5.87322C13.5483 5.84939 13.5571 5.82249 13.5625 5.79252C13.5679 5.76255 13.5648 5.73566 13.5533 5.71183C13.5417 5.68801 13.5237 5.6638 13.499 5.63921C13.4744 5.61462 13.4444 5.60271 13.409 5.60348L12.8319 5.51356L12.7591 5.36947L13.0119 4.84729C13.0242 4.81117 13.0273 4.77812 13.0212 4.74815C13.015 4.71818 13.0062 4.69128 12.9946 4.66746C12.9831 4.64364 12.9619 4.62558 12.9311 4.61328C12.9003 4.60099 12.8734 4.59484 12.8503 4.59484L12.2547 4.61328C12.2424 4.60099 12.2274 4.58293 12.2097 4.5591C12.192 4.53528 12.177 4.51722 12.1647 4.50493L12.2905 3.92856C12.3028 3.89244 12.3028 3.86247 12.2905 3.83865L12.2547 3.76603C12.2309 3.7422 12.2039 3.72722 12.1739 3.72107C12.1439 3.71492 12.117 3.71185 12.0931 3.71185L11.516 3.85594C11.4921 3.84364 11.471 3.82866 11.4525 3.81098C11.434 3.79331 11.4129 3.77832 11.389 3.76603L11.4248 3.17122C11.4248 3.1351 11.4159 3.10513 11.3982 3.08131C11.3805 3.05748 11.3594 3.03942 11.3347 3.02713C11.3109 3.0033 11.284 2.99139 11.2539 2.99139C11.2239 2.99139 11.197 2.99754 11.1731 3.00984L10.6318 3.24384C10.6079 3.23154 10.5868 3.21963 10.5683 3.20811C10.5498 3.19658 10.5287 3.18467 10.5048 3.17237L10.4148 2.59601C10.4025 2.57218 10.3875 2.54798 10.3698 2.52339C10.3521 2.49879 10.3309 2.48073 10.3063 2.46921C10.2701 2.45691 10.2401 2.45076 10.2162 2.45076C10.1924 2.45076 10.1624 2.46267 10.1262 2.4865L9.65756 2.82886C9.63371 2.81656 9.60947 2.80772 9.58484 2.80235C9.56022 2.79697 9.53598 2.79389 9.51212 2.79312L9.31358 2.2352C9.30127 2.21138 9.28319 2.18717 9.25933 2.16258C9.23548 2.13799 9.20546 2.12608 9.1693 2.12685C9.14544 2.11455 9.11851 2.11455 9.0885 2.12685C9.05848 2.13914 9.03155 2.1572 9.0077 2.18102L8.61062 2.6133C8.58676 2.6133 8.56252 2.61022 8.5379 2.60408C8.51327 2.59793 8.48903 2.59485 8.46518 2.59485L8.15814 2.08996C8.13428 2.06614 8.11004 2.045 8.08542 2.02656C8.06079 2.00812 8.03078 1.99928 7.99538 2.00005C7.97153 2.00005 7.94729 2.00888 7.92266 2.02656C7.89804 2.04423 7.8738 2.06537 7.84994 2.08996L7.5429 2.59485C7.51905 2.59485 7.49481 2.59793 7.47018 2.60408C7.44556 2.61022 7.42132 2.6133 7.39746 2.6133L6.98307 2.18102C6.97076 2.1572 6.9496 2.13914 6.91958 2.12685C6.88957 2.11455 6.86264 2.11455 6.83878 2.12685C6.80262 2.12685 6.7726 2.13876 6.74875 2.16258C6.72489 2.1864 6.70681 2.21061 6.6945 2.2352L6.49596 2.79312C6.4721 2.79312 6.44786 2.7962 6.42324 2.80235C6.39861 2.80849 6.37437 2.81733 6.35052 2.82886L5.86341 2.4865C5.83955 2.46267 5.81262 2.45076 5.78261 2.45076C5.7526 2.45076 5.72566 2.45691 5.70181 2.46921C5.67795 2.4815 5.65679 2.49956 5.63832 2.52339C5.61985 2.54721 5.60485 2.57142 5.59331 2.59601L5.50327 3.17237C5.47941 3.18467 5.45825 3.19658 5.43978 3.20811C5.42132 3.21963 5.40015 3.23154 5.3763 3.24384L4.83494 3.00984C4.81108 2.99754 4.78415 2.99139 4.75414 2.99139C4.72412 2.99139 4.69719 3.0033 4.67334 3.02713C4.64948 3.03942 4.62832 3.05748 4.60985 3.08131C4.59138 3.10513 4.58253 3.1351 4.5833 3.17122L4.61908 3.76603C4.59523 3.77832 4.57407 3.79331 4.5556 3.81098C4.53713 3.82866 4.51597 3.84364 4.49211 3.85594L3.91497 3.71185C3.89111 3.71185 3.86418 3.71492 3.83417 3.72107C3.80416 3.72722 3.77722 3.7422 3.75337 3.76603C3.72951 3.78985 3.71451 3.81406 3.70835 3.83865C3.70219 3.86324 3.70527 3.89321 3.71758 3.92856L3.8434 4.50493C3.83109 4.51722 3.81608 4.53528 3.79838 4.5591C3.78068 4.58293 3.76568 4.60099 3.75337 4.61328L3.15775 4.59484C3.1339 4.59484 3.10696 4.60099 3.07695 4.61328C3.04694 4.62558 3.02578 4.64364 3.01347 4.66746C2.98961 4.69128 2.97768 4.71818 2.97768 4.74815C2.97768 4.77812 2.98384 4.81117 2.99615 4.84729L3.24894 5.36947L3.17622 5.51356L2.58061 5.60348C2.55675 5.60348 2.53251 5.61539 2.50789 5.63921C2.48326 5.66303 2.46518 5.68724 2.45364 5.71183C2.44209 5.73642 2.43902 5.76332 2.4444 5.79252C2.44979 5.82173 2.45864 5.84862 2.47095 5.87322L2.81377 6.35967C2.81377 6.38349 2.80762 6.4077 2.79531 6.43229C2.78299 6.45688 2.77684 6.48109 2.77684 6.50491L2.21816 6.70318C2.19431 6.71548 2.17314 6.73353 2.15467 6.75736C2.13621 6.78118 2.1212 6.80539 2.10966 6.82998C2.10966 6.8661 2.11274 6.89607 2.11889 6.91989C2.12505 6.94372 2.14005 6.96792 2.16391 6.99252L2.59677 7.40634C2.59677 7.43017 2.59369 7.45438 2.58753 7.47897C2.58138 7.50356 2.5783 7.52777 2.5783 7.55159L2.07272 7.85821C2.04886 7.87051 2.03078 7.89164 2.01847 7.92161C2.00616 7.95159 2 7.97848 2 8.00231C2 8.03842 2.00616 8.0684 2.01847 8.09222C2.03078 8.11604 2.04886 8.1341 2.07272 8.1464L2.5783 8.47031C2.5783 8.49414 2.58138 8.51834 2.58753 8.54294C2.59369 8.56753 2.59677 8.59173 2.59677 8.61556L2.16391 9.0121C2.14005 9.03592 2.12505 9.06282 2.11889 9.09279C2.11274 9.12276 2.10966 9.14965 2.10966 9.17348C2.12197 9.2096 2.13698 9.23649 2.15467 9.25417C2.17237 9.27184 2.19354 9.28683 2.21816 9.29913L2.77684 9.51584C2.77684 9.53966 2.78299 9.56387 2.79531 9.58846C2.80762 9.61305 2.81377 9.63726 2.81377 9.66108L2.47095 10.1291C2.45864 10.1529 2.44979 10.1798 2.4444 10.2098C2.43902 10.2398 2.44209 10.2666 2.45364 10.2905C2.46595 10.3266 2.48403 10.3535 2.50789 10.3712C2.53174 10.3888 2.55598 10.3977 2.58061 10.3977L3.17622 10.506C3.18853 10.5183 3.20046 10.5364 3.212 10.5602L3.24779 10.6328L2.995 11.1735C2.98269 11.1973 2.97653 11.2242 2.97653 11.2542C2.97653 11.2841 2.98846 11.311 3.01231 11.3348C3.02462 11.3587 3.04579 11.3767 3.0758 11.389C3.10581 11.4013 3.13274 11.4075 3.1566 11.4075L3.75221 11.389C3.76452 11.4128 3.77953 11.434 3.79723 11.4524L3.84225 11.4974L3.71643 12.0737C3.70412 12.1099 3.70104 12.1429 3.7072 12.1729C3.71335 12.2028 3.72836 12.224 3.75221 12.2363C3.77607 12.2601 3.803 12.2782 3.83301 12.2905C3.86302 12.3028 3.88996 12.3028 3.91381 12.2905L4.49096 12.1464C4.51481 12.1702 4.53598 12.1882 4.55444 12.2005C4.57291 12.2128 4.58792 12.2309 4.59946 12.2547L4.58099 12.8311C4.58099 12.8672 4.58984 12.8972 4.60754 12.921C4.62524 12.9448 4.6464 12.969 4.67103 12.9936C4.69488 13.0059 4.72182 13.0148 4.75183 13.0201C4.78184 13.0255 4.80877 13.0224 4.83263 13.0109L5.37399 12.7585C5.39785 12.7708 5.41901 12.7827 5.43748 12.7942C5.45594 12.8057 5.47711 12.8176 5.50096 12.8299L5.591 13.4063C5.60331 13.4424 5.61831 13.4724 5.63601 13.4962C5.65371 13.52 5.67488 13.5381 5.6995 13.5504H5.7803C5.7803 13.5504 5.80723 13.5385 5.8611 13.5147L6.34821 13.1723C6.37207 13.1846 6.39631 13.1934 6.42093 13.1988C6.44556 13.2042 6.4698 13.213 6.49365 13.2253L6.69219 13.766C6.7045 13.8021 6.72259 13.829 6.74644 13.8466C6.7703 13.8643 6.80031 13.8732 6.83648 13.8732C6.86033 13.8854 6.88726 13.8854 6.91728 13.8732C6.94729 13.8609 6.96845 13.8489 6.98076 13.8374L7.39515 13.4051H7.53944L7.84648 13.91C7.87033 13.9339 7.89457 13.955 7.9192 13.9734C7.94382 13.9919 7.96806 14.0007 7.99192 14C8.02809 14 8.0581 13.9911 8.08195 13.9734C8.10581 13.9558 8.13005 13.9346 8.15468 13.91L8.46172 13.4051H8.606L9.00308 13.8374C9.02693 13.8497 9.05387 13.8616 9.08388 13.8732C9.11389 13.8847 9.14082 13.8847 9.16468 13.8732C9.20085 13.8732 9.23086 13.8643 9.25471 13.8466C9.27857 13.829 9.2905 13.8021 9.2905 13.766L9.5075 13.2253C9.53136 13.213 9.5556 13.2042 9.58022 13.1988C9.60485 13.1934 9.62909 13.1846 9.65294 13.1723L10.1216 13.5147C10.1578 13.5385 10.1878 13.5504 10.2116 13.5504H10.3017C10.3255 13.5381 10.3467 13.52 10.3651 13.4962C10.3836 13.4724 10.3986 13.4424 10.4102 13.4063L10.5002 12.8299C10.524 12.8176 10.5452 12.8057 10.5637 12.7942C10.5821 12.7827 10.6033 12.7708 10.6272 12.7585L11.1685 13.0109C11.1924 13.0232 11.2193 13.0263 11.2493 13.0201C11.2793 13.014 11.3063 13.0051 11.3301 12.9936C11.354 12.9698 11.3751 12.9456 11.3936 12.921C11.4121 12.8964 11.4209 12.8664 11.4202 12.8311L11.3844 12.2547C11.4082 12.2309 11.4294 12.2128 11.4479 12.2005C11.4663 12.1882 11.4875 12.1702 11.5114 12.1464L12.0885 12.2905C12.1124 12.3028 12.1393 12.3028 12.1693 12.2905C12.1993 12.2782 12.2262 12.2601 12.2501 12.2363C12.2624 12.224 12.2743 12.2028 12.2859 12.1729C12.2974 12.1429 12.2974 12.1099 12.2859 12.0737L12.1601 11.4974L12.2051 11.4524C12.2051 11.4524 12.2201 11.4313 12.2501 11.389L12.8457 11.4075C12.8696 11.4075 12.8965 11.4013 12.9265 11.389C12.9565 11.3767 12.9777 11.3587 12.99 11.3348C13.0023 11.311 13.0112 11.2841 13.0165 11.2542C13.0219 11.2242 13.0189 11.1973 13.0073 11.1735L12.7545 10.6328L12.7903 10.5602C12.7903 10.5602 12.8022 10.5422 12.8261 10.506L13.4032 10.3977C13.4394 10.3977 13.4694 10.3888 13.4933 10.3712C13.5171 10.3535 13.5352 10.3266 13.5475 10.2905C13.5598 10.2666 13.5629 10.2398 13.5568 10.2098C13.5506 10.1798 13.5417 10.1529 13.5302 10.1291L13.1874 9.66108C13.1874 9.63726 13.1905 9.61305 13.1966 9.58846C13.2028 9.56387 13.2116 9.53966 13.2232 9.51584L13.7818 9.29913C13.8057 9.28683 13.8269 9.27184 13.8453 9.25417C13.8638 9.23649 13.8788 9.2096 13.8903 9.17348C13.8903 9.14965 13.8873 9.12276 13.8811 9.09279C13.875 9.06282 13.8599 9.03592 13.8361 9.0121L13.4032 8.61556V8.54294C13.4032 8.54294 13.4094 8.51873 13.4217 8.47031L13.9273 8.1464C13.9511 8.1341 13.9692 8.11604 13.9815 8.09222C13.9938 8.0684 14 8.03842 14 8.00231C14 7.97848 13.9938 7.95159 13.9815 7.92161C13.9692 7.89164 13.9511 7.87051 13.9273 7.85821H13.9331ZM10.5602 12.0369C10.464 12.013 10.389 11.9589 10.3351 11.8743C10.2813 11.7898 10.2601 11.6999 10.2716 11.6046C10.2955 11.5085 10.3497 11.4336 10.4344 11.3798C10.519 11.326 10.6091 11.311 10.7045 11.3348C10.7999 11.3587 10.8749 11.4098 10.9296 11.4882C10.9842 11.5665 10.9992 11.6595 10.9746 11.7671C10.9507 11.8632 10.8996 11.9354 10.8211 11.9838C10.7426 12.0322 10.6552 12.0503 10.5591 12.038L10.5602 12.0369ZM10.3801 10.8841C10.2963 10.8603 10.2151 10.8722 10.1366 10.9199C10.0581 10.9675 10.0131 11.0336 10.0015 11.1181L9.82147 11.9642C9.54521 12.0841 9.25356 12.1771 8.94652 12.2432C8.63948 12.3093 8.32397 12.3423 8 12.3423C7.67603 12.3423 7.35745 12.3093 7.04425 12.2432C6.73105 12.1771 6.43633 12.078 6.16007 11.9458L5.98 11.0997C5.95614 11.0159 5.90805 10.9498 5.83571 10.9014C5.76337 10.853 5.68527 10.8411 5.60139 10.8657L4.86149 11.0098C4.78915 10.9375 4.72297 10.8653 4.66295 10.7931C4.60293 10.7208 4.5429 10.6428 4.48288 10.5591H8.10851C8.10851 10.5591 8.11466 10.5471 8.12698 10.5233V9.26224C8.12698 9.23842 8.12082 9.22343 8.10851 9.21728C8.09619 9.21114 8.08427 9.20806 8.07272 9.20806H7.00847V8.41498H8.14429C8.20431 8.41498 8.31859 8.44188 8.48711 8.49568C8.65564 8.54947 8.77607 8.72046 8.84841 9.00864C8.87226 9.0924 8.90535 9.24533 8.94768 9.46743C8.99 9.68952 9.02925 9.84859 9.06541 9.94466C9.08927 10.053 9.1643 10.1821 9.2905 10.332C9.4167 10.4818 9.55214 10.5568 9.69681 10.5568H11.5367C11.4767 10.6405 11.4136 10.7216 11.3474 10.8C11.2813 10.8784 11.212 10.9594 11.1397 11.0432L10.3825 10.8807L10.3801 10.8841ZM5.42016 12.0184C5.32397 12.0307 5.23394 12.0126 5.15006 11.9642C5.06618 11.9158 5.01809 11.8436 5.00577 11.7475C4.98192 11.6515 4.99692 11.5615 5.05079 11.4778C5.10466 11.394 5.17969 11.3398 5.27588 11.3152C5.37207 11.2907 5.4621 11.3056 5.54598 11.3602C5.62986 11.4148 5.67796 11.4897 5.69027 11.585C5.71412 11.681 5.69912 11.771 5.64525 11.8547C5.59138 11.9385 5.51635 11.9927 5.42016 12.0173V12.0184ZM4.06734 6.50722C4.1035 6.59098 4.1035 6.68089 4.06734 6.77696C4.03117 6.87302 3.97115 6.93911 3.88727 6.97522C3.79108 7.01134 3.69796 7.01134 3.60793 6.97522C3.51789 6.93911 3.45479 6.87916 3.41863 6.7954C3.37014 6.69934 3.36399 6.60635 3.40016 6.51644C3.43632 6.42653 3.5025 6.36351 3.59869 6.32739C3.68257 6.29127 3.76991 6.2882 3.86072 6.31817C3.95152 6.34814 4.02078 6.41116 4.06849 6.50722H4.06734ZM3.65295 7.49741L4.41016 7.15505C4.49404 7.11893 4.55098 7.05899 4.58099 6.97523C4.61101 6.89146 4.60793 6.80731 4.57176 6.72278L4.42747 6.36197H5.0404V9.17233H3.77761C3.72913 8.9802 3.68988 8.78194 3.65987 8.57752C3.62986 8.3731 3.61485 8.16907 3.61485 7.96542C3.61485 7.88165 3.61793 7.80058 3.62409 7.72219C3.63024 7.64381 3.63909 7.56888 3.65064 7.49741H3.65295ZM7.00731 7.22767V6.39886H8.48596C8.53444 6.39886 8.63678 6.42883 8.793 6.48877C8.94921 6.54871 9.02732 6.66283 9.02732 6.83113C9.02732 6.97561 8.95806 7.07781 8.81955 7.13776C8.68103 7.1977 8.53367 7.22767 8.37745 7.22767H7.00616H7.00731ZM12.4002 7.96542C12.4002 8.02536 12.3971 8.08223 12.3909 8.13602C12.3848 8.18981 12.3817 8.24092 12.3817 8.28933H11.9304C11.9065 8.28933 11.8915 8.29548 11.8853 8.30778C11.8792 8.32007 11.8761 8.33813 11.8761 8.36195V8.57867C11.8761 8.8192 11.8192 8.97828 11.7053 9.0559C11.5914 9.13351 11.474 9.17847 11.3532 9.19077C11.2447 9.20306 11.1366 9.185 11.0289 9.13659C10.9211 9.08817 10.8611 9.02823 10.8488 8.95676C10.7765 8.57252 10.6833 8.31123 10.5694 8.17291C10.4556 8.03458 10.3082 7.89356 10.1274 7.74986C10.3436 7.61768 10.5479 7.44669 10.7403 7.23689C10.9327 7.02709 11.0289 6.78387 11.0289 6.50721C11.0289 6.20674 10.9477 5.96351 10.7853 5.77754C10.6229 5.59156 10.4756 5.45055 10.3432 5.35449C10.1385 5.22231 9.94305 5.13816 9.75683 5.10204C9.5706 5.06592 9.44748 5.04786 9.38745 5.04786H4.73451C5.04694 4.68744 5.41362 4.38735 5.83455 4.14758C6.25548 3.90781 6.70642 3.74566 7.18738 3.66113L7.74605 4.23749C7.80608 4.29743 7.88111 4.33048 7.97114 4.33663C8.06118 4.34277 8.1362 4.30973 8.19623 4.23749L8.80916 3.66113C9.45864 3.78101 10.0446 4.03 10.5671 4.40809C11.0896 4.78619 11.5075 5.24536 11.8207 5.78561L11.4063 6.74007C11.3578 6.82383 11.3517 6.90798 11.3878 6.99251C11.424 7.07705 11.484 7.13699 11.5679 7.17234L12.3794 7.53314C12.3794 7.60538 12.3825 7.67762 12.3886 7.74986C12.3948 7.82209 12.3978 7.89433 12.3978 7.96657L12.4002 7.96542ZM7.74721 3.17467C7.81955 3.10244 7.90381 3.06632 8 3.06632C8.09619 3.06632 8.18045 3.10244 8.25279 3.17467C8.31281 3.24691 8.34282 3.33414 8.34282 3.43634C8.34282 3.53855 8.30666 3.61963 8.23432 3.67957C8.16199 3.75181 8.07772 3.78793 7.98153 3.78793C7.88534 3.78793 7.80108 3.75181 7.72874 3.67957C7.65641 3.60733 7.62332 3.52011 7.62947 3.4179C7.63563 3.31569 7.67487 3.23462 7.74721 3.17467ZM11.913 6.52451C11.9492 6.42845 12.0154 6.36236 12.1116 6.32624C12.2078 6.29012 12.2978 6.29627 12.3817 6.34468C12.4779 6.3808 12.541 6.44381 12.571 6.53373C12.601 6.62364 12.5979 6.71663 12.5618 6.81269C12.5256 6.89645 12.4625 6.9564 12.3725 6.99251C12.2824 7.02863 12.1893 7.02863 12.0931 6.99251C12.0092 6.9564 11.9492 6.89031 11.913 6.79424C11.8769 6.69818 11.8769 6.60827 11.913 6.52451Z\" fill=\"#FC8289\"/>\n</g>\n</svg>\n", Vn = "<svg width=\"16\" height=\"16\" viewBox=\"0 0 16 16\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n<g id=\"sass\" clip-path=\"url(#clip0)\">\n<path id=\"Vector\" d=\"M5.24992 9.04906L3.72673 9.88551C2.84729 9.02386 2.01758 8.60498 1.53425 7.95249C0.917679 7.12012 1.11537 6.02724 2.47843 4.94803C5.4461 2.68788 8.3302 2.60207 9.0315 3.48418C9.67606 4.29492 8.56496 6.05436 6.67961 6.68737C5.52354 7.0782 4.42029 7.09385 3.85038 6.44874C3.77364 6.34243 3.6552 6.43718 3.69505 6.53714C4.0708 7.66243 5.79487 7.5869 7.08787 7.27447C9.49829 6.69203 11.3058 3.59894 9.09802 2.39166C5.87256 0.881695 0.247315 4.31843 0.00739265 6.73591C-0.129272 8.11295 1.65566 9.08648 3.14576 10.2064C1.97268 10.8331 1.11461 11.4141 0.822387 11.913C0.525514 12.3821 0.420255 12.8818 0.641504 13.4153C1.05987 14.3587 2.51781 13.9169 3.05991 13.5313C3.92214 12.9178 4.59708 11.7054 4.02104 10.2963L4.8994 9.79098L4.91268 9.80222C4.89684 9.85434 4.87998 9.90646 4.86516 9.9596C4.59137 10.8429 4.67855 11.6771 5.10736 12.2927C5.28971 12.5544 5.6893 12.5826 5.918 12.3811C6.15164 12.1752 6.33714 11.6663 6.63362 11.0311C6.55897 11.6956 6.61549 12.249 7.01123 12.2906C7.25764 12.3165 7.4817 12.0809 7.66884 11.7674C8.16126 10.9426 8.62463 9.92109 9.08525 8.82525C9.1768 9.27775 9.31976 9.69352 9.52059 10.0679C9.57015 10.1671 9.56453 10.2314 9.49555 10.3142L8.6407 11.3648C8.23017 11.8434 8.37424 12.0911 8.9248 12.0566C9.7044 11.9867 10.6642 11.4808 10.4414 10.4399C10.357 10.0512 10.2509 9.99576 10.3361 9.89369C10.6652 9.42411 10.9808 8.84998 11.2419 8.34055C11.3267 8.78151 11.4582 9.21972 11.6866 9.60499C11.1372 10.0989 10.7369 10.6182 10.7582 11.2094C10.7893 11.4435 10.9809 11.5952 11.2109 11.5421C11.8173 11.4501 12.5131 10.8921 12.5981 10.4603C12.6464 10.2148 12.6302 9.97348 12.496 9.60141C14.9546 8.77872 16.4256 10.6175 15.2409 11.4261C15.1929 11.4536 15.1439 11.4829 15.1189 11.516C15.0811 11.5661 15.098 11.6243 15.1698 11.6238C15.2865 11.623 15.3794 11.5661 15.4645 11.5159C16.6369 10.8248 15.7814 8.90912 13.898 8.87942C13.3428 8.8687 12.8234 8.97458 12.3105 9.20848C11.9865 8.67439 11.8796 8.18406 11.9697 7.78544C12.0146 7.59791 12.0739 7.41345 12.1291 7.22797C12.154 7.13314 12.1459 7.04595 11.9462 7.00315C11.7223 6.97095 11.5021 6.98935 11.2855 7.0522C11.1249 7.09623 11.1463 7.20229 11.0933 7.34549C10.968 7.99236 10.4943 8.71822 10.0505 9.48798C9.89287 9.2058 9.76077 8.86847 9.79047 8.43183C9.80538 8.21254 9.90005 7.92672 9.97484 7.69346C10.01 7.5958 9.9772 7.53102 9.79344 7.47988C9.4795 7.43673 9.17262 7.49413 9.04323 7.57375C8.94152 7.63635 8.91476 8.0026 8.77969 8.30304C8.22362 9.52399 7.6201 10.9921 7.36533 11.3448C7.20989 11.2536 7.50014 10.2385 7.74191 9.32396C7.82681 9.0505 7.48595 8.88007 7.21868 9.07359C7.47704 7.69373 6.28251 7.7824 5.34649 8.96577C5.32044 8.99898 5.2862 9.02913 5.24992 9.04906ZM3.54252 11.3369C3.49978 11.9066 3.24233 12.3683 2.82027 12.7418C1.73129 13.6142 1.09751 13.0509 1.64555 12.1087C1.8759 11.6237 2.6464 11.1291 3.46613 10.6336C3.52949 10.8686 3.56027 11.1003 3.54252 11.3369ZM5.56876 11.5109C5.2562 10.7622 5.6722 9.34729 6.39602 8.82219C6.66069 8.66657 6.77743 8.70629 6.75702 8.86077C6.72687 9.04267 6.68931 9.22483 6.63617 9.40112C6.45223 10.0112 6.21667 10.6029 5.9617 11.1859C5.77358 11.5847 5.63921 11.6776 5.56876 11.5109ZM8.94933 11.6545C9.21196 11.3479 9.47409 11.0418 9.73724 10.7342C9.76994 11.0761 9.18948 11.7582 8.94933 11.6545ZM11.2694 11.1297C11.2259 11.1392 11.2081 11.109 11.2333 10.9831C11.3396 10.6075 11.5366 10.2823 11.8466 10.0123C11.9907 10.4065 11.8326 10.9187 11.2694 11.1297Z\" fill=\"#FF9CAC\"/>\n</g>\n<defs>\n<clipPath id=\"clip0\">\n<rect width=\"16\" height=\"16\" fill=\"white\"/>\n</clipPath>\n</defs>\n</svg>\n", Hn = "<svg width=\"16\" height=\"16\" viewBox=\"0 0 16 16\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n<g id=\"scala\">\n<g id=\"scala-icon\">\n<path id=\"XMLID_1_\" d=\"M12.4496 14H3.46277C2.65693 14 2 13.3382 2 12.5265V3.47353C2 2.66176 2.65693 2 3.46277 2H12.4584C13.2642 2 13.9212 2.66176 13.9212 3.47353V12.5353C13.9124 13.3382 13.2555 14 12.4496 14Z\" fill=\"#F07178\"/>\n<g id=\"shadow\">\n<g id=\"Clipped\">\n<path id=\"XMLID_2_\" fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M12.4496 14H3.46277C2.65693 14 2 13.3382 2 12.5265V3.47353C2 2.66176 2.65693 2 3.46277 2H12.4584C13.2642 2 13.9212 2.66176 13.9212 3.47353V12.5353C13.9124 13.3382 13.2555 14 12.4496 14Z\" fill=\"#FC8289\"/>\n<mask id=\"mask0\" mask-type=\"alpha\" maskUnits=\"userSpaceOnUse\" x=\"2\" y=\"2\" width=\"12\" height=\"12\">\n<path id=\"XMLID_2__2\" fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M12.4496 14H3.46277C2.65693 14 2 13.3382 2 12.5265V3.47353C2 2.66176 2.65693 2 3.46277 2H12.4584C13.2642 2 13.9212 2.66176 13.9212 3.47353V12.5353C13.9124 13.3382 13.2555 14 12.4496 14Z\" fill=\"white\"/>\n</mask>\n<g mask=\"url(#mask0)\">\n<path id=\"Shape\" d=\"M5.19708 6.88824L5.97664 7.67353L5.19708 9.85294L6.03796 10.6912L5.19708 12.8088L6.38832 14H13.9124V6.41177L10.7153 3.19118V3.8L5.19708 6.88824Z\" fill=\"#AC4142\"/>\n</g>\n</g>\n</g>\n<g id=\"logo\">\n<g id=\"Group\" opacity=\"0.6\">\n<path id=\"Shape_2\" d=\"M5.19708 6.88824C5.19708 6.88824 10.7066 7.44412 10.7066 8.37059V6.14706C10.7066 6.14706 10.7066 5.22059 5.19708 4.66471V5.52941V6.88824Z\" fill=\"white\"/>\n<path id=\"Shape_3\" d=\"M5.19708 9.85295C5.19708 9.85295 10.7066 10.4088 10.7066 11.3353V9.11177C10.7066 9.11177 10.7066 8.1853 5.19708 7.62942V9.85295Z\" fill=\"white\"/>\n</g>\n<path id=\"Shape_4\" d=\"M10.7153 3.19118V5.41471C10.7153 5.41471 10.7153 6.34118 5.20585 6.89706V4.66471C5.19709 4.66471 10.7153 4.11765 10.7153 3.19118Z\" fill=\"white\"/>\n<path id=\"Shape_5\" d=\"M5.19708 7.62942C5.19708 7.62942 10.7066 7.07353 10.7066 6.14706V8.37059C10.7066 8.37059 10.7066 9.29706 5.19708 9.85294V7.62942Z\" fill=\"white\"/>\n<path id=\"Shape_6\" d=\"M5.19708 12.8088V10.5853C5.19708 10.5853 10.7066 10.0294 10.7066 9.10294V11.3265C10.7153 11.3353 10.7153 12.2529 5.19708 12.8088Z\" fill=\"white\"/>\n</g>\n</g>\n</g>\n</svg>\n", Un = "<svg width=\"16\" height=\"16\" viewBox=\"0 0 16 16\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n<g id=\"sql\">\n<path id=\"path3637\" fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M13.5784 10.9945C12.9793 11.0474 12.2006 10.8891 11.7906 11.4325C11.7933 12.0388 12.5653 12.4069 13.0675 12.6817C13.5418 12.8378 14.0095 13.308 14.4103 13.394C13.9786 12.7127 13.2651 12.2518 12.5822 11.833C12.477 11.0109 13.7621 11.7133 13.9894 11.0943C13.7295 10.3994 12.9483 10.1291 12.4002 9.69804C11.8193 9.39394 11.0524 9.19268 10.8355 8.50497C10.1989 7.12645 9.68412 5.60957 8.48183 4.5854C7.72186 3.88086 6.84803 3.18338 5.80467 2.97002C4.89988 3.00289 4.24774 2.24442 3.40294 2.08402C2.48144 2.01504 2.33755 3.1418 2.96569 3.61383C3.54376 4.18886 3.71458 4.97966 3.99901 5.70624C4.25085 6.24858 4.74715 6.62811 4.39484 7.24628C4.14517 8.22809 4.1263 9.3993 4.85494 10.1972C5.37608 10.7112 5.93344 10.1226 5.86264 9.55005C6.13837 9.17057 6.31083 10.1417 6.62906 10.2896C6.96497 10.6366 7.32326 11.0045 7.74734 11.2314C7.1184 10.6374 6.71221 9.86035 6.28831 9.11947C6.40618 8.4255 5.36505 8.18828 5.45218 9.00402C5.46654 9.32841 5.2305 10.2543 4.88211 9.60426C4.45328 8.80007 4.5896 7.8575 4.83409 7.02263C5.06778 6.36527 4.51712 5.92022 4.24384 5.40448C4.02108 4.81516 3.9752 4.12142 3.45709 3.68233C2.9592 3.37096 2.82619 2.269 3.66938 2.61357C4.30444 3.05194 4.98051 3.36889 5.76899 3.40367C6.93315 3.75168 7.90812 4.55685 8.66674 5.46927C9.57933 6.53261 9.93208 7.905 10.6024 9.10306C10.7897 9.60572 11.3855 9.66248 11.8257 9.84877C12.3983 10.0077 12.815 10.4329 13.3144 10.7208C13.4158 10.7981 13.5085 10.8883 13.5784 10.9945Z\" fill=\"#69A7D3\" stroke=\"#69A7D3\" stroke-width=\"0.962182\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n</g>\n</svg>\n", Wn = "<svg width=\"16\" height=\"16\" viewBox=\"0 0 16 16\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n<g id=\"svg\">\n<path id=\"Combined Shape\" fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M3.96704 4.83663C3.81589 5.27802 3.40805 5.59425 2.92864 5.59425C2.32055 5.59425 1.82759 5.08546 1.82759 4.45784C1.82759 3.83022 2.32055 3.32143 2.92864 3.32143C3.40804 3.32143 3.81588 3.63765 3.96703 4.07903H10.3627V4.11707C10.6549 4.09185 10.9569 4.07903 11.269 4.07903V4.76286C10.9555 4.76286 10.6535 4.77652 10.3627 4.80337V4.83663H10.0596C7.77536 5.12799 6.21617 6.26847 5.23445 8.01052C4.83109 8.72629 4.55578 9.4959 4.38601 10.2658C4.32662 10.5351 4.28475 10.7847 4.25742 11.0078C4.2413 11.1394 4.23366 11.2311 4.23145 11.2763L3.56208 11.2422C3.5651 11.1805 3.57415 11.0719 3.59239 10.923C3.62233 10.6786 3.66784 10.4074 3.73215 10.1157C3.9158 9.28288 4.21383 8.44977 4.65345 7.66966C5.35563 6.42364 6.33268 5.45286 7.61265 4.83663H3.96704Z\" fill=\"#6B7394\"/>\n<path id=\"Rectangle 12\" fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M4.06897 10.2906C3.10735 10.2906 2.33104 11.0608 2.33104 12.0133V12.0308C2.33104 12.9821 3.10996 13.7536 4.06897 13.7536C5.03059 13.7536 5.8069 12.9833 5.8069 12.0308V12.0133C5.8069 11.0621 5.02798 10.2906 4.06897 10.2906ZM3.32414 12.0308V12.0133C3.32414 11.6063 3.65475 11.2763 4.06897 11.2763C4.48033 11.2763 4.8138 11.6073 4.8138 12.0133V12.0308C4.8138 12.4379 4.4832 12.7679 4.06897 12.7679C3.65761 12.7679 3.32414 12.4368 3.32414 12.0308Z\" fill=\"#FF9CAC\"/>\n<path id=\"Rectangle 12_2\" fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M12.0138 2.8329C11.0522 2.8329 10.2759 3.60313 10.2759 4.55565V4.57313C10.2759 5.52435 11.0548 6.29587 12.0138 6.29587C12.9754 6.29587 13.7517 5.52564 13.7517 4.57313V4.55565C13.7517 3.60442 12.9728 2.8329 12.0138 2.8329ZM11.269 4.57312V4.55564C11.269 4.14859 11.5996 3.81861 12.0138 3.81861C12.4252 3.81861 12.7586 4.14963 12.7586 4.55564V4.57312C12.7586 4.98017 12.428 5.31015 12.0138 5.31015C11.6024 5.31015 11.269 4.97913 11.269 4.57312Z\" fill=\"#FF9CAC\"/>\n</g>\n</svg>\n", Gn = "<svg width=\"16\" height=\"16\" viewBox=\"0 0 16 16\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n<g id=\"swift\">\n<g id=\"Swift_logo\">\n<path id=\"Shape\" d=\"M10.9655 12.0977C9.5654 12.9215 7.6403 13.0061 5.7035 12.1607C4.13531 11.4811 2.83412 10.2916 2 8.93247C2.40038 9.27225 2.86748 9.5442 3.36794 9.78192C5.3681 10.7368 7.36784 10.6714 8.77514 9.78436C8.77424 9.78345 8.77364 9.78284 8.77304 9.78192C6.77114 8.2187 5.06954 6.17972 3.80174 4.51475C3.53471 4.24287 3.33452 3.90303 3.13433 3.5972C4.6691 5.02445 7.10483 6.82539 7.97213 7.33537C6.13733 5.36423 4.50233 2.91764 4.56893 2.98548C7.47173 5.97595 10.1744 7.67514 10.1744 7.67514C10.2638 7.72648 10.3328 7.76926 10.3883 7.80745C10.4468 7.65589 10.4981 7.49853 10.5413 7.33537C11.0084 5.60226 10.4747 3.63112 9.30683 2.00006C12.0092 3.66519 13.6109 6.79148 12.9434 9.40826C12.926 9.47884 12.9071 9.54851 12.8867 9.61695C12.8945 9.62642 12.9023 9.6362 12.9101 9.64628C14.2445 11.3455 13.8776 13.1464 13.7108 12.8066C12.9869 11.3638 11.6468 11.805 10.9655 12.0978L10.9655 12.0977Z\" fill=\"#FC8289\"/>\n</g>\n</g>\n</svg>\n", Kn = "<svg width=\"16\" height=\"16\" viewBox=\"0 0 16 16\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n<g id=\"table\">\n<g id=\"layout-25\">\n<path id=\"Shape\" d=\"M14 6H2V3C2 2.724 2.224 2.5 2.5 2.5H13.5C13.776 2.5 14 2.724 14 3V6Z\" fill=\"#2ECC71\"/>\n<path id=\"Shape_2\" d=\"M5.5 13.5H2.5C2.224 13.5 2 13.276 2 13V7H5.5V13.5Z\" fill=\"#2ECC71\"/>\n<path id=\"Shape_3\" d=\"M13.5 13.5H6.5V7H14V13C14 13.276 13.776 13.5 13.5 13.5Z\" fill=\"#AEE33E\"/>\n</g>\n</g>\n</svg>\n", qn = "<svg width=\"16\" height=\"16\" viewBox=\"0 0 16 16\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n<g id=\"tex\">\n<path id=\"TEX\" fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M1.00684 5H5.22119L5.22803 6.41162H5.02637C4.96029 5.90804 4.77116 5.56738 4.45898 5.38965C4.28353 5.29167 4.02149 5.23812 3.67285 5.229V8.91357C3.67285 9.17106 3.71785 9.34196 3.80786 9.42627C3.89787 9.51058 4.08528 9.55273 4.37012 9.55273V9.73047H1.875V9.55273C2.14844 9.55273 2.33016 9.51001 2.42017 9.42456C2.51017 9.33911 2.55518 9.16878 2.55518 8.91357V5.229C2.21338 5.23812 1.95134 5.29167 1.76904 5.38965C1.43408 5.57194 1.24495 5.9126 1.20166 6.41162H1L1.00684 5ZM5.604 11.2305V11.0527C5.80453 11.0459 5.94694 11.0186 6.03125 10.9707C6.16113 10.8978 6.22607 10.7611 6.22607 10.5605V7.17334C6.22607 6.96826 6.15885 6.8304 6.02441 6.75977C5.94694 6.71647 5.8068 6.68913 5.604 6.67773V6.5H9.63721V7.91162H9.46631C9.37744 7.46045 9.22648 7.15169 9.01343 6.98535C8.80037 6.81901 8.41244 6.73584 7.84961 6.73584C7.63542 6.73584 7.49927 6.75806 7.44116 6.80249C7.38306 6.84692 7.354 6.93522 7.354 7.06738V8.6875C7.75277 8.69206 8.02279 8.61971 8.16406 8.47046C8.30534 8.32121 8.41357 8.04834 8.48877 7.65186H8.6665V10.0171H8.48877C8.43864 9.61832 8.33667 9.33748 8.18286 9.17456C8.02905 9.01164 7.75277 8.93018 7.354 8.93018V10.6255C7.354 10.7736 7.39217 10.8744 7.46851 10.928C7.54484 10.9815 7.7015 11.0083 7.93848 11.0083C8.38509 11.0083 8.74967 10.9217 9.03223 10.7485C9.31478 10.5754 9.56543 10.2507 9.78418 9.77441H9.979L9.69531 11.2305H5.604ZM10.2729 9.55273C10.4507 9.52083 10.5783 9.48779 10.6558 9.45361C10.7811 9.39665 10.8962 9.30094 11.001 9.1665L12.2246 7.61816L10.8403 5.58447C10.7378 5.43636 10.6478 5.33325 10.5703 5.27515C10.4928 5.21704 10.396 5.18457 10.2798 5.17773V5H12.7031V5.17773C12.4775 5.18913 12.3277 5.20736 12.2537 5.23242C12.1796 5.25749 12.1426 5.31673 12.1426 5.41016C12.1426 5.45117 12.1517 5.49105 12.1699 5.52979C12.1882 5.56852 12.2144 5.61409 12.2485 5.6665L12.9287 6.71924C13.3115 6.18375 13.5417 5.85449 13.6191 5.73145C13.6966 5.6084 13.7354 5.50586 13.7354 5.42383C13.7354 5.32357 13.6784 5.25521 13.5645 5.21875C13.4984 5.19824 13.3844 5.18457 13.2227 5.17773V5H14.9727V5.17773C14.6628 5.20736 14.4178 5.3116 14.2378 5.49048C14.0578 5.66935 13.6784 6.16552 13.0996 6.979L14.3711 8.95459C14.5374 9.21208 14.6599 9.37158 14.7385 9.43311C14.8171 9.49463 14.9214 9.5345 15.0513 9.55273V9.73047H12.6689V9.55273C12.874 9.54362 13.0096 9.52995 13.0757 9.51172C13.1782 9.4821 13.2295 9.42285 13.2295 9.33398C13.2295 9.2998 13.2187 9.25252 13.197 9.19214C13.1754 9.13175 13.1372 9.05827 13.0825 8.97168L12.3784 7.83691L12.1118 8.19238C11.8862 8.49544 11.7336 8.70736 11.6538 8.82812C11.5216 9.03093 11.4556 9.17448 11.4556 9.25879C11.4556 9.38184 11.5365 9.46615 11.6982 9.51172C11.7894 9.53906 11.8976 9.55273 12.0229 9.55273V9.73047H10.2729V9.55273Z\" fill=\"#2ECC71\"/>\n</g>\n</svg>\n", Jn = "<svg width=\"16\" height=\"16\" viewBox=\"0 0 16 16\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n<g id=\"tune\">\n<g id=\"preferences-rotate\">\n<path id=\"Shape\" d=\"M4.5 8.5V2.5C4.5 2.224 4.276 2 4 2C3.724 2 3.5 2.224 3.5 2.5V8.5H4.5Z\" fill=\"#82AAFF\"/>\n<path id=\"Shape_2\" d=\"M5.5 9.5H2.5C2.224 9.5 2 9.724 2 10V12C2 12.276 2.224 12.5 2.5 12.5H3.5V13.5C3.5 13.776 3.724 14 4 14C4.276 14 4.5 13.776 4.5 13.5V12.5H5.5C5.776 12.5 6 12.276 6 12V10C6 9.724 5.776 9.5 5.5 9.5Z\" fill=\"#89DDFF\"/>\n<path id=\"Shape_3\" d=\"M8.5 3.5V2.5C8.5 2.224 8.276 2 8 2C7.724 2 7.5 2.224 7.5 2.5V3.5H8.5Z\" fill=\"#82AAFF\"/>\n<path id=\"Shape_4\" d=\"M10 5C10 4.724 9.776 4.5 9.5 4.5H6.5C6.224 4.5 6 4.724 6 5V7C6 7.276 6.224 7.5 6.5 7.5H7.5V13.5C7.5 13.776 7.724 14 8 14C8.276 14 8.5 13.776 8.5 13.5V7.5H9.5C9.776 7.5 10 7.276 10 7V5Z\" fill=\"#89DDFF\"/>\n<path id=\"Shape_5\" d=\"M12.5 8.5V2.5C12.5 2.224 12.276 2 12 2C11.724 2 11.5 2.224 11.5 2.5V8.5H12.5Z\" fill=\"#82AAFF\"/>\n<path id=\"Shape_6\" d=\"M13.5 9.5H10.5C10.224 9.5 10 9.724 10 10V12C10 12.276 10.224 12.5 10.5 12.5H11.5V13.5C11.5 13.776 11.724 14 12 14C12.276 14 12.5 13.776 12.5 13.5V12.5H13.5C13.776 12.5 14 12.276 14 12V10C14 9.724 13.776 9.5 13.5 9.5Z\" fill=\"#89DDFF\"/>\n</g>\n</g>\n</svg>\n", Yn = "<svg width=\"16\" height=\"16\" viewBox=\"0 0 16 16\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n<g id=\"typescript\">\n<path id=\"Combined Shape\" fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M13 4C13 3.44772 12.5523 3 12 3H4C3.44772 3 3 3.44772 3 4V12C3 12.5523 3.44772 13 4 13H12C12.5523 13 13 12.5523 13 12V4ZM8.86927 10.6553L8.86995 10.6556L8.66667 11.3907C8.79166 11.4504 8.96527 11.5063 9.18748 11.5583C9.4097 11.6103 9.64563 11.6364 9.89527 11.6364C10.4866 11.6364 10.9246 11.5148 11.2093 11.2717C11.494 11.0286 11.6364 10.741 11.6364 10.4087C11.6367 10.1263 11.5459 9.88953 11.364 9.69849C11.182 9.50745 10.8985 9.3475 10.5135 9.21866C10.2312 9.11933 10.0277 9.03254 9.90309 8.95828C9.77844 8.88402 9.71611 8.78485 9.71611 8.66077C9.71611 8.55668 9.76767 8.46623 9.8708 8.38943C9.97392 8.31264 10.1312 8.27424 10.3427 8.27424C10.5541 8.27424 10.7359 8.29661 10.888 8.34136C11.04 8.3861 11.1595 8.42831 11.2463 8.46798L11.4661 7.74633C11.3362 7.69175 11.1803 7.64462 10.9984 7.60496C10.8164 7.56529 10.6034 7.54545 10.3593 7.54545C9.84927 7.54577 9.44772 7.65986 9.15467 7.88771C8.86163 8.11556 8.7151 8.39816 8.7151 8.7355C8.7151 9.02302 8.825 9.2623 9.04478 9.45334C9.26457 9.64438 9.55345 9.7994 9.91142 9.91841C10.1718 9.99775 10.3576 10.0796 10.4687 10.164C10.5798 10.2484 10.6354 10.3502 10.6354 10.4692C10.6354 10.598 10.577 10.7021 10.4604 10.7814C10.3437 10.8608 10.1741 10.9004 9.95152 10.9004C9.74007 10.9004 9.53799 10.8757 9.34529 10.8262C9.15294 10.7768 8.99449 10.7199 8.86995 10.6556L8.87031 10.6543L8.86927 10.6553ZM6.54 8.2375V11.6364H7.40233V8.2375H8.66668V7.54545H5.27274V8.2375H6.54Z\" fill=\"#3965BD\"/>\n</g>\n</svg>\n", Xn = "<svg width=\"16\" height=\"16\" viewBox=\"0 0 16 16\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n<g id=\"unknown\">\n<path id=\"Subtract\" fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M8.08331 2.16669H4.49998C4.19056 2.16669 3.89381 2.2896 3.67502 2.5084C3.45623 2.72719 3.33331 3.02393 3.33331 3.33335V12.6667C3.33331 12.9761 3.45623 13.2729 3.67502 13.4916C3.89381 13.7104 4.19056 13.8334 4.49998 13.8334H11.5C11.8094 13.8334 12.1061 13.7104 12.3249 13.4916C12.5437 13.2729 12.6666 12.9761 12.6666 12.6667V6.75002H8.58331C8.30717 6.75002 8.08331 6.52616 8.08331 6.25002V2.16669ZM12.1666 5.75002L9.08331 2.66669V5.75002H12.1666Z\" fill=\"#697DA5\"/>\n</g>\n</svg>\n", Zn = "<svg width=\"16\" height=\"16\" viewBox=\"0 0 16 16\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n<g id=\"vue\">\n<g id=\"Group\">\n<path id=\"Vector\" d=\"M8 6.43898L6.34444 3.83333H3.8138L8 10.7917L12.1895 3.83333H9.65556L8 6.43898Z\" fill=\"#3965BD\"/>\n<path id=\"Vector_2\" d=\"M8 12.1667L13 3.83333H11.3333L8 9.24999L4.66667 3.83333H3L8 12.1667Z\" fill=\"#2ECC71\"/>\n</g>\n</g>\n</svg>\n", Qn = "<svg width=\"16\" height=\"16\" viewBox=\"0 0 16 16\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n<g id=\"word\">\n<g id=\"single-paragraph\">\n<path id=\"Shape\" fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M2.5 13.5V2.5C2.5 2.224 2.724 2 3 2H13C13.276 2 13.5 2.224 13.5 2.5V13.5C13.5 13.776 13.276 14 13 14H3C2.724 14 2.5 13.776 2.5 13.5ZM7.5 4.5H4.5V7.5H7.5V4.5ZM11.5 11.5H4.5V10.5H11.5V11.5ZM4.5 9.5H11.5V8.5H4.5V9.5ZM11.5 7.5H8.5V6.5H11.5V7.5ZM8.5 5.5H11.5V4.5H8.5V5.5Z\" fill=\"#3965BD\"/>\n</g>\n</g>\n</svg>\n", $n = "<svg width=\"16\" height=\"16\" viewBox=\"0 0 16 16\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n<g id=\"xml\">\n<path id=\"Shape\" fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M12.5 11V3.5C12.5 2.6715 11.8285 2 11 2H3.75C2.7835 2 2 2.7835 2 3.75V5H4.5V12.5C4.5 13.3285 5.1715 14 6 14H12H12.25C13.2165 14 14 13.2165 14 12.25V11H12.5ZM3 4V3.75C3 3.3365 3.3365 3 3.75 3C4.1635 3 4.5 3.3365 4.5 3.75V4H3ZM10 5.793L9.293 6.5L10.293 7.5L9.293 8.5L10 9.207L11.3535 7.8535C11.549 7.658 11.549 7.342 11.3535 7.1465L10 5.793ZM6.1465 7.8535C5.951 7.658 5.951 7.342 6.1465 7.1465L7.5 5.793L8.207 6.5L7.207 7.5L8.207 8.5L7.5 9.207L6.1465 7.8535ZM12.25 13C12.6635 13 13 12.6635 13 12.25V12H8V12.25C8 12.5425 7.939 12.7905 7.8375 13H12.25Z\" fill=\"#C3E88D\"/>\n</g>\n</svg>\n", er = "<svg width=\"16\" height=\"16\" viewBox=\"0 0 16 16\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n<g id=\"yaml\">\n<g id=\"YAML\" clip-path=\"url(#clip0)\">\n<path id=\"Vector\" d=\"M10.7355 3H13L6.26444 13H4L7.36778 8L4 3H6.26444L8.5 6.31903L10.7355 3Z\" fill=\"#FFCB6B\"/>\n</g>\n</g>\n<defs>\n<clipPath id=\"clip0\">\n<rect width=\"7\" height=\"8\" fill=\"white\" transform=\"translate(5 4)\"/>\n</clipPath>\n</defs>\n</svg>\n", tr = Xn, nr = new Map([
|
|
@@ -7427,7 +7434,16 @@ var Hf = ["src"], Uf = {
|
|
|
7427
7434
|
"images"
|
|
7428
7435
|
])]));
|
|
7429
7436
|
}
|
|
7430
|
-
})
|
|
7437
|
+
});
|
|
7438
|
+
//#endregion
|
|
7439
|
+
//#region src/components/chat-input/build-default-placeholder.ts
|
|
7440
|
+
function rp(e) {
|
|
7441
|
+
let { isEn: t, hasSkills: n, hasPrompts: r, hasResources: i } = e, a = [];
|
|
7442
|
+
return n && a.push(t ? "Input \"/\" to trigger skill" : "输入 \"/\" 唤出 Skill"), r && a.push(t ? "Input \"\\\" to trigger prompt" : "输入 \"\\\" 唤出 Prompt"), i && a.push(t ? "Input \"@\" to trigger tool and MCP" : "输入 \"@\" 唤出 工具和 MCP"), a.push(t ? "Use Shift + Enter to enter a new line" : "通过 Shift + Enter 进行换行输入"), a.join("\n");
|
|
7443
|
+
}
|
|
7444
|
+
//#endregion
|
|
7445
|
+
//#region src/components/chat-input/ai-slash-input/ai-prompt-list/ai-prompt-list.vue?vue&type=script&setup=true&lang.ts
|
|
7446
|
+
var ip = ["onClick"], ap = /* @__PURE__ */ m({
|
|
7431
7447
|
__name: "ai-prompt-list",
|
|
7432
7448
|
props: {
|
|
7433
7449
|
onSelect: { type: Function },
|
|
@@ -7447,12 +7463,12 @@ var Hf = ["src"], Uf = {
|
|
|
7447
7463
|
key: e,
|
|
7448
7464
|
class: S(["ai-prompt-list-item", { "is-active": z(i) === n }]),
|
|
7449
7465
|
onClick: (n) => t.onSelect(e)
|
|
7450
|
-
}, R(e), 11,
|
|
7466
|
+
}, R(e), 11, ip))), 128))], 512));
|
|
7451
7467
|
}
|
|
7452
|
-
}),
|
|
7468
|
+
}), op = ["onClick"], sp = ["src", "onError"], cp = {
|
|
7453
7469
|
key: 1,
|
|
7454
7470
|
class: "ai-skill-list-item-icon ai-skill-list-item-icon--fallback"
|
|
7455
|
-
},
|
|
7471
|
+
}, lp = { class: "ai-skill-list-item-info" }, up = { class: "ai-skill-list-item-name" }, dp = /* @__PURE__ */ m({
|
|
7456
7472
|
__name: "ai-skill-list",
|
|
7457
7473
|
props: {
|
|
7458
7474
|
onSelect: { type: Function },
|
|
@@ -7482,10 +7498,10 @@ var Hf = ["src"], Uf = {
|
|
|
7482
7498
|
alt: "",
|
|
7483
7499
|
class: "ai-skill-list-item-icon",
|
|
7484
7500
|
onError: (t) => r.add(e.skill_code)
|
|
7485
|
-
}, null, 40,
|
|
7501
|
+
}, null, 40, sp)) : (k(), c("div", cp, R((i = e.skill_name) == null || (i = i[0]) == null ? void 0 : i.toUpperCase()), 1)), l("div", lp, [l("div", up, R(e.skill_name), 1)])], 10, op);
|
|
7486
7502
|
}), 128))], 512));
|
|
7487
7503
|
}
|
|
7488
|
-
}),
|
|
7504
|
+
}), fp = { class: "ai-slash-item ai-slash-group-title" }, pp = ["onClick"], mp = ["onClick"], hp = ["title"], gp = /* @__PURE__ */ m({
|
|
7489
7505
|
__name: "ai-slash-menu",
|
|
7490
7506
|
props: {
|
|
7491
7507
|
onSelect: { type: Function },
|
|
@@ -7531,13 +7547,13 @@ var Hf = ["src"], Uf = {
|
|
|
7531
7547
|
}, [(k(!0), c(e, null, P(o.value, (n, r) => (k(), c(e, null, [n.items.length > 0 ? (k(), c("div", {
|
|
7532
7548
|
key: r,
|
|
7533
7549
|
class: "ai-slash-group"
|
|
7534
|
-
}, [l("div",
|
|
7550
|
+
}, [l("div", fp, [
|
|
7535
7551
|
(k(), c("svg", {
|
|
7536
7552
|
class: "title-icon",
|
|
7537
7553
|
style: w({ transform: i.value.includes(n.type) ? "rotate(90deg)" : "rotate(0deg)" }),
|
|
7538
7554
|
viewBox: "0 0 1024 1024",
|
|
7539
7555
|
onClick: (e) => f(n)
|
|
7540
|
-
}, [...p[0] || (p[0] = [l("path", { d: "M800 512L288 928V96z" }, null, -1)])], 12,
|
|
7556
|
+
}, [...p[0] || (p[0] = [l("path", { d: "M800 512L288 928V96z" }, null, -1)])], 12, pp)),
|
|
7541
7557
|
l("span", { class: S(`mark-${n.type}`) }, null, 2),
|
|
7542
7558
|
d(" " + R(n.name) + " (" + R(n.items.length) + ") ", 1)
|
|
7543
7559
|
]), i.value.includes(n.type) ? (k(!0), c(e, { key: 0 }, P(n.items, (e) => {
|
|
@@ -7549,27 +7565,27 @@ var Hf = ["src"], Uf = {
|
|
|
7549
7565
|
}, [W((k(), c("span", {
|
|
7550
7566
|
class: "ellipsis-text",
|
|
7551
7567
|
title: e.name
|
|
7552
|
-
}, [d(R(e.name), 1)], 8,
|
|
7568
|
+
}, [d(R(e.name), 1)], 8, hp)), [[z(Sa), {
|
|
7553
7569
|
text: e.name,
|
|
7554
7570
|
zIndex: 9999999,
|
|
7555
7571
|
placement: "right-start",
|
|
7556
7572
|
theme: "ai-slash-editor-overflow-tips-theme"
|
|
7557
|
-
}]])], 10,
|
|
7573
|
+
}]])], 10, mp);
|
|
7558
7574
|
}), 128)) : s("", !0)])) : s("", !0)], 64))), 256))], 512)) : s("", !0);
|
|
7559
7575
|
};
|
|
7560
7576
|
}
|
|
7561
|
-
}),
|
|
7577
|
+
}), _p = (e, t, n, r) => new Yu().delete(n, r), vp = (e, t, n, r) => new Yu().insert(n, [[{ data: {
|
|
7562
7578
|
label: r.name,
|
|
7563
7579
|
value: r.name,
|
|
7564
7580
|
type: r.type
|
|
7565
|
-
} }]]),
|
|
7581
|
+
} }]]), yp = (e, t, n, r) => new Yu().insert(n, [[{ text: r }]]), bp = (e, t, n, r) => new Yu().insert(n, [[{ data: {
|
|
7566
7582
|
label: r.skill_name,
|
|
7567
7583
|
value: r.skill_code,
|
|
7568
7584
|
type: "skill"
|
|
7569
|
-
} }]]),
|
|
7585
|
+
} }]]), xp = (e) => {
|
|
7570
7586
|
let t = e.data;
|
|
7571
7587
|
return t.type === "skill" ? `/${t.value}` : `@${t.label}`;
|
|
7572
|
-
},
|
|
7588
|
+
}, Sp = (e) => Uu(e, xp), Cp = pf({
|
|
7573
7589
|
multiline: !0,
|
|
7574
7590
|
void: { tag: ff({
|
|
7575
7591
|
is: (e) => e.contentEditable === "false" && e.dataset.tagType !== void 0,
|
|
@@ -7580,7 +7596,7 @@ var Hf = ["src"], Uf = {
|
|
|
7580
7596
|
}),
|
|
7581
7597
|
plain: (e) => e.type === "skill" ? `/${e.value}` : e.label
|
|
7582
7598
|
}) }
|
|
7583
|
-
}),
|
|
7599
|
+
}), wp = { class: "ai-slash-input-wrapper" }, Tp = ["aria-placeholder"], Ep = { key: 0 }, Dp = ["data-tag-type", "data-tag-value"], Op = { key: 1 }, kp = /* @__PURE__ */ m({
|
|
7584
7600
|
__name: "ai-slash-input",
|
|
7585
7601
|
props: {
|
|
7586
7602
|
modelValue: {},
|
|
@@ -7683,7 +7699,7 @@ var Hf = ["src"], Uf = {
|
|
|
7683
7699
|
var t;
|
|
7684
7700
|
x.command(M);
|
|
7685
7701
|
let { column: n, line: r } = j.value;
|
|
7686
|
-
x.command(
|
|
7702
|
+
x.command(_p, [r, n - _.value.length - 1], [r, n]), x.command(vp, [r, n], e), x.command(yp, [r, n + _.value.length + 1 + 1], " "), (t = a.value) == null || t.hide(), ae();
|
|
7687
7703
|
}, ae = () => {
|
|
7688
7704
|
T !== null && clearTimeout(T), T = setTimeout(() => {
|
|
7689
7705
|
if (T = null, typeof window > "u") return;
|
|
@@ -7696,7 +7712,7 @@ var Hf = ["src"], Uf = {
|
|
|
7696
7712
|
var t;
|
|
7697
7713
|
x.command(M);
|
|
7698
7714
|
let { column: n, line: r } = j.value;
|
|
7699
|
-
x.command(
|
|
7715
|
+
x.command(_p, [r, n - _.value.length - 1], [r, n]), x.command(bp, [r, n], e), x.command(yp, [r, n + _.value.length + 1 + 1], " "), (t = a.value) == null || t.hide(), ae();
|
|
7700
7716
|
};
|
|
7701
7717
|
H(() => {
|
|
7702
7718
|
var e, t;
|
|
@@ -7715,7 +7731,7 @@ var Hf = ["src"], Uf = {
|
|
|
7715
7731
|
let se = (e, t, n, r) => {
|
|
7716
7732
|
if (t.type === "tag") {
|
|
7717
7733
|
let t = re(e, n);
|
|
7718
|
-
x.command(
|
|
7734
|
+
x.command(_p, [r, t], [r, t + 1]);
|
|
7719
7735
|
}
|
|
7720
7736
|
}, ce = (e) => {
|
|
7721
7737
|
var t;
|
|
@@ -7730,7 +7746,7 @@ var Hf = ["src"], Uf = {
|
|
|
7730
7746
|
}, le = () => {
|
|
7731
7747
|
C == null || C(), x = lf({
|
|
7732
7748
|
doc: h.value,
|
|
7733
|
-
schema:
|
|
7749
|
+
schema: Cp,
|
|
7734
7750
|
onChange: function() {
|
|
7735
7751
|
var e = Z(function* (e) {
|
|
7736
7752
|
h.value = e, I();
|
|
@@ -7755,13 +7771,13 @@ var Hf = ["src"], Uf = {
|
|
|
7755
7771
|
focus: ae
|
|
7756
7772
|
}), (n, r) => {
|
|
7757
7773
|
var u;
|
|
7758
|
-
return k(), c("div",
|
|
7774
|
+
return k(), c("div", wp, [l("div", {
|
|
7759
7775
|
ref_key: "editorRef",
|
|
7760
7776
|
ref: i,
|
|
7761
7777
|
"aria-placeholder": t.placeholder,
|
|
7762
7778
|
class: "ai-slash-input",
|
|
7763
7779
|
spellcheck: "false"
|
|
7764
|
-
}, [(u = h.value) != null && u.length && h.value.some((e) => e.length) ? (k(!0), c(e, { key: 0 }, P(h.value, (t, n) => (k(), c("div", { key: n }, [t.length ? (k(!0), c(e, { key: 0 }, P(t, (r, i) => (k(), c(e, { key: i }, [r.type === "text" ? (k(), c("span",
|
|
7780
|
+
}, [(u = h.value) != null && u.length && h.value.some((e) => e.length) ? (k(!0), c(e, { key: 0 }, P(h.value, (t, n) => (k(), c("div", { key: n }, [t.length ? (k(!0), c(e, { key: 0 }, P(t, (r, i) => (k(), c(e, { key: i }, [r.type === "text" ? (k(), c("span", Ep, R(r.text), 1)) : r.type === "tag" ? (k(), c("span", {
|
|
7765
7781
|
key: 1,
|
|
7766
7782
|
class: S(`mention-tag-${r.data.type}`),
|
|
7767
7783
|
contenteditable: "false",
|
|
@@ -7770,7 +7786,7 @@ var Hf = ["src"], Uf = {
|
|
|
7770
7786
|
}, [d(R(r.data.label) + " ", 1), f(z(Qt), {
|
|
7771
7787
|
class: "mention-tag-remove-icon",
|
|
7772
7788
|
onClick: (e) => se(t, r, i, n)
|
|
7773
|
-
}, null, 8, ["onClick"])], 10,
|
|
7789
|
+
}, null, 8, ["onClick"])], 10, Dp)) : s("", !0)], 64))), 128)) : (k(), c("br", Op))]))), 128)) : s("", !0)], 8, Tp), f(z(xe), {
|
|
7774
7790
|
ref_key: "tippyRef",
|
|
7775
7791
|
ref: a,
|
|
7776
7792
|
"append-to": A,
|
|
@@ -7786,15 +7802,15 @@ var Hf = ["src"], Uf = {
|
|
|
7786
7802
|
onHidden: te,
|
|
7787
7803
|
onShow: ue
|
|
7788
7804
|
}, {
|
|
7789
|
-
content: U(() => [g.value === "slash" ? (k(), o(
|
|
7805
|
+
content: U(() => [g.value === "slash" ? (k(), o(gp, {
|
|
7790
7806
|
key: 0,
|
|
7791
7807
|
"on-select": ie,
|
|
7792
7808
|
"resource-list": v.value
|
|
7793
|
-
}, null, 8, ["resource-list"])) : g.value === "skill" ? (k(), o(
|
|
7809
|
+
}, null, 8, ["resource-list"])) : g.value === "skill" ? (k(), o(dp, {
|
|
7794
7810
|
key: 1,
|
|
7795
7811
|
"on-select": W,
|
|
7796
7812
|
skills: y.value
|
|
7797
|
-
}, null, 8, ["skills"])) : g.value === "prompt" ? (k(), o(
|
|
7813
|
+
}, null, 8, ["skills"])) : g.value === "prompt" ? (k(), o(ap, {
|
|
7798
7814
|
key: 2,
|
|
7799
7815
|
"on-select": oe,
|
|
7800
7816
|
prompts: b.value
|
|
@@ -7803,7 +7819,7 @@ var Hf = ["src"], Uf = {
|
|
|
7803
7819
|
}, 8, ["trigger-target", "z-index"])]);
|
|
7804
7820
|
};
|
|
7805
7821
|
}
|
|
7806
|
-
}),
|
|
7822
|
+
}), Ap = { class: "ai-input-attachment" }, jp = { class: "ai-input-attachment-default" }, Mp = { class: "ai-input-attachment-before-send" }, Np = /* @__PURE__ */ m({
|
|
7807
7823
|
__name: "input-attachment",
|
|
7808
7824
|
props: {
|
|
7809
7825
|
messageState: {},
|
|
@@ -7817,9 +7833,9 @@ var Hf = ["src"], Uf = {
|
|
|
7817
7833
|
}, a = () => {
|
|
7818
7834
|
n.sendDisabledTip || n.messageState === J.Disabled || n.messageState === J.Pending || n.messageState === J.Streaming || r("sendMessage");
|
|
7819
7835
|
};
|
|
7820
|
-
return (t, r) => (k(), c("div",
|
|
7821
|
-
l("div",
|
|
7822
|
-
l("div",
|
|
7836
|
+
return (t, r) => (k(), c("div", Ap, [
|
|
7837
|
+
l("div", jp, [F(t.$slots, "default")]),
|
|
7838
|
+
l("div", Mp, [F(t.$slots, "before-send")]),
|
|
7823
7839
|
F(t.$slots, "send-icon", {}, () => [l("div", {
|
|
7824
7840
|
class: S(["send-message-icon", [e.messageState && `send-message-icon__${e.messageState}`, { "send-message-icon__disabled": e.sendDisabledTip }]]),
|
|
7825
7841
|
onClick: a
|
|
@@ -7837,7 +7853,7 @@ var Hf = ["src"], Uf = {
|
|
|
7837
7853
|
})]])], 2)])
|
|
7838
7854
|
]));
|
|
7839
7855
|
}
|
|
7840
|
-
}),
|
|
7856
|
+
}), Pp = [
|
|
7841
7857
|
{
|
|
7842
7858
|
key: "support_thinking",
|
|
7843
7859
|
label: () => G("深度思考"),
|
|
@@ -7853,22 +7869,22 @@ var Hf = ["src"], Uf = {
|
|
|
7853
7869
|
label: () => G("图生文"),
|
|
7854
7870
|
theme: "warning"
|
|
7855
7871
|
}
|
|
7856
|
-
],
|
|
7872
|
+
], Fp = (e) => Pp.filter((t) => {
|
|
7857
7873
|
var n;
|
|
7858
7874
|
return (n = e.property) == null ? void 0 : n[t.key];
|
|
7859
7875
|
}).map((e) => ({
|
|
7860
7876
|
text: e.label(),
|
|
7861
7877
|
theme: e.theme
|
|
7862
|
-
})),
|
|
7878
|
+
})), Ip = { class: "ai-model-selector-panel-search" }, Lp = { class: "ai-model-selector-panel-list" }, Rp = ["title", "onClick"], zp = {
|
|
7863
7879
|
key: 0,
|
|
7864
7880
|
class: "ai-model-selector-panel-option-icon"
|
|
7865
|
-
},
|
|
7881
|
+
}, Bp = ["src"], Vp = ["title"], Hp = {
|
|
7866
7882
|
key: 1,
|
|
7867
7883
|
class: "ai-model-selector-panel-option-tags"
|
|
7868
|
-
},
|
|
7884
|
+
}, Up = {
|
|
7869
7885
|
key: 0,
|
|
7870
7886
|
class: "ai-model-selector-panel-empty"
|
|
7871
|
-
},
|
|
7887
|
+
}, Wp = /* @__PURE__ */ m({
|
|
7872
7888
|
__name: "model-selector-panel",
|
|
7873
7889
|
props: /* @__PURE__ */ y({
|
|
7874
7890
|
models: {},
|
|
@@ -7882,7 +7898,7 @@ var Hf = ["src"], Uf = {
|
|
|
7882
7898
|
setup(t, { expose: n, emit: r }) {
|
|
7883
7899
|
let i = t, o = a(() => {
|
|
7884
7900
|
let e = /* @__PURE__ */ new Map();
|
|
7885
|
-
return i.models.forEach((t) => e.set(t.llm_name,
|
|
7901
|
+
return i.models.forEach((t) => e.set(t.llm_name, Fp(t))), e;
|
|
7886
7902
|
}), u = r, p = re(t, "keyword"), m = B("panelRef"), h = B("searchInputRef"), g = L(i.models), { activeIndex: _ } = ea({
|
|
7887
7903
|
items: g,
|
|
7888
7904
|
menuRef: m,
|
|
@@ -7903,7 +7919,7 @@ var Hf = ["src"], Uf = {
|
|
|
7903
7919
|
ref_key: "panelRef",
|
|
7904
7920
|
ref: m,
|
|
7905
7921
|
class: "ai-model-selector-panel"
|
|
7906
|
-
}, [l("div",
|
|
7922
|
+
}, [l("div", Ip, [f(z(pe), {
|
|
7907
7923
|
ref_key: "searchInputRef",
|
|
7908
7924
|
ref: h,
|
|
7909
7925
|
modelValue: p.value,
|
|
@@ -7916,7 +7932,7 @@ var Hf = ["src"], Uf = {
|
|
|
7916
7932
|
}, {
|
|
7917
7933
|
prefix: U(() => [f(z(yr), { class: "ai-model-selector-panel-search-icon" })]),
|
|
7918
7934
|
_: 1
|
|
7919
|
-
}, 8, ["modelValue", "placeholder"])]), l("div",
|
|
7935
|
+
}, 8, ["modelValue", "placeholder"])]), l("div", Lp, [(k(!0), c(e, null, P(t.models, (n, r) => {
|
|
7920
7936
|
var i;
|
|
7921
7937
|
return k(), c("div", {
|
|
7922
7938
|
key: n.id,
|
|
@@ -7928,20 +7944,20 @@ var Hf = ["src"], Uf = {
|
|
|
7928
7944
|
title: n.description,
|
|
7929
7945
|
onClick: (e) => v(n)
|
|
7930
7946
|
}, [
|
|
7931
|
-
n.icon ? (k(), c("span",
|
|
7947
|
+
n.icon ? (k(), c("span", zp, [l("img", {
|
|
7932
7948
|
alt: "",
|
|
7933
7949
|
src: n.icon
|
|
7934
|
-
}, null, 8,
|
|
7950
|
+
}, null, 8, Bp)])) : s("", !0),
|
|
7935
7951
|
l("span", {
|
|
7936
7952
|
class: "ai-model-selector-panel-option-name",
|
|
7937
7953
|
title: n.llm_name
|
|
7938
|
-
}, R(n.llm_name), 9,
|
|
7939
|
-
(i = o.value.get(n.llm_name)) != null && i.length ? (k(), c("span",
|
|
7954
|
+
}, R(n.llm_name), 9, Vp),
|
|
7955
|
+
(i = o.value.get(n.llm_name)) != null && i.length ? (k(), c("span", Hp, [(k(!0), c(e, null, P(o.value.get(n.llm_name), (e, t) => (k(), c("span", {
|
|
7940
7956
|
key: t,
|
|
7941
7957
|
class: S(["ai-model-capability-tag", `is-${e.theme || "default"}`])
|
|
7942
7958
|
}, R(e.text), 3))), 128))])) : s("", !0)
|
|
7943
|
-
], 10,
|
|
7944
|
-
}), 128)), t.models.length ? s("", !0) : (k(), c("div",
|
|
7959
|
+
], 10, Rp);
|
|
7960
|
+
}), 128)), t.models.length ? s("", !0) : (k(), c("div", Up, [f(z(de), {
|
|
7945
7961
|
scene: "part",
|
|
7946
7962
|
type: "empty"
|
|
7947
7963
|
}, {
|
|
@@ -7949,10 +7965,10 @@ var Hf = ["src"], Uf = {
|
|
|
7949
7965
|
_: 1
|
|
7950
7966
|
})]))])], 512));
|
|
7951
7967
|
}
|
|
7952
|
-
}),
|
|
7968
|
+
}), Gp = {
|
|
7953
7969
|
key: 0,
|
|
7954
7970
|
class: "ai-model-selector-trigger-icon"
|
|
7955
|
-
},
|
|
7971
|
+
}, Kp = ["src"], qp = { class: "ai-model-selector-trigger-name" }, Jp = /* @__PURE__ */ m({
|
|
7956
7972
|
__name: "model-selector-trigger",
|
|
7957
7973
|
props: {
|
|
7958
7974
|
disabled: { type: Boolean },
|
|
@@ -7967,16 +7983,16 @@ var Hf = ["src"], Uf = {
|
|
|
7967
7983
|
"is-expanded": e.expanded,
|
|
7968
7984
|
"is-disabled": e.disabled
|
|
7969
7985
|
}]) }, [
|
|
7970
|
-
(r = e.model) != null && r.icon ? (k(), c("span",
|
|
7986
|
+
(r = e.model) != null && r.icon ? (k(), c("span", Gp, [l("img", {
|
|
7971
7987
|
alt: "",
|
|
7972
7988
|
src: e.model.icon
|
|
7973
|
-
}, null, 8,
|
|
7974
|
-
l("span",
|
|
7989
|
+
}, null, 8, Kp)])) : s("", !0),
|
|
7990
|
+
l("span", qp, R(((i = e.model) == null ? void 0 : i.llm_name) || e.placeholder), 1),
|
|
7975
7991
|
f(z(ur), { class: "ai-model-selector-trigger-arrow" })
|
|
7976
7992
|
], 2);
|
|
7977
7993
|
};
|
|
7978
7994
|
}
|
|
7979
|
-
}),
|
|
7995
|
+
}), Yp = (e) => {
|
|
7980
7996
|
let t = L("");
|
|
7981
7997
|
return {
|
|
7982
7998
|
keyword: t,
|
|
@@ -7989,7 +8005,7 @@ var Hf = ["src"], Uf = {
|
|
|
7989
8005
|
t.value = "";
|
|
7990
8006
|
}
|
|
7991
8007
|
};
|
|
7992
|
-
},
|
|
8008
|
+
}, Xp = /* @__PURE__ */ m({
|
|
7993
8009
|
__name: "model-selector",
|
|
7994
8010
|
props: /* @__PURE__ */ y({
|
|
7995
8011
|
disabled: { type: Boolean },
|
|
@@ -8003,7 +8019,7 @@ var Hf = ["src"], Uf = {
|
|
|
8003
8019
|
}),
|
|
8004
8020
|
emits: /* @__PURE__ */ y(["change"], ["update:modelValue"]),
|
|
8005
8021
|
setup(e, { emit: t }) {
|
|
8006
|
-
let n = e, r = t, i = re(e, "modelValue"), s = B("tippyRef"), c = B("panelRef"), l = L(!1), { keyword: u, filteredModels: d, currentModel: p, resetKeyword: m } =
|
|
8022
|
+
let n = e, r = t, i = re(e, "modelValue"), s = B("tippyRef"), c = B("panelRef"), l = L(!1), { keyword: u, filteredModels: d, currentModel: p, resetKeyword: m } = Yp({
|
|
8007
8023
|
models: ee(n, "models"),
|
|
8008
8024
|
selectedModel: i
|
|
8009
8025
|
}), h = a(() => X({
|
|
@@ -8031,7 +8047,7 @@ var Hf = ["src"], Uf = {
|
|
|
8031
8047
|
onHidden: _,
|
|
8032
8048
|
onShow: g
|
|
8033
8049
|
}), {
|
|
8034
|
-
content: U(() => [f(
|
|
8050
|
+
content: U(() => [f(Wp, {
|
|
8035
8051
|
ref_key: "panelRef",
|
|
8036
8052
|
ref: c,
|
|
8037
8053
|
keyword: z(u),
|
|
@@ -8046,7 +8062,7 @@ var Hf = ["src"], Uf = {
|
|
|
8046
8062
|
"search-placeholder",
|
|
8047
8063
|
"selected-name"
|
|
8048
8064
|
])]),
|
|
8049
|
-
default: U(() => [f(
|
|
8065
|
+
default: U(() => [f(Jp, {
|
|
8050
8066
|
disabled: e.disabled,
|
|
8051
8067
|
expanded: l.value,
|
|
8052
8068
|
model: z(p),
|
|
@@ -8060,21 +8076,21 @@ var Hf = ["src"], Uf = {
|
|
|
8060
8076
|
_: 1
|
|
8061
8077
|
}, 16));
|
|
8062
8078
|
}
|
|
8063
|
-
}),
|
|
8079
|
+
}), Zp = {
|
|
8064
8080
|
key: 1,
|
|
8065
8081
|
class: "ai-divider"
|
|
8066
|
-
},
|
|
8082
|
+
}, Qp = /* @__PURE__ */ m({
|
|
8067
8083
|
__name: "chat-input",
|
|
8068
8084
|
props: /* @__PURE__ */ y({
|
|
8069
8085
|
defaultUploadFiles: {},
|
|
8070
|
-
inputMaxHeight: { default:
|
|
8086
|
+
inputMaxHeight: { default: 280 },
|
|
8071
8087
|
messageStatus: {},
|
|
8072
8088
|
models: {},
|
|
8073
8089
|
modelValue: {},
|
|
8074
8090
|
onSendMessage: {},
|
|
8075
8091
|
onStopSending: {},
|
|
8076
8092
|
onUpload: {},
|
|
8077
|
-
placeholder: {
|
|
8093
|
+
placeholder: {},
|
|
8078
8094
|
prompts: { default: () => [] },
|
|
8079
8095
|
resources: { default: () => [] },
|
|
8080
8096
|
sendDisabledTip: {},
|
|
@@ -8102,37 +8118,45 @@ var Hf = ["src"], Uf = {
|
|
|
8102
8118
|
"modelChange"
|
|
8103
8119
|
], ["update:cite", "update:selectedModel"]),
|
|
8104
8120
|
setup(e, { expose: t, emit: n }) {
|
|
8105
|
-
let r = B("aiSlashInputRef"), i = B("filesRef"), u = re(e, "cite"), d = re(e, "selectedModel"), p = L(
|
|
8121
|
+
let r = B("aiSlashInputRef"), i = B("filesRef"), u = re(e, "cite"), d = re(e, "selectedModel"), p = L(280), m = e, g = n, _ = a(() => {
|
|
8122
|
+
var e, t, n, r, i, a;
|
|
8123
|
+
return m.placeholder === void 0 ? rp({
|
|
8124
|
+
isEn: _t,
|
|
8125
|
+
hasSkills: ((e = (t = m.skills) == null ? void 0 : t.length) == null ? 0 : e) > 0,
|
|
8126
|
+
hasPrompts: ((n = (r = m.prompts) == null ? void 0 : r.length) == null ? 0 : n) > 0,
|
|
8127
|
+
hasResources: ((i = (a = m.resources) == null ? void 0 : a.length) == null ? 0 : i) > 0
|
|
8128
|
+
}) : m.placeholder;
|
|
8129
|
+
}), v = N(m.defaultUploadFiles || []), y = a(() => {
|
|
8106
8130
|
var e;
|
|
8107
8131
|
return (e = m.shortcuts) == null ? void 0 : e.find((e) => e.id === m.shortcutId);
|
|
8108
|
-
}),
|
|
8132
|
+
}), b = a(() => {
|
|
8109
8133
|
var e;
|
|
8110
8134
|
return m.messageStatus && [
|
|
8111
8135
|
J.Pending,
|
|
8112
8136
|
J.Streaming,
|
|
8113
8137
|
J.Fetching
|
|
8114
|
-
].includes(m.messageStatus) ? m.messageStatus : ((e = m.modelValue) == null ? void 0 : e.length) < 1 || Array.isArray(m.modelValue) && !
|
|
8138
|
+
].includes(m.messageStatus) ? m.messageStatus : ((e = m.modelValue) == null ? void 0 : e.length) < 1 || Array.isArray(m.modelValue) && !Sp(m.modelValue).trim() ? J.Disabled : m.messageStatus;
|
|
8115
8139
|
});
|
|
8116
8140
|
oe(() => {
|
|
8117
8141
|
var e;
|
|
8118
|
-
let t = m.inputMaxHeight ||
|
|
8119
|
-
if (
|
|
8142
|
+
let t = m.inputMaxHeight || 280;
|
|
8143
|
+
if (v.value.length < 1 || !i.value) {
|
|
8120
8144
|
p.value = t;
|
|
8121
8145
|
return;
|
|
8122
8146
|
}
|
|
8123
8147
|
p.value = t + (((e = i.value) == null ? void 0 : e.clientHeight) || 0);
|
|
8124
8148
|
});
|
|
8125
|
-
let
|
|
8149
|
+
let x = function() {
|
|
8126
8150
|
var e = Z(function* () {
|
|
8127
8151
|
try {
|
|
8128
8152
|
var e, t, n, i;
|
|
8129
8153
|
if (m.sendDisabledTip) return;
|
|
8130
8154
|
(e = r.value) == null || (t = e.cleanup) == null || t.call(e);
|
|
8131
8155
|
let o;
|
|
8132
|
-
if (!((n =
|
|
8156
|
+
if (!((n = v.value) != null && n.length)) o = typeof m.modelValue == "string" ? m.modelValue : Sp(m.modelValue);
|
|
8133
8157
|
else {
|
|
8134
8158
|
var a;
|
|
8135
|
-
o = (a =
|
|
8159
|
+
o = (a = v.value) == null ? void 0 : a.slice().map((e) => {
|
|
8136
8160
|
var t, n;
|
|
8137
8161
|
return {
|
|
8138
8162
|
type: bt.Binary,
|
|
@@ -8142,10 +8166,10 @@ var Hf = ["src"], Uf = {
|
|
|
8142
8166
|
};
|
|
8143
8167
|
}), m.modelValue && o.push({
|
|
8144
8168
|
type: bt.Text,
|
|
8145
|
-
text:
|
|
8169
|
+
text: Sp(m.modelValue)
|
|
8146
8170
|
});
|
|
8147
8171
|
}
|
|
8148
|
-
(i = m.onSendMessage) == null || i.call(m, o, m.modelValue),
|
|
8172
|
+
(i = m.onSendMessage) == null || i.call(m, o, m.modelValue), v.value = [];
|
|
8149
8173
|
} catch (e) {
|
|
8150
8174
|
console.error(e);
|
|
8151
8175
|
}
|
|
@@ -8153,12 +8177,12 @@ var Hf = ["src"], Uf = {
|
|
|
8153
8177
|
return function() {
|
|
8154
8178
|
return e.apply(this, arguments);
|
|
8155
8179
|
};
|
|
8156
|
-
}(),
|
|
8180
|
+
}(), S = (e) => {
|
|
8157
8181
|
if (e.key === "Enter" || e.key === "NumpadEnter") {
|
|
8158
|
-
if (e.shiftKey ||
|
|
8159
|
-
|
|
8182
|
+
if (e.shiftKey || b.value === J.Disabled || m.sendDisabledTip || b.value === J.Fetching || b.value === J.Streaming || b.value === J.Pending) return;
|
|
8183
|
+
x();
|
|
8160
8184
|
}
|
|
8161
|
-
},
|
|
8185
|
+
}, T = function() {
|
|
8162
8186
|
var e = Z(function* () {
|
|
8163
8187
|
try {
|
|
8164
8188
|
var e;
|
|
@@ -8170,33 +8194,33 @@ var Hf = ["src"], Uf = {
|
|
|
8170
8194
|
return function() {
|
|
8171
8195
|
return e.apply(this, arguments);
|
|
8172
8196
|
};
|
|
8173
|
-
}(),
|
|
8197
|
+
}(), E = () => {
|
|
8174
8198
|
u.value = "";
|
|
8175
|
-
},
|
|
8199
|
+
}, D = (e) => {
|
|
8176
8200
|
g("selectShortcut", e);
|
|
8177
|
-
},
|
|
8201
|
+
}, O = () => {
|
|
8178
8202
|
g("deleteShortcut");
|
|
8179
|
-
},
|
|
8203
|
+
}, A = (e) => {
|
|
8180
8204
|
g("modelChange", e);
|
|
8181
|
-
},
|
|
8205
|
+
}, j = (e) => `${e.name}_${e.size}_${e.lastModified}`, M = (Ft / (1024 * 1024)).toFixed(1), P = function() {
|
|
8182
8206
|
var e = Z(function* (e) {
|
|
8183
8207
|
if (!m.supportUpload) return;
|
|
8184
|
-
if (
|
|
8208
|
+
if (v.value.length >= 3) {
|
|
8185
8209
|
e.length > 0 && he({
|
|
8186
|
-
message: Ve(e.length,
|
|
8210
|
+
message: Ve(e.length, M, _t),
|
|
8187
8211
|
theme: "error"
|
|
8188
8212
|
});
|
|
8189
8213
|
return;
|
|
8190
8214
|
}
|
|
8191
|
-
let t = new Set(
|
|
8215
|
+
let t = new Set(v.value.map((e) => e.file ? j(e.file) : "")), n = 0;
|
|
8192
8216
|
for (let i = 0; i < e.length; i++) {
|
|
8193
8217
|
var r;
|
|
8194
8218
|
let a = e[i];
|
|
8195
|
-
if (
|
|
8219
|
+
if (v.value.length >= 3) {
|
|
8196
8220
|
n += e.length - i;
|
|
8197
8221
|
break;
|
|
8198
8222
|
}
|
|
8199
|
-
let o =
|
|
8223
|
+
let o = j(a);
|
|
8200
8224
|
if (t.has(o)) {
|
|
8201
8225
|
n += 1;
|
|
8202
8226
|
continue;
|
|
@@ -8210,7 +8234,7 @@ var Hf = ["src"], Uf = {
|
|
|
8210
8234
|
file: a,
|
|
8211
8235
|
status: vf.Pending
|
|
8212
8236
|
};
|
|
8213
|
-
|
|
8237
|
+
v.value.push(s), (r = m.onUpload) == null || r.call(m, a).then((e) => {
|
|
8214
8238
|
if (e && typeof e == "object" && "download_url" in e) {
|
|
8215
8239
|
s.url = e.download_url, s.status = vf.Success;
|
|
8216
8240
|
return;
|
|
@@ -8221,16 +8245,16 @@ var Hf = ["src"], Uf = {
|
|
|
8221
8245
|
});
|
|
8222
8246
|
}
|
|
8223
8247
|
n > 0 && he({
|
|
8224
|
-
message: Ve(n,
|
|
8248
|
+
message: Ve(n, M, _t),
|
|
8225
8249
|
theme: "error"
|
|
8226
8250
|
});
|
|
8227
8251
|
});
|
|
8228
8252
|
return function(t) {
|
|
8229
8253
|
return e.apply(this, arguments);
|
|
8230
8254
|
};
|
|
8231
|
-
}(),
|
|
8232
|
-
|
|
8233
|
-
},
|
|
8255
|
+
}(), I = (e) => {
|
|
8256
|
+
v.value = v.value.filter((t) => t.file ? t.file !== e.file : t.url ? t.url !== e.url : t.filename ? t.filename !== e.filename : !0);
|
|
8257
|
+
}, R = (e, t) => {
|
|
8234
8258
|
g("update:modelValue", e, t);
|
|
8235
8259
|
};
|
|
8236
8260
|
return t({
|
|
@@ -8238,7 +8262,7 @@ var Hf = ["src"], Uf = {
|
|
|
8238
8262
|
var e, t;
|
|
8239
8263
|
(e = r.value) == null || (t = e.focus) == null || t.call(e);
|
|
8240
8264
|
},
|
|
8241
|
-
triggerSendMessage:
|
|
8265
|
+
triggerSendMessage: x
|
|
8242
8266
|
}), (t, n) => (k(), c("div", {
|
|
8243
8267
|
class: "ai-chat-input-container",
|
|
8244
8268
|
style: w({ "--chat-z-index": z(Et) })
|
|
@@ -8253,28 +8277,28 @@ var Hf = ["src"], Uf = {
|
|
|
8253
8277
|
key: 0,
|
|
8254
8278
|
class: "chat-input-cite",
|
|
8255
8279
|
content: u.value,
|
|
8256
|
-
onClose:
|
|
8280
|
+
onClose: E
|
|
8257
8281
|
}, null, 8, ["content"])) : s("", !0)]),
|
|
8258
|
-
F(t.$slots, "files", C(h({ files:
|
|
8282
|
+
F(t.$slots, "files", C(h({ files: v.value })), () => [v.value.length ? (k(), c("div", {
|
|
8259
8283
|
key: 0,
|
|
8260
8284
|
ref_key: "filesRef",
|
|
8261
8285
|
ref: i,
|
|
8262
8286
|
class: "chat-input-files"
|
|
8263
8287
|
}, [f(np, {
|
|
8264
|
-
files:
|
|
8265
|
-
onDeleteFile:
|
|
8288
|
+
files: v.value,
|
|
8289
|
+
onDeleteFile: I
|
|
8266
8290
|
}, null, 8, ["files"])], 512)) : s("", !0)]),
|
|
8267
|
-
f(
|
|
8291
|
+
f(kp, {
|
|
8268
8292
|
ref_key: "aiSlashInputRef",
|
|
8269
8293
|
ref: r,
|
|
8270
8294
|
"model-value": e.modelValue,
|
|
8271
|
-
placeholder:
|
|
8295
|
+
placeholder: _.value,
|
|
8272
8296
|
prompts: e.prompts,
|
|
8273
8297
|
resources: e.resources,
|
|
8274
8298
|
skills: e.skills,
|
|
8275
|
-
onKeydown:
|
|
8276
|
-
"onUpdate:modelValue":
|
|
8277
|
-
onUpload:
|
|
8299
|
+
onKeydown: S,
|
|
8300
|
+
"onUpdate:modelValue": R,
|
|
8301
|
+
onUpload: P
|
|
8278
8302
|
}, null, 8, [
|
|
8279
8303
|
"model-value",
|
|
8280
8304
|
"placeholder",
|
|
@@ -8282,12 +8306,12 @@ var Hf = ["src"], Uf = {
|
|
|
8282
8306
|
"resources",
|
|
8283
8307
|
"skills"
|
|
8284
8308
|
]),
|
|
8285
|
-
f(
|
|
8286
|
-
"message-state":
|
|
8309
|
+
f(Np, {
|
|
8310
|
+
"message-state": b.value,
|
|
8287
8311
|
"send-disabled-tip": e.sendDisabledTip,
|
|
8288
8312
|
"tippy-options": e.tippyOptions,
|
|
8289
|
-
onSendMessage:
|
|
8290
|
-
onStopSending:
|
|
8313
|
+
onSendMessage: x,
|
|
8314
|
+
onStopSending: T
|
|
8291
8315
|
}, {
|
|
8292
8316
|
default: U(() => {
|
|
8293
8317
|
var n;
|
|
@@ -8295,19 +8319,19 @@ var Hf = ["src"], Uf = {
|
|
|
8295
8319
|
e.supportUpload ? (k(), o(Sf, {
|
|
8296
8320
|
key: 0,
|
|
8297
8321
|
"tippy-options": e.tippyOptions,
|
|
8298
|
-
onUpload:
|
|
8322
|
+
onUpload: P
|
|
8299
8323
|
}, null, 8, ["tippy-options"])) : s("", !0),
|
|
8300
|
-
e.supportUpload && ((n = e.shortcuts) != null && n.length ||
|
|
8301
|
-
F(t.$slots, "attachment", {}, () => [e.shortcuts && !
|
|
8324
|
+
e.supportUpload && ((n = e.shortcuts) != null && n.length || y.value) ? (k(), c("span", Zp)) : s("", !0),
|
|
8325
|
+
F(t.$slots, "attachment", {}, () => [e.shortcuts && !y.value ? (k(), o(_i, {
|
|
8302
8326
|
key: 0,
|
|
8303
8327
|
shortcuts: e.shortcuts,
|
|
8304
|
-
onSelectShortcut:
|
|
8305
|
-
}, null, 8, ["shortcuts"])) : s("", !0),
|
|
8328
|
+
onSelectShortcut: D
|
|
8329
|
+
}, null, 8, ["shortcuts"])) : s("", !0), y.value ? (k(), o(ui, {
|
|
8306
8330
|
key: 1,
|
|
8307
8331
|
class: "selected-shortcut-btn",
|
|
8308
|
-
shortcut:
|
|
8332
|
+
shortcut: y.value
|
|
8309
8333
|
}, {
|
|
8310
|
-
append: U(() => [f(z(Lr), { onClick:
|
|
8334
|
+
append: U(() => [f(z(Lr), { onClick: O })]),
|
|
8311
8335
|
_: 1
|
|
8312
8336
|
}, 8, ["shortcut"])) : s("", !0)])
|
|
8313
8337
|
];
|
|
@@ -8317,14 +8341,14 @@ var Hf = ["src"], Uf = {
|
|
|
8317
8341
|
selectedModel: d.value
|
|
8318
8342
|
})), () => {
|
|
8319
8343
|
var t;
|
|
8320
|
-
return [(t = e.models) != null && t.length ? (k(), o(z(
|
|
8344
|
+
return [(t = e.models) != null && t.length ? (k(), o(z(Xp), {
|
|
8321
8345
|
key: 0,
|
|
8322
8346
|
modelValue: d.value,
|
|
8323
8347
|
"onUpdate:modelValue": n[0] || (n[0] = (e) => d.value = e),
|
|
8324
8348
|
class: "chat-input-model-selector",
|
|
8325
8349
|
models: e.models,
|
|
8326
8350
|
"tippy-options": e.tippyOptions,
|
|
8327
|
-
onChange:
|
|
8351
|
+
onChange: A
|
|
8328
8352
|
}, null, 8, [
|
|
8329
8353
|
"modelValue",
|
|
8330
8354
|
"models",
|
|
@@ -8341,13 +8365,13 @@ var Hf = ["src"], Uf = {
|
|
|
8341
8365
|
], 4)
|
|
8342
8366
|
], 4));
|
|
8343
8367
|
}
|
|
8344
|
-
}),
|
|
8368
|
+
}), $p = { class: "ai-chat-input-info-alert" }, em = { class: "ai-chat-input-info-alert__text" }, tm = /* @__PURE__ */ m({
|
|
8345
8369
|
__name: "input-info-alert",
|
|
8346
8370
|
props: { content: {} },
|
|
8347
8371
|
setup(e) {
|
|
8348
|
-
return (t, n) => (k(), c("div",
|
|
8372
|
+
return (t, n) => (k(), c("div", $p, [f(z(Tr), { class: "ai-chat-input-info-alert__icon" }), l("span", em, R(e.content), 1)]));
|
|
8349
8373
|
}
|
|
8350
|
-
}),
|
|
8374
|
+
}), nm = ["innerHTML"], rm = /* @__PURE__ */ m(X(X({}, { name: "FileIcon" }), {}, {
|
|
8351
8375
|
__name: "file-icon",
|
|
8352
8376
|
props: {
|
|
8353
8377
|
fileName: {},
|
|
@@ -8358,9 +8382,9 @@ var Hf = ["src"], Uf = {
|
|
|
8358
8382
|
return (e, t) => (k(), c("span", {
|
|
8359
8383
|
class: "ai-file-icon",
|
|
8360
8384
|
innerHTML: n.value
|
|
8361
|
-
}, null, 8,
|
|
8385
|
+
}, null, 8, nm));
|
|
8362
8386
|
}
|
|
8363
|
-
})),
|
|
8387
|
+
})), im = { class: "ai-artifact-file-card-info" }, am = { class: "ai-artifact-file-card-name" }, om = /* @__PURE__ */ m({
|
|
8364
8388
|
__name: "artifact-file-card",
|
|
8365
8389
|
props: {
|
|
8366
8390
|
active: { type: Boolean },
|
|
@@ -8409,11 +8433,11 @@ var Hf = ["src"], Uf = {
|
|
|
8409
8433
|
"is-list": e.variant === "list"
|
|
8410
8434
|
}]),
|
|
8411
8435
|
onClick: _
|
|
8412
|
-
}, [l("div",
|
|
8436
|
+
}, [l("div", im, [f(rm, {
|
|
8413
8437
|
class: "ai-artifact-file-card-icon",
|
|
8414
8438
|
"file-name": e.file.name,
|
|
8415
8439
|
"file-type": e.file.type
|
|
8416
|
-
}, null, 8, ["file-name", "file-type"]), W((k(), c("span",
|
|
8440
|
+
}, null, 8, ["file-name", "file-type"]), W((k(), c("span", am, [d(R(e.file.name), 1)])), [[z(Sa), X(X({}, z(r)), {}, {
|
|
8417
8441
|
text: e.file.name,
|
|
8418
8442
|
placement: "top"
|
|
8419
8443
|
})]])]), p.value ? W((k(), c("div", {
|
|
@@ -8427,14 +8451,14 @@ var Hf = ["src"], Uf = {
|
|
|
8427
8451
|
theme: "primary"
|
|
8428
8452
|
})) : (k(), o(I(m.value), { key: 1 }))], 2)), [[z(Se), g.value]]) : s("", !0)], 2));
|
|
8429
8453
|
}
|
|
8430
|
-
}),
|
|
8454
|
+
}), sm = ["class", "style"], cm = { class: "ai-message-loading-row" }, lm = { class: "ai-message-loading-icon-wrap" }, um = {
|
|
8431
8455
|
key: 0,
|
|
8432
8456
|
class: "ai-message-loading-text ai-message-loading-text-custom"
|
|
8433
|
-
},
|
|
8457
|
+
}, dm = {
|
|
8434
8458
|
key: 1,
|
|
8435
8459
|
"aria-live": "polite",
|
|
8436
8460
|
class: "ai-message-loading-text"
|
|
8437
|
-
},
|
|
8461
|
+
}, fm = /* @__PURE__ */ m(X(X({}, {
|
|
8438
8462
|
name: "MessageLoading",
|
|
8439
8463
|
inheritAttrs: !1
|
|
8440
8464
|
}), {}, {
|
|
@@ -8449,7 +8473,7 @@ var Hf = ["src"], Uf = {
|
|
|
8449
8473
|
setup(t) {
|
|
8450
8474
|
let n = t, r = ne(), i = a(() => {
|
|
8451
8475
|
let { class: e, style: t } = r;
|
|
8452
|
-
return yi(r,
|
|
8476
|
+
return yi(r, sm);
|
|
8453
8477
|
}), o = a(() => ({
|
|
8454
8478
|
display: "block",
|
|
8455
8479
|
width: `${n.iconSize}px`,
|
|
@@ -8465,16 +8489,16 @@ var Hf = ["src"], Uf = {
|
|
|
8465
8489
|
return (t, n) => (k(), c("div", b({
|
|
8466
8490
|
class: ["ai-message-loading", z(r).class],
|
|
8467
8491
|
style: u.value
|
|
8468
|
-
}, i.value), [l("div",
|
|
8492
|
+
}, i.value), [l("div", cm, [l("span", lm, [F(t.$slots, "icon", {}, () => [f(z(qt), {
|
|
8469
8493
|
class: "ai-message-loading-icon-svg",
|
|
8470
8494
|
style: w(o.value)
|
|
8471
|
-
}, null, 8, ["style"])])]), t.$slots.text ? (k(), c("span",
|
|
8495
|
+
}, null, 8, ["style"])])]), t.$slots.text ? (k(), c("span", um, [F(t.$slots, "text")])) : (k(), c("span", dm, [(k(!0), c(e, null, P(s.value, (e, t) => (k(), c("span", {
|
|
8472
8496
|
key: `${t}-${e}`,
|
|
8473
8497
|
class: "ai-message-loading-char",
|
|
8474
8498
|
style: w({ "--char-index": t })
|
|
8475
8499
|
}, R(e), 5))), 128))]))])], 16));
|
|
8476
8500
|
}
|
|
8477
|
-
})),
|
|
8501
|
+
})), pm = { class: "ai-artifact-code-preview" }, mm = ["innerHTML"], hm = 3e5, gm = /* @__PURE__ */ m({
|
|
8478
8502
|
__name: "code-preview",
|
|
8479
8503
|
props: {
|
|
8480
8504
|
content: {},
|
|
@@ -8497,7 +8521,7 @@ var Hf = ["src"], Uf = {
|
|
|
8497
8521
|
let { content: e } = n;
|
|
8498
8522
|
if (!e) return "";
|
|
8499
8523
|
let t = i(n.extension);
|
|
8500
|
-
if (t === "plaintext" || e.length >
|
|
8524
|
+
if (t === "plaintext" || e.length > hm) return r(e);
|
|
8501
8525
|
try {
|
|
8502
8526
|
return Me.highlight(e, {
|
|
8503
8527
|
language: t,
|
|
@@ -8507,57 +8531,57 @@ var Hf = ["src"], Uf = {
|
|
|
8507
8531
|
return r(e);
|
|
8508
8532
|
}
|
|
8509
8533
|
});
|
|
8510
|
-
return (e, t) => (k(), c("pre",
|
|
8534
|
+
return (e, t) => (k(), c("pre", pm, [l("code", {
|
|
8511
8535
|
class: "hljs",
|
|
8512
8536
|
innerHTML: o.value
|
|
8513
|
-
}, null, 8,
|
|
8537
|
+
}, null, 8, mm)]));
|
|
8514
8538
|
}
|
|
8515
|
-
}),
|
|
8539
|
+
}), _m = ["srcdoc"], vm = /* @__PURE__ */ m({
|
|
8516
8540
|
__name: "html-preview",
|
|
8517
8541
|
props: { content: {} },
|
|
8518
8542
|
setup(e) {
|
|
8519
8543
|
return (t, n) => (k(), c("iframe", {
|
|
8520
8544
|
class: "ai-artifact-html-preview",
|
|
8521
8545
|
srcdoc: e.content
|
|
8522
|
-
}, null, 8,
|
|
8546
|
+
}, null, 8, _m));
|
|
8523
8547
|
}
|
|
8524
|
-
}),
|
|
8548
|
+
}), ym = { class: "ai-artifact-image-preview" }, bm = ["alt", "src"], xm = /* @__PURE__ */ m({
|
|
8525
8549
|
__name: "image-preview",
|
|
8526
8550
|
props: {
|
|
8527
8551
|
name: {},
|
|
8528
8552
|
url: {}
|
|
8529
8553
|
},
|
|
8530
8554
|
setup(e) {
|
|
8531
|
-
return (t, n) => (k(), c("div",
|
|
8555
|
+
return (t, n) => (k(), c("div", ym, [l("img", {
|
|
8532
8556
|
alt: e.name,
|
|
8533
8557
|
src: e.url
|
|
8534
|
-
}, null, 8,
|
|
8558
|
+
}, null, 8, bm)]));
|
|
8535
8559
|
}
|
|
8536
|
-
}),
|
|
8560
|
+
}), Sm = { class: "ai-artifact-markdown-preview" }, Cm = /* @__PURE__ */ m({
|
|
8537
8561
|
__name: "markdown-preview",
|
|
8538
8562
|
props: { content: {} },
|
|
8539
8563
|
setup(e) {
|
|
8540
|
-
return (t, n) => (k(), c("div",
|
|
8564
|
+
return (t, n) => (k(), c("div", Sm, [f(Iu, {
|
|
8541
8565
|
content: e.content,
|
|
8542
8566
|
status: z(J).Success
|
|
8543
8567
|
}, null, 8, ["content", "status"])]));
|
|
8544
8568
|
}
|
|
8545
|
-
}),
|
|
8569
|
+
}), wm = { class: "ai-artifact-txt-preview" }, Tm = /* @__PURE__ */ m({
|
|
8546
8570
|
__name: "txt-preview",
|
|
8547
8571
|
props: { content: {} },
|
|
8548
8572
|
setup(e) {
|
|
8549
|
-
return (t, n) => (k(), c("pre",
|
|
8573
|
+
return (t, n) => (k(), c("pre", wm, R(e.content), 1));
|
|
8550
8574
|
}
|
|
8551
|
-
}),
|
|
8575
|
+
}), Em = ["src"], Dm = /* @__PURE__ */ m({
|
|
8552
8576
|
__name: "url-iframe-preview",
|
|
8553
8577
|
props: { url: {} },
|
|
8554
8578
|
setup(e) {
|
|
8555
8579
|
return (t, n) => (k(), c("iframe", {
|
|
8556
8580
|
class: "ai-artifact-url-iframe-preview",
|
|
8557
8581
|
src: e.url
|
|
8558
|
-
}, null, 8,
|
|
8582
|
+
}, null, 8, Em));
|
|
8559
8583
|
}
|
|
8560
|
-
}),
|
|
8584
|
+
}), Om = {
|
|
8561
8585
|
binary: {
|
|
8562
8586
|
load: "preview_url",
|
|
8563
8587
|
renderer: "urlIframe"
|
|
@@ -8582,7 +8606,7 @@ var Hf = ["src"], Uf = {
|
|
|
8582
8606
|
load: "text_from_download",
|
|
8583
8607
|
renderer: "txt"
|
|
8584
8608
|
}
|
|
8585
|
-
},
|
|
8609
|
+
}, km = (e, t) => Om[We(e, t)], Am = (e) => {
|
|
8586
8610
|
let t = L("idle"), n = L(""), r = L(""), i = L(""), a = L("urlIframe"), o, s = 0, c = () => {
|
|
8587
8611
|
n.value = "", r.value = "", i.value = "";
|
|
8588
8612
|
}, l = function() {
|
|
@@ -8595,7 +8619,7 @@ var Hf = ["src"], Uf = {
|
|
|
8595
8619
|
return;
|
|
8596
8620
|
}
|
|
8597
8621
|
t.value = "loading", c();
|
|
8598
|
-
let d =
|
|
8622
|
+
let d = km(u.type, u.name);
|
|
8599
8623
|
a.value = d.renderer;
|
|
8600
8624
|
try {
|
|
8601
8625
|
let a = yield e.resolveUrls(u);
|
|
@@ -8647,20 +8671,20 @@ var Hf = ["src"], Uf = {
|
|
|
8647
8671
|
renderer: a,
|
|
8648
8672
|
status: t
|
|
8649
8673
|
};
|
|
8650
|
-
},
|
|
8674
|
+
}, jm = { class: "ai-artifact-preview-host" }, Mm = {
|
|
8651
8675
|
key: 0,
|
|
8652
8676
|
class: "ai-artifact-preview-host-loading"
|
|
8653
|
-
},
|
|
8677
|
+
}, Nm = {
|
|
8654
8678
|
key: 1,
|
|
8655
8679
|
class: "ai-artifact-preview-host-error"
|
|
8656
|
-
},
|
|
8680
|
+
}, Pm = {
|
|
8657
8681
|
key: 2,
|
|
8658
8682
|
class: "ai-artifact-preview-host-empty"
|
|
8659
|
-
},
|
|
8683
|
+
}, Fm = /* @__PURE__ */ m({
|
|
8660
8684
|
__name: "artifact-preview-host",
|
|
8661
8685
|
props: { file: {} },
|
|
8662
8686
|
setup(e, { expose: t }) {
|
|
8663
|
-
let n = e, r = Pi(), { content: i, downloadUrl: s, load: u, previewUrl: p, renderer: m, status: h } =
|
|
8687
|
+
let n = e, r = Pi(), { content: i, downloadUrl: s, load: u, previewUrl: p, renderer: m, status: h } = Am({
|
|
8664
8688
|
canResolve: () => !!(r != null && r.canResolveArtifactUrl.value),
|
|
8665
8689
|
getFile: () => n.file,
|
|
8666
8690
|
resolveUrls: (e) => {
|
|
@@ -8679,7 +8703,7 @@ var Hf = ["src"], Uf = {
|
|
|
8679
8703
|
status: h
|
|
8680
8704
|
}), (t, n) => {
|
|
8681
8705
|
var r;
|
|
8682
|
-
return k(), c("div",
|
|
8706
|
+
return k(), c("div", jm, [z(h) === "loading" ? (k(), c("div", Mm, [f(fm)])) : z(h) === "error" ? (k(), c("div", Nm, [l("span", null, R(z(G)("预览加载失败")), 1), f(z(le), {
|
|
8683
8707
|
size: "small",
|
|
8684
8708
|
text: "",
|
|
8685
8709
|
theme: "primary",
|
|
@@ -8687,42 +8711,42 @@ var Hf = ["src"], Uf = {
|
|
|
8687
8711
|
}, {
|
|
8688
8712
|
default: U(() => [d(R(z(G)("重试")), 1)]),
|
|
8689
8713
|
_: 1
|
|
8690
|
-
})])) : z(h) === "empty" || !e.file ? (k(), c("div",
|
|
8714
|
+
})])) : z(h) === "empty" || !e.file ? (k(), c("div", Pm, R(z(G)("暂无可预览的文件")), 1)) : z(m) === "html" ? (k(), o(vm, {
|
|
8691
8715
|
key: 3,
|
|
8692
8716
|
content: z(i)
|
|
8693
|
-
}, null, 8, ["content"])) : z(m) === "code" ? (k(), o(
|
|
8717
|
+
}, null, 8, ["content"])) : z(m) === "code" ? (k(), o(gm, {
|
|
8694
8718
|
key: 4,
|
|
8695
8719
|
content: z(i),
|
|
8696
8720
|
extension: g.value
|
|
8697
|
-
}, null, 8, ["content", "extension"])) : z(m) === "txt" ? (k(), o(
|
|
8721
|
+
}, null, 8, ["content", "extension"])) : z(m) === "txt" ? (k(), o(Tm, {
|
|
8698
8722
|
key: 5,
|
|
8699
8723
|
content: z(i)
|
|
8700
|
-
}, null, 8, ["content"])) : z(m) === "markdown" ? (k(), o(
|
|
8724
|
+
}, null, 8, ["content"])) : z(m) === "markdown" ? (k(), o(Cm, {
|
|
8701
8725
|
key: 6,
|
|
8702
8726
|
content: z(i)
|
|
8703
|
-
}, null, 8, ["content"])) : z(m) === "image" ? (k(), o(
|
|
8727
|
+
}, null, 8, ["content"])) : z(m) === "image" ? (k(), o(xm, {
|
|
8704
8728
|
key: 7,
|
|
8705
8729
|
name: (r = e.file) == null ? void 0 : r.name,
|
|
8706
8730
|
url: z(s)
|
|
8707
|
-
}, null, 8, ["name", "url"])) : (k(), o(
|
|
8731
|
+
}, null, 8, ["name", "url"])) : (k(), o(Dm, {
|
|
8708
8732
|
key: 8,
|
|
8709
8733
|
url: z(p)
|
|
8710
8734
|
}, null, 8, ["url"]))]);
|
|
8711
8735
|
};
|
|
8712
8736
|
}
|
|
8713
|
-
}),
|
|
8737
|
+
}), Im = {
|
|
8714
8738
|
key: 0,
|
|
8715
8739
|
class: "ai-file-artifact-panel is-empty"
|
|
8716
|
-
},
|
|
8740
|
+
}, Lm = { class: "ai-file-artifact-panel-empty-text" }, Rm = {
|
|
8717
8741
|
key: 1,
|
|
8718
8742
|
class: "ai-file-artifact-panel"
|
|
8719
|
-
},
|
|
8743
|
+
}, zm = { class: "ai-file-artifact-panel-list" }, Bm = { class: "ai-file-artifact-panel-list-title" }, Vm = { class: "ai-file-artifact-panel-list-scroll" }, Hm = {
|
|
8720
8744
|
key: 1,
|
|
8721
8745
|
class: "ai-file-artifact-panel-list-empty"
|
|
8722
|
-
},
|
|
8746
|
+
}, Um = { class: "ai-file-artifact-panel-preview" }, Wm = {
|
|
8723
8747
|
key: 0,
|
|
8724
8748
|
class: "ai-file-artifact-panel-preview-header"
|
|
8725
|
-
},
|
|
8749
|
+
}, Gm = { class: "ai-file-artifact-panel-preview-header-info" }, Km = { class: "ai-file-artifact-panel-preview-header-name" }, qm = { class: "ai-file-artifact-panel-preview-header-actions" }, Jm = { class: "ai-file-artifact-panel-preview-body" }, Ym = /* @__PURE__ */ m({
|
|
8726
8750
|
__name: "file-artifact-panel",
|
|
8727
8751
|
props: {
|
|
8728
8752
|
activeId: {},
|
|
@@ -8780,8 +8804,8 @@ var Hf = ["src"], Uf = {
|
|
|
8780
8804
|
return (e = D.value) == null ? void 0 : e.outputId;
|
|
8781
8805
|
}, () => {
|
|
8782
8806
|
C.value = !1;
|
|
8783
|
-
}), (n, r) => t.artifacts.length ? (k(), c("div",
|
|
8784
|
-
l("p",
|
|
8807
|
+
}), (n, r) => t.artifacts.length ? (k(), c("div", Rm, [l("div", zm, [
|
|
8808
|
+
l("p", Bm, R(z(G)("文件列表")) + "(" + R(t.artifacts.length) + ")", 1),
|
|
8785
8809
|
f(z(pe), {
|
|
8786
8810
|
modelValue: x.value,
|
|
8787
8811
|
"onUpdate:modelValue": r[0] || (r[0] = (e) => x.value = e),
|
|
@@ -8789,7 +8813,7 @@ var Hf = ["src"], Uf = {
|
|
|
8789
8813
|
clearable: "",
|
|
8790
8814
|
placeholder: z(G)("搜索文件关键字")
|
|
8791
8815
|
}, null, 8, ["modelValue", "placeholder"]),
|
|
8792
|
-
l("div",
|
|
8816
|
+
l("div", Vm, [E.value.length ? (k(!0), c(e, { key: 0 }, P(E.value, (e) => (k(), o(om, {
|
|
8793
8817
|
key: e.outputId,
|
|
8794
8818
|
active: e.outputId === t.activeId,
|
|
8795
8819
|
file: e,
|
|
@@ -8799,15 +8823,15 @@ var Hf = ["src"], Uf = {
|
|
|
8799
8823
|
"active",
|
|
8800
8824
|
"file",
|
|
8801
8825
|
"on-preview"
|
|
8802
|
-
]))), 128)) : (k(), c("div",
|
|
8803
|
-
]), l("div",
|
|
8826
|
+
]))), 128)) : (k(), c("div", Hm, R(z(G)("搜索结果为空")), 1))])
|
|
8827
|
+
]), l("div", Um, [D.value ? (k(), c("div", Wm, [l("div", Gm, [f(rm, {
|
|
8804
8828
|
class: "ai-file-artifact-panel-preview-header-icon",
|
|
8805
8829
|
"file-name": D.value.name,
|
|
8806
8830
|
"file-type": D.value.type
|
|
8807
|
-
}, null, 8, ["file-name", "file-type"]), W((k(), c("span",
|
|
8831
|
+
}, null, 8, ["file-name", "file-type"]), W((k(), c("span", Km, [d(R(D.value.name), 1)])), [[z(Sa), X(X({}, z(_)), {}, {
|
|
8808
8832
|
text: D.value.name,
|
|
8809
8833
|
placement: "top"
|
|
8810
|
-
})]])]), l("div",
|
|
8834
|
+
})]])]), l("div", qm, [O.value ? W((k(), c("span", {
|
|
8811
8835
|
key: 0,
|
|
8812
8836
|
class: S(["ai-file-artifact-panel-preview-header-action", { "is-disabled": !A.value }]),
|
|
8813
8837
|
onClick: M
|
|
@@ -8820,17 +8844,17 @@ var Hf = ["src"], Uf = {
|
|
|
8820
8844
|
mode: "spin",
|
|
8821
8845
|
size: "mini",
|
|
8822
8846
|
theme: "primary"
|
|
8823
|
-
})) : (k(), o(I(y()), { key: 1 }))], 2)), [[z(Se), T.value]]) : s("", !0)])])) : s("", !0), l("div",
|
|
8847
|
+
})) : (k(), o(I(y()), { key: 1 }))], 2)), [[z(Se), T.value]]) : s("", !0)])])) : s("", !0), l("div", Jm, [f(Fm, {
|
|
8824
8848
|
ref_key: "previewHostRef",
|
|
8825
8849
|
ref: v,
|
|
8826
8850
|
file: D.value
|
|
8827
|
-
}, null, 8, ["file"])])])])) : (k(), c("div",
|
|
8851
|
+
}, null, 8, ["file"])])])])) : (k(), c("div", Im, [f(z(de), {
|
|
8828
8852
|
class: "ai-file-artifact-panel-empty-exception",
|
|
8829
8853
|
scene: "part",
|
|
8830
8854
|
type: "empty"
|
|
8831
|
-
}), l("div",
|
|
8855
|
+
}), l("div", Lm, R(z(G)("暂无数据")), 1)]));
|
|
8832
8856
|
}
|
|
8833
|
-
}),
|
|
8857
|
+
}), Xm = "others", Zm = (e) => e < 26 ? String.fromCharCode(65 + e) : String(e + 1), Qm = (e) => {
|
|
8834
8858
|
let t = a(() => {
|
|
8835
8859
|
var t, n;
|
|
8836
8860
|
return (t = (n = e()) == null || (n = n.metadata) == null ? void 0 : n.questions) == null ? [] : t;
|
|
@@ -8872,9 +8896,9 @@ var Hf = ["src"], Uf = {
|
|
|
8872
8896
|
payload: { answers: h() }
|
|
8873
8897
|
};
|
|
8874
8898
|
},
|
|
8875
|
-
buildSkipPayload: () =>
|
|
8899
|
+
buildSkipPayload: () => $m(e())
|
|
8876
8900
|
};
|
|
8877
|
-
},
|
|
8901
|
+
}, $m = (e) => {
|
|
8878
8902
|
var t;
|
|
8879
8903
|
return {
|
|
8880
8904
|
interruptId: (t = e == null ? void 0 : e.id) == null ? "" : t,
|
|
@@ -8882,10 +8906,10 @@ var Hf = ["src"], Uf = {
|
|
|
8882
8906
|
status: "cancelled",
|
|
8883
8907
|
payload: { answers: [] }
|
|
8884
8908
|
};
|
|
8885
|
-
},
|
|
8909
|
+
}, eh = { class: "ai-user-question-answered" }, th = { class: "ai-user-question-answered__header" }, nh = { class: "ai-user-question-answered__title-wrap" }, rh = { class: "ai-user-question-answered__title" }, ih = { class: "ai-user-question-answered__status" }, ah = { class: "ai-user-question-answered__body" }, oh = { class: "ai-user-question-answered__question" }, sh = { class: "ai-user-question-answered__question-text" }, ch = {
|
|
8886
8910
|
key: 0,
|
|
8887
8911
|
class: "ai-user-question-answered__tag"
|
|
8888
|
-
},
|
|
8912
|
+
}, lh = /* @__PURE__ */ m({
|
|
8889
8913
|
__name: "user-question-answered-card",
|
|
8890
8914
|
props: {
|
|
8891
8915
|
answers: {},
|
|
@@ -8893,10 +8917,10 @@ var Hf = ["src"], Uf = {
|
|
|
8893
8917
|
},
|
|
8894
8918
|
setup(t) {
|
|
8895
8919
|
let n = t, r = a(() => n.status === "cancelled" ? G("已取消") : G("已回复"));
|
|
8896
|
-
return (n, i) => (k(), c("section",
|
|
8920
|
+
return (n, i) => (k(), c("section", eh, [l("header", th, [l("div", nh, [f(z(wr), { class: "ai-user-question-answered__help-icon" }), l("span", rh, R(z(G)("回答内容")), 1)]), l("span", ih, R(r.value), 1)]), l("div", ah, [(k(!0), c(e, null, P(t.answers, (r, i) => (k(), c("div", {
|
|
8897
8921
|
key: i,
|
|
8898
8922
|
class: "ai-user-question-answered__item"
|
|
8899
|
-
}, [l("div",
|
|
8923
|
+
}, [l("div", oh, [l("span", sh, R(i + 1) + ". " + R(r.question), 1), r.multiSelect === void 0 ? s("", !0) : (k(), c("span", ch, R(r.multiSelect ? z(G)("多选") : z(G)("单选")), 1))]), F(n.$slots, "answer", b({ ref_for: !0 }, {
|
|
8900
8924
|
item: r,
|
|
8901
8925
|
index: i,
|
|
8902
8926
|
status: t.status
|
|
@@ -8905,10 +8929,10 @@ var Hf = ["src"], Uf = {
|
|
|
8905
8929
|
class: "ai-user-question-answered__answer"
|
|
8906
8930
|
}, R(e.description || e.label), 1))), 128))])]))), 128))])]));
|
|
8907
8931
|
}
|
|
8908
|
-
}),
|
|
8932
|
+
}), uh = { class: "ai-user-question-option__badge" }, dh = ["placeholder", "value"], fh = {
|
|
8909
8933
|
key: 1,
|
|
8910
8934
|
class: "ai-user-question-option__text"
|
|
8911
|
-
},
|
|
8935
|
+
}, ph = /* @__PURE__ */ m({
|
|
8912
8936
|
__name: "user-question-option",
|
|
8913
8937
|
props: {
|
|
8914
8938
|
option: {},
|
|
@@ -8935,7 +8959,7 @@ var Hf = ["src"], Uf = {
|
|
|
8935
8959
|
"ai-user-question-option--others": e.option.isOthers
|
|
8936
8960
|
}]),
|
|
8937
8961
|
onClick: i
|
|
8938
|
-
}, [l("span",
|
|
8962
|
+
}, [l("span", uh, R(e.option.letter), 1), e.option.isOthers ? (k(), c("input", {
|
|
8939
8963
|
key: 0,
|
|
8940
8964
|
class: "ai-user-question-option__input",
|
|
8941
8965
|
placeholder: z(G)("请输入..."),
|
|
@@ -8944,24 +8968,24 @@ var Hf = ["src"], Uf = {
|
|
|
8944
8968
|
onFocus: a,
|
|
8945
8969
|
onInput: o,
|
|
8946
8970
|
onKeydown: n[1] || (n[1] = se(ce((e) => r("confirm"), ["stop"]), ["enter"]))
|
|
8947
|
-
}, null, 40,
|
|
8971
|
+
}, null, 40, dh)) : (k(), c("span", fh, R(e.option.description), 1))], 2));
|
|
8948
8972
|
}
|
|
8949
|
-
}),
|
|
8973
|
+
}), mh = { class: "ai-user-question-choice" }, hh = /* @__PURE__ */ m({
|
|
8950
8974
|
__name: "user-question-choice",
|
|
8951
8975
|
props: { question: {} },
|
|
8952
8976
|
emits: ["answer", "confirm"],
|
|
8953
8977
|
setup(t, { emit: n }) {
|
|
8954
8978
|
let r = t, i = n, s = L([]), l = L(""), u = a(() => {
|
|
8955
8979
|
var e;
|
|
8956
|
-
let t = ((e = r.question.options) == null ? [] : e).filter((e) => e.label !==
|
|
8980
|
+
let t = ((e = r.question.options) == null ? [] : e).filter((e) => e.label !== Xm).map((e, t) => X(X({}, e), {}, {
|
|
8957
8981
|
isOthers: !1,
|
|
8958
|
-
letter:
|
|
8982
|
+
letter: Zm(t)
|
|
8959
8983
|
}));
|
|
8960
8984
|
return t.push({
|
|
8961
|
-
label:
|
|
8985
|
+
label: Xm,
|
|
8962
8986
|
description: "",
|
|
8963
8987
|
isOthers: !0,
|
|
8964
|
-
letter:
|
|
8988
|
+
letter: Zm(t.length)
|
|
8965
8989
|
}), t;
|
|
8966
8990
|
}), d = a(() => u.value.findIndex((e) => e.isOthers)), f = (e) => s.value.includes(e), p = a(() => s.value.length ? d.value >= 0 && s.value.includes(d.value) ? l.value.trim().length > 0 : !0 : !1), m = () => ({
|
|
8967
8991
|
question: r.question.question,
|
|
@@ -8970,7 +8994,7 @@ var Hf = ["src"], Uf = {
|
|
|
8970
8994
|
var t, n;
|
|
8971
8995
|
let r = u.value[e];
|
|
8972
8996
|
return r != null && r.isOthers ? {
|
|
8973
|
-
label:
|
|
8997
|
+
label: Xm,
|
|
8974
8998
|
description: l.value.trim()
|
|
8975
8999
|
} : {
|
|
8976
9000
|
label: (t = r == null ? void 0 : r.label) == null ? "" : t,
|
|
@@ -8985,7 +9009,7 @@ var Hf = ["src"], Uf = {
|
|
|
8985
9009
|
};
|
|
8986
9010
|
return V(() => r.question, () => {
|
|
8987
9011
|
s.value = [], l.value = "", h();
|
|
8988
|
-
}), (t, n) => (k(), c("div",
|
|
9012
|
+
}), (t, n) => (k(), c("div", mh, [(k(!0), c(e, null, P(u.value, (e, t) => (k(), o(ph, {
|
|
8989
9013
|
key: t,
|
|
8990
9014
|
option: e,
|
|
8991
9015
|
"others-text": l.value,
|
|
@@ -9000,17 +9024,17 @@ var Hf = ["src"], Uf = {
|
|
|
9000
9024
|
"onSelect"
|
|
9001
9025
|
]))), 128))]));
|
|
9002
9026
|
}
|
|
9003
|
-
}),
|
|
9027
|
+
}), gh = { class: "ai-user-question-card__title-wrap" }, _h = { class: "ai-user-question-card__title" }, vh = { class: "ai-user-question-card__header-actions" }, yh = { class: "ai-user-question-card__pager" }, bh = ["disabled"], xh = { class: "ai-user-question-card__pager-text" }, Sh = ["disabled"], Ch = { class: "ai-user-question-card__body" }, wh = { class: "ai-user-question-card__question-title" }, Th = { class: "ai-user-question-card__question-text" }, Eh = {
|
|
9004
9028
|
key: 0,
|
|
9005
9029
|
class: "ai-user-question-card__tag"
|
|
9006
|
-
},
|
|
9030
|
+
}, Dh = { class: "ai-user-question-card__options" }, Oh = { class: "ai-user-question-card__footer" }, kh = { class: "ai-user-question-card__progress" }, Ah = { class: "ai-user-question-card__progress-num" }, jh = { class: "ai-user-question-card__actions" }, Mh = /* @__PURE__ */ m({
|
|
9007
9031
|
__name: "user-question-card",
|
|
9008
9032
|
props: {
|
|
9009
9033
|
interrupt: {},
|
|
9010
9034
|
onResume: { type: Function }
|
|
9011
9035
|
},
|
|
9012
9036
|
setup(t) {
|
|
9013
|
-
let n = t, r = ya(), i = L(!1), { questions: u, answeredCount: p, totalCount: m, completed: h, currentIndex: g, canGoPrev: _, canGoNext: v, goPrev: y, goNext: x, getAnswer: C, setAnswer: T, buildResolvePayload: E, buildSkipPayload: D } =
|
|
9037
|
+
let n = t, r = ya(), i = L(!1), { questions: u, answeredCount: p, totalCount: m, completed: h, currentIndex: g, canGoPrev: _, canGoNext: v, goPrev: y, goNext: x, getAnswer: C, setAnswer: T, buildResolvePayload: E, buildSkipPayload: D } = Qm(() => n.interrupt), O = a(() => {
|
|
9014
9038
|
var e;
|
|
9015
9039
|
return ((e = n.interrupt.metadata) == null || (e = e.questions) == null || (e = e[0]) == null ? void 0 : e.header) || n.interrupt.message || "";
|
|
9016
9040
|
}), A = () => {
|
|
@@ -9028,21 +9052,21 @@ var Hf = ["src"], Uf = {
|
|
|
9028
9052
|
l("header", {
|
|
9029
9053
|
class: "ai-user-question-card__header",
|
|
9030
9054
|
onClick: j
|
|
9031
|
-
}, [l("div",
|
|
9032
|
-
l("div",
|
|
9055
|
+
}, [l("div", gh, [f(z(wr), { class: "ai-user-question-card__help-icon" }), W((k(), c("span", _h, [d(R(O.value), 1)])), [[z(Sa), X({}, z(r))]])]), l("div", vh, [
|
|
9056
|
+
l("div", yh, [
|
|
9033
9057
|
l("button", {
|
|
9034
9058
|
class: S(["ai-user-question-card__nav-btn", { "is-disabled": !z(_) }]),
|
|
9035
9059
|
disabled: !z(_),
|
|
9036
9060
|
type: "button",
|
|
9037
9061
|
onClick: n[0] || (n[0] = ce((...e) => z(y) && z(y)(...e), ["stop"]))
|
|
9038
|
-
}, [f(z(ur), { class: "ai-user-question-card__nav-icon" })], 10,
|
|
9039
|
-
l("span",
|
|
9062
|
+
}, [f(z(ur), { class: "ai-user-question-card__nav-icon" })], 10, bh),
|
|
9063
|
+
l("span", xh, R(z(g) + 1) + " / " + R(z(m)), 1),
|
|
9040
9064
|
l("button", {
|
|
9041
9065
|
class: S(["ai-user-question-card__nav-btn", { "is-disabled": !z(v) }]),
|
|
9042
9066
|
disabled: !z(v),
|
|
9043
9067
|
type: "button",
|
|
9044
9068
|
onClick: n[1] || (n[1] = ce((...e) => z(x) && z(x)(...e), ["stop"]))
|
|
9045
|
-
}, [f(z(dr), { class: "ai-user-question-card__nav-icon" })], 10,
|
|
9069
|
+
}, [f(z(dr), { class: "ai-user-question-card__nav-icon" })], 10, Sh)
|
|
9046
9070
|
]),
|
|
9047
9071
|
n[2] || (n[2] = l("span", { class: "ai-user-question-card__divider" }, null, -1)),
|
|
9048
9072
|
l("button", {
|
|
@@ -9054,25 +9078,25 @@ var Hf = ["src"], Uf = {
|
|
|
9054
9078
|
style: w({ transform: i.value ? "rotate(180deg)" : "rotate(-90deg)" })
|
|
9055
9079
|
}, null, 8, ["style"])])
|
|
9056
9080
|
])]),
|
|
9057
|
-
W(l("div",
|
|
9081
|
+
W(l("div", Ch, [(k(!0), c(e, null, P(z(u), (e, n) => W((k(), c("div", {
|
|
9058
9082
|
key: n,
|
|
9059
9083
|
class: "ai-user-question-card__question"
|
|
9060
|
-
}, [l("div",
|
|
9084
|
+
}, [l("div", wh, [l("span", Th, R(n + 1) + ". " + R(e.question), 1), e.multiSelect === void 0 ? s("", !0) : (k(), c("span", Eh, R(e.multiSelect ? z(G)("多选") : z(G)("单选")), 1))]), l("div", Dh, [F(t.$slots, "question", b({ ref_for: !0 }, {
|
|
9061
9085
|
question: e,
|
|
9062
9086
|
qIndex: n,
|
|
9063
9087
|
answer: z(C)(n),
|
|
9064
9088
|
setAnswer: (e) => z(T)(n, e),
|
|
9065
9089
|
confirm: N
|
|
9066
|
-
}), () => [f(
|
|
9090
|
+
}), () => [f(hh, {
|
|
9067
9091
|
question: e,
|
|
9068
9092
|
onAnswer: (e) => z(T)(n, e),
|
|
9069
9093
|
onConfirm: N
|
|
9070
9094
|
}, null, 8, ["question", "onAnswer"])])])])), [[ae, n === z(g)]])), 128))], 512), [[ae, !i.value]]),
|
|
9071
|
-
W(l("footer",
|
|
9095
|
+
W(l("footer", Oh, [l("span", kh, [
|
|
9072
9096
|
d(R(z(G)("已完成")) + " ", 1),
|
|
9073
|
-
l("span",
|
|
9097
|
+
l("span", Ah, R(z(p)), 1),
|
|
9074
9098
|
d(" " + R(z(G)("题")), 1)
|
|
9075
|
-
]), l("div",
|
|
9099
|
+
]), l("div", jh, [f(z(le), {
|
|
9076
9100
|
class: "ai-user-question-card__skip",
|
|
9077
9101
|
disabled: M.value === "complete",
|
|
9078
9102
|
loading: M.value === "skip",
|
|
@@ -9101,24 +9125,24 @@ var Hf = ["src"], Uf = {
|
|
|
9101
9125
|
}, 8, ["disabled", "loading"])])], 512), [[ae, !i.value]])
|
|
9102
9126
|
], 2));
|
|
9103
9127
|
}
|
|
9104
|
-
}),
|
|
9128
|
+
}), Nh = 864e5, Ph = {
|
|
9105
9129
|
day: "numeric",
|
|
9106
9130
|
hour: "2-digit",
|
|
9107
9131
|
hourCycle: "h23",
|
|
9108
9132
|
minute: "2-digit",
|
|
9109
9133
|
month: "numeric",
|
|
9110
9134
|
year: "numeric"
|
|
9111
|
-
},
|
|
9112
|
-
let t = e == null ? "" : e, n =
|
|
9135
|
+
}, Fh = /* @__PURE__ */ new Map(), Ih = (e) => {
|
|
9136
|
+
let t = e == null ? "" : e, n = Fh.get(t);
|
|
9113
9137
|
if (n) return n;
|
|
9114
9138
|
let r;
|
|
9115
9139
|
try {
|
|
9116
|
-
r = new Intl.DateTimeFormat("en-US", X(X({},
|
|
9140
|
+
r = new Intl.DateTimeFormat("en-US", X(X({}, Ph), {}, { timeZone: e }));
|
|
9117
9141
|
} catch (e) {
|
|
9118
|
-
r = new Intl.DateTimeFormat("en-US",
|
|
9142
|
+
r = new Intl.DateTimeFormat("en-US", Ph);
|
|
9119
9143
|
}
|
|
9120
|
-
return
|
|
9121
|
-
},
|
|
9144
|
+
return Fh.set(t, r), r;
|
|
9145
|
+
}, Lh = (e, t) => {
|
|
9122
9146
|
let n = e.formatToParts(t), r = (e) => {
|
|
9123
9147
|
var t;
|
|
9124
9148
|
return Number((t = n.find((t) => t.type === e)) == null ? void 0 : t.value);
|
|
@@ -9130,19 +9154,19 @@ var Hf = ["src"], Uf = {
|
|
|
9130
9154
|
month: r("month"),
|
|
9131
9155
|
year: r("year")
|
|
9132
9156
|
};
|
|
9133
|
-
},
|
|
9157
|
+
}, Rh = (e) => Date.UTC(e.year, e.month - 1, e.day), zh = (e) => String(e).padStart(2, "0"), Bh = (e, t) => {
|
|
9134
9158
|
if (e == null || e === "") return "";
|
|
9135
9159
|
let n = new Date(e).getTime();
|
|
9136
9160
|
if (Number.isNaN(n)) return "";
|
|
9137
|
-
let r =
|
|
9161
|
+
let r = Ih(t), i = Lh(r, n), a = Lh(r, Date.now()), o = `${zh(i.hour)}:${zh(i.minute)}`, s = Math.round((Rh(a) - Rh(i)) / Nh);
|
|
9138
9162
|
if (s === 0) return o;
|
|
9139
9163
|
if (s === 1) return `${G("昨天")} ${o}`;
|
|
9140
9164
|
let c = `${i.month}-${i.day} ${o}`;
|
|
9141
9165
|
return i.year === a.year ? c : `${i.year}-${c}`;
|
|
9142
|
-
},
|
|
9166
|
+
}, Vh = {
|
|
9143
9167
|
key: 0,
|
|
9144
9168
|
class: "ai-message-time"
|
|
9145
|
-
},
|
|
9169
|
+
}, Hh = /* @__PURE__ */ m({
|
|
9146
9170
|
__name: "message-time",
|
|
9147
9171
|
props: {
|
|
9148
9172
|
createdAt: {},
|
|
@@ -9152,10 +9176,10 @@ var Hf = ["src"], Uf = {
|
|
|
9152
9176
|
let t = e, n = $i(), r = a(() => {
|
|
9153
9177
|
var e, r;
|
|
9154
9178
|
return (e = t.timezone) == null ? n == null || (r = n.timezone) == null ? void 0 : r.value : e;
|
|
9155
|
-
}), i = a(() =>
|
|
9156
|
-
return (e, t) => i.value ? (k(), c("span",
|
|
9179
|
+
}), i = a(() => Bh(t.createdAt, r.value));
|
|
9180
|
+
return (e, t) => i.value ? (k(), c("span", Vh, R(i.value), 1)) : s("", !0);
|
|
9157
9181
|
}
|
|
9158
|
-
}),
|
|
9182
|
+
}), Uh = { class: "ai-delete-confirm" }, Wh = { class: "ai-delete-confirm__title" }, Gh = { class: "ai-delete-confirm__desc" }, Kh = { class: "ai-delete-confirm__actions" }, qh = /* @__PURE__ */ m({
|
|
9159
9183
|
__name: "delete-tool",
|
|
9160
9184
|
props: {
|
|
9161
9185
|
description: {},
|
|
@@ -9198,10 +9222,10 @@ var Hf = ["src"], Uf = {
|
|
|
9198
9222
|
ref_key: "tippyRef",
|
|
9199
9223
|
ref: i
|
|
9200
9224
|
}, c.value, { onShow: u }), {
|
|
9201
|
-
content: U(() => [l("div",
|
|
9202
|
-
l("div",
|
|
9203
|
-
l("div",
|
|
9204
|
-
l("div",
|
|
9225
|
+
content: U(() => [l("div", Uh, [
|
|
9226
|
+
l("div", Wh, R(z(G)("确认删除该回答?")), 1),
|
|
9227
|
+
l("div", Gh, R(z(G)("删除操作无法撤回,请谨慎操作!")), 1),
|
|
9228
|
+
l("div", Kh, [f(z(le), {
|
|
9205
9229
|
size: "small",
|
|
9206
9230
|
theme: "danger",
|
|
9207
9231
|
onClick: m
|
|
@@ -9220,7 +9244,7 @@ var Hf = ["src"], Uf = {
|
|
|
9220
9244
|
_: 1
|
|
9221
9245
|
}, 16));
|
|
9222
9246
|
}
|
|
9223
|
-
}),
|
|
9247
|
+
}), Jh = { class: "ai-feedback-title" }, Yh = { class: "ai-feedback-reason-list" }, Xh = ["onClick"], Zh = { class: "ai-feedback-other" }, Qh = { class: "ai-feedback-footer" }, $h = /* @__PURE__ */ m({
|
|
9224
9248
|
__name: "user-feedback",
|
|
9225
9249
|
props: {
|
|
9226
9250
|
loading: { type: Boolean },
|
|
@@ -9240,23 +9264,23 @@ var Hf = ["src"], Uf = {
|
|
|
9240
9264
|
class: "ai-user-feedback",
|
|
9241
9265
|
onMouseenter: r[1] || (r[1] = ce(() => {}, ["stop", "prevent"]))
|
|
9242
9266
|
}, [
|
|
9243
|
-
l("div",
|
|
9244
|
-
l("div",
|
|
9267
|
+
l("div", Jh, R(t.title), 1),
|
|
9268
|
+
l("div", Yh, [t.loading ? (k(), c(e, { key: 0 }, P(8, (e) => l("div", {
|
|
9245
9269
|
key: e,
|
|
9246
9270
|
class: "reason-item ai-skeleton-element"
|
|
9247
9271
|
})), 64)) : (k(!0), c(e, { key: 1 }, P(t.reasonList, (e) => (k(), c("div", {
|
|
9248
9272
|
key: e,
|
|
9249
9273
|
class: S(["reason-item", { "is-active": a.value.includes(e) }]),
|
|
9250
9274
|
onClick: (t) => o(e)
|
|
9251
|
-
}, R(e), 11,
|
|
9252
|
-
l("div",
|
|
9275
|
+
}, R(e), 11, Xh))), 128))]),
|
|
9276
|
+
l("div", Zh, [f(z(pe), {
|
|
9253
9277
|
modelValue: i.value,
|
|
9254
9278
|
"onUpdate:modelValue": r[0] || (r[0] = (e) => i.value = e),
|
|
9255
9279
|
placeholder: z(G)("说出您的想法"),
|
|
9256
9280
|
rows: 3,
|
|
9257
9281
|
type: "textarea"
|
|
9258
9282
|
}, null, 8, ["modelValue", "placeholder"])]),
|
|
9259
|
-
l("div",
|
|
9283
|
+
l("div", Qh, [f(z(le), {
|
|
9260
9284
|
class: "custom-btn",
|
|
9261
9285
|
disabled: !i.value && a.value.length === 0,
|
|
9262
9286
|
size: "small",
|
|
@@ -9276,26 +9300,26 @@ var Hf = ["src"], Uf = {
|
|
|
9276
9300
|
})])
|
|
9277
9301
|
], 32));
|
|
9278
9302
|
}
|
|
9279
|
-
}),
|
|
9303
|
+
}), eg = {
|
|
9280
9304
|
ref: "messageToolsRef",
|
|
9281
9305
|
class: "ai-message-tools-container"
|
|
9282
|
-
},
|
|
9306
|
+
}, tg = {
|
|
9283
9307
|
key: 0,
|
|
9284
9308
|
class: "ai-message-tools-prepend"
|
|
9285
|
-
},
|
|
9309
|
+
}, ng = { class: "message-tools" }, rg = {
|
|
9286
9310
|
key: 1,
|
|
9287
9311
|
class: "ai-divider",
|
|
9288
9312
|
style: {
|
|
9289
9313
|
"margin-right": "4px",
|
|
9290
9314
|
"margin-left": "4px"
|
|
9291
9315
|
}
|
|
9292
|
-
},
|
|
9316
|
+
}, ig = {
|
|
9293
9317
|
key: 2,
|
|
9294
9318
|
class: "message-tools"
|
|
9295
|
-
},
|
|
9319
|
+
}, ag = {
|
|
9296
9320
|
key: 3,
|
|
9297
9321
|
class: "ai-message-tools-append"
|
|
9298
|
-
},
|
|
9322
|
+
}, og = /* @__PURE__ */ m({
|
|
9299
9323
|
__name: "message-tools",
|
|
9300
9324
|
props: {
|
|
9301
9325
|
messageTools: { default: () => jt },
|
|
@@ -9356,9 +9380,9 @@ var Hf = ["src"], Uf = {
|
|
|
9356
9380
|
};
|
|
9357
9381
|
return O(() => {
|
|
9358
9382
|
v(), p.value = [];
|
|
9359
|
-
}), (n, r) => (k(), c("div",
|
|
9360
|
-
n.$slots.prepend ? (k(), c("div",
|
|
9361
|
-
l("div",
|
|
9383
|
+
}), (n, r) => (k(), c("div", eg, [
|
|
9384
|
+
n.$slots.prepend ? (k(), c("div", tg, [F(n.$slots, "prepend")])) : s("", !0),
|
|
9385
|
+
l("div", ng, [(k(!0), c(e, null, P(t.messageTools, (n) => (k(), c(e, { key: n.id }, [n.id === "delete" ? (k(), o(qh, b({
|
|
9362
9386
|
key: 0,
|
|
9363
9387
|
ref_for: !0
|
|
9364
9388
|
}, n, {
|
|
@@ -9381,14 +9405,14 @@ var Hf = ["src"], Uf = {
|
|
|
9381
9405
|
"tippy-options",
|
|
9382
9406
|
"onClick"
|
|
9383
9407
|
]))], 64))), 128))]),
|
|
9384
|
-
t.updateTools.length > 0 ? (k(), c("div",
|
|
9385
|
-
t.updateTools.length > 0 ? (k(), c("div",
|
|
9408
|
+
t.updateTools.length > 0 ? (k(), c("div", rg)) : s("", !0),
|
|
9409
|
+
t.updateTools.length > 0 ? (k(), c("div", ig, [(k(!0), c(e, null, P(t.updateTools, (n) => (k(), c(e, { key: n.id }, [n.id === "like" || n.id === "unlike" ? (k(), o(z(xe), b({
|
|
9386
9410
|
key: 0,
|
|
9387
9411
|
ref_for: !0,
|
|
9388
9412
|
ref_key: "feedbackTippyRef",
|
|
9389
9413
|
ref: u
|
|
9390
9414
|
}, { ref_for: !0 }, h.value, { onShow: (e) => C(n.id) }), {
|
|
9391
|
-
content: U(() => [f(
|
|
9415
|
+
content: U(() => [f($h, {
|
|
9392
9416
|
loading: d.value,
|
|
9393
9417
|
"reason-list": p.value,
|
|
9394
9418
|
title: n.id === "like" ? z(G)("什么原因让你满意?") : z(G)("什么原因让你不满意?"),
|
|
@@ -9414,7 +9438,7 @@ var Hf = ["src"], Uf = {
|
|
|
9414
9438
|
"onClick"
|
|
9415
9439
|
])]),
|
|
9416
9440
|
_: 2
|
|
9417
|
-
}, 1040, ["onShow"])) : n.id === "delete" ? (k(), o(
|
|
9441
|
+
}, 1040, ["onShow"])) : n.id === "delete" ? (k(), o(qh, b({
|
|
9418
9442
|
key: 1,
|
|
9419
9443
|
ref_for: !0
|
|
9420
9444
|
}, n, {
|
|
@@ -9437,10 +9461,10 @@ var Hf = ["src"], Uf = {
|
|
|
9437
9461
|
"tippy-options",
|
|
9438
9462
|
"onClick"
|
|
9439
9463
|
]))], 64))), 128))])) : s("", !0),
|
|
9440
|
-
n.$slots.append ? (k(), c("div",
|
|
9464
|
+
n.$slots.append ? (k(), c("div", ag, [F(n.$slots, "append")])) : s("", !0)
|
|
9441
9465
|
], 512));
|
|
9442
9466
|
}
|
|
9443
|
-
}),
|
|
9467
|
+
}), sg = m({
|
|
9444
9468
|
name: "HighlightKeyword",
|
|
9445
9469
|
props: { text: {
|
|
9446
9470
|
type: String,
|
|
@@ -9457,7 +9481,7 @@ var Hf = ["src"], Uf = {
|
|
|
9457
9481
|
});
|
|
9458
9482
|
return () => g("span", r.value);
|
|
9459
9483
|
}
|
|
9460
|
-
}),
|
|
9484
|
+
}), cg = { class: "ai-activity-message" }, lg = { class: "ai-activity-message-content" }, ug = /* @__PURE__ */ m({
|
|
9461
9485
|
__name: "activity-layout",
|
|
9462
9486
|
props: /* @__PURE__ */ y({ activityType: {} }, {
|
|
9463
9487
|
collapsed: X({ type: Boolean }, { default: !1 }),
|
|
@@ -9466,15 +9490,15 @@ var Hf = ["src"], Uf = {
|
|
|
9466
9490
|
emits: ["update:collapsed"],
|
|
9467
9491
|
setup(e) {
|
|
9468
9492
|
let t = re(e, "collapsed");
|
|
9469
|
-
return (n, r) => (k(), c("div",
|
|
9493
|
+
return (n, r) => (k(), c("div", cg, [l("div", {
|
|
9470
9494
|
class: "ai-activity-message-title",
|
|
9471
9495
|
onClick: r[0] || (r[0] = (e) => t.value = !t.value)
|
|
9472
9496
|
}, [F(n.$slots, "title", C(h({ collapsed: t.value }))), e.activityType === z(bt).FlowAgent ? s("", !0) : (k(), c("span", {
|
|
9473
9497
|
key: 0,
|
|
9474
9498
|
class: S(["ai-activity-message-title-icon collapsed-icon", { "is-collapsed": t.value }])
|
|
9475
|
-
}, [f(z(jr))], 2))]), W(l("div",
|
|
9499
|
+
}, [f(z(jr))], 2))]), W(l("div", lg, [F(n.$slots, "default")], 512), [[ae, !t.value]])]));
|
|
9476
9500
|
}
|
|
9477
|
-
}),
|
|
9501
|
+
}), dg = [
|
|
9478
9502
|
{
|
|
9479
9503
|
color: "#3A84FF",
|
|
9480
9504
|
icon: null,
|
|
@@ -9530,16 +9554,16 @@ var Hf = ["src"], Uf = {
|
|
|
9530
9554
|
label: G("跳过"),
|
|
9531
9555
|
rawStates: ["SKIPPED"]
|
|
9532
9556
|
}
|
|
9533
|
-
],
|
|
9534
|
-
var t;
|
|
9535
|
-
return (t = fg[e]) == null ? "running" : t;
|
|
9536
|
-
}, mg = (e) => {
|
|
9557
|
+
], fg = Object.fromEntries(dg.map((e) => [e.key, e])), pg = Object.fromEntries(dg.flatMap((e) => e.rawStates.map((t) => [t, e.key]))), mg = (e) => {
|
|
9537
9558
|
var t;
|
|
9538
|
-
return (t =
|
|
9559
|
+
return (t = pg[e]) == null ? "running" : t;
|
|
9539
9560
|
}, hg = (e) => {
|
|
9540
|
-
|
|
9541
|
-
return t
|
|
9561
|
+
var t;
|
|
9562
|
+
return (t = fg[e].dotColor) == null ? fg[e].color : t;
|
|
9542
9563
|
}, gg = (e) => {
|
|
9564
|
+
let t = fg[e].icon;
|
|
9565
|
+
return t ? i(t) : null;
|
|
9566
|
+
}, _g = (e) => {
|
|
9543
9567
|
let t = a(() => {
|
|
9544
9568
|
var t;
|
|
9545
9569
|
return Array.isArray(e.value) ? e.value : [(t = e.value) == null ? {} : t];
|
|
@@ -9553,10 +9577,10 @@ var Hf = ["src"], Uf = {
|
|
|
9553
9577
|
viewTasks: a(() => t.value.map((e) => {
|
|
9554
9578
|
var t, n;
|
|
9555
9579
|
let r = Object.values((t = e.nodes) == null ? {} : t).map((e) => {
|
|
9556
|
-
let t =
|
|
9580
|
+
let t = mg(e.state);
|
|
9557
9581
|
return {
|
|
9558
9582
|
convergedState: t,
|
|
9559
|
-
dotColor:
|
|
9583
|
+
dotColor: hg(t),
|
|
9560
9584
|
elapsedTimeText: gt(e.elapsed_time),
|
|
9561
9585
|
id: e.id,
|
|
9562
9586
|
name: e.name,
|
|
@@ -9564,7 +9588,7 @@ var Hf = ["src"], Uf = {
|
|
|
9564
9588
|
retryable: !!e.retryable,
|
|
9565
9589
|
skippable: !!e.skippable
|
|
9566
9590
|
};
|
|
9567
|
-
}), i = r.reduce((e, t) => e + t.raw.elapsed_time, 0), a =
|
|
9591
|
+
}), i = r.reduce((e, t) => e + t.raw.elapsed_time, 0), a = mg((n = e.task_state) == null ? "" : n);
|
|
9568
9592
|
return {
|
|
9569
9593
|
convergedState: a,
|
|
9570
9594
|
hasConfidence: !!e.has_confidence,
|
|
@@ -9572,7 +9596,7 @@ var Hf = ["src"], Uf = {
|
|
|
9572
9596
|
isActive: !!e.is_active,
|
|
9573
9597
|
nodes: r,
|
|
9574
9598
|
raw: e,
|
|
9575
|
-
stateIcon:
|
|
9599
|
+
stateIcon: gg(a),
|
|
9576
9600
|
taskId: e.task_id,
|
|
9577
9601
|
taskName: e.task_name,
|
|
9578
9602
|
totalTimeText: gt(i)
|
|
@@ -9580,21 +9604,21 @@ var Hf = ["src"], Uf = {
|
|
|
9580
9604
|
})),
|
|
9581
9605
|
visibleStats: a(() => {
|
|
9582
9606
|
let e = {};
|
|
9583
|
-
for (let t of
|
|
9607
|
+
for (let t of dg) e[t.key] = 0;
|
|
9584
9608
|
for (let i of t.value) {
|
|
9585
9609
|
var n, r;
|
|
9586
|
-
for (let [t, a] of Object.entries((n = (r = i.statistics) == null ? void 0 : r.state_counts) == null ? {} : n)) e[
|
|
9610
|
+
for (let [t, a] of Object.entries((n = (r = i.statistics) == null ? void 0 : r.state_counts) == null ? {} : n)) e[mg(t)] += a;
|
|
9587
9611
|
}
|
|
9588
|
-
return
|
|
9612
|
+
return dg.filter((t) => e[t.key] > 0).map((t) => ({
|
|
9589
9613
|
color: t.color,
|
|
9590
9614
|
display: e[t.key] > 99 ? "99+" : String(e[t.key]),
|
|
9591
|
-
dotColor:
|
|
9615
|
+
dotColor: hg(t.key),
|
|
9592
9616
|
key: t.key,
|
|
9593
9617
|
label: t.label
|
|
9594
9618
|
}));
|
|
9595
9619
|
})
|
|
9596
9620
|
};
|
|
9597
|
-
},
|
|
9621
|
+
}, vg = [{
|
|
9598
9622
|
blockedTip: () => G("任务正在跳过中,不可重试"),
|
|
9599
9623
|
icon: Ur,
|
|
9600
9624
|
id: St.FlowNodeRetry,
|
|
@@ -9608,10 +9632,10 @@ var Hf = ["src"], Uf = {
|
|
|
9608
9632
|
label: () => G("跳过"),
|
|
9609
9633
|
pendingLabel: () => G("跳过中"),
|
|
9610
9634
|
visible: (e) => e.convergedState === "failed" && e.skippable
|
|
9611
|
-
}],
|
|
9635
|
+
}], yg = (e, t) => `${e.task_id}:${t.id}:${t.retry}`, bg = (e) => {
|
|
9612
9636
|
let { hideResumeActions: t, onInterruptResume: n, openNodeDetail: r } = e, i = L({}), a = (e, t, r) => {
|
|
9613
9637
|
var a;
|
|
9614
|
-
let o =
|
|
9638
|
+
let o = yg(t, r);
|
|
9615
9639
|
i.value[o] || (i.value = X(X({}, i.value), {}, { [o]: e }), (a = n.value) == null || a.call(n, {
|
|
9616
9640
|
payload: {
|
|
9617
9641
|
node_id: r.id,
|
|
@@ -9622,7 +9646,7 @@ var Hf = ["src"], Uf = {
|
|
|
9622
9646
|
};
|
|
9623
9647
|
return {
|
|
9624
9648
|
getNodeActions: (e, n) => {
|
|
9625
|
-
let o = i.value[
|
|
9649
|
+
let o = i.value[yg(e.raw, n.raw)], s = (t != null && t.value ? [] : vg).filter((e) => e.visible(n)).map((t) => {
|
|
9626
9650
|
let r = o === t.id, i = o !== void 0 && !r;
|
|
9627
9651
|
return {
|
|
9628
9652
|
disabled: o !== void 0,
|
|
@@ -9643,47 +9667,47 @@ var Hf = ["src"], Uf = {
|
|
|
9643
9667
|
run: () => r(e.raw, n.raw)
|
|
9644
9668
|
}), s;
|
|
9645
9669
|
},
|
|
9646
|
-
isNodePending: (e, t) => i.value[
|
|
9670
|
+
isNodePending: (e, t) => i.value[yg(e.raw, t.raw)] !== void 0
|
|
9647
9671
|
};
|
|
9648
|
-
},
|
|
9672
|
+
}, xg = { class: "ai-detail-section" }, Sg = { class: "section-heading" }, Cg = { class: "section-text" }, wg = /* @__PURE__ */ m({
|
|
9649
9673
|
__name: "detail-section",
|
|
9650
9674
|
props: { title: {} },
|
|
9651
9675
|
setup(e) {
|
|
9652
|
-
return (t, n) => (k(), c("div",
|
|
9676
|
+
return (t, n) => (k(), c("div", xg, [l("div", Sg, [n[0] || (n[0] = l("span", { class: "section-bar" }, null, -1)), l("span", Cg, R(e.title), 1)]), F(t.$slots, "default")]));
|
|
9653
9677
|
}
|
|
9654
|
-
}),
|
|
9678
|
+
}), Tg = { class: "ai-simple-table" }, Eg = { key: 0 }, Dg = ["colspan"], Og = /* @__PURE__ */ m({
|
|
9655
9679
|
__name: "simple-table",
|
|
9656
9680
|
props: {
|
|
9657
9681
|
columns: {},
|
|
9658
9682
|
data: {}
|
|
9659
9683
|
},
|
|
9660
9684
|
setup(t) {
|
|
9661
|
-
return (n, r) => (k(), c("table",
|
|
9685
|
+
return (n, r) => (k(), c("table", Tg, [l("thead", null, [l("tr", null, [(k(!0), c(e, null, P(t.columns, (e) => (k(), c("th", { key: e.key }, R(e.label), 1))), 128))])]), l("tbody", null, [(k(!0), c(e, null, P(t.data, (n, r) => (k(), c("tr", { key: r }, [(k(!0), c(e, null, P(t.columns, (e) => {
|
|
9662
9686
|
var t;
|
|
9663
9687
|
return k(), c("td", {
|
|
9664
9688
|
key: e.key,
|
|
9665
9689
|
class: S({ "is-break-all": e.breakAll })
|
|
9666
9690
|
}, R((t = n[e.key]) == null ? "--" : t), 3);
|
|
9667
|
-
}), 128))]))), 128)), t.data.length ? s("", !0) : (k(), c("tr",
|
|
9691
|
+
}), 128))]))), 128)), t.data.length ? s("", !0) : (k(), c("tr", Eg, [l("td", {
|
|
9668
9692
|
class: "is-empty",
|
|
9669
9693
|
colspan: t.columns.length
|
|
9670
|
-
}, " -- ", 8,
|
|
9694
|
+
}, " -- ", 8, Dg)]))])]));
|
|
9671
9695
|
}
|
|
9672
|
-
}),
|
|
9696
|
+
}), kg = { class: "ai-flow-agent-node-detail" }, Ag = { class: "detail-title" }, jg = {
|
|
9673
9697
|
key: 1,
|
|
9674
9698
|
class: "detail-title-content"
|
|
9675
|
-
},
|
|
9699
|
+
}, Mg = { class: "detail-tab-bar" }, Ng = ["onClick"], Pg = { class: "detail-body" }, Fg = { class: "skeleton-section" }, Ig = { class: "skeleton-section" }, Lg = { class: "info-form" }, Rg = { class: "info-label" }, zg = { class: "info-value" }, Bg = { class: "info-row" }, Vg = { class: "info-label" }, Hg = { class: "info-value" }, Ug = {
|
|
9676
9700
|
key: 0,
|
|
9677
9701
|
class: "failure-item"
|
|
9678
|
-
},
|
|
9702
|
+
}, Wg = {
|
|
9679
9703
|
key: 1,
|
|
9680
9704
|
class: "failure-item"
|
|
9681
|
-
},
|
|
9705
|
+
}, Gg = { class: "info-row" }, Kg = { class: "info-label" }, qg = { class: "info-value" }, Jg = {
|
|
9682
9706
|
key: 0,
|
|
9683
9707
|
class: "skeleton-section"
|
|
9684
|
-
},
|
|
9708
|
+
}, Yg = /* @__PURE__ */ function(e) {
|
|
9685
9709
|
return e.Config = "config", e.Output = "output", e;
|
|
9686
|
-
}(
|
|
9710
|
+
}(Yg || {}), Xg = /* @__PURE__ */ m({
|
|
9687
9711
|
__name: "flow-agent-node-detail",
|
|
9688
9712
|
props: {
|
|
9689
9713
|
data: {},
|
|
@@ -9696,10 +9720,10 @@ var Hf = ["src"], Uf = {
|
|
|
9696
9720
|
},
|
|
9697
9721
|
setup(t) {
|
|
9698
9722
|
let n = [{
|
|
9699
|
-
key:
|
|
9723
|
+
key: Yg.Config,
|
|
9700
9724
|
label: G("节点配置")
|
|
9701
9725
|
}, {
|
|
9702
|
-
key:
|
|
9726
|
+
key: Yg.Output,
|
|
9703
9727
|
label: G("节点输出")
|
|
9704
9728
|
}], r = [{
|
|
9705
9729
|
key: "key",
|
|
@@ -9728,7 +9752,7 @@ var Hf = ["src"], Uf = {
|
|
|
9728
9752
|
breakAll: !0,
|
|
9729
9753
|
key: "value",
|
|
9730
9754
|
label: G("参数值")
|
|
9731
|
-
}], p = { forced_fail: _t ? "Force Fail" : "强制失败" }, m = t, h = L(
|
|
9755
|
+
}], p = { forced_fail: _t ? "Force Fail" : "强制失败" }, m = t, h = L(Yg.Config), g = a(() => {
|
|
9732
9756
|
var e;
|
|
9733
9757
|
return (e = m.data) == null ? void 0 : e.basic_info;
|
|
9734
9758
|
}), _ = a(() => {
|
|
@@ -9790,56 +9814,56 @@ var Hf = ["src"], Uf = {
|
|
|
9790
9814
|
}), T = (e) => e == null ? "--" : typeof e == "object" ? JSON.stringify(e) : String(e);
|
|
9791
9815
|
return (a, p) => {
|
|
9792
9816
|
var m;
|
|
9793
|
-
return k(), c("div",
|
|
9794
|
-
l("h3",
|
|
9795
|
-
l("div",
|
|
9817
|
+
return k(), c("div", kg, [
|
|
9818
|
+
l("h3", Ag, [t.loading ? (k(), c(e, { key: 0 }, [l("span", null, R(z(G)("节点")) + ":", 1), p[0] || (p[0] = l("span", { class: "skeleton-title ai-skeleton-element" }, null, -1))], 64)) : (k(), c("div", jg, R(z(G)("节点")) + ":" + R((m = g.value) == null ? void 0 : m.node_name), 1)), F(a.$slots, "locateButton")]),
|
|
9819
|
+
l("div", Mg, [(k(), c(e, null, P(n, (e) => l("div", {
|
|
9796
9820
|
key: e.key,
|
|
9797
9821
|
class: S(["detail-tab", { "is-active": h.value === e.key }]),
|
|
9798
9822
|
onClick: (t) => h.value = e.key
|
|
9799
|
-
}, [(k(), o(I(e.key ===
|
|
9800
|
-
l("div",
|
|
9823
|
+
}, [(k(), o(I(e.key === Yg.Config ? z(un) : z(ln)), { class: "detail-tab-icon" })), d(" " + R(e.label), 1)], 10, Ng)), 64))]),
|
|
9824
|
+
l("div", Pg, [h.value === Yg.Config ? (k(), c(e, { key: 0 }, [t.loading ? (k(), c(e, { key: 0 }, [l("div", Fg, [p[1] || (p[1] = l("div", { class: "skeleton-heading ai-skeleton-element" }, null, -1)), (k(), c(e, null, P(6, (e) => l("div", {
|
|
9801
9825
|
key: e,
|
|
9802
9826
|
class: "skeleton-row ai-skeleton-element"
|
|
9803
|
-
})), 64))]), l("div",
|
|
9827
|
+
})), 64))]), l("div", Ig, [p[2] || (p[2] = l("div", { class: "skeleton-heading ai-skeleton-element" }, null, -1)), (k(), c(e, null, P(4, (e) => l("div", {
|
|
9804
9828
|
key: e,
|
|
9805
9829
|
class: "skeleton-row ai-skeleton-element"
|
|
9806
9830
|
})), 64))])], 64)) : (k(), c(e, { key: 1 }, [
|
|
9807
|
-
f(
|
|
9831
|
+
f(wg, { title: z(G)("基础信息") }, {
|
|
9808
9832
|
default: U(() => {
|
|
9809
9833
|
var t, n, r;
|
|
9810
|
-
return [l("div",
|
|
9834
|
+
return [l("div", Lg, [
|
|
9811
9835
|
(k(!0), c(e, null, P(_.value, (e) => (k(), c("div", {
|
|
9812
9836
|
key: e.label,
|
|
9813
9837
|
class: "info-row"
|
|
9814
|
-
}, [l("div",
|
|
9815
|
-
l("div",
|
|
9816
|
-
l("div",
|
|
9838
|
+
}, [l("div", Rg, R(e.label), 1), l("div", zg, R(e.value), 1)]))), 128)),
|
|
9839
|
+
l("div", Bg, [l("div", Vg, R(z(G)("失败处理")), 1), l("div", Hg, [v.value ? (k(), c(e, { key: 0 }, [(t = g.value) != null && t.skippable ? (k(), c("span", Ug, [p[3] || (p[3] = l("span", { class: "tag-badge" }, "MS", -1)), d(" " + R(z(G)("手动跳过")) + R(!((n = g.value) == null || (n = n.auto_retry) == null) && n.enable ? ";" : ""), 1)])) : s("", !0), !((r = g.value) == null || (r = r.auto_retry) == null) && r.enable ? (k(), c("span", Wg, [p[4] || (p[4] = l("span", { class: "tag-badge" }, "AR", -1)), d(" " + R(y.value), 1)])) : s("", !0)], 64)) : (k(), c(e, { key: 1 }, [d("--")], 64))])]),
|
|
9840
|
+
l("div", Gg, [l("div", Kg, R(z(G)("超时控制")), 1), l("div", qg, R(b.value), 1)])
|
|
9817
9841
|
])];
|
|
9818
9842
|
}),
|
|
9819
9843
|
_: 1
|
|
9820
9844
|
}, 8, ["title"]),
|
|
9821
|
-
f(
|
|
9822
|
-
default: U(() => [f(
|
|
9845
|
+
f(wg, { title: z(G)("输入参数") }, {
|
|
9846
|
+
default: U(() => [f(Og, {
|
|
9823
9847
|
columns: r,
|
|
9824
9848
|
data: x.value
|
|
9825
9849
|
}, null, 8, ["data"])]),
|
|
9826
9850
|
_: 1
|
|
9827
9851
|
}, 8, ["title"]),
|
|
9828
|
-
f(
|
|
9829
|
-
default: U(() => [f(
|
|
9852
|
+
f(wg, { title: z(G)("输出参数") }, {
|
|
9853
|
+
default: U(() => [f(Og, {
|
|
9830
9854
|
columns: i,
|
|
9831
9855
|
data: C.value
|
|
9832
9856
|
}, null, 8, ["data"])]),
|
|
9833
9857
|
_: 1
|
|
9834
9858
|
}, 8, ["title"])
|
|
9835
|
-
], 64))], 64)) : (k(), c(e, { key: 1 }, [t.loading ? (k(), c("div",
|
|
9859
|
+
], 64))], 64)) : (k(), c(e, { key: 1 }, [t.loading ? (k(), c("div", Jg, [p[5] || (p[5] = l("div", { class: "skeleton-heading ai-skeleton-element" }, null, -1)), (k(), c(e, null, P(5, (e) => l("div", {
|
|
9836
9860
|
key: e,
|
|
9837
9861
|
class: "skeleton-row ai-skeleton-element"
|
|
9838
|
-
})), 64))])) : (k(), o(
|
|
9862
|
+
})), 64))])) : (k(), o(wg, {
|
|
9839
9863
|
key: 1,
|
|
9840
9864
|
title: z(G)("结构化输出")
|
|
9841
9865
|
}, {
|
|
9842
|
-
default: U(() => [f(
|
|
9866
|
+
default: U(() => [f(Og, {
|
|
9843
9867
|
columns: u,
|
|
9844
9868
|
data: w.value
|
|
9845
9869
|
}, null, 8, ["data"])]),
|
|
@@ -9848,7 +9872,7 @@ var Hf = ["src"], Uf = {
|
|
|
9848
9872
|
]);
|
|
9849
9873
|
};
|
|
9850
9874
|
}
|
|
9851
|
-
}),
|
|
9875
|
+
}), Zg = (e) => e.task_id == null ? "" : `${e.task_id}`, Qg = Zg, $g = (e, t) => e.task_id == null ? "" : `${e.task_id}|${t.id}|${t.name}`, e_ = (e) => {
|
|
9852
9876
|
let { messageUid: t, taskList: n } = e, r = Ji(), i = Ui(), o = a(() => {
|
|
9853
9877
|
var e, t;
|
|
9854
9878
|
return (e = (t = r.selectedTab.value) == null ? void 0 : t.name) == null ? "" : e;
|
|
@@ -9857,20 +9881,20 @@ var Hf = ["src"], Uf = {
|
|
|
9857
9881
|
}, l = a(() => {
|
|
9858
9882
|
if (s.value) return o.value;
|
|
9859
9883
|
let e = n.value.find((e) => e.is_active);
|
|
9860
|
-
return (e == null ? void 0 : e.task_id) == null ? o.value :
|
|
9884
|
+
return (e == null ? void 0 : e.task_id) == null ? o.value : Zg(e);
|
|
9861
9885
|
}), u = (e) => {
|
|
9862
9886
|
let t = l.value;
|
|
9863
|
-
return t ===
|
|
9864
|
-
}, d = (e, t) => l.value ===
|
|
9887
|
+
return t === Zg(e) || t === Qg(e);
|
|
9888
|
+
}, d = (e, t) => l.value === $g(e, t), f = (e, n) => {
|
|
9865
9889
|
var i, a;
|
|
9866
9890
|
let o = e.task_id;
|
|
9867
9891
|
o != null && (c(), (i = r.addCustomTab) == null || i.call(r, {
|
|
9868
9892
|
closable: n.closable,
|
|
9869
9893
|
label: n.name,
|
|
9870
|
-
name:
|
|
9894
|
+
name: $g(e, n),
|
|
9871
9895
|
order: (a = n.tab_order) == null ? 100 : a,
|
|
9872
9896
|
data: {
|
|
9873
|
-
component:
|
|
9897
|
+
component: Xg,
|
|
9874
9898
|
messageUid: t.value,
|
|
9875
9899
|
props: {
|
|
9876
9900
|
data: {},
|
|
@@ -9888,10 +9912,10 @@ var Hf = ["src"], Uf = {
|
|
|
9888
9912
|
a && (c(), (n = r.addCustomTab) == null || n.call(r, {
|
|
9889
9913
|
closable: e.closable,
|
|
9890
9914
|
label: G("有效证据"),
|
|
9891
|
-
name:
|
|
9915
|
+
name: Qg(e),
|
|
9892
9916
|
order: (i = e.tab_order) == null ? 10 : i,
|
|
9893
9917
|
data: {
|
|
9894
|
-
component:
|
|
9918
|
+
component: Xg,
|
|
9895
9919
|
messageUid: t.value,
|
|
9896
9920
|
props: {
|
|
9897
9921
|
data: {},
|
|
@@ -9910,10 +9934,10 @@ var Hf = ["src"], Uf = {
|
|
|
9910
9934
|
}), O(() => {
|
|
9911
9935
|
if (i != null && i.value) for (let i of n.value) {
|
|
9912
9936
|
var e, t, a;
|
|
9913
|
-
(e = r.removeCustomTab) == null || e.call(r,
|
|
9937
|
+
(e = r.removeCustomTab) == null || e.call(r, Zg(i)), (t = r.removeCustomTab) == null || t.call(r, Qg(i));
|
|
9914
9938
|
for (let e of Object.values((a = i.nodes) == null ? {} : a)) {
|
|
9915
9939
|
var o;
|
|
9916
|
-
(o = r.removeCustomTab) == null || o.call(r,
|
|
9940
|
+
(o = r.removeCustomTab) == null || o.call(r, $g(i, e));
|
|
9917
9941
|
}
|
|
9918
9942
|
}
|
|
9919
9943
|
}), {
|
|
@@ -9924,7 +9948,7 @@ var Hf = ["src"], Uf = {
|
|
|
9924
9948
|
openConfidence: p,
|
|
9925
9949
|
openNodeDetail: f
|
|
9926
9950
|
};
|
|
9927
|
-
},
|
|
9951
|
+
}, t_ = { class: "ai-activity-message-title-text" }, n_ = { class: "flow-agent-title-label" }, r_ = { class: "flow-agent-stat-tooltip" }, i_ = { class: "flow-agent-stat-tooltip-status" }, a_ = { class: "flow-agent-stat-tooltip-label" }, o_ = ["onClick"], s_ = { class: "flow-agent-task-state-icon" }, c_ = { class: "flow-agent-task-name" }, l_ = { class: "flow-agent-task-trailing" }, u_ = { class: "flow-agent-task-time" }, d_ = ["onClick"], f_ = { class: "flow-agent-task-nodes" }, p_ = { class: "flow-agent-node-status" }, m_ = ["title"], h_ = { class: "flow-agent-node-trailing" }, g_ = { class: "flow-agent-node-time" }, __ = { class: "flow-agent-node-actions" }, v_ = ["onClick"], y_ = /* @__PURE__ */ m({
|
|
9928
9952
|
__name: "flow-agent-content",
|
|
9929
9953
|
props: /* @__PURE__ */ y({
|
|
9930
9954
|
content: {},
|
|
@@ -9937,17 +9961,17 @@ var Hf = ["src"], Uf = {
|
|
|
9937
9961
|
}),
|
|
9938
9962
|
emits: ["update:collapsed"],
|
|
9939
9963
|
setup(t) {
|
|
9940
|
-
let n = t, r = ya(), i = re(t, "collapsed"), u = ga(), p = a(() => u.value === Lt.Share), m = a(() => n.status === J.Pending || n.status === J.Streaming), { isTaskExpanded: h, taskList: g, toggleTaskExpanded: _, viewTasks: v, visibleStats: y } =
|
|
9964
|
+
let n = t, r = ya(), i = re(t, "collapsed"), u = ga(), p = a(() => u.value === Lt.Share), m = a(() => n.status === J.Pending || n.status === J.Streaming), { isTaskExpanded: h, taskList: g, toggleTaskExpanded: _, viewTasks: v, visibleStats: y } = _g(ee(n, "content")), { isNodeSelected: x, isTaskSelected: C, openConfidence: T, openNodeDetail: E } = e_({
|
|
9941
9965
|
messageUid: ee(n, "messageUid"),
|
|
9942
9966
|
taskList: g
|
|
9943
|
-
}), { getNodeActions: D, isNodePending: O } =
|
|
9967
|
+
}), { getNodeActions: D, isNodePending: O } = bg({
|
|
9944
9968
|
hideResumeActions: p,
|
|
9945
9969
|
onInterruptResume: ee(n, "onInterruptResume"),
|
|
9946
9970
|
openNodeDetail: E
|
|
9947
9971
|
}), A = (e) => {
|
|
9948
9972
|
e.disabled || e.run();
|
|
9949
9973
|
};
|
|
9950
|
-
return (t, n) => (k(), o(
|
|
9974
|
+
return (t, n) => (k(), o(ug, {
|
|
9951
9975
|
collapsed: i.value,
|
|
9952
9976
|
"onUpdate:collapsed": n[0] || (n[0] = (e) => i.value = e),
|
|
9953
9977
|
"activity-type": z(bt).FlowAgent,
|
|
@@ -9962,11 +9986,11 @@ var Hf = ["src"], Uf = {
|
|
|
9962
9986
|
followCursor: !1,
|
|
9963
9987
|
offset: [0, 10]
|
|
9964
9988
|
})), {
|
|
9965
|
-
content: U(() => [l("div",
|
|
9989
|
+
content: U(() => [l("div", r_, [(k(!0), c(e, null, P(z(y), (e) => (k(), c("div", {
|
|
9966
9990
|
key: e.key,
|
|
9967
9991
|
class: "flow-agent-stat-tooltip-item"
|
|
9968
9992
|
}, [
|
|
9969
|
-
l("span",
|
|
9993
|
+
l("span", i_, [e.key === "running" ? (k(), o(z(me), {
|
|
9970
9994
|
key: 0,
|
|
9971
9995
|
mode: "spin",
|
|
9972
9996
|
size: "mini",
|
|
@@ -9976,7 +10000,7 @@ var Hf = ["src"], Uf = {
|
|
|
9976
10000
|
class: "flow-agent-stat-dot",
|
|
9977
10001
|
style: w({ borderColor: e.dotColor })
|
|
9978
10002
|
}, null, 4))]),
|
|
9979
|
-
l("span",
|
|
10003
|
+
l("span", a_, R(e.label) + ":", 1),
|
|
9980
10004
|
l("span", {
|
|
9981
10005
|
class: "flow-agent-stat-tooltip-count",
|
|
9982
10006
|
style: w({ color: e.color })
|
|
@@ -9985,7 +10009,7 @@ var Hf = ["src"], Uf = {
|
|
|
9985
10009
|
default: U(() => [l("span", { class: S(["ai-activity-message-title-icon", { "icon-collapsed": i.value }]) }, [m.value ? (k(), o(si, {
|
|
9986
10010
|
key: 0,
|
|
9987
10011
|
size: 12
|
|
9988
|
-
})) : (k(), o(z($t), { key: 1 }))], 2), l("span",
|
|
10012
|
+
})) : (k(), o(z($t), { key: 1 }))], 2), l("span", t_, [l("span", n_, R(z(G)("执行情况")) + ":", 1), (k(!0), c(e, null, P(z(y), (e) => (k(), c("span", {
|
|
9989
10013
|
key: e.key,
|
|
9990
10014
|
class: "flow-agent-stat-item"
|
|
9991
10015
|
}, [e.key === "running" ? (k(), o(z(me), {
|
|
@@ -10016,27 +10040,27 @@ var Hf = ["src"], Uf = {
|
|
|
10016
10040
|
l("span", {
|
|
10017
10041
|
class: S(["flow-agent-task-arrow", { "is-expanded": z(h)(t.raw) }]),
|
|
10018
10042
|
onClick: ce((e) => z(_)(t.raw), ["stop"])
|
|
10019
|
-
}, [f(z($t))], 10,
|
|
10020
|
-
l("span",
|
|
10043
|
+
}, [f(z($t))], 10, o_),
|
|
10044
|
+
l("span", s_, [t.convergedState === "running" ? (k(), o(z(me), {
|
|
10021
10045
|
key: 0,
|
|
10022
10046
|
mode: "spin",
|
|
10023
10047
|
size: "mini",
|
|
10024
10048
|
theme: "primary"
|
|
10025
10049
|
})) : (k(), o(I(t.stateIcon), { key: 1 }))]),
|
|
10026
|
-
W((k(), c("span",
|
|
10027
|
-
l("span",
|
|
10050
|
+
W((k(), c("span", c_, [f(z(sg), { text: t.taskName }, null, 8, ["text"])])), [[z(Sa), X({}, z(r))]]),
|
|
10051
|
+
l("span", l_, [l("span", u_, R(t.totalTimeText), 1), t.hasConfidence ? (k(), c("span", {
|
|
10028
10052
|
key: 0,
|
|
10029
10053
|
class: "flow-agent-task-action-btn flow-agent-task-confidence-btn",
|
|
10030
10054
|
onClick: ce((e) => z(T)(t.raw), ["stop"])
|
|
10031
|
-
}, [f(z(ln)), d(" " + R((n = t.confidenceTitle) == null ? z(G)("有效证据") : n), 1)], 8,
|
|
10032
|
-
], 2), W(l("div",
|
|
10055
|
+
}, [f(z(ln)), d(" " + R((n = t.confidenceTitle) == null ? z(G)("有效证据") : n), 1)], 8, d_)) : s("", !0)])
|
|
10056
|
+
], 2), W(l("div", f_, [(k(!0), c(e, null, P(t.nodes, (n) => (k(), c("div", {
|
|
10033
10057
|
key: n.id,
|
|
10034
10058
|
class: S(["flow-agent-node-item", {
|
|
10035
10059
|
"is-selected": z(x)(t.raw, n.raw),
|
|
10036
10060
|
"is-pending": z(O)(t, n)
|
|
10037
10061
|
}])
|
|
10038
10062
|
}, [
|
|
10039
|
-
l("span",
|
|
10063
|
+
l("span", p_, [n.convergedState === "running" ? (k(), o(z(me), {
|
|
10040
10064
|
key: 0,
|
|
10041
10065
|
mode: "spin",
|
|
10042
10066
|
size: "mini",
|
|
@@ -10049,8 +10073,8 @@ var Hf = ["src"], Uf = {
|
|
|
10049
10073
|
W((k(), c("span", {
|
|
10050
10074
|
class: "flow-agent-node-name",
|
|
10051
10075
|
title: n.name
|
|
10052
|
-
}, [f(z(
|
|
10053
|
-
l("span",
|
|
10076
|
+
}, [f(z(sg), { text: n.name }, null, 8, ["text"])], 8, m_)), [[z(Sa), X({}, z(r))]]),
|
|
10077
|
+
l("span", h_, [l("span", g_, R(n.elapsedTimeText), 1), l("span", __, [(k(!0), c(e, null, P(z(D)(t, n), (e) => W((k(), c("span", {
|
|
10054
10078
|
key: e.id,
|
|
10055
10079
|
class: S(["flow-agent-node-action-btn", { "is-disabled": e.disabled }]),
|
|
10056
10080
|
onClick: ce((t) => A(e), ["stop"])
|
|
@@ -10060,7 +10084,7 @@ var Hf = ["src"], Uf = {
|
|
|
10060
10084
|
mode: "spin",
|
|
10061
10085
|
size: "mini",
|
|
10062
10086
|
theme: "primary"
|
|
10063
|
-
})) : (k(), o(I(e.icon), { key: 1 })), d(" " + R(e.label), 1)], 10,
|
|
10087
|
+
})) : (k(), o(I(e.icon), { key: 1 })), d(" " + R(e.label), 1)], 10, v_)), [[z(Se), e.tooltip ? X(X({}, z(r)), {}, {
|
|
10064
10088
|
content: e.tooltip,
|
|
10065
10089
|
theme: "ai-chat-box",
|
|
10066
10090
|
offset: [0, 8]
|
|
@@ -10070,7 +10094,7 @@ var Hf = ["src"], Uf = {
|
|
|
10070
10094
|
_: 1
|
|
10071
10095
|
}, 8, ["collapsed", "activity-type"]));
|
|
10072
10096
|
}
|
|
10073
|
-
}),
|
|
10097
|
+
}), b_ = { class: "ai-activity-message-title-icon" }, x_ = { class: "ai-activity-message-title-text" }, S_ = { class: "ai-knowledge-rag-content" }, C_ = /* @__PURE__ */ m({
|
|
10074
10098
|
__name: "knowledge-rag-content",
|
|
10075
10099
|
props: /* @__PURE__ */ y({
|
|
10076
10100
|
content: {},
|
|
@@ -10083,22 +10107,22 @@ var Hf = ["src"], Uf = {
|
|
|
10083
10107
|
emits: ["update:collapsed"],
|
|
10084
10108
|
setup(e) {
|
|
10085
10109
|
let t = e, n = re(e, "collapsed"), r = a(() => t.status === J.Pending || t.status === J.Streaming), i = a(() => r.value ? G("检索中") : G("检索完成"));
|
|
10086
|
-
return (t, a) => (k(), o(
|
|
10110
|
+
return (t, a) => (k(), o(ug, {
|
|
10087
10111
|
collapsed: n.value,
|
|
10088
10112
|
"onUpdate:collapsed": a[0] || (a[0] = (e) => n.value = e)
|
|
10089
10113
|
}, {
|
|
10090
|
-
title: U(() => [l("span",
|
|
10114
|
+
title: U(() => [l("span", b_, [r.value ? (k(), o(si, { key: 0 })) : (k(), o(z(Yt), {
|
|
10091
10115
|
key: 1,
|
|
10092
10116
|
style: { "font-size": "12px" }
|
|
10093
|
-
}))]), l("span",
|
|
10117
|
+
}))]), l("span", x_, R(i.value), 1)]),
|
|
10094
10118
|
default: U(() => {
|
|
10095
10119
|
var t, n;
|
|
10096
|
-
return [l("div",
|
|
10120
|
+
return [l("div", S_, [f(Iu, { content: ((t = e.content) == null ? void 0 : t.content) || "" }, null, 8, ["content"])]), f(Ru, { content: ((n = e.content) == null ? void 0 : n.referenceDocument) || [] }, null, 8, ["content"])];
|
|
10097
10121
|
}),
|
|
10098
10122
|
_: 1
|
|
10099
10123
|
}, 8, ["collapsed"]));
|
|
10100
10124
|
}
|
|
10101
|
-
}),
|
|
10125
|
+
}), w_ = { class: "ai-activity-message-title-icon" }, T_ = { class: "ai-activity-message-title-text" }, E_ = /* @__PURE__ */ m({
|
|
10102
10126
|
__name: "reference-doc-content",
|
|
10103
10127
|
props: /* @__PURE__ */ y({
|
|
10104
10128
|
content: {},
|
|
@@ -10114,16 +10138,16 @@ var Hf = ["src"], Uf = {
|
|
|
10114
10138
|
let r = (e = (n = t.content) == null ? void 0 : n.length) == null ? 0 : e;
|
|
10115
10139
|
return _t ? `Reference ${r} documents as reference` : `引用 ${r} 篇资料作为参考`;
|
|
10116
10140
|
});
|
|
10117
|
-
return (t, i) => (k(), o(
|
|
10141
|
+
return (t, i) => (k(), o(ug, {
|
|
10118
10142
|
collapsed: n.value,
|
|
10119
10143
|
"onUpdate:collapsed": i[0] || (i[0] = (e) => n.value = e)
|
|
10120
10144
|
}, {
|
|
10121
|
-
title: U(() => [l("span",
|
|
10145
|
+
title: U(() => [l("span", w_, [f(z(Yt), { style: { "font-size": "12px" } })]), l("span", T_, R(r.value), 1)]),
|
|
10122
10146
|
default: U(() => [f(Ru, { content: e.content || [] }, null, 8, ["content"])]),
|
|
10123
10147
|
_: 1
|
|
10124
10148
|
}, 8, ["collapsed"]));
|
|
10125
10149
|
}
|
|
10126
|
-
}),
|
|
10150
|
+
}), D_ = /* @__PURE__ */ m({
|
|
10127
10151
|
__name: "activity-message",
|
|
10128
10152
|
props: /* @__PURE__ */ y({
|
|
10129
10153
|
activityType: {},
|
|
@@ -10144,9 +10168,9 @@ var Hf = ["src"], Uf = {
|
|
|
10144
10168
|
emits: ["update:collapsed"],
|
|
10145
10169
|
setup(e) {
|
|
10146
10170
|
let t = {
|
|
10147
|
-
[bt.FlowAgent]:
|
|
10148
|
-
[bt.KnowledgeRag]:
|
|
10149
|
-
[bt.ReferenceDocument]:
|
|
10171
|
+
[bt.FlowAgent]: y_,
|
|
10172
|
+
[bt.KnowledgeRag]: C_,
|
|
10173
|
+
[bt.ReferenceDocument]: E_
|
|
10150
10174
|
}, n = e, r = re(e, "collapsed"), i = a(() => {
|
|
10151
10175
|
var e;
|
|
10152
10176
|
return t[(e = n.activityType) == null ? "" : e];
|
|
@@ -10167,7 +10191,7 @@ var Hf = ["src"], Uf = {
|
|
|
10167
10191
|
"status"
|
|
10168
10192
|
])) : s("", !0);
|
|
10169
10193
|
}
|
|
10170
|
-
}),
|
|
10194
|
+
}), O_ = { class: "ai-toolcall-desc" }, k_ = { class: "desc-title" }, A_ = { class: "desc-panel" }, j_ = { class: "desc-label" }, M_ = { class: "desc-value" }, N_ = /* @__PURE__ */ m({
|
|
10171
10195
|
__name: "desc-panel",
|
|
10172
10196
|
props: {
|
|
10173
10197
|
desc: {},
|
|
@@ -10181,19 +10205,19 @@ var Hf = ["src"], Uf = {
|
|
|
10181
10205
|
return n.desc;
|
|
10182
10206
|
}
|
|
10183
10207
|
});
|
|
10184
|
-
return (n, a) => (k(), c("div",
|
|
10208
|
+
return (n, a) => (k(), c("div", O_, [l("div", k_, R(t.title), 1), l("div", A_, [i.value !== null && typeof i.value == "object" ? (k(!0), c(e, { key: 0 }, P(i.value, (e, t) => (k(), c("div", {
|
|
10185
10209
|
key: t,
|
|
10186
10210
|
class: "desc-panel-item"
|
|
10187
|
-
}, [l("span",
|
|
10211
|
+
}, [l("span", j_, [f(z(sg), { text: String(t) }, null, 8, ["text"]), a[0] || (a[0] = d(":", -1))]), l("span", M_, [f(z(sg), {
|
|
10188
10212
|
style: { "word-break": "break-all" },
|
|
10189
10213
|
text: r(e)
|
|
10190
|
-
}, null, 8, ["text"])])]))), 128)) : (k(), o(z(
|
|
10214
|
+
}, null, 8, ["text"])])]))), 128)) : (k(), o(z(sg), {
|
|
10191
10215
|
key: 1,
|
|
10192
10216
|
style: { wordBreak: "break-all" },
|
|
10193
10217
|
text: r(i.value)
|
|
10194
10218
|
}, null, 8, ["text"]))])]));
|
|
10195
10219
|
}
|
|
10196
|
-
}),
|
|
10220
|
+
}), P_ = { class: "ai-tool-message" }, F_ = /* @__PURE__ */ m({
|
|
10197
10221
|
__name: "tool-message",
|
|
10198
10222
|
props: {
|
|
10199
10223
|
duration: {},
|
|
@@ -10210,15 +10234,15 @@ var Hf = ["src"], Uf = {
|
|
|
10210
10234
|
property: {}
|
|
10211
10235
|
},
|
|
10212
10236
|
setup(e) {
|
|
10213
|
-
return (t, n) => (k(), c("div",
|
|
10237
|
+
return (t, n) => (k(), c("div", P_, [f(N_, {
|
|
10214
10238
|
desc: e.content || (typeof e.error == "string" ? e.error : void 0),
|
|
10215
10239
|
title: z(G)("返回内容")
|
|
10216
10240
|
}, null, 8, ["desc", "title"])]));
|
|
10217
10241
|
}
|
|
10218
|
-
}),
|
|
10242
|
+
}), I_ = { class: "ai-toolcall-render" }, L_ = { class: "toolcall-header-title" }, R_ = { class: "toolcall-status-title" }, z_ = {
|
|
10219
10243
|
key: 3,
|
|
10220
10244
|
class: "toolcall-duration"
|
|
10221
|
-
},
|
|
10245
|
+
}, B_ = { class: "ai-toolcall-render-content" }, V_ = /* @__PURE__ */ m({
|
|
10222
10246
|
__name: "toolcall-render",
|
|
10223
10247
|
props: {
|
|
10224
10248
|
duration: {},
|
|
@@ -10263,17 +10287,17 @@ var Hf = ["src"], Uf = {
|
|
|
10263
10287
|
});
|
|
10264
10288
|
return (t, n) => {
|
|
10265
10289
|
var r, a, u, p;
|
|
10266
|
-
return k(), c("div",
|
|
10290
|
+
return k(), c("div", I_, [l("div", {
|
|
10267
10291
|
class: S(["ai-toolcall-render-header", `toolcall-status-${e.status}`]),
|
|
10268
10292
|
onClick: h
|
|
10269
10293
|
}, [
|
|
10270
10294
|
f(z($t), { class: S({ "is-collapsed": m.value }) }, null, 8, ["class"]),
|
|
10271
10295
|
d(" " + R((r = e.toolCall) != null && r.function.mcpName ? z(G)("调用 MCP:") : z(G)("调用工具:")) + " ", 1),
|
|
10272
|
-
W((k(), c("span",
|
|
10296
|
+
W((k(), c("span", L_, [f(z(sg), { text: g.value }, null, 8, ["text"])])), [[z(Sa), X(X({}, z(i)), {}, {
|
|
10273
10297
|
text: g.value,
|
|
10274
10298
|
appendTo: "parent"
|
|
10275
10299
|
})]]),
|
|
10276
|
-
l("span",
|
|
10300
|
+
l("span", R_, [
|
|
10277
10301
|
e.status === z(J).Pending || e.status === z(J).Streaming ? (k(), o(z(me), {
|
|
10278
10302
|
key: 0,
|
|
10279
10303
|
mode: "spin",
|
|
@@ -10284,23 +10308,23 @@ var Hf = ["src"], Uf = {
|
|
|
10284
10308
|
z(J).Complete,
|
|
10285
10309
|
z(J).Completed
|
|
10286
10310
|
].includes(e.status) ? (k(), o(z(nn), { key: 1 })) : e.status === z(J).Error ? (k(), o(z(rn), { key: 2 })) : s("", !0),
|
|
10287
|
-
f(z(
|
|
10288
|
-
v.value ? (k(), c("span",
|
|
10311
|
+
f(z(sg), { text: _.value }, null, 8, ["text"]),
|
|
10312
|
+
v.value ? (k(), c("span", z_, " (" + R(v.value) + ") ", 1)) : s("", !0)
|
|
10289
10313
|
])
|
|
10290
|
-
], 2), W(l("div",
|
|
10291
|
-
f(
|
|
10314
|
+
], 2), W(l("div", B_, [
|
|
10315
|
+
f(N_, {
|
|
10292
10316
|
desc: (a = e.toolCall) == null ? void 0 : a.function.description,
|
|
10293
10317
|
title: z(G)("描述")
|
|
10294
10318
|
}, null, 8, ["desc", "title"]),
|
|
10295
|
-
f(
|
|
10319
|
+
f(N_, {
|
|
10296
10320
|
desc: (u = e.toolCall) == null ? void 0 : u.function.arguments,
|
|
10297
10321
|
title: z(G)("参数")
|
|
10298
10322
|
}, null, 8, ["desc", "title"]),
|
|
10299
|
-
(p = e.toolCall) != null && p.toolMessage ? (k(), o(
|
|
10323
|
+
(p = e.toolCall) != null && p.toolMessage ? (k(), o(F_, C(b({ key: 0 }, e.toolCall.toolMessage)), null, 16)) : s("", !0)
|
|
10300
10324
|
], 512), [[ae, !m.value]])]);
|
|
10301
10325
|
};
|
|
10302
10326
|
}
|
|
10303
|
-
}),
|
|
10327
|
+
}), H_ = { class: "ai-message-artifacts" }, U_ = /* @__PURE__ */ m({
|
|
10304
10328
|
__name: "message-artifacts",
|
|
10305
10329
|
props: {
|
|
10306
10330
|
artifacts: {},
|
|
@@ -10308,7 +10332,7 @@ var Hf = ["src"], Uf = {
|
|
|
10308
10332
|
onPreview: { type: Function }
|
|
10309
10333
|
},
|
|
10310
10334
|
setup(t) {
|
|
10311
|
-
return (n, r) => (k(), c("div",
|
|
10335
|
+
return (n, r) => (k(), c("div", H_, [(k(!0), c(e, null, P(t.artifacts, (e) => (k(), o(om, {
|
|
10312
10336
|
key: e.outputId,
|
|
10313
10337
|
file: e,
|
|
10314
10338
|
"on-download": t.onDownload,
|
|
@@ -10319,10 +10343,10 @@ var Hf = ["src"], Uf = {
|
|
|
10319
10343
|
"on-preview"
|
|
10320
10344
|
]))), 128))]));
|
|
10321
10345
|
}
|
|
10322
|
-
}),
|
|
10346
|
+
}), W_ = { class: "ai-assistant-message" }, G_ = {
|
|
10323
10347
|
key: 0,
|
|
10324
10348
|
class: "ai-assistant-message-content"
|
|
10325
|
-
},
|
|
10349
|
+
}, K_ = /* @__PURE__ */ m({
|
|
10326
10350
|
__name: "assistant-message",
|
|
10327
10351
|
props: {
|
|
10328
10352
|
content: {},
|
|
@@ -10340,8 +10364,8 @@ var Hf = ["src"], Uf = {
|
|
|
10340
10364
|
var e;
|
|
10341
10365
|
return (e = n.property) == null ? void 0 : e.artifacts;
|
|
10342
10366
|
});
|
|
10343
|
-
return (n, i) => (k(), c("div",
|
|
10344
|
-
t.content ? (k(), c("div",
|
|
10367
|
+
return (n, i) => (k(), c("div", W_, [
|
|
10368
|
+
t.content ? (k(), c("div", G_, [F(n.$slots, "default", C(h({ content: t.content })), () => [f(zu, {
|
|
10345
10369
|
content: t.content || "",
|
|
10346
10370
|
status: t.status,
|
|
10347
10371
|
type: z(bt).Text
|
|
@@ -10352,19 +10376,19 @@ var Hf = ["src"], Uf = {
|
|
|
10352
10376
|
])])])) : s("", !0),
|
|
10353
10377
|
t.toolCalls && t.toolCalls.length > 0 ? (k(!0), c(e, { key: 1 }, P(t.toolCalls, (e) => {
|
|
10354
10378
|
var n;
|
|
10355
|
-
return k(), o(
|
|
10379
|
+
return k(), o(V_, {
|
|
10356
10380
|
key: e.id,
|
|
10357
10381
|
status: e.toolMessage ? e.toolMessage.error ? z(J).Error : (n = e.toolMessage.status) == null ? t.status : n : z(J).Pending,
|
|
10358
10382
|
"tool-call": e
|
|
10359
10383
|
}, null, 8, ["status", "tool-call"]);
|
|
10360
10384
|
}), 128)) : s("", !0),
|
|
10361
|
-
r.value && r.value.length > 0 ? (k(), o(
|
|
10385
|
+
r.value && r.value.length > 0 ? (k(), o(U_, {
|
|
10362
10386
|
key: 2,
|
|
10363
10387
|
artifacts: r.value
|
|
10364
10388
|
}, null, 8, ["artifacts"])) : s("", !0)
|
|
10365
10389
|
]));
|
|
10366
10390
|
}
|
|
10367
|
-
}),
|
|
10391
|
+
}), q_ = { class: "ai-info-message" }, J_ = { class: "ai-info-message-body" }, Y_ = /* @__PURE__ */ m({
|
|
10368
10392
|
__name: "info-message",
|
|
10369
10393
|
props: {
|
|
10370
10394
|
content: {},
|
|
@@ -10378,18 +10402,18 @@ var Hf = ["src"], Uf = {
|
|
|
10378
10402
|
property: {}
|
|
10379
10403
|
},
|
|
10380
10404
|
setup(t) {
|
|
10381
|
-
return (n, r) => (k(), c("div",
|
|
10405
|
+
return (n, r) => (k(), c("div", q_, [l("div", J_, [(k(!0), c(e, null, P(Array.isArray(t.content) ? t.content : [t.content], (e, t) => (k(), c("div", {
|
|
10382
10406
|
key: t,
|
|
10383
10407
|
class: "ai-info-message-content"
|
|
10384
10408
|
}, R(e), 1))), 128))])]));
|
|
10385
10409
|
}
|
|
10386
|
-
}),
|
|
10410
|
+
}), X_ = { class: "ai-tool-approval-card" }, Z_ = { class: "ai-tool-approval-card__header" }, Q_ = { class: "ai-tool-approval-card__title-wrap" }, $_ = { class: "ai-tool-approval-card__title" }, ev = { class: "ai-tool-approval-card__fields" }, tv = { class: "ai-tool-approval-card__field" }, nv = { class: "ai-tool-approval-card__field" }, rv = {
|
|
10387
10411
|
key: 0,
|
|
10388
10412
|
class: "ai-tool-approval-card__processor"
|
|
10389
|
-
},
|
|
10413
|
+
}, iv = { class: "ai-tool-approval-card__processor-text" }, av = { class: "ai-tool-approval-card__actions" }, ov = {
|
|
10390
10414
|
key: 1,
|
|
10391
10415
|
class: "ai-tool-approval-card__cancel-wrap"
|
|
10392
|
-
},
|
|
10416
|
+
}, sv = 2e3, cv = /* @__PURE__ */ m({
|
|
10393
10417
|
__name: "tool-approval-card",
|
|
10394
10418
|
props: {
|
|
10395
10419
|
interrupt: {},
|
|
@@ -10430,7 +10454,7 @@ var Hf = ["src"], Uf = {
|
|
|
10430
10454
|
}, A = L(!1), j = L(!1), M, N = () => {
|
|
10431
10455
|
j.value = !0, clearTimeout(M), M = setTimeout(() => {
|
|
10432
10456
|
j.value = !1;
|
|
10433
|
-
},
|
|
10457
|
+
}, sv);
|
|
10434
10458
|
}, P = () => {
|
|
10435
10459
|
var e;
|
|
10436
10460
|
A.value || (A.value = !0, N(), (e = t.onInterruptResume) == null || e.call(t, {
|
|
@@ -10444,10 +10468,10 @@ var Hf = ["src"], Uf = {
|
|
|
10444
10468
|
payload: { interrupt_id: t.interrupt.id }
|
|
10445
10469
|
}, t.interrupt));
|
|
10446
10470
|
};
|
|
10447
|
-
return O(() => clearTimeout(M)), (t, r) => (k(), c("section",
|
|
10448
|
-
l("header",
|
|
10471
|
+
return O(() => clearTimeout(M)), (t, r) => (k(), c("section", X_, [
|
|
10472
|
+
l("header", Z_, [l("div", Q_, [
|
|
10449
10473
|
r[0] || (r[0] = l("span", { class: "ai-tool-approval-card__title-bar" }, null, -1)),
|
|
10450
|
-
l("span",
|
|
10474
|
+
l("span", $_, R(h.value.title || z(G)("算法方案评审单")), 1),
|
|
10451
10475
|
W(f(z(Vr), {
|
|
10452
10476
|
class: S(["ai-tool-approval-card__copy-icon", { "is-disabled": !C.value }]),
|
|
10453
10477
|
onClick: D
|
|
@@ -10481,9 +10505,9 @@ var Hf = ["src"], Uf = {
|
|
|
10481
10505
|
size: "mini",
|
|
10482
10506
|
theme: "primary"
|
|
10483
10507
|
})), d(" " + R(b.value), 1)], 2)]),
|
|
10484
|
-
l("dl",
|
|
10485
|
-
v.value ? (k(), c("div",
|
|
10486
|
-
l("div",
|
|
10508
|
+
l("dl", ev, [l("div", tv, [l("dt", null, R(z(G)("单据编号")), 1), l("dd", null, R(h.value.sn || "--"), 1)]), l("div", nv, [l("dt", null, R(z(G)("提交时间")), 1), l("dd", null, R(h.value.submit_time || "--"), 1)])]),
|
|
10509
|
+
v.value ? (k(), c("div", rv, [f(z(xr), { class: "ai-tool-approval-card__processor-icon" }), W((k(), c("span", iv, [d(R(z(G)("当前处理人")) + ":" + R(x.value), 1)])), [[z(Sa), X({}, z(n))]])])) : s("", !0),
|
|
10510
|
+
l("div", av, [f(z(le), {
|
|
10487
10511
|
class: "ai-tool-approval-card__detail",
|
|
10488
10512
|
disabled: !h.value.url,
|
|
10489
10513
|
theme: "primary",
|
|
@@ -10502,7 +10526,7 @@ var Hf = ["src"], Uf = {
|
|
|
10502
10526
|
}, {
|
|
10503
10527
|
default: U(() => [d(R(z(G)("取消审批")), 1)]),
|
|
10504
10528
|
_: 1
|
|
10505
|
-
}, 8, ["disabled", "loading"])) : e.readonly ? s("", !0) : W((k(), c("span",
|
|
10529
|
+
}, 8, ["disabled", "loading"])) : e.readonly ? s("", !0) : W((k(), c("span", ov, [f(z(le), {
|
|
10506
10530
|
class: "ai-tool-approval-card__cancel",
|
|
10507
10531
|
disabled: "",
|
|
10508
10532
|
outline: ""
|
|
@@ -10516,13 +10540,13 @@ var Hf = ["src"], Uf = {
|
|
|
10516
10540
|
})]])])
|
|
10517
10541
|
]));
|
|
10518
10542
|
}
|
|
10519
|
-
}),
|
|
10543
|
+
}), lv = { class: "ai-interrupt-message" }, uv = {
|
|
10520
10544
|
key: 0,
|
|
10521
10545
|
class: "ai-interrupt-message__content"
|
|
10522
|
-
},
|
|
10546
|
+
}, dv = {
|
|
10523
10547
|
key: 1,
|
|
10524
10548
|
class: "ai-interrupt-message__fallback"
|
|
10525
|
-
},
|
|
10549
|
+
}, fv = /* @__PURE__ */ m({
|
|
10526
10550
|
__name: "interrupt-message",
|
|
10527
10551
|
props: {
|
|
10528
10552
|
content: {},
|
|
@@ -10537,14 +10561,14 @@ var Hf = ["src"], Uf = {
|
|
|
10537
10561
|
onInterruptResume: { type: Function }
|
|
10538
10562
|
},
|
|
10539
10563
|
setup(t) {
|
|
10540
|
-
let n = { [yt.AIDevToolApproval]:
|
|
10564
|
+
let n = { [yt.AIDevToolApproval]: cv }, r = (e) => ({
|
|
10541
10565
|
id: e.interruptId || e.id || "",
|
|
10542
10566
|
reason: yt.AIDevToolApproval,
|
|
10543
10567
|
toolCallId: "",
|
|
10544
10568
|
metadata: e.payload.metadata
|
|
10545
10569
|
}), i = {
|
|
10546
10570
|
[yt.AIDevToolApproval]: (e) => ({
|
|
10547
|
-
component:
|
|
10571
|
+
component: cv,
|
|
10548
10572
|
props: {
|
|
10549
10573
|
interrupt: r(e),
|
|
10550
10574
|
onInterruptResume: d.onInterruptResume,
|
|
@@ -10554,7 +10578,7 @@ var Hf = ["src"], Uf = {
|
|
|
10554
10578
|
[yt.UserQuestion]: (e) => {
|
|
10555
10579
|
var t, n;
|
|
10556
10580
|
return {
|
|
10557
|
-
component:
|
|
10581
|
+
component: lh,
|
|
10558
10582
|
props: {
|
|
10559
10583
|
answers: (t = (n = e.payload) == null ? void 0 : n.answers) == null ? [] : t,
|
|
10560
10584
|
status: e.status
|
|
@@ -10573,13 +10597,13 @@ var Hf = ["src"], Uf = {
|
|
|
10573
10597
|
let r = (t = d.content) == null ? void 0 : t.result;
|
|
10574
10598
|
if (r) return (n = i[r.reason]) == null ? void 0 : n.call(i, r);
|
|
10575
10599
|
});
|
|
10576
|
-
return (n, r) => (k(), c("div",
|
|
10577
|
-
p.value ? (k(), c("div",
|
|
10600
|
+
return (n, r) => (k(), c("div", lv, [
|
|
10601
|
+
p.value ? (k(), c("div", uv, R(p.value), 1)) : s("", !0),
|
|
10578
10602
|
(k(!0), c(e, null, P(f.value, (n) => (k(), c(e, { key: n.toolCallId }, [m(n) ? (k(), o(I(m(n)), {
|
|
10579
10603
|
key: 0,
|
|
10580
10604
|
interrupt: n,
|
|
10581
10605
|
"on-interrupt-resume": t.onInterruptResume
|
|
10582
|
-
}, null, 40, ["interrupt", "on-interrupt-resume"])) : g(n) ? s("", !0) : (k(), c("div",
|
|
10606
|
+
}, null, 40, ["interrupt", "on-interrupt-resume"])) : g(n) ? s("", !0) : (k(), c("div", dv, R(n.message || z(G)("暂不支持的中断消息")), 1))], 64))), 128)),
|
|
10583
10607
|
_.value ? (k(), o(I(_.value.component), C(b({ key: 1 }, _.value.props)), u({ _: 2 }, [n.$slots.answeredQuestion ? {
|
|
10584
10608
|
name: "answer",
|
|
10585
10609
|
fn: U((e) => [F(n.$slots, "answeredQuestion", C(h(e)))]),
|
|
@@ -10587,19 +10611,19 @@ var Hf = ["src"], Uf = {
|
|
|
10587
10611
|
} : void 0]), 1040)) : s("", !0)
|
|
10588
10612
|
]));
|
|
10589
10613
|
}
|
|
10590
|
-
}),
|
|
10614
|
+
}), pv = { class: "ai-loading-message" }, mv = /* @__PURE__ */ m({
|
|
10591
10615
|
__name: "loading-message",
|
|
10592
10616
|
setup(e) {
|
|
10593
10617
|
let t = Ui();
|
|
10594
10618
|
return E(() => {
|
|
10595
10619
|
var e, n;
|
|
10596
10620
|
t == null || (e = t.value) == null || (n = e.jumpToBottom) == null || n.call(e);
|
|
10597
|
-
}), (e, t) => (k(), c("div",
|
|
10621
|
+
}), (e, t) => (k(), c("div", pv, [f(si, { size: 18 }), F(e.$slots, "default", {}, () => [d(R(z(G)("请求中...")), 1)])]));
|
|
10598
10622
|
}
|
|
10599
|
-
}),
|
|
10623
|
+
}), hv = { class: "ai-reasoning-message" }, gv = {
|
|
10600
10624
|
key: 0,
|
|
10601
10625
|
class: "ai-reasoning-message-title-icon"
|
|
10602
|
-
},
|
|
10626
|
+
}, _v = { class: "ai-reasoning-message-title-text" }, vv = { class: "ai-reasoning-message-content" }, yv = /* @__PURE__ */ m({
|
|
10603
10627
|
__name: "reasoning-message",
|
|
10604
10628
|
props: /* @__PURE__ */ y({
|
|
10605
10629
|
duration: {},
|
|
@@ -10636,7 +10660,7 @@ var Hf = ["src"], Uf = {
|
|
|
10636
10660
|
});
|
|
10637
10661
|
return (n, i) => {
|
|
10638
10662
|
var a;
|
|
10639
|
-
return k(), c("div",
|
|
10663
|
+
return k(), c("div", hv, [l("div", {
|
|
10640
10664
|
class: S(["ai-reasoning-message-title", {
|
|
10641
10665
|
"ai-reasoning-message-title-collapsed": r.value,
|
|
10642
10666
|
"is-thinking": t.status === z(J).Pending || t.status === z(J).Streaming,
|
|
@@ -10645,10 +10669,10 @@ var Hf = ["src"], Uf = {
|
|
|
10645
10669
|
}]),
|
|
10646
10670
|
onClick: i[0] || (i[0] = (e) => r.value = !r.value)
|
|
10647
10671
|
}, [
|
|
10648
|
-
t.status === z(J).Pending || t.status === z(J).Streaming ? (k(), c("span",
|
|
10649
|
-
l("span",
|
|
10672
|
+
t.status === z(J).Pending || t.status === z(J).Streaming ? (k(), c("span", gv, [f(si)])) : s("", !0),
|
|
10673
|
+
l("span", _v, R(u.value), 1),
|
|
10650
10674
|
l("span", { class: S(["ai-reasoning-message-title-icon collapsed-icon", { "is-collapsed": r.value }]) }, [f(z(jr))], 2)
|
|
10651
|
-
], 2), W(l("div",
|
|
10675
|
+
], 2), W(l("div", vv, [t.status === z(J).Error ? (k(), o(_u, {
|
|
10652
10676
|
key: 0,
|
|
10653
10677
|
content: ((a = t.content) == null ? void 0 : a.join("\n")) || ""
|
|
10654
10678
|
}, null, 8, ["content"])) : (k(!0), c(e, { key: 1 }, P(Array.isArray(t.content) ? t.content : [t.content], (e) => (k(), o(Iu, {
|
|
@@ -10657,38 +10681,38 @@ var Hf = ["src"], Uf = {
|
|
|
10657
10681
|
}, null, 8, ["content"]))), 128))], 512), [[ae, !r.value]])]);
|
|
10658
10682
|
};
|
|
10659
10683
|
}
|
|
10660
|
-
}),
|
|
10684
|
+
}), bv = { class: "ai-key-value-content" }, xv = {
|
|
10661
10685
|
key: 0,
|
|
10662
10686
|
class: "ai-key-value-title"
|
|
10663
|
-
},
|
|
10687
|
+
}, Sv = { class: "ai-key-value-content" }, Cv = { class: "item-key" }, wv = { class: "item-value" }, Tv = /* @__PURE__ */ m({
|
|
10664
10688
|
__name: "key-value-content",
|
|
10665
10689
|
props: {
|
|
10666
10690
|
content: {},
|
|
10667
10691
|
title: {}
|
|
10668
10692
|
},
|
|
10669
10693
|
setup(t) {
|
|
10670
|
-
return (n, r) => (k(), c("div",
|
|
10694
|
+
return (n, r) => (k(), c("div", bv, [t.title ? (k(), c("div", xv, [f(z(Ar)), d(" " + R(t.title), 1)])) : s("", !0), l("div", Sv, [(k(!0), c(e, null, P(t.content, (e) => (k(), c("div", {
|
|
10671
10695
|
key: e.key,
|
|
10672
10696
|
class: "key-value-item"
|
|
10673
10697
|
}, [
|
|
10674
|
-
l("div",
|
|
10698
|
+
l("div", Cv, R(e.key), 1),
|
|
10675
10699
|
r[0] || (r[0] = d(" : ", -1)),
|
|
10676
|
-
l("div",
|
|
10700
|
+
l("div", wv, R(e.value), 1)
|
|
10677
10701
|
]))), 128))])]));
|
|
10678
10702
|
}
|
|
10679
|
-
}),
|
|
10703
|
+
}), Ev = { class: "ai-text-content" }, Dv = /* @__PURE__ */ m({
|
|
10680
10704
|
__name: "text-content",
|
|
10681
10705
|
props: { content: {} },
|
|
10682
10706
|
setup(e) {
|
|
10683
|
-
return (t, n) => (k(), c("div",
|
|
10707
|
+
return (t, n) => (k(), c("div", Ev, R(e.content), 1));
|
|
10684
10708
|
}
|
|
10685
|
-
}),
|
|
10709
|
+
}), Ov = { class: "ai-user-message" }, kv = {
|
|
10686
10710
|
key: 0,
|
|
10687
10711
|
class: "ai-user-message-binary-files"
|
|
10688
|
-
},
|
|
10712
|
+
}, Av = {
|
|
10689
10713
|
key: 1,
|
|
10690
10714
|
class: "ai-user-message-content"
|
|
10691
|
-
},
|
|
10715
|
+
}, jv = { class: "user-edit-footer" }, Mv = /* @__PURE__ */ m({
|
|
10692
10716
|
__name: "user-message",
|
|
10693
10717
|
props: {
|
|
10694
10718
|
content: {},
|
|
@@ -10795,7 +10819,7 @@ var Hf = ["src"], Uf = {
|
|
|
10795
10819
|
}();
|
|
10796
10820
|
return (n, i) => {
|
|
10797
10821
|
var a, v;
|
|
10798
|
-
return k(), c("div",
|
|
10822
|
+
return k(), c("div", Ov, [g.value && typeof g.value == "string" ? (k(), o(Tf, {
|
|
10799
10823
|
key: 0,
|
|
10800
10824
|
class: "ai-user-message-cite",
|
|
10801
10825
|
content: g.value
|
|
@@ -10803,7 +10827,7 @@ var Hf = ["src"], Uf = {
|
|
|
10803
10827
|
class: "user-shortcut-render",
|
|
10804
10828
|
onClose: D,
|
|
10805
10829
|
onSubmit: O
|
|
10806
|
-
}), null, 16)) : (k(), o(
|
|
10830
|
+
}), null, 16)) : (k(), o(Qp, {
|
|
10807
10831
|
key: 1,
|
|
10808
10832
|
ref_key: "chatInputRef",
|
|
10809
10833
|
ref: m,
|
|
@@ -10814,7 +10838,7 @@ var Hf = ["src"], Uf = {
|
|
|
10814
10838
|
"on-send-message": A,
|
|
10815
10839
|
"support-upload": (a = (v = z(r)) == null ? void 0 : v.supportUpload.value) == null ? !1 : a
|
|
10816
10840
|
}, {
|
|
10817
|
-
"send-icon": U(() => [l("div",
|
|
10841
|
+
"send-icon": U(() => [l("div", jv, [f(z(le), {
|
|
10818
10842
|
size: "small",
|
|
10819
10843
|
onClick: E
|
|
10820
10844
|
}, {
|
|
@@ -10834,7 +10858,7 @@ var Hf = ["src"], Uf = {
|
|
|
10834
10858
|
"default-upload-files",
|
|
10835
10859
|
"support-upload"
|
|
10836
10860
|
]))], 64)) : (k(), c(e, { key: 1 }, [
|
|
10837
|
-
y.value.length ? (k(), c(e, { key: 0 }, [x.value.length ? (k(), c("div",
|
|
10861
|
+
y.value.length ? (k(), c(e, { key: 0 }, [x.value.length ? (k(), c("div", kv, [f(np, {
|
|
10838
10862
|
files: x.value,
|
|
10839
10863
|
readonly: !0
|
|
10840
10864
|
}, null, 8, ["files"])])) : s("", !0), (k(!0), c(e, null, P(S.value, (e, t) => {
|
|
@@ -10847,15 +10871,15 @@ var Hf = ["src"], Uf = {
|
|
|
10847
10871
|
readonly: !0
|
|
10848
10872
|
}, null, 8, ["files"])]);
|
|
10849
10873
|
}), 128))], 64)) : s("", !0),
|
|
10850
|
-
g.value || C.value.length ? (k(), c("div",
|
|
10874
|
+
g.value || C.value.length ? (k(), c("div", Av, [Array.isArray(g.value) ? (k(), o(Tv, {
|
|
10851
10875
|
key: 0,
|
|
10852
10876
|
content: g.value,
|
|
10853
10877
|
title: h.value
|
|
10854
|
-
}, null, 8, ["content", "title"])) : t.content ? (k(!0), c(e, { key: 1 }, P(C.value, (e, t) => (k(), o(
|
|
10878
|
+
}, null, 8, ["content", "title"])) : t.content ? (k(!0), c(e, { key: 1 }, P(C.value, (e, t) => (k(), o(Dv, {
|
|
10855
10879
|
key: t,
|
|
10856
10880
|
content: e
|
|
10857
10881
|
}, null, 8, ["content"]))), 128)) : s("", !0)])) : s("", !0),
|
|
10858
|
-
t.messageToolsStatus === z(yf).Hidden ? s("", !0) : (k(), o(
|
|
10882
|
+
t.messageToolsStatus === z(yf).Hidden ? s("", !0) : (k(), o(og, {
|
|
10859
10883
|
key: 2,
|
|
10860
10884
|
class: "ai-user-message-tools",
|
|
10861
10885
|
"message-tools": z(Mt),
|
|
@@ -10864,7 +10888,7 @@ var Hf = ["src"], Uf = {
|
|
|
10864
10888
|
"tippy-options": t.tippyOptions,
|
|
10865
10889
|
"update-tools": []
|
|
10866
10890
|
}, {
|
|
10867
|
-
prepend: U(() => [f(
|
|
10891
|
+
prepend: U(() => [f(Hh, { "created-at": t.createdAt }, null, 8, ["created-at"])]),
|
|
10868
10892
|
_: 1
|
|
10869
10893
|
}, 8, [
|
|
10870
10894
|
"message-tools",
|
|
@@ -10874,7 +10898,7 @@ var Hf = ["src"], Uf = {
|
|
|
10874
10898
|
], 64))]);
|
|
10875
10899
|
};
|
|
10876
10900
|
}
|
|
10877
|
-
}),
|
|
10901
|
+
}), Nv = /* @__PURE__ */ m({
|
|
10878
10902
|
__name: "message-render",
|
|
10879
10903
|
props: {
|
|
10880
10904
|
messageToolsStatus: {},
|
|
@@ -10888,40 +10912,40 @@ var Hf = ["src"], Uf = {
|
|
|
10888
10912
|
setup(e) {
|
|
10889
10913
|
let t = e, n = ie(), r = a(() => {
|
|
10890
10914
|
switch (t.message.role) {
|
|
10891
|
-
case q.User: return g(
|
|
10915
|
+
case q.User: return g(Mv, X(X({}, t.message), {}, {
|
|
10892
10916
|
onAction: t.onAction,
|
|
10893
10917
|
onInputConfirm: t.onInputConfirm,
|
|
10894
10918
|
onShortcutConfirm: t.onShortcutConfirm,
|
|
10895
10919
|
messageToolsStatus: t.messageToolsStatus,
|
|
10896
10920
|
tippyOptions: t.tippyOptions
|
|
10897
10921
|
}));
|
|
10898
|
-
case q.Assistant: return g(
|
|
10922
|
+
case q.Assistant: return g(K_, t.message, { default: (e) => F(n, "default", e, () => [g(zu, {
|
|
10899
10923
|
content: t.message.content || "",
|
|
10900
10924
|
status: t.message.status
|
|
10901
10925
|
}, n.codeHeader ? { codeHeader: (e) => {
|
|
10902
10926
|
var t;
|
|
10903
10927
|
return (t = n.codeHeader) == null ? void 0 : t.call(n, e);
|
|
10904
10928
|
} } : void 0)]) });
|
|
10905
|
-
case q.Info: return g(
|
|
10906
|
-
case q.Reasoning: return g(
|
|
10907
|
-
case q.Tool: return g(
|
|
10908
|
-
case q.Activity: return g(
|
|
10909
|
-
case q.Interrupt: return g(
|
|
10929
|
+
case q.Info: return g(Y_, t.message);
|
|
10930
|
+
case q.Reasoning: return g(yv, t.message);
|
|
10931
|
+
case q.Tool: return g(F_, t.message);
|
|
10932
|
+
case q.Activity: return g(D_, X(X({}, t.message), {}, { onInterruptResume: t.onInterruptResume }));
|
|
10933
|
+
case q.Interrupt: return g(fv, X(X({}, t.message), {}, { onInterruptResume: t.onInterruptResume }), n.answeredQuestion ? { answeredQuestion: (e) => {
|
|
10910
10934
|
var t;
|
|
10911
10935
|
return (t = n.answeredQuestion) == null ? void 0 : t.call(n, e);
|
|
10912
10936
|
} } : void 0);
|
|
10913
|
-
case q.Loading: return g(
|
|
10937
|
+
case q.Loading: return g(mv, t.message);
|
|
10914
10938
|
default: return null;
|
|
10915
10939
|
}
|
|
10916
10940
|
});
|
|
10917
10941
|
return (e, t) => (k(), o(I(r.value)));
|
|
10918
10942
|
}
|
|
10919
|
-
}),
|
|
10943
|
+
}), Pv = [
|
|
10920
10944
|
"id",
|
|
10921
10945
|
"data-message-group-id",
|
|
10922
10946
|
"onMouseenter",
|
|
10923
10947
|
"onMouseleave"
|
|
10924
|
-
],
|
|
10948
|
+
], Fv = ["data-message-id"], Iv = { class: "ai-message-fixed-bottom" }, Lv = /* @__PURE__ */ m({
|
|
10925
10949
|
__name: "message-container",
|
|
10926
10950
|
props: /* @__PURE__ */ y({
|
|
10927
10951
|
enableSelection: {
|
|
@@ -11053,7 +11077,7 @@ var Hf = ["src"], Uf = {
|
|
|
11053
11077
|
message: e,
|
|
11054
11078
|
messageToolsStatus: t.messageToolsStatus,
|
|
11055
11079
|
onInterruptResume: n.onInterruptResume
|
|
11056
|
-
}), () => [(k(), o(
|
|
11080
|
+
}), () => [(k(), o(Nv, {
|
|
11057
11081
|
key: a,
|
|
11058
11082
|
message: e,
|
|
11059
11083
|
"message-tools-status": t.messageToolsStatus,
|
|
@@ -11074,7 +11098,7 @@ var Hf = ["src"], Uf = {
|
|
|
11074
11098
|
"on-interrupt-resume",
|
|
11075
11099
|
"on-shortcut-confirm",
|
|
11076
11100
|
"tippy-options"
|
|
11077
|
-
]))])], 8,
|
|
11101
|
+
]))])], 8, Fv))), 128)), t.renderMode !== z(Lt).Share && !(t.enableSelection && a.type !== z(q).Loading) && !a.pause && a.type === z(q).Assistant && t.messageToolsStatus !== z(yf).Hidden ? (k(), o(og, {
|
|
11078
11102
|
key: 0,
|
|
11079
11103
|
"message-tools": x.value,
|
|
11080
11104
|
"message-tools-status": t.messageToolsStatus,
|
|
@@ -11087,7 +11111,7 @@ var Hf = ["src"], Uf = {
|
|
|
11087
11111
|
return (i = n.onAgentFeedback) == null ? void 0 : i.call(n, e, a.messages, t, r);
|
|
11088
11112
|
}
|
|
11089
11113
|
}, {
|
|
11090
|
-
append: U(() => [f(
|
|
11114
|
+
append: U(() => [f(Hh, { "created-at": d(a.messages) }, null, 8, ["created-at"])]),
|
|
11091
11115
|
_: 2
|
|
11092
11116
|
}, 1032, [
|
|
11093
11117
|
"message-tools",
|
|
@@ -11097,14 +11121,14 @@ var Hf = ["src"], Uf = {
|
|
|
11097
11121
|
"tippy-options",
|
|
11098
11122
|
"update-tools",
|
|
11099
11123
|
"onFeedback"
|
|
11100
|
-
])) : s("", !0)], 6)])], 44,
|
|
11124
|
+
])) : s("", !0)], 6)])], 44, Pv))), 128)),
|
|
11101
11125
|
l("div", {
|
|
11102
11126
|
ref_key: "messageContainerBottomRef",
|
|
11103
11127
|
ref: m,
|
|
11104
11128
|
class: "message-container-bottom",
|
|
11105
11129
|
tabindex: "0"
|
|
11106
11130
|
}, null, 512),
|
|
11107
|
-
l("div",
|
|
11131
|
+
l("div", Iv, [W(f(ei, {
|
|
11108
11132
|
loading: t.messageStatus === z(J).StopLoading,
|
|
11109
11133
|
title: t.messageStatus === z(J).StopLoading ? z(G)("正在停止") : z(G)("停止生成"),
|
|
11110
11134
|
onClick: a[0] || (a[0] = (e) => r.$emit("stopStreaming"))
|
|
@@ -11120,16 +11144,16 @@ var Hf = ["src"], Uf = {
|
|
|
11120
11144
|
}, 8, ["title"]), [[ae, z(_)]])])
|
|
11121
11145
|
], 512));
|
|
11122
11146
|
}
|
|
11123
|
-
}),
|
|
11147
|
+
}), Rv = { class: "ai-execution-summary" }, zv = {
|
|
11124
11148
|
key: 0,
|
|
11125
11149
|
class: "ai-execution-summary-header"
|
|
11126
|
-
},
|
|
11150
|
+
}, Bv = { class: "ai-execution-summary-content" }, Vv = ["onMouseenter"], Hv = { class: "content-item-header" }, Uv = { class: "content-item-title" }, Wv = { class: "content-item-messages" }, Gv = {
|
|
11127
11151
|
key: 0,
|
|
11128
11152
|
class: "timeline-line"
|
|
11129
|
-
},
|
|
11153
|
+
}, Kv = {
|
|
11130
11154
|
key: 1,
|
|
11131
11155
|
class: "ai-execution-summary-content-empty"
|
|
11132
|
-
},
|
|
11156
|
+
}, qv = { class: "ai-execution-summary-content-empty-text" }, Jv = /* @__PURE__ */ m({
|
|
11133
11157
|
__name: "execution-summary",
|
|
11134
11158
|
props: { messageGroups: {} },
|
|
11135
11159
|
emits: ["locateMessageGroup", "updateKeyword"],
|
|
@@ -11143,21 +11167,21 @@ var Hf = ["src"], Uf = {
|
|
|
11143
11167
|
}, h = () => {
|
|
11144
11168
|
a.value = "", r("updateKeyword", "");
|
|
11145
11169
|
};
|
|
11146
|
-
return (n, g) => (k(), c("div",
|
|
11170
|
+
return (n, g) => (k(), c("div", Rv, [t.messageGroups.length ? (k(), c("div", zv, [f(z(pe), {
|
|
11147
11171
|
modelValue: z(a),
|
|
11148
11172
|
"onUpdate:modelValue": [g[0] || (g[0] = (e) => v(a) ? a.value = e : null), g[1] || (g[1] = (e) => r("updateKeyword", e))],
|
|
11149
11173
|
class: "ai-execution-summary-header-input",
|
|
11150
11174
|
clearable: "",
|
|
11151
11175
|
placeholder: z(G)("搜索 关键字")
|
|
11152
|
-
}, null, 8, ["modelValue", "placeholder"])])) : s("", !0), l("div",
|
|
11176
|
+
}, null, 8, ["modelValue", "placeholder"])])) : s("", !0), l("div", Bv, [t.messageGroups.length ? (k(!0), c(e, { key: 0 }, P(t.messageGroups, (n, r) => (k(), c("div", {
|
|
11153
11177
|
key: n.uid,
|
|
11154
11178
|
class: "ai-execution-summary-content-item",
|
|
11155
11179
|
onMouseenter: (e) => u.value = n.uid,
|
|
11156
11180
|
onMouseleave: g[2] || (g[2] = (e) => u.value = void 0)
|
|
11157
11181
|
}, [
|
|
11158
|
-
l("div",
|
|
11182
|
+
l("div", Hv, [
|
|
11159
11183
|
g[3] || (g[3] = l("span", { class: "timeline-dot" }, null, -1)),
|
|
11160
|
-
W((k(), c("span",
|
|
11184
|
+
W((k(), c("span", Uv, [d(R(typeof n.userMessageTitle == "number" ? p(n.userMessageTitle) : n.userMessageTitle), 1)])), [[z(Sa), X({}, z(i))]]),
|
|
11161
11185
|
W(f(z(le), {
|
|
11162
11186
|
class: "content-item-locate",
|
|
11163
11187
|
text: "",
|
|
@@ -11168,16 +11192,16 @@ var Hf = ["src"], Uf = {
|
|
|
11168
11192
|
_: 1
|
|
11169
11193
|
}, 8, ["onClick"]), [[ae, u.value === n.uid]])
|
|
11170
11194
|
]),
|
|
11171
|
-
l("div",
|
|
11195
|
+
l("div", Wv, [(k(!0), c(e, null, P(n.messages, (e, t) => (k(), o(Nv, {
|
|
11172
11196
|
key: t,
|
|
11173
11197
|
message: e
|
|
11174
11198
|
}, null, 8, ["message"]))), 128))]),
|
|
11175
|
-
r < t.messageGroups.length - 1 ? (k(), c("div",
|
|
11176
|
-
], 40,
|
|
11199
|
+
r < t.messageGroups.length - 1 ? (k(), c("div", Gv)) : s("", !0)
|
|
11200
|
+
], 40, Vv))), 128)) : (k(), c("div", Kv, [f(z(de), {
|
|
11177
11201
|
class: "empty-exception",
|
|
11178
11202
|
scene: "part",
|
|
11179
11203
|
type: "empty"
|
|
11180
|
-
}), l("div",
|
|
11204
|
+
}), l("div", qv, [d(R(z(a) ? z(G)("搜索结果为空") : z(G)("暂无数据")) + " ", 1), z(a) ? (k(), o(z(le), {
|
|
11181
11205
|
key: 0,
|
|
11182
11206
|
text: "",
|
|
11183
11207
|
theme: "primary",
|
|
@@ -11187,7 +11211,7 @@ var Hf = ["src"], Uf = {
|
|
|
11187
11211
|
_: 1
|
|
11188
11212
|
})) : s("", !0)])]))])]));
|
|
11189
11213
|
}
|
|
11190
|
-
}),
|
|
11214
|
+
}), Yv = { class: "ai-selection-footer" }, Xv = { class: "ai-selection-footer-left" }, Zv = { class: "select-all-text" }, Qv = { class: "ai-selection-footer-right" }, $v = /* @__PURE__ */ m({
|
|
11191
11215
|
__name: "selection-footer",
|
|
11192
11216
|
props: {
|
|
11193
11217
|
isAllSelected: { type: Boolean },
|
|
@@ -11201,10 +11225,10 @@ var Hf = ["src"], Uf = {
|
|
|
11201
11225
|
],
|
|
11202
11226
|
setup(e, { emit: t }) {
|
|
11203
11227
|
let n = t;
|
|
11204
|
-
return (t, r) => (k(), c("div",
|
|
11228
|
+
return (t, r) => (k(), c("div", Yv, [l("div", Xv, [f(z(ue), {
|
|
11205
11229
|
"model-value": e.isAllSelected,
|
|
11206
11230
|
"onUpdate:modelValue": r[0] || (r[0] = (e) => n("toggle-all", e))
|
|
11207
|
-
}, null, 8, ["model-value"]), l("span",
|
|
11231
|
+
}, null, 8, ["model-value"]), l("span", Zv, R(z(G)("全选")), 1)]), l("div", Qv, [f(z(le), {
|
|
11208
11232
|
disabled: e.loading,
|
|
11209
11233
|
onClick: r[1] || (r[1] = (e) => n("cancel"))
|
|
11210
11234
|
}, {
|
|
@@ -11220,16 +11244,16 @@ var Hf = ["src"], Uf = {
|
|
|
11220
11244
|
_: 1
|
|
11221
11245
|
}, 8, ["disabled", "loading"])])]));
|
|
11222
11246
|
}
|
|
11223
|
-
}),
|
|
11247
|
+
}), ey = ["data-ai-size"], ty = {
|
|
11224
11248
|
key: 0,
|
|
11225
11249
|
class: "ai-chat-container-loading"
|
|
11226
|
-
},
|
|
11250
|
+
}, ny = { class: "screen-wrapper" }, ry = {
|
|
11227
11251
|
key: 1,
|
|
11228
11252
|
class: "ai-welcome-content"
|
|
11229
|
-
},
|
|
11253
|
+
}, iy = { class: "ai-welcome-title" }, ay = {
|
|
11230
11254
|
key: 0,
|
|
11231
11255
|
class: "ai-welcome-remark"
|
|
11232
|
-
},
|
|
11256
|
+
}, oy = /* @__PURE__ */ m({
|
|
11233
11257
|
__name: "chat-container",
|
|
11234
11258
|
props: /* @__PURE__ */ y({
|
|
11235
11259
|
asideCollapsed: {
|
|
@@ -11423,7 +11447,7 @@ var Hf = ["src"], Uf = {
|
|
|
11423
11447
|
var n;
|
|
11424
11448
|
let r = Pe.value;
|
|
11425
11449
|
return (n = p.onSendMessage) == null ? void 0 : n.call(p, e, t, r ? {
|
|
11426
|
-
payload:
|
|
11450
|
+
payload: $m(r),
|
|
11427
11451
|
interrupt: r
|
|
11428
11452
|
} : void 0);
|
|
11429
11453
|
});
|
|
@@ -11491,7 +11515,7 @@ var Hf = ["src"], Uf = {
|
|
|
11491
11515
|
"--resize-main-width": Ce.value,
|
|
11492
11516
|
"--resize-aside-width": we.value
|
|
11493
11517
|
})
|
|
11494
|
-
}, [t.chatLoading ? (k(), c("div",
|
|
11518
|
+
}, [t.chatLoading ? (k(), c("div", ty, [f(fm)])) : (k(), o(z(_e), b({
|
|
11495
11519
|
key: 1,
|
|
11496
11520
|
class: ["ai-chat-container-resize-layout", {
|
|
11497
11521
|
"ai-is-collapse": z(oe) || z(ie).length === 0,
|
|
@@ -11518,7 +11542,7 @@ var Hf = ["src"], Uf = {
|
|
|
11518
11542
|
type: "unborder-card",
|
|
11519
11543
|
onChange: Ke
|
|
11520
11544
|
}, {
|
|
11521
|
-
setting: U(() => [l("div",
|
|
11545
|
+
setting: U(() => [l("div", ny, [f(wa, {
|
|
11522
11546
|
class: "screen-btn",
|
|
11523
11547
|
"tippy-options": X(X({}, ne.value), {}, { content: z(v) ? z(G)("退出全屏") : z(G)("全屏") })
|
|
11524
11548
|
}, {
|
|
@@ -11559,13 +11583,13 @@ var Hf = ["src"], Uf = {
|
|
|
11559
11583
|
}, null, 8, ["label", "name"]))), 128))]),
|
|
11560
11584
|
_: 1
|
|
11561
11585
|
}, 8, ["active"]),
|
|
11562
|
-
((n = z(H)) == null ? void 0 : n.name) === z("execution") && t.executionTabVisible !== !1 ? (k(), c(e, { key: 0 }, [z(oe) ? s("", !0) : (k(), o(
|
|
11586
|
+
((n = z(H)) == null ? void 0 : n.name) === z("execution") && t.executionTabVisible !== !1 ? (k(), c(e, { key: 0 }, [z(oe) ? s("", !0) : (k(), o(Jv, {
|
|
11563
11587
|
key: 0,
|
|
11564
11588
|
"message-groups": z(Ee),
|
|
11565
11589
|
style: { height: "calc(100% - 40px)" },
|
|
11566
11590
|
onLocateMessageGroup: We,
|
|
11567
11591
|
onUpdateKeyword: qe
|
|
11568
|
-
}, null, 8, ["message-groups"]))], 64)) : ((r = z(H)) == null ? void 0 : r.name) === z("file-artifact") ? (k(), o(
|
|
11592
|
+
}, null, 8, ["message-groups"]))], 64)) : ((r = z(H)) == null ? void 0 : r.name) === z("file-artifact") ? (k(), o(Ym, {
|
|
11569
11593
|
key: 1,
|
|
11570
11594
|
"active-id": z(Fe),
|
|
11571
11595
|
artifacts: z(De),
|
|
@@ -11617,7 +11641,7 @@ var Hf = ["src"], Uf = {
|
|
|
11617
11641
|
onUserShortcutConfirm: t.onUserShortcutConfirm
|
|
11618
11642
|
})), () => {
|
|
11619
11643
|
var e;
|
|
11620
|
-
return [(e = t.messages) != null && e.length ? (k(), o(
|
|
11644
|
+
return [(e = t.messages) != null && e.length ? (k(), o(Lv, {
|
|
11621
11645
|
key: 0,
|
|
11622
11646
|
"selected-user-messages": he.value,
|
|
11623
11647
|
"onUpdate:selectedUserMessages": i[1] || (i[1] = (e) => he.value = e),
|
|
@@ -11662,17 +11686,17 @@ var Hf = ["src"], Uf = {
|
|
|
11662
11686
|
"render-mode",
|
|
11663
11687
|
"update-tools"
|
|
11664
11688
|
])) : s("", !0)];
|
|
11665
|
-
}) : (k(), c("div",
|
|
11689
|
+
}) : (k(), c("div", ry, [F(n.$slots, "welcome", C(h({
|
|
11666
11690
|
openingRemark: t.openingRemark,
|
|
11667
11691
|
welcomeTitle: t.welcomeTitle
|
|
11668
11692
|
})), () => {
|
|
11669
11693
|
var e;
|
|
11670
11694
|
return [
|
|
11671
11695
|
f(z(Jt)),
|
|
11672
|
-
l("h2",
|
|
11673
|
-
t.openingRemark ? (k(), c("div",
|
|
11696
|
+
l("h2", iy, R((e = t.welcomeTitle) == null ? z(G)("你好,我是小鲸") : e), 1),
|
|
11697
|
+
t.openingRemark ? (k(), c("div", ay, [f(zu, { content: t.openingRemark }, null, 8, ["content"])])) : s("", !0)
|
|
11674
11698
|
];
|
|
11675
|
-
})])), m.value === z(Lt).Share ? s("", !0) : (k(), c(e, { key: 2 }, [z(Oe) ? (k(), o(
|
|
11699
|
+
})])), m.value === z(Lt).Share ? s("", !0) : (k(), c(e, { key: 2 }, [z(Oe) ? (k(), o($v, {
|
|
11676
11700
|
key: 0,
|
|
11677
11701
|
"is-all-selected": z(ke),
|
|
11678
11702
|
loading: !1,
|
|
@@ -11688,7 +11712,7 @@ var Hf = ["src"], Uf = {
|
|
|
11688
11712
|
class: { "is-welcome-overlay": !((u = t.messages) != null && u.length) },
|
|
11689
11713
|
onClose: Re,
|
|
11690
11714
|
onSubmit: ze
|
|
11691
|
-
}), null, 16, ["class"])) : (k(), o(
|
|
11715
|
+
}), null, 16, ["class"])) : (k(), o(Qp, {
|
|
11692
11716
|
key: 2,
|
|
11693
11717
|
cite: A.value,
|
|
11694
11718
|
"onUpdate:cite": i[3] || (i[3] = (e) => A.value = e),
|
|
@@ -11714,7 +11738,7 @@ var Hf = ["src"], Uf = {
|
|
|
11714
11738
|
onSelectShortcut: Ve,
|
|
11715
11739
|
"onUpdate:modelValue": He
|
|
11716
11740
|
}, {
|
|
11717
|
-
interrupt: U(() => [z(Pe) ? (k(), o(z(
|
|
11741
|
+
interrupt: U(() => [z(Pe) ? (k(), o(z(Mh), {
|
|
11718
11742
|
key: 0,
|
|
11719
11743
|
interrupt: z(Pe),
|
|
11720
11744
|
"on-resume": t.onInterruptResume
|
|
@@ -11727,7 +11751,7 @@ var Hf = ["src"], Uf = {
|
|
|
11727
11751
|
confirm: a
|
|
11728
11752
|
})))]),
|
|
11729
11753
|
_: 3
|
|
11730
|
-
}, 8, ["interrupt", "on-resume"])) : s("", !0), z(Ne) ? (k(), o(
|
|
11754
|
+
}, 8, ["interrupt", "on-resume"])) : s("", !0), z(Ne) ? (k(), o(tm, {
|
|
11731
11755
|
key: 1,
|
|
11732
11756
|
content: z(Ne)
|
|
11733
11757
|
}, null, 8, ["content"])) : s("", !0)]),
|
|
@@ -11752,10 +11776,10 @@ var Hf = ["src"], Uf = {
|
|
|
11752
11776
|
]))], 64))];
|
|
11753
11777
|
}),
|
|
11754
11778
|
_: 3
|
|
11755
|
-
}, 16, ["class"]))], 12,
|
|
11779
|
+
}, 16, ["class"]))], 12, ey);
|
|
11756
11780
|
};
|
|
11757
11781
|
}
|
|
11758
|
-
}),
|
|
11782
|
+
}), sy = { class: "ai-image-preview-group" }, cy = /* @__PURE__ */ m(X(X({}, { name: "ImagePreviewGroup" }), {}, {
|
|
11759
11783
|
__name: "image-preview-group",
|
|
11760
11784
|
props: {
|
|
11761
11785
|
maskClosable: {
|
|
@@ -11784,7 +11808,7 @@ var Hf = ["src"], Uf = {
|
|
|
11784
11808
|
let a = [...t.keys()], o = a.map((e) => t.get(e)()), s = a.indexOf(e);
|
|
11785
11809
|
r.value = o, i.value = s >= 0 ? s : 0, n.value = !0;
|
|
11786
11810
|
}
|
|
11787
|
-
}), (t, a) => (k(), c("div",
|
|
11811
|
+
}), (t, a) => (k(), c("div", sy, [F(t.$slots, "default"), n.value ? (k(), o(qf, {
|
|
11788
11812
|
key: 0,
|
|
11789
11813
|
current: i.value,
|
|
11790
11814
|
"onUpdate:current": a[0] || (a[0] = (e) => i.value = e),
|
|
@@ -11807,10 +11831,10 @@ var Hf = ["src"], Uf = {
|
|
|
11807
11831
|
"show-info"
|
|
11808
11832
|
])) : s("", !0)]));
|
|
11809
11833
|
}
|
|
11810
|
-
})),
|
|
11834
|
+
})), ly = ["alt", "src"], uy = {
|
|
11811
11835
|
key: 1,
|
|
11812
11836
|
class: "ai-image-error"
|
|
11813
|
-
},
|
|
11837
|
+
}, dy = /* @__PURE__ */ m(X(X({}, { name: "AiImage" }), {}, {
|
|
11814
11838
|
__name: "image",
|
|
11815
11839
|
props: {
|
|
11816
11840
|
alt: { default: "" },
|
|
@@ -11902,8 +11926,8 @@ var Hf = ["src"], Uf = {
|
|
|
11902
11926
|
style: j,
|
|
11903
11927
|
onError: P,
|
|
11904
11928
|
onLoad: M
|
|
11905
|
-
}, null, 40,
|
|
11906
|
-
h.value === "error" ? (k(), c("div",
|
|
11929
|
+
}, null, 40, ly)) : s("", !0),
|
|
11930
|
+
h.value === "error" ? (k(), c("div", uy, [f(z(tn), { class: "ai-image-error-icon" })])) : s("", !0),
|
|
11907
11931
|
h.value === "error" ? (k(), c("div", {
|
|
11908
11932
|
key: 2,
|
|
11909
11933
|
class: "ai-image-error-overlay",
|
|
@@ -11931,4 +11955,4 @@ var Hf = ["src"], Uf = {
|
|
|
11931
11955
|
}
|
|
11932
11956
|
}));
|
|
11933
11957
|
//#endregion
|
|
11934
|
-
export { Jt as AIBluekingBannerIcon, qt as AIBluekingIcon, K as APPROVAL_STATUS, xt as APPROVAL_STATUS_MAP, Ai as ARTIFACT_PREVIEW_TOKEN, Yr as ActiveLikeIcon, Xr as ActiveUnLikeIcon, zr as AgentIcon,
|
|
11958
|
+
export { Jt as AIBluekingBannerIcon, qt as AIBluekingIcon, K as APPROVAL_STATUS, xt as APPROVAL_STATUS_MAP, Ai as ARTIFACT_PREVIEW_TOKEN, Yr as ActiveLikeIcon, Xr as ActiveUnLikeIcon, zr as AgentIcon, dy as AiImage, si as AiLoading, pi as AiSelection, Pr as ArrowDownIcon, ur as ArrowLeftIcon, $t as ArrowRightIcon, dr as ArrowRightPreviewIcon, dn as ArtifactTabIcon, rn as BkFlowFailedIcon, on as BkFlowPendingIcon, sn as BkFlowSkippedIcon, nn as BkFlowSuccessIcon, an as BkFlowSuspendedIcon, Et as CHAT_Z_INDEX, jt as CONST_MESSAGE_TOOLS, Nt as CONST_UPDATE_TOOLS, Mt as CONST_USER_MESSAGE_TOOLS, zi as CONTAINER_SCROLL_TOKEN, Wi as CUSTOM_TAB_TOKEN, oy as ChatContainer, Qp as ChatInput, br as CheckCircleFillIcon, Hr as CiteIcon, Sr as CloseCircleFillIcon, hr as CloseCircleIcon, Lr as CloseIcon, ru as CodeContent, Zr as CollapsedAsideIcon, jr as CollapsedIcon, Nr as ContentLoadingIcon, zu as ContentRender, Vr as CopyIcon, $r as DEFAULT_SHORTCUTS, Ki as DEFAULT_TAB_ORDER, cd as Delete, _r as DeleteCircleIcon, qr as DeleteIcon, gr as DocLinkIcon, Yt as DocumentIcon, fn as DownloadFileIcon, cr as DownloadIcon, Ot as EDITOR_MENU_Z_INDEX, Dt as EDITOR_Z_INDEX, Gi as EXECUTION_TAB_NAME, Jr as EditIcon, Er as EnterIcon, Mr as ErrorIcon, cn as ExecutionIcon, Jv as ExecutionSummary, ji as FILE_ARTIFACT_TAB_NAME, rm as FileIcon, vr as FileUploadIcon, sr as FitScreenIcon, Fr as FullScreenIcon, Zi as GLOBAL_CONFIG_TOKEN, It as HIGHLIGHT_KEYWORD_CLASS_NAME, wr as HelpDocIcon, sg as HighlightKeyword, gf as IMAGE_PREVIEW_GROUP_KEY, Vi as INSTANT_SCROLL_DISTANCE, pr as ImageBrokenIcon, uu as ImageContent, tn as ImageErrorIcon, qf as ImagePreview, cy as ImagePreviewGroup, mr as ImageSizeIcon, Tr as InfoIcon, ld as InsertText, fv as InterruptMessageRender, yt as InterruptReason, St as InterruptResumeOperation, Rt as LOADING_MESSAGE_ID, fu as LatexContent, Gr as LikeIcon, en as LinkIcon, kr as LoadingMessageIcon, Pt as MAX_UPLOAD_FILES, Ft as MAX_UPLOAD_FILE_SIZE, Iu as MarkdownContent, zt as MarkdownLanguageMap, mu as MermaidContent, Lv as MessageContainer, bt as MessageContentType, fm as MessageLoading, Nv as MessageRender, q as MessageRole, _f as MessageState, J as MessageStatus, Hh as MessageTime, og as MessageTools, yf as MessageToolsStatus, $h as MessageUserFeedback, Xp as ModelSelector, Br as MoreAgentIcon, Rr as MoreIcon, ln as NodeOutputIcon, un as NodeTabIcon, Xm as OTHERS_OPTION_LABEL, Sa as OverflowTips, lr as PreviewCloseIcon, Xt as PreviewIcon, Ur as RebuildIcon, fr as ReloadIcon, Qt as RemoveIcon, Lt as RenderMode, ud as ReplaceAll, Cr as RevokedIcon, or as RotateIcon, At as SELECTION_Z_INDEX, kt as SHORTCUT_MENU_Z_INDEX, Bi as SHOW_SCROLL_BOTTOM_BTN_DISTANCE, ei as ScrollBtn, yr as SearchIcon, $v as SelectionFooter, Or as SendMessageIcon, Wr as ShareIcon, ui as ShortcutBtn, _i as ShortcutBtns, Oi as ShortcutRender, Dr as SkipIcon, Zt as TargetIcon, Ar as ThinkingIcon, xr as TimeIcon, V_ as ToolCallRender, Qr as ToolIconsMap, tr as UNKNOWN_FILE_ICON_SVG, Ir as UnFullScreenIcon, Kr as UnLikeIcon, vf as UploadStatus, wt as UserMultiChoiceQuestionSchema, lh as UserQuestionAnsweredCard, Mh as UserQuestionCard, hh as UserQuestionChoice, ph as UserQuestionOption, Tt as UserQuestionSchema, Ct as UserSingleChoiceQuestionSchema, Nu as VNodeRenderer, ir as ZoomInIcon, ar as ZoomOutIcon, $m as buildSkipResumePayload, _u as commonErrorContent, Y as commonSVGProps, et as completeMarkdownSyntax, lf as createEditor, Uu as docToString, mt as formatDuration, gt as formatElapsedTime, Be as formatFileSize, Ve as formatUploadNotAddedMessage, ht as generateUUID, pt as getCookieByName, ze as getFileExtension, rr as getFileIconSvg, Re as getFilePreviewUrl, la as getScrollParent, $i as injectGlobalConfig, _t as isEn, Le as isImageFile, vt as lang, Nl as markdownAnimationAttrs, Bl as markdownItBkInlineStyle, Gl as markdownItLatex, ql as markdownItMermaid, fd as microtask, dd as min, Ge as needsMarkdownCompletion, hf as noop, Ue as normalizeFileExtension, uf as plainSchema, Ke as removeCompletionSuffix, We as resolveFileKind, mf as resourceTypeMap, pf as schema, Wu as stringToDoc, G as t, Zm as toLetter, Mi as triggerArtifactDownload, ki as useAnimationText, Pi as useArtifactPreviewConsumer, Ni as useArtifactPreviewProvider, Li as useClipboard, Ri as useCommandSelection, Ui as useContainerScrollConsumer, Hi as useContainerScrollProvider, Ji as useCustomTabConsumer, qi as useCustomTabProvider, Xi as useFullScreen, Qi as useGlobalConfig, ea as useMenuKeydown, ca as useMessageGroup, mi as useObserverVisibleList, ua as useParentScrolling, Qm as useUserQuestion, ff as voidNode };
|