@next-bricks/ai-portal 0.22.3 → 0.23.0
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/bricks.json +15 -14
- package/dist/chunks/3561.79095c66.js +3 -0
- package/dist/chunks/3561.79095c66.js.map +1 -0
- package/dist/chunks/ai-employees.b5da4b83.js +3 -0
- package/dist/chunks/ai-employees.b5da4b83.js.LICENSE.txt +5 -0
- package/dist/chunks/ai-employees.b5da4b83.js.map +1 -0
- package/dist/chunks/{main.1391ad2c.js → main.80b0c68f.js} +2 -2
- package/dist/chunks/{main.1391ad2c.js.map → main.80b0c68f.js.map} +1 -1
- package/dist/examples.json +12 -9
- package/dist/images/0cbe181e.png +0 -0
- package/dist/images/4215203f.png +0 -0
- package/dist/images/5e54ffc5.png +0 -0
- package/dist/images/87c8a33b.png +0 -0
- package/dist/images/8c2cf79e.png +0 -0
- package/dist/images/8e5c445f.png +0 -0
- package/dist/images/dd5fc700.png +0 -0
- package/dist/images/f542faa9.png +0 -0
- package/dist/index.431f28b5.js +2 -0
- package/dist/index.431f28b5.js.map +1 -0
- package/dist/manifest.json +82 -62
- package/dist/types.json +87 -2
- package/dist-types/ai-employees/i18n.d.ts +15 -0
- package/dist-types/ai-employees/index.d.ts +21 -0
- package/dist-types/ai-employees/index.spec.d.ts +1 -0
- package/dist-types/bootstrap.d.ts +1 -0
- package/docs/ai-employees.md +11 -0
- package/package.json +2 -2
- package/dist/chunks/9543.929397fe.js +0 -3
- package/dist/chunks/9543.929397fe.js.map +0 -1
- package/dist/index.fbf870e3.js +0 -2
- package/dist/index.fbf870e3.js.map +0 -1
- /package/dist/chunks/{9543.929397fe.js.LICENSE.txt → 3561.79095c66.js.LICENSE.txt} +0 -0
package/dist/manifest.json
CHANGED
|
@@ -41,6 +41,52 @@
|
|
|
41
41
|
"parts": [],
|
|
42
42
|
"description": "构件 `ai-portal.chat-box`"
|
|
43
43
|
},
|
|
44
|
+
{
|
|
45
|
+
"name": "ai-portal.chat-history",
|
|
46
|
+
"properties": [
|
|
47
|
+
{
|
|
48
|
+
"name": "list",
|
|
49
|
+
"attribute": false,
|
|
50
|
+
"type": "HistoryItem[]"
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
"name": "actions",
|
|
54
|
+
"attribute": false,
|
|
55
|
+
"type": "ActionType[]"
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
"name": "nextToken",
|
|
59
|
+
"type": "string"
|
|
60
|
+
}
|
|
61
|
+
],
|
|
62
|
+
"events": [
|
|
63
|
+
{
|
|
64
|
+
"name": "action.click",
|
|
65
|
+
"detail": {
|
|
66
|
+
"type": "ActionClickDetail"
|
|
67
|
+
}
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
"name": "load.more",
|
|
71
|
+
"detail": {
|
|
72
|
+
"type": "{ nextToken: string }"
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
],
|
|
76
|
+
"slots": [],
|
|
77
|
+
"methods": [],
|
|
78
|
+
"parts": [],
|
|
79
|
+
"description": "构件 `ai-portal.chat-history`"
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
"name": "ai-portal.home-container",
|
|
83
|
+
"properties": [],
|
|
84
|
+
"events": [],
|
|
85
|
+
"slots": [],
|
|
86
|
+
"methods": [],
|
|
87
|
+
"parts": [],
|
|
88
|
+
"description": "构件 `ai-portal.home-container`"
|
|
89
|
+
},
|
|
44
90
|
{
|
|
45
91
|
"name": "ai-portal.cruise-canvas",
|
|
46
92
|
"properties": [
|
|
@@ -133,52 +179,6 @@
|
|
|
133
179
|
"parts": [],
|
|
134
180
|
"description": "构件 `ai-portal.cruise-canvas`"
|
|
135
181
|
},
|
|
136
|
-
{
|
|
137
|
-
"name": "ai-portal.chat-history",
|
|
138
|
-
"properties": [
|
|
139
|
-
{
|
|
140
|
-
"name": "list",
|
|
141
|
-
"attribute": false,
|
|
142
|
-
"type": "HistoryItem[]"
|
|
143
|
-
},
|
|
144
|
-
{
|
|
145
|
-
"name": "actions",
|
|
146
|
-
"attribute": false,
|
|
147
|
-
"type": "ActionType[]"
|
|
148
|
-
},
|
|
149
|
-
{
|
|
150
|
-
"name": "nextToken",
|
|
151
|
-
"type": "string"
|
|
152
|
-
}
|
|
153
|
-
],
|
|
154
|
-
"events": [
|
|
155
|
-
{
|
|
156
|
-
"name": "action.click",
|
|
157
|
-
"detail": {
|
|
158
|
-
"type": "ActionClickDetail"
|
|
159
|
-
}
|
|
160
|
-
},
|
|
161
|
-
{
|
|
162
|
-
"name": "load.more",
|
|
163
|
-
"detail": {
|
|
164
|
-
"type": "{ nextToken: string }"
|
|
165
|
-
}
|
|
166
|
-
}
|
|
167
|
-
],
|
|
168
|
-
"slots": [],
|
|
169
|
-
"methods": [],
|
|
170
|
-
"parts": [],
|
|
171
|
-
"description": "构件 `ai-portal.chat-history`"
|
|
172
|
-
},
|
|
173
|
-
{
|
|
174
|
-
"name": "ai-portal.elevo-logo",
|
|
175
|
-
"properties": [],
|
|
176
|
-
"events": [],
|
|
177
|
-
"slots": [],
|
|
178
|
-
"methods": [],
|
|
179
|
-
"parts": [],
|
|
180
|
-
"description": "Elevo Logo"
|
|
181
|
-
},
|
|
182
182
|
{
|
|
183
183
|
"name": "ai-portal.stat-with-mini-chart",
|
|
184
184
|
"properties": [
|
|
@@ -241,13 +241,13 @@
|
|
|
241
241
|
"description": "构件 `ai-portal.stat-with-mini-chart`"
|
|
242
242
|
},
|
|
243
243
|
{
|
|
244
|
-
"name": "ai-portal.
|
|
244
|
+
"name": "ai-portal.elevo-logo",
|
|
245
245
|
"properties": [],
|
|
246
246
|
"events": [],
|
|
247
247
|
"slots": [],
|
|
248
248
|
"methods": [],
|
|
249
249
|
"parts": [],
|
|
250
|
-
"description": "
|
|
250
|
+
"description": "Elevo Logo"
|
|
251
251
|
},
|
|
252
252
|
{
|
|
253
253
|
"name": "ai-portal.elevo-sidebar",
|
|
@@ -319,6 +319,33 @@
|
|
|
319
319
|
"parts": [],
|
|
320
320
|
"description": "构件 `ai-portal.elevo-sidebar`"
|
|
321
321
|
},
|
|
322
|
+
{
|
|
323
|
+
"name": "ai-portal.icon-button",
|
|
324
|
+
"properties": [
|
|
325
|
+
{
|
|
326
|
+
"name": "icon",
|
|
327
|
+
"attribute": false,
|
|
328
|
+
"type": "GeneralIconProps"
|
|
329
|
+
},
|
|
330
|
+
{
|
|
331
|
+
"name": "tooltip",
|
|
332
|
+
"type": "string"
|
|
333
|
+
},
|
|
334
|
+
{
|
|
335
|
+
"name": "disabled",
|
|
336
|
+
"type": "boolean"
|
|
337
|
+
},
|
|
338
|
+
{
|
|
339
|
+
"name": "variant",
|
|
340
|
+
"type": "IconButtonVariant"
|
|
341
|
+
}
|
|
342
|
+
],
|
|
343
|
+
"events": [],
|
|
344
|
+
"slots": [],
|
|
345
|
+
"methods": [],
|
|
346
|
+
"parts": [],
|
|
347
|
+
"description": "构件 `ai-portal.icon-button`"
|
|
348
|
+
},
|
|
322
349
|
{
|
|
323
350
|
"name": "ai-portal.show-cases",
|
|
324
351
|
"properties": [
|
|
@@ -354,31 +381,24 @@
|
|
|
354
381
|
"description": "构件 `ai-portal.mcp-tools`"
|
|
355
382
|
},
|
|
356
383
|
{
|
|
357
|
-
"name": "ai-portal.
|
|
384
|
+
"name": "ai-portal.ai-employees",
|
|
358
385
|
"properties": [
|
|
359
386
|
{
|
|
360
|
-
"name": "
|
|
387
|
+
"name": "list",
|
|
361
388
|
"attribute": false,
|
|
362
|
-
"type": "
|
|
363
|
-
},
|
|
364
|
-
{
|
|
365
|
-
"name": "tooltip",
|
|
366
|
-
"type": "string"
|
|
389
|
+
"type": "Employee[]"
|
|
367
390
|
},
|
|
368
391
|
{
|
|
369
|
-
"name": "
|
|
370
|
-
"
|
|
371
|
-
|
|
372
|
-
{
|
|
373
|
-
"name": "variant",
|
|
374
|
-
"type": "IconButtonVariant"
|
|
392
|
+
"name": "industries",
|
|
393
|
+
"attribute": false,
|
|
394
|
+
"type": "string[]"
|
|
375
395
|
}
|
|
376
396
|
],
|
|
377
397
|
"events": [],
|
|
378
398
|
"slots": [],
|
|
379
399
|
"methods": [],
|
|
380
400
|
"parts": [],
|
|
381
|
-
"description": "构件 `ai-portal.
|
|
401
|
+
"description": "构件 `ai-portal.ai-employees`"
|
|
382
402
|
},
|
|
383
403
|
{
|
|
384
404
|
"name": "ai-portal.chat-stream",
|
package/dist/types.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"ai-portal.
|
|
2
|
+
"ai-portal.home-container": {
|
|
3
3
|
"properties": [],
|
|
4
4
|
"events": [],
|
|
5
5
|
"methods": []
|
|
@@ -108,7 +108,7 @@
|
|
|
108
108
|
"events": [],
|
|
109
109
|
"methods": []
|
|
110
110
|
},
|
|
111
|
-
"ai-portal.
|
|
111
|
+
"ai-portal.elevo-logo": {
|
|
112
112
|
"properties": [],
|
|
113
113
|
"events": [],
|
|
114
114
|
"methods": []
|
|
@@ -666,6 +666,91 @@
|
|
|
666
666
|
}
|
|
667
667
|
]
|
|
668
668
|
},
|
|
669
|
+
"ai-portal.ai-employees": {
|
|
670
|
+
"properties": [
|
|
671
|
+
{
|
|
672
|
+
"name": "list",
|
|
673
|
+
"annotation": {
|
|
674
|
+
"type": "array",
|
|
675
|
+
"elementType": {
|
|
676
|
+
"type": "reference",
|
|
677
|
+
"typeName": {
|
|
678
|
+
"type": "identifier",
|
|
679
|
+
"name": "Employee"
|
|
680
|
+
}
|
|
681
|
+
}
|
|
682
|
+
}
|
|
683
|
+
},
|
|
684
|
+
{
|
|
685
|
+
"name": "industries",
|
|
686
|
+
"annotation": {
|
|
687
|
+
"type": "array",
|
|
688
|
+
"elementType": {
|
|
689
|
+
"type": "keyword",
|
|
690
|
+
"value": "string"
|
|
691
|
+
}
|
|
692
|
+
}
|
|
693
|
+
}
|
|
694
|
+
],
|
|
695
|
+
"events": [],
|
|
696
|
+
"methods": [],
|
|
697
|
+
"types": [
|
|
698
|
+
{
|
|
699
|
+
"type": "interface",
|
|
700
|
+
"name": "Employee",
|
|
701
|
+
"body": [
|
|
702
|
+
{
|
|
703
|
+
"type": "propertySignature",
|
|
704
|
+
"key": {
|
|
705
|
+
"type": "identifier",
|
|
706
|
+
"name": "name"
|
|
707
|
+
},
|
|
708
|
+
"annotation": {
|
|
709
|
+
"type": "keyword",
|
|
710
|
+
"value": "string"
|
|
711
|
+
},
|
|
712
|
+
"computed": false
|
|
713
|
+
},
|
|
714
|
+
{
|
|
715
|
+
"type": "propertySignature",
|
|
716
|
+
"key": {
|
|
717
|
+
"type": "identifier",
|
|
718
|
+
"name": "industry"
|
|
719
|
+
},
|
|
720
|
+
"annotation": {
|
|
721
|
+
"type": "keyword",
|
|
722
|
+
"value": "string"
|
|
723
|
+
},
|
|
724
|
+
"computed": false
|
|
725
|
+
},
|
|
726
|
+
{
|
|
727
|
+
"type": "propertySignature",
|
|
728
|
+
"key": {
|
|
729
|
+
"type": "identifier",
|
|
730
|
+
"name": "role"
|
|
731
|
+
},
|
|
732
|
+
"annotation": {
|
|
733
|
+
"type": "keyword",
|
|
734
|
+
"value": "string"
|
|
735
|
+
},
|
|
736
|
+
"computed": false
|
|
737
|
+
},
|
|
738
|
+
{
|
|
739
|
+
"type": "propertySignature",
|
|
740
|
+
"key": {
|
|
741
|
+
"type": "identifier",
|
|
742
|
+
"name": "description"
|
|
743
|
+
},
|
|
744
|
+
"annotation": {
|
|
745
|
+
"type": "keyword",
|
|
746
|
+
"value": "string"
|
|
747
|
+
},
|
|
748
|
+
"computed": false
|
|
749
|
+
}
|
|
750
|
+
]
|
|
751
|
+
}
|
|
752
|
+
]
|
|
753
|
+
},
|
|
669
754
|
"ai-portal.elevo-sidebar": {
|
|
670
755
|
"properties": [
|
|
671
756
|
{
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export declare enum K {
|
|
2
|
+
AI_EMPLOYEES = "AI_EMPLOYEES"
|
|
3
|
+
}
|
|
4
|
+
export declare const NS = "bricks/ai-portal/ai-employees";
|
|
5
|
+
export declare const locales: {
|
|
6
|
+
en: Locale;
|
|
7
|
+
zh: Locale;
|
|
8
|
+
};
|
|
9
|
+
export declare const t: any;
|
|
10
|
+
type Locale = {
|
|
11
|
+
[k in K]: string;
|
|
12
|
+
} & {
|
|
13
|
+
[k in K as `${k}_plural`]?: string;
|
|
14
|
+
};
|
|
15
|
+
export {};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { ReactNextElement } from "@next-core/react-element";
|
|
3
|
+
import "@next-core/theme";
|
|
4
|
+
export interface AIEmployeesProps {
|
|
5
|
+
list?: Employee[];
|
|
6
|
+
industries?: string[];
|
|
7
|
+
}
|
|
8
|
+
export interface Employee {
|
|
9
|
+
name: string;
|
|
10
|
+
industry: string;
|
|
11
|
+
role: string;
|
|
12
|
+
description: string;
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* 构件 `ai-portal.ai-employees`
|
|
16
|
+
*/
|
|
17
|
+
export declare class AIEmployees extends ReactNextElement implements AIEmployeesProps {
|
|
18
|
+
accessor list: Employee[] | undefined;
|
|
19
|
+
accessor industries: string[] | undefined;
|
|
20
|
+
render(): React.JSX.Element;
|
|
21
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import "./";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@next-bricks/ai-portal",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.23.0",
|
|
4
4
|
"homepage": "https://github.com/easyops-cn/next-advanced-bricks/tree/master/bricks/ai-portal",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -45,5 +45,5 @@
|
|
|
45
45
|
"@next-bricks/mini-chart": "*",
|
|
46
46
|
"@next-bricks/presentational": "*"
|
|
47
47
|
},
|
|
48
|
-
"gitHead": "
|
|
48
|
+
"gitHead": "9557c76f986ebe43376fb15442038efdebcf728c"
|
|
49
49
|
}
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
/*! For license information please see 9543.929397fe.js.LICENSE.txt */
|
|
2
|
-
"use strict";(globalThis.webpackChunk_next_bricks_ai_portal=globalThis.webpackChunk_next_bricks_ai_portal||[]).push([[9543],{24:(e,t,i)=>{i.d(t,{A:()=>o});var n=i(36758),a=i.n(n),s=i(40935),r=i.n(s)()(a());r.push([e.id,':host{display:block;white-space:nowrap}.container{border-radius:var(--elevo-border-radius)}:host([hidden]){display:none}*{box-sizing:border-box}.label{font-weight:500;overflow:hidden;text-overflow:ellipsis}.stat{font-weight:600}.chart{min-width:0}.chart > *{display:block}:host(:not([size="small"])) .container{background:linear-gradient(164deg,rgba(105,153,253,0) 40%,rgba(105,153,253,0.05) 60%,rgba(105,153,253,0.32) 100%),#fff;padding:22px}:host(:not([size="small"])) .label{font-size:14px;height:22px;margin-bottom:16px}:host(:not([size="small"])) .stat-and-chart{display:flex;align-items:center;justify-content:end;position:relative}:host(:not([size="small"])) .stat{font-size:36px;color:#1d212a;position:absolute;left:0}:host(:not([size="small"])) .chart{width:calc(100% - 160px)}:host([size="small"]) .container{padding:11px 15px;display:flex;align-items:center;justify-content:end;position:relative;background:var(--elevo-component-background);-webkit-backdrop-filter:var(--elevo-component-backdrop-filter);backdrop-filter:var(--elevo-component-backdrop-filter)}:host([size="small"]) .label-and-stat{position:absolute;left:15px}:host([size="small"]) .label{font-size:12px;color:#8c8c8c;line-height:17px;height:17px;margin-bottom:7px}:host([size="small"]) .stat{font-size:20px;color:#262626;line-height:24px}:host([size="small"]) .chart{width:calc(100% - 90px)}',""]);const o=r.toString()},15733:(e,t,i)=>{e.exports=i.p+"images/4b299d0b.png"},21411:(e,t,i)=>{i.d(t,{A:()=>o});var n=i(36758),a=i.n(n),s=i(40935),r=i.n(s)()(a());r.push([e.id,":host{display:block}:host([hidden]){display:none}*{box-sizing:border-box}ul{list-style:none;margin:0;padding:0}.loading{display:flex;justify-content:center;padding:8px}.group + .group{margin-top:15px}.group-title{font-weight:500;font-size:12px;color:#000;padding:8px;height:36px;line-height:20px}.item{display:block}.item::part(link){display:flex;align-items:center;padding:0 8px;height:36px;border-radius:8px;color:#000}.item::part(link):hover{background:rgba(0,0,0,0.04)}.item-title{flex:1;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.actions{cursor:auto}.item:not(:hover):not(.active) .actions{display:none}.working{width:8px;height:8px;border-radius:8px;background:var(--elevo-color-brand);margin:0 7px}.item:hover .working,\n.item.active .working{display:none}.load-more{display:flex;justify-content:center;align-items:center;height:36px}",""]);const o=r.toString()},31653:(e,t,i)=>{i.d(t,{A:()=>o});var n=i(36758),a=i.n(n),s=i(40935),r=i.n(s)()(a());r.push([e.id,":host{display:inline-block;padding:3px 0}:host([hidden]){display:none}img{display:block}",""]);const o=r.toString()},31748:(e,t,i)=>{i.d(t,{A:()=>h});var n=i(36758),a=i.n(n),s=i(40935),r=i.n(s),o=i(20062),l=i.n(o),c=new URL(i(15733),i.b),d=r()(a()),u=l()(c);d.push([e.id,`:host{display:block;position:relative;width:100%;height:100%;overflow:hidden;background-color:rgb(205,206,207);background-image:url(${u});background-size:cover;background-repeat:no-repeat;background-position:center;background-attachment:fixed;color:#262626;padding:48px 24px;overflow-y:auto}:host([hidden]){display:none}*{box-sizing:border-box}.container{max-width:1400px;margin:0 auto}h1,\nh2{font-weight:500;margin:0}h1{font-size:20px;line-height:28px}h2{font-size:16px;line-height:22px}.nav,\n.groups,\n.list{list-style:none;margin:0;padding:0}.nav{display:flex;font-size:16px;margin-top:17px}.nav .item + .item{margin-left:32px}.nav .item a{color:rgba(38,38,38,0.65);cursor:pointer}.nav .item a.active{color:#262626;font-weight:500}.nav .item a.active::after{content:"";display:block;width:100%;height:4px;background-color:currentColor;border-radius:2px}.groups{margin-top:27px}.group + .group{margin-top:32px}.list{margin-top:16px;display:grid;grid-template-columns:repeat(auto-fill,minmax(320px,1fr));gap:24px}.list .item{background:rgba(255,255,255,0.9);box-shadow:0px 2px 5px 0px rgba(0,0,0,0.08);border-radius:12px;padding:20px 26px}.heading{display:flex;align-items:center}.icon{font-size:24px;color:#333;margin-right:8px}.title{font-size:15px;font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.description{margin-top:13px;font-size:13px;color:rgba(0,0,0,0.45);line-height:18px;height:54px;display:-webkit-box;-webkit-line-clamp:3;line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}`,""]);const h=d.toString()},32360:(e,t,i)=>{e.exports=i.p+"images/6336f999.png"},42873:(e,t,i)=>{i.d(t,{A:()=>h});var n=i(36758),a=i.n(n),s=i(40935),r=i.n(s),o=i(20062),l=i.n(o),c=new URL(i(89518),i.b),d=r()(a()),u=l()(c);d.push([e.id,`:host{display:flex;flex-direction:column;align-items:center;max-width:1200px;width:100%}:host([hidden]){display:none}*{box-sizing:border-box}.nav,\n.cases{list-style:none;padding:0;margin:0}.nav{display:flex;font-size:16px}.nav .item + .item{margin-left:32px}.nav .item a{color:rgba(38,38,38,0.65);cursor:pointer}.nav .item a.active{color:#262626;font-weight:500}.nav .item a.active::after{content:"";display:block;width:100%;height:4px;background-color:currentColor;border-radius:2px}.cases{display:grid;width:100%;grid-template-columns:repeat(auto-fill,minmax(276px,1fr));gap:24px;margin-top:2em}.link{background:#fefefe;border:1px solid #e8e9ec;border-radius:12px;overflow:hidden;display:block}.link::part(link){display:flex;gap:0;flex-direction:column;height:218px}.title{width:100%;height:76px;padding:16px 16px 15px;color:#262626;border-top:1px solid #e8e9ec;font-weight:500;font-size:15px;line-height:22px}.title span{display:-webkit-box;-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.placeholder{width:100%;height:142px;background:linear-gradient(308deg,#dee9fc 0%,#fcfbfd 100%,#fbf9fe 100%);overflow:hidden}.summary{color:rgba(0,0,0,0.65);padding:27px 0 0 24px}.thumbnail span{display:block;width:100%;height:100%;background-size:cover;background-position:center;background-repeat:no-repeat}.link:hover{box-shadow:0px 4px 12px 0px rgba(0,0,0,0.06)}.link:hover .title{color:var(--elevo-color-brand)}.summary-1{display:block;background-image:url(${u});background-size:237px 115px;background-repeat:no-repeat;background-position:0 0;padding:10px 0 0 10px}.summary-2{display:block;background:linear-gradient(90deg,#ffffff 0%,#e4ecfc 100%);padding:12px 15px 5px 15px;border-top-left-radius:12px}.summary-2 span{display:-webkit-box;-webkit-line-clamp:4;line-clamp:4;-webkit-box-orient:vertical;overflow:hidden;font-size:15px;color:#525971;line-height:22px;height:88px}`,""]);const h=d.toString()},47008:(e,t,i)=>{i.d(t,{A:()=>h});var n=i(36758),a=i.n(n),s=i(40935),r=i.n(s),o=i(20062),l=i.n(o),c=new URL(i(91107),i.b),d=r()(a()),u=l()(c);d.push([e.id,`:host{display:block}:host([hidden]){display:none}*{box-sizing:border-box}.root{color:#262626;background-color:#e1e3ec;background-image:url(${u});background-size:694px 144px;background-position:top left;background-repeat:no-repeat;box-shadow:inset 0px 2px 5px 1px rgba(42,46,59,0.1);border-radius:20px;padding:12px}.container{position:relative}textarea{display:block;width:100%;padding:10px 16px 52px;color:var(--antd-input-color);background:rgba(255,255,255,0.8);border-radius:14px;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border:1px solid rgba(255,255,255,0.5);font-size:14px;line-height:22px;height:130px}textarea::placeholder{color:rgba(0,0,0,0.4)}.btn-send:focus,\ntextarea:focus{outline:none}.btn-send{position:absolute;bottom:14px;right:14px;width:28px;height:28px;display:flex;align-items:center;justify-content:center;background:var(--elevo-color-brand);border:none;border-radius:8px;color:#fff}.btn-send[disabled]{background:rgba(0,0,0,0.15)}.btn-send:not([disabled]){cursor:pointer}.btn-send:not([disabled]):hover{background:#5166ff}.btn-send:not([disabled]):active{background:#1e33cc}.suggestions{margin-top:19px}.heading{display:flex;align-items:center;padding:0 5px;margin-bottom:8px}.icon{margin-right:5px}.carousel{overflow:hidden}.carousel + .carousel{margin-top:7px}.list{display:flex;width:max-content;list-style:none;margin:0;padding:0;font-size:12px}.item{background:rgba(255,255,255,0.4);border-radius:12px;border:1px solid #dcdee6;padding:12px;max-width:330px;cursor:pointer}.item:hover{background:rgba(255,255,255,0.5);border:1px solid rgba(37,64,255,0.3)}.list > li + li{margin-left:7px}.title{margin-bottom:4px}.content{color:rgba(0,0,0,0.45);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.tooltip{display:block}`,""]);const h=d.toString()},47338:(e,t,i)=>{i.d(t,{A:()=>o});var n=i(36758),a=i.n(n),s=i(40935),r=i.n(s)()(a());r.push([e.id,':host{display:inline-block}:host([hidden]){display:none}:host,\neo-tooltip{vertical-align:middle}button{width:28px;height:28px;font-size:18px;border-radius:8px;display:flex;align-items:center;justify-content:center;border:none;background:none;color:#333}button:disabled{color:#8c8c8c}button:not(:disabled){cursor:pointer}button:focus{outline:none}button:not(:disabled):hover{background:rgba(0,0,0,0.04)}button:not(:disabled):active{background:rgba(0,0,0,0.08)}:host([variant="light"]) button{color:#595959}:host([variant="mini"]) button{width:24px;height:24px;font-size:16px;border-radius:4px}',""]);const o=r.toString()},61408:(e,t,i)=>{i.d(t,{A:()=>o});var n=i(36758),a=i.n(n),s=i(40935),r=i.n(s)()(a());r.push([e.id,':host{display:block}:host([hidden]){display:none}*{box-sizing:border-box}.sidebar{position:relative;width:261px;height:100%;background:#f6f7f9;border-right:1px solid #e3e5eb;padding:26px 16px 0;display:flex;flex-direction:column;transition:transform 0.3s ease-in-out}.logo-bar{display:flex;align-items:center;justify-content:space-between;margin-bottom:30px}.logo-link::part(link){display:block}.logo{vertical-align:middle}.new-chat::part(link){display:flex;gap:0;align-items:center;color:var(--elevo-color-brand);font-size:14px;text-align:left;cursor:pointer}.sidebar .new-chat::part(link){background:#f0f4ff;border-radius:8px;border:1px solid #c9d7ff;padding:9px 13px;font-weight:500;margin-bottom:16px}.sidebar .new-chat::part(link):hover{background:rgba(201,215,255,0.5)}.new-chat-icon{font-size:16px;margin-right:5px}.footer{border-top:1px solid rgba(0,0,0,0.04);padding:9px 12px;margin:0 -16px}.dropdown{display:block}.account{background:none;border:none;border-radius:8px;padding:6px 10px;display:block;width:100%;text-align:left;cursor:pointer}.account:hover{background:rgba(0,0,0,0.04)}.alternative{position:fixed;top:8px;left:8px;padding:6px 10px 6px 8px;display:flex;align-items:center;opacity:0;z-index:1;transition:opacity 0.2s ease-in-out;background:rgba(255,255,255,0);border-radius:8px;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.alternative .new-chat::part(link){padding:4px;margin-left:16px;font-size:12px}.alternative .new-chat::part(link):hover{color:#7891ff}.alternative .new-chat::part(link):active{color:#0911b3}.container{width:261px;height:100%;transition:width 0.3s ease-in-out}.collapsed{width:0;overflow:visible}.collapsed .sidebar{transform:translateX(-100%)}.collapsed .alternative{opacity:1}:host([behavior="drawer"]){z-index:1;width:0}:host(:not([behavior="drawer"])) .alternative .new-chat{display:none}.mask{position:fixed;top:0;right:0;bottom:0;left:0}.links{border-bottom:1px solid rgba(0,0,0,0.06);padding-bottom:16px;margin-bottom:16px}.link{display:block}.link + .link{margin-top:4px}.link::part(link){display:flex;gap:0;align-items:center;padding:7px 13px;border-radius:8px;color:#000}.link::part(link):hover{background:rgba(0,0,0,0.04)}.link .icon{font-size:16px;margin-right:10px}.link .title{flex:1;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.history{flex:1;min-height:0;overflow-y:auto;margin:0 -16px;padding:0 12px}.history ul{list-style:none;margin:0;padding:0}.history .loading{display:flex;justify-content:center;padding:8px}.history .group + .group{margin-top:15px}.history .group-title{font-weight:500;font-size:12px;color:#000;padding:8px;height:36px;line-height:20px}.history .item{display:block}.history .item::part(link){display:flex;align-items:center;padding:0 8px;height:36px;border-radius:8px;color:#000}.history .item.active::part(link){background:rgba(0,0,0,0.06)}.history .item.actions-active::part(link),.history .item::part(link):hover{background:rgba(0,0,0,0.04)}.history .item-title{flex:1;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.history .actions{cursor:auto}.history .item:not(:hover):not(.actions-active) .actions{display:none}.history .working{width:8px;height:8px;border-radius:8px;background:var(--elevo-color-brand);margin:0 7px}.history .item.actions-active .working,.history .item:hover .working,.history .item.active .working{display:none}.history .load-more{display:flex;justify-content:center;align-items:center;height:36px}',""]);const o=r.toString()},68596:(e,t,i)=>{var n,a=i(74635),s=i(70918),r=i(26902),o=i(5536),l=i(86121),c=i(70829),d=i(62740),u=i(18769),h=i.n(u),p=i(7921),m=i(11280),g=i(23081),b=(i(65168),i(90079)),v=i(53373),A=i.n(v),f=i(99126),k=i(67566),x=i(8324),E=i(69445),w=i(2460),y=i(32464),S=i(58231),N=i(36494),R=i(97642),M=i(40369),T=i(59533),_=i(34999),C=i(27954),I=i(24388),W=i(56938),z=i(25718),D=i(39295),L=i(83888),U=i(16854),Y=i(97907),O=i(44394),V=i(85620),P=i(73349),H=i(62601),j=i(57097),B=i(85011),F=i(54163),G=i(65023),J=i(92449),$=i(62897),q=i(82770),K=i(31918),X=i(48680);let Q,Z,ee,te,ie,ne,ae,se,re,oe,le,ce,de,ue,he,pe,me,ge,be,ve,Ae,fe,ke,xe,Ee,we,ye,Se,Ne,Re,Me,Te,_e,Ce,Ie,We,ze,De;(0,b.initializeI18n)(w.NS,w.I);const{defineElement:Le,property:Ue,event:Ye,method:Oe}=(0,p.createDecorators)(),Ve=(0,u.memo)(ut),Pe=(0,u.forwardRef)(dt);let He;var je=new WeakMap,Be=new WeakMap,Fe=new WeakMap,Ge=new WeakMap,Je=new WeakMap,$e=new WeakMap,qe=new WeakMap,Ke=new WeakMap,Xe=new WeakMap,Qe=new WeakSet,Ze=new WeakMap,et=new WeakMap,tt=new WeakMap,it=new WeakMap,nt=new WeakMap,at=new WeakMap,st=new WeakMap,rt=new WeakMap,ot=new WeakMap,lt=new WeakMap;class ct extends m.ReactNextElement{constructor(){super(...arguments),(0,a.A)(this,Qe),(0,s.A)(this,je,(Q(this),ee(this))),(0,s.A)(this,Be,(te(this),ie(this))),(0,s.A)(this,Fe,(ne(this),ae(this))),(0,s.A)(this,Ge,(se(this),re(this))),(0,s.A)(this,Je,(oe(this),le(this))),(0,s.A)(this,$e,(ce(this),de(this))),(0,s.A)(this,qe,(ue(this),he(this))),(0,s.A)(this,Ke,(pe(this),me(this))),(0,s.A)(this,Xe,(ge(this),be(this))),(0,s.A)(this,Ze,(fe(this),()=>{(0,o.A)(Qe,this,ve).emit()})),(0,s.A)(this,et,ke(this)),(0,s.A)(this,tt,(we(this),()=>{(0,o.A)(Qe,this,xe).emit()})),(0,s.A)(this,it,ye(this)),(0,s.A)(this,nt,(Re(this),()=>{(0,o.A)(Qe,this,Se).emit()})),(0,s.A)(this,at,Me(this)),(0,s.A)(this,st,(Ce(this),()=>{(0,o.A)(Qe,this,Te).emit()})),(0,s.A)(this,rt,Ie(this)),(0,s.A)(this,ot,(De(this),e=>{(0,o.A)(Qe,this,We).emit(e)})),(0,s.A)(this,lt,(0,u.createRef)())}get taskId(){return(0,c.A)(je,this)}set taskId(e){(0,l.A)(je,this,e)}get task(){return(0,c.A)(Be,this)}set task(e){(0,l.A)(Be,this,e)}get jobs(){return(0,c.A)(Fe,this)}set jobs(e){(0,l.A)(Fe,this,e)}get replay(){return(0,c.A)(Ge,this)}set replay(e){(0,l.A)(Ge,this,e)}get replayDelay(){return(0,c.A)(Je,this)}set replayDelay(e){(0,l.A)(Je,this,e)}get supports(){return(0,c.A)($e,this)}set supports(e){(0,l.A)($e,this,e)}get showHiddenJobs(){return(0,c.A)(qe,this)}set showHiddenJobs(e){(0,l.A)(qe,this,e)}get showFeedback(){return(0,c.A)(Ke,this)}set showFeedback(e){(0,l.A)(Ke,this,e)}resumed(){var e;null===(e=(0,c.A)(lt,this).current)||void 0===e||e.resumed()}feedbackSubmitDone(){var e;null===(e=(0,c.A)(lt,this).current)||void 0===e||e.feedbackSubmitDone()}feedbackSubmitFailed(){var e;null===(e=(0,c.A)(lt,this).current)||void 0===e||e.feedbackSubmitFailed()}render(){return h().createElement(Pe,{taskId:this.taskId,jobs:this.jobs,task:this.task,replay:this.replay,replayDelay:this.replayDelay,supports:this.supports,showHiddenJobs:this.showHiddenJobs,showFeedback:this.showFeedback,onShare:(0,c.A)(Ze,this),onPause:(0,c.A)(tt,this),onResume:(0,c.A)(nt,this),onCancel:(0,c.A)(st,this),onSubmitFeedback:(0,c.A)(ot,this),ref:(0,c.A)(lt,this)})}}function dt(e,t){var i;let{taskId:n,task:a,jobs:s,replay:r,replayDelay:o,supports:l,showHiddenJobs:c,showFeedback:d,onShare:p,onPause:m,onResume:b,onCancel:v,onSubmitFeedback:f}=e;const w=(0,u.useRef)(null),{task:C,jobs:I,error:W,humanInputRef:z,resumedRef:D,skipToResults:L,watchAgain:q}=(0,M.S)(n,r,o),X=n?C:a,Q=n?I:s,Z=null==X?void 0:X.plan,ee=(0,T.B)(X,Q,{showHiddenJobs:c}),te=null==ee?void 0:ee.nodes,ie=null==ee?void 0:ee.edges,ne=null==ee?void 0:ee.nav,ae=null==ee?void 0:ee.views,se=null==ee?void 0:ee.jobLevels,re=null!==(i=null==X?void 0:X.title)&&void 0!==i?i:"",oe=null==X?void 0:X.state,[le,ce]=(0,u.useState)(null),de=(0,u.useMemo)((()=>{if(le){const[e,t]=le.split(":");if("job"===e||"view"===e)return t}return null}),[le]),[ue,he]=(0,u.useState)(!1),[pe,me]=(0,u.useState)(!1),[ge,be]=(0,u.useState)(!!d);(0,u.useEffect)((()=>{be(!!d)}),[d]);const ve=(0,u.useCallback)((e=>{he(!0),f(e)}),[f]);(0,u.useImperativeHandle)(t,(()=>({resumed:()=>{var e;return null===(e=D.current)||void 0===e?void 0:e.call(D)},feedbackSubmitDone:()=>{me(!0),setTimeout((()=>{be(!1)}),3e3)},feedbackSubmitFailed:()=>{he(!1)}})),[D]);const Ae=(0,u.useRef)(!1);(0,u.useEffect)((()=>{const e=setTimeout((()=>{Ae.current=!0}),3e3);return()=>{clearTimeout(e)}}),[]),(0,u.useEffect)((()=>{(0,g.getRuntime)().applyPageTitle(re)}),[re]),(0,u.useEffect)((()=>{W&&(0,g.handleHttpError)(W)}),[W]);const fe=(0,u.useCallback)(((e,t)=>{var i;null===(i=z.current)||void 0===i||i.call(z,e,t)}),[z]),[ke,xe]=(0,u.useState)(null),Ee=(0,u.useCallback)(((e,t)=>{xe((i=>{if(!t){if(!i)return null;const t=new Map(i);return t.delete(e)?t:i}return i?new Map(i).set(e,t):new Map([[e,t]])}))}),[]),{sizeReady:we,nodes:ye,edges:Se}=(0,R.g)({rawNodes:te,rawEdges:ie,state:oe,sizeMap:ke,showFeedback:ge}),Ne=(0,u.useRef)(!1),Re=(0,u.useRef)(!1),[Me,Te]=(0,u.useState)(!1),{grabbing:_e,transform:Ce,transformRef:Ie,zoomer:We}=(0,S.f)({rootRef:w,zoomable:we,scrollable:we&&!Me,pannable:we,manualScrolledUpRef:Re}),ze=(0,u.useRef)(!1),De=(0,u.useMemo)((()=>{let e=null;const t=i=>{const n=Ie.current,a="function"==typeof i?i(n):i;if(!a)return;const{transform:s,translateBy:r}=a;let o=(0,k.A)(w.current);var l,c,d,u,h,p;Ae.current&&0!==a.duration&&(ze.current=!0,o=o.transition().duration(null!==(l=a.duration)&&void 0!==l?l:300).ease((e=>e*(2-e))).on("end",(()=>{if(ze.current=!1,e){const i=e;e=null,t(i)}}))),s?We.transform(o,new x.uV(null!==(c=s.k)&&void 0!==c?c:n.k,null!==(d=s.x)&&void 0!==d?d:n.x,null!==(u=s.y)&&void 0!==u?u:n.y)):We.translateBy(o,null!==(h=r[0])&&void 0!==h?h:0,null!==(p=r[1])&&void 0!==p?p:0)};return i=>{ze.current?e=i:t(i)}}),[Ie,We]),{centered:Le,setCentered:Ue,reCenterRef:Ye}=(0,N.E)({nodes:ye,sizeReady:we,zoomer:We,rootRef:w,pushZoomTransition:De}),Oe=Y.QB.includes(oe),Pe=(0,u.useMemo)((()=>new Set(Se.map((e=>e.source)))),[Se]),He=(0,u.useMemo)((()=>{if(!we)return null;const e=[];for(const t of ye)Pe.has(t.id)||e.push(t);return e.length>0?Math.max(...e.map((e=>e.view.y+e.view.height))):null}),[ye,Pe,we]),je=(0,u.useRef)(null);(0,u.useEffect)((()=>{je.current=He}),[He]),(0,u.useEffect)((()=>{const e=w.current;!e||null===He||Ne.current&&Re.current||De((t=>{const{offsetHeight:i}=e,n=He*t.k+t.y,a=i-U.xX-n;return a<0?{transform:{y:t.y+a},duration:a>-100?100:a<-500?300:200}:null}))}),[He,De]),(0,u.useEffect)((()=>{const e=je.current,t=w.current;if(!t||null===e||ze.current)return;const{offsetHeight:i}=t,n=e*Ce.k+Ce.y,a=i-U.xX-n;Ne.current=a<0}),[Ce,We]);const Be=(0,u.useCallback)((()=>{Ye.current=!0,Ue(!1)}),[Ye,Ue]),Fe=(0,u.useCallback)((e=>{We.scaleTo((0,k.A)(w.current),e)}),[We]),Ge=(0,u.useMemo)((()=>we?(0,E.o)(ye.map((e=>e.view))):null),[ye,we]);(0,u.useEffect)((()=>{if(!Ge)return;const e=w.current;if(!e)return;const{offsetWidth:t,offsetHeight:i}=e,n=t/Ce.k,a=i/Ce.k,s=-(n-20-Ge.x),r=n-20+(Ge.x+Ge.width),o=-(a-20-Ge.y),l=a-20+(Ge.y+Ge.height);We.translateExtent([[s,o],[r,l]])}),[We,Ce.k,Ge]);const Je=(0,u.useCallback)((e=>{let{nodeId:t,jobId:i,behavior:n,block:a}=e;const s=w.current,r=ye.filter((e=>{var n;return!(t&&e.id!==t||i&&(null===(n=e.job)||void 0===n?void 0:n.id)!==i)}));if(!s||0===r.length)return;const o=(0,E.o)(r.map((e=>e.view))),{x:l,y:c}=(0,H.D)(o,[s.offsetWidth,s.offsetHeight],[U.RV,U.kq,U.xX,U.bL],Ie.current,a);(l||c)&&De({translateBy:[l,c],duration:"instant"===n?0:void 0})}),[ye,De,Ie]),$e=(0,u.useCallback)(((e,t)=>{const i=w.current;if(!i||!we)return;let n,a=0,s=0,r=300;const o="left"===e||"right"===e;if("line"===t)n=40*("up"===e||"left"===e?1:-1),r=150;else if("page"===t)n=(i.offsetHeight-U.xX)*("up"===e?-1:1);else{const{y:t,height:a}=(0,E.o)(ye.map((e=>e.view)));if("down"===e){const e=t+a-t+U.xX;n=i.offsetHeight-e-Ie.current.y}else n=t+U.RV-Ie.current.y}o?a=n:s=n,(a||s)&&De({translateBy:[a,s],duration:r})}),[ye,De,we,Ie]),[qe,Ke]=(0,u.useState)(null),[Xe,Qe]=(0,u.useState)(null),[Ze,et]=h().useState(null),tt=(0,u.useMemo)((()=>({humanInput:fe,onShare:p,onPause:m,onResume:b,onCancel:v,supports:l,activeExpandedViewJobId:Xe,setActiveExpandedViewJobId:Qe,activeToolCallJobId:qe,setActiveToolCallJobId:Ke})),[fe,v,m,b,p,l,Xe,qe]),it=(0,u.useMemo)((()=>({onNodeResize:Ee,onSubmitFeedback:ve,setActiveNodeId:ce,hoverOnScrollableContent:Me,setHoverOnScrollableContent:Te,setActiveFile:et,setShowFeedback:be,submittingFeedback:ue,submittedFeedback:pe})),[Me,Ee,ve,ue,pe]),nt=(0,u.useMemo)((()=>qe?null==Q?void 0:Q.find((e=>e.id===qe)):null),[qe,Q]),at=(0,u.useCallback)((e=>{for(const t of e.nativeEvent.composedPath()){if(t instanceof HTMLElement&&t.classList.contains(y.A.node))return;if(t===w.current)break}ce(null)}),[]);return(0,u.useEffect)((()=>{const e=w.current;if(!e||nt||Xe||Ze)return;const t=t=>{if(document.activeElement&&document.activeElement!==document.body&&document.activeElement!==e)return;const i=(0,j.l)(t,{activeNodeId:le,nodes:ye});if(!i)return;const{action:n,node:a}=i;if("scroll"===n)$e(i.direction,i.range);else if("enter"===n){var s,r;if("job"!==a.type&&"view"!==a.type)return;const e="ask_human"===(null===(s=a.job.toolCall)||void 0===s?void 0:s.name),t="ask_human_confirming_plan"===(null===(r=a.job.toolCall)||void 0===r?void 0:r.name);if(e||t)return}t.preventDefault(),t.stopPropagation(),"enter"===n?"view"===a.type?Qe(a.job.id):Ke(a.job.id):"switch-active-node"===n&&(a?(ce(a.id),"job"===a.type||"view"===a.type?Je({jobId:a.job.id,behavior:"smooth"}):Je({nodeId:a.id,behavior:"smooth"})):ce(null))};return document.addEventListener("keydown",t),()=>{document.removeEventListener("keydown",t)}}),[le,nt,Xe,Ze,ye,Je,$e]),h().createElement(K.j.Provider,{value:tt},h().createElement(V.Q.Provider,{value:it},h().createElement("div",{className:A()(y.A.root,{[y.A.loading]:!X}),ref:w,style:{cursor:_e?"grabbing":"grab"},tabIndex:-1,onClick:at},!X&&h().createElement("div",{className:y.A["loading-icon"]},h().createElement(O.Bj,{lib:"antd",theme:"outlined",icon:"loading-3-quarters",spinning:!0})),h().createElement("div",{className:A()(y.A.canvas,{[y.A.ready]:we&&Le}),style:{transform:`translate3d(${Ce.x}px, ${Ce.y}px, 0) scale(${Ce.k})`}},h().createElement("svg",{className:y.A.edges},Se.map((e=>e.source===U.Jw||e.target===U.Jw?null:h().createElement("path",{className:y.A.edge,key:`${e.source}-${e.target}`,d:e.points.map(((e,t)=>{let{x:i,y:n}=e;return`${0===t?"M":"L"}${i},${n}`})).join(" ")})))),ye.map((e=>{var t,i;return h().createElement(Ve,{key:e.id,id:e.id,type:e.type,content:e.content,job:e.job,state:e.state,startTime:null==X?void 0:X.startTime,instructionLoading:"instruction"===e.type&&!Pe.has(e.id)&&!Y.QB.includes(e.state)&&!Y.X4.includes(oe),edges:Se,x:null===(t=e.view)||void 0===t?void 0:t.x,y:null===(i=e.view)||void 0===i?void 0:i.y,active:le===e.id})})))),h().createElement("div",{className:y.A.widgets},h().createElement(F.s,{nav:ne,plan:Z,jobs:Q,jobLevels:se,currentNavId:de,taskState:oe,onClick:e=>{ce(`job:${e}`),Je({jobId:e,block:"start"})}}),h().createElement(_.l,{scale:Ce.k,onScaleChange:Fe,onReCenter:Be}),r?h().createElement("div",{className:y.A["footer-container"]},h().createElement(G.b,{taskDone:Oe,skipToResults:L,watchAgain:()=>{q(),Ue(!1)}})):null!=l&&l.chat?h().createElement("div",{className:y.A["footer-container"]},h().createElement(J.s,{taskState:oe,taskDone:Oe})):null),nt&&h().createElement(P.M,{job:nt}),Xe&&h().createElement(B.f,{views:ae}),Ze&&h().createElement($.d,{file:Ze})))}function ut(e){let{id:t,type:i,state:n,job:a,content:s,startTime:r,instructionLoading:o,x:l,y:c,active:d}=e;const p=(0,u.useRef)(null),{onNodeResize:m,setActiveNodeId:g}=(0,u.useContext)(V.Q);(0,u.useEffect)((()=>{const e=p.current;if(!e)return;const i=new f.A((()=>{m(t,[e.offsetWidth,e.offsetHeight])}));return i.observe(e),()=>{i.disconnect(),m(t,null)}}),[t,m]),(0,u.useEffect)((()=>{const e=p.current;if(!e)return;const t=e=>{e.stopPropagation()};return e.addEventListener("mousedown",t),()=>{e.removeEventListener("mousedown",t)}}),[]);const b=(0,u.useCallback)((()=>{"start"!==i&&"instruction"!==i&&g(t)}),[t,g,i]);return h().createElement("div",{className:A()(y.A.node,{[y.A.ready]:null!=l&&null!=c}),ref:p,style:{left:l,top:c},onClick:b},"start"===i?h().createElement(C.H,null):"end"===i?h().createElement(D.s,null):"feedback"===i?h().createElement(q.k,null):"requirement"===i?h().createElement(I.O,{content:s,startTime:r,active:d}):"loading"===i?h().createElement(X.V,null):"instruction"===i?h().createElement(W.L,{content:a.instruction,loading:o}):"view"===i?h().createElement(L.Y,{job:a,active:d}):h().createElement(z.W,{state:n,job:a,active:d}))}n=ct,({e:[ee,te,ie,ne,ae,se,re,oe,le,ce,de,ue,he,pe,me,ge,be,ve,Ae,fe,ke,xe,Ee,we,ye,Se,Ne,Re,Me,Te,_e,Ce,Ie,We,ze,De,Q],c:[He,Z]}=(0,d.A)(n,[Le("ai-portal.cruise-canvas",{shadowOptions:!1})],[[Ue(),1,"taskId"],[Ue({attribute:!1}),1,"task"],[Ue({attribute:!1}),1,"jobs"],[Ue({type:Boolean}),1,"replay"],[Ue({type:Number}),1,"replayDelay"],[Ue({attribute:!1}),1,"supports"],[Ue({type:Boolean}),1,"showHiddenJobs"],[Ue({type:Boolean}),1,"showFeedback"],[Ye({type:"share"}),1,"shareEvent",e=>(0,c.A)(Xe,e),(e,t)=>(0,l.A)(Xe,e,t)],[Ye({type:"pause"}),1,"pauseEvent",e=>(0,c.A)(et,e),(e,t)=>(0,l.A)(et,e,t)],[Ye({type:"resume"}),1,"resumeEvent",e=>(0,c.A)(it,e),(e,t)=>(0,l.A)(it,e,t)],[Ye({type:"cancel"}),1,"cancelEvent",e=>(0,c.A)(at,e),(e,t)=>(0,l.A)(at,e,t)],[Ye({type:"feedback.submit"}),1,"feedbackSubmitEvent",e=>(0,c.A)(rt,e),(e,t)=>(0,l.A)(rt,e,t)],[Oe(),2,"resumed"],[Oe(),2,"feedbackSubmitDone"],[Oe(),2,"feedbackSubmitFailed"]],0,(e=>lt.has((0,r.A)(e))),m.ReactNextElement)),Z();var ht=i(71451),pt=i(41030);let mt=function(e){return e.ASK_ANY_THING="ASK_ANYTHING",e.COMMON_TASKS="COMMON_TASKS",e}({});const gt="bricks/ai-portal/chat-box",bt={en:{[mt.ASK_ANY_THING]:"Ask anything",[mt.COMMON_TASKS]:"Common tasks"},zh:{[mt.ASK_ANY_THING]:"询问任何问题",[mt.COMMON_TASKS]:"常用任务"}},vt=b.i18n.getFixedT(null,gt),At=i.p+"images/af389fa6.svg";var ft,kt=i(47008);let xt,Et,wt,yt,St,Nt,Rt,Mt,Tt,_t,Ct,It,Wt,zt,Dt;(0,b.initializeI18n)(gt,bt);const Lt=(0,m.wrapBrick)("eo-icon"),{defineElement:Ut,property:Yt,event:Ot}=(0,p.createDecorators)();let Vt;var Pt=new WeakMap,Ht=new WeakMap,jt=new WeakMap,Bt=new WeakMap,Ft=new WeakMap,Gt=new WeakMap,Jt=new WeakSet,$t=new WeakMap;class qt extends m.ReactNextElement{constructor(){super(...arguments),(0,a.A)(this,Jt),(0,s.A)(this,Pt,Et(this)),(0,s.A)(this,Ht,(wt(this),yt(this))),(0,s.A)(this,jt,(St(this),Nt(this))),(0,s.A)(this,Bt,(Rt(this),Mt(this))),(0,s.A)(this,Ft,(Tt(this),_t(this))),(0,s.A)(this,Gt,(Ct(this),It(this))),(0,s.A)(this,$t,(Dt(this),e=>{(0,o.A)(Jt,this,Wt).emit(e)}))}get disabled(){return(0,c.A)(Pt,this)}set disabled(e){(0,l.A)(Pt,this,e)}get placeholder(){return(0,c.A)(Ht,this)}set placeholder(e){(0,l.A)(Ht,this,e)}get autoFocus(){return(0,c.A)(jt,this)}set autoFocus(e){(0,l.A)(jt,this,e)}get suggestions(){return(0,c.A)(Bt,this)}set suggestions(e){(0,l.A)(Bt,this,e)}get suggestionsLabel(){return(0,c.A)(Ft,this)}set suggestionsLabel(e){(0,l.A)(Ft,this,e)}render(){return h().createElement(Kt,{disabled:this.disabled,placeholder:this.placeholder,autoFocus:this.autoFocus,suggestions:this.suggestions,suggestionsLabel:this.suggestionsLabel,onSubmit:(0,c.A)($t,this)})}}function Kt(e){let{disabled:t,placeholder:i,autoFocus:n,suggestions:a,suggestionsLabel:s,onSubmit:r}=e;const o=(0,u.useRef)(null),l=(0,u.useRef)(null),[c,d]=(0,u.useState)(""),p=(0,u.useRef)(""),m=(0,u.useCallback)((e=>{e.currentTarget.value&&(null==r||r(e.currentTarget.value))}),[r]),g=(0,u.useCallback)((e=>{p.current=e.target.value,d(e.target.value)}),[]),b=(0,u.useCallback)((()=>{null==r||r(p.current)}),[r]);(0,u.useEffect)((()=>{n&&Promise.resolve().then((()=>{var e;null===(e=l.current)||void 0===e||e.focus()}))}),[]);const v=(0,u.useMemo)((()=>null!=a&&a.length?(0,pt.chunk)(a,Math.max(2,Math.ceil(a.length/2))):[]),[a]),A=(0,u.useCallback)((e=>{p.current=e.content,d(e.content),setTimeout((()=>{var e;null===(e=l.current)||void 0===e||e.focus()}))}),[]);return h().createElement("div",{className:"root"},h().createElement("div",{className:"container",ref:o},h().createElement(ht.e,{containerRef:o,ref:l,value:c,minRows:3,paddingSize:62,autoResize:!0,disabled:t,placeholder:null!=i?i:vt(mt.ASK_ANY_THING),submitWhen:"enter-without-shift",onSubmit:m,onChange:g}),h().createElement("button",{className:"btn-send",disabled:!c,onClick:b},h().createElement(Lt,{lib:"fa",prefix:"fas",icon:"arrow-up"}))),!(null==v||!v.length)&&h().createElement("div",{className:"suggestions"},h().createElement("div",{className:"heading"},h().createElement("img",{className:"icon",src:At,width:16,height:16}),h().createElement("span",null,null!=s?s:vt(mt.COMMON_TASKS))),v.map(((e,t)=>h().createElement(Xt,{key:t,suggestions:e,pixelPerSecond:10*(t+2),onSelect:A})))))}function Xt(e){let{suggestions:t,pixelPerSecond:i,onSelect:n}=e;const a=(0,u.useRef)(null),s=(0,u.useRef)(null),[r,o]=(0,u.useState)(0);return(0,u.useEffect)((()=>{const e=a.current,t=s.current;if(!e||!t)return;let n,r,l,c,d=0;const u=(t.offsetWidth-7)/2+7;function h(e){r=e,void 0===l&&(l=e),void 0!==n&&(d+=e-n,n=void 0),o((e-l-d)/1e3*i%u),c=requestAnimationFrame(h)}c=requestAnimationFrame(h);const p=()=>{cancelAnimationFrame(c),n=r},m=()=>{c=requestAnimationFrame(h)};return e.addEventListener("mouseenter",p),e.addEventListener("mouseleave",m),()=>{cancelAnimationFrame(c),e.removeEventListener("mouseenter",p),e.removeEventListener("mouseleave",m)}}),[t,i]),h().createElement("div",{className:"carousel",ref:a},h().createElement("ul",{className:"list",ref:s,style:{transform:`translateX(${-r}px)`}},[...t,...t].map(((e,t)=>h().createElement("li",{key:t},h().createElement("div",{className:"item",onClick:()=>n(e),title:e.content},h().createElement("div",{className:"title"},e.title),h().createElement("div",{className:"content"},e.content)))))))}ft=qt,({e:[Et,wt,yt,St,Nt,Rt,Mt,Tt,_t,Ct,It,Wt,zt,Dt],c:[Vt,xt]}=(0,d.A)(ft,[Ut("ai-portal.chat-box",{styleTexts:[kt.A]})],[[Yt({type:Boolean}),1,"disabled"],[Yt(),1,"placeholder"],[Yt({type:Boolean}),1,"autoFocus"],[Yt({attribute:!1}),1,"suggestions"],[Yt(),1,"suggestionsLabel"],[Ot({type:"message.submit"}),1,"messageSubmit",e=>(0,c.A)(Gt,e),(e,t)=>(0,l.A)(Gt,e,t)]],0,(e=>$t.has((0,r.A)(e))),m.ReactNextElement)),xt();var Qt,Zt=i(82165);let ei;const{defineElement:ti}=(0,p.createDecorators)();let ii;class ni extends m.ReactNextElement{render(){return h().createElement(ai,null)}}function ai(){return h().createElement("slot",null)}Qt=ni,[ii,ei]=(0,d.A)(Qt,[ti("ai-portal.home-container",{styleTexts:[Zt.A]})],[],0,void 0,m.ReactNextElement).c,ei();var si=i(21302),ri=i.n(si);let oi=function(e){return e.TODAY="TODAY",e.YESTERDAY="YESTERDAY",e.PREVIOUS_7_DAYS="PREVIOUS_7_DAYS",e.PREVIOUS_30_DAYS="PREVIOUS_30_DAYS",e}({});const li="bricks/ai-portal/chat-history",ci={en:{[oi.TODAY]:"Today",[oi.YESTERDAY]:"Yesterday",[oi.PREVIOUS_7_DAYS]:"Previous 7 days",[oi.PREVIOUS_30_DAYS]:"Previous 30 days"},zh:{[oi.TODAY]:"今天",[oi.YESTERDAY]:"昨天",[oi.PREVIOUS_7_DAYS]:"过去7天",[oi.PREVIOUS_30_DAYS]:"过去30天"}},di=b.i18n.getFixedT(null,li);var ui,hi=i(21411);let pi,mi,gi,bi,vi,Ai,fi,ki,xi,Ei,wi,yi,Si,Ni,Ri;(0,b.initializeI18n)(li,ci);const Mi=(0,m.wrapBrick)("eo-icon"),Ti=(0,m.wrapBrick)("eo-link"),_i=(0,m.wrapBrick)("eo-mini-actions",{onActionClick:"action.click",onVisibleChange:"visible.change"}),{defineElement:Ci,property:Ii,event:Wi}=(0,p.createDecorators)();let zi;var Di=new WeakMap,Li=new WeakMap,Ui=new WeakMap,Yi=new WeakMap,Oi=new WeakSet,Vi=new WeakMap,Pi=new WeakMap,Hi=new WeakMap;class ji extends m.ReactNextElement{constructor(){super(...arguments),(0,a.A)(this,Oi),(0,s.A)(this,Di,mi(this)),(0,s.A)(this,Li,(gi(this),bi(this))),(0,s.A)(this,Ui,(vi(this),Ai(this))),(0,s.A)(this,Yi,(fi(this),ki(this))),(0,s.A)(this,Vi,(wi(this),e=>{(0,o.A)(Oi,this,xi).emit(e)})),(0,s.A)(this,Pi,yi(this)),(0,s.A)(this,Hi,(Ri(this),e=>{(0,o.A)(Oi,this,Si).emit({nextToken:e})}))}get list(){return(0,c.A)(Di,this)}set list(e){(0,l.A)(Di,this,e)}get actions(){return(0,c.A)(Li,this)}set actions(e){(0,l.A)(Li,this,e)}get nextToken(){return(0,c.A)(Ui,this)}set nextToken(e){(0,l.A)(Ui,this,e)}render(){return h().createElement(Bi,{root:this,list:this.list,actions:this.actions,nextToken:this.nextToken,onActionClick:(0,c.A)(Vi,this),onLoadMore:(0,c.A)(Hi,this)})}}function Bi(e){let{root:t,list:i,actions:n,nextToken:a,onActionClick:s,onLoadMore:r}=e;const o=(0,u.useMemo)((()=>{const e=new Map,t=ri()(),n=t.clone().startOf("day"),a=n.clone().subtract(1,"day"),s=n.clone().subtract(7,"days"),r=n.clone().subtract(30,"days"),o=+n/1e3,l=+a/1e3,c=+s/1e3,d=+r/1e3,u=+t.clone().startOf("year")/1e3;for(const t of null!=i?i:[]){let i;i=t.startTime>=o?di(oi.TODAY):t.startTime>=l?di(oi.YESTERDAY):t.startTime>=c?di(oi.PREVIOUS_7_DAYS):t.startTime>=d?di(oi.PREVIOUS_30_DAYS):t.startTime>=u?ri()(1e3*t.startTime).format("MMMM"):ri()(1e3*t.startTime).format("YYYY");let n=e.get(i);n||e.set(i,n={title:i,items:[]}),n.items.push(t)}return[...e.values()]}),[i]),[l,c]=(0,u.useState)(null),d=(0,u.useRef)(null);return(0,u.useEffect)((()=>{const e=d.current;if(!e||!a)return;const i=new IntersectionObserver((e=>{for(const t of e)t.isIntersecting&&r(a)}),{root:t});return i.observe(e),()=>{i.disconnect()}}),[a,r,t]),i?h().createElement(h().Fragment,null,h().createElement("ul",null,o.map((e=>h().createElement("li",{key:e.title,className:"group"},h().createElement("div",{className:"group-title"},e.title),h().createElement("ul",{className:"items"},e.items.map((e=>h().createElement("li",{key:e.id},h().createElement(Ti,{className:A()("item",{active:l===e.id}),url:e.url},h().createElement("div",{className:"item-title",title:e.title},e.title),h().createElement(_i,{className:"actions",actions:n,onActionClick:t=>{s({action:t.detail,item:e})},onVisibleChange:t=>{c(t.detail?e.id:null)}}),!Y.QB.includes(e.state)&&h().createElement("div",{className:"working"})))))))))),a&&h().createElement("div",{className:"load-more",ref:d},h().createElement(Mi,{lib:"antd",icon:"loading-3-quarters",spinning:!0}))):h().createElement("div",{className:"loading"},h().createElement(Mi,{lib:"antd",theme:"outlined",icon:"loading-3-quarters",spinning:!0}))}ui=ji,({e:[mi,gi,bi,vi,Ai,fi,ki,xi,Ei,wi,yi,Si,Ni,Ri],c:[zi,pi]}=(0,d.A)(ui,[Ci("ai-portal.chat-history",{styleTexts:[hi.A]})],[[Ii({attribute:!1}),1,"list"],[Ii({attribute:!1}),1,"actions"],[Ii(),1,"nextToken"],[Wi({type:"action.click"}),1,"actionClick",e=>(0,c.A)(Yi,e),(e,t)=>(0,l.A)(Yi,e,t)],[Wi({type:"load.more"}),1,"loadMore",e=>(0,c.A)(Pi,e),(e,t)=>(0,l.A)(Pi,e,t)]],0,(e=>Hi.has((0,r.A)(e))),m.ReactNextElement)),pi();var Fi,Gi=i(89575),Ji=i(24);let $i,qi,Ki,Xi,Qi,Zi,en,tn,nn,an,sn,rn,on,ln,cn,dn,un,hn,pn,mn,gn;const bn=(0,m.wrapBrick)("eo-mini-line-chart"),{defineElement:vn,property:An}=(0,p.createDecorators)();let fn;var kn=new WeakMap,xn=new WeakMap,En=new WeakMap,wn=new WeakMap,yn=new WeakMap,Sn=new WeakMap,Nn=new WeakMap,Rn=new WeakMap,Mn=new WeakMap,Tn=new WeakMap;class _n extends m.ReactNextElement{constructor(){super(...arguments),(0,s.A)(this,kn,qi(this)),(0,s.A)(this,xn,(Ki(this),Xi(this))),(0,s.A)(this,En,(Qi(this),Zi(this))),(0,s.A)(this,wn,(en(this),tn(this))),(0,s.A)(this,yn,(nn(this),an(this))),(0,s.A)(this,Sn,(sn(this),rn(this))),(0,s.A)(this,Nn,(on(this),ln(this))),(0,s.A)(this,Rn,(cn(this),dn(this))),(0,s.A)(this,Mn,(un(this),hn(this))),(0,s.A)(this,Tn,(pn(this),mn(this))),gn(this)}get label(){return(0,c.A)(kn,this)}set label(e){(0,l.A)(kn,this,e)}get value(){return(0,c.A)(xn,this)}set value(e){(0,l.A)(xn,this,e)}get size(){return(0,c.A)(En,this)}set size(e){(0,l.A)(En,this,e)}get lineColor(){return(0,c.A)(wn,this)}set lineColor(e){(0,l.A)(wn,this,e)}get showArea(){return(0,c.A)(yn,this)}set showArea(e){(0,l.A)(yn,this,e)}get min(){return(0,c.A)(Sn,this)}set min(e){(0,l.A)(Sn,this,e)}get max(){return(0,c.A)(Nn,this)}set max(e){(0,l.A)(Nn,this,e)}get xField(){return(0,c.A)(Rn,this)}set xField(e){(0,l.A)(Rn,this,e)}get yField(){return(0,c.A)(Mn,this)}set yField(e){(0,l.A)(Mn,this,e)}get data(){return(0,c.A)(Tn,this)}set data(e){(0,l.A)(Tn,this,e)}render(){return h().createElement(Cn,{label:this.label,value:this.value,size:this.size,lineColor:this.lineColor,showArea:this.showArea,min:this.min,max:this.max,xField:this.xField,yField:this.yField,data:this.data})}}function Cn(e){let{label:t,value:i,size:n,...a}=e;return"small"===n?h().createElement("div",{className:"container"},h().createElement("div",{className:"label-and-stat"},h().createElement("div",{className:"label"},t),h().createElement("div",{className:"stat"},i)),h().createElement("div",{className:"chart"},h().createElement(bn,(0,Gi.A)({},a,{lineWidth:1.5,width:"auto",height:"55"})))):h().createElement("div",{className:"container"},h().createElement("div",{className:"label"},t),h().createElement("div",{className:"stat-and-chart"},h().createElement("div",{className:"chart"},h().createElement(bn,(0,Gi.A)({},a,{lineWidth:2,width:"auto",height:"92"}))),h().createElement("div",{className:"stat"},i)))}Fi=_n,({e:[qi,Ki,Xi,Qi,Zi,en,tn,nn,an,sn,rn,on,ln,cn,dn,un,hn,pn,mn,gn],c:[fn,$i]}=(0,d.A)(Fi,[vn("ai-portal.stat-with-mini-chart",{styleTexts:[Ji.A]})],[[An(),1,"label"],[An(),1,"value"],[An(),1,"size"],[An(),1,"lineColor"],[An({type:Boolean}),1,"showArea"],[An({type:Number}),1,"min"],[An({type:Number}),1,"max"],[An(),1,"xField"],[An(),1,"yField"],[An({attribute:!1}),1,"data"]],0,void 0,m.ReactNextElement)),$i();const In=i.p+"images/7385e5f5.png";var Wn,zn=i(31653);let Dn;const{defineElement:Ln}=(0,p.createDecorators)();let Un;class Yn extends m.ReactNextElement{render(){return h().createElement(On,null)}}function On(){return h().createElement("img",{src:In,alt:"Elevo",width:95,height:26})}Wn=Yn,[Un,Dn]=(0,d.A)(Wn,[Ln("ai-portal.elevo-logo",{styleTexts:[zn.A]})],[],0,void 0,m.ReactNextElement).c,Dn();let Vn=function(e){return e.NEW_CHAT="NEW_CHAT",e.LOGOUT="LOGOUT",e.TODAY="TODAY",e.YESTERDAY="YESTERDAY",e.PREVIOUS_7_DAYS="PREVIOUS_7_DAYS",e.PREVIOUS_30_DAYS="PREVIOUS_30_DAYS",e.SWITCH_LANGUAGE="SWITCH_LANGUAGE",e}({});const Pn="bricks/ai-portal/elevo-sidebar",Hn={en:{[Vn.NEW_CHAT]:"New chat",[Vn.LOGOUT]:"Logout",[Vn.TODAY]:"Today",[Vn.YESTERDAY]:"Yesterday",[Vn.PREVIOUS_7_DAYS]:"Previous 7 days",[Vn.PREVIOUS_30_DAYS]:"Previous 30 days",[Vn.SWITCH_LANGUAGE]:"中文"},zh:{[Vn.NEW_CHAT]:"新对话",[Vn.LOGOUT]:"登出",[Vn.TODAY]:"今天",[Vn.YESTERDAY]:"昨天",[Vn.PREVIOUS_7_DAYS]:"过去7天",[Vn.PREVIOUS_30_DAYS]:"过去30天",[Vn.SWITCH_LANGUAGE]:"English"}},jn=b.i18n.getFixedT(null,Pn);var Bn=i(61408);const Fn=(0,m.wrapBrick)("eo-icon"),Gn=(0,m.wrapBrick)("eo-link"),Jn=(0,m.wrapBrick)("eo-dropdown-actions",{onActionClick:"action.click",onVisibleChange:"visible.change"}),$n=(0,m.wrapBrick)("eo-easyops-avatar"),qn=(0,m.wrapBrick)("eo-mini-actions",{onActionClick:"action.click",onVisibleChange:"visible.change"}),Kn=(0,m.wrapBrick)("ai-portal.icon-button");var Xn=i(57372);const Qn=async(e,t)=>(await Xn.http.post("api/gateway/logic.llm.aiops_service/api/v1/llm/agent/flow/search",e,t)).data,Zn=(0,u.forwardRef)(ea);function ea(e,t){let{activeId:i,actions:n,urlTemplate:a,onActionClick:s,onHistoryClick:r}=e;const o=(0,u.useRef)(null),[l,c]=(0,u.useState)(null),[d,p]=(0,u.useState)(),[m,g]=(0,u.useState)();(0,u.useEffect)((()=>{Promise.all([Qn({next_token:m},{interceptorParams:{ignoreLoadingBar:!0}}),new Promise((e=>setTimeout(e,500)))]).then((e=>{let[t]=e;c((e=>[...null!=e?e:[],...t.data])),p(t.next_token)})).catch((e=>{console.error("Error loading chat history:",e)}))}),[m]);const b=(0,u.useMemo)((()=>{const e=new Map,t=ri()(),i=t.clone().startOf("day"),n=i.clone().subtract(1,"day"),a=i.clone().subtract(7,"days"),s=i.clone().subtract(30,"days"),r=+i/1e3,o=+n/1e3,c=+a/1e3,d=+s/1e3,u=+t.clone().startOf("year")/1e3;for(const t of null!=l?l:[]){let i;i=t.startTime>=r?jn(Vn.TODAY):t.startTime>=o?jn(Vn.YESTERDAY):t.startTime>=c?jn(Vn.PREVIOUS_7_DAYS):t.startTime>=d?jn(Vn.PREVIOUS_30_DAYS):t.startTime>=u?ri()(1e3*t.startTime).format("MMMM"):ri()(1e3*t.startTime).format("YYYY");let n=e.get(i);n||e.set(i,n={title:i,items:[]}),n.items.push(t)}return[...e.values()]}),[l]),[v,f]=(0,u.useState)(null),k=(0,u.useRef)(null);(0,u.useEffect)((()=>{const e=k.current,t=o.current;if(!e||!d||!t)return;const i=new IntersectionObserver((e=>{for(const t of e)t.isIntersecting&&g(d)}),{root:t});return i.observe(e),()=>{i.disconnect()}}),[d]);const x=(0,u.useRef)(0),E=(0,u.useCallback)((async()=>{try{const e=++x.current,t=await Qn({},{interceptorParams:{ignoreLoadingBar:!0}});if(e!==x.current)return;c((e=>{const i=null!=e?e:[],n=t.data,a=new Set(n.map((e=>e.id))),s=new Map(n.map((e=>[e.id,e])));let r=!1,o=!1,l=!0;for(const e of i){const t=s.get(e.id);if(!t)break;if(r=!0,o=l&&t!==n[0]||!(0,pt.isEqual)(t,e),o)break;l=!1}return r?o?[...n,...i.filter((e=>!a.has(e.id)))]:e:(p(t.next_token),n)}))}catch(e){console.error("Error pulling chat history:",e)}}),[]);return(0,u.useImperativeHandle)(t,(()=>({pull:E})),[E]),l?h().createElement("div",{className:"history",ref:o},h().createElement("ul",null,b.map((e=>h().createElement("li",{key:e.title,className:"group"},h().createElement("div",{className:"group-title"},e.title),h().createElement("ul",{className:"items"},e.items.map((e=>{return h().createElement("li",{key:e.id},h().createElement(Gn,(0,Gi.A)({className:A()("item",{"actions-active":e.id===v,active:e.id===i}),onClick:r},a?{url:(t=a,o=e,null==t?void 0:t.replace(/{{(.*?)}}/g,((e,t)=>(0,pt.get)(o,t))))}:null),h().createElement("div",{className:"item-title",title:e.title},e.title),h().createElement(qn,{className:"actions",actions:n,onActionClick:t=>{s({action:t.detail,item:e})},onVisibleChange:t=>{f(t.detail?e.id:null)}}),!Y.QB.includes(e.state)&&h().createElement("div",{className:"working"})));var t,o}))))))),d&&h().createElement("div",{className:"load-more",ref:k},h().createElement(Fn,{lib:"antd",icon:"loading-3-quarters",spinning:!0}))):h().createElement("div",{className:"history"},h().createElement("div",{className:"loading"},h().createElement(Fn,{lib:"antd",theme:"outlined",icon:"loading-3-quarters",spinning:!0})))}var ta;let ia,na,aa,sa,ra,oa,la,ca,da,ua,ha,pa,ma,ga,ba,va,Aa,fa,ka,xa,Ea,wa,ya,Sa,Na,Ra;(0,b.initializeI18n)(Pn,Hn);const Ma={lib:"easyops",icon:"sidebar"},{defineElement:Ta,property:_a,event:Ca,method:Ia}=(0,p.createDecorators)(),Wa=(0,u.forwardRef)(Ka);let za;var Da=new WeakMap,La=new WeakMap,Ua=new WeakMap,Ya=new WeakMap,Oa=new WeakMap,Va=new WeakMap,Pa=new WeakMap,Ha=new WeakMap,ja=new WeakMap,Ba=new WeakSet,Fa=new WeakMap,Ga=new WeakMap,Ja=new WeakMap,$a=new WeakMap;class qa extends m.ReactNextElement{constructor(){super(...arguments),(0,a.A)(this,Ba),(0,s.A)(this,Da,(ia(this),aa(this))),(0,s.A)(this,La,(sa(this),ra(this))),(0,s.A)(this,Ua,(oa(this),la(this))),(0,s.A)(this,Ya,(ca(this),da(this))),(0,s.A)(this,Oa,(ua(this),ha(this))),(0,s.A)(this,Va,(pa(this),ma(this))),(0,s.A)(this,Pa,(ga(this),ba(this))),(0,s.A)(this,Ha,(va(this),Aa(this))),(0,s.A)(this,ja,(fa(this),ka(this))),(0,s.A)(this,Fa,(wa(this),()=>{(0,o.A)(Ba,this,xa).emit()})),(0,s.A)(this,Ga,ya(this)),(0,s.A)(this,Ja,(Ra(this),e=>{(0,o.A)(Ba,this,Sa).emit(e)})),(0,s.A)(this,$a,(0,u.createRef)())}get userInstanceId(){return(0,c.A)(Da,this)}set userInstanceId(e){(0,l.A)(Da,this,e)}get behavior(){return(0,c.A)(La,this)}set behavior(e){(0,l.A)(La,this,e)}get logoUrl(){return(0,c.A)(Ua,this)}set logoUrl(e){(0,l.A)(Ua,this,e)}get newChatUrl(){return(0,c.A)(Ya,this)}set newChatUrl(e){(0,l.A)(Ya,this,e)}get historyActiveId(){return(0,c.A)(Oa,this)}set historyActiveId(e){(0,l.A)(Oa,this,e)}get historyUrlTemplate(){return(0,c.A)(Va,this)}set historyUrlTemplate(e){(0,l.A)(Va,this,e)}get historyActions(){return(0,c.A)(Pa,this)}set historyActions(e){(0,l.A)(Pa,this,e)}get links(){return(0,c.A)(Ha,this)}set links(e){(0,l.A)(Ha,this,e)}pullHistory(e){setTimeout((()=>{var e;null===(e=(0,c.A)($a,this).current)||void 0===e||e.pull()}),e)}render(){return h().createElement(Wa,{ref:(0,c.A)($a,this),userInstanceId:this.userInstanceId,behavior:this.behavior,logoUrl:this.logoUrl,newChatUrl:this.newChatUrl,historyActiveId:this.historyActiveId,historyUrlTemplate:this.historyUrlTemplate,historyActions:this.historyActions,links:this.links,onLogout:(0,c.A)(Fa,this),onActionClick:(0,c.A)(Ja,this)})}}function Ka(e,t){let{userInstanceId:i,behavior:n,logoUrl:a,newChatUrl:s,historyActiveId:r,historyUrlTemplate:o,historyActions:l,links:c,onLogout:d,onActionClick:p}=e;const[m,v]=(0,u.useState)("drawer"===n),f=(0,u.useCallback)((()=>{v(!0)}),[]),k=(0,u.useCallback)((()=>{v(!1)}),[]);(0,u.useEffect)((()=>{"drawer"===n&&v(!0)}),[n]);const x=(0,u.useCallback)((()=>{v(!0)}),[]),E=(0,u.useCallback)((()=>{"drawer"===n&&v(!0)}),[n]),w=(0,u.useMemo)((()=>[{key:"logout",icon:{lib:"fa",prefix:"fas",icon:"arrow-right-from-bracket"},text:jn(Vn.LOGOUT)},{key:"switch-language",icon:{lib:"easyops",icon:"language"},text:jn(Vn.SWITCH_LANGUAGE)}]),[]);return h().createElement("div",{className:A()("container",{collapsed:m})},"drawer"===n&&!m&&h().createElement("div",{className:"mask",onClick:x}),h().createElement("div",{className:"sidebar"},h().createElement("div",{className:"logo-bar"},h().createElement(Gn,{url:a,className:"logo-link"},h().createElement("img",{className:"logo",alt:"Elevo",src:In,width:95,height:26})),h().createElement(Kn,{icon:Ma,variant:"light",onClick:f})),h().createElement(Gn,{className:"new-chat",url:s},h().createElement(Fn,{className:"new-chat-icon",lib:"easyops",icon:"new-chat"}),jn(Vn.NEW_CHAT)),null!=c&&c.length?h().createElement("div",{className:"links"},c.map(((e,t)=>h().createElement(Gn,{className:"link",key:t,url:e.url},h().createElement(Fn,(0,Gi.A)({className:"icon"},e.icon)),h().createElement("span",{className:"title"},e.title))))):null,h().createElement(Zn,{ref:t,activeId:r,urlTemplate:o,actions:l,onActionClick:p,onHistoryClick:E}),h().createElement("div",{className:"footer"},h().createElement(Jn,{className:"dropdown",actions:w,onActionClick:async e=>{"logout"===e.detail.key?d():(await b.i18n.changeLanguage(b.i18n.language&&"en"===b.i18n.language.split("-")[0]?"zh":"en"),(0,g.getHistory)().reload())}},h().createElement("button",{className:"account"},h().createElement($n,{nameOrInstanceId:i,showName:!0,size:"xs"}))))),h().createElement("div",{className:"alternative"},h().createElement(Kn,{icon:Ma,variant:"light",onClick:k}),h().createElement(Gn,{className:"new-chat",url:s},h().createElement(Fn,{className:"new-chat-icon",lib:"easyops",icon:"new-chat"}),jn(Vn.NEW_CHAT))))}ta=qa,({e:[aa,sa,ra,oa,la,ca,da,ua,ha,pa,ma,ga,ba,va,Aa,fa,ka,xa,Ea,wa,ya,Sa,Na,Ra,ia],c:[za,na]}=(0,d.A)(ta,[Ta("ai-portal.elevo-sidebar",{styleTexts:[Bn.A]})],[[_a(),1,"userInstanceId"],[_a(),1,"behavior"],[_a(),1,"logoUrl"],[_a(),1,"newChatUrl"],[_a(),1,"historyActiveId"],[_a(),1,"historyUrlTemplate"],[_a({attribute:!1}),1,"historyActions"],[_a({attribute:!1}),1,"links"],[Ca({type:"logout"}),1,"logout",e=>(0,c.A)(ja,e),(e,t)=>(0,l.A)(ja,e,t)],[Ca({type:"action.click"}),1,"actionClick",e=>(0,c.A)(Ga,e),(e,t)=>(0,l.A)(Ga,e,t)],[Ia(),2,"pullHistory"]],0,(e=>$a.has((0,r.A)(e))),m.ReactNextElement)),na();var Xa,Qa=i(47338);let Za,es,ts,is,ns,as,ss,rs,os;const ls=(0,m.wrapBrick)("eo-icon"),cs=(0,m.wrapBrick)("eo-tooltip"),{defineElement:ds,property:us}=(0,p.createDecorators)();let hs;var ps=new WeakMap,ms=new WeakMap,gs=new WeakMap,bs=new WeakMap;class vs extends m.ReactNextElement{constructor(){super(...arguments),(0,s.A)(this,ps,es(this)),(0,s.A)(this,ms,(ts(this),is(this))),(0,s.A)(this,gs,(ns(this),as(this))),(0,s.A)(this,bs,(ss(this),rs(this))),os(this)}get icon(){return(0,c.A)(ps,this)}set icon(e){(0,l.A)(ps,this,e)}get tooltip(){return(0,c.A)(ms,this)}set tooltip(e){(0,l.A)(ms,this,e)}get disabled(){return(0,c.A)(gs,this)}set disabled(e){(0,l.A)(gs,this,e)}get variant(){return(0,c.A)(bs,this)}set variant(e){(0,l.A)(bs,this,e)}render(){return h().createElement(As,{icon:this.icon,tooltip:this.tooltip,disabled:this.disabled})}}function As(e){let{icon:t,tooltip:i,disabled:n}=e;const a=h().createElement("button",{disabled:n},h().createElement(ls,t));return i?h().createElement(cs,{content:i},a):a}Xa=vs,({e:[es,ts,is,ns,as,ss,rs,os],c:[hs,Za]}=(0,d.A)(Xa,[ds("ai-portal.icon-button",{styleTexts:[Qa.A]})],[[us({attribute:!1}),1,"icon"],[us(),1,"tooltip"],[us({type:Boolean}),1,"disabled"],[us({render:!1}),1,"variant"]],0,void 0,m.ReactNextElement)),Za();let fs=function(e){return e.ALL="ALL",e}({});const ks="bricks/ai-portal/show-cases",xs={en:{[fs.ALL]:"All"},zh:{[fs.ALL]:"全部"}},Es=b.i18n.getFixedT(null,ks);var ws,ys=i(42873);let Ss,Ns,Rs,Ms,Ts;(0,b.initializeI18n)(ks,xs);const _s=(0,m.wrapBrick)("eo-link"),{defineElement:Cs,property:Is}=(0,p.createDecorators)();let Ws;var zs=new WeakMap,Ds=new WeakMap;class Ls extends m.ReactNextElement{constructor(){super(...arguments),(0,s.A)(this,zs,Ns(this)),(0,s.A)(this,Ds,(Rs(this),Ms(this))),Ts(this)}get list(){return(0,c.A)(zs,this)}set list(e){(0,l.A)(zs,this,e)}get taskUrlTemplate(){return(0,c.A)(Ds,this)}set taskUrlTemplate(e){(0,l.A)(Ds,this,e)}render(){return h().createElement(Us,{list:this.list,taskUrlTemplate:this.taskUrlTemplate})}}function Us(e){let{list:t,taskUrlTemplate:i}=e;const n=(0,u.useMemo)((()=>[null,...new Set(null==t?void 0:t.map((e=>e.scenario)).filter(Boolean))]),[t]),[a,s]=(0,u.useState)(null),r=(0,u.useMemo)((()=>a?null==t?void 0:t.filter((e=>e.scenario===a)):t),[a,t]);return null!=t&&t.length?h().createElement(h().Fragment,null,h().createElement("ul",{className:"nav"},null==n?void 0:n.map((e=>h().createElement("li",{key:e,className:"item"},h().createElement("a",{className:A()({active:a===e}),onClick:()=>s(e)},null===e?Es(fs.ALL):e))))),h().createElement("ul",{className:"cases"},null==r?void 0:r.map((e=>{return h().createElement("li",{key:e.taskId,className:"item"},h().createElement(_s,{className:"link",url:(t=i,n=e,null==t?void 0:t.replace(/{{(.*?)}}/g,((e,t)=>(0,pt.get)(n,t))))},h().createElement("span",{className:A()("placeholder",e.thumbUrl?"thumbnail":"summary")},e.thumbUrl?h().createElement("span",{style:{backgroundImage:`url(${(0,g.getBasePath)()}${e.thumbUrl})`}}):h().createElement("span",{className:"summary-1"},h().createElement("span",{className:"summary-2"},h().createElement("span",null,e.summary)))),h().createElement("span",{className:"title"},h().createElement("span",null,e.title))));var t,n})))):null}ws=Ls,({e:[Ns,Rs,Ms,Ts],c:[Ws,Ss]}=(0,d.A)(ws,[Cs("ai-portal.show-cases",{styleTexts:[ys.A]})],[[Is({attribute:!1}),1,"list"],[Is(),1,"taskUrlTemplate"]],0,void 0,m.ReactNextElement)),Ss();let Ys=function(e){return e.MCP_HUB="MCP_HUB",e.ALL="ALL",e.SERVER_cmdb="SERVER_cmdb",e.SERVER_alert="SERVER_alert",e.SERVER_web_builder="SERVER_web_builder",e.SERVER_host_troubleshooting="SERVER_host_troubleshooting",e.SERVER_system_inspection="SERVER_system_inspection",e}({});const Os="bricks/ai-portal/mcp-tools",Vs={en:{[Ys.MCP_HUB]:"MCP Hub",[Ys.ALL]:"All",[Ys.SERVER_cmdb]:"CMDB",[Ys.SERVER_alert]:"Alert",[Ys.SERVER_web_builder]:"View",[Ys.SERVER_host_troubleshooting]:"Host Troubleshooting",[Ys.SERVER_system_inspection]:"System Inspection"},zh:{[Ys.MCP_HUB]:"MCP 中心",[Ys.ALL]:"全部",[Ys.SERVER_cmdb]:"CMDB",[Ys.SERVER_alert]:"告警",[Ys.SERVER_web_builder]:"视图",[Ys.SERVER_host_troubleshooting]:"主机故障排查",[Ys.SERVER_system_inspection]:"系统巡检"}},Ps=b.i18n.getFixedT(null,Os);var Hs,js=i(31748);let Bs,Fs,Gs;(0,b.initializeI18n)(Os,Vs);const Js={lib:"antd",icon:"tool"},$s=(0,m.wrapBrick)("eo-icon"),{defineElement:qs,property:Ks}=(0,p.createDecorators)();let Xs;var Qs=new WeakMap;class Zs extends m.ReactNextElement{constructor(){super(...arguments),(0,s.A)(this,Qs,Fs(this)),Gs(this)}get list(){return(0,c.A)(Qs,this)}set list(e){(0,l.A)(Qs,this,e)}render(){return h().createElement(er,{list:this.list})}}function er(e){let{list:t}=e;const i=(0,u.useMemo)((()=>{const e=new Map;return null==t||t.forEach((t=>{const i=Ps(`SERVER_${t.server.id.replaceAll("-","_")}`,t.server.name);let n=e.get(i);n||e.set(i,n=[]),n.push(t)})),e}),[t]),n=(0,u.useMemo)((()=>[null,...i.keys()]),[i]),[a,s]=(0,u.useState)(null),r=(0,u.useMemo)((()=>{const e=[...i];return null===a?e:e.filter((e=>{let[t]=e;return t===a}))}),[a,i]);return h().createElement("div",{className:"container"},h().createElement("h1",null,Ps(Ys.MCP_HUB)),h().createElement("ul",{className:"nav"},null==n?void 0:n.map((e=>h().createElement("li",{key:e,className:"item"},h().createElement("a",{className:A()({active:a===e}),onClick:()=>s(e)},null===e?Ps(Ys.ALL):e))))),h().createElement("ul",{className:"groups"},null==r?void 0:r.map((e=>{let[t,i]=e;return h().createElement("li",{key:t,className:"group"},h().createElement("h2",null,t),h().createElement("ul",{className:"list"},i.map((e=>{var t;return h().createElement("li",{key:e.name,className:"item"},h().createElement("div",{className:"heading"},h().createElement($s,(0,Gi.A)({className:"icon"},null!==(t=e.icon)&&void 0!==t?t:Js,{fallback:Js})),h().createElement("div",{className:"title"},e.title)),h().createElement("div",{className:"description"},e.description))}))))}))))}Hs=Zs,({e:[Fs,Gs],c:[Xs,Bs]}=(0,d.A)(Hs,[qs("ai-portal.mcp-tools",{styleTexts:[js.A]})],[[Ks({attribute:!1}),1,"list"]],0,void 0,m.ReactNextElement)),Bs();var tr,ir=i(92914),nr=i(80413),ar=i(22025),sr=i(13183),rr=i(30578),or=i(17911);let lr,cr,dr,ur,hr,pr,mr,gr,br,vr,Ar,fr,kr,xr,Er,wr,yr,Sr,Nr,Rr,Mr,Tr,_r,Cr,Ir;(0,b.initializeI18n)(ir.NS,ir.I);const Wr={lib:"easyops",icon:"share"},{defineElement:zr,property:Dr,event:Lr}=(0,p.createDecorators)();let Ur;var Yr=new WeakMap,Or=new WeakMap,Vr=new WeakMap,Pr=new WeakMap,Hr=new WeakMap,jr=new WeakSet,Br=new WeakMap,Fr=new WeakMap,Gr=new WeakMap,Jr=new WeakMap,$r=new WeakMap,qr=new WeakMap,Kr=new WeakMap;class Xr extends m.ReactNextElement{constructor(){super(...arguments),(0,a.A)(this,jr),(0,s.A)(this,Yr,cr(this)),(0,s.A)(this,Or,(dr(this),ur(this))),(0,s.A)(this,Vr,(hr(this),pr(this))),(0,s.A)(this,Pr,(mr(this),gr(this))),(0,s.A)(this,Hr,(br(this),vr(this))),(0,s.A)(this,Br,(kr(this),()=>{(0,o.A)(jr,this,Ar).emit()})),(0,s.A)(this,Fr,xr(this)),(0,s.A)(this,Gr,(yr(this),()=>{(0,o.A)(jr,this,Er).emit()})),(0,s.A)(this,Jr,Sr(this)),(0,s.A)(this,$r,(Mr(this),()=>{(0,o.A)(jr,this,Nr).emit()})),(0,s.A)(this,qr,Tr(this)),(0,s.A)(this,Kr,(Ir(this),()=>{(0,o.A)(jr,this,_r).emit()}))}get taskId(){return(0,c.A)(Yr,this)}set taskId(e){(0,l.A)(Yr,this,e)}get replay(){return(0,c.A)(Or,this)}set replay(e){(0,l.A)(Or,this,e)}get replayDelay(){return(0,c.A)(Vr,this)}set replayDelay(e){(0,l.A)(Vr,this,e)}get supports(){return(0,c.A)(Pr,this)}set supports(e){(0,l.A)(Pr,this,e)}render(){return h().createElement(Qr,{taskId:this.taskId,replay:this.replay,replayDelay:this.replayDelay,supports:this.supports,onShare:(0,c.A)(Br,this),onPause:(0,c.A)(Gr,this),onResume:(0,c.A)($r,this),onCancel:(0,c.A)(Kr,this)})}}function Qr(e){var t;let{taskId:i,replay:n,replayDelay:a,supports:s,onShare:r,onPause:o,onResume:l,onCancel:c}=e;const{task:d,jobs:p,error:m,humanInputRef:b,skipToResults:v,watchAgain:k}=(0,M.S)(i,n,a),x=null!==(t=null==d?void 0:d.title)&&void 0!==t?t:"",E=null==d?void 0:d.state,w=Y.QB.includes(E),{messages:y,inputRequiredJobId:S}=(0,nr.e)(d,p),N=(0,u.useMemo)((()=>null==p?void 0:p.flatMap((e=>e.generatedView?{id:e.id,view:e.generatedView}:[]))),[p]),[R,T]=(0,u.useState)(null),[_,C]=(0,u.useState)(null);(0,u.useEffect)((()=>{(0,g.getRuntime)().applyPageTitle(x)}),[x]),(0,u.useEffect)((()=>{m&&(0,g.handleHttpError)(m)}),[m]);const I=(0,u.useCallback)(((e,t)=>{var i;null===(i=b.current)||void 0===i||i.call(b,e,t)}),[b]),W=(0,u.useMemo)((()=>({humanInput:I,onShare:r,onPause:o,onResume:l,onCancel:c,supports:s,activeExpandedViewJobId:R,setActiveExpandedViewJobId:T,activeToolCallJobId:_,setActiveToolCallJobId:C})),[I,r,o,l,c,s,R,_]),z=(0,u.useRef)(!1),D=(0,u.useRef)(!1),L=(0,u.useRef)(null),U=!!d;(0,u.useEffect)((()=>{const e=L.current,t=null==e?void 0:e.firstElementChild;if(D.current||!e||!t)return;const i=()=>{z.current&&(D.current=e.scrollTop+e.clientHeight+6<e.scrollHeight)};let n;e.addEventListener("scroll",i);const a=new f.A((()=>{D.current||(z.current=!1,e.scrollTo({top:t.scrollHeight,behavior:"instant"}),clearTimeout(n),n=setTimeout((()=>{z.current=!0}),100))}));return a.observe(t),()=>{a.disconnect(),e.removeEventListener("scroll",i)}}),[U]);const V=(0,u.useMemo)((()=>_?null==p?void 0:p.find((e=>e.id===_)):null),[_,p]);return h().createElement(K.j.Provider,{value:W},h().createElement("div",{className:ar.A.container},h().createElement("div",{className:ar.A.header},h().createElement("div",{className:ar.A.left}),h().createElement("h1",null,x),h().createElement("div",{className:ar.A.right},h().createElement(O.Py,{icon:Wr,variant:"mini",onClick:r}))),U?h().createElement("div",{className:ar.A.main,ref:L},h().createElement("div",{className:ar.A.narrow},null==y?void 0:y.map(((e,t,i)=>h().createElement("div",{className:ar.A.message,key:t},"user"===e.role?h().createElement(sr.R,{content:e.content}):h().createElement(rr.G,{jobs:e.jobs,taskState:E,isLatest:t===i.length-1})))))):h().createElement("div",{className:ar.A["loading-icon"]},h().createElement(O.Bj,{lib:"antd",theme:"outlined",icon:"loading-3-quarters",spinning:!0})),n||null!=s&&s.chat?h().createElement("div",{className:ar.A.footer},h().createElement("div",{className:ar.A.narrow},n?h().createElement(G.b,{taskDone:w,skipToResults:v,watchAgain:k}):h().createElement(J.s,{taskState:E,taskDone:w,inputRequiredJobId:S}))):null),h().createElement("div",{className:A()(ar.A.aside,{[ar.A.expanded]:!!_})},_&&h().createElement(or.n,{job:V})),R&&h().createElement(B.f,{views:N}))}tr=Xr,({e:[cr,dr,ur,hr,pr,mr,gr,br,vr,Ar,fr,kr,xr,Er,wr,yr,Sr,Nr,Rr,Mr,Tr,_r,Cr,Ir],c:[Ur,lr]}=(0,d.A)(tr,[zr("ai-portal.chat-stream",{shadowOptions:!1})],[[Dr(),1,"taskId"],[Dr({type:Boolean}),1,"replay"],[Dr({type:Number}),1,"replayDelay"],[Dr({attribute:!1}),1,"supports"],[Lr({type:"share"}),1,"shareEvent",e=>(0,c.A)(Hr,e),(e,t)=>(0,l.A)(Hr,e,t)],[Lr({type:"pause"}),1,"pauseEvent",e=>(0,c.A)(Fr,e),(e,t)=>(0,l.A)(Fr,e,t)],[Lr({type:"resume"}),1,"resumeEvent",e=>(0,c.A)(Jr,e),(e,t)=>(0,l.A)(Jr,e,t)],[Lr({type:"cancel"}),1,"cancelEvent",e=>(0,c.A)(qr,e),(e,t)=>(0,l.A)(qr,e,t)]],0,(e=>Kr.has((0,r.A)(e))),m.ReactNextElement)),lr()},82165:(e,t,i)=>{i.d(t,{A:()=>h});var n=i(36758),a=i.n(n),s=i(40935),r=i.n(s),o=i(20062),l=i.n(o),c=new URL(i(32360),i.b),d=r()(a()),u=l()(c);d.push([e.id,`:host{display:block;background-color:#fff;background-image:url(${u});background-position:center;background-size:cover;background-repeat:no-repeat;background-attachment:fixed}:host([hidden]){display:none}`,""]);const h=d.toString()},89518:(e,t,i)=>{e.exports=i.p+"images/f819b04a.png"},91107:(e,t,i)=>{e.exports=i.p+"images/eef4f2bd.png"}}]);
|
|
3
|
-
//# sourceMappingURL=9543.929397fe.js.map
|