From 193d8f7797172909cddf07c74b35694d7c4a8ee2 Mon Sep 17 00:00:00 2001 From: Fang Xing Date: Tue, 30 Sep 2025 18:11:05 -0400 Subject: [PATCH 01/16] non-correlated subquery in from command --- .../xpack/esql/core/expression/Attribute.java | 6 +- .../generative/GenerativeForkRestTest.java | 5 + .../src/main/resources/subquery.csv-spec | 805 +++++ .../esql/src/main/antlr/EsqlBaseParser.g4 | 17 +- .../plugin/esql/src/main/antlr/lexer/From.g4 | 6 +- .../xpack/esql/action/EsqlCapabilities.java | 5 + .../xpack/esql/action/EsqlExecutionInfo.java | 4 + .../xpack/esql/analysis/Analyzer.java | 354 ++- .../xpack/esql/analysis/AnalyzerContext.java | 16 +- .../xpack/esql/analysis/PreAnalyzer.java | 43 +- .../logical/PushDownAndCombineFilters.java | 214 ++ .../xpack/esql/parser/EsqlBaseLexer.interp | 3 +- .../xpack/esql/parser/EsqlBaseLexer.java | 2532 +++++++-------- .../xpack/esql/parser/EsqlBaseParser.interp | 5 +- .../xpack/esql/parser/EsqlBaseParser.java | 2767 +++++++++-------- .../parser/EsqlBaseParserBaseListener.java | 36 + .../parser/EsqlBaseParserBaseVisitor.java | 21 + .../esql/parser/EsqlBaseParserListener.java | 30 + .../esql/parser/EsqlBaseParserVisitor.java | 18 + .../xpack/esql/parser/LogicalPlanBuilder.java | 109 +- .../xpack/esql/plan/logical/Subquery.java | 120 + .../xpack/esql/plan/logical/UnionAll.java | 119 + .../esql/planner/mapper/MapperUtils.java | 6 + .../xpack/esql/session/EsqlSession.java | 133 +- .../xpack/esql/telemetry/FeatureMetric.java | 4 +- .../elasticsearch/xpack/esql/CsvTests.java | 4 + .../esql/analysis/AnalyzerTestUtils.java | 14 +- .../xpack/esql/analysis/AnalyzerTests.java | 399 ++- .../xpack/esql/analysis/VerifierTests.java | 18 + .../AbstractLogicalPlanOptimizerTests.java | 25 + .../PushDownAndCombineFiltersTests.java | 313 ++ .../esql/parser/StatementParserTests.java | 11 +- .../xpack/esql/parser/SubqueryTests.java | 773 +++++ .../esql/tree/EsqlNodeSubclassTests.java | 26 +- .../rest-api-spec/test/esql/60_usage.yml | 4 +- 35 files changed, 6373 insertions(+), 2592 deletions(-) create mode 100644 x-pack/plugin/esql/qa/testFixtures/src/main/resources/subquery.csv-spec create mode 100644 x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/plan/logical/Subquery.java create mode 100644 x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/plan/logical/UnionAll.java create mode 100644 x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/parser/SubqueryTests.java diff --git a/x-pack/plugin/esql-core/src/main/java/org/elasticsearch/xpack/esql/core/expression/Attribute.java b/x-pack/plugin/esql-core/src/main/java/org/elasticsearch/xpack/esql/core/expression/Attribute.java index b7af6041ea56a..b875627f55c13 100644 --- a/x-pack/plugin/esql-core/src/main/java/org/elasticsearch/xpack/esql/core/expression/Attribute.java +++ b/x-pack/plugin/esql-core/src/main/java/org/elasticsearch/xpack/esql/core/expression/Attribute.java @@ -35,7 +35,9 @@ public abstract class Attribute extends NamedExpression { /** * Changing this will break bwc with 8.15, see {@link FieldAttribute#fieldName()}. */ - protected static final String SYNTHETIC_ATTRIBUTE_NAME_PREFIX = "$$"; + public static final String SYNTHETIC_ATTRIBUTE_NAME_PREFIX = "$$"; + + public static final String SYNTHETIC_ATTRIBUTE_NAME_SEPARATOR = "$"; private static final TransportVersion ESQL_QUALIFIERS_IN_ATTRIBUTES = TransportVersion.fromName("esql_qualifiers_in_attributes"); @@ -77,7 +79,7 @@ public Attribute( } public static String rawTemporaryName(String... parts) { - var name = String.join("$", parts); + var name = String.join(SYNTHETIC_ATTRIBUTE_NAME_SEPARATOR, parts); return name.isEmpty() || name.startsWith(SYNTHETIC_ATTRIBUTE_NAME_PREFIX) ? name : SYNTHETIC_ATTRIBUTE_NAME_PREFIX + name; } diff --git a/x-pack/plugin/esql/qa/server/src/main/java/org/elasticsearch/xpack/esql/qa/rest/generative/GenerativeForkRestTest.java b/x-pack/plugin/esql/qa/server/src/main/java/org/elasticsearch/xpack/esql/qa/rest/generative/GenerativeForkRestTest.java index 5b2ea9a525489..291de3d413417 100644 --- a/x-pack/plugin/esql/qa/server/src/main/java/org/elasticsearch/xpack/esql/qa/rest/generative/GenerativeForkRestTest.java +++ b/x-pack/plugin/esql/qa/server/src/main/java/org/elasticsearch/xpack/esql/qa/rest/generative/GenerativeForkRestTest.java @@ -55,6 +55,11 @@ protected void shouldSkipTest(String testName) throws IOException { testCase.requiredCapabilities.contains(UNMAPPED_FIELDS.capabilityName()) ); + assumeFalse( + "Tests using subqueries are skipped since we don't support nested subqueries", + testCase.requiredCapabilities.contains(SUBQUERY_IN_FROM_COMMAND.capabilityName()) + ); + assumeTrue("Cluster needs to support FORK", hasCapabilities(adminClient(), List.of(FORK_V9.capabilityName()))); } } diff --git a/x-pack/plugin/esql/qa/testFixtures/src/main/resources/subquery.csv-spec b/x-pack/plugin/esql/qa/testFixtures/src/main/resources/subquery.csv-spec new file mode 100644 index 0000000000000..f2aed53608d5e --- /dev/null +++ b/x-pack/plugin/esql/qa/testFixtures/src/main/resources/subquery.csv-spec @@ -0,0 +1,805 @@ +// +// CSV spec for subqueries +// + +subqueryInFromMergeToMainIndexPattern +required_capability: subquery_in_from_command + +FROM employees, (FROM sample_data) +| WHERE ( emp_no >= 10091 AND emp_no < 10094) OR emp_no IS NULL +| SORT emp_no, client_ip +| KEEP emp_no, languages, client_ip +; + +emp_no:integer | languages:integer | client_ip:ip +10091 | 3 | null +10092 | 1 | null +10093 | 3 | null +null | null | 172.21.0.5 +null | null | 172.21.2.113 +null | null | 172.21.2.162 +null | null | 172.21.3.15 +null | null | 172.21.3.15 +null | null | 172.21.3.15 +null | null | 172.21.3.15 +; + +subqueryInFromWithEvalInSubquery +required_capability: subquery_in_from_command + +FROM employees, (FROM sample_data | EVAL x = client_ip::keyword ) metadata _index +| WHERE ( emp_no >= 10091 AND emp_no < 10094) OR emp_no IS NULL +| SORT emp_no, client_ip +| KEEP _index, emp_no, languages, client_ip, x +; + +_index:keyword | emp_no:integer | languages:integer | client_ip:ip | x:keyword +employees | 10091 | 3 | null | null +employees | 10092 | 1 | null | null +employees | 10093 | 3 | null | null +null | null | null | 172.21.0.5 | 172.21.0.5 +null | null | null | 172.21.2.113 | 172.21.2.113 +null | null | null | 172.21.2.162 | 172.21.2.162 +null | null | null | 172.21.3.15 | 172.21.3.15 +null | null | null | 172.21.3.15 | 172.21.3.15 +null | null | null | 172.21.3.15 | 172.21.3.15 +null | null | null | 172.21.3.15 | 172.21.3.15 +; + +subqueryInFromWithWhereInSubquery +required_capability: subquery_in_from_command + +FROM employees, (FROM sample_data + | WHERE client_ip == "172.21.3.15" ) + metadata _index +| WHERE ( emp_no >= 10091 AND emp_no < 10094) OR emp_no IS NULL +| SORT emp_no +| KEEP _index, emp_no, languages, client_ip +; + +_index:keyword | emp_no:integer | languages:integer | client_ip:ip +employees | 10091 | 3 | null +employees | 10092 | 1 | null +employees | 10093 | 3 | null +null | null | null | 172.21.3.15 +null | null | null | 172.21.3.15 +null | null | null | 172.21.3.15 +null | null | null | 172.21.3.15 +; + +subqueryInFromWithStatsInSubquery +required_capability: subquery_in_from_command + +FROM employees, (FROM sample_data + | STATS cnt = count(*) by client_ip ) + metadata _index +| WHERE ( emp_no >= 10091 AND emp_no < 10094) OR emp_no IS NULL +| SORT emp_no, client_ip +| KEEP _index, emp_no, languages, cnt, client_ip +; + +_index:keyword | emp_no:integer | languages:integer | cnt:long | client_ip:ip +employees | 10091 | 3 | null | null +employees | 10092 | 1 | null | null +employees | 10093 | 3 | null | null +null | null | null | 1 | 172.21.0.5 +null | null | null | 1 | 172.21.2.113 +null | null | null | 1 | 172.21.2.162 +null | null | null | 4 | 172.21.3.15 +; + +subqueryInFromWithLookupJoinInSubquery +required_capability: subquery_in_from_command + +FROM employees, (FROM sample_data + | EVAL client_ip = client_ip::keyword + | LOOKUP JOIN clientips_lookup ON client_ip ) + metadata _index +| WHERE ( emp_no >= 10091 AND emp_no < 10094) OR emp_no IS NULL +| SORT emp_no, client_ip +| KEEP _index, emp_no, languages, client_ip, env +; + +_index:keyword | emp_no:integer | languages:integer | client_ip:keyword | env:keyword +employees | 10091 | 3 | null | null +employees | 10092 | 1 | null | null +employees | 10093 | 3 | null | null +null | null | null | 172.21.0.5 | Development +null | null | null | 172.21.2.113 | QA +null | null | null | 172.21.2.162 | QA +null | null | null | 172.21.3.15 | Production +null | null | null | 172.21.3.15 | Production +null | null | null | 172.21.3.15 | Production +null | null | null | 172.21.3.15 | Production +; + +subqueryInFromWithEnrichInSubquery +required_capability: subquery_in_from_command + +FROM employees, (FROM employees_incompatible + | ENRICH languages_policy on languages with language_name ) + metadata _index +| WHERE emp_no >= 10091 AND emp_no < 10094 +| SORT _index, emp_no +| KEEP _index, emp_no, languages, language_name +; + +_index:keyword | emp_no:long | languages:integer | language_name:keyword +employees | 10091 | 3 | null +employees | 10092 | 1 | null +employees | 10093 | 3 | null +null | 10091 | 3 | Spanish +null | 10092 | 1 | English +null | 10093 | 3 | Spanish +; + +subqueryInFromWithSortInSubquery +required_capability: subquery_in_from_command + +FROM employees, (FROM sample_data + | STATS cnt = count(*) by client_ip + | SORT cnt DESC + | LIMIT 1 ) + metadata _index +| WHERE ( emp_no >= 10091 AND emp_no < 10094) OR emp_no IS NULL +| SORT emp_no, client_ip +| KEEP _index, emp_no, languages, cnt, client_ip +; + +_index:keyword | emp_no:integer | languages:integer | cnt:long | client_ip:ip +employees | 10091 | 3 | null | null +employees | 10092 | 1 | null | null +employees | 10093 | 3 | null | null +null | null | null | 4 | 172.21.3.15 +; + +subqueryInFromWithGrokInSubquery +required_capability: subquery_in_from_command + +FROM employees_incompatible, (FROM employees + | GROK concat(first_name, " ", last_name) "%{WORD:a} %{WORD:b}" + | KEEP emp_no, a, b ) + metadata _index +| WHERE emp_no >= 10091 AND emp_no < 10094 +| SORT emp_no, a, b +| KEEP emp_no, a, b +; + +emp_no:long | a:keyword | b:keyword +10091 | Amabile | Gomatam +10091 | null | null +10092 | Valdiodio | Niizuma +10092 | null | null +10093 | Sailaja | Desikan +10093 | null | null +; + +subqueryInFromWithDissectInSubquery +required_capability: subquery_in_from_command + +FROM employees, (FROM employees_incompatible + | EVAL name = concat(first_name, "1 ", last_name) + | DISSECT name "%{a} %{b}" + | KEEP emp_no, a, b ) +| WHERE emp_no >= 10091 AND emp_no < 10094 +| SORT emp_no, a, b +| KEEP emp_no, a, b +; + +emp_no:long | a:keyword | b:keyword +10091 | Amabile1 | Gomatam +10091 | null | null +10092 | Valdiodio1 | Niizuma +10092 | null | null +10093 | Sailaja1 | Desikan +10093 | null | null +; + +subqueryInFromWithMvExpandInSubquery +required_capability: subquery_in_from_command + +FROM employees_incompatible, (FROM employees + | MV_EXPAND job_positions + | KEEP emp_no, first_name, last_name, job_positions) +| WHERE emp_no >= 10091 AND emp_no < 10094 +| SORT emp_no, first_name, last_name, job_positions +| KEEP emp_no, first_name, last_name, job_positions +; +ignoreOrder:true + +emp_no:long | first_name:keyword | last_name:keyword | job_positions:keyword +10091 | Amabile | Gomatam | Python Developer +10091 | Amabile | Gomatam | [Reporting Analyst, Python Developer] +10091 | Amabile | Gomatam | Reporting Analyst +10092 | Valdiodio | Niizuma | Accountant +10092 | Valdiodio | Niizuma | [Junior Developer, Accountant] +10092 | Valdiodio | Niizuma | Junior Developer +10093 | Sailaja | Desikan | Principal Support Engineer +10093 | Sailaja | Desikan | Purchase Manager +10093 | Sailaja | Desikan | [Reporting Analyst, Tech Lead, Principal Support Engineer, Purchase Manager] +10093 | Sailaja | Desikan | Reporting Analyst +10093 | Sailaja | Desikan | Tech Lead +; + +subqueryInFromWithInlineStatsInSubquery +required_capability: subquery_in_from_command + +FROM employees, (FROM employees_incompatible + | INLINE STATS cnt = count(*) by gender + | KEEP emp_no, first_name, last_name, cnt, gender) +| WHERE emp_no >= 10091 AND emp_no < 10094 +| SORT emp_no, first_name, last_name, cnt, gender +| KEEP emp_no, first_name, last_name, cnt, gender +; + +emp_no:long | first_name:keyword | last_name:keyword | cnt:long | gender:keyword +10091 | Amabile | Gomatam | 57 | M +10091 | Amabile | Gomatam | null | M +10092 | Valdiodio | Niizuma | 33 | F +10092 | Valdiodio | Niizuma | null | F +10093 | Sailaja | Desikan | 57 | M +10093 | Sailaja | Desikan | null | M +; + +subqueryInFromWithRenameInSubquery +required_capability: subquery_in_from_command + +FROM employees_incompatible, (FROM employees + | RENAME first_name AS a, last_name AS b + | KEEP emp_no, a, b ) +| WHERE emp_no >= 10091 AND emp_no < 10094 +| SORT emp_no, a, b +| KEEP emp_no, first_name, last_name, a, b +; + +emp_no:long | first_name:text | last_name:text | a:keyword | b:keyword +10091 | null | null | Amabile | Gomatam +10091 | Amabile | Gomatam | null | null +10092 | null | null | Valdiodio | Niizuma +10092 | Valdiodio | Niizuma | null | null +10093 | null | null | Sailaja | Desikan +10093 | Sailaja | Desikan | null | null +; + +subqueryInFromWithSampleInSubquery +required_capability: subquery_in_from_command + +FROM employees, (FROM sample_data | SAMPLE 0.999999) +| WHERE ( emp_no >= 10091 AND emp_no < 10094) OR emp_no IS NULL +| SORT emp_no, client_ip +| KEEP emp_no, languages, client_ip +; + +emp_no:integer | languages:integer | client_ip:ip +10091 | 3 | null +10092 | 1 | null +10093 | 3 | null +null | null | 172.21.0.5 +null | null | 172.21.2.113 +null | null | 172.21.2.162 +null | null | 172.21.3.15 +null | null | 172.21.3.15 +null | null | 172.21.3.15 +null | null | 172.21.3.15 +; + +subqueryInFromWithChangePointInSubquery +required_capability: subquery_in_from_command + +FROM employees_incompatible, (FROM employees + | EVAL salary = CASE(emp_no==10022, 100000, salary) + | EVAL salary = CASE(emp_no==10023, 1000000, salary) + | KEEP emp_no, salary + | CHANGE_POINT salary ON emp_no AS type, pvalue) + metadata _index +| WHERE pvalue is not null and type is not null +| SORT _index, emp_no +| KEEP _index, emp_no, salary, type, pvalue +; + +_index:keyword | emp_no:long | salary:long | type:keyword | pvalue:double +null | 10023 | 1000000 | spike | 0.0 +; + +subqueryInFromWithUnionTypesWithCommonTypes +required_capability: subquery_in_from_command + +FROM employees, (FROM employees_incompatible, employees + | EVAL emp_no = emp_no::integer + , first_name = first_name::keyword + , last_name = last_name::keyword + | WHERE emp_no < 10093 + | KEEP emp_no, first_name, last_name) + metadata _index +| WHERE emp_no >= 10091 AND emp_no < 10094 +| SORT _index, emp_no +| KEEP _index, emp_no, first_name, last_name +; + +_index:keyword | emp_no:integer | first_name:keyword | last_name:keyword +employees | 10091 | Amabile | Gomatam +employees | 10092 | Valdiodio | Niizuma +employees | 10093 | Sailaja | Desikan +null | 10091 | Amabile | Gomatam +null | 10091 | Amabile | Gomatam +null | 10092 | Valdiodio | Niizuma +null | 10092 | Valdiodio | Niizuma +; + +subqueryInFromWithUnionTypesWithoutKeepingFieldsWithCommonTypes +required_capability: subquery_in_from_command + +FROM sample_data, + (FROM sample_data_ts_nanos + | WHERE client_ip == "172.21.3.15") , + (FROM sample_data_ts_long + | EVAL @timestamp = @timestamp::date_nanos + | WHERE client_ip == "172.21.0.5") + metadata _index +| SORT _index, @timestamp +; + +@timestamp:date_nanos | client_ip:ip | event_duration:long | message:keyword | _index:keyword +2023-10-23T12:15:03.360Z | 172.21.2.162 | 3450233 | Connected to 10.1.0.3 | sample_data +2023-10-23T12:27:28.948Z | 172.21.2.113 | 2764889 | Connected to 10.1.0.2 | sample_data +2023-10-23T13:33:34.937Z | 172.21.0.5 | 1232382 | Disconnected | sample_data +2023-10-23T13:51:54.732Z | 172.21.3.15 | 725448 | Connection error | sample_data +2023-10-23T13:52:55.015Z | 172.21.3.15 | 8268153 | Connection error | sample_data +2023-10-23T13:53:55.832Z | 172.21.3.15 | 5033755 | Connection error | sample_data +2023-10-23T13:55:01.543Z | 172.21.3.15 | 1756467 | Connected to 10.1.0.1 | sample_data +1970-01-01T00:28:18.068014937Z | 172.21.0.5 | 1232382 | Disconnected | null +2023-10-23T13:51:54.732123456Z | 172.21.3.15 | 725448 | Connection error | null +2023-10-23T13:52:55.015123456Z | 172.21.3.15 | 8268153 | Connection error | null +2023-10-23T13:53:55.832123456Z | 172.21.3.15 | 5033755 | Connection error | null +2023-10-23T13:55:01.543123456Z | 172.21.3.15 | 1756467 | Connected to 10.1.0.1 | null +; + +subqueryInFromWithUnionTypesWithoutCommonTypesExplicitCasting +required_capability: subquery_in_from_command + +FROM sample_data, sample_data_str, + (FROM sample_data_ts_nanos + | WHERE client_ip == "172.21.3.15") , + (FROM sample_data_ts_long + | EVAL @timestamp = @timestamp::date_nanos + | WHERE client_ip == "172.21.0.5") + metadata _index +| EVAL client_ip = client_ip::ip +| SORT _index, @timestamp +; + +@timestamp:date_nanos | event_duration:long | message:keyword | _index:keyword | client_ip:ip +2023-10-23T12:15:03.360Z | 3450233 | Connected to 10.1.0.3 | sample_data | 172.21.2.162 +2023-10-23T12:27:28.948Z | 2764889 | Connected to 10.1.0.2 | sample_data | 172.21.2.113 +2023-10-23T13:33:34.937Z | 1232382 | Disconnected | sample_data | 172.21.0.5 +2023-10-23T13:51:54.732Z | 725448 | Connection error | sample_data | 172.21.3.15 +2023-10-23T13:52:55.015Z | 8268153 | Connection error | sample_data | 172.21.3.15 +2023-10-23T13:53:55.832Z | 5033755 | Connection error | sample_data | 172.21.3.15 +2023-10-23T13:55:01.543Z | 1756467 | Connected to 10.1.0.1 | sample_data | 172.21.3.15 +2023-10-23T12:15:03.360Z | 3450233 | Connected to 10.1.0.3 | sample_data_str | 172.21.2.162 +2023-10-23T12:27:28.948Z | 2764889 | Connected to 10.1.0.2 | sample_data_str | 172.21.2.113 +2023-10-23T13:33:34.937Z | 1232382 | Disconnected | sample_data_str | 172.21.0.5 +2023-10-23T13:51:54.732Z | 725448 | Connection error | sample_data_str | 172.21.3.15 +2023-10-23T13:52:55.015Z | 8268153 | Connection error | sample_data_str | 172.21.3.15 +2023-10-23T13:53:55.832Z | 5033755 | Connection error | sample_data_str | 172.21.3.15 +2023-10-23T13:55:01.543Z | 1756467 | Connected to 10.1.0.1 | sample_data_str | 172.21.3.15 +1970-01-01T00:28:18.068014937Z | 1232382 | Disconnected | null | 172.21.0.5 +2023-10-23T13:51:54.732123456Z | 725448 | Connection error | null | 172.21.3.15 +2023-10-23T13:52:55.015123456Z | 8268153 | Connection error | null | 172.21.3.15 +2023-10-23T13:53:55.832123456Z | 5033755 | Connection error | null | 172.21.3.15 +2023-10-23T13:55:01.543123456Z | 1756467 | Connected to 10.1.0.1 | null | 172.21.3.15 +; + +subqueryInFromWithUnionTypesWithoutCommonTypesWithoutExplicitCasting +required_capability: subquery_in_from_command + +FROM sample_data, sample_data_str, + (FROM sample_data_ts_nanos + | WHERE client_ip == "172.21.3.15") , + (FROM sample_data_ts_long + | EVAL @timestamp = @timestamp::date_nanos + | WHERE client_ip == "172.21.0.5") + metadata _index +| SORT _index, @timestamp +; + +@timestamp:date_nanos | event_duration:long | message:keyword | _index:keyword | client_ip:keyword +2023-10-23T12:15:03.360Z | 3450233 | Connected to 10.1.0.3 | sample_data | null +2023-10-23T12:27:28.948Z | 2764889 | Connected to 10.1.0.2 | sample_data | null +2023-10-23T13:33:34.937Z | 1232382 | Disconnected | sample_data | null +2023-10-23T13:51:54.732Z | 725448 | Connection error | sample_data | null +2023-10-23T13:52:55.015Z | 8268153 | Connection error | sample_data | null +2023-10-23T13:53:55.832Z | 5033755 | Connection error | sample_data | null +2023-10-23T13:55:01.543Z | 1756467 | Connected to 10.1.0.1 | sample_data | null +2023-10-23T12:15:03.360Z | 3450233 | Connected to 10.1.0.3 | sample_data_str | null +2023-10-23T12:27:28.948Z | 2764889 | Connected to 10.1.0.2 | sample_data_str | null +2023-10-23T13:33:34.937Z | 1232382 | Disconnected | sample_data_str | null +2023-10-23T13:51:54.732Z | 725448 | Connection error | sample_data_str | null +2023-10-23T13:52:55.015Z | 8268153 | Connection error | sample_data_str | null +2023-10-23T13:53:55.832Z | 5033755 | Connection error | sample_data_str | null +2023-10-23T13:55:01.543Z | 1756467 | Connected to 10.1.0.1 | sample_data_str | null +1970-01-01T00:28:18.068014937Z | 1232382 | Disconnected | null | null +2023-10-23T13:51:54.732123456Z | 725448 | Connection error | null | null +2023-10-23T13:52:55.015123456Z | 8268153 | Connection error | null | null +2023-10-23T13:53:55.832123456Z | 5033755 | Connection error | null | null +2023-10-23T13:55:01.543123456Z | 1756467 | Connected to 10.1.0.1 | null | null +; + +subqueryInFromWithStatsInMainQuery +required_capability: subquery_in_from_command + +FROM sample_data, sample_data_str, + (FROM sample_data_ts_nanos + | WHERE client_ip == "172.21.3.15") , + (FROM sample_data_ts_long + | EVAL @timestamp = @timestamp::date_nanos + | WHERE client_ip == "172.21.0.5") + metadata _index +| EVAL client_ip = client_ip::ip +| STATS cnt = count(*) BY _index, client_ip +| SORT _index, client_ip +; + +cnt:long | _index:keyword | client_ip:ip +1 | sample_data | 172.21.0.5 +1 | sample_data | 172.21.2.113 +1 | sample_data | 172.21.2.162 +4 | sample_data | 172.21.3.15 +1 | sample_data_str | 172.21.0.5 +1 | sample_data_str | 172.21.2.113 +1 | sample_data_str | 172.21.2.162 +4 | sample_data_str | 172.21.3.15 +1 | null | 172.21.0.5 +4 | null | 172.21.3.15 +; + +subqueryInFromWithInlineStatsInMainQuery +required_capability: subquery_in_from_command + +FROM sample_data, sample_data_str, + (FROM sample_data_ts_nanos + | WHERE client_ip == "172.21.3.15") , + (FROM sample_data_ts_long + | EVAL @timestamp = @timestamp::date_nanos + | WHERE client_ip == "172.21.0.5") + metadata _index +| EVAL client_ip = client_ip::ip +| INLINE STATS cnt = count(*) BY _index, client_ip +| SORT _index, @timestamp +; + +@timestamp:date_nanos | event_duration:long | message:keyword | cnt:long | _index:keyword | client_ip:ip +2023-10-23T12:15:03.360Z | 3450233 | Connected to 10.1.0.3 | 1 | sample_data | 172.21.2.162 +2023-10-23T12:27:28.948Z | 2764889 | Connected to 10.1.0.2 | 1 | sample_data | 172.21.2.113 +2023-10-23T13:33:34.937Z | 1232382 | Disconnected | 1 | sample_data | 172.21.0.5 +2023-10-23T13:51:54.732Z | 725448 | Connection error | 4 | sample_data | 172.21.3.15 +2023-10-23T13:52:55.015Z | 8268153 | Connection error | 4 | sample_data | 172.21.3.15 +2023-10-23T13:53:55.832Z | 5033755 | Connection error | 4 | sample_data | 172.21.3.15 +2023-10-23T13:55:01.543Z | 1756467 | Connected to 10.1.0.1 | 4 | sample_data | 172.21.3.15 +2023-10-23T12:15:03.360Z | 3450233 | Connected to 10.1.0.3 | 1 | sample_data_str | 172.21.2.162 +2023-10-23T12:27:28.948Z | 2764889 | Connected to 10.1.0.2 | 1 | sample_data_str | 172.21.2.113 +2023-10-23T13:33:34.937Z | 1232382 | Disconnected | 1 | sample_data_str | 172.21.0.5 +2023-10-23T13:51:54.732Z | 725448 | Connection error | 4 | sample_data_str | 172.21.3.15 +2023-10-23T13:52:55.015Z | 8268153 | Connection error | 4 | sample_data_str | 172.21.3.15 +2023-10-23T13:53:55.832Z | 5033755 | Connection error | 4 | sample_data_str | 172.21.3.15 +2023-10-23T13:55:01.543Z | 1756467 | Connected to 10.1.0.1 | 4 | sample_data_str | 172.21.3.15 +1970-01-01T00:28:18.068014937Z | 1232382 | Disconnected | 1 | null | 172.21.0.5 +2023-10-23T13:51:54.732123456Z | 725448 | Connection error | 4 | null | 172.21.3.15 +2023-10-23T13:52:55.015123456Z | 8268153 | Connection error | 4 | null | 172.21.3.15 +2023-10-23T13:53:55.832123456Z | 5033755 | Connection error | 4 | null | 172.21.3.15 +2023-10-23T13:55:01.543123456Z | 1756467 | Connected to 10.1.0.1 | 4 | null | 172.21.3.15 +; + +subqueryInFromWithDropInMainQuery +required_capability: subquery_in_from_command + +FROM sample_data, sample_data_str, + (FROM sample_data_ts_nanos + | WHERE client_ip == "172.21.3.15") , + (FROM sample_data_ts_long + | EVAL @timestamp = @timestamp::date_nanos + | WHERE client_ip == "172.21.0.5") + metadata _index +| EVAL client_ip = client_ip::ip +| DROP event_duration, message +| SORT _index, @timestamp +; + +@timestamp:date_nanos | _index:keyword | client_ip:ip +2023-10-23T12:15:03.360Z | sample_data | 172.21.2.162 +2023-10-23T12:27:28.948Z | sample_data | 172.21.2.113 +2023-10-23T13:33:34.937Z | sample_data | 172.21.0.5 +2023-10-23T13:51:54.732Z | sample_data | 172.21.3.15 +2023-10-23T13:52:55.015Z | sample_data | 172.21.3.15 +2023-10-23T13:53:55.832Z | sample_data | 172.21.3.15 +2023-10-23T13:55:01.543Z | sample_data | 172.21.3.15 +2023-10-23T12:15:03.360Z | sample_data_str | 172.21.2.162 +2023-10-23T12:27:28.948Z | sample_data_str | 172.21.2.113 +2023-10-23T13:33:34.937Z | sample_data_str | 172.21.0.5 +2023-10-23T13:51:54.732Z | sample_data_str | 172.21.3.15 +2023-10-23T13:52:55.015Z | sample_data_str | 172.21.3.15 +2023-10-23T13:53:55.832Z | sample_data_str | 172.21.3.15 +2023-10-23T13:55:01.543Z | sample_data_str | 172.21.3.15 +1970-01-01T00:28:18.068014937Z | null | 172.21.0.5 +2023-10-23T13:51:54.732123456Z | null | 172.21.3.15 +2023-10-23T13:52:55.015123456Z | null | 172.21.3.15 +2023-10-23T13:53:55.832123456Z | null | 172.21.3.15 +2023-10-23T13:55:01.543123456Z | null | 172.21.3.15 +; + +subqueryInFromWithRenameInMainQuery +required_capability: subquery_in_from_command + +FROM sample_data, sample_data_str, + (FROM sample_data_ts_nanos + | WHERE client_ip == "172.21.3.15") , + (FROM sample_data_ts_long + | EVAL @timestamp = @timestamp::date_nanos + | WHERE client_ip == "172.21.0.5") + metadata _index +| EVAL client_ip = client_ip::ip +| DROP event_duration, message +| RENAME client_ip AS clientip +| SORT _index, @timestamp +; + +@timestamp:date_nanos | _index:keyword | clientip:ip +2023-10-23T12:15:03.360Z | sample_data | 172.21.2.162 +2023-10-23T12:27:28.948Z | sample_data | 172.21.2.113 +2023-10-23T13:33:34.937Z | sample_data | 172.21.0.5 +2023-10-23T13:51:54.732Z | sample_data | 172.21.3.15 +2023-10-23T13:52:55.015Z | sample_data | 172.21.3.15 +2023-10-23T13:53:55.832Z | sample_data | 172.21.3.15 +2023-10-23T13:55:01.543Z | sample_data | 172.21.3.15 +2023-10-23T12:15:03.360Z | sample_data_str | 172.21.2.162 +2023-10-23T12:27:28.948Z | sample_data_str | 172.21.2.113 +2023-10-23T13:33:34.937Z | sample_data_str | 172.21.0.5 +2023-10-23T13:51:54.732Z | sample_data_str | 172.21.3.15 +2023-10-23T13:52:55.015Z | sample_data_str | 172.21.3.15 +2023-10-23T13:53:55.832Z | sample_data_str | 172.21.3.15 +2023-10-23T13:55:01.543Z | sample_data_str | 172.21.3.15 +1970-01-01T00:28:18.068014937Z | null | 172.21.0.5 +2023-10-23T13:51:54.732123456Z | null | 172.21.3.15 +2023-10-23T13:52:55.015123456Z | null | 172.21.3.15 +2023-10-23T13:53:55.832123456Z | null | 172.21.3.15 +2023-10-23T13:55:01.543123456Z | null | 172.21.3.15 +; + +subqueryInFromWithGrokInMainQuery +required_capability: subquery_in_from_command + +FROM employees_incompatible, (FROM employees + | WHERE emp_no > 10091 AND emp_no < 10094 + | KEEP emp_no, first_name, last_name ) + metadata _index +| WHERE emp_no >= 10091 AND emp_no < 10094 +| GROK concat(first_name, " ", last_name) "%{WORD:a} %{WORD:b}" +| SORT emp_no, a, b +| KEEP emp_no, a, b +; + +emp_no:long | a:keyword | b:keyword +10091 | Amabile | Gomatam +10092 | Valdiodio | Niizuma +10092 | Valdiodio | Niizuma +10093 | Sailaja | Desikan +10093 | Sailaja | Desikan +; + +subqueryInFromWithDissectInMainQuery +required_capability: subquery_in_from_command + +FROM employees, (FROM employees_incompatible + | WHERE emp_no > 10091 AND emp_no < 10094 + | KEEP emp_no, first_name, last_name ) + metadata _index +| WHERE emp_no >= 10091 AND emp_no < 10094 +| EVAL name = concat(first_name, "1 ", last_name) +| DISSECT name "%{a} %{b}" +| SORT emp_no, a, b +| KEEP emp_no, a, b +; + +emp_no:long | a:keyword | b:keyword +10091 | Amabile1 | Gomatam +10092 | Valdiodio1 | Niizuma +10092 | Valdiodio1 | Niizuma +10093 | Sailaja1 | Desikan +10093 | Sailaja1 | Desikan +; + +subqueryInFromWithMvExpandInMainQuery +required_capability: subquery_in_from_command + +FROM employees_incompatible, (FROM employees + | KEEP emp_no, first_name, last_name, job_positions) +| WHERE emp_no >= 10091 AND emp_no < 10094 +| MV_EXPAND job_positions +| SORT emp_no, first_name, last_name, job_positions +| KEEP emp_no, first_name, last_name, job_positions +; +ignoreOrder:true + +emp_no:long | first_name:keyword | last_name:keyword | job_positions:text + 10091 | Amabile | Gomatam | Python Developer + 10091 | Amabile | Gomatam | Python Developer + 10091 | Amabile | Gomatam | Reporting Analyst + 10091 | Amabile | Gomatam | Reporting Analyst + 10092 | Valdiodio | Niizuma | Accountant + 10092 | Valdiodio | Niizuma | Accountant + 10092 | Valdiodio | Niizuma | Junior Developer + 10092 | Valdiodio | Niizuma | Junior Developer + 10093 | Sailaja | Desikan | Principal Support Engineer + 10093 | Sailaja | Desikan | Principal Support Engineer + 10093 | Sailaja | Desikan | Purchase Manager + 10093 | Sailaja | Desikan | Purchase Manager + 10093 | Sailaja | Desikan | Reporting Analyst + 10093 | Sailaja | Desikan | Reporting Analyst + 10093 | Sailaja | Desikan | Tech Lead + 10093 | Sailaja | Desikan | Tech Lead +; + +subqueryInFromWithLookupJoinInMainQuery +required_capability: subquery_in_from_command + +FROM employees, (FROM sample_data + | EVAL client_ip = client_ip::keyword ) + metadata _index +| WHERE ( emp_no >= 10091 AND emp_no < 10094) OR emp_no IS NULL +| LOOKUP JOIN clientips_lookup ON client_ip +| SORT emp_no, client_ip +| KEEP _index, emp_no, languages, client_ip, env +; + +_index:keyword | emp_no:integer | languages:integer | client_ip:keyword | env:keyword +employees | 10091 | 3 | null | null +employees | 10092 | 1 | null | null +employees | 10093 | 3 | null | null +null | null | null | 172.21.0.5 | Development +null | null | null | 172.21.2.113 | QA +null | null | null | 172.21.2.162 | QA +null | null | null | 172.21.3.15 | Production +null | null | null | 172.21.3.15 | Production +null | null | null | 172.21.3.15 | Production +null | null | null | 172.21.3.15 | Production +; + +subqueryInFromWithEnrichInMainQuery +required_capability: subquery_in_from_command + +FROM employees, (FROM employees_incompatible + | KEEP emp_no, languages) + metadata _index +| WHERE emp_no >= 10091 AND emp_no < 10094 +| ENRICH languages_policy on languages with language_name +| SORT _index, emp_no +| KEEP _index, emp_no, languages, language_name +; + +_index:keyword | emp_no:long | languages:integer | language_name:keyword +employees | 10091 | 3 | Spanish +employees | 10092 | 1 | English +employees | 10093 | 3 | Spanish +null | 10091 | 3 | Spanish +null | 10092 | 1 | English +null | 10093 | 3 | Spanish +; + +subqueryInFromWithSampleInMainQuery +required_capability: subquery_in_from_command + +FROM employees, (FROM sample_data | SAMPLE 0.999999) +| SAMPLE 0.999999 +| WHERE ( emp_no >= 10091 AND emp_no < 10094) OR emp_no IS NULL +| SORT emp_no, client_ip +| KEEP emp_no, languages, client_ip +; + +emp_no:integer | languages:integer | client_ip:ip +10091 | 3 | null +10092 | 1 | null +10093 | 3 | null +null | null | 172.21.0.5 +null | null | 172.21.2.113 +null | null | 172.21.2.162 +null | null | 172.21.3.15 +null | null | 172.21.3.15 +null | null | 172.21.3.15 +null | null | 172.21.3.15 +; + +subqueryInFromWithChangePointInMainQuery +required_capability: subquery_in_from_command + +FROM employees, (FROM employees_incompatible + | KEEP emp_no, salary) + metadata _index +| EVAL salary = CASE(emp_no==10022, 100000::long, salary) +| EVAL salary = CASE(emp_no==10023, 1000000::long, salary) +| CHANGE_POINT salary ON emp_no AS type, pvalue +| WHERE pvalue is not null and type is not null +| SORT _index, emp_no +| KEEP _index, emp_no, salary, type, pvalue +; + +_index:keyword | emp_no:long | salary:long | type:keyword | pvalue:double +null | 10023 | 1000000 | spike | 0.0 +; + +subqueryInFromWithCompletionInSubquery +required_capability: subquery_in_from_command + +FROM sample_data, (FROM books metadata _score + | WHERE title:"war and peace" AND author:"Tolstoy" + | SORT _score DESC + | LIMIT 2 + | COMPLETION title WITH { "inference_id" : "test_completion" } + | KEEP title, completion) +| WHERE client_ip == "172.21.0.5" or client_ip IS NULL +| KEEP title, completion, @timestamp, client_ip +; +ignoreOrder:true + +title:text | completion:keyword | @timestamp:datetime | client_ip:ip +War and Peace | WAR AND PEACE | null | null +War and Peace (Signet Classics) | WAR AND PEACE (SIGNET CLASSICS) | null | null +null | null | 2023-10-23T13:33:34.937Z | 172.21.0.5 +; + +subqueryInFromWithCompletionInMainQuery +required_capability: subquery_in_from_command + +FROM books, (FROM sample_data + | WHERE client_ip == "172.21.0.5" + | KEEP @timestamp, client_ip) +| SORT book_no +| LIMIT 2 +| COMPLETION title WITH { "inference_id" : "test_completion" } +| KEEP title, completion, @timestamp, client_ip +; +ignoreOrder:true + +title:text | completion:keyword | @timestamp:datetime | client_ip:ip +Realms of Tolkien: Images of Middle-earth | REALMS OF TOLKIEN: IMAGES OF MIDDLE-EARTH | null | null +The brothers Karamazov | THE BROTHERS KARAMAZOV | null | null +; + +subqueryInFromWithRerankInSubquery +required_capability: subquery_in_from_command + +FROM sample_data, (FROM books METADATA _score + | WHERE title:"war and peace" AND author:"Tolstoy" + | SORT _score DESC, book_no ASC + | LIMIT 2 + | RERANK "war and peace" ON title WITH { "inference_id" : "test_reranker" } + | EVAL _score=ROUND(_score, 2) + | KEEP book_no, title, author, _score) +| WHERE client_ip == "172.21.0.5" or client_ip IS NULL +| KEEP book_no, title, author, _score, @timestamp +; +ignoreOrder:true + +book_no:keyword | title:text | author:text | _score:double | @timestamp:datetime +4536 | War and Peace (Signet Classics) | [John Hockenberry, Leo Tolstoy, Pat Conroy] | 0.03 | null +5327 | War and Peace | Leo Tolstoy | 0.08 | null +null | null | null | null | 2023-10-23T13:33:34.937Z +; + +subqueryInFromWithRerankInMainQuery +required_capability: subquery_in_from_command + +FROM books, (FROM sample_data + | WHERE client_ip == "172.21.0.5" + | KEEP @timestamp, client_ip) +| SORT book_no ASC +| LIMIT 2 +| RERANK "war and peace" ON title WITH { "inference_id" : "test_reranker" } +| EVAL _score=ROUND(_score, 2) +| KEEP book_no, title, author, _score, @timestamp +; +ignoreOrder:true + +book_no:keyword | title:text | author:text | _score:double | @timestamp:datetime +1211 | The brothers Karamazov | Fyodor Dostoevsky | 0.05 | null +1463 | Realms of Tolkien: Images of Middle-earth | J. R. R. Tolkien | 0.02 | null +; diff --git a/x-pack/plugin/esql/src/main/antlr/EsqlBaseParser.g4 b/x-pack/plugin/esql/src/main/antlr/EsqlBaseParser.g4 index f8b4b52a72551..45df32bf5fff2 100644 --- a/x-pack/plugin/esql/src/main/antlr/EsqlBaseParser.g4 +++ b/x-pack/plugin/esql/src/main/antlr/EsqlBaseParser.g4 @@ -108,8 +108,21 @@ timeSeriesCommand : TS indexPatternAndMetadataFields ; -indexPatternAndMetadataFields: - indexPattern (COMMA indexPattern)* metadata? +indexPatternAndMetadataFields + : indexPatternOrSubquery (COMMA indexPatternOrSubquery)* metadata? + ; + +indexPatternOrSubquery + : indexPattern + | {this.isDevVersion()}? subquery + ; + +subquery + : LP fromCommand (PIPE subqueryProcessingCommand)* RP + ; + +subqueryProcessingCommand + : processingCommand ; indexPattern diff --git a/x-pack/plugin/esql/src/main/antlr/lexer/From.g4 b/x-pack/plugin/esql/src/main/antlr/lexer/From.g4 index cfaf8624d98af..025b2055361d9 100644 --- a/x-pack/plugin/esql/src/main/antlr/lexer/From.g4 +++ b/x-pack/plugin/esql/src/main/antlr/lexer/From.g4 @@ -23,7 +23,11 @@ FROM_ASSIGN : ASSIGN -> type(ASSIGN); METADATA : 'metadata'; // we need this for EXPLAIN -FROM_RP : RP -> type(RP), popMode; +// change to double popMode to accommodate subquerys in FROM, when see ')' pop out of subquery(default) mode and from mode +FROM_RP : RP -> type(RP), popMode, popMode; + +// accommodate subQuery inside FROM +FROM_LP : LP -> type(LP), pushMode(DEFAULT_MODE); // in 8.14 ` were not allowed // this has been relaxed in 8.15 since " is used for quoting diff --git a/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/action/EsqlCapabilities.java b/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/action/EsqlCapabilities.java index 6d6ba59abac19..d93758f14abd2 100644 --- a/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/action/EsqlCapabilities.java +++ b/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/action/EsqlCapabilities.java @@ -1120,6 +1120,11 @@ public enum Cap { */ FORK_UNION_TYPES, + /** + * Support non-correlated subqueries in the FROM clause. + */ + SUBQUERY_IN_FROM_COMMAND(Build.current().isSnapshot()), + /** * Support for the {@code leading_zeros} named parameter. */ diff --git a/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/action/EsqlExecutionInfo.java b/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/action/EsqlExecutionInfo.java index bdcbdd7f38422..3a33e15aed8f7 100644 --- a/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/action/EsqlExecutionInfo.java +++ b/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/action/EsqlExecutionInfo.java @@ -151,6 +151,10 @@ public boolean includeCCSMetadata() { return includeCCSMetadata; } + public Predicate skipOnFailurePredicate() { + return skipOnFailurePredicate; + } + /** * Call when ES|QL "planning" phase is complete and query execution (in ComputeService) is about to start. * Note this is currently only built for a single phase planning/execution model. When INLINE STATS diff --git a/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/analysis/Analyzer.java b/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/analysis/Analyzer.java index 7057ca3d36a45..9143c794888df 100644 --- a/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/analysis/Analyzer.java +++ b/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/analysis/Analyzer.java @@ -32,6 +32,7 @@ import org.elasticsearch.xpack.esql.core.expression.FoldContext; import org.elasticsearch.xpack.esql.core.expression.Literal; import org.elasticsearch.xpack.esql.core.expression.MetadataAttribute; +import org.elasticsearch.xpack.esql.core.expression.NameId; import org.elasticsearch.xpack.esql.core.expression.NamedExpression; import org.elasticsearch.xpack.esql.core.expression.Nullability; import org.elasticsearch.xpack.esql.core.expression.ReferenceAttribute; @@ -119,6 +120,7 @@ import org.elasticsearch.xpack.esql.plan.logical.Project; import org.elasticsearch.xpack.esql.plan.logical.Rename; import org.elasticsearch.xpack.esql.plan.logical.TimeSeriesAggregate; +import org.elasticsearch.xpack.esql.plan.logical.UnionAll; import org.elasticsearch.xpack.esql.plan.logical.UnresolvedRelation; import org.elasticsearch.xpack.esql.plan.logical.fuse.Fuse; import org.elasticsearch.xpack.esql.plan.logical.fuse.FuseScoreEval; @@ -213,7 +215,8 @@ public class Analyzer extends ParameterizedRuleExecutor("Finish Analysis", Limiter.ONCE, new AddImplicitLimit(), new AddImplicitForkLimit(), new UnionTypesCleanup()) ); @@ -247,12 +250,20 @@ private static class ResolveTable extends ParameterizedAnalyzerRule childrenOutput) { @@ -2269,4 +2282,329 @@ private static AggregateMetricDoubleBlockBuilder.Metric getMetric(AggregateFunct return null; } } + + /** + * Handle union types in UnionAll: + * 1. Push down explicit conversion functions into the UnionAll legs + * 2. Replace the explicit conversion functions with the corresponding attributes in the UnionAll output + * 3. Implicitly cast the outputs of the UnionAll legs to the common type if necessary + * 4. Update the attributes referencing the updated UnionAll output + */ + private static class ResolveUnionTypesInUnionAll extends Rule { + // The mapping between explicit conversion functions and the corresponding attributes in the UnionAll output + private Map convertFunctionsToAttributes; + // The list of attributes in the UnionAll output that have been updated. The parent plans + // that reference these attributes need to be updated accordingly + private List updatedUnionAllOutput; + + @Override + public LogicalPlan apply(LogicalPlan plan) { + convertFunctionsToAttributes = new HashMap<>(); + updatedUnionAllOutput = new ArrayList<>(); + // First push down the conversion functions into the UnionAll legs + LogicalPlan planWithConvertFunctionsPushedDown = plan.transformUp( + UnionAll.class, + unionAll -> maybePushDownConvertFunctions(unionAll, plan) + ); + + // Then replace the conversion functions with the corresponding attributes in the UnionAll output + LogicalPlan planWithConvertFunctionsReplaced = replaceConvertFunctions(planWithConvertFunctionsPushedDown); + + // Next implicitly cast the outputs of the UnionAll legs to the common type if necessary + LogicalPlan planWithImplicitCasting = planWithConvertFunctionsReplaced.transformUp( + UnionAll.class, + unionAll -> unionAll.resolved() ? implicitCastingUnionAllOutput(unionAll, plan) : unionAll + ); + + // Finally update the attributes referencing the updated UnionAll output + return updatedUnionAllOutput.isEmpty() + ? planWithImplicitCasting + : updateAttributesReferencingUpdatedUnionAllOutput(planWithImplicitCasting); + } + + private LogicalPlan maybePushDownConvertFunctions(UnionAll unionAll, LogicalPlan plan) { + // collect all conversion functions in the plan that convert the unionAll outputs to a different type + Map convertFunctions = collectConvertFunctions(unionAll, plan); + if (convertFunctions.isEmpty()) { + // nothing to push down + return unionAll; + } + + // push down the conversion functions into the unionAll legs + List newChildren = new ArrayList<>(unionAll.children().size()); + boolean outputChanged = false; + for (LogicalPlan child : unionAll.children()) { + List childOutput = child.output(); + List newAliases = new ArrayList<>(); + List newChildOutput = new ArrayList<>(childOutput.size()); + for (Attribute oldAttr : childOutput) { + AbstractConvertFunction convertFunction = convertFunctions.get(oldAttr.name()); + // if the name of the attribute matches, and the data type is different, we need to add a conversion function + if (convertFunction != null && oldAttr.dataType() != convertFunction.dataType()) { + // create a new alias for the conversion function + Alias newAlias = new Alias( + oldAttr.source(), + oldAttr.name(), + convertFunction.replaceChildren(Collections.singletonList(oldAttr)) + ); + newAliases.add(newAlias); + newChildOutput.add(newAlias.toAttribute()); + outputChanged = true; + } else { + newChildOutput.add(oldAttr); + } + } + newChildren.add(maybePushDownConvertFunctionsToChild(child, newAliases, newChildOutput)); + } + + return outputChanged ? rebuildUnionAllOutput(unionAll, newChildren, convertFunctions) : unionAll; + } + + private Map collectConvertFunctions(UnionAll unionAll, LogicalPlan plan) { + Map convertFunctions = new HashMap<>(); + plan.forEachDown(p -> p.forEachExpression(AbstractConvertFunction.class, f -> { + if (f.field() instanceof Attribute attr && unionAll.output().contains(attr)) { + convertFunctions.putIfAbsent(attr.name(), f); + } + })); + return convertFunctions; + } + + private LogicalPlan maybePushDownConvertFunctionsToChild(LogicalPlan child, List aliases, List output) { + // Fork/UnionAll adds an EsqlProject on top of each child plan during resolveFork, check this pattern before pushing down + if (aliases.isEmpty() == false && child instanceof EsqlProject esqlProject) { + LogicalPlan childOfProject = esqlProject.child(); + Eval eval = new Eval(childOfProject.source(), childOfProject, aliases); + return new EsqlProject(esqlProject.source(), eval, output); + } + return child; + } + + private LogicalPlan rebuildUnionAllOutput( + UnionAll unionAll, + List newChildren, + Map convertFunctions + ) { + List newOutput = new ArrayList<>(); + for (Attribute oldAttr : unionAll.output()) { + DataType targetType = convertFunctions.containsKey(oldAttr.name()) + ? convertFunctions.get(oldAttr.name()).dataType() + : oldAttr.dataType(); + if (oldAttr.dataType() != targetType) { + ReferenceAttribute newAttr = new ReferenceAttribute( + oldAttr.source(), + null, + oldAttr.name(), + targetType, + oldAttr.nullable(), + oldAttr.id(), + oldAttr.synthetic() + ); + newOutput.add(newAttr); + convertFunctionsToAttributes.putIfAbsent(convertFunctions.get(oldAttr.name()), newAttr); + } else { + newOutput.add(oldAttr); + } + } + return new UnionAll(unionAll.source(), newChildren, newOutput); + } + + private LogicalPlan replaceConvertFunctions(LogicalPlan plan) { + if (convertFunctionsToAttributes.isEmpty()) { + return plan; + } + return plan.transformExpressionsUp(AbstractConvertFunction.class, expr -> { + Attribute attr = convertFunctionsToAttributes.get(expr); + return attr != null ? attr : expr; + }); + } + + private LogicalPlan implicitCastingUnionAllOutput(UnionAll unionAll, LogicalPlan plan) { + // build a map of UnionAll output to a list of LogicalPlan that reference this output + Map> outputToPlans = outputToPlans(unionAll, plan); + + List> outputs = unionAll.children().stream().map(LogicalPlan::output).toList(); + List commonTypes = commonTypes(outputs); + + Map indexToCommonType = new HashMap<>(); + + // Cast each leg's output to the common type + List newChildren = new ArrayList<>(unionAll.children().size()); + boolean outputChanged = false; + for (LogicalPlan child : unionAll.children()) { + List newAliases = new ArrayList<>(); + List oldChildOutput = child.output(); + List newChildOutput = new ArrayList<>(oldChildOutput.size()); + for (int i = 0; i < oldChildOutput.size(); i++) { + Attribute oldOutput = oldChildOutput.get(i); + DataType targetType = commonTypes.get(i); + Attribute resolved = resolveAttribute( + oldOutput, + targetType, + i, + outputs, + unionAll, + outputToPlans, + newAliases, + indexToCommonType + ); + newChildOutput.add(resolved); + if (resolved != oldOutput) { + outputChanged = true; + } + } + // create a new eval for the casting expressions, and push it down under the EsqlProject + newChildren.add(maybePushDownConvertFunctionsToChild(child, newAliases, newChildOutput)); + } + + // Update common types with overrides + indexToCommonType.forEach(commonTypes::set); + + return outputChanged ? rebuildUnionAllOutput(unionAll, newChildren, commonTypes) : unionAll; + } + + private Map> outputToPlans(UnionAll unionAll, LogicalPlan plan) { + Map> outputToPlans = new HashMap<>(); + plan.forEachDown(p -> p.forEachExpression(Attribute.class, attr -> { + if (p instanceof UnionAll == false && p instanceof Project == false && unionAll.output().contains(attr)) { + outputToPlans.computeIfAbsent(attr, k -> new ArrayList<>()).add(p); + } + })); + return outputToPlans; + } + + private List commonTypes(List> outputs) { + int columnCount = outputs.get(0).size(); + List commonTypes = new ArrayList<>(columnCount); + for (int i = 0; i < columnCount; i++) { + DataType type = outputs.get(0).get(i).dataType(); + for (List out : outputs) { + type = commonType(type, out.get(i).dataType()); + } + commonTypes.add(type); + } + return commonTypes; + } + + private DataType commonType(DataType t1, DataType t2) { + if (t1 == null || t2 == null) { + return null; + } + if (t1.isDate() && t2.isDate() && t1 != t2) { + return DATE_NANOS; + } + return EsqlDataTypeConverter.commonType(t1, t2); + } + + private Attribute resolveAttribute( + Attribute oldAttr, + DataType targetType, + int columnIndex, + List> outputs, + UnionAll unionAll, + Map> outputToPlans, + List newAliases, + Map indexToCommonType + ) { + if (targetType == null) { + return createUnsupportedOrNull(oldAttr, columnIndex, outputs, unionAll, outputToPlans, newAliases, indexToCommonType); + } + + if (targetType != NULL && oldAttr.dataType() != targetType) { + var converterFactory = EsqlDataTypeConverter.converterFunctionFactory(targetType); + if (converterFactory != null) { + var converter = converterFactory.apply(oldAttr.source(), oldAttr); + if (converter != null) { + Alias alias = new Alias(oldAttr.source(), oldAttr.name(), converter); + newAliases.add(alias); + return alias.toAttribute(); + } + } + } + return oldAttr; + } + + private Attribute createUnsupportedOrNull( + Attribute oldAttr, + int columnIndex, + List> outputs, + UnionAll unionAll, + Map> outputToPlans, + List newAliases, + Map indexToCommonType + ) { + Attribute unionAttr = unionAll.output().get(columnIndex); + + if (outputToPlans.containsKey(unionAttr)) { + // Unsupported attribute + List dataTypes = collectIncompatibleTypes(columnIndex, outputs); + UnsupportedAttribute unsupported = new UnsupportedAttribute( + oldAttr.source(), + oldAttr.name(), + new UnsupportedEsField(oldAttr.name(), dataTypes), + "Column [" + oldAttr.name() + "] has conflicting data types in subqueries: " + dataTypes, + oldAttr.id() + ); + newAliases.add(new Alias(oldAttr.source(), oldAttr.name(), unsupported)); + indexToCommonType.putIfAbsent(columnIndex, UNSUPPORTED); + return unsupported; + } else { + // Null alias with keyword type + Alias nullAlias = new Alias(oldAttr.source(), oldAttr.name(), new Literal(oldAttr.source(), null, KEYWORD)); + newAliases.add(nullAlias); + indexToCommonType.putIfAbsent(columnIndex, KEYWORD); + return nullAlias.toAttribute(); + } + } + + private List collectIncompatibleTypes(int columnIndex, List> outputs) { + List dataTypes = new ArrayList<>(); + for (List out : outputs) { + Attribute attr = out.get(columnIndex); + if (attr instanceof FieldAttribute fa && fa.field() instanceof InvalidMappedField imf) { + dataTypes.addAll(imf.types().stream().map(DataType::typeName).toList()); + } else { + dataTypes.add(attr.dataType().typeName()); + } + } + return dataTypes; + } + + private UnionAll rebuildUnionAllOutput(UnionAll unionAll, List newChildren, List commonTypes) { + // Rebuild the newUnionAll's output to ensure the correct attributes are used + List oldOutput = unionAll.output(); + List newOutput = new ArrayList<>(oldOutput.size()); + + for (int i = 0; i < oldOutput.size(); i++) { + Attribute oldAttr = oldOutput.get(i); + DataType commonType = commonTypes.get(i); + + if (oldAttr.dataType() != commonType) { + // keep the id unchanged, otherwise the downstream operators won't recognize the attribute + ReferenceAttribute newAttr = new ReferenceAttribute( + oldAttr.source(), + null, + oldAttr.name(), + commonType, + oldAttr.nullable(), + oldAttr.id(), + oldAttr.synthetic() + ); + newOutput.add(newAttr); + updatedUnionAllOutput.add(newAttr); + } else { + newOutput.add(oldAttr); + } + } + return new UnionAll(unionAll.source(), newChildren, newOutput); + } + + private LogicalPlan updateAttributesReferencingUpdatedUnionAllOutput(LogicalPlan plan) { + Map idToUpdatedAttr = updatedUnionAllOutput.stream().collect(Collectors.toMap(Attribute::id, attr -> attr)); + return plan.transformExpressionsUp(Attribute.class, expr -> { + Attribute updated = idToUpdatedAttr.get(expr.id()); + return (updated != null && expr.dataType() != updated.dataType()) ? updated : expr; + }); + } + } } diff --git a/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/analysis/AnalyzerContext.java b/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/analysis/AnalyzerContext.java index b941bce429579..65da6a3a54a38 100644 --- a/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/analysis/AnalyzerContext.java +++ b/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/analysis/AnalyzerContext.java @@ -20,7 +20,8 @@ public record AnalyzerContext( IndexResolution indexResolution, Map lookupResolution, EnrichResolution enrichResolution, - InferenceResolution inferenceResolution + InferenceResolution inferenceResolution, + Map subqueryResolution ) { // Currently for tests only, since most do not test lookups // TODO: make this even simpler, remove the enrichResolution for tests that do not require it (most tests) @@ -31,6 +32,17 @@ public AnalyzerContext( EnrichResolution enrichResolution, InferenceResolution inferenceResolution ) { - this(configuration, functionRegistry, indexResolution, Map.of(), enrichResolution, inferenceResolution); + this(configuration, functionRegistry, indexResolution, Map.of(), enrichResolution, inferenceResolution, Map.of()); + } + + public AnalyzerContext( + Configuration configuration, + EsqlFunctionRegistry functionRegistry, + IndexResolution indexResolution, + Map lookupResolution, + EnrichResolution enrichResolution, + InferenceResolution inferenceResolution + ) { + this(configuration, functionRegistry, indexResolution, lookupResolution, enrichResolution, inferenceResolution, Map.of()); } } diff --git a/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/analysis/PreAnalyzer.java b/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/analysis/PreAnalyzer.java index fba3fa3b966c3..108eb22f0b713 100644 --- a/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/analysis/PreAnalyzer.java +++ b/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/analysis/PreAnalyzer.java @@ -8,6 +8,7 @@ package org.elasticsearch.xpack.esql.analysis; import org.elasticsearch.index.IndexMode; +import org.elasticsearch.xpack.esql.action.EsqlCapabilities; import org.elasticsearch.xpack.esql.core.util.Holder; import org.elasticsearch.xpack.esql.expression.function.UnresolvedFunction; import org.elasticsearch.xpack.esql.plan.IndexPattern; @@ -16,7 +17,9 @@ import org.elasticsearch.xpack.esql.plan.logical.UnresolvedRelation; import java.util.ArrayList; +import java.util.HashSet; import java.util.List; +import java.util.Set; /** * This class is part of the planner. Acts somewhat like a linker, to find the indices and enrich policies referenced by the query. @@ -29,9 +32,10 @@ public record PreAnalysis( List enriches, List lookupIndices, boolean supportsAggregateMetricDouble, - boolean supportsDenseVector + boolean supportsDenseVector, + Set subqueryIndices ) { - public static final PreAnalysis EMPTY = new PreAnalysis(null, null, List.of(), List.of(), false, false); + public static final PreAnalysis EMPTY = new PreAnalysis(null, null, List.of(), List.of(), false, false, Set.of()); } public PreAnalysis preAnalyze(LogicalPlan plan) { @@ -46,12 +50,18 @@ protected PreAnalysis doPreAnalyze(LogicalPlan plan) { Holder indexMode = new Holder<>(); Holder index = new Holder<>(); List lookupIndices = new ArrayList<>(); + Set subqueryIndices = new HashSet<>(); plan.forEachUp(UnresolvedRelation.class, p -> { if (p.indexMode() == IndexMode.LOOKUP) { lookupIndices.add(p.indexPattern()); } else if (indexMode.get() == null || indexMode.get() == p.indexMode()) { indexMode.set(p.indexMode()); - index.set(p.indexPattern()); + // the index pattern from main query is always the first to be seen + index.setIfAbsent(p.indexPattern()); + // collect subquery index patterns + if (EsqlCapabilities.Cap.SUBQUERY_IN_FROM_COMMAND.isEnabled()) { + collectSubqueryIndexPattern(p, subqueryIndices, index.get()); + } } else { throw new IllegalStateException("index mode is already set"); } @@ -96,7 +106,32 @@ protected PreAnalysis doPreAnalyze(LogicalPlan plan) { unresolvedEnriches, lookupIndices, indexMode.get() == IndexMode.TIME_SERIES || supportsAggregateMetricDouble.get(), - supportsDenseVector.get() + supportsDenseVector.get(), + subqueryIndices ); } + + private void collectSubqueryIndexPattern( + UnresolvedRelation relation, + Set subqueryIndices, + IndexPattern mainIndexPattern + ) { + if (relation.preAnalyzed()) { + return; + } + + IndexPattern pattern = relation.indexPattern(); + boolean isLookup = relation.indexMode() == IndexMode.LOOKUP; + boolean isMainIndexPattern = pattern == mainIndexPattern; + /*if the subquery's index pattern is the same as the main query, it won't be added + * to the subquery indices set, if Analyzer doesn't find the subquery' indexResolution, + * it falls back to the main query's indexResolution + */ + if (isLookup || isMainIndexPattern) { + return; + } + subqueryIndices.add(pattern); + System.out.println("collected subquery index pattern: " + pattern); + System.out.println("subquery indices now: " + subqueryIndices); + } } diff --git a/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/optimizer/rules/logical/PushDownAndCombineFilters.java b/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/optimizer/rules/logical/PushDownAndCombineFilters.java index 29a9f10270b0d..f65fa7230f4f8 100644 --- a/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/optimizer/rules/logical/PushDownAndCombineFilters.java +++ b/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/optimizer/rules/logical/PushDownAndCombineFilters.java @@ -7,6 +7,7 @@ package org.elasticsearch.xpack.esql.optimizer.rules.logical; +import org.elasticsearch.core.Tuple; import org.elasticsearch.xpack.esql.core.expression.Alias; import org.elasticsearch.xpack.esql.core.expression.Attribute; import org.elasticsearch.xpack.esql.core.expression.AttributeMap; @@ -15,6 +16,7 @@ import org.elasticsearch.xpack.esql.core.expression.Expressions; import org.elasticsearch.xpack.esql.core.expression.FoldContext; import org.elasticsearch.xpack.esql.core.expression.Literal; +import org.elasticsearch.xpack.esql.core.expression.NamedExpression; import org.elasticsearch.xpack.esql.core.expression.ReferenceAttribute; import org.elasticsearch.xpack.esql.core.util.CollectionUtils; import org.elasticsearch.xpack.esql.expression.predicate.Predicates; @@ -22,11 +24,14 @@ import org.elasticsearch.xpack.esql.plan.logical.Enrich; import org.elasticsearch.xpack.esql.plan.logical.Eval; import org.elasticsearch.xpack.esql.plan.logical.Filter; +import org.elasticsearch.xpack.esql.plan.logical.Limit; import org.elasticsearch.xpack.esql.plan.logical.LogicalPlan; import org.elasticsearch.xpack.esql.plan.logical.OrderBy; import org.elasticsearch.xpack.esql.plan.logical.Project; import org.elasticsearch.xpack.esql.plan.logical.RegexExtract; +import org.elasticsearch.xpack.esql.plan.logical.Subquery; import org.elasticsearch.xpack.esql.plan.logical.UnaryPlan; +import org.elasticsearch.xpack.esql.plan.logical.UnionAll; import org.elasticsearch.xpack.esql.plan.logical.inference.InferencePlan; import org.elasticsearch.xpack.esql.plan.logical.join.InlineJoin; import org.elasticsearch.xpack.esql.plan.logical.join.Join; @@ -37,6 +42,9 @@ import java.util.function.Function; import java.util.function.Predicate; +import static org.elasticsearch.xpack.esql.core.expression.Attribute.SYNTHETIC_ATTRIBUTE_NAME_SEPARATOR; +import static org.elasticsearch.xpack.esql.core.expression.Attribute.rawTemporaryName; + /** * Perform filters as early as possible in the logical plan by pushing them past certain plan nodes (like {@link Eval}, * {@link RegexExtract}, {@link Enrich}, {@link Project}, {@link OrderBy} and left {@link Join}s) where possible. @@ -109,6 +117,12 @@ protected LogicalPlan rule(Filter filter, LogicalOptimizerContext ctx) { // See also https://github.com/elastic/elasticsearch/issues/127497 // Push down past INLINE STATS if the condition is on the groupings return pushDownPastJoin(filter, join, ctx.foldCtx()); + } else if (child instanceof UnionAll unionAll) { + // Push down filters that can be evaluated using only the output of the UnionAll + plan = maybePushDownPastUnionAll(filter, unionAll); + } else if (child instanceof Subquery subquery) { + // subquery is a placeholder, push down the filter to the child of the subquery + plan = subquery.replaceChild(new Filter(filter.source(), subquery.child(), filter.condition())); } // cannot push past a Limit, this could change the tailing result set returned return plan; @@ -283,4 +297,204 @@ private static LogicalPlan maybePushDownPastUnary( } return plan; } + + /* Push down filters that can be evaluated by the UnionAll child/leg to each child/leg, + * so that the filters can be pushed down further to the data source when possible. + * Filters that cannot be pushed down remain above the UnionAll. + * + * The children of a UnionAll/Fork plan has a similar pattern, as Fork adds EsqlProject, + * an optional Eval and Limit on top of its actual children. + * UnionAll + * EsqlProject + * Eval (optional) + * Limit + * EsRelation + * EsqlProject + * Eval (optional) + * Limit + * Subquery + * + * Push down the filter below limit when possible + */ + private static LogicalPlan maybePushDownPastUnionAll(Filter filter, UnionAll unionAll) { + List pushable = new ArrayList<>(); + List nonPushable = new ArrayList<>(); + for (Expression exp : Predicates.splitAnd(filter.condition())) { + if (exp.references().subsetOf(unionAll.outputSet())) { + pushable.add(exp); + } else { + nonPushable.add(exp); + } + } + if (pushable.isEmpty()) { + return filter; // nothing to push down + } + // Preserve the filter on top of UnionAll if not all pushable predicates can be pushed down into UnionAll children. + // This happens when the pushable predicate contains ReferenceAttribute that cannot be mapped to children's output correctly. + boolean preserveOriginalFilterOnTopOfUnionAll = false; + // Push the filter down to each child of the UnionAll, the child of a UnionAll is always a project + // followed by an optional eval and then limit added by fork and then the real child + List newChildren = new ArrayList<>(); + boolean changed = false; + for (LogicalPlan child : unionAll.children()) { + if (child instanceof Project project) { + LogicalPlan newChild = maybePushDownFilterPastEvalAndLimitForUnionAllChild(pushable, project); + if (newChild != child) { + changed = true; + } else { + preserveOriginalFilterOnTopOfUnionAll = true; + } + newChildren.add(newChild); + } else { // unexpected pattern, just add the child as is + newChildren.add(child); + } + } + + if (changed == false) { // nothing changed, return the original plan + return filter; + } + + LogicalPlan newUnionAll = unionAll.replaceChildren(newChildren); + if (preserveOriginalFilterOnTopOfUnionAll) { + // Preserve the filter on top of UnionAll as some pushable predicates cannot be pushed down + // to make sure correct results are returned + return filter.replaceChild(newUnionAll); + } + if (nonPushable.isEmpty()) { + return newUnionAll; + } else { + return filter.with(newUnionAll, Predicates.combineAnd(nonPushable)); + } + } + + private static LogicalPlan maybePushDownFilterPastEvalAndLimitForUnionAllChild(List pushable, Project project) { + List resolvedPushable = new ArrayList<>(); + // Make sure the pushable predicates can find their corresponding attributes in the child project + for (Expression exp : pushable) { + Expression replaced = resolveUnionAllOutputByName(exp, project.projections()); + if (replaced == null || replaced == exp) { + // cannot find the attribute in the child project, cannot push down this filter + return project; + } else { + resolvedPushable.add(replaced); + } + } + if (resolvedPushable.size() != pushable.size()) { + // Some pushable predicates cannot be resolved to the child project, cannot push down. + // This should not happen, however we need to be cautious here, if the predicate is removed from the main query, + // and it is not pushed down into the UnionAll child, the result will be incorrect. + return project; + } + LogicalPlan child = project.child(); + if (child instanceof Eval eval) { + return pushDownFilterPastEvalForUnionAllChild(resolvedPushable, project, eval); + } else if (child instanceof Limit limit) { + LogicalPlan newLimit = pushDownFilterPastLimitForUnionAllChild(resolvedPushable, limit); + return project.replaceChild(newLimit); + } + return project; + } + + private static LogicalPlan pushDownFilterPastEvalForUnionAllChild(List pushable, Project project, Eval eval) { + // if the pushable references any attribute created by the eval, we cannot push down + AttributeMap evalAliases = buildEvaAliases(eval); + Tuple, List> pushablesAndNonPushables = splitPushableAndNonPushablePredicates( + pushable, + exp -> exp.references().stream().anyMatch(evalAliases::containsKey) + ); + List pushables = pushablesAndNonPushables.v1(); + List nonPushables = pushablesAndNonPushables.v2(); + + LogicalPlan evalChild = eval.child(); + + // Nothing to push down under eval and limit + if (pushables.isEmpty()) { + return nonPushables.isEmpty() + ? project // nothing at all + : withFilter(project, eval, nonPushables); // Push down filter references eval created attributes below project, above eval + } + + // Push down all pushable predicates below eval and limit + if (evalChild instanceof Limit limit) { + LogicalPlan newLimit = pushDownFilterPastLimitForUnionAllChild(pushables, limit); + LogicalPlan newEval = eval.replaceChild(newLimit); + + return nonPushables.isEmpty() ? project.replaceChild(newEval) : withFilter(project, newEval, nonPushables); + } + + return project; + } + + private static LogicalPlan withFilter(Project project, LogicalPlan child, List predicates) { + Expression combined = Predicates.combineAnd(predicates); + return project.replaceChild(new Filter(project.source(), child, combined)); + } + + /** + * limit does not create any new attributes, so we should push down all pushable predicates, + * the caller should make sure the pushable is really pushable. + */ + private static LogicalPlan pushDownFilterPastLimitForUnionAllChild(List pushable, Limit limit) { + if (pushable.isEmpty()) { + return limit; + } + Expression combined = Predicates.combineAnd(pushable); + Filter pushed = new Filter(limit.source(), limit.child(), combined); + return limit.replaceChild(pushed); + } + + private static AttributeMap buildEvaAliases(Eval eval) { + AttributeMap.Builder builder = AttributeMap.builder(); + for (Alias alias : eval.fields()) { + builder.put(alias.toAttribute(), alias.child()); + } + return builder.build(); + } + + private static Tuple, List> splitPushableAndNonPushablePredicates( + List predicates, + Predicate nonPushableCheck + ) { + List pushable = new ArrayList<>(); + List nonPushable = new ArrayList<>(); + for (Expression exp : predicates) { + if (nonPushableCheck.test(exp)) { + nonPushable.add(exp); + } else { + pushable.add(exp); + } + } + return Tuple.tuple(pushable, nonPushable); + } + + /** + * The UnionAll/Fork outputs have the same names as it children's outputs, however they have different ids. + * Convert the pushable predicates to use the child's attributes, so that they can be pushed down further. + */ + private static Expression resolveUnionAllOutputByName(Expression expr, List namedExpressions) { + // A temporary expression is created with temporary attributes names, as sometimes transform expression does not transform + // one ReferenceAttribute to another ReferenceAttribute with the same name, different id successfully. + String UNIONALL = "unionall"; + // rename the output of the UnionAll to a temporary name with a prefix + Expression renamed = expr.transformUp(Attribute.class, attr -> { + for (NamedExpression ne : namedExpressions) { + if (ne.name().equals(attr.name())) { + // $$subquery$attr.name() + return attr.withName(rawTemporaryName(UNIONALL, ne.name())); + } + } + return attr; + }); + + String prefix = Attribute.SYNTHETIC_ATTRIBUTE_NAME_PREFIX + UNIONALL + SYNTHETIC_ATTRIBUTE_NAME_SEPARATOR; + return renamed.transformUp(Attribute.class, attr -> { + String originalName = attr.name().startsWith(prefix) ? attr.name().substring(prefix.length()) : attr.name(); + for (NamedExpression ne : namedExpressions) { + if (ne.name().equals(originalName)) { + return ne.toAttribute(); + } + } + return attr; + }); + } } diff --git a/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/parser/EsqlBaseLexer.interp b/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/parser/EsqlBaseLexer.interp index e02e5e15ac582..5a205de45bd61 100644 --- a/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/parser/EsqlBaseLexer.interp +++ b/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/parser/EsqlBaseLexer.interp @@ -463,6 +463,7 @@ FROM_COMMA FROM_ASSIGN METADATA FROM_RP +FROM_LP UNQUOTED_SOURCE_PART UNQUOTED_SOURCE FROM_UNQUOTED_SOURCE @@ -622,4 +623,4 @@ SET_MODE SHOW_MODE atn: -[4, 0, 151, 2121, 6, -1, 6, -1, 6, -1, 6, -1, 6, -1, 6, -1, 6, -1, 6, -1, 6, -1, 6, -1, 6, -1, 6, -1, 6, -1, 6, -1, 6, -1, 6, -1, 6, -1, 6, -1, 2, 0, 7, 0, 2, 1, 7, 1, 2, 2, 7, 2, 2, 3, 7, 3, 2, 4, 7, 4, 2, 5, 7, 5, 2, 6, 7, 6, 2, 7, 7, 7, 2, 8, 7, 8, 2, 9, 7, 9, 2, 10, 7, 10, 2, 11, 7, 11, 2, 12, 7, 12, 2, 13, 7, 13, 2, 14, 7, 14, 2, 15, 7, 15, 2, 16, 7, 16, 2, 17, 7, 17, 2, 18, 7, 18, 2, 19, 7, 19, 2, 20, 7, 20, 2, 21, 7, 21, 2, 22, 7, 22, 2, 23, 7, 23, 2, 24, 7, 24, 2, 25, 7, 25, 2, 26, 7, 26, 2, 27, 7, 27, 2, 28, 7, 28, 2, 29, 7, 29, 2, 30, 7, 30, 2, 31, 7, 31, 2, 32, 7, 32, 2, 33, 7, 33, 2, 34, 7, 34, 2, 35, 7, 35, 2, 36, 7, 36, 2, 37, 7, 37, 2, 38, 7, 38, 2, 39, 7, 39, 2, 40, 7, 40, 2, 41, 7, 41, 2, 42, 7, 42, 2, 43, 7, 43, 2, 44, 7, 44, 2, 45, 7, 45, 2, 46, 7, 46, 2, 47, 7, 47, 2, 48, 7, 48, 2, 49, 7, 49, 2, 50, 7, 50, 2, 51, 7, 51, 2, 52, 7, 52, 2, 53, 7, 53, 2, 54, 7, 54, 2, 55, 7, 55, 2, 56, 7, 56, 2, 57, 7, 57, 2, 58, 7, 58, 2, 59, 7, 59, 2, 60, 7, 60, 2, 61, 7, 61, 2, 62, 7, 62, 2, 63, 7, 63, 2, 64, 7, 64, 2, 65, 7, 65, 2, 66, 7, 66, 2, 67, 7, 67, 2, 68, 7, 68, 2, 69, 7, 69, 2, 70, 7, 70, 2, 71, 7, 71, 2, 72, 7, 72, 2, 73, 7, 73, 2, 74, 7, 74, 2, 75, 7, 75, 2, 76, 7, 76, 2, 77, 7, 77, 2, 78, 7, 78, 2, 79, 7, 79, 2, 80, 7, 80, 2, 81, 7, 81, 2, 82, 7, 82, 2, 83, 7, 83, 2, 84, 7, 84, 2, 85, 7, 85, 2, 86, 7, 86, 2, 87, 7, 87, 2, 88, 7, 88, 2, 89, 7, 89, 2, 90, 7, 90, 2, 91, 7, 91, 2, 92, 7, 92, 2, 93, 7, 93, 2, 94, 7, 94, 2, 95, 7, 95, 2, 96, 7, 96, 2, 97, 7, 97, 2, 98, 7, 98, 2, 99, 7, 99, 2, 100, 7, 100, 2, 101, 7, 101, 2, 102, 7, 102, 2, 103, 7, 103, 2, 104, 7, 104, 2, 105, 7, 105, 2, 106, 7, 106, 2, 107, 7, 107, 2, 108, 7, 108, 2, 109, 7, 109, 2, 110, 7, 110, 2, 111, 7, 111, 2, 112, 7, 112, 2, 113, 7, 113, 2, 114, 7, 114, 2, 115, 7, 115, 2, 116, 7, 116, 2, 117, 7, 117, 2, 118, 7, 118, 2, 119, 7, 119, 2, 120, 7, 120, 2, 121, 7, 121, 2, 122, 7, 122, 2, 123, 7, 123, 2, 124, 7, 124, 2, 125, 7, 125, 2, 126, 7, 126, 2, 127, 7, 127, 2, 128, 7, 128, 2, 129, 7, 129, 2, 130, 7, 130, 2, 131, 7, 131, 2, 132, 7, 132, 2, 133, 7, 133, 2, 134, 7, 134, 2, 135, 7, 135, 2, 136, 7, 136, 2, 137, 7, 137, 2, 138, 7, 138, 2, 139, 7, 139, 2, 140, 7, 140, 2, 141, 7, 141, 2, 142, 7, 142, 2, 143, 7, 143, 2, 144, 7, 144, 2, 145, 7, 145, 2, 146, 7, 146, 2, 147, 7, 147, 2, 148, 7, 148, 2, 149, 7, 149, 2, 150, 7, 150, 2, 151, 7, 151, 2, 152, 7, 152, 2, 153, 7, 153, 2, 154, 7, 154, 2, 155, 7, 155, 2, 156, 7, 156, 2, 157, 7, 157, 2, 158, 7, 158, 2, 159, 7, 159, 2, 160, 7, 160, 2, 161, 7, 161, 2, 162, 7, 162, 2, 163, 7, 163, 2, 164, 7, 164, 2, 165, 7, 165, 2, 166, 7, 166, 2, 167, 7, 167, 2, 168, 7, 168, 2, 169, 7, 169, 2, 170, 7, 170, 2, 171, 7, 171, 2, 172, 7, 172, 2, 173, 7, 173, 2, 174, 7, 174, 2, 175, 7, 175, 2, 176, 7, 176, 2, 177, 7, 177, 2, 178, 7, 178, 2, 179, 7, 179, 2, 180, 7, 180, 2, 181, 7, 181, 2, 182, 7, 182, 2, 183, 7, 183, 2, 184, 7, 184, 2, 185, 7, 185, 2, 186, 7, 186, 2, 187, 7, 187, 2, 188, 7, 188, 2, 189, 7, 189, 2, 190, 7, 190, 2, 191, 7, 191, 2, 192, 7, 192, 2, 193, 7, 193, 2, 194, 7, 194, 2, 195, 7, 195, 2, 196, 7, 196, 2, 197, 7, 197, 2, 198, 7, 198, 2, 199, 7, 199, 2, 200, 7, 200, 2, 201, 7, 201, 2, 202, 7, 202, 2, 203, 7, 203, 2, 204, 7, 204, 2, 205, 7, 205, 2, 206, 7, 206, 2, 207, 7, 207, 2, 208, 7, 208, 2, 209, 7, 209, 2, 210, 7, 210, 2, 211, 7, 211, 2, 212, 7, 212, 2, 213, 7, 213, 2, 214, 7, 214, 2, 215, 7, 215, 2, 216, 7, 216, 2, 217, 7, 217, 2, 218, 7, 218, 2, 219, 7, 219, 2, 220, 7, 220, 2, 221, 7, 221, 2, 222, 7, 222, 2, 223, 7, 223, 2, 224, 7, 224, 2, 225, 7, 225, 2, 226, 7, 226, 2, 227, 7, 227, 2, 228, 7, 228, 2, 229, 7, 229, 2, 230, 7, 230, 2, 231, 7, 231, 2, 232, 7, 232, 2, 233, 7, 233, 2, 234, 7, 234, 2, 235, 7, 235, 2, 236, 7, 236, 2, 237, 7, 237, 2, 238, 7, 238, 2, 239, 7, 239, 2, 240, 7, 240, 2, 241, 7, 241, 2, 242, 7, 242, 2, 243, 7, 243, 2, 244, 7, 244, 2, 245, 7, 245, 2, 246, 7, 246, 2, 247, 7, 247, 2, 248, 7, 248, 2, 249, 7, 249, 2, 250, 7, 250, 2, 251, 7, 251, 2, 252, 7, 252, 2, 253, 7, 253, 2, 254, 7, 254, 2, 255, 7, 255, 2, 256, 7, 256, 2, 257, 7, 257, 2, 258, 7, 258, 2, 259, 7, 259, 2, 260, 7, 260, 2, 261, 7, 261, 2, 262, 7, 262, 2, 263, 7, 263, 2, 264, 7, 264, 2, 265, 7, 265, 2, 266, 7, 266, 2, 267, 7, 267, 2, 268, 7, 268, 2, 269, 7, 269, 2, 270, 7, 270, 2, 271, 7, 271, 2, 272, 7, 272, 2, 273, 7, 273, 2, 274, 7, 274, 2, 275, 7, 275, 2, 276, 7, 276, 2, 277, 7, 277, 2, 278, 7, 278, 2, 279, 7, 279, 2, 280, 7, 280, 2, 281, 7, 281, 2, 282, 7, 282, 2, 283, 7, 283, 2, 284, 7, 284, 2, 285, 7, 285, 2, 286, 7, 286, 2, 287, 7, 287, 2, 288, 7, 288, 1, 0, 1, 0, 1, 0, 1, 0, 5, 0, 601, 8, 0, 10, 0, 12, 0, 604, 9, 0, 1, 0, 3, 0, 607, 8, 0, 1, 0, 3, 0, 610, 8, 0, 1, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 5, 1, 619, 8, 1, 10, 1, 12, 1, 622, 9, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 4, 2, 630, 8, 2, 11, 2, 12, 2, 631, 1, 2, 1, 2, 1, 3, 1, 3, 1, 3, 1, 3, 1, 3, 1, 3, 1, 3, 1, 3, 1, 3, 1, 3, 1, 3, 1, 3, 1, 3, 1, 3, 1, 3, 1, 4, 1, 4, 1, 4, 1, 4, 1, 4, 1, 4, 1, 4, 1, 4, 1, 4, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 1, 6, 1, 6, 1, 6, 1, 6, 1, 6, 1, 6, 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, 7, 1, 7, 1, 7, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 9, 1, 9, 1, 9, 1, 9, 1, 9, 1, 9, 1, 9, 1, 10, 1, 10, 1, 10, 1, 10, 1, 10, 1, 10, 1, 10, 1, 10, 1, 11, 1, 11, 1, 11, 1, 11, 1, 11, 1, 11, 1, 11, 1, 11, 1, 11, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 16, 1, 16, 1, 16, 1, 16, 1, 16, 1, 16, 1, 16, 1, 16, 1, 17, 1, 17, 1, 17, 1, 17, 1, 17, 1, 17, 1, 17, 1, 18, 1, 18, 1, 18, 1, 18, 1, 18, 1, 19, 1, 19, 1, 19, 1, 19, 1, 19, 1, 19, 1, 19, 1, 20, 1, 20, 1, 20, 1, 20, 1, 20, 1, 20, 1, 20, 1, 20, 1, 21, 1, 21, 1, 21, 1, 21, 1, 21, 1, 21, 1, 21, 1, 21, 1, 21, 1, 22, 1, 22, 1, 22, 1, 22, 1, 22, 1, 22, 1, 22, 1, 22, 1, 22, 1, 22, 1, 22, 1, 22, 1, 22, 1, 22, 1, 23, 1, 23, 1, 23, 1, 23, 1, 23, 1, 23, 1, 23, 1, 23, 1, 23, 1, 24, 1, 24, 1, 24, 1, 24, 1, 24, 1, 24, 1, 24, 1, 24, 1, 25, 1, 25, 1, 25, 1, 25, 1, 25, 1, 25, 1, 25, 1, 25, 1, 26, 1, 26, 1, 26, 1, 26, 1, 26, 1, 26, 1, 26, 1, 26, 1, 26, 1, 27, 1, 27, 1, 27, 1, 27, 1, 27, 1, 27, 1, 27, 1, 27, 1, 27, 1, 27, 1, 27, 1, 27, 1, 28, 1, 28, 1, 28, 1, 28, 1, 28, 1, 28, 1, 28, 1, 28, 1, 28, 1, 28, 1, 28, 1, 28, 1, 29, 1, 29, 1, 29, 1, 29, 1, 29, 1, 29, 1, 29, 1, 30, 1, 30, 1, 30, 1, 30, 1, 30, 1, 30, 1, 30, 1, 31, 1, 31, 1, 31, 1, 31, 1, 31, 1, 31, 1, 31, 1, 31, 1, 31, 1, 31, 1, 31, 1, 31, 1, 32, 1, 32, 1, 32, 1, 32, 1, 32, 1, 32, 1, 32, 1, 32, 1, 32, 1, 33, 1, 33, 1, 33, 1, 33, 1, 33, 1, 33, 1, 34, 1, 34, 1, 34, 1, 34, 1, 34, 1, 34, 1, 34, 1, 35, 4, 35, 920, 8, 35, 11, 35, 12, 35, 921, 1, 35, 1, 35, 1, 36, 1, 36, 1, 36, 1, 36, 1, 36, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 38, 1, 38, 1, 38, 1, 38, 1, 39, 1, 39, 1, 39, 1, 39, 1, 40, 1, 40, 1, 40, 1, 40, 1, 41, 1, 41, 1, 41, 1, 41, 1, 42, 1, 42, 1, 42, 1, 42, 1, 43, 1, 43, 1, 43, 1, 43, 1, 44, 1, 44, 1, 44, 1, 44, 1, 45, 1, 45, 1, 45, 1, 45, 1, 46, 1, 46, 1, 46, 1, 46, 1, 47, 1, 47, 1, 47, 1, 47, 1, 48, 1, 48, 1, 48, 1, 48, 1, 49, 1, 49, 1, 49, 1, 49, 1, 49, 1, 50, 1, 50, 1, 50, 1, 50, 1, 50, 1, 50, 1, 51, 1, 51, 1, 51, 1, 51, 1, 51, 1, 52, 1, 52, 1, 52, 1, 52, 1, 52, 1, 53, 1, 53, 1, 54, 4, 54, 1005, 8, 54, 11, 54, 12, 54, 1006, 1, 54, 1, 54, 3, 54, 1011, 8, 54, 1, 54, 4, 54, 1014, 8, 54, 11, 54, 12, 54, 1015, 1, 55, 1, 55, 1, 55, 1, 55, 1, 56, 1, 56, 1, 56, 1, 56, 1, 57, 1, 57, 1, 57, 1, 57, 1, 58, 1, 58, 1, 58, 1, 58, 1, 59, 1, 59, 1, 59, 1, 59, 1, 60, 1, 60, 1, 60, 1, 60, 1, 60, 1, 60, 1, 61, 1, 61, 1, 61, 1, 61, 1, 61, 1, 61, 1, 61, 1, 62, 1, 62, 1, 62, 1, 62, 1, 63, 1, 63, 1, 63, 1, 63, 1, 64, 1, 64, 1, 64, 1, 64, 1, 65, 1, 65, 1, 65, 1, 65, 1, 66, 1, 66, 1, 66, 1, 66, 1, 67, 1, 67, 1, 67, 1, 67, 1, 68, 1, 68, 1, 68, 1, 68, 1, 69, 1, 69, 1, 69, 1, 69, 1, 70, 1, 70, 1, 70, 1, 70, 1, 71, 1, 71, 1, 71, 1, 71, 1, 72, 1, 72, 1, 72, 1, 72, 1, 73, 1, 73, 1, 73, 1, 73, 1, 74, 1, 74, 1, 74, 1, 74, 1, 75, 1, 75, 1, 75, 1, 75, 1, 76, 1, 76, 1, 76, 1, 76, 1, 77, 1, 77, 1, 77, 1, 77, 1, 77, 1, 78, 1, 78, 1, 78, 1, 78, 1, 78, 1, 79, 1, 79, 1, 79, 1, 79, 1, 80, 1, 80, 1, 80, 1, 80, 1, 81, 1, 81, 1, 81, 1, 81, 1, 82, 1, 82, 1, 82, 1, 82, 1, 83, 1, 83, 1, 84, 1, 84, 1, 85, 1, 85, 1, 85, 1, 86, 1, 86, 1, 87, 1, 87, 3, 87, 1148, 8, 87, 1, 87, 4, 87, 1151, 8, 87, 11, 87, 12, 87, 1152, 1, 88, 1, 88, 1, 89, 1, 89, 1, 90, 1, 90, 1, 90, 3, 90, 1162, 8, 90, 1, 91, 1, 91, 1, 92, 1, 92, 1, 92, 3, 92, 1169, 8, 92, 1, 93, 1, 93, 1, 93, 5, 93, 1174, 8, 93, 10, 93, 12, 93, 1177, 9, 93, 1, 93, 1, 93, 1, 93, 1, 93, 1, 93, 1, 93, 5, 93, 1185, 8, 93, 10, 93, 12, 93, 1188, 9, 93, 1, 93, 1, 93, 1, 93, 1, 93, 1, 93, 3, 93, 1195, 8, 93, 1, 93, 3, 93, 1198, 8, 93, 3, 93, 1200, 8, 93, 1, 94, 4, 94, 1203, 8, 94, 11, 94, 12, 94, 1204, 1, 95, 4, 95, 1208, 8, 95, 11, 95, 12, 95, 1209, 1, 95, 1, 95, 5, 95, 1214, 8, 95, 10, 95, 12, 95, 1217, 9, 95, 1, 95, 1, 95, 4, 95, 1221, 8, 95, 11, 95, 12, 95, 1222, 1, 95, 4, 95, 1226, 8, 95, 11, 95, 12, 95, 1227, 1, 95, 1, 95, 5, 95, 1232, 8, 95, 10, 95, 12, 95, 1235, 9, 95, 3, 95, 1237, 8, 95, 1, 95, 1, 95, 1, 95, 1, 95, 4, 95, 1243, 8, 95, 11, 95, 12, 95, 1244, 1, 95, 1, 95, 3, 95, 1249, 8, 95, 1, 96, 1, 96, 1, 96, 1, 96, 1, 97, 1, 97, 1, 97, 1, 97, 1, 98, 1, 98, 1, 99, 1, 99, 1, 99, 1, 100, 1, 100, 1, 100, 1, 101, 1, 101, 1, 102, 1, 102, 1, 103, 1, 103, 1, 104, 1, 104, 1, 104, 1, 104, 1, 104, 1, 105, 1, 105, 1, 106, 1, 106, 1, 106, 1, 106, 1, 106, 1, 106, 1, 107, 1, 107, 1, 107, 1, 107, 1, 107, 1, 107, 1, 108, 1, 108, 1, 108, 1, 109, 1, 109, 1, 109, 1, 110, 1, 110, 1, 110, 1, 110, 1, 110, 1, 111, 1, 111, 1, 111, 1, 111, 1, 111, 1, 112, 1, 112, 1, 112, 1, 112, 1, 113, 1, 113, 1, 113, 1, 113, 1, 113, 1, 114, 1, 114, 1, 114, 1, 114, 1, 114, 1, 114, 1, 115, 1, 115, 1, 115, 1, 116, 1, 116, 1, 116, 1, 117, 1, 117, 1, 118, 1, 118, 1, 118, 1, 118, 1, 118, 1, 118, 1, 119, 1, 119, 1, 119, 1, 119, 1, 119, 1, 120, 1, 120, 1, 120, 1, 120, 1, 120, 1, 121, 1, 121, 1, 121, 1, 122, 1, 122, 1, 122, 1, 123, 1, 123, 1, 123, 1, 124, 1, 124, 1, 125, 1, 125, 1, 125, 1, 126, 1, 126, 1, 127, 1, 127, 1, 127, 1, 128, 1, 128, 1, 129, 1, 129, 1, 130, 1, 130, 1, 131, 1, 131, 1, 132, 1, 132, 1, 133, 1, 133, 1, 134, 1, 134, 1, 135, 1, 135, 1, 135, 1, 136, 1, 136, 1, 136, 1, 136, 1, 137, 1, 137, 1, 137, 3, 137, 1390, 8, 137, 1, 137, 5, 137, 1393, 8, 137, 10, 137, 12, 137, 1396, 9, 137, 1, 137, 1, 137, 4, 137, 1400, 8, 137, 11, 137, 12, 137, 1401, 3, 137, 1404, 8, 137, 1, 138, 1, 138, 1, 138, 3, 138, 1409, 8, 138, 1, 138, 5, 138, 1412, 8, 138, 10, 138, 12, 138, 1415, 9, 138, 1, 138, 1, 138, 4, 138, 1419, 8, 138, 11, 138, 12, 138, 1420, 3, 138, 1423, 8, 138, 1, 139, 1, 139, 1, 139, 1, 139, 1, 139, 1, 140, 1, 140, 1, 140, 1, 140, 1, 140, 1, 141, 1, 141, 1, 141, 1, 141, 1, 141, 1, 142, 1, 142, 1, 142, 1, 142, 1, 142, 1, 143, 1, 143, 5, 143, 1447, 8, 143, 10, 143, 12, 143, 1450, 9, 143, 1, 143, 1, 143, 3, 143, 1454, 8, 143, 1, 143, 4, 143, 1457, 8, 143, 11, 143, 12, 143, 1458, 3, 143, 1461, 8, 143, 1, 144, 1, 144, 4, 144, 1465, 8, 144, 11, 144, 12, 144, 1466, 1, 144, 1, 144, 1, 145, 1, 145, 1, 146, 1, 146, 1, 146, 1, 146, 1, 147, 1, 147, 1, 147, 1, 147, 1, 148, 1, 148, 1, 148, 1, 148, 1, 149, 1, 149, 1, 149, 1, 149, 1, 149, 1, 150, 1, 150, 1, 150, 1, 150, 1, 151, 1, 151, 1, 151, 1, 151, 1, 152, 1, 152, 1, 152, 1, 152, 1, 153, 1, 153, 1, 153, 1, 153, 1, 154, 1, 154, 1, 154, 1, 154, 1, 154, 1, 154, 1, 154, 1, 154, 1, 154, 1, 155, 1, 155, 1, 155, 1, 155, 1, 155, 1, 156, 1, 156, 1, 156, 3, 156, 1523, 8, 156, 1, 157, 4, 157, 1526, 8, 157, 11, 157, 12, 157, 1527, 1, 158, 1, 158, 1, 158, 1, 158, 1, 159, 1, 159, 1, 159, 1, 159, 1, 160, 1, 160, 1, 160, 1, 160, 1, 161, 1, 161, 1, 161, 1, 161, 1, 162, 1, 162, 1, 162, 1, 162, 1, 163, 1, 163, 1, 163, 1, 163, 1, 163, 1, 164, 1, 164, 1, 164, 1, 164, 1, 164, 1, 164, 1, 165, 1, 165, 1, 165, 1, 165, 1, 165, 1, 166, 1, 166, 1, 166, 1, 166, 1, 167, 1, 167, 1, 167, 1, 167, 1, 168, 1, 168, 1, 168, 1, 168, 1, 169, 1, 169, 1, 169, 1, 169, 1, 169, 1, 170, 1, 170, 1, 170, 1, 170, 1, 170, 1, 170, 1, 171, 1, 171, 1, 171, 1, 171, 1, 171, 1, 171, 1, 172, 1, 172, 1, 172, 1, 172, 1, 172, 1, 172, 1, 173, 1, 173, 1, 173, 1, 173, 1, 174, 1, 174, 1, 174, 1, 174, 1, 174, 1, 174, 1, 175, 1, 175, 1, 175, 1, 175, 1, 176, 1, 176, 1, 176, 1, 176, 1, 177, 1, 177, 1, 177, 1, 177, 1, 178, 1, 178, 1, 178, 1, 178, 1, 179, 1, 179, 1, 179, 1, 179, 1, 180, 1, 180, 1, 180, 1, 180, 1, 181, 1, 181, 1, 181, 1, 181, 1, 182, 1, 182, 1, 182, 1, 182, 1, 182, 1, 182, 1, 182, 1, 182, 1, 182, 1, 183, 1, 183, 1, 183, 1, 183, 1, 184, 1, 184, 1, 184, 1, 184, 1, 185, 1, 185, 1, 185, 1, 185, 1, 186, 1, 186, 1, 186, 1, 186, 1, 186, 1, 187, 1, 187, 1, 187, 1, 187, 1, 187, 1, 188, 1, 188, 1, 188, 1, 188, 1, 189, 1, 189, 1, 189, 1, 189, 1, 189, 1, 189, 1, 190, 1, 190, 1, 190, 1, 190, 1, 190, 1, 190, 1, 190, 1, 190, 1, 190, 1, 191, 1, 191, 1, 191, 1, 191, 1, 192, 1, 192, 1, 192, 1, 192, 1, 193, 1, 193, 1, 193, 1, 193, 1, 194, 1, 194, 1, 194, 1, 194, 1, 195, 1, 195, 1, 195, 1, 195, 1, 196, 1, 196, 1, 196, 1, 196, 1, 197, 1, 197, 1, 197, 1, 197, 1, 197, 1, 198, 1, 198, 1, 198, 1, 198, 1, 198, 1, 198, 1, 199, 1, 199, 1, 199, 1, 199, 1, 200, 1, 200, 1, 200, 1, 200, 1, 201, 1, 201, 1, 201, 1, 201, 1, 202, 1, 202, 1, 202, 1, 202, 1, 202, 1, 203, 1, 203, 1, 203, 1, 203, 1, 204, 1, 204, 1, 204, 1, 204, 1, 205, 1, 205, 1, 205, 1, 205, 1, 206, 1, 206, 1, 206, 1, 206, 1, 207, 1, 207, 1, 207, 1, 207, 1, 208, 1, 208, 1, 208, 1, 208, 1, 208, 1, 208, 1, 209, 1, 209, 1, 209, 1, 209, 1, 209, 1, 209, 1, 209, 1, 210, 1, 210, 1, 210, 1, 210, 1, 211, 1, 211, 1, 211, 1, 211, 1, 212, 1, 212, 1, 212, 1, 212, 1, 213, 1, 213, 1, 213, 1, 213, 1, 214, 1, 214, 1, 214, 1, 214, 1, 215, 1, 215, 1, 215, 1, 215, 1, 216, 1, 216, 1, 216, 1, 216, 1, 216, 1, 217, 1, 217, 1, 217, 1, 217, 1, 217, 1, 217, 1, 218, 1, 218, 1, 218, 1, 218, 1, 219, 1, 219, 1, 219, 1, 219, 1, 220, 1, 220, 1, 220, 1, 220, 1, 221, 1, 221, 1, 221, 1, 221, 1, 222, 1, 222, 1, 222, 1, 222, 1, 223, 1, 223, 1, 223, 1, 223, 1, 224, 1, 224, 1, 224, 1, 224, 1, 225, 1, 225, 1, 225, 1, 225, 1, 226, 1, 226, 1, 226, 1, 226, 1, 227, 1, 227, 1, 227, 1, 227, 1, 228, 1, 228, 1, 228, 1, 228, 1, 229, 1, 229, 1, 229, 1, 229, 1, 230, 1, 230, 1, 230, 1, 230, 1, 230, 1, 231, 1, 231, 1, 231, 1, 231, 1, 231, 1, 231, 1, 232, 1, 232, 1, 232, 1, 232, 1, 233, 1, 233, 1, 233, 1, 233, 1, 234, 1, 234, 1, 234, 1, 234, 1, 235, 1, 235, 1, 235, 1, 235, 1, 236, 1, 236, 1, 236, 1, 236, 1, 237, 1, 237, 1, 237, 1, 237, 1, 238, 1, 238, 1, 238, 1, 238, 1, 239, 1, 239, 1, 239, 1, 239, 1, 240, 1, 240, 1, 240, 1, 240, 3, 240, 1904, 8, 240, 1, 241, 1, 241, 3, 241, 1908, 8, 241, 1, 241, 5, 241, 1911, 8, 241, 10, 241, 12, 241, 1914, 9, 241, 1, 241, 1, 241, 3, 241, 1918, 8, 241, 1, 241, 4, 241, 1921, 8, 241, 11, 241, 12, 241, 1922, 3, 241, 1925, 8, 241, 1, 242, 1, 242, 4, 242, 1929, 8, 242, 11, 242, 12, 242, 1930, 1, 243, 1, 243, 1, 243, 1, 243, 1, 244, 1, 244, 1, 244, 1, 244, 1, 245, 1, 245, 1, 245, 1, 245, 1, 246, 1, 246, 1, 246, 1, 246, 1, 246, 1, 247, 1, 247, 1, 247, 1, 247, 1, 247, 1, 247, 1, 248, 1, 248, 1, 248, 1, 248, 1, 249, 1, 249, 1, 249, 1, 249, 1, 250, 1, 250, 1, 250, 1, 250, 1, 251, 1, 251, 1, 251, 1, 251, 1, 252, 1, 252, 1, 252, 1, 252, 1, 253, 1, 253, 1, 253, 1, 253, 1, 254, 1, 254, 1, 254, 1, 254, 1, 255, 1, 255, 1, 255, 1, 255, 1, 256, 1, 256, 1, 256, 1, 256, 1, 257, 1, 257, 1, 257, 1, 258, 1, 258, 1, 258, 1, 258, 1, 259, 1, 259, 1, 259, 1, 259, 1, 260, 1, 260, 1, 260, 1, 260, 1, 261, 1, 261, 1, 261, 1, 261, 1, 262, 1, 262, 1, 262, 1, 262, 1, 263, 1, 263, 1, 263, 1, 263, 1, 264, 1, 264, 1, 264, 1, 264, 1, 265, 1, 265, 1, 265, 1, 265, 1, 265, 1, 266, 1, 266, 1, 266, 1, 266, 1, 267, 1, 267, 1, 267, 1, 267, 1, 268, 1, 268, 1, 268, 1, 268, 1, 269, 1, 269, 1, 269, 1, 269, 1, 270, 1, 270, 1, 270, 1, 270, 1, 271, 1, 271, 1, 271, 1, 271, 1, 272, 1, 272, 1, 272, 1, 272, 1, 273, 1, 273, 1, 273, 1, 273, 1, 274, 1, 274, 1, 274, 1, 274, 1, 275, 1, 275, 1, 275, 1, 275, 1, 276, 1, 276, 1, 276, 1, 276, 1, 277, 1, 277, 1, 277, 1, 277, 1, 278, 1, 278, 1, 278, 1, 278, 1, 279, 1, 279, 1, 279, 1, 279, 1, 280, 1, 280, 1, 280, 1, 280, 1, 281, 1, 281, 1, 281, 1, 281, 1, 282, 1, 282, 1, 282, 1, 282, 1, 283, 1, 283, 1, 283, 1, 283, 1, 284, 1, 284, 1, 284, 1, 284, 1, 284, 1, 285, 1, 285, 1, 285, 1, 285, 1, 285, 1, 286, 1, 286, 1, 286, 1, 286, 1, 287, 1, 287, 1, 287, 1, 287, 1, 288, 1, 288, 1, 288, 1, 288, 2, 620, 1186, 0, 289, 18, 1, 20, 2, 22, 3, 24, 4, 26, 5, 28, 6, 30, 7, 32, 8, 34, 9, 36, 10, 38, 11, 40, 12, 42, 13, 44, 14, 46, 15, 48, 16, 50, 17, 52, 18, 54, 19, 56, 20, 58, 21, 60, 22, 62, 23, 64, 24, 66, 25, 68, 26, 70, 27, 72, 28, 74, 29, 76, 30, 78, 31, 80, 32, 82, 33, 84, 34, 86, 35, 88, 36, 90, 0, 92, 0, 94, 0, 96, 0, 98, 0, 100, 0, 102, 0, 104, 0, 106, 0, 108, 0, 110, 37, 112, 38, 114, 39, 116, 0, 118, 0, 120, 0, 122, 0, 124, 0, 126, 40, 128, 0, 130, 0, 132, 41, 134, 42, 136, 43, 138, 0, 140, 0, 142, 0, 144, 0, 146, 0, 148, 0, 150, 0, 152, 0, 154, 0, 156, 0, 158, 0, 160, 0, 162, 0, 164, 0, 166, 44, 168, 45, 170, 46, 172, 0, 174, 0, 176, 47, 178, 48, 180, 49, 182, 50, 184, 0, 186, 0, 188, 0, 190, 0, 192, 0, 194, 0, 196, 0, 198, 0, 200, 0, 202, 0, 204, 51, 206, 52, 208, 53, 210, 54, 212, 55, 214, 56, 216, 57, 218, 58, 220, 59, 222, 60, 224, 61, 226, 62, 228, 63, 230, 64, 232, 65, 234, 66, 236, 67, 238, 68, 240, 69, 242, 70, 244, 71, 246, 72, 248, 73, 250, 74, 252, 75, 254, 76, 256, 77, 258, 78, 260, 79, 262, 80, 264, 81, 266, 82, 268, 83, 270, 84, 272, 85, 274, 86, 276, 87, 278, 88, 280, 89, 282, 90, 284, 91, 286, 92, 288, 93, 290, 0, 292, 94, 294, 95, 296, 96, 298, 97, 300, 98, 302, 99, 304, 100, 306, 0, 308, 101, 310, 102, 312, 103, 314, 104, 316, 0, 318, 0, 320, 0, 322, 0, 324, 0, 326, 105, 328, 0, 330, 0, 332, 106, 334, 0, 336, 0, 338, 107, 340, 108, 342, 109, 344, 0, 346, 0, 348, 0, 350, 110, 352, 111, 354, 112, 356, 0, 358, 0, 360, 113, 362, 114, 364, 115, 366, 0, 368, 0, 370, 0, 372, 0, 374, 0, 376, 116, 378, 117, 380, 118, 382, 119, 384, 120, 386, 121, 388, 122, 390, 0, 392, 123, 394, 0, 396, 0, 398, 124, 400, 0, 402, 0, 404, 0, 406, 125, 408, 126, 410, 127, 412, 0, 414, 0, 416, 0, 418, 0, 420, 0, 422, 0, 424, 0, 426, 0, 428, 128, 430, 129, 432, 130, 434, 0, 436, 0, 438, 0, 440, 0, 442, 0, 444, 131, 446, 132, 448, 133, 450, 0, 452, 0, 454, 0, 456, 0, 458, 0, 460, 0, 462, 0, 464, 0, 466, 0, 468, 0, 470, 0, 472, 134, 474, 135, 476, 136, 478, 0, 480, 0, 482, 0, 484, 0, 486, 0, 488, 0, 490, 0, 492, 0, 494, 0, 496, 0, 498, 0, 500, 0, 502, 137, 504, 138, 506, 139, 508, 140, 510, 0, 512, 0, 514, 0, 516, 0, 518, 0, 520, 0, 522, 0, 524, 0, 526, 0, 528, 0, 530, 0, 532, 141, 534, 0, 536, 142, 538, 143, 540, 144, 542, 0, 544, 0, 546, 0, 548, 0, 550, 0, 552, 0, 554, 0, 556, 0, 558, 0, 560, 0, 562, 0, 564, 0, 566, 0, 568, 0, 570, 0, 572, 0, 574, 0, 576, 0, 578, 0, 580, 145, 582, 146, 584, 147, 586, 0, 588, 148, 590, 149, 592, 150, 594, 151, 18, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 36, 2, 0, 10, 10, 13, 13, 3, 0, 9, 10, 13, 13, 32, 32, 2, 0, 67, 67, 99, 99, 2, 0, 72, 72, 104, 104, 2, 0, 65, 65, 97, 97, 2, 0, 78, 78, 110, 110, 2, 0, 71, 71, 103, 103, 2, 0, 69, 69, 101, 101, 2, 0, 80, 80, 112, 112, 2, 0, 79, 79, 111, 111, 2, 0, 73, 73, 105, 105, 2, 0, 84, 84, 116, 116, 2, 0, 82, 82, 114, 114, 2, 0, 88, 88, 120, 120, 2, 0, 76, 76, 108, 108, 2, 0, 77, 77, 109, 109, 2, 0, 68, 68, 100, 100, 2, 0, 83, 83, 115, 115, 2, 0, 86, 86, 118, 118, 2, 0, 75, 75, 107, 107, 2, 0, 87, 87, 119, 119, 2, 0, 70, 70, 102, 102, 2, 0, 85, 85, 117, 117, 6, 0, 9, 10, 13, 13, 32, 32, 47, 47, 91, 91, 93, 93, 12, 0, 9, 10, 13, 13, 32, 32, 34, 35, 40, 41, 44, 44, 47, 47, 58, 58, 60, 60, 62, 63, 92, 92, 124, 124, 1, 0, 48, 57, 2, 0, 65, 90, 97, 122, 8, 0, 34, 34, 78, 78, 82, 82, 84, 84, 92, 92, 110, 110, 114, 114, 116, 116, 4, 0, 10, 10, 13, 13, 34, 34, 92, 92, 2, 0, 43, 43, 45, 45, 1, 0, 96, 96, 2, 0, 66, 66, 98, 98, 2, 0, 89, 89, 121, 121, 12, 0, 9, 10, 13, 13, 32, 32, 34, 34, 40, 41, 44, 44, 47, 47, 58, 58, 61, 61, 91, 91, 93, 93, 124, 124, 2, 0, 42, 42, 47, 47, 2, 0, 74, 74, 106, 106, 2145, 0, 18, 1, 0, 0, 0, 0, 20, 1, 0, 0, 0, 0, 22, 1, 0, 0, 0, 0, 24, 1, 0, 0, 0, 0, 26, 1, 0, 0, 0, 0, 28, 1, 0, 0, 0, 0, 30, 1, 0, 0, 0, 0, 32, 1, 0, 0, 0, 0, 34, 1, 0, 0, 0, 0, 36, 1, 0, 0, 0, 0, 38, 1, 0, 0, 0, 0, 40, 1, 0, 0, 0, 0, 42, 1, 0, 0, 0, 0, 44, 1, 0, 0, 0, 0, 46, 1, 0, 0, 0, 0, 48, 1, 0, 0, 0, 0, 50, 1, 0, 0, 0, 0, 52, 1, 0, 0, 0, 0, 54, 1, 0, 0, 0, 0, 56, 1, 0, 0, 0, 0, 58, 1, 0, 0, 0, 0, 60, 1, 0, 0, 0, 0, 62, 1, 0, 0, 0, 0, 64, 1, 0, 0, 0, 0, 66, 1, 0, 0, 0, 0, 68, 1, 0, 0, 0, 0, 70, 1, 0, 0, 0, 0, 72, 1, 0, 0, 0, 0, 74, 1, 0, 0, 0, 0, 76, 1, 0, 0, 0, 0, 78, 1, 0, 0, 0, 0, 80, 1, 0, 0, 0, 0, 82, 1, 0, 0, 0, 0, 84, 1, 0, 0, 0, 0, 86, 1, 0, 0, 0, 0, 88, 1, 0, 0, 0, 1, 90, 1, 0, 0, 0, 1, 92, 1, 0, 0, 0, 1, 94, 1, 0, 0, 0, 1, 96, 1, 0, 0, 0, 1, 98, 1, 0, 0, 0, 1, 100, 1, 0, 0, 0, 1, 102, 1, 0, 0, 0, 1, 104, 1, 0, 0, 0, 1, 106, 1, 0, 0, 0, 1, 108, 1, 0, 0, 0, 1, 110, 1, 0, 0, 0, 1, 112, 1, 0, 0, 0, 1, 114, 1, 0, 0, 0, 2, 116, 1, 0, 0, 0, 2, 118, 1, 0, 0, 0, 2, 120, 1, 0, 0, 0, 2, 122, 1, 0, 0, 0, 2, 126, 1, 0, 0, 0, 2, 128, 1, 0, 0, 0, 2, 130, 1, 0, 0, 0, 2, 132, 1, 0, 0, 0, 2, 134, 1, 0, 0, 0, 2, 136, 1, 0, 0, 0, 3, 138, 1, 0, 0, 0, 3, 140, 1, 0, 0, 0, 3, 142, 1, 0, 0, 0, 3, 144, 1, 0, 0, 0, 3, 146, 1, 0, 0, 0, 3, 148, 1, 0, 0, 0, 3, 150, 1, 0, 0, 0, 3, 152, 1, 0, 0, 0, 3, 154, 1, 0, 0, 0, 3, 156, 1, 0, 0, 0, 3, 158, 1, 0, 0, 0, 3, 160, 1, 0, 0, 0, 3, 162, 1, 0, 0, 0, 3, 164, 1, 0, 0, 0, 3, 166, 1, 0, 0, 0, 3, 168, 1, 0, 0, 0, 3, 170, 1, 0, 0, 0, 4, 172, 1, 0, 0, 0, 4, 174, 1, 0, 0, 0, 4, 176, 1, 0, 0, 0, 4, 178, 1, 0, 0, 0, 4, 180, 1, 0, 0, 0, 5, 182, 1, 0, 0, 0, 5, 204, 1, 0, 0, 0, 5, 206, 1, 0, 0, 0, 5, 208, 1, 0, 0, 0, 5, 210, 1, 0, 0, 0, 5, 212, 1, 0, 0, 0, 5, 214, 1, 0, 0, 0, 5, 216, 1, 0, 0, 0, 5, 218, 1, 0, 0, 0, 5, 220, 1, 0, 0, 0, 5, 222, 1, 0, 0, 0, 5, 224, 1, 0, 0, 0, 5, 226, 1, 0, 0, 0, 5, 228, 1, 0, 0, 0, 5, 230, 1, 0, 0, 0, 5, 232, 1, 0, 0, 0, 5, 234, 1, 0, 0, 0, 5, 236, 1, 0, 0, 0, 5, 238, 1, 0, 0, 0, 5, 240, 1, 0, 0, 0, 5, 242, 1, 0, 0, 0, 5, 244, 1, 0, 0, 0, 5, 246, 1, 0, 0, 0, 5, 248, 1, 0, 0, 0, 5, 250, 1, 0, 0, 0, 5, 252, 1, 0, 0, 0, 5, 254, 1, 0, 0, 0, 5, 256, 1, 0, 0, 0, 5, 258, 1, 0, 0, 0, 5, 260, 1, 0, 0, 0, 5, 262, 1, 0, 0, 0, 5, 264, 1, 0, 0, 0, 5, 266, 1, 0, 0, 0, 5, 268, 1, 0, 0, 0, 5, 270, 1, 0, 0, 0, 5, 272, 1, 0, 0, 0, 5, 274, 1, 0, 0, 0, 5, 276, 1, 0, 0, 0, 5, 278, 1, 0, 0, 0, 5, 280, 1, 0, 0, 0, 5, 282, 1, 0, 0, 0, 5, 284, 1, 0, 0, 0, 5, 286, 1, 0, 0, 0, 5, 288, 1, 0, 0, 0, 5, 290, 1, 0, 0, 0, 5, 292, 1, 0, 0, 0, 5, 294, 1, 0, 0, 0, 5, 296, 1, 0, 0, 0, 5, 298, 1, 0, 0, 0, 5, 300, 1, 0, 0, 0, 5, 302, 1, 0, 0, 0, 5, 304, 1, 0, 0, 0, 5, 308, 1, 0, 0, 0, 5, 310, 1, 0, 0, 0, 5, 312, 1, 0, 0, 0, 5, 314, 1, 0, 0, 0, 6, 316, 1, 0, 0, 0, 6, 318, 1, 0, 0, 0, 6, 320, 1, 0, 0, 0, 6, 322, 1, 0, 0, 0, 6, 324, 1, 0, 0, 0, 6, 326, 1, 0, 0, 0, 6, 328, 1, 0, 0, 0, 6, 332, 1, 0, 0, 0, 6, 334, 1, 0, 0, 0, 6, 336, 1, 0, 0, 0, 6, 338, 1, 0, 0, 0, 6, 340, 1, 0, 0, 0, 6, 342, 1, 0, 0, 0, 7, 344, 1, 0, 0, 0, 7, 346, 1, 0, 0, 0, 7, 348, 1, 0, 0, 0, 7, 350, 1, 0, 0, 0, 7, 352, 1, 0, 0, 0, 7, 354, 1, 0, 0, 0, 8, 356, 1, 0, 0, 0, 8, 358, 1, 0, 0, 0, 8, 360, 1, 0, 0, 0, 8, 362, 1, 0, 0, 0, 8, 364, 1, 0, 0, 0, 8, 366, 1, 0, 0, 0, 8, 368, 1, 0, 0, 0, 8, 370, 1, 0, 0, 0, 8, 372, 1, 0, 0, 0, 8, 374, 1, 0, 0, 0, 8, 376, 1, 0, 0, 0, 8, 378, 1, 0, 0, 0, 8, 380, 1, 0, 0, 0, 9, 382, 1, 0, 0, 0, 9, 384, 1, 0, 0, 0, 9, 386, 1, 0, 0, 0, 9, 388, 1, 0, 0, 0, 10, 390, 1, 0, 0, 0, 10, 392, 1, 0, 0, 0, 10, 394, 1, 0, 0, 0, 10, 396, 1, 0, 0, 0, 10, 398, 1, 0, 0, 0, 10, 400, 1, 0, 0, 0, 10, 402, 1, 0, 0, 0, 10, 404, 1, 0, 0, 0, 10, 406, 1, 0, 0, 0, 10, 408, 1, 0, 0, 0, 10, 410, 1, 0, 0, 0, 11, 412, 1, 0, 0, 0, 11, 414, 1, 0, 0, 0, 11, 416, 1, 0, 0, 0, 11, 418, 1, 0, 0, 0, 11, 420, 1, 0, 0, 0, 11, 422, 1, 0, 0, 0, 11, 424, 1, 0, 0, 0, 11, 426, 1, 0, 0, 0, 11, 428, 1, 0, 0, 0, 11, 430, 1, 0, 0, 0, 11, 432, 1, 0, 0, 0, 12, 434, 1, 0, 0, 0, 12, 436, 1, 0, 0, 0, 12, 438, 1, 0, 0, 0, 12, 440, 1, 0, 0, 0, 12, 442, 1, 0, 0, 0, 12, 444, 1, 0, 0, 0, 12, 446, 1, 0, 0, 0, 12, 448, 1, 0, 0, 0, 13, 450, 1, 0, 0, 0, 13, 452, 1, 0, 0, 0, 13, 454, 1, 0, 0, 0, 13, 456, 1, 0, 0, 0, 13, 458, 1, 0, 0, 0, 13, 460, 1, 0, 0, 0, 13, 462, 1, 0, 0, 0, 13, 464, 1, 0, 0, 0, 13, 466, 1, 0, 0, 0, 13, 468, 1, 0, 0, 0, 13, 470, 1, 0, 0, 0, 13, 472, 1, 0, 0, 0, 13, 474, 1, 0, 0, 0, 13, 476, 1, 0, 0, 0, 14, 478, 1, 0, 0, 0, 14, 480, 1, 0, 0, 0, 14, 482, 1, 0, 0, 0, 14, 484, 1, 0, 0, 0, 14, 486, 1, 0, 0, 0, 14, 488, 1, 0, 0, 0, 14, 490, 1, 0, 0, 0, 14, 492, 1, 0, 0, 0, 14, 494, 1, 0, 0, 0, 14, 496, 1, 0, 0, 0, 14, 502, 1, 0, 0, 0, 14, 504, 1, 0, 0, 0, 14, 506, 1, 0, 0, 0, 14, 508, 1, 0, 0, 0, 15, 510, 1, 0, 0, 0, 15, 512, 1, 0, 0, 0, 15, 514, 1, 0, 0, 0, 15, 516, 1, 0, 0, 0, 15, 518, 1, 0, 0, 0, 15, 520, 1, 0, 0, 0, 15, 522, 1, 0, 0, 0, 15, 524, 1, 0, 0, 0, 15, 526, 1, 0, 0, 0, 15, 528, 1, 0, 0, 0, 15, 530, 1, 0, 0, 0, 15, 532, 1, 0, 0, 0, 15, 534, 1, 0, 0, 0, 15, 536, 1, 0, 0, 0, 15, 538, 1, 0, 0, 0, 15, 540, 1, 0, 0, 0, 16, 542, 1, 0, 0, 0, 16, 544, 1, 0, 0, 0, 16, 546, 1, 0, 0, 0, 16, 548, 1, 0, 0, 0, 16, 550, 1, 0, 0, 0, 16, 552, 1, 0, 0, 0, 16, 554, 1, 0, 0, 0, 16, 556, 1, 0, 0, 0, 16, 558, 1, 0, 0, 0, 16, 560, 1, 0, 0, 0, 16, 562, 1, 0, 0, 0, 16, 564, 1, 0, 0, 0, 16, 566, 1, 0, 0, 0, 16, 568, 1, 0, 0, 0, 16, 570, 1, 0, 0, 0, 16, 572, 1, 0, 0, 0, 16, 574, 1, 0, 0, 0, 16, 576, 1, 0, 0, 0, 16, 578, 1, 0, 0, 0, 16, 580, 1, 0, 0, 0, 16, 582, 1, 0, 0, 0, 16, 584, 1, 0, 0, 0, 17, 586, 1, 0, 0, 0, 17, 588, 1, 0, 0, 0, 17, 590, 1, 0, 0, 0, 17, 592, 1, 0, 0, 0, 17, 594, 1, 0, 0, 0, 18, 596, 1, 0, 0, 0, 20, 613, 1, 0, 0, 0, 22, 629, 1, 0, 0, 0, 24, 635, 1, 0, 0, 0, 26, 650, 1, 0, 0, 0, 28, 659, 1, 0, 0, 0, 30, 670, 1, 0, 0, 0, 32, 683, 1, 0, 0, 0, 34, 693, 1, 0, 0, 0, 36, 700, 1, 0, 0, 0, 38, 707, 1, 0, 0, 0, 40, 715, 1, 0, 0, 0, 42, 724, 1, 0, 0, 0, 44, 730, 1, 0, 0, 0, 46, 739, 1, 0, 0, 0, 48, 746, 1, 0, 0, 0, 50, 754, 1, 0, 0, 0, 52, 762, 1, 0, 0, 0, 54, 769, 1, 0, 0, 0, 56, 774, 1, 0, 0, 0, 58, 781, 1, 0, 0, 0, 60, 789, 1, 0, 0, 0, 62, 798, 1, 0, 0, 0, 64, 812, 1, 0, 0, 0, 66, 821, 1, 0, 0, 0, 68, 829, 1, 0, 0, 0, 70, 837, 1, 0, 0, 0, 72, 846, 1, 0, 0, 0, 74, 858, 1, 0, 0, 0, 76, 870, 1, 0, 0, 0, 78, 877, 1, 0, 0, 0, 80, 884, 1, 0, 0, 0, 82, 896, 1, 0, 0, 0, 84, 905, 1, 0, 0, 0, 86, 911, 1, 0, 0, 0, 88, 919, 1, 0, 0, 0, 90, 925, 1, 0, 0, 0, 92, 930, 1, 0, 0, 0, 94, 936, 1, 0, 0, 0, 96, 940, 1, 0, 0, 0, 98, 944, 1, 0, 0, 0, 100, 948, 1, 0, 0, 0, 102, 952, 1, 0, 0, 0, 104, 956, 1, 0, 0, 0, 106, 960, 1, 0, 0, 0, 108, 964, 1, 0, 0, 0, 110, 968, 1, 0, 0, 0, 112, 972, 1, 0, 0, 0, 114, 976, 1, 0, 0, 0, 116, 980, 1, 0, 0, 0, 118, 985, 1, 0, 0, 0, 120, 991, 1, 0, 0, 0, 122, 996, 1, 0, 0, 0, 124, 1001, 1, 0, 0, 0, 126, 1010, 1, 0, 0, 0, 128, 1017, 1, 0, 0, 0, 130, 1021, 1, 0, 0, 0, 132, 1025, 1, 0, 0, 0, 134, 1029, 1, 0, 0, 0, 136, 1033, 1, 0, 0, 0, 138, 1037, 1, 0, 0, 0, 140, 1043, 1, 0, 0, 0, 142, 1050, 1, 0, 0, 0, 144, 1054, 1, 0, 0, 0, 146, 1058, 1, 0, 0, 0, 148, 1062, 1, 0, 0, 0, 150, 1066, 1, 0, 0, 0, 152, 1070, 1, 0, 0, 0, 154, 1074, 1, 0, 0, 0, 156, 1078, 1, 0, 0, 0, 158, 1082, 1, 0, 0, 0, 160, 1086, 1, 0, 0, 0, 162, 1090, 1, 0, 0, 0, 164, 1094, 1, 0, 0, 0, 166, 1098, 1, 0, 0, 0, 168, 1102, 1, 0, 0, 0, 170, 1106, 1, 0, 0, 0, 172, 1110, 1, 0, 0, 0, 174, 1115, 1, 0, 0, 0, 176, 1120, 1, 0, 0, 0, 178, 1124, 1, 0, 0, 0, 180, 1128, 1, 0, 0, 0, 182, 1132, 1, 0, 0, 0, 184, 1136, 1, 0, 0, 0, 186, 1138, 1, 0, 0, 0, 188, 1140, 1, 0, 0, 0, 190, 1143, 1, 0, 0, 0, 192, 1145, 1, 0, 0, 0, 194, 1154, 1, 0, 0, 0, 196, 1156, 1, 0, 0, 0, 198, 1161, 1, 0, 0, 0, 200, 1163, 1, 0, 0, 0, 202, 1168, 1, 0, 0, 0, 204, 1199, 1, 0, 0, 0, 206, 1202, 1, 0, 0, 0, 208, 1248, 1, 0, 0, 0, 210, 1250, 1, 0, 0, 0, 212, 1254, 1, 0, 0, 0, 214, 1258, 1, 0, 0, 0, 216, 1260, 1, 0, 0, 0, 218, 1263, 1, 0, 0, 0, 220, 1266, 1, 0, 0, 0, 222, 1268, 1, 0, 0, 0, 224, 1270, 1, 0, 0, 0, 226, 1272, 1, 0, 0, 0, 228, 1277, 1, 0, 0, 0, 230, 1279, 1, 0, 0, 0, 232, 1285, 1, 0, 0, 0, 234, 1291, 1, 0, 0, 0, 236, 1294, 1, 0, 0, 0, 238, 1297, 1, 0, 0, 0, 240, 1302, 1, 0, 0, 0, 242, 1307, 1, 0, 0, 0, 244, 1311, 1, 0, 0, 0, 246, 1316, 1, 0, 0, 0, 248, 1322, 1, 0, 0, 0, 250, 1325, 1, 0, 0, 0, 252, 1328, 1, 0, 0, 0, 254, 1330, 1, 0, 0, 0, 256, 1336, 1, 0, 0, 0, 258, 1341, 1, 0, 0, 0, 260, 1346, 1, 0, 0, 0, 262, 1349, 1, 0, 0, 0, 264, 1352, 1, 0, 0, 0, 266, 1355, 1, 0, 0, 0, 268, 1357, 1, 0, 0, 0, 270, 1360, 1, 0, 0, 0, 272, 1362, 1, 0, 0, 0, 274, 1365, 1, 0, 0, 0, 276, 1367, 1, 0, 0, 0, 278, 1369, 1, 0, 0, 0, 280, 1371, 1, 0, 0, 0, 282, 1373, 1, 0, 0, 0, 284, 1375, 1, 0, 0, 0, 286, 1377, 1, 0, 0, 0, 288, 1379, 1, 0, 0, 0, 290, 1382, 1, 0, 0, 0, 292, 1403, 1, 0, 0, 0, 294, 1422, 1, 0, 0, 0, 296, 1424, 1, 0, 0, 0, 298, 1429, 1, 0, 0, 0, 300, 1434, 1, 0, 0, 0, 302, 1439, 1, 0, 0, 0, 304, 1460, 1, 0, 0, 0, 306, 1462, 1, 0, 0, 0, 308, 1470, 1, 0, 0, 0, 310, 1472, 1, 0, 0, 0, 312, 1476, 1, 0, 0, 0, 314, 1480, 1, 0, 0, 0, 316, 1484, 1, 0, 0, 0, 318, 1489, 1, 0, 0, 0, 320, 1493, 1, 0, 0, 0, 322, 1497, 1, 0, 0, 0, 324, 1501, 1, 0, 0, 0, 326, 1505, 1, 0, 0, 0, 328, 1514, 1, 0, 0, 0, 330, 1522, 1, 0, 0, 0, 332, 1525, 1, 0, 0, 0, 334, 1529, 1, 0, 0, 0, 336, 1533, 1, 0, 0, 0, 338, 1537, 1, 0, 0, 0, 340, 1541, 1, 0, 0, 0, 342, 1545, 1, 0, 0, 0, 344, 1549, 1, 0, 0, 0, 346, 1554, 1, 0, 0, 0, 348, 1560, 1, 0, 0, 0, 350, 1565, 1, 0, 0, 0, 352, 1569, 1, 0, 0, 0, 354, 1573, 1, 0, 0, 0, 356, 1577, 1, 0, 0, 0, 358, 1582, 1, 0, 0, 0, 360, 1588, 1, 0, 0, 0, 362, 1594, 1, 0, 0, 0, 364, 1600, 1, 0, 0, 0, 366, 1604, 1, 0, 0, 0, 368, 1610, 1, 0, 0, 0, 370, 1614, 1, 0, 0, 0, 372, 1618, 1, 0, 0, 0, 374, 1622, 1, 0, 0, 0, 376, 1626, 1, 0, 0, 0, 378, 1630, 1, 0, 0, 0, 380, 1634, 1, 0, 0, 0, 382, 1638, 1, 0, 0, 0, 384, 1647, 1, 0, 0, 0, 386, 1651, 1, 0, 0, 0, 388, 1655, 1, 0, 0, 0, 390, 1659, 1, 0, 0, 0, 392, 1664, 1, 0, 0, 0, 394, 1669, 1, 0, 0, 0, 396, 1673, 1, 0, 0, 0, 398, 1679, 1, 0, 0, 0, 400, 1688, 1, 0, 0, 0, 402, 1692, 1, 0, 0, 0, 404, 1696, 1, 0, 0, 0, 406, 1700, 1, 0, 0, 0, 408, 1704, 1, 0, 0, 0, 410, 1708, 1, 0, 0, 0, 412, 1712, 1, 0, 0, 0, 414, 1717, 1, 0, 0, 0, 416, 1723, 1, 0, 0, 0, 418, 1727, 1, 0, 0, 0, 420, 1731, 1, 0, 0, 0, 422, 1735, 1, 0, 0, 0, 424, 1740, 1, 0, 0, 0, 426, 1744, 1, 0, 0, 0, 428, 1748, 1, 0, 0, 0, 430, 1752, 1, 0, 0, 0, 432, 1756, 1, 0, 0, 0, 434, 1760, 1, 0, 0, 0, 436, 1766, 1, 0, 0, 0, 438, 1773, 1, 0, 0, 0, 440, 1777, 1, 0, 0, 0, 442, 1781, 1, 0, 0, 0, 444, 1785, 1, 0, 0, 0, 446, 1789, 1, 0, 0, 0, 448, 1793, 1, 0, 0, 0, 450, 1797, 1, 0, 0, 0, 452, 1802, 1, 0, 0, 0, 454, 1808, 1, 0, 0, 0, 456, 1812, 1, 0, 0, 0, 458, 1816, 1, 0, 0, 0, 460, 1820, 1, 0, 0, 0, 462, 1824, 1, 0, 0, 0, 464, 1828, 1, 0, 0, 0, 466, 1832, 1, 0, 0, 0, 468, 1836, 1, 0, 0, 0, 470, 1840, 1, 0, 0, 0, 472, 1844, 1, 0, 0, 0, 474, 1848, 1, 0, 0, 0, 476, 1852, 1, 0, 0, 0, 478, 1856, 1, 0, 0, 0, 480, 1861, 1, 0, 0, 0, 482, 1867, 1, 0, 0, 0, 484, 1871, 1, 0, 0, 0, 486, 1875, 1, 0, 0, 0, 488, 1879, 1, 0, 0, 0, 490, 1883, 1, 0, 0, 0, 492, 1887, 1, 0, 0, 0, 494, 1891, 1, 0, 0, 0, 496, 1895, 1, 0, 0, 0, 498, 1903, 1, 0, 0, 0, 500, 1924, 1, 0, 0, 0, 502, 1928, 1, 0, 0, 0, 504, 1932, 1, 0, 0, 0, 506, 1936, 1, 0, 0, 0, 508, 1940, 1, 0, 0, 0, 510, 1944, 1, 0, 0, 0, 512, 1949, 1, 0, 0, 0, 514, 1955, 1, 0, 0, 0, 516, 1959, 1, 0, 0, 0, 518, 1963, 1, 0, 0, 0, 520, 1967, 1, 0, 0, 0, 522, 1971, 1, 0, 0, 0, 524, 1975, 1, 0, 0, 0, 526, 1979, 1, 0, 0, 0, 528, 1983, 1, 0, 0, 0, 530, 1987, 1, 0, 0, 0, 532, 1991, 1, 0, 0, 0, 534, 1994, 1, 0, 0, 0, 536, 1998, 1, 0, 0, 0, 538, 2002, 1, 0, 0, 0, 540, 2006, 1, 0, 0, 0, 542, 2010, 1, 0, 0, 0, 544, 2014, 1, 0, 0, 0, 546, 2018, 1, 0, 0, 0, 548, 2022, 1, 0, 0, 0, 550, 2027, 1, 0, 0, 0, 552, 2031, 1, 0, 0, 0, 554, 2035, 1, 0, 0, 0, 556, 2039, 1, 0, 0, 0, 558, 2043, 1, 0, 0, 0, 560, 2047, 1, 0, 0, 0, 562, 2051, 1, 0, 0, 0, 564, 2055, 1, 0, 0, 0, 566, 2059, 1, 0, 0, 0, 568, 2063, 1, 0, 0, 0, 570, 2067, 1, 0, 0, 0, 572, 2071, 1, 0, 0, 0, 574, 2075, 1, 0, 0, 0, 576, 2079, 1, 0, 0, 0, 578, 2083, 1, 0, 0, 0, 580, 2087, 1, 0, 0, 0, 582, 2091, 1, 0, 0, 0, 584, 2095, 1, 0, 0, 0, 586, 2099, 1, 0, 0, 0, 588, 2104, 1, 0, 0, 0, 590, 2109, 1, 0, 0, 0, 592, 2113, 1, 0, 0, 0, 594, 2117, 1, 0, 0, 0, 596, 597, 5, 47, 0, 0, 597, 598, 5, 47, 0, 0, 598, 602, 1, 0, 0, 0, 599, 601, 8, 0, 0, 0, 600, 599, 1, 0, 0, 0, 601, 604, 1, 0, 0, 0, 602, 600, 1, 0, 0, 0, 602, 603, 1, 0, 0, 0, 603, 606, 1, 0, 0, 0, 604, 602, 1, 0, 0, 0, 605, 607, 5, 13, 0, 0, 606, 605, 1, 0, 0, 0, 606, 607, 1, 0, 0, 0, 607, 609, 1, 0, 0, 0, 608, 610, 5, 10, 0, 0, 609, 608, 1, 0, 0, 0, 609, 610, 1, 0, 0, 0, 610, 611, 1, 0, 0, 0, 611, 612, 6, 0, 0, 0, 612, 19, 1, 0, 0, 0, 613, 614, 5, 47, 0, 0, 614, 615, 5, 42, 0, 0, 615, 620, 1, 0, 0, 0, 616, 619, 3, 20, 1, 0, 617, 619, 9, 0, 0, 0, 618, 616, 1, 0, 0, 0, 618, 617, 1, 0, 0, 0, 619, 622, 1, 0, 0, 0, 620, 621, 1, 0, 0, 0, 620, 618, 1, 0, 0, 0, 621, 623, 1, 0, 0, 0, 622, 620, 1, 0, 0, 0, 623, 624, 5, 42, 0, 0, 624, 625, 5, 47, 0, 0, 625, 626, 1, 0, 0, 0, 626, 627, 6, 1, 0, 0, 627, 21, 1, 0, 0, 0, 628, 630, 7, 1, 0, 0, 629, 628, 1, 0, 0, 0, 630, 631, 1, 0, 0, 0, 631, 629, 1, 0, 0, 0, 631, 632, 1, 0, 0, 0, 632, 633, 1, 0, 0, 0, 633, 634, 6, 2, 0, 0, 634, 23, 1, 0, 0, 0, 635, 636, 7, 2, 0, 0, 636, 637, 7, 3, 0, 0, 637, 638, 7, 4, 0, 0, 638, 639, 7, 5, 0, 0, 639, 640, 7, 6, 0, 0, 640, 641, 7, 7, 0, 0, 641, 642, 5, 95, 0, 0, 642, 643, 7, 8, 0, 0, 643, 644, 7, 9, 0, 0, 644, 645, 7, 10, 0, 0, 645, 646, 7, 5, 0, 0, 646, 647, 7, 11, 0, 0, 647, 648, 1, 0, 0, 0, 648, 649, 6, 3, 1, 0, 649, 25, 1, 0, 0, 0, 650, 651, 7, 7, 0, 0, 651, 652, 7, 5, 0, 0, 652, 653, 7, 12, 0, 0, 653, 654, 7, 10, 0, 0, 654, 655, 7, 2, 0, 0, 655, 656, 7, 3, 0, 0, 656, 657, 1, 0, 0, 0, 657, 658, 6, 4, 2, 0, 658, 27, 1, 0, 0, 0, 659, 660, 4, 5, 0, 0, 660, 661, 7, 7, 0, 0, 661, 662, 7, 13, 0, 0, 662, 663, 7, 8, 0, 0, 663, 664, 7, 14, 0, 0, 664, 665, 7, 4, 0, 0, 665, 666, 7, 10, 0, 0, 666, 667, 7, 5, 0, 0, 667, 668, 1, 0, 0, 0, 668, 669, 6, 5, 3, 0, 669, 29, 1, 0, 0, 0, 670, 671, 7, 2, 0, 0, 671, 672, 7, 9, 0, 0, 672, 673, 7, 15, 0, 0, 673, 674, 7, 8, 0, 0, 674, 675, 7, 14, 0, 0, 675, 676, 7, 7, 0, 0, 676, 677, 7, 11, 0, 0, 677, 678, 7, 10, 0, 0, 678, 679, 7, 9, 0, 0, 679, 680, 7, 5, 0, 0, 680, 681, 1, 0, 0, 0, 681, 682, 6, 6, 4, 0, 682, 31, 1, 0, 0, 0, 683, 684, 7, 16, 0, 0, 684, 685, 7, 10, 0, 0, 685, 686, 7, 17, 0, 0, 686, 687, 7, 17, 0, 0, 687, 688, 7, 7, 0, 0, 688, 689, 7, 2, 0, 0, 689, 690, 7, 11, 0, 0, 690, 691, 1, 0, 0, 0, 691, 692, 6, 7, 4, 0, 692, 33, 1, 0, 0, 0, 693, 694, 7, 7, 0, 0, 694, 695, 7, 18, 0, 0, 695, 696, 7, 4, 0, 0, 696, 697, 7, 14, 0, 0, 697, 698, 1, 0, 0, 0, 698, 699, 6, 8, 4, 0, 699, 35, 1, 0, 0, 0, 700, 701, 7, 6, 0, 0, 701, 702, 7, 12, 0, 0, 702, 703, 7, 9, 0, 0, 703, 704, 7, 19, 0, 0, 704, 705, 1, 0, 0, 0, 705, 706, 6, 9, 4, 0, 706, 37, 1, 0, 0, 0, 707, 708, 7, 14, 0, 0, 708, 709, 7, 10, 0, 0, 709, 710, 7, 15, 0, 0, 710, 711, 7, 10, 0, 0, 711, 712, 7, 11, 0, 0, 712, 713, 1, 0, 0, 0, 713, 714, 6, 10, 4, 0, 714, 39, 1, 0, 0, 0, 715, 716, 7, 12, 0, 0, 716, 717, 7, 7, 0, 0, 717, 718, 7, 12, 0, 0, 718, 719, 7, 4, 0, 0, 719, 720, 7, 5, 0, 0, 720, 721, 7, 19, 0, 0, 721, 722, 1, 0, 0, 0, 722, 723, 6, 11, 4, 0, 723, 41, 1, 0, 0, 0, 724, 725, 7, 12, 0, 0, 725, 726, 7, 9, 0, 0, 726, 727, 7, 20, 0, 0, 727, 728, 1, 0, 0, 0, 728, 729, 6, 12, 4, 0, 729, 43, 1, 0, 0, 0, 730, 731, 7, 17, 0, 0, 731, 732, 7, 4, 0, 0, 732, 733, 7, 15, 0, 0, 733, 734, 7, 8, 0, 0, 734, 735, 7, 14, 0, 0, 735, 736, 7, 7, 0, 0, 736, 737, 1, 0, 0, 0, 737, 738, 6, 13, 4, 0, 738, 45, 1, 0, 0, 0, 739, 740, 7, 17, 0, 0, 740, 741, 7, 9, 0, 0, 741, 742, 7, 12, 0, 0, 742, 743, 7, 11, 0, 0, 743, 744, 1, 0, 0, 0, 744, 745, 6, 14, 4, 0, 745, 47, 1, 0, 0, 0, 746, 747, 7, 17, 0, 0, 747, 748, 7, 11, 0, 0, 748, 749, 7, 4, 0, 0, 749, 750, 7, 11, 0, 0, 750, 751, 7, 17, 0, 0, 751, 752, 1, 0, 0, 0, 752, 753, 6, 15, 4, 0, 753, 49, 1, 0, 0, 0, 754, 755, 7, 20, 0, 0, 755, 756, 7, 3, 0, 0, 756, 757, 7, 7, 0, 0, 757, 758, 7, 12, 0, 0, 758, 759, 7, 7, 0, 0, 759, 760, 1, 0, 0, 0, 760, 761, 6, 16, 4, 0, 761, 51, 1, 0, 0, 0, 762, 763, 7, 21, 0, 0, 763, 764, 7, 12, 0, 0, 764, 765, 7, 9, 0, 0, 765, 766, 7, 15, 0, 0, 766, 767, 1, 0, 0, 0, 767, 768, 6, 17, 5, 0, 768, 53, 1, 0, 0, 0, 769, 770, 7, 11, 0, 0, 770, 771, 7, 17, 0, 0, 771, 772, 1, 0, 0, 0, 772, 773, 6, 18, 5, 0, 773, 55, 1, 0, 0, 0, 774, 775, 7, 21, 0, 0, 775, 776, 7, 9, 0, 0, 776, 777, 7, 12, 0, 0, 777, 778, 7, 19, 0, 0, 778, 779, 1, 0, 0, 0, 779, 780, 6, 19, 6, 0, 780, 57, 1, 0, 0, 0, 781, 782, 4, 20, 1, 0, 782, 783, 7, 21, 0, 0, 783, 784, 7, 22, 0, 0, 784, 785, 7, 17, 0, 0, 785, 786, 7, 7, 0, 0, 786, 787, 1, 0, 0, 0, 787, 788, 6, 20, 7, 0, 788, 59, 1, 0, 0, 0, 789, 790, 7, 10, 0, 0, 790, 791, 7, 5, 0, 0, 791, 792, 7, 14, 0, 0, 792, 793, 7, 10, 0, 0, 793, 794, 7, 5, 0, 0, 794, 795, 7, 7, 0, 0, 795, 796, 1, 0, 0, 0, 796, 797, 6, 21, 8, 0, 797, 61, 1, 0, 0, 0, 798, 799, 7, 10, 0, 0, 799, 800, 7, 5, 0, 0, 800, 801, 7, 14, 0, 0, 801, 802, 7, 10, 0, 0, 802, 803, 7, 5, 0, 0, 803, 804, 7, 7, 0, 0, 804, 805, 7, 17, 0, 0, 805, 806, 7, 11, 0, 0, 806, 807, 7, 4, 0, 0, 807, 808, 7, 11, 0, 0, 808, 809, 7, 17, 0, 0, 809, 810, 1, 0, 0, 0, 810, 811, 6, 22, 4, 0, 811, 63, 1, 0, 0, 0, 812, 813, 7, 14, 0, 0, 813, 814, 7, 9, 0, 0, 814, 815, 7, 9, 0, 0, 815, 816, 7, 19, 0, 0, 816, 817, 7, 22, 0, 0, 817, 818, 7, 8, 0, 0, 818, 819, 1, 0, 0, 0, 819, 820, 6, 23, 9, 0, 820, 65, 1, 0, 0, 0, 821, 822, 4, 24, 2, 0, 822, 823, 7, 21, 0, 0, 823, 824, 7, 22, 0, 0, 824, 825, 7, 14, 0, 0, 825, 826, 7, 14, 0, 0, 826, 827, 1, 0, 0, 0, 827, 828, 6, 24, 9, 0, 828, 67, 1, 0, 0, 0, 829, 830, 4, 25, 3, 0, 830, 831, 7, 14, 0, 0, 831, 832, 7, 7, 0, 0, 832, 833, 7, 21, 0, 0, 833, 834, 7, 11, 0, 0, 834, 835, 1, 0, 0, 0, 835, 836, 6, 25, 9, 0, 836, 69, 1, 0, 0, 0, 837, 838, 4, 26, 4, 0, 838, 839, 7, 12, 0, 0, 839, 840, 7, 10, 0, 0, 840, 841, 7, 6, 0, 0, 841, 842, 7, 3, 0, 0, 842, 843, 7, 11, 0, 0, 843, 844, 1, 0, 0, 0, 844, 845, 6, 26, 9, 0, 845, 71, 1, 0, 0, 0, 846, 847, 4, 27, 5, 0, 847, 848, 7, 14, 0, 0, 848, 849, 7, 9, 0, 0, 849, 850, 7, 9, 0, 0, 850, 851, 7, 19, 0, 0, 851, 852, 7, 22, 0, 0, 852, 853, 7, 8, 0, 0, 853, 854, 5, 95, 0, 0, 854, 855, 5, 128020, 0, 0, 855, 856, 1, 0, 0, 0, 856, 857, 6, 27, 10, 0, 857, 73, 1, 0, 0, 0, 858, 859, 7, 15, 0, 0, 859, 860, 7, 18, 0, 0, 860, 861, 5, 95, 0, 0, 861, 862, 7, 7, 0, 0, 862, 863, 7, 13, 0, 0, 863, 864, 7, 8, 0, 0, 864, 865, 7, 4, 0, 0, 865, 866, 7, 5, 0, 0, 866, 867, 7, 16, 0, 0, 867, 868, 1, 0, 0, 0, 868, 869, 6, 28, 11, 0, 869, 75, 1, 0, 0, 0, 870, 871, 7, 16, 0, 0, 871, 872, 7, 12, 0, 0, 872, 873, 7, 9, 0, 0, 873, 874, 7, 8, 0, 0, 874, 875, 1, 0, 0, 0, 875, 876, 6, 29, 12, 0, 876, 77, 1, 0, 0, 0, 877, 878, 7, 19, 0, 0, 878, 879, 7, 7, 0, 0, 879, 880, 7, 7, 0, 0, 880, 881, 7, 8, 0, 0, 881, 882, 1, 0, 0, 0, 882, 883, 6, 30, 12, 0, 883, 79, 1, 0, 0, 0, 884, 885, 4, 31, 6, 0, 885, 886, 7, 10, 0, 0, 886, 887, 7, 5, 0, 0, 887, 888, 7, 17, 0, 0, 888, 889, 7, 10, 0, 0, 889, 890, 7, 17, 0, 0, 890, 891, 7, 11, 0, 0, 891, 892, 5, 95, 0, 0, 892, 893, 5, 128020, 0, 0, 893, 894, 1, 0, 0, 0, 894, 895, 6, 31, 12, 0, 895, 81, 1, 0, 0, 0, 896, 897, 7, 12, 0, 0, 897, 898, 7, 7, 0, 0, 898, 899, 7, 5, 0, 0, 899, 900, 7, 4, 0, 0, 900, 901, 7, 15, 0, 0, 901, 902, 7, 7, 0, 0, 902, 903, 1, 0, 0, 0, 903, 904, 6, 32, 13, 0, 904, 83, 1, 0, 0, 0, 905, 906, 7, 17, 0, 0, 906, 907, 7, 7, 0, 0, 907, 908, 7, 11, 0, 0, 908, 909, 1, 0, 0, 0, 909, 910, 6, 33, 14, 0, 910, 85, 1, 0, 0, 0, 911, 912, 7, 17, 0, 0, 912, 913, 7, 3, 0, 0, 913, 914, 7, 9, 0, 0, 914, 915, 7, 20, 0, 0, 915, 916, 1, 0, 0, 0, 916, 917, 6, 34, 15, 0, 917, 87, 1, 0, 0, 0, 918, 920, 8, 23, 0, 0, 919, 918, 1, 0, 0, 0, 920, 921, 1, 0, 0, 0, 921, 919, 1, 0, 0, 0, 921, 922, 1, 0, 0, 0, 922, 923, 1, 0, 0, 0, 923, 924, 6, 35, 4, 0, 924, 89, 1, 0, 0, 0, 925, 926, 3, 182, 82, 0, 926, 927, 1, 0, 0, 0, 927, 928, 6, 36, 16, 0, 928, 929, 6, 36, 17, 0, 929, 91, 1, 0, 0, 0, 930, 931, 3, 302, 142, 0, 931, 932, 1, 0, 0, 0, 932, 933, 6, 37, 18, 0, 933, 934, 6, 37, 17, 0, 934, 935, 6, 37, 17, 0, 935, 93, 1, 0, 0, 0, 936, 937, 3, 248, 115, 0, 937, 938, 1, 0, 0, 0, 938, 939, 6, 38, 19, 0, 939, 95, 1, 0, 0, 0, 940, 941, 3, 532, 257, 0, 941, 942, 1, 0, 0, 0, 942, 943, 6, 39, 20, 0, 943, 97, 1, 0, 0, 0, 944, 945, 3, 228, 105, 0, 945, 946, 1, 0, 0, 0, 946, 947, 6, 40, 21, 0, 947, 99, 1, 0, 0, 0, 948, 949, 3, 224, 103, 0, 949, 950, 1, 0, 0, 0, 950, 951, 6, 41, 22, 0, 951, 101, 1, 0, 0, 0, 952, 953, 3, 296, 139, 0, 953, 954, 1, 0, 0, 0, 954, 955, 6, 42, 23, 0, 955, 103, 1, 0, 0, 0, 956, 957, 3, 298, 140, 0, 957, 958, 1, 0, 0, 0, 958, 959, 6, 43, 24, 0, 959, 105, 1, 0, 0, 0, 960, 961, 3, 308, 145, 0, 961, 962, 1, 0, 0, 0, 962, 963, 6, 44, 25, 0, 963, 107, 1, 0, 0, 0, 964, 965, 3, 304, 143, 0, 965, 966, 1, 0, 0, 0, 966, 967, 6, 45, 26, 0, 967, 109, 1, 0, 0, 0, 968, 969, 3, 18, 0, 0, 969, 970, 1, 0, 0, 0, 970, 971, 6, 46, 0, 0, 971, 111, 1, 0, 0, 0, 972, 973, 3, 20, 1, 0, 973, 974, 1, 0, 0, 0, 974, 975, 6, 47, 0, 0, 975, 113, 1, 0, 0, 0, 976, 977, 3, 22, 2, 0, 977, 978, 1, 0, 0, 0, 978, 979, 6, 48, 0, 0, 979, 115, 1, 0, 0, 0, 980, 981, 3, 182, 82, 0, 981, 982, 1, 0, 0, 0, 982, 983, 6, 49, 16, 0, 983, 984, 6, 49, 17, 0, 984, 117, 1, 0, 0, 0, 985, 986, 3, 302, 142, 0, 986, 987, 1, 0, 0, 0, 987, 988, 6, 50, 18, 0, 988, 989, 6, 50, 17, 0, 989, 990, 6, 50, 17, 0, 990, 119, 1, 0, 0, 0, 991, 992, 3, 248, 115, 0, 992, 993, 1, 0, 0, 0, 993, 994, 6, 51, 19, 0, 994, 995, 6, 51, 27, 0, 995, 121, 1, 0, 0, 0, 996, 997, 3, 258, 120, 0, 997, 998, 1, 0, 0, 0, 998, 999, 6, 52, 28, 0, 999, 1000, 6, 52, 27, 0, 1000, 123, 1, 0, 0, 0, 1001, 1002, 8, 24, 0, 0, 1002, 125, 1, 0, 0, 0, 1003, 1005, 3, 124, 53, 0, 1004, 1003, 1, 0, 0, 0, 1005, 1006, 1, 0, 0, 0, 1006, 1004, 1, 0, 0, 0, 1006, 1007, 1, 0, 0, 0, 1007, 1008, 1, 0, 0, 0, 1008, 1009, 3, 220, 101, 0, 1009, 1011, 1, 0, 0, 0, 1010, 1004, 1, 0, 0, 0, 1010, 1011, 1, 0, 0, 0, 1011, 1013, 1, 0, 0, 0, 1012, 1014, 3, 124, 53, 0, 1013, 1012, 1, 0, 0, 0, 1014, 1015, 1, 0, 0, 0, 1015, 1013, 1, 0, 0, 0, 1015, 1016, 1, 0, 0, 0, 1016, 127, 1, 0, 0, 0, 1017, 1018, 3, 126, 54, 0, 1018, 1019, 1, 0, 0, 0, 1019, 1020, 6, 55, 29, 0, 1020, 129, 1, 0, 0, 0, 1021, 1022, 3, 204, 93, 0, 1022, 1023, 1, 0, 0, 0, 1023, 1024, 6, 56, 30, 0, 1024, 131, 1, 0, 0, 0, 1025, 1026, 3, 18, 0, 0, 1026, 1027, 1, 0, 0, 0, 1027, 1028, 6, 57, 0, 0, 1028, 133, 1, 0, 0, 0, 1029, 1030, 3, 20, 1, 0, 1030, 1031, 1, 0, 0, 0, 1031, 1032, 6, 58, 0, 0, 1032, 135, 1, 0, 0, 0, 1033, 1034, 3, 22, 2, 0, 1034, 1035, 1, 0, 0, 0, 1035, 1036, 6, 59, 0, 0, 1036, 137, 1, 0, 0, 0, 1037, 1038, 3, 182, 82, 0, 1038, 1039, 1, 0, 0, 0, 1039, 1040, 6, 60, 16, 0, 1040, 1041, 6, 60, 17, 0, 1041, 1042, 6, 60, 17, 0, 1042, 139, 1, 0, 0, 0, 1043, 1044, 3, 302, 142, 0, 1044, 1045, 1, 0, 0, 0, 1045, 1046, 6, 61, 18, 0, 1046, 1047, 6, 61, 17, 0, 1047, 1048, 6, 61, 17, 0, 1048, 1049, 6, 61, 17, 0, 1049, 141, 1, 0, 0, 0, 1050, 1051, 3, 296, 139, 0, 1051, 1052, 1, 0, 0, 0, 1052, 1053, 6, 62, 23, 0, 1053, 143, 1, 0, 0, 0, 1054, 1055, 3, 298, 140, 0, 1055, 1056, 1, 0, 0, 0, 1056, 1057, 6, 63, 24, 0, 1057, 145, 1, 0, 0, 0, 1058, 1059, 3, 214, 98, 0, 1059, 1060, 1, 0, 0, 0, 1060, 1061, 6, 64, 31, 0, 1061, 147, 1, 0, 0, 0, 1062, 1063, 3, 224, 103, 0, 1063, 1064, 1, 0, 0, 0, 1064, 1065, 6, 65, 22, 0, 1065, 149, 1, 0, 0, 0, 1066, 1067, 3, 228, 105, 0, 1067, 1068, 1, 0, 0, 0, 1068, 1069, 6, 66, 21, 0, 1069, 151, 1, 0, 0, 0, 1070, 1071, 3, 258, 120, 0, 1071, 1072, 1, 0, 0, 0, 1072, 1073, 6, 67, 28, 0, 1073, 153, 1, 0, 0, 0, 1074, 1075, 3, 502, 242, 0, 1075, 1076, 1, 0, 0, 0, 1076, 1077, 6, 68, 32, 0, 1077, 155, 1, 0, 0, 0, 1078, 1079, 3, 308, 145, 0, 1079, 1080, 1, 0, 0, 0, 1080, 1081, 6, 69, 25, 0, 1081, 157, 1, 0, 0, 0, 1082, 1083, 3, 252, 117, 0, 1083, 1084, 1, 0, 0, 0, 1084, 1085, 6, 70, 33, 0, 1085, 159, 1, 0, 0, 0, 1086, 1087, 3, 292, 137, 0, 1087, 1088, 1, 0, 0, 0, 1088, 1089, 6, 71, 34, 0, 1089, 161, 1, 0, 0, 0, 1090, 1091, 3, 288, 135, 0, 1091, 1092, 1, 0, 0, 0, 1092, 1093, 6, 72, 35, 0, 1093, 163, 1, 0, 0, 0, 1094, 1095, 3, 294, 138, 0, 1095, 1096, 1, 0, 0, 0, 1096, 1097, 6, 73, 36, 0, 1097, 165, 1, 0, 0, 0, 1098, 1099, 3, 18, 0, 0, 1099, 1100, 1, 0, 0, 0, 1100, 1101, 6, 74, 0, 0, 1101, 167, 1, 0, 0, 0, 1102, 1103, 3, 20, 1, 0, 1103, 1104, 1, 0, 0, 0, 1104, 1105, 6, 75, 0, 0, 1105, 169, 1, 0, 0, 0, 1106, 1107, 3, 22, 2, 0, 1107, 1108, 1, 0, 0, 0, 1108, 1109, 6, 76, 0, 0, 1109, 171, 1, 0, 0, 0, 1110, 1111, 3, 300, 141, 0, 1111, 1112, 1, 0, 0, 0, 1112, 1113, 6, 77, 37, 0, 1113, 1114, 6, 77, 38, 0, 1114, 173, 1, 0, 0, 0, 1115, 1116, 3, 182, 82, 0, 1116, 1117, 1, 0, 0, 0, 1117, 1118, 6, 78, 16, 0, 1118, 1119, 6, 78, 17, 0, 1119, 175, 1, 0, 0, 0, 1120, 1121, 3, 22, 2, 0, 1121, 1122, 1, 0, 0, 0, 1122, 1123, 6, 79, 0, 0, 1123, 177, 1, 0, 0, 0, 1124, 1125, 3, 18, 0, 0, 1125, 1126, 1, 0, 0, 0, 1126, 1127, 6, 80, 0, 0, 1127, 179, 1, 0, 0, 0, 1128, 1129, 3, 20, 1, 0, 1129, 1130, 1, 0, 0, 0, 1130, 1131, 6, 81, 0, 0, 1131, 181, 1, 0, 0, 0, 1132, 1133, 5, 124, 0, 0, 1133, 1134, 1, 0, 0, 0, 1134, 1135, 6, 82, 17, 0, 1135, 183, 1, 0, 0, 0, 1136, 1137, 7, 25, 0, 0, 1137, 185, 1, 0, 0, 0, 1138, 1139, 7, 26, 0, 0, 1139, 187, 1, 0, 0, 0, 1140, 1141, 5, 92, 0, 0, 1141, 1142, 7, 27, 0, 0, 1142, 189, 1, 0, 0, 0, 1143, 1144, 8, 28, 0, 0, 1144, 191, 1, 0, 0, 0, 1145, 1147, 7, 7, 0, 0, 1146, 1148, 7, 29, 0, 0, 1147, 1146, 1, 0, 0, 0, 1147, 1148, 1, 0, 0, 0, 1148, 1150, 1, 0, 0, 0, 1149, 1151, 3, 184, 83, 0, 1150, 1149, 1, 0, 0, 0, 1151, 1152, 1, 0, 0, 0, 1152, 1150, 1, 0, 0, 0, 1152, 1153, 1, 0, 0, 0, 1153, 193, 1, 0, 0, 0, 1154, 1155, 5, 64, 0, 0, 1155, 195, 1, 0, 0, 0, 1156, 1157, 5, 96, 0, 0, 1157, 197, 1, 0, 0, 0, 1158, 1162, 8, 30, 0, 0, 1159, 1160, 5, 96, 0, 0, 1160, 1162, 5, 96, 0, 0, 1161, 1158, 1, 0, 0, 0, 1161, 1159, 1, 0, 0, 0, 1162, 199, 1, 0, 0, 0, 1163, 1164, 5, 95, 0, 0, 1164, 201, 1, 0, 0, 0, 1165, 1169, 3, 186, 84, 0, 1166, 1169, 3, 184, 83, 0, 1167, 1169, 3, 200, 91, 0, 1168, 1165, 1, 0, 0, 0, 1168, 1166, 1, 0, 0, 0, 1168, 1167, 1, 0, 0, 0, 1169, 203, 1, 0, 0, 0, 1170, 1175, 5, 34, 0, 0, 1171, 1174, 3, 188, 85, 0, 1172, 1174, 3, 190, 86, 0, 1173, 1171, 1, 0, 0, 0, 1173, 1172, 1, 0, 0, 0, 1174, 1177, 1, 0, 0, 0, 1175, 1173, 1, 0, 0, 0, 1175, 1176, 1, 0, 0, 0, 1176, 1178, 1, 0, 0, 0, 1177, 1175, 1, 0, 0, 0, 1178, 1200, 5, 34, 0, 0, 1179, 1180, 5, 34, 0, 0, 1180, 1181, 5, 34, 0, 0, 1181, 1182, 5, 34, 0, 0, 1182, 1186, 1, 0, 0, 0, 1183, 1185, 8, 0, 0, 0, 1184, 1183, 1, 0, 0, 0, 1185, 1188, 1, 0, 0, 0, 1186, 1187, 1, 0, 0, 0, 1186, 1184, 1, 0, 0, 0, 1187, 1189, 1, 0, 0, 0, 1188, 1186, 1, 0, 0, 0, 1189, 1190, 5, 34, 0, 0, 1190, 1191, 5, 34, 0, 0, 1191, 1192, 5, 34, 0, 0, 1192, 1194, 1, 0, 0, 0, 1193, 1195, 5, 34, 0, 0, 1194, 1193, 1, 0, 0, 0, 1194, 1195, 1, 0, 0, 0, 1195, 1197, 1, 0, 0, 0, 1196, 1198, 5, 34, 0, 0, 1197, 1196, 1, 0, 0, 0, 1197, 1198, 1, 0, 0, 0, 1198, 1200, 1, 0, 0, 0, 1199, 1170, 1, 0, 0, 0, 1199, 1179, 1, 0, 0, 0, 1200, 205, 1, 0, 0, 0, 1201, 1203, 3, 184, 83, 0, 1202, 1201, 1, 0, 0, 0, 1203, 1204, 1, 0, 0, 0, 1204, 1202, 1, 0, 0, 0, 1204, 1205, 1, 0, 0, 0, 1205, 207, 1, 0, 0, 0, 1206, 1208, 3, 184, 83, 0, 1207, 1206, 1, 0, 0, 0, 1208, 1209, 1, 0, 0, 0, 1209, 1207, 1, 0, 0, 0, 1209, 1210, 1, 0, 0, 0, 1210, 1211, 1, 0, 0, 0, 1211, 1215, 3, 228, 105, 0, 1212, 1214, 3, 184, 83, 0, 1213, 1212, 1, 0, 0, 0, 1214, 1217, 1, 0, 0, 0, 1215, 1213, 1, 0, 0, 0, 1215, 1216, 1, 0, 0, 0, 1216, 1249, 1, 0, 0, 0, 1217, 1215, 1, 0, 0, 0, 1218, 1220, 3, 228, 105, 0, 1219, 1221, 3, 184, 83, 0, 1220, 1219, 1, 0, 0, 0, 1221, 1222, 1, 0, 0, 0, 1222, 1220, 1, 0, 0, 0, 1222, 1223, 1, 0, 0, 0, 1223, 1249, 1, 0, 0, 0, 1224, 1226, 3, 184, 83, 0, 1225, 1224, 1, 0, 0, 0, 1226, 1227, 1, 0, 0, 0, 1227, 1225, 1, 0, 0, 0, 1227, 1228, 1, 0, 0, 0, 1228, 1236, 1, 0, 0, 0, 1229, 1233, 3, 228, 105, 0, 1230, 1232, 3, 184, 83, 0, 1231, 1230, 1, 0, 0, 0, 1232, 1235, 1, 0, 0, 0, 1233, 1231, 1, 0, 0, 0, 1233, 1234, 1, 0, 0, 0, 1234, 1237, 1, 0, 0, 0, 1235, 1233, 1, 0, 0, 0, 1236, 1229, 1, 0, 0, 0, 1236, 1237, 1, 0, 0, 0, 1237, 1238, 1, 0, 0, 0, 1238, 1239, 3, 192, 87, 0, 1239, 1249, 1, 0, 0, 0, 1240, 1242, 3, 228, 105, 0, 1241, 1243, 3, 184, 83, 0, 1242, 1241, 1, 0, 0, 0, 1243, 1244, 1, 0, 0, 0, 1244, 1242, 1, 0, 0, 0, 1244, 1245, 1, 0, 0, 0, 1245, 1246, 1, 0, 0, 0, 1246, 1247, 3, 192, 87, 0, 1247, 1249, 1, 0, 0, 0, 1248, 1207, 1, 0, 0, 0, 1248, 1218, 1, 0, 0, 0, 1248, 1225, 1, 0, 0, 0, 1248, 1240, 1, 0, 0, 0, 1249, 209, 1, 0, 0, 0, 1250, 1251, 7, 4, 0, 0, 1251, 1252, 7, 5, 0, 0, 1252, 1253, 7, 16, 0, 0, 1253, 211, 1, 0, 0, 0, 1254, 1255, 7, 4, 0, 0, 1255, 1256, 7, 17, 0, 0, 1256, 1257, 7, 2, 0, 0, 1257, 213, 1, 0, 0, 0, 1258, 1259, 5, 61, 0, 0, 1259, 215, 1, 0, 0, 0, 1260, 1261, 7, 31, 0, 0, 1261, 1262, 7, 32, 0, 0, 1262, 217, 1, 0, 0, 0, 1263, 1264, 5, 58, 0, 0, 1264, 1265, 5, 58, 0, 0, 1265, 219, 1, 0, 0, 0, 1266, 1267, 5, 58, 0, 0, 1267, 221, 1, 0, 0, 0, 1268, 1269, 5, 59, 0, 0, 1269, 223, 1, 0, 0, 0, 1270, 1271, 5, 44, 0, 0, 1271, 225, 1, 0, 0, 0, 1272, 1273, 7, 16, 0, 0, 1273, 1274, 7, 7, 0, 0, 1274, 1275, 7, 17, 0, 0, 1275, 1276, 7, 2, 0, 0, 1276, 227, 1, 0, 0, 0, 1277, 1278, 5, 46, 0, 0, 1278, 229, 1, 0, 0, 0, 1279, 1280, 7, 21, 0, 0, 1280, 1281, 7, 4, 0, 0, 1281, 1282, 7, 14, 0, 0, 1282, 1283, 7, 17, 0, 0, 1283, 1284, 7, 7, 0, 0, 1284, 231, 1, 0, 0, 0, 1285, 1286, 7, 21, 0, 0, 1286, 1287, 7, 10, 0, 0, 1287, 1288, 7, 12, 0, 0, 1288, 1289, 7, 17, 0, 0, 1289, 1290, 7, 11, 0, 0, 1290, 233, 1, 0, 0, 0, 1291, 1292, 7, 10, 0, 0, 1292, 1293, 7, 5, 0, 0, 1293, 235, 1, 0, 0, 0, 1294, 1295, 7, 10, 0, 0, 1295, 1296, 7, 17, 0, 0, 1296, 237, 1, 0, 0, 0, 1297, 1298, 7, 14, 0, 0, 1298, 1299, 7, 4, 0, 0, 1299, 1300, 7, 17, 0, 0, 1300, 1301, 7, 11, 0, 0, 1301, 239, 1, 0, 0, 0, 1302, 1303, 7, 14, 0, 0, 1303, 1304, 7, 10, 0, 0, 1304, 1305, 7, 19, 0, 0, 1305, 1306, 7, 7, 0, 0, 1306, 241, 1, 0, 0, 0, 1307, 1308, 7, 5, 0, 0, 1308, 1309, 7, 9, 0, 0, 1309, 1310, 7, 11, 0, 0, 1310, 243, 1, 0, 0, 0, 1311, 1312, 7, 5, 0, 0, 1312, 1313, 7, 22, 0, 0, 1313, 1314, 7, 14, 0, 0, 1314, 1315, 7, 14, 0, 0, 1315, 245, 1, 0, 0, 0, 1316, 1317, 7, 5, 0, 0, 1317, 1318, 7, 22, 0, 0, 1318, 1319, 7, 14, 0, 0, 1319, 1320, 7, 14, 0, 0, 1320, 1321, 7, 17, 0, 0, 1321, 247, 1, 0, 0, 0, 1322, 1323, 7, 9, 0, 0, 1323, 1324, 7, 5, 0, 0, 1324, 249, 1, 0, 0, 0, 1325, 1326, 7, 9, 0, 0, 1326, 1327, 7, 12, 0, 0, 1327, 251, 1, 0, 0, 0, 1328, 1329, 5, 63, 0, 0, 1329, 253, 1, 0, 0, 0, 1330, 1331, 7, 12, 0, 0, 1331, 1332, 7, 14, 0, 0, 1332, 1333, 7, 10, 0, 0, 1333, 1334, 7, 19, 0, 0, 1334, 1335, 7, 7, 0, 0, 1335, 255, 1, 0, 0, 0, 1336, 1337, 7, 11, 0, 0, 1337, 1338, 7, 12, 0, 0, 1338, 1339, 7, 22, 0, 0, 1339, 1340, 7, 7, 0, 0, 1340, 257, 1, 0, 0, 0, 1341, 1342, 7, 20, 0, 0, 1342, 1343, 7, 10, 0, 0, 1343, 1344, 7, 11, 0, 0, 1344, 1345, 7, 3, 0, 0, 1345, 259, 1, 0, 0, 0, 1346, 1347, 5, 61, 0, 0, 1347, 1348, 5, 61, 0, 0, 1348, 261, 1, 0, 0, 0, 1349, 1350, 5, 61, 0, 0, 1350, 1351, 5, 126, 0, 0, 1351, 263, 1, 0, 0, 0, 1352, 1353, 5, 33, 0, 0, 1353, 1354, 5, 61, 0, 0, 1354, 265, 1, 0, 0, 0, 1355, 1356, 5, 60, 0, 0, 1356, 267, 1, 0, 0, 0, 1357, 1358, 5, 60, 0, 0, 1358, 1359, 5, 61, 0, 0, 1359, 269, 1, 0, 0, 0, 1360, 1361, 5, 62, 0, 0, 1361, 271, 1, 0, 0, 0, 1362, 1363, 5, 62, 0, 0, 1363, 1364, 5, 61, 0, 0, 1364, 273, 1, 0, 0, 0, 1365, 1366, 5, 43, 0, 0, 1366, 275, 1, 0, 0, 0, 1367, 1368, 5, 45, 0, 0, 1368, 277, 1, 0, 0, 0, 1369, 1370, 5, 42, 0, 0, 1370, 279, 1, 0, 0, 0, 1371, 1372, 5, 47, 0, 0, 1372, 281, 1, 0, 0, 0, 1373, 1374, 5, 37, 0, 0, 1374, 283, 1, 0, 0, 0, 1375, 1376, 5, 123, 0, 0, 1376, 285, 1, 0, 0, 0, 1377, 1378, 5, 125, 0, 0, 1378, 287, 1, 0, 0, 0, 1379, 1380, 5, 63, 0, 0, 1380, 1381, 5, 63, 0, 0, 1381, 289, 1, 0, 0, 0, 1382, 1383, 3, 50, 16, 0, 1383, 1384, 1, 0, 0, 0, 1384, 1385, 6, 136, 39, 0, 1385, 291, 1, 0, 0, 0, 1386, 1389, 3, 252, 117, 0, 1387, 1390, 3, 186, 84, 0, 1388, 1390, 3, 200, 91, 0, 1389, 1387, 1, 0, 0, 0, 1389, 1388, 1, 0, 0, 0, 1390, 1394, 1, 0, 0, 0, 1391, 1393, 3, 202, 92, 0, 1392, 1391, 1, 0, 0, 0, 1393, 1396, 1, 0, 0, 0, 1394, 1392, 1, 0, 0, 0, 1394, 1395, 1, 0, 0, 0, 1395, 1404, 1, 0, 0, 0, 1396, 1394, 1, 0, 0, 0, 1397, 1399, 3, 252, 117, 0, 1398, 1400, 3, 184, 83, 0, 1399, 1398, 1, 0, 0, 0, 1400, 1401, 1, 0, 0, 0, 1401, 1399, 1, 0, 0, 0, 1401, 1402, 1, 0, 0, 0, 1402, 1404, 1, 0, 0, 0, 1403, 1386, 1, 0, 0, 0, 1403, 1397, 1, 0, 0, 0, 1404, 293, 1, 0, 0, 0, 1405, 1408, 3, 288, 135, 0, 1406, 1409, 3, 186, 84, 0, 1407, 1409, 3, 200, 91, 0, 1408, 1406, 1, 0, 0, 0, 1408, 1407, 1, 0, 0, 0, 1409, 1413, 1, 0, 0, 0, 1410, 1412, 3, 202, 92, 0, 1411, 1410, 1, 0, 0, 0, 1412, 1415, 1, 0, 0, 0, 1413, 1411, 1, 0, 0, 0, 1413, 1414, 1, 0, 0, 0, 1414, 1423, 1, 0, 0, 0, 1415, 1413, 1, 0, 0, 0, 1416, 1418, 3, 288, 135, 0, 1417, 1419, 3, 184, 83, 0, 1418, 1417, 1, 0, 0, 0, 1419, 1420, 1, 0, 0, 0, 1420, 1418, 1, 0, 0, 0, 1420, 1421, 1, 0, 0, 0, 1421, 1423, 1, 0, 0, 0, 1422, 1405, 1, 0, 0, 0, 1422, 1416, 1, 0, 0, 0, 1423, 295, 1, 0, 0, 0, 1424, 1425, 5, 91, 0, 0, 1425, 1426, 1, 0, 0, 0, 1426, 1427, 6, 139, 4, 0, 1427, 1428, 6, 139, 4, 0, 1428, 297, 1, 0, 0, 0, 1429, 1430, 5, 93, 0, 0, 1430, 1431, 1, 0, 0, 0, 1431, 1432, 6, 140, 17, 0, 1432, 1433, 6, 140, 17, 0, 1433, 299, 1, 0, 0, 0, 1434, 1435, 5, 40, 0, 0, 1435, 1436, 1, 0, 0, 0, 1436, 1437, 6, 141, 4, 0, 1437, 1438, 6, 141, 4, 0, 1438, 301, 1, 0, 0, 0, 1439, 1440, 5, 41, 0, 0, 1440, 1441, 1, 0, 0, 0, 1441, 1442, 6, 142, 17, 0, 1442, 1443, 6, 142, 17, 0, 1443, 303, 1, 0, 0, 0, 1444, 1448, 3, 186, 84, 0, 1445, 1447, 3, 202, 92, 0, 1446, 1445, 1, 0, 0, 0, 1447, 1450, 1, 0, 0, 0, 1448, 1446, 1, 0, 0, 0, 1448, 1449, 1, 0, 0, 0, 1449, 1461, 1, 0, 0, 0, 1450, 1448, 1, 0, 0, 0, 1451, 1454, 3, 200, 91, 0, 1452, 1454, 3, 194, 88, 0, 1453, 1451, 1, 0, 0, 0, 1453, 1452, 1, 0, 0, 0, 1454, 1456, 1, 0, 0, 0, 1455, 1457, 3, 202, 92, 0, 1456, 1455, 1, 0, 0, 0, 1457, 1458, 1, 0, 0, 0, 1458, 1456, 1, 0, 0, 0, 1458, 1459, 1, 0, 0, 0, 1459, 1461, 1, 0, 0, 0, 1460, 1444, 1, 0, 0, 0, 1460, 1453, 1, 0, 0, 0, 1461, 305, 1, 0, 0, 0, 1462, 1464, 3, 196, 89, 0, 1463, 1465, 3, 198, 90, 0, 1464, 1463, 1, 0, 0, 0, 1465, 1466, 1, 0, 0, 0, 1466, 1464, 1, 0, 0, 0, 1466, 1467, 1, 0, 0, 0, 1467, 1468, 1, 0, 0, 0, 1468, 1469, 3, 196, 89, 0, 1469, 307, 1, 0, 0, 0, 1470, 1471, 3, 306, 144, 0, 1471, 309, 1, 0, 0, 0, 1472, 1473, 3, 18, 0, 0, 1473, 1474, 1, 0, 0, 0, 1474, 1475, 6, 146, 0, 0, 1475, 311, 1, 0, 0, 0, 1476, 1477, 3, 20, 1, 0, 1477, 1478, 1, 0, 0, 0, 1478, 1479, 6, 147, 0, 0, 1479, 313, 1, 0, 0, 0, 1480, 1481, 3, 22, 2, 0, 1481, 1482, 1, 0, 0, 0, 1482, 1483, 6, 148, 0, 0, 1483, 315, 1, 0, 0, 0, 1484, 1485, 3, 182, 82, 0, 1485, 1486, 1, 0, 0, 0, 1486, 1487, 6, 149, 16, 0, 1487, 1488, 6, 149, 17, 0, 1488, 317, 1, 0, 0, 0, 1489, 1490, 3, 220, 101, 0, 1490, 1491, 1, 0, 0, 0, 1491, 1492, 6, 150, 40, 0, 1492, 319, 1, 0, 0, 0, 1493, 1494, 3, 218, 100, 0, 1494, 1495, 1, 0, 0, 0, 1495, 1496, 6, 151, 41, 0, 1496, 321, 1, 0, 0, 0, 1497, 1498, 3, 224, 103, 0, 1498, 1499, 1, 0, 0, 0, 1499, 1500, 6, 152, 22, 0, 1500, 323, 1, 0, 0, 0, 1501, 1502, 3, 214, 98, 0, 1502, 1503, 1, 0, 0, 0, 1503, 1504, 6, 153, 31, 0, 1504, 325, 1, 0, 0, 0, 1505, 1506, 7, 15, 0, 0, 1506, 1507, 7, 7, 0, 0, 1507, 1508, 7, 11, 0, 0, 1508, 1509, 7, 4, 0, 0, 1509, 1510, 7, 16, 0, 0, 1510, 1511, 7, 4, 0, 0, 1511, 1512, 7, 11, 0, 0, 1512, 1513, 7, 4, 0, 0, 1513, 327, 1, 0, 0, 0, 1514, 1515, 3, 302, 142, 0, 1515, 1516, 1, 0, 0, 0, 1516, 1517, 6, 155, 18, 0, 1517, 1518, 6, 155, 17, 0, 1518, 329, 1, 0, 0, 0, 1519, 1523, 8, 33, 0, 0, 1520, 1521, 5, 47, 0, 0, 1521, 1523, 8, 34, 0, 0, 1522, 1519, 1, 0, 0, 0, 1522, 1520, 1, 0, 0, 0, 1523, 331, 1, 0, 0, 0, 1524, 1526, 3, 330, 156, 0, 1525, 1524, 1, 0, 0, 0, 1526, 1527, 1, 0, 0, 0, 1527, 1525, 1, 0, 0, 0, 1527, 1528, 1, 0, 0, 0, 1528, 333, 1, 0, 0, 0, 1529, 1530, 3, 332, 157, 0, 1530, 1531, 1, 0, 0, 0, 1531, 1532, 6, 158, 42, 0, 1532, 335, 1, 0, 0, 0, 1533, 1534, 3, 204, 93, 0, 1534, 1535, 1, 0, 0, 0, 1535, 1536, 6, 159, 30, 0, 1536, 337, 1, 0, 0, 0, 1537, 1538, 3, 18, 0, 0, 1538, 1539, 1, 0, 0, 0, 1539, 1540, 6, 160, 0, 0, 1540, 339, 1, 0, 0, 0, 1541, 1542, 3, 20, 1, 0, 1542, 1543, 1, 0, 0, 0, 1543, 1544, 6, 161, 0, 0, 1544, 341, 1, 0, 0, 0, 1545, 1546, 3, 22, 2, 0, 1546, 1547, 1, 0, 0, 0, 1547, 1548, 6, 162, 0, 0, 1548, 343, 1, 0, 0, 0, 1549, 1550, 3, 300, 141, 0, 1550, 1551, 1, 0, 0, 0, 1551, 1552, 6, 163, 37, 0, 1552, 1553, 6, 163, 38, 0, 1553, 345, 1, 0, 0, 0, 1554, 1555, 3, 302, 142, 0, 1555, 1556, 1, 0, 0, 0, 1556, 1557, 6, 164, 18, 0, 1557, 1558, 6, 164, 17, 0, 1558, 1559, 6, 164, 17, 0, 1559, 347, 1, 0, 0, 0, 1560, 1561, 3, 182, 82, 0, 1561, 1562, 1, 0, 0, 0, 1562, 1563, 6, 165, 16, 0, 1563, 1564, 6, 165, 17, 0, 1564, 349, 1, 0, 0, 0, 1565, 1566, 3, 22, 2, 0, 1566, 1567, 1, 0, 0, 0, 1567, 1568, 6, 166, 0, 0, 1568, 351, 1, 0, 0, 0, 1569, 1570, 3, 18, 0, 0, 1570, 1571, 1, 0, 0, 0, 1571, 1572, 6, 167, 0, 0, 1572, 353, 1, 0, 0, 0, 1573, 1574, 3, 20, 1, 0, 1574, 1575, 1, 0, 0, 0, 1575, 1576, 6, 168, 0, 0, 1576, 355, 1, 0, 0, 0, 1577, 1578, 3, 182, 82, 0, 1578, 1579, 1, 0, 0, 0, 1579, 1580, 6, 169, 16, 0, 1580, 1581, 6, 169, 17, 0, 1581, 357, 1, 0, 0, 0, 1582, 1583, 3, 302, 142, 0, 1583, 1584, 1, 0, 0, 0, 1584, 1585, 6, 170, 18, 0, 1585, 1586, 6, 170, 17, 0, 1586, 1587, 6, 170, 17, 0, 1587, 359, 1, 0, 0, 0, 1588, 1589, 7, 6, 0, 0, 1589, 1590, 7, 12, 0, 0, 1590, 1591, 7, 9, 0, 0, 1591, 1592, 7, 22, 0, 0, 1592, 1593, 7, 8, 0, 0, 1593, 361, 1, 0, 0, 0, 1594, 1595, 7, 17, 0, 0, 1595, 1596, 7, 2, 0, 0, 1596, 1597, 7, 9, 0, 0, 1597, 1598, 7, 12, 0, 0, 1598, 1599, 7, 7, 0, 0, 1599, 363, 1, 0, 0, 0, 1600, 1601, 7, 19, 0, 0, 1601, 1602, 7, 7, 0, 0, 1602, 1603, 7, 32, 0, 0, 1603, 365, 1, 0, 0, 0, 1604, 1605, 3, 258, 120, 0, 1605, 1606, 1, 0, 0, 0, 1606, 1607, 6, 174, 28, 0, 1607, 1608, 6, 174, 17, 0, 1608, 1609, 6, 174, 4, 0, 1609, 367, 1, 0, 0, 0, 1610, 1611, 3, 224, 103, 0, 1611, 1612, 1, 0, 0, 0, 1612, 1613, 6, 175, 22, 0, 1613, 369, 1, 0, 0, 0, 1614, 1615, 3, 216, 99, 0, 1615, 1616, 1, 0, 0, 0, 1616, 1617, 6, 176, 43, 0, 1617, 371, 1, 0, 0, 0, 1618, 1619, 3, 308, 145, 0, 1619, 1620, 1, 0, 0, 0, 1620, 1621, 6, 177, 25, 0, 1621, 373, 1, 0, 0, 0, 1622, 1623, 3, 304, 143, 0, 1623, 1624, 1, 0, 0, 0, 1624, 1625, 6, 178, 26, 0, 1625, 375, 1, 0, 0, 0, 1626, 1627, 3, 18, 0, 0, 1627, 1628, 1, 0, 0, 0, 1628, 1629, 6, 179, 0, 0, 1629, 377, 1, 0, 0, 0, 1630, 1631, 3, 20, 1, 0, 1631, 1632, 1, 0, 0, 0, 1632, 1633, 6, 180, 0, 0, 1633, 379, 1, 0, 0, 0, 1634, 1635, 3, 22, 2, 0, 1635, 1636, 1, 0, 0, 0, 1636, 1637, 6, 181, 0, 0, 1637, 381, 1, 0, 0, 0, 1638, 1639, 7, 17, 0, 0, 1639, 1640, 7, 11, 0, 0, 1640, 1641, 7, 4, 0, 0, 1641, 1642, 7, 11, 0, 0, 1642, 1643, 7, 17, 0, 0, 1643, 1644, 1, 0, 0, 0, 1644, 1645, 6, 182, 17, 0, 1645, 1646, 6, 182, 4, 0, 1646, 383, 1, 0, 0, 0, 1647, 1648, 3, 18, 0, 0, 1648, 1649, 1, 0, 0, 0, 1649, 1650, 6, 183, 0, 0, 1650, 385, 1, 0, 0, 0, 1651, 1652, 3, 20, 1, 0, 1652, 1653, 1, 0, 0, 0, 1653, 1654, 6, 184, 0, 0, 1654, 387, 1, 0, 0, 0, 1655, 1656, 3, 22, 2, 0, 1656, 1657, 1, 0, 0, 0, 1657, 1658, 6, 185, 0, 0, 1658, 389, 1, 0, 0, 0, 1659, 1660, 3, 182, 82, 0, 1660, 1661, 1, 0, 0, 0, 1661, 1662, 6, 186, 16, 0, 1662, 1663, 6, 186, 17, 0, 1663, 391, 1, 0, 0, 0, 1664, 1665, 7, 35, 0, 0, 1665, 1666, 7, 9, 0, 0, 1666, 1667, 7, 10, 0, 0, 1667, 1668, 7, 5, 0, 0, 1668, 393, 1, 0, 0, 0, 1669, 1670, 3, 532, 257, 0, 1670, 1671, 1, 0, 0, 0, 1671, 1672, 6, 188, 20, 0, 1672, 395, 1, 0, 0, 0, 1673, 1674, 3, 248, 115, 0, 1674, 1675, 1, 0, 0, 0, 1675, 1676, 6, 189, 19, 0, 1676, 1677, 6, 189, 17, 0, 1677, 1678, 6, 189, 4, 0, 1678, 397, 1, 0, 0, 0, 1679, 1680, 7, 22, 0, 0, 1680, 1681, 7, 17, 0, 0, 1681, 1682, 7, 10, 0, 0, 1682, 1683, 7, 5, 0, 0, 1683, 1684, 7, 6, 0, 0, 1684, 1685, 1, 0, 0, 0, 1685, 1686, 6, 190, 17, 0, 1686, 1687, 6, 190, 4, 0, 1687, 399, 1, 0, 0, 0, 1688, 1689, 3, 332, 157, 0, 1689, 1690, 1, 0, 0, 0, 1690, 1691, 6, 191, 42, 0, 1691, 401, 1, 0, 0, 0, 1692, 1693, 3, 204, 93, 0, 1693, 1694, 1, 0, 0, 0, 1694, 1695, 6, 192, 30, 0, 1695, 403, 1, 0, 0, 0, 1696, 1697, 3, 220, 101, 0, 1697, 1698, 1, 0, 0, 0, 1698, 1699, 6, 193, 40, 0, 1699, 405, 1, 0, 0, 0, 1700, 1701, 3, 18, 0, 0, 1701, 1702, 1, 0, 0, 0, 1702, 1703, 6, 194, 0, 0, 1703, 407, 1, 0, 0, 0, 1704, 1705, 3, 20, 1, 0, 1705, 1706, 1, 0, 0, 0, 1706, 1707, 6, 195, 0, 0, 1707, 409, 1, 0, 0, 0, 1708, 1709, 3, 22, 2, 0, 1709, 1710, 1, 0, 0, 0, 1710, 1711, 6, 196, 0, 0, 1711, 411, 1, 0, 0, 0, 1712, 1713, 3, 182, 82, 0, 1713, 1714, 1, 0, 0, 0, 1714, 1715, 6, 197, 16, 0, 1715, 1716, 6, 197, 17, 0, 1716, 413, 1, 0, 0, 0, 1717, 1718, 3, 302, 142, 0, 1718, 1719, 1, 0, 0, 0, 1719, 1720, 6, 198, 18, 0, 1720, 1721, 6, 198, 17, 0, 1721, 1722, 6, 198, 17, 0, 1722, 415, 1, 0, 0, 0, 1723, 1724, 3, 220, 101, 0, 1724, 1725, 1, 0, 0, 0, 1725, 1726, 6, 199, 40, 0, 1726, 417, 1, 0, 0, 0, 1727, 1728, 3, 224, 103, 0, 1728, 1729, 1, 0, 0, 0, 1729, 1730, 6, 200, 22, 0, 1730, 419, 1, 0, 0, 0, 1731, 1732, 3, 228, 105, 0, 1732, 1733, 1, 0, 0, 0, 1733, 1734, 6, 201, 21, 0, 1734, 421, 1, 0, 0, 0, 1735, 1736, 3, 248, 115, 0, 1736, 1737, 1, 0, 0, 0, 1737, 1738, 6, 202, 19, 0, 1738, 1739, 6, 202, 44, 0, 1739, 423, 1, 0, 0, 0, 1740, 1741, 3, 332, 157, 0, 1741, 1742, 1, 0, 0, 0, 1742, 1743, 6, 203, 42, 0, 1743, 425, 1, 0, 0, 0, 1744, 1745, 3, 204, 93, 0, 1745, 1746, 1, 0, 0, 0, 1746, 1747, 6, 204, 30, 0, 1747, 427, 1, 0, 0, 0, 1748, 1749, 3, 18, 0, 0, 1749, 1750, 1, 0, 0, 0, 1750, 1751, 6, 205, 0, 0, 1751, 429, 1, 0, 0, 0, 1752, 1753, 3, 20, 1, 0, 1753, 1754, 1, 0, 0, 0, 1754, 1755, 6, 206, 0, 0, 1755, 431, 1, 0, 0, 0, 1756, 1757, 3, 22, 2, 0, 1757, 1758, 1, 0, 0, 0, 1758, 1759, 6, 207, 0, 0, 1759, 433, 1, 0, 0, 0, 1760, 1761, 3, 182, 82, 0, 1761, 1762, 1, 0, 0, 0, 1762, 1763, 6, 208, 16, 0, 1763, 1764, 6, 208, 17, 0, 1764, 1765, 6, 208, 17, 0, 1765, 435, 1, 0, 0, 0, 1766, 1767, 3, 302, 142, 0, 1767, 1768, 1, 0, 0, 0, 1768, 1769, 6, 209, 18, 0, 1769, 1770, 6, 209, 17, 0, 1770, 1771, 6, 209, 17, 0, 1771, 1772, 6, 209, 17, 0, 1772, 437, 1, 0, 0, 0, 1773, 1774, 3, 224, 103, 0, 1774, 1775, 1, 0, 0, 0, 1775, 1776, 6, 210, 22, 0, 1776, 439, 1, 0, 0, 0, 1777, 1778, 3, 228, 105, 0, 1778, 1779, 1, 0, 0, 0, 1779, 1780, 6, 211, 21, 0, 1780, 441, 1, 0, 0, 0, 1781, 1782, 3, 502, 242, 0, 1782, 1783, 1, 0, 0, 0, 1783, 1784, 6, 212, 32, 0, 1784, 443, 1, 0, 0, 0, 1785, 1786, 3, 18, 0, 0, 1786, 1787, 1, 0, 0, 0, 1787, 1788, 6, 213, 0, 0, 1788, 445, 1, 0, 0, 0, 1789, 1790, 3, 20, 1, 0, 1790, 1791, 1, 0, 0, 0, 1791, 1792, 6, 214, 0, 0, 1792, 447, 1, 0, 0, 0, 1793, 1794, 3, 22, 2, 0, 1794, 1795, 1, 0, 0, 0, 1795, 1796, 6, 215, 0, 0, 1796, 449, 1, 0, 0, 0, 1797, 1798, 3, 182, 82, 0, 1798, 1799, 1, 0, 0, 0, 1799, 1800, 6, 216, 16, 0, 1800, 1801, 6, 216, 17, 0, 1801, 451, 1, 0, 0, 0, 1802, 1803, 3, 302, 142, 0, 1803, 1804, 1, 0, 0, 0, 1804, 1805, 6, 217, 18, 0, 1805, 1806, 6, 217, 17, 0, 1806, 1807, 6, 217, 17, 0, 1807, 453, 1, 0, 0, 0, 1808, 1809, 3, 296, 139, 0, 1809, 1810, 1, 0, 0, 0, 1810, 1811, 6, 218, 23, 0, 1811, 455, 1, 0, 0, 0, 1812, 1813, 3, 298, 140, 0, 1813, 1814, 1, 0, 0, 0, 1814, 1815, 6, 219, 24, 0, 1815, 457, 1, 0, 0, 0, 1816, 1817, 3, 228, 105, 0, 1817, 1818, 1, 0, 0, 0, 1818, 1819, 6, 220, 21, 0, 1819, 459, 1, 0, 0, 0, 1820, 1821, 3, 252, 117, 0, 1821, 1822, 1, 0, 0, 0, 1822, 1823, 6, 221, 33, 0, 1823, 461, 1, 0, 0, 0, 1824, 1825, 3, 292, 137, 0, 1825, 1826, 1, 0, 0, 0, 1826, 1827, 6, 222, 34, 0, 1827, 463, 1, 0, 0, 0, 1828, 1829, 3, 288, 135, 0, 1829, 1830, 1, 0, 0, 0, 1830, 1831, 6, 223, 35, 0, 1831, 465, 1, 0, 0, 0, 1832, 1833, 3, 294, 138, 0, 1833, 1834, 1, 0, 0, 0, 1834, 1835, 6, 224, 36, 0, 1835, 467, 1, 0, 0, 0, 1836, 1837, 3, 308, 145, 0, 1837, 1838, 1, 0, 0, 0, 1838, 1839, 6, 225, 25, 0, 1839, 469, 1, 0, 0, 0, 1840, 1841, 3, 304, 143, 0, 1841, 1842, 1, 0, 0, 0, 1842, 1843, 6, 226, 26, 0, 1843, 471, 1, 0, 0, 0, 1844, 1845, 3, 18, 0, 0, 1845, 1846, 1, 0, 0, 0, 1846, 1847, 6, 227, 0, 0, 1847, 473, 1, 0, 0, 0, 1848, 1849, 3, 20, 1, 0, 1849, 1850, 1, 0, 0, 0, 1850, 1851, 6, 228, 0, 0, 1851, 475, 1, 0, 0, 0, 1852, 1853, 3, 22, 2, 0, 1853, 1854, 1, 0, 0, 0, 1854, 1855, 6, 229, 0, 0, 1855, 477, 1, 0, 0, 0, 1856, 1857, 3, 182, 82, 0, 1857, 1858, 1, 0, 0, 0, 1858, 1859, 6, 230, 16, 0, 1859, 1860, 6, 230, 17, 0, 1860, 479, 1, 0, 0, 0, 1861, 1862, 3, 302, 142, 0, 1862, 1863, 1, 0, 0, 0, 1863, 1864, 6, 231, 18, 0, 1864, 1865, 6, 231, 17, 0, 1865, 1866, 6, 231, 17, 0, 1866, 481, 1, 0, 0, 0, 1867, 1868, 3, 228, 105, 0, 1868, 1869, 1, 0, 0, 0, 1869, 1870, 6, 232, 21, 0, 1870, 483, 1, 0, 0, 0, 1871, 1872, 3, 296, 139, 0, 1872, 1873, 1, 0, 0, 0, 1873, 1874, 6, 233, 23, 0, 1874, 485, 1, 0, 0, 0, 1875, 1876, 3, 298, 140, 0, 1876, 1877, 1, 0, 0, 0, 1877, 1878, 6, 234, 24, 0, 1878, 487, 1, 0, 0, 0, 1879, 1880, 3, 224, 103, 0, 1880, 1881, 1, 0, 0, 0, 1881, 1882, 6, 235, 22, 0, 1882, 489, 1, 0, 0, 0, 1883, 1884, 3, 252, 117, 0, 1884, 1885, 1, 0, 0, 0, 1885, 1886, 6, 236, 33, 0, 1886, 491, 1, 0, 0, 0, 1887, 1888, 3, 292, 137, 0, 1888, 1889, 1, 0, 0, 0, 1889, 1890, 6, 237, 34, 0, 1890, 493, 1, 0, 0, 0, 1891, 1892, 3, 288, 135, 0, 1892, 1893, 1, 0, 0, 0, 1893, 1894, 6, 238, 35, 0, 1894, 495, 1, 0, 0, 0, 1895, 1896, 3, 294, 138, 0, 1896, 1897, 1, 0, 0, 0, 1897, 1898, 6, 239, 36, 0, 1898, 497, 1, 0, 0, 0, 1899, 1904, 3, 186, 84, 0, 1900, 1904, 3, 184, 83, 0, 1901, 1904, 3, 200, 91, 0, 1902, 1904, 3, 278, 130, 0, 1903, 1899, 1, 0, 0, 0, 1903, 1900, 1, 0, 0, 0, 1903, 1901, 1, 0, 0, 0, 1903, 1902, 1, 0, 0, 0, 1904, 499, 1, 0, 0, 0, 1905, 1908, 3, 186, 84, 0, 1906, 1908, 3, 278, 130, 0, 1907, 1905, 1, 0, 0, 0, 1907, 1906, 1, 0, 0, 0, 1908, 1912, 1, 0, 0, 0, 1909, 1911, 3, 498, 240, 0, 1910, 1909, 1, 0, 0, 0, 1911, 1914, 1, 0, 0, 0, 1912, 1910, 1, 0, 0, 0, 1912, 1913, 1, 0, 0, 0, 1913, 1925, 1, 0, 0, 0, 1914, 1912, 1, 0, 0, 0, 1915, 1918, 3, 200, 91, 0, 1916, 1918, 3, 194, 88, 0, 1917, 1915, 1, 0, 0, 0, 1917, 1916, 1, 0, 0, 0, 1918, 1920, 1, 0, 0, 0, 1919, 1921, 3, 498, 240, 0, 1920, 1919, 1, 0, 0, 0, 1921, 1922, 1, 0, 0, 0, 1922, 1920, 1, 0, 0, 0, 1922, 1923, 1, 0, 0, 0, 1923, 1925, 1, 0, 0, 0, 1924, 1907, 1, 0, 0, 0, 1924, 1917, 1, 0, 0, 0, 1925, 501, 1, 0, 0, 0, 1926, 1929, 3, 500, 241, 0, 1927, 1929, 3, 306, 144, 0, 1928, 1926, 1, 0, 0, 0, 1928, 1927, 1, 0, 0, 0, 1929, 1930, 1, 0, 0, 0, 1930, 1928, 1, 0, 0, 0, 1930, 1931, 1, 0, 0, 0, 1931, 503, 1, 0, 0, 0, 1932, 1933, 3, 18, 0, 0, 1933, 1934, 1, 0, 0, 0, 1934, 1935, 6, 243, 0, 0, 1935, 505, 1, 0, 0, 0, 1936, 1937, 3, 20, 1, 0, 1937, 1938, 1, 0, 0, 0, 1938, 1939, 6, 244, 0, 0, 1939, 507, 1, 0, 0, 0, 1940, 1941, 3, 22, 2, 0, 1941, 1942, 1, 0, 0, 0, 1942, 1943, 6, 245, 0, 0, 1943, 509, 1, 0, 0, 0, 1944, 1945, 3, 182, 82, 0, 1945, 1946, 1, 0, 0, 0, 1946, 1947, 6, 246, 16, 0, 1947, 1948, 6, 246, 17, 0, 1948, 511, 1, 0, 0, 0, 1949, 1950, 3, 302, 142, 0, 1950, 1951, 1, 0, 0, 0, 1951, 1952, 6, 247, 18, 0, 1952, 1953, 6, 247, 17, 0, 1953, 1954, 6, 247, 17, 0, 1954, 513, 1, 0, 0, 0, 1955, 1956, 3, 296, 139, 0, 1956, 1957, 1, 0, 0, 0, 1957, 1958, 6, 248, 23, 0, 1958, 515, 1, 0, 0, 0, 1959, 1960, 3, 298, 140, 0, 1960, 1961, 1, 0, 0, 0, 1961, 1962, 6, 249, 24, 0, 1962, 517, 1, 0, 0, 0, 1963, 1964, 3, 214, 98, 0, 1964, 1965, 1, 0, 0, 0, 1965, 1966, 6, 250, 31, 0, 1966, 519, 1, 0, 0, 0, 1967, 1968, 3, 224, 103, 0, 1968, 1969, 1, 0, 0, 0, 1969, 1970, 6, 251, 22, 0, 1970, 521, 1, 0, 0, 0, 1971, 1972, 3, 228, 105, 0, 1972, 1973, 1, 0, 0, 0, 1973, 1974, 6, 252, 21, 0, 1974, 523, 1, 0, 0, 0, 1975, 1976, 3, 252, 117, 0, 1976, 1977, 1, 0, 0, 0, 1977, 1978, 6, 253, 33, 0, 1978, 525, 1, 0, 0, 0, 1979, 1980, 3, 292, 137, 0, 1980, 1981, 1, 0, 0, 0, 1981, 1982, 6, 254, 34, 0, 1982, 527, 1, 0, 0, 0, 1983, 1984, 3, 288, 135, 0, 1984, 1985, 1, 0, 0, 0, 1985, 1986, 6, 255, 35, 0, 1986, 529, 1, 0, 0, 0, 1987, 1988, 3, 294, 138, 0, 1988, 1989, 1, 0, 0, 0, 1989, 1990, 6, 256, 36, 0, 1990, 531, 1, 0, 0, 0, 1991, 1992, 7, 4, 0, 0, 1992, 1993, 7, 17, 0, 0, 1993, 533, 1, 0, 0, 0, 1994, 1995, 3, 502, 242, 0, 1995, 1996, 1, 0, 0, 0, 1996, 1997, 6, 258, 32, 0, 1997, 535, 1, 0, 0, 0, 1998, 1999, 3, 18, 0, 0, 1999, 2000, 1, 0, 0, 0, 2000, 2001, 6, 259, 0, 0, 2001, 537, 1, 0, 0, 0, 2002, 2003, 3, 20, 1, 0, 2003, 2004, 1, 0, 0, 0, 2004, 2005, 6, 260, 0, 0, 2005, 539, 1, 0, 0, 0, 2006, 2007, 3, 22, 2, 0, 2007, 2008, 1, 0, 0, 0, 2008, 2009, 6, 261, 0, 0, 2009, 541, 1, 0, 0, 0, 2010, 2011, 3, 256, 119, 0, 2011, 2012, 1, 0, 0, 0, 2012, 2013, 6, 262, 45, 0, 2013, 543, 1, 0, 0, 0, 2014, 2015, 3, 230, 106, 0, 2015, 2016, 1, 0, 0, 0, 2016, 2017, 6, 263, 46, 0, 2017, 545, 1, 0, 0, 0, 2018, 2019, 3, 244, 113, 0, 2019, 2020, 1, 0, 0, 0, 2020, 2021, 6, 264, 47, 0, 2021, 547, 1, 0, 0, 0, 2022, 2023, 3, 222, 102, 0, 2023, 2024, 1, 0, 0, 0, 2024, 2025, 6, 265, 48, 0, 2025, 2026, 6, 265, 17, 0, 2026, 549, 1, 0, 0, 0, 2027, 2028, 3, 214, 98, 0, 2028, 2029, 1, 0, 0, 0, 2029, 2030, 6, 266, 31, 0, 2030, 551, 1, 0, 0, 0, 2031, 2032, 3, 204, 93, 0, 2032, 2033, 1, 0, 0, 0, 2033, 2034, 6, 267, 30, 0, 2034, 553, 1, 0, 0, 0, 2035, 2036, 3, 304, 143, 0, 2036, 2037, 1, 0, 0, 0, 2037, 2038, 6, 268, 26, 0, 2038, 555, 1, 0, 0, 0, 2039, 2040, 3, 308, 145, 0, 2040, 2041, 1, 0, 0, 0, 2041, 2042, 6, 269, 25, 0, 2042, 557, 1, 0, 0, 0, 2043, 2044, 3, 208, 95, 0, 2044, 2045, 1, 0, 0, 0, 2045, 2046, 6, 270, 49, 0, 2046, 559, 1, 0, 0, 0, 2047, 2048, 3, 206, 94, 0, 2048, 2049, 1, 0, 0, 0, 2049, 2050, 6, 271, 50, 0, 2050, 561, 1, 0, 0, 0, 2051, 2052, 3, 224, 103, 0, 2052, 2053, 1, 0, 0, 0, 2053, 2054, 6, 272, 22, 0, 2054, 563, 1, 0, 0, 0, 2055, 2056, 3, 228, 105, 0, 2056, 2057, 1, 0, 0, 0, 2057, 2058, 6, 273, 21, 0, 2058, 565, 1, 0, 0, 0, 2059, 2060, 3, 252, 117, 0, 2060, 2061, 1, 0, 0, 0, 2061, 2062, 6, 274, 33, 0, 2062, 567, 1, 0, 0, 0, 2063, 2064, 3, 292, 137, 0, 2064, 2065, 1, 0, 0, 0, 2065, 2066, 6, 275, 34, 0, 2066, 569, 1, 0, 0, 0, 2067, 2068, 3, 288, 135, 0, 2068, 2069, 1, 0, 0, 0, 2069, 2070, 6, 276, 35, 0, 2070, 571, 1, 0, 0, 0, 2071, 2072, 3, 294, 138, 0, 2072, 2073, 1, 0, 0, 0, 2073, 2074, 6, 277, 36, 0, 2074, 573, 1, 0, 0, 0, 2075, 2076, 3, 296, 139, 0, 2076, 2077, 1, 0, 0, 0, 2077, 2078, 6, 278, 23, 0, 2078, 575, 1, 0, 0, 0, 2079, 2080, 3, 298, 140, 0, 2080, 2081, 1, 0, 0, 0, 2081, 2082, 6, 279, 24, 0, 2082, 577, 1, 0, 0, 0, 2083, 2084, 3, 502, 242, 0, 2084, 2085, 1, 0, 0, 0, 2085, 2086, 6, 280, 32, 0, 2086, 579, 1, 0, 0, 0, 2087, 2088, 3, 18, 0, 0, 2088, 2089, 1, 0, 0, 0, 2089, 2090, 6, 281, 0, 0, 2090, 581, 1, 0, 0, 0, 2091, 2092, 3, 20, 1, 0, 2092, 2093, 1, 0, 0, 0, 2093, 2094, 6, 282, 0, 0, 2094, 583, 1, 0, 0, 0, 2095, 2096, 3, 22, 2, 0, 2096, 2097, 1, 0, 0, 0, 2097, 2098, 6, 283, 0, 0, 2098, 585, 1, 0, 0, 0, 2099, 2100, 3, 182, 82, 0, 2100, 2101, 1, 0, 0, 0, 2101, 2102, 6, 284, 16, 0, 2102, 2103, 6, 284, 17, 0, 2103, 587, 1, 0, 0, 0, 2104, 2105, 7, 10, 0, 0, 2105, 2106, 7, 5, 0, 0, 2106, 2107, 7, 21, 0, 0, 2107, 2108, 7, 9, 0, 0, 2108, 589, 1, 0, 0, 0, 2109, 2110, 3, 18, 0, 0, 2110, 2111, 1, 0, 0, 0, 2111, 2112, 6, 286, 0, 0, 2112, 591, 1, 0, 0, 0, 2113, 2114, 3, 20, 1, 0, 2114, 2115, 1, 0, 0, 0, 2115, 2116, 6, 287, 0, 0, 2116, 593, 1, 0, 0, 0, 2117, 2118, 3, 22, 2, 0, 2118, 2119, 1, 0, 0, 0, 2119, 2120, 6, 288, 0, 0, 2120, 595, 1, 0, 0, 0, 70, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 602, 606, 609, 618, 620, 631, 921, 1006, 1010, 1015, 1147, 1152, 1161, 1168, 1173, 1175, 1186, 1194, 1197, 1199, 1204, 1209, 1215, 1222, 1227, 1233, 1236, 1244, 1248, 1389, 1394, 1401, 1403, 1408, 1413, 1420, 1422, 1448, 1453, 1458, 1460, 1466, 1522, 1527, 1903, 1907, 1912, 1917, 1922, 1924, 1928, 1930, 51, 0, 1, 0, 5, 1, 0, 5, 2, 0, 5, 4, 0, 5, 5, 0, 5, 6, 0, 5, 7, 0, 5, 8, 0, 5, 9, 0, 5, 10, 0, 5, 11, 0, 5, 13, 0, 5, 14, 0, 5, 15, 0, 5, 16, 0, 5, 17, 0, 7, 50, 0, 4, 0, 0, 7, 99, 0, 7, 73, 0, 7, 141, 0, 7, 63, 0, 7, 61, 0, 7, 96, 0, 7, 97, 0, 7, 101, 0, 7, 100, 0, 5, 3, 0, 7, 78, 0, 7, 40, 0, 7, 51, 0, 7, 56, 0, 7, 137, 0, 7, 75, 0, 7, 94, 0, 7, 93, 0, 7, 95, 0, 7, 98, 0, 5, 0, 0, 7, 17, 0, 7, 59, 0, 7, 58, 0, 7, 106, 0, 7, 57, 0, 5, 12, 0, 7, 77, 0, 7, 64, 0, 7, 71, 0, 7, 60, 0, 7, 53, 0, 7, 52, 0] \ No newline at end of file +[4, 0, 151, 2129, 6, -1, 6, -1, 6, -1, 6, -1, 6, -1, 6, -1, 6, -1, 6, -1, 6, -1, 6, -1, 6, -1, 6, -1, 6, -1, 6, -1, 6, -1, 6, -1, 6, -1, 6, -1, 2, 0, 7, 0, 2, 1, 7, 1, 2, 2, 7, 2, 2, 3, 7, 3, 2, 4, 7, 4, 2, 5, 7, 5, 2, 6, 7, 6, 2, 7, 7, 7, 2, 8, 7, 8, 2, 9, 7, 9, 2, 10, 7, 10, 2, 11, 7, 11, 2, 12, 7, 12, 2, 13, 7, 13, 2, 14, 7, 14, 2, 15, 7, 15, 2, 16, 7, 16, 2, 17, 7, 17, 2, 18, 7, 18, 2, 19, 7, 19, 2, 20, 7, 20, 2, 21, 7, 21, 2, 22, 7, 22, 2, 23, 7, 23, 2, 24, 7, 24, 2, 25, 7, 25, 2, 26, 7, 26, 2, 27, 7, 27, 2, 28, 7, 28, 2, 29, 7, 29, 2, 30, 7, 30, 2, 31, 7, 31, 2, 32, 7, 32, 2, 33, 7, 33, 2, 34, 7, 34, 2, 35, 7, 35, 2, 36, 7, 36, 2, 37, 7, 37, 2, 38, 7, 38, 2, 39, 7, 39, 2, 40, 7, 40, 2, 41, 7, 41, 2, 42, 7, 42, 2, 43, 7, 43, 2, 44, 7, 44, 2, 45, 7, 45, 2, 46, 7, 46, 2, 47, 7, 47, 2, 48, 7, 48, 2, 49, 7, 49, 2, 50, 7, 50, 2, 51, 7, 51, 2, 52, 7, 52, 2, 53, 7, 53, 2, 54, 7, 54, 2, 55, 7, 55, 2, 56, 7, 56, 2, 57, 7, 57, 2, 58, 7, 58, 2, 59, 7, 59, 2, 60, 7, 60, 2, 61, 7, 61, 2, 62, 7, 62, 2, 63, 7, 63, 2, 64, 7, 64, 2, 65, 7, 65, 2, 66, 7, 66, 2, 67, 7, 67, 2, 68, 7, 68, 2, 69, 7, 69, 2, 70, 7, 70, 2, 71, 7, 71, 2, 72, 7, 72, 2, 73, 7, 73, 2, 74, 7, 74, 2, 75, 7, 75, 2, 76, 7, 76, 2, 77, 7, 77, 2, 78, 7, 78, 2, 79, 7, 79, 2, 80, 7, 80, 2, 81, 7, 81, 2, 82, 7, 82, 2, 83, 7, 83, 2, 84, 7, 84, 2, 85, 7, 85, 2, 86, 7, 86, 2, 87, 7, 87, 2, 88, 7, 88, 2, 89, 7, 89, 2, 90, 7, 90, 2, 91, 7, 91, 2, 92, 7, 92, 2, 93, 7, 93, 2, 94, 7, 94, 2, 95, 7, 95, 2, 96, 7, 96, 2, 97, 7, 97, 2, 98, 7, 98, 2, 99, 7, 99, 2, 100, 7, 100, 2, 101, 7, 101, 2, 102, 7, 102, 2, 103, 7, 103, 2, 104, 7, 104, 2, 105, 7, 105, 2, 106, 7, 106, 2, 107, 7, 107, 2, 108, 7, 108, 2, 109, 7, 109, 2, 110, 7, 110, 2, 111, 7, 111, 2, 112, 7, 112, 2, 113, 7, 113, 2, 114, 7, 114, 2, 115, 7, 115, 2, 116, 7, 116, 2, 117, 7, 117, 2, 118, 7, 118, 2, 119, 7, 119, 2, 120, 7, 120, 2, 121, 7, 121, 2, 122, 7, 122, 2, 123, 7, 123, 2, 124, 7, 124, 2, 125, 7, 125, 2, 126, 7, 126, 2, 127, 7, 127, 2, 128, 7, 128, 2, 129, 7, 129, 2, 130, 7, 130, 2, 131, 7, 131, 2, 132, 7, 132, 2, 133, 7, 133, 2, 134, 7, 134, 2, 135, 7, 135, 2, 136, 7, 136, 2, 137, 7, 137, 2, 138, 7, 138, 2, 139, 7, 139, 2, 140, 7, 140, 2, 141, 7, 141, 2, 142, 7, 142, 2, 143, 7, 143, 2, 144, 7, 144, 2, 145, 7, 145, 2, 146, 7, 146, 2, 147, 7, 147, 2, 148, 7, 148, 2, 149, 7, 149, 2, 150, 7, 150, 2, 151, 7, 151, 2, 152, 7, 152, 2, 153, 7, 153, 2, 154, 7, 154, 2, 155, 7, 155, 2, 156, 7, 156, 2, 157, 7, 157, 2, 158, 7, 158, 2, 159, 7, 159, 2, 160, 7, 160, 2, 161, 7, 161, 2, 162, 7, 162, 2, 163, 7, 163, 2, 164, 7, 164, 2, 165, 7, 165, 2, 166, 7, 166, 2, 167, 7, 167, 2, 168, 7, 168, 2, 169, 7, 169, 2, 170, 7, 170, 2, 171, 7, 171, 2, 172, 7, 172, 2, 173, 7, 173, 2, 174, 7, 174, 2, 175, 7, 175, 2, 176, 7, 176, 2, 177, 7, 177, 2, 178, 7, 178, 2, 179, 7, 179, 2, 180, 7, 180, 2, 181, 7, 181, 2, 182, 7, 182, 2, 183, 7, 183, 2, 184, 7, 184, 2, 185, 7, 185, 2, 186, 7, 186, 2, 187, 7, 187, 2, 188, 7, 188, 2, 189, 7, 189, 2, 190, 7, 190, 2, 191, 7, 191, 2, 192, 7, 192, 2, 193, 7, 193, 2, 194, 7, 194, 2, 195, 7, 195, 2, 196, 7, 196, 2, 197, 7, 197, 2, 198, 7, 198, 2, 199, 7, 199, 2, 200, 7, 200, 2, 201, 7, 201, 2, 202, 7, 202, 2, 203, 7, 203, 2, 204, 7, 204, 2, 205, 7, 205, 2, 206, 7, 206, 2, 207, 7, 207, 2, 208, 7, 208, 2, 209, 7, 209, 2, 210, 7, 210, 2, 211, 7, 211, 2, 212, 7, 212, 2, 213, 7, 213, 2, 214, 7, 214, 2, 215, 7, 215, 2, 216, 7, 216, 2, 217, 7, 217, 2, 218, 7, 218, 2, 219, 7, 219, 2, 220, 7, 220, 2, 221, 7, 221, 2, 222, 7, 222, 2, 223, 7, 223, 2, 224, 7, 224, 2, 225, 7, 225, 2, 226, 7, 226, 2, 227, 7, 227, 2, 228, 7, 228, 2, 229, 7, 229, 2, 230, 7, 230, 2, 231, 7, 231, 2, 232, 7, 232, 2, 233, 7, 233, 2, 234, 7, 234, 2, 235, 7, 235, 2, 236, 7, 236, 2, 237, 7, 237, 2, 238, 7, 238, 2, 239, 7, 239, 2, 240, 7, 240, 2, 241, 7, 241, 2, 242, 7, 242, 2, 243, 7, 243, 2, 244, 7, 244, 2, 245, 7, 245, 2, 246, 7, 246, 2, 247, 7, 247, 2, 248, 7, 248, 2, 249, 7, 249, 2, 250, 7, 250, 2, 251, 7, 251, 2, 252, 7, 252, 2, 253, 7, 253, 2, 254, 7, 254, 2, 255, 7, 255, 2, 256, 7, 256, 2, 257, 7, 257, 2, 258, 7, 258, 2, 259, 7, 259, 2, 260, 7, 260, 2, 261, 7, 261, 2, 262, 7, 262, 2, 263, 7, 263, 2, 264, 7, 264, 2, 265, 7, 265, 2, 266, 7, 266, 2, 267, 7, 267, 2, 268, 7, 268, 2, 269, 7, 269, 2, 270, 7, 270, 2, 271, 7, 271, 2, 272, 7, 272, 2, 273, 7, 273, 2, 274, 7, 274, 2, 275, 7, 275, 2, 276, 7, 276, 2, 277, 7, 277, 2, 278, 7, 278, 2, 279, 7, 279, 2, 280, 7, 280, 2, 281, 7, 281, 2, 282, 7, 282, 2, 283, 7, 283, 2, 284, 7, 284, 2, 285, 7, 285, 2, 286, 7, 286, 2, 287, 7, 287, 2, 288, 7, 288, 2, 289, 7, 289, 1, 0, 1, 0, 1, 0, 1, 0, 5, 0, 603, 8, 0, 10, 0, 12, 0, 606, 9, 0, 1, 0, 3, 0, 609, 8, 0, 1, 0, 3, 0, 612, 8, 0, 1, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 5, 1, 621, 8, 1, 10, 1, 12, 1, 624, 9, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 4, 2, 632, 8, 2, 11, 2, 12, 2, 633, 1, 2, 1, 2, 1, 3, 1, 3, 1, 3, 1, 3, 1, 3, 1, 3, 1, 3, 1, 3, 1, 3, 1, 3, 1, 3, 1, 3, 1, 3, 1, 3, 1, 3, 1, 4, 1, 4, 1, 4, 1, 4, 1, 4, 1, 4, 1, 4, 1, 4, 1, 4, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 1, 6, 1, 6, 1, 6, 1, 6, 1, 6, 1, 6, 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, 7, 1, 7, 1, 7, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 9, 1, 9, 1, 9, 1, 9, 1, 9, 1, 9, 1, 9, 1, 10, 1, 10, 1, 10, 1, 10, 1, 10, 1, 10, 1, 10, 1, 10, 1, 11, 1, 11, 1, 11, 1, 11, 1, 11, 1, 11, 1, 11, 1, 11, 1, 11, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 16, 1, 16, 1, 16, 1, 16, 1, 16, 1, 16, 1, 16, 1, 16, 1, 17, 1, 17, 1, 17, 1, 17, 1, 17, 1, 17, 1, 17, 1, 18, 1, 18, 1, 18, 1, 18, 1, 18, 1, 19, 1, 19, 1, 19, 1, 19, 1, 19, 1, 19, 1, 19, 1, 20, 1, 20, 1, 20, 1, 20, 1, 20, 1, 20, 1, 20, 1, 20, 1, 21, 1, 21, 1, 21, 1, 21, 1, 21, 1, 21, 1, 21, 1, 21, 1, 21, 1, 22, 1, 22, 1, 22, 1, 22, 1, 22, 1, 22, 1, 22, 1, 22, 1, 22, 1, 22, 1, 22, 1, 22, 1, 22, 1, 22, 1, 23, 1, 23, 1, 23, 1, 23, 1, 23, 1, 23, 1, 23, 1, 23, 1, 23, 1, 24, 1, 24, 1, 24, 1, 24, 1, 24, 1, 24, 1, 24, 1, 24, 1, 25, 1, 25, 1, 25, 1, 25, 1, 25, 1, 25, 1, 25, 1, 25, 1, 26, 1, 26, 1, 26, 1, 26, 1, 26, 1, 26, 1, 26, 1, 26, 1, 26, 1, 27, 1, 27, 1, 27, 1, 27, 1, 27, 1, 27, 1, 27, 1, 27, 1, 27, 1, 27, 1, 27, 1, 27, 1, 28, 1, 28, 1, 28, 1, 28, 1, 28, 1, 28, 1, 28, 1, 28, 1, 28, 1, 28, 1, 28, 1, 28, 1, 29, 1, 29, 1, 29, 1, 29, 1, 29, 1, 29, 1, 29, 1, 30, 1, 30, 1, 30, 1, 30, 1, 30, 1, 30, 1, 30, 1, 31, 1, 31, 1, 31, 1, 31, 1, 31, 1, 31, 1, 31, 1, 31, 1, 31, 1, 31, 1, 31, 1, 31, 1, 32, 1, 32, 1, 32, 1, 32, 1, 32, 1, 32, 1, 32, 1, 32, 1, 32, 1, 33, 1, 33, 1, 33, 1, 33, 1, 33, 1, 33, 1, 34, 1, 34, 1, 34, 1, 34, 1, 34, 1, 34, 1, 34, 1, 35, 4, 35, 922, 8, 35, 11, 35, 12, 35, 923, 1, 35, 1, 35, 1, 36, 1, 36, 1, 36, 1, 36, 1, 36, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 38, 1, 38, 1, 38, 1, 38, 1, 39, 1, 39, 1, 39, 1, 39, 1, 40, 1, 40, 1, 40, 1, 40, 1, 41, 1, 41, 1, 41, 1, 41, 1, 42, 1, 42, 1, 42, 1, 42, 1, 43, 1, 43, 1, 43, 1, 43, 1, 44, 1, 44, 1, 44, 1, 44, 1, 45, 1, 45, 1, 45, 1, 45, 1, 46, 1, 46, 1, 46, 1, 46, 1, 47, 1, 47, 1, 47, 1, 47, 1, 48, 1, 48, 1, 48, 1, 48, 1, 49, 1, 49, 1, 49, 1, 49, 1, 49, 1, 50, 1, 50, 1, 50, 1, 50, 1, 50, 1, 50, 1, 51, 1, 51, 1, 51, 1, 51, 1, 51, 1, 52, 1, 52, 1, 52, 1, 52, 1, 52, 1, 53, 1, 53, 1, 54, 4, 54, 1007, 8, 54, 11, 54, 12, 54, 1008, 1, 54, 1, 54, 3, 54, 1013, 8, 54, 1, 54, 4, 54, 1016, 8, 54, 11, 54, 12, 54, 1017, 1, 55, 1, 55, 1, 55, 1, 55, 1, 56, 1, 56, 1, 56, 1, 56, 1, 57, 1, 57, 1, 57, 1, 57, 1, 58, 1, 58, 1, 58, 1, 58, 1, 59, 1, 59, 1, 59, 1, 59, 1, 60, 1, 60, 1, 60, 1, 60, 1, 60, 1, 60, 1, 61, 1, 61, 1, 61, 1, 61, 1, 61, 1, 61, 1, 61, 1, 62, 1, 62, 1, 62, 1, 62, 1, 63, 1, 63, 1, 63, 1, 63, 1, 64, 1, 64, 1, 64, 1, 64, 1, 65, 1, 65, 1, 65, 1, 65, 1, 66, 1, 66, 1, 66, 1, 66, 1, 67, 1, 67, 1, 67, 1, 67, 1, 68, 1, 68, 1, 68, 1, 68, 1, 69, 1, 69, 1, 69, 1, 69, 1, 70, 1, 70, 1, 70, 1, 70, 1, 71, 1, 71, 1, 71, 1, 71, 1, 72, 1, 72, 1, 72, 1, 72, 1, 73, 1, 73, 1, 73, 1, 73, 1, 74, 1, 74, 1, 74, 1, 74, 1, 75, 1, 75, 1, 75, 1, 75, 1, 76, 1, 76, 1, 76, 1, 76, 1, 77, 1, 77, 1, 77, 1, 77, 1, 77, 1, 78, 1, 78, 1, 78, 1, 78, 1, 78, 1, 79, 1, 79, 1, 79, 1, 79, 1, 80, 1, 80, 1, 80, 1, 80, 1, 81, 1, 81, 1, 81, 1, 81, 1, 82, 1, 82, 1, 82, 1, 82, 1, 83, 1, 83, 1, 84, 1, 84, 1, 85, 1, 85, 1, 85, 1, 86, 1, 86, 1, 87, 1, 87, 3, 87, 1150, 8, 87, 1, 87, 4, 87, 1153, 8, 87, 11, 87, 12, 87, 1154, 1, 88, 1, 88, 1, 89, 1, 89, 1, 90, 1, 90, 1, 90, 3, 90, 1164, 8, 90, 1, 91, 1, 91, 1, 92, 1, 92, 1, 92, 3, 92, 1171, 8, 92, 1, 93, 1, 93, 1, 93, 5, 93, 1176, 8, 93, 10, 93, 12, 93, 1179, 9, 93, 1, 93, 1, 93, 1, 93, 1, 93, 1, 93, 1, 93, 5, 93, 1187, 8, 93, 10, 93, 12, 93, 1190, 9, 93, 1, 93, 1, 93, 1, 93, 1, 93, 1, 93, 3, 93, 1197, 8, 93, 1, 93, 3, 93, 1200, 8, 93, 3, 93, 1202, 8, 93, 1, 94, 4, 94, 1205, 8, 94, 11, 94, 12, 94, 1206, 1, 95, 4, 95, 1210, 8, 95, 11, 95, 12, 95, 1211, 1, 95, 1, 95, 5, 95, 1216, 8, 95, 10, 95, 12, 95, 1219, 9, 95, 1, 95, 1, 95, 4, 95, 1223, 8, 95, 11, 95, 12, 95, 1224, 1, 95, 4, 95, 1228, 8, 95, 11, 95, 12, 95, 1229, 1, 95, 1, 95, 5, 95, 1234, 8, 95, 10, 95, 12, 95, 1237, 9, 95, 3, 95, 1239, 8, 95, 1, 95, 1, 95, 1, 95, 1, 95, 4, 95, 1245, 8, 95, 11, 95, 12, 95, 1246, 1, 95, 1, 95, 3, 95, 1251, 8, 95, 1, 96, 1, 96, 1, 96, 1, 96, 1, 97, 1, 97, 1, 97, 1, 97, 1, 98, 1, 98, 1, 99, 1, 99, 1, 99, 1, 100, 1, 100, 1, 100, 1, 101, 1, 101, 1, 102, 1, 102, 1, 103, 1, 103, 1, 104, 1, 104, 1, 104, 1, 104, 1, 104, 1, 105, 1, 105, 1, 106, 1, 106, 1, 106, 1, 106, 1, 106, 1, 106, 1, 107, 1, 107, 1, 107, 1, 107, 1, 107, 1, 107, 1, 108, 1, 108, 1, 108, 1, 109, 1, 109, 1, 109, 1, 110, 1, 110, 1, 110, 1, 110, 1, 110, 1, 111, 1, 111, 1, 111, 1, 111, 1, 111, 1, 112, 1, 112, 1, 112, 1, 112, 1, 113, 1, 113, 1, 113, 1, 113, 1, 113, 1, 114, 1, 114, 1, 114, 1, 114, 1, 114, 1, 114, 1, 115, 1, 115, 1, 115, 1, 116, 1, 116, 1, 116, 1, 117, 1, 117, 1, 118, 1, 118, 1, 118, 1, 118, 1, 118, 1, 118, 1, 119, 1, 119, 1, 119, 1, 119, 1, 119, 1, 120, 1, 120, 1, 120, 1, 120, 1, 120, 1, 121, 1, 121, 1, 121, 1, 122, 1, 122, 1, 122, 1, 123, 1, 123, 1, 123, 1, 124, 1, 124, 1, 125, 1, 125, 1, 125, 1, 126, 1, 126, 1, 127, 1, 127, 1, 127, 1, 128, 1, 128, 1, 129, 1, 129, 1, 130, 1, 130, 1, 131, 1, 131, 1, 132, 1, 132, 1, 133, 1, 133, 1, 134, 1, 134, 1, 135, 1, 135, 1, 135, 1, 136, 1, 136, 1, 136, 1, 136, 1, 137, 1, 137, 1, 137, 3, 137, 1392, 8, 137, 1, 137, 5, 137, 1395, 8, 137, 10, 137, 12, 137, 1398, 9, 137, 1, 137, 1, 137, 4, 137, 1402, 8, 137, 11, 137, 12, 137, 1403, 3, 137, 1406, 8, 137, 1, 138, 1, 138, 1, 138, 3, 138, 1411, 8, 138, 1, 138, 5, 138, 1414, 8, 138, 10, 138, 12, 138, 1417, 9, 138, 1, 138, 1, 138, 4, 138, 1421, 8, 138, 11, 138, 12, 138, 1422, 3, 138, 1425, 8, 138, 1, 139, 1, 139, 1, 139, 1, 139, 1, 139, 1, 140, 1, 140, 1, 140, 1, 140, 1, 140, 1, 141, 1, 141, 1, 141, 1, 141, 1, 141, 1, 142, 1, 142, 1, 142, 1, 142, 1, 142, 1, 143, 1, 143, 5, 143, 1449, 8, 143, 10, 143, 12, 143, 1452, 9, 143, 1, 143, 1, 143, 3, 143, 1456, 8, 143, 1, 143, 4, 143, 1459, 8, 143, 11, 143, 12, 143, 1460, 3, 143, 1463, 8, 143, 1, 144, 1, 144, 4, 144, 1467, 8, 144, 11, 144, 12, 144, 1468, 1, 144, 1, 144, 1, 145, 1, 145, 1, 146, 1, 146, 1, 146, 1, 146, 1, 147, 1, 147, 1, 147, 1, 147, 1, 148, 1, 148, 1, 148, 1, 148, 1, 149, 1, 149, 1, 149, 1, 149, 1, 149, 1, 150, 1, 150, 1, 150, 1, 150, 1, 151, 1, 151, 1, 151, 1, 151, 1, 152, 1, 152, 1, 152, 1, 152, 1, 153, 1, 153, 1, 153, 1, 153, 1, 154, 1, 154, 1, 154, 1, 154, 1, 154, 1, 154, 1, 154, 1, 154, 1, 154, 1, 155, 1, 155, 1, 155, 1, 155, 1, 155, 1, 155, 1, 156, 1, 156, 1, 156, 1, 156, 1, 156, 1, 157, 1, 157, 1, 157, 3, 157, 1531, 8, 157, 1, 158, 4, 158, 1534, 8, 158, 11, 158, 12, 158, 1535, 1, 159, 1, 159, 1, 159, 1, 159, 1, 160, 1, 160, 1, 160, 1, 160, 1, 161, 1, 161, 1, 161, 1, 161, 1, 162, 1, 162, 1, 162, 1, 162, 1, 163, 1, 163, 1, 163, 1, 163, 1, 164, 1, 164, 1, 164, 1, 164, 1, 164, 1, 165, 1, 165, 1, 165, 1, 165, 1, 165, 1, 165, 1, 166, 1, 166, 1, 166, 1, 166, 1, 166, 1, 167, 1, 167, 1, 167, 1, 167, 1, 168, 1, 168, 1, 168, 1, 168, 1, 169, 1, 169, 1, 169, 1, 169, 1, 170, 1, 170, 1, 170, 1, 170, 1, 170, 1, 171, 1, 171, 1, 171, 1, 171, 1, 171, 1, 171, 1, 172, 1, 172, 1, 172, 1, 172, 1, 172, 1, 172, 1, 173, 1, 173, 1, 173, 1, 173, 1, 173, 1, 173, 1, 174, 1, 174, 1, 174, 1, 174, 1, 175, 1, 175, 1, 175, 1, 175, 1, 175, 1, 175, 1, 176, 1, 176, 1, 176, 1, 176, 1, 177, 1, 177, 1, 177, 1, 177, 1, 178, 1, 178, 1, 178, 1, 178, 1, 179, 1, 179, 1, 179, 1, 179, 1, 180, 1, 180, 1, 180, 1, 180, 1, 181, 1, 181, 1, 181, 1, 181, 1, 182, 1, 182, 1, 182, 1, 182, 1, 183, 1, 183, 1, 183, 1, 183, 1, 183, 1, 183, 1, 183, 1, 183, 1, 183, 1, 184, 1, 184, 1, 184, 1, 184, 1, 185, 1, 185, 1, 185, 1, 185, 1, 186, 1, 186, 1, 186, 1, 186, 1, 187, 1, 187, 1, 187, 1, 187, 1, 187, 1, 188, 1, 188, 1, 188, 1, 188, 1, 188, 1, 189, 1, 189, 1, 189, 1, 189, 1, 190, 1, 190, 1, 190, 1, 190, 1, 190, 1, 190, 1, 191, 1, 191, 1, 191, 1, 191, 1, 191, 1, 191, 1, 191, 1, 191, 1, 191, 1, 192, 1, 192, 1, 192, 1, 192, 1, 193, 1, 193, 1, 193, 1, 193, 1, 194, 1, 194, 1, 194, 1, 194, 1, 195, 1, 195, 1, 195, 1, 195, 1, 196, 1, 196, 1, 196, 1, 196, 1, 197, 1, 197, 1, 197, 1, 197, 1, 198, 1, 198, 1, 198, 1, 198, 1, 198, 1, 199, 1, 199, 1, 199, 1, 199, 1, 199, 1, 199, 1, 200, 1, 200, 1, 200, 1, 200, 1, 201, 1, 201, 1, 201, 1, 201, 1, 202, 1, 202, 1, 202, 1, 202, 1, 203, 1, 203, 1, 203, 1, 203, 1, 203, 1, 204, 1, 204, 1, 204, 1, 204, 1, 205, 1, 205, 1, 205, 1, 205, 1, 206, 1, 206, 1, 206, 1, 206, 1, 207, 1, 207, 1, 207, 1, 207, 1, 208, 1, 208, 1, 208, 1, 208, 1, 209, 1, 209, 1, 209, 1, 209, 1, 209, 1, 209, 1, 210, 1, 210, 1, 210, 1, 210, 1, 210, 1, 210, 1, 210, 1, 211, 1, 211, 1, 211, 1, 211, 1, 212, 1, 212, 1, 212, 1, 212, 1, 213, 1, 213, 1, 213, 1, 213, 1, 214, 1, 214, 1, 214, 1, 214, 1, 215, 1, 215, 1, 215, 1, 215, 1, 216, 1, 216, 1, 216, 1, 216, 1, 217, 1, 217, 1, 217, 1, 217, 1, 217, 1, 218, 1, 218, 1, 218, 1, 218, 1, 218, 1, 218, 1, 219, 1, 219, 1, 219, 1, 219, 1, 220, 1, 220, 1, 220, 1, 220, 1, 221, 1, 221, 1, 221, 1, 221, 1, 222, 1, 222, 1, 222, 1, 222, 1, 223, 1, 223, 1, 223, 1, 223, 1, 224, 1, 224, 1, 224, 1, 224, 1, 225, 1, 225, 1, 225, 1, 225, 1, 226, 1, 226, 1, 226, 1, 226, 1, 227, 1, 227, 1, 227, 1, 227, 1, 228, 1, 228, 1, 228, 1, 228, 1, 229, 1, 229, 1, 229, 1, 229, 1, 230, 1, 230, 1, 230, 1, 230, 1, 231, 1, 231, 1, 231, 1, 231, 1, 231, 1, 232, 1, 232, 1, 232, 1, 232, 1, 232, 1, 232, 1, 233, 1, 233, 1, 233, 1, 233, 1, 234, 1, 234, 1, 234, 1, 234, 1, 235, 1, 235, 1, 235, 1, 235, 1, 236, 1, 236, 1, 236, 1, 236, 1, 237, 1, 237, 1, 237, 1, 237, 1, 238, 1, 238, 1, 238, 1, 238, 1, 239, 1, 239, 1, 239, 1, 239, 1, 240, 1, 240, 1, 240, 1, 240, 1, 241, 1, 241, 1, 241, 1, 241, 3, 241, 1912, 8, 241, 1, 242, 1, 242, 3, 242, 1916, 8, 242, 1, 242, 5, 242, 1919, 8, 242, 10, 242, 12, 242, 1922, 9, 242, 1, 242, 1, 242, 3, 242, 1926, 8, 242, 1, 242, 4, 242, 1929, 8, 242, 11, 242, 12, 242, 1930, 3, 242, 1933, 8, 242, 1, 243, 1, 243, 4, 243, 1937, 8, 243, 11, 243, 12, 243, 1938, 1, 244, 1, 244, 1, 244, 1, 244, 1, 245, 1, 245, 1, 245, 1, 245, 1, 246, 1, 246, 1, 246, 1, 246, 1, 247, 1, 247, 1, 247, 1, 247, 1, 247, 1, 248, 1, 248, 1, 248, 1, 248, 1, 248, 1, 248, 1, 249, 1, 249, 1, 249, 1, 249, 1, 250, 1, 250, 1, 250, 1, 250, 1, 251, 1, 251, 1, 251, 1, 251, 1, 252, 1, 252, 1, 252, 1, 252, 1, 253, 1, 253, 1, 253, 1, 253, 1, 254, 1, 254, 1, 254, 1, 254, 1, 255, 1, 255, 1, 255, 1, 255, 1, 256, 1, 256, 1, 256, 1, 256, 1, 257, 1, 257, 1, 257, 1, 257, 1, 258, 1, 258, 1, 258, 1, 259, 1, 259, 1, 259, 1, 259, 1, 260, 1, 260, 1, 260, 1, 260, 1, 261, 1, 261, 1, 261, 1, 261, 1, 262, 1, 262, 1, 262, 1, 262, 1, 263, 1, 263, 1, 263, 1, 263, 1, 264, 1, 264, 1, 264, 1, 264, 1, 265, 1, 265, 1, 265, 1, 265, 1, 266, 1, 266, 1, 266, 1, 266, 1, 266, 1, 267, 1, 267, 1, 267, 1, 267, 1, 268, 1, 268, 1, 268, 1, 268, 1, 269, 1, 269, 1, 269, 1, 269, 1, 270, 1, 270, 1, 270, 1, 270, 1, 271, 1, 271, 1, 271, 1, 271, 1, 272, 1, 272, 1, 272, 1, 272, 1, 273, 1, 273, 1, 273, 1, 273, 1, 274, 1, 274, 1, 274, 1, 274, 1, 275, 1, 275, 1, 275, 1, 275, 1, 276, 1, 276, 1, 276, 1, 276, 1, 277, 1, 277, 1, 277, 1, 277, 1, 278, 1, 278, 1, 278, 1, 278, 1, 279, 1, 279, 1, 279, 1, 279, 1, 280, 1, 280, 1, 280, 1, 280, 1, 281, 1, 281, 1, 281, 1, 281, 1, 282, 1, 282, 1, 282, 1, 282, 1, 283, 1, 283, 1, 283, 1, 283, 1, 284, 1, 284, 1, 284, 1, 284, 1, 285, 1, 285, 1, 285, 1, 285, 1, 285, 1, 286, 1, 286, 1, 286, 1, 286, 1, 286, 1, 287, 1, 287, 1, 287, 1, 287, 1, 288, 1, 288, 1, 288, 1, 288, 1, 289, 1, 289, 1, 289, 1, 289, 2, 622, 1188, 0, 290, 18, 1, 20, 2, 22, 3, 24, 4, 26, 5, 28, 6, 30, 7, 32, 8, 34, 9, 36, 10, 38, 11, 40, 12, 42, 13, 44, 14, 46, 15, 48, 16, 50, 17, 52, 18, 54, 19, 56, 20, 58, 21, 60, 22, 62, 23, 64, 24, 66, 25, 68, 26, 70, 27, 72, 28, 74, 29, 76, 30, 78, 31, 80, 32, 82, 33, 84, 34, 86, 35, 88, 36, 90, 0, 92, 0, 94, 0, 96, 0, 98, 0, 100, 0, 102, 0, 104, 0, 106, 0, 108, 0, 110, 37, 112, 38, 114, 39, 116, 0, 118, 0, 120, 0, 122, 0, 124, 0, 126, 40, 128, 0, 130, 0, 132, 41, 134, 42, 136, 43, 138, 0, 140, 0, 142, 0, 144, 0, 146, 0, 148, 0, 150, 0, 152, 0, 154, 0, 156, 0, 158, 0, 160, 0, 162, 0, 164, 0, 166, 44, 168, 45, 170, 46, 172, 0, 174, 0, 176, 47, 178, 48, 180, 49, 182, 50, 184, 0, 186, 0, 188, 0, 190, 0, 192, 0, 194, 0, 196, 0, 198, 0, 200, 0, 202, 0, 204, 51, 206, 52, 208, 53, 210, 54, 212, 55, 214, 56, 216, 57, 218, 58, 220, 59, 222, 60, 224, 61, 226, 62, 228, 63, 230, 64, 232, 65, 234, 66, 236, 67, 238, 68, 240, 69, 242, 70, 244, 71, 246, 72, 248, 73, 250, 74, 252, 75, 254, 76, 256, 77, 258, 78, 260, 79, 262, 80, 264, 81, 266, 82, 268, 83, 270, 84, 272, 85, 274, 86, 276, 87, 278, 88, 280, 89, 282, 90, 284, 91, 286, 92, 288, 93, 290, 0, 292, 94, 294, 95, 296, 96, 298, 97, 300, 98, 302, 99, 304, 100, 306, 0, 308, 101, 310, 102, 312, 103, 314, 104, 316, 0, 318, 0, 320, 0, 322, 0, 324, 0, 326, 105, 328, 0, 330, 0, 332, 0, 334, 106, 336, 0, 338, 0, 340, 107, 342, 108, 344, 109, 346, 0, 348, 0, 350, 0, 352, 110, 354, 111, 356, 112, 358, 0, 360, 0, 362, 113, 364, 114, 366, 115, 368, 0, 370, 0, 372, 0, 374, 0, 376, 0, 378, 116, 380, 117, 382, 118, 384, 119, 386, 120, 388, 121, 390, 122, 392, 0, 394, 123, 396, 0, 398, 0, 400, 124, 402, 0, 404, 0, 406, 0, 408, 125, 410, 126, 412, 127, 414, 0, 416, 0, 418, 0, 420, 0, 422, 0, 424, 0, 426, 0, 428, 0, 430, 128, 432, 129, 434, 130, 436, 0, 438, 0, 440, 0, 442, 0, 444, 0, 446, 131, 448, 132, 450, 133, 452, 0, 454, 0, 456, 0, 458, 0, 460, 0, 462, 0, 464, 0, 466, 0, 468, 0, 470, 0, 472, 0, 474, 134, 476, 135, 478, 136, 480, 0, 482, 0, 484, 0, 486, 0, 488, 0, 490, 0, 492, 0, 494, 0, 496, 0, 498, 0, 500, 0, 502, 0, 504, 137, 506, 138, 508, 139, 510, 140, 512, 0, 514, 0, 516, 0, 518, 0, 520, 0, 522, 0, 524, 0, 526, 0, 528, 0, 530, 0, 532, 0, 534, 141, 536, 0, 538, 142, 540, 143, 542, 144, 544, 0, 546, 0, 548, 0, 550, 0, 552, 0, 554, 0, 556, 0, 558, 0, 560, 0, 562, 0, 564, 0, 566, 0, 568, 0, 570, 0, 572, 0, 574, 0, 576, 0, 578, 0, 580, 0, 582, 145, 584, 146, 586, 147, 588, 0, 590, 148, 592, 149, 594, 150, 596, 151, 18, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 36, 2, 0, 10, 10, 13, 13, 3, 0, 9, 10, 13, 13, 32, 32, 2, 0, 67, 67, 99, 99, 2, 0, 72, 72, 104, 104, 2, 0, 65, 65, 97, 97, 2, 0, 78, 78, 110, 110, 2, 0, 71, 71, 103, 103, 2, 0, 69, 69, 101, 101, 2, 0, 80, 80, 112, 112, 2, 0, 79, 79, 111, 111, 2, 0, 73, 73, 105, 105, 2, 0, 84, 84, 116, 116, 2, 0, 82, 82, 114, 114, 2, 0, 88, 88, 120, 120, 2, 0, 76, 76, 108, 108, 2, 0, 77, 77, 109, 109, 2, 0, 68, 68, 100, 100, 2, 0, 83, 83, 115, 115, 2, 0, 86, 86, 118, 118, 2, 0, 75, 75, 107, 107, 2, 0, 87, 87, 119, 119, 2, 0, 70, 70, 102, 102, 2, 0, 85, 85, 117, 117, 6, 0, 9, 10, 13, 13, 32, 32, 47, 47, 91, 91, 93, 93, 12, 0, 9, 10, 13, 13, 32, 32, 34, 35, 40, 41, 44, 44, 47, 47, 58, 58, 60, 60, 62, 63, 92, 92, 124, 124, 1, 0, 48, 57, 2, 0, 65, 90, 97, 122, 8, 0, 34, 34, 78, 78, 82, 82, 84, 84, 92, 92, 110, 110, 114, 114, 116, 116, 4, 0, 10, 10, 13, 13, 34, 34, 92, 92, 2, 0, 43, 43, 45, 45, 1, 0, 96, 96, 2, 0, 66, 66, 98, 98, 2, 0, 89, 89, 121, 121, 12, 0, 9, 10, 13, 13, 32, 32, 34, 34, 40, 41, 44, 44, 47, 47, 58, 58, 61, 61, 91, 91, 93, 93, 124, 124, 2, 0, 42, 42, 47, 47, 2, 0, 74, 74, 106, 106, 2153, 0, 18, 1, 0, 0, 0, 0, 20, 1, 0, 0, 0, 0, 22, 1, 0, 0, 0, 0, 24, 1, 0, 0, 0, 0, 26, 1, 0, 0, 0, 0, 28, 1, 0, 0, 0, 0, 30, 1, 0, 0, 0, 0, 32, 1, 0, 0, 0, 0, 34, 1, 0, 0, 0, 0, 36, 1, 0, 0, 0, 0, 38, 1, 0, 0, 0, 0, 40, 1, 0, 0, 0, 0, 42, 1, 0, 0, 0, 0, 44, 1, 0, 0, 0, 0, 46, 1, 0, 0, 0, 0, 48, 1, 0, 0, 0, 0, 50, 1, 0, 0, 0, 0, 52, 1, 0, 0, 0, 0, 54, 1, 0, 0, 0, 0, 56, 1, 0, 0, 0, 0, 58, 1, 0, 0, 0, 0, 60, 1, 0, 0, 0, 0, 62, 1, 0, 0, 0, 0, 64, 1, 0, 0, 0, 0, 66, 1, 0, 0, 0, 0, 68, 1, 0, 0, 0, 0, 70, 1, 0, 0, 0, 0, 72, 1, 0, 0, 0, 0, 74, 1, 0, 0, 0, 0, 76, 1, 0, 0, 0, 0, 78, 1, 0, 0, 0, 0, 80, 1, 0, 0, 0, 0, 82, 1, 0, 0, 0, 0, 84, 1, 0, 0, 0, 0, 86, 1, 0, 0, 0, 0, 88, 1, 0, 0, 0, 1, 90, 1, 0, 0, 0, 1, 92, 1, 0, 0, 0, 1, 94, 1, 0, 0, 0, 1, 96, 1, 0, 0, 0, 1, 98, 1, 0, 0, 0, 1, 100, 1, 0, 0, 0, 1, 102, 1, 0, 0, 0, 1, 104, 1, 0, 0, 0, 1, 106, 1, 0, 0, 0, 1, 108, 1, 0, 0, 0, 1, 110, 1, 0, 0, 0, 1, 112, 1, 0, 0, 0, 1, 114, 1, 0, 0, 0, 2, 116, 1, 0, 0, 0, 2, 118, 1, 0, 0, 0, 2, 120, 1, 0, 0, 0, 2, 122, 1, 0, 0, 0, 2, 126, 1, 0, 0, 0, 2, 128, 1, 0, 0, 0, 2, 130, 1, 0, 0, 0, 2, 132, 1, 0, 0, 0, 2, 134, 1, 0, 0, 0, 2, 136, 1, 0, 0, 0, 3, 138, 1, 0, 0, 0, 3, 140, 1, 0, 0, 0, 3, 142, 1, 0, 0, 0, 3, 144, 1, 0, 0, 0, 3, 146, 1, 0, 0, 0, 3, 148, 1, 0, 0, 0, 3, 150, 1, 0, 0, 0, 3, 152, 1, 0, 0, 0, 3, 154, 1, 0, 0, 0, 3, 156, 1, 0, 0, 0, 3, 158, 1, 0, 0, 0, 3, 160, 1, 0, 0, 0, 3, 162, 1, 0, 0, 0, 3, 164, 1, 0, 0, 0, 3, 166, 1, 0, 0, 0, 3, 168, 1, 0, 0, 0, 3, 170, 1, 0, 0, 0, 4, 172, 1, 0, 0, 0, 4, 174, 1, 0, 0, 0, 4, 176, 1, 0, 0, 0, 4, 178, 1, 0, 0, 0, 4, 180, 1, 0, 0, 0, 5, 182, 1, 0, 0, 0, 5, 204, 1, 0, 0, 0, 5, 206, 1, 0, 0, 0, 5, 208, 1, 0, 0, 0, 5, 210, 1, 0, 0, 0, 5, 212, 1, 0, 0, 0, 5, 214, 1, 0, 0, 0, 5, 216, 1, 0, 0, 0, 5, 218, 1, 0, 0, 0, 5, 220, 1, 0, 0, 0, 5, 222, 1, 0, 0, 0, 5, 224, 1, 0, 0, 0, 5, 226, 1, 0, 0, 0, 5, 228, 1, 0, 0, 0, 5, 230, 1, 0, 0, 0, 5, 232, 1, 0, 0, 0, 5, 234, 1, 0, 0, 0, 5, 236, 1, 0, 0, 0, 5, 238, 1, 0, 0, 0, 5, 240, 1, 0, 0, 0, 5, 242, 1, 0, 0, 0, 5, 244, 1, 0, 0, 0, 5, 246, 1, 0, 0, 0, 5, 248, 1, 0, 0, 0, 5, 250, 1, 0, 0, 0, 5, 252, 1, 0, 0, 0, 5, 254, 1, 0, 0, 0, 5, 256, 1, 0, 0, 0, 5, 258, 1, 0, 0, 0, 5, 260, 1, 0, 0, 0, 5, 262, 1, 0, 0, 0, 5, 264, 1, 0, 0, 0, 5, 266, 1, 0, 0, 0, 5, 268, 1, 0, 0, 0, 5, 270, 1, 0, 0, 0, 5, 272, 1, 0, 0, 0, 5, 274, 1, 0, 0, 0, 5, 276, 1, 0, 0, 0, 5, 278, 1, 0, 0, 0, 5, 280, 1, 0, 0, 0, 5, 282, 1, 0, 0, 0, 5, 284, 1, 0, 0, 0, 5, 286, 1, 0, 0, 0, 5, 288, 1, 0, 0, 0, 5, 290, 1, 0, 0, 0, 5, 292, 1, 0, 0, 0, 5, 294, 1, 0, 0, 0, 5, 296, 1, 0, 0, 0, 5, 298, 1, 0, 0, 0, 5, 300, 1, 0, 0, 0, 5, 302, 1, 0, 0, 0, 5, 304, 1, 0, 0, 0, 5, 308, 1, 0, 0, 0, 5, 310, 1, 0, 0, 0, 5, 312, 1, 0, 0, 0, 5, 314, 1, 0, 0, 0, 6, 316, 1, 0, 0, 0, 6, 318, 1, 0, 0, 0, 6, 320, 1, 0, 0, 0, 6, 322, 1, 0, 0, 0, 6, 324, 1, 0, 0, 0, 6, 326, 1, 0, 0, 0, 6, 328, 1, 0, 0, 0, 6, 330, 1, 0, 0, 0, 6, 334, 1, 0, 0, 0, 6, 336, 1, 0, 0, 0, 6, 338, 1, 0, 0, 0, 6, 340, 1, 0, 0, 0, 6, 342, 1, 0, 0, 0, 6, 344, 1, 0, 0, 0, 7, 346, 1, 0, 0, 0, 7, 348, 1, 0, 0, 0, 7, 350, 1, 0, 0, 0, 7, 352, 1, 0, 0, 0, 7, 354, 1, 0, 0, 0, 7, 356, 1, 0, 0, 0, 8, 358, 1, 0, 0, 0, 8, 360, 1, 0, 0, 0, 8, 362, 1, 0, 0, 0, 8, 364, 1, 0, 0, 0, 8, 366, 1, 0, 0, 0, 8, 368, 1, 0, 0, 0, 8, 370, 1, 0, 0, 0, 8, 372, 1, 0, 0, 0, 8, 374, 1, 0, 0, 0, 8, 376, 1, 0, 0, 0, 8, 378, 1, 0, 0, 0, 8, 380, 1, 0, 0, 0, 8, 382, 1, 0, 0, 0, 9, 384, 1, 0, 0, 0, 9, 386, 1, 0, 0, 0, 9, 388, 1, 0, 0, 0, 9, 390, 1, 0, 0, 0, 10, 392, 1, 0, 0, 0, 10, 394, 1, 0, 0, 0, 10, 396, 1, 0, 0, 0, 10, 398, 1, 0, 0, 0, 10, 400, 1, 0, 0, 0, 10, 402, 1, 0, 0, 0, 10, 404, 1, 0, 0, 0, 10, 406, 1, 0, 0, 0, 10, 408, 1, 0, 0, 0, 10, 410, 1, 0, 0, 0, 10, 412, 1, 0, 0, 0, 11, 414, 1, 0, 0, 0, 11, 416, 1, 0, 0, 0, 11, 418, 1, 0, 0, 0, 11, 420, 1, 0, 0, 0, 11, 422, 1, 0, 0, 0, 11, 424, 1, 0, 0, 0, 11, 426, 1, 0, 0, 0, 11, 428, 1, 0, 0, 0, 11, 430, 1, 0, 0, 0, 11, 432, 1, 0, 0, 0, 11, 434, 1, 0, 0, 0, 12, 436, 1, 0, 0, 0, 12, 438, 1, 0, 0, 0, 12, 440, 1, 0, 0, 0, 12, 442, 1, 0, 0, 0, 12, 444, 1, 0, 0, 0, 12, 446, 1, 0, 0, 0, 12, 448, 1, 0, 0, 0, 12, 450, 1, 0, 0, 0, 13, 452, 1, 0, 0, 0, 13, 454, 1, 0, 0, 0, 13, 456, 1, 0, 0, 0, 13, 458, 1, 0, 0, 0, 13, 460, 1, 0, 0, 0, 13, 462, 1, 0, 0, 0, 13, 464, 1, 0, 0, 0, 13, 466, 1, 0, 0, 0, 13, 468, 1, 0, 0, 0, 13, 470, 1, 0, 0, 0, 13, 472, 1, 0, 0, 0, 13, 474, 1, 0, 0, 0, 13, 476, 1, 0, 0, 0, 13, 478, 1, 0, 0, 0, 14, 480, 1, 0, 0, 0, 14, 482, 1, 0, 0, 0, 14, 484, 1, 0, 0, 0, 14, 486, 1, 0, 0, 0, 14, 488, 1, 0, 0, 0, 14, 490, 1, 0, 0, 0, 14, 492, 1, 0, 0, 0, 14, 494, 1, 0, 0, 0, 14, 496, 1, 0, 0, 0, 14, 498, 1, 0, 0, 0, 14, 504, 1, 0, 0, 0, 14, 506, 1, 0, 0, 0, 14, 508, 1, 0, 0, 0, 14, 510, 1, 0, 0, 0, 15, 512, 1, 0, 0, 0, 15, 514, 1, 0, 0, 0, 15, 516, 1, 0, 0, 0, 15, 518, 1, 0, 0, 0, 15, 520, 1, 0, 0, 0, 15, 522, 1, 0, 0, 0, 15, 524, 1, 0, 0, 0, 15, 526, 1, 0, 0, 0, 15, 528, 1, 0, 0, 0, 15, 530, 1, 0, 0, 0, 15, 532, 1, 0, 0, 0, 15, 534, 1, 0, 0, 0, 15, 536, 1, 0, 0, 0, 15, 538, 1, 0, 0, 0, 15, 540, 1, 0, 0, 0, 15, 542, 1, 0, 0, 0, 16, 544, 1, 0, 0, 0, 16, 546, 1, 0, 0, 0, 16, 548, 1, 0, 0, 0, 16, 550, 1, 0, 0, 0, 16, 552, 1, 0, 0, 0, 16, 554, 1, 0, 0, 0, 16, 556, 1, 0, 0, 0, 16, 558, 1, 0, 0, 0, 16, 560, 1, 0, 0, 0, 16, 562, 1, 0, 0, 0, 16, 564, 1, 0, 0, 0, 16, 566, 1, 0, 0, 0, 16, 568, 1, 0, 0, 0, 16, 570, 1, 0, 0, 0, 16, 572, 1, 0, 0, 0, 16, 574, 1, 0, 0, 0, 16, 576, 1, 0, 0, 0, 16, 578, 1, 0, 0, 0, 16, 580, 1, 0, 0, 0, 16, 582, 1, 0, 0, 0, 16, 584, 1, 0, 0, 0, 16, 586, 1, 0, 0, 0, 17, 588, 1, 0, 0, 0, 17, 590, 1, 0, 0, 0, 17, 592, 1, 0, 0, 0, 17, 594, 1, 0, 0, 0, 17, 596, 1, 0, 0, 0, 18, 598, 1, 0, 0, 0, 20, 615, 1, 0, 0, 0, 22, 631, 1, 0, 0, 0, 24, 637, 1, 0, 0, 0, 26, 652, 1, 0, 0, 0, 28, 661, 1, 0, 0, 0, 30, 672, 1, 0, 0, 0, 32, 685, 1, 0, 0, 0, 34, 695, 1, 0, 0, 0, 36, 702, 1, 0, 0, 0, 38, 709, 1, 0, 0, 0, 40, 717, 1, 0, 0, 0, 42, 726, 1, 0, 0, 0, 44, 732, 1, 0, 0, 0, 46, 741, 1, 0, 0, 0, 48, 748, 1, 0, 0, 0, 50, 756, 1, 0, 0, 0, 52, 764, 1, 0, 0, 0, 54, 771, 1, 0, 0, 0, 56, 776, 1, 0, 0, 0, 58, 783, 1, 0, 0, 0, 60, 791, 1, 0, 0, 0, 62, 800, 1, 0, 0, 0, 64, 814, 1, 0, 0, 0, 66, 823, 1, 0, 0, 0, 68, 831, 1, 0, 0, 0, 70, 839, 1, 0, 0, 0, 72, 848, 1, 0, 0, 0, 74, 860, 1, 0, 0, 0, 76, 872, 1, 0, 0, 0, 78, 879, 1, 0, 0, 0, 80, 886, 1, 0, 0, 0, 82, 898, 1, 0, 0, 0, 84, 907, 1, 0, 0, 0, 86, 913, 1, 0, 0, 0, 88, 921, 1, 0, 0, 0, 90, 927, 1, 0, 0, 0, 92, 932, 1, 0, 0, 0, 94, 938, 1, 0, 0, 0, 96, 942, 1, 0, 0, 0, 98, 946, 1, 0, 0, 0, 100, 950, 1, 0, 0, 0, 102, 954, 1, 0, 0, 0, 104, 958, 1, 0, 0, 0, 106, 962, 1, 0, 0, 0, 108, 966, 1, 0, 0, 0, 110, 970, 1, 0, 0, 0, 112, 974, 1, 0, 0, 0, 114, 978, 1, 0, 0, 0, 116, 982, 1, 0, 0, 0, 118, 987, 1, 0, 0, 0, 120, 993, 1, 0, 0, 0, 122, 998, 1, 0, 0, 0, 124, 1003, 1, 0, 0, 0, 126, 1012, 1, 0, 0, 0, 128, 1019, 1, 0, 0, 0, 130, 1023, 1, 0, 0, 0, 132, 1027, 1, 0, 0, 0, 134, 1031, 1, 0, 0, 0, 136, 1035, 1, 0, 0, 0, 138, 1039, 1, 0, 0, 0, 140, 1045, 1, 0, 0, 0, 142, 1052, 1, 0, 0, 0, 144, 1056, 1, 0, 0, 0, 146, 1060, 1, 0, 0, 0, 148, 1064, 1, 0, 0, 0, 150, 1068, 1, 0, 0, 0, 152, 1072, 1, 0, 0, 0, 154, 1076, 1, 0, 0, 0, 156, 1080, 1, 0, 0, 0, 158, 1084, 1, 0, 0, 0, 160, 1088, 1, 0, 0, 0, 162, 1092, 1, 0, 0, 0, 164, 1096, 1, 0, 0, 0, 166, 1100, 1, 0, 0, 0, 168, 1104, 1, 0, 0, 0, 170, 1108, 1, 0, 0, 0, 172, 1112, 1, 0, 0, 0, 174, 1117, 1, 0, 0, 0, 176, 1122, 1, 0, 0, 0, 178, 1126, 1, 0, 0, 0, 180, 1130, 1, 0, 0, 0, 182, 1134, 1, 0, 0, 0, 184, 1138, 1, 0, 0, 0, 186, 1140, 1, 0, 0, 0, 188, 1142, 1, 0, 0, 0, 190, 1145, 1, 0, 0, 0, 192, 1147, 1, 0, 0, 0, 194, 1156, 1, 0, 0, 0, 196, 1158, 1, 0, 0, 0, 198, 1163, 1, 0, 0, 0, 200, 1165, 1, 0, 0, 0, 202, 1170, 1, 0, 0, 0, 204, 1201, 1, 0, 0, 0, 206, 1204, 1, 0, 0, 0, 208, 1250, 1, 0, 0, 0, 210, 1252, 1, 0, 0, 0, 212, 1256, 1, 0, 0, 0, 214, 1260, 1, 0, 0, 0, 216, 1262, 1, 0, 0, 0, 218, 1265, 1, 0, 0, 0, 220, 1268, 1, 0, 0, 0, 222, 1270, 1, 0, 0, 0, 224, 1272, 1, 0, 0, 0, 226, 1274, 1, 0, 0, 0, 228, 1279, 1, 0, 0, 0, 230, 1281, 1, 0, 0, 0, 232, 1287, 1, 0, 0, 0, 234, 1293, 1, 0, 0, 0, 236, 1296, 1, 0, 0, 0, 238, 1299, 1, 0, 0, 0, 240, 1304, 1, 0, 0, 0, 242, 1309, 1, 0, 0, 0, 244, 1313, 1, 0, 0, 0, 246, 1318, 1, 0, 0, 0, 248, 1324, 1, 0, 0, 0, 250, 1327, 1, 0, 0, 0, 252, 1330, 1, 0, 0, 0, 254, 1332, 1, 0, 0, 0, 256, 1338, 1, 0, 0, 0, 258, 1343, 1, 0, 0, 0, 260, 1348, 1, 0, 0, 0, 262, 1351, 1, 0, 0, 0, 264, 1354, 1, 0, 0, 0, 266, 1357, 1, 0, 0, 0, 268, 1359, 1, 0, 0, 0, 270, 1362, 1, 0, 0, 0, 272, 1364, 1, 0, 0, 0, 274, 1367, 1, 0, 0, 0, 276, 1369, 1, 0, 0, 0, 278, 1371, 1, 0, 0, 0, 280, 1373, 1, 0, 0, 0, 282, 1375, 1, 0, 0, 0, 284, 1377, 1, 0, 0, 0, 286, 1379, 1, 0, 0, 0, 288, 1381, 1, 0, 0, 0, 290, 1384, 1, 0, 0, 0, 292, 1405, 1, 0, 0, 0, 294, 1424, 1, 0, 0, 0, 296, 1426, 1, 0, 0, 0, 298, 1431, 1, 0, 0, 0, 300, 1436, 1, 0, 0, 0, 302, 1441, 1, 0, 0, 0, 304, 1462, 1, 0, 0, 0, 306, 1464, 1, 0, 0, 0, 308, 1472, 1, 0, 0, 0, 310, 1474, 1, 0, 0, 0, 312, 1478, 1, 0, 0, 0, 314, 1482, 1, 0, 0, 0, 316, 1486, 1, 0, 0, 0, 318, 1491, 1, 0, 0, 0, 320, 1495, 1, 0, 0, 0, 322, 1499, 1, 0, 0, 0, 324, 1503, 1, 0, 0, 0, 326, 1507, 1, 0, 0, 0, 328, 1516, 1, 0, 0, 0, 330, 1522, 1, 0, 0, 0, 332, 1530, 1, 0, 0, 0, 334, 1533, 1, 0, 0, 0, 336, 1537, 1, 0, 0, 0, 338, 1541, 1, 0, 0, 0, 340, 1545, 1, 0, 0, 0, 342, 1549, 1, 0, 0, 0, 344, 1553, 1, 0, 0, 0, 346, 1557, 1, 0, 0, 0, 348, 1562, 1, 0, 0, 0, 350, 1568, 1, 0, 0, 0, 352, 1573, 1, 0, 0, 0, 354, 1577, 1, 0, 0, 0, 356, 1581, 1, 0, 0, 0, 358, 1585, 1, 0, 0, 0, 360, 1590, 1, 0, 0, 0, 362, 1596, 1, 0, 0, 0, 364, 1602, 1, 0, 0, 0, 366, 1608, 1, 0, 0, 0, 368, 1612, 1, 0, 0, 0, 370, 1618, 1, 0, 0, 0, 372, 1622, 1, 0, 0, 0, 374, 1626, 1, 0, 0, 0, 376, 1630, 1, 0, 0, 0, 378, 1634, 1, 0, 0, 0, 380, 1638, 1, 0, 0, 0, 382, 1642, 1, 0, 0, 0, 384, 1646, 1, 0, 0, 0, 386, 1655, 1, 0, 0, 0, 388, 1659, 1, 0, 0, 0, 390, 1663, 1, 0, 0, 0, 392, 1667, 1, 0, 0, 0, 394, 1672, 1, 0, 0, 0, 396, 1677, 1, 0, 0, 0, 398, 1681, 1, 0, 0, 0, 400, 1687, 1, 0, 0, 0, 402, 1696, 1, 0, 0, 0, 404, 1700, 1, 0, 0, 0, 406, 1704, 1, 0, 0, 0, 408, 1708, 1, 0, 0, 0, 410, 1712, 1, 0, 0, 0, 412, 1716, 1, 0, 0, 0, 414, 1720, 1, 0, 0, 0, 416, 1725, 1, 0, 0, 0, 418, 1731, 1, 0, 0, 0, 420, 1735, 1, 0, 0, 0, 422, 1739, 1, 0, 0, 0, 424, 1743, 1, 0, 0, 0, 426, 1748, 1, 0, 0, 0, 428, 1752, 1, 0, 0, 0, 430, 1756, 1, 0, 0, 0, 432, 1760, 1, 0, 0, 0, 434, 1764, 1, 0, 0, 0, 436, 1768, 1, 0, 0, 0, 438, 1774, 1, 0, 0, 0, 440, 1781, 1, 0, 0, 0, 442, 1785, 1, 0, 0, 0, 444, 1789, 1, 0, 0, 0, 446, 1793, 1, 0, 0, 0, 448, 1797, 1, 0, 0, 0, 450, 1801, 1, 0, 0, 0, 452, 1805, 1, 0, 0, 0, 454, 1810, 1, 0, 0, 0, 456, 1816, 1, 0, 0, 0, 458, 1820, 1, 0, 0, 0, 460, 1824, 1, 0, 0, 0, 462, 1828, 1, 0, 0, 0, 464, 1832, 1, 0, 0, 0, 466, 1836, 1, 0, 0, 0, 468, 1840, 1, 0, 0, 0, 470, 1844, 1, 0, 0, 0, 472, 1848, 1, 0, 0, 0, 474, 1852, 1, 0, 0, 0, 476, 1856, 1, 0, 0, 0, 478, 1860, 1, 0, 0, 0, 480, 1864, 1, 0, 0, 0, 482, 1869, 1, 0, 0, 0, 484, 1875, 1, 0, 0, 0, 486, 1879, 1, 0, 0, 0, 488, 1883, 1, 0, 0, 0, 490, 1887, 1, 0, 0, 0, 492, 1891, 1, 0, 0, 0, 494, 1895, 1, 0, 0, 0, 496, 1899, 1, 0, 0, 0, 498, 1903, 1, 0, 0, 0, 500, 1911, 1, 0, 0, 0, 502, 1932, 1, 0, 0, 0, 504, 1936, 1, 0, 0, 0, 506, 1940, 1, 0, 0, 0, 508, 1944, 1, 0, 0, 0, 510, 1948, 1, 0, 0, 0, 512, 1952, 1, 0, 0, 0, 514, 1957, 1, 0, 0, 0, 516, 1963, 1, 0, 0, 0, 518, 1967, 1, 0, 0, 0, 520, 1971, 1, 0, 0, 0, 522, 1975, 1, 0, 0, 0, 524, 1979, 1, 0, 0, 0, 526, 1983, 1, 0, 0, 0, 528, 1987, 1, 0, 0, 0, 530, 1991, 1, 0, 0, 0, 532, 1995, 1, 0, 0, 0, 534, 1999, 1, 0, 0, 0, 536, 2002, 1, 0, 0, 0, 538, 2006, 1, 0, 0, 0, 540, 2010, 1, 0, 0, 0, 542, 2014, 1, 0, 0, 0, 544, 2018, 1, 0, 0, 0, 546, 2022, 1, 0, 0, 0, 548, 2026, 1, 0, 0, 0, 550, 2030, 1, 0, 0, 0, 552, 2035, 1, 0, 0, 0, 554, 2039, 1, 0, 0, 0, 556, 2043, 1, 0, 0, 0, 558, 2047, 1, 0, 0, 0, 560, 2051, 1, 0, 0, 0, 562, 2055, 1, 0, 0, 0, 564, 2059, 1, 0, 0, 0, 566, 2063, 1, 0, 0, 0, 568, 2067, 1, 0, 0, 0, 570, 2071, 1, 0, 0, 0, 572, 2075, 1, 0, 0, 0, 574, 2079, 1, 0, 0, 0, 576, 2083, 1, 0, 0, 0, 578, 2087, 1, 0, 0, 0, 580, 2091, 1, 0, 0, 0, 582, 2095, 1, 0, 0, 0, 584, 2099, 1, 0, 0, 0, 586, 2103, 1, 0, 0, 0, 588, 2107, 1, 0, 0, 0, 590, 2112, 1, 0, 0, 0, 592, 2117, 1, 0, 0, 0, 594, 2121, 1, 0, 0, 0, 596, 2125, 1, 0, 0, 0, 598, 599, 5, 47, 0, 0, 599, 600, 5, 47, 0, 0, 600, 604, 1, 0, 0, 0, 601, 603, 8, 0, 0, 0, 602, 601, 1, 0, 0, 0, 603, 606, 1, 0, 0, 0, 604, 602, 1, 0, 0, 0, 604, 605, 1, 0, 0, 0, 605, 608, 1, 0, 0, 0, 606, 604, 1, 0, 0, 0, 607, 609, 5, 13, 0, 0, 608, 607, 1, 0, 0, 0, 608, 609, 1, 0, 0, 0, 609, 611, 1, 0, 0, 0, 610, 612, 5, 10, 0, 0, 611, 610, 1, 0, 0, 0, 611, 612, 1, 0, 0, 0, 612, 613, 1, 0, 0, 0, 613, 614, 6, 0, 0, 0, 614, 19, 1, 0, 0, 0, 615, 616, 5, 47, 0, 0, 616, 617, 5, 42, 0, 0, 617, 622, 1, 0, 0, 0, 618, 621, 3, 20, 1, 0, 619, 621, 9, 0, 0, 0, 620, 618, 1, 0, 0, 0, 620, 619, 1, 0, 0, 0, 621, 624, 1, 0, 0, 0, 622, 623, 1, 0, 0, 0, 622, 620, 1, 0, 0, 0, 623, 625, 1, 0, 0, 0, 624, 622, 1, 0, 0, 0, 625, 626, 5, 42, 0, 0, 626, 627, 5, 47, 0, 0, 627, 628, 1, 0, 0, 0, 628, 629, 6, 1, 0, 0, 629, 21, 1, 0, 0, 0, 630, 632, 7, 1, 0, 0, 631, 630, 1, 0, 0, 0, 632, 633, 1, 0, 0, 0, 633, 631, 1, 0, 0, 0, 633, 634, 1, 0, 0, 0, 634, 635, 1, 0, 0, 0, 635, 636, 6, 2, 0, 0, 636, 23, 1, 0, 0, 0, 637, 638, 7, 2, 0, 0, 638, 639, 7, 3, 0, 0, 639, 640, 7, 4, 0, 0, 640, 641, 7, 5, 0, 0, 641, 642, 7, 6, 0, 0, 642, 643, 7, 7, 0, 0, 643, 644, 5, 95, 0, 0, 644, 645, 7, 8, 0, 0, 645, 646, 7, 9, 0, 0, 646, 647, 7, 10, 0, 0, 647, 648, 7, 5, 0, 0, 648, 649, 7, 11, 0, 0, 649, 650, 1, 0, 0, 0, 650, 651, 6, 3, 1, 0, 651, 25, 1, 0, 0, 0, 652, 653, 7, 7, 0, 0, 653, 654, 7, 5, 0, 0, 654, 655, 7, 12, 0, 0, 655, 656, 7, 10, 0, 0, 656, 657, 7, 2, 0, 0, 657, 658, 7, 3, 0, 0, 658, 659, 1, 0, 0, 0, 659, 660, 6, 4, 2, 0, 660, 27, 1, 0, 0, 0, 661, 662, 4, 5, 0, 0, 662, 663, 7, 7, 0, 0, 663, 664, 7, 13, 0, 0, 664, 665, 7, 8, 0, 0, 665, 666, 7, 14, 0, 0, 666, 667, 7, 4, 0, 0, 667, 668, 7, 10, 0, 0, 668, 669, 7, 5, 0, 0, 669, 670, 1, 0, 0, 0, 670, 671, 6, 5, 3, 0, 671, 29, 1, 0, 0, 0, 672, 673, 7, 2, 0, 0, 673, 674, 7, 9, 0, 0, 674, 675, 7, 15, 0, 0, 675, 676, 7, 8, 0, 0, 676, 677, 7, 14, 0, 0, 677, 678, 7, 7, 0, 0, 678, 679, 7, 11, 0, 0, 679, 680, 7, 10, 0, 0, 680, 681, 7, 9, 0, 0, 681, 682, 7, 5, 0, 0, 682, 683, 1, 0, 0, 0, 683, 684, 6, 6, 4, 0, 684, 31, 1, 0, 0, 0, 685, 686, 7, 16, 0, 0, 686, 687, 7, 10, 0, 0, 687, 688, 7, 17, 0, 0, 688, 689, 7, 17, 0, 0, 689, 690, 7, 7, 0, 0, 690, 691, 7, 2, 0, 0, 691, 692, 7, 11, 0, 0, 692, 693, 1, 0, 0, 0, 693, 694, 6, 7, 4, 0, 694, 33, 1, 0, 0, 0, 695, 696, 7, 7, 0, 0, 696, 697, 7, 18, 0, 0, 697, 698, 7, 4, 0, 0, 698, 699, 7, 14, 0, 0, 699, 700, 1, 0, 0, 0, 700, 701, 6, 8, 4, 0, 701, 35, 1, 0, 0, 0, 702, 703, 7, 6, 0, 0, 703, 704, 7, 12, 0, 0, 704, 705, 7, 9, 0, 0, 705, 706, 7, 19, 0, 0, 706, 707, 1, 0, 0, 0, 707, 708, 6, 9, 4, 0, 708, 37, 1, 0, 0, 0, 709, 710, 7, 14, 0, 0, 710, 711, 7, 10, 0, 0, 711, 712, 7, 15, 0, 0, 712, 713, 7, 10, 0, 0, 713, 714, 7, 11, 0, 0, 714, 715, 1, 0, 0, 0, 715, 716, 6, 10, 4, 0, 716, 39, 1, 0, 0, 0, 717, 718, 7, 12, 0, 0, 718, 719, 7, 7, 0, 0, 719, 720, 7, 12, 0, 0, 720, 721, 7, 4, 0, 0, 721, 722, 7, 5, 0, 0, 722, 723, 7, 19, 0, 0, 723, 724, 1, 0, 0, 0, 724, 725, 6, 11, 4, 0, 725, 41, 1, 0, 0, 0, 726, 727, 7, 12, 0, 0, 727, 728, 7, 9, 0, 0, 728, 729, 7, 20, 0, 0, 729, 730, 1, 0, 0, 0, 730, 731, 6, 12, 4, 0, 731, 43, 1, 0, 0, 0, 732, 733, 7, 17, 0, 0, 733, 734, 7, 4, 0, 0, 734, 735, 7, 15, 0, 0, 735, 736, 7, 8, 0, 0, 736, 737, 7, 14, 0, 0, 737, 738, 7, 7, 0, 0, 738, 739, 1, 0, 0, 0, 739, 740, 6, 13, 4, 0, 740, 45, 1, 0, 0, 0, 741, 742, 7, 17, 0, 0, 742, 743, 7, 9, 0, 0, 743, 744, 7, 12, 0, 0, 744, 745, 7, 11, 0, 0, 745, 746, 1, 0, 0, 0, 746, 747, 6, 14, 4, 0, 747, 47, 1, 0, 0, 0, 748, 749, 7, 17, 0, 0, 749, 750, 7, 11, 0, 0, 750, 751, 7, 4, 0, 0, 751, 752, 7, 11, 0, 0, 752, 753, 7, 17, 0, 0, 753, 754, 1, 0, 0, 0, 754, 755, 6, 15, 4, 0, 755, 49, 1, 0, 0, 0, 756, 757, 7, 20, 0, 0, 757, 758, 7, 3, 0, 0, 758, 759, 7, 7, 0, 0, 759, 760, 7, 12, 0, 0, 760, 761, 7, 7, 0, 0, 761, 762, 1, 0, 0, 0, 762, 763, 6, 16, 4, 0, 763, 51, 1, 0, 0, 0, 764, 765, 7, 21, 0, 0, 765, 766, 7, 12, 0, 0, 766, 767, 7, 9, 0, 0, 767, 768, 7, 15, 0, 0, 768, 769, 1, 0, 0, 0, 769, 770, 6, 17, 5, 0, 770, 53, 1, 0, 0, 0, 771, 772, 7, 11, 0, 0, 772, 773, 7, 17, 0, 0, 773, 774, 1, 0, 0, 0, 774, 775, 6, 18, 5, 0, 775, 55, 1, 0, 0, 0, 776, 777, 7, 21, 0, 0, 777, 778, 7, 9, 0, 0, 778, 779, 7, 12, 0, 0, 779, 780, 7, 19, 0, 0, 780, 781, 1, 0, 0, 0, 781, 782, 6, 19, 6, 0, 782, 57, 1, 0, 0, 0, 783, 784, 4, 20, 1, 0, 784, 785, 7, 21, 0, 0, 785, 786, 7, 22, 0, 0, 786, 787, 7, 17, 0, 0, 787, 788, 7, 7, 0, 0, 788, 789, 1, 0, 0, 0, 789, 790, 6, 20, 7, 0, 790, 59, 1, 0, 0, 0, 791, 792, 7, 10, 0, 0, 792, 793, 7, 5, 0, 0, 793, 794, 7, 14, 0, 0, 794, 795, 7, 10, 0, 0, 795, 796, 7, 5, 0, 0, 796, 797, 7, 7, 0, 0, 797, 798, 1, 0, 0, 0, 798, 799, 6, 21, 8, 0, 799, 61, 1, 0, 0, 0, 800, 801, 7, 10, 0, 0, 801, 802, 7, 5, 0, 0, 802, 803, 7, 14, 0, 0, 803, 804, 7, 10, 0, 0, 804, 805, 7, 5, 0, 0, 805, 806, 7, 7, 0, 0, 806, 807, 7, 17, 0, 0, 807, 808, 7, 11, 0, 0, 808, 809, 7, 4, 0, 0, 809, 810, 7, 11, 0, 0, 810, 811, 7, 17, 0, 0, 811, 812, 1, 0, 0, 0, 812, 813, 6, 22, 4, 0, 813, 63, 1, 0, 0, 0, 814, 815, 7, 14, 0, 0, 815, 816, 7, 9, 0, 0, 816, 817, 7, 9, 0, 0, 817, 818, 7, 19, 0, 0, 818, 819, 7, 22, 0, 0, 819, 820, 7, 8, 0, 0, 820, 821, 1, 0, 0, 0, 821, 822, 6, 23, 9, 0, 822, 65, 1, 0, 0, 0, 823, 824, 4, 24, 2, 0, 824, 825, 7, 21, 0, 0, 825, 826, 7, 22, 0, 0, 826, 827, 7, 14, 0, 0, 827, 828, 7, 14, 0, 0, 828, 829, 1, 0, 0, 0, 829, 830, 6, 24, 9, 0, 830, 67, 1, 0, 0, 0, 831, 832, 4, 25, 3, 0, 832, 833, 7, 14, 0, 0, 833, 834, 7, 7, 0, 0, 834, 835, 7, 21, 0, 0, 835, 836, 7, 11, 0, 0, 836, 837, 1, 0, 0, 0, 837, 838, 6, 25, 9, 0, 838, 69, 1, 0, 0, 0, 839, 840, 4, 26, 4, 0, 840, 841, 7, 12, 0, 0, 841, 842, 7, 10, 0, 0, 842, 843, 7, 6, 0, 0, 843, 844, 7, 3, 0, 0, 844, 845, 7, 11, 0, 0, 845, 846, 1, 0, 0, 0, 846, 847, 6, 26, 9, 0, 847, 71, 1, 0, 0, 0, 848, 849, 4, 27, 5, 0, 849, 850, 7, 14, 0, 0, 850, 851, 7, 9, 0, 0, 851, 852, 7, 9, 0, 0, 852, 853, 7, 19, 0, 0, 853, 854, 7, 22, 0, 0, 854, 855, 7, 8, 0, 0, 855, 856, 5, 95, 0, 0, 856, 857, 5, 128020, 0, 0, 857, 858, 1, 0, 0, 0, 858, 859, 6, 27, 10, 0, 859, 73, 1, 0, 0, 0, 860, 861, 7, 15, 0, 0, 861, 862, 7, 18, 0, 0, 862, 863, 5, 95, 0, 0, 863, 864, 7, 7, 0, 0, 864, 865, 7, 13, 0, 0, 865, 866, 7, 8, 0, 0, 866, 867, 7, 4, 0, 0, 867, 868, 7, 5, 0, 0, 868, 869, 7, 16, 0, 0, 869, 870, 1, 0, 0, 0, 870, 871, 6, 28, 11, 0, 871, 75, 1, 0, 0, 0, 872, 873, 7, 16, 0, 0, 873, 874, 7, 12, 0, 0, 874, 875, 7, 9, 0, 0, 875, 876, 7, 8, 0, 0, 876, 877, 1, 0, 0, 0, 877, 878, 6, 29, 12, 0, 878, 77, 1, 0, 0, 0, 879, 880, 7, 19, 0, 0, 880, 881, 7, 7, 0, 0, 881, 882, 7, 7, 0, 0, 882, 883, 7, 8, 0, 0, 883, 884, 1, 0, 0, 0, 884, 885, 6, 30, 12, 0, 885, 79, 1, 0, 0, 0, 886, 887, 4, 31, 6, 0, 887, 888, 7, 10, 0, 0, 888, 889, 7, 5, 0, 0, 889, 890, 7, 17, 0, 0, 890, 891, 7, 10, 0, 0, 891, 892, 7, 17, 0, 0, 892, 893, 7, 11, 0, 0, 893, 894, 5, 95, 0, 0, 894, 895, 5, 128020, 0, 0, 895, 896, 1, 0, 0, 0, 896, 897, 6, 31, 12, 0, 897, 81, 1, 0, 0, 0, 898, 899, 7, 12, 0, 0, 899, 900, 7, 7, 0, 0, 900, 901, 7, 5, 0, 0, 901, 902, 7, 4, 0, 0, 902, 903, 7, 15, 0, 0, 903, 904, 7, 7, 0, 0, 904, 905, 1, 0, 0, 0, 905, 906, 6, 32, 13, 0, 906, 83, 1, 0, 0, 0, 907, 908, 7, 17, 0, 0, 908, 909, 7, 7, 0, 0, 909, 910, 7, 11, 0, 0, 910, 911, 1, 0, 0, 0, 911, 912, 6, 33, 14, 0, 912, 85, 1, 0, 0, 0, 913, 914, 7, 17, 0, 0, 914, 915, 7, 3, 0, 0, 915, 916, 7, 9, 0, 0, 916, 917, 7, 20, 0, 0, 917, 918, 1, 0, 0, 0, 918, 919, 6, 34, 15, 0, 919, 87, 1, 0, 0, 0, 920, 922, 8, 23, 0, 0, 921, 920, 1, 0, 0, 0, 922, 923, 1, 0, 0, 0, 923, 921, 1, 0, 0, 0, 923, 924, 1, 0, 0, 0, 924, 925, 1, 0, 0, 0, 925, 926, 6, 35, 4, 0, 926, 89, 1, 0, 0, 0, 927, 928, 3, 182, 82, 0, 928, 929, 1, 0, 0, 0, 929, 930, 6, 36, 16, 0, 930, 931, 6, 36, 17, 0, 931, 91, 1, 0, 0, 0, 932, 933, 3, 302, 142, 0, 933, 934, 1, 0, 0, 0, 934, 935, 6, 37, 18, 0, 935, 936, 6, 37, 17, 0, 936, 937, 6, 37, 17, 0, 937, 93, 1, 0, 0, 0, 938, 939, 3, 248, 115, 0, 939, 940, 1, 0, 0, 0, 940, 941, 6, 38, 19, 0, 941, 95, 1, 0, 0, 0, 942, 943, 3, 534, 258, 0, 943, 944, 1, 0, 0, 0, 944, 945, 6, 39, 20, 0, 945, 97, 1, 0, 0, 0, 946, 947, 3, 228, 105, 0, 947, 948, 1, 0, 0, 0, 948, 949, 6, 40, 21, 0, 949, 99, 1, 0, 0, 0, 950, 951, 3, 224, 103, 0, 951, 952, 1, 0, 0, 0, 952, 953, 6, 41, 22, 0, 953, 101, 1, 0, 0, 0, 954, 955, 3, 296, 139, 0, 955, 956, 1, 0, 0, 0, 956, 957, 6, 42, 23, 0, 957, 103, 1, 0, 0, 0, 958, 959, 3, 298, 140, 0, 959, 960, 1, 0, 0, 0, 960, 961, 6, 43, 24, 0, 961, 105, 1, 0, 0, 0, 962, 963, 3, 308, 145, 0, 963, 964, 1, 0, 0, 0, 964, 965, 6, 44, 25, 0, 965, 107, 1, 0, 0, 0, 966, 967, 3, 304, 143, 0, 967, 968, 1, 0, 0, 0, 968, 969, 6, 45, 26, 0, 969, 109, 1, 0, 0, 0, 970, 971, 3, 18, 0, 0, 971, 972, 1, 0, 0, 0, 972, 973, 6, 46, 0, 0, 973, 111, 1, 0, 0, 0, 974, 975, 3, 20, 1, 0, 975, 976, 1, 0, 0, 0, 976, 977, 6, 47, 0, 0, 977, 113, 1, 0, 0, 0, 978, 979, 3, 22, 2, 0, 979, 980, 1, 0, 0, 0, 980, 981, 6, 48, 0, 0, 981, 115, 1, 0, 0, 0, 982, 983, 3, 182, 82, 0, 983, 984, 1, 0, 0, 0, 984, 985, 6, 49, 16, 0, 985, 986, 6, 49, 17, 0, 986, 117, 1, 0, 0, 0, 987, 988, 3, 302, 142, 0, 988, 989, 1, 0, 0, 0, 989, 990, 6, 50, 18, 0, 990, 991, 6, 50, 17, 0, 991, 992, 6, 50, 17, 0, 992, 119, 1, 0, 0, 0, 993, 994, 3, 248, 115, 0, 994, 995, 1, 0, 0, 0, 995, 996, 6, 51, 19, 0, 996, 997, 6, 51, 27, 0, 997, 121, 1, 0, 0, 0, 998, 999, 3, 258, 120, 0, 999, 1000, 1, 0, 0, 0, 1000, 1001, 6, 52, 28, 0, 1001, 1002, 6, 52, 27, 0, 1002, 123, 1, 0, 0, 0, 1003, 1004, 8, 24, 0, 0, 1004, 125, 1, 0, 0, 0, 1005, 1007, 3, 124, 53, 0, 1006, 1005, 1, 0, 0, 0, 1007, 1008, 1, 0, 0, 0, 1008, 1006, 1, 0, 0, 0, 1008, 1009, 1, 0, 0, 0, 1009, 1010, 1, 0, 0, 0, 1010, 1011, 3, 220, 101, 0, 1011, 1013, 1, 0, 0, 0, 1012, 1006, 1, 0, 0, 0, 1012, 1013, 1, 0, 0, 0, 1013, 1015, 1, 0, 0, 0, 1014, 1016, 3, 124, 53, 0, 1015, 1014, 1, 0, 0, 0, 1016, 1017, 1, 0, 0, 0, 1017, 1015, 1, 0, 0, 0, 1017, 1018, 1, 0, 0, 0, 1018, 127, 1, 0, 0, 0, 1019, 1020, 3, 126, 54, 0, 1020, 1021, 1, 0, 0, 0, 1021, 1022, 6, 55, 29, 0, 1022, 129, 1, 0, 0, 0, 1023, 1024, 3, 204, 93, 0, 1024, 1025, 1, 0, 0, 0, 1025, 1026, 6, 56, 30, 0, 1026, 131, 1, 0, 0, 0, 1027, 1028, 3, 18, 0, 0, 1028, 1029, 1, 0, 0, 0, 1029, 1030, 6, 57, 0, 0, 1030, 133, 1, 0, 0, 0, 1031, 1032, 3, 20, 1, 0, 1032, 1033, 1, 0, 0, 0, 1033, 1034, 6, 58, 0, 0, 1034, 135, 1, 0, 0, 0, 1035, 1036, 3, 22, 2, 0, 1036, 1037, 1, 0, 0, 0, 1037, 1038, 6, 59, 0, 0, 1038, 137, 1, 0, 0, 0, 1039, 1040, 3, 182, 82, 0, 1040, 1041, 1, 0, 0, 0, 1041, 1042, 6, 60, 16, 0, 1042, 1043, 6, 60, 17, 0, 1043, 1044, 6, 60, 17, 0, 1044, 139, 1, 0, 0, 0, 1045, 1046, 3, 302, 142, 0, 1046, 1047, 1, 0, 0, 0, 1047, 1048, 6, 61, 18, 0, 1048, 1049, 6, 61, 17, 0, 1049, 1050, 6, 61, 17, 0, 1050, 1051, 6, 61, 17, 0, 1051, 141, 1, 0, 0, 0, 1052, 1053, 3, 296, 139, 0, 1053, 1054, 1, 0, 0, 0, 1054, 1055, 6, 62, 23, 0, 1055, 143, 1, 0, 0, 0, 1056, 1057, 3, 298, 140, 0, 1057, 1058, 1, 0, 0, 0, 1058, 1059, 6, 63, 24, 0, 1059, 145, 1, 0, 0, 0, 1060, 1061, 3, 214, 98, 0, 1061, 1062, 1, 0, 0, 0, 1062, 1063, 6, 64, 31, 0, 1063, 147, 1, 0, 0, 0, 1064, 1065, 3, 224, 103, 0, 1065, 1066, 1, 0, 0, 0, 1066, 1067, 6, 65, 22, 0, 1067, 149, 1, 0, 0, 0, 1068, 1069, 3, 228, 105, 0, 1069, 1070, 1, 0, 0, 0, 1070, 1071, 6, 66, 21, 0, 1071, 151, 1, 0, 0, 0, 1072, 1073, 3, 258, 120, 0, 1073, 1074, 1, 0, 0, 0, 1074, 1075, 6, 67, 28, 0, 1075, 153, 1, 0, 0, 0, 1076, 1077, 3, 504, 243, 0, 1077, 1078, 1, 0, 0, 0, 1078, 1079, 6, 68, 32, 0, 1079, 155, 1, 0, 0, 0, 1080, 1081, 3, 308, 145, 0, 1081, 1082, 1, 0, 0, 0, 1082, 1083, 6, 69, 25, 0, 1083, 157, 1, 0, 0, 0, 1084, 1085, 3, 252, 117, 0, 1085, 1086, 1, 0, 0, 0, 1086, 1087, 6, 70, 33, 0, 1087, 159, 1, 0, 0, 0, 1088, 1089, 3, 292, 137, 0, 1089, 1090, 1, 0, 0, 0, 1090, 1091, 6, 71, 34, 0, 1091, 161, 1, 0, 0, 0, 1092, 1093, 3, 288, 135, 0, 1093, 1094, 1, 0, 0, 0, 1094, 1095, 6, 72, 35, 0, 1095, 163, 1, 0, 0, 0, 1096, 1097, 3, 294, 138, 0, 1097, 1098, 1, 0, 0, 0, 1098, 1099, 6, 73, 36, 0, 1099, 165, 1, 0, 0, 0, 1100, 1101, 3, 18, 0, 0, 1101, 1102, 1, 0, 0, 0, 1102, 1103, 6, 74, 0, 0, 1103, 167, 1, 0, 0, 0, 1104, 1105, 3, 20, 1, 0, 1105, 1106, 1, 0, 0, 0, 1106, 1107, 6, 75, 0, 0, 1107, 169, 1, 0, 0, 0, 1108, 1109, 3, 22, 2, 0, 1109, 1110, 1, 0, 0, 0, 1110, 1111, 6, 76, 0, 0, 1111, 171, 1, 0, 0, 0, 1112, 1113, 3, 300, 141, 0, 1113, 1114, 1, 0, 0, 0, 1114, 1115, 6, 77, 37, 0, 1115, 1116, 6, 77, 38, 0, 1116, 173, 1, 0, 0, 0, 1117, 1118, 3, 182, 82, 0, 1118, 1119, 1, 0, 0, 0, 1119, 1120, 6, 78, 16, 0, 1120, 1121, 6, 78, 17, 0, 1121, 175, 1, 0, 0, 0, 1122, 1123, 3, 22, 2, 0, 1123, 1124, 1, 0, 0, 0, 1124, 1125, 6, 79, 0, 0, 1125, 177, 1, 0, 0, 0, 1126, 1127, 3, 18, 0, 0, 1127, 1128, 1, 0, 0, 0, 1128, 1129, 6, 80, 0, 0, 1129, 179, 1, 0, 0, 0, 1130, 1131, 3, 20, 1, 0, 1131, 1132, 1, 0, 0, 0, 1132, 1133, 6, 81, 0, 0, 1133, 181, 1, 0, 0, 0, 1134, 1135, 5, 124, 0, 0, 1135, 1136, 1, 0, 0, 0, 1136, 1137, 6, 82, 17, 0, 1137, 183, 1, 0, 0, 0, 1138, 1139, 7, 25, 0, 0, 1139, 185, 1, 0, 0, 0, 1140, 1141, 7, 26, 0, 0, 1141, 187, 1, 0, 0, 0, 1142, 1143, 5, 92, 0, 0, 1143, 1144, 7, 27, 0, 0, 1144, 189, 1, 0, 0, 0, 1145, 1146, 8, 28, 0, 0, 1146, 191, 1, 0, 0, 0, 1147, 1149, 7, 7, 0, 0, 1148, 1150, 7, 29, 0, 0, 1149, 1148, 1, 0, 0, 0, 1149, 1150, 1, 0, 0, 0, 1150, 1152, 1, 0, 0, 0, 1151, 1153, 3, 184, 83, 0, 1152, 1151, 1, 0, 0, 0, 1153, 1154, 1, 0, 0, 0, 1154, 1152, 1, 0, 0, 0, 1154, 1155, 1, 0, 0, 0, 1155, 193, 1, 0, 0, 0, 1156, 1157, 5, 64, 0, 0, 1157, 195, 1, 0, 0, 0, 1158, 1159, 5, 96, 0, 0, 1159, 197, 1, 0, 0, 0, 1160, 1164, 8, 30, 0, 0, 1161, 1162, 5, 96, 0, 0, 1162, 1164, 5, 96, 0, 0, 1163, 1160, 1, 0, 0, 0, 1163, 1161, 1, 0, 0, 0, 1164, 199, 1, 0, 0, 0, 1165, 1166, 5, 95, 0, 0, 1166, 201, 1, 0, 0, 0, 1167, 1171, 3, 186, 84, 0, 1168, 1171, 3, 184, 83, 0, 1169, 1171, 3, 200, 91, 0, 1170, 1167, 1, 0, 0, 0, 1170, 1168, 1, 0, 0, 0, 1170, 1169, 1, 0, 0, 0, 1171, 203, 1, 0, 0, 0, 1172, 1177, 5, 34, 0, 0, 1173, 1176, 3, 188, 85, 0, 1174, 1176, 3, 190, 86, 0, 1175, 1173, 1, 0, 0, 0, 1175, 1174, 1, 0, 0, 0, 1176, 1179, 1, 0, 0, 0, 1177, 1175, 1, 0, 0, 0, 1177, 1178, 1, 0, 0, 0, 1178, 1180, 1, 0, 0, 0, 1179, 1177, 1, 0, 0, 0, 1180, 1202, 5, 34, 0, 0, 1181, 1182, 5, 34, 0, 0, 1182, 1183, 5, 34, 0, 0, 1183, 1184, 5, 34, 0, 0, 1184, 1188, 1, 0, 0, 0, 1185, 1187, 8, 0, 0, 0, 1186, 1185, 1, 0, 0, 0, 1187, 1190, 1, 0, 0, 0, 1188, 1189, 1, 0, 0, 0, 1188, 1186, 1, 0, 0, 0, 1189, 1191, 1, 0, 0, 0, 1190, 1188, 1, 0, 0, 0, 1191, 1192, 5, 34, 0, 0, 1192, 1193, 5, 34, 0, 0, 1193, 1194, 5, 34, 0, 0, 1194, 1196, 1, 0, 0, 0, 1195, 1197, 5, 34, 0, 0, 1196, 1195, 1, 0, 0, 0, 1196, 1197, 1, 0, 0, 0, 1197, 1199, 1, 0, 0, 0, 1198, 1200, 5, 34, 0, 0, 1199, 1198, 1, 0, 0, 0, 1199, 1200, 1, 0, 0, 0, 1200, 1202, 1, 0, 0, 0, 1201, 1172, 1, 0, 0, 0, 1201, 1181, 1, 0, 0, 0, 1202, 205, 1, 0, 0, 0, 1203, 1205, 3, 184, 83, 0, 1204, 1203, 1, 0, 0, 0, 1205, 1206, 1, 0, 0, 0, 1206, 1204, 1, 0, 0, 0, 1206, 1207, 1, 0, 0, 0, 1207, 207, 1, 0, 0, 0, 1208, 1210, 3, 184, 83, 0, 1209, 1208, 1, 0, 0, 0, 1210, 1211, 1, 0, 0, 0, 1211, 1209, 1, 0, 0, 0, 1211, 1212, 1, 0, 0, 0, 1212, 1213, 1, 0, 0, 0, 1213, 1217, 3, 228, 105, 0, 1214, 1216, 3, 184, 83, 0, 1215, 1214, 1, 0, 0, 0, 1216, 1219, 1, 0, 0, 0, 1217, 1215, 1, 0, 0, 0, 1217, 1218, 1, 0, 0, 0, 1218, 1251, 1, 0, 0, 0, 1219, 1217, 1, 0, 0, 0, 1220, 1222, 3, 228, 105, 0, 1221, 1223, 3, 184, 83, 0, 1222, 1221, 1, 0, 0, 0, 1223, 1224, 1, 0, 0, 0, 1224, 1222, 1, 0, 0, 0, 1224, 1225, 1, 0, 0, 0, 1225, 1251, 1, 0, 0, 0, 1226, 1228, 3, 184, 83, 0, 1227, 1226, 1, 0, 0, 0, 1228, 1229, 1, 0, 0, 0, 1229, 1227, 1, 0, 0, 0, 1229, 1230, 1, 0, 0, 0, 1230, 1238, 1, 0, 0, 0, 1231, 1235, 3, 228, 105, 0, 1232, 1234, 3, 184, 83, 0, 1233, 1232, 1, 0, 0, 0, 1234, 1237, 1, 0, 0, 0, 1235, 1233, 1, 0, 0, 0, 1235, 1236, 1, 0, 0, 0, 1236, 1239, 1, 0, 0, 0, 1237, 1235, 1, 0, 0, 0, 1238, 1231, 1, 0, 0, 0, 1238, 1239, 1, 0, 0, 0, 1239, 1240, 1, 0, 0, 0, 1240, 1241, 3, 192, 87, 0, 1241, 1251, 1, 0, 0, 0, 1242, 1244, 3, 228, 105, 0, 1243, 1245, 3, 184, 83, 0, 1244, 1243, 1, 0, 0, 0, 1245, 1246, 1, 0, 0, 0, 1246, 1244, 1, 0, 0, 0, 1246, 1247, 1, 0, 0, 0, 1247, 1248, 1, 0, 0, 0, 1248, 1249, 3, 192, 87, 0, 1249, 1251, 1, 0, 0, 0, 1250, 1209, 1, 0, 0, 0, 1250, 1220, 1, 0, 0, 0, 1250, 1227, 1, 0, 0, 0, 1250, 1242, 1, 0, 0, 0, 1251, 209, 1, 0, 0, 0, 1252, 1253, 7, 4, 0, 0, 1253, 1254, 7, 5, 0, 0, 1254, 1255, 7, 16, 0, 0, 1255, 211, 1, 0, 0, 0, 1256, 1257, 7, 4, 0, 0, 1257, 1258, 7, 17, 0, 0, 1258, 1259, 7, 2, 0, 0, 1259, 213, 1, 0, 0, 0, 1260, 1261, 5, 61, 0, 0, 1261, 215, 1, 0, 0, 0, 1262, 1263, 7, 31, 0, 0, 1263, 1264, 7, 32, 0, 0, 1264, 217, 1, 0, 0, 0, 1265, 1266, 5, 58, 0, 0, 1266, 1267, 5, 58, 0, 0, 1267, 219, 1, 0, 0, 0, 1268, 1269, 5, 58, 0, 0, 1269, 221, 1, 0, 0, 0, 1270, 1271, 5, 59, 0, 0, 1271, 223, 1, 0, 0, 0, 1272, 1273, 5, 44, 0, 0, 1273, 225, 1, 0, 0, 0, 1274, 1275, 7, 16, 0, 0, 1275, 1276, 7, 7, 0, 0, 1276, 1277, 7, 17, 0, 0, 1277, 1278, 7, 2, 0, 0, 1278, 227, 1, 0, 0, 0, 1279, 1280, 5, 46, 0, 0, 1280, 229, 1, 0, 0, 0, 1281, 1282, 7, 21, 0, 0, 1282, 1283, 7, 4, 0, 0, 1283, 1284, 7, 14, 0, 0, 1284, 1285, 7, 17, 0, 0, 1285, 1286, 7, 7, 0, 0, 1286, 231, 1, 0, 0, 0, 1287, 1288, 7, 21, 0, 0, 1288, 1289, 7, 10, 0, 0, 1289, 1290, 7, 12, 0, 0, 1290, 1291, 7, 17, 0, 0, 1291, 1292, 7, 11, 0, 0, 1292, 233, 1, 0, 0, 0, 1293, 1294, 7, 10, 0, 0, 1294, 1295, 7, 5, 0, 0, 1295, 235, 1, 0, 0, 0, 1296, 1297, 7, 10, 0, 0, 1297, 1298, 7, 17, 0, 0, 1298, 237, 1, 0, 0, 0, 1299, 1300, 7, 14, 0, 0, 1300, 1301, 7, 4, 0, 0, 1301, 1302, 7, 17, 0, 0, 1302, 1303, 7, 11, 0, 0, 1303, 239, 1, 0, 0, 0, 1304, 1305, 7, 14, 0, 0, 1305, 1306, 7, 10, 0, 0, 1306, 1307, 7, 19, 0, 0, 1307, 1308, 7, 7, 0, 0, 1308, 241, 1, 0, 0, 0, 1309, 1310, 7, 5, 0, 0, 1310, 1311, 7, 9, 0, 0, 1311, 1312, 7, 11, 0, 0, 1312, 243, 1, 0, 0, 0, 1313, 1314, 7, 5, 0, 0, 1314, 1315, 7, 22, 0, 0, 1315, 1316, 7, 14, 0, 0, 1316, 1317, 7, 14, 0, 0, 1317, 245, 1, 0, 0, 0, 1318, 1319, 7, 5, 0, 0, 1319, 1320, 7, 22, 0, 0, 1320, 1321, 7, 14, 0, 0, 1321, 1322, 7, 14, 0, 0, 1322, 1323, 7, 17, 0, 0, 1323, 247, 1, 0, 0, 0, 1324, 1325, 7, 9, 0, 0, 1325, 1326, 7, 5, 0, 0, 1326, 249, 1, 0, 0, 0, 1327, 1328, 7, 9, 0, 0, 1328, 1329, 7, 12, 0, 0, 1329, 251, 1, 0, 0, 0, 1330, 1331, 5, 63, 0, 0, 1331, 253, 1, 0, 0, 0, 1332, 1333, 7, 12, 0, 0, 1333, 1334, 7, 14, 0, 0, 1334, 1335, 7, 10, 0, 0, 1335, 1336, 7, 19, 0, 0, 1336, 1337, 7, 7, 0, 0, 1337, 255, 1, 0, 0, 0, 1338, 1339, 7, 11, 0, 0, 1339, 1340, 7, 12, 0, 0, 1340, 1341, 7, 22, 0, 0, 1341, 1342, 7, 7, 0, 0, 1342, 257, 1, 0, 0, 0, 1343, 1344, 7, 20, 0, 0, 1344, 1345, 7, 10, 0, 0, 1345, 1346, 7, 11, 0, 0, 1346, 1347, 7, 3, 0, 0, 1347, 259, 1, 0, 0, 0, 1348, 1349, 5, 61, 0, 0, 1349, 1350, 5, 61, 0, 0, 1350, 261, 1, 0, 0, 0, 1351, 1352, 5, 61, 0, 0, 1352, 1353, 5, 126, 0, 0, 1353, 263, 1, 0, 0, 0, 1354, 1355, 5, 33, 0, 0, 1355, 1356, 5, 61, 0, 0, 1356, 265, 1, 0, 0, 0, 1357, 1358, 5, 60, 0, 0, 1358, 267, 1, 0, 0, 0, 1359, 1360, 5, 60, 0, 0, 1360, 1361, 5, 61, 0, 0, 1361, 269, 1, 0, 0, 0, 1362, 1363, 5, 62, 0, 0, 1363, 271, 1, 0, 0, 0, 1364, 1365, 5, 62, 0, 0, 1365, 1366, 5, 61, 0, 0, 1366, 273, 1, 0, 0, 0, 1367, 1368, 5, 43, 0, 0, 1368, 275, 1, 0, 0, 0, 1369, 1370, 5, 45, 0, 0, 1370, 277, 1, 0, 0, 0, 1371, 1372, 5, 42, 0, 0, 1372, 279, 1, 0, 0, 0, 1373, 1374, 5, 47, 0, 0, 1374, 281, 1, 0, 0, 0, 1375, 1376, 5, 37, 0, 0, 1376, 283, 1, 0, 0, 0, 1377, 1378, 5, 123, 0, 0, 1378, 285, 1, 0, 0, 0, 1379, 1380, 5, 125, 0, 0, 1380, 287, 1, 0, 0, 0, 1381, 1382, 5, 63, 0, 0, 1382, 1383, 5, 63, 0, 0, 1383, 289, 1, 0, 0, 0, 1384, 1385, 3, 50, 16, 0, 1385, 1386, 1, 0, 0, 0, 1386, 1387, 6, 136, 39, 0, 1387, 291, 1, 0, 0, 0, 1388, 1391, 3, 252, 117, 0, 1389, 1392, 3, 186, 84, 0, 1390, 1392, 3, 200, 91, 0, 1391, 1389, 1, 0, 0, 0, 1391, 1390, 1, 0, 0, 0, 1392, 1396, 1, 0, 0, 0, 1393, 1395, 3, 202, 92, 0, 1394, 1393, 1, 0, 0, 0, 1395, 1398, 1, 0, 0, 0, 1396, 1394, 1, 0, 0, 0, 1396, 1397, 1, 0, 0, 0, 1397, 1406, 1, 0, 0, 0, 1398, 1396, 1, 0, 0, 0, 1399, 1401, 3, 252, 117, 0, 1400, 1402, 3, 184, 83, 0, 1401, 1400, 1, 0, 0, 0, 1402, 1403, 1, 0, 0, 0, 1403, 1401, 1, 0, 0, 0, 1403, 1404, 1, 0, 0, 0, 1404, 1406, 1, 0, 0, 0, 1405, 1388, 1, 0, 0, 0, 1405, 1399, 1, 0, 0, 0, 1406, 293, 1, 0, 0, 0, 1407, 1410, 3, 288, 135, 0, 1408, 1411, 3, 186, 84, 0, 1409, 1411, 3, 200, 91, 0, 1410, 1408, 1, 0, 0, 0, 1410, 1409, 1, 0, 0, 0, 1411, 1415, 1, 0, 0, 0, 1412, 1414, 3, 202, 92, 0, 1413, 1412, 1, 0, 0, 0, 1414, 1417, 1, 0, 0, 0, 1415, 1413, 1, 0, 0, 0, 1415, 1416, 1, 0, 0, 0, 1416, 1425, 1, 0, 0, 0, 1417, 1415, 1, 0, 0, 0, 1418, 1420, 3, 288, 135, 0, 1419, 1421, 3, 184, 83, 0, 1420, 1419, 1, 0, 0, 0, 1421, 1422, 1, 0, 0, 0, 1422, 1420, 1, 0, 0, 0, 1422, 1423, 1, 0, 0, 0, 1423, 1425, 1, 0, 0, 0, 1424, 1407, 1, 0, 0, 0, 1424, 1418, 1, 0, 0, 0, 1425, 295, 1, 0, 0, 0, 1426, 1427, 5, 91, 0, 0, 1427, 1428, 1, 0, 0, 0, 1428, 1429, 6, 139, 4, 0, 1429, 1430, 6, 139, 4, 0, 1430, 297, 1, 0, 0, 0, 1431, 1432, 5, 93, 0, 0, 1432, 1433, 1, 0, 0, 0, 1433, 1434, 6, 140, 17, 0, 1434, 1435, 6, 140, 17, 0, 1435, 299, 1, 0, 0, 0, 1436, 1437, 5, 40, 0, 0, 1437, 1438, 1, 0, 0, 0, 1438, 1439, 6, 141, 4, 0, 1439, 1440, 6, 141, 4, 0, 1440, 301, 1, 0, 0, 0, 1441, 1442, 5, 41, 0, 0, 1442, 1443, 1, 0, 0, 0, 1443, 1444, 6, 142, 17, 0, 1444, 1445, 6, 142, 17, 0, 1445, 303, 1, 0, 0, 0, 1446, 1450, 3, 186, 84, 0, 1447, 1449, 3, 202, 92, 0, 1448, 1447, 1, 0, 0, 0, 1449, 1452, 1, 0, 0, 0, 1450, 1448, 1, 0, 0, 0, 1450, 1451, 1, 0, 0, 0, 1451, 1463, 1, 0, 0, 0, 1452, 1450, 1, 0, 0, 0, 1453, 1456, 3, 200, 91, 0, 1454, 1456, 3, 194, 88, 0, 1455, 1453, 1, 0, 0, 0, 1455, 1454, 1, 0, 0, 0, 1456, 1458, 1, 0, 0, 0, 1457, 1459, 3, 202, 92, 0, 1458, 1457, 1, 0, 0, 0, 1459, 1460, 1, 0, 0, 0, 1460, 1458, 1, 0, 0, 0, 1460, 1461, 1, 0, 0, 0, 1461, 1463, 1, 0, 0, 0, 1462, 1446, 1, 0, 0, 0, 1462, 1455, 1, 0, 0, 0, 1463, 305, 1, 0, 0, 0, 1464, 1466, 3, 196, 89, 0, 1465, 1467, 3, 198, 90, 0, 1466, 1465, 1, 0, 0, 0, 1467, 1468, 1, 0, 0, 0, 1468, 1466, 1, 0, 0, 0, 1468, 1469, 1, 0, 0, 0, 1469, 1470, 1, 0, 0, 0, 1470, 1471, 3, 196, 89, 0, 1471, 307, 1, 0, 0, 0, 1472, 1473, 3, 306, 144, 0, 1473, 309, 1, 0, 0, 0, 1474, 1475, 3, 18, 0, 0, 1475, 1476, 1, 0, 0, 0, 1476, 1477, 6, 146, 0, 0, 1477, 311, 1, 0, 0, 0, 1478, 1479, 3, 20, 1, 0, 1479, 1480, 1, 0, 0, 0, 1480, 1481, 6, 147, 0, 0, 1481, 313, 1, 0, 0, 0, 1482, 1483, 3, 22, 2, 0, 1483, 1484, 1, 0, 0, 0, 1484, 1485, 6, 148, 0, 0, 1485, 315, 1, 0, 0, 0, 1486, 1487, 3, 182, 82, 0, 1487, 1488, 1, 0, 0, 0, 1488, 1489, 6, 149, 16, 0, 1489, 1490, 6, 149, 17, 0, 1490, 317, 1, 0, 0, 0, 1491, 1492, 3, 220, 101, 0, 1492, 1493, 1, 0, 0, 0, 1493, 1494, 6, 150, 40, 0, 1494, 319, 1, 0, 0, 0, 1495, 1496, 3, 218, 100, 0, 1496, 1497, 1, 0, 0, 0, 1497, 1498, 6, 151, 41, 0, 1498, 321, 1, 0, 0, 0, 1499, 1500, 3, 224, 103, 0, 1500, 1501, 1, 0, 0, 0, 1501, 1502, 6, 152, 22, 0, 1502, 323, 1, 0, 0, 0, 1503, 1504, 3, 214, 98, 0, 1504, 1505, 1, 0, 0, 0, 1505, 1506, 6, 153, 31, 0, 1506, 325, 1, 0, 0, 0, 1507, 1508, 7, 15, 0, 0, 1508, 1509, 7, 7, 0, 0, 1509, 1510, 7, 11, 0, 0, 1510, 1511, 7, 4, 0, 0, 1511, 1512, 7, 16, 0, 0, 1512, 1513, 7, 4, 0, 0, 1513, 1514, 7, 11, 0, 0, 1514, 1515, 7, 4, 0, 0, 1515, 327, 1, 0, 0, 0, 1516, 1517, 3, 302, 142, 0, 1517, 1518, 1, 0, 0, 0, 1518, 1519, 6, 155, 18, 0, 1519, 1520, 6, 155, 17, 0, 1520, 1521, 6, 155, 17, 0, 1521, 329, 1, 0, 0, 0, 1522, 1523, 3, 300, 141, 0, 1523, 1524, 1, 0, 0, 0, 1524, 1525, 6, 156, 37, 0, 1525, 1526, 6, 156, 38, 0, 1526, 331, 1, 0, 0, 0, 1527, 1531, 8, 33, 0, 0, 1528, 1529, 5, 47, 0, 0, 1529, 1531, 8, 34, 0, 0, 1530, 1527, 1, 0, 0, 0, 1530, 1528, 1, 0, 0, 0, 1531, 333, 1, 0, 0, 0, 1532, 1534, 3, 332, 157, 0, 1533, 1532, 1, 0, 0, 0, 1534, 1535, 1, 0, 0, 0, 1535, 1533, 1, 0, 0, 0, 1535, 1536, 1, 0, 0, 0, 1536, 335, 1, 0, 0, 0, 1537, 1538, 3, 334, 158, 0, 1538, 1539, 1, 0, 0, 0, 1539, 1540, 6, 159, 42, 0, 1540, 337, 1, 0, 0, 0, 1541, 1542, 3, 204, 93, 0, 1542, 1543, 1, 0, 0, 0, 1543, 1544, 6, 160, 30, 0, 1544, 339, 1, 0, 0, 0, 1545, 1546, 3, 18, 0, 0, 1546, 1547, 1, 0, 0, 0, 1547, 1548, 6, 161, 0, 0, 1548, 341, 1, 0, 0, 0, 1549, 1550, 3, 20, 1, 0, 1550, 1551, 1, 0, 0, 0, 1551, 1552, 6, 162, 0, 0, 1552, 343, 1, 0, 0, 0, 1553, 1554, 3, 22, 2, 0, 1554, 1555, 1, 0, 0, 0, 1555, 1556, 6, 163, 0, 0, 1556, 345, 1, 0, 0, 0, 1557, 1558, 3, 300, 141, 0, 1558, 1559, 1, 0, 0, 0, 1559, 1560, 6, 164, 37, 0, 1560, 1561, 6, 164, 38, 0, 1561, 347, 1, 0, 0, 0, 1562, 1563, 3, 302, 142, 0, 1563, 1564, 1, 0, 0, 0, 1564, 1565, 6, 165, 18, 0, 1565, 1566, 6, 165, 17, 0, 1566, 1567, 6, 165, 17, 0, 1567, 349, 1, 0, 0, 0, 1568, 1569, 3, 182, 82, 0, 1569, 1570, 1, 0, 0, 0, 1570, 1571, 6, 166, 16, 0, 1571, 1572, 6, 166, 17, 0, 1572, 351, 1, 0, 0, 0, 1573, 1574, 3, 22, 2, 0, 1574, 1575, 1, 0, 0, 0, 1575, 1576, 6, 167, 0, 0, 1576, 353, 1, 0, 0, 0, 1577, 1578, 3, 18, 0, 0, 1578, 1579, 1, 0, 0, 0, 1579, 1580, 6, 168, 0, 0, 1580, 355, 1, 0, 0, 0, 1581, 1582, 3, 20, 1, 0, 1582, 1583, 1, 0, 0, 0, 1583, 1584, 6, 169, 0, 0, 1584, 357, 1, 0, 0, 0, 1585, 1586, 3, 182, 82, 0, 1586, 1587, 1, 0, 0, 0, 1587, 1588, 6, 170, 16, 0, 1588, 1589, 6, 170, 17, 0, 1589, 359, 1, 0, 0, 0, 1590, 1591, 3, 302, 142, 0, 1591, 1592, 1, 0, 0, 0, 1592, 1593, 6, 171, 18, 0, 1593, 1594, 6, 171, 17, 0, 1594, 1595, 6, 171, 17, 0, 1595, 361, 1, 0, 0, 0, 1596, 1597, 7, 6, 0, 0, 1597, 1598, 7, 12, 0, 0, 1598, 1599, 7, 9, 0, 0, 1599, 1600, 7, 22, 0, 0, 1600, 1601, 7, 8, 0, 0, 1601, 363, 1, 0, 0, 0, 1602, 1603, 7, 17, 0, 0, 1603, 1604, 7, 2, 0, 0, 1604, 1605, 7, 9, 0, 0, 1605, 1606, 7, 12, 0, 0, 1606, 1607, 7, 7, 0, 0, 1607, 365, 1, 0, 0, 0, 1608, 1609, 7, 19, 0, 0, 1609, 1610, 7, 7, 0, 0, 1610, 1611, 7, 32, 0, 0, 1611, 367, 1, 0, 0, 0, 1612, 1613, 3, 258, 120, 0, 1613, 1614, 1, 0, 0, 0, 1614, 1615, 6, 175, 28, 0, 1615, 1616, 6, 175, 17, 0, 1616, 1617, 6, 175, 4, 0, 1617, 369, 1, 0, 0, 0, 1618, 1619, 3, 224, 103, 0, 1619, 1620, 1, 0, 0, 0, 1620, 1621, 6, 176, 22, 0, 1621, 371, 1, 0, 0, 0, 1622, 1623, 3, 216, 99, 0, 1623, 1624, 1, 0, 0, 0, 1624, 1625, 6, 177, 43, 0, 1625, 373, 1, 0, 0, 0, 1626, 1627, 3, 308, 145, 0, 1627, 1628, 1, 0, 0, 0, 1628, 1629, 6, 178, 25, 0, 1629, 375, 1, 0, 0, 0, 1630, 1631, 3, 304, 143, 0, 1631, 1632, 1, 0, 0, 0, 1632, 1633, 6, 179, 26, 0, 1633, 377, 1, 0, 0, 0, 1634, 1635, 3, 18, 0, 0, 1635, 1636, 1, 0, 0, 0, 1636, 1637, 6, 180, 0, 0, 1637, 379, 1, 0, 0, 0, 1638, 1639, 3, 20, 1, 0, 1639, 1640, 1, 0, 0, 0, 1640, 1641, 6, 181, 0, 0, 1641, 381, 1, 0, 0, 0, 1642, 1643, 3, 22, 2, 0, 1643, 1644, 1, 0, 0, 0, 1644, 1645, 6, 182, 0, 0, 1645, 383, 1, 0, 0, 0, 1646, 1647, 7, 17, 0, 0, 1647, 1648, 7, 11, 0, 0, 1648, 1649, 7, 4, 0, 0, 1649, 1650, 7, 11, 0, 0, 1650, 1651, 7, 17, 0, 0, 1651, 1652, 1, 0, 0, 0, 1652, 1653, 6, 183, 17, 0, 1653, 1654, 6, 183, 4, 0, 1654, 385, 1, 0, 0, 0, 1655, 1656, 3, 18, 0, 0, 1656, 1657, 1, 0, 0, 0, 1657, 1658, 6, 184, 0, 0, 1658, 387, 1, 0, 0, 0, 1659, 1660, 3, 20, 1, 0, 1660, 1661, 1, 0, 0, 0, 1661, 1662, 6, 185, 0, 0, 1662, 389, 1, 0, 0, 0, 1663, 1664, 3, 22, 2, 0, 1664, 1665, 1, 0, 0, 0, 1665, 1666, 6, 186, 0, 0, 1666, 391, 1, 0, 0, 0, 1667, 1668, 3, 182, 82, 0, 1668, 1669, 1, 0, 0, 0, 1669, 1670, 6, 187, 16, 0, 1670, 1671, 6, 187, 17, 0, 1671, 393, 1, 0, 0, 0, 1672, 1673, 7, 35, 0, 0, 1673, 1674, 7, 9, 0, 0, 1674, 1675, 7, 10, 0, 0, 1675, 1676, 7, 5, 0, 0, 1676, 395, 1, 0, 0, 0, 1677, 1678, 3, 534, 258, 0, 1678, 1679, 1, 0, 0, 0, 1679, 1680, 6, 189, 20, 0, 1680, 397, 1, 0, 0, 0, 1681, 1682, 3, 248, 115, 0, 1682, 1683, 1, 0, 0, 0, 1683, 1684, 6, 190, 19, 0, 1684, 1685, 6, 190, 17, 0, 1685, 1686, 6, 190, 4, 0, 1686, 399, 1, 0, 0, 0, 1687, 1688, 7, 22, 0, 0, 1688, 1689, 7, 17, 0, 0, 1689, 1690, 7, 10, 0, 0, 1690, 1691, 7, 5, 0, 0, 1691, 1692, 7, 6, 0, 0, 1692, 1693, 1, 0, 0, 0, 1693, 1694, 6, 191, 17, 0, 1694, 1695, 6, 191, 4, 0, 1695, 401, 1, 0, 0, 0, 1696, 1697, 3, 334, 158, 0, 1697, 1698, 1, 0, 0, 0, 1698, 1699, 6, 192, 42, 0, 1699, 403, 1, 0, 0, 0, 1700, 1701, 3, 204, 93, 0, 1701, 1702, 1, 0, 0, 0, 1702, 1703, 6, 193, 30, 0, 1703, 405, 1, 0, 0, 0, 1704, 1705, 3, 220, 101, 0, 1705, 1706, 1, 0, 0, 0, 1706, 1707, 6, 194, 40, 0, 1707, 407, 1, 0, 0, 0, 1708, 1709, 3, 18, 0, 0, 1709, 1710, 1, 0, 0, 0, 1710, 1711, 6, 195, 0, 0, 1711, 409, 1, 0, 0, 0, 1712, 1713, 3, 20, 1, 0, 1713, 1714, 1, 0, 0, 0, 1714, 1715, 6, 196, 0, 0, 1715, 411, 1, 0, 0, 0, 1716, 1717, 3, 22, 2, 0, 1717, 1718, 1, 0, 0, 0, 1718, 1719, 6, 197, 0, 0, 1719, 413, 1, 0, 0, 0, 1720, 1721, 3, 182, 82, 0, 1721, 1722, 1, 0, 0, 0, 1722, 1723, 6, 198, 16, 0, 1723, 1724, 6, 198, 17, 0, 1724, 415, 1, 0, 0, 0, 1725, 1726, 3, 302, 142, 0, 1726, 1727, 1, 0, 0, 0, 1727, 1728, 6, 199, 18, 0, 1728, 1729, 6, 199, 17, 0, 1729, 1730, 6, 199, 17, 0, 1730, 417, 1, 0, 0, 0, 1731, 1732, 3, 220, 101, 0, 1732, 1733, 1, 0, 0, 0, 1733, 1734, 6, 200, 40, 0, 1734, 419, 1, 0, 0, 0, 1735, 1736, 3, 224, 103, 0, 1736, 1737, 1, 0, 0, 0, 1737, 1738, 6, 201, 22, 0, 1738, 421, 1, 0, 0, 0, 1739, 1740, 3, 228, 105, 0, 1740, 1741, 1, 0, 0, 0, 1741, 1742, 6, 202, 21, 0, 1742, 423, 1, 0, 0, 0, 1743, 1744, 3, 248, 115, 0, 1744, 1745, 1, 0, 0, 0, 1745, 1746, 6, 203, 19, 0, 1746, 1747, 6, 203, 44, 0, 1747, 425, 1, 0, 0, 0, 1748, 1749, 3, 334, 158, 0, 1749, 1750, 1, 0, 0, 0, 1750, 1751, 6, 204, 42, 0, 1751, 427, 1, 0, 0, 0, 1752, 1753, 3, 204, 93, 0, 1753, 1754, 1, 0, 0, 0, 1754, 1755, 6, 205, 30, 0, 1755, 429, 1, 0, 0, 0, 1756, 1757, 3, 18, 0, 0, 1757, 1758, 1, 0, 0, 0, 1758, 1759, 6, 206, 0, 0, 1759, 431, 1, 0, 0, 0, 1760, 1761, 3, 20, 1, 0, 1761, 1762, 1, 0, 0, 0, 1762, 1763, 6, 207, 0, 0, 1763, 433, 1, 0, 0, 0, 1764, 1765, 3, 22, 2, 0, 1765, 1766, 1, 0, 0, 0, 1766, 1767, 6, 208, 0, 0, 1767, 435, 1, 0, 0, 0, 1768, 1769, 3, 182, 82, 0, 1769, 1770, 1, 0, 0, 0, 1770, 1771, 6, 209, 16, 0, 1771, 1772, 6, 209, 17, 0, 1772, 1773, 6, 209, 17, 0, 1773, 437, 1, 0, 0, 0, 1774, 1775, 3, 302, 142, 0, 1775, 1776, 1, 0, 0, 0, 1776, 1777, 6, 210, 18, 0, 1777, 1778, 6, 210, 17, 0, 1778, 1779, 6, 210, 17, 0, 1779, 1780, 6, 210, 17, 0, 1780, 439, 1, 0, 0, 0, 1781, 1782, 3, 224, 103, 0, 1782, 1783, 1, 0, 0, 0, 1783, 1784, 6, 211, 22, 0, 1784, 441, 1, 0, 0, 0, 1785, 1786, 3, 228, 105, 0, 1786, 1787, 1, 0, 0, 0, 1787, 1788, 6, 212, 21, 0, 1788, 443, 1, 0, 0, 0, 1789, 1790, 3, 504, 243, 0, 1790, 1791, 1, 0, 0, 0, 1791, 1792, 6, 213, 32, 0, 1792, 445, 1, 0, 0, 0, 1793, 1794, 3, 18, 0, 0, 1794, 1795, 1, 0, 0, 0, 1795, 1796, 6, 214, 0, 0, 1796, 447, 1, 0, 0, 0, 1797, 1798, 3, 20, 1, 0, 1798, 1799, 1, 0, 0, 0, 1799, 1800, 6, 215, 0, 0, 1800, 449, 1, 0, 0, 0, 1801, 1802, 3, 22, 2, 0, 1802, 1803, 1, 0, 0, 0, 1803, 1804, 6, 216, 0, 0, 1804, 451, 1, 0, 0, 0, 1805, 1806, 3, 182, 82, 0, 1806, 1807, 1, 0, 0, 0, 1807, 1808, 6, 217, 16, 0, 1808, 1809, 6, 217, 17, 0, 1809, 453, 1, 0, 0, 0, 1810, 1811, 3, 302, 142, 0, 1811, 1812, 1, 0, 0, 0, 1812, 1813, 6, 218, 18, 0, 1813, 1814, 6, 218, 17, 0, 1814, 1815, 6, 218, 17, 0, 1815, 455, 1, 0, 0, 0, 1816, 1817, 3, 296, 139, 0, 1817, 1818, 1, 0, 0, 0, 1818, 1819, 6, 219, 23, 0, 1819, 457, 1, 0, 0, 0, 1820, 1821, 3, 298, 140, 0, 1821, 1822, 1, 0, 0, 0, 1822, 1823, 6, 220, 24, 0, 1823, 459, 1, 0, 0, 0, 1824, 1825, 3, 228, 105, 0, 1825, 1826, 1, 0, 0, 0, 1826, 1827, 6, 221, 21, 0, 1827, 461, 1, 0, 0, 0, 1828, 1829, 3, 252, 117, 0, 1829, 1830, 1, 0, 0, 0, 1830, 1831, 6, 222, 33, 0, 1831, 463, 1, 0, 0, 0, 1832, 1833, 3, 292, 137, 0, 1833, 1834, 1, 0, 0, 0, 1834, 1835, 6, 223, 34, 0, 1835, 465, 1, 0, 0, 0, 1836, 1837, 3, 288, 135, 0, 1837, 1838, 1, 0, 0, 0, 1838, 1839, 6, 224, 35, 0, 1839, 467, 1, 0, 0, 0, 1840, 1841, 3, 294, 138, 0, 1841, 1842, 1, 0, 0, 0, 1842, 1843, 6, 225, 36, 0, 1843, 469, 1, 0, 0, 0, 1844, 1845, 3, 308, 145, 0, 1845, 1846, 1, 0, 0, 0, 1846, 1847, 6, 226, 25, 0, 1847, 471, 1, 0, 0, 0, 1848, 1849, 3, 304, 143, 0, 1849, 1850, 1, 0, 0, 0, 1850, 1851, 6, 227, 26, 0, 1851, 473, 1, 0, 0, 0, 1852, 1853, 3, 18, 0, 0, 1853, 1854, 1, 0, 0, 0, 1854, 1855, 6, 228, 0, 0, 1855, 475, 1, 0, 0, 0, 1856, 1857, 3, 20, 1, 0, 1857, 1858, 1, 0, 0, 0, 1858, 1859, 6, 229, 0, 0, 1859, 477, 1, 0, 0, 0, 1860, 1861, 3, 22, 2, 0, 1861, 1862, 1, 0, 0, 0, 1862, 1863, 6, 230, 0, 0, 1863, 479, 1, 0, 0, 0, 1864, 1865, 3, 182, 82, 0, 1865, 1866, 1, 0, 0, 0, 1866, 1867, 6, 231, 16, 0, 1867, 1868, 6, 231, 17, 0, 1868, 481, 1, 0, 0, 0, 1869, 1870, 3, 302, 142, 0, 1870, 1871, 1, 0, 0, 0, 1871, 1872, 6, 232, 18, 0, 1872, 1873, 6, 232, 17, 0, 1873, 1874, 6, 232, 17, 0, 1874, 483, 1, 0, 0, 0, 1875, 1876, 3, 228, 105, 0, 1876, 1877, 1, 0, 0, 0, 1877, 1878, 6, 233, 21, 0, 1878, 485, 1, 0, 0, 0, 1879, 1880, 3, 296, 139, 0, 1880, 1881, 1, 0, 0, 0, 1881, 1882, 6, 234, 23, 0, 1882, 487, 1, 0, 0, 0, 1883, 1884, 3, 298, 140, 0, 1884, 1885, 1, 0, 0, 0, 1885, 1886, 6, 235, 24, 0, 1886, 489, 1, 0, 0, 0, 1887, 1888, 3, 224, 103, 0, 1888, 1889, 1, 0, 0, 0, 1889, 1890, 6, 236, 22, 0, 1890, 491, 1, 0, 0, 0, 1891, 1892, 3, 252, 117, 0, 1892, 1893, 1, 0, 0, 0, 1893, 1894, 6, 237, 33, 0, 1894, 493, 1, 0, 0, 0, 1895, 1896, 3, 292, 137, 0, 1896, 1897, 1, 0, 0, 0, 1897, 1898, 6, 238, 34, 0, 1898, 495, 1, 0, 0, 0, 1899, 1900, 3, 288, 135, 0, 1900, 1901, 1, 0, 0, 0, 1901, 1902, 6, 239, 35, 0, 1902, 497, 1, 0, 0, 0, 1903, 1904, 3, 294, 138, 0, 1904, 1905, 1, 0, 0, 0, 1905, 1906, 6, 240, 36, 0, 1906, 499, 1, 0, 0, 0, 1907, 1912, 3, 186, 84, 0, 1908, 1912, 3, 184, 83, 0, 1909, 1912, 3, 200, 91, 0, 1910, 1912, 3, 278, 130, 0, 1911, 1907, 1, 0, 0, 0, 1911, 1908, 1, 0, 0, 0, 1911, 1909, 1, 0, 0, 0, 1911, 1910, 1, 0, 0, 0, 1912, 501, 1, 0, 0, 0, 1913, 1916, 3, 186, 84, 0, 1914, 1916, 3, 278, 130, 0, 1915, 1913, 1, 0, 0, 0, 1915, 1914, 1, 0, 0, 0, 1916, 1920, 1, 0, 0, 0, 1917, 1919, 3, 500, 241, 0, 1918, 1917, 1, 0, 0, 0, 1919, 1922, 1, 0, 0, 0, 1920, 1918, 1, 0, 0, 0, 1920, 1921, 1, 0, 0, 0, 1921, 1933, 1, 0, 0, 0, 1922, 1920, 1, 0, 0, 0, 1923, 1926, 3, 200, 91, 0, 1924, 1926, 3, 194, 88, 0, 1925, 1923, 1, 0, 0, 0, 1925, 1924, 1, 0, 0, 0, 1926, 1928, 1, 0, 0, 0, 1927, 1929, 3, 500, 241, 0, 1928, 1927, 1, 0, 0, 0, 1929, 1930, 1, 0, 0, 0, 1930, 1928, 1, 0, 0, 0, 1930, 1931, 1, 0, 0, 0, 1931, 1933, 1, 0, 0, 0, 1932, 1915, 1, 0, 0, 0, 1932, 1925, 1, 0, 0, 0, 1933, 503, 1, 0, 0, 0, 1934, 1937, 3, 502, 242, 0, 1935, 1937, 3, 306, 144, 0, 1936, 1934, 1, 0, 0, 0, 1936, 1935, 1, 0, 0, 0, 1937, 1938, 1, 0, 0, 0, 1938, 1936, 1, 0, 0, 0, 1938, 1939, 1, 0, 0, 0, 1939, 505, 1, 0, 0, 0, 1940, 1941, 3, 18, 0, 0, 1941, 1942, 1, 0, 0, 0, 1942, 1943, 6, 244, 0, 0, 1943, 507, 1, 0, 0, 0, 1944, 1945, 3, 20, 1, 0, 1945, 1946, 1, 0, 0, 0, 1946, 1947, 6, 245, 0, 0, 1947, 509, 1, 0, 0, 0, 1948, 1949, 3, 22, 2, 0, 1949, 1950, 1, 0, 0, 0, 1950, 1951, 6, 246, 0, 0, 1951, 511, 1, 0, 0, 0, 1952, 1953, 3, 182, 82, 0, 1953, 1954, 1, 0, 0, 0, 1954, 1955, 6, 247, 16, 0, 1955, 1956, 6, 247, 17, 0, 1956, 513, 1, 0, 0, 0, 1957, 1958, 3, 302, 142, 0, 1958, 1959, 1, 0, 0, 0, 1959, 1960, 6, 248, 18, 0, 1960, 1961, 6, 248, 17, 0, 1961, 1962, 6, 248, 17, 0, 1962, 515, 1, 0, 0, 0, 1963, 1964, 3, 296, 139, 0, 1964, 1965, 1, 0, 0, 0, 1965, 1966, 6, 249, 23, 0, 1966, 517, 1, 0, 0, 0, 1967, 1968, 3, 298, 140, 0, 1968, 1969, 1, 0, 0, 0, 1969, 1970, 6, 250, 24, 0, 1970, 519, 1, 0, 0, 0, 1971, 1972, 3, 214, 98, 0, 1972, 1973, 1, 0, 0, 0, 1973, 1974, 6, 251, 31, 0, 1974, 521, 1, 0, 0, 0, 1975, 1976, 3, 224, 103, 0, 1976, 1977, 1, 0, 0, 0, 1977, 1978, 6, 252, 22, 0, 1978, 523, 1, 0, 0, 0, 1979, 1980, 3, 228, 105, 0, 1980, 1981, 1, 0, 0, 0, 1981, 1982, 6, 253, 21, 0, 1982, 525, 1, 0, 0, 0, 1983, 1984, 3, 252, 117, 0, 1984, 1985, 1, 0, 0, 0, 1985, 1986, 6, 254, 33, 0, 1986, 527, 1, 0, 0, 0, 1987, 1988, 3, 292, 137, 0, 1988, 1989, 1, 0, 0, 0, 1989, 1990, 6, 255, 34, 0, 1990, 529, 1, 0, 0, 0, 1991, 1992, 3, 288, 135, 0, 1992, 1993, 1, 0, 0, 0, 1993, 1994, 6, 256, 35, 0, 1994, 531, 1, 0, 0, 0, 1995, 1996, 3, 294, 138, 0, 1996, 1997, 1, 0, 0, 0, 1997, 1998, 6, 257, 36, 0, 1998, 533, 1, 0, 0, 0, 1999, 2000, 7, 4, 0, 0, 2000, 2001, 7, 17, 0, 0, 2001, 535, 1, 0, 0, 0, 2002, 2003, 3, 504, 243, 0, 2003, 2004, 1, 0, 0, 0, 2004, 2005, 6, 259, 32, 0, 2005, 537, 1, 0, 0, 0, 2006, 2007, 3, 18, 0, 0, 2007, 2008, 1, 0, 0, 0, 2008, 2009, 6, 260, 0, 0, 2009, 539, 1, 0, 0, 0, 2010, 2011, 3, 20, 1, 0, 2011, 2012, 1, 0, 0, 0, 2012, 2013, 6, 261, 0, 0, 2013, 541, 1, 0, 0, 0, 2014, 2015, 3, 22, 2, 0, 2015, 2016, 1, 0, 0, 0, 2016, 2017, 6, 262, 0, 0, 2017, 543, 1, 0, 0, 0, 2018, 2019, 3, 256, 119, 0, 2019, 2020, 1, 0, 0, 0, 2020, 2021, 6, 263, 45, 0, 2021, 545, 1, 0, 0, 0, 2022, 2023, 3, 230, 106, 0, 2023, 2024, 1, 0, 0, 0, 2024, 2025, 6, 264, 46, 0, 2025, 547, 1, 0, 0, 0, 2026, 2027, 3, 244, 113, 0, 2027, 2028, 1, 0, 0, 0, 2028, 2029, 6, 265, 47, 0, 2029, 549, 1, 0, 0, 0, 2030, 2031, 3, 222, 102, 0, 2031, 2032, 1, 0, 0, 0, 2032, 2033, 6, 266, 48, 0, 2033, 2034, 6, 266, 17, 0, 2034, 551, 1, 0, 0, 0, 2035, 2036, 3, 214, 98, 0, 2036, 2037, 1, 0, 0, 0, 2037, 2038, 6, 267, 31, 0, 2038, 553, 1, 0, 0, 0, 2039, 2040, 3, 204, 93, 0, 2040, 2041, 1, 0, 0, 0, 2041, 2042, 6, 268, 30, 0, 2042, 555, 1, 0, 0, 0, 2043, 2044, 3, 304, 143, 0, 2044, 2045, 1, 0, 0, 0, 2045, 2046, 6, 269, 26, 0, 2046, 557, 1, 0, 0, 0, 2047, 2048, 3, 308, 145, 0, 2048, 2049, 1, 0, 0, 0, 2049, 2050, 6, 270, 25, 0, 2050, 559, 1, 0, 0, 0, 2051, 2052, 3, 208, 95, 0, 2052, 2053, 1, 0, 0, 0, 2053, 2054, 6, 271, 49, 0, 2054, 561, 1, 0, 0, 0, 2055, 2056, 3, 206, 94, 0, 2056, 2057, 1, 0, 0, 0, 2057, 2058, 6, 272, 50, 0, 2058, 563, 1, 0, 0, 0, 2059, 2060, 3, 224, 103, 0, 2060, 2061, 1, 0, 0, 0, 2061, 2062, 6, 273, 22, 0, 2062, 565, 1, 0, 0, 0, 2063, 2064, 3, 228, 105, 0, 2064, 2065, 1, 0, 0, 0, 2065, 2066, 6, 274, 21, 0, 2066, 567, 1, 0, 0, 0, 2067, 2068, 3, 252, 117, 0, 2068, 2069, 1, 0, 0, 0, 2069, 2070, 6, 275, 33, 0, 2070, 569, 1, 0, 0, 0, 2071, 2072, 3, 292, 137, 0, 2072, 2073, 1, 0, 0, 0, 2073, 2074, 6, 276, 34, 0, 2074, 571, 1, 0, 0, 0, 2075, 2076, 3, 288, 135, 0, 2076, 2077, 1, 0, 0, 0, 2077, 2078, 6, 277, 35, 0, 2078, 573, 1, 0, 0, 0, 2079, 2080, 3, 294, 138, 0, 2080, 2081, 1, 0, 0, 0, 2081, 2082, 6, 278, 36, 0, 2082, 575, 1, 0, 0, 0, 2083, 2084, 3, 296, 139, 0, 2084, 2085, 1, 0, 0, 0, 2085, 2086, 6, 279, 23, 0, 2086, 577, 1, 0, 0, 0, 2087, 2088, 3, 298, 140, 0, 2088, 2089, 1, 0, 0, 0, 2089, 2090, 6, 280, 24, 0, 2090, 579, 1, 0, 0, 0, 2091, 2092, 3, 504, 243, 0, 2092, 2093, 1, 0, 0, 0, 2093, 2094, 6, 281, 32, 0, 2094, 581, 1, 0, 0, 0, 2095, 2096, 3, 18, 0, 0, 2096, 2097, 1, 0, 0, 0, 2097, 2098, 6, 282, 0, 0, 2098, 583, 1, 0, 0, 0, 2099, 2100, 3, 20, 1, 0, 2100, 2101, 1, 0, 0, 0, 2101, 2102, 6, 283, 0, 0, 2102, 585, 1, 0, 0, 0, 2103, 2104, 3, 22, 2, 0, 2104, 2105, 1, 0, 0, 0, 2105, 2106, 6, 284, 0, 0, 2106, 587, 1, 0, 0, 0, 2107, 2108, 3, 182, 82, 0, 2108, 2109, 1, 0, 0, 0, 2109, 2110, 6, 285, 16, 0, 2110, 2111, 6, 285, 17, 0, 2111, 589, 1, 0, 0, 0, 2112, 2113, 7, 10, 0, 0, 2113, 2114, 7, 5, 0, 0, 2114, 2115, 7, 21, 0, 0, 2115, 2116, 7, 9, 0, 0, 2116, 591, 1, 0, 0, 0, 2117, 2118, 3, 18, 0, 0, 2118, 2119, 1, 0, 0, 0, 2119, 2120, 6, 287, 0, 0, 2120, 593, 1, 0, 0, 0, 2121, 2122, 3, 20, 1, 0, 2122, 2123, 1, 0, 0, 0, 2123, 2124, 6, 288, 0, 0, 2124, 595, 1, 0, 0, 0, 2125, 2126, 3, 22, 2, 0, 2126, 2127, 1, 0, 0, 0, 2127, 2128, 6, 289, 0, 0, 2128, 597, 1, 0, 0, 0, 70, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 604, 608, 611, 620, 622, 633, 923, 1008, 1012, 1017, 1149, 1154, 1163, 1170, 1175, 1177, 1188, 1196, 1199, 1201, 1206, 1211, 1217, 1224, 1229, 1235, 1238, 1246, 1250, 1391, 1396, 1403, 1405, 1410, 1415, 1422, 1424, 1450, 1455, 1460, 1462, 1468, 1530, 1535, 1911, 1915, 1920, 1925, 1930, 1932, 1936, 1938, 51, 0, 1, 0, 5, 1, 0, 5, 2, 0, 5, 4, 0, 5, 5, 0, 5, 6, 0, 5, 7, 0, 5, 8, 0, 5, 9, 0, 5, 10, 0, 5, 11, 0, 5, 13, 0, 5, 14, 0, 5, 15, 0, 5, 16, 0, 5, 17, 0, 7, 50, 0, 4, 0, 0, 7, 99, 0, 7, 73, 0, 7, 141, 0, 7, 63, 0, 7, 61, 0, 7, 96, 0, 7, 97, 0, 7, 101, 0, 7, 100, 0, 5, 3, 0, 7, 78, 0, 7, 40, 0, 7, 51, 0, 7, 56, 0, 7, 137, 0, 7, 75, 0, 7, 94, 0, 7, 93, 0, 7, 95, 0, 7, 98, 0, 5, 0, 0, 7, 17, 0, 7, 59, 0, 7, 58, 0, 7, 106, 0, 7, 57, 0, 5, 12, 0, 7, 77, 0, 7, 64, 0, 7, 71, 0, 7, 60, 0, 7, 53, 0, 7, 52, 0] \ No newline at end of file diff --git a/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/parser/EsqlBaseLexer.java b/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/parser/EsqlBaseLexer.java index cc957ebf63620..363fe3dbb292f 100644 --- a/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/parser/EsqlBaseLexer.java +++ b/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/parser/EsqlBaseLexer.java @@ -105,7 +105,7 @@ private static String[] makeRuleNames() { "LP", "RP", "UNQUOTED_IDENTIFIER", "QUOTED_ID", "QUOTED_IDENTIFIER", "EXPR_LINE_COMMENT", "EXPR_MULTILINE_COMMENT", "EXPR_WS", "FROM_PIPE", "FROM_COLON", "FROM_SELECTOR", "FROM_COMMA", "FROM_ASSIGN", "METADATA", - "FROM_RP", "UNQUOTED_SOURCE_PART", "UNQUOTED_SOURCE", "FROM_UNQUOTED_SOURCE", + "FROM_RP", "FROM_LP", "UNQUOTED_SOURCE_PART", "UNQUOTED_SOURCE", "FROM_UNQUOTED_SOURCE", "FROM_QUOTED_SOURCE", "FROM_LINE_COMMENT", "FROM_MULTILINE_COMMENT", "FROM_WS", "FORK_LP", "FORK_RP", "FORK_PIPE", "FORK_WS", "FORK_LINE_COMMENT", "FORK_MULTILINE_COMMENT", "FUSE_PIPE", "FUSE_RP", "GROUP", "SCORE", "KEY", @@ -328,7 +328,7 @@ private boolean DEV_INSIST_sempred(RuleContext _localctx, int predIndex) { } public static final String _serializedATN = - "\u0004\u0000\u0097\u0849\u0006\uffff\uffff\u0006\uffff\uffff\u0006\uffff"+ + "\u0004\u0000\u0097\u0851\u0006\uffff\uffff\u0006\uffff\uffff\u0006\uffff"+ "\uffff\u0006\uffff\uffff\u0006\uffff\uffff\u0006\uffff\uffff\u0006\uffff"+ "\uffff\u0006\uffff\uffff\u0006\uffff\uffff\u0006\uffff\uffff\u0006\uffff"+ "\uffff\u0006\uffff\uffff\u0006\uffff\uffff\u0006\uffff\uffff\u0006\uffff"+ @@ -415,91 +415,91 @@ private boolean DEV_INSIST_sempred(RuleContext _localctx, int predIndex) { "\u0115\u0007\u0115\u0002\u0116\u0007\u0116\u0002\u0117\u0007\u0117\u0002"+ "\u0118\u0007\u0118\u0002\u0119\u0007\u0119\u0002\u011a\u0007\u011a\u0002"+ "\u011b\u0007\u011b\u0002\u011c\u0007\u011c\u0002\u011d\u0007\u011d\u0002"+ - "\u011e\u0007\u011e\u0002\u011f\u0007\u011f\u0002\u0120\u0007\u0120\u0001"+ - "\u0000\u0001\u0000\u0001\u0000\u0001\u0000\u0005\u0000\u0259\b\u0000\n"+ - "\u0000\f\u0000\u025c\t\u0000\u0001\u0000\u0003\u0000\u025f\b\u0000\u0001"+ - "\u0000\u0003\u0000\u0262\b\u0000\u0001\u0000\u0001\u0000\u0001\u0001\u0001"+ - "\u0001\u0001\u0001\u0001\u0001\u0001\u0001\u0005\u0001\u026b\b\u0001\n"+ - "\u0001\f\u0001\u026e\t\u0001\u0001\u0001\u0001\u0001\u0001\u0001\u0001"+ - "\u0001\u0001\u0001\u0001\u0002\u0004\u0002\u0276\b\u0002\u000b\u0002\f"+ - "\u0002\u0277\u0001\u0002\u0001\u0002\u0001\u0003\u0001\u0003\u0001\u0003"+ + "\u011e\u0007\u011e\u0002\u011f\u0007\u011f\u0002\u0120\u0007\u0120\u0002"+ + "\u0121\u0007\u0121\u0001\u0000\u0001\u0000\u0001\u0000\u0001\u0000\u0005"+ + "\u0000\u025b\b\u0000\n\u0000\f\u0000\u025e\t\u0000\u0001\u0000\u0003\u0000"+ + "\u0261\b\u0000\u0001\u0000\u0003\u0000\u0264\b\u0000\u0001\u0000\u0001"+ + "\u0000\u0001\u0001\u0001\u0001\u0001\u0001\u0001\u0001\u0001\u0001\u0005"+ + "\u0001\u026d\b\u0001\n\u0001\f\u0001\u0270\t\u0001\u0001\u0001\u0001\u0001"+ + "\u0001\u0001\u0001\u0001\u0001\u0001\u0001\u0002\u0004\u0002\u0278\b\u0002"+ + "\u000b\u0002\f\u0002\u0279\u0001\u0002\u0001\u0002\u0001\u0003\u0001\u0003"+ "\u0001\u0003\u0001\u0003\u0001\u0003\u0001\u0003\u0001\u0003\u0001\u0003"+ "\u0001\u0003\u0001\u0003\u0001\u0003\u0001\u0003\u0001\u0003\u0001\u0003"+ - "\u0001\u0004\u0001\u0004\u0001\u0004\u0001\u0004\u0001\u0004\u0001\u0004"+ - "\u0001\u0004\u0001\u0004\u0001\u0004\u0001\u0005\u0001\u0005\u0001\u0005"+ + "\u0001\u0003\u0001\u0004\u0001\u0004\u0001\u0004\u0001\u0004\u0001\u0004"+ + "\u0001\u0004\u0001\u0004\u0001\u0004\u0001\u0004\u0001\u0005\u0001\u0005"+ "\u0001\u0005\u0001\u0005\u0001\u0005\u0001\u0005\u0001\u0005\u0001\u0005"+ - "\u0001\u0005\u0001\u0005\u0001\u0006\u0001\u0006\u0001\u0006\u0001\u0006"+ + "\u0001\u0005\u0001\u0005\u0001\u0005\u0001\u0006\u0001\u0006\u0001\u0006"+ "\u0001\u0006\u0001\u0006\u0001\u0006\u0001\u0006\u0001\u0006\u0001\u0006"+ - "\u0001\u0006\u0001\u0006\u0001\u0006\u0001\u0007\u0001\u0007\u0001\u0007"+ + "\u0001\u0006\u0001\u0006\u0001\u0006\u0001\u0006\u0001\u0007\u0001\u0007"+ "\u0001\u0007\u0001\u0007\u0001\u0007\u0001\u0007\u0001\u0007\u0001\u0007"+ - "\u0001\u0007\u0001\b\u0001\b\u0001\b\u0001\b\u0001\b\u0001\b\u0001\b\u0001"+ - "\t\u0001\t\u0001\t\u0001\t\u0001\t\u0001\t\u0001\t\u0001\n\u0001\n\u0001"+ - "\n\u0001\n\u0001\n\u0001\n\u0001\n\u0001\n\u0001\u000b\u0001\u000b\u0001"+ - "\u000b\u0001\u000b\u0001\u000b\u0001\u000b\u0001\u000b\u0001\u000b\u0001"+ - "\u000b\u0001\f\u0001\f\u0001\f\u0001\f\u0001\f\u0001\f\u0001\r\u0001\r"+ - "\u0001\r\u0001\r\u0001\r\u0001\r\u0001\r\u0001\r\u0001\r\u0001\u000e\u0001"+ - "\u000e\u0001\u000e\u0001\u000e\u0001\u000e\u0001\u000e\u0001\u000e\u0001"+ - "\u000f\u0001\u000f\u0001\u000f\u0001\u000f\u0001\u000f\u0001\u000f\u0001"+ - "\u000f\u0001\u000f\u0001\u0010\u0001\u0010\u0001\u0010\u0001\u0010\u0001"+ - "\u0010\u0001\u0010\u0001\u0010\u0001\u0010\u0001\u0011\u0001\u0011\u0001"+ - "\u0011\u0001\u0011\u0001\u0011\u0001\u0011\u0001\u0011\u0001\u0012\u0001"+ - "\u0012\u0001\u0012\u0001\u0012\u0001\u0012\u0001\u0013\u0001\u0013\u0001"+ - "\u0013\u0001\u0013\u0001\u0013\u0001\u0013\u0001\u0013\u0001\u0014\u0001"+ - "\u0014\u0001\u0014\u0001\u0014\u0001\u0014\u0001\u0014\u0001\u0014\u0001"+ - "\u0014\u0001\u0015\u0001\u0015\u0001\u0015\u0001\u0015\u0001\u0015\u0001"+ - "\u0015\u0001\u0015\u0001\u0015\u0001\u0015\u0001\u0016\u0001\u0016\u0001"+ - "\u0016\u0001\u0016\u0001\u0016\u0001\u0016\u0001\u0016\u0001\u0016\u0001"+ - "\u0016\u0001\u0016\u0001\u0016\u0001\u0016\u0001\u0016\u0001\u0016\u0001"+ - "\u0017\u0001\u0017\u0001\u0017\u0001\u0017\u0001\u0017\u0001\u0017\u0001"+ - "\u0017\u0001\u0017\u0001\u0017\u0001\u0018\u0001\u0018\u0001\u0018\u0001"+ - "\u0018\u0001\u0018\u0001\u0018\u0001\u0018\u0001\u0018\u0001\u0019\u0001"+ - "\u0019\u0001\u0019\u0001\u0019\u0001\u0019\u0001\u0019\u0001\u0019\u0001"+ - "\u0019\u0001\u001a\u0001\u001a\u0001\u001a\u0001\u001a\u0001\u001a\u0001"+ - "\u001a\u0001\u001a\u0001\u001a\u0001\u001a\u0001\u001b\u0001\u001b\u0001"+ - "\u001b\u0001\u001b\u0001\u001b\u0001\u001b\u0001\u001b\u0001\u001b\u0001"+ - "\u001b\u0001\u001b\u0001\u001b\u0001\u001b\u0001\u001c\u0001\u001c\u0001"+ - "\u001c\u0001\u001c\u0001\u001c\u0001\u001c\u0001\u001c\u0001\u001c\u0001"+ - "\u001c\u0001\u001c\u0001\u001c\u0001\u001c\u0001\u001d\u0001\u001d\u0001"+ - "\u001d\u0001\u001d\u0001\u001d\u0001\u001d\u0001\u001d\u0001\u001e\u0001"+ - "\u001e\u0001\u001e\u0001\u001e\u0001\u001e\u0001\u001e\u0001\u001e\u0001"+ - "\u001f\u0001\u001f\u0001\u001f\u0001\u001f\u0001\u001f\u0001\u001f\u0001"+ - "\u001f\u0001\u001f\u0001\u001f\u0001\u001f\u0001\u001f\u0001\u001f\u0001"+ - " \u0001 \u0001 \u0001 \u0001 \u0001 \u0001 \u0001 \u0001 \u0001!\u0001"+ - "!\u0001!\u0001!\u0001!\u0001!\u0001\"\u0001\"\u0001\"\u0001\"\u0001\""+ - "\u0001\"\u0001\"\u0001#\u0004#\u0398\b#\u000b#\f#\u0399\u0001#\u0001#"+ - "\u0001$\u0001$\u0001$\u0001$\u0001$\u0001%\u0001%\u0001%\u0001%\u0001"+ - "%\u0001%\u0001&\u0001&\u0001&\u0001&\u0001\'\u0001\'\u0001\'\u0001\'\u0001"+ - "(\u0001(\u0001(\u0001(\u0001)\u0001)\u0001)\u0001)\u0001*\u0001*\u0001"+ - "*\u0001*\u0001+\u0001+\u0001+\u0001+\u0001,\u0001,\u0001,\u0001,\u0001"+ - "-\u0001-\u0001-\u0001-\u0001.\u0001.\u0001.\u0001.\u0001/\u0001/\u0001"+ - "/\u0001/\u00010\u00010\u00010\u00010\u00011\u00011\u00011\u00011\u0001"+ - "1\u00012\u00012\u00012\u00012\u00012\u00012\u00013\u00013\u00013\u0001"+ - "3\u00013\u00014\u00014\u00014\u00014\u00014\u00015\u00015\u00016\u0004"+ - "6\u03ed\b6\u000b6\f6\u03ee\u00016\u00016\u00036\u03f3\b6\u00016\u0004"+ - "6\u03f6\b6\u000b6\f6\u03f7\u00017\u00017\u00017\u00017\u00018\u00018\u0001"+ - "8\u00018\u00019\u00019\u00019\u00019\u0001:\u0001:\u0001:\u0001:\u0001"+ - ";\u0001;\u0001;\u0001;\u0001<\u0001<\u0001<\u0001<\u0001<\u0001<\u0001"+ - "=\u0001=\u0001=\u0001=\u0001=\u0001=\u0001=\u0001>\u0001>\u0001>\u0001"+ - ">\u0001?\u0001?\u0001?\u0001?\u0001@\u0001@\u0001@\u0001@\u0001A\u0001"+ - "A\u0001A\u0001A\u0001B\u0001B\u0001B\u0001B\u0001C\u0001C\u0001C\u0001"+ - "C\u0001D\u0001D\u0001D\u0001D\u0001E\u0001E\u0001E\u0001E\u0001F\u0001"+ - "F\u0001F\u0001F\u0001G\u0001G\u0001G\u0001G\u0001H\u0001H\u0001H\u0001"+ - "H\u0001I\u0001I\u0001I\u0001I\u0001J\u0001J\u0001J\u0001J\u0001K\u0001"+ - "K\u0001K\u0001K\u0001L\u0001L\u0001L\u0001L\u0001M\u0001M\u0001M\u0001"+ - "M\u0001M\u0001N\u0001N\u0001N\u0001N\u0001N\u0001O\u0001O\u0001O\u0001"+ - "O\u0001P\u0001P\u0001P\u0001P\u0001Q\u0001Q\u0001Q\u0001Q\u0001R\u0001"+ - "R\u0001R\u0001R\u0001S\u0001S\u0001T\u0001T\u0001U\u0001U\u0001U\u0001"+ - "V\u0001V\u0001W\u0001W\u0003W\u047c\bW\u0001W\u0004W\u047f\bW\u000bW\f"+ - "W\u0480\u0001X\u0001X\u0001Y\u0001Y\u0001Z\u0001Z\u0001Z\u0003Z\u048a"+ - "\bZ\u0001[\u0001[\u0001\\\u0001\\\u0001\\\u0003\\\u0491\b\\\u0001]\u0001"+ - "]\u0001]\u0005]\u0496\b]\n]\f]\u0499\t]\u0001]\u0001]\u0001]\u0001]\u0001"+ - "]\u0001]\u0005]\u04a1\b]\n]\f]\u04a4\t]\u0001]\u0001]\u0001]\u0001]\u0001"+ - "]\u0003]\u04ab\b]\u0001]\u0003]\u04ae\b]\u0003]\u04b0\b]\u0001^\u0004"+ - "^\u04b3\b^\u000b^\f^\u04b4\u0001_\u0004_\u04b8\b_\u000b_\f_\u04b9\u0001"+ - "_\u0001_\u0005_\u04be\b_\n_\f_\u04c1\t_\u0001_\u0001_\u0004_\u04c5\b_"+ - "\u000b_\f_\u04c6\u0001_\u0004_\u04ca\b_\u000b_\f_\u04cb\u0001_\u0001_"+ - "\u0005_\u04d0\b_\n_\f_\u04d3\t_\u0003_\u04d5\b_\u0001_\u0001_\u0001_\u0001"+ - "_\u0004_\u04db\b_\u000b_\f_\u04dc\u0001_\u0001_\u0003_\u04e1\b_\u0001"+ + "\u0001\u0007\u0001\u0007\u0001\b\u0001\b\u0001\b\u0001\b\u0001\b\u0001"+ + "\b\u0001\b\u0001\t\u0001\t\u0001\t\u0001\t\u0001\t\u0001\t\u0001\t\u0001"+ + "\n\u0001\n\u0001\n\u0001\n\u0001\n\u0001\n\u0001\n\u0001\n\u0001\u000b"+ + "\u0001\u000b\u0001\u000b\u0001\u000b\u0001\u000b\u0001\u000b\u0001\u000b"+ + "\u0001\u000b\u0001\u000b\u0001\f\u0001\f\u0001\f\u0001\f\u0001\f\u0001"+ + "\f\u0001\r\u0001\r\u0001\r\u0001\r\u0001\r\u0001\r\u0001\r\u0001\r\u0001"+ + "\r\u0001\u000e\u0001\u000e\u0001\u000e\u0001\u000e\u0001\u000e\u0001\u000e"+ + "\u0001\u000e\u0001\u000f\u0001\u000f\u0001\u000f\u0001\u000f\u0001\u000f"+ + "\u0001\u000f\u0001\u000f\u0001\u000f\u0001\u0010\u0001\u0010\u0001\u0010"+ + "\u0001\u0010\u0001\u0010\u0001\u0010\u0001\u0010\u0001\u0010\u0001\u0011"+ + "\u0001\u0011\u0001\u0011\u0001\u0011\u0001\u0011\u0001\u0011\u0001\u0011"+ + "\u0001\u0012\u0001\u0012\u0001\u0012\u0001\u0012\u0001\u0012\u0001\u0013"+ + "\u0001\u0013\u0001\u0013\u0001\u0013\u0001\u0013\u0001\u0013\u0001\u0013"+ + "\u0001\u0014\u0001\u0014\u0001\u0014\u0001\u0014\u0001\u0014\u0001\u0014"+ + "\u0001\u0014\u0001\u0014\u0001\u0015\u0001\u0015\u0001\u0015\u0001\u0015"+ + "\u0001\u0015\u0001\u0015\u0001\u0015\u0001\u0015\u0001\u0015\u0001\u0016"+ + "\u0001\u0016\u0001\u0016\u0001\u0016\u0001\u0016\u0001\u0016\u0001\u0016"+ + "\u0001\u0016\u0001\u0016\u0001\u0016\u0001\u0016\u0001\u0016\u0001\u0016"+ + "\u0001\u0016\u0001\u0017\u0001\u0017\u0001\u0017\u0001\u0017\u0001\u0017"+ + "\u0001\u0017\u0001\u0017\u0001\u0017\u0001\u0017\u0001\u0018\u0001\u0018"+ + "\u0001\u0018\u0001\u0018\u0001\u0018\u0001\u0018\u0001\u0018\u0001\u0018"+ + "\u0001\u0019\u0001\u0019\u0001\u0019\u0001\u0019\u0001\u0019\u0001\u0019"+ + "\u0001\u0019\u0001\u0019\u0001\u001a\u0001\u001a\u0001\u001a\u0001\u001a"+ + "\u0001\u001a\u0001\u001a\u0001\u001a\u0001\u001a\u0001\u001a\u0001\u001b"+ + "\u0001\u001b\u0001\u001b\u0001\u001b\u0001\u001b\u0001\u001b\u0001\u001b"+ + "\u0001\u001b\u0001\u001b\u0001\u001b\u0001\u001b\u0001\u001b\u0001\u001c"+ + "\u0001\u001c\u0001\u001c\u0001\u001c\u0001\u001c\u0001\u001c\u0001\u001c"+ + "\u0001\u001c\u0001\u001c\u0001\u001c\u0001\u001c\u0001\u001c\u0001\u001d"+ + "\u0001\u001d\u0001\u001d\u0001\u001d\u0001\u001d\u0001\u001d\u0001\u001d"+ + "\u0001\u001e\u0001\u001e\u0001\u001e\u0001\u001e\u0001\u001e\u0001\u001e"+ + "\u0001\u001e\u0001\u001f\u0001\u001f\u0001\u001f\u0001\u001f\u0001\u001f"+ + "\u0001\u001f\u0001\u001f\u0001\u001f\u0001\u001f\u0001\u001f\u0001\u001f"+ + "\u0001\u001f\u0001 \u0001 \u0001 \u0001 \u0001 \u0001 \u0001 \u0001 \u0001"+ + " \u0001!\u0001!\u0001!\u0001!\u0001!\u0001!\u0001\"\u0001\"\u0001\"\u0001"+ + "\"\u0001\"\u0001\"\u0001\"\u0001#\u0004#\u039a\b#\u000b#\f#\u039b\u0001"+ + "#\u0001#\u0001$\u0001$\u0001$\u0001$\u0001$\u0001%\u0001%\u0001%\u0001"+ + "%\u0001%\u0001%\u0001&\u0001&\u0001&\u0001&\u0001\'\u0001\'\u0001\'\u0001"+ + "\'\u0001(\u0001(\u0001(\u0001(\u0001)\u0001)\u0001)\u0001)\u0001*\u0001"+ + "*\u0001*\u0001*\u0001+\u0001+\u0001+\u0001+\u0001,\u0001,\u0001,\u0001"+ + ",\u0001-\u0001-\u0001-\u0001-\u0001.\u0001.\u0001.\u0001.\u0001/\u0001"+ + "/\u0001/\u0001/\u00010\u00010\u00010\u00010\u00011\u00011\u00011\u0001"+ + "1\u00011\u00012\u00012\u00012\u00012\u00012\u00012\u00013\u00013\u0001"+ + "3\u00013\u00013\u00014\u00014\u00014\u00014\u00014\u00015\u00015\u0001"+ + "6\u00046\u03ef\b6\u000b6\f6\u03f0\u00016\u00016\u00036\u03f5\b6\u0001"+ + "6\u00046\u03f8\b6\u000b6\f6\u03f9\u00017\u00017\u00017\u00017\u00018\u0001"+ + "8\u00018\u00018\u00019\u00019\u00019\u00019\u0001:\u0001:\u0001:\u0001"+ + ":\u0001;\u0001;\u0001;\u0001;\u0001<\u0001<\u0001<\u0001<\u0001<\u0001"+ + "<\u0001=\u0001=\u0001=\u0001=\u0001=\u0001=\u0001=\u0001>\u0001>\u0001"+ + ">\u0001>\u0001?\u0001?\u0001?\u0001?\u0001@\u0001@\u0001@\u0001@\u0001"+ + "A\u0001A\u0001A\u0001A\u0001B\u0001B\u0001B\u0001B\u0001C\u0001C\u0001"+ + "C\u0001C\u0001D\u0001D\u0001D\u0001D\u0001E\u0001E\u0001E\u0001E\u0001"+ + "F\u0001F\u0001F\u0001F\u0001G\u0001G\u0001G\u0001G\u0001H\u0001H\u0001"+ + "H\u0001H\u0001I\u0001I\u0001I\u0001I\u0001J\u0001J\u0001J\u0001J\u0001"+ + "K\u0001K\u0001K\u0001K\u0001L\u0001L\u0001L\u0001L\u0001M\u0001M\u0001"+ + "M\u0001M\u0001M\u0001N\u0001N\u0001N\u0001N\u0001N\u0001O\u0001O\u0001"+ + "O\u0001O\u0001P\u0001P\u0001P\u0001P\u0001Q\u0001Q\u0001Q\u0001Q\u0001"+ + "R\u0001R\u0001R\u0001R\u0001S\u0001S\u0001T\u0001T\u0001U\u0001U\u0001"+ + "U\u0001V\u0001V\u0001W\u0001W\u0003W\u047e\bW\u0001W\u0004W\u0481\bW\u000b"+ + "W\fW\u0482\u0001X\u0001X\u0001Y\u0001Y\u0001Z\u0001Z\u0001Z\u0003Z\u048c"+ + "\bZ\u0001[\u0001[\u0001\\\u0001\\\u0001\\\u0003\\\u0493\b\\\u0001]\u0001"+ + "]\u0001]\u0005]\u0498\b]\n]\f]\u049b\t]\u0001]\u0001]\u0001]\u0001]\u0001"+ + "]\u0001]\u0005]\u04a3\b]\n]\f]\u04a6\t]\u0001]\u0001]\u0001]\u0001]\u0001"+ + "]\u0003]\u04ad\b]\u0001]\u0003]\u04b0\b]\u0003]\u04b2\b]\u0001^\u0004"+ + "^\u04b5\b^\u000b^\f^\u04b6\u0001_\u0004_\u04ba\b_\u000b_\f_\u04bb\u0001"+ + "_\u0001_\u0005_\u04c0\b_\n_\f_\u04c3\t_\u0001_\u0001_\u0004_\u04c7\b_"+ + "\u000b_\f_\u04c8\u0001_\u0004_\u04cc\b_\u000b_\f_\u04cd\u0001_\u0001_"+ + "\u0005_\u04d2\b_\n_\f_\u04d5\t_\u0003_\u04d7\b_\u0001_\u0001_\u0001_\u0001"+ + "_\u0004_\u04dd\b_\u000b_\f_\u04de\u0001_\u0001_\u0003_\u04e3\b_\u0001"+ "`\u0001`\u0001`\u0001`\u0001a\u0001a\u0001a\u0001a\u0001b\u0001b\u0001"+ "c\u0001c\u0001c\u0001d\u0001d\u0001d\u0001e\u0001e\u0001f\u0001f\u0001"+ "g\u0001g\u0001h\u0001h\u0001h\u0001h\u0001h\u0001i\u0001i\u0001j\u0001"+ @@ -515,20 +515,20 @@ private boolean DEV_INSIST_sempred(RuleContext _localctx, int predIndex) { "\u0081\u0001\u0081\u0001\u0082\u0001\u0082\u0001\u0083\u0001\u0083\u0001"+ "\u0084\u0001\u0084\u0001\u0085\u0001\u0085\u0001\u0086\u0001\u0086\u0001"+ "\u0087\u0001\u0087\u0001\u0087\u0001\u0088\u0001\u0088\u0001\u0088\u0001"+ - "\u0088\u0001\u0089\u0001\u0089\u0001\u0089\u0003\u0089\u056e\b\u0089\u0001"+ - "\u0089\u0005\u0089\u0571\b\u0089\n\u0089\f\u0089\u0574\t\u0089\u0001\u0089"+ - "\u0001\u0089\u0004\u0089\u0578\b\u0089\u000b\u0089\f\u0089\u0579\u0003"+ - "\u0089\u057c\b\u0089\u0001\u008a\u0001\u008a\u0001\u008a\u0003\u008a\u0581"+ - "\b\u008a\u0001\u008a\u0005\u008a\u0584\b\u008a\n\u008a\f\u008a\u0587\t"+ - "\u008a\u0001\u008a\u0001\u008a\u0004\u008a\u058b\b\u008a\u000b\u008a\f"+ - "\u008a\u058c\u0003\u008a\u058f\b\u008a\u0001\u008b\u0001\u008b\u0001\u008b"+ + "\u0088\u0001\u0089\u0001\u0089\u0001\u0089\u0003\u0089\u0570\b\u0089\u0001"+ + "\u0089\u0005\u0089\u0573\b\u0089\n\u0089\f\u0089\u0576\t\u0089\u0001\u0089"+ + "\u0001\u0089\u0004\u0089\u057a\b\u0089\u000b\u0089\f\u0089\u057b\u0003"+ + "\u0089\u057e\b\u0089\u0001\u008a\u0001\u008a\u0001\u008a\u0003\u008a\u0583"+ + "\b\u008a\u0001\u008a\u0005\u008a\u0586\b\u008a\n\u008a\f\u008a\u0589\t"+ + "\u008a\u0001\u008a\u0001\u008a\u0004\u008a\u058d\b\u008a\u000b\u008a\f"+ + "\u008a\u058e\u0003\u008a\u0591\b\u008a\u0001\u008b\u0001\u008b\u0001\u008b"+ "\u0001\u008b\u0001\u008b\u0001\u008c\u0001\u008c\u0001\u008c\u0001\u008c"+ "\u0001\u008c\u0001\u008d\u0001\u008d\u0001\u008d\u0001\u008d\u0001\u008d"+ "\u0001\u008e\u0001\u008e\u0001\u008e\u0001\u008e\u0001\u008e\u0001\u008f"+ - "\u0001\u008f\u0005\u008f\u05a7\b\u008f\n\u008f\f\u008f\u05aa\t\u008f\u0001"+ - "\u008f\u0001\u008f\u0003\u008f\u05ae\b\u008f\u0001\u008f\u0004\u008f\u05b1"+ - "\b\u008f\u000b\u008f\f\u008f\u05b2\u0003\u008f\u05b5\b\u008f\u0001\u0090"+ - "\u0001\u0090\u0004\u0090\u05b9\b\u0090\u000b\u0090\f\u0090\u05ba\u0001"+ + "\u0001\u008f\u0005\u008f\u05a9\b\u008f\n\u008f\f\u008f\u05ac\t\u008f\u0001"+ + "\u008f\u0001\u008f\u0003\u008f\u05b0\b\u008f\u0001\u008f\u0004\u008f\u05b3"+ + "\b\u008f\u000b\u008f\f\u008f\u05b4\u0003\u008f\u05b7\b\u008f\u0001\u0090"+ + "\u0001\u0090\u0004\u0090\u05bb\b\u0090\u000b\u0090\f\u0090\u05bc\u0001"+ "\u0090\u0001\u0090\u0001\u0091\u0001\u0091\u0001\u0092\u0001\u0092\u0001"+ "\u0092\u0001\u0092\u0001\u0093\u0001\u0093\u0001\u0093\u0001\u0093\u0001"+ "\u0094\u0001\u0094\u0001\u0094\u0001\u0094\u0001\u0095\u0001\u0095\u0001"+ @@ -537,108 +537,109 @@ private boolean DEV_INSIST_sempred(RuleContext _localctx, int predIndex) { "\u0098\u0001\u0098\u0001\u0098\u0001\u0099\u0001\u0099\u0001\u0099\u0001"+ "\u0099\u0001\u009a\u0001\u009a\u0001\u009a\u0001\u009a\u0001\u009a\u0001"+ "\u009a\u0001\u009a\u0001\u009a\u0001\u009a\u0001\u009b\u0001\u009b\u0001"+ - "\u009b\u0001\u009b\u0001\u009b\u0001\u009c\u0001\u009c\u0001\u009c\u0003"+ - "\u009c\u05f3\b\u009c\u0001\u009d\u0004\u009d\u05f6\b\u009d\u000b\u009d"+ - "\f\u009d\u05f7\u0001\u009e\u0001\u009e\u0001\u009e\u0001\u009e\u0001\u009f"+ - "\u0001\u009f\u0001\u009f\u0001\u009f\u0001\u00a0\u0001\u00a0\u0001\u00a0"+ - "\u0001\u00a0\u0001\u00a1\u0001\u00a1\u0001\u00a1\u0001\u00a1\u0001\u00a2"+ - "\u0001\u00a2\u0001\u00a2\u0001\u00a2\u0001\u00a3\u0001\u00a3\u0001\u00a3"+ - "\u0001\u00a3\u0001\u00a3\u0001\u00a4\u0001\u00a4\u0001\u00a4\u0001\u00a4"+ + "\u009b\u0001\u009b\u0001\u009b\u0001\u009b\u0001\u009c\u0001\u009c\u0001"+ + "\u009c\u0001\u009c\u0001\u009c\u0001\u009d\u0001\u009d\u0001\u009d\u0003"+ + "\u009d\u05fb\b\u009d\u0001\u009e\u0004\u009e\u05fe\b\u009e\u000b\u009e"+ + "\f\u009e\u05ff\u0001\u009f\u0001\u009f\u0001\u009f\u0001\u009f\u0001\u00a0"+ + "\u0001\u00a0\u0001\u00a0\u0001\u00a0\u0001\u00a1\u0001\u00a1\u0001\u00a1"+ + "\u0001\u00a1\u0001\u00a2\u0001\u00a2\u0001\u00a2\u0001\u00a2\u0001\u00a3"+ + "\u0001\u00a3\u0001\u00a3\u0001\u00a3\u0001\u00a4\u0001\u00a4\u0001\u00a4"+ "\u0001\u00a4\u0001\u00a4\u0001\u00a5\u0001\u00a5\u0001\u00a5\u0001\u00a5"+ - "\u0001\u00a5\u0001\u00a6\u0001\u00a6\u0001\u00a6\u0001\u00a6\u0001\u00a7"+ - "\u0001\u00a7\u0001\u00a7\u0001\u00a7\u0001\u00a8\u0001\u00a8\u0001\u00a8"+ - "\u0001\u00a8\u0001\u00a9\u0001\u00a9\u0001\u00a9\u0001\u00a9\u0001\u00a9"+ - "\u0001\u00aa\u0001\u00aa\u0001\u00aa\u0001\u00aa\u0001\u00aa\u0001\u00aa"+ + "\u0001\u00a5\u0001\u00a5\u0001\u00a6\u0001\u00a6\u0001\u00a6\u0001\u00a6"+ + "\u0001\u00a6\u0001\u00a7\u0001\u00a7\u0001\u00a7\u0001\u00a7\u0001\u00a8"+ + "\u0001\u00a8\u0001\u00a8\u0001\u00a8\u0001\u00a9\u0001\u00a9\u0001\u00a9"+ + "\u0001\u00a9\u0001\u00aa\u0001\u00aa\u0001\u00aa\u0001\u00aa\u0001\u00aa"+ "\u0001\u00ab\u0001\u00ab\u0001\u00ab\u0001\u00ab\u0001\u00ab\u0001\u00ab"+ "\u0001\u00ac\u0001\u00ac\u0001\u00ac\u0001\u00ac\u0001\u00ac\u0001\u00ac"+ - "\u0001\u00ad\u0001\u00ad\u0001\u00ad\u0001\u00ad\u0001\u00ae\u0001\u00ae"+ + "\u0001\u00ad\u0001\u00ad\u0001\u00ad\u0001\u00ad\u0001\u00ad\u0001\u00ad"+ "\u0001\u00ae\u0001\u00ae\u0001\u00ae\u0001\u00ae\u0001\u00af\u0001\u00af"+ - "\u0001\u00af\u0001\u00af\u0001\u00b0\u0001\u00b0\u0001\u00b0\u0001\u00b0"+ - "\u0001\u00b1\u0001\u00b1\u0001\u00b1\u0001\u00b1\u0001\u00b2\u0001\u00b2"+ - "\u0001\u00b2\u0001\u00b2\u0001\u00b3\u0001\u00b3\u0001\u00b3\u0001\u00b3"+ - "\u0001\u00b4\u0001\u00b4\u0001\u00b4\u0001\u00b4\u0001\u00b5\u0001\u00b5"+ - "\u0001\u00b5\u0001\u00b5\u0001\u00b6\u0001\u00b6\u0001\u00b6\u0001\u00b6"+ - "\u0001\u00b6\u0001\u00b6\u0001\u00b6\u0001\u00b6\u0001\u00b6\u0001\u00b7"+ - "\u0001\u00b7\u0001\u00b7\u0001\u00b7\u0001\u00b8\u0001\u00b8\u0001\u00b8"+ - "\u0001\u00b8\u0001\u00b9\u0001\u00b9\u0001\u00b9\u0001\u00b9\u0001\u00ba"+ - "\u0001\u00ba\u0001\u00ba\u0001\u00ba\u0001\u00ba\u0001\u00bb\u0001\u00bb"+ - "\u0001\u00bb\u0001\u00bb\u0001\u00bb\u0001\u00bc\u0001\u00bc\u0001\u00bc"+ - "\u0001\u00bc\u0001\u00bd\u0001\u00bd\u0001\u00bd\u0001\u00bd\u0001\u00bd"+ + "\u0001\u00af\u0001\u00af\u0001\u00af\u0001\u00af\u0001\u00b0\u0001\u00b0"+ + "\u0001\u00b0\u0001\u00b0\u0001\u00b1\u0001\u00b1\u0001\u00b1\u0001\u00b1"+ + "\u0001\u00b2\u0001\u00b2\u0001\u00b2\u0001\u00b2\u0001\u00b3\u0001\u00b3"+ + "\u0001\u00b3\u0001\u00b3\u0001\u00b4\u0001\u00b4\u0001\u00b4\u0001\u00b4"+ + "\u0001\u00b5\u0001\u00b5\u0001\u00b5\u0001\u00b5\u0001\u00b6\u0001\u00b6"+ + "\u0001\u00b6\u0001\u00b6\u0001\u00b7\u0001\u00b7\u0001\u00b7\u0001\u00b7"+ + "\u0001\u00b7\u0001\u00b7\u0001\u00b7\u0001\u00b7\u0001\u00b7\u0001\u00b8"+ + "\u0001\u00b8\u0001\u00b8\u0001\u00b8\u0001\u00b9\u0001\u00b9\u0001\u00b9"+ + "\u0001\u00b9\u0001\u00ba\u0001\u00ba\u0001\u00ba\u0001\u00ba\u0001\u00bb"+ + "\u0001\u00bb\u0001\u00bb\u0001\u00bb\u0001\u00bb\u0001\u00bc\u0001\u00bc"+ + "\u0001\u00bc\u0001\u00bc\u0001\u00bc\u0001\u00bd\u0001\u00bd\u0001\u00bd"+ "\u0001\u00bd\u0001\u00be\u0001\u00be\u0001\u00be\u0001\u00be\u0001\u00be"+ - "\u0001\u00be\u0001\u00be\u0001\u00be\u0001\u00be\u0001\u00bf\u0001\u00bf"+ - "\u0001\u00bf\u0001\u00bf\u0001\u00c0\u0001\u00c0\u0001\u00c0\u0001\u00c0"+ - "\u0001\u00c1\u0001\u00c1\u0001\u00c1\u0001\u00c1\u0001\u00c2\u0001\u00c2"+ - "\u0001\u00c2\u0001\u00c2\u0001\u00c3\u0001\u00c3\u0001\u00c3\u0001\u00c3"+ - "\u0001\u00c4\u0001\u00c4\u0001\u00c4\u0001\u00c4\u0001\u00c5\u0001\u00c5"+ - "\u0001\u00c5\u0001\u00c5\u0001\u00c5\u0001\u00c6\u0001\u00c6\u0001\u00c6"+ + "\u0001\u00be\u0001\u00bf\u0001\u00bf\u0001\u00bf\u0001\u00bf\u0001\u00bf"+ + "\u0001\u00bf\u0001\u00bf\u0001\u00bf\u0001\u00bf\u0001\u00c0\u0001\u00c0"+ + "\u0001\u00c0\u0001\u00c0\u0001\u00c1\u0001\u00c1\u0001\u00c1\u0001\u00c1"+ + "\u0001\u00c2\u0001\u00c2\u0001\u00c2\u0001\u00c2\u0001\u00c3\u0001\u00c3"+ + "\u0001\u00c3\u0001\u00c3\u0001\u00c4\u0001\u00c4\u0001\u00c4\u0001\u00c4"+ + "\u0001\u00c5\u0001\u00c5\u0001\u00c5\u0001\u00c5\u0001\u00c6\u0001\u00c6"+ "\u0001\u00c6\u0001\u00c6\u0001\u00c6\u0001\u00c7\u0001\u00c7\u0001\u00c7"+ - "\u0001\u00c7\u0001\u00c8\u0001\u00c8\u0001\u00c8\u0001\u00c8\u0001\u00c9"+ - "\u0001\u00c9\u0001\u00c9\u0001\u00c9\u0001\u00ca\u0001\u00ca\u0001\u00ca"+ - "\u0001\u00ca\u0001\u00ca\u0001\u00cb\u0001\u00cb\u0001\u00cb\u0001\u00cb"+ - "\u0001\u00cc\u0001\u00cc\u0001\u00cc\u0001\u00cc\u0001\u00cd\u0001\u00cd"+ - "\u0001\u00cd\u0001\u00cd\u0001\u00ce\u0001\u00ce\u0001\u00ce\u0001\u00ce"+ - "\u0001\u00cf\u0001\u00cf\u0001\u00cf\u0001\u00cf\u0001\u00d0\u0001\u00d0"+ + "\u0001\u00c7\u0001\u00c7\u0001\u00c7\u0001\u00c8\u0001\u00c8\u0001\u00c8"+ + "\u0001\u00c8\u0001\u00c9\u0001\u00c9\u0001\u00c9\u0001\u00c9\u0001\u00ca"+ + "\u0001\u00ca\u0001\u00ca\u0001\u00ca\u0001\u00cb\u0001\u00cb\u0001\u00cb"+ + "\u0001\u00cb\u0001\u00cb\u0001\u00cc\u0001\u00cc\u0001\u00cc\u0001\u00cc"+ + "\u0001\u00cd\u0001\u00cd\u0001\u00cd\u0001\u00cd\u0001\u00ce\u0001\u00ce"+ + "\u0001\u00ce\u0001\u00ce\u0001\u00cf\u0001\u00cf\u0001\u00cf\u0001\u00cf"+ "\u0001\u00d0\u0001\u00d0\u0001\u00d0\u0001\u00d0\u0001\u00d1\u0001\u00d1"+ - "\u0001\u00d1\u0001\u00d1\u0001\u00d1\u0001\u00d1\u0001\u00d1\u0001\u00d2"+ - "\u0001\u00d2\u0001\u00d2\u0001\u00d2\u0001\u00d3\u0001\u00d3\u0001\u00d3"+ - "\u0001\u00d3\u0001\u00d4\u0001\u00d4\u0001\u00d4\u0001\u00d4\u0001\u00d5"+ - "\u0001\u00d5\u0001\u00d5\u0001\u00d5\u0001\u00d6\u0001\u00d6\u0001\u00d6"+ - "\u0001\u00d6\u0001\u00d7\u0001\u00d7\u0001\u00d7\u0001\u00d7\u0001\u00d8"+ - "\u0001\u00d8\u0001\u00d8\u0001\u00d8\u0001\u00d8\u0001\u00d9\u0001\u00d9"+ + "\u0001\u00d1\u0001\u00d1\u0001\u00d1\u0001\u00d1\u0001\u00d2\u0001\u00d2"+ + "\u0001\u00d2\u0001\u00d2\u0001\u00d2\u0001\u00d2\u0001\u00d2\u0001\u00d3"+ + "\u0001\u00d3\u0001\u00d3\u0001\u00d3\u0001\u00d4\u0001\u00d4\u0001\u00d4"+ + "\u0001\u00d4\u0001\u00d5\u0001\u00d5\u0001\u00d5\u0001\u00d5\u0001\u00d6"+ + "\u0001\u00d6\u0001\u00d6\u0001\u00d6\u0001\u00d7\u0001\u00d7\u0001\u00d7"+ + "\u0001\u00d7\u0001\u00d8\u0001\u00d8\u0001\u00d8\u0001\u00d8\u0001\u00d9"+ "\u0001\u00d9\u0001\u00d9\u0001\u00d9\u0001\u00d9\u0001\u00da\u0001\u00da"+ - "\u0001\u00da\u0001\u00da\u0001\u00db\u0001\u00db\u0001\u00db\u0001\u00db"+ - "\u0001\u00dc\u0001\u00dc\u0001\u00dc\u0001\u00dc\u0001\u00dd\u0001\u00dd"+ - "\u0001\u00dd\u0001\u00dd\u0001\u00de\u0001\u00de\u0001\u00de\u0001\u00de"+ - "\u0001\u00df\u0001\u00df\u0001\u00df\u0001\u00df\u0001\u00e0\u0001\u00e0"+ - "\u0001\u00e0\u0001\u00e0\u0001\u00e1\u0001\u00e1\u0001\u00e1\u0001\u00e1"+ - "\u0001\u00e2\u0001\u00e2\u0001\u00e2\u0001\u00e2\u0001\u00e3\u0001\u00e3"+ - "\u0001\u00e3\u0001\u00e3\u0001\u00e4\u0001\u00e4\u0001\u00e4\u0001\u00e4"+ - "\u0001\u00e5\u0001\u00e5\u0001\u00e5\u0001\u00e5\u0001\u00e6\u0001\u00e6"+ - "\u0001\u00e6\u0001\u00e6\u0001\u00e6\u0001\u00e7\u0001\u00e7\u0001\u00e7"+ + "\u0001\u00da\u0001\u00da\u0001\u00da\u0001\u00da\u0001\u00db\u0001\u00db"+ + "\u0001\u00db\u0001\u00db\u0001\u00dc\u0001\u00dc\u0001\u00dc\u0001\u00dc"+ + "\u0001\u00dd\u0001\u00dd\u0001\u00dd\u0001\u00dd\u0001\u00de\u0001\u00de"+ + "\u0001\u00de\u0001\u00de\u0001\u00df\u0001\u00df\u0001\u00df\u0001\u00df"+ + "\u0001\u00e0\u0001\u00e0\u0001\u00e0\u0001\u00e0\u0001\u00e1\u0001\u00e1"+ + "\u0001\u00e1\u0001\u00e1\u0001\u00e2\u0001\u00e2\u0001\u00e2\u0001\u00e2"+ + "\u0001\u00e3\u0001\u00e3\u0001\u00e3\u0001\u00e3\u0001\u00e4\u0001\u00e4"+ + "\u0001\u00e4\u0001\u00e4\u0001\u00e5\u0001\u00e5\u0001\u00e5\u0001\u00e5"+ + "\u0001\u00e6\u0001\u00e6\u0001\u00e6\u0001\u00e6\u0001\u00e7\u0001\u00e7"+ "\u0001\u00e7\u0001\u00e7\u0001\u00e7\u0001\u00e8\u0001\u00e8\u0001\u00e8"+ - "\u0001\u00e8\u0001\u00e9\u0001\u00e9\u0001\u00e9\u0001\u00e9\u0001\u00ea"+ - "\u0001\u00ea\u0001\u00ea\u0001\u00ea\u0001\u00eb\u0001\u00eb\u0001\u00eb"+ - "\u0001\u00eb\u0001\u00ec\u0001\u00ec\u0001\u00ec\u0001\u00ec\u0001\u00ed"+ - "\u0001\u00ed\u0001\u00ed\u0001\u00ed\u0001\u00ee\u0001\u00ee\u0001\u00ee"+ - "\u0001\u00ee\u0001\u00ef\u0001\u00ef\u0001\u00ef\u0001\u00ef\u0001\u00f0"+ - "\u0001\u00f0\u0001\u00f0\u0001\u00f0\u0003\u00f0\u0770\b\u00f0\u0001\u00f1"+ - "\u0001\u00f1\u0003\u00f1\u0774\b\u00f1\u0001\u00f1\u0005\u00f1\u0777\b"+ - "\u00f1\n\u00f1\f\u00f1\u077a\t\u00f1\u0001\u00f1\u0001\u00f1\u0003\u00f1"+ - "\u077e\b\u00f1\u0001\u00f1\u0004\u00f1\u0781\b\u00f1\u000b\u00f1\f\u00f1"+ - "\u0782\u0003\u00f1\u0785\b\u00f1\u0001\u00f2\u0001\u00f2\u0004\u00f2\u0789"+ - "\b\u00f2\u000b\u00f2\f\u00f2\u078a\u0001\u00f3\u0001\u00f3\u0001\u00f3"+ - "\u0001\u00f3\u0001\u00f4\u0001\u00f4\u0001\u00f4\u0001\u00f4\u0001\u00f5"+ - "\u0001\u00f5\u0001\u00f5\u0001\u00f5\u0001\u00f6\u0001\u00f6\u0001\u00f6"+ - "\u0001\u00f6\u0001\u00f6\u0001\u00f7\u0001\u00f7\u0001\u00f7\u0001\u00f7"+ + "\u0001\u00e8\u0001\u00e8\u0001\u00e8\u0001\u00e9\u0001\u00e9\u0001\u00e9"+ + "\u0001\u00e9\u0001\u00ea\u0001\u00ea\u0001\u00ea\u0001\u00ea\u0001\u00eb"+ + "\u0001\u00eb\u0001\u00eb\u0001\u00eb\u0001\u00ec\u0001\u00ec\u0001\u00ec"+ + "\u0001\u00ec\u0001\u00ed\u0001\u00ed\u0001\u00ed\u0001\u00ed\u0001\u00ee"+ + "\u0001\u00ee\u0001\u00ee\u0001\u00ee\u0001\u00ef\u0001\u00ef\u0001\u00ef"+ + "\u0001\u00ef\u0001\u00f0\u0001\u00f0\u0001\u00f0\u0001\u00f0\u0001\u00f1"+ + "\u0001\u00f1\u0001\u00f1\u0001\u00f1\u0003\u00f1\u0778\b\u00f1\u0001\u00f2"+ + "\u0001\u00f2\u0003\u00f2\u077c\b\u00f2\u0001\u00f2\u0005\u00f2\u077f\b"+ + "\u00f2\n\u00f2\f\u00f2\u0782\t\u00f2\u0001\u00f2\u0001\u00f2\u0003\u00f2"+ + "\u0786\b\u00f2\u0001\u00f2\u0004\u00f2\u0789\b\u00f2\u000b\u00f2\f\u00f2"+ + "\u078a\u0003\u00f2\u078d\b\u00f2\u0001\u00f3\u0001\u00f3\u0004\u00f3\u0791"+ + "\b\u00f3\u000b\u00f3\f\u00f3\u0792\u0001\u00f4\u0001\u00f4\u0001\u00f4"+ + "\u0001\u00f4\u0001\u00f5\u0001\u00f5\u0001\u00f5\u0001\u00f5\u0001\u00f6"+ + "\u0001\u00f6\u0001\u00f6\u0001\u00f6\u0001\u00f7\u0001\u00f7\u0001\u00f7"+ "\u0001\u00f7\u0001\u00f7\u0001\u00f8\u0001\u00f8\u0001\u00f8\u0001\u00f8"+ - "\u0001\u00f9\u0001\u00f9\u0001\u00f9\u0001\u00f9\u0001\u00fa\u0001\u00fa"+ - "\u0001\u00fa\u0001\u00fa\u0001\u00fb\u0001\u00fb\u0001\u00fb\u0001\u00fb"+ - "\u0001\u00fc\u0001\u00fc\u0001\u00fc\u0001\u00fc\u0001\u00fd\u0001\u00fd"+ - "\u0001\u00fd\u0001\u00fd\u0001\u00fe\u0001\u00fe\u0001\u00fe\u0001\u00fe"+ - "\u0001\u00ff\u0001\u00ff\u0001\u00ff\u0001\u00ff\u0001\u0100\u0001\u0100"+ - "\u0001\u0100\u0001\u0100\u0001\u0101\u0001\u0101\u0001\u0101\u0001\u0102"+ - "\u0001\u0102\u0001\u0102\u0001\u0102\u0001\u0103\u0001\u0103\u0001\u0103"+ - "\u0001\u0103\u0001\u0104\u0001\u0104\u0001\u0104\u0001\u0104\u0001\u0105"+ - "\u0001\u0105\u0001\u0105\u0001\u0105\u0001\u0106\u0001\u0106\u0001\u0106"+ - "\u0001\u0106\u0001\u0107\u0001\u0107\u0001\u0107\u0001\u0107\u0001\u0108"+ - "\u0001\u0108\u0001\u0108\u0001\u0108\u0001\u0109\u0001\u0109\u0001\u0109"+ - "\u0001\u0109\u0001\u0109\u0001\u010a\u0001\u010a\u0001\u010a\u0001\u010a"+ - "\u0001\u010b\u0001\u010b\u0001\u010b\u0001\u010b\u0001\u010c\u0001\u010c"+ - "\u0001\u010c\u0001\u010c\u0001\u010d\u0001\u010d\u0001\u010d\u0001\u010d"+ - "\u0001\u010e\u0001\u010e\u0001\u010e\u0001\u010e\u0001\u010f\u0001\u010f"+ - "\u0001\u010f\u0001\u010f\u0001\u0110\u0001\u0110\u0001\u0110\u0001\u0110"+ - "\u0001\u0111\u0001\u0111\u0001\u0111\u0001\u0111\u0001\u0112\u0001\u0112"+ - "\u0001\u0112\u0001\u0112\u0001\u0113\u0001\u0113\u0001\u0113\u0001\u0113"+ - "\u0001\u0114\u0001\u0114\u0001\u0114\u0001\u0114\u0001\u0115\u0001\u0115"+ - "\u0001\u0115\u0001\u0115\u0001\u0116\u0001\u0116\u0001\u0116\u0001\u0116"+ - "\u0001\u0117\u0001\u0117\u0001\u0117\u0001\u0117\u0001\u0118\u0001\u0118"+ - "\u0001\u0118\u0001\u0118\u0001\u0119\u0001\u0119\u0001\u0119\u0001\u0119"+ - "\u0001\u011a\u0001\u011a\u0001\u011a\u0001\u011a\u0001\u011b\u0001\u011b"+ - "\u0001\u011b\u0001\u011b\u0001\u011c\u0001\u011c\u0001\u011c\u0001\u011c"+ - "\u0001\u011c\u0001\u011d\u0001\u011d\u0001\u011d\u0001\u011d\u0001\u011d"+ - "\u0001\u011e\u0001\u011e\u0001\u011e\u0001\u011e\u0001\u011f\u0001\u011f"+ - "\u0001\u011f\u0001\u011f\u0001\u0120\u0001\u0120\u0001\u0120\u0001\u0120"+ - "\u0002\u026c\u04a2\u0000\u0121\u0012\u0001\u0014\u0002\u0016\u0003\u0018"+ + "\u0001\u00f8\u0001\u00f8\u0001\u00f9\u0001\u00f9\u0001\u00f9\u0001\u00f9"+ + "\u0001\u00fa\u0001\u00fa\u0001\u00fa\u0001\u00fa\u0001\u00fb\u0001\u00fb"+ + "\u0001\u00fb\u0001\u00fb\u0001\u00fc\u0001\u00fc\u0001\u00fc\u0001\u00fc"+ + "\u0001\u00fd\u0001\u00fd\u0001\u00fd\u0001\u00fd\u0001\u00fe\u0001\u00fe"+ + "\u0001\u00fe\u0001\u00fe\u0001\u00ff\u0001\u00ff\u0001\u00ff\u0001\u00ff"+ + "\u0001\u0100\u0001\u0100\u0001\u0100\u0001\u0100\u0001\u0101\u0001\u0101"+ + "\u0001\u0101\u0001\u0101\u0001\u0102\u0001\u0102\u0001\u0102\u0001\u0103"+ + "\u0001\u0103\u0001\u0103\u0001\u0103\u0001\u0104\u0001\u0104\u0001\u0104"+ + "\u0001\u0104\u0001\u0105\u0001\u0105\u0001\u0105\u0001\u0105\u0001\u0106"+ + "\u0001\u0106\u0001\u0106\u0001\u0106\u0001\u0107\u0001\u0107\u0001\u0107"+ + "\u0001\u0107\u0001\u0108\u0001\u0108\u0001\u0108\u0001\u0108\u0001\u0109"+ + "\u0001\u0109\u0001\u0109\u0001\u0109\u0001\u010a\u0001\u010a\u0001\u010a"+ + "\u0001\u010a\u0001\u010a\u0001\u010b\u0001\u010b\u0001\u010b\u0001\u010b"+ + "\u0001\u010c\u0001\u010c\u0001\u010c\u0001\u010c\u0001\u010d\u0001\u010d"+ + "\u0001\u010d\u0001\u010d\u0001\u010e\u0001\u010e\u0001\u010e\u0001\u010e"+ + "\u0001\u010f\u0001\u010f\u0001\u010f\u0001\u010f\u0001\u0110\u0001\u0110"+ + "\u0001\u0110\u0001\u0110\u0001\u0111\u0001\u0111\u0001\u0111\u0001\u0111"+ + "\u0001\u0112\u0001\u0112\u0001\u0112\u0001\u0112\u0001\u0113\u0001\u0113"+ + "\u0001\u0113\u0001\u0113\u0001\u0114\u0001\u0114\u0001\u0114\u0001\u0114"+ + "\u0001\u0115\u0001\u0115\u0001\u0115\u0001\u0115\u0001\u0116\u0001\u0116"+ + "\u0001\u0116\u0001\u0116\u0001\u0117\u0001\u0117\u0001\u0117\u0001\u0117"+ + "\u0001\u0118\u0001\u0118\u0001\u0118\u0001\u0118\u0001\u0119\u0001\u0119"+ + "\u0001\u0119\u0001\u0119\u0001\u011a\u0001\u011a\u0001\u011a\u0001\u011a"+ + "\u0001\u011b\u0001\u011b\u0001\u011b\u0001\u011b\u0001\u011c\u0001\u011c"+ + "\u0001\u011c\u0001\u011c\u0001\u011d\u0001\u011d\u0001\u011d\u0001\u011d"+ + "\u0001\u011d\u0001\u011e\u0001\u011e\u0001\u011e\u0001\u011e\u0001\u011e"+ + "\u0001\u011f\u0001\u011f\u0001\u011f\u0001\u011f\u0001\u0120\u0001\u0120"+ + "\u0001\u0120\u0001\u0120\u0001\u0121\u0001\u0121\u0001\u0121\u0001\u0121"+ + "\u0002\u026e\u04a4\u0000\u0122\u0012\u0001\u0014\u0002\u0016\u0003\u0018"+ "\u0004\u001a\u0005\u001c\u0006\u001e\u0007 \b\"\t$\n&\u000b(\f*\r,\u000e"+ ".\u000f0\u00102\u00114\u00126\u00138\u0014:\u0015<\u0016>\u0017@\u0018"+ "B\u0019D\u001aF\u001bH\u001cJ\u001dL\u001eN\u001fP R!T\"V#X$Z\u0000\\"+ @@ -656,1086 +657,1089 @@ private boolean DEV_INSIST_sempred(RuleContext _localctx, int predIndex) { "Y\u011aZ\u011c[\u011e\\\u0120]\u0122\u0000\u0124^\u0126_\u0128`\u012a"+ "a\u012cb\u012ec\u0130d\u0132\u0000\u0134e\u0136f\u0138g\u013ah\u013c\u0000"+ "\u013e\u0000\u0140\u0000\u0142\u0000\u0144\u0000\u0146i\u0148\u0000\u014a"+ - "\u0000\u014cj\u014e\u0000\u0150\u0000\u0152k\u0154l\u0156m\u0158\u0000"+ - "\u015a\u0000\u015c\u0000\u015en\u0160o\u0162p\u0164\u0000\u0166\u0000"+ - "\u0168q\u016ar\u016cs\u016e\u0000\u0170\u0000\u0172\u0000\u0174\u0000"+ - "\u0176\u0000\u0178t\u017au\u017cv\u017ew\u0180x\u0182y\u0184z\u0186\u0000"+ - "\u0188{\u018a\u0000\u018c\u0000\u018e|\u0190\u0000\u0192\u0000\u0194\u0000"+ - "\u0196}\u0198~\u019a\u007f\u019c\u0000\u019e\u0000\u01a0\u0000\u01a2\u0000"+ - "\u01a4\u0000\u01a6\u0000\u01a8\u0000\u01aa\u0000\u01ac\u0080\u01ae\u0081"+ - "\u01b0\u0082\u01b2\u0000\u01b4\u0000\u01b6\u0000\u01b8\u0000\u01ba\u0000"+ - "\u01bc\u0083\u01be\u0084\u01c0\u0085\u01c2\u0000\u01c4\u0000\u01c6\u0000"+ - "\u01c8\u0000\u01ca\u0000\u01cc\u0000\u01ce\u0000\u01d0\u0000\u01d2\u0000"+ - "\u01d4\u0000\u01d6\u0000\u01d8\u0086\u01da\u0087\u01dc\u0088\u01de\u0000"+ - "\u01e0\u0000\u01e2\u0000\u01e4\u0000\u01e6\u0000\u01e8\u0000\u01ea\u0000"+ - "\u01ec\u0000\u01ee\u0000\u01f0\u0000\u01f2\u0000\u01f4\u0000\u01f6\u0089"+ - "\u01f8\u008a\u01fa\u008b\u01fc\u008c\u01fe\u0000\u0200\u0000\u0202\u0000"+ - "\u0204\u0000\u0206\u0000\u0208\u0000\u020a\u0000\u020c\u0000\u020e\u0000"+ - "\u0210\u0000\u0212\u0000\u0214\u008d\u0216\u0000\u0218\u008e\u021a\u008f"+ - "\u021c\u0090\u021e\u0000\u0220\u0000\u0222\u0000\u0224\u0000\u0226\u0000"+ - "\u0228\u0000\u022a\u0000\u022c\u0000\u022e\u0000\u0230\u0000\u0232\u0000"+ - "\u0234\u0000\u0236\u0000\u0238\u0000\u023a\u0000\u023c\u0000\u023e\u0000"+ - "\u0240\u0000\u0242\u0000\u0244\u0091\u0246\u0092\u0248\u0093\u024a\u0000"+ - "\u024c\u0094\u024e\u0095\u0250\u0096\u0252\u0097\u0012\u0000\u0001\u0002"+ + "\u0000\u014c\u0000\u014ej\u0150\u0000\u0152\u0000\u0154k\u0156l\u0158"+ + "m\u015a\u0000\u015c\u0000\u015e\u0000\u0160n\u0162o\u0164p\u0166\u0000"+ + "\u0168\u0000\u016aq\u016cr\u016es\u0170\u0000\u0172\u0000\u0174\u0000"+ + "\u0176\u0000\u0178\u0000\u017at\u017cu\u017ev\u0180w\u0182x\u0184y\u0186"+ + "z\u0188\u0000\u018a{\u018c\u0000\u018e\u0000\u0190|\u0192\u0000\u0194"+ + "\u0000\u0196\u0000\u0198}\u019a~\u019c\u007f\u019e\u0000\u01a0\u0000\u01a2"+ + "\u0000\u01a4\u0000\u01a6\u0000\u01a8\u0000\u01aa\u0000\u01ac\u0000\u01ae"+ + "\u0080\u01b0\u0081\u01b2\u0082\u01b4\u0000\u01b6\u0000\u01b8\u0000\u01ba"+ + "\u0000\u01bc\u0000\u01be\u0083\u01c0\u0084\u01c2\u0085\u01c4\u0000\u01c6"+ + "\u0000\u01c8\u0000\u01ca\u0000\u01cc\u0000\u01ce\u0000\u01d0\u0000\u01d2"+ + "\u0000\u01d4\u0000\u01d6\u0000\u01d8\u0000\u01da\u0086\u01dc\u0087\u01de"+ + "\u0088\u01e0\u0000\u01e2\u0000\u01e4\u0000\u01e6\u0000\u01e8\u0000\u01ea"+ + "\u0000\u01ec\u0000\u01ee\u0000\u01f0\u0000\u01f2\u0000\u01f4\u0000\u01f6"+ + "\u0000\u01f8\u0089\u01fa\u008a\u01fc\u008b\u01fe\u008c\u0200\u0000\u0202"+ + "\u0000\u0204\u0000\u0206\u0000\u0208\u0000\u020a\u0000\u020c\u0000\u020e"+ + "\u0000\u0210\u0000\u0212\u0000\u0214\u0000\u0216\u008d\u0218\u0000\u021a"+ + "\u008e\u021c\u008f\u021e\u0090\u0220\u0000\u0222\u0000\u0224\u0000\u0226"+ + "\u0000\u0228\u0000\u022a\u0000\u022c\u0000\u022e\u0000\u0230\u0000\u0232"+ + "\u0000\u0234\u0000\u0236\u0000\u0238\u0000\u023a\u0000\u023c\u0000\u023e"+ + "\u0000\u0240\u0000\u0242\u0000\u0244\u0000\u0246\u0091\u0248\u0092\u024a"+ + "\u0093\u024c\u0000\u024e\u0094\u0250\u0095\u0252\u0096\u0254\u0097\u0012"+ + "\u0000\u0001\u0002\u0003\u0004\u0005\u0006\u0007\b\t\n\u000b\f\r\u000e"+ + "\u000f\u0010\u0011$\u0002\u0000\n\n\r\r\u0003\u0000\t\n\r\r \u0002\u0000"+ + "CCcc\u0002\u0000HHhh\u0002\u0000AAaa\u0002\u0000NNnn\u0002\u0000GGgg\u0002"+ + "\u0000EEee\u0002\u0000PPpp\u0002\u0000OOoo\u0002\u0000IIii\u0002\u0000"+ + "TTtt\u0002\u0000RRrr\u0002\u0000XXxx\u0002\u0000LLll\u0002\u0000MMmm\u0002"+ + "\u0000DDdd\u0002\u0000SSss\u0002\u0000VVvv\u0002\u0000KKkk\u0002\u0000"+ + "WWww\u0002\u0000FFff\u0002\u0000UUuu\u0006\u0000\t\n\r\r //[[]]\f\u0000"+ + "\t\n\r\r \"#(),,//::<<>?\\\\||\u0001\u000009\u0002\u0000AZaz\b\u0000"+ + "\"\"NNRRTT\\\\nnrrtt\u0004\u0000\n\n\r\r\"\"\\\\\u0002\u0000++--\u0001"+ + "\u0000``\u0002\u0000BBbb\u0002\u0000YYyy\f\u0000\t\n\r\r \"\"(),,//:"+ + ":==[[]]||\u0002\u0000**//\u0002\u0000JJjj\u0869\u0000\u0012\u0001\u0000"+ + "\u0000\u0000\u0000\u0014\u0001\u0000\u0000\u0000\u0000\u0016\u0001\u0000"+ + "\u0000\u0000\u0000\u0018\u0001\u0000\u0000\u0000\u0000\u001a\u0001\u0000"+ + "\u0000\u0000\u0000\u001c\u0001\u0000\u0000\u0000\u0000\u001e\u0001\u0000"+ + "\u0000\u0000\u0000 \u0001\u0000\u0000\u0000\u0000\"\u0001\u0000\u0000"+ + "\u0000\u0000$\u0001\u0000\u0000\u0000\u0000&\u0001\u0000\u0000\u0000\u0000"+ + "(\u0001\u0000\u0000\u0000\u0000*\u0001\u0000\u0000\u0000\u0000,\u0001"+ + "\u0000\u0000\u0000\u0000.\u0001\u0000\u0000\u0000\u00000\u0001\u0000\u0000"+ + "\u0000\u00002\u0001\u0000\u0000\u0000\u00004\u0001\u0000\u0000\u0000\u0000"+ + "6\u0001\u0000\u0000\u0000\u00008\u0001\u0000\u0000\u0000\u0000:\u0001"+ + "\u0000\u0000\u0000\u0000<\u0001\u0000\u0000\u0000\u0000>\u0001\u0000\u0000"+ + "\u0000\u0000@\u0001\u0000\u0000\u0000\u0000B\u0001\u0000\u0000\u0000\u0000"+ + "D\u0001\u0000\u0000\u0000\u0000F\u0001\u0000\u0000\u0000\u0000H\u0001"+ + "\u0000\u0000\u0000\u0000J\u0001\u0000\u0000\u0000\u0000L\u0001\u0000\u0000"+ + "\u0000\u0000N\u0001\u0000\u0000\u0000\u0000P\u0001\u0000\u0000\u0000\u0000"+ + "R\u0001\u0000\u0000\u0000\u0000T\u0001\u0000\u0000\u0000\u0000V\u0001"+ + "\u0000\u0000\u0000\u0000X\u0001\u0000\u0000\u0000\u0001Z\u0001\u0000\u0000"+ + "\u0000\u0001\\\u0001\u0000\u0000\u0000\u0001^\u0001\u0000\u0000\u0000"+ + "\u0001`\u0001\u0000\u0000\u0000\u0001b\u0001\u0000\u0000\u0000\u0001d"+ + "\u0001\u0000\u0000\u0000\u0001f\u0001\u0000\u0000\u0000\u0001h\u0001\u0000"+ + "\u0000\u0000\u0001j\u0001\u0000\u0000\u0000\u0001l\u0001\u0000\u0000\u0000"+ + "\u0001n\u0001\u0000\u0000\u0000\u0001p\u0001\u0000\u0000\u0000\u0001r"+ + "\u0001\u0000\u0000\u0000\u0002t\u0001\u0000\u0000\u0000\u0002v\u0001\u0000"+ + "\u0000\u0000\u0002x\u0001\u0000\u0000\u0000\u0002z\u0001\u0000\u0000\u0000"+ + "\u0002~\u0001\u0000\u0000\u0000\u0002\u0080\u0001\u0000\u0000\u0000\u0002"+ + "\u0082\u0001\u0000\u0000\u0000\u0002\u0084\u0001\u0000\u0000\u0000\u0002"+ + "\u0086\u0001\u0000\u0000\u0000\u0002\u0088\u0001\u0000\u0000\u0000\u0003"+ + "\u008a\u0001\u0000\u0000\u0000\u0003\u008c\u0001\u0000\u0000\u0000\u0003"+ + "\u008e\u0001\u0000\u0000\u0000\u0003\u0090\u0001\u0000\u0000\u0000\u0003"+ + "\u0092\u0001\u0000\u0000\u0000\u0003\u0094\u0001\u0000\u0000\u0000\u0003"+ + "\u0096\u0001\u0000\u0000\u0000\u0003\u0098\u0001\u0000\u0000\u0000\u0003"+ + "\u009a\u0001\u0000\u0000\u0000\u0003\u009c\u0001\u0000\u0000\u0000\u0003"+ + "\u009e\u0001\u0000\u0000\u0000\u0003\u00a0\u0001\u0000\u0000\u0000\u0003"+ + "\u00a2\u0001\u0000\u0000\u0000\u0003\u00a4\u0001\u0000\u0000\u0000\u0003"+ + "\u00a6\u0001\u0000\u0000\u0000\u0003\u00a8\u0001\u0000\u0000\u0000\u0003"+ + "\u00aa\u0001\u0000\u0000\u0000\u0004\u00ac\u0001\u0000\u0000\u0000\u0004"+ + "\u00ae\u0001\u0000\u0000\u0000\u0004\u00b0\u0001\u0000\u0000\u0000\u0004"+ + "\u00b2\u0001\u0000\u0000\u0000\u0004\u00b4\u0001\u0000\u0000\u0000\u0005"+ + "\u00b6\u0001\u0000\u0000\u0000\u0005\u00cc\u0001\u0000\u0000\u0000\u0005"+ + "\u00ce\u0001\u0000\u0000\u0000\u0005\u00d0\u0001\u0000\u0000\u0000\u0005"+ + "\u00d2\u0001\u0000\u0000\u0000\u0005\u00d4\u0001\u0000\u0000\u0000\u0005"+ + "\u00d6\u0001\u0000\u0000\u0000\u0005\u00d8\u0001\u0000\u0000\u0000\u0005"+ + "\u00da\u0001\u0000\u0000\u0000\u0005\u00dc\u0001\u0000\u0000\u0000\u0005"+ + "\u00de\u0001\u0000\u0000\u0000\u0005\u00e0\u0001\u0000\u0000\u0000\u0005"+ + "\u00e2\u0001\u0000\u0000\u0000\u0005\u00e4\u0001\u0000\u0000\u0000\u0005"+ + "\u00e6\u0001\u0000\u0000\u0000\u0005\u00e8\u0001\u0000\u0000\u0000\u0005"+ + "\u00ea\u0001\u0000\u0000\u0000\u0005\u00ec\u0001\u0000\u0000\u0000\u0005"+ + "\u00ee\u0001\u0000\u0000\u0000\u0005\u00f0\u0001\u0000\u0000\u0000\u0005"+ + "\u00f2\u0001\u0000\u0000\u0000\u0005\u00f4\u0001\u0000\u0000\u0000\u0005"+ + "\u00f6\u0001\u0000\u0000\u0000\u0005\u00f8\u0001\u0000\u0000\u0000\u0005"+ + "\u00fa\u0001\u0000\u0000\u0000\u0005\u00fc\u0001\u0000\u0000\u0000\u0005"+ + "\u00fe\u0001\u0000\u0000\u0000\u0005\u0100\u0001\u0000\u0000\u0000\u0005"+ + "\u0102\u0001\u0000\u0000\u0000\u0005\u0104\u0001\u0000\u0000\u0000\u0005"+ + "\u0106\u0001\u0000\u0000\u0000\u0005\u0108\u0001\u0000\u0000\u0000\u0005"+ + "\u010a\u0001\u0000\u0000\u0000\u0005\u010c\u0001\u0000\u0000\u0000\u0005"+ + "\u010e\u0001\u0000\u0000\u0000\u0005\u0110\u0001\u0000\u0000\u0000\u0005"+ + "\u0112\u0001\u0000\u0000\u0000\u0005\u0114\u0001\u0000\u0000\u0000\u0005"+ + "\u0116\u0001\u0000\u0000\u0000\u0005\u0118\u0001\u0000\u0000\u0000\u0005"+ + "\u011a\u0001\u0000\u0000\u0000\u0005\u011c\u0001\u0000\u0000\u0000\u0005"+ + "\u011e\u0001\u0000\u0000\u0000\u0005\u0120\u0001\u0000\u0000\u0000\u0005"+ + "\u0122\u0001\u0000\u0000\u0000\u0005\u0124\u0001\u0000\u0000\u0000\u0005"+ + "\u0126\u0001\u0000\u0000\u0000\u0005\u0128\u0001\u0000\u0000\u0000\u0005"+ + "\u012a\u0001\u0000\u0000\u0000\u0005\u012c\u0001\u0000\u0000\u0000\u0005"+ + "\u012e\u0001\u0000\u0000\u0000\u0005\u0130\u0001\u0000\u0000\u0000\u0005"+ + "\u0134\u0001\u0000\u0000\u0000\u0005\u0136\u0001\u0000\u0000\u0000\u0005"+ + "\u0138\u0001\u0000\u0000\u0000\u0005\u013a\u0001\u0000\u0000\u0000\u0006"+ + "\u013c\u0001\u0000\u0000\u0000\u0006\u013e\u0001\u0000\u0000\u0000\u0006"+ + "\u0140\u0001\u0000\u0000\u0000\u0006\u0142\u0001\u0000\u0000\u0000\u0006"+ + "\u0144\u0001\u0000\u0000\u0000\u0006\u0146\u0001\u0000\u0000\u0000\u0006"+ + "\u0148\u0001\u0000\u0000\u0000\u0006\u014a\u0001\u0000\u0000\u0000\u0006"+ + "\u014e\u0001\u0000\u0000\u0000\u0006\u0150\u0001\u0000\u0000\u0000\u0006"+ + "\u0152\u0001\u0000\u0000\u0000\u0006\u0154\u0001\u0000\u0000\u0000\u0006"+ + "\u0156\u0001\u0000\u0000\u0000\u0006\u0158\u0001\u0000\u0000\u0000\u0007"+ + "\u015a\u0001\u0000\u0000\u0000\u0007\u015c\u0001\u0000\u0000\u0000\u0007"+ + "\u015e\u0001\u0000\u0000\u0000\u0007\u0160\u0001\u0000\u0000\u0000\u0007"+ + "\u0162\u0001\u0000\u0000\u0000\u0007\u0164\u0001\u0000\u0000\u0000\b\u0166"+ + "\u0001\u0000\u0000\u0000\b\u0168\u0001\u0000\u0000\u0000\b\u016a\u0001"+ + "\u0000\u0000\u0000\b\u016c\u0001\u0000\u0000\u0000\b\u016e\u0001\u0000"+ + "\u0000\u0000\b\u0170\u0001\u0000\u0000\u0000\b\u0172\u0001\u0000\u0000"+ + "\u0000\b\u0174\u0001\u0000\u0000\u0000\b\u0176\u0001\u0000\u0000\u0000"+ + "\b\u0178\u0001\u0000\u0000\u0000\b\u017a\u0001\u0000\u0000\u0000\b\u017c"+ + "\u0001\u0000\u0000\u0000\b\u017e\u0001\u0000\u0000\u0000\t\u0180\u0001"+ + "\u0000\u0000\u0000\t\u0182\u0001\u0000\u0000\u0000\t\u0184\u0001\u0000"+ + "\u0000\u0000\t\u0186\u0001\u0000\u0000\u0000\n\u0188\u0001\u0000\u0000"+ + "\u0000\n\u018a\u0001\u0000\u0000\u0000\n\u018c\u0001\u0000\u0000\u0000"+ + "\n\u018e\u0001\u0000\u0000\u0000\n\u0190\u0001\u0000\u0000\u0000\n\u0192"+ + "\u0001\u0000\u0000\u0000\n\u0194\u0001\u0000\u0000\u0000\n\u0196\u0001"+ + "\u0000\u0000\u0000\n\u0198\u0001\u0000\u0000\u0000\n\u019a\u0001\u0000"+ + "\u0000\u0000\n\u019c\u0001\u0000\u0000\u0000\u000b\u019e\u0001\u0000\u0000"+ + "\u0000\u000b\u01a0\u0001\u0000\u0000\u0000\u000b\u01a2\u0001\u0000\u0000"+ + "\u0000\u000b\u01a4\u0001\u0000\u0000\u0000\u000b\u01a6\u0001\u0000\u0000"+ + "\u0000\u000b\u01a8\u0001\u0000\u0000\u0000\u000b\u01aa\u0001\u0000\u0000"+ + "\u0000\u000b\u01ac\u0001\u0000\u0000\u0000\u000b\u01ae\u0001\u0000\u0000"+ + "\u0000\u000b\u01b0\u0001\u0000\u0000\u0000\u000b\u01b2\u0001\u0000\u0000"+ + "\u0000\f\u01b4\u0001\u0000\u0000\u0000\f\u01b6\u0001\u0000\u0000\u0000"+ + "\f\u01b8\u0001\u0000\u0000\u0000\f\u01ba\u0001\u0000\u0000\u0000\f\u01bc"+ + "\u0001\u0000\u0000\u0000\f\u01be\u0001\u0000\u0000\u0000\f\u01c0\u0001"+ + "\u0000\u0000\u0000\f\u01c2\u0001\u0000\u0000\u0000\r\u01c4\u0001\u0000"+ + "\u0000\u0000\r\u01c6\u0001\u0000\u0000\u0000\r\u01c8\u0001\u0000\u0000"+ + "\u0000\r\u01ca\u0001\u0000\u0000\u0000\r\u01cc\u0001\u0000\u0000\u0000"+ + "\r\u01ce\u0001\u0000\u0000\u0000\r\u01d0\u0001\u0000\u0000\u0000\r\u01d2"+ + "\u0001\u0000\u0000\u0000\r\u01d4\u0001\u0000\u0000\u0000\r\u01d6\u0001"+ + "\u0000\u0000\u0000\r\u01d8\u0001\u0000\u0000\u0000\r\u01da\u0001\u0000"+ + "\u0000\u0000\r\u01dc\u0001\u0000\u0000\u0000\r\u01de\u0001\u0000\u0000"+ + "\u0000\u000e\u01e0\u0001\u0000\u0000\u0000\u000e\u01e2\u0001\u0000\u0000"+ + "\u0000\u000e\u01e4\u0001\u0000\u0000\u0000\u000e\u01e6\u0001\u0000\u0000"+ + "\u0000\u000e\u01e8\u0001\u0000\u0000\u0000\u000e\u01ea\u0001\u0000\u0000"+ + "\u0000\u000e\u01ec\u0001\u0000\u0000\u0000\u000e\u01ee\u0001\u0000\u0000"+ + "\u0000\u000e\u01f0\u0001\u0000\u0000\u0000\u000e\u01f2\u0001\u0000\u0000"+ + "\u0000\u000e\u01f8\u0001\u0000\u0000\u0000\u000e\u01fa\u0001\u0000\u0000"+ + "\u0000\u000e\u01fc\u0001\u0000\u0000\u0000\u000e\u01fe\u0001\u0000\u0000"+ + "\u0000\u000f\u0200\u0001\u0000\u0000\u0000\u000f\u0202\u0001\u0000\u0000"+ + "\u0000\u000f\u0204\u0001\u0000\u0000\u0000\u000f\u0206\u0001\u0000\u0000"+ + "\u0000\u000f\u0208\u0001\u0000\u0000\u0000\u000f\u020a\u0001\u0000\u0000"+ + "\u0000\u000f\u020c\u0001\u0000\u0000\u0000\u000f\u020e\u0001\u0000\u0000"+ + "\u0000\u000f\u0210\u0001\u0000\u0000\u0000\u000f\u0212\u0001\u0000\u0000"+ + "\u0000\u000f\u0214\u0001\u0000\u0000\u0000\u000f\u0216\u0001\u0000\u0000"+ + "\u0000\u000f\u0218\u0001\u0000\u0000\u0000\u000f\u021a\u0001\u0000\u0000"+ + "\u0000\u000f\u021c\u0001\u0000\u0000\u0000\u000f\u021e\u0001\u0000\u0000"+ + "\u0000\u0010\u0220\u0001\u0000\u0000\u0000\u0010\u0222\u0001\u0000\u0000"+ + "\u0000\u0010\u0224\u0001\u0000\u0000\u0000\u0010\u0226\u0001\u0000\u0000"+ + "\u0000\u0010\u0228\u0001\u0000\u0000\u0000\u0010\u022a\u0001\u0000\u0000"+ + "\u0000\u0010\u022c\u0001\u0000\u0000\u0000\u0010\u022e\u0001\u0000\u0000"+ + "\u0000\u0010\u0230\u0001\u0000\u0000\u0000\u0010\u0232\u0001\u0000\u0000"+ + "\u0000\u0010\u0234\u0001\u0000\u0000\u0000\u0010\u0236\u0001\u0000\u0000"+ + "\u0000\u0010\u0238\u0001\u0000\u0000\u0000\u0010\u023a\u0001\u0000\u0000"+ + "\u0000\u0010\u023c\u0001\u0000\u0000\u0000\u0010\u023e\u0001\u0000\u0000"+ + "\u0000\u0010\u0240\u0001\u0000\u0000\u0000\u0010\u0242\u0001\u0000\u0000"+ + "\u0000\u0010\u0244\u0001\u0000\u0000\u0000\u0010\u0246\u0001\u0000\u0000"+ + "\u0000\u0010\u0248\u0001\u0000\u0000\u0000\u0010\u024a\u0001\u0000\u0000"+ + "\u0000\u0011\u024c\u0001\u0000\u0000\u0000\u0011\u024e\u0001\u0000\u0000"+ + "\u0000\u0011\u0250\u0001\u0000\u0000\u0000\u0011\u0252\u0001\u0000\u0000"+ + "\u0000\u0011\u0254\u0001\u0000\u0000\u0000\u0012\u0256\u0001\u0000\u0000"+ + "\u0000\u0014\u0267\u0001\u0000\u0000\u0000\u0016\u0277\u0001\u0000\u0000"+ + "\u0000\u0018\u027d\u0001\u0000\u0000\u0000\u001a\u028c\u0001\u0000\u0000"+ + "\u0000\u001c\u0295\u0001\u0000\u0000\u0000\u001e\u02a0\u0001\u0000\u0000"+ + "\u0000 \u02ad\u0001\u0000\u0000\u0000\"\u02b7\u0001\u0000\u0000\u0000"+ + "$\u02be\u0001\u0000\u0000\u0000&\u02c5\u0001\u0000\u0000\u0000(\u02cd"+ + "\u0001\u0000\u0000\u0000*\u02d6\u0001\u0000\u0000\u0000,\u02dc\u0001\u0000"+ + "\u0000\u0000.\u02e5\u0001\u0000\u0000\u00000\u02ec\u0001\u0000\u0000\u0000"+ + "2\u02f4\u0001\u0000\u0000\u00004\u02fc\u0001\u0000\u0000\u00006\u0303"+ + "\u0001\u0000\u0000\u00008\u0308\u0001\u0000\u0000\u0000:\u030f\u0001\u0000"+ + "\u0000\u0000<\u0317\u0001\u0000\u0000\u0000>\u0320\u0001\u0000\u0000\u0000"+ + "@\u032e\u0001\u0000\u0000\u0000B\u0337\u0001\u0000\u0000\u0000D\u033f"+ + "\u0001\u0000\u0000\u0000F\u0347\u0001\u0000\u0000\u0000H\u0350\u0001\u0000"+ + "\u0000\u0000J\u035c\u0001\u0000\u0000\u0000L\u0368\u0001\u0000\u0000\u0000"+ + "N\u036f\u0001\u0000\u0000\u0000P\u0376\u0001\u0000\u0000\u0000R\u0382"+ + "\u0001\u0000\u0000\u0000T\u038b\u0001\u0000\u0000\u0000V\u0391\u0001\u0000"+ + "\u0000\u0000X\u0399\u0001\u0000\u0000\u0000Z\u039f\u0001\u0000\u0000\u0000"+ + "\\\u03a4\u0001\u0000\u0000\u0000^\u03aa\u0001\u0000\u0000\u0000`\u03ae"+ + "\u0001\u0000\u0000\u0000b\u03b2\u0001\u0000\u0000\u0000d\u03b6\u0001\u0000"+ + "\u0000\u0000f\u03ba\u0001\u0000\u0000\u0000h\u03be\u0001\u0000\u0000\u0000"+ + "j\u03c2\u0001\u0000\u0000\u0000l\u03c6\u0001\u0000\u0000\u0000n\u03ca"+ + "\u0001\u0000\u0000\u0000p\u03ce\u0001\u0000\u0000\u0000r\u03d2\u0001\u0000"+ + "\u0000\u0000t\u03d6\u0001\u0000\u0000\u0000v\u03db\u0001\u0000\u0000\u0000"+ + "x\u03e1\u0001\u0000\u0000\u0000z\u03e6\u0001\u0000\u0000\u0000|\u03eb"+ + "\u0001\u0000\u0000\u0000~\u03f4\u0001\u0000\u0000\u0000\u0080\u03fb\u0001"+ + "\u0000\u0000\u0000\u0082\u03ff\u0001\u0000\u0000\u0000\u0084\u0403\u0001"+ + "\u0000\u0000\u0000\u0086\u0407\u0001\u0000\u0000\u0000\u0088\u040b\u0001"+ + "\u0000\u0000\u0000\u008a\u040f\u0001\u0000\u0000\u0000\u008c\u0415\u0001"+ + "\u0000\u0000\u0000\u008e\u041c\u0001\u0000\u0000\u0000\u0090\u0420\u0001"+ + "\u0000\u0000\u0000\u0092\u0424\u0001\u0000\u0000\u0000\u0094\u0428\u0001"+ + "\u0000\u0000\u0000\u0096\u042c\u0001\u0000\u0000\u0000\u0098\u0430\u0001"+ + "\u0000\u0000\u0000\u009a\u0434\u0001\u0000\u0000\u0000\u009c\u0438\u0001"+ + "\u0000\u0000\u0000\u009e\u043c\u0001\u0000\u0000\u0000\u00a0\u0440\u0001"+ + "\u0000\u0000\u0000\u00a2\u0444\u0001\u0000\u0000\u0000\u00a4\u0448\u0001"+ + "\u0000\u0000\u0000\u00a6\u044c\u0001\u0000\u0000\u0000\u00a8\u0450\u0001"+ + "\u0000\u0000\u0000\u00aa\u0454\u0001\u0000\u0000\u0000\u00ac\u0458\u0001"+ + "\u0000\u0000\u0000\u00ae\u045d\u0001\u0000\u0000\u0000\u00b0\u0462\u0001"+ + "\u0000\u0000\u0000\u00b2\u0466\u0001\u0000\u0000\u0000\u00b4\u046a\u0001"+ + "\u0000\u0000\u0000\u00b6\u046e\u0001\u0000\u0000\u0000\u00b8\u0472\u0001"+ + "\u0000\u0000\u0000\u00ba\u0474\u0001\u0000\u0000\u0000\u00bc\u0476\u0001"+ + "\u0000\u0000\u0000\u00be\u0479\u0001\u0000\u0000\u0000\u00c0\u047b\u0001"+ + "\u0000\u0000\u0000\u00c2\u0484\u0001\u0000\u0000\u0000\u00c4\u0486\u0001"+ + "\u0000\u0000\u0000\u00c6\u048b\u0001\u0000\u0000\u0000\u00c8\u048d\u0001"+ + "\u0000\u0000\u0000\u00ca\u0492\u0001\u0000\u0000\u0000\u00cc\u04b1\u0001"+ + "\u0000\u0000\u0000\u00ce\u04b4\u0001\u0000\u0000\u0000\u00d0\u04e2\u0001"+ + "\u0000\u0000\u0000\u00d2\u04e4\u0001\u0000\u0000\u0000\u00d4\u04e8\u0001"+ + "\u0000\u0000\u0000\u00d6\u04ec\u0001\u0000\u0000\u0000\u00d8\u04ee\u0001"+ + "\u0000\u0000\u0000\u00da\u04f1\u0001\u0000\u0000\u0000\u00dc\u04f4\u0001"+ + "\u0000\u0000\u0000\u00de\u04f6\u0001\u0000\u0000\u0000\u00e0\u04f8\u0001"+ + "\u0000\u0000\u0000\u00e2\u04fa\u0001\u0000\u0000\u0000\u00e4\u04ff\u0001"+ + "\u0000\u0000\u0000\u00e6\u0501\u0001\u0000\u0000\u0000\u00e8\u0507\u0001"+ + "\u0000\u0000\u0000\u00ea\u050d\u0001\u0000\u0000\u0000\u00ec\u0510\u0001"+ + "\u0000\u0000\u0000\u00ee\u0513\u0001\u0000\u0000\u0000\u00f0\u0518\u0001"+ + "\u0000\u0000\u0000\u00f2\u051d\u0001\u0000\u0000\u0000\u00f4\u0521\u0001"+ + "\u0000\u0000\u0000\u00f6\u0526\u0001\u0000\u0000\u0000\u00f8\u052c\u0001"+ + "\u0000\u0000\u0000\u00fa\u052f\u0001\u0000\u0000\u0000\u00fc\u0532\u0001"+ + "\u0000\u0000\u0000\u00fe\u0534\u0001\u0000\u0000\u0000\u0100\u053a\u0001"+ + "\u0000\u0000\u0000\u0102\u053f\u0001\u0000\u0000\u0000\u0104\u0544\u0001"+ + "\u0000\u0000\u0000\u0106\u0547\u0001\u0000\u0000\u0000\u0108\u054a\u0001"+ + "\u0000\u0000\u0000\u010a\u054d\u0001\u0000\u0000\u0000\u010c\u054f\u0001"+ + "\u0000\u0000\u0000\u010e\u0552\u0001\u0000\u0000\u0000\u0110\u0554\u0001"+ + "\u0000\u0000\u0000\u0112\u0557\u0001\u0000\u0000\u0000\u0114\u0559\u0001"+ + "\u0000\u0000\u0000\u0116\u055b\u0001\u0000\u0000\u0000\u0118\u055d\u0001"+ + "\u0000\u0000\u0000\u011a\u055f\u0001\u0000\u0000\u0000\u011c\u0561\u0001"+ + "\u0000\u0000\u0000\u011e\u0563\u0001\u0000\u0000\u0000\u0120\u0565\u0001"+ + "\u0000\u0000\u0000\u0122\u0568\u0001\u0000\u0000\u0000\u0124\u057d\u0001"+ + "\u0000\u0000\u0000\u0126\u0590\u0001\u0000\u0000\u0000\u0128\u0592\u0001"+ + "\u0000\u0000\u0000\u012a\u0597\u0001\u0000\u0000\u0000\u012c\u059c\u0001"+ + "\u0000\u0000\u0000\u012e\u05a1\u0001\u0000\u0000\u0000\u0130\u05b6\u0001"+ + "\u0000\u0000\u0000\u0132\u05b8\u0001\u0000\u0000\u0000\u0134\u05c0\u0001"+ + "\u0000\u0000\u0000\u0136\u05c2\u0001\u0000\u0000\u0000\u0138\u05c6\u0001"+ + "\u0000\u0000\u0000\u013a\u05ca\u0001\u0000\u0000\u0000\u013c\u05ce\u0001"+ + "\u0000\u0000\u0000\u013e\u05d3\u0001\u0000\u0000\u0000\u0140\u05d7\u0001"+ + "\u0000\u0000\u0000\u0142\u05db\u0001\u0000\u0000\u0000\u0144\u05df\u0001"+ + "\u0000\u0000\u0000\u0146\u05e3\u0001\u0000\u0000\u0000\u0148\u05ec\u0001"+ + "\u0000\u0000\u0000\u014a\u05f2\u0001\u0000\u0000\u0000\u014c\u05fa\u0001"+ + "\u0000\u0000\u0000\u014e\u05fd\u0001\u0000\u0000\u0000\u0150\u0601\u0001"+ + "\u0000\u0000\u0000\u0152\u0605\u0001\u0000\u0000\u0000\u0154\u0609\u0001"+ + "\u0000\u0000\u0000\u0156\u060d\u0001\u0000\u0000\u0000\u0158\u0611\u0001"+ + "\u0000\u0000\u0000\u015a\u0615\u0001\u0000\u0000\u0000\u015c\u061a\u0001"+ + "\u0000\u0000\u0000\u015e\u0620\u0001\u0000\u0000\u0000\u0160\u0625\u0001"+ + "\u0000\u0000\u0000\u0162\u0629\u0001\u0000\u0000\u0000\u0164\u062d\u0001"+ + "\u0000\u0000\u0000\u0166\u0631\u0001\u0000\u0000\u0000\u0168\u0636\u0001"+ + "\u0000\u0000\u0000\u016a\u063c\u0001\u0000\u0000\u0000\u016c\u0642\u0001"+ + "\u0000\u0000\u0000\u016e\u0648\u0001\u0000\u0000\u0000\u0170\u064c\u0001"+ + "\u0000\u0000\u0000\u0172\u0652\u0001\u0000\u0000\u0000\u0174\u0656\u0001"+ + "\u0000\u0000\u0000\u0176\u065a\u0001\u0000\u0000\u0000\u0178\u065e\u0001"+ + "\u0000\u0000\u0000\u017a\u0662\u0001\u0000\u0000\u0000\u017c\u0666\u0001"+ + "\u0000\u0000\u0000\u017e\u066a\u0001\u0000\u0000\u0000\u0180\u066e\u0001"+ + "\u0000\u0000\u0000\u0182\u0677\u0001\u0000\u0000\u0000\u0184\u067b\u0001"+ + "\u0000\u0000\u0000\u0186\u067f\u0001\u0000\u0000\u0000\u0188\u0683\u0001"+ + "\u0000\u0000\u0000\u018a\u0688\u0001\u0000\u0000\u0000\u018c\u068d\u0001"+ + "\u0000\u0000\u0000\u018e\u0691\u0001\u0000\u0000\u0000\u0190\u0697\u0001"+ + "\u0000\u0000\u0000\u0192\u06a0\u0001\u0000\u0000\u0000\u0194\u06a4\u0001"+ + "\u0000\u0000\u0000\u0196\u06a8\u0001\u0000\u0000\u0000\u0198\u06ac\u0001"+ + "\u0000\u0000\u0000\u019a\u06b0\u0001\u0000\u0000\u0000\u019c\u06b4\u0001"+ + "\u0000\u0000\u0000\u019e\u06b8\u0001\u0000\u0000\u0000\u01a0\u06bd\u0001"+ + "\u0000\u0000\u0000\u01a2\u06c3\u0001\u0000\u0000\u0000\u01a4\u06c7\u0001"+ + "\u0000\u0000\u0000\u01a6\u06cb\u0001\u0000\u0000\u0000\u01a8\u06cf\u0001"+ + "\u0000\u0000\u0000\u01aa\u06d4\u0001\u0000\u0000\u0000\u01ac\u06d8\u0001"+ + "\u0000\u0000\u0000\u01ae\u06dc\u0001\u0000\u0000\u0000\u01b0\u06e0\u0001"+ + "\u0000\u0000\u0000\u01b2\u06e4\u0001\u0000\u0000\u0000\u01b4\u06e8\u0001"+ + "\u0000\u0000\u0000\u01b6\u06ee\u0001\u0000\u0000\u0000\u01b8\u06f5\u0001"+ + "\u0000\u0000\u0000\u01ba\u06f9\u0001\u0000\u0000\u0000\u01bc\u06fd\u0001"+ + "\u0000\u0000\u0000\u01be\u0701\u0001\u0000\u0000\u0000\u01c0\u0705\u0001"+ + "\u0000\u0000\u0000\u01c2\u0709\u0001\u0000\u0000\u0000\u01c4\u070d\u0001"+ + "\u0000\u0000\u0000\u01c6\u0712\u0001\u0000\u0000\u0000\u01c8\u0718\u0001"+ + "\u0000\u0000\u0000\u01ca\u071c\u0001\u0000\u0000\u0000\u01cc\u0720\u0001"+ + "\u0000\u0000\u0000\u01ce\u0724\u0001\u0000\u0000\u0000\u01d0\u0728\u0001"+ + "\u0000\u0000\u0000\u01d2\u072c\u0001\u0000\u0000\u0000\u01d4\u0730\u0001"+ + "\u0000\u0000\u0000\u01d6\u0734\u0001\u0000\u0000\u0000\u01d8\u0738\u0001"+ + "\u0000\u0000\u0000\u01da\u073c\u0001\u0000\u0000\u0000\u01dc\u0740\u0001"+ + "\u0000\u0000\u0000\u01de\u0744\u0001\u0000\u0000\u0000\u01e0\u0748\u0001"+ + "\u0000\u0000\u0000\u01e2\u074d\u0001\u0000\u0000\u0000\u01e4\u0753\u0001"+ + "\u0000\u0000\u0000\u01e6\u0757\u0001\u0000\u0000\u0000\u01e8\u075b\u0001"+ + "\u0000\u0000\u0000\u01ea\u075f\u0001\u0000\u0000\u0000\u01ec\u0763\u0001"+ + "\u0000\u0000\u0000\u01ee\u0767\u0001\u0000\u0000\u0000\u01f0\u076b\u0001"+ + "\u0000\u0000\u0000\u01f2\u076f\u0001\u0000\u0000\u0000\u01f4\u0777\u0001"+ + "\u0000\u0000\u0000\u01f6\u078c\u0001\u0000\u0000\u0000\u01f8\u0790\u0001"+ + "\u0000\u0000\u0000\u01fa\u0794\u0001\u0000\u0000\u0000\u01fc\u0798\u0001"+ + "\u0000\u0000\u0000\u01fe\u079c\u0001\u0000\u0000\u0000\u0200\u07a0\u0001"+ + "\u0000\u0000\u0000\u0202\u07a5\u0001\u0000\u0000\u0000\u0204\u07ab\u0001"+ + "\u0000\u0000\u0000\u0206\u07af\u0001\u0000\u0000\u0000\u0208\u07b3\u0001"+ + "\u0000\u0000\u0000\u020a\u07b7\u0001\u0000\u0000\u0000\u020c\u07bb\u0001"+ + "\u0000\u0000\u0000\u020e\u07bf\u0001\u0000\u0000\u0000\u0210\u07c3\u0001"+ + "\u0000\u0000\u0000\u0212\u07c7\u0001\u0000\u0000\u0000\u0214\u07cb\u0001"+ + "\u0000\u0000\u0000\u0216\u07cf\u0001\u0000\u0000\u0000\u0218\u07d2\u0001"+ + "\u0000\u0000\u0000\u021a\u07d6\u0001\u0000\u0000\u0000\u021c\u07da\u0001"+ + "\u0000\u0000\u0000\u021e\u07de\u0001\u0000\u0000\u0000\u0220\u07e2\u0001"+ + "\u0000\u0000\u0000\u0222\u07e6\u0001\u0000\u0000\u0000\u0224\u07ea\u0001"+ + "\u0000\u0000\u0000\u0226\u07ee\u0001\u0000\u0000\u0000\u0228\u07f3\u0001"+ + "\u0000\u0000\u0000\u022a\u07f7\u0001\u0000\u0000\u0000\u022c\u07fb\u0001"+ + "\u0000\u0000\u0000\u022e\u07ff\u0001\u0000\u0000\u0000\u0230\u0803\u0001"+ + "\u0000\u0000\u0000\u0232\u0807\u0001\u0000\u0000\u0000\u0234\u080b\u0001"+ + "\u0000\u0000\u0000\u0236\u080f\u0001\u0000\u0000\u0000\u0238\u0813\u0001"+ + "\u0000\u0000\u0000\u023a\u0817\u0001\u0000\u0000\u0000\u023c\u081b\u0001"+ + "\u0000\u0000\u0000\u023e\u081f\u0001\u0000\u0000\u0000\u0240\u0823\u0001"+ + "\u0000\u0000\u0000\u0242\u0827\u0001\u0000\u0000\u0000\u0244\u082b\u0001"+ + "\u0000\u0000\u0000\u0246\u082f\u0001\u0000\u0000\u0000\u0248\u0833\u0001"+ + "\u0000\u0000\u0000\u024a\u0837\u0001\u0000\u0000\u0000\u024c\u083b\u0001"+ + "\u0000\u0000\u0000\u024e\u0840\u0001\u0000\u0000\u0000\u0250\u0845\u0001"+ + "\u0000\u0000\u0000\u0252\u0849\u0001\u0000\u0000\u0000\u0254\u084d\u0001"+ + "\u0000\u0000\u0000\u0256\u0257\u0005/\u0000\u0000\u0257\u0258\u0005/\u0000"+ + "\u0000\u0258\u025c\u0001\u0000\u0000\u0000\u0259\u025b\b\u0000\u0000\u0000"+ + "\u025a\u0259\u0001\u0000\u0000\u0000\u025b\u025e\u0001\u0000\u0000\u0000"+ + "\u025c\u025a\u0001\u0000\u0000\u0000\u025c\u025d\u0001\u0000\u0000\u0000"+ + "\u025d\u0260\u0001\u0000\u0000\u0000\u025e\u025c\u0001\u0000\u0000\u0000"+ + "\u025f\u0261\u0005\r\u0000\u0000\u0260\u025f\u0001\u0000\u0000\u0000\u0260"+ + "\u0261\u0001\u0000\u0000\u0000\u0261\u0263\u0001\u0000\u0000\u0000\u0262"+ + "\u0264\u0005\n\u0000\u0000\u0263\u0262\u0001\u0000\u0000\u0000\u0263\u0264"+ + "\u0001\u0000\u0000\u0000\u0264\u0265\u0001\u0000\u0000\u0000\u0265\u0266"+ + "\u0006\u0000\u0000\u0000\u0266\u0013\u0001\u0000\u0000\u0000\u0267\u0268"+ + "\u0005/\u0000\u0000\u0268\u0269\u0005*\u0000\u0000\u0269\u026e\u0001\u0000"+ + "\u0000\u0000\u026a\u026d\u0003\u0014\u0001\u0000\u026b\u026d\t\u0000\u0000"+ + "\u0000\u026c\u026a\u0001\u0000\u0000\u0000\u026c\u026b\u0001\u0000\u0000"+ + "\u0000\u026d\u0270\u0001\u0000\u0000\u0000\u026e\u026f\u0001\u0000\u0000"+ + "\u0000\u026e\u026c\u0001\u0000\u0000\u0000\u026f\u0271\u0001\u0000\u0000"+ + "\u0000\u0270\u026e\u0001\u0000\u0000\u0000\u0271\u0272\u0005*\u0000\u0000"+ + "\u0272\u0273\u0005/\u0000\u0000\u0273\u0274\u0001\u0000\u0000\u0000\u0274"+ + "\u0275\u0006\u0001\u0000\u0000\u0275\u0015\u0001\u0000\u0000\u0000\u0276"+ + "\u0278\u0007\u0001\u0000\u0000\u0277\u0276\u0001\u0000\u0000\u0000\u0278"+ + "\u0279\u0001\u0000\u0000\u0000\u0279\u0277\u0001\u0000\u0000\u0000\u0279"+ + "\u027a\u0001\u0000\u0000\u0000\u027a\u027b\u0001\u0000\u0000\u0000\u027b"+ + "\u027c\u0006\u0002\u0000\u0000\u027c\u0017\u0001\u0000\u0000\u0000\u027d"+ + "\u027e\u0007\u0002\u0000\u0000\u027e\u027f\u0007\u0003\u0000\u0000\u027f"+ + "\u0280\u0007\u0004\u0000\u0000\u0280\u0281\u0007\u0005\u0000\u0000\u0281"+ + "\u0282\u0007\u0006\u0000\u0000\u0282\u0283\u0007\u0007\u0000\u0000\u0283"+ + "\u0284\u0005_\u0000\u0000\u0284\u0285\u0007\b\u0000\u0000\u0285\u0286"+ + "\u0007\t\u0000\u0000\u0286\u0287\u0007\n\u0000\u0000\u0287\u0288\u0007"+ + "\u0005\u0000\u0000\u0288\u0289\u0007\u000b\u0000\u0000\u0289\u028a\u0001"+ + "\u0000\u0000\u0000\u028a\u028b\u0006\u0003\u0001\u0000\u028b\u0019\u0001"+ + "\u0000\u0000\u0000\u028c\u028d\u0007\u0007\u0000\u0000\u028d\u028e\u0007"+ + "\u0005\u0000\u0000\u028e\u028f\u0007\f\u0000\u0000\u028f\u0290\u0007\n"+ + "\u0000\u0000\u0290\u0291\u0007\u0002\u0000\u0000\u0291\u0292\u0007\u0003"+ + "\u0000\u0000\u0292\u0293\u0001\u0000\u0000\u0000\u0293\u0294\u0006\u0004"+ + "\u0002\u0000\u0294\u001b\u0001\u0000\u0000\u0000\u0295\u0296\u0004\u0005"+ + "\u0000\u0000\u0296\u0297\u0007\u0007\u0000\u0000\u0297\u0298\u0007\r\u0000"+ + "\u0000\u0298\u0299\u0007\b\u0000\u0000\u0299\u029a\u0007\u000e\u0000\u0000"+ + "\u029a\u029b\u0007\u0004\u0000\u0000\u029b\u029c\u0007\n\u0000\u0000\u029c"+ + "\u029d\u0007\u0005\u0000\u0000\u029d\u029e\u0001\u0000\u0000\u0000\u029e"+ + "\u029f\u0006\u0005\u0003\u0000\u029f\u001d\u0001\u0000\u0000\u0000\u02a0"+ + "\u02a1\u0007\u0002\u0000\u0000\u02a1\u02a2\u0007\t\u0000\u0000\u02a2\u02a3"+ + "\u0007\u000f\u0000\u0000\u02a3\u02a4\u0007\b\u0000\u0000\u02a4\u02a5\u0007"+ + "\u000e\u0000\u0000\u02a5\u02a6\u0007\u0007\u0000\u0000\u02a6\u02a7\u0007"+ + "\u000b\u0000\u0000\u02a7\u02a8\u0007\n\u0000\u0000\u02a8\u02a9\u0007\t"+ + "\u0000\u0000\u02a9\u02aa\u0007\u0005\u0000\u0000\u02aa\u02ab\u0001\u0000"+ + "\u0000\u0000\u02ab\u02ac\u0006\u0006\u0004\u0000\u02ac\u001f\u0001\u0000"+ + "\u0000\u0000\u02ad\u02ae\u0007\u0010\u0000\u0000\u02ae\u02af\u0007\n\u0000"+ + "\u0000\u02af\u02b0\u0007\u0011\u0000\u0000\u02b0\u02b1\u0007\u0011\u0000"+ + "\u0000\u02b1\u02b2\u0007\u0007\u0000\u0000\u02b2\u02b3\u0007\u0002\u0000"+ + "\u0000\u02b3\u02b4\u0007\u000b\u0000\u0000\u02b4\u02b5\u0001\u0000\u0000"+ + "\u0000\u02b5\u02b6\u0006\u0007\u0004\u0000\u02b6!\u0001\u0000\u0000\u0000"+ + "\u02b7\u02b8\u0007\u0007\u0000\u0000\u02b8\u02b9\u0007\u0012\u0000\u0000"+ + "\u02b9\u02ba\u0007\u0004\u0000\u0000\u02ba\u02bb\u0007\u000e\u0000\u0000"+ + "\u02bb\u02bc\u0001\u0000\u0000\u0000\u02bc\u02bd\u0006\b\u0004\u0000\u02bd"+ + "#\u0001\u0000\u0000\u0000\u02be\u02bf\u0007\u0006\u0000\u0000\u02bf\u02c0"+ + "\u0007\f\u0000\u0000\u02c0\u02c1\u0007\t\u0000\u0000\u02c1\u02c2\u0007"+ + "\u0013\u0000\u0000\u02c2\u02c3\u0001\u0000\u0000\u0000\u02c3\u02c4\u0006"+ + "\t\u0004\u0000\u02c4%\u0001\u0000\u0000\u0000\u02c5\u02c6\u0007\u000e"+ + "\u0000\u0000\u02c6\u02c7\u0007\n\u0000\u0000\u02c7\u02c8\u0007\u000f\u0000"+ + "\u0000\u02c8\u02c9\u0007\n\u0000\u0000\u02c9\u02ca\u0007\u000b\u0000\u0000"+ + "\u02ca\u02cb\u0001\u0000\u0000\u0000\u02cb\u02cc\u0006\n\u0004\u0000\u02cc"+ + "\'\u0001\u0000\u0000\u0000\u02cd\u02ce\u0007\f\u0000\u0000\u02ce\u02cf"+ + "\u0007\u0007\u0000\u0000\u02cf\u02d0\u0007\f\u0000\u0000\u02d0\u02d1\u0007"+ + "\u0004\u0000\u0000\u02d1\u02d2\u0007\u0005\u0000\u0000\u02d2\u02d3\u0007"+ + "\u0013\u0000\u0000\u02d3\u02d4\u0001\u0000\u0000\u0000\u02d4\u02d5\u0006"+ + "\u000b\u0004\u0000\u02d5)\u0001\u0000\u0000\u0000\u02d6\u02d7\u0007\f"+ + "\u0000\u0000\u02d7\u02d8\u0007\t\u0000\u0000\u02d8\u02d9\u0007\u0014\u0000"+ + "\u0000\u02d9\u02da\u0001\u0000\u0000\u0000\u02da\u02db\u0006\f\u0004\u0000"+ + "\u02db+\u0001\u0000\u0000\u0000\u02dc\u02dd\u0007\u0011\u0000\u0000\u02dd"+ + "\u02de\u0007\u0004\u0000\u0000\u02de\u02df\u0007\u000f\u0000\u0000\u02df"+ + "\u02e0\u0007\b\u0000\u0000\u02e0\u02e1\u0007\u000e\u0000\u0000\u02e1\u02e2"+ + "\u0007\u0007\u0000\u0000\u02e2\u02e3\u0001\u0000\u0000\u0000\u02e3\u02e4"+ + "\u0006\r\u0004\u0000\u02e4-\u0001\u0000\u0000\u0000\u02e5\u02e6\u0007"+ + "\u0011\u0000\u0000\u02e6\u02e7\u0007\t\u0000\u0000\u02e7\u02e8\u0007\f"+ + "\u0000\u0000\u02e8\u02e9\u0007\u000b\u0000\u0000\u02e9\u02ea\u0001\u0000"+ + "\u0000\u0000\u02ea\u02eb\u0006\u000e\u0004\u0000\u02eb/\u0001\u0000\u0000"+ + "\u0000\u02ec\u02ed\u0007\u0011\u0000\u0000\u02ed\u02ee\u0007\u000b\u0000"+ + "\u0000\u02ee\u02ef\u0007\u0004\u0000\u0000\u02ef\u02f0\u0007\u000b\u0000"+ + "\u0000\u02f0\u02f1\u0007\u0011\u0000\u0000\u02f1\u02f2\u0001\u0000\u0000"+ + "\u0000\u02f2\u02f3\u0006\u000f\u0004\u0000\u02f31\u0001\u0000\u0000\u0000"+ + "\u02f4\u02f5\u0007\u0014\u0000\u0000\u02f5\u02f6\u0007\u0003\u0000\u0000"+ + "\u02f6\u02f7\u0007\u0007\u0000\u0000\u02f7\u02f8\u0007\f\u0000\u0000\u02f8"+ + "\u02f9\u0007\u0007\u0000\u0000\u02f9\u02fa\u0001\u0000\u0000\u0000\u02fa"+ + "\u02fb\u0006\u0010\u0004\u0000\u02fb3\u0001\u0000\u0000\u0000\u02fc\u02fd"+ + "\u0007\u0015\u0000\u0000\u02fd\u02fe\u0007\f\u0000\u0000\u02fe\u02ff\u0007"+ + "\t\u0000\u0000\u02ff\u0300\u0007\u000f\u0000\u0000\u0300\u0301\u0001\u0000"+ + "\u0000\u0000\u0301\u0302\u0006\u0011\u0005\u0000\u03025\u0001\u0000\u0000"+ + "\u0000\u0303\u0304\u0007\u000b\u0000\u0000\u0304\u0305\u0007\u0011\u0000"+ + "\u0000\u0305\u0306\u0001\u0000\u0000\u0000\u0306\u0307\u0006\u0012\u0005"+ + "\u0000\u03077\u0001\u0000\u0000\u0000\u0308\u0309\u0007\u0015\u0000\u0000"+ + "\u0309\u030a\u0007\t\u0000\u0000\u030a\u030b\u0007\f\u0000\u0000\u030b"+ + "\u030c\u0007\u0013\u0000\u0000\u030c\u030d\u0001\u0000\u0000\u0000\u030d"+ + "\u030e\u0006\u0013\u0006\u0000\u030e9\u0001\u0000\u0000\u0000\u030f\u0310"+ + "\u0004\u0014\u0001\u0000\u0310\u0311\u0007\u0015\u0000\u0000\u0311\u0312"+ + "\u0007\u0016\u0000\u0000\u0312\u0313\u0007\u0011\u0000\u0000\u0313\u0314"+ + "\u0007\u0007\u0000\u0000\u0314\u0315\u0001\u0000\u0000\u0000\u0315\u0316"+ + "\u0006\u0014\u0007\u0000\u0316;\u0001\u0000\u0000\u0000\u0317\u0318\u0007"+ + "\n\u0000\u0000\u0318\u0319\u0007\u0005\u0000\u0000\u0319\u031a\u0007\u000e"+ + "\u0000\u0000\u031a\u031b\u0007\n\u0000\u0000\u031b\u031c\u0007\u0005\u0000"+ + "\u0000\u031c\u031d\u0007\u0007\u0000\u0000\u031d\u031e\u0001\u0000\u0000"+ + "\u0000\u031e\u031f\u0006\u0015\b\u0000\u031f=\u0001\u0000\u0000\u0000"+ + "\u0320\u0321\u0007\n\u0000\u0000\u0321\u0322\u0007\u0005\u0000\u0000\u0322"+ + "\u0323\u0007\u000e\u0000\u0000\u0323\u0324\u0007\n\u0000\u0000\u0324\u0325"+ + "\u0007\u0005\u0000\u0000\u0325\u0326\u0007\u0007\u0000\u0000\u0326\u0327"+ + "\u0007\u0011\u0000\u0000\u0327\u0328\u0007\u000b\u0000\u0000\u0328\u0329"+ + "\u0007\u0004\u0000\u0000\u0329\u032a\u0007\u000b\u0000\u0000\u032a\u032b"+ + "\u0007\u0011\u0000\u0000\u032b\u032c\u0001\u0000\u0000\u0000\u032c\u032d"+ + "\u0006\u0016\u0004\u0000\u032d?\u0001\u0000\u0000\u0000\u032e\u032f\u0007"+ + "\u000e\u0000\u0000\u032f\u0330\u0007\t\u0000\u0000\u0330\u0331\u0007\t"+ + "\u0000\u0000\u0331\u0332\u0007\u0013\u0000\u0000\u0332\u0333\u0007\u0016"+ + "\u0000\u0000\u0333\u0334\u0007\b\u0000\u0000\u0334\u0335\u0001\u0000\u0000"+ + "\u0000\u0335\u0336\u0006\u0017\t\u0000\u0336A\u0001\u0000\u0000\u0000"+ + "\u0337\u0338\u0004\u0018\u0002\u0000\u0338\u0339\u0007\u0015\u0000\u0000"+ + "\u0339\u033a\u0007\u0016\u0000\u0000\u033a\u033b\u0007\u000e\u0000\u0000"+ + "\u033b\u033c\u0007\u000e\u0000\u0000\u033c\u033d\u0001\u0000\u0000\u0000"+ + "\u033d\u033e\u0006\u0018\t\u0000\u033eC\u0001\u0000\u0000\u0000\u033f"+ + "\u0340\u0004\u0019\u0003\u0000\u0340\u0341\u0007\u000e\u0000\u0000\u0341"+ + "\u0342\u0007\u0007\u0000\u0000\u0342\u0343\u0007\u0015\u0000\u0000\u0343"+ + "\u0344\u0007\u000b\u0000\u0000\u0344\u0345\u0001\u0000\u0000\u0000\u0345"+ + "\u0346\u0006\u0019\t\u0000\u0346E\u0001\u0000\u0000\u0000\u0347\u0348"+ + "\u0004\u001a\u0004\u0000\u0348\u0349\u0007\f\u0000\u0000\u0349\u034a\u0007"+ + "\n\u0000\u0000\u034a\u034b\u0007\u0006\u0000\u0000\u034b\u034c\u0007\u0003"+ + "\u0000\u0000\u034c\u034d\u0007\u000b\u0000\u0000\u034d\u034e\u0001\u0000"+ + "\u0000\u0000\u034e\u034f\u0006\u001a\t\u0000\u034fG\u0001\u0000\u0000"+ + "\u0000\u0350\u0351\u0004\u001b\u0005\u0000\u0351\u0352\u0007\u000e\u0000"+ + "\u0000\u0352\u0353\u0007\t\u0000\u0000\u0353\u0354\u0007\t\u0000\u0000"+ + "\u0354\u0355\u0007\u0013\u0000\u0000\u0355\u0356\u0007\u0016\u0000\u0000"+ + "\u0356\u0357\u0007\b\u0000\u0000\u0357\u0358\u0005_\u0000\u0000\u0358"+ + "\u0359\u0005\u8001\uf414\u0000\u0000\u0359\u035a\u0001\u0000\u0000\u0000"+ + "\u035a\u035b\u0006\u001b\n\u0000\u035bI\u0001\u0000\u0000\u0000\u035c"+ + "\u035d\u0007\u000f\u0000\u0000\u035d\u035e\u0007\u0012\u0000\u0000\u035e"+ + "\u035f\u0005_\u0000\u0000\u035f\u0360\u0007\u0007\u0000\u0000\u0360\u0361"+ + "\u0007\r\u0000\u0000\u0361\u0362\u0007\b\u0000\u0000\u0362\u0363\u0007"+ + "\u0004\u0000\u0000\u0363\u0364\u0007\u0005\u0000\u0000\u0364\u0365\u0007"+ + "\u0010\u0000\u0000\u0365\u0366\u0001\u0000\u0000\u0000\u0366\u0367\u0006"+ + "\u001c\u000b\u0000\u0367K\u0001\u0000\u0000\u0000\u0368\u0369\u0007\u0010"+ + "\u0000\u0000\u0369\u036a\u0007\f\u0000\u0000\u036a\u036b\u0007\t\u0000"+ + "\u0000\u036b\u036c\u0007\b\u0000\u0000\u036c\u036d\u0001\u0000\u0000\u0000"+ + "\u036d\u036e\u0006\u001d\f\u0000\u036eM\u0001\u0000\u0000\u0000\u036f"+ + "\u0370\u0007\u0013\u0000\u0000\u0370\u0371\u0007\u0007\u0000\u0000\u0371"+ + "\u0372\u0007\u0007\u0000\u0000\u0372\u0373\u0007\b\u0000\u0000\u0373\u0374"+ + "\u0001\u0000\u0000\u0000\u0374\u0375\u0006\u001e\f\u0000\u0375O\u0001"+ + "\u0000\u0000\u0000\u0376\u0377\u0004\u001f\u0006\u0000\u0377\u0378\u0007"+ + "\n\u0000\u0000\u0378\u0379\u0007\u0005\u0000\u0000\u0379\u037a\u0007\u0011"+ + "\u0000\u0000\u037a\u037b\u0007\n\u0000\u0000\u037b\u037c\u0007\u0011\u0000"+ + "\u0000\u037c\u037d\u0007\u000b\u0000\u0000\u037d\u037e\u0005_\u0000\u0000"+ + "\u037e\u037f\u0005\u8001\uf414\u0000\u0000\u037f\u0380\u0001\u0000\u0000"+ + "\u0000\u0380\u0381\u0006\u001f\f\u0000\u0381Q\u0001\u0000\u0000\u0000"+ + "\u0382\u0383\u0007\f\u0000\u0000\u0383\u0384\u0007\u0007\u0000\u0000\u0384"+ + "\u0385\u0007\u0005\u0000\u0000\u0385\u0386\u0007\u0004\u0000\u0000\u0386"+ + "\u0387\u0007\u000f\u0000\u0000\u0387\u0388\u0007\u0007\u0000\u0000\u0388"+ + "\u0389\u0001\u0000\u0000\u0000\u0389\u038a\u0006 \r\u0000\u038aS\u0001"+ + "\u0000\u0000\u0000\u038b\u038c\u0007\u0011\u0000\u0000\u038c\u038d\u0007"+ + "\u0007\u0000\u0000\u038d\u038e\u0007\u000b\u0000\u0000\u038e\u038f\u0001"+ + "\u0000\u0000\u0000\u038f\u0390\u0006!\u000e\u0000\u0390U\u0001\u0000\u0000"+ + "\u0000\u0391\u0392\u0007\u0011\u0000\u0000\u0392\u0393\u0007\u0003\u0000"+ + "\u0000\u0393\u0394\u0007\t\u0000\u0000\u0394\u0395\u0007\u0014\u0000\u0000"+ + "\u0395\u0396\u0001\u0000\u0000\u0000\u0396\u0397\u0006\"\u000f\u0000\u0397"+ + "W\u0001\u0000\u0000\u0000\u0398\u039a\b\u0017\u0000\u0000\u0399\u0398"+ + "\u0001\u0000\u0000\u0000\u039a\u039b\u0001\u0000\u0000\u0000\u039b\u0399"+ + "\u0001\u0000\u0000\u0000\u039b\u039c\u0001\u0000\u0000\u0000\u039c\u039d"+ + "\u0001\u0000\u0000\u0000\u039d\u039e\u0006#\u0004\u0000\u039eY\u0001\u0000"+ + "\u0000\u0000\u039f\u03a0\u0003\u00b6R\u0000\u03a0\u03a1\u0001\u0000\u0000"+ + "\u0000\u03a1\u03a2\u0006$\u0010\u0000\u03a2\u03a3\u0006$\u0011\u0000\u03a3"+ + "[\u0001\u0000\u0000\u0000\u03a4\u03a5\u0003\u012e\u008e\u0000\u03a5\u03a6"+ + "\u0001\u0000\u0000\u0000\u03a6\u03a7\u0006%\u0012\u0000\u03a7\u03a8\u0006"+ + "%\u0011\u0000\u03a8\u03a9\u0006%\u0011\u0000\u03a9]\u0001\u0000\u0000"+ + "\u0000\u03aa\u03ab\u0003\u00f8s\u0000\u03ab\u03ac\u0001\u0000\u0000\u0000"+ + "\u03ac\u03ad\u0006&\u0013\u0000\u03ad_\u0001\u0000\u0000\u0000\u03ae\u03af"+ + "\u0003\u0216\u0102\u0000\u03af\u03b0\u0001\u0000\u0000\u0000\u03b0\u03b1"+ + "\u0006\'\u0014\u0000\u03b1a\u0001\u0000\u0000\u0000\u03b2\u03b3\u0003"+ + "\u00e4i\u0000\u03b3\u03b4\u0001\u0000\u0000\u0000\u03b4\u03b5\u0006(\u0015"+ + "\u0000\u03b5c\u0001\u0000\u0000\u0000\u03b6\u03b7\u0003\u00e0g\u0000\u03b7"+ + "\u03b8\u0001\u0000\u0000\u0000\u03b8\u03b9\u0006)\u0016\u0000\u03b9e\u0001"+ + "\u0000\u0000\u0000\u03ba\u03bb\u0003\u0128\u008b\u0000\u03bb\u03bc\u0001"+ + "\u0000\u0000\u0000\u03bc\u03bd\u0006*\u0017\u0000\u03bdg\u0001\u0000\u0000"+ + "\u0000\u03be\u03bf\u0003\u012a\u008c\u0000\u03bf\u03c0\u0001\u0000\u0000"+ + "\u0000\u03c0\u03c1\u0006+\u0018\u0000\u03c1i\u0001\u0000\u0000\u0000\u03c2"+ + "\u03c3\u0003\u0134\u0091\u0000\u03c3\u03c4\u0001\u0000\u0000\u0000\u03c4"+ + "\u03c5\u0006,\u0019\u0000\u03c5k\u0001\u0000\u0000\u0000\u03c6\u03c7\u0003"+ + "\u0130\u008f\u0000\u03c7\u03c8\u0001\u0000\u0000\u0000\u03c8\u03c9\u0006"+ + "-\u001a\u0000\u03c9m\u0001\u0000\u0000\u0000\u03ca\u03cb\u0003\u0012\u0000"+ + "\u0000\u03cb\u03cc\u0001\u0000\u0000\u0000\u03cc\u03cd\u0006.\u0000\u0000"+ + "\u03cdo\u0001\u0000\u0000\u0000\u03ce\u03cf\u0003\u0014\u0001\u0000\u03cf"+ + "\u03d0\u0001\u0000\u0000\u0000\u03d0\u03d1\u0006/\u0000\u0000\u03d1q\u0001"+ + "\u0000\u0000\u0000\u03d2\u03d3\u0003\u0016\u0002\u0000\u03d3\u03d4\u0001"+ + "\u0000\u0000\u0000\u03d4\u03d5\u00060\u0000\u0000\u03d5s\u0001\u0000\u0000"+ + "\u0000\u03d6\u03d7\u0003\u00b6R\u0000\u03d7\u03d8\u0001\u0000\u0000\u0000"+ + "\u03d8\u03d9\u00061\u0010\u0000\u03d9\u03da\u00061\u0011\u0000\u03dau"+ + "\u0001\u0000\u0000\u0000\u03db\u03dc\u0003\u012e\u008e\u0000\u03dc\u03dd"+ + "\u0001\u0000\u0000\u0000\u03dd\u03de\u00062\u0012\u0000\u03de\u03df\u0006"+ + "2\u0011\u0000\u03df\u03e0\u00062\u0011\u0000\u03e0w\u0001\u0000\u0000"+ + "\u0000\u03e1\u03e2\u0003\u00f8s\u0000\u03e2\u03e3\u0001\u0000\u0000\u0000"+ + "\u03e3\u03e4\u00063\u0013\u0000\u03e4\u03e5\u00063\u001b\u0000\u03e5y"+ + "\u0001\u0000\u0000\u0000\u03e6\u03e7\u0003\u0102x\u0000\u03e7\u03e8\u0001"+ + "\u0000\u0000\u0000\u03e8\u03e9\u00064\u001c\u0000\u03e9\u03ea\u00064\u001b"+ + "\u0000\u03ea{\u0001\u0000\u0000\u0000\u03eb\u03ec\b\u0018\u0000\u0000"+ + "\u03ec}\u0001\u0000\u0000\u0000\u03ed\u03ef\u0003|5\u0000\u03ee\u03ed"+ + "\u0001\u0000\u0000\u0000\u03ef\u03f0\u0001\u0000\u0000\u0000\u03f0\u03ee"+ + "\u0001\u0000\u0000\u0000\u03f0\u03f1\u0001\u0000\u0000\u0000\u03f1\u03f2"+ + "\u0001\u0000\u0000\u0000\u03f2\u03f3\u0003\u00dce\u0000\u03f3\u03f5\u0001"+ + "\u0000\u0000\u0000\u03f4\u03ee\u0001\u0000\u0000\u0000\u03f4\u03f5\u0001"+ + "\u0000\u0000\u0000\u03f5\u03f7\u0001\u0000\u0000\u0000\u03f6\u03f8\u0003"+ + "|5\u0000\u03f7\u03f6\u0001\u0000\u0000\u0000\u03f8\u03f9\u0001\u0000\u0000"+ + "\u0000\u03f9\u03f7\u0001\u0000\u0000\u0000\u03f9\u03fa\u0001\u0000\u0000"+ + "\u0000\u03fa\u007f\u0001\u0000\u0000\u0000\u03fb\u03fc\u0003~6\u0000\u03fc"+ + "\u03fd\u0001\u0000\u0000\u0000\u03fd\u03fe\u00067\u001d\u0000\u03fe\u0081"+ + "\u0001\u0000\u0000\u0000\u03ff\u0400\u0003\u00cc]\u0000\u0400\u0401\u0001"+ + "\u0000\u0000\u0000\u0401\u0402\u00068\u001e\u0000\u0402\u0083\u0001\u0000"+ + "\u0000\u0000\u0403\u0404\u0003\u0012\u0000\u0000\u0404\u0405\u0001\u0000"+ + "\u0000\u0000\u0405\u0406\u00069\u0000\u0000\u0406\u0085\u0001\u0000\u0000"+ + "\u0000\u0407\u0408\u0003\u0014\u0001\u0000\u0408\u0409\u0001\u0000\u0000"+ + "\u0000\u0409\u040a\u0006:\u0000\u0000\u040a\u0087\u0001\u0000\u0000\u0000"+ + "\u040b\u040c\u0003\u0016\u0002\u0000\u040c\u040d\u0001\u0000\u0000\u0000"+ + "\u040d\u040e\u0006;\u0000\u0000\u040e\u0089\u0001\u0000\u0000\u0000\u040f"+ + "\u0410\u0003\u00b6R\u0000\u0410\u0411\u0001\u0000\u0000\u0000\u0411\u0412"+ + "\u0006<\u0010\u0000\u0412\u0413\u0006<\u0011\u0000\u0413\u0414\u0006<"+ + "\u0011\u0000\u0414\u008b\u0001\u0000\u0000\u0000\u0415\u0416\u0003\u012e"+ + "\u008e\u0000\u0416\u0417\u0001\u0000\u0000\u0000\u0417\u0418\u0006=\u0012"+ + "\u0000\u0418\u0419\u0006=\u0011\u0000\u0419\u041a\u0006=\u0011\u0000\u041a"+ + "\u041b\u0006=\u0011\u0000\u041b\u008d\u0001\u0000\u0000\u0000\u041c\u041d"+ + "\u0003\u0128\u008b\u0000\u041d\u041e\u0001\u0000\u0000\u0000\u041e\u041f"+ + "\u0006>\u0017\u0000\u041f\u008f\u0001\u0000\u0000\u0000\u0420\u0421\u0003"+ + "\u012a\u008c\u0000\u0421\u0422\u0001\u0000\u0000\u0000\u0422\u0423\u0006"+ + "?\u0018\u0000\u0423\u0091\u0001\u0000\u0000\u0000\u0424\u0425\u0003\u00d6"+ + "b\u0000\u0425\u0426\u0001\u0000\u0000\u0000\u0426\u0427\u0006@\u001f\u0000"+ + "\u0427\u0093\u0001\u0000\u0000\u0000\u0428\u0429\u0003\u00e0g\u0000\u0429"+ + "\u042a\u0001\u0000\u0000\u0000\u042a\u042b\u0006A\u0016\u0000\u042b\u0095"+ + "\u0001\u0000\u0000\u0000\u042c\u042d\u0003\u00e4i\u0000\u042d\u042e\u0001"+ + "\u0000\u0000\u0000\u042e\u042f\u0006B\u0015\u0000\u042f\u0097\u0001\u0000"+ + "\u0000\u0000\u0430\u0431\u0003\u0102x\u0000\u0431\u0432\u0001\u0000\u0000"+ + "\u0000\u0432\u0433\u0006C\u001c\u0000\u0433\u0099\u0001\u0000\u0000\u0000"+ + "\u0434\u0435\u0003\u01f8\u00f3\u0000\u0435\u0436\u0001\u0000\u0000\u0000"+ + "\u0436\u0437\u0006D \u0000\u0437\u009b\u0001\u0000\u0000\u0000\u0438\u0439"+ + "\u0003\u0134\u0091\u0000\u0439\u043a\u0001\u0000\u0000\u0000\u043a\u043b"+ + "\u0006E\u0019\u0000\u043b\u009d\u0001\u0000\u0000\u0000\u043c\u043d\u0003"+ + "\u00fcu\u0000\u043d\u043e\u0001\u0000\u0000\u0000\u043e\u043f\u0006F!"+ + "\u0000\u043f\u009f\u0001\u0000\u0000\u0000\u0440\u0441\u0003\u0124\u0089"+ + "\u0000\u0441\u0442\u0001\u0000\u0000\u0000\u0442\u0443\u0006G\"\u0000"+ + "\u0443\u00a1\u0001\u0000\u0000\u0000\u0444\u0445\u0003\u0120\u0087\u0000"+ + "\u0445\u0446\u0001\u0000\u0000\u0000\u0446\u0447\u0006H#\u0000\u0447\u00a3"+ + "\u0001\u0000\u0000\u0000\u0448\u0449\u0003\u0126\u008a\u0000\u0449\u044a"+ + "\u0001\u0000\u0000\u0000\u044a\u044b\u0006I$\u0000\u044b\u00a5\u0001\u0000"+ + "\u0000\u0000\u044c\u044d\u0003\u0012\u0000\u0000\u044d\u044e\u0001\u0000"+ + "\u0000\u0000\u044e\u044f\u0006J\u0000\u0000\u044f\u00a7\u0001\u0000\u0000"+ + "\u0000\u0450\u0451\u0003\u0014\u0001\u0000\u0451\u0452\u0001\u0000\u0000"+ + "\u0000\u0452\u0453\u0006K\u0000\u0000\u0453\u00a9\u0001\u0000\u0000\u0000"+ + "\u0454\u0455\u0003\u0016\u0002\u0000\u0455\u0456\u0001\u0000\u0000\u0000"+ + "\u0456\u0457\u0006L\u0000\u0000\u0457\u00ab\u0001\u0000\u0000\u0000\u0458"+ + "\u0459\u0003\u012c\u008d\u0000\u0459\u045a\u0001\u0000\u0000\u0000\u045a"+ + "\u045b\u0006M%\u0000\u045b\u045c\u0006M&\u0000\u045c\u00ad\u0001\u0000"+ + "\u0000\u0000\u045d\u045e\u0003\u00b6R\u0000\u045e\u045f\u0001\u0000\u0000"+ + "\u0000\u045f\u0460\u0006N\u0010\u0000\u0460\u0461\u0006N\u0011\u0000\u0461"+ + "\u00af\u0001\u0000\u0000\u0000\u0462\u0463\u0003\u0016\u0002\u0000\u0463"+ + "\u0464\u0001\u0000\u0000\u0000\u0464\u0465\u0006O\u0000\u0000\u0465\u00b1"+ + "\u0001\u0000\u0000\u0000\u0466\u0467\u0003\u0012\u0000\u0000\u0467\u0468"+ + "\u0001\u0000\u0000\u0000\u0468\u0469\u0006P\u0000\u0000\u0469\u00b3\u0001"+ + "\u0000\u0000\u0000\u046a\u046b\u0003\u0014\u0001\u0000\u046b\u046c\u0001"+ + "\u0000\u0000\u0000\u046c\u046d\u0006Q\u0000\u0000\u046d\u00b5\u0001\u0000"+ + "\u0000\u0000\u046e\u046f\u0005|\u0000\u0000\u046f\u0470\u0001\u0000\u0000"+ + "\u0000\u0470\u0471\u0006R\u0011\u0000\u0471\u00b7\u0001\u0000\u0000\u0000"+ + "\u0472\u0473\u0007\u0019\u0000\u0000\u0473\u00b9\u0001\u0000\u0000\u0000"+ + "\u0474\u0475\u0007\u001a\u0000\u0000\u0475\u00bb\u0001\u0000\u0000\u0000"+ + "\u0476\u0477\u0005\\\u0000\u0000\u0477\u0478\u0007\u001b\u0000\u0000\u0478"+ + "\u00bd\u0001\u0000\u0000\u0000\u0479\u047a\b\u001c\u0000\u0000\u047a\u00bf"+ + "\u0001\u0000\u0000\u0000\u047b\u047d\u0007\u0007\u0000\u0000\u047c\u047e"+ + "\u0007\u001d\u0000\u0000\u047d\u047c\u0001\u0000\u0000\u0000\u047d\u047e"+ + "\u0001\u0000\u0000\u0000\u047e\u0480\u0001\u0000\u0000\u0000\u047f\u0481"+ + "\u0003\u00b8S\u0000\u0480\u047f\u0001\u0000\u0000\u0000\u0481\u0482\u0001"+ + "\u0000\u0000\u0000\u0482\u0480\u0001\u0000\u0000\u0000\u0482\u0483\u0001"+ + "\u0000\u0000\u0000\u0483\u00c1\u0001\u0000\u0000\u0000\u0484\u0485\u0005"+ + "@\u0000\u0000\u0485\u00c3\u0001\u0000\u0000\u0000\u0486\u0487\u0005`\u0000"+ + "\u0000\u0487\u00c5\u0001\u0000\u0000\u0000\u0488\u048c\b\u001e\u0000\u0000"+ + "\u0489\u048a\u0005`\u0000\u0000\u048a\u048c\u0005`\u0000\u0000\u048b\u0488"+ + "\u0001\u0000\u0000\u0000\u048b\u0489\u0001\u0000\u0000\u0000\u048c\u00c7"+ + "\u0001\u0000\u0000\u0000\u048d\u048e\u0005_\u0000\u0000\u048e\u00c9\u0001"+ + "\u0000\u0000\u0000\u048f\u0493\u0003\u00baT\u0000\u0490\u0493\u0003\u00b8"+ + "S\u0000\u0491\u0493\u0003\u00c8[\u0000\u0492\u048f\u0001\u0000\u0000\u0000"+ + "\u0492\u0490\u0001\u0000\u0000\u0000\u0492\u0491\u0001\u0000\u0000\u0000"+ + "\u0493\u00cb\u0001\u0000\u0000\u0000\u0494\u0499\u0005\"\u0000\u0000\u0495"+ + "\u0498\u0003\u00bcU\u0000\u0496\u0498\u0003\u00beV\u0000\u0497\u0495\u0001"+ + "\u0000\u0000\u0000\u0497\u0496\u0001\u0000\u0000\u0000\u0498\u049b\u0001"+ + "\u0000\u0000\u0000\u0499\u0497\u0001\u0000\u0000\u0000\u0499\u049a\u0001"+ + "\u0000\u0000\u0000\u049a\u049c\u0001\u0000\u0000\u0000\u049b\u0499\u0001"+ + "\u0000\u0000\u0000\u049c\u04b2\u0005\"\u0000\u0000\u049d\u049e\u0005\""+ + "\u0000\u0000\u049e\u049f\u0005\"\u0000\u0000\u049f\u04a0\u0005\"\u0000"+ + "\u0000\u04a0\u04a4\u0001\u0000\u0000\u0000\u04a1\u04a3\b\u0000\u0000\u0000"+ + "\u04a2\u04a1\u0001\u0000\u0000\u0000\u04a3\u04a6\u0001\u0000\u0000\u0000"+ + "\u04a4\u04a5\u0001\u0000\u0000\u0000\u04a4\u04a2\u0001\u0000\u0000\u0000"+ + "\u04a5\u04a7\u0001\u0000\u0000\u0000\u04a6\u04a4\u0001\u0000\u0000\u0000"+ + "\u04a7\u04a8\u0005\"\u0000\u0000\u04a8\u04a9\u0005\"\u0000\u0000\u04a9"+ + "\u04aa\u0005\"\u0000\u0000\u04aa\u04ac\u0001\u0000\u0000\u0000\u04ab\u04ad"+ + "\u0005\"\u0000\u0000\u04ac\u04ab\u0001\u0000\u0000\u0000\u04ac\u04ad\u0001"+ + "\u0000\u0000\u0000\u04ad\u04af\u0001\u0000\u0000\u0000\u04ae\u04b0\u0005"+ + "\"\u0000\u0000\u04af\u04ae\u0001\u0000\u0000\u0000\u04af\u04b0\u0001\u0000"+ + "\u0000\u0000\u04b0\u04b2\u0001\u0000\u0000\u0000\u04b1\u0494\u0001\u0000"+ + "\u0000\u0000\u04b1\u049d\u0001\u0000\u0000\u0000\u04b2\u00cd\u0001\u0000"+ + "\u0000\u0000\u04b3\u04b5\u0003\u00b8S\u0000\u04b4\u04b3\u0001\u0000\u0000"+ + "\u0000\u04b5\u04b6\u0001\u0000\u0000\u0000\u04b6\u04b4\u0001\u0000\u0000"+ + "\u0000\u04b6\u04b7\u0001\u0000\u0000\u0000\u04b7\u00cf\u0001\u0000\u0000"+ + "\u0000\u04b8\u04ba\u0003\u00b8S\u0000\u04b9\u04b8\u0001\u0000\u0000\u0000"+ + "\u04ba\u04bb\u0001\u0000\u0000\u0000\u04bb\u04b9\u0001\u0000\u0000\u0000"+ + "\u04bb\u04bc\u0001\u0000\u0000\u0000\u04bc\u04bd\u0001\u0000\u0000\u0000"+ + "\u04bd\u04c1\u0003\u00e4i\u0000\u04be\u04c0\u0003\u00b8S\u0000\u04bf\u04be"+ + "\u0001\u0000\u0000\u0000\u04c0\u04c3\u0001\u0000\u0000\u0000\u04c1\u04bf"+ + "\u0001\u0000\u0000\u0000\u04c1\u04c2\u0001\u0000\u0000\u0000\u04c2\u04e3"+ + "\u0001\u0000\u0000\u0000\u04c3\u04c1\u0001\u0000\u0000\u0000\u04c4\u04c6"+ + "\u0003\u00e4i\u0000\u04c5\u04c7\u0003\u00b8S\u0000\u04c6\u04c5\u0001\u0000"+ + "\u0000\u0000\u04c7\u04c8\u0001\u0000\u0000\u0000\u04c8\u04c6\u0001\u0000"+ + "\u0000\u0000\u04c8\u04c9\u0001\u0000\u0000\u0000\u04c9\u04e3\u0001\u0000"+ + "\u0000\u0000\u04ca\u04cc\u0003\u00b8S\u0000\u04cb\u04ca\u0001\u0000\u0000"+ + "\u0000\u04cc\u04cd\u0001\u0000\u0000\u0000\u04cd\u04cb\u0001\u0000\u0000"+ + "\u0000\u04cd\u04ce\u0001\u0000\u0000\u0000\u04ce\u04d6\u0001\u0000\u0000"+ + "\u0000\u04cf\u04d3\u0003\u00e4i\u0000\u04d0\u04d2\u0003\u00b8S\u0000\u04d1"+ + "\u04d0\u0001\u0000\u0000\u0000\u04d2\u04d5\u0001\u0000\u0000\u0000\u04d3"+ + "\u04d1\u0001\u0000\u0000\u0000\u04d3\u04d4\u0001\u0000\u0000\u0000\u04d4"+ + "\u04d7\u0001\u0000\u0000\u0000\u04d5\u04d3\u0001\u0000\u0000\u0000\u04d6"+ + "\u04cf\u0001\u0000\u0000\u0000\u04d6\u04d7\u0001\u0000\u0000\u0000\u04d7"+ + "\u04d8\u0001\u0000\u0000\u0000\u04d8\u04d9\u0003\u00c0W\u0000\u04d9\u04e3"+ + "\u0001\u0000\u0000\u0000\u04da\u04dc\u0003\u00e4i\u0000\u04db\u04dd\u0003"+ + "\u00b8S\u0000\u04dc\u04db\u0001\u0000\u0000\u0000\u04dd\u04de\u0001\u0000"+ + "\u0000\u0000\u04de\u04dc\u0001\u0000\u0000\u0000\u04de\u04df\u0001\u0000"+ + "\u0000\u0000\u04df\u04e0\u0001\u0000\u0000\u0000\u04e0\u04e1\u0003\u00c0"+ + "W\u0000\u04e1\u04e3\u0001\u0000\u0000\u0000\u04e2\u04b9\u0001\u0000\u0000"+ + "\u0000\u04e2\u04c4\u0001\u0000\u0000\u0000\u04e2\u04cb\u0001\u0000\u0000"+ + "\u0000\u04e2\u04da\u0001\u0000\u0000\u0000\u04e3\u00d1\u0001\u0000\u0000"+ + "\u0000\u04e4\u04e5\u0007\u0004\u0000\u0000\u04e5\u04e6\u0007\u0005\u0000"+ + "\u0000\u04e6\u04e7\u0007\u0010\u0000\u0000\u04e7\u00d3\u0001\u0000\u0000"+ + "\u0000\u04e8\u04e9\u0007\u0004\u0000\u0000\u04e9\u04ea\u0007\u0011\u0000"+ + "\u0000\u04ea\u04eb\u0007\u0002\u0000\u0000\u04eb\u00d5\u0001\u0000\u0000"+ + "\u0000\u04ec\u04ed\u0005=\u0000\u0000\u04ed\u00d7\u0001\u0000\u0000\u0000"+ + "\u04ee\u04ef\u0007\u001f\u0000\u0000\u04ef\u04f0\u0007 \u0000\u0000\u04f0"+ + "\u00d9\u0001\u0000\u0000\u0000\u04f1\u04f2\u0005:\u0000\u0000\u04f2\u04f3"+ + "\u0005:\u0000\u0000\u04f3\u00db\u0001\u0000\u0000\u0000\u04f4\u04f5\u0005"+ + ":\u0000\u0000\u04f5\u00dd\u0001\u0000\u0000\u0000\u04f6\u04f7\u0005;\u0000"+ + "\u0000\u04f7\u00df\u0001\u0000\u0000\u0000\u04f8\u04f9\u0005,\u0000\u0000"+ + "\u04f9\u00e1\u0001\u0000\u0000\u0000\u04fa\u04fb\u0007\u0010\u0000\u0000"+ + "\u04fb\u04fc\u0007\u0007\u0000\u0000\u04fc\u04fd\u0007\u0011\u0000\u0000"+ + "\u04fd\u04fe\u0007\u0002\u0000\u0000\u04fe\u00e3\u0001\u0000\u0000\u0000"+ + "\u04ff\u0500\u0005.\u0000\u0000\u0500\u00e5\u0001\u0000\u0000\u0000\u0501"+ + "\u0502\u0007\u0015\u0000\u0000\u0502\u0503\u0007\u0004\u0000\u0000\u0503"+ + "\u0504\u0007\u000e\u0000\u0000\u0504\u0505\u0007\u0011\u0000\u0000\u0505"+ + "\u0506\u0007\u0007\u0000\u0000\u0506\u00e7\u0001\u0000\u0000\u0000\u0507"+ + "\u0508\u0007\u0015\u0000\u0000\u0508\u0509\u0007\n\u0000\u0000\u0509\u050a"+ + "\u0007\f\u0000\u0000\u050a\u050b\u0007\u0011\u0000\u0000\u050b\u050c\u0007"+ + "\u000b\u0000\u0000\u050c\u00e9\u0001\u0000\u0000\u0000\u050d\u050e\u0007"+ + "\n\u0000\u0000\u050e\u050f\u0007\u0005\u0000\u0000\u050f\u00eb\u0001\u0000"+ + "\u0000\u0000\u0510\u0511\u0007\n\u0000\u0000\u0511\u0512\u0007\u0011\u0000"+ + "\u0000\u0512\u00ed\u0001\u0000\u0000\u0000\u0513\u0514\u0007\u000e\u0000"+ + "\u0000\u0514\u0515\u0007\u0004\u0000\u0000\u0515\u0516\u0007\u0011\u0000"+ + "\u0000\u0516\u0517\u0007\u000b\u0000\u0000\u0517\u00ef\u0001\u0000\u0000"+ + "\u0000\u0518\u0519\u0007\u000e\u0000\u0000\u0519\u051a\u0007\n\u0000\u0000"+ + "\u051a\u051b\u0007\u0013\u0000\u0000\u051b\u051c\u0007\u0007\u0000\u0000"+ + "\u051c\u00f1\u0001\u0000\u0000\u0000\u051d\u051e\u0007\u0005\u0000\u0000"+ + "\u051e\u051f\u0007\t\u0000\u0000\u051f\u0520\u0007\u000b\u0000\u0000\u0520"+ + "\u00f3\u0001\u0000\u0000\u0000\u0521\u0522\u0007\u0005\u0000\u0000\u0522"+ + "\u0523\u0007\u0016\u0000\u0000\u0523\u0524\u0007\u000e\u0000\u0000\u0524"+ + "\u0525\u0007\u000e\u0000\u0000\u0525\u00f5\u0001\u0000\u0000\u0000\u0526"+ + "\u0527\u0007\u0005\u0000\u0000\u0527\u0528\u0007\u0016\u0000\u0000\u0528"+ + "\u0529\u0007\u000e\u0000\u0000\u0529\u052a\u0007\u000e\u0000\u0000\u052a"+ + "\u052b\u0007\u0011\u0000\u0000\u052b\u00f7\u0001\u0000\u0000\u0000\u052c"+ + "\u052d\u0007\t\u0000\u0000\u052d\u052e\u0007\u0005\u0000\u0000\u052e\u00f9"+ + "\u0001\u0000\u0000\u0000\u052f\u0530\u0007\t\u0000\u0000\u0530\u0531\u0007"+ + "\f\u0000\u0000\u0531\u00fb\u0001\u0000\u0000\u0000\u0532\u0533\u0005?"+ + "\u0000\u0000\u0533\u00fd\u0001\u0000\u0000\u0000\u0534\u0535\u0007\f\u0000"+ + "\u0000\u0535\u0536\u0007\u000e\u0000\u0000\u0536\u0537\u0007\n\u0000\u0000"+ + "\u0537\u0538\u0007\u0013\u0000\u0000\u0538\u0539\u0007\u0007\u0000\u0000"+ + "\u0539\u00ff\u0001\u0000\u0000\u0000\u053a\u053b\u0007\u000b\u0000\u0000"+ + "\u053b\u053c\u0007\f\u0000\u0000\u053c\u053d\u0007\u0016\u0000\u0000\u053d"+ + "\u053e\u0007\u0007\u0000\u0000\u053e\u0101\u0001\u0000\u0000\u0000\u053f"+ + "\u0540\u0007\u0014\u0000\u0000\u0540\u0541\u0007\n\u0000\u0000\u0541\u0542"+ + "\u0007\u000b\u0000\u0000\u0542\u0543\u0007\u0003\u0000\u0000\u0543\u0103"+ + "\u0001\u0000\u0000\u0000\u0544\u0545\u0005=\u0000\u0000\u0545\u0546\u0005"+ + "=\u0000\u0000\u0546\u0105\u0001\u0000\u0000\u0000\u0547\u0548\u0005=\u0000"+ + "\u0000\u0548\u0549\u0005~\u0000\u0000\u0549\u0107\u0001\u0000\u0000\u0000"+ + "\u054a\u054b\u0005!\u0000\u0000\u054b\u054c\u0005=\u0000\u0000\u054c\u0109"+ + "\u0001\u0000\u0000\u0000\u054d\u054e\u0005<\u0000\u0000\u054e\u010b\u0001"+ + "\u0000\u0000\u0000\u054f\u0550\u0005<\u0000\u0000\u0550\u0551\u0005=\u0000"+ + "\u0000\u0551\u010d\u0001\u0000\u0000\u0000\u0552\u0553\u0005>\u0000\u0000"+ + "\u0553\u010f\u0001\u0000\u0000\u0000\u0554\u0555\u0005>\u0000\u0000\u0555"+ + "\u0556\u0005=\u0000\u0000\u0556\u0111\u0001\u0000\u0000\u0000\u0557\u0558"+ + "\u0005+\u0000\u0000\u0558\u0113\u0001\u0000\u0000\u0000\u0559\u055a\u0005"+ + "-\u0000\u0000\u055a\u0115\u0001\u0000\u0000\u0000\u055b\u055c\u0005*\u0000"+ + "\u0000\u055c\u0117\u0001\u0000\u0000\u0000\u055d\u055e\u0005/\u0000\u0000"+ + "\u055e\u0119\u0001\u0000\u0000\u0000\u055f\u0560\u0005%\u0000\u0000\u0560"+ + "\u011b\u0001\u0000\u0000\u0000\u0561\u0562\u0005{\u0000\u0000\u0562\u011d"+ + "\u0001\u0000\u0000\u0000\u0563\u0564\u0005}\u0000\u0000\u0564\u011f\u0001"+ + "\u0000\u0000\u0000\u0565\u0566\u0005?\u0000\u0000\u0566\u0567\u0005?\u0000"+ + "\u0000\u0567\u0121\u0001\u0000\u0000\u0000\u0568\u0569\u00032\u0010\u0000"+ + "\u0569\u056a\u0001\u0000\u0000\u0000\u056a\u056b\u0006\u0088\'\u0000\u056b"+ + "\u0123\u0001\u0000\u0000\u0000\u056c\u056f\u0003\u00fcu\u0000\u056d\u0570"+ + "\u0003\u00baT\u0000\u056e\u0570\u0003\u00c8[\u0000\u056f\u056d\u0001\u0000"+ + "\u0000\u0000\u056f\u056e\u0001\u0000\u0000\u0000\u0570\u0574\u0001\u0000"+ + "\u0000\u0000\u0571\u0573\u0003\u00ca\\\u0000\u0572\u0571\u0001\u0000\u0000"+ + "\u0000\u0573\u0576\u0001\u0000\u0000\u0000\u0574\u0572\u0001\u0000\u0000"+ + "\u0000\u0574\u0575\u0001\u0000\u0000\u0000\u0575\u057e\u0001\u0000\u0000"+ + "\u0000\u0576\u0574\u0001\u0000\u0000\u0000\u0577\u0579\u0003\u00fcu\u0000"+ + "\u0578\u057a\u0003\u00b8S\u0000\u0579\u0578\u0001\u0000\u0000\u0000\u057a"+ + "\u057b\u0001\u0000\u0000\u0000\u057b\u0579\u0001\u0000\u0000\u0000\u057b"+ + "\u057c\u0001\u0000\u0000\u0000\u057c\u057e\u0001\u0000\u0000\u0000\u057d"+ + "\u056c\u0001\u0000\u0000\u0000\u057d\u0577\u0001\u0000\u0000\u0000\u057e"+ + "\u0125\u0001\u0000\u0000\u0000\u057f\u0582\u0003\u0120\u0087\u0000\u0580"+ + "\u0583\u0003\u00baT\u0000\u0581\u0583\u0003\u00c8[\u0000\u0582\u0580\u0001"+ + "\u0000\u0000\u0000\u0582\u0581\u0001\u0000\u0000\u0000\u0583\u0587\u0001"+ + "\u0000\u0000\u0000\u0584\u0586\u0003\u00ca\\\u0000\u0585\u0584\u0001\u0000"+ + "\u0000\u0000\u0586\u0589\u0001\u0000\u0000\u0000\u0587\u0585\u0001\u0000"+ + "\u0000\u0000\u0587\u0588\u0001\u0000\u0000\u0000\u0588\u0591\u0001\u0000"+ + "\u0000\u0000\u0589\u0587\u0001\u0000\u0000\u0000\u058a\u058c\u0003\u0120"+ + "\u0087\u0000\u058b\u058d\u0003\u00b8S\u0000\u058c\u058b\u0001\u0000\u0000"+ + "\u0000\u058d\u058e\u0001\u0000\u0000\u0000\u058e\u058c\u0001\u0000\u0000"+ + "\u0000\u058e\u058f\u0001\u0000\u0000\u0000\u058f\u0591\u0001\u0000\u0000"+ + "\u0000\u0590\u057f\u0001\u0000\u0000\u0000\u0590\u058a\u0001\u0000\u0000"+ + "\u0000\u0591\u0127\u0001\u0000\u0000\u0000\u0592\u0593\u0005[\u0000\u0000"+ + "\u0593\u0594\u0001\u0000\u0000\u0000\u0594\u0595\u0006\u008b\u0004\u0000"+ + "\u0595\u0596\u0006\u008b\u0004\u0000\u0596\u0129\u0001\u0000\u0000\u0000"+ + "\u0597\u0598\u0005]\u0000\u0000\u0598\u0599\u0001\u0000\u0000\u0000\u0599"+ + "\u059a\u0006\u008c\u0011\u0000\u059a\u059b\u0006\u008c\u0011\u0000\u059b"+ + "\u012b\u0001\u0000\u0000\u0000\u059c\u059d\u0005(\u0000\u0000\u059d\u059e"+ + "\u0001\u0000\u0000\u0000\u059e\u059f\u0006\u008d\u0004\u0000\u059f\u05a0"+ + "\u0006\u008d\u0004\u0000\u05a0\u012d\u0001\u0000\u0000\u0000\u05a1\u05a2"+ + "\u0005)\u0000\u0000\u05a2\u05a3\u0001\u0000\u0000\u0000\u05a3\u05a4\u0006"+ + "\u008e\u0011\u0000\u05a4\u05a5\u0006\u008e\u0011\u0000\u05a5\u012f\u0001"+ + "\u0000\u0000\u0000\u05a6\u05aa\u0003\u00baT\u0000\u05a7\u05a9\u0003\u00ca"+ + "\\\u0000\u05a8\u05a7\u0001\u0000\u0000\u0000\u05a9\u05ac\u0001\u0000\u0000"+ + "\u0000\u05aa\u05a8\u0001\u0000\u0000\u0000\u05aa\u05ab\u0001\u0000\u0000"+ + "\u0000\u05ab\u05b7\u0001\u0000\u0000\u0000\u05ac\u05aa\u0001\u0000\u0000"+ + "\u0000\u05ad\u05b0\u0003\u00c8[\u0000\u05ae\u05b0\u0003\u00c2X\u0000\u05af"+ + "\u05ad\u0001\u0000\u0000\u0000\u05af\u05ae\u0001\u0000\u0000\u0000\u05b0"+ + "\u05b2\u0001\u0000\u0000\u0000\u05b1\u05b3\u0003\u00ca\\\u0000\u05b2\u05b1"+ + "\u0001\u0000\u0000\u0000\u05b3\u05b4\u0001\u0000\u0000\u0000\u05b4\u05b2"+ + "\u0001\u0000\u0000\u0000\u05b4\u05b5\u0001\u0000\u0000\u0000\u05b5\u05b7"+ + "\u0001\u0000\u0000\u0000\u05b6\u05a6\u0001\u0000\u0000\u0000\u05b6\u05af"+ + "\u0001\u0000\u0000\u0000\u05b7\u0131\u0001\u0000\u0000\u0000\u05b8\u05ba"+ + "\u0003\u00c4Y\u0000\u05b9\u05bb\u0003\u00c6Z\u0000\u05ba\u05b9\u0001\u0000"+ + "\u0000\u0000\u05bb\u05bc\u0001\u0000\u0000\u0000\u05bc\u05ba\u0001\u0000"+ + "\u0000\u0000\u05bc\u05bd\u0001\u0000\u0000\u0000\u05bd\u05be\u0001\u0000"+ + "\u0000\u0000\u05be\u05bf\u0003\u00c4Y\u0000\u05bf\u0133\u0001\u0000\u0000"+ + "\u0000\u05c0\u05c1\u0003\u0132\u0090\u0000\u05c1\u0135\u0001\u0000\u0000"+ + "\u0000\u05c2\u05c3\u0003\u0012\u0000\u0000\u05c3\u05c4\u0001\u0000\u0000"+ + "\u0000\u05c4\u05c5\u0006\u0092\u0000\u0000\u05c5\u0137\u0001\u0000\u0000"+ + "\u0000\u05c6\u05c7\u0003\u0014\u0001\u0000\u05c7\u05c8\u0001\u0000\u0000"+ + "\u0000\u05c8\u05c9\u0006\u0093\u0000\u0000\u05c9\u0139\u0001\u0000\u0000"+ + "\u0000\u05ca\u05cb\u0003\u0016\u0002\u0000\u05cb\u05cc\u0001\u0000\u0000"+ + "\u0000\u05cc\u05cd\u0006\u0094\u0000\u0000\u05cd\u013b\u0001\u0000\u0000"+ + "\u0000\u05ce\u05cf\u0003\u00b6R\u0000\u05cf\u05d0\u0001\u0000\u0000\u0000"+ + "\u05d0\u05d1\u0006\u0095\u0010\u0000\u05d1\u05d2\u0006\u0095\u0011\u0000"+ + "\u05d2\u013d\u0001\u0000\u0000\u0000\u05d3\u05d4\u0003\u00dce\u0000\u05d4"+ + "\u05d5\u0001\u0000\u0000\u0000\u05d5\u05d6\u0006\u0096(\u0000\u05d6\u013f"+ + "\u0001\u0000\u0000\u0000\u05d7\u05d8\u0003\u00dad\u0000\u05d8\u05d9\u0001"+ + "\u0000\u0000\u0000\u05d9\u05da\u0006\u0097)\u0000\u05da\u0141\u0001\u0000"+ + "\u0000\u0000\u05db\u05dc\u0003\u00e0g\u0000\u05dc\u05dd\u0001\u0000\u0000"+ + "\u0000\u05dd\u05de\u0006\u0098\u0016\u0000\u05de\u0143\u0001\u0000\u0000"+ + "\u0000\u05df\u05e0\u0003\u00d6b\u0000\u05e0\u05e1\u0001\u0000\u0000\u0000"+ + "\u05e1\u05e2\u0006\u0099\u001f\u0000\u05e2\u0145\u0001\u0000\u0000\u0000"+ + "\u05e3\u05e4\u0007\u000f\u0000\u0000\u05e4\u05e5\u0007\u0007\u0000\u0000"+ + "\u05e5\u05e6\u0007\u000b\u0000\u0000\u05e6\u05e7\u0007\u0004\u0000\u0000"+ + "\u05e7\u05e8\u0007\u0010\u0000\u0000\u05e8\u05e9\u0007\u0004\u0000\u0000"+ + "\u05e9\u05ea\u0007\u000b\u0000\u0000\u05ea\u05eb\u0007\u0004\u0000\u0000"+ + "\u05eb\u0147\u0001\u0000\u0000\u0000\u05ec\u05ed\u0003\u012e\u008e\u0000"+ + "\u05ed\u05ee\u0001\u0000\u0000\u0000\u05ee\u05ef\u0006\u009b\u0012\u0000"+ + "\u05ef\u05f0\u0006\u009b\u0011\u0000\u05f0\u05f1\u0006\u009b\u0011\u0000"+ + "\u05f1\u0149\u0001\u0000\u0000\u0000\u05f2\u05f3\u0003\u012c\u008d\u0000"+ + "\u05f3\u05f4\u0001\u0000\u0000\u0000\u05f4\u05f5\u0006\u009c%\u0000\u05f5"+ + "\u05f6\u0006\u009c&\u0000\u05f6\u014b\u0001\u0000\u0000\u0000\u05f7\u05fb"+ + "\b!\u0000\u0000\u05f8\u05f9\u0005/\u0000\u0000\u05f9\u05fb\b\"\u0000\u0000"+ + "\u05fa\u05f7\u0001\u0000\u0000\u0000\u05fa\u05f8\u0001\u0000\u0000\u0000"+ + "\u05fb\u014d\u0001\u0000\u0000\u0000\u05fc\u05fe\u0003\u014c\u009d\u0000"+ + "\u05fd\u05fc\u0001\u0000\u0000\u0000\u05fe\u05ff\u0001\u0000\u0000\u0000"+ + "\u05ff\u05fd\u0001\u0000\u0000\u0000\u05ff\u0600\u0001\u0000\u0000\u0000"+ + "\u0600\u014f\u0001\u0000\u0000\u0000\u0601\u0602\u0003\u014e\u009e\u0000"+ + "\u0602\u0603\u0001\u0000\u0000\u0000\u0603\u0604\u0006\u009f*\u0000\u0604"+ + "\u0151\u0001\u0000\u0000\u0000\u0605\u0606\u0003\u00cc]\u0000\u0606\u0607"+ + "\u0001\u0000\u0000\u0000\u0607\u0608\u0006\u00a0\u001e\u0000\u0608\u0153"+ + "\u0001\u0000\u0000\u0000\u0609\u060a\u0003\u0012\u0000\u0000\u060a\u060b"+ + "\u0001\u0000\u0000\u0000\u060b\u060c\u0006\u00a1\u0000\u0000\u060c\u0155"+ + "\u0001\u0000\u0000\u0000\u060d\u060e\u0003\u0014\u0001\u0000\u060e\u060f"+ + "\u0001\u0000\u0000\u0000\u060f\u0610\u0006\u00a2\u0000\u0000\u0610\u0157"+ + "\u0001\u0000\u0000\u0000\u0611\u0612\u0003\u0016\u0002\u0000\u0612\u0613"+ + "\u0001\u0000\u0000\u0000\u0613\u0614\u0006\u00a3\u0000\u0000\u0614\u0159"+ + "\u0001\u0000\u0000\u0000\u0615\u0616\u0003\u012c\u008d\u0000\u0616\u0617"+ + "\u0001\u0000\u0000\u0000\u0617\u0618\u0006\u00a4%\u0000\u0618\u0619\u0006"+ + "\u00a4&\u0000\u0619\u015b\u0001\u0000\u0000\u0000\u061a\u061b\u0003\u012e"+ + "\u008e\u0000\u061b\u061c\u0001\u0000\u0000\u0000\u061c\u061d\u0006\u00a5"+ + "\u0012\u0000\u061d\u061e\u0006\u00a5\u0011\u0000\u061e\u061f\u0006\u00a5"+ + "\u0011\u0000\u061f\u015d\u0001\u0000\u0000\u0000\u0620\u0621\u0003\u00b6"+ + "R\u0000\u0621\u0622\u0001\u0000\u0000\u0000\u0622\u0623\u0006\u00a6\u0010"+ + "\u0000\u0623\u0624\u0006\u00a6\u0011\u0000\u0624\u015f\u0001\u0000\u0000"+ + "\u0000\u0625\u0626\u0003\u0016\u0002\u0000\u0626\u0627\u0001\u0000\u0000"+ + "\u0000\u0627\u0628\u0006\u00a7\u0000\u0000\u0628\u0161\u0001\u0000\u0000"+ + "\u0000\u0629\u062a\u0003\u0012\u0000\u0000\u062a\u062b\u0001\u0000\u0000"+ + "\u0000\u062b\u062c\u0006\u00a8\u0000\u0000\u062c\u0163\u0001\u0000\u0000"+ + "\u0000\u062d\u062e\u0003\u0014\u0001\u0000\u062e\u062f\u0001\u0000\u0000"+ + "\u0000\u062f\u0630\u0006\u00a9\u0000\u0000\u0630\u0165\u0001\u0000\u0000"+ + "\u0000\u0631\u0632\u0003\u00b6R\u0000\u0632\u0633\u0001\u0000\u0000\u0000"+ + "\u0633\u0634\u0006\u00aa\u0010\u0000\u0634\u0635\u0006\u00aa\u0011\u0000"+ + "\u0635\u0167\u0001\u0000\u0000\u0000\u0636\u0637\u0003\u012e\u008e\u0000"+ + "\u0637\u0638\u0001\u0000\u0000\u0000\u0638\u0639\u0006\u00ab\u0012\u0000"+ + "\u0639\u063a\u0006\u00ab\u0011\u0000\u063a\u063b\u0006\u00ab\u0011\u0000"+ + "\u063b\u0169\u0001\u0000\u0000\u0000\u063c\u063d\u0007\u0006\u0000\u0000"+ + "\u063d\u063e\u0007\f\u0000\u0000\u063e\u063f\u0007\t\u0000\u0000\u063f"+ + "\u0640\u0007\u0016\u0000\u0000\u0640\u0641\u0007\b\u0000\u0000\u0641\u016b"+ + "\u0001\u0000\u0000\u0000\u0642\u0643\u0007\u0011\u0000\u0000\u0643\u0644"+ + "\u0007\u0002\u0000\u0000\u0644\u0645\u0007\t\u0000\u0000\u0645\u0646\u0007"+ + "\f\u0000\u0000\u0646\u0647\u0007\u0007\u0000\u0000\u0647\u016d\u0001\u0000"+ + "\u0000\u0000\u0648\u0649\u0007\u0013\u0000\u0000\u0649\u064a\u0007\u0007"+ + "\u0000\u0000\u064a\u064b\u0007 \u0000\u0000\u064b\u016f\u0001\u0000\u0000"+ + "\u0000\u064c\u064d\u0003\u0102x\u0000\u064d\u064e\u0001\u0000\u0000\u0000"+ + "\u064e\u064f\u0006\u00af\u001c\u0000\u064f\u0650\u0006\u00af\u0011\u0000"+ + "\u0650\u0651\u0006\u00af\u0004\u0000\u0651\u0171\u0001\u0000\u0000\u0000"+ + "\u0652\u0653\u0003\u00e0g\u0000\u0653\u0654\u0001\u0000\u0000\u0000\u0654"+ + "\u0655\u0006\u00b0\u0016\u0000\u0655\u0173\u0001\u0000\u0000\u0000\u0656"+ + "\u0657\u0003\u00d8c\u0000\u0657\u0658\u0001\u0000\u0000\u0000\u0658\u0659"+ + "\u0006\u00b1+\u0000\u0659\u0175\u0001\u0000\u0000\u0000\u065a\u065b\u0003"+ + "\u0134\u0091\u0000\u065b\u065c\u0001\u0000\u0000\u0000\u065c\u065d\u0006"+ + "\u00b2\u0019\u0000\u065d\u0177\u0001\u0000\u0000\u0000\u065e\u065f\u0003"+ + "\u0130\u008f\u0000\u065f\u0660\u0001\u0000\u0000\u0000\u0660\u0661\u0006"+ + "\u00b3\u001a\u0000\u0661\u0179\u0001\u0000\u0000\u0000\u0662\u0663\u0003"+ + "\u0012\u0000\u0000\u0663\u0664\u0001\u0000\u0000\u0000\u0664\u0665\u0006"+ + "\u00b4\u0000\u0000\u0665\u017b\u0001\u0000\u0000\u0000\u0666\u0667\u0003"+ + "\u0014\u0001\u0000\u0667\u0668\u0001\u0000\u0000\u0000\u0668\u0669\u0006"+ + "\u00b5\u0000\u0000\u0669\u017d\u0001\u0000\u0000\u0000\u066a\u066b\u0003"+ + "\u0016\u0002\u0000\u066b\u066c\u0001\u0000\u0000\u0000\u066c\u066d\u0006"+ + "\u00b6\u0000\u0000\u066d\u017f\u0001\u0000\u0000\u0000\u066e\u066f\u0007"+ + "\u0011\u0000\u0000\u066f\u0670\u0007\u000b\u0000\u0000\u0670\u0671\u0007"+ + "\u0004\u0000\u0000\u0671\u0672\u0007\u000b\u0000\u0000\u0672\u0673\u0007"+ + "\u0011\u0000\u0000\u0673\u0674\u0001\u0000\u0000\u0000\u0674\u0675\u0006"+ + "\u00b7\u0011\u0000\u0675\u0676\u0006\u00b7\u0004\u0000\u0676\u0181\u0001"+ + "\u0000\u0000\u0000\u0677\u0678\u0003\u0012\u0000\u0000\u0678\u0679\u0001"+ + "\u0000\u0000\u0000\u0679\u067a\u0006\u00b8\u0000\u0000\u067a\u0183\u0001"+ + "\u0000\u0000\u0000\u067b\u067c\u0003\u0014\u0001\u0000\u067c\u067d\u0001"+ + "\u0000\u0000\u0000\u067d\u067e\u0006\u00b9\u0000\u0000\u067e\u0185\u0001"+ + "\u0000\u0000\u0000\u067f\u0680\u0003\u0016\u0002\u0000\u0680\u0681\u0001"+ + "\u0000\u0000\u0000\u0681\u0682\u0006\u00ba\u0000\u0000\u0682\u0187\u0001"+ + "\u0000\u0000\u0000\u0683\u0684\u0003\u00b6R\u0000\u0684\u0685\u0001\u0000"+ + "\u0000\u0000\u0685\u0686\u0006\u00bb\u0010\u0000\u0686\u0687\u0006\u00bb"+ + "\u0011\u0000\u0687\u0189\u0001\u0000\u0000\u0000\u0688\u0689\u0007#\u0000"+ + "\u0000\u0689\u068a\u0007\t\u0000\u0000\u068a\u068b\u0007\n\u0000\u0000"+ + "\u068b\u068c\u0007\u0005\u0000\u0000\u068c\u018b\u0001\u0000\u0000\u0000"+ + "\u068d\u068e\u0003\u0216\u0102\u0000\u068e\u068f\u0001\u0000\u0000\u0000"+ + "\u068f\u0690\u0006\u00bd\u0014\u0000\u0690\u018d\u0001\u0000\u0000\u0000"+ + "\u0691\u0692\u0003\u00f8s\u0000\u0692\u0693\u0001\u0000\u0000\u0000\u0693"+ + "\u0694\u0006\u00be\u0013\u0000\u0694\u0695\u0006\u00be\u0011\u0000\u0695"+ + "\u0696\u0006\u00be\u0004\u0000\u0696\u018f\u0001\u0000\u0000\u0000\u0697"+ + "\u0698\u0007\u0016\u0000\u0000\u0698\u0699\u0007\u0011\u0000\u0000\u0699"+ + "\u069a\u0007\n\u0000\u0000\u069a\u069b\u0007\u0005\u0000\u0000\u069b\u069c"+ + "\u0007\u0006\u0000\u0000\u069c\u069d\u0001\u0000\u0000\u0000\u069d\u069e"+ + "\u0006\u00bf\u0011\u0000\u069e\u069f\u0006\u00bf\u0004\u0000\u069f\u0191"+ + "\u0001\u0000\u0000\u0000\u06a0\u06a1\u0003\u014e\u009e\u0000\u06a1\u06a2"+ + "\u0001\u0000\u0000\u0000\u06a2\u06a3\u0006\u00c0*\u0000\u06a3\u0193\u0001"+ + "\u0000\u0000\u0000\u06a4\u06a5\u0003\u00cc]\u0000\u06a5\u06a6\u0001\u0000"+ + "\u0000\u0000\u06a6\u06a7\u0006\u00c1\u001e\u0000\u06a7\u0195\u0001\u0000"+ + "\u0000\u0000\u06a8\u06a9\u0003\u00dce\u0000\u06a9\u06aa\u0001\u0000\u0000"+ + "\u0000\u06aa\u06ab\u0006\u00c2(\u0000\u06ab\u0197\u0001\u0000\u0000\u0000"+ + "\u06ac\u06ad\u0003\u0012\u0000\u0000\u06ad\u06ae\u0001\u0000\u0000\u0000"+ + "\u06ae\u06af\u0006\u00c3\u0000\u0000\u06af\u0199\u0001\u0000\u0000\u0000"+ + "\u06b0\u06b1\u0003\u0014\u0001\u0000\u06b1\u06b2\u0001\u0000\u0000\u0000"+ + "\u06b2\u06b3\u0006\u00c4\u0000\u0000\u06b3\u019b\u0001\u0000\u0000\u0000"+ + "\u06b4\u06b5\u0003\u0016\u0002\u0000\u06b5\u06b6\u0001\u0000\u0000\u0000"+ + "\u06b6\u06b7\u0006\u00c5\u0000\u0000\u06b7\u019d\u0001\u0000\u0000\u0000"+ + "\u06b8\u06b9\u0003\u00b6R\u0000\u06b9\u06ba\u0001\u0000\u0000\u0000\u06ba"+ + "\u06bb\u0006\u00c6\u0010\u0000\u06bb\u06bc\u0006\u00c6\u0011\u0000\u06bc"+ + "\u019f\u0001\u0000\u0000\u0000\u06bd\u06be\u0003\u012e\u008e\u0000\u06be"+ + "\u06bf\u0001\u0000\u0000\u0000\u06bf\u06c0\u0006\u00c7\u0012\u0000\u06c0"+ + "\u06c1\u0006\u00c7\u0011\u0000\u06c1\u06c2\u0006\u00c7\u0011\u0000\u06c2"+ + "\u01a1\u0001\u0000\u0000\u0000\u06c3\u06c4\u0003\u00dce\u0000\u06c4\u06c5"+ + "\u0001\u0000\u0000\u0000\u06c5\u06c6\u0006\u00c8(\u0000\u06c6\u01a3\u0001"+ + "\u0000\u0000\u0000\u06c7\u06c8\u0003\u00e0g\u0000\u06c8\u06c9\u0001\u0000"+ + "\u0000\u0000\u06c9\u06ca\u0006\u00c9\u0016\u0000\u06ca\u01a5\u0001\u0000"+ + "\u0000\u0000\u06cb\u06cc\u0003\u00e4i\u0000\u06cc\u06cd\u0001\u0000\u0000"+ + "\u0000\u06cd\u06ce\u0006\u00ca\u0015\u0000\u06ce\u01a7\u0001\u0000\u0000"+ + "\u0000\u06cf\u06d0\u0003\u00f8s\u0000\u06d0\u06d1\u0001\u0000\u0000\u0000"+ + "\u06d1\u06d2\u0006\u00cb\u0013\u0000\u06d2\u06d3\u0006\u00cb,\u0000\u06d3"+ + "\u01a9\u0001\u0000\u0000\u0000\u06d4\u06d5\u0003\u014e\u009e\u0000\u06d5"+ + "\u06d6\u0001\u0000\u0000\u0000\u06d6\u06d7\u0006\u00cc*\u0000\u06d7\u01ab"+ + "\u0001\u0000\u0000\u0000\u06d8\u06d9\u0003\u00cc]\u0000\u06d9\u06da\u0001"+ + "\u0000\u0000\u0000\u06da\u06db\u0006\u00cd\u001e\u0000\u06db\u01ad\u0001"+ + "\u0000\u0000\u0000\u06dc\u06dd\u0003\u0012\u0000\u0000\u06dd\u06de\u0001"+ + "\u0000\u0000\u0000\u06de\u06df\u0006\u00ce\u0000\u0000\u06df\u01af\u0001"+ + "\u0000\u0000\u0000\u06e0\u06e1\u0003\u0014\u0001\u0000\u06e1\u06e2\u0001"+ + "\u0000\u0000\u0000\u06e2\u06e3\u0006\u00cf\u0000\u0000\u06e3\u01b1\u0001"+ + "\u0000\u0000\u0000\u06e4\u06e5\u0003\u0016\u0002\u0000\u06e5\u06e6\u0001"+ + "\u0000\u0000\u0000\u06e6\u06e7\u0006\u00d0\u0000\u0000\u06e7\u01b3\u0001"+ + "\u0000\u0000\u0000\u06e8\u06e9\u0003\u00b6R\u0000\u06e9\u06ea\u0001\u0000"+ + "\u0000\u0000\u06ea\u06eb\u0006\u00d1\u0010\u0000\u06eb\u06ec\u0006\u00d1"+ + "\u0011\u0000\u06ec\u06ed\u0006\u00d1\u0011\u0000\u06ed\u01b5\u0001\u0000"+ + "\u0000\u0000\u06ee\u06ef\u0003\u012e\u008e\u0000\u06ef\u06f0\u0001\u0000"+ + "\u0000\u0000\u06f0\u06f1\u0006\u00d2\u0012\u0000\u06f1\u06f2\u0006\u00d2"+ + "\u0011\u0000\u06f2\u06f3\u0006\u00d2\u0011\u0000\u06f3\u06f4\u0006\u00d2"+ + "\u0011\u0000\u06f4\u01b7\u0001\u0000\u0000\u0000\u06f5\u06f6\u0003\u00e0"+ + "g\u0000\u06f6\u06f7\u0001\u0000\u0000\u0000\u06f7\u06f8\u0006\u00d3\u0016"+ + "\u0000\u06f8\u01b9\u0001\u0000\u0000\u0000\u06f9\u06fa\u0003\u00e4i\u0000"+ + "\u06fa\u06fb\u0001\u0000\u0000\u0000\u06fb\u06fc\u0006\u00d4\u0015\u0000"+ + "\u06fc\u01bb\u0001\u0000\u0000\u0000\u06fd\u06fe\u0003\u01f8\u00f3\u0000"+ + "\u06fe\u06ff\u0001\u0000\u0000\u0000\u06ff\u0700\u0006\u00d5 \u0000\u0700"+ + "\u01bd\u0001\u0000\u0000\u0000\u0701\u0702\u0003\u0012\u0000\u0000\u0702"+ + "\u0703\u0001\u0000\u0000\u0000\u0703\u0704\u0006\u00d6\u0000\u0000\u0704"+ + "\u01bf\u0001\u0000\u0000\u0000\u0705\u0706\u0003\u0014\u0001\u0000\u0706"+ + "\u0707\u0001\u0000\u0000\u0000\u0707\u0708\u0006\u00d7\u0000\u0000\u0708"+ + "\u01c1\u0001\u0000\u0000\u0000\u0709\u070a\u0003\u0016\u0002\u0000\u070a"+ + "\u070b\u0001\u0000\u0000\u0000\u070b\u070c\u0006\u00d8\u0000\u0000\u070c"+ + "\u01c3\u0001\u0000\u0000\u0000\u070d\u070e\u0003\u00b6R\u0000\u070e\u070f"+ + "\u0001\u0000\u0000\u0000\u070f\u0710\u0006\u00d9\u0010\u0000\u0710\u0711"+ + "\u0006\u00d9\u0011\u0000\u0711\u01c5\u0001\u0000\u0000\u0000\u0712\u0713"+ + "\u0003\u012e\u008e\u0000\u0713\u0714\u0001\u0000\u0000\u0000\u0714\u0715"+ + "\u0006\u00da\u0012\u0000\u0715\u0716\u0006\u00da\u0011\u0000\u0716\u0717"+ + "\u0006\u00da\u0011\u0000\u0717\u01c7\u0001\u0000\u0000\u0000\u0718\u0719"+ + "\u0003\u0128\u008b\u0000\u0719\u071a\u0001\u0000\u0000\u0000\u071a\u071b"+ + "\u0006\u00db\u0017\u0000\u071b\u01c9\u0001\u0000\u0000\u0000\u071c\u071d"+ + "\u0003\u012a\u008c\u0000\u071d\u071e\u0001\u0000\u0000\u0000\u071e\u071f"+ + "\u0006\u00dc\u0018\u0000\u071f\u01cb\u0001\u0000\u0000\u0000\u0720\u0721"+ + "\u0003\u00e4i\u0000\u0721\u0722\u0001\u0000\u0000\u0000\u0722\u0723\u0006"+ + "\u00dd\u0015\u0000\u0723\u01cd\u0001\u0000\u0000\u0000\u0724\u0725\u0003"+ + "\u00fcu\u0000\u0725\u0726\u0001\u0000\u0000\u0000\u0726\u0727\u0006\u00de"+ + "!\u0000\u0727\u01cf\u0001\u0000\u0000\u0000\u0728\u0729\u0003\u0124\u0089"+ + "\u0000\u0729\u072a\u0001\u0000\u0000\u0000\u072a\u072b\u0006\u00df\"\u0000"+ + "\u072b\u01d1\u0001\u0000\u0000\u0000\u072c\u072d\u0003\u0120\u0087\u0000"+ + "\u072d\u072e\u0001\u0000\u0000\u0000\u072e\u072f\u0006\u00e0#\u0000\u072f"+ + "\u01d3\u0001\u0000\u0000\u0000\u0730\u0731\u0003\u0126\u008a\u0000\u0731"+ + "\u0732\u0001\u0000\u0000\u0000\u0732\u0733\u0006\u00e1$\u0000\u0733\u01d5"+ + "\u0001\u0000\u0000\u0000\u0734\u0735\u0003\u0134\u0091\u0000\u0735\u0736"+ + "\u0001\u0000\u0000\u0000\u0736\u0737\u0006\u00e2\u0019\u0000\u0737\u01d7"+ + "\u0001\u0000\u0000\u0000\u0738\u0739\u0003\u0130\u008f\u0000\u0739\u073a"+ + "\u0001\u0000\u0000\u0000\u073a\u073b\u0006\u00e3\u001a\u0000\u073b\u01d9"+ + "\u0001\u0000\u0000\u0000\u073c\u073d\u0003\u0012\u0000\u0000\u073d\u073e"+ + "\u0001\u0000\u0000\u0000\u073e\u073f\u0006\u00e4\u0000\u0000\u073f\u01db"+ + "\u0001\u0000\u0000\u0000\u0740\u0741\u0003\u0014\u0001\u0000\u0741\u0742"+ + "\u0001\u0000\u0000\u0000\u0742\u0743\u0006\u00e5\u0000\u0000\u0743\u01dd"+ + "\u0001\u0000\u0000\u0000\u0744\u0745\u0003\u0016\u0002\u0000\u0745\u0746"+ + "\u0001\u0000\u0000\u0000\u0746\u0747\u0006\u00e6\u0000\u0000\u0747\u01df"+ + "\u0001\u0000\u0000\u0000\u0748\u0749\u0003\u00b6R\u0000\u0749\u074a\u0001"+ + "\u0000\u0000\u0000\u074a\u074b\u0006\u00e7\u0010\u0000\u074b\u074c\u0006"+ + "\u00e7\u0011\u0000\u074c\u01e1\u0001\u0000\u0000\u0000\u074d\u074e\u0003"+ + "\u012e\u008e\u0000\u074e\u074f\u0001\u0000\u0000\u0000\u074f\u0750\u0006"+ + "\u00e8\u0012\u0000\u0750\u0751\u0006\u00e8\u0011\u0000\u0751\u0752\u0006"+ + "\u00e8\u0011\u0000\u0752\u01e3\u0001\u0000\u0000\u0000\u0753\u0754\u0003"+ + "\u00e4i\u0000\u0754\u0755\u0001\u0000\u0000\u0000\u0755\u0756\u0006\u00e9"+ + "\u0015\u0000\u0756\u01e5\u0001\u0000\u0000\u0000\u0757\u0758\u0003\u0128"+ + "\u008b\u0000\u0758\u0759\u0001\u0000\u0000\u0000\u0759\u075a\u0006\u00ea"+ + "\u0017\u0000\u075a\u01e7\u0001\u0000\u0000\u0000\u075b\u075c\u0003\u012a"+ + "\u008c\u0000\u075c\u075d\u0001\u0000\u0000\u0000\u075d\u075e\u0006\u00eb"+ + "\u0018\u0000\u075e\u01e9\u0001\u0000\u0000\u0000\u075f\u0760\u0003\u00e0"+ + "g\u0000\u0760\u0761\u0001\u0000\u0000\u0000\u0761\u0762\u0006\u00ec\u0016"+ + "\u0000\u0762\u01eb\u0001\u0000\u0000\u0000\u0763\u0764\u0003\u00fcu\u0000"+ + "\u0764\u0765\u0001\u0000\u0000\u0000\u0765\u0766\u0006\u00ed!\u0000\u0766"+ + "\u01ed\u0001\u0000\u0000\u0000\u0767\u0768\u0003\u0124\u0089\u0000\u0768"+ + "\u0769\u0001\u0000\u0000\u0000\u0769\u076a\u0006\u00ee\"\u0000\u076a\u01ef"+ + "\u0001\u0000\u0000\u0000\u076b\u076c\u0003\u0120\u0087\u0000\u076c\u076d"+ + "\u0001\u0000\u0000\u0000\u076d\u076e\u0006\u00ef#\u0000\u076e\u01f1\u0001"+ + "\u0000\u0000\u0000\u076f\u0770\u0003\u0126\u008a\u0000\u0770\u0771\u0001"+ + "\u0000\u0000\u0000\u0771\u0772\u0006\u00f0$\u0000\u0772\u01f3\u0001\u0000"+ + "\u0000\u0000\u0773\u0778\u0003\u00baT\u0000\u0774\u0778\u0003\u00b8S\u0000"+ + "\u0775\u0778\u0003\u00c8[\u0000\u0776\u0778\u0003\u0116\u0082\u0000\u0777"+ + "\u0773\u0001\u0000\u0000\u0000\u0777\u0774\u0001\u0000\u0000\u0000\u0777"+ + "\u0775\u0001\u0000\u0000\u0000\u0777\u0776\u0001\u0000\u0000\u0000\u0778"+ + "\u01f5\u0001\u0000\u0000\u0000\u0779\u077c\u0003\u00baT\u0000\u077a\u077c"+ + "\u0003\u0116\u0082\u0000\u077b\u0779\u0001\u0000\u0000\u0000\u077b\u077a"+ + "\u0001\u0000\u0000\u0000\u077c\u0780\u0001\u0000\u0000\u0000\u077d\u077f"+ + "\u0003\u01f4\u00f1\u0000\u077e\u077d\u0001\u0000\u0000\u0000\u077f\u0782"+ + "\u0001\u0000\u0000\u0000\u0780\u077e\u0001\u0000\u0000\u0000\u0780\u0781"+ + "\u0001\u0000\u0000\u0000\u0781\u078d\u0001\u0000\u0000\u0000\u0782\u0780"+ + "\u0001\u0000\u0000\u0000\u0783\u0786\u0003\u00c8[\u0000\u0784\u0786\u0003"+ + "\u00c2X\u0000\u0785\u0783\u0001\u0000\u0000\u0000\u0785\u0784\u0001\u0000"+ + "\u0000\u0000\u0786\u0788\u0001\u0000\u0000\u0000\u0787\u0789\u0003\u01f4"+ + "\u00f1\u0000\u0788\u0787\u0001\u0000\u0000\u0000\u0789\u078a\u0001\u0000"+ + "\u0000\u0000\u078a\u0788\u0001\u0000\u0000\u0000\u078a\u078b\u0001\u0000"+ + "\u0000\u0000\u078b\u078d\u0001\u0000\u0000\u0000\u078c\u077b\u0001\u0000"+ + "\u0000\u0000\u078c\u0785\u0001\u0000\u0000\u0000\u078d\u01f7\u0001\u0000"+ + "\u0000\u0000\u078e\u0791\u0003\u01f6\u00f2\u0000\u078f\u0791\u0003\u0132"+ + "\u0090\u0000\u0790\u078e\u0001\u0000\u0000\u0000\u0790\u078f\u0001\u0000"+ + "\u0000\u0000\u0791\u0792\u0001\u0000\u0000\u0000\u0792\u0790\u0001\u0000"+ + "\u0000\u0000\u0792\u0793\u0001\u0000\u0000\u0000\u0793\u01f9\u0001\u0000"+ + "\u0000\u0000\u0794\u0795\u0003\u0012\u0000\u0000\u0795\u0796\u0001\u0000"+ + "\u0000\u0000\u0796\u0797\u0006\u00f4\u0000\u0000\u0797\u01fb\u0001\u0000"+ + "\u0000\u0000\u0798\u0799\u0003\u0014\u0001\u0000\u0799\u079a\u0001\u0000"+ + "\u0000\u0000\u079a\u079b\u0006\u00f5\u0000\u0000\u079b\u01fd\u0001\u0000"+ + "\u0000\u0000\u079c\u079d\u0003\u0016\u0002\u0000\u079d\u079e\u0001\u0000"+ + "\u0000\u0000\u079e\u079f\u0006\u00f6\u0000\u0000\u079f\u01ff\u0001\u0000"+ + "\u0000\u0000\u07a0\u07a1\u0003\u00b6R\u0000\u07a1\u07a2\u0001\u0000\u0000"+ + "\u0000\u07a2\u07a3\u0006\u00f7\u0010\u0000\u07a3\u07a4\u0006\u00f7\u0011"+ + "\u0000\u07a4\u0201\u0001\u0000\u0000\u0000\u07a5\u07a6\u0003\u012e\u008e"+ + "\u0000\u07a6\u07a7\u0001\u0000\u0000\u0000\u07a7\u07a8\u0006\u00f8\u0012"+ + "\u0000\u07a8\u07a9\u0006\u00f8\u0011\u0000\u07a9\u07aa\u0006\u00f8\u0011"+ + "\u0000\u07aa\u0203\u0001\u0000\u0000\u0000\u07ab\u07ac\u0003\u0128\u008b"+ + "\u0000\u07ac\u07ad\u0001\u0000\u0000\u0000\u07ad\u07ae\u0006\u00f9\u0017"+ + "\u0000\u07ae\u0205\u0001\u0000\u0000\u0000\u07af\u07b0\u0003\u012a\u008c"+ + "\u0000\u07b0\u07b1\u0001\u0000\u0000\u0000\u07b1\u07b2\u0006\u00fa\u0018"+ + "\u0000\u07b2\u0207\u0001\u0000\u0000\u0000\u07b3\u07b4\u0003\u00d6b\u0000"+ + "\u07b4\u07b5\u0001\u0000\u0000\u0000\u07b5\u07b6\u0006\u00fb\u001f\u0000"+ + "\u07b6\u0209\u0001\u0000\u0000\u0000\u07b7\u07b8\u0003\u00e0g\u0000\u07b8"+ + "\u07b9\u0001\u0000\u0000\u0000\u07b9\u07ba\u0006\u00fc\u0016\u0000\u07ba"+ + "\u020b\u0001\u0000\u0000\u0000\u07bb\u07bc\u0003\u00e4i\u0000\u07bc\u07bd"+ + "\u0001\u0000\u0000\u0000\u07bd\u07be\u0006\u00fd\u0015\u0000\u07be\u020d"+ + "\u0001\u0000\u0000\u0000\u07bf\u07c0\u0003\u00fcu\u0000\u07c0\u07c1\u0001"+ + "\u0000\u0000\u0000\u07c1\u07c2\u0006\u00fe!\u0000\u07c2\u020f\u0001\u0000"+ + "\u0000\u0000\u07c3\u07c4\u0003\u0124\u0089\u0000\u07c4\u07c5\u0001\u0000"+ + "\u0000\u0000\u07c5\u07c6\u0006\u00ff\"\u0000\u07c6\u0211\u0001\u0000\u0000"+ + "\u0000\u07c7\u07c8\u0003\u0120\u0087\u0000\u07c8\u07c9\u0001\u0000\u0000"+ + "\u0000\u07c9\u07ca\u0006\u0100#\u0000\u07ca\u0213\u0001\u0000\u0000\u0000"+ + "\u07cb\u07cc\u0003\u0126\u008a\u0000\u07cc\u07cd\u0001\u0000\u0000\u0000"+ + "\u07cd\u07ce\u0006\u0101$\u0000\u07ce\u0215\u0001\u0000\u0000\u0000\u07cf"+ + "\u07d0\u0007\u0004\u0000\u0000\u07d0\u07d1\u0007\u0011\u0000\u0000\u07d1"+ + "\u0217\u0001\u0000\u0000\u0000\u07d2\u07d3\u0003\u01f8\u00f3\u0000\u07d3"+ + "\u07d4\u0001\u0000\u0000\u0000\u07d4\u07d5\u0006\u0103 \u0000\u07d5\u0219"+ + "\u0001\u0000\u0000\u0000\u07d6\u07d7\u0003\u0012\u0000\u0000\u07d7\u07d8"+ + "\u0001\u0000\u0000\u0000\u07d8\u07d9\u0006\u0104\u0000\u0000\u07d9\u021b"+ + "\u0001\u0000\u0000\u0000\u07da\u07db\u0003\u0014\u0001\u0000\u07db\u07dc"+ + "\u0001\u0000\u0000\u0000\u07dc\u07dd\u0006\u0105\u0000\u0000\u07dd\u021d"+ + "\u0001\u0000\u0000\u0000\u07de\u07df\u0003\u0016\u0002\u0000\u07df\u07e0"+ + "\u0001\u0000\u0000\u0000\u07e0\u07e1\u0006\u0106\u0000\u0000\u07e1\u021f"+ + "\u0001\u0000\u0000\u0000\u07e2\u07e3\u0003\u0100w\u0000\u07e3\u07e4\u0001"+ + "\u0000\u0000\u0000\u07e4\u07e5\u0006\u0107-\u0000\u07e5\u0221\u0001\u0000"+ + "\u0000\u0000\u07e6\u07e7\u0003\u00e6j\u0000\u07e7\u07e8\u0001\u0000\u0000"+ + "\u0000\u07e8\u07e9\u0006\u0108.\u0000\u07e9\u0223\u0001\u0000\u0000\u0000"+ + "\u07ea\u07eb\u0003\u00f4q\u0000\u07eb\u07ec\u0001\u0000\u0000\u0000\u07ec"+ + "\u07ed\u0006\u0109/\u0000\u07ed\u0225\u0001\u0000\u0000\u0000\u07ee\u07ef"+ + "\u0003\u00def\u0000\u07ef\u07f0\u0001\u0000\u0000\u0000\u07f0\u07f1\u0006"+ + "\u010a0\u0000\u07f1\u07f2\u0006\u010a\u0011\u0000\u07f2\u0227\u0001\u0000"+ + "\u0000\u0000\u07f3\u07f4\u0003\u00d6b\u0000\u07f4\u07f5\u0001\u0000\u0000"+ + "\u0000\u07f5\u07f6\u0006\u010b\u001f\u0000\u07f6\u0229\u0001\u0000\u0000"+ + "\u0000\u07f7\u07f8\u0003\u00cc]\u0000\u07f8\u07f9\u0001\u0000\u0000\u0000"+ + "\u07f9\u07fa\u0006\u010c\u001e\u0000\u07fa\u022b\u0001\u0000\u0000\u0000"+ + "\u07fb\u07fc\u0003\u0130\u008f\u0000\u07fc\u07fd\u0001\u0000\u0000\u0000"+ + "\u07fd\u07fe\u0006\u010d\u001a\u0000\u07fe\u022d\u0001\u0000\u0000\u0000"+ + "\u07ff\u0800\u0003\u0134\u0091\u0000\u0800\u0801\u0001\u0000\u0000\u0000"+ + "\u0801\u0802\u0006\u010e\u0019\u0000\u0802\u022f\u0001\u0000\u0000\u0000"+ + "\u0803\u0804\u0003\u00d0_\u0000\u0804\u0805\u0001\u0000\u0000\u0000\u0805"+ + "\u0806\u0006\u010f1\u0000\u0806\u0231\u0001\u0000\u0000\u0000\u0807\u0808"+ + "\u0003\u00ce^\u0000\u0808\u0809\u0001\u0000\u0000\u0000\u0809\u080a\u0006"+ + "\u01102\u0000\u080a\u0233\u0001\u0000\u0000\u0000\u080b\u080c\u0003\u00e0"+ + "g\u0000\u080c\u080d\u0001\u0000\u0000\u0000\u080d\u080e\u0006\u0111\u0016"+ + "\u0000\u080e\u0235\u0001\u0000\u0000\u0000\u080f\u0810\u0003\u00e4i\u0000"+ + "\u0810\u0811\u0001\u0000\u0000\u0000\u0811\u0812\u0006\u0112\u0015\u0000"+ + "\u0812\u0237\u0001\u0000\u0000\u0000\u0813\u0814\u0003\u00fcu\u0000\u0814"+ + "\u0815\u0001\u0000\u0000\u0000\u0815\u0816\u0006\u0113!\u0000\u0816\u0239"+ + "\u0001\u0000\u0000\u0000\u0817\u0818\u0003\u0124\u0089\u0000\u0818\u0819"+ + "\u0001\u0000\u0000\u0000\u0819\u081a\u0006\u0114\"\u0000\u081a\u023b\u0001"+ + "\u0000\u0000\u0000\u081b\u081c\u0003\u0120\u0087\u0000\u081c\u081d\u0001"+ + "\u0000\u0000\u0000\u081d\u081e\u0006\u0115#\u0000\u081e\u023d\u0001\u0000"+ + "\u0000\u0000\u081f\u0820\u0003\u0126\u008a\u0000\u0820\u0821\u0001\u0000"+ + "\u0000\u0000\u0821\u0822\u0006\u0116$\u0000\u0822\u023f\u0001\u0000\u0000"+ + "\u0000\u0823\u0824\u0003\u0128\u008b\u0000\u0824\u0825\u0001\u0000\u0000"+ + "\u0000\u0825\u0826\u0006\u0117\u0017\u0000\u0826\u0241\u0001\u0000\u0000"+ + "\u0000\u0827\u0828\u0003\u012a\u008c\u0000\u0828\u0829\u0001\u0000\u0000"+ + "\u0000\u0829\u082a\u0006\u0118\u0018\u0000\u082a\u0243\u0001\u0000\u0000"+ + "\u0000\u082b\u082c\u0003\u01f8\u00f3\u0000\u082c\u082d\u0001\u0000\u0000"+ + "\u0000\u082d\u082e\u0006\u0119 \u0000\u082e\u0245\u0001\u0000\u0000\u0000"+ + "\u082f\u0830\u0003\u0012\u0000\u0000\u0830\u0831\u0001\u0000\u0000\u0000"+ + "\u0831\u0832\u0006\u011a\u0000\u0000\u0832\u0247\u0001\u0000\u0000\u0000"+ + "\u0833\u0834\u0003\u0014\u0001\u0000\u0834\u0835\u0001\u0000\u0000\u0000"+ + "\u0835\u0836\u0006\u011b\u0000\u0000\u0836\u0249\u0001\u0000\u0000\u0000"+ + "\u0837\u0838\u0003\u0016\u0002\u0000\u0838\u0839\u0001\u0000\u0000\u0000"+ + "\u0839\u083a\u0006\u011c\u0000\u0000\u083a\u024b\u0001\u0000\u0000\u0000"+ + "\u083b\u083c\u0003\u00b6R\u0000\u083c\u083d\u0001\u0000\u0000\u0000\u083d"+ + "\u083e\u0006\u011d\u0010\u0000\u083e\u083f\u0006\u011d\u0011\u0000\u083f"+ + "\u024d\u0001\u0000\u0000\u0000\u0840\u0841\u0007\n\u0000\u0000\u0841\u0842"+ + "\u0007\u0005\u0000\u0000\u0842\u0843\u0007\u0015\u0000\u0000\u0843\u0844"+ + "\u0007\t\u0000\u0000\u0844\u024f\u0001\u0000\u0000\u0000\u0845\u0846\u0003"+ + "\u0012\u0000\u0000\u0846\u0847\u0001\u0000\u0000\u0000\u0847\u0848\u0006"+ + "\u011f\u0000\u0000\u0848\u0251\u0001\u0000\u0000\u0000\u0849\u084a\u0003"+ + "\u0014\u0001\u0000\u084a\u084b\u0001\u0000\u0000\u0000\u084b\u084c\u0006"+ + "\u0120\u0000\u0000\u084c\u0253\u0001\u0000\u0000\u0000\u084d\u084e\u0003"+ + "\u0016\u0002\u0000\u084e\u084f\u0001\u0000\u0000\u0000\u084f\u0850\u0006"+ + "\u0121\u0000\u0000\u0850\u0255\u0001\u0000\u0000\u0000F\u0000\u0001\u0002"+ "\u0003\u0004\u0005\u0006\u0007\b\t\n\u000b\f\r\u000e\u000f\u0010\u0011"+ - "$\u0002\u0000\n\n\r\r\u0003\u0000\t\n\r\r \u0002\u0000CCcc\u0002\u0000"+ - "HHhh\u0002\u0000AAaa\u0002\u0000NNnn\u0002\u0000GGgg\u0002\u0000EEee\u0002"+ - "\u0000PPpp\u0002\u0000OOoo\u0002\u0000IIii\u0002\u0000TTtt\u0002\u0000"+ - "RRrr\u0002\u0000XXxx\u0002\u0000LLll\u0002\u0000MMmm\u0002\u0000DDdd\u0002"+ - "\u0000SSss\u0002\u0000VVvv\u0002\u0000KKkk\u0002\u0000WWww\u0002\u0000"+ - "FFff\u0002\u0000UUuu\u0006\u0000\t\n\r\r //[[]]\f\u0000\t\n\r\r \"#"+ - "(),,//::<<>?\\\\||\u0001\u000009\u0002\u0000AZaz\b\u0000\"\"NNRRTT\\\\"+ - "nnrrtt\u0004\u0000\n\n\r\r\"\"\\\\\u0002\u0000++--\u0001\u0000``\u0002"+ - "\u0000BBbb\u0002\u0000YYyy\f\u0000\t\n\r\r \"\"(),,//::==[[]]||\u0002"+ - "\u0000**//\u0002\u0000JJjj\u0861\u0000\u0012\u0001\u0000\u0000\u0000\u0000"+ - "\u0014\u0001\u0000\u0000\u0000\u0000\u0016\u0001\u0000\u0000\u0000\u0000"+ - "\u0018\u0001\u0000\u0000\u0000\u0000\u001a\u0001\u0000\u0000\u0000\u0000"+ - "\u001c\u0001\u0000\u0000\u0000\u0000\u001e\u0001\u0000\u0000\u0000\u0000"+ - " \u0001\u0000\u0000\u0000\u0000\"\u0001\u0000\u0000\u0000\u0000$\u0001"+ - "\u0000\u0000\u0000\u0000&\u0001\u0000\u0000\u0000\u0000(\u0001\u0000\u0000"+ - "\u0000\u0000*\u0001\u0000\u0000\u0000\u0000,\u0001\u0000\u0000\u0000\u0000"+ - ".\u0001\u0000\u0000\u0000\u00000\u0001\u0000\u0000\u0000\u00002\u0001"+ - "\u0000\u0000\u0000\u00004\u0001\u0000\u0000\u0000\u00006\u0001\u0000\u0000"+ - "\u0000\u00008\u0001\u0000\u0000\u0000\u0000:\u0001\u0000\u0000\u0000\u0000"+ - "<\u0001\u0000\u0000\u0000\u0000>\u0001\u0000\u0000\u0000\u0000@\u0001"+ - "\u0000\u0000\u0000\u0000B\u0001\u0000\u0000\u0000\u0000D\u0001\u0000\u0000"+ - "\u0000\u0000F\u0001\u0000\u0000\u0000\u0000H\u0001\u0000\u0000\u0000\u0000"+ - "J\u0001\u0000\u0000\u0000\u0000L\u0001\u0000\u0000\u0000\u0000N\u0001"+ - "\u0000\u0000\u0000\u0000P\u0001\u0000\u0000\u0000\u0000R\u0001\u0000\u0000"+ - "\u0000\u0000T\u0001\u0000\u0000\u0000\u0000V\u0001\u0000\u0000\u0000\u0000"+ - "X\u0001\u0000\u0000\u0000\u0001Z\u0001\u0000\u0000\u0000\u0001\\\u0001"+ - "\u0000\u0000\u0000\u0001^\u0001\u0000\u0000\u0000\u0001`\u0001\u0000\u0000"+ - "\u0000\u0001b\u0001\u0000\u0000\u0000\u0001d\u0001\u0000\u0000\u0000\u0001"+ - "f\u0001\u0000\u0000\u0000\u0001h\u0001\u0000\u0000\u0000\u0001j\u0001"+ - "\u0000\u0000\u0000\u0001l\u0001\u0000\u0000\u0000\u0001n\u0001\u0000\u0000"+ - "\u0000\u0001p\u0001\u0000\u0000\u0000\u0001r\u0001\u0000\u0000\u0000\u0002"+ - "t\u0001\u0000\u0000\u0000\u0002v\u0001\u0000\u0000\u0000\u0002x\u0001"+ - "\u0000\u0000\u0000\u0002z\u0001\u0000\u0000\u0000\u0002~\u0001\u0000\u0000"+ - "\u0000\u0002\u0080\u0001\u0000\u0000\u0000\u0002\u0082\u0001\u0000\u0000"+ - "\u0000\u0002\u0084\u0001\u0000\u0000\u0000\u0002\u0086\u0001\u0000\u0000"+ - "\u0000\u0002\u0088\u0001\u0000\u0000\u0000\u0003\u008a\u0001\u0000\u0000"+ - "\u0000\u0003\u008c\u0001\u0000\u0000\u0000\u0003\u008e\u0001\u0000\u0000"+ - "\u0000\u0003\u0090\u0001\u0000\u0000\u0000\u0003\u0092\u0001\u0000\u0000"+ - "\u0000\u0003\u0094\u0001\u0000\u0000\u0000\u0003\u0096\u0001\u0000\u0000"+ - "\u0000\u0003\u0098\u0001\u0000\u0000\u0000\u0003\u009a\u0001\u0000\u0000"+ - "\u0000\u0003\u009c\u0001\u0000\u0000\u0000\u0003\u009e\u0001\u0000\u0000"+ - "\u0000\u0003\u00a0\u0001\u0000\u0000\u0000\u0003\u00a2\u0001\u0000\u0000"+ - "\u0000\u0003\u00a4\u0001\u0000\u0000\u0000\u0003\u00a6\u0001\u0000\u0000"+ - "\u0000\u0003\u00a8\u0001\u0000\u0000\u0000\u0003\u00aa\u0001\u0000\u0000"+ - "\u0000\u0004\u00ac\u0001\u0000\u0000\u0000\u0004\u00ae\u0001\u0000\u0000"+ - "\u0000\u0004\u00b0\u0001\u0000\u0000\u0000\u0004\u00b2\u0001\u0000\u0000"+ - "\u0000\u0004\u00b4\u0001\u0000\u0000\u0000\u0005\u00b6\u0001\u0000\u0000"+ - "\u0000\u0005\u00cc\u0001\u0000\u0000\u0000\u0005\u00ce\u0001\u0000\u0000"+ - "\u0000\u0005\u00d0\u0001\u0000\u0000\u0000\u0005\u00d2\u0001\u0000\u0000"+ - "\u0000\u0005\u00d4\u0001\u0000\u0000\u0000\u0005\u00d6\u0001\u0000\u0000"+ - "\u0000\u0005\u00d8\u0001\u0000\u0000\u0000\u0005\u00da\u0001\u0000\u0000"+ - "\u0000\u0005\u00dc\u0001\u0000\u0000\u0000\u0005\u00de\u0001\u0000\u0000"+ - "\u0000\u0005\u00e0\u0001\u0000\u0000\u0000\u0005\u00e2\u0001\u0000\u0000"+ - "\u0000\u0005\u00e4\u0001\u0000\u0000\u0000\u0005\u00e6\u0001\u0000\u0000"+ - "\u0000\u0005\u00e8\u0001\u0000\u0000\u0000\u0005\u00ea\u0001\u0000\u0000"+ - "\u0000\u0005\u00ec\u0001\u0000\u0000\u0000\u0005\u00ee\u0001\u0000\u0000"+ - "\u0000\u0005\u00f0\u0001\u0000\u0000\u0000\u0005\u00f2\u0001\u0000\u0000"+ - "\u0000\u0005\u00f4\u0001\u0000\u0000\u0000\u0005\u00f6\u0001\u0000\u0000"+ - "\u0000\u0005\u00f8\u0001\u0000\u0000\u0000\u0005\u00fa\u0001\u0000\u0000"+ - "\u0000\u0005\u00fc\u0001\u0000\u0000\u0000\u0005\u00fe\u0001\u0000\u0000"+ - "\u0000\u0005\u0100\u0001\u0000\u0000\u0000\u0005\u0102\u0001\u0000\u0000"+ - "\u0000\u0005\u0104\u0001\u0000\u0000\u0000\u0005\u0106\u0001\u0000\u0000"+ - "\u0000\u0005\u0108\u0001\u0000\u0000\u0000\u0005\u010a\u0001\u0000\u0000"+ - "\u0000\u0005\u010c\u0001\u0000\u0000\u0000\u0005\u010e\u0001\u0000\u0000"+ - "\u0000\u0005\u0110\u0001\u0000\u0000\u0000\u0005\u0112\u0001\u0000\u0000"+ - "\u0000\u0005\u0114\u0001\u0000\u0000\u0000\u0005\u0116\u0001\u0000\u0000"+ - "\u0000\u0005\u0118\u0001\u0000\u0000\u0000\u0005\u011a\u0001\u0000\u0000"+ - "\u0000\u0005\u011c\u0001\u0000\u0000\u0000\u0005\u011e\u0001\u0000\u0000"+ - "\u0000\u0005\u0120\u0001\u0000\u0000\u0000\u0005\u0122\u0001\u0000\u0000"+ - "\u0000\u0005\u0124\u0001\u0000\u0000\u0000\u0005\u0126\u0001\u0000\u0000"+ - "\u0000\u0005\u0128\u0001\u0000\u0000\u0000\u0005\u012a\u0001\u0000\u0000"+ - "\u0000\u0005\u012c\u0001\u0000\u0000\u0000\u0005\u012e\u0001\u0000\u0000"+ - "\u0000\u0005\u0130\u0001\u0000\u0000\u0000\u0005\u0134\u0001\u0000\u0000"+ - "\u0000\u0005\u0136\u0001\u0000\u0000\u0000\u0005\u0138\u0001\u0000\u0000"+ - "\u0000\u0005\u013a\u0001\u0000\u0000\u0000\u0006\u013c\u0001\u0000\u0000"+ - "\u0000\u0006\u013e\u0001\u0000\u0000\u0000\u0006\u0140\u0001\u0000\u0000"+ - "\u0000\u0006\u0142\u0001\u0000\u0000\u0000\u0006\u0144\u0001\u0000\u0000"+ - "\u0000\u0006\u0146\u0001\u0000\u0000\u0000\u0006\u0148\u0001\u0000\u0000"+ - "\u0000\u0006\u014c\u0001\u0000\u0000\u0000\u0006\u014e\u0001\u0000\u0000"+ - "\u0000\u0006\u0150\u0001\u0000\u0000\u0000\u0006\u0152\u0001\u0000\u0000"+ - "\u0000\u0006\u0154\u0001\u0000\u0000\u0000\u0006\u0156\u0001\u0000\u0000"+ - "\u0000\u0007\u0158\u0001\u0000\u0000\u0000\u0007\u015a\u0001\u0000\u0000"+ - "\u0000\u0007\u015c\u0001\u0000\u0000\u0000\u0007\u015e\u0001\u0000\u0000"+ - "\u0000\u0007\u0160\u0001\u0000\u0000\u0000\u0007\u0162\u0001\u0000\u0000"+ - "\u0000\b\u0164\u0001\u0000\u0000\u0000\b\u0166\u0001\u0000\u0000\u0000"+ - "\b\u0168\u0001\u0000\u0000\u0000\b\u016a\u0001\u0000\u0000\u0000\b\u016c"+ - "\u0001\u0000\u0000\u0000\b\u016e\u0001\u0000\u0000\u0000\b\u0170\u0001"+ - "\u0000\u0000\u0000\b\u0172\u0001\u0000\u0000\u0000\b\u0174\u0001\u0000"+ - "\u0000\u0000\b\u0176\u0001\u0000\u0000\u0000\b\u0178\u0001\u0000\u0000"+ - "\u0000\b\u017a\u0001\u0000\u0000\u0000\b\u017c\u0001\u0000\u0000\u0000"+ - "\t\u017e\u0001\u0000\u0000\u0000\t\u0180\u0001\u0000\u0000\u0000\t\u0182"+ - "\u0001\u0000\u0000\u0000\t\u0184\u0001\u0000\u0000\u0000\n\u0186\u0001"+ - "\u0000\u0000\u0000\n\u0188\u0001\u0000\u0000\u0000\n\u018a\u0001\u0000"+ - "\u0000\u0000\n\u018c\u0001\u0000\u0000\u0000\n\u018e\u0001\u0000\u0000"+ - "\u0000\n\u0190\u0001\u0000\u0000\u0000\n\u0192\u0001\u0000\u0000\u0000"+ - "\n\u0194\u0001\u0000\u0000\u0000\n\u0196\u0001\u0000\u0000\u0000\n\u0198"+ - "\u0001\u0000\u0000\u0000\n\u019a\u0001\u0000\u0000\u0000\u000b\u019c\u0001"+ - "\u0000\u0000\u0000\u000b\u019e\u0001\u0000\u0000\u0000\u000b\u01a0\u0001"+ - "\u0000\u0000\u0000\u000b\u01a2\u0001\u0000\u0000\u0000\u000b\u01a4\u0001"+ - "\u0000\u0000\u0000\u000b\u01a6\u0001\u0000\u0000\u0000\u000b\u01a8\u0001"+ - "\u0000\u0000\u0000\u000b\u01aa\u0001\u0000\u0000\u0000\u000b\u01ac\u0001"+ - "\u0000\u0000\u0000\u000b\u01ae\u0001\u0000\u0000\u0000\u000b\u01b0\u0001"+ - "\u0000\u0000\u0000\f\u01b2\u0001\u0000\u0000\u0000\f\u01b4\u0001\u0000"+ - "\u0000\u0000\f\u01b6\u0001\u0000\u0000\u0000\f\u01b8\u0001\u0000\u0000"+ - "\u0000\f\u01ba\u0001\u0000\u0000\u0000\f\u01bc\u0001\u0000\u0000\u0000"+ - "\f\u01be\u0001\u0000\u0000\u0000\f\u01c0\u0001\u0000\u0000\u0000\r\u01c2"+ - "\u0001\u0000\u0000\u0000\r\u01c4\u0001\u0000\u0000\u0000\r\u01c6\u0001"+ - "\u0000\u0000\u0000\r\u01c8\u0001\u0000\u0000\u0000\r\u01ca\u0001\u0000"+ - "\u0000\u0000\r\u01cc\u0001\u0000\u0000\u0000\r\u01ce\u0001\u0000\u0000"+ - "\u0000\r\u01d0\u0001\u0000\u0000\u0000\r\u01d2\u0001\u0000\u0000\u0000"+ - "\r\u01d4\u0001\u0000\u0000\u0000\r\u01d6\u0001\u0000\u0000\u0000\r\u01d8"+ - "\u0001\u0000\u0000\u0000\r\u01da\u0001\u0000\u0000\u0000\r\u01dc\u0001"+ - "\u0000\u0000\u0000\u000e\u01de\u0001\u0000\u0000\u0000\u000e\u01e0\u0001"+ - "\u0000\u0000\u0000\u000e\u01e2\u0001\u0000\u0000\u0000\u000e\u01e4\u0001"+ - "\u0000\u0000\u0000\u000e\u01e6\u0001\u0000\u0000\u0000\u000e\u01e8\u0001"+ - "\u0000\u0000\u0000\u000e\u01ea\u0001\u0000\u0000\u0000\u000e\u01ec\u0001"+ - "\u0000\u0000\u0000\u000e\u01ee\u0001\u0000\u0000\u0000\u000e\u01f0\u0001"+ - "\u0000\u0000\u0000\u000e\u01f6\u0001\u0000\u0000\u0000\u000e\u01f8\u0001"+ - "\u0000\u0000\u0000\u000e\u01fa\u0001\u0000\u0000\u0000\u000e\u01fc\u0001"+ - "\u0000\u0000\u0000\u000f\u01fe\u0001\u0000\u0000\u0000\u000f\u0200\u0001"+ - "\u0000\u0000\u0000\u000f\u0202\u0001\u0000\u0000\u0000\u000f\u0204\u0001"+ - "\u0000\u0000\u0000\u000f\u0206\u0001\u0000\u0000\u0000\u000f\u0208\u0001"+ - "\u0000\u0000\u0000\u000f\u020a\u0001\u0000\u0000\u0000\u000f\u020c\u0001"+ - "\u0000\u0000\u0000\u000f\u020e\u0001\u0000\u0000\u0000\u000f\u0210\u0001"+ - "\u0000\u0000\u0000\u000f\u0212\u0001\u0000\u0000\u0000\u000f\u0214\u0001"+ - "\u0000\u0000\u0000\u000f\u0216\u0001\u0000\u0000\u0000\u000f\u0218\u0001"+ - "\u0000\u0000\u0000\u000f\u021a\u0001\u0000\u0000\u0000\u000f\u021c\u0001"+ - "\u0000\u0000\u0000\u0010\u021e\u0001\u0000\u0000\u0000\u0010\u0220\u0001"+ - "\u0000\u0000\u0000\u0010\u0222\u0001\u0000\u0000\u0000\u0010\u0224\u0001"+ - "\u0000\u0000\u0000\u0010\u0226\u0001\u0000\u0000\u0000\u0010\u0228\u0001"+ - "\u0000\u0000\u0000\u0010\u022a\u0001\u0000\u0000\u0000\u0010\u022c\u0001"+ - "\u0000\u0000\u0000\u0010\u022e\u0001\u0000\u0000\u0000\u0010\u0230\u0001"+ - "\u0000\u0000\u0000\u0010\u0232\u0001\u0000\u0000\u0000\u0010\u0234\u0001"+ - "\u0000\u0000\u0000\u0010\u0236\u0001\u0000\u0000\u0000\u0010\u0238\u0001"+ - "\u0000\u0000\u0000\u0010\u023a\u0001\u0000\u0000\u0000\u0010\u023c\u0001"+ - "\u0000\u0000\u0000\u0010\u023e\u0001\u0000\u0000\u0000\u0010\u0240\u0001"+ - "\u0000\u0000\u0000\u0010\u0242\u0001\u0000\u0000\u0000\u0010\u0244\u0001"+ - "\u0000\u0000\u0000\u0010\u0246\u0001\u0000\u0000\u0000\u0010\u0248\u0001"+ - "\u0000\u0000\u0000\u0011\u024a\u0001\u0000\u0000\u0000\u0011\u024c\u0001"+ - "\u0000\u0000\u0000\u0011\u024e\u0001\u0000\u0000\u0000\u0011\u0250\u0001"+ - "\u0000\u0000\u0000\u0011\u0252\u0001\u0000\u0000\u0000\u0012\u0254\u0001"+ - "\u0000\u0000\u0000\u0014\u0265\u0001\u0000\u0000\u0000\u0016\u0275\u0001"+ - "\u0000\u0000\u0000\u0018\u027b\u0001\u0000\u0000\u0000\u001a\u028a\u0001"+ - "\u0000\u0000\u0000\u001c\u0293\u0001\u0000\u0000\u0000\u001e\u029e\u0001"+ - "\u0000\u0000\u0000 \u02ab\u0001\u0000\u0000\u0000\"\u02b5\u0001\u0000"+ - "\u0000\u0000$\u02bc\u0001\u0000\u0000\u0000&\u02c3\u0001\u0000\u0000\u0000"+ - "(\u02cb\u0001\u0000\u0000\u0000*\u02d4\u0001\u0000\u0000\u0000,\u02da"+ - "\u0001\u0000\u0000\u0000.\u02e3\u0001\u0000\u0000\u00000\u02ea\u0001\u0000"+ - "\u0000\u00002\u02f2\u0001\u0000\u0000\u00004\u02fa\u0001\u0000\u0000\u0000"+ - "6\u0301\u0001\u0000\u0000\u00008\u0306\u0001\u0000\u0000\u0000:\u030d"+ - "\u0001\u0000\u0000\u0000<\u0315\u0001\u0000\u0000\u0000>\u031e\u0001\u0000"+ - "\u0000\u0000@\u032c\u0001\u0000\u0000\u0000B\u0335\u0001\u0000\u0000\u0000"+ - "D\u033d\u0001\u0000\u0000\u0000F\u0345\u0001\u0000\u0000\u0000H\u034e"+ - "\u0001\u0000\u0000\u0000J\u035a\u0001\u0000\u0000\u0000L\u0366\u0001\u0000"+ - "\u0000\u0000N\u036d\u0001\u0000\u0000\u0000P\u0374\u0001\u0000\u0000\u0000"+ - "R\u0380\u0001\u0000\u0000\u0000T\u0389\u0001\u0000\u0000\u0000V\u038f"+ - "\u0001\u0000\u0000\u0000X\u0397\u0001\u0000\u0000\u0000Z\u039d\u0001\u0000"+ - "\u0000\u0000\\\u03a2\u0001\u0000\u0000\u0000^\u03a8\u0001\u0000\u0000"+ - "\u0000`\u03ac\u0001\u0000\u0000\u0000b\u03b0\u0001\u0000\u0000\u0000d"+ - "\u03b4\u0001\u0000\u0000\u0000f\u03b8\u0001\u0000\u0000\u0000h\u03bc\u0001"+ - "\u0000\u0000\u0000j\u03c0\u0001\u0000\u0000\u0000l\u03c4\u0001\u0000\u0000"+ - "\u0000n\u03c8\u0001\u0000\u0000\u0000p\u03cc\u0001\u0000\u0000\u0000r"+ - "\u03d0\u0001\u0000\u0000\u0000t\u03d4\u0001\u0000\u0000\u0000v\u03d9\u0001"+ - "\u0000\u0000\u0000x\u03df\u0001\u0000\u0000\u0000z\u03e4\u0001\u0000\u0000"+ - "\u0000|\u03e9\u0001\u0000\u0000\u0000~\u03f2\u0001\u0000\u0000\u0000\u0080"+ - "\u03f9\u0001\u0000\u0000\u0000\u0082\u03fd\u0001\u0000\u0000\u0000\u0084"+ - "\u0401\u0001\u0000\u0000\u0000\u0086\u0405\u0001\u0000\u0000\u0000\u0088"+ - "\u0409\u0001\u0000\u0000\u0000\u008a\u040d\u0001\u0000\u0000\u0000\u008c"+ - "\u0413\u0001\u0000\u0000\u0000\u008e\u041a\u0001\u0000\u0000\u0000\u0090"+ - "\u041e\u0001\u0000\u0000\u0000\u0092\u0422\u0001\u0000\u0000\u0000\u0094"+ - "\u0426\u0001\u0000\u0000\u0000\u0096\u042a\u0001\u0000\u0000\u0000\u0098"+ - "\u042e\u0001\u0000\u0000\u0000\u009a\u0432\u0001\u0000\u0000\u0000\u009c"+ - "\u0436\u0001\u0000\u0000\u0000\u009e\u043a\u0001\u0000\u0000\u0000\u00a0"+ - "\u043e\u0001\u0000\u0000\u0000\u00a2\u0442\u0001\u0000\u0000\u0000\u00a4"+ - "\u0446\u0001\u0000\u0000\u0000\u00a6\u044a\u0001\u0000\u0000\u0000\u00a8"+ - "\u044e\u0001\u0000\u0000\u0000\u00aa\u0452\u0001\u0000\u0000\u0000\u00ac"+ - "\u0456\u0001\u0000\u0000\u0000\u00ae\u045b\u0001\u0000\u0000\u0000\u00b0"+ - "\u0460\u0001\u0000\u0000\u0000\u00b2\u0464\u0001\u0000\u0000\u0000\u00b4"+ - "\u0468\u0001\u0000\u0000\u0000\u00b6\u046c\u0001\u0000\u0000\u0000\u00b8"+ - "\u0470\u0001\u0000\u0000\u0000\u00ba\u0472\u0001\u0000\u0000\u0000\u00bc"+ - "\u0474\u0001\u0000\u0000\u0000\u00be\u0477\u0001\u0000\u0000\u0000\u00c0"+ - "\u0479\u0001\u0000\u0000\u0000\u00c2\u0482\u0001\u0000\u0000\u0000\u00c4"+ - "\u0484\u0001\u0000\u0000\u0000\u00c6\u0489\u0001\u0000\u0000\u0000\u00c8"+ - "\u048b\u0001\u0000\u0000\u0000\u00ca\u0490\u0001\u0000\u0000\u0000\u00cc"+ - "\u04af\u0001\u0000\u0000\u0000\u00ce\u04b2\u0001\u0000\u0000\u0000\u00d0"+ - "\u04e0\u0001\u0000\u0000\u0000\u00d2\u04e2\u0001\u0000\u0000\u0000\u00d4"+ - "\u04e6\u0001\u0000\u0000\u0000\u00d6\u04ea\u0001\u0000\u0000\u0000\u00d8"+ - "\u04ec\u0001\u0000\u0000\u0000\u00da\u04ef\u0001\u0000\u0000\u0000\u00dc"+ - "\u04f2\u0001\u0000\u0000\u0000\u00de\u04f4\u0001\u0000\u0000\u0000\u00e0"+ - "\u04f6\u0001\u0000\u0000\u0000\u00e2\u04f8\u0001\u0000\u0000\u0000\u00e4"+ - "\u04fd\u0001\u0000\u0000\u0000\u00e6\u04ff\u0001\u0000\u0000\u0000\u00e8"+ - "\u0505\u0001\u0000\u0000\u0000\u00ea\u050b\u0001\u0000\u0000\u0000\u00ec"+ - "\u050e\u0001\u0000\u0000\u0000\u00ee\u0511\u0001\u0000\u0000\u0000\u00f0"+ - "\u0516\u0001\u0000\u0000\u0000\u00f2\u051b\u0001\u0000\u0000\u0000\u00f4"+ - "\u051f\u0001\u0000\u0000\u0000\u00f6\u0524\u0001\u0000\u0000\u0000\u00f8"+ - "\u052a\u0001\u0000\u0000\u0000\u00fa\u052d\u0001\u0000\u0000\u0000\u00fc"+ - "\u0530\u0001\u0000\u0000\u0000\u00fe\u0532\u0001\u0000\u0000\u0000\u0100"+ - "\u0538\u0001\u0000\u0000\u0000\u0102\u053d\u0001\u0000\u0000\u0000\u0104"+ - "\u0542\u0001\u0000\u0000\u0000\u0106\u0545\u0001\u0000\u0000\u0000\u0108"+ - "\u0548\u0001\u0000\u0000\u0000\u010a\u054b\u0001\u0000\u0000\u0000\u010c"+ - "\u054d\u0001\u0000\u0000\u0000\u010e\u0550\u0001\u0000\u0000\u0000\u0110"+ - "\u0552\u0001\u0000\u0000\u0000\u0112\u0555\u0001\u0000\u0000\u0000\u0114"+ - "\u0557\u0001\u0000\u0000\u0000\u0116\u0559\u0001\u0000\u0000\u0000\u0118"+ - "\u055b\u0001\u0000\u0000\u0000\u011a\u055d\u0001\u0000\u0000\u0000\u011c"+ - "\u055f\u0001\u0000\u0000\u0000\u011e\u0561\u0001\u0000\u0000\u0000\u0120"+ - "\u0563\u0001\u0000\u0000\u0000\u0122\u0566\u0001\u0000\u0000\u0000\u0124"+ - "\u057b\u0001\u0000\u0000\u0000\u0126\u058e\u0001\u0000\u0000\u0000\u0128"+ - "\u0590\u0001\u0000\u0000\u0000\u012a\u0595\u0001\u0000\u0000\u0000\u012c"+ - "\u059a\u0001\u0000\u0000\u0000\u012e\u059f\u0001\u0000\u0000\u0000\u0130"+ - "\u05b4\u0001\u0000\u0000\u0000\u0132\u05b6\u0001\u0000\u0000\u0000\u0134"+ - "\u05be\u0001\u0000\u0000\u0000\u0136\u05c0\u0001\u0000\u0000\u0000\u0138"+ - "\u05c4\u0001\u0000\u0000\u0000\u013a\u05c8\u0001\u0000\u0000\u0000\u013c"+ - "\u05cc\u0001\u0000\u0000\u0000\u013e\u05d1\u0001\u0000\u0000\u0000\u0140"+ - "\u05d5\u0001\u0000\u0000\u0000\u0142\u05d9\u0001\u0000\u0000\u0000\u0144"+ - "\u05dd\u0001\u0000\u0000\u0000\u0146\u05e1\u0001\u0000\u0000\u0000\u0148"+ - "\u05ea\u0001\u0000\u0000\u0000\u014a\u05f2\u0001\u0000\u0000\u0000\u014c"+ - "\u05f5\u0001\u0000\u0000\u0000\u014e\u05f9\u0001\u0000\u0000\u0000\u0150"+ - "\u05fd\u0001\u0000\u0000\u0000\u0152\u0601\u0001\u0000\u0000\u0000\u0154"+ - "\u0605\u0001\u0000\u0000\u0000\u0156\u0609\u0001\u0000\u0000\u0000\u0158"+ - "\u060d\u0001\u0000\u0000\u0000\u015a\u0612\u0001\u0000\u0000\u0000\u015c"+ - "\u0618\u0001\u0000\u0000\u0000\u015e\u061d\u0001\u0000\u0000\u0000\u0160"+ - "\u0621\u0001\u0000\u0000\u0000\u0162\u0625\u0001\u0000\u0000\u0000\u0164"+ - "\u0629\u0001\u0000\u0000\u0000\u0166\u062e\u0001\u0000\u0000\u0000\u0168"+ - "\u0634\u0001\u0000\u0000\u0000\u016a\u063a\u0001\u0000\u0000\u0000\u016c"+ - "\u0640\u0001\u0000\u0000\u0000\u016e\u0644\u0001\u0000\u0000\u0000\u0170"+ - "\u064a\u0001\u0000\u0000\u0000\u0172\u064e\u0001\u0000\u0000\u0000\u0174"+ - "\u0652\u0001\u0000\u0000\u0000\u0176\u0656\u0001\u0000\u0000\u0000\u0178"+ - "\u065a\u0001\u0000\u0000\u0000\u017a\u065e\u0001\u0000\u0000\u0000\u017c"+ - "\u0662\u0001\u0000\u0000\u0000\u017e\u0666\u0001\u0000\u0000\u0000\u0180"+ - "\u066f\u0001\u0000\u0000\u0000\u0182\u0673\u0001\u0000\u0000\u0000\u0184"+ - "\u0677\u0001\u0000\u0000\u0000\u0186\u067b\u0001\u0000\u0000\u0000\u0188"+ - "\u0680\u0001\u0000\u0000\u0000\u018a\u0685\u0001\u0000\u0000\u0000\u018c"+ - "\u0689\u0001\u0000\u0000\u0000\u018e\u068f\u0001\u0000\u0000\u0000\u0190"+ - "\u0698\u0001\u0000\u0000\u0000\u0192\u069c\u0001\u0000\u0000\u0000\u0194"+ - "\u06a0\u0001\u0000\u0000\u0000\u0196\u06a4\u0001\u0000\u0000\u0000\u0198"+ - "\u06a8\u0001\u0000\u0000\u0000\u019a\u06ac\u0001\u0000\u0000\u0000\u019c"+ - "\u06b0\u0001\u0000\u0000\u0000\u019e\u06b5\u0001\u0000\u0000\u0000\u01a0"+ - "\u06bb\u0001\u0000\u0000\u0000\u01a2\u06bf\u0001\u0000\u0000\u0000\u01a4"+ - "\u06c3\u0001\u0000\u0000\u0000\u01a6\u06c7\u0001\u0000\u0000\u0000\u01a8"+ - "\u06cc\u0001\u0000\u0000\u0000\u01aa\u06d0\u0001\u0000\u0000\u0000\u01ac"+ - "\u06d4\u0001\u0000\u0000\u0000\u01ae\u06d8\u0001\u0000\u0000\u0000\u01b0"+ - "\u06dc\u0001\u0000\u0000\u0000\u01b2\u06e0\u0001\u0000\u0000\u0000\u01b4"+ - "\u06e6\u0001\u0000\u0000\u0000\u01b6\u06ed\u0001\u0000\u0000\u0000\u01b8"+ - "\u06f1\u0001\u0000\u0000\u0000\u01ba\u06f5\u0001\u0000\u0000\u0000\u01bc"+ - "\u06f9\u0001\u0000\u0000\u0000\u01be\u06fd\u0001\u0000\u0000\u0000\u01c0"+ - "\u0701\u0001\u0000\u0000\u0000\u01c2\u0705\u0001\u0000\u0000\u0000\u01c4"+ - "\u070a\u0001\u0000\u0000\u0000\u01c6\u0710\u0001\u0000\u0000\u0000\u01c8"+ - "\u0714\u0001\u0000\u0000\u0000\u01ca\u0718\u0001\u0000\u0000\u0000\u01cc"+ - "\u071c\u0001\u0000\u0000\u0000\u01ce\u0720\u0001\u0000\u0000\u0000\u01d0"+ - "\u0724\u0001\u0000\u0000\u0000\u01d2\u0728\u0001\u0000\u0000\u0000\u01d4"+ - "\u072c\u0001\u0000\u0000\u0000\u01d6\u0730\u0001\u0000\u0000\u0000\u01d8"+ - "\u0734\u0001\u0000\u0000\u0000\u01da\u0738\u0001\u0000\u0000\u0000\u01dc"+ - "\u073c\u0001\u0000\u0000\u0000\u01de\u0740\u0001\u0000\u0000\u0000\u01e0"+ - "\u0745\u0001\u0000\u0000\u0000\u01e2\u074b\u0001\u0000\u0000\u0000\u01e4"+ - "\u074f\u0001\u0000\u0000\u0000\u01e6\u0753\u0001\u0000\u0000\u0000\u01e8"+ - "\u0757\u0001\u0000\u0000\u0000\u01ea\u075b\u0001\u0000\u0000\u0000\u01ec"+ - "\u075f\u0001\u0000\u0000\u0000\u01ee\u0763\u0001\u0000\u0000\u0000\u01f0"+ - "\u0767\u0001\u0000\u0000\u0000\u01f2\u076f\u0001\u0000\u0000\u0000\u01f4"+ - "\u0784\u0001\u0000\u0000\u0000\u01f6\u0788\u0001\u0000\u0000\u0000\u01f8"+ - "\u078c\u0001\u0000\u0000\u0000\u01fa\u0790\u0001\u0000\u0000\u0000\u01fc"+ - "\u0794\u0001\u0000\u0000\u0000\u01fe\u0798\u0001\u0000\u0000\u0000\u0200"+ - "\u079d\u0001\u0000\u0000\u0000\u0202\u07a3\u0001\u0000\u0000\u0000\u0204"+ - "\u07a7\u0001\u0000\u0000\u0000\u0206\u07ab\u0001\u0000\u0000\u0000\u0208"+ - "\u07af\u0001\u0000\u0000\u0000\u020a\u07b3\u0001\u0000\u0000\u0000\u020c"+ - "\u07b7\u0001\u0000\u0000\u0000\u020e\u07bb\u0001\u0000\u0000\u0000\u0210"+ - "\u07bf\u0001\u0000\u0000\u0000\u0212\u07c3\u0001\u0000\u0000\u0000\u0214"+ - "\u07c7\u0001\u0000\u0000\u0000\u0216\u07ca\u0001\u0000\u0000\u0000\u0218"+ - "\u07ce\u0001\u0000\u0000\u0000\u021a\u07d2\u0001\u0000\u0000\u0000\u021c"+ - "\u07d6\u0001\u0000\u0000\u0000\u021e\u07da\u0001\u0000\u0000\u0000\u0220"+ - "\u07de\u0001\u0000\u0000\u0000\u0222\u07e2\u0001\u0000\u0000\u0000\u0224"+ - "\u07e6\u0001\u0000\u0000\u0000\u0226\u07eb\u0001\u0000\u0000\u0000\u0228"+ - "\u07ef\u0001\u0000\u0000\u0000\u022a\u07f3\u0001\u0000\u0000\u0000\u022c"+ - "\u07f7\u0001\u0000\u0000\u0000\u022e\u07fb\u0001\u0000\u0000\u0000\u0230"+ - "\u07ff\u0001\u0000\u0000\u0000\u0232\u0803\u0001\u0000\u0000\u0000\u0234"+ - "\u0807\u0001\u0000\u0000\u0000\u0236\u080b\u0001\u0000\u0000\u0000\u0238"+ - "\u080f\u0001\u0000\u0000\u0000\u023a\u0813\u0001\u0000\u0000\u0000\u023c"+ - "\u0817\u0001\u0000\u0000\u0000\u023e\u081b\u0001\u0000\u0000\u0000\u0240"+ - "\u081f\u0001\u0000\u0000\u0000\u0242\u0823\u0001\u0000\u0000\u0000\u0244"+ - "\u0827\u0001\u0000\u0000\u0000\u0246\u082b\u0001\u0000\u0000\u0000\u0248"+ - "\u082f\u0001\u0000\u0000\u0000\u024a\u0833\u0001\u0000\u0000\u0000\u024c"+ - "\u0838\u0001\u0000\u0000\u0000\u024e\u083d\u0001\u0000\u0000\u0000\u0250"+ - "\u0841\u0001\u0000\u0000\u0000\u0252\u0845\u0001\u0000\u0000\u0000\u0254"+ - "\u0255\u0005/\u0000\u0000\u0255\u0256\u0005/\u0000\u0000\u0256\u025a\u0001"+ - "\u0000\u0000\u0000\u0257\u0259\b\u0000\u0000\u0000\u0258\u0257\u0001\u0000"+ - "\u0000\u0000\u0259\u025c\u0001\u0000\u0000\u0000\u025a\u0258\u0001\u0000"+ - "\u0000\u0000\u025a\u025b\u0001\u0000\u0000\u0000\u025b\u025e\u0001\u0000"+ - "\u0000\u0000\u025c\u025a\u0001\u0000\u0000\u0000\u025d\u025f\u0005\r\u0000"+ - "\u0000\u025e\u025d\u0001\u0000\u0000\u0000\u025e\u025f\u0001\u0000\u0000"+ - "\u0000\u025f\u0261\u0001\u0000\u0000\u0000\u0260\u0262\u0005\n\u0000\u0000"+ - "\u0261\u0260\u0001\u0000\u0000\u0000\u0261\u0262\u0001\u0000\u0000\u0000"+ - "\u0262\u0263\u0001\u0000\u0000\u0000\u0263\u0264\u0006\u0000\u0000\u0000"+ - "\u0264\u0013\u0001\u0000\u0000\u0000\u0265\u0266\u0005/\u0000\u0000\u0266"+ - "\u0267\u0005*\u0000\u0000\u0267\u026c\u0001\u0000\u0000\u0000\u0268\u026b"+ - "\u0003\u0014\u0001\u0000\u0269\u026b\t\u0000\u0000\u0000\u026a\u0268\u0001"+ - "\u0000\u0000\u0000\u026a\u0269\u0001\u0000\u0000\u0000\u026b\u026e\u0001"+ - "\u0000\u0000\u0000\u026c\u026d\u0001\u0000\u0000\u0000\u026c\u026a\u0001"+ - "\u0000\u0000\u0000\u026d\u026f\u0001\u0000\u0000\u0000\u026e\u026c\u0001"+ - "\u0000\u0000\u0000\u026f\u0270\u0005*\u0000\u0000\u0270\u0271\u0005/\u0000"+ - "\u0000\u0271\u0272\u0001\u0000\u0000\u0000\u0272\u0273\u0006\u0001\u0000"+ - "\u0000\u0273\u0015\u0001\u0000\u0000\u0000\u0274\u0276\u0007\u0001\u0000"+ - "\u0000\u0275\u0274\u0001\u0000\u0000\u0000\u0276\u0277\u0001\u0000\u0000"+ - "\u0000\u0277\u0275\u0001\u0000\u0000\u0000\u0277\u0278\u0001\u0000\u0000"+ - "\u0000\u0278\u0279\u0001\u0000\u0000\u0000\u0279\u027a\u0006\u0002\u0000"+ - "\u0000\u027a\u0017\u0001\u0000\u0000\u0000\u027b\u027c\u0007\u0002\u0000"+ - "\u0000\u027c\u027d\u0007\u0003\u0000\u0000\u027d\u027e\u0007\u0004\u0000"+ - "\u0000\u027e\u027f\u0007\u0005\u0000\u0000\u027f\u0280\u0007\u0006\u0000"+ - "\u0000\u0280\u0281\u0007\u0007\u0000\u0000\u0281\u0282\u0005_\u0000\u0000"+ - "\u0282\u0283\u0007\b\u0000\u0000\u0283\u0284\u0007\t\u0000\u0000\u0284"+ - "\u0285\u0007\n\u0000\u0000\u0285\u0286\u0007\u0005\u0000\u0000\u0286\u0287"+ - "\u0007\u000b\u0000\u0000\u0287\u0288\u0001\u0000\u0000\u0000\u0288\u0289"+ - "\u0006\u0003\u0001\u0000\u0289\u0019\u0001\u0000\u0000\u0000\u028a\u028b"+ - "\u0007\u0007\u0000\u0000\u028b\u028c\u0007\u0005\u0000\u0000\u028c\u028d"+ - "\u0007\f\u0000\u0000\u028d\u028e\u0007\n\u0000\u0000\u028e\u028f\u0007"+ - "\u0002\u0000\u0000\u028f\u0290\u0007\u0003\u0000\u0000\u0290\u0291\u0001"+ - "\u0000\u0000\u0000\u0291\u0292\u0006\u0004\u0002\u0000\u0292\u001b\u0001"+ - "\u0000\u0000\u0000\u0293\u0294\u0004\u0005\u0000\u0000\u0294\u0295\u0007"+ - "\u0007\u0000\u0000\u0295\u0296\u0007\r\u0000\u0000\u0296\u0297\u0007\b"+ - "\u0000\u0000\u0297\u0298\u0007\u000e\u0000\u0000\u0298\u0299\u0007\u0004"+ - "\u0000\u0000\u0299\u029a\u0007\n\u0000\u0000\u029a\u029b\u0007\u0005\u0000"+ - "\u0000\u029b\u029c\u0001\u0000\u0000\u0000\u029c\u029d\u0006\u0005\u0003"+ - "\u0000\u029d\u001d\u0001\u0000\u0000\u0000\u029e\u029f\u0007\u0002\u0000"+ - "\u0000\u029f\u02a0\u0007\t\u0000\u0000\u02a0\u02a1\u0007\u000f\u0000\u0000"+ - "\u02a1\u02a2\u0007\b\u0000\u0000\u02a2\u02a3\u0007\u000e\u0000\u0000\u02a3"+ - "\u02a4\u0007\u0007\u0000\u0000\u02a4\u02a5\u0007\u000b\u0000\u0000\u02a5"+ - "\u02a6\u0007\n\u0000\u0000\u02a6\u02a7\u0007\t\u0000\u0000\u02a7\u02a8"+ - "\u0007\u0005\u0000\u0000\u02a8\u02a9\u0001\u0000\u0000\u0000\u02a9\u02aa"+ - "\u0006\u0006\u0004\u0000\u02aa\u001f\u0001\u0000\u0000\u0000\u02ab\u02ac"+ - "\u0007\u0010\u0000\u0000\u02ac\u02ad\u0007\n\u0000\u0000\u02ad\u02ae\u0007"+ - "\u0011\u0000\u0000\u02ae\u02af\u0007\u0011\u0000\u0000\u02af\u02b0\u0007"+ - "\u0007\u0000\u0000\u02b0\u02b1\u0007\u0002\u0000\u0000\u02b1\u02b2\u0007"+ - "\u000b\u0000\u0000\u02b2\u02b3\u0001\u0000\u0000\u0000\u02b3\u02b4\u0006"+ - "\u0007\u0004\u0000\u02b4!\u0001\u0000\u0000\u0000\u02b5\u02b6\u0007\u0007"+ - "\u0000\u0000\u02b6\u02b7\u0007\u0012\u0000\u0000\u02b7\u02b8\u0007\u0004"+ - "\u0000\u0000\u02b8\u02b9\u0007\u000e\u0000\u0000\u02b9\u02ba\u0001\u0000"+ - "\u0000\u0000\u02ba\u02bb\u0006\b\u0004\u0000\u02bb#\u0001\u0000\u0000"+ - "\u0000\u02bc\u02bd\u0007\u0006\u0000\u0000\u02bd\u02be\u0007\f\u0000\u0000"+ - "\u02be\u02bf\u0007\t\u0000\u0000\u02bf\u02c0\u0007\u0013\u0000\u0000\u02c0"+ - "\u02c1\u0001\u0000\u0000\u0000\u02c1\u02c2\u0006\t\u0004\u0000\u02c2%"+ - "\u0001\u0000\u0000\u0000\u02c3\u02c4\u0007\u000e\u0000\u0000\u02c4\u02c5"+ - "\u0007\n\u0000\u0000\u02c5\u02c6\u0007\u000f\u0000\u0000\u02c6\u02c7\u0007"+ - "\n\u0000\u0000\u02c7\u02c8\u0007\u000b\u0000\u0000\u02c8\u02c9\u0001\u0000"+ - "\u0000\u0000\u02c9\u02ca\u0006\n\u0004\u0000\u02ca\'\u0001\u0000\u0000"+ - "\u0000\u02cb\u02cc\u0007\f\u0000\u0000\u02cc\u02cd\u0007\u0007\u0000\u0000"+ - "\u02cd\u02ce\u0007\f\u0000\u0000\u02ce\u02cf\u0007\u0004\u0000\u0000\u02cf"+ - "\u02d0\u0007\u0005\u0000\u0000\u02d0\u02d1\u0007\u0013\u0000\u0000\u02d1"+ - "\u02d2\u0001\u0000\u0000\u0000\u02d2\u02d3\u0006\u000b\u0004\u0000\u02d3"+ - ")\u0001\u0000\u0000\u0000\u02d4\u02d5\u0007\f\u0000\u0000\u02d5\u02d6"+ - "\u0007\t\u0000\u0000\u02d6\u02d7\u0007\u0014\u0000\u0000\u02d7\u02d8\u0001"+ - "\u0000\u0000\u0000\u02d8\u02d9\u0006\f\u0004\u0000\u02d9+\u0001\u0000"+ - "\u0000\u0000\u02da\u02db\u0007\u0011\u0000\u0000\u02db\u02dc\u0007\u0004"+ - "\u0000\u0000\u02dc\u02dd\u0007\u000f\u0000\u0000\u02dd\u02de\u0007\b\u0000"+ - "\u0000\u02de\u02df\u0007\u000e\u0000\u0000\u02df\u02e0\u0007\u0007\u0000"+ - "\u0000\u02e0\u02e1\u0001\u0000\u0000\u0000\u02e1\u02e2\u0006\r\u0004\u0000"+ - "\u02e2-\u0001\u0000\u0000\u0000\u02e3\u02e4\u0007\u0011\u0000\u0000\u02e4"+ - "\u02e5\u0007\t\u0000\u0000\u02e5\u02e6\u0007\f\u0000\u0000\u02e6\u02e7"+ - "\u0007\u000b\u0000\u0000\u02e7\u02e8\u0001\u0000\u0000\u0000\u02e8\u02e9"+ - "\u0006\u000e\u0004\u0000\u02e9/\u0001\u0000\u0000\u0000\u02ea\u02eb\u0007"+ - "\u0011\u0000\u0000\u02eb\u02ec\u0007\u000b\u0000\u0000\u02ec\u02ed\u0007"+ - "\u0004\u0000\u0000\u02ed\u02ee\u0007\u000b\u0000\u0000\u02ee\u02ef\u0007"+ - "\u0011\u0000\u0000\u02ef\u02f0\u0001\u0000\u0000\u0000\u02f0\u02f1\u0006"+ - "\u000f\u0004\u0000\u02f11\u0001\u0000\u0000\u0000\u02f2\u02f3\u0007\u0014"+ - "\u0000\u0000\u02f3\u02f4\u0007\u0003\u0000\u0000\u02f4\u02f5\u0007\u0007"+ - "\u0000\u0000\u02f5\u02f6\u0007\f\u0000\u0000\u02f6\u02f7\u0007\u0007\u0000"+ - "\u0000\u02f7\u02f8\u0001\u0000\u0000\u0000\u02f8\u02f9\u0006\u0010\u0004"+ - "\u0000\u02f93\u0001\u0000\u0000\u0000\u02fa\u02fb\u0007\u0015\u0000\u0000"+ - "\u02fb\u02fc\u0007\f\u0000\u0000\u02fc\u02fd\u0007\t\u0000\u0000\u02fd"+ - "\u02fe\u0007\u000f\u0000\u0000\u02fe\u02ff\u0001\u0000\u0000\u0000\u02ff"+ - "\u0300\u0006\u0011\u0005\u0000\u03005\u0001\u0000\u0000\u0000\u0301\u0302"+ - "\u0007\u000b\u0000\u0000\u0302\u0303\u0007\u0011\u0000\u0000\u0303\u0304"+ - "\u0001\u0000\u0000\u0000\u0304\u0305\u0006\u0012\u0005\u0000\u03057\u0001"+ - "\u0000\u0000\u0000\u0306\u0307\u0007\u0015\u0000\u0000\u0307\u0308\u0007"+ - "\t\u0000\u0000\u0308\u0309\u0007\f\u0000\u0000\u0309\u030a\u0007\u0013"+ - "\u0000\u0000\u030a\u030b\u0001\u0000\u0000\u0000\u030b\u030c\u0006\u0013"+ - "\u0006\u0000\u030c9\u0001\u0000\u0000\u0000\u030d\u030e\u0004\u0014\u0001"+ - "\u0000\u030e\u030f\u0007\u0015\u0000\u0000\u030f\u0310\u0007\u0016\u0000"+ - "\u0000\u0310\u0311\u0007\u0011\u0000\u0000\u0311\u0312\u0007\u0007\u0000"+ - "\u0000\u0312\u0313\u0001\u0000\u0000\u0000\u0313\u0314\u0006\u0014\u0007"+ - "\u0000\u0314;\u0001\u0000\u0000\u0000\u0315\u0316\u0007\n\u0000\u0000"+ - "\u0316\u0317\u0007\u0005\u0000\u0000\u0317\u0318\u0007\u000e\u0000\u0000"+ - "\u0318\u0319\u0007\n\u0000\u0000\u0319\u031a\u0007\u0005\u0000\u0000\u031a"+ - "\u031b\u0007\u0007\u0000\u0000\u031b\u031c\u0001\u0000\u0000\u0000\u031c"+ - "\u031d\u0006\u0015\b\u0000\u031d=\u0001\u0000\u0000\u0000\u031e\u031f"+ - "\u0007\n\u0000\u0000\u031f\u0320\u0007\u0005\u0000\u0000\u0320\u0321\u0007"+ - "\u000e\u0000\u0000\u0321\u0322\u0007\n\u0000\u0000\u0322\u0323\u0007\u0005"+ - "\u0000\u0000\u0323\u0324\u0007\u0007\u0000\u0000\u0324\u0325\u0007\u0011"+ - "\u0000\u0000\u0325\u0326\u0007\u000b\u0000\u0000\u0326\u0327\u0007\u0004"+ - "\u0000\u0000\u0327\u0328\u0007\u000b\u0000\u0000\u0328\u0329\u0007\u0011"+ - "\u0000\u0000\u0329\u032a\u0001\u0000\u0000\u0000\u032a\u032b\u0006\u0016"+ - "\u0004\u0000\u032b?\u0001\u0000\u0000\u0000\u032c\u032d\u0007\u000e\u0000"+ - "\u0000\u032d\u032e\u0007\t\u0000\u0000\u032e\u032f\u0007\t\u0000\u0000"+ - "\u032f\u0330\u0007\u0013\u0000\u0000\u0330\u0331\u0007\u0016\u0000\u0000"+ - "\u0331\u0332\u0007\b\u0000\u0000\u0332\u0333\u0001\u0000\u0000\u0000\u0333"+ - "\u0334\u0006\u0017\t\u0000\u0334A\u0001\u0000\u0000\u0000\u0335\u0336"+ - "\u0004\u0018\u0002\u0000\u0336\u0337\u0007\u0015\u0000\u0000\u0337\u0338"+ - "\u0007\u0016\u0000\u0000\u0338\u0339\u0007\u000e\u0000\u0000\u0339\u033a"+ - "\u0007\u000e\u0000\u0000\u033a\u033b\u0001\u0000\u0000\u0000\u033b\u033c"+ - "\u0006\u0018\t\u0000\u033cC\u0001\u0000\u0000\u0000\u033d\u033e\u0004"+ - "\u0019\u0003\u0000\u033e\u033f\u0007\u000e\u0000\u0000\u033f\u0340\u0007"+ - "\u0007\u0000\u0000\u0340\u0341\u0007\u0015\u0000\u0000\u0341\u0342\u0007"+ - "\u000b\u0000\u0000\u0342\u0343\u0001\u0000\u0000\u0000\u0343\u0344\u0006"+ - "\u0019\t\u0000\u0344E\u0001\u0000\u0000\u0000\u0345\u0346\u0004\u001a"+ - "\u0004\u0000\u0346\u0347\u0007\f\u0000\u0000\u0347\u0348\u0007\n\u0000"+ - "\u0000\u0348\u0349\u0007\u0006\u0000\u0000\u0349\u034a\u0007\u0003\u0000"+ - "\u0000\u034a\u034b\u0007\u000b\u0000\u0000\u034b\u034c\u0001\u0000\u0000"+ - "\u0000\u034c\u034d\u0006\u001a\t\u0000\u034dG\u0001\u0000\u0000\u0000"+ - "\u034e\u034f\u0004\u001b\u0005\u0000\u034f\u0350\u0007\u000e\u0000\u0000"+ - "\u0350\u0351\u0007\t\u0000\u0000\u0351\u0352\u0007\t\u0000\u0000\u0352"+ - "\u0353\u0007\u0013\u0000\u0000\u0353\u0354\u0007\u0016\u0000\u0000\u0354"+ - "\u0355\u0007\b\u0000\u0000\u0355\u0356\u0005_\u0000\u0000\u0356\u0357"+ - "\u0005\u8001\uf414\u0000\u0000\u0357\u0358\u0001\u0000\u0000\u0000\u0358"+ - "\u0359\u0006\u001b\n\u0000\u0359I\u0001\u0000\u0000\u0000\u035a\u035b"+ - "\u0007\u000f\u0000\u0000\u035b\u035c\u0007\u0012\u0000\u0000\u035c\u035d"+ - "\u0005_\u0000\u0000\u035d\u035e\u0007\u0007\u0000\u0000\u035e\u035f\u0007"+ - "\r\u0000\u0000\u035f\u0360\u0007\b\u0000\u0000\u0360\u0361\u0007\u0004"+ - "\u0000\u0000\u0361\u0362\u0007\u0005\u0000\u0000\u0362\u0363\u0007\u0010"+ - "\u0000\u0000\u0363\u0364\u0001\u0000\u0000\u0000\u0364\u0365\u0006\u001c"+ - "\u000b\u0000\u0365K\u0001\u0000\u0000\u0000\u0366\u0367\u0007\u0010\u0000"+ - "\u0000\u0367\u0368\u0007\f\u0000\u0000\u0368\u0369\u0007\t\u0000\u0000"+ - "\u0369\u036a\u0007\b\u0000\u0000\u036a\u036b\u0001\u0000\u0000\u0000\u036b"+ - "\u036c\u0006\u001d\f\u0000\u036cM\u0001\u0000\u0000\u0000\u036d\u036e"+ - "\u0007\u0013\u0000\u0000\u036e\u036f\u0007\u0007\u0000\u0000\u036f\u0370"+ - "\u0007\u0007\u0000\u0000\u0370\u0371\u0007\b\u0000\u0000\u0371\u0372\u0001"+ - "\u0000\u0000\u0000\u0372\u0373\u0006\u001e\f\u0000\u0373O\u0001\u0000"+ - "\u0000\u0000\u0374\u0375\u0004\u001f\u0006\u0000\u0375\u0376\u0007\n\u0000"+ - "\u0000\u0376\u0377\u0007\u0005\u0000\u0000\u0377\u0378\u0007\u0011\u0000"+ - "\u0000\u0378\u0379\u0007\n\u0000\u0000\u0379\u037a\u0007\u0011\u0000\u0000"+ - "\u037a\u037b\u0007\u000b\u0000\u0000\u037b\u037c\u0005_\u0000\u0000\u037c"+ - "\u037d\u0005\u8001\uf414\u0000\u0000\u037d\u037e\u0001\u0000\u0000\u0000"+ - "\u037e\u037f\u0006\u001f\f\u0000\u037fQ\u0001\u0000\u0000\u0000\u0380"+ - "\u0381\u0007\f\u0000\u0000\u0381\u0382\u0007\u0007\u0000\u0000\u0382\u0383"+ - "\u0007\u0005\u0000\u0000\u0383\u0384\u0007\u0004\u0000\u0000\u0384\u0385"+ - "\u0007\u000f\u0000\u0000\u0385\u0386\u0007\u0007\u0000\u0000\u0386\u0387"+ - "\u0001\u0000\u0000\u0000\u0387\u0388\u0006 \r\u0000\u0388S\u0001\u0000"+ - "\u0000\u0000\u0389\u038a\u0007\u0011\u0000\u0000\u038a\u038b\u0007\u0007"+ - "\u0000\u0000\u038b\u038c\u0007\u000b\u0000\u0000\u038c\u038d\u0001\u0000"+ - "\u0000\u0000\u038d\u038e\u0006!\u000e\u0000\u038eU\u0001\u0000\u0000\u0000"+ - "\u038f\u0390\u0007\u0011\u0000\u0000\u0390\u0391\u0007\u0003\u0000\u0000"+ - "\u0391\u0392\u0007\t\u0000\u0000\u0392\u0393\u0007\u0014\u0000\u0000\u0393"+ - "\u0394\u0001\u0000\u0000\u0000\u0394\u0395\u0006\"\u000f\u0000\u0395W"+ - "\u0001\u0000\u0000\u0000\u0396\u0398\b\u0017\u0000\u0000\u0397\u0396\u0001"+ - "\u0000\u0000\u0000\u0398\u0399\u0001\u0000\u0000\u0000\u0399\u0397\u0001"+ - "\u0000\u0000\u0000\u0399\u039a\u0001\u0000\u0000\u0000\u039a\u039b\u0001"+ - "\u0000\u0000\u0000\u039b\u039c\u0006#\u0004\u0000\u039cY\u0001\u0000\u0000"+ - "\u0000\u039d\u039e\u0003\u00b6R\u0000\u039e\u039f\u0001\u0000\u0000\u0000"+ - "\u039f\u03a0\u0006$\u0010\u0000\u03a0\u03a1\u0006$\u0011\u0000\u03a1["+ - "\u0001\u0000\u0000\u0000\u03a2\u03a3\u0003\u012e\u008e\u0000\u03a3\u03a4"+ - "\u0001\u0000\u0000\u0000\u03a4\u03a5\u0006%\u0012\u0000\u03a5\u03a6\u0006"+ - "%\u0011\u0000\u03a6\u03a7\u0006%\u0011\u0000\u03a7]\u0001\u0000\u0000"+ - "\u0000\u03a8\u03a9\u0003\u00f8s\u0000\u03a9\u03aa\u0001\u0000\u0000\u0000"+ - "\u03aa\u03ab\u0006&\u0013\u0000\u03ab_\u0001\u0000\u0000\u0000\u03ac\u03ad"+ - "\u0003\u0214\u0101\u0000\u03ad\u03ae\u0001\u0000\u0000\u0000\u03ae\u03af"+ - "\u0006\'\u0014\u0000\u03afa\u0001\u0000\u0000\u0000\u03b0\u03b1\u0003"+ - "\u00e4i\u0000\u03b1\u03b2\u0001\u0000\u0000\u0000\u03b2\u03b3\u0006(\u0015"+ - "\u0000\u03b3c\u0001\u0000\u0000\u0000\u03b4\u03b5\u0003\u00e0g\u0000\u03b5"+ - "\u03b6\u0001\u0000\u0000\u0000\u03b6\u03b7\u0006)\u0016\u0000\u03b7e\u0001"+ - "\u0000\u0000\u0000\u03b8\u03b9\u0003\u0128\u008b\u0000\u03b9\u03ba\u0001"+ - "\u0000\u0000\u0000\u03ba\u03bb\u0006*\u0017\u0000\u03bbg\u0001\u0000\u0000"+ - "\u0000\u03bc\u03bd\u0003\u012a\u008c\u0000\u03bd\u03be\u0001\u0000\u0000"+ - "\u0000\u03be\u03bf\u0006+\u0018\u0000\u03bfi\u0001\u0000\u0000\u0000\u03c0"+ - "\u03c1\u0003\u0134\u0091\u0000\u03c1\u03c2\u0001\u0000\u0000\u0000\u03c2"+ - "\u03c3\u0006,\u0019\u0000\u03c3k\u0001\u0000\u0000\u0000\u03c4\u03c5\u0003"+ - "\u0130\u008f\u0000\u03c5\u03c6\u0001\u0000\u0000\u0000\u03c6\u03c7\u0006"+ - "-\u001a\u0000\u03c7m\u0001\u0000\u0000\u0000\u03c8\u03c9\u0003\u0012\u0000"+ - "\u0000\u03c9\u03ca\u0001\u0000\u0000\u0000\u03ca\u03cb\u0006.\u0000\u0000"+ - "\u03cbo\u0001\u0000\u0000\u0000\u03cc\u03cd\u0003\u0014\u0001\u0000\u03cd"+ - "\u03ce\u0001\u0000\u0000\u0000\u03ce\u03cf\u0006/\u0000\u0000\u03cfq\u0001"+ - "\u0000\u0000\u0000\u03d0\u03d1\u0003\u0016\u0002\u0000\u03d1\u03d2\u0001"+ - "\u0000\u0000\u0000\u03d2\u03d3\u00060\u0000\u0000\u03d3s\u0001\u0000\u0000"+ - "\u0000\u03d4\u03d5\u0003\u00b6R\u0000\u03d5\u03d6\u0001\u0000\u0000\u0000"+ - "\u03d6\u03d7\u00061\u0010\u0000\u03d7\u03d8\u00061\u0011\u0000\u03d8u"+ - "\u0001\u0000\u0000\u0000\u03d9\u03da\u0003\u012e\u008e\u0000\u03da\u03db"+ - "\u0001\u0000\u0000\u0000\u03db\u03dc\u00062\u0012\u0000\u03dc\u03dd\u0006"+ - "2\u0011\u0000\u03dd\u03de\u00062\u0011\u0000\u03dew\u0001\u0000\u0000"+ - "\u0000\u03df\u03e0\u0003\u00f8s\u0000\u03e0\u03e1\u0001\u0000\u0000\u0000"+ - "\u03e1\u03e2\u00063\u0013\u0000\u03e2\u03e3\u00063\u001b\u0000\u03e3y"+ - "\u0001\u0000\u0000\u0000\u03e4\u03e5\u0003\u0102x\u0000\u03e5\u03e6\u0001"+ - "\u0000\u0000\u0000\u03e6\u03e7\u00064\u001c\u0000\u03e7\u03e8\u00064\u001b"+ - "\u0000\u03e8{\u0001\u0000\u0000\u0000\u03e9\u03ea\b\u0018\u0000\u0000"+ - "\u03ea}\u0001\u0000\u0000\u0000\u03eb\u03ed\u0003|5\u0000\u03ec\u03eb"+ - "\u0001\u0000\u0000\u0000\u03ed\u03ee\u0001\u0000\u0000\u0000\u03ee\u03ec"+ - "\u0001\u0000\u0000\u0000\u03ee\u03ef\u0001\u0000\u0000\u0000\u03ef\u03f0"+ - "\u0001\u0000\u0000\u0000\u03f0\u03f1\u0003\u00dce\u0000\u03f1\u03f3\u0001"+ - "\u0000\u0000\u0000\u03f2\u03ec\u0001\u0000\u0000\u0000\u03f2\u03f3\u0001"+ - "\u0000\u0000\u0000\u03f3\u03f5\u0001\u0000\u0000\u0000\u03f4\u03f6\u0003"+ - "|5\u0000\u03f5\u03f4\u0001\u0000\u0000\u0000\u03f6\u03f7\u0001\u0000\u0000"+ - "\u0000\u03f7\u03f5\u0001\u0000\u0000\u0000\u03f7\u03f8\u0001\u0000\u0000"+ - "\u0000\u03f8\u007f\u0001\u0000\u0000\u0000\u03f9\u03fa\u0003~6\u0000\u03fa"+ - "\u03fb\u0001\u0000\u0000\u0000\u03fb\u03fc\u00067\u001d\u0000\u03fc\u0081"+ - "\u0001\u0000\u0000\u0000\u03fd\u03fe\u0003\u00cc]\u0000\u03fe\u03ff\u0001"+ - "\u0000\u0000\u0000\u03ff\u0400\u00068\u001e\u0000\u0400\u0083\u0001\u0000"+ - "\u0000\u0000\u0401\u0402\u0003\u0012\u0000\u0000\u0402\u0403\u0001\u0000"+ - "\u0000\u0000\u0403\u0404\u00069\u0000\u0000\u0404\u0085\u0001\u0000\u0000"+ - "\u0000\u0405\u0406\u0003\u0014\u0001\u0000\u0406\u0407\u0001\u0000\u0000"+ - "\u0000\u0407\u0408\u0006:\u0000\u0000\u0408\u0087\u0001\u0000\u0000\u0000"+ - "\u0409\u040a\u0003\u0016\u0002\u0000\u040a\u040b\u0001\u0000\u0000\u0000"+ - "\u040b\u040c\u0006;\u0000\u0000\u040c\u0089\u0001\u0000\u0000\u0000\u040d"+ - "\u040e\u0003\u00b6R\u0000\u040e\u040f\u0001\u0000\u0000\u0000\u040f\u0410"+ - "\u0006<\u0010\u0000\u0410\u0411\u0006<\u0011\u0000\u0411\u0412\u0006<"+ - "\u0011\u0000\u0412\u008b\u0001\u0000\u0000\u0000\u0413\u0414\u0003\u012e"+ - "\u008e\u0000\u0414\u0415\u0001\u0000\u0000\u0000\u0415\u0416\u0006=\u0012"+ - "\u0000\u0416\u0417\u0006=\u0011\u0000\u0417\u0418\u0006=\u0011\u0000\u0418"+ - "\u0419\u0006=\u0011\u0000\u0419\u008d\u0001\u0000\u0000\u0000\u041a\u041b"+ - "\u0003\u0128\u008b\u0000\u041b\u041c\u0001\u0000\u0000\u0000\u041c\u041d"+ - "\u0006>\u0017\u0000\u041d\u008f\u0001\u0000\u0000\u0000\u041e\u041f\u0003"+ - "\u012a\u008c\u0000\u041f\u0420\u0001\u0000\u0000\u0000\u0420\u0421\u0006"+ - "?\u0018\u0000\u0421\u0091\u0001\u0000\u0000\u0000\u0422\u0423\u0003\u00d6"+ - "b\u0000\u0423\u0424\u0001\u0000\u0000\u0000\u0424\u0425\u0006@\u001f\u0000"+ - "\u0425\u0093\u0001\u0000\u0000\u0000\u0426\u0427\u0003\u00e0g\u0000\u0427"+ - "\u0428\u0001\u0000\u0000\u0000\u0428\u0429\u0006A\u0016\u0000\u0429\u0095"+ - "\u0001\u0000\u0000\u0000\u042a\u042b\u0003\u00e4i\u0000\u042b\u042c\u0001"+ - "\u0000\u0000\u0000\u042c\u042d\u0006B\u0015\u0000\u042d\u0097\u0001\u0000"+ - "\u0000\u0000\u042e\u042f\u0003\u0102x\u0000\u042f\u0430\u0001\u0000\u0000"+ - "\u0000\u0430\u0431\u0006C\u001c\u0000\u0431\u0099\u0001\u0000\u0000\u0000"+ - "\u0432\u0433\u0003\u01f6\u00f2\u0000\u0433\u0434\u0001\u0000\u0000\u0000"+ - "\u0434\u0435\u0006D \u0000\u0435\u009b\u0001\u0000\u0000\u0000\u0436\u0437"+ - "\u0003\u0134\u0091\u0000\u0437\u0438\u0001\u0000\u0000\u0000\u0438\u0439"+ - "\u0006E\u0019\u0000\u0439\u009d\u0001\u0000\u0000\u0000\u043a\u043b\u0003"+ - "\u00fcu\u0000\u043b\u043c\u0001\u0000\u0000\u0000\u043c\u043d\u0006F!"+ - "\u0000\u043d\u009f\u0001\u0000\u0000\u0000\u043e\u043f\u0003\u0124\u0089"+ - "\u0000\u043f\u0440\u0001\u0000\u0000\u0000\u0440\u0441\u0006G\"\u0000"+ - "\u0441\u00a1\u0001\u0000\u0000\u0000\u0442\u0443\u0003\u0120\u0087\u0000"+ - "\u0443\u0444\u0001\u0000\u0000\u0000\u0444\u0445\u0006H#\u0000\u0445\u00a3"+ - "\u0001\u0000\u0000\u0000\u0446\u0447\u0003\u0126\u008a\u0000\u0447\u0448"+ - "\u0001\u0000\u0000\u0000\u0448\u0449\u0006I$\u0000\u0449\u00a5\u0001\u0000"+ - "\u0000\u0000\u044a\u044b\u0003\u0012\u0000\u0000\u044b\u044c\u0001\u0000"+ - "\u0000\u0000\u044c\u044d\u0006J\u0000\u0000\u044d\u00a7\u0001\u0000\u0000"+ - "\u0000\u044e\u044f\u0003\u0014\u0001\u0000\u044f\u0450\u0001\u0000\u0000"+ - "\u0000\u0450\u0451\u0006K\u0000\u0000\u0451\u00a9\u0001\u0000\u0000\u0000"+ - "\u0452\u0453\u0003\u0016\u0002\u0000\u0453\u0454\u0001\u0000\u0000\u0000"+ - "\u0454\u0455\u0006L\u0000\u0000\u0455\u00ab\u0001\u0000\u0000\u0000\u0456"+ - "\u0457\u0003\u012c\u008d\u0000\u0457\u0458\u0001\u0000\u0000\u0000\u0458"+ - "\u0459\u0006M%\u0000\u0459\u045a\u0006M&\u0000\u045a\u00ad\u0001\u0000"+ - "\u0000\u0000\u045b\u045c\u0003\u00b6R\u0000\u045c\u045d\u0001\u0000\u0000"+ - "\u0000\u045d\u045e\u0006N\u0010\u0000\u045e\u045f\u0006N\u0011\u0000\u045f"+ - "\u00af\u0001\u0000\u0000\u0000\u0460\u0461\u0003\u0016\u0002\u0000\u0461"+ - "\u0462\u0001\u0000\u0000\u0000\u0462\u0463\u0006O\u0000\u0000\u0463\u00b1"+ - "\u0001\u0000\u0000\u0000\u0464\u0465\u0003\u0012\u0000\u0000\u0465\u0466"+ - "\u0001\u0000\u0000\u0000\u0466\u0467\u0006P\u0000\u0000\u0467\u00b3\u0001"+ - "\u0000\u0000\u0000\u0468\u0469\u0003\u0014\u0001\u0000\u0469\u046a\u0001"+ - "\u0000\u0000\u0000\u046a\u046b\u0006Q\u0000\u0000\u046b\u00b5\u0001\u0000"+ - "\u0000\u0000\u046c\u046d\u0005|\u0000\u0000\u046d\u046e\u0001\u0000\u0000"+ - "\u0000\u046e\u046f\u0006R\u0011\u0000\u046f\u00b7\u0001\u0000\u0000\u0000"+ - "\u0470\u0471\u0007\u0019\u0000\u0000\u0471\u00b9\u0001\u0000\u0000\u0000"+ - "\u0472\u0473\u0007\u001a\u0000\u0000\u0473\u00bb\u0001\u0000\u0000\u0000"+ - "\u0474\u0475\u0005\\\u0000\u0000\u0475\u0476\u0007\u001b\u0000\u0000\u0476"+ - "\u00bd\u0001\u0000\u0000\u0000\u0477\u0478\b\u001c\u0000\u0000\u0478\u00bf"+ - "\u0001\u0000\u0000\u0000\u0479\u047b\u0007\u0007\u0000\u0000\u047a\u047c"+ - "\u0007\u001d\u0000\u0000\u047b\u047a\u0001\u0000\u0000\u0000\u047b\u047c"+ - "\u0001\u0000\u0000\u0000\u047c\u047e\u0001\u0000\u0000\u0000\u047d\u047f"+ - "\u0003\u00b8S\u0000\u047e\u047d\u0001\u0000\u0000\u0000\u047f\u0480\u0001"+ - "\u0000\u0000\u0000\u0480\u047e\u0001\u0000\u0000\u0000\u0480\u0481\u0001"+ - "\u0000\u0000\u0000\u0481\u00c1\u0001\u0000\u0000\u0000\u0482\u0483\u0005"+ - "@\u0000\u0000\u0483\u00c3\u0001\u0000\u0000\u0000\u0484\u0485\u0005`\u0000"+ - "\u0000\u0485\u00c5\u0001\u0000\u0000\u0000\u0486\u048a\b\u001e\u0000\u0000"+ - "\u0487\u0488\u0005`\u0000\u0000\u0488\u048a\u0005`\u0000\u0000\u0489\u0486"+ - "\u0001\u0000\u0000\u0000\u0489\u0487\u0001\u0000\u0000\u0000\u048a\u00c7"+ - "\u0001\u0000\u0000\u0000\u048b\u048c\u0005_\u0000\u0000\u048c\u00c9\u0001"+ - "\u0000\u0000\u0000\u048d\u0491\u0003\u00baT\u0000\u048e\u0491\u0003\u00b8"+ - "S\u0000\u048f\u0491\u0003\u00c8[\u0000\u0490\u048d\u0001\u0000\u0000\u0000"+ - "\u0490\u048e\u0001\u0000\u0000\u0000\u0490\u048f\u0001\u0000\u0000\u0000"+ - "\u0491\u00cb\u0001\u0000\u0000\u0000\u0492\u0497\u0005\"\u0000\u0000\u0493"+ - "\u0496\u0003\u00bcU\u0000\u0494\u0496\u0003\u00beV\u0000\u0495\u0493\u0001"+ - "\u0000\u0000\u0000\u0495\u0494\u0001\u0000\u0000\u0000\u0496\u0499\u0001"+ - "\u0000\u0000\u0000\u0497\u0495\u0001\u0000\u0000\u0000\u0497\u0498\u0001"+ - "\u0000\u0000\u0000\u0498\u049a\u0001\u0000\u0000\u0000\u0499\u0497\u0001"+ - "\u0000\u0000\u0000\u049a\u04b0\u0005\"\u0000\u0000\u049b\u049c\u0005\""+ - "\u0000\u0000\u049c\u049d\u0005\"\u0000\u0000\u049d\u049e\u0005\"\u0000"+ - "\u0000\u049e\u04a2\u0001\u0000\u0000\u0000\u049f\u04a1\b\u0000\u0000\u0000"+ - "\u04a0\u049f\u0001\u0000\u0000\u0000\u04a1\u04a4\u0001\u0000\u0000\u0000"+ - "\u04a2\u04a3\u0001\u0000\u0000\u0000\u04a2\u04a0\u0001\u0000\u0000\u0000"+ - "\u04a3\u04a5\u0001\u0000\u0000\u0000\u04a4\u04a2\u0001\u0000\u0000\u0000"+ - "\u04a5\u04a6\u0005\"\u0000\u0000\u04a6\u04a7\u0005\"\u0000\u0000\u04a7"+ - "\u04a8\u0005\"\u0000\u0000\u04a8\u04aa\u0001\u0000\u0000\u0000\u04a9\u04ab"+ - "\u0005\"\u0000\u0000\u04aa\u04a9\u0001\u0000\u0000\u0000\u04aa\u04ab\u0001"+ - "\u0000\u0000\u0000\u04ab\u04ad\u0001\u0000\u0000\u0000\u04ac\u04ae\u0005"+ - "\"\u0000\u0000\u04ad\u04ac\u0001\u0000\u0000\u0000\u04ad\u04ae\u0001\u0000"+ - "\u0000\u0000\u04ae\u04b0\u0001\u0000\u0000\u0000\u04af\u0492\u0001\u0000"+ - "\u0000\u0000\u04af\u049b\u0001\u0000\u0000\u0000\u04b0\u00cd\u0001\u0000"+ - "\u0000\u0000\u04b1\u04b3\u0003\u00b8S\u0000\u04b2\u04b1\u0001\u0000\u0000"+ - "\u0000\u04b3\u04b4\u0001\u0000\u0000\u0000\u04b4\u04b2\u0001\u0000\u0000"+ - "\u0000\u04b4\u04b5\u0001\u0000\u0000\u0000\u04b5\u00cf\u0001\u0000\u0000"+ - "\u0000\u04b6\u04b8\u0003\u00b8S\u0000\u04b7\u04b6\u0001\u0000\u0000\u0000"+ - "\u04b8\u04b9\u0001\u0000\u0000\u0000\u04b9\u04b7\u0001\u0000\u0000\u0000"+ - "\u04b9\u04ba\u0001\u0000\u0000\u0000\u04ba\u04bb\u0001\u0000\u0000\u0000"+ - "\u04bb\u04bf\u0003\u00e4i\u0000\u04bc\u04be\u0003\u00b8S\u0000\u04bd\u04bc"+ - "\u0001\u0000\u0000\u0000\u04be\u04c1\u0001\u0000\u0000\u0000\u04bf\u04bd"+ - "\u0001\u0000\u0000\u0000\u04bf\u04c0\u0001\u0000\u0000\u0000\u04c0\u04e1"+ - "\u0001\u0000\u0000\u0000\u04c1\u04bf\u0001\u0000\u0000\u0000\u04c2\u04c4"+ - "\u0003\u00e4i\u0000\u04c3\u04c5\u0003\u00b8S\u0000\u04c4\u04c3\u0001\u0000"+ - "\u0000\u0000\u04c5\u04c6\u0001\u0000\u0000\u0000\u04c6\u04c4\u0001\u0000"+ - "\u0000\u0000\u04c6\u04c7\u0001\u0000\u0000\u0000\u04c7\u04e1\u0001\u0000"+ - "\u0000\u0000\u04c8\u04ca\u0003\u00b8S\u0000\u04c9\u04c8\u0001\u0000\u0000"+ - "\u0000\u04ca\u04cb\u0001\u0000\u0000\u0000\u04cb\u04c9\u0001\u0000\u0000"+ - "\u0000\u04cb\u04cc\u0001\u0000\u0000\u0000\u04cc\u04d4\u0001\u0000\u0000"+ - "\u0000\u04cd\u04d1\u0003\u00e4i\u0000\u04ce\u04d0\u0003\u00b8S\u0000\u04cf"+ - "\u04ce\u0001\u0000\u0000\u0000\u04d0\u04d3\u0001\u0000\u0000\u0000\u04d1"+ - "\u04cf\u0001\u0000\u0000\u0000\u04d1\u04d2\u0001\u0000\u0000\u0000\u04d2"+ - "\u04d5\u0001\u0000\u0000\u0000\u04d3\u04d1\u0001\u0000\u0000\u0000\u04d4"+ - "\u04cd\u0001\u0000\u0000\u0000\u04d4\u04d5\u0001\u0000\u0000\u0000\u04d5"+ - "\u04d6\u0001\u0000\u0000\u0000\u04d6\u04d7\u0003\u00c0W\u0000\u04d7\u04e1"+ - "\u0001\u0000\u0000\u0000\u04d8\u04da\u0003\u00e4i\u0000\u04d9\u04db\u0003"+ - "\u00b8S\u0000\u04da\u04d9\u0001\u0000\u0000\u0000\u04db\u04dc\u0001\u0000"+ - "\u0000\u0000\u04dc\u04da\u0001\u0000\u0000\u0000\u04dc\u04dd\u0001\u0000"+ - "\u0000\u0000\u04dd\u04de\u0001\u0000\u0000\u0000\u04de\u04df\u0003\u00c0"+ - "W\u0000\u04df\u04e1\u0001\u0000\u0000\u0000\u04e0\u04b7\u0001\u0000\u0000"+ - "\u0000\u04e0\u04c2\u0001\u0000\u0000\u0000\u04e0\u04c9\u0001\u0000\u0000"+ - "\u0000\u04e0\u04d8\u0001\u0000\u0000\u0000\u04e1\u00d1\u0001\u0000\u0000"+ - "\u0000\u04e2\u04e3\u0007\u0004\u0000\u0000\u04e3\u04e4\u0007\u0005\u0000"+ - "\u0000\u04e4\u04e5\u0007\u0010\u0000\u0000\u04e5\u00d3\u0001\u0000\u0000"+ - "\u0000\u04e6\u04e7\u0007\u0004\u0000\u0000\u04e7\u04e8\u0007\u0011\u0000"+ - "\u0000\u04e8\u04e9\u0007\u0002\u0000\u0000\u04e9\u00d5\u0001\u0000\u0000"+ - "\u0000\u04ea\u04eb\u0005=\u0000\u0000\u04eb\u00d7\u0001\u0000\u0000\u0000"+ - "\u04ec\u04ed\u0007\u001f\u0000\u0000\u04ed\u04ee\u0007 \u0000\u0000\u04ee"+ - "\u00d9\u0001\u0000\u0000\u0000\u04ef\u04f0\u0005:\u0000\u0000\u04f0\u04f1"+ - "\u0005:\u0000\u0000\u04f1\u00db\u0001\u0000\u0000\u0000\u04f2\u04f3\u0005"+ - ":\u0000\u0000\u04f3\u00dd\u0001\u0000\u0000\u0000\u04f4\u04f5\u0005;\u0000"+ - "\u0000\u04f5\u00df\u0001\u0000\u0000\u0000\u04f6\u04f7\u0005,\u0000\u0000"+ - "\u04f7\u00e1\u0001\u0000\u0000\u0000\u04f8\u04f9\u0007\u0010\u0000\u0000"+ - "\u04f9\u04fa\u0007\u0007\u0000\u0000\u04fa\u04fb\u0007\u0011\u0000\u0000"+ - "\u04fb\u04fc\u0007\u0002\u0000\u0000\u04fc\u00e3\u0001\u0000\u0000\u0000"+ - "\u04fd\u04fe\u0005.\u0000\u0000\u04fe\u00e5\u0001\u0000\u0000\u0000\u04ff"+ - "\u0500\u0007\u0015\u0000\u0000\u0500\u0501\u0007\u0004\u0000\u0000\u0501"+ - "\u0502\u0007\u000e\u0000\u0000\u0502\u0503\u0007\u0011\u0000\u0000\u0503"+ - "\u0504\u0007\u0007\u0000\u0000\u0504\u00e7\u0001\u0000\u0000\u0000\u0505"+ - "\u0506\u0007\u0015\u0000\u0000\u0506\u0507\u0007\n\u0000\u0000\u0507\u0508"+ - "\u0007\f\u0000\u0000\u0508\u0509\u0007\u0011\u0000\u0000\u0509\u050a\u0007"+ - "\u000b\u0000\u0000\u050a\u00e9\u0001\u0000\u0000\u0000\u050b\u050c\u0007"+ - "\n\u0000\u0000\u050c\u050d\u0007\u0005\u0000\u0000\u050d\u00eb\u0001\u0000"+ - "\u0000\u0000\u050e\u050f\u0007\n\u0000\u0000\u050f\u0510\u0007\u0011\u0000"+ - "\u0000\u0510\u00ed\u0001\u0000\u0000\u0000\u0511\u0512\u0007\u000e\u0000"+ - "\u0000\u0512\u0513\u0007\u0004\u0000\u0000\u0513\u0514\u0007\u0011\u0000"+ - "\u0000\u0514\u0515\u0007\u000b\u0000\u0000\u0515\u00ef\u0001\u0000\u0000"+ - "\u0000\u0516\u0517\u0007\u000e\u0000\u0000\u0517\u0518\u0007\n\u0000\u0000"+ - "\u0518\u0519\u0007\u0013\u0000\u0000\u0519\u051a\u0007\u0007\u0000\u0000"+ - "\u051a\u00f1\u0001\u0000\u0000\u0000\u051b\u051c\u0007\u0005\u0000\u0000"+ - "\u051c\u051d\u0007\t\u0000\u0000\u051d\u051e\u0007\u000b\u0000\u0000\u051e"+ - "\u00f3\u0001\u0000\u0000\u0000\u051f\u0520\u0007\u0005\u0000\u0000\u0520"+ - "\u0521\u0007\u0016\u0000\u0000\u0521\u0522\u0007\u000e\u0000\u0000\u0522"+ - "\u0523\u0007\u000e\u0000\u0000\u0523\u00f5\u0001\u0000\u0000\u0000\u0524"+ - "\u0525\u0007\u0005\u0000\u0000\u0525\u0526\u0007\u0016\u0000\u0000\u0526"+ - "\u0527\u0007\u000e\u0000\u0000\u0527\u0528\u0007\u000e\u0000\u0000\u0528"+ - "\u0529\u0007\u0011\u0000\u0000\u0529\u00f7\u0001\u0000\u0000\u0000\u052a"+ - "\u052b\u0007\t\u0000\u0000\u052b\u052c\u0007\u0005\u0000\u0000\u052c\u00f9"+ - "\u0001\u0000\u0000\u0000\u052d\u052e\u0007\t\u0000\u0000\u052e\u052f\u0007"+ - "\f\u0000\u0000\u052f\u00fb\u0001\u0000\u0000\u0000\u0530\u0531\u0005?"+ - "\u0000\u0000\u0531\u00fd\u0001\u0000\u0000\u0000\u0532\u0533\u0007\f\u0000"+ - "\u0000\u0533\u0534\u0007\u000e\u0000\u0000\u0534\u0535\u0007\n\u0000\u0000"+ - "\u0535\u0536\u0007\u0013\u0000\u0000\u0536\u0537\u0007\u0007\u0000\u0000"+ - "\u0537\u00ff\u0001\u0000\u0000\u0000\u0538\u0539\u0007\u000b\u0000\u0000"+ - "\u0539\u053a\u0007\f\u0000\u0000\u053a\u053b\u0007\u0016\u0000\u0000\u053b"+ - "\u053c\u0007\u0007\u0000\u0000\u053c\u0101\u0001\u0000\u0000\u0000\u053d"+ - "\u053e\u0007\u0014\u0000\u0000\u053e\u053f\u0007\n\u0000\u0000\u053f\u0540"+ - "\u0007\u000b\u0000\u0000\u0540\u0541\u0007\u0003\u0000\u0000\u0541\u0103"+ - "\u0001\u0000\u0000\u0000\u0542\u0543\u0005=\u0000\u0000\u0543\u0544\u0005"+ - "=\u0000\u0000\u0544\u0105\u0001\u0000\u0000\u0000\u0545\u0546\u0005=\u0000"+ - "\u0000\u0546\u0547\u0005~\u0000\u0000\u0547\u0107\u0001\u0000\u0000\u0000"+ - "\u0548\u0549\u0005!\u0000\u0000\u0549\u054a\u0005=\u0000\u0000\u054a\u0109"+ - "\u0001\u0000\u0000\u0000\u054b\u054c\u0005<\u0000\u0000\u054c\u010b\u0001"+ - "\u0000\u0000\u0000\u054d\u054e\u0005<\u0000\u0000\u054e\u054f\u0005=\u0000"+ - "\u0000\u054f\u010d\u0001\u0000\u0000\u0000\u0550\u0551\u0005>\u0000\u0000"+ - "\u0551\u010f\u0001\u0000\u0000\u0000\u0552\u0553\u0005>\u0000\u0000\u0553"+ - "\u0554\u0005=\u0000\u0000\u0554\u0111\u0001\u0000\u0000\u0000\u0555\u0556"+ - "\u0005+\u0000\u0000\u0556\u0113\u0001\u0000\u0000\u0000\u0557\u0558\u0005"+ - "-\u0000\u0000\u0558\u0115\u0001\u0000\u0000\u0000\u0559\u055a\u0005*\u0000"+ - "\u0000\u055a\u0117\u0001\u0000\u0000\u0000\u055b\u055c\u0005/\u0000\u0000"+ - "\u055c\u0119\u0001\u0000\u0000\u0000\u055d\u055e\u0005%\u0000\u0000\u055e"+ - "\u011b\u0001\u0000\u0000\u0000\u055f\u0560\u0005{\u0000\u0000\u0560\u011d"+ - "\u0001\u0000\u0000\u0000\u0561\u0562\u0005}\u0000\u0000\u0562\u011f\u0001"+ - "\u0000\u0000\u0000\u0563\u0564\u0005?\u0000\u0000\u0564\u0565\u0005?\u0000"+ - "\u0000\u0565\u0121\u0001\u0000\u0000\u0000\u0566\u0567\u00032\u0010\u0000"+ - "\u0567\u0568\u0001\u0000\u0000\u0000\u0568\u0569\u0006\u0088\'\u0000\u0569"+ - "\u0123\u0001\u0000\u0000\u0000\u056a\u056d\u0003\u00fcu\u0000\u056b\u056e"+ - "\u0003\u00baT\u0000\u056c\u056e\u0003\u00c8[\u0000\u056d\u056b\u0001\u0000"+ - "\u0000\u0000\u056d\u056c\u0001\u0000\u0000\u0000\u056e\u0572\u0001\u0000"+ - "\u0000\u0000\u056f\u0571\u0003\u00ca\\\u0000\u0570\u056f\u0001\u0000\u0000"+ - "\u0000\u0571\u0574\u0001\u0000\u0000\u0000\u0572\u0570\u0001\u0000\u0000"+ - "\u0000\u0572\u0573\u0001\u0000\u0000\u0000\u0573\u057c\u0001\u0000\u0000"+ - "\u0000\u0574\u0572\u0001\u0000\u0000\u0000\u0575\u0577\u0003\u00fcu\u0000"+ - "\u0576\u0578\u0003\u00b8S\u0000\u0577\u0576\u0001\u0000\u0000\u0000\u0578"+ - "\u0579\u0001\u0000\u0000\u0000\u0579\u0577\u0001\u0000\u0000\u0000\u0579"+ - "\u057a\u0001\u0000\u0000\u0000\u057a\u057c\u0001\u0000\u0000\u0000\u057b"+ - "\u056a\u0001\u0000\u0000\u0000\u057b\u0575\u0001\u0000\u0000\u0000\u057c"+ - "\u0125\u0001\u0000\u0000\u0000\u057d\u0580\u0003\u0120\u0087\u0000\u057e"+ - "\u0581\u0003\u00baT\u0000\u057f\u0581\u0003\u00c8[\u0000\u0580\u057e\u0001"+ - "\u0000\u0000\u0000\u0580\u057f\u0001\u0000\u0000\u0000\u0581\u0585\u0001"+ - "\u0000\u0000\u0000\u0582\u0584\u0003\u00ca\\\u0000\u0583\u0582\u0001\u0000"+ - "\u0000\u0000\u0584\u0587\u0001\u0000\u0000\u0000\u0585\u0583\u0001\u0000"+ - "\u0000\u0000\u0585\u0586\u0001\u0000\u0000\u0000\u0586\u058f\u0001\u0000"+ - "\u0000\u0000\u0587\u0585\u0001\u0000\u0000\u0000\u0588\u058a\u0003\u0120"+ - "\u0087\u0000\u0589\u058b\u0003\u00b8S\u0000\u058a\u0589\u0001\u0000\u0000"+ - "\u0000\u058b\u058c\u0001\u0000\u0000\u0000\u058c\u058a\u0001\u0000\u0000"+ - "\u0000\u058c\u058d\u0001\u0000\u0000\u0000\u058d\u058f\u0001\u0000\u0000"+ - "\u0000\u058e\u057d\u0001\u0000\u0000\u0000\u058e\u0588\u0001\u0000\u0000"+ - "\u0000\u058f\u0127\u0001\u0000\u0000\u0000\u0590\u0591\u0005[\u0000\u0000"+ - "\u0591\u0592\u0001\u0000\u0000\u0000\u0592\u0593\u0006\u008b\u0004\u0000"+ - "\u0593\u0594\u0006\u008b\u0004\u0000\u0594\u0129\u0001\u0000\u0000\u0000"+ - "\u0595\u0596\u0005]\u0000\u0000\u0596\u0597\u0001\u0000\u0000\u0000\u0597"+ - "\u0598\u0006\u008c\u0011\u0000\u0598\u0599\u0006\u008c\u0011\u0000\u0599"+ - "\u012b\u0001\u0000\u0000\u0000\u059a\u059b\u0005(\u0000\u0000\u059b\u059c"+ - "\u0001\u0000\u0000\u0000\u059c\u059d\u0006\u008d\u0004\u0000\u059d\u059e"+ - "\u0006\u008d\u0004\u0000\u059e\u012d\u0001\u0000\u0000\u0000\u059f\u05a0"+ - "\u0005)\u0000\u0000\u05a0\u05a1\u0001\u0000\u0000\u0000\u05a1\u05a2\u0006"+ - "\u008e\u0011\u0000\u05a2\u05a3\u0006\u008e\u0011\u0000\u05a3\u012f\u0001"+ - "\u0000\u0000\u0000\u05a4\u05a8\u0003\u00baT\u0000\u05a5\u05a7\u0003\u00ca"+ - "\\\u0000\u05a6\u05a5\u0001\u0000\u0000\u0000\u05a7\u05aa\u0001\u0000\u0000"+ - "\u0000\u05a8\u05a6\u0001\u0000\u0000\u0000\u05a8\u05a9\u0001\u0000\u0000"+ - "\u0000\u05a9\u05b5\u0001\u0000\u0000\u0000\u05aa\u05a8\u0001\u0000\u0000"+ - "\u0000\u05ab\u05ae\u0003\u00c8[\u0000\u05ac\u05ae\u0003\u00c2X\u0000\u05ad"+ - "\u05ab\u0001\u0000\u0000\u0000\u05ad\u05ac\u0001\u0000\u0000\u0000\u05ae"+ - "\u05b0\u0001\u0000\u0000\u0000\u05af\u05b1\u0003\u00ca\\\u0000\u05b0\u05af"+ - "\u0001\u0000\u0000\u0000\u05b1\u05b2\u0001\u0000\u0000\u0000\u05b2\u05b0"+ - "\u0001\u0000\u0000\u0000\u05b2\u05b3\u0001\u0000\u0000\u0000\u05b3\u05b5"+ - "\u0001\u0000\u0000\u0000\u05b4\u05a4\u0001\u0000\u0000\u0000\u05b4\u05ad"+ - "\u0001\u0000\u0000\u0000\u05b5\u0131\u0001\u0000\u0000\u0000\u05b6\u05b8"+ - "\u0003\u00c4Y\u0000\u05b7\u05b9\u0003\u00c6Z\u0000\u05b8\u05b7\u0001\u0000"+ - "\u0000\u0000\u05b9\u05ba\u0001\u0000\u0000\u0000\u05ba\u05b8\u0001\u0000"+ - "\u0000\u0000\u05ba\u05bb\u0001\u0000\u0000\u0000\u05bb\u05bc\u0001\u0000"+ - "\u0000\u0000\u05bc\u05bd\u0003\u00c4Y\u0000\u05bd\u0133\u0001\u0000\u0000"+ - "\u0000\u05be\u05bf\u0003\u0132\u0090\u0000\u05bf\u0135\u0001\u0000\u0000"+ - "\u0000\u05c0\u05c1\u0003\u0012\u0000\u0000\u05c1\u05c2\u0001\u0000\u0000"+ - "\u0000\u05c2\u05c3\u0006\u0092\u0000\u0000\u05c3\u0137\u0001\u0000\u0000"+ - "\u0000\u05c4\u05c5\u0003\u0014\u0001\u0000\u05c5\u05c6\u0001\u0000\u0000"+ - "\u0000\u05c6\u05c7\u0006\u0093\u0000\u0000\u05c7\u0139\u0001\u0000\u0000"+ - "\u0000\u05c8\u05c9\u0003\u0016\u0002\u0000\u05c9\u05ca\u0001\u0000\u0000"+ - "\u0000\u05ca\u05cb\u0006\u0094\u0000\u0000\u05cb\u013b\u0001\u0000\u0000"+ - "\u0000\u05cc\u05cd\u0003\u00b6R\u0000\u05cd\u05ce\u0001\u0000\u0000\u0000"+ - "\u05ce\u05cf\u0006\u0095\u0010\u0000\u05cf\u05d0\u0006\u0095\u0011\u0000"+ - "\u05d0\u013d\u0001\u0000\u0000\u0000\u05d1\u05d2\u0003\u00dce\u0000\u05d2"+ - "\u05d3\u0001\u0000\u0000\u0000\u05d3\u05d4\u0006\u0096(\u0000\u05d4\u013f"+ - "\u0001\u0000\u0000\u0000\u05d5\u05d6\u0003\u00dad\u0000\u05d6\u05d7\u0001"+ - "\u0000\u0000\u0000\u05d7\u05d8\u0006\u0097)\u0000\u05d8\u0141\u0001\u0000"+ - "\u0000\u0000\u05d9\u05da\u0003\u00e0g\u0000\u05da\u05db\u0001\u0000\u0000"+ - "\u0000\u05db\u05dc\u0006\u0098\u0016\u0000\u05dc\u0143\u0001\u0000\u0000"+ - "\u0000\u05dd\u05de\u0003\u00d6b\u0000\u05de\u05df\u0001\u0000\u0000\u0000"+ - "\u05df\u05e0\u0006\u0099\u001f\u0000\u05e0\u0145\u0001\u0000\u0000\u0000"+ - "\u05e1\u05e2\u0007\u000f\u0000\u0000\u05e2\u05e3\u0007\u0007\u0000\u0000"+ - "\u05e3\u05e4\u0007\u000b\u0000\u0000\u05e4\u05e5\u0007\u0004\u0000\u0000"+ - "\u05e5\u05e6\u0007\u0010\u0000\u0000\u05e6\u05e7\u0007\u0004\u0000\u0000"+ - "\u05e7\u05e8\u0007\u000b\u0000\u0000\u05e8\u05e9\u0007\u0004\u0000\u0000"+ - "\u05e9\u0147\u0001\u0000\u0000\u0000\u05ea\u05eb\u0003\u012e\u008e\u0000"+ - "\u05eb\u05ec\u0001\u0000\u0000\u0000\u05ec\u05ed\u0006\u009b\u0012\u0000"+ - "\u05ed\u05ee\u0006\u009b\u0011\u0000\u05ee\u0149\u0001\u0000\u0000\u0000"+ - "\u05ef\u05f3\b!\u0000\u0000\u05f0\u05f1\u0005/\u0000\u0000\u05f1\u05f3"+ - "\b\"\u0000\u0000\u05f2\u05ef\u0001\u0000\u0000\u0000\u05f2\u05f0\u0001"+ - "\u0000\u0000\u0000\u05f3\u014b\u0001\u0000\u0000\u0000\u05f4\u05f6\u0003"+ - "\u014a\u009c\u0000\u05f5\u05f4\u0001\u0000\u0000\u0000\u05f6\u05f7\u0001"+ - "\u0000\u0000\u0000\u05f7\u05f5\u0001\u0000\u0000\u0000\u05f7\u05f8\u0001"+ - "\u0000\u0000\u0000\u05f8\u014d\u0001\u0000\u0000\u0000\u05f9\u05fa\u0003"+ - "\u014c\u009d\u0000\u05fa\u05fb\u0001\u0000\u0000\u0000\u05fb\u05fc\u0006"+ - "\u009e*\u0000\u05fc\u014f\u0001\u0000\u0000\u0000\u05fd\u05fe\u0003\u00cc"+ - "]\u0000\u05fe\u05ff\u0001\u0000\u0000\u0000\u05ff\u0600\u0006\u009f\u001e"+ - "\u0000\u0600\u0151\u0001\u0000\u0000\u0000\u0601\u0602\u0003\u0012\u0000"+ - "\u0000\u0602\u0603\u0001\u0000\u0000\u0000\u0603\u0604\u0006\u00a0\u0000"+ - "\u0000\u0604\u0153\u0001\u0000\u0000\u0000\u0605\u0606\u0003\u0014\u0001"+ - "\u0000\u0606\u0607\u0001\u0000\u0000\u0000\u0607\u0608\u0006\u00a1\u0000"+ - "\u0000\u0608\u0155\u0001\u0000\u0000\u0000\u0609\u060a\u0003\u0016\u0002"+ - "\u0000\u060a\u060b\u0001\u0000\u0000\u0000\u060b\u060c\u0006\u00a2\u0000"+ - "\u0000\u060c\u0157\u0001\u0000\u0000\u0000\u060d\u060e\u0003\u012c\u008d"+ - "\u0000\u060e\u060f\u0001\u0000\u0000\u0000\u060f\u0610\u0006\u00a3%\u0000"+ - "\u0610\u0611\u0006\u00a3&\u0000\u0611\u0159\u0001\u0000\u0000\u0000\u0612"+ - "\u0613\u0003\u012e\u008e\u0000\u0613\u0614\u0001\u0000\u0000\u0000\u0614"+ - "\u0615\u0006\u00a4\u0012\u0000\u0615\u0616\u0006\u00a4\u0011\u0000\u0616"+ - "\u0617\u0006\u00a4\u0011\u0000\u0617\u015b\u0001\u0000\u0000\u0000\u0618"+ - "\u0619\u0003\u00b6R\u0000\u0619\u061a\u0001\u0000\u0000\u0000\u061a\u061b"+ - "\u0006\u00a5\u0010\u0000\u061b\u061c\u0006\u00a5\u0011\u0000\u061c\u015d"+ - "\u0001\u0000\u0000\u0000\u061d\u061e\u0003\u0016\u0002\u0000\u061e\u061f"+ - "\u0001\u0000\u0000\u0000\u061f\u0620\u0006\u00a6\u0000\u0000\u0620\u015f"+ - "\u0001\u0000\u0000\u0000\u0621\u0622\u0003\u0012\u0000\u0000\u0622\u0623"+ - "\u0001\u0000\u0000\u0000\u0623\u0624\u0006\u00a7\u0000\u0000\u0624\u0161"+ - "\u0001\u0000\u0000\u0000\u0625\u0626\u0003\u0014\u0001\u0000\u0626\u0627"+ - "\u0001\u0000\u0000\u0000\u0627\u0628\u0006\u00a8\u0000\u0000\u0628\u0163"+ - "\u0001\u0000\u0000\u0000\u0629\u062a\u0003\u00b6R\u0000\u062a\u062b\u0001"+ - "\u0000\u0000\u0000\u062b\u062c\u0006\u00a9\u0010\u0000\u062c\u062d\u0006"+ - "\u00a9\u0011\u0000\u062d\u0165\u0001\u0000\u0000\u0000\u062e\u062f\u0003"+ - "\u012e\u008e\u0000\u062f\u0630\u0001\u0000\u0000\u0000\u0630\u0631\u0006"+ - "\u00aa\u0012\u0000\u0631\u0632\u0006\u00aa\u0011\u0000\u0632\u0633\u0006"+ - "\u00aa\u0011\u0000\u0633\u0167\u0001\u0000\u0000\u0000\u0634\u0635\u0007"+ - "\u0006\u0000\u0000\u0635\u0636\u0007\f\u0000\u0000\u0636\u0637\u0007\t"+ - "\u0000\u0000\u0637\u0638\u0007\u0016\u0000\u0000\u0638\u0639\u0007\b\u0000"+ - "\u0000\u0639\u0169\u0001\u0000\u0000\u0000\u063a\u063b\u0007\u0011\u0000"+ - "\u0000\u063b\u063c\u0007\u0002\u0000\u0000\u063c\u063d\u0007\t\u0000\u0000"+ - "\u063d\u063e\u0007\f\u0000\u0000\u063e\u063f\u0007\u0007\u0000\u0000\u063f"+ - "\u016b\u0001\u0000\u0000\u0000\u0640\u0641\u0007\u0013\u0000\u0000\u0641"+ - "\u0642\u0007\u0007\u0000\u0000\u0642\u0643\u0007 \u0000\u0000\u0643\u016d"+ - "\u0001\u0000\u0000\u0000\u0644\u0645\u0003\u0102x\u0000\u0645\u0646\u0001"+ - "\u0000\u0000\u0000\u0646\u0647\u0006\u00ae\u001c\u0000\u0647\u0648\u0006"+ - "\u00ae\u0011\u0000\u0648\u0649\u0006\u00ae\u0004\u0000\u0649\u016f\u0001"+ - "\u0000\u0000\u0000\u064a\u064b\u0003\u00e0g\u0000\u064b\u064c\u0001\u0000"+ - "\u0000\u0000\u064c\u064d\u0006\u00af\u0016\u0000\u064d\u0171\u0001\u0000"+ - "\u0000\u0000\u064e\u064f\u0003\u00d8c\u0000\u064f\u0650\u0001\u0000\u0000"+ - "\u0000\u0650\u0651\u0006\u00b0+\u0000\u0651\u0173\u0001\u0000\u0000\u0000"+ - "\u0652\u0653\u0003\u0134\u0091\u0000\u0653\u0654\u0001\u0000\u0000\u0000"+ - "\u0654\u0655\u0006\u00b1\u0019\u0000\u0655\u0175\u0001\u0000\u0000\u0000"+ - "\u0656\u0657\u0003\u0130\u008f\u0000\u0657\u0658\u0001\u0000\u0000\u0000"+ - "\u0658\u0659\u0006\u00b2\u001a\u0000\u0659\u0177\u0001\u0000\u0000\u0000"+ - "\u065a\u065b\u0003\u0012\u0000\u0000\u065b\u065c\u0001\u0000\u0000\u0000"+ - "\u065c\u065d\u0006\u00b3\u0000\u0000\u065d\u0179\u0001\u0000\u0000\u0000"+ - "\u065e\u065f\u0003\u0014\u0001\u0000\u065f\u0660\u0001\u0000\u0000\u0000"+ - "\u0660\u0661\u0006\u00b4\u0000\u0000\u0661\u017b\u0001\u0000\u0000\u0000"+ - "\u0662\u0663\u0003\u0016\u0002\u0000\u0663\u0664\u0001\u0000\u0000\u0000"+ - "\u0664\u0665\u0006\u00b5\u0000\u0000\u0665\u017d\u0001\u0000\u0000\u0000"+ - "\u0666\u0667\u0007\u0011\u0000\u0000\u0667\u0668\u0007\u000b\u0000\u0000"+ - "\u0668\u0669\u0007\u0004\u0000\u0000\u0669\u066a\u0007\u000b\u0000\u0000"+ - "\u066a\u066b\u0007\u0011\u0000\u0000\u066b\u066c\u0001\u0000\u0000\u0000"+ - "\u066c\u066d\u0006\u00b6\u0011\u0000\u066d\u066e\u0006\u00b6\u0004\u0000"+ - "\u066e\u017f\u0001\u0000\u0000\u0000\u066f\u0670\u0003\u0012\u0000\u0000"+ - "\u0670\u0671\u0001\u0000\u0000\u0000\u0671\u0672\u0006\u00b7\u0000\u0000"+ - "\u0672\u0181\u0001\u0000\u0000\u0000\u0673\u0674\u0003\u0014\u0001\u0000"+ - "\u0674\u0675\u0001\u0000\u0000\u0000\u0675\u0676\u0006\u00b8\u0000\u0000"+ - "\u0676\u0183\u0001\u0000\u0000\u0000\u0677\u0678\u0003\u0016\u0002\u0000"+ - "\u0678\u0679\u0001\u0000\u0000\u0000\u0679\u067a\u0006\u00b9\u0000\u0000"+ - "\u067a\u0185\u0001\u0000\u0000\u0000\u067b\u067c\u0003\u00b6R\u0000\u067c"+ - "\u067d\u0001\u0000\u0000\u0000\u067d\u067e\u0006\u00ba\u0010\u0000\u067e"+ - "\u067f\u0006\u00ba\u0011\u0000\u067f\u0187\u0001\u0000\u0000\u0000\u0680"+ - "\u0681\u0007#\u0000\u0000\u0681\u0682\u0007\t\u0000\u0000\u0682\u0683"+ - "\u0007\n\u0000\u0000\u0683\u0684\u0007\u0005\u0000\u0000\u0684\u0189\u0001"+ - "\u0000\u0000\u0000\u0685\u0686\u0003\u0214\u0101\u0000\u0686\u0687\u0001"+ - "\u0000\u0000\u0000\u0687\u0688\u0006\u00bc\u0014\u0000\u0688\u018b\u0001"+ - "\u0000\u0000\u0000\u0689\u068a\u0003\u00f8s\u0000\u068a\u068b\u0001\u0000"+ - "\u0000\u0000\u068b\u068c\u0006\u00bd\u0013\u0000\u068c\u068d\u0006\u00bd"+ - "\u0011\u0000\u068d\u068e\u0006\u00bd\u0004\u0000\u068e\u018d\u0001\u0000"+ - "\u0000\u0000\u068f\u0690\u0007\u0016\u0000\u0000\u0690\u0691\u0007\u0011"+ - "\u0000\u0000\u0691\u0692\u0007\n\u0000\u0000\u0692\u0693\u0007\u0005\u0000"+ - "\u0000\u0693\u0694\u0007\u0006\u0000\u0000\u0694\u0695\u0001\u0000\u0000"+ - "\u0000\u0695\u0696\u0006\u00be\u0011\u0000\u0696\u0697\u0006\u00be\u0004"+ - "\u0000\u0697\u018f\u0001\u0000\u0000\u0000\u0698\u0699\u0003\u014c\u009d"+ - "\u0000\u0699\u069a\u0001\u0000\u0000\u0000\u069a\u069b\u0006\u00bf*\u0000"+ - "\u069b\u0191\u0001\u0000\u0000\u0000\u069c\u069d\u0003\u00cc]\u0000\u069d"+ - "\u069e\u0001\u0000\u0000\u0000\u069e\u069f\u0006\u00c0\u001e\u0000\u069f"+ - "\u0193\u0001\u0000\u0000\u0000\u06a0\u06a1\u0003\u00dce\u0000\u06a1\u06a2"+ - "\u0001\u0000\u0000\u0000\u06a2\u06a3\u0006\u00c1(\u0000\u06a3\u0195\u0001"+ - "\u0000\u0000\u0000\u06a4\u06a5\u0003\u0012\u0000\u0000\u06a5\u06a6\u0001"+ - "\u0000\u0000\u0000\u06a6\u06a7\u0006\u00c2\u0000\u0000\u06a7\u0197\u0001"+ - "\u0000\u0000\u0000\u06a8\u06a9\u0003\u0014\u0001\u0000\u06a9\u06aa\u0001"+ - "\u0000\u0000\u0000\u06aa\u06ab\u0006\u00c3\u0000\u0000\u06ab\u0199\u0001"+ - "\u0000\u0000\u0000\u06ac\u06ad\u0003\u0016\u0002\u0000\u06ad\u06ae\u0001"+ - "\u0000\u0000\u0000\u06ae\u06af\u0006\u00c4\u0000\u0000\u06af\u019b\u0001"+ - "\u0000\u0000\u0000\u06b0\u06b1\u0003\u00b6R\u0000\u06b1\u06b2\u0001\u0000"+ - "\u0000\u0000\u06b2\u06b3\u0006\u00c5\u0010\u0000\u06b3\u06b4\u0006\u00c5"+ - "\u0011\u0000\u06b4\u019d\u0001\u0000\u0000\u0000\u06b5\u06b6\u0003\u012e"+ - "\u008e\u0000\u06b6\u06b7\u0001\u0000\u0000\u0000\u06b7\u06b8\u0006\u00c6"+ - "\u0012\u0000\u06b8\u06b9\u0006\u00c6\u0011\u0000\u06b9\u06ba\u0006\u00c6"+ - "\u0011\u0000\u06ba\u019f\u0001\u0000\u0000\u0000\u06bb\u06bc\u0003\u00dc"+ - "e\u0000\u06bc\u06bd\u0001\u0000\u0000\u0000\u06bd\u06be\u0006\u00c7(\u0000"+ - "\u06be\u01a1\u0001\u0000\u0000\u0000\u06bf\u06c0\u0003\u00e0g\u0000\u06c0"+ - "\u06c1\u0001\u0000\u0000\u0000\u06c1\u06c2\u0006\u00c8\u0016\u0000\u06c2"+ - "\u01a3\u0001\u0000\u0000\u0000\u06c3\u06c4\u0003\u00e4i\u0000\u06c4\u06c5"+ - "\u0001\u0000\u0000\u0000\u06c5\u06c6\u0006\u00c9\u0015\u0000\u06c6\u01a5"+ - "\u0001\u0000\u0000\u0000\u06c7\u06c8\u0003\u00f8s\u0000\u06c8\u06c9\u0001"+ - "\u0000\u0000\u0000\u06c9\u06ca\u0006\u00ca\u0013\u0000\u06ca\u06cb\u0006"+ - "\u00ca,\u0000\u06cb\u01a7\u0001\u0000\u0000\u0000\u06cc\u06cd\u0003\u014c"+ - "\u009d\u0000\u06cd\u06ce\u0001\u0000\u0000\u0000\u06ce\u06cf\u0006\u00cb"+ - "*\u0000\u06cf\u01a9\u0001\u0000\u0000\u0000\u06d0\u06d1\u0003\u00cc]\u0000"+ - "\u06d1\u06d2\u0001\u0000\u0000\u0000\u06d2\u06d3\u0006\u00cc\u001e\u0000"+ - "\u06d3\u01ab\u0001\u0000\u0000\u0000\u06d4\u06d5\u0003\u0012\u0000\u0000"+ - "\u06d5\u06d6\u0001\u0000\u0000\u0000\u06d6\u06d7\u0006\u00cd\u0000\u0000"+ - "\u06d7\u01ad\u0001\u0000\u0000\u0000\u06d8\u06d9\u0003\u0014\u0001\u0000"+ - "\u06d9\u06da\u0001\u0000\u0000\u0000\u06da\u06db\u0006\u00ce\u0000\u0000"+ - "\u06db\u01af\u0001\u0000\u0000\u0000\u06dc\u06dd\u0003\u0016\u0002\u0000"+ - "\u06dd\u06de\u0001\u0000\u0000\u0000\u06de\u06df\u0006\u00cf\u0000\u0000"+ - "\u06df\u01b1\u0001\u0000\u0000\u0000\u06e0\u06e1\u0003\u00b6R\u0000\u06e1"+ - "\u06e2\u0001\u0000\u0000\u0000\u06e2\u06e3\u0006\u00d0\u0010\u0000\u06e3"+ - "\u06e4\u0006\u00d0\u0011\u0000\u06e4\u06e5\u0006\u00d0\u0011\u0000\u06e5"+ - "\u01b3\u0001\u0000\u0000\u0000\u06e6\u06e7\u0003\u012e\u008e\u0000\u06e7"+ - "\u06e8\u0001\u0000\u0000\u0000\u06e8\u06e9\u0006\u00d1\u0012\u0000\u06e9"+ - "\u06ea\u0006\u00d1\u0011\u0000\u06ea\u06eb\u0006\u00d1\u0011\u0000\u06eb"+ - "\u06ec\u0006\u00d1\u0011\u0000\u06ec\u01b5\u0001\u0000\u0000\u0000\u06ed"+ - "\u06ee\u0003\u00e0g\u0000\u06ee\u06ef\u0001\u0000\u0000\u0000\u06ef\u06f0"+ - "\u0006\u00d2\u0016\u0000\u06f0\u01b7\u0001\u0000\u0000\u0000\u06f1\u06f2"+ - "\u0003\u00e4i\u0000\u06f2\u06f3\u0001\u0000\u0000\u0000\u06f3\u06f4\u0006"+ - "\u00d3\u0015\u0000\u06f4\u01b9\u0001\u0000\u0000\u0000\u06f5\u06f6\u0003"+ - "\u01f6\u00f2\u0000\u06f6\u06f7\u0001\u0000\u0000\u0000\u06f7\u06f8\u0006"+ - "\u00d4 \u0000\u06f8\u01bb\u0001\u0000\u0000\u0000\u06f9\u06fa\u0003\u0012"+ - "\u0000\u0000\u06fa\u06fb\u0001\u0000\u0000\u0000\u06fb\u06fc\u0006\u00d5"+ - "\u0000\u0000\u06fc\u01bd\u0001\u0000\u0000\u0000\u06fd\u06fe\u0003\u0014"+ - "\u0001\u0000\u06fe\u06ff\u0001\u0000\u0000\u0000\u06ff\u0700\u0006\u00d6"+ - "\u0000\u0000\u0700\u01bf\u0001\u0000\u0000\u0000\u0701\u0702\u0003\u0016"+ - "\u0002\u0000\u0702\u0703\u0001\u0000\u0000\u0000\u0703\u0704\u0006\u00d7"+ - "\u0000\u0000\u0704\u01c1\u0001\u0000\u0000\u0000\u0705\u0706\u0003\u00b6"+ - "R\u0000\u0706\u0707\u0001\u0000\u0000\u0000\u0707\u0708\u0006\u00d8\u0010"+ - "\u0000\u0708\u0709\u0006\u00d8\u0011\u0000\u0709\u01c3\u0001\u0000\u0000"+ - "\u0000\u070a\u070b\u0003\u012e\u008e\u0000\u070b\u070c\u0001\u0000\u0000"+ - "\u0000\u070c\u070d\u0006\u00d9\u0012\u0000\u070d\u070e\u0006\u00d9\u0011"+ - "\u0000\u070e\u070f\u0006\u00d9\u0011\u0000\u070f\u01c5\u0001\u0000\u0000"+ - "\u0000\u0710\u0711\u0003\u0128\u008b\u0000\u0711\u0712\u0001\u0000\u0000"+ - "\u0000\u0712\u0713\u0006\u00da\u0017\u0000\u0713\u01c7\u0001\u0000\u0000"+ - "\u0000\u0714\u0715\u0003\u012a\u008c\u0000\u0715\u0716\u0001\u0000\u0000"+ - "\u0000\u0716\u0717\u0006\u00db\u0018\u0000\u0717\u01c9\u0001\u0000\u0000"+ - "\u0000\u0718\u0719\u0003\u00e4i\u0000\u0719\u071a\u0001\u0000\u0000\u0000"+ - "\u071a\u071b\u0006\u00dc\u0015\u0000\u071b\u01cb\u0001\u0000\u0000\u0000"+ - "\u071c\u071d\u0003\u00fcu\u0000\u071d\u071e\u0001\u0000\u0000\u0000\u071e"+ - "\u071f\u0006\u00dd!\u0000\u071f\u01cd\u0001\u0000\u0000\u0000\u0720\u0721"+ - "\u0003\u0124\u0089\u0000\u0721\u0722\u0001\u0000\u0000\u0000\u0722\u0723"+ - "\u0006\u00de\"\u0000\u0723\u01cf\u0001\u0000\u0000\u0000\u0724\u0725\u0003"+ - "\u0120\u0087\u0000\u0725\u0726\u0001\u0000\u0000\u0000\u0726\u0727\u0006"+ - "\u00df#\u0000\u0727\u01d1\u0001\u0000\u0000\u0000\u0728\u0729\u0003\u0126"+ - "\u008a\u0000\u0729\u072a\u0001\u0000\u0000\u0000\u072a\u072b\u0006\u00e0"+ - "$\u0000\u072b\u01d3\u0001\u0000\u0000\u0000\u072c\u072d\u0003\u0134\u0091"+ - "\u0000\u072d\u072e\u0001\u0000\u0000\u0000\u072e\u072f\u0006\u00e1\u0019"+ - "\u0000\u072f\u01d5\u0001\u0000\u0000\u0000\u0730\u0731\u0003\u0130\u008f"+ - "\u0000\u0731\u0732\u0001\u0000\u0000\u0000\u0732\u0733\u0006\u00e2\u001a"+ - "\u0000\u0733\u01d7\u0001\u0000\u0000\u0000\u0734\u0735\u0003\u0012\u0000"+ - "\u0000\u0735\u0736\u0001\u0000\u0000\u0000\u0736\u0737\u0006\u00e3\u0000"+ - "\u0000\u0737\u01d9\u0001\u0000\u0000\u0000\u0738\u0739\u0003\u0014\u0001"+ - "\u0000\u0739\u073a\u0001\u0000\u0000\u0000\u073a\u073b\u0006\u00e4\u0000"+ - "\u0000\u073b\u01db\u0001\u0000\u0000\u0000\u073c\u073d\u0003\u0016\u0002"+ - "\u0000\u073d\u073e\u0001\u0000\u0000\u0000\u073e\u073f\u0006\u00e5\u0000"+ - "\u0000\u073f\u01dd\u0001\u0000\u0000\u0000\u0740\u0741\u0003\u00b6R\u0000"+ - "\u0741\u0742\u0001\u0000\u0000\u0000\u0742\u0743\u0006\u00e6\u0010\u0000"+ - "\u0743\u0744\u0006\u00e6\u0011\u0000\u0744\u01df\u0001\u0000\u0000\u0000"+ - "\u0745\u0746\u0003\u012e\u008e\u0000\u0746\u0747\u0001\u0000\u0000\u0000"+ - "\u0747\u0748\u0006\u00e7\u0012\u0000\u0748\u0749\u0006\u00e7\u0011\u0000"+ - "\u0749\u074a\u0006\u00e7\u0011\u0000\u074a\u01e1\u0001\u0000\u0000\u0000"+ - "\u074b\u074c\u0003\u00e4i\u0000\u074c\u074d\u0001\u0000\u0000\u0000\u074d"+ - "\u074e\u0006\u00e8\u0015\u0000\u074e\u01e3\u0001\u0000\u0000\u0000\u074f"+ - "\u0750\u0003\u0128\u008b\u0000\u0750\u0751\u0001\u0000\u0000\u0000\u0751"+ - "\u0752\u0006\u00e9\u0017\u0000\u0752\u01e5\u0001\u0000\u0000\u0000\u0753"+ - "\u0754\u0003\u012a\u008c\u0000\u0754\u0755\u0001\u0000\u0000\u0000\u0755"+ - "\u0756\u0006\u00ea\u0018\u0000\u0756\u01e7\u0001\u0000\u0000\u0000\u0757"+ - "\u0758\u0003\u00e0g\u0000\u0758\u0759\u0001\u0000\u0000\u0000\u0759\u075a"+ - "\u0006\u00eb\u0016\u0000\u075a\u01e9\u0001\u0000\u0000\u0000\u075b\u075c"+ - "\u0003\u00fcu\u0000\u075c\u075d\u0001\u0000\u0000\u0000\u075d\u075e\u0006"+ - "\u00ec!\u0000\u075e\u01eb\u0001\u0000\u0000\u0000\u075f\u0760\u0003\u0124"+ - "\u0089\u0000\u0760\u0761\u0001\u0000\u0000\u0000\u0761\u0762\u0006\u00ed"+ - "\"\u0000\u0762\u01ed\u0001\u0000\u0000\u0000\u0763\u0764\u0003\u0120\u0087"+ - "\u0000\u0764\u0765\u0001\u0000\u0000\u0000\u0765\u0766\u0006\u00ee#\u0000"+ - "\u0766\u01ef\u0001\u0000\u0000\u0000\u0767\u0768\u0003\u0126\u008a\u0000"+ - "\u0768\u0769\u0001\u0000\u0000\u0000\u0769\u076a\u0006\u00ef$\u0000\u076a"+ - "\u01f1\u0001\u0000\u0000\u0000\u076b\u0770\u0003\u00baT\u0000\u076c\u0770"+ - "\u0003\u00b8S\u0000\u076d\u0770\u0003\u00c8[\u0000\u076e\u0770\u0003\u0116"+ - "\u0082\u0000\u076f\u076b\u0001\u0000\u0000\u0000\u076f\u076c\u0001\u0000"+ - "\u0000\u0000\u076f\u076d\u0001\u0000\u0000\u0000\u076f\u076e\u0001\u0000"+ - "\u0000\u0000\u0770\u01f3\u0001\u0000\u0000\u0000\u0771\u0774\u0003\u00ba"+ - "T\u0000\u0772\u0774\u0003\u0116\u0082\u0000\u0773\u0771\u0001\u0000\u0000"+ - "\u0000\u0773\u0772\u0001\u0000\u0000\u0000\u0774\u0778\u0001\u0000\u0000"+ - "\u0000\u0775\u0777\u0003\u01f2\u00f0\u0000\u0776\u0775\u0001\u0000\u0000"+ - "\u0000\u0777\u077a\u0001\u0000\u0000\u0000\u0778\u0776\u0001\u0000\u0000"+ - "\u0000\u0778\u0779\u0001\u0000\u0000\u0000\u0779\u0785\u0001\u0000\u0000"+ - "\u0000\u077a\u0778\u0001\u0000\u0000\u0000\u077b\u077e\u0003\u00c8[\u0000"+ - "\u077c\u077e\u0003\u00c2X\u0000\u077d\u077b\u0001\u0000\u0000\u0000\u077d"+ - "\u077c\u0001\u0000\u0000\u0000\u077e\u0780\u0001\u0000\u0000\u0000\u077f"+ - "\u0781\u0003\u01f2\u00f0\u0000\u0780\u077f\u0001\u0000\u0000\u0000\u0781"+ - "\u0782\u0001\u0000\u0000\u0000\u0782\u0780\u0001\u0000\u0000\u0000\u0782"+ - "\u0783\u0001\u0000\u0000\u0000\u0783\u0785\u0001\u0000\u0000\u0000\u0784"+ - "\u0773\u0001\u0000\u0000\u0000\u0784\u077d\u0001\u0000\u0000\u0000\u0785"+ - "\u01f5\u0001\u0000\u0000\u0000\u0786\u0789\u0003\u01f4\u00f1\u0000\u0787"+ - "\u0789\u0003\u0132\u0090\u0000\u0788\u0786\u0001\u0000\u0000\u0000\u0788"+ - "\u0787\u0001\u0000\u0000\u0000\u0789\u078a\u0001\u0000\u0000\u0000\u078a"+ - "\u0788\u0001\u0000\u0000\u0000\u078a\u078b\u0001\u0000\u0000\u0000\u078b"+ - "\u01f7\u0001\u0000\u0000\u0000\u078c\u078d\u0003\u0012\u0000\u0000\u078d"+ - "\u078e\u0001\u0000\u0000\u0000\u078e\u078f\u0006\u00f3\u0000\u0000\u078f"+ - "\u01f9\u0001\u0000\u0000\u0000\u0790\u0791\u0003\u0014\u0001\u0000\u0791"+ - "\u0792\u0001\u0000\u0000\u0000\u0792\u0793\u0006\u00f4\u0000\u0000\u0793"+ - "\u01fb\u0001\u0000\u0000\u0000\u0794\u0795\u0003\u0016\u0002\u0000\u0795"+ - "\u0796\u0001\u0000\u0000\u0000\u0796\u0797\u0006\u00f5\u0000\u0000\u0797"+ - "\u01fd\u0001\u0000\u0000\u0000\u0798\u0799\u0003\u00b6R\u0000\u0799\u079a"+ - "\u0001\u0000\u0000\u0000\u079a\u079b\u0006\u00f6\u0010\u0000\u079b\u079c"+ - "\u0006\u00f6\u0011\u0000\u079c\u01ff\u0001\u0000\u0000\u0000\u079d\u079e"+ - "\u0003\u012e\u008e\u0000\u079e\u079f\u0001\u0000\u0000\u0000\u079f\u07a0"+ - "\u0006\u00f7\u0012\u0000\u07a0\u07a1\u0006\u00f7\u0011\u0000\u07a1\u07a2"+ - "\u0006\u00f7\u0011\u0000\u07a2\u0201\u0001\u0000\u0000\u0000\u07a3\u07a4"+ - "\u0003\u0128\u008b\u0000\u07a4\u07a5\u0001\u0000\u0000\u0000\u07a5\u07a6"+ - "\u0006\u00f8\u0017\u0000\u07a6\u0203\u0001\u0000\u0000\u0000\u07a7\u07a8"+ - "\u0003\u012a\u008c\u0000\u07a8\u07a9\u0001\u0000\u0000\u0000\u07a9\u07aa"+ - "\u0006\u00f9\u0018\u0000\u07aa\u0205\u0001\u0000\u0000\u0000\u07ab\u07ac"+ - "\u0003\u00d6b\u0000\u07ac\u07ad\u0001\u0000\u0000\u0000\u07ad\u07ae\u0006"+ - "\u00fa\u001f\u0000\u07ae\u0207\u0001\u0000\u0000\u0000\u07af\u07b0\u0003"+ - "\u00e0g\u0000\u07b0\u07b1\u0001\u0000\u0000\u0000\u07b1\u07b2\u0006\u00fb"+ - "\u0016\u0000\u07b2\u0209\u0001\u0000\u0000\u0000\u07b3\u07b4\u0003\u00e4"+ - "i\u0000\u07b4\u07b5\u0001\u0000\u0000\u0000\u07b5\u07b6\u0006\u00fc\u0015"+ - "\u0000\u07b6\u020b\u0001\u0000\u0000\u0000\u07b7\u07b8\u0003\u00fcu\u0000"+ - "\u07b8\u07b9\u0001\u0000\u0000\u0000\u07b9\u07ba\u0006\u00fd!\u0000\u07ba"+ - "\u020d\u0001\u0000\u0000\u0000\u07bb\u07bc\u0003\u0124\u0089\u0000\u07bc"+ - "\u07bd\u0001\u0000\u0000\u0000\u07bd\u07be\u0006\u00fe\"\u0000\u07be\u020f"+ - "\u0001\u0000\u0000\u0000\u07bf\u07c0\u0003\u0120\u0087\u0000\u07c0\u07c1"+ - "\u0001\u0000\u0000\u0000\u07c1\u07c2\u0006\u00ff#\u0000\u07c2\u0211\u0001"+ - "\u0000\u0000\u0000\u07c3\u07c4\u0003\u0126\u008a\u0000\u07c4\u07c5\u0001"+ - "\u0000\u0000\u0000\u07c5\u07c6\u0006\u0100$\u0000\u07c6\u0213\u0001\u0000"+ - "\u0000\u0000\u07c7\u07c8\u0007\u0004\u0000\u0000\u07c8\u07c9\u0007\u0011"+ - "\u0000\u0000\u07c9\u0215\u0001\u0000\u0000\u0000\u07ca\u07cb\u0003\u01f6"+ - "\u00f2\u0000\u07cb\u07cc\u0001\u0000\u0000\u0000\u07cc\u07cd\u0006\u0102"+ - " \u0000\u07cd\u0217\u0001\u0000\u0000\u0000\u07ce\u07cf\u0003\u0012\u0000"+ - "\u0000\u07cf\u07d0\u0001\u0000\u0000\u0000\u07d0\u07d1\u0006\u0103\u0000"+ - "\u0000\u07d1\u0219\u0001\u0000\u0000\u0000\u07d2\u07d3\u0003\u0014\u0001"+ - "\u0000\u07d3\u07d4\u0001\u0000\u0000\u0000\u07d4\u07d5\u0006\u0104\u0000"+ - "\u0000\u07d5\u021b\u0001\u0000\u0000\u0000\u07d6\u07d7\u0003\u0016\u0002"+ - "\u0000\u07d7\u07d8\u0001\u0000\u0000\u0000\u07d8\u07d9\u0006\u0105\u0000"+ - "\u0000\u07d9\u021d\u0001\u0000\u0000\u0000\u07da\u07db\u0003\u0100w\u0000"+ - "\u07db\u07dc\u0001\u0000\u0000\u0000\u07dc\u07dd\u0006\u0106-\u0000\u07dd"+ - "\u021f\u0001\u0000\u0000\u0000\u07de\u07df\u0003\u00e6j\u0000\u07df\u07e0"+ - "\u0001\u0000\u0000\u0000\u07e0\u07e1\u0006\u0107.\u0000\u07e1\u0221\u0001"+ - "\u0000\u0000\u0000\u07e2\u07e3\u0003\u00f4q\u0000\u07e3\u07e4\u0001\u0000"+ - "\u0000\u0000\u07e4\u07e5\u0006\u0108/\u0000\u07e5\u0223\u0001\u0000\u0000"+ - "\u0000\u07e6\u07e7\u0003\u00def\u0000\u07e7\u07e8\u0001\u0000\u0000\u0000"+ - "\u07e8\u07e9\u0006\u01090\u0000\u07e9\u07ea\u0006\u0109\u0011\u0000\u07ea"+ - "\u0225\u0001\u0000\u0000\u0000\u07eb\u07ec\u0003\u00d6b\u0000\u07ec\u07ed"+ - "\u0001\u0000\u0000\u0000\u07ed\u07ee\u0006\u010a\u001f\u0000\u07ee\u0227"+ - "\u0001\u0000\u0000\u0000\u07ef\u07f0\u0003\u00cc]\u0000\u07f0\u07f1\u0001"+ - "\u0000\u0000\u0000\u07f1\u07f2\u0006\u010b\u001e\u0000\u07f2\u0229\u0001"+ - "\u0000\u0000\u0000\u07f3\u07f4\u0003\u0130\u008f\u0000\u07f4\u07f5\u0001"+ - "\u0000\u0000\u0000\u07f5\u07f6\u0006\u010c\u001a\u0000\u07f6\u022b\u0001"+ - "\u0000\u0000\u0000\u07f7\u07f8\u0003\u0134\u0091\u0000\u07f8\u07f9\u0001"+ - "\u0000\u0000\u0000\u07f9\u07fa\u0006\u010d\u0019\u0000\u07fa\u022d\u0001"+ - "\u0000\u0000\u0000\u07fb\u07fc\u0003\u00d0_\u0000\u07fc\u07fd\u0001\u0000"+ - "\u0000\u0000\u07fd\u07fe\u0006\u010e1\u0000\u07fe\u022f\u0001\u0000\u0000"+ - "\u0000\u07ff\u0800\u0003\u00ce^\u0000\u0800\u0801\u0001\u0000\u0000\u0000"+ - "\u0801\u0802\u0006\u010f2\u0000\u0802\u0231\u0001\u0000\u0000\u0000\u0803"+ - "\u0804\u0003\u00e0g\u0000\u0804\u0805\u0001\u0000\u0000\u0000\u0805\u0806"+ - "\u0006\u0110\u0016\u0000\u0806\u0233\u0001\u0000\u0000\u0000\u0807\u0808"+ - "\u0003\u00e4i\u0000\u0808\u0809\u0001\u0000\u0000\u0000\u0809\u080a\u0006"+ - "\u0111\u0015\u0000\u080a\u0235\u0001\u0000\u0000\u0000\u080b\u080c\u0003"+ - "\u00fcu\u0000\u080c\u080d\u0001\u0000\u0000\u0000\u080d\u080e\u0006\u0112"+ - "!\u0000\u080e\u0237\u0001\u0000\u0000\u0000\u080f\u0810\u0003\u0124\u0089"+ - "\u0000\u0810\u0811\u0001\u0000\u0000\u0000\u0811\u0812\u0006\u0113\"\u0000"+ - "\u0812\u0239\u0001\u0000\u0000\u0000\u0813\u0814\u0003\u0120\u0087\u0000"+ - "\u0814\u0815\u0001\u0000\u0000\u0000\u0815\u0816\u0006\u0114#\u0000\u0816"+ - "\u023b\u0001\u0000\u0000\u0000\u0817\u0818\u0003\u0126\u008a\u0000\u0818"+ - "\u0819\u0001\u0000\u0000\u0000\u0819\u081a\u0006\u0115$\u0000\u081a\u023d"+ - "\u0001\u0000\u0000\u0000\u081b\u081c\u0003\u0128\u008b\u0000\u081c\u081d"+ - "\u0001\u0000\u0000\u0000\u081d\u081e\u0006\u0116\u0017\u0000\u081e\u023f"+ - "\u0001\u0000\u0000\u0000\u081f\u0820\u0003\u012a\u008c\u0000\u0820\u0821"+ - "\u0001\u0000\u0000\u0000\u0821\u0822\u0006\u0117\u0018\u0000\u0822\u0241"+ - "\u0001\u0000\u0000\u0000\u0823\u0824\u0003\u01f6\u00f2\u0000\u0824\u0825"+ - "\u0001\u0000\u0000\u0000\u0825\u0826\u0006\u0118 \u0000\u0826\u0243\u0001"+ - "\u0000\u0000\u0000\u0827\u0828\u0003\u0012\u0000\u0000\u0828\u0829\u0001"+ - "\u0000\u0000\u0000\u0829\u082a\u0006\u0119\u0000\u0000\u082a\u0245\u0001"+ - "\u0000\u0000\u0000\u082b\u082c\u0003\u0014\u0001\u0000\u082c\u082d\u0001"+ - "\u0000\u0000\u0000\u082d\u082e\u0006\u011a\u0000\u0000\u082e\u0247\u0001"+ - "\u0000\u0000\u0000\u082f\u0830\u0003\u0016\u0002\u0000\u0830\u0831\u0001"+ - "\u0000\u0000\u0000\u0831\u0832\u0006\u011b\u0000\u0000\u0832\u0249\u0001"+ - "\u0000\u0000\u0000\u0833\u0834\u0003\u00b6R\u0000\u0834\u0835\u0001\u0000"+ - "\u0000\u0000\u0835\u0836\u0006\u011c\u0010\u0000\u0836\u0837\u0006\u011c"+ - "\u0011\u0000\u0837\u024b\u0001\u0000\u0000\u0000\u0838\u0839\u0007\n\u0000"+ - "\u0000\u0839\u083a\u0007\u0005\u0000\u0000\u083a\u083b\u0007\u0015\u0000"+ - "\u0000\u083b\u083c\u0007\t\u0000\u0000\u083c\u024d\u0001\u0000\u0000\u0000"+ - "\u083d\u083e\u0003\u0012\u0000\u0000\u083e\u083f\u0001\u0000\u0000\u0000"+ - "\u083f\u0840\u0006\u011e\u0000\u0000\u0840\u024f\u0001\u0000\u0000\u0000"+ - "\u0841\u0842\u0003\u0014\u0001\u0000\u0842\u0843\u0001\u0000\u0000\u0000"+ - "\u0843\u0844\u0006\u011f\u0000\u0000\u0844\u0251\u0001\u0000\u0000\u0000"+ - "\u0845\u0846\u0003\u0016\u0002\u0000\u0846\u0847\u0001\u0000\u0000\u0000"+ - "\u0847\u0848\u0006\u0120\u0000\u0000\u0848\u0253\u0001\u0000\u0000\u0000"+ - "F\u0000\u0001\u0002\u0003\u0004\u0005\u0006\u0007\b\t\n\u000b\f\r\u000e"+ - "\u000f\u0010\u0011\u025a\u025e\u0261\u026a\u026c\u0277\u0399\u03ee\u03f2"+ - "\u03f7\u047b\u0480\u0489\u0490\u0495\u0497\u04a2\u04aa\u04ad\u04af\u04b4"+ - "\u04b9\u04bf\u04c6\u04cb\u04d1\u04d4\u04dc\u04e0\u056d\u0572\u0579\u057b"+ - "\u0580\u0585\u058c\u058e\u05a8\u05ad\u05b2\u05b4\u05ba\u05f2\u05f7\u076f"+ - "\u0773\u0778\u077d\u0782\u0784\u0788\u078a3\u0000\u0001\u0000\u0005\u0001"+ - "\u0000\u0005\u0002\u0000\u0005\u0004\u0000\u0005\u0005\u0000\u0005\u0006"+ - "\u0000\u0005\u0007\u0000\u0005\b\u0000\u0005\t\u0000\u0005\n\u0000\u0005"+ - "\u000b\u0000\u0005\r\u0000\u0005\u000e\u0000\u0005\u000f\u0000\u0005\u0010"+ - "\u0000\u0005\u0011\u0000\u00072\u0000\u0004\u0000\u0000\u0007c\u0000\u0007"+ - "I\u0000\u0007\u008d\u0000\u0007?\u0000\u0007=\u0000\u0007`\u0000\u0007"+ - "a\u0000\u0007e\u0000\u0007d\u0000\u0005\u0003\u0000\u0007N\u0000\u0007"+ - "(\u0000\u00073\u0000\u00078\u0000\u0007\u0089\u0000\u0007K\u0000\u0007"+ - "^\u0000\u0007]\u0000\u0007_\u0000\u0007b\u0000\u0005\u0000\u0000\u0007"+ - "\u0011\u0000\u0007;\u0000\u0007:\u0000\u0007j\u0000\u00079\u0000\u0005"+ - "\f\u0000\u0007M\u0000\u0007@\u0000\u0007G\u0000\u0007<\u0000\u00075\u0000"+ - "\u00074\u0000"; + "\u025c\u0260\u0263\u026c\u026e\u0279\u039b\u03f0\u03f4\u03f9\u047d\u0482"+ + "\u048b\u0492\u0497\u0499\u04a4\u04ac\u04af\u04b1\u04b6\u04bb\u04c1\u04c8"+ + "\u04cd\u04d3\u04d6\u04de\u04e2\u056f\u0574\u057b\u057d\u0582\u0587\u058e"+ + "\u0590\u05aa\u05af\u05b4\u05b6\u05bc\u05fa\u05ff\u0777\u077b\u0780\u0785"+ + "\u078a\u078c\u0790\u07923\u0000\u0001\u0000\u0005\u0001\u0000\u0005\u0002"+ + "\u0000\u0005\u0004\u0000\u0005\u0005\u0000\u0005\u0006\u0000\u0005\u0007"+ + "\u0000\u0005\b\u0000\u0005\t\u0000\u0005\n\u0000\u0005\u000b\u0000\u0005"+ + "\r\u0000\u0005\u000e\u0000\u0005\u000f\u0000\u0005\u0010\u0000\u0005\u0011"+ + "\u0000\u00072\u0000\u0004\u0000\u0000\u0007c\u0000\u0007I\u0000\u0007"+ + "\u008d\u0000\u0007?\u0000\u0007=\u0000\u0007`\u0000\u0007a\u0000\u0007"+ + "e\u0000\u0007d\u0000\u0005\u0003\u0000\u0007N\u0000\u0007(\u0000\u0007"+ + "3\u0000\u00078\u0000\u0007\u0089\u0000\u0007K\u0000\u0007^\u0000\u0007"+ + "]\u0000\u0007_\u0000\u0007b\u0000\u0005\u0000\u0000\u0007\u0011\u0000"+ + "\u0007;\u0000\u0007:\u0000\u0007j\u0000\u00079\u0000\u0005\f\u0000\u0007"+ + "M\u0000\u0007@\u0000\u0007G\u0000\u0007<\u0000\u00075\u0000\u00074\u0000"; public static final ATN _ATN = new ATNDeserializer().deserialize(_serializedATN.toCharArray()); static { diff --git a/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/parser/EsqlBaseParser.interp b/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/parser/EsqlBaseParser.interp index 3b3c40d6630b9..723a74dd4f7c9 100644 --- a/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/parser/EsqlBaseParser.interp +++ b/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/parser/EsqlBaseParser.interp @@ -322,6 +322,9 @@ rerankField fromCommand timeSeriesCommand indexPatternAndMetadataFields +indexPatternOrSubquery +subquery +subqueryProcessingCommand indexPattern clusterString selectorString @@ -401,4 +404,4 @@ joinCondition atn: -[4, 1, 151, 921, 2, 0, 7, 0, 2, 1, 7, 1, 2, 2, 7, 2, 2, 3, 7, 3, 2, 4, 7, 4, 2, 5, 7, 5, 2, 6, 7, 6, 2, 7, 7, 7, 2, 8, 7, 8, 2, 9, 7, 9, 2, 10, 7, 10, 2, 11, 7, 11, 2, 12, 7, 12, 2, 13, 7, 13, 2, 14, 7, 14, 2, 15, 7, 15, 2, 16, 7, 16, 2, 17, 7, 17, 2, 18, 7, 18, 2, 19, 7, 19, 2, 20, 7, 20, 2, 21, 7, 21, 2, 22, 7, 22, 2, 23, 7, 23, 2, 24, 7, 24, 2, 25, 7, 25, 2, 26, 7, 26, 2, 27, 7, 27, 2, 28, 7, 28, 2, 29, 7, 29, 2, 30, 7, 30, 2, 31, 7, 31, 2, 32, 7, 32, 2, 33, 7, 33, 2, 34, 7, 34, 2, 35, 7, 35, 2, 36, 7, 36, 2, 37, 7, 37, 2, 38, 7, 38, 2, 39, 7, 39, 2, 40, 7, 40, 2, 41, 7, 41, 2, 42, 7, 42, 2, 43, 7, 43, 2, 44, 7, 44, 2, 45, 7, 45, 2, 46, 7, 46, 2, 47, 7, 47, 2, 48, 7, 48, 2, 49, 7, 49, 2, 50, 7, 50, 2, 51, 7, 51, 2, 52, 7, 52, 2, 53, 7, 53, 2, 54, 7, 54, 2, 55, 7, 55, 2, 56, 7, 56, 2, 57, 7, 57, 2, 58, 7, 58, 2, 59, 7, 59, 2, 60, 7, 60, 2, 61, 7, 61, 2, 62, 7, 62, 2, 63, 7, 63, 2, 64, 7, 64, 2, 65, 7, 65, 2, 66, 7, 66, 2, 67, 7, 67, 2, 68, 7, 68, 2, 69, 7, 69, 2, 70, 7, 70, 2, 71, 7, 71, 2, 72, 7, 72, 2, 73, 7, 73, 2, 74, 7, 74, 2, 75, 7, 75, 2, 76, 7, 76, 2, 77, 7, 77, 2, 78, 7, 78, 2, 79, 7, 79, 2, 80, 7, 80, 2, 81, 7, 81, 2, 82, 7, 82, 2, 83, 7, 83, 2, 84, 7, 84, 2, 85, 7, 85, 2, 86, 7, 86, 2, 87, 7, 87, 2, 88, 7, 88, 2, 89, 7, 89, 2, 90, 7, 90, 1, 0, 1, 0, 4, 0, 185, 8, 0, 11, 0, 12, 0, 186, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 3, 0, 195, 8, 0, 1, 1, 1, 1, 1, 1, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 5, 2, 206, 8, 2, 10, 2, 12, 2, 209, 9, 2, 1, 3, 1, 3, 1, 3, 1, 3, 1, 3, 1, 3, 3, 3, 217, 8, 3, 1, 4, 1, 4, 1, 4, 1, 4, 1, 4, 1, 4, 1, 4, 1, 4, 1, 4, 1, 4, 1, 4, 1, 4, 1, 4, 1, 4, 1, 4, 1, 4, 1, 4, 1, 4, 1, 4, 1, 4, 1, 4, 1, 4, 1, 4, 1, 4, 1, 4, 3, 4, 244, 8, 4, 1, 5, 1, 5, 1, 5, 1, 6, 1, 6, 1, 7, 1, 7, 1, 7, 1, 8, 1, 8, 1, 8, 5, 8, 257, 8, 8, 10, 8, 12, 8, 260, 9, 8, 1, 9, 1, 9, 1, 9, 3, 9, 265, 8, 9, 1, 9, 1, 9, 1, 10, 1, 10, 1, 10, 5, 10, 272, 8, 10, 10, 10, 12, 10, 275, 9, 10, 1, 11, 1, 11, 1, 11, 3, 11, 280, 8, 11, 1, 12, 1, 12, 1, 12, 1, 13, 1, 13, 1, 13, 1, 14, 1, 14, 1, 14, 5, 14, 291, 8, 14, 10, 14, 12, 14, 294, 9, 14, 1, 14, 3, 14, 297, 8, 14, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 3, 15, 308, 8, 15, 1, 16, 1, 16, 1, 17, 1, 17, 1, 18, 1, 18, 1, 19, 1, 19, 1, 20, 1, 20, 1, 20, 1, 20, 5, 20, 322, 8, 20, 10, 20, 12, 20, 325, 9, 20, 1, 21, 1, 21, 1, 21, 1, 22, 1, 22, 3, 22, 332, 8, 22, 1, 22, 1, 22, 3, 22, 336, 8, 22, 1, 23, 1, 23, 1, 23, 5, 23, 341, 8, 23, 10, 23, 12, 23, 344, 9, 23, 1, 24, 1, 24, 1, 24, 3, 24, 349, 8, 24, 1, 25, 1, 25, 1, 25, 3, 25, 354, 8, 25, 1, 25, 1, 25, 1, 25, 1, 25, 1, 25, 1, 25, 1, 25, 3, 25, 363, 8, 25, 1, 26, 1, 26, 1, 26, 5, 26, 368, 8, 26, 10, 26, 12, 26, 371, 9, 26, 1, 27, 1, 27, 1, 27, 3, 27, 376, 8, 27, 1, 27, 1, 27, 1, 27, 1, 27, 1, 27, 1, 27, 1, 27, 3, 27, 385, 8, 27, 1, 28, 1, 28, 1, 28, 5, 28, 390, 8, 28, 10, 28, 12, 28, 393, 9, 28, 1, 29, 1, 29, 1, 29, 5, 29, 398, 8, 29, 10, 29, 12, 29, 401, 9, 29, 1, 30, 1, 30, 1, 31, 1, 31, 1, 31, 3, 31, 408, 8, 31, 1, 32, 1, 32, 3, 32, 412, 8, 32, 1, 33, 1, 33, 3, 33, 416, 8, 33, 1, 34, 1, 34, 1, 34, 3, 34, 421, 8, 34, 1, 35, 1, 35, 1, 35, 1, 36, 1, 36, 1, 36, 1, 36, 5, 36, 430, 8, 36, 10, 36, 12, 36, 433, 9, 36, 1, 37, 1, 37, 3, 37, 437, 8, 37, 1, 37, 1, 37, 3, 37, 441, 8, 37, 1, 38, 1, 38, 1, 38, 1, 39, 1, 39, 1, 39, 1, 40, 1, 40, 1, 40, 1, 40, 5, 40, 453, 8, 40, 10, 40, 12, 40, 456, 9, 40, 1, 41, 1, 41, 1, 41, 1, 41, 1, 41, 1, 41, 1, 41, 1, 41, 3, 41, 466, 8, 41, 1, 42, 1, 42, 1, 42, 1, 42, 3, 42, 472, 8, 42, 1, 43, 1, 43, 1, 43, 5, 43, 477, 8, 43, 10, 43, 12, 43, 480, 9, 43, 1, 44, 1, 44, 1, 44, 1, 44, 1, 45, 1, 45, 3, 45, 488, 8, 45, 1, 46, 1, 46, 1, 46, 1, 46, 1, 47, 1, 47, 1, 47, 1, 48, 1, 48, 1, 48, 1, 49, 1, 49, 1, 49, 1, 49, 1, 50, 1, 50, 1, 50, 1, 51, 1, 51, 1, 51, 1, 51, 3, 51, 511, 8, 51, 1, 51, 1, 51, 1, 51, 1, 51, 5, 51, 517, 8, 51, 10, 51, 12, 51, 520, 9, 51, 3, 51, 522, 8, 51, 1, 52, 1, 52, 1, 53, 1, 53, 1, 53, 3, 53, 529, 8, 53, 1, 53, 1, 53, 1, 54, 1, 54, 1, 54, 1, 55, 1, 55, 1, 55, 1, 55, 3, 55, 540, 8, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 3, 55, 547, 8, 55, 1, 56, 1, 56, 1, 56, 1, 57, 4, 57, 553, 8, 57, 11, 57, 12, 57, 554, 1, 58, 1, 58, 1, 58, 1, 58, 1, 59, 1, 59, 1, 59, 1, 59, 1, 59, 1, 59, 5, 59, 567, 8, 59, 10, 59, 12, 59, 570, 9, 59, 1, 60, 1, 60, 1, 61, 1, 61, 1, 61, 1, 61, 3, 61, 578, 8, 61, 1, 61, 1, 61, 1, 61, 1, 61, 1, 61, 1, 62, 1, 62, 1, 62, 1, 62, 3, 62, 589, 8, 62, 1, 62, 1, 62, 1, 62, 1, 63, 1, 63, 1, 63, 1, 63, 1, 63, 3, 63, 599, 8, 63, 1, 63, 1, 63, 1, 63, 1, 63, 3, 63, 605, 8, 63, 3, 63, 607, 8, 63, 1, 64, 1, 64, 1, 64, 1, 64, 1, 64, 1, 65, 1, 65, 1, 65, 1, 66, 1, 66, 3, 66, 619, 8, 66, 1, 66, 5, 66, 622, 8, 66, 10, 66, 12, 66, 625, 9, 66, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 3, 67, 638, 8, 67, 1, 68, 1, 68, 1, 68, 1, 68, 1, 69, 1, 69, 1, 69, 1, 69, 1, 70, 1, 70, 1, 70, 1, 70, 1, 70, 1, 70, 1, 70, 3, 70, 655, 8, 70, 1, 70, 1, 70, 1, 70, 1, 70, 1, 70, 5, 70, 662, 8, 70, 10, 70, 12, 70, 665, 9, 70, 1, 70, 1, 70, 1, 70, 1, 70, 1, 70, 3, 70, 672, 8, 70, 1, 70, 1, 70, 1, 70, 3, 70, 677, 8, 70, 1, 70, 1, 70, 1, 70, 1, 70, 1, 70, 1, 70, 5, 70, 685, 8, 70, 10, 70, 12, 70, 688, 9, 70, 1, 71, 1, 71, 3, 71, 692, 8, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 3, 71, 699, 8, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 3, 71, 706, 8, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 5, 71, 713, 8, 71, 10, 71, 12, 71, 716, 9, 71, 1, 71, 1, 71, 1, 71, 1, 71, 3, 71, 722, 8, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 5, 71, 729, 8, 71, 10, 71, 12, 71, 732, 9, 71, 1, 71, 1, 71, 3, 71, 736, 8, 71, 1, 72, 1, 72, 1, 72, 3, 72, 741, 8, 72, 1, 72, 1, 72, 1, 72, 1, 73, 1, 73, 1, 73, 1, 73, 1, 73, 3, 73, 751, 8, 73, 1, 74, 1, 74, 1, 74, 1, 74, 3, 74, 757, 8, 74, 1, 74, 1, 74, 1, 74, 1, 74, 1, 74, 1, 74, 5, 74, 765, 8, 74, 10, 74, 12, 74, 768, 9, 74, 1, 75, 1, 75, 1, 75, 1, 75, 1, 75, 1, 75, 1, 75, 1, 75, 3, 75, 778, 8, 75, 1, 75, 1, 75, 1, 75, 5, 75, 783, 8, 75, 10, 75, 12, 75, 786, 9, 75, 1, 76, 1, 76, 1, 76, 1, 76, 1, 76, 1, 76, 5, 76, 794, 8, 76, 10, 76, 12, 76, 797, 9, 76, 1, 76, 1, 76, 3, 76, 801, 8, 76, 3, 76, 803, 8, 76, 1, 76, 1, 76, 1, 77, 1, 77, 1, 77, 3, 77, 810, 8, 77, 1, 78, 1, 78, 1, 78, 1, 78, 5, 78, 816, 8, 78, 10, 78, 12, 78, 819, 9, 78, 3, 78, 821, 8, 78, 1, 78, 1, 78, 1, 79, 1, 79, 1, 79, 1, 79, 1, 80, 1, 80, 3, 80, 831, 8, 80, 1, 81, 1, 81, 1, 81, 1, 81, 1, 81, 1, 81, 1, 81, 1, 81, 1, 81, 1, 81, 1, 81, 1, 81, 1, 81, 5, 81, 846, 8, 81, 10, 81, 12, 81, 849, 9, 81, 1, 81, 1, 81, 1, 81, 1, 81, 1, 81, 1, 81, 5, 81, 857, 8, 81, 10, 81, 12, 81, 860, 9, 81, 1, 81, 1, 81, 1, 81, 1, 81, 1, 81, 1, 81, 5, 81, 868, 8, 81, 10, 81, 12, 81, 871, 9, 81, 1, 81, 1, 81, 3, 81, 875, 8, 81, 1, 82, 1, 82, 1, 83, 1, 83, 3, 83, 881, 8, 83, 1, 84, 3, 84, 884, 8, 84, 1, 84, 1, 84, 1, 85, 3, 85, 889, 8, 85, 1, 85, 1, 85, 1, 86, 1, 86, 1, 87, 1, 87, 1, 88, 1, 88, 1, 88, 1, 88, 1, 88, 1, 89, 1, 89, 1, 89, 3, 89, 905, 8, 89, 1, 89, 1, 89, 1, 89, 3, 89, 910, 8, 89, 1, 90, 1, 90, 1, 90, 1, 90, 5, 90, 916, 8, 90, 10, 90, 12, 90, 919, 9, 90, 1, 90, 0, 5, 4, 118, 140, 148, 150, 91, 0, 2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 22, 24, 26, 28, 30, 32, 34, 36, 38, 40, 42, 44, 46, 48, 50, 52, 54, 56, 58, 60, 62, 64, 66, 68, 70, 72, 74, 76, 78, 80, 82, 84, 86, 88, 90, 92, 94, 96, 98, 100, 102, 104, 106, 108, 110, 112, 114, 116, 118, 120, 122, 124, 126, 128, 130, 132, 134, 136, 138, 140, 142, 144, 146, 148, 150, 152, 154, 156, 158, 160, 162, 164, 166, 168, 170, 172, 174, 176, 178, 180, 0, 10, 2, 0, 51, 51, 106, 106, 1, 0, 100, 101, 2, 0, 55, 55, 62, 62, 2, 0, 65, 65, 68, 68, 2, 0, 40, 40, 51, 51, 1, 0, 86, 87, 1, 0, 88, 90, 2, 0, 64, 64, 77, 77, 2, 0, 79, 79, 81, 85, 2, 0, 24, 24, 26, 27, 964, 0, 194, 1, 0, 0, 0, 2, 196, 1, 0, 0, 0, 4, 199, 1, 0, 0, 0, 6, 216, 1, 0, 0, 0, 8, 243, 1, 0, 0, 0, 10, 245, 1, 0, 0, 0, 12, 248, 1, 0, 0, 0, 14, 250, 1, 0, 0, 0, 16, 253, 1, 0, 0, 0, 18, 264, 1, 0, 0, 0, 20, 268, 1, 0, 0, 0, 22, 276, 1, 0, 0, 0, 24, 281, 1, 0, 0, 0, 26, 284, 1, 0, 0, 0, 28, 287, 1, 0, 0, 0, 30, 307, 1, 0, 0, 0, 32, 309, 1, 0, 0, 0, 34, 311, 1, 0, 0, 0, 36, 313, 1, 0, 0, 0, 38, 315, 1, 0, 0, 0, 40, 317, 1, 0, 0, 0, 42, 326, 1, 0, 0, 0, 44, 329, 1, 0, 0, 0, 46, 337, 1, 0, 0, 0, 48, 345, 1, 0, 0, 0, 50, 362, 1, 0, 0, 0, 52, 364, 1, 0, 0, 0, 54, 384, 1, 0, 0, 0, 56, 386, 1, 0, 0, 0, 58, 394, 1, 0, 0, 0, 60, 402, 1, 0, 0, 0, 62, 407, 1, 0, 0, 0, 64, 411, 1, 0, 0, 0, 66, 415, 1, 0, 0, 0, 68, 420, 1, 0, 0, 0, 70, 422, 1, 0, 0, 0, 72, 425, 1, 0, 0, 0, 74, 434, 1, 0, 0, 0, 76, 442, 1, 0, 0, 0, 78, 445, 1, 0, 0, 0, 80, 448, 1, 0, 0, 0, 82, 465, 1, 0, 0, 0, 84, 467, 1, 0, 0, 0, 86, 473, 1, 0, 0, 0, 88, 481, 1, 0, 0, 0, 90, 487, 1, 0, 0, 0, 92, 489, 1, 0, 0, 0, 94, 493, 1, 0, 0, 0, 96, 496, 1, 0, 0, 0, 98, 499, 1, 0, 0, 0, 100, 503, 1, 0, 0, 0, 102, 506, 1, 0, 0, 0, 104, 523, 1, 0, 0, 0, 106, 528, 1, 0, 0, 0, 108, 532, 1, 0, 0, 0, 110, 535, 1, 0, 0, 0, 112, 548, 1, 0, 0, 0, 114, 552, 1, 0, 0, 0, 116, 556, 1, 0, 0, 0, 118, 560, 1, 0, 0, 0, 120, 571, 1, 0, 0, 0, 122, 573, 1, 0, 0, 0, 124, 584, 1, 0, 0, 0, 126, 606, 1, 0, 0, 0, 128, 608, 1, 0, 0, 0, 130, 613, 1, 0, 0, 0, 132, 616, 1, 0, 0, 0, 134, 637, 1, 0, 0, 0, 136, 639, 1, 0, 0, 0, 138, 643, 1, 0, 0, 0, 140, 676, 1, 0, 0, 0, 142, 735, 1, 0, 0, 0, 144, 737, 1, 0, 0, 0, 146, 750, 1, 0, 0, 0, 148, 756, 1, 0, 0, 0, 150, 777, 1, 0, 0, 0, 152, 787, 1, 0, 0, 0, 154, 809, 1, 0, 0, 0, 156, 811, 1, 0, 0, 0, 158, 824, 1, 0, 0, 0, 160, 830, 1, 0, 0, 0, 162, 874, 1, 0, 0, 0, 164, 876, 1, 0, 0, 0, 166, 880, 1, 0, 0, 0, 168, 883, 1, 0, 0, 0, 170, 888, 1, 0, 0, 0, 172, 892, 1, 0, 0, 0, 174, 894, 1, 0, 0, 0, 176, 896, 1, 0, 0, 0, 178, 909, 1, 0, 0, 0, 180, 911, 1, 0, 0, 0, 182, 184, 4, 0, 0, 0, 183, 185, 3, 136, 68, 0, 184, 183, 1, 0, 0, 0, 185, 186, 1, 0, 0, 0, 186, 184, 1, 0, 0, 0, 186, 187, 1, 0, 0, 0, 187, 188, 1, 0, 0, 0, 188, 189, 3, 2, 1, 0, 189, 190, 5, 0, 0, 1, 190, 195, 1, 0, 0, 0, 191, 192, 3, 2, 1, 0, 192, 193, 5, 0, 0, 1, 193, 195, 1, 0, 0, 0, 194, 182, 1, 0, 0, 0, 194, 191, 1, 0, 0, 0, 195, 1, 1, 0, 0, 0, 196, 197, 3, 4, 2, 0, 197, 198, 5, 0, 0, 1, 198, 3, 1, 0, 0, 0, 199, 200, 6, 2, -1, 0, 200, 201, 3, 6, 3, 0, 201, 207, 1, 0, 0, 0, 202, 203, 10, 1, 0, 0, 203, 204, 5, 50, 0, 0, 204, 206, 3, 8, 4, 0, 205, 202, 1, 0, 0, 0, 206, 209, 1, 0, 0, 0, 207, 205, 1, 0, 0, 0, 207, 208, 1, 0, 0, 0, 208, 5, 1, 0, 0, 0, 209, 207, 1, 0, 0, 0, 210, 217, 3, 24, 12, 0, 211, 217, 3, 14, 7, 0, 212, 217, 3, 100, 50, 0, 213, 217, 3, 26, 13, 0, 214, 215, 4, 3, 2, 0, 215, 217, 3, 96, 48, 0, 216, 210, 1, 0, 0, 0, 216, 211, 1, 0, 0, 0, 216, 212, 1, 0, 0, 0, 216, 213, 1, 0, 0, 0, 216, 214, 1, 0, 0, 0, 217, 7, 1, 0, 0, 0, 218, 244, 3, 42, 21, 0, 219, 244, 3, 10, 5, 0, 220, 244, 3, 76, 38, 0, 221, 244, 3, 70, 35, 0, 222, 244, 3, 44, 22, 0, 223, 244, 3, 72, 36, 0, 224, 244, 3, 78, 39, 0, 225, 244, 3, 80, 40, 0, 226, 244, 3, 84, 42, 0, 227, 244, 3, 92, 46, 0, 228, 244, 3, 102, 51, 0, 229, 244, 3, 94, 47, 0, 230, 244, 3, 176, 88, 0, 231, 244, 3, 110, 55, 0, 232, 244, 3, 124, 62, 0, 233, 244, 3, 108, 54, 0, 234, 244, 3, 112, 56, 0, 235, 244, 3, 122, 61, 0, 236, 244, 3, 126, 63, 0, 237, 238, 4, 4, 3, 0, 238, 244, 3, 128, 64, 0, 239, 240, 4, 4, 4, 0, 240, 244, 3, 130, 65, 0, 241, 242, 4, 4, 5, 0, 242, 244, 3, 132, 66, 0, 243, 218, 1, 0, 0, 0, 243, 219, 1, 0, 0, 0, 243, 220, 1, 0, 0, 0, 243, 221, 1, 0, 0, 0, 243, 222, 1, 0, 0, 0, 243, 223, 1, 0, 0, 0, 243, 224, 1, 0, 0, 0, 243, 225, 1, 0, 0, 0, 243, 226, 1, 0, 0, 0, 243, 227, 1, 0, 0, 0, 243, 228, 1, 0, 0, 0, 243, 229, 1, 0, 0, 0, 243, 230, 1, 0, 0, 0, 243, 231, 1, 0, 0, 0, 243, 232, 1, 0, 0, 0, 243, 233, 1, 0, 0, 0, 243, 234, 1, 0, 0, 0, 243, 235, 1, 0, 0, 0, 243, 236, 1, 0, 0, 0, 243, 237, 1, 0, 0, 0, 243, 239, 1, 0, 0, 0, 243, 241, 1, 0, 0, 0, 244, 9, 1, 0, 0, 0, 245, 246, 5, 17, 0, 0, 246, 247, 3, 140, 70, 0, 247, 11, 1, 0, 0, 0, 248, 249, 3, 60, 30, 0, 249, 13, 1, 0, 0, 0, 250, 251, 5, 13, 0, 0, 251, 252, 3, 16, 8, 0, 252, 15, 1, 0, 0, 0, 253, 258, 3, 18, 9, 0, 254, 255, 5, 61, 0, 0, 255, 257, 3, 18, 9, 0, 256, 254, 1, 0, 0, 0, 257, 260, 1, 0, 0, 0, 258, 256, 1, 0, 0, 0, 258, 259, 1, 0, 0, 0, 259, 17, 1, 0, 0, 0, 260, 258, 1, 0, 0, 0, 261, 262, 3, 50, 25, 0, 262, 263, 5, 56, 0, 0, 263, 265, 1, 0, 0, 0, 264, 261, 1, 0, 0, 0, 264, 265, 1, 0, 0, 0, 265, 266, 1, 0, 0, 0, 266, 267, 3, 140, 70, 0, 267, 19, 1, 0, 0, 0, 268, 273, 3, 22, 11, 0, 269, 270, 5, 61, 0, 0, 270, 272, 3, 22, 11, 0, 271, 269, 1, 0, 0, 0, 272, 275, 1, 0, 0, 0, 273, 271, 1, 0, 0, 0, 273, 274, 1, 0, 0, 0, 274, 21, 1, 0, 0, 0, 275, 273, 1, 0, 0, 0, 276, 279, 3, 50, 25, 0, 277, 278, 5, 56, 0, 0, 278, 280, 3, 140, 70, 0, 279, 277, 1, 0, 0, 0, 279, 280, 1, 0, 0, 0, 280, 23, 1, 0, 0, 0, 281, 282, 5, 18, 0, 0, 282, 283, 3, 28, 14, 0, 283, 25, 1, 0, 0, 0, 284, 285, 5, 19, 0, 0, 285, 286, 3, 28, 14, 0, 286, 27, 1, 0, 0, 0, 287, 292, 3, 30, 15, 0, 288, 289, 5, 61, 0, 0, 289, 291, 3, 30, 15, 0, 290, 288, 1, 0, 0, 0, 291, 294, 1, 0, 0, 0, 292, 290, 1, 0, 0, 0, 292, 293, 1, 0, 0, 0, 293, 296, 1, 0, 0, 0, 294, 292, 1, 0, 0, 0, 295, 297, 3, 40, 20, 0, 296, 295, 1, 0, 0, 0, 296, 297, 1, 0, 0, 0, 297, 29, 1, 0, 0, 0, 298, 299, 3, 32, 16, 0, 299, 300, 5, 59, 0, 0, 300, 301, 3, 36, 18, 0, 301, 308, 1, 0, 0, 0, 302, 303, 3, 36, 18, 0, 303, 304, 5, 58, 0, 0, 304, 305, 3, 34, 17, 0, 305, 308, 1, 0, 0, 0, 306, 308, 3, 38, 19, 0, 307, 298, 1, 0, 0, 0, 307, 302, 1, 0, 0, 0, 307, 306, 1, 0, 0, 0, 308, 31, 1, 0, 0, 0, 309, 310, 5, 106, 0, 0, 310, 33, 1, 0, 0, 0, 311, 312, 5, 106, 0, 0, 312, 35, 1, 0, 0, 0, 313, 314, 5, 106, 0, 0, 314, 37, 1, 0, 0, 0, 315, 316, 7, 0, 0, 0, 316, 39, 1, 0, 0, 0, 317, 318, 5, 105, 0, 0, 318, 323, 5, 106, 0, 0, 319, 320, 5, 61, 0, 0, 320, 322, 5, 106, 0, 0, 321, 319, 1, 0, 0, 0, 322, 325, 1, 0, 0, 0, 323, 321, 1, 0, 0, 0, 323, 324, 1, 0, 0, 0, 324, 41, 1, 0, 0, 0, 325, 323, 1, 0, 0, 0, 326, 327, 5, 9, 0, 0, 327, 328, 3, 16, 8, 0, 328, 43, 1, 0, 0, 0, 329, 331, 5, 16, 0, 0, 330, 332, 3, 46, 23, 0, 331, 330, 1, 0, 0, 0, 331, 332, 1, 0, 0, 0, 332, 335, 1, 0, 0, 0, 333, 334, 5, 57, 0, 0, 334, 336, 3, 16, 8, 0, 335, 333, 1, 0, 0, 0, 335, 336, 1, 0, 0, 0, 336, 45, 1, 0, 0, 0, 337, 342, 3, 48, 24, 0, 338, 339, 5, 61, 0, 0, 339, 341, 3, 48, 24, 0, 340, 338, 1, 0, 0, 0, 341, 344, 1, 0, 0, 0, 342, 340, 1, 0, 0, 0, 342, 343, 1, 0, 0, 0, 343, 47, 1, 0, 0, 0, 344, 342, 1, 0, 0, 0, 345, 348, 3, 18, 9, 0, 346, 347, 5, 17, 0, 0, 347, 349, 3, 140, 70, 0, 348, 346, 1, 0, 0, 0, 348, 349, 1, 0, 0, 0, 349, 49, 1, 0, 0, 0, 350, 351, 4, 25, 6, 0, 351, 353, 5, 96, 0, 0, 352, 354, 5, 100, 0, 0, 353, 352, 1, 0, 0, 0, 353, 354, 1, 0, 0, 0, 354, 355, 1, 0, 0, 0, 355, 356, 5, 97, 0, 0, 356, 357, 5, 63, 0, 0, 357, 358, 5, 96, 0, 0, 358, 359, 3, 52, 26, 0, 359, 360, 5, 97, 0, 0, 360, 363, 1, 0, 0, 0, 361, 363, 3, 52, 26, 0, 362, 350, 1, 0, 0, 0, 362, 361, 1, 0, 0, 0, 363, 51, 1, 0, 0, 0, 364, 369, 3, 68, 34, 0, 365, 366, 5, 63, 0, 0, 366, 368, 3, 68, 34, 0, 367, 365, 1, 0, 0, 0, 368, 371, 1, 0, 0, 0, 369, 367, 1, 0, 0, 0, 369, 370, 1, 0, 0, 0, 370, 53, 1, 0, 0, 0, 371, 369, 1, 0, 0, 0, 372, 373, 4, 27, 7, 0, 373, 375, 5, 96, 0, 0, 374, 376, 5, 137, 0, 0, 375, 374, 1, 0, 0, 0, 375, 376, 1, 0, 0, 0, 376, 377, 1, 0, 0, 0, 377, 378, 5, 97, 0, 0, 378, 379, 5, 63, 0, 0, 379, 380, 5, 96, 0, 0, 380, 381, 3, 56, 28, 0, 381, 382, 5, 97, 0, 0, 382, 385, 1, 0, 0, 0, 383, 385, 3, 56, 28, 0, 384, 372, 1, 0, 0, 0, 384, 383, 1, 0, 0, 0, 385, 55, 1, 0, 0, 0, 386, 391, 3, 62, 31, 0, 387, 388, 5, 63, 0, 0, 388, 390, 3, 62, 31, 0, 389, 387, 1, 0, 0, 0, 390, 393, 1, 0, 0, 0, 391, 389, 1, 0, 0, 0, 391, 392, 1, 0, 0, 0, 392, 57, 1, 0, 0, 0, 393, 391, 1, 0, 0, 0, 394, 399, 3, 54, 27, 0, 395, 396, 5, 61, 0, 0, 396, 398, 3, 54, 27, 0, 397, 395, 1, 0, 0, 0, 398, 401, 1, 0, 0, 0, 399, 397, 1, 0, 0, 0, 399, 400, 1, 0, 0, 0, 400, 59, 1, 0, 0, 0, 401, 399, 1, 0, 0, 0, 402, 403, 7, 1, 0, 0, 403, 61, 1, 0, 0, 0, 404, 408, 5, 137, 0, 0, 405, 408, 3, 64, 32, 0, 406, 408, 3, 66, 33, 0, 407, 404, 1, 0, 0, 0, 407, 405, 1, 0, 0, 0, 407, 406, 1, 0, 0, 0, 408, 63, 1, 0, 0, 0, 409, 412, 5, 75, 0, 0, 410, 412, 5, 94, 0, 0, 411, 409, 1, 0, 0, 0, 411, 410, 1, 0, 0, 0, 412, 65, 1, 0, 0, 0, 413, 416, 5, 93, 0, 0, 414, 416, 5, 95, 0, 0, 415, 413, 1, 0, 0, 0, 415, 414, 1, 0, 0, 0, 416, 67, 1, 0, 0, 0, 417, 421, 3, 60, 30, 0, 418, 421, 3, 64, 32, 0, 419, 421, 3, 66, 33, 0, 420, 417, 1, 0, 0, 0, 420, 418, 1, 0, 0, 0, 420, 419, 1, 0, 0, 0, 421, 69, 1, 0, 0, 0, 422, 423, 5, 11, 0, 0, 423, 424, 3, 162, 81, 0, 424, 71, 1, 0, 0, 0, 425, 426, 5, 15, 0, 0, 426, 431, 3, 74, 37, 0, 427, 428, 5, 61, 0, 0, 428, 430, 3, 74, 37, 0, 429, 427, 1, 0, 0, 0, 430, 433, 1, 0, 0, 0, 431, 429, 1, 0, 0, 0, 431, 432, 1, 0, 0, 0, 432, 73, 1, 0, 0, 0, 433, 431, 1, 0, 0, 0, 434, 436, 3, 140, 70, 0, 435, 437, 7, 2, 0, 0, 436, 435, 1, 0, 0, 0, 436, 437, 1, 0, 0, 0, 437, 440, 1, 0, 0, 0, 438, 439, 5, 72, 0, 0, 439, 441, 7, 3, 0, 0, 440, 438, 1, 0, 0, 0, 440, 441, 1, 0, 0, 0, 441, 75, 1, 0, 0, 0, 442, 443, 5, 31, 0, 0, 443, 444, 3, 58, 29, 0, 444, 77, 1, 0, 0, 0, 445, 446, 5, 30, 0, 0, 446, 447, 3, 58, 29, 0, 447, 79, 1, 0, 0, 0, 448, 449, 5, 33, 0, 0, 449, 454, 3, 82, 41, 0, 450, 451, 5, 61, 0, 0, 451, 453, 3, 82, 41, 0, 452, 450, 1, 0, 0, 0, 453, 456, 1, 0, 0, 0, 454, 452, 1, 0, 0, 0, 454, 455, 1, 0, 0, 0, 455, 81, 1, 0, 0, 0, 456, 454, 1, 0, 0, 0, 457, 458, 3, 54, 27, 0, 458, 459, 5, 141, 0, 0, 459, 460, 3, 54, 27, 0, 460, 466, 1, 0, 0, 0, 461, 462, 3, 54, 27, 0, 462, 463, 5, 56, 0, 0, 463, 464, 3, 54, 27, 0, 464, 466, 1, 0, 0, 0, 465, 457, 1, 0, 0, 0, 465, 461, 1, 0, 0, 0, 466, 83, 1, 0, 0, 0, 467, 468, 5, 8, 0, 0, 468, 469, 3, 150, 75, 0, 469, 471, 3, 172, 86, 0, 470, 472, 3, 86, 43, 0, 471, 470, 1, 0, 0, 0, 471, 472, 1, 0, 0, 0, 472, 85, 1, 0, 0, 0, 473, 478, 3, 88, 44, 0, 474, 475, 5, 61, 0, 0, 475, 477, 3, 88, 44, 0, 476, 474, 1, 0, 0, 0, 477, 480, 1, 0, 0, 0, 478, 476, 1, 0, 0, 0, 478, 479, 1, 0, 0, 0, 479, 87, 1, 0, 0, 0, 480, 478, 1, 0, 0, 0, 481, 482, 3, 60, 30, 0, 482, 483, 5, 56, 0, 0, 483, 484, 3, 162, 81, 0, 484, 89, 1, 0, 0, 0, 485, 486, 5, 78, 0, 0, 486, 488, 3, 156, 78, 0, 487, 485, 1, 0, 0, 0, 487, 488, 1, 0, 0, 0, 488, 91, 1, 0, 0, 0, 489, 490, 5, 10, 0, 0, 490, 491, 3, 150, 75, 0, 491, 492, 3, 172, 86, 0, 492, 93, 1, 0, 0, 0, 493, 494, 5, 29, 0, 0, 494, 495, 3, 50, 25, 0, 495, 95, 1, 0, 0, 0, 496, 497, 5, 6, 0, 0, 497, 498, 3, 98, 49, 0, 498, 97, 1, 0, 0, 0, 499, 500, 5, 98, 0, 0, 500, 501, 3, 4, 2, 0, 501, 502, 5, 99, 0, 0, 502, 99, 1, 0, 0, 0, 503, 504, 5, 35, 0, 0, 504, 505, 5, 148, 0, 0, 505, 101, 1, 0, 0, 0, 506, 507, 5, 5, 0, 0, 507, 510, 3, 104, 52, 0, 508, 509, 5, 73, 0, 0, 509, 511, 3, 54, 27, 0, 510, 508, 1, 0, 0, 0, 510, 511, 1, 0, 0, 0, 511, 521, 1, 0, 0, 0, 512, 513, 5, 78, 0, 0, 513, 518, 3, 106, 53, 0, 514, 515, 5, 61, 0, 0, 515, 517, 3, 106, 53, 0, 516, 514, 1, 0, 0, 0, 517, 520, 1, 0, 0, 0, 518, 516, 1, 0, 0, 0, 518, 519, 1, 0, 0, 0, 519, 522, 1, 0, 0, 0, 520, 518, 1, 0, 0, 0, 521, 512, 1, 0, 0, 0, 521, 522, 1, 0, 0, 0, 522, 103, 1, 0, 0, 0, 523, 524, 7, 4, 0, 0, 524, 105, 1, 0, 0, 0, 525, 526, 3, 54, 27, 0, 526, 527, 5, 56, 0, 0, 527, 529, 1, 0, 0, 0, 528, 525, 1, 0, 0, 0, 528, 529, 1, 0, 0, 0, 529, 530, 1, 0, 0, 0, 530, 531, 3, 54, 27, 0, 531, 107, 1, 0, 0, 0, 532, 533, 5, 14, 0, 0, 533, 534, 3, 162, 81, 0, 534, 109, 1, 0, 0, 0, 535, 536, 5, 4, 0, 0, 536, 539, 3, 50, 25, 0, 537, 538, 5, 73, 0, 0, 538, 540, 3, 50, 25, 0, 539, 537, 1, 0, 0, 0, 539, 540, 1, 0, 0, 0, 540, 546, 1, 0, 0, 0, 541, 542, 5, 141, 0, 0, 542, 543, 3, 50, 25, 0, 543, 544, 5, 61, 0, 0, 544, 545, 3, 50, 25, 0, 545, 547, 1, 0, 0, 0, 546, 541, 1, 0, 0, 0, 546, 547, 1, 0, 0, 0, 547, 111, 1, 0, 0, 0, 548, 549, 5, 20, 0, 0, 549, 550, 3, 114, 57, 0, 550, 113, 1, 0, 0, 0, 551, 553, 3, 116, 58, 0, 552, 551, 1, 0, 0, 0, 553, 554, 1, 0, 0, 0, 554, 552, 1, 0, 0, 0, 554, 555, 1, 0, 0, 0, 555, 115, 1, 0, 0, 0, 556, 557, 5, 98, 0, 0, 557, 558, 3, 118, 59, 0, 558, 559, 5, 99, 0, 0, 559, 117, 1, 0, 0, 0, 560, 561, 6, 59, -1, 0, 561, 562, 3, 120, 60, 0, 562, 568, 1, 0, 0, 0, 563, 564, 10, 1, 0, 0, 564, 565, 5, 50, 0, 0, 565, 567, 3, 120, 60, 0, 566, 563, 1, 0, 0, 0, 567, 570, 1, 0, 0, 0, 568, 566, 1, 0, 0, 0, 568, 569, 1, 0, 0, 0, 569, 119, 1, 0, 0, 0, 570, 568, 1, 0, 0, 0, 571, 572, 3, 8, 4, 0, 572, 121, 1, 0, 0, 0, 573, 577, 5, 12, 0, 0, 574, 575, 3, 50, 25, 0, 575, 576, 5, 56, 0, 0, 576, 578, 1, 0, 0, 0, 577, 574, 1, 0, 0, 0, 577, 578, 1, 0, 0, 0, 578, 579, 1, 0, 0, 0, 579, 580, 3, 162, 81, 0, 580, 581, 5, 73, 0, 0, 581, 582, 3, 20, 10, 0, 582, 583, 3, 90, 45, 0, 583, 123, 1, 0, 0, 0, 584, 588, 5, 7, 0, 0, 585, 586, 3, 50, 25, 0, 586, 587, 5, 56, 0, 0, 587, 589, 1, 0, 0, 0, 588, 585, 1, 0, 0, 0, 588, 589, 1, 0, 0, 0, 589, 590, 1, 0, 0, 0, 590, 591, 3, 150, 75, 0, 591, 592, 3, 90, 45, 0, 592, 125, 1, 0, 0, 0, 593, 594, 5, 22, 0, 0, 594, 595, 5, 119, 0, 0, 595, 598, 3, 46, 23, 0, 596, 597, 5, 57, 0, 0, 597, 599, 3, 16, 8, 0, 598, 596, 1, 0, 0, 0, 598, 599, 1, 0, 0, 0, 599, 607, 1, 0, 0, 0, 600, 601, 5, 23, 0, 0, 601, 604, 3, 46, 23, 0, 602, 603, 5, 57, 0, 0, 603, 605, 3, 16, 8, 0, 604, 602, 1, 0, 0, 0, 604, 605, 1, 0, 0, 0, 605, 607, 1, 0, 0, 0, 606, 593, 1, 0, 0, 0, 606, 600, 1, 0, 0, 0, 607, 127, 1, 0, 0, 0, 608, 609, 5, 28, 0, 0, 609, 610, 3, 30, 15, 0, 610, 611, 5, 73, 0, 0, 611, 612, 3, 58, 29, 0, 612, 129, 1, 0, 0, 0, 613, 614, 5, 32, 0, 0, 614, 615, 3, 58, 29, 0, 615, 131, 1, 0, 0, 0, 616, 618, 5, 21, 0, 0, 617, 619, 3, 60, 30, 0, 618, 617, 1, 0, 0, 0, 618, 619, 1, 0, 0, 0, 619, 623, 1, 0, 0, 0, 620, 622, 3, 134, 67, 0, 621, 620, 1, 0, 0, 0, 622, 625, 1, 0, 0, 0, 623, 621, 1, 0, 0, 0, 623, 624, 1, 0, 0, 0, 624, 133, 1, 0, 0, 0, 625, 623, 1, 0, 0, 0, 626, 627, 5, 114, 0, 0, 627, 628, 5, 57, 0, 0, 628, 638, 3, 50, 25, 0, 629, 630, 5, 115, 0, 0, 630, 631, 5, 57, 0, 0, 631, 638, 3, 16, 8, 0, 632, 633, 5, 113, 0, 0, 633, 634, 5, 57, 0, 0, 634, 638, 3, 50, 25, 0, 635, 636, 5, 78, 0, 0, 636, 638, 3, 156, 78, 0, 637, 626, 1, 0, 0, 0, 637, 629, 1, 0, 0, 0, 637, 632, 1, 0, 0, 0, 637, 635, 1, 0, 0, 0, 638, 135, 1, 0, 0, 0, 639, 640, 5, 34, 0, 0, 640, 641, 3, 138, 69, 0, 641, 642, 5, 60, 0, 0, 642, 137, 1, 0, 0, 0, 643, 644, 3, 60, 30, 0, 644, 645, 5, 56, 0, 0, 645, 646, 3, 162, 81, 0, 646, 139, 1, 0, 0, 0, 647, 648, 6, 70, -1, 0, 648, 649, 5, 70, 0, 0, 649, 677, 3, 140, 70, 8, 650, 677, 3, 146, 73, 0, 651, 677, 3, 142, 71, 0, 652, 654, 3, 146, 73, 0, 653, 655, 5, 70, 0, 0, 654, 653, 1, 0, 0, 0, 654, 655, 1, 0, 0, 0, 655, 656, 1, 0, 0, 0, 656, 657, 5, 66, 0, 0, 657, 658, 5, 98, 0, 0, 658, 663, 3, 146, 73, 0, 659, 660, 5, 61, 0, 0, 660, 662, 3, 146, 73, 0, 661, 659, 1, 0, 0, 0, 662, 665, 1, 0, 0, 0, 663, 661, 1, 0, 0, 0, 663, 664, 1, 0, 0, 0, 664, 666, 1, 0, 0, 0, 665, 663, 1, 0, 0, 0, 666, 667, 5, 99, 0, 0, 667, 677, 1, 0, 0, 0, 668, 669, 3, 146, 73, 0, 669, 671, 5, 67, 0, 0, 670, 672, 5, 70, 0, 0, 671, 670, 1, 0, 0, 0, 671, 672, 1, 0, 0, 0, 672, 673, 1, 0, 0, 0, 673, 674, 5, 71, 0, 0, 674, 677, 1, 0, 0, 0, 675, 677, 3, 144, 72, 0, 676, 647, 1, 0, 0, 0, 676, 650, 1, 0, 0, 0, 676, 651, 1, 0, 0, 0, 676, 652, 1, 0, 0, 0, 676, 668, 1, 0, 0, 0, 676, 675, 1, 0, 0, 0, 677, 686, 1, 0, 0, 0, 678, 679, 10, 5, 0, 0, 679, 680, 5, 54, 0, 0, 680, 685, 3, 140, 70, 6, 681, 682, 10, 4, 0, 0, 682, 683, 5, 74, 0, 0, 683, 685, 3, 140, 70, 5, 684, 678, 1, 0, 0, 0, 684, 681, 1, 0, 0, 0, 685, 688, 1, 0, 0, 0, 686, 684, 1, 0, 0, 0, 686, 687, 1, 0, 0, 0, 687, 141, 1, 0, 0, 0, 688, 686, 1, 0, 0, 0, 689, 691, 3, 146, 73, 0, 690, 692, 5, 70, 0, 0, 691, 690, 1, 0, 0, 0, 691, 692, 1, 0, 0, 0, 692, 693, 1, 0, 0, 0, 693, 694, 5, 69, 0, 0, 694, 695, 3, 172, 86, 0, 695, 736, 1, 0, 0, 0, 696, 698, 3, 146, 73, 0, 697, 699, 5, 70, 0, 0, 698, 697, 1, 0, 0, 0, 698, 699, 1, 0, 0, 0, 699, 700, 1, 0, 0, 0, 700, 701, 5, 76, 0, 0, 701, 702, 3, 172, 86, 0, 702, 736, 1, 0, 0, 0, 703, 705, 3, 146, 73, 0, 704, 706, 5, 70, 0, 0, 705, 704, 1, 0, 0, 0, 705, 706, 1, 0, 0, 0, 706, 707, 1, 0, 0, 0, 707, 708, 5, 69, 0, 0, 708, 709, 5, 98, 0, 0, 709, 714, 3, 172, 86, 0, 710, 711, 5, 61, 0, 0, 711, 713, 3, 172, 86, 0, 712, 710, 1, 0, 0, 0, 713, 716, 1, 0, 0, 0, 714, 712, 1, 0, 0, 0, 714, 715, 1, 0, 0, 0, 715, 717, 1, 0, 0, 0, 716, 714, 1, 0, 0, 0, 717, 718, 5, 99, 0, 0, 718, 736, 1, 0, 0, 0, 719, 721, 3, 146, 73, 0, 720, 722, 5, 70, 0, 0, 721, 720, 1, 0, 0, 0, 721, 722, 1, 0, 0, 0, 722, 723, 1, 0, 0, 0, 723, 724, 5, 76, 0, 0, 724, 725, 5, 98, 0, 0, 725, 730, 3, 172, 86, 0, 726, 727, 5, 61, 0, 0, 727, 729, 3, 172, 86, 0, 728, 726, 1, 0, 0, 0, 729, 732, 1, 0, 0, 0, 730, 728, 1, 0, 0, 0, 730, 731, 1, 0, 0, 0, 731, 733, 1, 0, 0, 0, 732, 730, 1, 0, 0, 0, 733, 734, 5, 99, 0, 0, 734, 736, 1, 0, 0, 0, 735, 689, 1, 0, 0, 0, 735, 696, 1, 0, 0, 0, 735, 703, 1, 0, 0, 0, 735, 719, 1, 0, 0, 0, 736, 143, 1, 0, 0, 0, 737, 740, 3, 50, 25, 0, 738, 739, 5, 58, 0, 0, 739, 741, 3, 12, 6, 0, 740, 738, 1, 0, 0, 0, 740, 741, 1, 0, 0, 0, 741, 742, 1, 0, 0, 0, 742, 743, 5, 59, 0, 0, 743, 744, 3, 162, 81, 0, 744, 145, 1, 0, 0, 0, 745, 751, 3, 148, 74, 0, 746, 747, 3, 148, 74, 0, 747, 748, 3, 174, 87, 0, 748, 749, 3, 148, 74, 0, 749, 751, 1, 0, 0, 0, 750, 745, 1, 0, 0, 0, 750, 746, 1, 0, 0, 0, 751, 147, 1, 0, 0, 0, 752, 753, 6, 74, -1, 0, 753, 757, 3, 150, 75, 0, 754, 755, 7, 5, 0, 0, 755, 757, 3, 148, 74, 3, 756, 752, 1, 0, 0, 0, 756, 754, 1, 0, 0, 0, 757, 766, 1, 0, 0, 0, 758, 759, 10, 2, 0, 0, 759, 760, 7, 6, 0, 0, 760, 765, 3, 148, 74, 3, 761, 762, 10, 1, 0, 0, 762, 763, 7, 5, 0, 0, 763, 765, 3, 148, 74, 2, 764, 758, 1, 0, 0, 0, 764, 761, 1, 0, 0, 0, 765, 768, 1, 0, 0, 0, 766, 764, 1, 0, 0, 0, 766, 767, 1, 0, 0, 0, 767, 149, 1, 0, 0, 0, 768, 766, 1, 0, 0, 0, 769, 770, 6, 75, -1, 0, 770, 778, 3, 162, 81, 0, 771, 778, 3, 50, 25, 0, 772, 778, 3, 152, 76, 0, 773, 774, 5, 98, 0, 0, 774, 775, 3, 140, 70, 0, 775, 776, 5, 99, 0, 0, 776, 778, 1, 0, 0, 0, 777, 769, 1, 0, 0, 0, 777, 771, 1, 0, 0, 0, 777, 772, 1, 0, 0, 0, 777, 773, 1, 0, 0, 0, 778, 784, 1, 0, 0, 0, 779, 780, 10, 1, 0, 0, 780, 781, 5, 58, 0, 0, 781, 783, 3, 12, 6, 0, 782, 779, 1, 0, 0, 0, 783, 786, 1, 0, 0, 0, 784, 782, 1, 0, 0, 0, 784, 785, 1, 0, 0, 0, 785, 151, 1, 0, 0, 0, 786, 784, 1, 0, 0, 0, 787, 788, 3, 154, 77, 0, 788, 802, 5, 98, 0, 0, 789, 803, 5, 88, 0, 0, 790, 795, 3, 140, 70, 0, 791, 792, 5, 61, 0, 0, 792, 794, 3, 140, 70, 0, 793, 791, 1, 0, 0, 0, 794, 797, 1, 0, 0, 0, 795, 793, 1, 0, 0, 0, 795, 796, 1, 0, 0, 0, 796, 800, 1, 0, 0, 0, 797, 795, 1, 0, 0, 0, 798, 799, 5, 61, 0, 0, 799, 801, 3, 156, 78, 0, 800, 798, 1, 0, 0, 0, 800, 801, 1, 0, 0, 0, 801, 803, 1, 0, 0, 0, 802, 789, 1, 0, 0, 0, 802, 790, 1, 0, 0, 0, 802, 803, 1, 0, 0, 0, 803, 804, 1, 0, 0, 0, 804, 805, 5, 99, 0, 0, 805, 153, 1, 0, 0, 0, 806, 810, 3, 68, 34, 0, 807, 810, 5, 65, 0, 0, 808, 810, 5, 68, 0, 0, 809, 806, 1, 0, 0, 0, 809, 807, 1, 0, 0, 0, 809, 808, 1, 0, 0, 0, 810, 155, 1, 0, 0, 0, 811, 820, 5, 91, 0, 0, 812, 817, 3, 158, 79, 0, 813, 814, 5, 61, 0, 0, 814, 816, 3, 158, 79, 0, 815, 813, 1, 0, 0, 0, 816, 819, 1, 0, 0, 0, 817, 815, 1, 0, 0, 0, 817, 818, 1, 0, 0, 0, 818, 821, 1, 0, 0, 0, 819, 817, 1, 0, 0, 0, 820, 812, 1, 0, 0, 0, 820, 821, 1, 0, 0, 0, 821, 822, 1, 0, 0, 0, 822, 823, 5, 92, 0, 0, 823, 157, 1, 0, 0, 0, 824, 825, 3, 172, 86, 0, 825, 826, 5, 59, 0, 0, 826, 827, 3, 160, 80, 0, 827, 159, 1, 0, 0, 0, 828, 831, 3, 162, 81, 0, 829, 831, 3, 156, 78, 0, 830, 828, 1, 0, 0, 0, 830, 829, 1, 0, 0, 0, 831, 161, 1, 0, 0, 0, 832, 875, 5, 71, 0, 0, 833, 834, 3, 170, 85, 0, 834, 835, 5, 100, 0, 0, 835, 875, 1, 0, 0, 0, 836, 875, 3, 168, 84, 0, 837, 875, 3, 170, 85, 0, 838, 875, 3, 164, 82, 0, 839, 875, 3, 64, 32, 0, 840, 875, 3, 172, 86, 0, 841, 842, 5, 96, 0, 0, 842, 847, 3, 166, 83, 0, 843, 844, 5, 61, 0, 0, 844, 846, 3, 166, 83, 0, 845, 843, 1, 0, 0, 0, 846, 849, 1, 0, 0, 0, 847, 845, 1, 0, 0, 0, 847, 848, 1, 0, 0, 0, 848, 850, 1, 0, 0, 0, 849, 847, 1, 0, 0, 0, 850, 851, 5, 97, 0, 0, 851, 875, 1, 0, 0, 0, 852, 853, 5, 96, 0, 0, 853, 858, 3, 164, 82, 0, 854, 855, 5, 61, 0, 0, 855, 857, 3, 164, 82, 0, 856, 854, 1, 0, 0, 0, 857, 860, 1, 0, 0, 0, 858, 856, 1, 0, 0, 0, 858, 859, 1, 0, 0, 0, 859, 861, 1, 0, 0, 0, 860, 858, 1, 0, 0, 0, 861, 862, 5, 97, 0, 0, 862, 875, 1, 0, 0, 0, 863, 864, 5, 96, 0, 0, 864, 869, 3, 172, 86, 0, 865, 866, 5, 61, 0, 0, 866, 868, 3, 172, 86, 0, 867, 865, 1, 0, 0, 0, 868, 871, 1, 0, 0, 0, 869, 867, 1, 0, 0, 0, 869, 870, 1, 0, 0, 0, 870, 872, 1, 0, 0, 0, 871, 869, 1, 0, 0, 0, 872, 873, 5, 97, 0, 0, 873, 875, 1, 0, 0, 0, 874, 832, 1, 0, 0, 0, 874, 833, 1, 0, 0, 0, 874, 836, 1, 0, 0, 0, 874, 837, 1, 0, 0, 0, 874, 838, 1, 0, 0, 0, 874, 839, 1, 0, 0, 0, 874, 840, 1, 0, 0, 0, 874, 841, 1, 0, 0, 0, 874, 852, 1, 0, 0, 0, 874, 863, 1, 0, 0, 0, 875, 163, 1, 0, 0, 0, 876, 877, 7, 7, 0, 0, 877, 165, 1, 0, 0, 0, 878, 881, 3, 168, 84, 0, 879, 881, 3, 170, 85, 0, 880, 878, 1, 0, 0, 0, 880, 879, 1, 0, 0, 0, 881, 167, 1, 0, 0, 0, 882, 884, 7, 5, 0, 0, 883, 882, 1, 0, 0, 0, 883, 884, 1, 0, 0, 0, 884, 885, 1, 0, 0, 0, 885, 886, 5, 53, 0, 0, 886, 169, 1, 0, 0, 0, 887, 889, 7, 5, 0, 0, 888, 887, 1, 0, 0, 0, 888, 889, 1, 0, 0, 0, 889, 890, 1, 0, 0, 0, 890, 891, 5, 52, 0, 0, 891, 171, 1, 0, 0, 0, 892, 893, 5, 51, 0, 0, 893, 173, 1, 0, 0, 0, 894, 895, 7, 8, 0, 0, 895, 175, 1, 0, 0, 0, 896, 897, 7, 9, 0, 0, 897, 898, 5, 123, 0, 0, 898, 899, 3, 178, 89, 0, 899, 900, 3, 180, 90, 0, 900, 177, 1, 0, 0, 0, 901, 902, 4, 89, 14, 0, 902, 904, 3, 30, 15, 0, 903, 905, 5, 141, 0, 0, 904, 903, 1, 0, 0, 0, 904, 905, 1, 0, 0, 0, 905, 906, 1, 0, 0, 0, 906, 907, 5, 106, 0, 0, 907, 910, 1, 0, 0, 0, 908, 910, 3, 30, 15, 0, 909, 901, 1, 0, 0, 0, 909, 908, 1, 0, 0, 0, 910, 179, 1, 0, 0, 0, 911, 912, 5, 73, 0, 0, 912, 917, 3, 140, 70, 0, 913, 914, 5, 61, 0, 0, 914, 916, 3, 140, 70, 0, 915, 913, 1, 0, 0, 0, 916, 919, 1, 0, 0, 0, 917, 915, 1, 0, 0, 0, 917, 918, 1, 0, 0, 0, 918, 181, 1, 0, 0, 0, 919, 917, 1, 0, 0, 0, 89, 186, 194, 207, 216, 243, 258, 264, 273, 279, 292, 296, 307, 323, 331, 335, 342, 348, 353, 362, 369, 375, 384, 391, 399, 407, 411, 415, 420, 431, 436, 440, 454, 465, 471, 478, 487, 510, 518, 521, 528, 539, 546, 554, 568, 577, 588, 598, 604, 606, 618, 623, 637, 654, 663, 671, 676, 684, 686, 691, 698, 705, 714, 721, 730, 735, 740, 750, 756, 764, 766, 777, 784, 795, 800, 802, 809, 817, 820, 830, 847, 858, 869, 874, 880, 883, 888, 904, 909, 917] \ No newline at end of file +[4, 1, 151, 945, 2, 0, 7, 0, 2, 1, 7, 1, 2, 2, 7, 2, 2, 3, 7, 3, 2, 4, 7, 4, 2, 5, 7, 5, 2, 6, 7, 6, 2, 7, 7, 7, 2, 8, 7, 8, 2, 9, 7, 9, 2, 10, 7, 10, 2, 11, 7, 11, 2, 12, 7, 12, 2, 13, 7, 13, 2, 14, 7, 14, 2, 15, 7, 15, 2, 16, 7, 16, 2, 17, 7, 17, 2, 18, 7, 18, 2, 19, 7, 19, 2, 20, 7, 20, 2, 21, 7, 21, 2, 22, 7, 22, 2, 23, 7, 23, 2, 24, 7, 24, 2, 25, 7, 25, 2, 26, 7, 26, 2, 27, 7, 27, 2, 28, 7, 28, 2, 29, 7, 29, 2, 30, 7, 30, 2, 31, 7, 31, 2, 32, 7, 32, 2, 33, 7, 33, 2, 34, 7, 34, 2, 35, 7, 35, 2, 36, 7, 36, 2, 37, 7, 37, 2, 38, 7, 38, 2, 39, 7, 39, 2, 40, 7, 40, 2, 41, 7, 41, 2, 42, 7, 42, 2, 43, 7, 43, 2, 44, 7, 44, 2, 45, 7, 45, 2, 46, 7, 46, 2, 47, 7, 47, 2, 48, 7, 48, 2, 49, 7, 49, 2, 50, 7, 50, 2, 51, 7, 51, 2, 52, 7, 52, 2, 53, 7, 53, 2, 54, 7, 54, 2, 55, 7, 55, 2, 56, 7, 56, 2, 57, 7, 57, 2, 58, 7, 58, 2, 59, 7, 59, 2, 60, 7, 60, 2, 61, 7, 61, 2, 62, 7, 62, 2, 63, 7, 63, 2, 64, 7, 64, 2, 65, 7, 65, 2, 66, 7, 66, 2, 67, 7, 67, 2, 68, 7, 68, 2, 69, 7, 69, 2, 70, 7, 70, 2, 71, 7, 71, 2, 72, 7, 72, 2, 73, 7, 73, 2, 74, 7, 74, 2, 75, 7, 75, 2, 76, 7, 76, 2, 77, 7, 77, 2, 78, 7, 78, 2, 79, 7, 79, 2, 80, 7, 80, 2, 81, 7, 81, 2, 82, 7, 82, 2, 83, 7, 83, 2, 84, 7, 84, 2, 85, 7, 85, 2, 86, 7, 86, 2, 87, 7, 87, 2, 88, 7, 88, 2, 89, 7, 89, 2, 90, 7, 90, 2, 91, 7, 91, 2, 92, 7, 92, 2, 93, 7, 93, 1, 0, 1, 0, 4, 0, 191, 8, 0, 11, 0, 12, 0, 192, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 3, 0, 201, 8, 0, 1, 1, 1, 1, 1, 1, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 5, 2, 212, 8, 2, 10, 2, 12, 2, 215, 9, 2, 1, 3, 1, 3, 1, 3, 1, 3, 1, 3, 1, 3, 3, 3, 223, 8, 3, 1, 4, 1, 4, 1, 4, 1, 4, 1, 4, 1, 4, 1, 4, 1, 4, 1, 4, 1, 4, 1, 4, 1, 4, 1, 4, 1, 4, 1, 4, 1, 4, 1, 4, 1, 4, 1, 4, 1, 4, 1, 4, 1, 4, 1, 4, 1, 4, 1, 4, 3, 4, 250, 8, 4, 1, 5, 1, 5, 1, 5, 1, 6, 1, 6, 1, 7, 1, 7, 1, 7, 1, 8, 1, 8, 1, 8, 5, 8, 263, 8, 8, 10, 8, 12, 8, 266, 9, 8, 1, 9, 1, 9, 1, 9, 3, 9, 271, 8, 9, 1, 9, 1, 9, 1, 10, 1, 10, 1, 10, 5, 10, 278, 8, 10, 10, 10, 12, 10, 281, 9, 10, 1, 11, 1, 11, 1, 11, 3, 11, 286, 8, 11, 1, 12, 1, 12, 1, 12, 1, 13, 1, 13, 1, 13, 1, 14, 1, 14, 1, 14, 5, 14, 297, 8, 14, 10, 14, 12, 14, 300, 9, 14, 1, 14, 3, 14, 303, 8, 14, 1, 15, 1, 15, 1, 15, 3, 15, 308, 8, 15, 1, 16, 1, 16, 1, 16, 1, 16, 5, 16, 314, 8, 16, 10, 16, 12, 16, 317, 9, 16, 1, 16, 1, 16, 1, 17, 1, 17, 1, 18, 1, 18, 1, 18, 1, 18, 1, 18, 1, 18, 1, 18, 1, 18, 1, 18, 3, 18, 332, 8, 18, 1, 19, 1, 19, 1, 20, 1, 20, 1, 21, 1, 21, 1, 22, 1, 22, 1, 23, 1, 23, 1, 23, 1, 23, 5, 23, 346, 8, 23, 10, 23, 12, 23, 349, 9, 23, 1, 24, 1, 24, 1, 24, 1, 25, 1, 25, 3, 25, 356, 8, 25, 1, 25, 1, 25, 3, 25, 360, 8, 25, 1, 26, 1, 26, 1, 26, 5, 26, 365, 8, 26, 10, 26, 12, 26, 368, 9, 26, 1, 27, 1, 27, 1, 27, 3, 27, 373, 8, 27, 1, 28, 1, 28, 1, 28, 3, 28, 378, 8, 28, 1, 28, 1, 28, 1, 28, 1, 28, 1, 28, 1, 28, 1, 28, 3, 28, 387, 8, 28, 1, 29, 1, 29, 1, 29, 5, 29, 392, 8, 29, 10, 29, 12, 29, 395, 9, 29, 1, 30, 1, 30, 1, 30, 3, 30, 400, 8, 30, 1, 30, 1, 30, 1, 30, 1, 30, 1, 30, 1, 30, 1, 30, 3, 30, 409, 8, 30, 1, 31, 1, 31, 1, 31, 5, 31, 414, 8, 31, 10, 31, 12, 31, 417, 9, 31, 1, 32, 1, 32, 1, 32, 5, 32, 422, 8, 32, 10, 32, 12, 32, 425, 9, 32, 1, 33, 1, 33, 1, 34, 1, 34, 1, 34, 3, 34, 432, 8, 34, 1, 35, 1, 35, 3, 35, 436, 8, 35, 1, 36, 1, 36, 3, 36, 440, 8, 36, 1, 37, 1, 37, 1, 37, 3, 37, 445, 8, 37, 1, 38, 1, 38, 1, 38, 1, 39, 1, 39, 1, 39, 1, 39, 5, 39, 454, 8, 39, 10, 39, 12, 39, 457, 9, 39, 1, 40, 1, 40, 3, 40, 461, 8, 40, 1, 40, 1, 40, 3, 40, 465, 8, 40, 1, 41, 1, 41, 1, 41, 1, 42, 1, 42, 1, 42, 1, 43, 1, 43, 1, 43, 1, 43, 5, 43, 477, 8, 43, 10, 43, 12, 43, 480, 9, 43, 1, 44, 1, 44, 1, 44, 1, 44, 1, 44, 1, 44, 1, 44, 1, 44, 3, 44, 490, 8, 44, 1, 45, 1, 45, 1, 45, 1, 45, 3, 45, 496, 8, 45, 1, 46, 1, 46, 1, 46, 5, 46, 501, 8, 46, 10, 46, 12, 46, 504, 9, 46, 1, 47, 1, 47, 1, 47, 1, 47, 1, 48, 1, 48, 3, 48, 512, 8, 48, 1, 49, 1, 49, 1, 49, 1, 49, 1, 50, 1, 50, 1, 50, 1, 51, 1, 51, 1, 51, 1, 52, 1, 52, 1, 52, 1, 52, 1, 53, 1, 53, 1, 53, 1, 54, 1, 54, 1, 54, 1, 54, 3, 54, 535, 8, 54, 1, 54, 1, 54, 1, 54, 1, 54, 5, 54, 541, 8, 54, 10, 54, 12, 54, 544, 9, 54, 3, 54, 546, 8, 54, 1, 55, 1, 55, 1, 56, 1, 56, 1, 56, 3, 56, 553, 8, 56, 1, 56, 1, 56, 1, 57, 1, 57, 1, 57, 1, 58, 1, 58, 1, 58, 1, 58, 3, 58, 564, 8, 58, 1, 58, 1, 58, 1, 58, 1, 58, 1, 58, 3, 58, 571, 8, 58, 1, 59, 1, 59, 1, 59, 1, 60, 4, 60, 577, 8, 60, 11, 60, 12, 60, 578, 1, 61, 1, 61, 1, 61, 1, 61, 1, 62, 1, 62, 1, 62, 1, 62, 1, 62, 1, 62, 5, 62, 591, 8, 62, 10, 62, 12, 62, 594, 9, 62, 1, 63, 1, 63, 1, 64, 1, 64, 1, 64, 1, 64, 3, 64, 602, 8, 64, 1, 64, 1, 64, 1, 64, 1, 64, 1, 64, 1, 65, 1, 65, 1, 65, 1, 65, 3, 65, 613, 8, 65, 1, 65, 1, 65, 1, 65, 1, 66, 1, 66, 1, 66, 1, 66, 1, 66, 3, 66, 623, 8, 66, 1, 66, 1, 66, 1, 66, 1, 66, 3, 66, 629, 8, 66, 3, 66, 631, 8, 66, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 68, 1, 68, 1, 68, 1, 69, 1, 69, 3, 69, 643, 8, 69, 1, 69, 5, 69, 646, 8, 69, 10, 69, 12, 69, 649, 9, 69, 1, 70, 1, 70, 1, 70, 1, 70, 1, 70, 1, 70, 1, 70, 1, 70, 1, 70, 1, 70, 1, 70, 3, 70, 662, 8, 70, 1, 71, 1, 71, 1, 71, 1, 71, 1, 72, 1, 72, 1, 72, 1, 72, 1, 73, 1, 73, 1, 73, 1, 73, 1, 73, 1, 73, 1, 73, 3, 73, 679, 8, 73, 1, 73, 1, 73, 1, 73, 1, 73, 1, 73, 5, 73, 686, 8, 73, 10, 73, 12, 73, 689, 9, 73, 1, 73, 1, 73, 1, 73, 1, 73, 1, 73, 3, 73, 696, 8, 73, 1, 73, 1, 73, 1, 73, 3, 73, 701, 8, 73, 1, 73, 1, 73, 1, 73, 1, 73, 1, 73, 1, 73, 5, 73, 709, 8, 73, 10, 73, 12, 73, 712, 9, 73, 1, 74, 1, 74, 3, 74, 716, 8, 74, 1, 74, 1, 74, 1, 74, 1, 74, 1, 74, 3, 74, 723, 8, 74, 1, 74, 1, 74, 1, 74, 1, 74, 1, 74, 3, 74, 730, 8, 74, 1, 74, 1, 74, 1, 74, 1, 74, 1, 74, 5, 74, 737, 8, 74, 10, 74, 12, 74, 740, 9, 74, 1, 74, 1, 74, 1, 74, 1, 74, 3, 74, 746, 8, 74, 1, 74, 1, 74, 1, 74, 1, 74, 1, 74, 5, 74, 753, 8, 74, 10, 74, 12, 74, 756, 9, 74, 1, 74, 1, 74, 3, 74, 760, 8, 74, 1, 75, 1, 75, 1, 75, 3, 75, 765, 8, 75, 1, 75, 1, 75, 1, 75, 1, 76, 1, 76, 1, 76, 1, 76, 1, 76, 3, 76, 775, 8, 76, 1, 77, 1, 77, 1, 77, 1, 77, 3, 77, 781, 8, 77, 1, 77, 1, 77, 1, 77, 1, 77, 1, 77, 1, 77, 5, 77, 789, 8, 77, 10, 77, 12, 77, 792, 9, 77, 1, 78, 1, 78, 1, 78, 1, 78, 1, 78, 1, 78, 1, 78, 1, 78, 3, 78, 802, 8, 78, 1, 78, 1, 78, 1, 78, 5, 78, 807, 8, 78, 10, 78, 12, 78, 810, 9, 78, 1, 79, 1, 79, 1, 79, 1, 79, 1, 79, 1, 79, 5, 79, 818, 8, 79, 10, 79, 12, 79, 821, 9, 79, 1, 79, 1, 79, 3, 79, 825, 8, 79, 3, 79, 827, 8, 79, 1, 79, 1, 79, 1, 80, 1, 80, 1, 80, 3, 80, 834, 8, 80, 1, 81, 1, 81, 1, 81, 1, 81, 5, 81, 840, 8, 81, 10, 81, 12, 81, 843, 9, 81, 3, 81, 845, 8, 81, 1, 81, 1, 81, 1, 82, 1, 82, 1, 82, 1, 82, 1, 83, 1, 83, 3, 83, 855, 8, 83, 1, 84, 1, 84, 1, 84, 1, 84, 1, 84, 1, 84, 1, 84, 1, 84, 1, 84, 1, 84, 1, 84, 1, 84, 1, 84, 5, 84, 870, 8, 84, 10, 84, 12, 84, 873, 9, 84, 1, 84, 1, 84, 1, 84, 1, 84, 1, 84, 1, 84, 5, 84, 881, 8, 84, 10, 84, 12, 84, 884, 9, 84, 1, 84, 1, 84, 1, 84, 1, 84, 1, 84, 1, 84, 5, 84, 892, 8, 84, 10, 84, 12, 84, 895, 9, 84, 1, 84, 1, 84, 3, 84, 899, 8, 84, 1, 85, 1, 85, 1, 86, 1, 86, 3, 86, 905, 8, 86, 1, 87, 3, 87, 908, 8, 87, 1, 87, 1, 87, 1, 88, 3, 88, 913, 8, 88, 1, 88, 1, 88, 1, 89, 1, 89, 1, 90, 1, 90, 1, 91, 1, 91, 1, 91, 1, 91, 1, 91, 1, 92, 1, 92, 1, 92, 3, 92, 929, 8, 92, 1, 92, 1, 92, 1, 92, 3, 92, 934, 8, 92, 1, 93, 1, 93, 1, 93, 1, 93, 5, 93, 940, 8, 93, 10, 93, 12, 93, 943, 9, 93, 1, 93, 0, 5, 4, 124, 146, 154, 156, 94, 0, 2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 22, 24, 26, 28, 30, 32, 34, 36, 38, 40, 42, 44, 46, 48, 50, 52, 54, 56, 58, 60, 62, 64, 66, 68, 70, 72, 74, 76, 78, 80, 82, 84, 86, 88, 90, 92, 94, 96, 98, 100, 102, 104, 106, 108, 110, 112, 114, 116, 118, 120, 122, 124, 126, 128, 130, 132, 134, 136, 138, 140, 142, 144, 146, 148, 150, 152, 154, 156, 158, 160, 162, 164, 166, 168, 170, 172, 174, 176, 178, 180, 182, 184, 186, 0, 10, 2, 0, 51, 51, 106, 106, 1, 0, 100, 101, 2, 0, 55, 55, 62, 62, 2, 0, 65, 65, 68, 68, 2, 0, 40, 40, 51, 51, 1, 0, 86, 87, 1, 0, 88, 90, 2, 0, 64, 64, 77, 77, 2, 0, 79, 79, 81, 85, 2, 0, 24, 24, 26, 27, 987, 0, 200, 1, 0, 0, 0, 2, 202, 1, 0, 0, 0, 4, 205, 1, 0, 0, 0, 6, 222, 1, 0, 0, 0, 8, 249, 1, 0, 0, 0, 10, 251, 1, 0, 0, 0, 12, 254, 1, 0, 0, 0, 14, 256, 1, 0, 0, 0, 16, 259, 1, 0, 0, 0, 18, 270, 1, 0, 0, 0, 20, 274, 1, 0, 0, 0, 22, 282, 1, 0, 0, 0, 24, 287, 1, 0, 0, 0, 26, 290, 1, 0, 0, 0, 28, 293, 1, 0, 0, 0, 30, 307, 1, 0, 0, 0, 32, 309, 1, 0, 0, 0, 34, 320, 1, 0, 0, 0, 36, 331, 1, 0, 0, 0, 38, 333, 1, 0, 0, 0, 40, 335, 1, 0, 0, 0, 42, 337, 1, 0, 0, 0, 44, 339, 1, 0, 0, 0, 46, 341, 1, 0, 0, 0, 48, 350, 1, 0, 0, 0, 50, 353, 1, 0, 0, 0, 52, 361, 1, 0, 0, 0, 54, 369, 1, 0, 0, 0, 56, 386, 1, 0, 0, 0, 58, 388, 1, 0, 0, 0, 60, 408, 1, 0, 0, 0, 62, 410, 1, 0, 0, 0, 64, 418, 1, 0, 0, 0, 66, 426, 1, 0, 0, 0, 68, 431, 1, 0, 0, 0, 70, 435, 1, 0, 0, 0, 72, 439, 1, 0, 0, 0, 74, 444, 1, 0, 0, 0, 76, 446, 1, 0, 0, 0, 78, 449, 1, 0, 0, 0, 80, 458, 1, 0, 0, 0, 82, 466, 1, 0, 0, 0, 84, 469, 1, 0, 0, 0, 86, 472, 1, 0, 0, 0, 88, 489, 1, 0, 0, 0, 90, 491, 1, 0, 0, 0, 92, 497, 1, 0, 0, 0, 94, 505, 1, 0, 0, 0, 96, 511, 1, 0, 0, 0, 98, 513, 1, 0, 0, 0, 100, 517, 1, 0, 0, 0, 102, 520, 1, 0, 0, 0, 104, 523, 1, 0, 0, 0, 106, 527, 1, 0, 0, 0, 108, 530, 1, 0, 0, 0, 110, 547, 1, 0, 0, 0, 112, 552, 1, 0, 0, 0, 114, 556, 1, 0, 0, 0, 116, 559, 1, 0, 0, 0, 118, 572, 1, 0, 0, 0, 120, 576, 1, 0, 0, 0, 122, 580, 1, 0, 0, 0, 124, 584, 1, 0, 0, 0, 126, 595, 1, 0, 0, 0, 128, 597, 1, 0, 0, 0, 130, 608, 1, 0, 0, 0, 132, 630, 1, 0, 0, 0, 134, 632, 1, 0, 0, 0, 136, 637, 1, 0, 0, 0, 138, 640, 1, 0, 0, 0, 140, 661, 1, 0, 0, 0, 142, 663, 1, 0, 0, 0, 144, 667, 1, 0, 0, 0, 146, 700, 1, 0, 0, 0, 148, 759, 1, 0, 0, 0, 150, 761, 1, 0, 0, 0, 152, 774, 1, 0, 0, 0, 154, 780, 1, 0, 0, 0, 156, 801, 1, 0, 0, 0, 158, 811, 1, 0, 0, 0, 160, 833, 1, 0, 0, 0, 162, 835, 1, 0, 0, 0, 164, 848, 1, 0, 0, 0, 166, 854, 1, 0, 0, 0, 168, 898, 1, 0, 0, 0, 170, 900, 1, 0, 0, 0, 172, 904, 1, 0, 0, 0, 174, 907, 1, 0, 0, 0, 176, 912, 1, 0, 0, 0, 178, 916, 1, 0, 0, 0, 180, 918, 1, 0, 0, 0, 182, 920, 1, 0, 0, 0, 184, 933, 1, 0, 0, 0, 186, 935, 1, 0, 0, 0, 188, 190, 4, 0, 0, 0, 189, 191, 3, 142, 71, 0, 190, 189, 1, 0, 0, 0, 191, 192, 1, 0, 0, 0, 192, 190, 1, 0, 0, 0, 192, 193, 1, 0, 0, 0, 193, 194, 1, 0, 0, 0, 194, 195, 3, 2, 1, 0, 195, 196, 5, 0, 0, 1, 196, 201, 1, 0, 0, 0, 197, 198, 3, 2, 1, 0, 198, 199, 5, 0, 0, 1, 199, 201, 1, 0, 0, 0, 200, 188, 1, 0, 0, 0, 200, 197, 1, 0, 0, 0, 201, 1, 1, 0, 0, 0, 202, 203, 3, 4, 2, 0, 203, 204, 5, 0, 0, 1, 204, 3, 1, 0, 0, 0, 205, 206, 6, 2, -1, 0, 206, 207, 3, 6, 3, 0, 207, 213, 1, 0, 0, 0, 208, 209, 10, 1, 0, 0, 209, 210, 5, 50, 0, 0, 210, 212, 3, 8, 4, 0, 211, 208, 1, 0, 0, 0, 212, 215, 1, 0, 0, 0, 213, 211, 1, 0, 0, 0, 213, 214, 1, 0, 0, 0, 214, 5, 1, 0, 0, 0, 215, 213, 1, 0, 0, 0, 216, 223, 3, 24, 12, 0, 217, 223, 3, 14, 7, 0, 218, 223, 3, 106, 53, 0, 219, 223, 3, 26, 13, 0, 220, 221, 4, 3, 2, 0, 221, 223, 3, 102, 51, 0, 222, 216, 1, 0, 0, 0, 222, 217, 1, 0, 0, 0, 222, 218, 1, 0, 0, 0, 222, 219, 1, 0, 0, 0, 222, 220, 1, 0, 0, 0, 223, 7, 1, 0, 0, 0, 224, 250, 3, 48, 24, 0, 225, 250, 3, 10, 5, 0, 226, 250, 3, 82, 41, 0, 227, 250, 3, 76, 38, 0, 228, 250, 3, 50, 25, 0, 229, 250, 3, 78, 39, 0, 230, 250, 3, 84, 42, 0, 231, 250, 3, 86, 43, 0, 232, 250, 3, 90, 45, 0, 233, 250, 3, 98, 49, 0, 234, 250, 3, 108, 54, 0, 235, 250, 3, 100, 50, 0, 236, 250, 3, 182, 91, 0, 237, 250, 3, 116, 58, 0, 238, 250, 3, 130, 65, 0, 239, 250, 3, 114, 57, 0, 240, 250, 3, 118, 59, 0, 241, 250, 3, 128, 64, 0, 242, 250, 3, 132, 66, 0, 243, 244, 4, 4, 3, 0, 244, 250, 3, 134, 67, 0, 245, 246, 4, 4, 4, 0, 246, 250, 3, 136, 68, 0, 247, 248, 4, 4, 5, 0, 248, 250, 3, 138, 69, 0, 249, 224, 1, 0, 0, 0, 249, 225, 1, 0, 0, 0, 249, 226, 1, 0, 0, 0, 249, 227, 1, 0, 0, 0, 249, 228, 1, 0, 0, 0, 249, 229, 1, 0, 0, 0, 249, 230, 1, 0, 0, 0, 249, 231, 1, 0, 0, 0, 249, 232, 1, 0, 0, 0, 249, 233, 1, 0, 0, 0, 249, 234, 1, 0, 0, 0, 249, 235, 1, 0, 0, 0, 249, 236, 1, 0, 0, 0, 249, 237, 1, 0, 0, 0, 249, 238, 1, 0, 0, 0, 249, 239, 1, 0, 0, 0, 249, 240, 1, 0, 0, 0, 249, 241, 1, 0, 0, 0, 249, 242, 1, 0, 0, 0, 249, 243, 1, 0, 0, 0, 249, 245, 1, 0, 0, 0, 249, 247, 1, 0, 0, 0, 250, 9, 1, 0, 0, 0, 251, 252, 5, 17, 0, 0, 252, 253, 3, 146, 73, 0, 253, 11, 1, 0, 0, 0, 254, 255, 3, 66, 33, 0, 255, 13, 1, 0, 0, 0, 256, 257, 5, 13, 0, 0, 257, 258, 3, 16, 8, 0, 258, 15, 1, 0, 0, 0, 259, 264, 3, 18, 9, 0, 260, 261, 5, 61, 0, 0, 261, 263, 3, 18, 9, 0, 262, 260, 1, 0, 0, 0, 263, 266, 1, 0, 0, 0, 264, 262, 1, 0, 0, 0, 264, 265, 1, 0, 0, 0, 265, 17, 1, 0, 0, 0, 266, 264, 1, 0, 0, 0, 267, 268, 3, 56, 28, 0, 268, 269, 5, 56, 0, 0, 269, 271, 1, 0, 0, 0, 270, 267, 1, 0, 0, 0, 270, 271, 1, 0, 0, 0, 271, 272, 1, 0, 0, 0, 272, 273, 3, 146, 73, 0, 273, 19, 1, 0, 0, 0, 274, 279, 3, 22, 11, 0, 275, 276, 5, 61, 0, 0, 276, 278, 3, 22, 11, 0, 277, 275, 1, 0, 0, 0, 278, 281, 1, 0, 0, 0, 279, 277, 1, 0, 0, 0, 279, 280, 1, 0, 0, 0, 280, 21, 1, 0, 0, 0, 281, 279, 1, 0, 0, 0, 282, 285, 3, 56, 28, 0, 283, 284, 5, 56, 0, 0, 284, 286, 3, 146, 73, 0, 285, 283, 1, 0, 0, 0, 285, 286, 1, 0, 0, 0, 286, 23, 1, 0, 0, 0, 287, 288, 5, 18, 0, 0, 288, 289, 3, 28, 14, 0, 289, 25, 1, 0, 0, 0, 290, 291, 5, 19, 0, 0, 291, 292, 3, 28, 14, 0, 292, 27, 1, 0, 0, 0, 293, 298, 3, 30, 15, 0, 294, 295, 5, 61, 0, 0, 295, 297, 3, 30, 15, 0, 296, 294, 1, 0, 0, 0, 297, 300, 1, 0, 0, 0, 298, 296, 1, 0, 0, 0, 298, 299, 1, 0, 0, 0, 299, 302, 1, 0, 0, 0, 300, 298, 1, 0, 0, 0, 301, 303, 3, 46, 23, 0, 302, 301, 1, 0, 0, 0, 302, 303, 1, 0, 0, 0, 303, 29, 1, 0, 0, 0, 304, 308, 3, 36, 18, 0, 305, 306, 4, 15, 6, 0, 306, 308, 3, 32, 16, 0, 307, 304, 1, 0, 0, 0, 307, 305, 1, 0, 0, 0, 308, 31, 1, 0, 0, 0, 309, 310, 5, 98, 0, 0, 310, 315, 3, 24, 12, 0, 311, 312, 5, 50, 0, 0, 312, 314, 3, 34, 17, 0, 313, 311, 1, 0, 0, 0, 314, 317, 1, 0, 0, 0, 315, 313, 1, 0, 0, 0, 315, 316, 1, 0, 0, 0, 316, 318, 1, 0, 0, 0, 317, 315, 1, 0, 0, 0, 318, 319, 5, 99, 0, 0, 319, 33, 1, 0, 0, 0, 320, 321, 3, 8, 4, 0, 321, 35, 1, 0, 0, 0, 322, 323, 3, 38, 19, 0, 323, 324, 5, 59, 0, 0, 324, 325, 3, 42, 21, 0, 325, 332, 1, 0, 0, 0, 326, 327, 3, 42, 21, 0, 327, 328, 5, 58, 0, 0, 328, 329, 3, 40, 20, 0, 329, 332, 1, 0, 0, 0, 330, 332, 3, 44, 22, 0, 331, 322, 1, 0, 0, 0, 331, 326, 1, 0, 0, 0, 331, 330, 1, 0, 0, 0, 332, 37, 1, 0, 0, 0, 333, 334, 5, 106, 0, 0, 334, 39, 1, 0, 0, 0, 335, 336, 5, 106, 0, 0, 336, 41, 1, 0, 0, 0, 337, 338, 5, 106, 0, 0, 338, 43, 1, 0, 0, 0, 339, 340, 7, 0, 0, 0, 340, 45, 1, 0, 0, 0, 341, 342, 5, 105, 0, 0, 342, 347, 5, 106, 0, 0, 343, 344, 5, 61, 0, 0, 344, 346, 5, 106, 0, 0, 345, 343, 1, 0, 0, 0, 346, 349, 1, 0, 0, 0, 347, 345, 1, 0, 0, 0, 347, 348, 1, 0, 0, 0, 348, 47, 1, 0, 0, 0, 349, 347, 1, 0, 0, 0, 350, 351, 5, 9, 0, 0, 351, 352, 3, 16, 8, 0, 352, 49, 1, 0, 0, 0, 353, 355, 5, 16, 0, 0, 354, 356, 3, 52, 26, 0, 355, 354, 1, 0, 0, 0, 355, 356, 1, 0, 0, 0, 356, 359, 1, 0, 0, 0, 357, 358, 5, 57, 0, 0, 358, 360, 3, 16, 8, 0, 359, 357, 1, 0, 0, 0, 359, 360, 1, 0, 0, 0, 360, 51, 1, 0, 0, 0, 361, 366, 3, 54, 27, 0, 362, 363, 5, 61, 0, 0, 363, 365, 3, 54, 27, 0, 364, 362, 1, 0, 0, 0, 365, 368, 1, 0, 0, 0, 366, 364, 1, 0, 0, 0, 366, 367, 1, 0, 0, 0, 367, 53, 1, 0, 0, 0, 368, 366, 1, 0, 0, 0, 369, 372, 3, 18, 9, 0, 370, 371, 5, 17, 0, 0, 371, 373, 3, 146, 73, 0, 372, 370, 1, 0, 0, 0, 372, 373, 1, 0, 0, 0, 373, 55, 1, 0, 0, 0, 374, 375, 4, 28, 7, 0, 375, 377, 5, 96, 0, 0, 376, 378, 5, 100, 0, 0, 377, 376, 1, 0, 0, 0, 377, 378, 1, 0, 0, 0, 378, 379, 1, 0, 0, 0, 379, 380, 5, 97, 0, 0, 380, 381, 5, 63, 0, 0, 381, 382, 5, 96, 0, 0, 382, 383, 3, 58, 29, 0, 383, 384, 5, 97, 0, 0, 384, 387, 1, 0, 0, 0, 385, 387, 3, 58, 29, 0, 386, 374, 1, 0, 0, 0, 386, 385, 1, 0, 0, 0, 387, 57, 1, 0, 0, 0, 388, 393, 3, 74, 37, 0, 389, 390, 5, 63, 0, 0, 390, 392, 3, 74, 37, 0, 391, 389, 1, 0, 0, 0, 392, 395, 1, 0, 0, 0, 393, 391, 1, 0, 0, 0, 393, 394, 1, 0, 0, 0, 394, 59, 1, 0, 0, 0, 395, 393, 1, 0, 0, 0, 396, 397, 4, 30, 8, 0, 397, 399, 5, 96, 0, 0, 398, 400, 5, 137, 0, 0, 399, 398, 1, 0, 0, 0, 399, 400, 1, 0, 0, 0, 400, 401, 1, 0, 0, 0, 401, 402, 5, 97, 0, 0, 402, 403, 5, 63, 0, 0, 403, 404, 5, 96, 0, 0, 404, 405, 3, 62, 31, 0, 405, 406, 5, 97, 0, 0, 406, 409, 1, 0, 0, 0, 407, 409, 3, 62, 31, 0, 408, 396, 1, 0, 0, 0, 408, 407, 1, 0, 0, 0, 409, 61, 1, 0, 0, 0, 410, 415, 3, 68, 34, 0, 411, 412, 5, 63, 0, 0, 412, 414, 3, 68, 34, 0, 413, 411, 1, 0, 0, 0, 414, 417, 1, 0, 0, 0, 415, 413, 1, 0, 0, 0, 415, 416, 1, 0, 0, 0, 416, 63, 1, 0, 0, 0, 417, 415, 1, 0, 0, 0, 418, 423, 3, 60, 30, 0, 419, 420, 5, 61, 0, 0, 420, 422, 3, 60, 30, 0, 421, 419, 1, 0, 0, 0, 422, 425, 1, 0, 0, 0, 423, 421, 1, 0, 0, 0, 423, 424, 1, 0, 0, 0, 424, 65, 1, 0, 0, 0, 425, 423, 1, 0, 0, 0, 426, 427, 7, 1, 0, 0, 427, 67, 1, 0, 0, 0, 428, 432, 5, 137, 0, 0, 429, 432, 3, 70, 35, 0, 430, 432, 3, 72, 36, 0, 431, 428, 1, 0, 0, 0, 431, 429, 1, 0, 0, 0, 431, 430, 1, 0, 0, 0, 432, 69, 1, 0, 0, 0, 433, 436, 5, 75, 0, 0, 434, 436, 5, 94, 0, 0, 435, 433, 1, 0, 0, 0, 435, 434, 1, 0, 0, 0, 436, 71, 1, 0, 0, 0, 437, 440, 5, 93, 0, 0, 438, 440, 5, 95, 0, 0, 439, 437, 1, 0, 0, 0, 439, 438, 1, 0, 0, 0, 440, 73, 1, 0, 0, 0, 441, 445, 3, 66, 33, 0, 442, 445, 3, 70, 35, 0, 443, 445, 3, 72, 36, 0, 444, 441, 1, 0, 0, 0, 444, 442, 1, 0, 0, 0, 444, 443, 1, 0, 0, 0, 445, 75, 1, 0, 0, 0, 446, 447, 5, 11, 0, 0, 447, 448, 3, 168, 84, 0, 448, 77, 1, 0, 0, 0, 449, 450, 5, 15, 0, 0, 450, 455, 3, 80, 40, 0, 451, 452, 5, 61, 0, 0, 452, 454, 3, 80, 40, 0, 453, 451, 1, 0, 0, 0, 454, 457, 1, 0, 0, 0, 455, 453, 1, 0, 0, 0, 455, 456, 1, 0, 0, 0, 456, 79, 1, 0, 0, 0, 457, 455, 1, 0, 0, 0, 458, 460, 3, 146, 73, 0, 459, 461, 7, 2, 0, 0, 460, 459, 1, 0, 0, 0, 460, 461, 1, 0, 0, 0, 461, 464, 1, 0, 0, 0, 462, 463, 5, 72, 0, 0, 463, 465, 7, 3, 0, 0, 464, 462, 1, 0, 0, 0, 464, 465, 1, 0, 0, 0, 465, 81, 1, 0, 0, 0, 466, 467, 5, 31, 0, 0, 467, 468, 3, 64, 32, 0, 468, 83, 1, 0, 0, 0, 469, 470, 5, 30, 0, 0, 470, 471, 3, 64, 32, 0, 471, 85, 1, 0, 0, 0, 472, 473, 5, 33, 0, 0, 473, 478, 3, 88, 44, 0, 474, 475, 5, 61, 0, 0, 475, 477, 3, 88, 44, 0, 476, 474, 1, 0, 0, 0, 477, 480, 1, 0, 0, 0, 478, 476, 1, 0, 0, 0, 478, 479, 1, 0, 0, 0, 479, 87, 1, 0, 0, 0, 480, 478, 1, 0, 0, 0, 481, 482, 3, 60, 30, 0, 482, 483, 5, 141, 0, 0, 483, 484, 3, 60, 30, 0, 484, 490, 1, 0, 0, 0, 485, 486, 3, 60, 30, 0, 486, 487, 5, 56, 0, 0, 487, 488, 3, 60, 30, 0, 488, 490, 1, 0, 0, 0, 489, 481, 1, 0, 0, 0, 489, 485, 1, 0, 0, 0, 490, 89, 1, 0, 0, 0, 491, 492, 5, 8, 0, 0, 492, 493, 3, 156, 78, 0, 493, 495, 3, 178, 89, 0, 494, 496, 3, 92, 46, 0, 495, 494, 1, 0, 0, 0, 495, 496, 1, 0, 0, 0, 496, 91, 1, 0, 0, 0, 497, 502, 3, 94, 47, 0, 498, 499, 5, 61, 0, 0, 499, 501, 3, 94, 47, 0, 500, 498, 1, 0, 0, 0, 501, 504, 1, 0, 0, 0, 502, 500, 1, 0, 0, 0, 502, 503, 1, 0, 0, 0, 503, 93, 1, 0, 0, 0, 504, 502, 1, 0, 0, 0, 505, 506, 3, 66, 33, 0, 506, 507, 5, 56, 0, 0, 507, 508, 3, 168, 84, 0, 508, 95, 1, 0, 0, 0, 509, 510, 5, 78, 0, 0, 510, 512, 3, 162, 81, 0, 511, 509, 1, 0, 0, 0, 511, 512, 1, 0, 0, 0, 512, 97, 1, 0, 0, 0, 513, 514, 5, 10, 0, 0, 514, 515, 3, 156, 78, 0, 515, 516, 3, 178, 89, 0, 516, 99, 1, 0, 0, 0, 517, 518, 5, 29, 0, 0, 518, 519, 3, 56, 28, 0, 519, 101, 1, 0, 0, 0, 520, 521, 5, 6, 0, 0, 521, 522, 3, 104, 52, 0, 522, 103, 1, 0, 0, 0, 523, 524, 5, 98, 0, 0, 524, 525, 3, 4, 2, 0, 525, 526, 5, 99, 0, 0, 526, 105, 1, 0, 0, 0, 527, 528, 5, 35, 0, 0, 528, 529, 5, 148, 0, 0, 529, 107, 1, 0, 0, 0, 530, 531, 5, 5, 0, 0, 531, 534, 3, 110, 55, 0, 532, 533, 5, 73, 0, 0, 533, 535, 3, 60, 30, 0, 534, 532, 1, 0, 0, 0, 534, 535, 1, 0, 0, 0, 535, 545, 1, 0, 0, 0, 536, 537, 5, 78, 0, 0, 537, 542, 3, 112, 56, 0, 538, 539, 5, 61, 0, 0, 539, 541, 3, 112, 56, 0, 540, 538, 1, 0, 0, 0, 541, 544, 1, 0, 0, 0, 542, 540, 1, 0, 0, 0, 542, 543, 1, 0, 0, 0, 543, 546, 1, 0, 0, 0, 544, 542, 1, 0, 0, 0, 545, 536, 1, 0, 0, 0, 545, 546, 1, 0, 0, 0, 546, 109, 1, 0, 0, 0, 547, 548, 7, 4, 0, 0, 548, 111, 1, 0, 0, 0, 549, 550, 3, 60, 30, 0, 550, 551, 5, 56, 0, 0, 551, 553, 1, 0, 0, 0, 552, 549, 1, 0, 0, 0, 552, 553, 1, 0, 0, 0, 553, 554, 1, 0, 0, 0, 554, 555, 3, 60, 30, 0, 555, 113, 1, 0, 0, 0, 556, 557, 5, 14, 0, 0, 557, 558, 3, 168, 84, 0, 558, 115, 1, 0, 0, 0, 559, 560, 5, 4, 0, 0, 560, 563, 3, 56, 28, 0, 561, 562, 5, 73, 0, 0, 562, 564, 3, 56, 28, 0, 563, 561, 1, 0, 0, 0, 563, 564, 1, 0, 0, 0, 564, 570, 1, 0, 0, 0, 565, 566, 5, 141, 0, 0, 566, 567, 3, 56, 28, 0, 567, 568, 5, 61, 0, 0, 568, 569, 3, 56, 28, 0, 569, 571, 1, 0, 0, 0, 570, 565, 1, 0, 0, 0, 570, 571, 1, 0, 0, 0, 571, 117, 1, 0, 0, 0, 572, 573, 5, 20, 0, 0, 573, 574, 3, 120, 60, 0, 574, 119, 1, 0, 0, 0, 575, 577, 3, 122, 61, 0, 576, 575, 1, 0, 0, 0, 577, 578, 1, 0, 0, 0, 578, 576, 1, 0, 0, 0, 578, 579, 1, 0, 0, 0, 579, 121, 1, 0, 0, 0, 580, 581, 5, 98, 0, 0, 581, 582, 3, 124, 62, 0, 582, 583, 5, 99, 0, 0, 583, 123, 1, 0, 0, 0, 584, 585, 6, 62, -1, 0, 585, 586, 3, 126, 63, 0, 586, 592, 1, 0, 0, 0, 587, 588, 10, 1, 0, 0, 588, 589, 5, 50, 0, 0, 589, 591, 3, 126, 63, 0, 590, 587, 1, 0, 0, 0, 591, 594, 1, 0, 0, 0, 592, 590, 1, 0, 0, 0, 592, 593, 1, 0, 0, 0, 593, 125, 1, 0, 0, 0, 594, 592, 1, 0, 0, 0, 595, 596, 3, 8, 4, 0, 596, 127, 1, 0, 0, 0, 597, 601, 5, 12, 0, 0, 598, 599, 3, 56, 28, 0, 599, 600, 5, 56, 0, 0, 600, 602, 1, 0, 0, 0, 601, 598, 1, 0, 0, 0, 601, 602, 1, 0, 0, 0, 602, 603, 1, 0, 0, 0, 603, 604, 3, 168, 84, 0, 604, 605, 5, 73, 0, 0, 605, 606, 3, 20, 10, 0, 606, 607, 3, 96, 48, 0, 607, 129, 1, 0, 0, 0, 608, 612, 5, 7, 0, 0, 609, 610, 3, 56, 28, 0, 610, 611, 5, 56, 0, 0, 611, 613, 1, 0, 0, 0, 612, 609, 1, 0, 0, 0, 612, 613, 1, 0, 0, 0, 613, 614, 1, 0, 0, 0, 614, 615, 3, 156, 78, 0, 615, 616, 3, 96, 48, 0, 616, 131, 1, 0, 0, 0, 617, 618, 5, 22, 0, 0, 618, 619, 5, 119, 0, 0, 619, 622, 3, 52, 26, 0, 620, 621, 5, 57, 0, 0, 621, 623, 3, 16, 8, 0, 622, 620, 1, 0, 0, 0, 622, 623, 1, 0, 0, 0, 623, 631, 1, 0, 0, 0, 624, 625, 5, 23, 0, 0, 625, 628, 3, 52, 26, 0, 626, 627, 5, 57, 0, 0, 627, 629, 3, 16, 8, 0, 628, 626, 1, 0, 0, 0, 628, 629, 1, 0, 0, 0, 629, 631, 1, 0, 0, 0, 630, 617, 1, 0, 0, 0, 630, 624, 1, 0, 0, 0, 631, 133, 1, 0, 0, 0, 632, 633, 5, 28, 0, 0, 633, 634, 3, 36, 18, 0, 634, 635, 5, 73, 0, 0, 635, 636, 3, 64, 32, 0, 636, 135, 1, 0, 0, 0, 637, 638, 5, 32, 0, 0, 638, 639, 3, 64, 32, 0, 639, 137, 1, 0, 0, 0, 640, 642, 5, 21, 0, 0, 641, 643, 3, 66, 33, 0, 642, 641, 1, 0, 0, 0, 642, 643, 1, 0, 0, 0, 643, 647, 1, 0, 0, 0, 644, 646, 3, 140, 70, 0, 645, 644, 1, 0, 0, 0, 646, 649, 1, 0, 0, 0, 647, 645, 1, 0, 0, 0, 647, 648, 1, 0, 0, 0, 648, 139, 1, 0, 0, 0, 649, 647, 1, 0, 0, 0, 650, 651, 5, 114, 0, 0, 651, 652, 5, 57, 0, 0, 652, 662, 3, 56, 28, 0, 653, 654, 5, 115, 0, 0, 654, 655, 5, 57, 0, 0, 655, 662, 3, 16, 8, 0, 656, 657, 5, 113, 0, 0, 657, 658, 5, 57, 0, 0, 658, 662, 3, 56, 28, 0, 659, 660, 5, 78, 0, 0, 660, 662, 3, 162, 81, 0, 661, 650, 1, 0, 0, 0, 661, 653, 1, 0, 0, 0, 661, 656, 1, 0, 0, 0, 661, 659, 1, 0, 0, 0, 662, 141, 1, 0, 0, 0, 663, 664, 5, 34, 0, 0, 664, 665, 3, 144, 72, 0, 665, 666, 5, 60, 0, 0, 666, 143, 1, 0, 0, 0, 667, 668, 3, 66, 33, 0, 668, 669, 5, 56, 0, 0, 669, 670, 3, 168, 84, 0, 670, 145, 1, 0, 0, 0, 671, 672, 6, 73, -1, 0, 672, 673, 5, 70, 0, 0, 673, 701, 3, 146, 73, 8, 674, 701, 3, 152, 76, 0, 675, 701, 3, 148, 74, 0, 676, 678, 3, 152, 76, 0, 677, 679, 5, 70, 0, 0, 678, 677, 1, 0, 0, 0, 678, 679, 1, 0, 0, 0, 679, 680, 1, 0, 0, 0, 680, 681, 5, 66, 0, 0, 681, 682, 5, 98, 0, 0, 682, 687, 3, 152, 76, 0, 683, 684, 5, 61, 0, 0, 684, 686, 3, 152, 76, 0, 685, 683, 1, 0, 0, 0, 686, 689, 1, 0, 0, 0, 687, 685, 1, 0, 0, 0, 687, 688, 1, 0, 0, 0, 688, 690, 1, 0, 0, 0, 689, 687, 1, 0, 0, 0, 690, 691, 5, 99, 0, 0, 691, 701, 1, 0, 0, 0, 692, 693, 3, 152, 76, 0, 693, 695, 5, 67, 0, 0, 694, 696, 5, 70, 0, 0, 695, 694, 1, 0, 0, 0, 695, 696, 1, 0, 0, 0, 696, 697, 1, 0, 0, 0, 697, 698, 5, 71, 0, 0, 698, 701, 1, 0, 0, 0, 699, 701, 3, 150, 75, 0, 700, 671, 1, 0, 0, 0, 700, 674, 1, 0, 0, 0, 700, 675, 1, 0, 0, 0, 700, 676, 1, 0, 0, 0, 700, 692, 1, 0, 0, 0, 700, 699, 1, 0, 0, 0, 701, 710, 1, 0, 0, 0, 702, 703, 10, 5, 0, 0, 703, 704, 5, 54, 0, 0, 704, 709, 3, 146, 73, 6, 705, 706, 10, 4, 0, 0, 706, 707, 5, 74, 0, 0, 707, 709, 3, 146, 73, 5, 708, 702, 1, 0, 0, 0, 708, 705, 1, 0, 0, 0, 709, 712, 1, 0, 0, 0, 710, 708, 1, 0, 0, 0, 710, 711, 1, 0, 0, 0, 711, 147, 1, 0, 0, 0, 712, 710, 1, 0, 0, 0, 713, 715, 3, 152, 76, 0, 714, 716, 5, 70, 0, 0, 715, 714, 1, 0, 0, 0, 715, 716, 1, 0, 0, 0, 716, 717, 1, 0, 0, 0, 717, 718, 5, 69, 0, 0, 718, 719, 3, 178, 89, 0, 719, 760, 1, 0, 0, 0, 720, 722, 3, 152, 76, 0, 721, 723, 5, 70, 0, 0, 722, 721, 1, 0, 0, 0, 722, 723, 1, 0, 0, 0, 723, 724, 1, 0, 0, 0, 724, 725, 5, 76, 0, 0, 725, 726, 3, 178, 89, 0, 726, 760, 1, 0, 0, 0, 727, 729, 3, 152, 76, 0, 728, 730, 5, 70, 0, 0, 729, 728, 1, 0, 0, 0, 729, 730, 1, 0, 0, 0, 730, 731, 1, 0, 0, 0, 731, 732, 5, 69, 0, 0, 732, 733, 5, 98, 0, 0, 733, 738, 3, 178, 89, 0, 734, 735, 5, 61, 0, 0, 735, 737, 3, 178, 89, 0, 736, 734, 1, 0, 0, 0, 737, 740, 1, 0, 0, 0, 738, 736, 1, 0, 0, 0, 738, 739, 1, 0, 0, 0, 739, 741, 1, 0, 0, 0, 740, 738, 1, 0, 0, 0, 741, 742, 5, 99, 0, 0, 742, 760, 1, 0, 0, 0, 743, 745, 3, 152, 76, 0, 744, 746, 5, 70, 0, 0, 745, 744, 1, 0, 0, 0, 745, 746, 1, 0, 0, 0, 746, 747, 1, 0, 0, 0, 747, 748, 5, 76, 0, 0, 748, 749, 5, 98, 0, 0, 749, 754, 3, 178, 89, 0, 750, 751, 5, 61, 0, 0, 751, 753, 3, 178, 89, 0, 752, 750, 1, 0, 0, 0, 753, 756, 1, 0, 0, 0, 754, 752, 1, 0, 0, 0, 754, 755, 1, 0, 0, 0, 755, 757, 1, 0, 0, 0, 756, 754, 1, 0, 0, 0, 757, 758, 5, 99, 0, 0, 758, 760, 1, 0, 0, 0, 759, 713, 1, 0, 0, 0, 759, 720, 1, 0, 0, 0, 759, 727, 1, 0, 0, 0, 759, 743, 1, 0, 0, 0, 760, 149, 1, 0, 0, 0, 761, 764, 3, 56, 28, 0, 762, 763, 5, 58, 0, 0, 763, 765, 3, 12, 6, 0, 764, 762, 1, 0, 0, 0, 764, 765, 1, 0, 0, 0, 765, 766, 1, 0, 0, 0, 766, 767, 5, 59, 0, 0, 767, 768, 3, 168, 84, 0, 768, 151, 1, 0, 0, 0, 769, 775, 3, 154, 77, 0, 770, 771, 3, 154, 77, 0, 771, 772, 3, 180, 90, 0, 772, 773, 3, 154, 77, 0, 773, 775, 1, 0, 0, 0, 774, 769, 1, 0, 0, 0, 774, 770, 1, 0, 0, 0, 775, 153, 1, 0, 0, 0, 776, 777, 6, 77, -1, 0, 777, 781, 3, 156, 78, 0, 778, 779, 7, 5, 0, 0, 779, 781, 3, 154, 77, 3, 780, 776, 1, 0, 0, 0, 780, 778, 1, 0, 0, 0, 781, 790, 1, 0, 0, 0, 782, 783, 10, 2, 0, 0, 783, 784, 7, 6, 0, 0, 784, 789, 3, 154, 77, 3, 785, 786, 10, 1, 0, 0, 786, 787, 7, 5, 0, 0, 787, 789, 3, 154, 77, 2, 788, 782, 1, 0, 0, 0, 788, 785, 1, 0, 0, 0, 789, 792, 1, 0, 0, 0, 790, 788, 1, 0, 0, 0, 790, 791, 1, 0, 0, 0, 791, 155, 1, 0, 0, 0, 792, 790, 1, 0, 0, 0, 793, 794, 6, 78, -1, 0, 794, 802, 3, 168, 84, 0, 795, 802, 3, 56, 28, 0, 796, 802, 3, 158, 79, 0, 797, 798, 5, 98, 0, 0, 798, 799, 3, 146, 73, 0, 799, 800, 5, 99, 0, 0, 800, 802, 1, 0, 0, 0, 801, 793, 1, 0, 0, 0, 801, 795, 1, 0, 0, 0, 801, 796, 1, 0, 0, 0, 801, 797, 1, 0, 0, 0, 802, 808, 1, 0, 0, 0, 803, 804, 10, 1, 0, 0, 804, 805, 5, 58, 0, 0, 805, 807, 3, 12, 6, 0, 806, 803, 1, 0, 0, 0, 807, 810, 1, 0, 0, 0, 808, 806, 1, 0, 0, 0, 808, 809, 1, 0, 0, 0, 809, 157, 1, 0, 0, 0, 810, 808, 1, 0, 0, 0, 811, 812, 3, 160, 80, 0, 812, 826, 5, 98, 0, 0, 813, 827, 5, 88, 0, 0, 814, 819, 3, 146, 73, 0, 815, 816, 5, 61, 0, 0, 816, 818, 3, 146, 73, 0, 817, 815, 1, 0, 0, 0, 818, 821, 1, 0, 0, 0, 819, 817, 1, 0, 0, 0, 819, 820, 1, 0, 0, 0, 820, 824, 1, 0, 0, 0, 821, 819, 1, 0, 0, 0, 822, 823, 5, 61, 0, 0, 823, 825, 3, 162, 81, 0, 824, 822, 1, 0, 0, 0, 824, 825, 1, 0, 0, 0, 825, 827, 1, 0, 0, 0, 826, 813, 1, 0, 0, 0, 826, 814, 1, 0, 0, 0, 826, 827, 1, 0, 0, 0, 827, 828, 1, 0, 0, 0, 828, 829, 5, 99, 0, 0, 829, 159, 1, 0, 0, 0, 830, 834, 3, 74, 37, 0, 831, 834, 5, 65, 0, 0, 832, 834, 5, 68, 0, 0, 833, 830, 1, 0, 0, 0, 833, 831, 1, 0, 0, 0, 833, 832, 1, 0, 0, 0, 834, 161, 1, 0, 0, 0, 835, 844, 5, 91, 0, 0, 836, 841, 3, 164, 82, 0, 837, 838, 5, 61, 0, 0, 838, 840, 3, 164, 82, 0, 839, 837, 1, 0, 0, 0, 840, 843, 1, 0, 0, 0, 841, 839, 1, 0, 0, 0, 841, 842, 1, 0, 0, 0, 842, 845, 1, 0, 0, 0, 843, 841, 1, 0, 0, 0, 844, 836, 1, 0, 0, 0, 844, 845, 1, 0, 0, 0, 845, 846, 1, 0, 0, 0, 846, 847, 5, 92, 0, 0, 847, 163, 1, 0, 0, 0, 848, 849, 3, 178, 89, 0, 849, 850, 5, 59, 0, 0, 850, 851, 3, 166, 83, 0, 851, 165, 1, 0, 0, 0, 852, 855, 3, 168, 84, 0, 853, 855, 3, 162, 81, 0, 854, 852, 1, 0, 0, 0, 854, 853, 1, 0, 0, 0, 855, 167, 1, 0, 0, 0, 856, 899, 5, 71, 0, 0, 857, 858, 3, 176, 88, 0, 858, 859, 5, 100, 0, 0, 859, 899, 1, 0, 0, 0, 860, 899, 3, 174, 87, 0, 861, 899, 3, 176, 88, 0, 862, 899, 3, 170, 85, 0, 863, 899, 3, 70, 35, 0, 864, 899, 3, 178, 89, 0, 865, 866, 5, 96, 0, 0, 866, 871, 3, 172, 86, 0, 867, 868, 5, 61, 0, 0, 868, 870, 3, 172, 86, 0, 869, 867, 1, 0, 0, 0, 870, 873, 1, 0, 0, 0, 871, 869, 1, 0, 0, 0, 871, 872, 1, 0, 0, 0, 872, 874, 1, 0, 0, 0, 873, 871, 1, 0, 0, 0, 874, 875, 5, 97, 0, 0, 875, 899, 1, 0, 0, 0, 876, 877, 5, 96, 0, 0, 877, 882, 3, 170, 85, 0, 878, 879, 5, 61, 0, 0, 879, 881, 3, 170, 85, 0, 880, 878, 1, 0, 0, 0, 881, 884, 1, 0, 0, 0, 882, 880, 1, 0, 0, 0, 882, 883, 1, 0, 0, 0, 883, 885, 1, 0, 0, 0, 884, 882, 1, 0, 0, 0, 885, 886, 5, 97, 0, 0, 886, 899, 1, 0, 0, 0, 887, 888, 5, 96, 0, 0, 888, 893, 3, 178, 89, 0, 889, 890, 5, 61, 0, 0, 890, 892, 3, 178, 89, 0, 891, 889, 1, 0, 0, 0, 892, 895, 1, 0, 0, 0, 893, 891, 1, 0, 0, 0, 893, 894, 1, 0, 0, 0, 894, 896, 1, 0, 0, 0, 895, 893, 1, 0, 0, 0, 896, 897, 5, 97, 0, 0, 897, 899, 1, 0, 0, 0, 898, 856, 1, 0, 0, 0, 898, 857, 1, 0, 0, 0, 898, 860, 1, 0, 0, 0, 898, 861, 1, 0, 0, 0, 898, 862, 1, 0, 0, 0, 898, 863, 1, 0, 0, 0, 898, 864, 1, 0, 0, 0, 898, 865, 1, 0, 0, 0, 898, 876, 1, 0, 0, 0, 898, 887, 1, 0, 0, 0, 899, 169, 1, 0, 0, 0, 900, 901, 7, 7, 0, 0, 901, 171, 1, 0, 0, 0, 902, 905, 3, 174, 87, 0, 903, 905, 3, 176, 88, 0, 904, 902, 1, 0, 0, 0, 904, 903, 1, 0, 0, 0, 905, 173, 1, 0, 0, 0, 906, 908, 7, 5, 0, 0, 907, 906, 1, 0, 0, 0, 907, 908, 1, 0, 0, 0, 908, 909, 1, 0, 0, 0, 909, 910, 5, 53, 0, 0, 910, 175, 1, 0, 0, 0, 911, 913, 7, 5, 0, 0, 912, 911, 1, 0, 0, 0, 912, 913, 1, 0, 0, 0, 913, 914, 1, 0, 0, 0, 914, 915, 5, 52, 0, 0, 915, 177, 1, 0, 0, 0, 916, 917, 5, 51, 0, 0, 917, 179, 1, 0, 0, 0, 918, 919, 7, 8, 0, 0, 919, 181, 1, 0, 0, 0, 920, 921, 7, 9, 0, 0, 921, 922, 5, 123, 0, 0, 922, 923, 3, 184, 92, 0, 923, 924, 3, 186, 93, 0, 924, 183, 1, 0, 0, 0, 925, 926, 4, 92, 15, 0, 926, 928, 3, 36, 18, 0, 927, 929, 5, 141, 0, 0, 928, 927, 1, 0, 0, 0, 928, 929, 1, 0, 0, 0, 929, 930, 1, 0, 0, 0, 930, 931, 5, 106, 0, 0, 931, 934, 1, 0, 0, 0, 932, 934, 3, 36, 18, 0, 933, 925, 1, 0, 0, 0, 933, 932, 1, 0, 0, 0, 934, 185, 1, 0, 0, 0, 935, 936, 5, 73, 0, 0, 936, 941, 3, 146, 73, 0, 937, 938, 5, 61, 0, 0, 938, 940, 3, 146, 73, 0, 939, 937, 1, 0, 0, 0, 940, 943, 1, 0, 0, 0, 941, 939, 1, 0, 0, 0, 941, 942, 1, 0, 0, 0, 942, 187, 1, 0, 0, 0, 943, 941, 1, 0, 0, 0, 91, 192, 200, 213, 222, 249, 264, 270, 279, 285, 298, 302, 307, 315, 331, 347, 355, 359, 366, 372, 377, 386, 393, 399, 408, 415, 423, 431, 435, 439, 444, 455, 460, 464, 478, 489, 495, 502, 511, 534, 542, 545, 552, 563, 570, 578, 592, 601, 612, 622, 628, 630, 642, 647, 661, 678, 687, 695, 700, 708, 710, 715, 722, 729, 738, 745, 754, 759, 764, 774, 780, 788, 790, 801, 808, 819, 824, 826, 833, 841, 844, 854, 871, 882, 893, 898, 904, 907, 912, 928, 933, 941] \ No newline at end of file diff --git a/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/parser/EsqlBaseParser.java b/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/parser/EsqlBaseParser.java index 6276da9cad8d5..b46cf7c55f3a8 100644 --- a/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/parser/EsqlBaseParser.java +++ b/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/parser/EsqlBaseParser.java @@ -61,54 +61,56 @@ public class EsqlBaseParser extends ParserConfig { RULE_processingCommand = 4, RULE_whereCommand = 5, RULE_dataType = 6, RULE_rowCommand = 7, RULE_fields = 8, RULE_field = 9, RULE_rerankFields = 10, RULE_rerankField = 11, RULE_fromCommand = 12, RULE_timeSeriesCommand = 13, - RULE_indexPatternAndMetadataFields = 14, RULE_indexPattern = 15, RULE_clusterString = 16, - RULE_selectorString = 17, RULE_unquotedIndexString = 18, RULE_indexString = 19, - RULE_metadata = 20, RULE_evalCommand = 21, RULE_statsCommand = 22, RULE_aggFields = 23, - RULE_aggField = 24, RULE_qualifiedName = 25, RULE_fieldName = 26, RULE_qualifiedNamePattern = 27, - RULE_fieldNamePattern = 28, RULE_qualifiedNamePatterns = 29, RULE_identifier = 30, - RULE_identifierPattern = 31, RULE_parameter = 32, RULE_doubleParameter = 33, - RULE_identifierOrParameter = 34, RULE_limitCommand = 35, RULE_sortCommand = 36, - RULE_orderExpression = 37, RULE_keepCommand = 38, RULE_dropCommand = 39, - RULE_renameCommand = 40, RULE_renameClause = 41, RULE_dissectCommand = 42, - RULE_dissectCommandOptions = 43, RULE_dissectCommandOption = 44, RULE_commandNamedParameters = 45, - RULE_grokCommand = 46, RULE_mvExpandCommand = 47, RULE_explainCommand = 48, - RULE_subqueryExpression = 49, RULE_showCommand = 50, RULE_enrichCommand = 51, - RULE_enrichPolicyName = 52, RULE_enrichWithClause = 53, RULE_sampleCommand = 54, - RULE_changePointCommand = 55, RULE_forkCommand = 56, RULE_forkSubQueries = 57, - RULE_forkSubQuery = 58, RULE_forkSubQueryCommand = 59, RULE_forkSubQueryProcessingCommand = 60, - RULE_rerankCommand = 61, RULE_completionCommand = 62, RULE_inlineStatsCommand = 63, - RULE_lookupCommand = 64, RULE_insistCommand = 65, RULE_fuseCommand = 66, - RULE_fuseConfiguration = 67, RULE_setCommand = 68, RULE_setField = 69, - RULE_booleanExpression = 70, RULE_regexBooleanExpression = 71, RULE_matchBooleanExpression = 72, - RULE_valueExpression = 73, RULE_operatorExpression = 74, RULE_primaryExpression = 75, - RULE_functionExpression = 76, RULE_functionName = 77, RULE_mapExpression = 78, - RULE_entryExpression = 79, RULE_mapValue = 80, RULE_constant = 81, RULE_booleanValue = 82, - RULE_numericValue = 83, RULE_decimalValue = 84, RULE_integerValue = 85, - RULE_string = 86, RULE_comparisonOperator = 87, RULE_joinCommand = 88, - RULE_joinTarget = 89, RULE_joinCondition = 90; + RULE_indexPatternAndMetadataFields = 14, RULE_indexPatternOrSubquery = 15, + RULE_subquery = 16, RULE_subqueryProcessingCommand = 17, RULE_indexPattern = 18, + RULE_clusterString = 19, RULE_selectorString = 20, RULE_unquotedIndexString = 21, + RULE_indexString = 22, RULE_metadata = 23, RULE_evalCommand = 24, RULE_statsCommand = 25, + RULE_aggFields = 26, RULE_aggField = 27, RULE_qualifiedName = 28, RULE_fieldName = 29, + RULE_qualifiedNamePattern = 30, RULE_fieldNamePattern = 31, RULE_qualifiedNamePatterns = 32, + RULE_identifier = 33, RULE_identifierPattern = 34, RULE_parameter = 35, + RULE_doubleParameter = 36, RULE_identifierOrParameter = 37, RULE_limitCommand = 38, + RULE_sortCommand = 39, RULE_orderExpression = 40, RULE_keepCommand = 41, + RULE_dropCommand = 42, RULE_renameCommand = 43, RULE_renameClause = 44, + RULE_dissectCommand = 45, RULE_dissectCommandOptions = 46, RULE_dissectCommandOption = 47, + RULE_commandNamedParameters = 48, RULE_grokCommand = 49, RULE_mvExpandCommand = 50, + RULE_explainCommand = 51, RULE_subqueryExpression = 52, RULE_showCommand = 53, + RULE_enrichCommand = 54, RULE_enrichPolicyName = 55, RULE_enrichWithClause = 56, + RULE_sampleCommand = 57, RULE_changePointCommand = 58, RULE_forkCommand = 59, + RULE_forkSubQueries = 60, RULE_forkSubQuery = 61, RULE_forkSubQueryCommand = 62, + RULE_forkSubQueryProcessingCommand = 63, RULE_rerankCommand = 64, RULE_completionCommand = 65, + RULE_inlineStatsCommand = 66, RULE_lookupCommand = 67, RULE_insistCommand = 68, + RULE_fuseCommand = 69, RULE_fuseConfiguration = 70, RULE_setCommand = 71, + RULE_setField = 72, RULE_booleanExpression = 73, RULE_regexBooleanExpression = 74, + RULE_matchBooleanExpression = 75, RULE_valueExpression = 76, RULE_operatorExpression = 77, + RULE_primaryExpression = 78, RULE_functionExpression = 79, RULE_functionName = 80, + RULE_mapExpression = 81, RULE_entryExpression = 82, RULE_mapValue = 83, + RULE_constant = 84, RULE_booleanValue = 85, RULE_numericValue = 86, RULE_decimalValue = 87, + RULE_integerValue = 88, RULE_string = 89, RULE_comparisonOperator = 90, + RULE_joinCommand = 91, RULE_joinTarget = 92, RULE_joinCondition = 93; private static String[] makeRuleNames() { return new String[] { "statements", "singleStatement", "query", "sourceCommand", "processingCommand", "whereCommand", "dataType", "rowCommand", "fields", "field", "rerankFields", "rerankField", "fromCommand", "timeSeriesCommand", "indexPatternAndMetadataFields", - "indexPattern", "clusterString", "selectorString", "unquotedIndexString", - "indexString", "metadata", "evalCommand", "statsCommand", "aggFields", - "aggField", "qualifiedName", "fieldName", "qualifiedNamePattern", "fieldNamePattern", - "qualifiedNamePatterns", "identifier", "identifierPattern", "parameter", - "doubleParameter", "identifierOrParameter", "limitCommand", "sortCommand", - "orderExpression", "keepCommand", "dropCommand", "renameCommand", "renameClause", - "dissectCommand", "dissectCommandOptions", "dissectCommandOption", "commandNamedParameters", - "grokCommand", "mvExpandCommand", "explainCommand", "subqueryExpression", - "showCommand", "enrichCommand", "enrichPolicyName", "enrichWithClause", - "sampleCommand", "changePointCommand", "forkCommand", "forkSubQueries", - "forkSubQuery", "forkSubQueryCommand", "forkSubQueryProcessingCommand", - "rerankCommand", "completionCommand", "inlineStatsCommand", "lookupCommand", - "insistCommand", "fuseCommand", "fuseConfiguration", "setCommand", "setField", - "booleanExpression", "regexBooleanExpression", "matchBooleanExpression", - "valueExpression", "operatorExpression", "primaryExpression", "functionExpression", - "functionName", "mapExpression", "entryExpression", "mapValue", "constant", - "booleanValue", "numericValue", "decimalValue", "integerValue", "string", - "comparisonOperator", "joinCommand", "joinTarget", "joinCondition" + "indexPatternOrSubquery", "subquery", "subqueryProcessingCommand", "indexPattern", + "clusterString", "selectorString", "unquotedIndexString", "indexString", + "metadata", "evalCommand", "statsCommand", "aggFields", "aggField", "qualifiedName", + "fieldName", "qualifiedNamePattern", "fieldNamePattern", "qualifiedNamePatterns", + "identifier", "identifierPattern", "parameter", "doubleParameter", "identifierOrParameter", + "limitCommand", "sortCommand", "orderExpression", "keepCommand", "dropCommand", + "renameCommand", "renameClause", "dissectCommand", "dissectCommandOptions", + "dissectCommandOption", "commandNamedParameters", "grokCommand", "mvExpandCommand", + "explainCommand", "subqueryExpression", "showCommand", "enrichCommand", + "enrichPolicyName", "enrichWithClause", "sampleCommand", "changePointCommand", + "forkCommand", "forkSubQueries", "forkSubQuery", "forkSubQueryCommand", + "forkSubQueryProcessingCommand", "rerankCommand", "completionCommand", + "inlineStatsCommand", "lookupCommand", "insistCommand", "fuseCommand", + "fuseConfiguration", "setCommand", "setField", "booleanExpression", "regexBooleanExpression", + "matchBooleanExpression", "valueExpression", "operatorExpression", "primaryExpression", + "functionExpression", "functionName", "mapExpression", "entryExpression", + "mapValue", "constant", "booleanValue", "numericValue", "decimalValue", + "integerValue", "string", "comparisonOperator", "joinCommand", "joinTarget", + "joinCondition" }; } public static final String[] ruleNames = makeRuleNames(); @@ -256,15 +258,15 @@ public final StatementsContext statements() throws RecognitionException { enterRule(_localctx, 0, RULE_statements); try { int _alt; - setState(194); + setState(200); _errHandler.sync(this); switch ( getInterpreter().adaptivePredict(_input,1,_ctx) ) { case 1: enterOuterAlt(_localctx, 1); { - setState(182); + setState(188); if (!(this.isDevVersion())) throw new FailedPredicateException(this, "this.isDevVersion()"); - setState(184); + setState(190); _errHandler.sync(this); _alt = 1; do { @@ -272,7 +274,7 @@ public final StatementsContext statements() throws RecognitionException { case 1: { { - setState(183); + setState(189); setCommand(); } } @@ -280,22 +282,22 @@ public final StatementsContext statements() throws RecognitionException { default: throw new NoViableAltException(this); } - setState(186); + setState(192); _errHandler.sync(this); _alt = getInterpreter().adaptivePredict(_input,0,_ctx); } while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ); - setState(188); + setState(194); singleStatement(); - setState(189); + setState(195); match(EOF); } break; case 2: enterOuterAlt(_localctx, 2); { - setState(191); + setState(197); singleStatement(); - setState(192); + setState(198); match(EOF); } break; @@ -344,9 +346,9 @@ public final SingleStatementContext singleStatement() throws RecognitionExceptio try { enterOuterAlt(_localctx, 1); { - setState(196); + setState(202); query(0); - setState(197); + setState(203); match(EOF); } } @@ -442,11 +444,11 @@ private QueryContext query(int _p) throws RecognitionException { _ctx = _localctx; _prevctx = _localctx; - setState(200); + setState(206); sourceCommand(); } _ctx.stop = _input.LT(-1); - setState(207); + setState(213); _errHandler.sync(this); _alt = getInterpreter().adaptivePredict(_input,2,_ctx); while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) { @@ -457,16 +459,16 @@ private QueryContext query(int _p) throws RecognitionException { { _localctx = new CompositeQueryContext(new QueryContext(_parentctx, _parentState)); pushNewRecursionContext(_localctx, _startState, RULE_query); - setState(202); + setState(208); if (!(precpred(_ctx, 1))) throw new FailedPredicateException(this, "precpred(_ctx, 1)"); - setState(203); + setState(209); match(PIPE); - setState(204); + setState(210); processingCommand(); } } } - setState(209); + setState(215); _errHandler.sync(this); _alt = getInterpreter().adaptivePredict(_input,2,_ctx); } @@ -524,43 +526,43 @@ public final SourceCommandContext sourceCommand() throws RecognitionException { SourceCommandContext _localctx = new SourceCommandContext(_ctx, getState()); enterRule(_localctx, 6, RULE_sourceCommand); try { - setState(216); + setState(222); _errHandler.sync(this); switch ( getInterpreter().adaptivePredict(_input,3,_ctx) ) { case 1: enterOuterAlt(_localctx, 1); { - setState(210); + setState(216); fromCommand(); } break; case 2: enterOuterAlt(_localctx, 2); { - setState(211); + setState(217); rowCommand(); } break; case 3: enterOuterAlt(_localctx, 3); { - setState(212); + setState(218); showCommand(); } break; case 4: enterOuterAlt(_localctx, 4); { - setState(213); + setState(219); timeSeriesCommand(); } break; case 5: enterOuterAlt(_localctx, 5); { - setState(214); + setState(220); if (!(this.isDevVersion())) throw new FailedPredicateException(this, "this.isDevVersion()"); - setState(215); + setState(221); explainCommand(); } break; @@ -669,166 +671,166 @@ public final ProcessingCommandContext processingCommand() throws RecognitionExce ProcessingCommandContext _localctx = new ProcessingCommandContext(_ctx, getState()); enterRule(_localctx, 8, RULE_processingCommand); try { - setState(243); + setState(249); _errHandler.sync(this); switch ( getInterpreter().adaptivePredict(_input,4,_ctx) ) { case 1: enterOuterAlt(_localctx, 1); { - setState(218); + setState(224); evalCommand(); } break; case 2: enterOuterAlt(_localctx, 2); { - setState(219); + setState(225); whereCommand(); } break; case 3: enterOuterAlt(_localctx, 3); { - setState(220); + setState(226); keepCommand(); } break; case 4: enterOuterAlt(_localctx, 4); { - setState(221); + setState(227); limitCommand(); } break; case 5: enterOuterAlt(_localctx, 5); { - setState(222); + setState(228); statsCommand(); } break; case 6: enterOuterAlt(_localctx, 6); { - setState(223); + setState(229); sortCommand(); } break; case 7: enterOuterAlt(_localctx, 7); { - setState(224); + setState(230); dropCommand(); } break; case 8: enterOuterAlt(_localctx, 8); { - setState(225); + setState(231); renameCommand(); } break; case 9: enterOuterAlt(_localctx, 9); { - setState(226); + setState(232); dissectCommand(); } break; case 10: enterOuterAlt(_localctx, 10); { - setState(227); + setState(233); grokCommand(); } break; case 11: enterOuterAlt(_localctx, 11); { - setState(228); + setState(234); enrichCommand(); } break; case 12: enterOuterAlt(_localctx, 12); { - setState(229); + setState(235); mvExpandCommand(); } break; case 13: enterOuterAlt(_localctx, 13); { - setState(230); + setState(236); joinCommand(); } break; case 14: enterOuterAlt(_localctx, 14); { - setState(231); + setState(237); changePointCommand(); } break; case 15: enterOuterAlt(_localctx, 15); { - setState(232); + setState(238); completionCommand(); } break; case 16: enterOuterAlt(_localctx, 16); { - setState(233); + setState(239); sampleCommand(); } break; case 17: enterOuterAlt(_localctx, 17); { - setState(234); + setState(240); forkCommand(); } break; case 18: enterOuterAlt(_localctx, 18); { - setState(235); + setState(241); rerankCommand(); } break; case 19: enterOuterAlt(_localctx, 19); { - setState(236); + setState(242); inlineStatsCommand(); } break; case 20: enterOuterAlt(_localctx, 20); { - setState(237); + setState(243); if (!(this.isDevVersion())) throw new FailedPredicateException(this, "this.isDevVersion()"); - setState(238); + setState(244); lookupCommand(); } break; case 21: enterOuterAlt(_localctx, 21); { - setState(239); + setState(245); if (!(this.isDevVersion())) throw new FailedPredicateException(this, "this.isDevVersion()"); - setState(240); + setState(246); insistCommand(); } break; case 22: enterOuterAlt(_localctx, 22); { - setState(241); + setState(247); if (!(this.isDevVersion())) throw new FailedPredicateException(this, "this.isDevVersion()"); - setState(242); + setState(248); fuseCommand(); } break; @@ -877,9 +879,9 @@ public final WhereCommandContext whereCommand() throws RecognitionException { try { enterOuterAlt(_localctx, 1); { - setState(245); + setState(251); match(WHERE); - setState(246); + setState(252); booleanExpression(0); } } @@ -937,7 +939,7 @@ public final DataTypeContext dataType() throws RecognitionException { _localctx = new ToDataTypeContext(_localctx); enterOuterAlt(_localctx, 1); { - setState(248); + setState(254); identifier(); } } @@ -984,9 +986,9 @@ public final RowCommandContext rowCommand() throws RecognitionException { try { enterOuterAlt(_localctx, 1); { - setState(250); + setState(256); match(ROW); - setState(251); + setState(257); fields(); } } @@ -1040,23 +1042,23 @@ public final FieldsContext fields() throws RecognitionException { int _alt; enterOuterAlt(_localctx, 1); { - setState(253); + setState(259); field(); - setState(258); + setState(264); _errHandler.sync(this); _alt = getInterpreter().adaptivePredict(_input,5,_ctx); while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) { if ( _alt==1 ) { { { - setState(254); + setState(260); match(COMMA); - setState(255); + setState(261); field(); } } } - setState(260); + setState(266); _errHandler.sync(this); _alt = getInterpreter().adaptivePredict(_input,5,_ctx); } @@ -1108,19 +1110,19 @@ public final FieldContext field() throws RecognitionException { try { enterOuterAlt(_localctx, 1); { - setState(264); + setState(270); _errHandler.sync(this); switch ( getInterpreter().adaptivePredict(_input,6,_ctx) ) { case 1: { - setState(261); + setState(267); qualifiedName(); - setState(262); + setState(268); match(ASSIGN); } break; } - setState(266); + setState(272); booleanExpression(0); } } @@ -1174,23 +1176,23 @@ public final RerankFieldsContext rerankFields() throws RecognitionException { int _alt; enterOuterAlt(_localctx, 1); { - setState(268); + setState(274); rerankField(); - setState(273); + setState(279); _errHandler.sync(this); _alt = getInterpreter().adaptivePredict(_input,7,_ctx); while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) { if ( _alt==1 ) { { { - setState(269); + setState(275); match(COMMA); - setState(270); + setState(276); rerankField(); } } } - setState(275); + setState(281); _errHandler.sync(this); _alt = getInterpreter().adaptivePredict(_input,7,_ctx); } @@ -1242,16 +1244,16 @@ public final RerankFieldContext rerankField() throws RecognitionException { try { enterOuterAlt(_localctx, 1); { - setState(276); + setState(282); qualifiedName(); - setState(279); + setState(285); _errHandler.sync(this); switch ( getInterpreter().adaptivePredict(_input,8,_ctx) ) { case 1: { - setState(277); + setState(283); match(ASSIGN); - setState(278); + setState(284); booleanExpression(0); } break; @@ -1301,9 +1303,9 @@ public final FromCommandContext fromCommand() throws RecognitionException { try { enterOuterAlt(_localctx, 1); { - setState(281); + setState(287); match(FROM); - setState(282); + setState(288); indexPatternAndMetadataFields(); } } @@ -1350,9 +1352,9 @@ public final TimeSeriesCommandContext timeSeriesCommand() throws RecognitionExce try { enterOuterAlt(_localctx, 1); { - setState(284); + setState(290); match(TS); - setState(285); + setState(291); indexPatternAndMetadataFields(); } } @@ -1369,11 +1371,11 @@ public final TimeSeriesCommandContext timeSeriesCommand() throws RecognitionExce @SuppressWarnings("CheckReturnValue") public static class IndexPatternAndMetadataFieldsContext extends ParserRuleContext { - public List indexPattern() { - return getRuleContexts(IndexPatternContext.class); + public List indexPatternOrSubquery() { + return getRuleContexts(IndexPatternOrSubqueryContext.class); } - public IndexPatternContext indexPattern(int i) { - return getRuleContext(IndexPatternContext.class,i); + public IndexPatternOrSubqueryContext indexPatternOrSubquery(int i) { + return getRuleContext(IndexPatternOrSubqueryContext.class,i); } public List COMMA() { return getTokens(EsqlBaseParser.COMMA); } public TerminalNode COMMA(int i) { @@ -1409,32 +1411,32 @@ public final IndexPatternAndMetadataFieldsContext indexPatternAndMetadataFields( int _alt; enterOuterAlt(_localctx, 1); { - setState(287); - indexPattern(); - setState(292); + setState(293); + indexPatternOrSubquery(); + setState(298); _errHandler.sync(this); _alt = getInterpreter().adaptivePredict(_input,9,_ctx); while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) { if ( _alt==1 ) { { { - setState(288); + setState(294); match(COMMA); - setState(289); - indexPattern(); + setState(295); + indexPatternOrSubquery(); } } } - setState(294); + setState(300); _errHandler.sync(this); _alt = getInterpreter().adaptivePredict(_input,9,_ctx); } - setState(296); + setState(302); _errHandler.sync(this); switch ( getInterpreter().adaptivePredict(_input,10,_ctx) ) { case 1: { - setState(295); + setState(301); metadata(); } break; @@ -1452,6 +1454,195 @@ public final IndexPatternAndMetadataFieldsContext indexPatternAndMetadataFields( return _localctx; } + @SuppressWarnings("CheckReturnValue") + public static class IndexPatternOrSubqueryContext extends ParserRuleContext { + public IndexPatternContext indexPattern() { + return getRuleContext(IndexPatternContext.class,0); + } + public SubqueryContext subquery() { + return getRuleContext(SubqueryContext.class,0); + } + @SuppressWarnings("this-escape") + public IndexPatternOrSubqueryContext(ParserRuleContext parent, int invokingState) { + super(parent, invokingState); + } + @Override public int getRuleIndex() { return RULE_indexPatternOrSubquery; } + @Override + public void enterRule(ParseTreeListener listener) { + if ( listener instanceof EsqlBaseParserListener ) ((EsqlBaseParserListener)listener).enterIndexPatternOrSubquery(this); + } + @Override + public void exitRule(ParseTreeListener listener) { + if ( listener instanceof EsqlBaseParserListener ) ((EsqlBaseParserListener)listener).exitIndexPatternOrSubquery(this); + } + @Override + public T accept(ParseTreeVisitor visitor) { + if ( visitor instanceof EsqlBaseParserVisitor ) return ((EsqlBaseParserVisitor)visitor).visitIndexPatternOrSubquery(this); + else return visitor.visitChildren(this); + } + } + + public final IndexPatternOrSubqueryContext indexPatternOrSubquery() throws RecognitionException { + IndexPatternOrSubqueryContext _localctx = new IndexPatternOrSubqueryContext(_ctx, getState()); + enterRule(_localctx, 30, RULE_indexPatternOrSubquery); + try { + setState(307); + _errHandler.sync(this); + switch ( getInterpreter().adaptivePredict(_input,11,_ctx) ) { + case 1: + enterOuterAlt(_localctx, 1); + { + setState(304); + indexPattern(); + } + break; + case 2: + enterOuterAlt(_localctx, 2); + { + setState(305); + if (!(this.isDevVersion())) throw new FailedPredicateException(this, "this.isDevVersion()"); + setState(306); + subquery(); + } + break; + } + } + catch (RecognitionException re) { + _localctx.exception = re; + _errHandler.reportError(this, re); + _errHandler.recover(this, re); + } + finally { + exitRule(); + } + return _localctx; + } + + @SuppressWarnings("CheckReturnValue") + public static class SubqueryContext extends ParserRuleContext { + public TerminalNode LP() { return getToken(EsqlBaseParser.LP, 0); } + public FromCommandContext fromCommand() { + return getRuleContext(FromCommandContext.class,0); + } + public TerminalNode RP() { return getToken(EsqlBaseParser.RP, 0); } + public List PIPE() { return getTokens(EsqlBaseParser.PIPE); } + public TerminalNode PIPE(int i) { + return getToken(EsqlBaseParser.PIPE, i); + } + public List subqueryProcessingCommand() { + return getRuleContexts(SubqueryProcessingCommandContext.class); + } + public SubqueryProcessingCommandContext subqueryProcessingCommand(int i) { + return getRuleContext(SubqueryProcessingCommandContext.class,i); + } + @SuppressWarnings("this-escape") + public SubqueryContext(ParserRuleContext parent, int invokingState) { + super(parent, invokingState); + } + @Override public int getRuleIndex() { return RULE_subquery; } + @Override + public void enterRule(ParseTreeListener listener) { + if ( listener instanceof EsqlBaseParserListener ) ((EsqlBaseParserListener)listener).enterSubquery(this); + } + @Override + public void exitRule(ParseTreeListener listener) { + if ( listener instanceof EsqlBaseParserListener ) ((EsqlBaseParserListener)listener).exitSubquery(this); + } + @Override + public T accept(ParseTreeVisitor visitor) { + if ( visitor instanceof EsqlBaseParserVisitor ) return ((EsqlBaseParserVisitor)visitor).visitSubquery(this); + else return visitor.visitChildren(this); + } + } + + public final SubqueryContext subquery() throws RecognitionException { + SubqueryContext _localctx = new SubqueryContext(_ctx, getState()); + enterRule(_localctx, 32, RULE_subquery); + int _la; + try { + enterOuterAlt(_localctx, 1); + { + setState(309); + match(LP); + setState(310); + fromCommand(); + setState(315); + _errHandler.sync(this); + _la = _input.LA(1); + while (_la==PIPE) { + { + { + setState(311); + match(PIPE); + setState(312); + subqueryProcessingCommand(); + } + } + setState(317); + _errHandler.sync(this); + _la = _input.LA(1); + } + setState(318); + match(RP); + } + } + catch (RecognitionException re) { + _localctx.exception = re; + _errHandler.reportError(this, re); + _errHandler.recover(this, re); + } + finally { + exitRule(); + } + return _localctx; + } + + @SuppressWarnings("CheckReturnValue") + public static class SubqueryProcessingCommandContext extends ParserRuleContext { + public ProcessingCommandContext processingCommand() { + return getRuleContext(ProcessingCommandContext.class,0); + } + @SuppressWarnings("this-escape") + public SubqueryProcessingCommandContext(ParserRuleContext parent, int invokingState) { + super(parent, invokingState); + } + @Override public int getRuleIndex() { return RULE_subqueryProcessingCommand; } + @Override + public void enterRule(ParseTreeListener listener) { + if ( listener instanceof EsqlBaseParserListener ) ((EsqlBaseParserListener)listener).enterSubqueryProcessingCommand(this); + } + @Override + public void exitRule(ParseTreeListener listener) { + if ( listener instanceof EsqlBaseParserListener ) ((EsqlBaseParserListener)listener).exitSubqueryProcessingCommand(this); + } + @Override + public T accept(ParseTreeVisitor visitor) { + if ( visitor instanceof EsqlBaseParserVisitor ) return ((EsqlBaseParserVisitor)visitor).visitSubqueryProcessingCommand(this); + else return visitor.visitChildren(this); + } + } + + public final SubqueryProcessingCommandContext subqueryProcessingCommand() throws RecognitionException { + SubqueryProcessingCommandContext _localctx = new SubqueryProcessingCommandContext(_ctx, getState()); + enterRule(_localctx, 34, RULE_subqueryProcessingCommand); + try { + enterOuterAlt(_localctx, 1); + { + setState(320); + processingCommand(); + } + } + catch (RecognitionException re) { + _localctx.exception = re; + _errHandler.reportError(this, re); + _errHandler.recover(this, re); + } + finally { + exitRule(); + } + return _localctx; + } + @SuppressWarnings("CheckReturnValue") public static class IndexPatternContext extends ParserRuleContext { public ClusterStringContext clusterString() { @@ -1490,37 +1681,37 @@ public T accept(ParseTreeVisitor visitor) { public final IndexPatternContext indexPattern() throws RecognitionException { IndexPatternContext _localctx = new IndexPatternContext(_ctx, getState()); - enterRule(_localctx, 30, RULE_indexPattern); + enterRule(_localctx, 36, RULE_indexPattern); try { - setState(307); + setState(331); _errHandler.sync(this); - switch ( getInterpreter().adaptivePredict(_input,11,_ctx) ) { + switch ( getInterpreter().adaptivePredict(_input,13,_ctx) ) { case 1: enterOuterAlt(_localctx, 1); { - setState(298); + setState(322); clusterString(); - setState(299); + setState(323); match(COLON); - setState(300); + setState(324); unquotedIndexString(); } break; case 2: enterOuterAlt(_localctx, 2); { - setState(302); + setState(326); unquotedIndexString(); - setState(303); + setState(327); match(CAST_OP); - setState(304); + setState(328); selectorString(); } break; case 3: enterOuterAlt(_localctx, 3); { - setState(306); + setState(330); indexString(); } break; @@ -1562,11 +1753,11 @@ public T accept(ParseTreeVisitor visitor) { public final ClusterStringContext clusterString() throws RecognitionException { ClusterStringContext _localctx = new ClusterStringContext(_ctx, getState()); - enterRule(_localctx, 32, RULE_clusterString); + enterRule(_localctx, 38, RULE_clusterString); try { enterOuterAlt(_localctx, 1); { - setState(309); + setState(333); match(UNQUOTED_SOURCE); } } @@ -1606,11 +1797,11 @@ public T accept(ParseTreeVisitor visitor) { public final SelectorStringContext selectorString() throws RecognitionException { SelectorStringContext _localctx = new SelectorStringContext(_ctx, getState()); - enterRule(_localctx, 34, RULE_selectorString); + enterRule(_localctx, 40, RULE_selectorString); try { enterOuterAlt(_localctx, 1); { - setState(311); + setState(335); match(UNQUOTED_SOURCE); } } @@ -1650,11 +1841,11 @@ public T accept(ParseTreeVisitor visitor) { public final UnquotedIndexStringContext unquotedIndexString() throws RecognitionException { UnquotedIndexStringContext _localctx = new UnquotedIndexStringContext(_ctx, getState()); - enterRule(_localctx, 36, RULE_unquotedIndexString); + enterRule(_localctx, 42, RULE_unquotedIndexString); try { enterOuterAlt(_localctx, 1); { - setState(313); + setState(337); match(UNQUOTED_SOURCE); } } @@ -1695,12 +1886,12 @@ public T accept(ParseTreeVisitor visitor) { public final IndexStringContext indexString() throws RecognitionException { IndexStringContext _localctx = new IndexStringContext(_ctx, getState()); - enterRule(_localctx, 38, RULE_indexString); + enterRule(_localctx, 44, RULE_indexString); int _la; try { enterOuterAlt(_localctx, 1); { - setState(315); + setState(339); _la = _input.LA(1); if ( !(_la==QUOTED_STRING || _la==UNQUOTED_SOURCE) ) { _errHandler.recoverInline(this); @@ -1756,32 +1947,32 @@ public T accept(ParseTreeVisitor visitor) { public final MetadataContext metadata() throws RecognitionException { MetadataContext _localctx = new MetadataContext(_ctx, getState()); - enterRule(_localctx, 40, RULE_metadata); + enterRule(_localctx, 46, RULE_metadata); try { int _alt; enterOuterAlt(_localctx, 1); { - setState(317); + setState(341); match(METADATA); - setState(318); + setState(342); match(UNQUOTED_SOURCE); - setState(323); + setState(347); _errHandler.sync(this); - _alt = getInterpreter().adaptivePredict(_input,12,_ctx); + _alt = getInterpreter().adaptivePredict(_input,14,_ctx); while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) { if ( _alt==1 ) { { { - setState(319); + setState(343); match(COMMA); - setState(320); + setState(344); match(UNQUOTED_SOURCE); } } } - setState(325); + setState(349); _errHandler.sync(this); - _alt = getInterpreter().adaptivePredict(_input,12,_ctx); + _alt = getInterpreter().adaptivePredict(_input,14,_ctx); } } } @@ -1824,13 +2015,13 @@ public T accept(ParseTreeVisitor visitor) { public final EvalCommandContext evalCommand() throws RecognitionException { EvalCommandContext _localctx = new EvalCommandContext(_ctx, getState()); - enterRule(_localctx, 42, RULE_evalCommand); + enterRule(_localctx, 48, RULE_evalCommand); try { enterOuterAlt(_localctx, 1); { - setState(326); + setState(350); match(EVAL); - setState(327); + setState(351); fields(); } } @@ -1879,30 +2070,30 @@ public T accept(ParseTreeVisitor visitor) { public final StatsCommandContext statsCommand() throws RecognitionException { StatsCommandContext _localctx = new StatsCommandContext(_ctx, getState()); - enterRule(_localctx, 44, RULE_statsCommand); + enterRule(_localctx, 50, RULE_statsCommand); try { enterOuterAlt(_localctx, 1); { - setState(329); + setState(353); match(STATS); - setState(331); + setState(355); _errHandler.sync(this); - switch ( getInterpreter().adaptivePredict(_input,13,_ctx) ) { + switch ( getInterpreter().adaptivePredict(_input,15,_ctx) ) { case 1: { - setState(330); + setState(354); ((StatsCommandContext)_localctx).stats = aggFields(); } break; } - setState(335); + setState(359); _errHandler.sync(this); - switch ( getInterpreter().adaptivePredict(_input,14,_ctx) ) { + switch ( getInterpreter().adaptivePredict(_input,16,_ctx) ) { case 1: { - setState(333); + setState(357); match(BY); - setState(334); + setState(358); ((StatsCommandContext)_localctx).grouping = fields(); } break; @@ -1954,30 +2145,30 @@ public T accept(ParseTreeVisitor visitor) { public final AggFieldsContext aggFields() throws RecognitionException { AggFieldsContext _localctx = new AggFieldsContext(_ctx, getState()); - enterRule(_localctx, 46, RULE_aggFields); + enterRule(_localctx, 52, RULE_aggFields); try { int _alt; enterOuterAlt(_localctx, 1); { - setState(337); + setState(361); aggField(); - setState(342); + setState(366); _errHandler.sync(this); - _alt = getInterpreter().adaptivePredict(_input,15,_ctx); + _alt = getInterpreter().adaptivePredict(_input,17,_ctx); while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) { if ( _alt==1 ) { { { - setState(338); + setState(362); match(COMMA); - setState(339); + setState(363); aggField(); } } } - setState(344); + setState(368); _errHandler.sync(this); - _alt = getInterpreter().adaptivePredict(_input,15,_ctx); + _alt = getInterpreter().adaptivePredict(_input,17,_ctx); } } } @@ -2023,20 +2214,20 @@ public T accept(ParseTreeVisitor visitor) { public final AggFieldContext aggField() throws RecognitionException { AggFieldContext _localctx = new AggFieldContext(_ctx, getState()); - enterRule(_localctx, 48, RULE_aggField); + enterRule(_localctx, 54, RULE_aggField); try { enterOuterAlt(_localctx, 1); { - setState(345); + setState(369); field(); - setState(348); + setState(372); _errHandler.sync(this); - switch ( getInterpreter().adaptivePredict(_input,16,_ctx) ) { + switch ( getInterpreter().adaptivePredict(_input,18,_ctx) ) { case 1: { - setState(346); + setState(370); match(WHERE); - setState(347); + setState(371); booleanExpression(0); } break; @@ -2093,45 +2284,45 @@ public T accept(ParseTreeVisitor visitor) { public final QualifiedNameContext qualifiedName() throws RecognitionException { QualifiedNameContext _localctx = new QualifiedNameContext(_ctx, getState()); - enterRule(_localctx, 50, RULE_qualifiedName); + enterRule(_localctx, 56, RULE_qualifiedName); int _la; try { - setState(362); + setState(386); _errHandler.sync(this); - switch ( getInterpreter().adaptivePredict(_input,18,_ctx) ) { + switch ( getInterpreter().adaptivePredict(_input,20,_ctx) ) { case 1: enterOuterAlt(_localctx, 1); { - setState(350); + setState(374); if (!(this.isDevVersion())) throw new FailedPredicateException(this, "this.isDevVersion()"); - setState(351); + setState(375); match(OPENING_BRACKET); - setState(353); + setState(377); _errHandler.sync(this); _la = _input.LA(1); if (_la==UNQUOTED_IDENTIFIER) { { - setState(352); + setState(376); ((QualifiedNameContext)_localctx).qualifier = match(UNQUOTED_IDENTIFIER); } } - setState(355); + setState(379); match(CLOSING_BRACKET); - setState(356); + setState(380); match(DOT); - setState(357); + setState(381); match(OPENING_BRACKET); - setState(358); + setState(382); ((QualifiedNameContext)_localctx).name = fieldName(); - setState(359); + setState(383); match(CLOSING_BRACKET); } break; case 2: enterOuterAlt(_localctx, 2); { - setState(361); + setState(385); ((QualifiedNameContext)_localctx).name = fieldName(); } break; @@ -2182,30 +2373,30 @@ public T accept(ParseTreeVisitor visitor) { public final FieldNameContext fieldName() throws RecognitionException { FieldNameContext _localctx = new FieldNameContext(_ctx, getState()); - enterRule(_localctx, 52, RULE_fieldName); + enterRule(_localctx, 58, RULE_fieldName); try { int _alt; enterOuterAlt(_localctx, 1); { - setState(364); + setState(388); identifierOrParameter(); - setState(369); + setState(393); _errHandler.sync(this); - _alt = getInterpreter().adaptivePredict(_input,19,_ctx); + _alt = getInterpreter().adaptivePredict(_input,21,_ctx); while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) { if ( _alt==1 ) { { { - setState(365); + setState(389); match(DOT); - setState(366); + setState(390); identifierOrParameter(); } } } - setState(371); + setState(395); _errHandler.sync(this); - _alt = getInterpreter().adaptivePredict(_input,19,_ctx); + _alt = getInterpreter().adaptivePredict(_input,21,_ctx); } } } @@ -2259,45 +2450,45 @@ public T accept(ParseTreeVisitor visitor) { public final QualifiedNamePatternContext qualifiedNamePattern() throws RecognitionException { QualifiedNamePatternContext _localctx = new QualifiedNamePatternContext(_ctx, getState()); - enterRule(_localctx, 54, RULE_qualifiedNamePattern); + enterRule(_localctx, 60, RULE_qualifiedNamePattern); int _la; try { - setState(384); + setState(408); _errHandler.sync(this); - switch ( getInterpreter().adaptivePredict(_input,21,_ctx) ) { + switch ( getInterpreter().adaptivePredict(_input,23,_ctx) ) { case 1: enterOuterAlt(_localctx, 1); { - setState(372); + setState(396); if (!(this.isDevVersion())) throw new FailedPredicateException(this, "this.isDevVersion()"); - setState(373); + setState(397); match(OPENING_BRACKET); - setState(375); + setState(399); _errHandler.sync(this); _la = _input.LA(1); if (_la==ID_PATTERN) { { - setState(374); + setState(398); ((QualifiedNamePatternContext)_localctx).qualifier = match(ID_PATTERN); } } - setState(377); + setState(401); match(CLOSING_BRACKET); - setState(378); + setState(402); match(DOT); - setState(379); + setState(403); match(OPENING_BRACKET); - setState(380); + setState(404); ((QualifiedNamePatternContext)_localctx).name = fieldNamePattern(); - setState(381); + setState(405); match(CLOSING_BRACKET); } break; case 2: enterOuterAlt(_localctx, 2); { - setState(383); + setState(407); ((QualifiedNamePatternContext)_localctx).name = fieldNamePattern(); } break; @@ -2348,31 +2539,31 @@ public T accept(ParseTreeVisitor visitor) { public final FieldNamePatternContext fieldNamePattern() throws RecognitionException { FieldNamePatternContext _localctx = new FieldNamePatternContext(_ctx, getState()); - enterRule(_localctx, 56, RULE_fieldNamePattern); + enterRule(_localctx, 62, RULE_fieldNamePattern); try { int _alt; enterOuterAlt(_localctx, 1); { { - setState(386); + setState(410); identifierPattern(); - setState(391); + setState(415); _errHandler.sync(this); - _alt = getInterpreter().adaptivePredict(_input,22,_ctx); + _alt = getInterpreter().adaptivePredict(_input,24,_ctx); while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) { if ( _alt==1 ) { { { - setState(387); + setState(411); match(DOT); - setState(388); + setState(412); identifierPattern(); } } } - setState(393); + setState(417); _errHandler.sync(this); - _alt = getInterpreter().adaptivePredict(_input,22,_ctx); + _alt = getInterpreter().adaptivePredict(_input,24,_ctx); } } } @@ -2422,30 +2613,30 @@ public T accept(ParseTreeVisitor visitor) { public final QualifiedNamePatternsContext qualifiedNamePatterns() throws RecognitionException { QualifiedNamePatternsContext _localctx = new QualifiedNamePatternsContext(_ctx, getState()); - enterRule(_localctx, 58, RULE_qualifiedNamePatterns); + enterRule(_localctx, 64, RULE_qualifiedNamePatterns); try { int _alt; enterOuterAlt(_localctx, 1); { - setState(394); + setState(418); qualifiedNamePattern(); - setState(399); + setState(423); _errHandler.sync(this); - _alt = getInterpreter().adaptivePredict(_input,23,_ctx); + _alt = getInterpreter().adaptivePredict(_input,25,_ctx); while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) { if ( _alt==1 ) { { { - setState(395); + setState(419); match(COMMA); - setState(396); + setState(420); qualifiedNamePattern(); } } } - setState(401); + setState(425); _errHandler.sync(this); - _alt = getInterpreter().adaptivePredict(_input,23,_ctx); + _alt = getInterpreter().adaptivePredict(_input,25,_ctx); } } } @@ -2486,12 +2677,12 @@ public T accept(ParseTreeVisitor visitor) { public final IdentifierContext identifier() throws RecognitionException { IdentifierContext _localctx = new IdentifierContext(_ctx, getState()); - enterRule(_localctx, 60, RULE_identifier); + enterRule(_localctx, 66, RULE_identifier); int _la; try { enterOuterAlt(_localctx, 1); { - setState(402); + setState(426); _la = _input.LA(1); if ( !(_la==UNQUOTED_IDENTIFIER || _la==QUOTED_IDENTIFIER) ) { _errHandler.recoverInline(this); @@ -2545,15 +2736,15 @@ public T accept(ParseTreeVisitor visitor) { public final IdentifierPatternContext identifierPattern() throws RecognitionException { IdentifierPatternContext _localctx = new IdentifierPatternContext(_ctx, getState()); - enterRule(_localctx, 62, RULE_identifierPattern); + enterRule(_localctx, 68, RULE_identifierPattern); try { - setState(407); + setState(431); _errHandler.sync(this); switch (_input.LA(1)) { case ID_PATTERN: enterOuterAlt(_localctx, 1); { - setState(404); + setState(428); match(ID_PATTERN); } break; @@ -2561,7 +2752,7 @@ public final IdentifierPatternContext identifierPattern() throws RecognitionExce case NAMED_OR_POSITIONAL_PARAM: enterOuterAlt(_localctx, 2); { - setState(405); + setState(429); parameter(); } break; @@ -2569,7 +2760,7 @@ public final IdentifierPatternContext identifierPattern() throws RecognitionExce case NAMED_OR_POSITIONAL_DOUBLE_PARAMS: enterOuterAlt(_localctx, 3); { - setState(406); + setState(430); doubleParameter(); } break; @@ -2643,16 +2834,16 @@ public T accept(ParseTreeVisitor visitor) { public final ParameterContext parameter() throws RecognitionException { ParameterContext _localctx = new ParameterContext(_ctx, getState()); - enterRule(_localctx, 64, RULE_parameter); + enterRule(_localctx, 70, RULE_parameter); try { - setState(411); + setState(435); _errHandler.sync(this); switch (_input.LA(1)) { case PARAM: _localctx = new InputParamContext(_localctx); enterOuterAlt(_localctx, 1); { - setState(409); + setState(433); match(PARAM); } break; @@ -2660,7 +2851,7 @@ public final ParameterContext parameter() throws RecognitionException { _localctx = new InputNamedOrPositionalParamContext(_localctx); enterOuterAlt(_localctx, 2); { - setState(410); + setState(434); match(NAMED_OR_POSITIONAL_PARAM); } break; @@ -2734,16 +2925,16 @@ public T accept(ParseTreeVisitor visitor) { public final DoubleParameterContext doubleParameter() throws RecognitionException { DoubleParameterContext _localctx = new DoubleParameterContext(_ctx, getState()); - enterRule(_localctx, 66, RULE_doubleParameter); + enterRule(_localctx, 72, RULE_doubleParameter); try { - setState(415); + setState(439); _errHandler.sync(this); switch (_input.LA(1)) { case DOUBLE_PARAMS: _localctx = new InputDoubleParamsContext(_localctx); enterOuterAlt(_localctx, 1); { - setState(413); + setState(437); match(DOUBLE_PARAMS); } break; @@ -2751,7 +2942,7 @@ public final DoubleParameterContext doubleParameter() throws RecognitionExceptio _localctx = new InputNamedOrPositionalDoubleParamsContext(_localctx); enterOuterAlt(_localctx, 2); { - setState(414); + setState(438); match(NAMED_OR_POSITIONAL_DOUBLE_PARAMS); } break; @@ -2803,16 +2994,16 @@ public T accept(ParseTreeVisitor visitor) { public final IdentifierOrParameterContext identifierOrParameter() throws RecognitionException { IdentifierOrParameterContext _localctx = new IdentifierOrParameterContext(_ctx, getState()); - enterRule(_localctx, 68, RULE_identifierOrParameter); + enterRule(_localctx, 74, RULE_identifierOrParameter); try { - setState(420); + setState(444); _errHandler.sync(this); switch (_input.LA(1)) { case UNQUOTED_IDENTIFIER: case QUOTED_IDENTIFIER: enterOuterAlt(_localctx, 1); { - setState(417); + setState(441); identifier(); } break; @@ -2820,7 +3011,7 @@ public final IdentifierOrParameterContext identifierOrParameter() throws Recogni case NAMED_OR_POSITIONAL_PARAM: enterOuterAlt(_localctx, 2); { - setState(418); + setState(442); parameter(); } break; @@ -2828,7 +3019,7 @@ public final IdentifierOrParameterContext identifierOrParameter() throws Recogni case NAMED_OR_POSITIONAL_DOUBLE_PARAMS: enterOuterAlt(_localctx, 3); { - setState(419); + setState(443); doubleParameter(); } break; @@ -2875,13 +3066,13 @@ public T accept(ParseTreeVisitor visitor) { public final LimitCommandContext limitCommand() throws RecognitionException { LimitCommandContext _localctx = new LimitCommandContext(_ctx, getState()); - enterRule(_localctx, 70, RULE_limitCommand); + enterRule(_localctx, 76, RULE_limitCommand); try { enterOuterAlt(_localctx, 1); { - setState(422); + setState(446); match(LIMIT); - setState(423); + setState(447); constant(); } } @@ -2931,32 +3122,32 @@ public T accept(ParseTreeVisitor visitor) { public final SortCommandContext sortCommand() throws RecognitionException { SortCommandContext _localctx = new SortCommandContext(_ctx, getState()); - enterRule(_localctx, 72, RULE_sortCommand); + enterRule(_localctx, 78, RULE_sortCommand); try { int _alt; enterOuterAlt(_localctx, 1); { - setState(425); + setState(449); match(SORT); - setState(426); + setState(450); orderExpression(); - setState(431); + setState(455); _errHandler.sync(this); - _alt = getInterpreter().adaptivePredict(_input,28,_ctx); + _alt = getInterpreter().adaptivePredict(_input,30,_ctx); while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) { if ( _alt==1 ) { { { - setState(427); + setState(451); match(COMMA); - setState(428); + setState(452); orderExpression(); } } } - setState(433); + setState(457); _errHandler.sync(this); - _alt = getInterpreter().adaptivePredict(_input,28,_ctx); + _alt = getInterpreter().adaptivePredict(_input,30,_ctx); } } } @@ -3005,19 +3196,19 @@ public T accept(ParseTreeVisitor visitor) { public final OrderExpressionContext orderExpression() throws RecognitionException { OrderExpressionContext _localctx = new OrderExpressionContext(_ctx, getState()); - enterRule(_localctx, 74, RULE_orderExpression); + enterRule(_localctx, 80, RULE_orderExpression); int _la; try { enterOuterAlt(_localctx, 1); { - setState(434); + setState(458); booleanExpression(0); - setState(436); + setState(460); _errHandler.sync(this); - switch ( getInterpreter().adaptivePredict(_input,29,_ctx) ) { + switch ( getInterpreter().adaptivePredict(_input,31,_ctx) ) { case 1: { - setState(435); + setState(459); ((OrderExpressionContext)_localctx).ordering = _input.LT(1); _la = _input.LA(1); if ( !(_la==ASC || _la==DESC) ) { @@ -3031,14 +3222,14 @@ public final OrderExpressionContext orderExpression() throws RecognitionExceptio } break; } - setState(440); + setState(464); _errHandler.sync(this); - switch ( getInterpreter().adaptivePredict(_input,30,_ctx) ) { + switch ( getInterpreter().adaptivePredict(_input,32,_ctx) ) { case 1: { - setState(438); + setState(462); match(NULLS); - setState(439); + setState(463); ((OrderExpressionContext)_localctx).nullOrdering = _input.LT(1); _la = _input.LA(1); if ( !(_la==FIRST || _la==LAST) ) { @@ -3093,13 +3284,13 @@ public T accept(ParseTreeVisitor visitor) { public final KeepCommandContext keepCommand() throws RecognitionException { KeepCommandContext _localctx = new KeepCommandContext(_ctx, getState()); - enterRule(_localctx, 76, RULE_keepCommand); + enterRule(_localctx, 82, RULE_keepCommand); try { enterOuterAlt(_localctx, 1); { - setState(442); + setState(466); match(KEEP); - setState(443); + setState(467); qualifiedNamePatterns(); } } @@ -3142,13 +3333,13 @@ public T accept(ParseTreeVisitor visitor) { public final DropCommandContext dropCommand() throws RecognitionException { DropCommandContext _localctx = new DropCommandContext(_ctx, getState()); - enterRule(_localctx, 78, RULE_dropCommand); + enterRule(_localctx, 84, RULE_dropCommand); try { enterOuterAlt(_localctx, 1); { - setState(445); + setState(469); match(DROP); - setState(446); + setState(470); qualifiedNamePatterns(); } } @@ -3198,32 +3389,32 @@ public T accept(ParseTreeVisitor visitor) { public final RenameCommandContext renameCommand() throws RecognitionException { RenameCommandContext _localctx = new RenameCommandContext(_ctx, getState()); - enterRule(_localctx, 80, RULE_renameCommand); + enterRule(_localctx, 86, RULE_renameCommand); try { int _alt; enterOuterAlt(_localctx, 1); { - setState(448); + setState(472); match(RENAME); - setState(449); + setState(473); renameClause(); - setState(454); + setState(478); _errHandler.sync(this); - _alt = getInterpreter().adaptivePredict(_input,31,_ctx); + _alt = getInterpreter().adaptivePredict(_input,33,_ctx); while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) { if ( _alt==1 ) { { { - setState(450); + setState(474); match(COMMA); - setState(451); + setState(475); renameClause(); } } } - setState(456); + setState(480); _errHandler.sync(this); - _alt = getInterpreter().adaptivePredict(_input,31,_ctx); + _alt = getInterpreter().adaptivePredict(_input,33,_ctx); } } } @@ -3272,30 +3463,30 @@ public T accept(ParseTreeVisitor visitor) { public final RenameClauseContext renameClause() throws RecognitionException { RenameClauseContext _localctx = new RenameClauseContext(_ctx, getState()); - enterRule(_localctx, 82, RULE_renameClause); + enterRule(_localctx, 88, RULE_renameClause); try { - setState(465); + setState(489); _errHandler.sync(this); - switch ( getInterpreter().adaptivePredict(_input,32,_ctx) ) { + switch ( getInterpreter().adaptivePredict(_input,34,_ctx) ) { case 1: enterOuterAlt(_localctx, 1); { - setState(457); + setState(481); ((RenameClauseContext)_localctx).oldName = qualifiedNamePattern(); - setState(458); + setState(482); match(AS); - setState(459); + setState(483); ((RenameClauseContext)_localctx).newName = qualifiedNamePattern(); } break; case 2: enterOuterAlt(_localctx, 2); { - setState(461); + setState(485); ((RenameClauseContext)_localctx).newName = qualifiedNamePattern(); - setState(462); + setState(486); match(ASSIGN); - setState(463); + setState(487); ((RenameClauseContext)_localctx).oldName = qualifiedNamePattern(); } break; @@ -3346,22 +3537,22 @@ public T accept(ParseTreeVisitor visitor) { public final DissectCommandContext dissectCommand() throws RecognitionException { DissectCommandContext _localctx = new DissectCommandContext(_ctx, getState()); - enterRule(_localctx, 84, RULE_dissectCommand); + enterRule(_localctx, 90, RULE_dissectCommand); try { enterOuterAlt(_localctx, 1); { - setState(467); + setState(491); match(DISSECT); - setState(468); + setState(492); primaryExpression(0); - setState(469); + setState(493); string(); - setState(471); + setState(495); _errHandler.sync(this); - switch ( getInterpreter().adaptivePredict(_input,33,_ctx) ) { + switch ( getInterpreter().adaptivePredict(_input,35,_ctx) ) { case 1: { - setState(470); + setState(494); dissectCommandOptions(); } break; @@ -3413,30 +3604,30 @@ public T accept(ParseTreeVisitor visitor) { public final DissectCommandOptionsContext dissectCommandOptions() throws RecognitionException { DissectCommandOptionsContext _localctx = new DissectCommandOptionsContext(_ctx, getState()); - enterRule(_localctx, 86, RULE_dissectCommandOptions); + enterRule(_localctx, 92, RULE_dissectCommandOptions); try { int _alt; enterOuterAlt(_localctx, 1); { - setState(473); + setState(497); dissectCommandOption(); - setState(478); + setState(502); _errHandler.sync(this); - _alt = getInterpreter().adaptivePredict(_input,34,_ctx); + _alt = getInterpreter().adaptivePredict(_input,36,_ctx); while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) { if ( _alt==1 ) { { { - setState(474); + setState(498); match(COMMA); - setState(475); + setState(499); dissectCommandOption(); } } } - setState(480); + setState(504); _errHandler.sync(this); - _alt = getInterpreter().adaptivePredict(_input,34,_ctx); + _alt = getInterpreter().adaptivePredict(_input,36,_ctx); } } } @@ -3482,15 +3673,15 @@ public T accept(ParseTreeVisitor visitor) { public final DissectCommandOptionContext dissectCommandOption() throws RecognitionException { DissectCommandOptionContext _localctx = new DissectCommandOptionContext(_ctx, getState()); - enterRule(_localctx, 88, RULE_dissectCommandOption); + enterRule(_localctx, 94, RULE_dissectCommandOption); try { enterOuterAlt(_localctx, 1); { - setState(481); + setState(505); identifier(); - setState(482); + setState(506); match(ASSIGN); - setState(483); + setState(507); constant(); } } @@ -3533,18 +3724,18 @@ public T accept(ParseTreeVisitor visitor) { public final CommandNamedParametersContext commandNamedParameters() throws RecognitionException { CommandNamedParametersContext _localctx = new CommandNamedParametersContext(_ctx, getState()); - enterRule(_localctx, 90, RULE_commandNamedParameters); + enterRule(_localctx, 96, RULE_commandNamedParameters); try { enterOuterAlt(_localctx, 1); { - setState(487); + setState(511); _errHandler.sync(this); - switch ( getInterpreter().adaptivePredict(_input,35,_ctx) ) { + switch ( getInterpreter().adaptivePredict(_input,37,_ctx) ) { case 1: { - setState(485); + setState(509); match(WITH); - setState(486); + setState(510); mapExpression(); } break; @@ -3593,15 +3784,15 @@ public T accept(ParseTreeVisitor visitor) { public final GrokCommandContext grokCommand() throws RecognitionException { GrokCommandContext _localctx = new GrokCommandContext(_ctx, getState()); - enterRule(_localctx, 92, RULE_grokCommand); + enterRule(_localctx, 98, RULE_grokCommand); try { enterOuterAlt(_localctx, 1); { - setState(489); + setState(513); match(GROK); - setState(490); + setState(514); primaryExpression(0); - setState(491); + setState(515); string(); } } @@ -3644,13 +3835,13 @@ public T accept(ParseTreeVisitor visitor) { public final MvExpandCommandContext mvExpandCommand() throws RecognitionException { MvExpandCommandContext _localctx = new MvExpandCommandContext(_ctx, getState()); - enterRule(_localctx, 94, RULE_mvExpandCommand); + enterRule(_localctx, 100, RULE_mvExpandCommand); try { enterOuterAlt(_localctx, 1); { - setState(493); + setState(517); match(MV_EXPAND); - setState(494); + setState(518); qualifiedName(); } } @@ -3693,13 +3884,13 @@ public T accept(ParseTreeVisitor visitor) { public final ExplainCommandContext explainCommand() throws RecognitionException { ExplainCommandContext _localctx = new ExplainCommandContext(_ctx, getState()); - enterRule(_localctx, 96, RULE_explainCommand); + enterRule(_localctx, 102, RULE_explainCommand); try { enterOuterAlt(_localctx, 1); { - setState(496); + setState(520); match(DEV_EXPLAIN); - setState(497); + setState(521); subqueryExpression(); } } @@ -3743,15 +3934,15 @@ public T accept(ParseTreeVisitor visitor) { public final SubqueryExpressionContext subqueryExpression() throws RecognitionException { SubqueryExpressionContext _localctx = new SubqueryExpressionContext(_ctx, getState()); - enterRule(_localctx, 98, RULE_subqueryExpression); + enterRule(_localctx, 104, RULE_subqueryExpression); try { enterOuterAlt(_localctx, 1); { - setState(499); + setState(523); match(LP); - setState(500); + setState(524); query(0); - setState(501); + setState(525); match(RP); } } @@ -3803,14 +3994,14 @@ public T accept(ParseTreeVisitor visitor) { public final ShowCommandContext showCommand() throws RecognitionException { ShowCommandContext _localctx = new ShowCommandContext(_ctx, getState()); - enterRule(_localctx, 100, RULE_showCommand); + enterRule(_localctx, 106, RULE_showCommand); try { _localctx = new ShowInfoContext(_localctx); enterOuterAlt(_localctx, 1); { - setState(503); + setState(527); match(SHOW); - setState(504); + setState(528); match(INFO); } } @@ -3870,53 +4061,53 @@ public T accept(ParseTreeVisitor visitor) { public final EnrichCommandContext enrichCommand() throws RecognitionException { EnrichCommandContext _localctx = new EnrichCommandContext(_ctx, getState()); - enterRule(_localctx, 102, RULE_enrichCommand); + enterRule(_localctx, 108, RULE_enrichCommand); try { int _alt; enterOuterAlt(_localctx, 1); { - setState(506); + setState(530); match(ENRICH); - setState(507); + setState(531); ((EnrichCommandContext)_localctx).policyName = enrichPolicyName(); - setState(510); + setState(534); _errHandler.sync(this); - switch ( getInterpreter().adaptivePredict(_input,36,_ctx) ) { + switch ( getInterpreter().adaptivePredict(_input,38,_ctx) ) { case 1: { - setState(508); + setState(532); match(ON); - setState(509); + setState(533); ((EnrichCommandContext)_localctx).matchField = qualifiedNamePattern(); } break; } - setState(521); + setState(545); _errHandler.sync(this); - switch ( getInterpreter().adaptivePredict(_input,38,_ctx) ) { + switch ( getInterpreter().adaptivePredict(_input,40,_ctx) ) { case 1: { - setState(512); + setState(536); match(WITH); - setState(513); + setState(537); enrichWithClause(); - setState(518); + setState(542); _errHandler.sync(this); - _alt = getInterpreter().adaptivePredict(_input,37,_ctx); + _alt = getInterpreter().adaptivePredict(_input,39,_ctx); while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) { if ( _alt==1 ) { { { - setState(514); + setState(538); match(COMMA); - setState(515); + setState(539); enrichWithClause(); } } } - setState(520); + setState(544); _errHandler.sync(this); - _alt = getInterpreter().adaptivePredict(_input,37,_ctx); + _alt = getInterpreter().adaptivePredict(_input,39,_ctx); } } break; @@ -3960,12 +4151,12 @@ public T accept(ParseTreeVisitor visitor) { public final EnrichPolicyNameContext enrichPolicyName() throws RecognitionException { EnrichPolicyNameContext _localctx = new EnrichPolicyNameContext(_ctx, getState()); - enterRule(_localctx, 104, RULE_enrichPolicyName); + enterRule(_localctx, 110, RULE_enrichPolicyName); int _la; try { enterOuterAlt(_localctx, 1); { - setState(523); + setState(547); _la = _input.LA(1); if ( !(_la==ENRICH_POLICY_NAME || _la==QUOTED_STRING) ) { _errHandler.recoverInline(this); @@ -4021,23 +4212,23 @@ public T accept(ParseTreeVisitor visitor) { public final EnrichWithClauseContext enrichWithClause() throws RecognitionException { EnrichWithClauseContext _localctx = new EnrichWithClauseContext(_ctx, getState()); - enterRule(_localctx, 106, RULE_enrichWithClause); + enterRule(_localctx, 112, RULE_enrichWithClause); try { enterOuterAlt(_localctx, 1); { - setState(528); + setState(552); _errHandler.sync(this); - switch ( getInterpreter().adaptivePredict(_input,39,_ctx) ) { + switch ( getInterpreter().adaptivePredict(_input,41,_ctx) ) { case 1: { - setState(525); + setState(549); ((EnrichWithClauseContext)_localctx).newName = qualifiedNamePattern(); - setState(526); + setState(550); match(ASSIGN); } break; } - setState(530); + setState(554); ((EnrichWithClauseContext)_localctx).enrichField = qualifiedNamePattern(); } } @@ -4081,13 +4272,13 @@ public T accept(ParseTreeVisitor visitor) { public final SampleCommandContext sampleCommand() throws RecognitionException { SampleCommandContext _localctx = new SampleCommandContext(_ctx, getState()); - enterRule(_localctx, 108, RULE_sampleCommand); + enterRule(_localctx, 114, RULE_sampleCommand); try { enterOuterAlt(_localctx, 1); { - setState(532); + setState(556); match(SAMPLE); - setState(533); + setState(557); ((SampleCommandContext)_localctx).probability = constant(); } } @@ -4140,38 +4331,38 @@ public T accept(ParseTreeVisitor visitor) { public final ChangePointCommandContext changePointCommand() throws RecognitionException { ChangePointCommandContext _localctx = new ChangePointCommandContext(_ctx, getState()); - enterRule(_localctx, 110, RULE_changePointCommand); + enterRule(_localctx, 116, RULE_changePointCommand); try { enterOuterAlt(_localctx, 1); { - setState(535); + setState(559); match(CHANGE_POINT); - setState(536); + setState(560); ((ChangePointCommandContext)_localctx).value = qualifiedName(); - setState(539); + setState(563); _errHandler.sync(this); - switch ( getInterpreter().adaptivePredict(_input,40,_ctx) ) { + switch ( getInterpreter().adaptivePredict(_input,42,_ctx) ) { case 1: { - setState(537); + setState(561); match(ON); - setState(538); + setState(562); ((ChangePointCommandContext)_localctx).key = qualifiedName(); } break; } - setState(546); + setState(570); _errHandler.sync(this); - switch ( getInterpreter().adaptivePredict(_input,41,_ctx) ) { + switch ( getInterpreter().adaptivePredict(_input,43,_ctx) ) { case 1: { - setState(541); + setState(565); match(AS); - setState(542); + setState(566); ((ChangePointCommandContext)_localctx).targetType = qualifiedName(); - setState(543); + setState(567); match(COMMA); - setState(544); + setState(568); ((ChangePointCommandContext)_localctx).targetPvalue = qualifiedName(); } break; @@ -4217,13 +4408,13 @@ public T accept(ParseTreeVisitor visitor) { public final ForkCommandContext forkCommand() throws RecognitionException { ForkCommandContext _localctx = new ForkCommandContext(_ctx, getState()); - enterRule(_localctx, 112, RULE_forkCommand); + enterRule(_localctx, 118, RULE_forkCommand); try { enterOuterAlt(_localctx, 1); { - setState(548); + setState(572); match(FORK); - setState(549); + setState(573); forkSubQueries(); } } @@ -4268,12 +4459,12 @@ public T accept(ParseTreeVisitor visitor) { public final ForkSubQueriesContext forkSubQueries() throws RecognitionException { ForkSubQueriesContext _localctx = new ForkSubQueriesContext(_ctx, getState()); - enterRule(_localctx, 114, RULE_forkSubQueries); + enterRule(_localctx, 120, RULE_forkSubQueries); try { int _alt; enterOuterAlt(_localctx, 1); { - setState(552); + setState(576); _errHandler.sync(this); _alt = 1; do { @@ -4281,7 +4472,7 @@ public final ForkSubQueriesContext forkSubQueries() throws RecognitionException case 1: { { - setState(551); + setState(575); forkSubQuery(); } } @@ -4289,9 +4480,9 @@ public final ForkSubQueriesContext forkSubQueries() throws RecognitionException default: throw new NoViableAltException(this); } - setState(554); + setState(578); _errHandler.sync(this); - _alt = getInterpreter().adaptivePredict(_input,42,_ctx); + _alt = getInterpreter().adaptivePredict(_input,44,_ctx); } while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ); } } @@ -4335,15 +4526,15 @@ public T accept(ParseTreeVisitor visitor) { public final ForkSubQueryContext forkSubQuery() throws RecognitionException { ForkSubQueryContext _localctx = new ForkSubQueryContext(_ctx, getState()); - enterRule(_localctx, 116, RULE_forkSubQuery); + enterRule(_localctx, 122, RULE_forkSubQuery); try { enterOuterAlt(_localctx, 1); { - setState(556); + setState(580); match(LP); - setState(557); + setState(581); forkSubQueryCommand(0); - setState(558); + setState(582); match(RP); } } @@ -4428,8 +4619,8 @@ private ForkSubQueryCommandContext forkSubQueryCommand(int _p) throws Recognitio int _parentState = getState(); ForkSubQueryCommandContext _localctx = new ForkSubQueryCommandContext(_ctx, _parentState); ForkSubQueryCommandContext _prevctx = _localctx; - int _startState = 118; - enterRecursionRule(_localctx, 118, RULE_forkSubQueryCommand, _p); + int _startState = 124; + enterRecursionRule(_localctx, 124, RULE_forkSubQueryCommand, _p); try { int _alt; enterOuterAlt(_localctx, 1); @@ -4439,13 +4630,13 @@ private ForkSubQueryCommandContext forkSubQueryCommand(int _p) throws Recognitio _ctx = _localctx; _prevctx = _localctx; - setState(561); + setState(585); forkSubQueryProcessingCommand(); } _ctx.stop = _input.LT(-1); - setState(568); + setState(592); _errHandler.sync(this); - _alt = getInterpreter().adaptivePredict(_input,43,_ctx); + _alt = getInterpreter().adaptivePredict(_input,45,_ctx); while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) { if ( _alt==1 ) { if ( _parseListeners!=null ) triggerExitRuleEvent(); @@ -4454,18 +4645,18 @@ private ForkSubQueryCommandContext forkSubQueryCommand(int _p) throws Recognitio { _localctx = new CompositeForkSubQueryContext(new ForkSubQueryCommandContext(_parentctx, _parentState)); pushNewRecursionContext(_localctx, _startState, RULE_forkSubQueryCommand); - setState(563); + setState(587); if (!(precpred(_ctx, 1))) throw new FailedPredicateException(this, "precpred(_ctx, 1)"); - setState(564); + setState(588); match(PIPE); - setState(565); + setState(589); forkSubQueryProcessingCommand(); } } } - setState(570); + setState(594); _errHandler.sync(this); - _alt = getInterpreter().adaptivePredict(_input,43,_ctx); + _alt = getInterpreter().adaptivePredict(_input,45,_ctx); } } } @@ -4507,11 +4698,11 @@ public T accept(ParseTreeVisitor visitor) { public final ForkSubQueryProcessingCommandContext forkSubQueryProcessingCommand() throws RecognitionException { ForkSubQueryProcessingCommandContext _localctx = new ForkSubQueryProcessingCommandContext(_ctx, getState()); - enterRule(_localctx, 120, RULE_forkSubQueryProcessingCommand); + enterRule(_localctx, 126, RULE_forkSubQueryProcessingCommand); try { enterOuterAlt(_localctx, 1); { - setState(571); + setState(595); processingCommand(); } } @@ -4567,31 +4758,31 @@ public T accept(ParseTreeVisitor visitor) { public final RerankCommandContext rerankCommand() throws RecognitionException { RerankCommandContext _localctx = new RerankCommandContext(_ctx, getState()); - enterRule(_localctx, 122, RULE_rerankCommand); + enterRule(_localctx, 128, RULE_rerankCommand); try { enterOuterAlt(_localctx, 1); { - setState(573); + setState(597); match(RERANK); - setState(577); + setState(601); _errHandler.sync(this); - switch ( getInterpreter().adaptivePredict(_input,44,_ctx) ) { + switch ( getInterpreter().adaptivePredict(_input,46,_ctx) ) { case 1: { - setState(574); + setState(598); ((RerankCommandContext)_localctx).targetField = qualifiedName(); - setState(575); + setState(599); match(ASSIGN); } break; } - setState(579); + setState(603); ((RerankCommandContext)_localctx).queryText = constant(); - setState(580); + setState(604); match(ON); - setState(581); + setState(605); rerankFields(); - setState(582); + setState(606); commandNamedParameters(); } } @@ -4643,27 +4834,27 @@ public T accept(ParseTreeVisitor visitor) { public final CompletionCommandContext completionCommand() throws RecognitionException { CompletionCommandContext _localctx = new CompletionCommandContext(_ctx, getState()); - enterRule(_localctx, 124, RULE_completionCommand); + enterRule(_localctx, 130, RULE_completionCommand); try { enterOuterAlt(_localctx, 1); { - setState(584); + setState(608); match(COMPLETION); - setState(588); + setState(612); _errHandler.sync(this); - switch ( getInterpreter().adaptivePredict(_input,45,_ctx) ) { + switch ( getInterpreter().adaptivePredict(_input,47,_ctx) ) { case 1: { - setState(585); + setState(609); ((CompletionCommandContext)_localctx).targetField = qualifiedName(); - setState(586); + setState(610); match(ASSIGN); } break; } - setState(590); + setState(614); ((CompletionCommandContext)_localctx).prompt = primaryExpression(0); - setState(591); + setState(615); commandNamedParameters(); } } @@ -4714,28 +4905,28 @@ public T accept(ParseTreeVisitor visitor) { public final InlineStatsCommandContext inlineStatsCommand() throws RecognitionException { InlineStatsCommandContext _localctx = new InlineStatsCommandContext(_ctx, getState()); - enterRule(_localctx, 126, RULE_inlineStatsCommand); + enterRule(_localctx, 132, RULE_inlineStatsCommand); try { - setState(606); + setState(630); _errHandler.sync(this); switch (_input.LA(1)) { case INLINE: enterOuterAlt(_localctx, 1); { - setState(593); + setState(617); match(INLINE); - setState(594); + setState(618); match(INLINE_STATS); - setState(595); + setState(619); ((InlineStatsCommandContext)_localctx).stats = aggFields(); - setState(598); + setState(622); _errHandler.sync(this); - switch ( getInterpreter().adaptivePredict(_input,46,_ctx) ) { + switch ( getInterpreter().adaptivePredict(_input,48,_ctx) ) { case 1: { - setState(596); + setState(620); match(BY); - setState(597); + setState(621); ((InlineStatsCommandContext)_localctx).grouping = fields(); } break; @@ -4745,18 +4936,18 @@ public final InlineStatsCommandContext inlineStatsCommand() throws RecognitionEx case INLINESTATS: enterOuterAlt(_localctx, 2); { - setState(600); + setState(624); match(INLINESTATS); - setState(601); + setState(625); ((InlineStatsCommandContext)_localctx).stats = aggFields(); - setState(604); + setState(628); _errHandler.sync(this); - switch ( getInterpreter().adaptivePredict(_input,47,_ctx) ) { + switch ( getInterpreter().adaptivePredict(_input,49,_ctx) ) { case 1: { - setState(602); + setState(626); match(BY); - setState(603); + setState(627); ((InlineStatsCommandContext)_localctx).grouping = fields(); } break; @@ -4812,17 +5003,17 @@ public T accept(ParseTreeVisitor visitor) { public final LookupCommandContext lookupCommand() throws RecognitionException { LookupCommandContext _localctx = new LookupCommandContext(_ctx, getState()); - enterRule(_localctx, 128, RULE_lookupCommand); + enterRule(_localctx, 134, RULE_lookupCommand); try { enterOuterAlt(_localctx, 1); { - setState(608); + setState(632); match(DEV_LOOKUP); - setState(609); + setState(633); ((LookupCommandContext)_localctx).tableName = indexPattern(); - setState(610); + setState(634); match(ON); - setState(611); + setState(635); ((LookupCommandContext)_localctx).matchFields = qualifiedNamePatterns(); } } @@ -4865,13 +5056,13 @@ public T accept(ParseTreeVisitor visitor) { public final InsistCommandContext insistCommand() throws RecognitionException { InsistCommandContext _localctx = new InsistCommandContext(_ctx, getState()); - enterRule(_localctx, 130, RULE_insistCommand); + enterRule(_localctx, 136, RULE_insistCommand); try { enterOuterAlt(_localctx, 1); { - setState(613); + setState(637); match(DEV_INSIST); - setState(614); + setState(638); qualifiedNamePatterns(); } } @@ -4921,38 +5112,38 @@ public T accept(ParseTreeVisitor visitor) { public final FuseCommandContext fuseCommand() throws RecognitionException { FuseCommandContext _localctx = new FuseCommandContext(_ctx, getState()); - enterRule(_localctx, 132, RULE_fuseCommand); + enterRule(_localctx, 138, RULE_fuseCommand); try { int _alt; enterOuterAlt(_localctx, 1); { - setState(616); + setState(640); match(DEV_FUSE); - setState(618); + setState(642); _errHandler.sync(this); - switch ( getInterpreter().adaptivePredict(_input,49,_ctx) ) { + switch ( getInterpreter().adaptivePredict(_input,51,_ctx) ) { case 1: { - setState(617); + setState(641); ((FuseCommandContext)_localctx).fuseType = identifier(); } break; } - setState(623); + setState(647); _errHandler.sync(this); - _alt = getInterpreter().adaptivePredict(_input,50,_ctx); + _alt = getInterpreter().adaptivePredict(_input,52,_ctx); while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) { if ( _alt==1 ) { { { - setState(620); + setState(644); fuseConfiguration(); } } } - setState(625); + setState(649); _errHandler.sync(this); - _alt = getInterpreter().adaptivePredict(_input,50,_ctx); + _alt = getInterpreter().adaptivePredict(_input,52,_ctx); } } } @@ -5009,50 +5200,50 @@ public T accept(ParseTreeVisitor visitor) { public final FuseConfigurationContext fuseConfiguration() throws RecognitionException { FuseConfigurationContext _localctx = new FuseConfigurationContext(_ctx, getState()); - enterRule(_localctx, 134, RULE_fuseConfiguration); + enterRule(_localctx, 140, RULE_fuseConfiguration); try { - setState(637); + setState(661); _errHandler.sync(this); switch (_input.LA(1)) { case SCORE: enterOuterAlt(_localctx, 1); { - setState(626); + setState(650); match(SCORE); - setState(627); + setState(651); match(BY); - setState(628); + setState(652); ((FuseConfigurationContext)_localctx).score = qualifiedName(); } break; case KEY: enterOuterAlt(_localctx, 2); { - setState(629); + setState(653); match(KEY); - setState(630); + setState(654); match(BY); - setState(631); + setState(655); ((FuseConfigurationContext)_localctx).key = fields(); } break; case GROUP: enterOuterAlt(_localctx, 3); { - setState(632); + setState(656); match(GROUP); - setState(633); + setState(657); match(BY); - setState(634); + setState(658); ((FuseConfigurationContext)_localctx).group = qualifiedName(); } break; case WITH: enterOuterAlt(_localctx, 4); { - setState(635); + setState(659); match(WITH); - setState(636); + setState(660); ((FuseConfigurationContext)_localctx).options = mapExpression(); } break; @@ -5100,15 +5291,15 @@ public T accept(ParseTreeVisitor visitor) { public final SetCommandContext setCommand() throws RecognitionException { SetCommandContext _localctx = new SetCommandContext(_ctx, getState()); - enterRule(_localctx, 136, RULE_setCommand); + enterRule(_localctx, 142, RULE_setCommand); try { enterOuterAlt(_localctx, 1); { - setState(639); + setState(663); match(SET); - setState(640); + setState(664); setField(); - setState(641); + setState(665); match(SEMICOLON); } } @@ -5154,15 +5345,15 @@ public T accept(ParseTreeVisitor visitor) { public final SetFieldContext setField() throws RecognitionException { SetFieldContext _localctx = new SetFieldContext(_ctx, getState()); - enterRule(_localctx, 138, RULE_setField); + enterRule(_localctx, 144, RULE_setField); try { enterOuterAlt(_localctx, 1); { - setState(643); + setState(667); identifier(); - setState(644); + setState(668); match(ASSIGN); - setState(645); + setState(669); constant(); } } @@ -5371,25 +5562,25 @@ private BooleanExpressionContext booleanExpression(int _p) throws RecognitionExc int _parentState = getState(); BooleanExpressionContext _localctx = new BooleanExpressionContext(_ctx, _parentState); BooleanExpressionContext _prevctx = _localctx; - int _startState = 140; - enterRecursionRule(_localctx, 140, RULE_booleanExpression, _p); + int _startState = 146; + enterRecursionRule(_localctx, 146, RULE_booleanExpression, _p); int _la; try { int _alt; enterOuterAlt(_localctx, 1); { - setState(676); + setState(700); _errHandler.sync(this); - switch ( getInterpreter().adaptivePredict(_input,55,_ctx) ) { + switch ( getInterpreter().adaptivePredict(_input,57,_ctx) ) { case 1: { _localctx = new LogicalNotContext(_localctx); _ctx = _localctx; _prevctx = _localctx; - setState(648); + setState(672); match(NOT); - setState(649); + setState(673); booleanExpression(8); } break; @@ -5398,7 +5589,7 @@ private BooleanExpressionContext booleanExpression(int _p) throws RecognitionExc _localctx = new BooleanDefaultContext(_localctx); _ctx = _localctx; _prevctx = _localctx; - setState(650); + setState(674); valueExpression(); } break; @@ -5407,7 +5598,7 @@ private BooleanExpressionContext booleanExpression(int _p) throws RecognitionExc _localctx = new RegexExpressionContext(_localctx); _ctx = _localctx; _prevctx = _localctx; - setState(651); + setState(675); regexBooleanExpression(); } break; @@ -5416,41 +5607,41 @@ private BooleanExpressionContext booleanExpression(int _p) throws RecognitionExc _localctx = new LogicalInContext(_localctx); _ctx = _localctx; _prevctx = _localctx; - setState(652); + setState(676); valueExpression(); - setState(654); + setState(678); _errHandler.sync(this); _la = _input.LA(1); if (_la==NOT) { { - setState(653); + setState(677); match(NOT); } } - setState(656); + setState(680); match(IN); - setState(657); + setState(681); match(LP); - setState(658); + setState(682); valueExpression(); - setState(663); + setState(687); _errHandler.sync(this); _la = _input.LA(1); while (_la==COMMA) { { { - setState(659); + setState(683); match(COMMA); - setState(660); + setState(684); valueExpression(); } } - setState(665); + setState(689); _errHandler.sync(this); _la = _input.LA(1); } - setState(666); + setState(690); match(RP); } break; @@ -5459,21 +5650,21 @@ private BooleanExpressionContext booleanExpression(int _p) throws RecognitionExc _localctx = new IsNullContext(_localctx); _ctx = _localctx; _prevctx = _localctx; - setState(668); + setState(692); valueExpression(); - setState(669); + setState(693); match(IS); - setState(671); + setState(695); _errHandler.sync(this); _la = _input.LA(1); if (_la==NOT) { { - setState(670); + setState(694); match(NOT); } } - setState(673); + setState(697); match(NULL); } break; @@ -5482,33 +5673,33 @@ private BooleanExpressionContext booleanExpression(int _p) throws RecognitionExc _localctx = new MatchExpressionContext(_localctx); _ctx = _localctx; _prevctx = _localctx; - setState(675); + setState(699); matchBooleanExpression(); } break; } _ctx.stop = _input.LT(-1); - setState(686); + setState(710); _errHandler.sync(this); - _alt = getInterpreter().adaptivePredict(_input,57,_ctx); + _alt = getInterpreter().adaptivePredict(_input,59,_ctx); while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) { if ( _alt==1 ) { if ( _parseListeners!=null ) triggerExitRuleEvent(); _prevctx = _localctx; { - setState(684); + setState(708); _errHandler.sync(this); - switch ( getInterpreter().adaptivePredict(_input,56,_ctx) ) { + switch ( getInterpreter().adaptivePredict(_input,58,_ctx) ) { case 1: { _localctx = new LogicalBinaryContext(new BooleanExpressionContext(_parentctx, _parentState)); ((LogicalBinaryContext)_localctx).left = _prevctx; pushNewRecursionContext(_localctx, _startState, RULE_booleanExpression); - setState(678); + setState(702); if (!(precpred(_ctx, 5))) throw new FailedPredicateException(this, "precpred(_ctx, 5)"); - setState(679); + setState(703); ((LogicalBinaryContext)_localctx).operator = match(AND); - setState(680); + setState(704); ((LogicalBinaryContext)_localctx).right = booleanExpression(6); } break; @@ -5517,20 +5708,20 @@ private BooleanExpressionContext booleanExpression(int _p) throws RecognitionExc _localctx = new LogicalBinaryContext(new BooleanExpressionContext(_parentctx, _parentState)); ((LogicalBinaryContext)_localctx).left = _prevctx; pushNewRecursionContext(_localctx, _startState, RULE_booleanExpression); - setState(681); + setState(705); if (!(precpred(_ctx, 4))) throw new FailedPredicateException(this, "precpred(_ctx, 4)"); - setState(682); + setState(706); ((LogicalBinaryContext)_localctx).operator = match(OR); - setState(683); + setState(707); ((LogicalBinaryContext)_localctx).right = booleanExpression(5); } break; } } } - setState(688); + setState(712); _errHandler.sync(this); - _alt = getInterpreter().adaptivePredict(_input,57,_ctx); + _alt = getInterpreter().adaptivePredict(_input,59,_ctx); } } } @@ -5684,31 +5875,31 @@ public T accept(ParseTreeVisitor visitor) { public final RegexBooleanExpressionContext regexBooleanExpression() throws RecognitionException { RegexBooleanExpressionContext _localctx = new RegexBooleanExpressionContext(_ctx, getState()); - enterRule(_localctx, 142, RULE_regexBooleanExpression); + enterRule(_localctx, 148, RULE_regexBooleanExpression); int _la; try { - setState(735); + setState(759); _errHandler.sync(this); - switch ( getInterpreter().adaptivePredict(_input,64,_ctx) ) { + switch ( getInterpreter().adaptivePredict(_input,66,_ctx) ) { case 1: _localctx = new LikeExpressionContext(_localctx); enterOuterAlt(_localctx, 1); { - setState(689); + setState(713); valueExpression(); - setState(691); + setState(715); _errHandler.sync(this); _la = _input.LA(1); if (_la==NOT) { { - setState(690); + setState(714); match(NOT); } } - setState(693); + setState(717); match(LIKE); - setState(694); + setState(718); string(); } break; @@ -5716,21 +5907,21 @@ public final RegexBooleanExpressionContext regexBooleanExpression() throws Recog _localctx = new RlikeExpressionContext(_localctx); enterOuterAlt(_localctx, 2); { - setState(696); + setState(720); valueExpression(); - setState(698); + setState(722); _errHandler.sync(this); _la = _input.LA(1); if (_la==NOT) { { - setState(697); + setState(721); match(NOT); } } - setState(700); + setState(724); match(RLIKE); - setState(701); + setState(725); string(); } break; @@ -5738,41 +5929,41 @@ public final RegexBooleanExpressionContext regexBooleanExpression() throws Recog _localctx = new LikeListExpressionContext(_localctx); enterOuterAlt(_localctx, 3); { - setState(703); + setState(727); valueExpression(); - setState(705); + setState(729); _errHandler.sync(this); _la = _input.LA(1); if (_la==NOT) { { - setState(704); + setState(728); match(NOT); } } - setState(707); + setState(731); match(LIKE); - setState(708); + setState(732); match(LP); - setState(709); + setState(733); string(); - setState(714); + setState(738); _errHandler.sync(this); _la = _input.LA(1); while (_la==COMMA) { { { - setState(710); + setState(734); match(COMMA); - setState(711); + setState(735); string(); } } - setState(716); + setState(740); _errHandler.sync(this); _la = _input.LA(1); } - setState(717); + setState(741); match(RP); } break; @@ -5780,41 +5971,41 @@ public final RegexBooleanExpressionContext regexBooleanExpression() throws Recog _localctx = new RlikeListExpressionContext(_localctx); enterOuterAlt(_localctx, 4); { - setState(719); + setState(743); valueExpression(); - setState(721); + setState(745); _errHandler.sync(this); _la = _input.LA(1); if (_la==NOT) { { - setState(720); + setState(744); match(NOT); } } - setState(723); + setState(747); match(RLIKE); - setState(724); + setState(748); match(LP); - setState(725); + setState(749); string(); - setState(730); + setState(754); _errHandler.sync(this); _la = _input.LA(1); while (_la==COMMA) { { { - setState(726); + setState(750); match(COMMA); - setState(727); + setState(751); string(); } } - setState(732); + setState(756); _errHandler.sync(this); _la = _input.LA(1); } - setState(733); + setState(757); match(RP); } break; @@ -5869,28 +6060,28 @@ public T accept(ParseTreeVisitor visitor) { public final MatchBooleanExpressionContext matchBooleanExpression() throws RecognitionException { MatchBooleanExpressionContext _localctx = new MatchBooleanExpressionContext(_ctx, getState()); - enterRule(_localctx, 144, RULE_matchBooleanExpression); + enterRule(_localctx, 150, RULE_matchBooleanExpression); int _la; try { enterOuterAlt(_localctx, 1); { - setState(737); + setState(761); ((MatchBooleanExpressionContext)_localctx).fieldExp = qualifiedName(); - setState(740); + setState(764); _errHandler.sync(this); _la = _input.LA(1); if (_la==CAST_OP) { { - setState(738); + setState(762); match(CAST_OP); - setState(739); + setState(763); ((MatchBooleanExpressionContext)_localctx).fieldType = dataType(); } } - setState(742); + setState(766); match(COLON); - setState(743); + setState(767); ((MatchBooleanExpressionContext)_localctx).matchQuery = constant(); } } @@ -5972,16 +6163,16 @@ public T accept(ParseTreeVisitor visitor) { public final ValueExpressionContext valueExpression() throws RecognitionException { ValueExpressionContext _localctx = new ValueExpressionContext(_ctx, getState()); - enterRule(_localctx, 146, RULE_valueExpression); + enterRule(_localctx, 152, RULE_valueExpression); try { - setState(750); + setState(774); _errHandler.sync(this); - switch ( getInterpreter().adaptivePredict(_input,66,_ctx) ) { + switch ( getInterpreter().adaptivePredict(_input,68,_ctx) ) { case 1: _localctx = new ValueExpressionDefaultContext(_localctx); enterOuterAlt(_localctx, 1); { - setState(745); + setState(769); operatorExpression(0); } break; @@ -5989,11 +6180,11 @@ public final ValueExpressionContext valueExpression() throws RecognitionExceptio _localctx = new ComparisonContext(_localctx); enterOuterAlt(_localctx, 2); { - setState(746); + setState(770); ((ComparisonContext)_localctx).left = operatorExpression(0); - setState(747); + setState(771); comparisonOperator(); - setState(748); + setState(772); ((ComparisonContext)_localctx).right = operatorExpression(0); } break; @@ -6111,23 +6302,23 @@ private OperatorExpressionContext operatorExpression(int _p) throws RecognitionE int _parentState = getState(); OperatorExpressionContext _localctx = new OperatorExpressionContext(_ctx, _parentState); OperatorExpressionContext _prevctx = _localctx; - int _startState = 148; - enterRecursionRule(_localctx, 148, RULE_operatorExpression, _p); + int _startState = 154; + enterRecursionRule(_localctx, 154, RULE_operatorExpression, _p); int _la; try { int _alt; enterOuterAlt(_localctx, 1); { - setState(756); + setState(780); _errHandler.sync(this); - switch ( getInterpreter().adaptivePredict(_input,67,_ctx) ) { + switch ( getInterpreter().adaptivePredict(_input,69,_ctx) ) { case 1: { _localctx = new OperatorExpressionDefaultContext(_localctx); _ctx = _localctx; _prevctx = _localctx; - setState(753); + setState(777); primaryExpression(0); } break; @@ -6136,7 +6327,7 @@ private OperatorExpressionContext operatorExpression(int _p) throws RecognitionE _localctx = new ArithmeticUnaryContext(_localctx); _ctx = _localctx; _prevctx = _localctx; - setState(754); + setState(778); ((ArithmeticUnaryContext)_localctx).operator = _input.LT(1); _la = _input.LA(1); if ( !(_la==PLUS || _la==MINUS) ) { @@ -6147,31 +6338,31 @@ private OperatorExpressionContext operatorExpression(int _p) throws RecognitionE _errHandler.reportMatch(this); consume(); } - setState(755); + setState(779); operatorExpression(3); } break; } _ctx.stop = _input.LT(-1); - setState(766); + setState(790); _errHandler.sync(this); - _alt = getInterpreter().adaptivePredict(_input,69,_ctx); + _alt = getInterpreter().adaptivePredict(_input,71,_ctx); while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) { if ( _alt==1 ) { if ( _parseListeners!=null ) triggerExitRuleEvent(); _prevctx = _localctx; { - setState(764); + setState(788); _errHandler.sync(this); - switch ( getInterpreter().adaptivePredict(_input,68,_ctx) ) { + switch ( getInterpreter().adaptivePredict(_input,70,_ctx) ) { case 1: { _localctx = new ArithmeticBinaryContext(new OperatorExpressionContext(_parentctx, _parentState)); ((ArithmeticBinaryContext)_localctx).left = _prevctx; pushNewRecursionContext(_localctx, _startState, RULE_operatorExpression); - setState(758); + setState(782); if (!(precpred(_ctx, 2))) throw new FailedPredicateException(this, "precpred(_ctx, 2)"); - setState(759); + setState(783); ((ArithmeticBinaryContext)_localctx).operator = _input.LT(1); _la = _input.LA(1); if ( !(((((_la - 88)) & ~0x3f) == 0 && ((1L << (_la - 88)) & 7L) != 0)) ) { @@ -6182,7 +6373,7 @@ private OperatorExpressionContext operatorExpression(int _p) throws RecognitionE _errHandler.reportMatch(this); consume(); } - setState(760); + setState(784); ((ArithmeticBinaryContext)_localctx).right = operatorExpression(3); } break; @@ -6191,9 +6382,9 @@ private OperatorExpressionContext operatorExpression(int _p) throws RecognitionE _localctx = new ArithmeticBinaryContext(new OperatorExpressionContext(_parentctx, _parentState)); ((ArithmeticBinaryContext)_localctx).left = _prevctx; pushNewRecursionContext(_localctx, _startState, RULE_operatorExpression); - setState(761); + setState(785); if (!(precpred(_ctx, 1))) throw new FailedPredicateException(this, "precpred(_ctx, 1)"); - setState(762); + setState(786); ((ArithmeticBinaryContext)_localctx).operator = _input.LT(1); _la = _input.LA(1); if ( !(_la==PLUS || _la==MINUS) ) { @@ -6204,16 +6395,16 @@ private OperatorExpressionContext operatorExpression(int _p) throws RecognitionE _errHandler.reportMatch(this); consume(); } - setState(763); + setState(787); ((ArithmeticBinaryContext)_localctx).right = operatorExpression(2); } break; } } } - setState(768); + setState(792); _errHandler.sync(this); - _alt = getInterpreter().adaptivePredict(_input,69,_ctx); + _alt = getInterpreter().adaptivePredict(_input,71,_ctx); } } } @@ -6363,22 +6554,22 @@ private PrimaryExpressionContext primaryExpression(int _p) throws RecognitionExc int _parentState = getState(); PrimaryExpressionContext _localctx = new PrimaryExpressionContext(_ctx, _parentState); PrimaryExpressionContext _prevctx = _localctx; - int _startState = 150; - enterRecursionRule(_localctx, 150, RULE_primaryExpression, _p); + int _startState = 156; + enterRecursionRule(_localctx, 156, RULE_primaryExpression, _p); try { int _alt; enterOuterAlt(_localctx, 1); { - setState(777); + setState(801); _errHandler.sync(this); - switch ( getInterpreter().adaptivePredict(_input,70,_ctx) ) { + switch ( getInterpreter().adaptivePredict(_input,72,_ctx) ) { case 1: { _localctx = new ConstantDefaultContext(_localctx); _ctx = _localctx; _prevctx = _localctx; - setState(770); + setState(794); constant(); } break; @@ -6387,7 +6578,7 @@ private PrimaryExpressionContext primaryExpression(int _p) throws RecognitionExc _localctx = new DereferenceContext(_localctx); _ctx = _localctx; _prevctx = _localctx; - setState(771); + setState(795); qualifiedName(); } break; @@ -6396,7 +6587,7 @@ private PrimaryExpressionContext primaryExpression(int _p) throws RecognitionExc _localctx = new FunctionContext(_localctx); _ctx = _localctx; _prevctx = _localctx; - setState(772); + setState(796); functionExpression(); } break; @@ -6405,19 +6596,19 @@ private PrimaryExpressionContext primaryExpression(int _p) throws RecognitionExc _localctx = new ParenthesizedExpressionContext(_localctx); _ctx = _localctx; _prevctx = _localctx; - setState(773); + setState(797); match(LP); - setState(774); + setState(798); booleanExpression(0); - setState(775); + setState(799); match(RP); } break; } _ctx.stop = _input.LT(-1); - setState(784); + setState(808); _errHandler.sync(this); - _alt = getInterpreter().adaptivePredict(_input,71,_ctx); + _alt = getInterpreter().adaptivePredict(_input,73,_ctx); while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) { if ( _alt==1 ) { if ( _parseListeners!=null ) triggerExitRuleEvent(); @@ -6426,18 +6617,18 @@ private PrimaryExpressionContext primaryExpression(int _p) throws RecognitionExc { _localctx = new InlineCastContext(new PrimaryExpressionContext(_parentctx, _parentState)); pushNewRecursionContext(_localctx, _startState, RULE_primaryExpression); - setState(779); + setState(803); if (!(precpred(_ctx, 1))) throw new FailedPredicateException(this, "precpred(_ctx, 1)"); - setState(780); + setState(804); match(CAST_OP); - setState(781); + setState(805); dataType(); } } } - setState(786); + setState(810); _errHandler.sync(this); - _alt = getInterpreter().adaptivePredict(_input,71,_ctx); + _alt = getInterpreter().adaptivePredict(_input,73,_ctx); } } } @@ -6495,56 +6686,56 @@ public T accept(ParseTreeVisitor visitor) { public final FunctionExpressionContext functionExpression() throws RecognitionException { FunctionExpressionContext _localctx = new FunctionExpressionContext(_ctx, getState()); - enterRule(_localctx, 152, RULE_functionExpression); + enterRule(_localctx, 158, RULE_functionExpression); int _la; try { int _alt; enterOuterAlt(_localctx, 1); { - setState(787); + setState(811); functionName(); - setState(788); + setState(812); match(LP); - setState(802); + setState(826); _errHandler.sync(this); - switch ( getInterpreter().adaptivePredict(_input,74,_ctx) ) { + switch ( getInterpreter().adaptivePredict(_input,76,_ctx) ) { case 1: { - setState(789); + setState(813); match(ASTERISK); } break; case 2: { { - setState(790); + setState(814); booleanExpression(0); - setState(795); + setState(819); _errHandler.sync(this); - _alt = getInterpreter().adaptivePredict(_input,72,_ctx); + _alt = getInterpreter().adaptivePredict(_input,74,_ctx); while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) { if ( _alt==1 ) { { { - setState(791); + setState(815); match(COMMA); - setState(792); + setState(816); booleanExpression(0); } } } - setState(797); + setState(821); _errHandler.sync(this); - _alt = getInterpreter().adaptivePredict(_input,72,_ctx); + _alt = getInterpreter().adaptivePredict(_input,74,_ctx); } - setState(800); + setState(824); _errHandler.sync(this); _la = _input.LA(1); if (_la==COMMA) { { - setState(798); + setState(822); match(COMMA); - setState(799); + setState(823); mapExpression(); } } @@ -6553,7 +6744,7 @@ public final FunctionExpressionContext functionExpression() throws RecognitionEx } break; } - setState(804); + setState(828); match(RP); } } @@ -6597,9 +6788,9 @@ public T accept(ParseTreeVisitor visitor) { public final FunctionNameContext functionName() throws RecognitionException { FunctionNameContext _localctx = new FunctionNameContext(_ctx, getState()); - enterRule(_localctx, 154, RULE_functionName); + enterRule(_localctx, 160, RULE_functionName); try { - setState(809); + setState(833); _errHandler.sync(this); switch (_input.LA(1)) { case PARAM: @@ -6610,21 +6801,21 @@ public final FunctionNameContext functionName() throws RecognitionException { case QUOTED_IDENTIFIER: enterOuterAlt(_localctx, 1); { - setState(806); + setState(830); identifierOrParameter(); } break; case FIRST: enterOuterAlt(_localctx, 2); { - setState(807); + setState(831); match(FIRST); } break; case LAST: enterOuterAlt(_localctx, 3); { - setState(808); + setState(832); match(LAST); } break; @@ -6679,40 +6870,40 @@ public T accept(ParseTreeVisitor visitor) { public final MapExpressionContext mapExpression() throws RecognitionException { MapExpressionContext _localctx = new MapExpressionContext(_ctx, getState()); - enterRule(_localctx, 156, RULE_mapExpression); + enterRule(_localctx, 162, RULE_mapExpression); int _la; try { enterOuterAlt(_localctx, 1); { - setState(811); + setState(835); match(LEFT_BRACES); - setState(820); + setState(844); _errHandler.sync(this); _la = _input.LA(1); if (_la==QUOTED_STRING) { { - setState(812); + setState(836); entryExpression(); - setState(817); + setState(841); _errHandler.sync(this); _la = _input.LA(1); while (_la==COMMA) { { { - setState(813); + setState(837); match(COMMA); - setState(814); + setState(838); entryExpression(); } } - setState(819); + setState(843); _errHandler.sync(this); _la = _input.LA(1); } } } - setState(822); + setState(846); match(RIGHT_BRACES); } } @@ -6760,15 +6951,15 @@ public T accept(ParseTreeVisitor visitor) { public final EntryExpressionContext entryExpression() throws RecognitionException { EntryExpressionContext _localctx = new EntryExpressionContext(_ctx, getState()); - enterRule(_localctx, 158, RULE_entryExpression); + enterRule(_localctx, 164, RULE_entryExpression); try { enterOuterAlt(_localctx, 1); { - setState(824); + setState(848); ((EntryExpressionContext)_localctx).key = string(); - setState(825); + setState(849); match(COLON); - setState(826); + setState(850); ((EntryExpressionContext)_localctx).value = mapValue(); } } @@ -6813,9 +7004,9 @@ public T accept(ParseTreeVisitor visitor) { public final MapValueContext mapValue() throws RecognitionException { MapValueContext _localctx = new MapValueContext(_ctx, getState()); - enterRule(_localctx, 160, RULE_mapValue); + enterRule(_localctx, 166, RULE_mapValue); try { - setState(830); + setState(854); _errHandler.sync(this); switch (_input.LA(1)) { case QUOTED_STRING: @@ -6831,14 +7022,14 @@ public final MapValueContext mapValue() throws RecognitionException { case OPENING_BRACKET: enterOuterAlt(_localctx, 1); { - setState(828); + setState(852); constant(); } break; case LEFT_BRACES: enterOuterAlt(_localctx, 2); { - setState(829); + setState(853); mapExpression(); } break; @@ -7110,17 +7301,17 @@ public T accept(ParseTreeVisitor visitor) { public final ConstantContext constant() throws RecognitionException { ConstantContext _localctx = new ConstantContext(_ctx, getState()); - enterRule(_localctx, 162, RULE_constant); + enterRule(_localctx, 168, RULE_constant); int _la; try { - setState(874); + setState(898); _errHandler.sync(this); - switch ( getInterpreter().adaptivePredict(_input,82,_ctx) ) { + switch ( getInterpreter().adaptivePredict(_input,84,_ctx) ) { case 1: _localctx = new NullLiteralContext(_localctx); enterOuterAlt(_localctx, 1); { - setState(832); + setState(856); match(NULL); } break; @@ -7128,9 +7319,9 @@ public final ConstantContext constant() throws RecognitionException { _localctx = new QualifiedIntegerLiteralContext(_localctx); enterOuterAlt(_localctx, 2); { - setState(833); + setState(857); integerValue(); - setState(834); + setState(858); match(UNQUOTED_IDENTIFIER); } break; @@ -7138,7 +7329,7 @@ public final ConstantContext constant() throws RecognitionException { _localctx = new DecimalLiteralContext(_localctx); enterOuterAlt(_localctx, 3); { - setState(836); + setState(860); decimalValue(); } break; @@ -7146,7 +7337,7 @@ public final ConstantContext constant() throws RecognitionException { _localctx = new IntegerLiteralContext(_localctx); enterOuterAlt(_localctx, 4); { - setState(837); + setState(861); integerValue(); } break; @@ -7154,7 +7345,7 @@ public final ConstantContext constant() throws RecognitionException { _localctx = new BooleanLiteralContext(_localctx); enterOuterAlt(_localctx, 5); { - setState(838); + setState(862); booleanValue(); } break; @@ -7162,7 +7353,7 @@ public final ConstantContext constant() throws RecognitionException { _localctx = new InputParameterContext(_localctx); enterOuterAlt(_localctx, 6); { - setState(839); + setState(863); parameter(); } break; @@ -7170,7 +7361,7 @@ public final ConstantContext constant() throws RecognitionException { _localctx = new StringLiteralContext(_localctx); enterOuterAlt(_localctx, 7); { - setState(840); + setState(864); string(); } break; @@ -7178,27 +7369,27 @@ public final ConstantContext constant() throws RecognitionException { _localctx = new NumericArrayLiteralContext(_localctx); enterOuterAlt(_localctx, 8); { - setState(841); + setState(865); match(OPENING_BRACKET); - setState(842); + setState(866); numericValue(); - setState(847); + setState(871); _errHandler.sync(this); _la = _input.LA(1); while (_la==COMMA) { { { - setState(843); + setState(867); match(COMMA); - setState(844); + setState(868); numericValue(); } } - setState(849); + setState(873); _errHandler.sync(this); _la = _input.LA(1); } - setState(850); + setState(874); match(CLOSING_BRACKET); } break; @@ -7206,27 +7397,27 @@ public final ConstantContext constant() throws RecognitionException { _localctx = new BooleanArrayLiteralContext(_localctx); enterOuterAlt(_localctx, 9); { - setState(852); + setState(876); match(OPENING_BRACKET); - setState(853); + setState(877); booleanValue(); - setState(858); + setState(882); _errHandler.sync(this); _la = _input.LA(1); while (_la==COMMA) { { { - setState(854); + setState(878); match(COMMA); - setState(855); + setState(879); booleanValue(); } } - setState(860); + setState(884); _errHandler.sync(this); _la = _input.LA(1); } - setState(861); + setState(885); match(CLOSING_BRACKET); } break; @@ -7234,27 +7425,27 @@ public final ConstantContext constant() throws RecognitionException { _localctx = new StringArrayLiteralContext(_localctx); enterOuterAlt(_localctx, 10); { - setState(863); + setState(887); match(OPENING_BRACKET); - setState(864); + setState(888); string(); - setState(869); + setState(893); _errHandler.sync(this); _la = _input.LA(1); while (_la==COMMA) { { { - setState(865); + setState(889); match(COMMA); - setState(866); + setState(890); string(); } } - setState(871); + setState(895); _errHandler.sync(this); _la = _input.LA(1); } - setState(872); + setState(896); match(CLOSING_BRACKET); } break; @@ -7297,12 +7488,12 @@ public T accept(ParseTreeVisitor visitor) { public final BooleanValueContext booleanValue() throws RecognitionException { BooleanValueContext _localctx = new BooleanValueContext(_ctx, getState()); - enterRule(_localctx, 164, RULE_booleanValue); + enterRule(_localctx, 170, RULE_booleanValue); int _la; try { enterOuterAlt(_localctx, 1); { - setState(876); + setState(900); _la = _input.LA(1); if ( !(_la==FALSE || _la==TRUE) ) { _errHandler.recoverInline(this); @@ -7355,22 +7546,22 @@ public T accept(ParseTreeVisitor visitor) { public final NumericValueContext numericValue() throws RecognitionException { NumericValueContext _localctx = new NumericValueContext(_ctx, getState()); - enterRule(_localctx, 166, RULE_numericValue); + enterRule(_localctx, 172, RULE_numericValue); try { - setState(880); + setState(904); _errHandler.sync(this); - switch ( getInterpreter().adaptivePredict(_input,83,_ctx) ) { + switch ( getInterpreter().adaptivePredict(_input,85,_ctx) ) { case 1: enterOuterAlt(_localctx, 1); { - setState(878); + setState(902); decimalValue(); } break; case 2: enterOuterAlt(_localctx, 2); { - setState(879); + setState(903); integerValue(); } break; @@ -7414,17 +7605,17 @@ public T accept(ParseTreeVisitor visitor) { public final DecimalValueContext decimalValue() throws RecognitionException { DecimalValueContext _localctx = new DecimalValueContext(_ctx, getState()); - enterRule(_localctx, 168, RULE_decimalValue); + enterRule(_localctx, 174, RULE_decimalValue); int _la; try { enterOuterAlt(_localctx, 1); { - setState(883); + setState(907); _errHandler.sync(this); _la = _input.LA(1); if (_la==PLUS || _la==MINUS) { { - setState(882); + setState(906); _la = _input.LA(1); if ( !(_la==PLUS || _la==MINUS) ) { _errHandler.recoverInline(this); @@ -7437,7 +7628,7 @@ public final DecimalValueContext decimalValue() throws RecognitionException { } } - setState(885); + setState(909); match(DECIMAL_LITERAL); } } @@ -7479,17 +7670,17 @@ public T accept(ParseTreeVisitor visitor) { public final IntegerValueContext integerValue() throws RecognitionException { IntegerValueContext _localctx = new IntegerValueContext(_ctx, getState()); - enterRule(_localctx, 170, RULE_integerValue); + enterRule(_localctx, 176, RULE_integerValue); int _la; try { enterOuterAlt(_localctx, 1); { - setState(888); + setState(912); _errHandler.sync(this); _la = _input.LA(1); if (_la==PLUS || _la==MINUS) { { - setState(887); + setState(911); _la = _input.LA(1); if ( !(_la==PLUS || _la==MINUS) ) { _errHandler.recoverInline(this); @@ -7502,7 +7693,7 @@ public final IntegerValueContext integerValue() throws RecognitionException { } } - setState(890); + setState(914); match(INTEGER_LITERAL); } } @@ -7542,11 +7733,11 @@ public T accept(ParseTreeVisitor visitor) { public final StringContext string() throws RecognitionException { StringContext _localctx = new StringContext(_ctx, getState()); - enterRule(_localctx, 172, RULE_string); + enterRule(_localctx, 178, RULE_string); try { enterOuterAlt(_localctx, 1); { - setState(892); + setState(916); match(QUOTED_STRING); } } @@ -7591,12 +7782,12 @@ public T accept(ParseTreeVisitor visitor) { public final ComparisonOperatorContext comparisonOperator() throws RecognitionException { ComparisonOperatorContext _localctx = new ComparisonOperatorContext(_ctx, getState()); - enterRule(_localctx, 174, RULE_comparisonOperator); + enterRule(_localctx, 180, RULE_comparisonOperator); int _la; try { enterOuterAlt(_localctx, 1); { - setState(894); + setState(918); _la = _input.LA(1); if ( !(((((_la - 79)) & ~0x3f) == 0 && ((1L << (_la - 79)) & 125L) != 0)) ) { _errHandler.recoverInline(this); @@ -7654,12 +7845,12 @@ public T accept(ParseTreeVisitor visitor) { public final JoinCommandContext joinCommand() throws RecognitionException { JoinCommandContext _localctx = new JoinCommandContext(_ctx, getState()); - enterRule(_localctx, 176, RULE_joinCommand); + enterRule(_localctx, 182, RULE_joinCommand); int _la; try { enterOuterAlt(_localctx, 1); { - setState(896); + setState(920); ((JoinCommandContext)_localctx).type = _input.LT(1); _la = _input.LA(1); if ( !((((_la) & ~0x3f) == 0 && ((1L << _la) & 218103808L) != 0)) ) { @@ -7670,11 +7861,11 @@ public final JoinCommandContext joinCommand() throws RecognitionException { _errHandler.reportMatch(this); consume(); } - setState(897); + setState(921); match(JOIN); - setState(898); + setState(922); joinTarget(); - setState(899); + setState(923); joinCondition(); } } @@ -7720,37 +7911,37 @@ public T accept(ParseTreeVisitor visitor) { public final JoinTargetContext joinTarget() throws RecognitionException { JoinTargetContext _localctx = new JoinTargetContext(_ctx, getState()); - enterRule(_localctx, 178, RULE_joinTarget); + enterRule(_localctx, 184, RULE_joinTarget); int _la; try { - setState(909); + setState(933); _errHandler.sync(this); - switch ( getInterpreter().adaptivePredict(_input,87,_ctx) ) { + switch ( getInterpreter().adaptivePredict(_input,89,_ctx) ) { case 1: enterOuterAlt(_localctx, 1); { - setState(901); + setState(925); if (!(this.isDevVersion())) throw new FailedPredicateException(this, "this.isDevVersion()"); - setState(902); + setState(926); ((JoinTargetContext)_localctx).index = indexPattern(); - setState(904); + setState(928); _errHandler.sync(this); _la = _input.LA(1); if (_la==AS) { { - setState(903); + setState(927); match(AS); } } - setState(906); + setState(930); ((JoinTargetContext)_localctx).qualifier = match(UNQUOTED_SOURCE); } break; case 2: enterOuterAlt(_localctx, 2); { - setState(908); + setState(932); ((JoinTargetContext)_localctx).index = indexPattern(); } break; @@ -7802,32 +7993,32 @@ public T accept(ParseTreeVisitor visitor) { public final JoinConditionContext joinCondition() throws RecognitionException { JoinConditionContext _localctx = new JoinConditionContext(_ctx, getState()); - enterRule(_localctx, 180, RULE_joinCondition); + enterRule(_localctx, 186, RULE_joinCondition); try { int _alt; enterOuterAlt(_localctx, 1); { - setState(911); + setState(935); match(ON); - setState(912); + setState(936); booleanExpression(0); - setState(917); + setState(941); _errHandler.sync(this); - _alt = getInterpreter().adaptivePredict(_input,88,_ctx); + _alt = getInterpreter().adaptivePredict(_input,90,_ctx); while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) { if ( _alt==1 ) { { { - setState(913); + setState(937); match(COMMA); - setState(914); + setState(938); booleanExpression(0); } } } - setState(919); + setState(943); _errHandler.sync(this); - _alt = getInterpreter().adaptivePredict(_input,88,_ctx); + _alt = getInterpreter().adaptivePredict(_input,90,_ctx); } } } @@ -7852,19 +8043,21 @@ public boolean sempred(RuleContext _localctx, int ruleIndex, int predIndex) { return sourceCommand_sempred((SourceCommandContext)_localctx, predIndex); case 4: return processingCommand_sempred((ProcessingCommandContext)_localctx, predIndex); - case 25: + case 15: + return indexPatternOrSubquery_sempred((IndexPatternOrSubqueryContext)_localctx, predIndex); + case 28: return qualifiedName_sempred((QualifiedNameContext)_localctx, predIndex); - case 27: + case 30: return qualifiedNamePattern_sempred((QualifiedNamePatternContext)_localctx, predIndex); - case 59: + case 62: return forkSubQueryCommand_sempred((ForkSubQueryCommandContext)_localctx, predIndex); - case 70: + case 73: return booleanExpression_sempred((BooleanExpressionContext)_localctx, predIndex); - case 74: + case 77: return operatorExpression_sempred((OperatorExpressionContext)_localctx, predIndex); - case 75: + case 78: return primaryExpression_sempred((PrimaryExpressionContext)_localctx, predIndex); - case 89: + case 92: return joinTarget_sempred((JoinTargetContext)_localctx, predIndex); } return true; @@ -7901,62 +8094,69 @@ private boolean processingCommand_sempred(ProcessingCommandContext _localctx, in } return true; } - private boolean qualifiedName_sempred(QualifiedNameContext _localctx, int predIndex) { + private boolean indexPatternOrSubquery_sempred(IndexPatternOrSubqueryContext _localctx, int predIndex) { switch (predIndex) { case 6: return this.isDevVersion(); } return true; } - private boolean qualifiedNamePattern_sempred(QualifiedNamePatternContext _localctx, int predIndex) { + private boolean qualifiedName_sempred(QualifiedNameContext _localctx, int predIndex) { switch (predIndex) { case 7: return this.isDevVersion(); } return true; } - private boolean forkSubQueryCommand_sempred(ForkSubQueryCommandContext _localctx, int predIndex) { + private boolean qualifiedNamePattern_sempred(QualifiedNamePatternContext _localctx, int predIndex) { switch (predIndex) { case 8: + return this.isDevVersion(); + } + return true; + } + private boolean forkSubQueryCommand_sempred(ForkSubQueryCommandContext _localctx, int predIndex) { + switch (predIndex) { + case 9: return precpred(_ctx, 1); } return true; } private boolean booleanExpression_sempred(BooleanExpressionContext _localctx, int predIndex) { switch (predIndex) { - case 9: - return precpred(_ctx, 5); case 10: + return precpred(_ctx, 5); + case 11: return precpred(_ctx, 4); } return true; } private boolean operatorExpression_sempred(OperatorExpressionContext _localctx, int predIndex) { switch (predIndex) { - case 11: - return precpred(_ctx, 2); case 12: + return precpred(_ctx, 2); + case 13: return precpred(_ctx, 1); } return true; } private boolean primaryExpression_sempred(PrimaryExpressionContext _localctx, int predIndex) { switch (predIndex) { - case 13: + case 14: return precpred(_ctx, 1); } return true; } private boolean joinTarget_sempred(JoinTargetContext _localctx, int predIndex) { switch (predIndex) { - case 14: + case 15: return this.isDevVersion(); } return true; } public static final String _serializedATN = - "\u0004\u0001\u0097\u0399\u0002\u0000\u0007\u0000\u0002\u0001\u0007\u0001"+ + "\u0004\u0001\u0097\u03b1\u0002\u0000\u0007\u0000\u0002\u0001\u0007\u0001"+ "\u0002\u0002\u0007\u0002\u0002\u0003\u0007\u0003\u0002\u0004\u0007\u0004"+ "\u0002\u0005\u0007\u0005\u0002\u0006\u0007\u0006\u0002\u0007\u0007\u0007"+ "\u0002\b\u0007\b\u0002\t\u0007\t\u0002\n\u0007\n\u0002\u000b\u0007\u000b"+ @@ -7978,554 +8178,569 @@ private boolean joinTarget_sempred(JoinTargetContext _localctx, int predIndex) { "J\u0002K\u0007K\u0002L\u0007L\u0002M\u0007M\u0002N\u0007N\u0002O\u0007"+ "O\u0002P\u0007P\u0002Q\u0007Q\u0002R\u0007R\u0002S\u0007S\u0002T\u0007"+ "T\u0002U\u0007U\u0002V\u0007V\u0002W\u0007W\u0002X\u0007X\u0002Y\u0007"+ - "Y\u0002Z\u0007Z\u0001\u0000\u0001\u0000\u0004\u0000\u00b9\b\u0000\u000b"+ - "\u0000\f\u0000\u00ba\u0001\u0000\u0001\u0000\u0001\u0000\u0001\u0000\u0001"+ - "\u0000\u0001\u0000\u0003\u0000\u00c3\b\u0000\u0001\u0001\u0001\u0001\u0001"+ - "\u0001\u0001\u0002\u0001\u0002\u0001\u0002\u0001\u0002\u0001\u0002\u0001"+ - "\u0002\u0005\u0002\u00ce\b\u0002\n\u0002\f\u0002\u00d1\t\u0002\u0001\u0003"+ - "\u0001\u0003\u0001\u0003\u0001\u0003\u0001\u0003\u0001\u0003\u0003\u0003"+ - "\u00d9\b\u0003\u0001\u0004\u0001\u0004\u0001\u0004\u0001\u0004\u0001\u0004"+ + "Y\u0002Z\u0007Z\u0002[\u0007[\u0002\\\u0007\\\u0002]\u0007]\u0001\u0000"+ + "\u0001\u0000\u0004\u0000\u00bf\b\u0000\u000b\u0000\f\u0000\u00c0\u0001"+ + "\u0000\u0001\u0000\u0001\u0000\u0001\u0000\u0001\u0000\u0001\u0000\u0003"+ + "\u0000\u00c9\b\u0000\u0001\u0001\u0001\u0001\u0001\u0001\u0001\u0002\u0001"+ + "\u0002\u0001\u0002\u0001\u0002\u0001\u0002\u0001\u0002\u0005\u0002\u00d4"+ + "\b\u0002\n\u0002\f\u0002\u00d7\t\u0002\u0001\u0003\u0001\u0003\u0001\u0003"+ + "\u0001\u0003\u0001\u0003\u0001\u0003\u0003\u0003\u00df\b\u0003\u0001\u0004"+ + "\u0001\u0004\u0001\u0004\u0001\u0004\u0001\u0004\u0001\u0004\u0001\u0004"+ "\u0001\u0004\u0001\u0004\u0001\u0004\u0001\u0004\u0001\u0004\u0001\u0004"+ "\u0001\u0004\u0001\u0004\u0001\u0004\u0001\u0004\u0001\u0004\u0001\u0004"+ "\u0001\u0004\u0001\u0004\u0001\u0004\u0001\u0004\u0001\u0004\u0001\u0004"+ - "\u0001\u0004\u0001\u0004\u0003\u0004\u00f4\b\u0004\u0001\u0005\u0001\u0005"+ - "\u0001\u0005\u0001\u0006\u0001\u0006\u0001\u0007\u0001\u0007\u0001\u0007"+ - "\u0001\b\u0001\b\u0001\b\u0005\b\u0101\b\b\n\b\f\b\u0104\t\b\u0001\t\u0001"+ - "\t\u0001\t\u0003\t\u0109\b\t\u0001\t\u0001\t\u0001\n\u0001\n\u0001\n\u0005"+ - "\n\u0110\b\n\n\n\f\n\u0113\t\n\u0001\u000b\u0001\u000b\u0001\u000b\u0003"+ - "\u000b\u0118\b\u000b\u0001\f\u0001\f\u0001\f\u0001\r\u0001\r\u0001\r\u0001"+ - "\u000e\u0001\u000e\u0001\u000e\u0005\u000e\u0123\b\u000e\n\u000e\f\u000e"+ - "\u0126\t\u000e\u0001\u000e\u0003\u000e\u0129\b\u000e\u0001\u000f\u0001"+ - "\u000f\u0001\u000f\u0001\u000f\u0001\u000f\u0001\u000f\u0001\u000f\u0001"+ - "\u000f\u0001\u000f\u0003\u000f\u0134\b\u000f\u0001\u0010\u0001\u0010\u0001"+ - "\u0011\u0001\u0011\u0001\u0012\u0001\u0012\u0001\u0013\u0001\u0013\u0001"+ - "\u0014\u0001\u0014\u0001\u0014\u0001\u0014\u0005\u0014\u0142\b\u0014\n"+ - "\u0014\f\u0014\u0145\t\u0014\u0001\u0015\u0001\u0015\u0001\u0015\u0001"+ - "\u0016\u0001\u0016\u0003\u0016\u014c\b\u0016\u0001\u0016\u0001\u0016\u0003"+ - "\u0016\u0150\b\u0016\u0001\u0017\u0001\u0017\u0001\u0017\u0005\u0017\u0155"+ - "\b\u0017\n\u0017\f\u0017\u0158\t\u0017\u0001\u0018\u0001\u0018\u0001\u0018"+ - "\u0003\u0018\u015d\b\u0018\u0001\u0019\u0001\u0019\u0001\u0019\u0003\u0019"+ - "\u0162\b\u0019\u0001\u0019\u0001\u0019\u0001\u0019\u0001\u0019\u0001\u0019"+ - "\u0001\u0019\u0001\u0019\u0003\u0019\u016b\b\u0019\u0001\u001a\u0001\u001a"+ - "\u0001\u001a\u0005\u001a\u0170\b\u001a\n\u001a\f\u001a\u0173\t\u001a\u0001"+ - "\u001b\u0001\u001b\u0001\u001b\u0003\u001b\u0178\b\u001b\u0001\u001b\u0001"+ - "\u001b\u0001\u001b\u0001\u001b\u0001\u001b\u0001\u001b\u0001\u001b\u0003"+ - "\u001b\u0181\b\u001b\u0001\u001c\u0001\u001c\u0001\u001c\u0005\u001c\u0186"+ - "\b\u001c\n\u001c\f\u001c\u0189\t\u001c\u0001\u001d\u0001\u001d\u0001\u001d"+ - "\u0005\u001d\u018e\b\u001d\n\u001d\f\u001d\u0191\t\u001d\u0001\u001e\u0001"+ - "\u001e\u0001\u001f\u0001\u001f\u0001\u001f\u0003\u001f\u0198\b\u001f\u0001"+ - " \u0001 \u0003 \u019c\b \u0001!\u0001!\u0003!\u01a0\b!\u0001\"\u0001\""+ - "\u0001\"\u0003\"\u01a5\b\"\u0001#\u0001#\u0001#\u0001$\u0001$\u0001$\u0001"+ - "$\u0005$\u01ae\b$\n$\f$\u01b1\t$\u0001%\u0001%\u0003%\u01b5\b%\u0001%"+ - "\u0001%\u0003%\u01b9\b%\u0001&\u0001&\u0001&\u0001\'\u0001\'\u0001\'\u0001"+ - "(\u0001(\u0001(\u0001(\u0005(\u01c5\b(\n(\f(\u01c8\t(\u0001)\u0001)\u0001"+ - ")\u0001)\u0001)\u0001)\u0001)\u0001)\u0003)\u01d2\b)\u0001*\u0001*\u0001"+ - "*\u0001*\u0003*\u01d8\b*\u0001+\u0001+\u0001+\u0005+\u01dd\b+\n+\f+\u01e0"+ - "\t+\u0001,\u0001,\u0001,\u0001,\u0001-\u0001-\u0003-\u01e8\b-\u0001.\u0001"+ - ".\u0001.\u0001.\u0001/\u0001/\u0001/\u00010\u00010\u00010\u00011\u0001"+ - "1\u00011\u00011\u00012\u00012\u00012\u00013\u00013\u00013\u00013\u0003"+ - "3\u01ff\b3\u00013\u00013\u00013\u00013\u00053\u0205\b3\n3\f3\u0208\t3"+ - "\u00033\u020a\b3\u00014\u00014\u00015\u00015\u00015\u00035\u0211\b5\u0001"+ - "5\u00015\u00016\u00016\u00016\u00017\u00017\u00017\u00017\u00037\u021c"+ - "\b7\u00017\u00017\u00017\u00017\u00017\u00037\u0223\b7\u00018\u00018\u0001"+ - "8\u00019\u00049\u0229\b9\u000b9\f9\u022a\u0001:\u0001:\u0001:\u0001:\u0001"+ - ";\u0001;\u0001;\u0001;\u0001;\u0001;\u0005;\u0237\b;\n;\f;\u023a\t;\u0001"+ - "<\u0001<\u0001=\u0001=\u0001=\u0001=\u0003=\u0242\b=\u0001=\u0001=\u0001"+ - "=\u0001=\u0001=\u0001>\u0001>\u0001>\u0001>\u0003>\u024d\b>\u0001>\u0001"+ - ">\u0001>\u0001?\u0001?\u0001?\u0001?\u0001?\u0003?\u0257\b?\u0001?\u0001"+ - "?\u0001?\u0001?\u0003?\u025d\b?\u0003?\u025f\b?\u0001@\u0001@\u0001@\u0001"+ - "@\u0001@\u0001A\u0001A\u0001A\u0001B\u0001B\u0003B\u026b\bB\u0001B\u0005"+ - "B\u026e\bB\nB\fB\u0271\tB\u0001C\u0001C\u0001C\u0001C\u0001C\u0001C\u0001"+ - "C\u0001C\u0001C\u0001C\u0001C\u0003C\u027e\bC\u0001D\u0001D\u0001D\u0001"+ - "D\u0001E\u0001E\u0001E\u0001E\u0001F\u0001F\u0001F\u0001F\u0001F\u0001"+ - "F\u0001F\u0003F\u028f\bF\u0001F\u0001F\u0001F\u0001F\u0001F\u0005F\u0296"+ - "\bF\nF\fF\u0299\tF\u0001F\u0001F\u0001F\u0001F\u0001F\u0003F\u02a0\bF"+ - "\u0001F\u0001F\u0001F\u0003F\u02a5\bF\u0001F\u0001F\u0001F\u0001F\u0001"+ - "F\u0001F\u0005F\u02ad\bF\nF\fF\u02b0\tF\u0001G\u0001G\u0003G\u02b4\bG"+ - "\u0001G\u0001G\u0001G\u0001G\u0001G\u0003G\u02bb\bG\u0001G\u0001G\u0001"+ - "G\u0001G\u0001G\u0003G\u02c2\bG\u0001G\u0001G\u0001G\u0001G\u0001G\u0005"+ - "G\u02c9\bG\nG\fG\u02cc\tG\u0001G\u0001G\u0001G\u0001G\u0003G\u02d2\bG"+ - "\u0001G\u0001G\u0001G\u0001G\u0001G\u0005G\u02d9\bG\nG\fG\u02dc\tG\u0001"+ - "G\u0001G\u0003G\u02e0\bG\u0001H\u0001H\u0001H\u0003H\u02e5\bH\u0001H\u0001"+ - "H\u0001H\u0001I\u0001I\u0001I\u0001I\u0001I\u0003I\u02ef\bI\u0001J\u0001"+ - "J\u0001J\u0001J\u0003J\u02f5\bJ\u0001J\u0001J\u0001J\u0001J\u0001J\u0001"+ - "J\u0005J\u02fd\bJ\nJ\fJ\u0300\tJ\u0001K\u0001K\u0001K\u0001K\u0001K\u0001"+ - "K\u0001K\u0001K\u0003K\u030a\bK\u0001K\u0001K\u0001K\u0005K\u030f\bK\n"+ - "K\fK\u0312\tK\u0001L\u0001L\u0001L\u0001L\u0001L\u0001L\u0005L\u031a\b"+ - "L\nL\fL\u031d\tL\u0001L\u0001L\u0003L\u0321\bL\u0003L\u0323\bL\u0001L"+ - "\u0001L\u0001M\u0001M\u0001M\u0003M\u032a\bM\u0001N\u0001N\u0001N\u0001"+ - "N\u0005N\u0330\bN\nN\fN\u0333\tN\u0003N\u0335\bN\u0001N\u0001N\u0001O"+ - "\u0001O\u0001O\u0001O\u0001P\u0001P\u0003P\u033f\bP\u0001Q\u0001Q\u0001"+ - "Q\u0001Q\u0001Q\u0001Q\u0001Q\u0001Q\u0001Q\u0001Q\u0001Q\u0001Q\u0001"+ - "Q\u0005Q\u034e\bQ\nQ\fQ\u0351\tQ\u0001Q\u0001Q\u0001Q\u0001Q\u0001Q\u0001"+ - "Q\u0005Q\u0359\bQ\nQ\fQ\u035c\tQ\u0001Q\u0001Q\u0001Q\u0001Q\u0001Q\u0001"+ - "Q\u0005Q\u0364\bQ\nQ\fQ\u0367\tQ\u0001Q\u0001Q\u0003Q\u036b\bQ\u0001R"+ - "\u0001R\u0001S\u0001S\u0003S\u0371\bS\u0001T\u0003T\u0374\bT\u0001T\u0001"+ - "T\u0001U\u0003U\u0379\bU\u0001U\u0001U\u0001V\u0001V\u0001W\u0001W\u0001"+ - "X\u0001X\u0001X\u0001X\u0001X\u0001Y\u0001Y\u0001Y\u0003Y\u0389\bY\u0001"+ - "Y\u0001Y\u0001Y\u0003Y\u038e\bY\u0001Z\u0001Z\u0001Z\u0001Z\u0005Z\u0394"+ - "\bZ\nZ\fZ\u0397\tZ\u0001Z\u0000\u0005\u0004v\u008c\u0094\u0096[\u0000"+ - "\u0002\u0004\u0006\b\n\f\u000e\u0010\u0012\u0014\u0016\u0018\u001a\u001c"+ - "\u001e \"$&(*,.02468:<>@BDFHJLNPRTVXZ\\^`bdfhjlnprtvxz|~\u0080\u0082\u0084"+ - "\u0086\u0088\u008a\u008c\u008e\u0090\u0092\u0094\u0096\u0098\u009a\u009c"+ - "\u009e\u00a0\u00a2\u00a4\u00a6\u00a8\u00aa\u00ac\u00ae\u00b0\u00b2\u00b4"+ - "\u0000\n\u0002\u000033jj\u0001\u0000de\u0002\u000077>>\u0002\u0000AAD"+ - "D\u0002\u0000((33\u0001\u0000VW\u0001\u0000XZ\u0002\u0000@@MM\u0002\u0000"+ - "OOQU\u0002\u0000\u0018\u0018\u001a\u001b\u03c4\u0000\u00c2\u0001\u0000"+ - "\u0000\u0000\u0002\u00c4\u0001\u0000\u0000\u0000\u0004\u00c7\u0001\u0000"+ - "\u0000\u0000\u0006\u00d8\u0001\u0000\u0000\u0000\b\u00f3\u0001\u0000\u0000"+ - "\u0000\n\u00f5\u0001\u0000\u0000\u0000\f\u00f8\u0001\u0000\u0000\u0000"+ - "\u000e\u00fa\u0001\u0000\u0000\u0000\u0010\u00fd\u0001\u0000\u0000\u0000"+ - "\u0012\u0108\u0001\u0000\u0000\u0000\u0014\u010c\u0001\u0000\u0000\u0000"+ - "\u0016\u0114\u0001\u0000\u0000\u0000\u0018\u0119\u0001\u0000\u0000\u0000"+ - "\u001a\u011c\u0001\u0000\u0000\u0000\u001c\u011f\u0001\u0000\u0000\u0000"+ - "\u001e\u0133\u0001\u0000\u0000\u0000 \u0135\u0001\u0000\u0000\u0000\""+ - "\u0137\u0001\u0000\u0000\u0000$\u0139\u0001\u0000\u0000\u0000&\u013b\u0001"+ - "\u0000\u0000\u0000(\u013d\u0001\u0000\u0000\u0000*\u0146\u0001\u0000\u0000"+ - "\u0000,\u0149\u0001\u0000\u0000\u0000.\u0151\u0001\u0000\u0000\u00000"+ - "\u0159\u0001\u0000\u0000\u00002\u016a\u0001\u0000\u0000\u00004\u016c\u0001"+ - "\u0000\u0000\u00006\u0180\u0001\u0000\u0000\u00008\u0182\u0001\u0000\u0000"+ - "\u0000:\u018a\u0001\u0000\u0000\u0000<\u0192\u0001\u0000\u0000\u0000>"+ - "\u0197\u0001\u0000\u0000\u0000@\u019b\u0001\u0000\u0000\u0000B\u019f\u0001"+ - "\u0000\u0000\u0000D\u01a4\u0001\u0000\u0000\u0000F\u01a6\u0001\u0000\u0000"+ - "\u0000H\u01a9\u0001\u0000\u0000\u0000J\u01b2\u0001\u0000\u0000\u0000L"+ - "\u01ba\u0001\u0000\u0000\u0000N\u01bd\u0001\u0000\u0000\u0000P\u01c0\u0001"+ - "\u0000\u0000\u0000R\u01d1\u0001\u0000\u0000\u0000T\u01d3\u0001\u0000\u0000"+ - "\u0000V\u01d9\u0001\u0000\u0000\u0000X\u01e1\u0001\u0000\u0000\u0000Z"+ - "\u01e7\u0001\u0000\u0000\u0000\\\u01e9\u0001\u0000\u0000\u0000^\u01ed"+ - "\u0001\u0000\u0000\u0000`\u01f0\u0001\u0000\u0000\u0000b\u01f3\u0001\u0000"+ - "\u0000\u0000d\u01f7\u0001\u0000\u0000\u0000f\u01fa\u0001\u0000\u0000\u0000"+ - "h\u020b\u0001\u0000\u0000\u0000j\u0210\u0001\u0000\u0000\u0000l\u0214"+ - "\u0001\u0000\u0000\u0000n\u0217\u0001\u0000\u0000\u0000p\u0224\u0001\u0000"+ - "\u0000\u0000r\u0228\u0001\u0000\u0000\u0000t\u022c\u0001\u0000\u0000\u0000"+ - "v\u0230\u0001\u0000\u0000\u0000x\u023b\u0001\u0000\u0000\u0000z\u023d"+ - "\u0001\u0000\u0000\u0000|\u0248\u0001\u0000\u0000\u0000~\u025e\u0001\u0000"+ - "\u0000\u0000\u0080\u0260\u0001\u0000\u0000\u0000\u0082\u0265\u0001\u0000"+ - "\u0000\u0000\u0084\u0268\u0001\u0000\u0000\u0000\u0086\u027d\u0001\u0000"+ - "\u0000\u0000\u0088\u027f\u0001\u0000\u0000\u0000\u008a\u0283\u0001\u0000"+ - "\u0000\u0000\u008c\u02a4\u0001\u0000\u0000\u0000\u008e\u02df\u0001\u0000"+ - "\u0000\u0000\u0090\u02e1\u0001\u0000\u0000\u0000\u0092\u02ee\u0001\u0000"+ - "\u0000\u0000\u0094\u02f4\u0001\u0000\u0000\u0000\u0096\u0309\u0001\u0000"+ - "\u0000\u0000\u0098\u0313\u0001\u0000\u0000\u0000\u009a\u0329\u0001\u0000"+ - "\u0000\u0000\u009c\u032b\u0001\u0000\u0000\u0000\u009e\u0338\u0001\u0000"+ - "\u0000\u0000\u00a0\u033e\u0001\u0000\u0000\u0000\u00a2\u036a\u0001\u0000"+ - "\u0000\u0000\u00a4\u036c\u0001\u0000\u0000\u0000\u00a6\u0370\u0001\u0000"+ - "\u0000\u0000\u00a8\u0373\u0001\u0000\u0000\u0000\u00aa\u0378\u0001\u0000"+ - "\u0000\u0000\u00ac\u037c\u0001\u0000\u0000\u0000\u00ae\u037e\u0001\u0000"+ - "\u0000\u0000\u00b0\u0380\u0001\u0000\u0000\u0000\u00b2\u038d\u0001\u0000"+ - "\u0000\u0000\u00b4\u038f\u0001\u0000\u0000\u0000\u00b6\u00b8\u0004\u0000"+ - "\u0000\u0000\u00b7\u00b9\u0003\u0088D\u0000\u00b8\u00b7\u0001\u0000\u0000"+ - "\u0000\u00b9\u00ba\u0001\u0000\u0000\u0000\u00ba\u00b8\u0001\u0000\u0000"+ - "\u0000\u00ba\u00bb\u0001\u0000\u0000\u0000\u00bb\u00bc\u0001\u0000\u0000"+ - "\u0000\u00bc\u00bd\u0003\u0002\u0001\u0000\u00bd\u00be\u0005\u0000\u0000"+ - "\u0001\u00be\u00c3\u0001\u0000\u0000\u0000\u00bf\u00c0\u0003\u0002\u0001"+ - "\u0000\u00c0\u00c1\u0005\u0000\u0000\u0001\u00c1\u00c3\u0001\u0000\u0000"+ - "\u0000\u00c2\u00b6\u0001\u0000\u0000\u0000\u00c2\u00bf\u0001\u0000\u0000"+ - "\u0000\u00c3\u0001\u0001\u0000\u0000\u0000\u00c4\u00c5\u0003\u0004\u0002"+ - "\u0000\u00c5\u00c6\u0005\u0000\u0000\u0001\u00c6\u0003\u0001\u0000\u0000"+ - "\u0000\u00c7\u00c8\u0006\u0002\uffff\uffff\u0000\u00c8\u00c9\u0003\u0006"+ - "\u0003\u0000\u00c9\u00cf\u0001\u0000\u0000\u0000\u00ca\u00cb\n\u0001\u0000"+ - "\u0000\u00cb\u00cc\u00052\u0000\u0000\u00cc\u00ce\u0003\b\u0004\u0000"+ - "\u00cd\u00ca\u0001\u0000\u0000\u0000\u00ce\u00d1\u0001\u0000\u0000\u0000"+ - "\u00cf\u00cd\u0001\u0000\u0000\u0000\u00cf\u00d0\u0001\u0000\u0000\u0000"+ - "\u00d0\u0005\u0001\u0000\u0000\u0000\u00d1\u00cf\u0001\u0000\u0000\u0000"+ - "\u00d2\u00d9\u0003\u0018\f\u0000\u00d3\u00d9\u0003\u000e\u0007\u0000\u00d4"+ - "\u00d9\u0003d2\u0000\u00d5\u00d9\u0003\u001a\r\u0000\u00d6\u00d7\u0004"+ - "\u0003\u0002\u0000\u00d7\u00d9\u0003`0\u0000\u00d8\u00d2\u0001\u0000\u0000"+ - "\u0000\u00d8\u00d3\u0001\u0000\u0000\u0000\u00d8\u00d4\u0001\u0000\u0000"+ - "\u0000\u00d8\u00d5\u0001\u0000\u0000\u0000\u00d8\u00d6\u0001\u0000\u0000"+ - "\u0000\u00d9\u0007\u0001\u0000\u0000\u0000\u00da\u00f4\u0003*\u0015\u0000"+ - "\u00db\u00f4\u0003\n\u0005\u0000\u00dc\u00f4\u0003L&\u0000\u00dd\u00f4"+ - "\u0003F#\u0000\u00de\u00f4\u0003,\u0016\u0000\u00df\u00f4\u0003H$\u0000"+ - "\u00e0\u00f4\u0003N\'\u0000\u00e1\u00f4\u0003P(\u0000\u00e2\u00f4\u0003"+ - "T*\u0000\u00e3\u00f4\u0003\\.\u0000\u00e4\u00f4\u0003f3\u0000\u00e5\u00f4"+ - "\u0003^/\u0000\u00e6\u00f4\u0003\u00b0X\u0000\u00e7\u00f4\u0003n7\u0000"+ - "\u00e8\u00f4\u0003|>\u0000\u00e9\u00f4\u0003l6\u0000\u00ea\u00f4\u0003"+ - "p8\u0000\u00eb\u00f4\u0003z=\u0000\u00ec\u00f4\u0003~?\u0000\u00ed\u00ee"+ - "\u0004\u0004\u0003\u0000\u00ee\u00f4\u0003\u0080@\u0000\u00ef\u00f0\u0004"+ - "\u0004\u0004\u0000\u00f0\u00f4\u0003\u0082A\u0000\u00f1\u00f2\u0004\u0004"+ - "\u0005\u0000\u00f2\u00f4\u0003\u0084B\u0000\u00f3\u00da\u0001\u0000\u0000"+ - "\u0000\u00f3\u00db\u0001\u0000\u0000\u0000\u00f3\u00dc\u0001\u0000\u0000"+ - "\u0000\u00f3\u00dd\u0001\u0000\u0000\u0000\u00f3\u00de\u0001\u0000\u0000"+ - "\u0000\u00f3\u00df\u0001\u0000\u0000\u0000\u00f3\u00e0\u0001\u0000\u0000"+ - "\u0000\u00f3\u00e1\u0001\u0000\u0000\u0000\u00f3\u00e2\u0001\u0000\u0000"+ - "\u0000\u00f3\u00e3\u0001\u0000\u0000\u0000\u00f3\u00e4\u0001\u0000\u0000"+ - "\u0000\u00f3\u00e5\u0001\u0000\u0000\u0000\u00f3\u00e6\u0001\u0000\u0000"+ - "\u0000\u00f3\u00e7\u0001\u0000\u0000\u0000\u00f3\u00e8\u0001\u0000\u0000"+ - "\u0000\u00f3\u00e9\u0001\u0000\u0000\u0000\u00f3\u00ea\u0001\u0000\u0000"+ - "\u0000\u00f3\u00eb\u0001\u0000\u0000\u0000\u00f3\u00ec\u0001\u0000\u0000"+ - "\u0000\u00f3\u00ed\u0001\u0000\u0000\u0000\u00f3\u00ef\u0001\u0000\u0000"+ - "\u0000\u00f3\u00f1\u0001\u0000\u0000\u0000\u00f4\t\u0001\u0000\u0000\u0000"+ - "\u00f5\u00f6\u0005\u0011\u0000\u0000\u00f6\u00f7\u0003\u008cF\u0000\u00f7"+ - "\u000b\u0001\u0000\u0000\u0000\u00f8\u00f9\u0003<\u001e\u0000\u00f9\r"+ - "\u0001\u0000\u0000\u0000\u00fa\u00fb\u0005\r\u0000\u0000\u00fb\u00fc\u0003"+ - "\u0010\b\u0000\u00fc\u000f\u0001\u0000\u0000\u0000\u00fd\u0102\u0003\u0012"+ - "\t\u0000\u00fe\u00ff\u0005=\u0000\u0000\u00ff\u0101\u0003\u0012\t\u0000"+ - "\u0100\u00fe\u0001\u0000\u0000\u0000\u0101\u0104\u0001\u0000\u0000\u0000"+ - "\u0102\u0100\u0001\u0000\u0000\u0000\u0102\u0103\u0001\u0000\u0000\u0000"+ - "\u0103\u0011\u0001\u0000\u0000\u0000\u0104\u0102\u0001\u0000\u0000\u0000"+ - "\u0105\u0106\u00032\u0019\u0000\u0106\u0107\u00058\u0000\u0000\u0107\u0109"+ - "\u0001\u0000\u0000\u0000\u0108\u0105\u0001\u0000\u0000\u0000\u0108\u0109"+ - "\u0001\u0000\u0000\u0000\u0109\u010a\u0001\u0000\u0000\u0000\u010a\u010b"+ - "\u0003\u008cF\u0000\u010b\u0013\u0001\u0000\u0000\u0000\u010c\u0111\u0003"+ - "\u0016\u000b\u0000\u010d\u010e\u0005=\u0000\u0000\u010e\u0110\u0003\u0016"+ - "\u000b\u0000\u010f\u010d\u0001\u0000\u0000\u0000\u0110\u0113\u0001\u0000"+ - "\u0000\u0000\u0111\u010f\u0001\u0000\u0000\u0000\u0111\u0112\u0001\u0000"+ - "\u0000\u0000\u0112\u0015\u0001\u0000\u0000\u0000\u0113\u0111\u0001\u0000"+ - "\u0000\u0000\u0114\u0117\u00032\u0019\u0000\u0115\u0116\u00058\u0000\u0000"+ - "\u0116\u0118\u0003\u008cF\u0000\u0117\u0115\u0001\u0000\u0000\u0000\u0117"+ - "\u0118\u0001\u0000\u0000\u0000\u0118\u0017\u0001\u0000\u0000\u0000\u0119"+ - "\u011a\u0005\u0012\u0000\u0000\u011a\u011b\u0003\u001c\u000e\u0000\u011b"+ - "\u0019\u0001\u0000\u0000\u0000\u011c\u011d\u0005\u0013\u0000\u0000\u011d"+ - "\u011e\u0003\u001c\u000e\u0000\u011e\u001b\u0001\u0000\u0000\u0000\u011f"+ - "\u0124\u0003\u001e\u000f\u0000\u0120\u0121\u0005=\u0000\u0000\u0121\u0123"+ - "\u0003\u001e\u000f\u0000\u0122\u0120\u0001\u0000\u0000\u0000\u0123\u0126"+ - "\u0001\u0000\u0000\u0000\u0124\u0122\u0001\u0000\u0000\u0000\u0124\u0125"+ - "\u0001\u0000\u0000\u0000\u0125\u0128\u0001\u0000\u0000\u0000\u0126\u0124"+ - "\u0001\u0000\u0000\u0000\u0127\u0129\u0003(\u0014\u0000\u0128\u0127\u0001"+ - "\u0000\u0000\u0000\u0128\u0129\u0001\u0000\u0000\u0000\u0129\u001d\u0001"+ - "\u0000\u0000\u0000\u012a\u012b\u0003 \u0010\u0000\u012b\u012c\u0005;\u0000"+ - "\u0000\u012c\u012d\u0003$\u0012\u0000\u012d\u0134\u0001\u0000\u0000\u0000"+ - "\u012e\u012f\u0003$\u0012\u0000\u012f\u0130\u0005:\u0000\u0000\u0130\u0131"+ - "\u0003\"\u0011\u0000\u0131\u0134\u0001\u0000\u0000\u0000\u0132\u0134\u0003"+ - "&\u0013\u0000\u0133\u012a\u0001\u0000\u0000\u0000\u0133\u012e\u0001\u0000"+ - "\u0000\u0000\u0133\u0132\u0001\u0000\u0000\u0000\u0134\u001f\u0001\u0000"+ - "\u0000\u0000\u0135\u0136\u0005j\u0000\u0000\u0136!\u0001\u0000\u0000\u0000"+ - "\u0137\u0138\u0005j\u0000\u0000\u0138#\u0001\u0000\u0000\u0000\u0139\u013a"+ - "\u0005j\u0000\u0000\u013a%\u0001\u0000\u0000\u0000\u013b\u013c\u0007\u0000"+ - "\u0000\u0000\u013c\'\u0001\u0000\u0000\u0000\u013d\u013e\u0005i\u0000"+ - "\u0000\u013e\u0143\u0005j\u0000\u0000\u013f\u0140\u0005=\u0000\u0000\u0140"+ - "\u0142\u0005j\u0000\u0000\u0141\u013f\u0001\u0000\u0000\u0000\u0142\u0145"+ - "\u0001\u0000\u0000\u0000\u0143\u0141\u0001\u0000\u0000\u0000\u0143\u0144"+ - "\u0001\u0000\u0000\u0000\u0144)\u0001\u0000\u0000\u0000\u0145\u0143\u0001"+ - "\u0000\u0000\u0000\u0146\u0147\u0005\t\u0000\u0000\u0147\u0148\u0003\u0010"+ - "\b\u0000\u0148+\u0001\u0000\u0000\u0000\u0149\u014b\u0005\u0010\u0000"+ - "\u0000\u014a\u014c\u0003.\u0017\u0000\u014b\u014a\u0001\u0000\u0000\u0000"+ - "\u014b\u014c\u0001\u0000\u0000\u0000\u014c\u014f\u0001\u0000\u0000\u0000"+ - "\u014d\u014e\u00059\u0000\u0000\u014e\u0150\u0003\u0010\b\u0000\u014f"+ - "\u014d\u0001\u0000\u0000\u0000\u014f\u0150\u0001\u0000\u0000\u0000\u0150"+ - "-\u0001\u0000\u0000\u0000\u0151\u0156\u00030\u0018\u0000\u0152\u0153\u0005"+ - "=\u0000\u0000\u0153\u0155\u00030\u0018\u0000\u0154\u0152\u0001\u0000\u0000"+ - "\u0000\u0155\u0158\u0001\u0000\u0000\u0000\u0156\u0154\u0001\u0000\u0000"+ - "\u0000\u0156\u0157\u0001\u0000\u0000\u0000\u0157/\u0001\u0000\u0000\u0000"+ - "\u0158\u0156\u0001\u0000\u0000\u0000\u0159\u015c\u0003\u0012\t\u0000\u015a"+ - "\u015b\u0005\u0011\u0000\u0000\u015b\u015d\u0003\u008cF\u0000\u015c\u015a"+ - "\u0001\u0000\u0000\u0000\u015c\u015d\u0001\u0000\u0000\u0000\u015d1\u0001"+ - "\u0000\u0000\u0000\u015e\u015f\u0004\u0019\u0006\u0000\u015f\u0161\u0005"+ - "`\u0000\u0000\u0160\u0162\u0005d\u0000\u0000\u0161\u0160\u0001\u0000\u0000"+ - "\u0000\u0161\u0162\u0001\u0000\u0000\u0000\u0162\u0163\u0001\u0000\u0000"+ - "\u0000\u0163\u0164\u0005a\u0000\u0000\u0164\u0165\u0005?\u0000\u0000\u0165"+ - "\u0166\u0005`\u0000\u0000\u0166\u0167\u00034\u001a\u0000\u0167\u0168\u0005"+ - "a\u0000\u0000\u0168\u016b\u0001\u0000\u0000\u0000\u0169\u016b\u00034\u001a"+ - "\u0000\u016a\u015e\u0001\u0000\u0000\u0000\u016a\u0169\u0001\u0000\u0000"+ - "\u0000\u016b3\u0001\u0000\u0000\u0000\u016c\u0171\u0003D\"\u0000\u016d"+ - "\u016e\u0005?\u0000\u0000\u016e\u0170\u0003D\"\u0000\u016f\u016d\u0001"+ - "\u0000\u0000\u0000\u0170\u0173\u0001\u0000\u0000\u0000\u0171\u016f\u0001"+ - "\u0000\u0000\u0000\u0171\u0172\u0001\u0000\u0000\u0000\u01725\u0001\u0000"+ - "\u0000\u0000\u0173\u0171\u0001\u0000\u0000\u0000\u0174\u0175\u0004\u001b"+ - "\u0007\u0000\u0175\u0177\u0005`\u0000\u0000\u0176\u0178\u0005\u0089\u0000"+ - "\u0000\u0177\u0176\u0001\u0000\u0000\u0000\u0177\u0178\u0001\u0000\u0000"+ - "\u0000\u0178\u0179\u0001\u0000\u0000\u0000\u0179\u017a\u0005a\u0000\u0000"+ - "\u017a\u017b\u0005?\u0000\u0000\u017b\u017c\u0005`\u0000\u0000\u017c\u017d"+ - "\u00038\u001c\u0000\u017d\u017e\u0005a\u0000\u0000\u017e\u0181\u0001\u0000"+ - "\u0000\u0000\u017f\u0181\u00038\u001c\u0000\u0180\u0174\u0001\u0000\u0000"+ - "\u0000\u0180\u017f\u0001\u0000\u0000\u0000\u01817\u0001\u0000\u0000\u0000"+ - "\u0182\u0187\u0003>\u001f\u0000\u0183\u0184\u0005?\u0000\u0000\u0184\u0186"+ - "\u0003>\u001f\u0000\u0185\u0183\u0001\u0000\u0000\u0000\u0186\u0189\u0001"+ - "\u0000\u0000\u0000\u0187\u0185\u0001\u0000\u0000\u0000\u0187\u0188\u0001"+ - "\u0000\u0000\u0000\u01889\u0001\u0000\u0000\u0000\u0189\u0187\u0001\u0000"+ - "\u0000\u0000\u018a\u018f\u00036\u001b\u0000\u018b\u018c\u0005=\u0000\u0000"+ - "\u018c\u018e\u00036\u001b\u0000\u018d\u018b\u0001\u0000\u0000\u0000\u018e"+ - "\u0191\u0001\u0000\u0000\u0000\u018f\u018d\u0001\u0000\u0000\u0000\u018f"+ - "\u0190\u0001\u0000\u0000\u0000\u0190;\u0001\u0000\u0000\u0000\u0191\u018f"+ - "\u0001\u0000\u0000\u0000\u0192\u0193\u0007\u0001\u0000\u0000\u0193=\u0001"+ - "\u0000\u0000\u0000\u0194\u0198\u0005\u0089\u0000\u0000\u0195\u0198\u0003"+ - "@ \u0000\u0196\u0198\u0003B!\u0000\u0197\u0194\u0001\u0000\u0000\u0000"+ - "\u0197\u0195\u0001\u0000\u0000\u0000\u0197\u0196\u0001\u0000\u0000\u0000"+ - "\u0198?\u0001\u0000\u0000\u0000\u0199\u019c\u0005K\u0000\u0000\u019a\u019c"+ - "\u0005^\u0000\u0000\u019b\u0199\u0001\u0000\u0000\u0000\u019b\u019a\u0001"+ - "\u0000\u0000\u0000\u019cA\u0001\u0000\u0000\u0000\u019d\u01a0\u0005]\u0000"+ - "\u0000\u019e\u01a0\u0005_\u0000\u0000\u019f\u019d\u0001\u0000\u0000\u0000"+ - "\u019f\u019e\u0001\u0000\u0000\u0000\u01a0C\u0001\u0000\u0000\u0000\u01a1"+ - "\u01a5\u0003<\u001e\u0000\u01a2\u01a5\u0003@ \u0000\u01a3\u01a5\u0003"+ - "B!\u0000\u01a4\u01a1\u0001\u0000\u0000\u0000\u01a4\u01a2\u0001\u0000\u0000"+ - "\u0000\u01a4\u01a3\u0001\u0000\u0000\u0000\u01a5E\u0001\u0000\u0000\u0000"+ - "\u01a6\u01a7\u0005\u000b\u0000\u0000\u01a7\u01a8\u0003\u00a2Q\u0000\u01a8"+ - "G\u0001\u0000\u0000\u0000\u01a9\u01aa\u0005\u000f\u0000\u0000\u01aa\u01af"+ - "\u0003J%\u0000\u01ab\u01ac\u0005=\u0000\u0000\u01ac\u01ae\u0003J%\u0000"+ - "\u01ad\u01ab\u0001\u0000\u0000\u0000\u01ae\u01b1\u0001\u0000\u0000\u0000"+ - "\u01af\u01ad\u0001\u0000\u0000\u0000\u01af\u01b0\u0001\u0000\u0000\u0000"+ - "\u01b0I\u0001\u0000\u0000\u0000\u01b1\u01af\u0001\u0000\u0000\u0000\u01b2"+ - "\u01b4\u0003\u008cF\u0000\u01b3\u01b5\u0007\u0002\u0000\u0000\u01b4\u01b3"+ - "\u0001\u0000\u0000\u0000\u01b4\u01b5\u0001\u0000\u0000\u0000\u01b5\u01b8"+ - "\u0001\u0000\u0000\u0000\u01b6\u01b7\u0005H\u0000\u0000\u01b7\u01b9\u0007"+ - "\u0003\u0000\u0000\u01b8\u01b6\u0001\u0000\u0000\u0000\u01b8\u01b9\u0001"+ - "\u0000\u0000\u0000\u01b9K\u0001\u0000\u0000\u0000\u01ba\u01bb\u0005\u001f"+ - "\u0000\u0000\u01bb\u01bc\u0003:\u001d\u0000\u01bcM\u0001\u0000\u0000\u0000"+ - "\u01bd\u01be\u0005\u001e\u0000\u0000\u01be\u01bf\u0003:\u001d\u0000\u01bf"+ - "O\u0001\u0000\u0000\u0000\u01c0\u01c1\u0005!\u0000\u0000\u01c1\u01c6\u0003"+ - "R)\u0000\u01c2\u01c3\u0005=\u0000\u0000\u01c3\u01c5\u0003R)\u0000\u01c4"+ - "\u01c2\u0001\u0000\u0000\u0000\u01c5\u01c8\u0001\u0000\u0000\u0000\u01c6"+ - "\u01c4\u0001\u0000\u0000\u0000\u01c6\u01c7\u0001\u0000\u0000\u0000\u01c7"+ - "Q\u0001\u0000\u0000\u0000\u01c8\u01c6\u0001\u0000\u0000\u0000\u01c9\u01ca"+ - "\u00036\u001b\u0000\u01ca\u01cb\u0005\u008d\u0000\u0000\u01cb\u01cc\u0003"+ - "6\u001b\u0000\u01cc\u01d2\u0001\u0000\u0000\u0000\u01cd\u01ce\u00036\u001b"+ - "\u0000\u01ce\u01cf\u00058\u0000\u0000\u01cf\u01d0\u00036\u001b\u0000\u01d0"+ - "\u01d2\u0001\u0000\u0000\u0000\u01d1\u01c9\u0001\u0000\u0000\u0000\u01d1"+ - "\u01cd\u0001\u0000\u0000\u0000\u01d2S\u0001\u0000\u0000\u0000\u01d3\u01d4"+ - "\u0005\b\u0000\u0000\u01d4\u01d5\u0003\u0096K\u0000\u01d5\u01d7\u0003"+ - "\u00acV\u0000\u01d6\u01d8\u0003V+\u0000\u01d7\u01d6\u0001\u0000\u0000"+ - "\u0000\u01d7\u01d8\u0001\u0000\u0000\u0000\u01d8U\u0001\u0000\u0000\u0000"+ - "\u01d9\u01de\u0003X,\u0000\u01da\u01db\u0005=\u0000\u0000\u01db\u01dd"+ - "\u0003X,\u0000\u01dc\u01da\u0001\u0000\u0000\u0000\u01dd\u01e0\u0001\u0000"+ - "\u0000\u0000\u01de\u01dc\u0001\u0000\u0000\u0000\u01de\u01df\u0001\u0000"+ - "\u0000\u0000\u01dfW\u0001\u0000\u0000\u0000\u01e0\u01de\u0001\u0000\u0000"+ - "\u0000\u01e1\u01e2\u0003<\u001e\u0000\u01e2\u01e3\u00058\u0000\u0000\u01e3"+ - "\u01e4\u0003\u00a2Q\u0000\u01e4Y\u0001\u0000\u0000\u0000\u01e5\u01e6\u0005"+ - "N\u0000\u0000\u01e6\u01e8\u0003\u009cN\u0000\u01e7\u01e5\u0001\u0000\u0000"+ - "\u0000\u01e7\u01e8\u0001\u0000\u0000\u0000\u01e8[\u0001\u0000\u0000\u0000"+ - "\u01e9\u01ea\u0005\n\u0000\u0000\u01ea\u01eb\u0003\u0096K\u0000\u01eb"+ - "\u01ec\u0003\u00acV\u0000\u01ec]\u0001\u0000\u0000\u0000\u01ed\u01ee\u0005"+ - "\u001d\u0000\u0000\u01ee\u01ef\u00032\u0019\u0000\u01ef_\u0001\u0000\u0000"+ - "\u0000\u01f0\u01f1\u0005\u0006\u0000\u0000\u01f1\u01f2\u0003b1\u0000\u01f2"+ - "a\u0001\u0000\u0000\u0000\u01f3\u01f4\u0005b\u0000\u0000\u01f4\u01f5\u0003"+ - "\u0004\u0002\u0000\u01f5\u01f6\u0005c\u0000\u0000\u01f6c\u0001\u0000\u0000"+ - "\u0000\u01f7\u01f8\u0005#\u0000\u0000\u01f8\u01f9\u0005\u0094\u0000\u0000"+ - "\u01f9e\u0001\u0000\u0000\u0000\u01fa\u01fb\u0005\u0005\u0000\u0000\u01fb"+ - "\u01fe\u0003h4\u0000\u01fc\u01fd\u0005I\u0000\u0000\u01fd\u01ff\u0003"+ - "6\u001b\u0000\u01fe\u01fc\u0001\u0000\u0000\u0000\u01fe\u01ff\u0001\u0000"+ - "\u0000\u0000\u01ff\u0209\u0001\u0000\u0000\u0000\u0200\u0201\u0005N\u0000"+ - "\u0000\u0201\u0206\u0003j5\u0000\u0202\u0203\u0005=\u0000\u0000\u0203"+ - "\u0205\u0003j5\u0000\u0204\u0202\u0001\u0000\u0000\u0000\u0205\u0208\u0001"+ - "\u0000\u0000\u0000\u0206\u0204\u0001\u0000\u0000\u0000\u0206\u0207\u0001"+ - "\u0000\u0000\u0000\u0207\u020a\u0001\u0000\u0000\u0000\u0208\u0206\u0001"+ - "\u0000\u0000\u0000\u0209\u0200\u0001\u0000\u0000\u0000\u0209\u020a\u0001"+ - "\u0000\u0000\u0000\u020ag\u0001\u0000\u0000\u0000\u020b\u020c\u0007\u0004"+ - "\u0000\u0000\u020ci\u0001\u0000\u0000\u0000\u020d\u020e\u00036\u001b\u0000"+ - "\u020e\u020f\u00058\u0000\u0000\u020f\u0211\u0001\u0000\u0000\u0000\u0210"+ - "\u020d\u0001\u0000\u0000\u0000\u0210\u0211\u0001\u0000\u0000\u0000\u0211"+ - "\u0212\u0001\u0000\u0000\u0000\u0212\u0213\u00036\u001b\u0000\u0213k\u0001"+ - "\u0000\u0000\u0000\u0214\u0215\u0005\u000e\u0000\u0000\u0215\u0216\u0003"+ - "\u00a2Q\u0000\u0216m\u0001\u0000\u0000\u0000\u0217\u0218\u0005\u0004\u0000"+ - "\u0000\u0218\u021b\u00032\u0019\u0000\u0219\u021a\u0005I\u0000\u0000\u021a"+ - "\u021c\u00032\u0019\u0000\u021b\u0219\u0001\u0000\u0000\u0000\u021b\u021c"+ - "\u0001\u0000\u0000\u0000\u021c\u0222\u0001\u0000\u0000\u0000\u021d\u021e"+ - "\u0005\u008d\u0000\u0000\u021e\u021f\u00032\u0019\u0000\u021f\u0220\u0005"+ - "=\u0000\u0000\u0220\u0221\u00032\u0019\u0000\u0221\u0223\u0001\u0000\u0000"+ - "\u0000\u0222\u021d\u0001\u0000\u0000\u0000\u0222\u0223\u0001\u0000\u0000"+ - "\u0000\u0223o\u0001\u0000\u0000\u0000\u0224\u0225\u0005\u0014\u0000\u0000"+ - "\u0225\u0226\u0003r9\u0000\u0226q\u0001\u0000\u0000\u0000\u0227\u0229"+ - "\u0003t:\u0000\u0228\u0227\u0001\u0000\u0000\u0000\u0229\u022a\u0001\u0000"+ - "\u0000\u0000\u022a\u0228\u0001\u0000\u0000\u0000\u022a\u022b\u0001\u0000"+ - "\u0000\u0000\u022bs\u0001\u0000\u0000\u0000\u022c\u022d\u0005b\u0000\u0000"+ - "\u022d\u022e\u0003v;\u0000\u022e\u022f\u0005c\u0000\u0000\u022fu\u0001"+ - "\u0000\u0000\u0000\u0230\u0231\u0006;\uffff\uffff\u0000\u0231\u0232\u0003"+ - "x<\u0000\u0232\u0238\u0001\u0000\u0000\u0000\u0233\u0234\n\u0001\u0000"+ - "\u0000\u0234\u0235\u00052\u0000\u0000\u0235\u0237\u0003x<\u0000\u0236"+ - "\u0233\u0001\u0000\u0000\u0000\u0237\u023a\u0001\u0000\u0000\u0000\u0238"+ - "\u0236\u0001\u0000\u0000\u0000\u0238\u0239\u0001\u0000\u0000\u0000\u0239"+ - "w\u0001\u0000\u0000\u0000\u023a\u0238\u0001\u0000\u0000\u0000\u023b\u023c"+ - "\u0003\b\u0004\u0000\u023cy\u0001\u0000\u0000\u0000\u023d\u0241\u0005"+ - "\f\u0000\u0000\u023e\u023f\u00032\u0019\u0000\u023f\u0240\u00058\u0000"+ - "\u0000\u0240\u0242\u0001\u0000\u0000\u0000\u0241\u023e\u0001\u0000\u0000"+ - "\u0000\u0241\u0242\u0001\u0000\u0000\u0000\u0242\u0243\u0001\u0000\u0000"+ - "\u0000\u0243\u0244\u0003\u00a2Q\u0000\u0244\u0245\u0005I\u0000\u0000\u0245"+ - "\u0246\u0003\u0014\n\u0000\u0246\u0247\u0003Z-\u0000\u0247{\u0001\u0000"+ - "\u0000\u0000\u0248\u024c\u0005\u0007\u0000\u0000\u0249\u024a\u00032\u0019"+ - "\u0000\u024a\u024b\u00058\u0000\u0000\u024b\u024d\u0001\u0000\u0000\u0000"+ - "\u024c\u0249\u0001\u0000\u0000\u0000\u024c\u024d\u0001\u0000\u0000\u0000"+ - "\u024d\u024e\u0001\u0000\u0000\u0000\u024e\u024f\u0003\u0096K\u0000\u024f"+ - "\u0250\u0003Z-\u0000\u0250}\u0001\u0000\u0000\u0000\u0251\u0252\u0005"+ - "\u0016\u0000\u0000\u0252\u0253\u0005w\u0000\u0000\u0253\u0256\u0003.\u0017"+ - "\u0000\u0254\u0255\u00059\u0000\u0000\u0255\u0257\u0003\u0010\b\u0000"+ - "\u0256\u0254\u0001\u0000\u0000\u0000\u0256\u0257\u0001\u0000\u0000\u0000"+ - "\u0257\u025f\u0001\u0000\u0000\u0000\u0258\u0259\u0005\u0017\u0000\u0000"+ - "\u0259\u025c\u0003.\u0017\u0000\u025a\u025b\u00059\u0000\u0000\u025b\u025d"+ - "\u0003\u0010\b\u0000\u025c\u025a\u0001\u0000\u0000\u0000\u025c\u025d\u0001"+ - "\u0000\u0000\u0000\u025d\u025f\u0001\u0000\u0000\u0000\u025e\u0251\u0001"+ - "\u0000\u0000\u0000\u025e\u0258\u0001\u0000\u0000\u0000\u025f\u007f\u0001"+ - "\u0000\u0000\u0000\u0260\u0261\u0005\u001c\u0000\u0000\u0261\u0262\u0003"+ - "\u001e\u000f\u0000\u0262\u0263\u0005I\u0000\u0000\u0263\u0264\u0003:\u001d"+ - "\u0000\u0264\u0081\u0001\u0000\u0000\u0000\u0265\u0266\u0005 \u0000\u0000"+ - "\u0266\u0267\u0003:\u001d\u0000\u0267\u0083\u0001\u0000\u0000\u0000\u0268"+ - "\u026a\u0005\u0015\u0000\u0000\u0269\u026b\u0003<\u001e\u0000\u026a\u0269"+ - "\u0001\u0000\u0000\u0000\u026a\u026b\u0001\u0000\u0000\u0000\u026b\u026f"+ - "\u0001\u0000\u0000\u0000\u026c\u026e\u0003\u0086C\u0000\u026d\u026c\u0001"+ - "\u0000\u0000\u0000\u026e\u0271\u0001\u0000\u0000\u0000\u026f\u026d\u0001"+ - "\u0000\u0000\u0000\u026f\u0270\u0001\u0000\u0000\u0000\u0270\u0085\u0001"+ - "\u0000\u0000\u0000\u0271\u026f\u0001\u0000\u0000\u0000\u0272\u0273\u0005"+ - "r\u0000\u0000\u0273\u0274\u00059\u0000\u0000\u0274\u027e\u00032\u0019"+ - "\u0000\u0275\u0276\u0005s\u0000\u0000\u0276\u0277\u00059\u0000\u0000\u0277"+ - "\u027e\u0003\u0010\b\u0000\u0278\u0279\u0005q\u0000\u0000\u0279\u027a"+ - "\u00059\u0000\u0000\u027a\u027e\u00032\u0019\u0000\u027b\u027c\u0005N"+ - "\u0000\u0000\u027c\u027e\u0003\u009cN\u0000\u027d\u0272\u0001\u0000\u0000"+ - "\u0000\u027d\u0275\u0001\u0000\u0000\u0000\u027d\u0278\u0001\u0000\u0000"+ - "\u0000\u027d\u027b\u0001\u0000\u0000\u0000\u027e\u0087\u0001\u0000\u0000"+ - "\u0000\u027f\u0280\u0005\"\u0000\u0000\u0280\u0281\u0003\u008aE\u0000"+ - "\u0281\u0282\u0005<\u0000\u0000\u0282\u0089\u0001\u0000\u0000\u0000\u0283"+ - "\u0284\u0003<\u001e\u0000\u0284\u0285\u00058\u0000\u0000\u0285\u0286\u0003"+ - "\u00a2Q\u0000\u0286\u008b\u0001\u0000\u0000\u0000\u0287\u0288\u0006F\uffff"+ - "\uffff\u0000\u0288\u0289\u0005F\u0000\u0000\u0289\u02a5\u0003\u008cF\b"+ - "\u028a\u02a5\u0003\u0092I\u0000\u028b\u02a5\u0003\u008eG\u0000\u028c\u028e"+ - "\u0003\u0092I\u0000\u028d\u028f\u0005F\u0000\u0000\u028e\u028d\u0001\u0000"+ - "\u0000\u0000\u028e\u028f\u0001\u0000\u0000\u0000\u028f\u0290\u0001\u0000"+ - "\u0000\u0000\u0290\u0291\u0005B\u0000\u0000\u0291\u0292\u0005b\u0000\u0000"+ - "\u0292\u0297\u0003\u0092I\u0000\u0293\u0294\u0005=\u0000\u0000\u0294\u0296"+ - "\u0003\u0092I\u0000\u0295\u0293\u0001\u0000\u0000\u0000\u0296\u0299\u0001"+ - "\u0000\u0000\u0000\u0297\u0295\u0001\u0000\u0000\u0000\u0297\u0298\u0001"+ - "\u0000\u0000\u0000\u0298\u029a\u0001\u0000\u0000\u0000\u0299\u0297\u0001"+ - "\u0000\u0000\u0000\u029a\u029b\u0005c\u0000\u0000\u029b\u02a5\u0001\u0000"+ - "\u0000\u0000\u029c\u029d\u0003\u0092I\u0000\u029d\u029f\u0005C\u0000\u0000"+ - "\u029e\u02a0\u0005F\u0000\u0000\u029f\u029e\u0001\u0000\u0000\u0000\u029f"+ - "\u02a0\u0001\u0000\u0000\u0000\u02a0\u02a1\u0001\u0000\u0000\u0000\u02a1"+ - "\u02a2\u0005G\u0000\u0000\u02a2\u02a5\u0001\u0000\u0000\u0000\u02a3\u02a5"+ - "\u0003\u0090H\u0000\u02a4\u0287\u0001\u0000\u0000\u0000\u02a4\u028a\u0001"+ - "\u0000\u0000\u0000\u02a4\u028b\u0001\u0000\u0000\u0000\u02a4\u028c\u0001"+ - "\u0000\u0000\u0000\u02a4\u029c\u0001\u0000\u0000\u0000\u02a4\u02a3\u0001"+ - "\u0000\u0000\u0000\u02a5\u02ae\u0001\u0000\u0000\u0000\u02a6\u02a7\n\u0005"+ - "\u0000\u0000\u02a7\u02a8\u00056\u0000\u0000\u02a8\u02ad\u0003\u008cF\u0006"+ - "\u02a9\u02aa\n\u0004\u0000\u0000\u02aa\u02ab\u0005J\u0000\u0000\u02ab"+ - "\u02ad\u0003\u008cF\u0005\u02ac\u02a6\u0001\u0000\u0000\u0000\u02ac\u02a9"+ - "\u0001\u0000\u0000\u0000\u02ad\u02b0\u0001\u0000\u0000\u0000\u02ae\u02ac"+ - "\u0001\u0000\u0000\u0000\u02ae\u02af\u0001\u0000\u0000\u0000\u02af\u008d"+ - "\u0001\u0000\u0000\u0000\u02b0\u02ae\u0001\u0000\u0000\u0000\u02b1\u02b3"+ - "\u0003\u0092I\u0000\u02b2\u02b4\u0005F\u0000\u0000\u02b3\u02b2\u0001\u0000"+ - "\u0000\u0000\u02b3\u02b4\u0001\u0000\u0000\u0000\u02b4\u02b5\u0001\u0000"+ - "\u0000\u0000\u02b5\u02b6\u0005E\u0000\u0000\u02b6\u02b7\u0003\u00acV\u0000"+ - "\u02b7\u02e0\u0001\u0000\u0000\u0000\u02b8\u02ba\u0003\u0092I\u0000\u02b9"+ - "\u02bb\u0005F\u0000\u0000\u02ba\u02b9\u0001\u0000\u0000\u0000\u02ba\u02bb"+ - "\u0001\u0000\u0000\u0000\u02bb\u02bc\u0001\u0000\u0000\u0000\u02bc\u02bd"+ - "\u0005L\u0000\u0000\u02bd\u02be\u0003\u00acV\u0000\u02be\u02e0\u0001\u0000"+ - "\u0000\u0000\u02bf\u02c1\u0003\u0092I\u0000\u02c0\u02c2\u0005F\u0000\u0000"+ - "\u02c1\u02c0\u0001\u0000\u0000\u0000\u02c1\u02c2\u0001\u0000\u0000\u0000"+ - "\u02c2\u02c3\u0001\u0000\u0000\u0000\u02c3\u02c4\u0005E\u0000\u0000\u02c4"+ - "\u02c5\u0005b\u0000\u0000\u02c5\u02ca\u0003\u00acV\u0000\u02c6\u02c7\u0005"+ - "=\u0000\u0000\u02c7\u02c9\u0003\u00acV\u0000\u02c8\u02c6\u0001\u0000\u0000"+ - "\u0000\u02c9\u02cc\u0001\u0000\u0000\u0000\u02ca\u02c8\u0001\u0000\u0000"+ - "\u0000\u02ca\u02cb\u0001\u0000\u0000\u0000\u02cb\u02cd\u0001\u0000\u0000"+ - "\u0000\u02cc\u02ca\u0001\u0000\u0000\u0000\u02cd\u02ce\u0005c\u0000\u0000"+ - "\u02ce\u02e0\u0001\u0000\u0000\u0000\u02cf\u02d1\u0003\u0092I\u0000\u02d0"+ - "\u02d2\u0005F\u0000\u0000\u02d1\u02d0\u0001\u0000\u0000\u0000\u02d1\u02d2"+ - "\u0001\u0000\u0000\u0000\u02d2\u02d3\u0001\u0000\u0000\u0000\u02d3\u02d4"+ - "\u0005L\u0000\u0000\u02d4\u02d5\u0005b\u0000\u0000\u02d5\u02da\u0003\u00ac"+ - "V\u0000\u02d6\u02d7\u0005=\u0000\u0000\u02d7\u02d9\u0003\u00acV\u0000"+ - "\u02d8\u02d6\u0001\u0000\u0000\u0000\u02d9\u02dc\u0001\u0000\u0000\u0000"+ - "\u02da\u02d8\u0001\u0000\u0000\u0000\u02da\u02db\u0001\u0000\u0000\u0000"+ - "\u02db\u02dd\u0001\u0000\u0000\u0000\u02dc\u02da\u0001\u0000\u0000\u0000"+ - "\u02dd\u02de\u0005c\u0000\u0000\u02de\u02e0\u0001\u0000\u0000\u0000\u02df"+ - "\u02b1\u0001\u0000\u0000\u0000\u02df\u02b8\u0001\u0000\u0000\u0000\u02df"+ - "\u02bf\u0001\u0000\u0000\u0000\u02df\u02cf\u0001\u0000\u0000\u0000\u02e0"+ - "\u008f\u0001\u0000\u0000\u0000\u02e1\u02e4\u00032\u0019\u0000\u02e2\u02e3"+ - "\u0005:\u0000\u0000\u02e3\u02e5\u0003\f\u0006\u0000\u02e4\u02e2\u0001"+ - "\u0000\u0000\u0000\u02e4\u02e5\u0001\u0000\u0000\u0000\u02e5\u02e6\u0001"+ - "\u0000\u0000\u0000\u02e6\u02e7\u0005;\u0000\u0000\u02e7\u02e8\u0003\u00a2"+ - "Q\u0000\u02e8\u0091\u0001\u0000\u0000\u0000\u02e9\u02ef\u0003\u0094J\u0000"+ - "\u02ea\u02eb\u0003\u0094J\u0000\u02eb\u02ec\u0003\u00aeW\u0000\u02ec\u02ed"+ - "\u0003\u0094J\u0000\u02ed\u02ef\u0001\u0000\u0000\u0000\u02ee\u02e9\u0001"+ - "\u0000\u0000\u0000\u02ee\u02ea\u0001\u0000\u0000\u0000\u02ef\u0093\u0001"+ - "\u0000\u0000\u0000\u02f0\u02f1\u0006J\uffff\uffff\u0000\u02f1\u02f5\u0003"+ - "\u0096K\u0000\u02f2\u02f3\u0007\u0005\u0000\u0000\u02f3\u02f5\u0003\u0094"+ - "J\u0003\u02f4\u02f0\u0001\u0000\u0000\u0000\u02f4\u02f2\u0001\u0000\u0000"+ - "\u0000\u02f5\u02fe\u0001\u0000\u0000\u0000\u02f6\u02f7\n\u0002\u0000\u0000"+ - "\u02f7\u02f8\u0007\u0006\u0000\u0000\u02f8\u02fd\u0003\u0094J\u0003\u02f9"+ - "\u02fa\n\u0001\u0000\u0000\u02fa\u02fb\u0007\u0005\u0000\u0000\u02fb\u02fd"+ - "\u0003\u0094J\u0002\u02fc\u02f6\u0001\u0000\u0000\u0000\u02fc\u02f9\u0001"+ - "\u0000\u0000\u0000\u02fd\u0300\u0001\u0000\u0000\u0000\u02fe\u02fc\u0001"+ - "\u0000\u0000\u0000\u02fe\u02ff\u0001\u0000\u0000\u0000\u02ff\u0095\u0001"+ - "\u0000\u0000\u0000\u0300\u02fe\u0001\u0000\u0000\u0000\u0301\u0302\u0006"+ - "K\uffff\uffff\u0000\u0302\u030a\u0003\u00a2Q\u0000\u0303\u030a\u00032"+ - "\u0019\u0000\u0304\u030a\u0003\u0098L\u0000\u0305\u0306\u0005b\u0000\u0000"+ - "\u0306\u0307\u0003\u008cF\u0000\u0307\u0308\u0005c\u0000\u0000\u0308\u030a"+ - "\u0001\u0000\u0000\u0000\u0309\u0301\u0001\u0000\u0000\u0000\u0309\u0303"+ - "\u0001\u0000\u0000\u0000\u0309\u0304\u0001\u0000\u0000\u0000\u0309\u0305"+ - "\u0001\u0000\u0000\u0000\u030a\u0310\u0001\u0000\u0000\u0000\u030b\u030c"+ - "\n\u0001\u0000\u0000\u030c\u030d\u0005:\u0000\u0000\u030d\u030f\u0003"+ - "\f\u0006\u0000\u030e\u030b\u0001\u0000\u0000\u0000\u030f\u0312\u0001\u0000"+ - "\u0000\u0000\u0310\u030e\u0001\u0000\u0000\u0000\u0310\u0311\u0001\u0000"+ - "\u0000\u0000\u0311\u0097\u0001\u0000\u0000\u0000\u0312\u0310\u0001\u0000"+ - "\u0000\u0000\u0313\u0314\u0003\u009aM\u0000\u0314\u0322\u0005b\u0000\u0000"+ - "\u0315\u0323\u0005X\u0000\u0000\u0316\u031b\u0003\u008cF\u0000\u0317\u0318"+ - "\u0005=\u0000\u0000\u0318\u031a\u0003\u008cF\u0000\u0319\u0317\u0001\u0000"+ - "\u0000\u0000\u031a\u031d\u0001\u0000\u0000\u0000\u031b\u0319\u0001\u0000"+ - "\u0000\u0000\u031b\u031c\u0001\u0000\u0000\u0000\u031c\u0320\u0001\u0000"+ - "\u0000\u0000\u031d\u031b\u0001\u0000\u0000\u0000\u031e\u031f\u0005=\u0000"+ - "\u0000\u031f\u0321\u0003\u009cN\u0000\u0320\u031e\u0001\u0000\u0000\u0000"+ - "\u0320\u0321\u0001\u0000\u0000\u0000\u0321\u0323\u0001\u0000\u0000\u0000"+ - "\u0322\u0315\u0001\u0000\u0000\u0000\u0322\u0316\u0001\u0000\u0000\u0000"+ - "\u0322\u0323\u0001\u0000\u0000\u0000\u0323\u0324\u0001\u0000\u0000\u0000"+ - "\u0324\u0325\u0005c\u0000\u0000\u0325\u0099\u0001\u0000\u0000\u0000\u0326"+ - "\u032a\u0003D\"\u0000\u0327\u032a\u0005A\u0000\u0000\u0328\u032a\u0005"+ - "D\u0000\u0000\u0329\u0326\u0001\u0000\u0000\u0000\u0329\u0327\u0001\u0000"+ - "\u0000\u0000\u0329\u0328\u0001\u0000\u0000\u0000\u032a\u009b\u0001\u0000"+ - "\u0000\u0000\u032b\u0334\u0005[\u0000\u0000\u032c\u0331\u0003\u009eO\u0000"+ - "\u032d\u032e\u0005=\u0000\u0000\u032e\u0330\u0003\u009eO\u0000\u032f\u032d"+ - "\u0001\u0000\u0000\u0000\u0330\u0333\u0001\u0000\u0000\u0000\u0331\u032f"+ - "\u0001\u0000\u0000\u0000\u0331\u0332\u0001\u0000\u0000\u0000\u0332\u0335"+ - "\u0001\u0000\u0000\u0000\u0333\u0331\u0001\u0000\u0000\u0000\u0334\u032c"+ - "\u0001\u0000\u0000\u0000\u0334\u0335\u0001\u0000\u0000\u0000\u0335\u0336"+ - "\u0001\u0000\u0000\u0000\u0336\u0337\u0005\\\u0000\u0000\u0337\u009d\u0001"+ - "\u0000\u0000\u0000\u0338\u0339\u0003\u00acV\u0000\u0339\u033a\u0005;\u0000"+ - "\u0000\u033a\u033b\u0003\u00a0P\u0000\u033b\u009f\u0001\u0000\u0000\u0000"+ - "\u033c\u033f\u0003\u00a2Q\u0000\u033d\u033f\u0003\u009cN\u0000\u033e\u033c"+ - "\u0001\u0000\u0000\u0000\u033e\u033d\u0001\u0000\u0000\u0000\u033f\u00a1"+ - "\u0001\u0000\u0000\u0000\u0340\u036b\u0005G\u0000\u0000\u0341\u0342\u0003"+ - "\u00aaU\u0000\u0342\u0343\u0005d\u0000\u0000\u0343\u036b\u0001\u0000\u0000"+ - "\u0000\u0344\u036b\u0003\u00a8T\u0000\u0345\u036b\u0003\u00aaU\u0000\u0346"+ - "\u036b\u0003\u00a4R\u0000\u0347\u036b\u0003@ \u0000\u0348\u036b\u0003"+ - "\u00acV\u0000\u0349\u034a\u0005`\u0000\u0000\u034a\u034f\u0003\u00a6S"+ - "\u0000\u034b\u034c\u0005=\u0000\u0000\u034c\u034e\u0003\u00a6S\u0000\u034d"+ - "\u034b\u0001\u0000\u0000\u0000\u034e\u0351\u0001\u0000\u0000\u0000\u034f"+ - "\u034d\u0001\u0000\u0000\u0000\u034f\u0350\u0001\u0000\u0000\u0000\u0350"+ - "\u0352\u0001\u0000\u0000\u0000\u0351\u034f\u0001\u0000\u0000\u0000\u0352"+ - "\u0353\u0005a\u0000\u0000\u0353\u036b\u0001\u0000\u0000\u0000\u0354\u0355"+ - "\u0005`\u0000\u0000\u0355\u035a\u0003\u00a4R\u0000\u0356\u0357\u0005="+ - "\u0000\u0000\u0357\u0359\u0003\u00a4R\u0000\u0358\u0356\u0001\u0000\u0000"+ - "\u0000\u0359\u035c\u0001\u0000\u0000\u0000\u035a\u0358\u0001\u0000\u0000"+ - "\u0000\u035a\u035b\u0001\u0000\u0000\u0000\u035b\u035d\u0001\u0000\u0000"+ - "\u0000\u035c\u035a\u0001\u0000\u0000\u0000\u035d\u035e\u0005a\u0000\u0000"+ - "\u035e\u036b\u0001\u0000\u0000\u0000\u035f\u0360\u0005`\u0000\u0000\u0360"+ - "\u0365\u0003\u00acV\u0000\u0361\u0362\u0005=\u0000\u0000\u0362\u0364\u0003"+ - "\u00acV\u0000\u0363\u0361\u0001\u0000\u0000\u0000\u0364\u0367\u0001\u0000"+ - "\u0000\u0000\u0365\u0363\u0001\u0000\u0000\u0000\u0365\u0366\u0001\u0000"+ - "\u0000\u0000\u0366\u0368\u0001\u0000\u0000\u0000\u0367\u0365\u0001\u0000"+ - "\u0000\u0000\u0368\u0369\u0005a\u0000\u0000\u0369\u036b\u0001\u0000\u0000"+ - "\u0000\u036a\u0340\u0001\u0000\u0000\u0000\u036a\u0341\u0001\u0000\u0000"+ - "\u0000\u036a\u0344\u0001\u0000\u0000\u0000\u036a\u0345\u0001\u0000\u0000"+ - "\u0000\u036a\u0346\u0001\u0000\u0000\u0000\u036a\u0347\u0001\u0000\u0000"+ - "\u0000\u036a\u0348\u0001\u0000\u0000\u0000\u036a\u0349\u0001\u0000\u0000"+ - "\u0000\u036a\u0354\u0001\u0000\u0000\u0000\u036a\u035f\u0001\u0000\u0000"+ - "\u0000\u036b\u00a3\u0001\u0000\u0000\u0000\u036c\u036d\u0007\u0007\u0000"+ - "\u0000\u036d\u00a5\u0001\u0000\u0000\u0000\u036e\u0371\u0003\u00a8T\u0000"+ - "\u036f\u0371\u0003\u00aaU\u0000\u0370\u036e\u0001\u0000\u0000\u0000\u0370"+ - "\u036f\u0001\u0000\u0000\u0000\u0371\u00a7\u0001\u0000\u0000\u0000\u0372"+ - "\u0374\u0007\u0005\u0000\u0000\u0373\u0372\u0001\u0000\u0000\u0000\u0373"+ - "\u0374\u0001\u0000\u0000\u0000\u0374\u0375\u0001\u0000\u0000\u0000\u0375"+ - "\u0376\u00055\u0000\u0000\u0376\u00a9\u0001\u0000\u0000\u0000\u0377\u0379"+ - "\u0007\u0005\u0000\u0000\u0378\u0377\u0001\u0000\u0000\u0000\u0378\u0379"+ - "\u0001\u0000\u0000\u0000\u0379\u037a\u0001\u0000\u0000\u0000\u037a\u037b"+ - "\u00054\u0000\u0000\u037b\u00ab\u0001\u0000\u0000\u0000\u037c\u037d\u0005"+ - "3\u0000\u0000\u037d\u00ad\u0001\u0000\u0000\u0000\u037e\u037f\u0007\b"+ - "\u0000\u0000\u037f\u00af\u0001\u0000\u0000\u0000\u0380\u0381\u0007\t\u0000"+ - "\u0000\u0381\u0382\u0005{\u0000\u0000\u0382\u0383\u0003\u00b2Y\u0000\u0383"+ - "\u0384\u0003\u00b4Z\u0000\u0384\u00b1\u0001\u0000\u0000\u0000\u0385\u0386"+ - "\u0004Y\u000e\u0000\u0386\u0388\u0003\u001e\u000f\u0000\u0387\u0389\u0005"+ - "\u008d\u0000\u0000\u0388\u0387\u0001\u0000\u0000\u0000\u0388\u0389\u0001"+ - "\u0000\u0000\u0000\u0389\u038a\u0001\u0000\u0000\u0000\u038a\u038b\u0005"+ - "j\u0000\u0000\u038b\u038e\u0001\u0000\u0000\u0000\u038c\u038e\u0003\u001e"+ - "\u000f\u0000\u038d\u0385\u0001\u0000\u0000\u0000\u038d\u038c\u0001\u0000"+ - "\u0000\u0000\u038e\u00b3\u0001\u0000\u0000\u0000\u038f\u0390\u0005I\u0000"+ - "\u0000\u0390\u0395\u0003\u008cF\u0000\u0391\u0392\u0005=\u0000\u0000\u0392"+ - "\u0394\u0003\u008cF\u0000\u0393\u0391\u0001\u0000\u0000\u0000\u0394\u0397"+ - "\u0001\u0000\u0000\u0000\u0395\u0393\u0001\u0000\u0000\u0000\u0395\u0396"+ - "\u0001\u0000\u0000\u0000\u0396\u00b5\u0001\u0000\u0000\u0000\u0397\u0395"+ - "\u0001\u0000\u0000\u0000Y\u00ba\u00c2\u00cf\u00d8\u00f3\u0102\u0108\u0111"+ - "\u0117\u0124\u0128\u0133\u0143\u014b\u014f\u0156\u015c\u0161\u016a\u0171"+ - "\u0177\u0180\u0187\u018f\u0197\u019b\u019f\u01a4\u01af\u01b4\u01b8\u01c6"+ - "\u01d1\u01d7\u01de\u01e7\u01fe\u0206\u0209\u0210\u021b\u0222\u022a\u0238"+ - "\u0241\u024c\u0256\u025c\u025e\u026a\u026f\u027d\u028e\u0297\u029f\u02a4"+ - "\u02ac\u02ae\u02b3\u02ba\u02c1\u02ca\u02d1\u02da\u02df\u02e4\u02ee\u02f4"+ - "\u02fc\u02fe\u0309\u0310\u031b\u0320\u0322\u0329\u0331\u0334\u033e\u034f"+ - "\u035a\u0365\u036a\u0370\u0373\u0378\u0388\u038d\u0395"; + "\u0003\u0004\u00fa\b\u0004\u0001\u0005\u0001\u0005\u0001\u0005\u0001\u0006"+ + "\u0001\u0006\u0001\u0007\u0001\u0007\u0001\u0007\u0001\b\u0001\b\u0001"+ + "\b\u0005\b\u0107\b\b\n\b\f\b\u010a\t\b\u0001\t\u0001\t\u0001\t\u0003\t"+ + "\u010f\b\t\u0001\t\u0001\t\u0001\n\u0001\n\u0001\n\u0005\n\u0116\b\n\n"+ + "\n\f\n\u0119\t\n\u0001\u000b\u0001\u000b\u0001\u000b\u0003\u000b\u011e"+ + "\b\u000b\u0001\f\u0001\f\u0001\f\u0001\r\u0001\r\u0001\r\u0001\u000e\u0001"+ + "\u000e\u0001\u000e\u0005\u000e\u0129\b\u000e\n\u000e\f\u000e\u012c\t\u000e"+ + "\u0001\u000e\u0003\u000e\u012f\b\u000e\u0001\u000f\u0001\u000f\u0001\u000f"+ + "\u0003\u000f\u0134\b\u000f\u0001\u0010\u0001\u0010\u0001\u0010\u0001\u0010"+ + "\u0005\u0010\u013a\b\u0010\n\u0010\f\u0010\u013d\t\u0010\u0001\u0010\u0001"+ + "\u0010\u0001\u0011\u0001\u0011\u0001\u0012\u0001\u0012\u0001\u0012\u0001"+ + "\u0012\u0001\u0012\u0001\u0012\u0001\u0012\u0001\u0012\u0001\u0012\u0003"+ + "\u0012\u014c\b\u0012\u0001\u0013\u0001\u0013\u0001\u0014\u0001\u0014\u0001"+ + "\u0015\u0001\u0015\u0001\u0016\u0001\u0016\u0001\u0017\u0001\u0017\u0001"+ + "\u0017\u0001\u0017\u0005\u0017\u015a\b\u0017\n\u0017\f\u0017\u015d\t\u0017"+ + "\u0001\u0018\u0001\u0018\u0001\u0018\u0001\u0019\u0001\u0019\u0003\u0019"+ + "\u0164\b\u0019\u0001\u0019\u0001\u0019\u0003\u0019\u0168\b\u0019\u0001"+ + "\u001a\u0001\u001a\u0001\u001a\u0005\u001a\u016d\b\u001a\n\u001a\f\u001a"+ + "\u0170\t\u001a\u0001\u001b\u0001\u001b\u0001\u001b\u0003\u001b\u0175\b"+ + "\u001b\u0001\u001c\u0001\u001c\u0001\u001c\u0003\u001c\u017a\b\u001c\u0001"+ + "\u001c\u0001\u001c\u0001\u001c\u0001\u001c\u0001\u001c\u0001\u001c\u0001"+ + "\u001c\u0003\u001c\u0183\b\u001c\u0001\u001d\u0001\u001d\u0001\u001d\u0005"+ + "\u001d\u0188\b\u001d\n\u001d\f\u001d\u018b\t\u001d\u0001\u001e\u0001\u001e"+ + "\u0001\u001e\u0003\u001e\u0190\b\u001e\u0001\u001e\u0001\u001e\u0001\u001e"+ + "\u0001\u001e\u0001\u001e\u0001\u001e\u0001\u001e\u0003\u001e\u0199\b\u001e"+ + "\u0001\u001f\u0001\u001f\u0001\u001f\u0005\u001f\u019e\b\u001f\n\u001f"+ + "\f\u001f\u01a1\t\u001f\u0001 \u0001 \u0001 \u0005 \u01a6\b \n \f \u01a9"+ + "\t \u0001!\u0001!\u0001\"\u0001\"\u0001\"\u0003\"\u01b0\b\"\u0001#\u0001"+ + "#\u0003#\u01b4\b#\u0001$\u0001$\u0003$\u01b8\b$\u0001%\u0001%\u0001%\u0003"+ + "%\u01bd\b%\u0001&\u0001&\u0001&\u0001\'\u0001\'\u0001\'\u0001\'\u0005"+ + "\'\u01c6\b\'\n\'\f\'\u01c9\t\'\u0001(\u0001(\u0003(\u01cd\b(\u0001(\u0001"+ + "(\u0003(\u01d1\b(\u0001)\u0001)\u0001)\u0001*\u0001*\u0001*\u0001+\u0001"+ + "+\u0001+\u0001+\u0005+\u01dd\b+\n+\f+\u01e0\t+\u0001,\u0001,\u0001,\u0001"+ + ",\u0001,\u0001,\u0001,\u0001,\u0003,\u01ea\b,\u0001-\u0001-\u0001-\u0001"+ + "-\u0003-\u01f0\b-\u0001.\u0001.\u0001.\u0005.\u01f5\b.\n.\f.\u01f8\t."+ + "\u0001/\u0001/\u0001/\u0001/\u00010\u00010\u00030\u0200\b0\u00011\u0001"+ + "1\u00011\u00011\u00012\u00012\u00012\u00013\u00013\u00013\u00014\u0001"+ + "4\u00014\u00014\u00015\u00015\u00015\u00016\u00016\u00016\u00016\u0003"+ + "6\u0217\b6\u00016\u00016\u00016\u00016\u00056\u021d\b6\n6\f6\u0220\t6"+ + "\u00036\u0222\b6\u00017\u00017\u00018\u00018\u00018\u00038\u0229\b8\u0001"+ + "8\u00018\u00019\u00019\u00019\u0001:\u0001:\u0001:\u0001:\u0003:\u0234"+ + "\b:\u0001:\u0001:\u0001:\u0001:\u0001:\u0003:\u023b\b:\u0001;\u0001;\u0001"+ + ";\u0001<\u0004<\u0241\b<\u000b<\f<\u0242\u0001=\u0001=\u0001=\u0001=\u0001"+ + ">\u0001>\u0001>\u0001>\u0001>\u0001>\u0005>\u024f\b>\n>\f>\u0252\t>\u0001"+ + "?\u0001?\u0001@\u0001@\u0001@\u0001@\u0003@\u025a\b@\u0001@\u0001@\u0001"+ + "@\u0001@\u0001@\u0001A\u0001A\u0001A\u0001A\u0003A\u0265\bA\u0001A\u0001"+ + "A\u0001A\u0001B\u0001B\u0001B\u0001B\u0001B\u0003B\u026f\bB\u0001B\u0001"+ + "B\u0001B\u0001B\u0003B\u0275\bB\u0003B\u0277\bB\u0001C\u0001C\u0001C\u0001"+ + "C\u0001C\u0001D\u0001D\u0001D\u0001E\u0001E\u0003E\u0283\bE\u0001E\u0005"+ + "E\u0286\bE\nE\fE\u0289\tE\u0001F\u0001F\u0001F\u0001F\u0001F\u0001F\u0001"+ + "F\u0001F\u0001F\u0001F\u0001F\u0003F\u0296\bF\u0001G\u0001G\u0001G\u0001"+ + "G\u0001H\u0001H\u0001H\u0001H\u0001I\u0001I\u0001I\u0001I\u0001I\u0001"+ + "I\u0001I\u0003I\u02a7\bI\u0001I\u0001I\u0001I\u0001I\u0001I\u0005I\u02ae"+ + "\bI\nI\fI\u02b1\tI\u0001I\u0001I\u0001I\u0001I\u0001I\u0003I\u02b8\bI"+ + "\u0001I\u0001I\u0001I\u0003I\u02bd\bI\u0001I\u0001I\u0001I\u0001I\u0001"+ + "I\u0001I\u0005I\u02c5\bI\nI\fI\u02c8\tI\u0001J\u0001J\u0003J\u02cc\bJ"+ + "\u0001J\u0001J\u0001J\u0001J\u0001J\u0003J\u02d3\bJ\u0001J\u0001J\u0001"+ + "J\u0001J\u0001J\u0003J\u02da\bJ\u0001J\u0001J\u0001J\u0001J\u0001J\u0005"+ + "J\u02e1\bJ\nJ\fJ\u02e4\tJ\u0001J\u0001J\u0001J\u0001J\u0003J\u02ea\bJ"+ + "\u0001J\u0001J\u0001J\u0001J\u0001J\u0005J\u02f1\bJ\nJ\fJ\u02f4\tJ\u0001"+ + "J\u0001J\u0003J\u02f8\bJ\u0001K\u0001K\u0001K\u0003K\u02fd\bK\u0001K\u0001"+ + "K\u0001K\u0001L\u0001L\u0001L\u0001L\u0001L\u0003L\u0307\bL\u0001M\u0001"+ + "M\u0001M\u0001M\u0003M\u030d\bM\u0001M\u0001M\u0001M\u0001M\u0001M\u0001"+ + "M\u0005M\u0315\bM\nM\fM\u0318\tM\u0001N\u0001N\u0001N\u0001N\u0001N\u0001"+ + "N\u0001N\u0001N\u0003N\u0322\bN\u0001N\u0001N\u0001N\u0005N\u0327\bN\n"+ + "N\fN\u032a\tN\u0001O\u0001O\u0001O\u0001O\u0001O\u0001O\u0005O\u0332\b"+ + "O\nO\fO\u0335\tO\u0001O\u0001O\u0003O\u0339\bO\u0003O\u033b\bO\u0001O"+ + "\u0001O\u0001P\u0001P\u0001P\u0003P\u0342\bP\u0001Q\u0001Q\u0001Q\u0001"+ + "Q\u0005Q\u0348\bQ\nQ\fQ\u034b\tQ\u0003Q\u034d\bQ\u0001Q\u0001Q\u0001R"+ + "\u0001R\u0001R\u0001R\u0001S\u0001S\u0003S\u0357\bS\u0001T\u0001T\u0001"+ + "T\u0001T\u0001T\u0001T\u0001T\u0001T\u0001T\u0001T\u0001T\u0001T\u0001"+ + "T\u0005T\u0366\bT\nT\fT\u0369\tT\u0001T\u0001T\u0001T\u0001T\u0001T\u0001"+ + "T\u0005T\u0371\bT\nT\fT\u0374\tT\u0001T\u0001T\u0001T\u0001T\u0001T\u0001"+ + "T\u0005T\u037c\bT\nT\fT\u037f\tT\u0001T\u0001T\u0003T\u0383\bT\u0001U"+ + "\u0001U\u0001V\u0001V\u0003V\u0389\bV\u0001W\u0003W\u038c\bW\u0001W\u0001"+ + "W\u0001X\u0003X\u0391\bX\u0001X\u0001X\u0001Y\u0001Y\u0001Z\u0001Z\u0001"+ + "[\u0001[\u0001[\u0001[\u0001[\u0001\\\u0001\\\u0001\\\u0003\\\u03a1\b"+ + "\\\u0001\\\u0001\\\u0001\\\u0003\\\u03a6\b\\\u0001]\u0001]\u0001]\u0001"+ + "]\u0005]\u03ac\b]\n]\f]\u03af\t]\u0001]\u0000\u0005\u0004|\u0092\u009a"+ + "\u009c^\u0000\u0002\u0004\u0006\b\n\f\u000e\u0010\u0012\u0014\u0016\u0018"+ + "\u001a\u001c\u001e \"$&(*,.02468:<>@BDFHJLNPRTVXZ\\^`bdfhjlnprtvxz|~\u0080"+ + "\u0082\u0084\u0086\u0088\u008a\u008c\u008e\u0090\u0092\u0094\u0096\u0098"+ + "\u009a\u009c\u009e\u00a0\u00a2\u00a4\u00a6\u00a8\u00aa\u00ac\u00ae\u00b0"+ + "\u00b2\u00b4\u00b6\u00b8\u00ba\u0000\n\u0002\u000033jj\u0001\u0000de\u0002"+ + "\u000077>>\u0002\u0000AADD\u0002\u0000((33\u0001\u0000VW\u0001\u0000X"+ + "Z\u0002\u0000@@MM\u0002\u0000OOQU\u0002\u0000\u0018\u0018\u001a\u001b"+ + "\u03db\u0000\u00c8\u0001\u0000\u0000\u0000\u0002\u00ca\u0001\u0000\u0000"+ + "\u0000\u0004\u00cd\u0001\u0000\u0000\u0000\u0006\u00de\u0001\u0000\u0000"+ + "\u0000\b\u00f9\u0001\u0000\u0000\u0000\n\u00fb\u0001\u0000\u0000\u0000"+ + "\f\u00fe\u0001\u0000\u0000\u0000\u000e\u0100\u0001\u0000\u0000\u0000\u0010"+ + "\u0103\u0001\u0000\u0000\u0000\u0012\u010e\u0001\u0000\u0000\u0000\u0014"+ + "\u0112\u0001\u0000\u0000\u0000\u0016\u011a\u0001\u0000\u0000\u0000\u0018"+ + "\u011f\u0001\u0000\u0000\u0000\u001a\u0122\u0001\u0000\u0000\u0000\u001c"+ + "\u0125\u0001\u0000\u0000\u0000\u001e\u0133\u0001\u0000\u0000\u0000 \u0135"+ + "\u0001\u0000\u0000\u0000\"\u0140\u0001\u0000\u0000\u0000$\u014b\u0001"+ + "\u0000\u0000\u0000&\u014d\u0001\u0000\u0000\u0000(\u014f\u0001\u0000\u0000"+ + "\u0000*\u0151\u0001\u0000\u0000\u0000,\u0153\u0001\u0000\u0000\u0000."+ + "\u0155\u0001\u0000\u0000\u00000\u015e\u0001\u0000\u0000\u00002\u0161\u0001"+ + "\u0000\u0000\u00004\u0169\u0001\u0000\u0000\u00006\u0171\u0001\u0000\u0000"+ + "\u00008\u0182\u0001\u0000\u0000\u0000:\u0184\u0001\u0000\u0000\u0000<"+ + "\u0198\u0001\u0000\u0000\u0000>\u019a\u0001\u0000\u0000\u0000@\u01a2\u0001"+ + "\u0000\u0000\u0000B\u01aa\u0001\u0000\u0000\u0000D\u01af\u0001\u0000\u0000"+ + "\u0000F\u01b3\u0001\u0000\u0000\u0000H\u01b7\u0001\u0000\u0000\u0000J"+ + "\u01bc\u0001\u0000\u0000\u0000L\u01be\u0001\u0000\u0000\u0000N\u01c1\u0001"+ + "\u0000\u0000\u0000P\u01ca\u0001\u0000\u0000\u0000R\u01d2\u0001\u0000\u0000"+ + "\u0000T\u01d5\u0001\u0000\u0000\u0000V\u01d8\u0001\u0000\u0000\u0000X"+ + "\u01e9\u0001\u0000\u0000\u0000Z\u01eb\u0001\u0000\u0000\u0000\\\u01f1"+ + "\u0001\u0000\u0000\u0000^\u01f9\u0001\u0000\u0000\u0000`\u01ff\u0001\u0000"+ + "\u0000\u0000b\u0201\u0001\u0000\u0000\u0000d\u0205\u0001\u0000\u0000\u0000"+ + "f\u0208\u0001\u0000\u0000\u0000h\u020b\u0001\u0000\u0000\u0000j\u020f"+ + "\u0001\u0000\u0000\u0000l\u0212\u0001\u0000\u0000\u0000n\u0223\u0001\u0000"+ + "\u0000\u0000p\u0228\u0001\u0000\u0000\u0000r\u022c\u0001\u0000\u0000\u0000"+ + "t\u022f\u0001\u0000\u0000\u0000v\u023c\u0001\u0000\u0000\u0000x\u0240"+ + "\u0001\u0000\u0000\u0000z\u0244\u0001\u0000\u0000\u0000|\u0248\u0001\u0000"+ + "\u0000\u0000~\u0253\u0001\u0000\u0000\u0000\u0080\u0255\u0001\u0000\u0000"+ + "\u0000\u0082\u0260\u0001\u0000\u0000\u0000\u0084\u0276\u0001\u0000\u0000"+ + "\u0000\u0086\u0278\u0001\u0000\u0000\u0000\u0088\u027d\u0001\u0000\u0000"+ + "\u0000\u008a\u0280\u0001\u0000\u0000\u0000\u008c\u0295\u0001\u0000\u0000"+ + "\u0000\u008e\u0297\u0001\u0000\u0000\u0000\u0090\u029b\u0001\u0000\u0000"+ + "\u0000\u0092\u02bc\u0001\u0000\u0000\u0000\u0094\u02f7\u0001\u0000\u0000"+ + "\u0000\u0096\u02f9\u0001\u0000\u0000\u0000\u0098\u0306\u0001\u0000\u0000"+ + "\u0000\u009a\u030c\u0001\u0000\u0000\u0000\u009c\u0321\u0001\u0000\u0000"+ + "\u0000\u009e\u032b\u0001\u0000\u0000\u0000\u00a0\u0341\u0001\u0000\u0000"+ + "\u0000\u00a2\u0343\u0001\u0000\u0000\u0000\u00a4\u0350\u0001\u0000\u0000"+ + "\u0000\u00a6\u0356\u0001\u0000\u0000\u0000\u00a8\u0382\u0001\u0000\u0000"+ + "\u0000\u00aa\u0384\u0001\u0000\u0000\u0000\u00ac\u0388\u0001\u0000\u0000"+ + "\u0000\u00ae\u038b\u0001\u0000\u0000\u0000\u00b0\u0390\u0001\u0000\u0000"+ + "\u0000\u00b2\u0394\u0001\u0000\u0000\u0000\u00b4\u0396\u0001\u0000\u0000"+ + "\u0000\u00b6\u0398\u0001\u0000\u0000\u0000\u00b8\u03a5\u0001\u0000\u0000"+ + "\u0000\u00ba\u03a7\u0001\u0000\u0000\u0000\u00bc\u00be\u0004\u0000\u0000"+ + "\u0000\u00bd\u00bf\u0003\u008eG\u0000\u00be\u00bd\u0001\u0000\u0000\u0000"+ + "\u00bf\u00c0\u0001\u0000\u0000\u0000\u00c0\u00be\u0001\u0000\u0000\u0000"+ + "\u00c0\u00c1\u0001\u0000\u0000\u0000\u00c1\u00c2\u0001\u0000\u0000\u0000"+ + "\u00c2\u00c3\u0003\u0002\u0001\u0000\u00c3\u00c4\u0005\u0000\u0000\u0001"+ + "\u00c4\u00c9\u0001\u0000\u0000\u0000\u00c5\u00c6\u0003\u0002\u0001\u0000"+ + "\u00c6\u00c7\u0005\u0000\u0000\u0001\u00c7\u00c9\u0001\u0000\u0000\u0000"+ + "\u00c8\u00bc\u0001\u0000\u0000\u0000\u00c8\u00c5\u0001\u0000\u0000\u0000"+ + "\u00c9\u0001\u0001\u0000\u0000\u0000\u00ca\u00cb\u0003\u0004\u0002\u0000"+ + "\u00cb\u00cc\u0005\u0000\u0000\u0001\u00cc\u0003\u0001\u0000\u0000\u0000"+ + "\u00cd\u00ce\u0006\u0002\uffff\uffff\u0000\u00ce\u00cf\u0003\u0006\u0003"+ + "\u0000\u00cf\u00d5\u0001\u0000\u0000\u0000\u00d0\u00d1\n\u0001\u0000\u0000"+ + "\u00d1\u00d2\u00052\u0000\u0000\u00d2\u00d4\u0003\b\u0004\u0000\u00d3"+ + "\u00d0\u0001\u0000\u0000\u0000\u00d4\u00d7\u0001\u0000\u0000\u0000\u00d5"+ + "\u00d3\u0001\u0000\u0000\u0000\u00d5\u00d6\u0001\u0000\u0000\u0000\u00d6"+ + "\u0005\u0001\u0000\u0000\u0000\u00d7\u00d5\u0001\u0000\u0000\u0000\u00d8"+ + "\u00df\u0003\u0018\f\u0000\u00d9\u00df\u0003\u000e\u0007\u0000\u00da\u00df"+ + "\u0003j5\u0000\u00db\u00df\u0003\u001a\r\u0000\u00dc\u00dd\u0004\u0003"+ + "\u0002\u0000\u00dd\u00df\u0003f3\u0000\u00de\u00d8\u0001\u0000\u0000\u0000"+ + "\u00de\u00d9\u0001\u0000\u0000\u0000\u00de\u00da\u0001\u0000\u0000\u0000"+ + "\u00de\u00db\u0001\u0000\u0000\u0000\u00de\u00dc\u0001\u0000\u0000\u0000"+ + "\u00df\u0007\u0001\u0000\u0000\u0000\u00e0\u00fa\u00030\u0018\u0000\u00e1"+ + "\u00fa\u0003\n\u0005\u0000\u00e2\u00fa\u0003R)\u0000\u00e3\u00fa\u0003"+ + "L&\u0000\u00e4\u00fa\u00032\u0019\u0000\u00e5\u00fa\u0003N\'\u0000\u00e6"+ + "\u00fa\u0003T*\u0000\u00e7\u00fa\u0003V+\u0000\u00e8\u00fa\u0003Z-\u0000"+ + "\u00e9\u00fa\u0003b1\u0000\u00ea\u00fa\u0003l6\u0000\u00eb\u00fa\u0003"+ + "d2\u0000\u00ec\u00fa\u0003\u00b6[\u0000\u00ed\u00fa\u0003t:\u0000\u00ee"+ + "\u00fa\u0003\u0082A\u0000\u00ef\u00fa\u0003r9\u0000\u00f0\u00fa\u0003"+ + "v;\u0000\u00f1\u00fa\u0003\u0080@\u0000\u00f2\u00fa\u0003\u0084B\u0000"+ + "\u00f3\u00f4\u0004\u0004\u0003\u0000\u00f4\u00fa\u0003\u0086C\u0000\u00f5"+ + "\u00f6\u0004\u0004\u0004\u0000\u00f6\u00fa\u0003\u0088D\u0000\u00f7\u00f8"+ + "\u0004\u0004\u0005\u0000\u00f8\u00fa\u0003\u008aE\u0000\u00f9\u00e0\u0001"+ + "\u0000\u0000\u0000\u00f9\u00e1\u0001\u0000\u0000\u0000\u00f9\u00e2\u0001"+ + "\u0000\u0000\u0000\u00f9\u00e3\u0001\u0000\u0000\u0000\u00f9\u00e4\u0001"+ + "\u0000\u0000\u0000\u00f9\u00e5\u0001\u0000\u0000\u0000\u00f9\u00e6\u0001"+ + "\u0000\u0000\u0000\u00f9\u00e7\u0001\u0000\u0000\u0000\u00f9\u00e8\u0001"+ + "\u0000\u0000\u0000\u00f9\u00e9\u0001\u0000\u0000\u0000\u00f9\u00ea\u0001"+ + "\u0000\u0000\u0000\u00f9\u00eb\u0001\u0000\u0000\u0000\u00f9\u00ec\u0001"+ + "\u0000\u0000\u0000\u00f9\u00ed\u0001\u0000\u0000\u0000\u00f9\u00ee\u0001"+ + "\u0000\u0000\u0000\u00f9\u00ef\u0001\u0000\u0000\u0000\u00f9\u00f0\u0001"+ + "\u0000\u0000\u0000\u00f9\u00f1\u0001\u0000\u0000\u0000\u00f9\u00f2\u0001"+ + "\u0000\u0000\u0000\u00f9\u00f3\u0001\u0000\u0000\u0000\u00f9\u00f5\u0001"+ + "\u0000\u0000\u0000\u00f9\u00f7\u0001\u0000\u0000\u0000\u00fa\t\u0001\u0000"+ + "\u0000\u0000\u00fb\u00fc\u0005\u0011\u0000\u0000\u00fc\u00fd\u0003\u0092"+ + "I\u0000\u00fd\u000b\u0001\u0000\u0000\u0000\u00fe\u00ff\u0003B!\u0000"+ + "\u00ff\r\u0001\u0000\u0000\u0000\u0100\u0101\u0005\r\u0000\u0000\u0101"+ + "\u0102\u0003\u0010\b\u0000\u0102\u000f\u0001\u0000\u0000\u0000\u0103\u0108"+ + "\u0003\u0012\t\u0000\u0104\u0105\u0005=\u0000\u0000\u0105\u0107\u0003"+ + "\u0012\t\u0000\u0106\u0104\u0001\u0000\u0000\u0000\u0107\u010a\u0001\u0000"+ + "\u0000\u0000\u0108\u0106\u0001\u0000\u0000\u0000\u0108\u0109\u0001\u0000"+ + "\u0000\u0000\u0109\u0011\u0001\u0000\u0000\u0000\u010a\u0108\u0001\u0000"+ + "\u0000\u0000\u010b\u010c\u00038\u001c\u0000\u010c\u010d\u00058\u0000\u0000"+ + "\u010d\u010f\u0001\u0000\u0000\u0000\u010e\u010b\u0001\u0000\u0000\u0000"+ + "\u010e\u010f\u0001\u0000\u0000\u0000\u010f\u0110\u0001\u0000\u0000\u0000"+ + "\u0110\u0111\u0003\u0092I\u0000\u0111\u0013\u0001\u0000\u0000\u0000\u0112"+ + "\u0117\u0003\u0016\u000b\u0000\u0113\u0114\u0005=\u0000\u0000\u0114\u0116"+ + "\u0003\u0016\u000b\u0000\u0115\u0113\u0001\u0000\u0000\u0000\u0116\u0119"+ + "\u0001\u0000\u0000\u0000\u0117\u0115\u0001\u0000\u0000\u0000\u0117\u0118"+ + "\u0001\u0000\u0000\u0000\u0118\u0015\u0001\u0000\u0000\u0000\u0119\u0117"+ + "\u0001\u0000\u0000\u0000\u011a\u011d\u00038\u001c\u0000\u011b\u011c\u0005"+ + "8\u0000\u0000\u011c\u011e\u0003\u0092I\u0000\u011d\u011b\u0001\u0000\u0000"+ + "\u0000\u011d\u011e\u0001\u0000\u0000\u0000\u011e\u0017\u0001\u0000\u0000"+ + "\u0000\u011f\u0120\u0005\u0012\u0000\u0000\u0120\u0121\u0003\u001c\u000e"+ + "\u0000\u0121\u0019\u0001\u0000\u0000\u0000\u0122\u0123\u0005\u0013\u0000"+ + "\u0000\u0123\u0124\u0003\u001c\u000e\u0000\u0124\u001b\u0001\u0000\u0000"+ + "\u0000\u0125\u012a\u0003\u001e\u000f\u0000\u0126\u0127\u0005=\u0000\u0000"+ + "\u0127\u0129\u0003\u001e\u000f\u0000\u0128\u0126\u0001\u0000\u0000\u0000"+ + "\u0129\u012c\u0001\u0000\u0000\u0000\u012a\u0128\u0001\u0000\u0000\u0000"+ + "\u012a\u012b\u0001\u0000\u0000\u0000\u012b\u012e\u0001\u0000\u0000\u0000"+ + "\u012c\u012a\u0001\u0000\u0000\u0000\u012d\u012f\u0003.\u0017\u0000\u012e"+ + "\u012d\u0001\u0000\u0000\u0000\u012e\u012f\u0001\u0000\u0000\u0000\u012f"+ + "\u001d\u0001\u0000\u0000\u0000\u0130\u0134\u0003$\u0012\u0000\u0131\u0132"+ + "\u0004\u000f\u0006\u0000\u0132\u0134\u0003 \u0010\u0000\u0133\u0130\u0001"+ + "\u0000\u0000\u0000\u0133\u0131\u0001\u0000\u0000\u0000\u0134\u001f\u0001"+ + "\u0000\u0000\u0000\u0135\u0136\u0005b\u0000\u0000\u0136\u013b\u0003\u0018"+ + "\f\u0000\u0137\u0138\u00052\u0000\u0000\u0138\u013a\u0003\"\u0011\u0000"+ + "\u0139\u0137\u0001\u0000\u0000\u0000\u013a\u013d\u0001\u0000\u0000\u0000"+ + "\u013b\u0139\u0001\u0000\u0000\u0000\u013b\u013c\u0001\u0000\u0000\u0000"+ + "\u013c\u013e\u0001\u0000\u0000\u0000\u013d\u013b\u0001\u0000\u0000\u0000"+ + "\u013e\u013f\u0005c\u0000\u0000\u013f!\u0001\u0000\u0000\u0000\u0140\u0141"+ + "\u0003\b\u0004\u0000\u0141#\u0001\u0000\u0000\u0000\u0142\u0143\u0003"+ + "&\u0013\u0000\u0143\u0144\u0005;\u0000\u0000\u0144\u0145\u0003*\u0015"+ + "\u0000\u0145\u014c\u0001\u0000\u0000\u0000\u0146\u0147\u0003*\u0015\u0000"+ + "\u0147\u0148\u0005:\u0000\u0000\u0148\u0149\u0003(\u0014\u0000\u0149\u014c"+ + "\u0001\u0000\u0000\u0000\u014a\u014c\u0003,\u0016\u0000\u014b\u0142\u0001"+ + "\u0000\u0000\u0000\u014b\u0146\u0001\u0000\u0000\u0000\u014b\u014a\u0001"+ + "\u0000\u0000\u0000\u014c%\u0001\u0000\u0000\u0000\u014d\u014e\u0005j\u0000"+ + "\u0000\u014e\'\u0001\u0000\u0000\u0000\u014f\u0150\u0005j\u0000\u0000"+ + "\u0150)\u0001\u0000\u0000\u0000\u0151\u0152\u0005j\u0000\u0000\u0152+"+ + "\u0001\u0000\u0000\u0000\u0153\u0154\u0007\u0000\u0000\u0000\u0154-\u0001"+ + "\u0000\u0000\u0000\u0155\u0156\u0005i\u0000\u0000\u0156\u015b\u0005j\u0000"+ + "\u0000\u0157\u0158\u0005=\u0000\u0000\u0158\u015a\u0005j\u0000\u0000\u0159"+ + "\u0157\u0001\u0000\u0000\u0000\u015a\u015d\u0001\u0000\u0000\u0000\u015b"+ + "\u0159\u0001\u0000\u0000\u0000\u015b\u015c\u0001\u0000\u0000\u0000\u015c"+ + "/\u0001\u0000\u0000\u0000\u015d\u015b\u0001\u0000\u0000\u0000\u015e\u015f"+ + "\u0005\t\u0000\u0000\u015f\u0160\u0003\u0010\b\u0000\u01601\u0001\u0000"+ + "\u0000\u0000\u0161\u0163\u0005\u0010\u0000\u0000\u0162\u0164\u00034\u001a"+ + "\u0000\u0163\u0162\u0001\u0000\u0000\u0000\u0163\u0164\u0001\u0000\u0000"+ + "\u0000\u0164\u0167\u0001\u0000\u0000\u0000\u0165\u0166\u00059\u0000\u0000"+ + "\u0166\u0168\u0003\u0010\b\u0000\u0167\u0165\u0001\u0000\u0000\u0000\u0167"+ + "\u0168\u0001\u0000\u0000\u0000\u01683\u0001\u0000\u0000\u0000\u0169\u016e"+ + "\u00036\u001b\u0000\u016a\u016b\u0005=\u0000\u0000\u016b\u016d\u00036"+ + "\u001b\u0000\u016c\u016a\u0001\u0000\u0000\u0000\u016d\u0170\u0001\u0000"+ + "\u0000\u0000\u016e\u016c\u0001\u0000\u0000\u0000\u016e\u016f\u0001\u0000"+ + "\u0000\u0000\u016f5\u0001\u0000\u0000\u0000\u0170\u016e\u0001\u0000\u0000"+ + "\u0000\u0171\u0174\u0003\u0012\t\u0000\u0172\u0173\u0005\u0011\u0000\u0000"+ + "\u0173\u0175\u0003\u0092I\u0000\u0174\u0172\u0001\u0000\u0000\u0000\u0174"+ + "\u0175\u0001\u0000\u0000\u0000\u01757\u0001\u0000\u0000\u0000\u0176\u0177"+ + "\u0004\u001c\u0007\u0000\u0177\u0179\u0005`\u0000\u0000\u0178\u017a\u0005"+ + "d\u0000\u0000\u0179\u0178\u0001\u0000\u0000\u0000\u0179\u017a\u0001\u0000"+ + "\u0000\u0000\u017a\u017b\u0001\u0000\u0000\u0000\u017b\u017c\u0005a\u0000"+ + "\u0000\u017c\u017d\u0005?\u0000\u0000\u017d\u017e\u0005`\u0000\u0000\u017e"+ + "\u017f\u0003:\u001d\u0000\u017f\u0180\u0005a\u0000\u0000\u0180\u0183\u0001"+ + "\u0000\u0000\u0000\u0181\u0183\u0003:\u001d\u0000\u0182\u0176\u0001\u0000"+ + "\u0000\u0000\u0182\u0181\u0001\u0000\u0000\u0000\u01839\u0001\u0000\u0000"+ + "\u0000\u0184\u0189\u0003J%\u0000\u0185\u0186\u0005?\u0000\u0000\u0186"+ + "\u0188\u0003J%\u0000\u0187\u0185\u0001\u0000\u0000\u0000\u0188\u018b\u0001"+ + "\u0000\u0000\u0000\u0189\u0187\u0001\u0000\u0000\u0000\u0189\u018a\u0001"+ + "\u0000\u0000\u0000\u018a;\u0001\u0000\u0000\u0000\u018b\u0189\u0001\u0000"+ + "\u0000\u0000\u018c\u018d\u0004\u001e\b\u0000\u018d\u018f\u0005`\u0000"+ + "\u0000\u018e\u0190\u0005\u0089\u0000\u0000\u018f\u018e\u0001\u0000\u0000"+ + "\u0000\u018f\u0190\u0001\u0000\u0000\u0000\u0190\u0191\u0001\u0000\u0000"+ + "\u0000\u0191\u0192\u0005a\u0000\u0000\u0192\u0193\u0005?\u0000\u0000\u0193"+ + "\u0194\u0005`\u0000\u0000\u0194\u0195\u0003>\u001f\u0000\u0195\u0196\u0005"+ + "a\u0000\u0000\u0196\u0199\u0001\u0000\u0000\u0000\u0197\u0199\u0003>\u001f"+ + "\u0000\u0198\u018c\u0001\u0000\u0000\u0000\u0198\u0197\u0001\u0000\u0000"+ + "\u0000\u0199=\u0001\u0000\u0000\u0000\u019a\u019f\u0003D\"\u0000\u019b"+ + "\u019c\u0005?\u0000\u0000\u019c\u019e\u0003D\"\u0000\u019d\u019b\u0001"+ + "\u0000\u0000\u0000\u019e\u01a1\u0001\u0000\u0000\u0000\u019f\u019d\u0001"+ + "\u0000\u0000\u0000\u019f\u01a0\u0001\u0000\u0000\u0000\u01a0?\u0001\u0000"+ + "\u0000\u0000\u01a1\u019f\u0001\u0000\u0000\u0000\u01a2\u01a7\u0003<\u001e"+ + "\u0000\u01a3\u01a4\u0005=\u0000\u0000\u01a4\u01a6\u0003<\u001e\u0000\u01a5"+ + "\u01a3\u0001\u0000\u0000\u0000\u01a6\u01a9\u0001\u0000\u0000\u0000\u01a7"+ + "\u01a5\u0001\u0000\u0000\u0000\u01a7\u01a8\u0001\u0000\u0000\u0000\u01a8"+ + "A\u0001\u0000\u0000\u0000\u01a9\u01a7\u0001\u0000\u0000\u0000\u01aa\u01ab"+ + "\u0007\u0001\u0000\u0000\u01abC\u0001\u0000\u0000\u0000\u01ac\u01b0\u0005"+ + "\u0089\u0000\u0000\u01ad\u01b0\u0003F#\u0000\u01ae\u01b0\u0003H$\u0000"+ + "\u01af\u01ac\u0001\u0000\u0000\u0000\u01af\u01ad\u0001\u0000\u0000\u0000"+ + "\u01af\u01ae\u0001\u0000\u0000\u0000\u01b0E\u0001\u0000\u0000\u0000\u01b1"+ + "\u01b4\u0005K\u0000\u0000\u01b2\u01b4\u0005^\u0000\u0000\u01b3\u01b1\u0001"+ + "\u0000\u0000\u0000\u01b3\u01b2\u0001\u0000\u0000\u0000\u01b4G\u0001\u0000"+ + "\u0000\u0000\u01b5\u01b8\u0005]\u0000\u0000\u01b6\u01b8\u0005_\u0000\u0000"+ + "\u01b7\u01b5\u0001\u0000\u0000\u0000\u01b7\u01b6\u0001\u0000\u0000\u0000"+ + "\u01b8I\u0001\u0000\u0000\u0000\u01b9\u01bd\u0003B!\u0000\u01ba\u01bd"+ + "\u0003F#\u0000\u01bb\u01bd\u0003H$\u0000\u01bc\u01b9\u0001\u0000\u0000"+ + "\u0000\u01bc\u01ba\u0001\u0000\u0000\u0000\u01bc\u01bb\u0001\u0000\u0000"+ + "\u0000\u01bdK\u0001\u0000\u0000\u0000\u01be\u01bf\u0005\u000b\u0000\u0000"+ + "\u01bf\u01c0\u0003\u00a8T\u0000\u01c0M\u0001\u0000\u0000\u0000\u01c1\u01c2"+ + "\u0005\u000f\u0000\u0000\u01c2\u01c7\u0003P(\u0000\u01c3\u01c4\u0005="+ + "\u0000\u0000\u01c4\u01c6\u0003P(\u0000\u01c5\u01c3\u0001\u0000\u0000\u0000"+ + "\u01c6\u01c9\u0001\u0000\u0000\u0000\u01c7\u01c5\u0001\u0000\u0000\u0000"+ + "\u01c7\u01c8\u0001\u0000\u0000\u0000\u01c8O\u0001\u0000\u0000\u0000\u01c9"+ + "\u01c7\u0001\u0000\u0000\u0000\u01ca\u01cc\u0003\u0092I\u0000\u01cb\u01cd"+ + "\u0007\u0002\u0000\u0000\u01cc\u01cb\u0001\u0000\u0000\u0000\u01cc\u01cd"+ + "\u0001\u0000\u0000\u0000\u01cd\u01d0\u0001\u0000\u0000\u0000\u01ce\u01cf"+ + "\u0005H\u0000\u0000\u01cf\u01d1\u0007\u0003\u0000\u0000\u01d0\u01ce\u0001"+ + "\u0000\u0000\u0000\u01d0\u01d1\u0001\u0000\u0000\u0000\u01d1Q\u0001\u0000"+ + "\u0000\u0000\u01d2\u01d3\u0005\u001f\u0000\u0000\u01d3\u01d4\u0003@ \u0000"+ + "\u01d4S\u0001\u0000\u0000\u0000\u01d5\u01d6\u0005\u001e\u0000\u0000\u01d6"+ + "\u01d7\u0003@ \u0000\u01d7U\u0001\u0000\u0000\u0000\u01d8\u01d9\u0005"+ + "!\u0000\u0000\u01d9\u01de\u0003X,\u0000\u01da\u01db\u0005=\u0000\u0000"+ + "\u01db\u01dd\u0003X,\u0000\u01dc\u01da\u0001\u0000\u0000\u0000\u01dd\u01e0"+ + "\u0001\u0000\u0000\u0000\u01de\u01dc\u0001\u0000\u0000\u0000\u01de\u01df"+ + "\u0001\u0000\u0000\u0000\u01dfW\u0001\u0000\u0000\u0000\u01e0\u01de\u0001"+ + "\u0000\u0000\u0000\u01e1\u01e2\u0003<\u001e\u0000\u01e2\u01e3\u0005\u008d"+ + "\u0000\u0000\u01e3\u01e4\u0003<\u001e\u0000\u01e4\u01ea\u0001\u0000\u0000"+ + "\u0000\u01e5\u01e6\u0003<\u001e\u0000\u01e6\u01e7\u00058\u0000\u0000\u01e7"+ + "\u01e8\u0003<\u001e\u0000\u01e8\u01ea\u0001\u0000\u0000\u0000\u01e9\u01e1"+ + "\u0001\u0000\u0000\u0000\u01e9\u01e5\u0001\u0000\u0000\u0000\u01eaY\u0001"+ + "\u0000\u0000\u0000\u01eb\u01ec\u0005\b\u0000\u0000\u01ec\u01ed\u0003\u009c"+ + "N\u0000\u01ed\u01ef\u0003\u00b2Y\u0000\u01ee\u01f0\u0003\\.\u0000\u01ef"+ + "\u01ee\u0001\u0000\u0000\u0000\u01ef\u01f0\u0001\u0000\u0000\u0000\u01f0"+ + "[\u0001\u0000\u0000\u0000\u01f1\u01f6\u0003^/\u0000\u01f2\u01f3\u0005"+ + "=\u0000\u0000\u01f3\u01f5\u0003^/\u0000\u01f4\u01f2\u0001\u0000\u0000"+ + "\u0000\u01f5\u01f8\u0001\u0000\u0000\u0000\u01f6\u01f4\u0001\u0000\u0000"+ + "\u0000\u01f6\u01f7\u0001\u0000\u0000\u0000\u01f7]\u0001\u0000\u0000\u0000"+ + "\u01f8\u01f6\u0001\u0000\u0000\u0000\u01f9\u01fa\u0003B!\u0000\u01fa\u01fb"+ + "\u00058\u0000\u0000\u01fb\u01fc\u0003\u00a8T\u0000\u01fc_\u0001\u0000"+ + "\u0000\u0000\u01fd\u01fe\u0005N\u0000\u0000\u01fe\u0200\u0003\u00a2Q\u0000"+ + "\u01ff\u01fd\u0001\u0000\u0000\u0000\u01ff\u0200\u0001\u0000\u0000\u0000"+ + "\u0200a\u0001\u0000\u0000\u0000\u0201\u0202\u0005\n\u0000\u0000\u0202"+ + "\u0203\u0003\u009cN\u0000\u0203\u0204\u0003\u00b2Y\u0000\u0204c\u0001"+ + "\u0000\u0000\u0000\u0205\u0206\u0005\u001d\u0000\u0000\u0206\u0207\u0003"+ + "8\u001c\u0000\u0207e\u0001\u0000\u0000\u0000\u0208\u0209\u0005\u0006\u0000"+ + "\u0000\u0209\u020a\u0003h4\u0000\u020ag\u0001\u0000\u0000\u0000\u020b"+ + "\u020c\u0005b\u0000\u0000\u020c\u020d\u0003\u0004\u0002\u0000\u020d\u020e"+ + "\u0005c\u0000\u0000\u020ei\u0001\u0000\u0000\u0000\u020f\u0210\u0005#"+ + "\u0000\u0000\u0210\u0211\u0005\u0094\u0000\u0000\u0211k\u0001\u0000\u0000"+ + "\u0000\u0212\u0213\u0005\u0005\u0000\u0000\u0213\u0216\u0003n7\u0000\u0214"+ + "\u0215\u0005I\u0000\u0000\u0215\u0217\u0003<\u001e\u0000\u0216\u0214\u0001"+ + "\u0000\u0000\u0000\u0216\u0217\u0001\u0000\u0000\u0000\u0217\u0221\u0001"+ + "\u0000\u0000\u0000\u0218\u0219\u0005N\u0000\u0000\u0219\u021e\u0003p8"+ + "\u0000\u021a\u021b\u0005=\u0000\u0000\u021b\u021d\u0003p8\u0000\u021c"+ + "\u021a\u0001\u0000\u0000\u0000\u021d\u0220\u0001\u0000\u0000\u0000\u021e"+ + "\u021c\u0001\u0000\u0000\u0000\u021e\u021f\u0001\u0000\u0000\u0000\u021f"+ + "\u0222\u0001\u0000\u0000\u0000\u0220\u021e\u0001\u0000\u0000\u0000\u0221"+ + "\u0218\u0001\u0000\u0000\u0000\u0221\u0222\u0001\u0000\u0000\u0000\u0222"+ + "m\u0001\u0000\u0000\u0000\u0223\u0224\u0007\u0004\u0000\u0000\u0224o\u0001"+ + "\u0000\u0000\u0000\u0225\u0226\u0003<\u001e\u0000\u0226\u0227\u00058\u0000"+ + "\u0000\u0227\u0229\u0001\u0000\u0000\u0000\u0228\u0225\u0001\u0000\u0000"+ + "\u0000\u0228\u0229\u0001\u0000\u0000\u0000\u0229\u022a\u0001\u0000\u0000"+ + "\u0000\u022a\u022b\u0003<\u001e\u0000\u022bq\u0001\u0000\u0000\u0000\u022c"+ + "\u022d\u0005\u000e\u0000\u0000\u022d\u022e\u0003\u00a8T\u0000\u022es\u0001"+ + "\u0000\u0000\u0000\u022f\u0230\u0005\u0004\u0000\u0000\u0230\u0233\u0003"+ + "8\u001c\u0000\u0231\u0232\u0005I\u0000\u0000\u0232\u0234\u00038\u001c"+ + "\u0000\u0233\u0231\u0001\u0000\u0000\u0000\u0233\u0234\u0001\u0000\u0000"+ + "\u0000\u0234\u023a\u0001\u0000\u0000\u0000\u0235\u0236\u0005\u008d\u0000"+ + "\u0000\u0236\u0237\u00038\u001c\u0000\u0237\u0238\u0005=\u0000\u0000\u0238"+ + "\u0239\u00038\u001c\u0000\u0239\u023b\u0001\u0000\u0000\u0000\u023a\u0235"+ + "\u0001\u0000\u0000\u0000\u023a\u023b\u0001\u0000\u0000\u0000\u023bu\u0001"+ + "\u0000\u0000\u0000\u023c\u023d\u0005\u0014\u0000\u0000\u023d\u023e\u0003"+ + "x<\u0000\u023ew\u0001\u0000\u0000\u0000\u023f\u0241\u0003z=\u0000\u0240"+ + "\u023f\u0001\u0000\u0000\u0000\u0241\u0242\u0001\u0000\u0000\u0000\u0242"+ + "\u0240\u0001\u0000\u0000\u0000\u0242\u0243\u0001\u0000\u0000\u0000\u0243"+ + "y\u0001\u0000\u0000\u0000\u0244\u0245\u0005b\u0000\u0000\u0245\u0246\u0003"+ + "|>\u0000\u0246\u0247\u0005c\u0000\u0000\u0247{\u0001\u0000\u0000\u0000"+ + "\u0248\u0249\u0006>\uffff\uffff\u0000\u0249\u024a\u0003~?\u0000\u024a"+ + "\u0250\u0001\u0000\u0000\u0000\u024b\u024c\n\u0001\u0000\u0000\u024c\u024d"+ + "\u00052\u0000\u0000\u024d\u024f\u0003~?\u0000\u024e\u024b\u0001\u0000"+ + "\u0000\u0000\u024f\u0252\u0001\u0000\u0000\u0000\u0250\u024e\u0001\u0000"+ + "\u0000\u0000\u0250\u0251\u0001\u0000\u0000\u0000\u0251}\u0001\u0000\u0000"+ + "\u0000\u0252\u0250\u0001\u0000\u0000\u0000\u0253\u0254\u0003\b\u0004\u0000"+ + "\u0254\u007f\u0001\u0000\u0000\u0000\u0255\u0259\u0005\f\u0000\u0000\u0256"+ + "\u0257\u00038\u001c\u0000\u0257\u0258\u00058\u0000\u0000\u0258\u025a\u0001"+ + "\u0000\u0000\u0000\u0259\u0256\u0001\u0000\u0000\u0000\u0259\u025a\u0001"+ + "\u0000\u0000\u0000\u025a\u025b\u0001\u0000\u0000\u0000\u025b\u025c\u0003"+ + "\u00a8T\u0000\u025c\u025d\u0005I\u0000\u0000\u025d\u025e\u0003\u0014\n"+ + "\u0000\u025e\u025f\u0003`0\u0000\u025f\u0081\u0001\u0000\u0000\u0000\u0260"+ + "\u0264\u0005\u0007\u0000\u0000\u0261\u0262\u00038\u001c\u0000\u0262\u0263"+ + "\u00058\u0000\u0000\u0263\u0265\u0001\u0000\u0000\u0000\u0264\u0261\u0001"+ + "\u0000\u0000\u0000\u0264\u0265\u0001\u0000\u0000\u0000\u0265\u0266\u0001"+ + "\u0000\u0000\u0000\u0266\u0267\u0003\u009cN\u0000\u0267\u0268\u0003`0"+ + "\u0000\u0268\u0083\u0001\u0000\u0000\u0000\u0269\u026a\u0005\u0016\u0000"+ + "\u0000\u026a\u026b\u0005w\u0000\u0000\u026b\u026e\u00034\u001a\u0000\u026c"+ + "\u026d\u00059\u0000\u0000\u026d\u026f\u0003\u0010\b\u0000\u026e\u026c"+ + "\u0001\u0000\u0000\u0000\u026e\u026f\u0001\u0000\u0000\u0000\u026f\u0277"+ + "\u0001\u0000\u0000\u0000\u0270\u0271\u0005\u0017\u0000\u0000\u0271\u0274"+ + "\u00034\u001a\u0000\u0272\u0273\u00059\u0000\u0000\u0273\u0275\u0003\u0010"+ + "\b\u0000\u0274\u0272\u0001\u0000\u0000\u0000\u0274\u0275\u0001\u0000\u0000"+ + "\u0000\u0275\u0277\u0001\u0000\u0000\u0000\u0276\u0269\u0001\u0000\u0000"+ + "\u0000\u0276\u0270\u0001\u0000\u0000\u0000\u0277\u0085\u0001\u0000\u0000"+ + "\u0000\u0278\u0279\u0005\u001c\u0000\u0000\u0279\u027a\u0003$\u0012\u0000"+ + "\u027a\u027b\u0005I\u0000\u0000\u027b\u027c\u0003@ \u0000\u027c\u0087"+ + "\u0001\u0000\u0000\u0000\u027d\u027e\u0005 \u0000\u0000\u027e\u027f\u0003"+ + "@ \u0000\u027f\u0089\u0001\u0000\u0000\u0000\u0280\u0282\u0005\u0015\u0000"+ + "\u0000\u0281\u0283\u0003B!\u0000\u0282\u0281\u0001\u0000\u0000\u0000\u0282"+ + "\u0283\u0001\u0000\u0000\u0000\u0283\u0287\u0001\u0000\u0000\u0000\u0284"+ + "\u0286\u0003\u008cF\u0000\u0285\u0284\u0001\u0000\u0000\u0000\u0286\u0289"+ + "\u0001\u0000\u0000\u0000\u0287\u0285\u0001\u0000\u0000\u0000\u0287\u0288"+ + "\u0001\u0000\u0000\u0000\u0288\u008b\u0001\u0000\u0000\u0000\u0289\u0287"+ + "\u0001\u0000\u0000\u0000\u028a\u028b\u0005r\u0000\u0000\u028b\u028c\u0005"+ + "9\u0000\u0000\u028c\u0296\u00038\u001c\u0000\u028d\u028e\u0005s\u0000"+ + "\u0000\u028e\u028f\u00059\u0000\u0000\u028f\u0296\u0003\u0010\b\u0000"+ + "\u0290\u0291\u0005q\u0000\u0000\u0291\u0292\u00059\u0000\u0000\u0292\u0296"+ + "\u00038\u001c\u0000\u0293\u0294\u0005N\u0000\u0000\u0294\u0296\u0003\u00a2"+ + "Q\u0000\u0295\u028a\u0001\u0000\u0000\u0000\u0295\u028d\u0001\u0000\u0000"+ + "\u0000\u0295\u0290\u0001\u0000\u0000\u0000\u0295\u0293\u0001\u0000\u0000"+ + "\u0000\u0296\u008d\u0001\u0000\u0000\u0000\u0297\u0298\u0005\"\u0000\u0000"+ + "\u0298\u0299\u0003\u0090H\u0000\u0299\u029a\u0005<\u0000\u0000\u029a\u008f"+ + "\u0001\u0000\u0000\u0000\u029b\u029c\u0003B!\u0000\u029c\u029d\u00058"+ + "\u0000\u0000\u029d\u029e\u0003\u00a8T\u0000\u029e\u0091\u0001\u0000\u0000"+ + "\u0000\u029f\u02a0\u0006I\uffff\uffff\u0000\u02a0\u02a1\u0005F\u0000\u0000"+ + "\u02a1\u02bd\u0003\u0092I\b\u02a2\u02bd\u0003\u0098L\u0000\u02a3\u02bd"+ + "\u0003\u0094J\u0000\u02a4\u02a6\u0003\u0098L\u0000\u02a5\u02a7\u0005F"+ + "\u0000\u0000\u02a6\u02a5\u0001\u0000\u0000\u0000\u02a6\u02a7\u0001\u0000"+ + "\u0000\u0000\u02a7\u02a8\u0001\u0000\u0000\u0000\u02a8\u02a9\u0005B\u0000"+ + "\u0000\u02a9\u02aa\u0005b\u0000\u0000\u02aa\u02af\u0003\u0098L\u0000\u02ab"+ + "\u02ac\u0005=\u0000\u0000\u02ac\u02ae\u0003\u0098L\u0000\u02ad\u02ab\u0001"+ + "\u0000\u0000\u0000\u02ae\u02b1\u0001\u0000\u0000\u0000\u02af\u02ad\u0001"+ + "\u0000\u0000\u0000\u02af\u02b0\u0001\u0000\u0000\u0000\u02b0\u02b2\u0001"+ + "\u0000\u0000\u0000\u02b1\u02af\u0001\u0000\u0000\u0000\u02b2\u02b3\u0005"+ + "c\u0000\u0000\u02b3\u02bd\u0001\u0000\u0000\u0000\u02b4\u02b5\u0003\u0098"+ + "L\u0000\u02b5\u02b7\u0005C\u0000\u0000\u02b6\u02b8\u0005F\u0000\u0000"+ + "\u02b7\u02b6\u0001\u0000\u0000\u0000\u02b7\u02b8\u0001\u0000\u0000\u0000"+ + "\u02b8\u02b9\u0001\u0000\u0000\u0000\u02b9\u02ba\u0005G\u0000\u0000\u02ba"+ + "\u02bd\u0001\u0000\u0000\u0000\u02bb\u02bd\u0003\u0096K\u0000\u02bc\u029f"+ + "\u0001\u0000\u0000\u0000\u02bc\u02a2\u0001\u0000\u0000\u0000\u02bc\u02a3"+ + "\u0001\u0000\u0000\u0000\u02bc\u02a4\u0001\u0000\u0000\u0000\u02bc\u02b4"+ + "\u0001\u0000\u0000\u0000\u02bc\u02bb\u0001\u0000\u0000\u0000\u02bd\u02c6"+ + "\u0001\u0000\u0000\u0000\u02be\u02bf\n\u0005\u0000\u0000\u02bf\u02c0\u0005"+ + "6\u0000\u0000\u02c0\u02c5\u0003\u0092I\u0006\u02c1\u02c2\n\u0004\u0000"+ + "\u0000\u02c2\u02c3\u0005J\u0000\u0000\u02c3\u02c5\u0003\u0092I\u0005\u02c4"+ + "\u02be\u0001\u0000\u0000\u0000\u02c4\u02c1\u0001\u0000\u0000\u0000\u02c5"+ + "\u02c8\u0001\u0000\u0000\u0000\u02c6\u02c4\u0001\u0000\u0000\u0000\u02c6"+ + "\u02c7\u0001\u0000\u0000\u0000\u02c7\u0093\u0001\u0000\u0000\u0000\u02c8"+ + "\u02c6\u0001\u0000\u0000\u0000\u02c9\u02cb\u0003\u0098L\u0000\u02ca\u02cc"+ + "\u0005F\u0000\u0000\u02cb\u02ca\u0001\u0000\u0000\u0000\u02cb\u02cc\u0001"+ + "\u0000\u0000\u0000\u02cc\u02cd\u0001\u0000\u0000\u0000\u02cd\u02ce\u0005"+ + "E\u0000\u0000\u02ce\u02cf\u0003\u00b2Y\u0000\u02cf\u02f8\u0001\u0000\u0000"+ + "\u0000\u02d0\u02d2\u0003\u0098L\u0000\u02d1\u02d3\u0005F\u0000\u0000\u02d2"+ + "\u02d1\u0001\u0000\u0000\u0000\u02d2\u02d3\u0001\u0000\u0000\u0000\u02d3"+ + "\u02d4\u0001\u0000\u0000\u0000\u02d4\u02d5\u0005L\u0000\u0000\u02d5\u02d6"+ + "\u0003\u00b2Y\u0000\u02d6\u02f8\u0001\u0000\u0000\u0000\u02d7\u02d9\u0003"+ + "\u0098L\u0000\u02d8\u02da\u0005F\u0000\u0000\u02d9\u02d8\u0001\u0000\u0000"+ + "\u0000\u02d9\u02da\u0001\u0000\u0000\u0000\u02da\u02db\u0001\u0000\u0000"+ + "\u0000\u02db\u02dc\u0005E\u0000\u0000\u02dc\u02dd\u0005b\u0000\u0000\u02dd"+ + "\u02e2\u0003\u00b2Y\u0000\u02de\u02df\u0005=\u0000\u0000\u02df\u02e1\u0003"+ + "\u00b2Y\u0000\u02e0\u02de\u0001\u0000\u0000\u0000\u02e1\u02e4\u0001\u0000"+ + "\u0000\u0000\u02e2\u02e0\u0001\u0000\u0000\u0000\u02e2\u02e3\u0001\u0000"+ + "\u0000\u0000\u02e3\u02e5\u0001\u0000\u0000\u0000\u02e4\u02e2\u0001\u0000"+ + "\u0000\u0000\u02e5\u02e6\u0005c\u0000\u0000\u02e6\u02f8\u0001\u0000\u0000"+ + "\u0000\u02e7\u02e9\u0003\u0098L\u0000\u02e8\u02ea\u0005F\u0000\u0000\u02e9"+ + "\u02e8\u0001\u0000\u0000\u0000\u02e9\u02ea\u0001\u0000\u0000\u0000\u02ea"+ + "\u02eb\u0001\u0000\u0000\u0000\u02eb\u02ec\u0005L\u0000\u0000\u02ec\u02ed"+ + "\u0005b\u0000\u0000\u02ed\u02f2\u0003\u00b2Y\u0000\u02ee\u02ef\u0005="+ + "\u0000\u0000\u02ef\u02f1\u0003\u00b2Y\u0000\u02f0\u02ee\u0001\u0000\u0000"+ + "\u0000\u02f1\u02f4\u0001\u0000\u0000\u0000\u02f2\u02f0\u0001\u0000\u0000"+ + "\u0000\u02f2\u02f3\u0001\u0000\u0000\u0000\u02f3\u02f5\u0001\u0000\u0000"+ + "\u0000\u02f4\u02f2\u0001\u0000\u0000\u0000\u02f5\u02f6\u0005c\u0000\u0000"+ + "\u02f6\u02f8\u0001\u0000\u0000\u0000\u02f7\u02c9\u0001\u0000\u0000\u0000"+ + "\u02f7\u02d0\u0001\u0000\u0000\u0000\u02f7\u02d7\u0001\u0000\u0000\u0000"+ + "\u02f7\u02e7\u0001\u0000\u0000\u0000\u02f8\u0095\u0001\u0000\u0000\u0000"+ + "\u02f9\u02fc\u00038\u001c\u0000\u02fa\u02fb\u0005:\u0000\u0000\u02fb\u02fd"+ + "\u0003\f\u0006\u0000\u02fc\u02fa\u0001\u0000\u0000\u0000\u02fc\u02fd\u0001"+ + "\u0000\u0000\u0000\u02fd\u02fe\u0001\u0000\u0000\u0000\u02fe\u02ff\u0005"+ + ";\u0000\u0000\u02ff\u0300\u0003\u00a8T\u0000\u0300\u0097\u0001\u0000\u0000"+ + "\u0000\u0301\u0307\u0003\u009aM\u0000\u0302\u0303\u0003\u009aM\u0000\u0303"+ + "\u0304\u0003\u00b4Z\u0000\u0304\u0305\u0003\u009aM\u0000\u0305\u0307\u0001"+ + "\u0000\u0000\u0000\u0306\u0301\u0001\u0000\u0000\u0000\u0306\u0302\u0001"+ + "\u0000\u0000\u0000\u0307\u0099\u0001\u0000\u0000\u0000\u0308\u0309\u0006"+ + "M\uffff\uffff\u0000\u0309\u030d\u0003\u009cN\u0000\u030a\u030b\u0007\u0005"+ + "\u0000\u0000\u030b\u030d\u0003\u009aM\u0003\u030c\u0308\u0001\u0000\u0000"+ + "\u0000\u030c\u030a\u0001\u0000\u0000\u0000\u030d\u0316\u0001\u0000\u0000"+ + "\u0000\u030e\u030f\n\u0002\u0000\u0000\u030f\u0310\u0007\u0006\u0000\u0000"+ + "\u0310\u0315\u0003\u009aM\u0003\u0311\u0312\n\u0001\u0000\u0000\u0312"+ + "\u0313\u0007\u0005\u0000\u0000\u0313\u0315\u0003\u009aM\u0002\u0314\u030e"+ + "\u0001\u0000\u0000\u0000\u0314\u0311\u0001\u0000\u0000\u0000\u0315\u0318"+ + "\u0001\u0000\u0000\u0000\u0316\u0314\u0001\u0000\u0000\u0000\u0316\u0317"+ + "\u0001\u0000\u0000\u0000\u0317\u009b\u0001\u0000\u0000\u0000\u0318\u0316"+ + "\u0001\u0000\u0000\u0000\u0319\u031a\u0006N\uffff\uffff\u0000\u031a\u0322"+ + "\u0003\u00a8T\u0000\u031b\u0322\u00038\u001c\u0000\u031c\u0322\u0003\u009e"+ + "O\u0000\u031d\u031e\u0005b\u0000\u0000\u031e\u031f\u0003\u0092I\u0000"+ + "\u031f\u0320\u0005c\u0000\u0000\u0320\u0322\u0001\u0000\u0000\u0000\u0321"+ + "\u0319\u0001\u0000\u0000\u0000\u0321\u031b\u0001\u0000\u0000\u0000\u0321"+ + "\u031c\u0001\u0000\u0000\u0000\u0321\u031d\u0001\u0000\u0000\u0000\u0322"+ + "\u0328\u0001\u0000\u0000\u0000\u0323\u0324\n\u0001\u0000\u0000\u0324\u0325"+ + "\u0005:\u0000\u0000\u0325\u0327\u0003\f\u0006\u0000\u0326\u0323\u0001"+ + "\u0000\u0000\u0000\u0327\u032a\u0001\u0000\u0000\u0000\u0328\u0326\u0001"+ + "\u0000\u0000\u0000\u0328\u0329\u0001\u0000\u0000\u0000\u0329\u009d\u0001"+ + "\u0000\u0000\u0000\u032a\u0328\u0001\u0000\u0000\u0000\u032b\u032c\u0003"+ + "\u00a0P\u0000\u032c\u033a\u0005b\u0000\u0000\u032d\u033b\u0005X\u0000"+ + "\u0000\u032e\u0333\u0003\u0092I\u0000\u032f\u0330\u0005=\u0000\u0000\u0330"+ + "\u0332\u0003\u0092I\u0000\u0331\u032f\u0001\u0000\u0000\u0000\u0332\u0335"+ + "\u0001\u0000\u0000\u0000\u0333\u0331\u0001\u0000\u0000\u0000\u0333\u0334"+ + "\u0001\u0000\u0000\u0000\u0334\u0338\u0001\u0000\u0000\u0000\u0335\u0333"+ + "\u0001\u0000\u0000\u0000\u0336\u0337\u0005=\u0000\u0000\u0337\u0339\u0003"+ + "\u00a2Q\u0000\u0338\u0336\u0001\u0000\u0000\u0000\u0338\u0339\u0001\u0000"+ + "\u0000\u0000\u0339\u033b\u0001\u0000\u0000\u0000\u033a\u032d\u0001\u0000"+ + "\u0000\u0000\u033a\u032e\u0001\u0000\u0000\u0000\u033a\u033b\u0001\u0000"+ + "\u0000\u0000\u033b\u033c\u0001\u0000\u0000\u0000\u033c\u033d\u0005c\u0000"+ + "\u0000\u033d\u009f\u0001\u0000\u0000\u0000\u033e\u0342\u0003J%\u0000\u033f"+ + "\u0342\u0005A\u0000\u0000\u0340\u0342\u0005D\u0000\u0000\u0341\u033e\u0001"+ + "\u0000\u0000\u0000\u0341\u033f\u0001\u0000\u0000\u0000\u0341\u0340\u0001"+ + "\u0000\u0000\u0000\u0342\u00a1\u0001\u0000\u0000\u0000\u0343\u034c\u0005"+ + "[\u0000\u0000\u0344\u0349\u0003\u00a4R\u0000\u0345\u0346\u0005=\u0000"+ + "\u0000\u0346\u0348\u0003\u00a4R\u0000\u0347\u0345\u0001\u0000\u0000\u0000"+ + "\u0348\u034b\u0001\u0000\u0000\u0000\u0349\u0347\u0001\u0000\u0000\u0000"+ + "\u0349\u034a\u0001\u0000\u0000\u0000\u034a\u034d\u0001\u0000\u0000\u0000"+ + "\u034b\u0349\u0001\u0000\u0000\u0000\u034c\u0344\u0001\u0000\u0000\u0000"+ + "\u034c\u034d\u0001\u0000\u0000\u0000\u034d\u034e\u0001\u0000\u0000\u0000"+ + "\u034e\u034f\u0005\\\u0000\u0000\u034f\u00a3\u0001\u0000\u0000\u0000\u0350"+ + "\u0351\u0003\u00b2Y\u0000\u0351\u0352\u0005;\u0000\u0000\u0352\u0353\u0003"+ + "\u00a6S\u0000\u0353\u00a5\u0001\u0000\u0000\u0000\u0354\u0357\u0003\u00a8"+ + "T\u0000\u0355\u0357\u0003\u00a2Q\u0000\u0356\u0354\u0001\u0000\u0000\u0000"+ + "\u0356\u0355\u0001\u0000\u0000\u0000\u0357\u00a7\u0001\u0000\u0000\u0000"+ + "\u0358\u0383\u0005G\u0000\u0000\u0359\u035a\u0003\u00b0X\u0000\u035a\u035b"+ + "\u0005d\u0000\u0000\u035b\u0383\u0001\u0000\u0000\u0000\u035c\u0383\u0003"+ + "\u00aeW\u0000\u035d\u0383\u0003\u00b0X\u0000\u035e\u0383\u0003\u00aaU"+ + "\u0000\u035f\u0383\u0003F#\u0000\u0360\u0383\u0003\u00b2Y\u0000\u0361"+ + "\u0362\u0005`\u0000\u0000\u0362\u0367\u0003\u00acV\u0000\u0363\u0364\u0005"+ + "=\u0000\u0000\u0364\u0366\u0003\u00acV\u0000\u0365\u0363\u0001\u0000\u0000"+ + "\u0000\u0366\u0369\u0001\u0000\u0000\u0000\u0367\u0365\u0001\u0000\u0000"+ + "\u0000\u0367\u0368\u0001\u0000\u0000\u0000\u0368\u036a\u0001\u0000\u0000"+ + "\u0000\u0369\u0367\u0001\u0000\u0000\u0000\u036a\u036b\u0005a\u0000\u0000"+ + "\u036b\u0383\u0001\u0000\u0000\u0000\u036c\u036d\u0005`\u0000\u0000\u036d"+ + "\u0372\u0003\u00aaU\u0000\u036e\u036f\u0005=\u0000\u0000\u036f\u0371\u0003"+ + "\u00aaU\u0000\u0370\u036e\u0001\u0000\u0000\u0000\u0371\u0374\u0001\u0000"+ + "\u0000\u0000\u0372\u0370\u0001\u0000\u0000\u0000\u0372\u0373\u0001\u0000"+ + "\u0000\u0000\u0373\u0375\u0001\u0000\u0000\u0000\u0374\u0372\u0001\u0000"+ + "\u0000\u0000\u0375\u0376\u0005a\u0000\u0000\u0376\u0383\u0001\u0000\u0000"+ + "\u0000\u0377\u0378\u0005`\u0000\u0000\u0378\u037d\u0003\u00b2Y\u0000\u0379"+ + "\u037a\u0005=\u0000\u0000\u037a\u037c\u0003\u00b2Y\u0000\u037b\u0379\u0001"+ + "\u0000\u0000\u0000\u037c\u037f\u0001\u0000\u0000\u0000\u037d\u037b\u0001"+ + "\u0000\u0000\u0000\u037d\u037e\u0001\u0000\u0000\u0000\u037e\u0380\u0001"+ + "\u0000\u0000\u0000\u037f\u037d\u0001\u0000\u0000\u0000\u0380\u0381\u0005"+ + "a\u0000\u0000\u0381\u0383\u0001\u0000\u0000\u0000\u0382\u0358\u0001\u0000"+ + "\u0000\u0000\u0382\u0359\u0001\u0000\u0000\u0000\u0382\u035c\u0001\u0000"+ + "\u0000\u0000\u0382\u035d\u0001\u0000\u0000\u0000\u0382\u035e\u0001\u0000"+ + "\u0000\u0000\u0382\u035f\u0001\u0000\u0000\u0000\u0382\u0360\u0001\u0000"+ + "\u0000\u0000\u0382\u0361\u0001\u0000\u0000\u0000\u0382\u036c\u0001\u0000"+ + "\u0000\u0000\u0382\u0377\u0001\u0000\u0000\u0000\u0383\u00a9\u0001\u0000"+ + "\u0000\u0000\u0384\u0385\u0007\u0007\u0000\u0000\u0385\u00ab\u0001\u0000"+ + "\u0000\u0000\u0386\u0389\u0003\u00aeW\u0000\u0387\u0389\u0003\u00b0X\u0000"+ + "\u0388\u0386\u0001\u0000\u0000\u0000\u0388\u0387\u0001\u0000\u0000\u0000"+ + "\u0389\u00ad\u0001\u0000\u0000\u0000\u038a\u038c\u0007\u0005\u0000\u0000"+ + "\u038b\u038a\u0001\u0000\u0000\u0000\u038b\u038c\u0001\u0000\u0000\u0000"+ + "\u038c\u038d\u0001\u0000\u0000\u0000\u038d\u038e\u00055\u0000\u0000\u038e"+ + "\u00af\u0001\u0000\u0000\u0000\u038f\u0391\u0007\u0005\u0000\u0000\u0390"+ + "\u038f\u0001\u0000\u0000\u0000\u0390\u0391\u0001\u0000\u0000\u0000\u0391"+ + "\u0392\u0001\u0000\u0000\u0000\u0392\u0393\u00054\u0000\u0000\u0393\u00b1"+ + "\u0001\u0000\u0000\u0000\u0394\u0395\u00053\u0000\u0000\u0395\u00b3\u0001"+ + "\u0000\u0000\u0000\u0396\u0397\u0007\b\u0000\u0000\u0397\u00b5\u0001\u0000"+ + "\u0000\u0000\u0398\u0399\u0007\t\u0000\u0000\u0399\u039a\u0005{\u0000"+ + "\u0000\u039a\u039b\u0003\u00b8\\\u0000\u039b\u039c\u0003\u00ba]\u0000"+ + "\u039c\u00b7\u0001\u0000\u0000\u0000\u039d\u039e\u0004\\\u000f\u0000\u039e"+ + "\u03a0\u0003$\u0012\u0000\u039f\u03a1\u0005\u008d\u0000\u0000\u03a0\u039f"+ + "\u0001\u0000\u0000\u0000\u03a0\u03a1\u0001\u0000\u0000\u0000\u03a1\u03a2"+ + "\u0001\u0000\u0000\u0000\u03a2\u03a3\u0005j\u0000\u0000\u03a3\u03a6\u0001"+ + "\u0000\u0000\u0000\u03a4\u03a6\u0003$\u0012\u0000\u03a5\u039d\u0001\u0000"+ + "\u0000\u0000\u03a5\u03a4\u0001\u0000\u0000\u0000\u03a6\u00b9\u0001\u0000"+ + "\u0000\u0000\u03a7\u03a8\u0005I\u0000\u0000\u03a8\u03ad\u0003\u0092I\u0000"+ + "\u03a9\u03aa\u0005=\u0000\u0000\u03aa\u03ac\u0003\u0092I\u0000\u03ab\u03a9"+ + "\u0001\u0000\u0000\u0000\u03ac\u03af\u0001\u0000\u0000\u0000\u03ad\u03ab"+ + "\u0001\u0000\u0000\u0000\u03ad\u03ae\u0001\u0000\u0000\u0000\u03ae\u00bb"+ + "\u0001\u0000\u0000\u0000\u03af\u03ad\u0001\u0000\u0000\u0000[\u00c0\u00c8"+ + "\u00d5\u00de\u00f9\u0108\u010e\u0117\u011d\u012a\u012e\u0133\u013b\u014b"+ + "\u015b\u0163\u0167\u016e\u0174\u0179\u0182\u0189\u018f\u0198\u019f\u01a7"+ + "\u01af\u01b3\u01b7\u01bc\u01c7\u01cc\u01d0\u01de\u01e9\u01ef\u01f6\u01ff"+ + "\u0216\u021e\u0221\u0228\u0233\u023a\u0242\u0250\u0259\u0264\u026e\u0274"+ + "\u0276\u0282\u0287\u0295\u02a6\u02af\u02b7\u02bc\u02c4\u02c6\u02cb\u02d2"+ + "\u02d9\u02e2\u02e9\u02f2\u02f7\u02fc\u0306\u030c\u0314\u0316\u0321\u0328"+ + "\u0333\u0338\u033a\u0341\u0349\u034c\u0356\u0367\u0372\u037d\u0382\u0388"+ + "\u038b\u0390\u03a0\u03a5\u03ad"; public static final ATN _ATN = new ATNDeserializer().deserialize(_serializedATN.toCharArray()); static { diff --git a/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/parser/EsqlBaseParserBaseListener.java b/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/parser/EsqlBaseParserBaseListener.java index 028294bf8c2e9..b3e068d7517f7 100644 --- a/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/parser/EsqlBaseParserBaseListener.java +++ b/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/parser/EsqlBaseParserBaseListener.java @@ -212,6 +212,42 @@ public class EsqlBaseParserBaseListener implements EsqlBaseParserListener { *

The default implementation does nothing.

*/ @Override public void exitIndexPatternAndMetadataFields(EsqlBaseParser.IndexPatternAndMetadataFieldsContext ctx) { } + /** + * {@inheritDoc} + * + *

The default implementation does nothing.

+ */ + @Override public void enterIndexPatternOrSubquery(EsqlBaseParser.IndexPatternOrSubqueryContext ctx) { } + /** + * {@inheritDoc} + * + *

The default implementation does nothing.

+ */ + @Override public void exitIndexPatternOrSubquery(EsqlBaseParser.IndexPatternOrSubqueryContext ctx) { } + /** + * {@inheritDoc} + * + *

The default implementation does nothing.

+ */ + @Override public void enterSubquery(EsqlBaseParser.SubqueryContext ctx) { } + /** + * {@inheritDoc} + * + *

The default implementation does nothing.

+ */ + @Override public void exitSubquery(EsqlBaseParser.SubqueryContext ctx) { } + /** + * {@inheritDoc} + * + *

The default implementation does nothing.

+ */ + @Override public void enterSubqueryProcessingCommand(EsqlBaseParser.SubqueryProcessingCommandContext ctx) { } + /** + * {@inheritDoc} + * + *

The default implementation does nothing.

+ */ + @Override public void exitSubqueryProcessingCommand(EsqlBaseParser.SubqueryProcessingCommandContext ctx) { } /** * {@inheritDoc} * diff --git a/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/parser/EsqlBaseParserBaseVisitor.java b/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/parser/EsqlBaseParserBaseVisitor.java index ee042750b86eb..3714ff9144d7f 100644 --- a/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/parser/EsqlBaseParserBaseVisitor.java +++ b/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/parser/EsqlBaseParserBaseVisitor.java @@ -132,6 +132,27 @@ public class EsqlBaseParserBaseVisitor extends AbstractParseTreeVisitor im * {@link #visitChildren} on {@code ctx}.

*/ @Override public T visitIndexPatternAndMetadataFields(EsqlBaseParser.IndexPatternAndMetadataFieldsContext ctx) { return visitChildren(ctx); } + /** + * {@inheritDoc} + * + *

The default implementation returns the result of calling + * {@link #visitChildren} on {@code ctx}.

+ */ + @Override public T visitIndexPatternOrSubquery(EsqlBaseParser.IndexPatternOrSubqueryContext ctx) { return visitChildren(ctx); } + /** + * {@inheritDoc} + * + *

The default implementation returns the result of calling + * {@link #visitChildren} on {@code ctx}.

+ */ + @Override public T visitSubquery(EsqlBaseParser.SubqueryContext ctx) { return visitChildren(ctx); } + /** + * {@inheritDoc} + * + *

The default implementation returns the result of calling + * {@link #visitChildren} on {@code ctx}.

+ */ + @Override public T visitSubqueryProcessingCommand(EsqlBaseParser.SubqueryProcessingCommandContext ctx) { return visitChildren(ctx); } /** * {@inheritDoc} * diff --git a/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/parser/EsqlBaseParserListener.java b/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/parser/EsqlBaseParserListener.java index e1c5d840b31e0..d90ae43bdc3c8 100644 --- a/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/parser/EsqlBaseParserListener.java +++ b/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/parser/EsqlBaseParserListener.java @@ -181,6 +181,36 @@ public interface EsqlBaseParserListener extends ParseTreeListener { * @param ctx the parse tree */ void exitIndexPatternAndMetadataFields(EsqlBaseParser.IndexPatternAndMetadataFieldsContext ctx); + /** + * Enter a parse tree produced by {@link EsqlBaseParser#indexPatternOrSubquery}. + * @param ctx the parse tree + */ + void enterIndexPatternOrSubquery(EsqlBaseParser.IndexPatternOrSubqueryContext ctx); + /** + * Exit a parse tree produced by {@link EsqlBaseParser#indexPatternOrSubquery}. + * @param ctx the parse tree + */ + void exitIndexPatternOrSubquery(EsqlBaseParser.IndexPatternOrSubqueryContext ctx); + /** + * Enter a parse tree produced by {@link EsqlBaseParser#subquery}. + * @param ctx the parse tree + */ + void enterSubquery(EsqlBaseParser.SubqueryContext ctx); + /** + * Exit a parse tree produced by {@link EsqlBaseParser#subquery}. + * @param ctx the parse tree + */ + void exitSubquery(EsqlBaseParser.SubqueryContext ctx); + /** + * Enter a parse tree produced by {@link EsqlBaseParser#subqueryProcessingCommand}. + * @param ctx the parse tree + */ + void enterSubqueryProcessingCommand(EsqlBaseParser.SubqueryProcessingCommandContext ctx); + /** + * Exit a parse tree produced by {@link EsqlBaseParser#subqueryProcessingCommand}. + * @param ctx the parse tree + */ + void exitSubqueryProcessingCommand(EsqlBaseParser.SubqueryProcessingCommandContext ctx); /** * Enter a parse tree produced by {@link EsqlBaseParser#indexPattern}. * @param ctx the parse tree diff --git a/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/parser/EsqlBaseParserVisitor.java b/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/parser/EsqlBaseParserVisitor.java index 95a6959272d31..6cd61d38d0b80 100644 --- a/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/parser/EsqlBaseParserVisitor.java +++ b/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/parser/EsqlBaseParserVisitor.java @@ -117,6 +117,24 @@ public interface EsqlBaseParserVisitor extends ParseTreeVisitor { * @return the visitor result */ T visitIndexPatternAndMetadataFields(EsqlBaseParser.IndexPatternAndMetadataFieldsContext ctx); + /** + * Visit a parse tree produced by {@link EsqlBaseParser#indexPatternOrSubquery}. + * @param ctx the parse tree + * @return the visitor result + */ + T visitIndexPatternOrSubquery(EsqlBaseParser.IndexPatternOrSubqueryContext ctx); + /** + * Visit a parse tree produced by {@link EsqlBaseParser#subquery}. + * @param ctx the parse tree + * @return the visitor result + */ + T visitSubquery(EsqlBaseParser.SubqueryContext ctx); + /** + * Visit a parse tree produced by {@link EsqlBaseParser#subqueryProcessingCommand}. + * @param ctx the parse tree + * @return the visitor result + */ + T visitSubqueryProcessingCommand(EsqlBaseParser.SubqueryProcessingCommandContext ctx); /** * Visit a parse tree produced by {@link EsqlBaseParser#indexPattern}. * @param ctx the parse tree diff --git a/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/parser/LogicalPlanBuilder.java b/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/parser/LogicalPlanBuilder.java index dbd18446e748d..3a901be6500da 100644 --- a/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/parser/LogicalPlanBuilder.java +++ b/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/parser/LogicalPlanBuilder.java @@ -73,7 +73,9 @@ import org.elasticsearch.xpack.esql.plan.logical.Rename; import org.elasticsearch.xpack.esql.plan.logical.Row; import org.elasticsearch.xpack.esql.plan.logical.Sample; +import org.elasticsearch.xpack.esql.plan.logical.Subquery; import org.elasticsearch.xpack.esql.plan.logical.TimeSeriesAggregate; +import org.elasticsearch.xpack.esql.plan.logical.UnionAll; import org.elasticsearch.xpack.esql.plan.logical.UnresolvedRelation; import org.elasticsearch.xpack.esql.plan.logical.fuse.Fuse; import org.elasticsearch.xpack.esql.plan.logical.inference.Completion; @@ -313,8 +315,23 @@ public LogicalPlan visitRowCommand(EsqlBaseParser.RowCommandContext ctx) { return new Row(source(ctx), (List) (List) mergeOutputExpressions(visitFields(ctx.fields()), List.of())); } - private UnresolvedRelation visitRelation(Source source, IndexMode indexMode, EsqlBaseParser.IndexPatternAndMetadataFieldsContext ctx) { - IndexPattern table = new IndexPattern(source, visitIndexPattern(ctx.indexPattern())); + private LogicalPlan visitRelation(Source source, IndexMode indexMode, EsqlBaseParser.IndexPatternAndMetadataFieldsContext ctx) { + List ctxs = ctx == null ? null : ctx.indexPatternOrSubquery(); + List indexPatternsCtx = new ArrayList<>(); + List subqueriesCtx = new ArrayList<>(); + if (ctxs != null) { + ctxs.forEach(c -> { + if (c.indexPattern() != null) { + indexPatternsCtx.add(c.indexPattern()); + } else { + subqueriesCtx.add(c.subquery()); + } + }); + } else { // We should not reach here as the grammar does not allow it + throw new ParsingException("no index pattern or subquery provided"); + } + IndexPattern table = new IndexPattern(source, visitIndexPattern(indexPatternsCtx)); + List subqueries = visitSubqueriesInFromCommand(subqueriesCtx); Map metadataMap = new LinkedHashMap<>(); if (ctx.metadata() != null) { for (var c : ctx.metadata().UNQUOTED_SOURCE()) { @@ -331,7 +348,93 @@ private UnresolvedRelation visitRelation(Source source, IndexMode indexMode, Esq } List metadataFields = List.of(metadataMap.values().toArray(Attribute[]::new)); final String commandName = indexMode == IndexMode.TIME_SERIES ? "TS" : "FROM"; - return new UnresolvedRelation(source, table, false, metadataFields, indexMode, null, commandName); + UnresolvedRelation unresolvedRelation = new UnresolvedRelation(source, table, false, metadataFields, indexMode, null, commandName); + if (subqueries.isEmpty()) { + return unresolvedRelation; + } else { + // subquery is not supported with time-series indices at the moment + if (indexMode == IndexMode.TIME_SERIES) { + throw new ParsingException(source, "Subqueries are not supported in TS command"); + } + // If the subquery has only from command, combine the subquery index patterns into the main index pattern + // from idx1, idx2, (from idx3), (from idx4) => from idx1, idx2, idx3, idx4 + List remainingSubqueries = new ArrayList<>(subqueries.size()); + for (Subquery subquery : subqueries) { + String subqueryIndexPattern = getIndexPatternIfOnlyFrom(subquery); + boolean canCombine = subqueryIndexPattern != null && metadataFields.isEmpty(); + if (canCombine) { + // the subquery has only from command without metadata fields, combine the index patterns + // as how or whether combining metadata fields is unclear yet + String existingIndexPattern = table.indexPattern(); + String combinedPattern = existingIndexPattern.isEmpty() + ? subqueryIndexPattern + : existingIndexPattern + "," + subqueryIndexPattern; + table = new IndexPattern(table.source(), combinedPattern); + unresolvedRelation = new UnresolvedRelation(source, table, false, metadataFields, indexMode, null, commandName); + } else { + remainingSubqueries.add(subquery); + } + } + + List mainQueryAndSubqueries = new ArrayList<>(remainingSubqueries.size() + 1); + if (table.indexPattern().isEmpty() == false) { + mainQueryAndSubqueries.add(unresolvedRelation); + } + mainQueryAndSubqueries.addAll(remainingSubqueries); + + if (mainQueryAndSubqueries.size() == 1) { + // if there is only one child, return it directly, no need for UnionAll + return table.indexPattern().isEmpty() ? remainingSubqueries.get(0).plan() : unresolvedRelation; + } else { + // the output of UnionAll is resolved by analyzer + return new UnionAll(source, mainQueryAndSubqueries, List.of()); + } + } + } + + /** + * If the subquery plan is only a from command, return the index pattern; otherwise return null. + */ + private String getIndexPatternIfOnlyFrom(Subquery subquery) { + LogicalPlan plan = subquery.plan(); + if (plan instanceof UnresolvedRelation ur) { + return ur.indexPattern().indexPattern(); + } + return null; + } + + private List visitSubqueriesInFromCommand(List ctxs) { + if (EsqlCapabilities.Cap.SUBQUERY_IN_FROM_COMMAND.isEnabled() == false) { + return List.of(); + } + if (ctxs == null) { + return List.of(); + } + List subqueries = new ArrayList<>(); + for (EsqlBaseParser.SubqueryContext ctx : ctxs) { + LogicalPlan plan = visitSubquery(ctx); + subqueries.add(new Subquery(source(ctx), plan)); + } + return subqueries; + } + + @Override + public LogicalPlan visitSubquery(EsqlBaseParser.SubqueryContext ctx) { + // build a subquery tree + EsqlBaseParser.FromCommandContext fromCtx = ctx.fromCommand(); + if (fromCtx != null) { + LogicalPlan from = visitFromCommand(fromCtx); + List processingCommands = visitList(this, ctx.subqueryProcessingCommand(), PlanFactory.class); + LogicalPlan child = from; + LogicalPlan parent = from; + for (PlanFactory processingCommand : processingCommands) { + parent = processingCommand.apply(child); + child = parent; + } + return parent; + } else { // We should not reach here as the grammar does not allow it + throw new ParsingException("FROM is required in a subquery"); + } } @Override diff --git a/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/plan/logical/Subquery.java b/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/plan/logical/Subquery.java new file mode 100644 index 0000000000000..d9065b528cbfd --- /dev/null +++ b/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/plan/logical/Subquery.java @@ -0,0 +1,120 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ +package org.elasticsearch.xpack.esql.plan.logical; + +import org.elasticsearch.common.io.stream.NamedWriteableRegistry; +import org.elasticsearch.common.io.stream.StreamInput; +import org.elasticsearch.common.io.stream.StreamOutput; +import org.elasticsearch.xpack.esql.capabilities.PostAnalysisVerificationAware; +import org.elasticsearch.xpack.esql.capabilities.TelemetryAware; +import org.elasticsearch.xpack.esql.common.Failures; +import org.elasticsearch.xpack.esql.core.expression.Attribute; +import org.elasticsearch.xpack.esql.core.tree.NodeInfo; +import org.elasticsearch.xpack.esql.core.tree.Source; +import org.elasticsearch.xpack.esql.io.stream.PlanStreamInput; + +import java.io.IOException; +import java.util.List; +import java.util.Objects; + +public class Subquery extends UnaryPlan implements PostAnalysisVerificationAware, TelemetryAware, SortAgnostic { + public static final NamedWriteableRegistry.Entry ENTRY = new NamedWriteableRegistry.Entry(LogicalPlan.class, "Subquery", Subquery::new); + + // subquery alias/qualifier could be added in the future if needed + + public Subquery(Source source, LogicalPlan subqueryPlan) { + super(source, subqueryPlan); + } + + // TODO does Subquery need to be Serializable? + private Subquery(StreamInput in) throws IOException { + this(Source.readFrom((PlanStreamInput) in), in.readNamedWriteable(LogicalPlan.class)); + } + + @Override + public void writeTo(StreamOutput out) throws IOException { + Source.EMPTY.writeTo(out); + out.writeNamedWriteable(child()); + } + + @Override + public String getWriteableName() { + return ENTRY.name; + } + + @Override + protected NodeInfo info() { + return NodeInfo.create(this, Subquery::new, child()); + } + + @Override + public UnaryPlan replaceChild(LogicalPlan newChild) { + return new Subquery(source(), newChild); + } + + @Override + public List output() { + return child().output(); + } + + @Override + public boolean expressionsResolved() { + // TODO add if needed + return true; + } + + @Override + public int hashCode() { + return Objects.hash(child()); + } + + @Override + public boolean equals(Object obj) { + if (this == obj) { + return true; + } + + if (obj == null || getClass() != obj.getClass()) { + return false; + } + + Subquery other = (Subquery) obj; + return Objects.equals(child(), other.child()); + } + + @Override + public String nodeString() { + return nodeName() + "[]"; + } + + @Override + public void postAnalysisVerification(Failures failures) { + // TODO add verification if needed + } + + public LogicalPlan plan() { + return child(); + } + + public boolean canMerge() { + // if the subquery contains from/eval/where/subquery, it can be merged + LogicalPlan child = child(); + if (child instanceof UnionAll unionAll) { + for (LogicalPlan subPlan : unionAll.children()) { + if (canMerge(subPlan) == false) { + return false; + } + } + } + return true; + } + + // more plan types could be added if needed, non-pipeline breakers + private boolean canMerge(LogicalPlan plan) { + return plan instanceof Subquery || plan instanceof Filter || plan instanceof EsRelation; + } +} diff --git a/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/plan/logical/UnionAll.java b/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/plan/logical/UnionAll.java new file mode 100644 index 0000000000000..65832a0f88eff --- /dev/null +++ b/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/plan/logical/UnionAll.java @@ -0,0 +1,119 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ +package org.elasticsearch.xpack.esql.plan.logical; + +import org.elasticsearch.xpack.esql.capabilities.PostOptimizationPlanVerificationAware; +import org.elasticsearch.xpack.esql.common.Failure; +import org.elasticsearch.xpack.esql.common.Failures; +import org.elasticsearch.xpack.esql.core.expression.Attribute; +import org.elasticsearch.xpack.esql.core.tree.NodeInfo; +import org.elasticsearch.xpack.esql.core.tree.Source; +import org.elasticsearch.xpack.esql.core.type.DataType; + +import java.util.List; +import java.util.Map; +import java.util.Objects; +import java.util.function.BiConsumer; +import java.util.stream.Collectors; + +public class UnionAll extends Fork implements PostOptimizationPlanVerificationAware { + + private final List output; + + public UnionAll(Source source, List children, List output) { + super(source, children, output); + this.output = output; + } + + @Override + public LogicalPlan replaceChildren(List newChildren) { + return new UnionAll(source(), newChildren, output); + } + + @Override + protected NodeInfo info() { + return NodeInfo.create(this, UnionAll::new, children(), output); + } + + @Override + public UnionAll replaceSubPlans(List subPlans) { + return new UnionAll(source(), subPlans, output); + } + + @Override + public int hashCode() { + return Objects.hash(UnionAll.class, children()); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + UnionAll other = (UnionAll) o; + + return Objects.equals(children(), other.children()); + } + + @Override + public BiConsumer postAnalysisPlanVerification() { + return UnionAll::checkUnionAll; + } + + private static void checkUnionAll(LogicalPlan plan, Failures failures) { + if (plan instanceof UnionAll == false) { + return; + } + UnionAll unionAll = (UnionAll) plan; + + Map outputTypes = unionAll.output().stream().collect(Collectors.toMap(Attribute::name, Attribute::dataType)); + + unionAll.children().forEach(subPlan -> { + for (Attribute attr : subPlan.output()) { + var expected = outputTypes.get(attr.name()); + + // UnionAll with unsupported types should not be allowed, otherwise runtime couldn't handle it + // Verifier checkUnresolvedAttributes should have caught it already, this check is similar to Fork + if (expected == DataType.UNSUPPORTED) { + continue; + } + + var actual = attr.dataType(); + if (actual != expected) { + failures.add( + Failure.fail( + attr, + "Column [{}] has conflicting data types in subqueries: [{}] and [{}]", + attr.name(), + actual, + expected + ) + ); + } + } + }); + } + + @Override + public BiConsumer postOptimizationPlanVerification() { + return UnionAll::checkNestedUnionAlls; + } + + private static void checkNestedUnionAlls(LogicalPlan logicalPlan, Failures failures) { + if (logicalPlan instanceof UnionAll unionAll) { + unionAll.forEachDown(UnionAll.class, otherUnionAll -> { + if (unionAll == otherUnionAll) { + return; + } + failures.add(Failure.fail(otherUnionAll, "Nested subqueries are not supported")); + }); + } + } +} diff --git a/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/planner/mapper/MapperUtils.java b/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/planner/mapper/MapperUtils.java index aabb18326fe11..181d556b60fb4 100644 --- a/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/planner/mapper/MapperUtils.java +++ b/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/planner/mapper/MapperUtils.java @@ -23,6 +23,7 @@ import org.elasticsearch.xpack.esql.plan.logical.MvExpand; import org.elasticsearch.xpack.esql.plan.logical.Project; import org.elasticsearch.xpack.esql.plan.logical.Sample; +import org.elasticsearch.xpack.esql.plan.logical.Subquery; import org.elasticsearch.xpack.esql.plan.logical.TimeSeriesAggregate; import org.elasticsearch.xpack.esql.plan.logical.UnaryPlan; import org.elasticsearch.xpack.esql.plan.logical.fuse.FuseScoreEval; @@ -143,6 +144,11 @@ static PhysicalPlan mapUnary(UnaryPlan p, PhysicalPlan child) { return new SampleExec(sample.source(), child, sample.probability()); } + if (p instanceof Subquery) { + // A Subquery node is just a placeholder for the subquery plan, so we just return the child plan + return child; + } + return unsupported(p); } diff --git a/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/session/EsqlSession.java b/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/session/EsqlSession.java index a4bfa329d8ac5..39582c4470341 100644 --- a/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/session/EsqlSession.java +++ b/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/session/EsqlSession.java @@ -458,10 +458,93 @@ public void analyzedPlan( .andThen((l, r) -> { inferenceService.inferenceResolver(functionRegistry).resolveInferenceIds(parsed, l.map(r::withInferenceResolution)); }) + .andThen( + (l, r) -> preAnalyzeSubqueryIndices(preAnalysis, preAnalysis.subqueryIndices().iterator(), r, executionInfo, l) + ) .andThen((l, r) -> analyzeWithRetry(parsed, requestFilter, preAnalysis, executionInfo, r, l)) .addListener(logicalPlanListener); } + private void preAnalyzeSubqueryIndices( + PreAnalyzer.PreAnalysis preAnalysis, + Iterator subqueryIndices, + PreAnalysisResult preAnalysisResult, + EsqlExecutionInfo executionInfo, + ActionListener listener + ) { + if (subqueryIndices.hasNext()) { + preAnalyzeSubqueryIndex( + preAnalysis, + subqueryIndices.next(), + preAnalysisResult, + executionInfo, + listener.delegateFailureAndWrap((l, r) -> { + preAnalyzeSubqueryIndices(preAnalysis, subqueryIndices, r, executionInfo, l); + }) + ); + } else { + listener.onResponse(preAnalysisResult); + } + } + + private void preAnalyzeSubqueryIndex( + PreAnalyzer.PreAnalysis preAnalysis, + IndexPattern subqueryIndexPattern, + PreAnalysisResult result, + EsqlExecutionInfo executionInfo, + ActionListener listener + ) { + assert ThreadPool.assertCurrentThreadPool( + ThreadPool.Names.SEARCH, + ThreadPool.Names.SEARCH_COORDINATION, + ThreadPool.Names.SYSTEM_READ + ); + if (subqueryIndexPattern != null) { + /* + * TODO subqueries with remote clusters need to be tested. + * Subquery index pattern can contain remote clusters, which need to be + * resolved against the available clusters. The input executionInfo is built for + * the main index pattern, not for subqueries. Create an index pattern with + * remote clusters for subquery's index pattern, make a copy of the main + * EsqlExecutionInfo for this subquery, and reuse the existing API to build + * the subqueryIndexExpression. + */ + String indexExpressionToResolve = subqueryIndexExpression(executionInfo, subqueryIndexPattern); + if (indexExpressionToResolve.isEmpty()) { + listener.onResponse( + result.addSubqueryIndexResolution(subqueryIndexPattern.indexPattern(), IndexResolution.invalid("[none available]")) + ); + return; + } + // time-series index is not supported in subqueries yet, the grammar does not allow it + indexResolver.resolveAsMergedMapping( + indexExpressionToResolve, + result.fieldNames, + null, + false, + false, + preAnalysis.supportsDenseVector(), + listener.delegateFailure((l, indexResolution) -> { + l.onResponse(result.addSubqueryIndexResolution(subqueryIndexPattern.indexPattern(), indexResolution)); + }) + ); + } else { + // occurs when dealing with local relations (row a = 1) + listener.onResponse(result.withIndices(IndexResolution.invalid("[none specified]"))); + } + } + + private String subqueryIndexExpression(EsqlExecutionInfo mainExecutionInfo, IndexPattern subqueryIndexPattern) { + // Clone mainInfo (assuming a copy constructor or similar method exists) + EsqlExecutionInfo subqueryExecutionInfo = new EsqlExecutionInfo( + mainExecutionInfo.skipOnFailurePredicate(), + mainExecutionInfo.includeCCSMetadata() + ); + EsqlCCSUtils.initCrossClusterState(indicesExpressionGrouper, verifier.licenseState(), subqueryIndexPattern, subqueryExecutionInfo); + + return EsqlCCSUtils.createIndexExpressionFromAvailableClusters(subqueryExecutionInfo); + } + private void preAnalyzeLookupIndices( Iterator lookupIndices, PreAnalysisResult preAnalysisResult, @@ -797,7 +880,15 @@ private PhysicalPlan logicalPlanToPhysicalPlan(LogicalPlan optimizedPlan, EsqlQu private LogicalPlan analyzedPlan(LogicalPlan parsed, PreAnalysisResult r, EsqlExecutionInfo executionInfo) throws Exception { handleFieldCapsFailures(configuration.allowPartialResults(), executionInfo, r.indices.failures()); Analyzer analyzer = new Analyzer( - new AnalyzerContext(configuration, functionRegistry, r.indices, r.lookupIndices, r.enrichResolution, r.inferenceResolution), + new AnalyzerContext( + configuration, + functionRegistry, + r.indices, + r.lookupIndices, + r.enrichResolution, + r.inferenceResolution, + r.subqueryIndices + ), verifier ); LogicalPlan plan = analyzer.analyze(parsed); @@ -840,15 +931,24 @@ public record PreAnalysisResult( IndexResolution indices, Map lookupIndices, EnrichResolution enrichResolution, - InferenceResolution inferenceResolution + InferenceResolution inferenceResolution, + Map subqueryIndices ) { public PreAnalysisResult(Set fieldNames, Set wildcardJoinIndices) { - this(fieldNames, wildcardJoinIndices, null, new HashMap<>(), null, InferenceResolution.EMPTY); + this(fieldNames, wildcardJoinIndices, null, new HashMap<>(), null, InferenceResolution.EMPTY, new HashMap<>()); } PreAnalysisResult withIndices(IndexResolution indices) { - return new PreAnalysisResult(fieldNames, wildcardJoinIndices, indices, lookupIndices, enrichResolution, inferenceResolution); + return new PreAnalysisResult( + fieldNames, + wildcardJoinIndices, + indices, + lookupIndices, + enrichResolution, + inferenceResolution, + subqueryIndices + ); } PreAnalysisResult addLookupIndexResolution(String index, IndexResolution indexResolution) { @@ -857,11 +957,32 @@ PreAnalysisResult addLookupIndexResolution(String index, IndexResolution indexRe } PreAnalysisResult withEnrichResolution(EnrichResolution enrichResolution) { - return new PreAnalysisResult(fieldNames, wildcardJoinIndices, indices, lookupIndices, enrichResolution, inferenceResolution); + return new PreAnalysisResult( + fieldNames, + wildcardJoinIndices, + indices, + lookupIndices, + enrichResolution, + inferenceResolution, + subqueryIndices + ); } PreAnalysisResult withInferenceResolution(InferenceResolution inferenceResolution) { - return new PreAnalysisResult(fieldNames, wildcardJoinIndices, indices, lookupIndices, enrichResolution, inferenceResolution); + return new PreAnalysisResult( + fieldNames, + wildcardJoinIndices, + indices, + lookupIndices, + enrichResolution, + inferenceResolution, + subqueryIndices + ); + } + + PreAnalysisResult addSubqueryIndexResolution(String index, IndexResolution newIndexResolution) { + subqueryIndices.put(index, newIndexResolution); + return this; } } } diff --git a/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/telemetry/FeatureMetric.java b/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/telemetry/FeatureMetric.java index 34dabe3d03782..125a104aee0c9 100644 --- a/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/telemetry/FeatureMetric.java +++ b/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/telemetry/FeatureMetric.java @@ -32,6 +32,7 @@ import org.elasticsearch.xpack.esql.plan.logical.Rename; import org.elasticsearch.xpack.esql.plan.logical.Row; import org.elasticsearch.xpack.esql.plan.logical.Sample; +import org.elasticsearch.xpack.esql.plan.logical.Subquery; import org.elasticsearch.xpack.esql.plan.logical.UnresolvedRelation; import org.elasticsearch.xpack.esql.plan.logical.fuse.Fuse; import org.elasticsearch.xpack.esql.plan.logical.fuse.FuseScoreEval; @@ -75,7 +76,8 @@ public enum FeatureMetric { FORK(Fork.class::isInstance), FUSE(Fuse.class::isInstance), COMPLETION(Completion.class::isInstance), - SAMPLE(Sample.class::isInstance); + SAMPLE(Sample.class::isInstance), + SUBQUERY(Subquery.class::isInstance); /** * List here plans we want to exclude from telemetry diff --git a/x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/CsvTests.java b/x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/CsvTests.java index 56b97759db83c..bee4c7706cf9f 100644 --- a/x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/CsvTests.java +++ b/x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/CsvTests.java @@ -340,6 +340,10 @@ public final void test() throws Throwable { "CSV tests cannot currently handle multi_match function that depends on Lucene", testCase.requiredCapabilities.contains(EsqlCapabilities.Cap.MULTI_MATCH_FUNCTION.capabilityName()) ); + assumeFalse( + "CSV tests cannot currently handle subqueries", + testCase.requiredCapabilities.contains(EsqlCapabilities.Cap.SUBQUERY_IN_FROM_COMMAND.capabilityName()) + ); if (Build.current().isSnapshot()) { assertThat( diff --git a/x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/analysis/AnalyzerTestUtils.java b/x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/analysis/AnalyzerTestUtils.java index 6f6c76efaf08e..9bf5bc7390991 100644 --- a/x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/analysis/AnalyzerTestUtils.java +++ b/x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/analysis/AnalyzerTestUtils.java @@ -93,7 +93,8 @@ public static Analyzer analyzer( indexResolution, lookupResolution, enrichResolution, - defaultInferenceResolution() + defaultInferenceResolution(), + defaultSubqueryResolution() ), verifier ); @@ -222,6 +223,17 @@ public static InferenceResolution defaultInferenceResolution() { .build(); } + public static Map defaultSubqueryResolution() { + return Map.of( + "languages", + loadMapping("mapping-languages.json", "languages"), + "sample_data", + loadMapping("mapping-sample_data.json", "sample_data"), + "test_mixed_types", + loadMapping("mapping-default-incompatible.json", "test_mixed_types") + ); + } + public static String randomInferenceId() { return ESTestCase.randomFrom(VALID_INFERENCE_IDS); } diff --git a/x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/analysis/AnalyzerTests.java b/x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/analysis/AnalyzerTests.java index a1c348000dc5b..de5a4f430e382 100644 --- a/x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/analysis/AnalyzerTests.java +++ b/x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/analysis/AnalyzerTests.java @@ -45,6 +45,7 @@ import org.elasticsearch.xpack.esql.core.type.MultiTypeEsField; import org.elasticsearch.xpack.esql.core.type.PotentiallyUnmappedKeywordEsField; import org.elasticsearch.xpack.esql.enrich.ResolvedEnrichPolicy; +import org.elasticsearch.xpack.esql.expression.Order; import org.elasticsearch.xpack.esql.expression.function.EsqlFunctionRegistry; import org.elasticsearch.xpack.esql.expression.function.UnsupportedAttribute; import org.elasticsearch.xpack.esql.expression.function.aggregate.Count; @@ -88,13 +89,17 @@ import org.elasticsearch.xpack.esql.plan.logical.Limit; import org.elasticsearch.xpack.esql.plan.logical.LogicalPlan; import org.elasticsearch.xpack.esql.plan.logical.Lookup; +import org.elasticsearch.xpack.esql.plan.logical.MvExpand; import org.elasticsearch.xpack.esql.plan.logical.OrderBy; import org.elasticsearch.xpack.esql.plan.logical.Project; import org.elasticsearch.xpack.esql.plan.logical.Row; +import org.elasticsearch.xpack.esql.plan.logical.Subquery; +import org.elasticsearch.xpack.esql.plan.logical.UnionAll; import org.elasticsearch.xpack.esql.plan.logical.UnresolvedRelation; import org.elasticsearch.xpack.esql.plan.logical.fuse.FuseScoreEval; import org.elasticsearch.xpack.esql.plan.logical.inference.Completion; import org.elasticsearch.xpack.esql.plan.logical.inference.Rerank; +import org.elasticsearch.xpack.esql.plan.logical.join.LookupJoin; import org.elasticsearch.xpack.esql.plan.logical.local.EsqlProject; import org.elasticsearch.xpack.esql.plugin.EsqlPlugin; import org.elasticsearch.xpack.esql.session.IndexResolver; @@ -143,6 +148,7 @@ import static org.elasticsearch.xpack.esql.core.type.DataType.DATE_PERIOD; import static org.elasticsearch.xpack.esql.core.type.DataType.DENSE_VECTOR; import static org.elasticsearch.xpack.esql.core.type.DataType.DOUBLE; +import static org.elasticsearch.xpack.esql.core.type.DataType.INTEGER; import static org.elasticsearch.xpack.esql.core.type.DataType.KEYWORD; import static org.elasticsearch.xpack.esql.core.type.DataType.LONG; import static org.elasticsearch.xpack.esql.core.type.DataType.UNSUPPORTED; @@ -266,7 +272,7 @@ public void testRowAttributeResolution() { var plan = analyzer.analyze( new Eval( EMPTY, - new Row(EMPTY, List.of(new Alias(EMPTY, "emp_no", new Literal(EMPTY, 1, DataType.INTEGER)))), + new Row(EMPTY, List.of(new Alias(EMPTY, "emp_no", new Literal(EMPTY, 1, INTEGER)))), List.of(new Alias(EMPTY, "e", new UnresolvedAttribute(EMPTY, "emp_no"))) ) ); @@ -274,7 +280,7 @@ public void testRowAttributeResolution() { var limit = as(plan, Limit.class); var eval = as(limit.child(), Eval.class); assertEquals(1, eval.fields().size()); - assertEquals(new Alias(EMPTY, "e", new ReferenceAttribute(EMPTY, "emp_no", DataType.INTEGER)), eval.fields().get(0)); + assertEquals(new Alias(EMPTY, "e", new ReferenceAttribute(EMPTY, "emp_no", INTEGER)), eval.fields().get(0)); assertEquals(2, eval.output().size()); Attribute empNo = eval.output().get(0); @@ -405,16 +411,16 @@ public void testNoProjection() { from test """, DataType.KEYWORD, - DataType.INTEGER, + INTEGER, DataType.KEYWORD, DataType.TEXT, DATETIME, DataType.TEXT, DataType.KEYWORD, - DataType.INTEGER, + INTEGER, DataType.KEYWORD, DataType.LONG, - DataType.INTEGER + INTEGER ); } @@ -1919,7 +1925,7 @@ public void testUnresolvedMvExpand() { public void testRegularStats() { var plan = analyze(""" - from tests + from test | stats by salary """); @@ -2663,7 +2669,7 @@ private void validateConditionalFunctions(LogicalPlan plan) { assertEquals(projection.dataType(), DataType.DOUBLE); projection = as(projections.get(1), ReferenceAttribute.class); assertEquals(projection.name(), "y"); - assertEquals(projection.dataType(), DataType.INTEGER); + assertEquals(projection.dataType(), INTEGER); projection = as(projections.get(2), ReferenceAttribute.class); assertEquals(projection.name(), "z"); assertEquals(projection.dataType(), DataType.LONG); @@ -3139,7 +3145,7 @@ public void testResolveInsist_fieldExists_insistedOutputContainsNoUnmappedFields Attribute last = plan.output().getLast(); assertThat(last.name(), is("emp_no")); - assertThat(last.dataType(), is(DataType.INTEGER)); + assertThat(last.dataType(), is(INTEGER)); assertThat( plan.output() .stream() @@ -4641,6 +4647,381 @@ public void testTBucketWithDatePeriodInBothAggregationAndGrouping() { assertEquals(oneWeek, literal); } + public void testSubqueryInFrom() { + assumeTrue("Requires subquery in FROM command support", EsqlCapabilities.Cap.SUBQUERY_IN_FROM_COMMAND.isEnabled()); + LogicalPlan plan = analyze(""" + FROM test, (FROM languages | WHERE language_code > 1) + | WHERE emp_no > 10000 + | SORT emp_no, language_code + """); + + Limit limit = as(plan, Limit.class); + OrderBy orderBy = as(limit.child(), OrderBy.class); + List order = orderBy.order(); + assertEquals(2, order.size()); + ReferenceAttribute empNo = as(order.get(0).child(), ReferenceAttribute.class); + assertEquals("emp_no", empNo.name()); + ReferenceAttribute languageCode = as(order.get(1).child(), ReferenceAttribute.class); + assertEquals("language_code", languageCode.name()); + Filter filter = as(orderBy.child(), Filter.class); + GreaterThan greaterThan = as(filter.condition(), GreaterThan.class); + empNo = as(greaterThan.left(), ReferenceAttribute.class); + assertEquals("emp_no", empNo.name()); + Literal literal = as(greaterThan.right(), Literal.class); + assertEquals(10000, literal.value()); + UnionAll unionAll = as(filter.child(), UnionAll.class); + assertEquals(2, unionAll.children().size()); + // leg1 + Limit subqueryLimit = as(unionAll.children().get(0), Limit.class); + Literal limitLiteral = as(subqueryLimit.limit(), Literal.class); + assertEquals(1000, limitLiteral.value()); + EsqlProject subqueryProject = as(subqueryLimit.child(), EsqlProject.class); + List projections = subqueryProject.projections(); + assertEquals(13, projections.size()); // all fields from the two indices + Eval subqueryEval = as(subqueryProject.child(), Eval.class); + List aliases = subqueryEval.fields(); // nullEvals from languages index + assertEquals(2, aliases.size()); + assertEquals("language_code", aliases.get(0).name()); + Literal nullLiteral = as(aliases.get(0).child(), Literal.class); + assertNull(nullLiteral.value()); + assertEquals(INTEGER, nullLiteral.dataType()); + assertEquals("language_name", aliases.get(1).name()); + nullLiteral = as(aliases.get(1).child(), Literal.class); + assertNull(nullLiteral.value()); + assertEquals(KEYWORD, nullLiteral.dataType()); + EsRelation subqueryIndex = as(subqueryEval.child(), EsRelation.class); + assertEquals("test", subqueryIndex.indexPattern()); + // leg2 + subqueryLimit = as(unionAll.children().get(1), Limit.class); + limitLiteral = as(subqueryLimit.limit(), Literal.class); + assertEquals(1000, limitLiteral.value()); + subqueryProject = as(subqueryLimit.child(), EsqlProject.class); + projections = subqueryProject.projections(); + assertEquals(13, projections.size()); // all fields from the two indices + subqueryEval = as(subqueryProject.child(), Eval.class); + aliases = subqueryEval.fields(); // nullEvals from test index + assertEquals(11, aliases.size()); + Subquery subquery = as(subqueryEval.child(), Subquery.class); + Filter subqueryFilter = as(subquery.child(), Filter.class); + subqueryIndex = as(subqueryFilter.child(), EsRelation.class); + assertEquals("languages", subqueryIndex.indexPattern()); + } + + public void testMultipleSubqueriesInFrom() { + assumeTrue("Requires subquery in FROM command support", EsqlCapabilities.Cap.SUBQUERY_IN_FROM_COMMAND.isEnabled()); + LogicalPlan plan = analyze(""" + FROM test + , (FROM languages | WHERE language_code > 10 | RENAME language_name as languageName) + , (FROM sample_data | STATS max(@timestamp)) + , (FROM test | EVAL language_code = languages | LOOKUP JOIN languages_lookup ON language_code) + | WHERE emp_no > 10000 + | STATS count(*) by emp_no, language_code + | RENAME emp_no AS empNo, language_code AS languageCode + | MV_EXPAND languageCode + """); + + Limit limit = as(plan, Limit.class); + MvExpand mvExpand = as(limit.child(), MvExpand.class); + NamedExpression mvExpandTarget = as(mvExpand.target(), NamedExpression.class); + assertEquals("languageCode", mvExpandTarget.name()); + ReferenceAttribute mvExpandExpanded = as(mvExpand.expanded(), ReferenceAttribute.class); + assertEquals("languageCode", mvExpandExpanded.name()); + EsqlProject rename = as(mvExpand.child(), EsqlProject.class); + List projections = rename.projections(); + assertEquals(3, projections.size()); + Alias a = as(projections.get(1), Alias.class); + assertEquals("empNo", a.name()); + ReferenceAttribute ra = as(a.child(), ReferenceAttribute.class); + assertEquals("emp_no", ra.name()); + a = as(projections.get(2), Alias.class); + assertEquals("languageCode", a.name()); + ra = as(a.child(), ReferenceAttribute.class); + assertEquals("language_code", ra.name()); + Aggregate aggregate = as(rename.child(), Aggregate.class); + List aggregates = aggregate.aggregates(); + assertEquals(3, aggregates.size()); + a = as(aggregates.get(0), Alias.class); + assertEquals("count(*)", a.name()); + List groupings = aggregate.groupings(); + assertEquals(2, groupings.size()); + ra = as(groupings.get(0), ReferenceAttribute.class); + assertEquals("emp_no", ra.name()); + ra = as(groupings.get(1), ReferenceAttribute.class); + assertEquals("language_code", ra.name()); + Filter filter = as(aggregate.child(), Filter.class); + GreaterThan greaterThan = as(filter.condition(), GreaterThan.class); + ReferenceAttribute empNo = as(greaterThan.left(), ReferenceAttribute.class); + assertEquals("emp_no", empNo.name()); + Literal literal = as(greaterThan.right(), Literal.class); + assertEquals(10000, literal.value()); + UnionAll unionAll = as(filter.child(), UnionAll.class); + assertEquals(4, unionAll.children().size()); + // leg1 + Limit subqueryLimit = as(unionAll.children().get(0), Limit.class); + Literal limitLiteral = as(subqueryLimit.limit(), Literal.class); + assertEquals(1000, limitLiteral.value()); + EsqlProject subqueryProject = as(subqueryLimit.child(), EsqlProject.class); + projections = subqueryProject.projections(); + assertEquals(15, projections.size()); // all fields from the other legs + Eval subqueryEval = as(subqueryProject.child(), Eval.class); + List aliases = subqueryEval.fields(); // nullEvals from the other legs + assertEquals(4, aliases.size()); + EsRelation subqueryIndex = as(subqueryEval.child(), EsRelation.class); + assertEquals("test", subqueryIndex.indexPattern()); + // leg2 + subqueryLimit = as(unionAll.children().get(1), Limit.class); + subqueryProject = as(subqueryLimit.child(), EsqlProject.class); + projections = subqueryProject.projections(); + assertEquals(15, projections.size()); // all fields from the other legs + subqueryEval = as(subqueryProject.child(), Eval.class); + aliases = subqueryEval.fields(); // nullEvals from the other legs + assertEquals(13, aliases.size()); + Subquery subquery = as(subqueryEval.child(), Subquery.class); + rename = as(subquery.child(), EsqlProject.class); + List renameProjections = rename.projections(); + assertEquals(2, renameProjections.size()); + FieldAttribute language_code = as(renameProjections.get(0), FieldAttribute.class); + assertEquals("language_code", language_code.name()); + a = as(renameProjections.get(1), Alias.class); + assertEquals("languageName", a.name()); + FieldAttribute language_name = as(a.child(), FieldAttribute.class); + assertEquals("language_name", language_name.name()); + Filter subqueryFilter = as(rename.child(), Filter.class); + greaterThan = as(subqueryFilter.condition(), GreaterThan.class); + language_code = as(greaterThan.left(), FieldAttribute.class); + assertEquals("language_code", language_code.name()); + literal = as(greaterThan.right(), Literal.class); + assertEquals(10, literal.value()); + subqueryIndex = as(subqueryFilter.child(), EsRelation.class); + assertEquals("languages", subqueryIndex.indexPattern()); + // leg3 + subqueryLimit = as(unionAll.children().get(2), Limit.class); + subqueryProject = as(subqueryLimit.child(), EsqlProject.class); + projections = subqueryProject.projections(); + assertEquals(15, projections.size()); // all fields from the other legs + subqueryEval = as(subqueryProject.child(), Eval.class); + aliases = subqueryEval.fields(); // nullEvals from the other legs + assertEquals(14, aliases.size()); + subquery = as(subqueryEval.child(), Subquery.class); + Aggregate subqueryAggregate = as(subquery.child(), Aggregate.class); + subqueryIndex = as(subqueryAggregate.child(), EsRelation.class); + assertEquals("sample_data", subqueryIndex.indexPattern()); + // leg4 + subqueryLimit = as(unionAll.children().get(3), Limit.class); + subqueryProject = as(subqueryLimit.child(), EsqlProject.class); + projections = subqueryProject.projections(); + assertEquals(15, projections.size()); // all fields from the other legs + subqueryEval = as(subqueryProject.child(), Eval.class); + aliases = subqueryEval.fields(); // nullEvals from the other legs + assertEquals(2, aliases.size()); + subquery = as(subqueryEval.child(), Subquery.class); + LookupJoin lookupJoin = as(subquery.child(), LookupJoin.class); + subqueryIndex = as(lookupJoin.right(), EsRelation.class); + assertEquals("languages_lookup", subqueryIndex.indexPattern()); + subqueryEval = as(lookupJoin.left(), Eval.class); + subqueryIndex = as(subqueryEval.child(), EsRelation.class); + assertEquals("test", subqueryIndex.indexPattern()); + } + + /** + * Nested fork/subquery is not supported, it passes Analyzer, but the query will + * fail in logical planner verifier. We may add a rule in logical planner to flatten nested + * subqueries in the future, so leave the check of nested subqueries after logical planner. + */ + public void testNestedSubqueryInFrom() { + assumeTrue("Requires subquery in FROM command support", EsqlCapabilities.Cap.SUBQUERY_IN_FROM_COMMAND.isEnabled()); + LogicalPlan plan = analyze(""" + FROM test, (FROM languages, (FROM sample_data | STATS count(*)) | WHERE language_code > 10) + | WHERE emp_no > 10000 + | SORT emp_no, language_code + """); + + Limit limit = as(plan, Limit.class); + OrderBy orderBy = as(limit.child(), OrderBy.class); + Filter filter = as(orderBy.child(), Filter.class); + UnionAll unionAll = as(filter.child(), UnionAll.class); + assertEquals(2, unionAll.children().size()); + // leg1 + Limit subqueryLimit = as(unionAll.children().get(0), Limit.class); + EsqlProject subqueryProject = as(subqueryLimit.child(), EsqlProject.class); + Eval subqueryEval = as(subqueryProject.child(), Eval.class); + EsRelation subqueryIndex = as(subqueryEval.child(), EsRelation.class); + assertEquals("test", subqueryIndex.indexPattern()); + subqueryLimit = as(unionAll.children().get(1), Limit.class); + subqueryProject = as(subqueryLimit.child(), EsqlProject.class); + subqueryEval = as(subqueryProject.child(), Eval.class); + Subquery subquery = as(subqueryEval.child(), Subquery.class); + Filter subqueryFilter = as(subquery.child(), Filter.class); + unionAll = as(subqueryFilter.child(), UnionAll.class); + assertEquals(2, unionAll.children().size()); + // leg2 + subqueryLimit = as(unionAll.children().get(0), Limit.class); + subqueryProject = as(subqueryLimit.child(), EsqlProject.class); + subqueryEval = as(subqueryProject.child(), Eval.class); + subqueryIndex = as(subqueryEval.child(), EsRelation.class); + assertEquals("languages", subqueryIndex.indexPattern()); + // leg3 + subqueryLimit = as(unionAll.children().get(1), Limit.class); + subqueryProject = as(subqueryLimit.child(), EsqlProject.class); + subqueryEval = as(subqueryProject.child(), Eval.class); + subquery = as(subqueryEval.child(), Subquery.class); + Aggregate subqueryAggregate = as(subquery.child(), Aggregate.class); + subqueryIndex = as(subqueryAggregate.child(), EsRelation.class); + assertEquals("sample_data", subqueryIndex.indexPattern()); + } + + // nested fork/subquery is not supported, it passes Analyzer and the query will fail in logical planner verifier + public void testNestedSubqueryInFromWithMetadata() { + assumeTrue("Requires subquery in FROM command support", EsqlCapabilities.Cap.SUBQUERY_IN_FROM_COMMAND.isEnabled()); + LogicalPlan plan = analyze(""" + FROM test, (FROM languages, (FROM sample_data | STATS count(*)) | WHERE language_code > 10) metadata _index + | WHERE emp_no > 10000 + | SORT emp_no, language_code + """); + + Limit limit = as(plan, Limit.class); + OrderBy orderBy = as(limit.child(), OrderBy.class); + Filter filter = as(orderBy.child(), Filter.class); + UnionAll unionAll = as(filter.child(), UnionAll.class); + assertEquals(2, unionAll.children().size()); + // leg1 + Limit subqueryLimit = as(unionAll.children().get(0), Limit.class); + EsqlProject subqueryProject = as(subqueryLimit.child(), EsqlProject.class); + Eval subqueryEval = as(subqueryProject.child(), Eval.class); + EsRelation subqueryIndex = as(subqueryEval.child(), EsRelation.class); + assertEquals("test", subqueryIndex.indexPattern()); + List output = subqueryIndex.output(); + assertEquals(12, output.size()); + MetadataAttribute metadataAttribute = as(output.get(11), MetadataAttribute.class); + assertEquals("_index", metadataAttribute.name()); + + subqueryLimit = as(unionAll.children().get(1), Limit.class); + subqueryProject = as(subqueryLimit.child(), EsqlProject.class); + subqueryEval = as(subqueryProject.child(), Eval.class); + Subquery subquery = as(subqueryEval.child(), Subquery.class); + Filter subqueryFilter = as(subquery.child(), Filter.class); + unionAll = as(subqueryFilter.child(), UnionAll.class); + assertEquals(2, unionAll.children().size()); + // leg2 + subqueryLimit = as(unionAll.children().get(0), Limit.class); + subqueryProject = as(subqueryLimit.child(), EsqlProject.class); + subqueryEval = as(subqueryProject.child(), Eval.class); + subqueryIndex = as(subqueryEval.child(), EsRelation.class); + assertEquals("languages", subqueryIndex.indexPattern()); + output = subqueryIndex.output(); + assertEquals(2, output.size()); + // leg3 + subqueryLimit = as(unionAll.children().get(1), Limit.class); + subqueryProject = as(subqueryLimit.child(), EsqlProject.class); + subqueryEval = as(subqueryProject.child(), Eval.class); + subquery = as(subqueryEval.child(), Subquery.class); + Aggregate subqueryAggregate = as(subquery.child(), Aggregate.class); + subqueryIndex = as(subqueryAggregate.child(), EsRelation.class); + assertEquals("sample_data", subqueryIndex.indexPattern()); + output = subqueryIndex.output(); + assertEquals(4, output.size()); + } + + /** + * When there are mixed date types between the main query and the subquery, + * the fields/references are casted to the common types in the UnionAll legs, otherwise + * FORK's postAnalysisPlanVerification will fail. + */ + public void testMixedDataTypesInSubquery() { + assumeTrue("Requires subquery in FROM command support", EsqlCapabilities.Cap.SUBQUERY_IN_FROM_COMMAND.isEnabled()); + LogicalPlan plan = analyze(""" + FROM test, (FROM test_mixed_types | WHERE languages > 0) + | WHERE emp_no > 10000 + | SORT emp_no + """, "mapping-default.json"); + + Limit limit = as(plan, Limit.class); + OrderBy orderBy = as(limit.child(), OrderBy.class); + Filter filter = as(orderBy.child(), Filter.class); + UnionAll unionAll = as(filter.child(), UnionAll.class); + List output = unionAll.output(); + // all fields from the two indices + assertEquals(25, output.size()); + assertEquals(2, unionAll.children().size()); + // leg1 + Limit subqueryLimit = as(unionAll.children().get(0), Limit.class); + EsqlProject subqueryProject = as(subqueryLimit.child(), EsqlProject.class); + Eval castingEval = as(subqueryProject.child(), Eval.class); + Eval nullEval = as(castingEval.child(), Eval.class); + EsRelation subqueryIndex = as(nullEval.child(), EsRelation.class); + assertEquals("test", subqueryIndex.indexPattern()); + // leg2 + subqueryLimit = as(unionAll.children().get(1), Limit.class); + subqueryProject = as(subqueryLimit.child(), EsqlProject.class); + castingEval = as(subqueryProject.child(), Eval.class); + nullEval = as(castingEval.child(), Eval.class); + Subquery subquery = as(nullEval.child(), Subquery.class); + Filter subqueryFilter = as(subquery.child(), Filter.class); + GreaterThan greaterThan = as(subqueryFilter.condition(), GreaterThan.class); + FieldAttribute fa = as(greaterThan.left(), FieldAttribute.class); + assertEquals("languages", fa.name()); + assertEquals(INTEGER, fa.dataType()); + Literal literal = as(greaterThan.right(), Literal.class); + assertEquals(0, literal.value()); + assertEquals(INTEGER, literal.dataType()); + subqueryIndex = as(subqueryFilter.child(), EsRelation.class); + assertEquals("test_mixed_types", subqueryIndex.indexPattern()); + } + + public void testMixedDataTypesWithExplicitCastingInSubquery() { + assumeTrue("Requires subquery in FROM command support", EsqlCapabilities.Cap.SUBQUERY_IN_FROM_COMMAND.isEnabled()); + LogicalPlan plan = analyze(""" + FROM test, (FROM test_mixed_types | WHERE languages > 0) + | WHERE emp_no > 10000 + | EVAL still_hired = still_hired::string, is_rehired = is_rehired::string + | SORT still_hired, is_rehired + """, "mapping-default.json"); + + Limit limit = as(plan, Limit.class); + OrderBy orderBy = as(limit.child(), OrderBy.class); + Eval eval = as(orderBy.child(), Eval.class); + List aliases = eval.fields(); + assertEquals(2, aliases.size()); + Alias a = aliases.get(0); + assertEquals("still_hired", a.name()); + ReferenceAttribute still_hired = as(a.child(), ReferenceAttribute.class); + assertEquals("still_hired", still_hired.name()); + a = aliases.get(1); + assertEquals("is_rehired", a.name()); + ReferenceAttribute is_rehired = as(a.child(), ReferenceAttribute.class); + assertEquals("is_rehired", is_rehired.name()); + Filter filter = as(eval.child(), Filter.class); + UnionAll unionAll = as(filter.child(), UnionAll.class); + List output = unionAll.output(); + // all fields from the two indices + assertEquals(25, output.size()); + assertEquals(2, unionAll.children().size()); + // leg1 + Limit subqueryLimit = as(unionAll.children().get(0), Limit.class); + EsqlProject subqueryProject = as(subqueryLimit.child(), EsqlProject.class); + Eval castingEval = as(subqueryProject.child(), Eval.class); + Eval nullEval = as(castingEval.child(), Eval.class); + nullEval = as(nullEval.child(), Eval.class); + EsRelation subqueryIndex = as(nullEval.child(), EsRelation.class); + assertEquals("test", subqueryIndex.indexPattern()); + // leg2 + subqueryLimit = as(unionAll.children().get(1), Limit.class); + subqueryProject = as(subqueryLimit.child(), EsqlProject.class); + castingEval = as(subqueryProject.child(), Eval.class); + nullEval = as(castingEval.child(), Eval.class); + Subquery subquery = as(nullEval.child(), Subquery.class); + Filter subqueryFilter = as(subquery.child(), Filter.class); + GreaterThan greaterThan = as(subqueryFilter.condition(), GreaterThan.class); + FieldAttribute fa = as(greaterThan.left(), FieldAttribute.class); + assertEquals("languages", fa.name()); + assertEquals(INTEGER, fa.dataType()); + Literal literal = as(greaterThan.right(), Literal.class); + assertEquals(0, literal.value()); + assertEquals(INTEGER, literal.dataType()); + subqueryIndex = as(subqueryFilter.child(), EsRelation.class); + assertEquals("test_mixed_types", subqueryIndex.indexPattern()); + } + private void verifyNameAndType(String actualName, DataType actualType, String expectedName, DataType expectedType) { assertEquals(expectedName, actualName); assertEquals(expectedType, actualType); @@ -4735,6 +5116,6 @@ static Literal string(String value) { } static Literal literal(int value) { - return new Literal(EMPTY, value, DataType.INTEGER); + return new Literal(EMPTY, value, INTEGER); } } diff --git a/x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/analysis/VerifierTests.java b/x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/analysis/VerifierTests.java index 95e2e15da7d91..fe1b8b93fe4d2 100644 --- a/x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/analysis/VerifierTests.java +++ b/x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/analysis/VerifierTests.java @@ -2774,6 +2774,24 @@ public void testTextEmbeddingFunctionInvalidInferenceId() { ); } + /** + * If there is no common data type for a field in a subquery and the main query, {@code VerificationException} is thrown. + */ + public void testMixedDataTypesInSubquery() { + assumeTrue("Requires subquery in FROM command support", EsqlCapabilities.Cap.SUBQUERY_IN_FROM_COMMAND.isEnabled()); + assertThat( + error(""" + FROM test, (FROM test_mixed_types | WHERE languages > 0) + | WHERE emp_no > 10000 + | SORT is_rehired, still_hired + """), + equalTo( + "1:1: Column [is_rehired] has conflicting data types in subqueries: [boolean, keyword]\n" + + "line 1:1: Column [still_hired] has conflicting data types in subqueries: [boolean, keyword]" + ) + ); + } + private void checkVectorFunctionsNullArgs(String functionInvocation) throws Exception { query("from test | eval similarity = " + functionInvocation, fullTextAnalyzer); } diff --git a/x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/optimizer/AbstractLogicalPlanOptimizerTests.java b/x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/optimizer/AbstractLogicalPlanOptimizerTests.java index 35c75d99ab925..f9ef1c5e50813 100644 --- a/x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/optimizer/AbstractLogicalPlanOptimizerTests.java +++ b/x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/optimizer/AbstractLogicalPlanOptimizerTests.java @@ -53,6 +53,7 @@ public abstract class AbstractLogicalPlanOptimizerTests extends ESTestCase { protected static Analyzer metricsAnalyzer; protected static Analyzer multiIndexAnalyzer; protected static Analyzer sampleDataIndexAnalyzer; + protected static Analyzer subqueryAnalyzer; protected static EnrichResolution enrichResolution; @@ -190,6 +191,25 @@ public static void init() { ), TEST_VERIFIER ); + + EsIndex test1 = new EsIndex("test1", mapping, Map.of("test1", IndexMode.STANDARD)); + IndexResolution subqueryIndex1 = IndexResolution.valid(test1); + var mappingLanguages = loadMapping("mapping-languages.json"); + EsIndex languages = new EsIndex("languages", mappingLanguages, Map.of("languages", IndexMode.STANDARD)); + IndexResolution subqueryIndex2 = IndexResolution.valid(languages); + + subqueryAnalyzer = new Analyzer( + new AnalyzerContext( + EsqlTestUtils.TEST_CFG, + new EsqlFunctionRegistry(), + getIndexResult, + emptyMap(), + enrichResolution, + emptyInferenceResolution(), + Map.of("test1", subqueryIndex1, "languages", subqueryIndex2) + ), + TEST_VERIFIER + ); } protected LogicalPlan optimizedPlan(String query) { @@ -237,6 +257,11 @@ protected LogicalPlan planSample(String query) { return logicalOptimizer.optimize(analyzed); } + protected LogicalPlan planSubquery(String query) { + var analyzed = subqueryAnalyzer.analyze(parser.createStatement(query, EsqlTestUtils.TEST_CFG)); + return logicalOptimizer.optimize(analyzed); + } + @Override protected List filteredWarnings() { return withDefaultLimitWarning(super.filteredWarnings()); diff --git a/x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/optimizer/rules/logical/PushDownAndCombineFiltersTests.java b/x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/optimizer/rules/logical/PushDownAndCombineFiltersTests.java index e1797d6c2c16a..8148e64c6ca86 100644 --- a/x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/optimizer/rules/logical/PushDownAndCombineFiltersTests.java +++ b/x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/optimizer/rules/logical/PushDownAndCombineFiltersTests.java @@ -15,7 +15,9 @@ import org.elasticsearch.xpack.esql.core.expression.Expression; import org.elasticsearch.xpack.esql.core.expression.FieldAttribute; import org.elasticsearch.xpack.esql.core.expression.FoldContext; +import org.elasticsearch.xpack.esql.core.expression.Literal; import org.elasticsearch.xpack.esql.core.expression.MetadataAttribute; +import org.elasticsearch.xpack.esql.core.expression.ReferenceAttribute; import org.elasticsearch.xpack.esql.core.tree.Source; import org.elasticsearch.xpack.esql.core.type.DataType; import org.elasticsearch.xpack.esql.expression.function.aggregate.Count; @@ -28,6 +30,7 @@ import org.elasticsearch.xpack.esql.expression.predicate.logical.And; import org.elasticsearch.xpack.esql.expression.predicate.logical.Not; import org.elasticsearch.xpack.esql.expression.predicate.logical.Or; +import org.elasticsearch.xpack.esql.expression.predicate.nulls.IsNotNull; import org.elasticsearch.xpack.esql.expression.predicate.nulls.IsNull; import org.elasticsearch.xpack.esql.expression.predicate.operator.comparison.Equals; import org.elasticsearch.xpack.esql.expression.predicate.operator.comparison.GreaterThan; @@ -42,12 +45,15 @@ import org.elasticsearch.xpack.esql.plan.logical.Limit; import org.elasticsearch.xpack.esql.plan.logical.LogicalPlan; import org.elasticsearch.xpack.esql.plan.logical.Project; +import org.elasticsearch.xpack.esql.plan.logical.Subquery; +import org.elasticsearch.xpack.esql.plan.logical.UnionAll; import org.elasticsearch.xpack.esql.plan.logical.inference.Completion; import org.elasticsearch.xpack.esql.plan.logical.inference.Rerank; import org.elasticsearch.xpack.esql.plan.logical.join.Join; import org.elasticsearch.xpack.esql.plan.logical.join.JoinConfig; import org.elasticsearch.xpack.esql.plan.logical.join.JoinTypes; import org.elasticsearch.xpack.esql.plan.logical.local.EsqlProject; +import org.elasticsearch.xpack.esql.plan.logical.local.LocalRelation; import java.util.ArrayList; import java.util.HashSet; @@ -77,6 +83,7 @@ import static org.hamcrest.Matchers.is; import static org.mockito.Mockito.mock; +//@TestLogging(value = "org.elasticsearch.xpack.esql:TRACE", reason = "debug") public class PushDownAndCombineFiltersTests extends AbstractLogicalPlanOptimizerTests { private final LogicalOptimizerContext optimizerContext = new LogicalOptimizerContext(null, FoldContext.small()); @@ -1005,4 +1012,310 @@ public void testPushDownLookupJoinExpressionMultipleWhere() { ); assertEquals(expectedPushedFilters, actualPushedFilters); } + + public void testPushDownSimpleFilterPastUnionAll() { + assumeTrue("Requires subquery in FROM command support", EsqlCapabilities.Cap.SUBQUERY_IN_FROM_COMMAND.isEnabled()); + var plan = planSubquery(""" + FROM test, (FROM test1 | WHERE languages > 0), (FROM languages | WHERE language_code > 0) + | WHERE emp_no > 10000 + """); + + Limit limit = as(plan, Limit.class); + UnionAll unionAll = as(limit.child(), UnionAll.class); + assertEquals(3, unionAll.children().size()); + + EsqlProject child1 = as(unionAll.children().get(0), EsqlProject.class); + Eval eval = as(child1.child(), Eval.class); + Limit childLimit = as(eval.child(), Limit.class); + Filter childFilter = as(childLimit.child(), Filter.class); + GreaterThan greaterThan = as(childFilter.condition(), GreaterThan.class); + FieldAttribute empNo = as(greaterThan.left(), FieldAttribute.class); + assertEquals("emp_no", empNo.name()); + Literal right = as(greaterThan.right(), Literal.class); + assertEquals(10000, right.value()); + EsRelation relation = as(childFilter.child(), EsRelation.class); + assertEquals("test", relation.indexPattern()); + + EsqlProject child2 = as(unionAll.children().get(1), EsqlProject.class); + eval = as(child2.child(), Eval.class); + childLimit = as(eval.child(), Limit.class); + Subquery subquery = as(childLimit.child(), Subquery.class); + childFilter = as(subquery.child(), Filter.class); + And and = as(childFilter.condition(), And.class); + greaterThan = as(and.left(), GreaterThan.class); + empNo = as(greaterThan.left(), FieldAttribute.class); + assertEquals("languages", empNo.name()); + right = as(greaterThan.right(), Literal.class); + assertEquals(0, right.value()); + greaterThan = as(and.right(), GreaterThan.class); + empNo = as(greaterThan.left(), FieldAttribute.class); + assertEquals("emp_no", empNo.name()); + right = as(greaterThan.right(), Literal.class); + assertEquals(10000, right.value()); + relation = as(childFilter.child(), EsRelation.class); + assertEquals("test1", relation.indexPattern()); + + LocalRelation localRelation = as(unionAll.children().get(2), LocalRelation.class); + } + + public void testPushDownConjunctiveFilterPastUnionAll() { + assumeTrue("Requires subquery in FROM command support", EsqlCapabilities.Cap.SUBQUERY_IN_FROM_COMMAND.isEnabled()); + var plan = planSubquery(""" + FROM test, (FROM test1 | WHERE languages > 0), (FROM languages | WHERE language_code > 0) + | WHERE emp_no > 10000 and salary > 50000 + """); + + Limit limit = as(plan, Limit.class); + UnionAll unionAll = as(limit.child(), UnionAll.class); + assertEquals(3, unionAll.children().size()); + + EsqlProject child1 = as(unionAll.children().get(0), EsqlProject.class); + Eval eval = as(child1.child(), Eval.class); + Limit childLimit = as(eval.child(), Limit.class); + Filter childFilter = as(childLimit.child(), Filter.class); + And and = as(childFilter.condition(), And.class); + GreaterThan emp_no = as(and.left(), GreaterThan.class); + FieldAttribute empNo = as(emp_no.left(), FieldAttribute.class); + assertEquals("emp_no", empNo.name()); + Literal right = as(emp_no.right(), Literal.class); + assertEquals(10000, right.value()); + GreaterThan salary = as(and.right(), GreaterThan.class); + FieldAttribute salaryField = as(salary.left(), FieldAttribute.class); + assertEquals("salary", salaryField.name()); + right = as(salary.right(), Literal.class); + assertEquals(50000, right.value()); + EsRelation relation = as(childFilter.child(), EsRelation.class); + assertEquals("test", relation.indexPattern()); + + EsqlProject child2 = as(unionAll.children().get(1), EsqlProject.class); + eval = as(child2.child(), Eval.class); + childLimit = as(eval.child(), Limit.class); + Subquery subquery = as(childLimit.child(), Subquery.class); + childFilter = as(subquery.child(), Filter.class); + and = as(childFilter.condition(), And.class); + GreaterThan greaterThan = as(and.left(), GreaterThan.class); + FieldAttribute languages = as(greaterThan.left(), FieldAttribute.class); + assertEquals("languages", languages.name()); + right = as(greaterThan.right(), Literal.class); + assertEquals(0, right.value()); + and = as(and.right(), And.class); + emp_no = as(and.left(), GreaterThan.class); + empNo = as(emp_no.left(), FieldAttribute.class); + assertEquals("emp_no", empNo.name()); + right = as(emp_no.right(), Literal.class); + assertEquals(10000, right.value()); + salary = as(and.right(), GreaterThan.class); + salaryField = as(salary.left(), FieldAttribute.class); + assertEquals("salary", salaryField.name()); + right = as(salary.right(), Literal.class); + assertEquals(50000, right.value()); + relation = as(childFilter.child(), EsRelation.class); + assertEquals("test1", relation.indexPattern()); + + LocalRelation localRelation = as(unionAll.children().get(2), LocalRelation.class); + } + + public void testPushDownDisjunctiveFilterPastUnionAll() { + assumeTrue("Requires subquery in FROM command support", EsqlCapabilities.Cap.SUBQUERY_IN_FROM_COMMAND.isEnabled()); + var plan = planSubquery(""" + FROM test, (FROM test1 | WHERE languages > 0), (FROM languages | WHERE language_code > 0) + | WHERE emp_no > 10000 or salary > 50000 + """); + + Limit limit = as(plan, Limit.class); + UnionAll unionAll = as(limit.child(), UnionAll.class); + assertEquals(3, unionAll.children().size()); + + EsqlProject child1 = as(unionAll.children().get(0), EsqlProject.class); + Eval eval = as(child1.child(), Eval.class); + Limit childLimit = as(eval.child(), Limit.class); + Filter childFilter = as(childLimit.child(), Filter.class); + Or or = as(childFilter.condition(), Or.class); + GreaterThan emp_no = as(or.left(), GreaterThan.class); + FieldAttribute empNo = as(emp_no.left(), FieldAttribute.class); + assertEquals("emp_no", empNo.name()); + Literal right = as(emp_no.right(), Literal.class); + assertEquals(10000, right.value()); + GreaterThan salary = as(or.right(), GreaterThan.class); + FieldAttribute salaryField = as(salary.left(), FieldAttribute.class); + assertEquals("salary", salaryField.name()); + right = as(salary.right(), Literal.class); + assertEquals(50000, right.value()); + EsRelation relation = as(childFilter.child(), EsRelation.class); + assertEquals("test", relation.indexPattern()); + + EsqlProject child2 = as(unionAll.children().get(1), EsqlProject.class); + eval = as(child2.child(), Eval.class); + childLimit = as(eval.child(), Limit.class); + Subquery subquery = as(childLimit.child(), Subquery.class); + childFilter = as(subquery.child(), Filter.class); + And and = as(childFilter.condition(), And.class); + GreaterThan greaterThan = as(and.left(), GreaterThan.class); + FieldAttribute languages = as(greaterThan.left(), FieldAttribute.class); + assertEquals("languages", languages.name()); + right = as(greaterThan.right(), Literal.class); + assertEquals(0, right.value()); + or = as(and.right(), Or.class); + emp_no = as(or.left(), GreaterThan.class); + empNo = as(emp_no.left(), FieldAttribute.class); + assertEquals("emp_no", empNo.name()); + right = as(emp_no.right(), Literal.class); + assertEquals(10000, right.value()); + salary = as(or.right(), GreaterThan.class); + salaryField = as(salary.left(), FieldAttribute.class); + assertEquals("salary", salaryField.name()); + right = as(salary.right(), Literal.class); + assertEquals(50000, right.value()); + relation = as(childFilter.child(), EsRelation.class); + assertEquals("test1", relation.indexPattern()); + + LocalRelation localRelation = as(unionAll.children().get(2), LocalRelation.class); + } + + public void testPushDownFilterPastUnionAllAndCombineWithFilterInSubquery() { + assumeTrue("Requires subquery in FROM command support", EsqlCapabilities.Cap.SUBQUERY_IN_FROM_COMMAND.isEnabled()); + var plan = planSubquery(""" + FROM test, (FROM test1 | where salary < 100000), (FROM languages | WHERE language_code > 0) + | WHERE emp_no > 10000 and salary > 50000 + """); + + Limit limit = as(plan, Limit.class); + UnionAll unionAll = as(limit.child(), UnionAll.class); + assertEquals(3, unionAll.children().size()); + EsqlProject child1 = as(unionAll.children().get(0), EsqlProject.class); + Eval eval = as(child1.child(), Eval.class); + Limit childLimit = as(eval.child(), Limit.class); + Filter childFilter = as(childLimit.child(), Filter.class); + And and = as(childFilter.condition(), And.class); + GreaterThan emp_no = as(and.left(), GreaterThan.class); + FieldAttribute empNo = as(emp_no.left(), FieldAttribute.class); + assertEquals("emp_no", empNo.name()); + Literal right = as(emp_no.right(), Literal.class); + assertEquals(10000, right.value()); + GreaterThan salary = as(and.right(), GreaterThan.class); + FieldAttribute salaryField = as(salary.left(), FieldAttribute.class); + assertEquals("salary", salaryField.name()); + right = as(salary.right(), Literal.class); + assertEquals(50000, right.value()); + EsRelation relation = as(childFilter.child(), EsRelation.class); + assertEquals("test", relation.indexPattern()); + + EsqlProject child2 = as(unionAll.children().get(1), EsqlProject.class); + eval = as(child2.child(), Eval.class); + childLimit = as(eval.child(), Limit.class); + Subquery subquery = as(childLimit.child(), Subquery.class); + childFilter = as(subquery.child(), Filter.class); + and = as(childFilter.condition(), And.class); + And empNoAndSalary = as(and.right(), And.class); + emp_no = as(empNoAndSalary.left(), GreaterThan.class); + empNo = as(emp_no.left(), FieldAttribute.class); + assertEquals("emp_no", empNo.name()); + right = as(emp_no.right(), Literal.class); + assertEquals(10000, right.value()); + salary = as(empNoAndSalary.right(), GreaterThan.class); + salaryField = as(salary.left(), FieldAttribute.class); + assertEquals("salary", salaryField.name()); + right = as(salary.right(), Literal.class); + assertEquals(50000, right.value()); + LessThan lessThan = as(and.left(), LessThan.class); + salaryField = as(lessThan.left(), FieldAttribute.class); + assertEquals("salary", salaryField.name()); + right = as(lessThan.right(), Literal.class); + assertEquals(100000, right.value()); + relation = as(childFilter.child(), EsRelation.class); + assertEquals("test1", relation.indexPattern()); + + LocalRelation localRelation = as(unionAll.children().get(2), LocalRelation.class); + } + + public void testPushDownFilterOnReferenceAttributesPastUnionAllDebug() { + assumeTrue("Requires subquery in FROM command support", EsqlCapabilities.Cap.SUBQUERY_IN_FROM_COMMAND.isEnabled()); + var plan = planSubquery(""" + FROM test, (FROM test1 | where salary < 100000 | EVAL x = 1, y = emp_no, z = emp_no + 1) + | WHERE x is not null and y is not null and z > 0 + """); + + Limit limit = as(plan, Limit.class); + UnionAll unionAll = as(limit.child(), UnionAll.class); + assertEquals(2, unionAll.children().size()); + + LocalRelation child1 = as(unionAll.children().get(0), LocalRelation.class); + + EsqlProject child2 = as(unionAll.children().get(1), EsqlProject.class); + Limit childLimit = as(child2.child(), Limit.class); + Subquery subquery = as(childLimit.child(), Subquery.class); + Project project = as(subquery.child(), Project.class); + Filter childFilter = as(project.child(), Filter.class); + GreaterThan greaterThan = as(childFilter.condition(), GreaterThan.class); + ReferenceAttribute z = as(greaterThan.left(), ReferenceAttribute.class); + assertEquals("z", z.name()); + Literal right = as(greaterThan.right(), Literal.class); + assertEquals(0, right.value()); + Eval eval = as(childFilter.child(), Eval.class); + List aliases = eval.fields(); + assertEquals(2, aliases.size()); + Alias aliasX = aliases.get(0); + assertEquals("x", aliasX.name()); + Literal xLiteral = as(aliasX.child(), Literal.class); + assertEquals(1, xLiteral.value()); + Alias aliasZ = aliases.get(1); + assertEquals("z", aliasZ.name()); + childFilter = as(eval.child(), Filter.class); + And and = as(childFilter.condition(), And.class); + IsNotNull isNotNull = as(and.right(), IsNotNull.class); + FieldAttribute emp_no = as(isNotNull.field(), FieldAttribute.class); + assertEquals("emp_no", emp_no.name()); + LessThan lessThan = as(and.left(), LessThan.class); + FieldAttribute salaryField = as(lessThan.left(), FieldAttribute.class); + assertEquals("salary", salaryField.name()); + Literal literal = as(lessThan.right(), Literal.class); + assertEquals(100000, literal.value()); + EsRelation relation = as(childFilter.child(), EsRelation.class); + assertEquals("test1", relation.indexPattern()); + } + + public void testPushDownFilterOnReferenceAttributesAndFieldAttributesPastUnionAllDebug() { + assumeTrue("Requires subquery in FROM command support", EsqlCapabilities.Cap.SUBQUERY_IN_FROM_COMMAND.isEnabled()); + var plan = planSubquery(""" + FROM test, (FROM test1 | where salary < 100000 | EVAL x = 1, y = emp_no + 1) + | WHERE x is not null and y > 0 and emp_no > 0 + """); + + Limit limit = as(plan, Limit.class); + UnionAll unionAll = as(limit.child(), UnionAll.class); + assertEquals(2, unionAll.children().size()); + + LocalRelation child1 = as(unionAll.children().get(0), LocalRelation.class); + + EsqlProject child2 = as(unionAll.children().get(1), EsqlProject.class); + Limit childLimit = as(child2.child(), Limit.class); + Subquery subquery = as(childLimit.child(), Subquery.class); + Filter childFilter = as(subquery.child(), Filter.class); + GreaterThan greaterThan = as(childFilter.condition(), GreaterThan.class); + ReferenceAttribute y = as(greaterThan.left(), ReferenceAttribute.class); + assertEquals("y", y.name()); + Literal right = as(greaterThan.right(), Literal.class); + assertEquals(0, right.value()); + Eval eval = as(childFilter.child(), Eval.class); + List aliases = eval.fields(); + assertEquals(2, aliases.size()); + Alias aliasX = aliases.get(0); + assertEquals("x", aliasX.name()); + Literal xLiteral = as(aliasX.child(), Literal.class); + assertEquals(1, xLiteral.value()); + Alias aliasZ = aliases.get(1); + assertEquals("y", aliasZ.name()); + childFilter = as(eval.child(), Filter.class); + And and = as(childFilter.condition(), And.class); + greaterThan = as(and.right(), GreaterThan.class); + FieldAttribute emp_no = as(greaterThan.left(), FieldAttribute.class); + assertEquals("emp_no", emp_no.name()); + LessThan lessThan = as(and.left(), LessThan.class); + FieldAttribute salaryField = as(lessThan.left(), FieldAttribute.class); + assertEquals("salary", salaryField.name()); + Literal literal = as(lessThan.right(), Literal.class); + assertEquals(100000, literal.value()); + EsRelation relation = as(childFilter.child(), EsRelation.class); + assertEquals("test1", relation.indexPattern()); + } } diff --git a/x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/parser/StatementParserTests.java b/x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/parser/StatementParserTests.java index bc8f9bda86fbb..9ed3988ee228b 100644 --- a/x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/parser/StatementParserTests.java +++ b/x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/parser/StatementParserTests.java @@ -1207,10 +1207,7 @@ public void testMetadataFieldOnOtherSources() { expectError("row a = 1 metadata _index", "line 1:20: extraneous input '_index' expecting "); expectError("show info metadata _index", "line 1:11: token recognition error at: 'm'"); if (EsqlCapabilities.Cap.EXPLAIN.isEnabled()) { - expectError( - "explain ( from foo ) metadata _index", - "line 1:22: mismatched input 'metadata' expecting {'|', ',', ')', 'metadata'}" - ); + expectError("explain ( from foo ) metadata _index", "line 1:22: token recognition error at: 'm'"); } } @@ -3925,7 +3922,7 @@ public void testPreserveParentheses() { public void testExplainErrors() { assumeTrue("Requires EXPLAIN capability", EsqlCapabilities.Cap.EXPLAIN.isEnabled()); // TODO this one is incorrect - expectError("explain ( from test ) | limit 1", "line 1:23: mismatched input '|' expecting {'|', ',', ')', 'metadata'}"); + expectError("explain ( from test ) | limit 1", "line 1:1: EXPLAIN does not support downstream commands"); expectError( "explain (row x=\"Elastic\" | eval y=concat(x,to_upper(\"search\"))) | mv_expand y", "line 1:1: EXPLAIN does not support downstream commands" @@ -5154,8 +5151,8 @@ public void testBracketsInIndexNames() { expectSuccessForBracketsWithinQuotes(pattern); } - expectError("from test)", "line 1:10: extraneous input ')' expecting "); - expectError("from te()st", "line 1:8: token recognition error at: '('"); + expectError("from test)", "line -1:-1: Invalid query [from test)]"); + expectError("from te()st", "line 1:8: mismatched input '(' expecting {, '|', ',', 'metadata'"); expectError("from test | enrich foo)", "line -1:-1: Invalid query [from test | enrich foo)]"); expectError("from test | lookup join foo) on bar", "line 1:28: token recognition error at: ')'"); if (EsqlCapabilities.Cap.LOOKUP_JOIN_ON_BOOLEAN_EXPRESSION.isEnabled()) { diff --git a/x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/parser/SubqueryTests.java b/x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/parser/SubqueryTests.java new file mode 100644 index 0000000000000..582d63d15bea0 --- /dev/null +++ b/x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/parser/SubqueryTests.java @@ -0,0 +1,773 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +package org.elasticsearch.xpack.esql.parser; + +import org.elasticsearch.common.logging.LoggerMessageFormat; +import org.elasticsearch.xpack.esql.action.EsqlCapabilities; +import org.elasticsearch.xpack.esql.core.expression.Attribute; +import org.elasticsearch.xpack.esql.core.expression.Literal; +import org.elasticsearch.xpack.esql.core.expression.MetadataAttribute; +import org.elasticsearch.xpack.esql.expression.predicate.operator.comparison.LessThan; +import org.elasticsearch.xpack.esql.plan.logical.Aggregate; +import org.elasticsearch.xpack.esql.plan.logical.ChangePoint; +import org.elasticsearch.xpack.esql.plan.logical.Dissect; +import org.elasticsearch.xpack.esql.plan.logical.Drop; +import org.elasticsearch.xpack.esql.plan.logical.Enrich; +import org.elasticsearch.xpack.esql.plan.logical.Eval; +import org.elasticsearch.xpack.esql.plan.logical.Filter; +import org.elasticsearch.xpack.esql.plan.logical.Fork; +import org.elasticsearch.xpack.esql.plan.logical.Grok; +import org.elasticsearch.xpack.esql.plan.logical.InlineStats; +import org.elasticsearch.xpack.esql.plan.logical.Keep; +import org.elasticsearch.xpack.esql.plan.logical.Limit; +import org.elasticsearch.xpack.esql.plan.logical.LogicalPlan; +import org.elasticsearch.xpack.esql.plan.logical.MvExpand; +import org.elasticsearch.xpack.esql.plan.logical.OrderBy; +import org.elasticsearch.xpack.esql.plan.logical.Rename; +import org.elasticsearch.xpack.esql.plan.logical.Sample; +import org.elasticsearch.xpack.esql.plan.logical.Subquery; +import org.elasticsearch.xpack.esql.plan.logical.UnionAll; +import org.elasticsearch.xpack.esql.plan.logical.UnresolvedRelation; +import org.elasticsearch.xpack.esql.plan.logical.inference.Completion; +import org.elasticsearch.xpack.esql.plan.logical.inference.Rerank; +import org.elasticsearch.xpack.esql.plan.logical.join.LookupJoin; + +import java.util.List; + +import static org.elasticsearch.xpack.esql.EsqlTestUtils.as; +import static org.elasticsearch.xpack.esql.IdentifierGenerator.Features.CROSS_CLUSTER; +import static org.elasticsearch.xpack.esql.IdentifierGenerator.randomIndexPatterns; +import static org.elasticsearch.xpack.esql.IdentifierGenerator.unquoteIndexPattern; +import static org.elasticsearch.xpack.esql.IdentifierGenerator.without; +import static org.hamcrest.Matchers.containsString; + +public class SubqueryTests extends AbstractStatementParserTests { + + /** + * Simple subqueries in the FROM command can be merged into index patterns + * e.g. FROM index1, (FROM index2) ==> FROM index1,index2 + */ + public void testIndexPatternWithSubquery() { + assumeTrue("Requires subquery in FROM command support", EsqlCapabilities.Cap.SUBQUERY_IN_FROM_COMMAND.isEnabled()); + var mainQueryIndexPattern = randomIndexPatterns(); + var subqueryIndexPattern = randomIndexPatterns(); + String query = LoggerMessageFormat.format(null, """ + FROM {}, (FROM {}) + """, mainQueryIndexPattern, subqueryIndexPattern); + + LogicalPlan plan = statement(query); + UnresolvedRelation unresolvedRelation = as(plan, UnresolvedRelation.class); + assertEquals( + unquoteIndexPattern(mainQueryIndexPattern) + "," + unquoteIndexPattern(subqueryIndexPattern), + unresolvedRelation.indexPattern().indexPattern() + ); + } + + /** + * Subqueries in the FROM command with all the processing commands in the main query. + * All processing commands are supported in the main query when subqueries exist in the + * FROM command. With an exception on FORK, the grammar or parser doesn't block FORK, + * however nested FORK will error out in the analysis or logical planning phase. We are hoping + * to lift this restriction in the future, so it is not blocked in the grammar.. + */ + public void testSubqueryWithAllProcessingCommandsInMainquery() { + assumeTrue("Requires subquery in FROM command support", EsqlCapabilities.Cap.SUBQUERY_IN_FROM_COMMAND.isEnabled()); + // remote cluster does not support COMPLETION or RERANK + var mainQueryIndexPattern = randomIndexPatterns(without(CROSS_CLUSTER)); + var subqueryIndexPattern = randomIndexPatterns(without(CROSS_CLUSTER)); + var joinIndexPattern = "lookup_index"; // randomIndexPatterns may generate on as index pattern, it collides with the ON token + String query = LoggerMessageFormat.format(null, """ + FROM {}, (FROM {} | WHERE a < 100) + | WHERE a > 10 + | EVAL b = a * 2 + | FORK (WHERE c < 100) (WHERE d > 200) + | STATS cnt = COUNT(*) BY e + | INLINE STATS max_e = MAX(e) BY f + | DISSECT g "%{b} %{c}" + | GROK h "%{WORD:word} %{NUMBER:number}" + | SORT cnt desc + | LIMIT 10 + | DROP i + | KEEP j + | RENAME k AS l + | MV_EXPAND m + | LOOKUP JOIN {} ON n + | ENRICH clientip_policy ON client_ip WITH env + | CHANGE_POINT count ON @timestamp AS type, pvalue + | COMPLETION completion_output = prompt WITH { "inference_id" : "test_completion" } + | SAMPLE 0.5 + | RERANK "war and peace" ON title WITH { "inference_id" : "test_reranker" } + """, mainQueryIndexPattern, subqueryIndexPattern, joinIndexPattern); + + LogicalPlan plan = statement(query); + Rerank rerank = as(plan, Rerank.class); + Sample sample = as(rerank.child(), Sample.class); + Completion completion = as(sample.child(), Completion.class); + ChangePoint changePoint = as(completion.child(), ChangePoint.class); + Enrich enrich = as(changePoint.child(), Enrich.class); + LookupJoin lookupJoin = as(enrich.child(), LookupJoin.class); + UnresolvedRelation joinRelation = as(lookupJoin.right(), UnresolvedRelation.class); + assertEquals(unquoteIndexPattern(joinIndexPattern), joinRelation.indexPattern().indexPattern()); + MvExpand mvExpand = as(lookupJoin.left(), MvExpand.class); + Rename rename = as(mvExpand.child(), Rename.class); + Keep keep = as(rename.child(), Keep.class); + Drop drop = as(keep.child(), Drop.class); + Limit limit = as(drop.child(), Limit.class); + OrderBy orderBy = as(limit.child(), OrderBy.class); + Grok grok = as(orderBy.child(), Grok.class); + Dissect dissect = as(grok.child(), Dissect.class); + InlineStats inlineStats = as(dissect.child(), InlineStats.class); + Aggregate aggregate = as(inlineStats.child(), Aggregate.class); + aggregate = as(aggregate.child(), Aggregate.class); + Fork fork = as(aggregate.child(), Fork.class); + List forkChildren = fork.children(); + assertEquals(2, forkChildren.size()); + for (Eval forkEval : List.of(as(forkChildren.get(0), Eval.class), as(forkChildren.get(1), Eval.class))) { + Filter forkFilter = as(forkEval.child(), Filter.class); + Eval eval = as(forkFilter.child(), Eval.class); + Filter filter = as(eval.child(), Filter.class); + UnionAll unionAll = as(filter.child(), UnionAll.class); + List children = unionAll.children(); + assertEquals(2, children.size()); + // leg1 + UnresolvedRelation unresolvedRelation = as(children.get(0), UnresolvedRelation.class); + assertEquals(unquoteIndexPattern(mainQueryIndexPattern), unresolvedRelation.indexPattern().indexPattern()); + // leg2 + Subquery subquery = as(children.get(1), Subquery.class); + Filter subqueryFilter = as(subquery.plan(), Filter.class); + LessThan lessThan = as(subqueryFilter.condition(), LessThan.class); + Attribute left = as(lessThan.left(), Attribute.class); + assertEquals("a", left.name()); + Literal right = as(lessThan.right(), Literal.class); + assertEquals(100, right.value()); + UnresolvedRelation subqueryRelation = as(subqueryFilter.child(), UnresolvedRelation.class); + assertEquals(unquoteIndexPattern(subqueryIndexPattern), subqueryRelation.indexPattern().indexPattern()); + } + } + + /** + * Subqueries in the FROM command with all the processing commands in the subquery query. + * The grammar allows all processing commands inside the subquery. With an exception on FORK, + * the grammar or parser doesn't block FORK, however nested FORK will error out in the analysis + * or logical planning phase. We are hoping to lift this restriction in the future, so it is not blocked + * in the grammar. + */ + public void testWithSubqueryWithProcessingCommandsInSubquery() { + assumeTrue("Requires subquery in FROM command support", EsqlCapabilities.Cap.SUBQUERY_IN_FROM_COMMAND.isEnabled()); + var mainQueryIndexPattern = randomIndexPatterns(without(CROSS_CLUSTER)); + var subqueryIndexPattern = randomIndexPatterns(without(CROSS_CLUSTER)); + var joinIndexPattern = "lookup_index"; + String query = LoggerMessageFormat.format(null, """ + FROM {}, (FROM {} + | WHERE a > 10 + | EVAL b = a * 2 + | FORK (WHERE c < 100) (WHERE d > 200) + | STATS cnt = COUNT(*) BY e + | INLINE STATS max_e = MAX(e) BY f + | DISSECT g "%{b} %{c}" + | GROK h "%{WORD:word} %{NUMBER:number}" + | SORT cnt desc + | LIMIT 10 + | DROP i + | KEEP j + | RENAME k AS l + | MV_EXPAND m + | LOOKUP JOIN {} ON n + | ENRICH clientip_policy ON client_ip WITH env + | CHANGE_POINT count ON @timestamp AS type, pvalue + | COMPLETION completion_output = prompt WITH { "inference_id" : "test_completion" } + | SAMPLE 0.5 + | RERANK "war and peace" ON title WITH { "inference_id" : "test_reranker" }) + """, mainQueryIndexPattern, subqueryIndexPattern, joinIndexPattern); + + LogicalPlan plan = statement(query); + UnionAll unionAll = as(plan, UnionAll.class); + List children = unionAll.children(); + assertEquals(2, children.size()); + // leg1 + UnresolvedRelation unresolvedRelation = as(children.get(0), UnresolvedRelation.class); + assertEquals(unquoteIndexPattern(mainQueryIndexPattern), unresolvedRelation.indexPattern().indexPattern()); + // leg2 + Subquery subquery = as(children.get(1), Subquery.class); + Rerank rerank = as(subquery.plan(), Rerank.class); + Sample sample = as(rerank.child(), Sample.class); + Completion completion = as(sample.child(), Completion.class); + ChangePoint changePoint = as(completion.child(), ChangePoint.class); + Enrich enrich = as(changePoint.child(), Enrich.class); + LookupJoin lookupJoin = as(enrich.child(), LookupJoin.class); + UnresolvedRelation joinRelation = as(lookupJoin.right(), UnresolvedRelation.class); + assertEquals(unquoteIndexPattern(joinIndexPattern), joinRelation.indexPattern().indexPattern()); + MvExpand mvExpand = as(lookupJoin.left(), MvExpand.class); + Rename rename = as(mvExpand.child(), Rename.class); + Keep keep = as(rename.child(), Keep.class); + Drop drop = as(keep.child(), Drop.class); + Limit limit = as(drop.child(), Limit.class); + OrderBy orderBy = as(limit.child(), OrderBy.class); + Grok grok = as(orderBy.child(), Grok.class); + Dissect dissect = as(grok.child(), Dissect.class); + InlineStats inlineStats = as(dissect.child(), InlineStats.class); + Aggregate aggregate = as(inlineStats.child(), Aggregate.class); + aggregate = as(aggregate.child(), Aggregate.class); + Fork fork = as(aggregate.child(), Fork.class); + List forkChildren = fork.children(); + assertEquals(2, forkChildren.size()); + for (Eval forkEval : List.of(as(forkChildren.get(0), Eval.class), as(forkChildren.get(1), Eval.class))) { + Filter forkFilter = as(forkEval.child(), Filter.class); + Eval eval = as(forkFilter.child(), Eval.class); + Filter filter = as(eval.child(), Filter.class); + UnresolvedRelation subqueryRelation = as(filter.child(), UnresolvedRelation.class); + assertEquals(unquoteIndexPattern(subqueryIndexPattern), subqueryRelation.indexPattern().indexPattern()); + } + } + + /** + * A combination of the two previous tests with processing commands in both the subquery and main query. + */ + public void testSubqueryWithProcessingCommandsInSubqueryAndMainquery() { + assumeTrue("Requires subquery in FROM command support", EsqlCapabilities.Cap.SUBQUERY_IN_FROM_COMMAND.isEnabled()); + var mainQueryIndexPattern = randomIndexPatterns(without(CROSS_CLUSTER)); + var subqueryIndexPattern = randomIndexPatterns(without(CROSS_CLUSTER)); + var joinIndexPattern = "lookup_index"; + String query = LoggerMessageFormat.format(null, """ + FROM {}, (FROM {} + | WHERE a > 10 + | EVAL b = a * 2 + | FORK (WHERE c < 100) (WHERE d > 200) + | STATS cnt = COUNT(*) BY e + | INLINE STATS max_e = MAX(e) BY f + | DISSECT g "%{b} %{c}" + | GROK h "%{WORD:word} %{NUMBER:number}" + | SORT cnt desc + | LIMIT 10 + | DROP i + | KEEP j + | RENAME k AS l + | MV_EXPAND m + | LOOKUP JOIN {} ON n + | ENRICH clientip_policy ON client_ip WITH env + | CHANGE_POINT count ON @timestamp AS type, pvalue + | COMPLETION completion_output = prompt WITH { "inference_id" : "test_completion" } + | SAMPLE 0.5 + | RERANK "war and peace" ON title WITH { "inference_id" : "test_reranker" }) + | WHERE a > 10 + | EVAL b = a * 2 + | FORK (WHERE c < 100) (WHERE d > 200) + | STATS cnt = COUNT(*) BY e + | INLINE STATS max_e = MAX(e) BY f + | DISSECT g "%{b} %{c}" + | GROK h "%{WORD:word} %{NUMBER:number}" + | SORT cnt desc + | LIMIT 10 + | DROP i + | KEEP j + | RENAME k AS l + | MV_EXPAND m + | LOOKUP JOIN {} ON n + | ENRICH clientip_policy ON client_ip WITH env + | CHANGE_POINT count ON @timestamp AS type, pvalue + | COMPLETION completion_output = prompt WITH { "inference_id" : "test_completion" } + | SAMPLE 0.5 + | RERANK "war and peace" ON title WITH { "inference_id" : "test_reranker" } + """, mainQueryIndexPattern, subqueryIndexPattern, joinIndexPattern, joinIndexPattern); + + LogicalPlan plan = statement(query); + Rerank rerank = as(plan, Rerank.class); + Sample sample = as(rerank.child(), Sample.class); + Completion completion = as(sample.child(), Completion.class); + ChangePoint changePoint = as(completion.child(), ChangePoint.class); + Enrich enrich = as(changePoint.child(), Enrich.class); + LookupJoin lookupJoin = as(enrich.child(), LookupJoin.class); + UnresolvedRelation joinRelation = as(lookupJoin.right(), UnresolvedRelation.class); + assertEquals(unquoteIndexPattern(joinIndexPattern), joinRelation.indexPattern().indexPattern()); + MvExpand mvExpand = as(lookupJoin.left(), MvExpand.class); + Rename rename = as(mvExpand.child(), Rename.class); + Keep keep = as(rename.child(), Keep.class); + Drop drop = as(keep.child(), Drop.class); + Limit limit = as(drop.child(), Limit.class); + OrderBy orderBy = as(limit.child(), OrderBy.class); + Grok grok = as(orderBy.child(), Grok.class); + Dissect dissect = as(grok.child(), Dissect.class); + InlineStats inlineStats = as(dissect.child(), InlineStats.class); + Aggregate aggregate = as(inlineStats.child(), Aggregate.class); + aggregate = as(aggregate.child(), Aggregate.class); + Fork fork = as(aggregate.child(), Fork.class); + List forkChildren = fork.children(); + assertEquals(2, forkChildren.size()); + for (Eval forkEval : List.of(as(forkChildren.get(0), Eval.class), as(forkChildren.get(1), Eval.class))) { + Filter forkFilter = as(forkEval.child(), Filter.class); + Eval eval = as(forkFilter.child(), Eval.class); + Filter filter = as(eval.child(), Filter.class); + UnionAll unionAll = as(filter.child(), UnionAll.class); + List children = unionAll.children(); + assertEquals(2, children.size()); + // leg1 + UnresolvedRelation unresolvedRelation = as(children.get(0), UnresolvedRelation.class); + assertEquals(unquoteIndexPattern(mainQueryIndexPattern), unresolvedRelation.indexPattern().indexPattern()); + // leg2 + Subquery subquery = as(children.get(1), Subquery.class); + rerank = as(subquery.plan(), Rerank.class); + sample = as(rerank.child(), Sample.class); + completion = as(sample.child(), Completion.class); + changePoint = as(completion.child(), ChangePoint.class); + enrich = as(changePoint.child(), Enrich.class); + lookupJoin = as(enrich.child(), LookupJoin.class); + joinRelation = as(lookupJoin.right(), UnresolvedRelation.class); + assertEquals(unquoteIndexPattern(joinIndexPattern), joinRelation.indexPattern().indexPattern()); + mvExpand = as(lookupJoin.left(), MvExpand.class); + rename = as(mvExpand.child(), Rename.class); + keep = as(rename.child(), Keep.class); + drop = as(keep.child(), Drop.class); + limit = as(drop.child(), Limit.class); + orderBy = as(limit.child(), OrderBy.class); + grok = as(orderBy.child(), Grok.class); + dissect = as(grok.child(), Dissect.class); + inlineStats = as(dissect.child(), InlineStats.class); + aggregate = as(inlineStats.child(), Aggregate.class); + aggregate = as(aggregate.child(), Aggregate.class); + fork = as(aggregate.child(), Fork.class); + forkChildren = fork.children(); + assertEquals(2, forkChildren.size()); + for (Eval forkEvalSubquery : List.of(as(forkChildren.get(0), Eval.class), as(forkChildren.get(1), Eval.class))) { + forkFilter = as(forkEvalSubquery.child(), Filter.class); + eval = as(forkFilter.child(), Eval.class); + filter = as(eval.child(), Filter.class); + UnresolvedRelation subqueryRelation = as(filter.child(), UnresolvedRelation.class); + assertEquals(unquoteIndexPattern(subqueryIndexPattern), subqueryRelation.indexPattern().indexPattern()); + } + } + } + + /** + * Verify there is no parsing error if the subquery ends with different modes. + */ + public void testSubqueryEndsWithProcessingCommandsInDifferentMode() { + assumeTrue("Requires subquery in FROM command support", EsqlCapabilities.Cap.SUBQUERY_IN_FROM_COMMAND.isEnabled()); + List processingCommandInDifferentMode = List.of( + "INLINE STATS max_e = MAX(e) BY f", // inline mode, expression mode + "DISSECT g \"%{b} %{c}\"", // expression mode + "LOOKUP JOIN index1 ON n", // join mode + "ENRICH clientip_policy ON client_ip WITH env", // enrich mode + "CHANGE_POINT count ON @timestamp AS type, pvalue", // change_point mode + "FORK (WHERE c < 100) (WHERE d > 200)", // fork mode + "MV_EXPAND m", // mv_expand mode + "RENAME k AS l", // rename mode + "DROP i" // project mode + ); + var mainQueryIndexPattern = randomIndexPatterns(); + var subqueryIndexPattern = randomIndexPatterns(); + for (String processingCommand : processingCommandInDifferentMode) { + String query = LoggerMessageFormat.format(null, """ + FROM {}, (FROM {} + | {}) + | WHERE a > 10 + """, mainQueryIndexPattern, subqueryIndexPattern, processingCommand); + + LogicalPlan plan = statement(query); + Filter filter = as(plan, Filter.class); + UnionAll unionAll = as(filter.child(), UnionAll.class); + List children = unionAll.children(); + assertEquals(2, children.size()); + // leg1 + UnresolvedRelation unresolvedRelation = as(children.get(0), UnresolvedRelation.class); + assertEquals(unquoteIndexPattern(mainQueryIndexPattern), unresolvedRelation.indexPattern().indexPattern()); + // leg2 + Subquery subquery = as(children.get(1), Subquery.class); + } + } + + /** + * If the FROM command contains only a subquery, the subquery is merged into an index pattern + */ + public void testSubqueryOnly() { + assumeTrue("Requires subquery in FROM command support", EsqlCapabilities.Cap.SUBQUERY_IN_FROM_COMMAND.isEnabled()); + var subqueryIndexPattern1 = randomIndexPatterns(); + var subqueryIndexPattern2 = randomIndexPatterns(); + var subqueryIndexPattern3 = randomIndexPatterns(); + var combinedIndexPattern = unquoteIndexPattern(subqueryIndexPattern1) + + "," + + unquoteIndexPattern(subqueryIndexPattern2) + + "," + + unquoteIndexPattern(subqueryIndexPattern3); + String query = LoggerMessageFormat.format(null, """ + FROM (FROM {}), (FROM {}), (FROM {}) + """, subqueryIndexPattern1, subqueryIndexPattern2, subqueryIndexPattern3); + + LogicalPlan plan = statement(query); + UnresolvedRelation unresolvedRelation = as(plan, UnresolvedRelation.class); + assertEquals(combinedIndexPattern, unresolvedRelation.indexPattern().indexPattern()); + } + + /** + * If the FROM command contains only a subquery, the subquery is merged into an index pattern + */ + public void testSubqueryOnlyWithProcessingCommandInMainquery() { + assumeTrue("Requires subquery in FROM command support", EsqlCapabilities.Cap.SUBQUERY_IN_FROM_COMMAND.isEnabled()); + var subqueryIndexPattern = randomIndexPatterns(); + String query = LoggerMessageFormat.format(null, """ + FROM (FROM {}) + | WHERE a > 10 + | EVAL b = a * 2 + | FORK (WHERE c < 100) (WHERE d > 200) + | STATS cnt = COUNT(*) BY e + | SORT cnt desc + | LIMIT 10 + | DROP f + | KEEP g + """, subqueryIndexPattern); + + LogicalPlan plan = statement(query); + Keep keep = as(plan, Keep.class); + Drop drop = as(keep.child(), Drop.class); + Limit limit = as(drop.child(), Limit.class); + OrderBy orderBy = as(limit.child(), OrderBy.class); + Aggregate aggregate = as(orderBy.child(), Aggregate.class); + Fork fork = as(aggregate.child(), Fork.class); + List forkChildren = fork.children(); + assertEquals(2, forkChildren.size()); + for (Eval forkEval : List.of(as(forkChildren.get(0), Eval.class), as(forkChildren.get(1), Eval.class))) { + Filter forkFilter = as(forkEval.child(), Filter.class); + Eval eval = as(forkFilter.child(), Eval.class); + Filter filter = as(eval.child(), Filter.class); + UnresolvedRelation unresolvedRelation = as(filter.child(), UnresolvedRelation.class); + assertEquals(unquoteIndexPattern(subqueryIndexPattern), unresolvedRelation.indexPattern().indexPattern()); + } + } + + public void testSubqueryOnlyWithProcessingCommandsInSubquery() { + assumeTrue("Requires subquery in FROM command support", EsqlCapabilities.Cap.SUBQUERY_IN_FROM_COMMAND.isEnabled()); + var subqueryIndexPattern = randomIndexPatterns(); + String query = LoggerMessageFormat.format(null, """ + FROM (FROM {} + | WHERE a > 10 + | EVAL b = a * 2 + | FORK (WHERE c < 100) (WHERE d > 200) + | STATS cnt = COUNT(*) BY e + | SORT cnt desc + | LIMIT 10 + | DROP f + | KEEP g) + """, subqueryIndexPattern); + + LogicalPlan plan = statement(query); + Keep keep = as(plan, Keep.class); + Drop drop = as(keep.child(), Drop.class); + Limit limit = as(drop.child(), Limit.class); + OrderBy orderBy = as(limit.child(), OrderBy.class); + Aggregate aggregate = as(orderBy.child(), Aggregate.class); + Fork fork = as(aggregate.child(), Fork.class); + List forkChildren = fork.children(); + assertEquals(2, forkChildren.size()); + for (Eval forkEval : List.of(as(forkChildren.get(0), Eval.class), as(forkChildren.get(1), Eval.class))) { + Filter forkFilter = as(forkEval.child(), Filter.class); + Eval eval = as(forkFilter.child(), Eval.class); + Filter filter = as(eval.child(), Filter.class); + UnresolvedRelation subqueryRelation = as(filter.child(), UnresolvedRelation.class); + assertEquals(unquoteIndexPattern(subqueryIndexPattern), subqueryRelation.indexPattern().indexPattern()); + } + } + + /** + * If the FROM command contains only a subquery, the subquery is merged into an index pattern + */ + public void testSubqueryOnlyWithProcessingCommandsInSubqueryAndMainquery() { + assumeTrue("Requires subquery in FROM command support", EsqlCapabilities.Cap.SUBQUERY_IN_FROM_COMMAND.isEnabled()); + var subqueryIndexPattern = randomIndexPatterns(); + String query = LoggerMessageFormat.format(null, """ + FROM (FROM {} + | WHERE a > 10 + | EVAL b = a * 2 + | FORK (WHERE c < 100) (WHERE d > 200) + | STATS cnt = COUNT(*) BY e + | SORT cnt desc + | LIMIT 10 + | DROP f + | KEEP g) + | WHERE a > 10 + | EVAL b = a * 2 + | FORK (WHERE c < 100) (WHERE d > 200) + | STATS cnt = COUNT(*) BY e + | SORT cnt desc + | LIMIT 10 + | DROP f + | KEEP g + """, subqueryIndexPattern); + + LogicalPlan plan = statement(query); + Keep keep = as(plan, Keep.class); + Drop drop = as(keep.child(), Drop.class); + Limit limit = as(drop.child(), Limit.class); + OrderBy orderBy = as(limit.child(), OrderBy.class); + Aggregate aggregate = as(orderBy.child(), Aggregate.class); + Fork fork = as(aggregate.child(), Fork.class); + List forkChildren = fork.children(); + assertEquals(2, forkChildren.size()); + for (Eval forkEval : List.of(as(forkChildren.get(0), Eval.class), as(forkChildren.get(1), Eval.class))) { + Filter forkFilter = as(forkEval.child(), Filter.class); + Eval eval = as(forkFilter.child(), Eval.class); + Filter filter = as(eval.child(), Filter.class); + Keep subqueryKeep = as(filter.child(), Keep.class); + Drop subqueryDrop = as(subqueryKeep.child(), Drop.class); + Limit subqueryLimit = as(subqueryDrop.child(), Limit.class); + OrderBy subqueryOrderby = as(subqueryLimit.child(), OrderBy.class); + Aggregate subqueryAggregate = as(subqueryOrderby.child(), Aggregate.class); + Fork subqueryFork = as(subqueryAggregate.child(), Fork.class); + List subqueryForkChildren = subqueryFork.children(); + assertEquals(2, forkChildren.size()); + for (Eval subqueryForkEval : List.of( + as(subqueryForkChildren.get(0), Eval.class), + as(subqueryForkChildren.get(1), Eval.class) + )) { + Filter subqueryForkFilter = as(subqueryForkEval.child(), Filter.class); + Eval subqueryEval = as(subqueryForkFilter.child(), Eval.class); + Filter subqueryFilter = as(subqueryEval.child(), Filter.class); + UnresolvedRelation subqueryRelation = as(subqueryFilter.child(), UnresolvedRelation.class); + assertEquals(unquoteIndexPattern(subqueryIndexPattern), subqueryRelation.indexPattern().indexPattern()); + } + } + } + + /** + * Simple subqueries in the FROM command can be merged into index patterns + * e.g. FROM index1, (FROM index2), index3, (FROM index4) ==> FROM index1,index3,index2,index4 + */ + public void testMultipleMixedIndexPatternsAndSubqueries() { + assumeTrue("Requires subquery in FROM command support", EsqlCapabilities.Cap.SUBQUERY_IN_FROM_COMMAND.isEnabled()); + var indexPattern1 = randomIndexPatterns(); + var indexPattern2 = randomIndexPatterns(); + var indexPattern3 = randomIndexPatterns(); + var indexPattern4 = randomIndexPatterns(); + var combinedIndexPattern = unquoteIndexPattern(indexPattern1) + + "," + + unquoteIndexPattern(indexPattern3) + + "," + + unquoteIndexPattern(indexPattern2) + + "," + + unquoteIndexPattern(indexPattern4); + String query = LoggerMessageFormat.format(null, """ + FROM {}, (FROM {}), {}, (FROM {}) + """, indexPattern1, indexPattern2, indexPattern3, indexPattern4); + + LogicalPlan plan = statement(query); + UnresolvedRelation unresolvedRelation = as(plan, UnresolvedRelation.class); + assertEquals(combinedIndexPattern, unresolvedRelation.indexPattern().indexPattern()); + } + + public void testMultipleSubqueriesWithProcessingCommands() { + assumeTrue("Requires subquery in FROM command support", EsqlCapabilities.Cap.SUBQUERY_IN_FROM_COMMAND.isEnabled()); + var mainIndexPattern1 = randomIndexPatterns(); + var mainIndexPattern2 = randomIndexPatterns(); + var subqueryIndexPattern1 = randomIndexPatterns(); + var subqueryIndexPattern2 = randomIndexPatterns(); + var joinIndexPattern = "lookup_index"; + var combinedIndexPattern = unquoteIndexPattern(mainIndexPattern1) + + "," + + unquoteIndexPattern(mainIndexPattern2) + + "," + + unquoteIndexPattern(subqueryIndexPattern2); + String query = LoggerMessageFormat.format(null, """ + FROM {}, (FROM {} + | WHERE a > 10 + | EVAL b = a * 2 + | LOOKUP JOIN {} ON c + | FORK (WHERE c < 100) (WHERE d > 200) + | STATS cnt = COUNT(*) BY e + | SORT cnt desc + | LIMIT 10 + | DROP f + | KEEP g) + , {}, (FROM {}) + | WHERE a > 10 + | EVAL b = a * 2 + | LOOKUP JOIN {} ON c + | FORK (WHERE c < 100) (WHERE d > 200) + | STATS cnt = COUNT(*) BY e + | SORT cnt desc + | LIMIT 10 + | DROP f + | KEEP g + """, mainIndexPattern1, subqueryIndexPattern1, joinIndexPattern, mainIndexPattern2, subqueryIndexPattern2, joinIndexPattern); + + LogicalPlan plan = statement(query); + Keep keep = as(plan, Keep.class); + Drop drop = as(keep.child(), Drop.class); + Limit limit = as(drop.child(), Limit.class); + OrderBy orderBy = as(limit.child(), OrderBy.class); + Aggregate aggregate = as(orderBy.child(), Aggregate.class); + Fork fork = as(aggregate.child(), Fork.class); + List forkChildren = fork.children(); + assertEquals(2, forkChildren.size()); + for (Eval forkEval : List.of(as(forkChildren.get(0), Eval.class), as(forkChildren.get(1), Eval.class))) { + Filter forkFilter = as(forkEval.child(), Filter.class); + LookupJoin lookupJoin = as(forkFilter.child(), LookupJoin.class); + Eval eval = as(lookupJoin.left(), Eval.class); + UnresolvedRelation joinRelation = as(lookupJoin.right(), UnresolvedRelation.class); + assertEquals(unquoteIndexPattern(joinIndexPattern), joinRelation.indexPattern().indexPattern()); + Filter filter = as(eval.child(), Filter.class); + + UnionAll unionAll = as(filter.child(), UnionAll.class); + List children = unionAll.children(); + assertEquals(2, children.size()); + + UnresolvedRelation unresolvedRelation = as(children.get(0), UnresolvedRelation.class); + assertEquals(unquoteIndexPattern(combinedIndexPattern), unresolvedRelation.indexPattern().indexPattern()); + Subquery subquery1 = as(children.get(1), Subquery.class); + Keep subqueryKeep = as(subquery1.plan(), Keep.class); + Drop subqueryDrop = as(subqueryKeep.child(), Drop.class); + Limit subqueryLimit = as(subqueryDrop.child(), Limit.class); + OrderBy subqueryOrderby = as(subqueryLimit.child(), OrderBy.class); + Aggregate subqueryAggregate = as(subqueryOrderby.child(), Aggregate.class); + Fork subqueryFork = as(subqueryAggregate.child(), Fork.class); + List subqueryForkChildren = subqueryFork.children(); + assertEquals(2, forkChildren.size()); + for (Eval subqueryForkEval : List.of( + as(subqueryForkChildren.get(0), Eval.class), + as(subqueryForkChildren.get(1), Eval.class) + )) { + Filter subqueryForkFilter = as(subqueryForkEval.child(), Filter.class); + LookupJoin subqueryLookupJoin = as(subqueryForkFilter.child(), LookupJoin.class); + Eval subqueryEval = as(subqueryLookupJoin.left(), Eval.class); + UnresolvedRelation subqueryJoinRelation = as(subqueryLookupJoin.right(), UnresolvedRelation.class); + assertEquals(unquoteIndexPattern(joinIndexPattern), subqueryJoinRelation.indexPattern().indexPattern()); + Filter subqueryFilter = as(subqueryEval.child(), Filter.class); + UnresolvedRelation subqueryRelation = as(subqueryFilter.child(), UnresolvedRelation.class); + assertEquals(unquoteIndexPattern(subqueryIndexPattern1), subqueryRelation.indexPattern().indexPattern()); + } + } + } + + /** + * Simple nested subqueries can be flattened by LogicalPlanBuilder. + * e.g. FROM index1, (FROM index2, (FROM index3, (FROM index4))) ==> FROM index1,index2,index3,index4 + */ + public void testSimpleNestedSubquery() { + assumeTrue("Requires subquery in FROM command support", EsqlCapabilities.Cap.SUBQUERY_IN_FROM_COMMAND.isEnabled()); + var indexPattern1 = randomIndexPatterns(); + var indexPattern2 = randomIndexPatterns(); + var indexPattern3 = randomIndexPatterns(); + var indexPattern4 = randomIndexPatterns(); + var combinedIndexPattern = unquoteIndexPattern(indexPattern1) + + "," + + unquoteIndexPattern(indexPattern2) + + "," + + unquoteIndexPattern(indexPattern3) + + "," + + unquoteIndexPattern(indexPattern4); + String query = LoggerMessageFormat.format(null, """ + FROM {}, (FROM {}, (FROM {}, (FROM {}))) + """, indexPattern1, indexPattern2, indexPattern3, indexPattern4); + + LogicalPlan plan = statement(query); + UnresolvedRelation unresolvedRelation = as(plan, UnresolvedRelation.class); + assertEquals(unquoteIndexPattern(combinedIndexPattern), unresolvedRelation.indexPattern().indexPattern()); + } + + /** + * LogicalPlanBuilder does not flatten nested subqueries with processing commands, + * the structure of the nested subqueries s preserved in the parsed plan. + */ + public void testNestedSubqueryWithProcessingCommands() { + assumeTrue("Requires subquery in FROM command support", EsqlCapabilities.Cap.SUBQUERY_IN_FROM_COMMAND.isEnabled()); + var indexPattern1 = randomIndexPatterns(); + var indexPattern2 = randomIndexPatterns(); + var indexPattern3 = randomIndexPatterns(); + var indexPattern4 = randomIndexPatterns(); + String query = LoggerMessageFormat.format(null, """ + FROM {}, (FROM {}, (FROM {}, (FROM {} + | WHERE a > 10) + | EVAL b = a * 2) + |STATS cnt = COUNT(*) BY e) + | LIMIT 10 + """, indexPattern1, indexPattern2, indexPattern3, indexPattern4); + + LogicalPlan plan = statement(query); + Limit limit = as(plan, Limit.class); + UnionAll unionAll = as(limit.child(), UnionAll.class); + List children = unionAll.children(); + assertEquals(2, children.size()); + UnresolvedRelation unresolvedRelation = as(children.get(0), UnresolvedRelation.class); + assertEquals(unquoteIndexPattern(indexPattern1), unresolvedRelation.indexPattern().indexPattern()); + Subquery subquery1 = as(children.get(1), Subquery.class); + Aggregate aggregate = as(subquery1.plan(), Aggregate.class); + unionAll = as(aggregate.child(), UnionAll.class); + children = unionAll.children(); + assertEquals(2, children.size()); + unresolvedRelation = as(children.get(0), UnresolvedRelation.class); + assertEquals(unquoteIndexPattern(indexPattern2), unresolvedRelation.indexPattern().indexPattern()); + Subquery subquery2 = as(children.get(1), Subquery.class); + Eval eval = as(subquery2.plan(), Eval.class); + unionAll = as(eval.child(), UnionAll.class); + children = unionAll.children(); + assertEquals(2, children.size()); + unresolvedRelation = as(children.get(0), UnresolvedRelation.class); + assertEquals(unquoteIndexPattern(indexPattern3), unresolvedRelation.indexPattern().indexPattern()); + Subquery subquery3 = as(children.get(1), Subquery.class); + Filter filter = as(subquery3.plan(), Filter.class); + unresolvedRelation = as(filter.child(), UnresolvedRelation.class); + assertEquals(unquoteIndexPattern(indexPattern4), unresolvedRelation.indexPattern().indexPattern()); + } + + /** + * The medatada options from the main query are not propagated into subqueries. + */ + public void testSubqueriesWithMetadada() { + assumeTrue("Requires subquery in FROM command support", EsqlCapabilities.Cap.SUBQUERY_IN_FROM_COMMAND.isEnabled()); + var indexPattern1 = randomIndexPatterns(); + var indexPattern2 = randomIndexPatterns(); + var indexPattern3 = randomIndexPatterns(); + String query = LoggerMessageFormat.format(null, """ + FROM {}, (FROM {}, (FROM {}) metadata _score | WHERE a > 10) metadata _index + | STATS cnt = COUNT(*) BY a + """, indexPattern1, indexPattern2, indexPattern3); + + LogicalPlan plan = statement(query); + Aggregate aggregate = as(plan, Aggregate.class); + UnionAll unionAll = as(aggregate.child(), UnionAll.class); + List children = unionAll.children(); + assertEquals(2, children.size()); + // main query + UnresolvedRelation mainRelation = as(children.get(0), UnresolvedRelation.class); + assertEquals(unquoteIndexPattern(indexPattern1), mainRelation.indexPattern().indexPattern()); + List metadata = mainRelation.metadataFields(); + assertEquals(1, metadata.size()); + MetadataAttribute metadataAttribute = as(metadata.get(0), MetadataAttribute.class); + assertEquals("_index", metadataAttribute.name()); + // subquery1 + Subquery subquery = as(children.get(1), Subquery.class); + Filter filter = as(subquery.plan(), Filter.class); + unionAll = as(filter.child(), UnionAll.class); + children = unionAll.children(); + assertEquals(2, children.size()); + UnresolvedRelation subqueryRelation = as(children.get(0), UnresolvedRelation.class); + assertEquals(unquoteIndexPattern(indexPattern2), subqueryRelation.indexPattern().indexPattern()); + metadata = subqueryRelation.metadataFields(); + assertEquals(1, metadata.size()); + metadataAttribute = as(metadata.get(0), MetadataAttribute.class); + assertEquals("_score", metadataAttribute.name()); + // subquery2 + subquery = as(children.get(1), Subquery.class); + subqueryRelation = as(subquery.plan(), UnresolvedRelation.class); + assertEquals(unquoteIndexPattern(indexPattern3), subqueryRelation.indexPattern().indexPattern()); + metadata = subqueryRelation.metadataFields(); + assertEquals(0, metadata.size()); + } + + public void testTimeSeriesWithSubquery() { + assumeTrue("Requires subquery in FROM command support", EsqlCapabilities.Cap.SUBQUERY_IN_FROM_COMMAND.isEnabled()); + var mainIndexPattern = randomIndexPatterns(); + var subqueryIndexPattern = randomIndexPatterns(); + String query = LoggerMessageFormat.format(null, """ + TS index1, (FROM index2) + """, mainIndexPattern, subqueryIndexPattern); + + expectThrows( + ParsingException.class, + containsString("line 1:2: Subqueries are not supported in TS command"), + () -> statement(query) + ); + } +} diff --git a/x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/tree/EsqlNodeSubclassTests.java b/x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/tree/EsqlNodeSubclassTests.java index 49cc6dfc57f1e..71718e94f379b 100644 --- a/x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/tree/EsqlNodeSubclassTests.java +++ b/x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/tree/EsqlNodeSubclassTests.java @@ -44,12 +44,15 @@ import org.elasticsearch.xpack.esql.expression.function.scalar.math.Pow; import org.elasticsearch.xpack.esql.expression.function.scalar.string.Concat; import org.elasticsearch.xpack.esql.expression.predicate.fulltext.FullTextPredicate; +import org.elasticsearch.xpack.esql.expression.predicate.operator.comparison.Equals; import org.elasticsearch.xpack.esql.index.EsIndex; import org.elasticsearch.xpack.esql.plan.logical.Dissect; import org.elasticsearch.xpack.esql.plan.logical.EsRelation; +import org.elasticsearch.xpack.esql.plan.logical.Filter; import org.elasticsearch.xpack.esql.plan.logical.Fork; import org.elasticsearch.xpack.esql.plan.logical.Grok; import org.elasticsearch.xpack.esql.plan.logical.LogicalPlan; +import org.elasticsearch.xpack.esql.plan.logical.UnionAll; import org.elasticsearch.xpack.esql.plan.logical.join.JoinConfig; import org.elasticsearch.xpack.esql.plan.logical.join.JoinType; import org.elasticsearch.xpack.esql.plan.logical.join.JoinTypes; @@ -96,6 +99,7 @@ import static java.util.Collections.emptyList; import static org.elasticsearch.xpack.esql.ConfigurationTestUtils.randomConfiguration; import static org.elasticsearch.xpack.esql.core.type.DataType.GEO_POINT; +import static org.elasticsearch.xpack.esql.core.type.DataType.INTEGER; import static org.elasticsearch.xpack.esql.index.EsIndexSerializationTests.randomEsIndex; import static org.elasticsearch.xpack.esql.index.EsIndexSerializationTests.randomIndexNameWithModes; import static org.elasticsearch.xpack.esql.plan.AbstractNodeSerializationTests.randomFieldAttributes; @@ -150,7 +154,7 @@ public static List nodeSubclasses() throws IOException { .toList(); } - private static final List> CLASSES_WITH_MIN_TWO_CHILDREN = List.of(Concat.class, CIDRMatch.class, Fork.class); + private static final List> CLASSES_WITH_MIN_TWO_CHILDREN = List.of(Concat.class, CIDRMatch.class, Fork.class, UnionAll.class); // List of classes that are "unresolved" NamedExpression subclasses, therefore not suitable for use with logical/physical plan nodes. private static final List> UNRESOLVED_CLASSES = List.of( @@ -449,7 +453,7 @@ public void accept(Page page) { return randomInt(); } else if (argClass == JoinType.class) { return JoinTypes.LEFT; - } else if (List.of(Fork.class, MergeExec.class).contains(toBuildClass) && argType == LogicalPlan.class) { + } else if (List.of(Fork.class, MergeExec.class, UnionAll.class).contains(toBuildClass) && argType == LogicalPlan.class) { // limit recursion of plans, in order to prevent stackoverflow errors return randomEsRelation(); } @@ -745,6 +749,24 @@ static EsQueryExec.QueryBuilderAndTags randomQueryBuildAndTags() { return new EsQueryExec.QueryBuilderAndTags(randomQuery(), List.of(randomBoolean() ? randomLong() : randomDouble())); } + static EsRelation randomEsRelationInUnionAll() { + return new EsRelation( + SourceTests.randomSource(), + randomIdentifier(), + randomFrom(IndexMode.STANDARD, IndexMode.LOOKUP), + randomIndexNameWithModes(), + randomFieldAttributes(0, 10, false) + ); + } + + static Filter randomFilterInUnionAll() { + return new Filter( + Source.EMPTY, + randomEsRelationInUnionAll(), + new Equals(Source.EMPTY, field(randomAlphaOfLength(16), INTEGER), new Literal(Source.EMPTY, randomInt(), INTEGER)) + ); + } + static FieldAttribute field(String name, DataType type) { return new FieldAttribute( Source.EMPTY, diff --git a/x-pack/plugin/src/yamlRestTest/resources/rest-api-spec/test/esql/60_usage.yml b/x-pack/plugin/src/yamlRestTest/resources/rest-api-spec/test/esql/60_usage.yml index c4d5783b810ea..1fe916f5682a2 100644 --- a/x-pack/plugin/src/yamlRestTest/resources/rest-api-spec/test/esql/60_usage.yml +++ b/x-pack/plugin/src/yamlRestTest/resources/rest-api-spec/test/esql/60_usage.yml @@ -68,7 +68,7 @@ setup: - do: { xpack.usage: { } } - match: { esql.available: true } - match: { esql.enabled: true } - - length: { esql.features: 28 } + - length: { esql.features: 29 } - set: { esql.features.dissect: dissect_counter } - set: { esql.features.drop: drop_counter } - set: { esql.features.eval: eval_counter } @@ -223,7 +223,7 @@ setup: - do: { xpack.usage: { } } - match: { esql.available: true } - match: { esql.enabled: true } - - length: { esql.features: 28 } + - length: { esql.features: 29 } - set: { esql.features.dissect: dissect_counter } - set: { esql.features.drop: drop_counter } - set: { esql.features.eval: eval_counter } From 440e501888bed0766c0f08245ae69d9f5446f7b8 Mon Sep 17 00:00:00 2001 From: Fang Xing <155562079+fang-xing-esql@users.noreply.github.com> Date: Tue, 30 Sep 2025 18:28:08 -0400 Subject: [PATCH 02/16] Update docs/changelog/135744.yaml --- docs/changelog/135744.yaml | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 docs/changelog/135744.yaml diff --git a/docs/changelog/135744.yaml b/docs/changelog/135744.yaml new file mode 100644 index 0000000000000..a3525e06b4dcf --- /dev/null +++ b/docs/changelog/135744.yaml @@ -0,0 +1,5 @@ +pr: 135744 +summary: Non-Correlated Subquery in FROM command +area: ES|QL +type: enhancement +issues: [] From 20e543de067f112d52e94c728fe8346d7d668d20 Mon Sep 17 00:00:00 2001 From: Fang Xing Date: Tue, 30 Sep 2025 19:36:16 -0400 Subject: [PATCH 03/16] cleanup --- .../java/org/elasticsearch/xpack/esql/analysis/PreAnalyzer.java | 2 -- 1 file changed, 2 deletions(-) diff --git a/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/analysis/PreAnalyzer.java b/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/analysis/PreAnalyzer.java index 108eb22f0b713..7b9847288593d 100644 --- a/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/analysis/PreAnalyzer.java +++ b/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/analysis/PreAnalyzer.java @@ -131,7 +131,5 @@ private void collectSubqueryIndexPattern( return; } subqueryIndices.add(pattern); - System.out.println("collected subquery index pattern: " + pattern); - System.out.println("subquery indices now: " + subqueryIndices); } } From f7d695d88aa9cd2827dfcf0cf4aa90bb42730cf0 Mon Sep 17 00:00:00 2001 From: Fang Xing Date: Tue, 30 Sep 2025 23:18:53 -0400 Subject: [PATCH 04/16] update tests --- .../xpack/esql/ccq/MultiClusterSpecIT.java | 7 + .../src/main/resources/subquery.csv-spec | 780 +++++++++--------- .../xpack/esql/action/EsqlActionIT.java | 2 +- .../xpack/esql/parser/SubqueryTests.java | 30 + 4 files changed, 430 insertions(+), 389 deletions(-) diff --git a/x-pack/plugin/esql/qa/server/multi-clusters/src/javaRestTest/java/org/elasticsearch/xpack/esql/ccq/MultiClusterSpecIT.java b/x-pack/plugin/esql/qa/server/multi-clusters/src/javaRestTest/java/org/elasticsearch/xpack/esql/ccq/MultiClusterSpecIT.java index 2df8d40e0a095..4e3a779f51981 100644 --- a/x-pack/plugin/esql/qa/server/multi-clusters/src/javaRestTest/java/org/elasticsearch/xpack/esql/ccq/MultiClusterSpecIT.java +++ b/x-pack/plugin/esql/qa/server/multi-clusters/src/javaRestTest/java/org/elasticsearch/xpack/esql/ccq/MultiClusterSpecIT.java @@ -56,6 +56,7 @@ import static org.elasticsearch.xpack.esql.action.EsqlCapabilities.Cap.JOIN_LOOKUP_V12; import static org.elasticsearch.xpack.esql.action.EsqlCapabilities.Cap.JOIN_PLANNING_V1; import static org.elasticsearch.xpack.esql.action.EsqlCapabilities.Cap.METADATA_FIELDS_REMOTE_TEST; +import static org.elasticsearch.xpack.esql.action.EsqlCapabilities.Cap.SUBQUERY_IN_FROM_COMMAND; import static org.elasticsearch.xpack.esql.action.EsqlCapabilities.Cap.UNMAPPED_FIELDS; import static org.elasticsearch.xpack.esql.qa.rest.RestEsqlTestCase.hasCapabilities; import static org.mockito.ArgumentMatchers.any; @@ -172,6 +173,12 @@ protected void shouldSkipTest(String testName) throws IOException { hasCapabilities(adminClient(), List.of(ENABLE_FORK_FOR_REMOTE_INDICES.capabilityName())) ); } + // Subqueries in FROM are not fully tested in CCS yet + // And convertToRemoteIndices does not generate correct queries with subqueries in the FROM command yet + assumeFalse( + "Subqueries in FROM command not yet supported in CCS", + testCase.requiredCapabilities.contains(SUBQUERY_IN_FROM_COMMAND.capabilityName()) + ); } private TestFeatureService remoteFeaturesService() throws IOException { diff --git a/x-pack/plugin/esql/qa/testFixtures/src/main/resources/subquery.csv-spec b/x-pack/plugin/esql/qa/testFixtures/src/main/resources/subquery.csv-spec index f2aed53608d5e..090c03b565c0f 100644 --- a/x-pack/plugin/esql/qa/testFixtures/src/main/resources/subquery.csv-spec +++ b/x-pack/plugin/esql/qa/testFixtures/src/main/resources/subquery.csv-spec @@ -3,6 +3,7 @@ // subqueryInFromMergeToMainIndexPattern +required_capability: fork_v9 required_capability: subquery_in_from_command FROM employees, (FROM sample_data) @@ -25,6 +26,7 @@ null | null | 172.21.3.15 ; subqueryInFromWithEvalInSubquery +required_capability: fork_v9 required_capability: subquery_in_from_command FROM employees, (FROM sample_data | EVAL x = client_ip::keyword ) metadata _index @@ -47,6 +49,7 @@ null | null | null | 172.21.3.15 | 172.21.3.15 ; subqueryInFromWithWhereInSubquery +required_capability: fork_v9 required_capability: subquery_in_from_command FROM employees, (FROM sample_data @@ -68,6 +71,7 @@ null | null | null | 172.21.3.15 ; subqueryInFromWithStatsInSubquery +required_capability: fork_v9 required_capability: subquery_in_from_command FROM employees, (FROM sample_data @@ -88,7 +92,37 @@ null | null | null | 1 | 172.21.2.162 null | null | null | 4 | 172.21.3.15 ; +subqueryInFromWithStatsInMainQuery +required_capability: fork_v9 +required_capability: subquery_in_from_command + +FROM sample_data, sample_data_str, + (FROM sample_data_ts_nanos + | WHERE client_ip == "172.21.3.15") , + (FROM sample_data_ts_long + | EVAL @timestamp = @timestamp::date_nanos + | WHERE client_ip == "172.21.0.5") + metadata _index +| EVAL client_ip = client_ip::ip +| STATS cnt = count(*) BY _index, client_ip +| SORT _index, client_ip +; + +cnt:long | _index:keyword | client_ip:ip +1 | sample_data | 172.21.0.5 +1 | sample_data | 172.21.2.113 +1 | sample_data | 172.21.2.162 +4 | sample_data | 172.21.3.15 +1 | sample_data_str | 172.21.0.5 +1 | sample_data_str | 172.21.2.113 +1 | sample_data_str | 172.21.2.162 +4 | sample_data_str | 172.21.3.15 +1 | null | 172.21.0.5 +4 | null | 172.21.3.15 +; + subqueryInFromWithLookupJoinInSubquery +required_capability: fork_v9 required_capability: subquery_in_from_command FROM employees, (FROM sample_data @@ -113,7 +147,34 @@ null | null | null | 172.21.3.15 | Produc null | null | null | 172.21.3.15 | Production ; +subqueryInFromWithLookupJoinInMainQuery +required_capability: fork_v9 +required_capability: subquery_in_from_command + +FROM employees, (FROM sample_data + | EVAL client_ip = client_ip::keyword ) + metadata _index +| WHERE ( emp_no >= 10091 AND emp_no < 10094) OR emp_no IS NULL +| LOOKUP JOIN clientips_lookup ON client_ip +| SORT emp_no, client_ip +| KEEP _index, emp_no, languages, client_ip, env +; + +_index:keyword | emp_no:integer | languages:integer | client_ip:keyword | env:keyword +employees | 10091 | 3 | null | null +employees | 10092 | 1 | null | null +employees | 10093 | 3 | null | null +null | null | null | 172.21.0.5 | Development +null | null | null | 172.21.2.113 | QA +null | null | null | 172.21.2.162 | QA +null | null | null | 172.21.3.15 | Production +null | null | null | 172.21.3.15 | Production +null | null | null | 172.21.3.15 | Production +null | null | null | 172.21.3.15 | Production +; + subqueryInFromWithEnrichInSubquery +required_capability: fork_v9 required_capability: subquery_in_from_command FROM employees, (FROM employees_incompatible @@ -133,7 +194,30 @@ null | 10092 | 1 | English null | 10093 | 3 | Spanish ; +subqueryInFromWithEnrichInMainQuery +required_capability: fork_v9 +required_capability: subquery_in_from_command + +FROM employees, (FROM employees_incompatible + | KEEP emp_no, languages) + metadata _index +| WHERE emp_no >= 10091 AND emp_no < 10094 +| ENRICH languages_policy on languages with language_name +| SORT _index, emp_no +| KEEP _index, emp_no, languages, language_name +; + +_index:keyword | emp_no:long | languages:integer | language_name:keyword +employees | 10091 | 3 | Spanish +employees | 10092 | 1 | English +employees | 10093 | 3 | Spanish +null | 10091 | 3 | Spanish +null | 10092 | 1 | English +null | 10093 | 3 | Spanish +; + subqueryInFromWithSortInSubquery +required_capability: fork_v9 required_capability: subquery_in_from_command FROM employees, (FROM sample_data @@ -154,6 +238,7 @@ null | null | null | 4 | 172.21.3.15 ; subqueryInFromWithGrokInSubquery +required_capability: fork_v9 required_capability: subquery_in_from_command FROM employees_incompatible, (FROM employees @@ -174,7 +259,30 @@ emp_no:long | a:keyword | b:keyword 10093 | null | null ; +subqueryInFromWithGrokInMainQuery +required_capability: fork_v9 +required_capability: subquery_in_from_command + +FROM employees_incompatible, (FROM employees + | WHERE emp_no > 10091 AND emp_no < 10094 + | KEEP emp_no, first_name, last_name ) + metadata _index +| WHERE emp_no >= 10091 AND emp_no < 10094 +| GROK concat(first_name, " ", last_name) "%{WORD:a} %{WORD:b}" +| SORT emp_no, a, b +| KEEP emp_no, a, b +; + +emp_no:long | a:keyword | b:keyword +10091 | Amabile | Gomatam +10092 | Valdiodio | Niizuma +10092 | Valdiodio | Niizuma +10093 | Sailaja | Desikan +10093 | Sailaja | Desikan +; + subqueryInFromWithDissectInSubquery +required_capability: fork_v9 required_capability: subquery_in_from_command FROM employees, (FROM employees_incompatible @@ -195,7 +303,31 @@ emp_no:long | a:keyword | b:keyword 10093 | null | null ; +subqueryInFromWithDissectInMainQuery +required_capability: fork_v9 +required_capability: subquery_in_from_command + +FROM employees, (FROM employees_incompatible + | WHERE emp_no > 10091 AND emp_no < 10094 + | KEEP emp_no, first_name, last_name ) + metadata _index +| WHERE emp_no >= 10091 AND emp_no < 10094 +| EVAL name = concat(first_name, "1 ", last_name) +| DISSECT name "%{a} %{b}" +| SORT emp_no, a, b +| KEEP emp_no, a, b +; + +emp_no:long | a:keyword | b:keyword +10091 | Amabile1 | Gomatam +10092 | Valdiodio1 | Niizuma +10092 | Valdiodio1 | Niizuma +10093 | Sailaja1 | Desikan +10093 | Sailaja1 | Desikan +; + subqueryInFromWithMvExpandInSubquery +required_capability: fork_v9 required_capability: subquery_in_from_command FROM employees_incompatible, (FROM employees @@ -221,7 +353,40 @@ emp_no:long | first_name:keyword | last_name:keyword | job_positions:keyword 10093 | Sailaja | Desikan | Tech Lead ; +subqueryInFromWithMvExpandInMainQuery +required_capability: fork_v9 +required_capability: subquery_in_from_command + +FROM employees_incompatible, (FROM employees + | KEEP emp_no, first_name, last_name, job_positions) +| WHERE emp_no >= 10091 AND emp_no < 10094 +| MV_EXPAND job_positions +| SORT emp_no, first_name, last_name, job_positions +| KEEP emp_no, first_name, last_name, job_positions +; +ignoreOrder:true + +emp_no:long | first_name:keyword | last_name:keyword | job_positions:text + 10091 | Amabile | Gomatam | Python Developer + 10091 | Amabile | Gomatam | Python Developer + 10091 | Amabile | Gomatam | Reporting Analyst + 10091 | Amabile | Gomatam | Reporting Analyst + 10092 | Valdiodio | Niizuma | Accountant + 10092 | Valdiodio | Niizuma | Accountant + 10092 | Valdiodio | Niizuma | Junior Developer + 10092 | Valdiodio | Niizuma | Junior Developer + 10093 | Sailaja | Desikan | Principal Support Engineer + 10093 | Sailaja | Desikan | Principal Support Engineer + 10093 | Sailaja | Desikan | Purchase Manager + 10093 | Sailaja | Desikan | Purchase Manager + 10093 | Sailaja | Desikan | Reporting Analyst + 10093 | Sailaja | Desikan | Reporting Analyst + 10093 | Sailaja | Desikan | Tech Lead + 10093 | Sailaja | Desikan | Tech Lead +; + subqueryInFromWithInlineStatsInSubquery +required_capability: fork_v9 required_capability: subquery_in_from_command FROM employees, (FROM employees_incompatible @@ -241,7 +406,46 @@ emp_no:long | first_name:keyword | last_name:keyword | cnt:long | gender:keyword 10093 | Sailaja | Desikan | null | M ; +subqueryInFromWithInlineStatsInMainQuery +required_capability: fork_v9 +required_capability: subquery_in_from_command + +FROM sample_data, sample_data_str, + (FROM sample_data_ts_nanos + | WHERE client_ip == "172.21.3.15") , + (FROM sample_data_ts_long + | EVAL @timestamp = @timestamp::date_nanos + | WHERE client_ip == "172.21.0.5") + metadata _index +| EVAL client_ip = client_ip::ip +| INLINE STATS cnt = count(*) BY _index, client_ip +| SORT _index, @timestamp +; + +@timestamp:date_nanos | event_duration:long | message:keyword | cnt:long | _index:keyword | client_ip:ip +2023-10-23T12:15:03.360Z | 3450233 | Connected to 10.1.0.3 | 1 | sample_data | 172.21.2.162 +2023-10-23T12:27:28.948Z | 2764889 | Connected to 10.1.0.2 | 1 | sample_data | 172.21.2.113 +2023-10-23T13:33:34.937Z | 1232382 | Disconnected | 1 | sample_data | 172.21.0.5 +2023-10-23T13:51:54.732Z | 725448 | Connection error | 4 | sample_data | 172.21.3.15 +2023-10-23T13:52:55.015Z | 8268153 | Connection error | 4 | sample_data | 172.21.3.15 +2023-10-23T13:53:55.832Z | 5033755 | Connection error | 4 | sample_data | 172.21.3.15 +2023-10-23T13:55:01.543Z | 1756467 | Connected to 10.1.0.1 | 4 | sample_data | 172.21.3.15 +2023-10-23T12:15:03.360Z | 3450233 | Connected to 10.1.0.3 | 1 | sample_data_str | 172.21.2.162 +2023-10-23T12:27:28.948Z | 2764889 | Connected to 10.1.0.2 | 1 | sample_data_str | 172.21.2.113 +2023-10-23T13:33:34.937Z | 1232382 | Disconnected | 1 | sample_data_str | 172.21.0.5 +2023-10-23T13:51:54.732Z | 725448 | Connection error | 4 | sample_data_str | 172.21.3.15 +2023-10-23T13:52:55.015Z | 8268153 | Connection error | 4 | sample_data_str | 172.21.3.15 +2023-10-23T13:53:55.832Z | 5033755 | Connection error | 4 | sample_data_str | 172.21.3.15 +2023-10-23T13:55:01.543Z | 1756467 | Connected to 10.1.0.1 | 4 | sample_data_str | 172.21.3.15 +1970-01-01T00:28:18.068014937Z | 1232382 | Disconnected | 1 | null | 172.21.0.5 +2023-10-23T13:51:54.732123456Z | 725448 | Connection error | 4 | null | 172.21.3.15 +2023-10-23T13:52:55.015123456Z | 8268153 | Connection error | 4 | null | 172.21.3.15 +2023-10-23T13:53:55.832123456Z | 5033755 | Connection error | 4 | null | 172.21.3.15 +2023-10-23T13:55:01.543123456Z | 1756467 | Connected to 10.1.0.1 | 4 | null | 172.21.3.15 +; + subqueryInFromWithRenameInSubquery +required_capability: fork_v9 required_capability: subquery_in_from_command FROM employees_incompatible, (FROM employees @@ -261,10 +465,76 @@ emp_no:long | first_name:text | last_name:text | a:keyword | b:keyword 10093 | Sailaja | Desikan | null | null ; +subqueryInFromWithRenameInMainQuery +required_capability: fork_v9 +required_capability: subquery_in_from_command + +FROM sample_data, sample_data_str, + (FROM sample_data_ts_nanos + | WHERE client_ip == "172.21.3.15") , + (FROM sample_data_ts_long + | EVAL @timestamp = @timestamp::date_nanos + | WHERE client_ip == "172.21.0.5") + metadata _index +| EVAL client_ip = client_ip::ip +| DROP event_duration, message +| RENAME client_ip AS clientip +| SORT _index, @timestamp +; + +@timestamp:date_nanos | _index:keyword | clientip:ip +2023-10-23T12:15:03.360Z | sample_data | 172.21.2.162 +2023-10-23T12:27:28.948Z | sample_data | 172.21.2.113 +2023-10-23T13:33:34.937Z | sample_data | 172.21.0.5 +2023-10-23T13:51:54.732Z | sample_data | 172.21.3.15 +2023-10-23T13:52:55.015Z | sample_data | 172.21.3.15 +2023-10-23T13:53:55.832Z | sample_data | 172.21.3.15 +2023-10-23T13:55:01.543Z | sample_data | 172.21.3.15 +2023-10-23T12:15:03.360Z | sample_data_str | 172.21.2.162 +2023-10-23T12:27:28.948Z | sample_data_str | 172.21.2.113 +2023-10-23T13:33:34.937Z | sample_data_str | 172.21.0.5 +2023-10-23T13:51:54.732Z | sample_data_str | 172.21.3.15 +2023-10-23T13:52:55.015Z | sample_data_str | 172.21.3.15 +2023-10-23T13:53:55.832Z | sample_data_str | 172.21.3.15 +2023-10-23T13:55:01.543Z | sample_data_str | 172.21.3.15 +1970-01-01T00:28:18.068014937Z | null | 172.21.0.5 +2023-10-23T13:51:54.732123456Z | null | 172.21.3.15 +2023-10-23T13:52:55.015123456Z | null | 172.21.3.15 +2023-10-23T13:53:55.832123456Z | null | 172.21.3.15 +2023-10-23T13:55:01.543123456Z | null | 172.21.3.15 +; + subqueryInFromWithSampleInSubquery +required_capability: fork_v9 +required_capability: sample_v3 +required_capability: subquery_in_from_command + +FROM employees, (FROM sample_data | SAMPLE 0.999999) +| WHERE ( emp_no >= 10091 AND emp_no < 10094) OR emp_no IS NULL +| SORT emp_no, client_ip +| KEEP emp_no, languages, client_ip +; + +emp_no:integer | languages:integer | client_ip:ip +10091 | 3 | null +10092 | 1 | null +10093 | 3 | null +null | null | 172.21.0.5 +null | null | 172.21.2.113 +null | null | 172.21.2.162 +null | null | 172.21.3.15 +null | null | 172.21.3.15 +null | null | 172.21.3.15 +null | null | 172.21.3.15 +; + +subqueryInFromWithSampleInMainQuery +required_capability: fork_v9 +required_capability: sample_v3 required_capability: subquery_in_from_command FROM employees, (FROM sample_data | SAMPLE 0.999999) +| SAMPLE 0.999999 | WHERE ( emp_no >= 10091 AND emp_no < 10094) OR emp_no IS NULL | SORT emp_no, client_ip | KEEP emp_no, languages, client_ip @@ -284,6 +554,8 @@ null | null | 172.21.3.15 ; subqueryInFromWithChangePointInSubquery +required_capability: fork_v9 +required_capability: change_point required_capability: subquery_in_from_command FROM employees_incompatible, (FROM employees @@ -301,17 +573,125 @@ _index:keyword | emp_no:long | salary:long | type:keyword | pvalue:doubl null | 10023 | 1000000 | spike | 0.0 ; -subqueryInFromWithUnionTypesWithCommonTypes +subqueryInFromWithChangePointInMainQuery +required_capability: fork_v9 +required_capability: change_point required_capability: subquery_in_from_command -FROM employees, (FROM employees_incompatible, employees - | EVAL emp_no = emp_no::integer - , first_name = first_name::keyword - , last_name = last_name::keyword - | WHERE emp_no < 10093 - | KEEP emp_no, first_name, last_name) - metadata _index -| WHERE emp_no >= 10091 AND emp_no < 10094 +FROM employees, (FROM employees_incompatible + | KEEP emp_no, salary) +| EVAL salary = CASE(emp_no==10022, 100000::long, salary) +| EVAL salary = CASE(emp_no==10023, 1000000::long, salary) +| CHANGE_POINT salary ON emp_no AS type, pvalue +| WHERE pvalue is not null and type is not null +| SORT emp_no +| KEEP emp_no, salary, type, pvalue +; + +emp_no:long | salary:long | type:keyword | pvalue:double +10023 | 1000000 | spike | 0.0 +; + +subqueryInFromWithCompletionInSubquery +required_capability: fork_v9 +required_capability: completion +required_capability: match_operator_colon +required_capability: subquery_in_from_command + +FROM sample_data, (FROM books metadata _score + | WHERE title:"war and peace" AND author:"Tolstoy" + | SORT _score DESC + | LIMIT 2 + | COMPLETION title WITH { "inference_id" : "test_completion" } + | KEEP title, completion) +| WHERE client_ip == "172.21.0.5" or client_ip IS NULL +| KEEP title, completion, @timestamp, client_ip +; +ignoreOrder:true + +title:text | completion:keyword | @timestamp:datetime | client_ip:ip +War and Peace | WAR AND PEACE | null | null +War and Peace (Signet Classics) | WAR AND PEACE (SIGNET CLASSICS) | null | null +null | null | 2023-10-23T13:33:34.937Z | 172.21.0.5 +; + +subqueryInFromWithCompletionInMainQuery +required_capability: fork_v9 +required_capability: completion +required_capability: subquery_in_from_command + +FROM books, (FROM sample_data + | WHERE client_ip == "172.21.0.5" + | KEEP @timestamp, client_ip) +| SORT book_no +| LIMIT 2 +| COMPLETION title WITH { "inference_id" : "test_completion" } +| KEEP title, completion, @timestamp, client_ip +; +ignoreOrder:true + +title:text | completion:keyword | @timestamp:datetime | client_ip:ip +Realms of Tolkien: Images of Middle-earth | REALMS OF TOLKIEN: IMAGES OF MIDDLE-EARTH | null | null +The brothers Karamazov | THE BROTHERS KARAMAZOV | null | null +; + +subqueryInFromWithRerankInSubquery +required_capability: fork_v9 +required_capability: rerank +required_capability: match_operator_colon +required_capability: subquery_in_from_command + +FROM sample_data, (FROM books METADATA _score + | WHERE title:"war and peace" AND author:"Tolstoy" + | SORT _score DESC, book_no ASC + | LIMIT 2 + | RERANK "war and peace" ON title WITH { "inference_id" : "test_reranker" } + | EVAL _score=ROUND(_score, 2) + | KEEP book_no, title, author, _score) +| WHERE client_ip == "172.21.0.5" or client_ip IS NULL +| KEEP book_no, title, author, _score, @timestamp +; +ignoreOrder:true + +book_no:keyword | title:text | author:text | _score:double | @timestamp:datetime +4536 | War and Peace (Signet Classics) | [John Hockenberry, Leo Tolstoy, Pat Conroy] | 0.03 | null +5327 | War and Peace | Leo Tolstoy | 0.08 | null +null | null | null | null | 2023-10-23T13:33:34.937Z +; + +subqueryInFromWithRerankInMainQuery +required_capability: fork_v9 +required_capability: rerank +required_capability: subquery_in_from_command + +FROM books, (FROM sample_data + | WHERE client_ip == "172.21.0.5" + | KEEP @timestamp, client_ip) +| SORT book_no ASC +| LIMIT 2 +| RERANK "war and peace" ON title WITH { "inference_id" : "test_reranker" } +| EVAL _score=ROUND(_score, 2) +| KEEP book_no, title, author, _score, @timestamp +; +ignoreOrder:true + +book_no:keyword | title:text | author:text | _score:double | @timestamp:datetime +1211 | The brothers Karamazov | Fyodor Dostoevsky | 0.05 | null +1463 | Realms of Tolkien: Images of Middle-earth | J. R. R. Tolkien | 0.02 | null +; + +subqueryInFromWithUnionTypesWithCommonTypes +required_capability: fork_v9 +required_capability: subquery_in_from_command + +FROM employees, (FROM employees_incompatible, employees + | EVAL emp_no = emp_no::integer + , first_name = first_name::keyword + , last_name = last_name::keyword + | WHERE emp_no < 10093 + | KEEP emp_no, first_name, last_name) + metadata _index +| WHERE emp_no >= 10091 AND emp_no < 10094 | SORT _index, emp_no | KEEP _index, emp_no, first_name, last_name ; @@ -327,6 +707,7 @@ null | 10092 | Valdiodio | Niizuma ; subqueryInFromWithUnionTypesWithoutKeepingFieldsWithCommonTypes +required_capability: fork_v9 required_capability: subquery_in_from_command FROM sample_data, @@ -355,6 +736,7 @@ FROM sample_data, ; subqueryInFromWithUnionTypesWithoutCommonTypesExplicitCasting +required_capability: fork_v9 required_capability: subquery_in_from_command FROM sample_data, sample_data_str, @@ -391,6 +773,7 @@ FROM sample_data, sample_data_str, ; subqueryInFromWithUnionTypesWithoutCommonTypesWithoutExplicitCasting +required_capability: fork_v9 required_capability: subquery_in_from_command FROM sample_data, sample_data_str, @@ -424,382 +807,3 @@ FROM sample_data, sample_data_str, 2023-10-23T13:53:55.832123456Z | 5033755 | Connection error | null | null 2023-10-23T13:55:01.543123456Z | 1756467 | Connected to 10.1.0.1 | null | null ; - -subqueryInFromWithStatsInMainQuery -required_capability: subquery_in_from_command - -FROM sample_data, sample_data_str, - (FROM sample_data_ts_nanos - | WHERE client_ip == "172.21.3.15") , - (FROM sample_data_ts_long - | EVAL @timestamp = @timestamp::date_nanos - | WHERE client_ip == "172.21.0.5") - metadata _index -| EVAL client_ip = client_ip::ip -| STATS cnt = count(*) BY _index, client_ip -| SORT _index, client_ip -; - -cnt:long | _index:keyword | client_ip:ip -1 | sample_data | 172.21.0.5 -1 | sample_data | 172.21.2.113 -1 | sample_data | 172.21.2.162 -4 | sample_data | 172.21.3.15 -1 | sample_data_str | 172.21.0.5 -1 | sample_data_str | 172.21.2.113 -1 | sample_data_str | 172.21.2.162 -4 | sample_data_str | 172.21.3.15 -1 | null | 172.21.0.5 -4 | null | 172.21.3.15 -; - -subqueryInFromWithInlineStatsInMainQuery -required_capability: subquery_in_from_command - -FROM sample_data, sample_data_str, - (FROM sample_data_ts_nanos - | WHERE client_ip == "172.21.3.15") , - (FROM sample_data_ts_long - | EVAL @timestamp = @timestamp::date_nanos - | WHERE client_ip == "172.21.0.5") - metadata _index -| EVAL client_ip = client_ip::ip -| INLINE STATS cnt = count(*) BY _index, client_ip -| SORT _index, @timestamp -; - -@timestamp:date_nanos | event_duration:long | message:keyword | cnt:long | _index:keyword | client_ip:ip -2023-10-23T12:15:03.360Z | 3450233 | Connected to 10.1.0.3 | 1 | sample_data | 172.21.2.162 -2023-10-23T12:27:28.948Z | 2764889 | Connected to 10.1.0.2 | 1 | sample_data | 172.21.2.113 -2023-10-23T13:33:34.937Z | 1232382 | Disconnected | 1 | sample_data | 172.21.0.5 -2023-10-23T13:51:54.732Z | 725448 | Connection error | 4 | sample_data | 172.21.3.15 -2023-10-23T13:52:55.015Z | 8268153 | Connection error | 4 | sample_data | 172.21.3.15 -2023-10-23T13:53:55.832Z | 5033755 | Connection error | 4 | sample_data | 172.21.3.15 -2023-10-23T13:55:01.543Z | 1756467 | Connected to 10.1.0.1 | 4 | sample_data | 172.21.3.15 -2023-10-23T12:15:03.360Z | 3450233 | Connected to 10.1.0.3 | 1 | sample_data_str | 172.21.2.162 -2023-10-23T12:27:28.948Z | 2764889 | Connected to 10.1.0.2 | 1 | sample_data_str | 172.21.2.113 -2023-10-23T13:33:34.937Z | 1232382 | Disconnected | 1 | sample_data_str | 172.21.0.5 -2023-10-23T13:51:54.732Z | 725448 | Connection error | 4 | sample_data_str | 172.21.3.15 -2023-10-23T13:52:55.015Z | 8268153 | Connection error | 4 | sample_data_str | 172.21.3.15 -2023-10-23T13:53:55.832Z | 5033755 | Connection error | 4 | sample_data_str | 172.21.3.15 -2023-10-23T13:55:01.543Z | 1756467 | Connected to 10.1.0.1 | 4 | sample_data_str | 172.21.3.15 -1970-01-01T00:28:18.068014937Z | 1232382 | Disconnected | 1 | null | 172.21.0.5 -2023-10-23T13:51:54.732123456Z | 725448 | Connection error | 4 | null | 172.21.3.15 -2023-10-23T13:52:55.015123456Z | 8268153 | Connection error | 4 | null | 172.21.3.15 -2023-10-23T13:53:55.832123456Z | 5033755 | Connection error | 4 | null | 172.21.3.15 -2023-10-23T13:55:01.543123456Z | 1756467 | Connected to 10.1.0.1 | 4 | null | 172.21.3.15 -; - -subqueryInFromWithDropInMainQuery -required_capability: subquery_in_from_command - -FROM sample_data, sample_data_str, - (FROM sample_data_ts_nanos - | WHERE client_ip == "172.21.3.15") , - (FROM sample_data_ts_long - | EVAL @timestamp = @timestamp::date_nanos - | WHERE client_ip == "172.21.0.5") - metadata _index -| EVAL client_ip = client_ip::ip -| DROP event_duration, message -| SORT _index, @timestamp -; - -@timestamp:date_nanos | _index:keyword | client_ip:ip -2023-10-23T12:15:03.360Z | sample_data | 172.21.2.162 -2023-10-23T12:27:28.948Z | sample_data | 172.21.2.113 -2023-10-23T13:33:34.937Z | sample_data | 172.21.0.5 -2023-10-23T13:51:54.732Z | sample_data | 172.21.3.15 -2023-10-23T13:52:55.015Z | sample_data | 172.21.3.15 -2023-10-23T13:53:55.832Z | sample_data | 172.21.3.15 -2023-10-23T13:55:01.543Z | sample_data | 172.21.3.15 -2023-10-23T12:15:03.360Z | sample_data_str | 172.21.2.162 -2023-10-23T12:27:28.948Z | sample_data_str | 172.21.2.113 -2023-10-23T13:33:34.937Z | sample_data_str | 172.21.0.5 -2023-10-23T13:51:54.732Z | sample_data_str | 172.21.3.15 -2023-10-23T13:52:55.015Z | sample_data_str | 172.21.3.15 -2023-10-23T13:53:55.832Z | sample_data_str | 172.21.3.15 -2023-10-23T13:55:01.543Z | sample_data_str | 172.21.3.15 -1970-01-01T00:28:18.068014937Z | null | 172.21.0.5 -2023-10-23T13:51:54.732123456Z | null | 172.21.3.15 -2023-10-23T13:52:55.015123456Z | null | 172.21.3.15 -2023-10-23T13:53:55.832123456Z | null | 172.21.3.15 -2023-10-23T13:55:01.543123456Z | null | 172.21.3.15 -; - -subqueryInFromWithRenameInMainQuery -required_capability: subquery_in_from_command - -FROM sample_data, sample_data_str, - (FROM sample_data_ts_nanos - | WHERE client_ip == "172.21.3.15") , - (FROM sample_data_ts_long - | EVAL @timestamp = @timestamp::date_nanos - | WHERE client_ip == "172.21.0.5") - metadata _index -| EVAL client_ip = client_ip::ip -| DROP event_duration, message -| RENAME client_ip AS clientip -| SORT _index, @timestamp -; - -@timestamp:date_nanos | _index:keyword | clientip:ip -2023-10-23T12:15:03.360Z | sample_data | 172.21.2.162 -2023-10-23T12:27:28.948Z | sample_data | 172.21.2.113 -2023-10-23T13:33:34.937Z | sample_data | 172.21.0.5 -2023-10-23T13:51:54.732Z | sample_data | 172.21.3.15 -2023-10-23T13:52:55.015Z | sample_data | 172.21.3.15 -2023-10-23T13:53:55.832Z | sample_data | 172.21.3.15 -2023-10-23T13:55:01.543Z | sample_data | 172.21.3.15 -2023-10-23T12:15:03.360Z | sample_data_str | 172.21.2.162 -2023-10-23T12:27:28.948Z | sample_data_str | 172.21.2.113 -2023-10-23T13:33:34.937Z | sample_data_str | 172.21.0.5 -2023-10-23T13:51:54.732Z | sample_data_str | 172.21.3.15 -2023-10-23T13:52:55.015Z | sample_data_str | 172.21.3.15 -2023-10-23T13:53:55.832Z | sample_data_str | 172.21.3.15 -2023-10-23T13:55:01.543Z | sample_data_str | 172.21.3.15 -1970-01-01T00:28:18.068014937Z | null | 172.21.0.5 -2023-10-23T13:51:54.732123456Z | null | 172.21.3.15 -2023-10-23T13:52:55.015123456Z | null | 172.21.3.15 -2023-10-23T13:53:55.832123456Z | null | 172.21.3.15 -2023-10-23T13:55:01.543123456Z | null | 172.21.3.15 -; - -subqueryInFromWithGrokInMainQuery -required_capability: subquery_in_from_command - -FROM employees_incompatible, (FROM employees - | WHERE emp_no > 10091 AND emp_no < 10094 - | KEEP emp_no, first_name, last_name ) - metadata _index -| WHERE emp_no >= 10091 AND emp_no < 10094 -| GROK concat(first_name, " ", last_name) "%{WORD:a} %{WORD:b}" -| SORT emp_no, a, b -| KEEP emp_no, a, b -; - -emp_no:long | a:keyword | b:keyword -10091 | Amabile | Gomatam -10092 | Valdiodio | Niizuma -10092 | Valdiodio | Niizuma -10093 | Sailaja | Desikan -10093 | Sailaja | Desikan -; - -subqueryInFromWithDissectInMainQuery -required_capability: subquery_in_from_command - -FROM employees, (FROM employees_incompatible - | WHERE emp_no > 10091 AND emp_no < 10094 - | KEEP emp_no, first_name, last_name ) - metadata _index -| WHERE emp_no >= 10091 AND emp_no < 10094 -| EVAL name = concat(first_name, "1 ", last_name) -| DISSECT name "%{a} %{b}" -| SORT emp_no, a, b -| KEEP emp_no, a, b -; - -emp_no:long | a:keyword | b:keyword -10091 | Amabile1 | Gomatam -10092 | Valdiodio1 | Niizuma -10092 | Valdiodio1 | Niizuma -10093 | Sailaja1 | Desikan -10093 | Sailaja1 | Desikan -; - -subqueryInFromWithMvExpandInMainQuery -required_capability: subquery_in_from_command - -FROM employees_incompatible, (FROM employees - | KEEP emp_no, first_name, last_name, job_positions) -| WHERE emp_no >= 10091 AND emp_no < 10094 -| MV_EXPAND job_positions -| SORT emp_no, first_name, last_name, job_positions -| KEEP emp_no, first_name, last_name, job_positions -; -ignoreOrder:true - -emp_no:long | first_name:keyword | last_name:keyword | job_positions:text - 10091 | Amabile | Gomatam | Python Developer - 10091 | Amabile | Gomatam | Python Developer - 10091 | Amabile | Gomatam | Reporting Analyst - 10091 | Amabile | Gomatam | Reporting Analyst - 10092 | Valdiodio | Niizuma | Accountant - 10092 | Valdiodio | Niizuma | Accountant - 10092 | Valdiodio | Niizuma | Junior Developer - 10092 | Valdiodio | Niizuma | Junior Developer - 10093 | Sailaja | Desikan | Principal Support Engineer - 10093 | Sailaja | Desikan | Principal Support Engineer - 10093 | Sailaja | Desikan | Purchase Manager - 10093 | Sailaja | Desikan | Purchase Manager - 10093 | Sailaja | Desikan | Reporting Analyst - 10093 | Sailaja | Desikan | Reporting Analyst - 10093 | Sailaja | Desikan | Tech Lead - 10093 | Sailaja | Desikan | Tech Lead -; - -subqueryInFromWithLookupJoinInMainQuery -required_capability: subquery_in_from_command - -FROM employees, (FROM sample_data - | EVAL client_ip = client_ip::keyword ) - metadata _index -| WHERE ( emp_no >= 10091 AND emp_no < 10094) OR emp_no IS NULL -| LOOKUP JOIN clientips_lookup ON client_ip -| SORT emp_no, client_ip -| KEEP _index, emp_no, languages, client_ip, env -; - -_index:keyword | emp_no:integer | languages:integer | client_ip:keyword | env:keyword -employees | 10091 | 3 | null | null -employees | 10092 | 1 | null | null -employees | 10093 | 3 | null | null -null | null | null | 172.21.0.5 | Development -null | null | null | 172.21.2.113 | QA -null | null | null | 172.21.2.162 | QA -null | null | null | 172.21.3.15 | Production -null | null | null | 172.21.3.15 | Production -null | null | null | 172.21.3.15 | Production -null | null | null | 172.21.3.15 | Production -; - -subqueryInFromWithEnrichInMainQuery -required_capability: subquery_in_from_command - -FROM employees, (FROM employees_incompatible - | KEEP emp_no, languages) - metadata _index -| WHERE emp_no >= 10091 AND emp_no < 10094 -| ENRICH languages_policy on languages with language_name -| SORT _index, emp_no -| KEEP _index, emp_no, languages, language_name -; - -_index:keyword | emp_no:long | languages:integer | language_name:keyword -employees | 10091 | 3 | Spanish -employees | 10092 | 1 | English -employees | 10093 | 3 | Spanish -null | 10091 | 3 | Spanish -null | 10092 | 1 | English -null | 10093 | 3 | Spanish -; - -subqueryInFromWithSampleInMainQuery -required_capability: subquery_in_from_command - -FROM employees, (FROM sample_data | SAMPLE 0.999999) -| SAMPLE 0.999999 -| WHERE ( emp_no >= 10091 AND emp_no < 10094) OR emp_no IS NULL -| SORT emp_no, client_ip -| KEEP emp_no, languages, client_ip -; - -emp_no:integer | languages:integer | client_ip:ip -10091 | 3 | null -10092 | 1 | null -10093 | 3 | null -null | null | 172.21.0.5 -null | null | 172.21.2.113 -null | null | 172.21.2.162 -null | null | 172.21.3.15 -null | null | 172.21.3.15 -null | null | 172.21.3.15 -null | null | 172.21.3.15 -; - -subqueryInFromWithChangePointInMainQuery -required_capability: subquery_in_from_command - -FROM employees, (FROM employees_incompatible - | KEEP emp_no, salary) - metadata _index -| EVAL salary = CASE(emp_no==10022, 100000::long, salary) -| EVAL salary = CASE(emp_no==10023, 1000000::long, salary) -| CHANGE_POINT salary ON emp_no AS type, pvalue -| WHERE pvalue is not null and type is not null -| SORT _index, emp_no -| KEEP _index, emp_no, salary, type, pvalue -; - -_index:keyword | emp_no:long | salary:long | type:keyword | pvalue:double -null | 10023 | 1000000 | spike | 0.0 -; - -subqueryInFromWithCompletionInSubquery -required_capability: subquery_in_from_command - -FROM sample_data, (FROM books metadata _score - | WHERE title:"war and peace" AND author:"Tolstoy" - | SORT _score DESC - | LIMIT 2 - | COMPLETION title WITH { "inference_id" : "test_completion" } - | KEEP title, completion) -| WHERE client_ip == "172.21.0.5" or client_ip IS NULL -| KEEP title, completion, @timestamp, client_ip -; -ignoreOrder:true - -title:text | completion:keyword | @timestamp:datetime | client_ip:ip -War and Peace | WAR AND PEACE | null | null -War and Peace (Signet Classics) | WAR AND PEACE (SIGNET CLASSICS) | null | null -null | null | 2023-10-23T13:33:34.937Z | 172.21.0.5 -; - -subqueryInFromWithCompletionInMainQuery -required_capability: subquery_in_from_command - -FROM books, (FROM sample_data - | WHERE client_ip == "172.21.0.5" - | KEEP @timestamp, client_ip) -| SORT book_no -| LIMIT 2 -| COMPLETION title WITH { "inference_id" : "test_completion" } -| KEEP title, completion, @timestamp, client_ip -; -ignoreOrder:true - -title:text | completion:keyword | @timestamp:datetime | client_ip:ip -Realms of Tolkien: Images of Middle-earth | REALMS OF TOLKIEN: IMAGES OF MIDDLE-EARTH | null | null -The brothers Karamazov | THE BROTHERS KARAMAZOV | null | null -; - -subqueryInFromWithRerankInSubquery -required_capability: subquery_in_from_command - -FROM sample_data, (FROM books METADATA _score - | WHERE title:"war and peace" AND author:"Tolstoy" - | SORT _score DESC, book_no ASC - | LIMIT 2 - | RERANK "war and peace" ON title WITH { "inference_id" : "test_reranker" } - | EVAL _score=ROUND(_score, 2) - | KEEP book_no, title, author, _score) -| WHERE client_ip == "172.21.0.5" or client_ip IS NULL -| KEEP book_no, title, author, _score, @timestamp -; -ignoreOrder:true - -book_no:keyword | title:text | author:text | _score:double | @timestamp:datetime -4536 | War and Peace (Signet Classics) | [John Hockenberry, Leo Tolstoy, Pat Conroy] | 0.03 | null -5327 | War and Peace | Leo Tolstoy | 0.08 | null -null | null | null | null | 2023-10-23T13:33:34.937Z -; - -subqueryInFromWithRerankInMainQuery -required_capability: subquery_in_from_command - -FROM books, (FROM sample_data - | WHERE client_ip == "172.21.0.5" - | KEEP @timestamp, client_ip) -| SORT book_no ASC -| LIMIT 2 -| RERANK "war and peace" ON title WITH { "inference_id" : "test_reranker" } -| EVAL _score=ROUND(_score, 2) -| KEEP book_no, title, author, _score, @timestamp -; -ignoreOrder:true - -book_no:keyword | title:text | author:text | _score:double | @timestamp:datetime -1211 | The brothers Karamazov | Fyodor Dostoevsky | 0.05 | null -1463 | Realms of Tolkien: Images of Middle-earth | J. R. R. Tolkien | 0.02 | null -; diff --git a/x-pack/plugin/esql/src/internalClusterTest/java/org/elasticsearch/xpack/esql/action/EsqlActionIT.java b/x-pack/plugin/esql/src/internalClusterTest/java/org/elasticsearch/xpack/esql/action/EsqlActionIT.java index 1c409a6b47820..49906b34ff4f5 100644 --- a/x-pack/plugin/esql/src/internalClusterTest/java/org/elasticsearch/xpack/esql/action/EsqlActionIT.java +++ b/x-pack/plugin/esql/src/internalClusterTest/java/org/elasticsearch/xpack/esql/action/EsqlActionIT.java @@ -1102,7 +1102,7 @@ public void testDataStreamInvalidPatterns() throws Exception { // Selectors must be outside of date math expressions or else they trip up the selector parsing testCases.put("", "Invalid index name [ 10) + | STATS cnt = COUNT(*) BY a + """, mainRemoteIndexPattern, mainIndexPattern, subqueryRemoteIndexPattern, subqueryIndexPattern); + + LogicalPlan plan = statement(query); + Aggregate aggregate = as(plan, Aggregate.class); + UnionAll unionAll = as(aggregate.child(), UnionAll.class); + List children = unionAll.children(); + assertEquals(2, children.size()); + // main query + UnresolvedRelation mainRelation = as(children.get(0), UnresolvedRelation.class); + assertEquals(combinedMainIndexPattern, mainRelation.indexPattern().indexPattern()); + // subquery + Subquery subquery = as(children.get(1), Subquery.class); + Filter filter = as(subquery.plan(), Filter.class); + UnresolvedRelation unresolvedRelation = as(filter.child(), UnresolvedRelation.class); + assertEquals(combinedSubqueryIndexPattern, unresolvedRelation.indexPattern().indexPattern()); + } + public void testTimeSeriesWithSubquery() { assumeTrue("Requires subquery in FROM command support", EsqlCapabilities.Cap.SUBQUERY_IN_FROM_COMMAND.isEnabled()); var mainIndexPattern = randomIndexPatterns(); From fb221c90ce729fc2626d6f026644edc1b2737bbe Mon Sep 17 00:00:00 2001 From: Fang Xing Date: Wed, 1 Oct 2025 10:19:26 -0400 Subject: [PATCH 05/16] subquery serialization --- .../xpack/esql/plan/PlanWritables.java | 2 ++ .../xpack/esql/plan/logical/Subquery.java | 29 +------------------ 2 files changed, 3 insertions(+), 28 deletions(-) diff --git a/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/plan/PlanWritables.java b/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/plan/PlanWritables.java index 03c9957754b89..52da0691d336e 100644 --- a/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/plan/PlanWritables.java +++ b/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/plan/PlanWritables.java @@ -22,6 +22,7 @@ import org.elasticsearch.xpack.esql.plan.logical.OrderBy; import org.elasticsearch.xpack.esql.plan.logical.Project; import org.elasticsearch.xpack.esql.plan.logical.Sample; +import org.elasticsearch.xpack.esql.plan.logical.Subquery; import org.elasticsearch.xpack.esql.plan.logical.TimeSeriesAggregate; import org.elasticsearch.xpack.esql.plan.logical.TopN; import org.elasticsearch.xpack.esql.plan.logical.inference.Completion; @@ -93,6 +94,7 @@ public static List logical() { Project.ENTRY, Rerank.ENTRY, Sample.ENTRY, + Subquery.ENTRY, TimeSeriesAggregate.ENTRY, TopN.ENTRY ); diff --git a/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/plan/logical/Subquery.java b/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/plan/logical/Subquery.java index d9065b528cbfd..021665c42ce47 100644 --- a/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/plan/logical/Subquery.java +++ b/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/plan/logical/Subquery.java @@ -9,9 +9,7 @@ import org.elasticsearch.common.io.stream.NamedWriteableRegistry; import org.elasticsearch.common.io.stream.StreamInput; import org.elasticsearch.common.io.stream.StreamOutput; -import org.elasticsearch.xpack.esql.capabilities.PostAnalysisVerificationAware; import org.elasticsearch.xpack.esql.capabilities.TelemetryAware; -import org.elasticsearch.xpack.esql.common.Failures; import org.elasticsearch.xpack.esql.core.expression.Attribute; import org.elasticsearch.xpack.esql.core.tree.NodeInfo; import org.elasticsearch.xpack.esql.core.tree.Source; @@ -21,7 +19,7 @@ import java.util.List; import java.util.Objects; -public class Subquery extends UnaryPlan implements PostAnalysisVerificationAware, TelemetryAware, SortAgnostic { +public class Subquery extends UnaryPlan implements TelemetryAware, SortAgnostic { public static final NamedWriteableRegistry.Entry ENTRY = new NamedWriteableRegistry.Entry(LogicalPlan.class, "Subquery", Subquery::new); // subquery alias/qualifier could be added in the future if needed @@ -30,7 +28,6 @@ public Subquery(Source source, LogicalPlan subqueryPlan) { super(source, subqueryPlan); } - // TODO does Subquery need to be Serializable? private Subquery(StreamInput in) throws IOException { this(Source.readFrom((PlanStreamInput) in), in.readNamedWriteable(LogicalPlan.class)); } @@ -63,7 +60,6 @@ public List output() { @Override public boolean expressionsResolved() { - // TODO add if needed return true; } @@ -91,30 +87,7 @@ public String nodeString() { return nodeName() + "[]"; } - @Override - public void postAnalysisVerification(Failures failures) { - // TODO add verification if needed - } - public LogicalPlan plan() { return child(); } - - public boolean canMerge() { - // if the subquery contains from/eval/where/subquery, it can be merged - LogicalPlan child = child(); - if (child instanceof UnionAll unionAll) { - for (LogicalPlan subPlan : unionAll.children()) { - if (canMerge(subPlan) == false) { - return false; - } - } - } - return true; - } - - // more plan types could be added if needed, non-pipeline breakers - private boolean canMerge(LogicalPlan plan) { - return plan instanceof Subquery || plan instanceof Filter || plan instanceof EsRelation; - } } From a38f6b930b8263bcffe8327554921f375d630ea7 Mon Sep 17 00:00:00 2001 From: Fang Xing Date: Wed, 1 Oct 2025 22:36:38 -0400 Subject: [PATCH 06/16] fix predicate push down --- .../src/main/resources/subquery.csv-spec | 43 +++++++++ .../logical/PushDownAndCombineFilters.java | 88 +++++++++++------- .../xpack/esql/plan/logical/UnionAll.java | 4 + .../AbstractLogicalPlanOptimizerTests.java | 2 +- .../PushDownAndCombineFiltersTests.java | 91 +++++++++++++++++-- 5 files changed, 182 insertions(+), 46 deletions(-) diff --git a/x-pack/plugin/esql/qa/testFixtures/src/main/resources/subquery.csv-spec b/x-pack/plugin/esql/qa/testFixtures/src/main/resources/subquery.csv-spec index 090c03b565c0f..108077f6af130 100644 --- a/x-pack/plugin/esql/qa/testFixtures/src/main/resources/subquery.csv-spec +++ b/x-pack/plugin/esql/qa/testFixtures/src/main/resources/subquery.csv-spec @@ -92,6 +92,49 @@ null | null | null | 1 | 172.21.2.162 null | null | null | 4 | 172.21.3.15 ; +subqueryInFromWithStatsInSubqueryConjunctiveFilterInMainQuery +required_capability: fork_v9 +required_capability: subquery_in_from_command + +FROM employees, (FROM sample_data + | STATS cnt = count(*) by client_ip ) + , (FROM sample_data_str + | STATS cnt = count(*) by client_ip ) + metadata _index +| EVAL client_ip = client_ip::ip +| WHERE client_ip == "172.21.3.15" AND cnt >0 +| SORT emp_no, client_ip +| KEEP _index, emp_no, languages, cnt, client_ip +; + +_index:keyword | emp_no:integer | languages:integer | cnt:long | client_ip:ip +null | null | null | 4 | 172.21.3.15 +null | null | null | 4 | 172.21.3.15 +; + +subqueryInFromWithStatsInSubqueryDisjunctiveFilterInMainQuery +required_capability: fork_v9 +required_capability: subquery_in_from_command + +FROM employees, (FROM sample_data + | STATS cnt = count(*) by client_ip ) + , (FROM sample_data_str + | STATS cnt = count(*) by client_ip ) + metadata _index +| EVAL client_ip = client_ip::ip +| WHERE ( emp_no >= 10091 AND emp_no < 10094) OR client_ip == "172.21.3.15" +| SORT emp_no, client_ip +| KEEP _index, emp_no, languages, cnt, client_ip +; + +_index:keyword | emp_no:integer | languages:integer | cnt:long | client_ip:ip +employees | 10091 | 3 | null | null +employees | 10092 | 1 | null | null +employees | 10093 | 3 | null | null +null | null | null | 4 | 172.21.3.15 +null | null | null | 4 | 172.21.3.15 +; + subqueryInFromWithStatsInMainQuery required_capability: fork_v9 required_capability: subquery_in_from_command diff --git a/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/optimizer/rules/logical/PushDownAndCombineFilters.java b/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/optimizer/rules/logical/PushDownAndCombineFilters.java index f65fa7230f4f8..f8d223fdac6c2 100644 --- a/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/optimizer/rules/logical/PushDownAndCombineFilters.java +++ b/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/optimizer/rules/logical/PushDownAndCombineFilters.java @@ -329,24 +329,31 @@ private static LogicalPlan maybePushDownPastUnionAll(Filter filter, UnionAll uni if (pushable.isEmpty()) { return filter; // nothing to push down } - // Preserve the filter on top of UnionAll if not all pushable predicates can be pushed down into UnionAll children. - // This happens when the pushable predicate contains ReferenceAttribute that cannot be mapped to children's output correctly. - boolean preserveOriginalFilterOnTopOfUnionAll = false; - // Push the filter down to each child of the UnionAll, the child of a UnionAll is always a project - // followed by an optional eval and then limit added by fork and then the real child + // Push the filter down to each child of the UnionAll, the child of a UnionAll is always + // a project followed by an optional eval and then limit or a limit added by fork and + // then the real child, if there is unknown pattern, keep the filter and UnionAll plan unchanged List newChildren = new ArrayList<>(); boolean changed = false; for (LogicalPlan child : unionAll.children()) { - if (child instanceof Project project) { - LogicalPlan newChild = maybePushDownFilterPastEvalAndLimitForUnionAllChild(pushable, project); - if (newChild != child) { - changed = true; - } else { - preserveOriginalFilterOnTopOfUnionAll = true; - } + LogicalPlan newChild = switch (child) { + case Project project -> maybePushDownFilterPastProjectForUnionAllChild(pushable, project); + case Limit limit -> maybePushDownFilterPastLimitForUnionAllChild(pushable, limit); + default -> null; // TODO add a general push down for unexpected pattern + }; + + if (newChild == null) { + // Unexpected pattern, keep plan unchanged without pushing down filters + return filter; + } + + if (newChild != child) { + changed = true; newChildren.add(newChild); - } else { // unexpected pattern, just add the child as is - newChildren.add(child); + } else { + // Theoretically, all the pushable predicates should be pushed down into each child, + // in case one child is not changed, preserve the filter on top of UnionAll to make sure + // correct results are returned and avoid infinite loop of the rule. + return filter; } } @@ -355,11 +362,6 @@ private static LogicalPlan maybePushDownPastUnionAll(Filter filter, UnionAll uni } LogicalPlan newUnionAll = unionAll.replaceChildren(newChildren); - if (preserveOriginalFilterOnTopOfUnionAll) { - // Preserve the filter on top of UnionAll as some pushable predicates cannot be pushed down - // to make sure correct results are returned - return filter.replaceChild(newUnionAll); - } if (nonPushable.isEmpty()) { return newUnionAll; } else { @@ -367,22 +369,9 @@ private static LogicalPlan maybePushDownPastUnionAll(Filter filter, UnionAll uni } } - private static LogicalPlan maybePushDownFilterPastEvalAndLimitForUnionAllChild(List pushable, Project project) { - List resolvedPushable = new ArrayList<>(); - // Make sure the pushable predicates can find their corresponding attributes in the child project - for (Expression exp : pushable) { - Expression replaced = resolveUnionAllOutputByName(exp, project.projections()); - if (replaced == null || replaced == exp) { - // cannot find the attribute in the child project, cannot push down this filter - return project; - } else { - resolvedPushable.add(replaced); - } - } - if (resolvedPushable.size() != pushable.size()) { - // Some pushable predicates cannot be resolved to the child project, cannot push down. - // This should not happen, however we need to be cautious here, if the predicate is removed from the main query, - // and it is not pushed down into the UnionAll child, the result will be incorrect. + private static LogicalPlan maybePushDownFilterPastProjectForUnionAllChild(List pushable, Project project) { + List resolvedPushable = resolvePushableAgainstOutput(pushable, project.projections()); + if (resolvedPushable == null) { return project; } LogicalPlan child = project.child(); @@ -395,6 +384,35 @@ private static LogicalPlan maybePushDownFilterPastEvalAndLimitForUnionAllChild(L return project; } + private static LogicalPlan maybePushDownFilterPastLimitForUnionAllChild(List pushable, Limit limit) { + List resolvedPushable = resolvePushableAgainstOutput(pushable, limit.output()); + if (resolvedPushable == null) { + return limit; + } + return pushDownFilterPastLimitForUnionAllChild(resolvedPushable, limit); + } + + /** + * Attempts to resolve all pushable expressions against the given output attributes. + * Returns a fully resolved list if successful, or null if any expression cannot be resolved. + */ + private static List resolvePushableAgainstOutput(List pushable, List output) { + List resolved = new ArrayList<>(); + for (Expression exp : pushable) { + Expression replaced = resolveUnionAllOutputByName(exp, output); + // Make sure the pushable predicates can find their corresponding attributes in the output + if (replaced == null || replaced == exp) { + // cannot find the attribute in the child project, cannot push down this filter + return null; + } + resolved.add(replaced); + } + // If some pushable predicates cannot be resolved against the output, cannot push filter down. + // This should not happen, however we need to be cautious here, if the predicate is removed from + // the main query, and it is not pushed down into the UnionAll child, the result will be incorrect. + return resolved.size() == pushable.size() ? resolved : null; + } + private static LogicalPlan pushDownFilterPastEvalForUnionAllChild(List pushable, Project project, Eval eval) { // if the pushable references any attribute created by the eval, we cannot push down AttributeMap evalAliases = buildEvaAliases(eval); diff --git a/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/plan/logical/UnionAll.java b/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/plan/logical/UnionAll.java index 65832a0f88eff..c605c13120876 100644 --- a/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/plan/logical/UnionAll.java +++ b/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/plan/logical/UnionAll.java @@ -106,6 +106,10 @@ public BiConsumer postOptimizationPlanVerification() { return UnionAll::checkNestedUnionAlls; } + /** + * Defer the check for nested UnionAlls until after logical planner as some of the nested subqueries can be flattened + * by logical planner in the future. + */ private static void checkNestedUnionAlls(LogicalPlan logicalPlan, Failures failures) { if (logicalPlan instanceof UnionAll unionAll) { unionAll.forEachDown(UnionAll.class, otherUnionAll -> { diff --git a/x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/optimizer/AbstractLogicalPlanOptimizerTests.java b/x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/optimizer/AbstractLogicalPlanOptimizerTests.java index f9ef1c5e50813..178033e480c73 100644 --- a/x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/optimizer/AbstractLogicalPlanOptimizerTests.java +++ b/x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/optimizer/AbstractLogicalPlanOptimizerTests.java @@ -203,7 +203,7 @@ public static void init() { EsqlTestUtils.TEST_CFG, new EsqlFunctionRegistry(), getIndexResult, - emptyMap(), + defaultLookupResolution(), enrichResolution, emptyInferenceResolution(), Map.of("test1", subqueryIndex1, "languages", subqueryIndex2) diff --git a/x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/optimizer/rules/logical/PushDownAndCombineFiltersTests.java b/x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/optimizer/rules/logical/PushDownAndCombineFiltersTests.java index 8148e64c6ca86..72073e2fac2f4 100644 --- a/x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/optimizer/rules/logical/PushDownAndCombineFiltersTests.java +++ b/x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/optimizer/rules/logical/PushDownAndCombineFiltersTests.java @@ -17,6 +17,7 @@ import org.elasticsearch.xpack.esql.core.expression.FoldContext; import org.elasticsearch.xpack.esql.core.expression.Literal; import org.elasticsearch.xpack.esql.core.expression.MetadataAttribute; +import org.elasticsearch.xpack.esql.core.expression.NamedExpression; import org.elasticsearch.xpack.esql.core.expression.ReferenceAttribute; import org.elasticsearch.xpack.esql.core.tree.Source; import org.elasticsearch.xpack.esql.core.type.DataType; @@ -1231,18 +1232,38 @@ public void testPushDownFilterPastUnionAllAndCombineWithFilterInSubquery() { public void testPushDownFilterOnReferenceAttributesPastUnionAllDebug() { assumeTrue("Requires subquery in FROM command support", EsqlCapabilities.Cap.SUBQUERY_IN_FROM_COMMAND.isEnabled()); var plan = planSubquery(""" - FROM test, (FROM test1 | where salary < 100000 | EVAL x = 1, y = emp_no, z = emp_no + 1) + FROM test + , (FROM test1 + | where salary < 100000 + | EVAL x = 1, y = emp_no, z = emp_no + 1) + , (FROM languages + | STATS cnt = COUNT(*) by language_code + | RENAME language_code AS z, cnt AS y + | EVAL x = 1) + , (FROM test1 + | RENAME languages AS language_code + | LOOKUP JOIN languages_lookup ON language_code + | RENAME emp_no AS x, salary AS y, language_code AS z) | WHERE x is not null and y is not null and z > 0 """); Limit limit = as(plan, Limit.class); UnionAll unionAll = as(limit.child(), UnionAll.class); - assertEquals(2, unionAll.children().size()); + assertEquals(4, unionAll.children().size()); LocalRelation child1 = as(unionAll.children().get(0), LocalRelation.class); EsqlProject child2 = as(unionAll.children().get(1), EsqlProject.class); - Limit childLimit = as(child2.child(), Limit.class); + Filter filter = as(child2.child(), Filter.class); + IsNotNull isNotNull = as(filter.condition(), IsNotNull.class); + ReferenceAttribute y = as(isNotNull.field(), ReferenceAttribute.class); + assertEquals("y", y.name()); + Eval eval = as(filter.child(), Eval.class); + List aliases = eval.fields(); + assertEquals(2, aliases.size()); + assertEquals("language_name", aliases.get(0).name()); + assertEquals("y", aliases.get(1).name()); + Limit childLimit = as(eval.child(), Limit.class); Subquery subquery = as(childLimit.child(), Subquery.class); Project project = as(subquery.child(), Project.class); Filter childFilter = as(project.child(), Filter.class); @@ -1251,8 +1272,8 @@ public void testPushDownFilterOnReferenceAttributesPastUnionAllDebug() { assertEquals("z", z.name()); Literal right = as(greaterThan.right(), Literal.class); assertEquals(0, right.value()); - Eval eval = as(childFilter.child(), Eval.class); - List aliases = eval.fields(); + eval = as(childFilter.child(), Eval.class); + aliases = eval.fields(); assertEquals(2, aliases.size()); Alias aliasX = aliases.get(0); assertEquals("x", aliasX.name()); @@ -1261,17 +1282,67 @@ public void testPushDownFilterOnReferenceAttributesPastUnionAllDebug() { Alias aliasZ = aliases.get(1); assertEquals("z", aliasZ.name()); childFilter = as(eval.child(), Filter.class); - And and = as(childFilter.condition(), And.class); - IsNotNull isNotNull = as(and.right(), IsNotNull.class); - FieldAttribute emp_no = as(isNotNull.field(), FieldAttribute.class); - assertEquals("emp_no", emp_no.name()); - LessThan lessThan = as(and.left(), LessThan.class); + LessThan lessThan = as(childFilter.condition(), LessThan.class); FieldAttribute salaryField = as(lessThan.left(), FieldAttribute.class); assertEquals("salary", salaryField.name()); Literal literal = as(lessThan.right(), Literal.class); assertEquals(100000, literal.value()); EsRelation relation = as(childFilter.child(), EsRelation.class); assertEquals("test1", relation.indexPattern()); + + EsqlProject child3 = as(unionAll.children().get(2), EsqlProject.class); + eval = as(child3.child(), Eval.class); + limit = as(eval.child(), Limit.class); + subquery = as(limit.child(), Subquery.class); + eval = as(subquery.child(), Eval.class); + filter = as(eval.child(), Filter.class); + And and = as(filter.condition(), And.class); + isNotNull = as(and.left(), IsNotNull.class); + y = as(isNotNull.field(), ReferenceAttribute.class); + assertEquals("y", y.name()); + greaterThan = as(and.right(), GreaterThan.class); + z = as(greaterThan.left(), ReferenceAttribute.class); + assertEquals("z", z.name()); + right = as(greaterThan.right(), Literal.class); + assertEquals(0, right.value()); + Aggregate aggregate = as(filter.child(), Aggregate.class); + List groupings = aggregate.groupings(); + assertEquals(1, groupings.size()); + FieldAttribute language_code = as(groupings.get(0), FieldAttribute.class); + assertEquals("language_code", language_code.name()); + List aggregates = aggregate.aggregates(); + assertEquals(2, aggregates.size()); + assertEquals("y", aggregates.get(0).name()); + assertEquals("z", aggregates.get(1).name()); + relation = as(aggregate.child(), EsRelation.class); + assertEquals("languages", relation.indexPattern()); + + EsqlProject child4 = as(unionAll.children().get(3), EsqlProject.class); + filter = as(child4.child(), Filter.class); + isNotNull = as(filter.condition(), IsNotNull.class); + ReferenceAttribute x = as(isNotNull.field(), ReferenceAttribute.class); + assertEquals("y", x.name()); + eval = as(filter.child(), Eval.class); + aliases = eval.fields(); + assertEquals(4, aliases.size()); + limit = as(eval.child(), Limit.class); + subquery = as(limit.child(), Subquery.class); + project = as(subquery.child(), Project.class); + Join lookupJoin = as(project.child(), Join.class); + Filter leftFilter = as(lookupJoin.left(), Filter.class); + and = as(leftFilter.condition(), And.class); + isNotNull = as(and.left(), IsNotNull.class); + FieldAttribute emp_no = as(isNotNull.field(), FieldAttribute.class); + assertEquals("emp_no", emp_no.name()); + greaterThan = as(and.right(), GreaterThan.class); + language_code = as(greaterThan.left(), FieldAttribute.class); + assertEquals("languages", language_code.name()); + right = as(greaterThan.right(), Literal.class); + assertEquals(0, right.value()); + relation = as(leftFilter.child(), EsRelation.class); + assertEquals("test1", relation.indexPattern()); + relation = as(lookupJoin.right(), EsRelation.class); + assertEquals("languages_lookup", relation.indexPattern()); } public void testPushDownFilterOnReferenceAttributesAndFieldAttributesPastUnionAllDebug() { From 8b6db541fd1017f28b65076a84c3d3b30fa5d2d1 Mon Sep 17 00:00:00 2001 From: Fang Xing Date: Thu, 2 Oct 2025 20:23:56 -0400 Subject: [PATCH 07/16] add metadata in subquery tests --- .../src/main/resources/subquery.csv-spec | 68 +++++++++---------- 1 file changed, 34 insertions(+), 34 deletions(-) diff --git a/x-pack/plugin/esql/qa/testFixtures/src/main/resources/subquery.csv-spec b/x-pack/plugin/esql/qa/testFixtures/src/main/resources/subquery.csv-spec index 108077f6af130..02c22df27f49a 100644 --- a/x-pack/plugin/esql/qa/testFixtures/src/main/resources/subquery.csv-spec +++ b/x-pack/plugin/esql/qa/testFixtures/src/main/resources/subquery.csv-spec @@ -52,7 +52,7 @@ subqueryInFromWithWhereInSubquery required_capability: fork_v9 required_capability: subquery_in_from_command -FROM employees, (FROM sample_data +FROM employees, (FROM sample_data metadata _index | WHERE client_ip == "172.21.3.15" ) metadata _index | WHERE ( emp_no >= 10091 AND emp_no < 10094) OR emp_no IS NULL @@ -64,17 +64,17 @@ _index:keyword | emp_no:integer | languages:integer | client_ip:ip employees | 10091 | 3 | null employees | 10092 | 1 | null employees | 10093 | 3 | null -null | null | null | 172.21.3.15 -null | null | null | 172.21.3.15 -null | null | null | 172.21.3.15 -null | null | null | 172.21.3.15 +sample_data | null | null | 172.21.3.15 +sample_data | null | null | 172.21.3.15 +sample_data | null | null | 172.21.3.15 +sample_data | null | null | 172.21.3.15 ; subqueryInFromWithStatsInSubquery required_capability: fork_v9 required_capability: subquery_in_from_command -FROM employees, (FROM sample_data +FROM employees, (FROM sample_data metadata _index | STATS cnt = count(*) by client_ip ) metadata _index | WHERE ( emp_no >= 10091 AND emp_no < 10094) OR emp_no IS NULL @@ -140,9 +140,9 @@ required_capability: fork_v9 required_capability: subquery_in_from_command FROM sample_data, sample_data_str, - (FROM sample_data_ts_nanos + (FROM sample_data_ts_nanos metadata _index | WHERE client_ip == "172.21.3.15") , - (FROM sample_data_ts_long + (FROM sample_data_ts_long metadata _index | EVAL @timestamp = @timestamp::date_nanos | WHERE client_ip == "172.21.0.5") metadata _index @@ -152,23 +152,23 @@ FROM sample_data, sample_data_str, ; cnt:long | _index:keyword | client_ip:ip -1 | sample_data | 172.21.0.5 -1 | sample_data | 172.21.2.113 -1 | sample_data | 172.21.2.162 -4 | sample_data | 172.21.3.15 -1 | sample_data_str | 172.21.0.5 -1 | sample_data_str | 172.21.2.113 -1 | sample_data_str | 172.21.2.162 -4 | sample_data_str | 172.21.3.15 -1 | null | 172.21.0.5 -4 | null | 172.21.3.15 +1 | sample_data | 172.21.0.5 +1 | sample_data | 172.21.2.113 +1 | sample_data | 172.21.2.162 +4 | sample_data | 172.21.3.15 +1 | sample_data_str | 172.21.0.5 +1 | sample_data_str | 172.21.2.113 +1 | sample_data_str | 172.21.2.162 +4 | sample_data_str | 172.21.3.15 +1 | sample_data_ts_long | 172.21.0.5 +4 | sample_data_ts_nanos | 172.21.3.15 ; subqueryInFromWithLookupJoinInSubquery required_capability: fork_v9 required_capability: subquery_in_from_command -FROM employees, (FROM sample_data +FROM employees, (FROM sample_data metadata _index | EVAL client_ip = client_ip::keyword | LOOKUP JOIN clientips_lookup ON client_ip ) metadata _index @@ -181,20 +181,20 @@ _index:keyword | emp_no:integer | languages:integer | client_ip:keyword | env:ke employees | 10091 | 3 | null | null employees | 10092 | 1 | null | null employees | 10093 | 3 | null | null -null | null | null | 172.21.0.5 | Development -null | null | null | 172.21.2.113 | QA -null | null | null | 172.21.2.162 | QA -null | null | null | 172.21.3.15 | Production -null | null | null | 172.21.3.15 | Production -null | null | null | 172.21.3.15 | Production -null | null | null | 172.21.3.15 | Production +sample_data | null | null | 172.21.0.5 | Development +sample_data | null | null | 172.21.2.113 | QA +sample_data | null | null | 172.21.2.162 | QA +sample_data | null | null | 172.21.3.15 | Production +sample_data | null | null | 172.21.3.15 | Production +sample_data | null | null | 172.21.3.15 | Production +sample_data | null | null | 172.21.3.15 | Production ; subqueryInFromWithLookupJoinInMainQuery required_capability: fork_v9 required_capability: subquery_in_from_command -FROM employees, (FROM sample_data +FROM employees, (FROM sample_data metadata _index | EVAL client_ip = client_ip::keyword ) metadata _index | WHERE ( emp_no >= 10091 AND emp_no < 10094) OR emp_no IS NULL @@ -207,13 +207,13 @@ _index:keyword | emp_no:integer | languages:integer | client_ip:keyword | env:ke employees | 10091 | 3 | null | null employees | 10092 | 1 | null | null employees | 10093 | 3 | null | null -null | null | null | 172.21.0.5 | Development -null | null | null | 172.21.2.113 | QA -null | null | null | 172.21.2.162 | QA -null | null | null | 172.21.3.15 | Production -null | null | null | 172.21.3.15 | Production -null | null | null | 172.21.3.15 | Production -null | null | null | 172.21.3.15 | Production +sample_data | null | null | 172.21.0.5 | Development +sample_data | null | null | 172.21.2.113 | QA +sample_data | null | null | 172.21.2.162 | QA +sample_data | null | null | 172.21.3.15 | Production +sample_data | null | null | 172.21.3.15 | Production +sample_data | null | null | 172.21.3.15 | Production +sample_data | null | null | 172.21.3.15 | Production ; subqueryInFromWithEnrichInSubquery From 83353fb7c479bf23eaa177612cdcfa9dca51aeee Mon Sep 17 00:00:00 2001 From: Fang Xing Date: Fri, 3 Oct 2025 12:03:45 -0400 Subject: [PATCH 08/16] add subquery serialization tests and add comments to each subquery test in PushDownAndCombineFiltersTests to include the plan strings --- .../PushDownAndCombineFiltersTests.java | 162 ++++++++++++++++-- .../logical/SubquerySerializationTests.java | 33 ++++ 2 files changed, 183 insertions(+), 12 deletions(-) create mode 100644 x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/plan/logical/SubquerySerializationTests.java diff --git a/x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/optimizer/rules/logical/PushDownAndCombineFiltersTests.java b/x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/optimizer/rules/logical/PushDownAndCombineFiltersTests.java index 72073e2fac2f4..7e14b49fed373 100644 --- a/x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/optimizer/rules/logical/PushDownAndCombineFiltersTests.java +++ b/x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/optimizer/rules/logical/PushDownAndCombineFiltersTests.java @@ -1014,6 +1014,27 @@ public void testPushDownLookupJoinExpressionMultipleWhere() { assertEquals(expectedPushedFilters, actualPushedFilters); } + /** + * Limit[1000[INTEGER],false] + * \_UnionAll[[_meta_field{r}#44, emp_no{r}#45, first_name{r}#46, gender{r}#47, hire_date{r}#48, job{r}#49, job.raw{r}#50, l + * anguages{r}#51, last_name{r}#52, long_noidx{r}#53, salary{r}#54, language_code{r}#55, language_name{r}#56]] + * |_EsqlProject[[_meta_field{f}#11, emp_no{f}#5, first_name{f}#6, gender{f}#7, hire_date{f}#12, job{f}#13, job.raw{f}#14, lang + * uages{f}#8, last_name{f}#9, long_noidx{f}#15, salary{f}#10, language_code{r}#29, language_name{r}#30]] + * | \_Eval[[null[INTEGER] AS language_code#29, null[KEYWORD] AS language_name#30]] + * | \_Limit[1000[INTEGER],false] + * | \_Filter[emp_no{f}#5 > 10000[INTEGER]] + * | \_EsRelation[test][_meta_field{f}#11, emp_no{f}#5, first_name{f}#6, ge..] + * |_EsqlProject[[_meta_field{f}#22, emp_no{f}#16, first_name{f}#17, gender{f}#18, hire_date{f}#23, job{f}#24, job.raw{f}#25, l + * anguages{f}#19, last_name{f}#20, long_noidx{f}#26, salary{f}#21, language_code{r}#31, language_name{r}#32]] + * | \_Eval[[null[INTEGER] AS language_code#31, null[KEYWORD] AS language_name#32]] + * | \_Limit[1000[INTEGER],false] + * | \_Subquery[] + * | \_Filter[languages{f}#19 > 0[INTEGER] AND emp_no{f}#16 > 10000[INTEGER]] + * | \_EsRelation[test1][_meta_field{f}#22, emp_no{f}#16, first_name{f}#17, ..] + * \_LocalRelation[[_meta_field{r}#33, emp_no{r}#34, first_name{r}#35, gender{r}#36, hire_date{r}#37, job{r}#38, job.raw{r}#39, l + * anguages{r}#40, last_name{r}#41, long_noidx{r}#42, salary{r}#43, language_code{f}#27, language_name{f}#28],EMPT + * Y] + */ public void testPushDownSimpleFilterPastUnionAll() { assumeTrue("Requires subquery in FROM command support", EsqlCapabilities.Cap.SUBQUERY_IN_FROM_COMMAND.isEnabled()); var plan = planSubquery(""" @@ -1059,6 +1080,27 @@ public void testPushDownSimpleFilterPastUnionAll() { LocalRelation localRelation = as(unionAll.children().get(2), LocalRelation.class); } + /** + * Limit[1000[INTEGER],false] + * \_UnionAll[[_meta_field{r}#45, emp_no{r}#46, first_name{r}#47, gender{r}#48, hire_date{r}#49, job{r}#50, job.raw{r}#51, l + * anguages{r}#52, last_name{r}#53, long_noidx{r}#54, salary{r}#55, language_code{r}#56, language_name{r}#57]] + * |_EsqlProject[[_meta_field{f}#12, emp_no{f}#6, first_name{f}#7, gender{f}#8, hire_date{f}#13, job{f}#14, job.raw{f}#15, lang + * uages{f}#9, last_name{f}#10, long_noidx{f}#16, salary{f}#11, language_code{r}#30, language_name{r}#31]] + * | \_Eval[[null[INTEGER] AS language_code#30, null[KEYWORD] AS language_name#31]] + * | \_Limit[1000[INTEGER],false] + * | \_Filter[emp_no{f}#6 > 10000[INTEGER] AND salary{f}#11 > 50000[INTEGER]] + * | \_EsRelation[test][_meta_field{f}#12, emp_no{f}#6, first_name{f}#7, ge..] + * |_EsqlProject[[_meta_field{f}#23, emp_no{f}#17, first_name{f}#18, gender{f}#19, hire_date{f}#24, job{f}#25, job.raw{f}#26, l + * anguages{f}#20, last_name{f}#21, long_noidx{f}#27, salary{f}#22, language_code{r}#32, language_name{r}#33]] + * | \_Eval[[null[INTEGER] AS language_code#32, null[KEYWORD] AS language_name#33]] + * | \_Limit[1000[INTEGER],false] + * | \_Subquery[] + * | \_Filter[languages{f}#20 > 0[INTEGER] AND emp_no{f}#17 > 10000[INTEGER] AND salary{f}#22 > 50000[INTEGER]] + * | \_EsRelation[test1][_meta_field{f}#23, emp_no{f}#17, first_name{f}#18, ..] + * \_LocalRelation[[_meta_field{r}#34, emp_no{r}#35, first_name{r}#36, gender{r}#37, hire_date{r}#38, job{r}#39, job.raw{r}#40, l + * anguages{r}#41, last_name{r}#42, long_noidx{r}#43, salary{r}#44, language_code{f}#28, language_name{f}#29],EMPT + * Y] + */ public void testPushDownConjunctiveFilterPastUnionAll() { assumeTrue("Requires subquery in FROM command support", EsqlCapabilities.Cap.SUBQUERY_IN_FROM_COMMAND.isEnabled()); var plan = planSubquery(""" @@ -1116,6 +1158,27 @@ public void testPushDownConjunctiveFilterPastUnionAll() { LocalRelation localRelation = as(unionAll.children().get(2), LocalRelation.class); } + /** + * Limit[1000[INTEGER],false] + * \_UnionAll[[_meta_field{r}#45, emp_no{r}#46, first_name{r}#47, gender{r}#48, hire_date{r}#49, job{r}#50, job.raw{r}#51, l + * anguages{r}#52, last_name{r}#53, long_noidx{r}#54, salary{r}#55, language_code{r}#56, language_name{r}#57]] + * |_EsqlProject[[_meta_field{f}#12, emp_no{f}#6, first_name{f}#7, gender{f}#8, hire_date{f}#13, job{f}#14, job.raw{f}#15, lang + * uages{f}#9, last_name{f}#10, long_noidx{f}#16, salary{f}#11, language_code{r}#30, language_name{r}#31]] + * | \_Eval[[null[INTEGER] AS language_code#30, null[KEYWORD] AS language_name#31]] + * | \_Limit[1000[INTEGER],false] + * | \_Filter[emp_no{f}#6 > 10000[INTEGER] OR salary{f}#11 > 50000[INTEGER]] + * | \_EsRelation[test][_meta_field{f}#12, emp_no{f}#6, first_name{f}#7, ge..] + * |_EsqlProject[[_meta_field{f}#23, emp_no{f}#17, first_name{f}#18, gender{f}#19, hire_date{f}#24, job{f}#25, job.raw{f}#26, l + * anguages{f}#20, last_name{f}#21, long_noidx{f}#27, salary{f}#22, language_code{r}#32, language_name{r}#33]] + * | \_Eval[[null[INTEGER] AS language_code#32, null[KEYWORD] AS language_name#33]] + * | \_Limit[1000[INTEGER],false] + * | \_Subquery[] + * | \_Filter[languages{f}#20 > 0[INTEGER] AND emp_no{f}#17 > 10000[INTEGER] OR salary{f}#22 > 50000[INTEGER]] + * | \_EsRelation[test1][_meta_field{f}#23, emp_no{f}#17, first_name{f}#18, ..] + * \_LocalRelation[[_meta_field{r}#34, emp_no{r}#35, first_name{r}#36, gender{r}#37, hire_date{r}#38, job{r}#39, job.raw{r}#40, l + * anguages{r}#41, last_name{r}#42, long_noidx{r}#43, salary{r}#44, language_code{f}#28, language_name{f}#29],EMPT + * Y] + */ public void testPushDownDisjunctiveFilterPastUnionAll() { assumeTrue("Requires subquery in FROM command support", EsqlCapabilities.Cap.SUBQUERY_IN_FROM_COMMAND.isEnabled()); var plan = planSubquery(""" @@ -1173,16 +1236,38 @@ public void testPushDownDisjunctiveFilterPastUnionAll() { LocalRelation localRelation = as(unionAll.children().get(2), LocalRelation.class); } + /** + * Limit[1000[INTEGER],false] + * \_UnionAll[[_meta_field{r}#45, emp_no{r}#46, first_name{r}#47, gender{r}#48, hire_date{r}#49, job{r}#50, job.raw{r}#51, l + * anguages{r}#52, last_name{r}#53, long_noidx{r}#54, salary{r}#55, language_code{r}#56, language_name{r}#57]] + * |_EsqlProject[[_meta_field{f}#12, emp_no{f}#6, first_name{f}#7, gender{f}#8, hire_date{f}#13, job{f}#14, job.raw{f}#15, lang + * uages{f}#9, last_name{f}#10, long_noidx{f}#16, salary{f}#11, language_code{r}#30, language_name{r}#31]] + * | \_Eval[[null[INTEGER] AS language_code#30, null[KEYWORD] AS language_name#31]] + * | \_Limit[1000[INTEGER],false] + * | \_Filter[emp_no{f}#6 > 10000[INTEGER] AND salary{f}#11 < 50000[INTEGER]] + * | \_EsRelation[test][_meta_field{f}#12, emp_no{f}#6, first_name{f}#7, ge..] + * |_EsqlProject[[_meta_field{f}#23, emp_no{f}#17, first_name{f}#18, gender{f}#19, hire_date{f}#24, job{f}#25, job.raw{f}#26, l + * anguages{f}#20, last_name{f}#21, long_noidx{f}#27, salary{f}#22, language_code{r}#32, language_name{r}#33]] + * | \_Eval[[null[INTEGER] AS language_code#32, null[KEYWORD] AS language_name#33]] + * | \_Limit[1000[INTEGER],false] + * | \_Subquery[] + * | \_Filter[salary{f}#22 < 50000[INTEGER] AND emp_no{f}#17 > 10000[INTEGER]] + * | \_EsRelation[test1][_meta_field{f}#23, emp_no{f}#17, first_name{f}#18, ..] + * \_LocalRelation[[_meta_field{r}#34, emp_no{r}#35, first_name{r}#36, gender{r}#37, hire_date{r}#38, job{r}#39, job.raw{r}#40, l + * anguages{r}#41, last_name{r}#42, long_noidx{r}#43, salary{r}#44, language_code{f}#28, language_name{f}#29],EMPT + * Y] + */ public void testPushDownFilterPastUnionAllAndCombineWithFilterInSubquery() { assumeTrue("Requires subquery in FROM command support", EsqlCapabilities.Cap.SUBQUERY_IN_FROM_COMMAND.isEnabled()); var plan = planSubquery(""" FROM test, (FROM test1 | where salary < 100000), (FROM languages | WHERE language_code > 0) - | WHERE emp_no > 10000 and salary > 50000 + | WHERE emp_no > 10000 and salary < 50000 """); Limit limit = as(plan, Limit.class); UnionAll unionAll = as(limit.child(), UnionAll.class); assertEquals(3, unionAll.children().size()); + EsqlProject child1 = as(unionAll.children().get(0), EsqlProject.class); Eval eval = as(child1.child(), Eval.class); Limit childLimit = as(eval.child(), Limit.class); @@ -1193,7 +1278,7 @@ public void testPushDownFilterPastUnionAllAndCombineWithFilterInSubquery() { assertEquals("emp_no", empNo.name()); Literal right = as(emp_no.right(), Literal.class); assertEquals(10000, right.value()); - GreaterThan salary = as(and.right(), GreaterThan.class); + LessThan salary = as(and.right(), LessThan.class); FieldAttribute salaryField = as(salary.left(), FieldAttribute.class); assertEquals("salary", salaryField.name()); right = as(salary.right(), Literal.class); @@ -1207,29 +1292,67 @@ public void testPushDownFilterPastUnionAllAndCombineWithFilterInSubquery() { Subquery subquery = as(childLimit.child(), Subquery.class); childFilter = as(subquery.child(), Filter.class); and = as(childFilter.condition(), And.class); - And empNoAndSalary = as(and.right(), And.class); - emp_no = as(empNoAndSalary.left(), GreaterThan.class); + emp_no = as(and.right(), GreaterThan.class); empNo = as(emp_no.left(), FieldAttribute.class); assertEquals("emp_no", empNo.name()); right = as(emp_no.right(), Literal.class); assertEquals(10000, right.value()); - salary = as(empNoAndSalary.right(), GreaterThan.class); + salary = as(and.left(), LessThan.class); salaryField = as(salary.left(), FieldAttribute.class); assertEquals("salary", salaryField.name()); right = as(salary.right(), Literal.class); assertEquals(50000, right.value()); - LessThan lessThan = as(and.left(), LessThan.class); - salaryField = as(lessThan.left(), FieldAttribute.class); - assertEquals("salary", salaryField.name()); - right = as(lessThan.right(), Literal.class); - assertEquals(100000, right.value()); relation = as(childFilter.child(), EsRelation.class); assertEquals("test1", relation.indexPattern()); LocalRelation localRelation = as(unionAll.children().get(2), LocalRelation.class); } - public void testPushDownFilterOnReferenceAttributesPastUnionAllDebug() { + /** + * Limit[1000[INTEGER],false] + * \_UnionAll[[_meta_field{r}#95, emp_no{r}#96, first_name{r}#97, gender{r}#98, hire_date{r}#99, job{r}#100, job.raw{r}#101, + * languages{r}#102, last_name{r}#103, long_noidx{r}#104, salary{r}#105, x{r}#106, y{r}#107, z{r}#108, language_name{r}#109]] + * |_LocalRelation[[_meta_field{f}#44, emp_no{f}#38, first_name{f}#39, gender{f}#40, hire_date{f}#45, job{f}#46, job.raw{f}#47, l + * anguages{f}#41, last_name{f}#42, long_noidx{f}#48, salary{f}#43, x{r}#75, y{r}#110, z{r}#77, language_name{r}#78], + * EMPTY] + * |_EsqlProject[[_meta_field{f}#55, emp_no{f}#49, first_name{f}#50, gender{f}#51, hire_date{f}#56, job{f}#57, job.raw{f}#58, l + * anguages{f}#52, last_name{f}#53, long_noidx{f}#59, salary{f}#54, x{r}#4, y{r}#111, z{r}#10, language_name{r}#79]] + * | \_Filter[ISNOTNULL(y{r}#111)] + * | \_Eval[[null[KEYWORD] AS language_name#79, TOLONG(y{r}#7) AS y#111]] + * | \_Limit[1000[INTEGER],false] + * | \_Subquery[] + * | \_Project[[_meta_field{f}#55, emp_no{f}#49, first_name{f}#50, gender{f}#51, hire_date{f}#56, job{f}#57, job.raw{f}#58, l + * anguages{f}#52, last_name{f}#53, long_noidx{f}#59, salary{f}#54, x{r}#4, emp_no{f}#49 AS y#7, z{r}#10]] + * | \_Filter[z{r}#10 > 0[INTEGER]] + * | \_Eval[[1[INTEGER] AS x#4, emp_no{f}#49 + 1[INTEGER] AS z#10]] + * | \_Filter[salary{f}#54 < 100000[INTEGER]] + * | \_EsRelation[test1][_meta_field{f}#55, emp_no{f}#49, first_name{f}#50, ..] + * |_EsqlProject[[_meta_field{r}#80, emp_no{r}#81, first_name{r}#82, gender{r}#83, hire_date{r}#84, job{r}#85, job.raw{r}#86, l + * anguages{r}#87, last_name{r}#88, long_noidx{r}#89, salary{r}#90, x{r}#21, y{r}#19, z{r}#16, language_name{r}#91]] + * | \_Eval[[null[KEYWORD] AS _meta_field#80, null[INTEGER] AS emp_no#81, null[KEYWORD] AS first_name#82, null[TEXT] AS ge + * nder#83, null[DATETIME] AS hire_date#84, null[TEXT] AS job#85, null[KEYWORD] AS job.raw#86, null[INTEGER] AS languages#87, + * null[KEYWORD] AS last_name#88, null[LONG] AS long_noidx#89, null[INTEGER] AS salary#90, null[KEYWORD] AS language_name#91]] + * | \_Limit[1000[INTEGER],false] + * | \_Subquery[] + * | \_Eval[[1[INTEGER] AS x#21]] + * | \_Filter[ISNOTNULL(y{r}#19) AND z{r}#16 > 0[INTEGER]] + * | \_Aggregate[[language_code{f}#60],[COUNT(*[KEYWORD],true[BOOLEAN]) AS y#19, language_code{f}#60 AS z#16]] + * | \_EsRelation[languages][language_code{f}#60, language_name{f}#61] + * \_EsqlProject[[_meta_field{f}#68, emp_no{r}#92, first_name{f}#63, gender{f}#64, hire_date{f}#69, job{f}#70, job.raw{f}#71, l + * anguages{r}#93, last_name{f}#66, long_noidx{f}#72, salary{r}#94, x{r}#28, y{r}#112, z{r}#34, language_name{f}#74]] + * \_Filter[ISNOTNULL(y{r}#112)] + * \_Eval[[null[INTEGER] AS emp_no#92, null[INTEGER] AS languages#93, null[INTEGER] AS salary#94, TOLONG(y{r}#31) AS y#1 + * 12]] + * \_Limit[1000[INTEGER],false] + * \_Subquery[] + * \_Project[[_meta_field{f}#68, emp_no{f}#62 AS x#28, first_name{f}#63, gender{f}#64, hire_date{f}#69, job{f}#70, job.raw{ + * f}#71, languages{f}#65 AS z#34, last_name{f}#66, long_noidx{f}#72, salary{f}#67 AS y#31, language_name{f}#74]] + * \_Join[LEFT,[languages{f}#65],[language_code{f}#73],null] + * |_Filter[ISNOTNULL(emp_no{f}#62) AND languages{f}#65 > 0[INTEGER]] + * | \_EsRelation[test1][_meta_field{f}#68, emp_no{f}#62, first_name{f}#63, ..] + * \_EsRelation[languages_lookup][LOOKUP][language_code{f}#73, language_name{f}#74] + */ + public void testPushDownFilterOnReferenceAttributesPastUnionAll() { assumeTrue("Requires subquery in FROM command support", EsqlCapabilities.Cap.SUBQUERY_IN_FROM_COMMAND.isEnabled()); var plan = planSubquery(""" FROM test @@ -1345,7 +1468,22 @@ public void testPushDownFilterOnReferenceAttributesPastUnionAllDebug() { assertEquals("languages_lookup", relation.indexPattern()); } - public void testPushDownFilterOnReferenceAttributesAndFieldAttributesPastUnionAllDebug() { + /** + * Limit[1000[INTEGER],false] + * \_UnionAll[[_meta_field{r}#35, emp_no{r}#36, first_name{r}#37, gender{r}#38, hire_date{r}#39, job{r}#40, job.raw{r}#41, l + * anguages{r}#42, last_name{r}#43, long_noidx{r}#44, salary{r}#45, x{r}#46, y{r}#47]] + * |_LocalRelation[[_meta_field{f}#17, emp_no{f}#11, first_name{f}#12, gender{f}#13, hire_date{f}#18, job{f}#19, job.raw{f}#20, l + * anguages{f}#14, last_name{f}#15, long_noidx{f}#21, salary{f}#16, x{r}#33, y{r}#34],EMPTY] + * \_EsqlProject[[_meta_field{f}#28, emp_no{f}#22, first_name{f}#23, gender{f}#24, hire_date{f}#29, job{f}#30, job.raw{f}#31, l + * anguages{f}#25, last_name{f}#26, long_noidx{f}#32, salary{f}#27, x{r}#4, y{r}#7]] + * \_Limit[1000[INTEGER],false] + * \_Subquery[] + * \_Filter[y{r}#7 > 0[INTEGER]] + * \_Eval[[1[INTEGER] AS x#4, emp_no{f}#22 + 1[INTEGER] AS y#7]] + * \_Filter[salary{f}#27 < 100000[INTEGER] AND emp_no{f}#22 > 0[INTEGER]] + * \_EsRelation[test1][_meta_field{f}#28, emp_no{f}#22, first_name{f}#23, ..] + */ + public void testPushDownFilterOnReferenceAttributesAndFieldAttributesPastUnionAll() { assumeTrue("Requires subquery in FROM command support", EsqlCapabilities.Cap.SUBQUERY_IN_FROM_COMMAND.isEnabled()); var plan = planSubquery(""" FROM test, (FROM test1 | where salary < 100000 | EVAL x = 1, y = emp_no + 1) diff --git a/x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/plan/logical/SubquerySerializationTests.java b/x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/plan/logical/SubquerySerializationTests.java new file mode 100644 index 0000000000000..a0ac3b86d8b06 --- /dev/null +++ b/x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/plan/logical/SubquerySerializationTests.java @@ -0,0 +1,33 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +package org.elasticsearch.xpack.esql.plan.logical; + +import org.elasticsearch.xpack.esql.core.tree.Source; + +import java.io.IOException; + +public class SubquerySerializationTests extends AbstractLogicalPlanSerializationTests { + @Override + protected Subquery createTestInstance() { + Source source = randomSource(); + LogicalPlan child = randomChild(0); + return new Subquery(source, child); + } + + @Override + protected Subquery mutateInstance(Subquery instance) throws IOException { + LogicalPlan child = instance.child(); + child = randomValueOtherThan(child, () -> randomChild(0)); + return new Subquery(instance.source(), child); + } + + @Override + protected boolean alwaysEmptySource() { + return true; + } +} From 079f4037a6a04dbaac3662509b9dd23eaa4486c6 Mon Sep 17 00:00:00 2001 From: Fang Xing Date: Fri, 3 Oct 2025 15:39:58 -0400 Subject: [PATCH 09/16] add telemetry for subquery in from command --- .../xpack/esql/action/TelemetryIT.java | 12 ++++ .../xpack/esql/parser/LogicalPlanBuilder.java | 7 +++ .../esql/telemetry/VerifierMetricsTests.java | 60 +++++++++++++++++++ .../rest-api-spec/test/esql/60_usage.yml | 2 + 4 files changed, 81 insertions(+) diff --git a/x-pack/plugin/esql/src/internalClusterTest/java/org/elasticsearch/xpack/esql/action/TelemetryIT.java b/x-pack/plugin/esql/src/internalClusterTest/java/org/elasticsearch/xpack/esql/action/TelemetryIT.java index 62a0fda0cb149..e006951034dad 100644 --- a/x-pack/plugin/esql/src/internalClusterTest/java/org/elasticsearch/xpack/esql/action/TelemetryIT.java +++ b/x-pack/plugin/esql/src/internalClusterTest/java/org/elasticsearch/xpack/esql/action/TelemetryIT.java @@ -190,6 +190,18 @@ public static Iterable parameters() { ? Map.ofEntries(Map.entry("MAX", 1), Map.entry("TO_IP", 1), Map.entry("TO_STRING", 2)) : Collections.emptyMap(), EsqlCapabilities.Cap.INLINE_STATS.isEnabled() + ) }, + new Object[] { + new Test( + """ + FROM idx, (FROM idx | WHERE host =="127.0.0.1") + | WHERE id > 10 + """, + EsqlCapabilities.Cap.SUBQUERY_IN_FROM_COMMAND.isEnabled() ? + Map.of("FROM", 2, "UNIONALL", 1, "WHERE", 2) : + Collections.emptyMap(), + Collections.emptyMap(), + EsqlCapabilities.Cap.SUBQUERY_IN_FROM_COMMAND.isEnabled() ) } ); } diff --git a/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/parser/LogicalPlanBuilder.java b/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/parser/LogicalPlanBuilder.java index 3a901be6500da..1bcd80944d557 100644 --- a/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/parser/LogicalPlanBuilder.java +++ b/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/parser/LogicalPlanBuilder.java @@ -376,9 +376,14 @@ private LogicalPlan visitRelation(Source source, IndexMode indexMode, EsqlBasePa } } + if (remainingSubqueries.isEmpty()) { + return unresolvedRelation; + } + List mainQueryAndSubqueries = new ArrayList<>(remainingSubqueries.size() + 1); if (table.indexPattern().isEmpty() == false) { mainQueryAndSubqueries.add(unresolvedRelation); + telemetryAccounting(unresolvedRelation); } mainQueryAndSubqueries.addAll(remainingSubqueries); @@ -413,6 +418,7 @@ private List visitSubqueriesInFromCommand(List subqueries = new ArrayList<>(); for (EsqlBaseParser.SubqueryContext ctx : ctxs) { LogicalPlan plan = visitSubquery(ctx); + telemetryAccounting(plan); subqueries.add(new Subquery(source(ctx), plan)); } return subqueries; @@ -429,6 +435,7 @@ public LogicalPlan visitSubquery(EsqlBaseParser.SubqueryContext ctx) { LogicalPlan parent = from; for (PlanFactory processingCommand : processingCommands) { parent = processingCommand.apply(child); + telemetryAccounting(child); child = parent; } return parent; diff --git a/x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/telemetry/VerifierMetricsTests.java b/x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/telemetry/VerifierMetricsTests.java index 05e0f70b949f0..178bea2feb30a 100644 --- a/x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/telemetry/VerifierMetricsTests.java +++ b/x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/telemetry/VerifierMetricsTests.java @@ -71,6 +71,7 @@ public void testDissectQuery() { assertEquals(0, lookupJoinOnFields(c)); assertEquals(0, lookupJoinOnExpression(c)); assertEquals(0, inlineStats(c)); + assertEquals(0, subqueryInFromCommand(c)); assertEquals(1, function("concat", c)); } @@ -95,6 +96,7 @@ public void testEvalQuery() { assertEquals(0, lookupJoinOnFields(c)); assertEquals(0, lookupJoinOnExpression(c)); assertEquals(0, inlineStats(c)); + assertEquals(0, subqueryInFromCommand(c)); assertEquals(1, function("length", c)); } @@ -119,6 +121,7 @@ public void testGrokQuery() { assertEquals(0, lookupJoinOnFields(c)); assertEquals(0, lookupJoinOnExpression(c)); assertEquals(0, inlineStats(c)); + assertEquals(0, subqueryInFromCommand(c)); assertEquals(1, function("concat", c)); } @@ -143,6 +146,7 @@ public void testLimitQuery() { assertEquals(0, lookupJoinOnFields(c)); assertEquals(0, lookupJoinOnExpression(c)); assertEquals(0, inlineStats(c)); + assertEquals(0, subqueryInFromCommand(c)); } public void testSortQuery() { @@ -166,6 +170,7 @@ public void testSortQuery() { assertEquals(0, lookupJoinOnFields(c)); assertEquals(0, lookupJoinOnExpression(c)); assertEquals(0, inlineStats(c)); + assertEquals(0, subqueryInFromCommand(c)); } public void testStatsQuery() { @@ -189,6 +194,7 @@ public void testStatsQuery() { assertEquals(0, lookupJoinOnFields(c)); assertEquals(0, lookupJoinOnExpression(c)); assertEquals(0, inlineStats(c)); + assertEquals(0, subqueryInFromCommand(c)); assertEquals(1, function("max", c)); } @@ -213,6 +219,7 @@ public void testWhereQuery() { assertEquals(0, lookupJoinOnFields(c)); assertEquals(0, lookupJoinOnExpression(c)); assertEquals(0, inlineStats(c)); + assertEquals(0, subqueryInFromCommand(c)); } public void testTwoWhereQuery() { @@ -236,6 +243,7 @@ public void testTwoWhereQuery() { assertEquals(0, lookupJoinOnFields(c)); assertEquals(0, lookupJoinOnExpression(c)); assertEquals(0, inlineStats(c)); + assertEquals(0, subqueryInFromCommand(c)); } public void testTwoQueriesExecuted() { @@ -279,6 +287,7 @@ public void testTwoQueriesExecuted() { assertEquals(0, lookupJoinOnFields(c)); assertEquals(0, lookupJoinOnExpression(c)); assertEquals(0, inlineStats(c)); + assertEquals(0, subqueryInFromCommand(c)); assertEquals(1, function("length", c)); assertEquals(1, function("concat", c)); @@ -366,6 +375,7 @@ public void testEnrich() { assertEquals(0, inlineStats(c)); assertEquals(0, lookupJoinOnFields(c)); assertEquals(0, lookupJoinOnExpression(c)); + assertEquals(0, subqueryInFromCommand(c)); assertEquals(1, function("to_string", c)); } @@ -399,6 +409,7 @@ public void testMvExpand() { assertEquals(0, inlineStats(c)); assertEquals(0, lookupJoinOnFields(c)); assertEquals(0, lookupJoinOnExpression(c)); + assertEquals(0, subqueryInFromCommand(c)); } public void testShowInfo() { @@ -422,6 +433,7 @@ public void testShowInfo() { assertEquals(0, inlineStats(c)); assertEquals(0, lookupJoinOnFields(c)); assertEquals(0, lookupJoinOnExpression(c)); + assertEquals(0, subqueryInFromCommand(c)); assertEquals(1, function("count", c)); } @@ -446,6 +458,7 @@ public void testRow() { assertEquals(0, inlineStats(c)); assertEquals(0, lookupJoinOnFields(c)); assertEquals(0, lookupJoinOnExpression(c)); + assertEquals(0, subqueryInFromCommand(c)); } public void testDropAndRename() { @@ -469,6 +482,7 @@ public void testDropAndRename() { assertEquals(0, inlineStats(c)); assertEquals(0, lookupJoinOnFields(c)); assertEquals(0, lookupJoinOnExpression(c)); + assertEquals(0, subqueryInFromCommand(c)); assertEquals(1, function("count", c)); } @@ -498,6 +512,7 @@ public void testKeep() { assertEquals(0, inlineStats(c)); assertEquals(0, lookupJoinOnFields(c)); assertEquals(0, lookupJoinOnExpression(c)); + assertEquals(0, subqueryInFromCommand(c)); } public void testCategorize() { @@ -525,6 +540,7 @@ public void testCategorize() { assertEquals(0, inlineStats(c)); assertEquals(0, lookupJoinOnFields(c)); assertEquals(0, lookupJoinOnExpression(c)); + assertEquals(0, subqueryInFromCommand(c)); assertEquals(1, function("count", c)); assertEquals(1, function("categorize", c)); } @@ -554,6 +570,7 @@ public void testInlineStatsStandalone() { assertEquals(1L, inlineStats(c)); assertEquals(0, lookupJoinOnFields(c)); assertEquals(0, lookupJoinOnExpression(c)); + assertEquals(0, subqueryInFromCommand(c)); assertEquals(1, function("max", c)); } @@ -583,6 +600,7 @@ public void testInlineStatsWithOtherStats() { assertEquals(1L, inlineStats(c)); assertEquals(0, lookupJoinOnFields(c)); assertEquals(0, lookupJoinOnExpression(c)); + assertEquals(0, subqueryInFromCommand(c)); assertEquals(1, function("max", c)); } @@ -611,6 +629,7 @@ public void testBinaryPlanAfterStats() { assertEquals(0, inlineStats(c)); assertEquals(1L, lookupJoinOnFields(c)); assertEquals(0, lookupJoinOnExpression(c)); + assertEquals(0, subqueryInFromCommand(c)); assertEquals(1, function("max", c)); } @@ -644,6 +663,7 @@ public void testBinaryPlanAfterStatsExpressionJoin() { assertEquals(0, inlineStats(c)); assertEquals(0, lookupJoinOnFields(c)); assertEquals(1L, lookupJoinOnExpression(c)); + assertEquals(0, subqueryInFromCommand(c)); assertEquals(1, function("max", c)); } @@ -673,6 +693,7 @@ public void testBinaryPlanAfterInlineStats() { assertEquals(1L, inlineStats(c)); assertEquals(1L, lookupJoinOnFields(c)); assertEquals(0, lookupJoinOnExpression(c)); + assertEquals(0, subqueryInFromCommand(c)); assertEquals(1, function("max", c)); } @@ -700,6 +721,7 @@ public void testTimeSeriesAggregate() { assertEquals(0, inlineStats(c)); assertEquals(0, lookupJoinOnFields(c)); assertEquals(0, lookupJoinOnExpression(c)); + assertEquals(0, subqueryInFromCommand(c)); assertEquals(1, function("sum", c)); assertEquals(1, function("avg_over_time", c)); } @@ -728,6 +750,40 @@ public void testTimeSeriesNoAggregate() { assertEquals(0, inlineStats(c)); assertEquals(0, lookupJoinOnFields(c)); assertEquals(0, lookupJoinOnExpression(c)); + assertEquals(0, subqueryInFromCommand(c)); + } + + public void testBinaryPlanAfterSubqueryInFromCommand() { + assumeTrue("requires SUBQUERY IN FROM capability", EsqlCapabilities.Cap.SUBQUERY_IN_FROM_COMMAND.isEnabled()); + + Counters c = esql(""" + from employees + , (from employees | stats max = max(salary) by languages) + , (from employees | stats min = min(salary) by languages) + | where min > 0 and max < 100000 + """); + assertEquals(0, dissect(c)); + assertEquals(1L, eval(c)); + assertEquals(0, grok(c)); + assertEquals(0, limit(c)); + assertEquals(0, sort(c)); + assertEquals(1L, stats(c)); + assertEquals(1L, where(c)); + assertEquals(0, enrich(c)); + assertEquals(0, mvExpand(c)); + assertEquals(0, show(c)); + assertEquals(0, row(c)); + assertEquals(1L, from(c)); + assertEquals(0, ts(c)); + assertEquals(0, drop(c)); + assertEquals(0, keep(c)); + assertEquals(0, rename(c)); + assertEquals(0, inlineStats(c)); + assertEquals(0, lookupJoinOnFields(c)); + assertEquals(0, lookupJoinOnExpression(c)); + assertEquals(1L, subqueryInFromCommand(c)); + assertEquals(1L, function("max", c)); + assertEquals(1L, function("min", c)); } private long dissect(Counters c) { @@ -806,6 +862,10 @@ private long lookupJoinOnExpression(Counters c) { return c.get(FEATURES_PREFIX + LOOKUP_JOIN_ON_EXPRESSION); } + private long subqueryInFromCommand(Counters c) { + return c.get(FEATURES_PREFIX + FeatureMetric.SUBQUERY); + } + private long function(String function, Counters c) { return c.get(FUNC_PREFIX + function); } diff --git a/x-pack/plugin/src/yamlRestTest/resources/rest-api-spec/test/esql/60_usage.yml b/x-pack/plugin/src/yamlRestTest/resources/rest-api-spec/test/esql/60_usage.yml index 2aef3f12518d1..e806e6815f381 100644 --- a/x-pack/plugin/src/yamlRestTest/resources/rest-api-spec/test/esql/60_usage.yml +++ b/x-pack/plugin/src/yamlRestTest/resources/rest-api-spec/test/esql/60_usage.yml @@ -96,6 +96,7 @@ setup: - set: { esql.features.fuse: fuse_counter } - set: { esql.features.completion: completion_counter } - set: { esql.features.sample: sample_counter } + - set: { esql.features.subquery: subquery_counter } - length: { esql.queries: 3 } - set: { esql.queries.rest.total: rest_total_counter } - set: { esql.queries.rest.failed: rest_failed_counter } @@ -251,6 +252,7 @@ setup: - set: { esql.features.fuse: fuse_counter } - set: { esql.features.completion: completion_counter } - set: { esql.features.sample: sample_counter } + - set: { esql.features.subquery: subquery_counter } - length: { esql.queries: 3 } - set: { esql.queries.rest.total: rest_total_counter } - set: { esql.queries.rest.failed: rest_failed_counter } From c489ab120d86358a7f3ddaf27bdf73ce48209982 Mon Sep 17 00:00:00 2001 From: elasticsearchmachine Date: Fri, 3 Oct 2025 19:51:11 +0000 Subject: [PATCH 10/16] [CI] Auto commit changes from spotless --- .../org/elasticsearch/xpack/esql/action/TelemetryIT.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/x-pack/plugin/esql/src/internalClusterTest/java/org/elasticsearch/xpack/esql/action/TelemetryIT.java b/x-pack/plugin/esql/src/internalClusterTest/java/org/elasticsearch/xpack/esql/action/TelemetryIT.java index e006951034dad..620560e27340b 100644 --- a/x-pack/plugin/esql/src/internalClusterTest/java/org/elasticsearch/xpack/esql/action/TelemetryIT.java +++ b/x-pack/plugin/esql/src/internalClusterTest/java/org/elasticsearch/xpack/esql/action/TelemetryIT.java @@ -197,9 +197,9 @@ public static Iterable parameters() { FROM idx, (FROM idx | WHERE host =="127.0.0.1") | WHERE id > 10 """, - EsqlCapabilities.Cap.SUBQUERY_IN_FROM_COMMAND.isEnabled() ? - Map.of("FROM", 2, "UNIONALL", 1, "WHERE", 2) : - Collections.emptyMap(), + EsqlCapabilities.Cap.SUBQUERY_IN_FROM_COMMAND.isEnabled() + ? Map.of("FROM", 2, "UNIONALL", 1, "WHERE", 2) + : Collections.emptyMap(), Collections.emptyMap(), EsqlCapabilities.Cap.SUBQUERY_IN_FROM_COMMAND.isEnabled() ) } From 7cc94a5e2cd72926052447abcf430293abc85a92 Mon Sep 17 00:00:00 2001 From: Fang Xing Date: Mon, 6 Oct 2025 22:32:18 -0400 Subject: [PATCH 11/16] create a new rule PushDownFilterAndLimitIntoUnionAll to do predicate and limit pushdown for subqueries --- .../esql/optimizer/LogicalPlanOptimizer.java | 2 + .../logical/PushDownAndCombineFilters.java | 232 ------ .../PushDownFilterAndLimitIntoUnionAll.java | 295 ++++++++ .../PushDownAndCombineFiltersTests.java | 521 -------------- ...shDownFilterAndLimitIntoUnionAllTests.java | 662 ++++++++++++++++++ 5 files changed, 959 insertions(+), 753 deletions(-) create mode 100644 x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/optimizer/rules/logical/PushDownFilterAndLimitIntoUnionAll.java create mode 100644 x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/optimizer/rules/logical/PushDownFilterAndLimitIntoUnionAllTests.java diff --git a/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/optimizer/LogicalPlanOptimizer.java b/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/optimizer/LogicalPlanOptimizer.java index ae346e4d52449..473011ee611cc 100644 --- a/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/optimizer/LogicalPlanOptimizer.java +++ b/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/optimizer/LogicalPlanOptimizer.java @@ -42,6 +42,7 @@ import org.elasticsearch.xpack.esql.optimizer.rules.logical.PushDownConjunctionsToKnnPrefilters; import org.elasticsearch.xpack.esql.optimizer.rules.logical.PushDownEnrich; import org.elasticsearch.xpack.esql.optimizer.rules.logical.PushDownEval; +import org.elasticsearch.xpack.esql.optimizer.rules.logical.PushDownFilterAndLimitIntoUnionAll; import org.elasticsearch.xpack.esql.optimizer.rules.logical.PushDownInferencePlan; import org.elasticsearch.xpack.esql.optimizer.rules.logical.PushDownJoinPastProject; import org.elasticsearch.xpack.esql.optimizer.rules.logical.PushDownRegexExtract; @@ -203,6 +204,7 @@ protected static Batch operators(boolean local) { new PushDownEnrich(), new PushDownJoinPastProject(), new PushDownAndCombineOrderBy(), + new PushDownFilterAndLimitIntoUnionAll(), new PruneRedundantOrderBy(), new PruneRedundantSortClauses(), new PruneLeftJoinOnNullMatchingField(), diff --git a/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/optimizer/rules/logical/PushDownAndCombineFilters.java b/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/optimizer/rules/logical/PushDownAndCombineFilters.java index f8d223fdac6c2..29a9f10270b0d 100644 --- a/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/optimizer/rules/logical/PushDownAndCombineFilters.java +++ b/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/optimizer/rules/logical/PushDownAndCombineFilters.java @@ -7,7 +7,6 @@ package org.elasticsearch.xpack.esql.optimizer.rules.logical; -import org.elasticsearch.core.Tuple; import org.elasticsearch.xpack.esql.core.expression.Alias; import org.elasticsearch.xpack.esql.core.expression.Attribute; import org.elasticsearch.xpack.esql.core.expression.AttributeMap; @@ -16,7 +15,6 @@ import org.elasticsearch.xpack.esql.core.expression.Expressions; import org.elasticsearch.xpack.esql.core.expression.FoldContext; import org.elasticsearch.xpack.esql.core.expression.Literal; -import org.elasticsearch.xpack.esql.core.expression.NamedExpression; import org.elasticsearch.xpack.esql.core.expression.ReferenceAttribute; import org.elasticsearch.xpack.esql.core.util.CollectionUtils; import org.elasticsearch.xpack.esql.expression.predicate.Predicates; @@ -24,14 +22,11 @@ import org.elasticsearch.xpack.esql.plan.logical.Enrich; import org.elasticsearch.xpack.esql.plan.logical.Eval; import org.elasticsearch.xpack.esql.plan.logical.Filter; -import org.elasticsearch.xpack.esql.plan.logical.Limit; import org.elasticsearch.xpack.esql.plan.logical.LogicalPlan; import org.elasticsearch.xpack.esql.plan.logical.OrderBy; import org.elasticsearch.xpack.esql.plan.logical.Project; import org.elasticsearch.xpack.esql.plan.logical.RegexExtract; -import org.elasticsearch.xpack.esql.plan.logical.Subquery; import org.elasticsearch.xpack.esql.plan.logical.UnaryPlan; -import org.elasticsearch.xpack.esql.plan.logical.UnionAll; import org.elasticsearch.xpack.esql.plan.logical.inference.InferencePlan; import org.elasticsearch.xpack.esql.plan.logical.join.InlineJoin; import org.elasticsearch.xpack.esql.plan.logical.join.Join; @@ -42,9 +37,6 @@ import java.util.function.Function; import java.util.function.Predicate; -import static org.elasticsearch.xpack.esql.core.expression.Attribute.SYNTHETIC_ATTRIBUTE_NAME_SEPARATOR; -import static org.elasticsearch.xpack.esql.core.expression.Attribute.rawTemporaryName; - /** * Perform filters as early as possible in the logical plan by pushing them past certain plan nodes (like {@link Eval}, * {@link RegexExtract}, {@link Enrich}, {@link Project}, {@link OrderBy} and left {@link Join}s) where possible. @@ -117,12 +109,6 @@ protected LogicalPlan rule(Filter filter, LogicalOptimizerContext ctx) { // See also https://github.com/elastic/elasticsearch/issues/127497 // Push down past INLINE STATS if the condition is on the groupings return pushDownPastJoin(filter, join, ctx.foldCtx()); - } else if (child instanceof UnionAll unionAll) { - // Push down filters that can be evaluated using only the output of the UnionAll - plan = maybePushDownPastUnionAll(filter, unionAll); - } else if (child instanceof Subquery subquery) { - // subquery is a placeholder, push down the filter to the child of the subquery - plan = subquery.replaceChild(new Filter(filter.source(), subquery.child(), filter.condition())); } // cannot push past a Limit, this could change the tailing result set returned return plan; @@ -297,222 +283,4 @@ private static LogicalPlan maybePushDownPastUnary( } return plan; } - - /* Push down filters that can be evaluated by the UnionAll child/leg to each child/leg, - * so that the filters can be pushed down further to the data source when possible. - * Filters that cannot be pushed down remain above the UnionAll. - * - * The children of a UnionAll/Fork plan has a similar pattern, as Fork adds EsqlProject, - * an optional Eval and Limit on top of its actual children. - * UnionAll - * EsqlProject - * Eval (optional) - * Limit - * EsRelation - * EsqlProject - * Eval (optional) - * Limit - * Subquery - * - * Push down the filter below limit when possible - */ - private static LogicalPlan maybePushDownPastUnionAll(Filter filter, UnionAll unionAll) { - List pushable = new ArrayList<>(); - List nonPushable = new ArrayList<>(); - for (Expression exp : Predicates.splitAnd(filter.condition())) { - if (exp.references().subsetOf(unionAll.outputSet())) { - pushable.add(exp); - } else { - nonPushable.add(exp); - } - } - if (pushable.isEmpty()) { - return filter; // nothing to push down - } - // Push the filter down to each child of the UnionAll, the child of a UnionAll is always - // a project followed by an optional eval and then limit or a limit added by fork and - // then the real child, if there is unknown pattern, keep the filter and UnionAll plan unchanged - List newChildren = new ArrayList<>(); - boolean changed = false; - for (LogicalPlan child : unionAll.children()) { - LogicalPlan newChild = switch (child) { - case Project project -> maybePushDownFilterPastProjectForUnionAllChild(pushable, project); - case Limit limit -> maybePushDownFilterPastLimitForUnionAllChild(pushable, limit); - default -> null; // TODO add a general push down for unexpected pattern - }; - - if (newChild == null) { - // Unexpected pattern, keep plan unchanged without pushing down filters - return filter; - } - - if (newChild != child) { - changed = true; - newChildren.add(newChild); - } else { - // Theoretically, all the pushable predicates should be pushed down into each child, - // in case one child is not changed, preserve the filter on top of UnionAll to make sure - // correct results are returned and avoid infinite loop of the rule. - return filter; - } - } - - if (changed == false) { // nothing changed, return the original plan - return filter; - } - - LogicalPlan newUnionAll = unionAll.replaceChildren(newChildren); - if (nonPushable.isEmpty()) { - return newUnionAll; - } else { - return filter.with(newUnionAll, Predicates.combineAnd(nonPushable)); - } - } - - private static LogicalPlan maybePushDownFilterPastProjectForUnionAllChild(List pushable, Project project) { - List resolvedPushable = resolvePushableAgainstOutput(pushable, project.projections()); - if (resolvedPushable == null) { - return project; - } - LogicalPlan child = project.child(); - if (child instanceof Eval eval) { - return pushDownFilterPastEvalForUnionAllChild(resolvedPushable, project, eval); - } else if (child instanceof Limit limit) { - LogicalPlan newLimit = pushDownFilterPastLimitForUnionAllChild(resolvedPushable, limit); - return project.replaceChild(newLimit); - } - return project; - } - - private static LogicalPlan maybePushDownFilterPastLimitForUnionAllChild(List pushable, Limit limit) { - List resolvedPushable = resolvePushableAgainstOutput(pushable, limit.output()); - if (resolvedPushable == null) { - return limit; - } - return pushDownFilterPastLimitForUnionAllChild(resolvedPushable, limit); - } - - /** - * Attempts to resolve all pushable expressions against the given output attributes. - * Returns a fully resolved list if successful, or null if any expression cannot be resolved. - */ - private static List resolvePushableAgainstOutput(List pushable, List output) { - List resolved = new ArrayList<>(); - for (Expression exp : pushable) { - Expression replaced = resolveUnionAllOutputByName(exp, output); - // Make sure the pushable predicates can find their corresponding attributes in the output - if (replaced == null || replaced == exp) { - // cannot find the attribute in the child project, cannot push down this filter - return null; - } - resolved.add(replaced); - } - // If some pushable predicates cannot be resolved against the output, cannot push filter down. - // This should not happen, however we need to be cautious here, if the predicate is removed from - // the main query, and it is not pushed down into the UnionAll child, the result will be incorrect. - return resolved.size() == pushable.size() ? resolved : null; - } - - private static LogicalPlan pushDownFilterPastEvalForUnionAllChild(List pushable, Project project, Eval eval) { - // if the pushable references any attribute created by the eval, we cannot push down - AttributeMap evalAliases = buildEvaAliases(eval); - Tuple, List> pushablesAndNonPushables = splitPushableAndNonPushablePredicates( - pushable, - exp -> exp.references().stream().anyMatch(evalAliases::containsKey) - ); - List pushables = pushablesAndNonPushables.v1(); - List nonPushables = pushablesAndNonPushables.v2(); - - LogicalPlan evalChild = eval.child(); - - // Nothing to push down under eval and limit - if (pushables.isEmpty()) { - return nonPushables.isEmpty() - ? project // nothing at all - : withFilter(project, eval, nonPushables); // Push down filter references eval created attributes below project, above eval - } - - // Push down all pushable predicates below eval and limit - if (evalChild instanceof Limit limit) { - LogicalPlan newLimit = pushDownFilterPastLimitForUnionAllChild(pushables, limit); - LogicalPlan newEval = eval.replaceChild(newLimit); - - return nonPushables.isEmpty() ? project.replaceChild(newEval) : withFilter(project, newEval, nonPushables); - } - - return project; - } - - private static LogicalPlan withFilter(Project project, LogicalPlan child, List predicates) { - Expression combined = Predicates.combineAnd(predicates); - return project.replaceChild(new Filter(project.source(), child, combined)); - } - - /** - * limit does not create any new attributes, so we should push down all pushable predicates, - * the caller should make sure the pushable is really pushable. - */ - private static LogicalPlan pushDownFilterPastLimitForUnionAllChild(List pushable, Limit limit) { - if (pushable.isEmpty()) { - return limit; - } - Expression combined = Predicates.combineAnd(pushable); - Filter pushed = new Filter(limit.source(), limit.child(), combined); - return limit.replaceChild(pushed); - } - - private static AttributeMap buildEvaAliases(Eval eval) { - AttributeMap.Builder builder = AttributeMap.builder(); - for (Alias alias : eval.fields()) { - builder.put(alias.toAttribute(), alias.child()); - } - return builder.build(); - } - - private static Tuple, List> splitPushableAndNonPushablePredicates( - List predicates, - Predicate nonPushableCheck - ) { - List pushable = new ArrayList<>(); - List nonPushable = new ArrayList<>(); - for (Expression exp : predicates) { - if (nonPushableCheck.test(exp)) { - nonPushable.add(exp); - } else { - pushable.add(exp); - } - } - return Tuple.tuple(pushable, nonPushable); - } - - /** - * The UnionAll/Fork outputs have the same names as it children's outputs, however they have different ids. - * Convert the pushable predicates to use the child's attributes, so that they can be pushed down further. - */ - private static Expression resolveUnionAllOutputByName(Expression expr, List namedExpressions) { - // A temporary expression is created with temporary attributes names, as sometimes transform expression does not transform - // one ReferenceAttribute to another ReferenceAttribute with the same name, different id successfully. - String UNIONALL = "unionall"; - // rename the output of the UnionAll to a temporary name with a prefix - Expression renamed = expr.transformUp(Attribute.class, attr -> { - for (NamedExpression ne : namedExpressions) { - if (ne.name().equals(attr.name())) { - // $$subquery$attr.name() - return attr.withName(rawTemporaryName(UNIONALL, ne.name())); - } - } - return attr; - }); - - String prefix = Attribute.SYNTHETIC_ATTRIBUTE_NAME_PREFIX + UNIONALL + SYNTHETIC_ATTRIBUTE_NAME_SEPARATOR; - return renamed.transformUp(Attribute.class, attr -> { - String originalName = attr.name().startsWith(prefix) ? attr.name().substring(prefix.length()) : attr.name(); - for (NamedExpression ne : namedExpressions) { - if (ne.name().equals(originalName)) { - return ne.toAttribute(); - } - } - return attr; - }); - } } diff --git a/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/optimizer/rules/logical/PushDownFilterAndLimitIntoUnionAll.java b/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/optimizer/rules/logical/PushDownFilterAndLimitIntoUnionAll.java new file mode 100644 index 0000000000000..2d2daec5dcb4f --- /dev/null +++ b/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/optimizer/rules/logical/PushDownFilterAndLimitIntoUnionAll.java @@ -0,0 +1,295 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +package org.elasticsearch.xpack.esql.optimizer.rules.logical; + +import org.elasticsearch.core.Tuple; +import org.elasticsearch.xpack.esql.core.expression.Alias; +import org.elasticsearch.xpack.esql.core.expression.Attribute; +import org.elasticsearch.xpack.esql.core.expression.AttributeMap; +import org.elasticsearch.xpack.esql.core.expression.Expression; +import org.elasticsearch.xpack.esql.core.expression.NamedExpression; +import org.elasticsearch.xpack.esql.expression.predicate.Predicates; +import org.elasticsearch.xpack.esql.plan.logical.Eval; +import org.elasticsearch.xpack.esql.plan.logical.Filter; +import org.elasticsearch.xpack.esql.plan.logical.Limit; +import org.elasticsearch.xpack.esql.plan.logical.LogicalPlan; +import org.elasticsearch.xpack.esql.plan.logical.Project; +import org.elasticsearch.xpack.esql.plan.logical.Subquery; +import org.elasticsearch.xpack.esql.plan.logical.UnionAll; +import org.elasticsearch.xpack.esql.rule.Rule; + +import java.util.ArrayList; +import java.util.List; +import java.util.function.Predicate; + +import static org.elasticsearch.xpack.esql.core.expression.Attribute.SYNTHETIC_ATTRIBUTE_NAME_SEPARATOR; +import static org.elasticsearch.xpack.esql.core.expression.Attribute.rawTemporaryName; + +/** + * Push down filters that can be evaluated by the UnionAll child to each child, below the added + * {@code Limit} and {@code Subquery}, so that the filters can be pushed down further to the + * data source when possible. Filters that cannot be pushed down remain above the UnionAll. + * + * Also push down the {@code Limit} added by {@code AddImplicitForkLimit} below the + * {@code Subquery}, so that the other rules related to {@code Limit} optimization can be applied. + */ +public final class PushDownFilterAndLimitIntoUnionAll extends Rule { + + @Override + public LogicalPlan apply(LogicalPlan logicalPlan) { + // push down filter below UnionAll if possible + LogicalPlan planWithFilterPushedDownPastUnionAll = logicalPlan.transformDown( + Filter.class, + filter -> filter.child() instanceof UnionAll unionAll ? maybePushDownPastUnionAll(filter, unionAll) : filter + ); + // push down limit or limit + filter below Subquery + return planWithFilterPushedDownPastUnionAll.transformDown( + Limit.class, + PushDownFilterAndLimitIntoUnionAll::pushLimitAndFilterPastSubquery + ); + } + + /* Push down filters that can be evaluated by the UnionAll child/leg to each child/leg, + * so that the filters can be pushed down further to the data source when possible. + * Filters that cannot be pushed down remain above the UnionAll. + * + * The children of a UnionAll/Fork plan has a similar pattern, as Fork adds EsqlProject, + * an optional Eval and Limit on top of its actual children. + * UnionAll + * EsqlProject + * Eval (optional) - added by Fork when the output of each UnionAll child are not exactly the same + * Limit + * EsRelation + * EsqlProject + * Eval (optional) + * Limit + * Subquery + * Limit - CombineProjections may remove the EsqlProject on top of the limit + * Subquery + * + * Push down the filter below limit when possible + */ + private static LogicalPlan maybePushDownPastUnionAll(Filter filter, UnionAll unionAll) { + List pushable = new ArrayList<>(); + List nonPushable = new ArrayList<>(); + for (Expression exp : Predicates.splitAnd(filter.condition())) { + if (exp.references().subsetOf(unionAll.outputSet())) { + pushable.add(exp); + } else { + nonPushable.add(exp); + } + } + if (pushable.isEmpty()) { + return filter; // nothing to push down + } + // Push the filter down to each child of the UnionAll, the child of a UnionAll is always + // a project followed by an optional eval and then limit or a limit added by fork and + // then the real child, if there is unknown pattern, keep the filter and UnionAll plan unchanged + List newChildren = new ArrayList<>(); + boolean changed = false; + for (LogicalPlan child : unionAll.children()) { + LogicalPlan newChild = switch (child) { + case Project project -> maybePushDownFilterPastProjectForUnionAllChild(pushable, project); + case Limit limit -> maybePushDownFilterPastLimitForUnionAllChild(pushable, limit); + default -> null; // TODO add a general push down for unexpected pattern + }; + + if (newChild == null) { + // Unexpected pattern, keep plan unchanged without pushing down filters + return filter; + } + + if (newChild != child) { + changed = true; + newChildren.add(newChild); + } else { + // Theoretically, all the pushable predicates should be pushed down into each child, + // in case one child is not changed, preserve the filter on top of UnionAll to make sure + // correct results are returned and avoid infinite loop of the rule. + return filter; + } + } + + if (changed == false) { // nothing changed, return the original plan + return filter; + } + + LogicalPlan newUnionAll = unionAll.replaceChildren(newChildren); + if (nonPushable.isEmpty()) { + return newUnionAll; + } else { + return filter.with(newUnionAll, Predicates.combineAnd(nonPushable)); + } + } + + private static LogicalPlan maybePushDownFilterPastProjectForUnionAllChild(List pushable, Project project) { + List resolvedPushable = resolvePushableAgainstOutput(pushable, project.projections()); + if (resolvedPushable == null) { + return project; + } + LogicalPlan child = project.child(); + if (child instanceof Eval eval) { + return pushDownFilterPastEvalForUnionAllChild(resolvedPushable, project, eval); + } else if (child instanceof Limit limit) { + LogicalPlan newLimit = pushDownFilterPastLimitForUnionAllChild(resolvedPushable, limit); + return project.replaceChild(newLimit); + } + return project; + } + + private static LogicalPlan maybePushDownFilterPastLimitForUnionAllChild(List pushable, Limit limit) { + List resolvedPushable = resolvePushableAgainstOutput(pushable, limit.output()); + if (resolvedPushable == null) { + return limit; + } + return pushDownFilterPastLimitForUnionAllChild(resolvedPushable, limit); + } + + /** + * Attempts to resolve all pushable expressions against the given output attributes. + * Returns a fully resolved list if successful, or null if any expression cannot be resolved. + */ + private static List resolvePushableAgainstOutput(List pushable, List output) { + List resolved = new ArrayList<>(); + for (Expression exp : pushable) { + Expression replaced = resolveUnionAllOutputByName(exp, output); + // Make sure the pushable predicates can find their corresponding attributes in the output + if (replaced == null || replaced == exp) { + // cannot find the attribute in the child project, cannot push down this filter + return null; + } + resolved.add(replaced); + } + // If some pushable predicates cannot be resolved against the output, cannot push filter down. + // This should not happen, however we need to be cautious here, if the predicate is removed from + // the main query, and it is not pushed down into the UnionAll child, the result will be incorrect. + return resolved.size() == pushable.size() ? resolved : null; + } + + private static LogicalPlan pushDownFilterPastEvalForUnionAllChild(List pushable, Project project, Eval eval) { + // if the pushable references any attribute created by the eval, we cannot push down + AttributeMap evalAliases = buildEvaAliases(eval); + Tuple, List> pushablesAndNonPushables = splitPushableAndNonPushablePredicates( + pushable, + exp -> exp.references().stream().anyMatch(evalAliases::containsKey) + ); + List pushables = pushablesAndNonPushables.v1(); + List nonPushables = pushablesAndNonPushables.v2(); + + LogicalPlan evalChild = eval.child(); + + // Nothing to push down under eval and limit + if (pushables.isEmpty()) { + return nonPushables.isEmpty() + ? project // nothing at all + : withFilter(project, eval, nonPushables); // Push down filter references eval created attributes below project, above eval + } + + // Push down all pushable predicates below eval and limit + if (evalChild instanceof Limit limit) { + LogicalPlan newLimit = pushDownFilterPastLimitForUnionAllChild(pushables, limit); + LogicalPlan newEval = eval.replaceChild(newLimit); + + return nonPushables.isEmpty() ? project.replaceChild(newEval) : withFilter(project, newEval, nonPushables); + } + + return project; + } + + private static LogicalPlan withFilter(Project project, LogicalPlan child, List predicates) { + Expression combined = Predicates.combineAnd(predicates); + return project.replaceChild(new Filter(project.source(), child, combined)); + } + + /** + * limit does not create any new attributes, so we should push down all pushable predicates, + * the caller should make sure the pushable is really pushable. + */ + private static LogicalPlan pushDownFilterPastLimitForUnionAllChild(List pushable, Limit limit) { + if (pushable.isEmpty()) { + return limit; + } + Expression combined = Predicates.combineAnd(pushable); + Filter pushed = new Filter(limit.source(), limit.child(), combined); + return limit.replaceChild(pushed); + } + + private static AttributeMap buildEvaAliases(Eval eval) { + AttributeMap.Builder builder = AttributeMap.builder(); + for (Alias alias : eval.fields()) { + builder.put(alias.toAttribute(), alias.child()); + } + return builder.build(); + } + + private static Tuple, List> splitPushableAndNonPushablePredicates( + List predicates, + Predicate nonPushableCheck + ) { + List pushable = new ArrayList<>(); + List nonPushable = new ArrayList<>(); + for (Expression exp : predicates) { + if (nonPushableCheck.test(exp)) { + nonPushable.add(exp); + } else { + pushable.add(exp); + } + } + return Tuple.tuple(pushable, nonPushable); + } + + /** + * The UnionAll/Fork outputs have the same names as it children's outputs, however they have different ids. + * Convert the pushable predicates to use the child's attributes, so that they can be pushed down further. + */ + private static Expression resolveUnionAllOutputByName(Expression expr, List namedExpressions) { + // A temporary expression is created with temporary attributes names, as sometimes transform expression does not transform + // one ReferenceAttribute to another ReferenceAttribute with the same name, different id successfully. + String UNIONALL = "unionall"; + // rename the output of the UnionAll to a temporary name with a prefix + Expression renamed = expr.transformUp(Attribute.class, attr -> { + for (NamedExpression ne : namedExpressions) { + if (ne.name().equals(attr.name())) { + // $$subquery$attr.name() + return attr.withName(rawTemporaryName(UNIONALL, ne.name())); + } + } + return attr; + }); + + String prefix = Attribute.SYNTHETIC_ATTRIBUTE_NAME_PREFIX + UNIONALL + SYNTHETIC_ATTRIBUTE_NAME_SEPARATOR; + return renamed.transformUp(Attribute.class, attr -> { + String originalName = attr.name().startsWith(prefix) ? attr.name().substring(prefix.length()) : attr.name(); + for (NamedExpression ne : namedExpressions) { + if (ne.name().equals(originalName)) { + return ne.toAttribute(); + } + } + return attr; + }); + } + + /** + * Subquery does not create any new attributes, so limit or limit + filter can be pushed down safely. + */ + private static LogicalPlan pushLimitAndFilterPastSubquery(Limit limit) { + LogicalPlan child = limit.child(); + if (child instanceof Subquery subquery) { + // push limit - added by AddImplicitForkLimit, below subquery + Limit newLimit = limit.replaceChild(subquery.child()); + return subquery.replaceChild(newLimit); + } + if (child instanceof Filter filter && filter.child() instanceof Subquery subquery) { + // push down both limit - added by AddImplicitForkLimit and filter below subquery + Filter newFilter = filter.replaceChild(subquery.child()); + Limit newLimit = limit.replaceChild(newFilter); + return subquery.replaceChild(newLimit); + } + return limit; + } +} diff --git a/x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/optimizer/rules/logical/PushDownAndCombineFiltersTests.java b/x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/optimizer/rules/logical/PushDownAndCombineFiltersTests.java index 7e14b49fed373..ca314951f3c84 100644 --- a/x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/optimizer/rules/logical/PushDownAndCombineFiltersTests.java +++ b/x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/optimizer/rules/logical/PushDownAndCombineFiltersTests.java @@ -15,10 +15,7 @@ import org.elasticsearch.xpack.esql.core.expression.Expression; import org.elasticsearch.xpack.esql.core.expression.FieldAttribute; import org.elasticsearch.xpack.esql.core.expression.FoldContext; -import org.elasticsearch.xpack.esql.core.expression.Literal; import org.elasticsearch.xpack.esql.core.expression.MetadataAttribute; -import org.elasticsearch.xpack.esql.core.expression.NamedExpression; -import org.elasticsearch.xpack.esql.core.expression.ReferenceAttribute; import org.elasticsearch.xpack.esql.core.tree.Source; import org.elasticsearch.xpack.esql.core.type.DataType; import org.elasticsearch.xpack.esql.expression.function.aggregate.Count; @@ -31,7 +28,6 @@ import org.elasticsearch.xpack.esql.expression.predicate.logical.And; import org.elasticsearch.xpack.esql.expression.predicate.logical.Not; import org.elasticsearch.xpack.esql.expression.predicate.logical.Or; -import org.elasticsearch.xpack.esql.expression.predicate.nulls.IsNotNull; import org.elasticsearch.xpack.esql.expression.predicate.nulls.IsNull; import org.elasticsearch.xpack.esql.expression.predicate.operator.comparison.Equals; import org.elasticsearch.xpack.esql.expression.predicate.operator.comparison.GreaterThan; @@ -46,15 +42,12 @@ import org.elasticsearch.xpack.esql.plan.logical.Limit; import org.elasticsearch.xpack.esql.plan.logical.LogicalPlan; import org.elasticsearch.xpack.esql.plan.logical.Project; -import org.elasticsearch.xpack.esql.plan.logical.Subquery; -import org.elasticsearch.xpack.esql.plan.logical.UnionAll; import org.elasticsearch.xpack.esql.plan.logical.inference.Completion; import org.elasticsearch.xpack.esql.plan.logical.inference.Rerank; import org.elasticsearch.xpack.esql.plan.logical.join.Join; import org.elasticsearch.xpack.esql.plan.logical.join.JoinConfig; import org.elasticsearch.xpack.esql.plan.logical.join.JoinTypes; import org.elasticsearch.xpack.esql.plan.logical.local.EsqlProject; -import org.elasticsearch.xpack.esql.plan.logical.local.LocalRelation; import java.util.ArrayList; import java.util.HashSet; @@ -1013,518 +1006,4 @@ public void testPushDownLookupJoinExpressionMultipleWhere() { ); assertEquals(expectedPushedFilters, actualPushedFilters); } - - /** - * Limit[1000[INTEGER],false] - * \_UnionAll[[_meta_field{r}#44, emp_no{r}#45, first_name{r}#46, gender{r}#47, hire_date{r}#48, job{r}#49, job.raw{r}#50, l - * anguages{r}#51, last_name{r}#52, long_noidx{r}#53, salary{r}#54, language_code{r}#55, language_name{r}#56]] - * |_EsqlProject[[_meta_field{f}#11, emp_no{f}#5, first_name{f}#6, gender{f}#7, hire_date{f}#12, job{f}#13, job.raw{f}#14, lang - * uages{f}#8, last_name{f}#9, long_noidx{f}#15, salary{f}#10, language_code{r}#29, language_name{r}#30]] - * | \_Eval[[null[INTEGER] AS language_code#29, null[KEYWORD] AS language_name#30]] - * | \_Limit[1000[INTEGER],false] - * | \_Filter[emp_no{f}#5 > 10000[INTEGER]] - * | \_EsRelation[test][_meta_field{f}#11, emp_no{f}#5, first_name{f}#6, ge..] - * |_EsqlProject[[_meta_field{f}#22, emp_no{f}#16, first_name{f}#17, gender{f}#18, hire_date{f}#23, job{f}#24, job.raw{f}#25, l - * anguages{f}#19, last_name{f}#20, long_noidx{f}#26, salary{f}#21, language_code{r}#31, language_name{r}#32]] - * | \_Eval[[null[INTEGER] AS language_code#31, null[KEYWORD] AS language_name#32]] - * | \_Limit[1000[INTEGER],false] - * | \_Subquery[] - * | \_Filter[languages{f}#19 > 0[INTEGER] AND emp_no{f}#16 > 10000[INTEGER]] - * | \_EsRelation[test1][_meta_field{f}#22, emp_no{f}#16, first_name{f}#17, ..] - * \_LocalRelation[[_meta_field{r}#33, emp_no{r}#34, first_name{r}#35, gender{r}#36, hire_date{r}#37, job{r}#38, job.raw{r}#39, l - * anguages{r}#40, last_name{r}#41, long_noidx{r}#42, salary{r}#43, language_code{f}#27, language_name{f}#28],EMPT - * Y] - */ - public void testPushDownSimpleFilterPastUnionAll() { - assumeTrue("Requires subquery in FROM command support", EsqlCapabilities.Cap.SUBQUERY_IN_FROM_COMMAND.isEnabled()); - var plan = planSubquery(""" - FROM test, (FROM test1 | WHERE languages > 0), (FROM languages | WHERE language_code > 0) - | WHERE emp_no > 10000 - """); - - Limit limit = as(plan, Limit.class); - UnionAll unionAll = as(limit.child(), UnionAll.class); - assertEquals(3, unionAll.children().size()); - - EsqlProject child1 = as(unionAll.children().get(0), EsqlProject.class); - Eval eval = as(child1.child(), Eval.class); - Limit childLimit = as(eval.child(), Limit.class); - Filter childFilter = as(childLimit.child(), Filter.class); - GreaterThan greaterThan = as(childFilter.condition(), GreaterThan.class); - FieldAttribute empNo = as(greaterThan.left(), FieldAttribute.class); - assertEquals("emp_no", empNo.name()); - Literal right = as(greaterThan.right(), Literal.class); - assertEquals(10000, right.value()); - EsRelation relation = as(childFilter.child(), EsRelation.class); - assertEquals("test", relation.indexPattern()); - - EsqlProject child2 = as(unionAll.children().get(1), EsqlProject.class); - eval = as(child2.child(), Eval.class); - childLimit = as(eval.child(), Limit.class); - Subquery subquery = as(childLimit.child(), Subquery.class); - childFilter = as(subquery.child(), Filter.class); - And and = as(childFilter.condition(), And.class); - greaterThan = as(and.left(), GreaterThan.class); - empNo = as(greaterThan.left(), FieldAttribute.class); - assertEquals("languages", empNo.name()); - right = as(greaterThan.right(), Literal.class); - assertEquals(0, right.value()); - greaterThan = as(and.right(), GreaterThan.class); - empNo = as(greaterThan.left(), FieldAttribute.class); - assertEquals("emp_no", empNo.name()); - right = as(greaterThan.right(), Literal.class); - assertEquals(10000, right.value()); - relation = as(childFilter.child(), EsRelation.class); - assertEquals("test1", relation.indexPattern()); - - LocalRelation localRelation = as(unionAll.children().get(2), LocalRelation.class); - } - - /** - * Limit[1000[INTEGER],false] - * \_UnionAll[[_meta_field{r}#45, emp_no{r}#46, first_name{r}#47, gender{r}#48, hire_date{r}#49, job{r}#50, job.raw{r}#51, l - * anguages{r}#52, last_name{r}#53, long_noidx{r}#54, salary{r}#55, language_code{r}#56, language_name{r}#57]] - * |_EsqlProject[[_meta_field{f}#12, emp_no{f}#6, first_name{f}#7, gender{f}#8, hire_date{f}#13, job{f}#14, job.raw{f}#15, lang - * uages{f}#9, last_name{f}#10, long_noidx{f}#16, salary{f}#11, language_code{r}#30, language_name{r}#31]] - * | \_Eval[[null[INTEGER] AS language_code#30, null[KEYWORD] AS language_name#31]] - * | \_Limit[1000[INTEGER],false] - * | \_Filter[emp_no{f}#6 > 10000[INTEGER] AND salary{f}#11 > 50000[INTEGER]] - * | \_EsRelation[test][_meta_field{f}#12, emp_no{f}#6, first_name{f}#7, ge..] - * |_EsqlProject[[_meta_field{f}#23, emp_no{f}#17, first_name{f}#18, gender{f}#19, hire_date{f}#24, job{f}#25, job.raw{f}#26, l - * anguages{f}#20, last_name{f}#21, long_noidx{f}#27, salary{f}#22, language_code{r}#32, language_name{r}#33]] - * | \_Eval[[null[INTEGER] AS language_code#32, null[KEYWORD] AS language_name#33]] - * | \_Limit[1000[INTEGER],false] - * | \_Subquery[] - * | \_Filter[languages{f}#20 > 0[INTEGER] AND emp_no{f}#17 > 10000[INTEGER] AND salary{f}#22 > 50000[INTEGER]] - * | \_EsRelation[test1][_meta_field{f}#23, emp_no{f}#17, first_name{f}#18, ..] - * \_LocalRelation[[_meta_field{r}#34, emp_no{r}#35, first_name{r}#36, gender{r}#37, hire_date{r}#38, job{r}#39, job.raw{r}#40, l - * anguages{r}#41, last_name{r}#42, long_noidx{r}#43, salary{r}#44, language_code{f}#28, language_name{f}#29],EMPT - * Y] - */ - public void testPushDownConjunctiveFilterPastUnionAll() { - assumeTrue("Requires subquery in FROM command support", EsqlCapabilities.Cap.SUBQUERY_IN_FROM_COMMAND.isEnabled()); - var plan = planSubquery(""" - FROM test, (FROM test1 | WHERE languages > 0), (FROM languages | WHERE language_code > 0) - | WHERE emp_no > 10000 and salary > 50000 - """); - - Limit limit = as(plan, Limit.class); - UnionAll unionAll = as(limit.child(), UnionAll.class); - assertEquals(3, unionAll.children().size()); - - EsqlProject child1 = as(unionAll.children().get(0), EsqlProject.class); - Eval eval = as(child1.child(), Eval.class); - Limit childLimit = as(eval.child(), Limit.class); - Filter childFilter = as(childLimit.child(), Filter.class); - And and = as(childFilter.condition(), And.class); - GreaterThan emp_no = as(and.left(), GreaterThan.class); - FieldAttribute empNo = as(emp_no.left(), FieldAttribute.class); - assertEquals("emp_no", empNo.name()); - Literal right = as(emp_no.right(), Literal.class); - assertEquals(10000, right.value()); - GreaterThan salary = as(and.right(), GreaterThan.class); - FieldAttribute salaryField = as(salary.left(), FieldAttribute.class); - assertEquals("salary", salaryField.name()); - right = as(salary.right(), Literal.class); - assertEquals(50000, right.value()); - EsRelation relation = as(childFilter.child(), EsRelation.class); - assertEquals("test", relation.indexPattern()); - - EsqlProject child2 = as(unionAll.children().get(1), EsqlProject.class); - eval = as(child2.child(), Eval.class); - childLimit = as(eval.child(), Limit.class); - Subquery subquery = as(childLimit.child(), Subquery.class); - childFilter = as(subquery.child(), Filter.class); - and = as(childFilter.condition(), And.class); - GreaterThan greaterThan = as(and.left(), GreaterThan.class); - FieldAttribute languages = as(greaterThan.left(), FieldAttribute.class); - assertEquals("languages", languages.name()); - right = as(greaterThan.right(), Literal.class); - assertEquals(0, right.value()); - and = as(and.right(), And.class); - emp_no = as(and.left(), GreaterThan.class); - empNo = as(emp_no.left(), FieldAttribute.class); - assertEquals("emp_no", empNo.name()); - right = as(emp_no.right(), Literal.class); - assertEquals(10000, right.value()); - salary = as(and.right(), GreaterThan.class); - salaryField = as(salary.left(), FieldAttribute.class); - assertEquals("salary", salaryField.name()); - right = as(salary.right(), Literal.class); - assertEquals(50000, right.value()); - relation = as(childFilter.child(), EsRelation.class); - assertEquals("test1", relation.indexPattern()); - - LocalRelation localRelation = as(unionAll.children().get(2), LocalRelation.class); - } - - /** - * Limit[1000[INTEGER],false] - * \_UnionAll[[_meta_field{r}#45, emp_no{r}#46, first_name{r}#47, gender{r}#48, hire_date{r}#49, job{r}#50, job.raw{r}#51, l - * anguages{r}#52, last_name{r}#53, long_noidx{r}#54, salary{r}#55, language_code{r}#56, language_name{r}#57]] - * |_EsqlProject[[_meta_field{f}#12, emp_no{f}#6, first_name{f}#7, gender{f}#8, hire_date{f}#13, job{f}#14, job.raw{f}#15, lang - * uages{f}#9, last_name{f}#10, long_noidx{f}#16, salary{f}#11, language_code{r}#30, language_name{r}#31]] - * | \_Eval[[null[INTEGER] AS language_code#30, null[KEYWORD] AS language_name#31]] - * | \_Limit[1000[INTEGER],false] - * | \_Filter[emp_no{f}#6 > 10000[INTEGER] OR salary{f}#11 > 50000[INTEGER]] - * | \_EsRelation[test][_meta_field{f}#12, emp_no{f}#6, first_name{f}#7, ge..] - * |_EsqlProject[[_meta_field{f}#23, emp_no{f}#17, first_name{f}#18, gender{f}#19, hire_date{f}#24, job{f}#25, job.raw{f}#26, l - * anguages{f}#20, last_name{f}#21, long_noidx{f}#27, salary{f}#22, language_code{r}#32, language_name{r}#33]] - * | \_Eval[[null[INTEGER] AS language_code#32, null[KEYWORD] AS language_name#33]] - * | \_Limit[1000[INTEGER],false] - * | \_Subquery[] - * | \_Filter[languages{f}#20 > 0[INTEGER] AND emp_no{f}#17 > 10000[INTEGER] OR salary{f}#22 > 50000[INTEGER]] - * | \_EsRelation[test1][_meta_field{f}#23, emp_no{f}#17, first_name{f}#18, ..] - * \_LocalRelation[[_meta_field{r}#34, emp_no{r}#35, first_name{r}#36, gender{r}#37, hire_date{r}#38, job{r}#39, job.raw{r}#40, l - * anguages{r}#41, last_name{r}#42, long_noidx{r}#43, salary{r}#44, language_code{f}#28, language_name{f}#29],EMPT - * Y] - */ - public void testPushDownDisjunctiveFilterPastUnionAll() { - assumeTrue("Requires subquery in FROM command support", EsqlCapabilities.Cap.SUBQUERY_IN_FROM_COMMAND.isEnabled()); - var plan = planSubquery(""" - FROM test, (FROM test1 | WHERE languages > 0), (FROM languages | WHERE language_code > 0) - | WHERE emp_no > 10000 or salary > 50000 - """); - - Limit limit = as(plan, Limit.class); - UnionAll unionAll = as(limit.child(), UnionAll.class); - assertEquals(3, unionAll.children().size()); - - EsqlProject child1 = as(unionAll.children().get(0), EsqlProject.class); - Eval eval = as(child1.child(), Eval.class); - Limit childLimit = as(eval.child(), Limit.class); - Filter childFilter = as(childLimit.child(), Filter.class); - Or or = as(childFilter.condition(), Or.class); - GreaterThan emp_no = as(or.left(), GreaterThan.class); - FieldAttribute empNo = as(emp_no.left(), FieldAttribute.class); - assertEquals("emp_no", empNo.name()); - Literal right = as(emp_no.right(), Literal.class); - assertEquals(10000, right.value()); - GreaterThan salary = as(or.right(), GreaterThan.class); - FieldAttribute salaryField = as(salary.left(), FieldAttribute.class); - assertEquals("salary", salaryField.name()); - right = as(salary.right(), Literal.class); - assertEquals(50000, right.value()); - EsRelation relation = as(childFilter.child(), EsRelation.class); - assertEquals("test", relation.indexPattern()); - - EsqlProject child2 = as(unionAll.children().get(1), EsqlProject.class); - eval = as(child2.child(), Eval.class); - childLimit = as(eval.child(), Limit.class); - Subquery subquery = as(childLimit.child(), Subquery.class); - childFilter = as(subquery.child(), Filter.class); - And and = as(childFilter.condition(), And.class); - GreaterThan greaterThan = as(and.left(), GreaterThan.class); - FieldAttribute languages = as(greaterThan.left(), FieldAttribute.class); - assertEquals("languages", languages.name()); - right = as(greaterThan.right(), Literal.class); - assertEquals(0, right.value()); - or = as(and.right(), Or.class); - emp_no = as(or.left(), GreaterThan.class); - empNo = as(emp_no.left(), FieldAttribute.class); - assertEquals("emp_no", empNo.name()); - right = as(emp_no.right(), Literal.class); - assertEquals(10000, right.value()); - salary = as(or.right(), GreaterThan.class); - salaryField = as(salary.left(), FieldAttribute.class); - assertEquals("salary", salaryField.name()); - right = as(salary.right(), Literal.class); - assertEquals(50000, right.value()); - relation = as(childFilter.child(), EsRelation.class); - assertEquals("test1", relation.indexPattern()); - - LocalRelation localRelation = as(unionAll.children().get(2), LocalRelation.class); - } - - /** - * Limit[1000[INTEGER],false] - * \_UnionAll[[_meta_field{r}#45, emp_no{r}#46, first_name{r}#47, gender{r}#48, hire_date{r}#49, job{r}#50, job.raw{r}#51, l - * anguages{r}#52, last_name{r}#53, long_noidx{r}#54, salary{r}#55, language_code{r}#56, language_name{r}#57]] - * |_EsqlProject[[_meta_field{f}#12, emp_no{f}#6, first_name{f}#7, gender{f}#8, hire_date{f}#13, job{f}#14, job.raw{f}#15, lang - * uages{f}#9, last_name{f}#10, long_noidx{f}#16, salary{f}#11, language_code{r}#30, language_name{r}#31]] - * | \_Eval[[null[INTEGER] AS language_code#30, null[KEYWORD] AS language_name#31]] - * | \_Limit[1000[INTEGER],false] - * | \_Filter[emp_no{f}#6 > 10000[INTEGER] AND salary{f}#11 < 50000[INTEGER]] - * | \_EsRelation[test][_meta_field{f}#12, emp_no{f}#6, first_name{f}#7, ge..] - * |_EsqlProject[[_meta_field{f}#23, emp_no{f}#17, first_name{f}#18, gender{f}#19, hire_date{f}#24, job{f}#25, job.raw{f}#26, l - * anguages{f}#20, last_name{f}#21, long_noidx{f}#27, salary{f}#22, language_code{r}#32, language_name{r}#33]] - * | \_Eval[[null[INTEGER] AS language_code#32, null[KEYWORD] AS language_name#33]] - * | \_Limit[1000[INTEGER],false] - * | \_Subquery[] - * | \_Filter[salary{f}#22 < 50000[INTEGER] AND emp_no{f}#17 > 10000[INTEGER]] - * | \_EsRelation[test1][_meta_field{f}#23, emp_no{f}#17, first_name{f}#18, ..] - * \_LocalRelation[[_meta_field{r}#34, emp_no{r}#35, first_name{r}#36, gender{r}#37, hire_date{r}#38, job{r}#39, job.raw{r}#40, l - * anguages{r}#41, last_name{r}#42, long_noidx{r}#43, salary{r}#44, language_code{f}#28, language_name{f}#29],EMPT - * Y] - */ - public void testPushDownFilterPastUnionAllAndCombineWithFilterInSubquery() { - assumeTrue("Requires subquery in FROM command support", EsqlCapabilities.Cap.SUBQUERY_IN_FROM_COMMAND.isEnabled()); - var plan = planSubquery(""" - FROM test, (FROM test1 | where salary < 100000), (FROM languages | WHERE language_code > 0) - | WHERE emp_no > 10000 and salary < 50000 - """); - - Limit limit = as(plan, Limit.class); - UnionAll unionAll = as(limit.child(), UnionAll.class); - assertEquals(3, unionAll.children().size()); - - EsqlProject child1 = as(unionAll.children().get(0), EsqlProject.class); - Eval eval = as(child1.child(), Eval.class); - Limit childLimit = as(eval.child(), Limit.class); - Filter childFilter = as(childLimit.child(), Filter.class); - And and = as(childFilter.condition(), And.class); - GreaterThan emp_no = as(and.left(), GreaterThan.class); - FieldAttribute empNo = as(emp_no.left(), FieldAttribute.class); - assertEquals("emp_no", empNo.name()); - Literal right = as(emp_no.right(), Literal.class); - assertEquals(10000, right.value()); - LessThan salary = as(and.right(), LessThan.class); - FieldAttribute salaryField = as(salary.left(), FieldAttribute.class); - assertEquals("salary", salaryField.name()); - right = as(salary.right(), Literal.class); - assertEquals(50000, right.value()); - EsRelation relation = as(childFilter.child(), EsRelation.class); - assertEquals("test", relation.indexPattern()); - - EsqlProject child2 = as(unionAll.children().get(1), EsqlProject.class); - eval = as(child2.child(), Eval.class); - childLimit = as(eval.child(), Limit.class); - Subquery subquery = as(childLimit.child(), Subquery.class); - childFilter = as(subquery.child(), Filter.class); - and = as(childFilter.condition(), And.class); - emp_no = as(and.right(), GreaterThan.class); - empNo = as(emp_no.left(), FieldAttribute.class); - assertEquals("emp_no", empNo.name()); - right = as(emp_no.right(), Literal.class); - assertEquals(10000, right.value()); - salary = as(and.left(), LessThan.class); - salaryField = as(salary.left(), FieldAttribute.class); - assertEquals("salary", salaryField.name()); - right = as(salary.right(), Literal.class); - assertEquals(50000, right.value()); - relation = as(childFilter.child(), EsRelation.class); - assertEquals("test1", relation.indexPattern()); - - LocalRelation localRelation = as(unionAll.children().get(2), LocalRelation.class); - } - - /** - * Limit[1000[INTEGER],false] - * \_UnionAll[[_meta_field{r}#95, emp_no{r}#96, first_name{r}#97, gender{r}#98, hire_date{r}#99, job{r}#100, job.raw{r}#101, - * languages{r}#102, last_name{r}#103, long_noidx{r}#104, salary{r}#105, x{r}#106, y{r}#107, z{r}#108, language_name{r}#109]] - * |_LocalRelation[[_meta_field{f}#44, emp_no{f}#38, first_name{f}#39, gender{f}#40, hire_date{f}#45, job{f}#46, job.raw{f}#47, l - * anguages{f}#41, last_name{f}#42, long_noidx{f}#48, salary{f}#43, x{r}#75, y{r}#110, z{r}#77, language_name{r}#78], - * EMPTY] - * |_EsqlProject[[_meta_field{f}#55, emp_no{f}#49, first_name{f}#50, gender{f}#51, hire_date{f}#56, job{f}#57, job.raw{f}#58, l - * anguages{f}#52, last_name{f}#53, long_noidx{f}#59, salary{f}#54, x{r}#4, y{r}#111, z{r}#10, language_name{r}#79]] - * | \_Filter[ISNOTNULL(y{r}#111)] - * | \_Eval[[null[KEYWORD] AS language_name#79, TOLONG(y{r}#7) AS y#111]] - * | \_Limit[1000[INTEGER],false] - * | \_Subquery[] - * | \_Project[[_meta_field{f}#55, emp_no{f}#49, first_name{f}#50, gender{f}#51, hire_date{f}#56, job{f}#57, job.raw{f}#58, l - * anguages{f}#52, last_name{f}#53, long_noidx{f}#59, salary{f}#54, x{r}#4, emp_no{f}#49 AS y#7, z{r}#10]] - * | \_Filter[z{r}#10 > 0[INTEGER]] - * | \_Eval[[1[INTEGER] AS x#4, emp_no{f}#49 + 1[INTEGER] AS z#10]] - * | \_Filter[salary{f}#54 < 100000[INTEGER]] - * | \_EsRelation[test1][_meta_field{f}#55, emp_no{f}#49, first_name{f}#50, ..] - * |_EsqlProject[[_meta_field{r}#80, emp_no{r}#81, first_name{r}#82, gender{r}#83, hire_date{r}#84, job{r}#85, job.raw{r}#86, l - * anguages{r}#87, last_name{r}#88, long_noidx{r}#89, salary{r}#90, x{r}#21, y{r}#19, z{r}#16, language_name{r}#91]] - * | \_Eval[[null[KEYWORD] AS _meta_field#80, null[INTEGER] AS emp_no#81, null[KEYWORD] AS first_name#82, null[TEXT] AS ge - * nder#83, null[DATETIME] AS hire_date#84, null[TEXT] AS job#85, null[KEYWORD] AS job.raw#86, null[INTEGER] AS languages#87, - * null[KEYWORD] AS last_name#88, null[LONG] AS long_noidx#89, null[INTEGER] AS salary#90, null[KEYWORD] AS language_name#91]] - * | \_Limit[1000[INTEGER],false] - * | \_Subquery[] - * | \_Eval[[1[INTEGER] AS x#21]] - * | \_Filter[ISNOTNULL(y{r}#19) AND z{r}#16 > 0[INTEGER]] - * | \_Aggregate[[language_code{f}#60],[COUNT(*[KEYWORD],true[BOOLEAN]) AS y#19, language_code{f}#60 AS z#16]] - * | \_EsRelation[languages][language_code{f}#60, language_name{f}#61] - * \_EsqlProject[[_meta_field{f}#68, emp_no{r}#92, first_name{f}#63, gender{f}#64, hire_date{f}#69, job{f}#70, job.raw{f}#71, l - * anguages{r}#93, last_name{f}#66, long_noidx{f}#72, salary{r}#94, x{r}#28, y{r}#112, z{r}#34, language_name{f}#74]] - * \_Filter[ISNOTNULL(y{r}#112)] - * \_Eval[[null[INTEGER] AS emp_no#92, null[INTEGER] AS languages#93, null[INTEGER] AS salary#94, TOLONG(y{r}#31) AS y#1 - * 12]] - * \_Limit[1000[INTEGER],false] - * \_Subquery[] - * \_Project[[_meta_field{f}#68, emp_no{f}#62 AS x#28, first_name{f}#63, gender{f}#64, hire_date{f}#69, job{f}#70, job.raw{ - * f}#71, languages{f}#65 AS z#34, last_name{f}#66, long_noidx{f}#72, salary{f}#67 AS y#31, language_name{f}#74]] - * \_Join[LEFT,[languages{f}#65],[language_code{f}#73],null] - * |_Filter[ISNOTNULL(emp_no{f}#62) AND languages{f}#65 > 0[INTEGER]] - * | \_EsRelation[test1][_meta_field{f}#68, emp_no{f}#62, first_name{f}#63, ..] - * \_EsRelation[languages_lookup][LOOKUP][language_code{f}#73, language_name{f}#74] - */ - public void testPushDownFilterOnReferenceAttributesPastUnionAll() { - assumeTrue("Requires subquery in FROM command support", EsqlCapabilities.Cap.SUBQUERY_IN_FROM_COMMAND.isEnabled()); - var plan = planSubquery(""" - FROM test - , (FROM test1 - | where salary < 100000 - | EVAL x = 1, y = emp_no, z = emp_no + 1) - , (FROM languages - | STATS cnt = COUNT(*) by language_code - | RENAME language_code AS z, cnt AS y - | EVAL x = 1) - , (FROM test1 - | RENAME languages AS language_code - | LOOKUP JOIN languages_lookup ON language_code - | RENAME emp_no AS x, salary AS y, language_code AS z) - | WHERE x is not null and y is not null and z > 0 - """); - - Limit limit = as(plan, Limit.class); - UnionAll unionAll = as(limit.child(), UnionAll.class); - assertEquals(4, unionAll.children().size()); - - LocalRelation child1 = as(unionAll.children().get(0), LocalRelation.class); - - EsqlProject child2 = as(unionAll.children().get(1), EsqlProject.class); - Filter filter = as(child2.child(), Filter.class); - IsNotNull isNotNull = as(filter.condition(), IsNotNull.class); - ReferenceAttribute y = as(isNotNull.field(), ReferenceAttribute.class); - assertEquals("y", y.name()); - Eval eval = as(filter.child(), Eval.class); - List aliases = eval.fields(); - assertEquals(2, aliases.size()); - assertEquals("language_name", aliases.get(0).name()); - assertEquals("y", aliases.get(1).name()); - Limit childLimit = as(eval.child(), Limit.class); - Subquery subquery = as(childLimit.child(), Subquery.class); - Project project = as(subquery.child(), Project.class); - Filter childFilter = as(project.child(), Filter.class); - GreaterThan greaterThan = as(childFilter.condition(), GreaterThan.class); - ReferenceAttribute z = as(greaterThan.left(), ReferenceAttribute.class); - assertEquals("z", z.name()); - Literal right = as(greaterThan.right(), Literal.class); - assertEquals(0, right.value()); - eval = as(childFilter.child(), Eval.class); - aliases = eval.fields(); - assertEquals(2, aliases.size()); - Alias aliasX = aliases.get(0); - assertEquals("x", aliasX.name()); - Literal xLiteral = as(aliasX.child(), Literal.class); - assertEquals(1, xLiteral.value()); - Alias aliasZ = aliases.get(1); - assertEquals("z", aliasZ.name()); - childFilter = as(eval.child(), Filter.class); - LessThan lessThan = as(childFilter.condition(), LessThan.class); - FieldAttribute salaryField = as(lessThan.left(), FieldAttribute.class); - assertEquals("salary", salaryField.name()); - Literal literal = as(lessThan.right(), Literal.class); - assertEquals(100000, literal.value()); - EsRelation relation = as(childFilter.child(), EsRelation.class); - assertEquals("test1", relation.indexPattern()); - - EsqlProject child3 = as(unionAll.children().get(2), EsqlProject.class); - eval = as(child3.child(), Eval.class); - limit = as(eval.child(), Limit.class); - subquery = as(limit.child(), Subquery.class); - eval = as(subquery.child(), Eval.class); - filter = as(eval.child(), Filter.class); - And and = as(filter.condition(), And.class); - isNotNull = as(and.left(), IsNotNull.class); - y = as(isNotNull.field(), ReferenceAttribute.class); - assertEquals("y", y.name()); - greaterThan = as(and.right(), GreaterThan.class); - z = as(greaterThan.left(), ReferenceAttribute.class); - assertEquals("z", z.name()); - right = as(greaterThan.right(), Literal.class); - assertEquals(0, right.value()); - Aggregate aggregate = as(filter.child(), Aggregate.class); - List groupings = aggregate.groupings(); - assertEquals(1, groupings.size()); - FieldAttribute language_code = as(groupings.get(0), FieldAttribute.class); - assertEquals("language_code", language_code.name()); - List aggregates = aggregate.aggregates(); - assertEquals(2, aggregates.size()); - assertEquals("y", aggregates.get(0).name()); - assertEquals("z", aggregates.get(1).name()); - relation = as(aggregate.child(), EsRelation.class); - assertEquals("languages", relation.indexPattern()); - - EsqlProject child4 = as(unionAll.children().get(3), EsqlProject.class); - filter = as(child4.child(), Filter.class); - isNotNull = as(filter.condition(), IsNotNull.class); - ReferenceAttribute x = as(isNotNull.field(), ReferenceAttribute.class); - assertEquals("y", x.name()); - eval = as(filter.child(), Eval.class); - aliases = eval.fields(); - assertEquals(4, aliases.size()); - limit = as(eval.child(), Limit.class); - subquery = as(limit.child(), Subquery.class); - project = as(subquery.child(), Project.class); - Join lookupJoin = as(project.child(), Join.class); - Filter leftFilter = as(lookupJoin.left(), Filter.class); - and = as(leftFilter.condition(), And.class); - isNotNull = as(and.left(), IsNotNull.class); - FieldAttribute emp_no = as(isNotNull.field(), FieldAttribute.class); - assertEquals("emp_no", emp_no.name()); - greaterThan = as(and.right(), GreaterThan.class); - language_code = as(greaterThan.left(), FieldAttribute.class); - assertEquals("languages", language_code.name()); - right = as(greaterThan.right(), Literal.class); - assertEquals(0, right.value()); - relation = as(leftFilter.child(), EsRelation.class); - assertEquals("test1", relation.indexPattern()); - relation = as(lookupJoin.right(), EsRelation.class); - assertEquals("languages_lookup", relation.indexPattern()); - } - - /** - * Limit[1000[INTEGER],false] - * \_UnionAll[[_meta_field{r}#35, emp_no{r}#36, first_name{r}#37, gender{r}#38, hire_date{r}#39, job{r}#40, job.raw{r}#41, l - * anguages{r}#42, last_name{r}#43, long_noidx{r}#44, salary{r}#45, x{r}#46, y{r}#47]] - * |_LocalRelation[[_meta_field{f}#17, emp_no{f}#11, first_name{f}#12, gender{f}#13, hire_date{f}#18, job{f}#19, job.raw{f}#20, l - * anguages{f}#14, last_name{f}#15, long_noidx{f}#21, salary{f}#16, x{r}#33, y{r}#34],EMPTY] - * \_EsqlProject[[_meta_field{f}#28, emp_no{f}#22, first_name{f}#23, gender{f}#24, hire_date{f}#29, job{f}#30, job.raw{f}#31, l - * anguages{f}#25, last_name{f}#26, long_noidx{f}#32, salary{f}#27, x{r}#4, y{r}#7]] - * \_Limit[1000[INTEGER],false] - * \_Subquery[] - * \_Filter[y{r}#7 > 0[INTEGER]] - * \_Eval[[1[INTEGER] AS x#4, emp_no{f}#22 + 1[INTEGER] AS y#7]] - * \_Filter[salary{f}#27 < 100000[INTEGER] AND emp_no{f}#22 > 0[INTEGER]] - * \_EsRelation[test1][_meta_field{f}#28, emp_no{f}#22, first_name{f}#23, ..] - */ - public void testPushDownFilterOnReferenceAttributesAndFieldAttributesPastUnionAll() { - assumeTrue("Requires subquery in FROM command support", EsqlCapabilities.Cap.SUBQUERY_IN_FROM_COMMAND.isEnabled()); - var plan = planSubquery(""" - FROM test, (FROM test1 | where salary < 100000 | EVAL x = 1, y = emp_no + 1) - | WHERE x is not null and y > 0 and emp_no > 0 - """); - - Limit limit = as(plan, Limit.class); - UnionAll unionAll = as(limit.child(), UnionAll.class); - assertEquals(2, unionAll.children().size()); - - LocalRelation child1 = as(unionAll.children().get(0), LocalRelation.class); - - EsqlProject child2 = as(unionAll.children().get(1), EsqlProject.class); - Limit childLimit = as(child2.child(), Limit.class); - Subquery subquery = as(childLimit.child(), Subquery.class); - Filter childFilter = as(subquery.child(), Filter.class); - GreaterThan greaterThan = as(childFilter.condition(), GreaterThan.class); - ReferenceAttribute y = as(greaterThan.left(), ReferenceAttribute.class); - assertEquals("y", y.name()); - Literal right = as(greaterThan.right(), Literal.class); - assertEquals(0, right.value()); - Eval eval = as(childFilter.child(), Eval.class); - List aliases = eval.fields(); - assertEquals(2, aliases.size()); - Alias aliasX = aliases.get(0); - assertEquals("x", aliasX.name()); - Literal xLiteral = as(aliasX.child(), Literal.class); - assertEquals(1, xLiteral.value()); - Alias aliasZ = aliases.get(1); - assertEquals("y", aliasZ.name()); - childFilter = as(eval.child(), Filter.class); - And and = as(childFilter.condition(), And.class); - greaterThan = as(and.right(), GreaterThan.class); - FieldAttribute emp_no = as(greaterThan.left(), FieldAttribute.class); - assertEquals("emp_no", emp_no.name()); - LessThan lessThan = as(and.left(), LessThan.class); - FieldAttribute salaryField = as(lessThan.left(), FieldAttribute.class); - assertEquals("salary", salaryField.name()); - Literal literal = as(lessThan.right(), Literal.class); - assertEquals(100000, literal.value()); - EsRelation relation = as(childFilter.child(), EsRelation.class); - assertEquals("test1", relation.indexPattern()); - } } diff --git a/x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/optimizer/rules/logical/PushDownFilterAndLimitIntoUnionAllTests.java b/x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/optimizer/rules/logical/PushDownFilterAndLimitIntoUnionAllTests.java new file mode 100644 index 0000000000000..6ddbcc4587b49 --- /dev/null +++ b/x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/optimizer/rules/logical/PushDownFilterAndLimitIntoUnionAllTests.java @@ -0,0 +1,662 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +package org.elasticsearch.xpack.esql.optimizer.rules.logical; + +import org.elasticsearch.xpack.esql.action.EsqlCapabilities; +import org.elasticsearch.xpack.esql.core.expression.Alias; +import org.elasticsearch.xpack.esql.core.expression.Expression; +import org.elasticsearch.xpack.esql.core.expression.FieldAttribute; +import org.elasticsearch.xpack.esql.core.expression.Literal; +import org.elasticsearch.xpack.esql.core.expression.NamedExpression; +import org.elasticsearch.xpack.esql.core.expression.ReferenceAttribute; +import org.elasticsearch.xpack.esql.expression.predicate.logical.And; +import org.elasticsearch.xpack.esql.expression.predicate.logical.Or; +import org.elasticsearch.xpack.esql.expression.predicate.nulls.IsNotNull; +import org.elasticsearch.xpack.esql.expression.predicate.operator.comparison.GreaterThan; +import org.elasticsearch.xpack.esql.expression.predicate.operator.comparison.LessThan; +import org.elasticsearch.xpack.esql.optimizer.AbstractLogicalPlanOptimizerTests; +import org.elasticsearch.xpack.esql.plan.logical.Aggregate; +import org.elasticsearch.xpack.esql.plan.logical.EsRelation; +import org.elasticsearch.xpack.esql.plan.logical.Eval; +import org.elasticsearch.xpack.esql.plan.logical.Filter; +import org.elasticsearch.xpack.esql.plan.logical.Limit; +import org.elasticsearch.xpack.esql.plan.logical.Project; +import org.elasticsearch.xpack.esql.plan.logical.Subquery; +import org.elasticsearch.xpack.esql.plan.logical.TopN; +import org.elasticsearch.xpack.esql.plan.logical.UnionAll; +import org.elasticsearch.xpack.esql.plan.logical.join.Join; +import org.elasticsearch.xpack.esql.plan.logical.local.EsqlProject; +import org.elasticsearch.xpack.esql.plan.logical.local.LocalRelation; + +import java.util.List; + +import static org.elasticsearch.xpack.esql.EsqlTestUtils.as; + +//@TestLogging(value = "org.elasticsearch.xpack.esql:TRACE", reason = "debug") +public class PushDownFilterAndLimitIntoUnionAllTests extends AbstractLogicalPlanOptimizerTests { + + /** + * Limit[1000[INTEGER],false] + * \_UnionAll[[_meta_field{r}#44, emp_no{r}#45, first_name{r}#46, gender{r}#47, hire_date{r}#48, job{r}#49, job.raw{r}#50, l + * anguages{r}#51, last_name{r}#52, long_noidx{r}#53, salary{r}#54, language_code{r}#55, language_name{r}#56]] + * |_EsqlProject[[_meta_field{f}#11, emp_no{f}#5, first_name{f}#6, gender{f}#7, hire_date{f}#12, job{f}#13, job.raw{f}#14, lang + * uages{f}#8, last_name{f}#9, long_noidx{f}#15, salary{f}#10, language_code{r}#29, language_name{r}#30]] + * | \_Eval[[null[INTEGER] AS language_code#29, null[KEYWORD] AS language_name#30]] + * | \_Limit[1000[INTEGER],false] + * | \_Filter[emp_no{f}#5 > 10000[INTEGER]] + * | \_EsRelation[test][_meta_field{f}#11, emp_no{f}#5, first_name{f}#6, ge..] + * |_EsqlProject[[_meta_field{f}#22, emp_no{f}#16, first_name{f}#17, gender{f}#18, hire_date{f}#23, job{f}#24, job.raw{f}#25, l + * anguages{f}#19, last_name{f}#20, long_noidx{f}#26, salary{f}#21, language_code{r}#31, language_name{r}#32]] + * | \_Eval[[null[INTEGER] AS language_code#31, null[KEYWORD] AS language_name#32]] + * | \_Subquery[] + * | \_Limit[1000[INTEGER],false] + * | \_Filter[languages{f}#19 > 0[INTEGER] AND emp_no{f}#16 > 10000[INTEGER]] + * | \_EsRelation[test1][_meta_field{f}#22, emp_no{f}#16, first_name{f}#17, ..] + * \_LocalRelation[[_meta_field{r}#33, emp_no{r}#34, first_name{r}#35, gender{r}#36, hire_date{r}#37, job{r}#38, job.raw{r}#39, l + * anguages{r}#40, last_name{r}#41, long_noidx{r}#42, salary{r}#43, language_code{f}#27, language_name{f}#28],EMPT + * Y] + */ + public void testPushDownSimpleFilterPastUnionAll() { + assumeTrue("Requires subquery in FROM command support", EsqlCapabilities.Cap.SUBQUERY_IN_FROM_COMMAND.isEnabled()); + var plan = planSubquery(""" + FROM test, (FROM test1 | WHERE languages > 0), (FROM languages | WHERE language_code > 0) + | WHERE emp_no > 10000 + """); + + Limit limit = as(plan, Limit.class); + UnionAll unionAll = as(limit.child(), UnionAll.class); + assertEquals(3, unionAll.children().size()); + + EsqlProject child1 = as(unionAll.children().get(0), EsqlProject.class); + Eval eval = as(child1.child(), Eval.class); + Limit childLimit = as(eval.child(), Limit.class); + Filter childFilter = as(childLimit.child(), Filter.class); + GreaterThan greaterThan = as(childFilter.condition(), GreaterThan.class); + FieldAttribute empNo = as(greaterThan.left(), FieldAttribute.class); + assertEquals("emp_no", empNo.name()); + Literal right = as(greaterThan.right(), Literal.class); + assertEquals(10000, right.value()); + EsRelation relation = as(childFilter.child(), EsRelation.class); + assertEquals("test", relation.indexPattern()); + + EsqlProject child2 = as(unionAll.children().get(1), EsqlProject.class); + eval = as(child2.child(), Eval.class); + Subquery subquery = as(eval.child(), Subquery.class); + childLimit = as(subquery.child(), Limit.class); + childFilter = as(childLimit.child(), Filter.class); + And and = as(childFilter.condition(), And.class); + greaterThan = as(and.left(), GreaterThan.class); + empNo = as(greaterThan.left(), FieldAttribute.class); + assertEquals("languages", empNo.name()); + right = as(greaterThan.right(), Literal.class); + assertEquals(0, right.value()); + greaterThan = as(and.right(), GreaterThan.class); + empNo = as(greaterThan.left(), FieldAttribute.class); + assertEquals("emp_no", empNo.name()); + right = as(greaterThan.right(), Literal.class); + assertEquals(10000, right.value()); + relation = as(childFilter.child(), EsRelation.class); + assertEquals("test1", relation.indexPattern()); + + LocalRelation localRelation = as(unionAll.children().get(2), LocalRelation.class); + } + + /** + * Limit[1000[INTEGER],false] + * \_UnionAll[[_meta_field{r}#26, emp_no{r}#27, first_name{r}#28, gender{r}#29, hire_date{r}#30, job{r}#31, job.raw{r}#32, l + * anguages{r}#33, last_name{r}#34, long_noidx{r}#35, salary{r}#36]] + * |_EsqlProject[[_meta_field{f}#10, emp_no{f}#4, first_name{f}#5, gender{f}#6, hire_date{f}#11, job{f}#12, job.raw{f}#13, lang + * uages{f}#7, last_name{f}#8, long_noidx{f}#14, salary{f}#9]] + * | \_Limit[1000[INTEGER],false] + * | \_EsRelation[test][_meta_field{f}#10, emp_no{f}#4, first_name{f}#5, ge..] + * \_EsqlProject[[_meta_field{f}#21, emp_no{f}#15, first_name{f}#16, gender{f}#17, hire_date{f}#22, job{f}#23, job.raw{f}#24, l + * anguages{f}#18, last_name{f}#19, long_noidx{f}#25, salary{f}#20]] + * \_Subquery[] + * \_TopN[[Order[emp_no{f}#15,ASC,LAST]],1000[INTEGER]] + * \_Filter[languages{f}#18 > 0[INTEGER]] + * \_EsRelation[test1][_meta_field{f}#21, emp_no{f}#15, first_name{f}#16, ..] + */ + public void testPushDownLimitPastSubqueryWithSort() { + assumeTrue("Requires subquery in FROM command support", EsqlCapabilities.Cap.SUBQUERY_IN_FROM_COMMAND.isEnabled()); + var plan = planSubquery(""" + FROM test, (FROM test1 | WHERE languages > 0 | SORT emp_no) + """); + + Limit limit = as(plan, Limit.class); + UnionAll unionAll = as(limit.child(), UnionAll.class); + assertEquals(2, unionAll.children().size()); + + EsqlProject child1 = as(unionAll.children().get(0), EsqlProject.class); + Limit childLimit = as(child1.child(), Limit.class); + EsRelation relation = as(childLimit.child(), EsRelation.class); + assertEquals("test", relation.indexPattern()); + + EsqlProject child2 = as(unionAll.children().get(1), EsqlProject.class); + Subquery subquery = as(child2.child(), Subquery.class); + TopN topN = as(subquery.child(), TopN.class); + Filter childFilter = as(topN.child(), Filter.class); + GreaterThan greaterThan = as(childFilter.condition(), GreaterThan.class); + FieldAttribute empNo = as(greaterThan.left(), FieldAttribute.class); + assertEquals("languages", empNo.name()); + Literal right = as(greaterThan.right(), Literal.class); + assertEquals(0, right.value()); + relation = as(childFilter.child(), EsRelation.class); + assertEquals("test1", relation.indexPattern()); + } + + /** + * Limit[1000[INTEGER],false] + * \_UnionAll[[_meta_field{r}#45, emp_no{r}#46, first_name{r}#47, gender{r}#48, hire_date{r}#49, job{r}#50, job.raw{r}#51, l + * anguages{r}#52, last_name{r}#53, long_noidx{r}#54, salary{r}#55, language_code{r}#56, language_name{r}#57]] + * |_EsqlProject[[_meta_field{f}#12, emp_no{f}#6, first_name{f}#7, gender{f}#8, hire_date{f}#13, job{f}#14, job.raw{f}#15, lang + * uages{f}#9, last_name{f}#10, long_noidx{f}#16, salary{f}#11, language_code{r}#30, language_name{r}#31]] + * | \_Eval[[null[INTEGER] AS language_code#30, null[KEYWORD] AS language_name#31]] + * | \_Limit[1000[INTEGER],false] + * | \_Filter[emp_no{f}#6 > 10000[INTEGER]] + * | \_EsRelation[test][_meta_field{f}#12, emp_no{f}#6, first_name{f}#7, ge..] + * |_EsqlProject[[_meta_field{f}#23, emp_no{f}#17, first_name{f}#18, gender{f}#19, hire_date{f}#24, job{f}#25, job.raw{f}#26, l + * anguages{f}#20, last_name{f}#21, long_noidx{f}#27, salary{f}#22, language_code{r}#32, language_name{r}#33]] + * | \_Eval[[null[INTEGER] AS language_code#32, null[KEYWORD] AS language_name#33]] + * | \_Subquery[] + * | \_TopN[[Order[emp_no{f}#17,ASC,LAST]],1000[INTEGER]] + * | \_Filter[languages{f}#20 > 0[INTEGER] AND emp_no{f}#17 > 10000[INTEGER]] + * | \_EsRelation[test1][_meta_field{f}#23, emp_no{f}#17, first_name{f}#18, ..] + * \_LocalRelation[[_meta_field{r}#34, emp_no{r}#35, first_name{r}#36, gender{r}#37, hire_date{r}#38, job{r}#39, job.raw{r}#40, l + * anguages{r}#41, last_name{r}#42, long_noidx{r}#43, salary{r}#44, language_code{f}#28, language_name{f}#29],EMPT + * Y] + */ + public void testPushDownFilterAndLimitPastSubqueryWithSort() { + assumeTrue("Requires subquery in FROM command support", EsqlCapabilities.Cap.SUBQUERY_IN_FROM_COMMAND.isEnabled()); + var plan = planSubquery(""" + FROM test, (FROM test1 | WHERE languages > 0 | SORT emp_no) + | WHERE emp_no > 10000 + """); + + Limit limit = as(plan, Limit.class); + UnionAll unionAll = as(limit.child(), UnionAll.class); + assertEquals(2, unionAll.children().size()); + + EsqlProject child1 = as(unionAll.children().get(0), EsqlProject.class); + Limit childLimit = as(child1.child(), Limit.class); + Filter childFilter = as(childLimit.child(), Filter.class); + GreaterThan greaterThan = as(childFilter.condition(), GreaterThan.class); + FieldAttribute empNo = as(greaterThan.left(), FieldAttribute.class); + assertEquals("emp_no", empNo.name()); + Literal right = as(greaterThan.right(), Literal.class); + assertEquals(10000, right.value()); + EsRelation relation = as(childFilter.child(), EsRelation.class); + assertEquals("test", relation.indexPattern()); + + EsqlProject child2 = as(unionAll.children().get(1), EsqlProject.class); + Subquery subquery = as(child2.child(), Subquery.class); + TopN topN = as(subquery.child(), TopN.class); + childFilter = as(topN.child(), Filter.class); + And and = as(childFilter.condition(), And.class); + greaterThan = as(and.left(), GreaterThan.class); + empNo = as(greaterThan.left(), FieldAttribute.class); + assertEquals("languages", empNo.name()); + right = as(greaterThan.right(), Literal.class); + assertEquals(0, right.value()); + greaterThan = as(and.right(), GreaterThan.class); + empNo = as(greaterThan.left(), FieldAttribute.class); + assertEquals("emp_no", empNo.name()); + right = as(greaterThan.right(), Literal.class); + assertEquals(10000, right.value()); + relation = as(childFilter.child(), EsRelation.class); + assertEquals("test1", relation.indexPattern()); + } + + /** + * \_UnionAll[[_meta_field{r}#45, emp_no{r}#46, first_name{r}#47, gender{r}#48, hire_date{r}#49, job{r}#50, job.raw{r}#51, l + * anguages{r}#52, last_name{r}#53, long_noidx{r}#54, salary{r}#55, language_code{r}#56, language_name{r}#57]] + * |_EsqlProject[[_meta_field{f}#12, emp_no{f}#6, first_name{f}#7, gender{f}#8, hire_date{f}#13, job{f}#14, job.raw{f}#15, lang + * uages{f}#9, last_name{f}#10, long_noidx{f}#16, salary{f}#11, language_code{r}#30, language_name{r}#31]] + * | \_Eval[[null[INTEGER] AS language_code#30, null[KEYWORD] AS language_name#31]] + * | \_Limit[1000[INTEGER],false] + * | \_Filter[emp_no{f}#6 > 10000[INTEGER] AND salary{f}#11 > 50000[INTEGER]] + * | \_EsRelation[test][_meta_field{f}#12, emp_no{f}#6, first_name{f}#7, ge..] + * |_EsqlProject[[_meta_field{f}#23, emp_no{f}#17, first_name{f}#18, gender{f}#19, hire_date{f}#24, job{f}#25, job.raw{f}#26, l + * anguages{f}#20, last_name{f}#21, long_noidx{f}#27, salary{f}#22, language_code{r}#32, language_name{r}#33]] + * | \_Eval[[null[INTEGER] AS language_code#32, null[KEYWORD] AS language_name#33]] + * | \_Subquery[] + * | \_Limit[1000[INTEGER],false] + * | \_Filter[languages{f}#20 > 0[INTEGER] AND emp_no{f}#17 > 10000[INTEGER] AND salary{f}#22 > 50000[INTEGER]] + * | \_EsRelation[test1][_meta_field{f}#23, emp_no{f}#17, first_name{f}#18, ..] + * \_LocalRelation[[_meta_field{r}#34, emp_no{r}#35, first_name{r}#36, gender{r}#37, hire_date{r}#38, job{r}#39, job.raw{r}#40, l + * anguages{r}#41, last_name{r}#42, long_noidx{r}#43, salary{r}#44, language_code{f}#28, language_name{f}#29],EMPT + * Y] + */ + public void testPushDownConjunctiveFilterPastUnionAll() { + assumeTrue("Requires subquery in FROM command support", EsqlCapabilities.Cap.SUBQUERY_IN_FROM_COMMAND.isEnabled()); + var plan = planSubquery(""" + FROM test, (FROM test1 | WHERE languages > 0), (FROM languages | WHERE language_code > 0) + | WHERE emp_no > 10000 and salary > 50000 + """); + + Limit limit = as(plan, Limit.class); + UnionAll unionAll = as(limit.child(), UnionAll.class); + assertEquals(3, unionAll.children().size()); + + EsqlProject child1 = as(unionAll.children().get(0), EsqlProject.class); + Eval eval = as(child1.child(), Eval.class); + Limit childLimit = as(eval.child(), Limit.class); + Filter childFilter = as(childLimit.child(), Filter.class); + And and = as(childFilter.condition(), And.class); + GreaterThan emp_no = as(and.left(), GreaterThan.class); + FieldAttribute empNo = as(emp_no.left(), FieldAttribute.class); + assertEquals("emp_no", empNo.name()); + Literal right = as(emp_no.right(), Literal.class); + assertEquals(10000, right.value()); + GreaterThan salary = as(and.right(), GreaterThan.class); + FieldAttribute salaryField = as(salary.left(), FieldAttribute.class); + assertEquals("salary", salaryField.name()); + right = as(salary.right(), Literal.class); + assertEquals(50000, right.value()); + EsRelation relation = as(childFilter.child(), EsRelation.class); + assertEquals("test", relation.indexPattern()); + + EsqlProject child2 = as(unionAll.children().get(1), EsqlProject.class); + eval = as(child2.child(), Eval.class); + Subquery subquery = as(eval.child(), Subquery.class); + childLimit = as(subquery.child(), Limit.class); + childFilter = as(childLimit.child(), Filter.class); + and = as(childFilter.condition(), And.class); + GreaterThan greaterThan = as(and.left(), GreaterThan.class); + FieldAttribute languages = as(greaterThan.left(), FieldAttribute.class); + assertEquals("languages", languages.name()); + right = as(greaterThan.right(), Literal.class); + assertEquals(0, right.value()); + and = as(and.right(), And.class); + emp_no = as(and.left(), GreaterThan.class); + empNo = as(emp_no.left(), FieldAttribute.class); + assertEquals("emp_no", empNo.name()); + right = as(emp_no.right(), Literal.class); + assertEquals(10000, right.value()); + salary = as(and.right(), GreaterThan.class); + salaryField = as(salary.left(), FieldAttribute.class); + assertEquals("salary", salaryField.name()); + right = as(salary.right(), Literal.class); + assertEquals(50000, right.value()); + relation = as(childFilter.child(), EsRelation.class); + assertEquals("test1", relation.indexPattern()); + + LocalRelation localRelation = as(unionAll.children().get(2), LocalRelation.class); + } + + /** + * Limit[1000[INTEGER],false] + * \_UnionAll[[_meta_field{r}#45, emp_no{r}#46, first_name{r}#47, gender{r}#48, hire_date{r}#49, job{r}#50, job.raw{r}#51, l + * anguages{r}#52, last_name{r}#53, long_noidx{r}#54, salary{r}#55, language_code{r}#56, language_name{r}#57]] + * |_EsqlProject[[_meta_field{f}#12, emp_no{f}#6, first_name{f}#7, gender{f}#8, hire_date{f}#13, job{f}#14, job.raw{f}#15, lang + * uages{f}#9, last_name{f}#10, long_noidx{f}#16, salary{f}#11, language_code{r}#30, language_name{r}#31]] + * | \_Eval[[null[INTEGER] AS language_code#30, null[KEYWORD] AS language_name#31]] + * | \_Limit[1000[INTEGER],false] + * | \_Filter[emp_no{f}#6 > 10000[INTEGER] OR salary{f}#11 > 50000[INTEGER]] + * | \_EsRelation[test][_meta_field{f}#12, emp_no{f}#6, first_name{f}#7, ge..] + * |_EsqlProject[[_meta_field{f}#23, emp_no{f}#17, first_name{f}#18, gender{f}#19, hire_date{f}#24, job{f}#25, job.raw{f}#26, l + * anguages{f}#20, last_name{f}#21, long_noidx{f}#27, salary{f}#22, language_code{r}#32, language_name{r}#33]] + * | \_Eval[[null[INTEGER] AS language_code#32, null[KEYWORD] AS language_name#33]] + * | \_Subquery[] + * | \_Limit[1000[INTEGER],false] + * | \_Filter[languages{f}#20 > 0[INTEGER] AND emp_no{f}#17 > 10000[INTEGER] OR salary{f}#22 > 50000[INTEGER]] + * | \_EsRelation[test1][_meta_field{f}#23, emp_no{f}#17, first_name{f}#18, ..] + * \_LocalRelation[[_meta_field{r}#34, emp_no{r}#35, first_name{r}#36, gender{r}#37, hire_date{r}#38, job{r}#39, job.raw{r}#40, l + * anguages{r}#41, last_name{r}#42, long_noidx{r}#43, salary{r}#44, language_code{f}#28, language_name{f}#29],EMPT + * Y] + */ + public void testPushDownDisjunctiveFilterPastUnionAll() { + assumeTrue("Requires subquery in FROM command support", EsqlCapabilities.Cap.SUBQUERY_IN_FROM_COMMAND.isEnabled()); + var plan = planSubquery(""" + FROM test, (FROM test1 | WHERE languages > 0), (FROM languages | WHERE language_code > 0) + | WHERE emp_no > 10000 or salary > 50000 + """); + + Limit limit = as(plan, Limit.class); + UnionAll unionAll = as(limit.child(), UnionAll.class); + assertEquals(3, unionAll.children().size()); + + EsqlProject child1 = as(unionAll.children().get(0), EsqlProject.class); + Eval eval = as(child1.child(), Eval.class); + Limit childLimit = as(eval.child(), Limit.class); + Filter childFilter = as(childLimit.child(), Filter.class); + Or or = as(childFilter.condition(), Or.class); + GreaterThan emp_no = as(or.left(), GreaterThan.class); + FieldAttribute empNo = as(emp_no.left(), FieldAttribute.class); + assertEquals("emp_no", empNo.name()); + Literal right = as(emp_no.right(), Literal.class); + assertEquals(10000, right.value()); + GreaterThan salary = as(or.right(), GreaterThan.class); + FieldAttribute salaryField = as(salary.left(), FieldAttribute.class); + assertEquals("salary", salaryField.name()); + right = as(salary.right(), Literal.class); + assertEquals(50000, right.value()); + EsRelation relation = as(childFilter.child(), EsRelation.class); + assertEquals("test", relation.indexPattern()); + + EsqlProject child2 = as(unionAll.children().get(1), EsqlProject.class); + eval = as(child2.child(), Eval.class); + Subquery subquery = as(eval.child(), Subquery.class); + childLimit = as(subquery.child(), Limit.class); + childFilter = as(childLimit.child(), Filter.class); + And and = as(childFilter.condition(), And.class); + GreaterThan greaterThan = as(and.left(), GreaterThan.class); + FieldAttribute languages = as(greaterThan.left(), FieldAttribute.class); + assertEquals("languages", languages.name()); + right = as(greaterThan.right(), Literal.class); + assertEquals(0, right.value()); + or = as(and.right(), Or.class); + emp_no = as(or.left(), GreaterThan.class); + empNo = as(emp_no.left(), FieldAttribute.class); + assertEquals("emp_no", empNo.name()); + right = as(emp_no.right(), Literal.class); + assertEquals(10000, right.value()); + salary = as(or.right(), GreaterThan.class); + salaryField = as(salary.left(), FieldAttribute.class); + assertEquals("salary", salaryField.name()); + right = as(salary.right(), Literal.class); + assertEquals(50000, right.value()); + relation = as(childFilter.child(), EsRelation.class); + assertEquals("test1", relation.indexPattern()); + + LocalRelation localRelation = as(unionAll.children().get(2), LocalRelation.class); + } + + /** + * Limit[1000[INTEGER],false] + * \_UnionAll[[_meta_field{r}#45, emp_no{r}#46, first_name{r}#47, gender{r}#48, hire_date{r}#49, job{r}#50, job.raw{r}#51, l + * anguages{r}#52, last_name{r}#53, long_noidx{r}#54, salary{r}#55, language_code{r}#56, language_name{r}#57]] + * |_EsqlProject[[_meta_field{f}#12, emp_no{f}#6, first_name{f}#7, gender{f}#8, hire_date{f}#13, job{f}#14, job.raw{f}#15, lang + * uages{f}#9, last_name{f}#10, long_noidx{f}#16, salary{f}#11, language_code{r}#30, language_name{r}#31]] + * | \_Eval[[null[INTEGER] AS language_code#30, null[KEYWORD] AS language_name#31]] + * | \_Limit[1000[INTEGER],false] + * | \_Filter[emp_no{f}#6 > 10000[INTEGER] AND salary{f}#11 < 50000[INTEGER]] + * | \_EsRelation[test][_meta_field{f}#12, emp_no{f}#6, first_name{f}#7, ge..] + * |_EsqlProject[[_meta_field{f}#23, emp_no{f}#17, first_name{f}#18, gender{f}#19, hire_date{f}#24, job{f}#25, job.raw{f}#26, l + * anguages{f}#20, last_name{f}#21, long_noidx{f}#27, salary{f}#22, language_code{r}#32, language_name{r}#33]] + * | \_Eval[[null[INTEGER] AS language_code#32, null[KEYWORD] AS language_name#33]] + * | \_Subquery[] + * | \_Limit[1000[INTEGER],false] + * | \_Filter[salary{f}#22 < 50000[INTEGER] AND emp_no{f}#17 > 10000[INTEGER]] + * | \_EsRelation[test1][_meta_field{f}#23, emp_no{f}#17, first_name{f}#18, ..] + * \_LocalRelation[[_meta_field{r}#34, emp_no{r}#35, first_name{r}#36, gender{r}#37, hire_date{r}#38, job{r}#39, job.raw{r}#40, l + * anguages{r}#41, last_name{r}#42, long_noidx{r}#43, salary{r}#44, language_code{f}#28, language_name{f}#29],EMPT + * Y] + */ + public void testPushDownFilterPastUnionAllAndCombineWithFilterInSubquery() { + assumeTrue("Requires subquery in FROM command support", EsqlCapabilities.Cap.SUBQUERY_IN_FROM_COMMAND.isEnabled()); + var plan = planSubquery(""" + FROM test, (FROM test1 | where salary < 100000), (FROM languages | WHERE language_code > 0) + | WHERE emp_no > 10000 and salary < 50000 + """); + + Limit limit = as(plan, Limit.class); + UnionAll unionAll = as(limit.child(), UnionAll.class); + assertEquals(3, unionAll.children().size()); + + EsqlProject child1 = as(unionAll.children().get(0), EsqlProject.class); + Eval eval = as(child1.child(), Eval.class); + Limit childLimit = as(eval.child(), Limit.class); + Filter childFilter = as(childLimit.child(), Filter.class); + And and = as(childFilter.condition(), And.class); + GreaterThan emp_no = as(and.left(), GreaterThan.class); + FieldAttribute empNo = as(emp_no.left(), FieldAttribute.class); + assertEquals("emp_no", empNo.name()); + Literal right = as(emp_no.right(), Literal.class); + assertEquals(10000, right.value()); + LessThan salary = as(and.right(), LessThan.class); + FieldAttribute salaryField = as(salary.left(), FieldAttribute.class); + assertEquals("salary", salaryField.name()); + right = as(salary.right(), Literal.class); + assertEquals(50000, right.value()); + EsRelation relation = as(childFilter.child(), EsRelation.class); + assertEquals("test", relation.indexPattern()); + + EsqlProject child2 = as(unionAll.children().get(1), EsqlProject.class); + eval = as(child2.child(), Eval.class); + Subquery subquery = as(eval.child(), Subquery.class); + childLimit = as(subquery.child(), Limit.class); + childFilter = as(childLimit.child(), Filter.class); + and = as(childFilter.condition(), And.class); + emp_no = as(and.right(), GreaterThan.class); + empNo = as(emp_no.left(), FieldAttribute.class); + assertEquals("emp_no", empNo.name()); + right = as(emp_no.right(), Literal.class); + assertEquals(10000, right.value()); + salary = as(and.left(), LessThan.class); + salaryField = as(salary.left(), FieldAttribute.class); + assertEquals("salary", salaryField.name()); + right = as(salary.right(), Literal.class); + assertEquals(50000, right.value()); + relation = as(childFilter.child(), EsRelation.class); + assertEquals("test1", relation.indexPattern()); + + LocalRelation localRelation = as(unionAll.children().get(2), LocalRelation.class); + } + + /** + * Limit[1000[INTEGER],false] + * \_UnionAll[[_meta_field{r}#95, emp_no{r}#96, first_name{r}#97, gender{r}#98, hire_date{r}#99, job{r}#100, job.raw{r}#101, + * languages{r}#102, last_name{r}#103, long_noidx{r}#104, salary{r}#105, x{r}#106, y{r}#107, z{r}#108, language_name{r}#109]] + * |_LocalRelation[[_meta_field{f}#44, emp_no{f}#38, first_name{f}#39, gender{f}#40, hire_date{f}#45, job{f}#46, job.raw{f}#47, l + * anguages{f}#41, last_name{f}#42, long_noidx{f}#48, salary{f}#43, x{r}#75, y{r}#110, z{r}#77, language_name{r}#78], + * EMPTY] + * |_EsqlProject[[_meta_field{f}#55, emp_no{f}#49, first_name{f}#50, gender{f}#51, hire_date{f}#56, job{f}#57, job.raw{f}#58, l + * anguages{f}#52, last_name{f}#53, long_noidx{f}#59, salary{f}#54, x{r}#4, y{r}#111, z{r}#10, language_name{r}#79]] + * | \_Filter[ISNOTNULL(y{r}#111)] + * | \_Eval[[null[KEYWORD] AS language_name#79, TOLONG(y{r}#7) AS y#111]] + * | \_Subquery[] + * | \_Project[[_meta_field{f}#55, emp_no{f}#49, first_name{f}#50, gender{f}#51, hire_date{f}#56, job{f}#57, job.raw{f}#58, l + * anguages{f}#52, last_name{f}#53, long_noidx{f}#59, salary{f}#54, x{r}#4, emp_no{f}#49 AS y#7, z{r}#10]] + * | \_Limit[1000[INTEGER],false] + * | \_Filter[z{r}#10 > 0[INTEGER]] + * | \_Eval[[1[INTEGER] AS x#4, emp_no{f}#49 + 1[INTEGER] AS z#10]] + * | \_Filter[salary{f}#54 < 100000[INTEGER]] + * | \_EsRelation[test1][_meta_field{f}#55, emp_no{f}#49, first_name{f}#50, ..] + * |_EsqlProject[[_meta_field{r}#80, emp_no{r}#81, first_name{r}#82, gender{r}#83, hire_date{r}#84, job{r}#85, job.raw{r}#86, l + * anguages{r}#87, last_name{r}#88, long_noidx{r}#89, salary{r}#90, x{r}#21, y{r}#19, z{r}#16, language_name{r}#91]] + * | \_Eval[[null[KEYWORD] AS _meta_field#80, null[INTEGER] AS emp_no#81, null[KEYWORD] AS first_name#82, null[TEXT] AS ge + * nder#83, null[DATETIME] AS hire_date#84, null[TEXT] AS job#85, null[KEYWORD] AS job.raw#86, null[INTEGER] AS languages#87, + * null[KEYWORD] AS last_name#88, null[LONG] AS long_noidx#89, null[INTEGER] AS salary#90, null[KEYWORD] AS language_name#91]] + * | \_Subquery[] + * | \_Eval[[1[INTEGER] AS x#21]] + * | \_Limit[1000[INTEGER],false] + * | \_Filter[ISNOTNULL(y{r}#19) AND z{r}#16 > 0[INTEGER]] + * | \_Aggregate[[language_code{f}#60],[COUNT(*[KEYWORD],true[BOOLEAN]) AS y#19, language_code{f}#60 AS z#16]] + * | \_EsRelation[languages][language_code{f}#60, language_name{f}#61] + * \_EsqlProject[[_meta_field{f}#68, emp_no{r}#92, first_name{f}#63, gender{f}#64, hire_date{f}#69, job{f}#70, job.raw{f}#71, l + * anguages{r}#93, last_name{f}#66, long_noidx{f}#72, salary{r}#94, x{r}#28, y{r}#112, z{r}#34, language_name{f}#74]] + * \_Filter[ISNOTNULL(y{r}#112)] + * \_Eval[[null[INTEGER] AS emp_no#92, null[INTEGER] AS languages#93, null[INTEGER] AS salary#94, TOLONG(y{r}#31) AS y#1 + * 12]] + * \_Subquery[] + * \_Project[[_meta_field{f}#68, emp_no{f}#62 AS x#28, first_name{f}#63, gender{f}#64, hire_date{f}#69, job{f}#70, job.raw{ + * f}#71, languages{f}#65 AS z#34, last_name{f}#66, long_noidx{f}#72, salary{f}#67 AS y#31, language_name{f}#74]] + * \_Limit[1000[INTEGER],true] + * \_Join[LEFT,[languages{f}#65],[language_code{f}#73],null] + * |_Limit[1000[INTEGER],false] + * | \_Filter[ISNOTNULL(emp_no{f}#62) AND languages{f}#65 > 0[INTEGER]] + * | \_EsRelation[test1][_meta_field{f}#68, emp_no{f}#62, first_name{f}#63, ..] + * \_EsRelation[languages_lookup][LOOKUP][language_code{f}#73, language_name{f}#74] + */ + public void testPushDownFilterOnReferenceAttributesPastUnionAll() { + assumeTrue("Requires subquery in FROM command support", EsqlCapabilities.Cap.SUBQUERY_IN_FROM_COMMAND.isEnabled()); + var plan = planSubquery(""" + FROM test + , (FROM test1 + | where salary < 100000 + | EVAL x = 1, y = emp_no, z = emp_no + 1) + , (FROM languages + | STATS cnt = COUNT(*) by language_code + | RENAME language_code AS z, cnt AS y + | EVAL x = 1) + , (FROM test1 + | RENAME languages AS language_code + | LOOKUP JOIN languages_lookup ON language_code + | RENAME emp_no AS x, salary AS y, language_code AS z) + | WHERE x is not null and y is not null and z > 0 + """); + + Limit limit = as(plan, Limit.class); + UnionAll unionAll = as(limit.child(), UnionAll.class); + assertEquals(4, unionAll.children().size()); + + LocalRelation child1 = as(unionAll.children().get(0), LocalRelation.class); + + EsqlProject child2 = as(unionAll.children().get(1), EsqlProject.class); + Filter filter = as(child2.child(), Filter.class); + IsNotNull isNotNull = as(filter.condition(), IsNotNull.class); + ReferenceAttribute y = as(isNotNull.field(), ReferenceAttribute.class); + assertEquals("y", y.name()); + Eval eval = as(filter.child(), Eval.class); + List aliases = eval.fields(); + assertEquals(2, aliases.size()); + assertEquals("language_name", aliases.get(0).name()); + assertEquals("y", aliases.get(1).name()); + Subquery subquery = as(eval.child(), Subquery.class); + Project project = as(subquery.child(), Project.class); + Limit childLimit = as(project.child(), Limit.class); + Filter childFilter = as(childLimit.child(), Filter.class); + GreaterThan greaterThan = as(childFilter.condition(), GreaterThan.class); + ReferenceAttribute z = as(greaterThan.left(), ReferenceAttribute.class); + assertEquals("z", z.name()); + Literal right = as(greaterThan.right(), Literal.class); + assertEquals(0, right.value()); + eval = as(childFilter.child(), Eval.class); + aliases = eval.fields(); + assertEquals(2, aliases.size()); + Alias aliasX = aliases.get(0); + assertEquals("x", aliasX.name()); + Literal xLiteral = as(aliasX.child(), Literal.class); + assertEquals(1, xLiteral.value()); + Alias aliasZ = aliases.get(1); + assertEquals("z", aliasZ.name()); + childFilter = as(eval.child(), Filter.class); + LessThan lessThan = as(childFilter.condition(), LessThan.class); + FieldAttribute salaryField = as(lessThan.left(), FieldAttribute.class); + assertEquals("salary", salaryField.name()); + Literal literal = as(lessThan.right(), Literal.class); + assertEquals(100000, literal.value()); + EsRelation relation = as(childFilter.child(), EsRelation.class); + assertEquals("test1", relation.indexPattern()); + + EsqlProject child3 = as(unionAll.children().get(2), EsqlProject.class); + eval = as(child3.child(), Eval.class); + subquery = as(eval.child(), Subquery.class); + eval = as(subquery.child(), Eval.class); + limit = as(eval.child(), Limit.class); + filter = as(limit.child(), Filter.class); + And and = as(filter.condition(), And.class); + isNotNull = as(and.left(), IsNotNull.class); + y = as(isNotNull.field(), ReferenceAttribute.class); + assertEquals("y", y.name()); + greaterThan = as(and.right(), GreaterThan.class); + z = as(greaterThan.left(), ReferenceAttribute.class); + assertEquals("z", z.name()); + right = as(greaterThan.right(), Literal.class); + assertEquals(0, right.value()); + Aggregate aggregate = as(filter.child(), Aggregate.class); + List groupings = aggregate.groupings(); + assertEquals(1, groupings.size()); + FieldAttribute language_code = as(groupings.get(0), FieldAttribute.class); + assertEquals("language_code", language_code.name()); + List aggregates = aggregate.aggregates(); + assertEquals(2, aggregates.size()); + assertEquals("y", aggregates.get(0).name()); + assertEquals("z", aggregates.get(1).name()); + relation = as(aggregate.child(), EsRelation.class); + assertEquals("languages", relation.indexPattern()); + + EsqlProject child4 = as(unionAll.children().get(3), EsqlProject.class); + filter = as(child4.child(), Filter.class); + isNotNull = as(filter.condition(), IsNotNull.class); + ReferenceAttribute x = as(isNotNull.field(), ReferenceAttribute.class); + assertEquals("y", x.name()); + eval = as(filter.child(), Eval.class); + aliases = eval.fields(); + assertEquals(4, aliases.size()); + subquery = as(eval.child(), Subquery.class); + project = as(subquery.child(), Project.class); + limit = as(project.child(), Limit.class); + Join lookupJoin = as(limit.child(), Join.class); + limit = as(lookupJoin.left(), Limit.class); + Filter leftFilter = as(limit.child(), Filter.class); + and = as(leftFilter.condition(), And.class); + isNotNull = as(and.left(), IsNotNull.class); + FieldAttribute emp_no = as(isNotNull.field(), FieldAttribute.class); + assertEquals("emp_no", emp_no.name()); + greaterThan = as(and.right(), GreaterThan.class); + language_code = as(greaterThan.left(), FieldAttribute.class); + assertEquals("languages", language_code.name()); + right = as(greaterThan.right(), Literal.class); + assertEquals(0, right.value()); + relation = as(leftFilter.child(), EsRelation.class); + assertEquals("test1", relation.indexPattern()); + relation = as(lookupJoin.right(), EsRelation.class); + assertEquals("languages_lookup", relation.indexPattern()); + } + + /** + * Limit[1000[INTEGER],false] + * \_UnionAll[[_meta_field{r}#35, emp_no{r}#36, first_name{r}#37, gender{r}#38, hire_date{r}#39, job{r}#40, job.raw{r}#41, l + * anguages{r}#42, last_name{r}#43, long_noidx{r}#44, salary{r}#45, x{r}#46, y{r}#47]] + * |_LocalRelation[[_meta_field{f}#17, emp_no{f}#11, first_name{f}#12, gender{f}#13, hire_date{f}#18, job{f}#19, job.raw{f}#20, l + * anguages{f}#14, last_name{f}#15, long_noidx{f}#21, salary{f}#16, x{r}#33, y{r}#34],EMPTY] + * \_EsqlProject[[_meta_field{f}#28, emp_no{f}#22, first_name{f}#23, gender{f}#24, hire_date{f}#29, job{f}#30, job.raw{f}#31, l + * anguages{f}#25, last_name{f}#26, long_noidx{f}#32, salary{f}#27, x{r}#4, y{r}#7]] + * \_Subquery[] + * \_Limit[1000[INTEGER],false] + * \_Filter[y{r}#7 > 0[INTEGER]] + * \_Eval[[1[INTEGER] AS x#4, emp_no{f}#22 + 1[INTEGER] AS y#7]] + * \_Filter[salary{f}#27 < 100000[INTEGER] AND emp_no{f}#22 > 0[INTEGER]] + * \_EsRelation[test1][_meta_field{f}#28, emp_no{f}#22, first_name{f}#23, ..] + */ + public void testPushDownFilterOnReferenceAttributesAndFieldAttributesPastUnionAll() { + assumeTrue("Requires subquery in FROM command support", EsqlCapabilities.Cap.SUBQUERY_IN_FROM_COMMAND.isEnabled()); + var plan = planSubquery(""" + FROM test, (FROM test1 | where salary < 100000 | EVAL x = 1, y = emp_no + 1) + | WHERE x is not null and y > 0 and emp_no > 0 + """); + + Limit limit = as(plan, Limit.class); + UnionAll unionAll = as(limit.child(), UnionAll.class); + assertEquals(2, unionAll.children().size()); + + LocalRelation child1 = as(unionAll.children().get(0), LocalRelation.class); + + EsqlProject child2 = as(unionAll.children().get(1), EsqlProject.class); + Subquery subquery = as(child2.child(), Subquery.class); + Limit childLimit = as(subquery.child(), Limit.class); + Filter childFilter = as(childLimit.child(), Filter.class); + GreaterThan greaterThan = as(childFilter.condition(), GreaterThan.class); + ReferenceAttribute y = as(greaterThan.left(), ReferenceAttribute.class); + assertEquals("y", y.name()); + Literal right = as(greaterThan.right(), Literal.class); + assertEquals(0, right.value()); + Eval eval = as(childFilter.child(), Eval.class); + List aliases = eval.fields(); + assertEquals(2, aliases.size()); + Alias aliasX = aliases.get(0); + assertEquals("x", aliasX.name()); + Literal xLiteral = as(aliasX.child(), Literal.class); + assertEquals(1, xLiteral.value()); + Alias aliasZ = aliases.get(1); + assertEquals("y", aliasZ.name()); + childFilter = as(eval.child(), Filter.class); + And and = as(childFilter.condition(), And.class); + greaterThan = as(and.right(), GreaterThan.class); + FieldAttribute emp_no = as(greaterThan.left(), FieldAttribute.class); + assertEquals("emp_no", emp_no.name()); + LessThan lessThan = as(and.left(), LessThan.class); + FieldAttribute salaryField = as(lessThan.left(), FieldAttribute.class); + assertEquals("salary", salaryField.name()); + Literal literal = as(lessThan.right(), Literal.class); + assertEquals(100000, literal.value()); + EsRelation relation = as(childFilter.child(), EsRelation.class); + assertEquals("test1", relation.indexPattern()); + } +} From 30c22956826b4e77d168bcaa946d3c15579583c0 Mon Sep 17 00:00:00 2001 From: Fang Xing Date: Tue, 7 Oct 2025 00:23:58 -0400 Subject: [PATCH 12/16] update according to review comments --- .../elasticsearch/xpack/esql/analysis/Analyzer.java | 12 ++++++------ .../logical/PushDownFilterAndLimitIntoUnionAll.java | 2 +- .../xpack/esql/plan/logical/UnionAll.java | 9 +++------ 3 files changed, 10 insertions(+), 13 deletions(-) diff --git a/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/analysis/Analyzer.java b/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/analysis/Analyzer.java index 94c93065a29f9..bee94bee44fe5 100644 --- a/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/analysis/Analyzer.java +++ b/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/analysis/Analyzer.java @@ -2277,9 +2277,9 @@ private static AggregateMetricDoubleBlockBuilder.Metric getMetric(AggregateFunct /** * Handle union types in UnionAll: - * 1. Push down explicit conversion functions into the UnionAll legs + * 1. Push down explicit conversion functions into the UnionAll branches * 2. Replace the explicit conversion functions with the corresponding attributes in the UnionAll output - * 3. Implicitly cast the outputs of the UnionAll legs to the common type if necessary + * 3. Implicitly cast the outputs of the UnionAll branches to the common type if necessary * 4. Update the attributes referencing the updated UnionAll output */ private static class ResolveUnionTypesInUnionAll extends Rule { @@ -2293,7 +2293,7 @@ private static class ResolveUnionTypesInUnionAll extends Rule(); updatedUnionAllOutput = new ArrayList<>(); - // First push down the conversion functions into the UnionAll legs + // First push down the conversion functions into the UnionAll branches LogicalPlan planWithConvertFunctionsPushedDown = plan.transformUp( UnionAll.class, unionAll -> maybePushDownConvertFunctions(unionAll, plan) @@ -2302,7 +2302,7 @@ public LogicalPlan apply(LogicalPlan plan) { // Then replace the conversion functions with the corresponding attributes in the UnionAll output LogicalPlan planWithConvertFunctionsReplaced = replaceConvertFunctions(planWithConvertFunctionsPushedDown); - // Next implicitly cast the outputs of the UnionAll legs to the common type if necessary + // Next implicitly cast the outputs of the UnionAll branches to the common type if necessary LogicalPlan planWithImplicitCasting = planWithConvertFunctionsReplaced.transformUp( UnionAll.class, unionAll -> unionAll.resolved() ? implicitCastingUnionAllOutput(unionAll, plan) : unionAll @@ -2322,7 +2322,7 @@ private LogicalPlan maybePushDownConvertFunctions(UnionAll unionAll, LogicalPlan return unionAll; } - // push down the conversion functions into the unionAll legs + // push down the conversion functions into the unionAll branches List newChildren = new ArrayList<>(unionAll.children().size()); boolean outputChanged = false; for (LogicalPlan child : unionAll.children()) { @@ -2420,7 +2420,7 @@ private LogicalPlan implicitCastingUnionAllOutput(UnionAll unionAll, LogicalPlan Map indexToCommonType = new HashMap<>(); - // Cast each leg's output to the common type + // Cast each branch's output to the common type List newChildren = new ArrayList<>(unionAll.children().size()); boolean outputChanged = false; for (LogicalPlan child : unionAll.children()) { diff --git a/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/optimizer/rules/logical/PushDownFilterAndLimitIntoUnionAll.java b/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/optimizer/rules/logical/PushDownFilterAndLimitIntoUnionAll.java index 2d2daec5dcb4f..0a5130ee454a0 100644 --- a/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/optimizer/rules/logical/PushDownFilterAndLimitIntoUnionAll.java +++ b/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/optimizer/rules/logical/PushDownFilterAndLimitIntoUnionAll.java @@ -54,7 +54,7 @@ public LogicalPlan apply(LogicalPlan logicalPlan) { ); } - /* Push down filters that can be evaluated by the UnionAll child/leg to each child/leg, + /* Push down filters that can be evaluated by the UnionAll branch to each branch, * so that the filters can be pushed down further to the data source when possible. * Filters that cannot be pushed down remain above the UnionAll. * diff --git a/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/plan/logical/UnionAll.java b/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/plan/logical/UnionAll.java index c605c13120876..b0cd4515337ff 100644 --- a/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/plan/logical/UnionAll.java +++ b/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/plan/logical/UnionAll.java @@ -22,26 +22,23 @@ public class UnionAll extends Fork implements PostOptimizationPlanVerificationAware { - private final List output; - public UnionAll(Source source, List children, List output) { super(source, children, output); - this.output = output; } @Override public LogicalPlan replaceChildren(List newChildren) { - return new UnionAll(source(), newChildren, output); + return new UnionAll(source(), newChildren, output()); } @Override protected NodeInfo info() { - return NodeInfo.create(this, UnionAll::new, children(), output); + return NodeInfo.create(this, UnionAll::new, children(), output()); } @Override public UnionAll replaceSubPlans(List subPlans) { - return new UnionAll(source(), subPlans, output); + return new UnionAll(source(), subPlans, output()); } @Override From f06b7a2d466383252c6010824647ef5298eb22a9 Mon Sep 17 00:00:00 2001 From: Fang Xing Date: Tue, 7 Oct 2025 13:37:13 -0400 Subject: [PATCH 13/16] remove subquery merging in parser, add tests for subqueries with request filter --- .../xpack/esql/qa/rest/RestEsqlTestCase.java | 17 + .../src/main/resources/subquery.csv-spec | 21 +- .../xpack/esql/analysis/PreAnalyzer.java | 4 - .../xpack/esql/parser/LogicalPlanBuilder.java | 40 +- .../xpack/esql/parser/SubqueryTests.java | 424 +++++++++++++++--- 5 files changed, 414 insertions(+), 92 deletions(-) diff --git a/x-pack/plugin/esql/qa/server/src/main/java/org/elasticsearch/xpack/esql/qa/rest/RestEsqlTestCase.java b/x-pack/plugin/esql/qa/server/src/main/java/org/elasticsearch/xpack/esql/qa/rest/RestEsqlTestCase.java index 717d0d563658c..2653a652c0eca 100644 --- a/x-pack/plugin/esql/qa/server/src/main/java/org/elasticsearch/xpack/esql/qa/rest/RestEsqlTestCase.java +++ b/x-pack/plugin/esql/qa/server/src/main/java/org/elasticsearch/xpack/esql/qa/rest/RestEsqlTestCase.java @@ -1317,6 +1317,23 @@ public void testTopLevelFilterBoolMerged() throws IOException { } } + public void testTopLevelFilterWithSubqueriesInFromCommand() throws IOException { + bulkLoadTestData(10); + + String query = format(null, "FROM {} , (FROM {} | WHERE integer < 8) | STATS count(*)", testIndexName(), testIndexName()); + + RequestObjectBuilder builder = requestObjectBuilder().filter(b -> { + b.startObject("range"); + { + b.startObject("integer").field("gte", "5").endObject(); + } + b.endObject(); + }).query(query); + + Map result = runEsql(builder); + assertResultMap(result, matchesList().item(matchesMap().entry("name", "count(*)").entry("type", "long")), List.of(List.of(8))); + } + private static String queryWithComplexFieldNames(int field) { StringBuilder query = new StringBuilder(); query.append(" | keep ").append(randomAlphaOfLength(10)).append(1); diff --git a/x-pack/plugin/esql/qa/testFixtures/src/main/resources/subquery.csv-spec b/x-pack/plugin/esql/qa/testFixtures/src/main/resources/subquery.csv-spec index 02c22df27f49a..d18118210f431 100644 --- a/x-pack/plugin/esql/qa/testFixtures/src/main/resources/subquery.csv-spec +++ b/x-pack/plugin/esql/qa/testFixtures/src/main/resources/subquery.csv-spec @@ -2,7 +2,7 @@ // CSV spec for subqueries // -subqueryInFromMergeToMainIndexPattern +subqueryInFrom required_capability: fork_v9 required_capability: subquery_in_from_command @@ -25,6 +25,25 @@ null | null | 172.21.3.15 null | null | 172.21.3.15 ; +subqueryInFromWithIdenticalIndexPatternsInMainAndSubquery +required_capability: fork_v9 +required_capability: subquery_in_from_command + +FROM employees, (FROM employees) +| WHERE emp_no >= 10091 AND emp_no < 10094 +| SORT emp_no +| KEEP emp_no, languages +; + +emp_no:integer | languages:integer +10091 | 3 +10091 | 3 +10092 | 1 +10092 | 1 +10093 | 3 +10093 | 3 +; + subqueryInFromWithEvalInSubquery required_capability: fork_v9 required_capability: subquery_in_from_command diff --git a/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/analysis/PreAnalyzer.java b/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/analysis/PreAnalyzer.java index 7b9847288593d..8b36714ca3c9a 100644 --- a/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/analysis/PreAnalyzer.java +++ b/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/analysis/PreAnalyzer.java @@ -116,10 +116,6 @@ private void collectSubqueryIndexPattern( Set subqueryIndices, IndexPattern mainIndexPattern ) { - if (relation.preAnalyzed()) { - return; - } - IndexPattern pattern = relation.indexPattern(); boolean isLookup = relation.indexMode() == IndexMode.LOOKUP; boolean isMainIndexPattern = pattern == mainIndexPattern; diff --git a/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/parser/LogicalPlanBuilder.java b/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/parser/LogicalPlanBuilder.java index 1bcd80944d557..212c8a04299dd 100644 --- a/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/parser/LogicalPlanBuilder.java +++ b/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/parser/LogicalPlanBuilder.java @@ -356,40 +356,17 @@ private LogicalPlan visitRelation(Source source, IndexMode indexMode, EsqlBasePa if (indexMode == IndexMode.TIME_SERIES) { throw new ParsingException(source, "Subqueries are not supported in TS command"); } - // If the subquery has only from command, combine the subquery index patterns into the main index pattern - // from idx1, idx2, (from idx3), (from idx4) => from idx1, idx2, idx3, idx4 - List remainingSubqueries = new ArrayList<>(subqueries.size()); - for (Subquery subquery : subqueries) { - String subqueryIndexPattern = getIndexPatternIfOnlyFrom(subquery); - boolean canCombine = subqueryIndexPattern != null && metadataFields.isEmpty(); - if (canCombine) { - // the subquery has only from command without metadata fields, combine the index patterns - // as how or whether combining metadata fields is unclear yet - String existingIndexPattern = table.indexPattern(); - String combinedPattern = existingIndexPattern.isEmpty() - ? subqueryIndexPattern - : existingIndexPattern + "," + subqueryIndexPattern; - table = new IndexPattern(table.source(), combinedPattern); - unresolvedRelation = new UnresolvedRelation(source, table, false, metadataFields, indexMode, null, commandName); - } else { - remainingSubqueries.add(subquery); - } - } - - if (remainingSubqueries.isEmpty()) { - return unresolvedRelation; - } - List mainQueryAndSubqueries = new ArrayList<>(remainingSubqueries.size() + 1); + List mainQueryAndSubqueries = new ArrayList<>(subqueries.size() + 1); if (table.indexPattern().isEmpty() == false) { mainQueryAndSubqueries.add(unresolvedRelation); telemetryAccounting(unresolvedRelation); } - mainQueryAndSubqueries.addAll(remainingSubqueries); + mainQueryAndSubqueries.addAll(subqueries); if (mainQueryAndSubqueries.size() == 1) { // if there is only one child, return it directly, no need for UnionAll - return table.indexPattern().isEmpty() ? remainingSubqueries.get(0).plan() : unresolvedRelation; + return table.indexPattern().isEmpty() ? subqueries.get(0).plan() : unresolvedRelation; } else { // the output of UnionAll is resolved by analyzer return new UnionAll(source, mainQueryAndSubqueries, List.of()); @@ -397,17 +374,6 @@ private LogicalPlan visitRelation(Source source, IndexMode indexMode, EsqlBasePa } } - /** - * If the subquery plan is only a from command, return the index pattern; otherwise return null. - */ - private String getIndexPatternIfOnlyFrom(Subquery subquery) { - LogicalPlan plan = subquery.plan(); - if (plan instanceof UnresolvedRelation ur) { - return ur.indexPattern().indexPattern(); - } - return null; - } - private List visitSubqueriesInFromCommand(List ctxs) { if (EsqlCapabilities.Cap.SUBQUERY_IN_FROM_COMMAND.isEnabled() == false) { return List.of(); diff --git a/x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/parser/SubqueryTests.java b/x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/parser/SubqueryTests.java index 0f58298f91e70..3d3aeb353850b 100644 --- a/x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/parser/SubqueryTests.java +++ b/x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/parser/SubqueryTests.java @@ -49,8 +49,10 @@ public class SubqueryTests extends AbstractStatementParserTests { /** - * Simple subqueries in the FROM command can be merged into index patterns - * e.g. FROM index1, (FROM index2) ==> FROM index1,index2 + * UnionAll[[]] + * |_UnresolvedRelation[] + * \_Subquery[] + * \_UnresolvedRelation[] */ public void testIndexPatternWithSubquery() { assumeTrue("Requires subquery in FROM command support", EsqlCapabilities.Cap.SUBQUERY_IN_FROM_COMMAND.isEnabled()); @@ -61,11 +63,17 @@ public void testIndexPatternWithSubquery() { """, mainQueryIndexPattern, subqueryIndexPattern); LogicalPlan plan = statement(query); - UnresolvedRelation unresolvedRelation = as(plan, UnresolvedRelation.class); - assertEquals( - unquoteIndexPattern(mainQueryIndexPattern) + "," + unquoteIndexPattern(subqueryIndexPattern), - unresolvedRelation.indexPattern().indexPattern() - ); + + UnionAll unionAll = as(plan, UnionAll.class); + List children = unionAll.children(); + assertEquals(2, children.size()); + + UnresolvedRelation unresolvedRelation = as(children.get(0), UnresolvedRelation.class); + assertEquals(unquoteIndexPattern(mainQueryIndexPattern), unresolvedRelation.indexPattern().indexPattern()); + + Subquery subquery = as(children.get(1), Subquery.class); + unresolvedRelation = as(subquery.plan(), UnresolvedRelation.class); + assertEquals(unquoteIndexPattern(subqueryIndexPattern), unresolvedRelation.indexPattern().indexPattern()); } /** @@ -73,7 +81,49 @@ public void testIndexPatternWithSubquery() { * All processing commands are supported in the main query when subqueries exist in the * FROM command. With an exception on FORK, the grammar or parser doesn't block FORK, * however nested FORK will error out in the analysis or logical planning phase. We are hoping - * to lift this restriction in the future, so it is not blocked in the grammar.. + * to lift this restriction in the future, so it is not blocked in the grammar. + * + * Rerank[test_reranker[KEYWORD],war and peace[KEYWORD],[?title AS title#45],?_score] + * \_Sample[0.5[DOUBLE]] + * \_Completion[test_completion[KEYWORD],?prompt,?completion_output] + * \_ChangePoint[?count,?@timestamp,type{r}#39,pvalue{r}#40] + * \_Enrich[ANY,clientip_policy[KEYWORD],?client_ip,null,{},[?env]] + * \_LookupJoin[LEFT,[?n],[?n],false,null] + * |_MvExpand[?m,?m] + * | \_Rename[[?k AS l#29]] + * | \_Keep[[?j]] + * | \_Drop[[?i]] + * | \_Limit[10[INTEGER],false] + * | \_OrderBy[[Order[?cnt,DESC,FIRST]]] + * | \_Grok[?h,Parser[pattern=%{WORD:word} %{NUMBER:number}, + * grok=org.elasticsearch.grok.Grok@710201ab],[number{r}#22, word{ + * r}#23]] + * | \_Dissect[?g,Parser[pattern=%{b} %{c}, appendSeparator=, + * parser=org.elasticsearch.dissect.DissectParser@6bd8533a],[b{r}#16 + * , c{r}#17]] + * | \_InlineStats[] + * | \_Aggregate[[?f],[?MAX[?e] AS max_e#14, ?f]] + * | \_Aggregate[[?e],[?COUNT[*] AS cnt#11, ?e]] + * | \_Fork[[]] + * | |_Eval[[fork1[KEYWORD] AS _fork#7]] + * | | \_Filter[?c > 100[INTEGER]] + * | | \_Eval[[?a * 2[INTEGER] AS b#5]] + * | | \_Filter[?a > 10[INTEGER]] + * | | \_UnionAll[[]] + * | | |_UnresolvedRelation[] + * | | \_Subquery[] + * | | \_Filter[?a < 100[INTEGER]] + * | | \_UnresolvedRelation[] + * | \_Eval[[fork2[KEYWORD] AS _fork#7]] + * | \_Filter[?d > 200[INTEGER]] + * | \_Eval[[?a * 2[INTEGER] AS b#5]] + * | \_Filter[?a < 10[INTEGER]] + * | \_UnionAll[[]] + * | |_UnresolvedRelation[] + * | \_Subquery[] + * | \_Filter[?a < 100[INTEGER]] + * | \_UnresolvedRelation[] + * \_UnresolvedRelation[lookup_index] */ public void testSubqueryWithAllProcessingCommandsInMainquery() { assumeTrue("Requires subquery in FROM command support", EsqlCapabilities.Cap.SUBQUERY_IN_FROM_COMMAND.isEnabled()); @@ -156,6 +206,43 @@ public void testSubqueryWithAllProcessingCommandsInMainquery() { * the grammar or parser doesn't block FORK, however nested FORK will error out in the analysis * or logical planning phase. We are hoping to lift this restriction in the future, so it is not blocked * in the grammar. + * + * UnionAll[[]] + * |_UnresolvedRelation[] + * \_Subquery[] + * \_Rerank[test_reranker[KEYWORD],war and peace[KEYWORD],[?title AS title#30],?_score] + * \_Sample[0.5[DOUBLE]] + * \_Completion[test_completion[KEYWORD],?prompt,?completion_output] + * \_ChangePoint[?count,?@timestamp,type{r}#24,pvalue{r}#25] + * \_Enrich[ANY,clientip_policy[KEYWORD],?client_ip,null,{},[?env]] + * \_LookupJoin[LEFT,[?n],[?n],false,null] + * |_MvExpand[?m,?m] + * | \_Rename[[?k AS l#17]] + * | \_Keep[[?j]] + * | \_Drop[[?i]] + * | \_Limit[10[INTEGER],false] + * | \_OrderBy[[Order[?cnt,DESC,FIRST]]] + * | \_Grok[?h,Parser[pattern=%{WORD:word} %{NUMBER:number}, + * grok=org.elasticsearch.grok.Grok@2d54cab4],[number{r}#41, word{ + * r}#42]] + * | \_Dissect[?g,Parser[pattern=%{b} %{c}, appendSeparator=, + * parser=org.elasticsearch.dissect.DissectParser@5ca49d89],[b{r}#35 + * , c{r}#36]] + * | \_InlineStats[] + * | \_Aggregate[[?f],[?MAX[?e] AS max_e#10, ?f]] + * | \_Aggregate[[?e],[?COUNT[*] AS cnt#7, ?e]] + * | \_Fork[[]] + * | |_Eval[[fork1[KEYWORD] AS _fork#3]] + * | | \_Filter[?c < 100[INTEGER]] + * | | \_Eval[[?a * 2[INTEGER] AS b#34]] + * | | \_Filter[?a > 10[INTEGER]] + * | | \_UnresolvedRelation[] + * | \_Eval[[fork2[KEYWORD] AS _fork#3]] + * | \_Filter[?d > 200[INTEGER]] + * | \_Eval[[?a * 2[INTEGER] AS b#34]] + * | \_Filter[?a > 10[INTEGER]] + * | \_UnresolvedRelation[] + * \_UnresolvedRelation[lookup_index] */ public void testWithSubqueryWithProcessingCommandsInSubquery() { assumeTrue("Requires subquery in FROM command support", EsqlCapabilities.Cap.SUBQUERY_IN_FROM_COMMAND.isEnabled()); @@ -227,6 +314,7 @@ public void testWithSubqueryWithProcessingCommandsInSubquery() { /** * A combination of the two previous tests with processing commands in both the subquery and main query. + * Plan string is skipped as it is too long. */ public void testSubqueryWithProcessingCommandsInSubqueryAndMainquery() { assumeTrue("Requires subquery in FROM command support", EsqlCapabilities.Cap.SUBQUERY_IN_FROM_COMMAND.isEnabled()); @@ -381,29 +469,60 @@ public void testSubqueryEndsWithProcessingCommandsInDifferentMode() { } /** - * If the FROM command contains only a subquery, the subquery is merged into an index pattern + * UnionAll[[]] + * |_Subquery[] + * | \_UnresolvedRelation[] + * |_Subquery[] + * | \_UnresolvedRelation[] + * \_Subquery[] + * \_UnresolvedRelation[] */ public void testSubqueryOnly() { assumeTrue("Requires subquery in FROM command support", EsqlCapabilities.Cap.SUBQUERY_IN_FROM_COMMAND.isEnabled()); var subqueryIndexPattern1 = randomIndexPatterns(); var subqueryIndexPattern2 = randomIndexPatterns(); var subqueryIndexPattern3 = randomIndexPatterns(); - var combinedIndexPattern = unquoteIndexPattern(subqueryIndexPattern1) - + "," - + unquoteIndexPattern(subqueryIndexPattern2) - + "," - + unquoteIndexPattern(subqueryIndexPattern3); String query = LoggerMessageFormat.format(null, """ FROM (FROM {}), (FROM {}), (FROM {}) """, subqueryIndexPattern1, subqueryIndexPattern2, subqueryIndexPattern3); LogicalPlan plan = statement(query); - UnresolvedRelation unresolvedRelation = as(plan, UnresolvedRelation.class); - assertEquals(combinedIndexPattern, unresolvedRelation.indexPattern().indexPattern()); + UnionAll unionAll = as(plan, UnionAll.class); + List children = unionAll.children(); + assertEquals(3, children.size()); + + Subquery subquery = as(children.get(0), Subquery.class); + UnresolvedRelation unresolvedRelation = as(subquery.child(), UnresolvedRelation.class); + assertEquals(unquoteIndexPattern(subqueryIndexPattern1), unresolvedRelation.indexPattern().indexPattern()); + + subquery = as(children.get(1), Subquery.class); + unresolvedRelation = as(subquery.child(), UnresolvedRelation.class); + assertEquals(unquoteIndexPattern(subqueryIndexPattern2), unresolvedRelation.indexPattern().indexPattern()); + + subquery = as(children.get(2), Subquery.class); + unresolvedRelation = as(subquery.child(), UnresolvedRelation.class); + assertEquals(unquoteIndexPattern(subqueryIndexPattern3), unresolvedRelation.indexPattern().indexPattern()); } /** - * If the FROM command contains only a subquery, the subquery is merged into an index pattern + * If the FROM command contains only a subquery, the subquery is merged into an index pattern. + * + * Keep[[?g]] + * \_Drop[[?f]] + * \_Limit[10[INTEGER],false] + * \_OrderBy[[Order[?cnt,DESC,FIRST]]] + * \_Aggregate[[?e],[?COUNT[*] AS cnt#10, ?e]] + * \_Fork[[]] + * |_Eval[[fork1[KEYWORD] AS _fork#6]] + * | \_Filter[?c < 100[INTEGER]] + * | \_Eval[[?a * 2[INTEGER] AS b#4]] + * | \_Filter[?a > 10[INTEGER]] + * | \_UnresolvedRelation[] + * \_Eval[[fork2[KEYWORD] AS _fork#6]] + * \_Filter[?d > 200[INTEGER]] + * \_Eval[[?a * 2[INTEGER] AS b#4]] + * \_Filter[?a > 10[INTEGER]] + * \_UnresolvedRelation[] */ public void testSubqueryOnlyWithProcessingCommandInMainquery() { assumeTrue("Requires subquery in FROM command support", EsqlCapabilities.Cap.SUBQUERY_IN_FROM_COMMAND.isEnabled()); @@ -438,6 +557,24 @@ public void testSubqueryOnlyWithProcessingCommandInMainquery() { } } + /** + * Keep[[?g]] + * \_Drop[[?f]] + * \_Limit[10[INTEGER],false] + * \_OrderBy[[Order[?cnt,DESC,FIRST]]] + * \_Aggregate[[?e],[?COUNT[*] AS cnt#7, ?e]] + * \_Fork[[]] + * |_Eval[[fork1[KEYWORD] AS _fork#3]] + * | \_Filter[?c < 100[INTEGER]] + * | \_Eval[[?a * 2[INTEGER] AS b#13]] + * | \_Filter[?a > 10[INTEGER]] + * | \_UnresolvedRelation[] + * \_Eval[[fork2[KEYWORD] AS _fork#3]] + * \_Filter[?d > 200[INTEGER]] + * \_Eval[[?a * 2[INTEGER] AS b#13]] + * \_Filter[?a > 10[INTEGER]] + * \_UnresolvedRelation[] + */ public void testSubqueryOnlyWithProcessingCommandsInSubquery() { assumeTrue("Requires subquery in FROM command support", EsqlCapabilities.Cap.SUBQUERY_IN_FROM_COMMAND.isEnabled()); var subqueryIndexPattern = randomIndexPatterns(); @@ -472,7 +609,54 @@ public void testSubqueryOnlyWithProcessingCommandsInSubquery() { } /** - * If the FROM command contains only a subquery, the subquery is merged into an index pattern + * If the FROM command contains only a subquery, the subquery is merged into an index pattern. + * + * Keep[[?g]] + * \_Drop[[?f]] + * \_Limit[10[INTEGER],false] + * \_OrderBy[[Order[?cnt,DESC,FIRST]]] + * \_Aggregate[[?e],[?COUNT[*] AS cnt#23, ?e]] + * \_Fork[[]] + * |_Eval[[fork1[KEYWORD] AS _fork#19]] + * | \_Filter[?c < 100[INTEGER]] + * | \_Eval[[?a * 2[INTEGER] AS b#17]] + * | \_Filter[?a > 10[INTEGER]] + * | \_Keep[[?g]] + * | \_Drop[[?f]] + * | \_Limit[10[INTEGER],false] + * | \_OrderBy[[Order[?cnt,DESC,FIRST]]] + * | \_Aggregate[[?e],[?COUNT[*] AS cnt#7, ?e]] + * | \_Fork[[]] + * | |_Eval[[fork1[KEYWORD] AS _fork#3]] + * | | \_Filter[?c < 100[INTEGER]] + * | | \_Eval[[?a * 2[INTEGER] AS b#13]] + * | | \_Filter[?a > 10[INTEGER]] + * | | \_UnresolvedRelation[] + * | \_Eval[[fork2[KEYWORD] AS _fork#3]] + * | \_Filter[?d > 200[INTEGER]] + * | \_Eval[[?a * 2[INTEGER] AS b#13]] + * | \_Filter[?a > 10[INTEGER]] + * | \_UnresolvedRelation[] + * \_Eval[[fork2[KEYWORD] AS _fork#19]] + * \_Filter[?d > 200[INTEGER]] + * \_Eval[[?a * 2[INTEGER] AS b#17]] + * \_Filter[?a > 10[INTEGER]] + * \_Keep[[?g]] + * \_Drop[[?f]] + * \_Limit[10[INTEGER],false] + * \_OrderBy[[Order[?cnt,DESC,FIRST]]] + * \_Aggregate[[?e],[?COUNT[*] AS cnt#7, ?e]] + * \_Fork[[]] + * |_Eval[[fork1[KEYWORD] AS _fork#3]] + * | \_Filter[?c < 100[INTEGER]] + * | \_Eval[[?a * 2[INTEGER] AS b#13]] + * | \_Filter[?a > 10[INTEGER]] + * | \_UnresolvedRelation[] + * \_Eval[[fork2[KEYWORD] AS _fork#3]] + * \_Filter[?d > 200[INTEGER]] + * \_Eval[[?a * 2[INTEGER] AS b#13]] + * \_Filter[?a > 10[INTEGER]] + * \_UnresolvedRelation[] */ public void testSubqueryOnlyWithProcessingCommandsInSubqueryAndMainquery() { assumeTrue("Requires subquery in FROM command support", EsqlCapabilities.Cap.SUBQUERY_IN_FROM_COMMAND.isEnabled()); @@ -532,8 +716,12 @@ public void testSubqueryOnlyWithProcessingCommandsInSubqueryAndMainquery() { } /** - * Simple subqueries in the FROM command can be merged into index patterns - * e.g. FROM index1, (FROM index2), index3, (FROM index4) ==> FROM index1,index3,index2,index4 + * UnionAll[[]] + * |_UnresolvedRelation[] + * |_Subquery[] + * | \_UnresolvedRelation[] + * \_Subquery[] + * \_UnresolvedRelation[] */ public void testMultipleMixedIndexPatternsAndSubqueries() { assumeTrue("Requires subquery in FROM command support", EsqlCapabilities.Cap.SUBQUERY_IN_FROM_COMMAND.isEnabled()); @@ -541,22 +729,100 @@ public void testMultipleMixedIndexPatternsAndSubqueries() { var indexPattern2 = randomIndexPatterns(); var indexPattern3 = randomIndexPatterns(); var indexPattern4 = randomIndexPatterns(); - var combinedIndexPattern = unquoteIndexPattern(indexPattern1) - + "," - + unquoteIndexPattern(indexPattern3) - + "," - + unquoteIndexPattern(indexPattern2) - + "," - + unquoteIndexPattern(indexPattern4); String query = LoggerMessageFormat.format(null, """ FROM {}, (FROM {}), {}, (FROM {}) """, indexPattern1, indexPattern2, indexPattern3, indexPattern4); LogicalPlan plan = statement(query); - UnresolvedRelation unresolvedRelation = as(plan, UnresolvedRelation.class); - assertEquals(combinedIndexPattern, unresolvedRelation.indexPattern().indexPattern()); + UnionAll unionAll = as(plan, UnionAll.class); + List children = unionAll.children(); + assertEquals(3, children.size()); + + UnresolvedRelation unresolvedRelation = as(children.get(0), UnresolvedRelation.class); + assertEquals( + unquoteIndexPattern(indexPattern1) + "," + unquoteIndexPattern(indexPattern3), + unresolvedRelation.indexPattern().indexPattern() + ); + + Subquery subquery1 = as(children.get(1), Subquery.class); + unresolvedRelation = as(subquery1.child(), UnresolvedRelation.class); + assertEquals(unquoteIndexPattern(indexPattern2), unresolvedRelation.indexPattern().indexPattern()); + + Subquery subquery2 = as(children.get(2), Subquery.class); + unresolvedRelation = as(subquery2.child(), UnresolvedRelation.class); + assertEquals(unquoteIndexPattern(indexPattern4), unresolvedRelation.indexPattern().indexPattern()); } + /** + * Keep[[?g]] + * \_Drop[[?f]] + * \_Limit[10[INTEGER],false] + * \_OrderBy[[Order[?cnt,DESC,FIRST]]] + * \_Aggregate[[?e],[?COUNT[*] AS cnt#25, ?e]] + * \_Fork[[]] + * |_Eval[[fork1[KEYWORD] AS _fork#21]] + * | \_Filter[?c < 100[INTEGER]] + * | \_LookupJoin[LEFT,[?c],[?c],true,null] + * | |_Eval[[?a * 2[INTEGER] AS b#18]] + * | | \_Filter[?a > 10[INTEGER]] + * | | \_UnionAll[[]] + * | | |_UnresolvedRelation[] + * | | |_Subquery[] + * | | | \_Keep[[?g]] + * | | | \_Drop[[?f]] + * | | | \_Limit[10[INTEGER],false] + * | | | \_OrderBy[[Order[?cnt,DESC,FIRST]]] + * | | | \_Aggregate[[?e],[?COUNT[*] AS cnt#8, ?e]] + * | | | \_Fork[[]] + * | | | |_Eval[[fork1[KEYWORD] AS _fork#4]] + * | | | | \_Filter[?c < 100[INTEGER]] + * | | | | \_LookupJoin[LEFT,[?c],[?c],true,null] + * | | | | |_Eval[[?a * 2[INTEGER] AS b#14]] + * | | | | | \_Filter[?a > 10[INTEGER]] + * | | | | | \_UnresolvedRelation[] + * | | | | \_UnresolvedRelation[lookup_index] + * | | | \_Eval[[fork2[KEYWORD] AS _fork#4]] + * | | | \_Filter[?d > 200[INTEGER]] + * | | | \_LookupJoin[LEFT,[?c],[?c],true,null] + * | | | |_Eval[[?a * 2[INTEGER] AS b#14]] + * | | | | \_Filter[?a > 10[INTEGER]] + * | | | | \_UnresolvedRelation[] + * | | | \_UnresolvedRelation[lookup_index] + * | | \_Subquery[] + * | | \_UnresolvedRelation[] + * | \_UnresolvedRelation[lookup_index] + * \_Eval[[fork2[KEYWORD] AS _fork#21]] + * \_Filter[?d > 200[INTEGER]] + * \_LookupJoin[LEFT,[?c],[?c],true,null] + * |_Eval[[?a * 2[INTEGER] AS b#18]] + * | \_Filter[?a > 10[INTEGER]] + * | \_UnionAll[[]] + * | |_UnresolvedRelation[] + * | |_Subquery[] + * | | \_Keep[[?g]] + * | | \_Drop[[?f]] + * | | \_Limit[10[INTEGER],false] + * | | \_OrderBy[[Order[?cnt,DESC,FIRST]]] + * | | \_Aggregate[[?e],[?COUNT[*] AS cnt#8, ?e]] + * | | \_Fork[[]] + * | | |_Eval[[fork1[KEYWORD] AS _fork#4]] + * | | | \_Filter[?c < 100[INTEGER]] + * | | | \_LookupJoin[LEFT,[?c],[?c],true,null] + * | | | |_Eval[[?a * 2[INTEGER] AS b#14]] + * | | | | \_Filter[?a > 10[INTEGER]] + * | | | | \_UnresolvedRelation[] + * | | | \_UnresolvedRelation[lookup_index] + * | | \_Eval[[fork2[KEYWORD] AS _fork#4]] + * | | \_Filter[?d > 200[INTEGER]] + * | | \_LookupJoin[LEFT,[?c],[?c],true,null] + * | | |_Eval[[?a * 2[INTEGER] AS b#14]] + * | | | \_Filter[?a > 10[INTEGER]] + * | | | \_UnresolvedRelation[] + * | | \_UnresolvedRelation[lookup_index] + * | \_Subquery[] + * | \_UnresolvedRelation[] + * \_UnresolvedRelation[lookup_index] + */ public void testMultipleSubqueriesWithProcessingCommands() { assumeTrue("Requires subquery in FROM command support", EsqlCapabilities.Cap.SUBQUERY_IN_FROM_COMMAND.isEnabled()); var mainIndexPattern1 = randomIndexPatterns(); @@ -564,11 +830,7 @@ public void testMultipleSubqueriesWithProcessingCommands() { var subqueryIndexPattern1 = randomIndexPatterns(); var subqueryIndexPattern2 = randomIndexPatterns(); var joinIndexPattern = "lookup_index"; - var combinedIndexPattern = unquoteIndexPattern(mainIndexPattern1) - + "," - + unquoteIndexPattern(mainIndexPattern2) - + "," - + unquoteIndexPattern(subqueryIndexPattern2); + var combinedIndexPattern = unquoteIndexPattern(mainIndexPattern1) + "," + unquoteIndexPattern(mainIndexPattern2); String query = LoggerMessageFormat.format(null, """ FROM {}, (FROM {} | WHERE a > 10 @@ -611,7 +873,7 @@ public void testMultipleSubqueriesWithProcessingCommands() { UnionAll unionAll = as(filter.child(), UnionAll.class); List children = unionAll.children(); - assertEquals(2, children.size()); + assertEquals(3, children.size()); UnresolvedRelation unresolvedRelation = as(children.get(0), UnresolvedRelation.class); assertEquals(unquoteIndexPattern(combinedIndexPattern), unresolvedRelation.indexPattern().indexPattern()); @@ -631,18 +893,30 @@ public void testMultipleSubqueriesWithProcessingCommands() { Filter subqueryForkFilter = as(subqueryForkEval.child(), Filter.class); LookupJoin subqueryLookupJoin = as(subqueryForkFilter.child(), LookupJoin.class); Eval subqueryEval = as(subqueryLookupJoin.left(), Eval.class); - UnresolvedRelation subqueryJoinRelation = as(subqueryLookupJoin.right(), UnresolvedRelation.class); - assertEquals(unquoteIndexPattern(joinIndexPattern), subqueryJoinRelation.indexPattern().indexPattern()); + joinRelation = as(subqueryLookupJoin.right(), UnresolvedRelation.class); + assertEquals(unquoteIndexPattern(joinIndexPattern), joinRelation.indexPattern().indexPattern()); Filter subqueryFilter = as(subqueryEval.child(), Filter.class); - UnresolvedRelation subqueryRelation = as(subqueryFilter.child(), UnresolvedRelation.class); - assertEquals(unquoteIndexPattern(subqueryIndexPattern1), subqueryRelation.indexPattern().indexPattern()); + unresolvedRelation = as(subqueryFilter.child(), UnresolvedRelation.class); + assertEquals(unquoteIndexPattern(subqueryIndexPattern1), unresolvedRelation.indexPattern().indexPattern()); } + + Subquery subquery2 = as(children.get(2), Subquery.class); + unresolvedRelation = as(subquery2.plan(), UnresolvedRelation.class); + assertEquals(unquoteIndexPattern(subqueryIndexPattern2), unresolvedRelation.indexPattern().indexPattern()); } } /** - * Simple nested subqueries can be flattened by LogicalPlanBuilder. - * e.g. FROM index1, (FROM index2, (FROM index3, (FROM index4))) ==> FROM index1,index2,index3,index4 + * UnionAll[[]] + * |_UnresolvedRelation[] + * \_Subquery[] + * \_UnionAll[[]] + * |_UnresolvedRelation[] + * \_Subquery[] + * \_UnionAll[[]] + * |_UnresolvedRelation[] + * \_Subquery[] + * \_UnresolvedRelation[] */ public void testSimpleNestedSubquery() { assumeTrue("Requires subquery in FROM command support", EsqlCapabilities.Cap.SUBQUERY_IN_FROM_COMMAND.isEnabled()); @@ -650,25 +924,57 @@ public void testSimpleNestedSubquery() { var indexPattern2 = randomIndexPatterns(); var indexPattern3 = randomIndexPatterns(); var indexPattern4 = randomIndexPatterns(); - var combinedIndexPattern = unquoteIndexPattern(indexPattern1) - + "," - + unquoteIndexPattern(indexPattern2) - + "," - + unquoteIndexPattern(indexPattern3) - + "," - + unquoteIndexPattern(indexPattern4); String query = LoggerMessageFormat.format(null, """ FROM {}, (FROM {}, (FROM {}, (FROM {}))) """, indexPattern1, indexPattern2, indexPattern3, indexPattern4); LogicalPlan plan = statement(query); - UnresolvedRelation unresolvedRelation = as(plan, UnresolvedRelation.class); - assertEquals(unquoteIndexPattern(combinedIndexPattern), unresolvedRelation.indexPattern().indexPattern()); + + UnionAll unionAll = as(plan, UnionAll.class); + List children = unionAll.children(); + assertEquals(2, children.size()); + + UnresolvedRelation unresolvedRelation = as(children.get(0), UnresolvedRelation.class); + assertEquals(unquoteIndexPattern(indexPattern1), unresolvedRelation.indexPattern().indexPattern()); + + Subquery subquery1 = as(children.get(1), Subquery.class); + unionAll = as(subquery1.plan(), UnionAll.class); + children = unionAll.children(); + assertEquals(2, children.size()); + + unresolvedRelation = as(children.get(0), UnresolvedRelation.class); + assertEquals(unquoteIndexPattern(indexPattern2), unresolvedRelation.indexPattern().indexPattern()); + + Subquery subquery2 = as(children.get(1), Subquery.class); + unionAll = as(subquery2.plan(), UnionAll.class); + children = unionAll.children(); + assertEquals(2, children.size()); + + unresolvedRelation = as(children.get(0), UnresolvedRelation.class); + assertEquals(unquoteIndexPattern(indexPattern3), unresolvedRelation.indexPattern().indexPattern()); + Subquery subquery3 = as(children.get(1), Subquery.class); + unresolvedRelation = as(subquery3.child(), UnresolvedRelation.class); + assertEquals(unquoteIndexPattern(indexPattern4), unresolvedRelation.indexPattern().indexPattern()); } /** * LogicalPlanBuilder does not flatten nested subqueries with processing commands, * the structure of the nested subqueries s preserved in the parsed plan. + * + * Limit[10[INTEGER],false] + * \_UnionAll[[]] + * |_UnresolvedRelation[] + * \_Subquery[] + * \_Aggregate[[?e],[?COUNT[*] AS cnt#7, ?e]] + * \_UnionAll[[]] + * |_UnresolvedRelation[] + * \_Subquery[] + * \_Eval[[?a * 2[INTEGER] AS b#4]] + * \_UnionAll[[]] + * |_UnresolvedRelation[] + * \_Subquery[] + * \_Filter[?a > 10[INTEGER]] + * \_UnresolvedRelation[] */ public void testNestedSubqueryWithProcessingCommands() { assumeTrue("Requires subquery in FROM command support", EsqlCapabilities.Cap.SUBQUERY_IN_FROM_COMMAND.isEnabled()); @@ -713,6 +1019,16 @@ public void testNestedSubqueryWithProcessingCommands() { /** * The medatada options from the main query are not propagated into subqueries. + * + * Aggregate[[?a],[?COUNT[*] AS cnt#6, ?a]] + * \_UnionAll[[]] + * |_UnresolvedRelation[] + * \_Subquery[] + * \_Filter[?a > 10[INTEGER]] + * \_UnionAll[[]] + * |_UnresolvedRelation[] + * \_Subquery[] + * \_UnresolvedRelation[] */ public void testSubqueriesWithMetadada() { assumeTrue("Requires subquery in FROM command support", EsqlCapabilities.Cap.SUBQUERY_IN_FROM_COMMAND.isEnabled()); @@ -756,6 +1072,14 @@ public void testSubqueriesWithMetadada() { assertEquals(0, metadata.size()); } + /** + * Aggregate[[?a],[?COUNT[*] AS cnt#4, ?a]] + * \_UnionAll[[]] + * |_UnresolvedRelation[] + * \_Subquery[] + * \_Filter[?a > 10[INTEGER]] + * \_UnresolvedRelation[] + */ public void testSubqueryWithRemoteCluster() { assumeTrue("Requires subquery in FROM command support", EsqlCapabilities.Cap.SUBQUERY_IN_FROM_COMMAND.isEnabled()); var mainRemoteIndexPattern = randomIndexPatterns(CROSS_CLUSTER); From b170df77d59590317d688a46013f8cc872c79539 Mon Sep 17 00:00:00 2001 From: Fang Xing Date: Wed, 8 Oct 2025 22:17:03 -0400 Subject: [PATCH 14/16] cast counter types to the corresponding normal numeric types --- .../xpack/esql/qa/rest/RestEsqlTestCase.java | 2 + .../src/main/resources/subquery.csv-spec | 79 +++++++++++ .../xpack/esql/analysis/Analyzer.java | 12 ++ .../xpack/esql/session/EsqlSession.java | 2 +- .../esql/analysis/AnalyzerTestUtils.java | 4 +- .../xpack/esql/analysis/AnalyzerTests.java | 133 ++++++++++++++++++ 6 files changed, 230 insertions(+), 2 deletions(-) diff --git a/x-pack/plugin/esql/qa/server/src/main/java/org/elasticsearch/xpack/esql/qa/rest/RestEsqlTestCase.java b/x-pack/plugin/esql/qa/server/src/main/java/org/elasticsearch/xpack/esql/qa/rest/RestEsqlTestCase.java index 2653a652c0eca..b6fafd6012582 100644 --- a/x-pack/plugin/esql/qa/server/src/main/java/org/elasticsearch/xpack/esql/qa/rest/RestEsqlTestCase.java +++ b/x-pack/plugin/esql/qa/server/src/main/java/org/elasticsearch/xpack/esql/qa/rest/RestEsqlTestCase.java @@ -1318,6 +1318,8 @@ public void testTopLevelFilterBoolMerged() throws IOException { } public void testTopLevelFilterWithSubqueriesInFromCommand() throws IOException { + assumeTrue("subqueries in from command", EsqlCapabilities.Cap.SUBQUERY_IN_FROM_COMMAND.isEnabled()); + bulkLoadTestData(10); String query = format(null, "FROM {} , (FROM {} | WHERE integer < 8) | STATS count(*)", testIndexName(), testIndexName()); diff --git a/x-pack/plugin/esql/qa/testFixtures/src/main/resources/subquery.csv-spec b/x-pack/plugin/esql/qa/testFixtures/src/main/resources/subquery.csv-spec index d18118210f431..a254bcacfa60a 100644 --- a/x-pack/plugin/esql/qa/testFixtures/src/main/resources/subquery.csv-spec +++ b/x-pack/plugin/esql/qa/testFixtures/src/main/resources/subquery.csv-spec @@ -869,3 +869,82 @@ FROM sample_data, sample_data_str, 2023-10-23T13:53:55.832123456Z | 5033755 | Connection error | null | null 2023-10-23T13:55:01.543123456Z | 1756467 | Connected to 10.1.0.1 | null | null ; + +subqueryInFromWithTimeSeriesDataTypesInSubquery +required_capability: fork_v9 +required_capability: subquery_in_from_command + +FROM sample_data, (FROM k8s metadata _index) metadata _index +| WHERE @timestamp < "2024-05-10T00:01:00.000Z" +| KEEP _index, @timestamp, client.ip, event_duration, cluster, network.total_bytes_in, network.eth0.tx +| SORT _index, @timestamp +; + +_index:keyword | @timestamp:datetime | client.ip:ip | event_duration:long | cluster:keyword | network.total_bytes_in:long | network.eth0.tx:integer +k8s | 2024-05-10T00:00:29.000Z | 10.10.20.34 | null | staging | 953 | 81 +k8s | 2024-05-10T00:00:33.000Z | 10.10.20.34 | null | staging | 1111 | 48 +k8s | 2024-05-10T00:00:51.000Z | 10.10.20.30 | null | prod | 278 | 58 +k8s | 2024-05-10T00:00:57.000Z | 10.10.20.30 | null | prod | 955 | 131 +sample_data | 2023-10-23T12:15:03.360Z | null | 3450233 | null | null | null +sample_data | 2023-10-23T12:27:28.948Z | null | 2764889 | null | null | null +sample_data | 2023-10-23T13:33:34.937Z | null | 1232382 | null | null | null +sample_data | 2023-10-23T13:51:54.732Z | null | 725448 | null | null | null +sample_data | 2023-10-23T13:52:55.015Z | null | 8268153 | null | null | null +sample_data | 2023-10-23T13:53:55.832Z | null | 5033755 | null | null | null +sample_data | 2023-10-23T13:55:01.543Z | null | 1756467 | null | null | null +; + +subqueryInFromWithTimeSeriesDataTypesInMainQuery +required_capability: fork_v9 +required_capability: subquery_in_from_command + +FROM k8s-downsampled, (FROM sample_data metadata _index) metadata _index +| WHERE @timestamp <= "2024-05-09T23:30:00.000Z" +| KEEP _index, @timestamp, client.ip, event_duration, cluster, network.total_bytes_in, network.eth0.tx +| SORT _index, @timestamp +; + +_index:keyword | @timestamp:datetime | client.ip:ip | event_duration:long | cluster:keyword | network.total_bytes_in:long | network.eth0.tx:keyword +k8s-downsampled | 2024-05-09T23:30:00.000Z | 10.10.20.30 | null | qa | 1143 | null +k8s-downsampled | 2024-05-09T23:30:00.000Z | 10.10.20.31 | null | qa | 363 | null +k8s-downsampled | 2024-05-09T23:30:00.000Z | 10.10.20.33 | null | prod | 210 | null +k8s-downsampled | 2024-05-09T23:30:00.000Z | 10.10.20.30 | null | prod | 285 | null +k8s-downsampled | 2024-05-09T23:30:00.000Z | 10.10.20.31 | null | prod | 1038 | null +k8s-downsampled | 2024-05-09T23:30:00.000Z | 10.10.20.31 | null | qa | 1032 | null +k8s-downsampled | 2024-05-09T23:30:00.000Z | 10.10.20.34 | null | staging | 821 | null +k8s-downsampled | 2024-05-09T23:30:00.000Z | 10.10.20.34 | null | staging | 838 | null +k8s-downsampled | 2024-05-09T23:30:00.000Z | 10.10.20.30 | null | staging | 930 | null +sample_data | 2023-10-23T12:15:03.360Z | null | 3450233 | null | null | null +sample_data | 2023-10-23T12:27:28.948Z | null | 2764889 | null | null | null +sample_data | 2023-10-23T13:33:34.937Z | null | 1232382 | null | null | null +sample_data | 2023-10-23T13:51:54.732Z | null | 725448 | null | null | null +sample_data | 2023-10-23T13:52:55.015Z | null | 8268153 | null | null | null +sample_data | 2023-10-23T13:53:55.832Z | null | 5033755 | null | null | null +sample_data | 2023-10-23T13:55:01.543Z | null | 1756467 | null | null | null +; + +subqueryInFromWithTimeSeriesDataTypesInMainQueryAndSubquery +required_capability: fork_v9 +required_capability: subquery_in_from_command + +FROM k8s, (FROM k8s-downsampled metadata _index | WHERE @timestamp <= "2024-05-09T23:30:00.000Z") metadata _index +| WHERE @timestamp <= "2024-05-10T00:01:00.000Z" +| KEEP _index, @timestamp, client.ip, cluster, network.total_bytes_in, network.eth0.tx +| SORT _index, @timestamp +; + +_index:keyword | @timestamp:datetime | client.ip:ip | cluster:keyword | network.total_bytes_in:long | network.eth0.tx:keyword +k8s | 2024-05-10T00:00:29.000Z | 10.10.20.34 | staging | 953 | null +k8s | 2024-05-10T00:00:33.000Z | 10.10.20.34 | staging | 1111 | null +k8s | 2024-05-10T00:00:51.000Z | 10.10.20.30 | prod | 278 | null +k8s | 2024-05-10T00:00:57.000Z | 10.10.20.30 | prod | 955 | null +k8s-downsampled | 2024-05-09T23:30:00.000Z | 10.10.20.31 | prod | 1038 | null +k8s-downsampled | 2024-05-09T23:30:00.000Z | 10.10.20.30 | staging | 930 | null +k8s-downsampled | 2024-05-09T23:30:00.000Z | 10.10.20.34 | staging | 838 | null +k8s-downsampled | 2024-05-09T23:30:00.000Z | 10.10.20.30 | qa | 1143 | null +k8s-downsampled | 2024-05-09T23:30:00.000Z | 10.10.20.31 | qa | 1032 | null +k8s-downsampled | 2024-05-09T23:30:00.000Z | 10.10.20.30 | prod | 285 | null +k8s-downsampled | 2024-05-09T23:30:00.000Z | 10.10.20.31 | qa | 363 | null +k8s-downsampled | 2024-05-09T23:30:00.000Z | 10.10.20.33 | prod | 210 | null +k8s-downsampled | 2024-05-09T23:30:00.000Z | 10.10.20.34 | staging | 821 | null +; diff --git a/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/analysis/Analyzer.java b/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/analysis/Analyzer.java index bee94bee44fe5..87258995bd4da 100644 --- a/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/analysis/Analyzer.java +++ b/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/analysis/Analyzer.java @@ -862,6 +862,9 @@ private LogicalPlan resolveFork(Fork fork, AnalyzerContext context) { // We cannot assign an alias with an UNSUPPORTED data type, so we use another type that is // supported. This way we can add this missing column containing only null values to the fork branch output. var attrType = attr.dataType() == UNSUPPORTED ? KEYWORD : attr.dataType(); + if (attrType.isCounter()) { + attrType = attrType.noCounter(); + } return new Alias(source, attr.name(), new Literal(attr.source(), null, attrType)); }).toList(); @@ -2485,6 +2488,15 @@ private DataType commonType(DataType t1, DataType t2) { if (t1.isDate() && t2.isDate() && t1 != t2) { return DATE_NANOS; } + + if (t1.isCounter()) { + t1 = t1.noCounter(); + } + + if (t2.isCounter()) { + t2 = t2.noCounter(); + } + return EsqlDataTypeConverter.commonType(t1, t2); } diff --git a/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/session/EsqlSession.java b/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/session/EsqlSession.java index 10bc74c737fb9..7c9f228293376 100644 --- a/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/session/EsqlSession.java +++ b/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/session/EsqlSession.java @@ -531,7 +531,7 @@ private void preAnalyzeSubqueryIndex( ); } else { // occurs when dealing with local relations (row a = 1) - listener.onResponse(result.withIndices(IndexResolution.invalid("[none specified]"))); + listener.onResponse(result.addSubqueryIndexResolution("invalid subquery", IndexResolution.invalid("[none specified]"))); } } diff --git a/x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/analysis/AnalyzerTestUtils.java b/x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/analysis/AnalyzerTestUtils.java index 9bf5bc7390991..d57a5d2c8000d 100644 --- a/x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/analysis/AnalyzerTestUtils.java +++ b/x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/analysis/AnalyzerTestUtils.java @@ -230,7 +230,9 @@ public static Map defaultSubqueryResolution() { "sample_data", loadMapping("mapping-sample_data.json", "sample_data"), "test_mixed_types", - loadMapping("mapping-default-incompatible.json", "test_mixed_types") + loadMapping("mapping-default-incompatible.json", "test_mixed_types"), + "k8s", + loadMapping("k8s-downsampled-mappings.json", "k8s", IndexMode.TIME_SERIES) ); } diff --git a/x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/analysis/AnalyzerTests.java b/x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/analysis/AnalyzerTests.java index 3bd855cdd91ce..5c3958e144f63 100644 --- a/x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/analysis/AnalyzerTests.java +++ b/x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/analysis/AnalyzerTests.java @@ -84,6 +84,7 @@ import org.elasticsearch.xpack.esql.plan.logical.Eval; import org.elasticsearch.xpack.esql.plan.logical.Filter; import org.elasticsearch.xpack.esql.plan.logical.Fork; +import org.elasticsearch.xpack.esql.plan.logical.InlineStats; import org.elasticsearch.xpack.esql.plan.logical.Insist; import org.elasticsearch.xpack.esql.plan.logical.Limit; import org.elasticsearch.xpack.esql.plan.logical.LogicalPlan; @@ -4989,6 +4990,138 @@ public void testMixedDataTypesWithExplicitCastingInSubquery() { assertEquals("test_mixed_types", subqueryIndex.indexPattern()); } + public void testSubqueryWithTimeSeriesIndexInMainQuery() { + assumeTrue("Requires subquery in FROM command support", EsqlCapabilities.Cap.SUBQUERY_IN_FROM_COMMAND.isEnabled()); + LogicalPlan plan = analyze(""" + FROM k8s, (FROM sample_data), (FROM sample_data | WHERE client_ip == "127.0.0.1") + | WHERE @timestamp > "2025-10-07" + """, "k8s-downsampled-mappings.json"); + + Limit limit = as(plan, Limit.class); + Filter filter = as(limit.child(), Filter.class); + UnionAll unionAll = as(filter.child(), UnionAll.class); + List output = unionAll.output(); + // all fields from the three indices + assertEquals(24, output.size()); + assertEquals(3, unionAll.children().size()); + + limit = as(unionAll.children().get(0), Limit.class); + EsqlProject esqlProject = as(limit.child(), EsqlProject.class); + Eval eval = as(esqlProject.child(), Eval.class); + eval = as(eval.child(), Eval.class); + EsRelation relation = as(eval.child(), EsRelation.class); + assertEquals("k8s", relation.indexPattern()); + assertEquals(IndexMode.STANDARD, relation.indexMode()); + + limit = as(unionAll.children().get(1), Limit.class); + esqlProject = as(limit.child(), EsqlProject.class); + eval = as(esqlProject.child(), Eval.class); + Subquery subquery = as(eval.child(), Subquery.class); + relation = as(subquery.child(), EsRelation.class); + assertEquals("sample_data", relation.indexPattern()); + assertEquals(IndexMode.STANDARD, relation.indexMode()); + + limit = as(unionAll.children().get(2), Limit.class); + esqlProject = as(limit.child(), EsqlProject.class); + eval = as(esqlProject.child(), Eval.class); + subquery = as(eval.child(), Subquery.class); + filter = as(subquery.child(), Filter.class); + relation = as(filter.child(), EsRelation.class); + assertEquals("sample_data", relation.indexPattern()); + assertEquals(IndexMode.STANDARD, relation.indexMode()); + } + + public void testSubqueryWithTimeSeriesIndexInSubquery() { + assumeTrue("Requires subquery in FROM command support", EsqlCapabilities.Cap.SUBQUERY_IN_FROM_COMMAND.isEnabled()); + LogicalPlan plan = analyze(""" + FROM sample_data, + (FROM k8s | EVAL a = TO_AGGREGATE_METRIC_DOUBLE(1) | INLINE STATS tx_max = MAX(network.eth0.tx) BY pod), + (FROM sample_data | WHERE client_ip == "127.0.0.1") + | WHERE @timestamp > "2025-10-07" + """, "mapping-sample_data.json"); + + Limit limit = as(plan, Limit.class); + Filter filter = as(limit.child(), Filter.class); + UnionAll unionAll = as(filter.child(), UnionAll.class); + List output = unionAll.output(); + assertEquals(26, output.size()); + assertEquals(3, unionAll.children().size()); + + limit = as(unionAll.children().get(0), Limit.class); + EsqlProject esqlProject = as(limit.child(), EsqlProject.class); + Eval eval = as(esqlProject.child(), Eval.class); + EsRelation relation = as(eval.child(), EsRelation.class); + assertEquals("sample_data", relation.indexPattern()); + assertEquals(IndexMode.STANDARD, relation.indexMode()); + + limit = as(unionAll.children().get(1), Limit.class); + esqlProject = as(limit.child(), EsqlProject.class); + eval = as(esqlProject.child(), Eval.class); + eval = as(eval.child(), Eval.class); + Subquery subquery = as(eval.child(), Subquery.class); + InlineStats inlineStats = as(subquery.child(), InlineStats.class); + Aggregate aggregate = as(inlineStats.child(), Aggregate.class); + eval = as(aggregate.child(), Eval.class); + relation = as(eval.child(), EsRelation.class); + assertEquals("k8s", relation.indexPattern()); + assertEquals(IndexMode.STANDARD, relation.indexMode()); + + limit = as(unionAll.children().get(2), Limit.class); + esqlProject = as(limit.child(), EsqlProject.class); + eval = as(esqlProject.child(), Eval.class); + subquery = as(eval.child(), Subquery.class); + filter = as(subquery.child(), Filter.class); + relation = as(filter.child(), EsRelation.class); + assertEquals("sample_data", relation.indexPattern()); + assertEquals(IndexMode.STANDARD, relation.indexMode()); + } + + public void testSubqueryWithTimeSeriesIndexInMainQueryAndSubquery() { + assumeTrue("Requires subquery in FROM command support", EsqlCapabilities.Cap.SUBQUERY_IN_FROM_COMMAND.isEnabled()); + LogicalPlan plan = analyze(""" + FROM k8s, + (FROM k8s | EVAL a = TO_AGGREGATE_METRIC_DOUBLE(1) | INLINE STATS tx_max = MAX(network.eth0.tx) BY pod), + (FROM sample_data | WHERE client_ip == "127.0.0.1") + | WHERE @timestamp > "2025-10-07" + """, "k8s-downsampled-mappings.json"); + + Limit limit = as(plan, Limit.class); + Filter filter = as(limit.child(), Filter.class); + UnionAll unionAll = as(filter.child(), UnionAll.class); + List output = unionAll.output(); + assertEquals(26, output.size()); + assertEquals(3, unionAll.children().size()); + + limit = as(unionAll.children().get(0), Limit.class); + EsqlProject esqlProject = as(limit.child(), EsqlProject.class); + Eval eval = as(esqlProject.child(), Eval.class); + eval = as(eval.child(), Eval.class); + EsRelation relation = as(eval.child(), EsRelation.class); + assertEquals("k8s", relation.indexPattern()); + assertEquals(IndexMode.STANDARD, relation.indexMode()); + + limit = as(unionAll.children().get(1), Limit.class); + esqlProject = as(limit.child(), EsqlProject.class); + eval = as(esqlProject.child(), Eval.class); + eval = as(eval.child(), Eval.class); + Subquery subquery = as(eval.child(), Subquery.class); + InlineStats inlineStats = as(subquery.child(), InlineStats.class); + Aggregate aggregate = as(inlineStats.child(), Aggregate.class); + eval = as(aggregate.child(), Eval.class); + relation = as(eval.child(), EsRelation.class); + assertEquals("k8s", relation.indexPattern()); + assertEquals(IndexMode.STANDARD, relation.indexMode()); + + limit = as(unionAll.children().get(2), Limit.class); + esqlProject = as(limit.child(), EsqlProject.class); + eval = as(esqlProject.child(), Eval.class); + subquery = as(eval.child(), Subquery.class); + filter = as(subquery.child(), Filter.class); + relation = as(filter.child(), EsRelation.class); + assertEquals("sample_data", relation.indexPattern()); + assertEquals(IndexMode.STANDARD, relation.indexMode()); + } + private void verifyNameAndType(String actualName, DataType actualType, String expectedName, DataType expectedType) { assertEquals(expectedName, actualName); assertEquals(expectedType, actualType); From b501bc850889f66606ec3e51caed308ab72c3289 Mon Sep 17 00:00:00 2001 From: Fang Xing Date: Thu, 9 Oct 2025 08:25:19 -0400 Subject: [PATCH 15/16] stablize tests --- .../src/main/resources/subquery.csv-spec | 24 +++++++++---------- 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/x-pack/plugin/esql/qa/testFixtures/src/main/resources/subquery.csv-spec b/x-pack/plugin/esql/qa/testFixtures/src/main/resources/subquery.csv-spec index a254bcacfa60a..8c50a697f49e8 100644 --- a/x-pack/plugin/esql/qa/testFixtures/src/main/resources/subquery.csv-spec +++ b/x-pack/plugin/esql/qa/testFixtures/src/main/resources/subquery.csv-spec @@ -877,7 +877,7 @@ required_capability: subquery_in_from_command FROM sample_data, (FROM k8s metadata _index) metadata _index | WHERE @timestamp < "2024-05-10T00:01:00.000Z" | KEEP _index, @timestamp, client.ip, event_duration, cluster, network.total_bytes_in, network.eth0.tx -| SORT _index, @timestamp +| SORT _index, @timestamp, client.ip, cluster ; _index:keyword | @timestamp:datetime | client.ip:ip | event_duration:long | cluster:keyword | network.total_bytes_in:long | network.eth0.tx:integer @@ -901,19 +901,19 @@ required_capability: subquery_in_from_command FROM k8s-downsampled, (FROM sample_data metadata _index) metadata _index | WHERE @timestamp <= "2024-05-09T23:30:00.000Z" | KEEP _index, @timestamp, client.ip, event_duration, cluster, network.total_bytes_in, network.eth0.tx -| SORT _index, @timestamp +| SORT _index, @timestamp, client.ip, cluster, network.total_bytes_in ; _index:keyword | @timestamp:datetime | client.ip:ip | event_duration:long | cluster:keyword | network.total_bytes_in:long | network.eth0.tx:keyword -k8s-downsampled | 2024-05-09T23:30:00.000Z | 10.10.20.30 | null | qa | 1143 | null -k8s-downsampled | 2024-05-09T23:30:00.000Z | 10.10.20.31 | null | qa | 363 | null -k8s-downsampled | 2024-05-09T23:30:00.000Z | 10.10.20.33 | null | prod | 210 | null k8s-downsampled | 2024-05-09T23:30:00.000Z | 10.10.20.30 | null | prod | 285 | null +k8s-downsampled | 2024-05-09T23:30:00.000Z | 10.10.20.30 | null | qa | 1143 | null +k8s-downsampled | 2024-05-09T23:30:00.000Z | 10.10.20.30 | null | staging | 930 | null k8s-downsampled | 2024-05-09T23:30:00.000Z | 10.10.20.31 | null | prod | 1038 | null +k8s-downsampled | 2024-05-09T23:30:00.000Z | 10.10.20.31 | null | qa | 363 | null k8s-downsampled | 2024-05-09T23:30:00.000Z | 10.10.20.31 | null | qa | 1032 | null +k8s-downsampled | 2024-05-09T23:30:00.000Z | 10.10.20.33 | null | prod | 210 | null k8s-downsampled | 2024-05-09T23:30:00.000Z | 10.10.20.34 | null | staging | 821 | null k8s-downsampled | 2024-05-09T23:30:00.000Z | 10.10.20.34 | null | staging | 838 | null -k8s-downsampled | 2024-05-09T23:30:00.000Z | 10.10.20.30 | null | staging | 930 | null sample_data | 2023-10-23T12:15:03.360Z | null | 3450233 | null | null | null sample_data | 2023-10-23T12:27:28.948Z | null | 2764889 | null | null | null sample_data | 2023-10-23T13:33:34.937Z | null | 1232382 | null | null | null @@ -930,7 +930,7 @@ required_capability: subquery_in_from_command FROM k8s, (FROM k8s-downsampled metadata _index | WHERE @timestamp <= "2024-05-09T23:30:00.000Z") metadata _index | WHERE @timestamp <= "2024-05-10T00:01:00.000Z" | KEEP _index, @timestamp, client.ip, cluster, network.total_bytes_in, network.eth0.tx -| SORT _index, @timestamp +| SORT _index, @timestamp, client.ip, cluster, network.total_bytes_in ; _index:keyword | @timestamp:datetime | client.ip:ip | cluster:keyword | network.total_bytes_in:long | network.eth0.tx:keyword @@ -938,13 +938,13 @@ k8s | 2024-05-10T00:00:29.000Z | 10.10.20.34 | staging | 95 k8s | 2024-05-10T00:00:33.000Z | 10.10.20.34 | staging | 1111 | null k8s | 2024-05-10T00:00:51.000Z | 10.10.20.30 | prod | 278 | null k8s | 2024-05-10T00:00:57.000Z | 10.10.20.30 | prod | 955 | null -k8s-downsampled | 2024-05-09T23:30:00.000Z | 10.10.20.31 | prod | 1038 | null -k8s-downsampled | 2024-05-09T23:30:00.000Z | 10.10.20.30 | staging | 930 | null -k8s-downsampled | 2024-05-09T23:30:00.000Z | 10.10.20.34 | staging | 838 | null -k8s-downsampled | 2024-05-09T23:30:00.000Z | 10.10.20.30 | qa | 1143 | null -k8s-downsampled | 2024-05-09T23:30:00.000Z | 10.10.20.31 | qa | 1032 | null k8s-downsampled | 2024-05-09T23:30:00.000Z | 10.10.20.30 | prod | 285 | null +k8s-downsampled | 2024-05-09T23:30:00.000Z | 10.10.20.30 | qa | 1143 | null +k8s-downsampled | 2024-05-09T23:30:00.000Z | 10.10.20.30 | staging | 930 | null +k8s-downsampled | 2024-05-09T23:30:00.000Z | 10.10.20.31 | prod | 1038 | null k8s-downsampled | 2024-05-09T23:30:00.000Z | 10.10.20.31 | qa | 363 | null +k8s-downsampled | 2024-05-09T23:30:00.000Z | 10.10.20.31 | qa | 1032 | null k8s-downsampled | 2024-05-09T23:30:00.000Z | 10.10.20.33 | prod | 210 | null k8s-downsampled | 2024-05-09T23:30:00.000Z | 10.10.20.34 | staging | 821 | null +k8s-downsampled | 2024-05-09T23:30:00.000Z | 10.10.20.34 | staging | 838 | null ; From 1853615eddebd688ba04d373467086dcea7d66d4 Mon Sep 17 00:00:00 2001 From: Fang Xing Date: Thu, 9 Oct 2025 19:53:41 -0400 Subject: [PATCH 16/16] code refactor and remove copy EsqlExecutionInfo --- .../xpack/esql/analysis/PreAnalyzer.java | 28 ++++---- .../xpack/esql/session/EsqlSession.java | 66 +++++-------------- 2 files changed, 30 insertions(+), 64 deletions(-) diff --git a/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/analysis/PreAnalyzer.java b/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/analysis/PreAnalyzer.java index 194094753d119..e28f58b186933 100644 --- a/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/analysis/PreAnalyzer.java +++ b/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/analysis/PreAnalyzer.java @@ -17,7 +17,7 @@ import org.elasticsearch.xpack.esql.plan.logical.UnresolvedRelation; import java.util.ArrayList; -import java.util.HashSet; +import java.util.LinkedHashSet; import java.util.List; import java.util.Set; @@ -48,19 +48,17 @@ public PreAnalysis preAnalyze(LogicalPlan plan) { protected PreAnalysis doPreAnalyze(LogicalPlan plan) { Holder indexMode = new Holder<>(); - Holder indexPattern = new Holder<>(); List lookupIndices = new ArrayList<>(); - Set subqueryIndices = new HashSet<>(); + LinkedHashSet mainAndSubqueryIndices = new LinkedHashSet<>(); plan.forEachUp(UnresolvedRelation.class, p -> { if (p.indexMode() == IndexMode.LOOKUP) { lookupIndices.add(p.indexPattern()); } else if (indexMode.get() == null || indexMode.get() == p.indexMode()) { indexMode.set(p.indexMode()); - indexPattern.setIfAbsent(p.indexPattern()); - // the index pattern from main query is always the first to be seen - // collect subquery index patterns - if (EsqlCapabilities.Cap.SUBQUERY_IN_FROM_COMMAND.isEnabled()) { - collectSubqueryIndexPattern(p, subqueryIndices, indexPattern.get()); + if (mainAndSubqueryIndices.isEmpty()) { // the index pattern from main query is always the first to be seen + mainAndSubqueryIndices.add(p.indexPattern()); + } else if (EsqlCapabilities.Cap.SUBQUERY_IN_FROM_COMMAND.isEnabled()) { // collect subquery index patterns + collectSubqueryIndexPattern(p, mainAndSubqueryIndices); } } else { throw new IllegalStateException("index mode is already set"); @@ -102,20 +100,18 @@ protected PreAnalysis doPreAnalyze(LogicalPlan plan) { return new PreAnalysis( indexMode.get(), - indexPattern.get(), + // row command does not have an index pattern, mainAndSubqueryIndices could be empty in this case + mainAndSubqueryIndices.isEmpty() ? null : mainAndSubqueryIndices.removeFirst(), unresolvedEnriches, lookupIndices, indexMode.get() == IndexMode.TIME_SERIES || supportsAggregateMetricDouble.get(), supportsDenseVector.get(), - subqueryIndices + mainAndSubqueryIndices ); } - private void collectSubqueryIndexPattern( - UnresolvedRelation relation, - Set subqueryIndices, - IndexPattern mainIndexPattern - ) { + private void collectSubqueryIndexPattern(UnresolvedRelation relation, LinkedHashSet mainAndSubqueryIndices) { + IndexPattern mainIndexPattern = mainAndSubqueryIndices.getFirst(); IndexPattern pattern = relation.indexPattern(); boolean isLookup = relation.indexMode() == IndexMode.LOOKUP; boolean isMainIndexPattern = pattern == mainIndexPattern; @@ -126,6 +122,6 @@ private void collectSubqueryIndexPattern( if (isLookup || isMainIndexPattern) { return; } - subqueryIndices.add(pattern); + mainAndSubqueryIndices.add(pattern); } } diff --git a/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/session/EsqlSession.java b/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/session/EsqlSession.java index 3e7b514ffa88e..10e4413a26cc5 100644 --- a/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/session/EsqlSession.java +++ b/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/session/EsqlSession.java @@ -472,9 +472,7 @@ private void resolveIndices( .andThen((l, r) -> { inferenceService.inferenceResolver(functionRegistry).resolveInferenceIds(parsed, l.map(r::withInferenceResolution)); }) - .andThen( - (l, r) -> preAnalyzeSubqueryIndices(preAnalysis, preAnalysis.subqueryIndices().iterator(), r, executionInfo, l) - ) + .andThen((l, r) -> preAnalyzeSubqueryIndices(preAnalysis, preAnalysis.subqueryIndices().iterator(), r, l)) .andThen((l, r) -> analyzeWithRetry(parsed, executionInfo, description, requestFilter, preAnalysis, r, l)) .addListener(logicalPlanListener); } @@ -483,19 +481,12 @@ private void preAnalyzeSubqueryIndices( PreAnalyzer.PreAnalysis preAnalysis, Iterator subqueryIndices, PreAnalysisResult preAnalysisResult, - EsqlExecutionInfo executionInfo, ActionListener listener ) { if (subqueryIndices.hasNext()) { - preAnalyzeSubqueryIndex( - preAnalysis, - subqueryIndices.next(), - preAnalysisResult, - executionInfo, - listener.delegateFailureAndWrap((l, r) -> { - preAnalyzeSubqueryIndices(preAnalysis, subqueryIndices, r, executionInfo, l); - }) - ); + preAnalyzeSubqueryIndex(preAnalysis, subqueryIndices.next(), preAnalysisResult, listener.delegateFailureAndWrap((l, r) -> { + preAnalyzeSubqueryIndices(preAnalysis, subqueryIndices, r, l); + })); } else { listener.onResponse(preAnalysisResult); } @@ -505,7 +496,6 @@ private void preAnalyzeSubqueryIndex( PreAnalyzer.PreAnalysis preAnalysis, IndexPattern subqueryIndexPattern, PreAnalysisResult result, - EsqlExecutionInfo executionInfo, ActionListener listener ) { assert ThreadPool.assertCurrentThreadPool( @@ -523,46 +513,26 @@ private void preAnalyzeSubqueryIndex( * EsqlExecutionInfo for this subquery, and reuse the existing API to build * the subqueryIndexExpression. */ - EsqlExecutionInfo subqueryExecutionInfo = subqueryExecutionInfo(executionInfo, subqueryIndexPattern); - // the following are very similar to preAnalyzeMainIndices - if (subqueryExecutionInfo.clusterAliases().isEmpty()) { - // return empty resolution if the expression is pure CCS and resolved no remote clusters (like no-such-cluster*:index) - listener.onResponse( - result.addSubqueryIndexResolution( - subqueryIndexPattern.indexPattern(), - IndexResolution.valid(new EsIndex(subqueryIndexPattern.indexPattern(), Map.of(), Map.of())) - ) - ); - } else { - // time-series index is not supported in subqueries yet, the grammar does not allow it - indexResolver.resolveAsMergedMapping( - subqueryIndexPattern.indexPattern(), - result.fieldNames, - null, - false, - false, - preAnalysis.supportsDenseVector(), - listener.delegateFailure((l, indexResolution) -> { - l.onResponse(result.addSubqueryIndexResolution(subqueryIndexPattern.indexPattern(), indexResolution)); - }) - ); - } + + // time-series index mode is not supported in subqueries yet, the grammar does not allow it + indexResolver.resolveAsMergedMapping( + subqueryIndexPattern.indexPattern(), + result.fieldNames, + null, + false, + false, + preAnalysis.supportsDenseVector(), + listener.delegateFailure((l, indexResolution) -> { + l.onResponse(result.addSubqueryIndexResolution(subqueryIndexPattern.indexPattern(), indexResolution)); + }) + ); + } else { // occurs when dealing with local relations (row a = 1) listener.onResponse(result.addSubqueryIndexResolution("invalid subquery", IndexResolution.invalid("[none specified]"))); } } - private EsqlExecutionInfo subqueryExecutionInfo(EsqlExecutionInfo mainExecutionInfo, IndexPattern subqueryIndexPattern) { - // Clone mainInfo (assuming a copy constructor or similar method exists) - EsqlExecutionInfo subqueryExecutionInfo = new EsqlExecutionInfo( - mainExecutionInfo.skipOnFailurePredicate(), - mainExecutionInfo.includeCCSMetadata() - ); - EsqlCCSUtils.initCrossClusterState(indicesExpressionGrouper, verifier.licenseState(), subqueryIndexPattern, subqueryExecutionInfo); - return subqueryExecutionInfo; - } - private void preAnalyzeLookupIndices( Iterator lookupIndices, PreAnalysisResult preAnalysisResult,