calciteSyntaxParser.js 180 KB

1
  1. !function(e,s){"object"==typeof exports&&"object"==typeof module?module.exports=s():"function"==typeof define&&define.amd?define([],s):"object"==typeof exports?exports.calciteSyntaxParser=s():e.calciteSyntaxParser=s()}(window,(function(){return function(e){var s={};function t(i){if(s[i])return s[i].exports;var a=s[i]={i:i,l:!1,exports:{}};return e[i].call(a.exports,a,a.exports,t),a.l=!0,a.exports}return t.m=e,t.c=s,t.d=function(e,s,i){t.o(e,s)||Object.defineProperty(e,s,{enumerable:!0,get:i})},t.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.t=function(e,s){if(1&s&&(e=t(e)),8&s)return e;if(4&s&&"object"==typeof e&&e&&e.__esModule)return e;var i=Object.create(null);if(t.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&s&&"string"!=typeof e)for(var a in e)t.d(i,a,function(s){return e[s]}.bind(null,a));return i},t.n=function(e){var s=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(s,"a",s),s},t.o=function(e,s){return Object.prototype.hasOwnProperty.call(e,s)},t.p="",t(t.s=15)}({0:function(e,s,t){"use strict";t.d(s,"c",(function(){return n})),t.d(s,"b",(function(){return r})),t.d(s,"a",(function(){return o})),t.d(s,"d",(function(){return A})),t.d(s,"e",(function(){return C}));var i=function(e,s,t){t&&(e=e.toLowerCase(),s=s.toLowerCase());var i=e.length,a=s.length;if(0===i)return a;if(0===a)return i;for(var n,r,o,u,l,c=new Array(i),y=0;y<=i;y++){c[y]=new Array(a),c[y][0]=y;for(var g=1;g<=a;g++)y?(n=e[y-1]===s[g-1]?0:1,r=c[y-1][g]+1,o=c[y][g-1]+1,u=c[y-1][g-1]+n,c[y][g]=r<=o&&r<=u?r:o<=r&&o<=u?o:u,y>1&&g>1&&e[y]===s[g-1]&&e[y-1]===s[g]&&(l=c[y-2][g-2]+n)<c[y][g]&&(c[y][g]=l)):c[0][g]=g}return c[i][a]};function a(e){return(a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}String.prototype.endsWith||(String.prototype.endsWith=function(e,s){var t=this.toString();("number"!=typeof s||!isFinite(s)||Math.floor(s)!==s||s>t.length)&&(s=t.length),s-=e.length;var i=t.lastIndexOf(e,s);return-1!==i&&i===s});var n=function(e,s){return e&&s&&e.replace(/^\s*`/,"").replace(/`\s*$/,"").toLowerCase()===s.replace(/^\s*`/,"").replace(/`\s*$/,"").toLowerCase()},r=function(e,s){return e&&s&&e.toLowerCase()===s.toLowerCase()},o=["suggestJoinConditions","suggestAggregateFunctions","suggestFilters","suggestGroupBys","suggestOrderBys"],u="alias",l="asterisk",c="column",y="database",g="file",T="function",d="functionArgument",p="statement",E="statementType",h="table",I="unknown",f="variable",A=function(e){e.SELECT_FIRST_OPTIONAL_KEYWORDS=[{value:"ALL",weight:2},{value:"DISTINCT",weight:2}];var s=function(s){var t={first_line:s.first_line,last_line:s.last_line,first_column:s.first_column+1,last_column:s.last_column+1};if(e.yy.cursorFound&&e.yy.cursorFound.first_line===t.first_line&&e.yy.cursorFound.last_column<=t.first_column){var i=e.yy.partialLengths.left+e.yy.partialLengths.right;i-=e.yy.partialCursor?1:3,t.first_column=t.first_column+i,t.last_column=t.last_column+i}return t};e.addAsteriskLocation=function(t,i){e.yy.locations.push({type:l,location:s(t),identifierChain:i})},e.addClauseLocation=function(t,i,a,n){var r;r=n?0===e.yy.partialLengths.left&&0===e.yy.partialLengths.right?{type:t,missing:!0,location:s({first_line:i.last_line,first_column:i.last_column,last_line:i.last_line,last_column:i.last_column})}:{type:t,missing:!1,location:{first_line:a.last_line,first_column:a.last_column-1,last_line:a.last_line,last_column:a.last_column-1+e.yy.partialLengths.right+e.yy.partialLengths.left}}:{type:t,missing:!a,location:s(a||{first_line:i.last_line,first_column:i.last_column,last_line:i.last_line,last_column:i.last_column})},e.isInSubquery()&&(r.subquery=!0),e.yy.locations.push(r)},e.addColumnAliasLocation=function(t,i,a){var n={type:u,source:"column",alias:i,location:s(t),parentLocation:s(a)};if(e.yy.locations.length&&"column"===e.yy.locations[e.yy.locations.length-1].type){var r=e.yy.locations[e.yy.locations.length-1];r.location.first_line===n.parentLocation.first_line&&r.location.last_line===n.parentLocation.last_line&&r.location.first_column===n.parentLocation.first_column&&r.location.last_column===n.parentLocation.last_column&&(e.yy.locations[e.yy.locations.length-1].alias=i)}e.yy.locations.push(n)},e.addColumnLocation=function(t,i){i.length&&/\${[^}]*}/.test(i[i.length-1].name)?e.yy.locations.push({type:f,location:s(t),value:i[i.length-1].name}):e.yy.locations.push({type:c,location:s(t),identifierChain:i,qualified:i.length>1})},e.addCteAliasLocation=function(t,i){e.yy.locations.push({type:u,source:"cte",alias:i,location:s(t)})},e.addDatabaseLocation=function(t,i){e.yy.locations.push({type:y,location:s(t),identifierChain:i})},e.addFileLocation=function(t,i){e.yy.locations.push({type:g,location:s(t),path:i})},e.addFunctionLocation=function(t,i){var a={first_line:t.first_line,last_line:t.last_line,first_column:t.first_column,last_column:t.last_column-1};e.yy.locations.push({type:T,location:s(a),function:i.toLowerCase()})},e.addFunctionArgumentLocations=function(t,i,a){i&&i.length&&i.forEach((function(i,n){var r={type:d,location:s(i.location),function:t.toLowerCase(),argumentPosition:n,identifierChain:a||[{name:t}],expression:i.expression};i.suffix&&(r.suffix=i.suffix),e.yy.locations.push(r)}))},e.addNewDatabaseLocation=function(t,i){e.yy.definitions.push({type:y,location:s(t),identifierChain:i})},e.addNewTableLocation=function(t,i,a){var n=[];a&&a.forEach((function(e){n.push({identifierChain:[e.identifier],type:e.type,location:s(e.location)})})),e.yy.definitions.push({type:h,location:s(t),identifierChain:i,columns:n})},e.addStatementLocation=function(s){if(s.first_line!==s.last_line||1!==Math.abs(s.last_column-s.first_column)){var t;if(e.yy.cursorFound&&e.yy.cursorFound.last_line===s.last_line&&e.yy.cursorFound.first_column>=s.first_column&&e.yy.cursorFound.last_column<=s.last_column){var i=e.yy.partialLengths.left+e.yy.partialLengths.right;t={first_line:s.first_line,last_line:s.last_line,first_column:s.first_column+1,last_column:s.last_column+i-(e.yy.partialCursor?0:2)}}else t={first_line:s.first_line,last_line:s.last_line,first_column:s.first_column+1,last_column:s.last_column+1};e.yy.locations.push({type:p,location:t})}},e.addStatementTypeLocation=function(t,i,a){if("SELECT"!==t&&e.yy.allLocations)for(var n=e.yy.allLocations.length-1;n>=0&&(!e.yy.allLocations[n]||e.yy.allLocations[n].type!==p);n--)if(e.yy.allLocations[n]&&e.yy.allLocations[n].type===E)return;var r={type:E,location:s(i),identifier:t};if(void 0!==a)switch(t){case"ALTER":/ALTER\s+VIEW/i.test(a)?r.identifier="ALTER VIEW":r.identifier="ALTER TABLE";break;case"COMPUTE":r.identifier="COMPUTE STATS";break;case"CREATE":/CREATE\s+VIEW/i.test(a)?r.identifier="CREATE VIEW":/CREATE\s+TABLE/i.test(a)?r.identifier="CREATE TABLE":/CREATE\s+DATABASE/i.test(a)?r.identifier="CREATE DATABASE":/CREATE\s+ROLE/i.test(a)?r.identifier="CREATE ROLE":/CREATE\s+FUNCTION/i.test(a)?r.identifier="CREATE FUNCTION":r.identifier="CREATE TABLE";break;case"DROP":/DROP\s+VIEW/i.test(a)?r.identifier="DROP VIEW":/DROP\s+TABLE/i.test(a)?r.identifier="DROP TABLE":/DROP\s+DATABASE/i.test(a)?r.identifier="DROP DATABASE":/DROP\s+ROLE/i.test(a)?r.identifier="DROP ROLE":/DROP\s+STATS/i.test(a)?r.identifier="DROP STATS":/DROP\s+FUNCTION/i.test(a)?r.identifier="DROP FUNCTION":r.identifier="DROP TABLE";break;case"INVALIDATE":r.identifier="INVALIDATE METADATA";break;case"LOAD":r.identifier="LOAD DATA";break;case"TRUNCATE":r.identifier="TRUNCATE TABLE"}e.yy.locations.push(r)},e.addSubqueryAliasLocation=function(t,i){e.yy.locations.push({type:u,source:"subquery",alias:i,location:s(t)})},e.addTableAliasLocation=function(t,i,a){e.yy.locations.push({type:u,source:"table",alias:i,location:s(t),identifierChain:a})},e.addTableLocation=function(t,i){e.yy.locations.push({type:h,location:s(t),identifierChain:i})},e.addVariableLocation=function(t,i){/\${[^}]*}/.test(i)&&e.yy.locations.push({type:f,location:s(t),value:i})},e.addUnknownLocation=function(t,i){var a;return a=i.length&&/\${[^}]*}/.test(i[i.length-1].name)?{type:f,location:s(t),value:i[i.length-1].name}:{type:I,location:s(t),identifierChain:i,qualified:i.length>1},e.yy.locations.push(a),a},e.applyTypes=function(e,s){e.types=s.types,s.types&&"UDFREF"===s.types[0]&&(s.function?e.udfRef=s.function:e.types=["T"])},e.applyTypeToSuggestions=function(s){s.types||console.trace(),"BOOLEAN"!==s.types[0]&&(e.yy.result.suggestFunctions&&!e.yy.result.suggestFunctions.types&&e.applyTypes(e.yy.result.suggestFunctions,s),e.yy.result.suggestColumns&&!e.yy.result.suggestColumns.types&&e.applyTypes(e.yy.result.suggestColumns,s))},e.extractExpressionText=function(e){for(var s=[],t=arguments.length,i=new Array(t>1?t-1:0),n=1;n<t;n++)i[n-1]=arguments[n];var r=i.some((function(e){if(void 0===e)return!1;if("string"==typeof e||"number"==typeof e)s.push(e);else if("object"===a(e))if(e.text)s.push(e.text);else{if(!e.columnReference)return!0;s.push(e.columnReference.map((function(e){return e.name})).join("."))}}));r||(e.text=s.join(" "))},e.getSubQuery=function(e){var s=[];return e.selectList.forEach((function(e){var t={};e.alias&&(t.alias=e.alias),e.valueExpression&&e.valueExpression.columnReference?t.identifierChain=e.valueExpression.columnReference:e.asterisk&&(t.identifierChain=[{asterisk:!0}]),e.valueExpression&&e.valueExpression.types&&1===e.valueExpression.types.length&&(t.type=e.valueExpression.types[0],"UDFREF"===t.type&&(e.valueExpression.function?t.udfRef=e.valueExpression.function:t.type=["T"])),s.push(t)})),{columns:s}},e.suggestKeywords=function(s){"string"==typeof s&&(s=e.KEYWORDS&&e.KEYWORDS[s]||[]);var t=[];0!==s.length&&(s.forEach((function(e){void 0!==e.weight?t.push(e):t.push({value:e,weight:-1})})),t.sort((function(e,s){return e.weight!==s.weight?s.weight-e.weight:e.value.localeCompare(s.value)})),e.yy.result.suggestKeywords=t)},e.valueExpressionSuggest=function(s,t){s&&s.columnReference&&(e.suggestValues(),e.yy.result.colRef={identifierChain:s.columnReference}),e.suggestColumns(),e.suggestFunctions();var i=[{value:"CASE",weight:450},{value:"FALSE",weight:450},{value:"NULL",weight:450},{value:"TRUE",weight:450}];void 0!==s&&void 0!==t||(i=i.concat(["EXISTS","NOT"])),s&&"NUMBER"===s.types[0]&&e.applyTypeToSuggestions(s),e.suggestKeywords(i)}},L=["addAsteriskLocation","addClauseLocation","addColRefIfExists","addColRefToVariableIfExists","addColumnAliasLocation","addColumnLocation","addCommonTableExpressions","addCteAliasLocation","addDatabaseLocation","addFileLocation","addFunctionArgumentLocations","addFunctionLocation","addNewDatabaseLocation","addNewTableLocation","addStatementLocation","addStatementTypeLocation","addSubqueryAliasLocation","addTableAliasLocation","addTableLocation","addTablePrimary","addUnknownLocation","addVariableLocation","applyArgumentTypesToSuggestions","applyTypeToSuggestions","checkForKeywords","checkForSelectListKeywords","commitLocations","extractExpressionText","firstDefined","getSelectListKeywords","getSubQuery","getValueExpressionKeywords","identifyPartials","popQueryState","prepareNewStatement","pushQueryState","selectListNoTableSuggest","suggestAggregateFunctions","suggestAnalyticFunctions","suggestColRefKeywords","suggestColumns","suggestDatabases","suggestDdlAndDmlKeywords","suggestFileFormats","suggestFilters","suggestFunctions","suggestGroupBys","suggestHdfs","suggestIdentifiers","suggestJoinConditions","suggestJoins","suggestKeyValues","suggestKeywords","suggestOrderBys","suggestSelectListAliases","suggestTables","suggestTablesOrColumns","suggestValueExpressionKeywords","suggestValues","valueExpressionSuggest"],b=function(){},C=function(e){L.forEach((function(s){e[s]=b})),e.yy.locations=[{}],e.determineCase=function(s){e.yy.caseDetermined||(e.yy.lowerCase=s.toLowerCase()===s,e.yy.caseDetermined=!0)},e.getKeywordsForOptionalsLR=function(){return[]},e.mergeSuggestKeywords=function(){return{}},e.getTypeKeywords=function(){return[]},e.getColumnDataTypeKeywords=function(){return[]},e.findCaseType=function(){return{types:["T"]}},e.expandIdentifierChain=function(){return[]},e.createWeightedKeywords=function(){return[]},e.handleQuotedValueWithCursor=function(s,t,i,a){if(-1!==t.indexOf("†")||-1!==t.indexOf("‡")){e.yy.partialCursor=-1!==t.indexOf("‡");var n=e.yy.partialCursor?t.indexOf("‡"):t.indexOf("†");e.yy.cursorFound={first_line:i.first_line,last_line:i.last_line,first_column:i.first_column+n,last_column:i.first_column+n+1};var r=t.substring(n+1),o=(s.upcomingInput().match(new RegExp(a,"g"))||[]).length;return o>0&&0!=(1&o)?(e.yy.missingEndQuote=!1,s.input()):(e.yy.missingEndQuote=!0,s.unput(r)),s.popState(),!0}return!1},e.yy.parseError=function(s,t){e.yy.error=t};var s={";":!0,".":!0,EOF:!0,UNSIGNED_INTEGER:!0,UNSIGNED_INTEGER_E:!0,REGULAR_IDENTIFIER:!0,CURSOR:!0,PARTIAL_CURSOR:!0,HDFS_START_QUOTE:!0,HDFS_PATH:!0,HDFS_END_QUOTE:!0,COMPARISON_OPERATOR:!0,ARITHMETIC_OPERATOR:!0,VARIABLE_REFERENCE:!0,BACKTICK:!0,VALUE:!0,PARTIAL_VALUE:!0,SINGLE_QUOTE:!0,DOUBLE_QUOTE:!0},t={BETWEEN_AND:"AND",OVERWRITE_DIRECTORY:"OVERWRITE",STORED_AS_DIRECTORIES:"STORED",LIKE_PARQUET:"LIKE",PARTITION_VALUE:"PARTITION"};e.parseSyntax=function(a,n,r){e.yy.caseDetermined=!1,e.yy.error=void 0,e.yy.latestTablePrimaries=[],e.yy.subQueries=[],e.yy.selectListAliases=[],e.yy.latestTablePrimaries=[],e.yy.activeDialect="generic";try{e.yy.error=!1,e.parse(a+n)}catch(s){if(r)throw console.warn(e.yy.error),s}if(e.yy.error&&(e.yy.error.loc.last_column<a.length||!a.endsWith(e.yy.error.text))){var o=[],u={},l=e.yy.caseDetermined&&e.yy.lowerCase||e.yy.error.text.toLowerCase()===e.yy.error.text;if(2===e.yy.error.expected.length&&-1!==e.yy.error.expected.indexOf("';'")&&-1!==e.yy.error.expected.indexOf("'EOF'"))return e.yy.error.expected=[],e.yy.error.expectedStatementEnd=!0,e.yy.error;for(var c=0;c<e.yy.error.expected.length;c++){var y=e.yy.error.expected[c];if("REGULAR_IDENTIFIER"===(y=y.substring(1,y.length-1))){if(e.yy.error.expectedIdentifier=!0,/^<[a-z]+>/.test(e.yy.error.token)){var g="`"+e.yy.error.text+"`";o.push({text:g,distance:i(e.yy.error.text,g,!0)}),e.yy.error.possibleReserved=!0}}else if(!s[y]&&/[a-z_]+/i.test(y)){if(y.toUpperCase()!==y)continue;if((y=t[y]||y)===e.yy.error.text.toUpperCase())return!1;var T=l?y.toLowerCase():y;T&&!u[T]&&(u[T]=!0,o.push({text:T,distance:i(e.yy.error.text,T,!0)}))}}return 0===o.length?(e.yy.error.expected=[],e.yy.error.incompleteStatement=!0,e.yy.error):(o.sort((function(e,s){return e.distance===s.distance?e.text.localeCompare(s.text):e.distance-s.distance})),e.yy.error.expected=o,e.yy.error.incompleteStatement=!0,e.yy.error)}return!!e.yy.error&&(e.yy.error.expected=[],e.yy.error.incompleteStatement=!0,e.yy.error)}}},1:function(e,s,t){"use strict";t.d(s,"a",(function(){return r}));var i={BOOLEAN:{BOOLEAN:!0,TIMESTAMP:!1,DATE:!1,BINARY:!1,TINYINT:!1,SMALLINT:!1,INT:!1,INTEGER:!1,BIGINT:!1,FLOAT:!1,DOUBLE:!1,DECIMAL:!1,NUMBER:!1,STRING:!1,CHAR:!1,VARCHAR:!1,T:!0},TIMESTAMP:{BOOLEAN:!1,TIMESTAMP:!0,DATE:!1,BINARY:!1,TINYINT:!1,SMALLINT:!1,INT:!1,INTEGER:!1,BIGINT:!1,FLOAT:!1,DOUBLE:!1,DECIMAL:!1,NUMBER:!1,STRING:!1,CHAR:!1,VARCHAR:!1,T:!0},DATE:{BOOLEAN:!1,TIMESTAMP:!1,DATE:!0,BINARY:!1,TINYINT:!1,SMALLINT:!1,INT:!1,INTEGER:!1,BIGINT:!1,FLOAT:!1,DOUBLE:!1,DECIMAL:!1,NUMBER:!1,STRING:!1,CHAR:!1,VARCHAR:!1,T:!0},BINARY:{BOOLEAN:!1,TIMESTAMP:!1,DATE:!1,BINARY:!0,TINYINT:!1,SMALLINT:!1,INT:!1,INTEGER:!1,BIGINT:!1,FLOAT:!1,DOUBLE:!1,DECIMAL:!1,NUMBER:!1,STRING:!1,CHAR:!1,VARCHAR:!1,T:!0},TINYINT:{BOOLEAN:!1,TIMESTAMP:!1,DATE:!1,BINARY:!1,TINYINT:!0,SMALLINT:!1,INT:!1,INTEGER:!1,BIGINT:!1,FLOAT:!1,DOUBLE:!1,DECIMAL:!1,NUMBER:!0,STRING:!1,CHAR:!1,VARCHAR:!1,T:!0},SMALLINT:{BOOLEAN:!1,TIMESTAMP:!1,DATE:!1,BINARY:!1,TINYINT:!0,SMALLINT:!0,INT:!1,INTEGER:!1,BIGINT:!1,FLOAT:!1,DOUBLE:!1,DECIMAL:!1,NUMBER:!0,STRING:!1,CHAR:!1,VARCHAR:!1,T:!0},INT:{BOOLEAN:!1,TIMESTAMP:!1,DATE:!1,BINARY:!1,TINYINT:!0,SMALLINT:!0,INT:!0,INTEGER:!0,BIGINT:!1,FLOAT:!1,DOUBLE:!1,DECIMAL:!1,NUMBER:!0,STRING:!1,CHAR:!1,VARCHAR:!1,T:!0},BIGINT:{BOOLEAN:!1,TIMESTAMP:!1,DATE:!1,BINARY:!1,TINYINT:!0,SMALLINT:!0,INT:!0,INTEGER:!0,BIGINT:!0,FLOAT:!1,DOUBLE:!1,DECIMAL:!1,NUMBER:!0,STRING:!1,CHAR:!1,VARCHAR:!1,T:!0},FLOAT:{BOOLEAN:!1,TIMESTAMP:!1,DATE:!1,BINARY:!1,TINYINT:!0,SMALLINT:!0,INT:!0,INTEGER:!0,BIGINT:!0,FLOAT:!0,DOUBLE:!1,DECIMAL:!1,NUMBER:!0,STRING:!1,CHAR:!1,VARCHAR:!1,T:!0},DOUBLE:{BOOLEAN:!1,TIMESTAMP:!1,DATE:!1,BINARY:!1,TINYINT:!0,SMALLINT:!0,INT:!0,INTEGER:!0,BIGINT:!0,FLOAT:!0,DOUBLE:!0,DECIMAL:!1,NUMBER:!0,STRING:!0,CHAR:!0,VARCHAR:!0,T:!0},DECIMAL:{BOOLEAN:!1,TIMESTAMP:!1,DATE:!1,BINARY:!1,TINYINT:!0,SMALLINT:!0,INT:!0,INTEGER:!0,BIGINT:!0,FLOAT:!0,DOUBLE:!0,DECIMAL:!0,NUMBER:!0,STRING:!0,CHAR:!0,VARCHAR:!0,T:!0},NUMBER:{BOOLEAN:!1,TIMESTAMP:!1,DATE:!1,BINARY:!1,TINYINT:!0,SMALLINT:!0,INT:!0,INTEGER:!0,BIGINT:!0,FLOAT:!0,DOUBLE:!0,DECIMAL:!0,NUMBER:!0,STRING:!0,CHAR:!0,VARCHAR:!0,T:!0},STRING:{BOOLEAN:!1,TIMESTAMP:!0,DATE:!0,BINARY:!1,TINYINT:!0,SMALLINT:!0,INT:!0,INTEGER:!0,BIGINT:!0,FLOAT:!0,DOUBLE:!0,DECIMAL:!0,NUMBER:!0,STRING:!0,CHAR:!0,VARCHAR:!0,T:!0},CHAR:{BOOLEAN:!1,TIMESTAMP:!0,DATE:!0,BINARY:!1,TINYINT:!0,SMALLINT:!0,INT:!0,INTEGER:!0,BIGINT:!0,FLOAT:!0,DOUBLE:!0,DECIMAL:!0,NUMBER:!0,STRING:!0,CHAR:!0,VARCHAR:!0,T:!0},VARCHAR:{BOOLEAN:!1,TIMESTAMP:!0,DATE:!0,BINARY:!1,TINYINT:!0,SMALLINT:!0,INT:!0,INTEGER:!0,BIGINT:!0,FLOAT:!0,DOUBLE:!0,DECIMAL:!0,NUMBER:!0,STRING:!0,CHAR:!0,VARCHAR:!0,T:!0},T:{BOOLEAN:!0,TIMESTAMP:!0,DATE:!0,BINARY:!0,TINYINT:!0,SMALLINT:!0,INT:!0,INTEGER:!0,BIGINT:!0,FLOAT:!0,DOUBLE:!0,DECIMAL:!0,NUMBER:!0,STRING:!0,CHAR:!0,VARCHAR:!0,T:!0}},a={BOOLEAN:{BOOLEAN:!0,TIMESTAMP:!1,TINYINT:!1,SMALLINT:!1,INT:!1,BIGINT:!1,DOUBLE:!1,REAL:!1,DECIMAL:!1,FLOAT:!1,NUMBER:!1,CHAR:!1,VARCHAR:!1,STRING:!1,T:!0},TIMESTAMP:{BOOLEAN:!1,TIMESTAMP:!0,TINYINT:!1,SMALLINT:!1,INT:!1,BIGINT:!1,DOUBLE:!1,REAL:!1,DECIMAL:!1,FLOAT:!1,NUMBER:!1,CHAR:!1,VARCHAR:!1,STRING:!0,T:!0},TINYINT:{BOOLEAN:!1,TIMESTAMP:!1,TINYINT:!0,SMALLINT:!1,INT:!1,BIGINT:!1,DOUBLE:!1,REAL:!1,DECIMAL:!1,FLOAT:!1,NUMBER:!0,CHAR:!1,VARCHAR:!1,STRING:!1,T:!0},SMALLINT:{BOOLEAN:!1,TIMESTAMP:!1,TINYINT:!0,SMALLINT:!0,INT:!1,BIGINT:!1,DOUBLE:!1,REAL:!1,DECIMAL:!1,FLOAT:!1,NUMBER:!0,CHAR:!1,VARCHAR:!1,STRING:!1,T:!0},INT:{BOOLEAN:!1,TIMESTAMP:!1,TINYINT:!0,SMALLINT:!0,INT:!0,BIGINT:!1,DOUBLE:!1,REAL:!1,DECIMAL:!1,FLOAT:!1,NUMBER:!0,CHAR:!1,VARCHAR:!1,STRING:!1,T:!0},BIGINT:{BOOLEAN:!1,TIMESTAMP:!1,TINYINT:!0,SMALLINT:!0,INT:!0,BIGINT:!0,DOUBLE:!1,REAL:!1,DECIMAL:!1,FLOAT:!1,NUMBER:!0,CHAR:!1,VARCHAR:!1,STRING:!1,T:!0},DOUBLE:{BOOLEAN:!1,TIMESTAMP:!1,TINYINT:!0,SMALLINT:!0,INT:!0,BIGINT:!0,DOUBLE:!0,REAL:!0,DECIMAL:!1,FLOAT:!0,NUMBER:!0,CHAR:!1,VARCHAR:!1,STRING:!1,T:!0},REAL:{BOOLEAN:!1,TIMESTAMP:!1,TINYINT:!0,SMALLINT:!0,INT:!0,BIGINT:!0,DOUBLE:!0,REAL:!0,DECIMAL:!1,FLOAT:!0,NUMBER:!0,CHAR:!1,VARCHAR:!1,STRING:!1,T:!0},DECIMAL:{BOOLEAN:!1,TIMESTAMP:!1,TINYINT:!0,SMALLINT:!0,INT:!0,BIGINT:!0,DOUBLE:!0,REAL:!0,DECIMAL:!0,FLOAT:!0,NUMBER:!0,CHAR:!1,VARCHAR:!1,STRING:!1,T:!0},FLOAT:{BOOLEAN:!1,TIMESTAMP:!1,TINYINT:!0,SMALLINT:!0,INT:!0,BIGINT:!0,DOUBLE:!1,REAL:!1,DECIMAL:!1,FLOAT:!0,NUMBER:!0,CHAR:!1,VARCHAR:!1,STRING:!1,T:!0},NUMBER:{BOOLEAN:!1,TIMESTAMP:!1,TINYINT:!0,SMALLINT:!0,INT:!0,BIGINT:!0,DOUBLE:!0,REAL:!0,DECIMAL:!0,FLOAT:!0,NUMBER:!0,CHAR:!1,VARCHAR:!1,STRING:!1,T:!0},CHAR:{BOOLEAN:!1,TIMESTAMP:!1,TINYINT:!1,SMALLINT:!1,INT:!1,BIGINT:!1,DOUBLE:!1,REAL:!1,DECIMAL:!1,FLOAT:!1,NUMBER:!1,CHAR:!0,VARCHAR:!1,STRING:!1,T:!0},VARCHAR:{BOOLEAN:!1,TIMESTAMP:!1,TINYINT:!1,SMALLINT:!1,INT:!1,BIGINT:!1,DOUBLE:!1,REAL:!1,DECIMAL:!1,FLOAT:!1,NUMBER:!1,CHAR:!0,VARCHAR:!0,STRING:!1,T:!0},STRING:{BOOLEAN:!1,TIMESTAMP:!0,TINYINT:!1,SMALLINT:!1,INT:!1,BIGINT:!1,DOUBLE:!1,REAL:!1,DECIMAL:!1,FLOAT:!1,NUMBER:!1,CHAR:!0,VARCHAR:!1,STRING:!0,T:!0},T:{BOOLEAN:!0,TIMESTAMP:!0,TINYINT:!0,SMALLINT:!0,INT:!0,BIGINT:!0,DOUBLE:!0,REAL:!0,DECIMAL:!0,FLOAT:!0,NUMBER:!0,CHAR:!0,VARCHAR:!0,STRING:!0,T:!0}},n={BOOLEAN:{BOOLEAN:!0,TIMESTAMP:!1,TINYINT:!1,SMALLINT:!1,INT:!1,BIGINT:!1,DOUBLE:!1,REAL:!1,DECIMAL:!1,FLOAT:!1,NUMBER:!1,CHAR:!1,VARCHAR:!1,STRING:!1,T:!0},TIMESTAMP:{BOOLEAN:!1,TIMESTAMP:!0,TINYINT:!1,SMALLINT:!1,INT:!1,BIGINT:!1,DOUBLE:!1,REAL:!1,DECIMAL:!1,FLOAT:!1,NUMBER:!1,CHAR:!1,VARCHAR:!1,STRING:!0,T:!0},TINYINT:{BOOLEAN:!1,TIMESTAMP:!1,TINYINT:!0,SMALLINT:!1,INT:!1,BIGINT:!1,DOUBLE:!1,REAL:!1,DECIMAL:!1,FLOAT:!1,NUMBER:!0,CHAR:!1,VARCHAR:!1,STRING:!1,T:!0},SMALLINT:{BOOLEAN:!1,TIMESTAMP:!1,TINYINT:!0,SMALLINT:!0,INT:!1,BIGINT:!1,DOUBLE:!1,REAL:!1,DECIMAL:!1,FLOAT:!1,NUMBER:!0,CHAR:!1,VARCHAR:!1,STRING:!1,T:!0},INT:{BOOLEAN:!1,TIMESTAMP:!1,TINYINT:!0,SMALLINT:!0,INT:!0,BIGINT:!1,DOUBLE:!1,REAL:!1,DECIMAL:!1,FLOAT:!1,NUMBER:!0,CHAR:!1,VARCHAR:!1,STRING:!1,T:!0},BIGINT:{BOOLEAN:!1,TIMESTAMP:!1,TINYINT:!0,SMALLINT:!0,INT:!0,BIGINT:!0,DOUBLE:!1,REAL:!1,DECIMAL:!1,FLOAT:!1,NUMBER:!0,CHAR:!1,VARCHAR:!1,STRING:!1,T:!0},DOUBLE:{BOOLEAN:!1,TIMESTAMP:!1,TINYINT:!0,SMALLINT:!0,INT:!0,BIGINT:!0,DOUBLE:!0,REAL:!0,DECIMAL:!1,FLOAT:!0,NUMBER:!0,CHAR:!1,VARCHAR:!1,STRING:!1,T:!0},REAL:{BOOLEAN:!1,TIMESTAMP:!1,TINYINT:!0,SMALLINT:!0,INT:!0,BIGINT:!0,DOUBLE:!0,REAL:!0,DECIMAL:!1,FLOAT:!0,NUMBER:!0,CHAR:!1,VARCHAR:!1,STRING:!1,T:!0},DECIMAL:{BOOLEAN:!1,TIMESTAMP:!1,TINYINT:!0,SMALLINT:!0,INT:!0,BIGINT:!0,DOUBLE:!0,REAL:!0,DECIMAL:!0,FLOAT:!0,NUMBER:!0,CHAR:!1,VARCHAR:!1,STRING:!1,T:!0},FLOAT:{BOOLEAN:!1,TIMESTAMP:!1,TINYINT:!0,SMALLINT:!0,INT:!0,BIGINT:!0,DOUBLE:!1,REAL:!1,DECIMAL:!1,FLOAT:!0,NUMBER:!0,CHAR:!1,VARCHAR:!1,STRING:!1,T:!0},NUMBER:{BOOLEAN:!1,TIMESTAMP:!1,TINYINT:!0,SMALLINT:!0,INT:!0,BIGINT:!0,DOUBLE:!0,REAL:!0,DECIMAL:!0,FLOAT:!0,NUMBER:!0,CHAR:!1,VARCHAR:!1,STRING:!1,T:!0},CHAR:{BOOLEAN:!1,TIMESTAMP:!1,TINYINT:!1,SMALLINT:!1,INT:!1,BIGINT:!1,DOUBLE:!1,REAL:!1,DECIMAL:!1,FLOAT:!1,NUMBER:!1,CHAR:!0,VARCHAR:!1,STRING:!1,T:!0},VARCHAR:{BOOLEAN:!1,TIMESTAMP:!1,TINYINT:!1,SMALLINT:!1,INT:!1,BIGINT:!1,DOUBLE:!1,REAL:!1,DECIMAL:!1,FLOAT:!1,NUMBER:!1,CHAR:!0,VARCHAR:!0,STRING:!1,T:!0},STRING:{BOOLEAN:!1,TIMESTAMP:!0,TINYINT:!1,SMALLINT:!1,INT:!1,BIGINT:!1,DOUBLE:!1,REAL:!1,DECIMAL:!1,FLOAT:!1,NUMBER:!1,CHAR:!0,VARCHAR:!1,STRING:!0,T:!0},T:{BOOLEAN:!0,TIMESTAMP:!0,TINYINT:!0,SMALLINT:!0,INT:!0,BIGINT:!0,DOUBLE:!0,REAL:!0,DECIMAL:!0,FLOAT:!0,NUMBER:!0,CHAR:!0,VARCHAR:!0,STRING:!0,T:!0}},r=function(e,s,t){if(1===s.length&&"T"===s[0])return!0;var r,o=(r=[],t.forEach((function(e){e.indexOf("(")>-1?r.push(e.substring(0,e.indexOf("("))):r.push(e)})),r);if(-1!==o.indexOf("ARRAY")||-1!==o.indexOf("MAP")||-1!==o.indexOf("STRUCT"))return!0;for(var u=function(e){return"impala"===e?a:"hive"===e?i:n}(e),l=0;l<s.length;l++)for(var c=0;c<o.length;c++){if(void 0===u[s[l]]||void 0===u[s[l]][o[c]])return!0;if(u[s[l]]&&u[s[l]][o[c]])return!0}return!1}},15:function(e,s,t){e.exports=t(16)},16:function(e,s,t){"use strict";t.r(s);var i=t(2),a=function(){var e=function(e,s,t,i){for(t=t||{},i=e.length;i--;t[e[i]]=s);return t},s=[4,8,12,16,162,174,241,272,322,338,341,345],t=[2,626],a=[341,345],n=[2,627],r=[1,35],o=[1,27],u=[1,28],l=[1,18],c=[1,36],y=[1,33],g=[1,34],T=[1,29],d=[1,32],p=[1,30],E=[1,45],h=[1,47],I=[1,43],f=[1,46],A=[1,42],L=[81,341,345],b=[2,453],C=[1,53],N=[1,61],R=[1,62],S=[1,75],O=[54,55,63,79,95,96,107,112,113,228,254,268,270,271,272,295,296,297,298,299,300,301,302,303,304,305,307,308,349,350,352,353,356,359,363,371,390,391],m=[2,415],D=[1,81],k=[1,82],x=[32,268],w=[16,32,43,50,54,55,63,77,79,81,85,95,107,108,109,112,113,120,125,129,140,142,154,182,190,201,214,215,216,217,218,219,220,221,222,226,228,232,239,240,254,263,265,268,341,345,349,350,353,357,358,359,360,361,362,364,367,368,369,370,372,375,376,377,378,380,381,383,385,386,387,388,389,392,393,406,440],_=[81,263,341,345],F=[63,113,228,341,345,349,350],v=[2,783],B=[1,96],P=[63,113,228,349,350,359],M=[63,113,228,307,341,345,349,350,359],U=[2,780],K=[1,101],$=[16,63,113,228,349,350,359],V=[79,85,241],G=[1,167],H=[1,168],Q=[1,123],W=[1,118],Y=[1,129],J=[1,131],j=[1,133],X=[1,116],q=[1,165],z=[1,169],Z=[1,170],ee=[1,134],se=[1,156],te=[1,157],ie=[1,158],ae=[1,159],ne=[1,160],re=[1,161],oe=[1,162],ue=[1,163],le=[1,149],ce=[1,150],ye=[1,143],ge=[1,132],Te=[1,144],de=[1,119],pe=[1,121],Ee=[1,120],he=[1,124],Ie=[1,122],fe=[1,164],Ae=[1,166],Le=[54,55,63,79,81,95,96,107,112,113,228,241,254,268,270,271,272,295,296,297,298,299,300,301,302,303,304,305,307,308,349,350,352,353,356,359,363,371,390,391],be=[1,218],Ce=[81,85,182,263,341,345],Ne=[2,1102],Re=[1,223],Se=[1,238],Oe=[1,239],me=[1,227],De=[1,224],ke=[1,225],xe=[1,226],we=[1,233],_e=[1,232],Fe=[1,231],ve=[1,234],Be=[1,229],Pe=[1,228],Me=[1,222],Ue=[1,230],Ke=[1,241],$e=[1,240],Ve=[32,43,54,55,63,77,81,85,95,108,109,113,129,142,182,190,201,214,215,216,217,218,219,220,221,226,228,232,239,240,254,263,265,341,345,349,350,353,357,358,359,360,369,370,375,377,378,380,381,383,387,393,440],Ge=[1,247],He=[1,253],Qe=[1,255],We=[32,43,54,55,63,77,79,81,85,95,108,109,113,129,142,182,190,201,214,215,216,217,218,219,220,221,226,228,232,239,240,254,263,265,341,345,349,350,353,357,358,359,360,369,370,375,377,378,380,381,383,387,393,440],Ye=[1,260],Je=[32,43,50,54,55,63,77,79,81,85,95,108,109,113,129,142,182,190,201,214,215,216,217,218,219,220,221,226,228,232,239,240,254,263,265,268,341,345,349,350,353,357,358,359,360,369,370,375,377,378,380,381,383,387,393,440],je=[32,43,54,55,63,77,81,85,95,108,109,113,129,142,182,190,201,214,215,216,217,218,219,220,221,226,228,232,239,240,254,263,265,319,341,345,349,350,353,357,358,359,360,369,370,375,377,378,380,381,383,387,393,440],Xe=[43,54,55,63,81,85,113,125,140,154,190,201,214,215,216,217,218,219,220,221,222,226,228,232,263,265,341,345,349,350,359],qe=[43,50,81,85,95,96,109,182,190,201,214,215,216,217,218,219,220,221,222,226,232,263,265,341,345],ze=[81,85],Ze=[2,46],es=[1,289],ss=[43,341,345],ts=[43,125,341,345],is=[43,50,77,79,125,341,345],as=[43,50],ns=[265,341,345],rs=[85,182,265,341,345],os=[32,50,81,85],us=[174,241],ls=[2,1080],cs=[81,190,201,226,232,263,341,345],ys=[2,466],gs=[1,317],Ts=[96,248,270,271],ds=[81,85,182,190,201,214,215,216,217,218,219,220,221,222,226,232,263,265,341,345],ps=[43,54,55,63,81,85,95,113,129,182,190,201,214,215,216,217,218,219,220,221,226,228,232,239,240,263,265,341,345,349,350,357,359,360,369,370,378,383,387,393,440],Es=[32,43,54,55,63,81,85,95,108,109,113,129,142,182,190,201,214,215,216,217,218,219,220,221,226,228,232,239,240,254,263,265,341,345,349,350,353,357,358,359,360,369,370,378,383,387,393,440],hs=[369,370,393],Is=[54,55,63,79,95,96,107,112,113,228,268,270,271,272,295,296,297,298,299,300,301,302,303,304,305,307,308,349,350,352,353,356,359,363,371,390,391],fs=[32,43,50,54,55,63,77,81,85,95,96,108,109,113,129,142,182,190,201,214,215,216,217,218,219,220,221,222,226,228,232,239,240,254,263,265,341,345,349,350,353,357,358,359,360,369,370,375,377,378,380,381,383,387,393,440],As=[81,201,226,232,263,341,345],Ls=[81,85,190,201,226,232,263,265,341,345],bs=[1,418],Cs=[1,421],Ns=[1,419],Rs=[1,423],Ss=[1,420],Os=[1,422],ms=[1,425],Ds=[1,424],ks=[81,85,190,201,214,215,216,217,218,219,220,221,222,226,232,263,265,341,345],xs=[43,54,55,63,81,85,113,190,201,214,215,216,217,218,219,220,221,222,226,228,232,263,265,341,345,349,350,359],ws=[32,43,54,55,63,81,85,95,108,109,113,129,142,182,190,201,214,215,216,217,218,219,220,221,226,228,232,239,240,263,265,341,345,349,350,357,359,360,369,370,378,383,387,393,440],_s=[43,54,55,63,81,85,113,129,182,190,201,214,215,216,217,218,219,220,221,226,228,232,239,240,263,265,341,345,349,350,357,359,369,370,378,383,387,393,440],Fs=[1,443],vs=[81,232],Bs=[1,457],Ps=[1,483],Ms=[1,484],Us=[1,485],Ks=[1,471],$s=[1,472],Vs=[1,473],Gs=[1,474],Hs=[1,475],Qs=[1,476],Ws=[1,477],Ys=[1,478],Js=[1,479],js=[1,480],Xs=[1,481],qs=[1,482],zs=[81,226,232,263,341,345],Zs=[63,79,113,228,349,350,359],et=[1,517],st=[81,85,232],tt=[32,43,54,55,63,77,81,85,95,108,109,113,129,142,182,190,201,214,215,216,217,218,219,220,221,222,226,228,232,239,240,254,263,265,341,345,349,350,353,357,358,359,360,369,370,375,377,378,380,381,383,387,393,440],it=[1,525],at=[85,341,345],nt=[1,541],rt=[1,542],ot=[50,81,85,95,96,109],ut=[2,892],lt=[1,545],ct=[81,226,263,341,345],yt=[81,85,190,201,214,215,216,217,218,219,220,221,226,232,263,265,341,345],gt=[2,372],Tt=[1,561],dt=[50,81,85,95,96],pt=[81,85,201,226,232,263,341,345],Et=[360,495],ht=[1,617],It=[85,109],ft=[81,357,365,390,495],At=[2,1138],Lt=[81,85,129,226,263,341,345,383],bt=[81,357],Ct=[2,1148],Nt=[1,650],Rt=[1,651],St=[1,652],Ot=[1,660],mt=[1,661],Dt=[2,1153],kt=[1,668],xt=[373,379],wt=[2,196],_t=[2,197],Ft={trace:function(){},yy:{},symbols_:{error:2,DataDefinition_EDIT:3,ALTER:4,CURSOR:5,AlterTable_EDIT:6,AlterView_EDIT:7,CREATE:8,DatabaseDefinition_EDIT:9,TableDefinition_EDIT:10,ViewDefinition_EDIT:11,DROP:12,DropDatabaseStatement_EDIT:13,DropTableStatement_EDIT:14,DropViewStatement_EDIT:15,SET:16,TruncateTableStatement_EDIT:17,UseStatement_EDIT:18,DataDefinition:19,AlterTable:20,AlterView:21,DatabaseDefinition:22,RoleDefinition:23,TableDefinition:24,ViewDefinition:25,DropDatabaseStatement:26,DropRoleStatement:27,DropTableStatement:28,DropViewStatement:29,ALL:30,SetOption:31,"=":32,SetValue:33,TruncateTableStatement:34,UseStatement:35,AlterTableLeftSide:36,PartitionSpec:37,AlterTableLeftSide_EDIT:38,TABLE:39,SchemaQualifiedTableIdentifier:40,SchemaQualifiedTableIdentifier_EDIT:41,AlterViewLeftSide:42,AS:43,QuerySpecification:44,AlterViewLeftSide_EDIT:45,QuerySpecification_EDIT:46,VIEW:47,OptionalComment:48,Comment:49,COMMENT:50,QuotedValue:51,OptionalComment_INVALID:52,Comment_INVALID:53,SINGLE_QUOTE:54,DOUBLE_QUOTE:55,VALUE:56,DatabaseOrSchema:57,OptionalIfNotExists:58,RegularIdentifier:59,DatabaseDefinitionOptionals:60,OptionalIfNotExists_EDIT:61,DatabaseDefinitionOptionals_EDIT:62,ROLE:63,TableDefinitionRightPart:64,TableDefinitionRightPart_EDIT:65,TableIdentifierAndOptionalColumnSpecification:66,OptionalPartitionedBy:67,OptionalAsSelectStatement:68,TableIdentifierAndOptionalColumnSpecification_EDIT:69,PartitionedBy_EDIT:70,OptionalAsSelectStatement_EDIT:71,SchemaQualifiedIdentifier:72,OptionalColumnSpecificationsOrLike:73,OptionalColumnSpecificationsOrLike_EDIT:74,SchemaQualifiedIdentifier_EDIT:75,ParenthesizedColumnSpecificationList:76,LIKE:77,ParenthesizedColumnSpecificationList_EDIT:78,"(":79,ColumnSpecificationList:80,")":81,ColumnSpecificationList_EDIT:82,RightParenthesisOrError:83,ColumnSpecification:84,",":85,ColumnSpecification_EDIT:86,ColumnIdentifier:87,ColumnDataType:88,OptionalColumnOptions:89,ColumnDataType_EDIT:90,ColumnOptions_EDIT:91,ColumnOptions:92,ColumnOption:93,ColumnOption_EDIT:94,NOT:95,NULL:96,PrimitiveType:97,ArrayType:98,MapType:99,StructType:100,ArrayType_INVALID:101,MapType_INVALID:102,StructType_INVALID:103,ArrayType_EDIT:104,MapType_EDIT:105,StructType_EDIT:106,ARRAY:107,"<":108,">":109,AnyCursor:110,GreaterThanOrError:111,MAP:112,STRUCT:113,StructDefinitionList:114,StructDefinitionList_EDIT:115,StructDefinition:116,StructDefinition_EDIT:117,Commas:118,RegularOrBacktickedIdentifier:119,":":120,ColumnDataTypeList:121,ColumnDataTypeList_EDIT:122,ColumnDataTypeListInner_EDIT:123,PartitionedBy:124,PARTITION:125,BY:126,RangeClause:127,RangeClause_EDIT:128,RANGE:129,ParenthesizedColumnList:130,ParenthesizedPartitionValuesList:131,ParenthesizedColumnList_EDIT:132,ParenthesizedPartitionValuesList_EDIT:133,PartitionValueList:134,PartitionValueList_EDIT:135,PartitionValue:136,PartitionValue_EDIT:137,ValueExpression:138,LessThanOrEqualTo:139,VALUES:140,ValueExpression_EDIT:141,COMPARISON_OPERATOR:142,CommitLocations:143,OptionalParenthesizedViewColumnList:144,ParenthesizedViewColumnList_EDIT:145,ParenthesizedViewColumnList:146,ViewColumnList:147,ViewColumnList_EDIT:148,ColumnReference:149,OptionalIfExists:150,OptionalCascade:151,OptionalIfExists_EDIT:152,OptionalPurge:153,PURGE:154,DataManipulation:155,InsertStatement:156,UpdateStatement:157,InsertValuesStatement:158,DataManipulation_EDIT:159,InsertValuesStatement_EDIT:160,UpdateStatement_EDIT:161,INSERT:162,INTO:163,OptionalTable:164,InsertValuesList:165,ParenthesizedRowValuesList:166,InValueList:167,CommonTableExpression:168,SelectStatement:169,OptionalUnions:170,SelectStatement_EDIT:171,OptionalUnions_EDIT:172,CommonTableExpression_EDIT:173,WITH:174,WithQueries:175,WithQueries_EDIT:176,WithQuery:177,WithQuery_EDIT:178,TableSubQueryInner:179,TableSubQueryInner_EDIT:180,FromClause:181,FROM:182,TableReferenceList:183,FromClause_EDIT:184,TableReferenceList_EDIT:185,TableReference:186,TableReference_EDIT:187,OptionalGroupByClause:188,GroupByClause:189,GROUP:190,GroupByColumnList:191,GroupByClause_EDIT:192,GroupByColumnList_EDIT:193,ColumnGroupingSets:194,ColumnGroupingSets_EDIT:195,ColumnGroupingSet_EDIT:196,ColumnReference_EDIT:197,GroupByColumnListPartTwo_EDIT:198,OptionalHavingClause:199,HavingClause:200,HAVING:201,HavingClause_EDIT:202,OptionalJoins:203,Joins:204,Joins_INVALID:205,JoinType:206,TablePrimary:207,OptionalJoinCondition:208,Join_EDIT:209,JoinType_EDIT:210,TablePrimary_EDIT:211,JoinCondition_EDIT:212,Joins_EDIT:213,CROSS:214,JOIN:215,FULL:216,OUTER:217,INNER:218,LEFT:219,SEMI:220,RIGHT:221,ON:222,UsingColList:223,OptionalLimitClause:224,LimitClause:225,LIMIT:226,UnsignedNumericLiteral:227,VARIABLE_REFERENCE:228,LimitClause_EDIT:229,OptionalOrderByClause:230,OrderByClause:231,ORDER:232,OrderByColumnList:233,OrderByClause_EDIT:234,OrderByColumnList_EDIT:235,OrderByIdentifier:236,OrderByIdentifier_EDIT:237,OptionalAscOrDesc:238,ASC:239,DESC:240,SELECT:241,OptionalAllOrDistinct:242,SelectList:243,TableExpression:244,STREAM:245,SelectList_EDIT:246,TableExpression_EDIT:247,DISTINCT:248,OptionalSelectConditions:249,OptionalSelectConditions_EDIT:250,SelectSpecification:251,SelectSpecification_EDIT:252,OptionalCorrelationName:253,"*":254,OptionalCorrelationName_EDIT:255,OptionalWhereClause:256,WhereClause_EDIT:257,WhereClause:258,Unions:259,Unions_EDIT:260,UnionClause:261,UnionClause_EDIT:262,UNION:263,NewStatement:264,WHERE:265,SearchCondition:266,SearchCondition_EDIT:267,".":268,SignedInteger:269,TRUE:270,FALSE:271,TRUNCATE:272,OptionalPartitionSpec:273,UserDefinedFunction:274,AggregateFunction:275,OptionalOverClause:276,AnalyticFunction:277,OverClause:278,CastFunction:279,UserDefinedFunction_EDIT:280,AggregateFunction_EDIT:281,OptionalOverClause_EDIT:282,AnalyticFunction_EDIT:283,OverClause_EDIT:284,CastFunction_EDIT:285,OtherAggregateFunction:286,CountFunction:287,SumFunction:288,OtherAggregateFunction_EDIT:289,CountFunction_EDIT:290,SumFunction_EDIT:291,OtherAggregateFunction_Type:292,UdfArgumentList:293,UdfArgumentList_EDIT:294,AVG:295,MAX:296,MIN:297,STDDEV_POP:298,STDDEV_SAMP:299,VAR_POP:300,VAR_SAMP:301,VARIANCE:302,COUNT:303,SUM:304,ANALYTIC:305,ArbitraryFunctionName:306,IF:307,CAST:308,NonParenthesizedValueExpressionPrimary:309,ColumnOrArbitraryFunctionRef:310,ArbitraryFunctionRightPart:311,UnsignedValueSpecification:312,NonParenthesizedValueExpressionPrimary_EDIT:313,ArbitraryFunctionRightPart_EDIT:314,UnsignedValueSpecification_EDIT:315,ColumnOrArbitraryFunctionRef_EDIT:316,ArbitraryFunction:317,ArbitraryFunction_EDIT:318,OVER:319,WindowExpression:320,WindowExpression_EDIT:321,UPDATE:322,TargetTable:323,SetClauseList:324,OptionalFromJoinedTable:325,TargetTable_EDIT:326,SetClauseList_EDIT:327,FromJoinedTable_EDIT:328,TableName:329,TableName_EDIT:330,LocalOrSchemaQualifiedName:331,LocalOrSchemaQualifiedName_EDIT:332,SetClause:333,SetClause_EDIT:334,SetTarget:335,UpdateSource:336,UpdateSource_EDIT:337,USE:338,SqlSyntax:339,SqlStatements:340,EOF:341,SqlAutocomplete:342,SqlStatements_EDIT:343,SqlStatement:344,";":345,SqlStatement_EDIT:346,SetSpecification_EDIT:347,NonReservedKeyword:348,OPTION:349,REGULAR_IDENTIFIER:350,NonStartingToken:351,"!":352,"-":353,"[":354,"]":355,"~":356,AND:357,ARITHMETIC_OPERATOR:358,BACKTICK:359,BETWEEN:360,BIGINT:361,BOOLEAN:362,CASE:363,CHAR:364,CURRENT:365,DATABASE:366,DECIMAL:367,DOUBLE:368,ELSE:369,END:370,EXISTS:371,FLOAT:372,FOLLOWING:373,HDFS_START_QUOTE:374,IN:375,INT:376,IS:377,OR:378,PRECEDING:379,REGEXP:380,RLIKE:381,ROW:382,ROWS:383,SCHEMA:384,SMALLINT:385,STRING:386,THEN:387,TIMESTAMP:388,TINYINT:389,UNSIGNED_INTEGER:390,UNSIGNED_INTEGER_E:391,VARCHAR:392,WHEN:393,PARTIAL_CURSOR:394,FromOrIn:395,SingleQuotedValue:396,SingleQuotedValue_EDIT:397,PARTIAL_VALUE:398,DoubleQuotedValue:399,DoubleQuotedValue_EDIT:400,QuotedValue_EDIT:401,OptionalFromDatabase:402,DatabaseIdentifier:403,OptionalFromDatabase_EDIT:404,DatabaseIdentifier_EDIT:405,CASCADE:406,OptionalInDatabase:407,OptionalPartitionSpec_EDIT:408,PartitionSpec_EDIT:409,PartitionSpecList:410,PartitionSpecList_EDIT:411,RangePartitionSpec:412,RangePartitionComparisonOperator:413,RangePartitionSpec_EDIT:414,ConfigurationName:415,PartialBacktickedOrAnyCursor:416,PartialBacktickedIdentifier:417,PartialBacktickedOrCursor:418,PartialBacktickedOrPartialCursor:419,OptionalParenthesizedColumnList:420,OptionalParenthesizedColumnList_EDIT:421,ColumnList:422,ColumnList_EDIT:423,ParenthesizedSimpleValueList:424,SimpleValueList:425,PartitionExpression:426,PartitionExpression_EDIT:427,RegularOrBackTickedSchemaQualifiedName:428,RegularOrBackTickedSchemaQualifiedName_EDIT:429,BasicIdentifierChain:430,BasicIdentifierChain_EDIT:431,DerivedColumnChain:432,DerivedColumnChain_EDIT:433,PartialBacktickedIdentifierOrPartialCursor:434,OptionalTypeLength:435,OptionalTypePrecision:436,OptionalNot:437,TableSubQuery:438,ValueExpressionList:439,BETWEEN_AND:440,LikeRightPart:441,CaseRightPart:442,TableSubQuery_EDIT:443,ValueExpressionInSecondPart_EDIT:444,LikeRightPart_EDIT:445,CaseRightPart_EDIT:446,EndOrError:447,ValueExpressionList_EDIT:448,"+":449,UnsignedLiteral:450,UnsignedLiteral_EDIT:451,GeneralLiteral:452,GeneralLiteral_EDIT:453,ExactNumericLiteral:454,ApproximateNumericLiteral:455,TruthValue:456,TablePrimaryOrJoinedTable:457,TablePrimaryOrJoinedTable_EDIT:458,JoinedTable:459,JoinedTable_EDIT:460,TableOrQueryName:461,DerivedTable:462,TableOrQueryName_EDIT:463,DerivedTable_EDIT:464,OptionalOnColumn:465,OptionalOnColumn_EDIT:466,PushQueryState:467,PopQueryState:468,SubQuery:469,SubQuery_EDIT:470,QueryExpression:471,QueryExpression_EDIT:472,QueryExpressionBody:473,QueryExpressionBody_EDIT:474,NonJoinQueryExpression:475,NonJoinQueryExpression_EDIT:476,NonJoinQueryTerm:477,NonJoinQueryTerm_EDIT:478,NonJoinQueryPrimary:479,NonJoinQueryPrimary_EDIT:480,SimpleTable:481,SimpleTable_EDIT:482,OptionalPartitionBy:483,OptionalOrderByAndWindow:484,PartitionBy_EDIT:485,OptionalOrderByAndWindow_EDIT:486,PartitionBy:487,OptionalWindowSpec:488,WindowSpec_EDIT:489,WindowSpec:490,RowsOrRange:491,PopLexerState:492,OptionalCurrentOrPreceding:493,OptionalAndFollowing:494,UNBOUNDED:495,OptionalCurrentOrPreceding_EDIT:496,OptionalAndFollowing_EDIT:497,PushHdfsLexerState:498,HdfsPath:499,HDFS_PATH:500,HDFS_END_QUOTE:501,HdfsPath_EDIT:502,IntegerOrUnbounded:503,CaseWhenThenList:504,CaseWhenThenList_EDIT:505,CaseWhenThenListPartTwo:506,CaseWhenThenListPartTwo_EDIT:507,$accept:0,$end:1},terminals_:{2:"error",4:"ALTER",5:"CURSOR",8:"CREATE",12:"DROP",16:"SET",30:"ALL",32:"=",39:"TABLE",43:"AS",47:"VIEW",50:"COMMENT",54:"SINGLE_QUOTE",55:"DOUBLE_QUOTE",56:"VALUE",63:"ROLE",77:"LIKE",79:"(",81:")",85:",",95:"NOT",96:"NULL",107:"ARRAY",108:"<",109:">",112:"MAP",113:"STRUCT",120:":",125:"PARTITION",126:"BY",129:"RANGE",140:"VALUES",142:"COMPARISON_OPERATOR",154:"PURGE",162:"INSERT",163:"INTO",174:"WITH",182:"FROM",190:"GROUP",201:"HAVING",214:"CROSS",215:"JOIN",216:"FULL",217:"OUTER",218:"INNER",219:"LEFT",220:"SEMI",221:"RIGHT",222:"ON",226:"LIMIT",228:"VARIABLE_REFERENCE",232:"ORDER",239:"ASC",240:"DESC",241:"SELECT",245:"STREAM",248:"DISTINCT",254:"*",263:"UNION",265:"WHERE",268:".",270:"TRUE",271:"FALSE",272:"TRUNCATE",295:"AVG",296:"MAX",297:"MIN",298:"STDDEV_POP",299:"STDDEV_SAMP",300:"VAR_POP",301:"VAR_SAMP",302:"VARIANCE",303:"COUNT",304:"SUM",305:"ANALYTIC",307:"IF",308:"CAST",319:"OVER",322:"UPDATE",338:"USE",341:"EOF",345:";",347:"SetSpecification_EDIT",349:"OPTION",350:"REGULAR_IDENTIFIER",352:"!",353:"-",354:"[",355:"]",356:"~",357:"AND",358:"ARITHMETIC_OPERATOR",359:"BACKTICK",360:"BETWEEN",361:"BIGINT",362:"BOOLEAN",363:"CASE",364:"CHAR",365:"CURRENT",366:"DATABASE",367:"DECIMAL",368:"DOUBLE",369:"ELSE",370:"END",371:"EXISTS",372:"FLOAT",373:"FOLLOWING",374:"HDFS_START_QUOTE",375:"IN",376:"INT",377:"IS",378:"OR",379:"PRECEDING",380:"REGEXP",381:"RLIKE",382:"ROW",383:"ROWS",384:"SCHEMA",385:"SMALLINT",386:"STRING",387:"THEN",388:"TIMESTAMP",389:"TINYINT",390:"UNSIGNED_INTEGER",391:"UNSIGNED_INTEGER_E",392:"VARCHAR",393:"WHEN",394:"PARTIAL_CURSOR",398:"PARTIAL_VALUE",406:"CASCADE",440:"BETWEEN_AND",449:"+",495:"UNBOUNDED",500:"HDFS_PATH",501:"HDFS_END_QUOTE"},productions_:[0,[3,2],[3,1],[3,1],[3,2],[3,1],[3,1],[3,1],[3,2],[3,1],[3,1],[3,1],[3,2],[3,1],[3,1],[19,1],[19,1],[19,1],[19,1],[19,1],[19,1],[19,1],[19,1],[19,1],[19,1],[19,2],[19,4],[19,1],[19,1],[20,2],[6,1],[6,2],[6,2],[6,3],[36,3],[38,3],[38,3],[21,3],[7,1],[7,2],[7,3],[7,3],[7,3],[42,3],[45,3],[45,3],[48,0],[48,1],[49,2],[52,1],[53,2],[53,2],[53,3],[53,3],[22,3],[22,5],[9,4],[9,3],[9,5],[9,4],[9,6],[60,1],[62,1],[23,3],[24,4],[10,4],[10,4],[10,3],[64,3],[65,3],[65,3],[65,3],[65,3],[66,2],[69,2],[69,2],[73,0],[73,1],[73,2],[74,1],[74,2],[74,2],[76,3],[78,3],[80,1],[80,3],[82,1],[82,3],[82,3],[82,5],[82,2],[82,4],[82,4],[82,6],[84,3],[86,3],[86,3],[86,3],[89,0],[89,1],[92,1],[92,2],[91,1],[91,2],[91,2],[91,3],[93,2],[93,1],[93,1],[94,2],[88,1],[88,1],[88,1],[88,1],[88,1],[88,1],[88,1],[90,1],[90,1],[90,1],[98,4],[101,3],[104,4],[104,4],[99,6],[102,3],[105,6],[105,4],[105,6],[105,5],[100,4],[103,3],[106,4],[114,1],[114,3],[115,1],[115,2],[115,3],[115,3],[115,5],[116,4],[117,5],[117,4],[117,4],[117,4],[117,3],[117,3],[121,1],[121,3],[122,1],[122,2],[122,3],[122,3],[122,5],[123,2],[123,2],[123,1],[123,1],[111,1],[111,1],[67,0],[67,1],[124,3],[70,2],[70,3],[70,3],[127,3],[128,2],[128,2],[128,3],[128,3],[128,3],[131,3],[133,3],[133,3],[134,1],[134,3],[135,1],[135,3],[135,5],[135,3],[135,5],[136,6],[136,4],[136,4],[137,2],[137,2],[137,3],[137,4],[137,4],[137,5],[137,6],[137,6],[137,3],[137,4],[137,4],[139,1],[139,1],[68,0],[68,3],[71,3],[71,3],[143,0],[25,8],[11,4],[11,9],[11,3],[11,6],[11,7],[11,8],[11,8],[11,8],[144,0],[144,1],[146,3],[145,3],[147,2],[147,4],[148,3],[148,5],[148,5],[148,7],[26,5],[13,3],[13,3],[13,4],[13,5],[13,5],[13,6],[27,3],[28,5],[14,3],[14,4],[14,5],[14,5],[14,6],[153,0],[153,1],[29,4],[15,4],[15,5],[15,3],[15,4],[15,4],[155,1],[155,1],[156,1],[159,1],[159,1],[158,6],[160,2],[160,4],[160,4],[160,5],[160,6],[165,1],[165,3],[166,3],[164,0],[164,1],[44,3],[44,5],[44,2],[46,4],[46,3],[46,3],[46,1],[46,4],[46,3],[46,2],[46,2],[168,2],[173,2],[175,1],[175,3],[176,1],[176,3],[176,3],[176,5],[177,5],[178,2],[178,5],[178,5],[181,2],[184,2],[184,2],[183,1],[183,3],[185,1],[185,3],[185,3],[185,5],[185,3],[188,0],[188,1],[189,3],[192,3],[192,3],[192,2],[194,0],[194,1],[194,3],[194,3],[195,1],[195,3],[195,3],[195,5],[195,3],[196,1],[196,1],[191,1],[191,3],[193,1],[193,2],[193,3],[193,3],[193,3],[193,4],[193,5],[198,1],[198,2],[198,1],[199,0],[199,1],[200,2],[202,2],[202,2],[203,0],[203,1],[203,1],[204,3],[204,4],[205,1],[205,2],[209,3],[209,1],[209,3],[209,3],[209,3],[213,1],[213,2],[213,2],[213,3],[206,2],[206,2],[206,3],[206,2],[206,1],[206,3],[206,2],[206,3],[206,3],[206,2],[206,3],[206,2],[206,3],[206,3],[206,2],[210,2],[210,3],[210,3],[210,2],[210,3],[210,3],[210,3],[210,3],[210,2],[210,3],[210,3],[210,3],[210,3],[210,2],[208,0],[208,2],[223,1],[223,3],[212,2],[212,2],[224,0],[224,1],[225,2],[225,4],[225,2],[225,4],[229,2],[230,0],[230,1],[231,3],[234,3],[234,2],[233,1],[233,3],[235,1],[235,2],[235,3],[235,4],[235,5],[236,2],[237,2],[237,2],[238,0],[238,1],[238,1],[169,3],[169,4],[169,4],[171,3],[171,3],[171,4],[171,4],[171,4],[171,5],[171,6],[171,4],[171,4],[242,0],[242,1],[242,1],[244,2],[247,2],[247,4],[247,3],[243,1],[243,3],[246,1],[246,2],[246,3],[246,3],[246,3],[246,4],[246,3],[246,3],[246,4],[246,4],[246,4],[246,5],[246,5],[251,2],[251,1],[252,2],[252,3],[252,2],[249,5],[250,5],[250,5],[250,5],[250,5],[250,5],[250,6],[250,6],[250,6],[250,6],[250,6],[170,0],[170,1],[172,1],[259,1],[259,2],[260,1],[260,2],[260,2],[260,3],[261,4],[262,3],[262,4],[262,4],[256,0],[256,1],[258,2],[257,2],[257,2],[266,1],[267,1],[31,1],[31,3],[33,1],[33,1],[33,2],[33,1],[33,1],[33,1],[33,1],[34,4],[17,2],[17,4],[17,3],[17,4],[17,5],[17,5],[17,5],[274,2],[274,2],[274,1],[280,1],[280,2],[280,1],[280,2],[280,2],[280,2],[280,1],[275,1],[275,1],[275,1],[281,1],[281,1],[281,1],[286,4],[286,5],[289,5],[289,6],[289,5],[292,1],[292,1],[292,1],[292,1],[292,1],[292,1],[292,1],[292,1],[287,4],[287,3],[287,5],[290,5],[290,6],[290,5],[288,5],[288,3],[291,5],[291,6],[291,5],[277,3],[277,4],[283,4],[283,5],[283,4],[306,1],[306,1],[306,1],[306,1],[279,6],[279,3],[285,6],[285,5],[285,4],[285,6],[285,5],[285,4],[285,6],[285,5],[285,6],[285,5],[309,2],[309,2],[309,1],[309,1],[309,1],[309,1],[313,2],[313,2],[313,1],[313,1],[313,1],[317,2],[317,2],[318,2],[318,2],[311,2],[311,3],[314,3],[314,4],[314,3],[293,1],[293,3],[294,1],[294,3],[294,3],[294,5],[294,3],[294,5],[294,4],[294,3],[294,2],[294,2],[294,4],[276,0],[276,1],[282,1],[278,2],[278,2],[284,2],[157,6],[161,6],[161,6],[161,6],[161,6],[161,7],[161,3],[161,2],[161,2],[161,2],[323,1],[326,1],[329,1],[330,1],[324,1],[324,3],[327,1],[327,3],[327,3],[327,5],[333,3],[334,3],[334,2],[334,1],[335,1],[336,1],[337,1],[325,0],[325,2],[328,2],[328,2],[35,2],[18,2],[339,3],[342,3],[342,3],[264,0],[340,0],[340,1],[340,4],[343,1],[343,4],[343,4],[343,7],[344,1],[344,1],[344,1],[346,1],[346,2],[346,1],[346,1],[346,1],[346,1],[348,1],[348,1],[348,1],[59,1],[59,1],[59,1],[351,1],[351,1],[351,1],[351,1],[351,1],[351,1],[351,1],[351,1],[351,1],[351,1],[351,1],[351,1],[351,1],[351,1],[351,1],[351,1],[351,1],[351,1],[351,1],[351,1],[351,1],[351,1],[351,1],[351,1],[351,1],[351,1],[351,1],[351,1],[351,1],[351,1],[351,1],[351,1],[351,1],[351,1],[351,1],[351,1],[351,1],[351,1],[351,1],[351,1],[351,1],[351,1],[351,1],[351,1],[351,1],[351,1],[351,1],[351,1],[351,1],[351,1],[351,1],[351,1],[351,1],[351,1],[351,1],[351,1],[351,1],[351,1],[351,1],[351,1],[351,1],[351,1],[351,1],[351,1],[351,1],[351,1],[351,1],[351,1],[351,1],[351,1],[351,1],[351,1],[351,1],[351,1],[351,1],[351,1],[351,1],[351,1],[351,1],[351,1],[351,1],[351,1],[351,1],[351,1],[351,1],[351,1],[351,1],[351,1],[351,1],[351,1],[351,1],[351,1],[351,1],[351,1],[351,1],[351,1],[351,1],[351,1],[351,1],[351,1],[351,1],[351,1],[351,1],[351,1],[351,1],[351,1],[351,1],[351,1],[118,1],[118,2],[110,1],[110,1],[395,1],[395,1],[57,1],[57,1],[396,3],[396,2],[397,2],[399,3],[399,2],[400,2],[51,1],[51,1],[401,1],[401,1],[402,0],[402,2],[404,2],[151,0],[151,1],[150,0],[150,2],[152,2],[58,0],[58,3],[61,2],[61,3],[407,0],[407,2],[407,2],[273,0],[273,1],[408,1],[37,4],[409,4],[412,5],[414,2],[414,3],[414,4],[414,5],[414,5],[414,5],[413,1],[413,1],[413,1],[413,1],[415,1],[415,1],[416,1],[416,1],[418,1],[418,1],[419,1],[419,1],[417,2],[83,1],[83,1],[420,0],[420,1],[421,1],[130,3],[132,3],[132,3],[422,1],[422,3],[423,3],[423,5],[424,3],[425,1],[425,3],[40,1],[40,3],[41,1],[41,3],[41,3],[72,1],[72,3],[75,1],[75,3],[75,3],[403,1],[405,1],[410,1],[410,3],[411,1],[411,3],[411,3],[411,5],[426,3],[427,3],[427,3],[427,3],[427,1],[119,1],[119,3],[119,2],[428,1],[428,3],[429,1],[429,3],[331,1],[331,2],[332,1],[332,2],[149,1],[149,3],[197,1],[430,1],[430,3],[431,3],[431,5],[432,1],[432,3],[433,1],[433,3],[433,5],[433,3],[87,1],[434,1],[434,1],[97,1],[97,1],[97,2],[97,2],[97,1],[97,1],[97,1],[97,1],[97,1],[97,1],[97,1],[97,2],[435,0],[435,3],[436,0],[436,3],[436,5],[138,1],[138,2],[138,2],[138,2],[138,2],[138,4],[138,4],[138,4],[138,6],[138,2],[138,3],[138,3],[138,3],[138,3],[138,3],[138,6],[138,6],[138,5],[138,5],[138,6],[138,5],[138,3],[138,3],[138,3],[138,3],[138,3],[138,2],[138,3],[138,2],[138,3],[141,1],[141,3],[141,2],[141,2],[141,2],[141,2],[141,2],[141,2],[141,2],[141,2],[141,3],[141,4],[141,5],[141,4],[141,4],[141,4],[141,6],[141,6],[141,2],[141,3],[141,3],[141,3],[141,3],[141,3],[141,3],[141,3],[141,3],[141,3],[141,3],[141,3],[141,3],[141,3],[141,3],[141,3],[141,3],[141,3],[141,3],[141,4],[141,3],[141,6],[141,6],[141,5],[141,5],[141,6],[141,6],[141,6],[141,6],[141,5],[141,4],[141,5],[141,5],[141,5],[141,5],[141,4],[141,3],[141,3],[141,3],[141,3],[141,3],[141,3],[141,3],[141,3],[141,3],[141,3],[141,3],[141,3],[141,3],[141,3],[141,3],[141,3],[141,3],[141,3],[141,3],[141,3],[141,2],[141,3],[141,2],[141,3],[141,2],[141,3],[141,2],[141,3],[141,3],[141,4],[141,3],[141,3],[141,3],[439,1],[439,3],[448,1],[448,3],[448,3],[448,5],[448,3],[448,5],[448,4],[448,3],[448,2],[448,2],[448,4],[167,1],[167,3],[310,1],[310,3],[316,1],[269,1],[269,2],[269,2],[312,1],[315,1],[450,1],[450,1],[451,1],[227,1],[227,1],[454,1],[454,2],[454,3],[454,2],[455,2],[455,3],[455,4],[452,1],[452,1],[452,1],[453,1],[453,1],[456,1],[456,1],[437,0],[437,1],[186,1],[187,1],[457,1],[457,1],[458,1],[458,1],[459,2],[460,2],[460,2],[207,2],[207,2],[211,2],[211,2],[211,2],[461,1],[463,1],[462,1],[464,1],[465,0],[465,2],[466,2],[466,2],[467,0],[468,0],[438,3],[438,4],[443,3],[443,3],[179,2],[180,3],[469,1],[470,1],[471,1],[472,1],[473,1],[474,1],[475,1],[476,1],[477,1],[478,1],[479,1],[480,1],[481,1],[482,1],[253,0],[253,1],[253,1],[253,2],[253,2],[255,1],[255,1],[255,2],[255,2],[255,2],[320,4],[321,4],[321,4],[321,5],[321,7],[483,0],[483,1],[487,3],[485,2],[485,3],[485,3],[484,0],[484,2],[486,1],[486,3],[486,2],[488,0],[488,1],[490,5],[490,5],[489,2],[489,6],[489,5],[489,5],[489,5],[489,4],[492,0],[498,0],[499,3],[502,5],[502,4],[502,3],[502,3],[502,2],[491,1],[491,1],[493,0],[493,2],[493,2],[496,2],[496,2],[494,0],[494,3],[494,3],[497,2],[497,3],[497,3],[503,1],[503,1],[444,3],[444,3],[444,3],[441,2],[441,2],[441,2],[445,2],[445,2],[445,2],[445,2],[445,2],[445,2],[442,2],[442,4],[446,2],[446,4],[446,4],[446,3],[446,4],[446,3],[446,4],[446,4],[446,3],[446,4],[446,3],[447,1],[447,1],[504,1],[504,2],[505,1],[505,2],[505,3],[505,3],[505,2],[506,4],[507,2],[507,3],[507,4],[507,4],[507,3],[507,3],[507,4],[507,2],[507,3],[507,2],[507,3],[507,3],[507,4],[507,3],[507,4],[507,4],[507,5],[507,4],[507,3]],performAction:function(e,s,t,i,a,n,r){var o=n.length-1;switch(a){case 1:Ft.suggestKeywords(["TABLE","VIEW"]);break;case 4:case 8:Ft.suggestKeywords(["DATABASE","ROLE","SCHEMA","TABLE","VIEW"]);break;case 12:Ft.suggestSetOptions();break;case 34:case 43:case 238:case 242:case 482:case 602:Ft.addTablePrimary(n[o]);break;case 35:case 233:Ft.yy.result.suggestTables&&(Ft.yy.result.suggestTables.onlyTables=!0);break;case 36:Ft.suggestTables({onlyTables:!0}),Ft.suggestDatabases({appendDot:!0});break;case 39:case 280:Ft.suggestKeywords(["AS"]);break;case 41:case 200:case 209:case 281:case 638:case 1085:Ft.suggestKeywords(["SELECT"]);break;case 44:case 243:Ft.yy.result.suggestTables&&(Ft.yy.result.suggestTables.onlyViews=!0);break;case 45:Ft.suggestTables({onlyViews:!0}),Ft.suggestDatabases({appendDot:!0});break;case 55:Ft.addNewDatabaseLocation(r[o-1],[{name:n[o-1]}]);break;case 56:case 66:n[o-1]||Ft.suggestKeywords(["IF NOT EXISTS"]);break;case 58:n[o-2]||Ft.suggestKeywords(["IF NOT EXISTS"]),Ft.addNewDatabaseLocation(r[o],[{name:n[o]}]);break;case 59:Ft.addNewDatabaseLocation(r[o],[{name:n[o]}]);break;case 60:Ft.addNewDatabaseLocation(r[o-2],[{name:n[o-2]}]);break;case 61:n[o]||Ft.suggestKeywords(["COMMENT"]);break;case 72:var u=[];n[o-2]||n[o-1]?(n[o-1]||u.push({value:"PARTITIONED BY",weight:12}),u.push({value:"AS",weight:1})):u.push({value:"LIKE",weight:1}),u.length>0&&Ft.suggestKeywords(u);break;case 73:Ft.addNewTableLocation(r[o-1],n[o-1],n[o]),this.$=n[o];break;case 78:this.$=[];break;case 80:case 599:case 619:case 832:Ft.suggestTables(),Ft.suggestDatabases({appendDot:!0});break;case 82:case 218:case 220:case 262:case 434:case 567:case 570:case 765:case 768:case 854:case 907:case 1082:this.$=n[o-1];break;case 84:case 273:this.$=[n[o]];break;case 85:this.$=n[o-2].concat(n[o]);break;case 90:case 92:Ft.checkForKeywords(n[o-1]);break;case 91:case 93:Ft.checkForKeywords(n[o-3]);break;case 94:this.$=n[o-2],this.$.type=n[o-1];u=[];n[o].comment||u.push("COMMENT"),u.length>0&&(this.$.suggestKeywords=u);break;case 95:case 122:case 128:case 129:case 142:case 145:case 154:case 156:Ft.suggestKeywords(Ft.getColumnDataTypeKeywords());break;case 98:this.$={};break;case 100:this.$={},this.$[n[o]]=!0;break;case 101:n[o-1][n[o]]=!0;break;case 106:case 107:this.$="null";break;case 108:this.$="comment";break;case 109:Ft.suggestKeywords(["NULL"]);break;case 127:Ft.suggestKeywords(Ft.getTypeKeywords());break;case 141:case 144:Ft.suggestKeywords(["COMMENT"]);break;case 163:case 1120:Ft.suggestKeywords(["BY"]);break;case 164:Ft.suggestKeywords(["RANGE"]);break;case 173:case 178:case 179:Ft.suggestKeywords(["PARTITION"]);break;case 185:Ft.suggestKeywords(["VALUE","VALUES"]);break;case 186:n[o].endsWithLessThanOrEqual&&Ft.suggestKeywords(["VALUES"]);break;case 187:case 190:case 193:Ft.suggestKeywords(["<","<="]);break;case 188:case 797:case 800:Ft.suggestKeywords(["VALUES"]);break;case 191:case 194:Ft.suggestFunctions();break;case 202:Ft.commitLocations();break;case 204:n[o-1]||Ft.suggestKeywords(["IF NOT EXISTS"]),Ft.suggestDatabases({appendDot:!0});break;case 205:n[o-6]||Ft.suggestKeywords(["IF NOT EXISTS"]);break;case 208:u=[{value:"AS",weight:1}];n[o-1]||u.push({value:"COMMENT",weight:3}),Ft.suggestKeywords(u);break;case 215:n[o-1]||Ft.suggestKeywords(["COMMENT"]);break;case 219:case 221:this.$=n[o-3];break;case 225:n[o-1]||Ft.suggestKeywords(["IF EXISTS"]),Ft.suggestDatabases();break;case 226:Ft.suggestKeywords(["CASCADE"]);break;case 228:n[o-3]||Ft.suggestKeywords(["IF EXISTS"]);break;case 230:case 487:Ft.addTablePrimary(n[o-1]);break;case 232:n[o-1]||Ft.suggestKeywords(["IF EXISTS"]),Ft.suggestTables({onlyTables:!0}),Ft.suggestDatabases({appendDot:!0});break;case 235:Ft.addTablePrimary(n[o-2]),n[o-1]||Ft.suggestKeywords(["PURGE"]);break;case 239:n[o-1]||Ft.suggestKeywords(["IF EXISTS"]),Ft.suggestTables({onlyViews:!0}),Ft.suggestDatabases({appendDot:!0});break;case 240:Ft.addTablePrimary(n[o]),n[o-2]||Ft.suggestKeywords(["IF EXISTS"]);break;case 249:n[o-2].owner="insert",Ft.addTablePrimary(n[o-2]);break;case 250:Ft.suggestKeywords(["INTO"]);break;case 251:n[o-1]||Ft.suggestKeywords(["TABLE"]),Ft.suggestTables(),Ft.suggestDatabases({appendDot:!0});break;case 253:n[o-1].owner="insert",Ft.addTablePrimary(n[o-1]),Ft.suggestKeywords(["VALUES"]);break;case 261:case 436:this.$=n[o-2];break;case 263:Ft.addCommonTableExpressions(n[o-3]);break;case 264:case 265:case 276:Ft.addCommonTableExpressions(n[o-2]);break;case 271:case 287:case 311:case 387:case 391:case 431:case 441:case 468:case 618:case 1007:case 1009:case 1064:case 1119:case 1194:this.$=n[o];break;case 274:this.$=n[o-2].concat([n[o]]);break;case 278:Ft.addCommonTableExpressions(n[o-4]);break;case 279:Ft.addCteAliasLocation(r[o-4],n[o-4]),n[o-1].alias=n[o-4],this.$=n[o-1];break;case 283:this.$={tableReferenceList:n[o]};break;case 284:case 292:Ft.suggestTables(),Ft.suggestDatabases({appendDot:!0});break;case 295:this.$={valueExpression:n[o]};break;case 296:case 398:Ft.suggestSelectListAliases();break;case 297:Ft.valueExpressionSuggest(),Ft.suggestSelectListAliases(),Ft.suggestGroupBys({tablePrimaries:Ft.yy.latestTablePrimaries.concat()});break;case 298:Ft.suggestKeywords(["BY"]),Ft.suggestGroupBys({prefix:"BY",tablePrimaries:Ft.yy.latestTablePrimaries.concat()});break;case 308:case 613:case 822:case 825:case 826:case 851:case 852:case 873:case 876:Ft.suggestColumns();break;case 313:case 314:case 320:case 321:case 850:case 1078:case 1121:Ft.valueExpressionSuggest();break;case 325:Ft.valueExpressionSuggest(),Ft.suggestAggregateFunctions(),Ft.suggestSelectListAliases(!0);break;case 326:Ft.suggestAggregateFunctions(),Ft.suggestSelectListAliases(!0);break;case 330:n[o]&&n[o].valueExpression?this.$=n[o].valueExpression:this.$={},this.$.joinType=n[o-2],n[o].noJoinCondition&&(this.$.suggestJoinConditions={prependOn:!0,tablePrimaries:Ft.yy.latestTablePrimaries.concat()}),n[o].suggestKeywords&&(this.$.suggestKeywords=n[o].suggestKeywords),Ft.yy.latestTablePrimaries.length>0&&(Ft.yy.latestTablePrimaries[Ft.yy.latestTablePrimaries.length-1].join=!0);break;case 331:n[o]&&n[o].valueExpression?this.$=n[o].valueExpression:this.$={},this.$.joinType=n[o-3],n[o].noJoinCondition&&(this.$.suggestJoinConditions={prependOn:!0,tablePrimaries:Ft.yy.latestTablePrimaries.concat()}),n[o].suggestKeywords&&(this.$.suggestKeywords=n[o].suggestKeywords),Ft.yy.latestTablePrimaries.length>0&&(Ft.yy.latestTablePrimaries[Ft.yy.latestTablePrimaries.length-1].join=!0);break;case 332:this.$={joinType:n[o]};break;case 333:this.$={joinType:n[o-1]};break;case 334:n[o-2].suggestKeywords&&Ft.suggestKeywords(n[o-2].suggestKeywords);break;case 335:n[o].suggestKeywords&&Ft.suggestKeywords(n[o].suggestKeywords);break;case 338:if(Ft.yy.latestTablePrimaries.length>0){var l=Ft.yy.latestTablePrimaries.length-1,c=[];do{(E=Ft.yy.latestTablePrimaries[l]).subQueryAlias||c.unshift(E.alias?{identifierChain:E.identifierChain,alias:E.alias}:{identifierChain:E.identifierChain}),l--}while(l>=0&&E.join&&!E.subQueryAlias);c.length>0&&Ft.suggestJoins({prependJoin:!1,joinType:n[o-2],tables:c})}Ft.suggestTables(),Ft.suggestDatabases({appendDot:!0});break;case 343:this.$="CROSS JOIN";break;case 344:this.$="FULL JOIN";break;case 345:this.$="FULL OUTER JOIN";break;case 346:this.$="INNER JOIN";break;case 347:this.$="JOIN";break;case 348:this.$="LEFT INNER JOIN";break;case 349:this.$="LEFT JOIN";break;case 350:this.$="LEFT OUTER JOIN";break;case 351:this.$="LEFT SEMI JOIN";break;case 352:this.$="OUTER JOIN";break;case 353:case 355:this.$="RIGHT OUTER JOIN";break;case 354:this.$="RIGHT JOIN";break;case 356:this.$="RIGHT SEMI JOIN";break;case 357:this.$="SEMI JOIN";break;case 358:case 360:case 361:case 363:case 364:case 365:case 366:case 368:case 369:case 370:case 371:this.$={suggestKeywords:["JOIN"]};break;case 359:case 362:case 367:this.$={suggestKeywords:["OUTER"]};break;case 372:this.$={noJoinCondition:!0,suggestKeywords:["ON"]};break;case 373:this.$={valueExpression:n[o]};break;case 377:Ft.valueExpressionSuggest(),Ft.suggestJoinConditions({prependOn:!1});break;case 384:Ft.suggestKeywords([{value:"10",weight:1e4},{value:"100",weight:1e4},{value:"1000",weight:1e4},{value:"5000",weight:1e4},{value:"10000",weight:1e4}]);break;case 388:n[o].emptyOrderBy&&Ft.suggestOrderBys({tablePrimaries:Ft.yy.latestTablePrimaries.concat()});break;case 389:Ft.suggestKeywords(["BY"]),Ft.suggestOrderBys({prefix:"BY",tablePrimaries:Ft.yy.latestTablePrimaries.concat()});break;case 393:this.$={emptyOrderBy:!1},Ft.valueExpressionSuggest(),Ft.suggestAnalyticFunctions(),Ft.suggestSelectListAliases();break;case 394:case 395:case 396:this.$={emptyOrderBy:!1};break;case 397:this.$=Ft.mergeSuggestKeywords(n[o]);break;case 399:this.$={emptyOrderBy:!0},Ft.valueExpressionSuggest(),Ft.suggestAnalyticFunctions(),Ft.suggestSelectListAliases();break;case 400:this.$={suggestKeywords:["ASC","DESC"]};break;case 403:Ft.addClauseLocation("selectList",Ft.firstDefined(n[o-1],r[o-1],n[o-2],r[o-2]),r[o]),this.$={selectList:n[o]};break;case 404:Ft.addClauseLocation("selectList",Ft.firstDefined(n[o-2],r[o-2],n[o-3],r[o-3]),r[o-1]),this.$={selectList:n[o-1],tableExpression:n[o]};break;case 406:if(Ft.addClauseLocation("selectList",Ft.firstDefined(n[o-1],r[o-1],n[o-2],r[o-2]),r[o]),n[o].cursorAtStart){u=Ft.getSelectListKeywords();n[o-1]||(u=u.concat(Ft.SELECT_FIRST_OPTIONAL_KEYWORDS)),Ft.suggestKeywords(u)}else Ft.checkForSelectListKeywords(n[o]);n[o].suggestFunctions&&Ft.suggestFunctions(),n[o].suggestColumns&&Ft.suggestColumns({identifierChain:[],source:"select"}),n[o].suggestTables&&Ft.suggestTables({prependQuestionMark:!0,prependFrom:!0}),n[o].suggestDatabases&&Ft.suggestDatabases({prependQuestionMark:!0,prependFrom:!0,appendDot:!0}),!n[o].suggestAggregateFunctions||n[o-1]&&"ALL"!==n[o-1]||(Ft.suggestAggregateFunctions(),Ft.suggestAnalyticFunctions());break;case 407:Ft.addClauseLocation("selectList",Ft.firstDefined(n[o-1],r[o-1],n[o-2],r[o-2]),r[o],!0);u=Ft.getSelectListKeywords();n[o-1]&&"ALL"!==n[o-1]||(Ft.suggestAggregateFunctions(),Ft.suggestAnalyticFunctions()),n[o-1]||(u=u.concat(Ft.SELECT_FIRST_OPTIONAL_KEYWORDS)),Ft.suggestKeywords(u),Ft.suggestFunctions(),Ft.suggestColumns({identifierChain:[],source:"select"}),Ft.suggestTables({prependQuestionMark:!0,prependFrom:!0}),Ft.suggestDatabases({prependQuestionMark:!0,prependFrom:!0,appendDot:!0});break;case 408:Ft.addClauseLocation("selectList",Ft.firstDefined(n[o-2],r[o-2],n[o-3],r[o-3]),r[o-1]);break;case 409:Ft.addClauseLocation("selectList",Ft.firstDefined(n[o-2],r[o-2],n[o-3],r[o-3]),r[o-1]),Ft.selectListNoTableSuggest(n[o-1],n[o-2]),Ft.yy.result.suggestColumns&&(Ft.yy.result.suggestColumns.source="select");break;case 410:Ft.addClauseLocation("selectList",Ft.firstDefined(n[o-2],r[o-2],n[o-3],r[o-3]),r[o-1],!0);u=Ft.getSelectListKeywords();n[o-2]&&"ALL"!==n[o-2]||(Ft.suggestAggregateFunctions(),Ft.suggestAnalyticFunctions()),n[o-2]||(u=u.concat(Ft.SELECT_FIRST_OPTIONAL_KEYWORDS)),Ft.suggestKeywords(u),Ft.suggestFunctions(),Ft.suggestColumns({identifierChain:[],source:"select"}),Ft.suggestTables({prependQuestionMark:!0,prependFrom:!0}),Ft.suggestDatabases({prependQuestionMark:!0,prependFrom:!0,appendDot:!0});break;case 411:Ft.addClauseLocation("selectList",Ft.firstDefined(n[o-3],r[o-3],n[o-4],r[o-4]),r[o-2]),Ft.checkForSelectListKeywords(n[o-2]);break;case 412:Ft.addClauseLocation("selectList",Ft.firstDefined(n[o-4],r[o-4],n[o-5],r[o-5]),r[o-3]),Ft.checkForSelectListKeywords(n[o-3]);break;case 413:Ft.addClauseLocation("selectList",Ft.firstDefined(n[o-2],r[o-2],n[o-3],r[o-3]),r[o-1]),Ft.checkForSelectListKeywords(n[o-1]);u=["FROM"];Ft.yy.result.suggestKeywords&&(u=Ft.yy.result.suggestKeywords.concat(u)),Ft.suggestKeywords(u),Ft.suggestTables({prependFrom:!0}),Ft.suggestDatabases({prependFrom:!0,appendDot:!0});break;case 414:n[o-1]||Ft.suggestKeywords(["ALL","DISTINCT"]);break;case 418:case 419:Ft.addClauseLocation("whereClause",r[o-1],n[o].whereClauseLocation),Ft.addClauseLocation("limitClause",n[o].limitClausePreceding||r[o-1],n[o].limitClauseLocation);break;case 420:u=[];if(Ft.addClauseLocation("whereClause",r[o-3],n[o-1].whereClauseLocation),Ft.addClauseLocation("limitClause",n[o-2].limitClausePreceding||r[o-3],n[o-2].limitClauseLocation),n[o-3]&&(void 0===n[o-3].tableReferenceList.hasJoinCondition||n[o-3].tableReferenceList.hasJoinCondition||u.push({value:"ON",weight:3}),n[o-3].suggestKeywords&&(u=Ft.createWeightedKeywords(n[o-3].suggestKeywords,3)),n[o-3].tableReferenceList.suggestJoinConditions&&Ft.suggestJoinConditions(n[o-3].tableReferenceList.suggestJoinConditions),n[o-3].tableReferenceList.suggestJoins&&Ft.suggestJoins(n[o-3].tableReferenceList.suggestJoins),n[o-3].tableReferenceList.suggestKeywords&&(u=u.concat(Ft.createWeightedKeywords(n[o-3].tableReferenceList.suggestKeywords,3))),u.forEach((function(e){"TABLESAMPLE"===e.value&&(e.weight=1.1)})),n[o-3].tableReferenceList.types)){var y=Ft.getValueExpressionKeywords(n[o-3].tableReferenceList);u=u.concat(y.suggestKeywords),y.suggestColRefKeywords&&(Ft.suggestColRefKeywords(y.suggestColRefKeywords),Ft.addColRefIfExists(n[o-3].tableReferenceList))}if(n[o-1].empty&&n[o]&&"JOIN"===n[o].joinType.toUpperCase())return u=u.concat(["FULL","FULL OUTER","INNER","LEFT","LEFT OUTER","RIGHT","RIGHT OUTER"]),void Ft.suggestKeywords(u);n[o-1].suggestKeywords&&(u=u.concat(Ft.createWeightedKeywords(n[o-1].suggestKeywords,2))),n[o-1].suggestFilters&&Ft.suggestFilters(n[o-1].suggestFilters),n[o-1].suggestGroupBys&&Ft.suggestGroupBys(n[o-1].suggestGroupBys),n[o-1].suggestOrderBys&&Ft.suggestOrderBys(n[o-1].suggestOrderBys),n[o-1].empty&&u.push({value:"UNION",weight:2.11}),u=u.concat([{value:"FULL JOIN",weight:1},{value:"FULL OUTER JOIN",weight:1},{value:"INNER JOIN",weight:1},{value:"JOIN",weight:1},{value:"LEFT JOIN",weight:1},{value:"LEFT OUTER JOIN",weight:1},{value:"RIGHT JOIN",weight:1},{value:"RIGHT OUTER JOIN",weight:1}]),Ft.suggestKeywords(u);break;case 421:if(!n[o-1])return Ft.addClauseLocation("whereClause",r[o-2]),void Ft.addClauseLocation("limitClause",r[o-2]);Ft.addClauseLocation("whereClause",r[o-2],n[o-1].whereClauseLocation),Ft.addClauseLocation("limitClause",n[o-1].limitClausePreceding||r[o-2],n[o-1].limitClauseLocation);u=[];n[o-1].suggestColRefKeywords&&(Ft.suggestColRefKeywords(n[o-1].suggestColRefKeywords),Ft.addColRefIfExists(n[o-1])),n[o-1].suggestKeywords&&n[o-1].suggestKeywords.length&&(u=u.concat(Ft.createWeightedKeywords(n[o-1].suggestKeywords,2))),n[o-1].cursorAtEnd&&u.push({value:"UNION",weight:2.11}),Ft.suggestKeywords(u);break;case 422:this.$=[n[o]];break;case 423:n[o-2].push(n[o]);break;case 425:case 426:this.$={cursorAtStart:!0,suggestFunctions:!0,suggestColumns:!0,suggestAggregateFunctions:!0};break;case 428:Ft.checkForSelectListKeywords(n[o-2]);break;case 429:Ft.checkForSelectListKeywords(n[o-3]);break;case 430:this.$={suggestKeywords:Ft.getSelectListKeywords(),suggestTables:!0,suggestDatabases:!0,suggestFunctions:!0,suggestColumns:!0,suggestAggregateFunctions:!0};break;case 432:case 433:case 435:this.$={suggestKeywords:Ft.getSelectListKeywords(),suggestFunctions:!0,suggestColumns:!0,suggestAggregateFunctions:!0};break;case 437:n[o]?(Ft.addColumnAliasLocation(n[o].location,n[o].alias,r[o-1]),this.$={valueExpression:n[o-1],alias:n[o].alias},Ft.yy.selectListAliases||(Ft.yy.selectListAliases=[]),Ft.yy.selectListAliases.push(n[o-1].function&&n[o-1].types&&n[o-1].types.length&&"UDFREF"===n[o-1].types[0]?{name:n[o].alias,udfRef:n[o-1].function,types:n[o-1].types}:{name:n[o].alias,types:n[o-1].types||["T"]})):this.$={valueExpression:n[o-1]};break;case 438:Ft.addAsteriskLocation(r[o],[{asterisk:!0}]),this.$={asterisk:!0};break;case 439:n[o]&&Ft.addColumnAliasLocation(n[o].location,n[o].alias,r[o-1]);break;case 440:Ft.suggestFunctions(),Ft.suggestColumns(),Ft.addColumnAliasLocation(r[o],n[o],r[o-2]),this.$={suggestAggregateFunctions:!0};break;case 442:(u=Ft.getKeywordsForOptionalsLR([n[o-4],n[o-3],n[o-2],n[o-1],n[o]],[{value:"WHERE",weight:7},{value:"GROUP BY",weight:6},{value:"HAVING",weight:5},{value:"ORDER BY",weight:4},{value:"LIMIT",weight:3}],[!0,!0,!0,!0,!0])).length>0?this.$={suggestKeywords:u,empty:!(n[o-4]||n[o-3]||n[o-2]||n[o-1]||n[o])}:this.$={},this.$.whereClauseLocation=n[o-4]?r[o-4]:void 0,this.$.limitClausePreceding=Ft.firstDefined(n[o-1],r[o-1],n[o-2],r[o-2],n[o-3],r[o-3],n[o-4],r[o-4]),this.$.limitClauseLocation=n[o]?r[o]:void 0,n[o-4]||n[o-3]||n[o-2]||n[o-1]||n[o]||(this.$.suggestFilters={prefix:"WHERE",tablePrimaries:Ft.yy.latestTablePrimaries.concat()}),n[o-3]||n[o-2]||n[o-1]||n[o]||(this.$.suggestGroupBys={prefix:"GROUP BY",tablePrimaries:Ft.yy.latestTablePrimaries.concat()}),n[o-1]||n[o]||(this.$.suggestOrderBys={prefix:"ORDER BY",tablePrimaries:Ft.yy.latestTablePrimaries.concat()});break;case 443:Ft.yy.result.suggestColumns&&(Ft.yy.result.suggestColumns.source="where");break;case 444:Ft.yy.result.suggestColumns&&(Ft.yy.result.suggestColumns.source="group by");break;case 446:Ft.yy.result.suggestColumns&&(Ft.yy.result.suggestColumns.source="order by");break;case 448:u=Ft.getKeywordsForOptionalsLR([n[o-3],n[o-2],n[o-1],n[o]],[{value:"GROUP BY",weight:8},{value:"HAVING",weight:7},{value:"ORDER BY",weight:5},{value:"LIMIT",weight:3}],[!0,!0,!0,!0]);n[o-5].suggestKeywords&&(u=u.concat(Ft.createWeightedKeywords(n[o-5].suggestKeywords,1))),this.$=Ft.getValueExpressionKeywords(n[o-5],u),this.$.cursorAtEnd=!(n[o-3]||n[o-2]||n[o-1]||n[o]),n[o-5].columnReference&&(this.$.columnReference=n[o-5].columnReference),n[o-3]||Ft.suggestGroupBys({prefix:"GROUP BY",tablePrimaries:Ft.yy.latestTablePrimaries.concat()}),n[o-3]||n[o-2]||n[o-1]||Ft.suggestOrderBys({prefix:"ORDER BY",tablePrimaries:Ft.yy.latestTablePrimaries.concat()}),this.$.whereClauseLocation=n[o-5]?r[o-5]:void 0,this.$.limitClausePreceding=Ft.firstDefined(n[o-1],r[o-1],n[o-2],r[o-2],n[o-3],r[o-3],n[o-5],r[o-5]),this.$.limitClauseLocation=n[o]?r[o]:void 0;break;case 449:u=Ft.getKeywordsForOptionalsLR([n[o-2],n[o-1],n[o]],[{value:"HAVING",weight:7},{value:"ORDER BY",weight:5},{value:"LIMIT",weight:3}],[!0,!0,!0]);n[o-4].suggestKeywords&&(u=u.concat(Ft.createWeightedKeywords(n[o-4].suggestKeywords,8))),n[o-4].valueExpression?(this.$=Ft.getValueExpressionKeywords(n[o-4].valueExpression,u),n[o-4].valueExpression.columnReference&&(this.$.columnReference=n[o-4].valueExpression.columnReference)):this.$={suggestKeywords:u},this.$.cursorAtEnd=!n[o-2]&&!n[o-1]&&!n[o],n[o-2]||n[o-1]||Ft.suggestOrderBys({prefix:"ORDER BY",tablePrimaries:Ft.yy.latestTablePrimaries.concat()}),this.$.whereClauseLocation=n[o-5]?r[o-5]:void 0,this.$.limitClausePreceding=Ft.firstDefined(n[o-1],r[o-1],n[o-2],r[o-2],n[o-4],r[o-4]),this.$.limitClauseLocation=n[o]?r[o]:void 0;break;case 450:u=Ft.getKeywordsForOptionalsLR([n[o-1],n[o]],[{value:"ORDER BY",weight:5},{value:"LIMIT",weight:3}],[!0,!0]);this.$={suggestKeywords:u,cursorAtEnd:!n[o-1]&&!n[o]},n[o-1]||Ft.suggestOrderBys({prefix:"ORDER BY",tablePrimaries:Ft.yy.latestTablePrimaries.concat()}),this.$.whereClauseLocation=n[o-5]?r[o-5]:void 0,this.$.limitClausePreceding=Ft.firstDefined(n[o-1],r[o-1],n[o-3],r[o-3]),this.$.limitClauseLocation=n[o]?r[o]:void 0;break;case 451:u=Ft.getKeywordsForOptionalsLR([n[o]],[{value:"LIMIT",weight:3}],[!0]);n[o-2].suggestKeywords&&(u=u.concat(Ft.createWeightedKeywords(n[o-2].suggestKeywords,4))),this.$={suggestKeywords:u,cursorAtEnd:!n[o]},this.$.whereClauseLocation=n[o-5]?r[o-5]:void 0,this.$.limitClausePreceding=Ft.firstDefined(n[o-2],r[o-2]),this.$.limitClauseLocation=n[o]?r[o]:void 0;break;case 452:this.$={suggestKeywords:[],cursorAtEnd:!0},this.$.whereClauseLocation=n[o-5]?r[o-5]:void 0,this.$.limitClausePreceding=Ft.firstDefined(n[o-2],r[o-2],n[o-3],r[o-3],n[o-4],r[o-4],n[o-5],r[o-5]),this.$.limitClauseLocation=r[o-1];break;case 463:Ft.suggestKeywords(["ALL","DISTINCT","SELECT"]);break;case 464:Ft.suggestKeywords(["ALL","DISTINCT"]);break;case 469:n[o].suggestFilters&&Ft.suggestFilters({tablePrimaries:Ft.yy.latestTablePrimaries.concat()});break;case 470:Ft.suggestFunctions(),Ft.suggestColumns(),Ft.suggestKeywords(["EXISTS","NOT EXISTS"]),Ft.suggestFilters({tablePrimaries:Ft.yy.latestTablePrimaries.concat()});break;case 483:Ft.suggestKeywords(["TABLE"]);break;case 484:Ft.suggestTables(),Ft.suggestDatabases({appendDot:!0}),n[o-1]||Ft.suggestKeywords(["IF EXISTS"]);break;case 488:Ft.addTablePrimary(n[o-1]),n[o-2]||Ft.suggestKeywords(["IF EXISTS"]);break;case 490:n[o]||(n[o-1].suggestKeywords=["OVER"]);break;case 497:Ft.suggestKeywords(["OVER"]);break;case 506:this.$={function:n[o-3],types:["UDFREF"]};break;case 507:case 525:Ft.addFunctionArgumentLocations(n[o-4],n[o-1].expressions),this.$={function:n[o-4],types:["UDFREF"]};break;case 508:Ft.valueExpressionSuggest();u=Ft.getSelectListKeywords(!0);n[o-2]||("group_concat"===n[o-4].toLowerCase()?u.push("ALL"):u.push("DISTINCT")),Ft.yy.result.suggestKeywords&&(u=Ft.yy.result.suggestKeywords.concat(u)),Ft.suggestKeywords(u),Ft.applyArgumentTypesToSuggestions(n[o-4],1),this.$={function:n[o-4],types:["UDFREF"]};break;case 509:case 523:Ft.suggestValueExpressionKeywords(n[o-2].expressions[n[o-2].expressions.length-1].expression),this.$={function:n[o-5],types:["UDFREF"]};break;case 510:if(n[o-1].cursorAtStart){u=Ft.getSelectListKeywords(!0);n[o-2]||("group_concat"===n[o-4].toLowerCase()?u.push("ALL"):u.push("DISTINCT")),Ft.yy.result.suggestKeywords&&(u=Ft.yy.result.suggestKeywords.concat(u)),Ft.suggestKeywords(u)}Ft.yy.result.suggestFunctions&&!Ft.yy.result.suggestFunctions.types&&Ft.applyArgumentTypesToSuggestions(n[o-4],n[o-1].activePosition),this.$={function:n[o-4],types:["UDFREF"]};break;case 519:Ft.addFunctionArgumentLocations(n[o-3],[{expression:{text:n[o-1]},location:r[o-1]}]),this.$={function:n[o-3],types:["UDFREF"]};break;case 520:case 526:this.$={function:n[o-2],types:["UDFREF"]};break;case 521:Ft.addFunctionArgumentLocations(n[o-4],n[o-1].expressions),this.$={function:n[o-4],types:["UDFREF"]};break;case 522:Ft.valueExpressionSuggest();u=Ft.getSelectListKeywords();n[o-2]||(u.push("DISTINCT"),Ft.yy.result.suggestKeywords&&(u=Ft.yy.result.suggestKeywords.concat(u))),Ft.suggestKeywords(u),this.$={function:n[o-4],types:["UDFREF"]};break;case 524:if(n[o-1].cursorAtStart){u=Ft.getSelectListKeywords();n[o-2]||u.push("DISTINCT"),Ft.suggestKeywords(u)}this.$={function:n[o-4],types:["UDFREF"]};break;case 527:Ft.valueExpressionSuggest(),Ft.applyArgumentTypesToSuggestions(n[o-4],1);u=Ft.getSelectListKeywords(!0);n[o-2]||u.push("DISTINCT"),Ft.yy.result.suggestKeywords&&(u=Ft.yy.result.suggestKeywords.concat(u)),Ft.suggestKeywords(u),this.$={function:n[o-4],types:["UDFREF"]};break;case 528:Ft.suggestValueExpressionKeywords(n[o-2]),this.$={function:n[o-5],types:["UDFREF"]};break;case 529:Ft.yy.result.suggestFunctions&&!Ft.yy.result.suggestFunctions.types&&Ft.applyArgumentTypesToSuggestions(n[o-4],1),this.$={function:n[o-4],types:["UDFREF"]};break;case 530:this.$={function:n[o-2],types:["UDFREF"]};break;case 531:Ft.addFunctionArgumentLocations(n[o-3],n[o-1].expressions),this.$={function:n[o-3],expression:n[o-1].expressions[n[o-1].expressions.length-1].expression,types:["UDFREF"]};break;case 532:Ft.valueExpressionSuggest(),Ft.applyArgumentTypesToSuggestions(n[o-3],1),this.$={function:n[o-3],types:["UDFREF"]};break;case 533:Ft.addFunctionArgumentLocations(n[o-4],n[o-2].expressions),Ft.suggestValueExpressionKeywords(n[o-2].expressions[n[o-2].expressions.length-1].expression),this.$={function:n[o-4],types:["UDFREF"]};break;case 534:Ft.addFunctionArgumentLocations(n[o-3],n[o-1].expressions),Ft.applyArgumentTypesToSuggestions(n[o-3],n[o-1].activePosition),this.$={function:n[o-3],types:["UDFREF"]};break;case 539:var g=n[o-3];Ft.extractExpressionText(g,n[o-3],n[o-2],n[o-1]),Ft.addFunctionArgumentLocations(n[o-5],[{expression:g,location:{first_line:r[o-3].first_line,last_line:r[o-1].last_line,first_column:r[o-3].first_column,last_column:r[o-1].last_column}}]),this.$={types:[n[o-1].toUpperCase()]};break;case 540:case 545:case 546:case 1013:this.$={types:["T"]};break;case 541:Ft.valueExpressionSuggest(),this.$={types:[n[o-1].toUpperCase()]};break;case 542:case 543:Ft.valueExpressionSuggest(),this.$={types:["T"]};break;case 544:this.$={types:[n[o-1].toUpperCase()]};break;case 547:Ft.suggestValueExpressionKeywords(n[o-3],[{value:"AS",weight:2}]),this.$={types:[n[o-1].toUpperCase()]};break;case 548:Ft.suggestValueExpressionKeywords(n[o-2],[{value:"AS",weight:2}]),this.$={types:["T"]};break;case 549:case 550:Ft.suggestKeywords(Ft.getTypeKeywords()),this.$={types:["T"]};break;case 551:var T=n[o-1].chain[n[o-1].chain.length-1].name.toLowerCase();Ft.addFunctionArgumentLocations(T,n[o].expressions,n[o-1].chain),n[o-1].lastLoc&&n[o-1].lastLoc.location&&(n[o-1].lastLoc.type="function",n[o-1].lastLoc.function=T,n[o-1].lastLoc.location={first_line:n[o-1].lastLoc.location.first_line,last_line:n[o-1].lastLoc.location.last_line,first_column:n[o-1].lastLoc.location.first_column,last_column:n[o-1].lastLoc.location.last_column-1},n[o-1].lastLoc!==n[o-1].firstLoc?n[o-1].firstLoc.type="database":delete n[o-1].lastLoc.identifierChain),n[o].expressions&&n[o].expressions.length?this.$={function:T,expression:n[o].expressions[n[o].expressions.length-1].expression,types:["UDFREF"]}:this.$={function:T,types:["UDFREF"]};break;case 552:Ft.addFunctionLocation(r[o-1],n[o-1]),n[o].expressions&&n[o].expressions.length?this.$={function:n[o-1],expression:n[o].expressions[n[o].expressions.length-1].expression,types:["UDFREF"]}:this.$={function:n[o-1],types:["UDFREF"]};break;case 555:this.$={types:["COLREF"],columnReference:n[o].chain};break;case 556:this.$={types:["NULL"],text:n[o]};break;case 557:T=n[o-1].chain[n[o-1].chain.length-1].name.toLowerCase();Ft.addFunctionArgumentLocations(T,n[o].expressions,n[o-1].chain),n[o-1].lastLoc.type="function",n[o-1].lastLoc.function=T,n[o-1].lastLoc.location={first_line:n[o-1].lastLoc.location.first_line,last_line:n[o-1].lastLoc.location.last_line,first_column:n[o-1].lastLoc.location.first_column,last_column:n[o-1].lastLoc.location.last_column-1},n[o-1].lastLoc!==n[o-1].firstLoc?n[o-1].firstLoc.type="database":delete n[o-1].lastLoc.identifierChain,n[o].activePosition&&Ft.applyArgumentTypesToSuggestions(T,n[o].activePosition),this.$={function:T,types:["UDFREF"]};break;case 558:case 564:case 565:Ft.addFunctionLocation(r[o-1],n[o-1]),Ft.addFunctionArgumentLocations(n[o-1],n[o].expressions),n[o].activePosition&&Ft.applyArgumentTypesToSuggestions(n[o-1],n[o].activePosition),this.$={function:n[o-1],types:["UDFREF"]};break;case 561:n[o].suggestKeywords?this.$={types:["COLREF"],columnReference:n[o],suggestKeywords:n[o].suggestKeywords}:this.$={types:["COLREF"],columnReference:n[o]};break;case 562:case 563:Ft.addFunctionLocation(r[o-1],n[o-1]),Ft.addFunctionArgumentLocations(n[o-1],n[o].expressions),n[o].expressions&&n[o].expressions.length?this.$={function:n[o-1],expression:n[o].expressions[n[o].expressions.length-1].expression,types:["UDFREF"]}:this.$={function:n[o-1],types:["UDFREF"]};break;case 568:Ft.valueExpressionSuggest(),this.$={activePosition:1,expressions:[{expression:{text:""},location:r[o-1]}]};break;case 569:Ft.suggestValueExpressionKeywords(n[o-2].expressions[n[o-2].expressions.length-1].expression),this.$=n[o-3];break;case 571:case 573:this.$={activePosition:1,expressions:[{expression:n[o],location:r[o]}]};break;case 572:case 574:this.$={activePosition:n[o-2].activePosition+1,expressions:n[o-2].expressions.concat([{expression:n[o],location:r[o]}])};break;case 575:this.$={activePosition:1,expressions:[{expression:n[o-2],location:r[o-2]}].concat(n[o].expressions)};break;case 576:this.$={activePosition:n[o-4].activePosition+1,expressions:n[o-4].expressions.concat([{expression:n[o-2],location:r[o-2]}]).concat(n[o].expressions)};break;case 577:Ft.valueExpressionSuggest(),this.$={activePosition:n[o-2].activePosition+1,expressions:n[o-2].expressions.concat([{expression:{text:""},location:r[o]}])};break;case 578:Ft.valueExpressionSuggest(),this.$={activePosition:n[o-4].activePosition+1,expressions:n[o-4].expressions.concat([{expression:{text:""},location:r[o-2]}]).concat(n[o].expressions)};break;case 579:Ft.suggestValueExpressionKeywords(n[o-3].expressions[n[o-3].expressions.length-1].expression),this.$={activePosition:n[o-3].activePosition,expressions:n[o-3].expressions.concat(n[o].expressions)};break;case 580:Ft.valueExpressionSuggest(),this.$={cursorAtStart:!0,activePosition:1,expressions:[{expression:{text:""},location:r[o-2]}].concat(n[o].expressions)};break;case 581:Ft.valueExpressionSuggest(),this.$={cursorAtStart:!0,activePosition:1,expressions:[{expression:{text:""},location:r[o-1]},{expression:{text:""},location:r[o]}]};break;case 582:Ft.valueExpressionSuggest(),this.$={activePosition:2,expressions:[{expression:{text:""},location:r[o-1]},{expression:{text:""},location:r[o]}]};break;case 583:Ft.valueExpressionSuggest(),this.$={activePosition:2,expressions:[{expression:{text:""},location:r[o-3]},{expression:{text:""},location:r[o-2]}].concat(n[o].expressions)};break;case 595:Ft.suggestKeywords(["WHERE"]);break;case 596:Ft.suggestKeywords(["SET"]);break;case 612:Ft.suggestKeywords(["="]);break;case 621:Ft.yy.cursorFound||(Ft.yy.result.useDatabase=n[o]);break;case 622:case 841:Ft.suggestDatabases();break;case 624:case 625:return Ft.yy.result;case 626:Ft.prepareNewStatement();break;case 628:case 630:case 632:Ft.addStatementLocation(r[o]);break;case 631:case 633:Ft.addStatementLocation(r[o-3]);break;case 637:Ft.suggestDdlAndDmlKeywords();break;case 766:case 769:case 855:this.$="";break;case 781:case 784:Ft.yy.correlatedSubQuery=!1;break;case 782:case 786:Ft.suggestKeywords(["EXISTS"]);break;case 785:Ft.suggestKeywords(["NOT EXISTS"]);break;case 796:case 798:case 799:case 801:Ft.suggestKeywords(["<","<=","<>","=",">",">="]);break;case 830:case 856:Ft.addTableLocation(r[o],[{name:n[o]}]),this.$={identifierChain:[{name:n[o]}]};break;case 831:case 857:Ft.addDatabaseLocation(r[o-2],[{name:n[o-2]}]),Ft.addTableLocation(r[o],[{name:n[o-2]},{name:n[o]}]),this.$={identifierChain:[{name:n[o-2]},{name:n[o]}]};break;case 833:case 838:Ft.suggestDatabases(),this.$={identifierChain:[{name:n[o-2]}]};break;case 834:case 859:Ft.suggestTablesOrColumns(n[o-2]);break;case 835:this.$=[{name:n[o]}];break;case 836:this.$=[{name:n[o-2]},{name:n[o-1]}];break;case 837:Ft.suggestDatabases({appendDot:!0});break;case 858:Ft.suggestTables(),Ft.suggestDatabases({prependDot:!0});break;case 861:this.$={identifierChain:n[o-1].identifierChain,alias:n[o]};break;case 864:Ft.yy.locations[Ft.yy.locations.length-1].type="column";break;case 865:case 1030:Ft.addAsteriskLocation(r[o],n[o-2].concat({asterisk:!0}));break;case 867:this.$=[n[o].identifier],Ft.yy.firstChainLocation=Ft.addUnknownLocation(n[o].location,[n[o].identifier]);break;case 868:Ft.yy.firstChainLocation&&(Ft.yy.firstChainLocation.firstInChain=!0,delete Ft.yy.firstChainLocation),n[o-2].push(n[o].identifier),Ft.addUnknownLocation(n[o].location,n[o-2].concat());break;case 869:Ft.suggestColumns({identifierChain:n[o-2]}),this.$={suggestKeywords:[{value:"*",weight:1e4}]};break;case 870:Ft.suggestColumns({identifierChain:n[o-4]}),this.$={suggestKeywords:[{value:"*",weight:1e4}]};break;case 871:this.$=[n[o].identifier];break;case 872:n[o-2].push(n[o].identifier);break;case 874:Ft.suggestColumns({identifierChain:n[o-2]});break;case 875:Ft.suggestColumns({identifierChain:n[o-4]});break;case 877:this.$={identifier:{name:n[o]},location:r[o]};break;case 898:case 899:this.$={types:["BOOLEAN"]},Ft.extractExpressionText(this.$,n[o-1],n[o]);break;case 900:case 925:this.$=n[o],Ft.extractExpressionText(this.$,n[o-1],n[o]);break;case 901:this.$=n[o],n[o].types=["NUMBER"],Ft.extractExpressionText(this.$,n[o-1],n[o]);break;case 902:case 903:case 904:this.$={types:["BOOLEAN"]},Ft.extractExpressionText(this.$,n[o-3],n[o-2],n[o-1],n[o]);break;case 905:this.$={types:["BOOLEAN"]},Ft.extractExpressionText(this.$,n[o-5],n[o-4],n[o-3],n[o-2],n[o-1],n[o]);break;case 906:this.$={types:["BOOLEAN"]},Ft.yy.correlatedSubQuery=!1;break;case 908:case 909:case 910:case 911:Ft.addColRefToVariableIfExists(n[o-2],n[o]),this.$={types:["BOOLEAN"]},Ft.extractExpressionText(this.$,n[o-2],n[o-1],n[o]);break;case 912:case 913:case 914:case 915:case 945:case 1003:case 1004:this.$={types:["BOOLEAN"]};break;case 916:this.$={types:["BOOLEAN"]},Ft.extractExpressionText(this.$,n[o-5],n[o-4],n[o-3],n[o-2],n[o-1],n[o]);break;case 917:this.$={types:["BOOLEAN"]},Ft.extractExpressionText(this.$,n[o-4],n[o-3],n[o-2],n[o-1],n[o]);break;case 918:case 919:this.$={types:["BOOLEAN"]},Ft.extractExpressionText(this.$,n[o-2],n[o-1],n[o]);break;case 920:case 921:case 922:this.$={types:["NUMBER"]},Ft.extractExpressionText(this.$,n[o-2],n[o-1],n[o]);break;case 923:this.$={types:["BOOLEAN"]},Ft.extractExpressionText(this.$,n[o-1],n[o]);break;case 924:this.$={types:["BOOLEAN"]},Ft.extractExpressionText(this.$,n[o-2],n[o-1],n[o]);break;case 926:this.$=n[o],Ft.extractExpressionText(this.$,n[o-2],n[o-1],n[o]);break;case 928:Ft.suggestKeywords(["BETWEEN","EXISTS","IN","LIKE","REGEXP","RLIKE"]),this.$={types:["BOOLEAN"]};break;case 929:case 931:this.$={types:["BOOLEAN"],suggestFilters:n[o].suggestFilters};break;case 930:Ft.suggestFunctions(),Ft.suggestColumns(),Ft.suggestKeywords(["EXISTS"]),this.$={types:["BOOLEAN"]};break;case 932:Ft.suggestFunctions({types:["BOOLEAN"]}),Ft.suggestColumns({types:["BOOLEAN"]}),this.$={types:["BOOLEAN"]};break;case 933:this.$={types:["T"],suggestFilters:n[o].suggestFilters};break;case 934:Ft.suggestFunctions(),Ft.suggestColumns(),this.$={types:["T"]};break;case 935:n[o].typeSet||Ft.applyTypeToSuggestions({types:["NUMBER"]}),this.$={types:["NUMBER"],suggestFilters:n[o].suggestFilters};break;case 936:Ft.suggestFunctions({types:["NUMBER"]}),Ft.suggestColumns({types:["NUMBER"]}),this.$={types:["NUMBER"]};break;case 937:Ft.suggestKeywords(["FALSE","NOT NULL","NOT TRUE","NOT FALSE","NULL","TRUE"]),this.$={types:["BOOLEAN"]};break;case 938:Ft.suggestKeywords(["FALSE","NULL","TRUE"]),this.$={types:["BOOLEAN"]};break;case 939:this.$={types:["BOOLEAN"]};break;case 940:case 941:case 942:Ft.suggestKeywords(["NOT"]),this.$={types:["BOOLEAN"]};break;case 943:Ft.valueExpressionSuggest(n[o-5],n[o-3]?"IS NOT DISTINCT FROM":"IS DISTINCT FROM"),this.$={types:["BOOLEAN"]};break;case 944:this.$={types:["BOOLEAN"],suggestFilters:n[o].suggestFilters};break;case 946:this.$=n[o-1];break;case 947:Ft.valueExpressionSuggest(),this.$={types:["T"],typeSet:!0};break;case 948:Ft.valueExpressionSuggest(n[o],n[o-1]),Ft.applyTypeToSuggestions(n[o]),this.$={types:["BOOLEAN"],typeSet:!0};break;case 949:case 950:case 951:Ft.valueExpressionSuggest(n[o],n[o-1]),Ft.applyTypeToSuggestions(n[o]),this.$={types:["BOOLEAN"],typeSet:!0};break;case 952:case 953:case 954:case 955:n[o-2].typeSet||(Ft.applyTypeToSuggestions(n[o]),Ft.addColRefIfExists(n[o])),this.$={types:["BOOLEAN"],suggestFilters:n[o-2].suggestFilters};break;case 956:case 958:Ft.valueExpressionSuggest(n[o-2],n[o-1]),Ft.applyTypeToSuggestions(n[o-2]),this.$={types:["BOOLEAN"],typeSet:!0};break;case 957:Ft.valueExpressionSuggest(n[o-2],n[o-1]),Ft.applyTypeToSuggestions(n[o-2]),this.$={types:["BOOLEAN"],typeSet:!0,endsWithLessThanOrEqual:!0};break;case 959:Ft.valueExpressionSuggest(n[o-2],n[o-1]),Ft.applyTypeToSuggestions(n[o-2]),this.$={types:["BOOLEAN"],typeSet:!0,endsWithLessThanOrEqual:"<="===n[o-1]};break;case 960:case 961:case 962:case 963:n[o].typeSet||(Ft.applyTypeToSuggestions(n[o-2]),Ft.addColRefIfExists(n[o-2])),this.$={types:["BOOLEAN"],suggestFilters:n[o].suggestFilters};break;case 964:n[o].inValueEdit&&(Ft.valueExpressionSuggest(n[o-3],n[o-2]+" "+n[o-1]),Ft.applyTypeToSuggestions(n[o-3])),n[o].cursorAtStart&&Ft.suggestKeywords(["SELECT"]),this.$={types:["BOOLEAN"],typeSet:!0};break;case 965:n[o].inValueEdit&&(Ft.valueExpressionSuggest(n[o-2],n[o-1]),Ft.applyTypeToSuggestions(n[o-2])),n[o].cursorAtStart&&Ft.suggestKeywords(["SELECT"]),this.$={types:["BOOLEAN"],typeSet:!0};break;case 966:case 967:this.$={types:["BOOLEAN"],suggestFilters:n[o-5].suggestFilters};break;case 968:case 969:this.$={types:["BOOLEAN"],suggestFilters:n[o-4].suggestFilters};break;case 970:n[o-2].types[0]!==n[o].types[0]||n[o-5].typeSet||Ft.applyTypeToSuggestions(n[o-2]),this.$={types:["BOOLEAN"],suggestFilters:n[o-5].suggestFilters};break;case 971:n[o-5].types[0]!==n[o].types[0]||n[o-2].typeSet||Ft.applyTypeToSuggestions(n[o-5]),this.$={types:["BOOLEAN"],suggestFilters:n[o-2].suggestFilters};break;case 972:n[o-5].types[0]!==n[o-2].types[0]||n[o].typeSet||Ft.applyTypeToSuggestions(n[o-5]),this.$={types:["BOOLEAN"],suggestFilters:n[o].suggestFilters};break;case 973:Ft.valueExpressionSuggest(n[o-5],n[o-1]),this.$={types:["BOOLEAN"],typeSet:!0};break;case 974:case 980:Ft.suggestValueExpressionKeywords(n[o-1],["AND"]),this.$={types:["BOOLEAN"]};break;case 975:Ft.valueExpressionSuggest(n[o-3],n[o-2]+" "+n[o-1]),this.$={types:["BOOLEAN"],typeSet:!0};break;case 976:n[o-4].types[0]!==n[o-2].types[0]||n[o-4].typeSet||Ft.applyTypeToSuggestions(n[o-4]),this.$={types:["BOOLEAN"],suggestFilters:n[o-4].suggestFilters};break;case 977:n[o-4].types[0]!==n[o-2].types[0]||n[o-2].typeSet||Ft.applyTypeToSuggestions(n[o-4]),this.$={types:["BOOLEAN"],suggestFilters:n[o-2].suggestFilters};break;case 978:n[o-4].types[0]!==n[o-2].types[0]||n[o].typeSet||Ft.applyTypeToSuggestions(n[o-4]),this.$={types:["BOOLEAN"],suggestFilters:n[o].suggestFilters};break;case 979:Ft.valueExpressionSuggest(n[o-4],n[o-1]),Ft.applyTypeToSuggestions(n[o-4]),this.$={types:["BOOLEAN"],typeSet:!0};break;case 981:Ft.valueExpressionSuggest(n[o-2],n[o-1]),Ft.applyTypeToSuggestions(n[o-2]),this.$={types:["BOOLEAN"],typeSet:!0};break;case 982:case 984:case 986:case 988:Ft.valueExpressionSuggest(void 0,n[o-1]),this.$={types:["BOOLEAN"],typeSet:!0,suggestFilters:!0};break;case 983:case 987:Ft.addColRefIfExists(n[o]),this.$={types:["BOOLEAN"],suggestFilters:n[o-2].suggestFilters};break;case 985:case 989:Ft.addColRefIfExists(n[o-2]),this.$={types:["BOOLEAN"],suggestFilters:n[o].suggestFilters};break;case 990:case 991:Ft.valueExpressionSuggest(void 0,n[o-1]),Ft.applyTypeToSuggestions({types:["NUMBER"]}),this.$={types:["NUMBER"],typeSet:!0};break;case 992:case 993:case 994:n[o-2].typeSet||(Ft.applyTypeToSuggestions({types:["NUMBER"]}),Ft.addColRefIfExists(n[o])),this.$={types:["NUMBER"],suggestFilters:n[o-2].suggestFilters};break;case 995:case 996:case 997:Ft.valueExpressionSuggest(void 0,n[o-1]),Ft.applyTypeToSuggestions({types:["NUMBER"]}),this.$={types:["NUMBER"],typeSet:!0};break;case 998:case 999:case 1e3:n[o].typeSet||(Ft.applyTypeToSuggestions({types:["NUMBER"]}),Ft.addColRefIfExists(n[o-2])),this.$={types:["NUMBER"],suggestFilters:n[o].suggestFilters};break;case 1001:this.$={types:["BOOLEAN"],suggestFilters:n[o-1].suggestFilters};break;case 1002:this.$={types:["BOOLEAN"],suggestFilters:n[o-2].suggestFilters};break;case 1005:Ft.valueExpressionSuggest(void 0,n[o]),Ft.applyTypeToSuggestions({types:["STRING"]}),this.$={types:["BOOLEAN"],typeSet:!0};break;case 1006:Ft.valueExpressionSuggest(void 0,n[o-1]+" "+n[o]),Ft.applyTypeToSuggestions({types:["STRING"]}),this.$={types:["BOOLEAN"],typeSet:!0};break;case 1008:Ft.valueExpressionSuggest(),Ft.suggestKeywords(["WHEN"]),this.$={types:["T"],typeSet:!0};break;case 1010:Ft.suggestValueExpressionKeywords(n[o-2],["WHEN"]),this.$={types:["T"],typeSet:!0};break;case 1011:this.$=n[o],this.$.suggestFilters=n[o-1].suggestFilters;break;case 1012:this.$={types:["T"],suggestFilters:n[o-1].suggestFilters};break;case 1014:case 1016:n[o].position=1;break;case 1015:n[o].position=n[o-2].position+1,this.$=n[o];break;case 1017:n[o-2].position+=1;break;case 1018:n[o-2].position=1;break;case 1019:n[o-4].position+=1;break;case 1020:Ft.valueExpressionSuggest(),n[o-2].position+=1;break;case 1021:Ft.valueExpressionSuggest(),n[o-4].position+=1;break;case 1022:Ft.suggestValueExpressionKeywords(n[o-3]);break;case 1023:case 1024:Ft.valueExpressionSuggest(),this.$={cursorAtStart:!0,position:1};break;case 1025:case 1026:Ft.valueExpressionSuggest(),this.$={position:2};break;case 1029:var d=Ft.yy.locations[Ft.yy.locations.length-1];"variable"!==d.type&&(d.type="column");var p=Ft.yy.locations[Ft.yy.locations.length-n[o].length];this.$={chain:n[o],firstLoc:p,lastLoc:d};break;case 1036:Ft.suggestValues(n[o]);break;case 1037:this.$={types:["NUMBER"],text:n[o]};break;case 1043:case 1045:case 1046:this.$=n[o-1]+n[o];break;case 1044:case 1047:this.$=n[o-2]+n[o-1]+n[o];break;case 1048:this.$=n[o-3]+n[o-2]+n[o-1]+n[o];break;case 1049:/\$\{[^}]*\}/.test(n[o])?(Ft.addVariableLocation(r[o],n[o]),this.$={types:["STRING"],columnReference:[{name:n[o]}],text:"'"+n[o]+"'"}):this.$={types:["STRING"]};break;case 1050:/\$\{[^}]*\}/.test(n[o])?(Ft.addVariableLocation(r[o],n[o]),this.$={types:["STRING"],columnReference:[{name:n[o]}],text:'"'+n[o]+'"'}):this.$={types:["STRING"],text:'"'+n[o]+'"'};break;case 1051:this.$={types:["BOOLEAN"],text:n[o]};break;case 1052:this.$={partialQuote:"'",missingEndQuote:Ft.yy.missingEndQuote};break;case 1053:this.$={partialQuote:'"',missingEndQuote:Ft.yy.missingEndQuote};break;case 1060:if(this.$=n[o],Ft.yy.latestTablePrimaries.length>0){l=Ft.yy.latestTablePrimaries.length-1,c=[];do{var E;(E=Ft.yy.latestTablePrimaries[l]).subQueryAlias||c.unshift(E.alias?{identifierChain:E.identifierChain,alias:E.alias}:{identifierChain:E.identifierChain}),l--}while(l>=0&&E.join&&!E.subQueryAlias);c.length>0&&(this.$.suggestJoins={prependJoin:!0,tables:c})}break;case 1067:this.$={primary:n[o-1]},n[o-1].identifierChain&&(n[o]&&(n[o-1].alias=n[o].alias,Ft.addTableAliasLocation(n[o].location,n[o].alias,n[o-1].identifierChain)),Ft.addTablePrimary(n[o-1]));u=[];n[o]?n[o].suggestKeywords&&(u=n[o].suggestKeywords):u=["AS"],u.length>0&&(this.$.suggestKeywords=u);break;case 1068:this.$={primary:n[o-1]},n[o]&&(this.$.primary.alias=n[o].alias,Ft.addTablePrimary({subQueryAlias:n[o].alias}),Ft.addSubqueryAliasLocation(n[o].location,n[o].alias,n[o-1].identifierChain));u=[];n[o]||(u=["AS"]),u.length>0&&(this.$.suggestKeywords=u);break;case 1069:n[o]&&Ft.addTableAliasLocation(n[o].location,n[o].alias,n[o-1].identifierChain);break;case 1070:n[o]&&(Ft.addTablePrimary({subQueryAlias:n[o].alias}),Ft.addSubqueryAliasLocation(n[o].location,n[o].alias));break;case 1080:Ft.pushQueryState();break;case 1081:Ft.popQueryState();break;case 1083:n[o-1]&&(n[o-2].alias=n[o-1].alias,Ft.addTablePrimary({subQueryAlias:n[o-1].alias}),Ft.addSubqueryAliasLocation(n[o-1].location,n[o-1].alias,n[o-2].identifierChain)),this.$=n[o-2];break;case 1086:var h=Ft.getSubQuery(n[o]);h.columns.forEach((function(e){Ft.expandIdentifierChain({wrapper:e}),delete e.linked})),Ft.popQueryState(h),this.$=h;break;case 1103:case 1104:case 1105:case 1106:this.$={alias:n[o],location:r[o]};break;case 1113:case 1114:Ft.yy.result.suggestFunctions&&Ft.suggestAggregateFunctions();break;case 1115:n[o-2]||n[o-1]?n[o-2]||Ft.suggestKeywords(["PARTITION BY"]):Ft.suggestKeywords([{value:"PARTITION BY",weight:2},{value:"ORDER BY",weight:1}]);break;case 1116:n[o-1]?Ft.suggestValueExpressionKeywords(n[o-3]):Ft.suggestValueExpressionKeywords(n[o-3],[{value:"ORDER BY",weight:2}]);break;case 1125:delete Ft.yy.result.suggestAnalyticFunctions;break;case 1126:u=[];n[o-2].suggestKeywords&&(u=Ft.createWeightedKeywords(n[o-2].suggestKeywords,2)),n[o]||(u=u.concat([{value:"RANGE BETWEEN",weight:1},{value:"ROWS BETWEEN",weight:1}])),Ft.suggestKeywords(u);break;case 1132:Ft.suggestKeywords(["BETWEEN"]);break;case 1133:n[o-2]||n[o-1]?n[o-1]||Ft.suggestKeywords(["AND"]):Ft.suggestKeywords(["CURRENT ROW","UNBOUNDED PRECEDING"]);break;case 1138:vt.popState();break;case 1139:vt.begin("hdfs");break;case 1141:Ft.suggestHdfs({path:n[o-3]});break;case 1142:Ft.suggestHdfs({path:n[o-2]});break;case 1143:Ft.suggestHdfs({path:n[o-1]});break;case 1144:case 1145:Ft.suggestHdfs({path:""});break;case 1151:Ft.suggestKeywords(["PRECEDING"]);break;case 1152:case 1157:Ft.suggestKeywords(["ROW"]);break;case 1156:Ft.suggestKeywords(["CURRENT ROW","UNBOUNDED FOLLOWING"]);break;case 1158:Ft.suggestKeywords(["FOLLOWING"]);break;case 1162:this.$={inValueEdit:!0};break;case 1163:this.$={inValueEdit:!0,cursorAtStart:!0};break;case 1164:case 1165:case 1166:this.$={suggestKeywords:["NOT"]},Ft.extractExpressionText(this.$,n[o-1],n[o]);break;case 1170:case 1171:case 1172:Ft.suggestFunctions({types:["STRING"]}),Ft.suggestColumns({types:["STRING"]}),this.$={types:["BOOLEAN"]};break;case 1173:this.$=Ft.findCaseType(n[o-1]),Ft.extractExpressionText(this.$,n[o-1],n[o]);break;case 1174:n[o-3].caseTypes.push(n[o-1]),this.$=Ft.findCaseType(n[o-3]),Ft.extractExpressionText(this.$,n[o-3],n[o-2],n[o-1],n[o]);break;case 1175:this.$=Ft.findCaseType(n[o-1]);break;case 1176:Ft.suggestValueExpressionKeywords(n[o-1],["END"]),n[o-3].caseTypes.push(n[o-1]),this.$=Ft.findCaseType(n[o-3]);break;case 1177:n[o-3].caseTypes.push(n[o-1]),this.$=Ft.findCaseType(n[o-3]);break;case 1178:this.$=Ft.findCaseType(n[o-2]);break;case 1179:"end"!==n[o].toLowerCase()?Ft.suggestValueExpressionKeywords(n[o-3],[{value:"END",weight:3},{value:"ELSE",weight:2},{value:"WHEN",weight:1}]):Ft.suggestValueExpressionKeywords(n[o-3],[{value:"ELSE",weight:2},{value:"WHEN",weight:1}]),this.$=Ft.findCaseType(n[o-3]);break;case 1180:"end"!==n[o].toLowerCase()?Ft.suggestValueExpressionKeywords(n[o-2],[{value:"END",weight:3},{value:"ELSE",weight:2},{value:"WHEN",weight:1}]):Ft.suggestValueExpressionKeywords(n[o-2],[{value:"ELSE",weight:2},{value:"WHEN",weight:1}]),this.$=Ft.findCaseType(n[o-2]);break;case 1181:n[o-3].caseTypes.push(n[o-1]),this.$=Ft.findCaseType(n[o-3]),this.$.suggestFilters=n[o-1].suggestFilters;break;case 1182:Ft.valueExpressionSuggest(),this.$=Ft.findCaseType(n[o-3]);break;case 1183:Ft.valueExpressionSuggest(),this.$={types:["T"],typeSet:!0};break;case 1184:Ft.valueExpressionSuggest(),Ft.suggestKeywords(["WHEN"]),this.$=n[o-1];break;case 1185:Ft.valueExpressionSuggest(),Ft.suggestKeywords(["WHEN"]),this.$={types:["T"]};break;case 1188:this.$={caseTypes:[n[o]],lastType:n[o]},Ft.extractExpressionText(this.$,n[o]);break;case 1189:n[o-1].caseTypes.push(n[o]),this.$={caseTypes:n[o-1].caseTypes,lastType:n[o]},Ft.extractExpressionText(this.$,n[o-1],n[o]);break;case 1193:Ft.suggestValueExpressionKeywords(n[o-2],["WHEN"]);break;case 1195:this.$=n[o],Ft.extractExpressionText(this.$,n[o-3],n[o-2],n[o-1],n[o]);break;case 1196:this.$={caseTypes:[{types:["T"]}],suggestFilters:n[o].suggestFilters};break;case 1197:this.$={caseTypes:[{types:["T"]}],suggestFilters:n[o-1].suggestFilters};break;case 1198:this.$={caseTypes:[n[o]],suggestFilters:n[o-2].suggestFilters};break;case 1199:case 1200:this.$={caseTypes:[n[o]],suggestFilters:n[o].suggestFilters};break;case 1201:Ft.suggestKeywords(["WHEN"]),this.$={caseTypes:[{types:["T"]}]};break;case 1202:Ft.suggestKeywords(["WHEN"]),this.$={caseTypes:[n[o]]};break;case 1203:case 1204:Ft.valueExpressionSuggest(),Ft.suggestKeywords(["WHEN"]),this.$={caseTypes:[{types:["T"]}]};break;case 1205:case 1207:Ft.valueExpressionSuggest(),this.$={caseTypes:[{types:["T"]}],suggestFilters:!0};break;case 1206:Ft.valueExpressionSuggest(),Ft.suggestKeywords(["THEN"]),this.$={caseTypes:[{types:["T"]}],suggestFilters:!0};break;case 1208:Ft.valueExpressionSuggest(),this.$={caseTypes:[n[o]],suggestFilters:!0};break;case 1209:Ft.suggestValueExpressionKeywords(n[o-1],["THEN"]),this.$={caseTypes:[{types:["T"]}]};break;case 1210:Ft.suggestValueExpressionKeywords(n[o-2],["THEN"]),this.$={caseTypes:[{types:["T"]}]};break;case 1211:case 1212:case 1213:case 1214:Ft.valueExpressionSuggest(),this.$={caseTypes:[{types:["T"]}]}}},table:[e(s,t,{339:1,264:2}),{1:[3]},e(a,n,{340:3,344:4,19:5,155:6,44:7,20:8,21:9,22:10,23:11,24:12,25:13,26:14,27:15,28:16,29:17,34:19,35:20,156:21,157:22,168:23,169:24,36:25,42:26,158:31,4:r,8:o,12:u,16:l,162:c,174:y,241:g,272:T,322:d,338:p}),{341:[1,37],345:[1,38]},e(a,[2,628]),e(a,[2,634]),e(a,[2,635]),e(a,[2,636]),e(a,[2,15]),e(a,[2,16]),e(a,[2,17]),e(a,[2,18]),e(a,[2,19]),e(a,[2,20]),e(a,[2,21]),e(a,[2,22]),e(a,[2,23]),e(a,[2,24]),{30:[1,39],31:40,59:41,63:E,113:h,228:I,348:44,349:f,350:A},e(a,[2,27]),e(a,[2,28]),e(a,[2,244]),e(a,[2,245]),{79:[1,49],169:48,241:g},e(L,b,{170:50,259:51,261:52,263:C}),{37:54,125:[1,55]},{43:[1,56]},{39:[1,59],47:[1,60],57:57,63:[1,58],366:N,384:R},{39:[1,65],47:[1,66],57:63,63:[1,64],366:N,384:R},{39:[1,67]},{59:68,63:E,113:h,228:I,348:44,349:f,350:A},e(a,[2,246]),{59:74,63:E,113:h,119:73,228:I,323:69,329:70,331:71,348:44,349:f,350:A,359:S,428:72},{59:74,63:E,113:h,119:78,175:76,177:77,228:I,348:44,349:f,350:A,359:S},e(O,m,{242:79,30:D,245:[1,80],248:k}),{39:[1,83],47:[1,84]},{163:[1,85]},{1:[2,623]},e(s,t,{264:86}),e(a,[2,25]),{32:[1,87],268:[1,88]},e(x,[2,473]),e(w,[2,646]),e(w,[2,647]),e(w,[2,648]),e(w,[2,643]),e(w,[2,644]),e(w,[2,645]),e(L,b,{259:51,261:52,170:89,263:C}),{44:90,168:23,169:24,174:y,241:g},e(L,[2,262]),e(L,[2,454],{261:91,263:C}),e(_,[2,456]),e([30,241,248],t,{264:92}),e(a,[2,29]),{79:[1,93]},{44:94,168:23,169:24,174:y,241:g},e(F,v,{58:95,307:B}),{59:97,63:E,113:h,228:I,348:44,349:f,350:A},e(P,v,{58:98,307:B}),e(P,v,{58:99,307:B}),e(M,[2,763]),e(M,[2,764]),e(P,U,{150:100,307:K}),{59:102,63:E,113:h,228:I,348:44,349:f,350:A},e(P,U,{150:103,307:K}),e(P,U,{150:104,307:K}),e(P,U,{150:105,307:K}),e(a,[2,621]),{16:[1,106]},{16:[2,600]},{16:[2,602]},{16:[2,860],59:74,63:E,113:h,119:107,228:I,348:44,349:f,350:A,359:S},e($,[2,856],{268:[1,108]}),e(w,[2,853]),{56:[1,109],359:[1,110]},e([79,241],[2,271],{85:[1,111]}),e(V,[2,273]),{43:[1,112]},{54:G,55:H,59:74,63:E,79:Q,87:139,95:W,96:Y,107:J,112:j,113:h,119:147,138:115,227:145,228:I,243:113,251:114,254:X,268:q,270:z,271:Z,272:ee,274:127,275:135,277:136,279:137,286:140,287:141,288:142,292:148,295:se,296:te,297:ie,298:ae,299:ne,300:re,301:oe,302:ue,303:le,304:ce,305:ye,306:126,307:ge,308:Te,309:117,310:125,312:128,348:44,349:f,350:A,352:de,353:pe,356:Ee,359:S,363:he,371:Ie,390:fe,391:Ae,396:153,399:154,430:130,450:138,452:146,454:151,455:152,456:155},e(O,m,{242:171,30:D,248:k}),e(Le,[2,416]),e(Le,[2,417]),{40:172,59:74,63:E,113:h,119:173,228:I,348:44,349:f,350:A,359:S},{40:174,59:74,63:E,113:h,119:173,228:I,348:44,349:f,350:A,359:S},e(P,[2,258],{164:175,39:[1,176]}),e(a,n,{344:4,19:5,155:6,44:7,20:8,21:9,22:10,23:11,24:12,25:13,26:14,27:15,28:16,29:17,34:19,35:20,156:21,157:22,168:23,169:24,36:25,42:26,158:31,340:177,4:r,8:o,12:u,16:l,162:c,174:y,241:g,272:T,322:d,338:p}),{33:178,51:181,54:G,55:H,59:179,63:E,96:[1,184],113:h,227:185,228:I,268:q,269:180,270:[1,182],271:[1,183],348:44,349:f,350:A,353:[1,186],390:fe,391:Ae,396:188,399:189,449:[1,187],454:151,455:152},{59:190,63:E,113:h,228:I,348:44,349:f,350:A},e(L,[2,260]),{81:[1,191]},e(_,[2,457]),{30:D,241:m,242:192,248:k},{59:74,63:E,87:195,113:h,119:147,228:I,348:44,349:f,350:A,359:S,410:193,426:194},e(a,[2,37]),e(a,[2,54],{348:44,59:196,63:E,113:h,228:I,349:f,350:A}),{95:[1,197]},e(a,[2,63]),{59:74,63:E,64:198,66:199,72:200,113:h,119:201,228:I,348:44,349:f,350:A,359:S},{59:74,63:E,72:202,113:h,119:201,228:I,348:44,349:f,350:A,359:S},{59:74,63:E,113:h,119:203,228:I,348:44,349:f,350:A,359:S},{371:[1,204]},e(a,[2,229]),{40:205,59:74,63:E,113:h,119:173,228:I,348:44,349:f,350:A,359:S},{40:206,59:74,63:E,113:h,119:173,228:I,348:44,349:f,350:A,359:S},{40:207,59:74,63:E,113:h,119:173,228:I,348:44,349:f,350:A,359:S},{59:74,63:E,87:139,113:h,119:147,149:211,228:I,324:208,333:209,335:210,348:44,349:f,350:A,359:S,430:212},{16:[2,861]},{59:74,63:E,113:h,119:213,228:I,348:44,349:f,350:A,359:S},{359:[1,214]},e(w,[2,855]),{59:74,63:E,113:h,119:78,177:215,228:I,348:44,349:f,350:A,359:S},{79:[1,216]},e(_,[2,403],{244:217,181:219,85:be,182:[1,220]}),e(Ce,[2,422]),e(Ce,Ne,{348:44,59:74,396:188,399:189,253:221,441:235,119:236,51:237,32:Re,43:Se,54:G,55:H,63:E,77:Oe,95:me,108:De,109:ke,113:h,142:xe,228:I,254:we,349:f,350:A,353:_e,357:Fe,358:ve,359:S,360:Be,375:Pe,377:Me,378:Ue,380:Ke,381:$e}),e(Ce,[2,438]),e(Ve,[2,897]),{54:G,55:H,59:74,63:E,79:Q,87:139,95:W,96:Y,107:J,112:j,113:h,119:147,138:242,227:145,228:I,268:q,270:z,271:Z,272:ee,274:127,275:135,277:136,279:137,286:140,287:141,288:142,292:148,295:se,296:te,297:ie,298:ae,299:ne,300:re,301:oe,302:ue,303:le,304:ce,305:ye,306:126,307:ge,308:Te,309:117,310:125,312:128,348:44,349:f,350:A,352:de,353:pe,356:Ee,359:S,363:he,371:Ie,390:fe,391:Ae,396:153,399:154,430:130,450:138,452:146,454:151,455:152,456:155},{54:G,55:H,59:74,63:E,79:Q,87:139,95:W,96:Y,107:J,112:j,113:h,119:147,138:243,227:145,228:I,268:q,270:z,271:Z,272:ee,274:127,275:135,277:136,279:137,286:140,287:141,288:142,292:148,295:se,296:te,297:ie,298:ae,299:ne,300:re,301:oe,302:ue,303:le,304:ce,305:ye,306:126,307:ge,308:Te,309:117,310:125,312:128,348:44,349:f,350:A,352:de,353:pe,356:Ee,359:S,363:he,371:Ie,390:fe,391:Ae,396:153,399:154,430:130,450:138,452:146,454:151,455:152,456:155},{54:G,55:H,59:74,63:E,79:Q,87:139,95:W,96:Y,107:J,112:j,113:h,119:147,138:244,227:145,228:I,268:q,270:z,271:Z,272:ee,274:127,275:135,277:136,279:137,286:140,287:141,288:142,292:148,295:se,296:te,297:ie,298:ae,299:ne,300:re,301:oe,302:ue,303:le,304:ce,305:ye,306:126,307:ge,308:Te,309:117,310:125,312:128,348:44,349:f,350:A,352:de,353:pe,356:Ee,359:S,363:he,371:Ie,390:fe,391:Ae,396:153,399:154,430:130,450:138,452:146,454:151,455:152,456:155},{54:G,55:H,59:74,63:E,79:Q,87:139,95:W,96:Y,107:J,112:j,113:h,119:147,138:245,227:145,228:I,268:q,270:z,271:Z,272:ee,274:127,275:135,277:136,279:137,286:140,287:141,288:142,292:148,295:se,296:te,297:ie,298:ae,299:ne,300:re,301:oe,302:ue,303:le,304:ce,305:ye,306:126,307:ge,308:Te,309:117,310:125,312:128,348:44,349:f,350:A,352:de,353:pe,356:Ee,359:S,363:he,371:Ie,390:fe,391:Ae,396:153,399:154,430:130,450:138,452:146,454:151,455:152,456:155},{79:Ge,438:246},{54:G,55:H,59:74,63:E,79:Q,87:139,95:W,96:Y,107:J,112:j,113:h,119:147,138:248,227:145,228:I,268:q,270:z,271:Z,272:ee,274:127,275:135,277:136,279:137,286:140,287:141,288:142,292:148,295:se,296:te,297:ie,298:ae,299:ne,300:re,301:oe,302:ue,303:le,304:ce,305:ye,306:126,307:ge,308:Te,309:117,310:125,312:128,348:44,349:f,350:A,352:de,353:pe,356:Ee,359:S,363:he,371:Ie,390:fe,391:Ae,396:153,399:154,430:130,450:138,452:146,454:151,455:152,456:155},{54:G,55:H,59:74,63:E,79:Q,87:139,95:W,96:Y,107:J,112:j,113:h,119:147,138:250,227:145,228:I,268:q,270:z,271:Z,272:ee,274:127,275:135,277:136,279:137,286:140,287:141,288:142,292:148,295:se,296:te,297:ie,298:ae,299:ne,300:re,301:oe,302:ue,303:le,304:ce,305:ye,306:126,307:ge,308:Te,309:117,310:125,312:128,348:44,349:f,350:A,352:de,353:pe,356:Ee,359:S,363:he,371:Ie,390:fe,391:Ae,393:He,396:153,399:154,430:130,442:249,450:138,452:146,454:151,455:152,456:155,504:251,506:252},e(Ve,[2,555],{311:254,79:Qe}),{79:Qe,311:256},e(Ve,[2,553]),e(Ve,[2,554]),e(Ve,[2,556]),e(We,[2,1029],{268:[1,257]}),{79:[2,535]},{79:[2,536]},{79:[2,537]},{79:[2,538]},e(Ve,[2,584],{276:258,278:259,319:Ye}),{278:261,319:Ye},e(Ve,[2,492]),e(Ve,[2,1035]),e(Je,[2,867]),e(je,[2,500]),e(je,[2,501]),e(je,[2,502]),{79:[1,262]},{79:[1,263]},e(Ve,[2,1037]),e(Ve,[2,1038]),e([32,43,50,54,55,63,77,79,81,85,95,107,108,109,112,113,129,142,182,190,201,214,215,216,217,218,219,220,221,226,228,232,239,240,254,263,265,268,341,345,349,350,353,357,358,359,360,361,362,364,367,368,369,370,372,375,376,377,378,380,381,383,385,386,387,388,389,392,393,440],[2,877]),{79:[1,264]},{79:[1,265]},{79:[1,266]},e(Ve,[2,1040]),e(Ve,[2,1041]),e(Ve,[2,1049]),e(Ve,[2,1050]),e(Ve,[2,1051]),{79:[2,511]},{79:[2,512]},{79:[2,513]},{79:[2,514]},{79:[2,515]},{79:[2,516]},{79:[2,517]},{79:[2,518]},e(Ve,[2,1042],{268:[1,267]}),{390:[1,268],391:[1,269]},{390:[1,270]},{54:[1,272],56:[1,271]},{55:[1,274],56:[1,273]},e(Ve,[2,1054]),e(Ve,[2,1055]),{54:G,55:H,59:74,63:E,79:Q,87:139,95:W,96:Y,107:J,112:j,113:h,119:147,138:115,227:145,228:I,243:275,251:114,254:X,268:q,270:z,271:Z,272:ee,274:127,275:135,277:136,279:137,286:140,287:141,288:142,292:148,295:se,296:te,297:ie,298:ae,299:ne,300:re,301:oe,302:ue,303:le,304:ce,305:ye,306:126,307:ge,308:Te,309:117,310:125,312:128,348:44,349:f,350:A,352:de,353:pe,356:Ee,359:S,363:he,371:Ie,390:fe,391:Ae,396:153,399:154,430:130,450:138,452:146,454:151,455:152,456:155},{125:[2,34]},e(Xe,[2,830],{268:[1,276]}),{43:[2,43]},{40:277,59:74,63:E,113:h,119:173,228:I,348:44,349:f,350:A,359:S},e(P,[2,259]),e(a,[2,629]),e(a,[2,26]),e(a,[2,475]),e(a,[2,476],{348:44,59:278,63:E,113:h,228:I,349:f,350:A}),e(a,[2,478]),e(a,[2,479]),e(a,[2,480]),e(a,[2,481]),e(F,[2,1032]),{227:279,268:q,390:fe,391:Ae,454:151,455:152},{227:280,268:q,390:fe,391:Ae,454:151,455:152},e(qe,[2,771]),e(qe,[2,772]),e(x,[2,474]),e(L,b,{259:51,261:52,170:281,263:C}),{169:282,241:g},{81:[1,283],85:[1,284]},e(ze,[2,842]),{32:[1,285]},e(a,Ze,{60:286,48:287,49:288,50:es}),{371:[1,290]},e(a,[2,64]),e(ss,[2,160],{67:291,124:292,125:[1,293]}),e(ts,[2,76],{73:294,76:295,77:[1,296],79:[1,297]}),e(is,[2,835],{268:[1,298]}),e(as,[2,212],{144:299,146:300,79:[1,301]}),e(a,[2,778],{151:302,406:[1,303]}),e(P,[2,781]),e(a,[2,236],{153:304,154:[1,305]}),e(a,[2,238]),e(a,[2,482]),e(ns,[2,617],{325:306,85:[1,307],182:[1,308]}),e(rs,[2,604]),{32:[1,309]},{32:[2,614]},e(os,[2,864],{268:[1,310]}),e($,[2,857]),e(w,[2,854]),e(V,[2,274]),e(us,ls,{179:311,467:312}),e(_,[2,404]),{54:G,55:H,59:74,63:E,79:Q,87:139,95:W,96:Y,107:J,112:j,113:h,119:147,138:115,227:145,228:I,251:313,254:X,268:q,270:z,271:Z,272:ee,274:127,275:135,277:136,279:137,286:140,287:141,288:142,292:148,295:se,296:te,297:ie,298:ae,299:ne,300:re,301:oe,302:ue,303:le,304:ce,305:ye,306:126,307:ge,308:Te,309:117,310:125,312:128,348:44,349:f,350:A,352:de,353:pe,356:Ee,359:S,363:he,371:Ie,390:fe,391:Ae,396:153,399:154,430:130,450:138,452:146,454:151,455:152,456:155},e(cs,ys,{249:314,256:315,258:316,265:gs}),{40:325,59:74,63:E,79:Ge,113:h,119:173,183:318,186:319,207:321,228:I,348:44,349:f,350:A,359:S,438:326,457:320,459:322,461:323,462:324},e(Ce,[2,437]),e(Ts,[2,1056],{437:327,95:[1,328]}),{54:G,55:H,59:74,63:E,79:Q,87:139,95:W,96:Y,107:J,112:j,113:h,119:147,138:329,227:145,228:I,268:q,270:z,271:Z,272:ee,274:127,275:135,277:136,279:137,286:140,287:141,288:142,292:148,295:se,296:te,297:ie,298:ae,299:ne,300:re,301:oe,302:ue,303:le,304:ce,305:ye,306:126,307:ge,308:Te,309:117,310:125,312:128,348:44,349:f,350:A,352:de,353:pe,356:Ee,359:S,363:he,371:Ie,390:fe,391:Ae,396:153,399:154,430:130,450:138,452:146,454:151,455:152,456:155},{54:G,55:H,59:74,63:E,79:Q,87:139,95:W,96:Y,107:J,112:j,113:h,119:147,138:330,227:145,228:I,268:q,270:z,271:Z,272:ee,274:127,275:135,277:136,279:137,286:140,287:141,288:142,292:148,295:se,296:te,297:ie,298:ae,299:ne,300:re,301:oe,302:ue,303:le,304:ce,305:ye,306:126,307:ge,308:Te,309:117,310:125,312:128,348:44,349:f,350:A,352:de,353:pe,356:Ee,359:S,363:he,371:Ie,390:fe,391:Ae,396:153,399:154,430:130,450:138,452:146,454:151,455:152,456:155},{54:G,55:H,59:74,63:E,79:Q,87:139,95:W,96:Y,107:J,112:j,113:h,119:147,138:331,227:145,228:I,268:q,270:z,271:Z,272:ee,274:127,275:135,277:136,279:137,286:140,287:141,288:142,292:148,295:se,296:te,297:ie,298:ae,299:ne,300:re,301:oe,302:ue,303:le,304:ce,305:ye,306:126,307:ge,308:Te,309:117,310:125,312:128,348:44,349:f,350:A,352:de,353:pe,356:Ee,359:S,363:he,371:Ie,390:fe,391:Ae,396:153,399:154,430:130,450:138,452:146,454:151,455:152,456:155},{54:G,55:H,59:74,63:E,79:Q,87:139,95:W,96:Y,107:J,112:j,113:h,119:147,138:332,227:145,228:I,268:q,270:z,271:Z,272:ee,274:127,275:135,277:136,279:137,286:140,287:141,288:142,292:148,295:se,296:te,297:ie,298:ae,299:ne,300:re,301:oe,302:ue,303:le,304:ce,305:ye,306:126,307:ge,308:Te,309:117,310:125,312:128,348:44,349:f,350:A,352:de,353:pe,356:Ee,359:S,363:he,371:Ie,390:fe,391:Ae,396:153,399:154,430:130,450:138,452:146,454:151,455:152,456:155},{77:Oe,360:[1,334],375:[1,333],380:Ke,381:$e,441:335},{79:[1,336]},{54:G,55:H,59:74,63:E,79:Q,87:139,95:W,96:Y,107:J,112:j,113:h,119:147,138:337,227:145,228:I,268:q,270:z,271:Z,272:ee,274:127,275:135,277:136,279:137,286:140,287:141,288:142,292:148,295:se,296:te,297:ie,298:ae,299:ne,300:re,301:oe,302:ue,303:le,304:ce,305:ye,306:126,307:ge,308:Te,309:117,310:125,312:128,348:44,349:f,350:A,352:de,353:pe,356:Ee,359:S,363:he,371:Ie,390:fe,391:Ae,396:153,399:154,430:130,450:138,452:146,454:151,455:152,456:155},{54:G,55:H,59:74,63:E,79:Q,87:139,95:W,96:Y,107:J,112:j,113:h,119:147,138:338,227:145,228:I,268:q,270:z,271:Z,272:ee,274:127,275:135,277:136,279:137,286:140,287:141,288:142,292:148,295:se,296:te,297:ie,298:ae,299:ne,300:re,301:oe,302:ue,303:le,304:ce,305:ye,306:126,307:ge,308:Te,309:117,310:125,312:128,348:44,349:f,350:A,352:de,353:pe,356:Ee,359:S,363:he,371:Ie,390:fe,391:Ae,396:153,399:154,430:130,450:138,452:146,454:151,455:152,456:155},{54:G,55:H,59:74,63:E,79:Q,87:139,95:W,96:Y,107:J,112:j,113:h,119:147,138:339,227:145,228:I,268:q,270:z,271:Z,272:ee,274:127,275:135,277:136,279:137,286:140,287:141,288:142,292:148,295:se,296:te,297:ie,298:ae,299:ne,300:re,301:oe,302:ue,303:le,304:ce,305:ye,306:126,307:ge,308:Te,309:117,310:125,312:128,348:44,349:f,350:A,352:de,353:pe,356:Ee,359:S,363:he,371:Ie,390:fe,391:Ae,396:153,399:154,430:130,450:138,452:146,454:151,455:152,456:155},{54:G,55:H,59:74,63:E,79:Q,87:139,95:W,96:Y,107:J,112:j,113:h,119:147,138:340,227:145,228:I,268:q,270:z,271:Z,272:ee,274:127,275:135,277:136,279:137,286:140,287:141,288:142,292:148,295:se,296:te,297:ie,298:ae,299:ne,300:re,301:oe,302:ue,303:le,304:ce,305:ye,306:126,307:ge,308:Te,309:117,310:125,312:128,348:44,349:f,350:A,352:de,353:pe,356:Ee,359:S,363:he,371:Ie,390:fe,391:Ae,396:153,399:154,430:130,450:138,452:146,454:151,455:152,456:155},{54:G,55:H,59:74,63:E,79:Q,87:139,95:W,96:Y,107:J,112:j,113:h,119:147,138:341,227:145,228:I,268:q,270:z,271:Z,272:ee,274:127,275:135,277:136,279:137,286:140,287:141,288:142,292:148,295:se,296:te,297:ie,298:ae,299:ne,300:re,301:oe,302:ue,303:le,304:ce,305:ye,306:126,307:ge,308:Te,309:117,310:125,312:128,348:44,349:f,350:A,352:de,353:pe,356:Ee,359:S,363:he,371:Ie,390:fe,391:Ae,396:153,399:154,430:130,450:138,452:146,454:151,455:152,456:155},{54:G,55:H,59:74,63:E,79:Q,87:139,95:W,96:Y,107:J,112:j,113:h,119:147,138:342,227:145,228:I,268:q,270:z,271:Z,272:ee,274:127,275:135,277:136,279:137,286:140,287:141,288:142,292:148,295:se,296:te,297:ie,298:ae,299:ne,300:re,301:oe,302:ue,303:le,304:ce,305:ye,306:126,307:ge,308:Te,309:117,310:125,312:128,348:44,349:f,350:A,352:de,353:pe,356:Ee,359:S,363:he,371:Ie,390:fe,391:Ae,396:153,399:154,430:130,450:138,452:146,454:151,455:152,456:155},e(Ve,[2,923]),e(ds,[2,1103]),e(ds,[2,1104]),{51:344,54:G,55:H,59:74,63:E,113:h,119:343,228:I,348:44,349:f,350:A,359:S,396:188,399:189},{54:G,55:H,59:74,63:E,79:Q,87:139,95:W,96:Y,107:J,112:j,113:h,119:147,138:345,227:145,228:I,268:q,270:z,271:Z,272:ee,274:127,275:135,277:136,279:137,286:140,287:141,288:142,292:148,295:se,296:te,297:ie,298:ae,299:ne,300:re,301:oe,302:ue,303:le,304:ce,305:ye,306:126,307:ge,308:Te,309:117,310:125,312:128,348:44,349:f,350:A,352:de,353:pe,356:Ee,359:S,363:he,371:Ie,390:fe,391:Ae,396:153,399:154,430:130,450:138,452:146,454:151,455:152,456:155},{54:G,55:H,59:74,63:E,79:Q,87:139,95:W,96:Y,107:J,112:j,113:h,119:147,138:346,227:145,228:I,268:q,270:z,271:Z,272:ee,274:127,275:135,277:136,279:137,286:140,287:141,288:142,292:148,295:se,296:te,297:ie,298:ae,299:ne,300:re,301:oe,302:ue,303:le,304:ce,305:ye,306:126,307:ge,308:Te,309:117,310:125,312:128,348:44,349:f,350:A,352:de,353:pe,356:Ee,359:S,363:he,371:Ie,390:fe,391:Ae,396:153,399:154,430:130,450:138,452:146,454:151,455:152,456:155},{54:G,55:H,59:74,63:E,79:Q,87:139,95:W,96:Y,107:J,112:j,113:h,119:147,138:347,227:145,228:I,268:q,270:z,271:Z,272:ee,274:127,275:135,277:136,279:137,286:140,287:141,288:142,292:148,295:se,296:te,297:ie,298:ae,299:ne,300:re,301:oe,302:ue,303:le,304:ce,305:ye,306:126,307:ge,308:Te,309:117,310:125,312:128,348:44,349:f,350:A,352:de,353:pe,356:Ee,359:S,363:he,371:Ie,390:fe,391:Ae,396:153,399:154,430:130,450:138,452:146,454:151,455:152,456:155},e(ps,[2,898],{441:235,32:Re,77:Oe,108:De,109:ke,142:xe,254:we,353:_e,358:ve,375:Pe,377:Me,380:Ke,381:$e}),e(ps,[2,899],{441:235,32:Re,77:Oe,108:De,109:ke,142:xe,254:we,353:_e,358:ve,375:Pe,377:Me,380:Ke,381:$e}),e(ps,[2,900],{441:235,32:Re,77:Oe,108:De,109:ke,142:xe,254:we,353:_e,358:ve,375:Pe,377:Me,380:Ke,381:$e}),e(Es,[2,901],{441:235}),e(Ve,[2,906]),e(us,ls,{467:312,438:326,179:348,462:349,79:Ge}),{32:Re,77:Oe,81:[1,350],95:me,108:De,109:ke,142:xe,254:we,353:_e,357:Fe,358:ve,360:Be,375:Pe,377:Me,378:Ue,380:Ke,381:$e,441:235},e(Ve,[2,925]),{32:Re,77:Oe,95:me,108:De,109:ke,142:xe,254:we,353:_e,357:Fe,358:ve,360:Be,375:Pe,377:Me,378:Ue,380:Ke,381:$e,393:He,441:235,442:351,504:251,506:252},{369:[1,353],370:[1,352],393:He,506:354},e(hs,[2,1188]),{54:G,55:H,59:74,63:E,79:Q,87:139,95:W,96:Y,107:J,112:j,113:h,119:147,138:355,227:145,228:I,268:q,270:z,271:Z,272:ee,274:127,275:135,277:136,279:137,286:140,287:141,288:142,292:148,295:se,296:te,297:ie,298:ae,299:ne,300:re,301:oe,302:ue,303:le,304:ce,305:ye,306:126,307:ge,308:Te,309:117,310:125,312:128,348:44,349:f,350:A,352:de,353:pe,356:Ee,359:S,363:he,371:Ie,390:fe,391:Ae,396:153,399:154,430:130,450:138,452:146,454:151,455:152,456:155},e(Ve,[2,551]),{54:G,55:H,59:74,63:E,79:Q,81:[1,356],87:139,95:W,96:Y,107:J,112:j,113:h,119:147,138:358,227:145,228:I,268:q,270:z,271:Z,272:ee,274:127,275:135,277:136,279:137,286:140,287:141,288:142,292:148,293:357,295:se,296:te,297:ie,298:ae,299:ne,300:re,301:oe,302:ue,303:le,304:ce,305:ye,306:126,307:ge,308:Te,309:117,310:125,312:128,348:44,349:f,350:A,352:de,353:pe,356:Ee,359:S,363:he,371:Ie,390:fe,391:Ae,396:153,399:154,430:130,450:138,452:146,454:151,455:152,456:155},e(Ve,[2,552]),{59:74,63:E,87:360,113:h,119:147,228:I,254:[1,359],348:44,349:f,350:A,359:S},e(Ve,[2,490]),e(Ve,[2,585]),{59:74,63:E,79:[1,363],113:h,119:361,228:I,320:362,348:44,349:f,350:A,359:S},e(Ve,[2,491]),{54:G,55:H,59:74,63:E,79:Q,81:[1,364],87:139,95:W,96:Y,107:J,112:j,113:h,119:147,138:358,227:145,228:I,268:q,270:z,271:Z,272:ee,274:127,275:135,277:136,279:137,286:140,287:141,288:142,292:148,293:365,295:se,296:te,297:ie,298:ae,299:ne,300:re,301:oe,302:ue,303:le,304:ce,305:ye,306:126,307:ge,308:Te,309:117,310:125,312:128,348:44,349:f,350:A,352:de,353:pe,356:Ee,359:S,363:he,371:Ie,390:fe,391:Ae,396:153,399:154,430:130,450:138,452:146,454:151,455:152,456:155},{54:G,55:H,59:74,63:E,79:Q,81:[1,367],87:139,95:W,96:Y,107:J,112:j,113:h,119:147,138:366,227:145,228:I,268:q,270:z,271:Z,272:ee,274:127,275:135,277:136,279:137,286:140,287:141,288:142,292:148,295:se,296:te,297:ie,298:ae,299:ne,300:re,301:oe,302:ue,303:le,304:ce,305:ye,306:126,307:ge,308:Te,309:117,310:125,312:128,348:44,349:f,350:A,352:de,353:pe,356:Ee,359:S,363:he,371:Ie,390:fe,391:Ae,396:153,399:154,430:130,450:138,452:146,454:151,455:152,456:155},e([54,55,63,79,81,95,96,107,112,113,228,268,270,271,272,295,296,297,298,299,300,301,302,303,304,305,307,308,349,350,352,353,356,359,363,371,390,391],m,{242:368,30:D,248:k}),e(Is,m,{242:371,30:D,81:[1,370],248:k,254:[1,369]}),e(Is,m,{242:372,30:D,81:[1,373],248:k}),e(Ve,[2,1043],{390:[1,374],391:[1,375]}),e(Ve,[2,1045]),{390:[1,376]},e(Ve,[2,1046]),{54:[1,377]},e(fs,[2,766]),{55:[1,378]},e(fs,[2,769]),e(_,[2,405],{85:be}),{59:74,63:E,113:h,119:379,228:I,348:44,349:f,350:A,359:S},{140:[1,380]},e(a,[2,477]),e(F,[2,1033]),e(F,[2,1034]),e(L,[2,261]),e(_,[2,462]),e(a,[2,793]),{59:74,63:E,87:195,113:h,119:147,228:I,348:44,349:f,350:A,359:S,426:381},{54:G,55:H,59:74,63:E,79:Q,87:139,95:W,96:Y,107:J,112:j,113:h,119:147,138:382,227:145,228:I,268:q,270:z,271:Z,272:ee,274:127,275:135,277:136,279:137,286:140,287:141,288:142,292:148,295:se,296:te,297:ie,298:ae,299:ne,300:re,301:oe,302:ue,303:le,304:ce,305:ye,306:126,307:ge,308:Te,309:117,310:125,312:128,348:44,349:f,350:A,352:de,353:pe,356:Ee,359:S,363:he,371:Ie,390:fe,391:Ae,396:153,399:154,430:130,450:138,452:146,454:151,455:152,456:155},e(a,[2,55]),e(a,[2,61]),e([43,81,85,109,341,345],[2,47]),{51:383,54:G,55:H,396:188,399:189},e([63,113,228,341,345,349,350,359],[2,784]),e(a,[2,198],{68:384,43:[1,385]}),e(ss,[2,161]),{126:[1,386]},e(ts,[2,73]),e(ts,[2,77]),{40:387,59:74,63:E,113:h,119:173,228:I,348:44,349:f,350:A,359:S},{59:74,63:E,80:388,84:389,87:390,113:h,119:147,228:I,348:44,349:f,350:A,359:S},{59:74,63:E,113:h,119:391,228:I,348:44,349:f,350:A,359:S},{43:Ze,48:392,49:288,50:es},e(as,[2,213]),{59:74,63:E,87:139,113:h,119:147,147:393,149:394,228:I,348:44,349:f,350:A,359:S,430:212},e(a,[2,222]),e(a,[2,779]),e(a,[2,230]),e(a,[2,237]),e(a,ys,{258:316,256:395,265:gs}),{59:74,63:E,87:139,113:h,119:147,149:211,228:I,333:396,335:210,348:44,349:f,350:A,359:S,430:212},{40:325,59:74,63:E,79:Ge,113:h,119:173,186:397,207:321,228:I,348:44,349:f,350:A,359:S,438:326,457:320,459:322,461:323,462:324},{54:G,55:H,59:74,63:E,79:Q,87:139,95:W,96:Y,107:J,112:j,113:h,119:147,138:399,227:145,228:I,268:q,270:z,271:Z,272:ee,274:127,275:135,277:136,279:137,286:140,287:141,288:142,292:148,295:se,296:te,297:ie,298:ae,299:ne,300:re,301:oe,302:ue,303:le,304:ce,305:ye,306:126,307:ge,308:Te,309:117,310:125,312:128,336:398,348:44,349:f,350:A,352:de,353:pe,356:Ee,359:S,363:he,371:Ie,390:fe,391:Ae,396:153,399:154,430:130,450:138,452:146,454:151,455:152,456:155},{59:74,63:E,87:360,113:h,119:147,228:I,254:[1,400],348:44,349:f,350:A,359:S},{81:[1,401]},{44:409,168:23,169:24,174:y,241:g,469:402,471:403,473:404,475:405,477:406,479:407,481:408},e(Ce,[2,423]),e(_,[2,418]),e(As,[2,293],{188:410,189:411,190:[1,412]}),e(cs,[2,467]),{54:G,55:H,59:74,63:E,79:Q,87:139,95:W,96:Y,107:J,112:j,113:h,119:147,138:414,227:145,228:I,266:413,268:q,270:z,271:Z,272:ee,274:127,275:135,277:136,279:137,286:140,287:141,288:142,292:148,295:se,296:te,297:ie,298:ae,299:ne,300:re,301:oe,302:ue,303:le,304:ce,305:ye,306:126,307:ge,308:Te,309:117,310:125,312:128,348:44,349:f,350:A,352:de,353:pe,356:Ee,359:S,363:he,371:Ie,390:fe,391:Ae,396:153,399:154,430:130,450:138,452:146,454:151,455:152,456:155},e([81,190,201,226,232,263,265,341,345],[2,283],{85:[1,415]}),e(Ls,[2,286]),e(Ls,[2,1058]),e(Ls,[2,1060],{204:416,206:417,214:bs,215:Cs,216:Ns,217:Rs,218:Ss,219:Os,220:ms,221:Ds}),e(Ls,[2,1061]),e(ks,Ne,{348:44,59:74,396:188,399:189,119:236,51:237,253:426,43:Se,54:G,55:H,63:E,113:h,228:I,349:f,350:A,359:S}),e(ks,Ne,{348:44,59:74,396:188,399:189,119:236,51:237,253:427,43:Se,54:G,55:H,63:E,113:h,228:I,349:f,350:A,359:S}),e(xs,[2,1072]),e(xs,[2,1074]),{96:[1,428],248:[1,431],270:[1,429],271:[1,430]},e(Ts,[2,1057]),e(ws,[2,908],{441:235,77:Oe,254:we,353:_e,358:ve,375:Pe,377:Me,380:Ke,381:$e}),e(ws,[2,909],{441:235,77:Oe,254:we,353:_e,358:ve,375:Pe,377:Me,380:Ke,381:$e}),e(ws,[2,910],{441:235,77:Oe,254:we,353:_e,358:ve,375:Pe,377:Me,380:Ke,381:$e}),e(ws,[2,911],{441:235,77:Oe,254:we,353:_e,358:ve,375:Pe,377:Me,380:Ke,381:$e}),{79:[1,432]},{54:G,55:H,59:74,63:E,79:Q,87:139,95:W,96:Y,107:J,112:j,113:h,119:147,138:433,227:145,228:I,268:q,270:z,271:Z,272:ee,274:127,275:135,277:136,279:137,286:140,287:141,288:142,292:148,295:se,296:te,297:ie,298:ae,299:ne,300:re,301:oe,302:ue,303:le,304:ce,305:ye,306:126,307:ge,308:Te,309:117,310:125,312:128,348:44,349:f,350:A,352:de,353:pe,356:Ee,359:S,363:he,371:Ie,390:fe,391:Ae,396:153,399:154,430:130,450:138,452:146,454:151,455:152,456:155},e(Ve,[2,924]),e(us,ls,{348:44,59:74,309:117,310:125,306:126,274:127,312:128,430:130,275:135,277:136,279:137,450:138,87:139,286:140,287:141,288:142,227:145,452:146,119:147,292:148,454:151,455:152,396:153,399:154,456:155,467:312,179:434,439:435,138:436,54:G,55:H,63:E,79:Q,95:W,96:Y,107:J,112:j,113:h,228:I,268:q,270:z,271:Z,272:ee,295:se,296:te,297:ie,298:ae,299:ne,300:re,301:oe,302:ue,303:le,304:ce,305:ye,307:ge,308:Te,349:f,350:A,352:de,353:pe,356:Ee,359:S,363:he,371:Ie,390:fe,391:Ae}),{32:Re,77:Oe,95:me,108:De,109:ke,142:xe,254:we,353:_e,357:Fe,358:ve,360:Be,375:Pe,377:Me,378:Ue,380:Ke,381:$e,440:[1,437],441:235},e(_s,[2,918],{441:235,32:Re,77:Oe,95:me,108:De,109:ke,142:xe,254:we,353:_e,358:ve,360:Be,375:Pe,377:Me,380:Ke,381:$e}),e(_s,[2,919],{441:235,32:Re,77:Oe,95:me,108:De,109:ke,142:xe,254:we,353:_e,358:ve,360:Be,375:Pe,377:Me,380:Ke,381:$e}),e(Es,[2,920],{441:235,77:Oe,375:Pe,377:Me,380:Ke,381:$e}),e(Es,[2,921],{441:235,77:Oe,375:Pe,377:Me,380:Ke,381:$e}),e(Es,[2,922],{441:235,77:Oe,375:Pe,377:Me,380:Ke,381:$e}),e(ds,[2,1105]),e(ds,[2,1106]),e(Es,[2,1164],{441:235}),e(Es,[2,1165],{441:235}),e(Es,[2,1166],{441:235}),{81:[1,438]},{43:Se,51:237,54:G,55:H,59:74,63:E,81:Ne,113:h,119:236,228:I,253:439,348:44,349:f,350:A,359:S,396:188,399:189},e(Ve,[2,907]),e(Ve,[2,926]),e(Ve,[2,1173]),{54:G,55:H,59:74,63:E,79:Q,87:139,95:W,96:Y,107:J,112:j,113:h,119:147,138:440,227:145,228:I,268:q,270:z,271:Z,272:ee,274:127,275:135,277:136,279:137,286:140,287:141,288:142,292:148,295:se,296:te,297:ie,298:ae,299:ne,300:re,301:oe,302:ue,303:le,304:ce,305:ye,306:126,307:ge,308:Te,309:117,310:125,312:128,348:44,349:f,350:A,352:de,353:pe,356:Ee,359:S,363:he,371:Ie,390:fe,391:Ae,396:153,399:154,430:130,450:138,452:146,454:151,455:152,456:155},e(hs,[2,1189]),{32:Re,77:Oe,95:me,108:De,109:ke,142:xe,254:we,353:_e,357:Fe,358:ve,360:Be,375:Pe,377:Me,378:Ue,380:Ke,381:$e,387:[1,441],441:235},e(Ve,[2,566]),{81:[1,442],85:Fs},e(ze,[2,571],{441:235,32:Re,77:Oe,95:me,108:De,109:ke,142:xe,254:we,353:_e,357:Fe,358:ve,360:Be,375:Pe,377:Me,378:Ue,380:Ke,381:$e}),e(We,[2,1030]),e(Je,[2,868]),e(Ve,[2,587]),e(Ve,[2,588]),e(vs,[2,1117],{483:444,487:445,125:[1,446]}),{319:[2,530]},{81:[1,447],85:Fs},{32:Re,43:[1,448],77:Oe,95:me,108:De,109:ke,142:xe,254:we,353:_e,357:Fe,358:ve,360:Be,375:Pe,377:Me,378:Ue,380:Ke,381:$e,441:235},e(Ve,[2,540]),{54:G,55:H,59:74,63:E,79:Q,81:[1,449],87:139,95:W,96:Y,107:J,112:j,113:h,119:147,138:358,227:145,228:I,268:q,270:z,271:Z,272:ee,274:127,275:135,277:136,279:137,286:140,287:141,288:142,292:148,293:450,295:se,296:te,297:ie,298:ae,299:ne,300:re,301:oe,302:ue,303:le,304:ce,305:ye,306:126,307:ge,308:Te,309:117,310:125,312:128,348:44,349:f,350:A,352:de,353:pe,356:Ee,359:S,363:he,371:Ie,390:fe,391:Ae,396:153,399:154,430:130,450:138,452:146,454:151,455:152,456:155},{81:[1,451]},e(je,[2,520]),{54:G,55:H,59:74,63:E,79:Q,87:139,95:W,96:Y,107:J,112:j,113:h,119:147,138:358,227:145,228:I,268:q,270:z,271:Z,272:ee,274:127,275:135,277:136,279:137,286:140,287:141,288:142,292:148,293:452,295:se,296:te,297:ie,298:ae,299:ne,300:re,301:oe,302:ue,303:le,304:ce,305:ye,306:126,307:ge,308:Te,309:117,310:125,312:128,348:44,349:f,350:A,352:de,353:pe,356:Ee,359:S,363:he,371:Ie,390:fe,391:Ae,396:153,399:154,430:130,450:138,452:146,454:151,455:152,456:155},{54:G,55:H,59:74,63:E,79:Q,87:139,95:W,96:Y,107:J,112:j,113:h,119:147,138:453,227:145,228:I,268:q,270:z,271:Z,272:ee,274:127,275:135,277:136,279:137,286:140,287:141,288:142,292:148,295:se,296:te,297:ie,298:ae,299:ne,300:re,301:oe,302:ue,303:le,304:ce,305:ye,306:126,307:ge,308:Te,309:117,310:125,312:128,348:44,349:f,350:A,352:de,353:pe,356:Ee,359:S,363:he,371:Ie,390:fe,391:Ae,396:153,399:154,430:130,450:138,452:146,454:151,455:152,456:155},e(je,[2,526]),e(Ve,[2,1044]),{390:[1,454]},e(Ve,[2,1047]),e(fs,[2,765]),e(fs,[2,768]),e(Xe,[2,831]),{79:Bs,165:455,166:456},e(ze,[2,843]),e(ze,[2,848],{441:235,32:Re,77:Oe,95:me,108:De,109:ke,142:xe,254:we,353:_e,357:Fe,358:ve,360:Be,375:Pe,377:Me,378:Ue,380:Ke,381:$e}),e([43,50,81,85,95,96,109,341,345],[2,48]),e(a,[2,68]),e(us,[2,202],{143:458}),{127:459,129:[1,460]},e(ts,[2,78]),{81:[1,461],85:[1,462]},e(ze,[2,84]),{88:463,97:464,98:465,99:466,100:467,101:468,102:469,103:470,107:Ps,112:Ms,113:Us,361:Ks,362:$s,364:Vs,367:Gs,368:Hs,372:Qs,376:Ws,385:Ys,386:Js,388:js,389:Xs,392:qs},e(is,[2,836]),{43:[1,486]},{81:[1,487],85:[1,488]},e(ze,Ze,{49:288,48:489,50:es}),e(a,[2,590]),e(rs,[2,605]),e(ns,[2,618]),e(rs,[2,610]),e(rs,[2,615],{441:235,32:Re,77:Oe,95:me,108:De,109:ke,142:xe,254:we,353:_e,357:Fe,358:ve,360:Be,375:Pe,377:Me,378:Ue,380:Ke,381:$e}),e(os,[2,865]),e(V,[2,279]),{81:[2,1086]},{81:[2,1088]},{81:[2,1090]},{81:[2,1092]},{81:[2,1094]},{81:[2,1096]},{81:[2,1098]},{81:[2,1100]},e(zs,[2,322],{199:490,200:491,201:[1,492]}),e(As,[2,294]),{126:[1,493]},e(cs,[2,468]),e(cs,[2,471],{441:235,32:Re,77:Oe,95:me,108:De,109:ke,142:xe,254:we,353:_e,357:Fe,358:ve,360:Be,375:Pe,377:Me,378:Ue,380:Ke,381:$e}),{40:325,59:74,63:E,79:Ge,113:h,119:173,186:494,207:321,228:I,348:44,349:f,350:A,359:S,438:326,457:320,459:322,461:323,462:324},e(Ls,[2,1064],{206:495,214:bs,215:Cs,216:Ns,217:Rs,218:Ss,219:Os,220:ms,221:Ds}),{40:325,59:74,63:E,79:Ge,113:h,119:173,207:496,228:I,348:44,349:f,350:A,359:S,438:326,461:323,462:324},{215:[1,497]},{215:[1,498],217:[1,499]},{215:[1,500]},e(Zs,[2,347]),{215:[1,502],217:[1,503],218:[1,501],220:[1,504]},{215:[1,505]},{215:[1,507],217:[1,508],218:[1,506],220:[1,509]},{215:[1,510]},e(ks,[2,1067]),e(ks,[2,1068]),e(Ve,[2,902]),e(Ve,[2,903]),e(Ve,[2,904]),{182:[1,511]},e(us,ls,{348:44,59:74,309:117,310:125,306:126,274:127,312:128,430:130,275:135,277:136,279:137,450:138,87:139,286:140,287:141,288:142,227:145,452:146,119:147,292:148,454:151,455:152,396:153,399:154,456:155,467:312,138:436,179:512,439:513,54:G,55:H,63:E,79:Q,95:W,96:Y,107:J,112:j,113:h,228:I,268:q,270:z,271:Z,272:ee,295:se,296:te,297:ie,298:ae,299:ne,300:re,301:oe,302:ue,303:le,304:ce,305:ye,307:ge,308:Te,349:f,350:A,352:de,353:pe,356:Ee,359:S,363:he,371:Ie,390:fe,391:Ae}),{32:Re,77:Oe,95:me,108:De,109:ke,142:xe,254:we,353:_e,357:Fe,358:ve,360:Be,375:Pe,377:Me,378:Ue,380:Ke,381:$e,440:[1,514],441:235},{81:[1,515]},{81:[1,516],85:et},e(st,[2,1014],{441:235,32:Re,77:Oe,95:me,108:De,109:ke,142:xe,254:we,353:_e,357:Fe,358:ve,360:Be,375:Pe,377:Me,378:Ue,380:Ke,381:$e}),{54:G,55:H,59:74,63:E,79:Q,87:139,95:W,96:Y,107:J,112:j,113:h,119:147,138:518,227:145,228:I,268:q,270:z,271:Z,272:ee,274:127,275:135,277:136,279:137,286:140,287:141,288:142,292:148,295:se,296:te,297:ie,298:ae,299:ne,300:re,301:oe,302:ue,303:le,304:ce,305:ye,306:126,307:ge,308:Te,309:117,310:125,312:128,348:44,349:f,350:A,352:de,353:pe,356:Ee,359:S,363:he,371:Ie,390:fe,391:Ae,396:153,399:154,430:130,450:138,452:146,454:151,455:152,456:155},e(tt,[2,1082]),{81:[1,519]},{32:Re,77:Oe,95:me,108:De,109:ke,142:xe,254:we,353:_e,357:Fe,358:ve,360:Be,370:[1,520],375:Pe,377:Me,378:Ue,380:Ke,381:$e,441:235},{54:G,55:H,59:74,63:E,79:Q,87:139,95:W,96:Y,107:J,112:j,113:h,119:147,138:521,227:145,228:I,268:q,270:z,271:Z,272:ee,274:127,275:135,277:136,279:137,286:140,287:141,288:142,292:148,295:se,296:te,297:ie,298:ae,299:ne,300:re,301:oe,302:ue,303:le,304:ce,305:ye,306:126,307:ge,308:Te,309:117,310:125,312:128,348:44,349:f,350:A,352:de,353:pe,356:Ee,359:S,363:he,371:Ie,390:fe,391:Ae,396:153,399:154,430:130,450:138,452:146,454:151,455:152,456:155},e(Ve,[2,567]),{54:G,55:H,59:74,63:E,79:Q,87:139,95:W,96:Y,107:J,112:j,113:h,119:147,138:522,227:145,228:I,268:q,270:z,271:Z,272:ee,274:127,275:135,277:136,279:137,286:140,287:141,288:142,292:148,295:se,296:te,297:ie,298:ae,299:ne,300:re,301:oe,302:ue,303:le,304:ce,305:ye,306:126,307:ge,308:Te,309:117,310:125,312:128,348:44,349:f,350:A,352:de,353:pe,356:Ee,359:S,363:he,371:Ie,390:fe,391:Ae,396:153,399:154,430:130,450:138,452:146,454:151,455:152,456:155},{81:[2,1123],231:524,232:it,484:523},e(vs,[2,1118]),{126:[1,526]},{319:[2,531]},{97:527,361:Ks,362:$s,364:Vs,367:Gs,368:Hs,372:Qs,376:Ws,385:Ys,386:Js,388:js,389:Xs,392:qs},e(je,[2,506]),{81:[1,528],85:Fs},e(je,[2,519]),{81:[1,529],85:Fs},{32:Re,77:Oe,81:[1,530],95:me,108:De,109:ke,142:xe,254:we,353:_e,357:Fe,358:ve,360:Be,375:Pe,377:Me,378:Ue,380:Ke,381:$e,441:235},e(Ve,[2,1048]),e(a,[2,249],{85:[1,531]}),e(at,[2,255]),{54:G,55:H,59:74,63:E,87:139,96:Y,107:J,112:j,113:h,119:147,167:532,227:145,228:I,268:q,270:z,271:Z,272:ee,274:127,275:135,277:136,279:137,286:140,287:141,288:142,292:148,295:se,296:te,297:ie,298:ae,299:ne,300:re,301:oe,302:ue,303:le,304:ce,305:ye,306:126,307:ge,308:Te,309:533,310:125,312:128,348:44,349:f,350:A,359:S,390:fe,391:Ae,396:153,399:154,430:130,450:138,452:146,454:151,455:152,456:155},{44:534,168:23,169:24,174:y,241:g},e(ss,[2,162]),{79:[1,536],130:535},e(ts,[2,82]),{59:74,63:E,84:537,87:390,113:h,119:147,228:I,348:44,349:f,350:A,359:S},e(ze,[2,98],{89:538,92:539,93:540,49:543,50:es,95:nt,96:rt}),e(ot,[2,110]),e(ot,[2,111]),e(ot,[2,112]),e(ot,[2,113]),e(ot,[2,114]),e(ot,[2,115]),e(ot,[2,116]),e(ot,[2,880]),e(ot,[2,881]),e(ot,ut,{435:544,79:lt}),e(ot,[2,894],{436:546,79:[1,547]}),e(ot,[2,884]),e(ot,[2,885]),e(ot,[2,886]),e(ot,[2,887]),e(ot,[2,888]),e(ot,[2,889]),e(ot,[2,890]),e(ot,ut,{435:548,79:lt}),{108:[1,549]},{108:[1,550]},{108:[1,551]},{44:552,168:23,169:24,174:y,241:g},e(as,[2,214]),{59:74,63:E,87:139,113:h,119:147,149:553,228:I,348:44,349:f,350:A,359:S,430:212},e(ze,[2,216]),e(ct,[2,385],{230:554,231:555,232:it}),e(zs,[2,323]),{54:G,55:H,59:74,63:E,79:Q,87:139,95:W,96:Y,107:J,112:j,113:h,119:147,138:556,227:145,228:I,268:q,270:z,271:Z,272:ee,274:127,275:135,277:136,279:137,286:140,287:141,288:142,292:148,295:se,296:te,297:ie,298:ae,299:ne,300:re,301:oe,302:ue,303:le,304:ce,305:ye,306:126,307:ge,308:Te,309:117,310:125,312:128,348:44,349:f,350:A,352:de,353:pe,356:Ee,359:S,363:he,371:Ie,390:fe,391:Ae,396:153,399:154,430:130,450:138,452:146,454:151,455:152,456:155},{54:G,55:H,59:74,63:E,79:Q,87:139,95:W,96:Y,107:J,112:j,113:h,119:147,138:558,191:557,227:145,228:I,268:q,270:z,271:Z,272:ee,274:127,275:135,277:136,279:137,286:140,287:141,288:142,292:148,295:se,296:te,297:ie,298:ae,299:ne,300:re,301:oe,302:ue,303:le,304:ce,305:ye,306:126,307:ge,308:Te,309:117,310:125,312:128,348:44,349:f,350:A,352:de,353:pe,356:Ee,359:S,363:he,371:Ie,390:fe,391:Ae,396:153,399:154,430:130,450:138,452:146,454:151,455:152,456:155},e(Ls,[2,287]),{40:325,59:74,63:E,79:Ge,113:h,119:173,207:559,228:I,348:44,349:f,350:A,359:S,438:326,461:323,462:324},e(yt,gt,{208:560,222:Tt}),e(Zs,[2,343]),e(Zs,[2,344]),{215:[1,562]},e(Zs,[2,346]),{215:[1,563]},e(Zs,[2,349]),{215:[1,564]},{215:[1,565]},e(Zs,[2,352]),{215:[1,566]},e(Zs,[2,354]),{215:[1,567]},{215:[1,568]},e(Zs,[2,357]),{54:G,55:H,59:74,63:E,79:Q,87:139,95:W,96:Y,107:J,112:j,113:h,119:147,138:569,227:145,228:I,268:q,270:z,271:Z,272:ee,274:127,275:135,277:136,279:137,286:140,287:141,288:142,292:148,295:se,296:te,297:ie,298:ae,299:ne,300:re,301:oe,302:ue,303:le,304:ce,305:ye,306:126,307:ge,308:Te,309:117,310:125,312:128,348:44,349:f,350:A,352:de,353:pe,356:Ee,359:S,363:he,371:Ie,390:fe,391:Ae,396:153,399:154,430:130,450:138,452:146,454:151,455:152,456:155},{81:[1,570]},{81:[1,571],85:et},{54:G,55:H,59:74,63:E,79:Q,87:139,95:W,96:Y,107:J,112:j,113:h,119:147,138:572,227:145,228:I,268:q,270:z,271:Z,272:ee,274:127,275:135,277:136,279:137,286:140,287:141,288:142,292:148,295:se,296:te,297:ie,298:ae,299:ne,300:re,301:oe,302:ue,303:le,304:ce,305:ye,306:126,307:ge,308:Te,309:117,310:125,312:128,348:44,349:f,350:A,352:de,353:pe,356:Ee,359:S,363:he,371:Ie,390:fe,391:Ae,396:153,399:154,430:130,450:138,452:146,454:151,455:152,456:155},e(Ve,[2,914]),e(Ve,[2,915]),{54:G,55:H,59:74,63:E,79:Q,87:139,95:W,96:Y,107:J,112:j,113:h,119:147,138:573,227:145,228:I,268:q,270:z,271:Z,272:ee,274:127,275:135,277:136,279:137,286:140,287:141,288:142,292:148,295:se,296:te,297:ie,298:ae,299:ne,300:re,301:oe,302:ue,303:le,304:ce,305:ye,306:126,307:ge,308:Te,309:117,310:125,312:128,348:44,349:f,350:A,352:de,353:pe,356:Ee,359:S,363:he,371:Ie,390:fe,391:Ae,396:153,399:154,430:130,450:138,452:146,454:151,455:152,456:155},e([43,54,55,63,81,85,113,129,182,190,201,214,215,216,217,218,219,220,221,226,228,232,239,240,263,265,341,345,349,350,357,359,360,369,370,378,383,387,393,440],[2,917],{441:235,32:Re,77:Oe,95:me,108:De,109:ke,142:xe,254:we,353:_e,358:ve,375:Pe,377:Me,380:Ke,381:$e}),e(tt,[2,1083]),e(Ve,[2,1174]),e(hs,[2,1195],{441:235,32:Re,77:Oe,95:me,108:De,109:ke,142:xe,254:we,353:_e,357:Fe,358:ve,360:Be,375:Pe,377:Me,378:Ue,380:Ke,381:$e}),e(ze,[2,572],{441:235,32:Re,77:Oe,95:me,108:De,109:ke,142:xe,254:we,353:_e,357:Fe,358:ve,360:Be,375:Pe,377:Me,378:Ue,380:Ke,381:$e}),{81:[1,574]},{81:[2,1128],129:[1,579],383:[1,578],488:575,490:576,491:577},{126:[1,580]},{54:G,55:H,59:74,63:E,79:Q,87:139,95:W,96:Y,107:J,112:j,113:h,119:147,138:436,227:145,228:I,268:q,270:z,271:Z,272:ee,274:127,275:135,277:136,279:137,286:140,287:141,288:142,292:148,295:se,296:te,297:ie,298:ae,299:ne,300:re,301:oe,302:ue,303:le,304:ce,305:ye,306:126,307:ge,308:Te,309:117,310:125,312:128,348:44,349:f,350:A,352:de,353:pe,356:Ee,359:S,363:he,371:Ie,390:fe,391:Ae,396:153,399:154,430:130,439:581,450:138,452:146,454:151,455:152,456:155},{81:[1,582]},e(je,[2,507]),e(je,[2,521]),e(je,[2,525]),{79:Bs,166:583},{81:[1,584],85:[1,585]},e(ze,[2,1027]),e(a,[2,199]),{79:[1,587],131:586},{59:74,63:E,87:589,113:h,119:147,228:I,348:44,349:f,350:A,359:S,422:588},e(ze,[2,85]),e(ze,[2,94]),e(ze,[2,99],{49:543,93:590,50:es,95:nt,96:rt}),e(dt,[2,100]),{96:[1,591]},e(dt,[2,107]),e(dt,[2,108]),e(ot,[2,882]),{390:[1,592]},e(ot,[2,883]),{390:[1,593]},e(ot,[2,891]),{88:594,97:464,98:465,99:466,100:467,101:468,102:469,103:470,107:Ps,109:[1,595],112:Ms,113:Us,361:Ks,362:$s,364:Vs,367:Gs,368:Hs,372:Qs,376:Ws,385:Ys,386:Js,388:js,389:Xs,392:qs},{97:596,109:[1,597],361:Ks,362:$s,364:Vs,367:Gs,368:Hs,372:Qs,376:Ws,385:Ys,386:Js,388:js,389:Xs,392:qs},{59:74,63:E,109:[1,599],113:h,114:598,116:600,119:601,228:I,348:44,349:f,350:A,359:S},e(a,[2,203]),e(ze,Ze,{49:288,48:602,50:es}),e(_,[2,378],{224:603,225:604,226:[1,605]}),e(ct,[2,386]),e(zs,[2,324],{441:235,32:Re,77:Oe,95:me,108:De,109:ke,142:xe,254:we,353:_e,357:Fe,358:ve,360:Be,375:Pe,377:Me,378:Ue,380:Ke,381:$e}),e(As,[2,295],{85:[1,606]}),e(pt,[2,310],{441:235,32:Re,77:Oe,95:me,108:De,109:ke,142:xe,254:we,353:_e,357:Fe,358:ve,360:Be,375:Pe,377:Me,378:Ue,380:Ke,381:$e}),e(yt,gt,{208:607,222:Tt}),e(yt,[2,330]),{54:G,55:H,59:74,63:E,79:Q,87:139,95:W,96:Y,107:J,112:j,113:h,119:147,138:608,227:145,228:I,268:q,270:z,271:Z,272:ee,274:127,275:135,277:136,279:137,286:140,287:141,288:142,292:148,295:se,296:te,297:ie,298:ae,299:ne,300:re,301:oe,302:ue,303:le,304:ce,305:ye,306:126,307:ge,308:Te,309:117,310:125,312:128,348:44,349:f,350:A,352:de,353:pe,356:Ee,359:S,363:he,371:Ie,390:fe,391:Ae,396:153,399:154,430:130,450:138,452:146,454:151,455:152,456:155},e(Zs,[2,345]),e(Zs,[2,348]),e(Zs,[2,350]),e(Zs,[2,351]),e(Zs,[2,353]),e(Zs,[2,355]),e(Zs,[2,356]),e(Es,[2,905],{441:235}),e(Ve,[2,912]),e(Ve,[2,913]),e(ps,[2,916],{441:235,32:Re,77:Oe,108:De,109:ke,142:xe,254:we,353:_e,358:ve,375:Pe,377:Me,380:Ke,381:$e}),e(st,[2,1015],{441:235,32:Re,77:Oe,95:me,108:De,109:ke,142:xe,254:we,353:_e,357:Fe,358:ve,360:Be,375:Pe,377:Me,378:Ue,380:Ke,381:$e}),e(Ve,[2,1112]),{81:[2,1124]},{81:[2,1129]},{360:[1,609],495:[1,610]},e(Et,[2,1146]),e(Et,[2,1147]),{54:G,55:H,59:74,63:E,79:Q,87:139,95:W,96:Y,107:J,112:j,113:h,119:147,138:613,227:145,228:I,233:611,236:612,268:q,270:z,271:Z,272:ee,274:127,275:135,277:136,279:137,286:140,287:141,288:142,292:148,295:se,296:te,297:ie,298:ae,299:ne,300:re,301:oe,302:ue,303:le,304:ce,305:ye,306:126,307:ge,308:Te,309:117,310:125,312:128,348:44,349:f,350:A,352:de,353:pe,356:Ee,359:S,363:he,371:Ie,390:fe,391:Ae,396:153,399:154,430:130,450:138,452:146,454:151,455:152,456:155},e(vs,[2,1119],{85:et}),e(Ve,[2,539]),e(at,[2,256]),e(at,[2,257]),{54:G,55:H,59:74,63:E,87:139,96:Y,107:J,112:j,113:h,119:147,227:145,228:I,268:q,270:z,271:Z,272:ee,274:127,275:135,277:136,279:137,286:140,287:141,288:142,292:148,295:se,296:te,297:ie,298:ae,299:ne,300:re,301:oe,302:ue,303:le,304:ce,305:ye,306:126,307:ge,308:Te,309:614,310:125,312:128,348:44,349:f,350:A,359:S,390:fe,391:Ae,396:153,399:154,430:130,450:138,452:146,454:151,455:152,456:155},e(ss,[2,166]),{125:ht,134:615,136:616},{81:[1,618],85:[1,619]},e(ze,[2,823]),e(dt,[2,101]),e(dt,[2,106]),{81:[1,620]},{81:[1,621],85:[1,622]},{109:[1,623]},e(ot,[2,121]),{85:[1,624]},e(ot,[2,125]),{85:[1,626],109:[1,625]},e(ot,[2,131]),e(It,[2,133]),{120:[1,627]},e(ze,[2,217]),e(_,[2,442]),e(_,[2,379]),{227:628,228:[1,629],268:q,390:fe,391:Ae,454:151,455:152},{54:G,55:H,59:74,63:E,79:Q,87:139,95:W,96:Y,107:J,112:j,113:h,119:147,138:630,227:145,228:I,268:q,270:z,271:Z,272:ee,274:127,275:135,277:136,279:137,286:140,287:141,288:142,292:148,295:se,296:te,297:ie,298:ae,299:ne,300:re,301:oe,302:ue,303:le,304:ce,305:ye,306:126,307:ge,308:Te,309:117,310:125,312:128,348:44,349:f,350:A,352:de,353:pe,356:Ee,359:S,363:he,371:Ie,390:fe,391:Ae,396:153,399:154,430:130,450:138,452:146,454:151,455:152,456:155},e(yt,[2,331]),e(yt,[2,373],{441:235,32:Re,77:Oe,95:me,108:De,109:ke,142:xe,254:we,353:_e,357:Fe,358:ve,360:Be,375:Pe,377:Me,378:Ue,380:Ke,381:$e}),e(ft,At,{492:631}),e(ft,At,{492:632}),e([81,129,226,263,341,345,383],[2,387],{85:[1,633]}),e(Lt,[2,390]),e(Lt,[2,400],{441:235,238:634,32:Re,77:Oe,95:me,108:De,109:ke,142:xe,239:[1,635],240:[1,636],254:we,353:_e,357:Fe,358:ve,360:Be,375:Pe,377:Me,378:Ue,380:Ke,381:$e}),e(ze,[2,1028]),{81:[1,637],85:[1,638]},e(ze,[2,175]),{54:G,55:H,59:74,63:E,79:Q,87:139,95:W,96:Y,107:J,112:j,113:h,119:147,138:639,140:[1,640],227:145,228:I,268:q,270:z,271:Z,272:ee,274:127,275:135,277:136,279:137,286:140,287:141,288:142,292:148,295:se,296:te,297:ie,298:ae,299:ne,300:re,301:oe,302:ue,303:le,304:ce,305:ye,306:126,307:ge,308:Te,309:117,310:125,312:128,348:44,349:f,350:A,352:de,353:pe,356:Ee,359:S,363:he,371:Ie,390:fe,391:Ae,396:153,399:154,430:130,450:138,452:146,454:151,455:152,456:155},{79:[2,820]},{59:74,63:E,87:641,113:h,119:147,228:I,348:44,349:f,350:A,359:S},e(ot,[2,893]),e(ot,[2,895]),{390:[1,642]},e(ot,[2,120]),{88:643,97:464,98:465,99:466,100:467,101:468,102:469,103:470,107:Ps,112:Ms,113:Us,361:Ks,362:$s,364:Vs,367:Gs,368:Hs,372:Qs,376:Ws,385:Ys,386:Js,388:js,389:Xs,392:qs},e(ot,[2,130]),{59:74,63:E,113:h,116:644,119:601,228:I,348:44,349:f,350:A,359:S},{88:645,97:464,98:465,99:466,100:467,101:468,102:469,103:470,107:Ps,112:Ms,113:Us,361:Ks,362:$s,364:Vs,367:Gs,368:Hs,372:Qs,376:Ws,385:Ys,386:Js,388:js,389:Xs,392:qs},e(_,[2,380],{85:[1,646]}),e(_,[2,382],{85:[1,647]}),e(pt,[2,311],{441:235,32:Re,77:Oe,95:me,108:De,109:ke,142:xe,254:we,353:_e,357:Fe,358:ve,360:Be,375:Pe,377:Me,378:Ue,380:Ke,381:$e}),e(bt,Ct,{493:648,503:649,365:Nt,390:Rt,495:St}),e(bt,Ct,{503:649,493:653,365:Nt,390:Rt,495:St}),{54:G,55:H,59:74,63:E,79:Q,87:139,95:W,96:Y,107:J,112:j,113:h,119:147,138:613,227:145,228:I,236:654,268:q,270:z,271:Z,272:ee,274:127,275:135,277:136,279:137,286:140,287:141,288:142,292:148,295:se,296:te,297:ie,298:ae,299:ne,300:re,301:oe,302:ue,303:le,304:ce,305:ye,306:126,307:ge,308:Te,309:117,310:125,312:128,348:44,349:f,350:A,352:de,353:pe,356:Ee,359:S,363:he,371:Ie,390:fe,391:Ae,396:153,399:154,430:130,450:138,452:146,454:151,455:152,456:155},e(Lt,[2,397]),e(Lt,[2,401]),e(Lt,[2,402]),e(ss,[2,172]),{125:ht,136:655},{32:Re,77:Oe,95:me,108:[1,657],109:ke,139:656,142:[1,658],254:we,353:_e,357:Fe,358:ve,360:Be,375:Pe,377:Me,378:Ue,380:Ke,381:$e,441:235},{108:Ot,139:659,142:mt},e(ze,[2,824]),{81:[1,662]},{109:[1,663]},e(It,[2,134]),e(It,Ze,{49:288,48:664,50:es}),{227:665,268:q,390:fe,391:Ae,454:151,455:152},{228:[1,666]},{81:Dt,357:kt,494:667},{379:[1,669]},{382:[1,670]},e(xt,[2,1159]),e(xt,[2,1160]),{81:Dt,357:kt,494:671},e(Lt,[2,391]),e(ze,[2,176]),{140:[1,672]},{54:G,55:H,59:74,63:E,79:Q,87:139,95:W,96:Y,107:J,112:j,113:h,119:147,138:330,140:wt,227:145,228:I,268:q,270:z,271:Z,272:ee,274:127,275:135,277:136,279:137,286:140,287:141,288:142,292:148,295:se,296:te,297:ie,298:ae,299:ne,300:re,301:oe,302:ue,303:le,304:ce,305:ye,306:126,307:ge,308:Te,309:117,310:125,312:128,348:44,349:f,350:A,352:de,353:pe,356:Ee,359:S,363:he,371:Ie,390:fe,391:Ae,396:153,399:154,430:130,450:138,452:146,454:151,455:152,456:155},{54:G,55:H,59:74,63:E,79:Q,87:139,95:W,96:Y,107:J,112:j,113:h,119:147,138:332,140:_t,227:145,228:I,268:q,270:z,271:Z,272:ee,274:127,275:135,277:136,279:137,286:140,287:141,288:142,292:148,295:se,296:te,297:ie,298:ae,299:ne,300:re,301:oe,302:ue,303:le,304:ce,305:ye,306:126,307:ge,308:Te,309:117,310:125,312:128,348:44,349:f,350:A,352:de,353:pe,356:Ee,359:S,363:he,371:Ie,390:fe,391:Ae,396:153,399:154,430:130,450:138,452:146,454:151,455:152,456:155},{54:G,55:H,59:74,63:E,79:Q,87:139,95:W,96:Y,107:J,112:j,113:h,119:147,138:673,227:145,228:I,268:q,270:z,271:Z,272:ee,274:127,275:135,277:136,279:137,286:140,287:141,288:142,292:148,295:se,296:te,297:ie,298:ae,299:ne,300:re,301:oe,302:ue,303:le,304:ce,305:ye,306:126,307:ge,308:Te,309:117,310:125,312:128,348:44,349:f,350:A,352:de,353:pe,356:Ee,359:S,363:he,371:Ie,390:fe,391:Ae,396:153,399:154,430:130,450:138,452:146,454:151,455:152,456:155},e(Is,wt),e(Is,_t),e(ot,[2,896]),e(ot,[2,124]),e(It,[2,140]),e(_,[2,381]),e(_,[2,383]),{81:[2,1130]},{365:[1,674],390:Rt,495:St,503:675},e(bt,[2,1149]),e(bt,[2,1150]),{81:[2,1131]},e(ze,[2,184],{139:676,108:Ot,142:mt}),e(ze,[2,183],{441:235,32:Re,77:Oe,95:me,108:De,109:ke,142:xe,254:we,353:_e,357:Fe,358:ve,360:Be,375:Pe,377:Me,378:Ue,380:Ke,381:$e}),{382:[1,677]},{373:[1,678]},{54:G,55:H,59:74,63:E,79:Q,87:139,95:W,96:Y,107:J,112:j,113:h,119:147,138:679,227:145,228:I,268:q,270:z,271:Z,272:ee,274:127,275:135,277:136,279:137,286:140,287:141,288:142,292:148,295:se,296:te,297:ie,298:ae,299:ne,300:re,301:oe,302:ue,303:le,304:ce,305:ye,306:126,307:ge,308:Te,309:117,310:125,312:128,348:44,349:f,350:A,352:de,353:pe,356:Ee,359:S,363:he,371:Ie,390:fe,391:Ae,396:153,399:154,430:130,450:138,452:146,454:151,455:152,456:155},{81:[2,1154]},{81:[2,1155]},e(ze,[2,182],{441:235,32:Re,77:Oe,95:me,108:De,109:ke,142:xe,254:we,353:_e,357:Fe,358:ve,360:Be,375:Pe,377:Me,378:Ue,380:Ke,381:$e})],defaultActions:{37:[2,623],70:[2,600],71:[2,602],107:[2,861],131:[2,535],132:[2,536],133:[2,537],134:[2,538],156:[2,511],157:[2,512],158:[2,513],159:[2,514],160:[2,515],161:[2,516],162:[2,517],163:[2,518],172:[2,34],174:[2,43],211:[2,614],364:[2,530],402:[2,1086],403:[2,1088],404:[2,1090],405:[2,1092],406:[2,1094],407:[2,1096],408:[2,1098],409:[2,1100],447:[2,531],575:[2,1124],576:[2,1129],618:[2,820],667:[2,1130],671:[2,1131],677:[2,1154],678:[2,1155]},parseError:function(e,s){if(!s.recoverable){var t=new Error(e);throw t.hash=s,t}this.trace(e)},parse:function(e){var s=this,t=[0],i=[null],a=[],n=this.table,r="",o=0,u=0,l=0,c=2,y=1,g=a.slice.call(arguments,1),T=Object.create(this.lexer),d={yy:{}};for(var p in this.yy)Object.prototype.hasOwnProperty.call(this.yy,p)&&(d.yy[p]=this.yy[p]);T.setInput(e,d.yy),d.yy.lexer=T,d.yy.parser=this,void 0===T.yylloc&&(T.yylloc={});var E=T.yylloc;a.push(E);var h=T.options&&T.options.ranges;function I(e){t.length=t.length-2*e,i.length=i.length-e,a.length=a.length-e}"function"==typeof d.yy.parseError?this.parseError=d.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var f,A,L,b,C,N,R,S,O,m=function(){var e;return"number"!=typeof(e=T.lex()||y)&&(e=s.symbols_[e]||e),e},D={};;){if(L=t[t.length-1],this.defaultActions[L]?b=this.defaultActions[L]:(null==f&&(f=m()),b=n[L]&&n[L][f]),void 0===b||!b.length||!b[0]){var k,x=function(e){for(var s=t.length-1,i=0;;){if(c.toString()in n[e])return i;if(0===e||s<2)return!1;e=t[s-=2],++i}},w="";if(l)A!==y&&(k=x(L));else{for(N in k=x(L),O=[],n[L])this.terminals_[N]&&N>c&&O.push("'"+this.terminals_[N]+"'");w=T.showPosition?"Parse error on line "+(o+1)+":\n"+T.showPosition()+"\nExpecting "+O.join(", ")+", got '"+(this.terminals_[f]||f)+"'":"Parse error on line "+(o+1)+": Unexpected "+(f==y?"end of input":"'"+(this.terminals_[f]||f)+"'"),this.parseError(w,{text:T.match,token:this.terminals_[f]||f,line:T.yylineno,loc:T.yylloc,ruleId:t.slice(t.length-2,t.length).join("_"),expected:O,recoverable:!1!==k})}if(3==l){if(f===y||A===y)throw new Error(w||"Parsing halted while starting to recover from another error.");u=T.yyleng,r=T.yytext,o=T.yylineno,E=T.yylloc,f=m()}if(!1===k)throw new Error(w||"Parsing halted. No suitable error recovery rule available.");I(k),A=f==c?null:f,f=c,L=t[t.length-1],b=n[L]&&n[L][c],l=3}if(b[0]instanceof Array&&b.length>1)throw new Error("Parse Error: multiple actions possible at state: "+L+", token: "+f);switch(b[0]){case 1:t.push(f),i.push(T.yytext),a.push(T.yylloc),t.push(b[1]),f=null,A?(f=A,A=null):(u=T.yyleng,r=T.yytext,o=T.yylineno,E=T.yylloc,l>0&&l--);break;case 2:if(R=this.productions_[b[1]][1],D.$=i[i.length-R],D._$={first_line:a[a.length-(R||1)].first_line,last_line:a[a.length-1].last_line,first_column:a[a.length-(R||1)].first_column,last_column:a[a.length-1].last_column},h&&(D._$.range=[a[a.length-(R||1)].range[0],a[a.length-1].range[1]]),void 0!==(C=this.performAction.apply(D,[r,u,o,d.yy,b[1],i,a].concat(g))))return C;R&&(t=t.slice(0,-1*R*2),i=i.slice(0,-1*R),a=a.slice(0,-1*R)),t.push(this.productions_[b[1]][0]),i.push(D.$),a.push(D._$),S=n[t[t.length-2]][t[t.length-1]],t.push(S);break;case 3:return!0}}return!0}};i.a.initSyntaxParser(Ft);var vt={EOF:1,parseError:function(e,s){if(!this.yy.parser)throw new Error(e);this.yy.parser.parseError(e,s)},setInput:function(e,s){return this.yy=s||this.yy||{},this._input=e,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var e=this._input[0];return this.yytext+=e,this.yyleng++,this.offset++,this.match+=e,this.matched+=e,e.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),e},unput:function(e){var s=e.length,t=e.split(/(?:\r\n?|\n)/g);this._input=e+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-s),this.offset-=s;var i=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),t.length-1&&(this.yylineno-=t.length-1);var a=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:t?(t.length===i.length?this.yylloc.first_column:0)+i[i.length-t.length].length-t[0].length:this.yylloc.first_column-s},this.options.ranges&&(this.yylloc.range=[a[0],a[0]+this.yyleng-s]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},less:function(e){this.unput(this.match.slice(e))},pastInput:function(){var e=this.matched.substr(0,this.matched.length-this.match.length);return(e.length>20?"...":"")+e.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var e=this.match;return e.length<20&&(e+=this._input.substr(0,20-e.length)),(e.substr(0,20)+(e.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var e=this.pastInput(),s=new Array(e.length+1).join("-");return e+this.upcomingInput()+"\n"+s+"^"},test_match:function(e,s){var t,i,a;if(this.options.backtrack_lexer&&(a={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(a.yylloc.range=this.yylloc.range.slice(0))),(i=e[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=i.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:i?i[i.length-1].length-i[i.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+e[0].length},this.yytext+=e[0],this.match+=e[0],this.matches=e,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(e[0].length),this.matched+=e[0],t=this.performAction.call(this,this.yy,this,s,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),t)return t;if(this._backtrack){for(var n in a)this[n]=a[n];return!1}return!1},next:function(){if(this.done)return this.EOF;var e,s,t,i;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var a=this._currentRules(),n=0;n<a.length;n++)if((t=this._input.match(this.rules[a[n]]))&&(!s||t[0].length>s[0].length)){if(s=t,i=n,this.options.backtrack_lexer){if(!1!==(e=this.test_match(t,a[n])))return e;if(this._backtrack){s=!1;continue}return!1}if(!this.options.flex)break}return s?!1!==(e=this.test_match(s,a[i]))&&e:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){var e=this.next();return e||this.lex()},begin:function(e){this.conditionStack.push(e)},popState:function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(e){return(e=this.conditionStack.length-1-Math.abs(e||0))>=0?this.conditionStack[e]:"INITIAL"},pushState:function(e){this.begin(e)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0,flex:!0},performAction:function(e,s,t,i){switch(t){case 0:case 1:case 2:break;case 3:return Ft.yy.partialCursor=!1,Ft.yy.cursorFound=s.yylloc,5;case 4:return Ft.yy.partialCursor=!0,Ft.yy.cursorFound=s.yylloc,394;case 5:return this.popState(),440;case 6:return 30;case 7:return Ft.determineCase(s.yytext),Ft.addStatementTypeLocation("ALTER",s.yylloc,e.lexer.upcomingInput()),4;case 8:return 357;case 9:return 43;case 10:return 239;case 11:return this.begin("between"),360;case 12:return 361;case 13:return 362;case 14:return 126;case 15:return 406;case 16:return 363;case 17:return 364;case 18:return 50;case 19:return Ft.determineCase(s.yytext),8;case 20:return 214;case 21:return 365;case 22:return 366;case 23:return 367;case 24:return 240;case 25:return 248;case 26:return 358;case 27:return 368;case 28:return Ft.determineCase(s.yytext),Ft.addStatementTypeLocation("DROP",s.yylloc,e.lexer.upcomingInput()),12;case 29:return 369;case 30:return 370;case 31:return Ft.yy.correlatedSubQuery=!0,371;case 32:return 271;case 33:return 372;case 34:return 373;case 35:return Ft.determineCase(s.yytext),182;case 36:return 216;case 37:return 190;case 38:return 201;case 39:return 307;case 40:return 375;case 41:return 218;case 42:return 162;case 43:return 376;case 44:return 163;case 45:return 377;case 46:return 215;case 47:return 219;case 48:return 77;case 49:return 226;case 50:return 95;case 51:return 96;case 52:return 222;case 53:return 349;case 54:return 378;case 55:return 232;case 56:return 217;case 57:return 125;case 58:return 379;case 59:return 154;case 60:return 129;case 61:return 380;case 62:return 221;case 63:return 381;case 64:return 382;case 65:return 63;case 66:return 383;case 67:return 384;case 68:return Ft.determineCase(s.yytext),Ft.addStatementTypeLocation("SELECT",s.yylloc),241;case 69:return 220;case 70:return Ft.determineCase(s.yytext),Ft.addStatementTypeLocation("SET",s.yylloc),16;case 71:return Ft.determineCase(s.yytext),Ft.addStatementTypeLocation("SHOW",s.yylloc),"SHOW";case 72:return 385;case 73:return 386;case 74:return 39;case 75:return 387;case 76:return 388;case 77:return 389;case 78:return"TO";case 79:return 270;case 80:return Ft.determineCase(s.yytext),Ft.addStatementTypeLocation("TRUNCATE",s.yylloc,e.lexer.upcomingInput()),272;case 81:return 495;case 82:return 263;case 83:return Ft.determineCase(s.yytext),322;case 84:return Ft.determineCase(s.yytext),Ft.addStatementTypeLocation("USE",s.yylloc),338;case 85:return 140;case 86:return 392;case 87:return 47;case 88:return 393;case 89:return 265;case 90:return Ft.determineCase(s.yytext),Ft.addStatementTypeLocation("WITH",s.yylloc),174;case 91:return 319;case 92:return 63;case 93:return e.lexer.unput("("),s.yytext="avg",Ft.addFunctionLocation(s.yylloc,s.yytext),295;case 94:return e.lexer.unput("("),s.yytext="cast",Ft.addFunctionLocation(s.yylloc,s.yytext),308;case 95:return e.lexer.unput("("),s.yytext="count",Ft.addFunctionLocation(s.yylloc,s.yytext),303;case 96:return e.lexer.unput("("),s.yytext="max",Ft.addFunctionLocation(s.yylloc,s.yytext),296;case 97:return e.lexer.unput("("),s.yytext="min",Ft.addFunctionLocation(s.yylloc,s.yytext),297;case 98:return e.lexer.unput("("),s.yytext="stddev_pop",Ft.addFunctionLocation(s.yylloc,s.yytext),298;case 99:return e.lexer.unput("("),s.yytext="stddev_samp",Ft.addFunctionLocation(s.yylloc,s.yytext),299;case 100:return e.lexer.unput("("),s.yytext="sum",Ft.addFunctionLocation(s.yylloc,s.yytext),304;case 101:return e.lexer.unput("("),s.yytext="var_pop",Ft.addFunctionLocation(s.yylloc,s.yytext),300;case 102:return e.lexer.unput("("),s.yytext="var_samp",Ft.addFunctionLocation(s.yylloc,s.yytext),301;case 103:return e.lexer.unput("("),s.yytext="variance",Ft.addFunctionLocation(s.yylloc,s.yytext),302;case 104:return e.lexer.unput("("),s.yytext="cume_dist",Ft.addFunctionLocation(s.yylloc,s.yytext),305;case 105:return e.lexer.unput("("),s.yytext="dense_rank",Ft.addFunctionLocation(s.yylloc,s.yytext),305;case 106:return e.lexer.unput("("),s.yytext="first_value",Ft.addFunctionLocation(s.yylloc,s.yytext),305;case 107:return e.lexer.unput("("),s.yytext="lag",Ft.addFunctionLocation(s.yylloc,s.yytext),305;case 108:return e.lexer.unput("("),s.yytext="last_value",Ft.addFunctionLocation(s.yylloc,s.yytext),305;case 109:return e.lexer.unput("("),s.yytext="lead",Ft.addFunctionLocation(s.yylloc,s.yytext),305;case 110:return e.lexer.unput("("),s.yytext="rank",Ft.addFunctionLocation(s.yylloc,s.yytext),305;case 111:return e.lexer.unput("("),s.yytext="row_number",Ft.addFunctionLocation(s.yylloc,s.yytext),305;case 112:case 113:return 390;case 114:return 391;case 115:return 350;case 116:return Ft.yy.cursorFound=!0,5;case 117:return Ft.yy.cursorFound=!0,394;case 118:return 374;case 119:return Ft.addFileLocation(s.yylloc,s.yytext),500;case 120:return this.popState(),501;case 121:return 341;case 122:return 357;case 123:return 378;case 124:return 32;case 125:return 108;case 126:return 109;case 127:case 128:case 129:case 130:case 131:return 142;case 132:return 353;case 133:return 254;case 134:case 135:case 136:case 137:case 138:case 139:return 358;case 140:return 85;case 141:return 268;case 142:return 120;case 143:return 345;case 144:return 356;case 145:return 352;case 146:return 79;case 147:return 81;case 148:return 354;case 149:return 355;case 150:return 228;case 151:return this.begin("backtickedValue"),359;case 152:return Ft.handleQuotedValueWithCursor(this,s.yytext,s.yylloc,"`")?398:56;case 153:return this.popState(),359;case 154:return this.begin("singleQuotedValue"),54;case 155:return Ft.handleQuotedValueWithCursor(this,s.yytext,s.yylloc,"'")?398:56;case 156:return this.popState(),54;case 157:return this.begin("doubleQuotedValue"),55;case 158:return Ft.handleQuotedValueWithCursor(this,s.yytext,s.yylloc,'"')?398:56;case 159:return this.popState(),55;case 160:return 341;case 161:case 162:case 163:case 164:case 165:case 166:break;case 167:console.log(s.yytext)}},rules:[/^(?:\s)/i,/^(?:--.*)/i,/^(?:[/][*][^*]*[*]+([^/*][^*]*[*]+)*[/])/i,/^(?:\u2020)/i,/^(?:\u2021)/i,/^(?:AND)/i,/^(?:ALL)/i,/^(?:ALTER)/i,/^(?:AND)/i,/^(?:AS)/i,/^(?:ASC)/i,/^(?:BETWEEN)/i,/^(?:BIGINT)/i,/^(?:BOOLEAN)/i,/^(?:BY)/i,/^(?:CASCADE)/i,/^(?:CASE)/i,/^(?:CHAR)/i,/^(?:COMMENT)/i,/^(?:CREATE)/i,/^(?:CROSS)/i,/^(?:CURRENT)/i,/^(?:DATABASE)/i,/^(?:DECIMAL)/i,/^(?:DESC)/i,/^(?:DISTINCT)/i,/^(?:DIV)/i,/^(?:DOUBLE)/i,/^(?:DROP)/i,/^(?:ELSE)/i,/^(?:END)/i,/^(?:EXISTS)/i,/^(?:FALSE)/i,/^(?:FLOAT)/i,/^(?:FOLLOWING)/i,/^(?:FROM)/i,/^(?:FULL)/i,/^(?:GROUP)/i,/^(?:HAVING)/i,/^(?:IF)/i,/^(?:IN)/i,/^(?:INNER)/i,/^(?:INSERT)/i,/^(?:INT)/i,/^(?:INTO)/i,/^(?:IS)/i,/^(?:JOIN)/i,/^(?:LEFT)/i,/^(?:LIKE)/i,/^(?:LIMIT)/i,/^(?:NOT)/i,/^(?:NULL)/i,/^(?:ON)/i,/^(?:OPTION)/i,/^(?:OR)/i,/^(?:ORDER)/i,/^(?:OUTER)/i,/^(?:PARTITION)/i,/^(?:PRECEDING)/i,/^(?:PURGE)/i,/^(?:RANGE)/i,/^(?:REGEXP)/i,/^(?:RIGHT)/i,/^(?:RLIKE)/i,/^(?:ROW)/i,/^(?:ROLE)/i,/^(?:ROWS)/i,/^(?:SCHEMA)/i,/^(?:SELECT)/i,/^(?:SEMI)/i,/^(?:SET)/i,/^(?:SHOW)/i,/^(?:SMALLINT)/i,/^(?:STRING)/i,/^(?:TABLE)/i,/^(?:THEN)/i,/^(?:TIMESTAMP)/i,/^(?:TINYINT)/i,/^(?:TO)/i,/^(?:TRUE)/i,/^(?:TRUNCATE)/i,/^(?:UNBOUNDED)/i,/^(?:UNION)/i,/^(?:UPDATE)/i,/^(?:USE)/i,/^(?:VALUES)/i,/^(?:VARCHAR)/i,/^(?:VIEW)/i,/^(?:WHEN)/i,/^(?:WHERE)/i,/^(?:WITH)/i,/^(?:OVER)/i,/^(?:ROLE)/i,/^(?:AVG\s*\()/i,/^(?:CAST\s*\()/i,/^(?:COUNT\s*\()/i,/^(?:MAX\s*\()/i,/^(?:MIN\s*\()/i,/^(?:STDDEV_POP\s*\()/i,/^(?:STDDEV_SAMP\s*\()/i,/^(?:SUM\s*\()/i,/^(?:VAR_POP\s*\()/i,/^(?:VAR_SAMP\s*\()/i,/^(?:VARIANCE\s*\()/i,/^(?:CUME_DIST\s*\()/i,/^(?:DENSE_RANK\s*\()/i,/^(?:FIRST_VALUE\s*\()/i,/^(?:LAG\s*\()/i,/^(?:LAST_VALUE\s*\()/i,/^(?:LEAD\s*\()/i,/^(?:RANK\s*\()/i,/^(?:ROW_NUMBER\s*\()/i,/^(?:[0-9]+)/i,/^(?:[0-9]+(?:[YSL]|BD)?)/i,/^(?:[0-9]+E)/i,/^(?:[A-Za-z0-9_]+)/i,/^(?:\u2020)/i,/^(?:\u2021)/i,/^(?:\s+['"])/i,/^(?:[^'"\u2020\u2021]+)/i,/^(?:['"])/i,/^(?:$)/i,/^(?:&&)/i,/^(?:\|\|)/i,/^(?:=)/i,/^(?:<)/i,/^(?:>)/i,/^(?:!=)/i,/^(?:<=)/i,/^(?:>=)/i,/^(?:<>)/i,/^(?:<=>)/i,/^(?:-)/i,/^(?:\*)/i,/^(?:\+)/i,/^(?:\/)/i,/^(?:%)/i,/^(?:\|)/i,/^(?:\^)/i,/^(?:&)/i,/^(?:,)/i,/^(?:\.)/i,/^(?::)/i,/^(?:;)/i,/^(?:~)/i,/^(?:!)/i,/^(?:\()/i,/^(?:\))/i,/^(?:\[)/i,/^(?:\])/i,/^(?:\$\{[^}]*\})/i,/^(?:`)/i,/^(?:[^`]+)/i,/^(?:`)/i,/^(?:')/i,/^(?:(?:\\\\|\\[']|[^'])+)/i,/^(?:')/i,/^(?:")/i,/^(?:(?:\\\\|\\["]|[^"])+)/i,/^(?:")/i,/^(?:$)/i,/^(?:.)/i,/^(?:.)/i,/^(?:.)/i,/^(?:.)/i,/^(?:.)/i,/^(?:.)/i,/^(?:.)/i],conditions:{hdfs:{rules:[116,117,118,119,120,121,163],inclusive:!1},doubleQuotedValue:{rules:[158,159,166],inclusive:!1},singleQuotedValue:{rules:[155,156,165],inclusive:!1},backtickedValue:{rules:[152,153,164],inclusive:!1},between:{rules:[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,154,157,160,161,162,167],inclusive:!0},INITIAL:{rules:[0,1,2,3,4,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,154,157,160,161,167],inclusive:!0}}};function Bt(){this.yy={}}return Ft.lexer=vt,Bt.prototype=Ft,Ft.Parser=Bt,new Bt}();s.default=a},2:function(e,s,t){"use strict";var i=t(1),a=t(0);s.a={initSqlParser:function(e){Object(a.d)(e),e.SELECT_FIRST_OPTIONAL_KEYWORDS=[{value:"STREAM",weight:3},{value:"ALL",weight:2},{value:"DISTINCT",weight:2}],e.prepareNewStatement=function(){o(),e.commitLocations(),delete e.yy.latestCommonTableExpressions,delete e.yy.correlatedSubQuery,e.yy.subQueries=[],e.yy.selectListAliases=[],e.yy.latestTablePrimaries=[],s()},e.yy.parseError=function(s,t){return e.yy.errors.push(t),s},e.addCommonTableExpressions=function(s){e.yy.result.commonTableExpressions=s,e.yy.latestCommonTableExpressions=s},e.isInSubquery=function(){return!!e.yy.primariesStack.length},e.pushQueryState=function(){e.yy.resultStack.push(e.yy.result),e.yy.locationsStack.push(e.yy.locations),e.yy.selectListAliasesStack.push(e.yy.selectListAliases),e.yy.primariesStack.push(e.yy.latestTablePrimaries),e.yy.subQueriesStack.push(e.yy.subQueries),e.yy.result={},e.yy.locations=[],e.yy.selectListAliases=[],e.yy.correlatedSubQuery?(e.yy.latestTablePrimaries=e.yy.latestTablePrimaries.concat(),e.yy.subQueries=e.yy.subQueries.concat()):(e.yy.latestTablePrimaries=[],e.yy.subQueries=[])},e.popQueryState=function(s){o(),e.commitLocations(),0===Object.keys(e.yy.result).length?e.yy.result=e.yy.resultStack.pop():e.yy.resultStack.pop();var t=e.yy.subQueries;e.yy.subQueries=e.yy.subQueriesStack.pop(),s&&(t.length>0&&(s.subQueries=t),e.yy.subQueries.push(s)),e.yy.latestTablePrimaries=e.yy.primariesStack.pop(),e.yy.locations=e.yy.locationsStack.pop(),e.yy.selectListAliases=e.yy.selectListAliasesStack.pop()},e.suggestSelectListAliases=function(){e.yy.selectListAliases&&e.yy.selectListAliases.length>0&&e.yy.result.suggestColumns&&(void 0===e.yy.result.suggestColumns.identifierChain||0===e.yy.result.suggestColumns.identifierChain.length)&&(e.yy.result.suggestColumnAliases=e.yy.selectListAliases)},e.mergeSuggestKeywords=function(){var e=[];return Array.prototype.slice.call(arguments).forEach((function(s){void 0!==s&&void 0!==s.suggestKeywords&&(e=e.concat(s.suggestKeywords))})),e.length>0?{suggestKeywords:e}:{}},e.suggestValueExpressionKeywords=function(s,t){var i=e.getValueExpressionKeywords(s,t);e.suggestKeywords(i.suggestKeywords),i.suggestColRefKeywords&&e.suggestColRefKeywords(i.suggestColRefKeywords),s.lastType?e.addColRefIfExists(s.lastType):e.addColRefIfExists(s)},e.getSelectListKeywords=function(e){var s=[{value:"CASE",weight:450},"FALSE","TRUE","NULL"];return e||s.push({value:"*",weight:1e4}),s},e.getValueExpressionKeywords=function(s,t){var a=s.lastType?s.lastType.types:s.types,n=["<","<=","<=>","<>","=",">",">=","BETWEEN","IN","IS NOT NULL","IS NULL","IS NOT TRUE","IS TRUE","IS NOT FALSE","IS FALSE","NOT BETWEEN","NOT IN"];return t&&(n=n.concat(t)),s.suggestKeywords&&(n=n.concat(s.suggestKeywords)),1===a.length&&"COLREF"===a[0]?{suggestKeywords:n,suggestColRefKeywords:{BOOLEAN:["AND","OR"],NUMBER:["+","-","*","/","%","DIV"],STRING:["LIKE","NOT LIKE","REGEXP","RLIKE"]}}:(Object(i.a)(e.yy.activeDialect,["BOOLEAN"],a)&&(n=n.concat(["AND","OR"])),Object(i.a)(e.yy.activeDialect,["NUMBER"],a)&&(n=n.concat(["+","-","*","/","%","DIV"])),Object(i.a)(e.yy.activeDialect,["STRING"],a)&&(n=n.concat(["LIKE","NOT LIKE","REGEXP","RLIKE"])),{suggestKeywords:n})},e.getTypeKeywords=function(){return["BIGINT","BOOLEAN","CHAR","DECIMAL","DOUBLE","FLOAT","INT","SMALLINT","TIMESTAMP","STRING","TINYINT","VARCHAR"]},e.getColumnDataTypeKeywords=function(){return e.getTypeKeywords()},e.addColRefIfExists=function(s){s.columnReference&&(e.yy.result.colRef={identifierChain:s.columnReference})},e.selectListNoTableSuggest=function(s,t){if(s.cursorAtStart){var i=e.getSelectListKeywords();t||(i=i.concat([{value:"ALL",weight:2},{value:"DISTINCT",weight:2}])),e.suggestKeywords(i)}else e.checkForKeywords(s);s.suggestFunctions&&e.suggestFunctions(),s.suggestColumns&&e.suggestColumns(),!s.suggestAggregateFunctions||t&&"ALL"!==t||(e.suggestAggregateFunctions(),e.suggestAnalyticFunctions())},e.suggestJoinConditions=function(s){e.yy.result.suggestJoinConditions=s||{},e.yy.latestTablePrimaries&&!e.yy.result.suggestJoinConditions.tablePrimaries&&(e.yy.result.suggestJoinConditions.tablePrimaries=e.yy.latestTablePrimaries.concat())},e.suggestJoins=function(s){e.yy.result.suggestJoins=s||{}},e.findCaseType=function(e){var s={};return e.caseTypes.forEach((function(e){e.types.forEach((function(e){s[e]=!0}))})),1===Object.keys(s).length?{types:[Object.keys(s)[0]]}:{types:["T"]}},e.applyArgumentTypesToSuggestions=function(s,t){(e.yy.result.suggestFunctions||e.yy.result.suggestColumns)&&(e.yy.result.udfArgument={name:s.toLowerCase(),position:t})},e.commitLocations=function(){if(0!==e.yy.locations.length){for(var s=e.yy.latestTablePrimaries,t=e.yy.locations.length,i=function(){var i=e.yy.locations[t];if("variable"===i.type&&i.colRef&&(e.expandIdentifierChain({wrapper:i.colRef,tablePrimaries:s,isColumnWrapper:!0}),delete i.colRef.linked),"unknown"===i.type&&void 0!==i.identifierChain&&i.identifierChain.length>0&&i.identifierChain.length<=2&&s){var n=s.filter((function(e){return Object(a.b)(e.alias,i.identifierChain[0].name)||e.identifierChain&&Object(a.b)(e.identifierChain[0].name,i.identifierChain[0].name)}));!n.length&&i.firstInChain&&(n=s.filter((function(e){return!e.alias&&e.identifierChain&&Object(a.b)(e.identifierChain[e.identifierChain.length-1].name,i.identifierChain[0].name)}))),n.length?n[0].identifierChain.length>1&&1===i.identifierChain.length&&Object(a.b)(n[0].identifierChain[0].name,i.identifierChain[0].name)?i.type="database":n[0].alias&&Object(a.b)(i.identifierChain[0].name,n[0].alias)&&i.identifierChain.length>1||!n[0].alias&&n[0].identifierChain&&Object(a.b)(i.identifierChain[0].name,n[0].identifierChain[n[0].identifierChain.length-1].name)&&i.identifierChain.length>1?(i.type="column",e.expandIdentifierChain({tablePrimaries:s,wrapper:i,anyOwner:!0})):(i.type="table",e.expandIdentifierChain({tablePrimaries:s,wrapper:i,anyOwner:!0})):e.yy.subQueries&&(n=e.yy.subQueries.filter((function(e){return Object(a.b)(e.alias,i.identifierChain[0].name)}))).length>0&&(i.type="subQuery",i.identifierChain=[{subQuery:n[0].alias}])}if("asterisk"!==i.type||i.linked||(s&&s.length>0?(i.tables=[],i.linked=!1,i.identifierChain||(i.identifierChain=[{asterisk:!0}]),e.expandIdentifierChain({tablePrimaries:s,wrapper:i,anyOwner:!1}),0===i.tables.length&&e.yy.locations.splice(t,1)):e.yy.locations.splice(t,1)),"table"===i.type&&void 0!==i.identifierChain&&1===i.identifierChain.length&&i.identifierChain[0].name&&e.yy.locations.some((function(e){if("alias"===e.type&&"cte"===e.source&&Object(a.c)(e.alias,i.identifierChain[0].name))return i.type="alias",i.target="cte",i.alias=i.identifierChain[0].name,delete i.identifierChain,!0})),"table"!==i.type||void 0!==i.identifierChain&&0!==i.identifierChain.length||e.yy.locations.splice(t,1),"unknown"===i.type&&(i.type="column"),"column"===i.type)for(var r=t-1;r>=0;r--){var o=e.yy.locations[r];if("alias"===o.type&&"column"===o.source&&i.identifierChain&&1===i.identifierChain.length&&i.identifierChain[0].name&&o.alias&&i.identifierChain[0].name.toLowerCase()===o.alias.toLowerCase()){i.type="alias",i.source="column",i.alias=i.identifierChain[0].name,delete i.identifierChain,i.parentLocation=o.parentLocation;break}}if("column"===i.type){var u=i.identifierChain?i.identifierChain.concat():void 0;e.expandIdentifierChain({tablePrimaries:s,wrapper:i,anyOwner:!0,isColumnWrapper:!0,isColumnLocation:!0}),void 0===i.identifierChain?e.yy.locations.splice(t,1):0===i.identifierChain.length&&u&&1===u.length&&(i.identifierChain=u)}"column"===i.type&&i.identifierChain&&i.identifierChain.length>1&&i.tables&&i.tables.length>0&&(i.type="complex"),delete i.firstInChain,"column"!==i.type&&"complex"!==i.type?delete i.qualified:void 0===i.qualified&&(i.qualified=!1)};t--;)i();e.yy.locations.length>0&&(e.yy.allLocations=e.yy.allLocations.concat(e.yy.locations),e.yy.locations=[])}};var s=function(){e.yy.result.lowerCase=e.yy.lowerCase||!1;var s={};if(void 0!==e.yy.latestCommonTableExpressions&&e.yy.latestCommonTableExpressions.forEach((function(e){s[e.alias.toLowerCase()]=e})),a.a.forEach((function(t){if("suggestAggregateFunctions"!==t&&void 0!==e.yy.result[t]&&0===e.yy.result[t].tables.length)delete e.yy.result[t];else if(void 0!==e.yy.result[t]&&void 0!==e.yy.result[t].tables)for(var i=e.yy.result[t].tables.length-1;i>=0;i--){var a=e.yy.result[t].tables[i];1===a.identifierChain.length&&void 0!==a.identifierChain[0].name&&void 0!==s[a.identifierChain[0].name.toLowerCase()]&&e.yy.result[t].tables.splice(i,1)}})),void 0!==e.yy.result.colRef&&(e.yy.result.colRef.linked&&void 0!==e.yy.result.colRef.identifierChain&&0!==e.yy.result.colRef.identifierChain.length||(delete e.yy.result.colRef,void 0!==e.yy.result.suggestColRefKeywords&&(Object.keys(e.yy.result.suggestColRefKeywords).forEach((function(s){e.yy.result.suggestKeywords=e.yy.result.suggestKeywords.concat(e.createWeightedKeywords(e.yy.result.suggestColRefKeywords[s],-1))})),delete e.yy.result.suggestColRefKeywords),e.yy.result.suggestColumns&&1===e.yy.result.suggestColumns.types.length&&"COLREF"===e.yy.result.suggestColumns.types[0]&&(e.yy.result.suggestColumns.types=["T"]),delete e.yy.result.suggestValues)),void 0!==e.yy.result.colRef&&(e.yy.result.suggestValues||e.yy.result.suggestColRefKeywords||e.yy.result.suggestColumns&&"COLREF"===e.yy.result.suggestColumns.types[0]||delete e.yy.result.colRef),void 0!==e.yy.result.suggestIdentifiers&&e.yy.result.suggestIdentifiers.length>0&&(delete e.yy.result.suggestTables,delete e.yy.result.suggestDatabases),void 0!==e.yy.result.suggestColumns){var t=e.yy.result.suggestColumns;void 0===t.tables||0===t.tables.length?(delete e.yy.result.suggestColumns,delete e.yy.result.subQueries):(delete e.yy.result.suggestTables,delete e.yy.result.suggestDatabases,t.tables.forEach((function(e){if(void 0!==e.identifierChain&&1===e.identifierChain.length&&void 0!==e.identifierChain[0].name){var t=s[e.identifierChain[0].name.toLowerCase()];void 0!==t&&(delete e.identifierChain[0].name,e.identifierChain[0].cte=t.alias)}else void 0===e.identifierChain&&e.subQuery&&(e.identifierChain=[{subQuery:e.subQuery}],delete e.subQuery)})),void 0!==t.identifierChain&&0===t.identifierChain.length&&delete t.identifierChain)}else delete e.yy.result.subQueries;if(void 0!==e.yy.result.suggestJoinConditions&&(void 0!==e.yy.result.suggestJoinConditions.tables&&0!==e.yy.result.suggestJoinConditions.tables.length||delete e.yy.result.suggestJoinConditions),void 0!==e.yy.result.suggestTables&&void 0!==e.yy.result.commonTableExpressions){var i=[];e.yy.result.commonTableExpressions.forEach((function(s){var t={name:s.alias};e.yy.result.suggestTables.prependFrom&&(t.prependFrom=!0),e.yy.result.suggestTables.prependQuestionMark&&(t.prependQuestionMark=!0),i.push(t)})),i.length>0&&(e.yy.result.suggestCommonTableExpressions=i)}};e.identifyPartials=function(e,s){var t=e.match(/[0-9a-zA-Z_]*$/),i=s.match(/^[0-9a-zA-Z_]*(?:\((?:[^)]*\))?)?/);return{left:t?t[0].length:0,right:i?i[0].length:0}};var t=function(e,s){s.alias?e.push({alias:s.alias,identifierChain:s.identifierChain}):e.push({identifierChain:s.identifierChain})};e.expandIdentifierChain=function(s){var i=s.wrapper,r=s.anyOwner,o=s.isColumnWrapper,u=s.isColumnLocation,l=s.tablePrimaries||e.yy.latestTablePrimaries;if(void 0!==i.identifierChain&&void 0!==l){var c=i.identifierChain.concat();if(0!==l.length){if(r||(l=n(l,i.owner)),c.length>0&&c[c.length-1].asterisk){var y=[];if(l.forEach((function(e){c.length>1&&!e.subQueryAlias?(2===c.length&&Object(a.b)(e.alias,c[0].name)||2===c.length&&Object(a.b)(e.identifierChain[0].name,c[0].name)||3===c.length&&e.identifierChain.length>1&&Object(a.b)(e.identifierChain[0].name,c[0].name)&&Object(a.b)(e.identifierChain[1].name,c[1].name))&&t(y,e):e.subQueryAlias?y.push({identifierChain:[{subQuery:e.subQueryAlias}]}):t(y,e)})),y.length>0)return i.tables=y,void delete i.identifierChain}var g,T=!1,d=!1;if(c.length>0)for(var p=0;p<l.length;p++)if(l[p].subQueryAlias)Object(a.b)(l[p].subQueryAlias,c[0].name)&&(g=l[p]);else{if(Object(a.b)(l[p].alias,c[0].name)){g=l[p],d=!0;break}if(l[p].identifierChain.length>1&&c.length>1&&Object(a.b)(l[p].identifierChain[0].name,c[0].name)&&Object(a.b)(l[p].identifierChain[1].name,c[1].name)){g=l[p],T=!0;break}if(!g&&Object(a.b)(l[p].identifierChain[0].name,c[0].name)&&c.length>(u?1:0))g=l[p];else if(!g&&l[p].identifierChain.length>1&&!l[p].alias&&Object(a.b)(l[p].identifierChain[l[p].identifierChain.length-1].name,c[0].name)){g=l[p];break}}g?(c.shift(),T&&c.shift()):1!==l.length||o||(g=l[0]),g?o?(i.identifierChain=c,g.subQueryAlias?i.tables=[{subQuery:g.subQueryAlias}]:g.alias?i.tables=!u&&o&&d?[{identifierChain:g.identifierChain}]:[{identifierChain:g.identifierChain,alias:g.alias}]:i.tables=[{identifierChain:g.identifierChain}]):(g.subQueryAlias?c.unshift({subQuery:g.subQueryAlias}):c=g.identifierChain.concat(c),i.tables?(i.tables.push({identifierChain:c}),delete i.identifierChain):i.identifierChain=c):(o&&(i.tables=[]),l.forEach((function(e){var s=e.subQueryAlias?{subQuery:e.subQueryAlias}:{identifierChain:e.identifierChain};e.alias&&(s.alias=e.alias),i.tables&&i.tables.push(s)}))),delete i.owner,i.linked=!0}else delete i.identifierChain}};var n=function(e,s){var t=[];return e.forEach((function(e){(void 0===s&&void 0===e.owner||s===e.owner)&&t.push(e)})),t},r=function(s){var t=[],i=[];s.forEach((function(e){if(e.identifierChain&&e.identifierChain.length>0){var s={identifierChain:e.identifierChain};if(e.alias)s.alias=e.alias,i.push({name:s.alias+".",type:"alias"});else{var a=e.identifierChain[e.identifierChain.length-1];void 0!==a.name?i.push({name:a.name+".",type:"table"}):void 0!==a.subQuery&&i.push({name:a.subQuery+".",type:"sub-query"})}t.push(s)}else e.subQueryAlias&&(i.push({name:e.subQueryAlias+".",type:"sub-query"}),t.push({identifierChain:[{subQuery:e.subQueryAlias}]}))})),i.length>0&&(void 0===e.yy.result.suggestIdentifiers?e.yy.result.suggestIdentifiers=i:e.yy.result.suggestIdentifiers=i.concat(e.yy.result.suggestIdentifiers)),e.yy.result.suggestColumns.tables=t,e.yy.result.suggestColumns.identifierChain&&0===e.yy.result.suggestColumns.identifierChain.length&&delete e.yy.result.suggestColumns.identifierChain,e.yy.result.suggestColumns.linked=!0},o=function(){if(e.yy.cursorFound&&void 0!==e.yy.latestTablePrimaries){if(a.a.forEach((function(s){void 0!==e.yy.result[s]&&e.yy.result[s].tablePrimaries&&!e.yy.result[s].linked&&(e.yy.result[s].tables=[],e.yy.result[s].tablePrimaries.forEach((function(t){t.subQueryAlias||e.yy.result[s].tables.push(t.alias?{identifierChain:t.identifierChain.concat(),alias:t.alias}:{identifierChain:t.identifierChain.concat()})})),delete e.yy.result[s].tablePrimaries,e.yy.result[s].linked=!0)})),void 0!==e.yy.result.suggestColumns&&!e.yy.result.suggestColumns.linked){var s=n(e.yy.latestTablePrimaries,e.yy.result.suggestColumns.owner);e.yy.result.suggestColumns.tables||(e.yy.result.suggestColumns.tables=[]),e.yy.subQueries.length>0&&(e.yy.result.subQueries=e.yy.subQueries),void 0===e.yy.result.suggestColumns.identifierChain||0===e.yy.result.suggestColumns.identifierChain.length?s.length>1?r(s):(1===s.length&&(s[0].alias||s[0].subQueryAlias)&&r(s),e.expandIdentifierChain({wrapper:e.yy.result.suggestColumns,anyOwner:!1,isColumnWrapper:!0})):e.expandIdentifierChain({wrapper:e.yy.result.suggestColumns,anyOwner:!1,isColumnWrapper:!0})}if(void 0!==e.yy.result.colRef&&!e.yy.result.colRef.linked){e.expandIdentifierChain({wrapper:e.yy.result.colRef});var t=n(e.yy.latestTablePrimaries);(0===t.length||t.length>1&&1===e.yy.result.colRef.identifierChain.length)&&(e.yy.result.colRef.identifierChain=[])}void 0===e.yy.result.suggestKeyValues||e.yy.result.suggestKeyValues.linked||e.expandIdentifierChain({wrapper:e.yy.result.suggestKeyValues})}};e.addTablePrimary=function(s){void 0===e.yy.latestTablePrimaries&&(e.yy.latestTablePrimaries=[]),e.yy.latestTablePrimaries.push(s)},e.suggestFileFormats=function(){e.suggestKeywords(["AVRO","KUDU","ORC","PARQUET","RCFILE","SEQUENCEFILE","TEXTFILE"])},e.getKeywordsForOptionalsLR=function(e,s,t){for(var i=[],a=0;a<e.length;a++)if(e[a]||void 0!==t&&!t[a]){if(e[a])break}else s[a]instanceof Array?i=i.concat(s[a]):i.push(s[a]);return i},e.suggestDdlAndDmlKeywords=function(s){var t=["ALTER","CREATE","DESCRIBE","DROP","GRANT","INSERT","REVOKE","SELECT","SET","SHOW","TRUNCATE","UPDATE","USE","WITH"];s&&(t=t.concat(s)),e.suggestKeywords(t)},e.checkForSelectListKeywords=function(s){if(0!==s.length){var t=s[s.length-1];if(t&&t.valueExpression){var i=e.getValueExpressionKeywords(t.valueExpression),a=[];t.suggestKeywords&&(a=a.concat(t.suggestKeywords)),i.suggestKeywords&&(a=a.concat(i.suggestKeywords)),i.suggestColRefKeywords&&(e.suggestColRefKeywords(i.suggestColRefKeywords),e.addColRefIfExists(t.valueExpression)),t.alias||a.push("AS"),a.length>0&&e.suggestKeywords(a)}}},e.checkForKeywords=function(s){s&&(s.suggestKeywords&&s.suggestKeywords.length>0&&e.suggestKeywords(s.suggestKeywords),s.suggestColRefKeywords&&(e.suggestColRefKeywords(s.suggestColRefKeywords),e.addColRefIfExists(s)))},e.createWeightedKeywords=function(e,s){var t=[];return e.forEach((function(e){void 0!==e.weight?(e.weight=s+e.weight/10,t.push(e)):t.push({value:e,weight:s})})),t},e.suggestKeywords=function(s){var t=[];0!==s.length&&(s.forEach((function(e){void 0!==e.weight?t.push(e):t.push({value:e,weight:-1})})),t.sort((function(e,s){return e.weight!==s.weight?s.weight-e.weight:e.value.localeCompare(s.value)})),e.yy.result.suggestKeywords=t)},e.suggestColRefKeywords=function(s){e.yy.result.suggestColRefKeywords=s},e.suggestTablesOrColumns=function(s){void 0!==e.yy.latestTablePrimaries?e.yy.latestTablePrimaries.filter((function(e){return Object(a.b)(e.alias,s)})).length>0?e.suggestColumns({identifierChain:[{name:s}]}):e.suggestTables({identifierChain:[{name:s}]}):e.suggestTables({identifierChain:[{name:s}]})},e.suggestFunctions=function(s){e.yy.result.suggestFunctions=s||{}},e.suggestAggregateFunctions=function(){var s=[],t={};e.yy.latestTablePrimaries.forEach((function(e){void 0!==e.alias&&(t[e.alias]=!0),void 0===e.identifierChain||t[e.identifierChain[0].name]||void 0!==e.owner||s.push(e)})),e.yy.result.suggestAggregateFunctions={tablePrimaries:s}},e.suggestAnalyticFunctions=function(){e.yy.result.suggestAnalyticFunctions=!0},e.suggestSetOptions=function(){e.yy.result.suggestSetOptions=!0},e.suggestIdentifiers=function(s){e.yy.result.suggestIdentifiers=s},e.suggestColumns=function(s){void 0===s?s={identifierChain:[]}:void 0===s.identifierChain&&(s.identifierChain=[]),e.yy.result.suggestColumns=s},e.suggestGroupBys=function(s){e.yy.result.suggestGroupBys=s||{}},e.suggestOrderBys=function(s){e.yy.result.suggestOrderBys=s||{}},e.suggestFilters=function(s){e.yy.result.suggestFilters=s||{}},e.suggestKeyValues=function(s){e.yy.result.suggestKeyValues=s||{}},e.suggestTables=function(s){e.yy.result.suggestTables=s||{}},e.firstDefined=function(){for(var e=0;e+1<arguments.length;e+=2)if(arguments[e])return arguments[e+1]},e.addColRefToVariableIfExists=function(s,t){if(s&&s.columnReference&&s.columnReference.length&&t&&t.columnReference&&t.columnReference.length&&e.yy.locations.length>1){var i=function(s,t){1===t.length&&t[0].name&&e.yy.locations.some((function(e){if("column"===e.type&&e.alias===t[0].name)return t=e.identifierChain,!0}));for(var i=e.yy.locations.length-1;i>0;i--){var a=e.yy.locations[i];if("variable"===a.type&&a.value===s){a.colRef={identifierChain:t};break}}};/\${[^}]*}/.test(s.columnReference[0].name)?i(s.columnReference[0].name,t.columnReference):/\${[^}]*}/.test(t.columnReference[0].name)&&i(t.columnReference[0].name,s.columnReference)}},e.suggestDatabases=function(s){e.yy.result.suggestDatabases=s||{}},e.suggestHdfs=function(s){e.yy.result.suggestHdfs=s||{}},e.suggestValues=function(s){e.yy.result.suggestValues=s||{}},e.determineCase=function(s){e.yy.caseDetermined||(e.yy.lowerCase=s.toLowerCase()===s,e.yy.caseDetermined=!0)},e.handleQuotedValueWithCursor=function(s,t,i,a){if(-1!==t.indexOf("†")||-1!==t.indexOf("‡")){e.yy.partialCursor=-1!==t.indexOf("‡");var n=e.yy.partialCursor?t.indexOf("‡"):t.indexOf("†");e.yy.cursorFound={first_line:i.first_line,last_line:i.last_line,first_column:i.first_column+n,last_column:i.first_column+n+1};var r=t.substring(n+1),o=(s.upcomingInput().match(new RegExp(a,"g"))||[]).length;return o>0&&0!=(1&o)?(e.yy.missingEndQuote=!1,s.input()):(e.yy.missingEndQuote=!0,s.unput(r)),s.popState(),!0}return!1};var u=!1;e.parseSql=function(t,i,n){if(t=t.replace(/\r\n|\n\r/gm,"\n"),i=i.replace(/\r\n|\n\r/gm,"\n"),e.yy.result={locations:[]},e.yy.lowerCase=!1,e.yy.locations=[],e.yy.definitions=[],e.yy.allLocations=[],e.yy.subQueries=[],e.yy.errors=[],e.yy.selectListAliases=[],e.yy.activeDialect="generic",e.yy.locationsStack=[],e.yy.primariesStack=[],e.yy.subQueriesStack=[],e.yy.resultStack=[],e.yy.selectListAliasesStack=[],delete e.yy.caseDetermined,delete e.yy.cursorFound,delete e.yy.partialCursor,!u){var r=e.lexer.setInput;e.lexer.setInput=function(s,t){return r.bind(e.lexer)(s,t)},u=!0}e.prepareNewStatement();var l;if(t.length>15e4){if(t.length-t.lastIndexOf(";")>15e4)return{};var c=t.substring(t.length-15e4);t=c.substring(c.indexOf(";")+1)}if(i.length>15e4)if(i.length-i.indexOf(";")>15e4)i="";else{var y=i.substring(0,15e4);i=y.substring(0,y.lastIndexOf(";"))}e.yy.partialLengths=e.identifyPartials(t,i),e.yy.partialLengths.left>0&&(t=t.substring(0,t.length-e.yy.partialLengths.left)),e.yy.partialLengths.right>0&&(i=i.substring(e.yy.partialLengths.right));try{l=e.parse(t+(0===t.length||/[\s(]$/.test(t)?" † ":"‡")+i)}catch(s){if(void 0===e.yy.result)throw s;n&&(console.warn(s),console.warn(s.stack)),l=e.yy.result}e.yy.errors.length>0&&(e.yy.result.errors=e.yy.errors,n&&console.warn(e.yy.errors));try{o(),e.commitLocations(),s()}catch(e){n&&(console.warn(e),console.warn(e.stack))}e.yy.allLocations.sort((function(e,s){return e.location.first_line!==s.location.first_line?e.location.first_line-s.location.first_line:e.location.first_column!==s.location.first_column?e.location.first_column-s.location.first_column:e.location.last_column!==s.location.last_column?s.location.last_column-e.location.last_column:s.type.localeCompare(e.type)})),e.yy.result.locations=e.yy.allLocations,e.yy.result.definitions=e.yy.definitions,e.yy.result.locations.forEach((function(e){delete e.linked})),void 0!==e.yy.result.suggestColumns&&delete e.yy.result.suggestColumns.linked,a.a.forEach((function(s){void 0!==e.yy.result[s]&&delete e.yy.result[s].linked})),void 0!==e.yy.result.colRef&&delete e.yy.result.colRef.linked,void 0!==e.yy.result.suggestKeyValues&&delete e.yy.result.suggestKeyValues.linked,void 0!==l.error&&void 0!==l.error.expected&&(l.error.expected=l.error.expected.filter((function(e){return-1===e.indexOf("CURSOR")}))),void 0!==l.error&&l.error.recoverable&&delete l.error;var g=null;return l.locations.forEach((function(e){"statement"===e.type&&(null===g?(e.location.first_line=1,e.location.first_column=1):(e.location.first_line=g.location.last_line,e.location.first_column=g.location.last_column+1),g=e)})),l}},initSyntaxParser:a.e}}}).default}));