comfyui-node 1.1.2 → 1.1.4
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/LICENSE +1 -1
- package/README.md +1140 -1140
- package/dist/.tsbuildinfo +1 -1
- package/dist/client.d.ts +1 -0
- package/dist/client.d.ts.map +1 -1
- package/dist/client.js +0 -1
- package/dist/client.js.map +1 -1
- package/dist/constants.d.ts +9 -0
- package/dist/constants.d.ts.map +1 -1
- package/dist/constants.js +9 -0
- package/dist/constants.js.map +1 -1
- package/dist/features/base.d.ts +21 -0
- package/dist/features/base.d.ts.map +1 -1
- package/dist/features/base.js +21 -0
- package/dist/features/base.js.map +1 -1
- package/dist/tools.d.ts +22 -0
- package/dist/tools.d.ts.map +1 -1
- package/dist/tools.js +22 -0
- package/dist/tools.js.map +1 -1
- package/dist/typed-event-target.d.ts +29 -0
- package/dist/typed-event-target.d.ts.map +1 -1
- package/dist/typed-event-target.js +29 -2
- package/dist/typed-event-target.js.map +1 -1
- package/dist/types/error.d.ts +134 -8
- package/dist/types/error.d.ts.map +1 -1
- package/dist/types/error.js +134 -8
- package/dist/types/error.js.map +1 -1
- package/dist/types/event.d.ts +219 -0
- package/dist/types/event.d.ts.map +1 -1
- package/dist/types/manager.d.ts +99 -0
- package/dist/types/manager.d.ts.map +1 -1
- package/dist/types/manager.js +90 -0
- package/dist/types/manager.js.map +1 -1
- package/dist/types/sampler.d.ts +12 -2
- package/dist/types/sampler.d.ts.map +1 -1
- package/dist/types/tool.d.ts +15 -0
- package/dist/types/tool.d.ts.map +1 -1
- package/dist/utils/response-error.d.ts +10 -0
- package/dist/utils/response-error.d.ts.map +1 -1
- package/dist/utils/response-error.js +15 -1
- package/dist/utils/response-error.js.map +1 -1
- package/package.json +3 -2
package/dist/types/error.d.ts
CHANGED
|
@@ -1,43 +1,124 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Enum representing error codes for ComfyUI operations
|
|
3
|
+
*/
|
|
1
4
|
export declare enum ErrorCode {
|
|
5
|
+
/**
|
|
6
|
+
* The job went missing
|
|
7
|
+
*/
|
|
2
8
|
WENT_MISSING = "E_WENT_MISSING",
|
|
9
|
+
/**
|
|
10
|
+
* Failed to get cached output
|
|
11
|
+
*/
|
|
3
12
|
FAILED_CACHE = "E_FAILED_CACHE",
|
|
13
|
+
/**
|
|
14
|
+
* Failed to enqueue prompt
|
|
15
|
+
*/
|
|
4
16
|
ENQUEUE_FAILED = "E_ENQUEUE_FAILED",
|
|
17
|
+
/**
|
|
18
|
+
* Disconnected from server
|
|
19
|
+
*/
|
|
5
20
|
DISCONNECTED = "E_DISCONNECTED",
|
|
21
|
+
/**
|
|
22
|
+
* Execution failed
|
|
23
|
+
*/
|
|
6
24
|
EXECUTION_FAILED = "E_EXECUTION_FAILED",
|
|
25
|
+
/**
|
|
26
|
+
* Custom event error
|
|
27
|
+
*/
|
|
7
28
|
CUSTOM_EVENT = "E_CUSTOM_EVENT",
|
|
29
|
+
/**
|
|
30
|
+
* Execution was interrupted
|
|
31
|
+
*/
|
|
8
32
|
EXECUTION_INTERRUPTED = "E_EXECUTION_INTERRUPTED",
|
|
33
|
+
/**
|
|
34
|
+
* Missing node in workflow
|
|
35
|
+
*/
|
|
9
36
|
MISSING_NODE = "E_MISSING_NODE"
|
|
10
37
|
}
|
|
38
|
+
/**
|
|
39
|
+
* Base error class for ComfyUI call wrapper operations
|
|
40
|
+
*/
|
|
11
41
|
export declare class CallWrapperError extends Error {
|
|
42
|
+
/**
|
|
43
|
+
* The name of the error class
|
|
44
|
+
*/
|
|
12
45
|
name: string;
|
|
13
|
-
/**
|
|
46
|
+
/**
|
|
47
|
+
* Stable machine-readable error code
|
|
48
|
+
*/
|
|
14
49
|
code: ErrorCode | string;
|
|
15
50
|
}
|
|
51
|
+
/**
|
|
52
|
+
* Error thrown when a job goes missing
|
|
53
|
+
*/
|
|
16
54
|
export declare class WentMissingError extends CallWrapperError {
|
|
55
|
+
/**
|
|
56
|
+
* The name of the error class
|
|
57
|
+
*/
|
|
17
58
|
name: string;
|
|
59
|
+
/**
|
|
60
|
+
* The error code for this error type
|
|
61
|
+
*/
|
|
18
62
|
code: ErrorCode;
|
|
19
63
|
}
|
|
64
|
+
/**
|
|
65
|
+
* Error thrown when failed to get cached output
|
|
66
|
+
*/
|
|
20
67
|
export declare class FailedCacheError extends CallWrapperError {
|
|
68
|
+
/**
|
|
69
|
+
* The name of the error class
|
|
70
|
+
*/
|
|
21
71
|
name: string;
|
|
72
|
+
/**
|
|
73
|
+
* The error code for this error type
|
|
74
|
+
*/
|
|
22
75
|
code: ErrorCode;
|
|
23
76
|
}
|
|
77
|
+
/**
|
|
78
|
+
* Error thrown when failed to enqueue a prompt
|
|
79
|
+
*/
|
|
24
80
|
export declare class EnqueueFailedError extends CallWrapperError {
|
|
81
|
+
/**
|
|
82
|
+
* The name of the error class
|
|
83
|
+
*/
|
|
25
84
|
name: string;
|
|
85
|
+
/**
|
|
86
|
+
* The error code for this error type
|
|
87
|
+
*/
|
|
26
88
|
code: ErrorCode;
|
|
27
|
-
/**
|
|
89
|
+
/**
|
|
90
|
+
* HTTP status code when available
|
|
91
|
+
*/
|
|
28
92
|
status?: number;
|
|
29
|
-
/**
|
|
93
|
+
/**
|
|
94
|
+
* HTTP status text
|
|
95
|
+
*/
|
|
30
96
|
statusText?: string;
|
|
31
|
-
/**
|
|
97
|
+
/**
|
|
98
|
+
* Request URL (if known)
|
|
99
|
+
*/
|
|
32
100
|
url?: string;
|
|
33
|
-
/**
|
|
101
|
+
/**
|
|
102
|
+
* HTTP method (if known)
|
|
103
|
+
*/
|
|
34
104
|
method?: string;
|
|
35
|
-
/**
|
|
105
|
+
/**
|
|
106
|
+
* Parsed JSON body (if any)
|
|
107
|
+
*/
|
|
36
108
|
bodyJSON?: any;
|
|
37
|
-
/**
|
|
109
|
+
/**
|
|
110
|
+
* Raw body text snippet (truncated)
|
|
111
|
+
*/
|
|
38
112
|
bodyTextSnippet?: string;
|
|
39
|
-
/**
|
|
113
|
+
/**
|
|
114
|
+
* Extracted concise reason message
|
|
115
|
+
*/
|
|
40
116
|
reason?: string;
|
|
117
|
+
/**
|
|
118
|
+
* Creates a new EnqueueFailedError instance
|
|
119
|
+
* @param message - The error message
|
|
120
|
+
* @param init - Initialization options for the error
|
|
121
|
+
*/
|
|
41
122
|
constructor(message: string, init?: {
|
|
42
123
|
cause?: any;
|
|
43
124
|
status?: number;
|
|
@@ -49,24 +130,69 @@ export declare class EnqueueFailedError extends CallWrapperError {
|
|
|
49
130
|
reason?: string;
|
|
50
131
|
});
|
|
51
132
|
}
|
|
133
|
+
/**
|
|
134
|
+
* Error thrown when disconnected from server
|
|
135
|
+
*/
|
|
52
136
|
export declare class DisconnectedError extends CallWrapperError {
|
|
137
|
+
/**
|
|
138
|
+
* The name of the error class
|
|
139
|
+
*/
|
|
53
140
|
name: string;
|
|
141
|
+
/**
|
|
142
|
+
* The error code for this error type
|
|
143
|
+
*/
|
|
54
144
|
code: ErrorCode;
|
|
55
145
|
}
|
|
146
|
+
/**
|
|
147
|
+
* Error thrown when execution fails
|
|
148
|
+
*/
|
|
56
149
|
export declare class ExecutionFailedError extends CallWrapperError {
|
|
150
|
+
/**
|
|
151
|
+
* The name of the error class
|
|
152
|
+
*/
|
|
57
153
|
name: string;
|
|
154
|
+
/**
|
|
155
|
+
* The error code for this error type
|
|
156
|
+
*/
|
|
58
157
|
code: ErrorCode;
|
|
59
158
|
}
|
|
159
|
+
/**
|
|
160
|
+
* Error thrown for custom events
|
|
161
|
+
*/
|
|
60
162
|
export declare class CustomEventError extends CallWrapperError {
|
|
163
|
+
/**
|
|
164
|
+
* The name of the error class
|
|
165
|
+
*/
|
|
61
166
|
name: string;
|
|
167
|
+
/**
|
|
168
|
+
* The error code for this error type
|
|
169
|
+
*/
|
|
62
170
|
code: ErrorCode;
|
|
63
171
|
}
|
|
172
|
+
/**
|
|
173
|
+
* Error thrown when execution is interrupted
|
|
174
|
+
*/
|
|
64
175
|
export declare class ExecutionInterruptedError extends CallWrapperError {
|
|
176
|
+
/**
|
|
177
|
+
* The name of the error class
|
|
178
|
+
*/
|
|
65
179
|
name: string;
|
|
180
|
+
/**
|
|
181
|
+
* The error code for this error type
|
|
182
|
+
*/
|
|
66
183
|
code: ErrorCode;
|
|
67
184
|
}
|
|
185
|
+
/**
|
|
186
|
+
* Error thrown when a node is missing from the workflow
|
|
187
|
+
*/
|
|
68
188
|
export declare class MissingNodeError extends CallWrapperError {
|
|
189
|
+
/**
|
|
190
|
+
* The name of the error class
|
|
191
|
+
*/
|
|
69
192
|
name: string;
|
|
193
|
+
/**
|
|
194
|
+
* The error code for this error type
|
|
195
|
+
*/
|
|
70
196
|
code: ErrorCode;
|
|
71
197
|
}
|
|
72
198
|
//# sourceMappingURL=error.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"error.d.ts","sourceRoot":"","sources":["../../src/types/error.ts"],"names":[],"mappings":"AAAA,oBAAY,SAAS;IACnB,YAAY,mBAAmB;IAC/B,YAAY,mBAAmB;IAC/B,cAAc,qBAAqB;IACnC,YAAY,mBAAmB;IAC/B,gBAAgB,uBAAuB;IACvC,YAAY,mBAAmB;IAC/B,qBAAqB,4BAA4B;IACjD,YAAY,mBAAmB;CAChC;AAED,qBAAa,gBAAiB,SAAQ,KAAK;IACzC,IAAI,SAAsB;
|
|
1
|
+
{"version":3,"file":"error.d.ts","sourceRoot":"","sources":["../../src/types/error.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,oBAAY,SAAS;IACnB;;OAEG;IACH,YAAY,mBAAmB;IAC/B;;OAEG;IACH,YAAY,mBAAmB;IAC/B;;OAEG;IACH,cAAc,qBAAqB;IACnC;;OAEG;IACH,YAAY,mBAAmB;IAC/B;;OAEG;IACH,gBAAgB,uBAAuB;IACvC;;OAEG;IACH,YAAY,mBAAmB;IAC/B;;OAEG;IACH,qBAAqB,4BAA4B;IACjD;;OAEG;IACH,YAAY,mBAAmB;CAChC;AAED;;GAE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AgB;IACrD;;OAEG;IACH,IAAI,SAAuB;IAE3B;;OAEG;IACH,IAAI,YAA0B;CAC/B;AAED;;GAEG;AACH,qBAAa,oBAAqB,SAAQ,gBAAgB;IACxD;;OAEG;IACH,IAAI,SAA0B;IAE9B;;OAEG;IACH,IAAI,YAA8B;CACnC;AAED;;GAEG;AACH,qBAAa,gBAAiB,SAAQ,gBAAgB;IACpD;;OAEG;IACH,IAAI,SAAsB;IAE1B;;OAEG;IACH,IAAI,YAA0B;CAC/B;AAED;;GAEG;AACH,qBAAa,yBAA0B,SAAQ,gBAAgB;IAC7D;;OAEG;IACH,IAAI,SAA+B;IAEnC;;OAEG;IACH,IAAI,YAAmC;CACxC;AAED;;GAEG;AACH,qBAAa,gBAAiB,SAAQ,gBAAgB;IACpD;;OAEG;IACH,IAAI,SAAsB;IAE1B;;OAEG;IACH,IAAI,YAA0B;CAC/B"}
|
package/dist/types/error.js
CHANGED
|
@@ -1,44 +1,125 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Enum representing error codes for ComfyUI operations
|
|
3
|
+
*/
|
|
1
4
|
export var ErrorCode;
|
|
2
5
|
(function (ErrorCode) {
|
|
6
|
+
/**
|
|
7
|
+
* The job went missing
|
|
8
|
+
*/
|
|
3
9
|
ErrorCode["WENT_MISSING"] = "E_WENT_MISSING";
|
|
10
|
+
/**
|
|
11
|
+
* Failed to get cached output
|
|
12
|
+
*/
|
|
4
13
|
ErrorCode["FAILED_CACHE"] = "E_FAILED_CACHE";
|
|
14
|
+
/**
|
|
15
|
+
* Failed to enqueue prompt
|
|
16
|
+
*/
|
|
5
17
|
ErrorCode["ENQUEUE_FAILED"] = "E_ENQUEUE_FAILED";
|
|
18
|
+
/**
|
|
19
|
+
* Disconnected from server
|
|
20
|
+
*/
|
|
6
21
|
ErrorCode["DISCONNECTED"] = "E_DISCONNECTED";
|
|
22
|
+
/**
|
|
23
|
+
* Execution failed
|
|
24
|
+
*/
|
|
7
25
|
ErrorCode["EXECUTION_FAILED"] = "E_EXECUTION_FAILED";
|
|
26
|
+
/**
|
|
27
|
+
* Custom event error
|
|
28
|
+
*/
|
|
8
29
|
ErrorCode["CUSTOM_EVENT"] = "E_CUSTOM_EVENT";
|
|
30
|
+
/**
|
|
31
|
+
* Execution was interrupted
|
|
32
|
+
*/
|
|
9
33
|
ErrorCode["EXECUTION_INTERRUPTED"] = "E_EXECUTION_INTERRUPTED";
|
|
34
|
+
/**
|
|
35
|
+
* Missing node in workflow
|
|
36
|
+
*/
|
|
10
37
|
ErrorCode["MISSING_NODE"] = "E_MISSING_NODE";
|
|
11
38
|
})(ErrorCode || (ErrorCode = {}));
|
|
39
|
+
/**
|
|
40
|
+
* Base error class for ComfyUI call wrapper operations
|
|
41
|
+
*/
|
|
12
42
|
export class CallWrapperError extends Error {
|
|
43
|
+
/**
|
|
44
|
+
* The name of the error class
|
|
45
|
+
*/
|
|
13
46
|
name = "CallWrapperError";
|
|
14
|
-
/**
|
|
47
|
+
/**
|
|
48
|
+
* Stable machine-readable error code
|
|
49
|
+
*/
|
|
15
50
|
code = "";
|
|
16
51
|
}
|
|
52
|
+
/**
|
|
53
|
+
* Error thrown when a job goes missing
|
|
54
|
+
*/
|
|
17
55
|
export class WentMissingError extends CallWrapperError {
|
|
56
|
+
/**
|
|
57
|
+
* The name of the error class
|
|
58
|
+
*/
|
|
18
59
|
name = "WentMissingError";
|
|
60
|
+
/**
|
|
61
|
+
* The error code for this error type
|
|
62
|
+
*/
|
|
19
63
|
code = ErrorCode.WENT_MISSING;
|
|
20
64
|
}
|
|
65
|
+
/**
|
|
66
|
+
* Error thrown when failed to get cached output
|
|
67
|
+
*/
|
|
21
68
|
export class FailedCacheError extends CallWrapperError {
|
|
69
|
+
/**
|
|
70
|
+
* The name of the error class
|
|
71
|
+
*/
|
|
22
72
|
name = "FailedCacheError";
|
|
73
|
+
/**
|
|
74
|
+
* The error code for this error type
|
|
75
|
+
*/
|
|
23
76
|
code = ErrorCode.FAILED_CACHE;
|
|
24
77
|
}
|
|
78
|
+
/**
|
|
79
|
+
* Error thrown when failed to enqueue a prompt
|
|
80
|
+
*/
|
|
25
81
|
export class EnqueueFailedError extends CallWrapperError {
|
|
82
|
+
/**
|
|
83
|
+
* The name of the error class
|
|
84
|
+
*/
|
|
26
85
|
name = "EnqueueFailedError";
|
|
86
|
+
/**
|
|
87
|
+
* The error code for this error type
|
|
88
|
+
*/
|
|
27
89
|
code = ErrorCode.ENQUEUE_FAILED;
|
|
28
|
-
/**
|
|
90
|
+
/**
|
|
91
|
+
* HTTP status code when available
|
|
92
|
+
*/
|
|
29
93
|
status;
|
|
30
|
-
/**
|
|
94
|
+
/**
|
|
95
|
+
* HTTP status text
|
|
96
|
+
*/
|
|
31
97
|
statusText;
|
|
32
|
-
/**
|
|
98
|
+
/**
|
|
99
|
+
* Request URL (if known)
|
|
100
|
+
*/
|
|
33
101
|
url;
|
|
34
|
-
/**
|
|
102
|
+
/**
|
|
103
|
+
* HTTP method (if known)
|
|
104
|
+
*/
|
|
35
105
|
method;
|
|
36
|
-
/**
|
|
106
|
+
/**
|
|
107
|
+
* Parsed JSON body (if any)
|
|
108
|
+
*/
|
|
37
109
|
bodyJSON;
|
|
38
|
-
/**
|
|
110
|
+
/**
|
|
111
|
+
* Raw body text snippet (truncated)
|
|
112
|
+
*/
|
|
39
113
|
bodyTextSnippet;
|
|
40
|
-
/**
|
|
114
|
+
/**
|
|
115
|
+
* Extracted concise reason message
|
|
116
|
+
*/
|
|
41
117
|
reason;
|
|
118
|
+
/**
|
|
119
|
+
* Creates a new EnqueueFailedError instance
|
|
120
|
+
* @param message - The error message
|
|
121
|
+
* @param init - Initialization options for the error
|
|
122
|
+
*/
|
|
42
123
|
constructor(message, init) {
|
|
43
124
|
super(message, init ? { cause: init.cause } : undefined);
|
|
44
125
|
if (init) {
|
|
@@ -52,24 +133,69 @@ export class EnqueueFailedError extends CallWrapperError {
|
|
|
52
133
|
}
|
|
53
134
|
}
|
|
54
135
|
}
|
|
136
|
+
/**
|
|
137
|
+
* Error thrown when disconnected from server
|
|
138
|
+
*/
|
|
55
139
|
export class DisconnectedError extends CallWrapperError {
|
|
140
|
+
/**
|
|
141
|
+
* The name of the error class
|
|
142
|
+
*/
|
|
56
143
|
name = "DisconnectedError";
|
|
144
|
+
/**
|
|
145
|
+
* The error code for this error type
|
|
146
|
+
*/
|
|
57
147
|
code = ErrorCode.DISCONNECTED;
|
|
58
148
|
}
|
|
149
|
+
/**
|
|
150
|
+
* Error thrown when execution fails
|
|
151
|
+
*/
|
|
59
152
|
export class ExecutionFailedError extends CallWrapperError {
|
|
153
|
+
/**
|
|
154
|
+
* The name of the error class
|
|
155
|
+
*/
|
|
60
156
|
name = "ExecutionFailedError";
|
|
157
|
+
/**
|
|
158
|
+
* The error code for this error type
|
|
159
|
+
*/
|
|
61
160
|
code = ErrorCode.EXECUTION_FAILED;
|
|
62
161
|
}
|
|
162
|
+
/**
|
|
163
|
+
* Error thrown for custom events
|
|
164
|
+
*/
|
|
63
165
|
export class CustomEventError extends CallWrapperError {
|
|
166
|
+
/**
|
|
167
|
+
* The name of the error class
|
|
168
|
+
*/
|
|
64
169
|
name = "CustomEventError";
|
|
170
|
+
/**
|
|
171
|
+
* The error code for this error type
|
|
172
|
+
*/
|
|
65
173
|
code = ErrorCode.CUSTOM_EVENT;
|
|
66
174
|
}
|
|
175
|
+
/**
|
|
176
|
+
* Error thrown when execution is interrupted
|
|
177
|
+
*/
|
|
67
178
|
export class ExecutionInterruptedError extends CallWrapperError {
|
|
179
|
+
/**
|
|
180
|
+
* The name of the error class
|
|
181
|
+
*/
|
|
68
182
|
name = "ExecutionInterruptedError";
|
|
183
|
+
/**
|
|
184
|
+
* The error code for this error type
|
|
185
|
+
*/
|
|
69
186
|
code = ErrorCode.EXECUTION_INTERRUPTED;
|
|
70
187
|
}
|
|
188
|
+
/**
|
|
189
|
+
* Error thrown when a node is missing from the workflow
|
|
190
|
+
*/
|
|
71
191
|
export class MissingNodeError extends CallWrapperError {
|
|
192
|
+
/**
|
|
193
|
+
* The name of the error class
|
|
194
|
+
*/
|
|
72
195
|
name = "MissingNodeError";
|
|
196
|
+
/**
|
|
197
|
+
* The error code for this error type
|
|
198
|
+
*/
|
|
73
199
|
code = ErrorCode.MISSING_NODE;
|
|
74
200
|
}
|
|
75
201
|
//# sourceMappingURL=error.js.map
|
package/dist/types/error.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"error.js","sourceRoot":"","sources":["../../src/types/error.ts"],"names":[],"mappings":"AAAA,MAAM,CAAN,IAAY,
|
|
1
|
+
{"version":3,"file":"error.js","sourceRoot":"","sources":["../../src/types/error.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,CAAN,IAAY,SAiCX;AAjCD,WAAY,SAAS;IACnB;;OAEG;IACH,4CAA+B,CAAA;IAC/B;;OAEG;IACH,4CAA+B,CAAA;IAC/B;;OAEG;IACH,gDAAmC,CAAA;IACnC;;OAEG;IACH,4CAA+B,CAAA;IAC/B;;OAEG;IACH,oDAAuC,CAAA;IACvC;;OAEG;IACH,4CAA+B,CAAA;IAC/B;;OAEG;IACH,8DAAiD,CAAA;IACjD;;OAEG;IACH,4CAA+B,CAAA;AACjC,CAAC,EAjCW,SAAS,KAAT,SAAS,QAiCpB;AAED;;GAEG;AACH,MAAM,OAAO,gBAAiB,SAAQ,KAAK;IACzC;;OAEG;IACH,IAAI,GAAG,kBAAkB,CAAC;IAE1B;;OAEG;IACH,IAAI,GAAuB,EAAE,CAAC;CAC/B;AAED;;GAEG;AACH,MAAM,OAAO,gBAAiB,SAAQ,gBAAgB;IACpD;;OAEG;IACH,IAAI,GAAG,kBAAkB,CAAC;IAE1B;;OAEG;IACH,IAAI,GAAG,SAAS,CAAC,YAAY,CAAC;CAC/B;AAED;;GAEG;AACH,MAAM,OAAO,gBAAiB,SAAQ,gBAAgB;IACpD;;OAEG;IACH,IAAI,GAAG,kBAAkB,CAAC;IAE1B;;OAEG;IACH,IAAI,GAAG,SA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