diff --git a/grammar/QuixosCapability.g4 b/grammar/QuixosCapability.g4 index abd7f8c..d847595 100644 --- a/grammar/QuixosCapability.g4 +++ b/grammar/QuixosCapability.g4 @@ -301,6 +301,7 @@ operationName operationProvider : STATE identifier DOT statePrimitive | EDGE identifier DOT identifier DOT edgePrimitive + | INTERFACE identifier typeArguments? DOT memberOperationRef | PACKAGE identifier DOT identifier typeArguments? dependencyBindingBlock? ; diff --git a/src/capability-language/generated/QuixosCapability.interp b/src/capability-language/generated/QuixosCapability.interp index 7cb8101..e7e459a 100644 --- a/src/capability-language/generated/QuixosCapability.interp +++ b/src/capability-language/generated/QuixosCapability.interp @@ -344,4 +344,4 @@ stringLiteral atn: -[4, 1, 133, 1097, 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, 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, 153, 8, 0, 1, 1, 1, 1, 1, 1, 5, 1, 158, 8, 1, 10, 1, 12, 1, 161, 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, 179, 8, 3, 10, 3, 12, 3, 182, 9, 3, 1, 3, 1, 3, 1, 4, 1, 4, 1, 4, 1, 4, 1, 4, 1, 4, 1, 4, 3, 4, 193, 8, 4, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 3, 5, 205, 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, 225, 8, 8, 1, 9, 1, 9, 1, 9, 1, 9, 1, 9, 1, 9, 3, 9, 233, 8, 9, 1, 9, 1, 9, 1, 10, 5, 10, 238, 8, 10, 10, 10, 12, 10, 241, 9, 10, 1, 10, 1, 10, 1, 10, 3, 10, 246, 8, 10, 1, 10, 1, 10, 1, 10, 1, 10, 1, 10, 1, 10, 1, 10, 1, 10, 5, 10, 256, 8, 10, 10, 10, 12, 10, 259, 9, 10, 3, 10, 261, 8, 10, 1, 10, 1, 10, 5, 10, 265, 8, 10, 10, 10, 12, 10, 268, 9, 10, 1, 10, 1, 10, 1, 11, 1, 11, 1, 11, 1, 11, 5, 11, 276, 8, 11, 10, 11, 12, 11, 279, 9, 11, 1, 11, 1, 11, 1, 12, 1, 12, 1, 12, 1, 12, 3, 12, 287, 8, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 5, 12, 295, 8, 12, 10, 12, 12, 12, 298, 9, 12, 3, 12, 300, 8, 12, 3, 12, 302, 8, 12, 1, 13, 1, 13, 3, 13, 306, 8, 13, 1, 14, 1, 14, 1, 14, 1, 14, 5, 14, 312, 8, 14, 10, 14, 12, 14, 315, 9, 14, 1, 14, 1, 14, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 3, 15, 326, 8, 15, 1, 16, 1, 16, 1, 16, 3, 16, 331, 8, 16, 1, 16, 1, 16, 1, 16, 1, 16, 1, 17, 1, 17, 1, 17, 3, 17, 340, 8, 17, 1, 18, 3, 18, 343, 8, 18, 1, 18, 1, 18, 1, 18, 1, 18, 1, 18, 1, 18, 1, 18, 1, 18, 1, 18, 1, 18, 1, 18, 1, 18, 1, 18, 1, 18, 1, 18, 1, 19, 3, 19, 361, 8, 19, 1, 19, 1, 19, 1, 19, 1, 19, 1, 19, 1, 19, 1, 19, 1, 19, 5, 19, 371, 8, 19, 10, 19, 12, 19, 374, 9, 19, 1, 19, 1, 19, 1, 20, 1, 20, 1, 20, 1, 20, 1, 20, 1, 20, 1, 20, 1, 20, 1, 20, 1, 20, 1, 20, 1, 20, 1, 20, 1, 20, 1, 20, 1, 20, 1, 20, 1, 20, 1, 20, 3, 20, 397, 8, 20, 1, 21, 3, 21, 400, 8, 21, 1, 21, 1, 21, 1, 21, 1, 21, 1, 21, 1, 21, 1, 21, 1, 21, 3, 21, 410, 8, 21, 1, 21, 1, 21, 3, 21, 414, 8, 21, 1, 21, 1, 21, 5, 21, 418, 8, 21, 10, 21, 12, 21, 421, 9, 21, 1, 21, 1, 21, 1, 22, 1, 22, 3, 22, 427, 8, 22, 1, 23, 1, 23, 1, 23, 1, 23, 1, 23, 1, 23, 1, 23, 1, 23, 1, 23, 1, 23, 1, 23, 1, 23, 1, 23, 1, 23, 1, 23, 1, 23, 1, 23, 1, 23, 1, 23, 1, 23, 1, 23, 1, 23, 1, 23, 1, 23, 3, 23, 453, 8, 23, 1, 24, 1, 24, 1, 24, 1, 24, 1, 24, 3, 24, 460, 8, 24, 1, 24, 1, 24, 3, 24, 464, 8, 24, 1, 25, 5, 25, 467, 8, 25, 10, 25, 12, 25, 470, 9, 25, 1, 25, 1, 25, 1, 25, 1, 25, 1, 25, 1, 25, 1, 25, 1, 25, 3, 25, 480, 8, 25, 1, 25, 1, 25, 5, 25, 484, 8, 25, 10, 25, 12, 25, 487, 9, 25, 1, 25, 1, 25, 1, 26, 1, 26, 1, 26, 1, 26, 1, 26, 3, 26, 496, 8, 26, 1, 27, 1, 27, 1, 27, 3, 27, 501, 8, 27, 1, 27, 1, 27, 1, 27, 1, 27, 3, 27, 507, 8, 27, 1, 27, 1, 27, 1, 27, 1, 27, 1, 27, 1, 27, 1, 27, 5, 27, 516, 8, 27, 10, 27, 12, 27, 519, 9, 27, 1, 27, 1, 27, 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, 3, 29, 538, 8, 29, 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, 29, 1, 29, 1, 29, 1, 29, 1, 29, 1, 29, 1, 29, 1, 29, 1, 29, 1, 29, 1, 29, 1, 29, 1, 29, 3, 29, 565, 8, 29, 1, 30, 1, 30, 1, 30, 3, 30, 570, 8, 30, 1, 30, 1, 30, 1, 30, 1, 30, 1, 30, 1, 30, 1, 30, 1, 30, 1, 30, 3, 30, 581, 8, 30, 1, 30, 1, 30, 1, 30, 3, 30, 586, 8, 30, 1, 30, 1, 30, 1, 31, 1, 31, 1, 31, 3, 31, 593, 8, 31, 1, 31, 1, 31, 1, 31, 1, 31, 1, 31, 1, 31, 1, 31, 3, 31, 602, 8, 31, 1, 31, 1, 31, 1, 32, 1, 32, 1, 32, 1, 32, 1, 32, 1, 32, 1, 32, 1, 32, 1, 32, 3, 32, 615, 8, 32, 1, 32, 1, 32, 1, 33, 1, 33, 1, 33, 1, 34, 1, 34, 1, 35, 1, 35, 1, 35, 1, 35, 1, 35, 1, 35, 1, 35, 1, 35, 1, 35, 1, 35, 5, 35, 634, 8, 35, 10, 35, 12, 35, 637, 9, 35, 3, 35, 639, 8, 35, 1, 35, 3, 35, 642, 8, 35, 1, 36, 1, 36, 1, 36, 5, 36, 647, 8, 36, 10, 36, 12, 36, 650, 9, 36, 1, 37, 1, 37, 1, 37, 5, 37, 655, 8, 37, 10, 37, 12, 37, 658, 9, 37, 1, 37, 1, 37, 1, 38, 1, 38, 1, 38, 1, 38, 1, 38, 1, 38, 1, 38, 1, 38, 1, 38, 1, 38, 1, 38, 1, 38, 1, 38, 1, 38, 1, 38, 1, 38, 1, 38, 1, 38, 1, 38, 1, 38, 1, 38, 1, 38, 1, 38, 1, 38, 1, 38, 1, 38, 3, 38, 688, 8, 38, 1, 38, 1, 38, 1, 38, 1, 38, 1, 38, 1, 38, 1, 38, 1, 38, 1, 38, 1, 38, 3, 38, 700, 8, 38, 1, 38, 1, 38, 1, 38, 1, 38, 1, 38, 1, 38, 1, 38, 1, 38, 1, 38, 1, 38, 1, 38, 1, 38, 3, 38, 714, 8, 38, 1, 39, 1, 39, 1, 39, 1, 39, 5, 39, 720, 8, 39, 10, 39, 12, 39, 723, 9, 39, 1, 39, 1, 39, 1, 40, 1, 40, 1, 41, 1, 41, 1, 41, 1, 42, 1, 42, 3, 42, 734, 8, 42, 1, 43, 1, 43, 1, 43, 1, 43, 1, 43, 1, 43, 1, 43, 1, 43, 1, 43, 1, 43, 1, 43, 1, 43, 3, 43, 748, 8, 43, 1, 43, 1, 43, 1, 44, 1, 44, 1, 44, 1, 44, 1, 44, 1, 44, 3, 44, 758, 8, 44, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 46, 1, 46, 1, 46, 1, 46, 1, 46, 1, 46, 1, 46, 3, 46, 776, 8, 46, 1, 46, 1, 46, 3, 46, 780, 8, 46, 1, 46, 3, 46, 783, 8, 46, 1, 46, 1, 46, 3, 46, 787, 8, 46, 1, 46, 3, 46, 790, 8, 46, 1, 46, 1, 46, 1, 47, 1, 47, 1, 47, 1, 47, 1, 47, 3, 47, 799, 8, 47, 1, 47, 1, 47, 3, 47, 803, 8, 47, 1, 47, 1, 47, 3, 47, 807, 8, 47, 1, 47, 1, 47, 5, 47, 811, 8, 47, 10, 47, 12, 47, 814, 9, 47, 1, 47, 1, 47, 1, 48, 1, 48, 1, 48, 1, 48, 1, 48, 3, 48, 823, 8, 48, 1, 49, 1, 49, 1, 49, 1, 49, 1, 49, 1, 49, 1, 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, 1, 50, 1, 50, 1, 51, 1, 51, 1, 51, 1, 51, 1, 51, 1, 51, 3, 51, 852, 8, 51, 1, 51, 1, 51, 1, 52, 1, 52, 1, 52, 1, 52, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 3, 53, 871, 8, 53, 1, 54, 1, 54, 1, 54, 1, 54, 1, 54, 1, 54, 1, 54, 1, 54, 1, 54, 1, 54, 1, 54, 1, 54, 1, 54, 1, 54, 1, 54, 1, 54, 1, 54, 3, 54, 890, 8, 54, 1, 54, 3, 54, 893, 8, 54, 3, 54, 895, 8, 54, 1, 55, 1, 55, 1, 56, 1, 56, 1, 57, 1, 57, 1, 57, 5, 57, 904, 8, 57, 10, 57, 12, 57, 907, 9, 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, 3, 58, 921, 8, 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, 1, 58, 3, 58, 937, 8, 58, 1, 58, 1, 58, 1, 58, 1, 58, 1, 58, 1, 58, 1, 58, 3, 58, 946, 8, 58, 1, 58, 1, 58, 1, 58, 1, 58, 1, 58, 1, 58, 3, 58, 954, 8, 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, 967, 8, 58, 1, 58, 1, 58, 1, 58, 1, 58, 1, 58, 1, 58, 1, 58, 1, 58, 1, 58, 1, 58, 3, 58, 979, 8, 58, 1, 58, 1, 58, 3, 58, 983, 8, 58, 1, 59, 1, 59, 1, 59, 1, 59, 1, 59, 1, 59, 1, 59, 3, 59, 992, 8, 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, 3, 60, 1010, 8, 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, 60, 1, 60, 1, 60, 1, 60, 1, 60, 1, 60, 1, 60, 5, 60, 1032, 8, 60, 10, 60, 12, 60, 1035, 9, 60, 1, 60, 1, 60, 1, 60, 3, 60, 1040, 8, 60, 3, 60, 1042, 8, 60, 1, 61, 1, 61, 1, 61, 1, 61, 1, 61, 1, 62, 1, 62, 1, 63, 1, 63, 1, 64, 1, 64, 1, 64, 1, 64, 1, 64, 1, 64, 1, 64, 1, 64, 3, 64, 1061, 8, 64, 1, 65, 1, 65, 1, 65, 1, 65, 5, 65, 1067, 8, 65, 10, 65, 12, 65, 1070, 9, 65, 3, 65, 1072, 8, 65, 1, 65, 1, 65, 1, 66, 1, 66, 1, 66, 1, 66, 1, 67, 1, 67, 1, 67, 1, 67, 5, 67, 1084, 8, 67, 10, 67, 12, 67, 1087, 9, 67, 3, 67, 1089, 8, 67, 1, 67, 1, 67, 1, 68, 1, 68, 1, 69, 1, 69, 1, 69, 0, 0, 70, 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, 0, 7, 1, 0, 81, 85, 2, 0, 76, 80, 82, 83, 2, 0, 76, 77, 82, 83, 2, 0, 78, 80, 82, 83, 1, 0, 101, 108, 1, 0, 88, 91, 3, 0, 2, 15, 55, 55, 129, 129, 1178, 0, 152, 1, 0, 0, 0, 2, 154, 1, 0, 0, 0, 4, 164, 1, 0, 0, 0, 6, 168, 1, 0, 0, 0, 8, 192, 1, 0, 0, 0, 10, 204, 1, 0, 0, 0, 12, 206, 1, 0, 0, 0, 14, 213, 1, 0, 0, 0, 16, 224, 1, 0, 0, 0, 18, 226, 1, 0, 0, 0, 20, 239, 1, 0, 0, 0, 22, 271, 1, 0, 0, 0, 24, 301, 1, 0, 0, 0, 26, 303, 1, 0, 0, 0, 28, 307, 1, 0, 0, 0, 30, 325, 1, 0, 0, 0, 32, 327, 1, 0, 0, 0, 34, 339, 1, 0, 0, 0, 36, 342, 1, 0, 0, 0, 38, 360, 1, 0, 0, 0, 40, 396, 1, 0, 0, 0, 42, 399, 1, 0, 0, 0, 44, 424, 1, 0, 0, 0, 46, 452, 1, 0, 0, 0, 48, 463, 1, 0, 0, 0, 50, 468, 1, 0, 0, 0, 52, 495, 1, 0, 0, 0, 54, 497, 1, 0, 0, 0, 56, 522, 1, 0, 0, 0, 58, 564, 1, 0, 0, 0, 60, 566, 1, 0, 0, 0, 62, 589, 1, 0, 0, 0, 64, 605, 1, 0, 0, 0, 66, 618, 1, 0, 0, 0, 68, 621, 1, 0, 0, 0, 70, 641, 1, 0, 0, 0, 72, 643, 1, 0, 0, 0, 74, 651, 1, 0, 0, 0, 76, 713, 1, 0, 0, 0, 78, 715, 1, 0, 0, 0, 80, 726, 1, 0, 0, 0, 82, 728, 1, 0, 0, 0, 84, 733, 1, 0, 0, 0, 86, 735, 1, 0, 0, 0, 88, 757, 1, 0, 0, 0, 90, 759, 1, 0, 0, 0, 92, 768, 1, 0, 0, 0, 94, 793, 1, 0, 0, 0, 96, 822, 1, 0, 0, 0, 98, 824, 1, 0, 0, 0, 100, 831, 1, 0, 0, 0, 102, 845, 1, 0, 0, 0, 104, 855, 1, 0, 0, 0, 106, 870, 1, 0, 0, 0, 108, 894, 1, 0, 0, 0, 110, 896, 1, 0, 0, 0, 112, 898, 1, 0, 0, 0, 114, 900, 1, 0, 0, 0, 116, 982, 1, 0, 0, 0, 118, 984, 1, 0, 0, 0, 120, 1041, 1, 0, 0, 0, 122, 1043, 1, 0, 0, 0, 124, 1048, 1, 0, 0, 0, 126, 1050, 1, 0, 0, 0, 128, 1060, 1, 0, 0, 0, 130, 1062, 1, 0, 0, 0, 132, 1075, 1, 0, 0, 0, 134, 1079, 1, 0, 0, 0, 136, 1092, 1, 0, 0, 0, 138, 1094, 1, 0, 0, 0, 140, 141, 3, 6, 3, 0, 141, 142, 5, 0, 0, 1, 142, 153, 1, 0, 0, 0, 143, 144, 3, 20, 10, 0, 144, 145, 5, 0, 0, 1, 145, 153, 1, 0, 0, 0, 146, 147, 3, 50, 25, 0, 147, 148, 5, 0, 0, 1, 148, 153, 1, 0, 0, 0, 149, 150, 3, 2, 1, 0, 150, 151, 5, 0, 0, 1, 151, 153, 1, 0, 0, 0, 152, 140, 1, 0, 0, 0, 152, 143, 1, 0, 0, 0, 152, 146, 1, 0, 0, 0, 152, 149, 1, 0, 0, 0, 153, 1, 1, 0, 0, 0, 154, 155, 5, 22, 0, 0, 155, 159, 5, 117, 0, 0, 156, 158, 3, 8, 4, 0, 157, 156, 1, 0, 0, 0, 158, 161, 1, 0, 0, 0, 159, 157, 1, 0, 0, 0, 159, 160, 1, 0, 0, 0, 160, 162, 1, 0, 0, 0, 161, 159, 1, 0, 0, 0, 162, 163, 5, 118, 0, 0, 163, 3, 1, 0, 0, 0, 164, 165, 5, 23, 0, 0, 165, 166, 3, 138, 69, 0, 166, 167, 5, 114, 0, 0, 167, 5, 1, 0, 0, 0, 168, 169, 5, 1, 0, 0, 169, 170, 3, 136, 68, 0, 170, 171, 5, 64, 0, 0, 171, 172, 3, 138, 69, 0, 172, 173, 5, 58, 0, 0, 173, 174, 3, 138, 69, 0, 174, 175, 5, 57, 0, 0, 175, 176, 3, 138, 69, 0, 176, 180, 5, 117, 0, 0, 177, 179, 3, 8, 4, 0, 178, 177, 1, 0, 0, 0, 179, 182, 1, 0, 0, 0, 180, 178, 1, 0, 0, 0, 180, 181, 1, 0, 0, 0, 181, 183, 1, 0, 0, 0, 182, 180, 1, 0, 0, 0, 183, 184, 5, 118, 0, 0, 184, 7, 1, 0, 0, 0, 185, 193, 3, 4, 2, 0, 186, 193, 3, 18, 9, 0, 187, 193, 3, 10, 5, 0, 188, 193, 3, 82, 41, 0, 189, 193, 3, 94, 47, 0, 190, 193, 3, 118, 59, 0, 191, 193, 3, 32, 16, 0, 192, 185, 1, 0, 0, 0, 192, 186, 1, 0, 0, 0, 192, 187, 1, 0, 0, 0, 192, 188, 1, 0, 0, 0, 192, 189, 1, 0, 0, 0, 192, 190, 1, 0, 0, 0, 192, 191, 1, 0, 0, 0, 193, 9, 1, 0, 0, 0, 194, 195, 5, 23, 0, 0, 195, 196, 5, 26, 0, 0, 196, 197, 3, 136, 68, 0, 197, 198, 5, 114, 0, 0, 198, 205, 1, 0, 0, 0, 199, 200, 5, 23, 0, 0, 200, 201, 5, 28, 0, 0, 201, 202, 3, 136, 68, 0, 202, 203, 5, 114, 0, 0, 203, 205, 1, 0, 0, 0, 204, 194, 1, 0, 0, 0, 204, 199, 1, 0, 0, 0, 205, 11, 1, 0, 0, 0, 206, 207, 5, 24, 0, 0, 207, 208, 5, 25, 0, 0, 208, 209, 3, 136, 68, 0, 209, 210, 5, 64, 0, 0, 210, 211, 3, 138, 69, 0, 211, 212, 5, 114, 0, 0, 212, 13, 1, 0, 0, 0, 213, 214, 5, 24, 0, 0, 214, 215, 5, 26, 0, 0, 215, 216, 3, 136, 68, 0, 216, 217, 5, 58, 0, 0, 217, 218, 3, 138, 69, 0, 218, 219, 5, 114, 0, 0, 219, 15, 1, 0, 0, 0, 220, 225, 3, 10, 5, 0, 221, 225, 3, 12, 6, 0, 222, 225, 3, 14, 7, 0, 223, 225, 3, 32, 16, 0, 224, 220, 1, 0, 0, 0, 224, 221, 1, 0, 0, 0, 224, 222, 1, 0, 0, 0, 224, 223, 1, 0, 0, 0, 225, 17, 1, 0, 0, 0, 226, 227, 5, 25, 0, 0, 227, 228, 3, 136, 68, 0, 228, 229, 5, 64, 0, 0, 229, 232, 3, 138, 69, 0, 230, 231, 5, 65, 0, 0, 231, 233, 3, 138, 69, 0, 232, 230, 1, 0, 0, 0, 232, 233, 1, 0, 0, 0, 233, 234, 1, 0, 0, 0, 234, 235, 5, 114, 0, 0, 235, 19, 1, 0, 0, 0, 236, 238, 3, 16, 8, 0, 237, 236, 1, 0, 0, 0, 238, 241, 1, 0, 0, 0, 239, 237, 1, 0, 0, 0, 239, 240, 1, 0, 0, 0, 240, 242, 1, 0, 0, 0, 241, 239, 1, 0, 0, 0, 242, 243, 5, 26, 0, 0, 243, 245, 3, 136, 68, 0, 244, 246, 3, 22, 11, 0, 245, 244, 1, 0, 0, 0, 245, 246, 1, 0, 0, 0, 246, 247, 1, 0, 0, 0, 247, 248, 5, 64, 0, 0, 248, 249, 3, 138, 69, 0, 249, 250, 5, 58, 0, 0, 250, 260, 3, 138, 69, 0, 251, 252, 5, 69, 0, 0, 252, 257, 3, 26, 13, 0, 253, 254, 5, 115, 0, 0, 254, 256, 3, 26, 13, 0, 255, 253, 1, 0, 0, 0, 256, 259, 1, 0, 0, 0, 257, 255, 1, 0, 0, 0, 257, 258, 1, 0, 0, 0, 258, 261, 1, 0, 0, 0, 259, 257, 1, 0, 0, 0, 260, 251, 1, 0, 0, 0, 260, 261, 1, 0, 0, 0, 261, 262, 1, 0, 0, 0, 262, 266, 5, 117, 0, 0, 263, 265, 3, 34, 17, 0, 264, 263, 1, 0, 0, 0, 265, 268, 1, 0, 0, 0, 266, 264, 1, 0, 0, 0, 266, 267, 1, 0, 0, 0, 267, 269, 1, 0, 0, 0, 268, 266, 1, 0, 0, 0, 269, 270, 5, 118, 0, 0, 270, 21, 1, 0, 0, 0, 271, 272, 5, 123, 0, 0, 272, 277, 3, 24, 12, 0, 273, 274, 5, 115, 0, 0, 274, 276, 3, 24, 12, 0, 275, 273, 1, 0, 0, 0, 276, 279, 1, 0, 0, 0, 277, 275, 1, 0, 0, 0, 277, 278, 1, 0, 0, 0, 278, 280, 1, 0, 0, 0, 279, 277, 1, 0, 0, 0, 280, 281, 5, 124, 0, 0, 281, 23, 1, 0, 0, 0, 282, 283, 5, 29, 0, 0, 283, 286, 3, 136, 68, 0, 284, 285, 5, 113, 0, 0, 285, 287, 5, 19, 0, 0, 286, 284, 1, 0, 0, 0, 286, 287, 1, 0, 0, 0, 287, 302, 1, 0, 0, 0, 288, 289, 5, 18, 0, 0, 289, 299, 3, 136, 68, 0, 290, 291, 5, 20, 0, 0, 291, 296, 3, 26, 13, 0, 292, 293, 5, 125, 0, 0, 293, 295, 3, 26, 13, 0, 294, 292, 1, 0, 0, 0, 295, 298, 1, 0, 0, 0, 296, 294, 1, 0, 0, 0, 296, 297, 1, 0, 0, 0, 297, 300, 1, 0, 0, 0, 298, 296, 1, 0, 0, 0, 299, 290, 1, 0, 0, 0, 299, 300, 1, 0, 0, 0, 300, 302, 1, 0, 0, 0, 301, 282, 1, 0, 0, 0, 301, 288, 1, 0, 0, 0, 302, 25, 1, 0, 0, 0, 303, 305, 3, 136, 68, 0, 304, 306, 3, 28, 14, 0, 305, 304, 1, 0, 0, 0, 305, 306, 1, 0, 0, 0, 306, 27, 1, 0, 0, 0, 307, 308, 5, 123, 0, 0, 308, 313, 3, 30, 15, 0, 309, 310, 5, 115, 0, 0, 310, 312, 3, 30, 15, 0, 311, 309, 1, 0, 0, 0, 312, 315, 1, 0, 0, 0, 313, 311, 1, 0, 0, 0, 313, 314, 1, 0, 0, 0, 314, 316, 1, 0, 0, 0, 315, 313, 1, 0, 0, 0, 316, 317, 5, 124, 0, 0, 317, 29, 1, 0, 0, 0, 318, 319, 5, 25, 0, 0, 319, 326, 3, 136, 68, 0, 320, 321, 5, 26, 0, 0, 321, 326, 3, 26, 13, 0, 322, 323, 5, 18, 0, 0, 323, 326, 3, 136, 68, 0, 324, 326, 3, 120, 60, 0, 325, 318, 1, 0, 0, 0, 325, 320, 1, 0, 0, 0, 325, 322, 1, 0, 0, 0, 325, 324, 1, 0, 0, 0, 326, 31, 1, 0, 0, 0, 327, 328, 5, 17, 0, 0, 328, 330, 3, 136, 68, 0, 329, 331, 3, 22, 11, 0, 330, 329, 1, 0, 0, 0, 330, 331, 1, 0, 0, 0, 331, 332, 1, 0, 0, 0, 332, 333, 5, 126, 0, 0, 333, 334, 3, 120, 60, 0, 334, 335, 5, 114, 0, 0, 335, 33, 1, 0, 0, 0, 336, 340, 3, 38, 19, 0, 337, 340, 3, 42, 21, 0, 338, 340, 3, 36, 18, 0, 339, 336, 1, 0, 0, 0, 339, 337, 1, 0, 0, 0, 339, 338, 1, 0, 0, 0, 340, 35, 1, 0, 0, 0, 341, 343, 5, 39, 0, 0, 342, 341, 1, 0, 0, 0, 342, 343, 1, 0, 0, 0, 343, 344, 1, 0, 0, 0, 344, 345, 5, 31, 0, 0, 345, 346, 3, 136, 68, 0, 346, 347, 5, 64, 0, 0, 347, 348, 3, 138, 69, 0, 348, 349, 5, 113, 0, 0, 349, 350, 3, 120, 60, 0, 350, 351, 5, 112, 0, 0, 351, 352, 3, 120, 60, 0, 352, 353, 5, 117, 0, 0, 353, 354, 5, 81, 0, 0, 354, 355, 5, 64, 0, 0, 355, 356, 3, 138, 69, 0, 356, 357, 5, 114, 0, 0, 357, 358, 5, 118, 0, 0, 358, 37, 1, 0, 0, 0, 359, 361, 3, 44, 22, 0, 360, 359, 1, 0, 0, 0, 360, 361, 1, 0, 0, 0, 361, 362, 1, 0, 0, 0, 362, 363, 5, 29, 0, 0, 363, 364, 3, 136, 68, 0, 364, 365, 5, 64, 0, 0, 365, 366, 3, 138, 69, 0, 366, 367, 5, 113, 0, 0, 367, 368, 3, 120, 60, 0, 368, 372, 5, 117, 0, 0, 369, 371, 3, 40, 20, 0, 370, 369, 1, 0, 0, 0, 371, 374, 1, 0, 0, 0, 372, 370, 1, 0, 0, 0, 372, 373, 1, 0, 0, 0, 373, 375, 1, 0, 0, 0, 374, 372, 1, 0, 0, 0, 375, 376, 5, 118, 0, 0, 376, 39, 1, 0, 0, 0, 377, 378, 5, 71, 0, 0, 378, 379, 5, 64, 0, 0, 379, 380, 3, 138, 69, 0, 380, 381, 5, 114, 0, 0, 381, 397, 1, 0, 0, 0, 382, 383, 5, 72, 0, 0, 383, 384, 5, 64, 0, 0, 384, 385, 3, 138, 69, 0, 385, 386, 5, 114, 0, 0, 386, 397, 1, 0, 0, 0, 387, 388, 5, 73, 0, 0, 388, 389, 5, 74, 0, 0, 389, 390, 5, 64, 0, 0, 390, 391, 3, 138, 69, 0, 391, 392, 5, 75, 0, 0, 392, 393, 5, 64, 0, 0, 393, 394, 3, 138, 69, 0, 394, 395, 5, 114, 0, 0, 395, 397, 1, 0, 0, 0, 396, 377, 1, 0, 0, 0, 396, 382, 1, 0, 0, 0, 396, 387, 1, 0, 0, 0, 397, 41, 1, 0, 0, 0, 398, 400, 3, 44, 22, 0, 399, 398, 1, 0, 0, 0, 399, 400, 1, 0, 0, 0, 400, 401, 1, 0, 0, 0, 401, 402, 5, 30, 0, 0, 402, 403, 3, 136, 68, 0, 403, 404, 5, 64, 0, 0, 404, 405, 3, 138, 69, 0, 405, 406, 5, 113, 0, 0, 406, 407, 3, 126, 63, 0, 407, 409, 3, 48, 24, 0, 408, 410, 5, 92, 0, 0, 409, 408, 1, 0, 0, 0, 409, 410, 1, 0, 0, 0, 410, 413, 1, 0, 0, 0, 411, 412, 5, 62, 0, 0, 412, 414, 3, 138, 69, 0, 413, 411, 1, 0, 0, 0, 413, 414, 1, 0, 0, 0, 414, 415, 1, 0, 0, 0, 415, 419, 5, 117, 0, 0, 416, 418, 3, 46, 23, 0, 417, 416, 1, 0, 0, 0, 418, 421, 1, 0, 0, 0, 419, 417, 1, 0, 0, 0, 419, 420, 1, 0, 0, 0, 420, 422, 1, 0, 0, 0, 421, 419, 1, 0, 0, 0, 422, 423, 5, 118, 0, 0, 423, 43, 1, 0, 0, 0, 424, 426, 5, 14, 0, 0, 425, 427, 5, 15, 0, 0, 426, 425, 1, 0, 0, 0, 426, 427, 1, 0, 0, 0, 427, 45, 1, 0, 0, 0, 428, 429, 5, 78, 0, 0, 429, 430, 5, 64, 0, 0, 430, 431, 3, 138, 69, 0, 431, 432, 5, 114, 0, 0, 432, 453, 1, 0, 0, 0, 433, 434, 5, 79, 0, 0, 434, 435, 5, 64, 0, 0, 435, 436, 3, 138, 69, 0, 436, 437, 5, 114, 0, 0, 437, 453, 1, 0, 0, 0, 438, 439, 5, 80, 0, 0, 439, 440, 5, 64, 0, 0, 440, 441, 3, 138, 69, 0, 441, 442, 5, 114, 0, 0, 442, 453, 1, 0, 0, 0, 443, 444, 5, 73, 0, 0, 444, 445, 5, 74, 0, 0, 445, 446, 5, 64, 0, 0, 446, 447, 3, 138, 69, 0, 447, 448, 5, 75, 0, 0, 448, 449, 5, 64, 0, 0, 449, 450, 3, 138, 69, 0, 450, 451, 5, 114, 0, 0, 451, 453, 1, 0, 0, 0, 452, 428, 1, 0, 0, 0, 452, 433, 1, 0, 0, 0, 452, 438, 1, 0, 0, 0, 452, 443, 1, 0, 0, 0, 453, 47, 1, 0, 0, 0, 454, 455, 5, 25, 0, 0, 455, 464, 3, 136, 68, 0, 456, 457, 5, 26, 0, 0, 457, 459, 3, 136, 68, 0, 458, 460, 3, 28, 14, 0, 459, 458, 1, 0, 0, 0, 459, 460, 1, 0, 0, 0, 460, 464, 1, 0, 0, 0, 461, 462, 5, 18, 0, 0, 462, 464, 3, 136, 68, 0, 463, 454, 1, 0, 0, 0, 463, 456, 1, 0, 0, 0, 463, 461, 1, 0, 0, 0, 464, 49, 1, 0, 0, 0, 465, 467, 3, 16, 8, 0, 466, 465, 1, 0, 0, 0, 467, 470, 1, 0, 0, 0, 468, 466, 1, 0, 0, 0, 468, 469, 1, 0, 0, 0, 469, 471, 1, 0, 0, 0, 470, 468, 1, 0, 0, 0, 471, 472, 5, 28, 0, 0, 472, 473, 3, 136, 68, 0, 473, 474, 5, 64, 0, 0, 474, 475, 3, 138, 69, 0, 475, 476, 5, 58, 0, 0, 476, 479, 3, 138, 69, 0, 477, 478, 5, 59, 0, 0, 478, 480, 5, 127, 0, 0, 479, 477, 1, 0, 0, 0, 479, 480, 1, 0, 0, 0, 480, 481, 1, 0, 0, 0, 481, 485, 5, 117, 0, 0, 482, 484, 3, 52, 26, 0, 483, 482, 1, 0, 0, 0, 484, 487, 1, 0, 0, 0, 485, 483, 1, 0, 0, 0, 485, 486, 1, 0, 0, 0, 486, 488, 1, 0, 0, 0, 487, 485, 1, 0, 0, 0, 488, 489, 5, 118, 0, 0, 489, 51, 1, 0, 0, 0, 490, 496, 3, 60, 30, 0, 491, 496, 3, 62, 31, 0, 492, 496, 3, 64, 32, 0, 493, 496, 3, 54, 27, 0, 494, 496, 3, 56, 28, 0, 495, 490, 1, 0, 0, 0, 495, 491, 1, 0, 0, 0, 495, 492, 1, 0, 0, 0, 495, 493, 1, 0, 0, 0, 495, 494, 1, 0, 0, 0, 496, 53, 1, 0, 0, 0, 497, 498, 5, 5, 0, 0, 498, 500, 3, 136, 68, 0, 499, 501, 3, 22, 11, 0, 500, 499, 1, 0, 0, 0, 500, 501, 1, 0, 0, 0, 501, 502, 1, 0, 0, 0, 502, 503, 5, 64, 0, 0, 503, 504, 3, 138, 69, 0, 504, 506, 5, 7, 0, 0, 505, 507, 5, 1, 0, 0, 506, 505, 1, 0, 0, 0, 506, 507, 1, 0, 0, 0, 507, 508, 1, 0, 0, 0, 508, 509, 3, 26, 13, 0, 509, 510, 5, 8, 0, 0, 510, 511, 3, 138, 69, 0, 511, 512, 5, 31, 0, 0, 512, 513, 3, 138, 69, 0, 513, 517, 5, 117, 0, 0, 514, 516, 3, 58, 29, 0, 515, 514, 1, 0, 0, 0, 516, 519, 1, 0, 0, 0, 517, 515, 1, 0, 0, 0, 517, 518, 1, 0, 0, 0, 518, 520, 1, 0, 0, 0, 519, 517, 1, 0, 0, 0, 520, 521, 5, 118, 0, 0, 521, 55, 1, 0, 0, 0, 522, 523, 5, 5, 0, 0, 523, 524, 3, 136, 68, 0, 524, 525, 5, 64, 0, 0, 525, 526, 3, 138, 69, 0, 526, 527, 5, 6, 0, 0, 527, 528, 3, 136, 68, 0, 528, 529, 3, 28, 14, 0, 529, 530, 5, 114, 0, 0, 530, 57, 1, 0, 0, 0, 531, 532, 5, 9, 0, 0, 532, 533, 3, 138, 69, 0, 533, 534, 5, 114, 0, 0, 534, 565, 1, 0, 0, 0, 535, 537, 5, 10, 0, 0, 536, 538, 5, 18, 0, 0, 537, 536, 1, 0, 0, 0, 537, 538, 1, 0, 0, 0, 538, 539, 1, 0, 0, 0, 539, 540, 3, 136, 68, 0, 540, 541, 5, 37, 0, 0, 541, 542, 3, 26, 13, 0, 542, 543, 5, 114, 0, 0, 543, 565, 1, 0, 0, 0, 544, 545, 5, 11, 0, 0, 545, 546, 3, 136, 68, 0, 546, 547, 5, 127, 0, 0, 547, 548, 5, 114, 0, 0, 548, 565, 1, 0, 0, 0, 549, 550, 5, 12, 0, 0, 550, 551, 3, 26, 13, 0, 551, 552, 5, 116, 0, 0, 552, 553, 3, 136, 68, 0, 553, 554, 3, 136, 68, 0, 554, 555, 3, 138, 69, 0, 555, 556, 5, 114, 0, 0, 556, 565, 1, 0, 0, 0, 557, 558, 5, 73, 0, 0, 558, 565, 5, 114, 0, 0, 559, 560, 5, 13, 0, 0, 560, 561, 5, 127, 0, 0, 561, 562, 3, 138, 69, 0, 562, 563, 5, 114, 0, 0, 563, 565, 1, 0, 0, 0, 564, 531, 1, 0, 0, 0, 564, 535, 1, 0, 0, 0, 564, 544, 1, 0, 0, 0, 564, 549, 1, 0, 0, 0, 564, 557, 1, 0, 0, 0, 564, 559, 1, 0, 0, 0, 565, 59, 1, 0, 0, 0, 566, 567, 5, 31, 0, 0, 567, 569, 3, 136, 68, 0, 568, 570, 3, 22, 11, 0, 569, 568, 1, 0, 0, 0, 569, 570, 1, 0, 0, 0, 570, 571, 1, 0, 0, 0, 571, 572, 5, 64, 0, 0, 572, 573, 3, 138, 69, 0, 573, 574, 5, 113, 0, 0, 574, 575, 3, 120, 60, 0, 575, 576, 5, 112, 0, 0, 576, 577, 3, 120, 60, 0, 577, 578, 5, 66, 0, 0, 578, 580, 3, 68, 34, 0, 579, 581, 3, 66, 33, 0, 580, 579, 1, 0, 0, 0, 580, 581, 1, 0, 0, 0, 581, 582, 1, 0, 0, 0, 582, 583, 5, 68, 0, 0, 583, 585, 3, 70, 35, 0, 584, 586, 3, 74, 37, 0, 585, 584, 1, 0, 0, 0, 585, 586, 1, 0, 0, 0, 586, 587, 1, 0, 0, 0, 587, 588, 5, 114, 0, 0, 588, 61, 1, 0, 0, 0, 589, 590, 5, 32, 0, 0, 590, 592, 3, 136, 68, 0, 591, 593, 3, 22, 11, 0, 592, 591, 1, 0, 0, 0, 592, 593, 1, 0, 0, 0, 593, 594, 1, 0, 0, 0, 594, 595, 5, 64, 0, 0, 595, 596, 3, 138, 69, 0, 596, 597, 5, 113, 0, 0, 597, 598, 3, 120, 60, 0, 598, 599, 5, 112, 0, 0, 599, 601, 3, 120, 60, 0, 600, 602, 3, 74, 37, 0, 601, 600, 1, 0, 0, 0, 601, 602, 1, 0, 0, 0, 602, 603, 1, 0, 0, 0, 603, 604, 5, 114, 0, 0, 604, 63, 1, 0, 0, 0, 605, 606, 5, 33, 0, 0, 606, 607, 3, 136, 68, 0, 607, 608, 5, 64, 0, 0, 608, 609, 3, 138, 69, 0, 609, 610, 5, 34, 0, 0, 610, 611, 3, 136, 68, 0, 611, 612, 5, 113, 0, 0, 612, 614, 3, 120, 60, 0, 613, 615, 3, 74, 37, 0, 614, 613, 1, 0, 0, 0, 614, 615, 1, 0, 0, 0, 615, 616, 1, 0, 0, 0, 616, 617, 5, 114, 0, 0, 617, 65, 1, 0, 0, 0, 618, 619, 5, 67, 0, 0, 619, 620, 3, 120, 60, 0, 620, 67, 1, 0, 0, 0, 621, 622, 7, 0, 0, 0, 622, 69, 1, 0, 0, 0, 623, 642, 5, 70, 0, 0, 624, 625, 5, 25, 0, 0, 625, 642, 3, 136, 68, 0, 626, 627, 5, 18, 0, 0, 627, 642, 3, 136, 68, 0, 628, 629, 5, 27, 0, 0, 629, 638, 5, 119, 0, 0, 630, 635, 3, 26, 13, 0, 631, 632, 5, 115, 0, 0, 632, 634, 3, 26, 13, 0, 633, 631, 1, 0, 0, 0, 634, 637, 1, 0, 0, 0, 635, 633, 1, 0, 0, 0, 635, 636, 1, 0, 0, 0, 636, 639, 1, 0, 0, 0, 637, 635, 1, 0, 0, 0, 638, 630, 1, 0, 0, 0, 638, 639, 1, 0, 0, 0, 639, 640, 1, 0, 0, 0, 640, 642, 5, 120, 0, 0, 641, 623, 1, 0, 0, 0, 641, 624, 1, 0, 0, 0, 641, 626, 1, 0, 0, 0, 641, 628, 1, 0, 0, 0, 642, 71, 1, 0, 0, 0, 643, 648, 3, 136, 68, 0, 644, 645, 5, 115, 0, 0, 645, 647, 3, 136, 68, 0, 646, 644, 1, 0, 0, 0, 647, 650, 1, 0, 0, 0, 648, 646, 1, 0, 0, 0, 648, 649, 1, 0, 0, 0, 649, 73, 1, 0, 0, 0, 650, 648, 1, 0, 0, 0, 651, 652, 5, 69, 0, 0, 652, 656, 5, 117, 0, 0, 653, 655, 3, 76, 38, 0, 654, 653, 1, 0, 0, 0, 655, 658, 1, 0, 0, 0, 656, 654, 1, 0, 0, 0, 656, 657, 1, 0, 0, 0, 657, 659, 1, 0, 0, 0, 658, 656, 1, 0, 0, 0, 659, 660, 5, 118, 0, 0, 660, 75, 1, 0, 0, 0, 661, 662, 5, 43, 0, 0, 662, 663, 3, 136, 68, 0, 663, 664, 5, 64, 0, 0, 664, 665, 3, 138, 69, 0, 665, 666, 5, 113, 0, 0, 666, 667, 3, 120, 60, 0, 667, 668, 3, 78, 39, 0, 668, 669, 5, 114, 0, 0, 669, 714, 1, 0, 0, 0, 670, 671, 5, 44, 0, 0, 671, 672, 3, 136, 68, 0, 672, 673, 5, 64, 0, 0, 673, 674, 3, 138, 69, 0, 674, 675, 5, 113, 0, 0, 675, 676, 3, 126, 63, 0, 676, 677, 3, 48, 24, 0, 677, 678, 3, 78, 39, 0, 678, 679, 5, 114, 0, 0, 679, 714, 1, 0, 0, 0, 680, 681, 5, 26, 0, 0, 681, 682, 3, 136, 68, 0, 682, 683, 5, 64, 0, 0, 683, 684, 3, 138, 69, 0, 684, 685, 5, 113, 0, 0, 685, 687, 3, 136, 68, 0, 686, 688, 3, 28, 14, 0, 687, 686, 1, 0, 0, 0, 687, 688, 1, 0, 0, 0, 688, 689, 1, 0, 0, 0, 689, 690, 5, 114, 0, 0, 690, 714, 1, 0, 0, 0, 691, 692, 5, 33, 0, 0, 692, 693, 3, 136, 68, 0, 693, 694, 5, 64, 0, 0, 694, 695, 3, 138, 69, 0, 695, 696, 5, 113, 0, 0, 696, 699, 3, 136, 68, 0, 697, 698, 5, 35, 0, 0, 698, 700, 3, 120, 60, 0, 699, 697, 1, 0, 0, 0, 699, 700, 1, 0, 0, 0, 700, 701, 1, 0, 0, 0, 701, 702, 5, 114, 0, 0, 702, 714, 1, 0, 0, 0, 703, 704, 5, 5, 0, 0, 704, 705, 3, 136, 68, 0, 705, 706, 5, 64, 0, 0, 706, 707, 3, 138, 69, 0, 707, 708, 5, 113, 0, 0, 708, 709, 3, 136, 68, 0, 709, 710, 5, 116, 0, 0, 710, 711, 3, 136, 68, 0, 711, 712, 5, 114, 0, 0, 712, 714, 1, 0, 0, 0, 713, 661, 1, 0, 0, 0, 713, 670, 1, 0, 0, 0, 713, 680, 1, 0, 0, 0, 713, 691, 1, 0, 0, 0, 713, 703, 1, 0, 0, 0, 714, 77, 1, 0, 0, 0, 715, 716, 5, 119, 0, 0, 716, 721, 3, 80, 40, 0, 717, 718, 5, 115, 0, 0, 718, 720, 3, 80, 40, 0, 719, 717, 1, 0, 0, 0, 720, 723, 1, 0, 0, 0, 721, 719, 1, 0, 0, 0, 721, 722, 1, 0, 0, 0, 722, 724, 1, 0, 0, 0, 723, 721, 1, 0, 0, 0, 724, 725, 5, 120, 0, 0, 725, 79, 1, 0, 0, 0, 726, 727, 7, 1, 0, 0, 727, 81, 1, 0, 0, 0, 728, 729, 5, 42, 0, 0, 729, 730, 3, 84, 42, 0, 730, 83, 1, 0, 0, 0, 731, 734, 3, 86, 43, 0, 732, 734, 3, 90, 45, 0, 733, 731, 1, 0, 0, 0, 733, 732, 1, 0, 0, 0, 734, 85, 1, 0, 0, 0, 735, 736, 5, 43, 0, 0, 736, 737, 3, 136, 68, 0, 737, 738, 5, 64, 0, 0, 738, 739, 3, 138, 69, 0, 739, 740, 5, 52, 0, 0, 740, 741, 3, 136, 68, 0, 741, 742, 5, 113, 0, 0, 742, 743, 3, 120, 60, 0, 743, 744, 5, 53, 0, 0, 744, 747, 3, 88, 44, 0, 745, 746, 5, 54, 0, 0, 746, 748, 3, 128, 64, 0, 747, 745, 1, 0, 0, 0, 747, 748, 1, 0, 0, 0, 748, 749, 1, 0, 0, 0, 749, 750, 5, 114, 0, 0, 750, 87, 1, 0, 0, 0, 751, 758, 5, 86, 0, 0, 752, 753, 5, 87, 0, 0, 753, 754, 5, 121, 0, 0, 754, 755, 3, 120, 60, 0, 755, 756, 5, 122, 0, 0, 756, 758, 1, 0, 0, 0, 757, 751, 1, 0, 0, 0, 757, 752, 1, 0, 0, 0, 758, 89, 1, 0, 0, 0, 759, 760, 5, 44, 0, 0, 760, 761, 3, 136, 68, 0, 761, 762, 5, 64, 0, 0, 762, 763, 3, 138, 69, 0, 763, 764, 5, 117, 0, 0, 764, 765, 3, 92, 46, 0, 765, 766, 3, 92, 46, 0, 766, 767, 5, 118, 0, 0, 767, 91, 1, 0, 0, 0, 768, 769, 3, 48, 24, 0, 769, 770, 5, 45, 0, 0, 770, 771, 3, 136, 68, 0, 771, 772, 5, 64, 0, 0, 772, 773, 3, 138, 69, 0, 773, 775, 3, 126, 63, 0, 774, 776, 5, 92, 0, 0, 775, 774, 1, 0, 0, 0, 775, 776, 1, 0, 0, 0, 776, 779, 1, 0, 0, 0, 777, 778, 5, 60, 0, 0, 778, 780, 3, 138, 69, 0, 779, 777, 1, 0, 0, 0, 779, 780, 1, 0, 0, 0, 780, 782, 1, 0, 0, 0, 781, 783, 5, 61, 0, 0, 782, 781, 1, 0, 0, 0, 782, 783, 1, 0, 0, 0, 783, 786, 1, 0, 0, 0, 784, 785, 5, 62, 0, 0, 785, 787, 3, 138, 69, 0, 786, 784, 1, 0, 0, 0, 786, 787, 1, 0, 0, 0, 787, 789, 1, 0, 0, 0, 788, 790, 5, 63, 0, 0, 789, 788, 1, 0, 0, 0, 789, 790, 1, 0, 0, 0, 790, 791, 1, 0, 0, 0, 791, 792, 5, 114, 0, 0, 792, 93, 1, 0, 0, 0, 793, 794, 5, 36, 0, 0, 794, 795, 3, 136, 68, 0, 795, 796, 5, 37, 0, 0, 796, 798, 3, 136, 68, 0, 797, 799, 3, 28, 14, 0, 798, 797, 1, 0, 0, 0, 798, 799, 1, 0, 0, 0, 799, 802, 1, 0, 0, 0, 800, 801, 5, 64, 0, 0, 801, 803, 3, 138, 69, 0, 802, 800, 1, 0, 0, 0, 802, 803, 1, 0, 0, 0, 803, 806, 1, 0, 0, 0, 804, 805, 5, 59, 0, 0, 805, 807, 5, 127, 0, 0, 806, 804, 1, 0, 0, 0, 806, 807, 1, 0, 0, 0, 807, 808, 1, 0, 0, 0, 808, 812, 5, 117, 0, 0, 809, 811, 3, 96, 48, 0, 810, 809, 1, 0, 0, 0, 811, 814, 1, 0, 0, 0, 812, 810, 1, 0, 0, 0, 812, 813, 1, 0, 0, 0, 813, 815, 1, 0, 0, 0, 814, 812, 1, 0, 0, 0, 815, 816, 5, 118, 0, 0, 816, 95, 1, 0, 0, 0, 817, 818, 5, 41, 0, 0, 818, 823, 3, 84, 42, 0, 819, 823, 3, 102, 51, 0, 820, 823, 3, 98, 49, 0, 821, 823, 3, 100, 50, 0, 822, 817, 1, 0, 0, 0, 822, 819, 1, 0, 0, 0, 822, 820, 1, 0, 0, 0, 822, 821, 1, 0, 0, 0, 823, 97, 1, 0, 0, 0, 824, 825, 5, 38, 0, 0, 825, 826, 3, 136, 68, 0, 826, 827, 5, 40, 0, 0, 827, 828, 5, 43, 0, 0, 828, 829, 3, 136, 68, 0, 829, 830, 5, 114, 0, 0, 830, 99, 1, 0, 0, 0, 831, 832, 5, 49, 0, 0, 832, 833, 3, 136, 68, 0, 833, 834, 5, 50, 0, 0, 834, 835, 5, 51, 0, 0, 835, 836, 5, 47, 0, 0, 836, 837, 5, 33, 0, 0, 837, 838, 3, 136, 68, 0, 838, 839, 5, 48, 0, 0, 839, 840, 5, 44, 0, 0, 840, 841, 3, 136, 68, 0, 841, 842, 5, 116, 0, 0, 842, 843, 3, 136, 68, 0, 843, 844, 5, 114, 0, 0, 844, 101, 1, 0, 0, 0, 845, 846, 5, 38, 0, 0, 846, 847, 3, 104, 52, 0, 847, 848, 5, 40, 0, 0, 848, 851, 3, 108, 54, 0, 849, 850, 5, 16, 0, 0, 850, 852, 3, 138, 69, 0, 851, 849, 1, 0, 0, 0, 851, 852, 1, 0, 0, 0, 852, 853, 1, 0, 0, 0, 853, 854, 5, 114, 0, 0, 854, 103, 1, 0, 0, 0, 855, 856, 3, 136, 68, 0, 856, 857, 5, 116, 0, 0, 857, 858, 3, 106, 53, 0, 858, 105, 1, 0, 0, 0, 859, 871, 3, 136, 68, 0, 860, 871, 5, 81, 0, 0, 861, 871, 5, 71, 0, 0, 862, 871, 5, 72, 0, 0, 863, 871, 5, 78, 0, 0, 864, 871, 5, 79, 0, 0, 865, 871, 5, 80, 0, 0, 866, 871, 5, 82, 0, 0, 867, 871, 5, 83, 0, 0, 868, 871, 5, 84, 0, 0, 869, 871, 5, 85, 0, 0, 870, 859, 1, 0, 0, 0, 870, 860, 1, 0, 0, 0, 870, 861, 1, 0, 0, 0, 870, 862, 1, 0, 0, 0, 870, 863, 1, 0, 0, 0, 870, 864, 1, 0, 0, 0, 870, 865, 1, 0, 0, 0, 870, 866, 1, 0, 0, 0, 870, 867, 1, 0, 0, 0, 870, 868, 1, 0, 0, 0, 870, 869, 1, 0, 0, 0, 871, 107, 1, 0, 0, 0, 872, 873, 5, 43, 0, 0, 873, 874, 3, 136, 68, 0, 874, 875, 5, 116, 0, 0, 875, 876, 3, 110, 55, 0, 876, 895, 1, 0, 0, 0, 877, 878, 5, 44, 0, 0, 878, 879, 3, 136, 68, 0, 879, 880, 5, 116, 0, 0, 880, 881, 3, 136, 68, 0, 881, 882, 5, 116, 0, 0, 882, 883, 3, 112, 56, 0, 883, 895, 1, 0, 0, 0, 884, 885, 5, 28, 0, 0, 885, 886, 3, 136, 68, 0, 886, 887, 5, 116, 0, 0, 887, 889, 3, 136, 68, 0, 888, 890, 3, 28, 14, 0, 889, 888, 1, 0, 0, 0, 889, 890, 1, 0, 0, 0, 890, 892, 1, 0, 0, 0, 891, 893, 3, 114, 57, 0, 892, 891, 1, 0, 0, 0, 892, 893, 1, 0, 0, 0, 893, 895, 1, 0, 0, 0, 894, 872, 1, 0, 0, 0, 894, 877, 1, 0, 0, 0, 894, 884, 1, 0, 0, 0, 895, 109, 1, 0, 0, 0, 896, 897, 7, 2, 0, 0, 897, 111, 1, 0, 0, 0, 898, 899, 7, 3, 0, 0, 899, 113, 1, 0, 0, 0, 900, 901, 5, 46, 0, 0, 901, 905, 5, 117, 0, 0, 902, 904, 3, 116, 58, 0, 903, 902, 1, 0, 0, 0, 904, 907, 1, 0, 0, 0, 905, 903, 1, 0, 0, 0, 905, 906, 1, 0, 0, 0, 906, 908, 1, 0, 0, 0, 907, 905, 1, 0, 0, 0, 908, 909, 5, 118, 0, 0, 909, 115, 1, 0, 0, 0, 910, 911, 3, 136, 68, 0, 911, 912, 5, 40, 0, 0, 912, 913, 5, 43, 0, 0, 913, 920, 3, 136, 68, 0, 914, 915, 5, 48, 0, 0, 915, 916, 5, 44, 0, 0, 916, 917, 3, 136, 68, 0, 917, 918, 5, 116, 0, 0, 918, 919, 3, 136, 68, 0, 919, 921, 1, 0, 0, 0, 920, 914, 1, 0, 0, 0, 920, 921, 1, 0, 0, 0, 921, 922, 1, 0, 0, 0, 922, 923, 5, 114, 0, 0, 923, 983, 1, 0, 0, 0, 924, 925, 3, 136, 68, 0, 925, 926, 5, 40, 0, 0, 926, 927, 5, 44, 0, 0, 927, 928, 3, 136, 68, 0, 928, 929, 5, 116, 0, 0, 929, 936, 3, 136, 68, 0, 930, 931, 5, 48, 0, 0, 931, 932, 5, 44, 0, 0, 932, 933, 3, 136, 68, 0, 933, 934, 5, 116, 0, 0, 934, 935, 3, 136, 68, 0, 935, 937, 1, 0, 0, 0, 936, 930, 1, 0, 0, 0, 936, 937, 1, 0, 0, 0, 937, 938, 1, 0, 0, 0, 938, 939, 5, 114, 0, 0, 939, 983, 1, 0, 0, 0, 940, 941, 3, 136, 68, 0, 941, 942, 5, 40, 0, 0, 942, 943, 5, 26, 0, 0, 943, 945, 3, 136, 68, 0, 944, 946, 3, 28, 14, 0, 945, 944, 1, 0, 0, 0, 945, 946, 1, 0, 0, 0, 946, 953, 1, 0, 0, 0, 947, 948, 5, 48, 0, 0, 948, 949, 5, 44, 0, 0, 949, 950, 3, 136, 68, 0, 950, 951, 5, 116, 0, 0, 951, 952, 3, 136, 68, 0, 952, 954, 1, 0, 0, 0, 953, 947, 1, 0, 0, 0, 953, 954, 1, 0, 0, 0, 954, 955, 1, 0, 0, 0, 955, 956, 5, 114, 0, 0, 956, 983, 1, 0, 0, 0, 957, 958, 3, 136, 68, 0, 958, 959, 5, 40, 0, 0, 959, 960, 5, 33, 0, 0, 960, 961, 3, 136, 68, 0, 961, 962, 5, 114, 0, 0, 962, 983, 1, 0, 0, 0, 963, 964, 3, 136, 68, 0, 964, 966, 5, 40, 0, 0, 965, 967, 5, 1, 0, 0, 966, 965, 1, 0, 0, 0, 966, 967, 1, 0, 0, 0, 967, 968, 1, 0, 0, 0, 968, 969, 5, 5, 0, 0, 969, 970, 3, 136, 68, 0, 970, 971, 5, 116, 0, 0, 971, 978, 3, 136, 68, 0, 972, 973, 5, 48, 0, 0, 973, 974, 5, 44, 0, 0, 974, 975, 3, 136, 68, 0, 975, 976, 5, 116, 0, 0, 976, 977, 3, 136, 68, 0, 977, 979, 1, 0, 0, 0, 978, 972, 1, 0, 0, 0, 978, 979, 1, 0, 0, 0, 979, 980, 1, 0, 0, 0, 980, 981, 5, 114, 0, 0, 981, 983, 1, 0, 0, 0, 982, 910, 1, 0, 0, 0, 982, 924, 1, 0, 0, 0, 982, 940, 1, 0, 0, 0, 982, 957, 1, 0, 0, 0, 982, 963, 1, 0, 0, 0, 983, 117, 1, 0, 0, 0, 984, 985, 5, 33, 0, 0, 985, 986, 3, 136, 68, 0, 986, 987, 5, 40, 0, 0, 987, 988, 3, 136, 68, 0, 988, 989, 5, 116, 0, 0, 989, 991, 3, 136, 68, 0, 990, 992, 3, 114, 57, 0, 991, 990, 1, 0, 0, 0, 991, 992, 1, 0, 0, 0, 992, 993, 1, 0, 0, 0, 993, 994, 5, 114, 0, 0, 994, 119, 1, 0, 0, 0, 995, 1042, 3, 124, 62, 0, 996, 1042, 5, 93, 0, 0, 997, 1042, 5, 94, 0, 0, 998, 999, 5, 95, 0, 0, 999, 1042, 3, 138, 69, 0, 1000, 1001, 5, 96, 0, 0, 1001, 1002, 5, 123, 0, 0, 1002, 1003, 3, 136, 68, 0, 1003, 1004, 5, 124, 0, 0, 1004, 1042, 1, 0, 0, 0, 1005, 1006, 5, 97, 0, 0, 1006, 1007, 5, 123, 0, 0, 1007, 1009, 3, 136, 68, 0, 1008, 1010, 3, 28, 14, 0, 1009, 1008, 1, 0, 0, 0, 1009, 1010, 1, 0, 0, 0, 1010, 1011, 1, 0, 0, 0, 1011, 1012, 5, 124, 0, 0, 1012, 1042, 1, 0, 0, 0, 1013, 1014, 5, 21, 0, 0, 1014, 1015, 5, 123, 0, 0, 1015, 1016, 3, 136, 68, 0, 1016, 1017, 5, 124, 0, 0, 1017, 1042, 1, 0, 0, 0, 1018, 1019, 5, 98, 0, 0, 1019, 1020, 5, 123, 0, 0, 1020, 1021, 3, 120, 60, 0, 1021, 1022, 5, 124, 0, 0, 1022, 1042, 1, 0, 0, 0, 1023, 1024, 5, 99, 0, 0, 1024, 1025, 5, 123, 0, 0, 1025, 1026, 3, 120, 60, 0, 1026, 1027, 5, 124, 0, 0, 1027, 1042, 1, 0, 0, 0, 1028, 1029, 5, 100, 0, 0, 1029, 1033, 5, 117, 0, 0, 1030, 1032, 3, 122, 61, 0, 1031, 1030, 1, 0, 0, 0, 1032, 1035, 1, 0, 0, 0, 1033, 1031, 1, 0, 0, 0, 1033, 1034, 1, 0, 0, 0, 1034, 1036, 1, 0, 0, 0, 1035, 1033, 1, 0, 0, 0, 1036, 1042, 5, 118, 0, 0, 1037, 1039, 3, 136, 68, 0, 1038, 1040, 3, 28, 14, 0, 1039, 1038, 1, 0, 0, 0, 1039, 1040, 1, 0, 0, 0, 1040, 1042, 1, 0, 0, 0, 1041, 995, 1, 0, 0, 0, 1041, 996, 1, 0, 0, 0, 1041, 997, 1, 0, 0, 0, 1041, 998, 1, 0, 0, 0, 1041, 1000, 1, 0, 0, 0, 1041, 1005, 1, 0, 0, 0, 1041, 1013, 1, 0, 0, 0, 1041, 1018, 1, 0, 0, 0, 1041, 1023, 1, 0, 0, 0, 1041, 1028, 1, 0, 0, 0, 1041, 1037, 1, 0, 0, 0, 1042, 121, 1, 0, 0, 0, 1043, 1044, 3, 136, 68, 0, 1044, 1045, 5, 113, 0, 0, 1045, 1046, 3, 120, 60, 0, 1046, 1047, 5, 114, 0, 0, 1047, 123, 1, 0, 0, 0, 1048, 1049, 7, 4, 0, 0, 1049, 125, 1, 0, 0, 0, 1050, 1051, 7, 5, 0, 0, 1051, 127, 1, 0, 0, 0, 1052, 1061, 3, 138, 69, 0, 1053, 1061, 5, 127, 0, 0, 1054, 1061, 5, 128, 0, 0, 1055, 1061, 5, 109, 0, 0, 1056, 1061, 5, 110, 0, 0, 1057, 1061, 5, 111, 0, 0, 1058, 1061, 3, 130, 65, 0, 1059, 1061, 3, 134, 67, 0, 1060, 1052, 1, 0, 0, 0, 1060, 1053, 1, 0, 0, 0, 1060, 1054, 1, 0, 0, 0, 1060, 1055, 1, 0, 0, 0, 1060, 1056, 1, 0, 0, 0, 1060, 1057, 1, 0, 0, 0, 1060, 1058, 1, 0, 0, 0, 1060, 1059, 1, 0, 0, 0, 1061, 129, 1, 0, 0, 0, 1062, 1071, 5, 117, 0, 0, 1063, 1068, 3, 132, 66, 0, 1064, 1065, 5, 115, 0, 0, 1065, 1067, 3, 132, 66, 0, 1066, 1064, 1, 0, 0, 0, 1067, 1070, 1, 0, 0, 0, 1068, 1066, 1, 0, 0, 0, 1068, 1069, 1, 0, 0, 0, 1069, 1072, 1, 0, 0, 0, 1070, 1068, 1, 0, 0, 0, 1071, 1063, 1, 0, 0, 0, 1071, 1072, 1, 0, 0, 0, 1072, 1073, 1, 0, 0, 0, 1073, 1074, 5, 118, 0, 0, 1074, 131, 1, 0, 0, 0, 1075, 1076, 3, 138, 69, 0, 1076, 1077, 5, 113, 0, 0, 1077, 1078, 3, 128, 64, 0, 1078, 133, 1, 0, 0, 0, 1079, 1088, 5, 119, 0, 0, 1080, 1085, 3, 128, 64, 0, 1081, 1082, 5, 115, 0, 0, 1082, 1084, 3, 128, 64, 0, 1083, 1081, 1, 0, 0, 0, 1084, 1087, 1, 0, 0, 0, 1085, 1083, 1, 0, 0, 0, 1085, 1086, 1, 0, 0, 0, 1086, 1089, 1, 0, 0, 0, 1087, 1085, 1, 0, 0, 0, 1088, 1080, 1, 0, 0, 0, 1088, 1089, 1, 0, 0, 0, 1089, 1090, 1, 0, 0, 0, 1090, 1091, 5, 120, 0, 0, 1091, 135, 1, 0, 0, 0, 1092, 1093, 7, 6, 0, 0, 1093, 137, 1, 0, 0, 0, 1094, 1095, 5, 130, 0, 0, 1095, 139, 1, 0, 0, 0, 94, 152, 159, 180, 192, 204, 224, 232, 239, 245, 257, 260, 266, 277, 286, 296, 299, 301, 305, 313, 325, 330, 339, 342, 360, 372, 396, 399, 409, 413, 419, 426, 452, 459, 463, 468, 479, 485, 495, 500, 506, 517, 537, 564, 569, 580, 585, 592, 601, 614, 635, 638, 641, 648, 656, 687, 699, 713, 721, 733, 747, 757, 775, 779, 782, 786, 789, 798, 802, 806, 812, 822, 851, 870, 889, 892, 894, 905, 920, 936, 945, 953, 966, 978, 982, 991, 1009, 1033, 1039, 1041, 1060, 1068, 1071, 1085, 1088] \ No newline at end of file +[4, 1, 133, 1105, 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, 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, 153, 8, 0, 1, 1, 1, 1, 1, 1, 5, 1, 158, 8, 1, 10, 1, 12, 1, 161, 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, 179, 8, 3, 10, 3, 12, 3, 182, 9, 3, 1, 3, 1, 3, 1, 4, 1, 4, 1, 4, 1, 4, 1, 4, 1, 4, 1, 4, 3, 4, 193, 8, 4, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 3, 5, 205, 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, 225, 8, 8, 1, 9, 1, 9, 1, 9, 1, 9, 1, 9, 1, 9, 3, 9, 233, 8, 9, 1, 9, 1, 9, 1, 10, 5, 10, 238, 8, 10, 10, 10, 12, 10, 241, 9, 10, 1, 10, 1, 10, 1, 10, 3, 10, 246, 8, 10, 1, 10, 1, 10, 1, 10, 1, 10, 1, 10, 1, 10, 1, 10, 1, 10, 5, 10, 256, 8, 10, 10, 10, 12, 10, 259, 9, 10, 3, 10, 261, 8, 10, 1, 10, 1, 10, 5, 10, 265, 8, 10, 10, 10, 12, 10, 268, 9, 10, 1, 10, 1, 10, 1, 11, 1, 11, 1, 11, 1, 11, 5, 11, 276, 8, 11, 10, 11, 12, 11, 279, 9, 11, 1, 11, 1, 11, 1, 12, 1, 12, 1, 12, 1, 12, 3, 12, 287, 8, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 5, 12, 295, 8, 12, 10, 12, 12, 12, 298, 9, 12, 3, 12, 300, 8, 12, 3, 12, 302, 8, 12, 1, 13, 1, 13, 3, 13, 306, 8, 13, 1, 14, 1, 14, 1, 14, 1, 14, 5, 14, 312, 8, 14, 10, 14, 12, 14, 315, 9, 14, 1, 14, 1, 14, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 3, 15, 326, 8, 15, 1, 16, 1, 16, 1, 16, 3, 16, 331, 8, 16, 1, 16, 1, 16, 1, 16, 1, 16, 1, 17, 1, 17, 1, 17, 3, 17, 340, 8, 17, 1, 18, 3, 18, 343, 8, 18, 1, 18, 1, 18, 1, 18, 1, 18, 1, 18, 1, 18, 1, 18, 1, 18, 1, 18, 1, 18, 1, 18, 1, 18, 1, 18, 1, 18, 1, 18, 1, 19, 3, 19, 361, 8, 19, 1, 19, 1, 19, 1, 19, 1, 19, 1, 19, 1, 19, 1, 19, 1, 19, 5, 19, 371, 8, 19, 10, 19, 12, 19, 374, 9, 19, 1, 19, 1, 19, 1, 20, 1, 20, 1, 20, 1, 20, 1, 20, 1, 20, 1, 20, 1, 20, 1, 20, 1, 20, 1, 20, 1, 20, 1, 20, 1, 20, 1, 20, 1, 20, 1, 20, 1, 20, 1, 20, 3, 20, 397, 8, 20, 1, 21, 3, 21, 400, 8, 21, 1, 21, 1, 21, 1, 21, 1, 21, 1, 21, 1, 21, 1, 21, 1, 21, 3, 21, 410, 8, 21, 1, 21, 1, 21, 3, 21, 414, 8, 21, 1, 21, 1, 21, 5, 21, 418, 8, 21, 10, 21, 12, 21, 421, 9, 21, 1, 21, 1, 21, 1, 22, 1, 22, 3, 22, 427, 8, 22, 1, 23, 1, 23, 1, 23, 1, 23, 1, 23, 1, 23, 1, 23, 1, 23, 1, 23, 1, 23, 1, 23, 1, 23, 1, 23, 1, 23, 1, 23, 1, 23, 1, 23, 1, 23, 1, 23, 1, 23, 1, 23, 1, 23, 1, 23, 1, 23, 3, 23, 453, 8, 23, 1, 24, 1, 24, 1, 24, 1, 24, 1, 24, 3, 24, 460, 8, 24, 1, 24, 1, 24, 3, 24, 464, 8, 24, 1, 25, 5, 25, 467, 8, 25, 10, 25, 12, 25, 470, 9, 25, 1, 25, 1, 25, 1, 25, 1, 25, 1, 25, 1, 25, 1, 25, 1, 25, 3, 25, 480, 8, 25, 1, 25, 1, 25, 5, 25, 484, 8, 25, 10, 25, 12, 25, 487, 9, 25, 1, 25, 1, 25, 1, 26, 1, 26, 1, 26, 1, 26, 1, 26, 3, 26, 496, 8, 26, 1, 27, 1, 27, 1, 27, 3, 27, 501, 8, 27, 1, 27, 1, 27, 1, 27, 1, 27, 3, 27, 507, 8, 27, 1, 27, 1, 27, 1, 27, 1, 27, 1, 27, 1, 27, 1, 27, 5, 27, 516, 8, 27, 10, 27, 12, 27, 519, 9, 27, 1, 27, 1, 27, 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, 3, 29, 538, 8, 29, 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, 29, 1, 29, 1, 29, 1, 29, 1, 29, 1, 29, 1, 29, 1, 29, 1, 29, 1, 29, 1, 29, 1, 29, 1, 29, 3, 29, 565, 8, 29, 1, 30, 1, 30, 1, 30, 3, 30, 570, 8, 30, 1, 30, 1, 30, 1, 30, 1, 30, 1, 30, 1, 30, 1, 30, 1, 30, 1, 30, 3, 30, 581, 8, 30, 1, 30, 1, 30, 1, 30, 3, 30, 586, 8, 30, 1, 30, 1, 30, 1, 31, 1, 31, 1, 31, 3, 31, 593, 8, 31, 1, 31, 1, 31, 1, 31, 1, 31, 1, 31, 1, 31, 1, 31, 3, 31, 602, 8, 31, 1, 31, 1, 31, 1, 32, 1, 32, 1, 32, 1, 32, 1, 32, 1, 32, 1, 32, 1, 32, 1, 32, 3, 32, 615, 8, 32, 1, 32, 1, 32, 1, 33, 1, 33, 1, 33, 1, 34, 1, 34, 1, 35, 1, 35, 1, 35, 1, 35, 1, 35, 1, 35, 1, 35, 1, 35, 1, 35, 1, 35, 5, 35, 634, 8, 35, 10, 35, 12, 35, 637, 9, 35, 3, 35, 639, 8, 35, 1, 35, 3, 35, 642, 8, 35, 1, 36, 1, 36, 1, 36, 5, 36, 647, 8, 36, 10, 36, 12, 36, 650, 9, 36, 1, 37, 1, 37, 1, 37, 5, 37, 655, 8, 37, 10, 37, 12, 37, 658, 9, 37, 1, 37, 1, 37, 1, 38, 1, 38, 1, 38, 1, 38, 1, 38, 1, 38, 1, 38, 1, 38, 1, 38, 1, 38, 1, 38, 1, 38, 1, 38, 1, 38, 1, 38, 1, 38, 1, 38, 1, 38, 1, 38, 1, 38, 1, 38, 1, 38, 1, 38, 1, 38, 1, 38, 1, 38, 3, 38, 688, 8, 38, 1, 38, 1, 38, 1, 38, 1, 38, 1, 38, 1, 38, 1, 38, 1, 38, 1, 38, 1, 38, 3, 38, 700, 8, 38, 1, 38, 1, 38, 1, 38, 1, 38, 1, 38, 1, 38, 1, 38, 1, 38, 1, 38, 1, 38, 1, 38, 1, 38, 3, 38, 714, 8, 38, 1, 39, 1, 39, 1, 39, 1, 39, 5, 39, 720, 8, 39, 10, 39, 12, 39, 723, 9, 39, 1, 39, 1, 39, 1, 40, 1, 40, 1, 41, 1, 41, 1, 41, 1, 42, 1, 42, 3, 42, 734, 8, 42, 1, 43, 1, 43, 1, 43, 1, 43, 1, 43, 1, 43, 1, 43, 1, 43, 1, 43, 1, 43, 1, 43, 1, 43, 3, 43, 748, 8, 43, 1, 43, 1, 43, 1, 44, 1, 44, 1, 44, 1, 44, 1, 44, 1, 44, 3, 44, 758, 8, 44, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 46, 1, 46, 1, 46, 1, 46, 1, 46, 1, 46, 1, 46, 3, 46, 776, 8, 46, 1, 46, 1, 46, 3, 46, 780, 8, 46, 1, 46, 3, 46, 783, 8, 46, 1, 46, 1, 46, 3, 46, 787, 8, 46, 1, 46, 3, 46, 790, 8, 46, 1, 46, 1, 46, 1, 47, 1, 47, 1, 47, 1, 47, 1, 47, 3, 47, 799, 8, 47, 1, 47, 1, 47, 3, 47, 803, 8, 47, 1, 47, 1, 47, 3, 47, 807, 8, 47, 1, 47, 1, 47, 5, 47, 811, 8, 47, 10, 47, 12, 47, 814, 9, 47, 1, 47, 1, 47, 1, 48, 1, 48, 1, 48, 1, 48, 1, 48, 3, 48, 823, 8, 48, 1, 49, 1, 49, 1, 49, 1, 49, 1, 49, 1, 49, 1, 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, 1, 50, 1, 50, 1, 51, 1, 51, 1, 51, 1, 51, 1, 51, 1, 51, 3, 51, 852, 8, 51, 1, 51, 1, 51, 1, 52, 1, 52, 1, 52, 1, 52, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 3, 53, 871, 8, 53, 1, 54, 1, 54, 1, 54, 1, 54, 1, 54, 1, 54, 1, 54, 1, 54, 1, 54, 1, 54, 1, 54, 1, 54, 1, 54, 1, 54, 1, 54, 3, 54, 888, 8, 54, 1, 54, 1, 54, 1, 54, 1, 54, 1, 54, 1, 54, 1, 54, 1, 54, 3, 54, 898, 8, 54, 1, 54, 3, 54, 901, 8, 54, 3, 54, 903, 8, 54, 1, 55, 1, 55, 1, 56, 1, 56, 1, 57, 1, 57, 1, 57, 5, 57, 912, 8, 57, 10, 57, 12, 57, 915, 9, 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, 3, 58, 929, 8, 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, 1, 58, 3, 58, 945, 8, 58, 1, 58, 1, 58, 1, 58, 1, 58, 1, 58, 1, 58, 1, 58, 3, 58, 954, 8, 58, 1, 58, 1, 58, 1, 58, 1, 58, 1, 58, 1, 58, 3, 58, 962, 8, 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, 975, 8, 58, 1, 58, 1, 58, 1, 58, 1, 58, 1, 58, 1, 58, 1, 58, 1, 58, 1, 58, 1, 58, 3, 58, 987, 8, 58, 1, 58, 1, 58, 3, 58, 991, 8, 58, 1, 59, 1, 59, 1, 59, 1, 59, 1, 59, 1, 59, 1, 59, 3, 59, 1000, 8, 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, 3, 60, 1018, 8, 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, 60, 1, 60, 1, 60, 1, 60, 1, 60, 1, 60, 1, 60, 5, 60, 1040, 8, 60, 10, 60, 12, 60, 1043, 9, 60, 1, 60, 1, 60, 1, 60, 3, 60, 1048, 8, 60, 3, 60, 1050, 8, 60, 1, 61, 1, 61, 1, 61, 1, 61, 1, 61, 1, 62, 1, 62, 1, 63, 1, 63, 1, 64, 1, 64, 1, 64, 1, 64, 1, 64, 1, 64, 1, 64, 1, 64, 3, 64, 1069, 8, 64, 1, 65, 1, 65, 1, 65, 1, 65, 5, 65, 1075, 8, 65, 10, 65, 12, 65, 1078, 9, 65, 3, 65, 1080, 8, 65, 1, 65, 1, 65, 1, 66, 1, 66, 1, 66, 1, 66, 1, 67, 1, 67, 1, 67, 1, 67, 5, 67, 1092, 8, 67, 10, 67, 12, 67, 1095, 9, 67, 3, 67, 1097, 8, 67, 1, 67, 1, 67, 1, 68, 1, 68, 1, 69, 1, 69, 1, 69, 0, 0, 70, 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, 0, 7, 1, 0, 81, 85, 2, 0, 76, 80, 82, 83, 2, 0, 76, 77, 82, 83, 2, 0, 78, 80, 82, 83, 1, 0, 101, 108, 1, 0, 88, 91, 3, 0, 2, 15, 55, 55, 129, 129, 1188, 0, 152, 1, 0, 0, 0, 2, 154, 1, 0, 0, 0, 4, 164, 1, 0, 0, 0, 6, 168, 1, 0, 0, 0, 8, 192, 1, 0, 0, 0, 10, 204, 1, 0, 0, 0, 12, 206, 1, 0, 0, 0, 14, 213, 1, 0, 0, 0, 16, 224, 1, 0, 0, 0, 18, 226, 1, 0, 0, 0, 20, 239, 1, 0, 0, 0, 22, 271, 1, 0, 0, 0, 24, 301, 1, 0, 0, 0, 26, 303, 1, 0, 0, 0, 28, 307, 1, 0, 0, 0, 30, 325, 1, 0, 0, 0, 32, 327, 1, 0, 0, 0, 34, 339, 1, 0, 0, 0, 36, 342, 1, 0, 0, 0, 38, 360, 1, 0, 0, 0, 40, 396, 1, 0, 0, 0, 42, 399, 1, 0, 0, 0, 44, 424, 1, 0, 0, 0, 46, 452, 1, 0, 0, 0, 48, 463, 1, 0, 0, 0, 50, 468, 1, 0, 0, 0, 52, 495, 1, 0, 0, 0, 54, 497, 1, 0, 0, 0, 56, 522, 1, 0, 0, 0, 58, 564, 1, 0, 0, 0, 60, 566, 1, 0, 0, 0, 62, 589, 1, 0, 0, 0, 64, 605, 1, 0, 0, 0, 66, 618, 1, 0, 0, 0, 68, 621, 1, 0, 0, 0, 70, 641, 1, 0, 0, 0, 72, 643, 1, 0, 0, 0, 74, 651, 1, 0, 0, 0, 76, 713, 1, 0, 0, 0, 78, 715, 1, 0, 0, 0, 80, 726, 1, 0, 0, 0, 82, 728, 1, 0, 0, 0, 84, 733, 1, 0, 0, 0, 86, 735, 1, 0, 0, 0, 88, 757, 1, 0, 0, 0, 90, 759, 1, 0, 0, 0, 92, 768, 1, 0, 0, 0, 94, 793, 1, 0, 0, 0, 96, 822, 1, 0, 0, 0, 98, 824, 1, 0, 0, 0, 100, 831, 1, 0, 0, 0, 102, 845, 1, 0, 0, 0, 104, 855, 1, 0, 0, 0, 106, 870, 1, 0, 0, 0, 108, 902, 1, 0, 0, 0, 110, 904, 1, 0, 0, 0, 112, 906, 1, 0, 0, 0, 114, 908, 1, 0, 0, 0, 116, 990, 1, 0, 0, 0, 118, 992, 1, 0, 0, 0, 120, 1049, 1, 0, 0, 0, 122, 1051, 1, 0, 0, 0, 124, 1056, 1, 0, 0, 0, 126, 1058, 1, 0, 0, 0, 128, 1068, 1, 0, 0, 0, 130, 1070, 1, 0, 0, 0, 132, 1083, 1, 0, 0, 0, 134, 1087, 1, 0, 0, 0, 136, 1100, 1, 0, 0, 0, 138, 1102, 1, 0, 0, 0, 140, 141, 3, 6, 3, 0, 141, 142, 5, 0, 0, 1, 142, 153, 1, 0, 0, 0, 143, 144, 3, 20, 10, 0, 144, 145, 5, 0, 0, 1, 145, 153, 1, 0, 0, 0, 146, 147, 3, 50, 25, 0, 147, 148, 5, 0, 0, 1, 148, 153, 1, 0, 0, 0, 149, 150, 3, 2, 1, 0, 150, 151, 5, 0, 0, 1, 151, 153, 1, 0, 0, 0, 152, 140, 1, 0, 0, 0, 152, 143, 1, 0, 0, 0, 152, 146, 1, 0, 0, 0, 152, 149, 1, 0, 0, 0, 153, 1, 1, 0, 0, 0, 154, 155, 5, 22, 0, 0, 155, 159, 5, 117, 0, 0, 156, 158, 3, 8, 4, 0, 157, 156, 1, 0, 0, 0, 158, 161, 1, 0, 0, 0, 159, 157, 1, 0, 0, 0, 159, 160, 1, 0, 0, 0, 160, 162, 1, 0, 0, 0, 161, 159, 1, 0, 0, 0, 162, 163, 5, 118, 0, 0, 163, 3, 1, 0, 0, 0, 164, 165, 5, 23, 0, 0, 165, 166, 3, 138, 69, 0, 166, 167, 5, 114, 0, 0, 167, 5, 1, 0, 0, 0, 168, 169, 5, 1, 0, 0, 169, 170, 3, 136, 68, 0, 170, 171, 5, 64, 0, 0, 171, 172, 3, 138, 69, 0, 172, 173, 5, 58, 0, 0, 173, 174, 3, 138, 69, 0, 174, 175, 5, 57, 0, 0, 175, 176, 3, 138, 69, 0, 176, 180, 5, 117, 0, 0, 177, 179, 3, 8, 4, 0, 178, 177, 1, 0, 0, 0, 179, 182, 1, 0, 0, 0, 180, 178, 1, 0, 0, 0, 180, 181, 1, 0, 0, 0, 181, 183, 1, 0, 0, 0, 182, 180, 1, 0, 0, 0, 183, 184, 5, 118, 0, 0, 184, 7, 1, 0, 0, 0, 185, 193, 3, 4, 2, 0, 186, 193, 3, 18, 9, 0, 187, 193, 3, 10, 5, 0, 188, 193, 3, 82, 41, 0, 189, 193, 3, 94, 47, 0, 190, 193, 3, 118, 59, 0, 191, 193, 3, 32, 16, 0, 192, 185, 1, 0, 0, 0, 192, 186, 1, 0, 0, 0, 192, 187, 1, 0, 0, 0, 192, 188, 1, 0, 0, 0, 192, 189, 1, 0, 0, 0, 192, 190, 1, 0, 0, 0, 192, 191, 1, 0, 0, 0, 193, 9, 1, 0, 0, 0, 194, 195, 5, 23, 0, 0, 195, 196, 5, 26, 0, 0, 196, 197, 3, 136, 68, 0, 197, 198, 5, 114, 0, 0, 198, 205, 1, 0, 0, 0, 199, 200, 5, 23, 0, 0, 200, 201, 5, 28, 0, 0, 201, 202, 3, 136, 68, 0, 202, 203, 5, 114, 0, 0, 203, 205, 1, 0, 0, 0, 204, 194, 1, 0, 0, 0, 204, 199, 1, 0, 0, 0, 205, 11, 1, 0, 0, 0, 206, 207, 5, 24, 0, 0, 207, 208, 5, 25, 0, 0, 208, 209, 3, 136, 68, 0, 209, 210, 5, 64, 0, 0, 210, 211, 3, 138, 69, 0, 211, 212, 5, 114, 0, 0, 212, 13, 1, 0, 0, 0, 213, 214, 5, 24, 0, 0, 214, 215, 5, 26, 0, 0, 215, 216, 3, 136, 68, 0, 216, 217, 5, 58, 0, 0, 217, 218, 3, 138, 69, 0, 218, 219, 5, 114, 0, 0, 219, 15, 1, 0, 0, 0, 220, 225, 3, 10, 5, 0, 221, 225, 3, 12, 6, 0, 222, 225, 3, 14, 7, 0, 223, 225, 3, 32, 16, 0, 224, 220, 1, 0, 0, 0, 224, 221, 1, 0, 0, 0, 224, 222, 1, 0, 0, 0, 224, 223, 1, 0, 0, 0, 225, 17, 1, 0, 0, 0, 226, 227, 5, 25, 0, 0, 227, 228, 3, 136, 68, 0, 228, 229, 5, 64, 0, 0, 229, 232, 3, 138, 69, 0, 230, 231, 5, 65, 0, 0, 231, 233, 3, 138, 69, 0, 232, 230, 1, 0, 0, 0, 232, 233, 1, 0, 0, 0, 233, 234, 1, 0, 0, 0, 234, 235, 5, 114, 0, 0, 235, 19, 1, 0, 0, 0, 236, 238, 3, 16, 8, 0, 237, 236, 1, 0, 0, 0, 238, 241, 1, 0, 0, 0, 239, 237, 1, 0, 0, 0, 239, 240, 1, 0, 0, 0, 240, 242, 1, 0, 0, 0, 241, 239, 1, 0, 0, 0, 242, 243, 5, 26, 0, 0, 243, 245, 3, 136, 68, 0, 244, 246, 3, 22, 11, 0, 245, 244, 1, 0, 0, 0, 245, 246, 1, 0, 0, 0, 246, 247, 1, 0, 0, 0, 247, 248, 5, 64, 0, 0, 248, 249, 3, 138, 69, 0, 249, 250, 5, 58, 0, 0, 250, 260, 3, 138, 69, 0, 251, 252, 5, 69, 0, 0, 252, 257, 3, 26, 13, 0, 253, 254, 5, 115, 0, 0, 254, 256, 3, 26, 13, 0, 255, 253, 1, 0, 0, 0, 256, 259, 1, 0, 0, 0, 257, 255, 1, 0, 0, 0, 257, 258, 1, 0, 0, 0, 258, 261, 1, 0, 0, 0, 259, 257, 1, 0, 0, 0, 260, 251, 1, 0, 0, 0, 260, 261, 1, 0, 0, 0, 261, 262, 1, 0, 0, 0, 262, 266, 5, 117, 0, 0, 263, 265, 3, 34, 17, 0, 264, 263, 1, 0, 0, 0, 265, 268, 1, 0, 0, 0, 266, 264, 1, 0, 0, 0, 266, 267, 1, 0, 0, 0, 267, 269, 1, 0, 0, 0, 268, 266, 1, 0, 0, 0, 269, 270, 5, 118, 0, 0, 270, 21, 1, 0, 0, 0, 271, 272, 5, 123, 0, 0, 272, 277, 3, 24, 12, 0, 273, 274, 5, 115, 0, 0, 274, 276, 3, 24, 12, 0, 275, 273, 1, 0, 0, 0, 276, 279, 1, 0, 0, 0, 277, 275, 1, 0, 0, 0, 277, 278, 1, 0, 0, 0, 278, 280, 1, 0, 0, 0, 279, 277, 1, 0, 0, 0, 280, 281, 5, 124, 0, 0, 281, 23, 1, 0, 0, 0, 282, 283, 5, 29, 0, 0, 283, 286, 3, 136, 68, 0, 284, 285, 5, 113, 0, 0, 285, 287, 5, 19, 0, 0, 286, 284, 1, 0, 0, 0, 286, 287, 1, 0, 0, 0, 287, 302, 1, 0, 0, 0, 288, 289, 5, 18, 0, 0, 289, 299, 3, 136, 68, 0, 290, 291, 5, 20, 0, 0, 291, 296, 3, 26, 13, 0, 292, 293, 5, 125, 0, 0, 293, 295, 3, 26, 13, 0, 294, 292, 1, 0, 0, 0, 295, 298, 1, 0, 0, 0, 296, 294, 1, 0, 0, 0, 296, 297, 1, 0, 0, 0, 297, 300, 1, 0, 0, 0, 298, 296, 1, 0, 0, 0, 299, 290, 1, 0, 0, 0, 299, 300, 1, 0, 0, 0, 300, 302, 1, 0, 0, 0, 301, 282, 1, 0, 0, 0, 301, 288, 1, 0, 0, 0, 302, 25, 1, 0, 0, 0, 303, 305, 3, 136, 68, 0, 304, 306, 3, 28, 14, 0, 305, 304, 1, 0, 0, 0, 305, 306, 1, 0, 0, 0, 306, 27, 1, 0, 0, 0, 307, 308, 5, 123, 0, 0, 308, 313, 3, 30, 15, 0, 309, 310, 5, 115, 0, 0, 310, 312, 3, 30, 15, 0, 311, 309, 1, 0, 0, 0, 312, 315, 1, 0, 0, 0, 313, 311, 1, 0, 0, 0, 313, 314, 1, 0, 0, 0, 314, 316, 1, 0, 0, 0, 315, 313, 1, 0, 0, 0, 316, 317, 5, 124, 0, 0, 317, 29, 1, 0, 0, 0, 318, 319, 5, 25, 0, 0, 319, 326, 3, 136, 68, 0, 320, 321, 5, 26, 0, 0, 321, 326, 3, 26, 13, 0, 322, 323, 5, 18, 0, 0, 323, 326, 3, 136, 68, 0, 324, 326, 3, 120, 60, 0, 325, 318, 1, 0, 0, 0, 325, 320, 1, 0, 0, 0, 325, 322, 1, 0, 0, 0, 325, 324, 1, 0, 0, 0, 326, 31, 1, 0, 0, 0, 327, 328, 5, 17, 0, 0, 328, 330, 3, 136, 68, 0, 329, 331, 3, 22, 11, 0, 330, 329, 1, 0, 0, 0, 330, 331, 1, 0, 0, 0, 331, 332, 1, 0, 0, 0, 332, 333, 5, 126, 0, 0, 333, 334, 3, 120, 60, 0, 334, 335, 5, 114, 0, 0, 335, 33, 1, 0, 0, 0, 336, 340, 3, 38, 19, 0, 337, 340, 3, 42, 21, 0, 338, 340, 3, 36, 18, 0, 339, 336, 1, 0, 0, 0, 339, 337, 1, 0, 0, 0, 339, 338, 1, 0, 0, 0, 340, 35, 1, 0, 0, 0, 341, 343, 5, 39, 0, 0, 342, 341, 1, 0, 0, 0, 342, 343, 1, 0, 0, 0, 343, 344, 1, 0, 0, 0, 344, 345, 5, 31, 0, 0, 345, 346, 3, 136, 68, 0, 346, 347, 5, 64, 0, 0, 347, 348, 3, 138, 69, 0, 348, 349, 5, 113, 0, 0, 349, 350, 3, 120, 60, 0, 350, 351, 5, 112, 0, 0, 351, 352, 3, 120, 60, 0, 352, 353, 5, 117, 0, 0, 353, 354, 5, 81, 0, 0, 354, 355, 5, 64, 0, 0, 355, 356, 3, 138, 69, 0, 356, 357, 5, 114, 0, 0, 357, 358, 5, 118, 0, 0, 358, 37, 1, 0, 0, 0, 359, 361, 3, 44, 22, 0, 360, 359, 1, 0, 0, 0, 360, 361, 1, 0, 0, 0, 361, 362, 1, 0, 0, 0, 362, 363, 5, 29, 0, 0, 363, 364, 3, 136, 68, 0, 364, 365, 5, 64, 0, 0, 365, 366, 3, 138, 69, 0, 366, 367, 5, 113, 0, 0, 367, 368, 3, 120, 60, 0, 368, 372, 5, 117, 0, 0, 369, 371, 3, 40, 20, 0, 370, 369, 1, 0, 0, 0, 371, 374, 1, 0, 0, 0, 372, 370, 1, 0, 0, 0, 372, 373, 1, 0, 0, 0, 373, 375, 1, 0, 0, 0, 374, 372, 1, 0, 0, 0, 375, 376, 5, 118, 0, 0, 376, 39, 1, 0, 0, 0, 377, 378, 5, 71, 0, 0, 378, 379, 5, 64, 0, 0, 379, 380, 3, 138, 69, 0, 380, 381, 5, 114, 0, 0, 381, 397, 1, 0, 0, 0, 382, 383, 5, 72, 0, 0, 383, 384, 5, 64, 0, 0, 384, 385, 3, 138, 69, 0, 385, 386, 5, 114, 0, 0, 386, 397, 1, 0, 0, 0, 387, 388, 5, 73, 0, 0, 388, 389, 5, 74, 0, 0, 389, 390, 5, 64, 0, 0, 390, 391, 3, 138, 69, 0, 391, 392, 5, 75, 0, 0, 392, 393, 5, 64, 0, 0, 393, 394, 3, 138, 69, 0, 394, 395, 5, 114, 0, 0, 395, 397, 1, 0, 0, 0, 396, 377, 1, 0, 0, 0, 396, 382, 1, 0, 0, 0, 396, 387, 1, 0, 0, 0, 397, 41, 1, 0, 0, 0, 398, 400, 3, 44, 22, 0, 399, 398, 1, 0, 0, 0, 399, 400, 1, 0, 0, 0, 400, 401, 1, 0, 0, 0, 401, 402, 5, 30, 0, 0, 402, 403, 3, 136, 68, 0, 403, 404, 5, 64, 0, 0, 404, 405, 3, 138, 69, 0, 405, 406, 5, 113, 0, 0, 406, 407, 3, 126, 63, 0, 407, 409, 3, 48, 24, 0, 408, 410, 5, 92, 0, 0, 409, 408, 1, 0, 0, 0, 409, 410, 1, 0, 0, 0, 410, 413, 1, 0, 0, 0, 411, 412, 5, 62, 0, 0, 412, 414, 3, 138, 69, 0, 413, 411, 1, 0, 0, 0, 413, 414, 1, 0, 0, 0, 414, 415, 1, 0, 0, 0, 415, 419, 5, 117, 0, 0, 416, 418, 3, 46, 23, 0, 417, 416, 1, 0, 0, 0, 418, 421, 1, 0, 0, 0, 419, 417, 1, 0, 0, 0, 419, 420, 1, 0, 0, 0, 420, 422, 1, 0, 0, 0, 421, 419, 1, 0, 0, 0, 422, 423, 5, 118, 0, 0, 423, 43, 1, 0, 0, 0, 424, 426, 5, 14, 0, 0, 425, 427, 5, 15, 0, 0, 426, 425, 1, 0, 0, 0, 426, 427, 1, 0, 0, 0, 427, 45, 1, 0, 0, 0, 428, 429, 5, 78, 0, 0, 429, 430, 5, 64, 0, 0, 430, 431, 3, 138, 69, 0, 431, 432, 5, 114, 0, 0, 432, 453, 1, 0, 0, 0, 433, 434, 5, 79, 0, 0, 434, 435, 5, 64, 0, 0, 435, 436, 3, 138, 69, 0, 436, 437, 5, 114, 0, 0, 437, 453, 1, 0, 0, 0, 438, 439, 5, 80, 0, 0, 439, 440, 5, 64, 0, 0, 440, 441, 3, 138, 69, 0, 441, 442, 5, 114, 0, 0, 442, 453, 1, 0, 0, 0, 443, 444, 5, 73, 0, 0, 444, 445, 5, 74, 0, 0, 445, 446, 5, 64, 0, 0, 446, 447, 3, 138, 69, 0, 447, 448, 5, 75, 0, 0, 448, 449, 5, 64, 0, 0, 449, 450, 3, 138, 69, 0, 450, 451, 5, 114, 0, 0, 451, 453, 1, 0, 0, 0, 452, 428, 1, 0, 0, 0, 452, 433, 1, 0, 0, 0, 452, 438, 1, 0, 0, 0, 452, 443, 1, 0, 0, 0, 453, 47, 1, 0, 0, 0, 454, 455, 5, 25, 0, 0, 455, 464, 3, 136, 68, 0, 456, 457, 5, 26, 0, 0, 457, 459, 3, 136, 68, 0, 458, 460, 3, 28, 14, 0, 459, 458, 1, 0, 0, 0, 459, 460, 1, 0, 0, 0, 460, 464, 1, 0, 0, 0, 461, 462, 5, 18, 0, 0, 462, 464, 3, 136, 68, 0, 463, 454, 1, 0, 0, 0, 463, 456, 1, 0, 0, 0, 463, 461, 1, 0, 0, 0, 464, 49, 1, 0, 0, 0, 465, 467, 3, 16, 8, 0, 466, 465, 1, 0, 0, 0, 467, 470, 1, 0, 0, 0, 468, 466, 1, 0, 0, 0, 468, 469, 1, 0, 0, 0, 469, 471, 1, 0, 0, 0, 470, 468, 1, 0, 0, 0, 471, 472, 5, 28, 0, 0, 472, 473, 3, 136, 68, 0, 473, 474, 5, 64, 0, 0, 474, 475, 3, 138, 69, 0, 475, 476, 5, 58, 0, 0, 476, 479, 3, 138, 69, 0, 477, 478, 5, 59, 0, 0, 478, 480, 5, 127, 0, 0, 479, 477, 1, 0, 0, 0, 479, 480, 1, 0, 0, 0, 480, 481, 1, 0, 0, 0, 481, 485, 5, 117, 0, 0, 482, 484, 3, 52, 26, 0, 483, 482, 1, 0, 0, 0, 484, 487, 1, 0, 0, 0, 485, 483, 1, 0, 0, 0, 485, 486, 1, 0, 0, 0, 486, 488, 1, 0, 0, 0, 487, 485, 1, 0, 0, 0, 488, 489, 5, 118, 0, 0, 489, 51, 1, 0, 0, 0, 490, 496, 3, 60, 30, 0, 491, 496, 3, 62, 31, 0, 492, 496, 3, 64, 32, 0, 493, 496, 3, 54, 27, 0, 494, 496, 3, 56, 28, 0, 495, 490, 1, 0, 0, 0, 495, 491, 1, 0, 0, 0, 495, 492, 1, 0, 0, 0, 495, 493, 1, 0, 0, 0, 495, 494, 1, 0, 0, 0, 496, 53, 1, 0, 0, 0, 497, 498, 5, 5, 0, 0, 498, 500, 3, 136, 68, 0, 499, 501, 3, 22, 11, 0, 500, 499, 1, 0, 0, 0, 500, 501, 1, 0, 0, 0, 501, 502, 1, 0, 0, 0, 502, 503, 5, 64, 0, 0, 503, 504, 3, 138, 69, 0, 504, 506, 5, 7, 0, 0, 505, 507, 5, 1, 0, 0, 506, 505, 1, 0, 0, 0, 506, 507, 1, 0, 0, 0, 507, 508, 1, 0, 0, 0, 508, 509, 3, 26, 13, 0, 509, 510, 5, 8, 0, 0, 510, 511, 3, 138, 69, 0, 511, 512, 5, 31, 0, 0, 512, 513, 3, 138, 69, 0, 513, 517, 5, 117, 0, 0, 514, 516, 3, 58, 29, 0, 515, 514, 1, 0, 0, 0, 516, 519, 1, 0, 0, 0, 517, 515, 1, 0, 0, 0, 517, 518, 1, 0, 0, 0, 518, 520, 1, 0, 0, 0, 519, 517, 1, 0, 0, 0, 520, 521, 5, 118, 0, 0, 521, 55, 1, 0, 0, 0, 522, 523, 5, 5, 0, 0, 523, 524, 3, 136, 68, 0, 524, 525, 5, 64, 0, 0, 525, 526, 3, 138, 69, 0, 526, 527, 5, 6, 0, 0, 527, 528, 3, 136, 68, 0, 528, 529, 3, 28, 14, 0, 529, 530, 5, 114, 0, 0, 530, 57, 1, 0, 0, 0, 531, 532, 5, 9, 0, 0, 532, 533, 3, 138, 69, 0, 533, 534, 5, 114, 0, 0, 534, 565, 1, 0, 0, 0, 535, 537, 5, 10, 0, 0, 536, 538, 5, 18, 0, 0, 537, 536, 1, 0, 0, 0, 537, 538, 1, 0, 0, 0, 538, 539, 1, 0, 0, 0, 539, 540, 3, 136, 68, 0, 540, 541, 5, 37, 0, 0, 541, 542, 3, 26, 13, 0, 542, 543, 5, 114, 0, 0, 543, 565, 1, 0, 0, 0, 544, 545, 5, 11, 0, 0, 545, 546, 3, 136, 68, 0, 546, 547, 5, 127, 0, 0, 547, 548, 5, 114, 0, 0, 548, 565, 1, 0, 0, 0, 549, 550, 5, 12, 0, 0, 550, 551, 3, 26, 13, 0, 551, 552, 5, 116, 0, 0, 552, 553, 3, 136, 68, 0, 553, 554, 3, 136, 68, 0, 554, 555, 3, 138, 69, 0, 555, 556, 5, 114, 0, 0, 556, 565, 1, 0, 0, 0, 557, 558, 5, 73, 0, 0, 558, 565, 5, 114, 0, 0, 559, 560, 5, 13, 0, 0, 560, 561, 5, 127, 0, 0, 561, 562, 3, 138, 69, 0, 562, 563, 5, 114, 0, 0, 563, 565, 1, 0, 0, 0, 564, 531, 1, 0, 0, 0, 564, 535, 1, 0, 0, 0, 564, 544, 1, 0, 0, 0, 564, 549, 1, 0, 0, 0, 564, 557, 1, 0, 0, 0, 564, 559, 1, 0, 0, 0, 565, 59, 1, 0, 0, 0, 566, 567, 5, 31, 0, 0, 567, 569, 3, 136, 68, 0, 568, 570, 3, 22, 11, 0, 569, 568, 1, 0, 0, 0, 569, 570, 1, 0, 0, 0, 570, 571, 1, 0, 0, 0, 571, 572, 5, 64, 0, 0, 572, 573, 3, 138, 69, 0, 573, 574, 5, 113, 0, 0, 574, 575, 3, 120, 60, 0, 575, 576, 5, 112, 0, 0, 576, 577, 3, 120, 60, 0, 577, 578, 5, 66, 0, 0, 578, 580, 3, 68, 34, 0, 579, 581, 3, 66, 33, 0, 580, 579, 1, 0, 0, 0, 580, 581, 1, 0, 0, 0, 581, 582, 1, 0, 0, 0, 582, 583, 5, 68, 0, 0, 583, 585, 3, 70, 35, 0, 584, 586, 3, 74, 37, 0, 585, 584, 1, 0, 0, 0, 585, 586, 1, 0, 0, 0, 586, 587, 1, 0, 0, 0, 587, 588, 5, 114, 0, 0, 588, 61, 1, 0, 0, 0, 589, 590, 5, 32, 0, 0, 590, 592, 3, 136, 68, 0, 591, 593, 3, 22, 11, 0, 592, 591, 1, 0, 0, 0, 592, 593, 1, 0, 0, 0, 593, 594, 1, 0, 0, 0, 594, 595, 5, 64, 0, 0, 595, 596, 3, 138, 69, 0, 596, 597, 5, 113, 0, 0, 597, 598, 3, 120, 60, 0, 598, 599, 5, 112, 0, 0, 599, 601, 3, 120, 60, 0, 600, 602, 3, 74, 37, 0, 601, 600, 1, 0, 0, 0, 601, 602, 1, 0, 0, 0, 602, 603, 1, 0, 0, 0, 603, 604, 5, 114, 0, 0, 604, 63, 1, 0, 0, 0, 605, 606, 5, 33, 0, 0, 606, 607, 3, 136, 68, 0, 607, 608, 5, 64, 0, 0, 608, 609, 3, 138, 69, 0, 609, 610, 5, 34, 0, 0, 610, 611, 3, 136, 68, 0, 611, 612, 5, 113, 0, 0, 612, 614, 3, 120, 60, 0, 613, 615, 3, 74, 37, 0, 614, 613, 1, 0, 0, 0, 614, 615, 1, 0, 0, 0, 615, 616, 1, 0, 0, 0, 616, 617, 5, 114, 0, 0, 617, 65, 1, 0, 0, 0, 618, 619, 5, 67, 0, 0, 619, 620, 3, 120, 60, 0, 620, 67, 1, 0, 0, 0, 621, 622, 7, 0, 0, 0, 622, 69, 1, 0, 0, 0, 623, 642, 5, 70, 0, 0, 624, 625, 5, 25, 0, 0, 625, 642, 3, 136, 68, 0, 626, 627, 5, 18, 0, 0, 627, 642, 3, 136, 68, 0, 628, 629, 5, 27, 0, 0, 629, 638, 5, 119, 0, 0, 630, 635, 3, 26, 13, 0, 631, 632, 5, 115, 0, 0, 632, 634, 3, 26, 13, 0, 633, 631, 1, 0, 0, 0, 634, 637, 1, 0, 0, 0, 635, 633, 1, 0, 0, 0, 635, 636, 1, 0, 0, 0, 636, 639, 1, 0, 0, 0, 637, 635, 1, 0, 0, 0, 638, 630, 1, 0, 0, 0, 638, 639, 1, 0, 0, 0, 639, 640, 1, 0, 0, 0, 640, 642, 5, 120, 0, 0, 641, 623, 1, 0, 0, 0, 641, 624, 1, 0, 0, 0, 641, 626, 1, 0, 0, 0, 641, 628, 1, 0, 0, 0, 642, 71, 1, 0, 0, 0, 643, 648, 3, 136, 68, 0, 644, 645, 5, 115, 0, 0, 645, 647, 3, 136, 68, 0, 646, 644, 1, 0, 0, 0, 647, 650, 1, 0, 0, 0, 648, 646, 1, 0, 0, 0, 648, 649, 1, 0, 0, 0, 649, 73, 1, 0, 0, 0, 650, 648, 1, 0, 0, 0, 651, 652, 5, 69, 0, 0, 652, 656, 5, 117, 0, 0, 653, 655, 3, 76, 38, 0, 654, 653, 1, 0, 0, 0, 655, 658, 1, 0, 0, 0, 656, 654, 1, 0, 0, 0, 656, 657, 1, 0, 0, 0, 657, 659, 1, 0, 0, 0, 658, 656, 1, 0, 0, 0, 659, 660, 5, 118, 0, 0, 660, 75, 1, 0, 0, 0, 661, 662, 5, 43, 0, 0, 662, 663, 3, 136, 68, 0, 663, 664, 5, 64, 0, 0, 664, 665, 3, 138, 69, 0, 665, 666, 5, 113, 0, 0, 666, 667, 3, 120, 60, 0, 667, 668, 3, 78, 39, 0, 668, 669, 5, 114, 0, 0, 669, 714, 1, 0, 0, 0, 670, 671, 5, 44, 0, 0, 671, 672, 3, 136, 68, 0, 672, 673, 5, 64, 0, 0, 673, 674, 3, 138, 69, 0, 674, 675, 5, 113, 0, 0, 675, 676, 3, 126, 63, 0, 676, 677, 3, 48, 24, 0, 677, 678, 3, 78, 39, 0, 678, 679, 5, 114, 0, 0, 679, 714, 1, 0, 0, 0, 680, 681, 5, 26, 0, 0, 681, 682, 3, 136, 68, 0, 682, 683, 5, 64, 0, 0, 683, 684, 3, 138, 69, 0, 684, 685, 5, 113, 0, 0, 685, 687, 3, 136, 68, 0, 686, 688, 3, 28, 14, 0, 687, 686, 1, 0, 0, 0, 687, 688, 1, 0, 0, 0, 688, 689, 1, 0, 0, 0, 689, 690, 5, 114, 0, 0, 690, 714, 1, 0, 0, 0, 691, 692, 5, 33, 0, 0, 692, 693, 3, 136, 68, 0, 693, 694, 5, 64, 0, 0, 694, 695, 3, 138, 69, 0, 695, 696, 5, 113, 0, 0, 696, 699, 3, 136, 68, 0, 697, 698, 5, 35, 0, 0, 698, 700, 3, 120, 60, 0, 699, 697, 1, 0, 0, 0, 699, 700, 1, 0, 0, 0, 700, 701, 1, 0, 0, 0, 701, 702, 5, 114, 0, 0, 702, 714, 1, 0, 0, 0, 703, 704, 5, 5, 0, 0, 704, 705, 3, 136, 68, 0, 705, 706, 5, 64, 0, 0, 706, 707, 3, 138, 69, 0, 707, 708, 5, 113, 0, 0, 708, 709, 3, 136, 68, 0, 709, 710, 5, 116, 0, 0, 710, 711, 3, 136, 68, 0, 711, 712, 5, 114, 0, 0, 712, 714, 1, 0, 0, 0, 713, 661, 1, 0, 0, 0, 713, 670, 1, 0, 0, 0, 713, 680, 1, 0, 0, 0, 713, 691, 1, 0, 0, 0, 713, 703, 1, 0, 0, 0, 714, 77, 1, 0, 0, 0, 715, 716, 5, 119, 0, 0, 716, 721, 3, 80, 40, 0, 717, 718, 5, 115, 0, 0, 718, 720, 3, 80, 40, 0, 719, 717, 1, 0, 0, 0, 720, 723, 1, 0, 0, 0, 721, 719, 1, 0, 0, 0, 721, 722, 1, 0, 0, 0, 722, 724, 1, 0, 0, 0, 723, 721, 1, 0, 0, 0, 724, 725, 5, 120, 0, 0, 725, 79, 1, 0, 0, 0, 726, 727, 7, 1, 0, 0, 727, 81, 1, 0, 0, 0, 728, 729, 5, 42, 0, 0, 729, 730, 3, 84, 42, 0, 730, 83, 1, 0, 0, 0, 731, 734, 3, 86, 43, 0, 732, 734, 3, 90, 45, 0, 733, 731, 1, 0, 0, 0, 733, 732, 1, 0, 0, 0, 734, 85, 1, 0, 0, 0, 735, 736, 5, 43, 0, 0, 736, 737, 3, 136, 68, 0, 737, 738, 5, 64, 0, 0, 738, 739, 3, 138, 69, 0, 739, 740, 5, 52, 0, 0, 740, 741, 3, 136, 68, 0, 741, 742, 5, 113, 0, 0, 742, 743, 3, 120, 60, 0, 743, 744, 5, 53, 0, 0, 744, 747, 3, 88, 44, 0, 745, 746, 5, 54, 0, 0, 746, 748, 3, 128, 64, 0, 747, 745, 1, 0, 0, 0, 747, 748, 1, 0, 0, 0, 748, 749, 1, 0, 0, 0, 749, 750, 5, 114, 0, 0, 750, 87, 1, 0, 0, 0, 751, 758, 5, 86, 0, 0, 752, 753, 5, 87, 0, 0, 753, 754, 5, 121, 0, 0, 754, 755, 3, 120, 60, 0, 755, 756, 5, 122, 0, 0, 756, 758, 1, 0, 0, 0, 757, 751, 1, 0, 0, 0, 757, 752, 1, 0, 0, 0, 758, 89, 1, 0, 0, 0, 759, 760, 5, 44, 0, 0, 760, 761, 3, 136, 68, 0, 761, 762, 5, 64, 0, 0, 762, 763, 3, 138, 69, 0, 763, 764, 5, 117, 0, 0, 764, 765, 3, 92, 46, 0, 765, 766, 3, 92, 46, 0, 766, 767, 5, 118, 0, 0, 767, 91, 1, 0, 0, 0, 768, 769, 3, 48, 24, 0, 769, 770, 5, 45, 0, 0, 770, 771, 3, 136, 68, 0, 771, 772, 5, 64, 0, 0, 772, 773, 3, 138, 69, 0, 773, 775, 3, 126, 63, 0, 774, 776, 5, 92, 0, 0, 775, 774, 1, 0, 0, 0, 775, 776, 1, 0, 0, 0, 776, 779, 1, 0, 0, 0, 777, 778, 5, 60, 0, 0, 778, 780, 3, 138, 69, 0, 779, 777, 1, 0, 0, 0, 779, 780, 1, 0, 0, 0, 780, 782, 1, 0, 0, 0, 781, 783, 5, 61, 0, 0, 782, 781, 1, 0, 0, 0, 782, 783, 1, 0, 0, 0, 783, 786, 1, 0, 0, 0, 784, 785, 5, 62, 0, 0, 785, 787, 3, 138, 69, 0, 786, 784, 1, 0, 0, 0, 786, 787, 1, 0, 0, 0, 787, 789, 1, 0, 0, 0, 788, 790, 5, 63, 0, 0, 789, 788, 1, 0, 0, 0, 789, 790, 1, 0, 0, 0, 790, 791, 1, 0, 0, 0, 791, 792, 5, 114, 0, 0, 792, 93, 1, 0, 0, 0, 793, 794, 5, 36, 0, 0, 794, 795, 3, 136, 68, 0, 795, 796, 5, 37, 0, 0, 796, 798, 3, 136, 68, 0, 797, 799, 3, 28, 14, 0, 798, 797, 1, 0, 0, 0, 798, 799, 1, 0, 0, 0, 799, 802, 1, 0, 0, 0, 800, 801, 5, 64, 0, 0, 801, 803, 3, 138, 69, 0, 802, 800, 1, 0, 0, 0, 802, 803, 1, 0, 0, 0, 803, 806, 1, 0, 0, 0, 804, 805, 5, 59, 0, 0, 805, 807, 5, 127, 0, 0, 806, 804, 1, 0, 0, 0, 806, 807, 1, 0, 0, 0, 807, 808, 1, 0, 0, 0, 808, 812, 5, 117, 0, 0, 809, 811, 3, 96, 48, 0, 810, 809, 1, 0, 0, 0, 811, 814, 1, 0, 0, 0, 812, 810, 1, 0, 0, 0, 812, 813, 1, 0, 0, 0, 813, 815, 1, 0, 0, 0, 814, 812, 1, 0, 0, 0, 815, 816, 5, 118, 0, 0, 816, 95, 1, 0, 0, 0, 817, 818, 5, 41, 0, 0, 818, 823, 3, 84, 42, 0, 819, 823, 3, 102, 51, 0, 820, 823, 3, 98, 49, 0, 821, 823, 3, 100, 50, 0, 822, 817, 1, 0, 0, 0, 822, 819, 1, 0, 0, 0, 822, 820, 1, 0, 0, 0, 822, 821, 1, 0, 0, 0, 823, 97, 1, 0, 0, 0, 824, 825, 5, 38, 0, 0, 825, 826, 3, 136, 68, 0, 826, 827, 5, 40, 0, 0, 827, 828, 5, 43, 0, 0, 828, 829, 3, 136, 68, 0, 829, 830, 5, 114, 0, 0, 830, 99, 1, 0, 0, 0, 831, 832, 5, 49, 0, 0, 832, 833, 3, 136, 68, 0, 833, 834, 5, 50, 0, 0, 834, 835, 5, 51, 0, 0, 835, 836, 5, 47, 0, 0, 836, 837, 5, 33, 0, 0, 837, 838, 3, 136, 68, 0, 838, 839, 5, 48, 0, 0, 839, 840, 5, 44, 0, 0, 840, 841, 3, 136, 68, 0, 841, 842, 5, 116, 0, 0, 842, 843, 3, 136, 68, 0, 843, 844, 5, 114, 0, 0, 844, 101, 1, 0, 0, 0, 845, 846, 5, 38, 0, 0, 846, 847, 3, 104, 52, 0, 847, 848, 5, 40, 0, 0, 848, 851, 3, 108, 54, 0, 849, 850, 5, 16, 0, 0, 850, 852, 3, 138, 69, 0, 851, 849, 1, 0, 0, 0, 851, 852, 1, 0, 0, 0, 852, 853, 1, 0, 0, 0, 853, 854, 5, 114, 0, 0, 854, 103, 1, 0, 0, 0, 855, 856, 3, 136, 68, 0, 856, 857, 5, 116, 0, 0, 857, 858, 3, 106, 53, 0, 858, 105, 1, 0, 0, 0, 859, 871, 3, 136, 68, 0, 860, 871, 5, 81, 0, 0, 861, 871, 5, 71, 0, 0, 862, 871, 5, 72, 0, 0, 863, 871, 5, 78, 0, 0, 864, 871, 5, 79, 0, 0, 865, 871, 5, 80, 0, 0, 866, 871, 5, 82, 0, 0, 867, 871, 5, 83, 0, 0, 868, 871, 5, 84, 0, 0, 869, 871, 5, 85, 0, 0, 870, 859, 1, 0, 0, 0, 870, 860, 1, 0, 0, 0, 870, 861, 1, 0, 0, 0, 870, 862, 1, 0, 0, 0, 870, 863, 1, 0, 0, 0, 870, 864, 1, 0, 0, 0, 870, 865, 1, 0, 0, 0, 870, 866, 1, 0, 0, 0, 870, 867, 1, 0, 0, 0, 870, 868, 1, 0, 0, 0, 870, 869, 1, 0, 0, 0, 871, 107, 1, 0, 0, 0, 872, 873, 5, 43, 0, 0, 873, 874, 3, 136, 68, 0, 874, 875, 5, 116, 0, 0, 875, 876, 3, 110, 55, 0, 876, 903, 1, 0, 0, 0, 877, 878, 5, 44, 0, 0, 878, 879, 3, 136, 68, 0, 879, 880, 5, 116, 0, 0, 880, 881, 3, 136, 68, 0, 881, 882, 5, 116, 0, 0, 882, 883, 3, 112, 56, 0, 883, 903, 1, 0, 0, 0, 884, 885, 5, 26, 0, 0, 885, 887, 3, 136, 68, 0, 886, 888, 3, 28, 14, 0, 887, 886, 1, 0, 0, 0, 887, 888, 1, 0, 0, 0, 888, 889, 1, 0, 0, 0, 889, 890, 5, 116, 0, 0, 890, 891, 3, 104, 52, 0, 891, 903, 1, 0, 0, 0, 892, 893, 5, 28, 0, 0, 893, 894, 3, 136, 68, 0, 894, 895, 5, 116, 0, 0, 895, 897, 3, 136, 68, 0, 896, 898, 3, 28, 14, 0, 897, 896, 1, 0, 0, 0, 897, 898, 1, 0, 0, 0, 898, 900, 1, 0, 0, 0, 899, 901, 3, 114, 57, 0, 900, 899, 1, 0, 0, 0, 900, 901, 1, 0, 0, 0, 901, 903, 1, 0, 0, 0, 902, 872, 1, 0, 0, 0, 902, 877, 1, 0, 0, 0, 902, 884, 1, 0, 0, 0, 902, 892, 1, 0, 0, 0, 903, 109, 1, 0, 0, 0, 904, 905, 7, 2, 0, 0, 905, 111, 1, 0, 0, 0, 906, 907, 7, 3, 0, 0, 907, 113, 1, 0, 0, 0, 908, 909, 5, 46, 0, 0, 909, 913, 5, 117, 0, 0, 910, 912, 3, 116, 58, 0, 911, 910, 1, 0, 0, 0, 912, 915, 1, 0, 0, 0, 913, 911, 1, 0, 0, 0, 913, 914, 1, 0, 0, 0, 914, 916, 1, 0, 0, 0, 915, 913, 1, 0, 0, 0, 916, 917, 5, 118, 0, 0, 917, 115, 1, 0, 0, 0, 918, 919, 3, 136, 68, 0, 919, 920, 5, 40, 0, 0, 920, 921, 5, 43, 0, 0, 921, 928, 3, 136, 68, 0, 922, 923, 5, 48, 0, 0, 923, 924, 5, 44, 0, 0, 924, 925, 3, 136, 68, 0, 925, 926, 5, 116, 0, 0, 926, 927, 3, 136, 68, 0, 927, 929, 1, 0, 0, 0, 928, 922, 1, 0, 0, 0, 928, 929, 1, 0, 0, 0, 929, 930, 1, 0, 0, 0, 930, 931, 5, 114, 0, 0, 931, 991, 1, 0, 0, 0, 932, 933, 3, 136, 68, 0, 933, 934, 5, 40, 0, 0, 934, 935, 5, 44, 0, 0, 935, 936, 3, 136, 68, 0, 936, 937, 5, 116, 0, 0, 937, 944, 3, 136, 68, 0, 938, 939, 5, 48, 0, 0, 939, 940, 5, 44, 0, 0, 940, 941, 3, 136, 68, 0, 941, 942, 5, 116, 0, 0, 942, 943, 3, 136, 68, 0, 943, 945, 1, 0, 0, 0, 944, 938, 1, 0, 0, 0, 944, 945, 1, 0, 0, 0, 945, 946, 1, 0, 0, 0, 946, 947, 5, 114, 0, 0, 947, 991, 1, 0, 0, 0, 948, 949, 3, 136, 68, 0, 949, 950, 5, 40, 0, 0, 950, 951, 5, 26, 0, 0, 951, 953, 3, 136, 68, 0, 952, 954, 3, 28, 14, 0, 953, 952, 1, 0, 0, 0, 953, 954, 1, 0, 0, 0, 954, 961, 1, 0, 0, 0, 955, 956, 5, 48, 0, 0, 956, 957, 5, 44, 0, 0, 957, 958, 3, 136, 68, 0, 958, 959, 5, 116, 0, 0, 959, 960, 3, 136, 68, 0, 960, 962, 1, 0, 0, 0, 961, 955, 1, 0, 0, 0, 961, 962, 1, 0, 0, 0, 962, 963, 1, 0, 0, 0, 963, 964, 5, 114, 0, 0, 964, 991, 1, 0, 0, 0, 965, 966, 3, 136, 68, 0, 966, 967, 5, 40, 0, 0, 967, 968, 5, 33, 0, 0, 968, 969, 3, 136, 68, 0, 969, 970, 5, 114, 0, 0, 970, 991, 1, 0, 0, 0, 971, 972, 3, 136, 68, 0, 972, 974, 5, 40, 0, 0, 973, 975, 5, 1, 0, 0, 974, 973, 1, 0, 0, 0, 974, 975, 1, 0, 0, 0, 975, 976, 1, 0, 0, 0, 976, 977, 5, 5, 0, 0, 977, 978, 3, 136, 68, 0, 978, 979, 5, 116, 0, 0, 979, 986, 3, 136, 68, 0, 980, 981, 5, 48, 0, 0, 981, 982, 5, 44, 0, 0, 982, 983, 3, 136, 68, 0, 983, 984, 5, 116, 0, 0, 984, 985, 3, 136, 68, 0, 985, 987, 1, 0, 0, 0, 986, 980, 1, 0, 0, 0, 986, 987, 1, 0, 0, 0, 987, 988, 1, 0, 0, 0, 988, 989, 5, 114, 0, 0, 989, 991, 1, 0, 0, 0, 990, 918, 1, 0, 0, 0, 990, 932, 1, 0, 0, 0, 990, 948, 1, 0, 0, 0, 990, 965, 1, 0, 0, 0, 990, 971, 1, 0, 0, 0, 991, 117, 1, 0, 0, 0, 992, 993, 5, 33, 0, 0, 993, 994, 3, 136, 68, 0, 994, 995, 5, 40, 0, 0, 995, 996, 3, 136, 68, 0, 996, 997, 5, 116, 0, 0, 997, 999, 3, 136, 68, 0, 998, 1000, 3, 114, 57, 0, 999, 998, 1, 0, 0, 0, 999, 1000, 1, 0, 0, 0, 1000, 1001, 1, 0, 0, 0, 1001, 1002, 5, 114, 0, 0, 1002, 119, 1, 0, 0, 0, 1003, 1050, 3, 124, 62, 0, 1004, 1050, 5, 93, 0, 0, 1005, 1050, 5, 94, 0, 0, 1006, 1007, 5, 95, 0, 0, 1007, 1050, 3, 138, 69, 0, 1008, 1009, 5, 96, 0, 0, 1009, 1010, 5, 123, 0, 0, 1010, 1011, 3, 136, 68, 0, 1011, 1012, 5, 124, 0, 0, 1012, 1050, 1, 0, 0, 0, 1013, 1014, 5, 97, 0, 0, 1014, 1015, 5, 123, 0, 0, 1015, 1017, 3, 136, 68, 0, 1016, 1018, 3, 28, 14, 0, 1017, 1016, 1, 0, 0, 0, 1017, 1018, 1, 0, 0, 0, 1018, 1019, 1, 0, 0, 0, 1019, 1020, 5, 124, 0, 0, 1020, 1050, 1, 0, 0, 0, 1021, 1022, 5, 21, 0, 0, 1022, 1023, 5, 123, 0, 0, 1023, 1024, 3, 136, 68, 0, 1024, 1025, 5, 124, 0, 0, 1025, 1050, 1, 0, 0, 0, 1026, 1027, 5, 98, 0, 0, 1027, 1028, 5, 123, 0, 0, 1028, 1029, 3, 120, 60, 0, 1029, 1030, 5, 124, 0, 0, 1030, 1050, 1, 0, 0, 0, 1031, 1032, 5, 99, 0, 0, 1032, 1033, 5, 123, 0, 0, 1033, 1034, 3, 120, 60, 0, 1034, 1035, 5, 124, 0, 0, 1035, 1050, 1, 0, 0, 0, 1036, 1037, 5, 100, 0, 0, 1037, 1041, 5, 117, 0, 0, 1038, 1040, 3, 122, 61, 0, 1039, 1038, 1, 0, 0, 0, 1040, 1043, 1, 0, 0, 0, 1041, 1039, 1, 0, 0, 0, 1041, 1042, 1, 0, 0, 0, 1042, 1044, 1, 0, 0, 0, 1043, 1041, 1, 0, 0, 0, 1044, 1050, 5, 118, 0, 0, 1045, 1047, 3, 136, 68, 0, 1046, 1048, 3, 28, 14, 0, 1047, 1046, 1, 0, 0, 0, 1047, 1048, 1, 0, 0, 0, 1048, 1050, 1, 0, 0, 0, 1049, 1003, 1, 0, 0, 0, 1049, 1004, 1, 0, 0, 0, 1049, 1005, 1, 0, 0, 0, 1049, 1006, 1, 0, 0, 0, 1049, 1008, 1, 0, 0, 0, 1049, 1013, 1, 0, 0, 0, 1049, 1021, 1, 0, 0, 0, 1049, 1026, 1, 0, 0, 0, 1049, 1031, 1, 0, 0, 0, 1049, 1036, 1, 0, 0, 0, 1049, 1045, 1, 0, 0, 0, 1050, 121, 1, 0, 0, 0, 1051, 1052, 3, 136, 68, 0, 1052, 1053, 5, 113, 0, 0, 1053, 1054, 3, 120, 60, 0, 1054, 1055, 5, 114, 0, 0, 1055, 123, 1, 0, 0, 0, 1056, 1057, 7, 4, 0, 0, 1057, 125, 1, 0, 0, 0, 1058, 1059, 7, 5, 0, 0, 1059, 127, 1, 0, 0, 0, 1060, 1069, 3, 138, 69, 0, 1061, 1069, 5, 127, 0, 0, 1062, 1069, 5, 128, 0, 0, 1063, 1069, 5, 109, 0, 0, 1064, 1069, 5, 110, 0, 0, 1065, 1069, 5, 111, 0, 0, 1066, 1069, 3, 130, 65, 0, 1067, 1069, 3, 134, 67, 0, 1068, 1060, 1, 0, 0, 0, 1068, 1061, 1, 0, 0, 0, 1068, 1062, 1, 0, 0, 0, 1068, 1063, 1, 0, 0, 0, 1068, 1064, 1, 0, 0, 0, 1068, 1065, 1, 0, 0, 0, 1068, 1066, 1, 0, 0, 0, 1068, 1067, 1, 0, 0, 0, 1069, 129, 1, 0, 0, 0, 1070, 1079, 5, 117, 0, 0, 1071, 1076, 3, 132, 66, 0, 1072, 1073, 5, 115, 0, 0, 1073, 1075, 3, 132, 66, 0, 1074, 1072, 1, 0, 0, 0, 1075, 1078, 1, 0, 0, 0, 1076, 1074, 1, 0, 0, 0, 1076, 1077, 1, 0, 0, 0, 1077, 1080, 1, 0, 0, 0, 1078, 1076, 1, 0, 0, 0, 1079, 1071, 1, 0, 0, 0, 1079, 1080, 1, 0, 0, 0, 1080, 1081, 1, 0, 0, 0, 1081, 1082, 5, 118, 0, 0, 1082, 131, 1, 0, 0, 0, 1083, 1084, 3, 138, 69, 0, 1084, 1085, 5, 113, 0, 0, 1085, 1086, 3, 128, 64, 0, 1086, 133, 1, 0, 0, 0, 1087, 1096, 5, 119, 0, 0, 1088, 1093, 3, 128, 64, 0, 1089, 1090, 5, 115, 0, 0, 1090, 1092, 3, 128, 64, 0, 1091, 1089, 1, 0, 0, 0, 1092, 1095, 1, 0, 0, 0, 1093, 1091, 1, 0, 0, 0, 1093, 1094, 1, 0, 0, 0, 1094, 1097, 1, 0, 0, 0, 1095, 1093, 1, 0, 0, 0, 1096, 1088, 1, 0, 0, 0, 1096, 1097, 1, 0, 0, 0, 1097, 1098, 1, 0, 0, 0, 1098, 1099, 5, 120, 0, 0, 1099, 135, 1, 0, 0, 0, 1100, 1101, 7, 6, 0, 0, 1101, 137, 1, 0, 0, 0, 1102, 1103, 5, 130, 0, 0, 1103, 139, 1, 0, 0, 0, 95, 152, 159, 180, 192, 204, 224, 232, 239, 245, 257, 260, 266, 277, 286, 296, 299, 301, 305, 313, 325, 330, 339, 342, 360, 372, 396, 399, 409, 413, 419, 426, 452, 459, 463, 468, 479, 485, 495, 500, 506, 517, 537, 564, 569, 580, 585, 592, 601, 614, 635, 638, 641, 648, 656, 687, 699, 713, 721, 733, 747, 757, 775, 779, 782, 786, 789, 798, 802, 806, 812, 822, 851, 870, 887, 897, 900, 902, 913, 928, 944, 953, 961, 974, 986, 990, 999, 1017, 1041, 1047, 1049, 1068, 1076, 1079, 1093, 1096] \ No newline at end of file diff --git a/src/capability-language/generated/QuixosCapabilityParser.ts b/src/capability-language/generated/QuixosCapabilityParser.ts index a912a47..15d773b 100644 --- a/src/capability-language/generated/QuixosCapabilityParser.ts +++ b/src/capability-language/generated/QuixosCapabilityParser.ts @@ -3406,7 +3406,7 @@ export class QuixosCapabilityParser extends antlr.Parser { this.enterRule(localContext, 108, QuixosCapabilityParser.RULE_operationProvider); let _la: number; try { - this.state = 894; + this.state = 902; this.errorHandler.sync(this); switch (this.tokenStream.LA(1)) { case QuixosCapabilityParser.STATE: @@ -3439,33 +3439,56 @@ export class QuixosCapabilityParser extends antlr.Parser { this.edgePrimitive(); } break; - case QuixosCapabilityParser.PACKAGE: + case QuixosCapabilityParser.INTERFACE: this.enterOuterAlt(localContext, 3); { this.state = 884; - this.match(QuixosCapabilityParser.PACKAGE); + this.match(QuixosCapabilityParser.INTERFACE); this.state = 885; this.identifier(); - this.state = 886; - this.match(QuixosCapabilityParser.DOT); this.state = 887; - this.identifier(); - this.state = 889; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 123) { { - this.state = 888; + this.state = 886; this.typeArguments(); } } + this.state = 889; + this.match(QuixosCapabilityParser.DOT); + this.state = 890; + this.memberOperationRef(); + } + break; + case QuixosCapabilityParser.PACKAGE: + this.enterOuterAlt(localContext, 4); + { this.state = 892; + this.match(QuixosCapabilityParser.PACKAGE); + this.state = 893; + this.identifier(); + this.state = 894; + this.match(QuixosCapabilityParser.DOT); + this.state = 895; + this.identifier(); + this.state = 897; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + if (_la === 123) { + { + this.state = 896; + this.typeArguments(); + } + } + + this.state = 900; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 46) { { - this.state = 891; + this.state = 899; this.dependencyBindingBlock(); } } @@ -3496,7 +3519,7 @@ export class QuixosCapabilityParser extends antlr.Parser { try { this.enterOuterAlt(localContext, 1); { - this.state = 896; + this.state = 904; _la = this.tokenStream.LA(1); if(!(((((_la - 76)) & ~0x1F) === 0 && ((1 << (_la - 76)) & 195) !== 0))) { this.errorHandler.recoverInline(this); @@ -3527,7 +3550,7 @@ export class QuixosCapabilityParser extends antlr.Parser { try { this.enterOuterAlt(localContext, 1); { - this.state = 898; + this.state = 906; _la = this.tokenStream.LA(1); if(!(((((_la - 78)) & ~0x1F) === 0 && ((1 << (_la - 78)) & 55) !== 0))) { this.errorHandler.recoverInline(this); @@ -3558,25 +3581,25 @@ export class QuixosCapabilityParser extends antlr.Parser { try { this.enterOuterAlt(localContext, 1); { - this.state = 900; + this.state = 908; this.match(QuixosCapabilityParser.WITH); - this.state = 901; + this.state = 909; this.match(QuixosCapabilityParser.LBRACE); - this.state = 905; + this.state = 913; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); while ((((_la) & ~0x1F) === 0 && ((1 << _la) & 65532) !== 0) || _la === 55 || _la === 129) { { { - this.state = 902; + this.state = 910; this.dependencyBinding(); } } - this.state = 907; + this.state = 915; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } - this.state = 908; + this.state = 916; this.match(QuixosCapabilityParser.RBRACE); } } @@ -3598,181 +3621,181 @@ export class QuixosCapabilityParser extends antlr.Parser { this.enterRule(localContext, 116, QuixosCapabilityParser.RULE_dependencyBinding); let _la: number; try { - this.state = 982; + this.state = 990; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 83, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 84, this.context) ) { case 1: this.enterOuterAlt(localContext, 1); { - this.state = 910; + this.state = 918; this.identifier(); - this.state = 911; + this.state = 919; this.match(QuixosCapabilityParser.TO); - this.state = 912; - this.match(QuixosCapabilityParser.STATE); - this.state = 913; - this.identifier(); this.state = 920; + this.match(QuixosCapabilityParser.STATE); + this.state = 921; + this.identifier(); + this.state = 928; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 48) { { - this.state = 914; + this.state = 922; this.match(QuixosCapabilityParser.VIA); - this.state = 915; + this.state = 923; this.match(QuixosCapabilityParser.EDGE); - this.state = 916; + this.state = 924; this.identifier(); - this.state = 917; + this.state = 925; this.match(QuixosCapabilityParser.DOT); - this.state = 918; + this.state = 926; this.identifier(); } } - this.state = 922; + this.state = 930; this.match(QuixosCapabilityParser.SEMI); } break; case 2: this.enterOuterAlt(localContext, 2); { - this.state = 924; + this.state = 932; this.identifier(); - this.state = 925; + this.state = 933; this.match(QuixosCapabilityParser.TO); - this.state = 926; + this.state = 934; this.match(QuixosCapabilityParser.EDGE); - this.state = 927; - this.identifier(); - this.state = 928; - this.match(QuixosCapabilityParser.DOT); - this.state = 929; + this.state = 935; this.identifier(); this.state = 936; + this.match(QuixosCapabilityParser.DOT); + this.state = 937; + this.identifier(); + this.state = 944; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 48) { { - this.state = 930; + this.state = 938; this.match(QuixosCapabilityParser.VIA); - this.state = 931; + this.state = 939; this.match(QuixosCapabilityParser.EDGE); - this.state = 932; + this.state = 940; this.identifier(); - this.state = 933; + this.state = 941; this.match(QuixosCapabilityParser.DOT); - this.state = 934; + this.state = 942; this.identifier(); } } - this.state = 938; + this.state = 946; this.match(QuixosCapabilityParser.SEMI); } break; case 3: this.enterOuterAlt(localContext, 3); { - this.state = 940; + this.state = 948; this.identifier(); - this.state = 941; + this.state = 949; this.match(QuixosCapabilityParser.TO); - this.state = 942; + this.state = 950; this.match(QuixosCapabilityParser.INTERFACE); - this.state = 943; + this.state = 951; this.identifier(); - this.state = 945; + this.state = 953; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 123) { { - this.state = 944; + this.state = 952; this.typeArguments(); } } - this.state = 953; + this.state = 961; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 48) { { - this.state = 947; + this.state = 955; this.match(QuixosCapabilityParser.VIA); - this.state = 948; + this.state = 956; this.match(QuixosCapabilityParser.EDGE); - this.state = 949; + this.state = 957; this.identifier(); - this.state = 950; + this.state = 958; this.match(QuixosCapabilityParser.DOT); - this.state = 951; + this.state = 959; this.identifier(); } } - this.state = 955; + this.state = 963; this.match(QuixosCapabilityParser.SEMI); } break; case 4: this.enterOuterAlt(localContext, 4); { - this.state = 957; + this.state = 965; this.identifier(); - this.state = 958; + this.state = 966; this.match(QuixosCapabilityParser.TO); - this.state = 959; + this.state = 967; this.match(QuixosCapabilityParser.CONSTRUCTOR); - this.state = 960; + this.state = 968; this.identifier(); - this.state = 961; + this.state = 969; this.match(QuixosCapabilityParser.SEMI); } break; case 5: this.enterOuterAlt(localContext, 5); { - this.state = 963; + this.state = 971; this.identifier(); - this.state = 964; + this.state = 972; this.match(QuixosCapabilityParser.TO); - this.state = 966; + this.state = 974; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 1) { { - this.state = 965; + this.state = 973; this.match(QuixosCapabilityParser.WORKSPACE); } } - this.state = 968; + this.state = 976; this.match(QuixosCapabilityParser.QUERY); - this.state = 969; - this.identifier(); - this.state = 970; - this.match(QuixosCapabilityParser.DOT); - this.state = 971; + this.state = 977; this.identifier(); this.state = 978; + this.match(QuixosCapabilityParser.DOT); + this.state = 979; + this.identifier(); + this.state = 986; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 48) { { - this.state = 972; + this.state = 980; this.match(QuixosCapabilityParser.VIA); - this.state = 973; + this.state = 981; this.match(QuixosCapabilityParser.EDGE); - this.state = 974; + this.state = 982; this.identifier(); - this.state = 975; + this.state = 983; this.match(QuixosCapabilityParser.DOT); - this.state = 976; + this.state = 984; this.identifier(); } } - this.state = 980; + this.state = 988; this.match(QuixosCapabilityParser.SEMI); } break; @@ -3798,29 +3821,29 @@ export class QuixosCapabilityParser extends antlr.Parser { try { this.enterOuterAlt(localContext, 1); { - this.state = 984; + this.state = 992; this.match(QuixosCapabilityParser.CONSTRUCTOR); - this.state = 985; + this.state = 993; this.identifier(); - this.state = 986; + this.state = 994; this.match(QuixosCapabilityParser.TO); - this.state = 987; + this.state = 995; this.identifier(); - this.state = 988; + this.state = 996; this.match(QuixosCapabilityParser.DOT); - this.state = 989; + this.state = 997; this.identifier(); - this.state = 991; + this.state = 999; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 46) { { - this.state = 990; + this.state = 998; this.dependencyBindingBlock(); } } - this.state = 993; + this.state = 1001; this.match(QuixosCapabilityParser.SEMI); } } @@ -3842,7 +3865,7 @@ export class QuixosCapabilityParser extends antlr.Parser { this.enterRule(localContext, 120, QuixosCapabilityParser.RULE_valueType); let _la: number; try { - this.state = 1041; + this.state = 1049; this.errorHandler.sync(this); switch (this.tokenStream.LA(1)) { case QuixosCapabilityParser.BOOL: @@ -3855,130 +3878,130 @@ export class QuixosCapabilityParser extends antlr.Parser { case QuixosCapabilityParser.UINT64: this.enterOuterAlt(localContext, 1); { - this.state = 995; + this.state = 1003; this.scalarType(); } break; case QuixosCapabilityParser.UNIT: this.enterOuterAlt(localContext, 2); { - this.state = 996; + this.state = 1004; this.match(QuixosCapabilityParser.UNIT); } break; case QuixosCapabilityParser.WATCH_HANDLE: this.enterOuterAlt(localContext, 3); { - this.state = 997; + this.state = 1005; this.match(QuixosCapabilityParser.WATCH_HANDLE); } break; case QuixosCapabilityParser.MESSAGE: this.enterOuterAlt(localContext, 4); { - this.state = 998; + this.state = 1006; this.match(QuixosCapabilityParser.MESSAGE); - this.state = 999; + this.state = 1007; this.stringLiteral(); } break; case QuixosCapabilityParser.ATOM_REF: this.enterOuterAlt(localContext, 5); { - this.state = 1000; + this.state = 1008; this.match(QuixosCapabilityParser.ATOM_REF); - this.state = 1001; + this.state = 1009; this.match(QuixosCapabilityParser.LT); - this.state = 1002; + this.state = 1010; this.identifier(); - this.state = 1003; + this.state = 1011; this.match(QuixosCapabilityParser.GT); } break; case QuixosCapabilityParser.INTERFACE_REF: this.enterOuterAlt(localContext, 6); { - this.state = 1005; + this.state = 1013; this.match(QuixosCapabilityParser.INTERFACE_REF); - this.state = 1006; + this.state = 1014; this.match(QuixosCapabilityParser.LT); - this.state = 1007; + this.state = 1015; this.identifier(); - this.state = 1009; + this.state = 1017; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 123) { { - this.state = 1008; + this.state = 1016; this.typeArguments(); } } - this.state = 1011; + this.state = 1019; this.match(QuixosCapabilityParser.GT); } break; case QuixosCapabilityParser.REF: this.enterOuterAlt(localContext, 7); { - this.state = 1013; + this.state = 1021; this.match(QuixosCapabilityParser.REF); - this.state = 1014; + this.state = 1022; this.match(QuixosCapabilityParser.LT); - this.state = 1015; + this.state = 1023; this.identifier(); - this.state = 1016; + this.state = 1024; this.match(QuixosCapabilityParser.GT); } break; case QuixosCapabilityParser.OPTIONAL: this.enterOuterAlt(localContext, 8); { - this.state = 1018; + this.state = 1026; this.match(QuixosCapabilityParser.OPTIONAL); - this.state = 1019; + this.state = 1027; this.match(QuixosCapabilityParser.LT); - this.state = 1020; + this.state = 1028; this.valueType(); - this.state = 1021; + this.state = 1029; this.match(QuixosCapabilityParser.GT); } break; case QuixosCapabilityParser.LIST: this.enterOuterAlt(localContext, 9); { - this.state = 1023; + this.state = 1031; this.match(QuixosCapabilityParser.LIST); - this.state = 1024; + this.state = 1032; this.match(QuixosCapabilityParser.LT); - this.state = 1025; + this.state = 1033; this.valueType(); - this.state = 1026; + this.state = 1034; this.match(QuixosCapabilityParser.GT); } break; case QuixosCapabilityParser.RECORD: this.enterOuterAlt(localContext, 10); { - this.state = 1028; + this.state = 1036; this.match(QuixosCapabilityParser.RECORD); - this.state = 1029; + this.state = 1037; this.match(QuixosCapabilityParser.LBRACE); - this.state = 1033; + this.state = 1041; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); while ((((_la) & ~0x1F) === 0 && ((1 << _la) & 65532) !== 0) || _la === 55 || _la === 129) { { { - this.state = 1030; + this.state = 1038; this.recordField(); } } - this.state = 1035; + this.state = 1043; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } - this.state = 1036; + this.state = 1044; this.match(QuixosCapabilityParser.RBRACE); } break; @@ -4000,14 +4023,14 @@ export class QuixosCapabilityParser extends antlr.Parser { case QuixosCapabilityParser.IDENTIFIER: this.enterOuterAlt(localContext, 11); { - this.state = 1037; + this.state = 1045; this.identifier(); - this.state = 1039; + this.state = 1047; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 123) { { - this.state = 1038; + this.state = 1046; this.typeArguments(); } } @@ -4037,13 +4060,13 @@ export class QuixosCapabilityParser extends antlr.Parser { try { this.enterOuterAlt(localContext, 1); { - this.state = 1043; + this.state = 1051; this.identifier(); - this.state = 1044; + this.state = 1052; this.match(QuixosCapabilityParser.COLON); - this.state = 1045; + this.state = 1053; this.valueType(); - this.state = 1046; + this.state = 1054; this.match(QuixosCapabilityParser.SEMI); } } @@ -4067,7 +4090,7 @@ export class QuixosCapabilityParser extends antlr.Parser { try { this.enterOuterAlt(localContext, 1); { - this.state = 1048; + this.state = 1056; _la = this.tokenStream.LA(1); if(!(((((_la - 101)) & ~0x1F) === 0 && ((1 << (_la - 101)) & 255) !== 0))) { this.errorHandler.recoverInline(this); @@ -4098,7 +4121,7 @@ export class QuixosCapabilityParser extends antlr.Parser { try { this.enterOuterAlt(localContext, 1); { - this.state = 1050; + this.state = 1058; _la = this.tokenStream.LA(1); if(!(((((_la - 88)) & ~0x1F) === 0 && ((1 << (_la - 88)) & 15) !== 0))) { this.errorHandler.recoverInline(this); @@ -4126,62 +4149,62 @@ export class QuixosCapabilityParser extends antlr.Parser { let localContext = new JsonLiteralContext(this.context, this.state); this.enterRule(localContext, 128, QuixosCapabilityParser.RULE_jsonLiteral); try { - this.state = 1060; + this.state = 1068; this.errorHandler.sync(this); switch (this.tokenStream.LA(1)) { case QuixosCapabilityParser.STRING_LITERAL: this.enterOuterAlt(localContext, 1); { - this.state = 1052; + this.state = 1060; this.stringLiteral(); } break; case QuixosCapabilityParser.INTEGER: this.enterOuterAlt(localContext, 2); { - this.state = 1053; + this.state = 1061; this.match(QuixosCapabilityParser.INTEGER); } break; case QuixosCapabilityParser.JSON_NUMBER: this.enterOuterAlt(localContext, 3); { - this.state = 1054; + this.state = 1062; this.match(QuixosCapabilityParser.JSON_NUMBER); } break; case QuixosCapabilityParser.TRUE: this.enterOuterAlt(localContext, 4); { - this.state = 1055; + this.state = 1063; this.match(QuixosCapabilityParser.TRUE); } break; case QuixosCapabilityParser.FALSE: this.enterOuterAlt(localContext, 5); { - this.state = 1056; + this.state = 1064; this.match(QuixosCapabilityParser.FALSE); } break; case QuixosCapabilityParser.NULL: this.enterOuterAlt(localContext, 6); { - this.state = 1057; + this.state = 1065; this.match(QuixosCapabilityParser.NULL); } break; case QuixosCapabilityParser.LBRACE: this.enterOuterAlt(localContext, 7); { - this.state = 1058; + this.state = 1066; this.jsonObject(); } break; case QuixosCapabilityParser.LBRACK: this.enterOuterAlt(localContext, 8); { - this.state = 1059; + this.state = 1067; this.jsonArray(); } break; @@ -4209,35 +4232,35 @@ export class QuixosCapabilityParser extends antlr.Parser { try { this.enterOuterAlt(localContext, 1); { - this.state = 1062; + this.state = 1070; this.match(QuixosCapabilityParser.LBRACE); - this.state = 1071; + this.state = 1079; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 130) { { - this.state = 1063; + this.state = 1071; this.jsonMember(); - this.state = 1068; + this.state = 1076; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); while (_la === 115) { { { - this.state = 1064; + this.state = 1072; this.match(QuixosCapabilityParser.COMMA); - this.state = 1065; + this.state = 1073; this.jsonMember(); } } - this.state = 1070; + this.state = 1078; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } } } - this.state = 1073; + this.state = 1081; this.match(QuixosCapabilityParser.RBRACE); } } @@ -4260,11 +4283,11 @@ export class QuixosCapabilityParser extends antlr.Parser { try { this.enterOuterAlt(localContext, 1); { - this.state = 1075; + this.state = 1083; this.stringLiteral(); - this.state = 1076; + this.state = 1084; this.match(QuixosCapabilityParser.COLON); - this.state = 1077; + this.state = 1085; this.jsonLiteral(); } } @@ -4288,35 +4311,35 @@ export class QuixosCapabilityParser extends antlr.Parser { try { this.enterOuterAlt(localContext, 1); { - this.state = 1079; + this.state = 1087; this.match(QuixosCapabilityParser.LBRACK); - this.state = 1088; + this.state = 1096; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (((((_la - 109)) & ~0x1F) === 0 && ((1 << (_la - 109)) & 2884871) !== 0)) { { - this.state = 1080; + this.state = 1088; this.jsonLiteral(); - this.state = 1085; + this.state = 1093; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); while (_la === 115) { { { - this.state = 1081; + this.state = 1089; this.match(QuixosCapabilityParser.COMMA); - this.state = 1082; + this.state = 1090; this.jsonLiteral(); } } - this.state = 1087; + this.state = 1095; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } } } - this.state = 1090; + this.state = 1098; this.match(QuixosCapabilityParser.RBRACK); } } @@ -4340,7 +4363,7 @@ export class QuixosCapabilityParser extends antlr.Parser { try { this.enterOuterAlt(localContext, 1); { - this.state = 1092; + this.state = 1100; _la = this.tokenStream.LA(1); if(!((((_la) & ~0x1F) === 0 && ((1 << _la) & 65532) !== 0) || _la === 55 || _la === 129)) { this.errorHandler.recoverInline(this); @@ -4370,7 +4393,7 @@ export class QuixosCapabilityParser extends antlr.Parser { try { this.enterOuterAlt(localContext, 1); { - this.state = 1094; + this.state = 1102; this.match(QuixosCapabilityParser.STRING_LITERAL); } } @@ -4389,7 +4412,7 @@ export class QuixosCapabilityParser extends antlr.Parser { } public static readonly _serializedATN: number[] = [ - 4,1,133,1097,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,133,1105,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, @@ -4461,229 +4484,229 @@ export class QuixosCapabilityParser extends antlr.Parser { 1,50,1,50,1,50,1,50,1,50,1,50,1,50,1,51,1,51,1,51,1,51,1,51,1,51, 3,51,852,8,51,1,51,1,51,1,52,1,52,1,52,1,52,1,53,1,53,1,53,1,53, 1,53,1,53,1,53,1,53,1,53,1,53,1,53,3,53,871,8,53,1,54,1,54,1,54, - 1,54,1,54,1,54,1,54,1,54,1,54,1,54,1,54,1,54,1,54,1,54,1,54,1,54, - 1,54,3,54,890,8,54,1,54,3,54,893,8,54,3,54,895,8,54,1,55,1,55,1, - 56,1,56,1,57,1,57,1,57,5,57,904,8,57,10,57,12,57,907,9,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,3,58,921,8, - 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,1,58,3,58,937,8,58,1,58,1,58,1,58,1,58,1,58,1,58,1,58,3,58,946, - 8,58,1,58,1,58,1,58,1,58,1,58,1,58,3,58,954,8,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,967,8,58,1,58,1,58, - 1,58,1,58,1,58,1,58,1,58,1,58,1,58,1,58,3,58,979,8,58,1,58,1,58, - 3,58,983,8,58,1,59,1,59,1,59,1,59,1,59,1,59,1,59,3,59,992,8,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,3,60,1010,8,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,60,1,60,1,60,1,60,1,60,1,60,1,60,5, - 60,1032,8,60,10,60,12,60,1035,9,60,1,60,1,60,1,60,3,60,1040,8,60, - 3,60,1042,8,60,1,61,1,61,1,61,1,61,1,61,1,62,1,62,1,63,1,63,1,64, - 1,64,1,64,1,64,1,64,1,64,1,64,1,64,3,64,1061,8,64,1,65,1,65,1,65, - 1,65,5,65,1067,8,65,10,65,12,65,1070,9,65,3,65,1072,8,65,1,65,1, - 65,1,66,1,66,1,66,1,66,1,67,1,67,1,67,1,67,5,67,1084,8,67,10,67, - 12,67,1087,9,67,3,67,1089,8,67,1,67,1,67,1,68,1,68,1,69,1,69,1,69, - 0,0,70,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,0,7,1,0,81,85,2,0,76,80,82,83, - 2,0,76,77,82,83,2,0,78,80,82,83,1,0,101,108,1,0,88,91,3,0,2,15,55, - 55,129,129,1178,0,152,1,0,0,0,2,154,1,0,0,0,4,164,1,0,0,0,6,168, - 1,0,0,0,8,192,1,0,0,0,10,204,1,0,0,0,12,206,1,0,0,0,14,213,1,0,0, - 0,16,224,1,0,0,0,18,226,1,0,0,0,20,239,1,0,0,0,22,271,1,0,0,0,24, - 301,1,0,0,0,26,303,1,0,0,0,28,307,1,0,0,0,30,325,1,0,0,0,32,327, - 1,0,0,0,34,339,1,0,0,0,36,342,1,0,0,0,38,360,1,0,0,0,40,396,1,0, - 0,0,42,399,1,0,0,0,44,424,1,0,0,0,46,452,1,0,0,0,48,463,1,0,0,0, - 50,468,1,0,0,0,52,495,1,0,0,0,54,497,1,0,0,0,56,522,1,0,0,0,58,564, - 1,0,0,0,60,566,1,0,0,0,62,589,1,0,0,0,64,605,1,0,0,0,66,618,1,0, - 0,0,68,621,1,0,0,0,70,641,1,0,0,0,72,643,1,0,0,0,74,651,1,0,0,0, - 76,713,1,0,0,0,78,715,1,0,0,0,80,726,1,0,0,0,82,728,1,0,0,0,84,733, - 1,0,0,0,86,735,1,0,0,0,88,757,1,0,0,0,90,759,1,0,0,0,92,768,1,0, - 0,0,94,793,1,0,0,0,96,822,1,0,0,0,98,824,1,0,0,0,100,831,1,0,0,0, - 102,845,1,0,0,0,104,855,1,0,0,0,106,870,1,0,0,0,108,894,1,0,0,0, - 110,896,1,0,0,0,112,898,1,0,0,0,114,900,1,0,0,0,116,982,1,0,0,0, - 118,984,1,0,0,0,120,1041,1,0,0,0,122,1043,1,0,0,0,124,1048,1,0,0, - 0,126,1050,1,0,0,0,128,1060,1,0,0,0,130,1062,1,0,0,0,132,1075,1, - 0,0,0,134,1079,1,0,0,0,136,1092,1,0,0,0,138,1094,1,0,0,0,140,141, - 3,6,3,0,141,142,5,0,0,1,142,153,1,0,0,0,143,144,3,20,10,0,144,145, - 5,0,0,1,145,153,1,0,0,0,146,147,3,50,25,0,147,148,5,0,0,1,148,153, - 1,0,0,0,149,150,3,2,1,0,150,151,5,0,0,1,151,153,1,0,0,0,152,140, - 1,0,0,0,152,143,1,0,0,0,152,146,1,0,0,0,152,149,1,0,0,0,153,1,1, - 0,0,0,154,155,5,22,0,0,155,159,5,117,0,0,156,158,3,8,4,0,157,156, - 1,0,0,0,158,161,1,0,0,0,159,157,1,0,0,0,159,160,1,0,0,0,160,162, - 1,0,0,0,161,159,1,0,0,0,162,163,5,118,0,0,163,3,1,0,0,0,164,165, - 5,23,0,0,165,166,3,138,69,0,166,167,5,114,0,0,167,5,1,0,0,0,168, - 169,5,1,0,0,169,170,3,136,68,0,170,171,5,64,0,0,171,172,3,138,69, - 0,172,173,5,58,0,0,173,174,3,138,69,0,174,175,5,57,0,0,175,176,3, - 138,69,0,176,180,5,117,0,0,177,179,3,8,4,0,178,177,1,0,0,0,179,182, - 1,0,0,0,180,178,1,0,0,0,180,181,1,0,0,0,181,183,1,0,0,0,182,180, - 1,0,0,0,183,184,5,118,0,0,184,7,1,0,0,0,185,193,3,4,2,0,186,193, - 3,18,9,0,187,193,3,10,5,0,188,193,3,82,41,0,189,193,3,94,47,0,190, - 193,3,118,59,0,191,193,3,32,16,0,192,185,1,0,0,0,192,186,1,0,0,0, - 192,187,1,0,0,0,192,188,1,0,0,0,192,189,1,0,0,0,192,190,1,0,0,0, - 192,191,1,0,0,0,193,9,1,0,0,0,194,195,5,23,0,0,195,196,5,26,0,0, - 196,197,3,136,68,0,197,198,5,114,0,0,198,205,1,0,0,0,199,200,5,23, - 0,0,200,201,5,28,0,0,201,202,3,136,68,0,202,203,5,114,0,0,203,205, - 1,0,0,0,204,194,1,0,0,0,204,199,1,0,0,0,205,11,1,0,0,0,206,207,5, - 24,0,0,207,208,5,25,0,0,208,209,3,136,68,0,209,210,5,64,0,0,210, - 211,3,138,69,0,211,212,5,114,0,0,212,13,1,0,0,0,213,214,5,24,0,0, - 214,215,5,26,0,0,215,216,3,136,68,0,216,217,5,58,0,0,217,218,3,138, - 69,0,218,219,5,114,0,0,219,15,1,0,0,0,220,225,3,10,5,0,221,225,3, - 12,6,0,222,225,3,14,7,0,223,225,3,32,16,0,224,220,1,0,0,0,224,221, - 1,0,0,0,224,222,1,0,0,0,224,223,1,0,0,0,225,17,1,0,0,0,226,227,5, - 25,0,0,227,228,3,136,68,0,228,229,5,64,0,0,229,232,3,138,69,0,230, - 231,5,65,0,0,231,233,3,138,69,0,232,230,1,0,0,0,232,233,1,0,0,0, - 233,234,1,0,0,0,234,235,5,114,0,0,235,19,1,0,0,0,236,238,3,16,8, - 0,237,236,1,0,0,0,238,241,1,0,0,0,239,237,1,0,0,0,239,240,1,0,0, - 0,240,242,1,0,0,0,241,239,1,0,0,0,242,243,5,26,0,0,243,245,3,136, - 68,0,244,246,3,22,11,0,245,244,1,0,0,0,245,246,1,0,0,0,246,247,1, - 0,0,0,247,248,5,64,0,0,248,249,3,138,69,0,249,250,5,58,0,0,250,260, - 3,138,69,0,251,252,5,69,0,0,252,257,3,26,13,0,253,254,5,115,0,0, - 254,256,3,26,13,0,255,253,1,0,0,0,256,259,1,0,0,0,257,255,1,0,0, - 0,257,258,1,0,0,0,258,261,1,0,0,0,259,257,1,0,0,0,260,251,1,0,0, - 0,260,261,1,0,0,0,261,262,1,0,0,0,262,266,5,117,0,0,263,265,3,34, - 17,0,264,263,1,0,0,0,265,268,1,0,0,0,266,264,1,0,0,0,266,267,1,0, - 0,0,267,269,1,0,0,0,268,266,1,0,0,0,269,270,5,118,0,0,270,21,1,0, - 0,0,271,272,5,123,0,0,272,277,3,24,12,0,273,274,5,115,0,0,274,276, - 3,24,12,0,275,273,1,0,0,0,276,279,1,0,0,0,277,275,1,0,0,0,277,278, - 1,0,0,0,278,280,1,0,0,0,279,277,1,0,0,0,280,281,5,124,0,0,281,23, - 1,0,0,0,282,283,5,29,0,0,283,286,3,136,68,0,284,285,5,113,0,0,285, - 287,5,19,0,0,286,284,1,0,0,0,286,287,1,0,0,0,287,302,1,0,0,0,288, - 289,5,18,0,0,289,299,3,136,68,0,290,291,5,20,0,0,291,296,3,26,13, - 0,292,293,5,125,0,0,293,295,3,26,13,0,294,292,1,0,0,0,295,298,1, - 0,0,0,296,294,1,0,0,0,296,297,1,0,0,0,297,300,1,0,0,0,298,296,1, - 0,0,0,299,290,1,0,0,0,299,300,1,0,0,0,300,302,1,0,0,0,301,282,1, - 0,0,0,301,288,1,0,0,0,302,25,1,0,0,0,303,305,3,136,68,0,304,306, - 3,28,14,0,305,304,1,0,0,0,305,306,1,0,0,0,306,27,1,0,0,0,307,308, - 5,123,0,0,308,313,3,30,15,0,309,310,5,115,0,0,310,312,3,30,15,0, - 311,309,1,0,0,0,312,315,1,0,0,0,313,311,1,0,0,0,313,314,1,0,0,0, - 314,316,1,0,0,0,315,313,1,0,0,0,316,317,5,124,0,0,317,29,1,0,0,0, - 318,319,5,25,0,0,319,326,3,136,68,0,320,321,5,26,0,0,321,326,3,26, - 13,0,322,323,5,18,0,0,323,326,3,136,68,0,324,326,3,120,60,0,325, - 318,1,0,0,0,325,320,1,0,0,0,325,322,1,0,0,0,325,324,1,0,0,0,326, - 31,1,0,0,0,327,328,5,17,0,0,328,330,3,136,68,0,329,331,3,22,11,0, - 330,329,1,0,0,0,330,331,1,0,0,0,331,332,1,0,0,0,332,333,5,126,0, - 0,333,334,3,120,60,0,334,335,5,114,0,0,335,33,1,0,0,0,336,340,3, - 38,19,0,337,340,3,42,21,0,338,340,3,36,18,0,339,336,1,0,0,0,339, - 337,1,0,0,0,339,338,1,0,0,0,340,35,1,0,0,0,341,343,5,39,0,0,342, - 341,1,0,0,0,342,343,1,0,0,0,343,344,1,0,0,0,344,345,5,31,0,0,345, - 346,3,136,68,0,346,347,5,64,0,0,347,348,3,138,69,0,348,349,5,113, - 0,0,349,350,3,120,60,0,350,351,5,112,0,0,351,352,3,120,60,0,352, - 353,5,117,0,0,353,354,5,81,0,0,354,355,5,64,0,0,355,356,3,138,69, - 0,356,357,5,114,0,0,357,358,5,118,0,0,358,37,1,0,0,0,359,361,3,44, - 22,0,360,359,1,0,0,0,360,361,1,0,0,0,361,362,1,0,0,0,362,363,5,29, - 0,0,363,364,3,136,68,0,364,365,5,64,0,0,365,366,3,138,69,0,366,367, - 5,113,0,0,367,368,3,120,60,0,368,372,5,117,0,0,369,371,3,40,20,0, - 370,369,1,0,0,0,371,374,1,0,0,0,372,370,1,0,0,0,372,373,1,0,0,0, - 373,375,1,0,0,0,374,372,1,0,0,0,375,376,5,118,0,0,376,39,1,0,0,0, - 377,378,5,71,0,0,378,379,5,64,0,0,379,380,3,138,69,0,380,381,5,114, - 0,0,381,397,1,0,0,0,382,383,5,72,0,0,383,384,5,64,0,0,384,385,3, - 138,69,0,385,386,5,114,0,0,386,397,1,0,0,0,387,388,5,73,0,0,388, - 389,5,74,0,0,389,390,5,64,0,0,390,391,3,138,69,0,391,392,5,75,0, - 0,392,393,5,64,0,0,393,394,3,138,69,0,394,395,5,114,0,0,395,397, - 1,0,0,0,396,377,1,0,0,0,396,382,1,0,0,0,396,387,1,0,0,0,397,41,1, - 0,0,0,398,400,3,44,22,0,399,398,1,0,0,0,399,400,1,0,0,0,400,401, - 1,0,0,0,401,402,5,30,0,0,402,403,3,136,68,0,403,404,5,64,0,0,404, - 405,3,138,69,0,405,406,5,113,0,0,406,407,3,126,63,0,407,409,3,48, - 24,0,408,410,5,92,0,0,409,408,1,0,0,0,409,410,1,0,0,0,410,413,1, - 0,0,0,411,412,5,62,0,0,412,414,3,138,69,0,413,411,1,0,0,0,413,414, - 1,0,0,0,414,415,1,0,0,0,415,419,5,117,0,0,416,418,3,46,23,0,417, - 416,1,0,0,0,418,421,1,0,0,0,419,417,1,0,0,0,419,420,1,0,0,0,420, - 422,1,0,0,0,421,419,1,0,0,0,422,423,5,118,0,0,423,43,1,0,0,0,424, - 426,5,14,0,0,425,427,5,15,0,0,426,425,1,0,0,0,426,427,1,0,0,0,427, - 45,1,0,0,0,428,429,5,78,0,0,429,430,5,64,0,0,430,431,3,138,69,0, - 431,432,5,114,0,0,432,453,1,0,0,0,433,434,5,79,0,0,434,435,5,64, - 0,0,435,436,3,138,69,0,436,437,5,114,0,0,437,453,1,0,0,0,438,439, - 5,80,0,0,439,440,5,64,0,0,440,441,3,138,69,0,441,442,5,114,0,0,442, - 453,1,0,0,0,443,444,5,73,0,0,444,445,5,74,0,0,445,446,5,64,0,0,446, - 447,3,138,69,0,447,448,5,75,0,0,448,449,5,64,0,0,449,450,3,138,69, - 0,450,451,5,114,0,0,451,453,1,0,0,0,452,428,1,0,0,0,452,433,1,0, - 0,0,452,438,1,0,0,0,452,443,1,0,0,0,453,47,1,0,0,0,454,455,5,25, - 0,0,455,464,3,136,68,0,456,457,5,26,0,0,457,459,3,136,68,0,458,460, - 3,28,14,0,459,458,1,0,0,0,459,460,1,0,0,0,460,464,1,0,0,0,461,462, - 5,18,0,0,462,464,3,136,68,0,463,454,1,0,0,0,463,456,1,0,0,0,463, - 461,1,0,0,0,464,49,1,0,0,0,465,467,3,16,8,0,466,465,1,0,0,0,467, - 470,1,0,0,0,468,466,1,0,0,0,468,469,1,0,0,0,469,471,1,0,0,0,470, - 468,1,0,0,0,471,472,5,28,0,0,472,473,3,136,68,0,473,474,5,64,0,0, - 474,475,3,138,69,0,475,476,5,58,0,0,476,479,3,138,69,0,477,478,5, - 59,0,0,478,480,5,127,0,0,479,477,1,0,0,0,479,480,1,0,0,0,480,481, - 1,0,0,0,481,485,5,117,0,0,482,484,3,52,26,0,483,482,1,0,0,0,484, - 487,1,0,0,0,485,483,1,0,0,0,485,486,1,0,0,0,486,488,1,0,0,0,487, - 485,1,0,0,0,488,489,5,118,0,0,489,51,1,0,0,0,490,496,3,60,30,0,491, - 496,3,62,31,0,492,496,3,64,32,0,493,496,3,54,27,0,494,496,3,56,28, - 0,495,490,1,0,0,0,495,491,1,0,0,0,495,492,1,0,0,0,495,493,1,0,0, - 0,495,494,1,0,0,0,496,53,1,0,0,0,497,498,5,5,0,0,498,500,3,136,68, - 0,499,501,3,22,11,0,500,499,1,0,0,0,500,501,1,0,0,0,501,502,1,0, - 0,0,502,503,5,64,0,0,503,504,3,138,69,0,504,506,5,7,0,0,505,507, - 5,1,0,0,506,505,1,0,0,0,506,507,1,0,0,0,507,508,1,0,0,0,508,509, - 3,26,13,0,509,510,5,8,0,0,510,511,3,138,69,0,511,512,5,31,0,0,512, - 513,3,138,69,0,513,517,5,117,0,0,514,516,3,58,29,0,515,514,1,0,0, - 0,516,519,1,0,0,0,517,515,1,0,0,0,517,518,1,0,0,0,518,520,1,0,0, - 0,519,517,1,0,0,0,520,521,5,118,0,0,521,55,1,0,0,0,522,523,5,5,0, - 0,523,524,3,136,68,0,524,525,5,64,0,0,525,526,3,138,69,0,526,527, - 5,6,0,0,527,528,3,136,68,0,528,529,3,28,14,0,529,530,5,114,0,0,530, - 57,1,0,0,0,531,532,5,9,0,0,532,533,3,138,69,0,533,534,5,114,0,0, - 534,565,1,0,0,0,535,537,5,10,0,0,536,538,5,18,0,0,537,536,1,0,0, - 0,537,538,1,0,0,0,538,539,1,0,0,0,539,540,3,136,68,0,540,541,5,37, - 0,0,541,542,3,26,13,0,542,543,5,114,0,0,543,565,1,0,0,0,544,545, - 5,11,0,0,545,546,3,136,68,0,546,547,5,127,0,0,547,548,5,114,0,0, - 548,565,1,0,0,0,549,550,5,12,0,0,550,551,3,26,13,0,551,552,5,116, - 0,0,552,553,3,136,68,0,553,554,3,136,68,0,554,555,3,138,69,0,555, - 556,5,114,0,0,556,565,1,0,0,0,557,558,5,73,0,0,558,565,5,114,0,0, - 559,560,5,13,0,0,560,561,5,127,0,0,561,562,3,138,69,0,562,563,5, - 114,0,0,563,565,1,0,0,0,564,531,1,0,0,0,564,535,1,0,0,0,564,544, - 1,0,0,0,564,549,1,0,0,0,564,557,1,0,0,0,564,559,1,0,0,0,565,59,1, - 0,0,0,566,567,5,31,0,0,567,569,3,136,68,0,568,570,3,22,11,0,569, - 568,1,0,0,0,569,570,1,0,0,0,570,571,1,0,0,0,571,572,5,64,0,0,572, - 573,3,138,69,0,573,574,5,113,0,0,574,575,3,120,60,0,575,576,5,112, - 0,0,576,577,3,120,60,0,577,578,5,66,0,0,578,580,3,68,34,0,579,581, - 3,66,33,0,580,579,1,0,0,0,580,581,1,0,0,0,581,582,1,0,0,0,582,583, - 5,68,0,0,583,585,3,70,35,0,584,586,3,74,37,0,585,584,1,0,0,0,585, - 586,1,0,0,0,586,587,1,0,0,0,587,588,5,114,0,0,588,61,1,0,0,0,589, - 590,5,32,0,0,590,592,3,136,68,0,591,593,3,22,11,0,592,591,1,0,0, - 0,592,593,1,0,0,0,593,594,1,0,0,0,594,595,5,64,0,0,595,596,3,138, - 69,0,596,597,5,113,0,0,597,598,3,120,60,0,598,599,5,112,0,0,599, - 601,3,120,60,0,600,602,3,74,37,0,601,600,1,0,0,0,601,602,1,0,0,0, - 602,603,1,0,0,0,603,604,5,114,0,0,604,63,1,0,0,0,605,606,5,33,0, - 0,606,607,3,136,68,0,607,608,5,64,0,0,608,609,3,138,69,0,609,610, - 5,34,0,0,610,611,3,136,68,0,611,612,5,113,0,0,612,614,3,120,60,0, - 613,615,3,74,37,0,614,613,1,0,0,0,614,615,1,0,0,0,615,616,1,0,0, - 0,616,617,5,114,0,0,617,65,1,0,0,0,618,619,5,67,0,0,619,620,3,120, - 60,0,620,67,1,0,0,0,621,622,7,0,0,0,622,69,1,0,0,0,623,642,5,70, - 0,0,624,625,5,25,0,0,625,642,3,136,68,0,626,627,5,18,0,0,627,642, - 3,136,68,0,628,629,5,27,0,0,629,638,5,119,0,0,630,635,3,26,13,0, - 631,632,5,115,0,0,632,634,3,26,13,0,633,631,1,0,0,0,634,637,1,0, - 0,0,635,633,1,0,0,0,635,636,1,0,0,0,636,639,1,0,0,0,637,635,1,0, - 0,0,638,630,1,0,0,0,638,639,1,0,0,0,639,640,1,0,0,0,640,642,5,120, - 0,0,641,623,1,0,0,0,641,624,1,0,0,0,641,626,1,0,0,0,641,628,1,0, - 0,0,642,71,1,0,0,0,643,648,3,136,68,0,644,645,5,115,0,0,645,647, - 3,136,68,0,646,644,1,0,0,0,647,650,1,0,0,0,648,646,1,0,0,0,648,649, - 1,0,0,0,649,73,1,0,0,0,650,648,1,0,0,0,651,652,5,69,0,0,652,656, - 5,117,0,0,653,655,3,76,38,0,654,653,1,0,0,0,655,658,1,0,0,0,656, - 654,1,0,0,0,656,657,1,0,0,0,657,659,1,0,0,0,658,656,1,0,0,0,659, - 660,5,118,0,0,660,75,1,0,0,0,661,662,5,43,0,0,662,663,3,136,68,0, - 663,664,5,64,0,0,664,665,3,138,69,0,665,666,5,113,0,0,666,667,3, - 120,60,0,667,668,3,78,39,0,668,669,5,114,0,0,669,714,1,0,0,0,670, - 671,5,44,0,0,671,672,3,136,68,0,672,673,5,64,0,0,673,674,3,138,69, - 0,674,675,5,113,0,0,675,676,3,126,63,0,676,677,3,48,24,0,677,678, - 3,78,39,0,678,679,5,114,0,0,679,714,1,0,0,0,680,681,5,26,0,0,681, - 682,3,136,68,0,682,683,5,64,0,0,683,684,3,138,69,0,684,685,5,113, - 0,0,685,687,3,136,68,0,686,688,3,28,14,0,687,686,1,0,0,0,687,688, - 1,0,0,0,688,689,1,0,0,0,689,690,5,114,0,0,690,714,1,0,0,0,691,692, - 5,33,0,0,692,693,3,136,68,0,693,694,5,64,0,0,694,695,3,138,69,0, - 695,696,5,113,0,0,696,699,3,136,68,0,697,698,5,35,0,0,698,700,3, - 120,60,0,699,697,1,0,0,0,699,700,1,0,0,0,700,701,1,0,0,0,701,702, - 5,114,0,0,702,714,1,0,0,0,703,704,5,5,0,0,704,705,3,136,68,0,705, - 706,5,64,0,0,706,707,3,138,69,0,707,708,5,113,0,0,708,709,3,136, - 68,0,709,710,5,116,0,0,710,711,3,136,68,0,711,712,5,114,0,0,712, - 714,1,0,0,0,713,661,1,0,0,0,713,670,1,0,0,0,713,680,1,0,0,0,713, - 691,1,0,0,0,713,703,1,0,0,0,714,77,1,0,0,0,715,716,5,119,0,0,716, - 721,3,80,40,0,717,718,5,115,0,0,718,720,3,80,40,0,719,717,1,0,0, - 0,720,723,1,0,0,0,721,719,1,0,0,0,721,722,1,0,0,0,722,724,1,0,0, - 0,723,721,1,0,0,0,724,725,5,120,0,0,725,79,1,0,0,0,726,727,7,1,0, - 0,727,81,1,0,0,0,728,729,5,42,0,0,729,730,3,84,42,0,730,83,1,0,0, - 0,731,734,3,86,43,0,732,734,3,90,45,0,733,731,1,0,0,0,733,732,1, - 0,0,0,734,85,1,0,0,0,735,736,5,43,0,0,736,737,3,136,68,0,737,738, - 5,64,0,0,738,739,3,138,69,0,739,740,5,52,0,0,740,741,3,136,68,0, - 741,742,5,113,0,0,742,743,3,120,60,0,743,744,5,53,0,0,744,747,3, - 88,44,0,745,746,5,54,0,0,746,748,3,128,64,0,747,745,1,0,0,0,747, + 1,54,1,54,1,54,1,54,1,54,1,54,1,54,1,54,1,54,1,54,1,54,1,54,3,54, + 888,8,54,1,54,1,54,1,54,1,54,1,54,1,54,1,54,1,54,3,54,898,8,54,1, + 54,3,54,901,8,54,3,54,903,8,54,1,55,1,55,1,56,1,56,1,57,1,57,1,57, + 5,57,912,8,57,10,57,12,57,915,9,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,3,58,929,8,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,1,58,3,58,945,8,58, + 1,58,1,58,1,58,1,58,1,58,1,58,1,58,3,58,954,8,58,1,58,1,58,1,58, + 1,58,1,58,1,58,3,58,962,8,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,975,8,58,1,58,1,58,1,58,1,58,1,58,1,58, + 1,58,1,58,1,58,1,58,3,58,987,8,58,1,58,1,58,3,58,991,8,58,1,59,1, + 59,1,59,1,59,1,59,1,59,1,59,3,59,1000,8,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,3,60,1018, + 8,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,60,1,60,1,60,1,60,1,60,1,60,1,60,5,60,1040,8,60,10,60,12, + 60,1043,9,60,1,60,1,60,1,60,3,60,1048,8,60,3,60,1050,8,60,1,61,1, + 61,1,61,1,61,1,61,1,62,1,62,1,63,1,63,1,64,1,64,1,64,1,64,1,64,1, + 64,1,64,1,64,3,64,1069,8,64,1,65,1,65,1,65,1,65,5,65,1075,8,65,10, + 65,12,65,1078,9,65,3,65,1080,8,65,1,65,1,65,1,66,1,66,1,66,1,66, + 1,67,1,67,1,67,1,67,5,67,1092,8,67,10,67,12,67,1095,9,67,3,67,1097, + 8,67,1,67,1,67,1,68,1,68,1,69,1,69,1,69,0,0,70,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,0,7,1,0,81,85,2,0,76,80,82,83,2,0,76,77,82,83,2,0,78, + 80,82,83,1,0,101,108,1,0,88,91,3,0,2,15,55,55,129,129,1188,0,152, + 1,0,0,0,2,154,1,0,0,0,4,164,1,0,0,0,6,168,1,0,0,0,8,192,1,0,0,0, + 10,204,1,0,0,0,12,206,1,0,0,0,14,213,1,0,0,0,16,224,1,0,0,0,18,226, + 1,0,0,0,20,239,1,0,0,0,22,271,1,0,0,0,24,301,1,0,0,0,26,303,1,0, + 0,0,28,307,1,0,0,0,30,325,1,0,0,0,32,327,1,0,0,0,34,339,1,0,0,0, + 36,342,1,0,0,0,38,360,1,0,0,0,40,396,1,0,0,0,42,399,1,0,0,0,44,424, + 1,0,0,0,46,452,1,0,0,0,48,463,1,0,0,0,50,468,1,0,0,0,52,495,1,0, + 0,0,54,497,1,0,0,0,56,522,1,0,0,0,58,564,1,0,0,0,60,566,1,0,0,0, + 62,589,1,0,0,0,64,605,1,0,0,0,66,618,1,0,0,0,68,621,1,0,0,0,70,641, + 1,0,0,0,72,643,1,0,0,0,74,651,1,0,0,0,76,713,1,0,0,0,78,715,1,0, + 0,0,80,726,1,0,0,0,82,728,1,0,0,0,84,733,1,0,0,0,86,735,1,0,0,0, + 88,757,1,0,0,0,90,759,1,0,0,0,92,768,1,0,0,0,94,793,1,0,0,0,96,822, + 1,0,0,0,98,824,1,0,0,0,100,831,1,0,0,0,102,845,1,0,0,0,104,855,1, + 0,0,0,106,870,1,0,0,0,108,902,1,0,0,0,110,904,1,0,0,0,112,906,1, + 0,0,0,114,908,1,0,0,0,116,990,1,0,0,0,118,992,1,0,0,0,120,1049,1, + 0,0,0,122,1051,1,0,0,0,124,1056,1,0,0,0,126,1058,1,0,0,0,128,1068, + 1,0,0,0,130,1070,1,0,0,0,132,1083,1,0,0,0,134,1087,1,0,0,0,136,1100, + 1,0,0,0,138,1102,1,0,0,0,140,141,3,6,3,0,141,142,5,0,0,1,142,153, + 1,0,0,0,143,144,3,20,10,0,144,145,5,0,0,1,145,153,1,0,0,0,146,147, + 3,50,25,0,147,148,5,0,0,1,148,153,1,0,0,0,149,150,3,2,1,0,150,151, + 5,0,0,1,151,153,1,0,0,0,152,140,1,0,0,0,152,143,1,0,0,0,152,146, + 1,0,0,0,152,149,1,0,0,0,153,1,1,0,0,0,154,155,5,22,0,0,155,159,5, + 117,0,0,156,158,3,8,4,0,157,156,1,0,0,0,158,161,1,0,0,0,159,157, + 1,0,0,0,159,160,1,0,0,0,160,162,1,0,0,0,161,159,1,0,0,0,162,163, + 5,118,0,0,163,3,1,0,0,0,164,165,5,23,0,0,165,166,3,138,69,0,166, + 167,5,114,0,0,167,5,1,0,0,0,168,169,5,1,0,0,169,170,3,136,68,0,170, + 171,5,64,0,0,171,172,3,138,69,0,172,173,5,58,0,0,173,174,3,138,69, + 0,174,175,5,57,0,0,175,176,3,138,69,0,176,180,5,117,0,0,177,179, + 3,8,4,0,178,177,1,0,0,0,179,182,1,0,0,0,180,178,1,0,0,0,180,181, + 1,0,0,0,181,183,1,0,0,0,182,180,1,0,0,0,183,184,5,118,0,0,184,7, + 1,0,0,0,185,193,3,4,2,0,186,193,3,18,9,0,187,193,3,10,5,0,188,193, + 3,82,41,0,189,193,3,94,47,0,190,193,3,118,59,0,191,193,3,32,16,0, + 192,185,1,0,0,0,192,186,1,0,0,0,192,187,1,0,0,0,192,188,1,0,0,0, + 192,189,1,0,0,0,192,190,1,0,0,0,192,191,1,0,0,0,193,9,1,0,0,0,194, + 195,5,23,0,0,195,196,5,26,0,0,196,197,3,136,68,0,197,198,5,114,0, + 0,198,205,1,0,0,0,199,200,5,23,0,0,200,201,5,28,0,0,201,202,3,136, + 68,0,202,203,5,114,0,0,203,205,1,0,0,0,204,194,1,0,0,0,204,199,1, + 0,0,0,205,11,1,0,0,0,206,207,5,24,0,0,207,208,5,25,0,0,208,209,3, + 136,68,0,209,210,5,64,0,0,210,211,3,138,69,0,211,212,5,114,0,0,212, + 13,1,0,0,0,213,214,5,24,0,0,214,215,5,26,0,0,215,216,3,136,68,0, + 216,217,5,58,0,0,217,218,3,138,69,0,218,219,5,114,0,0,219,15,1,0, + 0,0,220,225,3,10,5,0,221,225,3,12,6,0,222,225,3,14,7,0,223,225,3, + 32,16,0,224,220,1,0,0,0,224,221,1,0,0,0,224,222,1,0,0,0,224,223, + 1,0,0,0,225,17,1,0,0,0,226,227,5,25,0,0,227,228,3,136,68,0,228,229, + 5,64,0,0,229,232,3,138,69,0,230,231,5,65,0,0,231,233,3,138,69,0, + 232,230,1,0,0,0,232,233,1,0,0,0,233,234,1,0,0,0,234,235,5,114,0, + 0,235,19,1,0,0,0,236,238,3,16,8,0,237,236,1,0,0,0,238,241,1,0,0, + 0,239,237,1,0,0,0,239,240,1,0,0,0,240,242,1,0,0,0,241,239,1,0,0, + 0,242,243,5,26,0,0,243,245,3,136,68,0,244,246,3,22,11,0,245,244, + 1,0,0,0,245,246,1,0,0,0,246,247,1,0,0,0,247,248,5,64,0,0,248,249, + 3,138,69,0,249,250,5,58,0,0,250,260,3,138,69,0,251,252,5,69,0,0, + 252,257,3,26,13,0,253,254,5,115,0,0,254,256,3,26,13,0,255,253,1, + 0,0,0,256,259,1,0,0,0,257,255,1,0,0,0,257,258,1,0,0,0,258,261,1, + 0,0,0,259,257,1,0,0,0,260,251,1,0,0,0,260,261,1,0,0,0,261,262,1, + 0,0,0,262,266,5,117,0,0,263,265,3,34,17,0,264,263,1,0,0,0,265,268, + 1,0,0,0,266,264,1,0,0,0,266,267,1,0,0,0,267,269,1,0,0,0,268,266, + 1,0,0,0,269,270,5,118,0,0,270,21,1,0,0,0,271,272,5,123,0,0,272,277, + 3,24,12,0,273,274,5,115,0,0,274,276,3,24,12,0,275,273,1,0,0,0,276, + 279,1,0,0,0,277,275,1,0,0,0,277,278,1,0,0,0,278,280,1,0,0,0,279, + 277,1,0,0,0,280,281,5,124,0,0,281,23,1,0,0,0,282,283,5,29,0,0,283, + 286,3,136,68,0,284,285,5,113,0,0,285,287,5,19,0,0,286,284,1,0,0, + 0,286,287,1,0,0,0,287,302,1,0,0,0,288,289,5,18,0,0,289,299,3,136, + 68,0,290,291,5,20,0,0,291,296,3,26,13,0,292,293,5,125,0,0,293,295, + 3,26,13,0,294,292,1,0,0,0,295,298,1,0,0,0,296,294,1,0,0,0,296,297, + 1,0,0,0,297,300,1,0,0,0,298,296,1,0,0,0,299,290,1,0,0,0,299,300, + 1,0,0,0,300,302,1,0,0,0,301,282,1,0,0,0,301,288,1,0,0,0,302,25,1, + 0,0,0,303,305,3,136,68,0,304,306,3,28,14,0,305,304,1,0,0,0,305,306, + 1,0,0,0,306,27,1,0,0,0,307,308,5,123,0,0,308,313,3,30,15,0,309,310, + 5,115,0,0,310,312,3,30,15,0,311,309,1,0,0,0,312,315,1,0,0,0,313, + 311,1,0,0,0,313,314,1,0,0,0,314,316,1,0,0,0,315,313,1,0,0,0,316, + 317,5,124,0,0,317,29,1,0,0,0,318,319,5,25,0,0,319,326,3,136,68,0, + 320,321,5,26,0,0,321,326,3,26,13,0,322,323,5,18,0,0,323,326,3,136, + 68,0,324,326,3,120,60,0,325,318,1,0,0,0,325,320,1,0,0,0,325,322, + 1,0,0,0,325,324,1,0,0,0,326,31,1,0,0,0,327,328,5,17,0,0,328,330, + 3,136,68,0,329,331,3,22,11,0,330,329,1,0,0,0,330,331,1,0,0,0,331, + 332,1,0,0,0,332,333,5,126,0,0,333,334,3,120,60,0,334,335,5,114,0, + 0,335,33,1,0,0,0,336,340,3,38,19,0,337,340,3,42,21,0,338,340,3,36, + 18,0,339,336,1,0,0,0,339,337,1,0,0,0,339,338,1,0,0,0,340,35,1,0, + 0,0,341,343,5,39,0,0,342,341,1,0,0,0,342,343,1,0,0,0,343,344,1,0, + 0,0,344,345,5,31,0,0,345,346,3,136,68,0,346,347,5,64,0,0,347,348, + 3,138,69,0,348,349,5,113,0,0,349,350,3,120,60,0,350,351,5,112,0, + 0,351,352,3,120,60,0,352,353,5,117,0,0,353,354,5,81,0,0,354,355, + 5,64,0,0,355,356,3,138,69,0,356,357,5,114,0,0,357,358,5,118,0,0, + 358,37,1,0,0,0,359,361,3,44,22,0,360,359,1,0,0,0,360,361,1,0,0,0, + 361,362,1,0,0,0,362,363,5,29,0,0,363,364,3,136,68,0,364,365,5,64, + 0,0,365,366,3,138,69,0,366,367,5,113,0,0,367,368,3,120,60,0,368, + 372,5,117,0,0,369,371,3,40,20,0,370,369,1,0,0,0,371,374,1,0,0,0, + 372,370,1,0,0,0,372,373,1,0,0,0,373,375,1,0,0,0,374,372,1,0,0,0, + 375,376,5,118,0,0,376,39,1,0,0,0,377,378,5,71,0,0,378,379,5,64,0, + 0,379,380,3,138,69,0,380,381,5,114,0,0,381,397,1,0,0,0,382,383,5, + 72,0,0,383,384,5,64,0,0,384,385,3,138,69,0,385,386,5,114,0,0,386, + 397,1,0,0,0,387,388,5,73,0,0,388,389,5,74,0,0,389,390,5,64,0,0,390, + 391,3,138,69,0,391,392,5,75,0,0,392,393,5,64,0,0,393,394,3,138,69, + 0,394,395,5,114,0,0,395,397,1,0,0,0,396,377,1,0,0,0,396,382,1,0, + 0,0,396,387,1,0,0,0,397,41,1,0,0,0,398,400,3,44,22,0,399,398,1,0, + 0,0,399,400,1,0,0,0,400,401,1,0,0,0,401,402,5,30,0,0,402,403,3,136, + 68,0,403,404,5,64,0,0,404,405,3,138,69,0,405,406,5,113,0,0,406,407, + 3,126,63,0,407,409,3,48,24,0,408,410,5,92,0,0,409,408,1,0,0,0,409, + 410,1,0,0,0,410,413,1,0,0,0,411,412,5,62,0,0,412,414,3,138,69,0, + 413,411,1,0,0,0,413,414,1,0,0,0,414,415,1,0,0,0,415,419,5,117,0, + 0,416,418,3,46,23,0,417,416,1,0,0,0,418,421,1,0,0,0,419,417,1,0, + 0,0,419,420,1,0,0,0,420,422,1,0,0,0,421,419,1,0,0,0,422,423,5,118, + 0,0,423,43,1,0,0,0,424,426,5,14,0,0,425,427,5,15,0,0,426,425,1,0, + 0,0,426,427,1,0,0,0,427,45,1,0,0,0,428,429,5,78,0,0,429,430,5,64, + 0,0,430,431,3,138,69,0,431,432,5,114,0,0,432,453,1,0,0,0,433,434, + 5,79,0,0,434,435,5,64,0,0,435,436,3,138,69,0,436,437,5,114,0,0,437, + 453,1,0,0,0,438,439,5,80,0,0,439,440,5,64,0,0,440,441,3,138,69,0, + 441,442,5,114,0,0,442,453,1,0,0,0,443,444,5,73,0,0,444,445,5,74, + 0,0,445,446,5,64,0,0,446,447,3,138,69,0,447,448,5,75,0,0,448,449, + 5,64,0,0,449,450,3,138,69,0,450,451,5,114,0,0,451,453,1,0,0,0,452, + 428,1,0,0,0,452,433,1,0,0,0,452,438,1,0,0,0,452,443,1,0,0,0,453, + 47,1,0,0,0,454,455,5,25,0,0,455,464,3,136,68,0,456,457,5,26,0,0, + 457,459,3,136,68,0,458,460,3,28,14,0,459,458,1,0,0,0,459,460,1,0, + 0,0,460,464,1,0,0,0,461,462,5,18,0,0,462,464,3,136,68,0,463,454, + 1,0,0,0,463,456,1,0,0,0,463,461,1,0,0,0,464,49,1,0,0,0,465,467,3, + 16,8,0,466,465,1,0,0,0,467,470,1,0,0,0,468,466,1,0,0,0,468,469,1, + 0,0,0,469,471,1,0,0,0,470,468,1,0,0,0,471,472,5,28,0,0,472,473,3, + 136,68,0,473,474,5,64,0,0,474,475,3,138,69,0,475,476,5,58,0,0,476, + 479,3,138,69,0,477,478,5,59,0,0,478,480,5,127,0,0,479,477,1,0,0, + 0,479,480,1,0,0,0,480,481,1,0,0,0,481,485,5,117,0,0,482,484,3,52, + 26,0,483,482,1,0,0,0,484,487,1,0,0,0,485,483,1,0,0,0,485,486,1,0, + 0,0,486,488,1,0,0,0,487,485,1,0,0,0,488,489,5,118,0,0,489,51,1,0, + 0,0,490,496,3,60,30,0,491,496,3,62,31,0,492,496,3,64,32,0,493,496, + 3,54,27,0,494,496,3,56,28,0,495,490,1,0,0,0,495,491,1,0,0,0,495, + 492,1,0,0,0,495,493,1,0,0,0,495,494,1,0,0,0,496,53,1,0,0,0,497,498, + 5,5,0,0,498,500,3,136,68,0,499,501,3,22,11,0,500,499,1,0,0,0,500, + 501,1,0,0,0,501,502,1,0,0,0,502,503,5,64,0,0,503,504,3,138,69,0, + 504,506,5,7,0,0,505,507,5,1,0,0,506,505,1,0,0,0,506,507,1,0,0,0, + 507,508,1,0,0,0,508,509,3,26,13,0,509,510,5,8,0,0,510,511,3,138, + 69,0,511,512,5,31,0,0,512,513,3,138,69,0,513,517,5,117,0,0,514,516, + 3,58,29,0,515,514,1,0,0,0,516,519,1,0,0,0,517,515,1,0,0,0,517,518, + 1,0,0,0,518,520,1,0,0,0,519,517,1,0,0,0,520,521,5,118,0,0,521,55, + 1,0,0,0,522,523,5,5,0,0,523,524,3,136,68,0,524,525,5,64,0,0,525, + 526,3,138,69,0,526,527,5,6,0,0,527,528,3,136,68,0,528,529,3,28,14, + 0,529,530,5,114,0,0,530,57,1,0,0,0,531,532,5,9,0,0,532,533,3,138, + 69,0,533,534,5,114,0,0,534,565,1,0,0,0,535,537,5,10,0,0,536,538, + 5,18,0,0,537,536,1,0,0,0,537,538,1,0,0,0,538,539,1,0,0,0,539,540, + 3,136,68,0,540,541,5,37,0,0,541,542,3,26,13,0,542,543,5,114,0,0, + 543,565,1,0,0,0,544,545,5,11,0,0,545,546,3,136,68,0,546,547,5,127, + 0,0,547,548,5,114,0,0,548,565,1,0,0,0,549,550,5,12,0,0,550,551,3, + 26,13,0,551,552,5,116,0,0,552,553,3,136,68,0,553,554,3,136,68,0, + 554,555,3,138,69,0,555,556,5,114,0,0,556,565,1,0,0,0,557,558,5,73, + 0,0,558,565,5,114,0,0,559,560,5,13,0,0,560,561,5,127,0,0,561,562, + 3,138,69,0,562,563,5,114,0,0,563,565,1,0,0,0,564,531,1,0,0,0,564, + 535,1,0,0,0,564,544,1,0,0,0,564,549,1,0,0,0,564,557,1,0,0,0,564, + 559,1,0,0,0,565,59,1,0,0,0,566,567,5,31,0,0,567,569,3,136,68,0,568, + 570,3,22,11,0,569,568,1,0,0,0,569,570,1,0,0,0,570,571,1,0,0,0,571, + 572,5,64,0,0,572,573,3,138,69,0,573,574,5,113,0,0,574,575,3,120, + 60,0,575,576,5,112,0,0,576,577,3,120,60,0,577,578,5,66,0,0,578,580, + 3,68,34,0,579,581,3,66,33,0,580,579,1,0,0,0,580,581,1,0,0,0,581, + 582,1,0,0,0,582,583,5,68,0,0,583,585,3,70,35,0,584,586,3,74,37,0, + 585,584,1,0,0,0,585,586,1,0,0,0,586,587,1,0,0,0,587,588,5,114,0, + 0,588,61,1,0,0,0,589,590,5,32,0,0,590,592,3,136,68,0,591,593,3,22, + 11,0,592,591,1,0,0,0,592,593,1,0,0,0,593,594,1,0,0,0,594,595,5,64, + 0,0,595,596,3,138,69,0,596,597,5,113,0,0,597,598,3,120,60,0,598, + 599,5,112,0,0,599,601,3,120,60,0,600,602,3,74,37,0,601,600,1,0,0, + 0,601,602,1,0,0,0,602,603,1,0,0,0,603,604,5,114,0,0,604,63,1,0,0, + 0,605,606,5,33,0,0,606,607,3,136,68,0,607,608,5,64,0,0,608,609,3, + 138,69,0,609,610,5,34,0,0,610,611,3,136,68,0,611,612,5,113,0,0,612, + 614,3,120,60,0,613,615,3,74,37,0,614,613,1,0,0,0,614,615,1,0,0,0, + 615,616,1,0,0,0,616,617,5,114,0,0,617,65,1,0,0,0,618,619,5,67,0, + 0,619,620,3,120,60,0,620,67,1,0,0,0,621,622,7,0,0,0,622,69,1,0,0, + 0,623,642,5,70,0,0,624,625,5,25,0,0,625,642,3,136,68,0,626,627,5, + 18,0,0,627,642,3,136,68,0,628,629,5,27,0,0,629,638,5,119,0,0,630, + 635,3,26,13,0,631,632,5,115,0,0,632,634,3,26,13,0,633,631,1,0,0, + 0,634,637,1,0,0,0,635,633,1,0,0,0,635,636,1,0,0,0,636,639,1,0,0, + 0,637,635,1,0,0,0,638,630,1,0,0,0,638,639,1,0,0,0,639,640,1,0,0, + 0,640,642,5,120,0,0,641,623,1,0,0,0,641,624,1,0,0,0,641,626,1,0, + 0,0,641,628,1,0,0,0,642,71,1,0,0,0,643,648,3,136,68,0,644,645,5, + 115,0,0,645,647,3,136,68,0,646,644,1,0,0,0,647,650,1,0,0,0,648,646, + 1,0,0,0,648,649,1,0,0,0,649,73,1,0,0,0,650,648,1,0,0,0,651,652,5, + 69,0,0,652,656,5,117,0,0,653,655,3,76,38,0,654,653,1,0,0,0,655,658, + 1,0,0,0,656,654,1,0,0,0,656,657,1,0,0,0,657,659,1,0,0,0,658,656, + 1,0,0,0,659,660,5,118,0,0,660,75,1,0,0,0,661,662,5,43,0,0,662,663, + 3,136,68,0,663,664,5,64,0,0,664,665,3,138,69,0,665,666,5,113,0,0, + 666,667,3,120,60,0,667,668,3,78,39,0,668,669,5,114,0,0,669,714,1, + 0,0,0,670,671,5,44,0,0,671,672,3,136,68,0,672,673,5,64,0,0,673,674, + 3,138,69,0,674,675,5,113,0,0,675,676,3,126,63,0,676,677,3,48,24, + 0,677,678,3,78,39,0,678,679,5,114,0,0,679,714,1,0,0,0,680,681,5, + 26,0,0,681,682,3,136,68,0,682,683,5,64,0,0,683,684,3,138,69,0,684, + 685,5,113,0,0,685,687,3,136,68,0,686,688,3,28,14,0,687,686,1,0,0, + 0,687,688,1,0,0,0,688,689,1,0,0,0,689,690,5,114,0,0,690,714,1,0, + 0,0,691,692,5,33,0,0,692,693,3,136,68,0,693,694,5,64,0,0,694,695, + 3,138,69,0,695,696,5,113,0,0,696,699,3,136,68,0,697,698,5,35,0,0, + 698,700,3,120,60,0,699,697,1,0,0,0,699,700,1,0,0,0,700,701,1,0,0, + 0,701,702,5,114,0,0,702,714,1,0,0,0,703,704,5,5,0,0,704,705,3,136, + 68,0,705,706,5,64,0,0,706,707,3,138,69,0,707,708,5,113,0,0,708,709, + 3,136,68,0,709,710,5,116,0,0,710,711,3,136,68,0,711,712,5,114,0, + 0,712,714,1,0,0,0,713,661,1,0,0,0,713,670,1,0,0,0,713,680,1,0,0, + 0,713,691,1,0,0,0,713,703,1,0,0,0,714,77,1,0,0,0,715,716,5,119,0, + 0,716,721,3,80,40,0,717,718,5,115,0,0,718,720,3,80,40,0,719,717, + 1,0,0,0,720,723,1,0,0,0,721,719,1,0,0,0,721,722,1,0,0,0,722,724, + 1,0,0,0,723,721,1,0,0,0,724,725,5,120,0,0,725,79,1,0,0,0,726,727, + 7,1,0,0,727,81,1,0,0,0,728,729,5,42,0,0,729,730,3,84,42,0,730,83, + 1,0,0,0,731,734,3,86,43,0,732,734,3,90,45,0,733,731,1,0,0,0,733, + 732,1,0,0,0,734,85,1,0,0,0,735,736,5,43,0,0,736,737,3,136,68,0,737, + 738,5,64,0,0,738,739,3,138,69,0,739,740,5,52,0,0,740,741,3,136,68, + 0,741,742,5,113,0,0,742,743,3,120,60,0,743,744,5,53,0,0,744,747, + 3,88,44,0,745,746,5,54,0,0,746,748,3,128,64,0,747,745,1,0,0,0,747, 748,1,0,0,0,748,749,1,0,0,0,749,750,5,114,0,0,750,87,1,0,0,0,751, 758,5,86,0,0,752,753,5,87,0,0,753,754,5,121,0,0,754,755,3,120,60, 0,755,756,5,122,0,0,756,758,1,0,0,0,757,751,1,0,0,0,757,752,1,0, @@ -4724,84 +4747,87 @@ export class QuixosCapabilityParser extends antlr.Parser { 1,0,0,0,870,864,1,0,0,0,870,865,1,0,0,0,870,866,1,0,0,0,870,867, 1,0,0,0,870,868,1,0,0,0,870,869,1,0,0,0,871,107,1,0,0,0,872,873, 5,43,0,0,873,874,3,136,68,0,874,875,5,116,0,0,875,876,3,110,55,0, - 876,895,1,0,0,0,877,878,5,44,0,0,878,879,3,136,68,0,879,880,5,116, + 876,903,1,0,0,0,877,878,5,44,0,0,878,879,3,136,68,0,879,880,5,116, 0,0,880,881,3,136,68,0,881,882,5,116,0,0,882,883,3,112,56,0,883, - 895,1,0,0,0,884,885,5,28,0,0,885,886,3,136,68,0,886,887,5,116,0, - 0,887,889,3,136,68,0,888,890,3,28,14,0,889,888,1,0,0,0,889,890,1, - 0,0,0,890,892,1,0,0,0,891,893,3,114,57,0,892,891,1,0,0,0,892,893, - 1,0,0,0,893,895,1,0,0,0,894,872,1,0,0,0,894,877,1,0,0,0,894,884, - 1,0,0,0,895,109,1,0,0,0,896,897,7,2,0,0,897,111,1,0,0,0,898,899, - 7,3,0,0,899,113,1,0,0,0,900,901,5,46,0,0,901,905,5,117,0,0,902,904, - 3,116,58,0,903,902,1,0,0,0,904,907,1,0,0,0,905,903,1,0,0,0,905,906, - 1,0,0,0,906,908,1,0,0,0,907,905,1,0,0,0,908,909,5,118,0,0,909,115, - 1,0,0,0,910,911,3,136,68,0,911,912,5,40,0,0,912,913,5,43,0,0,913, - 920,3,136,68,0,914,915,5,48,0,0,915,916,5,44,0,0,916,917,3,136,68, - 0,917,918,5,116,0,0,918,919,3,136,68,0,919,921,1,0,0,0,920,914,1, - 0,0,0,920,921,1,0,0,0,921,922,1,0,0,0,922,923,5,114,0,0,923,983, - 1,0,0,0,924,925,3,136,68,0,925,926,5,40,0,0,926,927,5,44,0,0,927, - 928,3,136,68,0,928,929,5,116,0,0,929,936,3,136,68,0,930,931,5,48, - 0,0,931,932,5,44,0,0,932,933,3,136,68,0,933,934,5,116,0,0,934,935, - 3,136,68,0,935,937,1,0,0,0,936,930,1,0,0,0,936,937,1,0,0,0,937,938, - 1,0,0,0,938,939,5,114,0,0,939,983,1,0,0,0,940,941,3,136,68,0,941, - 942,5,40,0,0,942,943,5,26,0,0,943,945,3,136,68,0,944,946,3,28,14, - 0,945,944,1,0,0,0,945,946,1,0,0,0,946,953,1,0,0,0,947,948,5,48,0, - 0,948,949,5,44,0,0,949,950,3,136,68,0,950,951,5,116,0,0,951,952, - 3,136,68,0,952,954,1,0,0,0,953,947,1,0,0,0,953,954,1,0,0,0,954,955, - 1,0,0,0,955,956,5,114,0,0,956,983,1,0,0,0,957,958,3,136,68,0,958, - 959,5,40,0,0,959,960,5,33,0,0,960,961,3,136,68,0,961,962,5,114,0, - 0,962,983,1,0,0,0,963,964,3,136,68,0,964,966,5,40,0,0,965,967,5, - 1,0,0,966,965,1,0,0,0,966,967,1,0,0,0,967,968,1,0,0,0,968,969,5, - 5,0,0,969,970,3,136,68,0,970,971,5,116,0,0,971,978,3,136,68,0,972, - 973,5,48,0,0,973,974,5,44,0,0,974,975,3,136,68,0,975,976,5,116,0, - 0,976,977,3,136,68,0,977,979,1,0,0,0,978,972,1,0,0,0,978,979,1,0, - 0,0,979,980,1,0,0,0,980,981,5,114,0,0,981,983,1,0,0,0,982,910,1, - 0,0,0,982,924,1,0,0,0,982,940,1,0,0,0,982,957,1,0,0,0,982,963,1, - 0,0,0,983,117,1,0,0,0,984,985,5,33,0,0,985,986,3,136,68,0,986,987, - 5,40,0,0,987,988,3,136,68,0,988,989,5,116,0,0,989,991,3,136,68,0, - 990,992,3,114,57,0,991,990,1,0,0,0,991,992,1,0,0,0,992,993,1,0,0, - 0,993,994,5,114,0,0,994,119,1,0,0,0,995,1042,3,124,62,0,996,1042, - 5,93,0,0,997,1042,5,94,0,0,998,999,5,95,0,0,999,1042,3,138,69,0, - 1000,1001,5,96,0,0,1001,1002,5,123,0,0,1002,1003,3,136,68,0,1003, - 1004,5,124,0,0,1004,1042,1,0,0,0,1005,1006,5,97,0,0,1006,1007,5, - 123,0,0,1007,1009,3,136,68,0,1008,1010,3,28,14,0,1009,1008,1,0,0, - 0,1009,1010,1,0,0,0,1010,1011,1,0,0,0,1011,1012,5,124,0,0,1012,1042, - 1,0,0,0,1013,1014,5,21,0,0,1014,1015,5,123,0,0,1015,1016,3,136,68, - 0,1016,1017,5,124,0,0,1017,1042,1,0,0,0,1018,1019,5,98,0,0,1019, - 1020,5,123,0,0,1020,1021,3,120,60,0,1021,1022,5,124,0,0,1022,1042, - 1,0,0,0,1023,1024,5,99,0,0,1024,1025,5,123,0,0,1025,1026,3,120,60, - 0,1026,1027,5,124,0,0,1027,1042,1,0,0,0,1028,1029,5,100,0,0,1029, - 1033,5,117,0,0,1030,1032,3,122,61,0,1031,1030,1,0,0,0,1032,1035, - 1,0,0,0,1033,1031,1,0,0,0,1033,1034,1,0,0,0,1034,1036,1,0,0,0,1035, - 1033,1,0,0,0,1036,1042,5,118,0,0,1037,1039,3,136,68,0,1038,1040, - 3,28,14,0,1039,1038,1,0,0,0,1039,1040,1,0,0,0,1040,1042,1,0,0,0, - 1041,995,1,0,0,0,1041,996,1,0,0,0,1041,997,1,0,0,0,1041,998,1,0, - 0,0,1041,1000,1,0,0,0,1041,1005,1,0,0,0,1041,1013,1,0,0,0,1041,1018, - 1,0,0,0,1041,1023,1,0,0,0,1041,1028,1,0,0,0,1041,1037,1,0,0,0,1042, - 121,1,0,0,0,1043,1044,3,136,68,0,1044,1045,5,113,0,0,1045,1046,3, - 120,60,0,1046,1047,5,114,0,0,1047,123,1,0,0,0,1048,1049,7,4,0,0, - 1049,125,1,0,0,0,1050,1051,7,5,0,0,1051,127,1,0,0,0,1052,1061,3, - 138,69,0,1053,1061,5,127,0,0,1054,1061,5,128,0,0,1055,1061,5,109, - 0,0,1056,1061,5,110,0,0,1057,1061,5,111,0,0,1058,1061,3,130,65,0, - 1059,1061,3,134,67,0,1060,1052,1,0,0,0,1060,1053,1,0,0,0,1060,1054, - 1,0,0,0,1060,1055,1,0,0,0,1060,1056,1,0,0,0,1060,1057,1,0,0,0,1060, - 1058,1,0,0,0,1060,1059,1,0,0,0,1061,129,1,0,0,0,1062,1071,5,117, - 0,0,1063,1068,3,132,66,0,1064,1065,5,115,0,0,1065,1067,3,132,66, - 0,1066,1064,1,0,0,0,1067,1070,1,0,0,0,1068,1066,1,0,0,0,1068,1069, - 1,0,0,0,1069,1072,1,0,0,0,1070,1068,1,0,0,0,1071,1063,1,0,0,0,1071, - 1072,1,0,0,0,1072,1073,1,0,0,0,1073,1074,5,118,0,0,1074,131,1,0, - 0,0,1075,1076,3,138,69,0,1076,1077,5,113,0,0,1077,1078,3,128,64, - 0,1078,133,1,0,0,0,1079,1088,5,119,0,0,1080,1085,3,128,64,0,1081, - 1082,5,115,0,0,1082,1084,3,128,64,0,1083,1081,1,0,0,0,1084,1087, - 1,0,0,0,1085,1083,1,0,0,0,1085,1086,1,0,0,0,1086,1089,1,0,0,0,1087, - 1085,1,0,0,0,1088,1080,1,0,0,0,1088,1089,1,0,0,0,1089,1090,1,0,0, - 0,1090,1091,5,120,0,0,1091,135,1,0,0,0,1092,1093,7,6,0,0,1093,137, - 1,0,0,0,1094,1095,5,130,0,0,1095,139,1,0,0,0,94,152,159,180,192, + 903,1,0,0,0,884,885,5,26,0,0,885,887,3,136,68,0,886,888,3,28,14, + 0,887,886,1,0,0,0,887,888,1,0,0,0,888,889,1,0,0,0,889,890,5,116, + 0,0,890,891,3,104,52,0,891,903,1,0,0,0,892,893,5,28,0,0,893,894, + 3,136,68,0,894,895,5,116,0,0,895,897,3,136,68,0,896,898,3,28,14, + 0,897,896,1,0,0,0,897,898,1,0,0,0,898,900,1,0,0,0,899,901,3,114, + 57,0,900,899,1,0,0,0,900,901,1,0,0,0,901,903,1,0,0,0,902,872,1,0, + 0,0,902,877,1,0,0,0,902,884,1,0,0,0,902,892,1,0,0,0,903,109,1,0, + 0,0,904,905,7,2,0,0,905,111,1,0,0,0,906,907,7,3,0,0,907,113,1,0, + 0,0,908,909,5,46,0,0,909,913,5,117,0,0,910,912,3,116,58,0,911,910, + 1,0,0,0,912,915,1,0,0,0,913,911,1,0,0,0,913,914,1,0,0,0,914,916, + 1,0,0,0,915,913,1,0,0,0,916,917,5,118,0,0,917,115,1,0,0,0,918,919, + 3,136,68,0,919,920,5,40,0,0,920,921,5,43,0,0,921,928,3,136,68,0, + 922,923,5,48,0,0,923,924,5,44,0,0,924,925,3,136,68,0,925,926,5,116, + 0,0,926,927,3,136,68,0,927,929,1,0,0,0,928,922,1,0,0,0,928,929,1, + 0,0,0,929,930,1,0,0,0,930,931,5,114,0,0,931,991,1,0,0,0,932,933, + 3,136,68,0,933,934,5,40,0,0,934,935,5,44,0,0,935,936,3,136,68,0, + 936,937,5,116,0,0,937,944,3,136,68,0,938,939,5,48,0,0,939,940,5, + 44,0,0,940,941,3,136,68,0,941,942,5,116,0,0,942,943,3,136,68,0,943, + 945,1,0,0,0,944,938,1,0,0,0,944,945,1,0,0,0,945,946,1,0,0,0,946, + 947,5,114,0,0,947,991,1,0,0,0,948,949,3,136,68,0,949,950,5,40,0, + 0,950,951,5,26,0,0,951,953,3,136,68,0,952,954,3,28,14,0,953,952, + 1,0,0,0,953,954,1,0,0,0,954,961,1,0,0,0,955,956,5,48,0,0,956,957, + 5,44,0,0,957,958,3,136,68,0,958,959,5,116,0,0,959,960,3,136,68,0, + 960,962,1,0,0,0,961,955,1,0,0,0,961,962,1,0,0,0,962,963,1,0,0,0, + 963,964,5,114,0,0,964,991,1,0,0,0,965,966,3,136,68,0,966,967,5,40, + 0,0,967,968,5,33,0,0,968,969,3,136,68,0,969,970,5,114,0,0,970,991, + 1,0,0,0,971,972,3,136,68,0,972,974,5,40,0,0,973,975,5,1,0,0,974, + 973,1,0,0,0,974,975,1,0,0,0,975,976,1,0,0,0,976,977,5,5,0,0,977, + 978,3,136,68,0,978,979,5,116,0,0,979,986,3,136,68,0,980,981,5,48, + 0,0,981,982,5,44,0,0,982,983,3,136,68,0,983,984,5,116,0,0,984,985, + 3,136,68,0,985,987,1,0,0,0,986,980,1,0,0,0,986,987,1,0,0,0,987,988, + 1,0,0,0,988,989,5,114,0,0,989,991,1,0,0,0,990,918,1,0,0,0,990,932, + 1,0,0,0,990,948,1,0,0,0,990,965,1,0,0,0,990,971,1,0,0,0,991,117, + 1,0,0,0,992,993,5,33,0,0,993,994,3,136,68,0,994,995,5,40,0,0,995, + 996,3,136,68,0,996,997,5,116,0,0,997,999,3,136,68,0,998,1000,3,114, + 57,0,999,998,1,0,0,0,999,1000,1,0,0,0,1000,1001,1,0,0,0,1001,1002, + 5,114,0,0,1002,119,1,0,0,0,1003,1050,3,124,62,0,1004,1050,5,93,0, + 0,1005,1050,5,94,0,0,1006,1007,5,95,0,0,1007,1050,3,138,69,0,1008, + 1009,5,96,0,0,1009,1010,5,123,0,0,1010,1011,3,136,68,0,1011,1012, + 5,124,0,0,1012,1050,1,0,0,0,1013,1014,5,97,0,0,1014,1015,5,123,0, + 0,1015,1017,3,136,68,0,1016,1018,3,28,14,0,1017,1016,1,0,0,0,1017, + 1018,1,0,0,0,1018,1019,1,0,0,0,1019,1020,5,124,0,0,1020,1050,1,0, + 0,0,1021,1022,5,21,0,0,1022,1023,5,123,0,0,1023,1024,3,136,68,0, + 1024,1025,5,124,0,0,1025,1050,1,0,0,0,1026,1027,5,98,0,0,1027,1028, + 5,123,0,0,1028,1029,3,120,60,0,1029,1030,5,124,0,0,1030,1050,1,0, + 0,0,1031,1032,5,99,0,0,1032,1033,5,123,0,0,1033,1034,3,120,60,0, + 1034,1035,5,124,0,0,1035,1050,1,0,0,0,1036,1037,5,100,0,0,1037,1041, + 5,117,0,0,1038,1040,3,122,61,0,1039,1038,1,0,0,0,1040,1043,1,0,0, + 0,1041,1039,1,0,0,0,1041,1042,1,0,0,0,1042,1044,1,0,0,0,1043,1041, + 1,0,0,0,1044,1050,5,118,0,0,1045,1047,3,136,68,0,1046,1048,3,28, + 14,0,1047,1046,1,0,0,0,1047,1048,1,0,0,0,1048,1050,1,0,0,0,1049, + 1003,1,0,0,0,1049,1004,1,0,0,0,1049,1005,1,0,0,0,1049,1006,1,0,0, + 0,1049,1008,1,0,0,0,1049,1013,1,0,0,0,1049,1021,1,0,0,0,1049,1026, + 1,0,0,0,1049,1031,1,0,0,0,1049,1036,1,0,0,0,1049,1045,1,0,0,0,1050, + 121,1,0,0,0,1051,1052,3,136,68,0,1052,1053,5,113,0,0,1053,1054,3, + 120,60,0,1054,1055,5,114,0,0,1055,123,1,0,0,0,1056,1057,7,4,0,0, + 1057,125,1,0,0,0,1058,1059,7,5,0,0,1059,127,1,0,0,0,1060,1069,3, + 138,69,0,1061,1069,5,127,0,0,1062,1069,5,128,0,0,1063,1069,5,109, + 0,0,1064,1069,5,110,0,0,1065,1069,5,111,0,0,1066,1069,3,130,65,0, + 1067,1069,3,134,67,0,1068,1060,1,0,0,0,1068,1061,1,0,0,0,1068,1062, + 1,0,0,0,1068,1063,1,0,0,0,1068,1064,1,0,0,0,1068,1065,1,0,0,0,1068, + 1066,1,0,0,0,1068,1067,1,0,0,0,1069,129,1,0,0,0,1070,1079,5,117, + 0,0,1071,1076,3,132,66,0,1072,1073,5,115,0,0,1073,1075,3,132,66, + 0,1074,1072,1,0,0,0,1075,1078,1,0,0,0,1076,1074,1,0,0,0,1076,1077, + 1,0,0,0,1077,1080,1,0,0,0,1078,1076,1,0,0,0,1079,1071,1,0,0,0,1079, + 1080,1,0,0,0,1080,1081,1,0,0,0,1081,1082,5,118,0,0,1082,131,1,0, + 0,0,1083,1084,3,138,69,0,1084,1085,5,113,0,0,1085,1086,3,128,64, + 0,1086,133,1,0,0,0,1087,1096,5,119,0,0,1088,1093,3,128,64,0,1089, + 1090,5,115,0,0,1090,1092,3,128,64,0,1091,1089,1,0,0,0,1092,1095, + 1,0,0,0,1093,1091,1,0,0,0,1093,1094,1,0,0,0,1094,1097,1,0,0,0,1095, + 1093,1,0,0,0,1096,1088,1,0,0,0,1096,1097,1,0,0,0,1097,1098,1,0,0, + 0,1098,1099,5,120,0,0,1099,135,1,0,0,0,1100,1101,7,6,0,0,1101,137, + 1,0,0,0,1102,1103,5,130,0,0,1103,139,1,0,0,0,95,152,159,180,192, 204,224,232,239,245,257,260,266,277,286,296,299,301,305,313,325, 330,339,342,360,372,396,399,409,413,419,426,452,459,463,468,479, 485,495,500,506,517,537,564,569,580,585,592,601,614,635,638,641, 648,656,687,699,713,721,733,747,757,775,779,782,786,789,798,802, - 806,812,822,851,870,889,892,894,905,920,936,945,953,966,978,982, - 991,1009,1033,1039,1041,1060,1068,1071,1085,1088 + 806,812,822,851,870,887,897,900,902,913,928,944,953,961,974,986, + 990,999,1017,1041,1047,1049,1068,1076,1079,1093,1096 ]; private static __ATN: antlr.ATN; @@ -7233,12 +7259,18 @@ export class OperationProviderContext extends antlr.ParserRuleContext { public edgePrimitive(): EdgePrimitiveContext | null { return this.getRuleContext(0, EdgePrimitiveContext); } - public PACKAGE(): antlr.TerminalNode | null { - return this.getToken(QuixosCapabilityParser.PACKAGE, 0); + public INTERFACE(): antlr.TerminalNode | null { + return this.getToken(QuixosCapabilityParser.INTERFACE, 0); + } + public memberOperationRef(): MemberOperationRefContext | null { + return this.getRuleContext(0, MemberOperationRefContext); } public typeArguments(): TypeArgumentsContext | null { return this.getRuleContext(0, TypeArgumentsContext); } + public PACKAGE(): antlr.TerminalNode | null { + return this.getToken(QuixosCapabilityParser.PACKAGE, 0); + } public dependencyBindingBlock(): DependencyBindingBlockContext | null { return this.getRuleContext(0, DependencyBindingBlockContext); } diff --git a/src/capability-language/parser.ts b/src/capability-language/parser.ts index 90db767..8dc9c12 100644 --- a/src/capability-language/parser.ts +++ b/src/capability-language/parser.ts @@ -1787,6 +1787,36 @@ const lowerConformance = ( return []; } const provider = bindingContext.operationProvider(); + if (provider.INTERFACE()) { + const targetName = identifier(provider.identifier(0)); + let target = requireSymbol(state, state.interfaces, targetName, provider, "interface"); + if (!target) return []; + if (provider.typeArguments() || target.definition?.template) { + const id = new TypeSubstitution({ ...state.types.environment(), self: atomId }).application( + state.types.interfaceByName(targetName, provider.typeArguments()), + ); + target = interfaceSymbolFor(state.types.definitions.get(id)!); + } + const ref = provider.memberOperationRef()!; + const member = target.members.get(identifier(ref.identifier())); + const targetOperation = member?.operations.get(text(ref.operationName())); + if (!targetOperation) { + loweringIssue( + state, + provider, + "unknown-operation", + "Forwarding target must name an interface member operation", + ); + return []; + } + return [ + { + operationId, + binding: { kind: "interface", interfaceRevisionId: target.revisionId, operationId: targetOperation }, + ...(bindingContext.stringLiteral() ? { queryReason: stringValue(bindingContext.stringLiteral()!) } : {}), + }, + ]; + } if (provider.STATE()) { const attachmentName = identifier(provider.identifier(0)); const attachment = requireSymbol(state, state.attachments, attachmentName, provider, "attachment"); diff --git a/src/capability-model/evolution.ts b/src/capability-model/evolution.ts index f276208..1dcbb05 100644 --- a/src/capability-model/evolution.ts +++ b/src/capability-model/evolution.ts @@ -167,8 +167,22 @@ export const runtimeContracts = (workspace: WorkspaceRevision): RuntimeContract[ parent.dependencies.add(conformanceKey(conformance.atomId, conformance.interfaceRevisionId)); reviews?.add(conformanceIdentity(conformance)); for (const operation of conformance.operationBindings) { - if (operation.binding.kind !== "package") continue; - const revisionId = operation.binding.packageRevisionId; + let provider: Binding | undefined = operation.binding; + const visited = new Set(); + while (provider?.kind === "interface") { + const forward: Extract = provider; + const key = `${provider.interfaceRevisionId}\0${provider.operationId}`; + if (visited.has(key)) throw new Error("Forwarding cycle in evolution contract"); + visited.add(key); + const target = workspace.conformances.find( + (c) => c.atomId === conformance.atomId && c.interfaceRevisionId === forward.interfaceRevisionId, + ); + if (!target) throw new Error("Missing forwarding conformance in evolution contract"); + reviews?.add(conformanceIdentity(target)); + provider = target.operationBindings.find((entry) => entry.operationId === forward.operationId)?.binding; + } + if (provider?.kind !== "package") continue; + const revisionId = provider.packageRevisionId; const pkg = workspace.packageImports.find((entry) => entry.revisionId === revisionId); if (pkg) reviews?.add(pkg.packageId); } diff --git a/src/capability-model/forwarding.ts b/src/capability-model/forwarding.ts new file mode 100644 index 0000000..7a76bde --- /dev/null +++ b/src/capability-model/forwarding.ts @@ -0,0 +1,36 @@ +import type { + AtomId, + Binding, + Conformance, + InterfaceRevisionId, + OperationBinding, + OperationId, + WorkspaceRevision, +} from "./types.js"; + +export type ConcreteBinding = Exclude; +export type ResolvedBinding = { conformance: Conformance; entry: OperationBinding; binding: ConcreteBinding }; + +/** Follow public operations on the same receiver, never private attachment names. */ +export function resolveForwardedBinding( + workspace: Pick, + atomId: AtomId, + interfaceRevisionId: InterfaceRevisionId, + operationId: OperationId, +): ResolvedBinding { + const visited = new Set(); + for (;;) { + const key = `${interfaceRevisionId}\0${operationId}`; + if (visited.has(key)) throw new Error(`Forwarding cycle at ${interfaceRevisionId}/${operationId}`); + visited.add(key); + const conformance = workspace.conformances.find( + (c) => c.atomId === atomId && c.interfaceRevisionId === interfaceRevisionId, + ); + const entry = conformance?.operationBindings.find((b) => b.operationId === operationId); + if (!conformance || !entry) + throw new Error(`Missing forwarding target ${atomId} as ${interfaceRevisionId}/${operationId}`); + if (entry.binding.kind !== "interface") return { conformance, entry, binding: entry.binding }; + interfaceRevisionId = entry.binding.interfaceRevisionId; + operationId = entry.binding.operationId; + } +} diff --git a/src/capability-model/types.ts b/src/capability-model/types.ts index e8b9fbc..6f7bb34 100644 --- a/src/capability-model/types.ts +++ b/src/capability-model/types.ts @@ -337,6 +337,11 @@ export interface RelationshipMaterialization { } export type Binding = + | { + kind: "interface"; + interfaceRevisionId: InterfaceRevisionId; + operationId: OperationId; + } | { kind: "state"; slotId: SlotId; diff --git a/src/capability-model/validation.ts b/src/capability-model/validation.ts index ead86f8..3f7fea7 100644 --- a/src/capability-model/validation.ts +++ b/src/capability-model/validation.ts @@ -1,3 +1,4 @@ +import { resolveForwardedBinding, type ConcreteBinding } from "./forwarding.js"; import type { AtomConstructorBinding, AtomId, @@ -66,6 +67,7 @@ export type CapabilityValidationIssueCode = | "invalid-state-binding" | "invalid-edge-binding" | "invalid-package-binding" + | "invalid-forwarding-binding" | "invalid-dependency-binding" | "private-attachment-access" | "incompatible-package-receiver" @@ -1521,7 +1523,32 @@ const validateConformances = ( continue; } const operation = operationEntry.operation; - const binding = entry.binding; + let binding: ConcreteBinding; + if (entry.binding.kind === "interface") { + const target = indexes.interfaces + .get(entry.binding.interfaceRevisionId) + ?.operations.get(entry.binding.operationId)?.operation; + if (!target || !signaturesMatch(operation, target) || operation.scope !== target.scope) { + issue( + issues, + "invalid-forwarding-binding", + bindingPath, + "Forwarding requires matching signatures, modes and receiver scopes", + ); + continue; + } + try { + binding = resolveForwardedBinding( + workspace, + conformance.atomId, + conformance.interfaceRevisionId, + entry.operationId, + ).binding; + } catch (error) { + issue(issues, "invalid-forwarding-binding", bindingPath, String(error)); + continue; + } + } else binding = entry.binding; const member = operationEntry.member; if ( member.kind !== "operation" && @@ -1556,6 +1583,9 @@ const validateConformances = ( ); continue; } + // The target conformance validates the concrete provider and its private + // authority. Forwarding exposes that operation, not its attachment ports. + if (entry.binding.kind === "interface") continue; if (operation.scope === "class" && binding.kind !== "package") { issue( issues, @@ -1760,6 +1790,49 @@ const validateConformances = ( }); } + for (const member of interfaceEntry.revision.members) { + const start = member.operations.find((op) => op.mode === "watch-start"); + const stop = member.operations.find((op) => op.mode === "watch-stop"); + if (!start || !stop || ![start, stop].some((op) => bindings.get(op.id)?.kind === "interface")) continue; + try { + const a = resolveForwardedBinding(workspace, conformance.atomId, conformance.interfaceRevisionId, start.id); + const b = resolveForwardedBinding(workspace, conformance.atomId, conformance.interfaceRevisionId, stop.id); + const target = indexes.interfaces + .get(a.conformance.interfaceRevisionId) + ?.revision.members.find((m) => m.operations.some((op) => op.id === a.entry.operationId)); + if (a.conformance !== b.conformance || !target?.operations.some((op) => op.id === b.entry.operationId)) + issue( + issues, + "invalid-forwarding-binding", + path, + "Forwarded watch start/stop must resolve to the same target member", + ); + const get = member.operations.find((op) => op.displayName === (member.kind === "value" ? "get" : "resolve")); + if (get && (a.binding.kind === "state" || a.binding.kind === "edge")) { + const read = resolveForwardedBinding( + workspace, + conformance.atomId, + conformance.interfaceRevisionId, + get.id, + ).binding; + const matches = + a.binding.kind === "state" + ? read.kind === "state" && read.slotId === a.binding.slotId + : read.kind === "edge" && + read.edgeTypeId === a.binding.edgeTypeId && + read.projectionId === a.binding.projectionId; + if (!matches) + issue( + issues, + "invalid-forwarding-binding", + path, + "Native forwarded watch must observe its getter's storage", + ); + } + } catch (error) { + issue(issues, "invalid-forwarding-binding", path, String(error)); + } + } const materializedMembers = new Set(); for (const [materializationIndex, materialization] of (conformance.relationshipMaterializations ?? []).entries()) { const materializationPath = `${path}.relationshipMaterializations[${materializationIndex}]`; @@ -2063,7 +2136,10 @@ export const resolveOperationBinding = ( atomId: AtomId, interfaceRevisionId: InterfaceRevisionId, operationId: OperationId, -): Binding | undefined => resolveConformance(plan, atomId, interfaceRevisionId)?.operationBindings.get(operationId); +): ConcreteBinding | undefined => { + if (!resolveConformance(plan, atomId, interfaceRevisionId)?.operationBindings.has(operationId)) return undefined; + return resolveForwardedBinding(plan.source, atomId, interfaceRevisionId, operationId).binding; +}; export type ResolvedOperationPlan = | { @@ -2259,6 +2335,8 @@ export const computeCapabilityClosure = ( attachments.add(binding.slotId); } else if (binding.kind === "edge") { attachments.add(binding.edgeTypeId); + } else if (binding.kind === "interface") { + queued.push({ atomId: root.atomId, interfaceRevisionId: binding.interfaceRevisionId }); } else { packages.add(binding.packageRevisionId); includeDependencies(root.atomId, binding.dependencies); diff --git a/src/query/link.ts b/src/query/link.ts index f89975f..c22a43c 100644 --- a/src/query/link.ts +++ b/src/query/link.ts @@ -10,6 +10,7 @@ import type { import { QueryCompileError, type CheckedQuery } from "./types.js"; import { queryRuntimePlan } from "./proto.js"; import { canonicalJson } from "../capability-model/evolution.js"; +import { resolveForwardedBinding } from "../capability-model/forwarding.js"; export interface LinkedQueryField { atomId: AtomId; @@ -74,7 +75,12 @@ export function linkQueries(workspace: WorkspaceRevision): LinkedQuery[] { const provider = conformance.operationBindings.find((entry) => entry.operationId === getter.id); if (!provider) throw new QueryCompileError("QUERY_CONTRACT", `Missing binding ${conformance.atomId}.${getter.id}`); - const binding = provider.binding; + const binding = resolveForwardedBinding( + workspace, + conformance.atomId, + conformance.interfaceRevisionId, + getter.id, + ).binding; if (binding.kind === "package") { if (effect.execution !== "rpc-permitted") throw new QueryCompileError( @@ -95,7 +101,10 @@ export function linkQueries(workspace: WorkspaceRevision): LinkedQuery[] { ); const start = member.operations.find((op) => op.displayName === "watch-start"); const stop = member.operations.find((op) => op.displayName === "watch-stop"); - const watch = start && stop && conformance.operationBindings.find((entry) => entry.operationId === start.id); + const watch = + start && stop && conformance.operationBindings.some((entry) => entry.operationId === start.id) + ? resolveForwardedBinding(workspace, conformance.atomId, conformance.interfaceRevisionId, start.id) + : undefined; if ( binding.kind === "state" && watch && diff --git a/test/forwarding.test.ts b/test/forwarding.test.ts new file mode 100644 index 0000000..13492d8 --- /dev/null +++ b/test/forwarding.test.ts @@ -0,0 +1,149 @@ +import assert from "node:assert/strict"; +import test from "node:test"; +import { compileCapabilityResourceSource, compileCapabilitySource } from "../src/capability-language/index.js"; +import { compileWorkspaceRevision, resolveOperationPlan } from "../src/capability-model/validation.js"; +import { capabilityId, type InterfaceRevision } from "../src/capability-model/types.js"; +import { compileQuery } from "../src/query/compile.js"; +import { linkQueries } from "../src/query/link.js"; +import { compileCapabilityFixture, fixtureId } from "./fixtures/capability-model.js"; + +const source = { repository: "https://example.test/forwarding.git", commit: "a".repeat(40) }; +function fixture(transform = (s: string) => s, generic = false) { + const interfaces = new Map(); + for (const name of ["Owner", "Alias", "Relay"]) { + const result = compileCapabilityResourceSource( + `interface ${name}${generic && name === "Owner" ? "" : ""} id "${name}" revision "${name}@1" { + queryable value title id "${name}:title" : ${generic && name === "Owner" ? "T" : "string"} { + get id "${name}:get"; set id "${name}:set"; + watch start id "${name}:start" stop id "${name}:stop"; + } + }`, + { source }, + ); + assert.ok(result.ok, JSON.stringify(result.diagnostics)); + if (result.resource.kind !== "interface") throw new Error("interface expected"); + interfaces.set(name, result.resource.revision); + } + const forward = (name: string, target: string) => `conform Item as ${name} id "${name}-conformance" { + bind title.get to interface ${target}.title.get; + bind title.set to interface ${target}.title.set; + bind title.watch-start to interface ${target}.title.watch-start; + bind title.watch-stop to interface ${target}.title.watch-stop; + }`; + const text = `workspace Test id "ws" revision "ws@1" commit "${source.commit}" { + import interface Owner; import interface Alias; import interface Relay; + atom Item id "item"; + ${forward("Relay", "Alias")} + ${forward("Alias", generic ? "Owner" : "Owner")} + conform Item as Owner${generic ? "" : ""} id "owner-conformance" { + private state Title id "title" on Item : string policy optimistic-register default ""; + bind title to state Title; + } + }`; + return { result: compileCapabilitySource(transform(text), "workspace.qx", { interfaces }), interfaces }; +} + +test("bind chains forward native reads, writes and watches without changing storage ownership", async () => { + const { result, interfaces } = fixture(); + assert.ok(result.ok, JSON.stringify(result.diagnostics)); + const compiled = compileWorkspaceRevision(result.workspace); + assert.ok(compiled.ok); + for (const [operation, primitive] of [ + ["get", "read"], + ["set", "write"], + ["start", "watch-start"], + ["stop", "watch-stop"], + ]) { + const resolved = resolveOperationPlan( + compiled.plan, + capabilityId.atom("item"), + capabilityId.interfaceRevision("Relay@1"), + capabilityId.operation(`Relay:${operation}`), + ); + assert.equal(resolved?.binding.kind, "state"); + if (resolved?.kind !== "state") throw new Error("state expected"); + assert.equal(resolved.binding.primitive, primitive); + assert.deepEqual(resolved.attachment.owner, { + kind: "conformance", + atomId: "item", + interfaceRevisionId: "Owner@1", + }); + } + const pkg = compileCapabilityResourceSource( + `import interface Relay; + package Views id "views" revision "views@1" { query Rows id "rows" root workspace Relay document "rows.graphql" operation "Rows" {max rows 10; watch;} }`, + { source, environment: { interfaces } }, + ); + assert.ok(pkg.ok, JSON.stringify(pkg.diagnostics)); + if (pkg.resource.kind !== "package") throw new Error("package expected"); + const revision = pkg.resource.revision; + revision.checkedQueries = [ + await compileQuery( + revision.queries![0]!, + [...interfaces.values()], + async () => `query Rows {root {objects(first: 10) {entries {node {title @live}}}}}`, + ), + ]; + result.workspace.packageImports.push(revision); + const linked = linkQueries(result.workspace)[0]!; + assert.equal(linked.fields[0]!.binding.kind, "state"); + assert.equal(linked.attachments[0]!.id, "title"); +}); + +test("forwarding rejects cycles, wrong signatures, missing targets, and direct private access", () => { + for (const transform of [ + (s: string) => s.replaceAll("interface Owner.title", "interface Relay.title"), + (s: string) => s.replace("interface Owner.title.get", "interface Owner.title.set"), + (s: string) => + s + .replace("conform Item as Owner", "conform Other as Owner") + .replace('atom Item id "item";', 'atom Item id "item"; atom Other id "other";') + .replace("on Item :", "on Other :"), + (s: string) => s.replace("interface Owner.title.get", "state Title.read"), + (s: string) => s.replace("interface Owner.title.watch-stop", "interface Relay.title.watch-stop"), + ]) + assert.equal(fixture(transform).result.ok, false); +}); + +test("forwarding closes generic targets and rejects incompatible applications", () => { + const good = fixture(undefined, true).result; + assert.ok(good.ok, JSON.stringify(good.diagnostics)); + const bad = fixture( + (s) => s.replace("interface Owner.title.get", "interface Owner.title.get"), + true, + ).result; + assert.equal(bad.ok, false); +}); + +test("forwarded package actions retain the provider and its dependency ports", () => { + const fixture = compileCapabilityFixture(); + assert.ok(fixture.ok, JSON.stringify(fixture.diagnostics)); + const ws = fixture.workspace; + const target = ws.interfaceImports.find((i) => i.revisionId === fixtureId.summaryV1)!; + const alias = { + ...structuredClone(target), + interfaceId: capabilityId.interface("alias"), + revisionId: capabilityId.interfaceRevision("alias@1"), + }; + ws.interfaceImports.push(alias); + ws.conformances.push({ + atomId: fixtureId.project, + interfaceRevisionId: alias.revisionId, + id: capabilityId.conformance("alias-owner"), + privateAttachments: [], + relationshipMaterializations: [], + operationBindings: [ + { + operationId: fixtureId.summaryGet, + binding: { kind: "interface", interfaceRevisionId: fixtureId.summaryV1, operationId: fixtureId.summaryGet }, + }, + ], + }); + const result = compileWorkspaceRevision(ws); + assert.ok(result.ok, JSON.stringify(result)); + const plan = resolveOperationPlan(result.plan, fixtureId.project, alias.revisionId, fixtureId.summaryGet); + assert.equal(plan?.kind, "package"); + if (plan?.kind !== "package") throw new Error("package expected"); + assert.equal(plan.binding.exportId, fixtureId.summaryGetExport); + assert.ok(plan.dependencies.length > 0); +});