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