@memberjunction/ng-explorer-core 6.2.0-edge.1 → 6.2.0-edge.3
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/generated/lazy-feature-config.d.ts +1 -1
- package/dist/generated/lazy-feature-config.d.ts.map +1 -1
- package/dist/generated/lazy-feature-config.js +22 -2
- package/dist/generated/lazy-feature-config.js.map +1 -1
- package/dist/lib/resource-wrappers/artifact-resource.component.d.ts +7 -3
- package/dist/lib/resource-wrappers/artifact-resource.component.d.ts.map +1 -1
- package/dist/lib/resource-wrappers/artifact-resource.component.js +10 -5
- package/dist/lib/resource-wrappers/artifact-resource.component.js.map +1 -1
- package/dist/lib/resource-wrappers/chat-conversations-resource.component.d.ts +13 -2
- package/dist/lib/resource-wrappers/chat-conversations-resource.component.d.ts.map +1 -1
- package/dist/lib/resource-wrappers/chat-conversations-resource.component.js +35 -6
- package/dist/lib/resource-wrappers/chat-conversations-resource.component.js.map +1 -1
- package/dist/lib/resource-wrappers/compose-email-fallback.d.ts +46 -0
- package/dist/lib/resource-wrappers/compose-email-fallback.d.ts.map +1 -0
- package/dist/lib/resource-wrappers/compose-email-fallback.js +62 -0
- package/dist/lib/resource-wrappers/compose-email-fallback.js.map +1 -0
- package/dist/lib/resource-wrappers/human-handoff-console-resource.component.d.ts +32 -0
- package/dist/lib/resource-wrappers/human-handoff-console-resource.component.d.ts.map +1 -0
- package/dist/lib/resource-wrappers/human-handoff-console-resource.component.js +114 -0
- package/dist/lib/resource-wrappers/human-handoff-console-resource.component.js.map +1 -0
- package/dist/lib/resource-wrappers/livekit-room-resource.component.d.ts +13 -0
- package/dist/lib/resource-wrappers/livekit-room-resource.component.d.ts.map +1 -1
- package/dist/lib/resource-wrappers/livekit-room-resource.component.js +210 -132
- package/dist/lib/resource-wrappers/livekit-room-resource.component.js.map +1 -1
- package/dist/lib/resource-wrappers/meetings-resource.component.d.ts +42 -0
- package/dist/lib/resource-wrappers/meetings-resource.component.d.ts.map +1 -0
- package/dist/lib/resource-wrappers/meetings-resource.component.js +225 -0
- package/dist/lib/resource-wrappers/meetings-resource.component.js.map +1 -0
- package/dist/lib/resource-wrappers/record-resource.component.d.ts +27 -2
- package/dist/lib/resource-wrappers/record-resource.component.d.ts.map +1 -1
- package/dist/lib/resource-wrappers/record-resource.component.js +58 -6
- package/dist/lib/resource-wrappers/record-resource.component.js.map +1 -1
- package/dist/lib/resource-wrappers/view-resource.component.d.ts +6 -1
- package/dist/lib/resource-wrappers/view-resource.component.d.ts.map +1 -1
- package/dist/lib/resource-wrappers/view-resource.component.js +37 -7
- package/dist/lib/resource-wrappers/view-resource.component.js.map +1 -1
- package/dist/lib/services/server-connectivity.service.d.ts +9 -4
- package/dist/lib/services/server-connectivity.service.d.ts.map +1 -1
- package/dist/lib/services/server-connectivity.service.js +56 -12
- package/dist/lib/services/server-connectivity.service.js.map +1 -1
- package/dist/lib/shell/components/tabs/component-cache-manager.d.ts.map +1 -1
- package/dist/lib/shell/components/tabs/component-cache-manager.js.map +1 -1
- package/dist/lib/shell/components/tabs/tab-container.component.d.ts +31 -0
- package/dist/lib/shell/components/tabs/tab-container.component.d.ts.map +1 -1
- package/dist/lib/shell/components/tabs/tab-container.component.js +57 -2
- package/dist/lib/shell/components/tabs/tab-container.component.js.map +1 -1
- package/dist/lib/shell/shell.component.d.ts +2 -0
- package/dist/lib/shell/shell.component.d.ts.map +1 -1
- package/dist/lib/shell/shell.component.js +19 -9
- package/dist/lib/shell/shell.component.js.map +1 -1
- package/dist/lib/single-record/single-record.component.d.ts +29 -3
- package/dist/lib/single-record/single-record.component.d.ts.map +1 -1
- package/dist/lib/single-record/single-record.component.js +44 -4
- package/dist/lib/single-record/single-record.component.js.map +1 -1
- package/dist/lib/user-notifications/user-notifications.component.d.ts +13 -0
- package/dist/lib/user-notifications/user-notifications.component.d.ts.map +1 -1
- package/dist/lib/user-notifications/user-notifications.component.js +67 -0
- package/dist/lib/user-notifications/user-notifications.component.js.map +1 -1
- package/dist/module.d.ts +36 -33
- package/dist/module.d.ts.map +1 -1
- package/dist/module.js +25 -4
- package/dist/module.js.map +1 -1
- package/dist/public-api.d.ts +1 -0
- package/dist/public-api.d.ts.map +1 -1
- package/dist/public-api.js +1 -0
- package/dist/public-api.js.map +1 -1
- package/package.json +53 -52
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
2
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
5
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
|
+
};
|
|
7
|
+
import { Component } from '@angular/core';
|
|
8
|
+
import { BaseResourceComponent } from '@memberjunction/ng-shared';
|
|
9
|
+
import { RegisterClass } from '@memberjunction/global';
|
|
10
|
+
import * as i0 from "@angular/core";
|
|
11
|
+
import * as i1 from "@memberjunction/ng-mj-livekit-room";
|
|
12
|
+
import * as i2 from "@memberjunction/ng-conversation-offers";
|
|
13
|
+
function HumanHandoffConsoleResource_Case_0_Template(rf, ctx) { if (rf & 1) {
|
|
14
|
+
const _r1 = i0.ɵɵgetCurrentView();
|
|
15
|
+
i0.ɵɵelementStart(0, "mj-livekit-agent-room", 2);
|
|
16
|
+
i0.ɵɵlistener("Disconnected", function HumanHandoffConsoleResource_Case_0_Template_mj_livekit_agent_room_Disconnected_0_listener() { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.OnRoomLeft()); });
|
|
17
|
+
i0.ɵɵelementEnd();
|
|
18
|
+
} if (rf & 2) {
|
|
19
|
+
const ctx_r1 = i0.ɵɵnextContext();
|
|
20
|
+
i0.ɵɵproperty("RoomName", ctx_r1.JoinRoomName)("Provider", ctx_r1.ProviderToUse)("ShowAgentState", true)("EnableLayoutSwitcher", true)("EnableAgentManagement", false)("EnableInvite", false);
|
|
21
|
+
} }
|
|
22
|
+
function HumanHandoffConsoleResource_Case_1_Template(rf, ctx) { if (rf & 1) {
|
|
23
|
+
const _r3 = i0.ɵɵgetCurrentView();
|
|
24
|
+
i0.ɵɵelementStart(0, "div", 1)(1, "mj-conversation-offers", 3);
|
|
25
|
+
i0.ɵɵlistener("OfferAccepted", function HumanHandoffConsoleResource_Case_1_Template_mj_conversation_offers_OfferAccepted_1_listener($event) { i0.ɵɵrestoreView(_r3); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.OnOfferAccepted($event)); });
|
|
26
|
+
i0.ɵɵelementEnd()();
|
|
27
|
+
} if (rf & 2) {
|
|
28
|
+
const ctx_r1 = i0.ɵɵnextContext();
|
|
29
|
+
i0.ɵɵadvance();
|
|
30
|
+
i0.ɵɵproperty("Provider", ctx_r1.ProviderToUse);
|
|
31
|
+
} }
|
|
32
|
+
/**
|
|
33
|
+
* Conversation Console: where a person receives conversations an AI agent hands over (a phone call that arrived through LiveKit SIP,
|
|
34
|
+
* or a web room). This is the Explorer (L3) surface; the offers list itself is the generic `mj-conversation-offers` widget, and the
|
|
35
|
+
* room is the generic `mj-livekit-agent-room` joined in `join` mode. This component only wires the two together and holds the
|
|
36
|
+
* "which room am I in" state, so it contains no domain logic.
|
|
37
|
+
*
|
|
38
|
+
* Accepting an offer joins the person to the room under the same identity the server's handoff engine watches for; once the engine
|
|
39
|
+
* sees the person in the room, the AI says goodbye and leaves. Leaving the call returns to the offers list.
|
|
40
|
+
*
|
|
41
|
+
* Registered via `@RegisterClass(BaseResourceComponent, 'HumanHandoffConsoleResource')`.
|
|
42
|
+
*/
|
|
43
|
+
let HumanHandoffConsoleResource = class HumanHandoffConsoleResource extends BaseResourceComponent {
|
|
44
|
+
/** `offers` until a conversation is accepted, then `live` while in its room. */
|
|
45
|
+
Phase = 'offers';
|
|
46
|
+
/** The room the accepted conversation is in. */
|
|
47
|
+
JoinRoomName = '';
|
|
48
|
+
ngOnInit() {
|
|
49
|
+
super.ngOnInit();
|
|
50
|
+
// Nothing to resolve before first paint: the offers widget loads its own list and shows its own loading state.
|
|
51
|
+
this.NotifyLoadComplete();
|
|
52
|
+
}
|
|
53
|
+
/** The person accepted an offer: join its room. */
|
|
54
|
+
OnOfferAccepted(event) {
|
|
55
|
+
if (!event.RoomName) {
|
|
56
|
+
return;
|
|
57
|
+
}
|
|
58
|
+
this.JoinRoomName = event.RoomName;
|
|
59
|
+
this.Phase = 'live';
|
|
60
|
+
}
|
|
61
|
+
/** The person left the call: back to the list. */
|
|
62
|
+
OnRoomLeft() {
|
|
63
|
+
this.Phase = 'offers';
|
|
64
|
+
this.JoinRoomName = '';
|
|
65
|
+
}
|
|
66
|
+
async GetResourceDisplayName(_data) {
|
|
67
|
+
return 'Conversation Console';
|
|
68
|
+
}
|
|
69
|
+
async GetResourceIconClass(_data) {
|
|
70
|
+
return 'fa-solid fa-headset';
|
|
71
|
+
}
|
|
72
|
+
static ɵfac = /*@__PURE__*/ (() => { let ɵHumanHandoffConsoleResource_BaseFactory; return function HumanHandoffConsoleResource_Factory(__ngFactoryType__) { return (ɵHumanHandoffConsoleResource_BaseFactory || (ɵHumanHandoffConsoleResource_BaseFactory = i0.ɵɵgetInheritedFactory(HumanHandoffConsoleResource)))(__ngFactoryType__ || HumanHandoffConsoleResource); }; })();
|
|
73
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: HumanHandoffConsoleResource, selectors: [["mj-human-handoff-console-resource"]], standalone: false, features: [i0.ɵɵInheritDefinitionFeature], decls: 2, vars: 1, consts: [["Mode", "join", 1, "mj-hh-room", 3, "RoomName", "Provider", "ShowAgentState", "EnableLayoutSwitcher", "EnableAgentManagement", "EnableInvite"], [1, "mj-hh-offers"], ["Mode", "join", 1, "mj-hh-room", 3, "Disconnected", "RoomName", "Provider", "ShowAgentState", "EnableLayoutSwitcher", "EnableAgentManagement", "EnableInvite"], ["Heading", "Incoming conversations", 3, "OfferAccepted", "Provider"]], template: function HumanHandoffConsoleResource_Template(rf, ctx) { if (rf & 1) {
|
|
74
|
+
i0.ɵɵconditionalCreate(0, HumanHandoffConsoleResource_Case_0_Template, 1, 6, "mj-livekit-agent-room", 0)(1, HumanHandoffConsoleResource_Case_1_Template, 2, 1, "div", 1);
|
|
75
|
+
} if (rf & 2) {
|
|
76
|
+
let tmp_0_0;
|
|
77
|
+
i0.ɵɵconditional((tmp_0_0 = ctx.Phase) === "live" ? 0 : 1);
|
|
78
|
+
} }, dependencies: [i1.MJLiveKitRoomComponent, i2.MJConversationOffersComponent], styles: ["[_nghost-%COMP%] {\n display: block;\n height: 100%;\n background: var(--mj-bg-page);\n }\n .mj-hh-offers[_ngcontent-%COMP%] {\n max-width: 48rem;\n margin: 0 auto;\n padding: var(--mj-space-6, 24px) var(--mj-space-4, 16px);\n }\n .mj-hh-room[_ngcontent-%COMP%] {\n display: block;\n height: 100%;\n }"] });
|
|
79
|
+
};
|
|
80
|
+
HumanHandoffConsoleResource = __decorate([
|
|
81
|
+
RegisterClass(BaseResourceComponent, 'HumanHandoffConsoleResource')
|
|
82
|
+
], HumanHandoffConsoleResource);
|
|
83
|
+
export { HumanHandoffConsoleResource };
|
|
84
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(HumanHandoffConsoleResource, [{
|
|
85
|
+
type: Component,
|
|
86
|
+
args: [{ standalone: false, selector: 'mj-human-handoff-console-resource', template: `
|
|
87
|
+
@switch (Phase) {
|
|
88
|
+
@case ('live') {
|
|
89
|
+
<mj-livekit-agent-room
|
|
90
|
+
class="mj-hh-room"
|
|
91
|
+
Mode="join"
|
|
92
|
+
[RoomName]="JoinRoomName"
|
|
93
|
+
[Provider]="ProviderToUse"
|
|
94
|
+
[ShowAgentState]="true"
|
|
95
|
+
[EnableLayoutSwitcher]="true"
|
|
96
|
+
[EnableAgentManagement]="false"
|
|
97
|
+
[EnableInvite]="false"
|
|
98
|
+
(Disconnected)="OnRoomLeft()"
|
|
99
|
+
></mj-livekit-agent-room>
|
|
100
|
+
}
|
|
101
|
+
@default {
|
|
102
|
+
<div class="mj-hh-offers">
|
|
103
|
+
<mj-conversation-offers
|
|
104
|
+
Heading="Incoming conversations"
|
|
105
|
+
[Provider]="ProviderToUse"
|
|
106
|
+
(OfferAccepted)="OnOfferAccepted($event)"
|
|
107
|
+
></mj-conversation-offers>
|
|
108
|
+
</div>
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
`, styles: ["\n :host {\n display: block;\n height: 100%;\n background: var(--mj-bg-page);\n }\n .mj-hh-offers {\n max-width: 48rem;\n margin: 0 auto;\n padding: var(--mj-space-6, 24px) var(--mj-space-4, 16px);\n }\n .mj-hh-room {\n display: block;\n height: 100%;\n }\n "] }]
|
|
112
|
+
}], null, null); })();
|
|
113
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(HumanHandoffConsoleResource, { className: "HumanHandoffConsoleResource", filePath: "src/lib/resource-wrappers/human-handoff-console-resource.component.ts", lineNumber: 67 }); })();
|
|
114
|
+
//# sourceMappingURL=human-handoff-console-resource.component.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"human-handoff-console-resource.component.js","sourceRoot":"","sources":["../../../src/lib/resource-wrappers/human-handoff-console-resource.component.ts"],"names":[],"mappings":";;;;;;AAAA,OAAO,EAAE,SAAS,EAAU,MAAM,eAAe,CAAC;AAClD,OAAO,EAAE,qBAAqB,EAAE,MAAM,2BAA2B,CAAC;AAElE,OAAO,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;;;;;;IAqB/C,gDAUC;IADC,qNAAgB,mBAAY,KAAC;IAC9B,iBAAwB;;;IAFvB,AADA,AAD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,YACnC;;;;;;;;;;;;;;;;;;;;;;;;;GAyBT;;kFAoBU,2BAA2B","sourcesContent":["import { Component, OnInit } from '@angular/core';\nimport { BaseResourceComponent } from '@memberjunction/ng-shared';\nimport { ResourceData } from '@memberjunction/core-entities';\nimport { RegisterClass } from '@memberjunction/global';\nimport type { ConversationOfferAcceptedEvent } from '@memberjunction/ng-conversation-offers';\n\n/**\n * Conversation Console: where a person receives conversations an AI agent hands over (a phone call that arrived through LiveKit SIP,\n * or a web room). This is the Explorer (L3) surface; the offers list itself is the generic `mj-conversation-offers` widget, and the\n * room is the generic `mj-livekit-agent-room` joined in `join` mode. This component only wires the two together and holds the\n * \"which room am I in\" state, so it contains no domain logic.\n *\n * Accepting an offer joins the person to the room under the same identity the server's handoff engine watches for; once the engine\n * sees the person in the room, the AI says goodbye and leaves. Leaving the call returns to the offers list.\n *\n * Registered via `@RegisterClass(BaseResourceComponent, 'HumanHandoffConsoleResource')`.\n */\n@RegisterClass(BaseResourceComponent, 'HumanHandoffConsoleResource')\n@Component({\n standalone: false,\n selector: 'mj-human-handoff-console-resource',\n template: `\n @switch (Phase) {\n @case ('live') {\n <mj-livekit-agent-room\n class=\"mj-hh-room\"\n Mode=\"join\"\n [RoomName]=\"JoinRoomName\"\n [Provider]=\"ProviderToUse\"\n [ShowAgentState]=\"true\"\n [EnableLayoutSwitcher]=\"true\"\n [EnableAgentManagement]=\"false\"\n [EnableInvite]=\"false\"\n (Disconnected)=\"OnRoomLeft()\"\n ></mj-livekit-agent-room>\n }\n @default {\n <div class=\"mj-hh-offers\">\n <mj-conversation-offers\n Heading=\"Incoming conversations\"\n [Provider]=\"ProviderToUse\"\n (OfferAccepted)=\"OnOfferAccepted($event)\"\n ></mj-conversation-offers>\n </div>\n }\n }\n `,\n styles: [\n `\n :host {\n display: block;\n height: 100%;\n background: var(--mj-bg-page);\n }\n .mj-hh-offers {\n max-width: 48rem;\n margin: 0 auto;\n padding: var(--mj-space-6, 24px) var(--mj-space-4, 16px);\n }\n .mj-hh-room {\n display: block;\n height: 100%;\n }\n `,\n ],\n})\nexport class HumanHandoffConsoleResource extends BaseResourceComponent implements OnInit {\n /** `offers` until a conversation is accepted, then `live` while in its room. */\n public Phase: 'offers' | 'live' = 'offers';\n\n /** The room the accepted conversation is in. */\n public JoinRoomName = '';\n\n override ngOnInit(): void {\n super.ngOnInit();\n // Nothing to resolve before first paint: the offers widget loads its own list and shows its own loading state.\n this.NotifyLoadComplete();\n }\n\n /** The person accepted an offer: join its room. */\n public OnOfferAccepted(event: ConversationOfferAcceptedEvent): void {\n if (!event.RoomName) {\n return;\n }\n this.JoinRoomName = event.RoomName;\n this.Phase = 'live';\n }\n\n /** The person left the call: back to the list. */\n public OnRoomLeft(): void {\n this.Phase = 'offers';\n this.JoinRoomName = '';\n }\n\n async GetResourceDisplayName(_data: ResourceData): Promise<string> {\n return 'Conversation Console';\n }\n\n async GetResourceIconClass(_data: ResourceData): Promise<string> {\n return 'fa-solid fa-headset';\n }\n}\n"]}
|
|
@@ -3,6 +3,7 @@ import { BaseResourceComponent } from '@memberjunction/ng-shared';
|
|
|
3
3
|
import { ResourceData } from '@memberjunction/core-entities';
|
|
4
4
|
import { UUIDsEqual } from '@memberjunction/global';
|
|
5
5
|
import { RealtimeModelVoices, RealtimeVoiceOption } from '@memberjunction/graphql-dataprovider';
|
|
6
|
+
import { type TurnAddressingChoice, type TurnModeChoice } from '@memberjunction/ng-mj-livekit-room';
|
|
6
7
|
import * as i0 from "@angular/core";
|
|
7
8
|
/** A selectable target agent for the pre-join picker. */
|
|
8
9
|
interface TargetAgentChoice {
|
|
@@ -205,6 +206,18 @@ export declare class LiveKitRoomResource extends BaseResourceComponent implement
|
|
|
205
206
|
OnVoiceChange(event: Event): void;
|
|
206
207
|
/** @deprecated Use {@link OnVoiceChange}. */
|
|
207
208
|
onVoiceChange(event: Event): void;
|
|
209
|
+
/** The turn-mode choices. */
|
|
210
|
+
readonly TurnModeOptions: readonly import("@memberjunction/ng-mj-livekit-room").TurnTakingOption<TurnModeChoice>[];
|
|
211
|
+
/** The addressing choices. */
|
|
212
|
+
readonly TurnAddressingOptions: readonly import("@memberjunction/ng-mj-livekit-room").TurnTakingOption<TurnAddressingChoice>[];
|
|
213
|
+
/** The turn mode chosen for the first agent (null = the room's default). */
|
|
214
|
+
SelectedTurnMode: TurnModeChoice | null;
|
|
215
|
+
/** The addressing mode chosen for the first agent (null = Auto). */
|
|
216
|
+
SelectedTurnAddressing: TurnAddressingChoice | null;
|
|
217
|
+
/** Records the pre-join turn-mode choice. */
|
|
218
|
+
OnTurnModeChange(event: Event): void;
|
|
219
|
+
/** Records the pre-join addressing choice. */
|
|
220
|
+
OnTurnAddressingChange(event: Event): void;
|
|
208
221
|
/** Exposed for template use — platform-safe UUID equality (SQL upper vs PG lower). */
|
|
209
222
|
UUIDsEqual: typeof UUIDsEqual;
|
|
210
223
|
/** Set when no co-agent could be resolved — shown instead of the room. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"livekit-room-resource.component.d.ts","sourceRoot":"","sources":["../../../src/lib/resource-wrappers/livekit-room-resource.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,MAAM,EAAE,SAAS,EAAE,aAAa,EAA6B,MAAM,eAAe,CAAC;AACvG,OAAO,EAAE,qBAAqB,EAAE,MAAM,2BAA2B,CAAC;AAClE,OAAO,EAAE,YAAY,EAAE,MAAM,+BAA+B,CAAC;AAC7D,OAAO,EAAiB,UAAU,EAAE,MAAM,wBAAwB,CAAC;AAGnE,OAAO,EAA6C,mBAAmB,EAAE,mBAAmB,EAAE,MAAM,sCAAsC,CAAC;;
|
|
1
|
+
{"version":3,"file":"livekit-room-resource.component.d.ts","sourceRoot":"","sources":["../../../src/lib/resource-wrappers/livekit-room-resource.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,MAAM,EAAE,SAAS,EAAE,aAAa,EAA6B,MAAM,eAAe,CAAC;AACvG,OAAO,EAAE,qBAAqB,EAAE,MAAM,2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