politty 0.4.0 → 0.4.2

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 (67) hide show
  1. package/dist/{arg-registry-C3GP-5C9.d.ts → arg-registry-BNoIwnNr.d.cts} +15 -8
  2. package/dist/arg-registry-BNoIwnNr.d.cts.map +1 -0
  3. package/dist/{arg-registry-B4a4Fj7f.d.cts → arg-registry-BUUhZ7JR.d.ts} +15 -8
  4. package/dist/arg-registry-BUUhZ7JR.d.ts.map +1 -0
  5. package/dist/augment.d.cts +1 -1
  6. package/dist/augment.d.ts +1 -1
  7. package/dist/completion/index.cjs +20 -19
  8. package/dist/completion/index.cjs.map +1 -1
  9. package/dist/completion/index.d.cts +4 -4
  10. package/dist/completion/index.d.cts.map +1 -1
  11. package/dist/completion/index.d.ts +4 -4
  12. package/dist/completion/index.d.ts.map +1 -1
  13. package/dist/completion/index.js +3 -3
  14. package/dist/completion/index.js.map +1 -1
  15. package/dist/docs/index.cjs +6 -6
  16. package/dist/docs/index.cjs.map +1 -1
  17. package/dist/docs/index.d.cts +3 -3
  18. package/dist/docs/index.d.cts.map +1 -1
  19. package/dist/docs/index.d.ts +3 -3
  20. package/dist/docs/index.d.ts.map +1 -1
  21. package/dist/docs/index.js +3 -3
  22. package/dist/index.cjs +10 -8
  23. package/dist/index.d.cts +4 -4
  24. package/dist/index.d.cts.map +1 -1
  25. package/dist/index.d.ts +4 -4
  26. package/dist/index.d.ts.map +1 -1
  27. package/dist/index.js +4 -4
  28. package/dist/{schema-extractor-Cv7ipqLS.cjs → lazy-BEDnSR0m.cjs} +81 -2
  29. package/dist/lazy-BEDnSR0m.cjs.map +1 -0
  30. package/dist/{schema-extractor-CP3ar0Wi.js → lazy-BrEg8SgI.js} +63 -2
  31. package/dist/lazy-BrEg8SgI.js.map +1 -0
  32. package/dist/{runner-LJRI4haB.js → runner-B6W9A8P0.js} +5 -5
  33. package/dist/runner-B6W9A8P0.js.map +1 -0
  34. package/dist/{runner-9dLE13Dv.cjs → runner-CpyB8JiY.cjs} +10 -10
  35. package/dist/runner-CpyB8JiY.cjs.map +1 -0
  36. package/dist/{schema-extractor-DyfK21m_.d.cts → schema-extractor-DFaAZzaY.d.cts} +49 -4
  37. package/dist/schema-extractor-DFaAZzaY.d.cts.map +1 -0
  38. package/dist/{schema-extractor-CHiBRT39.d.ts → schema-extractor-n9288WJ6.d.ts} +49 -4
  39. package/dist/schema-extractor-n9288WJ6.d.ts.map +1 -0
  40. package/dist/{subcommand-router-DtCeT_O9.js → subcommand-router-CAzBsLSI.js} +4 -1
  41. package/dist/{subcommand-router-DtCeT_O9.js.map → subcommand-router-CAzBsLSI.js.map} +1 -1
  42. package/dist/{subcommand-router-4d1Xbp8B.cjs → subcommand-router-ZjNjFaUL.cjs} +3 -1
  43. package/dist/subcommand-router-ZjNjFaUL.cjs.map +1 -0
  44. package/dist/{extractor-DsJ6hYqQ.d.cts → value-completion-resolver-BQgHsX7b.d.cts} +73 -20
  45. package/dist/value-completion-resolver-BQgHsX7b.d.cts.map +1 -0
  46. package/dist/{extractor-CCi4rjSI.d.ts → value-completion-resolver-C9LTGr0O.d.ts} +73 -20
  47. package/dist/value-completion-resolver-C9LTGr0O.d.ts.map +1 -0
  48. package/dist/zsh-CASZWn0o.cjs +1586 -0
  49. package/dist/zsh-CASZWn0o.cjs.map +1 -0
  50. package/dist/zsh-hjvdI8uZ.js +1508 -0
  51. package/dist/zsh-hjvdI8uZ.js.map +1 -0
  52. package/package.json +7 -6
  53. package/dist/arg-registry-B4a4Fj7f.d.cts.map +0 -1
  54. package/dist/arg-registry-C3GP-5C9.d.ts.map +0 -1
  55. package/dist/extractor-CCi4rjSI.d.ts.map +0 -1
  56. package/dist/extractor-CqfDnGKd.cjs +0 -970
  57. package/dist/extractor-CqfDnGKd.cjs.map +0 -1
  58. package/dist/extractor-DsJ6hYqQ.d.cts.map +0 -1
  59. package/dist/extractor-JfoYSoMk.js +0 -898
  60. package/dist/extractor-JfoYSoMk.js.map +0 -1
  61. package/dist/runner-9dLE13Dv.cjs.map +0 -1
  62. package/dist/runner-LJRI4haB.js.map +0 -1
  63. package/dist/schema-extractor-CHiBRT39.d.ts.map +0 -1
  64. package/dist/schema-extractor-CP3ar0Wi.js.map +0 -1
  65. package/dist/schema-extractor-Cv7ipqLS.cjs.map +0 -1
  66. package/dist/schema-extractor-DyfK21m_.d.cts.map +0 -1
  67. package/dist/subcommand-router-4d1Xbp8B.cjs.map +0 -1
@@ -1,4 +1,4 @@
1
- import { d as Command, n as ResolvedFieldMeta, s as AnyCommand } from "./schema-extractor-DyfK21m_.cjs";
1
+ import { d as Command, n as ResolvedFieldMeta, s as AnyCommand } from "./schema-extractor-DFaAZzaY.cjs";
2
2
  import { z } from "zod";
3
3
 
4
4
  //#region src/completion/types.d.ts
@@ -22,16 +22,17 @@ interface CompletionOptions {
22
22
  /**
23
23
  * Value completion specification for shell scripts
24
24
  */
25
- interface ValueCompletion {
26
- /** Completion type */
27
- type: "choices" | "file" | "directory" | "command" | "none";
28
- /** List of valid choices (for "choices" type) */
29
- choices?: string[];
30
- /** Shell command for dynamic completion (for "command" type) */
25
+ type ValueCompletion = {
26
+ /** Completion type */type: "choices" | "file" | "directory" | "command" | "none"; /** List of valid choices (for "choices" type) */
27
+ choices?: string[]; /** Shell command for dynamic completion (for "command" type) */
31
28
  shellCommand?: string;
32
- /** File extension filters (for "file" type) */
29
+ } & ({
33
30
  extensions?: string[];
34
- }
31
+ matcher?: never;
32
+ } | {
33
+ /** Glob patterns for file matching (for "file" type) */matcher?: string[];
34
+ extensions?: never;
35
+ });
35
36
  /**
36
37
  * Information about a completable option
37
38
  */
@@ -67,6 +68,8 @@ interface CompletablePositional {
67
68
  description?: string | undefined;
68
69
  /** Whether required */
69
70
  required: boolean;
71
+ /** Whether this positional accepts multiple values (array type) */
72
+ variadic?: boolean | undefined;
70
73
  /** Value completion specification */
71
74
  valueCompletion?: ValueCompletion | undefined;
72
75
  }
@@ -188,26 +191,26 @@ interface CandidateResult {
188
191
  candidates: CompletionCandidate[];
189
192
  /** Directive flags for shell behavior */
190
193
  directive: number;
194
+ /** File extensions for shell-native filtering (e.g., ["json", "yaml"]) */
195
+ fileExtensions?: string[] | undefined;
196
+ /** Glob patterns for shell-native file matching (e.g., [".env.*"]) */
197
+ fileMatchers?: string[] | undefined;
191
198
  }
192
199
  /**
193
200
  * Generate completion candidates based on context
194
201
  */
195
202
  declare function generateCandidates(context: CompletionContext): CandidateResult;
196
- /**
197
- * Format candidates as shell completion output
198
- *
199
- * Format: value\tdescription (tab-separated)
200
- * Last line: :directive_code
201
- */
202
- declare function formatOutput(result: CandidateResult): string;
203
203
  //#endregion
204
204
  //#region src/completion/dynamic/complete-command.d.ts
205
205
  /**
206
206
  * Schema for the __complete command
207
- *
208
- * Arguments after -- are collected as the completion arguments
209
207
  */
210
208
  declare const completeArgsSchema: z.ZodObject<{
209
+ shell: z.ZodEnum<{
210
+ bash: "bash";
211
+ zsh: "zsh";
212
+ fish: "fish";
213
+ }>;
211
214
  args: z.ZodDefault<z.ZodArray<z.ZodString>>;
212
215
  }, z.core.$strip>;
213
216
  type CompleteArgs = z.infer<typeof completeArgsSchema>;
@@ -224,6 +227,25 @@ declare function createDynamicCompleteCommand(rootCommand: AnyCommand, _programN
224
227
  */
225
228
  declare function hasCompleteCommand(command: AnyCommand): boolean;
226
229
  //#endregion
230
+ //#region src/completion/dynamic/shell-formatter.d.ts
231
+ /**
232
+ * Options for shell-specific formatting
233
+ */
234
+ interface ShellFormatOptions {
235
+ /** Target shell type */
236
+ shell: ShellType;
237
+ /** Current word being completed (used for prefix filtering) */
238
+ currentWord: string;
239
+ /** For bash: the prefix before '=' in --opt=value completions */
240
+ inlinePrefix?: string | undefined;
241
+ }
242
+ /**
243
+ * Format completion candidates for the specified shell
244
+ *
245
+ * @returns Shell-ready output string (lines separated by newline, last line is :directive)
246
+ */
247
+ declare function formatForShell(result: CandidateResult, options: ShellFormatOptions): string;
248
+ //#endregion
227
249
  //#region src/completion/extractor.d.ts
228
250
  /**
229
251
  * Extract positional arguments from a command
@@ -234,5 +256,36 @@ declare function extractPositionals(command: AnyCommand): ResolvedFieldMeta[];
234
256
  */
235
257
  declare function extractCompletionData(command: AnyCommand, programName: string): CompletionData;
236
258
  //#endregion
237
- export { CompletionOptions as _, CandidateResult as a, formatOutput as c, CompletionType as d, parseCompletionContext as f, CompletionGenerator as g, CompletionData as h, hasCompleteCommand as i, generateCandidates as l, CompletableSubcommand as m, extractPositionals as n, CompletionCandidate as o, CompletableOption as p, createDynamicCompleteCommand as r, CompletionDirective as s, extractCompletionData as t, CompletionContext as u, CompletionResult as v, ShellType as y };
238
- //# sourceMappingURL=extractor-DsJ6hYqQ.d.cts.map
259
+ //#region src/completion/value-completion-resolver.d.ts
260
+ /**
261
+ * Minimal field interface needed for resolving value completion.
262
+ * Both ResolvedFieldMeta and inline context-parser types satisfy this.
263
+ */
264
+ interface ValueCompletionField {
265
+ completion?: ({
266
+ type?: string;
267
+ custom?: {
268
+ choices?: string[];
269
+ shellCommand?: string;
270
+ };
271
+ } & ({
272
+ extensions?: string[];
273
+ matcher?: never;
274
+ } | {
275
+ matcher?: string[];
276
+ extensions?: never;
277
+ })) | undefined;
278
+ enumValues?: string[] | undefined;
279
+ }
280
+ /**
281
+ * Resolve value completion from field metadata
282
+ *
283
+ * Priority:
284
+ * 1. Explicit custom completion (choices or shellCommand)
285
+ * 2. Explicit completion type (file, directory, none)
286
+ * 3. Auto-detected enum values from schema
287
+ */
288
+ declare function resolveValueCompletion(field: ValueCompletionField): ValueCompletion | undefined;
289
+ //#endregion
290
+ export { ShellType as S, CompletableSubcommand as _, ShellFormatOptions as a, CompletionOptions as b, hasCompleteCommand as c, CompletionDirective as d, generateCandidates as f, CompletableOption as g, parseCompletionContext as h, extractPositionals as i, CandidateResult as l, CompletionType as m, resolveValueCompletion as n, formatForShell as o, CompletionContext as p, extractCompletionData as r, createDynamicCompleteCommand as s, ValueCompletionField as t, CompletionCandidate as u, CompletionData as v, CompletionResult as x, CompletionGenerator as y };
291
+ //# sourceMappingURL=value-completion-resolver-BQgHsX7b.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"value-completion-resolver-BQgHsX7b.d.cts","names":[],"sources":["../src/completion/types.ts","../src/completion/dynamic/context-parser.ts","../src/completion/dynamic/candidate-generator.ts","../src/completion/dynamic/complete-command.ts","../src/completion/dynamic/shell-formatter.ts","../src/completion/extractor.ts","../src/completion/value-completion-resolver.ts"],"mappings":";;;;AASA;;;AAAA,KAAY,SAAA;;AAKZ;;UAAiB,iBAAA;EAEC;EAAhB,KAAA,EAAO,SAAA;EAAA;EAEP,WAAA;EAEA;EAAA,kBAAA;EAEmB;EAAnB,mBAAA;AAAA;;;;KAMU,eAAA;EAIV,sBAFA,IAAA,yDAMoD;EAJpD,OAAA,aAM6D;EAJ7D,YAAA;AAAA;EAEoD,UAAA;EAAuB,OAAA;AAAA;0DAEd,OAAA;EACzD,UAAA;AAAA;;;;UAOW,iBAAA;EAYf;EAVA,IAAA;EAcA;EAZA,OAAA;EAYiC;EAVjC,KAAA;EAgBe;EAdf,WAAA;;EAEA,UAAA;EAcA;EAZA,SAAA;EAgBA;EAdA,QAAA;EAkBA;EAhBA,eAAA,GAAkB,eAAA;AAAA;;;;UAMH,qBAAA;EAoBqB;EAlBpC,IAAA;EAwBa;EAtBb,OAAA;EA0Ba;EAxBb,QAAA;EAwBkC;EAtBlC,WAAA;EAgBA;EAdA,QAAA;EAgBa;EAdb,QAAA;EAgBS;EAdT,eAAA,GAAkB,eAAA;AAAA;;;AAsBpB;UAhBiB,qBAAA;;EAEf,IAAA;EAgBA;EAdA,WAAA;EAgBA;EAdA,WAAA,EAAa,qBAAA;EAgBE;EAdf,OAAA,EAAS,iBAAA;EAcuB;EAZhC,WAAA,EAAa,qBAAA;AAAA;;;;UAME,cAAA;EAgBR;EAdP,OAAA,EAAS,qBAAA;EAgBU;EAdnB,WAAA;EAoBU;EAlBV,aAAA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S,UAAA;;;;AH/E5C;;UIGiB,kBAAA;EJDC;EIGhB,KAAA,EAAO,SAAA;EJHA;EIKP,WAAA;EJDA;EIGA,YAAA;AAAA;;AJKF;;;;iBIGgB,cAAA,CAAe,MAAA,EAAQ,eAAA,EAAiB,OAAA,EAAS,kBAAA;;;;;;iBCkCjD,kBAAA,CAAmB,OAAA,EAAS,UAAA,GAAa,iBAAA;;;;iBAuFzC,qBAAA,CAAsB,OAAA,EAAS,UAAA,EAAY,WAAA,WAAsB,cAAA;;;;;AL1IjF;;UMDiB,oBAAA;EACf,UAAA;IAEM,IAAA;IACA,MAAA;MAAW,OAAA;MAAoB,YAAA;IAAA;EAAA;IAC1B,UAAA;IAAuB,OAAA;EAAA;IAAsB,OAAA;IAAoB,UAAA;EAAA;EAE5E,UAAA;AAAA;;;;;;;AN0BF;;iBMfgB,sBAAA,CAAuB,KAAA,EAAO,oBAAA,GAAuB,eAAA"}
@@ -1,4 +1,4 @@
1
- import { d as Command, n as ResolvedFieldMeta, s as AnyCommand } from "./schema-extractor-CHiBRT39.js";
1
+ import { d as Command, n as ResolvedFieldMeta, s as AnyCommand } from "./schema-extractor-n9288WJ6.js";
2
2
  import { z } from "zod";
3
3
 
4
4
  //#region src/completion/types.d.ts
@@ -22,16 +22,17 @@ interface CompletionOptions {
22
22
  /**
23
23
  * Value completion specification for shell scripts
24
24
  */
25
- interface ValueCompletion {
26
- /** Completion type */
27
- type: "choices" | "file" | "directory" | "command" | "none";
28
- /** List of valid choices (for "choices" type) */
29
- choices?: string[];
30
- /** Shell command for dynamic completion (for "command" type) */
25
+ type ValueCompletion = {
26
+ /** Completion type */type: "choices" | "file" | "directory" | "command" | "none"; /** List of valid choices (for "choices" type) */
27
+ choices?: string[]; /** Shell command for dynamic completion (for "command" type) */
31
28
  shellCommand?: string;
32
- /** File extension filters (for "file" type) */
29
+ } & ({
33
30
  extensions?: string[];
34
- }
31
+ matcher?: never;
32
+ } | {
33
+ /** Glob patterns for file matching (for "file" type) */matcher?: string[];
34
+ extensions?: never;
35
+ });
35
36
  /**
36
37
  * Information about a completable option
37
38
  */
@@ -67,6 +68,8 @@ interface CompletablePositional {
67
68
  description?: string | undefined;
68
69
  /** Whether required */
69
70
  required: boolean;
71
+ /** Whether this positional accepts multiple values (array type) */
72
+ variadic?: boolean | undefined;
70
73
  /** Value completion specification */
71
74
  valueCompletion?: ValueCompletion | undefined;
72
75
  }
@@ -188,26 +191,26 @@ interface CandidateResult {
188
191
  candidates: CompletionCandidate[];
189
192
  /** Directive flags for shell behavior */
190
193
  directive: number;
194
+ /** File extensions for shell-native filtering (e.g., ["json", "yaml"]) */
195
+ fileExtensions?: string[] | undefined;
196
+ /** Glob patterns for shell-native file matching (e.g., [".env.*"]) */
197
+ fileMatchers?: string[] | undefined;
191
198
  }
192
199
  /**
193
200
  * Generate completion candidates based on context
194
201
  */
195
202
  declare function generateCandidates(context: CompletionContext): CandidateResult;
196
- /**
197
- * Format candidates as shell completion output
198
- *
199
- * Format: value\tdescription (tab-separated)
200
- * Last line: :directive_code
201
- */
202
- declare function formatOutput(result: CandidateResult): string;
203
203
  //#endregion
204
204
  //#region src/completion/dynamic/complete-command.d.ts
205
205
  /**
206
206
  * Schema for the __complete command
207
- *
208
- * Arguments after -- are collected as the completion arguments
209
207
  */
210
208
  declare const completeArgsSchema: z.ZodObject<{
209
+ shell: z.ZodEnum<{
210
+ bash: "bash";
211
+ zsh: "zsh";
212
+ fish: "fish";
213
+ }>;
211
214
  args: z.ZodDefault<z.ZodArray<z.ZodString>>;
212
215
  }, z.core.$strip>;
213
216
  type CompleteArgs = z.infer<typeof completeArgsSchema>;
@@ -224,6 +227,25 @@ declare function createDynamicCompleteCommand(rootCommand: AnyCommand, _programN
224
227
  */
225
228
  declare function hasCompleteCommand(command: AnyCommand): boolean;
226
229
  //#endregion
230
+ //#region src/completion/dynamic/shell-formatter.d.ts
231
+ /**
232
+ * Options for shell-specific formatting
233
+ */
234
+ interface ShellFormatOptions {
235
+ /** Target shell type */
236
+ shell: ShellType;
237
+ /** Current word being completed (used for prefix filtering) */
238
+ currentWord: string;
239
+ /** For bash: the prefix before '=' in --opt=value completions */
240
+ inlinePrefix?: string | undefined;
241
+ }
242
+ /**
243
+ * Format completion candidates for the specified shell
244
+ *
245
+ * @returns Shell-ready output string (lines separated by newline, last line is :directive)
246
+ */
247
+ declare function formatForShell(result: CandidateResult, options: ShellFormatOptions): string;
248
+ //#endregion
227
249
  //#region src/completion/extractor.d.ts
228
250
  /**
229
251
  * Extract positional arguments from a command
@@ -234,5 +256,36 @@ declare function extractPositionals(command: AnyCommand): ResolvedFieldMeta[];
234
256
  */
235
257
  declare function extractCompletionData(command: AnyCommand, programName: string): CompletionData;
236
258
  //#endregion
237
- export { CompletionOptions as _, CandidateResult as a, formatOutput as c, CompletionType as d, parseCompletionContext as f, CompletionGenerator as g, CompletionData as h, hasCompleteCommand as i, generateCandidates as l, CompletableSubcommand as m, extractPositionals as n, CompletionCandidate as o, CompletableOption as p, createDynamicCompleteCommand as r, CompletionDirective as s, extractCompletionData as t, CompletionContext as u, CompletionResult as v, ShellType as y };
238
- //# sourceMappingURL=extractor-CCi4rjSI.d.ts.map
259
+ //#region src/completion/value-completion-resolver.d.ts
260
+ /**
261
+ * Minimal field interface needed for resolving value completion.
262
+ * Both ResolvedFieldMeta and inline context-parser types satisfy this.
263
+ */
264
+ interface ValueCompletionField {
265
+ completion?: ({
266
+ type?: string;
267
+ custom?: {
268
+ choices?: string[];
269
+ shellCommand?: string;
270
+ };
271
+ } & ({
272
+ extensions?: string[];
273
+ matcher?: never;
274
+ } | {
275
+ matcher?: string[];
276
+ extensions?: never;
277
+ })) | undefined;
278
+ enumValues?: string[] | undefined;
279
+ }
280
+ /**
281
+ * Resolve value completion from field metadata
282
+ *
283
+ * Priority:
284
+ * 1. Explicit custom completion (choices or shellCommand)
285
+ * 2. Explicit completion type (file, directory, none)
286
+ * 3. Auto-detected enum values from schema
287
+ */
288
+ declare function resolveValueCompletion(field: ValueCompletionField): ValueCompletion | undefined;
289
+ //#endregion
290
+ export { ShellType as S, CompletableSubcommand as _, ShellFormatOptions as a, CompletionOptions as b, hasCompleteCommand as c, CompletionDirective as d, generateCandidates as f, CompletableOption as g, parseCompletionContext as h, extractPositionals as i, CandidateResult as l, CompletionType as m, resolveValueCompletion as n, formatForShell as o, CompletionContext as p, extractCompletionData as r, createDynamicCompleteCommand as s, ValueCompletionField as t, CompletionCandidate as u, CompletionData as v, CompletionResult as x, CompletionGenerator as y };
291
+ //# sourceMappingURL=value-completion-resolver-C9LTGr0O.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"value-completion-resolver-C9LTGr0O.d.ts","names":[],"sources":["../src/completion/types.ts","../src/completion/dynamic/context-parser.ts","../src/completion/dynamic/candidate-generator.ts","../src/completion/dynamic/complete-command.ts","../src/completion/dynamic/shell-formatter.ts","../src/completion/extractor.ts","../src/completion/value-completion-resolver.ts"],"mappings":";;;;AASA;;;AAAA,KAAY,SAAA;;AAKZ;;UAAiB,iBAAA;EAEC;EAAhB,KAAA,EAAO,SAAA;EAAA;EAEP,WAAA;EAEA;EAAA,kBAAA;EAEmB;EAAnB,mBAAA;AAAA;;;;KAMU,eAAA;EAIV,sBAFA,IAAA,yDAMoD;EAJpD,OAAA,aAM6D;EAJ7D,YAAA;AAAA;EAEoD,UAAA;EAAuB,OAAA;AAAA;0DAEd,OAAA;EACzD,UAAA;AAAA;;;;UAOW,iBAAA;EAYf;EAVA,IAAA;EAcA;EAZA,OAAA;EAYiC;EAVjC,KAAA;EAgBe;EAdf,WAAA;;EAEA,UAAA;EAcA;EAZA,SAAA;EAgBA;EAdA,QAAA;EAkBA;EAhBA,eAAA,GAAkB,eAAA;AAAA;;;;UAMH,qBAAA;EAoBqB;EAlBpC,IAAA;EAwBa;EAtBb,OAAA;EA0Ba;EAxBb,QAAA;EAwBkC;EAtBlC,WAAA;EAgBA;EAdA,QAAA;EAgBa;EAdb,QAAA;EAgBS;EAdT,eAAA,GAAkB,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