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