diff --git a/grammar/QuixosCapability.g4 b/grammar/QuixosCapability.g4 index 9e43ccb..78f9d5b 100644 --- a/grammar/QuixosCapability.g4 +++ b/grammar/QuixosCapability.g4 @@ -163,8 +163,10 @@ presentationDecl ; packageQuery - : QUERY identifier typeParameters? ID stringLiteral ROOT WORKSPACE? interfaceType - DOCUMENT stringLiteral OPERATION stringLiteral LBRACE queryClause* RBRACE + : QUERY FRAGMENT? identifier typeParameters? ID stringLiteral ROOT WORKSPACE? interfaceType + DOCUMENT stringLiteral + (OPERATION stringLiteral LBRACE queryClause* RBRACE + | FRAGMENT stringLiteral (OPERATION stringLiteral)? (LBRACE queryClause* RBRACE | SEMI)) ; packageQuerySpecialization @@ -175,6 +177,7 @@ queryClause : REPLICA SEMI | LOCAL FROM identifier SEMI | FRAGMENTS stringLiteral SEMI + | FRAGMENTS identifier DOT identifier (WITH LBRACE fragmentVariable* RBRACE)? SEMI | VIEW OBJECT? identifier AS interfaceType SEMI | MAX identifier INTEGER SEMI | ALLOW interfaceType DOT identifier identifier stringLiteral SEMI @@ -182,6 +185,8 @@ queryClause | POLL INTEGER stringLiteral SEMI ; +fragmentVariable : identifier TO identifier SEMI; + packageOperationExport : OPERATION identifier typeParameters? ID stringLiteral COLON valueType ARROW valueType MODE operationMode executionClause? eventClause? RECEIVER receiverRequirement dependencyBlock? acceptanceClause? SEMI @@ -482,6 +487,7 @@ identifier | ROOT | DOCUMENT | FRAGMENTS + | FRAGMENT | VIEW | MAX | ALLOW diff --git a/src/capability-language/assembly.ts b/src/capability-language/assembly.ts index 748bcaf..43a4982 100644 --- a/src/capability-language/assembly.ts +++ b/src/capability-language/assembly.ts @@ -276,12 +276,37 @@ const createResourceGraphResolver = (quixosCommit: string, resolveResource: Capa await checkQueryTemplate(template, queryInterfaces, (name) => readRepositorySource(snapshot.directory, name), ); - if (compiled.resource.revision.queries?.length) - compiled.resource.revision.checkedQueries = await Promise.all( - compiled.resource.revision.queries.map((query) => - compileRepositoryQuery(snapshot.directory, query, queryInterfaces), - ), - ); + if (compiled.resource.revision.queries?.length) { + const pkg = compiled.resource.revision; + const checked = new Map(); + const compile = async ( + id: string, + parents: readonly string[] = [], + ): Promise => { + if (parents.includes(id)) throw new Error(`Query fragment cycle: ${[...parents, id].join(" -> ")}`); + const previous = checked.get(id); + if (previous) return previous; + const query = pkg.queries!.find((query) => query.id === id); + if (!query) throw new Error(`Unknown fragment ${pkg.revisionId}/${id}`); + const result = await compileRepositoryQuery( + snapshot.directory, + query, + queryInterfaces, + async (packageId, fragmentId) => { + if (packageId === pkg.revisionId) return compile(fragmentId, [...parents, id]); + const imported = environment.packageClosure + ?.find((other) => other.revisionId === packageId) + ?.checkedQueries?.find((query) => query.declaration.id === fragmentId); + if (!imported) throw new Error(`Unchecked imported fragment ${packageId}/${fragmentId}`); + return imported; + }, + ); + checked.set(id, result); + return result; + }; + pkg.checkedQueries = []; + for (const query of pkg.queries!) pkg.checkedQueries.push(await compile(query.id)); + } let controllerText: string | undefined; try { controllerText = await readRepositorySource(snapshot.directory, "quixos.controllers.json"); diff --git a/src/capability-language/generated/QuixosCapability.interp b/src/capability-language/generated/QuixosCapability.interp index 6cdb3e6..21873eb 100644 --- a/src/capability-language/generated/QuixosCapability.interp +++ b/src/capability-language/generated/QuixosCapability.interp @@ -344,6 +344,7 @@ presentationDecl packageQuery packageQuerySpecialization queryClause +fragmentVariable packageOperationExport packageFunctionExport acceptanceClause @@ -395,4 +396,4 @@ stringLiteral atn: -[4, 1, 153, 1347, 2, 0, 7, 0, 2, 1, 7, 1, 2, 2, 7, 2, 2, 3, 7, 3, 2, 4, 7, 4, 2, 5, 7, 5, 2, 6, 7, 6, 2, 7, 7, 7, 2, 8, 7, 8, 2, 9, 7, 9, 2, 10, 7, 10, 2, 11, 7, 11, 2, 12, 7, 12, 2, 13, 7, 13, 2, 14, 7, 14, 2, 15, 7, 15, 2, 16, 7, 16, 2, 17, 7, 17, 2, 18, 7, 18, 2, 19, 7, 19, 2, 20, 7, 20, 2, 21, 7, 21, 2, 22, 7, 22, 2, 23, 7, 23, 2, 24, 7, 24, 2, 25, 7, 25, 2, 26, 7, 26, 2, 27, 7, 27, 2, 28, 7, 28, 2, 29, 7, 29, 2, 30, 7, 30, 2, 31, 7, 31, 2, 32, 7, 32, 2, 33, 7, 33, 2, 34, 7, 34, 2, 35, 7, 35, 2, 36, 7, 36, 2, 37, 7, 37, 2, 38, 7, 38, 2, 39, 7, 39, 2, 40, 7, 40, 2, 41, 7, 41, 2, 42, 7, 42, 2, 43, 7, 43, 2, 44, 7, 44, 2, 45, 7, 45, 2, 46, 7, 46, 2, 47, 7, 47, 2, 48, 7, 48, 2, 49, 7, 49, 2, 50, 7, 50, 2, 51, 7, 51, 2, 52, 7, 52, 2, 53, 7, 53, 2, 54, 7, 54, 2, 55, 7, 55, 2, 56, 7, 56, 2, 57, 7, 57, 2, 58, 7, 58, 2, 59, 7, 59, 2, 60, 7, 60, 2, 61, 7, 61, 2, 62, 7, 62, 2, 63, 7, 63, 2, 64, 7, 64, 2, 65, 7, 65, 2, 66, 7, 66, 2, 67, 7, 67, 2, 68, 7, 68, 2, 69, 7, 69, 2, 70, 7, 70, 2, 71, 7, 71, 2, 72, 7, 72, 2, 73, 7, 73, 2, 74, 7, 74, 2, 75, 7, 75, 2, 76, 7, 76, 2, 77, 7, 77, 2, 78, 7, 78, 2, 79, 7, 79, 2, 80, 7, 80, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 3, 0, 175, 8, 0, 1, 1, 1, 1, 1, 1, 5, 1, 180, 8, 1, 10, 1, 12, 1, 183, 9, 1, 1, 1, 1, 1, 1, 2, 1, 2, 1, 2, 1, 2, 1, 3, 1, 3, 1, 3, 1, 3, 1, 3, 1, 3, 1, 3, 1, 3, 1, 3, 1, 3, 5, 3, 201, 8, 3, 10, 3, 12, 3, 204, 9, 3, 1, 3, 1, 3, 1, 4, 1, 4, 1, 4, 1, 4, 1, 4, 1, 4, 1, 4, 1, 4, 3, 4, 216, 8, 4, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 3, 5, 228, 8, 5, 1, 6, 1, 6, 1, 6, 1, 6, 1, 6, 1, 6, 1, 6, 1, 7, 1, 7, 1, 7, 1, 7, 1, 7, 1, 7, 1, 7, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 248, 8, 8, 1, 9, 1, 9, 1, 9, 1, 9, 1, 9, 1, 9, 3, 9, 256, 8, 9, 1, 9, 1, 9, 1, 10, 5, 10, 261, 8, 10, 10, 10, 12, 10, 264, 9, 10, 1, 10, 1, 10, 1, 10, 3, 10, 269, 8, 10, 1, 10, 1, 10, 1, 10, 1, 10, 1, 10, 1, 10, 1, 10, 1, 10, 5, 10, 279, 8, 10, 10, 10, 12, 10, 282, 9, 10, 3, 10, 284, 8, 10, 1, 10, 1, 10, 5, 10, 288, 8, 10, 10, 10, 12, 10, 291, 9, 10, 1, 10, 1, 10, 1, 11, 1, 11, 1, 11, 1, 11, 5, 11, 299, 8, 11, 10, 11, 12, 11, 302, 9, 11, 1, 11, 1, 11, 1, 12, 1, 12, 1, 12, 1, 12, 3, 12, 310, 8, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 5, 12, 318, 8, 12, 10, 12, 12, 12, 321, 9, 12, 3, 12, 323, 8, 12, 3, 12, 325, 8, 12, 1, 13, 1, 13, 3, 13, 329, 8, 13, 1, 14, 1, 14, 1, 14, 1, 14, 5, 14, 335, 8, 14, 10, 14, 12, 14, 338, 9, 14, 1, 14, 1, 14, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 3, 15, 349, 8, 15, 1, 16, 1, 16, 1, 16, 3, 16, 354, 8, 16, 1, 16, 1, 16, 1, 16, 1, 16, 1, 17, 1, 17, 1, 17, 1, 17, 3, 17, 364, 8, 17, 1, 18, 1, 18, 1, 18, 1, 18, 1, 18, 1, 18, 1, 18, 1, 18, 3, 18, 374, 8, 18, 1, 18, 1, 18, 1, 19, 3, 19, 379, 8, 19, 1, 19, 1, 19, 1, 19, 1, 19, 1, 19, 1, 19, 1, 19, 1, 19, 1, 19, 1, 19, 1, 19, 1, 19, 1, 19, 3, 19, 394, 8, 19, 1, 19, 1, 19, 1, 19, 1, 20, 3, 20, 400, 8, 20, 1, 20, 1, 20, 1, 20, 1, 20, 1, 20, 1, 20, 1, 20, 1, 20, 5, 20, 410, 8, 20, 10, 20, 12, 20, 413, 9, 20, 1, 20, 1, 20, 1, 21, 1, 21, 1, 21, 1, 21, 3, 21, 421, 8, 21, 1, 21, 1, 21, 1, 21, 1, 21, 1, 21, 1, 21, 3, 21, 429, 8, 21, 1, 21, 1, 21, 1, 21, 1, 21, 1, 21, 1, 21, 3, 21, 437, 8, 21, 1, 21, 1, 21, 1, 21, 1, 21, 1, 21, 1, 21, 1, 21, 1, 21, 1, 21, 1, 21, 1, 21, 3, 21, 450, 8, 21, 1, 22, 3, 22, 453, 8, 22, 1, 22, 1, 22, 1, 22, 1, 22, 1, 22, 1, 22, 1, 22, 1, 22, 3, 22, 463, 8, 22, 1, 22, 1, 22, 3, 22, 467, 8, 22, 1, 22, 1, 22, 5, 22, 471, 8, 22, 10, 22, 12, 22, 474, 9, 22, 1, 22, 1, 22, 1, 23, 1, 23, 3, 23, 480, 8, 23, 1, 24, 1, 24, 1, 24, 1, 24, 3, 24, 486, 8, 24, 1, 24, 1, 24, 1, 24, 1, 24, 1, 24, 1, 24, 3, 24, 494, 8, 24, 1, 24, 1, 24, 1, 24, 1, 24, 1, 24, 1, 24, 3, 24, 502, 8, 24, 1, 24, 1, 24, 1, 24, 1, 24, 1, 24, 1, 24, 1, 24, 1, 24, 1, 24, 1, 24, 1, 24, 3, 24, 515, 8, 24, 1, 25, 1, 25, 1, 25, 1, 25, 1, 25, 3, 25, 522, 8, 25, 1, 25, 1, 25, 3, 25, 526, 8, 25, 1, 26, 5, 26, 529, 8, 26, 10, 26, 12, 26, 532, 9, 26, 1, 26, 1, 26, 1, 26, 1, 26, 1, 26, 1, 26, 1, 26, 1, 26, 3, 26, 542, 8, 26, 1, 26, 1, 26, 5, 26, 546, 8, 26, 10, 26, 12, 26, 549, 9, 26, 1, 26, 1, 26, 1, 27, 1, 27, 1, 27, 1, 27, 1, 27, 1, 27, 3, 27, 559, 8, 27, 1, 28, 1, 28, 1, 28, 1, 28, 1, 28, 1, 28, 1, 28, 1, 28, 1, 28, 1, 28, 1, 29, 1, 29, 1, 29, 1, 29, 1, 29, 1, 29, 1, 29, 1, 29, 1, 29, 1, 29, 1, 29, 1, 29, 1, 30, 1, 30, 1, 30, 3, 30, 586, 8, 30, 1, 30, 1, 30, 1, 30, 1, 30, 3, 30, 592, 8, 30, 1, 30, 1, 30, 1, 30, 1, 30, 1, 30, 1, 30, 1, 30, 5, 30, 601, 8, 30, 10, 30, 12, 30, 604, 9, 30, 1, 30, 1, 30, 1, 31, 1, 31, 1, 31, 1, 31, 1, 31, 1, 31, 1, 31, 1, 31, 1, 31, 1, 32, 1, 32, 1, 32, 1, 32, 1, 32, 1, 32, 1, 32, 1, 32, 1, 32, 1, 32, 1, 32, 1, 32, 1, 32, 3, 32, 630, 8, 32, 1, 32, 1, 32, 1, 32, 1, 32, 1, 32, 1, 32, 1, 32, 1, 32, 1, 32, 1, 32, 1, 32, 1, 32, 1, 32, 1, 32, 1, 32, 1, 32, 1, 32, 1, 32, 1, 32, 1, 32, 1, 32, 1, 32, 1, 32, 1, 32, 1, 32, 3, 32, 657, 8, 32, 1, 33, 1, 33, 1, 33, 3, 33, 662, 8, 33, 1, 33, 1, 33, 1, 33, 1, 33, 1, 33, 1, 33, 1, 33, 1, 33, 1, 33, 3, 33, 673, 8, 33, 1, 33, 3, 33, 676, 8, 33, 1, 33, 1, 33, 1, 33, 3, 33, 681, 8, 33, 1, 33, 3, 33, 684, 8, 33, 1, 33, 1, 33, 1, 34, 1, 34, 1, 34, 3, 34, 691, 8, 34, 1, 34, 1, 34, 1, 34, 1, 34, 1, 34, 1, 34, 1, 34, 3, 34, 700, 8, 34, 1, 34, 3, 34, 703, 8, 34, 1, 34, 3, 34, 706, 8, 34, 1, 34, 1, 34, 1, 35, 1, 35, 1, 35, 1, 35, 1, 36, 1, 36, 1, 36, 1, 36, 1, 36, 1, 36, 1, 36, 1, 36, 1, 36, 3, 36, 723, 8, 36, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 5, 37, 730, 8, 37, 10, 37, 12, 37, 733, 9, 37, 1, 37, 1, 37, 1, 38, 1, 38, 1, 38, 1, 38, 1, 38, 1, 38, 1, 38, 1, 38, 1, 38, 3, 38, 746, 8, 38, 1, 38, 1, 38, 1, 39, 1, 39, 1, 39, 1, 40, 1, 40, 1, 41, 1, 41, 1, 41, 1, 41, 1, 41, 1, 41, 1, 41, 1, 41, 1, 41, 1, 41, 5, 41, 765, 8, 41, 10, 41, 12, 41, 768, 9, 41, 3, 41, 770, 8, 41, 1, 41, 3, 41, 773, 8, 41, 1, 42, 1, 42, 1, 42, 5, 42, 778, 8, 42, 10, 42, 12, 42, 781, 9, 42, 1, 43, 1, 43, 1, 43, 5, 43, 786, 8, 43, 10, 43, 12, 43, 789, 9, 43, 1, 43, 1, 43, 1, 44, 1, 44, 1, 44, 1, 44, 1, 44, 1, 44, 1, 44, 1, 44, 1, 44, 1, 44, 1, 44, 1, 44, 1, 44, 1, 44, 1, 44, 1, 44, 1, 44, 1, 44, 1, 44, 1, 44, 1, 44, 1, 44, 1, 44, 1, 44, 1, 44, 1, 44, 1, 44, 1, 44, 1, 44, 1, 44, 1, 44, 1, 44, 1, 44, 1, 44, 1, 44, 3, 44, 828, 8, 44, 1, 44, 3, 44, 831, 8, 44, 1, 44, 1, 44, 3, 44, 835, 8, 44, 1, 44, 1, 44, 1, 44, 1, 44, 1, 44, 1, 44, 1, 44, 1, 44, 1, 44, 1, 44, 1, 44, 1, 44, 1, 44, 1, 44, 1, 44, 1, 44, 1, 44, 1, 44, 1, 44, 1, 44, 3, 44, 857, 8, 44, 1, 44, 1, 44, 1, 44, 1, 44, 1, 44, 1, 44, 1, 44, 1, 44, 1, 44, 1, 44, 1, 44, 1, 44, 3, 44, 871, 8, 44, 1, 45, 1, 45, 1, 45, 1, 45, 5, 45, 877, 8, 45, 10, 45, 12, 45, 880, 9, 45, 1, 45, 1, 45, 1, 46, 1, 46, 1, 47, 1, 47, 1, 47, 1, 48, 1, 48, 3, 48, 891, 8, 48, 1, 49, 1, 49, 1, 49, 1, 49, 1, 49, 1, 49, 1, 49, 1, 49, 1, 49, 1, 49, 1, 49, 1, 49, 3, 49, 905, 8, 49, 1, 49, 1, 49, 1, 50, 1, 50, 1, 50, 1, 50, 1, 50, 1, 50, 3, 50, 915, 8, 50, 1, 51, 1, 51, 1, 51, 1, 51, 1, 51, 1, 51, 1, 51, 1, 51, 1, 51, 1, 52, 1, 52, 1, 52, 1, 52, 1, 52, 1, 52, 1, 52, 3, 52, 933, 8, 52, 1, 52, 1, 52, 3, 52, 937, 8, 52, 1, 52, 3, 52, 940, 8, 52, 1, 52, 1, 52, 3, 52, 944, 8, 52, 1, 52, 3, 52, 947, 8, 52, 1, 52, 1, 52, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 3, 53, 956, 8, 53, 1, 53, 1, 53, 3, 53, 960, 8, 53, 1, 53, 1, 53, 3, 53, 964, 8, 53, 1, 53, 1, 53, 5, 53, 968, 8, 53, 10, 53, 12, 53, 971, 9, 53, 1, 53, 1, 53, 1, 54, 1, 54, 1, 54, 1, 54, 1, 54, 1, 54, 1, 54, 3, 54, 982, 8, 54, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 56, 1, 56, 1, 56, 5, 56, 995, 8, 56, 10, 56, 12, 56, 998, 9, 56, 1, 56, 1, 56, 1, 56, 1, 57, 1, 57, 1, 57, 1, 57, 1, 57, 1, 57, 1, 57, 1, 57, 1, 57, 1, 57, 1, 57, 1, 57, 1, 57, 1, 57, 3, 57, 1017, 8, 57, 1, 58, 1, 58, 1, 58, 1, 58, 1, 58, 5, 58, 1024, 8, 58, 10, 58, 12, 58, 1027, 9, 58, 1, 58, 1, 58, 1, 59, 1, 59, 1, 59, 1, 59, 1, 59, 1, 59, 1, 59, 1, 60, 1, 60, 1, 60, 1, 60, 1, 60, 1, 60, 1, 60, 1, 60, 1, 60, 1, 60, 1, 60, 1, 60, 1, 60, 1, 60, 1, 61, 1, 61, 1, 61, 1, 61, 1, 61, 1, 61, 3, 61, 1058, 8, 61, 1, 61, 1, 61, 1, 62, 1, 62, 1, 62, 1, 62, 1, 63, 1, 63, 1, 63, 1, 63, 1, 63, 1, 63, 1, 63, 1, 63, 1, 63, 1, 63, 1, 63, 1, 63, 3, 63, 1078, 8, 63, 1, 64, 1, 64, 1, 64, 1, 64, 1, 64, 1, 64, 1, 64, 1, 64, 1, 64, 1, 64, 1, 64, 1, 64, 1, 64, 1, 64, 1, 64, 1, 64, 1, 64, 1, 64, 3, 64, 1098, 8, 64, 1, 64, 1, 64, 1, 64, 1, 64, 1, 64, 1, 64, 1, 64, 1, 64, 3, 64, 1108, 8, 64, 1, 64, 3, 64, 1111, 8, 64, 1, 64, 3, 64, 1114, 8, 64, 3, 64, 1116, 8, 64, 1, 65, 1, 65, 1, 65, 1, 66, 1, 66, 1, 67, 1, 67, 1, 68, 1, 68, 1, 68, 5, 68, 1128, 8, 68, 10, 68, 12, 68, 1131, 9, 68, 1, 68, 1, 68, 1, 69, 1, 69, 1, 69, 1, 69, 1, 69, 1, 69, 1, 69, 1, 69, 1, 69, 1, 69, 1, 69, 1, 69, 1, 69, 1, 69, 1, 69, 1, 69, 1, 69, 1, 69, 1, 69, 3, 69, 1154, 8, 69, 1, 69, 1, 69, 1, 69, 1, 69, 1, 69, 1, 69, 1, 69, 1, 69, 1, 69, 1, 69, 1, 69, 1, 69, 1, 69, 1, 69, 3, 69, 1170, 8, 69, 1, 69, 1, 69, 1, 69, 1, 69, 1, 69, 1, 69, 1, 69, 3, 69, 1179, 8, 69, 1, 69, 1, 69, 1, 69, 1, 69, 1, 69, 1, 69, 1, 69, 1, 69, 3, 69, 1189, 8, 69, 1, 69, 1, 69, 1, 69, 1, 69, 1, 69, 1, 69, 1, 69, 1, 69, 1, 69, 5, 69, 1200, 8, 69, 10, 69, 12, 69, 1203, 9, 69, 1, 69, 1, 69, 1, 69, 1, 69, 1, 69, 1, 69, 1, 69, 1, 69, 1, 69, 1, 69, 1, 69, 1, 69, 3, 69, 1217, 8, 69, 1, 69, 1, 69, 1, 69, 1, 69, 1, 69, 1, 69, 1, 69, 1, 69, 1, 69, 1, 69, 3, 69, 1229, 8, 69, 1, 69, 1, 69, 3, 69, 1233, 8, 69, 1, 70, 1, 70, 1, 70, 1, 70, 1, 70, 1, 70, 1, 70, 3, 70, 1242, 8, 70, 1, 70, 1, 70, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 3, 71, 1260, 8, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 5, 71, 1282, 8, 71, 10, 71, 12, 71, 1285, 9, 71, 1, 71, 1, 71, 1, 71, 3, 71, 1290, 8, 71, 3, 71, 1292, 8, 71, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 73, 1, 73, 1, 74, 1, 74, 1, 75, 1, 75, 1, 75, 1, 75, 1, 75, 1, 75, 1, 75, 1, 75, 3, 75, 1311, 8, 75, 1, 76, 1, 76, 1, 76, 1, 76, 5, 76, 1317, 8, 76, 10, 76, 12, 76, 1320, 9, 76, 3, 76, 1322, 8, 76, 1, 76, 1, 76, 1, 77, 1, 77, 1, 77, 1, 77, 1, 78, 1, 78, 1, 78, 1, 78, 5, 78, 1334, 8, 78, 10, 78, 12, 78, 1337, 9, 78, 3, 78, 1339, 8, 78, 1, 78, 1, 78, 1, 79, 1, 79, 1, 80, 1, 80, 1, 80, 0, 0, 81, 0, 2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 22, 24, 26, 28, 30, 32, 34, 36, 38, 40, 42, 44, 46, 48, 50, 52, 54, 56, 58, 60, 62, 64, 66, 68, 70, 72, 74, 76, 78, 80, 82, 84, 86, 88, 90, 92, 94, 96, 98, 100, 102, 104, 106, 108, 110, 112, 114, 116, 118, 120, 122, 124, 126, 128, 130, 132, 134, 136, 138, 140, 142, 144, 146, 148, 150, 152, 154, 156, 158, 160, 0, 9, 2, 0, 15, 15, 33, 33, 1, 0, 11, 12, 1, 0, 101, 105, 3, 0, 1, 1, 96, 100, 102, 103, 3, 0, 1, 1, 96, 97, 102, 103, 2, 0, 98, 100, 102, 103, 1, 0, 121, 128, 1, 0, 108, 111, 8, 0, 1, 1, 4, 8, 10, 33, 45, 45, 74, 74, 94, 95, 106, 106, 149, 149, 1455, 0, 174, 1, 0, 0, 0, 2, 176, 1, 0, 0, 0, 4, 186, 1, 0, 0, 0, 6, 190, 1, 0, 0, 0, 8, 215, 1, 0, 0, 0, 10, 227, 1, 0, 0, 0, 12, 229, 1, 0, 0, 0, 14, 236, 1, 0, 0, 0, 16, 247, 1, 0, 0, 0, 18, 249, 1, 0, 0, 0, 20, 262, 1, 0, 0, 0, 22, 294, 1, 0, 0, 0, 24, 324, 1, 0, 0, 0, 26, 326, 1, 0, 0, 0, 28, 330, 1, 0, 0, 0, 30, 348, 1, 0, 0, 0, 32, 350, 1, 0, 0, 0, 34, 363, 1, 0, 0, 0, 36, 365, 1, 0, 0, 0, 38, 378, 1, 0, 0, 0, 40, 399, 1, 0, 0, 0, 42, 449, 1, 0, 0, 0, 44, 452, 1, 0, 0, 0, 46, 477, 1, 0, 0, 0, 48, 514, 1, 0, 0, 0, 50, 525, 1, 0, 0, 0, 52, 530, 1, 0, 0, 0, 54, 558, 1, 0, 0, 0, 56, 560, 1, 0, 0, 0, 58, 570, 1, 0, 0, 0, 60, 582, 1, 0, 0, 0, 62, 607, 1, 0, 0, 0, 64, 656, 1, 0, 0, 0, 66, 658, 1, 0, 0, 0, 68, 687, 1, 0, 0, 0, 70, 709, 1, 0, 0, 0, 72, 722, 1, 0, 0, 0, 74, 724, 1, 0, 0, 0, 76, 736, 1, 0, 0, 0, 78, 749, 1, 0, 0, 0, 80, 752, 1, 0, 0, 0, 82, 772, 1, 0, 0, 0, 84, 774, 1, 0, 0, 0, 86, 782, 1, 0, 0, 0, 88, 870, 1, 0, 0, 0, 90, 872, 1, 0, 0, 0, 92, 883, 1, 0, 0, 0, 94, 885, 1, 0, 0, 0, 96, 890, 1, 0, 0, 0, 98, 892, 1, 0, 0, 0, 100, 914, 1, 0, 0, 0, 102, 916, 1, 0, 0, 0, 104, 925, 1, 0, 0, 0, 106, 950, 1, 0, 0, 0, 108, 981, 1, 0, 0, 0, 110, 983, 1, 0, 0, 0, 112, 991, 1, 0, 0, 0, 114, 1016, 1, 0, 0, 0, 116, 1018, 1, 0, 0, 0, 118, 1030, 1, 0, 0, 0, 120, 1037, 1, 0, 0, 0, 122, 1051, 1, 0, 0, 0, 124, 1061, 1, 0, 0, 0, 126, 1077, 1, 0, 0, 0, 128, 1115, 1, 0, 0, 0, 130, 1117, 1, 0, 0, 0, 132, 1120, 1, 0, 0, 0, 134, 1122, 1, 0, 0, 0, 136, 1124, 1, 0, 0, 0, 138, 1232, 1, 0, 0, 0, 140, 1234, 1, 0, 0, 0, 142, 1291, 1, 0, 0, 0, 144, 1293, 1, 0, 0, 0, 146, 1298, 1, 0, 0, 0, 148, 1300, 1, 0, 0, 0, 150, 1310, 1, 0, 0, 0, 152, 1312, 1, 0, 0, 0, 154, 1325, 1, 0, 0, 0, 156, 1329, 1, 0, 0, 0, 158, 1342, 1, 0, 0, 0, 160, 1344, 1, 0, 0, 0, 162, 163, 3, 6, 3, 0, 163, 164, 5, 0, 0, 1, 164, 175, 1, 0, 0, 0, 165, 166, 3, 20, 10, 0, 166, 167, 5, 0, 0, 1, 167, 175, 1, 0, 0, 0, 168, 169, 3, 52, 26, 0, 169, 170, 5, 0, 0, 1, 170, 175, 1, 0, 0, 0, 171, 172, 3, 2, 1, 0, 172, 173, 5, 0, 0, 1, 173, 175, 1, 0, 0, 0, 174, 162, 1, 0, 0, 0, 174, 165, 1, 0, 0, 0, 174, 168, 1, 0, 0, 0, 174, 171, 1, 0, 0, 0, 175, 1, 1, 0, 0, 0, 176, 177, 5, 40, 0, 0, 177, 181, 5, 137, 0, 0, 178, 180, 3, 8, 4, 0, 179, 178, 1, 0, 0, 0, 180, 183, 1, 0, 0, 0, 181, 179, 1, 0, 0, 0, 181, 182, 1, 0, 0, 0, 182, 184, 1, 0, 0, 0, 183, 181, 1, 0, 0, 0, 184, 185, 5, 138, 0, 0, 185, 3, 1, 0, 0, 0, 186, 187, 5, 41, 0, 0, 187, 188, 3, 160, 80, 0, 188, 189, 5, 134, 0, 0, 189, 5, 1, 0, 0, 0, 190, 191, 5, 9, 0, 0, 191, 192, 3, 158, 79, 0, 192, 193, 5, 84, 0, 0, 193, 194, 3, 160, 80, 0, 194, 195, 5, 77, 0, 0, 195, 196, 3, 160, 80, 0, 196, 197, 5, 76, 0, 0, 197, 198, 3, 160, 80, 0, 198, 202, 5, 137, 0, 0, 199, 201, 3, 8, 4, 0, 200, 199, 1, 0, 0, 0, 201, 204, 1, 0, 0, 0, 202, 200, 1, 0, 0, 0, 202, 203, 1, 0, 0, 0, 203, 205, 1, 0, 0, 0, 204, 202, 1, 0, 0, 0, 205, 206, 5, 138, 0, 0, 206, 7, 1, 0, 0, 0, 207, 216, 3, 4, 2, 0, 208, 216, 3, 18, 9, 0, 209, 216, 3, 10, 5, 0, 210, 216, 3, 94, 47, 0, 211, 216, 3, 106, 53, 0, 212, 216, 3, 140, 70, 0, 213, 216, 3, 58, 29, 0, 214, 216, 3, 32, 16, 0, 215, 207, 1, 0, 0, 0, 215, 208, 1, 0, 0, 0, 215, 209, 1, 0, 0, 0, 215, 210, 1, 0, 0, 0, 215, 211, 1, 0, 0, 0, 215, 212, 1, 0, 0, 0, 215, 213, 1, 0, 0, 0, 215, 214, 1, 0, 0, 0, 216, 9, 1, 0, 0, 0, 217, 218, 5, 41, 0, 0, 218, 219, 5, 44, 0, 0, 219, 220, 3, 158, 79, 0, 220, 221, 5, 134, 0, 0, 221, 228, 1, 0, 0, 0, 222, 223, 5, 41, 0, 0, 223, 224, 5, 46, 0, 0, 224, 225, 3, 158, 79, 0, 225, 226, 5, 134, 0, 0, 226, 228, 1, 0, 0, 0, 227, 217, 1, 0, 0, 0, 227, 222, 1, 0, 0, 0, 228, 11, 1, 0, 0, 0, 229, 230, 5, 42, 0, 0, 230, 231, 5, 43, 0, 0, 231, 232, 3, 158, 79, 0, 232, 233, 5, 84, 0, 0, 233, 234, 3, 160, 80, 0, 234, 235, 5, 134, 0, 0, 235, 13, 1, 0, 0, 0, 236, 237, 5, 42, 0, 0, 237, 238, 5, 44, 0, 0, 238, 239, 3, 158, 79, 0, 239, 240, 5, 77, 0, 0, 240, 241, 3, 160, 80, 0, 241, 242, 5, 134, 0, 0, 242, 15, 1, 0, 0, 0, 243, 248, 3, 10, 5, 0, 244, 248, 3, 12, 6, 0, 245, 248, 3, 14, 7, 0, 246, 248, 3, 32, 16, 0, 247, 243, 1, 0, 0, 0, 247, 244, 1, 0, 0, 0, 247, 245, 1, 0, 0, 0, 247, 246, 1, 0, 0, 0, 248, 17, 1, 0, 0, 0, 249, 250, 5, 43, 0, 0, 250, 251, 3, 158, 79, 0, 251, 252, 5, 84, 0, 0, 252, 255, 3, 160, 80, 0, 253, 254, 5, 85, 0, 0, 254, 256, 3, 160, 80, 0, 255, 253, 1, 0, 0, 0, 255, 256, 1, 0, 0, 0, 256, 257, 1, 0, 0, 0, 257, 258, 5, 134, 0, 0, 258, 19, 1, 0, 0, 0, 259, 261, 3, 16, 8, 0, 260, 259, 1, 0, 0, 0, 261, 264, 1, 0, 0, 0, 262, 260, 1, 0, 0, 0, 262, 263, 1, 0, 0, 0, 263, 265, 1, 0, 0, 0, 264, 262, 1, 0, 0, 0, 265, 266, 5, 44, 0, 0, 266, 268, 3, 158, 79, 0, 267, 269, 3, 22, 11, 0, 268, 267, 1, 0, 0, 0, 268, 269, 1, 0, 0, 0, 269, 270, 1, 0, 0, 0, 270, 271, 5, 84, 0, 0, 271, 272, 3, 160, 80, 0, 272, 273, 5, 77, 0, 0, 273, 283, 3, 160, 80, 0, 274, 275, 5, 89, 0, 0, 275, 280, 3, 26, 13, 0, 276, 277, 5, 135, 0, 0, 277, 279, 3, 26, 13, 0, 278, 276, 1, 0, 0, 0, 279, 282, 1, 0, 0, 0, 280, 278, 1, 0, 0, 0, 280, 281, 1, 0, 0, 0, 281, 284, 1, 0, 0, 0, 282, 280, 1, 0, 0, 0, 283, 274, 1, 0, 0, 0, 283, 284, 1, 0, 0, 0, 284, 285, 1, 0, 0, 0, 285, 289, 5, 137, 0, 0, 286, 288, 3, 34, 17, 0, 287, 286, 1, 0, 0, 0, 288, 291, 1, 0, 0, 0, 289, 287, 1, 0, 0, 0, 289, 290, 1, 0, 0, 0, 290, 292, 1, 0, 0, 0, 291, 289, 1, 0, 0, 0, 292, 293, 5, 138, 0, 0, 293, 21, 1, 0, 0, 0, 294, 295, 5, 143, 0, 0, 295, 300, 3, 24, 12, 0, 296, 297, 5, 135, 0, 0, 297, 299, 3, 24, 12, 0, 298, 296, 1, 0, 0, 0, 299, 302, 1, 0, 0, 0, 300, 298, 1, 0, 0, 0, 300, 301, 1, 0, 0, 0, 301, 303, 1, 0, 0, 0, 302, 300, 1, 0, 0, 0, 303, 304, 5, 144, 0, 0, 304, 23, 1, 0, 0, 0, 305, 306, 5, 47, 0, 0, 306, 309, 3, 158, 79, 0, 307, 308, 5, 133, 0, 0, 308, 310, 5, 37, 0, 0, 309, 307, 1, 0, 0, 0, 309, 310, 1, 0, 0, 0, 310, 325, 1, 0, 0, 0, 311, 312, 5, 36, 0, 0, 312, 322, 3, 158, 79, 0, 313, 314, 5, 38, 0, 0, 314, 319, 3, 26, 13, 0, 315, 316, 5, 145, 0, 0, 316, 318, 3, 26, 13, 0, 317, 315, 1, 0, 0, 0, 318, 321, 1, 0, 0, 0, 319, 317, 1, 0, 0, 0, 319, 320, 1, 0, 0, 0, 320, 323, 1, 0, 0, 0, 321, 319, 1, 0, 0, 0, 322, 313, 1, 0, 0, 0, 322, 323, 1, 0, 0, 0, 323, 325, 1, 0, 0, 0, 324, 305, 1, 0, 0, 0, 324, 311, 1, 0, 0, 0, 325, 25, 1, 0, 0, 0, 326, 328, 3, 158, 79, 0, 327, 329, 3, 28, 14, 0, 328, 327, 1, 0, 0, 0, 328, 329, 1, 0, 0, 0, 329, 27, 1, 0, 0, 0, 330, 331, 5, 143, 0, 0, 331, 336, 3, 30, 15, 0, 332, 333, 5, 135, 0, 0, 333, 335, 3, 30, 15, 0, 334, 332, 1, 0, 0, 0, 335, 338, 1, 0, 0, 0, 336, 334, 1, 0, 0, 0, 336, 337, 1, 0, 0, 0, 337, 339, 1, 0, 0, 0, 338, 336, 1, 0, 0, 0, 339, 340, 5, 144, 0, 0, 340, 29, 1, 0, 0, 0, 341, 342, 5, 43, 0, 0, 342, 349, 3, 158, 79, 0, 343, 344, 5, 44, 0, 0, 344, 349, 3, 26, 13, 0, 345, 346, 5, 36, 0, 0, 346, 349, 3, 158, 79, 0, 347, 349, 3, 142, 71, 0, 348, 341, 1, 0, 0, 0, 348, 343, 1, 0, 0, 0, 348, 345, 1, 0, 0, 0, 348, 347, 1, 0, 0, 0, 349, 31, 1, 0, 0, 0, 350, 351, 5, 35, 0, 0, 351, 353, 3, 158, 79, 0, 352, 354, 3, 22, 11, 0, 353, 352, 1, 0, 0, 0, 353, 354, 1, 0, 0, 0, 354, 355, 1, 0, 0, 0, 355, 356, 5, 146, 0, 0, 356, 357, 3, 142, 71, 0, 357, 358, 5, 134, 0, 0, 358, 33, 1, 0, 0, 0, 359, 364, 3, 40, 20, 0, 360, 364, 3, 44, 22, 0, 361, 364, 3, 38, 19, 0, 362, 364, 3, 36, 18, 0, 363, 359, 1, 0, 0, 0, 363, 360, 1, 0, 0, 0, 363, 361, 1, 0, 0, 0, 363, 362, 1, 0, 0, 0, 364, 35, 1, 0, 0, 0, 365, 366, 5, 2, 0, 0, 366, 367, 3, 158, 79, 0, 367, 368, 5, 84, 0, 0, 368, 369, 3, 160, 80, 0, 369, 370, 5, 3, 0, 0, 370, 373, 3, 160, 80, 0, 371, 372, 5, 5, 0, 0, 372, 374, 3, 50, 25, 0, 373, 371, 1, 0, 0, 0, 373, 374, 1, 0, 0, 0, 374, 375, 1, 0, 0, 0, 375, 376, 5, 134, 0, 0, 376, 37, 1, 0, 0, 0, 377, 379, 5, 57, 0, 0, 378, 377, 1, 0, 0, 0, 378, 379, 1, 0, 0, 0, 379, 380, 1, 0, 0, 0, 380, 381, 5, 49, 0, 0, 381, 382, 3, 158, 79, 0, 382, 383, 5, 84, 0, 0, 383, 384, 3, 160, 80, 0, 384, 385, 5, 133, 0, 0, 385, 386, 3, 142, 71, 0, 386, 387, 5, 132, 0, 0, 387, 388, 3, 142, 71, 0, 388, 389, 5, 137, 0, 0, 389, 390, 5, 101, 0, 0, 390, 391, 5, 84, 0, 0, 391, 393, 3, 160, 80, 0, 392, 394, 3, 72, 36, 0, 393, 392, 1, 0, 0, 0, 393, 394, 1, 0, 0, 0, 394, 395, 1, 0, 0, 0, 395, 396, 5, 134, 0, 0, 396, 397, 5, 138, 0, 0, 397, 39, 1, 0, 0, 0, 398, 400, 3, 46, 23, 0, 399, 398, 1, 0, 0, 0, 399, 400, 1, 0, 0, 0, 400, 401, 1, 0, 0, 0, 401, 402, 5, 47, 0, 0, 402, 403, 3, 158, 79, 0, 403, 404, 5, 84, 0, 0, 404, 405, 3, 160, 80, 0, 405, 406, 5, 133, 0, 0, 406, 407, 3, 142, 71, 0, 407, 411, 5, 137, 0, 0, 408, 410, 3, 42, 21, 0, 409, 408, 1, 0, 0, 0, 410, 413, 1, 0, 0, 0, 411, 409, 1, 0, 0, 0, 411, 412, 1, 0, 0, 0, 412, 414, 1, 0, 0, 0, 413, 411, 1, 0, 0, 0, 414, 415, 5, 138, 0, 0, 415, 41, 1, 0, 0, 0, 416, 417, 5, 91, 0, 0, 417, 418, 5, 84, 0, 0, 418, 420, 3, 160, 80, 0, 419, 421, 3, 72, 36, 0, 420, 419, 1, 0, 0, 0, 420, 421, 1, 0, 0, 0, 421, 422, 1, 0, 0, 0, 422, 423, 5, 134, 0, 0, 423, 450, 1, 0, 0, 0, 424, 425, 5, 92, 0, 0, 425, 426, 5, 84, 0, 0, 426, 428, 3, 160, 80, 0, 427, 429, 3, 72, 36, 0, 428, 427, 1, 0, 0, 0, 428, 429, 1, 0, 0, 0, 429, 430, 1, 0, 0, 0, 430, 431, 5, 134, 0, 0, 431, 450, 1, 0, 0, 0, 432, 433, 5, 1, 0, 0, 433, 434, 5, 84, 0, 0, 434, 436, 3, 160, 80, 0, 435, 437, 3, 72, 36, 0, 436, 435, 1, 0, 0, 0, 436, 437, 1, 0, 0, 0, 437, 438, 1, 0, 0, 0, 438, 439, 5, 134, 0, 0, 439, 450, 1, 0, 0, 0, 440, 441, 5, 93, 0, 0, 441, 442, 5, 94, 0, 0, 442, 443, 5, 84, 0, 0, 443, 444, 3, 160, 80, 0, 444, 445, 5, 95, 0, 0, 445, 446, 5, 84, 0, 0, 446, 447, 3, 160, 80, 0, 447, 448, 5, 134, 0, 0, 448, 450, 1, 0, 0, 0, 449, 416, 1, 0, 0, 0, 449, 424, 1, 0, 0, 0, 449, 432, 1, 0, 0, 0, 449, 440, 1, 0, 0, 0, 450, 43, 1, 0, 0, 0, 451, 453, 3, 46, 23, 0, 452, 451, 1, 0, 0, 0, 452, 453, 1, 0, 0, 0, 453, 454, 1, 0, 0, 0, 454, 455, 5, 48, 0, 0, 455, 456, 3, 158, 79, 0, 456, 457, 5, 84, 0, 0, 457, 458, 3, 160, 80, 0, 458, 459, 5, 133, 0, 0, 459, 460, 3, 148, 74, 0, 460, 462, 3, 50, 25, 0, 461, 463, 5, 112, 0, 0, 462, 461, 1, 0, 0, 0, 462, 463, 1, 0, 0, 0, 463, 466, 1, 0, 0, 0, 464, 465, 5, 82, 0, 0, 465, 467, 3, 160, 80, 0, 466, 464, 1, 0, 0, 0, 466, 467, 1, 0, 0, 0, 467, 468, 1, 0, 0, 0, 468, 472, 5, 137, 0, 0, 469, 471, 3, 48, 24, 0, 470, 469, 1, 0, 0, 0, 471, 474, 1, 0, 0, 0, 472, 470, 1, 0, 0, 0, 472, 473, 1, 0, 0, 0, 473, 475, 1, 0, 0, 0, 474, 472, 1, 0, 0, 0, 475, 476, 5, 138, 0, 0, 476, 45, 1, 0, 0, 0, 477, 479, 5, 32, 0, 0, 478, 480, 7, 0, 0, 0, 479, 478, 1, 0, 0, 0, 479, 480, 1, 0, 0, 0, 480, 47, 1, 0, 0, 0, 481, 482, 5, 98, 0, 0, 482, 483, 5, 84, 0, 0, 483, 485, 3, 160, 80, 0, 484, 486, 3, 72, 36, 0, 485, 484, 1, 0, 0, 0, 485, 486, 1, 0, 0, 0, 486, 487, 1, 0, 0, 0, 487, 488, 5, 134, 0, 0, 488, 515, 1, 0, 0, 0, 489, 490, 5, 99, 0, 0, 490, 491, 5, 84, 0, 0, 491, 493, 3, 160, 80, 0, 492, 494, 3, 72, 36, 0, 493, 492, 1, 0, 0, 0, 493, 494, 1, 0, 0, 0, 494, 495, 1, 0, 0, 0, 495, 496, 5, 134, 0, 0, 496, 515, 1, 0, 0, 0, 497, 498, 5, 100, 0, 0, 498, 499, 5, 84, 0, 0, 499, 501, 3, 160, 80, 0, 500, 502, 3, 72, 36, 0, 501, 500, 1, 0, 0, 0, 501, 502, 1, 0, 0, 0, 502, 503, 1, 0, 0, 0, 503, 504, 5, 134, 0, 0, 504, 515, 1, 0, 0, 0, 505, 506, 5, 93, 0, 0, 506, 507, 5, 94, 0, 0, 507, 508, 5, 84, 0, 0, 508, 509, 3, 160, 80, 0, 509, 510, 5, 95, 0, 0, 510, 511, 5, 84, 0, 0, 511, 512, 3, 160, 80, 0, 512, 513, 5, 134, 0, 0, 513, 515, 1, 0, 0, 0, 514, 481, 1, 0, 0, 0, 514, 489, 1, 0, 0, 0, 514, 497, 1, 0, 0, 0, 514, 505, 1, 0, 0, 0, 515, 49, 1, 0, 0, 0, 516, 517, 5, 43, 0, 0, 517, 526, 3, 158, 79, 0, 518, 519, 5, 44, 0, 0, 519, 521, 3, 158, 79, 0, 520, 522, 3, 28, 14, 0, 521, 520, 1, 0, 0, 0, 521, 522, 1, 0, 0, 0, 522, 526, 1, 0, 0, 0, 523, 524, 5, 36, 0, 0, 524, 526, 3, 158, 79, 0, 525, 516, 1, 0, 0, 0, 525, 518, 1, 0, 0, 0, 525, 523, 1, 0, 0, 0, 526, 51, 1, 0, 0, 0, 527, 529, 3, 16, 8, 0, 528, 527, 1, 0, 0, 0, 529, 532, 1, 0, 0, 0, 530, 528, 1, 0, 0, 0, 530, 531, 1, 0, 0, 0, 531, 533, 1, 0, 0, 0, 532, 530, 1, 0, 0, 0, 533, 534, 5, 46, 0, 0, 534, 535, 3, 158, 79, 0, 535, 536, 5, 84, 0, 0, 536, 537, 3, 160, 80, 0, 537, 538, 5, 77, 0, 0, 538, 541, 3, 160, 80, 0, 539, 540, 5, 78, 0, 0, 540, 542, 5, 147, 0, 0, 541, 539, 1, 0, 0, 0, 541, 542, 1, 0, 0, 0, 542, 543, 1, 0, 0, 0, 543, 547, 5, 137, 0, 0, 544, 546, 3, 54, 27, 0, 545, 544, 1, 0, 0, 0, 546, 549, 1, 0, 0, 0, 547, 545, 1, 0, 0, 0, 547, 548, 1, 0, 0, 0, 548, 550, 1, 0, 0, 0, 549, 547, 1, 0, 0, 0, 550, 551, 5, 138, 0, 0, 551, 53, 1, 0, 0, 0, 552, 559, 3, 66, 33, 0, 553, 559, 3, 68, 34, 0, 554, 559, 3, 76, 38, 0, 555, 559, 3, 60, 30, 0, 556, 559, 3, 62, 31, 0, 557, 559, 3, 56, 28, 0, 558, 552, 1, 0, 0, 0, 558, 553, 1, 0, 0, 0, 558, 554, 1, 0, 0, 0, 558, 555, 1, 0, 0, 0, 558, 556, 1, 0, 0, 0, 558, 557, 1, 0, 0, 0, 559, 55, 1, 0, 0, 0, 560, 561, 5, 2, 0, 0, 561, 562, 3, 158, 79, 0, 562, 563, 5, 84, 0, 0, 563, 564, 3, 160, 80, 0, 564, 565, 5, 38, 0, 0, 565, 566, 3, 26, 13, 0, 566, 567, 5, 136, 0, 0, 567, 568, 3, 158, 79, 0, 568, 569, 5, 134, 0, 0, 569, 57, 1, 0, 0, 0, 570, 571, 5, 4, 0, 0, 571, 572, 3, 158, 79, 0, 572, 573, 5, 84, 0, 0, 573, 574, 3, 160, 80, 0, 574, 575, 5, 6, 0, 0, 575, 576, 3, 26, 13, 0, 576, 577, 5, 65, 0, 0, 577, 578, 3, 158, 79, 0, 578, 579, 5, 136, 0, 0, 579, 580, 3, 158, 79, 0, 580, 581, 5, 134, 0, 0, 581, 59, 1, 0, 0, 0, 582, 583, 5, 22, 0, 0, 583, 585, 3, 158, 79, 0, 584, 586, 3, 22, 11, 0, 585, 584, 1, 0, 0, 0, 585, 586, 1, 0, 0, 0, 586, 587, 1, 0, 0, 0, 587, 588, 5, 84, 0, 0, 588, 589, 3, 160, 80, 0, 589, 591, 5, 25, 0, 0, 590, 592, 5, 9, 0, 0, 591, 590, 1, 0, 0, 0, 591, 592, 1, 0, 0, 0, 592, 593, 1, 0, 0, 0, 593, 594, 3, 26, 13, 0, 594, 595, 5, 26, 0, 0, 595, 596, 3, 160, 80, 0, 596, 597, 5, 49, 0, 0, 597, 598, 3, 160, 80, 0, 598, 602, 5, 137, 0, 0, 599, 601, 3, 64, 32, 0, 600, 599, 1, 0, 0, 0, 601, 604, 1, 0, 0, 0, 602, 600, 1, 0, 0, 0, 602, 603, 1, 0, 0, 0, 603, 605, 1, 0, 0, 0, 604, 602, 1, 0, 0, 0, 605, 606, 5, 138, 0, 0, 606, 61, 1, 0, 0, 0, 607, 608, 5, 22, 0, 0, 608, 609, 3, 158, 79, 0, 609, 610, 5, 84, 0, 0, 610, 611, 3, 160, 80, 0, 611, 612, 5, 24, 0, 0, 612, 613, 3, 158, 79, 0, 613, 614, 3, 28, 14, 0, 614, 615, 5, 134, 0, 0, 615, 63, 1, 0, 0, 0, 616, 617, 5, 16, 0, 0, 617, 657, 5, 134, 0, 0, 618, 619, 5, 17, 0, 0, 619, 620, 5, 18, 0, 0, 620, 621, 3, 158, 79, 0, 621, 622, 5, 134, 0, 0, 622, 657, 1, 0, 0, 0, 623, 624, 5, 27, 0, 0, 624, 625, 3, 160, 80, 0, 625, 626, 5, 134, 0, 0, 626, 657, 1, 0, 0, 0, 627, 629, 5, 28, 0, 0, 628, 630, 5, 36, 0, 0, 629, 628, 1, 0, 0, 0, 629, 630, 1, 0, 0, 0, 630, 631, 1, 0, 0, 0, 631, 632, 3, 158, 79, 0, 632, 633, 5, 55, 0, 0, 633, 634, 3, 26, 13, 0, 634, 635, 5, 134, 0, 0, 635, 657, 1, 0, 0, 0, 636, 637, 5, 29, 0, 0, 637, 638, 3, 158, 79, 0, 638, 639, 5, 147, 0, 0, 639, 640, 5, 134, 0, 0, 640, 657, 1, 0, 0, 0, 641, 642, 5, 30, 0, 0, 642, 643, 3, 26, 13, 0, 643, 644, 5, 136, 0, 0, 644, 645, 3, 158, 79, 0, 645, 646, 3, 158, 79, 0, 646, 647, 3, 160, 80, 0, 647, 648, 5, 134, 0, 0, 648, 657, 1, 0, 0, 0, 649, 650, 5, 93, 0, 0, 650, 657, 5, 134, 0, 0, 651, 652, 5, 31, 0, 0, 652, 653, 5, 147, 0, 0, 653, 654, 3, 160, 80, 0, 654, 655, 5, 134, 0, 0, 655, 657, 1, 0, 0, 0, 656, 616, 1, 0, 0, 0, 656, 618, 1, 0, 0, 0, 656, 623, 1, 0, 0, 0, 656, 627, 1, 0, 0, 0, 656, 636, 1, 0, 0, 0, 656, 641, 1, 0, 0, 0, 656, 649, 1, 0, 0, 0, 656, 651, 1, 0, 0, 0, 657, 65, 1, 0, 0, 0, 658, 659, 5, 49, 0, 0, 659, 661, 3, 158, 79, 0, 660, 662, 3, 22, 11, 0, 661, 660, 1, 0, 0, 0, 661, 662, 1, 0, 0, 0, 662, 663, 1, 0, 0, 0, 663, 664, 5, 84, 0, 0, 664, 665, 3, 160, 80, 0, 665, 666, 5, 133, 0, 0, 666, 667, 3, 142, 71, 0, 667, 668, 5, 132, 0, 0, 668, 669, 3, 142, 71, 0, 669, 670, 5, 86, 0, 0, 670, 672, 3, 80, 40, 0, 671, 673, 3, 72, 36, 0, 672, 671, 1, 0, 0, 0, 672, 673, 1, 0, 0, 0, 673, 675, 1, 0, 0, 0, 674, 676, 3, 78, 39, 0, 675, 674, 1, 0, 0, 0, 675, 676, 1, 0, 0, 0, 676, 677, 1, 0, 0, 0, 677, 678, 5, 88, 0, 0, 678, 680, 3, 82, 41, 0, 679, 681, 3, 86, 43, 0, 680, 679, 1, 0, 0, 0, 680, 681, 1, 0, 0, 0, 681, 683, 1, 0, 0, 0, 682, 684, 3, 70, 35, 0, 683, 682, 1, 0, 0, 0, 683, 684, 1, 0, 0, 0, 684, 685, 1, 0, 0, 0, 685, 686, 5, 134, 0, 0, 686, 67, 1, 0, 0, 0, 687, 688, 5, 50, 0, 0, 688, 690, 3, 158, 79, 0, 689, 691, 3, 22, 11, 0, 690, 689, 1, 0, 0, 0, 690, 691, 1, 0, 0, 0, 691, 692, 1, 0, 0, 0, 692, 693, 5, 84, 0, 0, 693, 694, 3, 160, 80, 0, 694, 695, 5, 133, 0, 0, 695, 696, 3, 142, 71, 0, 696, 697, 5, 132, 0, 0, 697, 699, 3, 142, 71, 0, 698, 700, 3, 72, 36, 0, 699, 698, 1, 0, 0, 0, 699, 700, 1, 0, 0, 0, 700, 702, 1, 0, 0, 0, 701, 703, 3, 86, 43, 0, 702, 701, 1, 0, 0, 0, 702, 703, 1, 0, 0, 0, 703, 705, 1, 0, 0, 0, 704, 706, 3, 70, 35, 0, 705, 704, 1, 0, 0, 0, 705, 706, 1, 0, 0, 0, 706, 707, 1, 0, 0, 0, 707, 708, 5, 134, 0, 0, 708, 69, 1, 0, 0, 0, 709, 710, 5, 66, 0, 0, 710, 711, 5, 65, 0, 0, 711, 712, 3, 158, 79, 0, 712, 71, 1, 0, 0, 0, 713, 714, 5, 10, 0, 0, 714, 723, 5, 13, 0, 0, 715, 716, 5, 10, 0, 0, 716, 717, 7, 1, 0, 0, 717, 718, 5, 14, 0, 0, 718, 719, 5, 139, 0, 0, 719, 720, 3, 84, 42, 0, 720, 721, 5, 140, 0, 0, 721, 723, 1, 0, 0, 0, 722, 713, 1, 0, 0, 0, 722, 715, 1, 0, 0, 0, 723, 73, 1, 0, 0, 0, 724, 725, 5, 65, 0, 0, 725, 726, 5, 139, 0, 0, 726, 731, 3, 124, 62, 0, 727, 728, 5, 135, 0, 0, 728, 730, 3, 124, 62, 0, 729, 727, 1, 0, 0, 0, 730, 733, 1, 0, 0, 0, 731, 729, 1, 0, 0, 0, 731, 732, 1, 0, 0, 0, 732, 734, 1, 0, 0, 0, 733, 731, 1, 0, 0, 0, 734, 735, 5, 140, 0, 0, 735, 75, 1, 0, 0, 0, 736, 737, 5, 51, 0, 0, 737, 738, 3, 158, 79, 0, 738, 739, 5, 84, 0, 0, 739, 740, 3, 160, 80, 0, 740, 741, 5, 52, 0, 0, 741, 742, 3, 158, 79, 0, 742, 743, 5, 133, 0, 0, 743, 745, 3, 142, 71, 0, 744, 746, 3, 86, 43, 0, 745, 744, 1, 0, 0, 0, 745, 746, 1, 0, 0, 0, 746, 747, 1, 0, 0, 0, 747, 748, 5, 134, 0, 0, 748, 77, 1, 0, 0, 0, 749, 750, 5, 87, 0, 0, 750, 751, 3, 142, 71, 0, 751, 79, 1, 0, 0, 0, 752, 753, 7, 2, 0, 0, 753, 81, 1, 0, 0, 0, 754, 773, 5, 90, 0, 0, 755, 756, 5, 43, 0, 0, 756, 773, 3, 158, 79, 0, 757, 758, 5, 36, 0, 0, 758, 773, 3, 158, 79, 0, 759, 760, 5, 45, 0, 0, 760, 769, 5, 139, 0, 0, 761, 766, 3, 26, 13, 0, 762, 763, 5, 135, 0, 0, 763, 765, 3, 26, 13, 0, 764, 762, 1, 0, 0, 0, 765, 768, 1, 0, 0, 0, 766, 764, 1, 0, 0, 0, 766, 767, 1, 0, 0, 0, 767, 770, 1, 0, 0, 0, 768, 766, 1, 0, 0, 0, 769, 761, 1, 0, 0, 0, 769, 770, 1, 0, 0, 0, 770, 771, 1, 0, 0, 0, 771, 773, 5, 140, 0, 0, 772, 754, 1, 0, 0, 0, 772, 755, 1, 0, 0, 0, 772, 757, 1, 0, 0, 0, 772, 759, 1, 0, 0, 0, 773, 83, 1, 0, 0, 0, 774, 779, 3, 158, 79, 0, 775, 776, 5, 135, 0, 0, 776, 778, 3, 158, 79, 0, 777, 775, 1, 0, 0, 0, 778, 781, 1, 0, 0, 0, 779, 777, 1, 0, 0, 0, 779, 780, 1, 0, 0, 0, 780, 85, 1, 0, 0, 0, 781, 779, 1, 0, 0, 0, 782, 783, 5, 89, 0, 0, 783, 787, 5, 137, 0, 0, 784, 786, 3, 88, 44, 0, 785, 784, 1, 0, 0, 0, 786, 789, 1, 0, 0, 0, 787, 785, 1, 0, 0, 0, 787, 788, 1, 0, 0, 0, 788, 790, 1, 0, 0, 0, 789, 787, 1, 0, 0, 0, 790, 791, 5, 138, 0, 0, 791, 87, 1, 0, 0, 0, 792, 793, 5, 23, 0, 0, 793, 794, 3, 158, 79, 0, 794, 795, 5, 84, 0, 0, 795, 796, 3, 160, 80, 0, 796, 797, 5, 139, 0, 0, 797, 798, 3, 84, 42, 0, 798, 799, 5, 140, 0, 0, 799, 800, 5, 134, 0, 0, 800, 871, 1, 0, 0, 0, 801, 802, 5, 61, 0, 0, 802, 803, 3, 158, 79, 0, 803, 804, 5, 84, 0, 0, 804, 805, 3, 160, 80, 0, 805, 806, 5, 133, 0, 0, 806, 807, 3, 142, 71, 0, 807, 808, 3, 90, 45, 0, 808, 809, 5, 134, 0, 0, 809, 871, 1, 0, 0, 0, 810, 811, 5, 62, 0, 0, 811, 812, 3, 158, 79, 0, 812, 813, 5, 84, 0, 0, 813, 814, 3, 160, 80, 0, 814, 815, 5, 133, 0, 0, 815, 816, 3, 148, 74, 0, 816, 817, 3, 50, 25, 0, 817, 818, 3, 90, 45, 0, 818, 819, 5, 134, 0, 0, 819, 871, 1, 0, 0, 0, 820, 821, 5, 44, 0, 0, 821, 822, 3, 158, 79, 0, 822, 823, 5, 84, 0, 0, 823, 824, 3, 160, 80, 0, 824, 825, 5, 133, 0, 0, 825, 827, 3, 158, 79, 0, 826, 828, 3, 28, 14, 0, 827, 826, 1, 0, 0, 0, 827, 828, 1, 0, 0, 0, 828, 830, 1, 0, 0, 0, 829, 831, 3, 74, 37, 0, 830, 829, 1, 0, 0, 0, 830, 831, 1, 0, 0, 0, 831, 834, 1, 0, 0, 0, 832, 833, 5, 18, 0, 0, 833, 835, 5, 53, 0, 0, 834, 832, 1, 0, 0, 0, 834, 835, 1, 0, 0, 0, 835, 836, 1, 0, 0, 0, 836, 837, 5, 134, 0, 0, 837, 871, 1, 0, 0, 0, 838, 839, 5, 7, 0, 0, 839, 840, 3, 158, 79, 0, 840, 841, 5, 84, 0, 0, 841, 842, 3, 160, 80, 0, 842, 843, 5, 133, 0, 0, 843, 844, 3, 158, 79, 0, 844, 845, 5, 53, 0, 0, 845, 846, 3, 142, 71, 0, 846, 847, 5, 134, 0, 0, 847, 871, 1, 0, 0, 0, 848, 849, 5, 51, 0, 0, 849, 850, 3, 158, 79, 0, 850, 851, 5, 84, 0, 0, 851, 852, 3, 160, 80, 0, 852, 853, 5, 133, 0, 0, 853, 856, 3, 158, 79, 0, 854, 855, 5, 53, 0, 0, 855, 857, 3, 142, 71, 0, 856, 854, 1, 0, 0, 0, 856, 857, 1, 0, 0, 0, 857, 858, 1, 0, 0, 0, 858, 859, 5, 134, 0, 0, 859, 871, 1, 0, 0, 0, 860, 861, 5, 22, 0, 0, 861, 862, 3, 158, 79, 0, 862, 863, 5, 84, 0, 0, 863, 864, 3, 160, 80, 0, 864, 865, 5, 133, 0, 0, 865, 866, 3, 158, 79, 0, 866, 867, 5, 136, 0, 0, 867, 868, 3, 158, 79, 0, 868, 869, 5, 134, 0, 0, 869, 871, 1, 0, 0, 0, 870, 792, 1, 0, 0, 0, 870, 801, 1, 0, 0, 0, 870, 810, 1, 0, 0, 0, 870, 820, 1, 0, 0, 0, 870, 838, 1, 0, 0, 0, 870, 848, 1, 0, 0, 0, 870, 860, 1, 0, 0, 0, 871, 89, 1, 0, 0, 0, 872, 873, 5, 139, 0, 0, 873, 878, 3, 92, 46, 0, 874, 875, 5, 135, 0, 0, 875, 877, 3, 92, 46, 0, 876, 874, 1, 0, 0, 0, 877, 880, 1, 0, 0, 0, 878, 876, 1, 0, 0, 0, 878, 879, 1, 0, 0, 0, 879, 881, 1, 0, 0, 0, 880, 878, 1, 0, 0, 0, 881, 882, 5, 140, 0, 0, 882, 91, 1, 0, 0, 0, 883, 884, 7, 3, 0, 0, 884, 93, 1, 0, 0, 0, 885, 886, 5, 60, 0, 0, 886, 887, 3, 96, 48, 0, 887, 95, 1, 0, 0, 0, 888, 891, 3, 98, 49, 0, 889, 891, 3, 102, 51, 0, 890, 888, 1, 0, 0, 0, 890, 889, 1, 0, 0, 0, 891, 97, 1, 0, 0, 0, 892, 893, 5, 61, 0, 0, 893, 894, 3, 158, 79, 0, 894, 895, 5, 84, 0, 0, 895, 896, 3, 160, 80, 0, 896, 897, 5, 71, 0, 0, 897, 898, 3, 158, 79, 0, 898, 899, 5, 133, 0, 0, 899, 900, 3, 142, 71, 0, 900, 901, 5, 72, 0, 0, 901, 904, 3, 100, 50, 0, 902, 903, 5, 73, 0, 0, 903, 905, 3, 150, 75, 0, 904, 902, 1, 0, 0, 0, 904, 905, 1, 0, 0, 0, 905, 906, 1, 0, 0, 0, 906, 907, 5, 134, 0, 0, 907, 99, 1, 0, 0, 0, 908, 915, 5, 106, 0, 0, 909, 910, 5, 107, 0, 0, 910, 911, 5, 141, 0, 0, 911, 912, 3, 142, 71, 0, 912, 913, 5, 142, 0, 0, 913, 915, 1, 0, 0, 0, 914, 908, 1, 0, 0, 0, 914, 909, 1, 0, 0, 0, 915, 101, 1, 0, 0, 0, 916, 917, 5, 62, 0, 0, 917, 918, 3, 158, 79, 0, 918, 919, 5, 84, 0, 0, 919, 920, 3, 160, 80, 0, 920, 921, 5, 137, 0, 0, 921, 922, 3, 104, 52, 0, 922, 923, 3, 104, 52, 0, 923, 924, 5, 138, 0, 0, 924, 103, 1, 0, 0, 0, 925, 926, 3, 50, 25, 0, 926, 927, 5, 63, 0, 0, 927, 928, 3, 158, 79, 0, 928, 929, 5, 84, 0, 0, 929, 930, 3, 160, 80, 0, 930, 932, 3, 148, 74, 0, 931, 933, 5, 112, 0, 0, 932, 931, 1, 0, 0, 0, 932, 933, 1, 0, 0, 0, 933, 936, 1, 0, 0, 0, 934, 935, 5, 79, 0, 0, 935, 937, 3, 160, 80, 0, 936, 934, 1, 0, 0, 0, 936, 937, 1, 0, 0, 0, 937, 939, 1, 0, 0, 0, 938, 940, 5, 81, 0, 0, 939, 938, 1, 0, 0, 0, 939, 940, 1, 0, 0, 0, 940, 943, 1, 0, 0, 0, 941, 942, 5, 82, 0, 0, 942, 944, 3, 160, 80, 0, 943, 941, 1, 0, 0, 0, 943, 944, 1, 0, 0, 0, 944, 946, 1, 0, 0, 0, 945, 947, 5, 83, 0, 0, 946, 945, 1, 0, 0, 0, 946, 947, 1, 0, 0, 0, 947, 948, 1, 0, 0, 0, 948, 949, 5, 134, 0, 0, 949, 105, 1, 0, 0, 0, 950, 951, 5, 54, 0, 0, 951, 952, 3, 158, 79, 0, 952, 953, 5, 55, 0, 0, 953, 955, 3, 158, 79, 0, 954, 956, 3, 28, 14, 0, 955, 954, 1, 0, 0, 0, 955, 956, 1, 0, 0, 0, 956, 959, 1, 0, 0, 0, 957, 958, 5, 84, 0, 0, 958, 960, 3, 160, 80, 0, 959, 957, 1, 0, 0, 0, 959, 960, 1, 0, 0, 0, 960, 963, 1, 0, 0, 0, 961, 962, 5, 78, 0, 0, 962, 964, 5, 147, 0, 0, 963, 961, 1, 0, 0, 0, 963, 964, 1, 0, 0, 0, 964, 965, 1, 0, 0, 0, 965, 969, 5, 137, 0, 0, 966, 968, 3, 108, 54, 0, 967, 966, 1, 0, 0, 0, 968, 971, 1, 0, 0, 0, 969, 967, 1, 0, 0, 0, 969, 970, 1, 0, 0, 0, 970, 972, 1, 0, 0, 0, 971, 969, 1, 0, 0, 0, 972, 973, 5, 138, 0, 0, 973, 107, 1, 0, 0, 0, 974, 975, 5, 59, 0, 0, 975, 982, 3, 96, 48, 0, 976, 982, 3, 122, 61, 0, 977, 982, 3, 118, 59, 0, 978, 982, 3, 112, 56, 0, 979, 982, 3, 120, 60, 0, 980, 982, 3, 110, 55, 0, 981, 974, 1, 0, 0, 0, 981, 976, 1, 0, 0, 0, 981, 977, 1, 0, 0, 0, 981, 978, 1, 0, 0, 0, 981, 979, 1, 0, 0, 0, 981, 980, 1, 0, 0, 0, 982, 109, 1, 0, 0, 0, 983, 984, 5, 56, 0, 0, 984, 985, 3, 158, 79, 0, 985, 986, 5, 58, 0, 0, 986, 987, 3, 158, 79, 0, 987, 988, 5, 136, 0, 0, 988, 989, 3, 158, 79, 0, 989, 990, 5, 134, 0, 0, 990, 111, 1, 0, 0, 0, 991, 992, 5, 8, 0, 0, 992, 996, 5, 137, 0, 0, 993, 995, 3, 114, 57, 0, 994, 993, 1, 0, 0, 0, 995, 998, 1, 0, 0, 0, 996, 994, 1, 0, 0, 0, 996, 997, 1, 0, 0, 0, 997, 999, 1, 0, 0, 0, 998, 996, 1, 0, 0, 0, 999, 1000, 5, 138, 0, 0, 1000, 1001, 5, 134, 0, 0, 1001, 113, 1, 0, 0, 0, 1002, 1003, 3, 158, 79, 0, 1003, 1004, 5, 58, 0, 0, 1004, 1005, 5, 61, 0, 0, 1005, 1006, 3, 158, 79, 0, 1006, 1007, 5, 134, 0, 0, 1007, 1017, 1, 0, 0, 0, 1008, 1009, 3, 158, 79, 0, 1009, 1010, 5, 58, 0, 0, 1010, 1011, 5, 62, 0, 0, 1011, 1012, 3, 158, 79, 0, 1012, 1013, 5, 136, 0, 0, 1013, 1014, 3, 158, 79, 0, 1014, 1015, 5, 134, 0, 0, 1015, 1017, 1, 0, 0, 0, 1016, 1002, 1, 0, 0, 0, 1016, 1008, 1, 0, 0, 0, 1017, 115, 1, 0, 0, 0, 1018, 1019, 3, 26, 13, 0, 1019, 1020, 5, 18, 0, 0, 1020, 1025, 5, 53, 0, 0, 1021, 1022, 5, 136, 0, 0, 1022, 1024, 3, 158, 79, 0, 1023, 1021, 1, 0, 0, 0, 1024, 1027, 1, 0, 0, 0, 1025, 1023, 1, 0, 0, 0, 1025, 1026, 1, 0, 0, 0, 1026, 1028, 1, 0, 0, 0, 1027, 1025, 1, 0, 0, 0, 1028, 1029, 5, 134, 0, 0, 1029, 117, 1, 0, 0, 0, 1030, 1031, 5, 56, 0, 0, 1031, 1032, 3, 158, 79, 0, 1032, 1033, 5, 58, 0, 0, 1033, 1034, 5, 61, 0, 0, 1034, 1035, 3, 158, 79, 0, 1035, 1036, 5, 134, 0, 0, 1036, 119, 1, 0, 0, 0, 1037, 1038, 5, 68, 0, 0, 1038, 1039, 3, 158, 79, 0, 1039, 1040, 5, 69, 0, 0, 1040, 1041, 5, 70, 0, 0, 1041, 1042, 5, 65, 0, 0, 1042, 1043, 5, 51, 0, 0, 1043, 1044, 3, 158, 79, 0, 1044, 1045, 5, 67, 0, 0, 1045, 1046, 5, 62, 0, 0, 1046, 1047, 3, 158, 79, 0, 1047, 1048, 5, 136, 0, 0, 1048, 1049, 3, 158, 79, 0, 1049, 1050, 5, 134, 0, 0, 1050, 121, 1, 0, 0, 0, 1051, 1052, 5, 56, 0, 0, 1052, 1053, 3, 124, 62, 0, 1053, 1054, 5, 58, 0, 0, 1054, 1057, 3, 128, 64, 0, 1055, 1056, 5, 34, 0, 0, 1056, 1058, 3, 160, 80, 0, 1057, 1055, 1, 0, 0, 0, 1057, 1058, 1, 0, 0, 0, 1058, 1059, 1, 0, 0, 0, 1059, 1060, 5, 134, 0, 0, 1060, 123, 1, 0, 0, 0, 1061, 1062, 3, 158, 79, 0, 1062, 1063, 5, 136, 0, 0, 1063, 1064, 3, 126, 63, 0, 1064, 125, 1, 0, 0, 0, 1065, 1078, 3, 158, 79, 0, 1066, 1078, 5, 101, 0, 0, 1067, 1078, 5, 91, 0, 0, 1068, 1078, 5, 92, 0, 0, 1069, 1078, 5, 1, 0, 0, 1070, 1078, 5, 98, 0, 0, 1071, 1078, 5, 99, 0, 0, 1072, 1078, 5, 100, 0, 0, 1073, 1078, 5, 102, 0, 0, 1074, 1078, 5, 103, 0, 0, 1075, 1078, 5, 104, 0, 0, 1076, 1078, 5, 105, 0, 0, 1077, 1065, 1, 0, 0, 0, 1077, 1066, 1, 0, 0, 0, 1077, 1067, 1, 0, 0, 0, 1077, 1068, 1, 0, 0, 0, 1077, 1069, 1, 0, 0, 0, 1077, 1070, 1, 0, 0, 0, 1077, 1071, 1, 0, 0, 0, 1077, 1072, 1, 0, 0, 0, 1077, 1073, 1, 0, 0, 0, 1077, 1074, 1, 0, 0, 0, 1077, 1075, 1, 0, 0, 0, 1077, 1076, 1, 0, 0, 0, 1078, 127, 1, 0, 0, 0, 1079, 1080, 5, 80, 0, 0, 1080, 1081, 5, 136, 0, 0, 1081, 1116, 3, 158, 79, 0, 1082, 1083, 5, 61, 0, 0, 1083, 1084, 3, 158, 79, 0, 1084, 1085, 5, 136, 0, 0, 1085, 1086, 3, 132, 66, 0, 1086, 1116, 1, 0, 0, 0, 1087, 1088, 5, 62, 0, 0, 1088, 1089, 3, 158, 79, 0, 1089, 1090, 5, 136, 0, 0, 1090, 1091, 3, 158, 79, 0, 1091, 1092, 5, 136, 0, 0, 1092, 1093, 3, 134, 67, 0, 1093, 1116, 1, 0, 0, 0, 1094, 1095, 5, 44, 0, 0, 1095, 1097, 3, 158, 79, 0, 1096, 1098, 3, 28, 14, 0, 1097, 1096, 1, 0, 0, 0, 1097, 1098, 1, 0, 0, 0, 1098, 1099, 1, 0, 0, 0, 1099, 1100, 5, 136, 0, 0, 1100, 1101, 3, 124, 62, 0, 1101, 1116, 1, 0, 0, 0, 1102, 1103, 5, 46, 0, 0, 1103, 1104, 3, 158, 79, 0, 1104, 1105, 5, 136, 0, 0, 1105, 1107, 3, 158, 79, 0, 1106, 1108, 3, 28, 14, 0, 1107, 1106, 1, 0, 0, 0, 1107, 1108, 1, 0, 0, 0, 1108, 1110, 1, 0, 0, 0, 1109, 1111, 3, 136, 68, 0, 1110, 1109, 1, 0, 0, 0, 1110, 1111, 1, 0, 0, 0, 1111, 1113, 1, 0, 0, 0, 1112, 1114, 3, 130, 65, 0, 1113, 1112, 1, 0, 0, 0, 1113, 1114, 1, 0, 0, 0, 1114, 1116, 1, 0, 0, 0, 1115, 1079, 1, 0, 0, 0, 1115, 1082, 1, 0, 0, 0, 1115, 1087, 1, 0, 0, 0, 1115, 1094, 1, 0, 0, 0, 1115, 1102, 1, 0, 0, 0, 1116, 129, 1, 0, 0, 0, 1117, 1118, 5, 66, 0, 0, 1118, 1119, 3, 136, 68, 0, 1119, 131, 1, 0, 0, 0, 1120, 1121, 7, 4, 0, 0, 1121, 133, 1, 0, 0, 0, 1122, 1123, 7, 5, 0, 0, 1123, 135, 1, 0, 0, 0, 1124, 1125, 5, 64, 0, 0, 1125, 1129, 5, 137, 0, 0, 1126, 1128, 3, 138, 69, 0, 1127, 1126, 1, 0, 0, 0, 1128, 1131, 1, 0, 0, 0, 1129, 1127, 1, 0, 0, 0, 1129, 1130, 1, 0, 0, 0, 1130, 1132, 1, 0, 0, 0, 1131, 1129, 1, 0, 0, 0, 1132, 1133, 5, 138, 0, 0, 1133, 137, 1, 0, 0, 0, 1134, 1135, 3, 158, 79, 0, 1135, 1136, 5, 58, 0, 0, 1136, 1137, 5, 9, 0, 0, 1137, 1138, 5, 23, 0, 0, 1138, 1139, 5, 139, 0, 0, 1139, 1140, 3, 84, 42, 0, 1140, 1141, 5, 140, 0, 0, 1141, 1142, 5, 134, 0, 0, 1142, 1233, 1, 0, 0, 0, 1143, 1144, 3, 158, 79, 0, 1144, 1145, 5, 58, 0, 0, 1145, 1146, 5, 61, 0, 0, 1146, 1153, 3, 158, 79, 0, 1147, 1148, 5, 67, 0, 0, 1148, 1149, 5, 62, 0, 0, 1149, 1150, 3, 158, 79, 0, 1150, 1151, 5, 136, 0, 0, 1151, 1152, 3, 158, 79, 0, 1152, 1154, 1, 0, 0, 0, 1153, 1147, 1, 0, 0, 0, 1153, 1154, 1, 0, 0, 0, 1154, 1155, 1, 0, 0, 0, 1155, 1156, 5, 134, 0, 0, 1156, 1233, 1, 0, 0, 0, 1157, 1158, 3, 158, 79, 0, 1158, 1159, 5, 58, 0, 0, 1159, 1160, 5, 62, 0, 0, 1160, 1161, 3, 158, 79, 0, 1161, 1162, 5, 136, 0, 0, 1162, 1169, 3, 158, 79, 0, 1163, 1164, 5, 67, 0, 0, 1164, 1165, 5, 62, 0, 0, 1165, 1166, 3, 158, 79, 0, 1166, 1167, 5, 136, 0, 0, 1167, 1168, 3, 158, 79, 0, 1168, 1170, 1, 0, 0, 0, 1169, 1163, 1, 0, 0, 0, 1169, 1170, 1, 0, 0, 0, 1170, 1171, 1, 0, 0, 0, 1171, 1172, 5, 134, 0, 0, 1172, 1233, 1, 0, 0, 0, 1173, 1174, 3, 158, 79, 0, 1174, 1175, 5, 58, 0, 0, 1175, 1176, 5, 44, 0, 0, 1176, 1178, 3, 158, 79, 0, 1177, 1179, 3, 28, 14, 0, 1178, 1177, 1, 0, 0, 0, 1178, 1179, 1, 0, 0, 0, 1179, 1188, 1, 0, 0, 0, 1180, 1181, 5, 67, 0, 0, 1181, 1182, 5, 62, 0, 0, 1182, 1183, 3, 158, 79, 0, 1183, 1184, 5, 136, 0, 0, 1184, 1185, 3, 158, 79, 0, 1185, 1189, 1, 0, 0, 0, 1186, 1187, 5, 18, 0, 0, 1187, 1189, 5, 53, 0, 0, 1188, 1180, 1, 0, 0, 0, 1188, 1186, 1, 0, 0, 0, 1188, 1189, 1, 0, 0, 0, 1189, 1190, 1, 0, 0, 0, 1190, 1191, 5, 134, 0, 0, 1191, 1233, 1, 0, 0, 0, 1192, 1193, 3, 158, 79, 0, 1193, 1194, 5, 58, 0, 0, 1194, 1195, 5, 7, 0, 0, 1195, 1196, 3, 158, 79, 0, 1196, 1197, 5, 64, 0, 0, 1197, 1201, 5, 137, 0, 0, 1198, 1200, 3, 116, 58, 0, 1199, 1198, 1, 0, 0, 0, 1200, 1203, 1, 0, 0, 0, 1201, 1199, 1, 0, 0, 0, 1201, 1202, 1, 0, 0, 0, 1202, 1204, 1, 0, 0, 0, 1203, 1201, 1, 0, 0, 0, 1204, 1205, 5, 138, 0, 0, 1205, 1206, 5, 134, 0, 0, 1206, 1233, 1, 0, 0, 0, 1207, 1208, 3, 158, 79, 0, 1208, 1209, 5, 58, 0, 0, 1209, 1210, 5, 51, 0, 0, 1210, 1211, 3, 158, 79, 0, 1211, 1212, 5, 134, 0, 0, 1212, 1233, 1, 0, 0, 0, 1213, 1214, 3, 158, 79, 0, 1214, 1216, 5, 58, 0, 0, 1215, 1217, 5, 9, 0, 0, 1216, 1215, 1, 0, 0, 0, 1216, 1217, 1, 0, 0, 0, 1217, 1218, 1, 0, 0, 0, 1218, 1219, 5, 22, 0, 0, 1219, 1220, 3, 158, 79, 0, 1220, 1221, 5, 136, 0, 0, 1221, 1228, 3, 158, 79, 0, 1222, 1223, 5, 67, 0, 0, 1223, 1224, 5, 62, 0, 0, 1224, 1225, 3, 158, 79, 0, 1225, 1226, 5, 136, 0, 0, 1226, 1227, 3, 158, 79, 0, 1227, 1229, 1, 0, 0, 0, 1228, 1222, 1, 0, 0, 0, 1228, 1229, 1, 0, 0, 0, 1229, 1230, 1, 0, 0, 0, 1230, 1231, 5, 134, 0, 0, 1231, 1233, 1, 0, 0, 0, 1232, 1134, 1, 0, 0, 0, 1232, 1143, 1, 0, 0, 0, 1232, 1157, 1, 0, 0, 0, 1232, 1173, 1, 0, 0, 0, 1232, 1192, 1, 0, 0, 0, 1232, 1207, 1, 0, 0, 0, 1232, 1213, 1, 0, 0, 0, 1233, 139, 1, 0, 0, 0, 1234, 1235, 5, 51, 0, 0, 1235, 1236, 3, 158, 79, 0, 1236, 1237, 5, 58, 0, 0, 1237, 1238, 3, 158, 79, 0, 1238, 1239, 5, 136, 0, 0, 1239, 1241, 3, 158, 79, 0, 1240, 1242, 3, 136, 68, 0, 1241, 1240, 1, 0, 0, 0, 1241, 1242, 1, 0, 0, 0, 1242, 1243, 1, 0, 0, 0, 1243, 1244, 5, 134, 0, 0, 1244, 141, 1, 0, 0, 0, 1245, 1292, 3, 146, 73, 0, 1246, 1292, 5, 113, 0, 0, 1247, 1292, 5, 114, 0, 0, 1248, 1249, 5, 115, 0, 0, 1249, 1292, 3, 160, 80, 0, 1250, 1251, 5, 116, 0, 0, 1251, 1252, 5, 143, 0, 0, 1252, 1253, 3, 158, 79, 0, 1253, 1254, 5, 144, 0, 0, 1254, 1292, 1, 0, 0, 0, 1255, 1256, 5, 117, 0, 0, 1256, 1257, 5, 143, 0, 0, 1257, 1259, 3, 158, 79, 0, 1258, 1260, 3, 28, 14, 0, 1259, 1258, 1, 0, 0, 0, 1259, 1260, 1, 0, 0, 0, 1260, 1261, 1, 0, 0, 0, 1261, 1262, 5, 144, 0, 0, 1262, 1292, 1, 0, 0, 0, 1263, 1264, 5, 39, 0, 0, 1264, 1265, 5, 143, 0, 0, 1265, 1266, 3, 158, 79, 0, 1266, 1267, 5, 144, 0, 0, 1267, 1292, 1, 0, 0, 0, 1268, 1269, 5, 118, 0, 0, 1269, 1270, 5, 143, 0, 0, 1270, 1271, 3, 142, 71, 0, 1271, 1272, 5, 144, 0, 0, 1272, 1292, 1, 0, 0, 0, 1273, 1274, 5, 119, 0, 0, 1274, 1275, 5, 143, 0, 0, 1275, 1276, 3, 142, 71, 0, 1276, 1277, 5, 144, 0, 0, 1277, 1292, 1, 0, 0, 0, 1278, 1279, 5, 120, 0, 0, 1279, 1283, 5, 137, 0, 0, 1280, 1282, 3, 144, 72, 0, 1281, 1280, 1, 0, 0, 0, 1282, 1285, 1, 0, 0, 0, 1283, 1281, 1, 0, 0, 0, 1283, 1284, 1, 0, 0, 0, 1284, 1286, 1, 0, 0, 0, 1285, 1283, 1, 0, 0, 0, 1286, 1292, 5, 138, 0, 0, 1287, 1289, 3, 158, 79, 0, 1288, 1290, 3, 28, 14, 0, 1289, 1288, 1, 0, 0, 0, 1289, 1290, 1, 0, 0, 0, 1290, 1292, 1, 0, 0, 0, 1291, 1245, 1, 0, 0, 0, 1291, 1246, 1, 0, 0, 0, 1291, 1247, 1, 0, 0, 0, 1291, 1248, 1, 0, 0, 0, 1291, 1250, 1, 0, 0, 0, 1291, 1255, 1, 0, 0, 0, 1291, 1263, 1, 0, 0, 0, 1291, 1268, 1, 0, 0, 0, 1291, 1273, 1, 0, 0, 0, 1291, 1278, 1, 0, 0, 0, 1291, 1287, 1, 0, 0, 0, 1292, 143, 1, 0, 0, 0, 1293, 1294, 3, 158, 79, 0, 1294, 1295, 5, 133, 0, 0, 1295, 1296, 3, 142, 71, 0, 1296, 1297, 5, 134, 0, 0, 1297, 145, 1, 0, 0, 0, 1298, 1299, 7, 6, 0, 0, 1299, 147, 1, 0, 0, 0, 1300, 1301, 7, 7, 0, 0, 1301, 149, 1, 0, 0, 0, 1302, 1311, 3, 160, 80, 0, 1303, 1311, 5, 147, 0, 0, 1304, 1311, 5, 148, 0, 0, 1305, 1311, 5, 129, 0, 0, 1306, 1311, 5, 130, 0, 0, 1307, 1311, 5, 131, 0, 0, 1308, 1311, 3, 152, 76, 0, 1309, 1311, 3, 156, 78, 0, 1310, 1302, 1, 0, 0, 0, 1310, 1303, 1, 0, 0, 0, 1310, 1304, 1, 0, 0, 0, 1310, 1305, 1, 0, 0, 0, 1310, 1306, 1, 0, 0, 0, 1310, 1307, 1, 0, 0, 0, 1310, 1308, 1, 0, 0, 0, 1310, 1309, 1, 0, 0, 0, 1311, 151, 1, 0, 0, 0, 1312, 1321, 5, 137, 0, 0, 1313, 1318, 3, 154, 77, 0, 1314, 1315, 5, 135, 0, 0, 1315, 1317, 3, 154, 77, 0, 1316, 1314, 1, 0, 0, 0, 1317, 1320, 1, 0, 0, 0, 1318, 1316, 1, 0, 0, 0, 1318, 1319, 1, 0, 0, 0, 1319, 1322, 1, 0, 0, 0, 1320, 1318, 1, 0, 0, 0, 1321, 1313, 1, 0, 0, 0, 1321, 1322, 1, 0, 0, 0, 1322, 1323, 1, 0, 0, 0, 1323, 1324, 5, 138, 0, 0, 1324, 153, 1, 0, 0, 0, 1325, 1326, 3, 160, 80, 0, 1326, 1327, 5, 133, 0, 0, 1327, 1328, 3, 150, 75, 0, 1328, 155, 1, 0, 0, 0, 1329, 1338, 5, 139, 0, 0, 1330, 1335, 3, 150, 75, 0, 1331, 1332, 5, 135, 0, 0, 1332, 1334, 3, 150, 75, 0, 1333, 1331, 1, 0, 0, 0, 1334, 1337, 1, 0, 0, 0, 1335, 1333, 1, 0, 0, 0, 1335, 1336, 1, 0, 0, 0, 1336, 1339, 1, 0, 0, 0, 1337, 1335, 1, 0, 0, 0, 1338, 1330, 1, 0, 0, 0, 1338, 1339, 1, 0, 0, 0, 1339, 1340, 1, 0, 0, 0, 1340, 1341, 5, 140, 0, 0, 1341, 157, 1, 0, 0, 0, 1342, 1343, 7, 8, 0, 0, 1343, 159, 1, 0, 0, 0, 1344, 1345, 5, 150, 0, 0, 1345, 161, 1, 0, 0, 0, 116, 174, 181, 202, 215, 227, 247, 255, 262, 268, 280, 283, 289, 300, 309, 319, 322, 324, 328, 336, 348, 353, 363, 373, 378, 393, 399, 411, 420, 428, 436, 449, 452, 462, 466, 472, 479, 485, 493, 501, 514, 521, 525, 530, 541, 547, 558, 585, 591, 602, 629, 656, 661, 672, 675, 680, 683, 690, 699, 702, 705, 722, 731, 745, 766, 769, 772, 779, 787, 827, 830, 834, 856, 870, 878, 890, 904, 914, 932, 936, 939, 943, 946, 955, 959, 963, 969, 981, 996, 1016, 1025, 1057, 1077, 1097, 1107, 1110, 1113, 1115, 1129, 1153, 1169, 1178, 1188, 1201, 1216, 1228, 1232, 1241, 1259, 1283, 1289, 1291, 1310, 1318, 1321, 1335, 1338] \ No newline at end of file +[4, 1, 153, 1393, 2, 0, 7, 0, 2, 1, 7, 1, 2, 2, 7, 2, 2, 3, 7, 3, 2, 4, 7, 4, 2, 5, 7, 5, 2, 6, 7, 6, 2, 7, 7, 7, 2, 8, 7, 8, 2, 9, 7, 9, 2, 10, 7, 10, 2, 11, 7, 11, 2, 12, 7, 12, 2, 13, 7, 13, 2, 14, 7, 14, 2, 15, 7, 15, 2, 16, 7, 16, 2, 17, 7, 17, 2, 18, 7, 18, 2, 19, 7, 19, 2, 20, 7, 20, 2, 21, 7, 21, 2, 22, 7, 22, 2, 23, 7, 23, 2, 24, 7, 24, 2, 25, 7, 25, 2, 26, 7, 26, 2, 27, 7, 27, 2, 28, 7, 28, 2, 29, 7, 29, 2, 30, 7, 30, 2, 31, 7, 31, 2, 32, 7, 32, 2, 33, 7, 33, 2, 34, 7, 34, 2, 35, 7, 35, 2, 36, 7, 36, 2, 37, 7, 37, 2, 38, 7, 38, 2, 39, 7, 39, 2, 40, 7, 40, 2, 41, 7, 41, 2, 42, 7, 42, 2, 43, 7, 43, 2, 44, 7, 44, 2, 45, 7, 45, 2, 46, 7, 46, 2, 47, 7, 47, 2, 48, 7, 48, 2, 49, 7, 49, 2, 50, 7, 50, 2, 51, 7, 51, 2, 52, 7, 52, 2, 53, 7, 53, 2, 54, 7, 54, 2, 55, 7, 55, 2, 56, 7, 56, 2, 57, 7, 57, 2, 58, 7, 58, 2, 59, 7, 59, 2, 60, 7, 60, 2, 61, 7, 61, 2, 62, 7, 62, 2, 63, 7, 63, 2, 64, 7, 64, 2, 65, 7, 65, 2, 66, 7, 66, 2, 67, 7, 67, 2, 68, 7, 68, 2, 69, 7, 69, 2, 70, 7, 70, 2, 71, 7, 71, 2, 72, 7, 72, 2, 73, 7, 73, 2, 74, 7, 74, 2, 75, 7, 75, 2, 76, 7, 76, 2, 77, 7, 77, 2, 78, 7, 78, 2, 79, 7, 79, 2, 80, 7, 80, 2, 81, 7, 81, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 3, 0, 177, 8, 0, 1, 1, 1, 1, 1, 1, 5, 1, 182, 8, 1, 10, 1, 12, 1, 185, 9, 1, 1, 1, 1, 1, 1, 2, 1, 2, 1, 2, 1, 2, 1, 3, 1, 3, 1, 3, 1, 3, 1, 3, 1, 3, 1, 3, 1, 3, 1, 3, 1, 3, 5, 3, 203, 8, 3, 10, 3, 12, 3, 206, 9, 3, 1, 3, 1, 3, 1, 4, 1, 4, 1, 4, 1, 4, 1, 4, 1, 4, 1, 4, 1, 4, 3, 4, 218, 8, 4, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 3, 5, 230, 8, 5, 1, 6, 1, 6, 1, 6, 1, 6, 1, 6, 1, 6, 1, 6, 1, 7, 1, 7, 1, 7, 1, 7, 1, 7, 1, 7, 1, 7, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 250, 8, 8, 1, 9, 1, 9, 1, 9, 1, 9, 1, 9, 1, 9, 3, 9, 258, 8, 9, 1, 9, 1, 9, 1, 10, 5, 10, 263, 8, 10, 10, 10, 12, 10, 266, 9, 10, 1, 10, 1, 10, 1, 10, 3, 10, 271, 8, 10, 1, 10, 1, 10, 1, 10, 1, 10, 1, 10, 1, 10, 1, 10, 1, 10, 5, 10, 281, 8, 10, 10, 10, 12, 10, 284, 9, 10, 3, 10, 286, 8, 10, 1, 10, 1, 10, 5, 10, 290, 8, 10, 10, 10, 12, 10, 293, 9, 10, 1, 10, 1, 10, 1, 11, 1, 11, 1, 11, 1, 11, 5, 11, 301, 8, 11, 10, 11, 12, 11, 304, 9, 11, 1, 11, 1, 11, 1, 12, 1, 12, 1, 12, 1, 12, 3, 12, 312, 8, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 5, 12, 320, 8, 12, 10, 12, 12, 12, 323, 9, 12, 3, 12, 325, 8, 12, 3, 12, 327, 8, 12, 1, 13, 1, 13, 3, 13, 331, 8, 13, 1, 14, 1, 14, 1, 14, 1, 14, 5, 14, 337, 8, 14, 10, 14, 12, 14, 340, 9, 14, 1, 14, 1, 14, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 3, 15, 351, 8, 15, 1, 16, 1, 16, 1, 16, 3, 16, 356, 8, 16, 1, 16, 1, 16, 1, 16, 1, 16, 1, 17, 1, 17, 1, 17, 1, 17, 3, 17, 366, 8, 17, 1, 18, 1, 18, 1, 18, 1, 18, 1, 18, 1, 18, 1, 18, 1, 18, 3, 18, 376, 8, 18, 1, 18, 1, 18, 1, 19, 3, 19, 381, 8, 19, 1, 19, 1, 19, 1, 19, 1, 19, 1, 19, 1, 19, 1, 19, 1, 19, 1, 19, 1, 19, 1, 19, 1, 19, 1, 19, 3, 19, 396, 8, 19, 1, 19, 1, 19, 1, 19, 1, 20, 3, 20, 402, 8, 20, 1, 20, 1, 20, 1, 20, 1, 20, 1, 20, 1, 20, 1, 20, 1, 20, 5, 20, 412, 8, 20, 10, 20, 12, 20, 415, 9, 20, 1, 20, 1, 20, 1, 21, 1, 21, 1, 21, 1, 21, 3, 21, 423, 8, 21, 1, 21, 1, 21, 1, 21, 1, 21, 1, 21, 1, 21, 3, 21, 431, 8, 21, 1, 21, 1, 21, 1, 21, 1, 21, 1, 21, 1, 21, 3, 21, 439, 8, 21, 1, 21, 1, 21, 1, 21, 1, 21, 1, 21, 1, 21, 1, 21, 1, 21, 1, 21, 1, 21, 1, 21, 3, 21, 452, 8, 21, 1, 22, 3, 22, 455, 8, 22, 1, 22, 1, 22, 1, 22, 1, 22, 1, 22, 1, 22, 1, 22, 1, 22, 3, 22, 465, 8, 22, 1, 22, 1, 22, 3, 22, 469, 8, 22, 1, 22, 1, 22, 5, 22, 473, 8, 22, 10, 22, 12, 22, 476, 9, 22, 1, 22, 1, 22, 1, 23, 1, 23, 3, 23, 482, 8, 23, 1, 24, 1, 24, 1, 24, 1, 24, 3, 24, 488, 8, 24, 1, 24, 1, 24, 1, 24, 1, 24, 1, 24, 1, 24, 3, 24, 496, 8, 24, 1, 24, 1, 24, 1, 24, 1, 24, 1, 24, 1, 24, 3, 24, 504, 8, 24, 1, 24, 1, 24, 1, 24, 1, 24, 1, 24, 1, 24, 1, 24, 1, 24, 1, 24, 1, 24, 1, 24, 3, 24, 517, 8, 24, 1, 25, 1, 25, 1, 25, 1, 25, 1, 25, 3, 25, 524, 8, 25, 1, 25, 1, 25, 3, 25, 528, 8, 25, 1, 26, 5, 26, 531, 8, 26, 10, 26, 12, 26, 534, 9, 26, 1, 26, 1, 26, 1, 26, 1, 26, 1, 26, 1, 26, 1, 26, 1, 26, 3, 26, 544, 8, 26, 1, 26, 1, 26, 5, 26, 548, 8, 26, 10, 26, 12, 26, 551, 9, 26, 1, 26, 1, 26, 1, 27, 1, 27, 1, 27, 1, 27, 1, 27, 1, 27, 3, 27, 561, 8, 27, 1, 28, 1, 28, 1, 28, 1, 28, 1, 28, 1, 28, 1, 28, 1, 28, 1, 28, 1, 28, 1, 29, 1, 29, 1, 29, 1, 29, 1, 29, 1, 29, 1, 29, 1, 29, 1, 29, 1, 29, 1, 29, 1, 29, 1, 30, 1, 30, 3, 30, 587, 8, 30, 1, 30, 1, 30, 3, 30, 591, 8, 30, 1, 30, 1, 30, 1, 30, 1, 30, 3, 30, 597, 8, 30, 1, 30, 1, 30, 1, 30, 1, 30, 1, 30, 1, 30, 1, 30, 5, 30, 606, 8, 30, 10, 30, 12, 30, 609, 9, 30, 1, 30, 1, 30, 1, 30, 1, 30, 1, 30, 1, 30, 3, 30, 617, 8, 30, 1, 30, 1, 30, 5, 30, 621, 8, 30, 10, 30, 12, 30, 624, 9, 30, 1, 30, 1, 30, 3, 30, 628, 8, 30, 3, 30, 630, 8, 30, 1, 31, 1, 31, 1, 31, 1, 31, 1, 31, 1, 31, 1, 31, 1, 31, 1, 31, 1, 32, 1, 32, 1, 32, 1, 32, 1, 32, 1, 32, 1, 32, 1, 32, 1, 32, 1, 32, 1, 32, 1, 32, 1, 32, 1, 32, 1, 32, 1, 32, 1, 32, 1, 32, 5, 32, 659, 8, 32, 10, 32, 12, 32, 662, 9, 32, 1, 32, 3, 32, 665, 8, 32, 1, 32, 1, 32, 1, 32, 1, 32, 3, 32, 671, 8, 32, 1, 32, 1, 32, 1, 32, 1, 32, 1, 32, 1, 32, 1, 32, 1, 32, 1, 32, 1, 32, 1, 32, 1, 32, 1, 32, 1, 32, 1, 32, 1, 32, 1, 32, 1, 32, 1, 32, 1, 32, 1, 32, 1, 32, 1, 32, 1, 32, 1, 32, 3, 32, 698, 8, 32, 1, 33, 1, 33, 1, 33, 1, 33, 1, 33, 1, 34, 1, 34, 1, 34, 3, 34, 708, 8, 34, 1, 34, 1, 34, 1, 34, 1, 34, 1, 34, 1, 34, 1, 34, 1, 34, 1, 34, 3, 34, 719, 8, 34, 1, 34, 3, 34, 722, 8, 34, 1, 34, 1, 34, 1, 34, 3, 34, 727, 8, 34, 1, 34, 3, 34, 730, 8, 34, 1, 34, 1, 34, 1, 35, 1, 35, 1, 35, 3, 35, 737, 8, 35, 1, 35, 1, 35, 1, 35, 1, 35, 1, 35, 1, 35, 1, 35, 3, 35, 746, 8, 35, 1, 35, 3, 35, 749, 8, 35, 1, 35, 3, 35, 752, 8, 35, 1, 35, 1, 35, 1, 36, 1, 36, 1, 36, 1, 36, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 3, 37, 769, 8, 37, 1, 38, 1, 38, 1, 38, 1, 38, 1, 38, 5, 38, 776, 8, 38, 10, 38, 12, 38, 779, 9, 38, 1, 38, 1, 38, 1, 39, 1, 39, 1, 39, 1, 39, 1, 39, 1, 39, 1, 39, 1, 39, 1, 39, 3, 39, 792, 8, 39, 1, 39, 1, 39, 1, 40, 1, 40, 1, 40, 1, 41, 1, 41, 1, 42, 1, 42, 1, 42, 1, 42, 1, 42, 1, 42, 1, 42, 1, 42, 1, 42, 1, 42, 5, 42, 811, 8, 42, 10, 42, 12, 42, 814, 9, 42, 3, 42, 816, 8, 42, 1, 42, 3, 42, 819, 8, 42, 1, 43, 1, 43, 1, 43, 5, 43, 824, 8, 43, 10, 43, 12, 43, 827, 9, 43, 1, 44, 1, 44, 1, 44, 5, 44, 832, 8, 44, 10, 44, 12, 44, 835, 9, 44, 1, 44, 1, 44, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 3, 45, 874, 8, 45, 1, 45, 3, 45, 877, 8, 45, 1, 45, 1, 45, 3, 45, 881, 8, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 3, 45, 903, 8, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 3, 45, 917, 8, 45, 1, 46, 1, 46, 1, 46, 1, 46, 5, 46, 923, 8, 46, 10, 46, 12, 46, 926, 9, 46, 1, 46, 1, 46, 1, 47, 1, 47, 1, 48, 1, 48, 1, 48, 1, 49, 1, 49, 3, 49, 937, 8, 49, 1, 50, 1, 50, 1, 50, 1, 50, 1, 50, 1, 50, 1, 50, 1, 50, 1, 50, 1, 50, 1, 50, 1, 50, 3, 50, 951, 8, 50, 1, 50, 1, 50, 1, 51, 1, 51, 1, 51, 1, 51, 1, 51, 1, 51, 3, 51, 961, 8, 51, 1, 52, 1, 52, 1, 52, 1, 52, 1, 52, 1, 52, 1, 52, 1, 52, 1, 52, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 3, 53, 979, 8, 53, 1, 53, 1, 53, 3, 53, 983, 8, 53, 1, 53, 3, 53, 986, 8, 53, 1, 53, 1, 53, 3, 53, 990, 8, 53, 1, 53, 3, 53, 993, 8, 53, 1, 53, 1, 53, 1, 54, 1, 54, 1, 54, 1, 54, 1, 54, 3, 54, 1002, 8, 54, 1, 54, 1, 54, 3, 54, 1006, 8, 54, 1, 54, 1, 54, 3, 54, 1010, 8, 54, 1, 54, 1, 54, 5, 54, 1014, 8, 54, 10, 54, 12, 54, 1017, 9, 54, 1, 54, 1, 54, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 3, 55, 1028, 8, 55, 1, 56, 1, 56, 1, 56, 1, 56, 1, 56, 1, 56, 1, 56, 1, 56, 1, 57, 1, 57, 1, 57, 5, 57, 1041, 8, 57, 10, 57, 12, 57, 1044, 9, 57, 1, 57, 1, 57, 1, 57, 1, 58, 1, 58, 1, 58, 1, 58, 1, 58, 1, 58, 1, 58, 1, 58, 1, 58, 1, 58, 1, 58, 1, 58, 1, 58, 1, 58, 3, 58, 1063, 8, 58, 1, 59, 1, 59, 1, 59, 1, 59, 1, 59, 5, 59, 1070, 8, 59, 10, 59, 12, 59, 1073, 9, 59, 1, 59, 1, 59, 1, 60, 1, 60, 1, 60, 1, 60, 1, 60, 1, 60, 1, 60, 1, 61, 1, 61, 1, 61, 1, 61, 1, 61, 1, 61, 1, 61, 1, 61, 1, 61, 1, 61, 1, 61, 1, 61, 1, 61, 1, 61, 1, 62, 1, 62, 1, 62, 1, 62, 1, 62, 1, 62, 3, 62, 1104, 8, 62, 1, 62, 1, 62, 1, 63, 1, 63, 1, 63, 1, 63, 1, 64, 1, 64, 1, 64, 1, 64, 1, 64, 1, 64, 1, 64, 1, 64, 1, 64, 1, 64, 1, 64, 1, 64, 3, 64, 1124, 8, 64, 1, 65, 1, 65, 1, 65, 1, 65, 1, 65, 1, 65, 1, 65, 1, 65, 1, 65, 1, 65, 1, 65, 1, 65, 1, 65, 1, 65, 1, 65, 1, 65, 1, 65, 1, 65, 3, 65, 1144, 8, 65, 1, 65, 1, 65, 1, 65, 1, 65, 1, 65, 1, 65, 1, 65, 1, 65, 3, 65, 1154, 8, 65, 1, 65, 3, 65, 1157, 8, 65, 1, 65, 3, 65, 1160, 8, 65, 3, 65, 1162, 8, 65, 1, 66, 1, 66, 1, 66, 1, 67, 1, 67, 1, 68, 1, 68, 1, 69, 1, 69, 1, 69, 5, 69, 1174, 8, 69, 10, 69, 12, 69, 1177, 9, 69, 1, 69, 1, 69, 1, 70, 1, 70, 1, 70, 1, 70, 1, 70, 1, 70, 1, 70, 1, 70, 1, 70, 1, 70, 1, 70, 1, 70, 1, 70, 1, 70, 1, 70, 1, 70, 1, 70, 1, 70, 1, 70, 3, 70, 1200, 8, 70, 1, 70, 1, 70, 1, 70, 1, 70, 1, 70, 1, 70, 1, 70, 1, 70, 1, 70, 1, 70, 1, 70, 1, 70, 1, 70, 1, 70, 3, 70, 1216, 8, 70, 1, 70, 1, 70, 1, 70, 1, 70, 1, 70, 1, 70, 1, 70, 3, 70, 1225, 8, 70, 1, 70, 1, 70, 1, 70, 1, 70, 1, 70, 1, 70, 1, 70, 1, 70, 3, 70, 1235, 8, 70, 1, 70, 1, 70, 1, 70, 1, 70, 1, 70, 1, 70, 1, 70, 1, 70, 1, 70, 5, 70, 1246, 8, 70, 10, 70, 12, 70, 1249, 9, 70, 1, 70, 1, 70, 1, 70, 1, 70, 1, 70, 1, 70, 1, 70, 1, 70, 1, 70, 1, 70, 1, 70, 1, 70, 3, 70, 1263, 8, 70, 1, 70, 1, 70, 1, 70, 1, 70, 1, 70, 1, 70, 1, 70, 1, 70, 1, 70, 1, 70, 3, 70, 1275, 8, 70, 1, 70, 1, 70, 3, 70, 1279, 8, 70, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 3, 71, 1288, 8, 71, 1, 71, 1, 71, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 3, 72, 1306, 8, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 5, 72, 1328, 8, 72, 10, 72, 12, 72, 1331, 9, 72, 1, 72, 1, 72, 1, 72, 3, 72, 1336, 8, 72, 3, 72, 1338, 8, 72, 1, 73, 1, 73, 1, 73, 1, 73, 1, 73, 1, 74, 1, 74, 1, 75, 1, 75, 1, 76, 1, 76, 1, 76, 1, 76, 1, 76, 1, 76, 1, 76, 1, 76, 3, 76, 1357, 8, 76, 1, 77, 1, 77, 1, 77, 1, 77, 5, 77, 1363, 8, 77, 10, 77, 12, 77, 1366, 9, 77, 3, 77, 1368, 8, 77, 1, 77, 1, 77, 1, 78, 1, 78, 1, 78, 1, 78, 1, 79, 1, 79, 1, 79, 1, 79, 5, 79, 1380, 8, 79, 10, 79, 12, 79, 1383, 9, 79, 3, 79, 1385, 8, 79, 1, 79, 1, 79, 1, 80, 1, 80, 1, 81, 1, 81, 1, 81, 0, 0, 82, 0, 2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 22, 24, 26, 28, 30, 32, 34, 36, 38, 40, 42, 44, 46, 48, 50, 52, 54, 56, 58, 60, 62, 64, 66, 68, 70, 72, 74, 76, 78, 80, 82, 84, 86, 88, 90, 92, 94, 96, 98, 100, 102, 104, 106, 108, 110, 112, 114, 116, 118, 120, 122, 124, 126, 128, 130, 132, 134, 136, 138, 140, 142, 144, 146, 148, 150, 152, 154, 156, 158, 160, 162, 0, 9, 2, 0, 15, 15, 33, 33, 1, 0, 11, 12, 1, 0, 101, 105, 3, 0, 1, 1, 96, 100, 102, 103, 3, 0, 1, 1, 96, 97, 102, 103, 2, 0, 98, 100, 102, 103, 1, 0, 121, 128, 1, 0, 108, 111, 9, 0, 1, 1, 4, 8, 10, 33, 40, 40, 45, 45, 74, 74, 94, 95, 106, 106, 149, 149, 1508, 0, 176, 1, 0, 0, 0, 2, 178, 1, 0, 0, 0, 4, 188, 1, 0, 0, 0, 6, 192, 1, 0, 0, 0, 8, 217, 1, 0, 0, 0, 10, 229, 1, 0, 0, 0, 12, 231, 1, 0, 0, 0, 14, 238, 1, 0, 0, 0, 16, 249, 1, 0, 0, 0, 18, 251, 1, 0, 0, 0, 20, 264, 1, 0, 0, 0, 22, 296, 1, 0, 0, 0, 24, 326, 1, 0, 0, 0, 26, 328, 1, 0, 0, 0, 28, 332, 1, 0, 0, 0, 30, 350, 1, 0, 0, 0, 32, 352, 1, 0, 0, 0, 34, 365, 1, 0, 0, 0, 36, 367, 1, 0, 0, 0, 38, 380, 1, 0, 0, 0, 40, 401, 1, 0, 0, 0, 42, 451, 1, 0, 0, 0, 44, 454, 1, 0, 0, 0, 46, 479, 1, 0, 0, 0, 48, 516, 1, 0, 0, 0, 50, 527, 1, 0, 0, 0, 52, 532, 1, 0, 0, 0, 54, 560, 1, 0, 0, 0, 56, 562, 1, 0, 0, 0, 58, 572, 1, 0, 0, 0, 60, 584, 1, 0, 0, 0, 62, 631, 1, 0, 0, 0, 64, 697, 1, 0, 0, 0, 66, 699, 1, 0, 0, 0, 68, 704, 1, 0, 0, 0, 70, 733, 1, 0, 0, 0, 72, 755, 1, 0, 0, 0, 74, 768, 1, 0, 0, 0, 76, 770, 1, 0, 0, 0, 78, 782, 1, 0, 0, 0, 80, 795, 1, 0, 0, 0, 82, 798, 1, 0, 0, 0, 84, 818, 1, 0, 0, 0, 86, 820, 1, 0, 0, 0, 88, 828, 1, 0, 0, 0, 90, 916, 1, 0, 0, 0, 92, 918, 1, 0, 0, 0, 94, 929, 1, 0, 0, 0, 96, 931, 1, 0, 0, 0, 98, 936, 1, 0, 0, 0, 100, 938, 1, 0, 0, 0, 102, 960, 1, 0, 0, 0, 104, 962, 1, 0, 0, 0, 106, 971, 1, 0, 0, 0, 108, 996, 1, 0, 0, 0, 110, 1027, 1, 0, 0, 0, 112, 1029, 1, 0, 0, 0, 114, 1037, 1, 0, 0, 0, 116, 1062, 1, 0, 0, 0, 118, 1064, 1, 0, 0, 0, 120, 1076, 1, 0, 0, 0, 122, 1083, 1, 0, 0, 0, 124, 1097, 1, 0, 0, 0, 126, 1107, 1, 0, 0, 0, 128, 1123, 1, 0, 0, 0, 130, 1161, 1, 0, 0, 0, 132, 1163, 1, 0, 0, 0, 134, 1166, 1, 0, 0, 0, 136, 1168, 1, 0, 0, 0, 138, 1170, 1, 0, 0, 0, 140, 1278, 1, 0, 0, 0, 142, 1280, 1, 0, 0, 0, 144, 1337, 1, 0, 0, 0, 146, 1339, 1, 0, 0, 0, 148, 1344, 1, 0, 0, 0, 150, 1346, 1, 0, 0, 0, 152, 1356, 1, 0, 0, 0, 154, 1358, 1, 0, 0, 0, 156, 1371, 1, 0, 0, 0, 158, 1375, 1, 0, 0, 0, 160, 1388, 1, 0, 0, 0, 162, 1390, 1, 0, 0, 0, 164, 165, 3, 6, 3, 0, 165, 166, 5, 0, 0, 1, 166, 177, 1, 0, 0, 0, 167, 168, 3, 20, 10, 0, 168, 169, 5, 0, 0, 1, 169, 177, 1, 0, 0, 0, 170, 171, 3, 52, 26, 0, 171, 172, 5, 0, 0, 1, 172, 177, 1, 0, 0, 0, 173, 174, 3, 2, 1, 0, 174, 175, 5, 0, 0, 1, 175, 177, 1, 0, 0, 0, 176, 164, 1, 0, 0, 0, 176, 167, 1, 0, 0, 0, 176, 170, 1, 0, 0, 0, 176, 173, 1, 0, 0, 0, 177, 1, 1, 0, 0, 0, 178, 179, 5, 40, 0, 0, 179, 183, 5, 137, 0, 0, 180, 182, 3, 8, 4, 0, 181, 180, 1, 0, 0, 0, 182, 185, 1, 0, 0, 0, 183, 181, 1, 0, 0, 0, 183, 184, 1, 0, 0, 0, 184, 186, 1, 0, 0, 0, 185, 183, 1, 0, 0, 0, 186, 187, 5, 138, 0, 0, 187, 3, 1, 0, 0, 0, 188, 189, 5, 41, 0, 0, 189, 190, 3, 162, 81, 0, 190, 191, 5, 134, 0, 0, 191, 5, 1, 0, 0, 0, 192, 193, 5, 9, 0, 0, 193, 194, 3, 160, 80, 0, 194, 195, 5, 84, 0, 0, 195, 196, 3, 162, 81, 0, 196, 197, 5, 77, 0, 0, 197, 198, 3, 162, 81, 0, 198, 199, 5, 76, 0, 0, 199, 200, 3, 162, 81, 0, 200, 204, 5, 137, 0, 0, 201, 203, 3, 8, 4, 0, 202, 201, 1, 0, 0, 0, 203, 206, 1, 0, 0, 0, 204, 202, 1, 0, 0, 0, 204, 205, 1, 0, 0, 0, 205, 207, 1, 0, 0, 0, 206, 204, 1, 0, 0, 0, 207, 208, 5, 138, 0, 0, 208, 7, 1, 0, 0, 0, 209, 218, 3, 4, 2, 0, 210, 218, 3, 18, 9, 0, 211, 218, 3, 10, 5, 0, 212, 218, 3, 96, 48, 0, 213, 218, 3, 108, 54, 0, 214, 218, 3, 142, 71, 0, 215, 218, 3, 58, 29, 0, 216, 218, 3, 32, 16, 0, 217, 209, 1, 0, 0, 0, 217, 210, 1, 0, 0, 0, 217, 211, 1, 0, 0, 0, 217, 212, 1, 0, 0, 0, 217, 213, 1, 0, 0, 0, 217, 214, 1, 0, 0, 0, 217, 215, 1, 0, 0, 0, 217, 216, 1, 0, 0, 0, 218, 9, 1, 0, 0, 0, 219, 220, 5, 41, 0, 0, 220, 221, 5, 44, 0, 0, 221, 222, 3, 160, 80, 0, 222, 223, 5, 134, 0, 0, 223, 230, 1, 0, 0, 0, 224, 225, 5, 41, 0, 0, 225, 226, 5, 46, 0, 0, 226, 227, 3, 160, 80, 0, 227, 228, 5, 134, 0, 0, 228, 230, 1, 0, 0, 0, 229, 219, 1, 0, 0, 0, 229, 224, 1, 0, 0, 0, 230, 11, 1, 0, 0, 0, 231, 232, 5, 42, 0, 0, 232, 233, 5, 43, 0, 0, 233, 234, 3, 160, 80, 0, 234, 235, 5, 84, 0, 0, 235, 236, 3, 162, 81, 0, 236, 237, 5, 134, 0, 0, 237, 13, 1, 0, 0, 0, 238, 239, 5, 42, 0, 0, 239, 240, 5, 44, 0, 0, 240, 241, 3, 160, 80, 0, 241, 242, 5, 77, 0, 0, 242, 243, 3, 162, 81, 0, 243, 244, 5, 134, 0, 0, 244, 15, 1, 0, 0, 0, 245, 250, 3, 10, 5, 0, 246, 250, 3, 12, 6, 0, 247, 250, 3, 14, 7, 0, 248, 250, 3, 32, 16, 0, 249, 245, 1, 0, 0, 0, 249, 246, 1, 0, 0, 0, 249, 247, 1, 0, 0, 0, 249, 248, 1, 0, 0, 0, 250, 17, 1, 0, 0, 0, 251, 252, 5, 43, 0, 0, 252, 253, 3, 160, 80, 0, 253, 254, 5, 84, 0, 0, 254, 257, 3, 162, 81, 0, 255, 256, 5, 85, 0, 0, 256, 258, 3, 162, 81, 0, 257, 255, 1, 0, 0, 0, 257, 258, 1, 0, 0, 0, 258, 259, 1, 0, 0, 0, 259, 260, 5, 134, 0, 0, 260, 19, 1, 0, 0, 0, 261, 263, 3, 16, 8, 0, 262, 261, 1, 0, 0, 0, 263, 266, 1, 0, 0, 0, 264, 262, 1, 0, 0, 0, 264, 265, 1, 0, 0, 0, 265, 267, 1, 0, 0, 0, 266, 264, 1, 0, 0, 0, 267, 268, 5, 44, 0, 0, 268, 270, 3, 160, 80, 0, 269, 271, 3, 22, 11, 0, 270, 269, 1, 0, 0, 0, 270, 271, 1, 0, 0, 0, 271, 272, 1, 0, 0, 0, 272, 273, 5, 84, 0, 0, 273, 274, 3, 162, 81, 0, 274, 275, 5, 77, 0, 0, 275, 285, 3, 162, 81, 0, 276, 277, 5, 89, 0, 0, 277, 282, 3, 26, 13, 0, 278, 279, 5, 135, 0, 0, 279, 281, 3, 26, 13, 0, 280, 278, 1, 0, 0, 0, 281, 284, 1, 0, 0, 0, 282, 280, 1, 0, 0, 0, 282, 283, 1, 0, 0, 0, 283, 286, 1, 0, 0, 0, 284, 282, 1, 0, 0, 0, 285, 276, 1, 0, 0, 0, 285, 286, 1, 0, 0, 0, 286, 287, 1, 0, 0, 0, 287, 291, 5, 137, 0, 0, 288, 290, 3, 34, 17, 0, 289, 288, 1, 0, 0, 0, 290, 293, 1, 0, 0, 0, 291, 289, 1, 0, 0, 0, 291, 292, 1, 0, 0, 0, 292, 294, 1, 0, 0, 0, 293, 291, 1, 0, 0, 0, 294, 295, 5, 138, 0, 0, 295, 21, 1, 0, 0, 0, 296, 297, 5, 143, 0, 0, 297, 302, 3, 24, 12, 0, 298, 299, 5, 135, 0, 0, 299, 301, 3, 24, 12, 0, 300, 298, 1, 0, 0, 0, 301, 304, 1, 0, 0, 0, 302, 300, 1, 0, 0, 0, 302, 303, 1, 0, 0, 0, 303, 305, 1, 0, 0, 0, 304, 302, 1, 0, 0, 0, 305, 306, 5, 144, 0, 0, 306, 23, 1, 0, 0, 0, 307, 308, 5, 47, 0, 0, 308, 311, 3, 160, 80, 0, 309, 310, 5, 133, 0, 0, 310, 312, 5, 37, 0, 0, 311, 309, 1, 0, 0, 0, 311, 312, 1, 0, 0, 0, 312, 327, 1, 0, 0, 0, 313, 314, 5, 36, 0, 0, 314, 324, 3, 160, 80, 0, 315, 316, 5, 38, 0, 0, 316, 321, 3, 26, 13, 0, 317, 318, 5, 145, 0, 0, 318, 320, 3, 26, 13, 0, 319, 317, 1, 0, 0, 0, 320, 323, 1, 0, 0, 0, 321, 319, 1, 0, 0, 0, 321, 322, 1, 0, 0, 0, 322, 325, 1, 0, 0, 0, 323, 321, 1, 0, 0, 0, 324, 315, 1, 0, 0, 0, 324, 325, 1, 0, 0, 0, 325, 327, 1, 0, 0, 0, 326, 307, 1, 0, 0, 0, 326, 313, 1, 0, 0, 0, 327, 25, 1, 0, 0, 0, 328, 330, 3, 160, 80, 0, 329, 331, 3, 28, 14, 0, 330, 329, 1, 0, 0, 0, 330, 331, 1, 0, 0, 0, 331, 27, 1, 0, 0, 0, 332, 333, 5, 143, 0, 0, 333, 338, 3, 30, 15, 0, 334, 335, 5, 135, 0, 0, 335, 337, 3, 30, 15, 0, 336, 334, 1, 0, 0, 0, 337, 340, 1, 0, 0, 0, 338, 336, 1, 0, 0, 0, 338, 339, 1, 0, 0, 0, 339, 341, 1, 0, 0, 0, 340, 338, 1, 0, 0, 0, 341, 342, 5, 144, 0, 0, 342, 29, 1, 0, 0, 0, 343, 344, 5, 43, 0, 0, 344, 351, 3, 160, 80, 0, 345, 346, 5, 44, 0, 0, 346, 351, 3, 26, 13, 0, 347, 348, 5, 36, 0, 0, 348, 351, 3, 160, 80, 0, 349, 351, 3, 144, 72, 0, 350, 343, 1, 0, 0, 0, 350, 345, 1, 0, 0, 0, 350, 347, 1, 0, 0, 0, 350, 349, 1, 0, 0, 0, 351, 31, 1, 0, 0, 0, 352, 353, 5, 35, 0, 0, 353, 355, 3, 160, 80, 0, 354, 356, 3, 22, 11, 0, 355, 354, 1, 0, 0, 0, 355, 356, 1, 0, 0, 0, 356, 357, 1, 0, 0, 0, 357, 358, 5, 146, 0, 0, 358, 359, 3, 144, 72, 0, 359, 360, 5, 134, 0, 0, 360, 33, 1, 0, 0, 0, 361, 366, 3, 40, 20, 0, 362, 366, 3, 44, 22, 0, 363, 366, 3, 38, 19, 0, 364, 366, 3, 36, 18, 0, 365, 361, 1, 0, 0, 0, 365, 362, 1, 0, 0, 0, 365, 363, 1, 0, 0, 0, 365, 364, 1, 0, 0, 0, 366, 35, 1, 0, 0, 0, 367, 368, 5, 2, 0, 0, 368, 369, 3, 160, 80, 0, 369, 370, 5, 84, 0, 0, 370, 371, 3, 162, 81, 0, 371, 372, 5, 3, 0, 0, 372, 375, 3, 162, 81, 0, 373, 374, 5, 5, 0, 0, 374, 376, 3, 50, 25, 0, 375, 373, 1, 0, 0, 0, 375, 376, 1, 0, 0, 0, 376, 377, 1, 0, 0, 0, 377, 378, 5, 134, 0, 0, 378, 37, 1, 0, 0, 0, 379, 381, 5, 57, 0, 0, 380, 379, 1, 0, 0, 0, 380, 381, 1, 0, 0, 0, 381, 382, 1, 0, 0, 0, 382, 383, 5, 49, 0, 0, 383, 384, 3, 160, 80, 0, 384, 385, 5, 84, 0, 0, 385, 386, 3, 162, 81, 0, 386, 387, 5, 133, 0, 0, 387, 388, 3, 144, 72, 0, 388, 389, 5, 132, 0, 0, 389, 390, 3, 144, 72, 0, 390, 391, 5, 137, 0, 0, 391, 392, 5, 101, 0, 0, 392, 393, 5, 84, 0, 0, 393, 395, 3, 162, 81, 0, 394, 396, 3, 74, 37, 0, 395, 394, 1, 0, 0, 0, 395, 396, 1, 0, 0, 0, 396, 397, 1, 0, 0, 0, 397, 398, 5, 134, 0, 0, 398, 399, 5, 138, 0, 0, 399, 39, 1, 0, 0, 0, 400, 402, 3, 46, 23, 0, 401, 400, 1, 0, 0, 0, 401, 402, 1, 0, 0, 0, 402, 403, 1, 0, 0, 0, 403, 404, 5, 47, 0, 0, 404, 405, 3, 160, 80, 0, 405, 406, 5, 84, 0, 0, 406, 407, 3, 162, 81, 0, 407, 408, 5, 133, 0, 0, 408, 409, 3, 144, 72, 0, 409, 413, 5, 137, 0, 0, 410, 412, 3, 42, 21, 0, 411, 410, 1, 0, 0, 0, 412, 415, 1, 0, 0, 0, 413, 411, 1, 0, 0, 0, 413, 414, 1, 0, 0, 0, 414, 416, 1, 0, 0, 0, 415, 413, 1, 0, 0, 0, 416, 417, 5, 138, 0, 0, 417, 41, 1, 0, 0, 0, 418, 419, 5, 91, 0, 0, 419, 420, 5, 84, 0, 0, 420, 422, 3, 162, 81, 0, 421, 423, 3, 74, 37, 0, 422, 421, 1, 0, 0, 0, 422, 423, 1, 0, 0, 0, 423, 424, 1, 0, 0, 0, 424, 425, 5, 134, 0, 0, 425, 452, 1, 0, 0, 0, 426, 427, 5, 92, 0, 0, 427, 428, 5, 84, 0, 0, 428, 430, 3, 162, 81, 0, 429, 431, 3, 74, 37, 0, 430, 429, 1, 0, 0, 0, 430, 431, 1, 0, 0, 0, 431, 432, 1, 0, 0, 0, 432, 433, 5, 134, 0, 0, 433, 452, 1, 0, 0, 0, 434, 435, 5, 1, 0, 0, 435, 436, 5, 84, 0, 0, 436, 438, 3, 162, 81, 0, 437, 439, 3, 74, 37, 0, 438, 437, 1, 0, 0, 0, 438, 439, 1, 0, 0, 0, 439, 440, 1, 0, 0, 0, 440, 441, 5, 134, 0, 0, 441, 452, 1, 0, 0, 0, 442, 443, 5, 93, 0, 0, 443, 444, 5, 94, 0, 0, 444, 445, 5, 84, 0, 0, 445, 446, 3, 162, 81, 0, 446, 447, 5, 95, 0, 0, 447, 448, 5, 84, 0, 0, 448, 449, 3, 162, 81, 0, 449, 450, 5, 134, 0, 0, 450, 452, 1, 0, 0, 0, 451, 418, 1, 0, 0, 0, 451, 426, 1, 0, 0, 0, 451, 434, 1, 0, 0, 0, 451, 442, 1, 0, 0, 0, 452, 43, 1, 0, 0, 0, 453, 455, 3, 46, 23, 0, 454, 453, 1, 0, 0, 0, 454, 455, 1, 0, 0, 0, 455, 456, 1, 0, 0, 0, 456, 457, 5, 48, 0, 0, 457, 458, 3, 160, 80, 0, 458, 459, 5, 84, 0, 0, 459, 460, 3, 162, 81, 0, 460, 461, 5, 133, 0, 0, 461, 462, 3, 150, 75, 0, 462, 464, 3, 50, 25, 0, 463, 465, 5, 112, 0, 0, 464, 463, 1, 0, 0, 0, 464, 465, 1, 0, 0, 0, 465, 468, 1, 0, 0, 0, 466, 467, 5, 82, 0, 0, 467, 469, 3, 162, 81, 0, 468, 466, 1, 0, 0, 0, 468, 469, 1, 0, 0, 0, 469, 470, 1, 0, 0, 0, 470, 474, 5, 137, 0, 0, 471, 473, 3, 48, 24, 0, 472, 471, 1, 0, 0, 0, 473, 476, 1, 0, 0, 0, 474, 472, 1, 0, 0, 0, 474, 475, 1, 0, 0, 0, 475, 477, 1, 0, 0, 0, 476, 474, 1, 0, 0, 0, 477, 478, 5, 138, 0, 0, 478, 45, 1, 0, 0, 0, 479, 481, 5, 32, 0, 0, 480, 482, 7, 0, 0, 0, 481, 480, 1, 0, 0, 0, 481, 482, 1, 0, 0, 0, 482, 47, 1, 0, 0, 0, 483, 484, 5, 98, 0, 0, 484, 485, 5, 84, 0, 0, 485, 487, 3, 162, 81, 0, 486, 488, 3, 74, 37, 0, 487, 486, 1, 0, 0, 0, 487, 488, 1, 0, 0, 0, 488, 489, 1, 0, 0, 0, 489, 490, 5, 134, 0, 0, 490, 517, 1, 0, 0, 0, 491, 492, 5, 99, 0, 0, 492, 493, 5, 84, 0, 0, 493, 495, 3, 162, 81, 0, 494, 496, 3, 74, 37, 0, 495, 494, 1, 0, 0, 0, 495, 496, 1, 0, 0, 0, 496, 497, 1, 0, 0, 0, 497, 498, 5, 134, 0, 0, 498, 517, 1, 0, 0, 0, 499, 500, 5, 100, 0, 0, 500, 501, 5, 84, 0, 0, 501, 503, 3, 162, 81, 0, 502, 504, 3, 74, 37, 0, 503, 502, 1, 0, 0, 0, 503, 504, 1, 0, 0, 0, 504, 505, 1, 0, 0, 0, 505, 506, 5, 134, 0, 0, 506, 517, 1, 0, 0, 0, 507, 508, 5, 93, 0, 0, 508, 509, 5, 94, 0, 0, 509, 510, 5, 84, 0, 0, 510, 511, 3, 162, 81, 0, 511, 512, 5, 95, 0, 0, 512, 513, 5, 84, 0, 0, 513, 514, 3, 162, 81, 0, 514, 515, 5, 134, 0, 0, 515, 517, 1, 0, 0, 0, 516, 483, 1, 0, 0, 0, 516, 491, 1, 0, 0, 0, 516, 499, 1, 0, 0, 0, 516, 507, 1, 0, 0, 0, 517, 49, 1, 0, 0, 0, 518, 519, 5, 43, 0, 0, 519, 528, 3, 160, 80, 0, 520, 521, 5, 44, 0, 0, 521, 523, 3, 160, 80, 0, 522, 524, 3, 28, 14, 0, 523, 522, 1, 0, 0, 0, 523, 524, 1, 0, 0, 0, 524, 528, 1, 0, 0, 0, 525, 526, 5, 36, 0, 0, 526, 528, 3, 160, 80, 0, 527, 518, 1, 0, 0, 0, 527, 520, 1, 0, 0, 0, 527, 525, 1, 0, 0, 0, 528, 51, 1, 0, 0, 0, 529, 531, 3, 16, 8, 0, 530, 529, 1, 0, 0, 0, 531, 534, 1, 0, 0, 0, 532, 530, 1, 0, 0, 0, 532, 533, 1, 0, 0, 0, 533, 535, 1, 0, 0, 0, 534, 532, 1, 0, 0, 0, 535, 536, 5, 46, 0, 0, 536, 537, 3, 160, 80, 0, 537, 538, 5, 84, 0, 0, 538, 539, 3, 162, 81, 0, 539, 540, 5, 77, 0, 0, 540, 543, 3, 162, 81, 0, 541, 542, 5, 78, 0, 0, 542, 544, 5, 147, 0, 0, 543, 541, 1, 0, 0, 0, 543, 544, 1, 0, 0, 0, 544, 545, 1, 0, 0, 0, 545, 549, 5, 137, 0, 0, 546, 548, 3, 54, 27, 0, 547, 546, 1, 0, 0, 0, 548, 551, 1, 0, 0, 0, 549, 547, 1, 0, 0, 0, 549, 550, 1, 0, 0, 0, 550, 552, 1, 0, 0, 0, 551, 549, 1, 0, 0, 0, 552, 553, 5, 138, 0, 0, 553, 53, 1, 0, 0, 0, 554, 561, 3, 68, 34, 0, 555, 561, 3, 70, 35, 0, 556, 561, 3, 78, 39, 0, 557, 561, 3, 60, 30, 0, 558, 561, 3, 62, 31, 0, 559, 561, 3, 56, 28, 0, 560, 554, 1, 0, 0, 0, 560, 555, 1, 0, 0, 0, 560, 556, 1, 0, 0, 0, 560, 557, 1, 0, 0, 0, 560, 558, 1, 0, 0, 0, 560, 559, 1, 0, 0, 0, 561, 55, 1, 0, 0, 0, 562, 563, 5, 2, 0, 0, 563, 564, 3, 160, 80, 0, 564, 565, 5, 84, 0, 0, 565, 566, 3, 162, 81, 0, 566, 567, 5, 38, 0, 0, 567, 568, 3, 26, 13, 0, 568, 569, 5, 136, 0, 0, 569, 570, 3, 160, 80, 0, 570, 571, 5, 134, 0, 0, 571, 57, 1, 0, 0, 0, 572, 573, 5, 4, 0, 0, 573, 574, 3, 160, 80, 0, 574, 575, 5, 84, 0, 0, 575, 576, 3, 162, 81, 0, 576, 577, 5, 6, 0, 0, 577, 578, 3, 26, 13, 0, 578, 579, 5, 65, 0, 0, 579, 580, 3, 160, 80, 0, 580, 581, 5, 136, 0, 0, 581, 582, 3, 160, 80, 0, 582, 583, 5, 134, 0, 0, 583, 59, 1, 0, 0, 0, 584, 586, 5, 22, 0, 0, 585, 587, 5, 40, 0, 0, 586, 585, 1, 0, 0, 0, 586, 587, 1, 0, 0, 0, 587, 588, 1, 0, 0, 0, 588, 590, 3, 160, 80, 0, 589, 591, 3, 22, 11, 0, 590, 589, 1, 0, 0, 0, 590, 591, 1, 0, 0, 0, 591, 592, 1, 0, 0, 0, 592, 593, 5, 84, 0, 0, 593, 594, 3, 162, 81, 0, 594, 596, 5, 25, 0, 0, 595, 597, 5, 9, 0, 0, 596, 595, 1, 0, 0, 0, 596, 597, 1, 0, 0, 0, 597, 598, 1, 0, 0, 0, 598, 599, 3, 26, 13, 0, 599, 600, 5, 26, 0, 0, 600, 629, 3, 162, 81, 0, 601, 602, 5, 49, 0, 0, 602, 603, 3, 162, 81, 0, 603, 607, 5, 137, 0, 0, 604, 606, 3, 64, 32, 0, 605, 604, 1, 0, 0, 0, 606, 609, 1, 0, 0, 0, 607, 605, 1, 0, 0, 0, 607, 608, 1, 0, 0, 0, 608, 610, 1, 0, 0, 0, 609, 607, 1, 0, 0, 0, 610, 611, 5, 138, 0, 0, 611, 630, 1, 0, 0, 0, 612, 613, 5, 40, 0, 0, 613, 616, 3, 162, 81, 0, 614, 615, 5, 49, 0, 0, 615, 617, 3, 162, 81, 0, 616, 614, 1, 0, 0, 0, 616, 617, 1, 0, 0, 0, 617, 627, 1, 0, 0, 0, 618, 622, 5, 137, 0, 0, 619, 621, 3, 64, 32, 0, 620, 619, 1, 0, 0, 0, 621, 624, 1, 0, 0, 0, 622, 620, 1, 0, 0, 0, 622, 623, 1, 0, 0, 0, 623, 625, 1, 0, 0, 0, 624, 622, 1, 0, 0, 0, 625, 628, 5, 138, 0, 0, 626, 628, 5, 134, 0, 0, 627, 618, 1, 0, 0, 0, 627, 626, 1, 0, 0, 0, 628, 630, 1, 0, 0, 0, 629, 601, 1, 0, 0, 0, 629, 612, 1, 0, 0, 0, 630, 61, 1, 0, 0, 0, 631, 632, 5, 22, 0, 0, 632, 633, 3, 160, 80, 0, 633, 634, 5, 84, 0, 0, 634, 635, 3, 162, 81, 0, 635, 636, 5, 24, 0, 0, 636, 637, 3, 160, 80, 0, 637, 638, 3, 28, 14, 0, 638, 639, 5, 134, 0, 0, 639, 63, 1, 0, 0, 0, 640, 641, 5, 16, 0, 0, 641, 698, 5, 134, 0, 0, 642, 643, 5, 17, 0, 0, 643, 644, 5, 18, 0, 0, 644, 645, 3, 160, 80, 0, 645, 646, 5, 134, 0, 0, 646, 698, 1, 0, 0, 0, 647, 648, 5, 27, 0, 0, 648, 649, 3, 162, 81, 0, 649, 650, 5, 134, 0, 0, 650, 698, 1, 0, 0, 0, 651, 652, 5, 27, 0, 0, 652, 653, 3, 160, 80, 0, 653, 654, 5, 136, 0, 0, 654, 664, 3, 160, 80, 0, 655, 656, 5, 64, 0, 0, 656, 660, 5, 137, 0, 0, 657, 659, 3, 66, 33, 0, 658, 657, 1, 0, 0, 0, 659, 662, 1, 0, 0, 0, 660, 658, 1, 0, 0, 0, 660, 661, 1, 0, 0, 0, 661, 663, 1, 0, 0, 0, 662, 660, 1, 0, 0, 0, 663, 665, 5, 138, 0, 0, 664, 655, 1, 0, 0, 0, 664, 665, 1, 0, 0, 0, 665, 666, 1, 0, 0, 0, 666, 667, 5, 134, 0, 0, 667, 698, 1, 0, 0, 0, 668, 670, 5, 28, 0, 0, 669, 671, 5, 36, 0, 0, 670, 669, 1, 0, 0, 0, 670, 671, 1, 0, 0, 0, 671, 672, 1, 0, 0, 0, 672, 673, 3, 160, 80, 0, 673, 674, 5, 55, 0, 0, 674, 675, 3, 26, 13, 0, 675, 676, 5, 134, 0, 0, 676, 698, 1, 0, 0, 0, 677, 678, 5, 29, 0, 0, 678, 679, 3, 160, 80, 0, 679, 680, 5, 147, 0, 0, 680, 681, 5, 134, 0, 0, 681, 698, 1, 0, 0, 0, 682, 683, 5, 30, 0, 0, 683, 684, 3, 26, 13, 0, 684, 685, 5, 136, 0, 0, 685, 686, 3, 160, 80, 0, 686, 687, 3, 160, 80, 0, 687, 688, 3, 162, 81, 0, 688, 689, 5, 134, 0, 0, 689, 698, 1, 0, 0, 0, 690, 691, 5, 93, 0, 0, 691, 698, 5, 134, 0, 0, 692, 693, 5, 31, 0, 0, 693, 694, 5, 147, 0, 0, 694, 695, 3, 162, 81, 0, 695, 696, 5, 134, 0, 0, 696, 698, 1, 0, 0, 0, 697, 640, 1, 0, 0, 0, 697, 642, 1, 0, 0, 0, 697, 647, 1, 0, 0, 0, 697, 651, 1, 0, 0, 0, 697, 668, 1, 0, 0, 0, 697, 677, 1, 0, 0, 0, 697, 682, 1, 0, 0, 0, 697, 690, 1, 0, 0, 0, 697, 692, 1, 0, 0, 0, 698, 65, 1, 0, 0, 0, 699, 700, 3, 160, 80, 0, 700, 701, 5, 58, 0, 0, 701, 702, 3, 160, 80, 0, 702, 703, 5, 134, 0, 0, 703, 67, 1, 0, 0, 0, 704, 705, 5, 49, 0, 0, 705, 707, 3, 160, 80, 0, 706, 708, 3, 22, 11, 0, 707, 706, 1, 0, 0, 0, 707, 708, 1, 0, 0, 0, 708, 709, 1, 0, 0, 0, 709, 710, 5, 84, 0, 0, 710, 711, 3, 162, 81, 0, 711, 712, 5, 133, 0, 0, 712, 713, 3, 144, 72, 0, 713, 714, 5, 132, 0, 0, 714, 715, 3, 144, 72, 0, 715, 716, 5, 86, 0, 0, 716, 718, 3, 82, 41, 0, 717, 719, 3, 74, 37, 0, 718, 717, 1, 0, 0, 0, 718, 719, 1, 0, 0, 0, 719, 721, 1, 0, 0, 0, 720, 722, 3, 80, 40, 0, 721, 720, 1, 0, 0, 0, 721, 722, 1, 0, 0, 0, 722, 723, 1, 0, 0, 0, 723, 724, 5, 88, 0, 0, 724, 726, 3, 84, 42, 0, 725, 727, 3, 88, 44, 0, 726, 725, 1, 0, 0, 0, 726, 727, 1, 0, 0, 0, 727, 729, 1, 0, 0, 0, 728, 730, 3, 72, 36, 0, 729, 728, 1, 0, 0, 0, 729, 730, 1, 0, 0, 0, 730, 731, 1, 0, 0, 0, 731, 732, 5, 134, 0, 0, 732, 69, 1, 0, 0, 0, 733, 734, 5, 50, 0, 0, 734, 736, 3, 160, 80, 0, 735, 737, 3, 22, 11, 0, 736, 735, 1, 0, 0, 0, 736, 737, 1, 0, 0, 0, 737, 738, 1, 0, 0, 0, 738, 739, 5, 84, 0, 0, 739, 740, 3, 162, 81, 0, 740, 741, 5, 133, 0, 0, 741, 742, 3, 144, 72, 0, 742, 743, 5, 132, 0, 0, 743, 745, 3, 144, 72, 0, 744, 746, 3, 74, 37, 0, 745, 744, 1, 0, 0, 0, 745, 746, 1, 0, 0, 0, 746, 748, 1, 0, 0, 0, 747, 749, 3, 88, 44, 0, 748, 747, 1, 0, 0, 0, 748, 749, 1, 0, 0, 0, 749, 751, 1, 0, 0, 0, 750, 752, 3, 72, 36, 0, 751, 750, 1, 0, 0, 0, 751, 752, 1, 0, 0, 0, 752, 753, 1, 0, 0, 0, 753, 754, 5, 134, 0, 0, 754, 71, 1, 0, 0, 0, 755, 756, 5, 66, 0, 0, 756, 757, 5, 65, 0, 0, 757, 758, 3, 160, 80, 0, 758, 73, 1, 0, 0, 0, 759, 760, 5, 10, 0, 0, 760, 769, 5, 13, 0, 0, 761, 762, 5, 10, 0, 0, 762, 763, 7, 1, 0, 0, 763, 764, 5, 14, 0, 0, 764, 765, 5, 139, 0, 0, 765, 766, 3, 86, 43, 0, 766, 767, 5, 140, 0, 0, 767, 769, 1, 0, 0, 0, 768, 759, 1, 0, 0, 0, 768, 761, 1, 0, 0, 0, 769, 75, 1, 0, 0, 0, 770, 771, 5, 65, 0, 0, 771, 772, 5, 139, 0, 0, 772, 777, 3, 126, 63, 0, 773, 774, 5, 135, 0, 0, 774, 776, 3, 126, 63, 0, 775, 773, 1, 0, 0, 0, 776, 779, 1, 0, 0, 0, 777, 775, 1, 0, 0, 0, 777, 778, 1, 0, 0, 0, 778, 780, 1, 0, 0, 0, 779, 777, 1, 0, 0, 0, 780, 781, 5, 140, 0, 0, 781, 77, 1, 0, 0, 0, 782, 783, 5, 51, 0, 0, 783, 784, 3, 160, 80, 0, 784, 785, 5, 84, 0, 0, 785, 786, 3, 162, 81, 0, 786, 787, 5, 52, 0, 0, 787, 788, 3, 160, 80, 0, 788, 789, 5, 133, 0, 0, 789, 791, 3, 144, 72, 0, 790, 792, 3, 88, 44, 0, 791, 790, 1, 0, 0, 0, 791, 792, 1, 0, 0, 0, 792, 793, 1, 0, 0, 0, 793, 794, 5, 134, 0, 0, 794, 79, 1, 0, 0, 0, 795, 796, 5, 87, 0, 0, 796, 797, 3, 144, 72, 0, 797, 81, 1, 0, 0, 0, 798, 799, 7, 2, 0, 0, 799, 83, 1, 0, 0, 0, 800, 819, 5, 90, 0, 0, 801, 802, 5, 43, 0, 0, 802, 819, 3, 160, 80, 0, 803, 804, 5, 36, 0, 0, 804, 819, 3, 160, 80, 0, 805, 806, 5, 45, 0, 0, 806, 815, 5, 139, 0, 0, 807, 812, 3, 26, 13, 0, 808, 809, 5, 135, 0, 0, 809, 811, 3, 26, 13, 0, 810, 808, 1, 0, 0, 0, 811, 814, 1, 0, 0, 0, 812, 810, 1, 0, 0, 0, 812, 813, 1, 0, 0, 0, 813, 816, 1, 0, 0, 0, 814, 812, 1, 0, 0, 0, 815, 807, 1, 0, 0, 0, 815, 816, 1, 0, 0, 0, 816, 817, 1, 0, 0, 0, 817, 819, 5, 140, 0, 0, 818, 800, 1, 0, 0, 0, 818, 801, 1, 0, 0, 0, 818, 803, 1, 0, 0, 0, 818, 805, 1, 0, 0, 0, 819, 85, 1, 0, 0, 0, 820, 825, 3, 160, 80, 0, 821, 822, 5, 135, 0, 0, 822, 824, 3, 160, 80, 0, 823, 821, 1, 0, 0, 0, 824, 827, 1, 0, 0, 0, 825, 823, 1, 0, 0, 0, 825, 826, 1, 0, 0, 0, 826, 87, 1, 0, 0, 0, 827, 825, 1, 0, 0, 0, 828, 829, 5, 89, 0, 0, 829, 833, 5, 137, 0, 0, 830, 832, 3, 90, 45, 0, 831, 830, 1, 0, 0, 0, 832, 835, 1, 0, 0, 0, 833, 831, 1, 0, 0, 0, 833, 834, 1, 0, 0, 0, 834, 836, 1, 0, 0, 0, 835, 833, 1, 0, 0, 0, 836, 837, 5, 138, 0, 0, 837, 89, 1, 0, 0, 0, 838, 839, 5, 23, 0, 0, 839, 840, 3, 160, 80, 0, 840, 841, 5, 84, 0, 0, 841, 842, 3, 162, 81, 0, 842, 843, 5, 139, 0, 0, 843, 844, 3, 86, 43, 0, 844, 845, 5, 140, 0, 0, 845, 846, 5, 134, 0, 0, 846, 917, 1, 0, 0, 0, 847, 848, 5, 61, 0, 0, 848, 849, 3, 160, 80, 0, 849, 850, 5, 84, 0, 0, 850, 851, 3, 162, 81, 0, 851, 852, 5, 133, 0, 0, 852, 853, 3, 144, 72, 0, 853, 854, 3, 92, 46, 0, 854, 855, 5, 134, 0, 0, 855, 917, 1, 0, 0, 0, 856, 857, 5, 62, 0, 0, 857, 858, 3, 160, 80, 0, 858, 859, 5, 84, 0, 0, 859, 860, 3, 162, 81, 0, 860, 861, 5, 133, 0, 0, 861, 862, 3, 150, 75, 0, 862, 863, 3, 50, 25, 0, 863, 864, 3, 92, 46, 0, 864, 865, 5, 134, 0, 0, 865, 917, 1, 0, 0, 0, 866, 867, 5, 44, 0, 0, 867, 868, 3, 160, 80, 0, 868, 869, 5, 84, 0, 0, 869, 870, 3, 162, 81, 0, 870, 871, 5, 133, 0, 0, 871, 873, 3, 160, 80, 0, 872, 874, 3, 28, 14, 0, 873, 872, 1, 0, 0, 0, 873, 874, 1, 0, 0, 0, 874, 876, 1, 0, 0, 0, 875, 877, 3, 76, 38, 0, 876, 875, 1, 0, 0, 0, 876, 877, 1, 0, 0, 0, 877, 880, 1, 0, 0, 0, 878, 879, 5, 18, 0, 0, 879, 881, 5, 53, 0, 0, 880, 878, 1, 0, 0, 0, 880, 881, 1, 0, 0, 0, 881, 882, 1, 0, 0, 0, 882, 883, 5, 134, 0, 0, 883, 917, 1, 0, 0, 0, 884, 885, 5, 7, 0, 0, 885, 886, 3, 160, 80, 0, 886, 887, 5, 84, 0, 0, 887, 888, 3, 162, 81, 0, 888, 889, 5, 133, 0, 0, 889, 890, 3, 160, 80, 0, 890, 891, 5, 53, 0, 0, 891, 892, 3, 144, 72, 0, 892, 893, 5, 134, 0, 0, 893, 917, 1, 0, 0, 0, 894, 895, 5, 51, 0, 0, 895, 896, 3, 160, 80, 0, 896, 897, 5, 84, 0, 0, 897, 898, 3, 162, 81, 0, 898, 899, 5, 133, 0, 0, 899, 902, 3, 160, 80, 0, 900, 901, 5, 53, 0, 0, 901, 903, 3, 144, 72, 0, 902, 900, 1, 0, 0, 0, 902, 903, 1, 0, 0, 0, 903, 904, 1, 0, 0, 0, 904, 905, 5, 134, 0, 0, 905, 917, 1, 0, 0, 0, 906, 907, 5, 22, 0, 0, 907, 908, 3, 160, 80, 0, 908, 909, 5, 84, 0, 0, 909, 910, 3, 162, 81, 0, 910, 911, 5, 133, 0, 0, 911, 912, 3, 160, 80, 0, 912, 913, 5, 136, 0, 0, 913, 914, 3, 160, 80, 0, 914, 915, 5, 134, 0, 0, 915, 917, 1, 0, 0, 0, 916, 838, 1, 0, 0, 0, 916, 847, 1, 0, 0, 0, 916, 856, 1, 0, 0, 0, 916, 866, 1, 0, 0, 0, 916, 884, 1, 0, 0, 0, 916, 894, 1, 0, 0, 0, 916, 906, 1, 0, 0, 0, 917, 91, 1, 0, 0, 0, 918, 919, 5, 139, 0, 0, 919, 924, 3, 94, 47, 0, 920, 921, 5, 135, 0, 0, 921, 923, 3, 94, 47, 0, 922, 920, 1, 0, 0, 0, 923, 926, 1, 0, 0, 0, 924, 922, 1, 0, 0, 0, 924, 925, 1, 0, 0, 0, 925, 927, 1, 0, 0, 0, 926, 924, 1, 0, 0, 0, 927, 928, 5, 140, 0, 0, 928, 93, 1, 0, 0, 0, 929, 930, 7, 3, 0, 0, 930, 95, 1, 0, 0, 0, 931, 932, 5, 60, 0, 0, 932, 933, 3, 98, 49, 0, 933, 97, 1, 0, 0, 0, 934, 937, 3, 100, 50, 0, 935, 937, 3, 104, 52, 0, 936, 934, 1, 0, 0, 0, 936, 935, 1, 0, 0, 0, 937, 99, 1, 0, 0, 0, 938, 939, 5, 61, 0, 0, 939, 940, 3, 160, 80, 0, 940, 941, 5, 84, 0, 0, 941, 942, 3, 162, 81, 0, 942, 943, 5, 71, 0, 0, 943, 944, 3, 160, 80, 0, 944, 945, 5, 133, 0, 0, 945, 946, 3, 144, 72, 0, 946, 947, 5, 72, 0, 0, 947, 950, 3, 102, 51, 0, 948, 949, 5, 73, 0, 0, 949, 951, 3, 152, 76, 0, 950, 948, 1, 0, 0, 0, 950, 951, 1, 0, 0, 0, 951, 952, 1, 0, 0, 0, 952, 953, 5, 134, 0, 0, 953, 101, 1, 0, 0, 0, 954, 961, 5, 106, 0, 0, 955, 956, 5, 107, 0, 0, 956, 957, 5, 141, 0, 0, 957, 958, 3, 144, 72, 0, 958, 959, 5, 142, 0, 0, 959, 961, 1, 0, 0, 0, 960, 954, 1, 0, 0, 0, 960, 955, 1, 0, 0, 0, 961, 103, 1, 0, 0, 0, 962, 963, 5, 62, 0, 0, 963, 964, 3, 160, 80, 0, 964, 965, 5, 84, 0, 0, 965, 966, 3, 162, 81, 0, 966, 967, 5, 137, 0, 0, 967, 968, 3, 106, 53, 0, 968, 969, 3, 106, 53, 0, 969, 970, 5, 138, 0, 0, 970, 105, 1, 0, 0, 0, 971, 972, 3, 50, 25, 0, 972, 973, 5, 63, 0, 0, 973, 974, 3, 160, 80, 0, 974, 975, 5, 84, 0, 0, 975, 976, 3, 162, 81, 0, 976, 978, 3, 150, 75, 0, 977, 979, 5, 112, 0, 0, 978, 977, 1, 0, 0, 0, 978, 979, 1, 0, 0, 0, 979, 982, 1, 0, 0, 0, 980, 981, 5, 79, 0, 0, 981, 983, 3, 162, 81, 0, 982, 980, 1, 0, 0, 0, 982, 983, 1, 0, 0, 0, 983, 985, 1, 0, 0, 0, 984, 986, 5, 81, 0, 0, 985, 984, 1, 0, 0, 0, 985, 986, 1, 0, 0, 0, 986, 989, 1, 0, 0, 0, 987, 988, 5, 82, 0, 0, 988, 990, 3, 162, 81, 0, 989, 987, 1, 0, 0, 0, 989, 990, 1, 0, 0, 0, 990, 992, 1, 0, 0, 0, 991, 993, 5, 83, 0, 0, 992, 991, 1, 0, 0, 0, 992, 993, 1, 0, 0, 0, 993, 994, 1, 0, 0, 0, 994, 995, 5, 134, 0, 0, 995, 107, 1, 0, 0, 0, 996, 997, 5, 54, 0, 0, 997, 998, 3, 160, 80, 0, 998, 999, 5, 55, 0, 0, 999, 1001, 3, 160, 80, 0, 1000, 1002, 3, 28, 14, 0, 1001, 1000, 1, 0, 0, 0, 1001, 1002, 1, 0, 0, 0, 1002, 1005, 1, 0, 0, 0, 1003, 1004, 5, 84, 0, 0, 1004, 1006, 3, 162, 81, 0, 1005, 1003, 1, 0, 0, 0, 1005, 1006, 1, 0, 0, 0, 1006, 1009, 1, 0, 0, 0, 1007, 1008, 5, 78, 0, 0, 1008, 1010, 5, 147, 0, 0, 1009, 1007, 1, 0, 0, 0, 1009, 1010, 1, 0, 0, 0, 1010, 1011, 1, 0, 0, 0, 1011, 1015, 5, 137, 0, 0, 1012, 1014, 3, 110, 55, 0, 1013, 1012, 1, 0, 0, 0, 1014, 1017, 1, 0, 0, 0, 1015, 1013, 1, 0, 0, 0, 1015, 1016, 1, 0, 0, 0, 1016, 1018, 1, 0, 0, 0, 1017, 1015, 1, 0, 0, 0, 1018, 1019, 5, 138, 0, 0, 1019, 109, 1, 0, 0, 0, 1020, 1021, 5, 59, 0, 0, 1021, 1028, 3, 98, 49, 0, 1022, 1028, 3, 124, 62, 0, 1023, 1028, 3, 120, 60, 0, 1024, 1028, 3, 114, 57, 0, 1025, 1028, 3, 122, 61, 0, 1026, 1028, 3, 112, 56, 0, 1027, 1020, 1, 0, 0, 0, 1027, 1022, 1, 0, 0, 0, 1027, 1023, 1, 0, 0, 0, 1027, 1024, 1, 0, 0, 0, 1027, 1025, 1, 0, 0, 0, 1027, 1026, 1, 0, 0, 0, 1028, 111, 1, 0, 0, 0, 1029, 1030, 5, 56, 0, 0, 1030, 1031, 3, 160, 80, 0, 1031, 1032, 5, 58, 0, 0, 1032, 1033, 3, 160, 80, 0, 1033, 1034, 5, 136, 0, 0, 1034, 1035, 3, 160, 80, 0, 1035, 1036, 5, 134, 0, 0, 1036, 113, 1, 0, 0, 0, 1037, 1038, 5, 8, 0, 0, 1038, 1042, 5, 137, 0, 0, 1039, 1041, 3, 116, 58, 0, 1040, 1039, 1, 0, 0, 0, 1041, 1044, 1, 0, 0, 0, 1042, 1040, 1, 0, 0, 0, 1042, 1043, 1, 0, 0, 0, 1043, 1045, 1, 0, 0, 0, 1044, 1042, 1, 0, 0, 0, 1045, 1046, 5, 138, 0, 0, 1046, 1047, 5, 134, 0, 0, 1047, 115, 1, 0, 0, 0, 1048, 1049, 3, 160, 80, 0, 1049, 1050, 5, 58, 0, 0, 1050, 1051, 5, 61, 0, 0, 1051, 1052, 3, 160, 80, 0, 1052, 1053, 5, 134, 0, 0, 1053, 1063, 1, 0, 0, 0, 1054, 1055, 3, 160, 80, 0, 1055, 1056, 5, 58, 0, 0, 1056, 1057, 5, 62, 0, 0, 1057, 1058, 3, 160, 80, 0, 1058, 1059, 5, 136, 0, 0, 1059, 1060, 3, 160, 80, 0, 1060, 1061, 5, 134, 0, 0, 1061, 1063, 1, 0, 0, 0, 1062, 1048, 1, 0, 0, 0, 1062, 1054, 1, 0, 0, 0, 1063, 117, 1, 0, 0, 0, 1064, 1065, 3, 26, 13, 0, 1065, 1066, 5, 18, 0, 0, 1066, 1071, 5, 53, 0, 0, 1067, 1068, 5, 136, 0, 0, 1068, 1070, 3, 160, 80, 0, 1069, 1067, 1, 0, 0, 0, 1070, 1073, 1, 0, 0, 0, 1071, 1069, 1, 0, 0, 0, 1071, 1072, 1, 0, 0, 0, 1072, 1074, 1, 0, 0, 0, 1073, 1071, 1, 0, 0, 0, 1074, 1075, 5, 134, 0, 0, 1075, 119, 1, 0, 0, 0, 1076, 1077, 5, 56, 0, 0, 1077, 1078, 3, 160, 80, 0, 1078, 1079, 5, 58, 0, 0, 1079, 1080, 5, 61, 0, 0, 1080, 1081, 3, 160, 80, 0, 1081, 1082, 5, 134, 0, 0, 1082, 121, 1, 0, 0, 0, 1083, 1084, 5, 68, 0, 0, 1084, 1085, 3, 160, 80, 0, 1085, 1086, 5, 69, 0, 0, 1086, 1087, 5, 70, 0, 0, 1087, 1088, 5, 65, 0, 0, 1088, 1089, 5, 51, 0, 0, 1089, 1090, 3, 160, 80, 0, 1090, 1091, 5, 67, 0, 0, 1091, 1092, 5, 62, 0, 0, 1092, 1093, 3, 160, 80, 0, 1093, 1094, 5, 136, 0, 0, 1094, 1095, 3, 160, 80, 0, 1095, 1096, 5, 134, 0, 0, 1096, 123, 1, 0, 0, 0, 1097, 1098, 5, 56, 0, 0, 1098, 1099, 3, 126, 63, 0, 1099, 1100, 5, 58, 0, 0, 1100, 1103, 3, 130, 65, 0, 1101, 1102, 5, 34, 0, 0, 1102, 1104, 3, 162, 81, 0, 1103, 1101, 1, 0, 0, 0, 1103, 1104, 1, 0, 0, 0, 1104, 1105, 1, 0, 0, 0, 1105, 1106, 5, 134, 0, 0, 1106, 125, 1, 0, 0, 0, 1107, 1108, 3, 160, 80, 0, 1108, 1109, 5, 136, 0, 0, 1109, 1110, 3, 128, 64, 0, 1110, 127, 1, 0, 0, 0, 1111, 1124, 3, 160, 80, 0, 1112, 1124, 5, 101, 0, 0, 1113, 1124, 5, 91, 0, 0, 1114, 1124, 5, 92, 0, 0, 1115, 1124, 5, 1, 0, 0, 1116, 1124, 5, 98, 0, 0, 1117, 1124, 5, 99, 0, 0, 1118, 1124, 5, 100, 0, 0, 1119, 1124, 5, 102, 0, 0, 1120, 1124, 5, 103, 0, 0, 1121, 1124, 5, 104, 0, 0, 1122, 1124, 5, 105, 0, 0, 1123, 1111, 1, 0, 0, 0, 1123, 1112, 1, 0, 0, 0, 1123, 1113, 1, 0, 0, 0, 1123, 1114, 1, 0, 0, 0, 1123, 1115, 1, 0, 0, 0, 1123, 1116, 1, 0, 0, 0, 1123, 1117, 1, 0, 0, 0, 1123, 1118, 1, 0, 0, 0, 1123, 1119, 1, 0, 0, 0, 1123, 1120, 1, 0, 0, 0, 1123, 1121, 1, 0, 0, 0, 1123, 1122, 1, 0, 0, 0, 1124, 129, 1, 0, 0, 0, 1125, 1126, 5, 80, 0, 0, 1126, 1127, 5, 136, 0, 0, 1127, 1162, 3, 160, 80, 0, 1128, 1129, 5, 61, 0, 0, 1129, 1130, 3, 160, 80, 0, 1130, 1131, 5, 136, 0, 0, 1131, 1132, 3, 134, 67, 0, 1132, 1162, 1, 0, 0, 0, 1133, 1134, 5, 62, 0, 0, 1134, 1135, 3, 160, 80, 0, 1135, 1136, 5, 136, 0, 0, 1136, 1137, 3, 160, 80, 0, 1137, 1138, 5, 136, 0, 0, 1138, 1139, 3, 136, 68, 0, 1139, 1162, 1, 0, 0, 0, 1140, 1141, 5, 44, 0, 0, 1141, 1143, 3, 160, 80, 0, 1142, 1144, 3, 28, 14, 0, 1143, 1142, 1, 0, 0, 0, 1143, 1144, 1, 0, 0, 0, 1144, 1145, 1, 0, 0, 0, 1145, 1146, 5, 136, 0, 0, 1146, 1147, 3, 126, 63, 0, 1147, 1162, 1, 0, 0, 0, 1148, 1149, 5, 46, 0, 0, 1149, 1150, 3, 160, 80, 0, 1150, 1151, 5, 136, 0, 0, 1151, 1153, 3, 160, 80, 0, 1152, 1154, 3, 28, 14, 0, 1153, 1152, 1, 0, 0, 0, 1153, 1154, 1, 0, 0, 0, 1154, 1156, 1, 0, 0, 0, 1155, 1157, 3, 138, 69, 0, 1156, 1155, 1, 0, 0, 0, 1156, 1157, 1, 0, 0, 0, 1157, 1159, 1, 0, 0, 0, 1158, 1160, 3, 132, 66, 0, 1159, 1158, 1, 0, 0, 0, 1159, 1160, 1, 0, 0, 0, 1160, 1162, 1, 0, 0, 0, 1161, 1125, 1, 0, 0, 0, 1161, 1128, 1, 0, 0, 0, 1161, 1133, 1, 0, 0, 0, 1161, 1140, 1, 0, 0, 0, 1161, 1148, 1, 0, 0, 0, 1162, 131, 1, 0, 0, 0, 1163, 1164, 5, 66, 0, 0, 1164, 1165, 3, 138, 69, 0, 1165, 133, 1, 0, 0, 0, 1166, 1167, 7, 4, 0, 0, 1167, 135, 1, 0, 0, 0, 1168, 1169, 7, 5, 0, 0, 1169, 137, 1, 0, 0, 0, 1170, 1171, 5, 64, 0, 0, 1171, 1175, 5, 137, 0, 0, 1172, 1174, 3, 140, 70, 0, 1173, 1172, 1, 0, 0, 0, 1174, 1177, 1, 0, 0, 0, 1175, 1173, 1, 0, 0, 0, 1175, 1176, 1, 0, 0, 0, 1176, 1178, 1, 0, 0, 0, 1177, 1175, 1, 0, 0, 0, 1178, 1179, 5, 138, 0, 0, 1179, 139, 1, 0, 0, 0, 1180, 1181, 3, 160, 80, 0, 1181, 1182, 5, 58, 0, 0, 1182, 1183, 5, 9, 0, 0, 1183, 1184, 5, 23, 0, 0, 1184, 1185, 5, 139, 0, 0, 1185, 1186, 3, 86, 43, 0, 1186, 1187, 5, 140, 0, 0, 1187, 1188, 5, 134, 0, 0, 1188, 1279, 1, 0, 0, 0, 1189, 1190, 3, 160, 80, 0, 1190, 1191, 5, 58, 0, 0, 1191, 1192, 5, 61, 0, 0, 1192, 1199, 3, 160, 80, 0, 1193, 1194, 5, 67, 0, 0, 1194, 1195, 5, 62, 0, 0, 1195, 1196, 3, 160, 80, 0, 1196, 1197, 5, 136, 0, 0, 1197, 1198, 3, 160, 80, 0, 1198, 1200, 1, 0, 0, 0, 1199, 1193, 1, 0, 0, 0, 1199, 1200, 1, 0, 0, 0, 1200, 1201, 1, 0, 0, 0, 1201, 1202, 5, 134, 0, 0, 1202, 1279, 1, 0, 0, 0, 1203, 1204, 3, 160, 80, 0, 1204, 1205, 5, 58, 0, 0, 1205, 1206, 5, 62, 0, 0, 1206, 1207, 3, 160, 80, 0, 1207, 1208, 5, 136, 0, 0, 1208, 1215, 3, 160, 80, 0, 1209, 1210, 5, 67, 0, 0, 1210, 1211, 5, 62, 0, 0, 1211, 1212, 3, 160, 80, 0, 1212, 1213, 5, 136, 0, 0, 1213, 1214, 3, 160, 80, 0, 1214, 1216, 1, 0, 0, 0, 1215, 1209, 1, 0, 0, 0, 1215, 1216, 1, 0, 0, 0, 1216, 1217, 1, 0, 0, 0, 1217, 1218, 5, 134, 0, 0, 1218, 1279, 1, 0, 0, 0, 1219, 1220, 3, 160, 80, 0, 1220, 1221, 5, 58, 0, 0, 1221, 1222, 5, 44, 0, 0, 1222, 1224, 3, 160, 80, 0, 1223, 1225, 3, 28, 14, 0, 1224, 1223, 1, 0, 0, 0, 1224, 1225, 1, 0, 0, 0, 1225, 1234, 1, 0, 0, 0, 1226, 1227, 5, 67, 0, 0, 1227, 1228, 5, 62, 0, 0, 1228, 1229, 3, 160, 80, 0, 1229, 1230, 5, 136, 0, 0, 1230, 1231, 3, 160, 80, 0, 1231, 1235, 1, 0, 0, 0, 1232, 1233, 5, 18, 0, 0, 1233, 1235, 5, 53, 0, 0, 1234, 1226, 1, 0, 0, 0, 1234, 1232, 1, 0, 0, 0, 1234, 1235, 1, 0, 0, 0, 1235, 1236, 1, 0, 0, 0, 1236, 1237, 5, 134, 0, 0, 1237, 1279, 1, 0, 0, 0, 1238, 1239, 3, 160, 80, 0, 1239, 1240, 5, 58, 0, 0, 1240, 1241, 5, 7, 0, 0, 1241, 1242, 3, 160, 80, 0, 1242, 1243, 5, 64, 0, 0, 1243, 1247, 5, 137, 0, 0, 1244, 1246, 3, 118, 59, 0, 1245, 1244, 1, 0, 0, 0, 1246, 1249, 1, 0, 0, 0, 1247, 1245, 1, 0, 0, 0, 1247, 1248, 1, 0, 0, 0, 1248, 1250, 1, 0, 0, 0, 1249, 1247, 1, 0, 0, 0, 1250, 1251, 5, 138, 0, 0, 1251, 1252, 5, 134, 0, 0, 1252, 1279, 1, 0, 0, 0, 1253, 1254, 3, 160, 80, 0, 1254, 1255, 5, 58, 0, 0, 1255, 1256, 5, 51, 0, 0, 1256, 1257, 3, 160, 80, 0, 1257, 1258, 5, 134, 0, 0, 1258, 1279, 1, 0, 0, 0, 1259, 1260, 3, 160, 80, 0, 1260, 1262, 5, 58, 0, 0, 1261, 1263, 5, 9, 0, 0, 1262, 1261, 1, 0, 0, 0, 1262, 1263, 1, 0, 0, 0, 1263, 1264, 1, 0, 0, 0, 1264, 1265, 5, 22, 0, 0, 1265, 1266, 3, 160, 80, 0, 1266, 1267, 5, 136, 0, 0, 1267, 1274, 3, 160, 80, 0, 1268, 1269, 5, 67, 0, 0, 1269, 1270, 5, 62, 0, 0, 1270, 1271, 3, 160, 80, 0, 1271, 1272, 5, 136, 0, 0, 1272, 1273, 3, 160, 80, 0, 1273, 1275, 1, 0, 0, 0, 1274, 1268, 1, 0, 0, 0, 1274, 1275, 1, 0, 0, 0, 1275, 1276, 1, 0, 0, 0, 1276, 1277, 5, 134, 0, 0, 1277, 1279, 1, 0, 0, 0, 1278, 1180, 1, 0, 0, 0, 1278, 1189, 1, 0, 0, 0, 1278, 1203, 1, 0, 0, 0, 1278, 1219, 1, 0, 0, 0, 1278, 1238, 1, 0, 0, 0, 1278, 1253, 1, 0, 0, 0, 1278, 1259, 1, 0, 0, 0, 1279, 141, 1, 0, 0, 0, 1280, 1281, 5, 51, 0, 0, 1281, 1282, 3, 160, 80, 0, 1282, 1283, 5, 58, 0, 0, 1283, 1284, 3, 160, 80, 0, 1284, 1285, 5, 136, 0, 0, 1285, 1287, 3, 160, 80, 0, 1286, 1288, 3, 138, 69, 0, 1287, 1286, 1, 0, 0, 0, 1287, 1288, 1, 0, 0, 0, 1288, 1289, 1, 0, 0, 0, 1289, 1290, 5, 134, 0, 0, 1290, 143, 1, 0, 0, 0, 1291, 1338, 3, 148, 74, 0, 1292, 1338, 5, 113, 0, 0, 1293, 1338, 5, 114, 0, 0, 1294, 1295, 5, 115, 0, 0, 1295, 1338, 3, 162, 81, 0, 1296, 1297, 5, 116, 0, 0, 1297, 1298, 5, 143, 0, 0, 1298, 1299, 3, 160, 80, 0, 1299, 1300, 5, 144, 0, 0, 1300, 1338, 1, 0, 0, 0, 1301, 1302, 5, 117, 0, 0, 1302, 1303, 5, 143, 0, 0, 1303, 1305, 3, 160, 80, 0, 1304, 1306, 3, 28, 14, 0, 1305, 1304, 1, 0, 0, 0, 1305, 1306, 1, 0, 0, 0, 1306, 1307, 1, 0, 0, 0, 1307, 1308, 5, 144, 0, 0, 1308, 1338, 1, 0, 0, 0, 1309, 1310, 5, 39, 0, 0, 1310, 1311, 5, 143, 0, 0, 1311, 1312, 3, 160, 80, 0, 1312, 1313, 5, 144, 0, 0, 1313, 1338, 1, 0, 0, 0, 1314, 1315, 5, 118, 0, 0, 1315, 1316, 5, 143, 0, 0, 1316, 1317, 3, 144, 72, 0, 1317, 1318, 5, 144, 0, 0, 1318, 1338, 1, 0, 0, 0, 1319, 1320, 5, 119, 0, 0, 1320, 1321, 5, 143, 0, 0, 1321, 1322, 3, 144, 72, 0, 1322, 1323, 5, 144, 0, 0, 1323, 1338, 1, 0, 0, 0, 1324, 1325, 5, 120, 0, 0, 1325, 1329, 5, 137, 0, 0, 1326, 1328, 3, 146, 73, 0, 1327, 1326, 1, 0, 0, 0, 1328, 1331, 1, 0, 0, 0, 1329, 1327, 1, 0, 0, 0, 1329, 1330, 1, 0, 0, 0, 1330, 1332, 1, 0, 0, 0, 1331, 1329, 1, 0, 0, 0, 1332, 1338, 5, 138, 0, 0, 1333, 1335, 3, 160, 80, 0, 1334, 1336, 3, 28, 14, 0, 1335, 1334, 1, 0, 0, 0, 1335, 1336, 1, 0, 0, 0, 1336, 1338, 1, 0, 0, 0, 1337, 1291, 1, 0, 0, 0, 1337, 1292, 1, 0, 0, 0, 1337, 1293, 1, 0, 0, 0, 1337, 1294, 1, 0, 0, 0, 1337, 1296, 1, 0, 0, 0, 1337, 1301, 1, 0, 0, 0, 1337, 1309, 1, 0, 0, 0, 1337, 1314, 1, 0, 0, 0, 1337, 1319, 1, 0, 0, 0, 1337, 1324, 1, 0, 0, 0, 1337, 1333, 1, 0, 0, 0, 1338, 145, 1, 0, 0, 0, 1339, 1340, 3, 160, 80, 0, 1340, 1341, 5, 133, 0, 0, 1341, 1342, 3, 144, 72, 0, 1342, 1343, 5, 134, 0, 0, 1343, 147, 1, 0, 0, 0, 1344, 1345, 7, 6, 0, 0, 1345, 149, 1, 0, 0, 0, 1346, 1347, 7, 7, 0, 0, 1347, 151, 1, 0, 0, 0, 1348, 1357, 3, 162, 81, 0, 1349, 1357, 5, 147, 0, 0, 1350, 1357, 5, 148, 0, 0, 1351, 1357, 5, 129, 0, 0, 1352, 1357, 5, 130, 0, 0, 1353, 1357, 5, 131, 0, 0, 1354, 1357, 3, 154, 77, 0, 1355, 1357, 3, 158, 79, 0, 1356, 1348, 1, 0, 0, 0, 1356, 1349, 1, 0, 0, 0, 1356, 1350, 1, 0, 0, 0, 1356, 1351, 1, 0, 0, 0, 1356, 1352, 1, 0, 0, 0, 1356, 1353, 1, 0, 0, 0, 1356, 1354, 1, 0, 0, 0, 1356, 1355, 1, 0, 0, 0, 1357, 153, 1, 0, 0, 0, 1358, 1367, 5, 137, 0, 0, 1359, 1364, 3, 156, 78, 0, 1360, 1361, 5, 135, 0, 0, 1361, 1363, 3, 156, 78, 0, 1362, 1360, 1, 0, 0, 0, 1363, 1366, 1, 0, 0, 0, 1364, 1362, 1, 0, 0, 0, 1364, 1365, 1, 0, 0, 0, 1365, 1368, 1, 0, 0, 0, 1366, 1364, 1, 0, 0, 0, 1367, 1359, 1, 0, 0, 0, 1367, 1368, 1, 0, 0, 0, 1368, 1369, 1, 0, 0, 0, 1369, 1370, 5, 138, 0, 0, 1370, 155, 1, 0, 0, 0, 1371, 1372, 3, 162, 81, 0, 1372, 1373, 5, 133, 0, 0, 1373, 1374, 3, 152, 76, 0, 1374, 157, 1, 0, 0, 0, 1375, 1384, 5, 139, 0, 0, 1376, 1381, 3, 152, 76, 0, 1377, 1378, 5, 135, 0, 0, 1378, 1380, 3, 152, 76, 0, 1379, 1377, 1, 0, 0, 0, 1380, 1383, 1, 0, 0, 0, 1381, 1379, 1, 0, 0, 0, 1381, 1382, 1, 0, 0, 0, 1382, 1385, 1, 0, 0, 0, 1383, 1381, 1, 0, 0, 0, 1384, 1376, 1, 0, 0, 0, 1384, 1385, 1, 0, 0, 0, 1385, 1386, 1, 0, 0, 0, 1386, 1387, 5, 140, 0, 0, 1387, 159, 1, 0, 0, 0, 1388, 1389, 7, 8, 0, 0, 1389, 161, 1, 0, 0, 0, 1390, 1391, 5, 150, 0, 0, 1391, 163, 1, 0, 0, 0, 123, 176, 183, 204, 217, 229, 249, 257, 264, 270, 282, 285, 291, 302, 311, 321, 324, 326, 330, 338, 350, 355, 365, 375, 380, 395, 401, 413, 422, 430, 438, 451, 454, 464, 468, 474, 481, 487, 495, 503, 516, 523, 527, 532, 543, 549, 560, 586, 590, 596, 607, 616, 622, 627, 629, 660, 664, 670, 697, 707, 718, 721, 726, 729, 736, 745, 748, 751, 768, 777, 791, 812, 815, 818, 825, 833, 873, 876, 880, 902, 916, 924, 936, 950, 960, 978, 982, 985, 989, 992, 1001, 1005, 1009, 1015, 1027, 1042, 1062, 1071, 1103, 1123, 1143, 1153, 1156, 1159, 1161, 1175, 1199, 1215, 1224, 1234, 1247, 1262, 1274, 1278, 1287, 1305, 1329, 1335, 1337, 1356, 1364, 1367, 1381, 1384] \ No newline at end of file diff --git a/src/capability-language/generated/QuixosCapabilityParser.ts b/src/capability-language/generated/QuixosCapabilityParser.ts index 8a35a66..21c08f0 100644 --- a/src/capability-language/generated/QuixosCapabilityParser.ts +++ b/src/capability-language/generated/QuixosCapabilityParser.ts @@ -196,54 +196,55 @@ export class QuixosCapabilityParser extends antlr.Parser { public static readonly RULE_packageQuery = 30; public static readonly RULE_packageQuerySpecialization = 31; public static readonly RULE_queryClause = 32; - public static readonly RULE_packageOperationExport = 33; - public static readonly RULE_packageFunctionExport = 34; - public static readonly RULE_acceptanceClause = 35; - public static readonly RULE_executionClause = 36; - public static readonly RULE_selectedOperations = 37; - public static readonly RULE_packageConstructorExport = 38; - public static readonly RULE_eventClause = 39; - public static readonly RULE_operationMode = 40; - public static readonly RULE_receiverRequirement = 41; - public static readonly RULE_identifierList = 42; - public static readonly RULE_dependencyBlock = 43; - public static readonly RULE_dependencyPort = 44; - public static readonly RULE_primitiveList = 45; - public static readonly RULE_primitive = 46; - public static readonly RULE_sharedAttachmentDecl = 47; - public static readonly RULE_attachmentDecl = 48; - public static readonly RULE_stateDecl = 49; - public static readonly RULE_storagePolicy = 50; - public static readonly RULE_edgeDecl = 51; - public static readonly RULE_edgeEndpoint = 52; - public static readonly RULE_conformanceDecl = 53; - public static readonly RULE_conformanceItem = 54; - public static readonly RULE_moduleBindingDecl = 55; - public static readonly RULE_initializationDecl = 56; - public static readonly RULE_initializationField = 57; - public static readonly RULE_creationOwnerMapping = 58; - public static readonly RULE_stateFieldBindingDecl = 59; - public static readonly RULE_relationshipMaterializationDecl = 60; - public static readonly RULE_operationBindingDecl = 61; - public static readonly RULE_memberOperationRef = 62; - public static readonly RULE_operationName = 63; - public static readonly RULE_operationProvider = 64; - public static readonly RULE_acceptanceBinding = 65; - public static readonly RULE_statePrimitive = 66; - public static readonly RULE_edgePrimitive = 67; - public static readonly RULE_dependencyBindingBlock = 68; - public static readonly RULE_dependencyBinding = 69; - public static readonly RULE_constructorBindingDecl = 70; - public static readonly RULE_valueType = 71; - public static readonly RULE_recordField = 72; - public static readonly RULE_scalarType = 73; - public static readonly RULE_cardinality = 74; - public static readonly RULE_jsonLiteral = 75; - public static readonly RULE_jsonObject = 76; - public static readonly RULE_jsonMember = 77; - public static readonly RULE_jsonArray = 78; - public static readonly RULE_identifier = 79; - public static readonly RULE_stringLiteral = 80; + public static readonly RULE_fragmentVariable = 33; + public static readonly RULE_packageOperationExport = 34; + public static readonly RULE_packageFunctionExport = 35; + public static readonly RULE_acceptanceClause = 36; + public static readonly RULE_executionClause = 37; + public static readonly RULE_selectedOperations = 38; + public static readonly RULE_packageConstructorExport = 39; + public static readonly RULE_eventClause = 40; + public static readonly RULE_operationMode = 41; + public static readonly RULE_receiverRequirement = 42; + public static readonly RULE_identifierList = 43; + public static readonly RULE_dependencyBlock = 44; + public static readonly RULE_dependencyPort = 45; + public static readonly RULE_primitiveList = 46; + public static readonly RULE_primitive = 47; + public static readonly RULE_sharedAttachmentDecl = 48; + public static readonly RULE_attachmentDecl = 49; + public static readonly RULE_stateDecl = 50; + public static readonly RULE_storagePolicy = 51; + public static readonly RULE_edgeDecl = 52; + public static readonly RULE_edgeEndpoint = 53; + public static readonly RULE_conformanceDecl = 54; + public static readonly RULE_conformanceItem = 55; + public static readonly RULE_moduleBindingDecl = 56; + public static readonly RULE_initializationDecl = 57; + public static readonly RULE_initializationField = 58; + public static readonly RULE_creationOwnerMapping = 59; + public static readonly RULE_stateFieldBindingDecl = 60; + public static readonly RULE_relationshipMaterializationDecl = 61; + public static readonly RULE_operationBindingDecl = 62; + public static readonly RULE_memberOperationRef = 63; + public static readonly RULE_operationName = 64; + public static readonly RULE_operationProvider = 65; + public static readonly RULE_acceptanceBinding = 66; + public static readonly RULE_statePrimitive = 67; + public static readonly RULE_edgePrimitive = 68; + public static readonly RULE_dependencyBindingBlock = 69; + public static readonly RULE_dependencyBinding = 70; + public static readonly RULE_constructorBindingDecl = 71; + public static readonly RULE_valueType = 72; + public static readonly RULE_recordField = 73; + public static readonly RULE_scalarType = 74; + public static readonly RULE_cardinality = 75; + public static readonly RULE_jsonLiteral = 76; + public static readonly RULE_jsonObject = 77; + public static readonly RULE_jsonMember = 78; + public static readonly RULE_jsonArray = 79; + public static readonly RULE_identifier = 80; + public static readonly RULE_stringLiteral = 81; public static readonly literalNames = [ null, "'edit'", "'module'", "'contract'", "'presentation'", "'subject'", @@ -309,20 +310,20 @@ export class QuixosCapabilityParser extends antlr.Parser { "valueMember", "valueMemberOperation", "relationshipMember", "queryReadContract", "relationshipOperation", "targetConstraint", "packageResourceDecl", "packageExport", "moduleExport", "presentationDecl", "packageQuery", - "packageQuerySpecialization", "queryClause", "packageOperationExport", - "packageFunctionExport", "acceptanceClause", "executionClause", - "selectedOperations", "packageConstructorExport", "eventClause", - "operationMode", "receiverRequirement", "identifierList", "dependencyBlock", - "dependencyPort", "primitiveList", "primitive", "sharedAttachmentDecl", - "attachmentDecl", "stateDecl", "storagePolicy", "edgeDecl", "edgeEndpoint", - "conformanceDecl", "conformanceItem", "moduleBindingDecl", "initializationDecl", - "initializationField", "creationOwnerMapping", "stateFieldBindingDecl", - "relationshipMaterializationDecl", "operationBindingDecl", "memberOperationRef", - "operationName", "operationProvider", "acceptanceBinding", "statePrimitive", - "edgePrimitive", "dependencyBindingBlock", "dependencyBinding", - "constructorBindingDecl", "valueType", "recordField", "scalarType", - "cardinality", "jsonLiteral", "jsonObject", "jsonMember", "jsonArray", - "identifier", "stringLiteral", + "packageQuerySpecialization", "queryClause", "fragmentVariable", + "packageOperationExport", "packageFunctionExport", "acceptanceClause", + "executionClause", "selectedOperations", "packageConstructorExport", + "eventClause", "operationMode", "receiverRequirement", "identifierList", + "dependencyBlock", "dependencyPort", "primitiveList", "primitive", + "sharedAttachmentDecl", "attachmentDecl", "stateDecl", "storagePolicy", + "edgeDecl", "edgeEndpoint", "conformanceDecl", "conformanceItem", + "moduleBindingDecl", "initializationDecl", "initializationField", + "creationOwnerMapping", "stateFieldBindingDecl", "relationshipMaterializationDecl", + "operationBindingDecl", "memberOperationRef", "operationName", "operationProvider", + "acceptanceBinding", "statePrimitive", "edgePrimitive", "dependencyBindingBlock", + "dependencyBinding", "constructorBindingDecl", "valueType", "recordField", + "scalarType", "cardinality", "jsonLiteral", "jsonObject", "jsonMember", + "jsonArray", "identifier", "stringLiteral", ]; public get grammarFileName(): string { return "QuixosCapability.g4"; } @@ -343,42 +344,42 @@ export class QuixosCapabilityParser extends antlr.Parser { let localContext = new DocumentContext(this.context, this.state); this.enterRule(localContext, 0, QuixosCapabilityParser.RULE_document); try { - this.state = 174; + this.state = 176; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 0, this.context) ) { case 1: this.enterOuterAlt(localContext, 1); { - this.state = 162; + this.state = 164; this.workspaceDecl(); - this.state = 163; + this.state = 165; this.match(QuixosCapabilityParser.EOF); } break; case 2: this.enterOuterAlt(localContext, 2); { - this.state = 165; + this.state = 167; this.interfaceResourceDecl(); - this.state = 166; + this.state = 168; this.match(QuixosCapabilityParser.EOF); } break; case 3: this.enterOuterAlt(localContext, 3); { - this.state = 168; + this.state = 170; this.packageResourceDecl(); - this.state = 169; + this.state = 171; this.match(QuixosCapabilityParser.EOF); } break; case 4: this.enterOuterAlt(localContext, 4); { - this.state = 171; + this.state = 173; this.fragmentDecl(); - this.state = 172; + this.state = 174; this.match(QuixosCapabilityParser.EOF); } break; @@ -404,25 +405,25 @@ export class QuixosCapabilityParser extends antlr.Parser { try { this.enterOuterAlt(localContext, 1); { - this.state = 176; + this.state = 178; this.match(QuixosCapabilityParser.FRAGMENT); - this.state = 177; + this.state = 179; this.match(QuixosCapabilityParser.LBRACE); - this.state = 181; + this.state = 183; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); while (_la === 4 || ((((_la - 35)) & ~0x1F) === 0 && ((1 << (_la - 35)) & 34144577) !== 0)) { { { - this.state = 178; + this.state = 180; this.workspaceItem(); } } - this.state = 183; + this.state = 185; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } - this.state = 184; + this.state = 186; this.match(QuixosCapabilityParser.RBRACE); } } @@ -445,11 +446,11 @@ export class QuixosCapabilityParser extends antlr.Parser { try { this.enterOuterAlt(localContext, 1); { - this.state = 186; - this.match(QuixosCapabilityParser.IMPORT); - this.state = 187; - this.stringLiteral(); this.state = 188; + this.match(QuixosCapabilityParser.IMPORT); + this.state = 189; + this.stringLiteral(); + this.state = 190; this.match(QuixosCapabilityParser.SEMI); } } @@ -473,39 +474,39 @@ export class QuixosCapabilityParser extends antlr.Parser { try { this.enterOuterAlt(localContext, 1); { - this.state = 190; - this.match(QuixosCapabilityParser.WORKSPACE); - this.state = 191; - this.identifier(); this.state = 192; - this.match(QuixosCapabilityParser.ID); + this.match(QuixosCapabilityParser.WORKSPACE); this.state = 193; - this.stringLiteral(); + this.identifier(); this.state = 194; - this.match(QuixosCapabilityParser.REVISION); + this.match(QuixosCapabilityParser.ID); this.state = 195; this.stringLiteral(); this.state = 196; - this.match(QuixosCapabilityParser.COMMIT); + this.match(QuixosCapabilityParser.REVISION); this.state = 197; this.stringLiteral(); this.state = 198; + this.match(QuixosCapabilityParser.COMMIT); + this.state = 199; + this.stringLiteral(); + this.state = 200; this.match(QuixosCapabilityParser.LBRACE); - this.state = 202; + this.state = 204; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); while (_la === 4 || ((((_la - 35)) & ~0x1F) === 0 && ((1 << (_la - 35)) & 34144577) !== 0)) { { { - this.state = 199; + this.state = 201; this.workspaceItem(); } } - this.state = 204; + this.state = 206; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } - this.state = 205; + this.state = 207; this.match(QuixosCapabilityParser.RBRACE); } } @@ -526,62 +527,62 @@ export class QuixosCapabilityParser extends antlr.Parser { let localContext = new WorkspaceItemContext(this.context, this.state); this.enterRule(localContext, 8, QuixosCapabilityParser.RULE_workspaceItem); try { - this.state = 215; + this.state = 217; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 3, this.context) ) { case 1: this.enterOuterAlt(localContext, 1); { - this.state = 207; + this.state = 209; this.sourceImportDecl(); } break; case 2: this.enterOuterAlt(localContext, 2); { - this.state = 208; + this.state = 210; this.atomDecl(); } break; case 3: this.enterOuterAlt(localContext, 3); { - this.state = 209; + this.state = 211; this.resourceImportDecl(); } break; case 4: this.enterOuterAlt(localContext, 4); { - this.state = 210; + this.state = 212; this.sharedAttachmentDecl(); } break; case 5: this.enterOuterAlt(localContext, 5); { - this.state = 211; + this.state = 213; this.conformanceDecl(); } break; case 6: this.enterOuterAlt(localContext, 6); { - this.state = 212; + this.state = 214; this.constructorBindingDecl(); } break; case 7: this.enterOuterAlt(localContext, 7); { - this.state = 213; + this.state = 215; this.presentationDecl(); } break; case 8: this.enterOuterAlt(localContext, 8); { - this.state = 214; + this.state = 216; this.typeAliasDecl(); } break; @@ -604,32 +605,32 @@ export class QuixosCapabilityParser extends antlr.Parser { let localContext = new ResourceImportDeclContext(this.context, this.state); this.enterRule(localContext, 10, QuixosCapabilityParser.RULE_resourceImportDecl); try { - this.state = 227; + this.state = 229; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 4, this.context) ) { case 1: this.enterOuterAlt(localContext, 1); { - this.state = 217; - this.match(QuixosCapabilityParser.IMPORT); - this.state = 218; - this.match(QuixosCapabilityParser.INTERFACE); this.state = 219; - this.identifier(); + this.match(QuixosCapabilityParser.IMPORT); this.state = 220; + this.match(QuixosCapabilityParser.INTERFACE); + this.state = 221; + this.identifier(); + this.state = 222; this.match(QuixosCapabilityParser.SEMI); } break; case 2: this.enterOuterAlt(localContext, 2); { - this.state = 222; - this.match(QuixosCapabilityParser.IMPORT); - this.state = 223; - this.match(QuixosCapabilityParser.PACKAGE); this.state = 224; - this.identifier(); + this.match(QuixosCapabilityParser.IMPORT); this.state = 225; + this.match(QuixosCapabilityParser.PACKAGE); + this.state = 226; + this.identifier(); + this.state = 227; this.match(QuixosCapabilityParser.SEMI); } break; @@ -654,17 +655,17 @@ export class QuixosCapabilityParser extends antlr.Parser { try { this.enterOuterAlt(localContext, 1); { - this.state = 229; - this.match(QuixosCapabilityParser.EXTERNAL); - this.state = 230; - this.match(QuixosCapabilityParser.ATOM); this.state = 231; - this.identifier(); + this.match(QuixosCapabilityParser.EXTERNAL); this.state = 232; - this.match(QuixosCapabilityParser.ID); + this.match(QuixosCapabilityParser.ATOM); this.state = 233; - this.stringLiteral(); + this.identifier(); this.state = 234; + this.match(QuixosCapabilityParser.ID); + this.state = 235; + this.stringLiteral(); + this.state = 236; this.match(QuixosCapabilityParser.SEMI); } } @@ -687,17 +688,17 @@ export class QuixosCapabilityParser extends antlr.Parser { try { this.enterOuterAlt(localContext, 1); { - this.state = 236; - this.match(QuixosCapabilityParser.EXTERNAL); - this.state = 237; - this.match(QuixosCapabilityParser.INTERFACE); this.state = 238; - this.identifier(); + this.match(QuixosCapabilityParser.EXTERNAL); this.state = 239; - this.match(QuixosCapabilityParser.REVISION); + this.match(QuixosCapabilityParser.INTERFACE); this.state = 240; - this.stringLiteral(); + this.identifier(); this.state = 241; + this.match(QuixosCapabilityParser.REVISION); + this.state = 242; + this.stringLiteral(); + this.state = 243; this.match(QuixosCapabilityParser.SEMI); } } @@ -718,34 +719,34 @@ export class QuixosCapabilityParser extends antlr.Parser { let localContext = new ResourcePreambleContext(this.context, this.state); this.enterRule(localContext, 16, QuixosCapabilityParser.RULE_resourcePreamble); try { - this.state = 247; + this.state = 249; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 5, this.context) ) { case 1: this.enterOuterAlt(localContext, 1); { - this.state = 243; + this.state = 245; this.resourceImportDecl(); } break; case 2: this.enterOuterAlt(localContext, 2); { - this.state = 244; + this.state = 246; this.externalAtomDecl(); } break; case 3: this.enterOuterAlt(localContext, 3); { - this.state = 245; + this.state = 247; this.externalInterfaceDecl(); } break; case 4: this.enterOuterAlt(localContext, 4); { - this.state = 246; + this.state = 248; this.typeAliasDecl(); } break; @@ -771,27 +772,27 @@ export class QuixosCapabilityParser extends antlr.Parser { try { this.enterOuterAlt(localContext, 1); { - this.state = 249; - this.match(QuixosCapabilityParser.ATOM); - this.state = 250; - this.identifier(); this.state = 251; - this.match(QuixosCapabilityParser.ID); + this.match(QuixosCapabilityParser.ATOM); this.state = 252; + this.identifier(); + this.state = 253; + this.match(QuixosCapabilityParser.ID); + this.state = 254; this.stringLiteral(); - this.state = 255; + this.state = 257; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 85) { { - this.state = 253; + this.state = 255; this.match(QuixosCapabilityParser.DOC); - this.state = 254; + this.state = 256; this.stringLiteral(); } } - this.state = 257; + this.state = 259; this.match(QuixosCapabilityParser.SEMI); } } @@ -815,87 +816,87 @@ export class QuixosCapabilityParser extends antlr.Parser { try { this.enterOuterAlt(localContext, 1); { - this.state = 262; + this.state = 264; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); while (((((_la - 35)) & ~0x1F) === 0 && ((1 << (_la - 35)) & 193) !== 0)) { { { - this.state = 259; + this.state = 261; this.resourcePreamble(); } } - this.state = 264; + this.state = 266; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } - this.state = 265; + this.state = 267; this.match(QuixosCapabilityParser.INTERFACE); - this.state = 266; - this.identifier(); this.state = 268; + this.identifier(); + this.state = 270; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 143) { { - this.state = 267; + this.state = 269; this.typeParameters(); } } - this.state = 270; - this.match(QuixosCapabilityParser.ID); - this.state = 271; - this.stringLiteral(); this.state = 272; - this.match(QuixosCapabilityParser.REVISION); + this.match(QuixosCapabilityParser.ID); this.state = 273; this.stringLiteral(); - this.state = 283; + this.state = 274; + this.match(QuixosCapabilityParser.REVISION); + this.state = 275; + this.stringLiteral(); + this.state = 285; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 89) { { - this.state = 274; + this.state = 276; this.match(QuixosCapabilityParser.REQUIRES); - this.state = 275; + this.state = 277; this.interfaceType(); - this.state = 280; + this.state = 282; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); while (_la === 135) { { { - this.state = 276; + this.state = 278; this.match(QuixosCapabilityParser.COMMA); - this.state = 277; + this.state = 279; this.interfaceType(); } } - this.state = 282; + this.state = 284; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } } } - this.state = 285; + this.state = 287; this.match(QuixosCapabilityParser.LBRACE); - this.state = 289; + this.state = 291; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); while (_la === 2 || ((((_la - 32)) & ~0x1F) === 0 && ((1 << (_la - 32)) & 33783809) !== 0)) { { { - this.state = 286; + this.state = 288; this.interfaceMember(); } } - this.state = 291; + this.state = 293; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } - this.state = 292; + this.state = 294; this.match(QuixosCapabilityParser.RBRACE); } } @@ -919,27 +920,27 @@ export class QuixosCapabilityParser extends antlr.Parser { try { this.enterOuterAlt(localContext, 1); { - this.state = 294; + this.state = 296; this.match(QuixosCapabilityParser.LT); - this.state = 295; + this.state = 297; this.typeParameter(); - this.state = 300; + this.state = 302; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); while (_la === 135) { { { - this.state = 296; + this.state = 298; this.match(QuixosCapabilityParser.COMMA); - this.state = 297; + this.state = 299; this.typeParameter(); } } - this.state = 302; + this.state = 304; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } - this.state = 303; + this.state = 305; this.match(QuixosCapabilityParser.GT); } } @@ -961,24 +962,24 @@ export class QuixosCapabilityParser extends antlr.Parser { this.enterRule(localContext, 24, QuixosCapabilityParser.RULE_typeParameter); let _la: number; try { - this.state = 324; + this.state = 326; this.errorHandler.sync(this); switch (this.tokenStream.LA(1)) { case QuixosCapabilityParser.VALUE: this.enterOuterAlt(localContext, 1); { - this.state = 305; + this.state = 307; this.match(QuixosCapabilityParser.VALUE); - this.state = 306; + this.state = 308; this.identifier(); - this.state = 309; + this.state = 311; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 133) { { - this.state = 307; + this.state = 309; this.match(QuixosCapabilityParser.COLON); - this.state = 308; + this.state = 310; this.match(QuixosCapabilityParser.STORABLE); } } @@ -988,32 +989,32 @@ export class QuixosCapabilityParser extends antlr.Parser { case QuixosCapabilityParser.OBJECT: this.enterOuterAlt(localContext, 2); { - this.state = 311; + this.state = 313; this.match(QuixosCapabilityParser.OBJECT); - this.state = 312; + this.state = 314; this.identifier(); - this.state = 322; + this.state = 324; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 38) { { - this.state = 313; + this.state = 315; this.match(QuixosCapabilityParser.IMPLEMENTS); - this.state = 314; + this.state = 316; this.interfaceType(); - this.state = 319; + this.state = 321; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); while (_la === 145) { { { - this.state = 315; + this.state = 317; this.match(QuixosCapabilityParser.AMP); - this.state = 316; + this.state = 318; this.interfaceType(); } } - this.state = 321; + this.state = 323; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } @@ -1046,14 +1047,14 @@ export class QuixosCapabilityParser extends antlr.Parser { try { this.enterOuterAlt(localContext, 1); { - this.state = 326; - this.identifier(); this.state = 328; + this.identifier(); + this.state = 330; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 143) { { - this.state = 327; + this.state = 329; this.typeArguments(); } } @@ -1080,27 +1081,27 @@ export class QuixosCapabilityParser extends antlr.Parser { try { this.enterOuterAlt(localContext, 1); { - this.state = 330; + this.state = 332; this.match(QuixosCapabilityParser.LT); - this.state = 331; + this.state = 333; this.typeArgument(); - this.state = 336; + this.state = 338; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); while (_la === 135) { { { - this.state = 332; + this.state = 334; this.match(QuixosCapabilityParser.COMMA); - this.state = 333; + this.state = 335; this.typeArgument(); } } - this.state = 338; + this.state = 340; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } - this.state = 339; + this.state = 341; this.match(QuixosCapabilityParser.GT); } } @@ -1121,33 +1122,33 @@ export class QuixosCapabilityParser extends antlr.Parser { let localContext = new TypeArgumentContext(this.context, this.state); this.enterRule(localContext, 30, QuixosCapabilityParser.RULE_typeArgument); try { - this.state = 348; + this.state = 350; this.errorHandler.sync(this); switch (this.tokenStream.LA(1)) { case QuixosCapabilityParser.ATOM: this.enterOuterAlt(localContext, 1); { - this.state = 341; + this.state = 343; this.match(QuixosCapabilityParser.ATOM); - this.state = 342; + this.state = 344; this.identifier(); } break; case QuixosCapabilityParser.INTERFACE: this.enterOuterAlt(localContext, 2); { - this.state = 343; + this.state = 345; this.match(QuixosCapabilityParser.INTERFACE); - this.state = 344; + this.state = 346; this.interfaceType(); } break; case QuixosCapabilityParser.OBJECT: this.enterOuterAlt(localContext, 3); { - this.state = 345; + this.state = 347; this.match(QuixosCapabilityParser.OBJECT); - this.state = 346; + this.state = 348; this.identifier(); } break; @@ -1182,6 +1183,7 @@ export class QuixosCapabilityParser extends antlr.Parser { case QuixosCapabilityParser.QUERYABLE: case QuixosCapabilityParser.RPC: case QuixosCapabilityParser.REF: + case QuixosCapabilityParser.FRAGMENT: case QuixosCapabilityParser.INTERFACES: case QuixosCapabilityParser.SOURCE: case QuixosCapabilityParser.START: @@ -1206,7 +1208,7 @@ export class QuixosCapabilityParser extends antlr.Parser { case QuixosCapabilityParser.IDENTIFIER: this.enterOuterAlt(localContext, 4); { - this.state = 347; + this.state = 349; this.valueType(); } break; @@ -1234,25 +1236,25 @@ export class QuixosCapabilityParser extends antlr.Parser { try { this.enterOuterAlt(localContext, 1); { - this.state = 350; + this.state = 352; this.match(QuixosCapabilityParser.TYPE); - this.state = 351; - this.identifier(); this.state = 353; + this.identifier(); + this.state = 355; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 143) { { - this.state = 352; + this.state = 354; this.typeParameters(); } } - this.state = 355; - this.match(QuixosCapabilityParser.EQUAL); - this.state = 356; - this.valueType(); this.state = 357; + this.match(QuixosCapabilityParser.EQUAL); + this.state = 358; + this.valueType(); + this.state = 359; this.match(QuixosCapabilityParser.SEMI); } } @@ -1273,34 +1275,34 @@ export class QuixosCapabilityParser extends antlr.Parser { let localContext = new InterfaceMemberContext(this.context, this.state); this.enterRule(localContext, 34, QuixosCapabilityParser.RULE_interfaceMember); try { - this.state = 363; + this.state = 365; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 21, this.context) ) { case 1: this.enterOuterAlt(localContext, 1); { - this.state = 359; + this.state = 361; this.valueMember(); } break; case 2: this.enterOuterAlt(localContext, 2); { - this.state = 360; + this.state = 362; this.relationshipMember(); } break; case 3: this.enterOuterAlt(localContext, 3); { - this.state = 361; + this.state = 363; this.operationMember(); } break; case 4: this.enterOuterAlt(localContext, 4); { - this.state = 362; + this.state = 364; this.moduleMember(); } break; @@ -1326,31 +1328,31 @@ export class QuixosCapabilityParser extends antlr.Parser { try { this.enterOuterAlt(localContext, 1); { - this.state = 365; - this.match(QuixosCapabilityParser.MODULE); - this.state = 366; - this.identifier(); this.state = 367; - this.match(QuixosCapabilityParser.ID); + this.match(QuixosCapabilityParser.MODULE); this.state = 368; - this.stringLiteral(); + this.identifier(); this.state = 369; - this.match(QuixosCapabilityParser.CONTRACT); + this.match(QuixosCapabilityParser.ID); this.state = 370; this.stringLiteral(); - this.state = 373; + this.state = 371; + this.match(QuixosCapabilityParser.CONTRACT); + this.state = 372; + this.stringLiteral(); + this.state = 375; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 5) { { - this.state = 371; + this.state = 373; this.match(QuixosCapabilityParser.SUBJECT); - this.state = 372; + this.state = 374; this.targetConstraint(); } } - this.state = 375; + this.state = 377; this.match(QuixosCapabilityParser.SEMI); } } @@ -1374,53 +1376,53 @@ export class QuixosCapabilityParser extends antlr.Parser { try { this.enterOuterAlt(localContext, 1); { - this.state = 378; + this.state = 380; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 57) { { - this.state = 377; + this.state = 379; this.match(QuixosCapabilityParser.STATIC); } } - this.state = 380; - this.match(QuixosCapabilityParser.OPERATION); - this.state = 381; - this.identifier(); this.state = 382; - this.match(QuixosCapabilityParser.ID); + this.match(QuixosCapabilityParser.OPERATION); this.state = 383; - this.stringLiteral(); + this.identifier(); this.state = 384; - this.match(QuixosCapabilityParser.COLON); + this.match(QuixosCapabilityParser.ID); this.state = 385; - this.valueType(); + this.stringLiteral(); this.state = 386; - this.match(QuixosCapabilityParser.ARROW); + this.match(QuixosCapabilityParser.COLON); this.state = 387; this.valueType(); this.state = 388; - this.match(QuixosCapabilityParser.LBRACE); + this.match(QuixosCapabilityParser.ARROW); this.state = 389; - this.match(QuixosCapabilityParser.CALL); + this.valueType(); this.state = 390; - this.match(QuixosCapabilityParser.ID); + this.match(QuixosCapabilityParser.LBRACE); this.state = 391; - this.stringLiteral(); + this.match(QuixosCapabilityParser.CALL); + this.state = 392; + this.match(QuixosCapabilityParser.ID); this.state = 393; + this.stringLiteral(); + this.state = 395; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 10) { { - this.state = 392; + this.state = 394; this.executionClause(); } } - this.state = 395; + this.state = 397; this.match(QuixosCapabilityParser.SEMI); - this.state = 396; + this.state = 398; this.match(QuixosCapabilityParser.RBRACE); } } @@ -1444,45 +1446,45 @@ export class QuixosCapabilityParser extends antlr.Parser { try { this.enterOuterAlt(localContext, 1); { - this.state = 399; + this.state = 401; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 32) { { - this.state = 398; + this.state = 400; this.queryReadContract(); } } - this.state = 401; - this.match(QuixosCapabilityParser.VALUE); - this.state = 402; - this.identifier(); this.state = 403; - this.match(QuixosCapabilityParser.ID); + this.match(QuixosCapabilityParser.VALUE); this.state = 404; - this.stringLiteral(); + this.identifier(); this.state = 405; - this.match(QuixosCapabilityParser.COLON); + this.match(QuixosCapabilityParser.ID); this.state = 406; - this.valueType(); + this.stringLiteral(); this.state = 407; + this.match(QuixosCapabilityParser.COLON); + this.state = 408; + this.valueType(); + this.state = 409; this.match(QuixosCapabilityParser.LBRACE); - this.state = 411; + this.state = 413; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); while (_la === 1 || ((((_la - 91)) & ~0x1F) === 0 && ((1 << (_la - 91)) & 7) !== 0)) { { { - this.state = 408; + this.state = 410; this.valueMemberOperation(); } } - this.state = 413; + this.state = 415; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } - this.state = 414; + this.state = 416; this.match(QuixosCapabilityParser.RBRACE); } } @@ -1504,96 +1506,96 @@ export class QuixosCapabilityParser extends antlr.Parser { this.enterRule(localContext, 42, QuixosCapabilityParser.RULE_valueMemberOperation); let _la: number; try { - this.state = 449; + this.state = 451; this.errorHandler.sync(this); switch (this.tokenStream.LA(1)) { case QuixosCapabilityParser.GET: this.enterOuterAlt(localContext, 1); { - this.state = 416; - this.match(QuixosCapabilityParser.GET); - this.state = 417; - this.match(QuixosCapabilityParser.ID); this.state = 418; - this.stringLiteral(); + this.match(QuixosCapabilityParser.GET); + this.state = 419; + this.match(QuixosCapabilityParser.ID); this.state = 420; + this.stringLiteral(); + this.state = 422; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 10) { { - this.state = 419; + this.state = 421; this.executionClause(); } } - this.state = 422; + this.state = 424; this.match(QuixosCapabilityParser.SEMI); } break; case QuixosCapabilityParser.SET: this.enterOuterAlt(localContext, 2); { - this.state = 424; - this.match(QuixosCapabilityParser.SET); - this.state = 425; - this.match(QuixosCapabilityParser.ID); this.state = 426; - this.stringLiteral(); + this.match(QuixosCapabilityParser.SET); + this.state = 427; + this.match(QuixosCapabilityParser.ID); this.state = 428; + this.stringLiteral(); + this.state = 430; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 10) { { - this.state = 427; + this.state = 429; this.executionClause(); } } - this.state = 430; + this.state = 432; this.match(QuixosCapabilityParser.SEMI); } break; case QuixosCapabilityParser.EDIT: this.enterOuterAlt(localContext, 3); { - this.state = 432; - this.match(QuixosCapabilityParser.EDIT); - this.state = 433; - this.match(QuixosCapabilityParser.ID); this.state = 434; - this.stringLiteral(); + this.match(QuixosCapabilityParser.EDIT); + this.state = 435; + this.match(QuixosCapabilityParser.ID); this.state = 436; + this.stringLiteral(); + this.state = 438; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 10) { { - this.state = 435; + this.state = 437; this.executionClause(); } } - this.state = 438; + this.state = 440; this.match(QuixosCapabilityParser.SEMI); } break; case QuixosCapabilityParser.WATCH: this.enterOuterAlt(localContext, 4); { - this.state = 440; - this.match(QuixosCapabilityParser.WATCH); - this.state = 441; - this.match(QuixosCapabilityParser.START); this.state = 442; - this.match(QuixosCapabilityParser.ID); + this.match(QuixosCapabilityParser.WATCH); this.state = 443; - this.stringLiteral(); + this.match(QuixosCapabilityParser.START); this.state = 444; - this.match(QuixosCapabilityParser.STOP); - this.state = 445; this.match(QuixosCapabilityParser.ID); - this.state = 446; + this.state = 445; this.stringLiteral(); + this.state = 446; + this.match(QuixosCapabilityParser.STOP); this.state = 447; + this.match(QuixosCapabilityParser.ID); + this.state = 448; + this.stringLiteral(); + this.state = 449; this.match(QuixosCapabilityParser.SEMI); } break; @@ -1621,69 +1623,69 @@ export class QuixosCapabilityParser extends antlr.Parser { try { this.enterOuterAlt(localContext, 1); { - this.state = 452; + this.state = 454; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 32) { { - this.state = 451; + this.state = 453; this.queryReadContract(); } } - this.state = 454; - this.match(QuixosCapabilityParser.RELATION); - this.state = 455; - this.identifier(); this.state = 456; - this.match(QuixosCapabilityParser.ID); + this.match(QuixosCapabilityParser.RELATION); this.state = 457; - this.stringLiteral(); + this.identifier(); this.state = 458; - this.match(QuixosCapabilityParser.COLON); + this.match(QuixosCapabilityParser.ID); this.state = 459; - this.cardinality(); + this.stringLiteral(); this.state = 460; - this.targetConstraint(); + this.match(QuixosCapabilityParser.COLON); + this.state = 461; + this.cardinality(); this.state = 462; + this.targetConstraint(); + this.state = 464; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 112) { { - this.state = 461; + this.state = 463; this.match(QuixosCapabilityParser.ORDERED); } } - this.state = 466; + this.state = 468; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 82) { { - this.state = 464; + this.state = 466; this.match(QuixosCapabilityParser.KEYED); - this.state = 465; + this.state = 467; this.stringLiteral(); } } - this.state = 468; + this.state = 470; this.match(QuixosCapabilityParser.LBRACE); - this.state = 472; + this.state = 474; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); while (((((_la - 93)) & ~0x1F) === 0 && ((1 << (_la - 93)) & 225) !== 0)) { { { - this.state = 469; + this.state = 471; this.relationshipOperation(); } } - this.state = 474; + this.state = 476; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } - this.state = 475; + this.state = 477; this.match(QuixosCapabilityParser.RBRACE); } } @@ -1707,14 +1709,14 @@ export class QuixosCapabilityParser extends antlr.Parser { try { this.enterOuterAlt(localContext, 1); { - this.state = 477; - this.match(QuixosCapabilityParser.QUERYABLE); this.state = 479; + this.match(QuixosCapabilityParser.QUERYABLE); + this.state = 481; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 15 || _la === 33) { { - this.state = 478; + this.state = 480; _la = this.tokenStream.LA(1); if(!(_la === 15 || _la === 33)) { this.errorHandler.recoverInline(this); @@ -1746,96 +1748,96 @@ export class QuixosCapabilityParser extends antlr.Parser { this.enterRule(localContext, 48, QuixosCapabilityParser.RULE_relationshipOperation); let _la: number; try { - this.state = 514; + this.state = 516; this.errorHandler.sync(this); switch (this.tokenStream.LA(1)) { case QuixosCapabilityParser.RESOLVE: this.enterOuterAlt(localContext, 1); { - this.state = 481; - this.match(QuixosCapabilityParser.RESOLVE); - this.state = 482; - this.match(QuixosCapabilityParser.ID); this.state = 483; - this.stringLiteral(); + this.match(QuixosCapabilityParser.RESOLVE); + this.state = 484; + this.match(QuixosCapabilityParser.ID); this.state = 485; + this.stringLiteral(); + this.state = 487; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 10) { { - this.state = 484; + this.state = 486; this.executionClause(); } } - this.state = 487; + this.state = 489; this.match(QuixosCapabilityParser.SEMI); } break; case QuixosCapabilityParser.CONNECT: this.enterOuterAlt(localContext, 2); { - this.state = 489; - this.match(QuixosCapabilityParser.CONNECT); - this.state = 490; - this.match(QuixosCapabilityParser.ID); this.state = 491; - this.stringLiteral(); + this.match(QuixosCapabilityParser.CONNECT); + this.state = 492; + this.match(QuixosCapabilityParser.ID); this.state = 493; + this.stringLiteral(); + this.state = 495; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 10) { { - this.state = 492; + this.state = 494; this.executionClause(); } } - this.state = 495; + this.state = 497; this.match(QuixosCapabilityParser.SEMI); } break; case QuixosCapabilityParser.DISCONNECT: this.enterOuterAlt(localContext, 3); { - this.state = 497; - this.match(QuixosCapabilityParser.DISCONNECT); - this.state = 498; - this.match(QuixosCapabilityParser.ID); this.state = 499; - this.stringLiteral(); + this.match(QuixosCapabilityParser.DISCONNECT); + this.state = 500; + this.match(QuixosCapabilityParser.ID); this.state = 501; + this.stringLiteral(); + this.state = 503; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 10) { { - this.state = 500; + this.state = 502; this.executionClause(); } } - this.state = 503; + this.state = 505; this.match(QuixosCapabilityParser.SEMI); } break; case QuixosCapabilityParser.WATCH: this.enterOuterAlt(localContext, 4); { - this.state = 505; - this.match(QuixosCapabilityParser.WATCH); - this.state = 506; - this.match(QuixosCapabilityParser.START); this.state = 507; - this.match(QuixosCapabilityParser.ID); + this.match(QuixosCapabilityParser.WATCH); this.state = 508; - this.stringLiteral(); + this.match(QuixosCapabilityParser.START); this.state = 509; - this.match(QuixosCapabilityParser.STOP); - this.state = 510; this.match(QuixosCapabilityParser.ID); - this.state = 511; + this.state = 510; this.stringLiteral(); + this.state = 511; + this.match(QuixosCapabilityParser.STOP); this.state = 512; + this.match(QuixosCapabilityParser.ID); + this.state = 513; + this.stringLiteral(); + this.state = 514; this.match(QuixosCapabilityParser.SEMI); } break; @@ -1861,31 +1863,31 @@ export class QuixosCapabilityParser extends antlr.Parser { this.enterRule(localContext, 50, QuixosCapabilityParser.RULE_targetConstraint); let _la: number; try { - this.state = 525; + this.state = 527; this.errorHandler.sync(this); switch (this.tokenStream.LA(1)) { case QuixosCapabilityParser.ATOM: this.enterOuterAlt(localContext, 1); { - this.state = 516; + this.state = 518; this.match(QuixosCapabilityParser.ATOM); - this.state = 517; + this.state = 519; this.identifier(); } break; case QuixosCapabilityParser.INTERFACE: this.enterOuterAlt(localContext, 2); { - this.state = 518; + this.state = 520; this.match(QuixosCapabilityParser.INTERFACE); - this.state = 519; - this.identifier(); this.state = 521; + this.identifier(); + this.state = 523; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 143) { { - this.state = 520; + this.state = 522; this.typeArguments(); } } @@ -1895,9 +1897,9 @@ export class QuixosCapabilityParser extends antlr.Parser { case QuixosCapabilityParser.OBJECT: this.enterOuterAlt(localContext, 3); { - this.state = 523; + this.state = 525; this.match(QuixosCapabilityParser.OBJECT); - this.state = 524; + this.state = 526; this.identifier(); } break; @@ -1925,61 +1927,61 @@ export class QuixosCapabilityParser extends antlr.Parser { try { this.enterOuterAlt(localContext, 1); { - this.state = 530; + this.state = 532; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); while (((((_la - 35)) & ~0x1F) === 0 && ((1 << (_la - 35)) & 193) !== 0)) { { { - this.state = 527; + this.state = 529; this.resourcePreamble(); } } - this.state = 532; + this.state = 534; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } - this.state = 533; - this.match(QuixosCapabilityParser.PACKAGE); - this.state = 534; - this.identifier(); this.state = 535; - this.match(QuixosCapabilityParser.ID); + this.match(QuixosCapabilityParser.PACKAGE); this.state = 536; - this.stringLiteral(); + this.identifier(); this.state = 537; - this.match(QuixosCapabilityParser.REVISION); + this.match(QuixosCapabilityParser.ID); this.state = 538; this.stringLiteral(); - this.state = 541; + this.state = 539; + this.match(QuixosCapabilityParser.REVISION); + this.state = 540; + this.stringLiteral(); + this.state = 543; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 78) { { - this.state = 539; + this.state = 541; this.match(QuixosCapabilityParser.SEMANTIC_MAJOR); - this.state = 540; + this.state = 542; this.match(QuixosCapabilityParser.INTEGER); } } - this.state = 543; + this.state = 545; this.match(QuixosCapabilityParser.LBRACE); - this.state = 547; + this.state = 549; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); while (_la === 2 || _la === 22 || ((((_la - 49)) & ~0x1F) === 0 && ((1 << (_la - 49)) & 7) !== 0)) { { { - this.state = 544; + this.state = 546; this.packageExport(); } } - this.state = 549; + this.state = 551; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } - this.state = 550; + this.state = 552; this.match(QuixosCapabilityParser.RBRACE); } } @@ -2000,48 +2002,48 @@ export class QuixosCapabilityParser extends antlr.Parser { let localContext = new PackageExportContext(this.context, this.state); this.enterRule(localContext, 54, QuixosCapabilityParser.RULE_packageExport); try { - this.state = 558; + this.state = 560; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 45, this.context) ) { case 1: this.enterOuterAlt(localContext, 1); { - this.state = 552; + this.state = 554; this.packageOperationExport(); } break; case 2: this.enterOuterAlt(localContext, 2); { - this.state = 553; + this.state = 555; this.packageFunctionExport(); } break; case 3: this.enterOuterAlt(localContext, 3); { - this.state = 554; + this.state = 556; this.packageConstructorExport(); } break; case 4: this.enterOuterAlt(localContext, 4); { - this.state = 555; + this.state = 557; this.packageQuery(); } break; case 5: this.enterOuterAlt(localContext, 5); { - this.state = 556; + this.state = 558; this.packageQuerySpecialization(); } break; case 6: this.enterOuterAlt(localContext, 6); { - this.state = 557; + this.state = 559; this.moduleExport(); } break; @@ -2066,23 +2068,23 @@ export class QuixosCapabilityParser extends antlr.Parser { try { this.enterOuterAlt(localContext, 1); { - this.state = 560; - this.match(QuixosCapabilityParser.MODULE); - this.state = 561; - this.identifier(); this.state = 562; - this.match(QuixosCapabilityParser.ID); + this.match(QuixosCapabilityParser.MODULE); this.state = 563; - this.stringLiteral(); - this.state = 564; - this.match(QuixosCapabilityParser.IMPLEMENTS); - this.state = 565; - this.interfaceType(); - this.state = 566; - this.match(QuixosCapabilityParser.DOT); - this.state = 567; this.identifier(); + this.state = 564; + this.match(QuixosCapabilityParser.ID); + this.state = 565; + this.stringLiteral(); + this.state = 566; + this.match(QuixosCapabilityParser.IMPLEMENTS); + this.state = 567; + this.interfaceType(); this.state = 568; + this.match(QuixosCapabilityParser.DOT); + this.state = 569; + this.identifier(); + this.state = 570; this.match(QuixosCapabilityParser.SEMI); } } @@ -2105,27 +2107,27 @@ export class QuixosCapabilityParser extends antlr.Parser { try { this.enterOuterAlt(localContext, 1); { - this.state = 570; - this.match(QuixosCapabilityParser.PRESENTATION); - this.state = 571; - this.identifier(); this.state = 572; - this.match(QuixosCapabilityParser.ID); + this.match(QuixosCapabilityParser.PRESENTATION); this.state = 573; - this.stringLiteral(); - this.state = 574; - this.match(QuixosCapabilityParser.FOR); - this.state = 575; - this.interfaceType(); - this.state = 576; - this.match(QuixosCapabilityParser.USING); - this.state = 577; this.identifier(); + this.state = 574; + this.match(QuixosCapabilityParser.ID); + this.state = 575; + this.stringLiteral(); + this.state = 576; + this.match(QuixosCapabilityParser.FOR); + this.state = 577; + this.interfaceType(); this.state = 578; - this.match(QuixosCapabilityParser.DOT); + this.match(QuixosCapabilityParser.USING); this.state = 579; this.identifier(); this.state = 580; + this.match(QuixosCapabilityParser.DOT); + this.state = 581; + this.identifier(); + this.state = 582; this.match(QuixosCapabilityParser.SEMI); } } @@ -2149,64 +2151,138 @@ export class QuixosCapabilityParser extends antlr.Parser { try { this.enterOuterAlt(localContext, 1); { - this.state = 582; + this.state = 584; this.match(QuixosCapabilityParser.QUERY); - this.state = 583; + this.state = 586; + this.errorHandler.sync(this); + switch (this.interpreter.adaptivePredict(this.tokenStream, 46, this.context) ) { + case 1: + { + this.state = 585; + this.match(QuixosCapabilityParser.FRAGMENT); + } + break; + } + this.state = 588; this.identifier(); - this.state = 585; + this.state = 590; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 143) { { - this.state = 584; + this.state = 589; this.typeParameters(); } } - this.state = 587; + this.state = 592; this.match(QuixosCapabilityParser.ID); - this.state = 588; + this.state = 593; this.stringLiteral(); - this.state = 589; + this.state = 594; this.match(QuixosCapabilityParser.ROOT); - this.state = 591; + this.state = 596; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 9) { { - this.state = 590; + this.state = 595; this.match(QuixosCapabilityParser.WORKSPACE); } } - this.state = 593; - this.interfaceType(); - this.state = 594; - this.match(QuixosCapabilityParser.DOCUMENT); - this.state = 595; - this.stringLiteral(); - this.state = 596; - this.match(QuixosCapabilityParser.OPERATION); - this.state = 597; - this.stringLiteral(); this.state = 598; - this.match(QuixosCapabilityParser.LBRACE); - this.state = 602; + this.interfaceType(); + this.state = 599; + this.match(QuixosCapabilityParser.DOCUMENT); + this.state = 600; + this.stringLiteral(); + this.state = 629; this.errorHandler.sync(this); - _la = this.tokenStream.LA(1); - while ((((_la) & ~0x1F) === 0 && ((1 << _la) & 4160946176) !== 0) || _la === 93) { + switch (this.tokenStream.LA(1)) { + case QuixosCapabilityParser.OPERATION: { - { - this.state = 599; - this.queryClause(); - } - } - this.state = 604; + this.state = 601; + this.match(QuixosCapabilityParser.OPERATION); + this.state = 602; + this.stringLiteral(); + this.state = 603; + this.match(QuixosCapabilityParser.LBRACE); + this.state = 607; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); + while ((((_la) & ~0x1F) === 0 && ((1 << _la) & 4160946176) !== 0) || _la === 93) { + { + { + this.state = 604; + this.queryClause(); + } + } + this.state = 609; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + } + this.state = 610; + this.match(QuixosCapabilityParser.RBRACE); + } + break; + case QuixosCapabilityParser.FRAGMENT: + { + this.state = 612; + this.match(QuixosCapabilityParser.FRAGMENT); + this.state = 613; + this.stringLiteral(); + this.state = 616; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + if (_la === 49) { + { + this.state = 614; + this.match(QuixosCapabilityParser.OPERATION); + this.state = 615; + this.stringLiteral(); + } + } + + this.state = 627; + this.errorHandler.sync(this); + switch (this.tokenStream.LA(1)) { + case QuixosCapabilityParser.LBRACE: + { + this.state = 618; + this.match(QuixosCapabilityParser.LBRACE); + this.state = 622; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + while ((((_la) & ~0x1F) === 0 && ((1 << _la) & 4160946176) !== 0) || _la === 93) { + { + { + this.state = 619; + this.queryClause(); + } + } + this.state = 624; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + } + this.state = 625; + this.match(QuixosCapabilityParser.RBRACE); + } + break; + case QuixosCapabilityParser.SEMI: + { + this.state = 626; + this.match(QuixosCapabilityParser.SEMI); + } + break; + default: + throw new antlr.NoViableAltException(this); + } + } + break; + default: + throw new antlr.NoViableAltException(this); } - this.state = 605; - this.match(QuixosCapabilityParser.RBRACE); } } catch (re) { @@ -2228,21 +2304,21 @@ export class QuixosCapabilityParser extends antlr.Parser { try { this.enterOuterAlt(localContext, 1); { - this.state = 607; + this.state = 631; this.match(QuixosCapabilityParser.QUERY); - this.state = 608; + this.state = 632; this.identifier(); - this.state = 609; + this.state = 633; this.match(QuixosCapabilityParser.ID); - this.state = 610; + this.state = 634; this.stringLiteral(); - this.state = 611; + this.state = 635; this.match(QuixosCapabilityParser.SPECIALIZE); - this.state = 612; + this.state = 636; this.identifier(); - this.state = 613; + this.state = 637; this.typeArguments(); - this.state = 614; + this.state = 638; this.match(QuixosCapabilityParser.SEMI); } } @@ -2264,123 +2340,193 @@ export class QuixosCapabilityParser extends antlr.Parser { this.enterRule(localContext, 64, QuixosCapabilityParser.RULE_queryClause); let _la: number; try { - this.state = 656; + this.state = 697; this.errorHandler.sync(this); - switch (this.tokenStream.LA(1)) { - case QuixosCapabilityParser.REPLICA: + switch (this.interpreter.adaptivePredict(this.tokenStream, 57, this.context) ) { + case 1: this.enterOuterAlt(localContext, 1); { - this.state = 616; + this.state = 640; this.match(QuixosCapabilityParser.REPLICA); - this.state = 617; + this.state = 641; this.match(QuixosCapabilityParser.SEMI); } break; - case QuixosCapabilityParser.LOCAL: + case 2: this.enterOuterAlt(localContext, 2); { - this.state = 618; + this.state = 642; this.match(QuixosCapabilityParser.LOCAL); - this.state = 619; + this.state = 643; this.match(QuixosCapabilityParser.FROM); - this.state = 620; + this.state = 644; this.identifier(); - this.state = 621; + this.state = 645; this.match(QuixosCapabilityParser.SEMI); } break; - case QuixosCapabilityParser.FRAGMENTS: + case 3: this.enterOuterAlt(localContext, 3); { - this.state = 623; + this.state = 647; this.match(QuixosCapabilityParser.FRAGMENTS); - this.state = 624; + this.state = 648; this.stringLiteral(); - this.state = 625; + this.state = 649; this.match(QuixosCapabilityParser.SEMI); } break; - case QuixosCapabilityParser.VIEW: + case 4: this.enterOuterAlt(localContext, 4); { - this.state = 627; + this.state = 651; + this.match(QuixosCapabilityParser.FRAGMENTS); + this.state = 652; + this.identifier(); + this.state = 653; + this.match(QuixosCapabilityParser.DOT); + this.state = 654; + this.identifier(); + this.state = 664; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + if (_la === 64) { + { + this.state = 655; + this.match(QuixosCapabilityParser.WITH); + this.state = 656; + this.match(QuixosCapabilityParser.LBRACE); + this.state = 660; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + while ((((_la) & ~0x1F) === 0 && ((1 << _la) & 4294966770) !== 0) || ((((_la - 32)) & ~0x1F) === 0 && ((1 << (_la - 32)) & 8451) !== 0) || ((((_la - 74)) & ~0x1F) === 0 && ((1 << (_la - 74)) & 3145729) !== 0) || _la === 106 || _la === 149) { + { + { + this.state = 657; + this.fragmentVariable(); + } + } + this.state = 662; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + } + this.state = 663; + this.match(QuixosCapabilityParser.RBRACE); + } + } + + this.state = 666; + this.match(QuixosCapabilityParser.SEMI); + } + break; + case 5: + this.enterOuterAlt(localContext, 5); + { + this.state = 668; this.match(QuixosCapabilityParser.VIEW); - this.state = 629; + this.state = 670; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 36) { { - this.state = 628; + this.state = 669; this.match(QuixosCapabilityParser.OBJECT); } } - this.state = 631; + this.state = 672; this.identifier(); - this.state = 632; + this.state = 673; this.match(QuixosCapabilityParser.AS); - this.state = 633; + this.state = 674; this.interfaceType(); - this.state = 634; + this.state = 675; this.match(QuixosCapabilityParser.SEMI); } break; - case QuixosCapabilityParser.MAX: - this.enterOuterAlt(localContext, 5); - { - this.state = 636; - this.match(QuixosCapabilityParser.MAX); - this.state = 637; - this.identifier(); - this.state = 638; - this.match(QuixosCapabilityParser.INTEGER); - this.state = 639; - this.match(QuixosCapabilityParser.SEMI); - } - break; - case QuixosCapabilityParser.ALLOW: + case 6: this.enterOuterAlt(localContext, 6); { - this.state = 641; - this.match(QuixosCapabilityParser.ALLOW); - this.state = 642; - this.interfaceType(); - this.state = 643; - this.match(QuixosCapabilityParser.DOT); - this.state = 644; + this.state = 677; + this.match(QuixosCapabilityParser.MAX); + this.state = 678; this.identifier(); - this.state = 645; - this.identifier(); - this.state = 646; - this.stringLiteral(); - this.state = 647; + this.state = 679; + this.match(QuixosCapabilityParser.INTEGER); + this.state = 680; this.match(QuixosCapabilityParser.SEMI); } break; - case QuixosCapabilityParser.WATCH: + case 7: this.enterOuterAlt(localContext, 7); { - this.state = 649; - this.match(QuixosCapabilityParser.WATCH); - this.state = 650; + this.state = 682; + this.match(QuixosCapabilityParser.ALLOW); + this.state = 683; + this.interfaceType(); + this.state = 684; + this.match(QuixosCapabilityParser.DOT); + this.state = 685; + this.identifier(); + this.state = 686; + this.identifier(); + this.state = 687; + this.stringLiteral(); + this.state = 688; this.match(QuixosCapabilityParser.SEMI); } break; - case QuixosCapabilityParser.POLL: + case 8: this.enterOuterAlt(localContext, 8); { - this.state = 651; - this.match(QuixosCapabilityParser.POLL); - this.state = 652; - this.match(QuixosCapabilityParser.INTEGER); - this.state = 653; - this.stringLiteral(); - this.state = 654; + this.state = 690; + this.match(QuixosCapabilityParser.WATCH); + this.state = 691; this.match(QuixosCapabilityParser.SEMI); } break; - default: - throw new antlr.NoViableAltException(this); + case 9: + this.enterOuterAlt(localContext, 9); + { + this.state = 692; + this.match(QuixosCapabilityParser.POLL); + this.state = 693; + this.match(QuixosCapabilityParser.INTEGER); + this.state = 694; + this.stringLiteral(); + this.state = 695; + this.match(QuixosCapabilityParser.SEMI); + } + break; + } + } + catch (re) { + if (re instanceof antlr.RecognitionException) { + this.errorHandler.reportError(this, re); + this.errorHandler.recover(this, re); + } else { + throw re; + } + } + finally { + this.exitRule(); + } + return localContext; + } + public fragmentVariable(): FragmentVariableContext { + let localContext = new FragmentVariableContext(this.context, this.state); + this.enterRule(localContext, 66, QuixosCapabilityParser.RULE_fragmentVariable); + try { + this.enterOuterAlt(localContext, 1); + { + this.state = 699; + this.identifier(); + this.state = 700; + this.match(QuixosCapabilityParser.TO); + this.state = 701; + this.identifier(); + this.state = 702; + this.match(QuixosCapabilityParser.SEMI); } } catch (re) { @@ -2398,86 +2544,86 @@ export class QuixosCapabilityParser extends antlr.Parser { } public packageOperationExport(): PackageOperationExportContext { let localContext = new PackageOperationExportContext(this.context, this.state); - this.enterRule(localContext, 66, QuixosCapabilityParser.RULE_packageOperationExport); + this.enterRule(localContext, 68, QuixosCapabilityParser.RULE_packageOperationExport); let _la: number; try { this.enterOuterAlt(localContext, 1); { - this.state = 658; + this.state = 704; this.match(QuixosCapabilityParser.OPERATION); - this.state = 659; + this.state = 705; this.identifier(); - this.state = 661; + this.state = 707; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 143) { { - this.state = 660; + this.state = 706; this.typeParameters(); } } - this.state = 663; + this.state = 709; this.match(QuixosCapabilityParser.ID); - this.state = 664; + this.state = 710; this.stringLiteral(); - this.state = 665; + this.state = 711; this.match(QuixosCapabilityParser.COLON); - this.state = 666; + this.state = 712; this.valueType(); - this.state = 667; + this.state = 713; this.match(QuixosCapabilityParser.ARROW); - this.state = 668; + this.state = 714; this.valueType(); - this.state = 669; + this.state = 715; this.match(QuixosCapabilityParser.MODE); - this.state = 670; + this.state = 716; this.operationMode(); - this.state = 672; + this.state = 718; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 10) { { - this.state = 671; + this.state = 717; this.executionClause(); } } - this.state = 675; + this.state = 721; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 87) { { - this.state = 674; + this.state = 720; this.eventClause(); } } - this.state = 677; + this.state = 723; this.match(QuixosCapabilityParser.RECEIVER); - this.state = 678; + this.state = 724; this.receiverRequirement(); - this.state = 680; + this.state = 726; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 89) { { - this.state = 679; + this.state = 725; this.dependencyBlock(); } } - this.state = 683; + this.state = 729; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 66) { { - this.state = 682; + this.state = 728; this.acceptanceClause(); } } - this.state = 685; + this.state = 731; this.match(QuixosCapabilityParser.SEMI); } } @@ -2496,68 +2642,68 @@ export class QuixosCapabilityParser extends antlr.Parser { } public packageFunctionExport(): PackageFunctionExportContext { let localContext = new PackageFunctionExportContext(this.context, this.state); - this.enterRule(localContext, 68, QuixosCapabilityParser.RULE_packageFunctionExport); + this.enterRule(localContext, 70, QuixosCapabilityParser.RULE_packageFunctionExport); let _la: number; try { this.enterOuterAlt(localContext, 1); { - this.state = 687; + this.state = 733; this.match(QuixosCapabilityParser.FUNCTION); - this.state = 688; + this.state = 734; this.identifier(); - this.state = 690; + this.state = 736; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 143) { { - this.state = 689; + this.state = 735; this.typeParameters(); } } - this.state = 692; + this.state = 738; this.match(QuixosCapabilityParser.ID); - this.state = 693; + this.state = 739; this.stringLiteral(); - this.state = 694; + this.state = 740; this.match(QuixosCapabilityParser.COLON); - this.state = 695; + this.state = 741; this.valueType(); - this.state = 696; + this.state = 742; this.match(QuixosCapabilityParser.ARROW); - this.state = 697; + this.state = 743; this.valueType(); - this.state = 699; + this.state = 745; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 10) { { - this.state = 698; + this.state = 744; this.executionClause(); } } - this.state = 702; + this.state = 748; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 89) { { - this.state = 701; + this.state = 747; this.dependencyBlock(); } } - this.state = 705; + this.state = 751; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 66) { { - this.state = 704; + this.state = 750; this.acceptanceClause(); } } - this.state = 707; + this.state = 753; this.match(QuixosCapabilityParser.SEMI); } } @@ -2576,15 +2722,15 @@ export class QuixosCapabilityParser extends antlr.Parser { } public acceptanceClause(): AcceptanceClauseContext { let localContext = new AcceptanceClauseContext(this.context, this.state); - this.enterRule(localContext, 70, QuixosCapabilityParser.RULE_acceptanceClause); + this.enterRule(localContext, 72, QuixosCapabilityParser.RULE_acceptanceClause); try { this.enterOuterAlt(localContext, 1); { - this.state = 709; + this.state = 755; this.match(QuixosCapabilityParser.ACCEPT); - this.state = 710; + this.state = 756; this.match(QuixosCapabilityParser.USING); - this.state = 711; + this.state = 757; this.identifier(); } } @@ -2603,27 +2749,27 @@ export class QuixosCapabilityParser extends antlr.Parser { } public executionClause(): ExecutionClauseContext { let localContext = new ExecutionClauseContext(this.context, this.state); - this.enterRule(localContext, 72, QuixosCapabilityParser.RULE_executionClause); + this.enterRule(localContext, 74, QuixosCapabilityParser.RULE_executionClause); let _la: number; try { - this.state = 722; + this.state = 768; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 60, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 67, this.context) ) { case 1: this.enterOuterAlt(localContext, 1); { - this.state = 713; + this.state = 759; this.match(QuixosCapabilityParser.EXECUTION); - this.state = 714; + this.state = 760; this.match(QuixosCapabilityParser.REMOTE); } break; case 2: this.enterOuterAlt(localContext, 2); { - this.state = 715; + this.state = 761; this.match(QuixosCapabilityParser.EXECUTION); - this.state = 716; + this.state = 762; _la = this.tokenStream.LA(1); if(!(_la === 11 || _la === 12)) { this.errorHandler.recoverInline(this); @@ -2632,13 +2778,13 @@ export class QuixosCapabilityParser extends antlr.Parser { this.errorHandler.reportMatch(this); this.consume(); } - this.state = 717; + this.state = 763; this.match(QuixosCapabilityParser.TARGETS); - this.state = 718; + this.state = 764; this.match(QuixosCapabilityParser.LBRACK); - this.state = 719; + this.state = 765; this.identifierList(); - this.state = 720; + this.state = 766; this.match(QuixosCapabilityParser.RBRACK); } break; @@ -2659,34 +2805,34 @@ export class QuixosCapabilityParser extends antlr.Parser { } public selectedOperations(): SelectedOperationsContext { let localContext = new SelectedOperationsContext(this.context, this.state); - this.enterRule(localContext, 74, QuixosCapabilityParser.RULE_selectedOperations); + this.enterRule(localContext, 76, QuixosCapabilityParser.RULE_selectedOperations); let _la: number; try { this.enterOuterAlt(localContext, 1); { - this.state = 724; + this.state = 770; this.match(QuixosCapabilityParser.USING); - this.state = 725; + this.state = 771; this.match(QuixosCapabilityParser.LBRACK); - this.state = 726; + this.state = 772; this.memberOperationRef(); - this.state = 731; + this.state = 777; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); while (_la === 135) { { { - this.state = 727; + this.state = 773; this.match(QuixosCapabilityParser.COMMA); - this.state = 728; + this.state = 774; this.memberOperationRef(); } } - this.state = 733; + this.state = 779; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } - this.state = 734; + this.state = 780; this.match(QuixosCapabilityParser.RBRACK); } } @@ -2705,38 +2851,38 @@ export class QuixosCapabilityParser extends antlr.Parser { } public packageConstructorExport(): PackageConstructorExportContext { let localContext = new PackageConstructorExportContext(this.context, this.state); - this.enterRule(localContext, 76, QuixosCapabilityParser.RULE_packageConstructorExport); + this.enterRule(localContext, 78, QuixosCapabilityParser.RULE_packageConstructorExport); let _la: number; try { this.enterOuterAlt(localContext, 1); { - this.state = 736; + this.state = 782; this.match(QuixosCapabilityParser.CONSTRUCTOR); - this.state = 737; + this.state = 783; this.identifier(); - this.state = 738; + this.state = 784; this.match(QuixosCapabilityParser.ID); - this.state = 739; + this.state = 785; this.stringLiteral(); - this.state = 740; + this.state = 786; this.match(QuixosCapabilityParser.CONSTRUCTS); - this.state = 741; + this.state = 787; this.identifier(); - this.state = 742; + this.state = 788; this.match(QuixosCapabilityParser.COLON); - this.state = 743; + this.state = 789; this.valueType(); - this.state = 745; + this.state = 791; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 89) { { - this.state = 744; + this.state = 790; this.dependencyBlock(); } } - this.state = 747; + this.state = 793; this.match(QuixosCapabilityParser.SEMI); } } @@ -2755,13 +2901,13 @@ export class QuixosCapabilityParser extends antlr.Parser { } public eventClause(): EventClauseContext { let localContext = new EventClauseContext(this.context, this.state); - this.enterRule(localContext, 78, QuixosCapabilityParser.RULE_eventClause); + this.enterRule(localContext, 80, QuixosCapabilityParser.RULE_eventClause); try { this.enterOuterAlt(localContext, 1); { - this.state = 749; + this.state = 795; this.match(QuixosCapabilityParser.EMITS); - this.state = 750; + this.state = 796; this.valueType(); } } @@ -2780,12 +2926,12 @@ export class QuixosCapabilityParser extends antlr.Parser { } public operationMode(): OperationModeContext { let localContext = new OperationModeContext(this.context, this.state); - this.enterRule(localContext, 80, QuixosCapabilityParser.RULE_operationMode); + this.enterRule(localContext, 82, QuixosCapabilityParser.RULE_operationMode); let _la: number; try { this.enterOuterAlt(localContext, 1); { - this.state = 752; + this.state = 798; _la = this.tokenStream.LA(1); if(!(((((_la - 101)) & ~0x1F) === 0 && ((1 << (_la - 101)) & 31) !== 0))) { this.errorHandler.recoverInline(this); @@ -2811,71 +2957,71 @@ export class QuixosCapabilityParser extends antlr.Parser { } public receiverRequirement(): ReceiverRequirementContext { let localContext = new ReceiverRequirementContext(this.context, this.state); - this.enterRule(localContext, 82, QuixosCapabilityParser.RULE_receiverRequirement); + this.enterRule(localContext, 84, QuixosCapabilityParser.RULE_receiverRequirement); let _la: number; try { - this.state = 772; + this.state = 818; this.errorHandler.sync(this); switch (this.tokenStream.LA(1)) { case QuixosCapabilityParser.ANY: this.enterOuterAlt(localContext, 1); { - this.state = 754; + this.state = 800; this.match(QuixosCapabilityParser.ANY); } break; case QuixosCapabilityParser.ATOM: this.enterOuterAlt(localContext, 2); { - this.state = 755; + this.state = 801; this.match(QuixosCapabilityParser.ATOM); - this.state = 756; + this.state = 802; this.identifier(); } break; case QuixosCapabilityParser.OBJECT: this.enterOuterAlt(localContext, 3); { - this.state = 757; + this.state = 803; this.match(QuixosCapabilityParser.OBJECT); - this.state = 758; + this.state = 804; this.identifier(); } break; case QuixosCapabilityParser.INTERFACES: this.enterOuterAlt(localContext, 4); { - this.state = 759; + this.state = 805; this.match(QuixosCapabilityParser.INTERFACES); - this.state = 760; + this.state = 806; this.match(QuixosCapabilityParser.LBRACK); - this.state = 769; + this.state = 815; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); - if ((((_la) & ~0x1F) === 0 && ((1 << _la) & 4294966770) !== 0) || ((((_la - 32)) & ~0x1F) === 0 && ((1 << (_la - 32)) & 8195) !== 0) || ((((_la - 74)) & ~0x1F) === 0 && ((1 << (_la - 74)) & 3145729) !== 0) || _la === 106 || _la === 149) { + if ((((_la) & ~0x1F) === 0 && ((1 << _la) & 4294966770) !== 0) || ((((_la - 32)) & ~0x1F) === 0 && ((1 << (_la - 32)) & 8451) !== 0) || ((((_la - 74)) & ~0x1F) === 0 && ((1 << (_la - 74)) & 3145729) !== 0) || _la === 106 || _la === 149) { { - this.state = 761; + this.state = 807; this.interfaceType(); - this.state = 766; + this.state = 812; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); while (_la === 135) { { { - this.state = 762; + this.state = 808; this.match(QuixosCapabilityParser.COMMA); - this.state = 763; + this.state = 809; this.interfaceType(); } } - this.state = 768; + this.state = 814; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } } } - this.state = 771; + this.state = 817; this.match(QuixosCapabilityParser.RBRACK); } break; @@ -2898,26 +3044,26 @@ export class QuixosCapabilityParser extends antlr.Parser { } public identifierList(): IdentifierListContext { let localContext = new IdentifierListContext(this.context, this.state); - this.enterRule(localContext, 84, QuixosCapabilityParser.RULE_identifierList); + this.enterRule(localContext, 86, QuixosCapabilityParser.RULE_identifierList); let _la: number; try { this.enterOuterAlt(localContext, 1); { - this.state = 774; + this.state = 820; this.identifier(); - this.state = 779; + this.state = 825; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); while (_la === 135) { { { - this.state = 775; + this.state = 821; this.match(QuixosCapabilityParser.COMMA); - this.state = 776; + this.state = 822; this.identifier(); } } - this.state = 781; + this.state = 827; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } @@ -2938,30 +3084,30 @@ export class QuixosCapabilityParser extends antlr.Parser { } public dependencyBlock(): DependencyBlockContext { let localContext = new DependencyBlockContext(this.context, this.state); - this.enterRule(localContext, 86, QuixosCapabilityParser.RULE_dependencyBlock); + this.enterRule(localContext, 88, QuixosCapabilityParser.RULE_dependencyBlock); let _la: number; try { this.enterOuterAlt(localContext, 1); { - this.state = 782; + this.state = 828; this.match(QuixosCapabilityParser.REQUIRES); - this.state = 783; + this.state = 829; this.match(QuixosCapabilityParser.LBRACE); - this.state = 787; + this.state = 833; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); while ((((_la) & ~0x1F) === 0 && ((1 << _la) & 12583040) !== 0) || ((((_la - 44)) & ~0x1F) === 0 && ((1 << (_la - 44)) & 393345) !== 0)) { { { - this.state = 784; + this.state = 830; this.dependencyPort(); } } - this.state = 789; + this.state = 835; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } - this.state = 790; + this.state = 836; this.match(QuixosCapabilityParser.RBRACE); } } @@ -2980,133 +3126,17 @@ export class QuixosCapabilityParser extends antlr.Parser { } public dependencyPort(): DependencyPortContext { let localContext = new DependencyPortContext(this.context, this.state); - this.enterRule(localContext, 88, QuixosCapabilityParser.RULE_dependencyPort); + this.enterRule(localContext, 90, QuixosCapabilityParser.RULE_dependencyPort); let _la: number; try { - this.state = 870; + this.state = 916; this.errorHandler.sync(this); switch (this.tokenStream.LA(1)) { case QuixosCapabilityParser.REFLECTION: this.enterOuterAlt(localContext, 1); { - this.state = 792; - this.match(QuixosCapabilityParser.REFLECTION); - this.state = 793; - this.identifier(); - this.state = 794; - this.match(QuixosCapabilityParser.ID); - this.state = 795; - this.stringLiteral(); - this.state = 796; - this.match(QuixosCapabilityParser.LBRACK); - this.state = 797; - this.identifierList(); - this.state = 798; - this.match(QuixosCapabilityParser.RBRACK); - this.state = 799; - this.match(QuixosCapabilityParser.SEMI); - } - break; - case QuixosCapabilityParser.STATE: - this.enterOuterAlt(localContext, 2); - { - this.state = 801; - this.match(QuixosCapabilityParser.STATE); - this.state = 802; - this.identifier(); - this.state = 803; - this.match(QuixosCapabilityParser.ID); - this.state = 804; - this.stringLiteral(); - this.state = 805; - this.match(QuixosCapabilityParser.COLON); - this.state = 806; - this.valueType(); - this.state = 807; - this.primitiveList(); - this.state = 808; - this.match(QuixosCapabilityParser.SEMI); - } - break; - case QuixosCapabilityParser.EDGE: - this.enterOuterAlt(localContext, 3); - { - this.state = 810; - this.match(QuixosCapabilityParser.EDGE); - this.state = 811; - this.identifier(); - this.state = 812; - this.match(QuixosCapabilityParser.ID); - this.state = 813; - this.stringLiteral(); - this.state = 814; - this.match(QuixosCapabilityParser.COLON); - this.state = 815; - this.cardinality(); - this.state = 816; - this.targetConstraint(); - this.state = 817; - this.primitiveList(); - this.state = 818; - this.match(QuixosCapabilityParser.SEMI); - } - break; - case QuixosCapabilityParser.INTERFACE: - this.enterOuterAlt(localContext, 4); - { - this.state = 820; - this.match(QuixosCapabilityParser.INTERFACE); - this.state = 821; - this.identifier(); - this.state = 822; - this.match(QuixosCapabilityParser.ID); - this.state = 823; - this.stringLiteral(); - this.state = 824; - this.match(QuixosCapabilityParser.COLON); - this.state = 825; - this.identifier(); - this.state = 827; - this.errorHandler.sync(this); - _la = this.tokenStream.LA(1); - if (_la === 143) { - { - this.state = 826; - this.typeArguments(); - } - } - - this.state = 830; - this.errorHandler.sync(this); - _la = this.tokenStream.LA(1); - if (_la === 65) { - { - this.state = 829; - this.selectedOperations(); - } - } - - this.state = 834; - this.errorHandler.sync(this); - _la = this.tokenStream.LA(1); - if (_la === 18) { - { - this.state = 832; - this.match(QuixosCapabilityParser.FROM); - this.state = 833; - this.match(QuixosCapabilityParser.INPUT); - } - } - - this.state = 836; - this.match(QuixosCapabilityParser.SEMI); - } - break; - case QuixosCapabilityParser.CREATION: - this.enterOuterAlt(localContext, 5); - { this.state = 838; - this.match(QuixosCapabilityParser.CREATION); + this.match(QuixosCapabilityParser.REFLECTION); this.state = 839; this.identifier(); this.state = 840; @@ -3114,68 +3144,184 @@ export class QuixosCapabilityParser extends antlr.Parser { this.state = 841; this.stringLiteral(); this.state = 842; - this.match(QuixosCapabilityParser.COLON); + this.match(QuixosCapabilityParser.LBRACK); this.state = 843; - this.identifier(); + this.identifierList(); this.state = 844; - this.match(QuixosCapabilityParser.INPUT); + this.match(QuixosCapabilityParser.RBRACK); this.state = 845; + this.match(QuixosCapabilityParser.SEMI); + } + break; + case QuixosCapabilityParser.STATE: + this.enterOuterAlt(localContext, 2); + { + this.state = 847; + this.match(QuixosCapabilityParser.STATE); + this.state = 848; + this.identifier(); + this.state = 849; + this.match(QuixosCapabilityParser.ID); + this.state = 850; + this.stringLiteral(); + this.state = 851; + this.match(QuixosCapabilityParser.COLON); + this.state = 852; this.valueType(); - this.state = 846; + this.state = 853; + this.primitiveList(); + this.state = 854; + this.match(QuixosCapabilityParser.SEMI); + } + break; + case QuixosCapabilityParser.EDGE: + this.enterOuterAlt(localContext, 3); + { + this.state = 856; + this.match(QuixosCapabilityParser.EDGE); + this.state = 857; + this.identifier(); + this.state = 858; + this.match(QuixosCapabilityParser.ID); + this.state = 859; + this.stringLiteral(); + this.state = 860; + this.match(QuixosCapabilityParser.COLON); + this.state = 861; + this.cardinality(); + this.state = 862; + this.targetConstraint(); + this.state = 863; + this.primitiveList(); + this.state = 864; + this.match(QuixosCapabilityParser.SEMI); + } + break; + case QuixosCapabilityParser.INTERFACE: + this.enterOuterAlt(localContext, 4); + { + this.state = 866; + this.match(QuixosCapabilityParser.INTERFACE); + this.state = 867; + this.identifier(); + this.state = 868; + this.match(QuixosCapabilityParser.ID); + this.state = 869; + this.stringLiteral(); + this.state = 870; + this.match(QuixosCapabilityParser.COLON); + this.state = 871; + this.identifier(); + this.state = 873; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + if (_la === 143) { + { + this.state = 872; + this.typeArguments(); + } + } + + this.state = 876; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + if (_la === 65) { + { + this.state = 875; + this.selectedOperations(); + } + } + + this.state = 880; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + if (_la === 18) { + { + this.state = 878; + this.match(QuixosCapabilityParser.FROM); + this.state = 879; + this.match(QuixosCapabilityParser.INPUT); + } + } + + this.state = 882; + this.match(QuixosCapabilityParser.SEMI); + } + break; + case QuixosCapabilityParser.CREATION: + this.enterOuterAlt(localContext, 5); + { + this.state = 884; + this.match(QuixosCapabilityParser.CREATION); + this.state = 885; + this.identifier(); + this.state = 886; + this.match(QuixosCapabilityParser.ID); + this.state = 887; + this.stringLiteral(); + this.state = 888; + this.match(QuixosCapabilityParser.COLON); + this.state = 889; + this.identifier(); + this.state = 890; + this.match(QuixosCapabilityParser.INPUT); + this.state = 891; + this.valueType(); + this.state = 892; this.match(QuixosCapabilityParser.SEMI); } break; case QuixosCapabilityParser.CONSTRUCTOR: this.enterOuterAlt(localContext, 6); { - this.state = 848; + this.state = 894; this.match(QuixosCapabilityParser.CONSTRUCTOR); - this.state = 849; + this.state = 895; this.identifier(); - this.state = 850; + this.state = 896; this.match(QuixosCapabilityParser.ID); - this.state = 851; + this.state = 897; this.stringLiteral(); - this.state = 852; + this.state = 898; this.match(QuixosCapabilityParser.COLON); - this.state = 853; + this.state = 899; this.identifier(); - this.state = 856; + this.state = 902; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 53) { { - this.state = 854; + this.state = 900; this.match(QuixosCapabilityParser.INPUT); - this.state = 855; + this.state = 901; this.valueType(); } } - this.state = 858; + this.state = 904; this.match(QuixosCapabilityParser.SEMI); } break; case QuixosCapabilityParser.QUERY: this.enterOuterAlt(localContext, 7); { - this.state = 860; + this.state = 906; this.match(QuixosCapabilityParser.QUERY); - this.state = 861; + this.state = 907; this.identifier(); - this.state = 862; + this.state = 908; this.match(QuixosCapabilityParser.ID); - this.state = 863; + this.state = 909; this.stringLiteral(); - this.state = 864; + this.state = 910; this.match(QuixosCapabilityParser.COLON); - this.state = 865; + this.state = 911; this.identifier(); - this.state = 866; + this.state = 912; this.match(QuixosCapabilityParser.DOT); - this.state = 867; + this.state = 913; this.identifier(); - this.state = 868; + this.state = 914; this.match(QuixosCapabilityParser.SEMI); } break; @@ -3198,32 +3344,32 @@ export class QuixosCapabilityParser extends antlr.Parser { } public primitiveList(): PrimitiveListContext { let localContext = new PrimitiveListContext(this.context, this.state); - this.enterRule(localContext, 90, QuixosCapabilityParser.RULE_primitiveList); + this.enterRule(localContext, 92, QuixosCapabilityParser.RULE_primitiveList); let _la: number; try { this.enterOuterAlt(localContext, 1); { - this.state = 872; + this.state = 918; this.match(QuixosCapabilityParser.LBRACK); - this.state = 873; + this.state = 919; this.primitive(); - this.state = 878; + this.state = 924; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); while (_la === 135) { { { - this.state = 874; + this.state = 920; this.match(QuixosCapabilityParser.COMMA); - this.state = 875; + this.state = 921; this.primitive(); } } - this.state = 880; + this.state = 926; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } - this.state = 881; + this.state = 927; this.match(QuixosCapabilityParser.RBRACK); } } @@ -3242,12 +3388,12 @@ export class QuixosCapabilityParser extends antlr.Parser { } public primitive(): PrimitiveContext { let localContext = new PrimitiveContext(this.context, this.state); - this.enterRule(localContext, 92, QuixosCapabilityParser.RULE_primitive); + this.enterRule(localContext, 94, QuixosCapabilityParser.RULE_primitive); let _la: number; try { this.enterOuterAlt(localContext, 1); { - this.state = 883; + this.state = 929; _la = this.tokenStream.LA(1); if(!(_la === 1 || ((((_la - 96)) & ~0x1F) === 0 && ((1 << (_la - 96)) & 223) !== 0))) { this.errorHandler.recoverInline(this); @@ -3273,13 +3419,13 @@ export class QuixosCapabilityParser extends antlr.Parser { } public sharedAttachmentDecl(): SharedAttachmentDeclContext { let localContext = new SharedAttachmentDeclContext(this.context, this.state); - this.enterRule(localContext, 94, QuixosCapabilityParser.RULE_sharedAttachmentDecl); + this.enterRule(localContext, 96, QuixosCapabilityParser.RULE_sharedAttachmentDecl); try { this.enterOuterAlt(localContext, 1); { - this.state = 885; + this.state = 931; this.match(QuixosCapabilityParser.SHARED); - this.state = 886; + this.state = 932; this.attachmentDecl(); } } @@ -3298,22 +3444,22 @@ export class QuixosCapabilityParser extends antlr.Parser { } public attachmentDecl(): AttachmentDeclContext { let localContext = new AttachmentDeclContext(this.context, this.state); - this.enterRule(localContext, 96, QuixosCapabilityParser.RULE_attachmentDecl); + this.enterRule(localContext, 98, QuixosCapabilityParser.RULE_attachmentDecl); try { - this.state = 890; + this.state = 936; this.errorHandler.sync(this); switch (this.tokenStream.LA(1)) { case QuixosCapabilityParser.STATE: this.enterOuterAlt(localContext, 1); { - this.state = 888; + this.state = 934; this.stateDecl(); } break; case QuixosCapabilityParser.EDGE: this.enterOuterAlt(localContext, 2); { - this.state = 889; + this.state = 935; this.edgeDecl(); } break; @@ -3336,44 +3482,44 @@ export class QuixosCapabilityParser extends antlr.Parser { } public stateDecl(): StateDeclContext { let localContext = new StateDeclContext(this.context, this.state); - this.enterRule(localContext, 98, QuixosCapabilityParser.RULE_stateDecl); + this.enterRule(localContext, 100, QuixosCapabilityParser.RULE_stateDecl); let _la: number; try { this.enterOuterAlt(localContext, 1); { - this.state = 892; + this.state = 938; this.match(QuixosCapabilityParser.STATE); - this.state = 893; + this.state = 939; this.identifier(); - this.state = 894; + this.state = 940; this.match(QuixosCapabilityParser.ID); - this.state = 895; + this.state = 941; this.stringLiteral(); - this.state = 896; + this.state = 942; this.match(QuixosCapabilityParser.ON); - this.state = 897; + this.state = 943; this.identifier(); - this.state = 898; + this.state = 944; this.match(QuixosCapabilityParser.COLON); - this.state = 899; + this.state = 945; this.valueType(); - this.state = 900; + this.state = 946; this.match(QuixosCapabilityParser.POLICY); - this.state = 901; + this.state = 947; this.storagePolicy(); - this.state = 904; + this.state = 950; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 73) { { - this.state = 902; + this.state = 948; this.match(QuixosCapabilityParser.DEFAULT); - this.state = 903; + this.state = 949; this.jsonLiteral(); } } - this.state = 906; + this.state = 952; this.match(QuixosCapabilityParser.SEMI); } } @@ -3392,28 +3538,28 @@ export class QuixosCapabilityParser extends antlr.Parser { } public storagePolicy(): StoragePolicyContext { let localContext = new StoragePolicyContext(this.context, this.state); - this.enterRule(localContext, 100, QuixosCapabilityParser.RULE_storagePolicy); + this.enterRule(localContext, 102, QuixosCapabilityParser.RULE_storagePolicy); try { - this.state = 914; + this.state = 960; this.errorHandler.sync(this); switch (this.tokenStream.LA(1)) { case QuixosCapabilityParser.REGISTER: this.enterOuterAlt(localContext, 1); { - this.state = 908; + this.state = 954; this.match(QuixosCapabilityParser.REGISTER); } break; case QuixosCapabilityParser.CRDT: this.enterOuterAlt(localContext, 2); { - this.state = 909; + this.state = 955; this.match(QuixosCapabilityParser.CRDT); - this.state = 910; + this.state = 956; this.match(QuixosCapabilityParser.LPAREN); - this.state = 911; + this.state = 957; this.valueType(); - this.state = 912; + this.state = 958; this.match(QuixosCapabilityParser.RPAREN); } break; @@ -3436,25 +3582,25 @@ export class QuixosCapabilityParser extends antlr.Parser { } public edgeDecl(): EdgeDeclContext { let localContext = new EdgeDeclContext(this.context, this.state); - this.enterRule(localContext, 102, QuixosCapabilityParser.RULE_edgeDecl); + this.enterRule(localContext, 104, QuixosCapabilityParser.RULE_edgeDecl); try { this.enterOuterAlt(localContext, 1); { - this.state = 916; + this.state = 962; this.match(QuixosCapabilityParser.EDGE); - this.state = 917; + this.state = 963; this.identifier(); - this.state = 918; + this.state = 964; this.match(QuixosCapabilityParser.ID); - this.state = 919; + this.state = 965; this.stringLiteral(); - this.state = 920; + this.state = 966; this.match(QuixosCapabilityParser.LBRACE); - this.state = 921; + this.state = 967; this.edgeEndpoint(); - this.state = 922; + this.state = 968; this.edgeEndpoint(); - this.state = 923; + this.state = 969; this.match(QuixosCapabilityParser.RBRACE); } } @@ -3473,78 +3619,78 @@ export class QuixosCapabilityParser extends antlr.Parser { } public edgeEndpoint(): EdgeEndpointContext { let localContext = new EdgeEndpointContext(this.context, this.state); - this.enterRule(localContext, 104, QuixosCapabilityParser.RULE_edgeEndpoint); + this.enterRule(localContext, 106, QuixosCapabilityParser.RULE_edgeEndpoint); let _la: number; try { this.enterOuterAlt(localContext, 1); { - this.state = 925; + this.state = 971; this.targetConstraint(); - this.state = 926; + this.state = 972; this.match(QuixosCapabilityParser.PROJECTION); - this.state = 927; + this.state = 973; this.identifier(); - this.state = 928; + this.state = 974; this.match(QuixosCapabilityParser.ID); - this.state = 929; + this.state = 975; this.stringLiteral(); - this.state = 930; + this.state = 976; this.cardinality(); - this.state = 932; + this.state = 978; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 112) { { - this.state = 931; + this.state = 977; this.match(QuixosCapabilityParser.ORDERED); } } - this.state = 936; + this.state = 982; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 79) { { - this.state = 934; + this.state = 980; this.match(QuixosCapabilityParser.ON_DELETE); - this.state = 935; + this.state = 981; this.stringLiteral(); } } - this.state = 939; + this.state = 985; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 81) { { - this.state = 938; + this.state = 984; this.match(QuixosCapabilityParser.RETAIN_OTHER); } } - this.state = 943; + this.state = 989; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 82) { { - this.state = 941; + this.state = 987; this.match(QuixosCapabilityParser.KEYED); - this.state = 942; + this.state = 988; this.stringLiteral(); } } - this.state = 946; + this.state = 992; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 83) { { - this.state = 945; + this.state = 991; this.match(QuixosCapabilityParser.PUBLIC_TRAVERSAL); } } - this.state = 948; + this.state = 994; this.match(QuixosCapabilityParser.SEMI); } } @@ -3563,70 +3709,70 @@ export class QuixosCapabilityParser extends antlr.Parser { } public conformanceDecl(): ConformanceDeclContext { let localContext = new ConformanceDeclContext(this.context, this.state); - this.enterRule(localContext, 106, QuixosCapabilityParser.RULE_conformanceDecl); + this.enterRule(localContext, 108, QuixosCapabilityParser.RULE_conformanceDecl); let _la: number; try { this.enterOuterAlt(localContext, 1); { - this.state = 950; + this.state = 996; this.match(QuixosCapabilityParser.CONFORM); - this.state = 951; + this.state = 997; this.identifier(); - this.state = 952; + this.state = 998; this.match(QuixosCapabilityParser.AS); - this.state = 953; + this.state = 999; this.identifier(); - this.state = 955; + this.state = 1001; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 143) { { - this.state = 954; + this.state = 1000; this.typeArguments(); } } - this.state = 959; + this.state = 1005; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 84) { { - this.state = 957; + this.state = 1003; this.match(QuixosCapabilityParser.ID); - this.state = 958; + this.state = 1004; this.stringLiteral(); } } - this.state = 963; + this.state = 1009; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 78) { { - this.state = 961; + this.state = 1007; this.match(QuixosCapabilityParser.SEMANTIC_MAJOR); - this.state = 962; + this.state = 1008; this.match(QuixosCapabilityParser.INTEGER); } } - this.state = 965; + this.state = 1011; this.match(QuixosCapabilityParser.LBRACE); - this.state = 969; + this.state = 1015; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); while (_la === 8 || ((((_la - 56)) & ~0x1F) === 0 && ((1 << (_la - 56)) & 4105) !== 0)) { { { - this.state = 966; + this.state = 1012; this.conformanceItem(); } } - this.state = 971; + this.state = 1017; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } - this.state = 972; + this.state = 1018; this.match(QuixosCapabilityParser.RBRACE); } } @@ -3645,52 +3791,52 @@ export class QuixosCapabilityParser extends antlr.Parser { } public conformanceItem(): ConformanceItemContext { let localContext = new ConformanceItemContext(this.context, this.state); - this.enterRule(localContext, 108, QuixosCapabilityParser.RULE_conformanceItem); + this.enterRule(localContext, 110, QuixosCapabilityParser.RULE_conformanceItem); try { - this.state = 981; + this.state = 1027; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 86, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 93, this.context) ) { case 1: this.enterOuterAlt(localContext, 1); { - this.state = 974; + this.state = 1020; this.match(QuixosCapabilityParser.PRIVATE); - this.state = 975; + this.state = 1021; this.attachmentDecl(); } break; case 2: this.enterOuterAlt(localContext, 2); { - this.state = 976; + this.state = 1022; this.operationBindingDecl(); } break; case 3: this.enterOuterAlt(localContext, 3); { - this.state = 977; + this.state = 1023; this.stateFieldBindingDecl(); } break; case 4: this.enterOuterAlt(localContext, 4); { - this.state = 978; + this.state = 1024; this.initializationDecl(); } break; case 5: this.enterOuterAlt(localContext, 5); { - this.state = 979; + this.state = 1025; this.relationshipMaterializationDecl(); } break; case 6: this.enterOuterAlt(localContext, 6); { - this.state = 980; + this.state = 1026; this.moduleBindingDecl(); } break; @@ -3711,23 +3857,23 @@ export class QuixosCapabilityParser extends antlr.Parser { } public moduleBindingDecl(): ModuleBindingDeclContext { let localContext = new ModuleBindingDeclContext(this.context, this.state); - this.enterRule(localContext, 110, QuixosCapabilityParser.RULE_moduleBindingDecl); + this.enterRule(localContext, 112, QuixosCapabilityParser.RULE_moduleBindingDecl); try { this.enterOuterAlt(localContext, 1); { - this.state = 983; + this.state = 1029; this.match(QuixosCapabilityParser.BIND); - this.state = 984; + this.state = 1030; this.identifier(); - this.state = 985; + this.state = 1031; this.match(QuixosCapabilityParser.TO); - this.state = 986; + this.state = 1032; this.identifier(); - this.state = 987; + this.state = 1033; this.match(QuixosCapabilityParser.DOT); - this.state = 988; + this.state = 1034; this.identifier(); - this.state = 989; + this.state = 1035; this.match(QuixosCapabilityParser.SEMI); } } @@ -3746,32 +3892,32 @@ export class QuixosCapabilityParser extends antlr.Parser { } public initializationDecl(): InitializationDeclContext { let localContext = new InitializationDeclContext(this.context, this.state); - this.enterRule(localContext, 112, QuixosCapabilityParser.RULE_initializationDecl); + this.enterRule(localContext, 114, QuixosCapabilityParser.RULE_initializationDecl); let _la: number; try { this.enterOuterAlt(localContext, 1); { - this.state = 991; + this.state = 1037; this.match(QuixosCapabilityParser.INITIALIZE); - this.state = 992; + this.state = 1038; this.match(QuixosCapabilityParser.LBRACE); - this.state = 996; + this.state = 1042; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); - while ((((_la) & ~0x1F) === 0 && ((1 << _la) & 4294966770) !== 0) || ((((_la - 32)) & ~0x1F) === 0 && ((1 << (_la - 32)) & 8195) !== 0) || ((((_la - 74)) & ~0x1F) === 0 && ((1 << (_la - 74)) & 3145729) !== 0) || _la === 106 || _la === 149) { + while ((((_la) & ~0x1F) === 0 && ((1 << _la) & 4294966770) !== 0) || ((((_la - 32)) & ~0x1F) === 0 && ((1 << (_la - 32)) & 8451) !== 0) || ((((_la - 74)) & ~0x1F) === 0 && ((1 << (_la - 74)) & 3145729) !== 0) || _la === 106 || _la === 149) { { { - this.state = 993; + this.state = 1039; this.initializationField(); } } - this.state = 998; + this.state = 1044; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } - this.state = 999; + this.state = 1045; this.match(QuixosCapabilityParser.RBRACE); - this.state = 1000; + this.state = 1046; this.match(QuixosCapabilityParser.SEMI); } } @@ -3790,42 +3936,42 @@ export class QuixosCapabilityParser extends antlr.Parser { } public initializationField(): InitializationFieldContext { let localContext = new InitializationFieldContext(this.context, this.state); - this.enterRule(localContext, 114, QuixosCapabilityParser.RULE_initializationField); + this.enterRule(localContext, 116, QuixosCapabilityParser.RULE_initializationField); try { - this.state = 1016; + this.state = 1062; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 88, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 95, this.context) ) { case 1: this.enterOuterAlt(localContext, 1); { - this.state = 1002; + this.state = 1048; this.identifier(); - this.state = 1003; + this.state = 1049; this.match(QuixosCapabilityParser.TO); - this.state = 1004; + this.state = 1050; this.match(QuixosCapabilityParser.STATE); - this.state = 1005; + this.state = 1051; this.identifier(); - this.state = 1006; + this.state = 1052; this.match(QuixosCapabilityParser.SEMI); } break; case 2: this.enterOuterAlt(localContext, 2); { - this.state = 1008; + this.state = 1054; this.identifier(); - this.state = 1009; + this.state = 1055; this.match(QuixosCapabilityParser.TO); - this.state = 1010; + this.state = 1056; this.match(QuixosCapabilityParser.EDGE); - this.state = 1011; + this.state = 1057; this.identifier(); - this.state = 1012; + this.state = 1058; this.match(QuixosCapabilityParser.DOT); - this.state = 1013; + this.state = 1059; this.identifier(); - this.state = 1014; + this.state = 1060; this.match(QuixosCapabilityParser.SEMI); } break; @@ -3846,34 +3992,34 @@ export class QuixosCapabilityParser extends antlr.Parser { } public creationOwnerMapping(): CreationOwnerMappingContext { let localContext = new CreationOwnerMappingContext(this.context, this.state); - this.enterRule(localContext, 116, QuixosCapabilityParser.RULE_creationOwnerMapping); + this.enterRule(localContext, 118, QuixosCapabilityParser.RULE_creationOwnerMapping); let _la: number; try { this.enterOuterAlt(localContext, 1); { - this.state = 1018; + this.state = 1064; this.interfaceType(); - this.state = 1019; + this.state = 1065; this.match(QuixosCapabilityParser.FROM); - this.state = 1020; + this.state = 1066; this.match(QuixosCapabilityParser.INPUT); - this.state = 1025; + this.state = 1071; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); while (_la === 136) { { { - this.state = 1021; + this.state = 1067; this.match(QuixosCapabilityParser.DOT); - this.state = 1022; + this.state = 1068; this.identifier(); } } - this.state = 1027; + this.state = 1073; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } - this.state = 1028; + this.state = 1074; this.match(QuixosCapabilityParser.SEMI); } } @@ -3892,21 +4038,21 @@ export class QuixosCapabilityParser extends antlr.Parser { } public stateFieldBindingDecl(): StateFieldBindingDeclContext { let localContext = new StateFieldBindingDeclContext(this.context, this.state); - this.enterRule(localContext, 118, QuixosCapabilityParser.RULE_stateFieldBindingDecl); + this.enterRule(localContext, 120, QuixosCapabilityParser.RULE_stateFieldBindingDecl); try { this.enterOuterAlt(localContext, 1); { - this.state = 1030; + this.state = 1076; this.match(QuixosCapabilityParser.BIND); - this.state = 1031; + this.state = 1077; this.identifier(); - this.state = 1032; + this.state = 1078; this.match(QuixosCapabilityParser.TO); - this.state = 1033; + this.state = 1079; this.match(QuixosCapabilityParser.STATE); - this.state = 1034; + this.state = 1080; this.identifier(); - this.state = 1035; + this.state = 1081; this.match(QuixosCapabilityParser.SEMI); } } @@ -3925,35 +4071,35 @@ export class QuixosCapabilityParser extends antlr.Parser { } public relationshipMaterializationDecl(): RelationshipMaterializationDeclContext { let localContext = new RelationshipMaterializationDeclContext(this.context, this.state); - this.enterRule(localContext, 120, QuixosCapabilityParser.RULE_relationshipMaterializationDecl); + this.enterRule(localContext, 122, QuixosCapabilityParser.RULE_relationshipMaterializationDecl); try { this.enterOuterAlt(localContext, 1); { - this.state = 1037; + this.state = 1083; this.match(QuixosCapabilityParser.MATERIALIZE); - this.state = 1038; + this.state = 1084; this.identifier(); - this.state = 1039; + this.state = 1085; this.match(QuixosCapabilityParser.IF); - this.state = 1040; + this.state = 1086; this.match(QuixosCapabilityParser.ABSENT); - this.state = 1041; + this.state = 1087; this.match(QuixosCapabilityParser.USING); - this.state = 1042; + this.state = 1088; this.match(QuixosCapabilityParser.CONSTRUCTOR); - this.state = 1043; + this.state = 1089; this.identifier(); - this.state = 1044; + this.state = 1090; this.match(QuixosCapabilityParser.VIA); - this.state = 1045; + this.state = 1091; this.match(QuixosCapabilityParser.EDGE); - this.state = 1046; + this.state = 1092; this.identifier(); - this.state = 1047; + this.state = 1093; this.match(QuixosCapabilityParser.DOT); - this.state = 1048; + this.state = 1094; this.identifier(); - this.state = 1049; + this.state = 1095; this.match(QuixosCapabilityParser.SEMI); } } @@ -3972,32 +4118,32 @@ export class QuixosCapabilityParser extends antlr.Parser { } public operationBindingDecl(): OperationBindingDeclContext { let localContext = new OperationBindingDeclContext(this.context, this.state); - this.enterRule(localContext, 122, QuixosCapabilityParser.RULE_operationBindingDecl); + this.enterRule(localContext, 124, QuixosCapabilityParser.RULE_operationBindingDecl); let _la: number; try { this.enterOuterAlt(localContext, 1); { - this.state = 1051; + this.state = 1097; this.match(QuixosCapabilityParser.BIND); - this.state = 1052; + this.state = 1098; this.memberOperationRef(); - this.state = 1053; + this.state = 1099; this.match(QuixosCapabilityParser.TO); - this.state = 1054; + this.state = 1100; this.operationProvider(); - this.state = 1057; + this.state = 1103; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 34) { { - this.state = 1055; + this.state = 1101; this.match(QuixosCapabilityParser.QUERY_REASON); - this.state = 1056; + this.state = 1102; this.stringLiteral(); } } - this.state = 1059; + this.state = 1105; this.match(QuixosCapabilityParser.SEMI); } } @@ -4016,15 +4162,15 @@ export class QuixosCapabilityParser extends antlr.Parser { } public memberOperationRef(): MemberOperationRefContext { let localContext = new MemberOperationRefContext(this.context, this.state); - this.enterRule(localContext, 124, QuixosCapabilityParser.RULE_memberOperationRef); + this.enterRule(localContext, 126, QuixosCapabilityParser.RULE_memberOperationRef); try { this.enterOuterAlt(localContext, 1); { - this.state = 1061; + this.state = 1107; this.identifier(); - this.state = 1062; + this.state = 1108; this.match(QuixosCapabilityParser.DOT); - this.state = 1063; + this.state = 1109; this.operationName(); } } @@ -4043,92 +4189,92 @@ export class QuixosCapabilityParser extends antlr.Parser { } public operationName(): OperationNameContext { let localContext = new OperationNameContext(this.context, this.state); - this.enterRule(localContext, 126, QuixosCapabilityParser.RULE_operationName); + this.enterRule(localContext, 128, QuixosCapabilityParser.RULE_operationName); try { - this.state = 1077; + this.state = 1123; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 91, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 98, this.context) ) { case 1: this.enterOuterAlt(localContext, 1); { - this.state = 1065; + this.state = 1111; this.identifier(); } break; case 2: this.enterOuterAlt(localContext, 2); { - this.state = 1066; + this.state = 1112; this.match(QuixosCapabilityParser.CALL); } break; case 3: this.enterOuterAlt(localContext, 3); { - this.state = 1067; + this.state = 1113; this.match(QuixosCapabilityParser.GET); } break; case 4: this.enterOuterAlt(localContext, 4); { - this.state = 1068; + this.state = 1114; this.match(QuixosCapabilityParser.SET); } break; case 5: this.enterOuterAlt(localContext, 5); { - this.state = 1069; + this.state = 1115; this.match(QuixosCapabilityParser.EDIT); } break; case 6: this.enterOuterAlt(localContext, 6); { - this.state = 1070; + this.state = 1116; this.match(QuixosCapabilityParser.RESOLVE); } break; case 7: this.enterOuterAlt(localContext, 7); { - this.state = 1071; + this.state = 1117; this.match(QuixosCapabilityParser.CONNECT); } break; case 8: this.enterOuterAlt(localContext, 8); { - this.state = 1072; + this.state = 1118; this.match(QuixosCapabilityParser.DISCONNECT); } break; case 9: this.enterOuterAlt(localContext, 9); { - this.state = 1073; + this.state = 1119; this.match(QuixosCapabilityParser.WATCH_START); } break; case 10: this.enterOuterAlt(localContext, 10); { - this.state = 1074; + this.state = 1120; this.match(QuixosCapabilityParser.WATCH_STOP); } break; case 11: this.enterOuterAlt(localContext, 11); { - this.state = 1075; + this.state = 1121; this.match(QuixosCapabilityParser.SUBSCRIBE); } break; case 12: this.enterOuterAlt(localContext, 12); { - this.state = 1076; + this.state = 1122; this.match(QuixosCapabilityParser.UNSUBSCRIBE); } break; @@ -4149,113 +4295,113 @@ export class QuixosCapabilityParser extends antlr.Parser { } public operationProvider(): OperationProviderContext { let localContext = new OperationProviderContext(this.context, this.state); - this.enterRule(localContext, 128, QuixosCapabilityParser.RULE_operationProvider); + this.enterRule(localContext, 130, QuixosCapabilityParser.RULE_operationProvider); let _la: number; try { - this.state = 1115; + this.state = 1161; this.errorHandler.sync(this); switch (this.tokenStream.LA(1)) { case QuixosCapabilityParser.LIFECYCLE: this.enterOuterAlt(localContext, 1); { - this.state = 1079; + this.state = 1125; this.match(QuixosCapabilityParser.LIFECYCLE); - this.state = 1080; + this.state = 1126; this.match(QuixosCapabilityParser.DOT); - this.state = 1081; + this.state = 1127; this.identifier(); } break; case QuixosCapabilityParser.STATE: this.enterOuterAlt(localContext, 2); { - this.state = 1082; + this.state = 1128; this.match(QuixosCapabilityParser.STATE); - this.state = 1083; + this.state = 1129; this.identifier(); - this.state = 1084; + this.state = 1130; this.match(QuixosCapabilityParser.DOT); - this.state = 1085; + this.state = 1131; this.statePrimitive(); } break; case QuixosCapabilityParser.EDGE: this.enterOuterAlt(localContext, 3); { - this.state = 1087; + this.state = 1133; this.match(QuixosCapabilityParser.EDGE); - this.state = 1088; + this.state = 1134; this.identifier(); - this.state = 1089; + this.state = 1135; this.match(QuixosCapabilityParser.DOT); - this.state = 1090; + this.state = 1136; this.identifier(); - this.state = 1091; + this.state = 1137; this.match(QuixosCapabilityParser.DOT); - this.state = 1092; + this.state = 1138; this.edgePrimitive(); } break; case QuixosCapabilityParser.INTERFACE: this.enterOuterAlt(localContext, 4); { - this.state = 1094; + this.state = 1140; this.match(QuixosCapabilityParser.INTERFACE); - this.state = 1095; + this.state = 1141; this.identifier(); - this.state = 1097; + this.state = 1143; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 143) { { - this.state = 1096; + this.state = 1142; this.typeArguments(); } } - this.state = 1099; + this.state = 1145; this.match(QuixosCapabilityParser.DOT); - this.state = 1100; + this.state = 1146; this.memberOperationRef(); } break; case QuixosCapabilityParser.PACKAGE: this.enterOuterAlt(localContext, 5); { - this.state = 1102; + this.state = 1148; this.match(QuixosCapabilityParser.PACKAGE); - this.state = 1103; + this.state = 1149; this.identifier(); - this.state = 1104; + this.state = 1150; this.match(QuixosCapabilityParser.DOT); - this.state = 1105; + this.state = 1151; this.identifier(); - this.state = 1107; + this.state = 1153; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 143) { { - this.state = 1106; + this.state = 1152; this.typeArguments(); } } - this.state = 1110; + this.state = 1156; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 64) { { - this.state = 1109; + this.state = 1155; this.dependencyBindingBlock(); } } - this.state = 1113; + this.state = 1159; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 66) { { - this.state = 1112; + this.state = 1158; this.acceptanceBinding(); } } @@ -4281,13 +4427,13 @@ export class QuixosCapabilityParser extends antlr.Parser { } public acceptanceBinding(): AcceptanceBindingContext { let localContext = new AcceptanceBindingContext(this.context, this.state); - this.enterRule(localContext, 130, QuixosCapabilityParser.RULE_acceptanceBinding); + this.enterRule(localContext, 132, QuixosCapabilityParser.RULE_acceptanceBinding); try { this.enterOuterAlt(localContext, 1); { - this.state = 1117; + this.state = 1163; this.match(QuixosCapabilityParser.ACCEPT); - this.state = 1118; + this.state = 1164; this.dependencyBindingBlock(); } } @@ -4306,12 +4452,12 @@ export class QuixosCapabilityParser extends antlr.Parser { } public statePrimitive(): StatePrimitiveContext { let localContext = new StatePrimitiveContext(this.context, this.state); - this.enterRule(localContext, 132, QuixosCapabilityParser.RULE_statePrimitive); + this.enterRule(localContext, 134, QuixosCapabilityParser.RULE_statePrimitive); let _la: number; try { this.enterOuterAlt(localContext, 1); { - this.state = 1120; + this.state = 1166; _la = this.tokenStream.LA(1); if(!(_la === 1 || ((((_la - 96)) & ~0x1F) === 0 && ((1 << (_la - 96)) & 195) !== 0))) { this.errorHandler.recoverInline(this); @@ -4337,12 +4483,12 @@ export class QuixosCapabilityParser extends antlr.Parser { } public edgePrimitive(): EdgePrimitiveContext { let localContext = new EdgePrimitiveContext(this.context, this.state); - this.enterRule(localContext, 134, QuixosCapabilityParser.RULE_edgePrimitive); + this.enterRule(localContext, 136, QuixosCapabilityParser.RULE_edgePrimitive); let _la: number; try { this.enterOuterAlt(localContext, 1); { - this.state = 1122; + this.state = 1168; _la = this.tokenStream.LA(1); if(!(((((_la - 98)) & ~0x1F) === 0 && ((1 << (_la - 98)) & 55) !== 0))) { this.errorHandler.recoverInline(this); @@ -4368,30 +4514,30 @@ export class QuixosCapabilityParser extends antlr.Parser { } public dependencyBindingBlock(): DependencyBindingBlockContext { let localContext = new DependencyBindingBlockContext(this.context, this.state); - this.enterRule(localContext, 136, QuixosCapabilityParser.RULE_dependencyBindingBlock); + this.enterRule(localContext, 138, QuixosCapabilityParser.RULE_dependencyBindingBlock); let _la: number; try { this.enterOuterAlt(localContext, 1); { - this.state = 1124; + this.state = 1170; this.match(QuixosCapabilityParser.WITH); - this.state = 1125; + this.state = 1171; this.match(QuixosCapabilityParser.LBRACE); - this.state = 1129; + this.state = 1175; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); - while ((((_la) & ~0x1F) === 0 && ((1 << _la) & 4294966770) !== 0) || ((((_la - 32)) & ~0x1F) === 0 && ((1 << (_la - 32)) & 8195) !== 0) || ((((_la - 74)) & ~0x1F) === 0 && ((1 << (_la - 74)) & 3145729) !== 0) || _la === 106 || _la === 149) { + while ((((_la) & ~0x1F) === 0 && ((1 << _la) & 4294966770) !== 0) || ((((_la - 32)) & ~0x1F) === 0 && ((1 << (_la - 32)) & 8451) !== 0) || ((((_la - 74)) & ~0x1F) === 0 && ((1 << (_la - 74)) & 3145729) !== 0) || _la === 106 || _la === 149) { { { - this.state = 1126; + this.state = 1172; this.dependencyBinding(); } } - this.state = 1131; + this.state = 1177; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } - this.state = 1132; + this.state = 1178; this.match(QuixosCapabilityParser.RBRACE); } } @@ -4410,139 +4556,139 @@ export class QuixosCapabilityParser extends antlr.Parser { } public dependencyBinding(): DependencyBindingContext { let localContext = new DependencyBindingContext(this.context, this.state); - this.enterRule(localContext, 138, QuixosCapabilityParser.RULE_dependencyBinding); + this.enterRule(localContext, 140, QuixosCapabilityParser.RULE_dependencyBinding); let _la: number; try { - this.state = 1232; + this.state = 1278; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 105, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 112, this.context) ) { case 1: this.enterOuterAlt(localContext, 1); { - this.state = 1134; + this.state = 1180; this.identifier(); - this.state = 1135; + this.state = 1181; this.match(QuixosCapabilityParser.TO); - this.state = 1136; + this.state = 1182; this.match(QuixosCapabilityParser.WORKSPACE); - this.state = 1137; + this.state = 1183; this.match(QuixosCapabilityParser.REFLECTION); - this.state = 1138; + this.state = 1184; this.match(QuixosCapabilityParser.LBRACK); - this.state = 1139; + this.state = 1185; this.identifierList(); - this.state = 1140; + this.state = 1186; this.match(QuixosCapabilityParser.RBRACK); - this.state = 1141; + this.state = 1187; this.match(QuixosCapabilityParser.SEMI); } break; case 2: this.enterOuterAlt(localContext, 2); { - this.state = 1143; + this.state = 1189; this.identifier(); - this.state = 1144; + this.state = 1190; this.match(QuixosCapabilityParser.TO); - this.state = 1145; + this.state = 1191; this.match(QuixosCapabilityParser.STATE); - this.state = 1146; + this.state = 1192; this.identifier(); - this.state = 1153; + this.state = 1199; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 67) { { - this.state = 1147; + this.state = 1193; this.match(QuixosCapabilityParser.VIA); - this.state = 1148; + this.state = 1194; this.match(QuixosCapabilityParser.EDGE); - this.state = 1149; + this.state = 1195; this.identifier(); - this.state = 1150; + this.state = 1196; this.match(QuixosCapabilityParser.DOT); - this.state = 1151; + this.state = 1197; this.identifier(); } } - this.state = 1155; + this.state = 1201; this.match(QuixosCapabilityParser.SEMI); } break; case 3: this.enterOuterAlt(localContext, 3); { - this.state = 1157; + this.state = 1203; this.identifier(); - this.state = 1158; + this.state = 1204; this.match(QuixosCapabilityParser.TO); - this.state = 1159; + this.state = 1205; this.match(QuixosCapabilityParser.EDGE); - this.state = 1160; + this.state = 1206; this.identifier(); - this.state = 1161; + this.state = 1207; this.match(QuixosCapabilityParser.DOT); - this.state = 1162; + this.state = 1208; this.identifier(); - this.state = 1169; + this.state = 1215; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 67) { { - this.state = 1163; + this.state = 1209; this.match(QuixosCapabilityParser.VIA); - this.state = 1164; + this.state = 1210; this.match(QuixosCapabilityParser.EDGE); - this.state = 1165; + this.state = 1211; this.identifier(); - this.state = 1166; + this.state = 1212; this.match(QuixosCapabilityParser.DOT); - this.state = 1167; + this.state = 1213; this.identifier(); } } - this.state = 1171; + this.state = 1217; this.match(QuixosCapabilityParser.SEMI); } break; case 4: this.enterOuterAlt(localContext, 4); { - this.state = 1173; + this.state = 1219; this.identifier(); - this.state = 1174; + this.state = 1220; this.match(QuixosCapabilityParser.TO); - this.state = 1175; + this.state = 1221; this.match(QuixosCapabilityParser.INTERFACE); - this.state = 1176; + this.state = 1222; this.identifier(); - this.state = 1178; + this.state = 1224; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 143) { { - this.state = 1177; + this.state = 1223; this.typeArguments(); } } - this.state = 1188; + this.state = 1234; this.errorHandler.sync(this); switch (this.tokenStream.LA(1)) { case QuixosCapabilityParser.VIA: { { - this.state = 1180; + this.state = 1226; this.match(QuixosCapabilityParser.VIA); - this.state = 1181; + this.state = 1227; this.match(QuixosCapabilityParser.EDGE); - this.state = 1182; + this.state = 1228; this.identifier(); - this.state = 1183; + this.state = 1229; this.match(QuixosCapabilityParser.DOT); - this.state = 1184; + this.state = 1230; this.identifier(); } } @@ -4550,9 +4696,9 @@ export class QuixosCapabilityParser extends antlr.Parser { case QuixosCapabilityParser.FROM: { { - this.state = 1186; + this.state = 1232; this.match(QuixosCapabilityParser.FROM); - this.state = 1187; + this.state = 1233; this.match(QuixosCapabilityParser.INPUT); } } @@ -4562,104 +4708,104 @@ export class QuixosCapabilityParser extends antlr.Parser { default: break; } - this.state = 1190; + this.state = 1236; this.match(QuixosCapabilityParser.SEMI); } break; case 5: this.enterOuterAlt(localContext, 5); { - this.state = 1192; + this.state = 1238; this.identifier(); - this.state = 1193; + this.state = 1239; this.match(QuixosCapabilityParser.TO); - this.state = 1194; + this.state = 1240; this.match(QuixosCapabilityParser.CREATION); - this.state = 1195; + this.state = 1241; this.identifier(); - this.state = 1196; + this.state = 1242; this.match(QuixosCapabilityParser.WITH); - this.state = 1197; + this.state = 1243; this.match(QuixosCapabilityParser.LBRACE); - this.state = 1201; + this.state = 1247; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); - while ((((_la) & ~0x1F) === 0 && ((1 << _la) & 4294966770) !== 0) || ((((_la - 32)) & ~0x1F) === 0 && ((1 << (_la - 32)) & 8195) !== 0) || ((((_la - 74)) & ~0x1F) === 0 && ((1 << (_la - 74)) & 3145729) !== 0) || _la === 106 || _la === 149) { + while ((((_la) & ~0x1F) === 0 && ((1 << _la) & 4294966770) !== 0) || ((((_la - 32)) & ~0x1F) === 0 && ((1 << (_la - 32)) & 8451) !== 0) || ((((_la - 74)) & ~0x1F) === 0 && ((1 << (_la - 74)) & 3145729) !== 0) || _la === 106 || _la === 149) { { { - this.state = 1198; + this.state = 1244; this.creationOwnerMapping(); } } - this.state = 1203; + this.state = 1249; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } - this.state = 1204; + this.state = 1250; this.match(QuixosCapabilityParser.RBRACE); - this.state = 1205; + this.state = 1251; this.match(QuixosCapabilityParser.SEMI); } break; case 6: this.enterOuterAlt(localContext, 6); { - this.state = 1207; + this.state = 1253; this.identifier(); - this.state = 1208; + this.state = 1254; this.match(QuixosCapabilityParser.TO); - this.state = 1209; + this.state = 1255; this.match(QuixosCapabilityParser.CONSTRUCTOR); - this.state = 1210; + this.state = 1256; this.identifier(); - this.state = 1211; + this.state = 1257; this.match(QuixosCapabilityParser.SEMI); } break; case 7: this.enterOuterAlt(localContext, 7); { - this.state = 1213; + this.state = 1259; this.identifier(); - this.state = 1214; + this.state = 1260; this.match(QuixosCapabilityParser.TO); - this.state = 1216; + this.state = 1262; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 9) { { - this.state = 1215; + this.state = 1261; this.match(QuixosCapabilityParser.WORKSPACE); } } - this.state = 1218; + this.state = 1264; this.match(QuixosCapabilityParser.QUERY); - this.state = 1219; + this.state = 1265; this.identifier(); - this.state = 1220; + this.state = 1266; this.match(QuixosCapabilityParser.DOT); - this.state = 1221; + this.state = 1267; this.identifier(); - this.state = 1228; + this.state = 1274; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 67) { { - this.state = 1222; + this.state = 1268; this.match(QuixosCapabilityParser.VIA); - this.state = 1223; + this.state = 1269; this.match(QuixosCapabilityParser.EDGE); - this.state = 1224; + this.state = 1270; this.identifier(); - this.state = 1225; + this.state = 1271; this.match(QuixosCapabilityParser.DOT); - this.state = 1226; + this.state = 1272; this.identifier(); } } - this.state = 1230; + this.state = 1276; this.match(QuixosCapabilityParser.SEMI); } break; @@ -4680,34 +4826,34 @@ export class QuixosCapabilityParser extends antlr.Parser { } public constructorBindingDecl(): ConstructorBindingDeclContext { let localContext = new ConstructorBindingDeclContext(this.context, this.state); - this.enterRule(localContext, 140, QuixosCapabilityParser.RULE_constructorBindingDecl); + this.enterRule(localContext, 142, QuixosCapabilityParser.RULE_constructorBindingDecl); let _la: number; try { this.enterOuterAlt(localContext, 1); { - this.state = 1234; + this.state = 1280; this.match(QuixosCapabilityParser.CONSTRUCTOR); - this.state = 1235; + this.state = 1281; this.identifier(); - this.state = 1236; + this.state = 1282; this.match(QuixosCapabilityParser.TO); - this.state = 1237; + this.state = 1283; this.identifier(); - this.state = 1238; + this.state = 1284; this.match(QuixosCapabilityParser.DOT); - this.state = 1239; + this.state = 1285; this.identifier(); - this.state = 1241; + this.state = 1287; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 64) { { - this.state = 1240; + this.state = 1286; this.dependencyBindingBlock(); } } - this.state = 1243; + this.state = 1289; this.match(QuixosCapabilityParser.SEMI); } } @@ -4726,10 +4872,10 @@ export class QuixosCapabilityParser extends antlr.Parser { } public valueType(): ValueTypeContext { let localContext = new ValueTypeContext(this.context, this.state); - this.enterRule(localContext, 142, QuixosCapabilityParser.RULE_valueType); + this.enterRule(localContext, 144, QuixosCapabilityParser.RULE_valueType); let _la: number; try { - this.state = 1291; + this.state = 1337; this.errorHandler.sync(this); switch (this.tokenStream.LA(1)) { case QuixosCapabilityParser.BOOL: @@ -4742,130 +4888,130 @@ export class QuixosCapabilityParser extends antlr.Parser { case QuixosCapabilityParser.UINT64: this.enterOuterAlt(localContext, 1); { - this.state = 1245; + this.state = 1291; this.scalarType(); } break; case QuixosCapabilityParser.UNIT: this.enterOuterAlt(localContext, 2); { - this.state = 1246; + this.state = 1292; this.match(QuixosCapabilityParser.UNIT); } break; case QuixosCapabilityParser.WATCH_HANDLE: this.enterOuterAlt(localContext, 3); { - this.state = 1247; + this.state = 1293; this.match(QuixosCapabilityParser.WATCH_HANDLE); } break; case QuixosCapabilityParser.MESSAGE: this.enterOuterAlt(localContext, 4); { - this.state = 1248; + this.state = 1294; this.match(QuixosCapabilityParser.MESSAGE); - this.state = 1249; + this.state = 1295; this.stringLiteral(); } break; case QuixosCapabilityParser.ATOM_REF: this.enterOuterAlt(localContext, 5); { - this.state = 1250; + this.state = 1296; this.match(QuixosCapabilityParser.ATOM_REF); - this.state = 1251; + this.state = 1297; this.match(QuixosCapabilityParser.LT); - this.state = 1252; + this.state = 1298; this.identifier(); - this.state = 1253; + this.state = 1299; this.match(QuixosCapabilityParser.GT); } break; case QuixosCapabilityParser.INTERFACE_REF: this.enterOuterAlt(localContext, 6); { - this.state = 1255; + this.state = 1301; this.match(QuixosCapabilityParser.INTERFACE_REF); - this.state = 1256; + this.state = 1302; this.match(QuixosCapabilityParser.LT); - this.state = 1257; + this.state = 1303; this.identifier(); - this.state = 1259; + this.state = 1305; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 143) { { - this.state = 1258; + this.state = 1304; this.typeArguments(); } } - this.state = 1261; + this.state = 1307; this.match(QuixosCapabilityParser.GT); } break; case QuixosCapabilityParser.REF: this.enterOuterAlt(localContext, 7); { - this.state = 1263; + this.state = 1309; this.match(QuixosCapabilityParser.REF); - this.state = 1264; + this.state = 1310; this.match(QuixosCapabilityParser.LT); - this.state = 1265; + this.state = 1311; this.identifier(); - this.state = 1266; + this.state = 1312; this.match(QuixosCapabilityParser.GT); } break; case QuixosCapabilityParser.OPTIONAL: this.enterOuterAlt(localContext, 8); { - this.state = 1268; + this.state = 1314; this.match(QuixosCapabilityParser.OPTIONAL); - this.state = 1269; + this.state = 1315; this.match(QuixosCapabilityParser.LT); - this.state = 1270; + this.state = 1316; this.valueType(); - this.state = 1271; + this.state = 1317; this.match(QuixosCapabilityParser.GT); } break; case QuixosCapabilityParser.LIST: this.enterOuterAlt(localContext, 9); { - this.state = 1273; + this.state = 1319; this.match(QuixosCapabilityParser.LIST); - this.state = 1274; + this.state = 1320; this.match(QuixosCapabilityParser.LT); - this.state = 1275; + this.state = 1321; this.valueType(); - this.state = 1276; + this.state = 1322; this.match(QuixosCapabilityParser.GT); } break; case QuixosCapabilityParser.RECORD: this.enterOuterAlt(localContext, 10); { - this.state = 1278; + this.state = 1324; this.match(QuixosCapabilityParser.RECORD); - this.state = 1279; + this.state = 1325; this.match(QuixosCapabilityParser.LBRACE); - this.state = 1283; + this.state = 1329; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); - while ((((_la) & ~0x1F) === 0 && ((1 << _la) & 4294966770) !== 0) || ((((_la - 32)) & ~0x1F) === 0 && ((1 << (_la - 32)) & 8195) !== 0) || ((((_la - 74)) & ~0x1F) === 0 && ((1 << (_la - 74)) & 3145729) !== 0) || _la === 106 || _la === 149) { + while ((((_la) & ~0x1F) === 0 && ((1 << _la) & 4294966770) !== 0) || ((((_la - 32)) & ~0x1F) === 0 && ((1 << (_la - 32)) & 8451) !== 0) || ((((_la - 74)) & ~0x1F) === 0 && ((1 << (_la - 74)) & 3145729) !== 0) || _la === 106 || _la === 149) { { { - this.state = 1280; + this.state = 1326; this.recordField(); } } - this.state = 1285; + this.state = 1331; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } - this.state = 1286; + this.state = 1332; this.match(QuixosCapabilityParser.RBRACE); } break; @@ -4899,6 +5045,7 @@ export class QuixosCapabilityParser extends antlr.Parser { case QuixosCapabilityParser.POLL: case QuixosCapabilityParser.QUERYABLE: case QuixosCapabilityParser.RPC: + case QuixosCapabilityParser.FRAGMENT: case QuixosCapabilityParser.INTERFACES: case QuixosCapabilityParser.SOURCE: case QuixosCapabilityParser.START: @@ -4907,14 +5054,14 @@ export class QuixosCapabilityParser extends antlr.Parser { case QuixosCapabilityParser.IDENTIFIER: this.enterOuterAlt(localContext, 11); { - this.state = 1287; + this.state = 1333; this.identifier(); - this.state = 1289; + this.state = 1335; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 143) { { - this.state = 1288; + this.state = 1334; this.typeArguments(); } } @@ -4940,17 +5087,17 @@ export class QuixosCapabilityParser extends antlr.Parser { } public recordField(): RecordFieldContext { let localContext = new RecordFieldContext(this.context, this.state); - this.enterRule(localContext, 144, QuixosCapabilityParser.RULE_recordField); + this.enterRule(localContext, 146, QuixosCapabilityParser.RULE_recordField); try { this.enterOuterAlt(localContext, 1); { - this.state = 1293; + this.state = 1339; this.identifier(); - this.state = 1294; + this.state = 1340; this.match(QuixosCapabilityParser.COLON); - this.state = 1295; + this.state = 1341; this.valueType(); - this.state = 1296; + this.state = 1342; this.match(QuixosCapabilityParser.SEMI); } } @@ -4969,12 +5116,12 @@ export class QuixosCapabilityParser extends antlr.Parser { } public scalarType(): ScalarTypeContext { let localContext = new ScalarTypeContext(this.context, this.state); - this.enterRule(localContext, 146, QuixosCapabilityParser.RULE_scalarType); + this.enterRule(localContext, 148, QuixosCapabilityParser.RULE_scalarType); let _la: number; try { this.enterOuterAlt(localContext, 1); { - this.state = 1298; + this.state = 1344; _la = this.tokenStream.LA(1); if(!(((((_la - 121)) & ~0x1F) === 0 && ((1 << (_la - 121)) & 255) !== 0))) { this.errorHandler.recoverInline(this); @@ -5000,12 +5147,12 @@ export class QuixosCapabilityParser extends antlr.Parser { } public cardinality(): CardinalityContext { let localContext = new CardinalityContext(this.context, this.state); - this.enterRule(localContext, 148, QuixosCapabilityParser.RULE_cardinality); + this.enterRule(localContext, 150, QuixosCapabilityParser.RULE_cardinality); let _la: number; try { this.enterOuterAlt(localContext, 1); { - this.state = 1300; + this.state = 1346; _la = this.tokenStream.LA(1); if(!(((((_la - 108)) & ~0x1F) === 0 && ((1 << (_la - 108)) & 15) !== 0))) { this.errorHandler.recoverInline(this); @@ -5031,64 +5178,64 @@ export class QuixosCapabilityParser extends antlr.Parser { } public jsonLiteral(): JsonLiteralContext { let localContext = new JsonLiteralContext(this.context, this.state); - this.enterRule(localContext, 150, QuixosCapabilityParser.RULE_jsonLiteral); + this.enterRule(localContext, 152, QuixosCapabilityParser.RULE_jsonLiteral); try { - this.state = 1310; + this.state = 1356; this.errorHandler.sync(this); switch (this.tokenStream.LA(1)) { case QuixosCapabilityParser.STRING_LITERAL: this.enterOuterAlt(localContext, 1); { - this.state = 1302; + this.state = 1348; this.stringLiteral(); } break; case QuixosCapabilityParser.INTEGER: this.enterOuterAlt(localContext, 2); { - this.state = 1303; + this.state = 1349; this.match(QuixosCapabilityParser.INTEGER); } break; case QuixosCapabilityParser.JSON_NUMBER: this.enterOuterAlt(localContext, 3); { - this.state = 1304; + this.state = 1350; this.match(QuixosCapabilityParser.JSON_NUMBER); } break; case QuixosCapabilityParser.TRUE: this.enterOuterAlt(localContext, 4); { - this.state = 1305; + this.state = 1351; this.match(QuixosCapabilityParser.TRUE); } break; case QuixosCapabilityParser.FALSE: this.enterOuterAlt(localContext, 5); { - this.state = 1306; + this.state = 1352; this.match(QuixosCapabilityParser.FALSE); } break; case QuixosCapabilityParser.NULL: this.enterOuterAlt(localContext, 6); { - this.state = 1307; + this.state = 1353; this.match(QuixosCapabilityParser.NULL); } break; case QuixosCapabilityParser.LBRACE: this.enterOuterAlt(localContext, 7); { - this.state = 1308; + this.state = 1354; this.jsonObject(); } break; case QuixosCapabilityParser.LBRACK: this.enterOuterAlt(localContext, 8); { - this.state = 1309; + this.state = 1355; this.jsonArray(); } break; @@ -5111,40 +5258,40 @@ export class QuixosCapabilityParser extends antlr.Parser { } public jsonObject(): JsonObjectContext { let localContext = new JsonObjectContext(this.context, this.state); - this.enterRule(localContext, 152, QuixosCapabilityParser.RULE_jsonObject); + this.enterRule(localContext, 154, QuixosCapabilityParser.RULE_jsonObject); let _la: number; try { this.enterOuterAlt(localContext, 1); { - this.state = 1312; + this.state = 1358; this.match(QuixosCapabilityParser.LBRACE); - this.state = 1321; + this.state = 1367; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 150) { { - this.state = 1313; + this.state = 1359; this.jsonMember(); - this.state = 1318; + this.state = 1364; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); while (_la === 135) { { { - this.state = 1314; + this.state = 1360; this.match(QuixosCapabilityParser.COMMA); - this.state = 1315; + this.state = 1361; this.jsonMember(); } } - this.state = 1320; + this.state = 1366; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } } } - this.state = 1323; + this.state = 1369; this.match(QuixosCapabilityParser.RBRACE); } } @@ -5163,15 +5310,15 @@ export class QuixosCapabilityParser extends antlr.Parser { } public jsonMember(): JsonMemberContext { let localContext = new JsonMemberContext(this.context, this.state); - this.enterRule(localContext, 154, QuixosCapabilityParser.RULE_jsonMember); + this.enterRule(localContext, 156, QuixosCapabilityParser.RULE_jsonMember); try { this.enterOuterAlt(localContext, 1); { - this.state = 1325; + this.state = 1371; this.stringLiteral(); - this.state = 1326; + this.state = 1372; this.match(QuixosCapabilityParser.COLON); - this.state = 1327; + this.state = 1373; this.jsonLiteral(); } } @@ -5190,40 +5337,40 @@ export class QuixosCapabilityParser extends antlr.Parser { } public jsonArray(): JsonArrayContext { let localContext = new JsonArrayContext(this.context, this.state); - this.enterRule(localContext, 156, QuixosCapabilityParser.RULE_jsonArray); + this.enterRule(localContext, 158, QuixosCapabilityParser.RULE_jsonArray); let _la: number; try { this.enterOuterAlt(localContext, 1); { - this.state = 1329; + this.state = 1375; this.match(QuixosCapabilityParser.LBRACK); - this.state = 1338; + this.state = 1384; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (((((_la - 129)) & ~0x1F) === 0 && ((1 << (_la - 129)) & 2884871) !== 0)) { { - this.state = 1330; + this.state = 1376; this.jsonLiteral(); - this.state = 1335; + this.state = 1381; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); while (_la === 135) { { { - this.state = 1331; + this.state = 1377; this.match(QuixosCapabilityParser.COMMA); - this.state = 1332; + this.state = 1378; this.jsonLiteral(); } } - this.state = 1337; + this.state = 1383; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } } } - this.state = 1340; + this.state = 1386; this.match(QuixosCapabilityParser.RBRACK); } } @@ -5242,14 +5389,14 @@ export class QuixosCapabilityParser extends antlr.Parser { } public identifier(): IdentifierContext { let localContext = new IdentifierContext(this.context, this.state); - this.enterRule(localContext, 158, QuixosCapabilityParser.RULE_identifier); + this.enterRule(localContext, 160, QuixosCapabilityParser.RULE_identifier); let _la: number; try { this.enterOuterAlt(localContext, 1); { - this.state = 1342; + this.state = 1388; _la = this.tokenStream.LA(1); - if(!((((_la) & ~0x1F) === 0 && ((1 << _la) & 4294966770) !== 0) || ((((_la - 32)) & ~0x1F) === 0 && ((1 << (_la - 32)) & 8195) !== 0) || ((((_la - 74)) & ~0x1F) === 0 && ((1 << (_la - 74)) & 3145729) !== 0) || _la === 106 || _la === 149)) { + if(!((((_la) & ~0x1F) === 0 && ((1 << _la) & 4294966770) !== 0) || ((((_la - 32)) & ~0x1F) === 0 && ((1 << (_la - 32)) & 8451) !== 0) || ((((_la - 74)) & ~0x1F) === 0 && ((1 << (_la - 74)) & 3145729) !== 0) || _la === 106 || _la === 149)) { this.errorHandler.recoverInline(this); } else { @@ -5273,11 +5420,11 @@ export class QuixosCapabilityParser extends antlr.Parser { } public stringLiteral(): StringLiteralContext { let localContext = new StringLiteralContext(this.context, this.state); - this.enterRule(localContext, 160, QuixosCapabilityParser.RULE_stringLiteral); + this.enterRule(localContext, 162, QuixosCapabilityParser.RULE_stringLiteral); try { this.enterOuterAlt(localContext, 1); { - this.state = 1344; + this.state = 1390; this.match(QuixosCapabilityParser.STRING_LITERAL); } } @@ -5296,7 +5443,7 @@ export class QuixosCapabilityParser extends antlr.Parser { } public static readonly _serializedATN: number[] = [ - 4,1,153,1347,2,0,7,0,2,1,7,1,2,2,7,2,2,3,7,3,2,4,7,4,2,5,7,5,2,6, + 4,1,153,1393,2,0,7,0,2,1,7,1,2,2,7,2,2,3,7,3,2,4,7,4,2,5,7,5,2,6, 7,6,2,7,7,7,2,8,7,8,2,9,7,9,2,10,7,10,2,11,7,11,2,12,7,12,2,13,7, 13,2,14,7,14,2,15,7,15,2,16,7,16,2,17,7,17,2,18,7,18,2,19,7,19,2, 20,7,20,2,21,7,21,2,22,7,22,2,23,7,23,2,24,7,24,2,25,7,25,2,26,7, @@ -5308,513 +5455,533 @@ export class QuixosCapabilityParser extends antlr.Parser { 59,7,59,2,60,7,60,2,61,7,61,2,62,7,62,2,63,7,63,2,64,7,64,2,65,7, 65,2,66,7,66,2,67,7,67,2,68,7,68,2,69,7,69,2,70,7,70,2,71,7,71,2, 72,7,72,2,73,7,73,2,74,7,74,2,75,7,75,2,76,7,76,2,77,7,77,2,78,7, - 78,2,79,7,79,2,80,7,80,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1, - 0,1,0,3,0,175,8,0,1,1,1,1,1,1,5,1,180,8,1,10,1,12,1,183,9,1,1,1, - 1,1,1,2,1,2,1,2,1,2,1,3,1,3,1,3,1,3,1,3,1,3,1,3,1,3,1,3,1,3,5,3, - 201,8,3,10,3,12,3,204,9,3,1,3,1,3,1,4,1,4,1,4,1,4,1,4,1,4,1,4,1, - 4,3,4,216,8,4,1,5,1,5,1,5,1,5,1,5,1,5,1,5,1,5,1,5,1,5,3,5,228,8, - 5,1,6,1,6,1,6,1,6,1,6,1,6,1,6,1,7,1,7,1,7,1,7,1,7,1,7,1,7,1,8,1, - 8,1,8,1,8,3,8,248,8,8,1,9,1,9,1,9,1,9,1,9,1,9,3,9,256,8,9,1,9,1, - 9,1,10,5,10,261,8,10,10,10,12,10,264,9,10,1,10,1,10,1,10,3,10,269, - 8,10,1,10,1,10,1,10,1,10,1,10,1,10,1,10,1,10,5,10,279,8,10,10,10, - 12,10,282,9,10,3,10,284,8,10,1,10,1,10,5,10,288,8,10,10,10,12,10, - 291,9,10,1,10,1,10,1,11,1,11,1,11,1,11,5,11,299,8,11,10,11,12,11, - 302,9,11,1,11,1,11,1,12,1,12,1,12,1,12,3,12,310,8,12,1,12,1,12,1, - 12,1,12,1,12,1,12,5,12,318,8,12,10,12,12,12,321,9,12,3,12,323,8, - 12,3,12,325,8,12,1,13,1,13,3,13,329,8,13,1,14,1,14,1,14,1,14,5,14, - 335,8,14,10,14,12,14,338,9,14,1,14,1,14,1,15,1,15,1,15,1,15,1,15, - 1,15,1,15,3,15,349,8,15,1,16,1,16,1,16,3,16,354,8,16,1,16,1,16,1, - 16,1,16,1,17,1,17,1,17,1,17,3,17,364,8,17,1,18,1,18,1,18,1,18,1, - 18,1,18,1,18,1,18,3,18,374,8,18,1,18,1,18,1,19,3,19,379,8,19,1,19, - 1,19,1,19,1,19,1,19,1,19,1,19,1,19,1,19,1,19,1,19,1,19,1,19,3,19, - 394,8,19,1,19,1,19,1,19,1,20,3,20,400,8,20,1,20,1,20,1,20,1,20,1, - 20,1,20,1,20,1,20,5,20,410,8,20,10,20,12,20,413,9,20,1,20,1,20,1, - 21,1,21,1,21,1,21,3,21,421,8,21,1,21,1,21,1,21,1,21,1,21,1,21,3, - 21,429,8,21,1,21,1,21,1,21,1,21,1,21,1,21,3,21,437,8,21,1,21,1,21, - 1,21,1,21,1,21,1,21,1,21,1,21,1,21,1,21,1,21,3,21,450,8,21,1,22, - 3,22,453,8,22,1,22,1,22,1,22,1,22,1,22,1,22,1,22,1,22,3,22,463,8, - 22,1,22,1,22,3,22,467,8,22,1,22,1,22,5,22,471,8,22,10,22,12,22,474, - 9,22,1,22,1,22,1,23,1,23,3,23,480,8,23,1,24,1,24,1,24,1,24,3,24, - 486,8,24,1,24,1,24,1,24,1,24,1,24,1,24,3,24,494,8,24,1,24,1,24,1, - 24,1,24,1,24,1,24,3,24,502,8,24,1,24,1,24,1,24,1,24,1,24,1,24,1, - 24,1,24,1,24,1,24,1,24,3,24,515,8,24,1,25,1,25,1,25,1,25,1,25,3, - 25,522,8,25,1,25,1,25,3,25,526,8,25,1,26,5,26,529,8,26,10,26,12, - 26,532,9,26,1,26,1,26,1,26,1,26,1,26,1,26,1,26,1,26,3,26,542,8,26, - 1,26,1,26,5,26,546,8,26,10,26,12,26,549,9,26,1,26,1,26,1,27,1,27, - 1,27,1,27,1,27,1,27,3,27,559,8,27,1,28,1,28,1,28,1,28,1,28,1,28, - 1,28,1,28,1,28,1,28,1,29,1,29,1,29,1,29,1,29,1,29,1,29,1,29,1,29, - 1,29,1,29,1,29,1,30,1,30,1,30,3,30,586,8,30,1,30,1,30,1,30,1,30, - 3,30,592,8,30,1,30,1,30,1,30,1,30,1,30,1,30,1,30,5,30,601,8,30,10, - 30,12,30,604,9,30,1,30,1,30,1,31,1,31,1,31,1,31,1,31,1,31,1,31,1, - 31,1,31,1,32,1,32,1,32,1,32,1,32,1,32,1,32,1,32,1,32,1,32,1,32,1, - 32,1,32,3,32,630,8,32,1,32,1,32,1,32,1,32,1,32,1,32,1,32,1,32,1, - 32,1,32,1,32,1,32,1,32,1,32,1,32,1,32,1,32,1,32,1,32,1,32,1,32,1, - 32,1,32,1,32,1,32,3,32,657,8,32,1,33,1,33,1,33,3,33,662,8,33,1,33, - 1,33,1,33,1,33,1,33,1,33,1,33,1,33,1,33,3,33,673,8,33,1,33,3,33, - 676,8,33,1,33,1,33,1,33,3,33,681,8,33,1,33,3,33,684,8,33,1,33,1, - 33,1,34,1,34,1,34,3,34,691,8,34,1,34,1,34,1,34,1,34,1,34,1,34,1, - 34,3,34,700,8,34,1,34,3,34,703,8,34,1,34,3,34,706,8,34,1,34,1,34, - 1,35,1,35,1,35,1,35,1,36,1,36,1,36,1,36,1,36,1,36,1,36,1,36,1,36, - 3,36,723,8,36,1,37,1,37,1,37,1,37,1,37,5,37,730,8,37,10,37,12,37, - 733,9,37,1,37,1,37,1,38,1,38,1,38,1,38,1,38,1,38,1,38,1,38,1,38, - 3,38,746,8,38,1,38,1,38,1,39,1,39,1,39,1,40,1,40,1,41,1,41,1,41, - 1,41,1,41,1,41,1,41,1,41,1,41,1,41,5,41,765,8,41,10,41,12,41,768, - 9,41,3,41,770,8,41,1,41,3,41,773,8,41,1,42,1,42,1,42,5,42,778,8, - 42,10,42,12,42,781,9,42,1,43,1,43,1,43,5,43,786,8,43,10,43,12,43, - 789,9,43,1,43,1,43,1,44,1,44,1,44,1,44,1,44,1,44,1,44,1,44,1,44, - 1,44,1,44,1,44,1,44,1,44,1,44,1,44,1,44,1,44,1,44,1,44,1,44,1,44, - 1,44,1,44,1,44,1,44,1,44,1,44,1,44,1,44,1,44,1,44,1,44,1,44,1,44, - 3,44,828,8,44,1,44,3,44,831,8,44,1,44,1,44,3,44,835,8,44,1,44,1, - 44,1,44,1,44,1,44,1,44,1,44,1,44,1,44,1,44,1,44,1,44,1,44,1,44,1, - 44,1,44,1,44,1,44,1,44,1,44,3,44,857,8,44,1,44,1,44,1,44,1,44,1, - 44,1,44,1,44,1,44,1,44,1,44,1,44,1,44,3,44,871,8,44,1,45,1,45,1, - 45,1,45,5,45,877,8,45,10,45,12,45,880,9,45,1,45,1,45,1,46,1,46,1, - 47,1,47,1,47,1,48,1,48,3,48,891,8,48,1,49,1,49,1,49,1,49,1,49,1, - 49,1,49,1,49,1,49,1,49,1,49,1,49,3,49,905,8,49,1,49,1,49,1,50,1, - 50,1,50,1,50,1,50,1,50,3,50,915,8,50,1,51,1,51,1,51,1,51,1,51,1, - 51,1,51,1,51,1,51,1,52,1,52,1,52,1,52,1,52,1,52,1,52,3,52,933,8, - 52,1,52,1,52,3,52,937,8,52,1,52,3,52,940,8,52,1,52,1,52,3,52,944, - 8,52,1,52,3,52,947,8,52,1,52,1,52,1,53,1,53,1,53,1,53,1,53,3,53, - 956,8,53,1,53,1,53,3,53,960,8,53,1,53,1,53,3,53,964,8,53,1,53,1, - 53,5,53,968,8,53,10,53,12,53,971,9,53,1,53,1,53,1,54,1,54,1,54,1, - 54,1,54,1,54,1,54,3,54,982,8,54,1,55,1,55,1,55,1,55,1,55,1,55,1, - 55,1,55,1,56,1,56,1,56,5,56,995,8,56,10,56,12,56,998,9,56,1,56,1, - 56,1,56,1,57,1,57,1,57,1,57,1,57,1,57,1,57,1,57,1,57,1,57,1,57,1, - 57,1,57,1,57,3,57,1017,8,57,1,58,1,58,1,58,1,58,1,58,5,58,1024,8, - 58,10,58,12,58,1027,9,58,1,58,1,58,1,59,1,59,1,59,1,59,1,59,1,59, - 1,59,1,60,1,60,1,60,1,60,1,60,1,60,1,60,1,60,1,60,1,60,1,60,1,60, - 1,60,1,60,1,61,1,61,1,61,1,61,1,61,1,61,3,61,1058,8,61,1,61,1,61, - 1,62,1,62,1,62,1,62,1,63,1,63,1,63,1,63,1,63,1,63,1,63,1,63,1,63, - 1,63,1,63,1,63,3,63,1078,8,63,1,64,1,64,1,64,1,64,1,64,1,64,1,64, - 1,64,1,64,1,64,1,64,1,64,1,64,1,64,1,64,1,64,1,64,1,64,3,64,1098, - 8,64,1,64,1,64,1,64,1,64,1,64,1,64,1,64,1,64,3,64,1108,8,64,1,64, - 3,64,1111,8,64,1,64,3,64,1114,8,64,3,64,1116,8,64,1,65,1,65,1,65, - 1,66,1,66,1,67,1,67,1,68,1,68,1,68,5,68,1128,8,68,10,68,12,68,1131, - 9,68,1,68,1,68,1,69,1,69,1,69,1,69,1,69,1,69,1,69,1,69,1,69,1,69, - 1,69,1,69,1,69,1,69,1,69,1,69,1,69,1,69,1,69,3,69,1154,8,69,1,69, - 1,69,1,69,1,69,1,69,1,69,1,69,1,69,1,69,1,69,1,69,1,69,1,69,1,69, - 3,69,1170,8,69,1,69,1,69,1,69,1,69,1,69,1,69,1,69,3,69,1179,8,69, - 1,69,1,69,1,69,1,69,1,69,1,69,1,69,1,69,3,69,1189,8,69,1,69,1,69, - 1,69,1,69,1,69,1,69,1,69,1,69,1,69,5,69,1200,8,69,10,69,12,69,1203, - 9,69,1,69,1,69,1,69,1,69,1,69,1,69,1,69,1,69,1,69,1,69,1,69,1,69, - 3,69,1217,8,69,1,69,1,69,1,69,1,69,1,69,1,69,1,69,1,69,1,69,1,69, - 3,69,1229,8,69,1,69,1,69,3,69,1233,8,69,1,70,1,70,1,70,1,70,1,70, - 1,70,1,70,3,70,1242,8,70,1,70,1,70,1,71,1,71,1,71,1,71,1,71,1,71, - 1,71,1,71,1,71,1,71,1,71,1,71,1,71,1,71,3,71,1260,8,71,1,71,1,71, - 1,71,1,71,1,71,1,71,1,71,1,71,1,71,1,71,1,71,1,71,1,71,1,71,1,71, - 1,71,1,71,1,71,1,71,1,71,5,71,1282,8,71,10,71,12,71,1285,9,71,1, - 71,1,71,1,71,3,71,1290,8,71,3,71,1292,8,71,1,72,1,72,1,72,1,72,1, - 72,1,73,1,73,1,74,1,74,1,75,1,75,1,75,1,75,1,75,1,75,1,75,1,75,3, - 75,1311,8,75,1,76,1,76,1,76,1,76,5,76,1317,8,76,10,76,12,76,1320, - 9,76,3,76,1322,8,76,1,76,1,76,1,77,1,77,1,77,1,77,1,78,1,78,1,78, - 1,78,5,78,1334,8,78,10,78,12,78,1337,9,78,3,78,1339,8,78,1,78,1, - 78,1,79,1,79,1,80,1,80,1,80,0,0,81,0,2,4,6,8,10,12,14,16,18,20,22, - 24,26,28,30,32,34,36,38,40,42,44,46,48,50,52,54,56,58,60,62,64,66, - 68,70,72,74,76,78,80,82,84,86,88,90,92,94,96,98,100,102,104,106, - 108,110,112,114,116,118,120,122,124,126,128,130,132,134,136,138, - 140,142,144,146,148,150,152,154,156,158,160,0,9,2,0,15,15,33,33, - 1,0,11,12,1,0,101,105,3,0,1,1,96,100,102,103,3,0,1,1,96,97,102,103, - 2,0,98,100,102,103,1,0,121,128,1,0,108,111,8,0,1,1,4,8,10,33,45, - 45,74,74,94,95,106,106,149,149,1455,0,174,1,0,0,0,2,176,1,0,0,0, - 4,186,1,0,0,0,6,190,1,0,0,0,8,215,1,0,0,0,10,227,1,0,0,0,12,229, - 1,0,0,0,14,236,1,0,0,0,16,247,1,0,0,0,18,249,1,0,0,0,20,262,1,0, - 0,0,22,294,1,0,0,0,24,324,1,0,0,0,26,326,1,0,0,0,28,330,1,0,0,0, - 30,348,1,0,0,0,32,350,1,0,0,0,34,363,1,0,0,0,36,365,1,0,0,0,38,378, - 1,0,0,0,40,399,1,0,0,0,42,449,1,0,0,0,44,452,1,0,0,0,46,477,1,0, - 0,0,48,514,1,0,0,0,50,525,1,0,0,0,52,530,1,0,0,0,54,558,1,0,0,0, - 56,560,1,0,0,0,58,570,1,0,0,0,60,582,1,0,0,0,62,607,1,0,0,0,64,656, - 1,0,0,0,66,658,1,0,0,0,68,687,1,0,0,0,70,709,1,0,0,0,72,722,1,0, - 0,0,74,724,1,0,0,0,76,736,1,0,0,0,78,749,1,0,0,0,80,752,1,0,0,0, - 82,772,1,0,0,0,84,774,1,0,0,0,86,782,1,0,0,0,88,870,1,0,0,0,90,872, - 1,0,0,0,92,883,1,0,0,0,94,885,1,0,0,0,96,890,1,0,0,0,98,892,1,0, - 0,0,100,914,1,0,0,0,102,916,1,0,0,0,104,925,1,0,0,0,106,950,1,0, - 0,0,108,981,1,0,0,0,110,983,1,0,0,0,112,991,1,0,0,0,114,1016,1,0, - 0,0,116,1018,1,0,0,0,118,1030,1,0,0,0,120,1037,1,0,0,0,122,1051, - 1,0,0,0,124,1061,1,0,0,0,126,1077,1,0,0,0,128,1115,1,0,0,0,130,1117, - 1,0,0,0,132,1120,1,0,0,0,134,1122,1,0,0,0,136,1124,1,0,0,0,138,1232, - 1,0,0,0,140,1234,1,0,0,0,142,1291,1,0,0,0,144,1293,1,0,0,0,146,1298, - 1,0,0,0,148,1300,1,0,0,0,150,1310,1,0,0,0,152,1312,1,0,0,0,154,1325, - 1,0,0,0,156,1329,1,0,0,0,158,1342,1,0,0,0,160,1344,1,0,0,0,162,163, - 3,6,3,0,163,164,5,0,0,1,164,175,1,0,0,0,165,166,3,20,10,0,166,167, - 5,0,0,1,167,175,1,0,0,0,168,169,3,52,26,0,169,170,5,0,0,1,170,175, - 1,0,0,0,171,172,3,2,1,0,172,173,5,0,0,1,173,175,1,0,0,0,174,162, - 1,0,0,0,174,165,1,0,0,0,174,168,1,0,0,0,174,171,1,0,0,0,175,1,1, - 0,0,0,176,177,5,40,0,0,177,181,5,137,0,0,178,180,3,8,4,0,179,178, - 1,0,0,0,180,183,1,0,0,0,181,179,1,0,0,0,181,182,1,0,0,0,182,184, - 1,0,0,0,183,181,1,0,0,0,184,185,5,138,0,0,185,3,1,0,0,0,186,187, - 5,41,0,0,187,188,3,160,80,0,188,189,5,134,0,0,189,5,1,0,0,0,190, - 191,5,9,0,0,191,192,3,158,79,0,192,193,5,84,0,0,193,194,3,160,80, - 0,194,195,5,77,0,0,195,196,3,160,80,0,196,197,5,76,0,0,197,198,3, - 160,80,0,198,202,5,137,0,0,199,201,3,8,4,0,200,199,1,0,0,0,201,204, - 1,0,0,0,202,200,1,0,0,0,202,203,1,0,0,0,203,205,1,0,0,0,204,202, - 1,0,0,0,205,206,5,138,0,0,206,7,1,0,0,0,207,216,3,4,2,0,208,216, - 3,18,9,0,209,216,3,10,5,0,210,216,3,94,47,0,211,216,3,106,53,0,212, - 216,3,140,70,0,213,216,3,58,29,0,214,216,3,32,16,0,215,207,1,0,0, - 0,215,208,1,0,0,0,215,209,1,0,0,0,215,210,1,0,0,0,215,211,1,0,0, - 0,215,212,1,0,0,0,215,213,1,0,0,0,215,214,1,0,0,0,216,9,1,0,0,0, - 217,218,5,41,0,0,218,219,5,44,0,0,219,220,3,158,79,0,220,221,5,134, - 0,0,221,228,1,0,0,0,222,223,5,41,0,0,223,224,5,46,0,0,224,225,3, - 158,79,0,225,226,5,134,0,0,226,228,1,0,0,0,227,217,1,0,0,0,227,222, - 1,0,0,0,228,11,1,0,0,0,229,230,5,42,0,0,230,231,5,43,0,0,231,232, - 3,158,79,0,232,233,5,84,0,0,233,234,3,160,80,0,234,235,5,134,0,0, - 235,13,1,0,0,0,236,237,5,42,0,0,237,238,5,44,0,0,238,239,3,158,79, - 0,239,240,5,77,0,0,240,241,3,160,80,0,241,242,5,134,0,0,242,15,1, - 0,0,0,243,248,3,10,5,0,244,248,3,12,6,0,245,248,3,14,7,0,246,248, - 3,32,16,0,247,243,1,0,0,0,247,244,1,0,0,0,247,245,1,0,0,0,247,246, - 1,0,0,0,248,17,1,0,0,0,249,250,5,43,0,0,250,251,3,158,79,0,251,252, - 5,84,0,0,252,255,3,160,80,0,253,254,5,85,0,0,254,256,3,160,80,0, - 255,253,1,0,0,0,255,256,1,0,0,0,256,257,1,0,0,0,257,258,5,134,0, - 0,258,19,1,0,0,0,259,261,3,16,8,0,260,259,1,0,0,0,261,264,1,0,0, - 0,262,260,1,0,0,0,262,263,1,0,0,0,263,265,1,0,0,0,264,262,1,0,0, - 0,265,266,5,44,0,0,266,268,3,158,79,0,267,269,3,22,11,0,268,267, - 1,0,0,0,268,269,1,0,0,0,269,270,1,0,0,0,270,271,5,84,0,0,271,272, - 3,160,80,0,272,273,5,77,0,0,273,283,3,160,80,0,274,275,5,89,0,0, - 275,280,3,26,13,0,276,277,5,135,0,0,277,279,3,26,13,0,278,276,1, - 0,0,0,279,282,1,0,0,0,280,278,1,0,0,0,280,281,1,0,0,0,281,284,1, - 0,0,0,282,280,1,0,0,0,283,274,1,0,0,0,283,284,1,0,0,0,284,285,1, - 0,0,0,285,289,5,137,0,0,286,288,3,34,17,0,287,286,1,0,0,0,288,291, - 1,0,0,0,289,287,1,0,0,0,289,290,1,0,0,0,290,292,1,0,0,0,291,289, - 1,0,0,0,292,293,5,138,0,0,293,21,1,0,0,0,294,295,5,143,0,0,295,300, - 3,24,12,0,296,297,5,135,0,0,297,299,3,24,12,0,298,296,1,0,0,0,299, - 302,1,0,0,0,300,298,1,0,0,0,300,301,1,0,0,0,301,303,1,0,0,0,302, - 300,1,0,0,0,303,304,5,144,0,0,304,23,1,0,0,0,305,306,5,47,0,0,306, - 309,3,158,79,0,307,308,5,133,0,0,308,310,5,37,0,0,309,307,1,0,0, - 0,309,310,1,0,0,0,310,325,1,0,0,0,311,312,5,36,0,0,312,322,3,158, - 79,0,313,314,5,38,0,0,314,319,3,26,13,0,315,316,5,145,0,0,316,318, - 3,26,13,0,317,315,1,0,0,0,318,321,1,0,0,0,319,317,1,0,0,0,319,320, - 1,0,0,0,320,323,1,0,0,0,321,319,1,0,0,0,322,313,1,0,0,0,322,323, - 1,0,0,0,323,325,1,0,0,0,324,305,1,0,0,0,324,311,1,0,0,0,325,25,1, - 0,0,0,326,328,3,158,79,0,327,329,3,28,14,0,328,327,1,0,0,0,328,329, - 1,0,0,0,329,27,1,0,0,0,330,331,5,143,0,0,331,336,3,30,15,0,332,333, - 5,135,0,0,333,335,3,30,15,0,334,332,1,0,0,0,335,338,1,0,0,0,336, - 334,1,0,0,0,336,337,1,0,0,0,337,339,1,0,0,0,338,336,1,0,0,0,339, - 340,5,144,0,0,340,29,1,0,0,0,341,342,5,43,0,0,342,349,3,158,79,0, - 343,344,5,44,0,0,344,349,3,26,13,0,345,346,5,36,0,0,346,349,3,158, - 79,0,347,349,3,142,71,0,348,341,1,0,0,0,348,343,1,0,0,0,348,345, - 1,0,0,0,348,347,1,0,0,0,349,31,1,0,0,0,350,351,5,35,0,0,351,353, - 3,158,79,0,352,354,3,22,11,0,353,352,1,0,0,0,353,354,1,0,0,0,354, - 355,1,0,0,0,355,356,5,146,0,0,356,357,3,142,71,0,357,358,5,134,0, - 0,358,33,1,0,0,0,359,364,3,40,20,0,360,364,3,44,22,0,361,364,3,38, - 19,0,362,364,3,36,18,0,363,359,1,0,0,0,363,360,1,0,0,0,363,361,1, - 0,0,0,363,362,1,0,0,0,364,35,1,0,0,0,365,366,5,2,0,0,366,367,3,158, - 79,0,367,368,5,84,0,0,368,369,3,160,80,0,369,370,5,3,0,0,370,373, - 3,160,80,0,371,372,5,5,0,0,372,374,3,50,25,0,373,371,1,0,0,0,373, - 374,1,0,0,0,374,375,1,0,0,0,375,376,5,134,0,0,376,37,1,0,0,0,377, - 379,5,57,0,0,378,377,1,0,0,0,378,379,1,0,0,0,379,380,1,0,0,0,380, - 381,5,49,0,0,381,382,3,158,79,0,382,383,5,84,0,0,383,384,3,160,80, - 0,384,385,5,133,0,0,385,386,3,142,71,0,386,387,5,132,0,0,387,388, - 3,142,71,0,388,389,5,137,0,0,389,390,5,101,0,0,390,391,5,84,0,0, - 391,393,3,160,80,0,392,394,3,72,36,0,393,392,1,0,0,0,393,394,1,0, - 0,0,394,395,1,0,0,0,395,396,5,134,0,0,396,397,5,138,0,0,397,39,1, - 0,0,0,398,400,3,46,23,0,399,398,1,0,0,0,399,400,1,0,0,0,400,401, - 1,0,0,0,401,402,5,47,0,0,402,403,3,158,79,0,403,404,5,84,0,0,404, - 405,3,160,80,0,405,406,5,133,0,0,406,407,3,142,71,0,407,411,5,137, - 0,0,408,410,3,42,21,0,409,408,1,0,0,0,410,413,1,0,0,0,411,409,1, - 0,0,0,411,412,1,0,0,0,412,414,1,0,0,0,413,411,1,0,0,0,414,415,5, - 138,0,0,415,41,1,0,0,0,416,417,5,91,0,0,417,418,5,84,0,0,418,420, - 3,160,80,0,419,421,3,72,36,0,420,419,1,0,0,0,420,421,1,0,0,0,421, - 422,1,0,0,0,422,423,5,134,0,0,423,450,1,0,0,0,424,425,5,92,0,0,425, - 426,5,84,0,0,426,428,3,160,80,0,427,429,3,72,36,0,428,427,1,0,0, - 0,428,429,1,0,0,0,429,430,1,0,0,0,430,431,5,134,0,0,431,450,1,0, - 0,0,432,433,5,1,0,0,433,434,5,84,0,0,434,436,3,160,80,0,435,437, - 3,72,36,0,436,435,1,0,0,0,436,437,1,0,0,0,437,438,1,0,0,0,438,439, - 5,134,0,0,439,450,1,0,0,0,440,441,5,93,0,0,441,442,5,94,0,0,442, - 443,5,84,0,0,443,444,3,160,80,0,444,445,5,95,0,0,445,446,5,84,0, - 0,446,447,3,160,80,0,447,448,5,134,0,0,448,450,1,0,0,0,449,416,1, - 0,0,0,449,424,1,0,0,0,449,432,1,0,0,0,449,440,1,0,0,0,450,43,1,0, - 0,0,451,453,3,46,23,0,452,451,1,0,0,0,452,453,1,0,0,0,453,454,1, - 0,0,0,454,455,5,48,0,0,455,456,3,158,79,0,456,457,5,84,0,0,457,458, - 3,160,80,0,458,459,5,133,0,0,459,460,3,148,74,0,460,462,3,50,25, - 0,461,463,5,112,0,0,462,461,1,0,0,0,462,463,1,0,0,0,463,466,1,0, - 0,0,464,465,5,82,0,0,465,467,3,160,80,0,466,464,1,0,0,0,466,467, - 1,0,0,0,467,468,1,0,0,0,468,472,5,137,0,0,469,471,3,48,24,0,470, - 469,1,0,0,0,471,474,1,0,0,0,472,470,1,0,0,0,472,473,1,0,0,0,473, - 475,1,0,0,0,474,472,1,0,0,0,475,476,5,138,0,0,476,45,1,0,0,0,477, - 479,5,32,0,0,478,480,7,0,0,0,479,478,1,0,0,0,479,480,1,0,0,0,480, - 47,1,0,0,0,481,482,5,98,0,0,482,483,5,84,0,0,483,485,3,160,80,0, - 484,486,3,72,36,0,485,484,1,0,0,0,485,486,1,0,0,0,486,487,1,0,0, - 0,487,488,5,134,0,0,488,515,1,0,0,0,489,490,5,99,0,0,490,491,5,84, - 0,0,491,493,3,160,80,0,492,494,3,72,36,0,493,492,1,0,0,0,493,494, - 1,0,0,0,494,495,1,0,0,0,495,496,5,134,0,0,496,515,1,0,0,0,497,498, - 5,100,0,0,498,499,5,84,0,0,499,501,3,160,80,0,500,502,3,72,36,0, - 501,500,1,0,0,0,501,502,1,0,0,0,502,503,1,0,0,0,503,504,5,134,0, - 0,504,515,1,0,0,0,505,506,5,93,0,0,506,507,5,94,0,0,507,508,5,84, - 0,0,508,509,3,160,80,0,509,510,5,95,0,0,510,511,5,84,0,0,511,512, - 3,160,80,0,512,513,5,134,0,0,513,515,1,0,0,0,514,481,1,0,0,0,514, - 489,1,0,0,0,514,497,1,0,0,0,514,505,1,0,0,0,515,49,1,0,0,0,516,517, - 5,43,0,0,517,526,3,158,79,0,518,519,5,44,0,0,519,521,3,158,79,0, - 520,522,3,28,14,0,521,520,1,0,0,0,521,522,1,0,0,0,522,526,1,0,0, - 0,523,524,5,36,0,0,524,526,3,158,79,0,525,516,1,0,0,0,525,518,1, - 0,0,0,525,523,1,0,0,0,526,51,1,0,0,0,527,529,3,16,8,0,528,527,1, - 0,0,0,529,532,1,0,0,0,530,528,1,0,0,0,530,531,1,0,0,0,531,533,1, - 0,0,0,532,530,1,0,0,0,533,534,5,46,0,0,534,535,3,158,79,0,535,536, - 5,84,0,0,536,537,3,160,80,0,537,538,5,77,0,0,538,541,3,160,80,0, - 539,540,5,78,0,0,540,542,5,147,0,0,541,539,1,0,0,0,541,542,1,0,0, - 0,542,543,1,0,0,0,543,547,5,137,0,0,544,546,3,54,27,0,545,544,1, - 0,0,0,546,549,1,0,0,0,547,545,1,0,0,0,547,548,1,0,0,0,548,550,1, - 0,0,0,549,547,1,0,0,0,550,551,5,138,0,0,551,53,1,0,0,0,552,559,3, - 66,33,0,553,559,3,68,34,0,554,559,3,76,38,0,555,559,3,60,30,0,556, - 559,3,62,31,0,557,559,3,56,28,0,558,552,1,0,0,0,558,553,1,0,0,0, - 558,554,1,0,0,0,558,555,1,0,0,0,558,556,1,0,0,0,558,557,1,0,0,0, - 559,55,1,0,0,0,560,561,5,2,0,0,561,562,3,158,79,0,562,563,5,84,0, - 0,563,564,3,160,80,0,564,565,5,38,0,0,565,566,3,26,13,0,566,567, - 5,136,0,0,567,568,3,158,79,0,568,569,5,134,0,0,569,57,1,0,0,0,570, - 571,5,4,0,0,571,572,3,158,79,0,572,573,5,84,0,0,573,574,3,160,80, - 0,574,575,5,6,0,0,575,576,3,26,13,0,576,577,5,65,0,0,577,578,3,158, - 79,0,578,579,5,136,0,0,579,580,3,158,79,0,580,581,5,134,0,0,581, - 59,1,0,0,0,582,583,5,22,0,0,583,585,3,158,79,0,584,586,3,22,11,0, - 585,584,1,0,0,0,585,586,1,0,0,0,586,587,1,0,0,0,587,588,5,84,0,0, - 588,589,3,160,80,0,589,591,5,25,0,0,590,592,5,9,0,0,591,590,1,0, - 0,0,591,592,1,0,0,0,592,593,1,0,0,0,593,594,3,26,13,0,594,595,5, - 26,0,0,595,596,3,160,80,0,596,597,5,49,0,0,597,598,3,160,80,0,598, - 602,5,137,0,0,599,601,3,64,32,0,600,599,1,0,0,0,601,604,1,0,0,0, - 602,600,1,0,0,0,602,603,1,0,0,0,603,605,1,0,0,0,604,602,1,0,0,0, - 605,606,5,138,0,0,606,61,1,0,0,0,607,608,5,22,0,0,608,609,3,158, - 79,0,609,610,5,84,0,0,610,611,3,160,80,0,611,612,5,24,0,0,612,613, - 3,158,79,0,613,614,3,28,14,0,614,615,5,134,0,0,615,63,1,0,0,0,616, - 617,5,16,0,0,617,657,5,134,0,0,618,619,5,17,0,0,619,620,5,18,0,0, - 620,621,3,158,79,0,621,622,5,134,0,0,622,657,1,0,0,0,623,624,5,27, - 0,0,624,625,3,160,80,0,625,626,5,134,0,0,626,657,1,0,0,0,627,629, - 5,28,0,0,628,630,5,36,0,0,629,628,1,0,0,0,629,630,1,0,0,0,630,631, - 1,0,0,0,631,632,3,158,79,0,632,633,5,55,0,0,633,634,3,26,13,0,634, - 635,5,134,0,0,635,657,1,0,0,0,636,637,5,29,0,0,637,638,3,158,79, - 0,638,639,5,147,0,0,639,640,5,134,0,0,640,657,1,0,0,0,641,642,5, - 30,0,0,642,643,3,26,13,0,643,644,5,136,0,0,644,645,3,158,79,0,645, - 646,3,158,79,0,646,647,3,160,80,0,647,648,5,134,0,0,648,657,1,0, - 0,0,649,650,5,93,0,0,650,657,5,134,0,0,651,652,5,31,0,0,652,653, - 5,147,0,0,653,654,3,160,80,0,654,655,5,134,0,0,655,657,1,0,0,0,656, - 616,1,0,0,0,656,618,1,0,0,0,656,623,1,0,0,0,656,627,1,0,0,0,656, - 636,1,0,0,0,656,641,1,0,0,0,656,649,1,0,0,0,656,651,1,0,0,0,657, - 65,1,0,0,0,658,659,5,49,0,0,659,661,3,158,79,0,660,662,3,22,11,0, - 661,660,1,0,0,0,661,662,1,0,0,0,662,663,1,0,0,0,663,664,5,84,0,0, - 664,665,3,160,80,0,665,666,5,133,0,0,666,667,3,142,71,0,667,668, - 5,132,0,0,668,669,3,142,71,0,669,670,5,86,0,0,670,672,3,80,40,0, - 671,673,3,72,36,0,672,671,1,0,0,0,672,673,1,0,0,0,673,675,1,0,0, - 0,674,676,3,78,39,0,675,674,1,0,0,0,675,676,1,0,0,0,676,677,1,0, - 0,0,677,678,5,88,0,0,678,680,3,82,41,0,679,681,3,86,43,0,680,679, - 1,0,0,0,680,681,1,0,0,0,681,683,1,0,0,0,682,684,3,70,35,0,683,682, - 1,0,0,0,683,684,1,0,0,0,684,685,1,0,0,0,685,686,5,134,0,0,686,67, - 1,0,0,0,687,688,5,50,0,0,688,690,3,158,79,0,689,691,3,22,11,0,690, - 689,1,0,0,0,690,691,1,0,0,0,691,692,1,0,0,0,692,693,5,84,0,0,693, - 694,3,160,80,0,694,695,5,133,0,0,695,696,3,142,71,0,696,697,5,132, - 0,0,697,699,3,142,71,0,698,700,3,72,36,0,699,698,1,0,0,0,699,700, - 1,0,0,0,700,702,1,0,0,0,701,703,3,86,43,0,702,701,1,0,0,0,702,703, - 1,0,0,0,703,705,1,0,0,0,704,706,3,70,35,0,705,704,1,0,0,0,705,706, - 1,0,0,0,706,707,1,0,0,0,707,708,5,134,0,0,708,69,1,0,0,0,709,710, - 5,66,0,0,710,711,5,65,0,0,711,712,3,158,79,0,712,71,1,0,0,0,713, - 714,5,10,0,0,714,723,5,13,0,0,715,716,5,10,0,0,716,717,7,1,0,0,717, - 718,5,14,0,0,718,719,5,139,0,0,719,720,3,84,42,0,720,721,5,140,0, - 0,721,723,1,0,0,0,722,713,1,0,0,0,722,715,1,0,0,0,723,73,1,0,0,0, - 724,725,5,65,0,0,725,726,5,139,0,0,726,731,3,124,62,0,727,728,5, - 135,0,0,728,730,3,124,62,0,729,727,1,0,0,0,730,733,1,0,0,0,731,729, - 1,0,0,0,731,732,1,0,0,0,732,734,1,0,0,0,733,731,1,0,0,0,734,735, - 5,140,0,0,735,75,1,0,0,0,736,737,5,51,0,0,737,738,3,158,79,0,738, - 739,5,84,0,0,739,740,3,160,80,0,740,741,5,52,0,0,741,742,3,158,79, - 0,742,743,5,133,0,0,743,745,3,142,71,0,744,746,3,86,43,0,745,744, - 1,0,0,0,745,746,1,0,0,0,746,747,1,0,0,0,747,748,5,134,0,0,748,77, - 1,0,0,0,749,750,5,87,0,0,750,751,3,142,71,0,751,79,1,0,0,0,752,753, - 7,2,0,0,753,81,1,0,0,0,754,773,5,90,0,0,755,756,5,43,0,0,756,773, - 3,158,79,0,757,758,5,36,0,0,758,773,3,158,79,0,759,760,5,45,0,0, - 760,769,5,139,0,0,761,766,3,26,13,0,762,763,5,135,0,0,763,765,3, - 26,13,0,764,762,1,0,0,0,765,768,1,0,0,0,766,764,1,0,0,0,766,767, - 1,0,0,0,767,770,1,0,0,0,768,766,1,0,0,0,769,761,1,0,0,0,769,770, - 1,0,0,0,770,771,1,0,0,0,771,773,5,140,0,0,772,754,1,0,0,0,772,755, - 1,0,0,0,772,757,1,0,0,0,772,759,1,0,0,0,773,83,1,0,0,0,774,779,3, - 158,79,0,775,776,5,135,0,0,776,778,3,158,79,0,777,775,1,0,0,0,778, - 781,1,0,0,0,779,777,1,0,0,0,779,780,1,0,0,0,780,85,1,0,0,0,781,779, - 1,0,0,0,782,783,5,89,0,0,783,787,5,137,0,0,784,786,3,88,44,0,785, - 784,1,0,0,0,786,789,1,0,0,0,787,785,1,0,0,0,787,788,1,0,0,0,788, - 790,1,0,0,0,789,787,1,0,0,0,790,791,5,138,0,0,791,87,1,0,0,0,792, - 793,5,23,0,0,793,794,3,158,79,0,794,795,5,84,0,0,795,796,3,160,80, - 0,796,797,5,139,0,0,797,798,3,84,42,0,798,799,5,140,0,0,799,800, - 5,134,0,0,800,871,1,0,0,0,801,802,5,61,0,0,802,803,3,158,79,0,803, - 804,5,84,0,0,804,805,3,160,80,0,805,806,5,133,0,0,806,807,3,142, - 71,0,807,808,3,90,45,0,808,809,5,134,0,0,809,871,1,0,0,0,810,811, - 5,62,0,0,811,812,3,158,79,0,812,813,5,84,0,0,813,814,3,160,80,0, - 814,815,5,133,0,0,815,816,3,148,74,0,816,817,3,50,25,0,817,818,3, - 90,45,0,818,819,5,134,0,0,819,871,1,0,0,0,820,821,5,44,0,0,821,822, - 3,158,79,0,822,823,5,84,0,0,823,824,3,160,80,0,824,825,5,133,0,0, - 825,827,3,158,79,0,826,828,3,28,14,0,827,826,1,0,0,0,827,828,1,0, - 0,0,828,830,1,0,0,0,829,831,3,74,37,0,830,829,1,0,0,0,830,831,1, - 0,0,0,831,834,1,0,0,0,832,833,5,18,0,0,833,835,5,53,0,0,834,832, - 1,0,0,0,834,835,1,0,0,0,835,836,1,0,0,0,836,837,5,134,0,0,837,871, - 1,0,0,0,838,839,5,7,0,0,839,840,3,158,79,0,840,841,5,84,0,0,841, - 842,3,160,80,0,842,843,5,133,0,0,843,844,3,158,79,0,844,845,5,53, - 0,0,845,846,3,142,71,0,846,847,5,134,0,0,847,871,1,0,0,0,848,849, - 5,51,0,0,849,850,3,158,79,0,850,851,5,84,0,0,851,852,3,160,80,0, - 852,853,5,133,0,0,853,856,3,158,79,0,854,855,5,53,0,0,855,857,3, - 142,71,0,856,854,1,0,0,0,856,857,1,0,0,0,857,858,1,0,0,0,858,859, - 5,134,0,0,859,871,1,0,0,0,860,861,5,22,0,0,861,862,3,158,79,0,862, - 863,5,84,0,0,863,864,3,160,80,0,864,865,5,133,0,0,865,866,3,158, - 79,0,866,867,5,136,0,0,867,868,3,158,79,0,868,869,5,134,0,0,869, - 871,1,0,0,0,870,792,1,0,0,0,870,801,1,0,0,0,870,810,1,0,0,0,870, - 820,1,0,0,0,870,838,1,0,0,0,870,848,1,0,0,0,870,860,1,0,0,0,871, - 89,1,0,0,0,872,873,5,139,0,0,873,878,3,92,46,0,874,875,5,135,0,0, - 875,877,3,92,46,0,876,874,1,0,0,0,877,880,1,0,0,0,878,876,1,0,0, - 0,878,879,1,0,0,0,879,881,1,0,0,0,880,878,1,0,0,0,881,882,5,140, - 0,0,882,91,1,0,0,0,883,884,7,3,0,0,884,93,1,0,0,0,885,886,5,60,0, - 0,886,887,3,96,48,0,887,95,1,0,0,0,888,891,3,98,49,0,889,891,3,102, - 51,0,890,888,1,0,0,0,890,889,1,0,0,0,891,97,1,0,0,0,892,893,5,61, - 0,0,893,894,3,158,79,0,894,895,5,84,0,0,895,896,3,160,80,0,896,897, - 5,71,0,0,897,898,3,158,79,0,898,899,5,133,0,0,899,900,3,142,71,0, - 900,901,5,72,0,0,901,904,3,100,50,0,902,903,5,73,0,0,903,905,3,150, - 75,0,904,902,1,0,0,0,904,905,1,0,0,0,905,906,1,0,0,0,906,907,5,134, - 0,0,907,99,1,0,0,0,908,915,5,106,0,0,909,910,5,107,0,0,910,911,5, - 141,0,0,911,912,3,142,71,0,912,913,5,142,0,0,913,915,1,0,0,0,914, - 908,1,0,0,0,914,909,1,0,0,0,915,101,1,0,0,0,916,917,5,62,0,0,917, - 918,3,158,79,0,918,919,5,84,0,0,919,920,3,160,80,0,920,921,5,137, - 0,0,921,922,3,104,52,0,922,923,3,104,52,0,923,924,5,138,0,0,924, - 103,1,0,0,0,925,926,3,50,25,0,926,927,5,63,0,0,927,928,3,158,79, - 0,928,929,5,84,0,0,929,930,3,160,80,0,930,932,3,148,74,0,931,933, - 5,112,0,0,932,931,1,0,0,0,932,933,1,0,0,0,933,936,1,0,0,0,934,935, - 5,79,0,0,935,937,3,160,80,0,936,934,1,0,0,0,936,937,1,0,0,0,937, - 939,1,0,0,0,938,940,5,81,0,0,939,938,1,0,0,0,939,940,1,0,0,0,940, - 943,1,0,0,0,941,942,5,82,0,0,942,944,3,160,80,0,943,941,1,0,0,0, - 943,944,1,0,0,0,944,946,1,0,0,0,945,947,5,83,0,0,946,945,1,0,0,0, - 946,947,1,0,0,0,947,948,1,0,0,0,948,949,5,134,0,0,949,105,1,0,0, - 0,950,951,5,54,0,0,951,952,3,158,79,0,952,953,5,55,0,0,953,955,3, - 158,79,0,954,956,3,28,14,0,955,954,1,0,0,0,955,956,1,0,0,0,956,959, - 1,0,0,0,957,958,5,84,0,0,958,960,3,160,80,0,959,957,1,0,0,0,959, - 960,1,0,0,0,960,963,1,0,0,0,961,962,5,78,0,0,962,964,5,147,0,0,963, - 961,1,0,0,0,963,964,1,0,0,0,964,965,1,0,0,0,965,969,5,137,0,0,966, - 968,3,108,54,0,967,966,1,0,0,0,968,971,1,0,0,0,969,967,1,0,0,0,969, - 970,1,0,0,0,970,972,1,0,0,0,971,969,1,0,0,0,972,973,5,138,0,0,973, - 107,1,0,0,0,974,975,5,59,0,0,975,982,3,96,48,0,976,982,3,122,61, - 0,977,982,3,118,59,0,978,982,3,112,56,0,979,982,3,120,60,0,980,982, - 3,110,55,0,981,974,1,0,0,0,981,976,1,0,0,0,981,977,1,0,0,0,981,978, - 1,0,0,0,981,979,1,0,0,0,981,980,1,0,0,0,982,109,1,0,0,0,983,984, - 5,56,0,0,984,985,3,158,79,0,985,986,5,58,0,0,986,987,3,158,79,0, - 987,988,5,136,0,0,988,989,3,158,79,0,989,990,5,134,0,0,990,111,1, - 0,0,0,991,992,5,8,0,0,992,996,5,137,0,0,993,995,3,114,57,0,994,993, - 1,0,0,0,995,998,1,0,0,0,996,994,1,0,0,0,996,997,1,0,0,0,997,999, - 1,0,0,0,998,996,1,0,0,0,999,1000,5,138,0,0,1000,1001,5,134,0,0,1001, - 113,1,0,0,0,1002,1003,3,158,79,0,1003,1004,5,58,0,0,1004,1005,5, - 61,0,0,1005,1006,3,158,79,0,1006,1007,5,134,0,0,1007,1017,1,0,0, - 0,1008,1009,3,158,79,0,1009,1010,5,58,0,0,1010,1011,5,62,0,0,1011, - 1012,3,158,79,0,1012,1013,5,136,0,0,1013,1014,3,158,79,0,1014,1015, - 5,134,0,0,1015,1017,1,0,0,0,1016,1002,1,0,0,0,1016,1008,1,0,0,0, - 1017,115,1,0,0,0,1018,1019,3,26,13,0,1019,1020,5,18,0,0,1020,1025, - 5,53,0,0,1021,1022,5,136,0,0,1022,1024,3,158,79,0,1023,1021,1,0, - 0,0,1024,1027,1,0,0,0,1025,1023,1,0,0,0,1025,1026,1,0,0,0,1026,1028, - 1,0,0,0,1027,1025,1,0,0,0,1028,1029,5,134,0,0,1029,117,1,0,0,0,1030, - 1031,5,56,0,0,1031,1032,3,158,79,0,1032,1033,5,58,0,0,1033,1034, - 5,61,0,0,1034,1035,3,158,79,0,1035,1036,5,134,0,0,1036,119,1,0,0, - 0,1037,1038,5,68,0,0,1038,1039,3,158,79,0,1039,1040,5,69,0,0,1040, - 1041,5,70,0,0,1041,1042,5,65,0,0,1042,1043,5,51,0,0,1043,1044,3, - 158,79,0,1044,1045,5,67,0,0,1045,1046,5,62,0,0,1046,1047,3,158,79, - 0,1047,1048,5,136,0,0,1048,1049,3,158,79,0,1049,1050,5,134,0,0,1050, - 121,1,0,0,0,1051,1052,5,56,0,0,1052,1053,3,124,62,0,1053,1054,5, - 58,0,0,1054,1057,3,128,64,0,1055,1056,5,34,0,0,1056,1058,3,160,80, - 0,1057,1055,1,0,0,0,1057,1058,1,0,0,0,1058,1059,1,0,0,0,1059,1060, - 5,134,0,0,1060,123,1,0,0,0,1061,1062,3,158,79,0,1062,1063,5,136, - 0,0,1063,1064,3,126,63,0,1064,125,1,0,0,0,1065,1078,3,158,79,0,1066, - 1078,5,101,0,0,1067,1078,5,91,0,0,1068,1078,5,92,0,0,1069,1078,5, - 1,0,0,1070,1078,5,98,0,0,1071,1078,5,99,0,0,1072,1078,5,100,0,0, - 1073,1078,5,102,0,0,1074,1078,5,103,0,0,1075,1078,5,104,0,0,1076, - 1078,5,105,0,0,1077,1065,1,0,0,0,1077,1066,1,0,0,0,1077,1067,1,0, - 0,0,1077,1068,1,0,0,0,1077,1069,1,0,0,0,1077,1070,1,0,0,0,1077,1071, - 1,0,0,0,1077,1072,1,0,0,0,1077,1073,1,0,0,0,1077,1074,1,0,0,0,1077, - 1075,1,0,0,0,1077,1076,1,0,0,0,1078,127,1,0,0,0,1079,1080,5,80,0, - 0,1080,1081,5,136,0,0,1081,1116,3,158,79,0,1082,1083,5,61,0,0,1083, - 1084,3,158,79,0,1084,1085,5,136,0,0,1085,1086,3,132,66,0,1086,1116, - 1,0,0,0,1087,1088,5,62,0,0,1088,1089,3,158,79,0,1089,1090,5,136, - 0,0,1090,1091,3,158,79,0,1091,1092,5,136,0,0,1092,1093,3,134,67, - 0,1093,1116,1,0,0,0,1094,1095,5,44,0,0,1095,1097,3,158,79,0,1096, - 1098,3,28,14,0,1097,1096,1,0,0,0,1097,1098,1,0,0,0,1098,1099,1,0, - 0,0,1099,1100,5,136,0,0,1100,1101,3,124,62,0,1101,1116,1,0,0,0,1102, - 1103,5,46,0,0,1103,1104,3,158,79,0,1104,1105,5,136,0,0,1105,1107, - 3,158,79,0,1106,1108,3,28,14,0,1107,1106,1,0,0,0,1107,1108,1,0,0, - 0,1108,1110,1,0,0,0,1109,1111,3,136,68,0,1110,1109,1,0,0,0,1110, - 1111,1,0,0,0,1111,1113,1,0,0,0,1112,1114,3,130,65,0,1113,1112,1, - 0,0,0,1113,1114,1,0,0,0,1114,1116,1,0,0,0,1115,1079,1,0,0,0,1115, - 1082,1,0,0,0,1115,1087,1,0,0,0,1115,1094,1,0,0,0,1115,1102,1,0,0, - 0,1116,129,1,0,0,0,1117,1118,5,66,0,0,1118,1119,3,136,68,0,1119, - 131,1,0,0,0,1120,1121,7,4,0,0,1121,133,1,0,0,0,1122,1123,7,5,0,0, - 1123,135,1,0,0,0,1124,1125,5,64,0,0,1125,1129,5,137,0,0,1126,1128, - 3,138,69,0,1127,1126,1,0,0,0,1128,1131,1,0,0,0,1129,1127,1,0,0,0, - 1129,1130,1,0,0,0,1130,1132,1,0,0,0,1131,1129,1,0,0,0,1132,1133, - 5,138,0,0,1133,137,1,0,0,0,1134,1135,3,158,79,0,1135,1136,5,58,0, - 0,1136,1137,5,9,0,0,1137,1138,5,23,0,0,1138,1139,5,139,0,0,1139, - 1140,3,84,42,0,1140,1141,5,140,0,0,1141,1142,5,134,0,0,1142,1233, - 1,0,0,0,1143,1144,3,158,79,0,1144,1145,5,58,0,0,1145,1146,5,61,0, - 0,1146,1153,3,158,79,0,1147,1148,5,67,0,0,1148,1149,5,62,0,0,1149, - 1150,3,158,79,0,1150,1151,5,136,0,0,1151,1152,3,158,79,0,1152,1154, - 1,0,0,0,1153,1147,1,0,0,0,1153,1154,1,0,0,0,1154,1155,1,0,0,0,1155, - 1156,5,134,0,0,1156,1233,1,0,0,0,1157,1158,3,158,79,0,1158,1159, - 5,58,0,0,1159,1160,5,62,0,0,1160,1161,3,158,79,0,1161,1162,5,136, - 0,0,1162,1169,3,158,79,0,1163,1164,5,67,0,0,1164,1165,5,62,0,0,1165, - 1166,3,158,79,0,1166,1167,5,136,0,0,1167,1168,3,158,79,0,1168,1170, - 1,0,0,0,1169,1163,1,0,0,0,1169,1170,1,0,0,0,1170,1171,1,0,0,0,1171, - 1172,5,134,0,0,1172,1233,1,0,0,0,1173,1174,3,158,79,0,1174,1175, - 5,58,0,0,1175,1176,5,44,0,0,1176,1178,3,158,79,0,1177,1179,3,28, - 14,0,1178,1177,1,0,0,0,1178,1179,1,0,0,0,1179,1188,1,0,0,0,1180, - 1181,5,67,0,0,1181,1182,5,62,0,0,1182,1183,3,158,79,0,1183,1184, - 5,136,0,0,1184,1185,3,158,79,0,1185,1189,1,0,0,0,1186,1187,5,18, - 0,0,1187,1189,5,53,0,0,1188,1180,1,0,0,0,1188,1186,1,0,0,0,1188, - 1189,1,0,0,0,1189,1190,1,0,0,0,1190,1191,5,134,0,0,1191,1233,1,0, - 0,0,1192,1193,3,158,79,0,1193,1194,5,58,0,0,1194,1195,5,7,0,0,1195, - 1196,3,158,79,0,1196,1197,5,64,0,0,1197,1201,5,137,0,0,1198,1200, - 3,116,58,0,1199,1198,1,0,0,0,1200,1203,1,0,0,0,1201,1199,1,0,0,0, - 1201,1202,1,0,0,0,1202,1204,1,0,0,0,1203,1201,1,0,0,0,1204,1205, - 5,138,0,0,1205,1206,5,134,0,0,1206,1233,1,0,0,0,1207,1208,3,158, - 79,0,1208,1209,5,58,0,0,1209,1210,5,51,0,0,1210,1211,3,158,79,0, - 1211,1212,5,134,0,0,1212,1233,1,0,0,0,1213,1214,3,158,79,0,1214, - 1216,5,58,0,0,1215,1217,5,9,0,0,1216,1215,1,0,0,0,1216,1217,1,0, - 0,0,1217,1218,1,0,0,0,1218,1219,5,22,0,0,1219,1220,3,158,79,0,1220, - 1221,5,136,0,0,1221,1228,3,158,79,0,1222,1223,5,67,0,0,1223,1224, - 5,62,0,0,1224,1225,3,158,79,0,1225,1226,5,136,0,0,1226,1227,3,158, - 79,0,1227,1229,1,0,0,0,1228,1222,1,0,0,0,1228,1229,1,0,0,0,1229, - 1230,1,0,0,0,1230,1231,5,134,0,0,1231,1233,1,0,0,0,1232,1134,1,0, - 0,0,1232,1143,1,0,0,0,1232,1157,1,0,0,0,1232,1173,1,0,0,0,1232,1192, - 1,0,0,0,1232,1207,1,0,0,0,1232,1213,1,0,0,0,1233,139,1,0,0,0,1234, - 1235,5,51,0,0,1235,1236,3,158,79,0,1236,1237,5,58,0,0,1237,1238, - 3,158,79,0,1238,1239,5,136,0,0,1239,1241,3,158,79,0,1240,1242,3, - 136,68,0,1241,1240,1,0,0,0,1241,1242,1,0,0,0,1242,1243,1,0,0,0,1243, - 1244,5,134,0,0,1244,141,1,0,0,0,1245,1292,3,146,73,0,1246,1292,5, - 113,0,0,1247,1292,5,114,0,0,1248,1249,5,115,0,0,1249,1292,3,160, - 80,0,1250,1251,5,116,0,0,1251,1252,5,143,0,0,1252,1253,3,158,79, - 0,1253,1254,5,144,0,0,1254,1292,1,0,0,0,1255,1256,5,117,0,0,1256, - 1257,5,143,0,0,1257,1259,3,158,79,0,1258,1260,3,28,14,0,1259,1258, - 1,0,0,0,1259,1260,1,0,0,0,1260,1261,1,0,0,0,1261,1262,5,144,0,0, - 1262,1292,1,0,0,0,1263,1264,5,39,0,0,1264,1265,5,143,0,0,1265,1266, - 3,158,79,0,1266,1267,5,144,0,0,1267,1292,1,0,0,0,1268,1269,5,118, - 0,0,1269,1270,5,143,0,0,1270,1271,3,142,71,0,1271,1272,5,144,0,0, - 1272,1292,1,0,0,0,1273,1274,5,119,0,0,1274,1275,5,143,0,0,1275,1276, - 3,142,71,0,1276,1277,5,144,0,0,1277,1292,1,0,0,0,1278,1279,5,120, - 0,0,1279,1283,5,137,0,0,1280,1282,3,144,72,0,1281,1280,1,0,0,0,1282, - 1285,1,0,0,0,1283,1281,1,0,0,0,1283,1284,1,0,0,0,1284,1286,1,0,0, - 0,1285,1283,1,0,0,0,1286,1292,5,138,0,0,1287,1289,3,158,79,0,1288, - 1290,3,28,14,0,1289,1288,1,0,0,0,1289,1290,1,0,0,0,1290,1292,1,0, - 0,0,1291,1245,1,0,0,0,1291,1246,1,0,0,0,1291,1247,1,0,0,0,1291,1248, - 1,0,0,0,1291,1250,1,0,0,0,1291,1255,1,0,0,0,1291,1263,1,0,0,0,1291, - 1268,1,0,0,0,1291,1273,1,0,0,0,1291,1278,1,0,0,0,1291,1287,1,0,0, - 0,1292,143,1,0,0,0,1293,1294,3,158,79,0,1294,1295,5,133,0,0,1295, - 1296,3,142,71,0,1296,1297,5,134,0,0,1297,145,1,0,0,0,1298,1299,7, - 6,0,0,1299,147,1,0,0,0,1300,1301,7,7,0,0,1301,149,1,0,0,0,1302,1311, - 3,160,80,0,1303,1311,5,147,0,0,1304,1311,5,148,0,0,1305,1311,5,129, - 0,0,1306,1311,5,130,0,0,1307,1311,5,131,0,0,1308,1311,3,152,76,0, - 1309,1311,3,156,78,0,1310,1302,1,0,0,0,1310,1303,1,0,0,0,1310,1304, - 1,0,0,0,1310,1305,1,0,0,0,1310,1306,1,0,0,0,1310,1307,1,0,0,0,1310, - 1308,1,0,0,0,1310,1309,1,0,0,0,1311,151,1,0,0,0,1312,1321,5,137, - 0,0,1313,1318,3,154,77,0,1314,1315,5,135,0,0,1315,1317,3,154,77, - 0,1316,1314,1,0,0,0,1317,1320,1,0,0,0,1318,1316,1,0,0,0,1318,1319, - 1,0,0,0,1319,1322,1,0,0,0,1320,1318,1,0,0,0,1321,1313,1,0,0,0,1321, - 1322,1,0,0,0,1322,1323,1,0,0,0,1323,1324,5,138,0,0,1324,153,1,0, - 0,0,1325,1326,3,160,80,0,1326,1327,5,133,0,0,1327,1328,3,150,75, - 0,1328,155,1,0,0,0,1329,1338,5,139,0,0,1330,1335,3,150,75,0,1331, - 1332,5,135,0,0,1332,1334,3,150,75,0,1333,1331,1,0,0,0,1334,1337, - 1,0,0,0,1335,1333,1,0,0,0,1335,1336,1,0,0,0,1336,1339,1,0,0,0,1337, - 1335,1,0,0,0,1338,1330,1,0,0,0,1338,1339,1,0,0,0,1339,1340,1,0,0, - 0,1340,1341,5,140,0,0,1341,157,1,0,0,0,1342,1343,7,8,0,0,1343,159, - 1,0,0,0,1344,1345,5,150,0,0,1345,161,1,0,0,0,116,174,181,202,215, - 227,247,255,262,268,280,283,289,300,309,319,322,324,328,336,348, - 353,363,373,378,393,399,411,420,428,436,449,452,462,466,472,479, - 485,493,501,514,521,525,530,541,547,558,585,591,602,629,656,661, - 672,675,680,683,690,699,702,705,722,731,745,766,769,772,779,787, - 827,830,834,856,870,878,890,904,914,932,936,939,943,946,955,959, - 963,969,981,996,1016,1025,1057,1077,1097,1107,1110,1113,1115,1129, - 1153,1169,1178,1188,1201,1216,1228,1232,1241,1259,1283,1289,1291, - 1310,1318,1321,1335,1338 + 78,2,79,7,79,2,80,7,80,2,81,7,81,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0, + 1,0,1,0,1,0,1,0,3,0,177,8,0,1,1,1,1,1,1,5,1,182,8,1,10,1,12,1,185, + 9,1,1,1,1,1,1,2,1,2,1,2,1,2,1,3,1,3,1,3,1,3,1,3,1,3,1,3,1,3,1,3, + 1,3,5,3,203,8,3,10,3,12,3,206,9,3,1,3,1,3,1,4,1,4,1,4,1,4,1,4,1, + 4,1,4,1,4,3,4,218,8,4,1,5,1,5,1,5,1,5,1,5,1,5,1,5,1,5,1,5,1,5,3, + 5,230,8,5,1,6,1,6,1,6,1,6,1,6,1,6,1,6,1,7,1,7,1,7,1,7,1,7,1,7,1, + 7,1,8,1,8,1,8,1,8,3,8,250,8,8,1,9,1,9,1,9,1,9,1,9,1,9,3,9,258,8, + 9,1,9,1,9,1,10,5,10,263,8,10,10,10,12,10,266,9,10,1,10,1,10,1,10, + 3,10,271,8,10,1,10,1,10,1,10,1,10,1,10,1,10,1,10,1,10,5,10,281,8, + 10,10,10,12,10,284,9,10,3,10,286,8,10,1,10,1,10,5,10,290,8,10,10, + 10,12,10,293,9,10,1,10,1,10,1,11,1,11,1,11,1,11,5,11,301,8,11,10, + 11,12,11,304,9,11,1,11,1,11,1,12,1,12,1,12,1,12,3,12,312,8,12,1, + 12,1,12,1,12,1,12,1,12,1,12,5,12,320,8,12,10,12,12,12,323,9,12,3, + 12,325,8,12,3,12,327,8,12,1,13,1,13,3,13,331,8,13,1,14,1,14,1,14, + 1,14,5,14,337,8,14,10,14,12,14,340,9,14,1,14,1,14,1,15,1,15,1,15, + 1,15,1,15,1,15,1,15,3,15,351,8,15,1,16,1,16,1,16,3,16,356,8,16,1, + 16,1,16,1,16,1,16,1,17,1,17,1,17,1,17,3,17,366,8,17,1,18,1,18,1, + 18,1,18,1,18,1,18,1,18,1,18,3,18,376,8,18,1,18,1,18,1,19,3,19,381, + 8,19,1,19,1,19,1,19,1,19,1,19,1,19,1,19,1,19,1,19,1,19,1,19,1,19, + 1,19,3,19,396,8,19,1,19,1,19,1,19,1,20,3,20,402,8,20,1,20,1,20,1, + 20,1,20,1,20,1,20,1,20,1,20,5,20,412,8,20,10,20,12,20,415,9,20,1, + 20,1,20,1,21,1,21,1,21,1,21,3,21,423,8,21,1,21,1,21,1,21,1,21,1, + 21,1,21,3,21,431,8,21,1,21,1,21,1,21,1,21,1,21,1,21,3,21,439,8,21, + 1,21,1,21,1,21,1,21,1,21,1,21,1,21,1,21,1,21,1,21,1,21,3,21,452, + 8,21,1,22,3,22,455,8,22,1,22,1,22,1,22,1,22,1,22,1,22,1,22,1,22, + 3,22,465,8,22,1,22,1,22,3,22,469,8,22,1,22,1,22,5,22,473,8,22,10, + 22,12,22,476,9,22,1,22,1,22,1,23,1,23,3,23,482,8,23,1,24,1,24,1, + 24,1,24,3,24,488,8,24,1,24,1,24,1,24,1,24,1,24,1,24,3,24,496,8,24, + 1,24,1,24,1,24,1,24,1,24,1,24,3,24,504,8,24,1,24,1,24,1,24,1,24, + 1,24,1,24,1,24,1,24,1,24,1,24,1,24,3,24,517,8,24,1,25,1,25,1,25, + 1,25,1,25,3,25,524,8,25,1,25,1,25,3,25,528,8,25,1,26,5,26,531,8, + 26,10,26,12,26,534,9,26,1,26,1,26,1,26,1,26,1,26,1,26,1,26,1,26, + 3,26,544,8,26,1,26,1,26,5,26,548,8,26,10,26,12,26,551,9,26,1,26, + 1,26,1,27,1,27,1,27,1,27,1,27,1,27,3,27,561,8,27,1,28,1,28,1,28, + 1,28,1,28,1,28,1,28,1,28,1,28,1,28,1,29,1,29,1,29,1,29,1,29,1,29, + 1,29,1,29,1,29,1,29,1,29,1,29,1,30,1,30,3,30,587,8,30,1,30,1,30, + 3,30,591,8,30,1,30,1,30,1,30,1,30,3,30,597,8,30,1,30,1,30,1,30,1, + 30,1,30,1,30,1,30,5,30,606,8,30,10,30,12,30,609,9,30,1,30,1,30,1, + 30,1,30,1,30,1,30,3,30,617,8,30,1,30,1,30,5,30,621,8,30,10,30,12, + 30,624,9,30,1,30,1,30,3,30,628,8,30,3,30,630,8,30,1,31,1,31,1,31, + 1,31,1,31,1,31,1,31,1,31,1,31,1,32,1,32,1,32,1,32,1,32,1,32,1,32, + 1,32,1,32,1,32,1,32,1,32,1,32,1,32,1,32,1,32,1,32,1,32,5,32,659, + 8,32,10,32,12,32,662,9,32,1,32,3,32,665,8,32,1,32,1,32,1,32,1,32, + 3,32,671,8,32,1,32,1,32,1,32,1,32,1,32,1,32,1,32,1,32,1,32,1,32, + 1,32,1,32,1,32,1,32,1,32,1,32,1,32,1,32,1,32,1,32,1,32,1,32,1,32, + 1,32,1,32,3,32,698,8,32,1,33,1,33,1,33,1,33,1,33,1,34,1,34,1,34, + 3,34,708,8,34,1,34,1,34,1,34,1,34,1,34,1,34,1,34,1,34,1,34,3,34, + 719,8,34,1,34,3,34,722,8,34,1,34,1,34,1,34,3,34,727,8,34,1,34,3, + 34,730,8,34,1,34,1,34,1,35,1,35,1,35,3,35,737,8,35,1,35,1,35,1,35, + 1,35,1,35,1,35,1,35,3,35,746,8,35,1,35,3,35,749,8,35,1,35,3,35,752, + 8,35,1,35,1,35,1,36,1,36,1,36,1,36,1,37,1,37,1,37,1,37,1,37,1,37, + 1,37,1,37,1,37,3,37,769,8,37,1,38,1,38,1,38,1,38,1,38,5,38,776,8, + 38,10,38,12,38,779,9,38,1,38,1,38,1,39,1,39,1,39,1,39,1,39,1,39, + 1,39,1,39,1,39,3,39,792,8,39,1,39,1,39,1,40,1,40,1,40,1,41,1,41, + 1,42,1,42,1,42,1,42,1,42,1,42,1,42,1,42,1,42,1,42,5,42,811,8,42, + 10,42,12,42,814,9,42,3,42,816,8,42,1,42,3,42,819,8,42,1,43,1,43, + 1,43,5,43,824,8,43,10,43,12,43,827,9,43,1,44,1,44,1,44,5,44,832, + 8,44,10,44,12,44,835,9,44,1,44,1,44,1,45,1,45,1,45,1,45,1,45,1,45, + 1,45,1,45,1,45,1,45,1,45,1,45,1,45,1,45,1,45,1,45,1,45,1,45,1,45, + 1,45,1,45,1,45,1,45,1,45,1,45,1,45,1,45,1,45,1,45,1,45,1,45,1,45, + 1,45,1,45,1,45,3,45,874,8,45,1,45,3,45,877,8,45,1,45,1,45,3,45,881, + 8,45,1,45,1,45,1,45,1,45,1,45,1,45,1,45,1,45,1,45,1,45,1,45,1,45, + 1,45,1,45,1,45,1,45,1,45,1,45,1,45,1,45,3,45,903,8,45,1,45,1,45, + 1,45,1,45,1,45,1,45,1,45,1,45,1,45,1,45,1,45,1,45,3,45,917,8,45, + 1,46,1,46,1,46,1,46,5,46,923,8,46,10,46,12,46,926,9,46,1,46,1,46, + 1,47,1,47,1,48,1,48,1,48,1,49,1,49,3,49,937,8,49,1,50,1,50,1,50, + 1,50,1,50,1,50,1,50,1,50,1,50,1,50,1,50,1,50,3,50,951,8,50,1,50, + 1,50,1,51,1,51,1,51,1,51,1,51,1,51,3,51,961,8,51,1,52,1,52,1,52, + 1,52,1,52,1,52,1,52,1,52,1,52,1,53,1,53,1,53,1,53,1,53,1,53,1,53, + 3,53,979,8,53,1,53,1,53,3,53,983,8,53,1,53,3,53,986,8,53,1,53,1, + 53,3,53,990,8,53,1,53,3,53,993,8,53,1,53,1,53,1,54,1,54,1,54,1,54, + 1,54,3,54,1002,8,54,1,54,1,54,3,54,1006,8,54,1,54,1,54,3,54,1010, + 8,54,1,54,1,54,5,54,1014,8,54,10,54,12,54,1017,9,54,1,54,1,54,1, + 55,1,55,1,55,1,55,1,55,1,55,1,55,3,55,1028,8,55,1,56,1,56,1,56,1, + 56,1,56,1,56,1,56,1,56,1,57,1,57,1,57,5,57,1041,8,57,10,57,12,57, + 1044,9,57,1,57,1,57,1,57,1,58,1,58,1,58,1,58,1,58,1,58,1,58,1,58, + 1,58,1,58,1,58,1,58,1,58,1,58,3,58,1063,8,58,1,59,1,59,1,59,1,59, + 1,59,5,59,1070,8,59,10,59,12,59,1073,9,59,1,59,1,59,1,60,1,60,1, + 60,1,60,1,60,1,60,1,60,1,61,1,61,1,61,1,61,1,61,1,61,1,61,1,61,1, + 61,1,61,1,61,1,61,1,61,1,61,1,62,1,62,1,62,1,62,1,62,1,62,3,62,1104, + 8,62,1,62,1,62,1,63,1,63,1,63,1,63,1,64,1,64,1,64,1,64,1,64,1,64, + 1,64,1,64,1,64,1,64,1,64,1,64,3,64,1124,8,64,1,65,1,65,1,65,1,65, + 1,65,1,65,1,65,1,65,1,65,1,65,1,65,1,65,1,65,1,65,1,65,1,65,1,65, + 1,65,3,65,1144,8,65,1,65,1,65,1,65,1,65,1,65,1,65,1,65,1,65,3,65, + 1154,8,65,1,65,3,65,1157,8,65,1,65,3,65,1160,8,65,3,65,1162,8,65, + 1,66,1,66,1,66,1,67,1,67,1,68,1,68,1,69,1,69,1,69,5,69,1174,8,69, + 10,69,12,69,1177,9,69,1,69,1,69,1,70,1,70,1,70,1,70,1,70,1,70,1, + 70,1,70,1,70,1,70,1,70,1,70,1,70,1,70,1,70,1,70,1,70,1,70,1,70,3, + 70,1200,8,70,1,70,1,70,1,70,1,70,1,70,1,70,1,70,1,70,1,70,1,70,1, + 70,1,70,1,70,1,70,3,70,1216,8,70,1,70,1,70,1,70,1,70,1,70,1,70,1, + 70,3,70,1225,8,70,1,70,1,70,1,70,1,70,1,70,1,70,1,70,1,70,3,70,1235, + 8,70,1,70,1,70,1,70,1,70,1,70,1,70,1,70,1,70,1,70,5,70,1246,8,70, + 10,70,12,70,1249,9,70,1,70,1,70,1,70,1,70,1,70,1,70,1,70,1,70,1, + 70,1,70,1,70,1,70,3,70,1263,8,70,1,70,1,70,1,70,1,70,1,70,1,70,1, + 70,1,70,1,70,1,70,3,70,1275,8,70,1,70,1,70,3,70,1279,8,70,1,71,1, + 71,1,71,1,71,1,71,1,71,1,71,3,71,1288,8,71,1,71,1,71,1,72,1,72,1, + 72,1,72,1,72,1,72,1,72,1,72,1,72,1,72,1,72,1,72,1,72,1,72,3,72,1306, + 8,72,1,72,1,72,1,72,1,72,1,72,1,72,1,72,1,72,1,72,1,72,1,72,1,72, + 1,72,1,72,1,72,1,72,1,72,1,72,1,72,1,72,5,72,1328,8,72,10,72,12, + 72,1331,9,72,1,72,1,72,1,72,3,72,1336,8,72,3,72,1338,8,72,1,73,1, + 73,1,73,1,73,1,73,1,74,1,74,1,75,1,75,1,76,1,76,1,76,1,76,1,76,1, + 76,1,76,1,76,3,76,1357,8,76,1,77,1,77,1,77,1,77,5,77,1363,8,77,10, + 77,12,77,1366,9,77,3,77,1368,8,77,1,77,1,77,1,78,1,78,1,78,1,78, + 1,79,1,79,1,79,1,79,5,79,1380,8,79,10,79,12,79,1383,9,79,3,79,1385, + 8,79,1,79,1,79,1,80,1,80,1,81,1,81,1,81,0,0,82,0,2,4,6,8,10,12,14, + 16,18,20,22,24,26,28,30,32,34,36,38,40,42,44,46,48,50,52,54,56,58, + 60,62,64,66,68,70,72,74,76,78,80,82,84,86,88,90,92,94,96,98,100, + 102,104,106,108,110,112,114,116,118,120,122,124,126,128,130,132, + 134,136,138,140,142,144,146,148,150,152,154,156,158,160,162,0,9, + 2,0,15,15,33,33,1,0,11,12,1,0,101,105,3,0,1,1,96,100,102,103,3,0, + 1,1,96,97,102,103,2,0,98,100,102,103,1,0,121,128,1,0,108,111,9,0, + 1,1,4,8,10,33,40,40,45,45,74,74,94,95,106,106,149,149,1508,0,176, + 1,0,0,0,2,178,1,0,0,0,4,188,1,0,0,0,6,192,1,0,0,0,8,217,1,0,0,0, + 10,229,1,0,0,0,12,231,1,0,0,0,14,238,1,0,0,0,16,249,1,0,0,0,18,251, + 1,0,0,0,20,264,1,0,0,0,22,296,1,0,0,0,24,326,1,0,0,0,26,328,1,0, + 0,0,28,332,1,0,0,0,30,350,1,0,0,0,32,352,1,0,0,0,34,365,1,0,0,0, + 36,367,1,0,0,0,38,380,1,0,0,0,40,401,1,0,0,0,42,451,1,0,0,0,44,454, + 1,0,0,0,46,479,1,0,0,0,48,516,1,0,0,0,50,527,1,0,0,0,52,532,1,0, + 0,0,54,560,1,0,0,0,56,562,1,0,0,0,58,572,1,0,0,0,60,584,1,0,0,0, + 62,631,1,0,0,0,64,697,1,0,0,0,66,699,1,0,0,0,68,704,1,0,0,0,70,733, + 1,0,0,0,72,755,1,0,0,0,74,768,1,0,0,0,76,770,1,0,0,0,78,782,1,0, + 0,0,80,795,1,0,0,0,82,798,1,0,0,0,84,818,1,0,0,0,86,820,1,0,0,0, + 88,828,1,0,0,0,90,916,1,0,0,0,92,918,1,0,0,0,94,929,1,0,0,0,96,931, + 1,0,0,0,98,936,1,0,0,0,100,938,1,0,0,0,102,960,1,0,0,0,104,962,1, + 0,0,0,106,971,1,0,0,0,108,996,1,0,0,0,110,1027,1,0,0,0,112,1029, + 1,0,0,0,114,1037,1,0,0,0,116,1062,1,0,0,0,118,1064,1,0,0,0,120,1076, + 1,0,0,0,122,1083,1,0,0,0,124,1097,1,0,0,0,126,1107,1,0,0,0,128,1123, + 1,0,0,0,130,1161,1,0,0,0,132,1163,1,0,0,0,134,1166,1,0,0,0,136,1168, + 1,0,0,0,138,1170,1,0,0,0,140,1278,1,0,0,0,142,1280,1,0,0,0,144,1337, + 1,0,0,0,146,1339,1,0,0,0,148,1344,1,0,0,0,150,1346,1,0,0,0,152,1356, + 1,0,0,0,154,1358,1,0,0,0,156,1371,1,0,0,0,158,1375,1,0,0,0,160,1388, + 1,0,0,0,162,1390,1,0,0,0,164,165,3,6,3,0,165,166,5,0,0,1,166,177, + 1,0,0,0,167,168,3,20,10,0,168,169,5,0,0,1,169,177,1,0,0,0,170,171, + 3,52,26,0,171,172,5,0,0,1,172,177,1,0,0,0,173,174,3,2,1,0,174,175, + 5,0,0,1,175,177,1,0,0,0,176,164,1,0,0,0,176,167,1,0,0,0,176,170, + 1,0,0,0,176,173,1,0,0,0,177,1,1,0,0,0,178,179,5,40,0,0,179,183,5, + 137,0,0,180,182,3,8,4,0,181,180,1,0,0,0,182,185,1,0,0,0,183,181, + 1,0,0,0,183,184,1,0,0,0,184,186,1,0,0,0,185,183,1,0,0,0,186,187, + 5,138,0,0,187,3,1,0,0,0,188,189,5,41,0,0,189,190,3,162,81,0,190, + 191,5,134,0,0,191,5,1,0,0,0,192,193,5,9,0,0,193,194,3,160,80,0,194, + 195,5,84,0,0,195,196,3,162,81,0,196,197,5,77,0,0,197,198,3,162,81, + 0,198,199,5,76,0,0,199,200,3,162,81,0,200,204,5,137,0,0,201,203, + 3,8,4,0,202,201,1,0,0,0,203,206,1,0,0,0,204,202,1,0,0,0,204,205, + 1,0,0,0,205,207,1,0,0,0,206,204,1,0,0,0,207,208,5,138,0,0,208,7, + 1,0,0,0,209,218,3,4,2,0,210,218,3,18,9,0,211,218,3,10,5,0,212,218, + 3,96,48,0,213,218,3,108,54,0,214,218,3,142,71,0,215,218,3,58,29, + 0,216,218,3,32,16,0,217,209,1,0,0,0,217,210,1,0,0,0,217,211,1,0, + 0,0,217,212,1,0,0,0,217,213,1,0,0,0,217,214,1,0,0,0,217,215,1,0, + 0,0,217,216,1,0,0,0,218,9,1,0,0,0,219,220,5,41,0,0,220,221,5,44, + 0,0,221,222,3,160,80,0,222,223,5,134,0,0,223,230,1,0,0,0,224,225, + 5,41,0,0,225,226,5,46,0,0,226,227,3,160,80,0,227,228,5,134,0,0,228, + 230,1,0,0,0,229,219,1,0,0,0,229,224,1,0,0,0,230,11,1,0,0,0,231,232, + 5,42,0,0,232,233,5,43,0,0,233,234,3,160,80,0,234,235,5,84,0,0,235, + 236,3,162,81,0,236,237,5,134,0,0,237,13,1,0,0,0,238,239,5,42,0,0, + 239,240,5,44,0,0,240,241,3,160,80,0,241,242,5,77,0,0,242,243,3,162, + 81,0,243,244,5,134,0,0,244,15,1,0,0,0,245,250,3,10,5,0,246,250,3, + 12,6,0,247,250,3,14,7,0,248,250,3,32,16,0,249,245,1,0,0,0,249,246, + 1,0,0,0,249,247,1,0,0,0,249,248,1,0,0,0,250,17,1,0,0,0,251,252,5, + 43,0,0,252,253,3,160,80,0,253,254,5,84,0,0,254,257,3,162,81,0,255, + 256,5,85,0,0,256,258,3,162,81,0,257,255,1,0,0,0,257,258,1,0,0,0, + 258,259,1,0,0,0,259,260,5,134,0,0,260,19,1,0,0,0,261,263,3,16,8, + 0,262,261,1,0,0,0,263,266,1,0,0,0,264,262,1,0,0,0,264,265,1,0,0, + 0,265,267,1,0,0,0,266,264,1,0,0,0,267,268,5,44,0,0,268,270,3,160, + 80,0,269,271,3,22,11,0,270,269,1,0,0,0,270,271,1,0,0,0,271,272,1, + 0,0,0,272,273,5,84,0,0,273,274,3,162,81,0,274,275,5,77,0,0,275,285, + 3,162,81,0,276,277,5,89,0,0,277,282,3,26,13,0,278,279,5,135,0,0, + 279,281,3,26,13,0,280,278,1,0,0,0,281,284,1,0,0,0,282,280,1,0,0, + 0,282,283,1,0,0,0,283,286,1,0,0,0,284,282,1,0,0,0,285,276,1,0,0, + 0,285,286,1,0,0,0,286,287,1,0,0,0,287,291,5,137,0,0,288,290,3,34, + 17,0,289,288,1,0,0,0,290,293,1,0,0,0,291,289,1,0,0,0,291,292,1,0, + 0,0,292,294,1,0,0,0,293,291,1,0,0,0,294,295,5,138,0,0,295,21,1,0, + 0,0,296,297,5,143,0,0,297,302,3,24,12,0,298,299,5,135,0,0,299,301, + 3,24,12,0,300,298,1,0,0,0,301,304,1,0,0,0,302,300,1,0,0,0,302,303, + 1,0,0,0,303,305,1,0,0,0,304,302,1,0,0,0,305,306,5,144,0,0,306,23, + 1,0,0,0,307,308,5,47,0,0,308,311,3,160,80,0,309,310,5,133,0,0,310, + 312,5,37,0,0,311,309,1,0,0,0,311,312,1,0,0,0,312,327,1,0,0,0,313, + 314,5,36,0,0,314,324,3,160,80,0,315,316,5,38,0,0,316,321,3,26,13, + 0,317,318,5,145,0,0,318,320,3,26,13,0,319,317,1,0,0,0,320,323,1, + 0,0,0,321,319,1,0,0,0,321,322,1,0,0,0,322,325,1,0,0,0,323,321,1, + 0,0,0,324,315,1,0,0,0,324,325,1,0,0,0,325,327,1,0,0,0,326,307,1, + 0,0,0,326,313,1,0,0,0,327,25,1,0,0,0,328,330,3,160,80,0,329,331, + 3,28,14,0,330,329,1,0,0,0,330,331,1,0,0,0,331,27,1,0,0,0,332,333, + 5,143,0,0,333,338,3,30,15,0,334,335,5,135,0,0,335,337,3,30,15,0, + 336,334,1,0,0,0,337,340,1,0,0,0,338,336,1,0,0,0,338,339,1,0,0,0, + 339,341,1,0,0,0,340,338,1,0,0,0,341,342,5,144,0,0,342,29,1,0,0,0, + 343,344,5,43,0,0,344,351,3,160,80,0,345,346,5,44,0,0,346,351,3,26, + 13,0,347,348,5,36,0,0,348,351,3,160,80,0,349,351,3,144,72,0,350, + 343,1,0,0,0,350,345,1,0,0,0,350,347,1,0,0,0,350,349,1,0,0,0,351, + 31,1,0,0,0,352,353,5,35,0,0,353,355,3,160,80,0,354,356,3,22,11,0, + 355,354,1,0,0,0,355,356,1,0,0,0,356,357,1,0,0,0,357,358,5,146,0, + 0,358,359,3,144,72,0,359,360,5,134,0,0,360,33,1,0,0,0,361,366,3, + 40,20,0,362,366,3,44,22,0,363,366,3,38,19,0,364,366,3,36,18,0,365, + 361,1,0,0,0,365,362,1,0,0,0,365,363,1,0,0,0,365,364,1,0,0,0,366, + 35,1,0,0,0,367,368,5,2,0,0,368,369,3,160,80,0,369,370,5,84,0,0,370, + 371,3,162,81,0,371,372,5,3,0,0,372,375,3,162,81,0,373,374,5,5,0, + 0,374,376,3,50,25,0,375,373,1,0,0,0,375,376,1,0,0,0,376,377,1,0, + 0,0,377,378,5,134,0,0,378,37,1,0,0,0,379,381,5,57,0,0,380,379,1, + 0,0,0,380,381,1,0,0,0,381,382,1,0,0,0,382,383,5,49,0,0,383,384,3, + 160,80,0,384,385,5,84,0,0,385,386,3,162,81,0,386,387,5,133,0,0,387, + 388,3,144,72,0,388,389,5,132,0,0,389,390,3,144,72,0,390,391,5,137, + 0,0,391,392,5,101,0,0,392,393,5,84,0,0,393,395,3,162,81,0,394,396, + 3,74,37,0,395,394,1,0,0,0,395,396,1,0,0,0,396,397,1,0,0,0,397,398, + 5,134,0,0,398,399,5,138,0,0,399,39,1,0,0,0,400,402,3,46,23,0,401, + 400,1,0,0,0,401,402,1,0,0,0,402,403,1,0,0,0,403,404,5,47,0,0,404, + 405,3,160,80,0,405,406,5,84,0,0,406,407,3,162,81,0,407,408,5,133, + 0,0,408,409,3,144,72,0,409,413,5,137,0,0,410,412,3,42,21,0,411,410, + 1,0,0,0,412,415,1,0,0,0,413,411,1,0,0,0,413,414,1,0,0,0,414,416, + 1,0,0,0,415,413,1,0,0,0,416,417,5,138,0,0,417,41,1,0,0,0,418,419, + 5,91,0,0,419,420,5,84,0,0,420,422,3,162,81,0,421,423,3,74,37,0,422, + 421,1,0,0,0,422,423,1,0,0,0,423,424,1,0,0,0,424,425,5,134,0,0,425, + 452,1,0,0,0,426,427,5,92,0,0,427,428,5,84,0,0,428,430,3,162,81,0, + 429,431,3,74,37,0,430,429,1,0,0,0,430,431,1,0,0,0,431,432,1,0,0, + 0,432,433,5,134,0,0,433,452,1,0,0,0,434,435,5,1,0,0,435,436,5,84, + 0,0,436,438,3,162,81,0,437,439,3,74,37,0,438,437,1,0,0,0,438,439, + 1,0,0,0,439,440,1,0,0,0,440,441,5,134,0,0,441,452,1,0,0,0,442,443, + 5,93,0,0,443,444,5,94,0,0,444,445,5,84,0,0,445,446,3,162,81,0,446, + 447,5,95,0,0,447,448,5,84,0,0,448,449,3,162,81,0,449,450,5,134,0, + 0,450,452,1,0,0,0,451,418,1,0,0,0,451,426,1,0,0,0,451,434,1,0,0, + 0,451,442,1,0,0,0,452,43,1,0,0,0,453,455,3,46,23,0,454,453,1,0,0, + 0,454,455,1,0,0,0,455,456,1,0,0,0,456,457,5,48,0,0,457,458,3,160, + 80,0,458,459,5,84,0,0,459,460,3,162,81,0,460,461,5,133,0,0,461,462, + 3,150,75,0,462,464,3,50,25,0,463,465,5,112,0,0,464,463,1,0,0,0,464, + 465,1,0,0,0,465,468,1,0,0,0,466,467,5,82,0,0,467,469,3,162,81,0, + 468,466,1,0,0,0,468,469,1,0,0,0,469,470,1,0,0,0,470,474,5,137,0, + 0,471,473,3,48,24,0,472,471,1,0,0,0,473,476,1,0,0,0,474,472,1,0, + 0,0,474,475,1,0,0,0,475,477,1,0,0,0,476,474,1,0,0,0,477,478,5,138, + 0,0,478,45,1,0,0,0,479,481,5,32,0,0,480,482,7,0,0,0,481,480,1,0, + 0,0,481,482,1,0,0,0,482,47,1,0,0,0,483,484,5,98,0,0,484,485,5,84, + 0,0,485,487,3,162,81,0,486,488,3,74,37,0,487,486,1,0,0,0,487,488, + 1,0,0,0,488,489,1,0,0,0,489,490,5,134,0,0,490,517,1,0,0,0,491,492, + 5,99,0,0,492,493,5,84,0,0,493,495,3,162,81,0,494,496,3,74,37,0,495, + 494,1,0,0,0,495,496,1,0,0,0,496,497,1,0,0,0,497,498,5,134,0,0,498, + 517,1,0,0,0,499,500,5,100,0,0,500,501,5,84,0,0,501,503,3,162,81, + 0,502,504,3,74,37,0,503,502,1,0,0,0,503,504,1,0,0,0,504,505,1,0, + 0,0,505,506,5,134,0,0,506,517,1,0,0,0,507,508,5,93,0,0,508,509,5, + 94,0,0,509,510,5,84,0,0,510,511,3,162,81,0,511,512,5,95,0,0,512, + 513,5,84,0,0,513,514,3,162,81,0,514,515,5,134,0,0,515,517,1,0,0, + 0,516,483,1,0,0,0,516,491,1,0,0,0,516,499,1,0,0,0,516,507,1,0,0, + 0,517,49,1,0,0,0,518,519,5,43,0,0,519,528,3,160,80,0,520,521,5,44, + 0,0,521,523,3,160,80,0,522,524,3,28,14,0,523,522,1,0,0,0,523,524, + 1,0,0,0,524,528,1,0,0,0,525,526,5,36,0,0,526,528,3,160,80,0,527, + 518,1,0,0,0,527,520,1,0,0,0,527,525,1,0,0,0,528,51,1,0,0,0,529,531, + 3,16,8,0,530,529,1,0,0,0,531,534,1,0,0,0,532,530,1,0,0,0,532,533, + 1,0,0,0,533,535,1,0,0,0,534,532,1,0,0,0,535,536,5,46,0,0,536,537, + 3,160,80,0,537,538,5,84,0,0,538,539,3,162,81,0,539,540,5,77,0,0, + 540,543,3,162,81,0,541,542,5,78,0,0,542,544,5,147,0,0,543,541,1, + 0,0,0,543,544,1,0,0,0,544,545,1,0,0,0,545,549,5,137,0,0,546,548, + 3,54,27,0,547,546,1,0,0,0,548,551,1,0,0,0,549,547,1,0,0,0,549,550, + 1,0,0,0,550,552,1,0,0,0,551,549,1,0,0,0,552,553,5,138,0,0,553,53, + 1,0,0,0,554,561,3,68,34,0,555,561,3,70,35,0,556,561,3,78,39,0,557, + 561,3,60,30,0,558,561,3,62,31,0,559,561,3,56,28,0,560,554,1,0,0, + 0,560,555,1,0,0,0,560,556,1,0,0,0,560,557,1,0,0,0,560,558,1,0,0, + 0,560,559,1,0,0,0,561,55,1,0,0,0,562,563,5,2,0,0,563,564,3,160,80, + 0,564,565,5,84,0,0,565,566,3,162,81,0,566,567,5,38,0,0,567,568,3, + 26,13,0,568,569,5,136,0,0,569,570,3,160,80,0,570,571,5,134,0,0,571, + 57,1,0,0,0,572,573,5,4,0,0,573,574,3,160,80,0,574,575,5,84,0,0,575, + 576,3,162,81,0,576,577,5,6,0,0,577,578,3,26,13,0,578,579,5,65,0, + 0,579,580,3,160,80,0,580,581,5,136,0,0,581,582,3,160,80,0,582,583, + 5,134,0,0,583,59,1,0,0,0,584,586,5,22,0,0,585,587,5,40,0,0,586,585, + 1,0,0,0,586,587,1,0,0,0,587,588,1,0,0,0,588,590,3,160,80,0,589,591, + 3,22,11,0,590,589,1,0,0,0,590,591,1,0,0,0,591,592,1,0,0,0,592,593, + 5,84,0,0,593,594,3,162,81,0,594,596,5,25,0,0,595,597,5,9,0,0,596, + 595,1,0,0,0,596,597,1,0,0,0,597,598,1,0,0,0,598,599,3,26,13,0,599, + 600,5,26,0,0,600,629,3,162,81,0,601,602,5,49,0,0,602,603,3,162,81, + 0,603,607,5,137,0,0,604,606,3,64,32,0,605,604,1,0,0,0,606,609,1, + 0,0,0,607,605,1,0,0,0,607,608,1,0,0,0,608,610,1,0,0,0,609,607,1, + 0,0,0,610,611,5,138,0,0,611,630,1,0,0,0,612,613,5,40,0,0,613,616, + 3,162,81,0,614,615,5,49,0,0,615,617,3,162,81,0,616,614,1,0,0,0,616, + 617,1,0,0,0,617,627,1,0,0,0,618,622,5,137,0,0,619,621,3,64,32,0, + 620,619,1,0,0,0,621,624,1,0,0,0,622,620,1,0,0,0,622,623,1,0,0,0, + 623,625,1,0,0,0,624,622,1,0,0,0,625,628,5,138,0,0,626,628,5,134, + 0,0,627,618,1,0,0,0,627,626,1,0,0,0,628,630,1,0,0,0,629,601,1,0, + 0,0,629,612,1,0,0,0,630,61,1,0,0,0,631,632,5,22,0,0,632,633,3,160, + 80,0,633,634,5,84,0,0,634,635,3,162,81,0,635,636,5,24,0,0,636,637, + 3,160,80,0,637,638,3,28,14,0,638,639,5,134,0,0,639,63,1,0,0,0,640, + 641,5,16,0,0,641,698,5,134,0,0,642,643,5,17,0,0,643,644,5,18,0,0, + 644,645,3,160,80,0,645,646,5,134,0,0,646,698,1,0,0,0,647,648,5,27, + 0,0,648,649,3,162,81,0,649,650,5,134,0,0,650,698,1,0,0,0,651,652, + 5,27,0,0,652,653,3,160,80,0,653,654,5,136,0,0,654,664,3,160,80,0, + 655,656,5,64,0,0,656,660,5,137,0,0,657,659,3,66,33,0,658,657,1,0, + 0,0,659,662,1,0,0,0,660,658,1,0,0,0,660,661,1,0,0,0,661,663,1,0, + 0,0,662,660,1,0,0,0,663,665,5,138,0,0,664,655,1,0,0,0,664,665,1, + 0,0,0,665,666,1,0,0,0,666,667,5,134,0,0,667,698,1,0,0,0,668,670, + 5,28,0,0,669,671,5,36,0,0,670,669,1,0,0,0,670,671,1,0,0,0,671,672, + 1,0,0,0,672,673,3,160,80,0,673,674,5,55,0,0,674,675,3,26,13,0,675, + 676,5,134,0,0,676,698,1,0,0,0,677,678,5,29,0,0,678,679,3,160,80, + 0,679,680,5,147,0,0,680,681,5,134,0,0,681,698,1,0,0,0,682,683,5, + 30,0,0,683,684,3,26,13,0,684,685,5,136,0,0,685,686,3,160,80,0,686, + 687,3,160,80,0,687,688,3,162,81,0,688,689,5,134,0,0,689,698,1,0, + 0,0,690,691,5,93,0,0,691,698,5,134,0,0,692,693,5,31,0,0,693,694, + 5,147,0,0,694,695,3,162,81,0,695,696,5,134,0,0,696,698,1,0,0,0,697, + 640,1,0,0,0,697,642,1,0,0,0,697,647,1,0,0,0,697,651,1,0,0,0,697, + 668,1,0,0,0,697,677,1,0,0,0,697,682,1,0,0,0,697,690,1,0,0,0,697, + 692,1,0,0,0,698,65,1,0,0,0,699,700,3,160,80,0,700,701,5,58,0,0,701, + 702,3,160,80,0,702,703,5,134,0,0,703,67,1,0,0,0,704,705,5,49,0,0, + 705,707,3,160,80,0,706,708,3,22,11,0,707,706,1,0,0,0,707,708,1,0, + 0,0,708,709,1,0,0,0,709,710,5,84,0,0,710,711,3,162,81,0,711,712, + 5,133,0,0,712,713,3,144,72,0,713,714,5,132,0,0,714,715,3,144,72, + 0,715,716,5,86,0,0,716,718,3,82,41,0,717,719,3,74,37,0,718,717,1, + 0,0,0,718,719,1,0,0,0,719,721,1,0,0,0,720,722,3,80,40,0,721,720, + 1,0,0,0,721,722,1,0,0,0,722,723,1,0,0,0,723,724,5,88,0,0,724,726, + 3,84,42,0,725,727,3,88,44,0,726,725,1,0,0,0,726,727,1,0,0,0,727, + 729,1,0,0,0,728,730,3,72,36,0,729,728,1,0,0,0,729,730,1,0,0,0,730, + 731,1,0,0,0,731,732,5,134,0,0,732,69,1,0,0,0,733,734,5,50,0,0,734, + 736,3,160,80,0,735,737,3,22,11,0,736,735,1,0,0,0,736,737,1,0,0,0, + 737,738,1,0,0,0,738,739,5,84,0,0,739,740,3,162,81,0,740,741,5,133, + 0,0,741,742,3,144,72,0,742,743,5,132,0,0,743,745,3,144,72,0,744, + 746,3,74,37,0,745,744,1,0,0,0,745,746,1,0,0,0,746,748,1,0,0,0,747, + 749,3,88,44,0,748,747,1,0,0,0,748,749,1,0,0,0,749,751,1,0,0,0,750, + 752,3,72,36,0,751,750,1,0,0,0,751,752,1,0,0,0,752,753,1,0,0,0,753, + 754,5,134,0,0,754,71,1,0,0,0,755,756,5,66,0,0,756,757,5,65,0,0,757, + 758,3,160,80,0,758,73,1,0,0,0,759,760,5,10,0,0,760,769,5,13,0,0, + 761,762,5,10,0,0,762,763,7,1,0,0,763,764,5,14,0,0,764,765,5,139, + 0,0,765,766,3,86,43,0,766,767,5,140,0,0,767,769,1,0,0,0,768,759, + 1,0,0,0,768,761,1,0,0,0,769,75,1,0,0,0,770,771,5,65,0,0,771,772, + 5,139,0,0,772,777,3,126,63,0,773,774,5,135,0,0,774,776,3,126,63, + 0,775,773,1,0,0,0,776,779,1,0,0,0,777,775,1,0,0,0,777,778,1,0,0, + 0,778,780,1,0,0,0,779,777,1,0,0,0,780,781,5,140,0,0,781,77,1,0,0, + 0,782,783,5,51,0,0,783,784,3,160,80,0,784,785,5,84,0,0,785,786,3, + 162,81,0,786,787,5,52,0,0,787,788,3,160,80,0,788,789,5,133,0,0,789, + 791,3,144,72,0,790,792,3,88,44,0,791,790,1,0,0,0,791,792,1,0,0,0, + 792,793,1,0,0,0,793,794,5,134,0,0,794,79,1,0,0,0,795,796,5,87,0, + 0,796,797,3,144,72,0,797,81,1,0,0,0,798,799,7,2,0,0,799,83,1,0,0, + 0,800,819,5,90,0,0,801,802,5,43,0,0,802,819,3,160,80,0,803,804,5, + 36,0,0,804,819,3,160,80,0,805,806,5,45,0,0,806,815,5,139,0,0,807, + 812,3,26,13,0,808,809,5,135,0,0,809,811,3,26,13,0,810,808,1,0,0, + 0,811,814,1,0,0,0,812,810,1,0,0,0,812,813,1,0,0,0,813,816,1,0,0, + 0,814,812,1,0,0,0,815,807,1,0,0,0,815,816,1,0,0,0,816,817,1,0,0, + 0,817,819,5,140,0,0,818,800,1,0,0,0,818,801,1,0,0,0,818,803,1,0, + 0,0,818,805,1,0,0,0,819,85,1,0,0,0,820,825,3,160,80,0,821,822,5, + 135,0,0,822,824,3,160,80,0,823,821,1,0,0,0,824,827,1,0,0,0,825,823, + 1,0,0,0,825,826,1,0,0,0,826,87,1,0,0,0,827,825,1,0,0,0,828,829,5, + 89,0,0,829,833,5,137,0,0,830,832,3,90,45,0,831,830,1,0,0,0,832,835, + 1,0,0,0,833,831,1,0,0,0,833,834,1,0,0,0,834,836,1,0,0,0,835,833, + 1,0,0,0,836,837,5,138,0,0,837,89,1,0,0,0,838,839,5,23,0,0,839,840, + 3,160,80,0,840,841,5,84,0,0,841,842,3,162,81,0,842,843,5,139,0,0, + 843,844,3,86,43,0,844,845,5,140,0,0,845,846,5,134,0,0,846,917,1, + 0,0,0,847,848,5,61,0,0,848,849,3,160,80,0,849,850,5,84,0,0,850,851, + 3,162,81,0,851,852,5,133,0,0,852,853,3,144,72,0,853,854,3,92,46, + 0,854,855,5,134,0,0,855,917,1,0,0,0,856,857,5,62,0,0,857,858,3,160, + 80,0,858,859,5,84,0,0,859,860,3,162,81,0,860,861,5,133,0,0,861,862, + 3,150,75,0,862,863,3,50,25,0,863,864,3,92,46,0,864,865,5,134,0,0, + 865,917,1,0,0,0,866,867,5,44,0,0,867,868,3,160,80,0,868,869,5,84, + 0,0,869,870,3,162,81,0,870,871,5,133,0,0,871,873,3,160,80,0,872, + 874,3,28,14,0,873,872,1,0,0,0,873,874,1,0,0,0,874,876,1,0,0,0,875, + 877,3,76,38,0,876,875,1,0,0,0,876,877,1,0,0,0,877,880,1,0,0,0,878, + 879,5,18,0,0,879,881,5,53,0,0,880,878,1,0,0,0,880,881,1,0,0,0,881, + 882,1,0,0,0,882,883,5,134,0,0,883,917,1,0,0,0,884,885,5,7,0,0,885, + 886,3,160,80,0,886,887,5,84,0,0,887,888,3,162,81,0,888,889,5,133, + 0,0,889,890,3,160,80,0,890,891,5,53,0,0,891,892,3,144,72,0,892,893, + 5,134,0,0,893,917,1,0,0,0,894,895,5,51,0,0,895,896,3,160,80,0,896, + 897,5,84,0,0,897,898,3,162,81,0,898,899,5,133,0,0,899,902,3,160, + 80,0,900,901,5,53,0,0,901,903,3,144,72,0,902,900,1,0,0,0,902,903, + 1,0,0,0,903,904,1,0,0,0,904,905,5,134,0,0,905,917,1,0,0,0,906,907, + 5,22,0,0,907,908,3,160,80,0,908,909,5,84,0,0,909,910,3,162,81,0, + 910,911,5,133,0,0,911,912,3,160,80,0,912,913,5,136,0,0,913,914,3, + 160,80,0,914,915,5,134,0,0,915,917,1,0,0,0,916,838,1,0,0,0,916,847, + 1,0,0,0,916,856,1,0,0,0,916,866,1,0,0,0,916,884,1,0,0,0,916,894, + 1,0,0,0,916,906,1,0,0,0,917,91,1,0,0,0,918,919,5,139,0,0,919,924, + 3,94,47,0,920,921,5,135,0,0,921,923,3,94,47,0,922,920,1,0,0,0,923, + 926,1,0,0,0,924,922,1,0,0,0,924,925,1,0,0,0,925,927,1,0,0,0,926, + 924,1,0,0,0,927,928,5,140,0,0,928,93,1,0,0,0,929,930,7,3,0,0,930, + 95,1,0,0,0,931,932,5,60,0,0,932,933,3,98,49,0,933,97,1,0,0,0,934, + 937,3,100,50,0,935,937,3,104,52,0,936,934,1,0,0,0,936,935,1,0,0, + 0,937,99,1,0,0,0,938,939,5,61,0,0,939,940,3,160,80,0,940,941,5,84, + 0,0,941,942,3,162,81,0,942,943,5,71,0,0,943,944,3,160,80,0,944,945, + 5,133,0,0,945,946,3,144,72,0,946,947,5,72,0,0,947,950,3,102,51,0, + 948,949,5,73,0,0,949,951,3,152,76,0,950,948,1,0,0,0,950,951,1,0, + 0,0,951,952,1,0,0,0,952,953,5,134,0,0,953,101,1,0,0,0,954,961,5, + 106,0,0,955,956,5,107,0,0,956,957,5,141,0,0,957,958,3,144,72,0,958, + 959,5,142,0,0,959,961,1,0,0,0,960,954,1,0,0,0,960,955,1,0,0,0,961, + 103,1,0,0,0,962,963,5,62,0,0,963,964,3,160,80,0,964,965,5,84,0,0, + 965,966,3,162,81,0,966,967,5,137,0,0,967,968,3,106,53,0,968,969, + 3,106,53,0,969,970,5,138,0,0,970,105,1,0,0,0,971,972,3,50,25,0,972, + 973,5,63,0,0,973,974,3,160,80,0,974,975,5,84,0,0,975,976,3,162,81, + 0,976,978,3,150,75,0,977,979,5,112,0,0,978,977,1,0,0,0,978,979,1, + 0,0,0,979,982,1,0,0,0,980,981,5,79,0,0,981,983,3,162,81,0,982,980, + 1,0,0,0,982,983,1,0,0,0,983,985,1,0,0,0,984,986,5,81,0,0,985,984, + 1,0,0,0,985,986,1,0,0,0,986,989,1,0,0,0,987,988,5,82,0,0,988,990, + 3,162,81,0,989,987,1,0,0,0,989,990,1,0,0,0,990,992,1,0,0,0,991,993, + 5,83,0,0,992,991,1,0,0,0,992,993,1,0,0,0,993,994,1,0,0,0,994,995, + 5,134,0,0,995,107,1,0,0,0,996,997,5,54,0,0,997,998,3,160,80,0,998, + 999,5,55,0,0,999,1001,3,160,80,0,1000,1002,3,28,14,0,1001,1000,1, + 0,0,0,1001,1002,1,0,0,0,1002,1005,1,0,0,0,1003,1004,5,84,0,0,1004, + 1006,3,162,81,0,1005,1003,1,0,0,0,1005,1006,1,0,0,0,1006,1009,1, + 0,0,0,1007,1008,5,78,0,0,1008,1010,5,147,0,0,1009,1007,1,0,0,0,1009, + 1010,1,0,0,0,1010,1011,1,0,0,0,1011,1015,5,137,0,0,1012,1014,3,110, + 55,0,1013,1012,1,0,0,0,1014,1017,1,0,0,0,1015,1013,1,0,0,0,1015, + 1016,1,0,0,0,1016,1018,1,0,0,0,1017,1015,1,0,0,0,1018,1019,5,138, + 0,0,1019,109,1,0,0,0,1020,1021,5,59,0,0,1021,1028,3,98,49,0,1022, + 1028,3,124,62,0,1023,1028,3,120,60,0,1024,1028,3,114,57,0,1025,1028, + 3,122,61,0,1026,1028,3,112,56,0,1027,1020,1,0,0,0,1027,1022,1,0, + 0,0,1027,1023,1,0,0,0,1027,1024,1,0,0,0,1027,1025,1,0,0,0,1027,1026, + 1,0,0,0,1028,111,1,0,0,0,1029,1030,5,56,0,0,1030,1031,3,160,80,0, + 1031,1032,5,58,0,0,1032,1033,3,160,80,0,1033,1034,5,136,0,0,1034, + 1035,3,160,80,0,1035,1036,5,134,0,0,1036,113,1,0,0,0,1037,1038,5, + 8,0,0,1038,1042,5,137,0,0,1039,1041,3,116,58,0,1040,1039,1,0,0,0, + 1041,1044,1,0,0,0,1042,1040,1,0,0,0,1042,1043,1,0,0,0,1043,1045, + 1,0,0,0,1044,1042,1,0,0,0,1045,1046,5,138,0,0,1046,1047,5,134,0, + 0,1047,115,1,0,0,0,1048,1049,3,160,80,0,1049,1050,5,58,0,0,1050, + 1051,5,61,0,0,1051,1052,3,160,80,0,1052,1053,5,134,0,0,1053,1063, + 1,0,0,0,1054,1055,3,160,80,0,1055,1056,5,58,0,0,1056,1057,5,62,0, + 0,1057,1058,3,160,80,0,1058,1059,5,136,0,0,1059,1060,3,160,80,0, + 1060,1061,5,134,0,0,1061,1063,1,0,0,0,1062,1048,1,0,0,0,1062,1054, + 1,0,0,0,1063,117,1,0,0,0,1064,1065,3,26,13,0,1065,1066,5,18,0,0, + 1066,1071,5,53,0,0,1067,1068,5,136,0,0,1068,1070,3,160,80,0,1069, + 1067,1,0,0,0,1070,1073,1,0,0,0,1071,1069,1,0,0,0,1071,1072,1,0,0, + 0,1072,1074,1,0,0,0,1073,1071,1,0,0,0,1074,1075,5,134,0,0,1075,119, + 1,0,0,0,1076,1077,5,56,0,0,1077,1078,3,160,80,0,1078,1079,5,58,0, + 0,1079,1080,5,61,0,0,1080,1081,3,160,80,0,1081,1082,5,134,0,0,1082, + 121,1,0,0,0,1083,1084,5,68,0,0,1084,1085,3,160,80,0,1085,1086,5, + 69,0,0,1086,1087,5,70,0,0,1087,1088,5,65,0,0,1088,1089,5,51,0,0, + 1089,1090,3,160,80,0,1090,1091,5,67,0,0,1091,1092,5,62,0,0,1092, + 1093,3,160,80,0,1093,1094,5,136,0,0,1094,1095,3,160,80,0,1095,1096, + 5,134,0,0,1096,123,1,0,0,0,1097,1098,5,56,0,0,1098,1099,3,126,63, + 0,1099,1100,5,58,0,0,1100,1103,3,130,65,0,1101,1102,5,34,0,0,1102, + 1104,3,162,81,0,1103,1101,1,0,0,0,1103,1104,1,0,0,0,1104,1105,1, + 0,0,0,1105,1106,5,134,0,0,1106,125,1,0,0,0,1107,1108,3,160,80,0, + 1108,1109,5,136,0,0,1109,1110,3,128,64,0,1110,127,1,0,0,0,1111,1124, + 3,160,80,0,1112,1124,5,101,0,0,1113,1124,5,91,0,0,1114,1124,5,92, + 0,0,1115,1124,5,1,0,0,1116,1124,5,98,0,0,1117,1124,5,99,0,0,1118, + 1124,5,100,0,0,1119,1124,5,102,0,0,1120,1124,5,103,0,0,1121,1124, + 5,104,0,0,1122,1124,5,105,0,0,1123,1111,1,0,0,0,1123,1112,1,0,0, + 0,1123,1113,1,0,0,0,1123,1114,1,0,0,0,1123,1115,1,0,0,0,1123,1116, + 1,0,0,0,1123,1117,1,0,0,0,1123,1118,1,0,0,0,1123,1119,1,0,0,0,1123, + 1120,1,0,0,0,1123,1121,1,0,0,0,1123,1122,1,0,0,0,1124,129,1,0,0, + 0,1125,1126,5,80,0,0,1126,1127,5,136,0,0,1127,1162,3,160,80,0,1128, + 1129,5,61,0,0,1129,1130,3,160,80,0,1130,1131,5,136,0,0,1131,1132, + 3,134,67,0,1132,1162,1,0,0,0,1133,1134,5,62,0,0,1134,1135,3,160, + 80,0,1135,1136,5,136,0,0,1136,1137,3,160,80,0,1137,1138,5,136,0, + 0,1138,1139,3,136,68,0,1139,1162,1,0,0,0,1140,1141,5,44,0,0,1141, + 1143,3,160,80,0,1142,1144,3,28,14,0,1143,1142,1,0,0,0,1143,1144, + 1,0,0,0,1144,1145,1,0,0,0,1145,1146,5,136,0,0,1146,1147,3,126,63, + 0,1147,1162,1,0,0,0,1148,1149,5,46,0,0,1149,1150,3,160,80,0,1150, + 1151,5,136,0,0,1151,1153,3,160,80,0,1152,1154,3,28,14,0,1153,1152, + 1,0,0,0,1153,1154,1,0,0,0,1154,1156,1,0,0,0,1155,1157,3,138,69,0, + 1156,1155,1,0,0,0,1156,1157,1,0,0,0,1157,1159,1,0,0,0,1158,1160, + 3,132,66,0,1159,1158,1,0,0,0,1159,1160,1,0,0,0,1160,1162,1,0,0,0, + 1161,1125,1,0,0,0,1161,1128,1,0,0,0,1161,1133,1,0,0,0,1161,1140, + 1,0,0,0,1161,1148,1,0,0,0,1162,131,1,0,0,0,1163,1164,5,66,0,0,1164, + 1165,3,138,69,0,1165,133,1,0,0,0,1166,1167,7,4,0,0,1167,135,1,0, + 0,0,1168,1169,7,5,0,0,1169,137,1,0,0,0,1170,1171,5,64,0,0,1171,1175, + 5,137,0,0,1172,1174,3,140,70,0,1173,1172,1,0,0,0,1174,1177,1,0,0, + 0,1175,1173,1,0,0,0,1175,1176,1,0,0,0,1176,1178,1,0,0,0,1177,1175, + 1,0,0,0,1178,1179,5,138,0,0,1179,139,1,0,0,0,1180,1181,3,160,80, + 0,1181,1182,5,58,0,0,1182,1183,5,9,0,0,1183,1184,5,23,0,0,1184,1185, + 5,139,0,0,1185,1186,3,86,43,0,1186,1187,5,140,0,0,1187,1188,5,134, + 0,0,1188,1279,1,0,0,0,1189,1190,3,160,80,0,1190,1191,5,58,0,0,1191, + 1192,5,61,0,0,1192,1199,3,160,80,0,1193,1194,5,67,0,0,1194,1195, + 5,62,0,0,1195,1196,3,160,80,0,1196,1197,5,136,0,0,1197,1198,3,160, + 80,0,1198,1200,1,0,0,0,1199,1193,1,0,0,0,1199,1200,1,0,0,0,1200, + 1201,1,0,0,0,1201,1202,5,134,0,0,1202,1279,1,0,0,0,1203,1204,3,160, + 80,0,1204,1205,5,58,0,0,1205,1206,5,62,0,0,1206,1207,3,160,80,0, + 1207,1208,5,136,0,0,1208,1215,3,160,80,0,1209,1210,5,67,0,0,1210, + 1211,5,62,0,0,1211,1212,3,160,80,0,1212,1213,5,136,0,0,1213,1214, + 3,160,80,0,1214,1216,1,0,0,0,1215,1209,1,0,0,0,1215,1216,1,0,0,0, + 1216,1217,1,0,0,0,1217,1218,5,134,0,0,1218,1279,1,0,0,0,1219,1220, + 3,160,80,0,1220,1221,5,58,0,0,1221,1222,5,44,0,0,1222,1224,3,160, + 80,0,1223,1225,3,28,14,0,1224,1223,1,0,0,0,1224,1225,1,0,0,0,1225, + 1234,1,0,0,0,1226,1227,5,67,0,0,1227,1228,5,62,0,0,1228,1229,3,160, + 80,0,1229,1230,5,136,0,0,1230,1231,3,160,80,0,1231,1235,1,0,0,0, + 1232,1233,5,18,0,0,1233,1235,5,53,0,0,1234,1226,1,0,0,0,1234,1232, + 1,0,0,0,1234,1235,1,0,0,0,1235,1236,1,0,0,0,1236,1237,5,134,0,0, + 1237,1279,1,0,0,0,1238,1239,3,160,80,0,1239,1240,5,58,0,0,1240,1241, + 5,7,0,0,1241,1242,3,160,80,0,1242,1243,5,64,0,0,1243,1247,5,137, + 0,0,1244,1246,3,118,59,0,1245,1244,1,0,0,0,1246,1249,1,0,0,0,1247, + 1245,1,0,0,0,1247,1248,1,0,0,0,1248,1250,1,0,0,0,1249,1247,1,0,0, + 0,1250,1251,5,138,0,0,1251,1252,5,134,0,0,1252,1279,1,0,0,0,1253, + 1254,3,160,80,0,1254,1255,5,58,0,0,1255,1256,5,51,0,0,1256,1257, + 3,160,80,0,1257,1258,5,134,0,0,1258,1279,1,0,0,0,1259,1260,3,160, + 80,0,1260,1262,5,58,0,0,1261,1263,5,9,0,0,1262,1261,1,0,0,0,1262, + 1263,1,0,0,0,1263,1264,1,0,0,0,1264,1265,5,22,0,0,1265,1266,3,160, + 80,0,1266,1267,5,136,0,0,1267,1274,3,160,80,0,1268,1269,5,67,0,0, + 1269,1270,5,62,0,0,1270,1271,3,160,80,0,1271,1272,5,136,0,0,1272, + 1273,3,160,80,0,1273,1275,1,0,0,0,1274,1268,1,0,0,0,1274,1275,1, + 0,0,0,1275,1276,1,0,0,0,1276,1277,5,134,0,0,1277,1279,1,0,0,0,1278, + 1180,1,0,0,0,1278,1189,1,0,0,0,1278,1203,1,0,0,0,1278,1219,1,0,0, + 0,1278,1238,1,0,0,0,1278,1253,1,0,0,0,1278,1259,1,0,0,0,1279,141, + 1,0,0,0,1280,1281,5,51,0,0,1281,1282,3,160,80,0,1282,1283,5,58,0, + 0,1283,1284,3,160,80,0,1284,1285,5,136,0,0,1285,1287,3,160,80,0, + 1286,1288,3,138,69,0,1287,1286,1,0,0,0,1287,1288,1,0,0,0,1288,1289, + 1,0,0,0,1289,1290,5,134,0,0,1290,143,1,0,0,0,1291,1338,3,148,74, + 0,1292,1338,5,113,0,0,1293,1338,5,114,0,0,1294,1295,5,115,0,0,1295, + 1338,3,162,81,0,1296,1297,5,116,0,0,1297,1298,5,143,0,0,1298,1299, + 3,160,80,0,1299,1300,5,144,0,0,1300,1338,1,0,0,0,1301,1302,5,117, + 0,0,1302,1303,5,143,0,0,1303,1305,3,160,80,0,1304,1306,3,28,14,0, + 1305,1304,1,0,0,0,1305,1306,1,0,0,0,1306,1307,1,0,0,0,1307,1308, + 5,144,0,0,1308,1338,1,0,0,0,1309,1310,5,39,0,0,1310,1311,5,143,0, + 0,1311,1312,3,160,80,0,1312,1313,5,144,0,0,1313,1338,1,0,0,0,1314, + 1315,5,118,0,0,1315,1316,5,143,0,0,1316,1317,3,144,72,0,1317,1318, + 5,144,0,0,1318,1338,1,0,0,0,1319,1320,5,119,0,0,1320,1321,5,143, + 0,0,1321,1322,3,144,72,0,1322,1323,5,144,0,0,1323,1338,1,0,0,0,1324, + 1325,5,120,0,0,1325,1329,5,137,0,0,1326,1328,3,146,73,0,1327,1326, + 1,0,0,0,1328,1331,1,0,0,0,1329,1327,1,0,0,0,1329,1330,1,0,0,0,1330, + 1332,1,0,0,0,1331,1329,1,0,0,0,1332,1338,5,138,0,0,1333,1335,3,160, + 80,0,1334,1336,3,28,14,0,1335,1334,1,0,0,0,1335,1336,1,0,0,0,1336, + 1338,1,0,0,0,1337,1291,1,0,0,0,1337,1292,1,0,0,0,1337,1293,1,0,0, + 0,1337,1294,1,0,0,0,1337,1296,1,0,0,0,1337,1301,1,0,0,0,1337,1309, + 1,0,0,0,1337,1314,1,0,0,0,1337,1319,1,0,0,0,1337,1324,1,0,0,0,1337, + 1333,1,0,0,0,1338,145,1,0,0,0,1339,1340,3,160,80,0,1340,1341,5,133, + 0,0,1341,1342,3,144,72,0,1342,1343,5,134,0,0,1343,147,1,0,0,0,1344, + 1345,7,6,0,0,1345,149,1,0,0,0,1346,1347,7,7,0,0,1347,151,1,0,0,0, + 1348,1357,3,162,81,0,1349,1357,5,147,0,0,1350,1357,5,148,0,0,1351, + 1357,5,129,0,0,1352,1357,5,130,0,0,1353,1357,5,131,0,0,1354,1357, + 3,154,77,0,1355,1357,3,158,79,0,1356,1348,1,0,0,0,1356,1349,1,0, + 0,0,1356,1350,1,0,0,0,1356,1351,1,0,0,0,1356,1352,1,0,0,0,1356,1353, + 1,0,0,0,1356,1354,1,0,0,0,1356,1355,1,0,0,0,1357,153,1,0,0,0,1358, + 1367,5,137,0,0,1359,1364,3,156,78,0,1360,1361,5,135,0,0,1361,1363, + 3,156,78,0,1362,1360,1,0,0,0,1363,1366,1,0,0,0,1364,1362,1,0,0,0, + 1364,1365,1,0,0,0,1365,1368,1,0,0,0,1366,1364,1,0,0,0,1367,1359, + 1,0,0,0,1367,1368,1,0,0,0,1368,1369,1,0,0,0,1369,1370,5,138,0,0, + 1370,155,1,0,0,0,1371,1372,3,162,81,0,1372,1373,5,133,0,0,1373,1374, + 3,152,76,0,1374,157,1,0,0,0,1375,1384,5,139,0,0,1376,1381,3,152, + 76,0,1377,1378,5,135,0,0,1378,1380,3,152,76,0,1379,1377,1,0,0,0, + 1380,1383,1,0,0,0,1381,1379,1,0,0,0,1381,1382,1,0,0,0,1382,1385, + 1,0,0,0,1383,1381,1,0,0,0,1384,1376,1,0,0,0,1384,1385,1,0,0,0,1385, + 1386,1,0,0,0,1386,1387,5,140,0,0,1387,159,1,0,0,0,1388,1389,7,8, + 0,0,1389,161,1,0,0,0,1390,1391,5,150,0,0,1391,163,1,0,0,0,123,176, + 183,204,217,229,249,257,264,270,282,285,291,302,311,321,324,326, + 330,338,350,355,365,375,380,395,401,413,422,430,438,451,454,464, + 468,474,481,487,495,503,516,523,527,532,543,549,560,586,590,596, + 607,616,622,627,629,660,664,670,697,707,718,721,726,729,736,745, + 748,751,768,777,791,812,815,818,825,833,873,876,880,902,916,924, + 936,950,960,978,982,985,989,992,1001,1005,1009,1015,1027,1042,1062, + 1071,1103,1123,1143,1153,1156,1159,1161,1175,1199,1215,1224,1234, + 1247,1262,1274,1278,1287,1305,1329,1335,1337,1356,1364,1367,1381, + 1384 ]; private static __ATN: antlr.ATN; @@ -7190,14 +7357,23 @@ export class PackageQueryContext extends antlr.ParserRuleContext { public DOCUMENT(): antlr.TerminalNode { return this.getToken(QuixosCapabilityParser.DOCUMENT, 0)!; } - public OPERATION(): antlr.TerminalNode { - return this.getToken(QuixosCapabilityParser.OPERATION, 0)!; + public OPERATION(): antlr.TerminalNode | null { + return this.getToken(QuixosCapabilityParser.OPERATION, 0); } - public LBRACE(): antlr.TerminalNode { - return this.getToken(QuixosCapabilityParser.LBRACE, 0)!; + public LBRACE(): antlr.TerminalNode | null { + return this.getToken(QuixosCapabilityParser.LBRACE, 0); } - public RBRACE(): antlr.TerminalNode { - return this.getToken(QuixosCapabilityParser.RBRACE, 0)!; + public RBRACE(): antlr.TerminalNode | null { + return this.getToken(QuixosCapabilityParser.RBRACE, 0); + } + public FRAGMENT(): antlr.TerminalNode[]; + public FRAGMENT(i: number): antlr.TerminalNode | null; + public FRAGMENT(i?: number): antlr.TerminalNode | null | antlr.TerminalNode[] { + if (i === undefined) { + return this.getTokens(QuixosCapabilityParser.FRAGMENT); + } else { + return this.getToken(QuixosCapabilityParser.FRAGMENT, i); + } } public typeParameters(): TypeParametersContext | null { return this.getRuleContext(0, TypeParametersContext); @@ -7205,6 +7381,9 @@ export class PackageQueryContext extends antlr.ParserRuleContext { public WORKSPACE(): antlr.TerminalNode | null { return this.getToken(QuixosCapabilityParser.WORKSPACE, 0); } + public SEMI(): antlr.TerminalNode | null { + return this.getToken(QuixosCapabilityParser.SEMI, 0); + } public queryClause(): QueryClauseContext[]; public queryClause(i: number): QueryClauseContext | null; public queryClause(i?: number): QueryClauseContext[] | QueryClauseContext | null { @@ -7302,6 +7481,27 @@ export class QueryClauseContext extends antlr.ParserRuleContext { public stringLiteral(): StringLiteralContext | null { return this.getRuleContext(0, StringLiteralContext); } + public DOT(): antlr.TerminalNode | null { + return this.getToken(QuixosCapabilityParser.DOT, 0); + } + public WITH(): antlr.TerminalNode | null { + return this.getToken(QuixosCapabilityParser.WITH, 0); + } + public LBRACE(): antlr.TerminalNode | null { + return this.getToken(QuixosCapabilityParser.LBRACE, 0); + } + public RBRACE(): antlr.TerminalNode | null { + return this.getToken(QuixosCapabilityParser.RBRACE, 0); + } + public fragmentVariable(): FragmentVariableContext[]; + public fragmentVariable(i: number): FragmentVariableContext | null; + public fragmentVariable(i?: number): FragmentVariableContext[] | FragmentVariableContext | null { + if (i === undefined) { + return this.getRuleContexts(FragmentVariableContext); + } + + return this.getRuleContext(i, FragmentVariableContext); + } public VIEW(): antlr.TerminalNode | null { return this.getToken(QuixosCapabilityParser.VIEW, 0); } @@ -7323,9 +7523,6 @@ export class QueryClauseContext extends antlr.ParserRuleContext { public ALLOW(): antlr.TerminalNode | null { return this.getToken(QuixosCapabilityParser.ALLOW, 0); } - public DOT(): antlr.TerminalNode | null { - return this.getToken(QuixosCapabilityParser.DOT, 0); - } public WATCH(): antlr.TerminalNode | null { return this.getToken(QuixosCapabilityParser.WATCH, 0); } @@ -7345,6 +7542,38 @@ export class QueryClauseContext extends antlr.ParserRuleContext { } +export class FragmentVariableContext extends antlr.ParserRuleContext { + public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { + super(parent, invokingState); + } + public identifier(): IdentifierContext[]; + public identifier(i: number): IdentifierContext | null; + public identifier(i?: number): IdentifierContext[] | IdentifierContext | null { + if (i === undefined) { + return this.getRuleContexts(IdentifierContext); + } + + return this.getRuleContext(i, IdentifierContext); + } + public TO(): antlr.TerminalNode { + return this.getToken(QuixosCapabilityParser.TO, 0)!; + } + public SEMI(): antlr.TerminalNode { + return this.getToken(QuixosCapabilityParser.SEMI, 0)!; + } + public override get ruleIndex(): number { + return QuixosCapabilityParser.RULE_fragmentVariable; + } + public override accept(visitor: QuixosCapabilityVisitor): Result | null { + if (visitor.visitFragmentVariable) { + return visitor.visitFragmentVariable(this); + } else { + return visitor.visitChildren(this); + } + } +} + + export class PackageOperationExportContext extends antlr.ParserRuleContext { public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { super(parent, invokingState); @@ -9454,6 +9683,9 @@ export class IdentifierContext extends antlr.ParserRuleContext { public FRAGMENTS(): antlr.TerminalNode | null { return this.getToken(QuixosCapabilityParser.FRAGMENTS, 0); } + public FRAGMENT(): antlr.TerminalNode | null { + return this.getToken(QuixosCapabilityParser.FRAGMENT, 0); + } public VIEW(): antlr.TerminalNode | null { return this.getToken(QuixosCapabilityParser.VIEW, 0); } diff --git a/src/capability-language/generated/QuixosCapabilityVisitor.ts b/src/capability-language/generated/QuixosCapabilityVisitor.ts index 6b534a2..b8d49b0 100644 --- a/src/capability-language/generated/QuixosCapabilityVisitor.ts +++ b/src/capability-language/generated/QuixosCapabilityVisitor.ts @@ -35,6 +35,7 @@ import { PresentationDeclContext } from "./QuixosCapabilityParser.js"; import { PackageQueryContext } from "./QuixosCapabilityParser.js"; import { PackageQuerySpecializationContext } from "./QuixosCapabilityParser.js"; import { QueryClauseContext } from "./QuixosCapabilityParser.js"; +import { FragmentVariableContext } from "./QuixosCapabilityParser.js"; import { PackageOperationExportContext } from "./QuixosCapabilityParser.js"; import { PackageFunctionExportContext } from "./QuixosCapabilityParser.js"; import { AcceptanceClauseContext } from "./QuixosCapabilityParser.js"; @@ -291,6 +292,12 @@ export class QuixosCapabilityVisitor extends AbstractParseTreeVisitor Result; + /** + * Visit a parse tree produced by `QuixosCapabilityParser.fragmentVariable`. + * @param ctx the parse tree + * @return the visitor result + */ + visitFragmentVariable?: (ctx: FragmentVariableContext) => Result; /** * Visit a parse tree produced by `QuixosCapabilityParser.packageOperationExport`. * @param ctx the parse tree diff --git a/src/capability-language/parser.ts b/src/capability-language/parser.ts index cfaf479..8550a6d 100644 --- a/src/capability-language/parser.ts +++ b/src/capability-language/parser.ts @@ -1380,6 +1380,14 @@ const lowerPackage = ( if (exportContext.packageQuerySpecialization()) return []; const query = exportContext.packageQuery(); if (query) { + const isFragment = query.FRAGMENT().length > 0; + if (isFragment && (query.FRAGMENT().length !== 2 || query.typeParameters() || query.WORKSPACE())) + loweringIssue( + state, + query, + "invalid-query-fragment", + "Export a fragment on an exact object interface; generic fragments and workspace fragment roots are not supported", + ); const previousParameters = state.types.parameters; state.types.parameters = new Map(); try { @@ -1403,7 +1411,19 @@ const lowerPackage = ( displayName: identifier(query.identifier()), root: { kind: query.WORKSPACE() ? "workspace-interface" : "object", interface: close(query.interfaceType()) }, document: stringValue(query.stringLiteral(1)), - operation: stringValue(query.stringLiteral(2)), + operation: isFragment + ? query.stringLiteral(3) + ? stringValue(query.stringLiteral(3)) + : "QuixosFragment" + : stringValue(query.stringLiteral(2)), + ...(isFragment + ? { + fragment: { + name: stringValue(query.stringLiteral(2)), + ...(query.stringLiteral(3) ? { operation: stringValue(query.stringLiteral(3)) } : {}), + }, + } + : {}), fragments: [], views: [], allowances: [], @@ -1436,8 +1456,32 @@ const lowerPackage = ( ); if (sourceQueryId) declaration.placement = { kind: "local", sourceQueryId }; } - } else if (clause.FRAGMENTS()) declaration.fragments.push(stringValue(clause.stringLiteral()!)); - else if (clause.VIEW()) { + } else if (clause.FRAGMENTS()) { + if (clause.stringLiteral()) declaration.fragments.push(stringValue(clause.stringLiteral()!)); + else { + const imported = lowerQueryReference( + state, + identifier(clause.identifier(0)), + identifier(clause.identifier(1)), + clause, + ); + if (imported) { + const variables: Record = {}; + for (const mapping of clause.fragmentVariable()) { + const name = identifier(mapping.identifier(0)); + if (Object.hasOwn(variables, name)) + loweringIssue(state, mapping, "duplicate-fragment-variable", `Repeated fragment variable ${name}`); + variables[name] = identifier(mapping.identifier(1)); + } + (declaration.importedFragments ??= []).push({ + packageRevisionId: imported.packageRevisionId, + packageAlias: identifier(clause.identifier(0)), + fragmentId: imported.queryId, + variables, + }); + } + } + } else if (clause.VIEW()) { const name = identifier(clause.identifier(0)); if (parameters.length) { const parameter = state.types.parameters.get(name); @@ -1548,6 +1592,23 @@ const lowerPackage = ( views: templateViews, allowances: templateAllowances, }); + } else if (isFragment) { + if (declaration.placement || declaration.polling || declaration.allowances.length) + loweringIssue( + state, + query, + "invalid-query-fragment", + "Fragments are local projections with generated admission; remote allowances, polling and explicit placement are not supported", + ); + const sourceQueryId = `${declaration.id}:fragment-inputs`; + queries.push({ + ...structuredClone(declaration), + id: sourceQueryId, + displayName: `${declaration.displayName}$inputs`, + placement: { kind: "replica" }, + fragment: { ...declaration.fragment!, admission: true }, + }); + queries.push({ ...declaration, placement: { kind: "local", sourceQueryId } }); } else queries.push(declaration); return []; } finally { diff --git a/src/execution-world/client-contracts.ts b/src/execution-world/client-contracts.ts index 7f99735..3dceb32 100644 --- a/src/execution-world/client-contracts.ts +++ b/src/execution-world/client-contracts.ts @@ -124,12 +124,64 @@ export function generateInterfaceClientBindings( export function generatePackageQueryClientBindings( pkg: PackageRevision, runtimeModule = "@quixos/camino-replica-core", + packages: readonly PackageRevision[] = [pkg], ): string { - const queries = (pkg.checkedQueries ?? []).map( - (query) => - `${JSON.stringify(query.declaration.displayName)}: definePackageQuery<${tsType(query.variables)}, ${tsType(query.output)}, ${JSON.stringify(publicQueryContract(pkg, query.declaration.id).placement)}>(${JSON.stringify(publicQueryContract(pkg, query.declaration.id))})`, - ); - return `// Generated from checked package query contracts. Regenerate; do not edit.\nimport { definePackageQuery, type ManagedReference } from ${JSON.stringify(runtimeModule)};\nexport const queries = {${queries.join(",\n")}} as const;\n`; + const queries = (pkg.checkedQueries ?? []) + .filter((query) => !query.declaration.fragment) + .map( + (query) => + `${JSON.stringify(query.declaration.displayName)}: definePackageQuery<${tsType(query.variables)}, ${tsType(query.output)}, ${JSON.stringify(publicQueryContract(pkg, query.declaration.id).placement)}>(${JSON.stringify(publicQueryContract(pkg, query.declaration.id))})`, + ); + const emitFragment = (provider: PackageRevision, id: string) => { + const query = provider.checkedQueries?.find((query) => query.declaration.id === id); + if ( + !query?.declaration.fragment || + query.declaration.fragment.admission || + query.declaration.placement?.kind !== "local" || + query.output.kind !== "record" || + !query.output.fields.root + ) + throw new ExecutionPlanError("UNCHECKED_FRAGMENT", id, "Expected a checked local fragment export"); + const output = query.output.fields.root; + const descriptor = { + package: provider.revisionId, + fragment: id, + digest: query.definitionDigest, + subject: query.declaration.root.interface, + input: portableValueSchema(query.variables), + output: portableValueSchema(output), + admission: publicQueryContract(provider, query.declaration.placement.sourceQueryId), + view: publicQueryContract(provider, id), + }; + return `definePackageFragment<${tsType(query.variables)}, ${tsType(output)}, ${JSON.stringify(query.declaration.root.interface)}>(${JSON.stringify(descriptor)})`; + }; + const fragments = (pkg.checkedQueries ?? []) + .filter((query) => query.declaration.fragment && !query.declaration.fragment.admission) + .map((query) => `${JSON.stringify(query.declaration.displayName)}: ${emitFragment(pkg, query.declaration.id)}`); + const imports = new Map>(); + for (const query of pkg.queries ?? []) + for (const imported of query.importedFragments ?? []) { + if (imported.packageRevisionId === pkg.revisionId) continue; + const provider = packages.find((provider) => provider.revisionId === imported.packageRevisionId); + const name = provider?.queries?.find((query) => query.id === imported.fragmentId)?.displayName; + if (!provider || !name) + throw new ExecutionPlanError("UNCHECKED_FRAGMENT", imported.fragmentId, "Missing imported fragment provider"); + const alias = imported.packageAlias ?? provider.displayName; + if (pkg.queries?.some((query) => query.fragment && query.displayName === alias)) + throw new ExecutionPlanError( + "FRAGMENT_ALIAS_COLLISION", + alias, + "Imported fragment namespace conflicts with a local fragment export", + ); + const entries = imports.get(alias) ?? new Map(); + entries.set(name, emitFragment(provider, imported.fragmentId)); + imports.set(alias, entries); + } + for (const [alias, entries] of imports) + fragments.push( + `${JSON.stringify(alias)}: {${[...entries].map(([name, value]) => `${JSON.stringify(name)}: ${value}`).join(",")}}`, + ); + return `// Generated from checked package query contracts. Regenerate; do not edit.\nimport { definePackageQuery, definePackageFragment, type ManagedReference } from ${JSON.stringify(runtimeModule)};\nexport const queries = {${queries.join(",\n")}} as const;\nexport const fragments = {${fragments.join(",\n")}} as const;\n`; } /** Receipt-covered bindings expose the package's imports, component subjects and @@ -157,13 +209,17 @@ export function generateComponentClientBindings(plan: ExecutionPlan, packageRevi .filter((line) => !line.startsWith("import ")) .join("\n") .replace("export const interfaces =", "export const subjects ="); - const queries = generatePackageQueryClientBindings(pkg, "@quixos/camino-react") + const queries = generatePackageQueryClientBindings( + pkg, + "@quixos/camino-react", + plan.definition.workspace.packageImports, + ) .split("\n") .filter((line) => !line.startsWith("import ")) .join("\n"); return ( interfaces + - '\nimport {definePackageQuery,type ComponentType,type ComponentProps} from "@quixos/camino-react";\n' + + '\nimport {definePackageQuery,definePackageFragment,type ComponentType,type ComponentProps} from "@quixos/camino-react";\n' + subjectBindings + "\n" + queries + diff --git a/src/execution-world/queries.ts b/src/execution-world/queries.ts index c737b04..07d54f3 100644 --- a/src/execution-world/queries.ts +++ b/src/execution-world/queries.ts @@ -30,6 +30,15 @@ export function compileQueryProgram(plan: ExecutionPlan): unknown { const checked = query.checked; return { id, + ...(checked.declaration.fragment && !checked.declaration.fragment.admission + ? { + fragment: { + package: query.packageRevisionId, + id: checked.declaration.id, + digest: checked.definitionDigest, + }, + } + : {}), placement: checked.declaration.placement?.kind ?? "remote", source: checked.declaration.placement?.kind === "local" diff --git a/src/query/compile.ts b/src/query/compile.ts index e1d4be7..6ac0e6d 100644 --- a/src/query/compile.ts +++ b/src/query/compile.ts @@ -37,6 +37,7 @@ import { querySchema } from "./schema.js"; import { objectRow } from "./relational-schema.js"; import { workspaceQueryRootId } from "./root.js"; import { relationalCompiler } from "./relational-compile.js"; +import { fragmentSources, type FragmentResolver } from "./fragments.js"; import { QueryCompileError, type QueryDeclaration, @@ -67,6 +68,7 @@ export async function compileQuery( declaration: QueryDeclaration, interfaces: readonly InterfaceRevision[], read: (name: string) => Promise, + resolveFragment?: FragmentResolver, ): Promise { const paths = [declaration.document, ...declaration.fragments]; if (paths.length > 128 || new Set(paths).size !== paths.length) @@ -86,7 +88,10 @@ export async function compileQuery( const document = parse(new Source(text, path), { maxTokens: 10000 }); definitions.push(...document.definitions); } + const fragmentContracts = await fragmentSources(declaration, definitions, resolveFragment); const document: DocumentNode = { kind: "Document" as DocumentNode["kind"], definitions }; + if (definitions.length > 256 || Buffer.byteLength(print(document)) > 262144) + fail("QUERY_SOURCE_LIMIT", "Expanded fragment sources exceed the query source budget"); visit(document, { Directive(node) { if (node.name.value === "live") @@ -112,7 +117,7 @@ export async function compileQuery( if (node.name.value.startsWith("__")) fail("QUERY_UNSUPPORTED_FEATURE", "Introspection is not supported", node); }, Directive(node) { - if (!["include", "skip", "live"].includes(node.name.value)) + if (!["include", "skip"].includes(node.name.value)) fail("QUERY_UNSUPPORTED_FEATURE", `Unsupported directive ${node.name.value}`, node); }, InlineFragment(node) { @@ -400,11 +405,27 @@ export async function compileQuery( inherited: QuerySelection["conditions"] = [], ): QuerySelection[] => set.selections.flatMap((node): QuerySelection[] => { - if (node.kind === "FragmentSpread") - return selection(fragments.get(node.name.value)!.selectionSet, parent, [ - ...inherited, - ...conditions(node.directives), - ]); + if (node.kind === "FragmentSpread") { + const inheritedConditions = [...inherited, ...conditions(node.directives)]; + const contract = fragmentContracts.get(node.name.value); + if (contract && generated.byName.get(parent.name)?.revisionId !== contract.root) + fail("FRAGMENT_ROOT_MISMATCH", "Imported fragment requires its exact nominal root interface", node); + return [ + ...(contract + ? [ + { + name: "$fragment", + key: "", + selection: [], + arguments: {}, + conditions: inheritedConditions, + fragmentSpread: contract, + }, + ] + : []), + ...selection(fragments.get(node.name.value)!.selectionSet, parent, inheritedConditions), + ]; + } if (node.kind !== "Field") return []; const contract = generated.byName.get(parent.name); const member = contract?.members.find((entry) => entry.displayName === node.name.value); @@ -471,6 +492,7 @@ export async function compileQuery( .map((entry) => [entry.variable.name.value, argument(entry.defaultValue!)]), ), sourceFiles: paths, + ...(fragmentContracts.size ? { fragmentContracts: Object.fromEntries(fragmentContracts) } : {}), }; } @@ -478,10 +500,11 @@ export const compileRepositoryQuery = async ( root: string, declaration: QueryDeclaration, interfaces: readonly InterfaceRevision[], + resolveFragment?: FragmentResolver, ) => { const started = performance.now(); try { - return await compileQuery(declaration, interfaces, (name) => readRepositorySource(root, name)); + return await compileQuery(declaration, interfaces, (name) => readRepositorySource(root, name), resolveFragment); } finally { // Timing belongs in check logs, never in immutable artifact identities. console.error( diff --git a/src/query/fragments.ts b/src/query/fragments.ts new file mode 100644 index 0000000..02e76f5 --- /dev/null +++ b/src/query/fragments.ts @@ -0,0 +1,120 @@ +import { parse, print, visit, type DocumentNode, type FragmentDefinitionNode } from "graphql"; +import { QueryCompileError, type CheckedQuery, type QueryDeclaration, type QuerySelection } from "./types.js"; + +export type FragmentResolver = (packageRevisionId: string, fragmentId: string) => Promise; +/** Expand only explicitly imported exports. Each variable mapping is checked by + * GraphQL against the consuming operation, rather than silently inheriting names. */ +export async function fragmentSources( + declaration: QueryDeclaration, + definitions: DocumentNode["definitions"][number][], + resolve?: FragmentResolver, +) { + const markers = new Map>(); + for (const imported of declaration.importedFragments ?? []) { + if (!resolve) + throw new QueryCompileError( + "FRAGMENT_RESOLVER_REQUIRED", + "Resolve imported fragments through package dependencies", + ); + const checked = await resolve(imported.packageRevisionId, imported.fragmentId); + const exported = checked.declaration.fragment; + if (!exported || exported.admission) throw new QueryCompileError("NOT_EXPORTED_FRAGMENT", imported.fragmentId); + const variables = checked.variables.kind === "record" ? Object.keys(checked.variables.fields) : []; + if (JSON.stringify(Object.keys(imported.variables).sort()) !== JSON.stringify(variables.sort())) + throw new QueryCompileError( + "FRAGMENT_VARIABLE_MAPPING", + `Map every variable of ${checked.declaration.displayName} explicitly`, + ); + const source = parse(checked.document); + const sourceOperation = source.definitions.find( + (node) => node.kind === "OperationDefinition" && node.name?.value === checked.declaration.operation, + ); + const consumingOperation = definitions.find( + (node) => node.kind === "OperationDefinition" && node.name?.value === declaration.operation, + ); + for (const variable of sourceOperation?.kind === "OperationDefinition" + ? (sourceOperation.variableDefinitions ?? []) + : []) { + const name = imported.variables[variable.variable.name.value]; + const target = + consumingOperation?.kind === "OperationDefinition" + ? consumingOperation.variableDefinitions?.find((v) => v.variable.name.value === name) + : undefined; + if (!target || print(target.type) !== print(variable.type)) + throw new QueryCompileError( + "FRAGMENT_VARIABLE_TYPE", + `Mapped variable ${name} must have type ${print(variable.type)}`, + ); + } + const fragments = source.definitions.filter( + (node): node is FragmentDefinitionNode => node.kind === "FragmentDefinition", + ); + if (definitions.some((node) => "name" in node && node.name?.value === exported.name)) + throw new QueryCompileError("FRAGMENT_NAME_COLLISION", exported.name); + const privateNames = new Map( + fragments.map((node) => [ + node.name.value, + node.name.value === exported.name ? exported.name : `${exported.name}__${node.name.value}`, + ]), + ); + for (const fragment of fragments) { + definitions.push( + visit(fragment, { + FragmentDefinition(node) { + return { ...node, name: { ...node.name, value: privateNames.get(node.name.value)! } }; + }, + FragmentSpread(node) { + return { ...node, name: { ...node.name, value: privateNames.get(node.name.value) ?? node.name.value } }; + }, + Variable(node) { + return { ...node, name: { ...node.name, value: imported.variables[node.name.value] ?? node.name.value } }; + }, + }), + ); + } + markers.set(exported.name, { + package: imported.packageRevisionId, + fragment: imported.fragmentId, + digest: checked.definitionDigest, + root: checked.declaration.root.interface, + variables: imported.variables, + }); + for (const [name, contract] of Object.entries(checked.fragmentContracts ?? {})) { + markers.set(privateNames.get(name) ?? name, { + ...contract, + variables: Object.fromEntries( + Object.entries(contract.variables).map(([inner, outer]) => [inner, imported.variables[outer] ?? outer]), + ), + }); + } + } + if (declaration.fragment) { + const exported = declaration.fragment; + if (!definitions.some((node) => node.kind === "FragmentDefinition" && node.name.value === exported.name)) + throw new QueryCompileError("FRAGMENT_MISSING", exported.name); + const operations = definitions.filter((node) => node.kind === "OperationDefinition"); + if (!exported.operation) { + if (operations.length) + throw new QueryCompileError( + "FRAGMENT_OPERATION_REQUIRED", + "Name the standalone operation explicitly when a fragment document includes variables or an operation", + ); + definitions.push(...parse(`query ${declaration.operation} { root { ...${exported.name} } }`).definitions); + } else { + const operation = operations.find( + (node) => node.kind === "OperationDefinition" && node.name?.value === exported.operation, + ); + if (!operation || operation.kind !== "OperationDefinition") + throw new QueryCompileError("FRAGMENT_OPERATION_MISSING", exported.operation); + // The standalone operation specifies variables only. Its result must be the + // exact exported fragment, not additional fields or a different window. + const expected = parse(`query ${declaration.operation} { root { ...${exported.name} } }`).definitions[0]!; + if (expected.kind !== "OperationDefinition" || print(operation.selectionSet) !== print(expected.selectionSet)) + throw new QueryCompileError( + "FRAGMENT_STANDALONE_SHAPE", + "Standalone operation must select root { ...ExportedFragment }", + ); + } + } + return markers; +} diff --git a/src/query/types.ts b/src/query/types.ts index bffbe61..41279c6 100644 --- a/src/query/types.ts +++ b/src/query/types.ts @@ -35,6 +35,14 @@ export type QueryRoot = | { kind: "object"; interface: Interface } | { kind: "workspace-interface"; interface: Interface }; export interface QueryDeclaration { + /** Exported local projection; compilation also creates its direct admission. */ + fragment?: { name: string; operation?: string; admission?: boolean }; + importedFragments?: { + packageRevisionId: string; + packageAlias?: string; + fragmentId: string; + variables: Record; + }[]; placement?: { kind: "replica" } | { kind: "local"; sourceQueryId: string }; id: string; displayName: string; @@ -83,6 +91,7 @@ export class QueryCompileError extends Error { } } export interface CheckedQuery { + fragmentContracts?: Record>; declaration: QueryDeclaration; definitionDigest: string; /** Fixed, validated document: never supplied by runtime callers. */ @@ -102,6 +111,14 @@ export type QueryArgument = | { kind: "list"; values: QueryArgument[] } | { kind: "object"; fields: Record }; export interface QuerySelection { + /** A checked occurrence marker, not an output field or storage capability. */ + fragmentSpread?: { + package: string; + fragment: string; + digest: string; + root: InterfaceRevisionId; + variables: Record; + }; name: string; key: string; interfaceRevisionId?: InterfaceRevisionId; diff --git a/test/capability-assembly.test.ts b/test/capability-assembly.test.ts index 84f72b5..94dad83 100644 --- a/test/capability-assembly.test.ts +++ b/test/capability-assembly.test.ts @@ -218,3 +218,50 @@ package Runtime id "package:runtime" revision "package:runtime@1" { } /requires external interface Named \(interface:named@1\)/, ); }); + +test("resource-owned fragment imports compile through the locked package closure", async (context) => { + const directory = await mkdtemp(path.join(os.tmpdir(), "quixos-fragment-assembly-")); + context.after(() => rm(directory, { recursive: true, force: true })); + const dirs = Object.fromEntries(["item", "rows", "screen"].map((name) => [name, path.join(directory, name)])); + await Promise.all(Object.values(dirs).map((dir) => mkdir(dir))); + const dependency = (kind: string, name: string) => + `${kind} ${name} source {repository "https://example.test/${name.toLowerCase()}.git"; commit "${namedCommit}";}`; + await writeFile(path.join(dirs.item!, "quixos.lock"), lock()); + await writeFile( + path.join(dirs.item!, "interface.qx"), + `interface Item id "item" revision "item@1" {queryable value title id "title" : string {get id "title:get" execution snapshot targets [browser,server];}}`, + ); + await writeFile(path.join(dirs.rows!, "quixos.lock"), lock(dependency("interface", "Item"))); + await writeFile( + path.join(dirs.rows!, "package.qx"), + `import interface Item; package Rows id "rows" revision "rows@1" {query fragment Row id "row" root Item document "row.graphql" fragment "Row";}`, + ); + await writeFile(path.join(dirs.rows!, "row.graphql"), "fragment Row on Item {_camino {ref} title}"); + await writeFile( + path.join(dirs.screen!, "quixos.lock"), + lock(dependency("interface", "Item") + dependency("package", "Rows")), + ); + await writeFile( + path.join(dirs.screen!, "package.qx"), + `import interface Item; import package Rows; package Screen id "screen" revision "screen@1" { + query Inputs id "inputs" root Item document "screen.graphql" operation "Screen" {replica; fragments Rows.Row;} + query View id "view" root Item document "screen.graphql" operation "Screen" {local from Inputs; fragments Rows.Row;} + }`, + ); + await writeFile(path.join(dirs.screen!, "screen.graphql"), "query Screen {root {...Row}}"); + const result = await compileCapabilityResourceRepository({ + rootDirectory: dirs.screen!, + kind: "package", + source: { resolver: "git", repository: "https://example.test/screen.git", commit: packageCommit }, + resolveResource: async (source) => { + const name = new URL(source.repository).pathname.slice(1, -4); + assert.ok(dirs[name], name); + return { directory: dirs[name]! }; + }, + }); + assert.equal(result.resource.kind, "package"); + if (result.resource.kind !== "package") throw Error("expected package"); + const view = result.resource.revision.checkedQueries!.find((q) => q.declaration.id === "view")!; + assert.equal(view.selection[0]!.selection[0]!.fragmentSpread?.package, "rows@1"); + assert.equal(result.resources.length, 3); +}); diff --git a/test/query-fragments.test.ts b/test/query-fragments.test.ts new file mode 100644 index 0000000..c202af9 --- /dev/null +++ b/test/query-fragments.test.ts @@ -0,0 +1,184 @@ +import assert from "node:assert/strict"; +import test from "node:test"; +import { compileCapabilityResourceSource } from "../src/capability-language/parser.js"; +import { compileQuery } from "../src/query/compile.js"; +import type { PackageRevision } from "../src/capability-model/types.js"; +const source = { repository: "https://example.test/fragments", commit: "a".repeat(40) }; +const compiled = compileCapabilityResourceSource( + `interface Item id "item" revision "item@1" { + queryable value title id "title" : string {get id "title:get" execution snapshot targets [browser,server];} + queryable rpc value remote id "remote" : string {get id "remote:get";} +}`, + { source }, +); +if (!compiled.ok || compiled.resource.kind !== "interface") throw Error(JSON.stringify(compiled.diagnostics)); +const item = compiled.resource.revision; +function pkg(body: string, imports: PackageRevision[] = [], name = "Views") { + const result = compileCapabilityResourceSource( + `import interface Item; ${imports.map((p) => `import package ${p.displayName};`).join(" ")} package ${name} id "${name}" revision "${name}@1" {${body}}`, + { + source, + environment: { + interfaces: new Map([["Item", item]]), + interfaceClosure: [item], + packages: new Map(imports.map((p) => [p.displayName, p])), + }, + }, + ); + assert.ok(result.ok, JSON.stringify(result.diagnostics)); + if (result.resource.kind !== "package") throw Error("package required"); + return result.resource.revision; +} +test("exported fragments generate local projection and direct admission", async () => { + const p = pkg('query fragment Row id "row" root Item document "row.graphql" fragment "Row";'); + assert.equal(p.queries!.length, 2); + const local = p.queries!.find((q) => !q.fragment?.admission)!; + assert.equal(local.placement?.kind, "local"); + const checked = await compileQuery(local, [item], async () => "fragment Row on Item {_camino {ref} title}"); + assert.equal(checked.output.kind, "record"); + assert.match(checked.document, /query QuixosFragment/); + await assert.rejects( + compileQuery(local, [item], async () => "fragment Row on Item {remote}"), + /QUERY_LOCAL_DEPENDENCY/, + ); +}); +test("imported fragments retain checked occurrences and require exact roots", async () => { + const provider = pkg('query fragment Row id "row" root Item document "row.graphql" fragment "Row";', [], "Provider"); + const checked = await compileQuery( + provider.queries!.find((q) => !q.fragment?.admission)!, + [item], + async () => "fragment Row on Item {_camino {ref} title}", + ); + const consumer = pkg( + 'query Screen id "screen" root Item document "screen.graphql" operation "Screen" {replica; fragments Provider.Row;}', + [provider], + ); + const result = await compileQuery( + consumer.queries![0]!, + [item], + async () => "query Screen {root {...Row}}", + async () => checked, + ); + assert.equal(result.selection[0]!.selection[0]!.fragmentSpread?.digest, checked.definitionDigest); + assert.equal(result.selection[0]!.selection[0]!.fragmentSpread?.root, item.revisionId); + assert.ok(result.effects.some((e) => e.memberId === "title")); + const wrong = { + ...checked, + declaration: { + ...checked.declaration, + root: { ...checked.declaration.root, interface: "different@1" as typeof item.revisionId }, + }, + }; + await assert.rejects( + compileQuery( + consumer.queries![0]!, + [item], + async () => "query Screen {root {...Row}}", + async () => wrong, + ), + /FRAGMENT_ROOT_MISMATCH/, + ); +}); +test("fragment variable mappings are explicit and checked", async () => { + const provider = pkg( + 'query fragment Row id "row" root Item document "row.graphql" fragment "Row" operation "Inputs";', + [], + "Provider", + ); + const checked = await compileQuery( + provider.queries!.find((q) => !q.fragment?.admission)!, + [item], + async () => + "query Inputs($show: Boolean!) {root {...Row}} fragment Row on Item {_camino {ref} title @include(if:$show)}", + ); + const build = (mapping: string) => + pkg( + `query Screen id "screen" root Item document "screen.graphql" operation "Screen" {replica; fragments Provider.Row ${mapping};}`, + [provider], + ).queries![0]!; + const document = "query Screen($visible: Boolean!) {root {...Row}}"; + await assert.rejects( + compileQuery( + build(""), + [item], + async () => document, + async () => checked, + ), + /FRAGMENT_VARIABLE_MAPPING/, + ); + const result = await compileQuery( + build("with {show to visible;}"), + [item], + async () => document, + async () => checked, + ); + assert.deepEqual(result.selection[0]!.selection[0]!.fragmentSpread?.variables, { show: "visible" }); + await assert.rejects( + compileQuery( + build("with {show to visible;}"), + [item], + async () => document.replace("Boolean!", "Boolean"), + async () => checked, + ), + /FRAGMENT_VARIABLE_TYPE/, + ); +}); + +test("independent fragment package survives execution lowering and typed client generation", async () => { + const { loadReaderWorkspace, readReaderFixture } = await import("./reader-fixture.js"); + const { compileExecutionPlan } = await import("../src/execution-world/plan.js"); + const { compileQueryProgram } = await import("../src/execution-world/queries.js"); + const { generatePackageQueryClientBindings } = await import("../src/execution-world/client-contracts.js"); + const workspace = await loadReaderWorkspace(); + const comment = workspace.interfaceImports.find((i) => i.displayName === "CommentData")!; + const parsed = compileCapabilityResourceSource( + `import interface CommentData; package CommentRows id "comment-rows" revision "comment-rows@1" { + query fragment Row id "row" root CommentData document "row.graphql" fragment "CommentRow"; + }`, + { source, environment: { interfaces: new Map([["CommentData", comment]]), interfaceClosure: [comment] } }, + ); + assert.ok(parsed.ok, JSON.stringify(parsed.diagnostics)); + if (parsed.resource.kind !== "package") throw Error("expected package"); + const provider = parsed.resource.revision; + provider.checkedQueries = await Promise.all( + provider.queries!.map((q) => + compileQuery( + q, + workspace.interfaceImports, + async () => "fragment CommentRow on CommentData {_camino {ref} content {text tags}}", + ), + ), + ); + workspace.packageImports.push(provider); + const consumer = workspace.packageImports.find((p) => p.displayName === "ReaderRuntime")!; + const declaration = consumer.queries!.find((q) => q.displayName === "ReaderScreen")!; + declaration.importedFragments = [ + { packageRevisionId: provider.revisionId, packageAlias: "CommentRows", fragmentId: "row", variables: {} }, + ]; + const document = (await readReaderFixture("queries/reader-screen.graphql")).replace( + "_camino { ref } content { text tags }", + "...CommentRow", + ); + const checked = await compileQuery( + declaration, + workspace.interfaceImports, + async () => document, + async () => provider.checkedQueries!.find((q) => q.declaration.id === "row")!, + ); + consumer.checkedQueries = consumer.checkedQueries!.map((q) => (q.declaration.id === declaration.id ? checked : q)); + const plan = compileExecutionPlan(workspace); + const program = compileQueryProgram(plan) as { + queries: { id: string; fragment?: { package: string; id: string }; selection: unknown }[]; + }; + assert.deepEqual(program.queries.find((q) => q.fragment)?.fragment, { + package: provider.revisionId, + id: "row", + digest: provider.checkedQueries!.find((q) => q.declaration.id === "row")!.definitionDigest, + }); + const screen = program.queries.find((q) => q.id === JSON.stringify([consumer.revisionId, declaration.id]))!; + assert.match(JSON.stringify(screen.selection), /fragmentSpread/); + const generated = generatePackageQueryClientBindings(consumer, undefined, workspace.packageImports); + assert.match(generated, /"CommentRows": \{"Row": definePackageFragment/); + assert.ok(generated.includes(JSON.stringify(comment.revisionId))); + assert.ok(!generated.includes('"Row$inputs": definePackageQuery')); +});