@assistant-ui/react-ag-ui 0.0.44 → 0.0.46

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.
Files changed (47) hide show
  1. package/dist/agUiExtras.d.ts +0 -1
  2. package/dist/agUiExtras.d.ts.map +1 -1
  3. package/dist/hooks.d.ts +15 -9
  4. package/dist/hooks.d.ts.map +1 -1
  5. package/dist/hooks.js +17 -8
  6. package/dist/hooks.js.map +1 -1
  7. package/dist/index.d.ts +2 -2
  8. package/dist/index.js +2 -2
  9. package/dist/runtime/AgUiThreadRuntimeCore.d.ts +28 -4
  10. package/dist/runtime/AgUiThreadRuntimeCore.d.ts.map +1 -1
  11. package/dist/runtime/AgUiThreadRuntimeCore.js +379 -114
  12. package/dist/runtime/AgUiThreadRuntimeCore.js.map +1 -1
  13. package/dist/runtime/adapter/conversions.d.ts +0 -1
  14. package/dist/runtime/adapter/conversions.d.ts.map +1 -1
  15. package/dist/runtime/adapter/conversions.js +12 -12
  16. package/dist/runtime/adapter/conversions.js.map +1 -1
  17. package/dist/runtime/adapter/run-aggregator.d.ts +3 -2
  18. package/dist/runtime/adapter/run-aggregator.d.ts.map +1 -1
  19. package/dist/runtime/adapter/run-aggregator.js +48 -11
  20. package/dist/runtime/adapter/run-aggregator.js.map +1 -1
  21. package/dist/runtime/adapter/subscriber.d.ts +0 -1
  22. package/dist/runtime/adapter/subscriber.d.ts.map +1 -1
  23. package/dist/runtime/event-parser.d.ts +0 -1
  24. package/dist/runtime/event-parser.d.ts.map +1 -1
  25. package/dist/runtime/event-parser.js +23 -11
  26. package/dist/runtime/event-parser.js.map +1 -1
  27. package/dist/runtime/logger.d.ts.map +1 -1
  28. package/dist/runtime/mcp-tool-result.d.ts +11 -0
  29. package/dist/runtime/mcp-tool-result.d.ts.map +1 -0
  30. package/dist/runtime/mcp-tool-result.js +20 -0
  31. package/dist/runtime/mcp-tool-result.js.map +1 -0
  32. package/dist/runtime/types.d.ts +15 -1
  33. package/dist/runtime/types.d.ts.map +1 -1
  34. package/dist/useAgUiRuntime.d.ts +0 -1
  35. package/dist/useAgUiRuntime.d.ts.map +1 -1
  36. package/dist/useAgUiRuntime.js +8 -2
  37. package/dist/useAgUiRuntime.js.map +1 -1
  38. package/package.json +7 -7
  39. package/src/hooks.ts +29 -7
  40. package/src/index.ts +2 -0
  41. package/src/runtime/AgUiThreadRuntimeCore.ts +547 -147
  42. package/src/runtime/adapter/conversions.ts +26 -17
  43. package/src/runtime/adapter/run-aggregator.ts +84 -7
  44. package/src/runtime/event-parser.ts +4 -1
  45. package/src/runtime/mcp-tool-result.ts +26 -0
  46. package/src/runtime/types.ts +19 -0
  47. package/src/useAgUiRuntime.ts +8 -1
@@ -1,5 +1,4 @@
1
1
  import { AgUiRuntimeExtras } from "./runtime/types.js";
2
-
3
2
  //#region src/agUiExtras.d.ts
4
3
  declare const agUiExtras: import("@assistant-ui/core/internal").RuntimeExtras<AgUiRuntimeExtras>;
5
4
  //#endregion
@@ -1 +1 @@
1
- {"version":3,"file":"agUiExtras.d.ts","names":[],"sources":["../src/agUiExtras.ts"],"mappings":";;;cAGa,UAAA,wCAAU,aAAA,CAAA,iBAAA"}
1
+ {"version":3,"file":"agUiExtras.d.ts","names":[],"sources":["../src/agUiExtras.ts"],"mappings":";;cAGa,kDAAU,cAAA"}
package/dist/hooks.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import { AgUiInterrupt, AgUiResumeEntry } from "./runtime/types.js";
2
2
  import { CreateAppendMessage } from "@assistant-ui/core";
3
-
3
+ import { ReadonlyJSONValue } from "assistant-stream/utils";
4
4
  //#region src/hooks.d.ts
5
5
  /**
6
6
  * Read the pending AG-UI interrupts on the current thread. Returns an empty
@@ -13,15 +13,21 @@ declare const useAgUiInterrupts: () => readonly AgUiInterrupt[];
13
13
  */
14
14
  declare const useAgUiSubmitInterruptResponses: () => (responses: readonly AgUiResumeEntry[]) => Promise<void>;
15
15
  /**
16
- * Returns a function that discards the pending AG-UI interrupts and appends the
17
- * given user message, starting a fresh run. Use this when the user sends a new
18
- * message instead of resolving the interrupt(s): every open interrupt is
19
- * reported to the agent as cancelled. The message accepts a plain string or a
20
- * partial `AppendMessage` (the parent defaults to the current head). Pass
21
- * `responses` to override the status of specific interrupts; the rest still
22
- * default to cancelled.
16
+ * Returns a function that discards the pending AG-UI interrupts or pending
17
+ * client-side tool calls and appends the given user message, starting a fresh
18
+ * run. Use this when the user sends a new message instead of resolving them:
19
+ * every open interrupt is reported to the agent as cancelled, and every
20
+ * unresolved client-side tool call receives an error result. The message
21
+ * accepts a plain string or a partial `AppendMessage` (the parent defaults to
22
+ * the current head). Pass `responses` to override the status of specific
23
+ * interrupts; the rest still default to cancelled. `responses` throws when
24
+ * tool calls rather than interrupts are pending. Unlike the
25
+ * `autoCancelPendingToolCalls` runtime option, this hook cancels regardless
26
+ * of that option's value.
23
27
  */
24
28
  declare const useAgUiSteerAway: () => (message: CreateAppendMessage, responses?: readonly AgUiResumeEntry[]) => Promise<void>;
29
+ declare const useAgUiState: <TState = ReadonlyJSONValue>() => TState | undefined;
30
+ declare const useAgUiSetState: <TState = ReadonlyJSONValue>() => (next: TState | ((prev: TState | undefined) => TState)) => void;
25
31
  //#endregion
26
- export { useAgUiInterrupts, useAgUiSteerAway, useAgUiSubmitInterruptResponses };
32
+ export { useAgUiInterrupts, useAgUiSetState, useAgUiState, useAgUiSteerAway, useAgUiSubmitInterruptResponses };
27
33
  //# sourceMappingURL=hooks.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"hooks.d.ts","names":[],"sources":["../src/hooks.ts"],"mappings":";;;;;;AAaA;;cAAa,iBAAA,iBAAiC,aAAa;;AAAA;AAO3D;;cAAa,+BAAA,SAEH,SAAA,WAAoB,eAAA,OAAoB,OAAO;;;;;;AAAA;AAazD;;;cAAa,gBAAA,SAGT,OAAA,EAAS,mBAAA,EACT,SAAA,YAAqB,eAAA,OACpB,OAAA"}
1
+ {"version":3,"file":"hooks.d.ts","names":[],"sources":["../src/hooks.ts"],"mappings":";;;;;;;;cAca,kCAAiC;;;;;cAOjC,wCAEH,oBAAoB,sBAAoB;;;;;;;;;;;;;;cAiBrC,yBAGT,SAAS,qBACT,qBAAqB,sBACpB;cAGQ,eAAgB,SAAS,wBAClC;cAIS,kBAAmB,SAAS,yBAE/B,MAAM,WAAW,MAAM,uBAAuB"}
package/dist/hooks.js CHANGED
@@ -17,19 +17,28 @@ const useAgUiSubmitInterruptResponses = () => {
17
17
  return (responses) => agUiExtras.get(aui).submitInterruptResponses(responses);
18
18
  };
19
19
  /**
20
- * Returns a function that discards the pending AG-UI interrupts and appends the
21
- * given user message, starting a fresh run. Use this when the user sends a new
22
- * message instead of resolving the interrupt(s): every open interrupt is
23
- * reported to the agent as cancelled. The message accepts a plain string or a
24
- * partial `AppendMessage` (the parent defaults to the current head). Pass
25
- * `responses` to override the status of specific interrupts; the rest still
26
- * default to cancelled.
20
+ * Returns a function that discards the pending AG-UI interrupts or pending
21
+ * client-side tool calls and appends the given user message, starting a fresh
22
+ * run. Use this when the user sends a new message instead of resolving them:
23
+ * every open interrupt is reported to the agent as cancelled, and every
24
+ * unresolved client-side tool call receives an error result. The message
25
+ * accepts a plain string or a partial `AppendMessage` (the parent defaults to
26
+ * the current head). Pass `responses` to override the status of specific
27
+ * interrupts; the rest still default to cancelled. `responses` throws when
28
+ * tool calls rather than interrupts are pending. Unlike the
29
+ * `autoCancelPendingToolCalls` runtime option, this hook cancels regardless
30
+ * of that option's value.
27
31
  */
28
32
  const useAgUiSteerAway = () => {
29
33
  const aui = useAui();
30
34
  return (message, responses) => agUiExtras.get(aui).steerAway(message, responses);
31
35
  };
36
+ const useAgUiState = () => agUiExtras.use((e) => e.state, void 0);
37
+ const useAgUiSetState = () => {
38
+ const aui = useAui();
39
+ return (next) => agUiExtras.get(aui).setState(next);
40
+ };
32
41
  //#endregion
33
- export { useAgUiInterrupts, useAgUiSteerAway, useAgUiSubmitInterruptResponses };
42
+ export { useAgUiInterrupts, useAgUiSetState, useAgUiState, useAgUiSteerAway, useAgUiSubmitInterruptResponses };
34
43
 
35
44
  //# sourceMappingURL=hooks.js.map
package/dist/hooks.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"hooks.js","names":[],"sources":["../src/hooks.ts"],"sourcesContent":["\"use client\";\n\nimport { useAui } from \"@assistant-ui/store\";\nimport type { CreateAppendMessage } from \"@assistant-ui/core\";\nimport { agUiExtras } from \"./agUiExtras\";\nimport type { AgUiInterrupt, AgUiResumeEntry } from \"./runtime/types\";\n\nconst EMPTY_INTERRUPTS: readonly AgUiInterrupt[] = [];\n\n/**\n * Read the pending AG-UI interrupts on the current thread. Returns an empty\n * array when no interrupts are pending, so consumers can `.map` without a guard.\n */\nexport const useAgUiInterrupts = (): readonly AgUiInterrupt[] =>\n agUiExtras.use((e) => e.interrupts, EMPTY_INTERRUPTS);\n\n/**\n * Returns a function that submits responses (each `resolved` or `cancelled`)\n * for the pending AG-UI interrupts and resumes the run.\n */\nexport const useAgUiSubmitInterruptResponses = () => {\n const aui = useAui();\n return (responses: readonly AgUiResumeEntry[]): Promise<void> =>\n agUiExtras.get(aui).submitInterruptResponses(responses);\n};\n\n/**\n * Returns a function that discards the pending AG-UI interrupts and appends the\n * given user message, starting a fresh run. Use this when the user sends a new\n * message instead of resolving the interrupt(s): every open interrupt is\n * reported to the agent as cancelled. The message accepts a plain string or a\n * partial `AppendMessage` (the parent defaults to the current head). Pass\n * `responses` to override the status of specific interrupts; the rest still\n * default to cancelled.\n */\nexport const useAgUiSteerAway = () => {\n const aui = useAui();\n return (\n message: CreateAppendMessage,\n responses?: readonly AgUiResumeEntry[],\n ): Promise<void> => agUiExtras.get(aui).steerAway(message, responses);\n};\n"],"mappings":";;;;AAOA,MAAM,mBAA6C,CAAC;;;;;AAMpD,MAAa,0BACX,WAAW,KAAK,MAAM,EAAE,YAAY,gBAAgB;;;;;AAMtD,MAAa,wCAAwC;CACnD,MAAM,MAAM,OAAO;CACnB,QAAQ,cACN,WAAW,IAAI,GAAG,CAAC,CAAC,yBAAyB,SAAS;AAC1D;;;;;;;;;;AAWA,MAAa,yBAAyB;CACpC,MAAM,MAAM,OAAO;CACnB,QACE,SACA,cACkB,WAAW,IAAI,GAAG,CAAC,CAAC,UAAU,SAAS,SAAS;AACtE"}
1
+ {"version":3,"file":"hooks.js","names":[],"sources":["../src/hooks.ts"],"sourcesContent":["\"use client\";\n\nimport { useAui } from \"@assistant-ui/store\";\nimport type { CreateAppendMessage } from \"@assistant-ui/core\";\nimport type { ReadonlyJSONValue } from \"assistant-stream/utils\";\nimport { agUiExtras } from \"./agUiExtras\";\nimport type { AgUiInterrupt, AgUiResumeEntry } from \"./runtime/types\";\n\nconst EMPTY_INTERRUPTS: readonly AgUiInterrupt[] = [];\n\n/**\n * Read the pending AG-UI interrupts on the current thread. Returns an empty\n * array when no interrupts are pending, so consumers can `.map` without a guard.\n */\nexport const useAgUiInterrupts = (): readonly AgUiInterrupt[] =>\n agUiExtras.use((e) => e.interrupts, EMPTY_INTERRUPTS);\n\n/**\n * Returns a function that submits responses (each `resolved` or `cancelled`)\n * for the pending AG-UI interrupts and resumes the run.\n */\nexport const useAgUiSubmitInterruptResponses = () => {\n const aui = useAui();\n return (responses: readonly AgUiResumeEntry[]): Promise<void> =>\n agUiExtras.get(aui).submitInterruptResponses(responses);\n};\n\n/**\n * Returns a function that discards the pending AG-UI interrupts or pending\n * client-side tool calls and appends the given user message, starting a fresh\n * run. Use this when the user sends a new message instead of resolving them:\n * every open interrupt is reported to the agent as cancelled, and every\n * unresolved client-side tool call receives an error result. The message\n * accepts a plain string or a partial `AppendMessage` (the parent defaults to\n * the current head). Pass `responses` to override the status of specific\n * interrupts; the rest still default to cancelled. `responses` throws when\n * tool calls rather than interrupts are pending. Unlike the\n * `autoCancelPendingToolCalls` runtime option, this hook cancels regardless\n * of that option's value.\n */\nexport const useAgUiSteerAway = () => {\n const aui = useAui();\n return (\n message: CreateAppendMessage,\n responses?: readonly AgUiResumeEntry[],\n ): Promise<void> => agUiExtras.get(aui).steerAway(message, responses);\n};\n\nexport const useAgUiState = <TState = ReadonlyJSONValue>():\n | TState\n | undefined =>\n agUiExtras.use((e) => e.state as TState | undefined, undefined);\n\nexport const useAgUiSetState = <TState = ReadonlyJSONValue>() => {\n const aui = useAui();\n return (next: TState | ((prev: TState | undefined) => TState)): void =>\n agUiExtras\n .get(aui)\n .setState(\n next as\n | ReadonlyJSONValue\n | ((prev: ReadonlyJSONValue | undefined) => ReadonlyJSONValue),\n );\n};\n"],"mappings":";;;;AAQA,MAAM,mBAA6C,CAAC;;;;;AAMpD,MAAa,0BACX,WAAW,KAAK,MAAM,EAAE,YAAY,gBAAgB;;;;;AAMtD,MAAa,wCAAwC;CACnD,MAAM,MAAM,OAAO;CACnB,QAAQ,cACN,WAAW,IAAI,GAAG,CAAC,CAAC,yBAAyB,SAAS;AAC1D;;;;;;;;;;;;;;AAeA,MAAa,yBAAyB;CACpC,MAAM,MAAM,OAAO;CACnB,QACE,SACA,cACkB,WAAW,IAAI,GAAG,CAAC,CAAC,UAAU,SAAS,SAAS;AACtE;AAEA,MAAa,qBAGX,WAAW,KAAK,MAAM,EAAE,OAA6B,KAAA,CAAS;AAEhE,MAAa,wBAAoD;CAC/D,MAAM,MAAM,OAAO;CACnB,QAAQ,SACN,WACG,IAAI,GAAG,CAAC,CACR,SACC,IAGF;AACN"}
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import { AgUiInterrupt, AgUiInterruptReason, AgUiResumeEntry, AgUiRunFinishedOutcome, UseAgUiRuntimeAdapters, UseAgUiRuntimeOptions, UseAgUiThreadListAdapter } from "./runtime/types.js";
2
- import { useAgUiInterrupts, useAgUiSteerAway, useAgUiSubmitInterruptResponses } from "./hooks.js";
2
+ import { useAgUiInterrupts, useAgUiSetState, useAgUiState, useAgUiSteerAway, useAgUiSubmitInterruptResponses } from "./hooks.js";
3
3
  import { AgUiAssistantRuntime, useAgUiRuntime } from "./useAgUiRuntime.js";
4
4
  import { FromAgUiMessagesOptions, fromAgUiMessages } from "./runtime/adapter/conversions.js";
5
- export { type AgUiAssistantRuntime, type AgUiInterrupt, type AgUiInterruptReason, type AgUiResumeEntry, type AgUiRunFinishedOutcome, type FromAgUiMessagesOptions, type UseAgUiRuntimeAdapters, type UseAgUiRuntimeOptions, type UseAgUiThreadListAdapter, fromAgUiMessages, useAgUiInterrupts, useAgUiRuntime, useAgUiSteerAway, useAgUiSubmitInterruptResponses };
5
+ export { type AgUiAssistantRuntime, type AgUiInterrupt, type AgUiInterruptReason, type AgUiResumeEntry, type AgUiRunFinishedOutcome, type FromAgUiMessagesOptions, type UseAgUiRuntimeAdapters, type UseAgUiRuntimeOptions, type UseAgUiThreadListAdapter, fromAgUiMessages, useAgUiInterrupts, useAgUiRuntime, useAgUiSetState, useAgUiState, useAgUiSteerAway, useAgUiSubmitInterruptResponses };
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { useAgUiInterrupts, useAgUiSteerAway, useAgUiSubmitInterruptResponses } from "./hooks.js";
1
+ import { useAgUiInterrupts, useAgUiSetState, useAgUiState, useAgUiSteerAway, useAgUiSubmitInterruptResponses } from "./hooks.js";
2
2
  import { fromAgUiMessages } from "./runtime/adapter/conversions.js";
3
3
  import { useAgUiRuntime } from "./useAgUiRuntime.js";
4
- export { fromAgUiMessages, useAgUiInterrupts, useAgUiRuntime, useAgUiSteerAway, useAgUiSubmitInterruptResponses };
4
+ export { fromAgUiMessages, useAgUiInterrupts, useAgUiRuntime, useAgUiSetState, useAgUiState, useAgUiSteerAway, useAgUiSubmitInterruptResponses };
@@ -1,9 +1,8 @@
1
1
  import { Logger } from "./logger.js";
2
2
  import { AgUiInterrupt, AgUiResumeEntry } from "./types.js";
3
- import { AddToolResultOptions, AppendMessage, AssistantRuntime, ChatModelRunOptions, ChatModelRunResult, CreateAppendMessage, ThreadHistoryAdapter, ThreadMessage } from "@assistant-ui/core";
3
+ import { AddToolResultOptions, AppendMessage, AssistantRuntime, ChatModelRunOptions, ChatModelRunResult, CreateAppendMessage, ExportedMessageRepository, ThreadHistoryAdapter, ThreadMessage } from "@assistant-ui/core";
4
4
  import { AbstractAgent } from "@ag-ui/client";
5
5
  import { ReadonlyJSONValue } from "assistant-stream/utils";
6
-
7
6
  //#region src/runtime/AgUiThreadRuntimeCore.d.ts
8
7
  type RunConfig = NonNullable<AppendMessage["runConfig"]>;
9
8
  type ResumeStream = (options: ChatModelRunOptions) => AsyncGenerator<ChatModelRunResult, void, unknown>;
@@ -17,6 +16,7 @@ type CoreOptions = {
17
16
  agent: AbstractAgent;
18
17
  logger: Logger;
19
18
  showThinking: boolean;
19
+ autoCancelPendingToolCalls?: boolean | undefined;
20
20
  onError?: (error: Error) => void;
21
21
  onCancel?: () => void;
22
22
  history?: ThreadHistoryAdapter;
@@ -26,11 +26,13 @@ declare class AgUiThreadRuntimeCore {
26
26
  private agent;
27
27
  private logger;
28
28
  private showThinking;
29
+ private autoCancelPendingToolCalls;
29
30
  private onError;
30
31
  private onCancel;
31
32
  private readonly notifyUpdate;
32
33
  private runtime;
33
- private messages;
34
+ private readonly repository;
35
+ private exportedRepository;
34
36
  private isRunningFlag;
35
37
  private abortController;
36
38
  private stateSnapshot;
@@ -47,11 +49,23 @@ declare class AgUiThreadRuntimeCore {
47
49
  attachRuntime(runtime: AssistantRuntime): void;
48
50
  detachRuntime(): void;
49
51
  getMessages(): readonly ThreadMessage[];
52
+ getMessageRepository(): ExportedMessageRepository;
53
+ private tryGetMessage;
54
+ private tryGetMessages;
55
+ private hasMessage;
56
+ private addOrUpdateMessage;
57
+ private deleteMessage;
58
+ private tryDeleteMessage;
59
+ private switchToBranch;
60
+ private resetRepositoryHead;
61
+ private clearRepository;
62
+ private updateMessage;
50
63
  getState(): ReadonlyJSONValue | undefined;
51
64
  isRunning(): boolean;
52
65
  get isLoading(): boolean;
53
66
  __internal_load(): Promise<void>;
54
67
  append(message: AppendMessage): Promise<void>;
68
+ private maybeAutoCancelPendingToolCalls;
55
69
  private appendEntry;
56
70
  edit(message: AppendMessage): Promise<void>;
57
71
  reload(parentId: string | null, config?: {
@@ -61,22 +75,32 @@ declare class AgUiThreadRuntimeCore {
61
75
  resume(config: ResumeRunConfig): Promise<void>;
62
76
  resumeInFlightRun(messages: readonly ThreadMessage[]): Promise<void>;
63
77
  private assertNoPendingInterrupts;
78
+ private findRequiresActionAssistant;
64
79
  getPendingInterrupts(): {
65
80
  messageId: string;
66
81
  interrupts: readonly AgUiInterrupt[];
67
82
  } | null;
83
+ getPendingToolCalls(): {
84
+ messageId: string;
85
+ toolCallIds: string[];
86
+ } | null;
68
87
  submitInterruptResponses(responses: readonly AgUiResumeEntry[]): Promise<void>;
69
88
  steerAway(message: CreateAppendMessage, responses?: readonly AgUiResumeEntry[]): Promise<void>;
70
89
  private resolveSteerAwayResume;
90
+ private collectInterruptResponses;
71
91
  private toAppendMessage;
72
92
  private clearPendingInterrupts;
73
93
  findMessageIdForToolCall(toolCallId: string): string | undefined;
94
+ private cancelUnresolvedToolCalls;
74
95
  addToolResult(options: AddToolResultOptions): void;
75
96
  private maybeResumeAfterToolResults;
76
97
  private maybeCompleteAfterToolResults;
77
98
  private startResumeRun;
78
99
  applyExternalMessages(messages: readonly ThreadMessage[]): void;
100
+ private applyExternalMessageRepository;
79
101
  loadExternalState(state: ReadonlyJSONValue): void;
102
+ setState(next: ReadonlyJSONValue | ((prev: ReadonlyJSONValue | undefined) => ReadonlyJSONValue)): void;
103
+ resetState(): void;
80
104
  private startRun;
81
105
  private consumeResumeStream;
82
106
  private buildRunInput;
@@ -90,9 +114,9 @@ declare class AgUiThreadRuntimeCore {
90
114
  private mergeAssistantMetadata;
91
115
  private handleEvent;
92
116
  private applyCrossRunToolResult;
117
+ private applyCrossRunActivitySnapshot;
93
118
  private importMessagesSnapshot;
94
119
  private toThreadMessage;
95
- private resetHead;
96
120
  private isTerminalStatus;
97
121
  private isPersistableStatus;
98
122
  private recordHistoryEntry;
@@ -1 +1 @@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N;EACH,OAAO;EACP,QAAQ;EACR;EACA;EACA,WAAW,OAAO;EAClB;EACA,UAAU;EACV;;cAKW;UACH;UACA;UACA;UACA;UACA;UACA;mBACS;UAET;mBACS;UACT;UACA;UACA;UACA;UACA;UACA;UACA;mBACS;mBACA;UACT;UACA;UACA;EAEI,YAAA,SAAS;EAYrB,cAAc,SAAS,KAAK;EAW5B,cAAc,SAAS;EAIvB;EAIA,wBAAwB;EAIxB,wBAAwB;UAmBhB;UAQA;UAUA;UAIA;UAQA;UAQA;UAMA;UAKA;UAKA;UAKA;EAYR,YAAY;EAIZ;MAII;EAIJ,mBAAmB;EA2Cb,OAAO,SAAS,gBAAgB;UAW9B;UAQA;EAiBF,KAAK,SAAS,gBAAgB;EAI9B,OACJ,yBACA;IAAU,YAAY;MACrB;EAMG,UAAU;EAKV,OAAO,QAAQ,kBAAkB;EAUjC,kBAAkB,mBAAmB,kBAAkB;UAwBrD;UAOA;EAgBR;IACE;IACA,qBAAqB;;EAavB;IACE;IACA;;EAcI,yBACJ,oBAAoB,oBACnB;EAoDG,UACJ,SAAS,qBACT,qBAAqB,oBACpB;UAyCK;UAkBA;UAiCA;UA0BA;EA+BR,yBAAyB;UAkBjB;EAiBR,cAAc,SAAS;UA4Bf;UAYA;UA6BA;EAMR,sBAAsB,mBAAmB;UAgDjC;EAgER,kBAAkB,OAAO;EAKzB,SACE,MACI,sBACE,MAAM,kCAAkC;EAOhD;UAKc;UAkJA;UAyDN;UA6BA;UAqBA;UAKA;UAOA;UAuBA;UA2CA;UAiDA;UA4BA;UA6BA;UA4DA;UAuEA;UA8DA;UAwBA;UAQA;UAIA;UAKA;UAIA;UAQA;UAWA"}